diff --git a/.ci-mgmt.yaml b/.ci-mgmt.yaml index 20955c8c7c..13f0ec695c 100644 --- a/.ci-mgmt.yaml +++ b/.ci-mgmt.yaml @@ -24,4 +24,4 @@ goBuildParallelism: 1 runner: publish: pulumi-ubuntu-8core buildSdk: pulumi-ubuntu-8core -javaGenVersion: "v0.9.5" +javaGenVersion: "v0.9.7" diff --git a/Makefile b/Makefile index 9644ab8cdf..9c478be534 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ TFGEN := pulumi-tfgen-$(PACK) PROVIDER := pulumi-resource-$(PACK) VERSION := $(shell pulumictl get version) JAVA_GEN := pulumi-java-gen -JAVA_GEN_VERSION := v0.9.5 +JAVA_GEN_VERSION := v0.9.7 TESTPARALLELISM := 10 WORKING_DIR := $(shell pwd) PULUMI_PROVIDER_BUILD_PARALLELISM ?= -p 1 diff --git a/examples/go.mod b/examples/go.mod index 622f55e8d2..cfe4449e07 100644 --- a/examples/go.mod +++ b/examples/go.mod @@ -2,7 +2,7 @@ module github.com/pulumi/pulumi-oci/examples go 1.21 -require github.com/pulumi/pulumi/pkg/v3 v3.81.0 +require github.com/pulumi/pulumi/pkg/v3 v3.86.0 require ( cloud.google.com/go v0.110.4 // indirect @@ -13,7 +13,7 @@ require ( cloud.google.com/go/logging v1.7.0 // indirect cloud.google.com/go/longrunning v0.5.1 // indirect cloud.google.com/go/storage v1.30.1 // indirect - github.com/AlecAivazis/survey/v2 v2.0.5 // indirect + github.com/AlecAivazis/survey/v2 v2.3.7 // indirect github.com/Azure/azure-sdk-for-go v66.0.0+incompatible // indirect github.com/Azure/azure-sdk-for-go/sdk/azcore v1.1.1 // indirect github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.0.0 // indirect @@ -154,7 +154,7 @@ require ( github.com/pkg/errors v0.9.1 // indirect github.com/pkg/term v1.1.0 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect - github.com/pulumi/pulumi/sdk/v3 v3.81.0 // indirect + github.com/pulumi/pulumi/sdk/v3 v3.86.0 // indirect github.com/rivo/uniseg v0.4.4 // indirect github.com/rogpeppe/go-internal v1.9.0 // indirect github.com/ryanuber/go-glob v1.0.0 // indirect diff --git a/examples/go.sum b/examples/go.sum index 18ee8c80cc..ab74542287 100644 --- a/examples/go.sum +++ b/examples/go.sum @@ -93,8 +93,8 @@ contrib.go.opencensus.io/exporter/stackdriver v0.13.13/go.mod h1:5pSSGY0Bhuk7waT contrib.go.opencensus.io/integrations/ocsql v0.1.7/go.mod h1:8DsSdjz3F+APR+0z0WkU1aRorQCFfRxvqjUUPMbF3fE= dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU= github.com/AdaLogics/go-fuzz-headers v0.0.0-20210715213245-6c3934b029d8/go.mod h1:CzsSbkDixRphAF5hS6wbMKq0eI6ccJRb7/A0M6JBnwg= -github.com/AlecAivazis/survey/v2 v2.0.5 h1:xpZp+Q55wi5C7Iaze+40onHnEkex1jSc34CltJjOoPM= -github.com/AlecAivazis/survey/v2 v2.0.5/go.mod h1:WYBhg6f0y/fNYUuesWQc0PKbJcEliGcYHB9sNT3Bg74= +github.com/AlecAivazis/survey/v2 v2.3.7 h1:6I/u8FvytdGsgonrYsVn2t8t4QiRnh6QSTqkkhIiSjQ= +github.com/AlecAivazis/survey/v2 v2.3.7/go.mod h1:xUTIdE4KCOIjsBAE1JYsUPoCqYdZ1reCfTwbto0Fduo= github.com/Azure/azure-amqp-common-go/v3 v3.2.3/go.mod h1:7rPmbSfszeovxGfc5fSAXE4ehlXQZHpMja2OtxC2Tas= github.com/Azure/azure-sdk-for-go v16.2.1+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= github.com/Azure/azure-sdk-for-go v63.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= @@ -192,7 +192,6 @@ github.com/Microsoft/hcsshim/test v0.0.0-20201218223536-d3e5debf77da/go.mod h1:5 github.com/Microsoft/hcsshim/test v0.0.0-20210227013316-43a75bb4edd3/go.mod h1:mw7qgWloBUl75W/gVH3cQszUg1+gUITj7D6NY7ywVnY= github.com/NYTimes/gziphandler v0.0.0-20170623195520-56545f4a5d46/go.mod h1:3wb06e3pkSAbeQ52E9H9iFoQsEEwGN64994WTCIhntQ= github.com/NYTimes/gziphandler v1.1.1/go.mod h1:n/CVRwUEOgIxrgPvAQhUUr9oeUtvrhMomdKFjzJNB0c= -github.com/Netflix/go-expect v0.0.0-20180615182759-c93bf25de8e8/go.mod h1:oX5x61PbNXchhh0oikYAH+4Pcfw5LKv21+Jnpr6r6Pc= github.com/Netflix/go-expect v0.0.0-20220104043353-73e0943537d2 h1:+vx7roKuyA63nhn5WAunQHLTznkw5W8b1Xc0dNjp83s= github.com/Netflix/go-expect v0.0.0-20220104043353-73e0943537d2/go.mod h1:HBCaDeC1lPdgDeDbhX8XFpy1jqjK0IBG8W5K+xYqA0w= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= @@ -1017,7 +1016,7 @@ github.com/hashicorp/yamux v0.1.1 h1:yrQxtgseBDrq9Y652vSRDvsKCJKOUD+GzTS4Y0Y8pvE github.com/hashicorp/yamux v0.1.1/go.mod h1:CtWFDAQgb7dxtzFs4tWbplKIe2jSi3+5vKbgIO0SLnQ= github.com/hetznercloud/hcloud-go v1.33.1/go.mod h1:XX/TQub3ge0yWR2yHWmnDVIrB+MQbda1pHxkUmDlUME= github.com/hetznercloud/hcloud-go v1.35.0/go.mod h1:mepQwR6va27S3UQthaEPGS86jtzSY9xWL1e9dyxXpgA= -github.com/hinshun/vt10x v0.0.0-20180616224451-1954e6464174/go.mod h1:DqJ97dSdRW1W22yXSB90986pcOyQ7r45iio1KN2ez1A= +github.com/hinshun/vt10x v0.0.0-20220119200601-820417d04eec/go.mod h1:Q48J4R4DvxnHolD5P8pOtXigYlRuPLGl6moFx3ulM68= github.com/hinshun/vt10x v0.0.0-20220301184237-5011da428d02 h1:AgcIVYPa6XJnU3phs104wLj8l5GEththEw6+F79YsIY= github.com/hinshun/vt10x v0.0.0-20220301184237-5011da428d02/go.mod h1:Q48J4R4DvxnHolD5P8pOtXigYlRuPLGl6moFx3ulM68= github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= @@ -1142,7 +1141,6 @@ github.com/kr/pretty v0.3.0/go.mod h1:640gp4NfQd8pI5XOwp5fnNeVWj67G7CFk/SaSQn7NB github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= -github.com/kr/pty v1.1.4/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/pty v1.1.5/go.mod h1:9r2w37qlBe7rQ6e1fg1S/9xpWHSnaqNdHD3WcMdbPDA= github.com/kr/pty v1.1.8/go.mod h1:O1sed60cT9XZ5uDucP5qwvh+TE3NnUj51EiZO/lmSfw= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= @@ -1464,10 +1462,10 @@ github.com/prometheus/procfs v0.7.3/go.mod h1:cz+aTbrPOrUb4q7XlbU9ygM+/jj0fzG6c1 github.com/prometheus/prometheus v0.35.0/go.mod h1:7HaLx5kEPKJ0GDgbODG0fZgXbQ8K/XjZNJXQmbmgQlY= github.com/prometheus/prometheus v0.37.0/go.mod h1:egARUgz+K93zwqsVIAneFlLZefyGOON44WyAp4Xqbbk= github.com/prometheus/tsdb v0.7.1/go.mod h1:qhTCs0VvXwvX/y3TZrWD7rabWM+ijKTux40TwIPHuXU= -github.com/pulumi/pulumi/pkg/v3 v3.81.0 h1:6rf2farQLszi8inHCu9YdJtDvK0fqNguix51b3FEDRQ= -github.com/pulumi/pulumi/pkg/v3 v3.81.0/go.mod h1:URXozJB/abhxb2yOwa5ywHjT2dqt9SmAX2iLkdcOOl0= -github.com/pulumi/pulumi/sdk/v3 v3.81.0 h1:d711GUpjZK1beNpIKFReC1LBmHXYE684sYWntJWQ4Q0= -github.com/pulumi/pulumi/sdk/v3 v3.81.0/go.mod h1:RMilNNVMlmK1h4Nl/qylb9vzbgh4F3mufZoUOnPy98o= +github.com/pulumi/pulumi/pkg/v3 v3.86.0 h1:G4spuT89ZN8lSxT9WkMF/JaP7n+wu7ubEly7Yy8uza0= +github.com/pulumi/pulumi/pkg/v3 v3.86.0/go.mod h1:Qs55gPhUwM/Dua3VRtHXLLlpY8uEe+llDBIZc+1pvHM= +github.com/pulumi/pulumi/sdk/v3 v3.86.0 h1:Cxg0rGdvMt9GqGvesFTj8+WaO/ihmALYlQf4zm1GzFw= +github.com/pulumi/pulumi/sdk/v3 v3.86.0/go.mod h1:vexSGJ5L834l3T7Fo/KpdywjGAgZ2CvChuqGFl+ebS0= github.com/rakyll/embedmd v0.0.0-20171029212350-c8060a0752a2/go.mod h1:7jOTMgqac46PZcF54q6l2hkLEG8op93fZu61KmxWDV4= github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4= github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= @@ -1570,7 +1568,6 @@ github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSS github.com/stretchr/objx v0.5.0 h1:1zr/of2m5FGMsad5YfcqgdqdWrIhu+EBEJRhR1U7z/c= github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= github.com/stretchr/testify v0.0.0-20180303142811-b89eecf5ca5d/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= -github.com/stretchr/testify v1.2.1/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= @@ -1759,7 +1756,6 @@ golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACk golang.org/x/crypto v0.0.0-20190411191339-88737f569e3a/go.mod h1:WFFai1msRO1wXaEeE5yQxYXgSfI8pQAWXbQop6sCtWE= golang.org/x/crypto v0.0.0-20190422162423-af44ce270edf/go.mod h1:WFFai1msRO1wXaEeE5yQxYXgSfI8pQAWXbQop6sCtWE= golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20190530122614-20be4c3c3ed5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190611184440-5c40567a22f8/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= @@ -1980,7 +1976,6 @@ golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190514135907-3a4b5fb9f71f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190522044717-8097e1b27ff5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190530182044-ad28b68e88f1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190531175056-4c3a928424d2/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190602015325-4c4f7f33c9ed/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= diff --git a/provider/cmd/pulumi-resource-oci/bridge-metadata.json b/provider/cmd/pulumi-resource-oci/bridge-metadata.json index 6c487ec027..de66c26434 100644 --- a/provider/cmd/pulumi-resource-oci/bridge-metadata.json +++ b/provider/cmd/pulumi-resource-oci/bridge-metadata.json @@ -3,251 +3,111 @@ "resources": { "oci_adm_knowledge_base": { "current": "oci:Adm/knowledgeBase:KnowledgeBase", - "fields": { - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {} - } + "majorVersion": 1 }, "oci_adm_vulnerability_audit": { "current": "oci:Adm/vulnerabilityAudit:VulnerabilityAudit", + "majorVersion": 1, "fields": { "application_dependencies": { "maxItemsOne": false, "elem": { "fields": { "application_dependency_node_ids": { - "maxItemsOne": false, - "elem": {} - }, - "gav": {}, - "node_id": {} + "maxItemsOne": false + } } } }, - "build_type": {}, - "compartment_id": {}, "configuration": { "maxItemsOne": true, "elem": { "fields": { "exclusions": { - "maxItemsOne": false, - "elem": {} - }, - "max_permissible_cvss_v2score": {}, - "max_permissible_cvss_v3score": {} + "maxItemsOne": false + } } } }, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "is_success": {}, - "knowledge_base_id": {}, - "max_observed_cvss_v2score": {}, - "max_observed_cvss_v2score_with_ignored": {}, - "max_observed_cvss_v3score": {}, - "max_observed_cvss_v3score_with_ignored": {}, "source": { - "maxItemsOne": true, - "elem": { - "fields": { - "description": {}, - "oci_resource_id": {}, - "type": {} - } - } + "maxItemsOne": true }, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {}, "vulnerabilities": { - "maxItemsOne": false, - "elem": { - "fields": { - "cvss_v2score": {}, - "cvss_v3score": {}, - "id": {}, - "is_ignored": {} - } - } - }, - "vulnerable_artifacts_count": {}, - "vulnerable_artifacts_count_with_ignored": {} + "maxItemsOne": false + } } }, "oci_ai_anomaly_detection_ai_private_endpoint": { "current": "oci:AiAnomalyDetection/aiPrivateEndpoint:AiPrivateEndpoint", + "majorVersion": 1, "fields": { "attached_data_assets": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, "dns_zones": { - "maxItemsOne": false, - "elem": {} - }, - "freeform_tags": {}, - "lifecycle_details": {}, - "state": {}, - "subnet_id": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {} + "maxItemsOne": false + } } }, "oci_ai_anomaly_detection_data_asset": { "current": "oci:AiAnomalyDetection/dataAsset:DataAsset", + "majorVersion": 1, "fields": { - "compartment_id": {}, "data_source_details": { "maxItemsOne": true, "elem": { "fields": { - "atp_password_secret_id": {}, - "atp_user_name": {}, - "bucket": {}, - "cwallet_file_secret_id": {}, - "data_source_type": {}, - "database_name": {}, - "ewallet_file_secret_id": {}, - "key_store_file_secret_id": {}, - "measurement_name": {}, - "namespace": {}, - "object": {}, - "ojdbc_file_secret_id": {}, - "password_secret_id": {}, - "table_name": {}, - "tnsnames_file_secret_id": {}, - "truststore_file_secret_id": {}, - "url": {}, - "user_name": {}, "version_specific_details": { - "maxItemsOne": true, - "elem": { - "fields": { - "bucket": {}, - "database_name": {}, - "influx_version": {}, - "organization_name": {}, - "retention_policy_name": {} - } - } - }, - "wallet_password_secret_id": {} + "maxItemsOne": true + } } } - }, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "freeform_tags": {}, - "private_endpoint_id": {}, - "project_id": {}, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {} + } } }, "oci_ai_anomaly_detection_detect_anomaly_job": { "current": "oci:AiAnomalyDetection/detectAnomalyJob:DetectAnomalyJob", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "freeform_tags": {}, "input_details": { "maxItemsOne": true, "elem": { "fields": { - "content": {}, - "content_type": {}, "data": { "maxItemsOne": false, "elem": { "fields": { - "timestamp": {}, "values": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } } }, - "input_type": {}, - "message": {}, "object_locations": { - "maxItemsOne": false, - "elem": { - "fields": { - "bucket": {}, - "namespace": {}, - "object": {} - } - } + "maxItemsOne": false }, "signal_names": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } } }, - "lifecycle_state_details": {}, - "model_id": {}, "output_details": { - "maxItemsOne": true, - "elem": { - "fields": { - "bucket": {}, - "namespace": {}, - "output_type": {}, - "prefix": {} - } - } - }, - "project_id": {}, - "sensitivity": {}, - "state": {}, - "system_tags": {}, - "time_accepted": {}, - "time_finished": {}, - "time_started": {} + "maxItemsOne": true + } } }, "oci_ai_anomaly_detection_model": { "current": "oci:AiAnomalyDetection/model:Model", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "freeform_tags": {}, - "lifecycle_details": {}, "model_training_details": { "maxItemsOne": true, "elem": { "fields": { - "algorithm_hint": {}, "data_asset_ids": { - "maxItemsOne": false, - "elem": {} - }, - "target_fap": {}, - "training_fraction": {}, - "window_size": {} + "maxItemsOne": false + } } } }, @@ -255,66 +115,24 @@ "maxItemsOne": false, "elem": { "fields": { - "fap": {}, - "is_training_goal_achieved": {}, - "mae": {}, - "max_inference_sync_rows": {}, - "multivariate_fap": {}, - "rmse": {}, "row_reduction_details": { - "maxItemsOne": false, - "elem": { - "fields": { - "is_reduction_enabled": {}, - "reduction_method": {}, - "reduction_percentage": {} - } - } + "maxItemsOne": false }, "signal_details": { - "maxItemsOne": false, - "elem": { - "fields": { - "details": {}, - "fap": {}, - "is_quantized": {}, - "max": {}, - "min": {}, - "mvi_ratio": {}, - "signal_name": {}, - "status": {}, - "std": {} - } - } - }, - "warning": {}, - "window_size": {} + "maxItemsOne": false + } } } - }, - "project_id": {}, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {} + } } }, "oci_ai_anomaly_detection_project": { "current": "oci:AiAnomalyDetection/project:Project", - "fields": { - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "freeform_tags": {}, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {} - } + "majorVersion": 1 }, "oci_ai_document_model": { "current": "oci:AiDocument/model:Model", + "majorVersion": 1, "fields": { "component_models": { "maxItemsOne": false @@ -365,6 +183,7 @@ }, "oci_ai_document_processor_job": { "current": "oci:AiDocument/processorJob:ProcessorJob", + "majorVersion": 1, "fields": { "input_location": { "maxItemsOne": true, @@ -392,13 +211,16 @@ } }, "oci_ai_document_project": { - "current": "oci:AiDocument/project:Project" + "current": "oci:AiDocument/project:Project", + "majorVersion": 1 }, "oci_ai_language_endpoint": { - "current": "oci:AiLanguage/endpoint:Endpoint" + "current": "oci:AiLanguage/endpoint:Endpoint", + "majorVersion": 1 }, "oci_ai_language_model": { "current": "oci:AiLanguage/model:Model", + "majorVersion": 1, "fields": { "evaluation_results": { "maxItemsOne": false, @@ -490,316 +312,141 @@ } }, "oci_ai_language_project": { - "current": "oci:AiLanguage/project:Project" + "current": "oci:AiLanguage/project:Project", + "majorVersion": 1 }, "oci_ai_vision_model": { "current": "oci:AiVision/model:Model", + "majorVersion": 1, "fields": { - "average_precision": {}, - "compartment_id": {}, - "confidence_threshold": {}, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "freeform_tags": {}, - "is_quick_mode": {}, - "lifecycle_details": {}, - "max_training_duration_in_hours": {}, - "metrics": {}, - "model_type": {}, - "model_version": {}, - "precision": {}, - "project_id": {}, - "recall": {}, - "state": {}, - "system_tags": {}, - "test_image_count": {}, "testing_dataset": { - "maxItemsOne": true, - "elem": { - "fields": { - "bucket": {}, - "dataset_id": {}, - "dataset_type": {}, - "namespace_name": {}, - "object": {} - } - } + "maxItemsOne": true }, - "time_created": {}, - "time_updated": {}, - "total_image_count": {}, - "trained_duration_in_hours": {}, "training_dataset": { - "maxItemsOne": true, - "elem": { - "fields": { - "bucket": {}, - "dataset_id": {}, - "dataset_type": {}, - "namespace_name": {}, - "object": {} - } - } + "maxItemsOne": true }, "validation_dataset": { - "maxItemsOne": true, - "elem": { - "fields": { - "bucket": {}, - "dataset_id": {}, - "dataset_type": {}, - "namespace_name": {}, - "object": {} - } - } + "maxItemsOne": true } } }, "oci_ai_vision_project": { "current": "oci:AiVision/project:Project", - "fields": { - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "freeform_tags": {}, - "lifecycle_details": {}, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {} - } + "majorVersion": 1 }, "oci_analytics_analytics_instance": { "current": "oci:Analytics/analyticsInstance:AnalyticsInstance", + "majorVersion": 1, "fields": { "capacity": { - "maxItemsOne": true, - "elem": { - "fields": { - "capacity_type": {}, - "capacity_value": {} - } - } + "maxItemsOne": true }, - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "email_notification": {}, - "feature_set": {}, - "freeform_tags": {}, - "idcs_access_token": {}, - "kms_key_id": {}, - "license_type": {}, - "name": {}, "network_endpoint_details": { "maxItemsOne": true, "elem": { "fields": { - "network_endpoint_type": {}, "network_security_group_ids": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "subnet_id": {}, - "vcn_id": {}, "whitelisted_ips": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "whitelisted_services": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "whitelisted_vcns": { "maxItemsOne": false, "elem": { "fields": { - "id": {}, "whitelisted_ips": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } } } } } - }, - "service_url": {}, - "state": {}, - "time_created": {}, - "time_updated": {} + } } }, "oci_analytics_analytics_instance_private_access_channel": { "current": "oci:Analytics/analyticsInstancePrivateAccessChannel:AnalyticsInstancePrivateAccessChannel", + "majorVersion": 1, "fields": { - "analytics_instance_id": {}, - "display_name": {}, "egress_source_ip_addresses": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "ip_address": {}, - "key": {}, "network_security_group_ids": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "private_source_dns_zones": { - "maxItemsOne": false, - "elem": { - "fields": { - "description": {}, - "dns_zone": {} - } - } + "maxItemsOne": false }, "private_source_scan_hosts": { - "maxItemsOne": false, - "elem": { - "fields": { - "description": {}, - "scan_hostname": {}, - "scan_port": {} - } - } - }, - "subnet_id": {}, - "vcn_id": {} + "maxItemsOne": false + } } }, "oci_analytics_analytics_instance_vanity_url": { "current": "oci:Analytics/analyticsInstanceVanityUrl:AnalyticsInstanceVanityUrl", + "majorVersion": 1, "fields": { - "analytics_instance_id": {}, - "ca_certificate": {}, - "description": {}, "hosts": { - "maxItemsOne": false, - "elem": {} - }, - "passphrase": {}, - "private_key": {}, - "public_certificate": {} + "maxItemsOne": false + } } }, "oci_announcements_service_announcement_subscription": { "current": "oci:AnnouncementsService/announcementSubscription:AnnouncementSubscription", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "display_name": {}, "filter_groups": { "maxItemsOne": true, "elem": { "fields": { "filters": { - "maxItemsOne": false, - "elem": { - "fields": { - "type": {}, - "value": {} - } - } - }, - "name": {} + "maxItemsOne": false + } } } - }, - "freeform_tags": {}, - "lifecycle_details": {}, - "ons_topic_id": {}, - "preferred_language": {}, - "preferred_time_zone": {}, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {} + } } }, "oci_announcements_service_announcement_subscriptions_actions_change_compartment": { "current": "oci:AnnouncementsService/announcementSubscriptionsActionsChangeCompartment:AnnouncementSubscriptionsActionsChangeCompartment", - "fields": { - "announcement_subscription_id": {}, - "compartment_id": {} - } + "majorVersion": 1 }, "oci_announcements_service_announcement_subscriptions_filter_group": { "current": "oci:AnnouncementsService/announcementSubscriptionsFilterGroup:AnnouncementSubscriptionsFilterGroup", + "majorVersion": 1, "fields": { - "announcement_subscription_id": {}, "filters": { - "maxItemsOne": false, - "elem": { - "fields": { - "type": {}, - "value": {} - } - } - }, - "name": {} + "maxItemsOne": false + } } }, "oci_apigateway_api": { "current": "oci:ApiGateway/api:Api", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "content": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "lifecycle_details": {}, - "specification_type": {}, - "state": {}, - "time_created": {}, - "time_updated": {}, "validation_results": { - "maxItemsOne": false, - "elem": { - "fields": { - "name": {}, - "result": {} - } - } + "maxItemsOne": false } } }, "oci_apigateway_certificate": { "current": "oci:ApiGateway/certificate:Certificate", + "majorVersion": 1, "fields": { - "certificate": {}, - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "intermediate_certificates": {}, - "lifecycle_details": {}, - "private_key": {}, - "state": {}, "subject_names": { - "maxItemsOne": false, - "elem": {} - }, - "time_created": {}, - "time_not_valid_after": {}, - "time_updated": {} + "maxItemsOne": false + } } }, "oci_apigateway_deployment": { "current": "oci:ApiGateway/deployment:Deployment", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "endpoint": {}, - "freeform_tags": {}, - "gateway_id": {}, - "lifecycle_details": {}, - "path_prefix": {}, "specification": { "maxItemsOne": true, "elem": { @@ -809,21 +456,10 @@ "elem": { "fields": { "access_log": { - "maxItemsOne": true, - "elem": { - "fields": { - "is_enabled": {} - } - } + "maxItemsOne": true }, "execution_log": { - "maxItemsOne": true, - "elem": { - "fields": { - "is_enabled": {}, - "log_level": {} - } - } + "maxItemsOne": true } } } @@ -837,74 +473,38 @@ "elem": { "fields": { "audiences": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "cache_key": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "function_id": {}, - "is_anonymous_access_allowed": {}, "issuers": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "max_clock_skew_in_seconds": {}, - "parameters": {}, "public_keys": { "maxItemsOne": true, "elem": { "fields": { - "is_ssl_verify_disabled": {}, "keys": { "maxItemsOne": false, "elem": { "fields": { - "alg": {}, - "e": {}, - "format": {}, - "key": {}, "key_ops": { - "maxItemsOne": false, - "elem": {} - }, - "kid": {}, - "kty": {}, - "n": {}, - "use": {} + "maxItemsOne": false + } } } - }, - "max_cache_duration_in_hours": {}, - "type": {}, - "uri": {} + } } } }, - "token_auth_scheme": {}, - "token_header": {}, - "token_query_param": {}, - "type": {}, "validation_failure_policy": { "maxItemsOne": true, "elem": { "fields": { "client_details": { - "maxItemsOne": true, - "elem": { - "fields": { - "client_id": {}, - "client_secret_id": {}, - "client_secret_version_number": {}, - "type": {} - } - } + "maxItemsOne": true }, - "fallback_redirect_path": {}, - "logout_path": {}, - "max_expiry_duration_in_hours": {}, - "response_code": {}, "response_header_transformations": { "maxItemsOne": true, "elem": { @@ -914,14 +514,8 @@ "elem": { "fields": { "items": { - "maxItemsOne": false, - "elem": { - "fields": { - "name": {} - } - } - }, - "type": {} + "maxItemsOne": false + } } } }, @@ -930,13 +524,7 @@ "elem": { "fields": { "items": { - "maxItemsOne": false, - "elem": { - "fields": { - "from": {}, - "to": {} - } - } + "maxItemsOne": false } } } @@ -949,11 +537,8 @@ "maxItemsOne": false, "elem": { "fields": { - "if_exists": {}, - "name": {}, "values": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } } @@ -964,25 +549,12 @@ } } }, - "response_message": {}, - "response_type": {}, "scopes": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "source_uri_details": { - "maxItemsOne": true, - "elem": { - "fields": { - "type": {}, - "uri": {} - } - } - }, - "type": {}, - "use_cookies_for_intermediate_steps": {}, - "use_cookies_for_session": {}, - "use_pkce": {} + "maxItemsOne": true + } } } }, @@ -995,22 +567,17 @@ "elem": { "fields": { "audiences": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "issuers": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "verify_claims": { "maxItemsOne": false, "elem": { "fields": { - "is_required": {}, - "key": {}, "values": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } } @@ -1019,48 +586,21 @@ } }, "client_details": { - "maxItemsOne": true, - "elem": { - "fields": { - "client_id": {}, - "client_secret_id": {}, - "client_secret_version_number": {}, - "type": {} - } - } + "maxItemsOne": true }, - "is_ssl_verify_disabled": {}, "keys": { "maxItemsOne": false, "elem": { "fields": { - "alg": {}, - "e": {}, - "format": {}, - "key": {}, "key_ops": { - "maxItemsOne": false, - "elem": {} - }, - "kid": {}, - "kty": {}, - "n": {}, - "use": {} + "maxItemsOne": false + } } } }, - "max_cache_duration_in_hours": {}, "source_uri_details": { - "maxItemsOne": true, - "elem": { - "fields": { - "type": {}, - "uri": {} - } - } - }, - "type": {}, - "uri": {} + "maxItemsOne": true + } } } }, @@ -1068,11 +608,8 @@ "maxItemsOne": false, "elem": { "fields": { - "is_required": {}, - "key": {}, "values": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } } @@ -1085,23 +622,17 @@ "elem": { "fields": { "allowed_headers": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "allowed_methods": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "allowed_origins": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "exposed_headers": { - "maxItemsOne": false, - "elem": {} - }, - "is_allow_credentials_enabled": {}, - "max_age_in_seconds": {} + "maxItemsOne": false + } } } }, @@ -1118,74 +649,38 @@ "elem": { "fields": { "audiences": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "cache_key": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "function_id": {}, - "is_anonymous_access_allowed": {}, "issuers": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "max_clock_skew_in_seconds": {}, - "parameters": {}, "public_keys": { "maxItemsOne": true, "elem": { "fields": { - "is_ssl_verify_disabled": {}, "keys": { "maxItemsOne": false, "elem": { "fields": { - "alg": {}, - "e": {}, - "format": {}, - "key": {}, "key_ops": { - "maxItemsOne": false, - "elem": {} - }, - "kid": {}, - "kty": {}, - "n": {}, - "use": {} + "maxItemsOne": false + } } } - }, - "max_cache_duration_in_hours": {}, - "type": {}, - "uri": {} + } } } }, - "token_auth_scheme": {}, - "token_header": {}, - "token_query_param": {}, - "type": {}, "validation_failure_policy": { "maxItemsOne": true, "elem": { "fields": { "client_details": { - "maxItemsOne": true, - "elem": { - "fields": { - "client_id": {}, - "client_secret_id": {}, - "client_secret_version_number": {}, - "type": {} - } - } + "maxItemsOne": true }, - "fallback_redirect_path": {}, - "logout_path": {}, - "max_expiry_duration_in_hours": {}, - "response_code": {}, "response_header_transformations": { "maxItemsOne": true, "elem": { @@ -1195,14 +690,8 @@ "elem": { "fields": { "items": { - "maxItemsOne": false, - "elem": { - "fields": { - "name": {} - } - } - }, - "type": {} + "maxItemsOne": false + } } } }, @@ -1211,13 +700,7 @@ "elem": { "fields": { "items": { - "maxItemsOne": false, - "elem": { - "fields": { - "from": {}, - "to": {} - } - } + "maxItemsOne": false } } } @@ -1230,11 +713,8 @@ "maxItemsOne": false, "elem": { "fields": { - "if_exists": {}, - "name": {}, "values": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } } @@ -1245,25 +725,12 @@ } } }, - "response_message": {}, - "response_type": {}, "scopes": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "source_uri_details": { - "maxItemsOne": true, - "elem": { - "fields": { - "type": {}, - "uri": {} - } - } - }, - "type": {}, - "use_cookies_for_intermediate_steps": {}, - "use_cookies_for_session": {}, - "use_pkce": {} + "maxItemsOne": true + } } } }, @@ -1276,22 +743,17 @@ "elem": { "fields": { "audiences": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "issuers": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "verify_claims": { "maxItemsOne": false, "elem": { "fields": { - "is_required": {}, - "key": {}, "values": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } } @@ -1300,48 +762,21 @@ } }, "client_details": { - "maxItemsOne": true, - "elem": { - "fields": { - "client_id": {}, - "client_secret_id": {}, - "client_secret_version_number": {}, - "type": {} - } - } + "maxItemsOne": true }, - "is_ssl_verify_disabled": {}, "keys": { "maxItemsOne": false, "elem": { "fields": { - "alg": {}, - "e": {}, - "format": {}, - "key": {}, "key_ops": { - "maxItemsOne": false, - "elem": {} - }, - "kid": {}, - "kty": {}, - "n": {}, - "use": {} + "maxItemsOne": false + } } } }, - "max_cache_duration_in_hours": {}, "source_uri_details": { - "maxItemsOne": true, - "elem": { - "fields": { - "type": {}, - "uri": {} - } - } - }, - "type": {}, - "uri": {} + "maxItemsOne": true + } } } }, @@ -1349,11 +784,8 @@ "maxItemsOne": false, "elem": { "fields": { - "is_required": {}, - "key": {}, "values": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } } @@ -1365,13 +797,8 @@ "maxItemsOne": true, "elem": { "fields": { - "expression": {}, - "is_default": {}, - "name": {}, - "type": {}, "values": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } } @@ -1380,13 +807,7 @@ } }, "selection_source": { - "maxItemsOne": true, - "elem": { - "fields": { - "selector": {}, - "type": {} - } - } + "maxItemsOne": true } } } @@ -1396,29 +817,20 @@ "elem": { "fields": { "allowed_sans": { - "maxItemsOne": false, - "elem": {} - }, - "is_verified_certificate_required": {} + "maxItemsOne": false + } } } }, "rate_limiting": { - "maxItemsOne": true, - "elem": { - "fields": { - "rate_in_requests_per_second": {}, - "rate_key": {} - } - } + "maxItemsOne": true }, "usage_plans": { "maxItemsOne": true, "elem": { "fields": { "token_locations": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } } @@ -1435,24 +847,11 @@ "elem": { "fields": { "allowed_post_logout_uris": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "body": {}, - "connect_timeout_in_seconds": {}, - "function_id": {}, "headers": { - "maxItemsOne": false, - "elem": { - "fields": { - "name": {}, - "value": {} - } - } + "maxItemsOne": false }, - "is_ssl_verify_disabled": {}, - "post_logout_state": {}, - "read_timeout_in_seconds": {}, "routing_backends": { "maxItemsOne": false, "elem": { @@ -1461,24 +860,9 @@ "maxItemsOne": true, "elem": { "fields": { - "body": {}, - "connect_timeout_in_seconds": {}, - "function_id": {}, "headers": { - "maxItemsOne": false, - "elem": { - "fields": { - "name": {}, - "value": {} - } - } - }, - "is_ssl_verify_disabled": {}, - "read_timeout_in_seconds": {}, - "send_timeout_in_seconds": {}, - "status": {}, - "type": {}, - "url": {} + "maxItemsOne": false + } } } }, @@ -1486,13 +870,8 @@ "maxItemsOne": true, "elem": { "fields": { - "expression": {}, - "is_default": {}, - "name": {}, - "type": {}, "values": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } } @@ -1501,18 +880,8 @@ } }, "selection_source": { - "maxItemsOne": true, - "elem": { - "fields": { - "selector": {}, - "type": {} - } - } - }, - "send_timeout_in_seconds": {}, - "status": {}, - "type": {}, - "url": {} + "maxItemsOne": true + } } } }, @@ -1521,30 +890,17 @@ "elem": { "fields": { "access_log": { - "maxItemsOne": true, - "elem": { - "fields": { - "is_enabled": {} - } - } + "maxItemsOne": true }, "execution_log": { - "maxItemsOne": true, - "elem": { - "fields": { - "is_enabled": {}, - "log_level": {} - } - } + "maxItemsOne": true } } } }, "methods": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "path": {}, "request_policies": { "maxItemsOne": true, "elem": { @@ -1554,10 +910,8 @@ "elem": { "fields": { "allowed_scope": { - "maxItemsOne": false, - "elem": {} - }, - "type": {} + "maxItemsOne": false + } } } }, @@ -1566,16 +920,8 @@ "elem": { "fields": { "content": { - "maxItemsOne": false, - "elem": { - "fields": { - "media_type": {}, - "validation_type": {} - } - } - }, - "required": {}, - "validation_mode": {} + "maxItemsOne": false + } } } }, @@ -1584,23 +930,17 @@ "elem": { "fields": { "allowed_headers": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "allowed_methods": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "allowed_origins": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "exposed_headers": { - "maxItemsOne": false, - "elem": {} - }, - "is_allow_credentials_enabled": {}, - "max_age_in_seconds": {} + "maxItemsOne": false + } } } }, @@ -1613,14 +953,8 @@ "elem": { "fields": { "items": { - "maxItemsOne": false, - "elem": { - "fields": { - "name": {} - } - } - }, - "type": {} + "maxItemsOne": false + } } } }, @@ -1629,13 +963,7 @@ "elem": { "fields": { "items": { - "maxItemsOne": false, - "elem": { - "fields": { - "from": {}, - "to": {} - } - } + "maxItemsOne": false } } } @@ -1648,11 +976,8 @@ "maxItemsOne": false, "elem": { "fields": { - "if_exists": {}, - "name": {}, "values": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } } @@ -1668,15 +993,8 @@ "elem": { "fields": { "headers": { - "maxItemsOne": false, - "elem": { - "fields": { - "name": {}, - "required": {} - } - } - }, - "validation_mode": {} + "maxItemsOne": false + } } } }, @@ -1689,14 +1007,8 @@ "elem": { "fields": { "items": { - "maxItemsOne": false, - "elem": { - "fields": { - "name": {} - } - } - }, - "type": {} + "maxItemsOne": false + } } } }, @@ -1705,13 +1017,7 @@ "elem": { "fields": { "items": { - "maxItemsOne": false, - "elem": { - "fields": { - "from": {}, - "to": {} - } - } + "maxItemsOne": false } } } @@ -1724,11 +1030,8 @@ "maxItemsOne": false, "elem": { "fields": { - "if_exists": {}, - "name": {}, "values": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } } @@ -1744,15 +1047,8 @@ "elem": { "fields": { "parameters": { - "maxItemsOne": false, - "elem": { - "fields": { - "name": {}, - "required": {} - } - } - }, - "validation_mode": {} + "maxItemsOne": false + } } } }, @@ -1761,12 +1057,8 @@ "elem": { "fields": { "cache_key_additions": { - "maxItemsOne": false, - "elem": {} - }, - "is_enabled": {}, - "is_private_caching_enabled": {}, - "type": {} + "maxItemsOne": false + } } } } @@ -1786,14 +1078,8 @@ "elem": { "fields": { "items": { - "maxItemsOne": false, - "elem": { - "fields": { - "name": {} - } - } - }, - "type": {} + "maxItemsOne": false + } } } }, @@ -1802,13 +1088,7 @@ "elem": { "fields": { "items": { - "maxItemsOne": false, - "elem": { - "fields": { - "from": {}, - "to": {} - } - } + "maxItemsOne": false } } } @@ -1821,11 +1101,8 @@ "maxItemsOne": false, "elem": { "fields": { - "if_exists": {}, - "name": {}, "values": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } } @@ -1837,13 +1114,7 @@ } }, "response_cache_store": { - "maxItemsOne": true, - "elem": { - "fields": { - "time_to_live_in_seconds": {}, - "type": {} - } - } + "maxItemsOne": true } } } @@ -1853,283 +1124,109 @@ } } } - }, - "state": {}, - "time_created": {}, - "time_updated": {} + } } }, "oci_apigateway_gateway": { "current": "oci:ApiGateway/gateway:Gateway", + "majorVersion": 1, "fields": { "ca_bundles": { - "maxItemsOne": false, - "elem": { - "fields": { - "ca_bundle_id": {}, - "certificate_authority_id": {}, - "type": {} - } - } + "maxItemsOne": false }, - "certificate_id": {}, - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "endpoint_type": {}, - "freeform_tags": {}, - "hostname": {}, "ip_addresses": { - "maxItemsOne": false, - "elem": { - "fields": { - "ip_address": {} - } - } + "maxItemsOne": false }, - "lifecycle_details": {}, "network_security_group_ids": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "response_cache_details": { "maxItemsOne": true, "elem": { "fields": { - "authentication_secret_id": {}, - "authentication_secret_version_number": {}, - "connect_timeout_in_ms": {}, - "is_ssl_enabled": {}, - "is_ssl_verify_disabled": {}, - "read_timeout_in_ms": {}, - "send_timeout_in_ms": {}, "servers": { - "maxItemsOne": false, - "elem": { - "fields": { - "host": {}, - "port": {} - } - } - }, - "type": {} + "maxItemsOne": false + } } } - }, - "state": {}, - "subnet_id": {}, - "time_created": {}, - "time_updated": {} + } } }, "oci_apigateway_subscriber": { "current": "oci:ApiGateway/subscriber:Subscriber", + "majorVersion": 1, "fields": { "clients": { - "maxItemsOne": false, - "elem": { - "fields": { - "name": {}, - "token": {} - } - } + "maxItemsOne": false }, - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "lifecycle_details": {}, - "state": {}, - "time_created": {}, - "time_updated": {}, "usage_plans": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } }, "oci_apigateway_usage_plan": { "current": "oci:ApiGateway/usagePlan:UsagePlan", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, "entitlements": { "maxItemsOne": false, "elem": { "fields": { - "description": {}, - "name": {}, "quota": { - "maxItemsOne": true, - "elem": { - "fields": { - "operation_on_breach": {}, - "reset_policy": {}, - "unit": {}, - "value": {} - } - } + "maxItemsOne": true }, "rate_limit": { - "maxItemsOne": true, - "elem": { - "fields": { - "unit": {}, - "value": {} - } - } + "maxItemsOne": true }, "targets": { - "maxItemsOne": false, - "elem": { - "fields": { - "deployment_id": {} - } - } + "maxItemsOne": false } } } - }, - "freeform_tags": {}, - "lifecycle_details": {}, - "state": {}, - "time_created": {}, - "time_updated": {} + } } }, "oci_apm_apm_domain": { "current": "oci:Apm/apmDomain:ApmDomain", - "fields": { - "compartment_id": {}, - "data_upload_endpoint": {}, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "freeform_tags": {}, - "is_free_tier": {}, - "state": {}, - "time_created": {}, - "time_updated": {} - } + "majorVersion": 1 }, "oci_apm_config_config": { "current": "oci:ApmConfig/config:Config", + "majorVersion": 1, "fields": { - "apm_domain_id": {}, - "config_type": {}, - "created_by": {}, - "defined_tags": {}, - "description": {}, "dimensions": { - "maxItemsOne": false, - "elem": { - "fields": { - "name": {}, - "value_source": {} - } - } + "maxItemsOne": false }, - "display_name": {}, - "etag": {}, - "filter_id": {}, - "filter_text": {}, - "freeform_tags": {}, - "group": {}, "in_use_by": { - "maxItemsOne": false, - "elem": { - "fields": { - "config_type": {}, - "display_name": {}, - "id": {}, - "options_group": {} - } - } + "maxItemsOne": false }, "metrics": { - "maxItemsOne": false, - "elem": { - "fields": { - "description": {}, - "name": {}, - "unit": {}, - "value_source": {} - } - } + "maxItemsOne": false }, - "namespace": {}, - "opc_dry_run": {}, - "options": {}, "rules": { - "maxItemsOne": false, - "elem": { - "fields": { - "display_name": {}, - "filter_text": {}, - "is_apply_to_error_spans": {}, - "is_enabled": {}, - "priority": {}, - "satisfied_response_time": {}, - "tolerating_response_time": {} - } - } - }, - "time_created": {}, - "time_updated": {}, - "updated_by": {} + "maxItemsOne": false + } } }, "oci_apm_synthetics_dedicated_vantage_point": { "current": "oci:ApmSynthetics/dedicatedVantagePoint:DedicatedVantagePoint", + "majorVersion": 1, "fields": { - "apm_domain_id": {}, - "defined_tags": {}, - "display_name": {}, "dvp_stack_details": { - "maxItemsOne": true, - "elem": { - "fields": { - "dvp_stack_id": {}, - "dvp_stack_type": {}, - "dvp_stream_id": {}, - "dvp_version": {} - } - } + "maxItemsOne": true }, - "freeform_tags": {}, "monitor_status_count_map": { - "maxItemsOne": false, - "elem": { - "fields": { - "disabled": {}, - "enabled": {}, - "invalid": {}, - "total": {} - } - } - }, - "name": {}, - "region": {}, - "status": {}, - "time_created": {}, - "time_updated": {} + "maxItemsOne": false + } } }, "oci_apm_synthetics_monitor": { "current": "oci:ApmSynthetics/config:Config", + "majorVersion": 1, "fields": { - "apm_domain_id": {}, "availability_configuration": { - "maxItemsOne": true, - "elem": { - "fields": { - "max_allowed_failures_per_interval": {}, - "min_allowed_runs_per_interval": {} - } - } + "maxItemsOne": true }, - "batch_interval_in_seconds": {}, "configuration": { "maxItemsOne": true, "elem": { @@ -2147,488 +1244,194 @@ } } }, - "config_type": {}, "dns_configuration": { - "maxItemsOne": true, - "elem": { - "fields": { - "is_override_dns": {}, - "override_dns_ip": {} - } - } + "maxItemsOne": true }, - "is_certificate_validation_enabled": {}, - "is_failure_retried": {}, - "is_redirection_enabled": {}, "network_configuration": { - "maxItemsOne": true, - "elem": { - "fields": { - "number_of_hops": {}, - "probe_mode": {}, - "probe_per_hop": {}, - "protocol": {}, - "transmission_rate": {} - } - } + "maxItemsOne": true }, "req_authentication_details": { "maxItemsOne": true, "elem": { "fields": { "auth_headers": { - "maxItemsOne": false, - "elem": { - "fields": { - "header_name": {}, - "header_value": {} - } - } - }, - "auth_request_method": {}, - "auth_request_post_body": {}, - "auth_token": {}, - "auth_url": {}, - "auth_user_name": {}, - "auth_user_password": {}, - "oauth_scheme": {} + "maxItemsOne": false + } } } }, - "req_authentication_scheme": {}, "request_headers": { - "maxItemsOne": false, - "elem": { - "fields": { - "header_name": {}, - "header_value": {} - } - } + "maxItemsOne": false }, - "request_method": {}, - "request_post_body": {}, "request_query_params": { - "maxItemsOne": false, - "elem": { - "fields": { - "param_name": {}, - "param_value": {} - } - } + "maxItemsOne": false }, "verify_response_codes": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "verify_response_content": {}, "verify_texts": { - "maxItemsOne": false, - "elem": { - "fields": { - "text": {} - } - } + "maxItemsOne": false } } } }, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "is_run_now": {}, - "is_run_once": {}, "maintenance_window_schedule": { - "maxItemsOne": true, - "elem": { - "fields": { - "time_ended": {}, - "time_started": {} - } - } + "maxItemsOne": true }, - "monitor_type": {}, - "repeat_interval_in_seconds": {}, - "scheduling_policy": {}, - "script_id": {}, - "script_name": {}, "script_parameters": { "maxItemsOne": false, "elem": { "fields": { - "is_overwritten": {}, - "is_secret": {}, "monitor_script_parameter": { - "maxItemsOne": false, - "elem": { - "fields": { - "param_name": {}, - "param_value": {} - } - } - }, - "param_name": {}, - "param_value": {} + "maxItemsOne": false + } } } }, - "status": {}, - "target": {}, - "time_created": {}, - "time_updated": {}, - "timeout_in_seconds": {}, - "vantage_point_count": {}, "vantage_points": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } }, "oci_apm_synthetics_script": { "current": "oci:ApmSynthetics/script:Script", + "majorVersion": 1, "fields": { - "apm_domain_id": {}, - "content": {}, - "content_file_name": {}, - "content_size_in_bytes": {}, - "content_type": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, "monitor_status_count_map": { - "maxItemsOne": false, - "elem": { - "fields": { - "disabled": {}, - "enabled": {}, - "invalid": {}, - "total": {} - } - } + "maxItemsOne": false }, "parameters": { "maxItemsOne": false, "elem": { "fields": { - "is_overwritten": {}, - "is_secret": {}, - "param_name": {}, - "param_value": {}, "script_parameter": { - "maxItemsOne": false, - "elem": { - "fields": { - "is_secret": {}, - "param_name": {}, - "param_value": {} - } - } + "maxItemsOne": false } } } - }, - "time_created": {}, - "time_updated": {}, - "time_uploaded": {} + } } }, "oci_appmgmt_control_monitor_plugin_management": { "current": "oci:AppMgmtControl/monitorPluginManagement:MonitorPluginManagement", - "fields": { - "compartment_id": {}, - "monitored_instance_description": {}, - "monitored_instance_display_name": {}, - "monitored_instance_id": {}, - "monitored_instance_management_agent_id": {}, - "state": {} - } + "majorVersion": 1 }, "oci_artifacts_container_configuration": { "current": "oci:Artifacts/containerConfiguration:ContainerConfiguration", - "fields": { - "compartment_id": {}, - "is_repository_created_on_first_push": {}, - "namespace": {} - } + "majorVersion": 1 }, "oci_artifacts_container_image_signature": { "current": "oci:Artifacts/containerImageSignature:ContainerImageSignature", - "fields": { - "compartment_id": {}, - "created_by": {}, - "display_name": {}, - "image_id": {}, - "kms_key_id": {}, - "kms_key_version_id": {}, - "message": {}, - "signature": {}, - "signing_algorithm": {}, - "time_created": {} - } + "majorVersion": 1 }, "oci_artifacts_container_repository": { "current": "oci:Artifacts/containerRepository:ContainerRepository", + "majorVersion": 1, "fields": { - "billable_size_in_gbs": {}, - "compartment_id": {}, - "created_by": {}, - "display_name": {}, - "image_count": {}, - "is_immutable": {}, - "is_public": {}, - "layer_count": {}, - "layers_size_in_bytes": {}, "readme": { - "maxItemsOne": true, - "elem": { - "fields": { - "content": {}, - "format": {} - } - } - }, - "state": {}, - "time_created": {}, - "time_last_pushed": {} + "maxItemsOne": true + } } }, "oci_artifacts_generic_artifact": { "current": "oci:Artifacts/genericArtifact:GenericArtifact", - "fields": { - "artifact_id": {}, - "artifact_path": {}, - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "repository_id": {}, - "sha256": {}, - "size_in_bytes": {}, - "state": {}, - "time_created": {}, - "version": {} - } + "majorVersion": 1 }, "oci_artifacts_repository": { "current": "oci:Artifacts/repository:Repository", - "fields": { - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "freeform_tags": {}, - "is_immutable": {}, - "repository_type": {}, - "state": {}, - "time_created": {} - } + "majorVersion": 1 }, "oci_audit_configuration": { "current": "oci:Audit/configuration:Configuration", - "fields": { - "compartment_id": {}, - "retention_period_days": {} - } + "majorVersion": 1 }, "oci_autoscaling_auto_scaling_configuration": { "current": "oci:Autoscaling/autoScalingConfiguration:AutoScalingConfiguration", + "majorVersion": 1, "fields": { "auto_scaling_resources": { - "maxItemsOne": true, - "elem": { - "fields": { - "id": {}, - "type": {} - } - } + "maxItemsOne": true }, - "compartment_id": {}, - "cool_down_in_seconds": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "is_enabled": {}, - "max_resource_count": {}, - "min_resource_count": {}, "policies": { "maxItemsOne": false, "elem": { "fields": { "capacity": { - "maxItemsOne": true, - "elem": { - "fields": { - "initial": {}, - "max": {}, - "min": {} - } - } + "maxItemsOne": true }, - "display_name": {}, "execution_schedule": { - "maxItemsOne": true, - "elem": { - "fields": { - "expression": {}, - "timezone": {}, - "type": {} - } - } + "maxItemsOne": true }, - "id": {}, - "is_enabled": {}, - "policy_type": {}, "resource_action": { - "maxItemsOne": true, - "elem": { - "fields": { - "action": {}, - "action_type": {} - } - } + "maxItemsOne": true }, "rules": { "maxItemsOne": false, "elem": { "fields": { "action": { - "maxItemsOne": true, - "elem": { - "fields": { - "type": {}, - "value": {} - } - } + "maxItemsOne": true }, - "display_name": {}, - "id": {}, "metric": { "maxItemsOne": true, "elem": { "fields": { - "metric_type": {}, "threshold": { - "maxItemsOne": true, - "elem": { - "fields": { - "operator": {}, - "value": {} - } - } + "maxItemsOne": true } } } } } } - }, - "time_created": {} + } } } - }, - "time_created": {} + } } }, "oci_bastion_bastion": { "current": "oci:Bastion/bastion:Bastion", + "majorVersion": 1, "fields": { - "bastion_type": {}, "client_cidr_block_allow_list": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "compartment_id": {}, - "defined_tags": {}, - "dns_proxy_status": {}, - "freeform_tags": {}, - "lifecycle_details": {}, - "max_session_ttl_in_seconds": {}, - "max_sessions_allowed": {}, - "name": {}, - "phone_book_entry": {}, - "private_endpoint_ip_address": {}, - "state": {}, "static_jump_host_ip_addresses": { - "maxItemsOne": false, - "elem": {} - }, - "system_tags": {}, - "target_subnet_id": {}, - "target_vcn_id": {}, - "time_created": {}, - "time_updated": {} + "maxItemsOne": false + } } }, "oci_bastion_session": { "current": "oci:Bastion/session:Session", + "majorVersion": 1, "fields": { - "bastion_id": {}, - "bastion_name": {}, - "bastion_public_host_key_info": {}, - "bastion_user_name": {}, - "display_name": {}, "key_details": { - "maxItemsOne": true, - "elem": { - "fields": { - "public_key_content": {} - } - } + "maxItemsOne": true }, - "key_type": {}, - "lifecycle_details": {}, - "session_ttl_in_seconds": {}, - "ssh_metadata": {}, - "state": {}, "target_resource_details": { - "maxItemsOne": true, - "elem": { - "fields": { - "session_type": {}, - "target_resource_display_name": {}, - "target_resource_fqdn": {}, - "target_resource_id": {}, - "target_resource_operating_system_user_name": {}, - "target_resource_port": {}, - "target_resource_private_ip_address": {} - } - } - }, - "time_created": {}, - "time_updated": {} + "maxItemsOne": true + } } }, "oci_bds_auto_scaling_configuration": { "current": "oci:BigDataService/autoScalingConfiguration:AutoScalingConfiguration", + "majorVersion": 1, "fields": { - "bds_instance_id": {}, - "cluster_admin_password": {}, - "display_name": {}, - "is_enabled": {}, - "node_type": {}, "policy": { "maxItemsOne": true, "elem": { "fields": { - "policy_type": {}, "rules": { "maxItemsOne": false, "elem": { "fields": { - "action": {}, "metric": { "maxItemsOne": true, "elem": { "fields": { - "metric_type": {}, "threshold": { - "maxItemsOne": true, - "elem": { - "fields": { - "duration_in_minutes": {}, - "operator": {}, - "value": {} - } - } + "maxItemsOne": true } } } @@ -2643,34 +1446,20 @@ "maxItemsOne": true, "elem": { "fields": { - "action_type": {}, - "policy_type": {}, "scale_down_config": { "maxItemsOne": true, "elem": { "fields": { - "memory_step_size": {}, "metric": { "maxItemsOne": true, "elem": { "fields": { - "metric_type": {}, "threshold": { - "maxItemsOne": true, - "elem": { - "fields": { - "duration_in_minutes": {}, - "operator": {}, - "value": {} - } - } + "maxItemsOne": true } } } - }, - "min_memory_per_node": {}, - "min_ocpus_per_node": {}, - "ocpu_step_size": {} + } } } }, @@ -2682,22 +1471,12 @@ "maxItemsOne": true, "elem": { "fields": { - "metric_type": {}, "threshold": { - "maxItemsOne": true, - "elem": { - "fields": { - "duration_in_minutes": {}, - "operator": {}, - "value": {} - } - } + "maxItemsOne": true } } } - }, - "min_node_count": {}, - "step_size": {} + } } } }, @@ -2705,26 +1484,16 @@ "maxItemsOne": true, "elem": { "fields": { - "max_node_count": {}, "metric": { "maxItemsOne": true, "elem": { "fields": { - "metric_type": {}, "threshold": { - "maxItemsOne": true, - "elem": { - "fields": { - "duration_in_minutes": {}, - "operator": {}, - "value": {} - } - } + "maxItemsOne": true } } } - }, - "step_size": {} + } } } }, @@ -2732,28 +1501,16 @@ "maxItemsOne": true, "elem": { "fields": { - "max_memory_per_node": {}, - "max_ocpus_per_node": {}, - "memory_step_size": {}, "metric": { "maxItemsOne": true, "elem": { "fields": { - "metric_type": {}, "threshold": { - "maxItemsOne": true, - "elem": { - "fields": { - "duration_in_minutes": {}, - "operator": {}, - "value": {} - } - } + "maxItemsOne": true } } } - }, - "ocpu_step_size": {} + } } } }, @@ -2761,144 +1518,57 @@ "maxItemsOne": false, "elem": { "fields": { - "schedule_type": {}, "time_and_horizontal_scaling_config": { - "maxItemsOne": false, - "elem": { - "fields": { - "target_node_count": {}, - "time_recurrence": {} - } - } + "maxItemsOne": false }, "time_and_vertical_scaling_config": { - "maxItemsOne": false, - "elem": { - "fields": { - "target_memory_per_node": {}, - "target_ocpus_per_node": {}, - "target_shape": {}, - "time_recurrence": {} - } - } + "maxItemsOne": false } } } - }, - "timezone": {}, - "trigger_type": {} + } } } - }, - "state": {}, - "time_created": {}, - "time_updated": {} + } } }, "oci_bds_bds_instance": { "current": "oci:BigDataService/bdsInstance:BdsInstance", + "majorVersion": 1, "fields": { - "bootstrap_script_url": {}, "cloud_sql_details": { "maxItemsOne": false, "elem": { "fields": { - "block_volume_size_in_gbs": {}, - "ip_address": {}, - "is_kerberos_mapped_to_database_users": {}, "kerberos_details": { - "maxItemsOne": false, - "elem": { - "fields": { - "keytab_file": {}, - "principal_name": {} - } - } - }, - "memory_in_gbs": {}, - "nvmes": {}, - "ocpus": {}, - "shape": {} + "maxItemsOne": false + } } } }, - "cluster_admin_password": {}, "cluster_details": { - "maxItemsOne": false, - "elem": { - "fields": { - "ambari_url": {}, - "bd_cell_version": {}, - "bda_version": {}, - "bdm_version": {}, - "bds_version": {}, - "big_data_manager_url": {}, - "cloudera_manager_url": {}, - "csql_cell_version": {}, - "db_version": {}, - "hue_server_url": {}, - "jupyter_hub_url": {}, - "odh_version": {}, - "os_version": {}, - "time_created": {}, - "time_refreshed": {} - } - } + "maxItemsOne": false }, - "cluster_profile": {}, - "cluster_public_key": {}, - "cluster_version": {}, - "compartment_id": {}, "compute_only_worker_node": { "maxItemsOne": true, "elem": { "fields": { - "block_volume_size_in_gbs": {}, - "number_of_nodes": {}, - "shape": {}, "shape_config": { - "maxItemsOne": true, - "elem": { - "fields": { - "memory_in_gbs": {}, - "nvmes": {}, - "ocpus": {} - } - } - }, - "subnet_id": {} + "maxItemsOne": true + } } } }, - "created_by": {}, - "defined_tags": {}, - "display_name": {}, "edge_node": { "maxItemsOne": true, "elem": { "fields": { - "block_volume_size_in_gbs": {}, - "number_of_nodes": {}, - "shape": {}, "shape_config": { - "maxItemsOne": true, - "elem": { - "fields": { - "memory_in_gbs": {}, - "nvmes": {}, - "ocpus": {} - } - } - }, - "subnet_id": {} + "maxItemsOne": true + } } } }, - "freeform_tags": {}, - "is_cloud_sql_configured": {}, - "is_force_stop_jobs": {}, - "is_high_availability": {}, - "is_secure": {}, "kafka_broker_node": { "maxItemsOne": true, "elem": { @@ -2909,91 +1579,36 @@ } } }, - "kerberos_realm_name": {}, - "kms_key_id": {}, "master_node": { "maxItemsOne": true, "elem": { "fields": { - "block_volume_size_in_gbs": {}, - "number_of_nodes": {}, - "shape": {}, "shape_config": { - "maxItemsOne": true, - "elem": { - "fields": { - "memory_in_gbs": {}, - "nvmes": {}, - "ocpus": {} - } - } - }, - "subnet_id": {} + "maxItemsOne": true + } } } }, "network_config": { - "maxItemsOne": true, - "elem": { - "fields": { - "cidr_block": {}, - "is_nat_gateway_required": {} - } - } + "maxItemsOne": true }, "nodes": { "maxItemsOne": false, "elem": { "fields": { "attached_block_volumes": { - "maxItemsOne": false, - "elem": { - "fields": { - "volume_attachment_id": {}, - "volume_size_in_gbs": {} - } - } - }, - "availability_domain": {}, - "display_name": {}, - "fault_domain": {}, - "hostname": {}, - "image_id": {}, - "instance_id": {}, - "ip_address": {}, - "memory_in_gbs": {}, - "node_type": {}, - "ocpus": {}, - "shape": {}, - "ssh_fingerprint": {}, - "state": {}, - "subnet_id": {}, - "time_created": {} + "maxItemsOne": false + } } } }, - "number_of_nodes": {}, - "state": {}, - "time_created": {}, - "time_updated": {}, "util_node": { "maxItemsOne": true, "elem": { "fields": { - "block_volume_size_in_gbs": {}, - "number_of_nodes": {}, - "shape": {}, "shape_config": { - "maxItemsOne": true, - "elem": { - "fields": { - "memory_in_gbs": {}, - "nvmes": {}, - "ocpus": {} - } - } - }, - "subnet_id": {} + "maxItemsOne": true + } } } }, @@ -3001,20 +1616,9 @@ "maxItemsOne": true, "elem": { "fields": { - "block_volume_size_in_gbs": {}, - "number_of_nodes": {}, - "shape": {}, "shape_config": { - "maxItemsOne": true, - "elem": { - "fields": { - "memory_in_gbs": {}, - "nvmes": {}, - "ocpus": {} - } - } - }, - "subnet_id": {} + "maxItemsOne": true + } } } } @@ -3022,48 +1626,20 @@ }, "oci_bds_bds_instance_api_key": { "current": "oci:BigDataService/bdsInstanceApiKey:BdsInstanceApiKey", - "fields": { - "bds_instance_id": {}, - "default_region": {}, - "fingerprint": {}, - "key_alias": {}, - "passphrase": {}, - "pemfilepath": {}, - "state": {}, - "tenant_id": {}, - "time_created": {}, - "user_id": {} - } + "majorVersion": 1 }, "oci_bds_bds_instance_metastore_config": { "current": "oci:BigDataService/bdsInstanceMetastoreConfig:BdsInstanceMetastoreConfig", - "fields": { - "activate_trigger": {}, - "bds_api_key_id": {}, - "bds_api_key_passphrase": {}, - "bds_instance_id": {}, - "cluster_admin_password": {}, - "display_name": {}, - "metastore_id": {}, - "metastore_type": {}, - "state": {}, - "time_created": {}, - "time_updated": {} - } + "majorVersion": 1 }, "oci_bds_bds_instance_patch_action": { "current": "oci:BigDataService/bdsInstancePatchAction:BdsInstancePatchAction", - "fields": { - "bds_instance_id": {}, - "cluster_admin_password": {}, - "version": {} - } + "majorVersion": 1 }, "oci_blockchain_blockchain_platform": { "current": "oci:Blockchain/blockchainPlatform:BlockchainPlatform", + "majorVersion": 1, "fields": { - "ca_cert_archive_text": {}, - "compartment_id": {}, "component_details": { "maxItemsOne": false, "elem": { @@ -3072,17 +1648,9 @@ "maxItemsOne": false, "elem": { "fields": { - "ad": {}, "ocpu_allocation_param": { - "maxItemsOne": false, - "elem": { - "fields": { - "ocpu_allocation_number": {} - } - } - }, - "osn_key": {}, - "state": {} + "maxItemsOne": false + } } } }, @@ -3090,738 +1658,244 @@ "maxItemsOne": false, "elem": { "fields": { - "ad": {}, - "alias": {}, - "host": {}, "ocpu_allocation_param": { - "maxItemsOne": false, - "elem": { - "fields": { - "ocpu_allocation_number": {} - } - } - }, - "peer_key": {}, - "role": {}, - "state": {} + "maxItemsOne": false + } } } } } } }, - "compute_shape": {}, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "federated_user_id": {}, - "freeform_tags": {}, "host_ocpu_utilization_info": { - "maxItemsOne": false, - "elem": { - "fields": { - "host": {}, - "ocpu_capacity_number": {}, - "ocpu_utilization_number": {} - } - } + "maxItemsOne": false }, - "idcs_access_token": {}, - "is_byol": {}, - "is_multi_ad": {}, - "lifecycle_details": {}, - "load_balancer_shape": {}, - "platform_role": {}, - "platform_shape_type": {}, - "platform_version": {}, "replicas": { - "maxItemsOne": true, - "elem": { - "fields": { - "ca_count": {}, - "console_count": {}, - "proxy_count": {} - } - } - }, - "service_endpoint": {}, - "service_version": {}, - "state": {}, - "storage_size_in_tbs": {}, - "storage_used_in_tbs": {}, - "time_created": {}, - "time_updated": {}, - "total_ocpu_capacity": {} + "maxItemsOne": true + } } }, "oci_blockchain_osn": { "current": "oci:Blockchain/osn:Osn", + "majorVersion": 1, "fields": { - "ad": {}, - "blockchain_platform_id": {}, "ocpu_allocation_param": { - "maxItemsOne": true, - "elem": { - "fields": { - "ocpu_allocation_number": {} - } - } - }, - "osn_key": {}, - "state": {} + "maxItemsOne": true + } } }, "oci_blockchain_peer": { "current": "oci:Blockchain/peer:Peer", + "majorVersion": 1, "fields": { - "ad": {}, - "alias": {}, - "blockchain_platform_id": {}, - "host": {}, "ocpu_allocation_param": { - "maxItemsOne": true, - "elem": { - "fields": { - "ocpu_allocation_number": {} - } - } - }, - "peer_key": {}, - "role": {}, - "state": {} + "maxItemsOne": true + } } }, "oci_budget_alert_rule": { "current": "oci:Budget/rule:Rule", - "fields": { - "budget_id": {}, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "freeform_tags": {}, - "message": {}, - "recipients": {}, - "state": {}, - "threshold": {}, - "threshold_type": {}, - "time_created": {}, - "time_updated": {}, - "type": {}, - "version": {} - } + "majorVersion": 1 }, "oci_budget_budget": { "current": "oci:Budget/budget:Budget", + "majorVersion": 1, "fields": { - "actual_spend": {}, - "alert_rule_count": {}, - "amount": {}, - "budget_processing_period_start_offset": {}, - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "forecasted_spend": {}, - "freeform_tags": {}, - "processing_period_type": {}, - "reset_period": {}, - "state": {}, - "target_compartment_id": {}, - "target_type": {}, "targets": { - "maxItemsOne": false, - "elem": {} - }, - "time_created": {}, - "time_spend_computed": {}, - "time_updated": {}, - "version": {} + "maxItemsOne": false + } } }, "oci_certificates_management_ca_bundle": { "current": "oci:CertificatesManagement/caBundle:CaBundle", - "fields": { - "ca_bundle_pem": {}, - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "freeform_tags": {}, - "lifecycle_details": {}, - "name": {}, - "state": {}, - "time_created": {} - } + "majorVersion": 1 }, "oci_certificates_management_certificate": { "current": "oci:CertificatesManagement/certificate:Certificate", + "majorVersion": 1, "fields": { "certificate_config": { "maxItemsOne": true, "elem": { "fields": { - "certificate_profile_type": {}, - "config_type": {}, - "csr_pem": {}, - "issuer_certificate_authority_id": {}, - "key_algorithm": {}, - "signature_algorithm": {}, "subject": { - "maxItemsOne": true, - "elem": { - "fields": { - "common_name": {}, - "country": {}, - "distinguished_name_qualifier": {}, - "domain_component": {}, - "generation_qualifier": {}, - "given_name": {}, - "initials": {}, - "locality_name": {}, - "organization": {}, - "organizational_unit": {}, - "pseudonym": {}, - "serial_number": {}, - "state_or_province_name": {}, - "street": {}, - "surname": {}, - "title": {}, - "user_id": {} - } - } + "maxItemsOne": true }, "subject_alternative_names": { - "maxItemsOne": false, - "elem": { - "fields": { - "type": {}, - "value": {} - } - } + "maxItemsOne": false }, "validity": { - "maxItemsOne": true, - "elem": { - "fields": { - "time_of_validity_not_after": {}, - "time_of_validity_not_before": {} - } - } - }, - "version_name": {} + "maxItemsOne": true + } } } }, - "certificate_profile_type": {}, "certificate_revocation_list_details": { "maxItemsOne": false, "elem": { "fields": { "custom_formatted_urls": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "object_storage_config": { - "maxItemsOne": false, - "elem": { - "fields": { - "object_storage_bucket_name": {}, - "object_storage_namespace": {}, - "object_storage_object_name_format": {} - } - } + "maxItemsOne": false } } } }, "certificate_rules": { - "maxItemsOne": false, - "elem": { - "fields": { - "advance_renewal_period": {}, - "renewal_interval": {}, - "rule_type": {} - } - } + "maxItemsOne": false }, - "compartment_id": {}, - "config_type": {}, "current_version": { "maxItemsOne": false, "elem": { "fields": { - "certificate_id": {}, - "issuer_ca_version_number": {}, "revocation_status": { - "maxItemsOne": false, - "elem": { - "fields": { - "revocation_reason": {}, - "time_of_revocation": {} - } - } + "maxItemsOne": false }, - "serial_number": {}, "stages": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "subject_alternative_names": { - "maxItemsOne": false, - "elem": { - "fields": { - "type": {}, - "value": {} - } - } + "maxItemsOne": false }, - "time_created": {}, - "time_of_deletion": {}, "validity": { - "maxItemsOne": false, - "elem": { - "fields": { - "time_of_validity_not_after": {}, - "time_of_validity_not_before": {} - } - } - }, - "version_name": {}, - "version_number": {} + "maxItemsOne": false + } } } }, - "defined_tags": {}, - "description": {}, - "freeform_tags": {}, - "issuer_certificate_authority_id": {}, - "key_algorithm": {}, - "lifecycle_details": {}, - "name": {}, - "signature_algorithm": {}, - "state": {}, "subject": { - "maxItemsOne": false, - "elem": { - "fields": { - "common_name": {}, - "country": {}, - "distinguished_name_qualifier": {}, - "domain_component": {}, - "generation_qualifier": {}, - "given_name": {}, - "initials": {}, - "locality_name": {}, - "organization": {}, - "organizational_unit": {}, - "pseudonym": {}, - "serial_number": {}, - "state_or_province_name": {}, - "street": {}, - "surname": {}, - "title": {}, - "user_id": {} - } - } - }, - "time_created": {}, - "time_of_deletion": {} + "maxItemsOne": false + } } }, "oci_certificates_management_certificate_authority": { "current": "oci:CertificatesManagement/certificateAuthority:CertificateAuthority", + "majorVersion": 1, "fields": { "certificate_authority_config": { "maxItemsOne": true, "elem": { "fields": { - "config_type": {}, - "issuer_certificate_authority_id": {}, - "signing_algorithm": {}, "subject": { - "maxItemsOne": true, - "elem": { - "fields": { - "common_name": {}, - "country": {}, - "distinguished_name_qualifier": {}, - "domain_component": {}, - "generation_qualifier": {}, - "given_name": {}, - "initials": {}, - "locality_name": {}, - "organization": {}, - "organizational_unit": {}, - "pseudonym": {}, - "serial_number": {}, - "state_or_province_name": {}, - "street": {}, - "surname": {}, - "title": {}, - "user_id": {} - } - } + "maxItemsOne": true }, "validity": { - "maxItemsOne": true, - "elem": { - "fields": { - "time_of_validity_not_after": {}, - "time_of_validity_not_before": {} - } - } - }, - "version_name": {} + "maxItemsOne": true + } } } }, "certificate_authority_rules": { - "maxItemsOne": false, - "elem": { - "fields": { - "certificate_authority_max_validity_duration": {}, - "leaf_certificate_max_validity_duration": {}, - "rule_type": {} - } - } + "maxItemsOne": false }, "certificate_revocation_list_details": { "maxItemsOne": true, "elem": { "fields": { "custom_formatted_urls": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "object_storage_config": { - "maxItemsOne": true, - "elem": { - "fields": { - "object_storage_bucket_name": {}, - "object_storage_namespace": {}, - "object_storage_object_name_format": {} - } - } + "maxItemsOne": true } } } }, - "compartment_id": {}, - "config_type": {}, "current_version": { "maxItemsOne": false, "elem": { "fields": { - "certificate_authority_id": {}, - "issuer_ca_version_number": {}, "revocation_status": { - "maxItemsOne": false, - "elem": { - "fields": { - "revocation_reason": {}, - "time_of_revocation": {} - } - } + "maxItemsOne": false }, - "serial_number": {}, "stages": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "time_created": {}, - "time_of_deletion": {}, "validity": { - "maxItemsOne": false, - "elem": { - "fields": { - "time_of_validity_not_after": {}, - "time_of_validity_not_before": {} - } - } - }, - "version_name": {}, - "version_number": {} + "maxItemsOne": false + } } } }, - "defined_tags": {}, - "description": {}, - "freeform_tags": {}, - "issuer_certificate_authority_id": {}, - "kms_key_id": {}, - "lifecycle_details": {}, - "name": {}, - "signing_algorithm": {}, - "state": {}, "subject": { - "maxItemsOne": false, - "elem": { - "fields": { - "common_name": {}, - "country": {}, - "distinguished_name_qualifier": {}, - "domain_component": {}, - "generation_qualifier": {}, - "given_name": {}, - "initials": {}, - "locality_name": {}, - "organization": {}, - "organizational_unit": {}, - "pseudonym": {}, - "serial_number": {}, - "state_or_province_name": {}, - "street": {}, - "surname": {}, - "title": {}, - "user_id": {} - } - } - }, - "time_created": {}, - "time_of_deletion": {} + "maxItemsOne": false + } } }, "oci_cloud_bridge_agent": { "current": "oci:CloudBridge/agent:Agent", + "majorVersion": 1, "fields": { - "agent_pub_key": {}, - "agent_type": {}, - "agent_version": {}, - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "environment_id": {}, - "freeform_tags": {}, - "heart_beat_status": {}, - "lifecycle_details": {}, - "os_version": {}, "plugin_list": { - "maxItemsOne": false, - "elem": { - "fields": { - "agent_id": {}, - "defined_tags": {}, - "freeform_tags": {}, - "lifecycle_details": {}, - "name": {}, - "plugin_version": {}, - "state": {}, - "time_created": {}, - "time_updated": {} - } - } - }, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_expire_agent_key_in_ms": {}, - "time_last_sync_received": {}, - "time_updated": {} + "maxItemsOne": false + } } }, "oci_cloud_bridge_agent_dependency": { "current": "oci:CloudBridge/agentDependency:AgentDependency", - "fields": { - "bucket": {}, - "checksum": {}, - "compartment_id": {}, - "defined_tags": {}, - "dependency_name": {}, - "dependency_version": {}, - "description": {}, - "display_name": {}, - "e_tag": {}, - "freeform_tags": {}, - "lifecycle_details": {}, - "namespace": {}, - "object": {}, - "state": {}, - "system_tags": {}, - "time_created": {} - } + "majorVersion": 1 }, "oci_cloud_bridge_agent_plugin": { "current": "oci:CloudBridge/agentPlugin:AgentPlugin", - "fields": { - "agent_id": {}, - "defined_tags": {}, - "desired_state": {}, - "freeform_tags": {}, - "lifecycle_details": {}, - "name": {}, - "plugin_name": {}, - "plugin_version": {}, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {} - } + "majorVersion": 1 }, "oci_cloud_bridge_asset": { "current": "oci:CloudBridge/asset:Asset", + "majorVersion": 1, "fields": { "asset_source_ids": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "asset_type": {}, - "compartment_id": {}, "compute": { "maxItemsOne": true, "elem": { "fields": { - "connected_networks": {}, - "cores_count": {}, - "cpu_model": {}, - "description": {}, "disks": { - "maxItemsOne": false, - "elem": { - "fields": { - "boot_order": {}, - "location": {}, - "name": {}, - "persistent_mode": {}, - "size_in_mbs": {}, - "uuid": {}, - "uuid_lun": {} - } - } + "maxItemsOne": false }, - "disks_count": {}, - "dns_name": {}, - "firmware": {}, "gpu_devices": { - "maxItemsOne": false, - "elem": { - "fields": { - "cores_count": {}, - "description": {}, - "manufacturer": {}, - "memory_in_mbs": {}, - "name": {} - } - } + "maxItemsOne": false }, - "gpu_devices_count": {}, - "guest_state": {}, - "hardware_version": {}, - "host_name": {}, - "is_pmem_enabled": {}, - "is_tpm_enabled": {}, - "latency_sensitivity": {}, - "memory_in_mbs": {}, "nics": { "maxItemsOne": false, "elem": { "fields": { "ip_addresses": { - "maxItemsOne": false, - "elem": {} - }, - "label": {}, - "mac_address": {}, - "mac_address_type": {}, - "network_name": {}, - "switch_name": {} + "maxItemsOne": false + } } } }, - "nics_count": {}, "nvdimm_controller": { - "maxItemsOne": true, - "elem": { - "fields": { - "bus_number": {}, - "label": {} - } - } + "maxItemsOne": true }, "nvdimms": { - "maxItemsOne": false, - "elem": { - "fields": { - "controller_key": {}, - "label": {}, - "unit_number": {} - } - } + "maxItemsOne": false }, - "operating_system": {}, - "operating_system_version": {}, - "pmem_in_mbs": {}, - "power_state": {}, - "primary_ip": {}, "scsi_controller": { - "maxItemsOne": true, - "elem": { - "fields": { - "label": {}, - "shared_bus": {}, - "unit_number": {} - } - } - }, - "storage_provisioned_in_mbs": {}, - "threads_per_core_count": {} + "maxItemsOne": true + } } } }, - "defined_tags": {}, - "display_name": {}, - "external_asset_key": {}, - "freeform_tags": {}, - "inventory_id": {}, - "source_key": {}, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {}, "vm": { - "maxItemsOne": true, - "elem": { - "fields": { - "hypervisor_host": {}, - "hypervisor_vendor": {}, - "hypervisor_version": {} - } - } + "maxItemsOne": true }, "vmware_vcenter": { - "maxItemsOne": true, - "elem": { - "fields": { - "data_center": {}, - "vcenter_key": {}, - "vcenter_version": {} - } - } + "maxItemsOne": true }, "vmware_vm": { "maxItemsOne": true, "elem": { "fields": { - "cluster": {}, "customer_fields": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "customer_tags": { - "maxItemsOne": false, - "elem": { - "fields": { - "description": {}, - "name": {} - } - } - }, - "fault_tolerance_bandwidth": {}, - "fault_tolerance_secondary_latency": {}, - "fault_tolerance_state": {}, - "instance_uuid": {}, - "is_disks_cbt_enabled": {}, - "is_disks_uuid_enabled": {}, - "path": {}, - "vmware_tools_status": {} + "maxItemsOne": false + } } } } @@ -3829,602 +1903,260 @@ }, "oci_cloud_bridge_asset_source": { "current": "oci:CloudBridge/assetSource:AssetSource", + "majorVersion": 1, "fields": { - "are_historical_metrics_collected": {}, - "are_realtime_metrics_collected": {}, - "assets_compartment_id": {}, - "compartment_id": {}, - "defined_tags": {}, "discovery_credentials": { - "maxItemsOne": true, - "elem": { - "fields": { - "secret_id": {}, - "type": {} - } - } + "maxItemsOne": true }, - "discovery_schedule_id": {}, - "display_name": {}, - "environment_id": {}, - "freeform_tags": {}, - "inventory_id": {}, - "lifecycle_details": {}, "replication_credentials": { - "maxItemsOne": true, - "elem": { - "fields": { - "secret_id": {}, - "type": {} - } - } - }, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {}, - "type": {}, - "vcenter_endpoint": {} + "maxItemsOne": true + } } }, "oci_cloud_bridge_discovery_schedule": { "current": "oci:CloudBridge/discoverySchedule:DiscoverySchedule", - "fields": { - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "execution_recurrences": {}, - "freeform_tags": {}, - "lifecycle_details": {}, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {} - } + "majorVersion": 1 }, "oci_cloud_bridge_environment": { "current": "oci:CloudBridge/environment:Environment", - "fields": { - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "lifecycle_details": {}, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {} - } + "majorVersion": 1 }, "oci_cloud_bridge_inventory": { "current": "oci:CloudBridge/inventory:Inventory", - "fields": { - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "lifecycle_details": {}, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {} - } + "majorVersion": 1 }, "oci_cloud_guard_cloud_guard_configuration": { "current": "oci:CloudGuard/cloudGuardConfiguration:CloudGuardConfiguration", - "fields": { - "compartment_id": {}, - "reporting_region": {}, - "self_manage_resources": {}, - "status": {} - } + "majorVersion": 1 }, "oci_cloud_guard_data_mask_rule": { "current": "oci:CloudGuard/dataMaskRule:DataMaskRule", + "majorVersion": 1, "fields": { - "compartment_id": {}, "data_mask_categories": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "data_mask_rule_status": {}, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "freeform_tags": {}, - "iam_group_id": {}, - "lifecyle_details": {}, - "state": {}, - "system_tags": {}, "target_selected": { "maxItemsOne": true, "elem": { "fields": { - "kind": {}, "values": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } } - }, - "time_created": {}, - "time_updated": {} + } } }, "oci_cloud_guard_data_source": { "current": "oci:CloudGuard/cloudGuardDataSource:CloudGuardDataSource", + "majorVersion": 1, "fields": { - "compartment_id": {}, "data_source_details": { "maxItemsOne": true, "elem": { "fields": { - "additional_entities_count": {}, - "data_source_feed_provider": {}, - "interval_in_minutes": {}, "logging_query_details": { - "maxItemsOne": true, - "elem": { - "fields": { - "key_entities_count": {}, - "logging_query_type": {} - } - } + "maxItemsOne": true }, - "logging_query_type": {}, - "operator": {}, - "query": {}, "query_start_time": { - "maxItemsOne": true, - "elem": { - "fields": { - "query_start_time": {}, - "start_policy_type": {} - } - } + "maxItemsOne": true }, "regions": { - "maxItemsOne": false, - "elem": {} - }, - "threshold": {} + "maxItemsOne": false + } } } }, "data_source_detector_mapping_info": { - "maxItemsOne": false, - "elem": { - "fields": { - "detector_recipe_id": {}, - "detector_rule_id": {} - } - } + "maxItemsOne": false }, - "data_source_feed_provider": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, "region_status_detail": { - "maxItemsOne": false, - "elem": { - "fields": { - "region": {}, - "status": {} - } - } - }, - "state": {}, - "status": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {} + "maxItemsOne": false + } } }, "oci_cloud_guard_detector_recipe": { "current": "oci:CloudGuard/detectorRecipe:DetectorRecipe", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "detector": {}, "detector_rules": { "maxItemsOne": false, "elem": { "fields": { "candidate_responder_rules": { - "maxItemsOne": false, - "elem": { - "fields": { - "display_name": {}, - "id": {}, - "is_preferred": {} - } - } + "maxItemsOne": false }, - "data_source_id": {}, - "description": {}, "details": { "maxItemsOne": true, "elem": { "fields": { - "condition": {}, "configurations": { "maxItemsOne": false, "elem": { "fields": { - "config_key": {}, - "data_type": {}, - "name": {}, - "value": {}, "values": { - "maxItemsOne": false, - "elem": { - "fields": { - "list_type": {}, - "managed_list_type": {}, - "value": {} - } - } + "maxItemsOne": false } } } }, - "data_source_id": {}, - "description": {}, "entities_mappings": { - "maxItemsOne": false, - "elem": { - "fields": { - "display_name": {}, - "entity_type": {}, - "query_field": {} - } - } + "maxItemsOne": false }, - "is_configuration_allowed": {}, - "is_enabled": {}, "labels": { - "maxItemsOne": false, - "elem": {} - }, - "recommendation": {}, - "risk_level": {} + "maxItemsOne": false + } } } }, - "detector": {}, - "detector_rule_id": {}, - "display_name": {}, "entities_mappings": { - "maxItemsOne": false, - "elem": { - "fields": { - "display_name": {}, - "entity_type": {}, - "query_field": {} - } - } + "maxItemsOne": false }, - "lifecycle_details": {}, "managed_list_types": { - "maxItemsOne": false, - "elem": {} - }, - "recommendation": {}, - "resource_type": {}, - "service_type": {}, - "state": {}, - "time_created": {}, - "time_updated": {} + "maxItemsOne": false + } } } }, - "display_name": {}, "effective_detector_rules": { "maxItemsOne": false, "elem": { "fields": { "candidate_responder_rules": { - "maxItemsOne": false, - "elem": { - "fields": { - "display_name": {}, - "id": {}, - "is_preferred": {} - } - } + "maxItemsOne": false }, - "data_source_id": {}, - "description": {}, "details": { "maxItemsOne": false, "elem": { "fields": { - "condition": {}, "configurations": { "maxItemsOne": false, "elem": { "fields": { - "config_key": {}, - "data_type": {}, - "name": {}, - "value": {}, "values": { - "maxItemsOne": false, - "elem": { - "fields": { - "list_type": {}, - "managed_list_type": {}, - "value": {} - } - } + "maxItemsOne": false } } } }, - "is_configuration_allowed": {}, - "is_enabled": {}, "labels": { - "maxItemsOne": false, - "elem": {} - }, - "risk_level": {} + "maxItemsOne": false + } } } }, - "detector": {}, - "detector_rule_id": {}, - "display_name": {}, "entities_mappings": { - "maxItemsOne": false, - "elem": { - "fields": { - "display_name": {}, - "entity_type": {}, - "query_field": {} - } - } + "maxItemsOne": false }, - "lifecycle_details": {}, "managed_list_types": { - "maxItemsOne": false, - "elem": {} - }, - "recommendation": {}, - "resource_type": {}, - "service_type": {}, - "state": {}, - "time_created": {}, - "time_updated": {} + "maxItemsOne": false + } } } }, - "freeform_tags": {}, - "owner": {}, - "source_detector_recipe_id": {}, - "state": {}, - "system_tags": {}, "target_ids": { - "maxItemsOne": false, - "elem": {} - }, - "time_created": {}, - "time_updated": {} + "maxItemsOne": false + } } }, "oci_cloud_guard_managed_list": { "current": "oci:CloudGuard/managedList:ManagedList", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "feed_provider": {}, - "freeform_tags": {}, - "is_editable": {}, - "lifecyle_details": {}, "list_items": { - "maxItemsOne": false, - "elem": {} - }, - "list_type": {}, - "source_managed_list_id": {}, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {} + "maxItemsOne": false + } } }, "oci_cloud_guard_responder_recipe": { "current": "oci:CloudGuard/responderRecipe:ResponderRecipe", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "display_name": {}, "effective_responder_rules": { "maxItemsOne": false, "elem": { "fields": { - "compartment_id": {}, - "description": {}, "details": { "maxItemsOne": false, "elem": { "fields": { - "condition": {}, "configurations": { - "maxItemsOne": false, - "elem": { - "fields": { - "config_key": {}, - "name": {}, - "value": {} - } - } - }, - "is_enabled": {}, - "mode": {} + "maxItemsOne": false + } } } }, - "display_name": {}, - "lifecycle_details": {}, "policies": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "responder_rule_id": {}, - "state": {}, "supported_modes": { - "maxItemsOne": false, - "elem": {} - }, - "time_created": {}, - "time_updated": {}, - "type": {} + "maxItemsOne": false + } } } }, - "freeform_tags": {}, - "lifecycle_details": {}, - "owner": {}, "responder_rules": { "maxItemsOne": false, "elem": { "fields": { - "compartment_id": {}, - "description": {}, "details": { "maxItemsOne": true, "elem": { "fields": { - "condition": {}, "configurations": { - "maxItemsOne": false, - "elem": { - "fields": { - "config_key": {}, - "name": {}, - "value": {} - } - } - }, - "is_enabled": {}, - "mode": {} + "maxItemsOne": false + } } } }, - "display_name": {}, - "lifecycle_details": {}, "policies": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "responder_rule_id": {}, - "state": {}, "supported_modes": { - "maxItemsOne": false, - "elem": {} - }, - "time_created": {}, - "time_updated": {}, - "type": {} + "maxItemsOne": false + } } } - }, - "source_responder_recipe_id": {}, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {} + } } }, "oci_cloud_guard_security_recipe": { "current": "oci:CloudGuard/securityRecipe:SecurityRecipe", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "freeform_tags": {}, - "lifecycle_details": {}, - "owner": {}, "security_policies": { - "maxItemsOne": false, - "elem": {} - }, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {} + "maxItemsOne": false + } } }, "oci_cloud_guard_security_zone": { "current": "oci:CloudGuard/securityZone:SecurityZone", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "freeform_tags": {}, "inherited_by_compartments": { - "maxItemsOne": false, - "elem": {} - }, - "lifecycle_details": {}, - "security_zone_recipe_id": {}, - "security_zone_target_id": {}, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {} + "maxItemsOne": false + } } }, "oci_cloud_guard_target": { "current": "oci:CloudGuard/target:Target", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "freeform_tags": {}, "inherited_by_compartments": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "lifecyle_details": {}, - "recipe_count": {}, - "state": {}, - "system_tags": {}, "target_details": { "maxItemsOne": false, "elem": { "fields": { - "security_zone_display_name": {}, - "security_zone_id": {}, - "target_resource_type": {}, "target_security_zone_recipes": { "maxItemsOne": false, "elem": { "fields": { - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "freeform_tags": {}, - "id": {}, - "lifecycle_details": {}, - "owner": {}, "security_policies": { - "maxItemsOne": false, - "elem": {} - }, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {} + "maxItemsOne": false + } } } } @@ -4435,578 +2167,247 @@ "maxItemsOne": false, "elem": { "fields": { - "compartment_id": {}, - "description": {}, - "detector": {}, - "detector_recipe_id": {}, "detector_rules": { "maxItemsOne": false, "elem": { "fields": { - "data_source_id": {}, - "description": {}, "details": { "maxItemsOne": true, "elem": { "fields": { "condition_groups": { - "maxItemsOne": false, - "elem": { - "fields": { - "compartment_id": {}, - "condition": {} - } - } + "maxItemsOne": false }, "configurations": { "maxItemsOne": false, "elem": { "fields": { - "config_key": {}, - "data_type": {}, - "name": {}, - "value": {}, "values": { - "maxItemsOne": false, - "elem": { - "fields": { - "list_type": {}, - "managed_list_type": {}, - "value": {} - } - } + "maxItemsOne": false } } } }, - "is_configuration_allowed": {}, - "is_enabled": {}, "labels": { - "maxItemsOne": false, - "elem": {} - }, - "risk_level": {} + "maxItemsOne": false + } } } }, - "detector": {}, - "detector_rule_id": {}, - "display_name": {}, "entities_mappings": { - "maxItemsOne": false, - "elem": { - "fields": { - "display_name": {}, - "entity_type": {}, - "query_field": {} - } - } + "maxItemsOne": false }, - "lifecycle_details": {}, "managed_list_types": { - "maxItemsOne": false, - "elem": {} - }, - "recommendation": {}, - "resource_type": {}, - "service_type": {}, - "state": {}, - "time_created": {}, - "time_updated": {} + "maxItemsOne": false + } } } }, - "display_name": {}, "effective_detector_rules": { "maxItemsOne": false, "elem": { "fields": { - "data_source_id": {}, - "description": {}, "details": { "maxItemsOne": false, "elem": { "fields": { "condition_groups": { - "maxItemsOne": false, - "elem": { - "fields": { - "compartment_id": {}, - "condition": {} - } - } + "maxItemsOne": false }, "configurations": { "maxItemsOne": false, "elem": { "fields": { - "config_key": {}, - "data_type": {}, - "name": {}, - "value": {}, "values": { - "maxItemsOne": false, - "elem": { - "fields": { - "list_type": {}, - "managed_list_type": {}, - "value": {} - } - } + "maxItemsOne": false } } } }, - "is_configuration_allowed": {}, - "is_enabled": {}, "labels": { - "maxItemsOne": false, - "elem": {} - }, - "risk_level": {} + "maxItemsOne": false + } } } }, - "detector": {}, - "detector_rule_id": {}, - "display_name": {}, "entities_mappings": { - "maxItemsOne": false, - "elem": { - "fields": { - "display_name": {}, - "entity_type": {}, - "query_field": {} - } - } + "maxItemsOne": false }, - "lifecycle_details": {}, "managed_list_types": { - "maxItemsOne": false, - "elem": {} - }, - "recommendation": {}, - "resource_type": {}, - "service_type": {}, - "state": {}, - "time_created": {}, - "time_updated": {} + "maxItemsOne": false + } } } - }, - "id": {}, - "owner": {}, - "state": {}, - "time_created": {}, - "time_updated": {} + } } } }, - "target_resource_id": {}, - "target_resource_type": {}, "target_responder_recipes": { "maxItemsOne": false, "elem": { "fields": { - "compartment_id": {}, - "description": {}, - "display_name": {}, "effective_responder_rules": { "maxItemsOne": false, "elem": { "fields": { - "compartment_id": {}, - "description": {}, "details": { "maxItemsOne": false, "elem": { "fields": { - "condition": {}, "configurations": { - "maxItemsOne": false, - "elem": { - "fields": { - "config_key": {}, - "name": {}, - "value": {} - } - } - }, - "is_enabled": {}, - "mode": {} + "maxItemsOne": false + } } } }, - "display_name": {}, - "lifecycle_details": {}, "policies": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "responder_rule_id": {}, - "state": {}, "supported_modes": { - "maxItemsOne": false, - "elem": {} - }, - "time_created": {}, - "time_updated": {}, - "type": {} + "maxItemsOne": false + } } } }, - "id": {}, - "owner": {}, - "responder_recipe_id": {}, "responder_rules": { "maxItemsOne": false, "elem": { "fields": { - "compartment_id": {}, - "description": {}, "details": { "maxItemsOne": true, "elem": { "fields": { - "condition": {}, "configurations": { - "maxItemsOne": false, - "elem": { - "fields": { - "config_key": {}, - "name": {}, - "value": {} - } - } - }, - "is_enabled": {}, - "mode": {} + "maxItemsOne": false + } } } }, - "display_name": {}, - "lifecycle_details": {}, "policies": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "responder_rule_id": {}, - "state": {}, "supported_modes": { - "maxItemsOne": false, - "elem": {} - }, - "time_created": {}, - "time_updated": {}, - "type": {} + "maxItemsOne": false + } } } - }, - "time_created": {}, - "time_updated": {} + } } } - }, - "time_created": {}, - "time_updated": {} + } } }, "oci_cloud_migrations_migration": { "current": "oci:CloudMigrations/migration:Migration", - "fields": { - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "is_completed": {}, - "lifecycle_details": {}, - "replication_schedule_id": {}, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {} - } + "majorVersion": 1 }, "oci_cloud_migrations_migration_asset": { "current": "oci:CloudMigrations/migrationAsset:MigrationAsset", + "majorVersion": 1, "fields": { - "availability_domain": {}, - "compartment_id": {}, "depended_on_by": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "display_name": {}, - "inventory_asset_id": {}, - "lifecycle_details": {}, "migration_asset_depends_on": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "migration_id": {}, "notifications": { - "maxItemsOne": false, - "elem": {} - }, - "parent_snapshot": {}, - "replication_compartment_id": {}, - "replication_schedule_id": {}, - "snap_shot_bucket_name": {}, - "snapshots": {}, - "source_asset_id": {}, - "state": {}, - "tenancy_id": {}, - "time_created": {}, - "time_updated": {}, - "type": {} + "maxItemsOne": false + } } }, "oci_cloud_migrations_migration_plan": { "current": "oci:CloudMigrations/migrationPlan:MigrationPlan", + "majorVersion": 1, "fields": { - "calculated_limits": {}, - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "lifecycle_details": {}, - "migration_id": {}, "migration_plan_stats": { "maxItemsOne": false, "elem": { "fields": { - "time_updated": {}, "total_estimated_cost": { "maxItemsOne": false, "elem": { "fields": { "compute": { - "maxItemsOne": false, - "elem": { - "fields": { - "gpu_count": {}, - "gpu_per_hour": {}, - "gpu_per_hour_by_subscription": {}, - "memory_amount_gb": {}, - "memory_gb_per_hour": {}, - "memory_gb_per_hour_by_subscription": {}, - "ocpu_count": {}, - "ocpu_per_hour": {}, - "ocpu_per_hour_by_subscription": {}, - "total_per_hour": {}, - "total_per_hour_by_subscription": {} - } - } + "maxItemsOne": false }, - "currency_code": {}, "os_image": { - "maxItemsOne": false, - "elem": { - "fields": { - "total_per_hour": {}, - "total_per_hour_by_subscription": {} - } - } + "maxItemsOne": false }, "storage": { "maxItemsOne": false, "elem": { "fields": { - "total_gb_per_month": {}, - "total_gb_per_month_by_subscription": {}, "volumes": { - "maxItemsOne": false, - "elem": { - "fields": { - "capacity_gb": {}, - "description": {}, - "total_gb_per_month": {}, - "total_gb_per_month_by_subscription": {} - } - } + "maxItemsOne": false } } } - }, - "subscription_id": {}, - "total_estimation_per_month": {}, - "total_estimation_per_month_by_subscription": {} + } } } - }, - "vm_count": {} + } } } }, - "reference_to_rms_stack": {}, - "source_migration_plan_id": {}, - "state": {}, "strategies": { - "maxItemsOne": false, - "elem": { - "fields": { - "adjustment_multiplier": {}, - "metric_time_window": {}, - "metric_type": {}, - "percentile": {}, - "resource_type": {}, - "strategy_type": {} - } - } + "maxItemsOne": false }, - "system_tags": {}, "target_environments": { - "maxItemsOne": false, - "elem": { - "fields": { - "availability_domain": {}, - "dedicated_vm_host": {}, - "fault_domain": {}, - "ms_license": {}, - "preferred_shape_type": {}, - "subnet": {}, - "target_compartment_id": {}, - "target_environment_type": {}, - "vcn": {} - } - } - }, - "time_created": {}, - "time_updated": {} + "maxItemsOne": false + } } }, "oci_cloud_migrations_replication_schedule": { "current": "oci:CloudMigrations/replicationSchedule:ReplicationSchedule", - "fields": { - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "execution_recurrences": {}, - "freeform_tags": {}, - "lifecycle_details": {}, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {} - } + "majorVersion": 1 }, "oci_cloud_migrations_target_asset": { "current": "oci:CloudMigrations/targetAsset:TargetAsset", + "majorVersion": 1, "fields": { - "block_volumes_performance": {}, - "compartment_id": {}, "compatibility_messages": { - "maxItemsOne": false, - "elem": { - "fields": { - "message": {}, - "name": {}, - "severity": {} - } - } + "maxItemsOne": false }, - "created_resource_id": {}, - "display_name": {}, "estimated_cost": { "maxItemsOne": false, "elem": { "fields": { "compute": { - "maxItemsOne": false, - "elem": { - "fields": { - "gpu_count": {}, - "gpu_per_hour": {}, - "gpu_per_hour_by_subscription": {}, - "memory_amount_gb": {}, - "memory_gb_per_hour": {}, - "memory_gb_per_hour_by_subscription": {}, - "ocpu_count": {}, - "ocpu_per_hour": {}, - "ocpu_per_hour_by_subscription": {}, - "total_per_hour": {}, - "total_per_hour_by_subscription": {} - } - } + "maxItemsOne": false }, - "currency_code": {}, "os_image": { - "maxItemsOne": false, - "elem": { - "fields": { - "total_per_hour": {}, - "total_per_hour_by_subscription": {} - } - } + "maxItemsOne": false }, "storage": { "maxItemsOne": false, "elem": { "fields": { - "total_gb_per_month": {}, - "total_gb_per_month_by_subscription": {}, "volumes": { - "maxItemsOne": false, - "elem": { - "fields": { - "capacity_gb": {}, - "description": {}, - "total_gb_per_month": {}, - "total_gb_per_month_by_subscription": {} - } - } + "maxItemsOne": false } } } - }, - "subscription_id": {}, - "total_estimation_per_month": {}, - "total_estimation_per_month_by_subscription": {} + } } } }, - "is_excluded_from_execution": {}, - "lifecycle_details": {}, "migration_asset": { "maxItemsOne": false, "elem": { "fields": { - "availability_domain": {}, - "compartment_id": {}, "depended_on_by": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "depends_on": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "display_name": {}, - "id": {}, - "lifecycle_details": {}, - "migration_id": {}, "notifications": { - "maxItemsOne": false, - "elem": {} - }, - "parent_snapshot": {}, - "replication_compartment_id": {}, - "replication_schedule_id": {}, - "snap_shot_bucket_name": {}, - "snapshots": {}, - "source_asset_data": {}, - "source_asset_id": {}, - "state": {}, - "tenancy_id": {}, - "time_created": {}, - "time_updated": {}, - "type": {} + "maxItemsOne": false + } } } }, - "migration_plan_id": {}, - "ms_license": {}, - "preferred_shape_type": {}, "recommended_spec": { "maxItemsOne": false, "elem": { @@ -5015,105 +2416,44 @@ "maxItemsOne": false, "elem": { "fields": { - "are_all_plugins_disabled": {}, - "is_management_disabled": {}, - "is_monitoring_disabled": {}, "plugins_config": { - "maxItemsOne": false, - "elem": { - "fields": { - "desired_state": {}, - "name": {} - } - } + "maxItemsOne": false } } } }, - "availability_domain": {}, - "capacity_reservation_id": {}, - "compartment_id": {}, "create_vnic_details": { "maxItemsOne": false, "elem": { "fields": { - "assign_private_dns_record": {}, - "assign_public_ip": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "hostname_label": {}, "nsg_ids": { - "maxItemsOne": false, - "elem": {} - }, - "private_ip": {}, - "skip_source_dest_check": {}, - "subnet_id": {}, - "vlan_id": {} + "maxItemsOne": false + } } } }, - "dedicated_vm_host_id": {}, - "defined_tags": {}, - "display_name": {}, - "fault_domain": {}, - "freeform_tags": {}, - "hostname_label": {}, "instance_options": { - "maxItemsOne": false, - "elem": { - "fields": { - "are_legacy_imds_endpoints_disabled": {} - } - } + "maxItemsOne": false }, - "ipxe_script": {}, - "is_pv_encryption_in_transit_enabled": {}, "preemptible_instance_config": { "maxItemsOne": false, "elem": { "fields": { "preemption_action": { - "maxItemsOne": false, - "elem": { - "fields": { - "preserve_boot_volume": {}, - "type": {} - } - } + "maxItemsOne": false } } } }, - "shape": {}, "shape_config": { - "maxItemsOne": false, - "elem": { - "fields": { - "baseline_ocpu_utilization": {}, - "memory_in_gbs": {}, - "ocpus": {} - } - } + "maxItemsOne": false }, "source_details": { - "maxItemsOne": false, - "elem": { - "fields": { - "boot_volume_id": {}, - "boot_volume_size_in_gbs": {}, - "boot_volume_vpus_per_gb": {}, - "image_id": {}, - "kms_key_id": {}, - "source_type": {} - } - } + "maxItemsOne": false } } } }, - "state": {}, "test_spec": { "maxItemsOne": false, "elem": { @@ -5122,108 +2462,44 @@ "maxItemsOne": false, "elem": { "fields": { - "are_all_plugins_disabled": {}, - "is_management_disabled": {}, - "is_monitoring_disabled": {}, "plugins_config": { - "maxItemsOne": false, - "elem": { - "fields": { - "desired_state": {}, - "name": {} - } - } + "maxItemsOne": false } } } }, - "availability_domain": {}, - "capacity_reservation_id": {}, - "compartment_id": {}, "create_vnic_details": { "maxItemsOne": false, "elem": { "fields": { - "assign_private_dns_record": {}, - "assign_public_ip": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "hostname_label": {}, "nsg_ids": { - "maxItemsOne": false, - "elem": {} - }, - "private_ip": {}, - "skip_source_dest_check": {}, - "subnet_id": {}, - "vlan_id": {} + "maxItemsOne": false + } } } }, - "dedicated_vm_host_id": {}, - "defined_tags": {}, - "display_name": {}, - "fault_domain": {}, - "freeform_tags": {}, - "hostname_label": {}, "instance_options": { - "maxItemsOne": false, - "elem": { - "fields": { - "are_legacy_imds_endpoints_disabled": {} - } - } + "maxItemsOne": false }, - "ipxe_script": {}, - "is_pv_encryption_in_transit_enabled": {}, "preemptible_instance_config": { "maxItemsOne": false, "elem": { "fields": { "preemption_action": { - "maxItemsOne": false, - "elem": { - "fields": { - "preserve_boot_volume": {}, - "type": {} - } - } + "maxItemsOne": false } } } }, - "shape": {}, "shape_config": { - "maxItemsOne": false, - "elem": { - "fields": { - "baseline_ocpu_utilization": {}, - "memory_in_gbs": {}, - "ocpus": {} - } - } + "maxItemsOne": false }, "source_details": { - "maxItemsOne": false, - "elem": { - "fields": { - "boot_volume_id": {}, - "boot_volume_size_in_gbs": {}, - "boot_volume_vpus_per_gb": {}, - "image_id": {}, - "kms_key_id": {}, - "source_type": {} - } - } + "maxItemsOne": false } } } }, - "time_assessed": {}, - "time_created": {}, - "time_updated": {}, - "type": {}, "user_spec": { "maxItemsOne": true, "elem": { @@ -5232,298 +2508,177 @@ "maxItemsOne": true, "elem": { "fields": { - "are_all_plugins_disabled": {}, - "is_management_disabled": {}, - "is_monitoring_disabled": {}, "plugins_config": { - "maxItemsOne": false, - "elem": { - "fields": { - "desired_state": {}, - "name": {} - } - } + "maxItemsOne": false } } } }, - "availability_domain": {}, - "capacity_reservation_id": {}, - "compartment_id": {}, "create_vnic_details": { "maxItemsOne": true, "elem": { "fields": { - "assign_private_dns_record": {}, - "assign_public_ip": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "hostname_label": {}, "nsg_ids": { - "maxItemsOne": false, - "elem": {} - }, - "private_ip": {}, - "skip_source_dest_check": {}, - "subnet_id": {}, - "vlan_id": {} + "maxItemsOne": false + } } } }, - "dedicated_vm_host_id": {}, - "defined_tags": {}, - "display_name": {}, - "fault_domain": {}, - "freeform_tags": {}, - "hostname_label": {}, "instance_options": { - "maxItemsOne": true, - "elem": { - "fields": { - "are_legacy_imds_endpoints_disabled": {} - } - } + "maxItemsOne": true }, - "ipxe_script": {}, - "is_pv_encryption_in_transit_enabled": {}, "preemptible_instance_config": { "maxItemsOne": true, "elem": { "fields": { "preemption_action": { - "maxItemsOne": true, - "elem": { - "fields": { - "preserve_boot_volume": {}, - "type": {} - } - } + "maxItemsOne": true } } } }, - "shape": {}, "shape_config": { - "maxItemsOne": true, - "elem": { - "fields": { - "baseline_ocpu_utilization": {}, - "memory_in_gbs": {}, - "ocpus": {} - } - } + "maxItemsOne": true }, "source_details": { - "maxItemsOne": true, + "maxItemsOne": true + } + } + } + } + } + }, + "oci_compute_cloud_at_customer_ccc_infrastructure": { + "current": "oci:ComputeCloud/atCustomerCccInfrastructure:AtCustomerCccInfrastructure", + "majorVersion": 1, + "fields": { + "infrastructure_inventory": { + "maxItemsOne": false + }, + "infrastructure_network_configuration": { + "maxItemsOne": false, + "elem": { + "fields": { + "dns_ips": { + "maxItemsOne": false + }, + "infrastructure_routing_dynamic": { + "maxItemsOne": false, "elem": { "fields": { - "boot_volume_id": {}, - "boot_volume_size_in_gbs": {}, - "boot_volume_vpus_per_gb": {}, - "image_id": {}, - "kms_key_id": {}, - "source_type": {} + "peer_information": { + "maxItemsOne": false + } } } + }, + "infrastructure_routing_static": { + "maxItemsOne": false + }, + "management_nodes": { + "maxItemsOne": false + }, + "spine_ips": { + "maxItemsOne": false } } } + }, + "upgrade_information": { + "maxItemsOne": false + } + } + }, + "oci_compute_cloud_at_customer_ccc_upgrade_schedule": { + "current": "oci:ComputeCloud/atCustomerCccUpgradeSchedule:AtCustomerCccUpgradeSchedule", + "majorVersion": 1, + "fields": { + "events": { + "maxItemsOne": false + }, + "infrastructure_ids": { + "maxItemsOne": false } } }, "oci_container_instances_container_instance": { "current": "oci:ContainerEngine/containerInstance:ContainerInstance", + "majorVersion": 1, "fields": { - "availability_domain": {}, - "compartment_id": {}, - "container_count": {}, - "container_restart_policy": {}, "containers": { "maxItemsOne": false, "elem": { "fields": { - "additional_capabilities": { - "maxItemsOne": false, - "elem": {} - }, "arguments": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "availability_domain": {}, "command": { - "maxItemsOne": false, - "elem": {} - }, - "compartment_id": {}, - "container_id": {}, - "container_instance_id": {}, - "defined_tags": {}, - "display_name": {}, - "environment_variables": {}, - "exit_code": {}, - "fault_domain": {}, - "freeform_tags": {}, + "maxItemsOne": false + }, "health_checks": { "maxItemsOne": false, "elem": { "fields": { "command": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "failure_action": {}, - "failure_threshold": {}, "headers": { - "maxItemsOne": false, - "elem": { - "fields": { - "name": {}, - "value": {} - } - } - }, - "health_check_type": {}, - "initial_delay_in_seconds": {}, - "interval_in_seconds": {}, - "name": {}, - "path": {}, - "port": {}, - "status": {}, - "status_details": {}, - "success_threshold": {}, - "timeout_in_seconds": {} + "maxItemsOne": false + } } } }, - "image_url": {}, - "is_resource_principal_disabled": {}, - "lifecycle_details": {}, "resource_config": { - "maxItemsOne": true, - "elem": { - "fields": { - "memory_limit_in_gbs": {}, - "vcpus_limit": {} - } - } + "maxItemsOne": true }, "security_context": { "maxItemsOne": true }, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_terminated": {}, - "time_updated": {}, "volume_mounts": { - "maxItemsOne": false, - "elem": { - "fields": { - "is_read_only": {}, - "mount_path": {}, - "partition": {}, - "sub_path": {}, - "volume_name": {} - } - } - }, - "working_directory": {} + "maxItemsOne": false + } } } }, - "defined_tags": {}, - "display_name": {}, "dns_config": { "maxItemsOne": true, "elem": { "fields": { "nameservers": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "options": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "searches": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } } }, - "fault_domain": {}, - "freeform_tags": {}, - "graceful_shutdown_timeout_in_seconds": {}, "image_pull_secrets": { - "maxItemsOne": false, - "elem": { - "fields": { - "password": {}, - "registry_endpoint": {}, - "secret_id": {}, - "secret_type": {}, - "username": {} - } - } + "maxItemsOne": false }, - "lifecycle_details": {}, - "shape": {}, "shape_config": { - "maxItemsOne": true, - "elem": { - "fields": { - "memory_in_gbs": {}, - "networking_bandwidth_in_gbps": {}, - "ocpus": {}, - "processor_description": {} - } - } + "maxItemsOne": true }, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {}, "vnics": { "maxItemsOne": false, "elem": { "fields": { - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "hostname_label": {}, - "is_public_ip_assigned": {}, "nsg_ids": { - "maxItemsOne": false, - "elem": {} - }, - "private_ip": {}, - "skip_source_dest_check": {}, - "subnet_id": {}, - "vnic_id": {} + "maxItemsOne": false + } } } }, - "volume_count": {}, "volumes": { "maxItemsOne": false, "elem": { "fields": { - "backing_store": {}, "configs": { - "maxItemsOne": false, - "elem": { - "fields": { - "data": {}, - "file_name": {}, - "path": {} - } - } - }, - "name": {}, - "volume_type": {} + "maxItemsOne": false + } } } } @@ -5531,388 +2686,188 @@ }, "oci_containerengine_addon": { "current": "oci:ContainerEngine/addon:Addon", + "majorVersion": 1, "fields": { "addon_error": { - "maxItemsOne": false, - "elem": { - "fields": { - "code": {}, - "message": {}, - "status": {} - } - } + "maxItemsOne": false }, - "addon_name": {}, - "cluster_id": {}, "configurations": { - "maxItemsOne": false, - "elem": { - "fields": { - "key": {}, - "value": {} - } - } - }, - "current_installed_version": {}, - "remove_addon_resources_on_delete": {}, - "state": {}, - "time_created": {}, - "version": {} + "maxItemsOne": false + } } }, "oci_containerengine_cluster": { "current": "oci:ContainerEngine/cluster:Cluster", + "majorVersion": 1, "fields": { "available_kubernetes_upgrades": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "cluster_pod_network_options": { - "maxItemsOne": false, - "elem": { - "fields": { - "cni_type": {} - } - } + "maxItemsOne": false }, - "compartment_id": {}, - "defined_tags": {}, "endpoint_config": { "maxItemsOne": true, "elem": { "fields": { - "is_public_ip_enabled": {}, "nsg_ids": { - "maxItemsOne": false, - "elem": {} - }, - "subnet_id": {} + "maxItemsOne": false + } } } }, "endpoints": { - "maxItemsOne": false, - "elem": { - "fields": { - "kubernetes": {}, - "private_endpoint": {}, - "public_endpoint": {}, - "vcn_hostname_endpoint": {} - } - } + "maxItemsOne": false }, - "freeform_tags": {}, "image_policy_config": { "maxItemsOne": true, "elem": { "fields": { - "is_policy_enabled": {}, "key_details": { - "maxItemsOne": false, - "elem": { - "fields": { - "kms_key_id": {} - } - } + "maxItemsOne": false } } } }, - "kms_key_id": {}, - "kubernetes_version": {}, - "lifecycle_details": {}, "metadata": { - "maxItemsOne": false, - "elem": { - "fields": { - "created_by_user_id": {}, - "created_by_work_request_id": {}, - "deleted_by_user_id": {}, - "deleted_by_work_request_id": {}, - "time_created": {}, - "time_deleted": {}, - "time_updated": {}, - "updated_by_user_id": {}, - "updated_by_work_request_id": {} - } - } + "maxItemsOne": false }, - "name": {}, "options": { "maxItemsOne": true, "elem": { "fields": { "add_ons": { - "maxItemsOne": true, - "elem": { - "fields": { - "is_kubernetes_dashboard_enabled": {}, - "is_tiller_enabled": {} - } - } + "maxItemsOne": true }, "admission_controller_options": { - "maxItemsOne": true, - "elem": { - "fields": { - "is_pod_security_policy_enabled": {} - } - } + "maxItemsOne": true }, "kubernetes_network_config": { - "maxItemsOne": true, - "elem": { - "fields": { - "pods_cidr": {}, - "services_cidr": {} - } - } + "maxItemsOne": true }, "persistent_volume_config": { - "maxItemsOne": true, - "elem": { - "fields": { - "defined_tags": {}, - "freeform_tags": {} - } - } + "maxItemsOne": true }, "service_lb_config": { - "maxItemsOne": true, - "elem": { - "fields": { - "defined_tags": {}, - "freeform_tags": {} - } - } + "maxItemsOne": true }, "service_lb_subnet_ids": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } } - }, - "state": {}, - "type": {}, - "vcn_id": {} + } } }, "oci_containerengine_cluster_complete_credential_rotation_management": { - "current": "oci:ContainerEngine/clusterCompleteCredentialRotationManagement:ClusterCompleteCredentialRotationManagement" + "current": "oci:ContainerEngine/clusterCompleteCredentialRotationManagement:ClusterCompleteCredentialRotationManagement", + "majorVersion": 1 }, "oci_containerengine_cluster_start_credential_rotation_management": { - "current": "oci:ContainerEngine/clusterStartCredentialRotationManagement:ClusterStartCredentialRotationManagement" + "current": "oci:ContainerEngine/clusterStartCredentialRotationManagement:ClusterStartCredentialRotationManagement", + "majorVersion": 1 }, "oci_containerengine_cluster_workload_mapping": { - "current": "oci:ContainerEngine/clusterWorkloadMapping:ClusterWorkloadMapping" + "current": "oci:ContainerEngine/clusterWorkloadMapping:ClusterWorkloadMapping", + "majorVersion": 1 }, "oci_containerengine_node_pool": { "current": "oci:ContainerEngine/nodePool:NodePool", + "majorVersion": 1, "fields": { - "cluster_id": {}, - "compartment_id": {}, - "defined_tags": {}, - "freeform_tags": {}, "initial_node_labels": { - "maxItemsOne": false, - "elem": { - "fields": { - "key": {}, - "value": {} - } - } + "maxItemsOne": false }, - "kubernetes_version": {}, - "lifecycle_details": {}, - "name": {}, "node_config_details": { "maxItemsOne": true, "elem": { "fields": { - "defined_tags": {}, - "freeform_tags": {}, - "is_pv_encryption_in_transit_enabled": {}, - "kms_key_id": {}, "node_pool_pod_network_option_details": { "maxItemsOne": true, "elem": { "fields": { - "cni_type": {}, - "max_pods_per_node": {}, "pod_nsg_ids": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "pod_subnet_ids": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } } }, "nsg_ids": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "placement_configs": { "maxItemsOne": false, "elem": { "fields": { - "availability_domain": {}, - "capacity_reservation_id": {}, "fault_domains": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "preemptible_node_config": { "maxItemsOne": true, "elem": { "fields": { "preemption_action": { - "maxItemsOne": true, - "elem": { - "fields": { - "is_preserve_boot_volume": {}, - "type": {} - } - } + "maxItemsOne": true } } } - }, - "subnet_id": {} + } } } - }, - "size": {} + } } } }, "node_eviction_node_pool_settings": { - "maxItemsOne": true, - "elem": { - "fields": { - "eviction_grace_duration": {}, - "is_force_delete_after_grace_duration": {} - } - } + "maxItemsOne": true }, - "node_image_id": {}, - "node_image_name": {}, - "node_metadata": {}, "node_pool_cycling_details": { - "maxItemsOne": true, - "elem": { - "fields": { - "is_node_cycling_enabled": {}, - "maximum_surge": {}, - "maximum_unavailable": {} - } - } + "maxItemsOne": true }, - "node_shape": {}, "node_shape_config": { - "maxItemsOne": true, - "elem": { - "fields": { - "memory_in_gbs": {}, - "ocpus": {} - } - } + "maxItemsOne": true }, "node_source": { - "maxItemsOne": false, - "elem": { - "fields": { - "image_id": {}, - "source_name": {}, - "source_type": {} - } - } + "maxItemsOne": false }, "node_source_details": { - "maxItemsOne": true, - "elem": { - "fields": { - "boot_volume_size_in_gbs": {}, - "image_id": {}, - "source_type": {} - } - } + "maxItemsOne": true }, "nodes": { "maxItemsOne": false, "elem": { "fields": { - "availability_domain": {}, - "defined_tags": {}, "error": { - "maxItemsOne": false, - "elem": { - "fields": { - "code": {}, - "message": {}, - "status": {} - } - } - }, - "fault_domain": {}, - "freeform_tags": {}, - "id": {}, - "kubernetes_version": {}, - "lifecycle_details": {}, - "name": {}, - "node_pool_id": {}, - "private_ip": {}, - "public_ip": {}, - "state": {}, - "subnet_id": {} + "maxItemsOne": false + } } } }, - "quantity_per_subnet": {}, - "ssh_public_key": {}, - "state": {}, "subnet_ids": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } }, "oci_containerengine_virtual_node_pool": { "current": "oci:ContainerEngine/virtualNodePool:VirtualNodePool", + "majorVersion": 1, "fields": { - "cluster_id": {}, - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, "initial_virtual_node_labels": { - "maxItemsOne": false, - "elem": { - "fields": { - "key": {}, - "value": {} - } - } + "maxItemsOne": false }, - "kubernetes_version": {}, - "lifecycle_details": {}, "nsg_ids": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "placement_configurations": { "maxItemsOne": false, "elem": { "fields": { - "availability_domain": {}, "fault_domain": { - "maxItemsOne": false, - "elem": {} - }, - "subnet_id": {} + "maxItemsOne": false + } } } }, @@ -5921,226 +2876,84 @@ "elem": { "fields": { "nsg_ids": { - "maxItemsOne": false, - "elem": {} - }, - "shape": {}, - "subnet_id": {} + "maxItemsOne": false + } } } }, - "size": {}, - "state": {}, - "system_tags": {}, "taints": { - "maxItemsOne": false, - "elem": { - "fields": { - "effect": {}, - "key": {}, - "value": {} - } - } + "maxItemsOne": false }, - "time_created": {}, - "time_updated": {}, "virtual_node_tags": { - "maxItemsOne": true, - "elem": { - "fields": { - "defined_tags": {}, - "freeform_tags": {} - } - } + "maxItemsOne": true } } }, "oci_core_app_catalog_listing_resource_version_agreement": { "current": "oci:Core/appCatalogListingResourceVersionAgreement:AppCatalogListingResourceVersionAgreement", - "fields": { - "eula_link": {}, - "listing_id": {}, - "listing_resource_version": {}, - "oracle_terms_of_use_link": {}, - "signature": {}, - "time_retrieved": {} - } + "majorVersion": 1 }, "oci_core_app_catalog_subscription": { "current": "oci:Core/appCatalogSubscription:AppCatalogSubscription", - "fields": { - "compartment_id": {}, - "display_name": {}, - "eula_link": {}, - "listing_id": {}, - "listing_resource_id": {}, - "listing_resource_version": {}, - "oracle_terms_of_use_link": {}, - "publisher_name": {}, - "signature": {}, - "summary": {}, - "time_created": {}, - "time_retrieved": {} - } + "majorVersion": 1 }, "oci_core_boot_volume": { "current": "oci:Core/bootVolume:BootVolume", + "majorVersion": 1, "fields": { - "auto_tuned_vpus_per_gb": {}, "autotune_policies": { - "maxItemsOne": false, - "elem": { - "fields": { - "autotune_type": {}, - "max_vpus_per_gb": {} - } - } + "maxItemsOne": false }, - "availability_domain": {}, - "backup_policy_id": {}, "boot_volume_replicas": { - "maxItemsOne": false, - "elem": { - "fields": { - "availability_domain": {}, - "boot_volume_replica_id": {}, - "display_name": {} - } - } + "maxItemsOne": false }, - "boot_volume_replicas_deletion": {}, - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "image_id": {}, - "is_auto_tune_enabled": {}, - "is_hydrated": {}, - "kms_key_id": {}, - "size_in_gbs": {}, - "size_in_mbs": {}, "source_details": { - "maxItemsOne": true, - "elem": { - "fields": { - "id": {}, - "type": {} - } - } - }, - "state": {}, - "system_tags": {}, - "time_created": {}, - "volume_group_id": {}, - "vpus_per_gb": {} + "maxItemsOne": true + } } }, "oci_core_boot_volume_backup": { "current": "oci:Core/bootVolumeBackup:BootVolumeBackup", + "majorVersion": 1, "fields": { - "boot_volume_id": {}, - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "expiration_time": {}, - "freeform_tags": {}, - "image_id": {}, - "kms_key_id": {}, - "size_in_gbs": {}, - "source_boot_volume_backup_id": {}, "source_details": { - "maxItemsOne": true, - "elem": { - "fields": { - "boot_volume_backup_id": {}, - "kms_key_id": {}, - "region": {} - } - } - }, - "source_type": {}, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_request_received": {}, - "type": {}, - "unique_size_in_gbs": {} + "maxItemsOne": true + } } }, "oci_core_capture_filter": { "current": "oci:Core/captureFilter:CaptureFilter", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "filter_type": {}, - "freeform_tags": {}, - "state": {}, - "time_created": {}, "vtap_capture_filter_rules": { "maxItemsOne": false, "elem": { "fields": { - "destination_cidr": {}, "icmp_options": { - "maxItemsOne": true, - "elem": { - "fields": { - "code": {}, - "type": {} - } - } + "maxItemsOne": true }, - "protocol": {}, - "rule_action": {}, - "source_cidr": {}, "tcp_options": { "maxItemsOne": true, "elem": { "fields": { "destination_port_range": { - "maxItemsOne": true, - "elem": { - "fields": { - "max": {}, - "min": {} - } - } + "maxItemsOne": true }, "source_port_range": { - "maxItemsOne": true, - "elem": { - "fields": { - "max": {}, - "min": {} - } - } + "maxItemsOne": true } } } }, - "traffic_direction": {}, "udp_options": { "maxItemsOne": true, "elem": { "fields": { "destination_port_range": { - "maxItemsOne": true, - "elem": { - "fields": { - "max": {}, - "min": {} - } - } + "maxItemsOne": true }, "source_port_range": { - "maxItemsOne": true, - "elem": { - "fields": { - "max": {}, - "min": {} - } - } + "maxItemsOne": true } } } @@ -6152,6 +2965,7 @@ }, "oci_core_cluster_network": { "current": "oci:Core/clusterNetwork:ClusterNetwork", + "majorVersion": 1, "fields": { "cluster_configuration": { "maxItemsOne": true, @@ -6163,45 +2977,20 @@ } } }, - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "hpc_island_id": {}, "instance_pools": { "maxItemsOne": false, "elem": { "fields": { - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "id": {}, - "instance_configuration_id": {}, "load_balancers": { - "maxItemsOne": false, - "elem": { - "fields": { - "backend_set_name": {}, - "id": {}, - "instance_pool_id": {}, - "load_balancer_id": {}, - "port": {}, - "state": {}, - "vnic_selection": {} - } - } + "maxItemsOne": false }, "placement_configurations": { "maxItemsOne": false, "elem": { "fields": { - "availability_domain": {}, "fault_domains": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "primary_subnet_id": {}, "primary_vnic_subnets": { "maxItemsOne": false, "elem": { @@ -6216,33 +3005,25 @@ "maxItemsOne": false, "elem": { "fields": { - "display_name": {}, "ipv6address_ipv6subnet_cidr_pair_details": { "maxItemsOne": false - }, - "subnet_id": {} + } } } } } } - }, - "size": {}, - "state": {}, - "time_created": {} + } } } }, "network_block_ids": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "placement_configuration": { "maxItemsOne": true, "elem": { "fields": { - "availability_domain": {}, - "primary_subnet_id": {}, "primary_vnic_subnets": { "maxItemsOne": true, "elem": { @@ -6257,24 +3038,20 @@ "maxItemsOne": false, "elem": { "fields": { - "display_name": {}, "ipv6address_ipv6subnet_cidr_pair_details": { "maxItemsOne": false - }, - "subnet_id": {} + } } } } } } - }, - "state": {}, - "time_created": {}, - "time_updated": {} + } } }, "oci_core_compute_capacity_report": { "current": "oci:Core/computeCapacityReport:ComputeCapacityReport", + "majorVersion": 1, "fields": { "shape_availabilities": { "maxItemsOne": false, @@ -6290,12 +3067,8 @@ }, "oci_core_compute_capacity_reservation": { "current": "oci:Core/computeCapacityReservation:ComputeCapacityReservation", + "majorVersion": 1, "fields": { - "availability_domain": {}, - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, "instance_reservation_configs": { "maxItemsOne": false, "elem": { @@ -6304,275 +3077,117 @@ "maxItemsOne": true, "elem": { "fields": { - "hpc_island_id": {}, "network_block_ids": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } } }, - "fault_domain": {}, - "instance_shape": {}, "instance_shape_config": { - "maxItemsOne": true, - "elem": { - "fields": { - "memory_in_gbs": {}, - "ocpus": {} - } - } - }, - "reserved_count": {}, - "used_count": {} + "maxItemsOne": true + } } } - }, - "is_default_reservation": {}, - "reserved_instance_count": {}, - "state": {}, - "time_created": {}, - "time_updated": {}, - "used_instance_count": {} + } } }, "oci_core_compute_cluster": { "current": "oci:Core/computeCluster:ComputeCluster", - "fields": { - "availability_domain": {}, - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "state": {}, - "time_created": {} - } + "majorVersion": 1 }, "oci_core_compute_image_capability_schema": { "current": "oci:Core/computeImageCapabilitySchema:ComputeImageCapabilitySchema", - "fields": { - "compartment_id": {}, - "compute_global_image_capability_schema_id": {}, - "compute_global_image_capability_schema_version_name": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "image_id": {}, - "schema_data": {}, - "time_created": {} - } + "majorVersion": 1 }, "oci_core_console_history": { "current": "oci:Core/consoleHistory:ConsoleHistory", - "fields": { - "availability_domain": {}, - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "instance_id": {}, - "state": {}, - "time_created": {} - } + "majorVersion": 1 }, "oci_core_cpe": { "current": "oci:Core/cpe:Cpe", - "fields": { - "compartment_id": {}, - "cpe_device_shape_id": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "ip_address": {}, - "time_created": {} - } + "majorVersion": 1 }, "oci_core_cross_connect": { "current": "oci:Core/crossConnect:CrossConnect", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "cross_connect_group_id": {}, - "customer_reference_name": {}, - "defined_tags": {}, - "display_name": {}, - "far_cross_connect_or_cross_connect_group_id": {}, - "freeform_tags": {}, - "is_active": {}, - "location_name": {}, "macsec_properties": { "maxItemsOne": true, "elem": { "fields": { - "encryption_cipher": {}, "primary_key": { - "maxItemsOne": true, - "elem": { - "fields": { - "connectivity_association_key_secret_id": {}, - "connectivity_association_key_secret_version": {}, - "connectivity_association_name_secret_id": {}, - "connectivity_association_name_secret_version": {} - } - } - }, - "state": {} + "maxItemsOne": true + } } } - }, - "near_cross_connect_or_cross_connect_group_id": {}, - "oci_logical_device_name": {}, - "oci_physical_device_name": {}, - "port_name": {}, - "port_speed_shape_name": {}, - "state": {}, - "time_created": {} + } } }, "oci_core_cross_connect_group": { "current": "oci:Core/crossConnectGroup:CrossConnectGroup", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "customer_reference_name": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, "macsec_properties": { "maxItemsOne": true, "elem": { "fields": { - "encryption_cipher": {}, "primary_key": { - "maxItemsOne": true, - "elem": { - "fields": { - "connectivity_association_key_secret_id": {}, - "connectivity_association_key_secret_version": {}, - "connectivity_association_name_secret_id": {}, - "connectivity_association_name_secret_version": {} - } - } - }, - "state": {} + "maxItemsOne": true + } } } - }, - "oci_logical_device_name": {}, - "oci_physical_device_name": {}, - "state": {}, - "time_created": {} + } } }, "oci_core_dedicated_vm_host": { "current": "oci:Core/dedicatedVmHost:DedicatedVmHost", - "fields": { - "availability_domain": {}, - "compartment_id": {}, - "dedicated_vm_host_shape": {}, - "defined_tags": {}, - "display_name": {}, - "fault_domain": {}, - "freeform_tags": {}, - "remaining_memory_in_gbs": {}, - "remaining_ocpus": {}, - "state": {}, - "time_created": {}, - "total_memory_in_gbs": {}, - "total_ocpus": {} - } + "majorVersion": 1 }, "oci_core_default_dhcp_options": { "current": "oci:Core/defaultDhcpOptions:DefaultDhcpOptions", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "domain_name_type": {}, - "freeform_tags": {}, - "manage_default_resource_id": {}, "options": { "maxItemsOne": false, "elem": { "fields": { "custom_dns_servers": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "search_domain_names": { - "maxItemsOne": false, - "elem": {} - }, - "server_type": {}, - "type": {} + "maxItemsOne": false + } } } - }, - "state": {}, - "time_created": {} + } } }, "oci_core_default_route_table": { "current": "oci:Core/defaultRouteTable:DefaultRouteTable", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "manage_default_resource_id": {}, "route_rules": { - "maxItemsOne": false, - "elem": { - "fields": { - "cidr_block": {}, - "description": {}, - "destination": {}, - "destination_type": {}, - "network_entity_id": {}, - "route_type": {} - } - } - }, - "state": {}, - "time_created": {} + "maxItemsOne": false + } } }, "oci_core_default_security_list": { "current": "oci:Core/defaultSecurityList:DefaultSecurityList", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, "egress_security_rules": { "maxItemsOne": false, "elem": { "fields": { - "description": {}, - "destination": {}, - "destination_type": {}, "icmp_options": { - "maxItemsOne": true, - "elem": { - "fields": { - "code": {}, - "type": {} - } - } + "maxItemsOne": true }, - "protocol": {}, - "stateless": {}, "tcp_options": { "maxItemsOne": true, "elem": { "fields": { - "max": {}, - "min": {}, "source_port_range": { - "maxItemsOne": true, - "elem": { - "fields": { - "max": {}, - "min": {} - } - } + "maxItemsOne": true } } } @@ -6581,16 +3196,8 @@ "maxItemsOne": true, "elem": { "fields": { - "max": {}, - "min": {}, "source_port_range": { - "maxItemsOne": true, - "elem": { - "fields": { - "max": {}, - "min": {} - } - } + "maxItemsOne": true } } } @@ -6598,39 +3205,19 @@ } } }, - "freeform_tags": {}, "ingress_security_rules": { "maxItemsOne": false, "elem": { "fields": { - "description": {}, "icmp_options": { - "maxItemsOne": true, - "elem": { - "fields": { - "code": {}, - "type": {} - } - } + "maxItemsOne": true }, - "protocol": {}, - "source": {}, - "source_type": {}, - "stateless": {}, "tcp_options": { "maxItemsOne": true, "elem": { "fields": { - "max": {}, - "min": {}, "source_port_range": { - "maxItemsOne": true, - "elem": { - "fields": { - "max": {}, - "min": {} - } - } + "maxItemsOne": true } } } @@ -6639,466 +3226,186 @@ "maxItemsOne": true, "elem": { "fields": { - "max": {}, - "min": {}, "source_port_range": { - "maxItemsOne": true, - "elem": { - "fields": { - "max": {}, - "min": {} - } - } + "maxItemsOne": true } } } } } } - }, - "manage_default_resource_id": {}, - "state": {}, - "time_created": {} + } } }, "oci_core_dhcp_options": { "current": "oci:Core/dhcpOptions:DhcpOptions", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "domain_name_type": {}, - "freeform_tags": {}, "options": { "maxItemsOne": false, "elem": { "fields": { "custom_dns_servers": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "search_domain_names": { - "maxItemsOne": false, - "elem": {} - }, - "server_type": {}, - "type": {} + "maxItemsOne": false + } } } - }, - "state": {}, - "time_created": {}, - "vcn_id": {} + } } }, "oci_core_drg": { "current": "oci:Core/drg:Drg", + "majorVersion": 1, "fields": { - "compartment_id": {}, "default_drg_route_tables": { - "maxItemsOne": false, - "elem": { - "fields": { - "ipsec_tunnel": {}, - "remote_peering_connection": {}, - "vcn": {}, - "virtual_circuit": {} - } - } - }, - "default_export_drg_route_distribution_id": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "redundancy_status": {}, - "state": {}, - "time_created": {} + "maxItemsOne": false + } } }, "oci_core_drg_attachment": { "current": "oci:Core/drgAttachment:DrgAttachment", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "drg_id": {}, - "drg_route_table_id": {}, - "export_drg_route_distribution_id": {}, - "freeform_tags": {}, - "is_cross_tenancy": {}, "network_details": { "maxItemsOne": true, "elem": { "fields": { - "id": {}, "ids": { "maxItemsOne": false - }, - "ipsec_connection_id": {}, - "route_table_id": {}, - "type": {}, - "vcn_route_type": {} + } } } - }, - "remove_export_drg_route_distribution_trigger": {}, - "route_table_id": {}, - "state": {}, - "time_created": {}, - "vcn_id": {} + } } }, "oci_core_drg_attachment_management": { "current": "oci:Core/drgAttachmentManagement:DrgAttachmentManagement", + "majorVersion": 1, "fields": { - "attachment_type": {}, - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "drg_id": {}, - "drg_route_table_id": {}, - "export_drg_route_distribution_id": {}, - "freeform_tags": {}, - "is_cross_tenancy": {}, "network_details": { - "maxItemsOne": true, - "elem": { - "fields": { - "id": {}, - "ipsec_connection_id": {}, - "route_table_id": {}, - "type": {} - } - } - }, - "network_id": {}, - "remove_export_drg_route_distribution_trigger": {}, - "route_table_id": {}, - "state": {}, - "time_created": {}, - "vcn_id": {} + "maxItemsOne": true + } } }, "oci_core_drg_attachments_list": { "current": "oci:Core/drgAttachmentsList:DrgAttachmentsList", + "majorVersion": 1, "fields": { - "attachment_type": {}, "drg_all_attachments": { - "maxItemsOne": false, - "elem": { - "fields": { - "id": {} - } - } - }, - "drg_id": {}, - "is_cross_tenancy": {} + "maxItemsOne": false + } } }, "oci_core_drg_route_distribution": { "current": "oci:Core/drgRouteDistribution:DrgRouteDistribution", - "fields": { - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "distribution_type": {}, - "drg_id": {}, - "freeform_tags": {}, - "state": {}, - "time_created": {} - } + "majorVersion": 1 }, "oci_core_drg_route_distribution_statement": { "current": "oci:Core/drgRouteDistributionStatement:DrgRouteDistributionStatement", + "majorVersion": 1, "fields": { - "action": {}, - "drg_route_distribution_id": {}, "match_criteria": { - "maxItemsOne": true, - "elem": { - "fields": { - "attachment_type": {}, - "drg_attachment_id": {}, - "match_type": {} - } - } - }, - "priority": {} + "maxItemsOne": true + } } }, "oci_core_drg_route_table": { "current": "oci:Core/drgRouteTable:DrgRouteTable", - "fields": { - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "drg_id": {}, - "freeform_tags": {}, - "import_drg_route_distribution_id": {}, - "is_ecmp_enabled": {}, - "remove_import_trigger": {}, - "state": {}, - "time_created": {} - } + "majorVersion": 1 }, "oci_core_drg_route_table_route_rule": { "current": "oci:Core/drgRouteTableRouteRule:DrgRouteTableRouteRule", - "fields": { - "attributes": {}, - "destination": {}, - "destination_type": {}, - "drg_route_table_id": {}, - "is_blackhole": {}, - "is_conflict": {}, - "next_hop_drg_attachment_id": {}, - "route_provenance": {}, - "route_type": {} - } + "majorVersion": 1 }, "oci_core_image": { "current": "oci:Core/image:Image", + "majorVersion": 1, "fields": { "agent_features": { - "maxItemsOne": false, - "elem": { - "fields": { - "is_management_supported": {}, - "is_monitoring_supported": {} - } - } + "maxItemsOne": false }, - "base_image_id": {}, - "billable_size_in_gbs": {}, - "compartment_id": {}, - "create_image_allowed": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, "image_source_details": { - "maxItemsOne": true, - "elem": { - "fields": { - "bucket_name": {}, - "namespace_name": {}, - "object_name": {}, - "operating_system": {}, - "operating_system_version": {}, - "source_image_type": {}, - "source_type": {}, - "source_uri": {} - } - } + "maxItemsOne": true }, - "instance_id": {}, - "launch_mode": {}, "launch_options": { - "maxItemsOne": false, - "elem": { - "fields": { - "boot_volume_type": {}, - "firmware": {}, - "is_consistent_volume_naming_enabled": {}, - "is_pv_encryption_in_transit_enabled": {}, - "network_type": {}, - "remote_data_volume_type": {} - } - } - }, - "listing_type": {}, - "operating_system": {}, - "operating_system_version": {}, - "size_in_mbs": {}, - "state": {}, - "time_created": {} + "maxItemsOne": false + } } }, "oci_core_instance": { "current": "oci:Core/instance:Instance", + "majorVersion": 1, "fields": { "agent_config": { "maxItemsOne": true, "elem": { "fields": { - "are_all_plugins_disabled": {}, - "is_management_disabled": {}, - "is_monitoring_disabled": {}, "plugins_config": { - "maxItemsOne": false, - "elem": { - "fields": { - "desired_state": {}, - "name": {} - } - } + "maxItemsOne": false } } } }, - "async": {}, "availability_config": { - "maxItemsOne": true, - "elem": { - "fields": { - "is_live_migration_preferred": {}, - "recovery_action": {} - } - } + "maxItemsOne": true }, - "availability_domain": {}, - "boot_volume_id": {}, - "capacity_reservation_id": {}, - "compartment_id": {}, - "compute_cluster_id": {}, "create_vnic_details": { "maxItemsOne": true, "elem": { "fields": { - "assign_private_dns_record": {}, - "assign_public_ip": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "hostname_label": {}, "ipv6address_ipv6subnet_cidr_pair_details": { "maxItemsOne": false }, "nsg_ids": { - "maxItemsOne": false, - "elem": {} - }, - "private_ip": {}, - "skip_source_dest_check": {}, - "subnet_id": {}, - "vlan_id": {} + "maxItemsOne": false + } } } }, - "dedicated_vm_host_id": {}, - "defined_tags": {}, - "display_name": {}, - "extended_metadata": {}, - "fault_domain": {}, - "freeform_tags": {}, - "hostname_label": {}, - "image": {}, "instance_options": { - "maxItemsOne": true, - "elem": { - "fields": { - "are_legacy_imds_endpoints_disabled": {} - } - } + "maxItemsOne": true }, - "ipxe_script": {}, - "is_cross_numa_node": {}, - "is_pv_encryption_in_transit_enabled": {}, - "launch_mode": {}, "launch_options": { - "maxItemsOne": true, - "elem": { - "fields": { - "boot_volume_type": {}, - "firmware": {}, - "is_consistent_volume_naming_enabled": {}, - "is_pv_encryption_in_transit_enabled": {}, - "network_type": {}, - "remote_data_volume_type": {} - } - } + "maxItemsOne": true }, - "metadata": {}, "platform_config": { - "maxItemsOne": true, - "elem": { - "fields": { - "are_virtual_instructions_enabled": {}, - "is_access_control_service_enabled": {}, - "is_input_output_memory_management_unit_enabled": {}, - "is_measured_boot_enabled": {}, - "is_memory_encryption_enabled": {}, - "is_secure_boot_enabled": {}, - "is_symmetric_multi_threading_enabled": {}, - "is_trusted_platform_module_enabled": {}, - "numa_nodes_per_socket": {}, - "percentage_of_cores_enabled": {}, - "type": {} - } - } + "maxItemsOne": true }, "preemptible_instance_config": { "maxItemsOne": true, "elem": { "fields": { "preemption_action": { - "maxItemsOne": true, - "elem": { - "fields": { - "preserve_boot_volume": {}, - "type": {} - } - } + "maxItemsOne": true } } } }, - "preserve_boot_volume": {}, - "private_ip": {}, - "public_ip": {}, - "region": {}, - "shape": {}, "shape_config": { - "maxItemsOne": true, - "elem": { - "fields": { - "baseline_ocpu_utilization": {}, - "gpu_description": {}, - "gpus": {}, - "local_disk_description": {}, - "local_disks": {}, - "local_disks_total_size_in_gbs": {}, - "max_vnic_attachments": {}, - "memory_in_gbs": {}, - "networking_bandwidth_in_gbps": {}, - "nvmes": {}, - "ocpus": {}, - "processor_description": {} - } - } + "maxItemsOne": true }, "source_details": { "maxItemsOne": true, "elem": { "fields": { - "boot_volume_size_in_gbs": {}, - "boot_volume_vpus_per_gb": {}, "instance_source_image_filter_details": { "maxItemsOne": true - }, - "kms_key_id": {}, - "source_id": {}, - "source_type": {} + } } } - }, - "state": {}, - "subnet_id": {}, - "system_tags": {}, - "time_created": {}, - "time_maintenance_reboot_due": {}, - "update_operation_constraint": {} + } } }, "oci_core_instance_configuration": { "current": "oci:Core/instanceConfiguration:InstanceConfiguration", + "majorVersion": 1, "fields": { - "compartment_id": {}, "deferred_fields": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, "instance_details": { "maxItemsOne": true, "elem": { @@ -7108,61 +3415,27 @@ "elem": { "fields": { "attach_details": { - "maxItemsOne": true, - "elem": { - "fields": { - "device": {}, - "display_name": {}, - "is_pv_encryption_in_transit_enabled": {}, - "is_read_only": {}, - "is_shareable": {}, - "type": {}, - "use_chap": {} - } - } + "maxItemsOne": true }, "create_details": { "maxItemsOne": true, "elem": { "fields": { "autotune_policies": { - "maxItemsOne": false, - "elem": { - "fields": { - "autotune_type": {}, - "max_vpus_per_gb": {} - } - } + "maxItemsOne": false }, - "availability_domain": {}, - "backup_policy_id": {}, "block_volume_replicas": { "maxItemsOne": true }, - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "kms_key_id": {}, - "size_in_gbs": {}, "source_details": { - "maxItemsOne": true, - "elem": { - "fields": { - "id": {}, - "type": {} - } - } - }, - "vpus_per_gb": {} + "maxItemsOne": true + } } } - }, - "volume_id": {} + } } } }, - "instance_type": {}, "launch_details": { "maxItemsOne": true, "elem": { @@ -7171,145 +3444,57 @@ "maxItemsOne": true, "elem": { "fields": { - "are_all_plugins_disabled": {}, - "is_management_disabled": {}, - "is_monitoring_disabled": {}, "plugins_config": { - "maxItemsOne": false, - "elem": { - "fields": { - "desired_state": {}, - "name": {} - } - } + "maxItemsOne": false } } } }, "availability_config": { - "maxItemsOne": true, - "elem": { - "fields": { - "recovery_action": {} - } - } + "maxItemsOne": true }, - "availability_domain": {}, - "capacity_reservation_id": {}, - "compartment_id": {}, "create_vnic_details": { "maxItemsOne": true, "elem": { "fields": { - "assign_private_dns_record": {}, - "assign_public_ip": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "hostname_label": {}, "ipv6address_ipv6subnet_cidr_pair_details": { "maxItemsOne": false }, "nsg_ids": { - "maxItemsOne": false, - "elem": {} - }, - "private_ip": {}, - "skip_source_dest_check": {}, - "subnet_id": {} + "maxItemsOne": false + } } } }, - "dedicated_vm_host_id": {}, - "defined_tags": {}, - "display_name": {}, - "extended_metadata": {}, - "fault_domain": {}, - "freeform_tags": {}, "instance_options": { - "maxItemsOne": true, - "elem": { - "fields": { - "are_legacy_imds_endpoints_disabled": {} - } - } + "maxItemsOne": true }, - "ipxe_script": {}, - "is_pv_encryption_in_transit_enabled": {}, - "launch_mode": {}, "launch_options": { - "maxItemsOne": true, - "elem": { - "fields": { - "boot_volume_type": {}, - "firmware": {}, - "is_consistent_volume_naming_enabled": {}, - "is_pv_encryption_in_transit_enabled": {}, - "network_type": {}, - "remote_data_volume_type": {} - } - } + "maxItemsOne": true }, - "metadata": {}, "platform_config": { - "maxItemsOne": true, - "elem": { - "fields": { - "are_virtual_instructions_enabled": {}, - "is_access_control_service_enabled": {}, - "is_input_output_memory_management_unit_enabled": {}, - "is_measured_boot_enabled": {}, - "is_memory_encryption_enabled": {}, - "is_secure_boot_enabled": {}, - "is_symmetric_multi_threading_enabled": {}, - "is_trusted_platform_module_enabled": {}, - "numa_nodes_per_socket": {}, - "percentage_of_cores_enabled": {}, - "type": {} - } - } + "maxItemsOne": true }, "preemptible_instance_config": { "maxItemsOne": true, "elem": { "fields": { "preemption_action": { - "maxItemsOne": true, - "elem": { - "fields": { - "preserve_boot_volume": {}, - "type": {} - } - } + "maxItemsOne": true } } } }, - "preferred_maintenance_action": {}, - "shape": {}, "shape_config": { - "maxItemsOne": true, - "elem": { - "fields": { - "baseline_ocpu_utilization": {}, - "memory_in_gbs": {}, - "nvmes": {}, - "ocpus": {} - } - } + "maxItemsOne": true }, "source_details": { "maxItemsOne": true, "elem": { "fields": { - "boot_volume_id": {}, - "boot_volume_size_in_gbs": {}, - "boot_volume_vpus_per_gb": {}, - "image_id": {}, "instance_source_image_filter_details": { "maxItemsOne": true - }, - "source_type": {} + } } } } @@ -7442,86 +3627,41 @@ "maxItemsOne": true, "elem": { "fields": { - "assign_private_dns_record": {}, - "assign_public_ip": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "hostname_label": {}, "ipv6address_ipv6subnet_cidr_pair_details": { "maxItemsOne": false }, "nsg_ids": { - "maxItemsOne": false, - "elem": {} - }, - "private_ip": {}, - "skip_source_dest_check": {}, - "subnet_id": {} + "maxItemsOne": false + } } } - }, - "display_name": {}, - "nic_index": {} + } } } } } } - }, - "instance_id": {}, - "source": {}, - "time_created": {} + } } }, "oci_core_instance_console_connection": { "current": "oci:Core/instanceConsoleConnection:InstanceConsoleConnection", - "fields": { - "compartment_id": {}, - "connection_string": {}, - "defined_tags": {}, - "fingerprint": {}, - "freeform_tags": {}, - "instance_id": {}, - "public_key": {}, - "service_host_key_fingerprint": {}, - "state": {}, - "vnc_connection_string": {} - } + "majorVersion": 1 }, "oci_core_instance_pool": { "current": "oci:Core/instancePool:InstancePool", + "majorVersion": 1, "fields": { - "actual_size": {}, - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "instance_configuration_id": {}, "load_balancers": { - "maxItemsOne": false, - "elem": { - "fields": { - "backend_set_name": {}, - "id": {}, - "instance_pool_id": {}, - "load_balancer_id": {}, - "port": {}, - "state": {}, - "vnic_selection": {} - } - } + "maxItemsOne": false }, "placement_configurations": { "maxItemsOne": false, "elem": { "fields": { - "availability_domain": {}, "fault_domains": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "primary_subnet_id": {}, "primary_vnic_subnets": { "maxItemsOne": true, "elem": { @@ -7536,329 +3676,127 @@ "maxItemsOne": false, "elem": { "fields": { - "display_name": {}, "ipv6address_ipv6subnet_cidr_pair_details": { "maxItemsOne": false - }, - "subnet_id": {} + } } } } } } - }, - "size": {}, - "state": {}, - "time_created": {} + } } }, "oci_core_instance_pool_instance": { "current": "oci:Core/instancePoolInstance:InstancePoolInstance", + "majorVersion": 1, "fields": { - "auto_terminate_instance_on_delete": {}, - "availability_domain": {}, - "compartment_id": {}, - "decrement_size_on_delete": {}, - "display_name": {}, - "fault_domain": {}, - "instance_configuration_id": {}, - "instance_id": {}, - "instance_pool_id": {}, "load_balancer_backends": { - "maxItemsOne": false, - "elem": { - "fields": { - "backend_health_status": {}, - "backend_name": {}, - "backend_set_name": {}, - "load_balancer_id": {}, - "state": {} - } - } - }, - "region": {}, - "shape": {}, - "state": {}, - "time_created": {} + "maxItemsOne": false + } } }, "oci_core_internet_gateway": { "current": "oci:Core/internetGateway:InternetGateway", - "fields": { - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "enabled": {}, - "freeform_tags": {}, - "route_table_id": {}, - "state": {}, - "time_created": {}, - "vcn_id": {} - } + "majorVersion": 1 }, "oci_core_ipsec": { "current": "oci:Core/ipsec:Ipsec", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "cpe_id": {}, - "cpe_local_identifier": {}, - "cpe_local_identifier_type": {}, - "defined_tags": {}, - "display_name": {}, - "drg_id": {}, - "freeform_tags": {}, - "state": {}, "static_routes": { - "maxItemsOne": false, - "elem": {} - }, - "time_created": {} + "maxItemsOne": false + } } }, "oci_core_ipsec_connection_tunnel_management": { "current": "oci:Core/ipsecConnectionTunnelManagement:IpsecConnectionTunnelManagement", + "majorVersion": 1, "fields": { "associated_virtual_circuits": { "maxItemsOne": false }, "bgp_session_info": { - "maxItemsOne": false, - "elem": { - "fields": { - "bgp_ipv6state": {}, - "bgp_state": {}, - "customer_bgp_asn": {}, - "customer_interface_ip": {}, - "oracle_bgp_asn": {}, - "oracle_interface_ip": {} - } - } + "maxItemsOne": false }, - "compartment_id": {}, - "cpe_ip": {}, - "display_name": {}, "dpd_config": { - "maxItemsOne": false, - "elem": { - "fields": { - "dpd_mode": {}, - "dpd_timeout_in_sec": {} - } - } + "maxItemsOne": false }, - "dpd_mode": {}, - "dpd_timeout_in_sec": {}, "encryption_domain_config": { "maxItemsOne": true, "elem": { "fields": { "cpe_traffic_selector": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "oracle_traffic_selector": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } } }, - "ike_version": {}, - "ipsec_id": {}, - "nat_translation_enabled": {}, - "oracle_can_initiate": {}, "phase_one_details": { - "maxItemsOne": false, - "elem": { - "fields": { - "custom_authentication_algorithm": {}, - "custom_dh_group": {}, - "custom_encryption_algorithm": {}, - "is_custom_phase_one_config": {}, - "is_ike_established": {}, - "lifetime": {}, - "negotiated_authentication_algorithm": {}, - "negotiated_dh_group": {}, - "negotiated_encryption_algorithm": {}, - "remaining_lifetime": {}, - "remaining_lifetime_last_retrieved": {} - } - } + "maxItemsOne": false }, "phase_two_details": { - "maxItemsOne": false, - "elem": { - "fields": { - "custom_authentication_algorithm": {}, - "custom_encryption_algorithm": {}, - "dh_group": {}, - "is_custom_phase_two_config": {}, - "is_esp_established": {}, - "is_pfs_enabled": {}, - "lifetime": {}, - "negotiated_authentication_algorithm": {}, - "negotiated_dh_group": {}, - "negotiated_encryption_algorithm": {}, - "remaining_lifetime": {}, - "remaining_lifetime_last_retrieved": {} - } - } - }, - "routing": {}, - "shared_secret": {}, - "state": {}, - "status": {}, - "time_created": {}, - "time_status_updated": {}, - "tunnel_id": {}, - "vpn_ip": {} + "maxItemsOne": false + } } }, "oci_core_ipv6": { "current": "oci:Core/ipv6:Ipv6", - "fields": { - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "ip_address": {}, - "ipv6subnet_cidr": {}, - "state": {}, - "subnet_id": {}, - "time_created": {}, - "vnic_id": {} - } + "majorVersion": 1 }, "oci_core_listing_resource_version_agreement": { "current": "oci:Core/listingResourceVersionAgreement:ListingResourceVersionAgreement", - "fields": { - "eula_link": {}, - "listing_id": {}, - "listing_resource_version": {}, - "oracle_terms_of_use_link": {}, - "signature": {}, - "time_retrieved": {} - } + "majorVersion": 1 }, "oci_core_local_peering_gateway": { "current": "oci:Core/localPeeringGateway:LocalPeeringGateway", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "is_cross_tenancy_peering": {}, - "peer_advertised_cidr": {}, "peer_advertised_cidr_details": { - "maxItemsOne": false, - "elem": {} - }, - "peer_id": {}, - "peering_status": {}, - "peering_status_details": {}, - "route_table_id": {}, - "state": {}, - "time_created": {}, - "vcn_id": {} + "maxItemsOne": false + } } }, "oci_core_nat_gateway": { "current": "oci:Core/natGateway:NatGateway", - "fields": { - "block_traffic": {}, - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "nat_ip": {}, - "public_ip_id": {}, - "route_table_id": {}, - "state": {}, - "time_created": {}, - "vcn_id": {} - } + "majorVersion": 1 }, "oci_core_network_security_group": { "current": "oci:Core/networkSecurityGroup:NetworkSecurityGroup", - "fields": { - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "state": {}, - "time_created": {}, - "vcn_id": {} - } + "majorVersion": 1 }, "oci_core_network_security_group_security_rule": { "current": "oci:Core/networkSecurityGroupSecurityRule:NetworkSecurityGroupSecurityRule", + "majorVersion": 1, "fields": { - "description": {}, - "destination": {}, - "destination_type": {}, - "direction": {}, "icmp_options": { - "maxItemsOne": true, - "elem": { - "fields": { - "code": {}, - "type": {} - } - } + "maxItemsOne": true }, - "is_valid": {}, - "network_security_group_id": {}, - "protocol": {}, - "source": {}, - "source_type": {}, - "stateless": {}, "tcp_options": { "maxItemsOne": true, "elem": { "fields": { "destination_port_range": { - "maxItemsOne": true, - "elem": { - "fields": { - "max": {}, - "min": {} - } - } + "maxItemsOne": true }, "source_port_range": { - "maxItemsOne": true, - "elem": { - "fields": { - "max": {}, - "min": {} - } - } + "maxItemsOne": true } } } }, - "time_created": {}, "udp_options": { "maxItemsOne": true, "elem": { "fields": { "destination_port_range": { - "maxItemsOne": true, - "elem": { - "fields": { - "max": {}, - "min": {} - } - } + "maxItemsOne": true }, "source_port_range": { - "maxItemsOne": true, - "elem": { - "fields": { - "max": {}, - "min": {} - } - } + "maxItemsOne": true } } } @@ -7867,151 +3805,59 @@ }, "oci_core_private_ip": { "current": "oci:Core/privateIp:PrivateIp", - "fields": { - "availability_domain": {}, - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "hostname_label": {}, - "ip_address": {}, - "is_primary": {}, - "is_reserved": {}, - "subnet_id": {}, - "time_created": {}, - "vlan_id": {}, - "vnic_id": {} - } + "majorVersion": 1 }, "oci_core_public_ip": { "current": "oci:Core/publicIp:PublicIp", - "fields": { - "assigned_entity_id": {}, - "assigned_entity_type": {}, - "availability_domain": {}, - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "ip_address": {}, - "lifetime": {}, - "private_ip_id": {}, - "public_ip_pool_id": {}, - "scope": {}, - "state": {}, - "time_created": {} - } + "majorVersion": 1 }, "oci_core_public_ip_pool": { "current": "oci:Core/publicIpPool:PublicIpPool", + "majorVersion": 1, "fields": { "cidr_blocks": { - "maxItemsOne": false, - "elem": {} - }, - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "state": {}, - "time_created": {} + "maxItemsOne": false + } } }, "oci_core_public_ip_pool_capacity": { "current": "oci:Core/publicIpPoolCapacity:PublicIpPoolCapacity", - "fields": { - "byoip_id": {}, - "cidr_block": {}, - "public_ip_pool_id": {} - } + "majorVersion": 1 }, "oci_core_remote_peering_connection": { "current": "oci:Core/remotePeeringConnection:RemotePeeringConnection", - "fields": { - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "drg_id": {}, - "freeform_tags": {}, - "is_cross_tenancy_peering": {}, - "peer_id": {}, - "peer_region_name": {}, - "peer_tenancy_id": {}, - "peering_status": {}, - "state": {}, - "time_created": {} - } + "majorVersion": 1 }, "oci_core_route_table": { "current": "oci:Core/routeTable:RouteTable", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, "route_rules": { - "maxItemsOne": false, - "elem": { - "fields": { - "cidr_block": {}, - "description": {}, - "destination": {}, - "destination_type": {}, - "network_entity_id": {}, - "route_type": {} - } - } - }, - "state": {}, - "time_created": {}, - "vcn_id": {} + "maxItemsOne": false + } } }, "oci_core_route_table_attachment": { "current": "oci:Core/routeTableAttachment:RouteTableAttachment", - "fields": { - "route_table_id": {}, - "subnet_id": {} - } + "majorVersion": 1 }, "oci_core_security_list": { "current": "oci:Core/securityList:SecurityList", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, "egress_security_rules": { "maxItemsOne": false, "elem": { "fields": { - "description": {}, - "destination": {}, - "destination_type": {}, "icmp_options": { - "maxItemsOne": true, - "elem": { - "fields": { - "code": {}, - "type": {} - } - } + "maxItemsOne": true }, - "protocol": {}, - "stateless": {}, "tcp_options": { "maxItemsOne": true, "elem": { "fields": { - "max": {}, - "min": {}, "source_port_range": { - "maxItemsOne": true, - "elem": { - "fields": { - "max": {}, - "min": {} - } - } + "maxItemsOne": true } } } @@ -8020,16 +3866,8 @@ "maxItemsOne": true, "elem": { "fields": { - "max": {}, - "min": {}, "source_port_range": { - "maxItemsOne": true, - "elem": { - "fields": { - "max": {}, - "min": {} - } - } + "maxItemsOne": true } } } @@ -8037,39 +3875,19 @@ } } }, - "freeform_tags": {}, "ingress_security_rules": { "maxItemsOne": false, "elem": { "fields": { - "description": {}, "icmp_options": { - "maxItemsOne": true, - "elem": { - "fields": { - "code": {}, - "type": {} - } - } + "maxItemsOne": true }, - "protocol": {}, - "source": {}, - "source_type": {}, - "stateless": {}, "tcp_options": { "maxItemsOne": true, "elem": { "fields": { - "max": {}, - "min": {}, "source_port_range": { - "maxItemsOne": true, - "elem": { - "fields": { - "max": {}, - "min": {} - } - } + "maxItemsOne": true } } } @@ -8078,601 +3896,228 @@ "maxItemsOne": true, "elem": { "fields": { - "max": {}, - "min": {}, "source_port_range": { - "maxItemsOne": true, - "elem": { - "fields": { - "max": {}, - "min": {} - } - } + "maxItemsOne": true } } } } } } - }, - "state": {}, - "time_created": {}, - "vcn_id": {} + } } }, "oci_core_service_gateway": { "current": "oci:Core/serviceGateway:ServiceGateway", + "majorVersion": 1, "fields": { - "block_traffic": {}, - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "route_table_id": {}, "services": { - "maxItemsOne": false, - "elem": { - "fields": { - "service_id": {}, - "service_name": {} - } - } - }, - "state": {}, - "time_created": {}, - "vcn_id": {} + "maxItemsOne": false + } } }, "oci_core_shape_management": { "current": "oci:Core/shapeManagement:ShapeManagement", - "fields": { - "compartment_id": {}, - "image_id": {}, - "shape_name": {} - } + "majorVersion": 1 }, "oci_core_subnet": { "current": "oci:Core/subnet:Subnet", + "majorVersion": 1, "fields": { - "availability_domain": {}, - "cidr_block": {}, - "compartment_id": {}, - "defined_tags": {}, - "dhcp_options_id": {}, - "display_name": {}, - "dns_label": {}, - "freeform_tags": {}, - "ipv6cidr_block": {}, "ipv6cidr_blocks": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "ipv6virtual_router_ip": {}, - "prohibit_internet_ingress": {}, - "prohibit_public_ip_on_vnic": {}, - "route_table_id": {}, "security_list_ids": { - "maxItemsOne": false, - "elem": {} - }, - "state": {}, - "subnet_domain_name": {}, - "time_created": {}, - "vcn_id": {}, - "virtual_router_ip": {}, - "virtual_router_mac": {} + "maxItemsOne": false + } } }, "oci_core_vcn": { "current": "oci:Core/vcn:Vcn", + "majorVersion": 1, "fields": { "byoipv6cidr_blocks": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "byoipv6cidr_details": { - "maxItemsOne": false, - "elem": { - "fields": { - "byoipv6range_id": {}, - "ipv6cidr_block": {} - } - } + "maxItemsOne": false }, - "cidr_block": {}, "cidr_blocks": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "compartment_id": {}, - "default_dhcp_options_id": {}, - "default_route_table_id": {}, - "default_security_list_id": {}, - "defined_tags": {}, - "display_name": {}, - "dns_label": {}, - "freeform_tags": {}, "ipv6cidr_blocks": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "ipv6private_cidr_blocks": { - "maxItemsOne": false, - "elem": {} - }, - "is_ipv6enabled": {}, - "is_oracle_gua_allocation_enabled": {}, - "state": {}, - "time_created": {}, - "vcn_domain_name": {} + "maxItemsOne": false + } } }, "oci_core_virtual_circuit": { "current": "oci:Core/virtualCircuit:VirtualCircuit", + "majorVersion": 1, "fields": { - "bandwidth_shape_name": {}, - "bgp_admin_state": {}, - "bgp_ipv6session_state": {}, - "bgp_management": {}, - "bgp_session_state": {}, - "compartment_id": {}, "cross_connect_mappings": { - "maxItemsOne": false, - "elem": { - "fields": { - "bgp_md5auth_key": {}, - "cross_connect_or_cross_connect_group_id": {}, - "customer_bgp_peering_ip": {}, - "customer_bgp_peering_ipv6": {}, - "oracle_bgp_peering_ip": {}, - "oracle_bgp_peering_ipv6": {}, - "vlan": {} - } - } + "maxItemsOne": false }, - "customer_asn": {}, - "customer_bgp_asn": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "gateway_id": {}, - "ip_mtu": {}, - "is_bfd_enabled": {}, - "oracle_bgp_asn": {}, - "provider_service_id": {}, - "provider_service_key_name": {}, - "provider_state": {}, "public_prefixes": { - "maxItemsOne": false, - "elem": { - "fields": { - "cidr_block": {} - } - } + "maxItemsOne": false }, - "reference_comment": {}, - "region": {}, "routing_policy": { - "maxItemsOne": false, - "elem": {} - }, - "service_type": {}, - "state": {}, - "time_created": {}, - "type": {} + "maxItemsOne": false + } } }, "oci_core_virtual_network": { "current": "oci:Core/virtualNetwork:VirtualNetwork", + "majorVersion": 1, "fields": { "byoipv6cidr_blocks": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "byoipv6cidr_details": { - "maxItemsOne": false, - "elem": { - "fields": { - "byoipv6range_id": {}, - "ipv6cidr_block": {} - } - } + "maxItemsOne": false }, - "cidr_block": {}, "cidr_blocks": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "compartment_id": {}, - "default_dhcp_options_id": {}, - "default_route_table_id": {}, - "default_security_list_id": {}, - "defined_tags": {}, - "display_name": {}, - "dns_label": {}, - "freeform_tags": {}, "ipv6cidr_blocks": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "ipv6private_cidr_blocks": { - "maxItemsOne": false, - "elem": {} - }, - "is_ipv6enabled": {}, - "is_oracle_gua_allocation_enabled": {}, - "state": {}, - "time_created": {}, - "vcn_domain_name": {} + "maxItemsOne": false + } } }, "oci_core_vlan": { "current": "oci:Core/vlan:Vlan", + "majorVersion": 1, "fields": { - "availability_domain": {}, - "cidr_block": {}, - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, "nsg_ids": { - "maxItemsOne": false, - "elem": {} - }, - "route_table_id": {}, - "state": {}, - "time_created": {}, - "vcn_id": {}, - "vlan_tag": {} + "maxItemsOne": false + } } }, "oci_core_vnic_attachment": { "current": "oci:Core/vnicAttachment:VnicAttachment", + "majorVersion": 1, "fields": { - "availability_domain": {}, - "compartment_id": {}, "create_vnic_details": { "maxItemsOne": true, "elem": { "fields": { - "assign_private_dns_record": {}, - "assign_public_ip": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "hostname_label": {}, "ipv6address_ipv6subnet_cidr_pair_details": { "maxItemsOne": false }, "nsg_ids": { - "maxItemsOne": false, - "elem": {} - }, - "private_ip": {}, - "skip_source_dest_check": {}, - "subnet_id": {}, - "vlan_id": {} + "maxItemsOne": false + } } } - }, - "display_name": {}, - "instance_id": {}, - "nic_index": {}, - "state": {}, - "subnet_id": {}, - "time_created": {}, - "vlan_id": {}, - "vlan_tag": {}, - "vnic_id": {} + } } }, "oci_core_volume": { "current": "oci:Core/volume:Volume", + "majorVersion": 1, "fields": { - "auto_tuned_vpus_per_gb": {}, "autotune_policies": { - "maxItemsOne": false, - "elem": { - "fields": { - "autotune_type": {}, - "max_vpus_per_gb": {} - } - } + "maxItemsOne": false }, - "availability_domain": {}, - "backup_policy_id": {}, "block_volume_replicas": { - "maxItemsOne": false, - "elem": { - "fields": { - "availability_domain": {}, - "block_volume_replica_id": {}, - "display_name": {} - } - } + "maxItemsOne": false }, - "block_volume_replicas_deletion": {}, - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "is_auto_tune_enabled": {}, - "is_hydrated": {}, - "kms_key_id": {}, - "size_in_gbs": {}, - "size_in_mbs": {}, "source_details": { - "maxItemsOne": true, - "elem": { - "fields": { - "id": {}, - "type": {} - } - } - }, - "state": {}, - "system_tags": {}, - "time_created": {}, - "volume_backup_id": {}, - "volume_group_id": {}, - "vpus_per_gb": {} + "maxItemsOne": true + } } }, "oci_core_volume_attachment": { "current": "oci:Core/volumeAttachment:VolumeAttachment", + "majorVersion": 1, "fields": { - "attachment_type": {}, - "availability_domain": {}, - "chap_secret": {}, - "chap_username": {}, - "compartment_id": {}, - "device": {}, - "display_name": {}, - "encryption_in_transit_type": {}, - "instance_id": {}, - "ipv4": {}, - "iqn": {}, - "is_agent_auto_iscsi_login_enabled": {}, - "is_multipath": {}, - "is_pv_encryption_in_transit_enabled": {}, - "is_read_only": {}, - "is_shareable": {}, - "iscsi_login_state": {}, "multipath_devices": { - "maxItemsOne": false, - "elem": { - "fields": { - "ipv4": {}, - "iqn": {}, - "port": {} - } - } - }, - "port": {}, - "state": {}, - "time_created": {}, - "use_chap": {}, - "volume_id": {} + "maxItemsOne": false + } } }, "oci_core_volume_backup": { "current": "oci:Core/volumeBackup:VolumeBackup", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "expiration_time": {}, - "freeform_tags": {}, - "kms_key_id": {}, - "size_in_gbs": {}, - "size_in_mbs": {}, "source_details": { - "maxItemsOne": true, - "elem": { - "fields": { - "kms_key_id": {}, - "region": {}, - "volume_backup_id": {} - } - } - }, - "source_type": {}, - "source_volume_backup_id": {}, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_request_received": {}, - "type": {}, - "unique_size_in_gbs": {}, - "unique_size_in_mbs": {}, - "volume_id": {} + "maxItemsOne": true + } } }, "oci_core_volume_backup_policy": { "current": "oci:Core/volumeBackupPolicy:VolumeBackupPolicy", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "defined_tags": {}, - "destination_region": {}, - "display_name": {}, - "freeform_tags": {}, "schedules": { - "maxItemsOne": false, - "elem": { - "fields": { - "backup_type": {}, - "day_of_month": {}, - "day_of_week": {}, - "hour_of_day": {}, - "month": {}, - "offset_seconds": {}, - "offset_type": {}, - "period": {}, - "retention_seconds": {}, - "time_zone": {} - } - } - }, - "time_created": {} + "maxItemsOne": false + } } }, "oci_core_volume_backup_policy_assignment": { "current": "oci:Core/volumeBackupPolicyAssignment:VolumeBackupPolicyAssignment", - "fields": { - "asset_id": {}, - "policy_id": {}, - "time_created": {} - } + "majorVersion": 1 }, "oci_core_volume_group": { "current": "oci:Core/volumeGroup:VolumeGroup", + "majorVersion": 1, "fields": { - "availability_domain": {}, - "backup_policy_id": {}, - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "is_hydrated": {}, - "preserve_volume_replica": {}, - "size_in_gbs": {}, - "size_in_mbs": {}, "source_details": { "maxItemsOne": true, "elem": { "fields": { - "type": {}, - "volume_group_backup_id": {}, - "volume_group_id": {}, - "volume_group_replica_id": {}, "volume_ids": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } } }, - "state": {}, - "time_created": {}, "volume_group_replicas": { - "maxItemsOne": false, - "elem": { - "fields": { - "availability_domain": {}, - "display_name": {}, - "volume_group_replica_id": {} - } - } + "maxItemsOne": false }, - "volume_group_replicas_deletion": {}, "volume_ids": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } }, "oci_core_volume_group_backup": { "current": "oci:Core/volumeGroupBackup:VolumeGroupBackup", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "expiration_time": {}, - "freeform_tags": {}, - "size_in_gbs": {}, - "size_in_mbs": {}, "source_details": { - "maxItemsOne": true, - "elem": { - "fields": { - "kms_key_id": {}, - "region": {}, - "volume_group_backup_id": {} - } - } + "maxItemsOne": true }, - "source_type": {}, - "source_volume_group_backup_id": {}, - "state": {}, - "time_created": {}, - "time_request_received": {}, - "type": {}, - "unique_size_in_gbs": {}, - "unique_size_in_mbs": {}, "volume_backup_ids": { - "maxItemsOne": false, - "elem": {} - }, - "volume_group_id": {} + "maxItemsOne": false + } } }, "oci_core_vtap": { "current": "oci:Core/vtap:Vtap", - "fields": { - "capture_filter_id": {}, - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "encapsulation_protocol": {}, - "freeform_tags": {}, - "is_vtap_enabled": {}, - "lifecycle_state_details": {}, - "max_packet_size": {}, - "source_id": {}, - "source_private_endpoint_ip": {}, - "source_private_endpoint_subnet_id": {}, - "source_type": {}, - "state": {}, - "target_id": {}, - "target_ip": {}, - "target_type": {}, - "time_created": {}, - "traffic_mode": {}, - "vcn_id": {}, - "vxlan_network_identifier": {} - } + "majorVersion": 1 }, "oci_data_labeling_service_dataset": { "current": "oci:DataLabellingService/dataset:Dataset", + "majorVersion": 1, "fields": { - "annotation_format": {}, - "compartment_id": {}, "dataset_format_details": { "maxItemsOne": true, "elem": { "fields": { - "format_type": {}, "text_file_type_metadata": { - "maxItemsOne": true, - "elem": { - "fields": { - "column_delimiter": {}, - "column_index": {}, - "column_name": {}, - "escape_character": {}, - "format_type": {}, - "line_delimiter": {} - } - } + "maxItemsOne": true } } } }, "dataset_source_details": { - "maxItemsOne": true, - "elem": { - "fields": { - "bucket": {}, - "namespace": {}, - "prefix": {}, - "source_type": {} - } - } + "maxItemsOne": true }, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "freeform_tags": {}, "initial_import_dataset_configuration": { "maxItemsOne": true, "elem": { @@ -8687,1156 +4132,449 @@ } }, "initial_record_generation_configuration": { - "maxItemsOne": true, - "elem": {} + "maxItemsOne": true }, "label_set": { "maxItemsOne": true, "elem": { "fields": { "items": { - "maxItemsOne": false, - "elem": { - "fields": { - "name": {} - } - } + "maxItemsOne": false } } } - }, - "labeling_instructions": {}, - "lifecycle_details": {}, - "state": {}, - "time_created": {}, - "time_updated": {} + } } }, "oci_data_safe_add_sdm_columns": { "current": "oci:DataSafe/addSdmColumns:AddSdmColumns", - "fields": { - "masking_policy_id": {} - } + "majorVersion": 1 }, "oci_data_safe_alert": { "current": "oci:DataSafe/alert:Alert", + "majorVersion": 1, "fields": { - "alert_id": {}, - "alert_type": {}, - "comment": {}, - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "feature_details": {}, - "freeform_tags": {}, - "operation": {}, - "operation_status": {}, - "operation_time": {}, - "policy_id": {}, - "resource_name": {}, - "severity": {}, - "state": {}, - "status": {}, - "system_tags": {}, "target_ids": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "target_names": { - "maxItemsOne": false, - "elem": {} - }, - "time_created": {}, - "time_updated": {} + "maxItemsOne": false + } } }, "oci_data_safe_audit_archive_retrieval": { "current": "oci:DataSafe/auditArchiveRetrieval:AuditArchiveRetrieval", - "fields": { - "audit_event_count": {}, - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "end_date": {}, - "error_info": {}, - "freeform_tags": {}, - "lifecycle_details": {}, - "start_date": {}, - "state": {}, - "system_tags": {}, - "target_id": {}, - "time_completed": {}, - "time_of_expiry": {}, - "time_requested": {} - } + "majorVersion": 1 }, "oci_data_safe_audit_policy": { "current": "oci:DataSafe/auditPolicy:AuditPolicy", + "majorVersion": 1, "fields": { "audit_conditions": { "maxItemsOne": false, "elem": { "fields": { - "audit_policy_name": {}, "enable_conditions": { "maxItemsOne": false, "elem": { "fields": { "entity_names": { - "maxItemsOne": false, - "elem": {} - }, - "entity_selection": {}, - "entity_type": {}, - "operation_status": {} + "maxItemsOne": false + } } } - }, - "is_data_safe_service_account_audited": {}, - "is_priv_users_managed_by_data_safe": {} + } } } }, - "audit_policy_id": {}, "audit_specifications": { "maxItemsOne": false, "elem": { "fields": { - "audit_policy_category": {}, - "audit_policy_name": {}, "database_policy_names": { - "maxItemsOne": false, - "elem": {} - }, - "enable_status": {}, - "enabled_entities": {}, - "is_created": {}, - "is_enabled_for_all_users": {}, - "is_seeded_in_data_safe": {}, - "is_seeded_in_target": {}, - "is_view_only": {}, - "partially_enabled_msg": {} + "maxItemsOne": false + } } } - }, - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "freeform_tags": {}, - "is_data_safe_service_account_excluded": {}, - "lifecycle_details": {}, - "provision_trigger": {}, - "retrieve_from_target_trigger": {}, - "state": {}, - "system_tags": {}, - "target_id": {}, - "time_created": {}, - "time_last_provisioned": {}, - "time_last_retrieved": {}, - "time_updated": {} + } } }, "oci_data_safe_audit_profile": { "current": "oci:DataSafe/auditProfile:AuditProfile", + "majorVersion": 1, "fields": { - "audit_collected_volume": {}, - "audit_profile_id": {}, "audit_trails": { - "maxItemsOne": false, - "elem": { - "fields": { - "audit_collection_start_time": {}, - "audit_profile_id": {}, - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "freeform_tags": {}, - "id": {}, - "is_auto_purge_enabled": {}, - "lifecycle_details": {}, - "state": {}, - "status": {}, - "system_tags": {}, - "target_id": {}, - "time_created": {}, - "time_last_collected": {}, - "time_updated": {}, - "trail_location": {}, - "work_request_id": {} - } - } - }, - "change_retention_trigger": {}, - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "freeform_tags": {}, - "is_override_global_retention_setting": {}, - "is_paid_usage_enabled": {}, - "lifecycle_details": {}, - "offline_months": {}, - "online_months": {}, - "state": {}, - "system_tags": {}, - "target_id": {}, - "time_created": {}, - "time_updated": {} + "maxItemsOne": false + } } }, "oci_data_safe_audit_trail": { "current": "oci:DataSafe/auditTrail:AuditTrail", - "fields": { - "audit_collection_start_time": {}, - "audit_profile_id": {}, - "audit_trail_id": {}, - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "freeform_tags": {}, - "is_auto_purge_enabled": {}, - "lifecycle_details": {}, - "resume_trigger": {}, - "state": {}, - "status": {}, - "system_tags": {}, - "target_id": {}, - "time_created": {}, - "time_last_collected": {}, - "time_updated": {}, - "trail_location": {}, - "work_request_id": {} - } + "majorVersion": 1 }, "oci_data_safe_compare_security_assessment": { "current": "oci:DataSafe/compareSecurityAssessment:CompareSecurityAssessment", - "fields": { - "comparison_security_assessment_id": {}, - "security_assessment_id": {} - } + "majorVersion": 1 }, "oci_data_safe_compare_user_assessment": { "current": "oci:DataSafe/compareUserAssessment:CompareUserAssessment", - "fields": { - "comparison_user_assessment_id": {}, - "user_assessment_id": {} - } + "majorVersion": 1 }, "oci_data_safe_data_safe_configuration": { "current": "oci:DataSafe/dataSafeConfiguration:DataSafeConfiguration", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "data_safe_nat_gateway_ip_address": {}, - "defined_tags": {}, - "freeform_tags": {}, "global_settings": { - "maxItemsOne": false, - "elem": { - "fields": { - "is_paid_usage": {}, - "offline_retention_period": {}, - "online_retention_period": {} - } - } - }, - "is_enabled": {}, - "state": {}, - "time_enabled": {}, - "url": {} + "maxItemsOne": false + } } }, "oci_data_safe_data_safe_private_endpoint": { "current": "oci:DataSafe/dataSafePrivateEndpoint:DataSafePrivateEndpoint", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "endpoint_fqdn": {}, - "freeform_tags": {}, "nsg_ids": { - "maxItemsOne": false, - "elem": {} - }, - "private_endpoint_id": {}, - "private_endpoint_ip": {}, - "state": {}, - "subnet_id": {}, - "system_tags": {}, - "time_created": {}, - "vcn_id": {} + "maxItemsOne": false + } } }, "oci_data_safe_discovery_job": { "current": "oci:DataSafe/discoveryMod:DiscoveryMod", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "defined_tags": {}, - "discovery_type": {}, - "display_name": {}, - "freeform_tags": {}, - "is_app_defined_relation_discovery_enabled": {}, - "is_include_all_schemas": {}, - "is_include_all_sensitive_types": {}, - "is_sample_data_collection_enabled": {}, "schemas_for_discovery": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "sensitive_data_model_id": {}, "sensitive_type_ids_for_discovery": { - "maxItemsOne": false, - "elem": {} - }, - "state": {}, - "system_tags": {}, - "target_id": {}, - "time_finished": {}, - "time_started": {}, - "total_columns_scanned": {}, - "total_deleted_sensitive_columns": {}, - "total_modified_sensitive_columns": {}, - "total_new_sensitive_columns": {}, - "total_objects_scanned": {}, - "total_schemas_scanned": {} + "maxItemsOne": false + } } }, "oci_data_safe_discovery_jobs_result": { "current": "oci:DataSafe/discoveryJobsResult:DiscoveryJobsResult", + "majorVersion": 1, "fields": { "app_defined_child_column_keys": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "app_name": {}, - "column_name": {}, - "data_type": {}, "db_defined_child_column_keys": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "discovery_job_id": {}, - "discovery_type": {}, - "estimated_data_value_count": {}, - "is_result_applied": {}, - "key": {}, "modified_attributes": { "maxItemsOne": false, "elem": { "fields": { "app_defined_child_column_keys": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "db_defined_child_column_keys": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } } }, - "object": {}, - "object_type": {}, "parent_column_keys": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "planned_action": {}, - "relation_type": {}, "sample_data_values": { - "maxItemsOne": false, - "elem": {} - }, - "schema_name": {}, - "sensitive_columnkey": {}, - "sensitive_type_id": {} + "maxItemsOne": false + } } }, "oci_data_safe_library_masking_format": { "current": "oci:DataSafe/libraryMasingFormat:LibraryMasingFormat", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "display_name": {}, "format_entries": { "maxItemsOne": false, "elem": { "fields": { - "column_name": {}, - "description": {}, - "end_date": {}, - "end_length": {}, - "end_value": {}, - "fixed_number": {}, - "fixed_string": {}, "grouping_columns": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "length": {}, - "library_masking_format_id": {}, - "post_processing_function": {}, "random_list": { - "maxItemsOne": false, - "elem": {} - }, - "regular_expression": {}, - "replace_with": {}, - "schema_name": {}, - "sql_expression": {}, - "start_date": {}, - "start_length": {}, - "start_position": {}, - "start_value": {}, - "table_name": {}, - "type": {}, - "user_defined_function": {} + "maxItemsOne": false + } } } }, - "freeform_tags": {}, "sensitive_type_ids": { - "maxItemsOne": false, - "elem": {} - }, - "source": {}, - "state": {}, - "time_created": {}, - "time_updated": {} + "maxItemsOne": false + } } }, "oci_data_safe_mask_data": { "current": "oci:DataSafe/maskData:MaskData", - "fields": { - "masking_policy_id": {}, - "target_id": {} - } + "majorVersion": 1 }, "oci_data_safe_masking_policies_apply_difference_to_masking_columns": { "current": "oci:DataSafe/maskingPoliciesApplyDifferenceToMaskingColumns:MaskingPoliciesApplyDifferenceToMaskingColumns", - "fields": { - "masking_policy_id": {}, - "sdm_masking_policy_difference_id": {} - } + "majorVersion": 1 }, "oci_data_safe_masking_policies_masking_column": { "current": "oci:DataSafe/maskingPoliciesMaskingColumn:MaskingPoliciesMaskingColumn", + "majorVersion": 1, "fields": { "child_columns": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "column_name": {}, - "data_type": {}, - "is_masking_enabled": {}, - "key": {}, - "lifecycle_details": {}, - "masking_column_group": {}, "masking_formats": { "maxItemsOne": false, "elem": { "fields": { - "condition": {}, - "description": {}, "format_entries": { "maxItemsOne": false, "elem": { "fields": { - "column_name": {}, - "description": {}, - "end_date": {}, - "end_length": {}, - "end_value": {}, - "fixed_number": {}, - "fixed_string": {}, "grouping_columns": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "length": {}, - "library_masking_format_id": {}, - "post_processing_function": {}, "random_list": { - "maxItemsOne": false, - "elem": {} - }, - "regular_expression": {}, - "replace_with": {}, - "schema_name": {}, - "sql_expression": {}, - "start_date": {}, - "start_length": {}, - "start_position": {}, - "start_value": {}, - "table_name": {}, - "type": {}, - "user_defined_function": {} + "maxItemsOne": false + } } } } } } - }, - "masking_policy_id": {}, - "object": {}, - "object_type": {}, - "schema_name": {}, - "sensitive_type_id": {}, - "state": {}, - "time_created": {}, - "time_updated": {} + } } }, "oci_data_safe_masking_policy": { "current": "oci:DataSafe/maskingPolicy:MaskingPolicy", + "majorVersion": 1, "fields": { - "add_masking_columns_from_sdm_trigger": {}, "column_source": { - "maxItemsOne": false, - "elem": { - "fields": { - "column_source": {}, - "sensitive_data_model_id": {}, - "target_id": {} - } - } - }, - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "freeform_tags": {}, - "is_drop_temp_tables_enabled": {}, - "is_redo_logging_enabled": {}, - "is_refresh_stats_enabled": {}, - "parallel_degree": {}, - "post_masking_script": {}, - "pre_masking_script": {}, - "recompile": {}, - "state": {}, - "time_created": {}, - "time_updated": {} + "maxItemsOne": false + } } }, "oci_data_safe_on_prem_connector": { "current": "oci:DataSafe/onPremConnector:OnPremConnector", - "fields": { - "available_version": {}, - "compartment_id": {}, - "created_version": {}, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "freeform_tags": {}, - "lifecycle_details": {}, - "state": {}, - "system_tags": {}, - "time_created": {} - } + "majorVersion": 1 }, "oci_data_safe_report_definition": { "current": "oci:DataSafe/reportDefinition:ReportDefinition", + "majorVersion": 1, "fields": { - "category": {}, "column_filters": { "maxItemsOne": false, "elem": { "fields": { "expressions": { - "maxItemsOne": false, - "elem": {} - }, - "field_name": {}, - "is_enabled": {}, - "is_hidden": {}, - "operator": {} + "maxItemsOne": false + } } } }, "column_info": { - "maxItemsOne": false, - "elem": { - "fields": { - "data_type": {}, - "display_name": {}, - "display_order": {}, - "field_name": {}, - "is_hidden": {} - } - } + "maxItemsOne": false }, "column_sortings": { - "maxItemsOne": false, - "elem": { - "fields": { - "field_name": {}, - "is_ascending": {}, - "sorting_order": {} - } - } + "maxItemsOne": false }, - "compartment_id": {}, "compliance_standards": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "data_source": {}, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "display_order": {}, - "freeform_tags": {}, - "is_seeded": {}, - "parent_id": {}, - "record_time_span": {}, - "schedule": {}, - "scheduled_report_compartment_id": {}, - "scheduled_report_mime_type": {}, - "scheduled_report_name": {}, - "scheduled_report_row_limit": {}, - "scim_filter": {}, - "state": {}, "summary": { - "maxItemsOne": false, - "elem": { - "fields": { - "count_of": {}, - "display_order": {}, - "group_by_field_name": {}, - "is_hidden": {}, - "name": {}, - "scim_filter": {} - } - } - }, - "system_tags": {}, - "time_created": {}, - "time_updated": {} + "maxItemsOne": false + } } }, "oci_data_safe_sdm_masking_policy_difference": { "current": "oci:DataSafe/sdmMaskingPolicyDifference:SdmMaskingPolicyDifference", - "fields": { - "compartment_id": {}, - "defined_tags": {}, - "difference_type": {}, - "display_name": {}, - "freeform_tags": {}, - "masking_policy_id": {}, - "sensitive_data_model_id": {}, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_creation_started": {} - } + "majorVersion": 1 }, "oci_data_safe_security_assessment": { "current": "oci:DataSafe/securityAssessment:SecurityAssessment", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "freeform_tags": {}, "ignored_assessment_ids": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "ignored_targets": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "is_baseline": {}, - "is_deviated_from_baseline": {}, - "last_compared_baseline_id": {}, - "lifecycle_details": {}, - "link": {}, - "schedule": {}, - "schedule_security_assessment_id": {}, - "state": {}, "statistics": { "maxItemsOne": false, "elem": { "fields": { "advisory": { - "maxItemsOne": false, - "elem": { - "fields": { - "auditing_findings_count": {}, - "authorization_control_findings_count": {}, - "data_encryption_findings_count": {}, - "db_configuration_findings_count": {}, - "fine_grained_access_control_findings_count": {}, - "privileges_and_roles_findings_count": {}, - "targets_count": {}, - "user_accounts_findings_count": {} - } - } + "maxItemsOne": false }, "evaluate": { - "maxItemsOne": false, - "elem": { - "fields": { - "auditing_findings_count": {}, - "authorization_control_findings_count": {}, - "data_encryption_findings_count": {}, - "db_configuration_findings_count": {}, - "fine_grained_access_control_findings_count": {}, - "privileges_and_roles_findings_count": {}, - "targets_count": {}, - "user_accounts_findings_count": {} - } - } + "maxItemsOne": false }, "high_risk": { - "maxItemsOne": false, - "elem": { - "fields": { - "auditing_findings_count": {}, - "authorization_control_findings_count": {}, - "data_encryption_findings_count": {}, - "db_configuration_findings_count": {}, - "fine_grained_access_control_findings_count": {}, - "privileges_and_roles_findings_count": {}, - "targets_count": {}, - "user_accounts_findings_count": {} - } - } + "maxItemsOne": false }, "low_risk": { - "maxItemsOne": false, - "elem": { - "fields": { - "auditing_findings_count": {}, - "authorization_control_findings_count": {}, - "data_encryption_findings_count": {}, - "db_configuration_findings_count": {}, - "fine_grained_access_control_findings_count": {}, - "privileges_and_roles_findings_count": {}, - "targets_count": {}, - "user_accounts_findings_count": {} - } - } + "maxItemsOne": false }, "medium_risk": { - "maxItemsOne": false, - "elem": { - "fields": { - "auditing_findings_count": {}, - "authorization_control_findings_count": {}, - "data_encryption_findings_count": {}, - "db_configuration_findings_count": {}, - "fine_grained_access_control_findings_count": {}, - "privileges_and_roles_findings_count": {}, - "targets_count": {}, - "user_accounts_findings_count": {} - } - } + "maxItemsOne": false }, "pass": { - "maxItemsOne": false, - "elem": { - "fields": { - "auditing_findings_count": {}, - "authorization_control_findings_count": {}, - "data_encryption_findings_count": {}, - "db_configuration_findings_count": {}, - "fine_grained_access_control_findings_count": {}, - "privileges_and_roles_findings_count": {}, - "targets_count": {}, - "user_accounts_findings_count": {} - } - } - }, - "targets_count": {} + "maxItemsOne": false + } } } }, - "system_tags": {}, - "target_id": {}, "target_ids": { - "maxItemsOne": false, - "elem": {} - }, - "target_version": {}, - "time_created": {}, - "time_last_assessed": {}, - "time_updated": {}, - "triggered_by": {}, - "type": {} + "maxItemsOne": false + } } }, "oci_data_safe_sensitive_data_model": { "current": "oci:DataSafe/sensitiveDataModel:SensitiveDataModel", + "majorVersion": 1, "fields": { - "app_suite_name": {}, - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "freeform_tags": {}, - "is_app_defined_relation_discovery_enabled": {}, - "is_include_all_schemas": {}, - "is_include_all_sensitive_types": {}, - "is_sample_data_collection_enabled": {}, "schemas_for_discovery": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "sensitive_type_ids_for_discovery": { - "maxItemsOne": false, - "elem": {} - }, - "state": {}, - "system_tags": {}, - "target_id": {}, - "time_created": {}, - "time_updated": {} - } + "maxItemsOne": false + } + } }, "oci_data_safe_sensitive_data_models_apply_discovery_job_results": { "current": "oci:DataSafe/sensitiveDataModelsApplyDiscoveryJobResults:SensitiveDataModelsApplyDiscoveryJobResults", - "fields": { - "discovery_job_id": {}, - "sensitive_data_model_id": {} - } + "majorVersion": 1 }, "oci_data_safe_sensitive_data_models_sensitive_column": { "current": "oci:DataSafe/sensitiveDataModelsSensitiveColumn:SensitiveDataModelsSensitiveColumn", + "majorVersion": 1, "fields": { "app_defined_child_column_keys": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "app_name": {}, "column_groups": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "column_name": {}, - "data_type": {}, "db_defined_child_column_keys": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "estimated_data_value_count": {}, - "key": {}, - "lifecycle_details": {}, - "object": {}, - "object_type": {}, "parent_column_keys": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "relation_type": {}, "sample_data_values": { - "maxItemsOne": false, - "elem": {} - }, - "schema_name": {}, - "sensitive_data_model_id": {}, - "sensitive_type_id": {}, - "source": {}, - "state": {}, - "status": {}, - "time_created": {}, - "time_updated": {} + "maxItemsOne": false + } } }, "oci_data_safe_sensitive_type": { "current": "oci:DataSafe/sensitiveType:SensitiveType", - "fields": { - "comment_pattern": {}, - "compartment_id": {}, - "data_pattern": {}, - "default_masking_format_id": {}, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "entity_type": {}, - "freeform_tags": {}, - "name_pattern": {}, - "parent_category_id": {}, - "search_type": {}, - "short_name": {}, - "source": {}, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {} - } + "majorVersion": 1 }, "oci_data_safe_set_security_assessment_baseline": { "current": "oci:DataSafe/setSecurityAssessmentBaseline:SetSecurityAssessmentBaseline", + "majorVersion": 1, "fields": { "assessment_ids": { - "maxItemsOne": false, - "elem": {} - }, - "security_assessment_id": {} + "maxItemsOne": false + } } }, "oci_data_safe_set_user_assessment_baseline": { "current": "oci:DataSafe/setUserAssessmentBaseline:SetUserAssessmentBaseline", + "majorVersion": 1, "fields": { "assessment_ids": { - "maxItemsOne": false, - "elem": {} - }, - "user_assessment_id": {} + "maxItemsOne": false + } } }, "oci_data_safe_target_alert_policy_association": { "current": "oci:DataSafe/targetAlertPolicyAssociation:TargetAlertPolicyAssociation", - "fields": { - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "freeform_tags": {}, - "is_enabled": {}, - "policy_id": {}, - "state": {}, - "system_tags": {}, - "target_id": {}, - "time_created": {}, - "time_updated": {} - } + "majorVersion": 1 }, "oci_data_safe_target_database": { "current": "oci:DataSafe/targetDatabase:TargetDatabase", + "majorVersion": 1, "fields": { "associated_resource_ids": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "compartment_id": {}, "connection_option": { - "maxItemsOne": true, - "elem": { - "fields": { - "connection_type": {}, - "datasafe_private_endpoint_id": {}, - "on_prem_connector_id": {} - } - } + "maxItemsOne": true }, "credentials": { - "maxItemsOne": true, - "elem": { - "fields": { - "password": {}, - "user_name": {} - } - } + "maxItemsOne": true }, "database_details": { "maxItemsOne": true, "elem": { "fields": { - "autonomous_database_id": {}, - "database_type": {}, - "db_system_id": {}, - "infrastructure_type": {}, - "instance_id": {}, "ip_addresses": { - "maxItemsOne": false, - "elem": {} - }, - "listener_port": {}, - "service_name": {}, - "vm_cluster_id": {} + "maxItemsOne": false + } } } }, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "freeform_tags": {}, - "lifecycle_details": {}, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {}, "tls_config": { - "maxItemsOne": true, - "elem": { - "fields": { - "certificate_store_type": {}, - "key_store_content": {}, - "status": {}, - "store_password": {}, - "trust_store_content": {} - } - } + "maxItemsOne": true } } }, "oci_data_safe_unset_security_assessment_baseline": { "current": "oci:DataSafe/unsetSecurityAssessmentBaseline:UnsetSecurityAssessmentBaseline", - "fields": { - "security_assessment_id": {} - } + "majorVersion": 1 }, "oci_data_safe_unset_user_assessment_baseline": { "current": "oci:DataSafe/unsetUserAssessmentBaseline:UnsetUserAssessmentBaseline", - "fields": { - "user_assessment_id": {} - } + "majorVersion": 1 }, "oci_data_safe_user_assessment": { "current": "oci:DataSafe/userAssessment:UserAssessment", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "freeform_tags": {}, "ignored_assessment_ids": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "ignored_targets": { - "maxItemsOne": false, - "elem": { - "fields": { - "lifecycle_state": {}, - "target_id": {}, - "user_assessment_id": {} - } - } + "maxItemsOne": false }, - "is_baseline": {}, - "is_deviated_from_baseline": {}, - "last_compared_baseline_id": {}, - "lifecycle_details": {}, - "schedule": {}, - "schedule_assessment_id": {}, - "state": {}, - "statistics": {}, - "system_tags": {}, - "target_id": {}, "target_ids": { - "maxItemsOne": false, - "elem": {} - }, - "time_created": {}, - "time_last_assessed": {}, - "time_updated": {}, - "triggered_by": {}, - "type": {} + "maxItemsOne": false + } } }, "oci_database_application_vip": { "current": "oci:Database/applicationVip:ApplicationVip", - "fields": { - "cloud_vm_cluster_id": {}, - "compartment_id": {}, - "db_node_id": {}, - "defined_tags": {}, - "freeform_tags": {}, - "hostname_label": {}, - "ip_address": {}, - "lifecycle_details": {}, - "state": {}, - "subnet_id": {}, - "time_assigned": {} - } + "majorVersion": 1 }, "oci_database_autonomous_container_database": { "current": "oci:Database/autonomousContainerDatabase:AutonomousContainerDatabase", + "majorVersion": 1, "fields": { - "autonomous_exadata_infrastructure_id": {}, - "autonomous_vm_cluster_id": {}, - "availability_domain": {}, - "available_cpus": {}, "backup_config": { "maxItemsOne": true, "elem": { "fields": { "backup_destination_details": { - "maxItemsOne": true, - "elem": { - "fields": { - "id": {}, - "internet_proxy": {}, - "type": {}, - "vpc_password": {}, - "vpc_user": {} - } - } - }, - "recovery_window_in_days": {} + "maxItemsOne": true + } } } }, - "cloud_autonomous_vm_cluster_id": {}, - "compartment_id": {}, - "compute_model": {}, - "db_name": {}, - "db_unique_name": {}, - "db_version": {}, - "defined_tags": {}, - "display_name": {}, - "fast_start_fail_over_lag_limit_in_seconds": {}, - "freeform_tags": {}, - "infrastructure_type": {}, - "is_automatic_failover_enabled": {}, "key_history_entry": { - "maxItemsOne": false, - "elem": { - "fields": { - "id": {}, - "kms_key_version_id": {}, - "time_activated": {}, - "vault_id": {} - } - } + "maxItemsOne": false }, - "key_store_id": {}, - "key_store_wallet_name": {}, - "kms_key_id": {}, - "last_maintenance_run_id": {}, - "lifecycle_details": {}, "maintenance_window": { "maxItemsOne": false, "elem": { "fields": { - "custom_action_timeout_in_mins": {}, "days_of_week": { - "maxItemsOne": false, - "elem": { - "fields": { - "name": {} - } - } + "maxItemsOne": false }, "hours_of_day": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "is_custom_action_timeout_enabled": {}, - "is_monthly_patching_enabled": {}, - "lead_time_in_weeks": {}, "months": { - "maxItemsOne": false, - "elem": { - "fields": { - "name": {} - } - } + "maxItemsOne": false }, - "patching_mode": {}, - "preference": {}, "weeks_of_month": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } } @@ -9845,507 +4583,165 @@ "maxItemsOne": true, "elem": { "fields": { - "custom_action_timeout_in_mins": {}, "days_of_week": { - "maxItemsOne": false, - "elem": { - "fields": { - "name": {} - } - } + "maxItemsOne": false }, "hours_of_day": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "is_custom_action_timeout_enabled": {}, - "is_monthly_patching_enabled": {}, - "lead_time_in_weeks": {}, "months": { - "maxItemsOne": false, - "elem": { - "fields": { - "name": {} - } - } + "maxItemsOne": false }, - "patching_mode": {}, - "preference": {}, "weeks_of_month": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } } }, - "memory_per_oracle_compute_unit_in_gbs": {}, - "next_maintenance_run_id": {}, - "patch_id": {}, - "patch_model": {}, "peer_autonomous_container_database_backup_config": { "maxItemsOne": true, "elem": { "fields": { "backup_destination_details": { - "maxItemsOne": false, - "elem": { - "fields": { - "id": {}, - "internet_proxy": {}, - "type": {}, - "vpc_password": {}, - "vpc_user": {} - } - } - }, - "recovery_window_in_days": {} + "maxItemsOne": false + } } } }, - "peer_autonomous_container_database_compartment_id": {}, - "peer_autonomous_container_database_display_name": {}, - "peer_autonomous_exadata_infrastructure_id": {}, - "peer_autonomous_vm_cluster_id": {}, - "peer_cloud_autonomous_vm_cluster_id": {}, - "peer_db_unique_name": {}, - "protection_mode": {}, "provisionable_cpus": { - "maxItemsOne": false, - "elem": {} - }, - "reclaimable_cpus": {}, - "role": {}, - "rotate_key_trigger": {}, - "service_level_agreement_type": {}, - "standby_maintenance_buffer_in_days": {}, - "state": {}, - "time_created": {}, - "time_snapshot_standby_revert": {}, - "total_cpus": {}, - "vault_id": {}, - "version_preference": {} + "maxItemsOne": false + } } }, "oci_database_autonomous_container_database_dataguard_association": { "current": "oci:Database/autonomousContainerDatabaseDataguardAssociation:AutonomousContainerDatabaseDataguardAssociation", - "fields": { - "apply_lag": {}, - "apply_rate": {}, - "autonomous_container_database_dataguard_association_id": {}, - "autonomous_container_database_id": {}, - "fast_start_fail_over_lag_limit_in_seconds": {}, - "is_automatic_failover_enabled": {}, - "lifecycle_details": {}, - "peer_autonomous_container_database_dataguard_association_id": {}, - "peer_autonomous_container_database_id": {}, - "peer_lifecycle_state": {}, - "peer_role": {}, - "protection_mode": {}, - "role": {}, - "state": {}, - "time_created": {}, - "time_last_role_changed": {}, - "time_last_synced": {}, - "transport_lag": {} - } + "majorVersion": 1 }, "oci_database_autonomous_container_database_dataguard_association_operation": { "current": "oci:Database/autonomousContainerDatabaseDataguardAssociationOperation:AutonomousContainerDatabaseDataguardAssociationOperation", - "fields": { - "autonomous_container_database_dataguard_association_id": {}, - "autonomous_container_database_id": {}, - "operation": {} - } + "majorVersion": 1 }, "oci_database_autonomous_container_database_dataguard_role_change": { "current": "oci:Database/autonomousContainerDatabaseDataguardRoleChange:AutonomousContainerDatabaseDataguardRoleChange", - "fields": { - "autonomous_container_database_dataguard_association_id": {}, - "autonomous_container_database_id": {}, - "connection_strings_type": {}, - "role": {} - } + "majorVersion": 1 }, "oci_database_autonomous_database": { "current": "oci:Database/autonomousDatabase:AutonomousDatabase", + "majorVersion": 1, "fields": { - "actual_used_data_storage_size_in_tbs": {}, - "admin_password": {}, - "allocated_storage_size_in_tbs": {}, "apex_details": { - "maxItemsOne": false, - "elem": { - "fields": { - "apex_version": {}, - "ords_version": {} - } - } + "maxItemsOne": false }, - "are_primary_whitelisted_ips_used": {}, - "autonomous_container_database_id": {}, - "autonomous_database_backup_id": {}, - "autonomous_database_id": {}, - "autonomous_maintenance_schedule_type": {}, "available_upgrade_versions": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "backup_config": { - "maxItemsOne": false, - "elem": { - "fields": { - "manual_backup_bucket_name": {}, - "manual_backup_type": {} - } - } + "maxItemsOne": false }, - "backup_retention_period_in_days": {}, - "character_set": {}, - "clone_type": {}, - "compartment_id": {}, - "compute_count": {}, - "compute_model": {}, "connection_strings": { "maxItemsOne": false, "elem": { "fields": { - "all_connection_strings": {}, - "dedicated": {}, - "high": {}, - "low": {}, - "medium": {}, "profiles": { - "maxItemsOne": false, - "elem": { - "fields": { - "consumer_group": {}, - "display_name": {}, - "host_format": {}, - "protocol": {}, - "session_mode": {}, - "syntax_format": {}, - "tls_authentication": {}, - "value": {} - } - } + "maxItemsOne": false } } } }, "connection_urls": { - "maxItemsOne": false, - "elem": { - "fields": { - "apex_url": {}, - "graph_studio_url": {}, - "machine_learning_user_management_url": {}, - "sql_dev_web_url": {} - } - } + "maxItemsOne": false }, - "cpu_core_count": {}, "customer_contacts": { - "maxItemsOne": false, - "elem": { - "fields": { - "email": {} - } - } - }, - "data_safe_status": {}, - "data_storage_size_in_gb": {}, - "data_storage_size_in_tbs": {}, - "database_edition": {}, - "database_management_status": {}, - "dataguard_region_type": {}, - "db_name": {}, - "db_version": {}, - "db_workload": {}, - "defined_tags": {}, - "disaster_recovery_region_type": {}, - "display_name": {}, - "failed_data_recovery_in_seconds": {}, - "freeform_tags": {}, - "infrastructure_type": {}, - "is_access_control_enabled": {}, - "is_auto_scaling_enabled": {}, - "is_auto_scaling_for_storage_enabled": {}, - "is_data_guard_enabled": {}, - "is_dedicated": {}, - "is_free_tier": {}, - "is_local_data_guard_enabled": {}, - "is_mtls_connection_required": {}, - "is_preview": {}, - "is_preview_version_with_service_terms_accepted": {}, - "is_reconnect_clone_enabled": {}, - "is_refreshable_clone": {}, - "is_remote_data_guard_enabled": {}, - "is_shrink_only": {}, + "maxItemsOne": false + }, "key_history_entry": { - "maxItemsOne": false, - "elem": { - "fields": { - "id": {}, - "kms_key_version_id": {}, - "time_activated": {}, - "vault_id": {} - } - } + "maxItemsOne": false }, - "key_store_id": {}, - "key_store_wallet_name": {}, - "kms_key_id": {}, - "kms_key_lifecycle_details": {}, - "kms_key_version_id": {}, - "license_model": {}, - "lifecycle_details": {}, - "local_disaster_recovery_type": {}, "local_standby_db": { - "maxItemsOne": false, - "elem": { - "fields": { - "lag_time_in_seconds": {}, - "lifecycle_details": {}, - "state": {}, - "time_data_guard_role_changed": {}, - "time_disaster_recovery_role_changed": {} - } - } + "maxItemsOne": false }, "long_term_backup_schedule": { - "maxItemsOne": false, - "elem": { - "fields": { - "is_disabled": {}, - "repeat_cadence": {}, - "retention_period_in_days": {}, - "time_of_backup": {} - } - } + "maxItemsOne": false }, - "max_cpu_core_count": {}, - "memory_per_oracle_compute_unit_in_gbs": {}, - "ncharacter_set": {}, - "next_long_term_backup_time_stamp": {}, "nsg_ids": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "ocpu_count": {}, - "open_mode": {}, - "operations_insights_status": {}, "peer_db_ids": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "permission_level": {}, - "private_endpoint": {}, - "private_endpoint_ip": {}, - "private_endpoint_label": {}, "provisionable_cpus": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "refreshable_mode": {}, - "refreshable_status": {}, "remote_disaster_recovery_configuration": { - "maxItemsOne": false, - "elem": { - "fields": { - "disaster_recovery_type": {} - } - } + "maxItemsOne": false + }, + "resource_pool_summary": { + "maxItemsOne": true }, - "remote_disaster_recovery_type": {}, - "role": {}, - "rotate_key_trigger": {}, "scheduled_operations": { "maxItemsOne": false, "elem": { "fields": { "day_of_week": { - "maxItemsOne": true, - "elem": { - "fields": { - "name": {} - } - } - }, - "scheduled_start_time": {}, - "scheduled_stop_time": {} + "maxItemsOne": true + } } } }, - "secret_id": {}, - "secret_version_number": {}, - "service_console_url": {}, - "source": {}, - "source_id": {}, "standby_db": { - "maxItemsOne": false, - "elem": { - "fields": { - "lag_time_in_seconds": {}, - "lifecycle_details": {}, - "state": {}, - "time_data_guard_role_changed": {}, - "time_disaster_recovery_role_changed": {} - } - } + "maxItemsOne": false }, "standby_whitelisted_ips": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "state": {}, - "subnet_id": {}, "supported_regions_to_clone_to": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "switchover_to": {}, - "switchover_to_remote_peer_id": {}, - "system_tags": {}, - "time_created": {}, - "time_data_guard_role_changed": {}, - "time_deletion_of_free_autonomous_database": {}, - "time_disaster_recovery_role_changed": {}, - "time_local_data_guard_enabled": {}, - "time_maintenance_begin": {}, - "time_maintenance_end": {}, - "time_of_last_failover": {}, - "time_of_last_refresh": {}, - "time_of_last_refresh_point": {}, - "time_of_last_switchover": {}, - "time_of_next_refresh": {}, - "time_reclamation_of_free_autonomous_database": {}, - "time_until_reconnect_clone_enabled": {}, - "timestamp": {}, - "total_backup_storage_size_in_gbs": {}, - "use_latest_available_backup_time_stamp": {}, - "used_data_storage_size_in_gbs": {}, - "used_data_storage_size_in_tbs": {}, - "vault_id": {}, "whitelisted_ips": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } }, "oci_database_autonomous_database_backup": { "current": "oci:Database/autonomousDatabaseBackup:AutonomousDatabaseBackup", + "majorVersion": 1, "fields": { - "autonomous_database_id": {}, "backup_destination_details": { - "maxItemsOne": true, - "elem": { - "fields": { - "id": {}, - "internet_proxy": {}, - "type": {}, - "vpc_password": {}, - "vpc_user": {} - } - } - }, - "compartment_id": {}, - "database_size_in_tbs": {}, - "db_version": {}, - "display_name": {}, - "is_automatic": {}, - "is_long_term_backup": {}, - "is_restorable": {}, - "key_store_id": {}, - "key_store_wallet_name": {}, - "kms_key_id": {}, - "kms_key_version_id": {}, - "lifecycle_details": {}, - "retention_period_in_days": {}, - "size_in_tbs": {}, - "state": {}, - "time_available_till": {}, - "time_ended": {}, - "time_started": {}, - "type": {}, - "vault_id": {} + "maxItemsOne": true + } } }, "oci_database_autonomous_database_instance_wallet_management": { "current": "oci:Database/autonomousDatabaseInstanceWalletManagement:AutonomousDatabaseInstanceWalletManagement", - "fields": { - "autonomous_database_id": {}, - "grace_period": {}, - "should_rotate": {}, - "state": {}, - "time_rotated": {} - } + "majorVersion": 1 }, "oci_database_autonomous_database_regional_wallet_management": { "current": "oci:Database/autonomousDatabaseRegionalWalletManagement:AutonomousDatabaseRegionalWalletManagement", - "fields": { - "grace_period": {}, - "should_rotate": {}, - "state": {}, - "time_rotated": {} - } + "majorVersion": 1 }, "oci_database_autonomous_database_wallet": { "current": "oci:Database/autonomousDatabaseWallet:AutonomousDatabaseWallet", - "fields": { - "autonomous_database_id": {}, - "base64_encode_content": {}, - "content": {}, - "generate_type": {}, - "password": {} - } + "majorVersion": 1 }, "oci_database_autonomous_exadata_infrastructure": { "current": "oci:Database/autonomousExadataInfrastructure:AutonomousExadataInfrastructure", + "majorVersion": 1, "fields": { - "availability_domain": {}, - "compartment_id": {}, - "create_async": {}, - "defined_tags": {}, - "display_name": {}, - "domain": {}, - "freeform_tags": {}, - "hostname": {}, - "last_maintenance_run_id": {}, - "license_model": {}, - "lifecycle_details": {}, "maintenance_window": { "maxItemsOne": false, "elem": { "fields": { - "custom_action_timeout_in_mins": {}, "days_of_week": { - "maxItemsOne": false, - "elem": { - "fields": { - "name": {} - } - } + "maxItemsOne": false }, "hours_of_day": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "is_custom_action_timeout_enabled": {}, - "is_monthly_patching_enabled": {}, - "lead_time_in_weeks": {}, "months": { - "maxItemsOne": false, - "elem": { - "fields": { - "name": {} - } - } + "maxItemsOne": false }, - "patching_mode": {}, - "preference": {}, "weeks_of_month": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } } @@ -10354,113 +4750,48 @@ "maxItemsOne": true, "elem": { "fields": { - "custom_action_timeout_in_mins": {}, "days_of_week": { - "maxItemsOne": false, - "elem": { - "fields": { - "name": {} - } - } + "maxItemsOne": false }, "hours_of_day": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "is_custom_action_timeout_enabled": {}, - "is_monthly_patching_enabled": {}, - "lead_time_in_weeks": {}, "months": { - "maxItemsOne": false, - "elem": { - "fields": { - "name": {} - } - } + "maxItemsOne": false }, - "patching_mode": {}, - "preference": {}, "weeks_of_month": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } } }, - "next_maintenance_run_id": {}, "nsg_ids": { - "maxItemsOne": false, - "elem": {} - }, - "scan_dns_name": {}, - "shape": {}, - "state": {}, - "subnet_id": {}, - "time_created": {}, - "zone_id": {} + "maxItemsOne": false + } } }, "oci_database_autonomous_vm_cluster": { "current": "oci:Database/autonomousVmCluster:AutonomousVmCluster", + "majorVersion": 1, "fields": { - "autonomous_data_storage_size_in_tbs": {}, - "available_autonomous_data_storage_size_in_tbs": {}, - "available_container_databases": {}, - "available_cpus": {}, - "available_data_storage_size_in_tbs": {}, - "compartment_id": {}, - "compute_model": {}, - "cpu_core_count_per_node": {}, - "cpus_enabled": {}, - "data_storage_size_in_gb": {}, - "data_storage_size_in_tbs": {}, - "db_node_storage_size_in_gbs": {}, "db_servers": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "defined_tags": {}, - "display_name": {}, - "exadata_infrastructure_id": {}, - "freeform_tags": {}, - "is_local_backup_enabled": {}, - "is_mtls_enabled": {}, - "last_maintenance_run_id": {}, - "license_model": {}, - "lifecycle_details": {}, "maintenance_window": { "maxItemsOne": false, "elem": { "fields": { - "custom_action_timeout_in_mins": {}, "days_of_week": { - "maxItemsOne": false, - "elem": { - "fields": { - "name": {} - } - } + "maxItemsOne": false }, "hours_of_day": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "is_custom_action_timeout_enabled": {}, - "is_monthly_patching_enabled": {}, - "lead_time_in_weeks": {}, "months": { - "maxItemsOne": false, - "elem": { - "fields": { - "name": {} - } - } + "maxItemsOne": false }, - "patching_mode": {}, - "preference": {}, "weeks_of_month": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } } @@ -10469,201 +4800,86 @@ "maxItemsOne": false, "elem": { "fields": { - "custom_action_timeout_in_mins": {}, "days_of_week": { - "maxItemsOne": false, - "elem": { - "fields": { - "name": {} - } - } + "maxItemsOne": false }, "hours_of_day": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "is_custom_action_timeout_enabled": {}, - "is_monthly_patching_enabled": {}, - "lead_time_in_weeks": {}, "months": { - "maxItemsOne": false, - "elem": { - "fields": { - "name": {} - } - } + "maxItemsOne": false }, - "patching_mode": {}, - "preference": {}, "weeks_of_month": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } } - }, - "memory_per_oracle_compute_unit_in_gbs": {}, - "memory_size_in_gbs": {}, - "next_maintenance_run_id": {}, - "node_count": {}, - "ocpus_enabled": {}, - "reclaimable_cpus": {}, - "scan_listener_port_non_tls": {}, - "scan_listener_port_tls": {}, - "state": {}, - "time_created": {}, - "time_zone": {}, - "total_container_databases": {}, - "vm_cluster_network_id": {} + } } }, "oci_database_autonomous_vm_cluster_ords_certificate_management": { - "current": "oci:Database/autonomousVmClusterOrdsCertificateManagement:AutonomousVmClusterOrdsCertificateManagement" + "current": "oci:Database/autonomousVmClusterOrdsCertificateManagement:AutonomousVmClusterOrdsCertificateManagement", + "majorVersion": 1 }, "oci_database_autonomous_vm_cluster_ssl_certificate_management": { - "current": "oci:Database/autonomousVmClusterSslCertificateManagement:AutonomousVmClusterSslCertificateManagement" + "current": "oci:Database/autonomousVmClusterSslCertificateManagement:AutonomousVmClusterSslCertificateManagement", + "majorVersion": 1 }, "oci_database_backup": { "current": "oci:Database/backup:Backup", - "fields": { - "availability_domain": {}, - "compartment_id": {}, - "database_edition": {}, - "database_id": {}, - "database_size_in_gbs": {}, - "display_name": {}, - "kms_key_id": {}, - "kms_key_version_id": {}, - "lifecycle_details": {}, - "shape": {}, - "state": {}, - "time_ended": {}, - "time_started": {}, - "type": {}, - "vault_id": {}, - "version": {} - } + "majorVersion": 1 }, "oci_database_backup_cancel_management": { "current": "oci:Database/backupCancelManagement:BackupCancelManagement", - "fields": { - "backup_id": {}, - "cancel_backup_trigger": {} - } + "majorVersion": 1 }, "oci_database_backup_destination": { "current": "oci:Database/backupDestination:BackupDestination", + "majorVersion": 1, "fields": { "associated_databases": { - "maxItemsOne": false, - "elem": { - "fields": { - "db_name": {}, - "id": {} - } - } + "maxItemsOne": false }, - "compartment_id": {}, - "connection_string": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "lifecycle_details": {}, - "local_mount_point_path": {}, "mount_type_details": { "maxItemsOne": true, "elem": { "fields": { - "local_mount_point_path": {}, - "mount_type": {}, "nfs_server": { - "maxItemsOne": false, - "elem": {} - }, - "nfs_server_export": {} + "maxItemsOne": false + } } } }, - "nfs_mount_type": {}, "nfs_server": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "nfs_server_export": {}, - "state": {}, - "time_created": {}, - "type": {}, "vpc_users": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } }, "oci_database_cloud_autonomous_vm_cluster": { "current": "oci:Database/cloudAutonomousVmCluster:CloudAutonomousVmCluster", + "majorVersion": 1, "fields": { - "autonomous_data_storage_size_in_tbs": {}, - "availability_domain": {}, - "available_autonomous_data_storage_size_in_tbs": {}, - "available_container_databases": {}, - "available_cpus": {}, - "cloud_exadata_infrastructure_id": {}, - "cluster_time_zone": {}, - "compartment_id": {}, - "compute_model": {}, - "cpu_core_count": {}, - "cpu_core_count_per_node": {}, - "data_storage_size_in_gb": {}, - "data_storage_size_in_tbs": {}, - "db_node_storage_size_in_gbs": {}, "db_servers": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "domain": {}, - "freeform_tags": {}, - "hostname": {}, - "is_mtls_enabled_vm_cluster": {}, - "last_maintenance_run_id": {}, - "last_update_history_entry_id": {}, - "license_model": {}, - "lifecycle_details": {}, "maintenance_window": { "maxItemsOne": false, "elem": { "fields": { - "custom_action_timeout_in_mins": {}, "days_of_week": { - "maxItemsOne": false, - "elem": { - "fields": { - "name": {} - } - } + "maxItemsOne": false }, "hours_of_day": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "is_custom_action_timeout_enabled": {}, - "is_monthly_patching_enabled": {}, - "lead_time_in_weeks": {}, "months": { - "maxItemsOne": false, - "elem": { - "fields": { - "name": {} - } - } + "maxItemsOne": false }, - "patching_mode": {}, - "preference": {}, "weeks_of_month": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } } @@ -10672,855 +4888,305 @@ "maxItemsOne": true, "elem": { "fields": { - "custom_action_timeout_in_mins": {}, "days_of_week": { - "maxItemsOne": false, - "elem": { - "fields": { - "name": {} - } - } + "maxItemsOne": false }, "hours_of_day": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "is_custom_action_timeout_enabled": {}, - "is_monthly_patching_enabled": {}, - "lead_time_in_weeks": {}, "months": { - "maxItemsOne": false, - "elem": { - "fields": { - "name": {} - } - } + "maxItemsOne": false }, - "patching_mode": {}, - "preference": {}, "weeks_of_month": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } } }, - "memory_per_oracle_compute_unit_in_gbs": {}, - "memory_size_in_gbs": {}, - "next_maintenance_run_id": {}, - "node_count": {}, "nsg_ids": { - "maxItemsOne": false, - "elem": {} - }, - "ocpu_count": {}, - "reclaimable_cpus": {}, - "scan_listener_port_non_tls": {}, - "scan_listener_port_tls": {}, - "shape": {}, - "state": {}, - "subnet_id": {}, - "time_created": {}, - "time_updated": {}, - "total_container_databases": {} + "maxItemsOne": false + } } }, "oci_database_cloud_database_management": { "current": "oci:Database/cloudDatabaseManagement:CloudDatabaseManagement", + "majorVersion": 1, "fields": { "credentialdetails": { - "maxItemsOne": true, - "elem": { - "fields": { - "password_secret_id": {}, - "user_name": {} - } - } - }, - "database_id": {}, - "enable_management": {}, - "management_type": {}, - "port": {}, - "private_end_point_id": {}, - "protocol": {}, - "role": {}, - "service_name": {}, - "ssl_secret_id": {} + "maxItemsOne": true + } } }, "oci_database_cloud_exadata_infrastructure": { "current": "oci:Database/cloudExadataInfrastructure:CloudExadataInfrastructure", + "majorVersion": 1, "fields": { - "activated_storage_count": {}, - "additional_storage_count": {}, - "availability_domain": {}, - "available_storage_size_in_gbs": {}, - "compartment_id": {}, - "compute_count": {}, - "cpu_count": {}, "customer_contacts": { - "maxItemsOne": false, - "elem": { - "fields": { - "email": {} - } - } + "maxItemsOne": false }, - "data_storage_size_in_tbs": {}, - "db_node_storage_size_in_gbs": {}, - "db_server_version": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "last_maintenance_run_id": {}, - "lifecycle_details": {}, "maintenance_window": { "maxItemsOne": true, "elem": { "fields": { - "custom_action_timeout_in_mins": {}, "days_of_week": { - "maxItemsOne": false, - "elem": { - "fields": { - "name": {} - } - } + "maxItemsOne": false }, "hours_of_day": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "is_custom_action_timeout_enabled": {}, - "is_monthly_patching_enabled": {}, - "lead_time_in_weeks": {}, "months": { - "maxItemsOne": false, - "elem": { - "fields": { - "name": {} - } - } + "maxItemsOne": false }, - "patching_mode": {}, - "preference": {}, "weeks_of_month": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } } - }, - "max_cpu_count": {}, - "max_data_storage_in_tbs": {}, - "max_db_node_storage_in_gbs": {}, - "max_memory_in_gbs": {}, - "memory_size_in_gbs": {}, - "monthly_db_server_version": {}, - "monthly_storage_server_version": {}, - "next_maintenance_run_id": {}, - "shape": {}, - "state": {}, - "storage_count": {}, - "storage_server_version": {}, - "time_created": {}, - "total_storage_size_in_gbs": {} + } } }, "oci_database_cloud_vm_cluster": { "current": "oci:Database/cloudVmCluster:CloudVmCluster", + "majorVersion": 1, "fields": { - "availability_domain": {}, "backup_network_nsg_ids": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "backup_subnet_id": {}, - "cloud_exadata_infrastructure_id": {}, - "cluster_name": {}, - "compartment_id": {}, - "cpu_core_count": {}, - "create_async": {}, "data_collection_options": { - "maxItemsOne": true, - "elem": { - "fields": { - "is_diagnostics_events_enabled": {}, - "is_health_monitoring_enabled": {}, - "is_incident_logs_enabled": {} - } - } + "maxItemsOne": true }, - "data_storage_percentage": {}, - "data_storage_size_in_tbs": {}, - "db_node_storage_size_in_gbs": {}, "db_servers": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "defined_tags": {}, - "disk_redundancy": {}, - "display_name": {}, - "domain": {}, - "freeform_tags": {}, - "gi_version": {}, - "hostname": {}, "iorm_config_cache": { "maxItemsOne": false, "elem": { "fields": { "db_plans": { - "maxItemsOne": false, - "elem": { - "fields": { - "db_name": {}, - "flash_cache_limit": {}, - "share": {} - } - } - }, - "lifecycle_details": {}, - "objective": {}, - "state": {} + "maxItemsOne": false + } } } }, - "is_local_backup_enabled": {}, - "is_sparse_diskgroup_enabled": {}, - "last_update_history_entry_id": {}, - "license_model": {}, - "lifecycle_details": {}, - "listener_port": {}, - "memory_size_in_gbs": {}, - "node_count": {}, "nsg_ids": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "ocpu_count": {}, - "private_zone_id": {}, - "scan_dns_name": {}, - "scan_dns_record_id": {}, "scan_ip_ids": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "scan_listener_port_tcp": {}, - "scan_listener_port_tcp_ssl": {}, - "shape": {}, "ssh_public_keys": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "state": {}, - "storage_size_in_gbs": {}, - "subnet_id": {}, - "system_version": {}, - "time_created": {}, - "time_zone": {}, "vip_ids": { - "maxItemsOne": false, - "elem": {} - }, - "zone_id": {} + "maxItemsOne": false + } } }, "oci_database_cloud_vm_cluster_iorm_config": { "current": "oci:Database/cloudVmClusterIormConfig:CloudVmClusterIormConfig", + "majorVersion": 1, "fields": { - "cloud_vm_cluster_id": {}, "db_plans": { - "maxItemsOne": false, - "elem": { - "fields": { - "db_name": {}, - "flash_cache_limit": {}, - "share": {} - } - } - }, - "lifecycle_details": {}, - "objective": {}, - "state": {} + "maxItemsOne": false + } } }, "oci_database_data_guard_association": { "current": "oci:Database/dataGuardAssociation:DataGuardAssociation", + "majorVersion": 1, "fields": { - "apply_lag": {}, - "apply_rate": {}, - "availability_domain": {}, "backup_network_nsg_ids": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "cpu_core_count": {}, - "create_async": {}, - "creation_type": {}, "data_collection_options": { - "maxItemsOne": true, - "elem": { - "fields": { - "is_diagnostics_events_enabled": {}, - "is_health_monitoring_enabled": {}, - "is_incident_logs_enabled": {} - } - } + "maxItemsOne": true }, - "database_admin_password": {}, - "database_defined_tags": {}, - "database_freeform_tags": {}, - "database_id": {}, - "database_software_image_id": {}, - "db_system_defined_tags": {}, - "db_system_freeform_tags": {}, - "delete_standby_db_home_on_delete": {}, - "display_name": {}, "fault_domains": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "hostname": {}, - "is_active_data_guard_enabled": {}, - "license_model": {}, - "lifecycle_details": {}, - "node_count": {}, "nsg_ids": { - "maxItemsOne": false, - "elem": {} - }, - "peer_data_guard_association_id": {}, - "peer_database_id": {}, - "peer_db_home_id": {}, - "peer_db_system_id": {}, - "peer_db_unique_name": {}, - "peer_role": {}, - "peer_sid_prefix": {}, - "peer_vm_cluster_id": {}, - "private_ip": {}, - "protection_mode": {}, - "role": {}, - "shape": {}, - "state": {}, - "storage_volume_performance_mode": {}, - "subnet_id": {}, - "time_created": {}, - "time_zone": {}, - "transport_type": {} + "maxItemsOne": false + } } }, "oci_database_database": { "current": "oci:Database/database:Database", + "majorVersion": 1, "fields": { - "character_set": {}, - "compartment_id": {}, "connection_strings": { - "maxItemsOne": false, - "elem": { - "fields": { - "all_connection_strings": {}, - "cdb_default": {}, - "cdb_ip_default": {} - } - } + "maxItemsOne": false }, "database": { "maxItemsOne": true, "elem": { "fields": { - "admin_password": {}, - "backup_id": {}, - "backup_tde_password": {}, - "character_set": {}, - "database_software_image_id": {}, "db_backup_config": { "maxItemsOne": true, "elem": { "fields": { - "auto_backup_enabled": {}, - "auto_backup_window": {}, - "backup_deletion_policy": {}, "backup_destination_details": { - "maxItemsOne": false, - "elem": { - "fields": { - "dbrs_policy_id": {}, - "id": {}, - "type": {}, - "vpc_user": {} - } - } - }, - "recovery_window_in_days": {} + "maxItemsOne": false + } } } - }, - "db_name": {}, - "db_unique_name": {}, - "db_workload": {}, - "defined_tags": {}, - "freeform_tags": {}, - "kms_key_id": {}, - "kms_key_version_id": {}, - "ncharacter_set": {}, - "pdb_name": {}, - "sid_prefix": {}, - "tde_wallet_password": {}, - "vault_id": {} + } } } }, "database_management_config": { - "maxItemsOne": false, - "elem": { - "fields": { - "management_status": {}, - "management_type": {} - } - } + "maxItemsOne": false }, - "database_software_image_id": {}, "db_backup_config": { "maxItemsOne": false, "elem": { "fields": { - "auto_backup_enabled": {}, - "auto_backup_window": {}, - "backup_deletion_policy": {}, "backup_destination_details": { - "maxItemsOne": false, - "elem": { - "fields": { - "dbrs_policy_id": {}, - "id": {}, - "type": {}, - "vpc_user": {} - } - } - }, - "recovery_window_in_days": {} + "maxItemsOne": false + } } } - }, - "db_home_id": {}, - "db_name": {}, - "db_system_id": {}, - "db_unique_name": {}, - "db_version": {}, - "db_workload": {}, - "defined_tags": {}, - "freeform_tags": {}, - "is_cdb": {}, - "kms_key_id": {}, - "kms_key_migration": {}, - "kms_key_rotation": {}, - "kms_key_version_id": {}, - "last_backup_duration_in_seconds": {}, - "last_backup_timestamp": {}, - "last_failed_backup_timestamp": {}, - "lifecycle_details": {}, - "ncharacter_set": {}, - "pdb_name": {}, - "sid_prefix": {}, - "source": {}, - "source_database_point_in_time_recovery_timestamp": {}, - "state": {}, - "time_created": {}, - "vault_id": {}, - "vm_cluster_id": {} + } } }, "oci_database_database_software_image": { "current": "oci:Database/databaseSoftwareImage:DatabaseSoftwareImage", + "majorVersion": 1, "fields": { - "compartment_id": {}, "database_software_image_included_patches": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "database_software_image_one_off_patches": { - "maxItemsOne": false, - "elem": {} - }, - "database_version": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "image_shape_family": {}, - "image_type": {}, - "included_patches_summary": {}, - "is_upgrade_supported": {}, - "lifecycle_details": {}, - "ls_inventory": {}, - "patch_set": {}, - "source_db_home_id": {}, - "state": {}, - "time_created": {} + "maxItemsOne": false + } } }, "oci_database_database_upgrade": { "current": "oci:Database/databaseUpgrade:DatabaseUpgrade", + "majorVersion": 1, "fields": { - "action": {}, - "character_set": {}, - "compartment_id": {}, "connection_strings": { - "maxItemsOne": false, - "elem": { - "fields": { - "all_connection_strings": {}, - "cdb_default": {}, - "cdb_ip_default": {} - } - } + "maxItemsOne": false }, - "database_id": {}, - "database_software_image_id": {}, "database_upgrade_source_details": { - "maxItemsOne": true, - "elem": { - "fields": { - "database_software_image_id": {}, - "db_version": {}, - "options": {}, - "source": {} - } - } + "maxItemsOne": true }, "db_backup_config": { "maxItemsOne": false, "elem": { "fields": { - "auto_backup_enabled": {}, - "auto_backup_window": {}, - "backup_deletion_policy": {}, "backup_destination_details": { - "maxItemsOne": false, - "elem": { - "fields": { - "dbrs_policy_id": {}, - "id": {}, - "internet_proxy": {}, - "type": {}, - "vpc_password": {}, - "vpc_user": {} - } - } - }, - "recovery_window_in_days": {} + "maxItemsOne": false + } } } - }, - "db_home_id": {}, - "db_name": {}, - "db_system_id": {}, - "db_unique_name": {}, - "db_workload": {}, - "defined_tags": {}, - "freeform_tags": {}, - "is_cdb": {}, - "kms_key_id": {}, - "kms_key_version_id": {}, - "last_backup_duration_in_seconds": {}, - "last_backup_timestamp": {}, - "last_failed_backup_timestamp": {}, - "lifecycle_details": {}, - "ncharacter_set": {}, - "pdb_name": {}, - "sid_prefix": {}, - "source_database_point_in_time_recovery_timestamp": {}, - "state": {}, - "time_created": {}, - "vault_id": {}, - "vm_cluster_id": {} + } } }, "oci_database_db_home": { "current": "oci:Database/dbHome:DbHome", + "majorVersion": 1, "fields": { - "compartment_id": {}, "database": { "maxItemsOne": true, "elem": { "fields": { - "admin_password": {}, - "backup_id": {}, - "backup_tde_password": {}, - "character_set": {}, "connection_strings": { - "maxItemsOne": false, - "elem": { - "fields": { - "all_connection_strings": {}, - "cdb_default": {}, - "cdb_ip_default": {} - } - } + "maxItemsOne": false }, - "database_id": {}, - "database_software_image_id": {}, "db_backup_config": { "maxItemsOne": true, "elem": { "fields": { - "auto_backup_enabled": {}, - "auto_backup_window": {}, - "backup_deletion_policy": {}, "backup_destination_details": { - "maxItemsOne": false, - "elem": { - "fields": { - "dbrs_policy_id": {}, - "id": {}, - "type": {} - } - } - }, - "recovery_window_in_days": {} + "maxItemsOne": false + } } } }, - "db_name": {}, - "db_unique_name": {}, - "db_workload": {}, - "defined_tags": {}, - "freeform_tags": {}, - "id": {}, - "kms_key_id": {}, - "kms_key_version_id": {}, - "lifecycle_details": {}, - "ncharacter_set": {}, "one_off_patches": { - "maxItemsOne": false, - "elem": {} - }, - "pdb_name": {}, - "sid_prefix": {}, - "state": {}, - "tde_wallet_password": {}, - "time_created": {}, - "time_stamp_for_point_in_time_recovery": {}, - "vault_id": {} + "maxItemsOne": false + } } } - }, - "database_software_image_id": {}, - "db_home_location": {}, - "db_system_id": {}, - "db_version": {}, - "defined_tags": {}, - "display_name": {}, - "enable_database_delete": {}, - "freeform_tags": {}, - "is_desupported_version": {}, - "kms_key_id": {}, - "kms_key_version_id": {}, - "last_patch_history_entry_id": {}, - "lifecycle_details": {}, - "source": {}, - "state": {}, - "time_created": {}, - "vm_cluster_id": {} + } } }, "oci_database_db_node": { - "current": "oci:Database/dbNode:DbNode" + "current": "oci:Database/dbNode:DbNode", + "majorVersion": 1 }, "oci_database_db_node_console_connection": { "current": "oci:Database/dbNodeConsoleConnection:DbNodeConsoleConnection", - "fields": { - "compartment_id": {}, - "connection_string": {}, - "db_node_id": {}, - "fingerprint": {}, - "public_key": {}, - "state": {} - } + "majorVersion": 1 }, "oci_database_db_system": { "current": "oci:Database/dbSystem:DbSystem", + "majorVersion": 1, "fields": { - "availability_domain": {}, "backup_network_nsg_ids": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "backup_subnet_id": {}, - "cluster_name": {}, - "compartment_id": {}, - "cpu_core_count": {}, "data_collection_options": { - "maxItemsOne": true, - "elem": { - "fields": { - "is_diagnostics_events_enabled": {}, - "is_health_monitoring_enabled": {}, - "is_incident_logs_enabled": {} - } - } + "maxItemsOne": true }, - "data_storage_percentage": {}, - "data_storage_size_in_gb": {}, - "database_edition": {}, "db_home": { "maxItemsOne": true, "elem": { "fields": { - "create_async": {}, "database": { "maxItemsOne": true, "elem": { "fields": { - "admin_password": {}, - "backup_id": {}, - "backup_tde_password": {}, - "character_set": {}, "connection_strings": { - "maxItemsOne": false, - "elem": { - "fields": { - "all_connection_strings": {}, - "cdb_default": {}, - "cdb_ip_default": {} - } - } + "maxItemsOne": false }, - "database_id": {}, - "database_software_image_id": {}, "db_backup_config": { "maxItemsOne": true, "elem": { "fields": { - "auto_backup_enabled": {}, - "auto_backup_window": {}, - "backup_deletion_policy": {}, "backup_destination_details": { - "maxItemsOne": false, - "elem": { - "fields": { - "dbrs_policy_id": {}, - "id": {}, - "type": {} - } - } - }, - "recovery_window_in_days": {} + "maxItemsOne": false + } } } - }, - "db_domain": {}, - "db_name": {}, - "db_unique_name": {}, - "db_workload": {}, - "defined_tags": {}, - "freeform_tags": {}, - "id": {}, - "kms_key_id": {}, - "kms_key_version_id": {}, - "lifecycle_details": {}, - "ncharacter_set": {}, - "pdb_name": {}, - "state": {}, - "tde_wallet_password": {}, - "time_created": {}, - "time_stamp_for_point_in_time_recovery": {}, - "vault_id": {} - } - } - }, - "database_software_image_id": {}, - "db_home_location": {}, - "db_version": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "id": {}, - "last_patch_history_entry_id": {}, - "lifecycle_details": {}, - "state": {}, - "time_created": {} + } + } + } + } } } }, "db_system_options": { - "maxItemsOne": true, - "elem": { - "fields": { - "storage_management": {} - } - } + "maxItemsOne": true }, - "defined_tags": {}, - "disk_redundancy": {}, - "display_name": {}, - "domain": {}, "fault_domains": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "freeform_tags": {}, - "hostname": {}, "iorm_config_cache": { "maxItemsOne": false, "elem": { "fields": { "db_plans": { - "maxItemsOne": false, - "elem": { - "fields": { - "db_name": {}, - "flash_cache_limit": {}, - "share": {} - } - } - }, - "db_system_id": {}, - "lifecycle_details": {}, - "objective": {}, - "state": {} + "maxItemsOne": false + } } } }, - "kms_key_id": {}, - "kms_key_version_id": {}, - "last_maintenance_run_id": {}, - "last_patch_history_entry_id": {}, - "license_model": {}, - "lifecycle_details": {}, - "listener_port": {}, "maintenance_window": { "maxItemsOne": false, "elem": { "fields": { - "custom_action_timeout_in_mins": {}, "days_of_week": { - "maxItemsOne": false, - "elem": { - "fields": { - "name": {} - } - } + "maxItemsOne": false }, "hours_of_day": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "is_custom_action_timeout_enabled": {}, - "is_monthly_patching_enabled": {}, - "lead_time_in_weeks": {}, "months": { - "maxItemsOne": false, - "elem": { - "fields": { - "name": {} - } - } + "maxItemsOne": false }, - "patching_mode": {}, - "preference": {}, "weeks_of_month": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } } @@ -11529,802 +5195,305 @@ "maxItemsOne": true, "elem": { "fields": { - "custom_action_timeout_in_mins": {}, "days_of_week": { - "maxItemsOne": false, - "elem": { - "fields": { - "name": {} - } - } + "maxItemsOne": false }, "hours_of_day": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "is_custom_action_timeout_enabled": {}, - "is_monthly_patching_enabled": {}, - "lead_time_in_weeks": {}, "months": { - "maxItemsOne": false, - "elem": { - "fields": { - "name": {} - } - } + "maxItemsOne": false }, - "patching_mode": {}, - "preference": {}, "weeks_of_month": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } } }, - "memory_size_in_gbs": {}, - "next_maintenance_run_id": {}, - "node_count": {}, "nsg_ids": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "os_version": {}, - "point_in_time_data_disk_clone_timestamp": {}, - "private_ip": {}, - "reco_storage_size_in_gb": {}, - "scan_dns_name": {}, - "scan_dns_record_id": {}, "scan_ip_ids": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "shape": {}, - "source": {}, - "source_db_system_id": {}, - "sparse_diskgroup": {}, "ssh_public_keys": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "state": {}, - "storage_volume_performance_mode": {}, - "subnet_id": {}, - "time_created": {}, - "time_zone": {}, - "version": {}, "vip_ids": { - "maxItemsOne": false, - "elem": {} - }, - "zone_id": {} + "maxItemsOne": false + } } }, "oci_database_db_systems_upgrade": { "current": "oci:Database/dbSystemsUpgrade:DbSystemsUpgrade", + "majorVersion": 1, "fields": { - "action": {}, - "availability_domain": {}, "backup_network_nsg_ids": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "backup_subnet_id": {}, - "cluster_name": {}, - "compartment_id": {}, - "cpu_core_count": {}, - "data_storage_percentage": {}, - "data_storage_size_in_gb": {}, - "database_edition": {}, - "db_system_id": {}, "db_system_options": { - "maxItemsOne": false, - "elem": { - "fields": { - "storage_management": {} - } - } + "maxItemsOne": false }, - "defined_tags": {}, - "disk_redundancy": {}, - "display_name": {}, - "domain": {}, "fault_domains": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "freeform_tags": {}, - "hostname": {}, "iorm_config_cache": { "maxItemsOne": false, "elem": { "fields": { "db_plans": { - "maxItemsOne": false, - "elem": { - "fields": { - "db_name": {}, - "flash_cache_limit": {}, - "share": {} - } - } - }, - "lifecycle_details": {}, - "objective": {}, - "state": {} + "maxItemsOne": false + } } } }, - "is_snapshot_retention_days_force_updated": {}, - "kms_key_id": {}, - "last_maintenance_run_id": {}, - "last_patch_history_entry_id": {}, - "license_model": {}, - "lifecycle_details": {}, - "listener_port": {}, "maintenance_window": { "maxItemsOne": false, "elem": { "fields": { "days_of_week": { - "maxItemsOne": false, - "elem": { - "fields": { - "name": {} - } - } + "maxItemsOne": false }, "hours_of_day": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "lead_time_in_weeks": {}, "months": { - "maxItemsOne": false, - "elem": { - "fields": { - "name": {} - } - } + "maxItemsOne": false }, - "preference": {}, "weeks_of_month": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } } }, - "new_gi_version": {}, - "next_maintenance_run_id": {}, - "node_count": {}, "nsg_ids": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "point_in_time_data_disk_clone_timestamp": {}, - "reco_storage_size_in_gb": {}, - "scan_dns_name": {}, - "scan_dns_record_id": {}, "scan_ip_ids": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "shape": {}, - "snapshot_retention_period_in_days": {}, - "source_db_system_id": {}, - "sparse_diskgroup": {}, "ssh_public_keys": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "state": {}, - "subnet_id": {}, - "time_created": {}, - "time_zone": {}, - "version": {}, "vip_ids": { - "maxItemsOne": false, - "elem": {} - }, - "zone_id": {} + "maxItemsOne": false + } } }, "oci_database_exadata_infrastructure": { "current": "oci:Database/exadataInfrastructure:ExadataInfrastructure", + "majorVersion": 1, "fields": { - "activated_storage_count": {}, - "activation_file": {}, - "additional_compute_count": {}, - "additional_compute_system_model": {}, - "additional_storage_count": {}, - "admin_network_cidr": {}, - "cloud_control_plane_server1": {}, - "cloud_control_plane_server2": {}, - "compartment_id": {}, - "compute_count": {}, "contacts": { - "maxItemsOne": false, - "elem": { - "fields": { - "email": {}, - "is_contact_mos_validated": {}, - "is_primary": {}, - "name": {}, - "phone_number": {} - } - } + "maxItemsOne": false }, - "corporate_proxy": {}, - "cpus_enabled": {}, - "create_async": {}, - "csi_number": {}, - "data_storage_size_in_tbs": {}, - "db_node_storage_size_in_gbs": {}, - "db_server_version": {}, - "defined_tags": {}, - "display_name": {}, "dns_server": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "freeform_tags": {}, - "gateway": {}, - "infini_band_network_cidr": {}, - "is_cps_offline_report_enabled": {}, - "is_multi_rack_deployment": {}, - "lifecycle_details": {}, - "maintenance_slo_status": {}, "maintenance_window": { "maxItemsOne": true, "elem": { "fields": { - "custom_action_timeout_in_mins": {}, "days_of_week": { - "maxItemsOne": false, - "elem": { - "fields": { - "name": {} - } - } + "maxItemsOne": false }, "hours_of_day": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "is_custom_action_timeout_enabled": {}, - "is_monthly_patching_enabled": {}, - "lead_time_in_weeks": {}, "months": { - "maxItemsOne": false, - "elem": { - "fields": { - "name": {} - } - } + "maxItemsOne": false }, - "patching_mode": {}, - "preference": {}, "weeks_of_month": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } } }, - "max_cpu_count": {}, - "max_data_storage_in_tbs": {}, - "max_db_node_storage_in_gbs": {}, - "max_memory_in_gbs": {}, - "memory_size_in_gbs": {}, - "monthly_db_server_version": {}, - "multi_rack_configuration_file": {}, - "netmask": {}, "network_bonding_mode_details": { "maxItemsOne": true }, "ntp_server": { - "maxItemsOne": false, - "elem": {} - }, - "shape": {}, - "state": {}, - "storage_count": {}, - "storage_server_version": {}, - "time_created": {}, - "time_zone": {} + "maxItemsOne": false + } } }, "oci_database_exadata_infrastructure_compute": { "current": "oci:Database/exadataInfrastructureCompute:ExadataInfrastructureCompute", + "majorVersion": 1, "fields": { - "activated_storage_count": {}, - "activation_file": {}, - "additional_compute_count": {}, - "additional_compute_count_compute_managed_resource": {}, - "additional_compute_system_model": {}, - "additional_compute_system_model_compute_managed_resource": {}, - "additional_storage_count": {}, - "admin_network_cidr": {}, - "cloud_control_plane_server1": {}, - "cloud_control_plane_server2": {}, - "compartment_id": {}, - "compute_count": {}, "contacts": { - "maxItemsOne": false, - "elem": { - "fields": { - "email": {}, - "is_contact_mos_validated": {}, - "is_primary": {}, - "name": {}, - "phone_number": {} - } - } + "maxItemsOne": false }, - "corporate_proxy": {}, - "cpus_enabled": {}, - "create_async": {}, - "csi_number": {}, - "data_storage_size_in_tbs": {}, - "db_node_storage_size_in_gbs": {}, - "db_server_version": {}, - "defined_tags": {}, - "display_name": {}, "dns_server": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "exadata_infrastructure_id": {}, - "freeform_tags": {}, - "gateway": {}, - "infini_band_network_cidr": {}, - "is_cps_offline_report_enabled": {}, - "lifecycle_details": {}, - "maintenance_slo_status": {}, "maintenance_window": { "maxItemsOne": false, "elem": { "fields": { - "custom_action_timeout_in_mins": {}, "days_of_week": { - "maxItemsOne": false, - "elem": { - "fields": { - "name": {} - } - } + "maxItemsOne": false }, "hours_of_day": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "is_custom_action_timeout_enabled": {}, - "is_monthly_patching_enabled": {}, - "lead_time_in_weeks": {}, "months": { - "maxItemsOne": false, - "elem": { - "fields": { - "name": {} - } - } + "maxItemsOne": false }, - "patching_mode": {}, - "preference": {}, "weeks_of_month": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } } }, - "max_cpu_count": {}, - "max_data_storage_in_tbs": {}, - "max_db_node_storage_in_gbs": {}, - "max_memory_in_gbs": {}, - "memory_size_in_gbs": {}, - "monthly_db_server_version": {}, - "netmask": {}, "ntp_server": { - "maxItemsOne": false, - "elem": {} - }, - "shape": {}, - "state": {}, - "storage_count": {}, - "storage_server_version": {}, - "time_created": {}, - "time_zone": {} + "maxItemsOne": false + } } }, "oci_database_exadata_infrastructure_storage": { "current": "oci:Database/exadataInfrastructureStorage:ExadataInfrastructureStorage", + "majorVersion": 1, "fields": { - "activated_storage_count": {}, - "activation_file": {}, - "additional_storage_count": {}, - "admin_network_cidr": {}, - "cloud_control_plane_server1": {}, - "cloud_control_plane_server2": {}, - "compartment_id": {}, - "compute_count": {}, "contacts": { - "maxItemsOne": false, - "elem": { - "fields": { - "email": {}, - "is_contact_mos_validated": {}, - "is_primary": {}, - "name": {}, - "phone_number": {} - } - } + "maxItemsOne": false }, - "corporate_proxy": {}, - "cpus_enabled": {}, - "csi_number": {}, - "data_storage_size_in_tbs": {}, - "db_node_storage_size_in_gbs": {}, - "defined_tags": {}, - "display_name": {}, "dns_server": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "exadata_infrastructure_id": {}, - "freeform_tags": {}, - "gateway": {}, - "infini_band_network_cidr": {}, - "lifecycle_details": {}, - "maintenance_slo_status": {}, "maintenance_window": { "maxItemsOne": true, "elem": { "fields": { "days_of_week": { - "maxItemsOne": false, - "elem": { - "fields": { - "name": {} - } - } + "maxItemsOne": false }, "hours_of_day": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "lead_time_in_weeks": {}, "months": { - "maxItemsOne": false, - "elem": { - "fields": { - "name": {} - } - } + "maxItemsOne": false }, - "preference": {}, "weeks_of_month": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } } }, - "max_cpu_count": {}, - "max_data_storage_in_tbs": {}, - "max_db_node_storage_in_gbs": {}, - "max_memory_in_gbs": {}, - "memory_size_in_gbs": {}, - "netmask": {}, "ntp_server": { - "maxItemsOne": false, - "elem": {} - }, - "shape": {}, - "state": {}, - "storage_count": {}, - "time_created": {}, - "time_zone": {} + "maxItemsOne": false + } } }, "oci_database_exadata_iorm_config": { "current": "oci:Database/exadataIormConfig:ExadataIormConfig", + "majorVersion": 1, "fields": { "db_plans": { - "maxItemsOne": false, - "elem": { - "fields": { - "db_name": {}, - "flash_cache_limit": {}, - "share": {} - } - } - }, - "db_system_id": {}, - "lifecycle_details": {}, - "objective": {}, - "state": {} + "maxItemsOne": false + } } }, "oci_database_external_container_database": { "current": "oci:Database/externalContainerDatabase:ExternalContainerDatabase", + "majorVersion": 1, "fields": { - "character_set": {}, - "compartment_id": {}, - "database_configuration": {}, - "database_edition": {}, "database_management_config": { - "maxItemsOne": false, - "elem": { - "fields": { - "database_management_connection_id": {}, - "database_management_status": {}, - "license_model": {} - } - } + "maxItemsOne": false }, - "database_version": {}, - "db_id": {}, - "db_packs": {}, - "db_unique_name": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "lifecycle_details": {}, - "ncharacter_set": {}, "stack_monitoring_config": { - "maxItemsOne": false, - "elem": { - "fields": { - "stack_monitoring_connector_id": {}, - "stack_monitoring_status": {} - } - } - }, - "state": {}, - "time_created": {}, - "time_zone": {} + "maxItemsOne": false + } } }, "oci_database_external_container_database_management": { "current": "oci:Database/externalContainerDatabaseManagement:ExternalContainerDatabaseManagement", - "fields": { - "enable_management": {}, - "external_container_database_id": {}, - "external_database_connector_id": {}, - "license_model": {} - } + "majorVersion": 1 }, "oci_database_external_database_connector": { "current": "oci:Database/externalDatabaseConnector:ExternalDatabaseConnector", + "majorVersion": 1, "fields": { - "compartment_id": {}, "connection_credentials": { - "maxItemsOne": true, - "elem": { - "fields": { - "credential_name": {}, - "credential_type": {}, - "password": {}, - "role": {}, - "ssl_secret_id": {}, - "username": {} - } - } + "maxItemsOne": true }, - "connection_status": {}, "connection_string": { - "maxItemsOne": true, - "elem": { - "fields": { - "hostname": {}, - "port": {}, - "protocol": {}, - "service": {} - } - } - }, - "connector_agent_id": {}, - "connector_type": {}, - "defined_tags": {}, - "display_name": {}, - "external_database_id": {}, - "freeform_tags": {}, - "lifecycle_details": {}, - "state": {}, - "time_connection_status_last_updated": {}, - "time_created": {} + "maxItemsOne": true + } } }, "oci_database_external_non_container_database": { "current": "oci:Database/externalNonContainerDatabase:ExternalNonContainerDatabase", + "majorVersion": 1, "fields": { - "character_set": {}, - "compartment_id": {}, - "database_configuration": {}, - "database_edition": {}, "database_management_config": { - "maxItemsOne": false, - "elem": { - "fields": { - "database_management_connection_id": {}, - "database_management_status": {}, - "license_model": {} - } - } + "maxItemsOne": false }, - "database_version": {}, - "db_id": {}, - "db_packs": {}, - "db_unique_name": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "lifecycle_details": {}, - "ncharacter_set": {}, "operations_insights_config": { - "maxItemsOne": false, - "elem": { - "fields": { - "operations_insights_connector_id": {}, - "operations_insights_status": {} - } - } + "maxItemsOne": false }, "stack_monitoring_config": { - "maxItemsOne": false, - "elem": { - "fields": { - "stack_monitoring_connector_id": {}, - "stack_monitoring_status": {} - } - } - }, - "state": {}, - "time_created": {}, - "time_zone": {} + "maxItemsOne": false + } } }, "oci_database_external_non_container_database_management": { "current": "oci:Database/externalNonContainerDatabaseManagement:ExternalNonContainerDatabaseManagement", - "fields": { - "enable_management": {}, - "external_database_connector_id": {}, - "external_non_container_database_id": {}, - "license_model": {} - } + "majorVersion": 1 }, "oci_database_external_non_container_database_operations_insights_management": { "current": "oci:Database/externalNonContainerDatabaseOperationsInsightsManagement:ExternalNonContainerDatabaseOperationsInsightsManagement", - "fields": { - "enable_operations_insights": {}, - "external_database_connector_id": {}, - "external_non_container_database_id": {} - } + "majorVersion": 1 }, "oci_database_external_pluggable_database": { "current": "oci:Database/externalPluggableDatabase:ExternalPluggableDatabase", + "majorVersion": 1, "fields": { - "character_set": {}, - "compartment_id": {}, - "database_configuration": {}, - "database_edition": {}, "database_management_config": { - "maxItemsOne": false, - "elem": { - "fields": { - "database_management_connection_id": {}, - "database_management_status": {}, - "license_model": {} - } - } + "maxItemsOne": false }, - "database_version": {}, - "db_id": {}, - "db_packs": {}, - "db_unique_name": {}, - "defined_tags": {}, - "display_name": {}, - "external_container_database_id": {}, - "freeform_tags": {}, - "lifecycle_details": {}, - "ncharacter_set": {}, "operations_insights_config": { - "maxItemsOne": false, - "elem": { - "fields": { - "operations_insights_connector_id": {}, - "operations_insights_status": {} - } - } + "maxItemsOne": false }, - "source_id": {}, "stack_monitoring_config": { - "maxItemsOne": false, - "elem": { - "fields": { - "stack_monitoring_connector_id": {}, - "stack_monitoring_status": {} - } - } - }, - "state": {}, - "time_created": {}, - "time_zone": {} + "maxItemsOne": false + } } }, "oci_database_external_pluggable_database_management": { "current": "oci:Database/externalPluggableDatabaseManagement:ExternalPluggableDatabaseManagement", - "fields": { - "enable_management": {}, - "external_database_connector_id": {}, - "external_pluggable_database_id": {} - } + "majorVersion": 1 }, "oci_database_external_pluggable_database_operations_insights_management": { "current": "oci:Database/externalPluggableDatabaseOperationsInsightsManagement:ExternalPluggableDatabaseOperationsInsightsManagement", - "fields": { - "enable_operations_insights": {}, - "external_database_connector_id": {}, - "external_pluggable_database_id": {} - } + "majorVersion": 1 }, "oci_database_externalcontainerdatabases_stack_monitoring": { "current": "oci:Database/externalContainerDatabasesStackMonitoring:ExternalContainerDatabasesStackMonitoring", - "fields": { - "enable_stack_monitoring": {}, - "external_container_database_id": {}, - "external_database_connector_id": {} - } + "majorVersion": 1 }, "oci_database_externalnoncontainerdatabases_stack_monitoring": { "current": "oci:Database/externalNonContainerDatabasesStackMonitoring:ExternalNonContainerDatabasesStackMonitoring", - "fields": { - "enable_stack_monitoring": {}, - "external_database_connector_id": {}, - "external_non_container_database_id": {} - } + "majorVersion": 1 }, "oci_database_externalpluggabledatabases_stack_monitoring": { "current": "oci:Database/externalPluggableDatabasesStackMonitoring:ExternalPluggableDatabasesStackMonitoring", - "fields": { - "enable_stack_monitoring": {}, - "external_database_connector_id": {}, - "external_pluggable_database_id": {} - } + "majorVersion": 1 }, "oci_database_key_store": { "current": "oci:Database/keyStore:KeyStore", + "majorVersion": 1, "fields": { "associated_databases": { - "maxItemsOne": false, - "elem": { - "fields": { - "db_name": {}, - "id": {} - } - } + "maxItemsOne": false }, - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "lifecycle_details": {}, - "state": {}, - "time_created": {}, "type_details": { "maxItemsOne": true, "elem": { "fields": { - "admin_username": {}, "connection_ips": { - "maxItemsOne": false, - "elem": {} - }, - "secret_id": {}, - "type": {}, - "vault_id": {} + "maxItemsOne": false + } } } } @@ -12332,649 +5501,284 @@ }, "oci_database_maintenance_run": { "current": "oci:Database/maintenanceRun:MaintenanceRun", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "current_custom_action_timeout_in_mins": {}, - "current_patching_component": {}, - "custom_action_timeout_in_mins": {}, - "description": {}, - "display_name": {}, - "estimated_component_patching_start_time": {}, "estimated_patching_time": { - "maxItemsOne": false, - "elem": { - "fields": { - "estimated_db_server_patching_time": {}, - "estimated_network_switches_patching_time": {}, - "estimated_storage_server_patching_time": {}, - "total_estimated_patching_time": {} - } - } - }, - "is_custom_action_timeout_enabled": {}, - "is_enabled": {}, - "is_patch_now_enabled": {}, - "is_resume_patching": {}, - "lifecycle_details": {}, - "maintenance_run_id": {}, - "maintenance_subtype": {}, - "maintenance_type": {}, - "patch_failure_count": {}, - "patch_id": {}, - "patching_end_time": {}, - "patching_mode": {}, - "patching_start_time": {}, - "patching_status": {}, - "peer_maintenance_run_id": {}, - "state": {}, - "target_db_server_version": {}, - "target_resource_id": {}, - "target_resource_type": {}, - "target_storage_server_version": {}, - "time_ended": {}, - "time_scheduled": {}, - "time_started": {} + "maxItemsOne": false + } } }, "oci_database_management_db_management_private_endpoint": { "current": "oci:DatabaseManagement/dbManagementPrivateEndpoint:DbManagementPrivateEndpoint", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "description": {}, - "is_cluster": {}, - "name": {}, "nsg_ids": { - "maxItemsOne": false, - "elem": {} - }, - "private_ip": {}, - "state": {}, - "subnet_id": {}, - "time_created": {}, - "vcn_id": {} + "maxItemsOne": false + } } }, "oci_database_management_external_asm": { "current": "oci:DatabaseManagement/externalAsm:ExternalAsm", + "majorVersion": 1, "fields": { - "additional_details": {}, - "compartment_id": {}, - "component_name": {}, - "display_name": {}, - "external_asm_id": {}, - "external_connector_id": {}, - "external_db_system_id": {}, - "grid_home": {}, - "is_cluster": {}, - "is_flex_enabled": {}, - "lifecycle_details": {}, "serviced_databases": { "maxItemsOne": false, "elem": { "fields": { - "compartment_id": {}, - "database_sub_type": {}, - "database_type": {}, - "db_unique_name": {}, "disk_groups": { - "maxItemsOne": false, - "elem": {} - }, - "display_name": {}, - "id": {}, - "is_managed": {} + "maxItemsOne": false + } } } - }, - "state": {}, - "time_created": {}, - "time_updated": {}, - "version": {} + } } }, "oci_database_management_external_cluster": { "current": "oci:DatabaseManagement/externalCluster:ExternalCluster", + "majorVersion": 1, "fields": { - "additional_details": {}, - "compartment_id": {}, - "component_name": {}, - "display_name": {}, - "external_cluster_id": {}, - "external_connector_id": {}, - "external_db_system_id": {}, - "grid_home": {}, - "is_flex_cluster": {}, - "lifecycle_details": {}, "network_configurations": { - "maxItemsOne": false, - "elem": { - "fields": { - "network_number": {}, - "network_type": {}, - "subnet": {} - } - } + "maxItemsOne": false }, - "ocr_file_location": {}, "scan_configurations": { - "maxItemsOne": false, - "elem": { - "fields": { - "network_number": {}, - "scan_name": {}, - "scan_port": {}, - "scan_protocol": {} - } - } + "maxItemsOne": false }, - "state": {}, - "time_created": {}, - "time_updated": {}, - "version": {}, "vip_configurations": { - "maxItemsOne": false, - "elem": { - "fields": { - "address": {}, - "network_number": {}, - "node_name": {} - } - } + "maxItemsOne": false } } }, "oci_database_management_external_cluster_instance": { "current": "oci:DatabaseManagement/externalClusterInstance:ExternalClusterInstance", - "fields": { - "adr_home_directory": {}, - "compartment_id": {}, - "component_name": {}, - "crs_base_directory": {}, - "display_name": {}, - "external_cluster_id": {}, - "external_cluster_instance_id": {}, - "external_connector_id": {}, - "external_db_node_id": {}, - "external_db_system_id": {}, - "host_name": {}, - "lifecycle_details": {}, - "node_role": {}, - "state": {}, - "time_created": {}, - "time_updated": {} - } + "majorVersion": 1 }, "oci_database_management_external_db_node": { "current": "oci:DatabaseManagement/externalDbNode:ExternalDbNode", - "fields": { - "additional_details": {}, - "compartment_id": {}, - "component_name": {}, - "cpu_core_count": {}, - "display_name": {}, - "external_connector_id": {}, - "external_db_node_id": {}, - "external_db_system_id": {}, - "host_name": {}, - "lifecycle_details": {}, - "memory_size_in_gbs": {}, - "state": {}, - "time_created": {}, - "time_updated": {} - } + "majorVersion": 1 }, "oci_database_management_external_db_system": { "current": "oci:DatabaseManagement/externalDbSystem:ExternalDbSystem", + "majorVersion": 1, "fields": { - "compartment_id": {}, "database_management_config": { - "maxItemsOne": true, - "elem": { - "fields": { - "license_model": {} - } - } + "maxItemsOne": true }, - "db_system_discovery_id": {}, - "discovery_agent_id": {}, - "display_name": {}, - "home_directory": {}, - "is_cluster": {}, - "lifecycle_details": {}, "stack_monitoring_config": { "maxItemsOne": true - }, - "state": {}, - "time_created": {}, - "time_updated": {} + } } }, "oci_database_management_external_db_system_connector": { "current": "oci:DatabaseManagement/externalDbSystemConnector:ExternalDbSystemConnector", + "majorVersion": 1, "fields": { - "agent_id": {}, - "compartment_id": {}, - "connection_failure_message": {}, "connection_info": { "maxItemsOne": false, "elem": { "fields": { - "component_type": {}, "connection_credentials": { + "maxItemsOne": false + }, + "connection_string": { "maxItemsOne": false, "elem": { "fields": { - "credential_name": {}, - "credential_type": {}, - "password_secret_id": {}, - "role": {}, - "ssl_secret_id": {}, - "user_name": {} - } - } - }, - "connection_string": { - "maxItemsOne": false, - "elem": { - "fields": { - "host_name": {}, "hosts": { - "maxItemsOne": false, - "elem": {} - }, - "port": {}, - "protocol": {}, - "service": {} + "maxItemsOne": false + } } } } } } - }, - "connection_status": {}, - "connector_type": {}, - "display_name": {}, - "external_db_system_id": {}, - "lifecycle_details": {}, - "state": {}, - "time_connection_status_last_updated": {}, - "time_created": {}, - "time_updated": {} + } } }, "oci_database_management_external_db_system_database_managements_management": { "current": "oci:DatabaseManagement/externalDbSystemDatabaseManagementsManagement:ExternalDbSystemDatabaseManagementsManagement", - "fields": { - "enable_database_management": {}, - "external_db_system_id": {}, - "license_model": {} - } + "majorVersion": 1 }, "oci_database_management_external_db_system_discovery": { "current": "oci:DatabaseManagement/externalDbSystemDiscovery:ExternalDbSystemDiscovery", + "majorVersion": 1, "fields": { - "agent_id": {}, - "compartment_id": {}, "discovered_components": { "maxItemsOne": false, "elem": { "fields": { - "adr_home_directory": {}, "asm_instances": { - "maxItemsOne": false, - "elem": { - "fields": { - "adr_home_directory": {}, - "host_name": {}, - "instance_name": {} - } - } + "maxItemsOne": false }, "associated_components": { - "maxItemsOne": false, - "elem": { - "fields": { - "association_type": {}, - "component_id": {}, - "component_type": {} - } - } + "maxItemsOne": false }, - "cluster_id": {}, "cluster_instances": { "maxItemsOne": false, "elem": { "fields": { - "adr_home_directory": {}, - "cluster_id": {}, "connector": { "maxItemsOne": false, "elem": { "fields": { - "agent_id": {}, - "connection_failure_message": {}, "connection_info": { "maxItemsOne": false, "elem": { "fields": { - "component_type": {}, "connection_credentials": { - "maxItemsOne": false, - "elem": { - "fields": { - "credential_name": {}, - "credential_type": {}, - "password_secret_id": {}, - "role": {}, - "ssl_secret_id": {}, - "user_name": {} - } - } + "maxItemsOne": false }, "connection_string": { "maxItemsOne": false, "elem": { "fields": { - "host_name": {}, "hosts": { - "maxItemsOne": false, - "elem": {} - }, - "port": {}, - "protocol": {}, - "service": {} + "maxItemsOne": false + } } } } } } - }, - "connection_status": {}, - "connector_type": {}, - "display_name": {}, - "time_connection_status_last_updated": {} + } } } - }, - "crs_base_directory": {}, - "host_name": {}, - "node_role": {} + } } } }, - "compartment_id": {}, - "component_id": {}, - "component_name": {}, - "component_type": {}, "connector": { "maxItemsOne": false, "elem": { "fields": { - "agent_id": {}, - "connection_failure_message": {}, "connection_info": { "maxItemsOne": false, "elem": { "fields": { - "component_type": {}, "connection_credentials": { - "maxItemsOne": false, - "elem": { - "fields": { - "credential_name": {}, - "credential_type": {}, - "password_secret_id": {}, - "role": {}, - "ssl_secret_id": {}, - "user_name": {} - } - } + "maxItemsOne": false }, "connection_string": { "maxItemsOne": false, "elem": { "fields": { - "host_name": {}, "hosts": { - "maxItemsOne": false, - "elem": {} - }, - "port": {}, - "protocol": {}, - "service": {} + "maxItemsOne": false + } } } } } } - }, - "connection_status": {}, - "connector_type": {}, - "display_name": {}, - "time_connection_status_last_updated": {} - } - } - }, - "container_database_id": {}, - "cpu_core_count": {}, - "crs_base_directory": {}, - "db_edition": {}, - "db_id": {}, - "db_node_name": {}, - "db_packs": {}, - "db_role": {}, - "db_type": {}, - "db_unique_name": {}, - "db_version": {}, - "display_name": {}, + } + } + } + }, "endpoints": { "maxItemsOne": false, "elem": { "fields": { - "host": {}, - "key": {}, - "port": {}, - "protocol": {}, "services": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } } }, - "grid_home": {}, - "guid": {}, - "home_directory": {}, - "host_name": {}, - "instance_name": {}, - "is_cluster": {}, - "is_flex_cluster": {}, - "is_flex_enabled": {}, - "is_selected_for_monitoring": {}, - "listener_alias": {}, - "listener_type": {}, - "log_directory": {}, - "memory_size_in_gbs": {}, "network_configurations": { - "maxItemsOne": false, - "elem": { - "fields": { - "network_number": {}, - "network_type": {}, - "subnet": {} - } - } + "maxItemsOne": false }, - "node_role": {}, - "ocr_file_location": {}, - "oracle_home": {}, "pluggable_databases": { "maxItemsOne": false, "elem": { "fields": { - "compartment_id": {}, "connector": { "maxItemsOne": false, "elem": { "fields": { - "agent_id": {}, - "connection_failure_message": {}, "connection_info": { "maxItemsOne": false, "elem": { "fields": { - "component_type": {}, "connection_credentials": { - "maxItemsOne": false, - "elem": { - "fields": { - "credential_name": {}, - "credential_type": {}, - "password_secret_id": {}, - "role": {}, - "ssl_secret_id": {}, - "user_name": {} - } - } + "maxItemsOne": false }, "connection_string": { "maxItemsOne": false, "elem": { "fields": { - "host_name": {}, "hosts": { - "maxItemsOne": false, - "elem": {} - }, - "port": {}, - "protocol": {}, - "service": {} + "maxItemsOne": false + } } } } } } - }, - "connection_status": {}, - "connector_type": {}, - "display_name": {}, - "time_connection_status_last_updated": {} + } } } - }, - "container_database_id": {}, - "guid": {} + } } } }, - "resource_id": {}, "scan_configurations": { - "maxItemsOne": false, - "elem": { - "fields": { - "network_number": {}, - "scan_name": {}, - "scan_port": {}, - "scan_protocol": {} - } - } + "maxItemsOne": false }, - "status": {}, - "trace_directory": {}, - "version": {}, "vip_configurations": { - "maxItemsOne": false, - "elem": { - "fields": { - "address": {}, - "network_number": {}, - "node_name": {} - } - } + "maxItemsOne": false } } } }, - "display_name": {}, - "external_db_system_discovery_id": {}, - "grid_home": {}, - "lifecycle_details": {}, "patch_operations": { "maxItemsOne": false, "elem": { "fields": { - "operation": {}, - "selection": {}, "value": { "maxItemsOne": true, "elem": { "fields": { - "compartment_id": {}, "connector": { "maxItemsOne": true, "elem": { "fields": { - "agent_id": {}, "connection_info": { "maxItemsOne": true, "elem": { "fields": { - "component_type": {}, "connection_credentials": { - "maxItemsOne": true, - "elem": { - "fields": { - "credential_name": {}, - "credential_type": {}, - "password_secret_id": {}, - "role": {}, - "ssl_secret_id": {}, - "user_name": {} - } - } + "maxItemsOne": true }, "connection_string": { "maxItemsOne": true, "elem": { "fields": { - "host_name": {}, "hosts": { - "maxItemsOne": false, - "elem": {} - }, - "port": {}, - "protocol": {}, - "service": {} + "maxItemsOne": false + } } } } } } - }, - "connector_type": {}, - "display_name": {} + } } } - }, - "display_name": {}, - "is_selected_for_monitoring": {} + } } } } } } - }, - "resource_id": {}, - "state": {}, - "time_created": {}, - "time_updated": {} + } } }, "oci_database_management_external_db_system_stack_monitorings_management": { - "current": "oci:DatabaseManagement/externalDbSystemStackMonitoringsManagement:ExternalDbSystemStackMonitoringsManagement" + "current": "oci:DatabaseManagement/externalDbSystemStackMonitoringsManagement:ExternalDbSystemStackMonitoringsManagement", + "majorVersion": 1 }, "oci_database_management_external_exadata_infrastructure": { "current": "oci:DatabaseManagement/externalExadataInfrastructure:ExternalExadataInfrastructure", + "majorVersion": 1, "fields": { "database_compartments": { "maxItemsOne": false @@ -12994,10 +5798,12 @@ } }, "oci_database_management_external_exadata_infrastructure_exadata_management": { - "current": "oci:DatabaseManagement/externalExadataInfrastructureExadataManagement:ExternalExadataInfrastructureExadataManagement" + "current": "oci:DatabaseManagement/externalExadataInfrastructureExadataManagement:ExternalExadataInfrastructureExadataManagement", + "majorVersion": 1 }, "oci_database_management_external_exadata_storage_connector": { "current": "oci:DatabaseManagement/externalExadataStorageConnector:ExternalExadataStorageConnector", + "majorVersion": 1, "fields": { "credential_info": { "maxItemsOne": true @@ -13006,326 +5812,126 @@ }, "oci_database_management_external_listener": { "current": "oci:DatabaseManagement/externalListener:ExternalListener", + "majorVersion": 1, "fields": { - "additional_details": {}, - "adr_home_directory": {}, - "compartment_id": {}, - "component_name": {}, - "display_name": {}, "endpoints": { "maxItemsOne": false, "elem": { "fields": { - "host": {}, - "key": {}, - "port": {}, - "protocol": {}, "services": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } } }, - "external_connector_id": {}, - "external_db_home_id": {}, - "external_db_node_id": {}, - "external_db_system_id": {}, - "external_listener_id": {}, - "host_name": {}, - "lifecycle_details": {}, - "listener_alias": {}, - "listener_ora_location": {}, - "listener_type": {}, - "log_directory": {}, - "oracle_home": {}, "serviced_asms": { - "maxItemsOne": false, - "elem": { - "fields": { - "compartment_id": {}, - "display_name": {}, - "id": {} - } - } + "maxItemsOne": false }, "serviced_databases": { - "maxItemsOne": false, - "elem": { - "fields": { - "compartment_id": {}, - "database_sub_type": {}, - "database_type": {}, - "db_unique_name": {}, - "display_name": {}, - "id": {}, - "is_managed": {} - } - } - }, - "state": {}, - "time_created": {}, - "time_updated": {}, - "trace_directory": {}, - "version": {} + "maxItemsOne": false + } } }, "oci_database_management_managed_database_group": { "current": "oci:DatabaseManagement/managedDatabaseGroup:ManagedDatabaseGroup", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "description": {}, "managed_databases": { - "maxItemsOne": false, - "elem": { - "fields": { - "compartment_id": {}, - "database_sub_type": {}, - "database_type": {}, - "deployment_type": {}, - "id": {}, - "name": {}, - "time_added": {}, - "workload_type": {} - } - } - }, - "name": {}, - "state": {}, - "time_created": {}, - "time_updated": {} + "maxItemsOne": false + } } }, "oci_database_management_managed_databases_change_database_parameter": { "current": "oci:DatabaseManagement/managedDatabasesChangeDatabaseParameter:ManagedDatabasesChangeDatabaseParameter", + "majorVersion": 1, "fields": { "credentials": { - "maxItemsOne": true, - "elem": { - "fields": { - "password": {}, - "role": {}, - "secret_id": {}, - "user_name": {} - } - } + "maxItemsOne": true }, - "managed_database_id": {}, "parameters": { - "maxItemsOne": false, - "elem": { - "fields": { - "name": {}, - "update_comment": {}, - "value": {} - } - } - }, - "scope": {} + "maxItemsOne": false + } } }, "oci_database_management_managed_databases_reset_database_parameter": { "current": "oci:DatabaseManagement/managedDatabasesResetDatabaseParameter:ManagedDatabasesResetDatabaseParameter", + "majorVersion": 1, "fields": { "credentials": { - "maxItemsOne": true, - "elem": { - "fields": { - "password": {}, - "role": {}, - "secret_id": {}, - "user_name": {} - } - } + "maxItemsOne": true }, - "managed_database_id": {}, "parameters": { - "maxItemsOne": false, - "elem": {} - }, - "scope": {} + "maxItemsOne": false + } } }, "oci_database_migration_agent": { "current": "oci:DatabaseMigration/agent:Agent", - "fields": { - "agent_id": {}, - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "lifecycle_details": {}, - "public_key": {}, - "state": {}, - "stream_id": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {}, - "version": {} - } + "majorVersion": 1 }, "oci_database_migration_connection": { "current": "oci:DatabaseMigration/connection:Connection", + "majorVersion": 1, "fields": { "admin_credentials": { - "maxItemsOne": true, - "elem": { - "fields": { - "password": {}, - "username": {} - } - } + "maxItemsOne": true }, - "certificate_tdn": {}, - "compartment_id": {}, "connect_descriptor": { - "maxItemsOne": true, - "elem": { - "fields": { - "connect_string": {}, - "database_service_name": {}, - "host": {}, - "port": {} - } - } + "maxItemsOne": true }, - "credentials_secret_id": {}, - "database_id": {}, - "database_type": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "lifecycle_details": {}, "nsg_ids": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "private_endpoint": { - "maxItemsOne": true, - "elem": { - "fields": { - "compartment_id": {}, - "id": {}, - "subnet_id": {}, - "vcn_id": {} - } - } + "maxItemsOne": true }, "replication_credentials": { "maxItemsOne": true }, "ssh_details": { - "maxItemsOne": true, - "elem": { - "fields": { - "host": {}, - "sshkey": {}, - "sudo_location": {}, - "user": {} - } - } + "maxItemsOne": true }, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {}, - "tls_keystore": {}, - "tls_wallet": {}, "vault_details": { - "maxItemsOne": true, - "elem": { - "fields": { - "compartment_id": {}, - "key_id": {}, - "vault_id": {} - } - } + "maxItemsOne": true } } }, "oci_database_migration_job": { "current": "oci:DatabaseMigration/job:Job", + "majorVersion": 1, "fields": { - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "job_id": {}, - "lifecycle_details": {}, - "migration_id": {}, "progress": { "maxItemsOne": false, "elem": { "fields": { - "current_phase": {}, - "current_status": {}, "phases": { "maxItemsOne": false, "elem": { "fields": { - "action": {}, - "duration_in_ms": {}, "extract": { - "maxItemsOne": false, - "elem": { - "fields": { - "message": {}, - "type": {} - } - } + "maxItemsOne": false }, - "is_advisor_report_available": {}, - "issue": {}, "log_location": { - "maxItemsOne": false, - "elem": { - "fields": { - "bucket": {}, - "namespace": {}, - "object": {} - } - } - }, - "name": {}, - "progress": {}, - "status": {} + "maxItemsOne": false + } } } } } } }, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {}, - "type": {}, "unsupported_objects": { - "maxItemsOne": false, - "elem": { - "fields": { - "object": {}, - "owner": {}, - "type": {} - } - } + "maxItemsOne": false } } }, "oci_database_migration_migration": { "current": "oci:DatabaseMigration/migration:Migration", + "majorVersion": 1, "fields": { "advisor_settings": { - "maxItemsOne": true, - "elem": { - "fields": { - "is_ignore_errors": {}, - "is_skip_advisor": {} - } - } + "maxItemsOne": true }, - "agent_id": {}, - "compartment_id": {}, - "credentials_secret_id": {}, "data_transfer_medium_details": { "maxItemsOne": true, "elem": { @@ -13334,27 +5940,24 @@ "maxItemsOne": true, "elem": { "fields": { - "name": {}, "wallet_bucket": { - "maxItemsOne": true, - "elem": { - "fields": { - "bucket": {}, - "namespace": {} - } - } + "maxItemsOne": true } } } }, "object_storage_details": { - "maxItemsOne": true, - "elem": { - "fields": { - "bucket": {}, - "namespace": {} - } - } + "maxItemsOne": true + } + } + } + }, + "data_transfer_medium_details_v2": { + "maxItemsOne": true, + "elem": { + "fields": { + "object_storage_bucket": { + "maxItemsOne": true } } } @@ -13367,89 +5970,40 @@ "maxItemsOne": true, "elem": { "fields": { - "estimate": {}, "exclude_parameters": { - "maxItemsOne": false, - "elem": {} - }, - "export_parallelism_degree": {}, - "import_parallelism_degree": {}, - "is_cluster": {}, - "table_exists_action": {} + "maxItemsOne": false + } } } }, "export_directory_object": { - "maxItemsOne": true, - "elem": { - "fields": { - "name": {}, - "path": {} - } - } + "maxItemsOne": true }, "import_directory_object": { - "maxItemsOne": true, - "elem": { - "fields": { - "name": {}, - "path": {} - } - } + "maxItemsOne": true }, - "job_mode": {}, "metadata_remaps": { - "maxItemsOne": false, - "elem": { - "fields": { - "new_value": {}, - "old_value": {}, - "type": {} - } - } + "maxItemsOne": false } } } }, - "defined_tags": {}, - "display_name": {}, "dump_transfer_details": { "maxItemsOne": true, "elem": { "fields": { "source": { - "maxItemsOne": true, - "elem": { - "fields": { - "kind": {}, - "oci_home": {} - } - } + "maxItemsOne": true }, "target": { - "maxItemsOne": true, - "elem": { - "fields": { - "kind": {}, - "oci_home": {} - } - } + "maxItemsOne": true } } } }, "exclude_objects": { - "maxItemsOne": false, - "elem": { - "fields": { - "object": {}, - "owner": {}, - "type": {} - } - } + "maxItemsOne": false }, - "executing_job_id": {}, - "freeform_tags": {}, "golden_gate_details": { "maxItemsOne": true, "elem": { @@ -13458,46 +6012,18 @@ "maxItemsOne": true, "elem": { "fields": { - "compute_id": {}, "rest_admin_credentials": { - "maxItemsOne": true, - "elem": { - "fields": { - "password": {}, - "username": {} - } - } + "maxItemsOne": true }, "source_container_db_admin_credentials": { - "maxItemsOne": true, - "elem": { - "fields": { - "password": {}, - "username": {} - } - } + "maxItemsOne": true }, "source_db_admin_credentials": { - "maxItemsOne": true, - "elem": { - "fields": { - "password": {}, - "username": {} - } - } + "maxItemsOne": true }, - "source_microservices_deployment_name": {}, "target_db_admin_credentials": { - "maxItemsOne": true, - "elem": { - "fields": { - "password": {}, - "username": {} - } - } - }, - "target_microservices_deployment_name": {}, - "url": {} + "maxItemsOne": true + } } } }, @@ -13505,25 +6031,11 @@ "maxItemsOne": true, "elem": { "fields": { - "acceptable_lag": {}, "extract": { - "maxItemsOne": true, - "elem": { - "fields": { - "long_trans_duration": {}, - "performance_profile": {} - } - } + "maxItemsOne": true }, "replicat": { - "maxItemsOne": true, - "elem": { - "fields": { - "map_parallelism": {}, - "max_apply_parallelism": {}, - "min_apply_parallelism": {} - } - } + "maxItemsOne": true } } } @@ -13564,40 +6076,16 @@ } }, "include_objects": { - "maxItemsOne": false, - "elem": { - "fields": { - "object": {}, - "owner": {}, - "type": {} - } - } + "maxItemsOne": false }, - "lifecycle_details": {}, - "source_container_database_connection_id": {}, - "source_database_connection_id": {}, - "state": {}, - "system_tags": {}, - "target_database_connection_id": {}, - "time_created": {}, - "time_last_migration": {}, - "time_updated": {}, - "type": {}, "vault_details": { - "maxItemsOne": true, - "elem": { - "fields": { - "compartment_id": {}, - "key_id": {}, - "vault_id": {} - } - } - }, - "wait_after": {} + "maxItemsOne": true + } } }, "oci_database_oneoff_patch": { "current": "oci:Database/oneoffPatch:OneoffPatch", + "majorVersion": 1, "fields": { "one_off_patches": { "maxItemsOne": false @@ -13606,386 +6094,138 @@ }, "oci_database_pluggable_database": { "current": "oci:Database/pluggableDatabase:PluggableDatabase", + "majorVersion": 1, "fields": { - "compartment_id": {}, "connection_strings": { - "maxItemsOne": false, - "elem": { - "fields": { - "all_connection_strings": {}, - "pdb_default": {}, - "pdb_ip_default": {} - } - } + "maxItemsOne": false }, - "container_database_id": {}, - "defined_tags": {}, - "freeform_tags": {}, - "is_restricted": {}, - "lifecycle_details": {}, - "open_mode": {}, - "pdb_admin_password": {}, - "pdb_name": {}, "pluggable_database_management_config": { - "maxItemsOne": false, - "elem": { - "fields": { - "management_status": {} - } - } - }, - "should_pdb_admin_account_be_locked": {}, - "state": {}, - "tde_wallet_password": {}, - "time_created": {} + "maxItemsOne": false + } } }, "oci_database_pluggable_database_pluggabledatabasemanagements_management": { "current": "oci:Database/pluggableDatabaseManagementsManagement:PluggableDatabaseManagementsManagement", + "majorVersion": 1, "fields": { - "compartment_id": {}, "connection_strings": { - "maxItemsOne": false, - "elem": { - "fields": { - "all_connection_strings": {}, - "enable_pluggabledatabasemanagement": {}, - "pdb_default": {}, - "pdb_ip_default": {} - } - } + "maxItemsOne": false }, - "container_database_id": {}, "credential_details": { - "maxItemsOne": true, - "elem": { - "fields": { - "password_secret_id": {}, - "user_name": {} - } - } + "maxItemsOne": true }, - "defined_tags": {}, - "enable_pluggabledatabasemanagement": {}, - "freeform_tags": {}, - "is_restricted": {}, - "lifecycle_details": {}, - "open_mode": {}, - "pdb_name": {}, - "pluggable_database_id": {}, "pluggable_database_management_config": { - "maxItemsOne": false, - "elem": { - "fields": { - "enable_pluggabledatabasemanagement": {}, - "management_status": {} - } - } - }, - "port": {}, - "private_end_point_id": {}, - "protocol": {}, - "role": {}, - "service_name": {}, - "ssl_secret_id": {}, - "state": {}, - "time_created": {} + "maxItemsOne": false + } } }, "oci_database_pluggable_databases_local_clone": { "current": "oci:Database/pluggableDatabasesLocalClone:PluggableDatabasesLocalClone", + "majorVersion": 1, "fields": { - "cloned_pdb_name": {}, - "compartment_id": {}, "connection_strings": { - "maxItemsOne": false, - "elem": { - "fields": { - "all_connection_strings": {}, - "pdb_default": {}, - "pdb_ip_default": {} - } - } + "maxItemsOne": false }, - "container_database_id": {}, - "defined_tags": {}, - "freeform_tags": {}, - "is_restricted": {}, - "lifecycle_details": {}, - "open_mode": {}, - "pdb_admin_password": {}, - "pdb_name": {}, - "pluggable_database_id": {}, "pluggable_database_management_config": { - "maxItemsOne": false, - "elem": { - "fields": { - "management_status": {} - } - } - }, - "should_pdb_admin_account_be_locked": {}, - "state": {}, - "target_tde_wallet_password": {}, - "time_created": {} + "maxItemsOne": false + } } }, "oci_database_pluggable_databases_remote_clone": { "current": "oci:Database/pluggableDatabasesRemoteClone:PluggableDatabasesRemoteClone", + "majorVersion": 1, "fields": { - "cloned_pdb_name": {}, - "compartment_id": {}, "connection_strings": { - "maxItemsOne": false, - "elem": { - "fields": { - "all_connection_strings": {}, - "pdb_default": {}, - "pdb_ip_default": {} - } - } + "maxItemsOne": false }, - "container_database_id": {}, - "defined_tags": {}, - "freeform_tags": {}, - "is_restricted": {}, - "lifecycle_details": {}, - "open_mode": {}, - "pdb_admin_password": {}, - "pdb_name": {}, - "pluggable_database_id": {}, "pluggable_database_management_config": { - "maxItemsOne": false, - "elem": { - "fields": { - "management_status": {} - } - } - }, - "should_pdb_admin_account_be_locked": {}, - "source_container_db_admin_password": {}, - "state": {}, - "target_container_database_id": {}, - "target_tde_wallet_password": {}, - "time_created": {} + "maxItemsOne": false + } } }, "oci_database_tools_database_tools_connection": { "current": "oci:DatabaseTools/databaseToolsConnection:DatabaseToolsConnection", + "majorVersion": 1, "fields": { - "advanced_properties": {}, - "compartment_id": {}, - "connection_string": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, "key_stores": { "maxItemsOne": false, "elem": { "fields": { "key_store_content": { - "maxItemsOne": true, - "elem": { - "fields": { - "secret_id": {}, - "value_type": {} - } - } + "maxItemsOne": true }, "key_store_password": { - "maxItemsOne": true, - "elem": { - "fields": { - "secret_id": {}, - "value_type": {} - } - } - }, - "key_store_type": {} + "maxItemsOne": true + } } } }, - "lifecycle_details": {}, - "private_endpoint_id": {}, "related_resource": { - "maxItemsOne": true, - "elem": { - "fields": { - "entity_type": {}, - "identifier": {} - } - } + "maxItemsOne": true }, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {}, - "type": {}, - "user_name": {}, "user_password": { - "maxItemsOne": true, - "elem": { - "fields": { - "secret_id": {}, - "value_type": {} - } - } + "maxItemsOne": true } } }, "oci_database_tools_database_tools_private_endpoint": { "current": "oci:DatabaseTools/databaseToolsPrivateEndpoint:DatabaseToolsPrivateEndpoint", + "majorVersion": 1, "fields": { "additional_fqdns": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "endpoint_fqdn": {}, - "endpoint_service_id": {}, - "freeform_tags": {}, - "lifecycle_details": {}, "nsg_ids": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "private_endpoint_ip": {}, - "private_endpoint_vnic_id": {}, "reverse_connection_configuration": { "maxItemsOne": false, "elem": { "fields": { "reverse_connections_source_ips": { - "maxItemsOne": false, - "elem": { - "fields": { - "source_ip": {} - } - } + "maxItemsOne": false } } } - }, - "state": {}, - "subnet_id": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {}, - "vcn_id": {} + } } }, "oci_database_vm_cluster": { "current": "oci:Database/vmCluster:VmCluster", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "cpu_core_count": {}, - "cpus_enabled": {}, "data_collection_options": { - "maxItemsOne": true, - "elem": { - "fields": { - "is_diagnostics_events_enabled": {}, - "is_health_monitoring_enabled": {}, - "is_incident_logs_enabled": {} - } - } + "maxItemsOne": true }, - "data_storage_size_in_gb": {}, - "data_storage_size_in_tbs": {}, - "db_node_storage_size_in_gbs": {}, "db_servers": { - "maxItemsOne": false, - "elem": {} - }, - "defined_tags": {}, - "display_name": {}, - "exadata_infrastructure_id": {}, - "freeform_tags": {}, - "gi_version": {}, - "is_local_backup_enabled": {}, - "is_sparse_diskgroup_enabled": {}, - "last_patch_history_entry_id": {}, - "license_model": {}, - "lifecycle_details": {}, - "memory_size_in_gbs": {}, - "ocpu_count": {}, - "ocpus_enabled": {}, - "shape": {}, - "ssh_public_keys": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "state": {}, - "system_version": {}, - "time_created": {}, - "time_zone": {}, - "vm_cluster_network_id": {} + "ssh_public_keys": { + "maxItemsOne": false + } } }, "oci_database_vm_cluster_add_virtual_machine": { "current": "oci:Database/vmClusterAddVirtualNetwork:VmClusterAddVirtualNetwork", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "cpus_enabled": {}, "data_collection_options": { - "maxItemsOne": false, - "elem": { - "fields": { - "is_diagnostics_events_enabled": {}, - "is_health_monitoring_enabled": {}, - "is_incident_logs_enabled": {} - } - } + "maxItemsOne": false }, - "data_storage_size_in_gb": {}, - "data_storage_size_in_tbs": {}, - "db_node_storage_size_in_gbs": {}, "db_servers": { - "maxItemsOne": false, - "elem": { - "fields": { - "db_server_id": {} - } - } + "maxItemsOne": false }, - "defined_tags": {}, - "display_name": {}, - "exadata_infrastructure_id": {}, - "freeform_tags": {}, - "gi_version": {}, - "is_local_backup_enabled": {}, - "is_sparse_diskgroup_enabled": {}, - "last_patch_history_entry_id": {}, - "license_model": {}, - "lifecycle_details": {}, - "memory_size_in_gbs": {}, - "ocpus_enabled": {}, - "shape": {}, "ssh_public_keys": { - "maxItemsOne": false, - "elem": {} - }, - "state": {}, - "system_version": {}, - "time_created": {}, - "time_zone": {}, - "vm_cluster_id": {}, - "vm_cluster_network_id": {} + "maxItemsOne": false + } } }, "oci_database_vm_cluster_network": { "current": "oci:Database/vmClusterNetwork:VmClusterNetwork", + "majorVersion": 1, "fields": { - "action": {}, - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, "dns": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "dr_scans": { "maxItemsOne": false, @@ -13997,54 +6237,26 @@ } } }, - "exadata_infrastructure_id": {}, - "freeform_tags": {}, - "lifecycle_details": {}, "ntp": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "scans": { "maxItemsOne": false, "elem": { "fields": { - "hostname": {}, "ips": { - "maxItemsOne": false, - "elem": {} - }, - "port": {}, - "scan_listener_port_tcp": {}, - "scan_listener_port_tcp_ssl": {} + "maxItemsOne": false + } } } }, - "state": {}, - "time_created": {}, - "validate_vm_cluster_network": {}, - "vm_cluster_id": {}, "vm_networks": { "maxItemsOne": false, "elem": { "fields": { - "domain_name": {}, - "gateway": {}, - "netmask": {}, - "network_type": {}, "nodes": { - "maxItemsOne": false, - "elem": { - "fields": { - "db_server_id": {}, - "hostname": {}, - "ip": {}, - "state": {}, - "vip": {}, - "vip_hostname": {} - } - } - }, - "vlan_id": {} + "maxItemsOne": false + } } } } @@ -14052,314 +6264,103 @@ }, "oci_database_vm_cluster_remove_virtual_machine": { "current": "oci:Database/vmClusterRemoveVirtualMachine:VmClusterRemoveVirtualMachine", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "cpus_enabled": {}, "data_collection_options": { - "maxItemsOne": false, - "elem": { - "fields": { - "is_diagnostics_events_enabled": {}, - "is_health_monitoring_enabled": {}, - "is_incident_logs_enabled": {} - } - } + "maxItemsOne": false }, - "data_storage_size_in_tbs": {}, - "db_node_storage_size_in_gbs": {}, "db_servers": { - "maxItemsOne": false, - "elem": { - "fields": { - "db_server_id": {} - } - } + "maxItemsOne": false }, - "defined_tags": {}, - "display_name": {}, - "exadata_infrastructure_id": {}, - "freeform_tags": {}, - "gi_version": {}, - "is_local_backup_enabled": {}, - "is_sparse_diskgroup_enabled": {}, - "last_patch_history_entry_id": {}, - "license_model": {}, - "lifecycle_details": {}, - "memory_size_in_gbs": {}, - "shape": {}, "ssh_public_keys": { - "maxItemsOne": false, - "elem": {} - }, - "state": {}, - "system_version": {}, - "time_created": {}, - "time_zone": {}, - "vm_cluster_id": {}, - "vm_cluster_network_id": {} + "maxItemsOne": false + } } }, "oci_datacatalog_catalog": { "current": "oci:DataCatalog/catalog:Catalog", + "majorVersion": 1, "fields": { "attached_catalog_private_endpoints": { - "maxItemsOne": false, - "elem": {} - }, - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "lifecycle_details": {}, - "number_of_objects": {}, - "service_api_url": {}, - "service_console_url": {}, - "state": {}, - "time_created": {}, - "time_updated": {} + "maxItemsOne": false + } } }, "oci_datacatalog_catalog_private_endpoint": { "current": "oci:DataCatalog/catalogPrivateEndpoint:CatalogPrivateEndpoint", + "majorVersion": 1, "fields": { "attached_catalogs": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, "dns_zones": { - "maxItemsOne": false, - "elem": {} - }, - "freeform_tags": {}, - "lifecycle_details": {}, - "state": {}, - "subnet_id": {}, - "time_created": {}, - "time_updated": {} + "maxItemsOne": false + } } }, "oci_datacatalog_connection": { "current": "oci:DataCatalog/connection:Connection", - "fields": { - "catalog_id": {}, - "created_by_id": {}, - "data_asset_key": {}, - "description": {}, - "display_name": {}, - "enc_properties": {}, - "external_key": {}, - "is_default": {}, - "key": {}, - "properties": {}, - "state": {}, - "time_created": {}, - "time_status_updated": {}, - "time_updated": {}, - "type_key": {}, - "updated_by_id": {}, - "uri": {} - } + "majorVersion": 1 }, "oci_datacatalog_data_asset": { "current": "oci:DataCatalog/dataAsset:DataAsset", - "fields": { - "catalog_id": {}, - "created_by_id": {}, - "description": {}, - "display_name": {}, - "external_key": {}, - "key": {}, - "properties": {}, - "state": {}, - "time_created": {}, - "time_harvested": {}, - "time_updated": {}, - "type_key": {}, - "updated_by_id": {}, - "uri": {} - } + "majorVersion": 1 }, "oci_datacatalog_metastore": { "current": "oci:DataCatalog/metastore:Metastore", - "fields": { - "compartment_id": {}, - "default_external_table_location": {}, - "default_managed_table_location": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "lifecycle_details": {}, - "state": {}, - "time_created": {}, - "time_updated": {} - } + "majorVersion": 1 }, "oci_dataflow_application": { "current": "oci:DataFlow/application:Application", + "majorVersion": 1, "fields": { "application_log_config": { - "maxItemsOne": true, - "elem": { - "fields": { - "log_group_id": {}, - "log_id": {} - } - } + "maxItemsOne": true }, - "archive_uri": {}, "arguments": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "class_name": {}, - "compartment_id": {}, - "configuration": {}, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "driver_shape": {}, "driver_shape_config": { - "maxItemsOne": true, - "elem": { - "fields": { - "memory_in_gbs": {}, - "ocpus": {} - } - } + "maxItemsOne": true }, - "execute": {}, - "executor_shape": {}, "executor_shape_config": { - "maxItemsOne": true, - "elem": { - "fields": { - "memory_in_gbs": {}, - "ocpus": {} - } - } + "maxItemsOne": true }, - "file_uri": {}, - "freeform_tags": {}, - "idle_timeout_in_minutes": {}, - "language": {}, - "logs_bucket_uri": {}, - "max_duration_in_minutes": {}, - "metastore_id": {}, - "num_executors": {}, - "owner_principal_id": {}, - "owner_user_name": {}, "parameters": { - "maxItemsOne": false, - "elem": { - "fields": { - "name": {}, - "value": {} - } - } - }, - "private_endpoint_id": {}, - "spark_version": {}, - "state": {}, - "time_created": {}, - "time_updated": {}, - "type": {}, - "warehouse_bucket_uri": {} + "maxItemsOne": false + } } }, "oci_dataflow_invoke_run": { "current": "oci:DataFlow/invokeRun:InvokeRun", + "majorVersion": 1, "fields": { - "application_id": {}, "application_log_config": { - "maxItemsOne": true, - "elem": { - "fields": { - "log_group_id": {}, - "log_id": {} - } - } + "maxItemsOne": true }, - "archive_uri": {}, "arguments": { - "maxItemsOne": false, - "elem": {} - }, - "asynchronous": {}, - "class_name": {}, - "compartment_id": {}, - "configuration": {}, - "data_read_in_bytes": {}, - "data_written_in_bytes": {}, - "defined_tags": {}, - "display_name": {}, - "driver_shape": {}, + "maxItemsOne": false + }, "driver_shape_config": { - "maxItemsOne": true, - "elem": { - "fields": { - "memory_in_gbs": {}, - "ocpus": {} - } - } + "maxItemsOne": true }, - "execute": {}, - "executor_shape": {}, "executor_shape_config": { - "maxItemsOne": true, - "elem": { - "fields": { - "memory_in_gbs": {}, - "ocpus": {} - } - } + "maxItemsOne": true }, - "file_uri": {}, - "freeform_tags": {}, - "idle_timeout_in_minutes": {}, - "language": {}, - "lifecycle_details": {}, - "logs_bucket_uri": {}, - "max_duration_in_minutes": {}, - "metastore_id": {}, - "num_executors": {}, - "opc_request_id": {}, - "owner_principal_id": {}, - "owner_user_name": {}, "parameters": { - "maxItemsOne": false, - "elem": { - "fields": { - "name": {}, - "value": {} - } - } + "maxItemsOne": false }, "private_endpoint_dns_zones": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "private_endpoint_id": {}, - "private_endpoint_max_host_count": {}, "private_endpoint_nsg_ids": { - "maxItemsOne": false, - "elem": {} - }, - "private_endpoint_subnet_id": {}, - "run_duration_in_milliseconds": {}, - "spark_version": {}, - "state": {}, - "time_created": {}, - "time_updated": {}, - "total_ocpu": {}, - "type": {}, - "warehouse_bucket_uri": {} + "maxItemsOne": false + } } }, "oci_dataflow_pool": { "current": "oci:DataFlow/pool:Pool", + "majorVersion": 1, "fields": { "configurations": { "maxItemsOne": false, @@ -14388,75 +6389,41 @@ }, "oci_dataflow_private_endpoint": { "current": "oci:DataFlow/privateEndpoint:PrivateEndpoint", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "display_name": {}, "dns_zones": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "freeform_tags": {}, - "lifecycle_details": {}, - "max_host_count": {}, "nsg_ids": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "owner_principal_id": {}, - "owner_user_name": {}, "scan_details": { - "maxItemsOne": false, - "elem": { - "fields": { - "fqdn": {}, - "port": {} - } - } - }, - "state": {}, - "subnet_id": {}, - "time_created": {}, - "time_updated": {} + "maxItemsOne": false + } } }, "oci_dataflow_run_statement": { "current": "oci:DataFlow/runStatement:RunStatement", + "majorVersion": 1, "fields": { - "code": {}, "output": { "maxItemsOne": false, "elem": { "fields": { "data": { - "maxItemsOne": false, - "elem": { - "fields": { - "type": {}, - "value": {} - } - } + "maxItemsOne": false }, - "error_name": {}, - "error_value": {}, - "status": {}, "traceback": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } } - }, - "progress": {}, - "run_id": {}, - "state": {}, - "time_completed": {}, - "time_created": {} + } } }, "oci_dataflow_sql_endpoint": { "current": "oci:DataFlow/sqlEndpoint:SqlEndpoint", + "majorVersion": 1, "fields": { "driver_shape_config": { "maxItemsOne": true @@ -14478,33 +6445,11 @@ }, "oci_dataintegration_workspace": { "current": "oci:DataIntegration/workspace:Workspace", - "fields": { - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "dns_server_ip": {}, - "dns_server_zone": {}, - "endpoint_compartment_id": {}, - "endpoint_id": {}, - "endpoint_name": {}, - "freeform_tags": {}, - "is_force_operation": {}, - "is_private_network_enabled": {}, - "quiesce_timeout": {}, - "registry_compartment_id": {}, - "registry_id": {}, - "registry_name": {}, - "state": {}, - "state_message": {}, - "subnet_id": {}, - "time_created": {}, - "time_updated": {}, - "vcn_id": {} - } + "majorVersion": 1 }, "oci_dataintegration_workspace_application": { "current": "oci:DataIntegration/workspaceApplication:WorkspaceApplication", + "majorVersion": 1, "fields": { "dependent_object_metadata": { "maxItemsOne": false @@ -14555,442 +6500,186 @@ }, "oci_dataintegration_workspace_folder": { "current": "oci:DataIntegration/workspaceFolder:WorkspaceFolder", + "majorVersion": 1, "fields": { - "category_name": {}, - "description": {}, - "folder_key": {}, - "identifier": {}, - "key": {}, - "key_map": {}, "metadata": { "maxItemsOne": false, "elem": { "fields": { "aggregator": { - "maxItemsOne": false, - "elem": { - "fields": { - "description": {}, - "identifier": {}, - "key": {}, - "name": {}, - "type": {} - } - } + "maxItemsOne": false }, - "aggregator_key": {}, "count_statistics": { "maxItemsOne": false, "elem": { "fields": { "object_type_count_list": { - "maxItemsOne": false, - "elem": { - "fields": { - "object_count": {}, - "object_type": {} - } - } + "maxItemsOne": false } } } }, - "created_by": {}, - "created_by_name": {}, - "identifier_path": {}, - "info_fields": {}, - "is_favorite": {}, "labels": { - "maxItemsOne": false, - "elem": {} - }, - "registry_version": {}, - "time_created": {}, - "time_updated": {}, - "updated_by": {}, - "updated_by_name": {} + "maxItemsOne": false + } } } }, - "model_type": {}, - "model_version": {}, - "name": {}, - "object_status": {}, - "object_version": {}, "parent_ref": { - "maxItemsOne": false, - "elem": { - "fields": { - "parent": {}, - "root_doc_id": {} - } - } + "maxItemsOne": false }, "registry_metadata": { "maxItemsOne": true, "elem": { "fields": { - "aggregator_key": {}, - "is_favorite": {}, - "key": {}, "labels": { - "maxItemsOne": false, - "elem": {} - }, - "registry_version": {} + "maxItemsOne": false + } } } - }, - "workspace_id": {} + } } }, "oci_dataintegration_workspace_project": { "current": "oci:DataIntegration/workspaceProject:WorkspaceProject", + "majorVersion": 1, "fields": { - "description": {}, - "identifier": {}, - "key": {}, - "key_map": {}, "metadata": { "maxItemsOne": false, "elem": { "fields": { "aggregator": { - "maxItemsOne": false, - "elem": { - "fields": { - "description": {}, - "identifier": {}, - "key": {}, - "name": {}, - "type": {} - } - } + "maxItemsOne": false }, - "aggregator_key": {}, "count_statistics": { "maxItemsOne": false, "elem": { "fields": { "object_type_count_list": { - "maxItemsOne": false, - "elem": { - "fields": { - "object_count": {}, - "object_type": {} - } - } + "maxItemsOne": false } } } }, - "created_by": {}, - "created_by_name": {}, - "identifier_path": {}, - "info_fields": {}, - "is_favorite": {}, "labels": { - "maxItemsOne": false, - "elem": {} - }, - "registry_version": {}, - "time_created": {}, - "time_updated": {}, - "updated_by": {}, - "updated_by_name": {} + "maxItemsOne": false + } } } }, - "model_type": {}, - "model_version": {}, - "name": {}, - "object_status": {}, - "object_version": {}, "parent_ref": { - "maxItemsOne": false, - "elem": { - "fields": { - "parent": {}, - "root_doc_id": {} - } - } + "maxItemsOne": false }, - "project_key": {}, "registry_metadata": { "maxItemsOne": true, "elem": { "fields": { - "aggregator_key": {}, - "is_favorite": {}, - "key": {}, "labels": { - "maxItemsOne": false, - "elem": {} - }, - "registry_version": {} + "maxItemsOne": false + } } } - }, - "workspace_id": {} + } } }, "oci_datascience_job": { "current": "oci:DataScience/job:Job", + "majorVersion": 1, "fields": { - "artifact_content_disposition": {}, - "artifact_content_length": {}, - "artifact_content_md5": {}, - "artifact_last_modified": {}, - "compartment_id": {}, - "created_by": {}, - "defined_tags": {}, - "delete_related_job_runs": {}, - "description": {}, - "display_name": {}, - "empty_artifact": {}, - "freeform_tags": {}, - "job_artifact": {}, "job_configuration_details": { - "maxItemsOne": true, - "elem": { - "fields": { - "command_line_arguments": {}, - "environment_variables": {}, - "job_type": {}, - "maximum_runtime_in_minutes": {} - } - } + "maxItemsOne": true }, "job_infrastructure_configuration_details": { "maxItemsOne": true, "elem": { "fields": { - "block_storage_size_in_gbs": {}, - "job_infrastructure_type": {}, "job_shape_config_details": { - "maxItemsOne": true, - "elem": { - "fields": { - "memory_in_gbs": {}, - "ocpus": {} - } - } - }, - "shape_name": {}, - "subnet_id": {} + "maxItemsOne": true + } } } }, "job_log_configuration_details": { - "maxItemsOne": true, - "elem": { - "fields": { - "enable_auto_log_creation": {}, - "enable_logging": {}, - "log_group_id": {}, - "log_id": {} - } - } - }, - "lifecycle_details": {}, - "project_id": {}, - "state": {}, - "time_created": {} + "maxItemsOne": true + } } }, "oci_datascience_job_run": { "current": "oci:DataScience/jobRun:JobRun", + "majorVersion": 1, "fields": { - "asynchronous": {}, - "compartment_id": {}, - "created_by": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, "job_configuration_override_details": { - "maxItemsOne": true, - "elem": { - "fields": { - "command_line_arguments": {}, - "environment_variables": {}, - "job_type": {}, - "maximum_runtime_in_minutes": {} - } - } + "maxItemsOne": true }, - "job_id": {}, "job_infrastructure_configuration_details": { "maxItemsOne": false, "elem": { "fields": { - "block_storage_size_in_gbs": {}, - "job_infrastructure_type": {}, "job_shape_config_details": { - "maxItemsOne": false, - "elem": { - "fields": { - "memory_in_gbs": {}, - "ocpus": {} - } - } - }, - "shape_name": {}, - "subnet_id": {} + "maxItemsOne": false + } } } }, "job_log_configuration_override_details": { - "maxItemsOne": true, - "elem": { - "fields": { - "enable_auto_log_creation": {}, - "enable_logging": {}, - "log_group_id": {}, - "log_id": {} - } - } + "maxItemsOne": true }, - "lifecycle_details": {}, "log_details": { - "maxItemsOne": false, - "elem": { - "fields": { - "log_group_id": {}, - "log_id": {} - } - } - }, - "project_id": {}, - "state": {}, - "time_accepted": {}, - "time_finished": {}, - "time_started": {} + "maxItemsOne": false + } } }, "oci_datascience_model": { "current": "oci:DataScience/model:Model", + "majorVersion": 1, "fields": { - "artifact_content_disposition": {}, - "artifact_content_length": {}, - "artifact_content_md5": {}, - "artifact_last_modified": {}, - "compartment_id": {}, - "created_by": {}, "custom_metadata_list": { - "maxItemsOne": false, - "elem": { - "fields": { - "category": {}, - "description": {}, - "key": {}, - "value": {} - } - } + "maxItemsOne": false }, "defined_metadata_list": { - "maxItemsOne": false, - "elem": { - "fields": { - "category": {}, - "description": {}, - "key": {}, - "value": {} - } - } - }, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "empty_model": {}, - "freeform_tags": {}, - "input_schema": {}, - "model_artifact": {}, - "output_schema": {}, - "project_id": {}, - "state": {}, - "time_created": {} + "maxItemsOne": false + } } }, "oci_datascience_model_artifact_export": { "current": "oci:DataScience/modelArtifactExport:ModelArtifactExport", - "fields": { - "artifact_source_type": {}, - "model_id": {}, - "namespace": {}, - "source_bucket": {}, - "source_object_name": {}, - "source_region": {} - } + "majorVersion": 1 }, "oci_datascience_model_artifact_import": { "current": "oci:DataScience/modelArtifactImport:ModelArtifactImport", - "fields": { - "artifact_source_type": {}, - "destination_bucket": {}, - "destination_object_name": {}, - "destination_region": {}, - "model_id": {}, - "namespace": {} - } + "majorVersion": 1 }, "oci_datascience_model_deployment": { "current": "oci:DataScience/modelDeployment:ModelDeployment", + "majorVersion": 1, "fields": { "category_log_details": { "maxItemsOne": true, "elem": { "fields": { "access": { - "maxItemsOne": true, - "elem": { - "fields": { - "log_group_id": {}, - "log_id": {} - } - } + "maxItemsOne": true }, "predict": { - "maxItemsOne": true, - "elem": { - "fields": { - "log_group_id": {}, - "log_id": {} - } - } + "maxItemsOne": true } } } }, - "compartment_id": {}, - "created_by": {}, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "freeform_tags": {}, - "lifecycle_details": {}, "model_deployment_configuration_details": { "maxItemsOne": true, "elem": { "fields": { - "deployment_type": {}, "environment_configuration_details": { "maxItemsOne": true, "elem": { "fields": { "cmd": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "entrypoint": { - "maxItemsOne": false, - "elem": {} - }, - "environment_configuration_type": {}, - "environment_variables": {}, - "health_check_port": {}, - "image": {}, - "image_digest": {}, - "server_port": {} + "maxItemsOne": false + } } } }, @@ -14998,98 +6687,46 @@ "maxItemsOne": true, "elem": { "fields": { - "bandwidth_mbps": {}, "instance_configuration": { "maxItemsOne": true, "elem": { "fields": { - "instance_shape_name": {}, "model_deployment_instance_shape_config_details": { - "maxItemsOne": true, - "elem": { - "fields": { - "memory_in_gbs": {}, - "ocpus": {} - } - } + "maxItemsOne": true } } } }, - "model_id": {}, "scaling_policy": { - "maxItemsOne": true, - "elem": { - "fields": { - "instance_count": {}, - "policy_type": {} - } - } + "maxItemsOne": true } } } } } } - }, - "model_deployment_url": {}, - "project_id": {}, - "state": {}, - "time_created": {} + } } }, "oci_datascience_model_provenance": { "current": "oci:DataScience/modelProvenance:ModelProvenance", - "fields": { - "git_branch": {}, - "git_commit": {}, - "model_id": {}, - "repository_url": {}, - "script_dir": {}, - "training_id": {}, - "training_script": {} - } + "majorVersion": 1 }, "oci_datascience_model_version_set": { "current": "oci:DataScience/modelVersionSet:ModelVersionSet", - "fields": { - "compartment_id": {}, - "created_by": {}, - "defined_tags": {}, - "description": {}, - "freeform_tags": {}, - "name": {}, - "project_id": {}, - "state": {}, - "time_created": {}, - "time_updated": {} - } + "majorVersion": 1 }, "oci_datascience_notebook_session": { "current": "oci:DataScience/notebookSession:NotebookSession", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "created_by": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "lifecycle_details": {}, "notebook_session_config_details": { "maxItemsOne": true, "elem": { "fields": { - "block_storage_size_in_gbs": {}, "notebook_session_shape_config_details": { - "maxItemsOne": true, - "elem": { - "fields": { - "memory_in_gbs": {}, - "ocpus": {} - } - } - }, - "shape": {}, - "subnet_id": {} + "maxItemsOne": true + } } } }, @@ -15097,18 +6734,9 @@ "maxItemsOne": true, "elem": { "fields": { - "block_storage_size_in_gbs": {}, "notebook_session_shape_config_details": { - "maxItemsOne": true, - "elem": { - "fields": { - "memory_in_gbs": {}, - "ocpus": {} - } - } - }, - "shape": {}, - "subnet_id": {} + "maxItemsOne": true + } } } }, @@ -15116,395 +6744,184 @@ "maxItemsOne": true, "elem": { "fields": { - "custom_environment_variables": {}, "notebook_session_git_config_details": { "maxItemsOne": true, "elem": { "fields": { "notebook_session_git_repo_config_collection": { - "maxItemsOne": false, - "elem": { - "fields": { - "url": {} - } - } + "maxItemsOne": false } } } } } } - }, - "notebook_session_url": {}, - "project_id": {}, - "state": {}, - "time_created": {} + } } }, "oci_datascience_pipeline": { "current": "oci:DataScience/pipeline:Pipeline", + "majorVersion": 1, "fields": { - "compartment_id": {}, "configuration_details": { - "maxItemsOne": true, - "elem": { - "fields": { - "command_line_arguments": {}, - "environment_variables": {}, - "maximum_runtime_in_minutes": {}, - "type": {} - } - } + "maxItemsOne": true }, - "created_by": {}, - "defined_tags": {}, - "delete_related_pipeline_runs": {}, - "description": {}, - "display_name": {}, - "freeform_tags": {}, "infrastructure_configuration_details": { "maxItemsOne": true, "elem": { "fields": { - "block_storage_size_in_gbs": {}, "shape_config_details": { - "maxItemsOne": true, - "elem": { - "fields": { - "memory_in_gbs": {}, - "ocpus": {} - } - } - }, - "shape_name": {} + "maxItemsOne": true + } } } }, - "lifecycle_details": {}, "log_configuration_details": { - "maxItemsOne": true, - "elem": { - "fields": { - "enable_auto_log_creation": {}, - "enable_logging": {}, - "log_group_id": {}, - "log_id": {} - } - } + "maxItemsOne": true }, - "project_id": {}, - "state": {}, "step_artifact": { - "maxItemsOne": true, - "elem": { - "fields": { - "artifact_content_disposition": {}, - "artifact_content_length": {}, - "artifact_content_md5": {}, - "artifact_last_modified": {}, - "pipeline_step_artifact": {}, - "step_name": {} - } - } + "maxItemsOne": true }, "step_details": { "maxItemsOne": false, "elem": { "fields": { "depends_on": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "description": {}, - "is_artifact_uploaded": {}, - "job_id": {}, "step_configuration_details": { - "maxItemsOne": true, - "elem": { - "fields": { - "command_line_arguments": {}, - "environment_variables": {}, - "maximum_runtime_in_minutes": {} - } - } + "maxItemsOne": true }, "step_infrastructure_configuration_details": { "maxItemsOne": true, "elem": { "fields": { - "block_storage_size_in_gbs": {}, "shape_config_details": { - "maxItemsOne": true, - "elem": { - "fields": { - "memory_in_gbs": {}, - "ocpus": {} - } - } - }, - "shape_name": {} + "maxItemsOne": true + } } } - }, - "step_name": {}, - "step_type": {} + } } } - }, - "system_tags": {}, - "time_created": {}, - "time_updated": {} + } } }, "oci_datascience_pipeline_run": { "current": "oci:DataScience/pipelineRun:PipelineRun", + "majorVersion": 1, "fields": { - "compartment_id": {}, "configuration_details": { - "maxItemsOne": false, - "elem": { - "fields": { - "command_line_arguments": {}, - "environment_variables": {}, - "maximum_runtime_in_minutes": {}, - "type": {} - } - } + "maxItemsOne": false }, "configuration_override_details": { - "maxItemsOne": true, - "elem": { - "fields": { - "command_line_arguments": {}, - "environment_variables": {}, - "maximum_runtime_in_minutes": {}, - "type": {} - } - } + "maxItemsOne": true }, - "created_by": {}, - "defined_tags": {}, - "delete_related_job_runs": {}, - "display_name": {}, - "freeform_tags": {}, - "lifecycle_details": {}, "log_configuration_override_details": { - "maxItemsOne": true, - "elem": { - "fields": { - "enable_auto_log_creation": {}, - "enable_logging": {}, - "log_group_id": {}, - "log_id": {} - } - } + "maxItemsOne": true }, "log_details": { - "maxItemsOne": false, - "elem": { - "fields": { - "log_group_id": {}, - "log_id": {} - } - } + "maxItemsOne": false }, - "pipeline_id": {}, - "project_id": {}, - "state": {}, "step_override_details": { "maxItemsOne": false, "elem": { "fields": { "step_configuration_details": { - "maxItemsOne": true, - "elem": { - "fields": { - "command_line_arguments": {}, - "environment_variables": {}, - "maximum_runtime_in_minutes": {} - } - } - }, - "step_name": {} + "maxItemsOne": true + } } } }, "step_runs": { - "maxItemsOne": false, - "elem": { - "fields": { - "job_run_id": {}, - "lifecycle_details": {}, - "state": {}, - "step_name": {}, - "step_type": {}, - "time_finished": {}, - "time_started": {} - } - } - }, - "system_tags": {}, - "time_accepted": {}, - "time_finished": {}, - "time_started": {}, - "time_updated": {} + "maxItemsOne": false + } } }, - "oci_datascience_project": { - "current": "oci:DataScience/project:Project", + "oci_datascience_private_endpoint": { + "current": "oci:DataScience/privateEndpoint:PrivateEndpoint", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "created_by": {}, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "freeform_tags": {}, - "state": {}, - "time_created": {} + "nsg_ids": { + "maxItemsOne": false + } } }, + "oci_datascience_project": { + "current": "oci:DataScience/project:Project", + "majorVersion": 1 + }, "oci_devops_build_pipeline": { "current": "oci:DevOps/buildPipeline:BuildPipeline", + "majorVersion": 1, "fields": { "build_pipeline_parameters": { "maxItemsOne": true, "elem": { "fields": { "items": { - "maxItemsOne": false, - "elem": { - "fields": { - "default_value": {}, - "description": {}, - "name": {} - } - } + "maxItemsOne": false } } } - }, - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "freeform_tags": {}, - "lifecycle_details": {}, - "project_id": {}, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {} + } } }, "oci_devops_build_pipeline_stage": { "current": "oci:DevOps/buildPipelineStage:BuildPipelineStage", + "majorVersion": 1, "fields": { - "build_pipeline_id": {}, "build_pipeline_stage_predecessor_collection": { "maxItemsOne": true, "elem": { "fields": { "items": { - "maxItemsOne": false, - "elem": { - "fields": { - "id": {} - } - } + "maxItemsOne": false } } } }, - "build_pipeline_stage_type": {}, "build_runner_shape_config": { - "maxItemsOne": true, - "elem": { - "fields": { - "build_runner_type": {}, - "memory_in_gbs": {}, - "ocpus": {} - } - } + "maxItemsOne": true }, "build_source_collection": { "maxItemsOne": true, "elem": { "fields": { "items": { - "maxItemsOne": false, - "elem": { - "fields": { - "branch": {}, - "connection_id": {}, - "connection_type": {}, - "name": {}, - "repository_id": {}, - "repository_url": {} - } - } + "maxItemsOne": false } } } }, - "build_spec_file": {}, - "compartment_id": {}, - "defined_tags": {}, "deliver_artifact_collection": { "maxItemsOne": true, "elem": { "fields": { "items": { - "maxItemsOne": false, - "elem": { - "fields": { - "artifact_id": {}, - "artifact_name": {} - } - } + "maxItemsOne": false } } } }, - "deploy_pipeline_id": {}, - "description": {}, - "display_name": {}, - "freeform_tags": {}, - "image": {}, - "is_pass_all_parameters_enabled": {}, - "lifecycle_details": {}, - "primary_build_source": {}, "private_access_config": { "maxItemsOne": true, "elem": { "fields": { - "network_channel_type": {}, "nsg_ids": { - "maxItemsOne": false, - "elem": {} - }, - "subnet_id": {} + "maxItemsOne": false + } } } }, - "project_id": {}, - "stage_execution_timeout_in_seconds": {}, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {}, "wait_criteria": { - "maxItemsOne": true, - "elem": { - "fields": { - "wait_duration": {}, - "wait_type": {} - } - } + "maxItemsOne": true } } }, "oci_devops_build_run": { "current": "oci:DevOps/buildRun:BuildRun", + "majorVersion": 1, "fields": { "build_outputs": { "maxItemsOne": false, @@ -15515,14 +6932,7 @@ "elem": { "fields": { "items": { - "maxItemsOne": false, - "elem": { - "fields": { - "deploy_artifact_id": {}, - "name": {}, - "value": {} - } - } + "maxItemsOne": false } } } @@ -15532,20 +6942,7 @@ "elem": { "fields": { "items": { - "maxItemsOne": false, - "elem": { - "fields": { - "artifact_repository_id": {}, - "artifact_type": {}, - "delivered_artifact_hash": {}, - "delivered_artifact_id": {}, - "deploy_artifact_id": {}, - "image_uri": {}, - "output_artifact_name": {}, - "path": {}, - "version": {} - } - } + "maxItemsOne": false } } } @@ -15555,13 +6952,7 @@ "elem": { "fields": { "items": { - "maxItemsOne": false, - "elem": { - "fields": { - "name": {}, - "value": {} - } - } + "maxItemsOne": false } } } @@ -15571,14 +6962,7 @@ "elem": { "fields": { "items": { - "maxItemsOne": false, - "elem": { - "fields": { - "build_stage_id": {}, - "commit_hash": {}, - "vulnerability_audit_id": {} - } - } + "maxItemsOne": false } } } @@ -15586,40 +6970,23 @@ } } }, - "build_pipeline_id": {}, "build_run_arguments": { "maxItemsOne": true, "elem": { "fields": { "items": { - "maxItemsOne": false, - "elem": { - "fields": { - "name": {}, - "value": {} - } - } + "maxItemsOne": false } } } }, "build_run_progress": { - "maxItemsOne": false, - "elem": { - "fields": { - "build_pipeline_stage_run_progress": {}, - "time_finished": {}, - "time_started": {} - } - } + "maxItemsOne": false }, "build_run_source": { "maxItemsOne": false, "elem": { "fields": { - "repository_id": {}, - "source_type": {}, - "trigger_id": {}, "trigger_info": { "maxItemsOne": false, "elem": { @@ -15628,14 +6995,12 @@ "maxItemsOne": false, "elem": { "fields": { - "build_pipeline_id": {}, "filter": { "maxItemsOne": false, "elem": { "fields": { "events": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "exclude": { "maxItemsOne": false, @@ -15646,8 +7011,7 @@ "elem": { "fields": { "file_paths": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } } @@ -15659,32 +7023,25 @@ "maxItemsOne": false, "elem": { "fields": { - "base_ref": {}, "file_filter": { "maxItemsOne": false, "elem": { "fields": { "file_paths": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } } - }, - "head_ref": {}, - "repository_name": {} + } } } - }, - "trigger_source": {} + } } } - }, - "type": {} + } } } - }, - "display_name": {} + } } } } @@ -15692,115 +7049,42 @@ } }, "commit_info": { - "maxItemsOne": true, - "elem": { - "fields": { - "commit_hash": {}, - "repository_branch": {}, - "repository_url": {} - } - } - }, - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "lifecycle_details": {}, - "project_id": {}, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {} + "maxItemsOne": true + } } }, "oci_devops_connection": { "current": "oci:DevOps/connection:Connection", + "majorVersion": 1, "fields": { - "access_token": {}, - "app_password": {}, - "base_url": {}, - "compartment_id": {}, - "connection_type": {}, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "freeform_tags": {}, "last_connection_validation_result": { - "maxItemsOne": false, - "elem": { - "fields": { - "message": {}, - "result": {}, - "time_validated": {} - } - } + "maxItemsOne": false }, - "project_id": {}, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {}, "tls_verify_config": { - "maxItemsOne": true, - "elem": { - "fields": { - "ca_certificate_bundle_id": {}, - "tls_verify_mode": {} - } - } - }, - "username": {} + "maxItemsOne": true + } } }, "oci_devops_deploy_artifact": { "current": "oci:DevOps/deployArtifact:DeployArtifact", + "majorVersion": 1, "fields": { - "argument_substitution_mode": {}, - "compartment_id": {}, - "defined_tags": {}, "deploy_artifact_source": { "maxItemsOne": true, "elem": { "fields": { - "base64encoded_content": {}, - "chart_url": {}, - "deploy_artifact_path": {}, - "deploy_artifact_source_type": {}, - "deploy_artifact_version": {}, "helm_verification_key_source": { - "maxItemsOne": true, - "elem": { - "fields": { - "current_public_key": {}, - "previous_public_key": {}, - "vault_secret_id": {}, - "verification_key_source_type": {} - } - } - }, - "image_digest": {}, - "image_uri": {}, - "repository_id": {} + "maxItemsOne": true + } } } - }, - "deploy_artifact_type": {}, - "description": {}, - "display_name": {}, - "freeform_tags": {}, - "lifecycle_details": {}, - "project_id": {}, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {} + } } }, "oci_devops_deploy_environment": { "current": "oci:DevOps/deployEnvironment:DeployEnvironment", + "majorVersion": 1, "fields": { - "cluster_id": {}, - "compartment_id": {}, "compute_instance_group_selectors": { "maxItemsOne": true, "elem": { @@ -15810,50 +7094,30 @@ "elem": { "fields": { "compute_instance_ids": { - "maxItemsOne": false, - "elem": {} - }, - "query": {}, - "region": {}, - "selector_type": {} + "maxItemsOne": false + } } } } } } }, - "defined_tags": {}, - "deploy_environment_type": {}, - "description": {}, - "display_name": {}, - "freeform_tags": {}, - "function_id": {}, - "lifecycle_details": {}, "network_channel": { "maxItemsOne": true, "elem": { "fields": { - "network_channel_type": {}, "nsg_ids": { - "maxItemsOne": false, - "elem": {} - }, - "subnet_id": {} + "maxItemsOne": false + } } } - }, - "project_id": {}, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {} + } } }, "oci_devops_deploy_pipeline": { "current": "oci:DevOps/deployPipeline:DeployPipeline", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "defined_tags": {}, "deploy_pipeline_artifacts": { "maxItemsOne": false, "elem": { @@ -15862,24 +7126,16 @@ "maxItemsOne": false, "elem": { "fields": { - "deploy_artifact_id": {}, "deploy_pipeline_stages": { "maxItemsOne": false, "elem": { "fields": { "items": { - "maxItemsOne": false, - "elem": { - "fields": { - "deploy_stage_id": {}, - "display_name": {} - } - } + "maxItemsOne": false } } } - }, - "display_name": {} + } } } } @@ -15894,24 +7150,16 @@ "maxItemsOne": false, "elem": { "fields": { - "deploy_environment_id": {}, "deploy_pipeline_stages": { "maxItemsOne": false, "elem": { "fields": { "items": { - "maxItemsOne": false, - "elem": { - "fields": { - "deploy_stage_id": {}, - "display_name": {} - } - } + "maxItemsOne": false } } } - }, - "display_name": {} + } } } } @@ -15923,240 +7171,103 @@ "elem": { "fields": { "items": { - "maxItemsOne": false, - "elem": { - "fields": { - "default_value": {}, - "description": {}, - "name": {} - } - } + "maxItemsOne": false } } } - }, - "description": {}, - "display_name": {}, - "freeform_tags": {}, - "lifecycle_details": {}, - "project_id": {}, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {} + } } }, "oci_devops_deploy_stage": { "current": "oci:DevOps/deployStage:DeployStage", + "majorVersion": 1, "fields": { "approval_policy": { - "maxItemsOne": true, - "elem": { - "fields": { - "approval_policy_type": {}, - "number_of_approvals_required": {} - } - } + "maxItemsOne": true }, - "are_hooks_enabled": {}, "blue_backend_ips": { "maxItemsOne": true, "elem": { "fields": { "items": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } } }, "blue_green_strategy": { - "maxItemsOne": true, - "elem": { - "fields": { - "ingress_name": {}, - "namespace_a": {}, - "namespace_b": {}, - "strategy_type": {} - } - } + "maxItemsOne": true }, "canary_strategy": { - "maxItemsOne": true, - "elem": { - "fields": { - "ingress_name": {}, - "namespace": {}, - "strategy_type": {} - } - } + "maxItemsOne": true }, - "command_spec_deploy_artifact_id": {}, - "compartment_id": {}, - "compute_instance_group_blue_green_deployment_deploy_stage_id": {}, - "compute_instance_group_canary_deploy_stage_id": {}, - "compute_instance_group_canary_traffic_shift_deploy_stage_id": {}, - "compute_instance_group_deploy_environment_id": {}, - "config": {}, "container_config": { "maxItemsOne": true, "elem": { "fields": { - "availability_domain": {}, - "compartment_id": {}, - "container_config_type": {}, "network_channel": { "maxItemsOne": true, "elem": { "fields": { - "network_channel_type": {}, "nsg_ids": { - "maxItemsOne": false, - "elem": {} - }, - "subnet_id": {} + "maxItemsOne": false + } } } }, "shape_config": { - "maxItemsOne": true, - "elem": { - "fields": { - "memory_in_gbs": {}, - "ocpus": {} - } - } - }, - "shape_name": {} + "maxItemsOne": true + } } } }, - "defined_tags": {}, - "deploy_artifact_id": {}, "deploy_artifact_ids": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "deploy_environment_id_a": {}, - "deploy_environment_id_b": {}, - "deploy_pipeline_id": {}, "deploy_stage_predecessor_collection": { "maxItemsOne": true, "elem": { "fields": { "items": { - "maxItemsOne": false, - "elem": { - "fields": { - "id": {} - } - } + "maxItemsOne": false } } } }, - "deploy_stage_type": {}, - "deployment_spec_deploy_artifact_id": {}, - "description": {}, - "display_name": {}, - "docker_image_deploy_artifact_id": {}, "failure_policy": { - "maxItemsOne": true, - "elem": { - "fields": { - "failure_count": {}, - "failure_percentage": {}, - "policy_type": {} - } - } + "maxItemsOne": true }, - "freeform_tags": {}, - "function_deploy_environment_id": {}, - "function_timeout_in_seconds": {}, "green_backend_ips": { "maxItemsOne": true, "elem": { "fields": { "items": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } } }, - "helm_chart_deploy_artifact_id": {}, - "is_async": {}, - "is_debug_enabled": {}, - "is_force_enabled": {}, - "is_validation_enabled": {}, "kubernetes_manifest_deploy_artifact_ids": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "lifecycle_details": {}, "load_balancer_config": { - "maxItemsOne": true, - "elem": { - "fields": { - "backend_port": {}, - "listener_name": {}, - "load_balancer_id": {}, - "state": {} - } - } + "maxItemsOne": true }, - "max_history": {}, - "max_memory_in_mbs": {}, - "namespace": {}, - "oke_blue_green_deploy_stage_id": {}, - "oke_canary_deploy_stage_id": {}, - "oke_canary_traffic_shift_deploy_stage_id": {}, - "oke_cluster_deploy_environment_id": {}, "production_load_balancer_config": { - "maxItemsOne": true, - "elem": { - "fields": { - "backend_port": {}, - "listener_name": {}, - "load_balancer_id": {}, - "state": {} - } - } + "maxItemsOne": true }, - "project_id": {}, - "release_name": {}, "rollback_policy": { - "maxItemsOne": true, - "elem": { - "fields": { - "policy_type": {} - } - } + "maxItemsOne": true }, "rollout_policy": { - "maxItemsOne": true, - "elem": { - "fields": { - "batch_count": {}, - "batch_delay_in_seconds": {}, - "batch_percentage": {}, - "policy_type": {}, - "ramp_limit_percent": {} - } - } + "maxItemsOne": true }, "set_string": { "maxItemsOne": true, "elem": { "fields": { "items": { - "maxItemsOne": false, - "elem": { - "fields": { - "name": {}, - "value": {} - } - } + "maxItemsOne": false } } } @@ -16166,73 +7277,32 @@ "elem": { "fields": { "items": { - "maxItemsOne": false, - "elem": { - "fields": { - "name": {}, - "value": {} - } - } + "maxItemsOne": false } } } }, - "should_cleanup_on_fail": {}, - "should_not_wait": {}, - "should_reset_values": {}, - "should_reuse_values": {}, - "should_skip_crds": {}, - "should_skip_render_subchart_notes": {}, - "state": {}, - "system_tags": {}, "test_load_balancer_config": { - "maxItemsOne": true, - "elem": { - "fields": { - "backend_port": {}, - "listener_name": {}, - "load_balancer_id": {}, - "state": {} - } - } + "maxItemsOne": true }, - "time_created": {}, - "time_updated": {}, - "timeout_in_seconds": {}, - "traffic_shift_target": {}, "values_artifact_ids": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "wait_criteria": { - "maxItemsOne": true, - "elem": { - "fields": { - "wait_duration": {}, - "wait_type": {} - } - } + "maxItemsOne": true } } }, "oci_devops_deployment": { "current": "oci:DevOps/deployment:Deployment", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "defined_tags": {}, "deploy_artifact_override_arguments": { "maxItemsOne": true, "elem": { "fields": { "items": { - "maxItemsOne": false, - "elem": { - "fields": { - "deploy_artifact_id": {}, - "name": {}, - "value": {} - } - } + "maxItemsOne": false } } } @@ -16245,24 +7315,16 @@ "maxItemsOne": false, "elem": { "fields": { - "deploy_artifact_id": {}, "deploy_pipeline_stages": { "maxItemsOne": false, "elem": { "fields": { "items": { - "maxItemsOne": false, - "elem": { - "fields": { - "deploy_stage_id": {}, - "display_name": {} - } - } + "maxItemsOne": false } } } - }, - "display_name": {} + } } } } @@ -16277,45 +7339,28 @@ "maxItemsOne": false, "elem": { "fields": { - "deploy_environment_id": {}, "deploy_pipeline_stages": { "maxItemsOne": false, "elem": { "fields": { "items": { - "maxItemsOne": false, - "elem": { - "fields": { - "deploy_stage_id": {}, - "display_name": {} - } - } + "maxItemsOne": false } } } - }, - "display_name": {} + } } } } } } }, - "deploy_pipeline_id": {}, - "deploy_stage_id": {}, "deploy_stage_override_arguments": { "maxItemsOne": true, "elem": { "fields": { "items": { - "maxItemsOne": false, - "elem": { - "fields": { - "deploy_stage_id": {}, - "name": {}, - "value": {} - } - } + "maxItemsOne": false } } } @@ -16325,145 +7370,66 @@ "elem": { "fields": { "items": { - "maxItemsOne": false, - "elem": { - "fields": { - "name": {}, - "value": {} - } - } + "maxItemsOne": false } } } }, "deployment_execution_progress": { - "maxItemsOne": false, - "elem": { - "fields": { - "deploy_stage_execution_progress": {}, - "time_finished": {}, - "time_started": {} - } - } - }, - "deployment_type": {}, - "display_name": {}, - "freeform_tags": {}, - "lifecycle_details": {}, - "previous_deployment_id": {}, - "project_id": {}, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {}, - "trigger_new_devops_deployment": {} + "maxItemsOne": false + } } }, "oci_devops_project": { "current": "oci:DevOps/project:Project", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "freeform_tags": {}, - "lifecycle_details": {}, - "name": {}, - "namespace": {}, "notification_config": { - "maxItemsOne": true, - "elem": { - "fields": { - "topic_id": {} - } - } - }, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {} + "maxItemsOne": true + } } }, "oci_devops_repository": { "current": "oci:DevOps/repository:Repository", + "majorVersion": 1, "fields": { - "branch_count": {}, - "commit_count": {}, - "compartment_id": {}, - "default_branch": {}, - "defined_tags": {}, - "description": {}, - "freeform_tags": {}, - "http_url": {}, - "lifecyle_details": {}, "mirror_repository_config": { "maxItemsOne": true, "elem": { "fields": { - "connector_id": {}, - "repository_url": {}, "trigger_schedule": { - "maxItemsOne": true, - "elem": { - "fields": { - "custom_schedule": {}, - "schedule_type": {} - } - } + "maxItemsOne": true } } } }, - "name": {}, - "namespace": {}, - "project_id": {}, - "project_name": {}, - "repository_type": {}, - "size_in_bytes": {}, - "ssh_url": {}, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {}, "trigger_build_events": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } }, "oci_devops_repository_mirror": { "current": "oci:DevOps/repositoryMirror:RepositoryMirror", - "fields": { - "repository_id": {} - } + "majorVersion": 1 }, "oci_devops_repository_ref": { "current": "oci:DevOps/repositoryRef:RepositoryRef", - "fields": { - "commit_id": {}, - "defined_tags": {}, - "freeform_tags": {}, - "full_ref_name": {}, - "object_id": {}, - "ref_name": {}, - "ref_type": {}, - "repository_id": {} - } + "majorVersion": 1 }, "oci_devops_trigger": { "current": "oci:DevOps/trigger:Trigger", + "majorVersion": 1, "fields": { "actions": { "maxItemsOne": false, "elem": { "fields": { - "build_pipeline_id": {}, "filter": { "maxItemsOne": true, "elem": { "fields": { "events": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "exclude": { "maxItemsOne": true, @@ -16474,8 +7440,7 @@ "elem": { "fields": { "file_paths": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } } @@ -16487,248 +7452,107 @@ "maxItemsOne": true, "elem": { "fields": { - "base_ref": {}, "file_filter": { "maxItemsOne": true, "elem": { "fields": { "file_paths": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } } - }, - "head_ref": {}, - "repository_name": {} + } } } - }, - "trigger_source": {} + } } } - }, - "type": {} + } } } - }, - "compartment_id": {}, - "connection_id": {}, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "freeform_tags": {}, - "lifecycle_details": {}, - "project_id": {}, - "repository_id": {}, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {}, - "trigger_source": {}, - "trigger_url": {} + } } }, "oci_disaster_recovery_dr_plan": { "current": "oci:DisasterRecovery/drPlan:DrPlan", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "dr_protection_group_id": {}, - "freeform_tags": {}, - "life_cycle_details": {}, - "peer_dr_protection_group_id": {}, - "peer_region": {}, "plan_groups": { "maxItemsOne": false, "elem": { "fields": { - "display_name": {}, - "id": {}, "steps": { "maxItemsOne": false, "elem": { "fields": { - "display_name": {}, - "error_mode": {}, - "group_id": {}, - "id": {}, - "is_enabled": {}, - "member_id": {}, - "timeout": {}, - "type": {}, "user_defined_step": { "maxItemsOne": false, "elem": { "fields": { - "function_id": {}, - "function_region": {}, "object_storage_script_location": { - "maxItemsOne": false, - "elem": { - "fields": { - "bucket": {}, - "namespace": {}, - "object": {} - } - } - }, - "request_body": {}, - "run_as_user": {}, - "run_on_instance_id": {}, - "run_on_instance_region": {}, - "script_command": {}, - "step_type": {} + "maxItemsOne": false + } } } } } } - }, - "type": {} + } } } - }, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {}, - "type": {} + } } }, "oci_disaster_recovery_dr_plan_execution": { "current": "oci:DisasterRecovery/drPlanExecution:DrPlanExecution", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "dr_protection_group_id": {}, - "execution_duration_in_sec": {}, "execution_options": { - "maxItemsOne": true, - "elem": { - "fields": { - "are_prechecks_enabled": {}, - "are_warnings_ignored": {}, - "plan_execution_type": {} - } - } + "maxItemsOne": true }, - "freeform_tags": {}, "group_executions": { "maxItemsOne": false, "elem": { "fields": { - "display_name": {}, - "execution_duration_in_sec": {}, - "group_id": {}, - "status": {}, - "status_details": {}, "step_executions": { "maxItemsOne": false, "elem": { "fields": { - "display_name": {}, - "execution_duration_in_sec": {}, - "group_id": {}, "log_location": { - "maxItemsOne": false, - "elem": { - "fields": { - "bucket": {}, - "namespace": {}, - "object": {} - } - } - }, - "status": {}, - "status_details": {}, - "step_id": {}, - "time_ended": {}, - "time_started": {}, - "type": {} + "maxItemsOne": false + } } } - }, - "time_ended": {}, - "time_started": {}, - "type": {} + } } } }, - "life_cycle_details": {}, "log_location": { - "maxItemsOne": false, - "elem": { - "fields": { - "bucket": {}, - "namespace": {}, - "object": {} - } - } - }, - "peer_dr_protection_group_id": {}, - "peer_region": {}, - "plan_execution_type": {}, - "plan_id": {}, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_ended": {}, - "time_started": {}, - "time_updated": {} + "maxItemsOne": false + } } }, "oci_disaster_recovery_dr_protection_group": { "current": "oci:DisasterRecovery/drProtectionGroup:DrProtectionGroup", + "majorVersion": 1, "fields": { "association": { - "maxItemsOne": true, - "elem": { - "fields": { - "peer_id": {}, - "peer_region": {}, - "role": {} - } - } + "maxItemsOne": true }, - "compartment_id": {}, - "defined_tags": {}, - "disassociate_trigger": {}, - "display_name": {}, - "freeform_tags": {}, - "life_cycle_details": {}, "log_location": { - "maxItemsOne": true, - "elem": { - "fields": { - "bucket": {}, - "namespace": {}, - "object": {} - } - } + "maxItemsOne": true }, "members": { "maxItemsOne": false, "elem": { "fields": { - "destination_compartment_id": {}, - "destination_dedicated_vm_host_id": {}, - "is_movable": {}, - "member_id": {}, - "member_type": {}, - "password_vault_secret_id": {}, "vnic_mapping": { "maxItemsOne": false, "elem": { "fields": { "destination_nsg_id_list": { - "maxItemsOne": false, - "elem": {} - }, - "destination_subnet_id": {}, - "source_vnic_id": {} + "maxItemsOne": false + } } } }, @@ -16744,18 +7568,12 @@ } } } - }, - "peer_id": {}, - "peer_region": {}, - "role": {}, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {} + } } }, "oci_dns_action_create_zone_from_zone_file": { "current": "oci:Dns/actionCreateZoneFromZoneFile:ActionCreateZoneFromZoneFile", + "majorVersion": 1, "fields": { "external_downstreams": { "maxItemsOne": false @@ -16773,152 +7591,61 @@ }, "oci_dns_record": { "current": "oci:Dns/record:Record", - "fields": { - "compartment_id": {}, - "domain": {}, - "is_protected": {}, - "rdata": {}, - "record_hash": {}, - "rrset_version": {}, - "rtype": {}, - "ttl": {}, - "zone_name_or_id": {} - } + "majorVersion": 1 }, "oci_dns_resolver": { "current": "oci:Dns/resolver:Resolver", + "majorVersion": 1, "fields": { - "attached_vcn_id": {}, "attached_views": { - "maxItemsOne": false, - "elem": { - "fields": { - "view_id": {} - } - } + "maxItemsOne": false }, - "compartment_id": {}, - "default_view_id": {}, - "defined_tags": {}, - "display_name": {}, "endpoints": { - "maxItemsOne": false, - "elem": { - "fields": { - "compartment_id": {}, - "endpoint_type": {}, - "forwarding_address": {}, - "is_forwarding": {}, - "is_listening": {}, - "listening_address": {}, - "name": {}, - "self": {}, - "state": {}, - "subnet_id": {}, - "time_created": {}, - "time_updated": {} - } - } + "maxItemsOne": false }, - "freeform_tags": {}, - "is_protected": {}, - "resolver_id": {}, "rules": { "maxItemsOne": false, "elem": { "fields": { - "action": {}, "client_address_conditions": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "destination_addresses": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "qname_cover_conditions": { - "maxItemsOne": false, - "elem": {} - }, - "source_endpoint_name": {} + "maxItemsOne": false + } } } - }, - "scope": {}, - "self": {}, - "state": {}, - "time_created": {}, - "time_updated": {} + } } }, "oci_dns_resolver_endpoint": { "current": "oci:Dns/resolverEndpoint:ResolverEndpoint", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "endpoint_type": {}, - "forwarding_address": {}, - "is_forwarding": {}, - "is_listening": {}, - "listening_address": {}, - "name": {}, "nsg_ids": { - "maxItemsOne": false, - "elem": {} - }, - "resolver_id": {}, - "scope": {}, - "self": {}, - "state": {}, - "subnet_id": {}, - "time_created": {}, - "time_updated": {} + "maxItemsOne": false + } } }, "oci_dns_rrset": { "current": "oci:Dns/rrset:Rrset", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "domain": {}, "items": { - "maxItemsOne": false, - "elem": { - "fields": { - "domain": {}, - "is_protected": {}, - "rdata": {}, - "record_hash": {}, - "rrset_version": {}, - "rtype": {}, - "ttl": {} - } - } - }, - "rtype": {}, - "scope": {}, - "view_id": {}, - "zone_name_or_id": {} + "maxItemsOne": false + } } }, "oci_dns_steering_policy": { "current": "oci:Dns/steeringPolicy:SteeringPolicy", + "majorVersion": 1, "fields": { "answers": { - "maxItemsOne": false, - "elem": { - "fields": { - "is_disabled": {}, - "name": {}, - "pool": {}, - "rdata": {}, - "rtype": {} - } - } + "maxItemsOne": false }, - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "health_check_monitor_id": {}, "rules": { "maxItemsOne": false, "elem": { @@ -16928,321 +7655,122 @@ "elem": { "fields": { "answer_data": { - "maxItemsOne": false, - "elem": { - "fields": { - "answer_condition": {}, - "should_keep": {}, - "value": {} - } - } - }, - "case_condition": {}, - "count": {} + "maxItemsOne": false + } } } }, "default_answer_data": { - "maxItemsOne": false, - "elem": { - "fields": { - "answer_condition": {}, - "should_keep": {}, - "value": {} - } - } - }, - "default_count": {}, - "description": {}, - "rule_type": {} + "maxItemsOne": false + } } } - }, - "self": {}, - "state": {}, - "template": {}, - "time_created": {}, - "ttl": {} + } } }, "oci_dns_steering_policy_attachment": { "current": "oci:Dns/steeringPolicyAttachment:SteeringPolicyAttachment", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "display_name": {}, - "domain_name": {}, "rtypes": { - "maxItemsOne": false, - "elem": {} - }, - "self": {}, - "state": {}, - "steering_policy_id": {}, - "time_created": {}, - "zone_id": {} + "maxItemsOne": false + } } }, "oci_dns_tsig_key": { "current": "oci:Dns/tsigKey:TsigKey", - "fields": { - "algorithm": {}, - "compartment_id": {}, - "defined_tags": {}, - "freeform_tags": {}, - "name": {}, - "secret": {}, - "self": {}, - "state": {}, - "time_created": {}, - "time_updated": {} - } + "majorVersion": 1 }, "oci_dns_view": { "current": "oci:Dns/view:View", - "fields": { - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "is_protected": {}, - "scope": {}, - "self": {}, - "state": {}, - "time_created": {}, - "time_updated": {} - } + "majorVersion": 1 }, "oci_dns_zone": { "current": "oci:Dns/zone:Zone", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "defined_tags": {}, "external_downstreams": { "maxItemsOne": false }, "external_masters": { - "maxItemsOne": false, - "elem": { - "fields": { - "address": {}, - "port": {}, - "tsig_key_id": {} - } - } + "maxItemsOne": false }, - "freeform_tags": {}, - "is_protected": {}, - "name": {}, "nameservers": { - "maxItemsOne": false, - "elem": { - "fields": { - "hostname": {} - } - } + "maxItemsOne": false }, - "scope": {}, - "self": {}, - "serial": {}, - "state": {}, - "time_created": {}, - "version": {}, - "view_id": {}, "zone_transfer_servers": { "maxItemsOne": false - }, - "zone_type": {} + } } }, "oci_em_warehouse_em_warehouse": { "current": "oci:EmWarehouse/emWarehouse:EmWarehouse", - "fields": { - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "em_bridge_id": {}, - "em_warehouse_type": {}, - "freeform_tags": {}, - "latest_etl_run_message": {}, - "latest_etl_run_status": {}, - "latest_etl_run_time": {}, - "lifecycle_details": {}, - "operations_insights_warehouse_id": {}, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {} - } + "majorVersion": 1 }, "oci_email_dkim": { "current": "oci:Email/dkim:Dkim", - "fields": { - "cname_record_value": {}, - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "dns_subdomain_name": {}, - "email_domain_id": {}, - "freeform_tags": {}, - "lifecycle_details": {}, - "name": {}, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {}, - "txt_record_value": {} - } + "majorVersion": 1 }, "oci_email_email_domain": { "current": "oci:Email/emailDomain:EmailDomain", - "fields": { - "active_dkim_id": {}, - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "freeform_tags": {}, - "is_spf": {}, - "name": {}, - "state": {}, - "system_tags": {}, - "time_created": {} - } + "majorVersion": 1 }, "oci_email_sender": { "current": "oci:Email/sender:Sender", - "fields": { - "compartment_id": {}, - "defined_tags": {}, - "email_address": {}, - "email_domain_id": {}, - "freeform_tags": {}, - "is_spf": {}, - "state": {}, - "time_created": {} - } + "majorVersion": 1 }, "oci_email_suppression": { "current": "oci:Email/suppression:Suppression", - "fields": { - "compartment_id": {}, - "email_address": {}, - "error_detail": {}, - "error_source": {}, - "message_id": {}, - "reason": {}, - "time_created": {}, - "time_last_suppressed": {} - } + "majorVersion": 1 }, "oci_events_rule": { "current": "oci:Events/rule:Rule", + "majorVersion": 1, "fields": { "actions": { "maxItemsOne": true, "elem": { "fields": { "actions": { - "maxItemsOne": false, - "elem": { - "fields": { - "action_type": {}, - "description": {}, - "function_id": {}, - "id": {}, - "is_enabled": {}, - "lifecycle_message": {}, - "state": {}, - "stream_id": {}, - "topic_id": {} - } - } + "maxItemsOne": false } } } - }, - "compartment_id": {}, - "condition": {}, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "freeform_tags": {}, - "is_enabled": {}, - "lifecycle_message": {}, - "state": {}, - "time_created": {} + } } }, "oci_file_storage_export": { "current": "oci:FileStorage/export:Export", + "majorVersion": 1, "fields": { "export_options": { "maxItemsOne": false, "elem": { "fields": { - "access": {}, "allowed_auth": { "maxItemsOne": false - }, - "anonymous_gid": {}, - "anonymous_uid": {}, - "identity_squash": {}, - "require_privileged_source_port": {}, - "source": {} + } } } - }, - "export_set_id": {}, - "file_system_id": {}, - "path": {}, - "state": {}, - "time_created": {} + } } }, "oci_file_storage_export_set": { "current": "oci:FileStorage/exportSet:ExportSet", - "fields": { - "availability_domain": {}, - "compartment_id": {}, - "display_name": {}, - "max_fs_stat_bytes": {}, - "max_fs_stat_files": {}, - "mount_target_id": {}, - "state": {}, - "time_created": {}, - "vcn_id": {} - } + "majorVersion": 1 }, "oci_file_storage_file_system": { "current": "oci:FileStorage/fileSystem:FileSystem", + "majorVersion": 1, "fields": { - "availability_domain": {}, - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "is_clone_parent": {}, - "is_hydrated": {}, - "is_targetable": {}, - "kms_key_id": {}, - "lifecycle_details": {}, - "metered_bytes": {}, - "replication_target_id": {}, "source_details": { - "maxItemsOne": false, - "elem": { - "fields": { - "parent_file_system_id": {}, - "source_snapshot_id": {} - } - } - }, - "source_snapshot_id": {}, - "state": {}, - "time_created": {} + "maxItemsOne": false + } } }, "oci_file_storage_filesystem_snapshot_policy": { "current": "oci:FileStorage/filesystemSnapshotPolicy:FilesystemSnapshotPolicy", + "majorVersion": 1, "fields": { "schedules": { "maxItemsOne": false @@ -17251,37 +7779,25 @@ }, "oci_file_storage_mount_target": { "current": "oci:FileStorage/mountTarget:MountTarget", + "majorVersion": 1, "fields": { - "availability_domain": {}, - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "export_set_id": {}, - "freeform_tags": {}, - "hostname_label": {}, - "ip_address": {}, "kerberos": { "maxItemsOne": true }, "ldap_idmap": { "maxItemsOne": true }, - "lifecycle_details": {}, "nsg_ids": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "private_ip_ids": { - "maxItemsOne": false, - "elem": {} - }, - "state": {}, - "subnet_id": {}, - "time_created": {} + "maxItemsOne": false + } } }, "oci_file_storage_outbound_connector": { "current": "oci:FileStorage/outboundConnector:OutboundConnector", + "majorVersion": 1, "fields": { "endpoints": { "maxItemsOne": false @@ -17290,851 +7806,300 @@ }, "oci_file_storage_replication": { "current": "oci:FileStorage/replication:Replication", - "fields": { - "availability_domain": {}, - "compartment_id": {}, - "defined_tags": {}, - "delta_progress": {}, - "delta_status": {}, - "display_name": {}, - "freeform_tags": {}, - "last_snapshot_id": {}, - "lifecycle_details": {}, - "recovery_point_time": {}, - "replication_interval": {}, - "replication_target_id": {}, - "source_id": {}, - "state": {}, - "target_id": {}, - "time_created": {} - } + "majorVersion": 1 }, "oci_file_storage_snapshot": { "current": "oci:FileStorage/snapshot:Snapshot", - "fields": { - "defined_tags": {}, - "file_system_id": {}, - "freeform_tags": {}, - "is_clone_source": {}, - "lifecycle_details": {}, - "name": {}, - "provenance_id": {}, - "snapshot_time": {}, - "snapshot_type": {}, - "state": {}, - "time_created": {} - } + "majorVersion": 1 }, "oci_functions_application": { "current": "oci:Functions/application:Application", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "config": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, "image_policy_config": { "maxItemsOne": true, "elem": { "fields": { - "is_policy_enabled": {}, "key_details": { - "maxItemsOne": false, - "elem": { - "fields": { - "kms_key_id": {} - } - } + "maxItemsOne": false } } } }, "network_security_group_ids": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "state": {}, "subnet_ids": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "syslog_url": {}, - "time_created": {}, - "time_updated": {}, "trace_config": { - "maxItemsOne": true, - "elem": { - "fields": { - "domain_id": {}, - "is_enabled": {} - } - } + "maxItemsOne": true } } }, "oci_functions_function": { "current": "oci:Functions/function:Function", + "majorVersion": 1, "fields": { - "application_id": {}, - "compartment_id": {}, - "config": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "image": {}, - "image_digest": {}, - "invoke_endpoint": {}, - "memory_in_mbs": {}, "provisioned_concurrency_config": { - "maxItemsOne": true, - "elem": { - "fields": { - "count": {}, - "strategy": {} - } - } + "maxItemsOne": true }, "source_details": { - "maxItemsOne": true, - "elem": { - "fields": { - "pbf_listing_id": {}, - "source_type": {} - } - } + "maxItemsOne": true }, - "state": {}, - "time_created": {}, - "time_updated": {}, - "timeout_in_seconds": {}, "trace_config": { - "maxItemsOne": true, - "elem": { - "fields": { - "is_enabled": {} - } - } + "maxItemsOne": true } } }, "oci_functions_invoke_function": { "current": "oci:Functions/invokeFunction:InvokeFunction", - "fields": { - "base64_encode_content": {}, - "content": {}, - "fn_intent": {}, - "fn_invoke_type": {}, - "function_id": {}, - "input_body_source_path": {}, - "invoke_endpoint": {}, - "invoke_function_body": {}, - "invoke_function_body_base64_encoded": {} - } + "majorVersion": 1 }, "oci_fusion_apps_fusion_environment": { "current": "oci:FusionApps/fusionEnvironment:FusionEnvironment", + "majorVersion": 1, "fields": { "additional_language_packs": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "applied_patch_bundles": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "compartment_id": {}, "create_fusion_environment_admin_user_details": { - "maxItemsOne": true, - "elem": { - "fields": { - "email_address": {}, - "first_name": {}, - "last_name": {}, - "password": {}, - "username": {} - } - } + "maxItemsOne": true }, - "defined_tags": {}, - "display_name": {}, - "dns_prefix": {}, - "domain_id": {}, - "freeform_tags": {}, - "fusion_environment_family_id": {}, - "fusion_environment_type": {}, - "idcs_domain_url": {}, - "is_break_glass_enabled": {}, - "kms_key_id": {}, "kms_key_info": { - "maxItemsOne": false, - "elem": { - "fields": { - "active_key_id": {}, - "active_key_version": {}, - "current_key_lifecycle_state": {}, - "scheduled_key_id": {}, - "scheduled_key_status": {}, - "scheduled_key_version": {}, - "scheduled_lifecycle_state": {} - } - } + "maxItemsOne": false }, - "lifecycle_details": {}, - "lockbox_id": {}, "maintenance_policy": { "maxItemsOne": true, "elem": { "fields": { - "environment_maintenance_override": {}, - "monthly_patching_override": {}, "quarterly_upgrade_begin_times": { - "maxItemsOne": false, - "elem": { - "fields": { - "begin_times_value": {}, - "override_type": {} - } - } + "maxItemsOne": false } } } }, - "public_url": {}, "refresh": { - "maxItemsOne": false, - "elem": { - "fields": { - "source_fusion_environment_id": {}, - "time_finished": {}, - "time_of_restoration_point": {} - } - } + "maxItemsOne": false }, "rules": { "maxItemsOne": false, "elem": { "fields": { - "action": {}, "conditions": { - "maxItemsOne": false, - "elem": { - "fields": { - "attribute_name": {}, - "attribute_value": {} - } - } - }, - "description": {} + "maxItemsOne": false + } } } }, - "state": {}, "subscription_ids": { - "maxItemsOne": false, - "elem": {} - }, - "system_name": {}, - "time_created": {}, - "time_upcoming_maintenance": {}, - "time_updated": {}, - "version": {} + "maxItemsOne": false + } } }, "oci_fusion_apps_fusion_environment_admin_user": { "current": "oci:FusionApps/fusionEnvironmentAdminUser:FusionEnvironmentAdminUser", + "majorVersion": 1, "fields": { - "email_address": {}, - "first_name": {}, - "fusion_environment_id": {}, "items": { - "maxItemsOne": false, - "elem": { - "fields": { - "email_address": {}, - "first_name": {}, - "last_name": {}, - "username": {} - } - } - }, - "last_name": {}, - "password": {}, - "username": {} + "maxItemsOne": false + } } }, "oci_fusion_apps_fusion_environment_data_masking_activity": { "current": "oci:FusionApps/fusionEnvironmentDataMaskingActivity:FusionEnvironmentDataMaskingActivity", - "fields": { - "fusion_environment_id": {}, - "is_resume_data_masking": {}, - "state": {}, - "time_masking_finish": {}, - "time_masking_start": {} - } + "majorVersion": 1 }, "oci_fusion_apps_fusion_environment_family": { "current": "oci:FusionApps/fusionEnvironmentFamily:FusionEnvironmentFamily", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, "family_maintenance_policy": { - "maxItemsOne": true, - "elem": { - "fields": { - "concurrent_maintenance": {}, - "is_monthly_patching_enabled": {}, - "quarterly_upgrade_begin_times": {} - } - } + "maxItemsOne": true }, - "freeform_tags": {}, - "is_subscription_update_needed": {}, - "lifecycle_details": {}, - "state": {}, "subscription_ids": { - "maxItemsOne": false, - "elem": {} - }, - "system_name": {}, - "time_created": {}, - "time_updated": {} + "maxItemsOne": false + } } }, "oci_fusion_apps_fusion_environment_refresh_activity": { "current": "oci:FusionApps/fusionEnvironmentRefreshActivity:FusionEnvironmentRefreshActivity", + "majorVersion": 1, "fields": { - "display_name": {}, - "fusion_environment_id": {}, - "lifecycle_details": {}, - "refresh_activity_id": {}, "refresh_issue_details_list": { - "maxItemsOne": false, - "elem": { - "fields": { - "refresh_issues": {} - } - } - }, - "service_availability": {}, - "source_fusion_environment_id": {}, - "state": {}, - "time_accepted": {}, - "time_expected_finish": {}, - "time_finished": {}, - "time_of_restoration_point": {}, - "time_updated": {} + "maxItemsOne": false + } } }, "oci_fusion_apps_fusion_environment_service_attachment": { - "current": "oci:FusionApps/fusionEnvironmentServiceAttachment:FusionEnvironmentServiceAttachment" + "current": "oci:FusionApps/fusionEnvironmentServiceAttachment:FusionEnvironmentServiceAttachment", + "majorVersion": 1 }, "oci_generic_artifacts_content_artifact_by_path": { "current": "oci:GenericArtifactsContent/artifactByPath:ArtifactByPath", - "fields": { - "artifact_id": {}, - "artifact_path": {}, - "compartment_id": {}, - "content": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "repository_id": {}, - "sha256": {}, - "size_in_bytes": {}, - "source": {}, - "state": {}, - "time_created": {}, - "version": {} - } + "majorVersion": 1 }, "oci_golden_gate_connection": { "current": "oci:GoldenGate/connection:Connection", + "majorVersion": 1, "fields": { - "access_key_id": {}, - "account_key": {}, - "account_name": {}, "additional_attributes": { - "maxItemsOne": false, - "elem": { - "fields": { - "name": {}, - "value": {} - } - } + "maxItemsOne": false }, - "authentication_type": {}, - "azure_tenant_id": {}, "bootstrap_servers": { - "maxItemsOne": false, - "elem": { - "fields": { - "host": {}, - "port": {}, - "private_ip": {} - } - } + "maxItemsOne": false }, - "client_id": {}, - "client_secret": {}, - "compartment_id": {}, - "connection_factory": {}, - "connection_string": {}, - "connection_type": {}, - "connection_url": {}, - "consumer_properties": {}, - "core_site_xml": {}, - "database_id": {}, - "database_name": {}, - "db_system_id": {}, - "defined_tags": {}, - "deployment_id": {}, - "description": {}, - "display_name": {}, - "endpoint": {}, - "freeform_tags": {}, - "host": {}, "ingress_ips": { - "maxItemsOne": false, - "elem": { - "fields": { - "ingress_ip": {} - } - } + "maxItemsOne": false }, - "jndi_connection_factory": {}, - "jndi_initial_context_factory": {}, - "jndi_provider_url": {}, - "jndi_security_credentials": {}, - "jndi_security_principal": {}, - "key_id": {}, - "key_store": {}, - "key_store_password": {}, - "lifecycle_details": {}, "nsg_ids": { - "maxItemsOne": false, - "elem": {} - }, - "password": {}, - "port": {}, - "private_ip": {}, - "private_key_file": {}, - "private_key_passphrase": {}, - "producer_properties": {}, - "public_key_fingerprint": {}, - "region": {}, - "sas_token": {}, - "secret_access_key": {}, - "security_protocol": {}, - "session_mode": {}, - "should_use_jndi": {}, - "should_validate_server_certificate": {}, - "ssl_ca": {}, - "ssl_cert": {}, - "ssl_crl": {}, - "ssl_key": {}, - "ssl_key_password": {}, - "ssl_mode": {}, - "state": {}, - "stream_pool_id": {}, - "subnet_id": {}, - "system_tags": {}, - "technology_type": {}, - "tenancy_id": {}, - "time_created": {}, - "time_updated": {}, - "trust_store": {}, - "trust_store_password": {}, - "url": {}, - "user_id": {}, - "username": {}, - "vault_id": {}, - "wallet": {} + "maxItemsOne": false + } } }, "oci_golden_gate_connection_assignment": { "current": "oci:GoldenGate/connectionAssignment:ConnectionAssignment", - "fields": { - "alias_name": {}, - "compartment_id": {}, - "connection_id": {}, - "deployment_id": {}, - "state": {}, - "time_created": {}, - "time_updated": {} - } + "majorVersion": 1 }, "oci_golden_gate_database_registration": { "current": "oci:GoldenGate/databaseRegistration:DatabaseRegistration", - "fields": { - "alias_name": {}, - "compartment_id": {}, - "connection_string": {}, - "database_id": {}, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "fqdn": {}, - "freeform_tags": {}, - "ip_address": {}, - "key_id": {}, - "lifecycle_details": {}, - "password": {}, - "rce_private_ip": {}, - "secret_compartment_id": {}, - "secret_id": {}, - "session_mode": {}, - "state": {}, - "subnet_id": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {}, - "username": {}, - "vault_id": {}, - "wallet": {} - } + "majorVersion": 1 }, "oci_golden_gate_deployment": { "current": "oci:GoldenGate/deployment:Deployment", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "cpu_core_count": {}, - "defined_tags": {}, - "deployment_backup_id": {}, "deployment_diagnostic_data": { - "maxItemsOne": false, - "elem": { - "fields": { - "bucket": {}, - "diagnostic_state": {}, - "namespace": {}, - "object": {}, - "time_diagnostic_end": {}, - "time_diagnostic_start": {} - } - } + "maxItemsOne": false }, - "deployment_type": {}, - "deployment_url": {}, - "description": {}, - "display_name": {}, - "fqdn": {}, - "freeform_tags": {}, - "is_auto_scaling_enabled": {}, - "is_healthy": {}, - "is_latest_version": {}, - "is_public": {}, - "is_storage_utilization_limit_exceeded": {}, - "license_model": {}, - "lifecycle_details": {}, - "lifecycle_sub_state": {}, "maintenance_configuration": { "maxItemsOne": true }, "maintenance_window": { - "maxItemsOne": true, - "elem": { - "fields": { - "day": {}, - "start_hour": {} - } - } + "maxItemsOne": true }, - "next_maintenance_action_type": {}, - "next_maintenance_description": {}, "nsg_ids": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "ogg_data": { - "maxItemsOne": true, - "elem": { - "fields": { - "admin_password": {}, - "admin_username": {}, - "certificate": {}, - "deployment_name": {}, - "key": {}, - "ogg_version": {} - } - } - }, - "private_ip_address": {}, - "public_ip_address": {}, - "state": {}, - "storage_utilization_in_bytes": {}, - "subnet_id": {}, - "system_tags": {}, - "time_created": {}, - "time_of_next_maintenance": {}, - "time_updated": {}, - "time_upgrade_required": {} + "maxItemsOne": true + } } }, "oci_golden_gate_deployment_backup": { "current": "oci:GoldenGate/deploymentBackup:DeploymentBackup", - "fields": { - "backup_type": {}, - "bucket": {}, - "compartment_id": {}, - "defined_tags": {}, - "deployment_id": {}, - "display_name": {}, - "freeform_tags": {}, - "is_automatic": {}, - "lifecycle_details": {}, - "namespace": {}, - "object": {}, - "ogg_version": {}, - "size_in_bytes": {}, - "state": {}, - "system_tags": {}, - "time_backup_finished": {}, - "time_created": {}, - "time_of_backup": {}, - "time_updated": {} - } + "majorVersion": 1 }, "oci_health_checks_http_monitor": { "current": "oci:HealthChecks/httpMonitor:HttpMonitor", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "headers": {}, - "home_region": {}, - "interval_in_seconds": {}, - "is_enabled": {}, - "method": {}, - "path": {}, - "port": {}, - "protocol": {}, - "results_url": {}, "targets": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "time_created": {}, - "timeout_in_seconds": {}, "vantage_point_names": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } }, "oci_health_checks_http_probe": { "current": "oci:HealthChecks/httpProbe:HttpProbe", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "headers": {}, - "home_region": {}, - "method": {}, - "path": {}, - "port": {}, - "protocol": {}, - "results_url": {}, "targets": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "time_created": {}, - "timeout_in_seconds": {}, "vantage_point_names": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } }, "oci_health_checks_ping_monitor": { "current": "oci:HealthChecks/pingMonitor:PingMonitor", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "home_region": {}, - "interval_in_seconds": {}, - "is_enabled": {}, - "port": {}, - "protocol": {}, - "results_url": {}, "targets": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "time_created": {}, - "timeout_in_seconds": {}, "vantage_point_names": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } }, "oci_health_checks_ping_probe": { "current": "oci:HealthChecks/pingProbe:PingProbe", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "home_region": {}, - "port": {}, - "protocol": {}, - "results_url": {}, "targets": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "time_created": {}, - "timeout_in_seconds": {}, "vantage_point_names": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } }, "oci_identity_api_key": { "current": "oci:Identity/apiKey:ApiKey", - "fields": { - "fingerprint": {}, - "inactive_status": {}, - "key_value": {}, - "state": {}, - "time_created": {}, - "user_id": {} - } + "majorVersion": 1 }, "oci_identity_auth_token": { "current": "oci:Identity/authToken:AuthToken", - "fields": { - "description": {}, - "inactive_state": {}, - "state": {}, - "time_created": {}, - "time_expires": {}, - "token": {}, - "user_id": {} - } + "majorVersion": 1 }, "oci_identity_authentication_policy": { "current": "oci:Identity/authenticationPolicy:AuthenticationPolicy", + "majorVersion": 1, "fields": { - "compartment_id": {}, "network_policy": { "maxItemsOne": true, "elem": { "fields": { "network_source_ids": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } } }, "password_policy": { - "maxItemsOne": true, - "elem": { - "fields": { - "is_lowercase_characters_required": {}, - "is_numeric_characters_required": {}, - "is_special_characters_required": {}, - "is_uppercase_characters_required": {}, - "is_username_containment_allowed": {}, - "minimum_password_length": {} - } - } + "maxItemsOne": true } } }, "oci_identity_compartment": { "current": "oci:Identity/compartment:Compartment", - "fields": { - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "enable_delete": {}, - "freeform_tags": {}, - "inactive_state": {}, - "is_accessible": {}, - "name": {}, - "state": {}, - "time_created": {} - } + "majorVersion": 1 }, "oci_identity_customer_secret_key": { "current": "oci:Identity/customerSecretKey:CustomerSecretKey", - "fields": { - "display_name": {}, - "inactive_state": {}, - "key": {}, - "state": {}, - "time_created": {}, - "time_expires": {}, - "user_id": {} - } + "majorVersion": 1 }, "oci_identity_data_plane_generate_scoped_access_token": { "current": "oci:IdentityDataPlane/generatedScopedAccessToken:GeneratedScopedAccessToken", - "fields": { - "public_key": {}, - "scope": {}, - "token": {} - } + "majorVersion": 1 }, "oci_identity_db_credential": { "current": "oci:Identity/dbCredential:DbCredential", - "fields": { - "description": {}, - "lifecycle_details": {}, - "password": {}, - "state": {}, - "time_created": {}, - "time_expires": {}, - "user_id": {} - } + "majorVersion": 1 }, "oci_identity_domain": { "current": "oci:Identity/domain:Domain", + "majorVersion": 1, "fields": { - "admin_email": {}, - "admin_first_name": {}, - "admin_last_name": {}, - "admin_user_name": {}, - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "freeform_tags": {}, - "home_region": {}, - "home_region_url": {}, - "is_hidden_on_login": {}, - "is_notification_bypassed": {}, - "is_primary_email_required": {}, - "license_type": {}, - "lifecycle_details": {}, "replica_regions": { - "maxItemsOne": false, - "elem": { - "fields": { - "region": {}, - "state": {}, - "url": {} - } - } - }, - "state": {}, - "time_created": {}, - "type": {}, - "url": {} + "maxItemsOne": false + } } }, "oci_identity_domain_replication_to_region": { "current": "oci:Identity/domainReplicationToRegion:DomainReplicationToRegion", - "fields": { - "domain_id": {}, - "replica_region": {} - } + "majorVersion": 1 }, "oci_identity_domains_account_recovery_setting": { "current": "oci:Identity/domainsAccountRecoverySetting:DomainsAccountRecoverySetting", + "majorVersion": 1, "fields": { "attribute_sets": { "maxItemsOne": false @@ -18164,102 +8129,40 @@ }, "oci_identity_domains_api_key": { "current": "oci:Identity/domainsApiKey:DomainsApiKey", + "majorVersion": 1, "fields": { "attribute_sets": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "attributes": {}, - "authorization": {}, - "compartment_ocid": {}, - "delete_in_progress": {}, - "description": {}, - "domain_ocid": {}, - "fingerprint": {}, - "id": {}, "idcs_created_by": { - "maxItemsOne": false, - "elem": { - "fields": { - "display": {}, - "ocid": {}, - "ref": {}, - "type": {}, - "value": {} - } - } + "maxItemsOne": false }, - "idcs_endpoint": {}, "idcs_last_modified_by": { - "maxItemsOne": false, - "elem": { - "fields": { - "display": {}, - "ocid": {}, - "ref": {}, - "type": {}, - "value": {} - } - } + "maxItemsOne": false }, - "idcs_last_upgraded_in_release": {}, "idcs_prevented_operations": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "key": {}, "meta": { - "maxItemsOne": false, - "elem": { - "fields": { - "created": {}, - "last_modified": {}, - "location": {}, - "resource_type": {}, - "version": {} - } - } + "maxItemsOne": false }, - "ocid": {}, - "resource_type_schema_version": {}, "schemas": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "tags": { - "maxItemsOne": false, - "elem": { - "fields": { - "key": {}, - "value": {} - } - } + "maxItemsOne": false }, - "tenancy_ocid": {}, "urnietfparamsscimschemasoracleidcsextensionself_change_user": { - "maxItemsOne": true, - "elem": { - "fields": { - "allow_self_change": {} - } - } + "maxItemsOne": true }, "user": { - "maxItemsOne": true, - "elem": { - "fields": { - "display": {}, - "name": {}, - "ocid": {}, - "ref": {}, - "value": {} - } - } + "maxItemsOne": true } } }, "oci_identity_domains_app": { "current": "oci:Identity/domainsApp:DomainsApp", + "majorVersion": 1, "fields": { "accounts": { "maxItemsOne": false @@ -18541,6 +8444,7 @@ }, "oci_identity_domains_app_role": { "current": "oci:Identity/domainsAppRole:DomainsAppRole", + "majorVersion": 1, "fields": { "app": { "maxItemsOne": true @@ -18573,308 +8477,96 @@ }, "oci_identity_domains_auth_token": { "current": "oci:Identity/domainsAuthToken:DomainsAuthToken", + "majorVersion": 1, "fields": { "attribute_sets": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "attributes": {}, - "authorization": {}, - "compartment_ocid": {}, - "delete_in_progress": {}, - "description": {}, - "domain_ocid": {}, - "expires_on": {}, - "id": {}, "idcs_created_by": { - "maxItemsOne": false, - "elem": { - "fields": { - "display": {}, - "ocid": {}, - "ref": {}, - "type": {}, - "value": {} - } - } + "maxItemsOne": false }, - "idcs_endpoint": {}, "idcs_last_modified_by": { - "maxItemsOne": false, - "elem": { - "fields": { - "display": {}, - "ocid": {}, - "ref": {}, - "type": {}, - "value": {} - } - } + "maxItemsOne": false }, - "idcs_last_upgraded_in_release": {}, "idcs_prevented_operations": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "meta": { - "maxItemsOne": false, - "elem": { - "fields": { - "created": {}, - "last_modified": {}, - "location": {}, - "resource_type": {}, - "version": {} - } - } + "maxItemsOne": false }, - "ocid": {}, - "resource_type_schema_version": {}, "schemas": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "status": {}, "tags": { - "maxItemsOne": false, - "elem": { - "fields": { - "key": {}, - "value": {} - } - } + "maxItemsOne": false }, - "tenancy_ocid": {}, "urnietfparamsscimschemasoracleidcsextensionself_change_user": { - "maxItemsOne": true, - "elem": { - "fields": { - "allow_self_change": {} - } - } + "maxItemsOne": true }, "user": { - "maxItemsOne": true, - "elem": { - "fields": { - "display": {}, - "name": {}, - "ocid": {}, - "ref": {}, - "value": {} - } - } + "maxItemsOne": true } } }, "oci_identity_domains_authentication_factor_setting": { "current": "oci:Identity/domainsAuthenticationFactorSetting:DomainsAuthenticationFactorSetting", + "majorVersion": 1, "fields": { "attribute_sets": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "attributes": {}, - "authentication_factor_setting_id": {}, - "authorization": {}, - "auto_enroll_email_factor_disabled": {}, - "bypass_code_enabled": {}, "bypass_code_settings": { - "maxItemsOne": true, - "elem": { - "fields": { - "help_desk_code_expiry_in_mins": {}, - "help_desk_generation_enabled": {}, - "help_desk_max_usage": {}, - "length": {}, - "max_active": {}, - "self_service_generation_enabled": {} - } - } + "maxItemsOne": true }, "client_app_settings": { - "maxItemsOne": true, - "elem": { - "fields": { - "device_protection_policy": {}, - "initial_lockout_period_in_secs": {}, - "key_pair_length": {}, - "lockout_escalation_pattern": {}, - "max_failures_before_lockout": {}, - "max_failures_before_warning": {}, - "max_lockout_interval_in_secs": {}, - "min_pin_length": {}, - "policy_update_freq_in_days": {}, - "request_signing_algo": {}, - "shared_secret_encoding": {}, - "unlock_app_for_each_request_enabled": {}, - "unlock_app_interval_in_secs": {}, - "unlock_on_app_foreground_enabled": {}, - "unlock_on_app_start_enabled": {} - } - } + "maxItemsOne": true }, - "compartment_ocid": {}, "compliance_policy": { - "maxItemsOne": false, - "elem": { - "fields": { - "action": {}, - "name": {}, - "value": {} - } - } + "maxItemsOne": false }, - "delete_in_progress": {}, - "domain_ocid": {}, - "email_enabled": {}, "email_settings": { - "maxItemsOne": true, - "elem": { - "fields": { - "email_link_custom_url": {}, - "email_link_enabled": {} - } - } + "maxItemsOne": true }, "endpoint_restrictions": { - "maxItemsOne": true, - "elem": { - "fields": { - "max_endpoint_trust_duration_in_days": {}, - "max_enrolled_devices": {}, - "max_incorrect_attempts": {}, - "max_trusted_endpoints": {}, - "trusted_endpoints_enabled": {} - } - } + "maxItemsOne": true }, - "fido_authenticator_enabled": {}, - "hide_backup_factor_enabled": {}, - "id": {}, "idcs_created_by": { - "maxItemsOne": false, - "elem": { - "fields": { - "display": {}, - "ocid": {}, - "ref": {}, - "type": {}, - "value": {} - } - } + "maxItemsOne": false }, - "idcs_endpoint": {}, "idcs_last_modified_by": { - "maxItemsOne": false, - "elem": { - "fields": { - "display": {}, - "ocid": {}, - "ref": {}, - "type": {}, - "value": {} - } - } + "maxItemsOne": false }, - "idcs_last_upgraded_in_release": {}, "idcs_prevented_operations": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "identity_store_settings": { - "maxItemsOne": true, - "elem": { - "fields": { - "mobile_number_enabled": {}, - "mobile_number_update_enabled": {} - } - } + "maxItemsOne": true }, "meta": { - "maxItemsOne": false, - "elem": { - "fields": { - "created": {}, - "last_modified": {}, - "location": {}, - "resource_type": {}, - "version": {} - } - } + "maxItemsOne": false }, - "mfa_enabled_category": {}, - "mfa_enrollment_type": {}, "notification_settings": { - "maxItemsOne": true, - "elem": { - "fields": { - "pull_enabled": {} - } - } + "maxItemsOne": true }, - "ocid": {}, - "phone_call_enabled": {}, - "push_enabled": {}, - "resource_type_schema_version": {}, "schemas": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "security_questions_enabled": {}, - "sms_enabled": {}, "tags": { - "maxItemsOne": false, - "elem": { - "fields": { - "key": {}, - "value": {} - } - } + "maxItemsOne": false }, - "tenancy_ocid": {}, "third_party_factor": { - "maxItemsOne": true, - "elem": { - "fields": { - "duo_security": {} - } - } + "maxItemsOne": true }, - "totp_enabled": {}, "totp_settings": { - "maxItemsOne": true, - "elem": { - "fields": { - "email_otp_validity_duration_in_mins": {}, - "email_passcode_length": {}, - "hashing_algorithm": {}, - "jwt_validity_duration_in_secs": {}, - "key_refresh_interval_in_days": {}, - "passcode_length": {}, - "sms_otp_validity_duration_in_mins": {}, - "sms_passcode_length": {}, - "time_step_in_secs": {}, - "time_step_tolerance": {} - } - } + "maxItemsOne": true }, "urnietfparamsscimschemasoracleidcsextensionfido_authentication_factor_settings": { "maxItemsOne": true, "elem": { "fields": { - "attestation": {}, - "authenticator_selection_attachment": {}, - "authenticator_selection_require_resident_key": {}, - "authenticator_selection_resident_key": {}, - "authenticator_selection_user_verification": {}, - "domain_validation_level": {}, - "exclude_credentials": {}, "public_key_types": { - "maxItemsOne": false, - "elem": {} - }, - "timeout": {} + "maxItemsOne": false + } } } }, @@ -18883,248 +8575,90 @@ "elem": { "fields": { "duo_security_settings": { - "maxItemsOne": true, - "elem": { - "fields": { - "api_hostname": {}, - "attestation_key": {}, - "integration_key": {}, - "secret_key": {}, - "user_mapping_attribute": {} - } - } + "maxItemsOne": true } } } }, "user_enrollment_disabled_factors": { - "maxItemsOne": false, - "elem": {} - }, - "yubico_otp_enabled": {} + "maxItemsOne": false + } } }, "oci_identity_domains_customer_secret_key": { "current": "oci:Identity/domainsCustomerSecretKey:DomainsCustomerSecretKey", + "majorVersion": 1, "fields": { - "access_key": {}, "attribute_sets": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "attributes": {}, - "authorization": {}, - "compartment_ocid": {}, - "delete_in_progress": {}, - "description": {}, - "display_name": {}, - "domain_ocid": {}, - "expires_on": {}, - "id": {}, "idcs_created_by": { - "maxItemsOne": false, - "elem": { - "fields": { - "display": {}, - "ocid": {}, - "ref": {}, - "type": {}, - "value": {} - } - } + "maxItemsOne": false }, - "idcs_endpoint": {}, "idcs_last_modified_by": { - "maxItemsOne": false, - "elem": { - "fields": { - "display": {}, - "ocid": {}, - "ref": {}, - "type": {}, - "value": {} - } - } + "maxItemsOne": false }, - "idcs_last_upgraded_in_release": {}, "idcs_prevented_operations": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "meta": { - "maxItemsOne": false, - "elem": { - "fields": { - "created": {}, - "last_modified": {}, - "location": {}, - "resource_type": {}, - "version": {} - } - } + "maxItemsOne": false }, - "ocid": {}, - "resource_type_schema_version": {}, "schemas": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "status": {}, "tags": { - "maxItemsOne": false, - "elem": { - "fields": { - "key": {}, - "value": {} - } - } + "maxItemsOne": false }, - "tenancy_ocid": {}, "urnietfparamsscimschemasoracleidcsextensionself_change_user": { - "maxItemsOne": true, - "elem": { - "fields": { - "allow_self_change": {} - } - } + "maxItemsOne": true }, "user": { - "maxItemsOne": true, - "elem": { - "fields": { - "display": {}, - "name": {}, - "ocid": {}, - "ref": {}, - "value": {} - } - } + "maxItemsOne": true } } }, "oci_identity_domains_dynamic_resource_group": { "current": "oci:Identity/domainsDynamicResourceGroup:DomainsDynamicResourceGroup", + "majorVersion": 1, "fields": { "attribute_sets": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "attributes": {}, - "authorization": {}, - "compartment_ocid": {}, - "delete_in_progress": {}, - "description": {}, - "display_name": {}, - "domain_ocid": {}, "dynamic_group_app_roles": { - "maxItemsOne": false, - "elem": { - "fields": { - "admin_role": {}, - "app_id": {}, - "app_name": {}, - "display": {}, - "legacy_group_name": {}, - "ref": {}, - "value": {} - } - } + "maxItemsOne": false }, "grants": { - "maxItemsOne": false, - "elem": { - "fields": { - "app_id": {}, - "grant_mechanism": {}, - "ref": {}, - "value": {} - } - } + "maxItemsOne": false }, - "id": {}, "idcs_created_by": { - "maxItemsOne": false, - "elem": { - "fields": { - "display": {}, - "ocid": {}, - "ref": {}, - "type": {}, - "value": {} - } - } + "maxItemsOne": false }, - "idcs_endpoint": {}, "idcs_last_modified_by": { - "maxItemsOne": false, - "elem": { - "fields": { - "display": {}, - "ocid": {}, - "ref": {}, - "type": {}, - "value": {} - } - } + "maxItemsOne": false }, - "idcs_last_upgraded_in_release": {}, "idcs_prevented_operations": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "matching_rule": {}, "meta": { - "maxItemsOne": false, - "elem": { - "fields": { - "created": {}, - "last_modified": {}, - "location": {}, - "resource_type": {}, - "version": {} - } - } + "maxItemsOne": false }, - "ocid": {}, - "resource_type_schema_version": {}, "schemas": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "tags": { - "maxItemsOne": false, - "elem": { - "fields": { - "key": {}, - "value": {} - } - } + "maxItemsOne": false }, - "tenancy_ocid": {}, "urnietfparamsscimschemasoracleidcsextension_oci_tags": { "maxItemsOne": true, "elem": { "fields": { "defined_tags": { - "maxItemsOne": false, - "elem": { - "fields": { - "key": {}, - "namespace": {}, - "value": {} - } - } + "maxItemsOne": false }, "freeform_tags": { - "maxItemsOne": false, - "elem": { - "fields": { - "key": {}, - "value": {} - } - } - }, - "tag_slug": {} + "maxItemsOne": false + } } } } @@ -19132,6 +8666,7 @@ }, "oci_identity_domains_grant": { "current": "oci:Identity/domainsGrant:DomainsGrant", + "majorVersion": 1, "fields": { "app": { "maxItemsOne": true @@ -19173,117 +8708,42 @@ }, "oci_identity_domains_group": { "current": "oci:Identity/domainsGroup:DomainsGroup", + "majorVersion": 1, "fields": { "attribute_sets": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "attributes": {}, - "authorization": {}, - "compartment_ocid": {}, - "delete_in_progress": {}, - "display_name": {}, - "domain_ocid": {}, - "external_id": {}, - "id": {}, "idcs_created_by": { - "maxItemsOne": false, - "elem": { - "fields": { - "display": {}, - "ocid": {}, - "ref": {}, - "type": {}, - "value": {} - } - } + "maxItemsOne": false }, - "idcs_endpoint": {}, "idcs_last_modified_by": { - "maxItemsOne": false, - "elem": { - "fields": { - "display": {}, - "ocid": {}, - "ref": {}, - "type": {}, - "value": {} - } - } + "maxItemsOne": false }, - "idcs_last_upgraded_in_release": {}, "idcs_prevented_operations": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "members": { - "maxItemsOne": false, - "elem": { - "fields": { - "date_added": {}, - "display": {}, - "membership_ocid": {}, - "name": {}, - "ocid": {}, - "ref": {}, - "type": {}, - "value": {} - } - } + "maxItemsOne": false }, "meta": { - "maxItemsOne": false, - "elem": { - "fields": { - "created": {}, - "last_modified": {}, - "location": {}, - "resource_type": {}, - "version": {} - } - } + "maxItemsOne": false }, - "non_unique_display_name": {}, - "ocid": {}, - "resource_type_schema_version": {}, "schemas": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "tags": { - "maxItemsOne": false, - "elem": { - "fields": { - "key": {}, - "value": {} - } - } + "maxItemsOne": false }, - "tenancy_ocid": {}, "urnietfparamsscimschemasoracleidcsextension_oci_tags": { "maxItemsOne": true, "elem": { "fields": { "defined_tags": { - "maxItemsOne": false, - "elem": { - "fields": { - "key": {}, - "namespace": {}, - "value": {} - } - } + "maxItemsOne": false }, "freeform_tags": { - "maxItemsOne": false, - "elem": { - "fields": { - "key": {}, - "value": {} - } - } - }, - "tag_slug": {} + "maxItemsOne": false + } } } }, @@ -19291,301 +8751,98 @@ "maxItemsOne": false, "elem": { "fields": { - "domain_level_schema": {}, "domain_level_schema_names": { - "maxItemsOne": false, - "elem": { - "fields": { - "domain_name": {}, - "schema_name": {} - } - } + "maxItemsOne": false }, - "instance_level_schema": {}, "instance_level_schema_names": { - "maxItemsOne": false, - "elem": { - "fields": { - "db_instance_id": {}, - "schema_name": {} - } - } + "maxItemsOne": false } } } }, "urnietfparamsscimschemasoracleidcsextensiondynamic_group": { - "maxItemsOne": true, - "elem": { - "fields": { - "membership_rule": {}, - "membership_type": {} - } - } + "maxItemsOne": true }, "urnietfparamsscimschemasoracleidcsextensiongroup_group": { "maxItemsOne": true, "elem": { "fields": { "app_roles": { - "maxItemsOne": false, - "elem": { - "fields": { - "admin_role": {}, - "app_id": {}, - "app_name": {}, - "display": {}, - "legacy_group_name": {}, - "ref": {}, - "type": {}, - "value": {} - } - } + "maxItemsOne": false }, - "creation_mechanism": {}, - "description": {}, "grants": { - "maxItemsOne": false, - "elem": { - "fields": { - "app_id": {}, - "grant_mechanism": {}, - "ref": {}, - "value": {} - } - } + "maxItemsOne": false }, "owners": { - "maxItemsOne": false, - "elem": { - "fields": { - "display": {}, - "ref": {}, - "type": {}, - "value": {} - } - } + "maxItemsOne": false }, "password_policy": { - "maxItemsOne": false, - "elem": { - "fields": { - "name": {}, - "priority": {}, - "ref": {}, - "value": {} - } - } + "maxItemsOne": false }, "synced_from_app": { - "maxItemsOne": false, - "elem": { - "fields": { - "display": {}, - "ref": {}, - "type": {}, - "value": {} - } - } + "maxItemsOne": false } } } }, "urnietfparamsscimschemasoracleidcsextensionposix_group": { - "maxItemsOne": true, - "elem": { - "fields": { - "gid_number": {} - } - } + "maxItemsOne": true }, "urnietfparamsscimschemasoracleidcsextensionrequestable_group": { - "maxItemsOne": true, - "elem": { - "fields": { - "requestable": {} - } - } + "maxItemsOne": true } } }, "oci_identity_domains_identity_provider": { "current": "oci:Identity/domainsIdentityProvider:DomainsIdentityProvider", + "majorVersion": 1, "fields": { - "assertion_attribute": {}, "attribute_sets": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "attributes": {}, - "authn_request_binding": {}, - "authorization": {}, - "compartment_ocid": {}, "correlation_policy": { - "maxItemsOne": true, - "elem": { - "fields": { - "display": {}, - "ref": {}, - "type": {}, - "value": {} - } - } + "maxItemsOne": true }, - "delete_in_progress": {}, - "description": {}, - "domain_ocid": {}, - "enabled": {}, - "encryption_certificate": {}, - "external_id": {}, - "icon_url": {}, - "id": {}, "idcs_created_by": { - "maxItemsOne": false, - "elem": { - "fields": { - "display": {}, - "ocid": {}, - "ref": {}, - "type": {}, - "value": {} - } - } + "maxItemsOne": false }, - "idcs_endpoint": {}, "idcs_last_modified_by": { - "maxItemsOne": false, - "elem": { - "fields": { - "display": {}, - "ocid": {}, - "ref": {}, - "type": {}, - "value": {} - } - } + "maxItemsOne": false }, - "idcs_last_upgraded_in_release": {}, "idcs_prevented_operations": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "idp_sso_url": {}, - "include_signing_cert_in_signature": {}, "jit_user_prov_assigned_groups": { - "maxItemsOne": false, - "elem": { - "fields": { - "display": {}, - "ref": {}, - "value": {} - } - } + "maxItemsOne": false }, - "jit_user_prov_attribute_update_enabled": {}, "jit_user_prov_attributes": { - "maxItemsOne": true, - "elem": { - "fields": { - "ref": {}, - "value": {} - } - } + "maxItemsOne": true }, - "jit_user_prov_create_user_enabled": {}, - "jit_user_prov_enabled": {}, - "jit_user_prov_group_assertion_attribute_enabled": {}, - "jit_user_prov_group_assignment_method": {}, - "jit_user_prov_group_mapping_mode": {}, "jit_user_prov_group_mappings": { - "maxItemsOne": false, - "elem": { - "fields": { - "idp_group": {}, - "ref": {}, - "value": {} - } - } + "maxItemsOne": false }, - "jit_user_prov_group_saml_attribute_name": {}, - "jit_user_prov_group_static_list_enabled": {}, - "jit_user_prov_ignore_error_on_absent_groups": {}, - "logout_binding": {}, - "logout_enabled": {}, - "logout_request_url": {}, - "logout_response_url": {}, "meta": { - "maxItemsOne": false, - "elem": { - "fields": { - "created": {}, - "last_modified": {}, - "location": {}, - "resource_type": {}, - "version": {} - } - } + "maxItemsOne": false }, - "metadata": {}, - "name_id_format": {}, - "ocid": {}, - "partner_name": {}, - "partner_provider_id": {}, "requested_authentication_context": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "require_force_authn": {}, - "requires_encrypted_assertion": {}, - "resource_type_schema_version": {}, - "saml_ho_krequired": {}, "schemas": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "service_instance_identifier": {}, - "shown_on_login_page": {}, - "signature_hash_algorithm": {}, - "signing_certificate": {}, - "succinct_id": {}, "tags": { - "maxItemsOne": false, - "elem": { - "fields": { - "key": {}, - "value": {} - } - } + "maxItemsOne": false }, - "tenancy_ocid": {}, - "tenant_provider_id": {}, - "type": {}, "urnietfparamsscimschemasoracleidcsextensionsocial_identity_provider": { "maxItemsOne": true, "elem": { "fields": { - "access_token_url": {}, - "account_linking_enabled": {}, "admin_scope": { - "maxItemsOne": false, - "elem": {} - }, - "authz_url": {}, - "client_credential_in_payload": {}, - "clock_skew_in_seconds": {}, - "consumer_key": {}, - "consumer_secret": {}, - "discovery_url": {}, - "id_attribute": {}, - "profile_url": {}, - "redirect_url": {}, - "registration_enabled": {}, - "scope": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "service_provider_name": {}, - "status": {} + "scope": { + "maxItemsOne": false + } } } }, @@ -19593,39 +8850,23 @@ "maxItemsOne": true, "elem": { "fields": { - "cert_match_attribute": {}, - "crl_check_on_ocsp_failure_enabled": {}, - "crl_enabled": {}, - "crl_location": {}, - "crl_reload_duration": {}, "eku_values": { "maxItemsOne": false }, - "ocsp_allow_unknown_response_status": {}, - "ocsp_enable_signed_response": {}, - "ocsp_enabled": {}, - "ocsp_responder_url": {}, - "ocsp_revalidate_time": {}, - "ocsp_server_name": {}, "ocsp_trust_cert_chain": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "other_cert_match_attribute": {}, "signing_certificate_chain": { - "maxItemsOne": false, - "elem": {} - }, - "user_match_attribute": {} + "maxItemsOne": false + } } } - }, - "user_mapping_method": {}, - "user_mapping_store_attribute": {} + } } }, "oci_identity_domains_identity_setting": { "current": "oci:Identity/domainsIdentitySetting:DomainsIdentitySetting", + "majorVersion": 1, "fields": { "attribute_sets": { "maxItemsOne": false @@ -19664,433 +8905,145 @@ }, "oci_identity_domains_kmsi_setting": { "current": "oci:Identity/domainsKmsiSetting:DomainsKmsiSetting", + "majorVersion": 1, "fields": { "attribute_sets": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "attributes": {}, - "authorization": {}, - "compartment_ocid": {}, - "delete_in_progress": {}, - "domain_ocid": {}, - "external_id": {}, - "id": {}, "idcs_created_by": { - "maxItemsOne": false, - "elem": { - "fields": { - "display": {}, - "ocid": {}, - "ref": {}, - "type": {}, - "value": {} - } - } + "maxItemsOne": false }, - "idcs_endpoint": {}, "idcs_last_modified_by": { - "maxItemsOne": false, - "elem": { - "fields": { - "display": {}, - "ocid": {}, - "ref": {}, - "type": {}, - "value": {} - } - } + "maxItemsOne": false }, - "idcs_last_upgraded_in_release": {}, "idcs_prevented_operations": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "kmsi_feature_enabled": {}, - "kmsi_prompt_enabled": {}, - "kmsi_setting_id": {}, - "last_enabled_on": {}, - "last_used_validity_in_days": {}, - "max_allowed_sessions": {}, "meta": { - "maxItemsOne": false, - "elem": { - "fields": { - "created": {}, - "last_modified": {}, - "location": {}, - "resource_type": {}, - "version": {} - } - } + "maxItemsOne": false }, - "ocid": {}, - "resource_type_schema_version": {}, "schemas": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "tags": { - "maxItemsOne": false, - "elem": { - "fields": { - "key": {}, - "value": {} - } - } - }, - "tenancy_ocid": {}, - "token_validity_in_days": {}, - "tou_prompt_disabled": {} + "maxItemsOne": false + } } }, "oci_identity_domains_my_api_key": { "current": "oci:Identity/domainsMyApiKey:DomainsMyApiKey", + "majorVersion": 1, "fields": { - "authorization": {}, - "compartment_ocid": {}, - "delete_in_progress": {}, - "description": {}, - "domain_ocid": {}, - "fingerprint": {}, - "id": {}, "idcs_created_by": { - "maxItemsOne": false, - "elem": { - "fields": { - "display": {}, - "ocid": {}, - "ref": {}, - "type": {}, - "value": {} - } - } + "maxItemsOne": false }, - "idcs_endpoint": {}, "idcs_last_modified_by": { - "maxItemsOne": false, - "elem": { - "fields": { - "display": {}, - "ocid": {}, - "ref": {}, - "type": {}, - "value": {} - } - } + "maxItemsOne": false }, - "idcs_last_upgraded_in_release": {}, "idcs_prevented_operations": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "key": {}, "meta": { - "maxItemsOne": false, - "elem": { - "fields": { - "created": {}, - "last_modified": {}, - "location": {}, - "resource_type": {}, - "version": {} - } - } + "maxItemsOne": false }, - "ocid": {}, - "resource_type_schema_version": {}, "schemas": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "tags": { - "maxItemsOne": false, - "elem": { - "fields": { - "key": {}, - "value": {} - } - } + "maxItemsOne": false }, - "tenancy_ocid": {}, "user": { - "maxItemsOne": true, - "elem": { - "fields": { - "display": {}, - "name": {}, - "ocid": {}, - "ref": {}, - "value": {} - } - } + "maxItemsOne": true } } }, "oci_identity_domains_my_auth_token": { "current": "oci:Identity/domainsMyAuthToken:DomainsMyAuthToken", + "majorVersion": 1, "fields": { - "authorization": {}, - "compartment_ocid": {}, - "delete_in_progress": {}, - "description": {}, - "domain_ocid": {}, - "expires_on": {}, - "id": {}, "idcs_created_by": { - "maxItemsOne": false, - "elem": { - "fields": { - "display": {}, - "ocid": {}, - "ref": {}, - "type": {}, - "value": {} - } - } + "maxItemsOne": false }, - "idcs_endpoint": {}, "idcs_last_modified_by": { - "maxItemsOne": false, - "elem": { - "fields": { - "display": {}, - "ocid": {}, - "ref": {}, - "type": {}, - "value": {} - } - } + "maxItemsOne": false }, - "idcs_last_upgraded_in_release": {}, "idcs_prevented_operations": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "meta": { - "maxItemsOne": false, - "elem": { - "fields": { - "created": {}, - "last_modified": {}, - "location": {}, - "resource_type": {}, - "version": {} - } - } + "maxItemsOne": false }, - "ocid": {}, - "resource_type_schema_version": {}, "schemas": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "status": {}, "tags": { - "maxItemsOne": false, - "elem": { - "fields": { - "key": {}, - "value": {} - } - } + "maxItemsOne": false }, - "tenancy_ocid": {}, "user": { - "maxItemsOne": true, - "elem": { - "fields": { - "display": {}, - "name": {}, - "ocid": {}, - "ref": {}, - "value": {} - } - } + "maxItemsOne": true } } }, "oci_identity_domains_my_customer_secret_key": { "current": "oci:Identity/domainsMyCustomerSecretKey:DomainsMyCustomerSecretKey", + "majorVersion": 1, "fields": { - "access_key": {}, - "authorization": {}, - "compartment_ocid": {}, - "delete_in_progress": {}, - "description": {}, - "display_name": {}, - "domain_ocid": {}, - "expires_on": {}, - "id": {}, "idcs_created_by": { - "maxItemsOne": false, - "elem": { - "fields": { - "display": {}, - "ocid": {}, - "ref": {}, - "type": {}, - "value": {} - } - } + "maxItemsOne": false }, - "idcs_endpoint": {}, "idcs_last_modified_by": { - "maxItemsOne": false, - "elem": { - "fields": { - "display": {}, - "ocid": {}, - "ref": {}, - "type": {}, - "value": {} - } - } + "maxItemsOne": false }, - "idcs_last_upgraded_in_release": {}, "idcs_prevented_operations": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "meta": { - "maxItemsOne": false, - "elem": { - "fields": { - "created": {}, - "last_modified": {}, - "location": {}, - "resource_type": {}, - "version": {} - } - } + "maxItemsOne": false }, - "ocid": {}, - "resource_type_schema_version": {}, "schemas": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "status": {}, "tags": { - "maxItemsOne": false, - "elem": { - "fields": { - "key": {}, - "value": {} - } - } + "maxItemsOne": false }, - "tenancy_ocid": {}, "user": { - "maxItemsOne": true, - "elem": { - "fields": { - "display": {}, - "name": {}, - "ocid": {}, - "ref": {}, - "value": {} - } - } + "maxItemsOne": true } } }, "oci_identity_domains_my_oauth2client_credential": { "current": "oci:Identity/domainsMyOauth2clientCredential:DomainsMyOauth2clientCredential", + "majorVersion": 1, "fields": { - "authorization": {}, - "compartment_ocid": {}, - "delete_in_progress": {}, - "description": {}, - "domain_ocid": {}, - "expires_on": {}, - "id": {}, "idcs_created_by": { - "maxItemsOne": false, - "elem": { - "fields": { - "display": {}, - "ocid": {}, - "ref": {}, - "type": {}, - "value": {} - } - } + "maxItemsOne": false }, - "idcs_endpoint": {}, "idcs_last_modified_by": { - "maxItemsOne": false, - "elem": { - "fields": { - "display": {}, - "ocid": {}, - "ref": {}, - "type": {}, - "value": {} - } - } + "maxItemsOne": false }, - "idcs_last_upgraded_in_release": {}, "idcs_prevented_operations": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "is_reset_secret": {}, "meta": { - "maxItemsOne": false, - "elem": { - "fields": { - "created": {}, - "last_modified": {}, - "location": {}, - "resource_type": {}, - "version": {} - } - } + "maxItemsOne": false }, - "name": {}, - "ocid": {}, - "resource_type_schema_version": {}, "schemas": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "scopes": { - "maxItemsOne": false, - "elem": { - "fields": { - "audience": {}, - "scope": {} - } - } + "maxItemsOne": false }, - "status": {}, "tags": { - "maxItemsOne": false, - "elem": { - "fields": { - "key": {}, - "value": {} - } - } + "maxItemsOne": false }, - "tenancy_ocid": {}, "user": { - "maxItemsOne": true, - "elem": { - "fields": { - "display": {}, - "name": {}, - "ocid": {}, - "ref": {}, - "value": {} - } - } + "maxItemsOne": true } } }, "oci_identity_domains_my_request": { "current": "oci:Identity/domainsMyRequest:DomainsMyRequest", + "majorVersion": 1, "fields": { "attribute_sets": { "maxItemsOne": false @@ -20123,502 +9076,163 @@ }, "oci_identity_domains_my_smtp_credential": { "current": "oci:Identity/domainsMySmtpCredential:DomainsMySmtpCredential", + "majorVersion": 1, "fields": { - "authorization": {}, - "compartment_ocid": {}, - "delete_in_progress": {}, - "description": {}, - "domain_ocid": {}, - "expires_on": {}, - "id": {}, "idcs_created_by": { - "maxItemsOne": false, - "elem": { - "fields": { - "display": {}, - "ocid": {}, - "ref": {}, - "type": {}, - "value": {} - } - } + "maxItemsOne": false }, - "idcs_endpoint": {}, "idcs_last_modified_by": { - "maxItemsOne": false, - "elem": { - "fields": { - "display": {}, - "ocid": {}, - "ref": {}, - "type": {}, - "value": {} - } - } + "maxItemsOne": false }, - "idcs_last_upgraded_in_release": {}, "idcs_prevented_operations": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "meta": { - "maxItemsOne": false, - "elem": { - "fields": { - "created": {}, - "last_modified": {}, - "location": {}, - "resource_type": {}, - "version": {} - } - } + "maxItemsOne": false }, - "ocid": {}, - "resource_type_schema_version": {}, "schemas": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "status": {}, "tags": { - "maxItemsOne": false, - "elem": { - "fields": { - "key": {}, - "value": {} - } - } + "maxItemsOne": false }, - "tenancy_ocid": {}, "user": { - "maxItemsOne": true, - "elem": { - "fields": { - "display": {}, - "name": {}, - "ocid": {}, - "ref": {}, - "value": {} - } - } - }, - "user_name": {} + "maxItemsOne": true + } } }, "oci_identity_domains_my_support_account": { "current": "oci:Identity/domainsMySupportAccount:DomainsMySupportAccount", + "majorVersion": 1, "fields": { - "authorization": {}, - "compartment_ocid": {}, - "delete_in_progress": {}, - "domain_ocid": {}, - "id": {}, "idcs_created_by": { - "maxItemsOne": false, - "elem": { - "fields": { - "display": {}, - "ocid": {}, - "ref": {}, - "type": {}, - "value": {} - } - } + "maxItemsOne": false }, - "idcs_endpoint": {}, "idcs_last_modified_by": { - "maxItemsOne": false, - "elem": { - "fields": { - "display": {}, - "ocid": {}, - "ref": {}, - "type": {}, - "value": {} - } - } + "maxItemsOne": false }, - "idcs_last_upgraded_in_release": {}, "idcs_prevented_operations": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "meta": { - "maxItemsOne": false, - "elem": { - "fields": { - "created": {}, - "last_modified": {}, - "location": {}, - "resource_type": {}, - "version": {} - } - } + "maxItemsOne": false }, - "my_support_account_provider": {}, - "ocid": {}, - "resource_type_schema_version": {}, "schemas": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "tags": { - "maxItemsOne": false, - "elem": { - "fields": { - "key": {}, - "value": {} - } - } + "maxItemsOne": false }, - "tenancy_ocid": {}, - "token": {}, "user": { - "maxItemsOne": true, - "elem": { - "fields": { - "display": {}, - "name": {}, - "ocid": {}, - "ref": {}, - "value": {} - } - } - }, - "user_id": {} + "maxItemsOne": true + } } }, "oci_identity_domains_my_user_db_credential": { "current": "oci:Identity/domainsMyUserDbCredential:DomainsMyUserDbCredential", + "majorVersion": 1, "fields": { - "authorization": {}, - "compartment_ocid": {}, - "db_password": {}, - "delete_in_progress": {}, - "description": {}, - "domain_ocid": {}, - "expired": {}, - "expires_on": {}, - "id": {}, "idcs_created_by": { - "maxItemsOne": false, - "elem": { - "fields": { - "display": {}, - "ocid": {}, - "ref": {}, - "type": {}, - "value": {} - } - } + "maxItemsOne": false }, - "idcs_endpoint": {}, "idcs_last_modified_by": { - "maxItemsOne": false, - "elem": { - "fields": { - "display": {}, - "ocid": {}, - "ref": {}, - "type": {}, - "value": {} - } - } + "maxItemsOne": false }, - "idcs_last_upgraded_in_release": {}, "idcs_prevented_operations": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "last_set_date": {}, "meta": { - "maxItemsOne": false, - "elem": { - "fields": { - "created": {}, - "last_modified": {}, - "location": {}, - "resource_type": {}, - "version": {} - } - } + "maxItemsOne": false }, - "mixed_db_password": {}, - "mixed_salt": {}, - "name": {}, - "ocid": {}, - "resource_type_schema_version": {}, - "salt": {}, "schemas": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "status": {}, "tags": { - "maxItemsOne": false, - "elem": { - "fields": { - "key": {}, - "value": {} - } - } + "maxItemsOne": false }, - "tenancy_ocid": {}, "user": { - "maxItemsOne": true, - "elem": { - "fields": { - "display": {}, - "name": {}, - "ocid": {}, - "ref": {}, - "value": {} - } - } + "maxItemsOne": true } } }, "oci_identity_domains_oauth2client_credential": { "current": "oci:Identity/domainsOauth2clientCredential:DomainsOauth2clientCredential", + "majorVersion": 1, "fields": { "attribute_sets": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "attributes": {}, - "authorization": {}, - "compartment_ocid": {}, - "delete_in_progress": {}, - "description": {}, - "domain_ocid": {}, - "expires_on": {}, - "id": {}, "idcs_created_by": { - "maxItemsOne": false, - "elem": { - "fields": { - "display": {}, - "ocid": {}, - "ref": {}, - "type": {}, - "value": {} - } - } + "maxItemsOne": false }, - "idcs_endpoint": {}, "idcs_last_modified_by": { - "maxItemsOne": false, - "elem": { - "fields": { - "display": {}, - "ocid": {}, - "ref": {}, - "type": {}, - "value": {} - } - } + "maxItemsOne": false }, - "idcs_last_upgraded_in_release": {}, "idcs_prevented_operations": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "is_reset_secret": {}, "meta": { - "maxItemsOne": false, - "elem": { - "fields": { - "created": {}, - "last_modified": {}, - "location": {}, - "resource_type": {}, - "version": {} - } - } + "maxItemsOne": false }, - "name": {}, - "ocid": {}, - "resource_type_schema_version": {}, "schemas": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "scopes": { - "maxItemsOne": false, - "elem": { - "fields": { - "audience": {}, - "scope": {} - } - } + "maxItemsOne": false }, - "status": {}, "tags": { - "maxItemsOne": false, - "elem": { - "fields": { - "key": {}, - "value": {} - } - } + "maxItemsOne": false }, - "tenancy_ocid": {}, "urnietfparamsscimschemasoracleidcsextensionself_change_user": { - "maxItemsOne": true, - "elem": { - "fields": { - "allow_self_change": {} - } - } + "maxItemsOne": true }, "user": { - "maxItemsOne": true, - "elem": { - "fields": { - "display": {}, - "name": {}, - "ocid": {}, - "ref": {}, - "value": {} - } - } + "maxItemsOne": true } } }, "oci_identity_domains_password_policy": { "current": "oci:Identity/domainsPasswordPolicy:DomainsPasswordPolicy", + "majorVersion": 1, "fields": { - "allowed_chars": {}, "attribute_sets": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "attributes": {}, - "authorization": {}, - "compartment_ocid": {}, "configured_password_policy_rules": { - "maxItemsOne": false, - "elem": { - "fields": { - "key": {}, - "value": {} - } - } + "maxItemsOne": false }, - "delete_in_progress": {}, - "description": {}, - "dictionary_delimiter": {}, - "dictionary_location": {}, - "dictionary_word_disallowed": {}, - "disallowed_chars": {}, "disallowed_substrings": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "disallowed_user_attribute_values": { "maxItemsOne": false }, - "domain_ocid": {}, - "external_id": {}, - "first_name_disallowed": {}, - "force_password_reset": {}, "groups": { - "maxItemsOne": false, - "elem": { - "fields": { - "display": {}, - "ref": {}, - "value": {} - } - } + "maxItemsOne": false }, - "id": {}, "idcs_created_by": { - "maxItemsOne": false, - "elem": { - "fields": { - "display": {}, - "ocid": {}, - "ref": {}, - "type": {}, - "value": {} - } - } + "maxItemsOne": false }, - "idcs_endpoint": {}, "idcs_last_modified_by": { - "maxItemsOne": false, - "elem": { - "fields": { - "display": {}, - "ocid": {}, - "ref": {}, - "type": {}, - "value": {} - } - } + "maxItemsOne": false }, - "idcs_last_upgraded_in_release": {}, "idcs_prevented_operations": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "last_name_disallowed": {}, - "lockout_duration": {}, - "max_incorrect_attempts": {}, - "max_length": {}, - "max_repeated_chars": {}, - "max_special_chars": {}, "meta": { - "maxItemsOne": false, - "elem": { - "fields": { - "created": {}, - "last_modified": {}, - "location": {}, - "resource_type": {}, - "version": {} - } - } - }, - "min_alpha_numerals": {}, - "min_alphas": {}, - "min_length": {}, - "min_lower_case": {}, - "min_numerals": {}, - "min_password_age": {}, - "min_special_chars": {}, - "min_unique_chars": {}, - "min_upper_case": {}, - "name": {}, - "num_passwords_in_history": {}, - "ocid": {}, - "password_expire_warning": {}, - "password_expires_after": {}, - "password_strength": {}, - "priority": {}, - "required_chars": {}, - "resource_type_schema_version": {}, + "maxItemsOne": false + }, "schemas": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "starts_with_alphabet": {}, "tags": { - "maxItemsOne": false, - "elem": { - "fields": { - "key": {}, - "value": {} - } - } - }, - "tenancy_ocid": {}, - "user_name_disallowed": {} + "maxItemsOne": false + } } }, "oci_identity_domains_security_question": { "current": "oci:Identity/domainsSecurityQuestion:DomainsSecurityQuestion", + "majorVersion": 1, "fields": { "attribute_sets": { "maxItemsOne": false @@ -20648,6 +9262,7 @@ }, "oci_identity_domains_security_question_setting": { "current": "oci:Identity/domainsSecurityQuestionSetting:DomainsSecurityQuestionSetting", + "majorVersion": 1, "fields": { "attribute_sets": { "maxItemsOne": false @@ -20674,315 +9289,96 @@ }, "oci_identity_domains_smtp_credential": { "current": "oci:Identity/domainsSmtpCredential:DomainsSmtpCredential", + "majorVersion": 1, "fields": { "attribute_sets": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "attributes": {}, - "authorization": {}, - "compartment_ocid": {}, - "delete_in_progress": {}, - "description": {}, - "domain_ocid": {}, - "expires_on": {}, - "id": {}, "idcs_created_by": { - "maxItemsOne": false, - "elem": { - "fields": { - "display": {}, - "ocid": {}, - "ref": {}, - "type": {}, - "value": {} - } - } + "maxItemsOne": false }, - "idcs_endpoint": {}, "idcs_last_modified_by": { - "maxItemsOne": false, - "elem": { - "fields": { - "display": {}, - "ocid": {}, - "ref": {}, - "type": {}, - "value": {} - } - } + "maxItemsOne": false }, - "idcs_last_upgraded_in_release": {}, "idcs_prevented_operations": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "meta": { - "maxItemsOne": false, - "elem": { - "fields": { - "created": {}, - "last_modified": {}, - "location": {}, - "resource_type": {}, - "version": {} - } - } + "maxItemsOne": false }, - "ocid": {}, - "resource_type_schema_version": {}, "schemas": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "status": {}, "tags": { - "maxItemsOne": false, - "elem": { - "fields": { - "key": {}, - "value": {} - } - } + "maxItemsOne": false }, - "tenancy_ocid": {}, "urnietfparamsscimschemasoracleidcsextensionself_change_user": { - "maxItemsOne": true, - "elem": { - "fields": { - "allow_self_change": {} - } - } + "maxItemsOne": true }, "user": { - "maxItemsOne": true, - "elem": { - "fields": { - "display": {}, - "name": {}, - "ocid": {}, - "ref": {}, - "value": {} - } - } - }, - "user_name": {} + "maxItemsOne": true + } } }, "oci_identity_domains_user": { "current": "oci:Identity/domainsUser:DomainsUser", + "majorVersion": 1, "fields": { - "active": {}, "addresses": { - "maxItemsOne": false, - "elem": { - "fields": { - "country": {}, - "formatted": {}, - "locality": {}, - "postal_code": {}, - "primary": {}, - "region": {}, - "street_address": {}, - "type": {} - } - } + "maxItemsOne": false }, "attribute_sets": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "attributes": {}, - "authorization": {}, - "compartment_ocid": {}, - "delete_in_progress": {}, - "description": {}, - "display_name": {}, - "domain_ocid": {}, "emails": { - "maxItemsOne": false, - "elem": { - "fields": { - "pending_verification_data": {}, - "primary": {}, - "secondary": {}, - "type": {}, - "value": {}, - "verified": {} - } - } + "maxItemsOne": false }, "entitlements": { - "maxItemsOne": false, - "elem": { - "fields": { - "display": {}, - "primary": {}, - "type": {}, - "value": {} - } - } + "maxItemsOne": false }, - "external_id": {}, "groups": { - "maxItemsOne": false, - "elem": { - "fields": { - "date_added": {}, - "display": {}, - "external_id": {}, - "membership_ocid": {}, - "non_unique_display": {}, - "ocid": {}, - "ref": {}, - "type": {}, - "value": {} - } - } + "maxItemsOne": false }, - "id": {}, "idcs_created_by": { - "maxItemsOne": false, - "elem": { - "fields": { - "display": {}, - "ocid": {}, - "ref": {}, - "type": {}, - "value": {} - } - } + "maxItemsOne": false }, - "idcs_endpoint": {}, "idcs_last_modified_by": { - "maxItemsOne": false, - "elem": { - "fields": { - "display": {}, - "ocid": {}, - "ref": {}, - "type": {}, - "value": {} - } - } + "maxItemsOne": false }, - "idcs_last_upgraded_in_release": {}, "idcs_prevented_operations": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "ims": { - "maxItemsOne": false, - "elem": { - "fields": { - "display": {}, - "primary": {}, - "type": {}, - "value": {} - } - } + "maxItemsOne": false }, - "locale": {}, "meta": { - "maxItemsOne": false, - "elem": { - "fields": { - "created": {}, - "last_modified": {}, - "location": {}, - "resource_type": {}, - "version": {} - } - } + "maxItemsOne": false }, "name": { - "maxItemsOne": true, - "elem": { - "fields": { - "family_name": {}, - "formatted": {}, - "given_name": {}, - "honorific_prefix": {}, - "honorific_suffix": {}, - "middle_name": {} - } - } + "maxItemsOne": true }, - "nick_name": {}, - "ocid": {}, - "password": {}, "phone_numbers": { - "maxItemsOne": false, - "elem": { - "fields": { - "display": {}, - "primary": {}, - "type": {}, - "value": {}, - "verified": {} - } - } + "maxItemsOne": false }, "photos": { - "maxItemsOne": false, - "elem": { - "fields": { - "display": {}, - "primary": {}, - "type": {}, - "value": {} - } - } + "maxItemsOne": false }, - "preferred_language": {}, - "profile_url": {}, - "resource_type_schema_version": {}, "roles": { - "maxItemsOne": false, - "elem": { - "fields": { - "display": {}, - "primary": {}, - "type": {}, - "value": {} - } - } + "maxItemsOne": false }, "schemas": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "tags": { - "maxItemsOne": false, - "elem": { - "fields": { - "key": {}, - "value": {} - } - } + "maxItemsOne": false }, - "tenancy_ocid": {}, - "timezone": {}, - "title": {}, "urnietfparamsscimschemasextensionenterprise20user": { "maxItemsOne": true, "elem": { "fields": { - "cost_center": {}, - "department": {}, - "division": {}, - "employee_number": {}, "manager": { - "maxItemsOne": true, - "elem": { - "fields": { - "display_name": {}, - "ref": {}, - "value": {} - } - } - }, - "organization": {} + "maxItemsOne": true + } } } }, @@ -20991,25 +9387,11 @@ "elem": { "fields": { "defined_tags": { - "maxItemsOne": false, - "elem": { - "fields": { - "key": {}, - "namespace": {}, - "value": {} - } - } + "maxItemsOne": false }, "freeform_tags": { - "maxItemsOne": false, - "elem": { - "fields": { - "key": {}, - "value": {} - } - } - }, - "tag_slug": {} + "maxItemsOne": false + } } } }, @@ -21017,66 +9399,27 @@ "maxItemsOne": true, "elem": { "fields": { - "risk_level": {}, "risk_scores": { - "maxItemsOne": false, - "elem": { - "fields": { - "last_update_timestamp": {}, - "ref": {}, - "risk_level": {}, - "score": {}, - "source": {}, - "status": {}, - "value": {} - } - } + "maxItemsOne": false } } } }, "urnietfparamsscimschemasoracleidcsextensioncapabilities_user": { - "maxItemsOne": true, - "elem": { - "fields": { - "can_use_api_keys": {}, - "can_use_auth_tokens": {}, - "can_use_console_password": {}, - "can_use_customer_secret_keys": {}, - "can_use_db_credentials": {}, - "can_use_oauth2client_credentials": {}, - "can_use_smtp_credentials": {} - } - } + "maxItemsOne": true }, "urnietfparamsscimschemasoracleidcsextensiondb_credentials_user": { - "maxItemsOne": true, - "elem": { - "fields": { - "db_login_attempts": {}, - "db_user_name": {} - } - } + "maxItemsOne": true }, "urnietfparamsscimschemasoracleidcsextensiondb_user_user": { "maxItemsOne": false, "elem": { "fields": { "db_global_roles": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "domain_level_schema": {}, - "instance_level_schema": {}, - "is_db_user": {}, "password_verifiers": { - "maxItemsOne": false, - "elem": { - "fields": { - "type": {}, - "value": {} - } - } + "maxItemsOne": false } } } @@ -21086,15 +9429,7 @@ "elem": { "fields": { "realm_users": { - "maxItemsOne": false, - "elem": { - "fields": { - "principal_name": {}, - "realm_name": {}, - "ref": {}, - "value": {} - } - } + "maxItemsOne": false } } } @@ -21104,59 +9439,19 @@ "elem": { "fields": { "bypass_codes": { - "maxItemsOne": false, - "elem": { - "fields": { - "ref": {}, - "value": {} - } - } + "maxItemsOne": false }, "devices": { - "maxItemsOne": false, - "elem": { - "fields": { - "authentication_method": {}, - "display": {}, - "factor_status": {}, - "factor_type": {}, - "last_sync_time": {}, - "ref": {}, - "status": {}, - "third_party_vendor_name": {}, - "value": {} - } - } + "maxItemsOne": false }, - "login_attempts": {}, - "mfa_enabled_on": {}, "mfa_ignored_apps": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "mfa_status": {}, - "preferred_authentication_factor": {}, - "preferred_authentication_method": {}, "preferred_device": { - "maxItemsOne": true, - "elem": { - "fields": { - "display": {}, - "ref": {}, - "value": {} - } - } + "maxItemsOne": true }, - "preferred_third_party_vendor": {}, "trusted_user_agents": { - "maxItemsOne": false, - "elem": { - "fields": { - "display": {}, - "ref": {}, - "value": {} - } - } + "maxItemsOne": false } } } @@ -21166,23 +9461,8 @@ "elem": { "fields": { "applicable_password_policy": { - "maxItemsOne": true, - "elem": { - "fields": { - "display": {}, - "priority": {}, - "ref": {}, - "value": {} - } - } - }, - "cant_change": {}, - "cant_expire": {}, - "expired": {}, - "last_failed_validation_date": {}, - "last_successful_set_date": {}, - "last_successful_validation_date": {}, - "must_change": {} + "maxItemsOne": true + } } } }, @@ -21191,98 +9471,46 @@ "elem": { "fields": { "factor_identifier": { - "maxItemsOne": true, - "elem": { - "fields": { - "display": {}, - "ref": {}, - "value": {} - } - } - }, - "factor_method": {}, - "factor_type": {} + "maxItemsOne": true + } } } }, "urnietfparamsscimschemasoracleidcsextensionposix_user": { - "maxItemsOne": true, - "elem": { - "fields": { - "gecos": {}, - "gid_number": {}, - "home_directory": {}, - "login_shell": {}, - "uid_number": {} - } - } + "maxItemsOne": true }, "urnietfparamsscimschemasoracleidcsextensionsecurity_questions_user": { "maxItemsOne": true, "elem": { "fields": { "sec_questions": { - "maxItemsOne": false, - "elem": { - "fields": { - "answer": {}, - "hint_text": {}, - "ref": {}, - "value": {} - } - } + "maxItemsOne": false } } } }, "urnietfparamsscimschemasoracleidcsextensionself_change_user": { - "maxItemsOne": true, - "elem": { - "fields": { - "allow_self_change": {} - } - } + "maxItemsOne": true }, "urnietfparamsscimschemasoracleidcsextensionself_registration_user": { "maxItemsOne": true, "elem": { "fields": { - "consent_granted": {}, "self_registration_profile": { - "maxItemsOne": true, - "elem": { - "fields": { - "display": {}, - "ref": {}, - "value": {} - } - } - }, - "user_token": {} + "maxItemsOne": true + } } } }, "urnietfparamsscimschemasoracleidcsextensionsff_user": { - "maxItemsOne": true, - "elem": { - "fields": { - "sff_auth_keys": {} - } - } + "maxItemsOne": true }, "urnietfparamsscimschemasoracleidcsextensionsocial_account_user": { "maxItemsOne": true, "elem": { "fields": { "social_accounts": { - "maxItemsOne": false, - "elem": { - "fields": { - "display": {}, - "ref": {}, - "value": {} - } - } + "maxItemsOne": false } } } @@ -21292,13 +9520,7 @@ "elem": { "fields": { "terms_of_use_consents": { - "maxItemsOne": false, - "elem": { - "fields": { - "ref": {}, - "value": {} - } - } + "maxItemsOne": false } } } @@ -21308,65 +9530,22 @@ "elem": { "fields": { "api_keys": { - "maxItemsOne": false, - "elem": { - "fields": { - "key": {}, - "ocid": {}, - "ref": {}, - "value": {} - } - } + "maxItemsOne": false }, "auth_tokens": { - "maxItemsOne": false, - "elem": { - "fields": { - "ocid": {}, - "ref": {}, - "value": {} - } - } + "maxItemsOne": false }, "customer_secret_keys": { - "maxItemsOne": false, - "elem": { - "fields": { - "ocid": {}, - "ref": {}, - "value": {} - } - } + "maxItemsOne": false }, "db_credentials": { - "maxItemsOne": false, - "elem": { - "fields": { - "ocid": {}, - "ref": {}, - "value": {} - } - } + "maxItemsOne": false }, "o_auth2client_credentials": { - "maxItemsOne": false, - "elem": { - "fields": { - "ocid": {}, - "ref": {}, - "value": {} - } - } + "maxItemsOne": false }, "smtp_credentials": { - "maxItemsOne": false, - "elem": { - "fields": { - "ocid": {}, - "ref": {}, - "value": {} - } - } + "maxItemsOne": false } } } @@ -21375,32 +9554,11 @@ "maxItemsOne": true, "elem": { "fields": { - "last_failed_login_date": {}, - "last_successful_login_date": {}, "locked": { - "maxItemsOne": true, - "elem": { - "fields": { - "expired": {}, - "lock_date": {}, - "on": {}, - "reason": {} - } - } + "maxItemsOne": true }, - "login_attempts": {}, - "max_concurrent_sessions": {}, - "previous_successful_login_date": {}, - "recovery_attempts": {}, - "recovery_enroll_attempts": {}, "recovery_locked": { - "maxItemsOne": true, - "elem": { - "fields": { - "lock_date": {}, - "on": {} - } - } + "maxItemsOne": true } } } @@ -21409,341 +9567,111 @@ "maxItemsOne": true, "elem": { "fields": { - "account_recovery_required": {}, "accounts": { - "maxItemsOne": false, - "elem": { - "fields": { - "active": {}, - "app_id": {}, - "name": {}, - "ref": {}, - "value": {} - } - } + "maxItemsOne": false }, "app_roles": { - "maxItemsOne": false, - "elem": { - "fields": { - "admin_role": {}, - "app_id": {}, - "app_name": {}, - "display": {}, - "legacy_group_name": {}, - "ref": {}, - "type": {}, - "value": {} - } - } + "maxItemsOne": false }, "applicable_authentication_target_app": { - "maxItemsOne": false, - "elem": { - "fields": { - "display": {}, - "ref": {}, - "target_request_timeout": {}, - "type": {}, - "value": {} - } - } + "maxItemsOne": false }, - "bypass_notification": {}, - "creation_mechanism": {}, "delegated_authentication_target_app": { - "maxItemsOne": true, - "elem": { - "fields": { - "display": {}, - "ref": {}, - "type": {}, - "value": {} - } - } + "maxItemsOne": true }, - "do_not_show_getting_started": {}, "grants": { - "maxItemsOne": false, - "elem": { - "fields": { - "app_id": {}, - "grant_mechanism": {}, - "grantor_id": {}, - "ref": {}, - "value": {} - } - } + "maxItemsOne": false }, "idcs_app_roles_limited_to_groups": { - "maxItemsOne": false, - "elem": { - "fields": { - "display": {}, - "idcs_app_role_id": {}, - "ocid": {}, - "ref": {}, - "value": {} - } - } + "maxItemsOne": false }, - "is_account_recovery_enrolled": {}, - "is_authentication_delegated": {}, - "is_federated_user": {}, - "is_group_membership_normalized": {}, - "is_group_membership_synced_to_users_groups": {}, - "notification_email_template_id": {}, - "status": {}, "support_accounts": { - "maxItemsOne": false, - "elem": { - "fields": { - "ocid": {}, - "ref": {}, - "user_id": {}, - "user_provider": {}, - "value": {} - } - } + "maxItemsOne": false }, "synced_from_app": { - "maxItemsOne": true, - "elem": { - "fields": { - "display": {}, - "ref": {}, - "type": {}, - "value": {} - } - } + "maxItemsOne": true }, - "user_flow_controlled_by_external_client": {}, - "user_provider": {}, "user_token": { - "maxItemsOne": false, - "elem": { - "fields": { - "ref": {}, - "value": {} - } - } + "maxItemsOne": false } } } }, - "user_name": {}, - "user_type": {}, "x509certificates": { - "maxItemsOne": false, - "elem": { - "fields": { - "display": {}, - "primary": {}, - "type": {}, - "value": {} - } - } + "maxItemsOne": false } } }, "oci_identity_domains_user_db_credential": { "current": "oci:Identity/domainsUserDbCredential:DomainsUserDbCredential", + "majorVersion": 1, "fields": { "attribute_sets": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "attributes": {}, - "authorization": {}, - "compartment_ocid": {}, - "db_password": {}, - "delete_in_progress": {}, - "description": {}, - "domain_ocid": {}, - "expired": {}, - "expires_on": {}, - "id": {}, "idcs_created_by": { - "maxItemsOne": false, - "elem": { - "fields": { - "display": {}, - "ocid": {}, - "ref": {}, - "type": {}, - "value": {} - } - } + "maxItemsOne": false }, - "idcs_endpoint": {}, "idcs_last_modified_by": { - "maxItemsOne": false, - "elem": { - "fields": { - "display": {}, - "ocid": {}, - "ref": {}, - "type": {}, - "value": {} - } - } + "maxItemsOne": false }, - "idcs_last_upgraded_in_release": {}, "idcs_prevented_operations": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "last_set_date": {}, "meta": { - "maxItemsOne": false, - "elem": { - "fields": { - "created": {}, - "last_modified": {}, - "location": {}, - "resource_type": {}, - "version": {} - } - } + "maxItemsOne": false }, - "mixed_db_password": {}, - "mixed_salt": {}, - "name": {}, - "ocid": {}, - "resource_type_schema_version": {}, - "salt": {}, "schemas": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "status": {}, "tags": { - "maxItemsOne": false, - "elem": { - "fields": { - "key": {}, - "value": {} - } - } + "maxItemsOne": false }, - "tenancy_ocid": {}, "urnietfparamsscimschemasoracleidcsextensionself_change_user": { - "maxItemsOne": true, - "elem": { - "fields": { - "allow_self_change": {} - } - } + "maxItemsOne": true }, "user": { - "maxItemsOne": true, - "elem": { - "fields": { - "display": {}, - "name": {}, - "ocid": {}, - "ref": {}, - "value": {} - } - } + "maxItemsOne": true } } }, "oci_identity_dynamic_group": { "current": "oci:Identity/dynamicGroup:DynamicGroup", - "fields": { - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "freeform_tags": {}, - "inactive_state": {}, - "matching_rule": {}, - "name": {}, - "state": {}, - "time_created": {} - } + "majorVersion": 1 }, "oci_identity_group": { "current": "oci:Identity/group:Group", - "fields": { - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "freeform_tags": {}, - "inactive_state": {}, - "name": {}, - "state": {}, - "time_created": {} - } + "majorVersion": 1 }, "oci_identity_identity_provider": { "current": "oci:Identity/identityProvider:IdentityProvider", - "fields": { - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "freeform_attributes": {}, - "freeform_tags": {}, - "inactive_state": {}, - "metadata": {}, - "metadata_url": {}, - "name": {}, - "product_type": {}, - "protocol": {}, - "redirect_url": {}, - "signing_certificate": {}, - "state": {}, - "time_created": {} - } + "majorVersion": 1 }, "oci_identity_idp_group_mapping": { "current": "oci:Identity/idpGroupMapping:IdpGroupMapping", - "fields": { - "compartment_id": {}, - "group_id": {}, - "identity_provider_id": {}, - "idp_group_name": {}, - "inactive_state": {}, - "state": {}, - "time_created": {} - } + "majorVersion": 1 }, "oci_identity_import_standard_tags_management": { "current": "oci:Identity/importStandardTagsManagement:ImportStandardTagsManagement", - "fields": { - "compartment_id": {}, - "standard_tag_namespace_name": {}, - "work_request_id": {} - } + "majorVersion": 1 }, "oci_identity_network_source": { "current": "oci:Identity/networkSource:NetworkSource", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "freeform_tags": {}, - "inactive_state": {}, - "name": {}, "public_source_list": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "services": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "state": {}, - "time_created": {}, "virtual_source_list": { "maxItemsOne": false, "elem": { "fields": { "ip_ranges": { - "maxItemsOne": false, - "elem": {} - }, - "vcn_id": {} + "maxItemsOne": false + } } } } @@ -21751,37 +9679,16 @@ }, "oci_identity_policy": { "current": "oci:Identity/policy:Policy", + "majorVersion": 1, "fields": { - "ETag": {}, - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "freeform_tags": {}, - "inactive_state": {}, - "lastUpdateETag": {}, - "name": {}, - "policyHash": {}, - "state": {}, "statements": { - "maxItemsOne": false, - "elem": {} - }, - "time_created": {}, - "version_date": {} + "maxItemsOne": false + } } }, "oci_identity_smtp_credential": { "current": "oci:Identity/smtpCredential:SmtpCredential", - "fields": { - "description": {}, - "inactive_state": {}, - "password": {}, - "state": {}, - "time_created": {}, - "time_expires": {}, - "user_id": {}, - "username": {} - } + "majorVersion": 1 }, "oci_identity_swift_password": { "current": "oci:Identity/swiftPassword:SwiftPassword", @@ -21797,24 +9704,14 @@ }, "oci_identity_tag": { "current": "oci:Identity/tag:Tag", + "majorVersion": 1, "fields": { - "defined_tags": {}, - "description": {}, - "freeform_tags": {}, - "is_cost_tracking": {}, - "is_retired": {}, - "name": {}, - "state": {}, - "tag_namespace_id": {}, - "time_created": {}, "validator": { "maxItemsOne": true, "elem": { "fields": { - "validator_type": {}, "values": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } } @@ -21823,1862 +9720,808 @@ }, "oci_identity_tag_default": { "current": "oci:Identity/tagDefault:TagDefault", - "fields": { - "compartment_id": {}, - "is_required": {}, - "state": {}, - "tag_definition_id": {}, - "tag_definition_name": {}, - "tag_namespace_id": {}, - "time_created": {}, - "value": {} - } + "majorVersion": 1 }, "oci_identity_tag_namespace": { "current": "oci:Identity/tagNamespace:TagNamespace", - "fields": { - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "freeform_tags": {}, - "is_retired": {}, - "name": {}, - "state": {}, - "time_created": {} - } + "majorVersion": 1 }, "oci_identity_ui_password": { "current": "oci:Identity/uiPassword:UiPassword", - "fields": { - "inactive_status": {}, - "password": {}, - "state": {}, - "time_created": {}, - "user_id": {} - } + "majorVersion": 1 }, "oci_identity_user": { "current": "oci:Identity/user:User", + "majorVersion": 1, "fields": { "capabilities": { - "maxItemsOne": false, - "elem": { - "fields": { - "can_use_api_keys": {}, - "can_use_auth_tokens": {}, - "can_use_console_password": {}, - "can_use_customer_secret_keys": {}, - "can_use_db_credentials": {}, - "can_use_oauth2client_credentials": {}, - "can_use_smtp_credentials": {} - } - } - }, - "compartment_id": {}, - "db_user_name": {}, - "defined_tags": {}, - "description": {}, - "email": {}, - "email_verified": {}, - "external_identifier": {}, - "freeform_tags": {}, - "identity_provider_id": {}, - "inactive_state": {}, - "last_successful_login_time": {}, - "name": {}, - "previous_successful_login_time": {}, - "state": {}, - "time_created": {} + "maxItemsOne": false + } } }, "oci_identity_user_capabilities_management": { "current": "oci:Identity/userCapabilitiesManagement:UserCapabilitiesManagement", - "fields": { - "can_use_api_keys": {}, - "can_use_auth_tokens": {}, - "can_use_console_password": {}, - "can_use_customer_secret_keys": {}, - "can_use_smtp_credentials": {}, - "user_id": {} - } + "majorVersion": 1 }, "oci_identity_user_group_membership": { "current": "oci:Identity/userGroupMembership:UserGroupMembership", - "fields": { - "compartment_id": {}, - "group_id": {}, - "inactive_state": {}, - "state": {}, - "time_created": {}, - "user_id": {} - } + "majorVersion": 1 }, "oci_integration_integration_instance": { "current": "oci:Integration/integrationInstance:IntegrationInstance", + "majorVersion": 1, "fields": { "alternate_custom_endpoints": { - "maxItemsOne": false, - "elem": { - "fields": { - "alias": {}, - "certificate_secret_id": {}, - "certificate_secret_version": {}, - "hostname": {} - } - } + "maxItemsOne": false }, "attachments": { - "maxItemsOne": false, - "elem": { - "fields": { - "is_implicit": {}, - "target_id": {}, - "target_instance_url": {}, - "target_role": {}, - "target_service_type": {} - } - } + "maxItemsOne": false }, - "compartment_id": {}, - "consumption_model": {}, "custom_endpoint": { - "maxItemsOne": true, - "elem": { - "fields": { - "alias": {}, - "certificate_secret_id": {}, - "certificate_secret_version": {}, - "hostname": {} - } - } + "maxItemsOne": true }, - "defined_tags": {}, - "display_name": {}, - "enable_process_automation_trigger": {}, - "freeform_tags": {}, - "idcs_at": {}, "idcs_info": { - "maxItemsOne": false, - "elem": { - "fields": { - "idcs_app_display_name": {}, - "idcs_app_id": {}, - "idcs_app_location_url": {}, - "idcs_app_name": {}, - "instance_primary_audience_url": {} - } - } + "maxItemsOne": false }, - "instance_url": {}, - "integration_instance_type": {}, - "is_byol": {}, - "is_file_server_enabled": {}, - "is_visual_builder_enabled": {}, - "message_packs": {}, "network_endpoint_details": { "maxItemsOne": true, "elem": { "fields": { "allowlisted_http_ips": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "allowlisted_http_vcns": { "maxItemsOne": false, "elem": { "fields": { "allowlisted_ips": { - "maxItemsOne": false, - "elem": {} - }, - "id": {} + "maxItemsOne": false + } } } - }, - "is_integration_vcn_allowlisted": {}, - "network_endpoint_type": {} + } } } - }, - "shape": {}, - "state": {}, - "state_message": {}, - "time_created": {}, - "time_updated": {} + } } }, "oci_jms_fleet": { "current": "oci:Jms/fleet:Fleet", + "majorVersion": 1, "fields": { - "approximate_application_count": {}, - "approximate_installation_count": {}, - "approximate_java_server_count": {}, - "approximate_jre_count": {}, - "approximate_managed_instance_count": {}, - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "freeform_tags": {}, "inventory_log": { - "maxItemsOne": true, - "elem": { - "fields": { - "log_group_id": {}, - "log_id": {} - } - } - }, - "is_advanced_features_enabled": {}, - "operation_log": { - "maxItemsOne": true, - "elem": { - "fields": { - "log_group_id": {}, - "log_id": {} - } - } + "maxItemsOne": true }, - "state": {}, - "system_tags": {}, - "time_created": {} + "operation_log": { + "maxItemsOne": true + } } }, + "oci_kms_ekms_private_endpoint": { + "current": "oci:Kms/ekmsPrivateEndpoint:EkmsPrivateEndpoint", + "majorVersion": 1 + }, "oci_kms_encrypted_data": { "current": "oci:Kms/encryptedData:EncryptedData", - "fields": { - "associated_data": {}, - "ciphertext": {}, - "crypto_endpoint": {}, - "encryption_algorithm": {}, - "key_id": {}, - "key_version_id": {}, - "logging_context": {}, - "plaintext": {} - } + "majorVersion": 1 }, "oci_kms_generated_key": { "current": "oci:Kms/generatedKey:GeneratedKey", + "majorVersion": 1, "fields": { - "associated_data": {}, - "ciphertext": {}, - "crypto_endpoint": {}, - "include_plaintext_key": {}, - "key_id": {}, "key_shape": { - "maxItemsOne": true, - "elem": { - "fields": { - "algorithm": {}, - "curve_id": {}, - "length": {} - } - } - }, - "logging_context": {}, - "plaintext": {}, - "plaintext_checksum": {} + "maxItemsOne": true + } } }, "oci_kms_key": { "current": "oci:Kms/key:Key", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "current_key_version": {}, - "defined_tags": {}, - "desired_state": {}, - "display_name": {}, - "freeform_tags": {}, - "is_primary": {}, + "external_key_reference": { + "maxItemsOne": true + }, + "external_key_reference_details": { + "maxItemsOne": false + }, "key_shape": { - "maxItemsOne": true, - "elem": { - "fields": { - "algorithm": {}, - "curve_id": {}, - "length": {} - } - } + "maxItemsOne": true }, - "management_endpoint": {}, - "protection_mode": {}, "replica_details": { - "maxItemsOne": false, - "elem": { - "fields": { - "replication_id": {} - } - } + "maxItemsOne": false }, "restore_from_file": { - "maxItemsOne": true, - "elem": { - "fields": { - "content_length": {}, - "content_md5": {}, - "restore_key_from_file_details": {} - } - } + "maxItemsOne": true }, "restore_from_object_store": { - "maxItemsOne": true, - "elem": { - "fields": { - "bucket": {}, - "destination": {}, - "namespace": {}, - "object": {}, - "uri": {} - } - } - }, - "restore_trigger": {}, - "restored_from_key_id": {}, - "state": {}, - "time_created": {}, - "time_of_deletion": {}, - "vault_id": {} + "maxItemsOne": true + } } }, "oci_kms_key_version": { "current": "oci:Kms/keyVersion:KeyVersion", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "is_primary": {}, - "key_id": {}, - "key_version_id": {}, - "management_endpoint": {}, - "public_key": {}, - "replica_details": { - "maxItemsOne": false, - "elem": { - "fields": { - "replication_id": {} - } - } + "external_key_reference_details": { + "maxItemsOne": false }, - "restored_from_key_id": {}, - "restored_from_key_version_id": {}, - "state": {}, - "time_created": {}, - "time_of_deletion": {}, - "vault_id": {} + "replica_details": { + "maxItemsOne": false + } } }, "oci_kms_sign": { "current": "oci:Kms/sign:Sign", - "fields": { - "crypto_endpoint": {}, - "key_id": {}, - "key_version_id": {}, - "message": {}, - "message_type": {}, - "signature": {}, - "signing_algorithm": {} - } + "majorVersion": 1 }, "oci_kms_vault": { "current": "oci:Kms/vault:Vault", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "crypto_endpoint": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "is_primary": {}, - "management_endpoint": {}, - "replica_details": { - "maxItemsOne": false, - "elem": { - "fields": { - "replication_id": {} - } - } - }, - "restore_from_file": { + "external_key_manager_metadata": { "maxItemsOne": true, "elem": { "fields": { - "content_length": {}, - "content_md5": {}, - "restore_vault_from_file_details": {} + "oauth_metadata": { + "maxItemsOne": true + } } } }, - "restore_from_object_store": { - "maxItemsOne": true, + "external_key_manager_metadata_summary": { + "maxItemsOne": false, "elem": { "fields": { - "bucket": {}, - "destination": {}, - "namespace": {}, - "object": {}, - "uri": {} + "oauth_metadata_summary": { + "maxItemsOne": false + } } } }, - "restore_trigger": {}, - "restored_from_vault_id": {}, - "state": {}, - "time_created": {}, - "time_of_deletion": {}, - "vault_type": {} + "replica_details": { + "maxItemsOne": false + }, + "restore_from_file": { + "maxItemsOne": true + }, + "restore_from_object_store": { + "maxItemsOne": true + } } }, "oci_kms_vault_replication": { "current": "oci:Kms/vaultVerification:VaultVerification", - "fields": { - "replica_region": {}, - "vault_id": {} - } + "majorVersion": 1 }, "oci_kms_verify": { "current": "oci:Kms/verify:Verify", - "fields": { - "crypto_endpoint": {}, - "is_signature_valid": {}, - "key_id": {}, - "key_version_id": {}, - "message": {}, - "message_type": {}, - "signature": {}, - "signing_algorithm": {} - } + "majorVersion": 1 }, "oci_license_manager_configuration": { "current": "oci:LicenseManager/configuration:Configuration", + "majorVersion": 1, "fields": { - "compartment_id": {}, "email_ids": { - "maxItemsOne": false, - "elem": {} - }, - "time_created": {}, - "time_updated": {} + "maxItemsOne": false + } } }, "oci_license_manager_license_record": { "current": "oci:LicenseManager/licenseRecord:LicenseRecord", - "fields": { - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "expiration_date": {}, - "freeform_tags": {}, - "is_perpetual": {}, - "is_unlimited": {}, - "license_count": {}, - "license_unit": {}, - "product_id": {}, - "product_license": {}, - "product_license_id": {}, - "state": {}, - "support_end_date": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {} - } + "majorVersion": 1 }, "oci_license_manager_product_license": { "current": "oci:LicenseManager/productLicense:ProductLicense", + "majorVersion": 1, "fields": { - "active_license_record_count": {}, - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, "images": { - "maxItemsOne": false, - "elem": { - "fields": { - "id": {}, - "listing_id": {}, - "listing_name": {}, - "package_version": {}, - "publisher": {} - } - } - }, - "is_over_subscribed": {}, - "is_unlimited": {}, - "is_vendor_oracle": {}, - "license_unit": {}, - "state": {}, - "status": {}, - "status_description": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {}, - "total_active_license_unit_count": {}, - "total_license_record_count": {}, - "total_license_units_consumed": {}, - "vendor_name": {} + "maxItemsOne": false + } } }, "oci_limits_quota": { "current": "oci:Limits/quota:Quota", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "freeform_tags": {}, - "is_lock_override": {}, "locks": { - "maxItemsOne": false, - "elem": { - "fields": { - "message": {}, - "related_resource_id": {}, - "time_created": {}, - "type": {} - } - } + "maxItemsOne": false }, - "name": {}, - "state": {}, "statements": { - "maxItemsOne": false, - "elem": {} - }, - "time_created": {} + "maxItemsOne": false + } } }, "oci_load_balancer_backend": { "current": "oci:LoadBalancer/backend:Backend", - "fields": { - "backendset_name": {}, - "backup": {}, - "drain": {}, - "ip_address": {}, - "load_balancer_id": {}, - "name": {}, - "offline": {}, - "port": {}, - "state": {}, - "weight": {} - } + "majorVersion": 1 }, "oci_load_balancer_backend_set": { "current": "oci:LoadBalancer/backendSet:BackendSet", + "majorVersion": 1, "fields": { "backend": { - "maxItemsOne": false, - "elem": { - "fields": { - "backup": {}, - "drain": {}, - "ip_address": {}, - "name": {}, - "offline": {}, - "port": {}, - "weight": {} - } - } + "maxItemsOne": false }, "health_checker": { - "maxItemsOne": true, - "elem": { - "fields": { - "interval_ms": {}, - "is_force_plain_text": {}, - "port": {}, - "protocol": {}, - "response_body_regex": {}, - "retries": {}, - "return_code": {}, - "timeout_in_millis": {}, - "url_path": {} - } - } + "maxItemsOne": true }, "lb_cookie_session_persistence_configuration": { - "maxItemsOne": true, - "elem": { - "fields": { - "cookie_name": {}, - "disable_fallback": {}, - "domain": {}, - "is_http_only": {}, - "is_secure": {}, - "max_age_in_seconds": {}, - "path": {} - } - } + "maxItemsOne": true }, - "load_balancer_id": {}, - "name": {}, - "policy": {}, "session_persistence_configuration": { - "maxItemsOne": true, - "elem": { - "fields": { - "cookie_name": {}, - "disable_fallback": {} - } - } + "maxItemsOne": true }, "ssl_configuration": { "maxItemsOne": true, "elem": { "fields": { "certificate_ids": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "certificate_name": {}, - "cipher_suite_name": {}, "protocols": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "server_order_preference": {}, "trusted_certificate_authority_ids": { - "maxItemsOne": false, - "elem": {} - }, - "verify_depth": {}, - "verify_peer_certificate": {} + "maxItemsOne": false + } } } - }, - "state": {} + } } }, "oci_load_balancer_certificate": { "current": "oci:LoadBalancer/certificate:Certificate", - "fields": { - "ca_certificate": {}, - "certificate_name": {}, - "load_balancer_id": {}, - "passphrase": {}, - "private_key": {}, - "public_certificate": {}, - "state": {} - } + "majorVersion": 1 }, "oci_load_balancer_hostname": { "current": "oci:LoadBalancer/hostname:Hostname", - "fields": { - "hostname": {}, - "load_balancer_id": {}, - "name": {}, - "state": {} - } + "majorVersion": 1 }, "oci_load_balancer_listener": { "current": "oci:LoadBalancer/listener:Listener", + "majorVersion": 1, "fields": { "connection_configuration": { - "maxItemsOne": true, - "elem": { - "fields": { - "backend_tcp_proxy_protocol_version": {}, - "idle_timeout_in_seconds": {} - } - } + "maxItemsOne": true }, - "default_backend_set_name": {}, "hostname_names": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "load_balancer_id": {}, - "name": {}, - "path_route_set_name": {}, - "port": {}, - "protocol": {}, - "routing_policy_name": {}, "rule_set_names": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "ssl_configuration": { "maxItemsOne": true, "elem": { "fields": { "certificate_ids": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "certificate_name": {}, - "cipher_suite_name": {}, "protocols": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "server_order_preference": {}, "trusted_certificate_authority_ids": { - "maxItemsOne": false, - "elem": {} - }, - "verify_depth": {}, - "verify_peer_certificate": {} + "maxItemsOne": false + } } } - }, - "state": {} + } } }, "oci_load_balancer_load_balancer": { "current": "oci:LoadBalancer/loadBalancer:LoadBalancer", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, "ip_address_details": { "maxItemsOne": false, "elem": { "fields": { - "ip_address": {}, - "is_public": {}, "reserved_ip": { - "maxItemsOne": false, - "elem": { - "fields": { - "id": {} - } - } + "maxItemsOne": false } } } }, "ip_addresses": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "ip_mode": {}, - "is_private": {}, "network_security_group_ids": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "reserved_ips": { - "maxItemsOne": false, - "elem": { - "fields": { - "id": {} - } - } + "maxItemsOne": false }, - "shape": {}, "shape_details": { - "maxItemsOne": true, - "elem": { - "fields": { - "maximum_bandwidth_in_mbps": {}, - "minimum_bandwidth_in_mbps": {} - } - } + "maxItemsOne": true }, - "state": {}, "subnet_ids": { - "maxItemsOne": false, - "elem": {} - }, - "system_tags": {}, - "time_created": {} + "maxItemsOne": false + } } }, "oci_load_balancer_load_balancer_routing_policy": { "current": "oci:LoadBalancer/loadBalancerRoutingPolicy:LoadBalancerRoutingPolicy", + "majorVersion": 1, "fields": { - "condition_language_version": {}, - "load_balancer_id": {}, - "name": {}, "rules": { "maxItemsOne": false, "elem": { "fields": { "actions": { - "maxItemsOne": false, - "elem": { - "fields": { - "backend_set_name": {}, - "name": {} - } - } - }, - "condition": {}, - "name": {} + "maxItemsOne": false + } } } - }, - "state": {} + } } }, "oci_load_balancer_path_route_set": { "current": "oci:LoadBalancer/pathRouteSet:PathRouteSet", + "majorVersion": 1, "fields": { - "load_balancer_id": {}, - "name": {}, "path_routes": { "maxItemsOne": false, "elem": { "fields": { - "backend_set_name": {}, - "path": {}, "path_match_type": { - "maxItemsOne": true, - "elem": { - "fields": { - "match_type": {} - } - } + "maxItemsOne": true } } } - }, - "state": {} + } } }, "oci_load_balancer_rule_set": { "current": "oci:LoadBalancer/ruleSet:RuleSet", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false, "elem": { "fields": { - "action": {}, "allowed_methods": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "are_invalid_characters_allowed": {}, "conditions": { - "maxItemsOne": false, - "elem": { - "fields": { - "attribute_name": {}, - "attribute_value": {}, - "operator": {} - } - } + "maxItemsOne": false }, - "description": {}, - "header": {}, - "http_large_header_size_in_kb": {}, - "prefix": {}, "redirect_uri": { - "maxItemsOne": true, - "elem": { - "fields": { - "host": {}, - "path": {}, - "port": {}, - "protocol": {}, - "query": {} - } - } - }, - "response_code": {}, - "status_code": {}, - "suffix": {}, - "value": {} + "maxItemsOne": true + } } } - }, - "load_balancer_id": {}, - "name": {}, - "state": {} + } } }, "oci_load_balancer_ssl_cipher_suite": { "current": "oci:LoadBalancer/sslCipherSuite:SslCipherSuite", + "majorVersion": 1, "fields": { "ciphers": { - "maxItemsOne": false, - "elem": {} - }, - "load_balancer_id": {}, - "name": {}, - "state": {} + "maxItemsOne": false + } } }, "oci_log_analytics_log_analytics_entity": { "current": "oci:LogAnalytics/logAnalyticsEntity:LogAnalyticsEntity", - "fields": { - "are_logs_collected": {}, - "cloud_resource_id": {}, - "compartment_id": {}, - "defined_tags": {}, - "entity_type_internal_name": {}, - "entity_type_name": {}, - "freeform_tags": {}, - "hostname": {}, - "lifecycle_details": {}, - "management_agent_compartment_id": {}, - "management_agent_display_name": {}, - "management_agent_id": {}, - "name": {}, - "namespace": {}, - "properties": {}, - "source_id": {}, - "state": {}, - "time_created": {}, - "time_updated": {}, - "timezone_region": {} - } + "majorVersion": 1 }, "oci_log_analytics_log_analytics_import_custom_content": { "current": "oci:LogAnalytics/logAnalyticsImportCustomContent:LogAnalyticsImportCustomContent", + "majorVersion": 1, "fields": { "change_list": { "maxItemsOne": false, "elem": { "fields": { "conflict_field_display_names": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "conflict_parser_names": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "conflict_source_names": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "created_field_display_names": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "created_parser_names": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "created_source_names": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "updated_field_display_names": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "updated_parser_names": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "updated_source_names": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } } }, - "content_name": {}, - "expect": {}, "field_names": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "import_custom_content_file": {}, - "is_overwrite": {}, - "namespace": {}, "parser_names": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "source_names": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } }, "oci_log_analytics_log_analytics_log_group": { "current": "oci:LogAnalytics/logAnalyticsLogGroup:LogAnalyticsLogGroup", - "fields": { - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "freeform_tags": {}, - "namespace": {}, - "time_created": {}, - "time_updated": {} - } + "majorVersion": 1 }, "oci_log_analytics_log_analytics_object_collection_rule": { "current": "oci:LogAnalytics/logAnalyticsObjectCollectionRule:LogAnalyticsObjectCollectionRule", + "majorVersion": 1, "fields": { - "char_encoding": {}, - "collection_type": {}, - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "entity_id": {}, - "freeform_tags": {}, - "is_enabled": {}, - "lifecycle_details": {}, - "log_group_id": {}, - "log_set": {}, - "log_set_ext_regex": {}, - "log_set_key": {}, - "log_source_name": {}, - "name": {}, - "namespace": {}, "object_name_filters": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "os_bucket_name": {}, - "os_namespace": {}, "overrides": { - "maxItemsOne": false, - "elem": { - "fields": { - "match_type": {}, - "match_value": {}, - "property_name": {}, - "property_value": {} - } - } - }, - "poll_since": {}, - "poll_till": {}, - "state": {}, - "time_created": {}, - "time_updated": {}, - "timezone": {} + "maxItemsOne": false + } } }, "oci_log_analytics_log_analytics_preferences_management": { "current": "oci:LogAnalytics/logAnalyticsPreferencesManagement:LogAnalyticsPreferencesManagement", + "majorVersion": 1, "fields": { "items": { - "maxItemsOne": false, - "elem": { - "fields": { - "name": {}, - "value": {} - } - } - }, - "namespace": {} + "maxItemsOne": false + } } }, "oci_log_analytics_log_analytics_resource_categories_management": { "current": "oci:LogAnalytics/logAnalyticsResourceCategoriesManagement:LogAnalyticsResourceCategoriesManagement", + "majorVersion": 1, "fields": { - "namespace": {}, "resource_categories": { - "maxItemsOne": false, - "elem": {} - }, - "resource_id": {}, - "resource_type": {} + "maxItemsOne": false + } } }, "oci_log_analytics_log_analytics_unprocessed_data_bucket_management": { "current": "oci:LogAnalytics/logAnalyticsUnprocessedDataBucketManagement:LogAnalyticsUnprocessedDataBucketManagement", - "fields": { - "bucket": {}, - "is_enabled": {}, - "namespace": {}, - "time_created": {}, - "time_updated": {} - } + "majorVersion": 1 }, "oci_log_analytics_namespace": { "current": "oci:LogAnalytics/namespace:Namespace", - "fields": { - "compartment_id": {}, - "is_onboarded": {}, - "namespace": {} - } + "majorVersion": 1 }, "oci_log_analytics_namespace_ingest_time_rule": { "current": "oci:LogAnalytics/namespaceIngestTimeRule:NamespaceIngestTimeRule", + "majorVersion": 1, "fields": { "actions": { "maxItemsOne": false, "elem": { "fields": { - "compartment_id": {}, "dimensions": { - "maxItemsOne": false, - "elem": {} - }, - "metric_name": {}, - "namespace": {}, - "resource_group": {}, - "type": {} + "maxItemsOne": false + } } } }, - "compartment_id": {}, "conditions": { "maxItemsOne": true, "elem": { "fields": { "additional_conditions": { - "maxItemsOne": false, - "elem": { - "fields": { - "condition_field": {}, - "condition_operator": {}, - "condition_value": {} - } - } - }, - "field_name": {}, - "field_operator": {}, - "field_value": {}, - "kind": {} + "maxItemsOne": false + } } } - }, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "freeform_tags": {}, - "ingest_time_rule_id": {}, - "is_enabled": {}, - "namespace": {}, - "state": {}, - "time_created": {}, - "time_updated": {} + } } }, "oci_log_analytics_namespace_ingest_time_rules_management": { "current": "oci:LogAnalytics/namespaceIngestTimeRulesManagement:NamespaceIngestTimeRulesManagement", - "fields": { - "enable_ingest_time_rule": {}, - "ingest_time_rule_id": {}, - "namespace": {} - } + "majorVersion": 1 }, "oci_log_analytics_namespace_scheduled_task": { "current": "oci:LogAnalytics/namespaceScheduledTask:NamespaceScheduledTask", + "majorVersion": 1, "fields": { "action": { "maxItemsOne": true, "elem": { "fields": { - "compartment_id_in_subtree": {}, - "data_type": {}, "metric_extraction": { - "maxItemsOne": true, - "elem": { - "fields": { - "compartment_id": {}, - "metric_name": {}, - "namespace": {}, - "resource_group": {} - } - } - }, - "purge_compartment_id": {}, - "purge_duration": {}, - "query_string": {}, - "saved_search_id": {}, - "type": {} + "maxItemsOne": true + } } } }, - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "kind": {}, - "namespace": {}, - "num_occurrences": {}, - "saved_search_id": {}, - "scheduled_task_id": {}, "schedules": { "maxItemsOne": true, "elem": { "fields": { "schedule": { - "maxItemsOne": false, - "elem": { - "fields": { - "expression": {}, - "misfire_policy": {}, - "recurring_interval": {}, - "repeat_count": {}, - "time_zone": {}, - "type": {} - } - } + "maxItemsOne": false } } } - }, - "state": {}, - "task_status": {}, - "task_type": {}, - "time_created": {}, - "time_updated": {}, - "work_request_id": {} + } } }, "oci_logging_log": { "current": "oci:Logging/log:Log", + "majorVersion": 1, "fields": { - "compartment_id": {}, "configuration": { "maxItemsOne": true, "elem": { "fields": { - "compartment_id": {}, "source": { - "maxItemsOne": true, - "elem": { - "fields": { - "category": {}, - "resource": {}, - "service": {}, - "source_type": {} - } - } + "maxItemsOne": true } } } - }, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "is_enabled": {}, - "log_group_id": {}, - "log_type": {}, - "retention_duration": {}, - "state": {}, - "tenancy_id": {}, - "time_created": {}, - "time_last_modified": {} + } } }, "oci_logging_log_group": { "current": "oci:Logging/logGroup:LogGroup", - "fields": { - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "freeform_tags": {}, - "state": {}, - "time_created": {}, - "time_last_modified": {} - } + "majorVersion": 1 }, "oci_logging_log_saved_search": { "current": "oci:Logging/logSavedSearch:LogSavedSearch", - "fields": { - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "freeform_tags": {}, - "name": {}, - "query": {}, - "state": {}, - "time_created": {}, - "time_last_modified": {} - } + "majorVersion": 1 }, "oci_logging_unified_agent_configuration": { "current": "oci:Logging/unifiedAgentConfiguration:UnifiedAgentConfiguration", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "configuration_state": {}, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "freeform_tags": {}, "group_association": { "maxItemsOne": true, "elem": { "fields": { "group_list": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } } }, - "is_enabled": {}, "service_configuration": { "maxItemsOne": true, "elem": { "fields": { - "configuration_type": {}, "destination": { - "maxItemsOne": true, - "elem": { - "fields": { - "log_object_id": {} - } - } + "maxItemsOne": true }, "sources": { "maxItemsOne": false, "elem": { "fields": { "channels": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "name": {}, "parser": { "maxItemsOne": true, "elem": { "fields": { - "delimiter": {}, - "expression": {}, - "field_time_key": {}, "format": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "format_firstline": {}, - "grok_failure_key": {}, - "grok_name_key": {}, - "is_estimate_current_event": {}, - "is_keep_time_key": {}, - "is_null_empty_string": {}, - "is_support_colonless_ident": {}, - "is_with_priority": {}, "keys": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "message_format": {}, - "message_key": {}, - "multi_line_start_regexp": {}, "nested_parser": { "maxItemsOne": true }, - "null_value_pattern": {}, - "parser_type": {}, "patterns": { - "maxItemsOne": false, - "elem": { - "fields": { - "field_time_format": {}, - "field_time_key": {}, - "field_time_zone": {}, - "name": {}, - "pattern": {} - } - } - }, - "rfc5424time_format": {}, - "syslog_parser_type": {}, - "time_format": {}, - "time_type": {}, - "timeout_in_milliseconds": {}, - "types": {} + "maxItemsOne": false + } } } }, "paths": { - "maxItemsOne": false, - "elem": {} - }, - "source_type": {} + "maxItemsOne": false + } } } } } } - }, - "state": {}, - "time_created": {}, - "time_last_modified": {} + } } }, "oci_management_agent_management_agent": { "current": "oci:ManagementAgent/managementAgent:ManagementAgent", + "majorVersion": 1, "fields": { - "availability_status": {}, - "compartment_id": {}, - "defined_tags": {}, "deploy_plugins_id": { - "maxItemsOne": false, - "elem": {} - }, - "display_name": {}, - "freeform_tags": {}, - "host": {}, - "host_id": {}, - "install_key_id": {}, - "install_path": {}, - "install_type": {}, - "is_agent_auto_upgradable": {}, - "is_customer_deployed": {}, - "lifecycle_details": {}, - "managed_agent_id": {}, + "maxItemsOne": false + }, "management_agent_properties": { "maxItemsOne": false, "elem": { "fields": { - "name": {}, - "units": {}, "values": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } } }, - "platform_name": {}, - "platform_type": {}, - "platform_version": {}, "plugin_list": { - "maxItemsOne": false, - "elem": { - "fields": { - "is_enabled": {}, - "plugin_display_name": {}, - "plugin_id": {}, - "plugin_name": {}, - "plugin_status": {}, - "plugin_status_message": {}, - "plugin_version": {} - } - } - }, - "resource_artifact_version": {}, - "state": {}, - "time_created": {}, - "time_last_heartbeat": {}, - "time_updated": {}, - "version": {} + "maxItemsOne": false + } } }, "oci_management_agent_management_agent_install_key": { "current": "oci:ManagementAgent/managementAgentInstallKey:ManagementAgentInstallKey", - "fields": { - "allowed_key_install_count": {}, - "compartment_id": {}, - "created_by_principal_id": {}, - "current_key_install_count": {}, - "display_name": {}, - "is_unlimited": {}, - "key": {}, - "lifecycle_details": {}, - "state": {}, - "time_created": {}, - "time_expires": {}, - "time_updated": {} - } + "majorVersion": 1 }, "oci_management_dashboard_management_dashboards_import": { "current": "oci:ManagementDashboard/managementDashboardsImport:ManagementDashboardsImport", - "fields": { - "import_details": {}, - "import_details_file": {} - } + "majorVersion": 1 }, "oci_marketplace_accepted_agreement": { "current": "oci:Marketplace/acceptedAgreement:AcceptedAgreement", - "fields": { - "agreement_id": {}, - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "listing_id": {}, - "package_version": {}, - "signature": {}, - "time_accepted": {} - } + "majorVersion": 1 }, "oci_marketplace_listing_package_agreement": { "current": "oci:Marketplace/listingPackageAgreement:ListingPackageAgreement", - "fields": { - "agreement_id": {}, - "author": {}, - "compartment_id": {}, - "content_url": {}, - "listing_id": {}, - "package_version": {}, - "prompt": {}, - "signature": {} - } + "majorVersion": 1 }, "oci_marketplace_publication": { "current": "oci:Marketplace/publication:Publication", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "defined_tags": {}, - "freeform_tags": {}, "icon": { - "maxItemsOne": false, - "elem": { - "fields": { - "content_url": {}, - "file_extension": {}, - "mime_type": {}, - "name": {} - } - } + "maxItemsOne": false }, - "is_agreement_acknowledged": {}, - "listing_type": {}, - "long_description": {}, - "name": {}, "package_details": { "maxItemsOne": true, "elem": { "fields": { "eula": { - "maxItemsOne": false, - "elem": { - "fields": { - "eula_type": {}, - "license_text": {} - } - } + "maxItemsOne": false }, - "image_id": {}, "operating_system": { - "maxItemsOne": true, - "elem": { - "fields": { - "name": {} - } - } - }, - "package_type": {}, - "package_version": {} + "maxItemsOne": true + } } } }, - "package_type": {}, - "short_description": {}, - "state": {}, "support_contacts": { - "maxItemsOne": false, - "elem": { - "fields": { - "email": {}, - "name": {}, - "phone": {}, - "subject": {} - } - } + "maxItemsOne": false }, "supported_operating_systems": { - "maxItemsOne": false, - "elem": { - "fields": { - "name": {} - } - } - }, - "time_created": {} + "maxItemsOne": false + } } }, "oci_media_services_media_asset": { "current": "oci:MediaServices/mediaAsset:MediaAsset", + "majorVersion": 1, "fields": { - "bucket": {}, - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "master_media_asset_id": {}, "media_asset_tags": { - "maxItemsOne": false, - "elem": { - "fields": { - "type": {}, - "value": {} - } - } + "maxItemsOne": false }, - "media_workflow_job_id": {}, "metadata": { - "maxItemsOne": false, - "elem": { - "fields": { - "metadata": {} - } - } - }, - "namespace": {}, - "object": {}, - "object_etag": {}, - "parent_media_asset_id": {}, - "segment_range_end_index": {}, - "segment_range_start_index": {}, - "source_media_workflow_id": {}, - "source_media_workflow_version": {}, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {}, - "type": {} + "maxItemsOne": false + } } }, "oci_media_services_media_workflow": { "current": "oci:MediaServices/mediaWorkflow:MediaWorkflow", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "lifecyle_details": {}, "media_workflow_configuration_ids": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "parameters": {}, - "state": {}, - "system_tags": {}, "tasks": { "maxItemsOne": false, "elem": { "fields": { - "enable_parameter_reference": {}, - "enable_when_referenced_parameter_equals": {}, - "key": {}, - "parameters": {}, "prerequisites": { - "maxItemsOne": false, - "elem": {} - }, - "type": {}, - "version": {} + "maxItemsOne": false + } } } - }, - "time_created": {}, - "time_updated": {}, - "version": {} + } } }, "oci_media_services_media_workflow_configuration": { "current": "oci:MediaServices/mediaWorkflowConfiguration:MediaWorkflowConfiguration", - "fields": { - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "lifecyle_details": {}, - "parameters": {}, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {} - } + "majorVersion": 1 }, "oci_media_services_media_workflow_job": { "current": "oci:MediaServices/mediaWorkflowJob:MediaWorkflowJob", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "lifecycle_details": {}, "media_workflow_configuration_ids": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "media_workflow_id": {}, - "media_workflow_name": {}, - "outputs": { - "maxItemsOne": false, - "elem": { - "fields": { - "asset_type": {}, - "bucket": {}, - "id": {}, - "namespace": {}, - "object": {} - } - } + "outputs": { + "maxItemsOne": false }, - "parameters": {}, - "runnable": {}, - "state": {}, - "system_tags": {}, "task_lifecycle_state": { - "maxItemsOne": false, - "elem": { - "fields": { - "key": {}, - "lifecycle_details": {}, - "state": {} - } - } - }, - "time_created": {}, - "time_ended": {}, - "time_started": {}, - "time_updated": {}, - "workflow_identifier_type": {} + "maxItemsOne": false + } } }, "oci_media_services_stream_cdn_config": { "current": "oci:MediaServices/streamCdnConfig:StreamCdnConfig", + "majorVersion": 1, "fields": { - "compartment_id": {}, "config": { - "maxItemsOne": true, - "elem": { - "fields": { - "edge_hostname": {}, - "edge_path_prefix": {}, - "edge_token_key": {}, - "edge_token_salt": {}, - "is_edge_token_auth": {}, - "origin_auth_secret_key_a": {}, - "origin_auth_secret_key_b": {}, - "origin_auth_secret_key_nonce_a": {}, - "origin_auth_secret_key_nonce_b": {}, - "origin_auth_sign_encryption": {}, - "origin_auth_sign_type": {}, - "type": {} - } - } - }, - "defined_tags": {}, - "display_name": {}, - "distribution_channel_id": {}, - "freeform_tags": {}, - "is_enabled": {}, - "lifecyle_details": {}, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {} + "maxItemsOne": true + } } }, "oci_media_services_stream_distribution_channel": { "current": "oci:MediaServices/streamDistributionChannel:StreamDistributionChannel", - "fields": { - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "domain_name": {}, - "freeform_tags": {}, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {} - } + "majorVersion": 1 }, "oci_media_services_stream_packaging_config": { "current": "oci:MediaServices/streamPackagingConfig:StreamPackagingConfig", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "distribution_channel_id": {}, "encryption": { - "maxItemsOne": true, - "elem": { - "fields": { - "algorithm": {}, - "kms_key_id": {} - } - } - }, - "freeform_tags": {}, - "segment_time_in_seconds": {}, - "state": {}, - "stream_packaging_format": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {} + "maxItemsOne": true + } } }, "oci_metering_computation_custom_table": { "current": "oci:MeteringComputation/customTable:CustomTable", + "majorVersion": 1, "fields": { - "compartment_id": {}, "saved_custom_table": { "maxItemsOne": true, "elem": { "fields": { "column_group_by": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "compartment_depth": {}, - "display_name": {}, "group_by_tag": { - "maxItemsOne": false, - "elem": { - "fields": { - "key": {}, - "namespace": {}, - "value": {} - } - } + "maxItemsOne": false }, "row_group_by": { - "maxItemsOne": false, - "elem": {} - }, - "version": {} + "maxItemsOne": false + } } } - }, - "saved_report_id": {} + } } }, "oci_metering_computation_query": { "current": "oci:MeteringComputation/query:Query", + "majorVersion": 1, "fields": { - "compartment_id": {}, "query_definition": { "maxItemsOne": true, "elem": { "fields": { "cost_analysis_ui": { - "maxItemsOne": true, - "elem": { - "fields": { - "graph": {}, - "is_cumulative_graph": {} - } - } + "maxItemsOne": true }, - "display_name": {}, "report_query": { "maxItemsOne": true, "elem": { "fields": { - "compartment_depth": {}, - "date_range_name": {}, - "filter": {}, "forecast": { - "maxItemsOne": true, - "elem": { - "fields": { - "forecast_type": {}, - "time_forecast_ended": {}, - "time_forecast_started": {} - } - } + "maxItemsOne": true }, - "granularity": {}, "group_by": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "group_by_tag": { - "maxItemsOne": false, - "elem": { - "fields": { - "key": {}, - "namespace": {}, - "value": {} - } - } - }, - "is_aggregate_by_time": {}, - "query_type": {}, - "tenant_id": {}, - "time_usage_ended": {}, - "time_usage_started": {} + "maxItemsOne": false + } } } - }, - "version": {} + } } } } @@ -23686,189 +10529,64 @@ }, "oci_metering_computation_schedule": { "current": "oci:MeteringComputation/schedule:Schedule", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "freeform_tags": {}, - "name": {}, - "output_file_format": {}, "query_properties": { "maxItemsOne": true, "elem": { "fields": { - "compartment_depth": {}, "date_range": { - "maxItemsOne": true, - "elem": { - "fields": { - "date_range_type": {}, - "dynamic_date_range_type": {}, - "time_usage_ended": {}, - "time_usage_started": {} - } - } + "maxItemsOne": true }, - "filter": {}, - "granularity": {}, "group_by": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "group_by_tag": { - "maxItemsOne": false, - "elem": { - "fields": { - "key": {}, - "namespace": {}, - "value": {} - } - } - }, - "is_aggregate_by_time": {}, - "query_type": {} + "maxItemsOne": false + } } } }, "result_location": { - "maxItemsOne": true, - "elem": { - "fields": { - "bucket": {}, - "location_type": {}, - "namespace": {}, - "region": {} - } - } - }, - "saved_report_id": {}, - "schedule_recurrences": {}, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_next_run": {}, - "time_scheduled": {} + "maxItemsOne": true + } } }, "oci_metering_computation_usage": { "current": "oci:MeteringComputation/usage:Usage", + "majorVersion": 1, "fields": { - "compartment_depth": {}, - "filter": {}, "forecast": { - "maxItemsOne": true, - "elem": { - "fields": { - "forecast_type": {}, - "time_forecast_ended": {}, - "time_forecast_started": {} - } - } + "maxItemsOne": true }, - "granularity": {}, "group_by": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "group_by_tag": { - "maxItemsOne": false, - "elem": { - "fields": { - "key": {}, - "namespace": {}, - "value": {} - } - } + "maxItemsOne": false }, - "is_aggregate_by_time": {}, "items": { "maxItemsOne": false, "elem": { "fields": { - "ad": {}, - "compartment_id": {}, - "compartment_name": {}, - "compartment_path": {}, - "computed_amount": {}, - "computed_quantity": {}, - "currency": {}, - "discount": {}, - "is_forecast": {}, - "list_rate": {}, - "overage": {}, - "overages_flag": {}, - "platform": {}, - "region": {}, - "resource_id": {}, - "resource_name": {}, - "service": {}, - "shape": {}, - "sku_name": {}, - "sku_part_number": {}, - "subscription_id": {}, "tags": { - "maxItemsOne": false, - "elem": { - "fields": { - "key": {}, - "namespace": {}, - "value": {} - } - } - }, - "tenant_id": {}, - "tenant_name": {}, - "time_usage_ended": {}, - "time_usage_started": {}, - "unit": {}, - "unit_price": {}, - "weight": {} + "maxItemsOne": false + } } } - }, - "query_type": {}, - "tenant_id": {}, - "time_usage_ended": {}, - "time_usage_started": {} + } } }, "oci_monitoring_alarm": { "current": "oci:Monitoring/alarm:Alarm", + "majorVersion": 1, "fields": { - "body": {}, - "compartment_id": {}, - "defined_tags": {}, "destinations": { - "maxItemsOne": false, - "elem": {} - }, - "display_name": {}, - "freeform_tags": {}, - "is_enabled": {}, - "is_notifications_per_metric_dimension_enabled": {}, - "message_format": {}, - "metric_compartment_id": {}, - "metric_compartment_id_in_subtree": {}, - "namespace": {}, - "pending_duration": {}, - "query": {}, - "repeat_notification_duration": {}, - "resolution": {}, - "resource_group": {}, - "severity": {}, - "state": {}, - "suppression": { - "maxItemsOne": true, - "elem": { - "fields": { - "description": {}, - "time_suppress_from": {}, - "time_suppress_until": {} - } - } + "maxItemsOne": false }, - "time_created": {}, - "time_updated": {} + "suppression": { + "maxItemsOne": true + } } }, "oci_mysql_analytics_cluster": { @@ -23896,346 +10614,104 @@ }, "oci_mysql_channel": { "current": "oci:Mysql/channel:Channel", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "freeform_tags": {}, - "is_enabled": {}, - "lifecycle_details": {}, "source": { "maxItemsOne": true, "elem": { "fields": { "anonymous_transactions_handling": { - "maxItemsOne": true, - "elem": { - "fields": { - "last_configured_log_filename": {}, - "last_configured_log_offset": {}, - "policy": {}, - "uuid": {} - } - } + "maxItemsOne": true }, - "hostname": {}, - "password": {}, - "port": {}, - "source_type": {}, "ssl_ca_certificate": { - "maxItemsOne": true, - "elem": { - "fields": { - "certificate_type": {}, - "contents": {} - } - } - }, - "ssl_mode": {}, - "username": {} + "maxItemsOne": true + } } } }, - "state": {}, "target": { "maxItemsOne": true, "elem": { "fields": { - "applier_username": {}, - "channel_name": {}, - "db_system_id": {}, "filters": { - "maxItemsOne": false, - "elem": { - "fields": { - "type": {}, - "value": {} - } - } - }, - "target_type": {} + "maxItemsOne": false + } } } - }, - "time_created": {}, - "time_updated": {} + } } }, "oci_mysql_heat_wave_cluster": { "current": "oci:Mysql/heatWaveCluster:HeatWaveCluster", + "majorVersion": 1, "fields": { "cluster_nodes": { - "maxItemsOne": false, - "elem": { - "fields": { - "node_id": {}, - "state": {}, - "time_created": {}, - "time_updated": {} - } - } - }, - "cluster_size": {}, - "db_system_id": {}, - "lifecycle_details": {}, - "shape_name": {}, - "state": {}, - "time_created": {}, - "time_updated": {} + "maxItemsOne": false + } } }, "oci_mysql_mysql_backup": { "current": "oci:Mysql/mysqlBackup:MysqlBackup", + "majorVersion": 1, "fields": { - "backup_size_in_gbs": {}, - "backup_type": {}, - "compartment_id": {}, - "creation_type": {}, - "data_storage_size_in_gb": {}, - "db_system_id": {}, "db_system_snapshot": { "maxItemsOne": false, "elem": { "fields": { - "admin_username": {}, - "availability_domain": {}, "backup_policy": { "maxItemsOne": false, "elem": { "fields": { - "defined_tags": {}, - "freeform_tags": {}, - "is_enabled": {}, "pitr_policy": { - "maxItemsOne": false, - "elem": { - "fields": { - "is_enabled": {} - } - } - }, - "retention_in_days": {}, - "window_start_time": {} + "maxItemsOne": false + } } } }, - "compartment_id": {}, - "configuration_id": {}, - "crash_recovery": {}, - "data_storage_size_in_gb": {}, - "defined_tags": {}, "deletion_policy": { - "maxItemsOne": false, - "elem": { - "fields": { - "automatic_backup_retention": {}, - "final_backup": {}, - "is_delete_protected": {} - } - } + "maxItemsOne": false }, - "description": {}, - "display_name": {}, "endpoints": { "maxItemsOne": false, "elem": { "fields": { - "hostname": {}, - "ip_address": {}, "modes": { - "maxItemsOne": false, - "elem": {} - }, - "port": {}, - "port_x": {}, - "resource_id": {}, - "resource_type": {}, - "status": {}, - "status_details": {} + "maxItemsOne": false + } } } }, - "fault_domain": {}, - "freeform_tags": {}, - "hostname_label": {}, - "id": {}, - "ip_address": {}, - "is_highly_available": {}, "maintenance": { - "maxItemsOne": false, - "elem": { - "fields": { - "window_start_time": {} - } - } - }, - "mysql_version": {}, - "port": {}, - "port_x": {}, - "shape_name": {}, - "subnet_id": {} + "maxItemsOne": false + } } } - }, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "freeform_tags": {}, - "lifecycle_details": {}, - "mysql_version": {}, - "retention_in_days": {}, - "shape_name": {}, - "state": {}, - "time_created": {}, - "time_updated": {} + } } }, "oci_mysql_mysql_configuration": { "current": "oci:Mysql/mysqlConfiguration:MysqlConfiguration", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "freeform_tags": {}, "init_variables": { - "maxItemsOne": true, - "elem": { - "fields": { - "lower_case_table_names": {} - } - } + "maxItemsOne": true }, - "parent_configuration_id": {}, - "shape_name": {}, - "state": {}, - "time_created": {}, - "time_updated": {}, - "type": {}, "variables": { - "maxItemsOne": true, - "elem": { - "fields": { - "autocommit": {}, - "big_tables": {}, - "binlog_expire_logs_seconds": {}, - "binlog_row_metadata": {}, - "binlog_row_value_options": {}, - "binlog_transaction_compression": {}, - "completion_type": {}, - "connect_timeout": {}, - "connection_memory_chunk_size": {}, - "connection_memory_limit": {}, - "cte_max_recursion_depth": {}, - "default_authentication_plugin": {}, - "foreign_key_checks": {}, - "generated_random_password_length": {}, - "global_connection_memory_limit": {}, - "global_connection_memory_tracking": {}, - "group_replication_consistency": {}, - "information_schema_stats_expiry": {}, - "innodb_buffer_pool_dump_pct": {}, - "innodb_buffer_pool_instances": {}, - "innodb_buffer_pool_size": {}, - "innodb_ddl_buffer_size": {}, - "innodb_ddl_threads": {}, - "innodb_ft_enable_stopword": {}, - "innodb_ft_max_token_size": {}, - "innodb_ft_min_token_size": {}, - "innodb_ft_num_word_optimize": {}, - "innodb_ft_result_cache_limit": {}, - "innodb_ft_server_stopword_table": {}, - "innodb_lock_wait_timeout": {}, - "innodb_log_writer_threads": {}, - "innodb_max_purge_lag": {}, - "innodb_max_purge_lag_delay": {}, - "innodb_stats_persistent_sample_pages": {}, - "innodb_stats_transient_sample_pages": {}, - "interactive_timeout": {}, - "local_infile": {}, - "mandatory_roles": {}, - "max_allowed_packet": {}, - "max_binlog_cache_size": {}, - "max_connect_errors": {}, - "max_connections": {}, - "max_execution_time": {}, - "max_heap_table_size": {}, - "max_prepared_stmt_count": {}, - "mysql_firewall_mode": {}, - "mysql_zstd_default_compression_level": {}, - "mysqlx_connect_timeout": {}, - "mysqlx_deflate_default_compression_level": {}, - "mysqlx_deflate_max_client_compression_level": {}, - "mysqlx_document_id_unique_prefix": {}, - "mysqlx_enable_hello_notice": {}, - "mysqlx_idle_worker_thread_timeout": {}, - "mysqlx_interactive_timeout": {}, - "mysqlx_lz4default_compression_level": {}, - "mysqlx_lz4max_client_compression_level": {}, - "mysqlx_max_allowed_packet": {}, - "mysqlx_min_worker_threads": {}, - "mysqlx_read_timeout": {}, - "mysqlx_wait_timeout": {}, - "mysqlx_write_timeout": {}, - "mysqlx_zstd_default_compression_level": {}, - "mysqlx_zstd_max_client_compression_level": {}, - "net_read_timeout": {}, - "net_write_timeout": {}, - "parser_max_mem_size": {}, - "query_alloc_block_size": {}, - "query_prealloc_size": {}, - "regexp_time_limit": {}, - "sort_buffer_size": {}, - "sql_mode": {}, - "sql_require_primary_key": {}, - "sql_warnings": {}, - "thread_pool_dedicated_listeners": {}, - "thread_pool_max_transactions_limit": {}, - "time_zone": {}, - "tmp_table_size": {}, - "transaction_isolation": {}, - "wait_timeout": {} - } - } + "maxItemsOne": true } } }, "oci_mysql_mysql_db_system": { "current": "oci:Mysql/mysqlDbSystem:MysqlDbSystem", + "majorVersion": 1, "fields": { - "admin_password": {}, - "admin_username": {}, - "analytics_cluster": { - "maxItemsOne": false, - "elem": { - "fields": { - "cluster_size": {}, - "shape_name": {}, - "state": {}, - "time_created": {}, - "time_updated": {} - } - } - }, - "availability_domain": {}, "backup_policy": { "maxItemsOne": true, "elem": { "fields": { - "defined_tags": {}, - "freeform_tags": {}, - "is_enabled": {}, "pitr_policy": { - "maxItemsOne": true, - "elem": { - "fields": { - "is_enabled": {} - } - } - }, - "retention_in_days": {}, - "window_start_time": {} + "maxItemsOne": true + } } } }, @@ -24243,367 +10719,162 @@ "maxItemsOne": false, "elem": { "fields": { - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "id": {}, - "is_enabled": {}, - "lifecycle_details": {}, "source": { "maxItemsOne": false, "elem": { "fields": { "anonymous_transactions_handling": { - "maxItemsOne": false, - "elem": { - "fields": { - "last_configured_log_filename": {}, - "last_configured_log_offset": {}, - "policy": {}, - "uuid": {} - } - } + "maxItemsOne": false }, - "hostname": {}, - "port": {}, - "source_type": {}, "ssl_ca_certificate": { - "maxItemsOne": false, - "elem": { - "fields": { - "certificate_type": {}, - "contents": {} - } - } - }, - "ssl_mode": {}, - "username": {} + "maxItemsOne": false + } } } }, - "state": {}, "target": { "maxItemsOne": false, "elem": { "fields": { - "applier_username": {}, - "channel_name": {}, - "db_system_id": {}, "filters": { - "maxItemsOne": false, - "elem": { - "fields": { - "type": {}, - "value": {} - } - } - }, - "target_type": {} + "maxItemsOne": false + } } } - }, - "time_created": {}, - "time_updated": {} + } } } }, - "compartment_id": {}, - "configuration_id": {}, - "crash_recovery": {}, "current_placement": { - "maxItemsOne": false, - "elem": { - "fields": { - "availability_domain": {}, - "fault_domain": {} - } - } + "maxItemsOne": false }, - "data_storage_size_in_gb": {}, - "defined_tags": {}, "deletion_policy": { - "maxItemsOne": false, - "elem": { - "fields": { - "automatic_backup_retention": {}, - "final_backup": {}, - "is_delete_protected": {} - } - } + "maxItemsOne": false }, - "description": {}, - "display_name": {}, "endpoints": { "maxItemsOne": false, "elem": { "fields": { - "hostname": {}, - "ip_address": {}, "modes": { - "maxItemsOne": false, - "elem": {} - }, - "port": {}, - "port_x": {}, - "resource_id": {}, - "resource_type": {}, - "status": {}, - "status_details": {} + "maxItemsOne": false + } } } }, - "fault_domain": {}, - "freeform_tags": {}, "heat_wave_cluster": { - "maxItemsOne": false, - "elem": { - "fields": { - "cluster_size": {}, - "shape_name": {}, - "state": {}, - "time_created": {}, - "time_updated": {} - } - } + "maxItemsOne": false }, - "hostname_label": {}, - "ip_address": {}, - "is_analytics_cluster_attached": {}, - "is_heat_wave_cluster_attached": {}, - "is_highly_available": {}, - "lifecycle_details": {}, "maintenance": { - "maxItemsOne": true, - "elem": { - "fields": { - "window_start_time": {} - } - } + "maxItemsOne": true }, - "mysql_version": {}, "point_in_time_recovery_details": { - "maxItemsOne": false, - "elem": { - "fields": { - "time_earliest_recovery_point": {}, - "time_latest_recovery_point": {} - } - } + "maxItemsOne": false }, - "port": {}, - "port_x": {}, - "shape_name": {}, - "shutdown_type": {}, "source": { - "maxItemsOne": true, - "elem": { - "fields": { - "backup_id": {}, - "db_system_id": {}, - "recovery_point": {}, - "source_type": {}, - "source_url": {} - } - } - }, - "state": {}, - "subnet_id": {}, - "time_created": {}, - "time_updated": {} + "maxItemsOne": true + } } }, "oci_mysql_replica": { "current": "oci:Mysql/replica:Replica", + "majorVersion": 1, "fields": { - "availability_domain": {}, - "compartment_id": {}, - "db_system_id": {}, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "fault_domain": {}, - "freeform_tags": {}, - "ip_address": {}, - "is_delete_protected": {}, - "lifecycle_details": {}, - "mysql_version": {}, - "port": {}, - "port_x": {}, - "state": {}, - "time_created": {}, - "time_updated": {} + "replica_overrides": { + "maxItemsOne": true + } } }, "oci_network_firewall_network_firewall": { "current": "oci:NetworkFirewall/networkFirewall:NetworkFirewall", + "majorVersion": 1, "fields": { - "availability_domain": {}, - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "ipv4address": {}, - "ipv6address": {}, - "lifecycle_details": {}, - "network_firewall_policy_id": {}, "network_security_group_ids": { - "maxItemsOne": false, - "elem": {} - }, - "state": {}, - "subnet_id": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {} + "maxItemsOne": false + } } }, "oci_network_firewall_network_firewall_policy": { "current": "oci:NetworkFirewall/networkFirewallPolicy:NetworkFirewallPolicy", + "majorVersion": 1, "fields": { "application_lists": { "maxItemsOne": false, "elem": { "fields": { - "application_list_name": {}, "application_values": { - "maxItemsOne": false, - "elem": { - "fields": { - "icmp_code": {}, - "icmp_type": {}, - "maximum_port": {}, - "minimum_port": {}, - "type": {} - } - } + "maxItemsOne": false } } } }, - "compartment_id": {}, "decryption_profiles": { - "maxItemsOne": false, - "elem": { - "fields": { - "are_certificate_extensions_restricted": {}, - "is_auto_include_alt_name": {}, - "is_expired_certificate_blocked": {}, - "is_out_of_capacity_blocked": {}, - "is_revocation_status_timeout_blocked": {}, - "is_unknown_revocation_status_blocked": {}, - "is_unsupported_cipher_blocked": {}, - "is_unsupported_version_blocked": {}, - "is_untrusted_issuer_blocked": {}, - "key": {}, - "type": {} - } - } + "maxItemsOne": false }, "decryption_rules": { "maxItemsOne": false, "elem": { "fields": { - "action": {}, "condition": { "maxItemsOne": true, "elem": { "fields": { "destinations": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "sources": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } } - }, - "decryption_profile": {}, - "name": {}, - "secret": {} + } } } }, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, "ip_address_lists": { "maxItemsOne": false, "elem": { "fields": { - "ip_address_list_name": {}, "ip_address_list_value": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } } }, - "is_firewall_attached": {}, - "lifecycle_details": {}, "mapped_secrets": { - "maxItemsOne": false, - "elem": { - "fields": { - "key": {}, - "type": {}, - "vault_secret_id": {}, - "version_number": {} - } - } + "maxItemsOne": false }, "security_rules": { "maxItemsOne": false, "elem": { "fields": { - "action": {}, "condition": { "maxItemsOne": true, "elem": { "fields": { "applications": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "destinations": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "sources": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "urls": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } } - }, - "inspection": {}, - "name": {} + } } } }, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {}, "url_lists": { "maxItemsOne": false, "elem": { "fields": { - "url_list_name": {}, "url_list_values": { - "maxItemsOne": false, - "elem": { - "fields": { - "pattern": {}, - "type": {} - } - } + "maxItemsOne": false } } } @@ -24612,485 +10883,178 @@ }, "oci_network_load_balancer_backend": { "current": "oci:NetworkLoadBalancer/backend:Backend", - "fields": { - "backend_set_name": {}, - "ip_address": {}, - "is_backup": {}, - "is_drain": {}, - "is_offline": {}, - "name": {}, - "network_load_balancer_id": {}, - "port": {}, - "target_id": {}, - "weight": {} - } + "majorVersion": 1 }, "oci_network_load_balancer_backend_set": { "current": "oci:NetworkLoadBalancer/backendSet:BackendSet", + "majorVersion": 1, "fields": { "backends": { - "maxItemsOne": false, - "elem": { - "fields": { - "ip_address": {}, - "is_backup": {}, - "is_drain": {}, - "is_offline": {}, - "name": {}, - "port": {}, - "target_id": {}, - "weight": {} - } - } + "maxItemsOne": false }, "health_checker": { - "maxItemsOne": true, - "elem": { - "fields": { - "interval_in_millis": {}, - "port": {}, - "protocol": {}, - "request_data": {}, - "response_body_regex": {}, - "response_data": {}, - "retries": {}, - "return_code": {}, - "timeout_in_millis": {}, - "url_path": {} - } - } - }, - "ip_version": {}, - "is_preserve_source": {}, - "name": {}, - "network_load_balancer_id": {}, - "policy": {} + "maxItemsOne": true + } } }, "oci_network_load_balancer_listener": { "current": "oci:NetworkLoadBalancer/listener:Listener", - "fields": { - "default_backend_set_name": {}, - "ip_version": {}, - "name": {}, - "network_load_balancer_id": {}, - "port": {}, - "protocol": {} - } + "majorVersion": 1 }, "oci_network_load_balancer_network_load_balancer": { "current": "oci:NetworkLoadBalancer/networkLoadBalancer:NetworkLoadBalancer", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, "ip_addresses": { "maxItemsOne": false, "elem": { "fields": { - "ip_address": {}, - "ip_version": {}, - "is_public": {}, "reserved_ip": { - "maxItemsOne": false, - "elem": { - "fields": { - "id": {} - } - } + "maxItemsOne": false } } } }, - "is_preserve_source_destination": {}, - "is_private": {}, - "lifecycle_details": {}, "network_security_group_ids": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "nlb_ip_version": {}, "reserved_ips": { - "maxItemsOne": false, - "elem": { - "fields": { - "id": {} - } - } - }, - "state": {}, - "subnet_id": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {} + "maxItemsOne": false + } } }, "oci_network_load_balancer_network_load_balancers_backend_sets_unified": { "current": "oci:NetworkLoadBalancer/networkLoadBalancersBackendSetsUnified:NetworkLoadBalancersBackendSetsUnified", + "majorVersion": 1, "fields": { "backends": { - "maxItemsOne": false, - "elem": { - "fields": { - "ip_address": {}, - "is_backup": {}, - "is_drain": {}, - "is_offline": {}, - "name": {}, - "port": {}, - "target_id": {}, - "weight": {} - } - } + "maxItemsOne": false }, "health_checker": { - "maxItemsOne": true, - "elem": { - "fields": { - "interval_in_millis": {}, - "port": {}, - "protocol": {}, - "request_data": {}, - "response_body_regex": {}, - "response_data": {}, - "retries": {}, - "return_code": {}, - "timeout_in_millis": {}, - "url_path": {} - } - } - }, - "ip_version": {}, - "is_preserve_source": {}, - "name": {}, - "network_load_balancer_id": {}, - "policy": {} + "maxItemsOne": true + } } }, "oci_nosql_index": { "current": "oci:Nosql/index:Index", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "is_if_not_exists": {}, "keys": { - "maxItemsOne": false, - "elem": { - "fields": { - "column_name": {}, - "json_field_type": {}, - "json_path": {} - } - } - }, - "lifecycle_details": {}, - "name": {}, - "state": {}, - "table_id": {}, - "table_name": {}, - "table_name_or_id": {} + "maxItemsOne": false + } } }, "oci_nosql_table": { "current": "oci:Nosql/table:Table", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "ddl_statement": {}, - "defined_tags": {}, - "freeform_tags": {}, - "is_auto_reclaimable": {}, - "lifecycle_details": {}, - "name": {}, "schema": { "maxItemsOne": false, "elem": { "fields": { "columns": { - "maxItemsOne": false, - "elem": { - "fields": { - "default_value": {}, - "is_as_uuid": {}, - "is_generated": {}, - "is_nullable": {}, - "name": {}, - "type": {} - } - } + "maxItemsOne": false }, "identity": { - "maxItemsOne": false, - "elem": { - "fields": { - "column_name": {}, - "is_always": {}, - "is_null": {} - } - } + "maxItemsOne": false }, "primary_key": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "shard_key": { - "maxItemsOne": false, - "elem": {} - }, - "ttl": {} + "maxItemsOne": false + } } } }, - "state": {}, - "system_tags": {}, "table_limits": { - "maxItemsOne": true, - "elem": { - "fields": { - "capacity_mode": {}, - "max_read_units": {}, - "max_storage_in_gbs": {}, - "max_write_units": {} - } - } - }, - "time_created": {}, - "time_of_expiration": {}, - "time_updated": {} + "maxItemsOne": true + } } }, "oci_objectstorage_bucket": { "current": "oci:ObjectStorage/bucket:Bucket", + "majorVersion": 1, "fields": { - "access_type": {}, - "approximate_count": {}, - "approximate_size": {}, - "auto_tiering": {}, - "bucket_id": {}, - "compartment_id": {}, - "created_by": {}, - "defined_tags": {}, - "etag": {}, - "freeform_tags": {}, - "is_read_only": {}, - "kms_key_id": {}, - "metadata": {}, - "name": {}, - "namespace": {}, - "object_events_enabled": {}, - "object_lifecycle_policy_etag": {}, - "replication_enabled": {}, "retention_rules": { "maxItemsOne": false, "elem": { "fields": { - "display_name": {}, "duration": { - "maxItemsOne": true, - "elem": { - "fields": { - "time_amount": {}, - "time_unit": {} - } - } - }, - "retention_rule_id": {}, - "time_created": {}, - "time_modified": {}, - "time_rule_locked": {} + "maxItemsOne": true + } } } - }, - "storage_tier": {}, - "time_created": {}, - "versioning": {} + } } }, "oci_objectstorage_namespace_metadata": { "current": "oci:ObjectStorage/namespaceMetadata:NamespaceMetadata", - "fields": { - "default_s3compartment_id": {}, - "default_swift_compartment_id": {}, - "namespace": {} - } + "majorVersion": 1 }, "oci_objectstorage_object": { "current": "oci:ObjectStorage/storageObject:StorageObject", + "majorVersion": 1, "fields": { - "bucket": {}, - "cache_control": {}, - "content": {}, - "content_disposition": {}, - "content_encoding": {}, - "content_language": {}, - "content_length": {}, - "content_md5": {}, - "content_type": {}, - "delete_all_object_versions": {}, - "metadata": {}, - "namespace": {}, - "object": {}, - "opc_sse_kms_key_id": {}, - "source": {}, "source_uri_details": { - "maxItemsOne": true, - "elem": { - "fields": { - "bucket": {}, - "destination_object_if_match_etag": {}, - "destination_object_if_none_match_etag": {}, - "namespace": {}, - "object": {}, - "region": {}, - "source_object_if_match_etag": {}, - "source_version_id": {} - } - } - }, - "state": {}, - "storage_tier": {}, - "version_id": {}, - "work_request_id": {} + "maxItemsOne": true + } } }, "oci_objectstorage_object_lifecycle_policy": { "current": "oci:ObjectStorage/objectLifecyclePolicy:ObjectLifecyclePolicy", + "majorVersion": 1, "fields": { - "bucket": {}, - "namespace": {}, "rules": { "maxItemsOne": false, "elem": { "fields": { - "action": {}, - "is_enabled": {}, - "name": {}, "object_name_filter": { "maxItemsOne": true, "elem": { "fields": { "exclusion_patterns": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "inclusion_patterns": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "inclusion_prefixes": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } } - }, - "target": {}, - "time_amount": {}, - "time_unit": {} + } } } - }, - "time_created": {} + } } }, "oci_objectstorage_preauthrequest": { "current": "oci:ObjectStorage/preauthrequest:Preauthrequest", - "fields": { - "access_type": {}, - "access_uri": {}, - "bucket": {}, - "bucket_listing_action": {}, - "name": {}, - "namespace": {}, - "object": {}, - "object_name": {}, - "par_id": {}, - "time_created": {}, - "time_expires": {} - } + "majorVersion": 1 }, "oci_objectstorage_replication_policy": { "current": "oci:ObjectStorage/replicationPolicy:ReplicationPolicy", - "fields": { - "bucket": {}, - "delete_object_in_destination_bucket": {}, - "destination_bucket_name": {}, - "destination_region_name": {}, - "name": {}, - "namespace": {}, - "status": {}, - "status_message": {}, - "time_created": {}, - "time_last_sync": {} - } + "majorVersion": 1 }, "oci_oce_oce_instance": { "current": "oci:Oce/instance:Instance", + "majorVersion": 1, "fields": { "add_on_features": { - "maxItemsOne": false, - "elem": {} - }, - "admin_email": {}, - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "dr_region": {}, - "freeform_tags": {}, - "guid": {}, - "idcs_access_token": {}, - "idcs_tenancy": {}, - "instance_access_type": {}, - "instance_license_type": {}, - "instance_usage_type": {}, - "lifecycle_details": {}, - "name": {}, - "object_storage_namespace": {}, - "service": {}, - "state": {}, - "state_message": {}, - "system_tags": {}, - "tenancy_id": {}, - "tenancy_name": {}, - "time_created": {}, - "time_updated": {}, - "upgrade_schedule": {}, - "waf_primary_domain": {} + "maxItemsOne": false + } } }, "oci_ocvp_esxi_host": { "current": "oci:Ocvp/esxiHost:EsxiHost", - "fields": { - "billing_contract_end_date": {}, - "capacity_reservation_id": {}, - "compartment_id": {}, - "compute_availability_domain": {}, - "compute_instance_id": {}, - "current_sku": {}, - "defined_tags": {}, - "display_name": {}, - "failed_esxi_host_id": {}, - "freeform_tags": {}, - "grace_period_end_date": {}, - "host_ocpu_count": {}, - "host_shape_name": {}, - "next_sku": {}, - "non_upgraded_esxi_host_id": {}, - "replacement_esxi_host_id": {}, - "sddc_id": {}, - "state": {}, - "time_created": {}, - "time_updated": {}, - "upgraded_replacement_esxi_host_id": {}, - "vmware_software_version": {} - } + "majorVersion": 1 }, "oci_ocvp_sddc": { "current": "oci:Ocvp/sddc:Sddc", + "majorVersion": 1, "fields": { - "actual_esxi_hosts_count": {}, - "capacity_reservation_id": {}, - "compartment_id": {}, - "compute_availability_domain": {}, "datastores": { "maxItemsOne": false, "elem": { @@ -25101,516 +11065,156 @@ } } }, - "defined_tags": {}, - "display_name": {}, - "esxi_hosts_count": {}, - "freeform_tags": {}, - "hcx_action": {}, - "hcx_fqdn": {}, - "hcx_initial_password": {}, - "hcx_on_prem_key": {}, "hcx_on_prem_licenses": { - "maxItemsOne": false, - "elem": { - "fields": { - "activation_key": {}, - "status": {}, - "system_name": {} - } - } - }, - "hcx_private_ip_id": {}, - "hcx_vlan_id": {}, - "initial_host_ocpu_count": {}, - "initial_host_shape_name": {}, - "initial_sku": {}, - "instance_display_name_prefix": {}, - "is_hcx_enabled": {}, - "is_hcx_enterprise_enabled": {}, - "is_hcx_pending_downgrade": {}, - "is_shielded_instance_enabled": {}, - "is_single_host_sddc": {}, - "nsx_edge_uplink1vlan_id": {}, - "nsx_edge_uplink2vlan_id": {}, - "nsx_edge_uplink_ip_id": {}, - "nsx_edge_vtep_vlan_id": {}, - "nsx_manager_fqdn": {}, - "nsx_manager_initial_password": {}, - "nsx_manager_private_ip_id": {}, - "nsx_manager_username": {}, - "nsx_overlay_segment_name": {}, - "nsx_vtep_vlan_id": {}, - "provisioning_subnet_id": {}, - "provisioning_vlan_id": {}, - "refresh_hcx_license_status": {}, - "replication_vlan_id": {}, + "maxItemsOne": false + }, "reserving_hcx_on_premise_license_keys": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "ssh_authorized_keys": {}, - "state": {}, - "time_created": {}, - "time_hcx_billing_cycle_end": {}, - "time_hcx_license_status_updated": {}, - "time_updated": {}, "upgrade_licenses": { - "maxItemsOne": false, - "elem": { - "fields": { - "license_key": {}, - "license_type": {} - } - } + "maxItemsOne": false }, - "vcenter_fqdn": {}, - "vcenter_initial_password": {}, - "vcenter_private_ip_id": {}, - "vcenter_username": {}, - "vmotion_vlan_id": {}, - "vmware_software_version": {}, - "vsan_vlan_id": {}, - "vsphere_upgrade_guide": {}, "vsphere_upgrade_objects": { - "maxItemsOne": false, - "elem": { - "fields": { - "download_link": {}, - "link_description": {} - } - } - }, - "vsphere_vlan_id": {}, - "workload_network_cidr": {} + "maxItemsOne": false + } } }, "oci_oda_oda_instance": { "current": "oci:Oda/odaInstance:OdaInstance", + "majorVersion": 1, "fields": { "attachment_ids": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "attachment_types": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "compartment_id": {}, - "connector_url": {}, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "freeform_tags": {}, - "identity_app_console_url": {}, - "identity_app_guid": {}, - "identity_domain": {}, "imported_package_ids": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "imported_package_names": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "is_role_based_access": {}, - "lifecycle_sub_state": {}, "restricted_operations": { - "maxItemsOne": false, - "elem": { - "fields": { - "operation_name": {}, - "restricting_service": {} - } - } - }, - "shape_name": {}, - "state": {}, - "state_message": {}, - "time_created": {}, - "time_updated": {}, - "web_app_url": {} + "maxItemsOne": false + } } }, "oci_oda_oda_private_endpoint": { "current": "oci:Oda/odaPrivateEndpoint:OdaPrivateEndpoint", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "freeform_tags": {}, "nsg_ids": { - "maxItemsOne": false, - "elem": {} - }, - "state": {}, - "subnet_id": {}, - "time_created": {}, - "time_updated": {} + "maxItemsOne": false + } } }, "oci_oda_oda_private_endpoint_attachment": { "current": "oci:Oda/odaPrivateEndpointAttachment:OdaPrivateEndpointAttachment", - "fields": { - "compartment_id": {}, - "oda_instance_id": {}, - "oda_private_endpoint_id": {}, - "state": {}, - "time_created": {}, - "time_updated": {} - } + "majorVersion": 1 }, "oci_oda_oda_private_endpoint_scan_proxy": { "current": "oci:Oda/odaPrivateEndpointScanProxy:OdaPrivateEndpointScanProxy", + "majorVersion": 1, "fields": { - "oda_private_endpoint_id": {}, - "protocol": {}, "scan_listener_infos": { - "maxItemsOne": false, - "elem": { - "fields": { - "scan_listener_fqdn": {}, - "scan_listener_ip": {}, - "scan_listener_port": {} - } - } - }, - "scan_listener_type": {}, - "state": {}, - "time_created": {} + "maxItemsOne": false + } } }, "oci_ons_notification_topic": { "current": "oci:Ons/notificationTopic:NotificationTopic", - "fields": { - "api_endpoint": {}, - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "etag": {}, - "freeform_tags": {}, - "name": {}, - "short_topic_id": {}, - "state": {}, - "time_created": {}, - "topic_id": {} - } + "majorVersion": 1 }, "oci_ons_subscription": { "current": "oci:Ons/subscription:Subscription", - "fields": { - "compartment_id": {}, - "created_time": {}, - "defined_tags": {}, - "delivery_policy": {}, - "endpoint": {}, - "etag": {}, - "freeform_tags": {}, - "protocol": {}, - "state": {}, - "topic_id": {} - } + "majorVersion": 1 }, "oci_opa_opa_instance": { "current": "oci:Opa/opaInstance:OpaInstance", + "majorVersion": 1, "fields": { "attachments": { - "maxItemsOne": false, - "elem": { - "fields": { - "is_implicit": {}, - "target_id": {}, - "target_instance_url": {}, - "target_role": {}, - "target_service_type": {} - } - } - }, - "compartment_id": {}, - "consumption_model": {}, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "freeform_tags": {}, - "idcs_at": {}, - "identity_app_display_name": {}, - "identity_app_guid": {}, - "identity_app_opc_service_instance_guid": {}, - "identity_domain_url": {}, - "instance_url": {}, - "is_breakglass_enabled": {}, - "metering_type": {}, - "shape_name": {}, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {} + "maxItemsOne": false + } } }, "oci_opensearch_opensearch_cluster": { "current": "oci:Opensearch/cluster:Cluster", + "majorVersion": 1, "fields": { "availability_domains": { - "maxItemsOne": false, - "elem": {} - }, - "compartment_id": {}, - "data_node_count": {}, - "data_node_host_bare_metal_shape": {}, - "data_node_host_memory_gb": {}, - "data_node_host_ocpu_count": {}, - "data_node_host_type": {}, - "data_node_storage_gb": {}, - "defined_tags": {}, - "display_name": {}, - "fqdn": {}, - "freeform_tags": {}, - "lifecycle_details": {}, - "master_node_count": {}, - "master_node_host_bare_metal_shape": {}, - "master_node_host_memory_gb": {}, - "master_node_host_ocpu_count": {}, - "master_node_host_type": {}, - "opendashboard_fqdn": {}, - "opendashboard_node_count": {}, - "opendashboard_node_host_memory_gb": {}, - "opendashboard_node_host_ocpu_count": {}, - "opendashboard_private_ip": {}, - "opensearch_fqdn": {}, - "opensearch_private_ip": {}, - "security_master_user_name": {}, - "security_master_user_password_hash": {}, - "security_mode": {}, - "software_version": {}, - "state": {}, - "subnet_compartment_id": {}, - "subnet_id": {}, - "system_tags": {}, - "time_created": {}, - "time_deleted": {}, - "time_updated": {}, - "total_storage_gb": {}, - "vcn_compartment_id": {}, - "vcn_id": {} + "maxItemsOne": false + } } }, "oci_operator_access_control_operator_control": { "current": "oci:OperatorAccessControl/operatorControl:OperatorControl", + "majorVersion": 1, "fields": { "approval_required_op_action_list": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "approver_groups_list": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "approvers_list": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "compartment_id": {}, - "defined_tags": {}, - "description": {}, "email_id_list": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "freeform_tags": {}, - "is_fully_pre_approved": {}, - "last_modified_info": {}, - "operator_control_name": {}, "pre_approved_op_action_list": { - "maxItemsOne": false, - "elem": {} - }, - "resource_type": {}, - "state": {}, - "system_message": {}, - "time_of_creation": {}, - "time_of_deletion": {}, - "time_of_modification": {} + "maxItemsOne": false + } } }, "oci_operator_access_control_operator_control_assignment": { "current": "oci:OperatorAccessControl/operatorControlAssignment:OperatorControlAssignment", - "fields": { - "assigner_id": {}, - "comment": {}, - "compartment_id": {}, - "defined_tags": {}, - "detachment_description": {}, - "error_code": {}, - "error_message": {}, - "freeform_tags": {}, - "is_auto_approve_during_maintenance": {}, - "is_enforced_always": {}, - "is_log_forwarded": {}, - "lifecycle_details": {}, - "operator_control_id": {}, - "remote_syslog_server_address": {}, - "remote_syslog_server_ca_cert": {}, - "remote_syslog_server_port": {}, - "resource_compartment_id": {}, - "resource_id": {}, - "resource_name": {}, - "resource_type": {}, - "state": {}, - "time_assignment_from": {}, - "time_assignment_to": {}, - "time_of_assignment": {}, - "time_of_deletion": {}, - "unassigner_id": {} - } + "majorVersion": 1 }, "oci_opsi_awr_hub": { "current": "oci:Opsi/awrHub:AwrHub", - "fields": { - "awr_mailbox_url": {}, - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "lifecycle_details": {}, - "object_storage_bucket_name": {}, - "operations_insights_warehouse_id": {}, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {} - } + "majorVersion": 1 }, "oci_opsi_database_insight": { "current": "oci:Opsi/databaseInsight:DatabaseInsight", + "majorVersion": 1, "fields": { - "compartment_id": {}, "connection_credential_details": { - "maxItemsOne": true, - "elem": { - "fields": { - "credential_source_name": {}, - "credential_type": {}, - "password_secret_id": {}, - "role": {}, - "user_name": {} - } - } + "maxItemsOne": true }, "connection_details": { "maxItemsOne": true, "elem": { "fields": { - "host_name": {}, "hosts": { - "maxItemsOne": false, - "elem": { - "fields": { - "host_ip": {}, - "port": {} - } - } - }, - "port": {}, - "protocol": {}, - "service_name": {} + "maxItemsOne": false + } } } }, "credential_details": { - "maxItemsOne": true, - "elem": { - "fields": { - "credential_source_name": {}, - "credential_type": {}, - "password_secret_id": {}, - "role": {}, - "user_name": {} - } - } - }, - "database_connection_status_details": {}, - "database_display_name": {}, - "database_id": {}, - "database_name": {}, - "database_resource_type": {}, - "database_type": {}, - "database_version": {}, - "dbm_private_endpoint_id": {}, - "defined_tags": {}, - "deployment_type": {}, - "enterprise_manager_bridge_id": {}, - "enterprise_manager_entity_display_name": {}, - "enterprise_manager_entity_identifier": {}, - "enterprise_manager_entity_name": {}, - "enterprise_manager_entity_type": {}, - "enterprise_manager_identifier": {}, - "entity_source": {}, - "exadata_insight_id": {}, - "freeform_tags": {}, - "lifecycle_details": {}, - "opsi_private_endpoint_id": {}, - "parent_id": {}, - "processor_count": {}, - "root_id": {}, - "service_name": {}, - "state": {}, - "status": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {} + "maxItemsOne": true + } } }, "oci_opsi_enterprise_manager_bridge": { "current": "oci:Opsi/enterpriseManagerBridge:EnterpriseManagerBridge", - "fields": { - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "freeform_tags": {}, - "lifecycle_details": {}, - "object_storage_bucket_name": {}, - "object_storage_bucket_status_details": {}, - "object_storage_namespace_name": {}, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {} - } + "majorVersion": 1 }, "oci_opsi_exadata_insight": { "current": "oci:Opsi/exadataInsight:ExadataInsight", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "defined_tags": {}, - "enterprise_manager_bridge_id": {}, - "enterprise_manager_entity_display_name": {}, - "enterprise_manager_entity_identifier": {}, - "enterprise_manager_entity_name": {}, - "enterprise_manager_entity_type": {}, - "enterprise_manager_identifier": {}, - "entity_source": {}, - "exadata_display_name": {}, - "exadata_infra_id": {}, - "exadata_infra_resource_type": {}, - "exadata_name": {}, - "exadata_rack_type": {}, - "exadata_shape": {}, - "exadata_type": {}, - "freeform_tags": {}, - "is_auto_sync_enabled": {}, - "is_virtualized_exadata": {}, - "lifecycle_details": {}, "member_vm_cluster_details": { "maxItemsOne": false, "elem": { "fields": { - "compartment_id": {}, "member_database_details": { "maxItemsOne": false, "elem": { "fields": { - "compartment_id": {}, "connection_details": { "maxItemsOne": true, "elem": { @@ -25622,75 +11226,23 @@ } }, "credential_details": { - "maxItemsOne": true, - "elem": { - "fields": { - "credential_source_name": {}, - "credential_type": {}, - "password_secret_id": {}, - "role": {}, - "user_name": {} - } - } - }, - "database_id": {}, - "database_resource_type": {}, - "dbm_private_endpoint_id": {}, - "defined_tags": {}, - "deployment_type": {}, - "entity_source": {}, - "freeform_tags": {}, - "opsi_private_endpoint_id": {}, - "service_name": {}, - "system_tags": {} + "maxItemsOne": true + } } } - }, - "opsi_private_endpoint_id": {}, - "vmcluster_id": {} + } } } - }, - "state": {}, - "status": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {} + } } }, "oci_opsi_host_insight": { "current": "oci:Opsi/hostInsight:HostInsight", - "fields": { - "compartment_id": {}, - "compute_id": {}, - "defined_tags": {}, - "enterprise_manager_bridge_id": {}, - "enterprise_manager_entity_display_name": {}, - "enterprise_manager_entity_identifier": {}, - "enterprise_manager_entity_name": {}, - "enterprise_manager_entity_type": {}, - "enterprise_manager_identifier": {}, - "entity_source": {}, - "exadata_insight_id": {}, - "freeform_tags": {}, - "host_display_name": {}, - "host_name": {}, - "host_type": {}, - "lifecycle_details": {}, - "management_agent_id": {}, - "platform_name": {}, - "platform_type": {}, - "platform_version": {}, - "processor_count": {}, - "state": {}, - "status": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {} - } + "majorVersion": 1 }, "oci_opsi_news_report": { "current": "oci:Opsi/newsReport:NewsReport", + "majorVersion": 1, "fields": { "content_types": { "maxItemsOne": true, @@ -25706,206 +11258,101 @@ }, "oci_opsi_operations_insights_private_endpoint": { "current": "oci:Opsi/operationsInsightsPrivateEndpoint:OperationsInsightsPrivateEndpoint", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "freeform_tags": {}, - "is_used_for_rac_dbs": {}, - "lifecycle_details": {}, "nsg_ids": { - "maxItemsOne": false, - "elem": {} - }, - "private_endpoint_status_details": {}, - "private_ip": {}, - "state": {}, - "subnet_id": {}, - "system_tags": {}, - "time_created": {}, - "vcn_id": {} + "maxItemsOne": false + } } }, "oci_opsi_operations_insights_warehouse": { "current": "oci:Opsi/operationsInsightsWarehouse:OperationsInsightsWarehouse", - "fields": { - "compartment_id": {}, - "cpu_allocated": {}, - "cpu_used": {}, - "defined_tags": {}, - "display_name": {}, - "dynamic_group_id": {}, - "freeform_tags": {}, - "lifecycle_details": {}, - "operations_insights_tenancy_id": {}, - "state": {}, - "storage_allocated_in_gbs": {}, - "storage_used_in_gbs": {}, - "system_tags": {}, - "time_created": {}, - "time_last_wallet_rotated": {}, - "time_updated": {} - } + "majorVersion": 1 }, "oci_opsi_operations_insights_warehouse_download_warehouse_wallet": { "current": "oci:Opsi/operationsInsightsWarehouseDownloadWarehouseWallet:OperationsInsightsWarehouseDownloadWarehouseWallet", - "fields": { - "operations_insights_warehouse_id": {}, - "operations_insights_warehouse_wallet_password": {} - } + "majorVersion": 1 }, "oci_opsi_operations_insights_warehouse_rotate_warehouse_wallet": { "current": "oci:Opsi/operationsInsightsWarehouseRotateWarehouseWallet:OperationsInsightsWarehouseRotateWarehouseWallet", - "fields": { - "operations_insights_warehouse_id": {} - } + "majorVersion": 1 }, "oci_opsi_operations_insights_warehouse_user": { "current": "oci:Opsi/operationsInsightsWarehouseUser:OperationsInsightsWarehouseUser", - "fields": { - "compartment_id": {}, - "connection_password": {}, - "defined_tags": {}, - "freeform_tags": {}, - "is_awr_data_access": {}, - "is_em_data_access": {}, - "is_opsi_data_access": {}, - "lifecycle_details": {}, - "name": {}, - "operations_insights_warehouse_id": {}, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {} - } + "majorVersion": 1 }, "oci_opsi_opsi_configuration": { "current": "oci:Opsi/opsiConfiguration:OpsiConfiguration", + "majorVersion": 1, "fields": { - "compartment_id": {}, "config_item_custom_status": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "config_item_field": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "config_items": { "maxItemsOne": false, "elem": { "fields": { "applicable_contexts": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "config_item_type": {}, - "default_value": {}, "metadata": { "maxItemsOne": false, "elem": { "fields": { - "config_item_type": {}, - "data_type": {}, - "description": {}, - "display_name": {}, "unit_details": { - "maxItemsOne": false, - "elem": { - "fields": { - "display_name": {}, - "unit": {} - } - } + "maxItemsOne": false }, "value_input_details": { "maxItemsOne": false, "elem": { "fields": { - "allowed_value_type": {}, - "max_value": {}, - "min_value": {}, "possible_values": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } } } } } - }, - "name": {}, - "value": {} + } } } }, "config_items_applicable_context": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "freeform_tags": {}, - "lifecycle_details": {}, "opsi_config_field": { - "maxItemsOne": false, - "elem": {} - }, - "opsi_config_type": {}, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {} + "maxItemsOne": false + } } }, "oci_optimizer_enrollment_status": { "current": "oci:Optimizer/enrollmentStatus:EnrollmentStatus", - "fields": { - "compartment_id": {}, - "enrollment_status_id": {}, - "state": {}, - "status": {}, - "status_reason": {}, - "time_created": {}, - "time_updated": {} - } + "majorVersion": 1 }, "oci_optimizer_profile": { "current": "oci:Optimizer/profile:Profile", + "majorVersion": 1, "fields": { - "aggregation_interval_in_days": {}, - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "freeform_tags": {}, "levels_configuration": { "maxItemsOne": true, "elem": { "fields": { "items": { - "maxItemsOne": false, - "elem": { - "fields": { - "level": {}, - "recommendation_id": {} - } - } + "maxItemsOne": false } } } }, - "name": {}, - "state": {}, "target_compartments": { "maxItemsOne": true, "elem": { "fields": { "items": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } } @@ -25918,261 +11365,99 @@ "maxItemsOne": false, "elem": { "fields": { - "tag_definition_name": {}, - "tag_namespace_name": {}, - "tag_value_type": {}, "tag_values": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } } } } } - }, - "time_created": {}, - "time_updated": {} + } } }, "oci_optimizer_recommendation": { "current": "oci:Optimizer/recommendation:Recommendation", + "majorVersion": 1, "fields": { - "category_id": {}, - "compartment_id": {}, - "description": {}, - "estimated_cost_saving": {}, - "extended_metadata": {}, - "importance": {}, - "name": {}, - "recommendation_id": {}, "resource_counts": { - "maxItemsOne": false, - "elem": { - "fields": { - "count": {}, - "status": {} - } - } + "maxItemsOne": false }, - "state": {}, - "status": {}, "supported_levels": { "maxItemsOne": false, "elem": { "fields": { "items": { - "maxItemsOne": false, - "elem": { - "fields": { - "name": {} - } - } + "maxItemsOne": false } } } - }, - "time_created": {}, - "time_status_begin": {}, - "time_status_end": {}, - "time_updated": {} + } } }, "oci_optimizer_resource_action": { "current": "oci:Optimizer/resourceAction:ResourceAction", + "majorVersion": 1, "fields": { "action": { - "maxItemsOne": false, - "elem": { - "fields": { - "description": {}, - "type": {}, - "url": {} - } - } - }, - "category_id": {}, - "compartment_id": {}, - "compartment_name": {}, - "estimated_cost_saving": {}, - "extended_metadata": {}, - "metadata": {}, - "name": {}, - "recommendation_id": {}, - "resource_action_id": {}, - "resource_id": {}, - "resource_type": {}, - "state": {}, - "status": {}, - "time_created": {}, - "time_status_begin": {}, - "time_status_end": {}, - "time_updated": {} + "maxItemsOne": false + } } }, "oci_osmanagement_managed_instance": { "current": "oci:OsManagement/managedInstance:ManagedInstance", + "majorVersion": 1, "fields": { "autonomous": { - "maxItemsOne": false, - "elem": { - "fields": { - "is_auto_update_enabled": {} - } - } + "maxItemsOne": false }, - "bug_updates_available": {}, "child_software_sources": { - "maxItemsOne": false, - "elem": { - "fields": { - "id": {}, - "name": {} - } - } + "maxItemsOne": false }, - "compartment_id": {}, - "description": {}, - "display_name": {}, - "enhancement_updates_available": {}, - "is_data_collection_authorized": {}, - "is_reboot_required": {}, - "ksplice_effective_kernel_version": {}, - "last_boot": {}, - "last_checkin": {}, "managed_instance_groups": { - "maxItemsOne": false, - "elem": { - "fields": { - "display_name": {}, - "id": {} - } - } + "maxItemsOne": false }, - "managed_instance_id": {}, - "notification_topic_id": {}, - "os_family": {}, - "os_kernel_version": {}, - "os_name": {}, - "os_version": {}, - "other_updates_available": {}, "parent_software_source": { - "maxItemsOne": false, - "elem": { - "fields": { - "id": {}, - "name": {} - } - } - }, - "scheduled_job_count": {}, - "security_updates_available": {}, - "status": {}, - "updates_available": {}, - "work_request_count": {} + "maxItemsOne": false + } } }, "oci_osmanagement_managed_instance_group": { "current": "oci:OsManagement/managedInstanceGroup:ManagedInstanceGroup", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "freeform_tags": {}, - "managed_instance_count": {}, "managed_instances": { - "maxItemsOne": false, - "elem": { - "fields": { - "display_name": {}, - "id": {} - } - } - }, - "os_family": {}, - "state": {} + "maxItemsOne": false + } } }, "oci_osmanagement_managed_instance_management": { "current": "oci:OsManagement/managedInstanceManagement:ManagedInstanceManagement", + "majorVersion": 1, "fields": { "child_software_sources": { - "maxItemsOne": false, - "elem": { - "fields": { - "id": {}, - "name": {} - } - } + "maxItemsOne": false }, - "compartment_id": {}, - "description": {}, - "display_name": {}, - "last_boot": {}, - "last_checkin": {}, "managed_instance_groups": { - "maxItemsOne": false, - "elem": { - "fields": { - "display_name": {}, - "id": {} - } - } + "maxItemsOne": false }, - "managed_instance_id": {}, - "os_kernel_version": {}, - "os_name": {}, - "os_version": {}, "parent_software_source": { - "maxItemsOne": true, - "elem": { - "fields": { - "id": {}, - "name": {} - } - } - }, - "status": {}, - "updates_available": {} + "maxItemsOne": true + } } }, "oci_osmanagement_software_source": { "current": "oci:OsManagement/softwareSource:SoftwareSource", + "majorVersion": 1, "fields": { - "arch_type": {}, "associated_managed_instances": { - "maxItemsOne": false, - "elem": { - "fields": { - "display_name": {}, - "id": {} - } - } - }, - "checksum_type": {}, - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "freeform_tags": {}, - "gpg_key_fingerprint": {}, - "gpg_key_id": {}, - "gpg_key_url": {}, - "maintainer_email": {}, - "maintainer_name": {}, - "maintainer_phone": {}, - "packages": {}, - "parent_id": {}, - "parent_name": {}, - "repo_type": {}, - "state": {}, - "status": {}, - "url": {} + "maxItemsOne": false + } } }, "oci_osp_gateway_address_action_verification": { "current": "oci:OspGateway/addressActionVerification:AddressActionVerification", + "majorVersion": 1, "fields": { "address": { "maxItemsOne": false @@ -26181,360 +11466,123 @@ }, "oci_osp_gateway_subscription": { "current": "oci:OspGateway/subscription:Subscription", + "majorVersion": 1, "fields": { - "bill_to_cust_account_id": {}, "billing_address": { - "maxItemsOne": false, - "elem": { - "fields": { - "address_key": {}, - "city": {}, - "company_name": {}, - "country": {}, - "email_address": {}, - "first_name": {}, - "last_name": {}, - "line1": {}, - "line2": {}, - "postal_code": {}, - "state": {} - } - } + "maxItemsOne": false }, - "compartment_id": {}, - "currency_code": {}, - "email": {}, - "gsi_org_code": {}, - "is_intent_to_pay": {}, - "language_code": {}, - "organization_id": {}, - "osp_home_region": {}, "payment_gateway": { "maxItemsOne": false, "elem": { "fields": { "merchant_defined_data": { - "maxItemsOne": false, - "elem": { - "fields": { - "cloud_account_name": {}, - "promo_type": {} - } - } + "maxItemsOne": false } } } }, "payment_options": { - "maxItemsOne": false, - "elem": { - "fields": { - "credit_card_type": {}, - "email_address": {}, - "ext_billing_agreement_id": {}, - "first_name": {}, - "last_digits": {}, - "last_name": {}, - "name_on_card": {}, - "payment_method": {}, - "time_expiration": {}, - "wallet_instrument_id": {}, - "wallet_transaction_id": {} - } - } + "maxItemsOne": false }, - "plan_type": {}, - "ship_to_cust_acct_role_id": {}, - "ship_to_cust_acct_site_id": {}, "subscription": { "maxItemsOne": true, "elem": { "fields": { - "bill_to_cust_account_id": {}, "billing_address": { - "maxItemsOne": false, - "elem": { - "fields": { - "address_key": {}, - "city": {}, - "company_name": {}, - "country": {}, - "email_address": {}, - "first_name": {}, - "last_name": {}, - "line1": {}, - "line2": {}, - "postal_code": {}, - "state": {} - } - } + "maxItemsOne": false }, - "currency_code": {}, - "gsi_org_code": {}, - "id": {}, - "is_intent_to_pay": {}, - "language_code": {}, - "organization_id": {}, "payment_gateway": { "maxItemsOne": true, "elem": { "fields": { "merchant_defined_data": { - "maxItemsOne": true, - "elem": { - "fields": { - "cloud_account_name": {}, - "promo_type": {} - } - } + "maxItemsOne": true } } } }, "payment_options": { - "maxItemsOne": false, - "elem": { - "fields": { - "credit_card_type": {}, - "email_address": {}, - "ext_billing_agreement_id": {}, - "first_name": {}, - "last_digits": {}, - "last_name": {}, - "name_on_card": {}, - "payment_method": {}, - "time_expiration": {}, - "wallet_instrument_id": {}, - "wallet_transaction_id": {} - } - } + "maxItemsOne": false }, - "plan_type": {}, - "ship_to_cust_acct_role_id": {}, - "ship_to_cust_acct_site_id": {}, - "subscription_plan_number": {}, "tax_info": { - "maxItemsOne": true, - "elem": { - "fields": { - "no_tax_reason_code": {}, - "no_tax_reason_code_details": {}, - "tax_cnpj": {}, - "tax_payer_id": {}, - "tax_reg_number": {} - } - } - }, - "time_plan_upgrade": {}, - "time_start": {}, - "upgrade_state": {}, - "upgrade_state_details": {} + "maxItemsOne": true + } } } }, - "subscription_id": {}, - "subscription_plan_number": {}, "tax_info": { - "maxItemsOne": false, - "elem": { - "fields": { - "no_tax_reason_code": {}, - "no_tax_reason_code_details": {}, - "tax_cnpj": {}, - "tax_payer_id": {}, - "tax_reg_number": {} - } - } - }, - "time_plan_upgrade": {}, - "time_start": {}, - "upgrade_state": {}, - "upgrade_state_details": {} + "maxItemsOne": false + } } }, "oci_queue_queue": { "current": "oci:Queue/queue:Queue", - "fields": { - "compartment_id": {}, - "custom_encryption_key_id": {}, - "dead_letter_queue_delivery_count": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "lifecycle_details": {}, - "messages_endpoint": {}, - "purge_queue": {}, - "purge_type": {}, - "retention_in_seconds": {}, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {}, - "timeout_in_seconds": {}, - "visibility_in_seconds": {} - } + "majorVersion": 1 }, "oci_recovery_protected_database": { "current": "oci:RecoveryMod/protectedDatabase:ProtectedDatabase", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "database_id": {}, - "database_size": {}, - "db_unique_name": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "health": {}, - "health_details": {}, - "is_read_only_resource": {}, - "is_redo_logs_shipped": {}, - "lifecycle_details": {}, "metrics": { - "maxItemsOne": false, - "elem": { - "fields": { - "backup_space_estimate_in_gbs": {}, - "backup_space_used_in_gbs": {}, - "current_retention_period_in_seconds": {}, - "db_size_in_gbs": {}, - "is_redo_logs_enabled": {}, - "retention_period_in_days": {}, - "unprotected_window_in_seconds": {} - } - } + "maxItemsOne": false }, - "password": {}, - "protection_policy_id": {}, "recovery_service_subnets": { - "maxItemsOne": false, - "elem": { - "fields": { - "recovery_service_subnet_id": {}, - "state": {} - } - } - }, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {}, - "vpc_user_name": {} + "maxItemsOne": false + } } }, "oci_recovery_protection_policy": { "current": "oci:RecoveryMod/protectionPolicy:ProtectionPolicy", - "fields": { - "backup_retention_period_in_days": {}, - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "is_predefined_policy": {}, - "lifecycle_details": {}, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {} - } + "majorVersion": 1 }, "oci_recovery_recovery_service_subnet": { "current": "oci:RecoveryMod/recoveryServiceSubnet:RecoveryServiceSubnet", - "fields": { - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "lifecycle_details": {}, - "state": {}, - "subnet_id": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {}, - "vcn_id": {} - } + "majorVersion": 1 }, "oci_resourcemanager_private_endpoint": { "current": "oci:ResourceManager/privateEndpoint:PrivateEndpoint", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "display_name": {}, "dns_zones": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "freeform_tags": {}, - "is_used_with_configuration_source_provider": {}, "nsg_id_list": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "source_ips": { - "maxItemsOne": false, - "elem": {} - }, - "state": {}, - "subnet_id": {}, - "time_created": {}, - "vcn_id": {} + "maxItemsOne": false + } } }, "oci_sch_service_connector": { "current": "oci:Sch/connector:Connector", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "freeform_tags": {}, - "lifecyle_details": {}, "source": { "maxItemsOne": true, "elem": { "fields": { "cursor": { - "maxItemsOne": true, - "elem": { - "fields": { - "kind": {} - } - } + "maxItemsOne": true }, - "kind": {}, "log_sources": { - "maxItemsOne": false, - "elem": { - "fields": { - "compartment_id": {}, - "log_group_id": {}, - "log_id": {} - } - } + "maxItemsOne": false }, "monitoring_sources": { "maxItemsOne": false, "elem": { "fields": { - "compartment_id": {}, "namespace_details": { "maxItemsOne": true, "elem": { "fields": { - "kind": {}, "namespaces": { "maxItemsOne": false, "elem": { "fields": { "metrics": { - "maxItemsOne": true, - "elem": { - "fields": { - "kind": {} - } - } - }, - "namespace": {} + "maxItemsOne": true + } } } } @@ -26543,161 +11591,73 @@ } } } - }, - "stream_id": {} + } } } }, - "state": {}, - "system_tags": {}, "target": { "maxItemsOne": true, "elem": { "fields": { - "batch_rollover_size_in_mbs": {}, - "batch_rollover_time_in_ms": {}, - "bucket": {}, - "compartment_id": {}, "dimensions": { "maxItemsOne": false, "elem": { "fields": { "dimension_value": { - "maxItemsOne": true, - "elem": { - "fields": { - "kind": {}, - "path": {}, - "value": {} - } - } - }, - "name": {} + "maxItemsOne": true + } } } - }, - "enable_formatted_messaging": {}, - "function_id": {}, - "kind": {}, - "log_group_id": {}, - "log_source_identifier": {}, - "metric": {}, - "metric_namespace": {}, - "namespace": {}, - "object_name_prefix": {}, - "stream_id": {}, - "topic_id": {} + } } } }, "tasks": { - "maxItemsOne": false, - "elem": { - "fields": { - "batch_size_in_kbs": {}, - "batch_time_in_sec": {}, - "condition": {}, - "function_id": {}, - "kind": {} - } - } - }, - "time_created": {}, - "time_updated": {} + "maxItemsOne": false + } } }, "oci_service_catalog_private_application": { "current": "oci:ServiceCatalog/privateApplication:PrivateApplication", - "fields": { - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "logo": { - "maxItemsOne": false, - "elem": { - "fields": { - "content_url": {}, - "display_name": {}, - "mime_type": {} - } - } + "majorVersion": 1, + "fields": { + "logo": { + "maxItemsOne": false }, - "logo_file_base64encoded": {}, - "long_description": {}, "package_details": { - "maxItemsOne": true, - "elem": { - "fields": { - "package_type": {}, - "version": {}, - "zip_file_base64encoded": {} - } - } - }, - "package_type": {}, - "short_description": {}, - "state": {}, - "time_created": {}, - "time_updated": {} + "maxItemsOne": true + } } }, "oci_service_catalog_service_catalog": { "current": "oci:ServiceCatalog/catalog:Catalog", - "fields": { - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "state": {}, - "time_created": {}, - "time_updated": {} - } + "majorVersion": 1 }, "oci_service_catalog_service_catalog_association": { "current": "oci:ServiceCatalog/catalogAssociation:CatalogAssociation", - "fields": { - "entity_id": {}, - "entity_type": {}, - "service_catalog_id": {}, - "time_created": {} - } + "majorVersion": 1 }, "oci_service_mesh_access_policy": { "current": "oci:ServiceMesh/accessPolicy:AccessPolicy", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "freeform_tags": {}, - "lifecycle_details": {}, - "mesh_id": {}, - "name": {}, "rules": { "maxItemsOne": false, "elem": { "fields": { - "action": {}, "destination": { "maxItemsOne": true, "elem": { "fields": { "hostnames": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "ingress_gateway_id": {}, "ip_addresses": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "ports": { - "maxItemsOne": false, - "elem": {} - }, - "protocol": {}, - "type": {}, - "virtual_service_id": {} + "maxItemsOne": false + } } } }, @@ -26706,62 +11666,40 @@ "elem": { "fields": { "hostnames": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "ingress_gateway_id": {}, "ip_addresses": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "ports": { - "maxItemsOne": false, - "elem": {} - }, - "protocol": {}, - "type": {}, - "virtual_service_id": {} + "maxItemsOne": false + } } } } } } - }, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {} + } } }, "oci_service_mesh_ingress_gateway": { "current": "oci:ServiceMesh/ingressGateway:IngressGateway", + "majorVersion": 1, "fields": { "access_logging": { - "maxItemsOne": true, - "elem": { - "fields": { - "is_enabled": {} - } - } + "maxItemsOne": true }, - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "freeform_tags": {}, "hosts": { "maxItemsOne": false, "elem": { "fields": { "hostnames": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "listeners": { "maxItemsOne": false, "elem": { "fields": { - "port": {}, - "protocol": {}, "tls": { "maxItemsOne": true, "elem": { @@ -26771,277 +11709,120 @@ "elem": { "fields": { "subject_alternate_names": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "trusted_ca_bundle": { - "maxItemsOne": true, - "elem": { - "fields": { - "ca_bundle_id": {}, - "secret_name": {}, - "type": {} - } - } + "maxItemsOne": true } } } }, - "mode": {}, "server_certificate": { - "maxItemsOne": true, - "elem": { - "fields": { - "certificate_id": {}, - "secret_name": {}, - "type": {} - } - } + "maxItemsOne": true } } } } } } - }, - "name": {} + } } } }, - "lifecycle_details": {}, - "mesh_id": {}, "mtls": { - "maxItemsOne": true, - "elem": { - "fields": { - "certificate_id": {}, - "maximum_validity": {} - } - } - }, - "name": {}, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {} + "maxItemsOne": true + } } }, "oci_service_mesh_ingress_gateway_route_table": { "current": "oci:ServiceMesh/ingressGatewayRouteTable:IngressGatewayRouteTable", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "freeform_tags": {}, - "ingress_gateway_id": {}, - "lifecycle_details": {}, - "name": {}, - "priority": {}, "route_rules": { "maxItemsOne": false, "elem": { "fields": { "destinations": { - "maxItemsOne": false, - "elem": { - "fields": { - "port": {}, - "virtual_service_id": {}, - "weight": {} - } - } + "maxItemsOne": false }, "ingress_gateway_host": { - "maxItemsOne": true, - "elem": { - "fields": { - "name": {}, - "port": {} - } - } - }, - "is_grpc": {}, - "is_host_rewrite_enabled": {}, - "is_path_rewrite_enabled": {}, - "path": {}, - "path_type": {}, - "request_timeout_in_ms": {}, - "type": {} + "maxItemsOne": true + } } } - }, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {} + } } }, "oci_service_mesh_mesh": { "current": "oci:ServiceMesh/mesh:Mesh", + "majorVersion": 1, "fields": { "certificate_authorities": { - "maxItemsOne": false, - "elem": { - "fields": { - "id": {} - } - } + "maxItemsOne": false }, - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "freeform_tags": {}, - "lifecycle_details": {}, "mtls": { - "maxItemsOne": true, - "elem": { - "fields": { - "minimum": {} - } - } - }, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {} + "maxItemsOne": true + } } }, "oci_service_mesh_virtual_deployment": { "current": "oci:ServiceMesh/virtualDeployment:VirtualDeployment", + "majorVersion": 1, "fields": { "access_logging": { - "maxItemsOne": true, - "elem": { - "fields": { - "is_enabled": {} - } - } + "maxItemsOne": true }, - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "freeform_tags": {}, - "lifecycle_details": {}, "listeners": { - "maxItemsOne": false, - "elem": { - "fields": { - "idle_timeout_in_ms": {}, - "port": {}, - "protocol": {}, - "request_timeout_in_ms": {} - } - } + "maxItemsOne": false }, - "name": {}, "service_discovery": { - "maxItemsOne": true, - "elem": { - "fields": { - "hostname": {}, - "type": {} - } - } - }, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {}, - "virtual_service_id": {} + "maxItemsOne": true + } } }, "oci_service_mesh_virtual_service": { "current": "oci:ServiceMesh/virtualService:VirtualService", + "majorVersion": 1, "fields": { - "compartment_id": {}, "default_routing_policy": { - "maxItemsOne": true, - "elem": { - "fields": { - "type": {} - } - } + "maxItemsOne": true }, - "defined_tags": {}, - "description": {}, - "freeform_tags": {}, "hosts": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "lifecycle_details": {}, - "mesh_id": {}, "mtls": { - "maxItemsOne": true, - "elem": { - "fields": { - "certificate_id": {}, - "maximum_validity": {}, - "mode": {} - } - } - }, - "name": {}, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {} + "maxItemsOne": true + } } }, "oci_service_mesh_virtual_service_route_table": { "current": "oci:ServiceMesh/virtualServiceRouteTable:VirtualServiceRouteTable", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "freeform_tags": {}, - "lifecycle_details": {}, - "name": {}, - "priority": {}, "route_rules": { "maxItemsOne": false, "elem": { "fields": { "destinations": { - "maxItemsOne": false, - "elem": { - "fields": { - "port": {}, - "virtual_deployment_id": {}, - "weight": {} - } - } - }, - "is_grpc": {}, - "path": {}, - "path_type": {}, - "request_timeout_in_ms": {}, - "type": {} + "maxItemsOne": false + } } } - }, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {}, - "virtual_service_id": {} + } } }, "oci_stack_monitoring_config": { - "current": "oci:StackMonitoring/config:Config" + "current": "oci:StackMonitoring/config:Config", + "majorVersion": 1 }, "oci_stack_monitoring_discovery_job": { "current": "oci:StackMonitoring/discoveryJob:DiscoveryJob", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "defined_tags": {}, - "discovery_client": {}, "discovery_details": { "maxItemsOne": true, "elem": { "fields": { - "agent_id": {}, "credentials": { "maxItemsOne": true, "elem": { @@ -27050,15 +11831,8 @@ "maxItemsOne": false, "elem": { "fields": { - "credential_name": {}, - "credential_type": {}, "properties": { - "maxItemsOne": true, - "elem": { - "fields": { - "properties_map": {} - } - } + "maxItemsOne": true } } } @@ -27067,57 +11841,27 @@ } }, "properties": { - "maxItemsOne": true, - "elem": { - "fields": { - "properties_map": {} - } - } + "maxItemsOne": true }, - "resource_name": {}, - "resource_type": {}, "tags": { - "maxItemsOne": true, - "elem": { - "fields": { - "properties_map": {} - } - } + "maxItemsOne": true } } } - }, - "discovery_type": {}, - "freeform_tags": {}, - "should_propagate_tags_to_discovered_resources": {}, - "state": {}, - "status": {}, - "status_message": {}, - "system_tags": {}, - "tenant_id": {}, - "time_updated": {}, - "user_id": {} + } } }, "oci_stack_monitoring_monitored_resource": { "current": "oci:StackMonitoring/monitoredResource:MonitoredResource", + "majorVersion": 1, "fields": { "additional_aliases": { "maxItemsOne": false, "elem": { "fields": { "credential": { - "maxItemsOne": true, - "elem": { - "fields": { - "name": {}, - "service": {}, - "source": {} - } - } - }, - "name": {}, - "source": {} + "maxItemsOne": true + } } } }, @@ -27125,21 +11869,9 @@ "maxItemsOne": false, "elem": { "fields": { - "credential_type": {}, - "description": {}, - "key_id": {}, - "name": {}, "properties": { - "maxItemsOne": false, - "elem": { - "fields": { - "name": {}, - "value": {} - } - } - }, - "source": {}, - "type": {} + "maxItemsOne": false + } } } }, @@ -27148,649 +11880,228 @@ "elem": { "fields": { "credential": { - "maxItemsOne": true, - "elem": { - "fields": { - "name": {}, - "service": {}, - "source": {} - } - } - }, - "name": {}, - "source": {} + "maxItemsOne": true + } } } }, - "compartment_id": {}, "credentials": { "maxItemsOne": true, "elem": { "fields": { - "credential_type": {}, - "description": {}, - "key_id": {}, - "name": {}, "properties": { - "maxItemsOne": false, - "elem": { - "fields": { - "name": {}, - "value": {} - } - } - }, - "source": {}, - "type": {} + "maxItemsOne": false + } } } }, "database_connection_details": { - "maxItemsOne": true, - "elem": { - "fields": { - "connector_id": {}, - "db_id": {}, - "db_unique_name": {}, - "port": {}, - "protocol": {}, - "service_name": {}, - "ssl_secret_id": {} - } - } + "maxItemsOne": true }, - "defined_tags": {}, - "display_name": {}, - "external_id": {}, - "external_resource_id": {}, - "freeform_tags": {}, - "host_name": {}, - "management_agent_id": {}, - "name": {}, "properties": { - "maxItemsOne": false, - "elem": { - "fields": { - "name": {}, - "value": {} - } - } - }, - "resource_time_zone": {}, - "state": {}, - "system_tags": {}, - "tenant_id": {}, - "time_created": {}, - "time_updated": {}, - "type": {} + "maxItemsOne": false + } } }, "oci_stack_monitoring_monitored_resources_associate_monitored_resource": { "current": "oci:StackMonitoring/monitoredResourcesAssociateMonitoredResource:MonitoredResourcesAssociateMonitoredResource", + "majorVersion": 1, "fields": { - "association_type": {}, - "category": {}, - "compartment_id": {}, "destination_resource_details": { - "maxItemsOne": false, - "elem": { - "fields": { - "compartment_id": {}, - "name": {}, - "type": {} - } - } + "maxItemsOne": false }, - "destination_resource_id": {}, "source_resource_details": { - "maxItemsOne": false, - "elem": { - "fields": { - "compartment_id": {}, - "name": {}, - "type": {} - } - } - }, - "source_resource_id": {}, - "tenant_id": {}, - "time_created": {} + "maxItemsOne": false + } } }, "oci_stack_monitoring_monitored_resources_list_member": { "current": "oci:StackMonitoring/monitoredResourcesListMember:MonitoredResourcesListMember", + "majorVersion": 1, "fields": { - "destination_resource_id": {}, "items": { - "maxItemsOne": false, - "elem": { - "fields": { - "compartment_id": {}, - "defined_tags": {}, - "external_id": {}, - "freeform_tags": {}, - "host_name": {}, - "parent_id": {}, - "resource_display_name": {}, - "resource_id": {}, - "resource_name": {}, - "resource_type": {}, - "state": {}, - "system_tags": {} - } - } - }, - "limit_level": {}, - "monitored_resource_id": {} + "maxItemsOne": false + } } }, "oci_stack_monitoring_monitored_resources_search": { "current": "oci:StackMonitoring/monitoredResourcesSearch:MonitoredResourcesSearch", + "majorVersion": 1, "fields": { - "compartment_id": {}, "exclude_fields": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "external_id": {}, "fields": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "host_name": {}, - "host_name_contains": {}, "items": { "maxItemsOne": false, "elem": { "fields": { - "defined_tags": {}, - "display_name": {}, - "external_id": {}, - "freeform_tags": {}, - "host_name": {}, - "id": {}, - "management_agent_id": {}, - "name": {}, "properties": { - "maxItemsOne": false, - "elem": { - "fields": { - "name": {}, - "value": {} - } - } - }, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {}, - "type": {} + "maxItemsOne": false + } } } - }, - "management_agent_id": {}, - "name": {}, - "name_contains": {}, - "property_equals": {}, - "resource_time_zone": {}, - "state": {}, - "time_created_greater_than_or_equal_to": {}, - "time_created_less_than": {}, - "time_updated_greater_than_or_equal_to": {}, - "time_updated_less_than": {}, - "type": {} + } } }, "oci_stack_monitoring_monitored_resources_search_association": { "current": "oci:StackMonitoring/monitoredResourcesSearchAssociation:MonitoredResourcesSearchAssociation", + "majorVersion": 1, "fields": { - "association_type": {}, - "compartment_id": {}, - "destination_resource_id": {}, - "destination_resource_name": {}, - "destination_resource_type": {}, "items": { "maxItemsOne": false, "elem": { "fields": { - "association_type": {}, "destination_resource_details": { - "maxItemsOne": false, - "elem": { - "fields": { - "compartment_id": {}, - "name": {}, - "type": {} - } - } + "maxItemsOne": false }, - "destination_resource_id": {}, "source_resource_details": { - "maxItemsOne": false, - "elem": { - "fields": { - "compartment_id": {}, - "name": {}, - "type": {} - } - } - }, - "source_resource_id": {}, - "time_created": {} + "maxItemsOne": false + } } } - }, - "source_resource_id": {}, - "source_resource_name": {}, - "source_resource_type": {} + } } }, "oci_streaming_connect_harness": { "current": "oci:Streaming/connectHarness:ConnectHarness", - "fields": { - "compartment_id": {}, - "defined_tags": {}, - "freeform_tags": {}, - "lifecycle_state_details": {}, - "name": {}, - "state": {}, - "time_created": {} - } + "majorVersion": 1 }, "oci_streaming_stream": { "current": "oci:Streaming/stream:Stream", - "fields": { - "compartment_id": {}, - "defined_tags": {}, - "freeform_tags": {}, - "lifecycle_state_details": {}, - "messages_endpoint": {}, - "name": {}, - "partitions": {}, - "retention_in_hours": {}, - "state": {}, - "stream_pool_id": {}, - "time_created": {} - } + "majorVersion": 1 }, "oci_streaming_stream_pool": { "current": "oci:Streaming/streamPool:StreamPool", + "majorVersion": 1, "fields": { - "compartment_id": {}, "custom_encryption_key": { - "maxItemsOne": true, - "elem": { - "fields": { - "key_state": {}, - "kms_key_id": {} - } - } + "maxItemsOne": true }, - "defined_tags": {}, - "endpoint_fqdn": {}, - "freeform_tags": {}, - "is_private": {}, "kafka_settings": { - "maxItemsOne": true, - "elem": { - "fields": { - "auto_create_topics_enable": {}, - "bootstrap_servers": {}, - "log_retention_hours": {}, - "num_partitions": {} - } - } + "maxItemsOne": true }, - "lifecycle_state_details": {}, - "name": {}, "private_endpoint_settings": { "maxItemsOne": true, "elem": { "fields": { "nsg_ids": { - "maxItemsOne": false, - "elem": {} - }, - "private_endpoint_ip": {}, - "subnet_id": {} + "maxItemsOne": false + } } } - }, - "state": {}, - "time_created": {} + } } }, "oci_usage_proxy_subscription_redeemable_user": { "current": "oci:UsageProxy/subscriptionRedeemableUser:SubscriptionRedeemableUser", + "majorVersion": 1, "fields": { "items": { - "maxItemsOne": false, - "elem": { - "fields": { - "email_id": {}, - "first_name": {}, - "last_name": {} - } - } - }, - "subscription_id": {}, - "tenancy_id": {}, - "user_id": {} + "maxItemsOne": false + } } }, "oci_vault_secret": { "current": "oci:Vault/secret:Secret", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "current_version_number": {}, - "defined_tags": {}, - "description": {}, - "freeform_tags": {}, - "key_id": {}, - "lifecycle_details": {}, - "metadata": {}, "secret_content": { - "maxItemsOne": true, - "elem": { - "fields": { - "content": {}, - "content_type": {}, - "name": {}, - "stage": {} - } - } + "maxItemsOne": true }, - "secret_name": {}, "secret_rules": { - "maxItemsOne": false, - "elem": { - "fields": { - "is_enforced_on_deleted_secret_versions": {}, - "is_secret_content_retrieval_blocked_on_expiry": {}, - "rule_type": {}, - "secret_version_expiry_interval": {}, - "time_of_absolute_expiry": {} - } - } - }, - "state": {}, - "time_created": {}, - "time_of_current_version_expiry": {}, - "time_of_deletion": {}, - "vault_id": {} + "maxItemsOne": false + } } }, "oci_vbs_inst_vbs_instance": { "current": "oci:Vbs/instVbsInstance:InstVbsInstance", - "fields": { - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "idcs_access_token": {}, - "is_resource_usage_agreement_granted": {}, - "lifecyle_details": {}, - "name": {}, - "resource_compartment_id": {}, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {}, - "vbs_access_url": {} - } + "majorVersion": 1 }, "oci_visual_builder_vb_instance": { "current": "oci:VisualBuilder/vbInstance:VbInstance", + "majorVersion": 1, "fields": { "alternate_custom_endpoints": { - "maxItemsOne": false, - "elem": { - "fields": { - "certificate_secret_id": {}, - "certificate_secret_version": {}, - "hostname": {} - } - } + "maxItemsOne": false }, "attachments": { - "maxItemsOne": false, - "elem": { - "fields": { - "is_implicit": {}, - "target_id": {}, - "target_instance_url": {}, - "target_role": {}, - "target_service_type": {} - } - } + "maxItemsOne": false }, - "compartment_id": {}, - "consumption_model": {}, "custom_endpoint": { - "maxItemsOne": true, - "elem": { - "fields": { - "certificate_secret_id": {}, - "certificate_secret_version": {}, - "hostname": {} - } - } + "maxItemsOne": true }, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, "idcs_info": { - "maxItemsOne": false, - "elem": { - "fields": { - "idcs_app_display_name": {}, - "idcs_app_id": {}, - "idcs_app_location_url": {}, - "idcs_app_name": {}, - "instance_primary_audience_url": {} - } - } - }, - "idcs_open_id": {}, - "instance_url": {}, - "is_visual_builder_enabled": {}, - "management_nat_gateway_ip": {}, - "management_vcn_id": {}, - "node_count": {}, - "service_nat_gateway_ip": {}, - "service_vcn_id": {}, - "state": {}, - "state_message": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {} + "maxItemsOne": false + } } }, "oci_vn_monitoring_path_analysi": { "current": "oci:VnMonitoring/pathAnalysi:PathAnalysi", + "majorVersion": 1, "fields": { - "cache_control": {}, - "compartment_id": {}, "destination_endpoint": { - "maxItemsOne": true, - "elem": { - "fields": { - "address": {}, - "instance_id": {}, - "listener_id": {}, - "load_balancer_id": {}, - "network_load_balancer_id": {}, - "state": {}, - "subnet_id": {}, - "type": {}, - "vlan_id": {}, - "vnic_id": {} - } - } + "maxItemsOne": true }, - "path_analyzer_test_id": {}, - "protocol": {}, "protocol_parameters": { - "maxItemsOne": true, - "elem": { - "fields": { - "destination_port": {}, - "icmp_code": {}, - "icmp_type": {}, - "source_port": {}, - "type": {} - } - } + "maxItemsOne": true }, "query_options": { - "maxItemsOne": true, - "elem": { - "fields": { - "is_bi_directional_analysis": {} - } - } + "maxItemsOne": true }, "source_endpoint": { - "maxItemsOne": true, - "elem": { - "fields": { - "address": {}, - "instance_id": {}, - "listener_id": {}, - "load_balancer_id": {}, - "network_load_balancer_id": {}, - "state": {}, - "subnet_id": {}, - "type": {}, - "vlan_id": {}, - "vnic_id": {} - } - } - }, - "type": {} + "maxItemsOne": true + } } }, "oci_vn_monitoring_path_analyzer_test": { "current": "oci:VnMonitoring/pathAnalyzerTest:PathAnalyzerTest", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "defined_tags": {}, "destination_endpoint": { - "maxItemsOne": true, - "elem": { - "fields": { - "address": {}, - "instance_id": {}, - "listener_id": {}, - "load_balancer_id": {}, - "network_load_balancer_id": {}, - "state": {}, - "subnet_id": {}, - "type": {}, - "vlan_id": {}, - "vnic_id": {} - } - } + "maxItemsOne": true }, - "display_name": {}, - "freeform_tags": {}, - "protocol": {}, "protocol_parameters": { - "maxItemsOne": true, - "elem": { - "fields": { - "destination_port": {}, - "icmp_code": {}, - "icmp_type": {}, - "source_port": {}, - "type": {} - } - } + "maxItemsOne": true }, "query_options": { - "maxItemsOne": true, - "elem": { - "fields": { - "is_bi_directional_analysis": {} - } - } + "maxItemsOne": true }, "source_endpoint": { - "maxItemsOne": true, - "elem": { - "fields": { - "address": {}, - "instance_id": {}, - "listener_id": {}, - "load_balancer_id": {}, - "network_load_balancer_id": {}, - "state": {}, - "subnet_id": {}, - "type": {}, - "vlan_id": {}, - "vnic_id": {} - } - } - }, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {} + "maxItemsOne": true + } } }, "oci_vulnerability_scanning_container_scan_recipe": { "current": "oci:VulnerabilityScanning/containerScanRecipe:ContainerScanRecipe", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "image_count": {}, "scan_settings": { - "maxItemsOne": true, - "elem": { - "fields": { - "scan_level": {} - } - } - }, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {} + "maxItemsOne": true + } } }, "oci_vulnerability_scanning_container_scan_target": { "current": "oci:VulnerabilityScanning/containerScanTarget:ContainerScanTarget", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "container_scan_recipe_id": {}, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "freeform_tags": {}, - "state": {}, - "system_tags": {}, "target_registry": { "maxItemsOne": true, "elem": { "fields": { - "compartment_id": {}, "repositories": { - "maxItemsOne": false, - "elem": {} - }, - "type": {}, - "url": {} + "maxItemsOne": false + } } } - }, - "time_created": {}, - "time_updated": {} + } } }, "oci_vulnerability_scanning_host_scan_recipe": { "current": "oci:VulnerabilityScanning/hostScanRecipe:HostScanRecipe", + "majorVersion": 1, "fields": { "agent_settings": { "maxItemsOne": true, @@ -27801,29 +12112,14 @@ "elem": { "fields": { "cis_benchmark_settings": { - "maxItemsOne": true, - "elem": { - "fields": { - "scan_level": {} - } - } + "maxItemsOne": true }, "endpoint_protection_settings": { - "maxItemsOne": true, - "elem": { - "fields": { - "scan_level": {} - } - } - }, - "should_un_install": {}, - "vault_secret_id": {}, - "vendor": {}, - "vendor_type": {} + "maxItemsOne": true + } } } - }, - "scan_level": {} + } } } }, @@ -27831,313 +12127,141 @@ "maxItemsOne": true, "elem": { "fields": { - "application_scan_recurrence": {}, "folders_to_scan": { - "maxItemsOne": false, - "elem": { - "fields": { - "folder": {}, - "operatingsystem": {} - } - } - }, - "is_enabled": {} + "maxItemsOne": false + } } } }, - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, "port_settings": { - "maxItemsOne": true, - "elem": { - "fields": { - "scan_level": {} - } - } + "maxItemsOne": true }, "schedule": { - "maxItemsOne": true, - "elem": { - "fields": { - "day_of_week": {}, - "type": {} - } - } - }, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {} + "maxItemsOne": true + } } }, "oci_vulnerability_scanning_host_scan_target": { "current": "oci:VulnerabilityScanning/hostScanTarget:HostScanTarget", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "freeform_tags": {}, - "host_scan_recipe_id": {}, "instance_ids": { - "maxItemsOne": false, - "elem": {} - }, - "state": {}, - "system_tags": {}, - "target_compartment_id": {}, - "time_created": {}, - "time_updated": {} + "maxItemsOne": false + } } }, "oci_waa_web_app_acceleration": { "current": "oci:Waa/appAcceleration:AppAcceleration", - "fields": { - "backend_type": {}, - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "lifecycle_details": {}, - "load_balancer_id": {}, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {}, - "web_app_acceleration_policy_id": {} - } + "majorVersion": 1 }, "oci_waa_web_app_acceleration_policy": { "current": "oci:Waa/appAccelerationPolicy:AppAccelerationPolicy", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "lifecycle_details": {}, "response_caching_policy": { - "maxItemsOne": true, - "elem": { - "fields": { - "is_response_header_based_caching_enabled": {} - } - } + "maxItemsOne": true }, "response_compression_policy": { "maxItemsOne": true, "elem": { "fields": { "gzip_compression": { - "maxItemsOne": true, - "elem": { - "fields": { - "is_enabled": {} - } - } + "maxItemsOne": true } } } - }, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {} + } } }, "oci_waas_address_list": { "current": "oci:Waas/addressList:AddressList", + "majorVersion": 1, "fields": { - "address_count": {}, "addresses": { - "maxItemsOne": false, - "elem": {} - }, - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "state": {}, - "time_created": {} + "maxItemsOne": false + } } }, "oci_waas_certificate": { "current": "oci:Waas/certificate:Certificate", + "majorVersion": 1, "fields": { - "certificate_data": {}, - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, "extensions": { - "maxItemsOne": false, - "elem": { - "fields": { - "is_critical": {}, - "name": {}, - "value": {} - } - } + "maxItemsOne": false }, - "freeform_tags": {}, - "is_trust_verification_disabled": {}, - "issued_by": {}, "issuer_name": { - "maxItemsOne": false, - "elem": { - "fields": { - "common_name": {}, - "country": {}, - "email_address": {}, - "locality": {}, - "organization": {}, - "organizational_unit": {}, - "state_province": {} - } - } + "maxItemsOne": false }, - "private_key_data": {}, "public_key_info": { - "maxItemsOne": false, - "elem": { - "fields": { - "algorithm": {}, - "exponent": {}, - "key_size": {} - } - } + "maxItemsOne": false }, - "serial_number": {}, - "signature_algorithm": {}, - "state": {}, "subject_name": { - "maxItemsOne": false, - "elem": { - "fields": { - "common_name": {}, - "country": {}, - "email_address": {}, - "locality": {}, - "organization": {}, - "organizational_unit": {}, - "state_province": {} - } - } - }, - "time_created": {}, - "time_not_valid_after": {}, - "time_not_valid_before": {}, - "version": {} + "maxItemsOne": false + } } }, "oci_waas_custom_protection_rule": { "current": "oci:Waas/customProtectionRule:CustomProtectionRule", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "defined_tags": {}, - "description": {}, - "display_name": {}, - "freeform_tags": {}, "mod_security_rule_ids": { - "maxItemsOne": false, - "elem": {} - }, - "state": {}, - "template": {}, - "time_created": {} + "maxItemsOne": false + } } }, "oci_waas_http_redirect": { "current": "oci:Waas/httpRedirect:HttpRedirect", + "majorVersion": 1, "fields": { - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "domain": {}, - "freeform_tags": {}, - "response_code": {}, - "state": {}, "target": { - "maxItemsOne": true, - "elem": { - "fields": { - "host": {}, - "path": {}, - "port": {}, - "protocol": {}, - "query": {} - } - } - }, - "time_created": {} + "maxItemsOne": true + } } }, "oci_waas_protection_rule": { "current": "oci:Waas/protectionRule:ProtectionRule", + "majorVersion": 1, "fields": { - "action": {}, - "description": {}, "exclusions": { "maxItemsOne": false, "elem": { "fields": { "exclusions": { - "maxItemsOne": false, - "elem": {} - }, - "target": {} + "maxItemsOne": false + } } } }, - "key": {}, "labels": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "mod_security_rule_ids": { - "maxItemsOne": false, - "elem": {} - }, - "name": {}, - "waas_policy_id": {} + "maxItemsOne": false + } } }, "oci_waas_purge_cache": { "current": "oci:Waas/purgeCache:PurgeCache", + "majorVersion": 1, "fields": { "resources": { - "maxItemsOne": false, - "elem": {} - }, - "waas_policy_id": {} + "maxItemsOne": false + } } }, "oci_waas_waas_policy": { "current": "oci:Waas/policy:Policy", + "majorVersion": 1, "fields": { "additional_domains": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "cname": {}, - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "domain": {}, - "freeform_tags": {}, "origin_groups": { "maxItemsOne": false, "elem": { "fields": { - "label": {}, "origin_group": { - "maxItemsOne": false, - "elem": { - "fields": { - "origin": {}, - "weight": {} - } - } + "maxItemsOne": false } } } @@ -28147,18 +12271,8 @@ "elem": { "fields": { "custom_headers": { - "maxItemsOne": false, - "elem": { - "fields": { - "name": {}, - "value": {} - } - } - }, - "http_port": {}, - "https_port": {}, - "label": {}, - "uri": {} + "maxItemsOne": false + } } } }, @@ -28166,61 +12280,28 @@ "maxItemsOne": true, "elem": { "fields": { - "certificate_id": {}, - "cipher_group": {}, - "client_address_header": {}, "health_checks": { "maxItemsOne": true, "elem": { "fields": { "expected_response_code_group": { - "maxItemsOne": false, - "elem": {} - }, - "expected_response_text": {}, - "headers": {}, - "healthy_threshold": {}, - "interval_in_seconds": {}, - "is_enabled": {}, - "is_response_text_check_enabled": {}, - "method": {}, - "path": {}, - "timeout_in_seconds": {}, - "unhealthy_threshold": {} - } - } - }, - "is_behind_cdn": {}, - "is_cache_control_respected": {}, - "is_https_enabled": {}, - "is_https_forced": {}, - "is_origin_compression_enabled": {}, - "is_response_buffering_enabled": {}, - "is_sni_enabled": {}, - "load_balancing_method": { - "maxItemsOne": true, - "elem": { - "fields": { - "domain": {}, - "expiration_time_in_seconds": {}, - "method": {}, - "name": {} + "maxItemsOne": false + } } } }, + "load_balancing_method": { + "maxItemsOne": true + }, "tls_protocols": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "websocket_path_prefixes": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } } }, - "state": {}, - "time_created": {}, "waf_config": { "maxItemsOne": true, "elem": { @@ -28229,111 +12310,48 @@ "maxItemsOne": false, "elem": { "fields": { - "action": {}, - "block_action": {}, - "block_error_page_code": {}, - "block_error_page_description": {}, - "block_error_page_message": {}, - "block_response_code": {}, "bypass_challenges": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "captcha_footer": {}, - "captcha_header": {}, - "captcha_submit_label": {}, - "captcha_title": {}, "criteria": { - "maxItemsOne": false, - "elem": { - "fields": { - "condition": {}, - "is_case_sensitive": {}, - "value": {} - } - } + "maxItemsOne": false }, - "name": {}, - "redirect_response_code": {}, - "redirect_url": {}, "response_header_manipulation": { - "maxItemsOne": false, - "elem": { - "fields": { - "action": {}, - "header": {}, - "value": {} - } - } + "maxItemsOne": false } } } }, "address_rate_limiting": { - "maxItemsOne": true, - "elem": { - "fields": { - "allowed_rate_per_address": {}, - "block_response_code": {}, - "is_enabled": {}, - "max_delayed_count_per_address": {} - } - } + "maxItemsOne": true }, "caching_rules": { "maxItemsOne": false, "elem": { "fields": { - "action": {}, - "caching_duration": {}, - "client_caching_duration": {}, "criteria": { - "maxItemsOne": false, - "elem": { - "fields": { - "condition": {}, - "value": {} - } - } - }, - "is_client_caching_enabled": {}, - "key": {}, - "name": {} + "maxItemsOne": false + } } } }, "captchas": { - "maxItemsOne": false, - "elem": { - "fields": { - "failure_message": {}, - "footer_text": {}, - "header_text": {}, - "session_expiration_in_seconds": {}, - "submit_label": {}, - "title": {}, - "url": {} - } - } + "maxItemsOne": false }, "custom_protection_rules": { "maxItemsOne": false, "elem": { "fields": { - "action": {}, "exclusions": { "maxItemsOne": false, "elem": { "fields": { "exclusions": { - "maxItemsOne": false, - "elem": {} - }, - "target": {} + "maxItemsOne": false + } } } - }, - "id": {} + } } } }, @@ -28341,29 +12359,9 @@ "maxItemsOne": true, "elem": { "fields": { - "action": {}, - "action_expiration_in_seconds": {}, "challenge_settings": { - "maxItemsOne": true, - "elem": { - "fields": { - "block_action": {}, - "block_error_page_code": {}, - "block_error_page_description": {}, - "block_error_page_message": {}, - "block_response_code": {}, - "captcha_footer": {}, - "captcha_header": {}, - "captcha_submit_label": {}, - "captcha_title": {} - } - } - }, - "failure_threshold": {}, - "failure_threshold_expiration_in_seconds": {}, - "is_enabled": {}, - "max_address_count": {}, - "max_address_count_expiration_in_seconds": {} + "maxItemsOne": true + } } } }, @@ -28371,38 +12369,11 @@ "maxItemsOne": true, "elem": { "fields": { - "action": {}, - "action_expiration_in_seconds": {}, "challenge_settings": { - "maxItemsOne": true, - "elem": { - "fields": { - "block_action": {}, - "block_error_page_code": {}, - "block_error_page_description": {}, - "block_error_page_message": {}, - "block_response_code": {}, - "captcha_footer": {}, - "captcha_header": {}, - "captcha_submit_label": {}, - "captcha_title": {} - } - } + "maxItemsOne": true }, - "failure_threshold": {}, - "failure_threshold_expiration_in_seconds": {}, - "interaction_threshold": {}, - "is_enabled": {}, - "is_nat_enabled": {}, - "recording_period_in_seconds": {}, "set_http_header": { - "maxItemsOne": true, - "elem": { - "fields": { - "name": {}, - "value": {} - } - } + "maxItemsOne": true } } } @@ -28411,78 +12382,31 @@ "maxItemsOne": true, "elem": { "fields": { - "action": {}, - "action_expiration_in_seconds": {}, - "are_redirects_challenged": {}, "challenge_settings": { - "maxItemsOne": true, - "elem": { - "fields": { - "block_action": {}, - "block_error_page_code": {}, - "block_error_page_description": {}, - "block_error_page_message": {}, - "block_response_code": {}, - "captcha_footer": {}, - "captcha_header": {}, - "captcha_submit_label": {}, - "captcha_title": {} - } - } + "maxItemsOne": true }, "criteria": { - "maxItemsOne": false, - "elem": { - "fields": { - "condition": {}, - "is_case_sensitive": {}, - "value": {} - } - } + "maxItemsOne": false }, - "failure_threshold": {}, - "is_enabled": {}, - "is_nat_enabled": {}, "set_http_header": { - "maxItemsOne": true, - "elem": { - "fields": { - "name": {}, - "value": {} - } - } + "maxItemsOne": true } } } }, - "origin": {}, "origin_groups": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "protection_settings": { "maxItemsOne": true, "elem": { "fields": { "allowed_http_methods": { - "maxItemsOne": false, - "elem": {} - }, - "block_action": {}, - "block_error_page_code": {}, - "block_error_page_description": {}, - "block_error_page_message": {}, - "block_response_code": {}, - "is_response_inspected": {}, - "max_argument_count": {}, - "max_name_length_per_argument": {}, - "max_response_size_in_ki_b": {}, - "max_total_name_length_of_arguments": {}, - "media_types": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "recommendations_period_in_days": {} + "media_types": { + "maxItemsOne": false + } } } }, @@ -28491,14 +12415,11 @@ "elem": { "fields": { "address_lists": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "addresses": { - "maxItemsOne": false, - "elem": {} - }, - "name": {} + "maxItemsOne": false + } } } } @@ -28509,101 +12430,43 @@ }, "oci_waf_network_address_list": { "current": "oci:Waf/networkAddressList:NetworkAddressList", + "majorVersion": 1, "fields": { "addresses": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "lifecycle_details": {}, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {}, - "type": {}, "vcn_addresses": { - "maxItemsOne": false, - "elem": { - "fields": { - "addresses": {}, - "vcn_id": {} - } - } + "maxItemsOne": false } } }, "oci_waf_web_app_firewall": { "current": "oci:Waf/appFirewall:AppFirewall", - "fields": { - "backend_type": {}, - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "lifecycle_details": {}, - "load_balancer_id": {}, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {}, - "web_app_firewall_policy_id": {} - } + "majorVersion": 1 }, "oci_waf_web_app_firewall_policy": { "current": "oci:Waf/appFirewallPolicy:AppFirewallPolicy", + "majorVersion": 1, "fields": { "actions": { "maxItemsOne": false, "elem": { "fields": { "body": { - "maxItemsOne": true, - "elem": { - "fields": { - "text": {}, - "type": {} - } - } + "maxItemsOne": true }, - "code": {}, "headers": { - "maxItemsOne": false, - "elem": { - "fields": { - "name": {}, - "value": {} - } - } - }, - "name": {}, - "type": {} + "maxItemsOne": false + } } } }, - "compartment_id": {}, - "defined_tags": {}, - "display_name": {}, - "freeform_tags": {}, - "lifecycle_details": {}, "request_access_control": { "maxItemsOne": true, "elem": { "fields": { - "default_action_name": {}, "rules": { - "maxItemsOne": false, - "elem": { - "fields": { - "action_name": {}, - "condition": {}, - "condition_language": {}, - "name": {}, - "type": {} - } - } + "maxItemsOne": false } } } @@ -28612,49 +12475,30 @@ "maxItemsOne": true, "elem": { "fields": { - "body_inspection_size_limit_exceeded_action_name": {}, - "body_inspection_size_limit_in_bytes": {}, "rules": { "maxItemsOne": false, "elem": { "fields": { - "action_name": {}, - "condition": {}, - "condition_language": {}, - "is_body_inspection_enabled": {}, - "name": {}, "protection_capabilities": { "maxItemsOne": false, "elem": { "fields": { - "action_name": {}, - "collaborative_action_threshold": {}, "collaborative_weights": { - "maxItemsOne": false, - "elem": { - "fields": { - "key": {}, - "weight": {} - } - } + "maxItemsOne": false }, "exclusions": { "maxItemsOne": true, "elem": { "fields": { "args": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "request_cookies": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } } - }, - "key": {}, - "version": {} + } } } }, @@ -28663,18 +12507,11 @@ "elem": { "fields": { "allowed_http_methods": { - "maxItemsOne": false, - "elem": {} - }, - "max_http_request_header_length": {}, - "max_http_request_headers": {}, - "max_number_of_arguments": {}, - "max_single_argument_length": {}, - "max_total_argument_length": {} + "maxItemsOne": false + } } } - }, - "type": {} + } } } } @@ -28689,21 +12526,9 @@ "maxItemsOne": false, "elem": { "fields": { - "action_name": {}, - "condition": {}, - "condition_language": {}, "configurations": { - "maxItemsOne": false, - "elem": { - "fields": { - "action_duration_in_seconds": {}, - "period_in_seconds": {}, - "requests_limit": {} - } - } - }, - "name": {}, - "type": {} + "maxItemsOne": false + } } } } @@ -28715,16 +12540,7 @@ "elem": { "fields": { "rules": { - "maxItemsOne": false, - "elem": { - "fields": { - "action_name": {}, - "condition": {}, - "condition_language": {}, - "name": {}, - "type": {} - } - } + "maxItemsOne": false } } } @@ -28737,43 +12553,26 @@ "maxItemsOne": false, "elem": { "fields": { - "action_name": {}, - "condition": {}, - "condition_language": {}, - "is_body_inspection_enabled": {}, - "name": {}, "protection_capabilities": { "maxItemsOne": false, "elem": { "fields": { - "action_name": {}, - "collaborative_action_threshold": {}, "collaborative_weights": { - "maxItemsOne": false, - "elem": { - "fields": { - "key": {}, - "weight": {} - } - } + "maxItemsOne": false }, "exclusions": { "maxItemsOne": true, "elem": { "fields": { "args": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false }, "request_cookies": { - "maxItemsOne": false, - "elem": {} + "maxItemsOne": false } } } - }, - "key": {}, - "version": {} + } } } }, @@ -28782,37 +12581,28 @@ "elem": { "fields": { "allowed_http_methods": { - "maxItemsOne": false, - "elem": {} - }, - "max_http_request_header_length": {}, - "max_http_request_headers": {}, - "max_number_of_arguments": {}, - "max_single_argument_length": {}, - "max_total_argument_length": {} + "maxItemsOne": false + } } } - }, - "type": {} + } } } } } } - }, - "state": {}, - "system_tags": {}, - "time_created": {}, - "time_updated": {} + } } } }, "datasources": { "oci_adm_knowledge_base": { - "current": "oci:Adm/getKnowledgebase:getKnowledgebase" + "current": "oci:Adm/getKnowledgebase:getKnowledgebase", + "majorVersion": 1 }, "oci_adm_knowledge_bases": { "current": "oci:Adm/getKnowledgebases:getKnowledgebases", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -28838,6 +12628,7 @@ }, "oci_adm_vulnerability_audit": { "current": "oci:Adm/getVulnerabilityAudit:getVulnerabilityAudit", + "majorVersion": 1, "fields": { "application_dependencies": { "maxItemsOne": false, @@ -28869,6 +12660,7 @@ }, "oci_adm_vulnerability_audit_application_dependency_vulnerabilities": { "current": "oci:Adm/getVulnerabilityAuditApplicationDependencyVulnerabilities:getVulnerabilityAuditApplicationDependencyVulnerabilities", + "majorVersion": 1, "fields": { "application_dependency_vulnerability_collection": { "maxItemsOne": false, @@ -28904,6 +12696,7 @@ }, "oci_adm_vulnerability_audit_application_dependency_vulnerability": { "current": "oci:Adm/getVulnerabilityAuditApplicationDependencyVulnerability:getVulnerabilityAuditApplicationDependencyVulnerability", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false, @@ -28922,6 +12715,7 @@ }, "oci_adm_vulnerability_audits": { "current": "oci:Adm/getVulnerabilityAudits:getVulnerabilityAudits", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -28977,6 +12771,7 @@ }, "oci_ai_anomaly_detection_ai_private_endpoint": { "current": "oci:AiAnomalyDetection/getAiPrivateEndpoint:getAiPrivateEndpoint", + "majorVersion": 1, "fields": { "attached_data_assets": { "maxItemsOne": false @@ -28988,6 +12783,7 @@ }, "oci_ai_anomaly_detection_ai_private_endpoints": { "current": "oci:AiAnomalyDetection/getAiPrivateEndpoints:getAiPrivateEndpoints", + "majorVersion": 1, "fields": { "ai_private_endpoint_collection": { "maxItemsOne": false, @@ -29023,6 +12819,7 @@ }, "oci_ai_anomaly_detection_data_asset": { "current": "oci:AiAnomalyDetection/getDetectionDataAsset:getDetectionDataAsset", + "majorVersion": 1, "fields": { "data_source_details": { "maxItemsOne": false, @@ -29038,6 +12835,7 @@ }, "oci_ai_anomaly_detection_data_assets": { "current": "oci:AiAnomalyDetection/getDetectionDataAssets:getDetectionDataAssets", + "majorVersion": 1, "fields": { "data_asset_collection": { "maxItemsOne": false, @@ -29077,6 +12875,7 @@ }, "oci_ai_anomaly_detection_detect_anomaly_job": { "current": "oci:AiAnomalyDetection/getDetectAnomalyJob:getDetectAnomalyJob", + "majorVersion": 1, "fields": { "input_details": { "maxItemsOne": false, @@ -29108,6 +12907,7 @@ }, "oci_ai_anomaly_detection_detect_anomaly_jobs": { "current": "oci:AiAnomalyDetection/getDetectAnomalyJobs:getDetectAnomalyJobs", + "majorVersion": 1, "fields": { "detect_anomaly_job_collection": { "maxItemsOne": false, @@ -29163,6 +12963,7 @@ }, "oci_ai_anomaly_detection_model": { "current": "oci:AiAnomalyDetection/getDetectionModel:getDetectionModel", + "majorVersion": 1, "fields": { "model_training_details": { "maxItemsOne": false, @@ -29191,6 +12992,7 @@ }, "oci_ai_anomaly_detection_models": { "current": "oci:AiAnomalyDetection/getDetectionModels:getDetectionModels", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -29242,10 +13044,12 @@ } }, "oci_ai_anomaly_detection_project": { - "current": "oci:AiAnomalyDetection/getDetectionProject:getDetectionProject" + "current": "oci:AiAnomalyDetection/getDetectionProject:getDetectionProject", + "majorVersion": 1 }, "oci_ai_anomaly_detection_projects": { "current": "oci:AiAnomalyDetection/getDetectionProjects:getDetectionProjects", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -29271,6 +13075,7 @@ }, "oci_ai_document_model": { "current": "oci:AiDocument/getModel:getModel", + "majorVersion": 1, "fields": { "component_models": { "maxItemsOne": false @@ -29321,6 +13126,7 @@ }, "oci_ai_document_models": { "current": "oci:AiDocument/getModels:getModels", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -29395,6 +13201,7 @@ }, "oci_ai_document_processor_job": { "current": "oci:AiDocument/getProcessorJob:getProcessorJob", + "majorVersion": 1, "fields": { "input_location": { "maxItemsOne": false, @@ -29422,10 +13229,12 @@ } }, "oci_ai_document_project": { - "current": "oci:AiDocument/getProject:getProject" + "current": "oci:AiDocument/getProject:getProject", + "majorVersion": 1 }, "oci_ai_document_projects": { "current": "oci:AiDocument/getProjects:getProjects", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -29450,10 +13259,12 @@ } }, "oci_ai_language_endpoint": { - "current": "oci:AiLanguage/getEndpoint:getEndpoint" + "current": "oci:AiLanguage/getEndpoint:getEndpoint", + "majorVersion": 1 }, "oci_ai_language_endpoints": { "current": "oci:AiLanguage/getEndpoints:getEndpoints", + "majorVersion": 1, "fields": { "endpoint_collection": { "maxItemsOne": false, @@ -29479,6 +13290,7 @@ }, "oci_ai_language_model": { "current": "oci:AiLanguage/getModel:getModel", + "majorVersion": 1, "fields": { "evaluation_results": { "maxItemsOne": false, @@ -29571,6 +13383,7 @@ }, "oci_ai_language_model_evaluation_results": { "current": "oci:AiLanguage/getModelEvaluationResults:getModelEvaluationResults", + "majorVersion": 1, "fields": { "evaluation_result_collection": { "maxItemsOne": false, @@ -29612,6 +13425,7 @@ }, "oci_ai_language_model_type": { "current": "oci:AiLanguage/getModelType:getModelType", + "majorVersion": 1, "fields": { "versions": { "maxItemsOne": false @@ -29620,6 +13434,7 @@ }, "oci_ai_language_models": { "current": "oci:AiLanguage/getModels:getModels", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -29735,10 +13550,12 @@ } }, "oci_ai_language_project": { - "current": "oci:AiLanguage/getProject:getProject" + "current": "oci:AiLanguage/getProject:getProject", + "majorVersion": 1 }, "oci_ai_language_projects": { "current": "oci:AiLanguage/getProjects:getProjects", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -29764,6 +13581,7 @@ }, "oci_ai_vision_model": { "current": "oci:AiVision/getModel:getModel", + "majorVersion": 1, "fields": { "testing_dataset": { "maxItemsOne": false @@ -29778,6 +13596,7 @@ }, "oci_ai_vision_models": { "current": "oci:AiVision/getModels:getModels", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -29815,10 +13634,12 @@ } }, "oci_ai_vision_project": { - "current": "oci:AiVision/getProject:getProject" + "current": "oci:AiVision/getProject:getProject", + "majorVersion": 1 }, "oci_ai_vision_projects": { "current": "oci:AiVision/getProjects:getProjects", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -29844,6 +13665,7 @@ }, "oci_analytics_analytics_instance": { "current": "oci:Analytics/getAnalyticsInstance:getAnalyticsInstance", + "majorVersion": 1, "fields": { "capacity": { "maxItemsOne": false @@ -29878,6 +13700,7 @@ }, "oci_analytics_analytics_instance_private_access_channel": { "current": "oci:Analytics/getAnalyticsInstancePrivateAccessChannel:getAnalyticsInstancePrivateAccessChannel", + "majorVersion": 1, "fields": { "egress_source_ip_addresses": { "maxItemsOne": false @@ -29895,6 +13718,7 @@ }, "oci_analytics_analytics_instances": { "current": "oci:Analytics/getAnalyticsInstances:getAnalyticsInstances", + "majorVersion": 1, "fields": { "analytics_instances": { "maxItemsOne": false, @@ -29946,6 +13770,7 @@ }, "oci_announcements_service_announcement_subscription": { "current": "oci:AnnouncementsService/getAnnouncementSubscription:getAnnouncementSubscription", + "majorVersion": 1, "fields": { "filter_groups": { "maxItemsOne": false, @@ -29961,6 +13786,7 @@ }, "oci_announcements_service_announcement_subscriptions": { "current": "oci:AnnouncementsService/getAnnouncementSubscriptions:getAnnouncementSubscriptions", + "majorVersion": 1, "fields": { "announcement_subscription_collection": { "maxItemsOne": false, @@ -30000,6 +13826,7 @@ }, "oci_apigateway_api": { "current": "oci:ApiGateway/getApi:getApi", + "majorVersion": 1, "fields": { "validation_results": { "maxItemsOne": false @@ -30007,10 +13834,12 @@ } }, "oci_apigateway_api_content": { - "current": "oci:ApiGateway/getApiContent:getApiContent" + "current": "oci:ApiGateway/getApiContent:getApiContent", + "majorVersion": 1 }, "oci_apigateway_api_deployment_specification": { "current": "oci:ApiGateway/getApiDeploymentSpecification:getApiDeploymentSpecification", + "majorVersion": 1, "fields": { "logging_policies": { "maxItemsOne": false, @@ -30687,6 +14516,7 @@ }, "oci_apigateway_api_validation": { "current": "oci:ApiGateway/getApiValidation:getApiValidation", + "majorVersion": 1, "fields": { "validations": { "maxItemsOne": false, @@ -30716,6 +14546,7 @@ }, "oci_apigateway_apis": { "current": "oci:ApiGateway/getApis:getApis", + "majorVersion": 1, "fields": { "api_collection": { "maxItemsOne": false, @@ -30748,6 +14579,7 @@ }, "oci_apigateway_certificate": { "current": "oci:ApiGateway/getCertificate:getCertificate", + "majorVersion": 1, "fields": { "subject_names": { "maxItemsOne": false @@ -30756,6 +14588,7 @@ }, "oci_apigateway_certificates": { "current": "oci:ApiGateway/getCertificates:getCertificates", + "majorVersion": 1, "fields": { "certificate_collection": { "maxItemsOne": false, @@ -30788,6 +14621,7 @@ }, "oci_apigateway_deployment": { "current": "oci:ApiGateway/getDeployment:getDeployment", + "majorVersion": 1, "fields": { "specification": { "maxItemsOne": false, @@ -31471,6 +15305,7 @@ }, "oci_apigateway_deployments": { "current": "oci:ApiGateway/getDeployments:getDeployments", + "majorVersion": 1, "fields": { "deployment_collection": { "maxItemsOne": false, @@ -32171,6 +16006,7 @@ }, "oci_apigateway_gateway": { "current": "oci:ApiGateway/getGateway:getGateway", + "majorVersion": 1, "fields": { "ca_bundles": { "maxItemsOne": false @@ -32195,6 +16031,7 @@ }, "oci_apigateway_gateways": { "current": "oci:ApiGateway/getGateways:getGateways", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -32236,6 +16073,7 @@ }, "oci_apigateway_subscriber": { "current": "oci:ApiGateway/getSubscriber:getSubscriber", + "majorVersion": 1, "fields": { "clients": { "maxItemsOne": false @@ -32247,6 +16085,7 @@ }, "oci_apigateway_subscribers": { "current": "oci:ApiGateway/getSubscribers:getSubscribers", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -32282,6 +16121,7 @@ }, "oci_apigateway_usage_plan": { "current": "oci:ApiGateway/getUsagePlan:getUsagePlan", + "majorVersion": 1, "fields": { "entitlements": { "maxItemsOne": false, @@ -32303,6 +16143,7 @@ }, "oci_apigateway_usage_plans": { "current": "oci:ApiGateway/getUsagePlans:getUsagePlans", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -32347,10 +16188,12 @@ } }, "oci_apm_apm_domain": { - "current": "oci:Apm/getApmDomain:getApmDomain" + "current": "oci:Apm/getApmDomain:getApmDomain", + "majorVersion": 1 }, "oci_apm_apm_domains": { "current": "oci:Apm/getApmDomains:getApmDomains", + "majorVersion": 1, "fields": { "apm_domains": { "maxItemsOne": false @@ -32369,6 +16212,7 @@ }, "oci_apm_config_config": { "current": "oci:ApmConfig/getConfig:getConfig", + "majorVersion": 1, "fields": { "dimensions": { "maxItemsOne": false @@ -32386,6 +16230,7 @@ }, "oci_apm_config_configs": { "current": "oci:ApmConfig/getConfigs:getConfigs", + "majorVersion": 1, "fields": { "config_collection": { "maxItemsOne": false, @@ -32439,6 +16284,7 @@ }, "oci_apm_data_keys": { "current": "oci:Apm/getDataKeys:getDataKeys", + "majorVersion": 1, "fields": { "data_keys": { "maxItemsOne": false @@ -32457,6 +16303,7 @@ }, "oci_apm_synthetics_dedicated_vantage_point": { "current": "oci:ApmSynthetics/getDedicatedVantagePoint:getDedicatedVantagePoint", + "majorVersion": 1, "fields": { "dvp_stack_details": { "maxItemsOne": false @@ -32468,6 +16315,7 @@ }, "oci_apm_synthetics_dedicated_vantage_points": { "current": "oci:ApmSynthetics/getDedicatedVantagePoints:getDedicatedVantagePoints", + "majorVersion": 1, "fields": { "dedicated_vantage_point_collection": { "maxItemsOne": false, @@ -32503,6 +16351,7 @@ }, "oci_apm_synthetics_monitor": { "current": "oci:ApmSynthetics/getMonitor:getMonitor", + "majorVersion": 1, "fields": { "availability_configuration": { "maxItemsOne": false @@ -32575,6 +16424,7 @@ }, "oci_apm_synthetics_monitors": { "current": "oci:ApmSynthetics/getMonitors:getMonitors", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -32671,6 +16521,7 @@ }, "oci_apm_synthetics_public_vantage_point": { "current": "oci:ApmSynthetics/getVantagePoint:getVantagePoint", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false, @@ -32686,6 +16537,7 @@ }, "oci_apm_synthetics_public_vantage_points": { "current": "oci:ApmSynthetics/getVantagePoints:getVantagePoints", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -32718,6 +16570,7 @@ }, "oci_apm_synthetics_result": { "current": "oci:ApmSynthetics/getResult:getResult", + "majorVersion": 1, "fields": { "result_data_set": { "maxItemsOne": false @@ -32726,6 +16579,7 @@ }, "oci_apm_synthetics_script": { "current": "oci:ApmSynthetics/getScript:getScript", + "majorVersion": 1, "fields": { "monitor_status_count_map": { "maxItemsOne": false @@ -32744,6 +16598,7 @@ }, "oci_apm_synthetics_scripts": { "current": "oci:ApmSynthetics/getScripts:getScripts", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -32786,6 +16641,7 @@ }, "oci_apm_traces_query_quick_picks": { "current": "oci:ApmTraces/getQueryQuickPicks:getQueryQuickPicks", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -32804,6 +16660,7 @@ }, "oci_apm_traces_trace": { "current": "oci:ApmTraces/getTrace:getTrace", + "majorVersion": 1, "fields": { "service_summaries": { "maxItemsOne": false @@ -32842,6 +16699,7 @@ }, "oci_apm_traces_trace_aggregated_snapshot_data": { "current": "oci:ApmTraces/getTraceAggregatedSnapshotData:getTraceAggregatedSnapshotData", + "majorVersion": 1, "fields": { "details": { "maxItemsOne": false @@ -32850,6 +16708,7 @@ }, "oci_apm_traces_trace_snapshot_data": { "current": "oci:ApmTraces/getTraceSnapshotData:getTraceSnapshotData", + "majorVersion": 1, "fields": { "trace_snapshot_details": { "maxItemsOne": false @@ -32857,10 +16716,12 @@ } }, "oci_appmgmt_control_monitored_instance": { - "current": "oci:AppMgmtControl/getMonitoredInstance:getMonitoredInstance" + "current": "oci:AppMgmtControl/getMonitoredInstance:getMonitoredInstance", + "majorVersion": 1 }, "oci_appmgmt_control_monitored_instances": { "current": "oci:AppMgmtControl/getMonitoredInstances:getMonitoredInstances", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -32885,10 +16746,12 @@ } }, "oci_artifacts_container_configuration": { - "current": "oci:Artifacts/getContainerConfiguration:getContainerConfiguration" + "current": "oci:Artifacts/getContainerConfiguration:getContainerConfiguration", + "majorVersion": 1 }, "oci_artifacts_container_image": { "current": "oci:Artifacts/getContainerImage:getContainerImage", + "majorVersion": 1, "fields": { "layers": { "maxItemsOne": false @@ -32899,10 +16762,12 @@ } }, "oci_artifacts_container_image_signature": { - "current": "oci:Artifacts/getContainerImageSignature:getContainerImageSignature" + "current": "oci:Artifacts/getContainerImageSignature:getContainerImageSignature", + "majorVersion": 1 }, "oci_artifacts_container_image_signatures": { "current": "oci:Artifacts/getContainerSignatures:getContainerSignatures", + "majorVersion": 1, "fields": { "container_image_signature_collection": { "maxItemsOne": false, @@ -32928,6 +16793,7 @@ }, "oci_artifacts_container_images": { "current": "oci:Artifacts/getContainerImages:getContainerImages", + "majorVersion": 1, "fields": { "container_image_collection": { "maxItemsOne": false, @@ -32963,6 +16829,7 @@ }, "oci_artifacts_container_repositories": { "current": "oci:Artifacts/getContainerRepositories:getContainerRepositories", + "majorVersion": 1, "fields": { "container_repository_collection": { "maxItemsOne": false, @@ -32995,6 +16862,7 @@ }, "oci_artifacts_container_repository": { "current": "oci:Artifacts/getContainerRepository:getContainerRepository", + "majorVersion": 1, "fields": { "readme": { "maxItemsOne": false @@ -33002,10 +16870,12 @@ } }, "oci_artifacts_generic_artifact": { - "current": "oci:Artifacts/getGenericArtifact:getGenericArtifact" + "current": "oci:Artifacts/getGenericArtifact:getGenericArtifact", + "majorVersion": 1 }, "oci_artifacts_generic_artifacts": { "current": "oci:Artifacts/getGenericArtifacts:getGenericArtifacts", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -33031,6 +16901,7 @@ }, "oci_artifacts_repositories": { "current": "oci:Artifacts/getRepositories:getRepositories", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -33055,13 +16926,16 @@ } }, "oci_artifacts_repository": { - "current": "oci:Artifacts/getRepository:getRepository" + "current": "oci:Artifacts/getRepository:getRepository", + "majorVersion": 1 }, "oci_audit_configuration": { - "current": "oci:Audit/getConfiguration:getConfiguration" + "current": "oci:Audit/getConfiguration:getConfiguration", + "majorVersion": 1 }, "oci_audit_events": { "current": "oci:Audit/getEvents:getEvents", + "majorVersion": 1, "fields": { "audit_events": { "maxItemsOne": false, @@ -33103,6 +16977,7 @@ }, "oci_autoscaling_auto_scaling_configuration": { "current": "oci:Autoscaling/getAutoScalingConfiguration:getAutoScalingConfiguration", + "majorVersion": 1, "fields": { "auto_scaling_resources": { "maxItemsOne": false @@ -33147,6 +17022,7 @@ }, "oci_autoscaling_auto_scaling_configurations": { "current": "oci:Autoscaling/getAutoScalingConfigurations:getAutoScalingConfigurations", + "majorVersion": 1, "fields": { "auto_scaling_configurations": { "maxItemsOne": false, @@ -33208,6 +17084,7 @@ }, "oci_bastion_bastion": { "current": "oci:Bastion/getBastion:getBastion", + "majorVersion": 1, "fields": { "client_cidr_block_allow_list": { "maxItemsOne": false @@ -33219,6 +17096,7 @@ }, "oci_bastion_bastions": { "current": "oci:Bastion/getBastions:getBastions", + "majorVersion": 1, "fields": { "bastions": { "maxItemsOne": false, @@ -33247,6 +17125,7 @@ }, "oci_bastion_session": { "current": "oci:Bastion/getSession:getSession", + "majorVersion": 1, "fields": { "key_details": { "maxItemsOne": false @@ -33258,6 +17137,7 @@ }, "oci_bastion_sessions": { "current": "oci:Bastion/getSessions:getSessions", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -33286,6 +17166,7 @@ }, "oci_bds_auto_scaling_configuration": { "current": "oci:BigDataService/getAutoScalingConfiguration:getAutoScalingConfiguration", + "majorVersion": 1, "fields": { "policy": { "maxItemsOne": false, @@ -33403,6 +17284,7 @@ }, "oci_bds_auto_scaling_configurations": { "current": "oci:BigDataService/getAutoScalingConfigurations:getAutoScalingConfigurations", + "majorVersion": 1, "fields": { "auto_scaling_configurations": { "maxItemsOne": false, @@ -33537,6 +17419,7 @@ }, "oci_bds_bds_instance": { "current": "oci:BigDataService/getBdsInstance:getBdsInstance", + "majorVersion": 1, "fields": { "cloud_sql_details": { "maxItemsOne": false, @@ -33627,10 +17510,12 @@ } }, "oci_bds_bds_instance_api_key": { - "current": "oci:BigDataService/getBdsInstanceApiKey:getBdsInstanceApiKey" + "current": "oci:BigDataService/getBdsInstanceApiKey:getBdsInstanceApiKey", + "majorVersion": 1 }, "oci_bds_bds_instance_api_keys": { "current": "oci:BigDataService/getBdsInstanceApiKeys:getBdsInstanceApiKeys", + "majorVersion": 1, "fields": { "bds_api_keys": { "maxItemsOne": false @@ -33649,6 +17534,7 @@ }, "oci_bds_bds_instance_get_os_patch": { "current": "oci:BigDataService/getBdsInstanceGetOsPatch:getBdsInstanceGetOsPatch", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -33674,6 +17560,7 @@ }, "oci_bds_bds_instance_list_os_patches": { "current": "oci:BigDataService/getBdsInstanceListOsPatches:getBdsInstanceListOsPatches", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -33691,10 +17578,12 @@ } }, "oci_bds_bds_instance_metastore_config": { - "current": "oci:BigDataService/getBdsInstanceMetastoreConfig:getBdsInstanceMetastoreConfig" + "current": "oci:BigDataService/getBdsInstanceMetastoreConfig:getBdsInstanceMetastoreConfig", + "majorVersion": 1 }, "oci_bds_bds_instance_metastore_configs": { "current": "oci:BigDataService/getBdsInstanceMetastoreConfigs:getBdsInstanceMetastoreConfigs", + "majorVersion": 1, "fields": { "bds_metastore_configurations": { "maxItemsOne": false @@ -33713,6 +17602,7 @@ }, "oci_bds_bds_instance_patch_histories": { "current": "oci:BigDataService/getBdsInstancePatchHistories:getBdsInstancePatchHistories", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -33731,6 +17621,7 @@ }, "oci_bds_bds_instance_patches": { "current": "oci:BigDataService/getBdsInstancePatches:getBdsInstancePatches", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -33749,6 +17640,7 @@ }, "oci_bds_bds_instances": { "current": "oci:BigDataService/getBdsInstances:getBdsInstances", + "majorVersion": 1, "fields": { "bds_instances": { "maxItemsOne": false, @@ -33857,6 +17749,7 @@ }, "oci_blockchain_blockchain_platform": { "current": "oci:Blockchain/getBlockchainPlatform:getBlockchainPlatform", + "majorVersion": 1, "fields": { "component_details": { "maxItemsOne": false, @@ -33895,6 +17788,7 @@ }, "oci_blockchain_blockchain_platform_patches": { "current": "oci:Blockchain/getBlockchainPlatformPatches:getBlockchainPlatformPatches", + "majorVersion": 1, "fields": { "blockchain_platform_patch_collection": { "maxItemsOne": false, @@ -33927,6 +17821,7 @@ }, "oci_blockchain_blockchain_platforms": { "current": "oci:Blockchain/getBlockchainPlatforms:getBlockchainPlatforms", + "majorVersion": 1, "fields": { "blockchain_platform_collection": { "maxItemsOne": false, @@ -33989,6 +17884,7 @@ }, "oci_blockchain_osn": { "current": "oci:Blockchain/getOsn:getOsn", + "majorVersion": 1, "fields": { "ocpu_allocation_param": { "maxItemsOne": false @@ -33997,6 +17893,7 @@ }, "oci_blockchain_osns": { "current": "oci:Blockchain/getOsns:getOsns", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -34029,6 +17926,7 @@ }, "oci_blockchain_peer": { "current": "oci:Blockchain/getPeer:getPeer", + "majorVersion": 1, "fields": { "ocpu_allocation_param": { "maxItemsOne": false @@ -34037,6 +17935,7 @@ }, "oci_blockchain_peers": { "current": "oci:Blockchain/getPeers:getPeers", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -34068,10 +17967,12 @@ } }, "oci_budget_alert_rule": { - "current": "oci:Budget/getAlertRule:getAlertRule" + "current": "oci:Budget/getAlertRule:getAlertRule", + "majorVersion": 1 }, "oci_budget_alert_rules": { "current": "oci:Budget/getAlertRules:getAlertRules", + "majorVersion": 1, "fields": { "alert_rules": { "maxItemsOne": false @@ -34090,6 +17991,7 @@ }, "oci_budget_budget": { "current": "oci:Budget/getBudget:getBudget", + "majorVersion": 1, "fields": { "targets": { "maxItemsOne": false @@ -34098,6 +18000,7 @@ }, "oci_budget_budgets": { "current": "oci:Budget/getBudgets:getBudgets", + "majorVersion": 1, "fields": { "budgets": { "maxItemsOne": false, @@ -34122,10 +18025,12 @@ } }, "oci_certificates_management_association": { - "current": "oci:CertificatesManagement/getAssociation:getAssociation" + "current": "oci:CertificatesManagement/getAssociation:getAssociation", + "majorVersion": 1 }, "oci_certificates_management_associations": { "current": "oci:CertificatesManagement/getAssociations:getAssociations", + "majorVersion": 1, "fields": { "association_collection": { "maxItemsOne": false, @@ -34150,10 +18055,12 @@ } }, "oci_certificates_management_ca_bundle": { - "current": "oci:CertificatesManagement/getCaBundle:getCaBundle" + "current": "oci:CertificatesManagement/getCaBundle:getCaBundle", + "majorVersion": 1 }, "oci_certificates_management_ca_bundles": { "current": "oci:CertificatesManagement/getCaBundles:getCaBundles", + "majorVersion": 1, "fields": { "ca_bundle_collection": { "maxItemsOne": false, @@ -34179,6 +18086,7 @@ }, "oci_certificates_management_certificate": { "current": "oci:CertificatesManagement/getCertificate:getCertificate", + "majorVersion": 1, "fields": { "certificate_config": { "maxItemsOne": false, @@ -34238,6 +18146,7 @@ }, "oci_certificates_management_certificate_authorities": { "current": "oci:CertificatesManagement/getCertificateAuthorities:getCertificateAuthorities", + "majorVersion": 1, "fields": { "certificate_authority_collection": { "maxItemsOne": false, @@ -34315,6 +18224,7 @@ }, "oci_certificates_management_certificate_authority": { "current": "oci:CertificatesManagement/getCertificateAuthority:getCertificateAuthority", + "majorVersion": 1, "fields": { "certificate_authority_config": { "maxItemsOne": false, @@ -34368,6 +18278,7 @@ }, "oci_certificates_management_certificate_authority_version": { "current": "oci:CertificatesManagement/getCertificateAuthorityVersion:getCertificateAuthorityVersion", + "majorVersion": 1, "fields": { "revocation_status": { "maxItemsOne": false @@ -34385,6 +18296,7 @@ }, "oci_certificates_management_certificate_authority_versions": { "current": "oci:CertificatesManagement/getCertificateAuthorityVersions:getCertificateAuthorityVersions", + "majorVersion": 1, "fields": { "certificate_authority_version_collection": { "maxItemsOne": false, @@ -34423,6 +18335,7 @@ }, "oci_certificates_management_certificate_version": { "current": "oci:CertificatesManagement/getCertificateVersion:getCertificateVersion", + "majorVersion": 1, "fields": { "revocation_status": { "maxItemsOne": false @@ -34440,6 +18353,7 @@ }, "oci_certificates_management_certificate_versions": { "current": "oci:CertificatesManagement/getCertificateVersions:getCertificateVersions", + "majorVersion": 1, "fields": { "certificate_version_collection": { "maxItemsOne": false, @@ -34481,6 +18395,7 @@ }, "oci_certificates_management_certificates": { "current": "oci:CertificatesManagement/getCertificates:getCertificates", + "majorVersion": 1, "fields": { "certificate_collection": { "maxItemsOne": false, @@ -34564,6 +18479,7 @@ }, "oci_cloud_bridge_agent": { "current": "oci:CloudBridge/getAgent:getAgent", + "majorVersion": 1, "fields": { "plugin_list": { "maxItemsOne": false @@ -34572,6 +18488,7 @@ }, "oci_cloud_bridge_agent_dependencies": { "current": "oci:CloudBridge/getAgentDependencies:getAgentDependencies", + "majorVersion": 1, "fields": { "agent_dependency_collection": { "maxItemsOne": false, @@ -34596,13 +18513,16 @@ } }, "oci_cloud_bridge_agent_dependency": { - "current": "oci:CloudBridge/getAgentDependency:getAgentDependency" + "current": "oci:CloudBridge/getAgentDependency:getAgentDependency", + "majorVersion": 1 }, "oci_cloud_bridge_agent_plugin": { - "current": "oci:CloudBridge/getAgentPlugin:getAgentPlugin" + "current": "oci:CloudBridge/getAgentPlugin:getAgentPlugin", + "majorVersion": 1 }, "oci_cloud_bridge_agents": { "current": "oci:CloudBridge/getAgents:getAgents", + "majorVersion": 1, "fields": { "agent_collection": { "maxItemsOne": false, @@ -34635,6 +18555,7 @@ }, "oci_cloud_bridge_appliance_image": { "current": "oci:CloudBridge/getApplianceImage:getApplianceImage", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false @@ -34643,6 +18564,7 @@ }, "oci_cloud_bridge_appliance_images": { "current": "oci:CloudBridge/getApplianceImages:getApplianceImages", + "majorVersion": 1, "fields": { "appliance_image_collection": { "maxItemsOne": false, @@ -34668,6 +18590,7 @@ }, "oci_cloud_bridge_asset": { "current": "oci:CloudBridge/getAsset:getAsset", + "majorVersion": 1, "fields": { "asset_source_ids": { "maxItemsOne": false @@ -34727,6 +18650,7 @@ }, "oci_cloud_bridge_asset_source": { "current": "oci:CloudBridge/getAssetSource:getAssetSource", + "majorVersion": 1, "fields": { "discovery_credentials": { "maxItemsOne": false @@ -34738,6 +18662,7 @@ }, "oci_cloud_bridge_asset_sources": { "current": "oci:CloudBridge/getAssetSources:getAssetSources", + "majorVersion": 1, "fields": { "asset_source_collection": { "maxItemsOne": false, @@ -34773,6 +18698,7 @@ }, "oci_cloud_bridge_assets": { "current": "oci:CloudBridge/getAssets:getAssets", + "majorVersion": 1, "fields": { "asset_collection": { "maxItemsOne": false, @@ -34855,10 +18781,12 @@ } }, "oci_cloud_bridge_discovery_schedule": { - "current": "oci:CloudBridge/getDiscoverySchedule:getDiscoverySchedule" + "current": "oci:CloudBridge/getDiscoverySchedule:getDiscoverySchedule", + "majorVersion": 1 }, "oci_cloud_bridge_discovery_schedules": { "current": "oci:CloudBridge/getDiscoverySchedules:getDiscoverySchedules", + "majorVersion": 1, "fields": { "discovery_schedule_collection": { "maxItemsOne": false, @@ -34883,10 +18811,12 @@ } }, "oci_cloud_bridge_environment": { - "current": "oci:CloudBridge/getEnvironment:getEnvironment" + "current": "oci:CloudBridge/getEnvironment:getEnvironment", + "majorVersion": 1 }, "oci_cloud_bridge_environments": { "current": "oci:CloudBridge/getEnvironments:getEnvironments", + "majorVersion": 1, "fields": { "environment_collection": { "maxItemsOne": false, @@ -34912,6 +18842,7 @@ }, "oci_cloud_bridge_inventories": { "current": "oci:CloudBridge/getInventories:getInventories", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -34936,13 +18867,16 @@ } }, "oci_cloud_bridge_inventory": { - "current": "oci:CloudBridge/getInventory:getInventory" + "current": "oci:CloudBridge/getInventory:getInventory", + "majorVersion": 1 }, "oci_cloud_guard_cloud_guard_configuration": { - "current": "oci:CloudGuard/getCloudGuardConfiguration:getCloudGuardConfiguration" + "current": "oci:CloudGuard/getCloudGuardConfiguration:getCloudGuardConfiguration", + "majorVersion": 1 }, "oci_cloud_guard_data_mask_rule": { "current": "oci:CloudGuard/getDataMaskRule:getDataMaskRule", + "majorVersion": 1, "fields": { "data_mask_categories": { "maxItemsOne": false @@ -34961,6 +18895,7 @@ }, "oci_cloud_guard_data_mask_rules": { "current": "oci:CloudGuard/getDataMaskRules:getDataMaskRules", + "majorVersion": 1, "fields": { "data_mask_rule_collection": { "maxItemsOne": false, @@ -35003,6 +18938,7 @@ }, "oci_cloud_guard_data_source": { "current": "oci:CloudGuard/getDataSource:getDataSource", + "majorVersion": 1, "fields": { "data_source_details": { "maxItemsOne": false, @@ -35030,6 +18966,7 @@ }, "oci_cloud_guard_data_source_event": { "current": "oci:CloudGuard/getDataSourceEvent:getDataSourceEvent", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false, @@ -35045,6 +18982,7 @@ }, "oci_cloud_guard_data_source_events": { "current": "oci:CloudGuard/getDataSourceEvents:getDataSourceEvents", + "majorVersion": 1, "fields": { "data_source_event_collection": { "maxItemsOne": false, @@ -35077,6 +19015,7 @@ }, "oci_cloud_guard_data_sources": { "current": "oci:CloudGuard/getDataSources:getDataSources", + "majorVersion": 1, "fields": { "data_source_collection": { "maxItemsOne": false, @@ -35128,6 +19067,7 @@ }, "oci_cloud_guard_detector_recipe": { "current": "oci:CloudGuard/getDetectorRecipe:getDetectorRecipe", + "majorVersion": 1, "fields": { "detector_rules": { "maxItemsOne": false, @@ -35211,6 +19151,7 @@ }, "oci_cloud_guard_detector_recipes": { "current": "oci:CloudGuard/getDetectorRecipes:getDetectorRecipes", + "majorVersion": 1, "fields": { "detector_recipe_collection": { "maxItemsOne": false, @@ -35318,6 +19259,7 @@ }, "oci_cloud_guard_managed_list": { "current": "oci:CloudGuard/getManagedList:getManagedList", + "majorVersion": 1, "fields": { "list_items": { "maxItemsOne": false @@ -35326,6 +19268,7 @@ }, "oci_cloud_guard_managed_lists": { "current": "oci:CloudGuard/getManagedLists:getManagedLists", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -35358,6 +19301,7 @@ }, "oci_cloud_guard_problem_entities": { "current": "oci:CloudGuard/getProblemEntities:getProblemEntities", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -35393,6 +19337,7 @@ }, "oci_cloud_guard_problem_entity": { "current": "oci:CloudGuard/getProblemEntity:getProblemEntity", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false, @@ -35411,6 +19356,7 @@ }, "oci_cloud_guard_responder_recipe": { "current": "oci:CloudGuard/getResponderRecipe:getResponderRecipe", + "majorVersion": 1, "fields": { "effective_responder_rules": { "maxItemsOne": false, @@ -35462,6 +19408,7 @@ }, "oci_cloud_guard_responder_recipes": { "current": "oci:CloudGuard/getResponderRecipes:getResponderRecipes", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -35537,6 +19484,7 @@ }, "oci_cloud_guard_security_policies": { "current": "oci:CloudGuard/getSecurityPolicies:getSecurityPolicies", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -35569,6 +19517,7 @@ }, "oci_cloud_guard_security_policy": { "current": "oci:CloudGuard/getSecurityPolicy:getSecurityPolicy", + "majorVersion": 1, "fields": { "services": { "maxItemsOne": false @@ -35577,6 +19526,7 @@ }, "oci_cloud_guard_security_recipe": { "current": "oci:CloudGuard/getSecurityRecipe:getSecurityRecipe", + "majorVersion": 1, "fields": { "security_policies": { "maxItemsOne": false @@ -35585,6 +19535,7 @@ }, "oci_cloud_guard_security_recipes": { "current": "oci:CloudGuard/getSecurityRecipes:getSecurityRecipes", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -35617,6 +19568,7 @@ }, "oci_cloud_guard_security_zone": { "current": "oci:CloudGuard/getSecurityZone:getSecurityZone", + "majorVersion": 1, "fields": { "inherited_by_compartments": { "maxItemsOne": false @@ -35625,6 +19577,7 @@ }, "oci_cloud_guard_security_zones": { "current": "oci:CloudGuard/getSecurityZones:getSecurityZones", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -35657,6 +19610,7 @@ }, "oci_cloud_guard_target": { "current": "oci:CloudGuard/getGuardTarget:getGuardTarget", + "majorVersion": 1, "fields": { "inherited_by_compartments": { "maxItemsOne": false @@ -35814,6 +19768,7 @@ }, "oci_cloud_guard_targets": { "current": "oci:CloudGuard/getGuardTargets:getGuardTargets", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -35994,10 +19949,12 @@ } }, "oci_cloud_migrations_migration": { - "current": "oci:CloudMigrations/getMigration:getMigration" + "current": "oci:CloudMigrations/getMigration:getMigration", + "majorVersion": 1 }, "oci_cloud_migrations_migration_asset": { "current": "oci:CloudMigrations/getMigrationAsset:getMigrationAsset", + "majorVersion": 1, "fields": { "depended_on_by": { "maxItemsOne": false @@ -36012,6 +19969,7 @@ }, "oci_cloud_migrations_migration_assets": { "current": "oci:CloudMigrations/getMigrationAssets:getMigrationAssets", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -36050,6 +20008,7 @@ }, "oci_cloud_migrations_migration_plan": { "current": "oci:CloudMigrations/getMigrationPlan:getMigrationPlan", + "majorVersion": 1, "fields": { "migration_plan_stats": { "maxItemsOne": false, @@ -36091,6 +20050,7 @@ }, "oci_cloud_migrations_migration_plan_available_shape": { "current": "oci:CloudMigrations/getMigrationPlanAvailableShape:getMigrationPlanAvailableShape", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false @@ -36099,6 +20059,7 @@ }, "oci_cloud_migrations_migration_plan_available_shapes": { "current": "oci:CloudMigrations/getMigrationPlanAvailableShapes:getMigrationPlanAvailableShapes", + "majorVersion": 1, "fields": { "available_shapes_collection": { "maxItemsOne": false, @@ -36124,6 +20085,7 @@ }, "oci_cloud_migrations_migration_plans": { "current": "oci:CloudMigrations/getMigrationPlans:getMigrationPlans", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -36189,6 +20151,7 @@ }, "oci_cloud_migrations_migrations": { "current": "oci:CloudMigrations/getMigrations:getMigrations", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -36213,10 +20176,12 @@ } }, "oci_cloud_migrations_replication_schedule": { - "current": "oci:CloudMigrations/getReplicationSchedule:getReplicationSchedule" + "current": "oci:CloudMigrations/getReplicationSchedule:getReplicationSchedule", + "majorVersion": 1 }, "oci_cloud_migrations_replication_schedules": { "current": "oci:CloudMigrations/getReplicationSchedules:getReplicationSchedules", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -36242,6 +20207,7 @@ }, "oci_cloud_migrations_target_asset": { "current": "oci:CloudMigrations/getTargetAsset:getTargetAsset", + "majorVersion": 1, "fields": { "compatibility_messages": { "maxItemsOne": false @@ -36427,6 +20393,7 @@ }, "oci_cloud_migrations_target_assets": { "current": "oci:CloudMigrations/getTargetAssets:getTargetAssets", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -36634,11 +20601,167 @@ } } }, + "oci_compute_cloud_at_customer_ccc_infrastructure": { + "current": "oci:ComputeCloud/getAtCustomerCccInfrastructure:getAtCustomerCccInfrastructure", + "majorVersion": 1, + "fields": { + "infrastructure_inventory": { + "maxItemsOne": false + }, + "infrastructure_network_configuration": { + "maxItemsOne": false, + "elem": { + "fields": { + "dns_ips": { + "maxItemsOne": false + }, + "infrastructure_routing_dynamic": { + "maxItemsOne": false, + "elem": { + "fields": { + "peer_information": { + "maxItemsOne": false + } + } + } + }, + "infrastructure_routing_static": { + "maxItemsOne": false + }, + "management_nodes": { + "maxItemsOne": false + }, + "spine_ips": { + "maxItemsOne": false + } + } + } + }, + "upgrade_information": { + "maxItemsOne": false + } + } + }, + "oci_compute_cloud_at_customer_ccc_infrastructures": { + "current": "oci:ComputeCloud/getAtCustomerCccInfrastructures:getAtCustomerCccInfrastructures", + "majorVersion": 1, + "fields": { + "ccc_infrastructure_collection": { + "maxItemsOne": false, + "elem": { + "fields": { + "items": { + "maxItemsOne": false, + "elem": { + "fields": { + "infrastructure_inventory": { + "maxItemsOne": false + }, + "infrastructure_network_configuration": { + "maxItemsOne": false, + "elem": { + "fields": { + "dns_ips": { + "maxItemsOne": false + }, + "infrastructure_routing_dynamic": { + "maxItemsOne": false, + "elem": { + "fields": { + "peer_information": { + "maxItemsOne": false + } + } + } + }, + "infrastructure_routing_static": { + "maxItemsOne": false + }, + "management_nodes": { + "maxItemsOne": false + }, + "spine_ips": { + "maxItemsOne": false + } + } + } + }, + "upgrade_information": { + "maxItemsOne": false + } + } + } + } + } + } + }, + "filter": { + "maxItemsOne": false, + "elem": { + "fields": { + "values": { + "maxItemsOne": false + } + } + } + } + } + }, + "oci_compute_cloud_at_customer_ccc_upgrade_schedule": { + "current": "oci:ComputeCloud/getAtCustomerCccUpgradeSchedule:getAtCustomerCccUpgradeSchedule", + "majorVersion": 1, + "fields": { + "events": { + "maxItemsOne": false + }, + "infrastructure_ids": { + "maxItemsOne": false + } + } + }, + "oci_compute_cloud_at_customer_ccc_upgrade_schedules": { + "current": "oci:ComputeCloud/getAtCustomerCccUpgradeSchedules:getAtCustomerCccUpgradeSchedules", + "majorVersion": 1, + "fields": { + "ccc_upgrade_schedule_collection": { + "maxItemsOne": false, + "elem": { + "fields": { + "items": { + "maxItemsOne": false, + "elem": { + "fields": { + "events": { + "maxItemsOne": false + }, + "infrastructure_ids": { + "maxItemsOne": false + } + } + } + } + } + } + }, + "filter": { + "maxItemsOne": false, + "elem": { + "fields": { + "values": { + "maxItemsOne": false + } + } + } + } + } + }, "oci_computeinstanceagent_instance_agent_plugin": { - "current": "oci:ComputeInstanceAgent/getInstanceAgentPlugin:getInstanceAgentPlugin" + "current": "oci:ComputeInstanceAgent/getInstanceAgentPlugin:getInstanceAgentPlugin", + "majorVersion": 1 }, "oci_computeinstanceagent_instance_agent_plugins": { "current": "oci:ComputeInstanceAgent/getInstanceAgentPlugins:getInstanceAgentPlugins", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -36657,6 +20780,7 @@ }, "oci_computeinstanceagent_instance_available_plugins": { "current": "oci:ComputeInstanceAgent/getInstanceAvailablePlugin:getInstanceAvailablePlugin", + "majorVersion": 1, "fields": { "available_plugins": { "maxItemsOne": false @@ -36675,14 +20799,12 @@ }, "oci_container_instances_container_instance": { "current": "oci:ContainerInstances/getContainerInstance:getContainerInstance", + "majorVersion": 1, "fields": { "containers": { "maxItemsOne": false, "elem": { "fields": { - "additional_capabilities": { - "maxItemsOne": false - }, "arguments": { "maxItemsOne": false }, @@ -36760,6 +20882,7 @@ }, "oci_container_instances_container_instance_shape": { "current": "oci:ContainerInstances/getContainerInstanceShape:getContainerInstanceShape", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false, @@ -36781,6 +20904,7 @@ }, "oci_container_instances_container_instance_shapes": { "current": "oci:ContainerInstances/getContainerInstanceShapes:getContainerInstanceShapes", + "majorVersion": 1, "fields": { "container_instance_shape_collection": { "maxItemsOne": false, @@ -36819,6 +20943,7 @@ }, "oci_container_instances_container_instances": { "current": "oci:ContainerInstances/getContainerInstances:getContainerInstances", + "majorVersion": 1, "fields": { "container_instance_collection": { "maxItemsOne": false, @@ -36832,9 +20957,6 @@ "maxItemsOne": false, "elem": { "fields": { - "additional_capabilities": { - "maxItemsOne": false - }, "arguments": { "maxItemsOne": false }, @@ -36928,6 +21050,7 @@ }, "oci_containerengine_addon": { "current": "oci:ContainerEngine/getAddon:getAddon", + "majorVersion": 1, "fields": { "addon_error": { "maxItemsOne": false @@ -36939,6 +21062,7 @@ }, "oci_containerengine_addon_options": { "current": "oci:ContainerEngine/getAddonOptions:getAddonOptions", + "majorVersion": 1, "fields": { "addon_options": { "maxItemsOne": false, @@ -36981,6 +21105,7 @@ }, "oci_containerengine_addons": { "current": "oci:ContainerEngine/getAddons:getAddons", + "majorVersion": 1, "fields": { "addons": { "maxItemsOne": false, @@ -37008,13 +21133,16 @@ } }, "oci_containerengine_cluster_credential_rotation_status": { - "current": "oci:ContainerEngine/getClusterCredentialRotationStatus:getClusterCredentialRotationStatus" + "current": "oci:ContainerEngine/getClusterCredentialRotationStatus:getClusterCredentialRotationStatus", + "majorVersion": 1 }, "oci_containerengine_cluster_kube_config": { - "current": "oci:ContainerEngine/getClusterKubeConfig:getClusterKubeConfig" + "current": "oci:ContainerEngine/getClusterKubeConfig:getClusterKubeConfig", + "majorVersion": 1 }, "oci_containerengine_cluster_option": { "current": "oci:ContainerEngine/getClusterOption:getClusterOption", + "majorVersion": 1, "fields": { "cluster_pod_network_options": { "maxItemsOne": false @@ -37025,10 +21153,12 @@ } }, "oci_containerengine_cluster_workload_mapping": { - "current": "oci:ContainerEngine/getClusterWorkloadMapping:getClusterWorkloadMapping" + "current": "oci:ContainerEngine/getClusterWorkloadMapping:getClusterWorkloadMapping", + "majorVersion": 1 }, "oci_containerengine_cluster_workload_mappings": { "current": "oci:ContainerEngine/getClusterWorkloadMappings:getClusterWorkloadMappings", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -37047,6 +21177,7 @@ }, "oci_containerengine_clusters": { "current": "oci:ContainerEngine/getClusters:getClusters", + "majorVersion": 1, "fields": { "clusters": { "maxItemsOne": false, @@ -37128,10 +21259,12 @@ } }, "oci_containerengine_migrate_to_native_vcn_status": { - "current": "oci:ContainerEngine/getMigrateToNativeVcnStatus:getMigrateToNativeVcnStatus" + "current": "oci:ContainerEngine/getMigrateToNativeVcnStatus:getMigrateToNativeVcnStatus", + "majorVersion": 1 }, "oci_containerengine_node_pool": { "current": "oci:ContainerEngine/getNodePool:getNodePool", + "majorVersion": 1, "fields": { "initial_node_labels": { "maxItemsOne": false @@ -37211,6 +21344,7 @@ }, "oci_containerengine_node_pool_option": { "current": "oci:ContainerEngine/getNodePoolOption:getNodePoolOption", + "majorVersion": 1, "fields": { "images": { "maxItemsOne": false @@ -37228,6 +21362,7 @@ }, "oci_containerengine_node_pools": { "current": "oci:ContainerEngine/getNodePools:getNodePools", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -37327,6 +21462,7 @@ }, "oci_containerengine_pod_shapes": { "current": "oci:ContainerEngine/getPodShapes:getPodShapes", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -37358,6 +21494,7 @@ }, "oci_containerengine_virtual_node_pool": { "current": "oci:ContainerEngine/getVirtualNodePool:getVirtualNodePool", + "majorVersion": 1, "fields": { "initial_virtual_node_labels": { "maxItemsOne": false @@ -37395,6 +21532,7 @@ }, "oci_containerengine_virtual_node_pools": { "current": "oci:ContainerEngine/getVirtualNodePools:getVirtualNodePools", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -37452,6 +21590,7 @@ }, "oci_containerengine_work_request_errors": { "current": "oci:ContainerEngine/getWorkRequestErrors:getWorkRequestErrors", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -37470,6 +21609,7 @@ }, "oci_containerengine_work_request_log_entries": { "current": "oci:ContainerEngine/getWorkRequestLogEntries:getWorkRequestLogEntries", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -37488,6 +21628,7 @@ }, "oci_containerengine_work_requests": { "current": "oci:ContainerEngine/getWorkRequests:getWorkRequests", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -37515,10 +21656,12 @@ } }, "oci_core_app_catalog_listing": { - "current": "oci:Core/getAppCatalogListing:getAppCatalogListing" + "current": "oci:Core/getAppCatalogListing:getAppCatalogListing", + "majorVersion": 1 }, "oci_core_app_catalog_listing_resource_version": { "current": "oci:Core/getAppCatalogListingResourceVersion:getAppCatalogListingResourceVersion", + "majorVersion": 1, "fields": { "accessible_ports": { "maxItemsOne": false @@ -37536,6 +21679,7 @@ }, "oci_core_app_catalog_listing_resource_versions": { "current": "oci:Core/getAppCatalogListingResourceVersions:getAppCatalogListingResourceVersions", + "majorVersion": 1, "fields": { "app_catalog_listing_resource_versions": { "maxItemsOne": false, @@ -37570,6 +21714,7 @@ }, "oci_core_app_catalog_listings": { "current": "oci:Core/getAppCatalogListings:getAppCatalogListings", + "majorVersion": 1, "fields": { "app_catalog_listings": { "maxItemsOne": false @@ -37588,6 +21733,7 @@ }, "oci_core_app_catalog_subscriptions": { "current": "oci:Core/getAppCatalogSubscriptions:getAppCatalogSubscriptions", + "majorVersion": 1, "fields": { "app_catalog_subscriptions": { "maxItemsOne": false @@ -37605,10 +21751,12 @@ } }, "oci_core_block_volume_replica": { - "current": "oci:Core/getBlockVolumeReplica:getBlockVolumeReplica" + "current": "oci:Core/getBlockVolumeReplica:getBlockVolumeReplica", + "majorVersion": 1 }, "oci_core_block_volume_replicas": { "current": "oci:Core/getBlockVolumeReplicas:getBlockVolumeReplicas", + "majorVersion": 1, "fields": { "block_volume_replicas": { "maxItemsOne": false @@ -37627,6 +21775,7 @@ }, "oci_core_boot_volume": { "current": "oci:Core/getBootVolume:getBootVolume", + "majorVersion": 1, "fields": { "autotune_policies": { "maxItemsOne": false @@ -37641,6 +21790,7 @@ }, "oci_core_boot_volume_attachments": { "current": "oci:Core/getBootVolumeAttachments:getBootVolumeAttachments", + "majorVersion": 1, "fields": { "boot_volume_attachments": { "maxItemsOne": false @@ -37659,6 +21809,7 @@ }, "oci_core_boot_volume_backup": { "current": "oci:Core/getBootVolumeBackup:getBootVolumeBackup", + "majorVersion": 1, "fields": { "source_details": { "maxItemsOne": false @@ -37667,6 +21818,7 @@ }, "oci_core_boot_volume_backups": { "current": "oci:Core/getBootVolumeBackups:getBootVolumeBackups", + "majorVersion": 1, "fields": { "boot_volume_backups": { "maxItemsOne": false, @@ -37691,10 +21843,12 @@ } }, "oci_core_boot_volume_replica": { - "current": "oci:Core/getBootVolumeReplica:getBootVolumeReplica" + "current": "oci:Core/getBootVolumeReplica:getBootVolumeReplica", + "majorVersion": 1 }, "oci_core_boot_volume_replicas": { "current": "oci:Core/getBootVolumeReplicas:getBootVolumeReplicas", + "majorVersion": 1, "fields": { "boot_volume_replicas": { "maxItemsOne": false @@ -37713,6 +21867,7 @@ }, "oci_core_boot_volumes": { "current": "oci:Core/getBootVolumes:getBootVolumes", + "majorVersion": 1, "fields": { "boot_volumes": { "maxItemsOne": false, @@ -37744,6 +21899,7 @@ }, "oci_core_byoip_allocated_ranges": { "current": "oci:Core/getByoipAllocatedRanges:getByoipAllocatedRanges", + "majorVersion": 1, "fields": { "byoip_allocated_range_collection": { "maxItemsOne": false, @@ -37769,6 +21925,7 @@ }, "oci_core_byoip_range": { "current": "oci:Core/getByoipRange:getByoipRange", + "majorVersion": 1, "fields": { "byoip_range_vcn_ipv6allocations": { "maxItemsOne": false @@ -37777,6 +21934,7 @@ }, "oci_core_byoip_ranges": { "current": "oci:Core/getByoipRanges:getByoipRanges", + "majorVersion": 1, "fields": { "byoip_range_collection": { "maxItemsOne": false, @@ -37809,6 +21967,7 @@ }, "oci_core_capture_filter": { "current": "oci:Core/getCaptureFilter:getCaptureFilter", + "majorVersion": 1, "fields": { "vtap_capture_filter_rules": { "maxItemsOne": false, @@ -37850,6 +22009,7 @@ }, "oci_core_capture_filters": { "current": "oci:Core/getCaptureFilters:getCaptureFilters", + "majorVersion": 1, "fields": { "capture_filters": { "maxItemsOne": false, @@ -37908,6 +22068,7 @@ }, "oci_core_cluster_network": { "current": "oci:Core/getClusterNetwork:getClusterNetwork", + "majorVersion": 1, "fields": { "cluster_configuration": { "maxItemsOne": false, @@ -37993,6 +22154,7 @@ }, "oci_core_cluster_network_instances": { "current": "oci:Core/getClusterNetworkInstances:getClusterNetworkInstances", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -38018,6 +22180,7 @@ }, "oci_core_cluster_networks": { "current": "oci:Core/getClusterNetworks:getClusterNetworks", + "majorVersion": 1, "fields": { "cluster_networks": { "maxItemsOne": false, @@ -38120,6 +22283,7 @@ }, "oci_core_compute_capacity_reservation": { "current": "oci:Core/getComputeCapacityReservation:getComputeCapacityReservation", + "majorVersion": 1, "fields": { "instance_reservation_configs": { "maxItemsOne": false, @@ -38145,6 +22309,7 @@ }, "oci_core_compute_capacity_reservation_instance_shapes": { "current": "oci:Core/getComputeCapacityReservationInstanceShapes:getComputeCapacityReservationInstanceShapes", + "majorVersion": 1, "fields": { "compute_capacity_reservation_instance_shapes": { "maxItemsOne": false @@ -38163,6 +22328,7 @@ }, "oci_core_compute_capacity_reservation_instances": { "current": "oci:Core/getComputeCapacityReservationInstances:getComputeCapacityReservationInstances", + "majorVersion": 1, "fields": { "capacity_reservation_instances": { "maxItemsOne": false, @@ -38188,6 +22354,7 @@ }, "oci_core_compute_capacity_reservations": { "current": "oci:Core/getComputeCapacityReservations:getComputeCapacityReservations", + "majorVersion": 1, "fields": { "compute_capacity_reservations": { "maxItemsOne": false, @@ -38229,10 +22396,12 @@ } }, "oci_core_compute_cluster": { - "current": "oci:Core/getComputeCluster:getComputeCluster" + "current": "oci:Core/getComputeCluster:getComputeCluster", + "majorVersion": 1 }, "oci_core_compute_clusters": { "current": "oci:Core/getComputeClusters:getComputeClusters", + "majorVersion": 1, "fields": { "compute_cluster_collection": { "maxItemsOne": false, @@ -38257,10 +22426,12 @@ } }, "oci_core_compute_global_image_capability_schema": { - "current": "oci:Core/getComputeGlobalImageCapabilitySchema:getComputeGlobalImageCapabilitySchema" + "current": "oci:Core/getComputeGlobalImageCapabilitySchema:getComputeGlobalImageCapabilitySchema", + "majorVersion": 1 }, "oci_core_compute_global_image_capability_schemas": { "current": "oci:Core/getComputeGlobalImageCapabilitySchemas:getComputeGlobalImageCapabilitySchemas", + "majorVersion": 1, "fields": { "compute_global_image_capability_schemas": { "maxItemsOne": false @@ -38278,10 +22449,12 @@ } }, "oci_core_compute_global_image_capability_schemas_version": { - "current": "oci:Core/getComputeGlobalImageCapabilitySchemasVersion:getComputeGlobalImageCapabilitySchemasVersion" + "current": "oci:Core/getComputeGlobalImageCapabilitySchemasVersion:getComputeGlobalImageCapabilitySchemasVersion", + "majorVersion": 1 }, "oci_core_compute_global_image_capability_schemas_versions": { "current": "oci:Core/getComputeGlobalImageCapabilitySchemasVersions:getComputeGlobalImageCapabilitySchemasVersions", + "majorVersion": 1, "fields": { "compute_global_image_capability_schema_versions": { "maxItemsOne": false @@ -38299,10 +22472,12 @@ } }, "oci_core_compute_image_capability_schema": { - "current": "oci:Core/getComputeImageCapabilitySchema:getComputeImageCapabilitySchema" + "current": "oci:Core/getComputeImageCapabilitySchema:getComputeImageCapabilitySchema", + "majorVersion": 1 }, "oci_core_compute_image_capability_schemas": { "current": "oci:Core/getComputeImageCapabilitySchemas:getComputeImageCapabilitySchemas", + "majorVersion": 1, "fields": { "compute_image_capability_schemas": { "maxItemsOne": false @@ -38321,6 +22496,7 @@ }, "oci_core_console_histories": { "current": "oci:Core/getConsoleHistories:getConsoleHistories", + "majorVersion": 1, "fields": { "console_histories": { "maxItemsOne": false @@ -38338,10 +22514,12 @@ } }, "oci_core_console_history_data": { - "current": "oci:Core/getConsoleHistoryData:getConsoleHistoryData" + "current": "oci:Core/getConsoleHistoryData:getConsoleHistoryData", + "majorVersion": 1 }, "oci_core_cpe_device_shape": { "current": "oci:Core/getCpeDeviceShape:getCpeDeviceShape", + "majorVersion": 1, "fields": { "cpe_device_info": { "maxItemsOne": false @@ -38353,6 +22531,7 @@ }, "oci_core_cpe_device_shapes": { "current": "oci:Core/getCpeDeviceShapes:getCpeDeviceShapes", + "majorVersion": 1, "fields": { "cpe_device_shapes": { "maxItemsOne": false, @@ -38378,6 +22557,7 @@ }, "oci_core_cpes": { "current": "oci:Core/getCpes:getCpes", + "majorVersion": 1, "fields": { "cpes": { "maxItemsOne": false @@ -38396,6 +22576,7 @@ }, "oci_core_cross_connect": { "current": "oci:Core/getCrossConnect:getCrossConnect", + "majorVersion": 1, "fields": { "macsec_properties": { "maxItemsOne": false, @@ -38411,6 +22592,7 @@ }, "oci_core_cross_connect_group": { "current": "oci:Core/getCrossConnectGroup:getCrossConnectGroup", + "majorVersion": 1, "fields": { "macsec_properties": { "maxItemsOne": false, @@ -38426,6 +22608,7 @@ }, "oci_core_cross_connect_groups": { "current": "oci:Core/getCrossConnectGroups:getCrossConnectGroups", + "majorVersion": 1, "fields": { "cross_connect_groups": { "maxItemsOne": false, @@ -38458,6 +22641,7 @@ }, "oci_core_cross_connect_locations": { "current": "oci:Core/getCrossConnectLocations:getCrossConnectLocations", + "majorVersion": 1, "fields": { "cross_connect_locations": { "maxItemsOne": false @@ -38476,6 +22660,7 @@ }, "oci_core_cross_connect_port_speed_shapes": { "current": "oci:Core/getCrossConnectPortSpeedShape:getCrossConnectPortSpeedShape", + "majorVersion": 1, "fields": { "cross_connect_port_speed_shapes": { "maxItemsOne": false @@ -38493,10 +22678,12 @@ } }, "oci_core_cross_connect_status": { - "current": "oci:Core/getCrossConnectStatus:getCrossConnectStatus" + "current": "oci:Core/getCrossConnectStatus:getCrossConnectStatus", + "majorVersion": 1 }, "oci_core_cross_connects": { "current": "oci:Core/getCrossConnects:getCrossConnects", + "majorVersion": 1, "fields": { "cross_connects": { "maxItemsOne": false, @@ -38528,10 +22715,12 @@ } }, "oci_core_dedicated_vm_host": { - "current": "oci:Core/getDedicatedVmHost:getDedicatedVmHost" + "current": "oci:Core/getDedicatedVmHost:getDedicatedVmHost", + "majorVersion": 1 }, "oci_core_dedicated_vm_host_instance_shapes": { "current": "oci:Core/getDedicatedVmHostInstanceShapes:getDedicatedVmHostInstanceShapes", + "majorVersion": 1, "fields": { "dedicated_vm_host_instance_shapes": { "maxItemsOne": false @@ -38550,6 +22739,7 @@ }, "oci_core_dedicated_vm_host_shapes": { "current": "oci:Core/getDedicatedVmHostShapes:getDedicatedVmHostShapes", + "majorVersion": 1, "fields": { "dedicated_vm_host_shapes": { "maxItemsOne": false @@ -38568,6 +22758,7 @@ }, "oci_core_dedicated_vm_hosts": { "current": "oci:Core/getDedicatedVmHosts:getDedicatedVmHosts", + "majorVersion": 1, "fields": { "dedicated_vm_hosts": { "maxItemsOne": false @@ -38586,6 +22777,7 @@ }, "oci_core_dedicated_vm_hosts_instances": { "current": "oci:Core/getDedicatedVmHostInstances:getDedicatedVmHostInstances", + "majorVersion": 1, "fields": { "dedicated_vm_host_instances": { "maxItemsOne": false @@ -38604,6 +22796,7 @@ }, "oci_core_dhcp_options": { "current": "oci:Core/getDhcpOptions:getDhcpOptions", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -38639,6 +22832,7 @@ }, "oci_core_drg_attachments": { "current": "oci:Core/getDrgAttachments:getDrgAttachments", + "majorVersion": 1, "fields": { "drg_attachments": { "maxItemsOne": false, @@ -38670,10 +22864,12 @@ } }, "oci_core_drg_route_distribution": { - "current": "oci:Core/getDrgRouteDistribution:getDrgRouteDistribution" + "current": "oci:Core/getDrgRouteDistribution:getDrgRouteDistribution", + "majorVersion": 1 }, "oci_core_drg_route_distribution_statements": { "current": "oci:Core/getDrgRouteDistributionStatements:getDrgRouteDistributionStatements", + "majorVersion": 1, "fields": { "drg_route_distribution_statements": { "maxItemsOne": false, @@ -38699,6 +22895,7 @@ }, "oci_core_drg_route_distributions": { "current": "oci:Core/getDrgRouteDistributions:getDrgRouteDistributions", + "majorVersion": 1, "fields": { "drg_route_distributions": { "maxItemsOne": false @@ -38716,10 +22913,12 @@ } }, "oci_core_drg_route_table": { - "current": "oci:Core/getDrgRouteRule:getDrgRouteRule" + "current": "oci:Core/getDrgRouteRule:getDrgRouteRule", + "majorVersion": 1 }, "oci_core_drg_route_table_route_rules": { "current": "oci:Core/getDrgRouteTableRouteRules:getDrgRouteTableRouteRules", + "majorVersion": 1, "fields": { "drg_route_rules": { "maxItemsOne": false @@ -38738,6 +22937,7 @@ }, "oci_core_drg_route_tables": { "current": "oci:Core/getDrgRouteTables:getDrgRouteTables", + "majorVersion": 1, "fields": { "drg_route_tables": { "maxItemsOne": false @@ -38756,6 +22956,7 @@ }, "oci_core_drgs": { "current": "oci:Core/getDrgs:getDrgs", + "majorVersion": 1, "fields": { "drgs": { "maxItemsOne": false, @@ -38781,6 +22982,7 @@ }, "oci_core_fast_connect_provider_service": { "current": "oci:Core/getFastConnectProviderService:getFastConnectProviderService", + "majorVersion": 1, "fields": { "supported_virtual_circuit_types": { "maxItemsOne": false @@ -38788,10 +22990,12 @@ } }, "oci_core_fast_connect_provider_service_key": { - "current": "oci:Core/getFastConnectProviderServiceKey:getFastConnectProviderServiceKey" + "current": "oci:Core/getFastConnectProviderServiceKey:getFastConnectProviderServiceKey", + "majorVersion": 1 }, "oci_core_fast_connect_provider_services": { "current": "oci:Core/getFastConnectProviderServices:getFastConnectProviderServices", + "majorVersion": 1, "fields": { "fast_connect_provider_services": { "maxItemsOne": false, @@ -38817,6 +23021,7 @@ }, "oci_core_image": { "current": "oci:Core/getImage:getImage", + "majorVersion": 1, "fields": { "agent_features": { "maxItemsOne": false @@ -38831,6 +23036,7 @@ }, "oci_core_image_shape": { "current": "oci:Core/getImageShape:getImageShape", + "majorVersion": 1, "fields": { "memory_constraints": { "maxItemsOne": false @@ -38842,6 +23048,7 @@ }, "oci_core_image_shapes": { "current": "oci:Core/getImageShapes:getImageShapes", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -38870,6 +23077,7 @@ }, "oci_core_images": { "current": "oci:Core/getImages:getImages", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -38901,6 +23109,7 @@ }, "oci_core_instance": { "current": "oci:Core/getInstance:getInstance", + "majorVersion": 1, "fields": { "agent_config": { "maxItemsOne": false, @@ -38964,6 +23173,7 @@ }, "oci_core_instance_configuration": { "current": "oci:Core/getInstanceConfiguration:getInstanceConfiguration", + "majorVersion": 1, "fields": { "deferred_fields": { "maxItemsOne": false @@ -39208,6 +23418,7 @@ }, "oci_core_instance_configurations": { "current": "oci:Core/getInstanceConfigurations:getInstanceConfigurations", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -39469,6 +23680,7 @@ }, "oci_core_instance_console_connections": { "current": "oci:Core/getInstanceConsoleConnections:getInstanceConsoleConnections", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -39486,10 +23698,12 @@ } }, "oci_core_instance_credentials": { - "current": "oci:Core/getInstanceCredentials:getInstanceCredentials" + "current": "oci:Core/getInstanceCredentials:getInstanceCredentials", + "majorVersion": 1 }, "oci_core_instance_devices": { "current": "oci:Core/getInstanceDevices:getInstanceDevices", + "majorVersion": 1, "fields": { "devices": { "maxItemsOne": false @@ -39507,10 +23721,12 @@ } }, "oci_core_instance_maintenance_reboot": { - "current": "oci:Core/getInstanceMaintenanceReboot:getInstanceMaintenanceReboot" + "current": "oci:Core/getInstanceMaintenanceReboot:getInstanceMaintenanceReboot", + "majorVersion": 1 }, "oci_core_instance_measured_boot_report": { "current": "oci:Core/getInstanceMeasuredBootReport:getInstanceMeasuredBootReport", + "majorVersion": 1, "fields": { "measurements": { "maxItemsOne": false, @@ -39529,6 +23745,7 @@ }, "oci_core_instance_pool": { "current": "oci:Core/getInstancePool:getInstancePool", + "majorVersion": 1, "fields": { "load_balancers": { "maxItemsOne": false @@ -39567,6 +23784,7 @@ }, "oci_core_instance_pool_instances": { "current": "oci:Core/getInstancePoolInstances:getInstancePoolInstances", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -39591,10 +23809,12 @@ } }, "oci_core_instance_pool_load_balancer_attachment": { - "current": "oci:Core/getInstancePoolLoadBalancerAttachment:getInstancePoolLoadBalancerAttachment" + "current": "oci:Core/getInstancePoolLoadBalancerAttachment:getInstancePoolLoadBalancerAttachment", + "majorVersion": 1 }, "oci_core_instance_pools": { "current": "oci:Core/getInstancePools:getInstancePools", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -39650,6 +23870,7 @@ }, "oci_core_instances": { "current": "oci:Core/getInstances:getInstances", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -39730,6 +23951,7 @@ }, "oci_core_internet_gateways": { "current": "oci:Core/getInternetGateways:getInternetGateways", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -39748,6 +23970,7 @@ }, "oci_core_ipsec_algorithm": { "current": "oci:Core/getIpsecAlgorithm:getIpsecAlgorithm", + "majorVersion": 1, "fields": { "allowed_phase_one_parameters": { "maxItemsOne": false, @@ -39814,6 +24037,7 @@ }, "oci_core_ipsec_config": { "current": "oci:Core/getIpsecConfig:getIpsecConfig", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -39832,6 +24056,7 @@ }, "oci_core_ipsec_connection_tunnel": { "current": "oci:Core/getIpsecConnectionTunnel:getIpsecConnectionTunnel", + "majorVersion": 1, "fields": { "bgp_session_info": { "maxItemsOne": false @@ -39852,10 +24077,12 @@ } }, "oci_core_ipsec_connection_tunnel_error": { - "current": "oci:Core/getIpsecConnectionTunnelError:getIpsecConnectionTunnelError" + "current": "oci:Core/getIpsecConnectionTunnelError:getIpsecConnectionTunnelError", + "majorVersion": 1 }, "oci_core_ipsec_connection_tunnel_routes": { "current": "oci:Core/getIpsecConnectionTunnelRoutes:getIpsecConnectionTunnelRoutes", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -39881,6 +24108,7 @@ }, "oci_core_ipsec_connection_tunnels": { "current": "oci:Core/getIpsecConnectionTunnels:getIpsecConnectionTunnels", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -39928,6 +24156,7 @@ }, "oci_core_ipsec_connections": { "current": "oci:Core/getIpsecConnections:getIpsecConnections", + "majorVersion": 1, "fields": { "connections": { "maxItemsOne": false, @@ -39953,6 +24182,7 @@ }, "oci_core_ipsec_status": { "current": "oci:Core/getIpsecStatus:getIpsecStatus", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -39970,10 +24200,12 @@ } }, "oci_core_ipv6": { - "current": "oci:Core/getIpv6:getIpv6" + "current": "oci:Core/getIpv6:getIpv6", + "majorVersion": 1 }, "oci_core_ipv6s": { "current": "oci:Core/getIpv6s:getIpv6s", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -39991,10 +24223,12 @@ } }, "oci_core_letter_of_authority": { - "current": "oci:Core/getLetterOfAuthority:getLetterOfAuthority" + "current": "oci:Core/getLetterOfAuthority:getLetterOfAuthority", + "majorVersion": 1 }, "oci_core_listing_resource_version": { "current": "oci:Core/getListingResourceVersion:getListingResourceVersion", + "majorVersion": 1, "fields": { "accessible_ports": { "maxItemsOne": false @@ -40012,6 +24246,7 @@ }, "oci_core_listing_resource_versions": { "current": "oci:Core/getListingResourceVersions:getListingResourceVersions", + "majorVersion": 1, "fields": { "app_catalog_listing_resource_versions": { "maxItemsOne": false, @@ -40046,6 +24281,7 @@ }, "oci_core_local_peering_gateways": { "current": "oci:Core/getLocalPeeringGateways:getLocalPeeringGateways", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -40070,10 +24306,12 @@ } }, "oci_core_nat_gateway": { - "current": "oci:Core/getNatGateway:getNatGateway" + "current": "oci:Core/getNatGateway:getNatGateway", + "majorVersion": 1 }, "oci_core_nat_gateways": { "current": "oci:Core/getNatGateways:getNatGateways", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -40091,10 +24329,12 @@ } }, "oci_core_network_security_group": { - "current": "oci:Core/getNetworkSecurityGroup:getNetworkSecurityGroup" + "current": "oci:Core/getNetworkSecurityGroup:getNetworkSecurityGroup", + "majorVersion": 1 }, "oci_core_network_security_group_security_rules": { "current": "oci:Core/getNetworkSecurityGroupSecurityRules:getNetworkSecurityGroupSecurityRules", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -40146,6 +24386,7 @@ }, "oci_core_network_security_group_vnics": { "current": "oci:Core/getNetworkSecurityGroupVnics:getNetworkSecurityGroupVnics", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -40164,6 +24405,7 @@ }, "oci_core_network_security_groups": { "current": "oci:Core/getNetworkSecurityGroups:getNetworkSecurityGroups", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -40182,6 +24424,7 @@ }, "oci_core_peer_region_for_remote_peerings": { "current": "oci:Core/getPeerRegionForRemotePeerings:getPeerRegionForRemotePeerings", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -40199,10 +24442,12 @@ } }, "oci_core_private_ip": { - "current": "oci:Core/getPrivateIp:getPrivateIp" + "current": "oci:Core/getPrivateIp:getPrivateIp", + "majorVersion": 1 }, "oci_core_private_ips": { "current": "oci:Core/getPrivateIps:getPrivateIps", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -40220,10 +24465,12 @@ } }, "oci_core_public_ip": { - "current": "oci:Core/getPublicIp:getPublicIp" + "current": "oci:Core/getPublicIp:getPublicIp", + "majorVersion": 1 }, "oci_core_public_ip_pool": { "current": "oci:Core/getPublicIpPool:getPublicIpPool", + "majorVersion": 1, "fields": { "cidr_blocks": { "maxItemsOne": false @@ -40232,6 +24479,7 @@ }, "oci_core_public_ip_pools": { "current": "oci:Core/getPublicIpPools:getPublicIpPools", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -40264,6 +24512,7 @@ }, "oci_core_public_ips": { "current": "oci:Core/getPublicIps:getPublicIps", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -40282,6 +24531,7 @@ }, "oci_core_remote_peering_connections": { "current": "oci:Core/getRemotePeeringConnections:getRemotePeeringConnections", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -40300,6 +24550,7 @@ }, "oci_core_route_tables": { "current": "oci:Core/getRouteTables:getRouteTables", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -40325,6 +24576,7 @@ }, "oci_core_security_lists": { "current": "oci:Core/getSecurityLists:getSecurityLists", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -40407,6 +24659,7 @@ }, "oci_core_service_gateways": { "current": "oci:Core/getServiceGateways:getServiceGateways", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -40432,6 +24685,7 @@ }, "oci_core_services": { "current": "oci:Core/getServices:getServices", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -40450,6 +24704,7 @@ }, "oci_core_shape": { "current": "oci:Core/getShape:getShape", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -40596,6 +24851,7 @@ }, "oci_core_shapes": { "current": "oci:Core/getShapes:getShapes", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -40742,6 +24998,7 @@ }, "oci_core_subnet": { "current": "oci:Core/getSubnet:getSubnet", + "majorVersion": 1, "fields": { "ipv6cidr_blocks": { "maxItemsOne": false @@ -40753,6 +25010,7 @@ }, "oci_core_subnets": { "current": "oci:Core/getSubnets:getSubnets", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -40781,6 +25039,7 @@ }, "oci_core_tunnel_security_associations": { "current": "oci:Core/getTunnelSecurityAssociations:getTunnelSecurityAssociations", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -40799,6 +25058,7 @@ }, "oci_core_vcn": { "current": "oci:Core/getVcn:getVcn", + "majorVersion": 1, "fields": { "byoipv6cidr_blocks": { "maxItemsOne": false @@ -40818,10 +25078,12 @@ } }, "oci_core_vcn_dns_resolver_association": { - "current": "oci:Core/getCnvDnsResolverAssociation:getCnvDnsResolverAssociation" + "current": "oci:Core/getCnvDnsResolverAssociation:getCnvDnsResolverAssociation", + "majorVersion": 1 }, "oci_core_vcns": { "current": "oci:Core/getVcns:getVcns", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -40859,6 +25121,7 @@ }, "oci_core_virtual_circuit": { "current": "oci:Core/getVirtualCircuit:getVirtualCircuit", + "majorVersion": 1, "fields": { "cross_connect_mappings": { "maxItemsOne": false @@ -40873,6 +25136,7 @@ }, "oci_core_virtual_circuit_associated_tunnels": { "current": "oci:Core/getVirtualCircuitAssociatedTunnels:getVirtualCircuitAssociatedTunnels", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -40891,6 +25155,7 @@ }, "oci_core_virtual_circuit_bandwidth_shapes": { "current": "oci:Core/getVirtualCircuitBandwidthShapes:getVirtualCircuitBandwidthShapes", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -40909,6 +25174,7 @@ }, "oci_core_virtual_circuit_public_prefixes": { "current": "oci:Core/getVirtualCircuitPublicPrefixes:getVirtualCircuitPublicPrefixes", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -40927,6 +25193,7 @@ }, "oci_core_virtual_circuits": { "current": "oci:Core/getVirtualCircuits:getVirtualCircuits", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -40958,6 +25225,7 @@ }, "oci_core_virtual_networks": { "current": "oci:Core/getVirtualNetworks:getVirtualNetworks", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -40995,6 +25263,7 @@ }, "oci_core_vlan": { "current": "oci:Core/getVlan:getVlan", + "majorVersion": 1, "fields": { "nsg_ids": { "maxItemsOne": false @@ -41003,6 +25272,7 @@ }, "oci_core_vlans": { "current": "oci:Core/getVlans:getVlans", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -41028,6 +25298,7 @@ }, "oci_core_vnic": { "current": "oci:Core/getVnic:getVnic", + "majorVersion": 1, "fields": { "ipv6addresses": { "maxItemsOne": false @@ -41039,6 +25310,7 @@ }, "oci_core_vnic_attachments": { "current": "oci:Core/getVnicAttachments:getVnicAttachments", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -41074,6 +25346,7 @@ }, "oci_core_volume": { "current": "oci:Core/getVolume:getVolume", + "majorVersion": 1, "fields": { "autotune_policies": { "maxItemsOne": false @@ -41088,6 +25361,7 @@ }, "oci_core_volume_attachments": { "current": "oci:Core/getVolumeAttachments:getVolumeAttachments", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -41113,6 +25387,7 @@ }, "oci_core_volume_backup_policies": { "current": "oci:Core/getVolumeBackupPolicies:getVolumeBackupPolicies", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -41138,6 +25413,7 @@ }, "oci_core_volume_backup_policy_assignments": { "current": "oci:Core/getVolumeBackupPolicyAssignments:getVolumeBackupPolicyAssignments", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -41156,6 +25432,7 @@ }, "oci_core_volume_backups": { "current": "oci:Core/getVolumeBackups:getVolumeBackups", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -41181,6 +25458,7 @@ }, "oci_core_volume_group_backups": { "current": "oci:Core/getVolumeGroupBackups:getVolumeGroupBackups", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -41209,6 +25487,7 @@ }, "oci_core_volume_group_replica": { "current": "oci:Core/getVolumeGroupReplica:getVolumeGroupReplica", + "majorVersion": 1, "fields": { "member_replicas": { "maxItemsOne": false @@ -41217,6 +25496,7 @@ }, "oci_core_volume_group_replicas": { "current": "oci:Core/getVolumeGroupReplicas:getVolumeGroupReplicas", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -41242,6 +25522,7 @@ }, "oci_core_volume_groups": { "current": "oci:Core/getVolumeGroups:getVolumeGroups", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -41280,6 +25561,7 @@ }, "oci_core_volumes": { "current": "oci:Core/getVolumes:getVolumes", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -41310,10 +25592,12 @@ } }, "oci_core_vtap": { - "current": "oci:Core/getVtap:getVtap" + "current": "oci:Core/getVtap:getVtap", + "majorVersion": 1 }, "oci_core_vtaps": { "current": "oci:Core/getVtaps:getVtaps", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -41332,6 +25616,7 @@ }, "oci_data_labeling_service_annotation_format": { "current": "oci:DataLabellingService/getAnnotationFormat:getAnnotationFormat", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false @@ -41340,6 +25625,7 @@ }, "oci_data_labeling_service_annotation_formats": { "current": "oci:DataLabellingService/getAnnotationFormats:getAnnotationFormats", + "majorVersion": 1, "fields": { "annotation_format_collection": { "maxItemsOne": false, @@ -41365,6 +25651,7 @@ }, "oci_data_labeling_service_dataset": { "current": "oci:DataLabellingService/getDataset:getDataset", + "majorVersion": 1, "fields": { "dataset_format_details": { "maxItemsOne": false, @@ -41409,6 +25696,7 @@ }, "oci_data_labeling_service_datasets": { "current": "oci:DataLabellingService/getDatasets:getDatasets", + "majorVersion": 1, "fields": { "dataset_collection": { "maxItemsOne": false, @@ -41477,6 +25765,7 @@ }, "oci_data_safe_alert": { "current": "oci:DataSafe/getAlert:getAlert", + "majorVersion": 1, "fields": { "target_ids": { "maxItemsOne": false @@ -41488,6 +25777,7 @@ }, "oci_data_safe_alert_analytic": { "current": "oci:DataSafe/getAlertAnalytic:getAlertAnalytic", + "majorVersion": 1, "fields": { "group_by": { "maxItemsOne": false @@ -41509,6 +25799,7 @@ }, "oci_data_safe_alert_policies": { "current": "oci:DataSafe/getAlertPolicies:getAlertPolicies", + "majorVersion": 1, "fields": { "alert_policy_collection": { "maxItemsOne": false, @@ -41533,10 +25824,12 @@ } }, "oci_data_safe_alert_policy": { - "current": "oci:DataSafe/getAlertPolicy:getAlertPolicy" + "current": "oci:DataSafe/getAlertPolicy:getAlertPolicy", + "majorVersion": 1 }, "oci_data_safe_alert_policy_rule": { "current": "oci:DataSafe/getAlertPolicyRule:getAlertPolicyRule", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false @@ -41545,6 +25838,7 @@ }, "oci_data_safe_alert_policy_rules": { "current": "oci:DataSafe/getAlertPolicyRules:getAlertPolicyRules", + "majorVersion": 1, "fields": { "alert_policy_rule_collection": { "maxItemsOne": false, @@ -41570,6 +25864,7 @@ }, "oci_data_safe_alerts": { "current": "oci:DataSafe/getAlerts:getAlerts", + "majorVersion": 1, "fields": { "alert_collection": { "maxItemsOne": false, @@ -41607,10 +25902,12 @@ } }, "oci_data_safe_audit_archive_retrieval": { - "current": "oci:DataSafe/getAuditArchiveRetrieval:getAuditArchiveRetrieval" + "current": "oci:DataSafe/getAuditArchiveRetrieval:getAuditArchiveRetrieval", + "majorVersion": 1 }, "oci_data_safe_audit_archive_retrievals": { "current": "oci:DataSafe/getAuditArchiveRetrievals:getAuditArchiveRetrievals", + "majorVersion": 1, "fields": { "audit_archive_retrieval_collection": { "maxItemsOne": false, @@ -41636,6 +25933,7 @@ }, "oci_data_safe_audit_event": { "current": "oci:DataSafe/getAuditEvent:getAuditEvent", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false @@ -41644,6 +25942,7 @@ }, "oci_data_safe_audit_event_analytic": { "current": "oci:DataSafe/getAuditEventAnalytic:getAuditEventAnalytic", + "majorVersion": 1, "fields": { "group_by": { "maxItemsOne": false @@ -41702,6 +26001,7 @@ }, "oci_data_safe_audit_events": { "current": "oci:DataSafe/getAuditEvents:getAuditEvents", + "majorVersion": 1, "fields": { "audit_event_collection": { "maxItemsOne": false, @@ -41727,6 +26027,7 @@ }, "oci_data_safe_audit_policies": { "current": "oci:DataSafe/getAuditPolicies:getAuditPolicies", + "majorVersion": 1, "fields": { "audit_policy_collection": { "maxItemsOne": false, @@ -41783,6 +26084,7 @@ }, "oci_data_safe_audit_policy": { "current": "oci:DataSafe/getAuditPolicy:getAuditPolicy", + "majorVersion": 1, "fields": { "audit_conditions": { "maxItemsOne": false, @@ -41815,6 +26117,7 @@ }, "oci_data_safe_audit_profile": { "current": "oci:DataSafe/getAuditProfile:getAuditProfile", + "majorVersion": 1, "fields": { "audit_trails": { "maxItemsOne": false @@ -41823,6 +26126,7 @@ }, "oci_data_safe_audit_profile_analytic": { "current": "oci:DataSafe/getAuditProfileAnalytic:getAuditProfileAnalytic", + "majorVersion": 1, "fields": { "group_by": { "maxItemsOne": false @@ -41841,6 +26145,7 @@ }, "oci_data_safe_audit_profile_available_audit_volume": { "current": "oci:DataSafe/getAuditProfileAvailableAuditVolume:getAuditProfileAvailableAuditVolume", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false @@ -41849,6 +26154,7 @@ }, "oci_data_safe_audit_profile_available_audit_volumes": { "current": "oci:DataSafe/getAuditProfileAvailableAuditVolumes:getAuditProfileAvailableAuditVolumes", + "majorVersion": 1, "fields": { "available_audit_volume_collection": { "maxItemsOne": false, @@ -41881,6 +26187,7 @@ }, "oci_data_safe_audit_profile_collected_audit_volume": { "current": "oci:DataSafe/getAuditProfileCollectedAuditVolume:getAuditProfileCollectedAuditVolume", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false @@ -41889,6 +26196,7 @@ }, "oci_data_safe_audit_profile_collected_audit_volumes": { "current": "oci:DataSafe/getAuditProfileCollectedAuditVolumes:getAuditProfileCollectedAuditVolumes", + "majorVersion": 1, "fields": { "collected_audit_volume_collection": { "maxItemsOne": false, @@ -41921,6 +26229,7 @@ }, "oci_data_safe_audit_profiles": { "current": "oci:DataSafe/getAuditProfiles:getAuditProfiles", + "majorVersion": 1, "fields": { "audit_profile_collection": { "maxItemsOne": false, @@ -41952,10 +26261,12 @@ } }, "oci_data_safe_audit_trail": { - "current": "oci:DataSafe/getAuditTrail:getAuditTrail" + "current": "oci:DataSafe/getAuditTrail:getAuditTrail", + "majorVersion": 1 }, "oci_data_safe_audit_trail_analytic": { "current": "oci:DataSafe/getAuditTrailAnalytic:getAuditTrailAnalytic", + "majorVersion": 1, "fields": { "group_by": { "maxItemsOne": false @@ -41974,6 +26285,7 @@ }, "oci_data_safe_audit_trails": { "current": "oci:DataSafe/getAuditTrails:getAuditTrails", + "majorVersion": 1, "fields": { "audit_trail_collection": { "maxItemsOne": false, @@ -41999,6 +26311,7 @@ }, "oci_data_safe_compatible_formats_for_data_type": { "current": "oci:DataSafe/getCompatibleFormatsForDataType:getCompatibleFormatsForDataType", + "majorVersion": 1, "fields": { "formats_for_data_type": { "maxItemsOne": false, @@ -42014,6 +26327,7 @@ }, "oci_data_safe_compatible_formats_for_sensitive_type": { "current": "oci:DataSafe/getCompatibleFormatsForSensitiveType:getCompatibleFormatsForSensitiveType", + "majorVersion": 1, "fields": { "formats_for_sensitive_type": { "maxItemsOne": false, @@ -42029,6 +26343,7 @@ }, "oci_data_safe_data_safe_configuration": { "current": "oci:DataSafe/getDataSafeConfiguration:getDataSafeConfiguration", + "majorVersion": 1, "fields": { "global_settings": { "maxItemsOne": false @@ -42037,6 +26352,7 @@ }, "oci_data_safe_data_safe_private_endpoint": { "current": "oci:DataSafe/getDataSafePrivateEndpoint:getDataSafePrivateEndpoint", + "majorVersion": 1, "fields": { "nsg_ids": { "maxItemsOne": false @@ -42045,6 +26361,7 @@ }, "oci_data_safe_data_safe_private_endpoints": { "current": "oci:DataSafe/getDataSafePrivateEndpoints:getDataSafePrivateEndpoints", + "majorVersion": 1, "fields": { "data_safe_private_endpoints": { "maxItemsOne": false, @@ -42070,6 +26387,7 @@ }, "oci_data_safe_discovery_analytic": { "current": "oci:DataSafe/getDiscoveryAnalytic:getDiscoveryAnalytic", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false, @@ -42085,6 +26403,7 @@ }, "oci_data_safe_discovery_analytics": { "current": "oci:DataSafe/getDiscoveryAnalytics:getDiscoveryAnalytics", + "majorVersion": 1, "fields": { "discovery_analytics_collection": { "maxItemsOne": false, @@ -42117,6 +26436,7 @@ }, "oci_data_safe_discovery_job": { "current": "oci:DataSafe/getDiscoveryJob:getDiscoveryJob", + "majorVersion": 1, "fields": { "schemas_for_discovery": { "maxItemsOne": false @@ -42128,6 +26448,7 @@ }, "oci_data_safe_discovery_jobs_result": { "current": "oci:DataSafe/getDiscoveryJobsResult:getDiscoveryJobsResult", + "majorVersion": 1, "fields": { "app_defined_child_column_keys": { "maxItemsOne": false @@ -42158,6 +26479,7 @@ }, "oci_data_safe_discovery_jobs_results": { "current": "oci:DataSafe/getDiscoveryJobsResults:getDiscoveryJobsResults", + "majorVersion": 1, "fields": { "column_name": { "maxItemsOne": false @@ -42221,6 +26543,7 @@ }, "oci_data_safe_library_masking_format": { "current": "oci:DataSafe/getLibraryMaskingFormat:getLibraryMaskingFormat", + "majorVersion": 1, "fields": { "format_entries": { "maxItemsOne": false, @@ -42242,6 +26565,7 @@ }, "oci_data_safe_library_masking_formats": { "current": "oci:DataSafe/getLibraryMaskingFormats:getLibraryMaskingFormats", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -42287,6 +26611,7 @@ }, "oci_data_safe_list_user_grants": { "current": "oci:DataSafe/getListUserGrants:getListUserGrants", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -42305,6 +26630,7 @@ }, "oci_data_safe_masking_analytic": { "current": "oci:DataSafe/getMaskingAnalytic:getMaskingAnalytic", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false, @@ -42320,6 +26646,7 @@ }, "oci_data_safe_masking_analytics": { "current": "oci:DataSafe/getMaskingAnalytics:getMaskingAnalytics", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -42352,6 +26679,7 @@ }, "oci_data_safe_masking_policies": { "current": "oci:DataSafe/getMaskingPolicies:getMaskingPolicies", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -42384,6 +26712,7 @@ }, "oci_data_safe_masking_policies_masking_column": { "current": "oci:DataSafe/getMaskingPoliciesMaskingColumn:getMaskingPoliciesMaskingColumn", + "majorVersion": 1, "fields": { "child_columns": { "maxItemsOne": false @@ -42412,6 +26741,7 @@ }, "oci_data_safe_masking_policies_masking_columns": { "current": "oci:DataSafe/getMaskingPoliciesMaskingColumns:getMaskingPoliciesMaskingColumns", + "majorVersion": 1, "fields": { "column_name": { "maxItemsOne": false @@ -42482,6 +26812,7 @@ }, "oci_data_safe_masking_policy": { "current": "oci:DataSafe/getMaskingPolicy:getMaskingPolicy", + "majorVersion": 1, "fields": { "column_source": { "maxItemsOne": false @@ -42490,6 +26821,7 @@ }, "oci_data_safe_masking_policy_masking_objects": { "current": "oci:DataSafe/getMaskingPolicyMaskingObjects:getMaskingPolicyMaskingObjects", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -42524,6 +26856,7 @@ }, "oci_data_safe_masking_policy_masking_schemas": { "current": "oci:DataSafe/getMaskingPolicyMaskingSchemas:getMaskingPolicyMaskingSchemas", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -42551,10 +26884,12 @@ } }, "oci_data_safe_masking_report": { - "current": "oci:DataSafe/getMaskingReport:getMaskingReport" + "current": "oci:DataSafe/getMaskingReport:getMaskingReport", + "majorVersion": 1 }, "oci_data_safe_masking_reports": { "current": "oci:DataSafe/getMaskingReports:getMaskingReports", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -42580,6 +26915,7 @@ }, "oci_data_safe_masking_reports_masked_column": { "current": "oci:DataSafe/getMaskingReportsMaskedColumn:getMaskingReportsMaskedColumn", + "majorVersion": 1, "fields": { "column_name": { "maxItemsOne": false @@ -42603,6 +26939,7 @@ }, "oci_data_safe_masking_reports_masked_columns": { "current": "oci:DataSafe/getMaskingReportMaskedColumns:getMaskingReportMaskedColumns", + "majorVersion": 1, "fields": { "column_name": { "maxItemsOne": false @@ -42642,10 +26979,12 @@ } }, "oci_data_safe_on_prem_connector": { - "current": "oci:DataSafe/getOnpremConnector:getOnpremConnector" + "current": "oci:DataSafe/getOnpremConnector:getOnpremConnector", + "majorVersion": 1 }, "oci_data_safe_on_prem_connectors": { "current": "oci:DataSafe/getOnpremConnectors:getOnpremConnectors", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -42663,13 +27002,16 @@ } }, "oci_data_safe_report": { - "current": "oci:DataSafe/getReport:getReport" + "current": "oci:DataSafe/getReport:getReport", + "majorVersion": 1 }, "oci_data_safe_report_content": { - "current": "oci:DataSafe/getReportContent:getReportContent" + "current": "oci:DataSafe/getReportContent:getReportContent", + "majorVersion": 1 }, "oci_data_safe_report_definition": { "current": "oci:DataSafe/getReportDefinition:getReportDefinition", + "majorVersion": 1, "fields": { "column_filters": { "maxItemsOne": false, @@ -42697,6 +27039,7 @@ }, "oci_data_safe_report_definitions": { "current": "oci:DataSafe/getReportDefinitions:getReportDefinitions", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -42748,6 +27091,7 @@ }, "oci_data_safe_reports": { "current": "oci:DataSafe/getReports:getReports", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -42772,13 +27116,16 @@ } }, "oci_data_safe_sdm_masking_policy_difference": { - "current": "oci:DataSafe/getSdmMaskingPolicyDifference:getSdmMaskingPolicyDifference" + "current": "oci:DataSafe/getSdmMaskingPolicyDifference:getSdmMaskingPolicyDifference", + "majorVersion": 1 }, "oci_data_safe_sdm_masking_policy_difference_difference_column": { - "current": "oci:DataSafe/getSdmMaskingPolicyDifferenceDifferenceColumn:getSdmMaskingPolicyDifferenceDifferenceColumn" + "current": "oci:DataSafe/getSdmMaskingPolicyDifferenceDifferenceColumn:getSdmMaskingPolicyDifferenceDifferenceColumn", + "majorVersion": 1 }, "oci_data_safe_sdm_masking_policy_difference_difference_columns": { "current": "oci:DataSafe/getSdmMaskingPolicyDifferenceDifferenceColumns:getSdmMaskingPolicyDifferenceDifferenceColumns", + "majorVersion": 1, "fields": { "column_name": { "maxItemsOne": false @@ -42813,6 +27160,7 @@ }, "oci_data_safe_sdm_masking_policy_differences": { "current": "oci:DataSafe/getSdmMaskingPolicyDifferences:getSdmMaskingPolicyDifferences", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -42838,6 +27186,7 @@ }, "oci_data_safe_security_assessment": { "current": "oci:DataSafe/getSecurityAssessment:getSecurityAssessment", + "majorVersion": 1, "fields": { "ignored_assessment_ids": { "maxItemsOne": false @@ -42877,6 +27226,7 @@ }, "oci_data_safe_security_assessment_comparison": { "current": "oci:DataSafe/getSecurityAssessmentComparison:getSecurityAssessmentComparison", + "majorVersion": 1, "fields": { "targets": { "maxItemsOne": false, @@ -43183,6 +27533,7 @@ }, "oci_data_safe_security_assessment_finding": { "current": "oci:DataSafe/getSecurityAssessmentFinding:getSecurityAssessmentFinding", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -43211,6 +27562,7 @@ }, "oci_data_safe_security_assessment_findings": { "current": "oci:DataSafe/getSecurityAssessmentFindings:getSecurityAssessmentFindings", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -43239,6 +27591,7 @@ }, "oci_data_safe_security_assessments": { "current": "oci:DataSafe/getSecurityAssessments:getSecurityAssessments", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -43295,6 +27648,7 @@ }, "oci_data_safe_sensitive_data_model": { "current": "oci:DataSafe/getSensitiveDataModel:getSensitiveDataModel", + "majorVersion": 1, "fields": { "schemas_for_discovery": { "maxItemsOne": false @@ -43306,6 +27660,7 @@ }, "oci_data_safe_sensitive_data_model_sensitive_objects": { "current": "oci:DataSafe/getSensitiveDataModelSensitiveObjects:getSensitiveDataModelSensitiveObjects", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -43340,6 +27695,7 @@ }, "oci_data_safe_sensitive_data_model_sensitive_schemas": { "current": "oci:DataSafe/getSensitiveDataModelSensitiveSchemas:getSensitiveDataModelSensitiveSchemas", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -43368,6 +27724,7 @@ }, "oci_data_safe_sensitive_data_models": { "current": "oci:DataSafe/getSensitiveDataModels:getSensitiveDataModels", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -43403,6 +27760,7 @@ }, "oci_data_safe_sensitive_data_models_sensitive_column": { "current": "oci:DataSafe/getSensitiveDataModelsSensitiveColumn:getSensitiveDataModelsSensitiveColumn", + "majorVersion": 1, "fields": { "app_defined_child_column_keys": { "maxItemsOne": false @@ -43423,6 +27781,7 @@ }, "oci_data_safe_sensitive_data_models_sensitive_columns": { "current": "oci:DataSafe/getSensitiveDataModelsSensitiveColumns:getSensitiveDataModelsSensitiveColumns", + "majorVersion": 1, "fields": { "column_name": { "maxItemsOne": false @@ -43493,10 +27852,12 @@ } }, "oci_data_safe_sensitive_type": { - "current": "oci:DataSafe/getSensitiveType:getSensitiveType" + "current": "oci:DataSafe/getSensitiveType:getSensitiveType", + "majorVersion": 1 }, "oci_data_safe_sensitive_types": { "current": "oci:DataSafe/getSensitiveTypes:getSensitiveTypes", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -43521,10 +27882,12 @@ } }, "oci_data_safe_target_alert_policy_association": { - "current": "oci:DataSafe/getTargetAlertPolicyAssociation:getTargetAlertPolicyAssociation" + "current": "oci:DataSafe/getTargetAlertPolicyAssociation:getTargetAlertPolicyAssociation", + "majorVersion": 1 }, "oci_data_safe_target_alert_policy_associations": { "current": "oci:DataSafe/getTargetAlertPolicyAssociations:getTargetAlertPolicyAssociations", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -43550,6 +27913,7 @@ }, "oci_data_safe_target_database": { "current": "oci:DataSafe/getTargetDatabase:getTargetDatabase", + "majorVersion": 1, "fields": { "associated_resource_ids": { "maxItemsOne": false @@ -43577,6 +27941,7 @@ }, "oci_data_safe_target_database_role": { "current": "oci:DataSafe/getTargetDatabaseRole:getTargetDatabaseRole", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -43598,6 +27963,7 @@ }, "oci_data_safe_target_database_roles": { "current": "oci:DataSafe/getTargetDatabaseRoles:getTargetDatabaseRoles", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -43619,6 +27985,7 @@ }, "oci_data_safe_target_databases": { "current": "oci:DataSafe/getTargetDatabases:getTargetDatabases", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -43663,6 +28030,7 @@ }, "oci_data_safe_target_databases_columns": { "current": "oci:DataSafe/getTargetDatabasesColumns:getTargetDatabasesColumns", + "majorVersion": 1, "fields": { "column_name": { "maxItemsOne": false @@ -43693,6 +28061,7 @@ }, "oci_data_safe_target_databases_schemas": { "current": "oci:DataSafe/getTargetDatabasesSchemas:getTargetDatabasesSchemas", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -43714,6 +28083,7 @@ }, "oci_data_safe_target_databases_tables": { "current": "oci:DataSafe/getTargetDatabasesTables:getTargetDatabasesTables", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -43738,6 +28108,7 @@ }, "oci_data_safe_user_assessment": { "current": "oci:DataSafe/getUserAssessment:getUserAssessment", + "majorVersion": 1, "fields": { "ignored_assessment_ids": { "maxItemsOne": false @@ -43752,6 +28123,7 @@ }, "oci_data_safe_user_assessment_comparison": { "current": "oci:DataSafe/getUserAssessmentComparison:getUserAssessmentComparison", + "majorVersion": 1, "fields": { "summary": { "maxItemsOne": false, @@ -43770,6 +28142,7 @@ }, "oci_data_safe_user_assessment_profile_analytics": { "current": "oci:DataSafe/getUserAssessmentProfileAnalytics:getUserAssessmentProfileAnalytics", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -43795,6 +28168,7 @@ }, "oci_data_safe_user_assessment_profiles": { "current": "oci:DataSafe/getUserAssessmentProfiles:getUserAssessmentProfiles", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -43813,6 +28187,7 @@ }, "oci_data_safe_user_assessment_user_analytics": { "current": "oci:DataSafe/getUserAssessmentUserAnalytics:getUserAssessmentUserAnalytics", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -43838,6 +28213,7 @@ }, "oci_data_safe_user_assessment_users": { "current": "oci:DataSafe/getUserAssessmentUsers:getUserAssessmentUsers", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -43866,6 +28242,7 @@ }, "oci_data_safe_user_assessments": { "current": "oci:DataSafe/getUserAssessments:getUserAssessments", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -43899,10 +28276,12 @@ } }, "oci_database_application_vip": { - "current": "oci:Database/getApplicationVip:getApplicationVip" + "current": "oci:Database/getApplicationVip:getApplicationVip", + "majorVersion": 1 }, "oci_database_application_vips": { "current": "oci:Database/getApplicationVips:getApplicationVips", + "majorVersion": 1, "fields": { "application_vips": { "maxItemsOne": false @@ -43921,6 +28300,7 @@ }, "oci_database_autonomous_container_database": { "current": "oci:Database/getAutonomousContainerDatabase:getAutonomousContainerDatabase", + "majorVersion": 1, "fields": { "backup_config": { "maxItemsOne": false, @@ -43989,10 +28369,12 @@ } }, "oci_database_autonomous_container_database_dataguard_association": { - "current": "oci:Database/getAutonomousContainerDatabaseDataguardAssociation:getAutonomousContainerDatabaseDataguardAssociation" + "current": "oci:Database/getAutonomousContainerDatabaseDataguardAssociation:getAutonomousContainerDatabaseDataguardAssociation", + "majorVersion": 1 }, "oci_database_autonomous_container_database_dataguard_associations": { "current": "oci:Database/getAutonomousContainerDatabaseDataguardAssociations:getAutonomousContainerDatabaseDataguardAssociations", + "majorVersion": 1, "fields": { "autonomous_container_database_dataguard_associations": { "maxItemsOne": false @@ -44011,6 +28393,7 @@ }, "oci_database_autonomous_container_database_resource_usage": { "current": "oci:Database/getAutonomousContainerDatabaseResourceUsage:getAutonomousContainerDatabaseResourceUsage", + "majorVersion": 1, "fields": { "autonomous_container_database_vm_usage": { "maxItemsOne": false @@ -44022,6 +28405,7 @@ }, "oci_database_autonomous_container_database_versions": { "current": "oci:Database/getAutonomousContainerDatabaseVersions:getAutonomousContainerDatabaseVersions", + "majorVersion": 1, "fields": { "autonomous_container_database_versions": { "maxItemsOne": false, @@ -44047,6 +28431,7 @@ }, "oci_database_autonomous_container_databases": { "current": "oci:Database/getAutonomousContainerDatabases:getAutonomousContainerDatabases", + "majorVersion": 1, "fields": { "autonomous_container_databases": { "maxItemsOne": false, @@ -44133,6 +28518,7 @@ }, "oci_database_autonomous_container_patches": { "current": "oci:Database/getAutonomousContainerPatches:getAutonomousContainerPatches", + "majorVersion": 1, "fields": { "autonomous_patches": { "maxItemsOne": false @@ -44151,6 +28537,7 @@ }, "oci_database_autonomous_database": { "current": "oci:Database/getAutonomousDatabase:getAutonomousDatabase", + "majorVersion": 1, "fields": { "apex_details": { "maxItemsOne": false @@ -44198,6 +28585,9 @@ "remote_disaster_recovery_configuration": { "maxItemsOne": false }, + "resource_pool_summary": { + "maxItemsOne": false + }, "scheduled_operations": { "maxItemsOne": false, "elem": { @@ -44224,6 +28614,7 @@ }, "oci_database_autonomous_database_backup": { "current": "oci:Database/getAutonomousDatabaseBackup:getAutonomousDatabaseBackup", + "majorVersion": 1, "fields": { "backup_destination_details": { "maxItemsOne": false @@ -44232,6 +28623,7 @@ }, "oci_database_autonomous_database_backups": { "current": "oci:Database/getAutonomousDatabaseBackups:getAutonomousDatabaseBackups", + "majorVersion": 1, "fields": { "autonomous_database_backups": { "maxItemsOne": false, @@ -44257,6 +28649,7 @@ }, "oci_database_autonomous_database_character_sets": { "current": "oci:Database/getAutonomousCharacterSets:getAutonomousCharacterSets", + "majorVersion": 1, "fields": { "autonomous_database_character_sets": { "maxItemsOne": false @@ -44274,10 +28667,12 @@ } }, "oci_database_autonomous_database_dataguard_association": { - "current": "oci:Database/getAutonomousDatabaseDataguardAssociation:getAutonomousDatabaseDataguardAssociation" + "current": "oci:Database/getAutonomousDatabaseDataguardAssociation:getAutonomousDatabaseDataguardAssociation", + "majorVersion": 1 }, "oci_database_autonomous_database_dataguard_associations": { "current": "oci:Database/getAutonomousDatabaseDataguardAssociations:getAutonomousDatabaseDataguardAssociations", + "majorVersion": 1, "fields": { "autonomous_database_dataguard_associations": { "maxItemsOne": false @@ -44295,10 +28690,12 @@ } }, "oci_database_autonomous_database_instance_wallet_management": { - "current": "oci:Database/getAutonomousDatabaseInstanceWalletManagement:getAutonomousDatabaseInstanceWalletManagement" + "current": "oci:Database/getAutonomousDatabaseInstanceWalletManagement:getAutonomousDatabaseInstanceWalletManagement", + "majorVersion": 1 }, "oci_database_autonomous_database_refreshable_clones": { "current": "oci:Database/getAutonomousDatabaseRefreshableClones:getAutonomousDatabaseRefreshableClones", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -44323,13 +28720,16 @@ } }, "oci_database_autonomous_database_regional_wallet_management": { - "current": "oci:Database/getAutonomousDatabaseRegionalWalletManagement:getAutonomousDatabaseRegionalWalletManagement" + "current": "oci:Database/getAutonomousDatabaseRegionalWalletManagement:getAutonomousDatabaseRegionalWalletManagement", + "majorVersion": 1 }, "oci_database_autonomous_database_wallet": { - "current": "oci:Database/getAutonomousDatabaseWallet:getAutonomousDatabaseWallet" + "current": "oci:Database/getAutonomousDatabaseWallet:getAutonomousDatabaseWallet", + "majorVersion": 1 }, "oci_database_autonomous_databases": { "current": "oci:Database/getAutonomousDatabases:getAutonomousDatabases", + "majorVersion": 1, "fields": { "autonomous_databases": { "maxItemsOne": false, @@ -44381,6 +28781,9 @@ "remote_disaster_recovery_configuration": { "maxItemsOne": false }, + "resource_pool_summary": { + "maxItemsOne": false + }, "scheduled_operations": { "maxItemsOne": false, "elem": { @@ -44420,6 +28823,7 @@ }, "oci_database_autonomous_databases_clones": { "current": "oci:Database/getAutonomousDatabasesClones:getAutonomousDatabasesClones", + "majorVersion": 1, "fields": { "autonomous_databases": { "maxItemsOne": false, @@ -44471,6 +28875,9 @@ "remote_disaster_recovery_configuration": { "maxItemsOne": false }, + "resource_pool_summary": { + "maxItemsOne": false + }, "scheduled_operations": { "maxItemsOne": false, "elem": { @@ -44510,6 +28917,7 @@ }, "oci_database_autonomous_db_preview_versions": { "current": "oci:Database/getAutonomousDbPreviewVersions:getAutonomousDbPreviewVersions", + "majorVersion": 1, "fields": { "autonomous_db_preview_versions": { "maxItemsOne": false @@ -44528,6 +28936,7 @@ }, "oci_database_autonomous_db_versions": { "current": "oci:Database/getAutonomousDbVersions:getAutonomousDbVersions", + "majorVersion": 1, "fields": { "autonomous_db_versions": { "maxItemsOne": false @@ -44546,6 +28955,7 @@ }, "oci_database_autonomous_exadata_infrastructure": { "current": "oci:Database/getAutonomousExadataInfrastructure:getAutonomousExadataInfrastructure", + "majorVersion": 1, "fields": { "maintenance_window": { "maxItemsOne": false, @@ -44592,6 +29002,7 @@ }, "oci_database_autonomous_exadata_infrastructure_ocpu": { "current": "oci:Database/getAutonomousExadataInfrastructureOcpu:getAutonomousExadataInfrastructureOcpu", + "majorVersion": 1, "fields": { "by_workload_type": { "maxItemsOne": false @@ -44600,6 +29011,7 @@ }, "oci_database_autonomous_exadata_infrastructure_shapes": { "current": "oci:Database/getAutonomousExadataInfrastructureShapes:getAutonomousExadataInfrastructureShapes", + "majorVersion": 1, "fields": { "autonomous_exadata_infrastructure_shapes": { "maxItemsOne": false @@ -44618,6 +29030,7 @@ }, "oci_database_autonomous_exadata_infrastructures": { "current": "oci:Database/getAutonomousExadataInfrastructures:getAutonomousExadataInfrastructures", + "majorVersion": 1, "fields": { "autonomous_exadata_infrastructures": { "maxItemsOne": false, @@ -44680,13 +29093,16 @@ } }, "oci_database_autonomous_patch": { - "current": "oci:Database/getAutonomousPatch:getAutonomousPatch" + "current": "oci:Database/getAutonomousPatch:getAutonomousPatch", + "majorVersion": 1 }, "oci_database_autonomous_virtual_machine": { - "current": "oci:Database/getAutonomousVirtualMachine:getAutonomousVirtualMachine" + "current": "oci:Database/getAutonomousVirtualMachine:getAutonomousVirtualMachine", + "majorVersion": 1 }, "oci_database_autonomous_virtual_machines": { "current": "oci:Database/getAutonomousVirtualMachines:getAutonomousVirtualMachines", + "majorVersion": 1, "fields": { "autonomous_virtual_machines": { "maxItemsOne": false @@ -44705,6 +29121,7 @@ }, "oci_database_autonomous_vm_cluster": { "current": "oci:Database/getAutonomousVmCluster:getAutonomousVmCluster", + "majorVersion": 1, "fields": { "db_servers": { "maxItemsOne": false @@ -44751,6 +29168,7 @@ }, "oci_database_autonomous_vm_clusters": { "current": "oci:Database/getAutonomousVmClusters:getAutonomousVmClusters", + "majorVersion": 1, "fields": { "autonomous_vm_clusters": { "maxItemsOne": false, @@ -44814,6 +29232,7 @@ }, "oci_database_backup_destination": { "current": "oci:Database/getBackupDestination:getBackupDestination", + "majorVersion": 1, "fields": { "associated_databases": { "maxItemsOne": false @@ -44838,6 +29257,7 @@ }, "oci_database_backup_destinations": { "current": "oci:Database/getBackupDestinations:getBackupDestinations", + "majorVersion": 1, "fields": { "backup_destinations": { "maxItemsOne": false, @@ -44879,6 +29299,7 @@ }, "oci_database_backups": { "current": "oci:Database/getBackups:getBackups", + "majorVersion": 1, "fields": { "backups": { "maxItemsOne": false @@ -44897,6 +29318,7 @@ }, "oci_database_cloud_autonomous_vm_cluster": { "current": "oci:Database/getCloudAutonomousVmCluster:getCloudAutonomousVmCluster", + "majorVersion": 1, "fields": { "db_servers": { "maxItemsOne": false @@ -44946,6 +29368,7 @@ }, "oci_database_cloud_autonomous_vm_cluster_acd_resource_usages": { "current": "oci:Database/getCloudAutonomousVmClusterAcdResourceUsages:getCloudAutonomousVmClusterAcdResourceUsages", + "majorVersion": 1, "fields": { "autonomous_container_database_resource_usages": { "maxItemsOne": false, @@ -44974,6 +29397,7 @@ }, "oci_database_cloud_autonomous_vm_cluster_resource_usage": { "current": "oci:Database/getCloudAutonomousVmClusterResourceUsage:getCloudAutonomousVmClusterResourceUsage", + "majorVersion": 1, "fields": { "autonomous_vm_resource_usage": { "maxItemsOne": false, @@ -44989,6 +29413,7 @@ }, "oci_database_cloud_autonomous_vm_clusters": { "current": "oci:Database/getCloudAutonomousVmClusters:getCloudAutonomousVmClusters", + "majorVersion": 1, "fields": { "cloud_autonomous_vm_clusters": { "maxItemsOne": false, @@ -45055,6 +29480,7 @@ }, "oci_database_cloud_exadata_infrastructure": { "current": "oci:Database/getCloudExadataInfrastructure:getCloudExadataInfrastructure", + "majorVersion": 1, "fields": { "customer_contacts": { "maxItemsOne": false @@ -45082,6 +29508,7 @@ }, "oci_database_cloud_exadata_infrastructure_un_allocated_resource": { "current": "oci:Database/getCloudExadataInfrastructureUnAllocatedResource:getCloudExadataInfrastructureUnAllocatedResource", + "majorVersion": 1, "fields": { "cloud_autonomous_vm_clusters": { "maxItemsOne": false @@ -45093,6 +29520,7 @@ }, "oci_database_cloud_exadata_infrastructures": { "current": "oci:Database/getCloudExadataInfrastructures:getCloudExadataInfrastructures", + "majorVersion": 1, "fields": { "cloud_exadata_infrastructures": { "maxItemsOne": false, @@ -45137,6 +29565,7 @@ }, "oci_database_cloud_vm_cluster": { "current": "oci:Database/getCloudVmCluster:getCloudVmCluster", + "majorVersion": 1, "fields": { "backup_network_nsg_ids": { "maxItemsOne": false @@ -45173,6 +29602,7 @@ }, "oci_database_cloud_vm_cluster_iorm_config": { "current": "oci:Database/getCloudVmClusterIormConfig:getCloudVmClusterIormConfig", + "majorVersion": 1, "fields": { "db_plans": { "maxItemsOne": false @@ -45181,6 +29611,7 @@ }, "oci_database_cloud_vm_clusters": { "current": "oci:Database/getCloudVmClusters:getCloudVmClusters", + "majorVersion": 1, "fields": { "cloud_vm_clusters": { "maxItemsOne": false, @@ -45234,6 +29665,7 @@ }, "oci_database_data_guard_association": { "current": "oci:Database/getDataGuardAssociation:getDataGuardAssociation", + "majorVersion": 1, "fields": { "backup_network_nsg_ids": { "maxItemsOne": false @@ -45251,6 +29683,7 @@ }, "oci_database_data_guard_associations": { "current": "oci:Database/getDataGuardAssociations:getDataGuardAssociations", + "majorVersion": 1, "fields": { "data_guard_associations": { "maxItemsOne": false, @@ -45285,6 +29718,7 @@ }, "oci_database_database": { "current": "oci:Database/getDatabase:getDatabase", + "majorVersion": 1, "fields": { "connection_strings": { "maxItemsOne": false @@ -45323,6 +29757,7 @@ }, "oci_database_database_pdb_conversion_history_entries": { "current": "oci:Database/getDatabasePdbConversionHistoryEntries:getDatabasePdbConversionHistoryEntries", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -45340,10 +29775,12 @@ } }, "oci_database_database_pdb_conversion_history_entry": { - "current": "oci:Database/getDatabasePdbConversionHistoryEntry:getDatabasePdbConversionHistoryEntry" + "current": "oci:Database/getDatabasePdbConversionHistoryEntry:getDatabasePdbConversionHistoryEntry", + "majorVersion": 1 }, "oci_database_database_software_image": { "current": "oci:Database/getDatabaseSoftwareImage:getDatabaseSoftwareImage", + "majorVersion": 1, "fields": { "database_software_image_included_patches": { "maxItemsOne": false @@ -45355,6 +29792,7 @@ }, "oci_database_database_software_images": { "current": "oci:Database/getDatabaseSoftwareImages:getDatabaseSoftwareImages", + "majorVersion": 1, "fields": { "database_software_images": { "maxItemsOne": false, @@ -45383,6 +29821,7 @@ }, "oci_database_database_upgrade_history_entries": { "current": "oci:Database/getDatabaseUpgradeHistoryEntries:getDatabaseUpgradeHistoryEntries", + "majorVersion": 1, "fields": { "database_upgrade_history_entries": { "maxItemsOne": false @@ -45400,10 +29839,12 @@ } }, "oci_database_database_upgrade_history_entry": { - "current": "oci:Database/getDatabaseUpgradeHistoryEntry:getDatabaseUpgradeHistoryEntry" + "current": "oci:Database/getDatabaseUpgradeHistoryEntry:getDatabaseUpgradeHistoryEntry", + "majorVersion": 1 }, "oci_database_databases": { "current": "oci:Database/getDatabases:getDatabases", + "majorVersion": 1, "fields": { "databases": { "maxItemsOne": false, @@ -45459,6 +29900,7 @@ }, "oci_database_db_home": { "current": "oci:Database/getDbHome:getDbHome", + "majorVersion": 1, "fields": { "database": { "maxItemsOne": false, @@ -45487,6 +29929,7 @@ }, "oci_database_db_home_patch_history_entries": { "current": "oci:Database/getDbHomePatchHistoryEntries:getDbHomePatchHistoryEntries", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -45505,6 +29948,7 @@ }, "oci_database_db_home_patches": { "current": "oci:Database/getDbHomePatches:getDbHomePatches", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -45530,6 +29974,7 @@ }, "oci_database_db_homes": { "current": "oci:Database/getDbHomes:getDbHomes", + "majorVersion": 1, "fields": { "db_homes": { "maxItemsOne": false, @@ -45574,13 +30019,16 @@ } }, "oci_database_db_node": { - "current": "oci:Database/getDbNode:getDbNode" + "current": "oci:Database/getDbNode:getDbNode", + "majorVersion": 1 }, "oci_database_db_node_console_connection": { - "current": "oci:Database/getDbNodeConsoleConnection:getDbNodeConsoleConnection" + "current": "oci:Database/getDbNodeConsoleConnection:getDbNodeConsoleConnection", + "majorVersion": 1 }, "oci_database_db_node_console_connections": { "current": "oci:Database/getDbNodeConsoleConnections:getDbNodeConsoleConnections", + "majorVersion": 1, "fields": { "console_connections": { "maxItemsOne": false @@ -45599,6 +30047,7 @@ }, "oci_database_db_nodes": { "current": "oci:Database/getDbNodes:getDbNodes", + "majorVersion": 1, "fields": { "db_nodes": { "maxItemsOne": false @@ -45617,6 +30066,7 @@ }, "oci_database_db_server": { "current": "oci:Database/getDbServer:getDbServer", + "majorVersion": 1, "fields": { "autonomous_virtual_machine_ids": { "maxItemsOne": false @@ -45637,6 +30087,7 @@ }, "oci_database_db_servers": { "current": "oci:Database/getDbServers:getDbServers", + "majorVersion": 1, "fields": { "db_servers": { "maxItemsOne": false, @@ -45674,6 +30125,7 @@ }, "oci_database_db_system_compute_performances": { "current": "oci:Database/getDbSystemComputePerformances:getDbSystemComputePerformances", + "majorVersion": 1, "fields": { "db_system_compute_performances": { "maxItemsOne": false, @@ -45699,6 +30151,7 @@ }, "oci_database_db_system_patch_history_entries": { "current": "oci:Database/getDbSystemHistoryEntries:getDbSystemHistoryEntries", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -45717,6 +30170,7 @@ }, "oci_database_db_system_patches": { "current": "oci:Database/getDbSystemPatches:getDbSystemPatches", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -45742,6 +30196,7 @@ }, "oci_database_db_system_shapes": { "current": "oci:Database/getDbSystemShapes:getDbSystemShapes", + "majorVersion": 1, "fields": { "db_system_shapes": { "maxItemsOne": false @@ -45760,6 +30215,7 @@ }, "oci_database_db_system_storage_performances": { "current": "oci:Database/getDbSystemStoragePerformances:getDbSystemStoragePerformances", + "majorVersion": 1, "fields": { "db_system_storage_performances": { "maxItemsOne": false, @@ -45808,6 +30264,7 @@ }, "oci_database_db_systems": { "current": "oci:Database/getDbSystems:getDbSystems", + "majorVersion": 1, "fields": { "db_systems": { "maxItemsOne": false, @@ -45929,6 +30386,7 @@ }, "oci_database_db_systems_upgrade_history_entries": { "current": "oci:Database/getDbSystemsUpgradeHistoryEntries:getDbSystemsUpgradeHistoryEntries", + "majorVersion": 1, "fields": { "db_system_upgrade_history_entries": { "maxItemsOne": false @@ -45946,10 +30404,12 @@ } }, "oci_database_db_systems_upgrade_history_entry": { - "current": "oci:Database/getDbSystemsUpgradeHistoryEntry:getDbSystemsUpgradeHistoryEntry" + "current": "oci:Database/getDbSystemsUpgradeHistoryEntry:getDbSystemsUpgradeHistoryEntry", + "majorVersion": 1 }, "oci_database_db_versions": { "current": "oci:Database/getDbVersions:getDbVersions", + "majorVersion": 1, "fields": { "db_versions": { "maxItemsOne": false @@ -45968,6 +30428,7 @@ }, "oci_database_exadata_infrastructure": { "current": "oci:Database/getExadataInfrastructure:getExadataInfrastructure", + "majorVersion": 1, "fields": { "contacts": { "maxItemsOne": false @@ -46003,10 +30464,12 @@ } }, "oci_database_exadata_infrastructure_download_config_file": { - "current": "oci:Database/getExadataInfrastructureDownloadConfigFile:getExadataInfrastructureDownloadConfigFile" + "current": "oci:Database/getExadataInfrastructureDownloadConfigFile:getExadataInfrastructureDownloadConfigFile", + "majorVersion": 1 }, "oci_database_exadata_infrastructure_un_allocated_resource": { "current": "oci:Database/getExadataInfrastructureUnAllocatedResource:getExadataInfrastructureUnAllocatedResource", + "majorVersion": 1, "fields": { "autonomous_vm_clusters": { "maxItemsOne": false @@ -46018,6 +30481,7 @@ }, "oci_database_exadata_infrastructures": { "current": "oci:Database/getExadataInfrastructures:getExadataInfrastructures", + "majorVersion": 1, "fields": { "exadata_infrastructures": { "maxItemsOne": false, @@ -46071,6 +30535,7 @@ }, "oci_database_exadata_iorm_config": { "current": "oci:Database/getExadataIormConfig:getExadataIormConfig", + "majorVersion": 1, "fields": { "db_plans": { "maxItemsOne": false @@ -46079,6 +30544,7 @@ }, "oci_database_external_container_database": { "current": "oci:Database/getExternalContainerDatabase:getExternalContainerDatabase", + "majorVersion": 1, "fields": { "database_management_config": { "maxItemsOne": false @@ -46090,6 +30556,7 @@ }, "oci_database_external_container_databases": { "current": "oci:Database/getExternalContainerDatabases:getExternalContainerDatabases", + "majorVersion": 1, "fields": { "external_container_databases": { "maxItemsOne": false, @@ -46118,6 +30585,7 @@ }, "oci_database_external_database_connector": { "current": "oci:Database/getExternalDatabaseConnector:getExternalDatabaseConnector", + "majorVersion": 1, "fields": { "connection_credentials": { "maxItemsOne": false @@ -46129,6 +30597,7 @@ }, "oci_database_external_database_connectors": { "current": "oci:Database/getExternalDatabaseConnectors:getExternalDatabaseConnectors", + "majorVersion": 1, "fields": { "external_database_connectors": { "maxItemsOne": false, @@ -46157,6 +30626,7 @@ }, "oci_database_external_non_container_database": { "current": "oci:Database/getExternalNonContainerDatabase:getExternalNonContainerDatabase", + "majorVersion": 1, "fields": { "database_management_config": { "maxItemsOne": false @@ -46171,6 +30641,7 @@ }, "oci_database_external_non_container_databases": { "current": "oci:Database/getExternalNonContainerDatabases:getExternalNonContainerDatabases", + "majorVersion": 1, "fields": { "external_non_container_databases": { "maxItemsOne": false, @@ -46202,6 +30673,7 @@ }, "oci_database_external_pluggable_database": { "current": "oci:Database/getExternalPluggableDatabase:getExternalPluggableDatabase", + "majorVersion": 1, "fields": { "database_management_config": { "maxItemsOne": false @@ -46216,6 +30688,7 @@ }, "oci_database_external_pluggable_databases": { "current": "oci:Database/getExternalPluggableDatabases:getExternalPluggableDatabases", + "majorVersion": 1, "fields": { "external_pluggable_databases": { "maxItemsOne": false, @@ -46247,6 +30720,7 @@ }, "oci_database_flex_components": { "current": "oci:Database/getFlexComponents:getFlexComponents", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -46272,6 +30746,7 @@ }, "oci_database_gi_versions": { "current": "oci:Database/getGiVersions:getGiVersions", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -46290,6 +30765,7 @@ }, "oci_database_infrastructure_target_version": { "current": "oci:Database/getInfrastructureTargetVersion:getInfrastructureTargetVersion", + "majorVersion": 1, "fields": { "target_db_version_history_entry": { "maxItemsOne": false @@ -46301,6 +30777,7 @@ }, "oci_database_key_store": { "current": "oci:Database/getKeyStore:getKeyStore", + "majorVersion": 1, "fields": { "associated_databases": { "maxItemsOne": false @@ -46319,6 +30796,7 @@ }, "oci_database_key_stores": { "current": "oci:Database/getKeyStores:getKeyStores", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -46354,6 +30832,7 @@ }, "oci_database_maintenance_run": { "current": "oci:Database/getMaintenanceRun:getMaintenanceRun", + "majorVersion": 1, "fields": { "estimated_patching_time": { "maxItemsOne": false @@ -46362,6 +30841,7 @@ }, "oci_database_maintenance_run_histories": { "current": "oci:Database/getDatabaseMaintenanceRunHistories:getDatabaseMaintenanceRunHistories", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -46404,6 +30884,7 @@ }, "oci_database_maintenance_run_history": { "current": "oci:Database/getDatabaseMaintenanceRunHistory:getDatabaseMaintenanceRunHistory", + "majorVersion": 1, "fields": { "db_servers_history_details": { "maxItemsOne": false, @@ -46429,6 +30910,7 @@ }, "oci_database_maintenance_runs": { "current": "oci:Database/getMaintenanceRuns:getMaintenanceRuns", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -46454,6 +30936,7 @@ }, "oci_database_management_db_management_private_endpoint": { "current": "oci:DatabaseManagement/getDbManagementPrivateEndpoint:getDbManagementPrivateEndpoint", + "majorVersion": 1, "fields": { "nsg_ids": { "maxItemsOne": false @@ -46462,6 +30945,7 @@ }, "oci_database_management_db_management_private_endpoint_associated_database": { "current": "oci:DatabaseManagement/getDbManagementPrivateEndpointAssociatedDatabase:getDbManagementPrivateEndpointAssociatedDatabase", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false @@ -46470,6 +30954,7 @@ }, "oci_database_management_db_management_private_endpoint_associated_databases": { "current": "oci:DatabaseManagement/getDbManagementPrivateEndpointAssociatedDatabases:getDbManagementPrivateEndpointAssociatedDatabases", + "majorVersion": 1, "fields": { "associated_database_collection": { "maxItemsOne": false, @@ -46495,6 +30980,7 @@ }, "oci_database_management_db_management_private_endpoints": { "current": "oci:DatabaseManagement/getDbManagementPrivateEndpoints:getDbManagementPrivateEndpoints", + "majorVersion": 1, "fields": { "db_management_private_endpoint_collection": { "maxItemsOne": false, @@ -46527,6 +31013,7 @@ }, "oci_database_management_external_asm": { "current": "oci:DatabaseManagement/getExternalAsm:getExternalAsm", + "majorVersion": 1, "fields": { "serviced_databases": { "maxItemsOne": false, @@ -46542,6 +31029,7 @@ }, "oci_database_management_external_asm_configuration": { "current": "oci:DatabaseManagement/getExternalAsmConfiguration:getExternalAsmConfiguration", + "majorVersion": 1, "fields": { "init_parameters": { "maxItemsOne": false, @@ -46560,6 +31048,7 @@ }, "oci_database_management_external_asm_disk_groups": { "current": "oci:DatabaseManagement/getExternalAsmDiskGroups:getExternalAsmDiskGroups", + "majorVersion": 1, "fields": { "external_asm_disk_group_collection": { "maxItemsOne": false, @@ -46591,10 +31080,12 @@ } }, "oci_database_management_external_asm_instance": { - "current": "oci:DatabaseManagement/getExternalAsmInstance:getExternalAsmInstance" + "current": "oci:DatabaseManagement/getExternalAsmInstance:getExternalAsmInstance", + "majorVersion": 1 }, "oci_database_management_external_asm_instances": { "current": "oci:DatabaseManagement/getExternalAsmInstances:getExternalAsmInstances", + "majorVersion": 1, "fields": { "external_asm_instance_collection": { "maxItemsOne": false, @@ -46620,6 +31111,7 @@ }, "oci_database_management_external_asm_users": { "current": "oci:DatabaseManagement/getExternalAsmUsers:getExternalAsmUsers", + "majorVersion": 1, "fields": { "external_asm_user_collection": { "maxItemsOne": false, @@ -46652,6 +31144,7 @@ }, "oci_database_management_external_asms": { "current": "oci:DatabaseManagement/getExternalAsms:getExternalAsms", + "majorVersion": 1, "fields": { "external_asm_collection": { "maxItemsOne": false, @@ -46691,6 +31184,7 @@ }, "oci_database_management_external_cluster": { "current": "oci:DatabaseManagement/getExternalCluster:getExternalCluster", + "majorVersion": 1, "fields": { "network_configurations": { "maxItemsOne": false @@ -46704,10 +31198,12 @@ } }, "oci_database_management_external_cluster_instance": { - "current": "oci:DatabaseManagement/getExternalClusterInstance:getExternalClusterInstance" + "current": "oci:DatabaseManagement/getExternalClusterInstance:getExternalClusterInstance", + "majorVersion": 1 }, "oci_database_management_external_cluster_instances": { "current": "oci:DatabaseManagement/getExternalClusterInstances:getExternalClusterInstances", + "majorVersion": 1, "fields": { "external_cluster_instance_collection": { "maxItemsOne": false, @@ -46733,6 +31229,7 @@ }, "oci_database_management_external_clusters": { "current": "oci:DatabaseManagement/getExternalClusters:getExternalClusters", + "majorVersion": 1, "fields": { "external_cluster_collection": { "maxItemsOne": false, @@ -46771,6 +31268,7 @@ }, "oci_database_management_external_databases": { "current": "oci:DatabaseManagement/getExternalDatabases:getExternalDatabases", + "majorVersion": 1, "fields": { "external_database_collection": { "maxItemsOne": false, @@ -46815,10 +31313,12 @@ } }, "oci_database_management_external_db_home": { - "current": "oci:DatabaseManagement/getExternalDbHome:getExternalDbHome" + "current": "oci:DatabaseManagement/getExternalDbHome:getExternalDbHome", + "majorVersion": 1 }, "oci_database_management_external_db_homes": { "current": "oci:DatabaseManagement/getExternalDbHomes:getExternalDbHomes", + "majorVersion": 1, "fields": { "external_db_home_collection": { "maxItemsOne": false, @@ -46843,10 +31343,12 @@ } }, "oci_database_management_external_db_node": { - "current": "oci:DatabaseManagement/getExternalDbNode:getExternalDbNode" + "current": "oci:DatabaseManagement/getExternalDbNode:getExternalDbNode", + "majorVersion": 1 }, "oci_database_management_external_db_nodes": { "current": "oci:DatabaseManagement/getExternalDbNodes:getExternalDbNodes", + "majorVersion": 1, "fields": { "external_db_node_collection": { "maxItemsOne": false, @@ -46872,6 +31374,7 @@ }, "oci_database_management_external_db_system": { "current": "oci:DatabaseManagement/getExternalDbSystem:getExternalDbSystem", + "majorVersion": 1, "fields": { "database_management_config": { "maxItemsOne": false @@ -46883,6 +31386,7 @@ }, "oci_database_management_external_db_system_connector": { "current": "oci:DatabaseManagement/getExternalDbSystemConnector:getExternalDbSystemConnector", + "majorVersion": 1, "fields": { "connection_info": { "maxItemsOne": false, @@ -46908,6 +31412,7 @@ }, "oci_database_management_external_db_system_connectors": { "current": "oci:DatabaseManagement/getExternalDbSystemConnectors:getExternalDbSystemConnectors", + "majorVersion": 1, "fields": { "external_db_system_connector_collection": { "maxItemsOne": false, @@ -46957,6 +31462,7 @@ }, "oci_database_management_external_db_system_discoveries": { "current": "oci:DatabaseManagement/getExternalDbSystemDiscoveries:getExternalDbSystemDiscoveries", + "majorVersion": 1, "fields": { "external_db_system_discovery_collection": { "maxItemsOne": false, @@ -47154,6 +31660,7 @@ }, "oci_database_management_external_db_system_discovery": { "current": "oci:DatabaseManagement/getExternalDbSystemDiscovery:getExternalDbSystemDiscovery", + "majorVersion": 1, "fields": { "discovered_components": { "maxItemsOne": false, @@ -47327,6 +31834,7 @@ }, "oci_database_management_external_db_systems": { "current": "oci:DatabaseManagement/getExternalDbSystems:getExternalDbSystems", + "majorVersion": 1, "fields": { "external_db_system_collection": { "maxItemsOne": false, @@ -47362,6 +31870,7 @@ }, "oci_database_management_external_exadata_infrastructure": { "current": "oci:DatabaseManagement/getExternalExadataInfrastructure:getExternalExadataInfrastructure", + "majorVersion": 1, "fields": { "database_compartments": { "maxItemsOne": false @@ -47382,6 +31891,7 @@ }, "oci_database_management_external_exadata_infrastructures": { "current": "oci:DatabaseManagement/getExternalExadataInfrastructures:getExternalExadataInfrastructures", + "majorVersion": 1, "fields": { "external_exadata_infrastructure_collection": { "maxItemsOne": false, @@ -47426,6 +31936,7 @@ }, "oci_database_management_external_exadata_storage_connector": { "current": "oci:DatabaseManagement/getExternalExadataStorageConnector:getExternalExadataStorageConnector", + "majorVersion": 1, "fields": { "credential_info": { "maxItemsOne": false @@ -47434,6 +31945,7 @@ }, "oci_database_management_external_exadata_storage_connectors": { "current": "oci:DatabaseManagement/getExternalExadataStorageConnectors:getExternalExadataStorageConnectors", + "majorVersion": 1, "fields": { "external_exadata_storage_connector_collection": { "maxItemsOne": false, @@ -47466,6 +31978,7 @@ }, "oci_database_management_external_exadata_storage_grid": { "current": "oci:DatabaseManagement/getExternalExadataStorageGrid:getExternalExadataStorageGrid", + "majorVersion": 1, "fields": { "storage_servers": { "maxItemsOne": false @@ -47474,6 +31987,7 @@ }, "oci_database_management_external_exadata_storage_server": { "current": "oci:DatabaseManagement/getExternalExadataStorageServer:getExternalExadataStorageServer", + "majorVersion": 1, "fields": { "connector": { "maxItemsOne": false @@ -47482,6 +31996,7 @@ }, "oci_database_management_external_exadata_storage_server_iorm_plan": { "current": "oci:DatabaseManagement/getExternalExadataStorageServerIormPlan:getExternalExadataStorageServerIormPlan", + "majorVersion": 1, "fields": { "db_plan": { "maxItemsOne": false, @@ -47497,6 +32012,7 @@ }, "oci_database_management_external_exadata_storage_server_open_alert_history": { "current": "oci:DatabaseManagement/getExternalExadataStorageServerOpenAlertHistory:getExternalExadataStorageServerOpenAlertHistory", + "majorVersion": 1, "fields": { "alerts": { "maxItemsOne": false @@ -47505,6 +32021,7 @@ }, "oci_database_management_external_exadata_storage_server_top_sql_cpu_activity": { "current": "oci:DatabaseManagement/getExternalExadataStorageServerTopSqlCpuActivity:getExternalExadataStorageServerTopSqlCpuActivity", + "majorVersion": 1, "fields": { "activity": { "maxItemsOne": false @@ -47513,6 +32030,7 @@ }, "oci_database_management_external_exadata_storage_servers": { "current": "oci:DatabaseManagement/getExternalExadataStorageServers:getExternalExadataStorageServers", + "majorVersion": 1, "fields": { "external_exadata_storage_server_collection": { "maxItemsOne": false, @@ -47538,6 +32056,7 @@ }, "oci_database_management_external_listener": { "current": "oci:DatabaseManagement/getExternalListener:getExternalListener", + "majorVersion": 1, "fields": { "endpoints": { "maxItemsOne": false, @@ -47559,6 +32078,7 @@ }, "oci_database_management_external_listener_services": { "current": "oci:DatabaseManagement/getExternalListenerServices:getExternalListenerServices", + "majorVersion": 1, "fields": { "external_listener_service_collection": { "maxItemsOne": false, @@ -47584,6 +32104,7 @@ }, "oci_database_management_external_listeners": { "current": "oci:DatabaseManagement/getExternalListeners:getExternalListeners", + "majorVersion": 1, "fields": { "external_listener_collection": { "maxItemsOne": false, @@ -47629,6 +32150,7 @@ }, "oci_database_management_job_executions_status": { "current": "oci:DatabaseManagement/getJobExecutionsStatus:getJobExecutionsStatus", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false @@ -47637,6 +32159,7 @@ }, "oci_database_management_job_executions_statuses": { "current": "oci:DatabaseManagement/getJobExecutionsStatuses:getJobExecutionsStatuses", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -47662,6 +32185,7 @@ }, "oci_database_management_managed_database": { "current": "oci:DatabaseManagement/getManagedDatabase:getManagedDatabase", + "majorVersion": 1, "fields": { "managed_database_groups": { "maxItemsOne": false @@ -47670,6 +32194,7 @@ }, "oci_database_management_managed_database_addm_task": { "current": "oci:DatabaseManagement/getManagedDatabaseAddmTask:getManagedDatabaseAddmTask", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false @@ -47678,6 +32203,7 @@ }, "oci_database_management_managed_database_addm_tasks": { "current": "oci:DatabaseManagement/getManagedDatabaseAddmTasks:getManagedDatabaseAddmTasks", + "majorVersion": 1, "fields": { "addm_tasks_collection": { "maxItemsOne": false, @@ -47703,6 +32229,7 @@ }, "oci_database_management_managed_database_alert_log_count": { "current": "oci:DatabaseManagement/getManagedDatabaseAlertLogCount:getManagedDatabaseAlertLogCount", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false @@ -47711,6 +32238,7 @@ }, "oci_database_management_managed_database_alert_log_counts": { "current": "oci:DatabaseManagement/getManagedDatabaseAlertLogCounts:getManagedDatabaseAlertLogCounts", + "majorVersion": 1, "fields": { "alert_log_counts_collection": { "maxItemsOne": false, @@ -47736,6 +32264,7 @@ }, "oci_database_management_managed_database_attention_log_count": { "current": "oci:DatabaseManagement/getManagedDatabaseAttentionLogCount:getManagedDatabaseAttentionLogCount", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false @@ -47744,6 +32273,7 @@ }, "oci_database_management_managed_database_attention_log_counts": { "current": "oci:DatabaseManagement/getManagedDatabaseAttentionLogCounts:getManagedDatabaseAttentionLogCounts", + "majorVersion": 1, "fields": { "attention_log_counts_collection": { "maxItemsOne": false, @@ -47769,6 +32299,7 @@ }, "oci_database_management_managed_database_cursor_cache_statements": { "current": "oci:DatabaseManagement/getManagedDatabaseCursorCacheStatements:getManagedDatabaseCursorCacheStatements", + "majorVersion": 1, "fields": { "cursor_cache_statement_collection": { "maxItemsOne": false, @@ -47794,6 +32325,7 @@ }, "oci_database_management_managed_database_group": { "current": "oci:DatabaseManagement/getManagedDatabaseGroup:getManagedDatabaseGroup", + "majorVersion": 1, "fields": { "managed_databases": { "maxItemsOne": false @@ -47802,6 +32334,7 @@ }, "oci_database_management_managed_database_groups": { "current": "oci:DatabaseManagement/getManagedDatabaseGroups:getManagedDatabaseGroups", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -47834,6 +32367,7 @@ }, "oci_database_management_managed_database_optimizer_statistics_advisor_execution": { "current": "oci:DatabaseManagement/getManagedDatabaseOptimizerStatisticsAdvisorExecution:getManagedDatabaseOptimizerStatisticsAdvisorExecution", + "majorVersion": 1, "fields": { "database": { "maxItemsOne": false @@ -47902,10 +32436,12 @@ } }, "oci_database_management_managed_database_optimizer_statistics_advisor_execution_script": { - "current": "oci:DatabaseManagement/getManagedDatabaseOptimizerStatisticsAdvisorExecutionScript:getManagedDatabaseOptimizerStatisticsAdvisorExecutionScript" + "current": "oci:DatabaseManagement/getManagedDatabaseOptimizerStatisticsAdvisorExecutionScript:getManagedDatabaseOptimizerStatisticsAdvisorExecutionScript", + "majorVersion": 1 }, "oci_database_management_managed_database_optimizer_statistics_advisor_executions": { "current": "oci:DatabaseManagement/getManagedDatabaseOptimizerStatisticsAdvisorExecutions:getManagedDatabaseOptimizerStatisticsAdvisorExecutions", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -47999,6 +32535,7 @@ }, "oci_database_management_managed_database_optimizer_statistics_collection_aggregations": { "current": "oci:DatabaseManagement/getManagedDatabaseOptimizerStatisticsCollectionAggregations:getManagedDatabaseOptimizerStatisticsCollectionAggregations", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -48024,6 +32561,7 @@ }, "oci_database_management_managed_database_optimizer_statistics_collection_operation": { "current": "oci:DatabaseManagement/getManagedDatabaseOptimizerStatisticsCollectionOperation:getManagedDatabaseOptimizerStatisticsCollectionOperation", + "majorVersion": 1, "fields": { "database": { "maxItemsOne": false @@ -48035,6 +32573,7 @@ }, "oci_database_management_managed_database_optimizer_statistics_collection_operations": { "current": "oci:DatabaseManagement/getManagedDatabaseOptimizerStatisticsCollectionOperations:getManagedDatabaseOptimizerStatisticsCollectionOperations", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -48069,10 +32608,12 @@ } }, "oci_database_management_managed_database_preferred_credential": { - "current": "oci:Database/getManagedPreferredCredential:getManagedPreferredCredential" + "current": "oci:Database/getManagedPreferredCredential:getManagedPreferredCredential", + "majorVersion": 1 }, "oci_database_management_managed_database_preferred_credentials": { "current": "oci:Database/getManagedPreferredCredentials:getManagedPreferredCredentials", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -48097,10 +32638,12 @@ } }, "oci_database_management_managed_database_sql_plan_baseline": { - "current": "oci:DatabaseManagement/getManagedDatabaseSqlPlanBaseline:getManagedDatabaseSqlPlanBaseline" + "current": "oci:DatabaseManagement/getManagedDatabaseSqlPlanBaseline:getManagedDatabaseSqlPlanBaseline", + "majorVersion": 1 }, "oci_database_management_managed_database_sql_plan_baseline_configuration": { "current": "oci:DatabaseManagement/getManagedDatabaseSqlPlanBaselineConfiguration:getManagedDatabaseSqlPlanBaselineConfiguration", + "majorVersion": 1, "fields": { "auto_capture_filters": { "maxItemsOne": false, @@ -48132,6 +32675,7 @@ }, "oci_database_management_managed_database_sql_plan_baseline_jobs": { "current": "oci:DatabaseManagement/getManagedDatabaseSqlPlanBaselineJobs:getManagedDatabaseSqlPlanBaselineJobs", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -48157,6 +32701,7 @@ }, "oci_database_management_managed_database_sql_plan_baselines": { "current": "oci:DatabaseManagement/getManagedDatabaseSqlPlanBaselines:getManagedDatabaseSqlPlanBaselines", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -48182,6 +32727,7 @@ }, "oci_database_management_managed_database_sql_tuning_advisor_task": { "current": "oci:DatabaseManagement/getManagedDatabaseSqlTuningAdvisorTask:getManagedDatabaseSqlTuningAdvisorTask", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false @@ -48190,6 +32736,7 @@ }, "oci_database_management_managed_database_sql_tuning_advisor_tasks": { "current": "oci:DatabaseManagement/getManagedDatabaseSqlTuningAdvisorTasks:getManagedDatabaseSqlTuningAdvisorTasks", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -48215,6 +32762,7 @@ }, "oci_database_management_managed_database_sql_tuning_advisor_tasks_execution_plan_stats_comparision": { "current": "oci:DatabaseManagement/getManagedDatabaseSqlTuningAdvisorTasksExecutionPlanStatsComparison:getManagedDatabaseSqlTuningAdvisorTasksExecutionPlanStatsComparison", + "majorVersion": 1, "fields": { "modified": { "maxItemsOne": false @@ -48226,6 +32774,7 @@ }, "oci_database_management_managed_database_sql_tuning_advisor_tasks_finding": { "current": "oci:DatabaseManagement/getManagedDatabaseSqlTuningAdvisorTasksFinding:getManagedDatabaseSqlTuningAdvisorTasksFinding", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false @@ -48234,6 +32783,7 @@ }, "oci_database_management_managed_database_sql_tuning_advisor_tasks_findings": { "current": "oci:DatabaseManagement/getManagedDatabaseSqlTuningAdvisorTasksFindings:getManagedDatabaseSqlTuningAdvisorTasksFindings", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -48259,6 +32809,7 @@ }, "oci_database_management_managed_database_sql_tuning_advisor_tasks_recommendation": { "current": "oci:DatabaseManagement/getManagedDatabaseSqlTuningAdvisorTasksRecommendation:getManagedDatabaseSqlTuningAdvisorTasksRecommendation", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false @@ -48267,6 +32818,7 @@ }, "oci_database_management_managed_database_sql_tuning_advisor_tasks_recommendations": { "current": "oci:DatabaseManagement/getManagedDatabaseSqlTuningAdvisorTasksRecommendations:getManagedDatabaseSqlTuningAdvisorTasksRecommendations", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -48292,6 +32844,7 @@ }, "oci_database_management_managed_database_sql_tuning_advisor_tasks_sql_execution_plan": { "current": "oci:DatabaseManagement/getManagedDatabaseSqlTuningAdvisorTasksSqlExecutionPlan:getManagedDatabaseSqlTuningAdvisorTasksSqlExecutionPlan", + "majorVersion": 1, "fields": { "plan": { "maxItemsOne": false @@ -48300,6 +32853,7 @@ }, "oci_database_management_managed_database_sql_tuning_advisor_tasks_summary_report": { "current": "oci:DatabaseManagement/getManagedDatabaseSqlTuningAdvisorTasksSummaryReport:getManagedDatabaseSqlTuningAdvisorTasksSummaryReport", + "majorVersion": 1, "fields": { "index_findings": { "maxItemsOne": false, @@ -48337,6 +32891,7 @@ }, "oci_database_management_managed_database_sql_tuning_set": { "current": "oci:DatabaseManagement/getManagedDatabaseSqlTuningSet:getManagedDatabaseSqlTuningSet", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false @@ -48345,6 +32900,7 @@ }, "oci_database_management_managed_database_sql_tuning_sets": { "current": "oci:DatabaseManagement/getManagedDatabaseSqlTuningSets:getManagedDatabaseSqlTuningSets", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -48370,6 +32926,7 @@ }, "oci_database_management_managed_database_table_statistics": { "current": "oci:DatabaseManagement/getManagedDatabaseTableStatistics:getManagedDatabaseTableStatistics", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -48394,10 +32951,12 @@ } }, "oci_database_management_managed_database_user": { - "current": "oci:DatabaseManagement/getManagedDatabaseUser:getManagedDatabaseUser" + "current": "oci:DatabaseManagement/getManagedDatabaseUser:getManagedDatabaseUser", + "majorVersion": 1 }, "oci_database_management_managed_database_user_consumer_group_privilege": { "current": "oci:DatabaseManagement/getManagedDatabaseUserConsumerGroupPrivilege:getManagedDatabaseUserConsumerGroupPrivilege", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false @@ -48406,6 +32965,7 @@ }, "oci_database_management_managed_database_user_consumer_group_privileges": { "current": "oci:DatabaseManagement/getManagedDatabaseUserConsumerGroupPrivileges:getManagedDatabaseUserConsumerGroupPrivileges", + "majorVersion": 1, "fields": { "consumer_group_privilege_collection": { "maxItemsOne": false, @@ -48431,6 +32991,7 @@ }, "oci_database_management_managed_database_user_data_access_container": { "current": "oci:DatabaseManagement/getManagedDatabaseUserDataAccessContainer:getManagedDatabaseUserDataAccessContainer", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false @@ -48439,6 +33000,7 @@ }, "oci_database_management_managed_database_user_data_access_containers": { "current": "oci:DatabaseManagement/getManagedDatabaseUserDataAccessContainers:getManagedDatabaseUserDataAccessContainers", + "majorVersion": 1, "fields": { "data_access_container_collection": { "maxItemsOne": false, @@ -48464,6 +33026,7 @@ }, "oci_database_management_managed_database_user_object_privilege": { "current": "oci:DatabaseManagement/getManagedDatabaseUserObjectPrivilege:getManagedDatabaseUserObjectPrivilege", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false @@ -48472,6 +33035,7 @@ }, "oci_database_management_managed_database_user_object_privileges": { "current": "oci:DatabaseManagement/getManagedDatabaseUserObjectPrivileges:getManagedDatabaseUserObjectPrivileges", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -48497,6 +33061,7 @@ }, "oci_database_management_managed_database_user_proxied_for_user": { "current": "oci:DatabaseManagement/getManagedDatabaseUserProxiedForUser:getManagedDatabaseUserProxiedForUser", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false @@ -48505,6 +33070,7 @@ }, "oci_database_management_managed_database_user_proxied_for_users": { "current": "oci:DatabaseManagement/getManagedDatabaseUserProxiedForUsers:getManagedDatabaseUserProxiedForUsers", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -48530,6 +33096,7 @@ }, "oci_database_management_managed_database_user_role": { "current": "oci:DatabaseManagement/getManagedDatabaseUserRole:getManagedDatabaseUserRole", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false @@ -48538,6 +33105,7 @@ }, "oci_database_management_managed_database_user_roles": { "current": "oci:DatabaseManagement/getManagedDatabaseUserRoles:getManagedDatabaseUserRoles", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -48563,6 +33131,7 @@ }, "oci_database_management_managed_database_users": { "current": "oci:DatabaseManagement/getManagedDatabaseUsers:getManagedDatabaseUsers", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -48588,6 +33157,7 @@ }, "oci_database_management_managed_databases": { "current": "oci:DatabaseManagement/getManagedDatabases:getManagedDatabases", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -48620,6 +33190,7 @@ }, "oci_database_management_managed_databases_asm_properties": { "current": "oci:DatabaseManagement/getManagedDatabasesAsmProperties:getManagedDatabasesAsmProperties", + "majorVersion": 1, "fields": { "asm_property_collection": { "maxItemsOne": false, @@ -48645,6 +33216,7 @@ }, "oci_database_management_managed_databases_asm_property": { "current": "oci:DatabaseManagement/getManagedDatabasesAsmProperty:getManagedDatabasesAsmProperty", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false @@ -48653,6 +33225,7 @@ }, "oci_database_management_managed_databases_database_parameter": { "current": "oci:DatabaseManagement/getManagedDatabasesDatabaseParameter:getManagedDatabasesDatabaseParameter", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false, @@ -48668,6 +33241,7 @@ }, "oci_database_management_managed_databases_database_parameters": { "current": "oci:DatabaseManagement/getManagedDatabasesDatabaseParameters:getManagedDatabasesDatabaseParameters", + "majorVersion": 1, "fields": { "database_parameters_collection": { "maxItemsOne": false, @@ -48700,6 +33274,7 @@ }, "oci_database_management_managed_databases_user_proxy_user": { "current": "oci:DatabaseManagement/getManagedDatabasesUserProxyUser:getManagedDatabasesUserProxyUser", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false @@ -48708,6 +33283,7 @@ }, "oci_database_management_managed_databases_user_proxy_users": { "current": "oci:DatabaseManagement/getManagedDatabasesUserProxyUsers:getManagedDatabasesUserProxyUsers", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -48733,6 +33309,7 @@ }, "oci_database_management_managed_databases_user_system_privilege": { "current": "oci:DatabaseManagement/getManagedDatabasesUserSystemPrivilege:getManagedDatabasesUserSystemPrivilege", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false @@ -48741,6 +33318,7 @@ }, "oci_database_management_managed_databases_user_system_privileges": { "current": "oci:DatabaseManagement/getManagedDatabasesUserSystemPrivileges:getManagedDatabasesUserSystemPrivileges", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -48765,10 +33343,12 @@ } }, "oci_database_migration_agent": { - "current": "oci:DatabaseMigration/getAgent:getAgent" + "current": "oci:DatabaseMigration/getAgent:getAgent", + "majorVersion": 1 }, "oci_database_migration_agent_images": { "current": "oci:DatabaseMigration/getAgentImages:getAgentImages", + "majorVersion": 1, "fields": { "agent_image_collection": { "maxItemsOne": false, @@ -48794,6 +33374,7 @@ }, "oci_database_migration_agents": { "current": "oci:DatabaseMigration/getAgents:getAgents", + "majorVersion": 1, "fields": { "agent_collection": { "maxItemsOne": false, @@ -48819,6 +33400,7 @@ }, "oci_database_migration_connection": { "current": "oci:DatabaseMigration/getConnection:getConnection", + "majorVersion": 1, "fields": { "admin_credentials": { "maxItemsOne": false @@ -48845,6 +33427,7 @@ }, "oci_database_migration_connections": { "current": "oci:DatabaseMigration/getConnections:getConnections", + "majorVersion": 1, "fields": { "connection_collection": { "maxItemsOne": false, @@ -48895,6 +33478,7 @@ }, "oci_database_migration_job_advisor_report": { "current": "oci:DatabaseMigration/getJobAdvisorReport:getJobAdvisorReport", + "majorVersion": 1, "fields": { "report_location_details": { "maxItemsOne": false, @@ -48910,6 +33494,7 @@ }, "oci_database_migration_job_output": { "current": "oci:DatabaseMigration/getJobOutput:getJobOutput", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false @@ -48918,6 +33503,7 @@ }, "oci_database_migration_migration": { "current": "oci:DatabaseMigration/getMigration:getMigration", + "majorVersion": 1, "fields": { "advisor_settings": { "maxItemsOne": false @@ -48942,6 +33528,16 @@ } } }, + "data_transfer_medium_details_v2": { + "maxItemsOne": false, + "elem": { + "fields": { + "object_storage_bucket": { + "maxItemsOne": false + } + } + } + }, "datapump_settings": { "maxItemsOne": false, "elem": { @@ -49065,6 +33661,7 @@ }, "oci_database_migration_migration_object_types": { "current": "oci:DatabaseMigration/getMigrationObjectTypes:getMigrationObjectTypes", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -49090,6 +33687,7 @@ }, "oci_database_migration_migrations": { "current": "oci:DatabaseMigration/getMigrations:getMigrations", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -49132,6 +33730,16 @@ } } }, + "data_transfer_medium_details_v2": { + "maxItemsOne": false, + "elem": { + "fields": { + "object_storage_bucket": { + "maxItemsOne": false + } + } + } + }, "datapump_settings": { "maxItemsOne": false, "elem": { @@ -49261,6 +33869,7 @@ }, "oci_database_oneoff_patch": { "current": "oci:Database/getOneoffPatch:getOneoffPatch", + "majorVersion": 1, "fields": { "one_off_patches": { "maxItemsOne": false @@ -49269,6 +33878,7 @@ }, "oci_database_oneoff_patches": { "current": "oci:Database/getOneoffPatches:getOneoffPatches", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -49294,6 +33904,7 @@ }, "oci_database_pluggable_database": { "current": "oci:Database/getPluggableDatabase:getPluggableDatabase", + "majorVersion": 1, "fields": { "connection_strings": { "maxItemsOne": false @@ -49305,6 +33916,7 @@ }, "oci_database_pluggable_databases": { "current": "oci:Database/getPluggableDatabases:getPluggableDatabases", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -49333,6 +33945,7 @@ }, "oci_database_tools_database_tools_connection": { "current": "oci:DatabaseTools/getDatabaseToolsConnection:getDatabaseToolsConnection", + "majorVersion": 1, "fields": { "key_stores": { "maxItemsOne": false, @@ -49357,6 +33970,7 @@ }, "oci_database_tools_database_tools_connections": { "current": "oci:DatabaseTools/getDatabaseToolsConnections:getDatabaseToolsConnections", + "majorVersion": 1, "fields": { "database_tools_connection_collection": { "maxItemsOne": false, @@ -49407,10 +34021,12 @@ } }, "oci_database_tools_database_tools_endpoint_service": { - "current": "oci:DatabaseTools/getDatabaseToolsEndpointService:getDatabaseToolsEndpointService" + "current": "oci:DatabaseTools/getDatabaseToolsEndpointService:getDatabaseToolsEndpointService", + "majorVersion": 1 }, "oci_database_tools_database_tools_endpoint_services": { "current": "oci:DatabaseTools/getDatabaseToolsEndpointServices:getDatabaseToolsEndpointServices", + "majorVersion": 1, "fields": { "database_tools_endpoint_service_collection": { "maxItemsOne": false, @@ -49436,6 +34052,7 @@ }, "oci_database_tools_database_tools_private_endpoint": { "current": "oci:DatabaseTools/getDatabaseToolsPrivateEndpoint:getDatabaseToolsPrivateEndpoint", + "majorVersion": 1, "fields": { "additional_fqdns": { "maxItemsOne": false @@ -49457,6 +34074,7 @@ }, "oci_database_tools_database_tools_private_endpoints": { "current": "oci:DatabaseTools/getDatabaseToolsPrivateEndpoints:getDatabaseToolsPrivateEndpoints", + "majorVersion": 1, "fields": { "database_tools_private_endpoint_collection": { "maxItemsOne": false, @@ -49502,6 +34120,7 @@ }, "oci_database_vm_cluster": { "current": "oci:Database/getVmCluster:getVmCluster", + "majorVersion": 1, "fields": { "data_collection_options": { "maxItemsOne": false @@ -49516,6 +34135,7 @@ }, "oci_database_vm_cluster_network": { "current": "oci:Database/getVmClusterNetwork:getVmClusterNetwork", + "majorVersion": 1, "fields": { "dns": { "maxItemsOne": false @@ -49556,10 +34176,12 @@ } }, "oci_database_vm_cluster_network_download_config_file": { - "current": "oci:Database/getVmClusterNetworkDownloadConfigFile:getVmClusterNetworkDownloadConfigFile" + "current": "oci:Database/getVmClusterNetworkDownloadConfigFile:getVmClusterNetworkDownloadConfigFile", + "majorVersion": 1 }, "oci_database_vm_cluster_networks": { "current": "oci:Database/getVmClusterNetworks:getVmClusterNetworks", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -49618,6 +34240,7 @@ }, "oci_database_vm_cluster_patch": { "current": "oci:Database/getVmClusterPatch:getVmClusterPatch", + "majorVersion": 1, "fields": { "available_actions": { "maxItemsOne": false @@ -49626,6 +34249,7 @@ }, "oci_database_vm_cluster_patch_history_entries": { "current": "oci:Database/getVmClusterPatchHistoryEntries:getVmClusterPatchHistoryEntries", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -49643,10 +34267,12 @@ } }, "oci_database_vm_cluster_patch_history_entry": { - "current": "oci:Database/getVmClusterPatchHistoryEntry:getVmClusterPatchHistoryEntry" + "current": "oci:Database/getVmClusterPatchHistoryEntry:getVmClusterPatchHistoryEntry", + "majorVersion": 1 }, "oci_database_vm_cluster_patches": { "current": "oci:Database/getVmClusterPatches:getVmClusterPatches", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -49672,6 +34298,7 @@ }, "oci_database_vm_cluster_recommended_network": { "current": "oci:Database/getVmClusterRecommendedNetwork:getVmClusterRecommendedNetwork", + "majorVersion": 1, "fields": { "db_servers": { "maxItemsOne": false @@ -49719,6 +34346,7 @@ }, "oci_database_vm_cluster_update": { "current": "oci:Database/getVmClusterUpdate:getVmClusterUpdate", + "majorVersion": 1, "fields": { "available_actions": { "maxItemsOne": false @@ -49727,6 +34355,7 @@ }, "oci_database_vm_cluster_update_history_entries": { "current": "oci:Database/getVmClusterUpdateHistoryEntries:getVmClusterUpdateHistoryEntries", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -49744,10 +34373,12 @@ } }, "oci_database_vm_cluster_update_history_entry": { - "current": "oci:Database/getVmClusterUpdateHistoryEntry:getVmClusterUpdateHistoryEntry" + "current": "oci:Database/getVmClusterUpdateHistoryEntry:getVmClusterUpdateHistoryEntry", + "majorVersion": 1 }, "oci_database_vm_cluster_updates": { "current": "oci:Database/getVmClusterUpdates:getVmClusterUpdates", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -49773,6 +34404,7 @@ }, "oci_database_vm_clusters": { "current": "oci:Database/getVmClusters:getVmClusters", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -49804,6 +34436,7 @@ }, "oci_datacatalog_catalog": { "current": "oci:DataCatalog/getCatalog:getCatalog", + "majorVersion": 1, "fields": { "attached_catalog_private_endpoints": { "maxItemsOne": false @@ -49812,6 +34445,7 @@ }, "oci_datacatalog_catalog_private_endpoint": { "current": "oci:DataCatalog/getCatalogPrivateEndpoint:getCatalogPrivateEndpoint", + "majorVersion": 1, "fields": { "attached_catalogs": { "maxItemsOne": false @@ -49823,6 +34457,7 @@ }, "oci_datacatalog_catalog_private_endpoints": { "current": "oci:DataCatalog/getCatalogPrivateEndpoints:getCatalogPrivateEndpoints", + "majorVersion": 1, "fields": { "catalog_private_endpoints": { "maxItemsOne": false, @@ -49851,6 +34486,7 @@ }, "oci_datacatalog_catalog_type": { "current": "oci:DataCatalog/getCatalogType:getCatalogType", + "majorVersion": 1, "fields": { "fields": { "maxItemsOne": false @@ -49859,6 +34495,7 @@ }, "oci_datacatalog_catalog_types": { "current": "oci:DataCatalog/getCatalogTypes:getCatalogTypes", + "majorVersion": 1, "fields": { "fields": { "maxItemsOne": false @@ -49887,6 +34524,7 @@ }, "oci_datacatalog_catalogs": { "current": "oci:DataCatalog/getCatalogs:getCatalogs", + "majorVersion": 1, "fields": { "catalogs": { "maxItemsOne": false, @@ -49912,6 +34550,7 @@ }, "oci_datacatalog_connection": { "current": "oci:DataCatalog/getConnection:getConnection", + "majorVersion": 1, "fields": { "fields": { "maxItemsOne": false @@ -49920,6 +34559,7 @@ }, "oci_datacatalog_connections": { "current": "oci:DataCatalog/getConnections:getConnections", + "majorVersion": 1, "fields": { "connection_collection": { "maxItemsOne": false, @@ -49948,6 +34588,7 @@ }, "oci_datacatalog_data_asset": { "current": "oci:DataCatalog/getDataAsset:getDataAsset", + "majorVersion": 1, "fields": { "fields": { "maxItemsOne": false @@ -49956,6 +34597,7 @@ }, "oci_datacatalog_data_assets": { "current": "oci:DataCatalog/getDataAssets:getDataAssets", + "majorVersion": 1, "fields": { "data_asset_collection": { "maxItemsOne": false, @@ -49983,10 +34625,12 @@ } }, "oci_datacatalog_metastore": { - "current": "oci:DataCatalog/getMetastore:getMetastore" + "current": "oci:DataCatalog/getMetastore:getMetastore", + "majorVersion": 1 }, "oci_datacatalog_metastores": { "current": "oci:DataCatalog/getMetastores:getMetastores", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -50005,6 +34649,7 @@ }, "oci_dataflow_application": { "current": "oci:DataFlow/getApplication:getApplication", + "majorVersion": 1, "fields": { "application_log_config": { "maxItemsOne": false @@ -50025,6 +34670,7 @@ }, "oci_dataflow_applications": { "current": "oci:DataFlow/getApplications:getApplications", + "majorVersion": 1, "fields": { "applications": { "maxItemsOne": false, @@ -50062,6 +34708,7 @@ }, "oci_dataflow_invoke_run": { "current": "oci:DataFlow/getInvokeRun:getInvokeRun", + "majorVersion": 1, "fields": { "application_log_config": { "maxItemsOne": false @@ -50088,6 +34735,7 @@ }, "oci_dataflow_invoke_runs": { "current": "oci:DataFlow/getInvokeRuns:getInvokeRuns", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -50131,6 +34779,7 @@ }, "oci_dataflow_pool": { "current": "oci:DataFlow/getPool:getPool", + "majorVersion": 1, "fields": { "configurations": { "maxItemsOne": false, @@ -50159,6 +34808,7 @@ }, "oci_dataflow_pools": { "current": "oci:DataFlow/getPools:getPools", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -50211,6 +34861,7 @@ }, "oci_dataflow_private_endpoint": { "current": "oci:DataFlow/getPrivateEndpoint:getPrivateEndpoint", + "majorVersion": 1, "fields": { "dns_zones": { "maxItemsOne": false @@ -50225,6 +34876,7 @@ }, "oci_dataflow_private_endpoints": { "current": "oci:DataFlow/getPrivateEndpoints:getPrivateEndpoints", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -50262,10 +34914,12 @@ } }, "oci_dataflow_run_log": { - "current": "oci:DataFlow/getRunLog:getRunLog" + "current": "oci:DataFlow/getRunLog:getRunLog", + "majorVersion": 1 }, "oci_dataflow_run_logs": { "current": "oci:DataFlow/getRunLogs:getRunLogs", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -50284,6 +34938,7 @@ }, "oci_dataflow_run_statement": { "current": "oci:DataFlow/getRunStatement:getRunStatement", + "majorVersion": 1, "fields": { "output": { "maxItemsOne": false, @@ -50302,6 +34957,7 @@ }, "oci_dataflow_run_statements": { "current": "oci:DataFlow/getRunStatements:getRunStatements", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -50344,6 +35000,7 @@ }, "oci_dataflow_sql_endpoint": { "current": "oci:DataFlow/getSqlEndpoint:getSqlEndpoint", + "majorVersion": 1, "fields": { "driver_shape_config": { "maxItemsOne": false @@ -50365,6 +35022,7 @@ }, "oci_dataflow_sql_endpoints": { "current": "oci:DataFlow/getSqlEndpoints:getSqlEndpoints", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -50409,10 +35067,12 @@ } }, "oci_dataintegration_workspace": { - "current": "oci:DataIntegration/getWorkspace:getWorkspace" + "current": "oci:DataIntegration/getWorkspace:getWorkspace", + "majorVersion": 1 }, "oci_dataintegration_workspace_application": { "current": "oci:DataIntegration/getWorkspaceApplication:getWorkspaceApplication", + "majorVersion": 1, "fields": { "dependent_object_metadata": { "maxItemsOne": false @@ -50463,6 +35123,7 @@ }, "oci_dataintegration_workspace_applications": { "current": "oci:DataIntegration/getWorkspaceApplications:getWorkspaceApplications", + "majorVersion": 1, "fields": { "application_summary_collection": { "maxItemsOne": false, @@ -50543,6 +35204,7 @@ }, "oci_dataintegration_workspace_folder": { "current": "oci:DataIntegration/getWorkspaceFolder:getWorkspaceFolder", + "majorVersion": 1, "fields": { "metadata": { "maxItemsOne": false, @@ -50584,6 +35246,7 @@ }, "oci_dataintegration_workspace_folders": { "current": "oci:DataIntegration/getWorkspaceFolders:getWorkspaceFolders", + "majorVersion": 1, "fields": { "fields": { "maxItemsOne": false @@ -50655,6 +35318,7 @@ }, "oci_dataintegration_workspace_project": { "current": "oci:DataIntegration/getWorkspaceProject:getWorkspaceProject", + "majorVersion": 1, "fields": { "metadata": { "maxItemsOne": false, @@ -50696,6 +35360,7 @@ }, "oci_dataintegration_workspace_projects": { "current": "oci:DataIntegration/getWorkspaceProjects:getWorkspaceProjects", + "majorVersion": 1, "fields": { "fields": { "maxItemsOne": false @@ -50767,6 +35432,7 @@ }, "oci_dataintegration_workspaces": { "current": "oci:DataIntegration/getWorkspaces:getWorkspaces", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -50785,6 +35451,7 @@ }, "oci_datascience_fast_launch_job_configs": { "current": "oci:DataScience/getFastLaunchJobConfigs:getFastLaunchJobConfigs", + "majorVersion": 1, "fields": { "fast_launch_job_configs": { "maxItemsOne": false @@ -50803,6 +35470,7 @@ }, "oci_datascience_job": { "current": "oci:DataScience/getJob:getJob", + "majorVersion": 1, "fields": { "job_configuration_details": { "maxItemsOne": false @@ -50824,6 +35492,7 @@ }, "oci_datascience_job_run": { "current": "oci:DataScience/getJobRun:getJobRun", + "majorVersion": 1, "fields": { "job_configuration_override_details": { "maxItemsOne": false @@ -50848,6 +35517,7 @@ }, "oci_datascience_job_runs": { "current": "oci:DataScience/getJobRuns:getJobRuns", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -50889,6 +35559,7 @@ }, "oci_datascience_job_shapes": { "current": "oci:DataScience/getJobShapes:getJobShapes", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -50907,6 +35578,7 @@ }, "oci_datascience_jobs": { "current": "oci:DataScience/getJobs:getJobs", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -50945,6 +35617,7 @@ }, "oci_datascience_model": { "current": "oci:DataScience/getModel:getModel", + "majorVersion": 1, "fields": { "custom_metadata_list": { "maxItemsOne": false @@ -50956,6 +35629,7 @@ }, "oci_datascience_model_deployment": { "current": "oci:DataScience/getModelDeployment:getModelDeployment", + "majorVersion": 1, "fields": { "category_log_details": { "maxItemsOne": false, @@ -51014,6 +35688,7 @@ }, "oci_datascience_model_deployment_shapes": { "current": "oci:DataScience/getModelDeploymentShapes:getModelDeploymentShapes", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -51032,6 +35707,7 @@ }, "oci_datascience_model_deployments": { "current": "oci:DataScience/getModelDeployments:getModelDeployments", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -51106,13 +35782,16 @@ } }, "oci_datascience_model_provenance": { - "current": "oci:DataScience/getModelProvenance:getModelProvenance" + "current": "oci:DataScience/getModelProvenance:getModelProvenance", + "majorVersion": 1 }, "oci_datascience_model_version_set": { - "current": "oci:DataScience/getModelVersionSet:getModelVersionSet" + "current": "oci:DataScience/getModelVersionSet:getModelVersionSet", + "majorVersion": 1 }, "oci_datascience_model_version_sets": { "current": "oci:DataScience/getModelVersionSets:getModelVersionSets", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -51131,6 +35810,7 @@ }, "oci_datascience_models": { "current": "oci:DataScience/getModels:getModels", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -51159,6 +35839,7 @@ }, "oci_datascience_notebook_session": { "current": "oci:DataScience/getNotebookSession:getNotebookSession", + "majorVersion": 1, "fields": { "notebook_session_config_details": { "maxItemsOne": false, @@ -51201,6 +35882,7 @@ }, "oci_datascience_notebook_session_shapes": { "current": "oci:DataScience/getNotebookSessionShapes:getNotebookSessionShapes", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -51219,6 +35901,7 @@ }, "oci_datascience_notebook_sessions": { "current": "oci:DataScience/getNotebookSessions:getNotebookSessions", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -51278,6 +35961,7 @@ }, "oci_datascience_pipeline": { "current": "oci:DataScience/getPipeline:getPipeline", + "majorVersion": 1, "fields": { "configuration_details": { "maxItemsOne": false @@ -51325,6 +36009,7 @@ }, "oci_datascience_pipeline_run": { "current": "oci:DataScience/getPipelineRun:getPipelineRun", + "majorVersion": 1, "fields": { "configuration_details": { "maxItemsOne": false @@ -51355,6 +36040,7 @@ }, "oci_datascience_pipeline_runs": { "current": "oci:DataScience/getPipelineRuns:getPipelineRuns", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -51402,6 +36088,7 @@ }, "oci_datascience_pipelines": { "current": "oci:DataScience/getPipelines:getPipelines", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -51464,11 +36151,48 @@ } } }, + "oci_datascience_private_endpoint": { + "current": "oci:DataScience/getPrivateEndpoint:getPrivateEndpoint", + "majorVersion": 1, + "fields": { + "nsg_ids": { + "maxItemsOne": false + } + } + }, + "oci_datascience_private_endpoints": { + "current": "oci:DataScience/getPrivateEndpoints:getPrivateEndpoints", + "majorVersion": 1, + "fields": { + "data_science_private_endpoints": { + "maxItemsOne": false, + "elem": { + "fields": { + "nsg_ids": { + "maxItemsOne": false + } + } + } + }, + "filter": { + "maxItemsOne": false, + "elem": { + "fields": { + "values": { + "maxItemsOne": false + } + } + } + } + } + }, "oci_datascience_project": { - "current": "oci:DataScience/getProject:getProject" + "current": "oci:DataScience/getProject:getProject", + "majorVersion": 1 }, "oci_datascience_projects": { "current": "oci:DataScience/getProjects:getProjects", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -51487,6 +36211,7 @@ }, "oci_devops_build_pipeline": { "current": "oci:DevOps/getBuildPipeline:getBuildPipeline", + "majorVersion": 1, "fields": { "build_pipeline_parameters": { "maxItemsOne": false, @@ -51502,6 +36227,7 @@ }, "oci_devops_build_pipeline_stage": { "current": "oci:DevOps/getBuildPipelineStage:getBuildPipelineStage", + "majorVersion": 1, "fields": { "build_pipeline_stage_predecessor_collection": { "maxItemsOne": false, @@ -51553,6 +36279,7 @@ }, "oci_devops_build_pipeline_stages": { "current": "oci:DevOps/getBuildPipelineStages:getBuildPipelineStages", + "majorVersion": 1, "fields": { "build_pipeline_stage_collection": { "maxItemsOne": false, @@ -51628,6 +36355,7 @@ }, "oci_devops_build_pipelines": { "current": "oci:DevOps/getBuildPipelines:getBuildPipelines", + "majorVersion": 1, "fields": { "build_pipeline_collection": { "maxItemsOne": false, @@ -51667,6 +36395,7 @@ }, "oci_devops_build_run": { "current": "oci:DevOps/getBuildRun:getBuildRun", + "majorVersion": 1, "fields": { "build_outputs": { "maxItemsOne": false, @@ -51800,6 +36529,7 @@ }, "oci_devops_build_runs": { "current": "oci:DevOps/getBuildRuns:getBuildRuns", + "majorVersion": 1, "fields": { "build_run_summary_collection": { "maxItemsOne": false, @@ -51879,6 +36609,7 @@ }, "oci_devops_connection": { "current": "oci:DevOps/getConnection:getConnection", + "majorVersion": 1, "fields": { "last_connection_validation_result": { "maxItemsOne": false @@ -51890,6 +36621,7 @@ }, "oci_devops_connections": { "current": "oci:DevOps/getConnections:getConnections", + "majorVersion": 1, "fields": { "connection_collection": { "maxItemsOne": false, @@ -51925,6 +36657,7 @@ }, "oci_devops_deploy_artifact": { "current": "oci:DevOps/getDeployArtifact:getDeployArtifact", + "majorVersion": 1, "fields": { "deploy_artifact_source": { "maxItemsOne": false, @@ -51940,6 +36673,7 @@ }, "oci_devops_deploy_artifacts": { "current": "oci:DevOps/getDeployArtifacts:getDeployArtifacts", + "majorVersion": 1, "fields": { "deploy_artifact_collection": { "maxItemsOne": false, @@ -51979,6 +36713,7 @@ }, "oci_devops_deploy_environment": { "current": "oci:DevOps/getDeployEnvironment:getDeployEnvironment", + "majorVersion": 1, "fields": { "compute_instance_group_selectors": { "maxItemsOne": false, @@ -52011,6 +36746,7 @@ }, "oci_devops_deploy_environments": { "current": "oci:DevOps/getDeployEnvironments:getDeployEnvironments", + "majorVersion": 1, "fields": { "deploy_environment_collection": { "maxItemsOne": false, @@ -52067,6 +36803,7 @@ }, "oci_devops_deploy_pipeline": { "current": "oci:DevOps/getDeployPipeline:getDeployPipeline", + "majorVersion": 1, "fields": { "deploy_pipeline_artifacts": { "maxItemsOne": false, @@ -52130,6 +36867,7 @@ }, "oci_devops_deploy_pipelines": { "current": "oci:DevOps/getDeployPipelines:getDeployPipelines", + "majorVersion": 1, "fields": { "deploy_pipeline_collection": { "maxItemsOne": false, @@ -52217,6 +36955,7 @@ }, "oci_devops_deploy_stage": { "current": "oci:DevOps/getDeployStage:getDeployStage", + "majorVersion": 1, "fields": { "approval_policy": { "maxItemsOne": false @@ -52331,6 +37070,7 @@ }, "oci_devops_deploy_stages": { "current": "oci:DevOps/getDeployStages:getDeployStages", + "majorVersion": 1, "fields": { "deploy_stage_collection": { "maxItemsOne": false, @@ -52469,6 +37209,7 @@ }, "oci_devops_deployment": { "current": "oci:DevOps/getDeployment:getDeployment", + "majorVersion": 1, "fields": { "deploy_artifact_override_arguments": { "maxItemsOne": false, @@ -52555,6 +37296,7 @@ }, "oci_devops_deployments": { "current": "oci:DevOps/getDeployments:getDeployments", + "majorVersion": 1, "fields": { "deployment_collection": { "maxItemsOne": false, @@ -52665,6 +37407,7 @@ }, "oci_devops_project": { "current": "oci:DevOps/getProject:getProject", + "majorVersion": 1, "fields": { "notification_config": { "maxItemsOne": false @@ -52673,6 +37416,7 @@ }, "oci_devops_projects": { "current": "oci:DevOps/getProjects:getProjects", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -52705,6 +37449,7 @@ }, "oci_devops_repo_file_line": { "current": "oci:DevOps/getRepoFileLine:getRepoFileLine", + "majorVersion": 1, "fields": { "lines": { "maxItemsOne": false @@ -52713,6 +37458,7 @@ }, "oci_devops_repositories": { "current": "oci:DevOps/getRepositories:getRepositories", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -52755,6 +37501,7 @@ }, "oci_devops_repository": { "current": "oci:DevOps/getRepository:getRepository", + "majorVersion": 1, "fields": { "fields": { "maxItemsOne": false @@ -52775,10 +37522,12 @@ } }, "oci_devops_repository_archive_content": { - "current": "oci:DevOps/getRepositoryArchiveContent:getRepositoryArchiveContent" + "current": "oci:DevOps/getRepositoryArchiveContent:getRepositoryArchiveContent", + "majorVersion": 1 }, "oci_devops_repository_author": { "current": "oci:DevOps/getRepositoryAuthor:getRepositoryAuthor", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false @@ -52787,6 +37536,7 @@ }, "oci_devops_repository_authors": { "current": "oci:DevOps/getRepositoryAuthors:getRepositoryAuthors", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -52812,6 +37562,7 @@ }, "oci_devops_repository_commit": { "current": "oci:DevOps/getRepositoryCommit:getRepositoryCommit", + "majorVersion": 1, "fields": { "parent_commit_ids": { "maxItemsOne": false @@ -52820,6 +37571,7 @@ }, "oci_devops_repository_commits": { "current": "oci:DevOps/getRepositoryCommits:getRepositoryCommits", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -52852,6 +37604,7 @@ }, "oci_devops_repository_diff": { "current": "oci:DevOps/getRepositoryDiff:getRepositoryDiff", + "majorVersion": 1, "fields": { "changes": { "maxItemsOne": false, @@ -52874,6 +37627,7 @@ }, "oci_devops_repository_diffs": { "current": "oci:DevOps/getRepositoryDiffs:getRepositoryDiffs", + "majorVersion": 1, "fields": { "diff_collection": { "maxItemsOne": false, @@ -52920,6 +37674,7 @@ }, "oci_devops_repository_file_diff": { "current": "oci:DevOps/getRepositoryFileDiff:getRepositoryFileDiff", + "majorVersion": 1, "fields": { "changes": { "maxItemsOne": false, @@ -52942,6 +37697,7 @@ }, "oci_devops_repository_file_line": { "current": "oci:DevOps/getRepositoryFileLine:getRepositoryFileLine", + "majorVersion": 1, "fields": { "lines": { "maxItemsOne": false @@ -52949,10 +37705,12 @@ } }, "oci_devops_repository_mirror_record": { - "current": "oci:DevOps/getRepositoryMirrorRecord:getRepositoryMirrorRecord" + "current": "oci:DevOps/getRepositoryMirrorRecord:getRepositoryMirrorRecord", + "majorVersion": 1 }, "oci_devops_repository_mirror_records": { "current": "oci:DevOps/getRepositoryMirrorRecords:getRepositoryMirrorRecords", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -52977,13 +37735,16 @@ } }, "oci_devops_repository_object": { - "current": "oci:DevOps/getRepositoryObject:getRepositoryObject" + "current": "oci:DevOps/getRepositoryObject:getRepositoryObject", + "majorVersion": 1 }, "oci_devops_repository_object_content": { - "current": "oci:DevOps/getRepositoryObjectContent:getRepositoryObjectContent" + "current": "oci:DevOps/getRepositoryObjectContent:getRepositoryObjectContent", + "majorVersion": 1 }, "oci_devops_repository_path": { "current": "oci:DevOps/getRepositoryPath:getRepositoryPath", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false @@ -52992,6 +37753,7 @@ }, "oci_devops_repository_paths": { "current": "oci:DevOps/getRepositoryPaths:getRepositoryPaths", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -53016,10 +37778,12 @@ } }, "oci_devops_repository_ref": { - "current": "oci:DevOps/getRepositoryRef:getRepositoryRef" + "current": "oci:DevOps/getRepositoryRef:getRepositoryRef", + "majorVersion": 1 }, "oci_devops_repository_refs": { "current": "oci:DevOps/getRepositoryRefs:getRepositoryRefs", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -53045,6 +37809,7 @@ }, "oci_devops_trigger": { "current": "oci:DevOps/getTrigger:getTrigger", + "majorVersion": 1, "fields": { "actions": { "maxItemsOne": false, @@ -53101,6 +37866,7 @@ }, "oci_devops_triggers": { "current": "oci:DevOps/getTriggers:getTriggers", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -53181,6 +37947,7 @@ }, "oci_disaster_recovery_dr_plan": { "current": "oci:DisasterRecovery/getDrPlan:getDrPlan", + "majorVersion": 1, "fields": { "plan_groups": { "maxItemsOne": false, @@ -53210,6 +37977,7 @@ }, "oci_disaster_recovery_dr_plan_execution": { "current": "oci:DisasterRecovery/getDrPlanExecution:getDrPlanExecution", + "majorVersion": 1, "fields": { "execution_options": { "maxItemsOne": false @@ -53238,6 +38006,7 @@ }, "oci_disaster_recovery_dr_plan_executions": { "current": "oci:DisasterRecovery/getDrPlanExecutions:getDrPlanExecutions", + "majorVersion": 1, "fields": { "dr_plan_execution_collection": { "maxItemsOne": false, @@ -53290,6 +38059,7 @@ }, "oci_disaster_recovery_dr_plans": { "current": "oci:DisasterRecovery/getDrPlans:getDrPlans", + "majorVersion": 1, "fields": { "dr_plan_collection": { "maxItemsOne": false, @@ -53343,6 +38113,7 @@ }, "oci_disaster_recovery_dr_protection_group": { "current": "oci:DisasterRecovery/getDrProtectionGroup:getDrProtectionGroup", + "majorVersion": 1, "fields": { "association": { "maxItemsOne": false @@ -53381,6 +38152,7 @@ }, "oci_disaster_recovery_dr_protection_groups": { "current": "oci:DisasterRecovery/getDrProtectionGroups:getDrProtectionGroups", + "majorVersion": 1, "fields": { "dr_protection_group_collection": { "maxItemsOne": false, @@ -53443,6 +38215,7 @@ }, "oci_dns_records": { "current": "oci:Dns/getRecords:getRecords", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -53461,6 +38234,7 @@ }, "oci_dns_resolver": { "current": "oci:Dns/getResolver:getResolver", + "majorVersion": 1, "fields": { "attached_views": { "maxItemsOne": false @@ -53488,6 +38262,7 @@ }, "oci_dns_resolver_endpoint": { "current": "oci:Dns/getResolverEndpoint:getResolverEndpoint", + "majorVersion": 1, "fields": { "nsg_ids": { "maxItemsOne": false @@ -53496,6 +38271,7 @@ }, "oci_dns_resolver_endpoints": { "current": "oci:Dns/getResolverEndpoints:getResolverEndpoints", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -53521,6 +38297,7 @@ }, "oci_dns_resolvers": { "current": "oci:Dns/getResolvers:getResolvers", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -53565,6 +38342,7 @@ }, "oci_dns_rrset": { "current": "oci:Dns/getRrset:getRrset", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false @@ -53573,6 +38351,7 @@ }, "oci_dns_rrsets": { "current": "oci:Dns/getRrsets:getRrsets", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -53598,6 +38377,7 @@ }, "oci_dns_steering_policies": { "current": "oci:Dns/getSteeringPolicies:getSteeringPolicies", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -53643,6 +38423,7 @@ }, "oci_dns_steering_policy": { "current": "oci:Dns/getSteeringPolicy:getSteeringPolicy", + "majorVersion": 1, "fields": { "answers": { "maxItemsOne": false @@ -53671,6 +38452,7 @@ }, "oci_dns_steering_policy_attachment": { "current": "oci:Dns/getSteeringPolicyAttachment:getSteeringPolicyAttachment", + "majorVersion": 1, "fields": { "rtypes": { "maxItemsOne": false @@ -53679,6 +38461,7 @@ }, "oci_dns_steering_policy_attachments": { "current": "oci:Dns/getSteeringPolicyAttachments:getSteeringPolicyAttachments", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -53703,10 +38486,12 @@ } }, "oci_dns_tsig_key": { - "current": "oci:Dns/getTsigKey:getTsigKey" + "current": "oci:Dns/getTsigKey:getTsigKey", + "majorVersion": 1 }, "oci_dns_tsig_keys": { "current": "oci:Dns/getTsigKeys:getTsigKeys", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -53724,10 +38509,12 @@ } }, "oci_dns_view": { - "current": "oci:Dns/getView:getView" + "current": "oci:Dns/getView:getView", + "majorVersion": 1 }, "oci_dns_views": { "current": "oci:Dns/getViews:getViews", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -53746,6 +38533,7 @@ }, "oci_dns_zones": { "current": "oci:Dns/getZones:getZones", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -53779,10 +38567,12 @@ } }, "oci_em_warehouse_em_warehouse": { - "current": "oci:EmWarehouse/getEmWarehouse:getEmWarehouse" + "current": "oci:EmWarehouse/getEmWarehouse:getEmWarehouse", + "majorVersion": 1 }, "oci_em_warehouse_em_warehouse_etl_run": { "current": "oci:EmWarehouse/getEtlRun:getEtlRun", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false @@ -53791,6 +38581,7 @@ }, "oci_em_warehouse_em_warehouse_etl_runs": { "current": "oci:EmWarehouse/getEtlRuns:getEtlRuns", + "majorVersion": 1, "fields": { "etl_run_collection": { "maxItemsOne": false, @@ -53823,6 +38614,7 @@ }, "oci_em_warehouse_em_warehouse_resource_usage": { "current": "oci:EmWarehouse/getResourceUsage:getResourceUsage", + "majorVersion": 1, "fields": { "em_instances": { "maxItemsOne": false @@ -53831,6 +38623,7 @@ }, "oci_em_warehouse_em_warehouses": { "current": "oci:EmWarehouse/getEmWarehouses:getEmWarehouses", + "majorVersion": 1, "fields": { "em_warehouse_collection": { "maxItemsOne": false, @@ -53855,10 +38648,12 @@ } }, "oci_email_dkim": { - "current": "oci:Email/getDkim:getDkim" + "current": "oci:Email/getDkim:getDkim", + "majorVersion": 1 }, "oci_email_dkims": { "current": "oci:Email/getDkims:getDkims", + "majorVersion": 1, "fields": { "dkim_collection": { "maxItemsOne": false, @@ -53883,10 +38678,12 @@ } }, "oci_email_email_domain": { - "current": "oci:Email/getEmailDomain:getEmailDomain" + "current": "oci:Email/getEmailDomain:getEmailDomain", + "majorVersion": 1 }, "oci_email_email_domains": { "current": "oci:Email/getEmailDomains:getEmailDomains", + "majorVersion": 1, "fields": { "email_domain_collection": { "maxItemsOne": false, @@ -53911,10 +38708,12 @@ } }, "oci_email_sender": { - "current": "oci:Email/getSender:getSender" + "current": "oci:Email/getSender:getSender", + "majorVersion": 1 }, "oci_email_senders": { "current": "oci:Email/getSenders:getSenders", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -53932,10 +38731,12 @@ } }, "oci_email_suppression": { - "current": "oci:Email/getSuppression:getSuppression" + "current": "oci:Email/getSuppression:getSuppression", + "majorVersion": 1 }, "oci_email_suppressions": { "current": "oci:Email/getSuppressions:getSuppressions", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -53954,6 +38755,7 @@ }, "oci_events_rule": { "current": "oci:Events/getRule:getRule", + "majorVersion": 1, "fields": { "actions": { "maxItemsOne": false, @@ -53969,6 +38771,7 @@ }, "oci_events_rules": { "current": "oci:Events/getRules:getRules", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -54001,6 +38804,7 @@ }, "oci_file_storage_export_sets": { "current": "oci:FileStorage/getExportSets:getExportSets", + "majorVersion": 1, "fields": { "export_sets": { "maxItemsOne": false @@ -54019,6 +38823,7 @@ }, "oci_file_storage_exports": { "current": "oci:FileStorage/getExports:getExports", + "majorVersion": 1, "fields": { "exports": { "maxItemsOne": false, @@ -54051,6 +38856,7 @@ }, "oci_file_storage_file_systems": { "current": "oci:FileStorage/getFileSystems:getFileSystems", + "majorVersion": 1, "fields": { "file_systems": { "maxItemsOne": false, @@ -54076,6 +38882,7 @@ }, "oci_file_storage_filesystem_snapshot_policies": { "current": "oci:FileStorage/getFilesystemSnapshotPolicies:getFilesystemSnapshotPolicies", + "majorVersion": 1, "fields": { "filesystem_snapshot_policies": { "maxItemsOne": false, @@ -54101,6 +38908,7 @@ }, "oci_file_storage_filesystem_snapshot_policy": { "current": "oci:FileStorage/getFilesystemSnapshotPolicy:getFilesystemSnapshotPolicy", + "majorVersion": 1, "fields": { "schedules": { "maxItemsOne": false @@ -54109,6 +38917,7 @@ }, "oci_file_storage_mount_targets": { "current": "oci:FileStorage/getMountTargets:getMountTargets", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -54143,6 +38952,7 @@ }, "oci_file_storage_outbound_connector": { "current": "oci:FileStorage/getOutboundConnector:getOutboundConnector", + "majorVersion": 1, "fields": { "endpoints": { "maxItemsOne": false @@ -54151,6 +38961,7 @@ }, "oci_file_storage_outbound_connectors": { "current": "oci:FileStorage/getOutboundConnectors:getOutboundConnectors", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -54175,13 +38986,16 @@ } }, "oci_file_storage_replication": { - "current": "oci:FileStorage/getReplication:getReplication" + "current": "oci:FileStorage/getReplication:getReplication", + "majorVersion": 1 }, "oci_file_storage_replication_target": { - "current": "oci:FileStorage/getReplicationTarget:getReplicationTarget" + "current": "oci:FileStorage/getReplicationTarget:getReplicationTarget", + "majorVersion": 1 }, "oci_file_storage_replication_targets": { "current": "oci:FileStorage/getReplicationTargets:getReplicationTargets", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -54200,6 +39014,7 @@ }, "oci_file_storage_replications": { "current": "oci:FileStorage/getReplications:getReplications", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -54217,10 +39032,12 @@ } }, "oci_file_storage_snapshot": { - "current": "oci:FileStorage/getSnapshot:getSnapshot" + "current": "oci:FileStorage/getSnapshot:getSnapshot", + "majorVersion": 1 }, "oci_file_storage_snapshots": { "current": "oci:FileStorage/getSnapshots:getSnapshots", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -54239,6 +39056,7 @@ }, "oci_functions_application": { "current": "oci:Functions/getApplication:getApplication", + "majorVersion": 1, "fields": { "image_policy_config": { "maxItemsOne": false, @@ -54263,6 +39081,7 @@ }, "oci_functions_applications": { "current": "oci:Functions/getApplications:getApplications", + "majorVersion": 1, "fields": { "applications": { "maxItemsOne": false, @@ -54304,6 +39123,7 @@ }, "oci_functions_function": { "current": "oci:Functions/getFunction:getFunction", + "majorVersion": 1, "fields": { "provisioned_concurrency_config": { "maxItemsOne": false @@ -54318,6 +39138,7 @@ }, "oci_functions_functions": { "current": "oci:Functions/getFunctions:getFunctions", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -54349,6 +39170,7 @@ }, "oci_functions_pbf_listing": { "current": "oci:Functions/getPbfListing:getPbfListing", + "majorVersion": 1, "fields": { "publisher_details": { "maxItemsOne": false @@ -54360,6 +39182,7 @@ }, "oci_functions_pbf_listing_triggers": { "current": "oci:Functions/getPbfListingTriggers:getPbfListingTriggers", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -54385,6 +39208,7 @@ }, "oci_functions_pbf_listing_version": { "current": "oci:Functions/getPbfListingVersion:getPbfListingVersion", + "majorVersion": 1, "fields": { "config": { "maxItemsOne": false @@ -54406,6 +39230,7 @@ }, "oci_functions_pbf_listing_versions": { "current": "oci:Functions/getPbfListingVersions:getPbfListingVersions", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -54451,6 +39276,7 @@ }, "oci_functions_pbf_listings": { "current": "oci:Functions/getPbfListings:getPbfListings", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -54489,6 +39315,7 @@ }, "oci_fusion_apps_fusion_environment": { "current": "oci:Functions/getFusionEnvironment:getFusionEnvironment", + "majorVersion": 1, "fields": { "additional_language_packs": { "maxItemsOne": false @@ -54532,6 +39359,7 @@ }, "oci_fusion_apps_fusion_environment_admin_user": { "current": "oci:Functions/getFusionEnvironmentAdminUser:getFusionEnvironmentAdminUser", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false @@ -54540,6 +39368,7 @@ }, "oci_fusion_apps_fusion_environment_admin_users": { "current": "oci:Functions/getFusionEnvironmentAdminUsers:getFusionEnvironmentAdminUsers", + "majorVersion": 1, "fields": { "admin_user_collection": { "maxItemsOne": false, @@ -54572,6 +39401,7 @@ }, "oci_fusion_apps_fusion_environment_data_masking_activities": { "current": "oci:Functions/getFusionEnvironmentDataMaskingActivities:getFusionEnvironmentDataMaskingActivities", + "majorVersion": 1, "fields": { "data_masking_activity_collection": { "maxItemsOne": false, @@ -54596,10 +39426,12 @@ } }, "oci_fusion_apps_fusion_environment_data_masking_activity": { - "current": "oci:Functions/getFusionEnvironmentDataMaskingActivity:getFusionEnvironmentDataMaskingActivity" + "current": "oci:Functions/getFusionEnvironmentDataMaskingActivity:getFusionEnvironmentDataMaskingActivity", + "majorVersion": 1 }, "oci_fusion_apps_fusion_environment_families": { "current": "oci:Functions/getFusionEnvironmentFamilies:getFusionEnvironmentFamilies", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -54635,6 +39467,7 @@ }, "oci_fusion_apps_fusion_environment_family": { "current": "oci:Functions/getFusionEnvironmentFamily:getFusionEnvironmentFamily", + "majorVersion": 1, "fields": { "family_maintenance_policy": { "maxItemsOne": false @@ -54646,6 +39479,7 @@ }, "oci_fusion_apps_fusion_environment_family_limits_and_usage": { "current": "oci:Functions/getFusionEnvironmentFamilyLimitsAndUsage:getFusionEnvironmentFamilyLimitsAndUsage", + "majorVersion": 1, "fields": { "development_limit_and_usage": { "maxItemsOne": false @@ -54660,6 +39494,7 @@ }, "oci_fusion_apps_fusion_environment_family_subscription_detail": { "current": "oci:Functions/getFusionEnvironmentFamilySubscriptionDetail:getFusionEnvironmentFamilySubscriptionDetail", + "majorVersion": 1, "fields": { "subscriptions": { "maxItemsOne": false, @@ -54675,6 +39510,7 @@ }, "oci_fusion_apps_fusion_environment_refresh_activities": { "current": "oci:Functions/getFusionEnvironmentRefreshActivities:getFusionEnvironmentRefreshActivities", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -54707,6 +39543,7 @@ }, "oci_fusion_apps_fusion_environment_refresh_activity": { "current": "oci:Functions/getFusionEnvironmentRefreshActivity:getFusionEnvironmentRefreshActivity", + "majorVersion": 1, "fields": { "refresh_issue_details_list": { "maxItemsOne": false @@ -54715,6 +39552,7 @@ }, "oci_fusion_apps_fusion_environment_scheduled_activities": { "current": "oci:Functions/getFusionEnvironmentScheduledActivities:getFusionEnvironmentScheduledActivities", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -54747,6 +39585,7 @@ }, "oci_fusion_apps_fusion_environment_scheduled_activity": { "current": "oci:Functions/getFusionEnvironmentScheduledActivity:getFusionEnvironmentScheduledActivity", + "majorVersion": 1, "fields": { "actions": { "maxItemsOne": false @@ -54754,10 +39593,12 @@ } }, "oci_fusion_apps_fusion_environment_service_attachment": { - "current": "oci:Functions/getFusionEnvironmentServiceAttachment:getFusionEnvironmentServiceAttachment" + "current": "oci:Functions/getFusionEnvironmentServiceAttachment:getFusionEnvironmentServiceAttachment", + "majorVersion": 1 }, "oci_fusion_apps_fusion_environment_service_attachments": { "current": "oci:Functions/getFusionEnvironmentServiceAttachments:getFusionEnvironmentServiceAttachments", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -54782,10 +39623,12 @@ } }, "oci_fusion_apps_fusion_environment_status": { - "current": "oci:Functions/getFusionEnvironmentStatus:getFusionEnvironmentStatus" + "current": "oci:Functions/getFusionEnvironmentStatus:getFusionEnvironmentStatus", + "majorVersion": 1 }, "oci_fusion_apps_fusion_environment_time_available_for_refresh": { "current": "oci:Functions/getFusionEnvironmentTimeAvailableForRefresh:getFusionEnvironmentTimeAvailableForRefresh", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false @@ -54794,6 +39637,7 @@ }, "oci_fusion_apps_fusion_environment_time_available_for_refreshs": { "current": "oci:Functions/getFusionEnvironmentTimeAvailableForRefreshs:getFusionEnvironmentTimeAvailableForRefreshs", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -54819,6 +39663,7 @@ }, "oci_fusion_apps_fusion_environments": { "current": "oci:Functions/getFusionEnvironments:getFusionEnvironments", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -54885,13 +39730,16 @@ } }, "oci_generic_artifacts_content_artifact_by_path": { - "current": "oci:GenericArtifactsContent/getArtifactByPath:getArtifactByPath" + "current": "oci:GenericArtifactsContent/getArtifactByPath:getArtifactByPath", + "majorVersion": 1 }, "oci_generic_artifacts_content_generic_artifacts_content": { - "current": "oci:GenericArtifactsContent/getGenericArtifactsContent:getGenericArtifactsContent" + "current": "oci:GenericArtifactsContent/getGenericArtifactsContent:getGenericArtifactsContent", + "majorVersion": 1 }, "oci_golden_gate_connection": { "current": "oci:GoldenGate/getConnection:getConnection", + "majorVersion": 1, "fields": { "additional_attributes": { "maxItemsOne": false @@ -54908,10 +39756,12 @@ } }, "oci_golden_gate_connection_assignment": { - "current": "oci:GoldenGate/getConnectionAssignment:getConnectionAssignment" + "current": "oci:GoldenGate/getConnectionAssignment:getConnectionAssignment", + "majorVersion": 1 }, "oci_golden_gate_connection_assignments": { "current": "oci:GoldenGate/getConnectionAssignments:getConnectionAssignments", + "majorVersion": 1, "fields": { "connection_assignment_collection": { "maxItemsOne": false, @@ -54937,6 +39787,7 @@ }, "oci_golden_gate_connections": { "current": "oci:GoldenGate/getConnections:getConnections", + "majorVersion": 1, "fields": { "connection_collection": { "maxItemsOne": false, @@ -54983,10 +39834,12 @@ } }, "oci_golden_gate_database_registration": { - "current": "oci:GoldenGate/getDatabaseRegistration:getDatabaseRegistration" + "current": "oci:GoldenGate/getDatabaseRegistration:getDatabaseRegistration", + "majorVersion": 1 }, "oci_golden_gate_database_registrations": { "current": "oci:GoldenGate/getDatabaseRegistrations:getDatabaseRegistrations", + "majorVersion": 1, "fields": { "database_registration_collection": { "maxItemsOne": false, @@ -55012,6 +39865,7 @@ }, "oci_golden_gate_deployment": { "current": "oci:GoldenGate/getDeployment:getDeployment", + "majorVersion": 1, "fields": { "deployment_diagnostic_data": { "maxItemsOne": false @@ -55031,10 +39885,12 @@ } }, "oci_golden_gate_deployment_backup": { - "current": "oci:GoldenGate/getDeploymentBackup:getDeploymentBackup" + "current": "oci:GoldenGate/getDeploymentBackup:getDeploymentBackup", + "majorVersion": 1 }, "oci_golden_gate_deployment_backups": { "current": "oci:GoldenGate/getDeploymentBackups:getDeploymentBackups", + "majorVersion": 1, "fields": { "deployment_backup_collection": { "maxItemsOne": false, @@ -55060,6 +39916,7 @@ }, "oci_golden_gate_deployment_type": { "current": "oci:GoldenGate/getDeploymentType:getDeploymentType", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false, @@ -55081,6 +39938,7 @@ }, "oci_golden_gate_deployment_types": { "current": "oci:GoldenGate/getDeploymentTypes:getDeploymentTypes", + "majorVersion": 1, "fields": { "deployment_type_collection": { "maxItemsOne": false, @@ -55118,10 +39976,12 @@ } }, "oci_golden_gate_deployment_upgrade": { - "current": "oci:GoldenGate/getDeploymentUpgrade:getDeploymentUpgrade" + "current": "oci:GoldenGate/getDeploymentUpgrade:getDeploymentUpgrade", + "majorVersion": 1 }, "oci_golden_gate_deployment_upgrades": { "current": "oci:GoldenGate/getDeploymentUpgrades:getDeploymentUpgrades", + "majorVersion": 1, "fields": { "deployment_upgrade_collection": { "maxItemsOne": false, @@ -55147,6 +40007,7 @@ }, "oci_golden_gate_deployment_versions": { "current": "oci:GoldenGate/getDeploymentVersions:getDeploymentVersions", + "majorVersion": 1, "fields": { "deployment_version_collection": { "maxItemsOne": false, @@ -55172,6 +40033,7 @@ }, "oci_golden_gate_deployments": { "current": "oci:GoldenGate/getDeployments:getDeployments", + "majorVersion": 1, "fields": { "deployment_collection": { "maxItemsOne": false, @@ -55216,6 +40078,7 @@ }, "oci_golden_gate_message": { "current": "oci:GoldenGate/getMessage:getMessage", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false @@ -55224,6 +40087,7 @@ }, "oci_golden_gate_messages": { "current": "oci:GoldenGate/getMessages:getMessages", + "majorVersion": 1, "fields": { "deployment_messages_collection": { "maxItemsOne": false, @@ -55249,6 +40113,7 @@ }, "oci_golden_gate_trail_file": { "current": "oci:GoldenGate/getTrailFile:getTrailFile", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false, @@ -55264,6 +40129,7 @@ }, "oci_golden_gate_trail_files": { "current": "oci:GoldenGate/getTrailFiles:getTrailFiles", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -55296,6 +40162,7 @@ }, "oci_golden_gate_trail_sequence": { "current": "oci:GoldenGate/getTrailSequence:getTrailSequence", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false @@ -55304,6 +40171,7 @@ }, "oci_golden_gate_trail_sequences": { "current": "oci:GoldenGate/getTrailSequences:getTrailSequences", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -55329,6 +40197,7 @@ }, "oci_health_checks_http_monitor": { "current": "oci:HealthChecks/getHttpMonitor:getHttpMonitor", + "majorVersion": 1, "fields": { "targets": { "maxItemsOne": false @@ -55340,6 +40209,7 @@ }, "oci_health_checks_http_monitors": { "current": "oci:HealthChecks/getHttpMonitors:getHttpMonitors", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -55368,6 +40238,7 @@ }, "oci_health_checks_http_probe_results": { "current": "oci:HealthChecks/getHttpProbeResults:getHttpProbeResults", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -55403,6 +40274,7 @@ }, "oci_health_checks_ping_monitor": { "current": "oci:HealthChecks/getPingMonitor:getPingMonitor", + "majorVersion": 1, "fields": { "targets": { "maxItemsOne": false @@ -55414,6 +40286,7 @@ }, "oci_health_checks_ping_monitors": { "current": "oci:HealthChecks/getPingMonitors:getPingMonitors", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -55442,6 +40315,7 @@ }, "oci_health_checks_ping_probe_results": { "current": "oci:HealthChecks/getPingProbeResults:getPingProbeResults", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -55477,6 +40351,7 @@ }, "oci_health_checks_vantage_points": { "current": "oci:HealthChecks/getVantagePoints:getVantagePoints", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -55505,6 +40380,7 @@ }, "oci_identity_allowed_domain_license_types": { "current": "oci:Identity/getAllowedDomainLicenseTypes:getAllowedDomainLicenseTypes", + "majorVersion": 1, "fields": { "allowed_domain_license_types": { "maxItemsOne": false @@ -55523,6 +40399,7 @@ }, "oci_identity_api_keys": { "current": "oci:Identity/getApiKeys:getApiKeys", + "majorVersion": 1, "fields": { "api_keys": { "maxItemsOne": false @@ -55541,6 +40418,7 @@ }, "oci_identity_auth_tokens": { "current": "oci:Identity/getAuthTokens:getAuthTokens", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -55559,6 +40437,7 @@ }, "oci_identity_authentication_policy": { "current": "oci:Identity/getAuthenticationPolicy:getAuthenticationPolicy", + "majorVersion": 1, "fields": { "network_policy": { "maxItemsOne": false, @@ -55576,10 +40455,12 @@ } }, "oci_identity_availability_domain": { - "current": "oci:Identity/getAvailabilityDomain:getAvailabilityDomain" + "current": "oci:Identity/getAvailabilityDomain:getAvailabilityDomain", + "majorVersion": 1 }, "oci_identity_availability_domains": { "current": "oci:Identity/getAvailabilityDomains:getAvailabilityDomains", + "majorVersion": 1, "fields": { "availability_domains": { "maxItemsOne": false @@ -55597,10 +40478,12 @@ } }, "oci_identity_compartment": { - "current": "oci:Identity/getCompartment:getCompartment" + "current": "oci:Identity/getCompartment:getCompartment", + "majorVersion": 1 }, "oci_identity_compartments": { "current": "oci:Identity/getCompartments:getCompartments", + "majorVersion": 1, "fields": { "compartments": { "maxItemsOne": false @@ -55619,6 +40502,7 @@ }, "oci_identity_cost_tracking_tags": { "current": "oci:Identity/getCostTrackingTags:getCostTrackingTags", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -55651,6 +40535,7 @@ }, "oci_identity_customer_secret_keys": { "current": "oci:Identity/getCustomerSecretKeys:getCustomerSecretKeys", + "majorVersion": 1, "fields": { "customer_secret_keys": { "maxItemsOne": false @@ -55669,6 +40554,7 @@ }, "oci_identity_db_credentials": { "current": "oci:Identity/getDbCredentials:getDbCredentials", + "majorVersion": 1, "fields": { "db_credentials": { "maxItemsOne": false @@ -55687,6 +40573,7 @@ }, "oci_identity_domain": { "current": "oci:Identity/getDomain:getDomain", + "majorVersion": 1, "fields": { "replica_regions": { "maxItemsOne": false @@ -55695,6 +40582,7 @@ }, "oci_identity_domains": { "current": "oci:Identity/getDomains:getDomains", + "majorVersion": 1, "fields": { "domains": { "maxItemsOne": false, @@ -55720,6 +40608,7 @@ }, "oci_identity_domains_account_mgmt_info": { "current": "oci:Identity/getDomainsAccountMgmtInfo:getDomainsAccountMgmtInfo", + "majorVersion": 1, "fields": { "app": { "maxItemsOne": false @@ -55764,6 +40653,7 @@ }, "oci_identity_domains_account_mgmt_infos": { "current": "oci:Identity/getDomainsAccountMgmtInfos:getDomainsAccountMgmtInfos", + "majorVersion": 1, "fields": { "account_mgmt_infos": { "maxItemsOne": false, @@ -55821,6 +40711,7 @@ }, "oci_identity_domains_account_recovery_setting": { "current": "oci:Identity/getDomainsAccountRecoverySetting:getDomainsAccountRecoverySetting", + "majorVersion": 1, "fields": { "attribute_sets": { "maxItemsOne": false @@ -55850,6 +40741,7 @@ }, "oci_identity_domains_account_recovery_settings": { "current": "oci:Identity/getDomainsAccountRecoverySettings:getDomainsAccountRecoverySettings", + "majorVersion": 1, "fields": { "account_recovery_settings": { "maxItemsOne": false, @@ -55892,6 +40784,7 @@ }, "oci_identity_domains_api_key": { "current": "oci:Identity/getDomainsApiKey:getDomainsApiKey", + "majorVersion": 1, "fields": { "attribute_sets": { "maxItemsOne": false @@ -55924,6 +40817,7 @@ }, "oci_identity_domains_api_keys": { "current": "oci:Identity/getDomainsApiKeys:getDomainsApiKeys", + "majorVersion": 1, "fields": { "api_keys": { "maxItemsOne": false, @@ -55969,6 +40863,7 @@ }, "oci_identity_domains_app": { "current": "oci:Identity/getDomainsApp:getDomainsApp", + "majorVersion": 1, "fields": { "accounts": { "maxItemsOne": false @@ -56250,6 +41145,7 @@ }, "oci_identity_domains_app_role": { "current": "oci:Identity/getDomainsAppRole:getDomainsAppRole", + "majorVersion": 1, "fields": { "app": { "maxItemsOne": false @@ -56282,6 +41178,7 @@ }, "oci_identity_domains_app_roles": { "current": "oci:Identity/getDomainsAppRoles:getDomainsAppRoles", + "majorVersion": 1, "fields": { "app_roles": { "maxItemsOne": false, @@ -56327,6 +41224,7 @@ }, "oci_identity_domains_apps": { "current": "oci:Identity/getDomainsApps:getDomainsApps", + "majorVersion": 1, "fields": { "apps": { "maxItemsOne": false, @@ -56621,6 +41519,7 @@ }, "oci_identity_domains_auth_token": { "current": "oci:Identity/getDomainsAuthToken:getDomainsAuthToken", + "majorVersion": 1, "fields": { "attribute_sets": { "maxItemsOne": false @@ -56653,6 +41552,7 @@ }, "oci_identity_domains_auth_tokens": { "current": "oci:Identity/getDomainsAuthTokens:getDomainsAuthTokens", + "majorVersion": 1, "fields": { "attribute_sets": { "maxItemsOne": false @@ -56698,6 +41598,7 @@ }, "oci_identity_domains_authentication_factor_setting": { "current": "oci:Identity/getDomainsAuthenticationFactorSetting:getDomainsAuthenticationFactorSetting", + "majorVersion": 1, "fields": { "attribute_sets": { "maxItemsOne": false @@ -56774,6 +41675,7 @@ }, "oci_identity_domains_authentication_factor_settings": { "current": "oci:Identity/getDomainsAuthenticationFactorSettings:getDomainsAuthenticationFactorSettings", + "majorVersion": 1, "fields": { "attribute_sets": { "maxItemsOne": false @@ -56863,6 +41765,7 @@ }, "oci_identity_domains_customer_secret_key": { "current": "oci:Identity/getDomainsCustomerSecretKey:getDomainsCustomerSecretKey", + "majorVersion": 1, "fields": { "attribute_sets": { "maxItemsOne": false @@ -56895,6 +41798,7 @@ }, "oci_identity_domains_customer_secret_keys": { "current": "oci:Identity/getDomainsCustomerSecretKeys:getDomainsCustomerSecretKeys", + "majorVersion": 1, "fields": { "attribute_sets": { "maxItemsOne": false @@ -56940,6 +41844,7 @@ }, "oci_identity_domains_dynamic_resource_group": { "current": "oci:Identity/getDomainsDynamicResourceGroup:getDomainsDynamicResourceGroup", + "majorVersion": 1, "fields": { "attribute_sets": { "maxItemsOne": false @@ -56985,6 +41890,7 @@ }, "oci_identity_domains_dynamic_resource_groups": { "current": "oci:Identity/getDomainsDynamicResourceGroups:getDomainsDynamicResourceGroups", + "majorVersion": 1, "fields": { "attribute_sets": { "maxItemsOne": false @@ -57043,6 +41949,7 @@ }, "oci_identity_domains_grant": { "current": "oci:Identity/getDomainsGrant:getDomainsGrant", + "majorVersion": 1, "fields": { "app": { "maxItemsOne": false @@ -57084,6 +41991,7 @@ }, "oci_identity_domains_grants": { "current": "oci:Identity/getDomainsGrants:getDomainsGrants", + "majorVersion": 1, "fields": { "attribute_sets": { "maxItemsOne": false @@ -57138,6 +42046,7 @@ }, "oci_identity_domains_group": { "current": "oci:Identity/getDomainsGroup:getDomainsGroup", + "majorVersion": 1, "fields": { "attribute_sets": { "maxItemsOne": false @@ -57224,6 +42133,7 @@ }, "oci_identity_domains_groups": { "current": "oci:Identity/getDomainsGroups:getDomainsGroups", + "majorVersion": 1, "fields": { "attribute_sets": { "maxItemsOne": false @@ -57323,6 +42233,7 @@ }, "oci_identity_domains_identity_provider": { "current": "oci:Identity/getDomainsIdentityProvider:getDomainsIdentityProvider", + "majorVersion": 1, "fields": { "attribute_sets": { "maxItemsOne": false @@ -57393,6 +42304,7 @@ }, "oci_identity_domains_identity_providers": { "current": "oci:Identity/getDomainsIdentityProviders:getDomainsIdentityProviders", + "majorVersion": 1, "fields": { "attribute_sets": { "maxItemsOne": false @@ -57476,6 +42388,7 @@ }, "oci_identity_domains_identity_setting": { "current": "oci:Identity/getDomainsIdentitySetting:getDomainsIdentitySetting", + "majorVersion": 1, "fields": { "attribute_sets": { "maxItemsOne": false @@ -57514,6 +42427,7 @@ }, "oci_identity_domains_identity_settings": { "current": "oci:Identity/getDomainsIdentitySettings:getDomainsIdentitySettings", + "majorVersion": 1, "fields": { "attribute_sets": { "maxItemsOne": false @@ -57565,6 +42479,7 @@ }, "oci_identity_domains_kmsi_setting": { "current": "oci:Identity/getDomainsKmsiSetting:getDomainsKmsiSetting", + "majorVersion": 1, "fields": { "attribute_sets": { "maxItemsOne": false @@ -57591,6 +42506,7 @@ }, "oci_identity_domains_kmsi_settings": { "current": "oci:Identity/getDomainsKmsiSettings:getDomainsKmsiSettings", + "majorVersion": 1, "fields": { "attribute_sets": { "maxItemsOne": false @@ -57630,6 +42546,7 @@ }, "oci_identity_domains_my_api_key": { "current": "oci:Identity/getDomainsMyApiKey:getDomainsMyApiKey", + "majorVersion": 1, "fields": { "idcs_created_by": { "maxItemsOne": false @@ -57656,6 +42573,7 @@ }, "oci_identity_domains_my_api_keys": { "current": "oci:Identity/getDomainsMyApiKeys:getDomainsMyApiKeys", + "majorVersion": 1, "fields": { "my_api_keys": { "maxItemsOne": false, @@ -57692,6 +42610,7 @@ }, "oci_identity_domains_my_apps": { "current": "oci:Identity/getDomainsMyApps:getDomainsMyApps", + "majorVersion": 1, "fields": { "my_apps": { "maxItemsOne": false, @@ -57734,6 +42653,7 @@ }, "oci_identity_domains_my_auth_token": { "current": "oci:Identity/getDomainsMyAuthToken:getDomainsMyAuthToken", + "majorVersion": 1, "fields": { "idcs_created_by": { "maxItemsOne": false @@ -57760,6 +42680,7 @@ }, "oci_identity_domains_my_auth_tokens": { "current": "oci:Identity/getDomainsMyAuthTokens:getDomainsMyAuthTokens", + "majorVersion": 1, "fields": { "my_auth_tokens": { "maxItemsOne": false, @@ -57796,6 +42717,7 @@ }, "oci_identity_domains_my_customer_secret_key": { "current": "oci:Identity/getDomainsMyCustomerSecretKey:getDomainsMyCustomerSecretKey", + "majorVersion": 1, "fields": { "idcs_created_by": { "maxItemsOne": false @@ -57822,6 +42744,7 @@ }, "oci_identity_domains_my_customer_secret_keys": { "current": "oci:Identity/getDomainsMyCustomerSecretKeys:getDomainsMyCustomerSecretKeys", + "majorVersion": 1, "fields": { "my_customer_secret_keys": { "maxItemsOne": false, @@ -57858,6 +42781,7 @@ }, "oci_identity_domains_my_device": { "current": "oci:Identity/getDomainsMyDevice:getDomainsMyDevice", + "majorVersion": 1, "fields": { "additional_attributes": { "maxItemsOne": false @@ -57902,6 +42826,7 @@ }, "oci_identity_domains_my_devices": { "current": "oci:Identity/getDomainsMyDevices:getDomainsMyDevices", + "majorVersion": 1, "fields": { "attribute_sets": { "maxItemsOne": false @@ -57959,6 +42884,7 @@ }, "oci_identity_domains_my_groups": { "current": "oci:Identity/getDomainsMyGroups:getDomainsMyGroups", + "majorVersion": 1, "fields": { "attribute_sets": { "maxItemsOne": false @@ -58023,6 +42949,7 @@ }, "oci_identity_domains_my_oauth2client_credential": { "current": "oci:Identity/getDomainsMyOauth2clientCredential:getDomainsMyOauth2clientCredential", + "majorVersion": 1, "fields": { "idcs_created_by": { "maxItemsOne": false @@ -58052,6 +42979,7 @@ }, "oci_identity_domains_my_oauth2client_credentials": { "current": "oci:Identity/getDomainsMyOauth2clientCredentials:getDomainsMyOauth2clientCredentials", + "majorVersion": 1, "fields": { "my_oauth2client_credentials": { "maxItemsOne": false, @@ -58091,6 +43019,7 @@ }, "oci_identity_domains_my_requestable_groups": { "current": "oci:Identity/getDomainsMyRequestableGroups:getDomainsMyRequestableGroups", + "majorVersion": 1, "fields": { "my_requestable_groups": { "maxItemsOne": false, @@ -58152,6 +43081,7 @@ }, "oci_identity_domains_my_requests": { "current": "oci:Identity/getDomainsMyRequests:getDomainsMyRequests", + "majorVersion": 1, "fields": { "attribute_sets": { "maxItemsOne": false @@ -58194,6 +43124,7 @@ }, "oci_identity_domains_my_smtp_credential": { "current": "oci:Identity/getDomainsMySmtpCredential:getDomainsMySmtpCredential", + "majorVersion": 1, "fields": { "idcs_created_by": { "maxItemsOne": false @@ -58220,6 +43151,7 @@ }, "oci_identity_domains_my_smtp_credentials": { "current": "oci:Identity/getDomainsMySmtpCredentials:getDomainsMySmtpCredentials", + "majorVersion": 1, "fields": { "my_smtp_credentials": { "maxItemsOne": false, @@ -58256,6 +43188,7 @@ }, "oci_identity_domains_my_support_account": { "current": "oci:Identity/getDomainsMySupportAccount:getDomainsMySupportAccount", + "majorVersion": 1, "fields": { "idcs_created_by": { "maxItemsOne": false @@ -58282,6 +43215,7 @@ }, "oci_identity_domains_my_support_accounts": { "current": "oci:Identity/getDomainsMySupportAccounts:getDomainsMySupportAccounts", + "majorVersion": 1, "fields": { "my_support_accounts": { "maxItemsOne": false, @@ -58318,6 +43252,7 @@ }, "oci_identity_domains_my_trusted_user_agent": { "current": "oci:Identity/getDomainsMyTrustedUserAgent:getDomainsMyTrustedUserAgent", + "majorVersion": 1, "fields": { "attribute_sets": { "maxItemsOne": false @@ -58350,6 +43285,7 @@ }, "oci_identity_domains_my_trusted_user_agents": { "current": "oci:Identity/getDomainsMyTrustedUserAgents:getDomainsMyTrustedUserAgents", + "majorVersion": 1, "fields": { "attribute_sets": { "maxItemsOne": false @@ -58395,6 +43331,7 @@ }, "oci_identity_domains_my_user_db_credential": { "current": "oci:Identity/getDomainsMyUserDbCredential:getDomainsMyUserDbCredential", + "majorVersion": 1, "fields": { "idcs_created_by": { "maxItemsOne": false @@ -58421,6 +43358,7 @@ }, "oci_identity_domains_my_user_db_credentials": { "current": "oci:Identity/getDomainsMyUserDbCredentials:getDomainsMyUserDbCredentials", + "majorVersion": 1, "fields": { "my_user_db_credentials": { "maxItemsOne": false, @@ -58457,6 +43395,7 @@ }, "oci_identity_domains_oauth2client_credential": { "current": "oci:Identity/getDomainsOauth2clientCredential:getDomainsOauth2clientCredential", + "majorVersion": 1, "fields": { "attribute_sets": { "maxItemsOne": false @@ -58492,6 +43431,7 @@ }, "oci_identity_domains_oauth2client_credentials": { "current": "oci:Identity/getDomainsOauth2clientCredentials:getDomainsOauth2clientCredentials", + "majorVersion": 1, "fields": { "attribute_sets": { "maxItemsOne": false @@ -58540,6 +43480,7 @@ }, "oci_identity_domains_password_policies": { "current": "oci:Identity/getDomainsPasswordPolicies:getDomainsPasswordPolicies", + "majorVersion": 1, "fields": { "attribute_sets": { "maxItemsOne": false @@ -58591,6 +43532,7 @@ }, "oci_identity_domains_password_policy": { "current": "oci:Identity/getDomainsPasswordPolicy:getDomainsPasswordPolicy", + "majorVersion": 1, "fields": { "attribute_sets": { "maxItemsOne": false @@ -58629,6 +43571,7 @@ }, "oci_identity_domains_resource_type_schema_attributes": { "current": "oci:Identity/getDomainsResourceTypeSchemaAttributes:getDomainsResourceTypeSchemaAttributes", + "majorVersion": 1, "fields": { "attribute_sets": { "maxItemsOne": false @@ -58683,6 +43626,7 @@ }, "oci_identity_domains_security_question": { "current": "oci:Identity/getDomainsSecurityQuestion:getDomainsSecurityQuestion", + "majorVersion": 1, "fields": { "attribute_sets": { "maxItemsOne": false @@ -58712,6 +43656,7 @@ }, "oci_identity_domains_security_question_setting": { "current": "oci:Identity/getDomainsSecurityQuestionSetting:getDomainsSecurityQuestionSetting", + "majorVersion": 1, "fields": { "attribute_sets": { "maxItemsOne": false @@ -58738,6 +43683,7 @@ }, "oci_identity_domains_security_question_settings": { "current": "oci:Identity/getDomainsSecurityQuestionSettings:getDomainsSecurityQuestionSettings", + "majorVersion": 1, "fields": { "attribute_sets": { "maxItemsOne": false @@ -58777,6 +43723,7 @@ }, "oci_identity_domains_security_questions": { "current": "oci:Identity/getDomainsSecurityQuestions:getDomainsSecurityQuestions", + "majorVersion": 1, "fields": { "attribute_sets": { "maxItemsOne": false @@ -58819,6 +43766,7 @@ }, "oci_identity_domains_smtp_credential": { "current": "oci:Identity/getDomainsSmtpCredential:getDomainsSmtpCredential", + "majorVersion": 1, "fields": { "attribute_sets": { "maxItemsOne": false @@ -58851,6 +43799,7 @@ }, "oci_identity_domains_smtp_credentials": { "current": "oci:Identity/getDomainsSmtpCredentials:getDomainsSmtpCredentials", + "majorVersion": 1, "fields": { "attribute_sets": { "maxItemsOne": false @@ -58896,6 +43845,7 @@ }, "oci_identity_domains_user": { "current": "oci:Identity/getDomainsUser:getDomainsUser", + "majorVersion": 1, "fields": { "addresses": { "maxItemsOne": false @@ -59177,6 +44127,7 @@ }, "oci_identity_domains_user_attributes_setting": { "current": "oci:Identity/getDomainsUserAttributesSetting:getDomainsUserAttributesSetting", + "majorVersion": 1, "fields": { "attribute_sets": { "maxItemsOne": false @@ -59213,6 +44164,7 @@ }, "oci_identity_domains_user_attributes_settings": { "current": "oci:Identity/getDomainsUserAttributesSettings:getDomainsUserAttributesSettings", + "majorVersion": 1, "fields": { "attribute_sets": { "maxItemsOne": false @@ -59262,6 +44214,7 @@ }, "oci_identity_domains_user_db_credential": { "current": "oci:Identity/getDomainsUserDbCredential:getDomainsUserDbCredential", + "majorVersion": 1, "fields": { "attribute_sets": { "maxItemsOne": false @@ -59294,6 +44247,7 @@ }, "oci_identity_domains_user_db_credentials": { "current": "oci:Identity/getDomainsUserDbCredentials:getDomainsUserDbCredentials", + "majorVersion": 1, "fields": { "attribute_sets": { "maxItemsOne": false @@ -59339,6 +44293,7 @@ }, "oci_identity_domains_users": { "current": "oci:Identity/getDomainsUsers:getDomainsUsers", + "majorVersion": 1, "fields": { "attribute_sets": { "maxItemsOne": false @@ -59633,6 +44588,7 @@ }, "oci_identity_dynamic_groups": { "current": "oci:Identity/getDynamicGroups:getDynamicGroups", + "majorVersion": 1, "fields": { "dynamic_groups": { "maxItemsOne": false @@ -59651,6 +44607,7 @@ }, "oci_identity_fault_domains": { "current": "oci:Identity/getFaultDomains:getFaultDomains", + "majorVersion": 1, "fields": { "fault_domains": { "maxItemsOne": false @@ -59668,10 +44625,12 @@ } }, "oci_identity_group": { - "current": "oci:Identity/getGroup:getGroup" + "current": "oci:Identity/getGroup:getGroup", + "majorVersion": 1 }, "oci_identity_groups": { "current": "oci:Identity/getGroups:getGroups", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -59690,6 +44649,7 @@ }, "oci_identity_iam_work_request": { "current": "oci:Identity/getIamWorkRequest:getIamWorkRequest", + "majorVersion": 1, "fields": { "resources": { "maxItemsOne": false @@ -59698,6 +44658,7 @@ }, "oci_identity_iam_work_request_errors": { "current": "oci:Identity/getIamWorkRequestErrors:getIamWorkRequestErrors", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -59716,6 +44677,7 @@ }, "oci_identity_iam_work_request_logs": { "current": "oci:Identity/getIamWorkRequestLogs:getIamWorkRequestLogs", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -59734,6 +44696,7 @@ }, "oci_identity_iam_work_requests": { "current": "oci:Identity/getIamWorkRequests:getIamWorkRequests", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -59759,6 +44722,7 @@ }, "oci_identity_identity_provider_groups": { "current": "oci:Identity/getIdentityProviderGroups:getIdentityProviderGroups", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -59777,6 +44741,7 @@ }, "oci_identity_identity_providers": { "current": "oci:Identity/getIdentityProviders:getIdentityProviders", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -59795,6 +44760,7 @@ }, "oci_identity_idp_group_mappings": { "current": "oci:Identity/getIdpGroupMappings:getIdpGroupMappings", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -59813,6 +44779,7 @@ }, "oci_identity_network_source": { "current": "oci:Identity/getNetworkSource:getNetworkSource", + "majorVersion": 1, "fields": { "public_source_list": { "maxItemsOne": false @@ -59834,6 +44801,7 @@ }, "oci_identity_network_sources": { "current": "oci:Identity/getNetworkSources:getNetworkSources", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -59872,6 +44840,7 @@ }, "oci_identity_policies": { "current": "oci:Identity/getPolicies:getPolicies", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -59897,6 +44866,7 @@ }, "oci_identity_region_subscriptions": { "current": "oci:Identity/getRegionSubscriptions:getRegionSubscriptions", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -59915,6 +44885,7 @@ }, "oci_identity_regions": { "current": "oci:Identity/getRegions:getRegions", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -59933,6 +44904,7 @@ }, "oci_identity_smtp_credentials": { "current": "oci:Identity/getSmtpCredentials:getSmtpCredentials", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -59954,6 +44926,7 @@ }, "oci_identity_tag": { "current": "oci:Identity/getTag:getTag", + "majorVersion": 1, "fields": { "validator": { "maxItemsOne": false, @@ -59968,10 +44941,12 @@ } }, "oci_identity_tag_default": { - "current": "oci:Identity/getTagDefault:getTagDefault" + "current": "oci:Identity/getTagDefault:getTagDefault", + "majorVersion": 1 }, "oci_identity_tag_defaults": { "current": "oci:Identity/getTagDefaults:getTagDefaults", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -59990,6 +44965,7 @@ }, "oci_identity_tag_namespaces": { "current": "oci:Identity/getTagNamespaces:getTagNamespaces", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -60008,6 +44984,7 @@ }, "oci_identity_tag_standard_tag_namespace_template": { "current": "oci:Identity/getTagStandardTagNamespaceTemplate:getTagStandardTagNamespaceTemplate", + "majorVersion": 1, "fields": { "tag_definition_templates": { "maxItemsOne": false, @@ -60023,6 +45000,7 @@ }, "oci_identity_tag_standard_tag_namespace_templates": { "current": "oci:Identity/getTagStandardTagNamespaceTemplates:getTagStandardTagNamespaceTemplates", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -60041,6 +45019,7 @@ }, "oci_identity_tags": { "current": "oci:Identity/getTags:getTags", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -60072,13 +45051,16 @@ } }, "oci_identity_tenancy": { - "current": "oci:Identity/getTenancy:getTenancy" + "current": "oci:Identity/getTenancy:getTenancy", + "majorVersion": 1 }, "oci_identity_ui_password": { - "current": "oci:Identity/getUiPassword:getUiPassword" + "current": "oci:Identity/getUiPassword:getUiPassword", + "majorVersion": 1 }, "oci_identity_user": { "current": "oci:Identity/getUser:getUser", + "majorVersion": 1, "fields": { "capabilities": { "maxItemsOne": false @@ -60087,6 +45069,7 @@ }, "oci_identity_user_group_memberships": { "current": "oci:Identity/getUserGroupMemberships:getUserGroupMemberships", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -60105,6 +45088,7 @@ }, "oci_identity_users": { "current": "oci:Identity/getUsers:getUsers", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -60130,6 +45114,7 @@ }, "oci_integration_integration_instance": { "current": "oci:Integration/getIntegrationInstance:getIntegrationInstance", + "majorVersion": 1, "fields": { "alternate_custom_endpoints": { "maxItemsOne": false @@ -60167,6 +45152,7 @@ }, "oci_integration_integration_instances": { "current": "oci:Integration/getIntegrationInstances:getIntegrationInstances", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -60221,6 +45207,7 @@ }, "oci_jms_announcements": { "current": "oci:Jms/getAnnouncements:getAnnouncements", + "majorVersion": 1, "fields": { "announcement_collection": { "maxItemsOne": false, @@ -60246,6 +45233,7 @@ }, "oci_jms_fleet": { "current": "oci:Jms/getFleet:getFleet", + "majorVersion": 1, "fields": { "inventory_log": { "maxItemsOne": false @@ -60257,6 +45245,7 @@ }, "oci_jms_fleet_advanced_feature_configuration": { "current": "oci:Jms/getFleetAdvancedFeatureConfiguration:getFleetAdvancedFeatureConfiguration", + "majorVersion": 1, "fields": { "advanced_usage_tracking": { "maxItemsOne": false @@ -60320,6 +45309,7 @@ }, "oci_jms_fleet_blocklists": { "current": "oci:Jms/getFleetBlocklists:getFleetBlocklists", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -60344,10 +45334,12 @@ } }, "oci_jms_fleet_crypto_analysis_result": { - "current": "oci:Jms/getFleetCryptoAnalysisResult:getFleetCryptoAnalysisResult" + "current": "oci:Jms/getFleetCryptoAnalysisResult:getFleetCryptoAnalysisResult", + "majorVersion": 1 }, "oci_jms_fleet_crypto_analysis_results": { "current": "oci:Jms/getFleetCryptoAnalysisResults:getFleetCryptoAnalysisResults", + "majorVersion": 1, "fields": { "crypto_analysis_result_collection": { "maxItemsOne": false, @@ -60373,6 +45365,7 @@ }, "oci_jms_fleet_diagnoses": { "current": "oci:Jms/getFleetDiagnoses:getFleetDiagnoses", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -60398,6 +45391,7 @@ }, "oci_jms_fleet_installation_site": { "current": "oci:Jms/getInstallationSite:getInstallationSite", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false, @@ -60422,6 +45416,7 @@ }, "oci_jms_fleet_installation_sites": { "current": "oci:Jms/getInstallationSites:getInstallationSites", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -60470,6 +45465,7 @@ }, "oci_jms_fleet_java_migration_analysis_result": { "current": "oci:Jms/getFleetJavaMigrationAnalysisResult:getFleetJavaMigrationAnalysisResult", + "majorVersion": 1, "fields": { "object_list": { "maxItemsOne": false @@ -60478,6 +45474,7 @@ }, "oci_jms_fleet_java_migration_analysis_results": { "current": "oci:Jms/getFleetJavaMigrationAnalysisResults:getFleetJavaMigrationAnalysisResults", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -60509,10 +45506,12 @@ } }, "oci_jms_fleet_performance_tuning_analysis_result": { - "current": "oci:Jms/getFleetPerformanceTuningAnalysisResult:getFleetPerformanceTuningAnalysisResult" + "current": "oci:Jms/getFleetPerformanceTuningAnalysisResult:getFleetPerformanceTuningAnalysisResult", + "majorVersion": 1 }, "oci_jms_fleet_performance_tuning_analysis_results": { "current": "oci:Jms/getFleetPerformanceTuningAnalysisResults:getFleetPerformanceTuningAnalysisResults", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -60538,6 +45537,7 @@ }, "oci_jms_fleets": { "current": "oci:Jms/getFleets:getFleets", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -60573,6 +45573,7 @@ }, "oci_jms_java_families": { "current": "oci:Jms/getJavaFamilies:getJavaFamilies", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -60597,10 +45598,12 @@ } }, "oci_jms_java_family": { - "current": "oci:Jms/getJavaFamily:getJavaFamily" + "current": "oci:Jms/getJavaFamily:getJavaFamily", + "majorVersion": 1 }, "oci_jms_java_release": { "current": "oci:Jms/getJavaRelease:getJavaRelease", + "majorVersion": 1, "fields": { "artifact_content_types": { "maxItemsOne": false @@ -60618,6 +45621,7 @@ }, "oci_jms_java_releases": { "current": "oci:Jms/getJavaReleases:getJavaReleases", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -60659,6 +45663,7 @@ }, "oci_jms_list_jre_usage": { "current": "oci:Jms/getListJreUsage:getListJreUsage", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false, @@ -60673,17 +45678,50 @@ } }, "oci_jms_summarize_resource_inventory": { - "current": "oci:Jms/getSummarizeResourceInventory:getSummarizeResourceInventory" + "current": "oci:Jms/getSummarizeResourceInventory:getSummarizeResourceInventory", + "majorVersion": 1 }, "oci_kms_decrypted_data": { - "current": "oci:Kms/getDecryptedData:getDecryptedData" + "current": "oci:Kms/getDecryptedData:getDecryptedData", + "majorVersion": 1 + }, + "oci_kms_ekms_private_endpoint": { + "current": "oci:Kms/getEkmsPrivateEndpoint:getEkmsPrivateEndpoint", + "majorVersion": 1 + }, + "oci_kms_ekms_private_endpoints": { + "current": "oci:Kms/getEkmsPrivateEndpoints:getEkmsPrivateEndpoints", + "majorVersion": 1, + "fields": { + "ekms_private_endpoints": { + "maxItemsOne": false + }, + "filter": { + "maxItemsOne": false, + "elem": { + "fields": { + "values": { + "maxItemsOne": false + } + } + } + } + } }, "oci_kms_encrypted_data": { - "current": "oci:Kms/getEncryptedData:getEncryptedData" + "current": "oci:Kms/getEncryptedData:getEncryptedData", + "majorVersion": 1 }, "oci_kms_key": { "current": "oci:Kms/getKey:getKey", + "majorVersion": 1, "fields": { + "external_key_reference": { + "maxItemsOne": false + }, + "external_key_reference_details": { + "maxItemsOne": false + }, "key_shape": { "maxItemsOne": false }, @@ -60700,7 +45738,11 @@ }, "oci_kms_key_version": { "current": "oci:Kms/getKeyVersion:getKeyVersion", + "majorVersion": 1, "fields": { + "external_key_reference_details": { + "maxItemsOne": false + }, "replica_details": { "maxItemsOne": false } @@ -60708,6 +45750,7 @@ }, "oci_kms_key_versions": { "current": "oci:Kms/getKeyVersions:getKeyVersions", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -60723,6 +45766,9 @@ "maxItemsOne": false, "elem": { "fields": { + "external_key_reference_details": { + "maxItemsOne": false + }, "replica_details": { "maxItemsOne": false } @@ -60733,6 +45779,7 @@ }, "oci_kms_keys": { "current": "oci:Kms/getKeys:getKeys", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -60748,6 +45795,12 @@ "maxItemsOne": false, "elem": { "fields": { + "external_key_reference": { + "maxItemsOne": false + }, + "external_key_reference_details": { + "maxItemsOne": false + }, "key_shape": { "maxItemsOne": false }, @@ -60767,6 +45820,7 @@ }, "oci_kms_replication_status": { "current": "oci:Kms/getReplicationStatus:getReplicationStatus", + "majorVersion": 1, "fields": { "replica_details": { "maxItemsOne": false @@ -60775,7 +45829,28 @@ }, "oci_kms_vault": { "current": "oci:Kms/getVault:getVault", + "majorVersion": 1, "fields": { + "external_key_manager_metadata": { + "maxItemsOne": false, + "elem": { + "fields": { + "oauth_metadata": { + "maxItemsOne": false + } + } + } + }, + "external_key_manager_metadata_summary": { + "maxItemsOne": false, + "elem": { + "fields": { + "oauth_metadata_summary": { + "maxItemsOne": false + } + } + } + }, "replica_details": { "maxItemsOne": false }, @@ -60789,6 +45864,7 @@ }, "oci_kms_vault_replicas": { "current": "oci:Kms/getVaultReplicas:getVaultReplicas", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -60806,10 +45882,12 @@ } }, "oci_kms_vault_usage": { - "current": "oci:Kms/getVaultUsage:getVaultUsage" + "current": "oci:Kms/getVaultUsage:getVaultUsage", + "majorVersion": 1 }, "oci_kms_vaults": { "current": "oci:Kms/getVaults:getVaults", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -60825,6 +45903,26 @@ "maxItemsOne": false, "elem": { "fields": { + "external_key_manager_metadata": { + "maxItemsOne": false, + "elem": { + "fields": { + "oauth_metadata": { + "maxItemsOne": false + } + } + } + }, + "external_key_manager_metadata_summary": { + "maxItemsOne": false, + "elem": { + "fields": { + "oauth_metadata_summary": { + "maxItemsOne": false + } + } + } + }, "replica_details": { "maxItemsOne": false }, @@ -60841,6 +45939,7 @@ }, "oci_license_manager_configuration": { "current": "oci:LicenseManager/getConfiguration:getConfiguration", + "majorVersion": 1, "fields": { "email_ids": { "maxItemsOne": false @@ -60848,13 +45947,16 @@ } }, "oci_license_manager_license_metric": { - "current": "oci:LicenseManager/getLicenseMetric:getLicenseMetric" + "current": "oci:LicenseManager/getLicenseMetric:getLicenseMetric", + "majorVersion": 1 }, "oci_license_manager_license_record": { - "current": "oci:LicenseManager/getLicenseRecord:getLicenseRecord" + "current": "oci:LicenseManager/getLicenseRecord:getLicenseRecord", + "majorVersion": 1 }, "oci_license_manager_license_records": { "current": "oci:LicenseManager/getLicenseRecords:getLicenseRecords", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -60880,6 +45982,7 @@ }, "oci_license_manager_product_license": { "current": "oci:LicenseManager/getProductLicense:getProductLicense", + "majorVersion": 1, "fields": { "images": { "maxItemsOne": false @@ -60888,6 +45991,7 @@ }, "oci_license_manager_product_license_consumers": { "current": "oci:LicenseManager/getProductLicenseConsumers:getProductLicenseConsumers", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false, @@ -60903,6 +46007,7 @@ }, "oci_license_manager_product_licenses": { "current": "oci:LicenseManager/getProductLicenses:getProductLicenses", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -60935,6 +46040,7 @@ }, "oci_license_manager_top_utilized_product_licenses": { "current": "oci:LicenseManager/getTopUtilizedProductLicenses:getTopUtilizedProductLicenses", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false @@ -60943,6 +46049,7 @@ }, "oci_license_manager_top_utilized_resources": { "current": "oci:LicenseManager/getTopUtilizedResources:getTopUtilizedResources", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false @@ -60951,6 +46058,7 @@ }, "oci_limits_limit_definitions": { "current": "oci:Limits/getLimitDefinitions:getLimitDefinitions", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -60969,6 +46077,7 @@ }, "oci_limits_limit_values": { "current": "oci:Limits/getLimitValues:getLimitValues", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -60987,6 +46096,7 @@ }, "oci_limits_quota": { "current": "oci:Limits/getQuota:getQuota", + "majorVersion": 1, "fields": { "locks": { "maxItemsOne": false @@ -60998,6 +46108,7 @@ }, "oci_limits_quotas": { "current": "oci:Limits/getQuotas:getQuotas", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -61025,10 +46136,12 @@ } }, "oci_limits_resource_availability": { - "current": "oci:Limits/getResourceAvailability:getResourceAvailability" + "current": "oci:Limits/getResourceAvailability:getResourceAvailability", + "majorVersion": 1 }, "oci_limits_services": { "current": "oci:Limits/getServices:getServices", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -61047,6 +46160,7 @@ }, "oci_load_balancer_backend_health": { "current": "oci:LoadBalancer/getBackendHealth:getBackendHealth", + "majorVersion": 1, "fields": { "health_check_results": { "maxItemsOne": false @@ -61055,6 +46169,7 @@ }, "oci_load_balancer_backend_set_health": { "current": "oci:LoadBalancer/getBackendSetHealth:getBackendSetHealth", + "majorVersion": 1, "fields": { "critical_state_backend_names": { "maxItemsOne": false @@ -61069,6 +46184,7 @@ }, "oci_load_balancer_backend_sets": { "current": "oci:LoadBalancer/getBackendSets:getBackendSets", + "majorVersion": 1, "fields": { "backendsets": { "maxItemsOne": false, @@ -61119,6 +46235,7 @@ }, "oci_load_balancer_backends": { "current": "oci:LoadBalancer/getBackends:getBackends", + "majorVersion": 1, "fields": { "backends": { "maxItemsOne": false @@ -61137,6 +46254,7 @@ }, "oci_load_balancer_certificates": { "current": "oci:LoadBalancer/getCertificates:getCertificates", + "majorVersion": 1, "fields": { "certificates": { "maxItemsOne": false @@ -61155,6 +46273,7 @@ }, "oci_load_balancer_health": { "current": "oci:LoadBalancer/getHealth:getHealth", + "majorVersion": 1, "fields": { "critical_state_backend_set_names": { "maxItemsOne": false @@ -61169,6 +46288,7 @@ }, "oci_load_balancer_hostnames": { "current": "oci:LoadBalancer/getHostnames:getHostnames", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -61187,6 +46307,7 @@ }, "oci_load_balancer_listener_rules": { "current": "oci:LoadBalancer/getListenerRules:getListenerRules", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -61225,6 +46346,7 @@ }, "oci_load_balancer_load_balancer_routing_policies": { "current": "oci:LoadBalancer/getLoadBalancerRoutingPolicies:getLoadBalancerRoutingPolicies", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -61257,6 +46379,7 @@ }, "oci_load_balancer_load_balancer_routing_policy": { "current": "oci:LoadBalancer/getLoadBalancerRoutingPolicy:getLoadBalancerRoutingPolicy", + "majorVersion": 1, "fields": { "rules": { "maxItemsOne": false, @@ -61272,6 +46395,7 @@ }, "oci_load_balancer_load_balancers": { "current": "oci:LoadBalancer/getLoadBalancers:getLoadBalancers", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -61319,6 +46443,7 @@ }, "oci_load_balancer_path_route_sets": { "current": "oci:LoadBalancer/getPathRouteSets:getPathRouteSets", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -61351,6 +46476,7 @@ }, "oci_load_balancer_policies": { "current": "oci:LoadBalancer/getPolicies:getPolicies", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -61369,6 +46495,7 @@ }, "oci_load_balancer_protocols": { "current": "oci:LoadBalancer/getProtocols:getProtocols", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -61387,6 +46514,7 @@ }, "oci_load_balancer_rule_set": { "current": "oci:LoadBalancer/getRuleSet:getRuleSet", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false, @@ -61408,6 +46536,7 @@ }, "oci_load_balancer_rule_sets": { "current": "oci:LoadBalancer/getRuleSets:getRuleSets", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -61446,6 +46575,7 @@ }, "oci_load_balancer_shapes": { "current": "oci:LoadBalancer/getShapes:getShapes", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -61464,6 +46594,7 @@ }, "oci_load_balancer_ssl_cipher_suite": { "current": "oci:LoadBalancer/getSslCipherSuite:getSslCipherSuite", + "majorVersion": 1, "fields": { "ciphers": { "maxItemsOne": false @@ -61472,6 +46603,7 @@ }, "oci_load_balancer_ssl_cipher_suites": { "current": "oci:LoadBalancer/getSslCipherSuites:getSslCipherSuites", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -61497,6 +46629,7 @@ }, "oci_log_analytics_log_analytics_categories_list": { "current": "oci:LogAnalytics/getLogAnalyticsCategoriesList:getLogAnalyticsCategoriesList", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false @@ -61504,10 +46637,12 @@ } }, "oci_log_analytics_log_analytics_category": { - "current": "oci:LogAnalytics/getLogAnalyticsCategory:getLogAnalyticsCategory" + "current": "oci:LogAnalytics/getLogAnalyticsCategory:getLogAnalyticsCategory", + "majorVersion": 1 }, "oci_log_analytics_log_analytics_entities": { "current": "oci:LogAnalytics/getLogAnalyticsEntities:getLogAnalyticsEntities", + "majorVersion": 1, "fields": { "entity_type_name": { "maxItemsOne": false @@ -61535,13 +46670,16 @@ } }, "oci_log_analytics_log_analytics_entities_summary": { - "current": "oci:LogAnalytics/getLogAnalyticsEntitiesSummary:getLogAnalyticsEntitiesSummary" + "current": "oci:LogAnalytics/getLogAnalyticsEntitiesSummary:getLogAnalyticsEntitiesSummary", + "majorVersion": 1 }, "oci_log_analytics_log_analytics_entity": { - "current": "oci:LogAnalytics/getLogAnalyticsEntity:getLogAnalyticsEntity" + "current": "oci:LogAnalytics/getLogAnalyticsEntity:getLogAnalyticsEntity", + "majorVersion": 1 }, "oci_log_analytics_log_analytics_entity_topology": { "current": "oci:LogAnalytics/getLogAnalyticsEntityTopology:getLogAnalyticsEntityTopology", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false, @@ -61573,10 +46711,12 @@ } }, "oci_log_analytics_log_analytics_log_group": { - "current": "oci:LogAnalytics/getLogAnalyticsLogGroup:getLogAnalyticsLogGroup" + "current": "oci:LogAnalytics/getLogAnalyticsLogGroup:getLogAnalyticsLogGroup", + "majorVersion": 1 }, "oci_log_analytics_log_analytics_log_groups": { "current": "oci:LogAnalytics/getLogAnalyticsLogGroups:getLogAnalyticsLogGroups", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -61601,10 +46741,12 @@ } }, "oci_log_analytics_log_analytics_log_groups_summary": { - "current": "oci:LogAnalytics/getLogAnalyticsLogGroupsSummary:getLogAnalyticsLogGroupsSummary" + "current": "oci:LogAnalytics/getLogAnalyticsLogGroupsSummary:getLogAnalyticsLogGroupsSummary", + "majorVersion": 1 }, "oci_log_analytics_log_analytics_object_collection_rule": { "current": "oci:LogAnalytics/getLogAnalyticsObjectCollectionRule:getLogAnalyticsObjectCollectionRule", + "majorVersion": 1, "fields": { "object_name_filters": { "maxItemsOne": false @@ -61616,6 +46758,7 @@ }, "oci_log_analytics_log_analytics_object_collection_rules": { "current": "oci:LogAnalytics/getLogAnalyticsObjectCollectionRules:getLogAnalyticsObjectCollectionRules", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -61651,6 +46794,7 @@ }, "oci_log_analytics_log_analytics_preference": { "current": "oci:LogAnalytics/getLogAnalyticsPreference:getLogAnalyticsPreference", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false @@ -61659,6 +46803,7 @@ }, "oci_log_analytics_log_analytics_resource_categories_list": { "current": "oci:LogAnalytics/getLogAnalyticsResourceCategoriesList:getLogAnalyticsResourceCategoriesList", + "majorVersion": 1, "fields": { "categories": { "maxItemsOne": false @@ -61669,16 +46814,20 @@ } }, "oci_log_analytics_log_analytics_unprocessed_data_bucket": { - "current": "oci:LogAnalytics/getLogAnalyticsUnprocessedDataBucket:getLogAnalyticsUnprocessedDataBucket" + "current": "oci:LogAnalytics/getLogAnalyticsUnprocessedDataBucket:getLogAnalyticsUnprocessedDataBucket", + "majorVersion": 1 }, "oci_log_analytics_log_sets_count": { - "current": "oci:LogAnalytics/getLogSetsCount:getLogSetsCount" + "current": "oci:LogAnalytics/getLogSetsCount:getLogSetsCount", + "majorVersion": 1 }, "oci_log_analytics_namespace": { - "current": "oci:LogAnalytics/getNamespace:getNamespace" + "current": "oci:LogAnalytics/getNamespace:getNamespace", + "majorVersion": 1 }, "oci_log_analytics_namespace_effective_properties": { "current": "oci:LogAnalytics/getNamespaceEffectiveProperties:getNamespaceEffectiveProperties", + "majorVersion": 1, "fields": { "effective_property_collection": { "maxItemsOne": false, @@ -61711,6 +46860,7 @@ }, "oci_log_analytics_namespace_ingest_time_rule": { "current": "oci:LogAnalytics/getNamespaceIngestTimeRule:getNamespaceIngestTimeRule", + "majorVersion": 1, "fields": { "actions": { "maxItemsOne": false, @@ -61736,6 +46886,7 @@ }, "oci_log_analytics_namespace_ingest_time_rules": { "current": "oci:LogAnalytics/getNamespaceIngestTimeRules:getNamespaceIngestTimeRules", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -61761,6 +46912,7 @@ }, "oci_log_analytics_namespace_properties_metadata": { "current": "oci:LogAnalytics/getNamespacePropertiesMetadata:getNamespacePropertiesMetadata", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -61793,6 +46945,7 @@ }, "oci_log_analytics_namespace_rules": { "current": "oci:LogAnalytics/getNamespaceRules:getNamespaceRules", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -61817,10 +46970,12 @@ } }, "oci_log_analytics_namespace_rules_summary": { - "current": "oci:LogAnalytics/getNamespaceRulesSummary:getNamespaceRulesSummary" + "current": "oci:LogAnalytics/getNamespaceRulesSummary:getNamespaceRulesSummary", + "majorVersion": 1 }, "oci_log_analytics_namespace_scheduled_task": { "current": "oci:LogAnalytics/getNamespaceScheduledTask:getNamespaceScheduledTask", + "majorVersion": 1, "fields": { "action": { "maxItemsOne": false, @@ -61846,6 +47001,7 @@ }, "oci_log_analytics_namespace_scheduled_tasks": { "current": "oci:LogAnalytics/getNamespaceScheduledTasks:getNamespaceScheduledTasks", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -61895,6 +47051,7 @@ }, "oci_log_analytics_namespace_storage_encryption_key_info": { "current": "oci:LogAnalytics/getNamespaceStorageEncryptionKeyInfo:getNamespaceStorageEncryptionKeyInfo", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false @@ -61903,6 +47060,7 @@ }, "oci_log_analytics_namespace_storage_overlapping_recalls": { "current": "oci:LogAnalytics/getNamespaceStorageOverlappingRecalls:getNamespaceStorageOverlappingRecalls", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -61927,13 +47085,16 @@ } }, "oci_log_analytics_namespace_storage_recall_count": { - "current": "oci:LogAnalytics/getNamespaceStorageRecallCount:getNamespaceStorageRecallCount" + "current": "oci:LogAnalytics/getNamespaceStorageRecallCount:getNamespaceStorageRecallCount", + "majorVersion": 1 }, "oci_log_analytics_namespace_storage_recalled_data_size": { - "current": "oci:LogAnalytics/getNamespaceStorageRecalledDataSize:getNamespaceStorageRecalledDataSize" + "current": "oci:LogAnalytics/getNamespaceStorageRecalledDataSize:getNamespaceStorageRecalledDataSize", + "majorVersion": 1 }, "oci_log_analytics_namespaces": { "current": "oci:LogAnalytics/getNamespaces:getNamespaces", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -61959,6 +47120,7 @@ }, "oci_logging_log": { "current": "oci:Logging/getLog:getLog", + "majorVersion": 1, "fields": { "configuration": { "maxItemsOne": false, @@ -61973,10 +47135,12 @@ } }, "oci_logging_log_group": { - "current": "oci:Logging/getLogGroup:getLogGroup" + "current": "oci:Logging/getLogGroup:getLogGroup", + "majorVersion": 1 }, "oci_logging_log_groups": { "current": "oci:Logging/getLogGroups:getLogGroups", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -61994,10 +47158,12 @@ } }, "oci_logging_log_saved_search": { - "current": "oci:Logging/getLogSavedSearch:getLogSavedSearch" + "current": "oci:Logging/getLogSavedSearch:getLogSavedSearch", + "majorVersion": 1 }, "oci_logging_log_saved_searches": { "current": "oci:Logging/getLogSavedSearches:getLogSavedSearches", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -62023,6 +47189,7 @@ }, "oci_logging_logs": { "current": "oci:Logging/getLogs:getLogs", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -62055,6 +47222,7 @@ }, "oci_logging_unified_agent_configuration": { "current": "oci:Logging/getUnifiedAgentConfiguration:getUnifiedAgentConfiguration", + "majorVersion": 1, "fields": { "group_association": { "maxItemsOne": false, @@ -62112,6 +47280,7 @@ }, "oci_logging_unified_agent_configurations": { "current": "oci:Logging/getUnifiedAgentConfigurations:getUnifiedAgentConfigurations", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -62137,6 +47306,7 @@ }, "oci_management_agent_management_agent": { "current": "oci:ManagementAgent/getManagementAgent:getManagementAgent", + "majorVersion": 1, "fields": { "deploy_plugins_id": { "maxItemsOne": false @@ -62158,6 +47328,7 @@ }, "oci_management_agent_management_agent_available_histories": { "current": "oci:ManagementAgent/getManagementAgentAvailableHistories:getManagementAgentAvailableHistories", + "majorVersion": 1, "fields": { "availability_histories": { "maxItemsOne": false @@ -62176,6 +47347,7 @@ }, "oci_management_agent_management_agent_count": { "current": "oci:ManagementAgent/getManagementAgentCount:getManagementAgentCount", + "majorVersion": 1, "fields": { "group_by": { "maxItemsOne": false @@ -62193,10 +47365,12 @@ } }, "oci_management_agent_management_agent_get_auto_upgradable_config": { - "current": "oci:ManagementAgent/getManagementAgentGetAutoUpgradableConfig:getManagementAgentGetAutoUpgradableConfig" + "current": "oci:ManagementAgent/getManagementAgentGetAutoUpgradableConfig:getManagementAgentGetAutoUpgradableConfig", + "majorVersion": 1 }, "oci_management_agent_management_agent_images": { "current": "oci:ManagementAgent/getManagementAgentImages:getManagementAgentImages", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -62221,10 +47395,12 @@ } }, "oci_management_agent_management_agent_install_key": { - "current": "oci:ManagementAgent/getManagementAgentInstallKey:getManagementAgentInstallKey" + "current": "oci:ManagementAgent/getManagementAgentInstallKey:getManagementAgentInstallKey", + "majorVersion": 1 }, "oci_management_agent_management_agent_install_keys": { "current": "oci:ManagementAgent/getManagementAgentInstallKeys:getManagementAgentInstallKeys", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -62243,6 +47419,7 @@ }, "oci_management_agent_management_agent_plugin_count": { "current": "oci:ManagementAgent/getManagementAgentPluginCount:getManagementAgentPluginCount", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false, @@ -62258,6 +47435,7 @@ }, "oci_management_agent_management_agent_plugins": { "current": "oci:ManagementAgent/getManagementAgentPlugins:getManagementAgentPlugins", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -62286,6 +47464,7 @@ }, "oci_management_agent_management_agents": { "current": "oci:ManagementAgent/getManagementAgents:getManagementAgents", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -62335,13 +47514,16 @@ } }, "oci_management_dashboard_management_dashboards_export": { - "current": "oci:ManagementDashboard/getManagementDashboardsExport:getManagementDashboardsExport" + "current": "oci:ManagementDashboard/getManagementDashboardsExport:getManagementDashboardsExport", + "majorVersion": 1 }, "oci_marketplace_accepted_agreement": { - "current": "oci:Marketplace/getAcceptedAgreement:getAcceptedAgreement" + "current": "oci:Marketplace/getAcceptedAgreement:getAcceptedAgreement", + "majorVersion": 1 }, "oci_marketplace_accepted_agreements": { "current": "oci:Marketplace/getAcceptedAgreements:getAcceptedAgreements", + "majorVersion": 1, "fields": { "accepted_agreements": { "maxItemsOne": false @@ -62360,6 +47542,7 @@ }, "oci_marketplace_categories": { "current": "oci:Marketplace/getCategories:getCategories", + "majorVersion": 1, "fields": { "categories": { "maxItemsOne": false @@ -62378,6 +47561,7 @@ }, "oci_marketplace_listing": { "current": "oci:Marketplace/getListing:getListing", + "majorVersion": 1, "fields": { "banner": { "maxItemsOne": false @@ -62442,6 +47626,7 @@ }, "oci_marketplace_listing_package": { "current": "oci:Marketplace/getListingPackage:getListingPackage", + "majorVersion": 1, "fields": { "operating_system": { "maxItemsOne": false @@ -62473,6 +47658,7 @@ }, "oci_marketplace_listing_package_agreements": { "current": "oci:Marketplace/getListingPackageAgreements:getListingPackageAgreements", + "majorVersion": 1, "fields": { "agreements": { "maxItemsOne": false @@ -62491,6 +47677,7 @@ }, "oci_marketplace_listing_packages": { "current": "oci:Marketplace/getListingPackages:getListingPackages", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -62536,6 +47723,7 @@ }, "oci_marketplace_listing_taxes": { "current": "oci:Marketplace/getListingTaxes:getListingTaxes", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -62554,6 +47742,7 @@ }, "oci_marketplace_listings": { "current": "oci:Marketplace/getListings:getListings", + "majorVersion": 1, "fields": { "category": { "maxItemsOne": false @@ -62625,6 +47814,7 @@ }, "oci_marketplace_publication": { "current": "oci:Marketplace/getPublication:getPublication", + "majorVersion": 1, "fields": { "icon": { "maxItemsOne": false @@ -62652,6 +47842,7 @@ }, "oci_marketplace_publication_package": { "current": "oci:Marketplace/getPublicationPackage:getPublicationPackage", + "majorVersion": 1, "fields": { "operating_system": { "maxItemsOne": false @@ -62663,6 +47854,7 @@ }, "oci_marketplace_publication_packages": { "current": "oci:Marketplace/getPublicationPackages:getPublicationPackages", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -62681,6 +47873,7 @@ }, "oci_marketplace_publications": { "current": "oci:Marketplace/getPublications:getPublications", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -62731,6 +47924,7 @@ }, "oci_marketplace_publishers": { "current": "oci:Marketplace/getPublishers:getPublishers", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -62749,6 +47943,7 @@ }, "oci_media_services_media_asset": { "current": "oci:MediaServices/getMediaAsset:getMediaAsset", + "majorVersion": 1, "fields": { "media_asset_tags": { "maxItemsOne": false @@ -62759,10 +47954,12 @@ } }, "oci_media_services_media_asset_distribution_channel_attachment": { - "current": "oci:MediaServices/getMediaAssetDistributionChannelAttachment:getMediaAssetDistributionChannelAttachment" + "current": "oci:MediaServices/getMediaAssetDistributionChannelAttachment:getMediaAssetDistributionChannelAttachment", + "majorVersion": 1 }, "oci_media_services_media_assets": { "current": "oci:MediaServices/getMediaAssets:getMediaAssets", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -62798,6 +47995,7 @@ }, "oci_media_services_media_workflow": { "current": "oci:MediaServices/getMediaWorkflow:getMediaWorkflow", + "majorVersion": 1, "fields": { "media_workflow_configuration_ids": { "maxItemsOne": false @@ -62815,10 +48013,12 @@ } }, "oci_media_services_media_workflow_configuration": { - "current": "oci:MediaServices/getMediaWorkflowConfiguration:getMediaWorkflowConfiguration" + "current": "oci:MediaServices/getMediaWorkflowConfiguration:getMediaWorkflowConfiguration", + "majorVersion": 1 }, "oci_media_services_media_workflow_configurations": { "current": "oci:MediaServices/getMediaWorkflowConfigurations:getMediaWorkflowConfigurations", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -62844,6 +48044,7 @@ }, "oci_media_services_media_workflow_job": { "current": "oci:MediaServices/getMediaWorkflowJob:getMediaWorkflowJob", + "majorVersion": 1, "fields": { "media_workflow_configuration_ids": { "maxItemsOne": false @@ -62857,10 +48058,12 @@ } }, "oci_media_services_media_workflow_job_fact": { - "current": "oci:MediaServices/getMediaWorkflowJobFact:getMediaWorkflowJobFact" + "current": "oci:MediaServices/getMediaWorkflowJobFact:getMediaWorkflowJobFact", + "majorVersion": 1 }, "oci_media_services_media_workflow_job_facts": { "current": "oci:MediaServices/getMediaWorkflowJobFacts:getMediaWorkflowJobFacts", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -62886,6 +48089,7 @@ }, "oci_media_services_media_workflow_jobs": { "current": "oci:MediaServices/getMediaWorkflowJobs:getMediaWorkflowJobs", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -62924,6 +48128,7 @@ }, "oci_media_services_media_workflow_task_declaration": { "current": "oci:MediaServices/getMediaWorkflowTaskDeclaration:getMediaWorkflowTaskDeclaration", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false @@ -62932,6 +48137,7 @@ }, "oci_media_services_media_workflows": { "current": "oci:MediaServices/getMediaWorkflows:getMediaWorkflows", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -62974,6 +48180,7 @@ }, "oci_media_services_stream_cdn_config": { "current": "oci:MediaServices/getStreamCdnConfig:getStreamCdnConfig", + "majorVersion": 1, "fields": { "config": { "maxItemsOne": false @@ -62982,6 +48189,7 @@ }, "oci_media_services_stream_cdn_configs": { "current": "oci:MediaServices/getStreamCdnConfigs:getStreamCdnConfigs", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -63013,10 +48221,12 @@ } }, "oci_media_services_stream_distribution_channel": { - "current": "oci:MediaServices/getStreamDistributionChannel:getStreamDistributionChannel" + "current": "oci:MediaServices/getStreamDistributionChannel:getStreamDistributionChannel", + "majorVersion": 1 }, "oci_media_services_stream_distribution_channels": { "current": "oci:MediaServices/getStreamDistributionChannels:getStreamDistributionChannels", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -63042,6 +48252,7 @@ }, "oci_media_services_stream_packaging_config": { "current": "oci:MediaServices/getStreamPackagingConfig:getStreamPackagingConfig", + "majorVersion": 1, "fields": { "encryption": { "maxItemsOne": false @@ -63050,6 +48261,7 @@ }, "oci_media_services_stream_packaging_configs": { "current": "oci:MediaServices/getStreamPackagingConfigs:getStreamPackagingConfigs", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -63082,6 +48294,7 @@ }, "oci_media_services_system_media_workflow": { "current": "oci:MediaServices/getSystemMediaWorkflow:getSystemMediaWorkflow", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false, @@ -63104,6 +48317,7 @@ }, "oci_metering_computation_configuration": { "current": "oci:MeteringComputation/getConfiguration:getConfiguration", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false, @@ -63119,6 +48333,7 @@ }, "oci_metering_computation_custom_table": { "current": "oci:MeteringComputation/getCustomTable:getCustomTable", + "majorVersion": 1, "fields": { "saved_custom_table": { "maxItemsOne": false, @@ -63140,6 +48355,7 @@ }, "oci_metering_computation_custom_tables": { "current": "oci:MeteringComputation/getCustomTables:getCustomTables", + "majorVersion": 1, "fields": { "custom_table_collection": { "maxItemsOne": false, @@ -63185,6 +48401,7 @@ }, "oci_metering_computation_queries": { "current": "oci:MeteringComputation/getQueries:getQueries", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -63240,6 +48457,7 @@ }, "oci_metering_computation_query": { "current": "oci:MeteringComputation/getQuery:getQuery", + "majorVersion": 1, "fields": { "query_definition": { "maxItemsOne": false, @@ -63271,6 +48489,7 @@ }, "oci_metering_computation_schedule": { "current": "oci:MeteringComputation/getSchedule:getSchedule", + "majorVersion": 1, "fields": { "query_properties": { "maxItemsOne": false, @@ -63294,10 +48513,12 @@ } }, "oci_metering_computation_scheduled_run": { - "current": "oci:MeteringComputation/getScheduledRun:getScheduledRun" + "current": "oci:MeteringComputation/getScheduledRun:getScheduledRun", + "majorVersion": 1 }, "oci_metering_computation_scheduled_runs": { "current": "oci:MeteringComputation/getScheduledRuns:getScheduledRuns", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -63323,6 +48544,7 @@ }, "oci_metering_computation_schedules": { "current": "oci:MeteringComputation/getSchedules:getSchedules", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -63371,6 +48593,7 @@ }, "oci_monitoring_alarm": { "current": "oci:Monitoring/getAlarm:getAlarm", + "majorVersion": 1, "fields": { "destinations": { "maxItemsOne": false @@ -63382,6 +48605,7 @@ }, "oci_monitoring_alarm_history_collection": { "current": "oci:Monitoring/getAlarmHistoryCollection:getAlarmHistoryCollection", + "majorVersion": 1, "fields": { "entries": { "maxItemsOne": false @@ -63390,6 +48614,7 @@ }, "oci_monitoring_alarm_statuses": { "current": "oci:Monitoring/getAlarmStatuses:getAlarmStatuses", + "majorVersion": 1, "fields": { "alarm_statuses": { "maxItemsOne": false, @@ -63415,6 +48640,7 @@ }, "oci_monitoring_alarms": { "current": "oci:Monitoring/getAlarms:getAlarms", + "majorVersion": 1, "fields": { "alarms": { "maxItemsOne": false, @@ -63443,6 +48669,7 @@ }, "oci_monitoring_metric_data": { "current": "oci:Monitoring/getMetricData:getMetricData", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -63468,6 +48695,7 @@ }, "oci_monitoring_metrics": { "current": "oci:Monitoring/getMetrics:getMetrics", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -63504,6 +48732,7 @@ }, "oci_mysql_channel": { "current": "oci:Mysql/getChannel:getChannel", + "majorVersion": 1, "fields": { "source": { "maxItemsOne": false, @@ -63532,6 +48761,7 @@ }, "oci_mysql_channels": { "current": "oci:Mysql/getChannels:getChannels", + "majorVersion": 1, "fields": { "channels": { "maxItemsOne": false, @@ -63577,6 +48807,7 @@ }, "oci_mysql_heat_wave_cluster": { "current": "oci:Mysql/getHeatWaveCluster:getHeatWaveCluster", + "majorVersion": 1, "fields": { "cluster_nodes": { "maxItemsOne": false @@ -63585,6 +48816,7 @@ }, "oci_mysql_mysql_backup": { "current": "oci:Mysql/getMysqlBackup:getMysqlBackup", + "majorVersion": 1, "fields": { "db_system_snapshot": { "maxItemsOne": false, @@ -63623,6 +48855,7 @@ }, "oci_mysql_mysql_backups": { "current": "oci:Mysql/getMysqlBackups:getMysqlBackups", + "majorVersion": 1, "fields": { "backups": { "maxItemsOne": false, @@ -63678,6 +48911,7 @@ }, "oci_mysql_mysql_configuration": { "current": "oci:Mysql/getMysqlConfiguration:getMysqlConfiguration", + "majorVersion": 1, "fields": { "init_variables": { "maxItemsOne": false @@ -63689,6 +48923,7 @@ }, "oci_mysql_mysql_configurations": { "current": "oci:Mysql/getMysqlConfigurations:getMysqlConfigurations", + "majorVersion": 1, "fields": { "configurations": { "maxItemsOne": false, @@ -63720,10 +48955,8 @@ }, "oci_mysql_mysql_db_system": { "current": "oci:Mysql/getMysqlDbSystem:getMysqlDbSystem", + "majorVersion": 1, "fields": { - "analytics_cluster": { - "maxItemsOne": false - }, "backup_policy": { "maxItemsOne": false, "elem": { @@ -63796,14 +49029,12 @@ }, "oci_mysql_mysql_db_systems": { "current": "oci:Mysql/getMysqlDbSystems:getMysqlDbSystems", + "majorVersion": 1, "fields": { "db_systems": { "maxItemsOne": false, "elem": { "fields": { - "analytics_cluster": { - "maxItemsOne": false - }, "backup_policy": { "maxItemsOne": false, "elem": { @@ -63889,6 +49120,7 @@ }, "oci_mysql_mysql_versions": { "current": "oci:Mysql/getMysqlVersion:getMysqlVersion", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -63913,10 +49145,17 @@ } }, "oci_mysql_replica": { - "current": "oci:Mysql/getReplica:getReplica" + "current": "oci:Mysql/getReplica:getReplica", + "majorVersion": 1, + "fields": { + "replica_overrides": { + "maxItemsOne": false + } + } }, "oci_mysql_replicas": { "current": "oci:Mysql/getReplicas:getReplicas", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -63929,12 +49168,20 @@ } }, "replicas": { - "maxItemsOne": false + "maxItemsOne": false, + "elem": { + "fields": { + "replica_overrides": { + "maxItemsOne": false + } + } + } } } }, "oci_mysql_shapes": { "current": "oci:Mysql/getShapes:getShapes", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -63963,6 +49210,7 @@ }, "oci_network_firewall_network_firewall": { "current": "oci:NetworkFirewall/getNetworkFirewall:getNetworkFirewall", + "majorVersion": 1, "fields": { "network_security_group_ids": { "maxItemsOne": false @@ -63971,6 +49219,7 @@ }, "oci_network_firewall_network_firewall_policies": { "current": "oci:NetworkFirewall/getNetworkFirewallPolicies:getNetworkFirewallPolicies", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -64082,6 +49331,7 @@ }, "oci_network_firewall_network_firewall_policy": { "current": "oci:NetworkFirewall/getNetworkFirewallPolicy:getNetworkFirewallPolicy", + "majorVersion": 1, "fields": { "application_lists": { "maxItemsOne": false, @@ -64169,6 +49419,7 @@ }, "oci_network_firewall_network_firewalls": { "current": "oci:NetworkFirewall/getNetworkFirewalls:getNetworkFirewalls", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -64201,6 +49452,7 @@ }, "oci_network_load_balancer_backend_health": { "current": "oci:NetworkLoadBalancer/getBackendHealth:getBackendHealth", + "majorVersion": 1, "fields": { "health_check_results": { "maxItemsOne": false @@ -64209,6 +49461,7 @@ }, "oci_network_load_balancer_backend_set": { "current": "oci:NetworkLoadBalancer/getBackendSet:getBackendSet", + "majorVersion": 1, "fields": { "backends": { "maxItemsOne": false @@ -64220,6 +49473,7 @@ }, "oci_network_load_balancer_backend_set_health": { "current": "oci:NetworkLoadBalancer/getBackendSetHealth:getBackendSetHealth", + "majorVersion": 1, "fields": { "critical_state_backend_names": { "maxItemsOne": false @@ -64234,6 +49488,7 @@ }, "oci_network_load_balancer_backend_sets": { "current": "oci:NetworkLoadBalancer/getBackendSets:getBackendSets", + "majorVersion": 1, "fields": { "backend_set_collection": { "maxItemsOne": false, @@ -64269,6 +49524,7 @@ }, "oci_network_load_balancer_backends": { "current": "oci:NetworkLoadBalancer/getBackends:getBackends", + "majorVersion": 1, "fields": { "backend_collection": { "maxItemsOne": false, @@ -64293,10 +49549,12 @@ } }, "oci_network_load_balancer_listener": { - "current": "oci:NetworkLoadBalancer/getListener:getListener" + "current": "oci:NetworkLoadBalancer/getListener:getListener", + "majorVersion": 1 }, "oci_network_load_balancer_listeners": { "current": "oci:NetworkLoadBalancer/getListeners:getListeners", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -64322,6 +49580,7 @@ }, "oci_network_load_balancer_network_load_balancer": { "current": "oci:NetworkLoadBalancer/getNetworkLoadBalancer:getNetworkLoadBalancer", + "majorVersion": 1, "fields": { "ip_addresses": { "maxItemsOne": false, @@ -64343,6 +49602,7 @@ }, "oci_network_load_balancer_network_load_balancer_health": { "current": "oci:NetworkLoadBalancer/getNetworkLoadBalancerHealth:getNetworkLoadBalancerHealth", + "majorVersion": 1, "fields": { "critical_state_backend_set_names": { "maxItemsOne": false @@ -64357,6 +49617,7 @@ }, "oci_network_load_balancer_network_load_balancers": { "current": "oci:NetworkLoadBalancer/getNetworkLoadBalancers:getNetworkLoadBalancers", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -64402,6 +49663,7 @@ }, "oci_network_load_balancer_network_load_balancers_policies": { "current": "oci:NetworkLoadBalancer/getNetworkLoadBalancersPolicies:getNetworkLoadBalancersPolicies", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -64427,6 +49689,7 @@ }, "oci_network_load_balancer_network_load_balancers_protocols": { "current": "oci:NetworkLoadBalancer/getNetworkLoadBalancersProtocols:getNetworkLoadBalancersProtocols", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -64452,6 +49715,7 @@ }, "oci_nosql_index": { "current": "oci:Nosql/getIndex:getIndex", + "majorVersion": 1, "fields": { "keys": { "maxItemsOne": false @@ -64460,6 +49724,7 @@ }, "oci_nosql_indexes": { "current": "oci:Nosql/getIndexes:getIndexes", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -64485,6 +49750,7 @@ }, "oci_nosql_table": { "current": "oci:Nosql/getTable:getTable", + "majorVersion": 1, "fields": { "schema": { "maxItemsOne": false, @@ -64512,6 +49778,7 @@ }, "oci_nosql_tables": { "current": "oci:Nosql/getTables:getTables", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -64556,6 +49823,7 @@ }, "oci_objectstorage_bucket": { "current": "oci:ObjectStorage/getBucket:getBucket", + "majorVersion": 1, "fields": { "retention_rules": { "maxItemsOne": false, @@ -64571,6 +49839,7 @@ }, "oci_objectstorage_bucket_summaries": { "current": "oci:ObjectStorage/getBucketSummaries:getBucketSummaries", + "majorVersion": 1, "fields": { "bucket_summaries": { "maxItemsOne": false, @@ -64602,19 +49871,24 @@ } }, "oci_objectstorage_namespace": { - "current": "oci:ObjectStorage/getNamespace:getNamespace" + "current": "oci:ObjectStorage/getNamespace:getNamespace", + "majorVersion": 1 }, "oci_objectstorage_namespace_metadata": { - "current": "oci:ObjectStorage/getNamespaceMetadata:getNamespaceMetadata" + "current": "oci:ObjectStorage/getNamespaceMetadata:getNamespaceMetadata", + "majorVersion": 1 }, "oci_objectstorage_object": { - "current": "oci:ObjectStorage/getObject:getObject" + "current": "oci:ObjectStorage/getObject:getObject", + "majorVersion": 1 }, "oci_objectstorage_object_head": { - "current": "oci:ObjectStorage/getObjectHead:getObjectHead" + "current": "oci:ObjectStorage/getObjectHead:getObjectHead", + "majorVersion": 1 }, "oci_objectstorage_object_lifecycle_policy": { "current": "oci:ObjectStorage/getObjectLifecyclePolicy:getObjectLifecyclePolicy", + "majorVersion": 1, "fields": { "rules": { "maxItemsOne": false, @@ -64643,6 +49917,7 @@ }, "oci_objectstorage_object_versions": { "current": "oci:ObjectStorage/getObjectVersions:getObjectVersions", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -64664,6 +49939,7 @@ }, "oci_objectstorage_objects": { "current": "oci:ObjectStorage/getObjects:getObjects", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -64684,10 +49960,12 @@ } }, "oci_objectstorage_preauthrequest": { - "current": "oci:ObjectStorage/getPreauthrequest:getPreauthrequest" + "current": "oci:ObjectStorage/getPreauthrequest:getPreauthrequest", + "majorVersion": 1 }, "oci_objectstorage_preauthrequests": { "current": "oci:ObjectStorage/getPreauthrequests:getPreauthrequests", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -64706,6 +49984,7 @@ }, "oci_objectstorage_replication_policies": { "current": "oci:ObjectStorage/getReplicationPolicies:getReplicationPolicies", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -64723,10 +50002,12 @@ } }, "oci_objectstorage_replication_policy": { - "current": "oci:ObjectStorage/getReplicationPolicy:getReplicationPolicy" + "current": "oci:ObjectStorage/getReplicationPolicy:getReplicationPolicy", + "majorVersion": 1 }, "oci_objectstorage_replication_sources": { "current": "oci:ObjectStorage/getReplicationSources:getReplicationSources", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -64745,6 +50026,7 @@ }, "oci_oce_oce_instance": { "current": "oci:Oce/getOceInstance:getOceInstance", + "majorVersion": 1, "fields": { "add_on_features": { "maxItemsOne": false @@ -64753,6 +50035,7 @@ }, "oci_oce_oce_instances": { "current": "oci:Oce/getOceInstances:getOceInstances", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -64777,10 +50060,12 @@ } }, "oci_ocvp_esxi_host": { - "current": "oci:Ocvp/getExsiHost:getExsiHost" + "current": "oci:Ocvp/getExsiHost:getExsiHost", + "majorVersion": 1 }, "oci_ocvp_esxi_hosts": { "current": "oci:Ocvp/getExsiHosts:getExsiHosts", + "majorVersion": 1, "fields": { "esxi_host_collection": { "maxItemsOne": false @@ -64799,6 +50084,7 @@ }, "oci_ocvp_sddc": { "current": "oci:Ocvp/getSddc:getSddc", + "majorVersion": 1, "fields": { "datastores": { "maxItemsOne": false, @@ -64826,6 +50112,7 @@ }, "oci_ocvp_sddcs": { "current": "oci:Ocvp/getSddcs:getSddcs", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -64870,6 +50157,7 @@ }, "oci_ocvp_supported_host_shapes": { "current": "oci:Ocvp/getSupportedHostShapes:getSupportedHostShapes", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -64904,6 +50192,7 @@ }, "oci_ocvp_supported_skus": { "current": "oci:Ocvp/getSupportedSkus:getSupportedSkus", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -64922,6 +50211,7 @@ }, "oci_ocvp_supported_vmware_software_versions": { "current": "oci:Ocvp/getSupportedVmwareSoftwareVersions:getSupportedVmwareSoftwareVersions", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -64940,6 +50230,7 @@ }, "oci_oda_oda_instance": { "current": "oci:Oda/getOdaInstance:getOdaInstance", + "majorVersion": 1, "fields": { "attachment_ids": { "maxItemsOne": false @@ -64960,6 +50251,7 @@ }, "oci_oda_oda_instances": { "current": "oci:Oda/getOdaInstances:getOdaInstances", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -64997,6 +50289,7 @@ }, "oci_oda_oda_private_endpoint": { "current": "oci:Oda/getOdaPrivateEndpoint:getOdaPrivateEndpoint", + "majorVersion": 1, "fields": { "nsg_ids": { "maxItemsOne": false @@ -65004,10 +50297,12 @@ } }, "oci_oda_oda_private_endpoint_attachment": { - "current": "oci:Oda/getOdaPrivateEndpointAttachment:getOdaPrivateEndpointAttachment" + "current": "oci:Oda/getOdaPrivateEndpointAttachment:getOdaPrivateEndpointAttachment", + "majorVersion": 1 }, "oci_oda_oda_private_endpoint_attachments": { "current": "oci:Oda/getOdaPrivateEndpointAttachments:getOdaPrivateEndpointAttachments", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -65033,6 +50328,7 @@ }, "oci_oda_oda_private_endpoint_scan_proxies": { "current": "oci:Oda/getOdaPrivateEndpointScanProxies:getOdaPrivateEndpointScanProxies", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -65065,6 +50361,7 @@ }, "oci_oda_oda_private_endpoint_scan_proxy": { "current": "oci:Oda/getOdaPrivateEndpointScanProxy:getOdaPrivateEndpointScanProxy", + "majorVersion": 1, "fields": { "scan_listener_infos": { "maxItemsOne": false @@ -65073,6 +50370,7 @@ }, "oci_oda_oda_private_endpoints": { "current": "oci:Oda/getOdaPrivateEndpoints:getOdaPrivateEndpoints", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -65105,6 +50403,7 @@ }, "oci_onesubscription_aggregated_computed_usages": { "current": "oci:OneSubsription/getAggregatedComputedUsages:getAggregatedComputedUsages", + "majorVersion": 1, "fields": { "aggregated_computed_usages": { "maxItemsOne": false, @@ -65140,6 +50439,7 @@ }, "oci_onesubscription_billing_schedules": { "current": "oci:OneSubsription/getBillingSchedules:getBillingSchedules", + "majorVersion": 1, "fields": { "billing_schedules": { "maxItemsOne": false, @@ -65164,10 +50464,12 @@ } }, "oci_onesubscription_commitment": { - "current": "oci:OneSubsription/getCommitment:getCommitment" + "current": "oci:OneSubsription/getCommitment:getCommitment", + "majorVersion": 1 }, "oci_onesubscription_commitments": { "current": "oci:OneSubsription/getCommitments:getCommitments", + "majorVersion": 1, "fields": { "commitments": { "maxItemsOne": false @@ -65186,6 +50488,7 @@ }, "oci_onesubscription_computed_usage": { "current": "oci:OneSubsription/getComputedUsage:getComputedUsage", + "majorVersion": 1, "fields": { "fields": { "maxItemsOne": false @@ -65200,6 +50503,7 @@ }, "oci_onesubscription_computed_usages": { "current": "oci:OneSubsription/getComputedUsages:getComputedUsages", + "majorVersion": 1, "fields": { "computed_usages": { "maxItemsOne": false, @@ -65228,6 +50532,7 @@ }, "oci_onesubscription_invoice_line_computed_usages": { "current": "oci:OneSubsription/getInvoiceLineComputedUsages:getInvoiceLineComputedUsages", + "majorVersion": 1, "fields": { "fields": { "maxItemsOne": false @@ -65259,6 +50564,7 @@ }, "oci_onesubscription_invoices": { "current": "oci:OneSubsription/getInvoices:getInvoices", + "majorVersion": 1, "fields": { "fields": { "maxItemsOne": false @@ -65319,6 +50625,7 @@ }, "oci_onesubscription_organization_subscriptions": { "current": "oci:OneSubsription/getOrganizationSubscriptions:getOrganizationSubscriptions", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -65344,6 +50651,7 @@ }, "oci_onesubscription_ratecards": { "current": "oci:OneSubsription/getRatecards:getRatecards", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -65375,6 +50683,7 @@ }, "oci_onesubscription_subscribed_service": { "current": "oci:OneSubsription/getSubscribedService:getSubscribedService", + "majorVersion": 1, "fields": { "bill_to_address": { "maxItemsOne": false, @@ -65478,6 +50787,7 @@ }, "oci_onesubscription_subscribed_services": { "current": "oci:OneSubsription/getSubscribedServices:getSubscribedServices", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -65595,6 +50905,7 @@ }, "oci_onesubscription_subscriptions": { "current": "oci:OneSubsription/getSubscriptions:getSubscriptions", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -65632,10 +50943,12 @@ } }, "oci_ons_notification_topic": { - "current": "oci:Ons/getNotificationTopic:getNotificationTopic" + "current": "oci:Ons/getNotificationTopic:getNotificationTopic", + "majorVersion": 1 }, "oci_ons_notification_topics": { "current": "oci:Ons/getNotificationTopics:getNotificationTopics", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -65653,10 +50966,12 @@ } }, "oci_ons_subscription": { - "current": "oci:Ons/getSubscription:getSubscription" + "current": "oci:Ons/getSubscription:getSubscription", + "majorVersion": 1 }, "oci_ons_subscriptions": { "current": "oci:Ons/getSubscriptions:getSubscriptions", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -65689,6 +51004,7 @@ }, "oci_opa_opa_instance": { "current": "oci:Opa/getOpaInstance:getOpaInstance", + "majorVersion": 1, "fields": { "attachments": { "maxItemsOne": false @@ -65697,6 +51013,7 @@ }, "oci_opa_opa_instances": { "current": "oci:Opa/getOpaInstances:getOpaInstances", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -65729,6 +51046,7 @@ }, "oci_opensearch_opensearch_cluster": { "current": "oci:Opensearch/getOpensearchCluster:getOpensearchCluster", + "majorVersion": 1, "fields": { "availability_domains": { "maxItemsOne": false @@ -65737,6 +51055,7 @@ }, "oci_opensearch_opensearch_clusters": { "current": "oci:Opensearch/getOpensearchClusters:getOpensearchClusters", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -65769,6 +51088,7 @@ }, "oci_opensearch_opensearch_version": { "current": "oci:Opensearch/getOpensearchVersion:getOpensearchVersion", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false @@ -65777,6 +51097,7 @@ }, "oci_opensearch_opensearch_versions": { "current": "oci:Opensearch/getOpensearchVersions:getOpensearchVersions", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -65802,6 +51123,7 @@ }, "oci_operator_access_control_access_request": { "current": "oci:OperatorAccessControl/getAccessRequest:getAccessRequest", + "majorVersion": 1, "fields": { "action_requests_list": { "maxItemsOne": false @@ -65819,6 +51141,7 @@ }, "oci_operator_access_control_access_request_history": { "current": "oci:OperatorAccessControl/getAccessRequestHistory:getAccessRequestHistory", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false, @@ -65834,6 +51157,7 @@ }, "oci_operator_access_control_access_requests": { "current": "oci:OperatorAccessControl/getAccessRequests:getAccessRequests", + "majorVersion": 1, "fields": { "access_request_collection": { "maxItemsOne": false, @@ -65875,6 +51199,7 @@ }, "oci_operator_access_control_operator_action": { "current": "oci:OperatorAccessControl/getAction:getAction", + "majorVersion": 1, "fields": { "properties": { "maxItemsOne": false @@ -65883,6 +51208,7 @@ }, "oci_operator_access_control_operator_actions": { "current": "oci:OperatorAccessControl/getActions:getActions", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -65915,6 +51241,7 @@ }, "oci_operator_access_control_operator_control": { "current": "oci:OperatorAccessControl/getControl:getControl", + "majorVersion": 1, "fields": { "approval_required_op_action_list": { "maxItemsOne": false @@ -65934,10 +51261,12 @@ } }, "oci_operator_access_control_operator_control_assignment": { - "current": "oci:OperatorAccessControl/getControlAssignment:getControlAssignment" + "current": "oci:OperatorAccessControl/getControlAssignment:getControlAssignment", + "majorVersion": 1 }, "oci_operator_access_control_operator_control_assignments": { "current": "oci:OperatorAccessControl/getControlAssignments:getControlAssignments", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -65963,6 +51292,7 @@ }, "oci_operator_access_control_operator_controls": { "current": "oci:OperatorAccessControl/getControls:getControls", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -66006,10 +51336,12 @@ } }, "oci_opsi_awr_hub": { - "current": "oci:Opsi/getAwrHub:getAwrHub" + "current": "oci:Opsi/getAwrHub:getAwrHub", + "majorVersion": 1 }, "oci_opsi_awr_hub_awr_snapshot": { "current": "oci:Opsi/getAwrHubAwrSnapshot:getAwrHubAwrSnapshot", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false @@ -66018,6 +51350,7 @@ }, "oci_opsi_awr_hub_awr_snapshots": { "current": "oci:Opsi/getAwrHubAwrSnapshots:getAwrHubAwrSnapshots", + "majorVersion": 1, "fields": { "awr_snapshot_collection": { "maxItemsOne": false, @@ -66050,6 +51383,7 @@ }, "oci_opsi_awr_hub_awr_sources_summary": { "current": "oci:Opsi/getAwrHubAwrSourcesSummary:getAwrHubAwrSourcesSummary", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false @@ -66058,6 +51392,7 @@ }, "oci_opsi_awr_hubs": { "current": "oci:Opsi/getAwrHubs:getAwrHubs", + "majorVersion": 1, "fields": { "awr_hub_summary_collection": { "maxItemsOne": false, @@ -66086,6 +51421,7 @@ }, "oci_opsi_database_insight": { "current": "oci:Opsi/getDatabaseInsight:getDatabaseInsight", + "majorVersion": 1, "fields": { "connection_credential_details": { "maxItemsOne": false @@ -66107,6 +51443,7 @@ }, "oci_opsi_database_insights": { "current": "oci:Opsi/getDatabaseInsights:getDatabaseInsights", + "majorVersion": 1, "fields": { "database_id": { "maxItemsOne": false @@ -66166,10 +51503,12 @@ } }, "oci_opsi_enterprise_manager_bridge": { - "current": "oci:Opsi/getEnterpriseManagerBridge:getEnterpriseManagerBridge" + "current": "oci:Opsi/getEnterpriseManagerBridge:getEnterpriseManagerBridge", + "majorVersion": 1 }, "oci_opsi_enterprise_manager_bridges": { "current": "oci:Opsi/getEnterpriseManagerBridges:getEnterpriseManagerBridges", + "majorVersion": 1, "fields": { "enterprise_manager_bridge_collection": { "maxItemsOne": false, @@ -66198,6 +51537,7 @@ }, "oci_opsi_exadata_insight": { "current": "oci:Opsi/getExadataInsight:getExadataInsight", + "majorVersion": 1, "fields": { "member_vm_cluster_details": { "maxItemsOne": false, @@ -66230,6 +51570,7 @@ }, "oci_opsi_exadata_insights": { "current": "oci:Opsi/getExadataInsights:getExadataInsights", + "majorVersion": 1, "fields": { "exadata_insight_summary_collection": { "maxItemsOne": false, @@ -66294,10 +51635,12 @@ } }, "oci_opsi_host_insight": { - "current": "oci:Opsi/getHostInsight:getHostInsight" + "current": "oci:Opsi/getHostInsight:getHostInsight", + "majorVersion": 1 }, "oci_opsi_host_insights": { "current": "oci:Opsi/getHostInsights:getHostInsights", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -66332,6 +51675,7 @@ }, "oci_opsi_importable_agent_entities": { "current": "oci:Opsi/getImportableAgentEntities:getImportableAgentEntities", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false @@ -66340,6 +51684,7 @@ }, "oci_opsi_importable_agent_entity": { "current": "oci:Opsi/getImportableAgentEntity:getImportableAgentEntity", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false @@ -66348,6 +51693,7 @@ }, "oci_opsi_importable_compute_entities": { "current": "oci:Opsi/getImportableComputeEntities:getImportableComputeEntities", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false @@ -66356,6 +51702,7 @@ }, "oci_opsi_importable_compute_entity": { "current": "oci:Opsi/getImportableComputeEntity:getImportableComputeEntity", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false @@ -66364,6 +51711,7 @@ }, "oci_opsi_news_report": { "current": "oci:Opsi/getNewsReport:getNewsReport", + "majorVersion": 1, "fields": { "content_types": { "maxItemsOne": false, @@ -66379,6 +51727,7 @@ }, "oci_opsi_news_reports": { "current": "oci:Opsi/getNewsReports:getNewsReports", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -66424,6 +51773,7 @@ }, "oci_opsi_operations_insights_private_endpoint": { "current": "oci:Opsi/getOperationsInsightsPrivateEndpoint:getOperationsInsightsPrivateEndpoint", + "majorVersion": 1, "fields": { "nsg_ids": { "maxItemsOne": false @@ -66432,6 +51782,7 @@ }, "oci_opsi_operations_insights_private_endpoints": { "current": "oci:Opsi/getOperationsInsightsPrivateEndpoints:getOperationsInsightsPrivateEndpoints", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -66466,16 +51817,20 @@ } }, "oci_opsi_operations_insights_warehouse": { - "current": "oci:Opsi/getOperationsInsightsWarehouse:getOperationsInsightsWarehouse" + "current": "oci:Opsi/getOperationsInsightsWarehouse:getOperationsInsightsWarehouse", + "majorVersion": 1 }, "oci_opsi_operations_insights_warehouse_resource_usage_summary": { - "current": "oci:Opsi/getOperationsInsightsWarehouseResourceUsageSummary:getOperationsInsightsWarehouseResourceUsageSummary" + "current": "oci:Opsi/getOperationsInsightsWarehouseResourceUsageSummary:getOperationsInsightsWarehouseResourceUsageSummary", + "majorVersion": 1 }, "oci_opsi_operations_insights_warehouse_user": { - "current": "oci:Opsi/getOperationsInsightsWarehouseUser:getOperationsInsightsWarehouseUser" + "current": "oci:Opsi/getOperationsInsightsWarehouseUser:getOperationsInsightsWarehouseUser", + "majorVersion": 1 }, "oci_opsi_operations_insights_warehouse_users": { "current": "oci:Opsi/getOperationsInsightsWarehouseUsers:getOperationsInsightsWarehouseUsers", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -66504,6 +51859,7 @@ }, "oci_opsi_operations_insights_warehouses": { "current": "oci:Opsi/getOperationsInsightsWarehouses:getOperationsInsightsWarehouses", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -66532,6 +51888,7 @@ }, "oci_opsi_opsi_configuration": { "current": "oci:Opsi/getOpsiConfiguration:getOpsiConfiguration", + "majorVersion": 1, "fields": { "config_item_custom_status": { "maxItemsOne": false @@ -66579,6 +51936,7 @@ }, "oci_opsi_opsi_configuration_configuration_item": { "current": "oci:Opsi/getOpsiConfigurationConfigurationItem:getOpsiConfigurationConfigurationItem", + "majorVersion": 1, "fields": { "config_item_field": { "maxItemsOne": false @@ -66620,6 +51978,7 @@ }, "oci_opsi_opsi_configurations": { "current": "oci:Opsi/getOpsiConfigurations:getOpsiConfigurations", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -66697,6 +52056,7 @@ }, "oci_optimizer_categories": { "current": "oci:Optimizer/getCategories:getCategories", + "majorVersion": 1, "fields": { "category_collection": { "maxItemsOne": false, @@ -66735,6 +52095,7 @@ }, "oci_optimizer_category": { "current": "oci:Optimizer/getCategory:getCategory", + "majorVersion": 1, "fields": { "recommendation_counts": { "maxItemsOne": false @@ -66745,10 +52106,12 @@ } }, "oci_optimizer_enrollment_status": { - "current": "oci:Optimizer/getEnrollmentStatus:getEnrollmentStatus" + "current": "oci:Optimizer/getEnrollmentStatus:getEnrollmentStatus", + "majorVersion": 1 }, "oci_optimizer_enrollment_statuses": { "current": "oci:Optimizer/getEnrollmentStatuses:getEnrollmentStatuses", + "majorVersion": 1, "fields": { "enrollment_status_collection": { "maxItemsOne": false, @@ -66774,6 +52137,7 @@ }, "oci_optimizer_histories": { "current": "oci:Optimizer/getHistories:getHistories", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -66806,6 +52170,7 @@ }, "oci_optimizer_profile": { "current": "oci:Optimizer/getProfile:getProfile", + "majorVersion": 1, "fields": { "levels_configuration": { "maxItemsOne": false, @@ -66848,6 +52213,7 @@ }, "oci_optimizer_profile_level": { "current": "oci:Optimizer/getProfileLevel:getProfileLevel", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false, @@ -66866,6 +52232,7 @@ }, "oci_optimizer_profile_levels": { "current": "oci:Optimizer/getProfileLevels:getProfileLevels", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -66901,6 +52268,7 @@ }, "oci_optimizer_profiles": { "current": "oci:Optimizer/getProfiles:getProfiles", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -66967,6 +52335,7 @@ }, "oci_optimizer_recommendation": { "current": "oci:Optimizer/getRecommendation:getRecommendation", + "majorVersion": 1, "fields": { "resource_counts": { "maxItemsOne": false @@ -66985,6 +52354,7 @@ }, "oci_optimizer_recommendation_strategies": { "current": "oci:Optimizer/getRecommendationStrategies:getRecommendationStrategies", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -67034,6 +52404,7 @@ }, "oci_optimizer_recommendation_strategy": { "current": "oci:Optimizer/getRecommendationStrategy:getRecommendationStrategy", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false, @@ -67066,6 +52437,7 @@ }, "oci_optimizer_recommendations": { "current": "oci:Optimizer/getRecommendations:getRecommendations", + "majorVersion": 1, "fields": { "child_tenancy_ids": { "maxItemsOne": false @@ -67111,6 +52483,7 @@ }, "oci_optimizer_resource_action": { "current": "oci:Optimizer/getResourceAction:getResourceAction", + "majorVersion": 1, "fields": { "action": { "maxItemsOne": false @@ -67119,6 +52492,7 @@ }, "oci_optimizer_resource_actions": { "current": "oci:Optimizer/getResourceActions:getResourceActions", + "majorVersion": 1, "fields": { "child_tenancy_ids": { "maxItemsOne": false @@ -67154,6 +52528,7 @@ }, "oci_osmanagement_managed_instance": { "current": "oci:OsManagement/getManagedInstance:getManagedInstance", + "majorVersion": 1, "fields": { "autonomous": { "maxItemsOne": false @@ -67170,10 +52545,12 @@ } }, "oci_osmanagement_managed_instance_event_report": { - "current": "oci:OsManagement/getManagedInstanceEventReport:getManagedInstanceEventReport" + "current": "oci:OsManagement/getManagedInstanceEventReport:getManagedInstanceEventReport", + "majorVersion": 1 }, "oci_osmanagement_managed_instance_group": { "current": "oci:OsManagement/getManagedInstanceGroup:getManagedInstanceGroup", + "majorVersion": 1, "fields": { "managed_instances": { "maxItemsOne": false @@ -67182,6 +52559,7 @@ }, "oci_osmanagement_managed_instance_groups": { "current": "oci:OsManagement/getManagedInstanceGroups:getManagedInstanceGroups", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -67207,6 +52585,7 @@ }, "oci_osmanagement_managed_instance_module_streams": { "current": "oci:OsManagement/getManagedInstanceModuleStreams:getManagedInstanceModuleStreams", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -67232,6 +52611,7 @@ }, "oci_osmanagement_managed_instance_stream_profiles": { "current": "oci:OsManagement/getManagedInstanceStreamProfile:getManagedInstanceStreamProfile", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -67250,6 +52630,7 @@ }, "oci_osmanagement_managed_instances": { "current": "oci:OsManagement/getManagedInstances:getManagedInstances", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -67284,6 +52665,7 @@ }, "oci_osmanagement_software_source": { "current": "oci:OsManagement/getSoftwareSource:getSoftwareSource", + "majorVersion": 1, "fields": { "associated_managed_instances": { "maxItemsOne": false @@ -67292,6 +52674,7 @@ }, "oci_osmanagement_software_source_module_stream": { "current": "oci:OsManagement/getSoftwareSourceModuleStream:getSoftwareSourceModuleStream", + "majorVersion": 1, "fields": { "packages": { "maxItemsOne": false @@ -67303,6 +52686,7 @@ }, "oci_osmanagement_software_source_module_stream_profile": { "current": "oci:OsManagement/getSoftwareSourceModuleStreamProfile:getSoftwareSourceModuleStreamProfile", + "majorVersion": 1, "fields": { "packages": { "maxItemsOne": false @@ -67311,6 +52695,7 @@ }, "oci_osmanagement_software_source_stream_profiles": { "current": "oci:OsManagement/getSoftwareSourceStreamProfile:getSoftwareSourceStreamProfile", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -67329,6 +52714,7 @@ }, "oci_osmanagement_software_sources": { "current": "oci:OsManagement/getSoftwareSources:getSoftwareSources", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -67353,10 +52739,12 @@ } }, "oci_osp_gateway_address": { - "current": "oci:OspGateway/getAddress:getAddress" + "current": "oci:OspGateway/getAddress:getAddress", + "majorVersion": 1 }, "oci_osp_gateway_address_rule": { "current": "oci:OspGateway/getAddressRule:getAddressRule", + "majorVersion": 1, "fields": { "address": { "maxItemsOne": false, @@ -67422,6 +52810,7 @@ }, "oci_osp_gateway_invoice": { "current": "oci:OspGateway/getInvoice:getInvoice", + "majorVersion": 1, "fields": { "bill_to_address": { "maxItemsOne": false, @@ -67446,6 +52835,7 @@ }, "oci_osp_gateway_invoices": { "current": "oci:OspGateway/getInvoices:getInvoices", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -67500,6 +52890,7 @@ }, "oci_osp_gateway_invoices_invoice_line": { "current": "oci:OspGateway/getInvoicesInvoiceLine:getInvoicesInvoiceLine", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false, @@ -67515,6 +52906,7 @@ }, "oci_osp_gateway_invoices_invoice_lines": { "current": "oci:OspGateway/getInvoicesInvoiceLines:getInvoicesInvoiceLines", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -67547,6 +52939,7 @@ }, "oci_osp_gateway_subscription": { "current": "oci:OspGateway/getSubscription:getSubscription", + "majorVersion": 1, "fields": { "billing_address": { "maxItemsOne": false @@ -67597,6 +52990,7 @@ }, "oci_osp_gateway_subscriptions": { "current": "oci:OspGateway/getSubscriptions:getSubscriptions", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -67671,6 +53065,7 @@ }, "oci_osub_billing_schedule_billing_schedules": { "current": "oci:OsubBillingSchedule/getBillingSchedule:getBillingSchedule", + "majorVersion": 1, "fields": { "billing_schedules": { "maxItemsOne": false, @@ -67696,6 +53091,7 @@ }, "oci_osub_organization_subscription_organization_subscriptions": { "current": "oci:OsubOrganizationSubscription/getOrganizationSubscriptions:getOrganizationSubscriptions", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -67720,10 +53116,12 @@ } }, "oci_osub_subscription_commitment": { - "current": "oci:OsubSubscription/getCommitment:getCommitment" + "current": "oci:OsubSubscription/getCommitment:getCommitment", + "majorVersion": 1 }, "oci_osub_subscription_commitments": { "current": "oci:OsubSubscription/getCommitments:getCommitments", + "majorVersion": 1, "fields": { "commitments": { "maxItemsOne": false @@ -67742,6 +53140,7 @@ }, "oci_osub_subscription_ratecards": { "current": "oci:OsubSubscription/getRatecards:getRatecards", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -67773,6 +53172,7 @@ }, "oci_osub_subscription_subscriptions": { "current": "oci:OsubSubscription/getSubscriptions:getSubscriptions", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -67811,6 +53211,7 @@ }, "oci_osub_usage_computed_usage": { "current": "oci:OsubUsage/getComputedUsage:getComputedUsage", + "majorVersion": 1, "fields": { "fields": { "maxItemsOne": false @@ -67825,6 +53226,7 @@ }, "oci_osub_usage_computed_usage_aggregateds": { "current": "oci:OsubUsage/getCommitmentAggregateds:getCommitmentAggregateds", + "majorVersion": 1, "fields": { "computed_usage_aggregateds": { "maxItemsOne": false, @@ -67860,6 +53262,7 @@ }, "oci_osub_usage_computed_usages": { "current": "oci:OsubUsage/getComputedUsages:getComputedUsages", + "majorVersion": 1, "fields": { "computed_usages": { "maxItemsOne": false, @@ -67887,10 +53290,12 @@ } }, "oci_queue_queue": { - "current": "oci:Queue/getQueue:getQueue" + "current": "oci:Queue/getQueue:getQueue", + "majorVersion": 1 }, "oci_queue_queues": { "current": "oci:Queue/getQueues:getQueues", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -67916,6 +53321,7 @@ }, "oci_recovery_protected_database": { "current": "oci:RecoveryMod/getProtectedDatabase:getProtectedDatabase", + "majorVersion": 1, "fields": { "metrics": { "maxItemsOne": false @@ -67926,10 +53332,12 @@ } }, "oci_recovery_protected_database_fetch_configuration": { - "current": "oci:RecoveryMod/getProtectedDatabaseFetchConfiguration:getProtectedDatabaseFetchConfiguration" + "current": "oci:RecoveryMod/getProtectedDatabaseFetchConfiguration:getProtectedDatabaseFetchConfiguration", + "majorVersion": 1 }, "oci_recovery_protected_databases": { "current": "oci:RecoveryMod/getProtectedDatabases:getProtectedDatabases", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -67965,6 +53373,7 @@ }, "oci_recovery_protection_policies": { "current": "oci:RecoveryMod/getProtectionPolicies:getProtectionPolicies", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -67989,13 +53398,16 @@ } }, "oci_recovery_protection_policy": { - "current": "oci:RecoveryMod/getProtectionPolicy:getProtectionPolicy" + "current": "oci:RecoveryMod/getProtectionPolicy:getProtectionPolicy", + "majorVersion": 1 }, "oci_recovery_recovery_service_subnet": { - "current": "oci:RecoveryMod/getRecoveryServiceSubnet:getRecoveryServiceSubnet" + "current": "oci:RecoveryMod/getRecoveryServiceSubnet:getRecoveryServiceSubnet", + "majorVersion": 1 }, "oci_recovery_recovery_service_subnets": { "current": "oci:RecoveryMod/getRecoveryServiceSubnets:getRecoveryServiceSubnets", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -68021,6 +53433,7 @@ }, "oci_resourcemanager_private_endpoint": { "current": "oci:ResourceManager/getPrivateEndpoint:getPrivateEndpoint", + "majorVersion": 1, "fields": { "dns_zones": { "maxItemsOne": false @@ -68034,10 +53447,12 @@ } }, "oci_resourcemanager_private_endpoint_reachable_ip": { - "current": "oci:ResourceManager/getPrivateEndpointReachableIp:getPrivateEndpointReachableIp" + "current": "oci:ResourceManager/getPrivateEndpointReachableIp:getPrivateEndpointReachableIp", + "majorVersion": 1 }, "oci_resourcemanager_private_endpoints": { "current": "oci:ResourceManager/getPrivateEndpoints:getPrivateEndpoints", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -68076,6 +53491,7 @@ }, "oci_resourcemanager_stack": { "current": "oci:ResourceManager/getStack:getStack", + "majorVersion": 1, "fields": { "config_source": { "maxItemsOne": false @@ -68083,10 +53499,12 @@ } }, "oci_resourcemanager_stack_tf_state": { - "current": "oci:ResourceManager/getStackTfState:getStackTfState" + "current": "oci:ResourceManager/getStackTfState:getStackTfState", + "majorVersion": 1 }, "oci_resourcemanager_stacks": { "current": "oci:ResourceManager/getStacks:getStacks", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -68112,6 +53530,7 @@ }, "oci_sch_service_connector": { "current": "oci:Sch/getServiceConnector:getServiceConnector", + "majorVersion": 1, "fields": { "source": { "maxItemsOne": false, @@ -68174,6 +53593,7 @@ }, "oci_sch_service_connectors": { "current": "oci:Sch/getServiceConnectors:getServiceConnectors", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -68260,6 +53680,7 @@ }, "oci_secrets_secretbundle": { "current": "oci:Secrets/getSecretbundle:getSecretbundle", + "majorVersion": 1, "fields": { "secret_bundle_content": { "maxItemsOne": false @@ -68271,6 +53692,7 @@ }, "oci_secrets_secretbundle_versions": { "current": "oci:Secrets/getSecretbundleVersions:getSecretbundleVersions", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -68296,6 +53718,7 @@ }, "oci_service_catalog_private_application": { "current": "oci:ServiceCatalog/getPrivateApplication:getPrivateApplication", + "majorVersion": 1, "fields": { "logo": { "maxItemsOne": false @@ -68306,10 +53729,12 @@ } }, "oci_service_catalog_private_application_package": { - "current": "oci:ServiceCatalog/getPrivateApplicationPackage:getPrivateApplicationPackage" + "current": "oci:ServiceCatalog/getPrivateApplicationPackage:getPrivateApplicationPackage", + "majorVersion": 1 }, "oci_service_catalog_private_application_packages": { "current": "oci:ServiceCatalog/getPrivateApplicationPackages:getPrivateApplicationPackages", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -68338,6 +53763,7 @@ }, "oci_service_catalog_private_applications": { "current": "oci:ServiceCatalog/getPrivateApplications:getPrivateApplications", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -68372,13 +53798,16 @@ } }, "oci_service_catalog_service_catalog": { - "current": "oci:ServiceCatalog/getServiceCatalog:getServiceCatalog" + "current": "oci:ServiceCatalog/getServiceCatalog:getServiceCatalog", + "majorVersion": 1 }, "oci_service_catalog_service_catalog_association": { - "current": "oci:ServiceCatalog/getServiceCatalogAssociation:getServiceCatalogAssociation" + "current": "oci:ServiceCatalog/getServiceCatalogAssociation:getServiceCatalogAssociation", + "majorVersion": 1 }, "oci_service_catalog_service_catalog_associations": { "current": "oci:ServiceCatalog/getServiceCatalogAssociations:getServiceCatalogAssociations", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -68404,6 +53833,7 @@ }, "oci_service_catalog_service_catalogs": { "current": "oci:ServiceCatalog/getServiceCatalogs:getServiceCatalogs", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -68429,6 +53859,7 @@ }, "oci_service_manager_proxy_service_environment": { "current": "oci:ServiceManagerProxy/getServiceEnvironment:getServiceEnvironment", + "majorVersion": 1, "fields": { "service_definition": { "maxItemsOne": false @@ -68440,6 +53871,7 @@ }, "oci_service_manager_proxy_service_environments": { "current": "oci:ServiceManagerProxy/getServiceEnvironments:getServiceEnvironments", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -68475,6 +53907,7 @@ }, "oci_service_mesh_access_policies": { "current": "oci:ServiceMesh/getAccessPolicies:getAccessPolicies", + "majorVersion": 1, "fields": { "access_policy_collection": { "maxItemsOne": false, @@ -68543,6 +53976,7 @@ }, "oci_service_mesh_access_policy": { "current": "oci:ServiceMesh/getAccessPolicy:getAccessPolicy", + "majorVersion": 1, "fields": { "rules": { "maxItemsOne": false, @@ -68587,6 +54021,7 @@ }, "oci_service_mesh_ingress_gateway": { "current": "oci:ServiceMesh/getIngressGateway:getIngressGateway", + "majorVersion": 1, "fields": { "access_logging": { "maxItemsOne": false @@ -68638,6 +54073,7 @@ }, "oci_service_mesh_ingress_gateway_route_table": { "current": "oci:ServiceMesh/getIngressGatewayRouteTable:getIngressGatewayRouteTable", + "majorVersion": 1, "fields": { "route_rules": { "maxItemsOne": false, @@ -68656,6 +54092,7 @@ }, "oci_service_mesh_ingress_gateway_route_tables": { "current": "oci:ServiceMesh/getIngressGatewayRouteTables:getIngressGatewayRouteTables", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -68698,6 +54135,7 @@ }, "oci_service_mesh_ingress_gateways": { "current": "oci:ServiceMesh/getIngressGateways:getIngressGateways", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -68773,6 +54211,7 @@ }, "oci_service_mesh_mesh": { "current": "oci:ServiceMesh/getMesh:getMesh", + "majorVersion": 1, "fields": { "certificate_authorities": { "maxItemsOne": false @@ -68784,6 +54223,7 @@ }, "oci_service_mesh_meshes": { "current": "oci:ServiceMesh/getMeshes:getMeshes", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -68818,10 +54258,12 @@ } }, "oci_service_mesh_proxy_detail": { - "current": "oci:ServiceMesh/getProxyDetail:getProxyDetail" + "current": "oci:ServiceMesh/getProxyDetail:getProxyDetail", + "majorVersion": 1 }, "oci_service_mesh_virtual_deployment": { "current": "oci:ServiceMesh/getVirtualDeployment:getVirtualDeployment", + "majorVersion": 1, "fields": { "access_logging": { "maxItemsOne": false @@ -68836,6 +54278,7 @@ }, "oci_service_mesh_virtual_deployments": { "current": "oci:ServiceMesh/getVirtualDeployments:getVirtualDeployments", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -68874,6 +54317,7 @@ }, "oci_service_mesh_virtual_service": { "current": "oci:ServiceMesh/getVirtualService:getVirtualService", + "majorVersion": 1, "fields": { "default_routing_policy": { "maxItemsOne": false @@ -68888,6 +54332,7 @@ }, "oci_service_mesh_virtual_service_route_table": { "current": "oci:ServiceMesh/getVirtualServiceRouteTable:getVirtualServiceRouteTable", + "majorVersion": 1, "fields": { "route_rules": { "maxItemsOne": false, @@ -68903,6 +54348,7 @@ }, "oci_service_mesh_virtual_service_route_tables": { "current": "oci:ServiceMesh/getVirtualServiceRouteTables:getVirtualServiceRouteTables", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -68942,6 +54388,7 @@ }, "oci_service_mesh_virtual_services": { "current": "oci:ServiceMesh/getVirtualServices:getVirtualServices", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -68979,10 +54426,12 @@ } }, "oci_stack_monitoring_config": { - "current": "oci:StackMonitoring/getConfig:getConfig" + "current": "oci:StackMonitoring/getConfig:getConfig", + "majorVersion": 1 }, "oci_stack_monitoring_configs": { "current": "oci:StackMonitoring/getConfigs:getConfigs", + "majorVersion": 1, "fields": { "config_collection": { "maxItemsOne": false, @@ -69008,6 +54457,7 @@ }, "oci_stack_monitoring_discovery_job": { "current": "oci:StackMonitoring/getDiscoveryJob:getDiscoveryJob", + "majorVersion": 1, "fields": { "discovery_details": { "maxItemsOne": false, @@ -69043,6 +54493,7 @@ }, "oci_stack_monitoring_discovery_job_logs": { "current": "oci:StackMonitoring/getDiscoveryJobLogs:getDiscoveryJobLogs", + "majorVersion": 1, "fields": { "discovery_job_log_collection": { "maxItemsOne": false, @@ -69068,6 +54519,7 @@ }, "oci_stack_monitoring_discovery_jobs": { "current": "oci:StackMonitoring/getDiscoveryJobs:getDiscoveryJobs", + "majorVersion": 1, "fields": { "discovery_job_collection": { "maxItemsOne": false, @@ -69093,6 +54545,7 @@ }, "oci_stack_monitoring_monitored_resource": { "current": "oci:StackMonitoring/getMonitoredResource:getMonitoredResource", + "majorVersion": 1, "fields": { "additional_aliases": { "maxItemsOne": false, @@ -69143,10 +54596,12 @@ } }, "oci_streaming_connect_harness": { - "current": "oci:Streaming/getConnectHarness:getConnectHarness" + "current": "oci:Streaming/getConnectHarness:getConnectHarness", + "majorVersion": 1 }, "oci_streaming_connect_harnesses": { "current": "oci:Streaming/getConnectHarnesses:getConnectHarnesses", + "majorVersion": 1, "fields": { "connect_harness": { "maxItemsOne": false @@ -69164,10 +54619,12 @@ } }, "oci_streaming_stream": { - "current": "oci:Streaming/getStream:getStream" + "current": "oci:Streaming/getStream:getStream", + "majorVersion": 1 }, "oci_streaming_stream_pool": { "current": "oci:Streaming/getStreamPool:getStreamPool", + "majorVersion": 1, "fields": { "custom_encryption_key": { "maxItemsOne": false @@ -69189,6 +54646,7 @@ }, "oci_streaming_stream_pools": { "current": "oci:Streaming/getStreamPools:getStreamPools", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -69227,6 +54685,7 @@ }, "oci_streaming_streams": { "current": "oci:Streaming/getStreams:getStreams", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -69245,6 +54704,7 @@ }, "oci_usage_proxy_resource_quotas": { "current": "oci:UsageProxy/getResourceQuotas:getResourceQuotas", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -69270,6 +54730,7 @@ }, "oci_usage_proxy_resources": { "current": "oci:UsageProxy/getResources:getResources", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -69305,6 +54766,7 @@ }, "oci_usage_proxy_subscription_product": { "current": "oci:UsageProxy/getSubscriptionProduct:getSubscriptionProduct", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false @@ -69313,6 +54775,7 @@ }, "oci_usage_proxy_subscription_products": { "current": "oci:UsageProxy/getSubscriptionProducts:getSubscriptionProducts", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -69345,6 +54808,7 @@ }, "oci_usage_proxy_subscription_redeemable_user": { "current": "oci:UsageProxy/getSubscriptionRedeemableUser:getSubscriptionRedeemableUser", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false @@ -69353,6 +54817,7 @@ }, "oci_usage_proxy_subscription_redeemable_users": { "current": "oci:UsageProxy/getSubscriptionRedeemableUsers:getSubscriptionRedeemableUsers", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -69385,6 +54850,7 @@ }, "oci_usage_proxy_subscription_redemption": { "current": "oci:UsageProxy/getSubscriptionRedemption:getSubscriptionRedemption", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false @@ -69393,6 +54859,7 @@ }, "oci_usage_proxy_subscription_redemptions": { "current": "oci:UsageProxy/getSubscriptionRedemptions:getSubscriptionRedemptions", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -69425,6 +54892,7 @@ }, "oci_usage_proxy_subscription_reward": { "current": "oci:UsageProxy/getSubscriptionReward:getSubscriptionReward", + "majorVersion": 1, "fields": { "items": { "maxItemsOne": false @@ -69436,6 +54904,7 @@ }, "oci_usage_proxy_subscription_rewards": { "current": "oci:UsageProxy/getSubscriptionRewards:getSubscriptionRewards", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -69471,6 +54940,7 @@ }, "oci_usage_proxy_usagelimits": { "current": "oci:UsageProxy/getUsagelimits:getUsagelimits", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -69496,6 +54966,7 @@ }, "oci_vault_secret": { "current": "oci:Vault/getSecret:getSecret", + "majorVersion": 1, "fields": { "secret_content": { "maxItemsOne": false @@ -69507,6 +54978,7 @@ }, "oci_vault_secret_version": { "current": "oci:Vault/getSecretVersion:getSecretVersion", + "majorVersion": 1, "fields": { "stages": { "maxItemsOne": false @@ -69515,6 +54987,7 @@ }, "oci_vault_secrets": { "current": "oci:Vault/getSecrets:getSecrets", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -69542,10 +55015,12 @@ } }, "oci_vbs_inst_vbs_instance": { - "current": "oci:Vbs/getInstVbsInstance:getInstVbsInstance" + "current": "oci:Vbs/getInstVbsInstance:getInstVbsInstance", + "majorVersion": 1 }, "oci_vbs_inst_vbs_instances": { "current": "oci:Vbs/getInstVbsInstances:getInstVbsInstances", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -69571,6 +55046,7 @@ }, "oci_visual_builder_vb_instance": { "current": "oci:VisualBuilder/getVbInstance:getVbInstance", + "majorVersion": 1, "fields": { "alternate_custom_endpoints": { "maxItemsOne": false @@ -69588,6 +55064,7 @@ }, "oci_visual_builder_vb_instance_applications": { "current": "oci:VisualBuilder/getVbInstanceApplications:getVbInstanceApplications", + "majorVersion": 1, "fields": { "application_summary_collection": { "maxItemsOne": false, @@ -69603,6 +55080,7 @@ }, "oci_visual_builder_vb_instances": { "current": "oci:VisualBuilder/getVbInstances:getVbInstances", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -69644,6 +55122,7 @@ }, "oci_vn_monitoring_path_analyzer_test": { "current": "oci:VnMonitoring/getPathAnalyzerTest:GetPathAnalyzerTest", + "majorVersion": 1, "fields": { "destination_endpoint": { "maxItemsOne": false @@ -69661,6 +55140,7 @@ }, "oci_vn_monitoring_path_analyzer_tests": { "current": "oci:VnMonitoring/getPathAnalyzerTests:GetPathAnalyzerTests", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -69702,6 +55182,7 @@ }, "oci_vulnerability_scanning_container_scan_recipe": { "current": "oci:VulnerabilityScanning/getContainerScanRecipe:getContainerScanRecipe", + "majorVersion": 1, "fields": { "scan_settings": { "maxItemsOne": false @@ -69710,6 +55191,7 @@ }, "oci_vulnerability_scanning_container_scan_recipes": { "current": "oci:VulnerabilityScanning/getContainerScanRecipes:getContainerScanRecipes", + "majorVersion": 1, "fields": { "container_scan_recipe_summary_collection": { "maxItemsOne": false, @@ -69742,6 +55224,7 @@ }, "oci_vulnerability_scanning_container_scan_target": { "current": "oci:VulnerabilityScanning/getContainerScanTarget:getContainerScanTarget", + "majorVersion": 1, "fields": { "target_registry": { "maxItemsOne": false, @@ -69757,6 +55240,7 @@ }, "oci_vulnerability_scanning_container_scan_targets": { "current": "oci:VulnerabilityScanning/getContainerScanTargets:getContainerScanTargets", + "majorVersion": 1, "fields": { "container_scan_target_summary_collection": { "maxItemsOne": false, @@ -69796,6 +55280,7 @@ }, "oci_vulnerability_scanning_host_scan_recipe": { "current": "oci:VulnerabilityScanning/getHostScanRecipe:getHostScanRecipe", + "majorVersion": 1, "fields": { "agent_settings": { "maxItemsOne": false, @@ -69837,6 +55322,7 @@ }, "oci_vulnerability_scanning_host_scan_recipes": { "current": "oci:VulnerabilityScanning/getHostScanRecipes:getHostScanRecipes", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -69902,6 +55388,7 @@ }, "oci_vulnerability_scanning_host_scan_target": { "current": "oci:VulnerabilityScanning/getHostScanTarget:getHostScanTarget", + "majorVersion": 1, "fields": { "instance_ids": { "maxItemsOne": false @@ -69910,6 +55397,7 @@ }, "oci_vulnerability_scanning_host_scan_target_errors": { "current": "oci:VulnerabilityScanning/getHostScanTargetErrors:getHostScanTargetErrors", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -69942,6 +55430,7 @@ }, "oci_vulnerability_scanning_host_scan_targets": { "current": "oci:VulnerabilityScanning/getHostScanTargets:getHostScanTargets", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -69973,10 +55462,12 @@ } }, "oci_waa_web_app_acceleration": { - "current": "oci:Waa/getAppAcceleration:getAppAcceleration" + "current": "oci:Waa/getAppAcceleration:getAppAcceleration", + "majorVersion": 1 }, "oci_waa_web_app_acceleration_policies": { "current": "oci:Waa/getAppAccelerationPolicies:getAppAccelerationPolicies", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -70022,6 +55513,7 @@ }, "oci_waa_web_app_acceleration_policy": { "current": "oci:Waa/getAppAccelerationPolicy:getAppAccelerationPolicy", + "majorVersion": 1, "fields": { "response_caching_policy": { "maxItemsOne": false @@ -70040,6 +55532,7 @@ }, "oci_waa_web_app_accelerations": { "current": "oci:Waa/getAppAccelerations:getAppAccelerations", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -70068,6 +55561,7 @@ }, "oci_waas_address_list": { "current": "oci:Waas/getAddressList:getAddressList", + "majorVersion": 1, "fields": { "addresses": { "maxItemsOne": false @@ -70076,6 +55570,7 @@ }, "oci_waas_address_lists": { "current": "oci:Waas/getAddressLists:getAddressLists", + "majorVersion": 1, "fields": { "address_lists": { "maxItemsOne": false, @@ -70110,6 +55605,7 @@ }, "oci_waas_certificate": { "current": "oci:Waas/getCertificate:getCertificate", + "majorVersion": 1, "fields": { "extensions": { "maxItemsOne": false @@ -70127,6 +55623,7 @@ }, "oci_waas_certificates": { "current": "oci:Waas/getCertificates:getCertificates", + "majorVersion": 1, "fields": { "certificates": { "maxItemsOne": false, @@ -70170,6 +55667,7 @@ }, "oci_waas_custom_protection_rule": { "current": "oci:Waas/getCustomProtectionRule:getCustomProtectionRule", + "majorVersion": 1, "fields": { "mod_security_rule_ids": { "maxItemsOne": false @@ -70178,6 +55676,7 @@ }, "oci_waas_custom_protection_rules": { "current": "oci:Waas/getCustomProtectionRules:getCustomProtectionRules", + "majorVersion": 1, "fields": { "custom_protection_rules": { "maxItemsOne": false, @@ -70212,6 +55711,7 @@ }, "oci_waas_edge_subnets": { "current": "oci:Waas/getEdgeSubnets:getEdgeSubnets", + "majorVersion": 1, "fields": { "edge_subnets": { "maxItemsOne": false @@ -70230,6 +55730,7 @@ }, "oci_waas_http_redirect": { "current": "oci:Waas/getHttpRedirect:getHttpRedirect", + "majorVersion": 1, "fields": { "target": { "maxItemsOne": false @@ -70238,6 +55739,7 @@ }, "oci_waas_http_redirects": { "current": "oci:Waas/getHttpRedirects:getHttpRedirects", + "majorVersion": 1, "fields": { "display_names": { "maxItemsOne": false @@ -70272,6 +55774,7 @@ }, "oci_waas_protection_rule": { "current": "oci:Waas/getProtectionRule:getProtectionRule", + "majorVersion": 1, "fields": { "exclusions": { "maxItemsOne": false, @@ -70293,6 +55796,7 @@ }, "oci_waas_protection_rules": { "current": "oci:Waas/getProtectionRules:getProtectionRules", + "majorVersion": 1, "fields": { "action": { "maxItemsOne": false @@ -70337,6 +55841,7 @@ }, "oci_waas_waas_policies": { "current": "oci:Waas/getWaasPolicies:getWaasPolicies", + "majorVersion": 1, "fields": { "display_names": { "maxItemsOne": false @@ -70541,6 +56046,7 @@ }, "oci_waas_waas_policy": { "current": "oci:Waas/getWaasPolicy:getWaasPolicy", + "majorVersion": 1, "fields": { "additional_domains": { "maxItemsOne": false @@ -70719,6 +56225,7 @@ }, "oci_waf_network_address_list": { "current": "oci:Waf/getNetworkAddressList:getNetworkAddressList", + "majorVersion": 1, "fields": { "addresses": { "maxItemsOne": false @@ -70730,6 +56237,7 @@ }, "oci_waf_network_address_lists": { "current": "oci:Waf/getNetworkAddressLists:getNetworkAddressLists", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -70768,6 +56276,7 @@ }, "oci_waf_protection_capabilities": { "current": "oci:Waf/getProtectionCapabilities:getProtectionCapabilities", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -70809,6 +56318,7 @@ }, "oci_waf_protection_capability_group_tags": { "current": "oci:Waf/getProtectionCapabilityGroupTags:getProtectionCapabilityGroupTags", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -70833,10 +56343,12 @@ } }, "oci_waf_web_app_firewall": { - "current": "oci:Waf/getWebAppFirewall:getWebAppFirewall" + "current": "oci:Waf/getWebAppFirewall:getWebAppFirewall", + "majorVersion": 1 }, "oci_waf_web_app_firewall_policies": { "current": "oci:Waf/getWebAppFirewallPolicies:getWebAppFirewallPolicies", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -71013,6 +56525,7 @@ }, "oci_waf_web_app_firewall_policy": { "current": "oci:Waf/getWebAppFirewallPolicy:getWebAppFirewallPolicy", + "majorVersion": 1, "fields": { "actions": { "maxItemsOne": false, @@ -71162,6 +56675,7 @@ }, "oci_waf_web_app_firewalls": { "current": "oci:Waf/getFirewalls:getFirewalls", + "majorVersion": 1, "fields": { "filter": { "maxItemsOne": false, @@ -71269,6 +56783,8 @@ "oci:CloudMigrations/migrationPlan:MigrationPlan": "oci_cloud_migrations_migration_plan", "oci:CloudMigrations/replicationSchedule:ReplicationSchedule": "oci_cloud_migrations_replication_schedule", "oci:CloudMigrations/targetAsset:TargetAsset": "oci_cloud_migrations_target_asset", + "oci:ComputeCloud/atCustomerCccInfrastructure:AtCustomerCccInfrastructure": "oci_compute_cloud_at_customer_ccc_infrastructure", + "oci:ComputeCloud/atCustomerCccUpgradeSchedule:AtCustomerCccUpgradeSchedule": "oci_compute_cloud_at_customer_ccc_upgrade_schedule", "oci:ContainerEngine/addon:Addon": "oci_containerengine_addon", "oci:ContainerEngine/cluster:Cluster": "oci_containerengine_cluster", "oci:ContainerEngine/clusterCompleteCredentialRotationManagement:ClusterCompleteCredentialRotationManagement": "oci_containerengine_cluster_complete_credential_rotation_management", @@ -71402,6 +56918,7 @@ "oci:DataScience/notebookSession:NotebookSession": "oci_datascience_notebook_session", "oci:DataScience/pipeline:Pipeline": "oci_datascience_pipeline", "oci:DataScience/pipelineRun:PipelineRun": "oci_datascience_pipeline_run", + "oci:DataScience/privateEndpoint:PrivateEndpoint": "oci_datascience_private_endpoint", "oci:DataScience/project:Project": "oci_datascience_project", "oci:Database/applicationVip:ApplicationVip": "oci_database_application_vip", "oci:Database/autonomousContainerDatabase:AutonomousContainerDatabase": "oci_database_autonomous_container_database", @@ -71598,6 +57115,7 @@ "oci:IdentityDataPlane/generatedScopedAccessToken:GeneratedScopedAccessToken": "oci_identity_data_plane_generate_scoped_access_token", "oci:Integration/integrationInstance:IntegrationInstance": "oci_integration_integration_instance", "oci:Jms/fleet:Fleet": "oci_jms_fleet", + "oci:Kms/ekmsPrivateEndpoint:EkmsPrivateEndpoint": "oci_kms_ekms_private_endpoint", "oci:Kms/encryptedData:EncryptedData": "oci_kms_encrypted_data", "oci:Kms/generatedKey:GeneratedKey": "oci_kms_generated_key", "oci:Kms/key:Key": "oci_kms_key", @@ -71938,6 +57456,10 @@ "oci:CloudMigrations/getReplicationSchedules:getReplicationSchedules": "oci_cloud_migrations_replication_schedules", "oci:CloudMigrations/getTargetAsset:getTargetAsset": "oci_cloud_migrations_target_asset", "oci:CloudMigrations/getTargetAssets:getTargetAssets": "oci_cloud_migrations_target_assets", + "oci:ComputeCloud/getAtCustomerCccInfrastructure:getAtCustomerCccInfrastructure": "oci_compute_cloud_at_customer_ccc_infrastructure", + "oci:ComputeCloud/getAtCustomerCccInfrastructures:getAtCustomerCccInfrastructures": "oci_compute_cloud_at_customer_ccc_infrastructures", + "oci:ComputeCloud/getAtCustomerCccUpgradeSchedule:getAtCustomerCccUpgradeSchedule": "oci_compute_cloud_at_customer_ccc_upgrade_schedule", + "oci:ComputeCloud/getAtCustomerCccUpgradeSchedules:getAtCustomerCccUpgradeSchedules": "oci_compute_cloud_at_customer_ccc_upgrade_schedules", "oci:ComputeInstanceAgent/getInstanceAgentPlugin:getInstanceAgentPlugin": "oci_computeinstanceagent_instance_agent_plugin", "oci:ComputeInstanceAgent/getInstanceAgentPlugins:getInstanceAgentPlugins": "oci_computeinstanceagent_instance_agent_plugins", "oci:ComputeInstanceAgent/getInstanceAvailablePlugin:getInstanceAvailablePlugin": "oci_computeinstanceagent_instance_available_plugins", @@ -72255,6 +57777,8 @@ "oci:DataScience/getPipelineRun:getPipelineRun": "oci_datascience_pipeline_run", "oci:DataScience/getPipelineRuns:getPipelineRuns": "oci_datascience_pipeline_runs", "oci:DataScience/getPipelines:getPipelines": "oci_datascience_pipelines", + "oci:DataScience/getPrivateEndpoint:getPrivateEndpoint": "oci_datascience_private_endpoint", + "oci:DataScience/getPrivateEndpoints:getPrivateEndpoints": "oci_datascience_private_endpoints", "oci:DataScience/getProject:getProject": "oci_datascience_project", "oci:DataScience/getProjects:getProjects": "oci_datascience_projects", "oci:Database/getApplicationVip:getApplicationVip": "oci_database_application_vip", @@ -72766,6 +58290,8 @@ "oci:Jms/getListJreUsage:getListJreUsage": "oci_jms_list_jre_usage", "oci:Jms/getSummarizeResourceInventory:getSummarizeResourceInventory": "oci_jms_summarize_resource_inventory", "oci:Kms/getDecryptedData:getDecryptedData": "oci_kms_decrypted_data", + "oci:Kms/getEkmsPrivateEndpoint:getEkmsPrivateEndpoint": "oci_kms_ekms_private_endpoint", + "oci:Kms/getEkmsPrivateEndpoints:getEkmsPrivateEndpoints": "oci_kms_ekms_private_endpoints", "oci:Kms/getEncryptedData:getEncryptedData": "oci_kms_encrypted_data", "oci:Kms/getKey:getKey": "oci_kms_key", "oci:Kms/getKeyVersion:getKeyVersion": "oci_kms_key_version", @@ -82699,6 +68225,253 @@ "timeUpdated": "time_updated", "userSpec": "user_spec" }, + "oci:ComputeCloud/AtCustomerCccInfrastructureInfrastructureInventory:AtCustomerCccInfrastructureInfrastructureInventory": { + "capacityStorageTrayCount": "capacity_storage_tray_count", + "computeNodeCount": "compute_node_count", + "managementNodeCount": "management_node_count", + "performanceStorageTrayCount": "performance_storage_tray_count", + "serialNumber": "serial_number" + }, + "oci:ComputeCloud/AtCustomerCccInfrastructureInfrastructureNetworkConfiguration:AtCustomerCccInfrastructureInfrastructureNetworkConfiguration": { + "dnsIps": "dns_ips", + "infrastructureRoutingDynamics": "infrastructure_routing_dynamic", + "infrastructureRoutingStatics": "infrastructure_routing_static", + "managementNodes": "management_nodes", + "mgmtVipHostname": "mgmt_vip_hostname", + "mgmtVipIp": "mgmt_vip_ip", + "spineIps": "spine_ips", + "spineVip": "spine_vip", + "uplinkDomain": "uplink_domain", + "uplinkGatewayIp": "uplink_gateway_ip", + "uplinkNetmask": "uplink_netmask", + "uplinkPortCount": "uplink_port_count", + "uplinkPortForwardErrorCorrection": "uplink_port_forward_error_correction", + "uplinkPortSpeedInGbps": "uplink_port_speed_in_gbps", + "uplinkVlanMtu": "uplink_vlan_mtu" + }, + "oci:ComputeCloud/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic:AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic": { + "bgpTopology": "bgp_topology", + "oracleAsn": "oracle_asn", + "peerInformations": "peer_information" + }, + "oci:ComputeCloud/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic:AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic": { + "uplinkHsrpGroup": "uplink_hsrp_group", + "uplinkVlan": "uplink_vlan" + }, + "oci:ComputeCloud/AtCustomerCccInfrastructureUpgradeInformation:AtCustomerCccInfrastructureUpgradeInformation": { + "currentVersion": "current_version", + "isActive": "is_active", + "scheduledUpgradeDuration": "scheduled_upgrade_duration", + "timeOfScheduledUpgrade": "time_of_scheduled_upgrade" + }, + "oci:ComputeCloud/AtCustomerCccUpgradeScheduleEvent:AtCustomerCccUpgradeScheduleEvent": { + "scheduleEventDuration": "schedule_event_duration", + "scheduleEventRecurrences": "schedule_event_recurrences", + "timeStart": "time_start" + }, + "oci:ComputeCloud/atCustomerCccInfrastructure:AtCustomerCccInfrastructure": { + "cccUpgradeScheduleId": "ccc_upgrade_schedule_id", + "compartmentId": "compartment_id", + "connectionDetails": "connection_details", + "connectionState": "connection_state", + "definedTags": "defined_tags", + "displayName": "display_name", + "freeformTags": "freeform_tags", + "infrastructureInventories": "infrastructure_inventory", + "infrastructureNetworkConfigurations": "infrastructure_network_configuration", + "lifecycleDetails": "lifecycle_details", + "provisioningFingerprint": "provisioning_fingerprint", + "provisioningPin": "provisioning_pin", + "shortName": "short_name", + "subnetId": "subnet_id", + "systemTags": "system_tags", + "timeCreated": "time_created", + "timeUpdated": "time_updated", + "upgradeInformations": "upgrade_information" + }, + "oci:ComputeCloud/atCustomerCccUpgradeSchedule:AtCustomerCccUpgradeSchedule": { + "compartmentId": "compartment_id", + "definedTags": "defined_tags", + "displayName": "display_name", + "freeformTags": "freeform_tags", + "infrastructureIds": "infrastructure_ids", + "lifecycleDetails": "lifecycle_details", + "systemTags": "system_tags", + "timeCreated": "time_created", + "timeUpdated": "time_updated" + }, + "oci:ComputeCloud/getAtCustomerCccInfrastructure:getAtCustomerCccInfrastructure": { + "cccInfrastructureId": "ccc_infrastructure_id", + "cccUpgradeScheduleId": "ccc_upgrade_schedule_id", + "compartmentId": "compartment_id", + "connectionDetails": "connection_details", + "connectionState": "connection_state", + "definedTags": "defined_tags", + "displayName": "display_name", + "freeformTags": "freeform_tags", + "infrastructureInventories": "infrastructure_inventory", + "infrastructureNetworkConfigurations": "infrastructure_network_configuration", + "lifecycleDetails": "lifecycle_details", + "provisioningFingerprint": "provisioning_fingerprint", + "provisioningPin": "provisioning_pin", + "shortName": "short_name", + "subnetId": "subnet_id", + "systemTags": "system_tags", + "timeCreated": "time_created", + "timeUpdated": "time_updated", + "upgradeInformations": "upgrade_information" + }, + "oci:ComputeCloud/getAtCustomerCccInfrastructureInfrastructureInventory:getAtCustomerCccInfrastructureInfrastructureInventory": { + "capacityStorageTrayCount": "capacity_storage_tray_count", + "computeNodeCount": "compute_node_count", + "managementNodeCount": "management_node_count", + "performanceStorageTrayCount": "performance_storage_tray_count", + "serialNumber": "serial_number" + }, + "oci:ComputeCloud/getAtCustomerCccInfrastructureInfrastructureNetworkConfiguration:getAtCustomerCccInfrastructureInfrastructureNetworkConfiguration": { + "dnsIps": "dns_ips", + "infrastructureRoutingDynamics": "infrastructure_routing_dynamic", + "infrastructureRoutingStatics": "infrastructure_routing_static", + "managementNodes": "management_nodes", + "mgmtVipHostname": "mgmt_vip_hostname", + "mgmtVipIp": "mgmt_vip_ip", + "spineIps": "spine_ips", + "spineVip": "spine_vip", + "uplinkDomain": "uplink_domain", + "uplinkGatewayIp": "uplink_gateway_ip", + "uplinkNetmask": "uplink_netmask", + "uplinkPortCount": "uplink_port_count", + "uplinkPortForwardErrorCorrection": "uplink_port_forward_error_correction", + "uplinkPortSpeedInGbps": "uplink_port_speed_in_gbps", + "uplinkVlanMtu": "uplink_vlan_mtu" + }, + "oci:ComputeCloud/getAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic:getAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic": { + "bgpTopology": "bgp_topology", + "oracleAsn": "oracle_asn", + "peerInformations": "peer_information" + }, + "oci:ComputeCloud/getAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic:getAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic": { + "uplinkHsrpGroup": "uplink_hsrp_group", + "uplinkVlan": "uplink_vlan" + }, + "oci:ComputeCloud/getAtCustomerCccInfrastructureUpgradeInformation:getAtCustomerCccInfrastructureUpgradeInformation": { + "currentVersion": "current_version", + "isActive": "is_active", + "scheduledUpgradeDuration": "scheduled_upgrade_duration", + "timeOfScheduledUpgrade": "time_of_scheduled_upgrade" + }, + "oci:ComputeCloud/getAtCustomerCccInfrastructures:getAtCustomerCccInfrastructures": { + "accessLevel": "access_level", + "cccInfrastructureCollections": "ccc_infrastructure_collection", + "cccInfrastructureId": "ccc_infrastructure_id", + "compartmentId": "compartment_id", + "compartmentIdInSubtree": "compartment_id_in_subtree", + "displayName": "display_name", + "displayNameContains": "display_name_contains", + "filters": "filter" + }, + "oci:ComputeCloud/getAtCustomerCccInfrastructuresCccInfrastructureCollectionItem:getAtCustomerCccInfrastructuresCccInfrastructureCollectionItem": { + "cccUpgradeScheduleId": "ccc_upgrade_schedule_id", + "compartmentId": "compartment_id", + "connectionDetails": "connection_details", + "connectionState": "connection_state", + "definedTags": "defined_tags", + "displayName": "display_name", + "freeformTags": "freeform_tags", + "infrastructureInventories": "infrastructure_inventory", + "infrastructureNetworkConfigurations": "infrastructure_network_configuration", + "lifecycleDetails": "lifecycle_details", + "provisioningFingerprint": "provisioning_fingerprint", + "provisioningPin": "provisioning_pin", + "shortName": "short_name", + "subnetId": "subnet_id", + "systemTags": "system_tags", + "timeCreated": "time_created", + "timeUpdated": "time_updated", + "upgradeInformations": "upgrade_information" + }, + "oci:ComputeCloud/getAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventory:getAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventory": { + "capacityStorageTrayCount": "capacity_storage_tray_count", + "computeNodeCount": "compute_node_count", + "managementNodeCount": "management_node_count", + "performanceStorageTrayCount": "performance_storage_tray_count", + "serialNumber": "serial_number" + }, + "oci:ComputeCloud/getAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfiguration:getAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfiguration": { + "dnsIps": "dns_ips", + "infrastructureRoutingDynamics": "infrastructure_routing_dynamic", + "infrastructureRoutingStatics": "infrastructure_routing_static", + "managementNodes": "management_nodes", + "mgmtVipHostname": "mgmt_vip_hostname", + "mgmtVipIp": "mgmt_vip_ip", + "spineIps": "spine_ips", + "spineVip": "spine_vip", + "uplinkDomain": "uplink_domain", + "uplinkGatewayIp": "uplink_gateway_ip", + "uplinkNetmask": "uplink_netmask", + "uplinkPortCount": "uplink_port_count", + "uplinkPortForwardErrorCorrection": "uplink_port_forward_error_correction", + "uplinkPortSpeedInGbps": "uplink_port_speed_in_gbps", + "uplinkVlanMtu": "uplink_vlan_mtu" + }, + "oci:ComputeCloud/getAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamic:getAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamic": { + "bgpTopology": "bgp_topology", + "oracleAsn": "oracle_asn", + "peerInformations": "peer_information" + }, + "oci:ComputeCloud/getAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStatic:getAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStatic": { + "uplinkHsrpGroup": "uplink_hsrp_group", + "uplinkVlan": "uplink_vlan" + }, + "oci:ComputeCloud/getAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformation:getAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformation": { + "currentVersion": "current_version", + "isActive": "is_active", + "scheduledUpgradeDuration": "scheduled_upgrade_duration", + "timeOfScheduledUpgrade": "time_of_scheduled_upgrade" + }, + "oci:ComputeCloud/getAtCustomerCccUpgradeSchedule:getAtCustomerCccUpgradeSchedule": { + "cccUpgradeScheduleId": "ccc_upgrade_schedule_id", + "compartmentId": "compartment_id", + "definedTags": "defined_tags", + "displayName": "display_name", + "freeformTags": "freeform_tags", + "infrastructureIds": "infrastructure_ids", + "lifecycleDetails": "lifecycle_details", + "systemTags": "system_tags", + "timeCreated": "time_created", + "timeUpdated": "time_updated" + }, + "oci:ComputeCloud/getAtCustomerCccUpgradeScheduleEvent:getAtCustomerCccUpgradeScheduleEvent": { + "scheduleEventDuration": "schedule_event_duration", + "scheduleEventRecurrences": "schedule_event_recurrences", + "timeStart": "time_start" + }, + "oci:ComputeCloud/getAtCustomerCccUpgradeSchedules:getAtCustomerCccUpgradeSchedules": { + "accessLevel": "access_level", + "cccUpgradeScheduleCollections": "ccc_upgrade_schedule_collection", + "cccUpgradeScheduleId": "ccc_upgrade_schedule_id", + "compartmentId": "compartment_id", + "compartmentIdInSubtree": "compartment_id_in_subtree", + "displayName": "display_name", + "displayNameContains": "display_name_contains", + "filters": "filter" + }, + "oci:ComputeCloud/getAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItem:getAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItem": { + "compartmentId": "compartment_id", + "definedTags": "defined_tags", + "displayName": "display_name", + "freeformTags": "freeform_tags", + "infrastructureIds": "infrastructure_ids", + "lifecycleDetails": "lifecycle_details", + "systemTags": "system_tags", + "timeCreated": "time_created", + "timeUpdated": "time_updated" + }, + "oci:ComputeCloud/getAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEvent:getAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEvent": { + "scheduleEventDuration": "schedule_event_duration", + "scheduleEventRecurrences": "schedule_event_recurrences", + "timeStart": "time_start" + }, "oci:ComputeInstanceAgent/getInstanceAgentPlugin:getInstanceAgentPlugin": { "compartmentId": "compartment_id", "instanceagentId": "instanceagent_id", @@ -93923,6 +79696,7 @@ "oci:DataScience/NotebookSessionNotebookSessionConfigDetails:NotebookSessionNotebookSessionConfigDetails": { "blockStorageSizeInGbs": "block_storage_size_in_gbs", "notebookSessionShapeConfigDetails": "notebook_session_shape_config_details", + "privateEndpointId": "private_endpoint_id", "subnetId": "subnet_id" }, "oci:DataScience/NotebookSessionNotebookSessionConfigDetailsNotebookSessionShapeConfigDetails:NotebookSessionNotebookSessionConfigDetailsNotebookSessionShapeConfigDetails": { @@ -93931,6 +79705,7 @@ "oci:DataScience/NotebookSessionNotebookSessionConfigurationDetails:NotebookSessionNotebookSessionConfigurationDetails": { "blockStorageSizeInGbs": "block_storage_size_in_gbs", "notebookSessionShapeConfigDetails": "notebook_session_shape_config_details", + "privateEndpointId": "private_endpoint_id", "subnetId": "subnet_id" }, "oci:DataScience/NotebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetails:NotebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetails": { @@ -94470,6 +80245,7 @@ "oci:DataScience/getNotebookSessionNotebookSessionConfigDetail:getNotebookSessionNotebookSessionConfigDetail": { "blockStorageSizeInGbs": "block_storage_size_in_gbs", "notebookSessionShapeConfigDetails": "notebook_session_shape_config_details", + "privateEndpointId": "private_endpoint_id", "subnetId": "subnet_id" }, "oci:DataScience/getNotebookSessionNotebookSessionConfigDetailNotebookSessionShapeConfigDetail:getNotebookSessionNotebookSessionConfigDetailNotebookSessionShapeConfigDetail": { @@ -94478,6 +80254,7 @@ "oci:DataScience/getNotebookSessionNotebookSessionConfigurationDetail:getNotebookSessionNotebookSessionConfigurationDetail": { "blockStorageSizeInGbs": "block_storage_size_in_gbs", "notebookSessionShapeConfigDetails": "notebook_session_shape_config_details", + "privateEndpointId": "private_endpoint_id", "subnetId": "subnet_id" }, "oci:DataScience/getNotebookSessionNotebookSessionConfigurationDetailNotebookSessionShapeConfigDetail:getNotebookSessionNotebookSessionConfigurationDetailNotebookSessionShapeConfigDetail": { @@ -94525,6 +80302,7 @@ "oci:DataScience/getNotebookSessionsNotebookSessionNotebookSessionConfigDetail:getNotebookSessionsNotebookSessionNotebookSessionConfigDetail": { "blockStorageSizeInGbs": "block_storage_size_in_gbs", "notebookSessionShapeConfigDetails": "notebook_session_shape_config_details", + "privateEndpointId": "private_endpoint_id", "subnetId": "subnet_id" }, "oci:DataScience/getNotebookSessionsNotebookSessionNotebookSessionConfigDetailNotebookSessionShapeConfigDetail:getNotebookSessionsNotebookSessionNotebookSessionConfigDetailNotebookSessionShapeConfigDetail": { @@ -94533,6 +80311,7 @@ "oci:DataScience/getNotebookSessionsNotebookSessionNotebookSessionConfigurationDetail:getNotebookSessionsNotebookSessionNotebookSessionConfigurationDetail": { "blockStorageSizeInGbs": "block_storage_size_in_gbs", "notebookSessionShapeConfigDetails": "notebook_session_shape_config_details", + "privateEndpointId": "private_endpoint_id", "subnetId": "subnet_id" }, "oci:DataScience/getNotebookSessionsNotebookSessionNotebookSessionConfigurationDetailNotebookSessionShapeConfigDetail:getNotebookSessionsNotebookSessionNotebookSessionConfigurationDetailNotebookSessionShapeConfigDetail": { @@ -94814,6 +80593,43 @@ "oci:DataScience/getPipelinesPipelineStepDetailStepInfrastructureConfigurationDetailShapeConfigDetail:getPipelinesPipelineStepDetailStepInfrastructureConfigurationDetailShapeConfigDetail": { "memoryInGbs": "memory_in_gbs" }, + "oci:DataScience/getPrivateEndpoint:getPrivateEndpoint": { + "compartmentId": "compartment_id", + "createdBy": "created_by", + "dataSciencePrivateEndpointId": "data_science_private_endpoint_id", + "dataScienceResourceType": "data_science_resource_type", + "definedTags": "defined_tags", + "displayName": "display_name", + "freeformTags": "freeform_tags", + "lifecycleDetails": "lifecycle_details", + "nsgIds": "nsg_ids", + "subDomain": "sub_domain", + "subnetId": "subnet_id", + "timeCreated": "time_created", + "timeUpdated": "time_updated" + }, + "oci:DataScience/getPrivateEndpoints:getPrivateEndpoints": { + "compartmentId": "compartment_id", + "createdBy": "created_by", + "dataSciencePrivateEndpoints": "data_science_private_endpoints", + "dataScienceResourceType": "data_science_resource_type", + "displayName": "display_name", + "filters": "filter" + }, + "oci:DataScience/getPrivateEndpointsDataSciencePrivateEndpoint:getPrivateEndpointsDataSciencePrivateEndpoint": { + "compartmentId": "compartment_id", + "createdBy": "created_by", + "dataScienceResourceType": "data_science_resource_type", + "definedTags": "defined_tags", + "displayName": "display_name", + "freeformTags": "freeform_tags", + "lifecycleDetails": "lifecycle_details", + "nsgIds": "nsg_ids", + "subDomain": "sub_domain", + "subnetId": "subnet_id", + "timeCreated": "time_created", + "timeUpdated": "time_updated" + }, "oci:DataScience/getProject:getProject": { "compartmentId": "compartment_id", "createdBy": "created_by", @@ -94992,6 +80808,20 @@ "timeStarted": "time_started", "timeUpdated": "time_updated" }, + "oci:DataScience/privateEndpoint:PrivateEndpoint": { + "compartmentId": "compartment_id", + "createdBy": "created_by", + "dataScienceResourceType": "data_science_resource_type", + "definedTags": "defined_tags", + "displayName": "display_name", + "freeformTags": "freeform_tags", + "lifecycleDetails": "lifecycle_details", + "nsgIds": "nsg_ids", + "subDomain": "sub_domain", + "subnetId": "subnet_id", + "timeCreated": "time_created", + "timeUpdated": "time_updated" + }, "oci:DataScience/project:Project": { "compartmentId": "compartment_id", "createdBy": "created_by", @@ -95093,6 +80923,10 @@ "oci:Database/AutonomousDatabaseRemoteDisasterRecoveryConfiguration:AutonomousDatabaseRemoteDisasterRecoveryConfiguration": { "disasterRecoveryType": "disaster_recovery_type" }, + "oci:Database/AutonomousDatabaseResourcePoolSummary:AutonomousDatabaseResourcePoolSummary": { + "isDisabled": "is_disabled", + "poolSize": "pool_size" + }, "oci:Database/AutonomousDatabaseScheduledOperation:AutonomousDatabaseScheduledOperation": { "dayOfWeek": "day_of_week", "scheduledStartTime": "scheduled_start_time", @@ -95798,6 +81632,8 @@ "refreshableStatus": "refreshable_status", "remoteDisasterRecoveryConfigurations": "remote_disaster_recovery_configuration", "remoteDisasterRecoveryType": "remote_disaster_recovery_type", + "resourcePoolLeaderId": "resource_pool_leader_id", + "resourcePoolSummary": "resource_pool_summary", "rotateKeyTrigger": "rotate_key_trigger", "scheduledOperations": "scheduled_operations", "secretId": "secret_id", @@ -95818,6 +81654,7 @@ "timeLocalDataGuardEnabled": "time_local_data_guard_enabled", "timeMaintenanceBegin": "time_maintenance_begin", "timeMaintenanceEnd": "time_maintenance_end", + "timeOfJoiningResourcePool": "time_of_joining_resource_pool", "timeOfLastFailover": "time_of_last_failover", "timeOfLastRefresh": "time_of_last_refresh", "timeOfLastRefreshPoint": "time_of_last_refresh_point", @@ -97040,6 +82877,8 @@ "refreshableStatus": "refreshable_status", "remoteDisasterRecoveryConfigurations": "remote_disaster_recovery_configuration", "remoteDisasterRecoveryType": "remote_disaster_recovery_type", + "resourcePoolLeaderId": "resource_pool_leader_id", + "resourcePoolSummaries": "resource_pool_summary", "rotateKeyTrigger": "rotate_key_trigger", "scheduledOperations": "scheduled_operations", "secretId": "secret_id", @@ -97060,6 +82899,7 @@ "timeLocalDataGuardEnabled": "time_local_data_guard_enabled", "timeMaintenanceBegin": "time_maintenance_begin", "timeMaintenanceEnd": "time_maintenance_end", + "timeOfJoiningResourcePool": "time_of_joining_resource_pool", "timeOfLastFailover": "time_of_last_failover", "timeOfLastRefresh": "time_of_last_refresh", "timeOfLastRefreshPoint": "time_of_last_refresh_point", @@ -97230,6 +83070,10 @@ "oci:Database/getAutonomousDatabaseRemoteDisasterRecoveryConfiguration:getAutonomousDatabaseRemoteDisasterRecoveryConfiguration": { "disasterRecoveryType": "disaster_recovery_type" }, + "oci:Database/getAutonomousDatabaseResourcePoolSummary:getAutonomousDatabaseResourcePoolSummary": { + "isDisabled": "is_disabled", + "poolSize": "pool_size" + }, "oci:Database/getAutonomousDatabaseScheduledOperation:getAutonomousDatabaseScheduledOperation": { "dayOfWeeks": "day_of_week", "scheduledStartTime": "scheduled_start_time", @@ -97257,7 +83101,9 @@ "infrastructureType": "infrastructure_type", "isDataGuardEnabled": "is_data_guard_enabled", "isFreeTier": "is_free_tier", - "isRefreshableClone": "is_refreshable_clone" + "isRefreshableClone": "is_refreshable_clone", + "isResourcePoolLeader": "is_resource_pool_leader", + "resourcePoolLeaderId": "resource_pool_leader_id" }, "oci:Database/getAutonomousDatabasesAutonomousDatabase:getAutonomousDatabasesAutonomousDatabase": { "actualUsedDataStorageSizeInTbs": "actual_used_data_storage_size_in_tbs", @@ -97342,6 +83188,8 @@ "refreshableStatus": "refreshable_status", "remoteDisasterRecoveryConfigurations": "remote_disaster_recovery_configuration", "remoteDisasterRecoveryType": "remote_disaster_recovery_type", + "resourcePoolLeaderId": "resource_pool_leader_id", + "resourcePoolSummaries": "resource_pool_summary", "rotateKeyTrigger": "rotate_key_trigger", "scheduledOperations": "scheduled_operations", "secretId": "secret_id", @@ -97362,6 +83210,7 @@ "timeLocalDataGuardEnabled": "time_local_data_guard_enabled", "timeMaintenanceBegin": "time_maintenance_begin", "timeMaintenanceEnd": "time_maintenance_end", + "timeOfJoiningResourcePool": "time_of_joining_resource_pool", "timeOfLastFailover": "time_of_last_failover", "timeOfLastRefresh": "time_of_last_refresh", "timeOfLastRefreshPoint": "time_of_last_refresh_point", @@ -97421,6 +83270,10 @@ "oci:Database/getAutonomousDatabasesAutonomousDatabaseRemoteDisasterRecoveryConfiguration:getAutonomousDatabasesAutonomousDatabaseRemoteDisasterRecoveryConfiguration": { "disasterRecoveryType": "disaster_recovery_type" }, + "oci:Database/getAutonomousDatabasesAutonomousDatabaseResourcePoolSummary:getAutonomousDatabasesAutonomousDatabaseResourcePoolSummary": { + "isDisabled": "is_disabled", + "poolSize": "pool_size" + }, "oci:Database/getAutonomousDatabasesAutonomousDatabaseScheduledOperation:getAutonomousDatabasesAutonomousDatabaseScheduledOperation": { "dayOfWeeks": "day_of_week", "scheduledStartTime": "scheduled_start_time", @@ -97514,6 +83367,8 @@ "refreshableMode": "refreshable_mode", "refreshableStatus": "refreshable_status", "remoteDisasterRecoveryConfigurations": "remote_disaster_recovery_configuration", + "resourcePoolLeaderId": "resource_pool_leader_id", + "resourcePoolSummaries": "resource_pool_summary", "scheduledOperations": "scheduled_operations", "serviceConsoleUrl": "service_console_url", "sourceId": "source_id", @@ -97529,6 +83384,7 @@ "timeLocalDataGuardEnabled": "time_local_data_guard_enabled", "timeMaintenanceBegin": "time_maintenance_begin", "timeMaintenanceEnd": "time_maintenance_end", + "timeOfJoiningResourcePool": "time_of_joining_resource_pool", "timeOfLastFailover": "time_of_last_failover", "timeOfLastRefresh": "time_of_last_refresh", "timeOfLastRefreshPoint": "time_of_last_refresh_point", @@ -97587,6 +83443,10 @@ "oci:Database/getAutonomousDatabasesClonesAutonomousDatabaseRemoteDisasterRecoveryConfiguration:getAutonomousDatabasesClonesAutonomousDatabaseRemoteDisasterRecoveryConfiguration": { "disasterRecoveryType": "disaster_recovery_type" }, + "oci:Database/getAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummary:getAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummary": { + "isDisabled": "is_disabled", + "poolSize": "pool_size" + }, "oci:Database/getAutonomousDatabasesClonesAutonomousDatabaseScheduledOperation:getAutonomousDatabasesClonesAutonomousDatabaseScheduledOperation": { "dayOfWeeks": "day_of_week", "scheduledStartTime": "scheduled_start_time", @@ -103277,6 +89137,11 @@ "oci:DatabaseMigration/MigrationDataTransferMediumDetailsDatabaseLinkDetails:MigrationDataTransferMediumDetailsDatabaseLinkDetails": { "walletBucket": "wallet_bucket" }, + "oci:DatabaseMigration/MigrationDataTransferMediumDetailsV2:MigrationDataTransferMediumDetailsV2": { + "accessKeyId": "access_key_id", + "objectStorageBucket": "object_storage_bucket", + "secretAccessKey": "secret_access_key" + }, "oci:DatabaseMigration/MigrationDatapumpSettings:MigrationDatapumpSettings": { "dataPumpParameters": "data_pump_parameters", "exportDirectoryObject": "export_directory_object", @@ -103295,6 +89160,9 @@ "newValue": "new_value", "oldValue": "old_value" }, + "oci:DatabaseMigration/MigrationDumpTransferDetails:MigrationDumpTransferDetails": { + "sharedStorageMountTargetId": "shared_storage_mount_target_id" + }, "oci:DatabaseMigration/MigrationDumpTransferDetailsSource:MigrationDumpTransferDetailsSource": { "ociHome": "oci_home", "walletLocation": "wallet_location" @@ -103542,6 +89410,7 @@ "credentialsSecretId": "credentials_secret_id", "csvText": "csv_text", "dataTransferMediumDetails": "data_transfer_medium_details", + "dataTransferMediumDetailsV2s": "data_transfer_medium_details_v2", "datapumpSettings": "datapump_settings", "definedTags": "defined_tags", "displayName": "display_name", @@ -103575,6 +89444,11 @@ "oci:DatabaseMigration/getMigrationDataTransferMediumDetailDatabaseLinkDetail:getMigrationDataTransferMediumDetailDatabaseLinkDetail": { "walletBuckets": "wallet_bucket" }, + "oci:DatabaseMigration/getMigrationDataTransferMediumDetailsV2:getMigrationDataTransferMediumDetailsV2": { + "accessKeyId": "access_key_id", + "objectStorageBuckets": "object_storage_bucket", + "secretAccessKey": "secret_access_key" + }, "oci:DatabaseMigration/getMigrationDatapumpSetting:getMigrationDatapumpSetting": { "dataPumpParameters": "data_pump_parameters", "exportDirectoryObjects": "export_directory_object", @@ -103594,6 +89468,7 @@ "oldValue": "old_value" }, "oci:DatabaseMigration/getMigrationDumpTransferDetail:getMigrationDumpTransferDetail": { + "sharedStorageMountTargetId": "shared_storage_mount_target_id", "sources": "source", "targets": "target" }, @@ -103685,6 +89560,7 @@ "credentialsSecretId": "credentials_secret_id", "csvText": "csv_text", "dataTransferMediumDetails": "data_transfer_medium_details", + "dataTransferMediumDetailsV2s": "data_transfer_medium_details_v2", "datapumpSettings": "datapump_settings", "definedTags": "defined_tags", "displayName": "display_name", @@ -103717,6 +89593,11 @@ "oci:DatabaseMigration/getMigrationsMigrationCollectionItemDataTransferMediumDetailDatabaseLinkDetail:getMigrationsMigrationCollectionItemDataTransferMediumDetailDatabaseLinkDetail": { "walletBuckets": "wallet_bucket" }, + "oci:DatabaseMigration/getMigrationsMigrationCollectionItemDataTransferMediumDetailsV2:getMigrationsMigrationCollectionItemDataTransferMediumDetailsV2": { + "accessKeyId": "access_key_id", + "objectStorageBuckets": "object_storage_bucket", + "secretAccessKey": "secret_access_key" + }, "oci:DatabaseMigration/getMigrationsMigrationCollectionItemDatapumpSetting:getMigrationsMigrationCollectionItemDatapumpSetting": { "dataPumpParameters": "data_pump_parameters", "exportDirectoryObjects": "export_directory_object", @@ -103736,6 +89617,7 @@ "oldValue": "old_value" }, "oci:DatabaseMigration/getMigrationsMigrationCollectionItemDumpTransferDetail:getMigrationsMigrationCollectionItemDumpTransferDetail": { + "sharedStorageMountTargetId": "shared_storage_mount_target_id", "sources": "source", "targets": "target" }, @@ -103829,6 +89711,7 @@ "credentialsSecretId": "credentials_secret_id", "csvText": "csv_text", "dataTransferMediumDetails": "data_transfer_medium_details", + "dataTransferMediumDetailsV2": "data_transfer_medium_details_v2", "datapumpSettings": "datapump_settings", "definedTags": "defined_tags", "displayName": "display_name", @@ -116023,6 +101906,13 @@ "oci:Kms/GeneratedKeyKeyShape:GeneratedKeyKeyShape": { "curveId": "curve_id" }, + "oci:Kms/KeyExternalKeyReference:KeyExternalKeyReference": { + "externalKeyId": "external_key_id" + }, + "oci:Kms/KeyExternalKeyReferenceDetail:KeyExternalKeyReferenceDetail": { + "externalKeyId": "external_key_id", + "externalKeyVersionId": "external_key_version_id" + }, "oci:Kms/KeyKeyShape:KeyKeyShape": { "curveId": "curve_id" }, @@ -116034,9 +101924,32 @@ "contentMd5": "content_md5", "restoreKeyFromFileDetails": "restore_key_from_file_details" }, + "oci:Kms/KeyVersionExternalKeyReferenceDetail:KeyVersionExternalKeyReferenceDetail": { + "externalKeyId": "external_key_id", + "externalKeyVersionId": "external_key_version_id" + }, "oci:Kms/KeyVersionReplicaDetail:KeyVersionReplicaDetail": { "replicationId": "replication_id" }, + "oci:Kms/VaultExternalKeyManagerMetadata:VaultExternalKeyManagerMetadata": { + "externalVaultEndpointUrl": "external_vault_endpoint_url", + "oauthMetadata": "oauth_metadata", + "privateEndpointId": "private_endpoint_id" + }, + "oci:Kms/VaultExternalKeyManagerMetadataOauthMetadata:VaultExternalKeyManagerMetadataOauthMetadata": { + "clientAppId": "client_app_id", + "clientAppSecret": "client_app_secret", + "idcsAccountNameUrl": "idcs_account_name_url" + }, + "oci:Kms/VaultExternalKeyManagerMetadataSummary:VaultExternalKeyManagerMetadataSummary": { + "externalVaultEndpointUrl": "external_vault_endpoint_url", + "oauthMetadataSummaries": "oauth_metadata_summary", + "privateEndpointId": "private_endpoint_id" + }, + "oci:Kms/VaultExternalKeyManagerMetadataSummaryOauthMetadataSummary:VaultExternalKeyManagerMetadataSummaryOauthMetadataSummary": { + "clientAppId": "client_app_id", + "idcsAccountNameUrl": "idcs_account_name_url" + }, "oci:Kms/VaultReplicaDetail:VaultReplicaDetail": { "replicationId": "replication_id" }, @@ -116045,6 +101958,19 @@ "contentMd5": "content_md5", "restoreVaultFromFileDetails": "restore_vault_from_file_details" }, + "oci:Kms/ekmsPrivateEndpoint:EkmsPrivateEndpoint": { + "caBundle": "ca_bundle", + "compartmentId": "compartment_id", + "definedTags": "defined_tags", + "displayName": "display_name", + "externalKeyManagerIp": "external_key_manager_ip", + "freeformTags": "freeform_tags", + "lifecycleDetails": "lifecycle_details", + "privateEndpointIp": "private_endpoint_ip", + "subnetId": "subnet_id", + "timeCreated": "time_created", + "timeUpdated": "time_updated" + }, "oci:Kms/encryptedData:EncryptedData": { "associatedData": "associated_data", "cryptoEndpoint": "crypto_endpoint", @@ -116068,6 +101994,38 @@ "keyId": "key_id", "plaintextChecksum": "plaintext_checksum" }, + "oci:Kms/getEkmsPrivateEndpoint:getEkmsPrivateEndpoint": { + "caBundle": "ca_bundle", + "compartmentId": "compartment_id", + "definedTags": "defined_tags", + "displayName": "display_name", + "ekmsPrivateEndpointId": "ekms_private_endpoint_id", + "externalKeyManagerIp": "external_key_manager_ip", + "freeformTags": "freeform_tags", + "lifecycleDetails": "lifecycle_details", + "privateEndpointIp": "private_endpoint_ip", + "subnetId": "subnet_id", + "timeCreated": "time_created", + "timeUpdated": "time_updated" + }, + "oci:Kms/getEkmsPrivateEndpoints:getEkmsPrivateEndpoints": { + "compartmentId": "compartment_id", + "ekmsPrivateEndpoints": "ekms_private_endpoints", + "filters": "filter" + }, + "oci:Kms/getEkmsPrivateEndpointsEkmsPrivateEndpoint:getEkmsPrivateEndpointsEkmsPrivateEndpoint": { + "caBundle": "ca_bundle", + "compartmentId": "compartment_id", + "definedTags": "defined_tags", + "displayName": "display_name", + "externalKeyManagerIp": "external_key_manager_ip", + "freeformTags": "freeform_tags", + "lifecycleDetails": "lifecycle_details", + "privateEndpointIp": "private_endpoint_ip", + "subnetId": "subnet_id", + "timeCreated": "time_created", + "timeUpdated": "time_updated" + }, "oci:Kms/getEncryptedData:getEncryptedData": { "associatedData": "associated_data", "cryptoEndpoint": "crypto_endpoint", @@ -116079,6 +102037,8 @@ "definedTags": "defined_tags", "desiredState": "desired_state", "displayName": "display_name", + "externalKeyReferenceDetails": "external_key_reference_details", + "externalKeyReferences": "external_key_reference", "freeformTags": "freeform_tags", "isPrimary": "is_primary", "keyId": "key_id", @@ -116094,6 +102054,13 @@ "timeOfDeletion": "time_of_deletion", "vaultId": "vault_id" }, + "oci:Kms/getKeyExternalKeyReference:getKeyExternalKeyReference": { + "externalKeyId": "external_key_id" + }, + "oci:Kms/getKeyExternalKeyReferenceDetail:getKeyExternalKeyReferenceDetail": { + "externalKeyId": "external_key_id", + "externalKeyVersionId": "external_key_version_id" + }, "oci:Kms/getKeyKeyShape:getKeyKeyShape": { "curveId": "curve_id" }, @@ -116107,6 +102074,8 @@ }, "oci:Kms/getKeyVersion:getKeyVersion": { "compartmentId": "compartment_id", + "externalKeyReferenceDetails": "external_key_reference_details", + "externalKeyVersionId": "external_key_version_id", "isPrimary": "is_primary", "keyId": "key_id", "keyVersionId": "key_version_id", @@ -116119,6 +102088,10 @@ "timeOfDeletion": "time_of_deletion", "vaultId": "vault_id" }, + "oci:Kms/getKeyVersionExternalKeyReferenceDetail:getKeyVersionExternalKeyReferenceDetail": { + "externalKeyId": "external_key_id", + "externalKeyVersionId": "external_key_version_id" + }, "oci:Kms/getKeyVersionReplicaDetail:getKeyVersionReplicaDetail": { "replicationId": "replication_id" }, @@ -116130,6 +102103,8 @@ }, "oci:Kms/getKeyVersionsKeyVersion:getKeyVersionsKeyVersion": { "compartmentId": "compartment_id", + "externalKeyReferenceDetails": "external_key_reference_details", + "externalKeyVersionId": "external_key_version_id", "isPrimary": "is_primary", "keyId": "key_id", "keyVersionId": "key_version_id", @@ -116142,6 +102117,10 @@ "timeOfDeletion": "time_of_deletion", "vaultId": "vault_id" }, + "oci:Kms/getKeyVersionsKeyVersionExternalKeyReferenceDetail:getKeyVersionsKeyVersionExternalKeyReferenceDetail": { + "externalKeyId": "external_key_id", + "externalKeyVersionId": "external_key_version_id" + }, "oci:Kms/getKeyVersionsKeyVersionReplicaDetail:getKeyVersionsKeyVersionReplicaDetail": { "replicationId": "replication_id" }, @@ -116158,6 +102137,8 @@ "definedTags": "defined_tags", "desiredState": "desired_state", "displayName": "display_name", + "externalKeyReferenceDetails": "external_key_reference_details", + "externalKeyReferences": "external_key_reference", "freeformTags": "freeform_tags", "isPrimary": "is_primary", "keyShapes": "key_shape", @@ -116172,6 +102153,13 @@ "timeOfDeletion": "time_of_deletion", "vaultId": "vault_id" }, + "oci:Kms/getKeysKeyExternalKeyReference:getKeysKeyExternalKeyReference": { + "externalKeyId": "external_key_id" + }, + "oci:Kms/getKeysKeyExternalKeyReferenceDetail:getKeysKeyExternalKeyReferenceDetail": { + "externalKeyId": "external_key_id", + "externalKeyVersionId": "external_key_version_id" + }, "oci:Kms/getKeysKeyKeyShape:getKeysKeyKeyShape": { "curveId": "curve_id" }, @@ -116193,6 +102181,8 @@ "cryptoEndpoint": "crypto_endpoint", "definedTags": "defined_tags", "displayName": "display_name", + "externalKeyManagerMetadataSummaries": "external_key_manager_metadata_summary", + "externalKeyManagerMetadatas": "external_key_manager_metadata", "freeformTags": "freeform_tags", "isPrimary": "is_primary", "managementEndpoint": "management_endpoint", @@ -116206,6 +102196,25 @@ "vaultId": "vault_id", "vaultType": "vault_type" }, + "oci:Kms/getVaultExternalKeyManagerMetadata:getVaultExternalKeyManagerMetadata": { + "externalVaultEndpointUrl": "external_vault_endpoint_url", + "oauthMetadatas": "oauth_metadata", + "privateEndpointId": "private_endpoint_id" + }, + "oci:Kms/getVaultExternalKeyManagerMetadataOauthMetadata:getVaultExternalKeyManagerMetadataOauthMetadata": { + "clientAppId": "client_app_id", + "clientAppSecret": "client_app_secret", + "idcsAccountNameUrl": "idcs_account_name_url" + }, + "oci:Kms/getVaultExternalKeyManagerMetadataSummary:getVaultExternalKeyManagerMetadataSummary": { + "externalVaultEndpointUrl": "external_vault_endpoint_url", + "oauthMetadataSummaries": "oauth_metadata_summary", + "privateEndpointId": "private_endpoint_id" + }, + "oci:Kms/getVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary:getVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary": { + "clientAppId": "client_app_id", + "idcsAccountNameUrl": "idcs_account_name_url" + }, "oci:Kms/getVaultReplicaDetail:getVaultReplicaDetail": { "replicationId": "replication_id" }, @@ -116239,6 +102248,8 @@ "cryptoEndpoint": "crypto_endpoint", "definedTags": "defined_tags", "displayName": "display_name", + "externalKeyManagerMetadataSummaries": "external_key_manager_metadata_summary", + "externalKeyManagerMetadatas": "external_key_manager_metadata", "freeformTags": "freeform_tags", "isPrimary": "is_primary", "managementEndpoint": "management_endpoint", @@ -116251,6 +102262,25 @@ "timeOfDeletion": "time_of_deletion", "vaultType": "vault_type" }, + "oci:Kms/getVaultsVaultExternalKeyManagerMetadata:getVaultsVaultExternalKeyManagerMetadata": { + "externalVaultEndpointUrl": "external_vault_endpoint_url", + "oauthMetadatas": "oauth_metadata", + "privateEndpointId": "private_endpoint_id" + }, + "oci:Kms/getVaultsVaultExternalKeyManagerMetadataOauthMetadata:getVaultsVaultExternalKeyManagerMetadataOauthMetadata": { + "clientAppId": "client_app_id", + "clientAppSecret": "client_app_secret", + "idcsAccountNameUrl": "idcs_account_name_url" + }, + "oci:Kms/getVaultsVaultExternalKeyManagerMetadataSummary:getVaultsVaultExternalKeyManagerMetadataSummary": { + "externalVaultEndpointUrl": "external_vault_endpoint_url", + "oauthMetadataSummaries": "oauth_metadata_summary", + "privateEndpointId": "private_endpoint_id" + }, + "oci:Kms/getVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary:getVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary": { + "clientAppId": "client_app_id", + "idcsAccountNameUrl": "idcs_account_name_url" + }, "oci:Kms/getVaultsVaultReplicaDetail:getVaultsVaultReplicaDetail": { "replicationId": "replication_id" }, @@ -116265,6 +102295,8 @@ "definedTags": "defined_tags", "desiredState": "desired_state", "displayName": "display_name", + "externalKeyReference": "external_key_reference", + "externalKeyReferenceDetails": "external_key_reference_details", "freeformTags": "freeform_tags", "isPrimary": "is_primary", "keyShape": "key_shape", @@ -116281,6 +102313,8 @@ }, "oci:Kms/keyVersion:KeyVersion": { "compartmentId": "compartment_id", + "externalKeyReferenceDetails": "external_key_reference_details", + "externalKeyVersionId": "external_key_version_id", "isPrimary": "is_primary", "keyId": "key_id", "keyVersionId": "key_version_id", @@ -116305,6 +102339,8 @@ "cryptoEndpoint": "crypto_endpoint", "definedTags": "defined_tags", "displayName": "display_name", + "externalKeyManagerMetadata": "external_key_manager_metadata", + "externalKeyManagerMetadataSummaries": "external_key_manager_metadata_summary", "freeformTags": "freeform_tags", "isPrimary": "is_primary", "managementEndpoint": "management_endpoint", @@ -119531,6 +105567,11 @@ "sourceType": "source_type", "sourceUrl": "source_url" }, + "oci:Mysql/ReplicaReplicaOverrides:ReplicaReplicaOverrides": { + "configurationId": "configuration_id", + "mysqlVersion": "mysql_version", + "shapeName": "shape_name" + }, "oci:Mysql/channel:Channel": { "compartmentId": "compartment_id", "definedTags": "defined_tags", @@ -120216,6 +106257,7 @@ "oci:Mysql/getReplica:getReplica": { "availabilityDomain": "availability_domain", "compartmentId": "compartment_id", + "configurationId": "configuration_id", "dbSystemId": "db_system_id", "definedTags": "defined_tags", "displayName": "display_name", @@ -120227,19 +106269,29 @@ "mysqlVersion": "mysql_version", "portX": "port_x", "replicaId": "replica_id", + "replicaOverrides": "replica_overrides", + "shapeName": "shape_name", "timeCreated": "time_created", "timeUpdated": "time_updated" }, + "oci:Mysql/getReplicaReplicaOverride:getReplicaReplicaOverride": { + "configurationId": "configuration_id", + "mysqlVersion": "mysql_version", + "shapeName": "shape_name" + }, "oci:Mysql/getReplicas:getReplicas": { "compartmentId": "compartment_id", + "configurationId": "configuration_id", "dbSystemId": "db_system_id", "displayName": "display_name", "filters": "filter", + "isUpToDate": "is_up_to_date", "replicaId": "replica_id" }, "oci:Mysql/getReplicasReplica:getReplicasReplica": { "availabilityDomain": "availability_domain", "compartmentId": "compartment_id", + "configurationId": "configuration_id", "dbSystemId": "db_system_id", "definedTags": "defined_tags", "displayName": "display_name", @@ -120250,9 +106302,16 @@ "lifecycleDetails": "lifecycle_details", "mysqlVersion": "mysql_version", "portX": "port_x", + "replicaOverrides": "replica_overrides", + "shapeName": "shape_name", "timeCreated": "time_created", "timeUpdated": "time_updated" }, + "oci:Mysql/getReplicasReplicaReplicaOverride:getReplicasReplicaReplicaOverride": { + "configurationId": "configuration_id", + "mysqlVersion": "mysql_version", + "shapeName": "shape_name" + }, "oci:Mysql/getShapes:getShapes": { "availabilityDomain": "availability_domain", "compartmentId": "compartment_id", @@ -120336,6 +106395,7 @@ "oci:Mysql/replica:Replica": { "availabilityDomain": "availability_domain", "compartmentId": "compartment_id", + "configurationId": "configuration_id", "dbSystemId": "db_system_id", "definedTags": "defined_tags", "displayName": "display_name", @@ -120346,6 +106406,8 @@ "lifecycleDetails": "lifecycle_details", "mysqlVersion": "mysql_version", "portX": "port_x", + "replicaOverrides": "replica_overrides", + "shapeName": "shape_name", "timeCreated": "time_created", "timeUpdated": "time_updated" }, @@ -126052,6 +112114,7 @@ "unitOfMeasure": "unit_of_measure" }, "oci:Queue/getQueue:getQueue": { + "channelConsumptionLimit": "channel_consumption_limit", "compartmentId": "compartment_id", "customEncryptionKeyId": "custom_encryption_key_id", "deadLetterQueueDeliveryCount": "dead_letter_queue_delivery_count", @@ -126077,6 +112140,7 @@ "queueCollections": "queue_collection" }, "oci:Queue/getQueuesQueueCollectionItem:getQueuesQueueCollectionItem": { + "channelConsumptionLimit": "channel_consumption_limit", "compartmentId": "compartment_id", "customEncryptionKeyId": "custom_encryption_key_id", "deadLetterQueueDeliveryCount": "dead_letter_queue_delivery_count", @@ -126095,6 +112159,7 @@ "visibilityInSeconds": "visibility_in_seconds" }, "oci:Queue/queue:Queue": { + "channelConsumptionLimit": "channel_consumption_limit", "compartmentId": "compartment_id", "customEncryptionKeyId": "custom_encryption_key_id", "deadLetterQueueDeliveryCount": "dead_letter_queue_delivery_count", diff --git a/provider/cmd/pulumi-resource-oci/schema.json b/provider/cmd/pulumi-resource-oci/schema.json index a048874e23..41eae28d77 100644 --- a/provider/cmd/pulumi-resource-oci/schema.json +++ b/provider/cmd/pulumi-resource-oci/schema.json @@ -3108,7 +3108,6 @@ "properties": { "modelId": { "type": "string", - "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of active custom Key Value model that need to be composed.\n", "willReplaceOnChanges": true } }, @@ -28038,7 +28037,6 @@ }, "displayName": { "type": "string", - "description": "A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.\n", "willReplaceOnChanges": true }, "executionSchedule": { @@ -28179,7 +28177,6 @@ }, "displayName": { "type": "string", - "description": "A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.\n", "willReplaceOnChanges": true }, "id": { @@ -56864,6 +56861,1223 @@ } } }, + "oci:ComputeCloud/AtCustomerCccInfrastructureInfrastructureInventory:AtCustomerCccInfrastructureInfrastructureInventory": { + "properties": { + "capacityStorageTrayCount": { + "type": "integer", + "description": "The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for capacity storage.\n" + }, + "computeNodeCount": { + "type": "integer", + "description": "The number of compute nodes that are available and usable on the Compute Cloud@Customer infrastructure rack. There is no distinction of compute node type in this information.\n" + }, + "managementNodeCount": { + "type": "integer", + "description": "The number of management nodes that are available and in active use on the Compute Cloud@Customer infrastructure rack.\n" + }, + "performanceStorageTrayCount": { + "type": "integer", + "description": "The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for performance storage.\n" + }, + "serialNumber": { + "type": "string", + "description": "The serial number of the Compute Cloud@Customer infrastructure rack.\n" + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "capacityStorageTrayCount", + "computeNodeCount", + "managementNodeCount", + "performanceStorageTrayCount", + "serialNumber" + ] + } + } + }, + "oci:ComputeCloud/AtCustomerCccInfrastructureInfrastructureNetworkConfiguration:AtCustomerCccInfrastructureInfrastructureNetworkConfiguration": { + "properties": { + "dnsIps": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The domain name system (DNS) addresses that the Compute Cloud@Customer infrastructure uses for the data center network.\n" + }, + "infrastructureRoutingDynamics": { + "type": "array", + "items": { + "$ref": "#/types/oci:ComputeCloud/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic:AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic" + }, + "description": "Dynamic routing information for the Compute Cloud@Customer infrastructure.\n" + }, + "infrastructureRoutingStatics": { + "type": "array", + "items": { + "$ref": "#/types/oci:ComputeCloud/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic:AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic" + }, + "description": "Static routing information for a rack.\n" + }, + "managementNodes": { + "type": "array", + "items": { + "$ref": "#/types/oci:ComputeCloud/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode:AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode" + }, + "description": "Information about the management nodes that are provisioned in the Compute Cloud@Customer infrastructure.\n" + }, + "mgmtVipHostname": { + "type": "string", + "description": "The hostname corresponding to the virtual IP (VIP) address of the management nodes.\n" + }, + "mgmtVipIp": { + "type": "string", + "description": "The IP address used as the virtual IP (VIP) address of the management nodes.\n" + }, + "spineIps": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Addresses of the network spine switches.\n" + }, + "spineVip": { + "type": "string", + "description": "The spine switch public virtual IP (VIP). Traffic routed to the Compute Cloud@Customer infrastructure and and virtual cloud networks (VCNs) should have this address as next hop.\n" + }, + "uplinkDomain": { + "type": "string", + "description": "Domain name to be used as the base domain for the internal network and by public facing services.\n" + }, + "uplinkGatewayIp": { + "type": "string", + "description": "Uplink gateway in the datacenter network that the Compute Cloud@Customer connects to.\n" + }, + "uplinkNetmask": { + "type": "string", + "description": "Netmask of the subnet that the Compute Cloud@Customer infrastructure is connected to.\n" + }, + "uplinkPortCount": { + "type": "integer", + "description": "Number of uplink ports per spine switch. Connectivity is identical on both spine switches. For example, if input is two 100 gigabyte ports; then port-1 and port-2 on both spines will be configured.\n" + }, + "uplinkPortForwardErrorCorrection": { + "type": "string", + "description": "The port forward error correction (FEC) setting for the uplink port on the Compute Cloud@Customer infrastructure.\n" + }, + "uplinkPortSpeedInGbps": { + "type": "integer", + "description": "Uplink port speed defined in gigabytes per second. All uplink ports must have identical speed.\n" + }, + "uplinkVlanMtu": { + "type": "integer", + "description": "The virtual local area network (VLAN) maximum transmission unit (MTU) size for the uplink ports.\n" + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "dnsIps", + "infrastructureRoutingDynamics", + "infrastructureRoutingStatics", + "managementNodes", + "mgmtVipHostname", + "mgmtVipIp", + "spineIps", + "spineVip", + "uplinkDomain", + "uplinkGatewayIp", + "uplinkNetmask", + "uplinkPortCount", + "uplinkPortForwardErrorCorrection", + "uplinkPortSpeedInGbps", + "uplinkVlanMtu" + ] + } + } + }, + "oci:ComputeCloud/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic:AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic": { + "properties": { + "bgpTopology": { + "type": "string", + "description": "The topology in use for the Border Gateway Protocol (BGP) configuration.\n" + }, + "oracleAsn": { + "type": "integer", + "description": "The Oracle Autonomous System Number (ASN) to control routing and exchange information within the dynamic routing configuration.\n" + }, + "peerInformations": { + "type": "array", + "items": { + "$ref": "#/types/oci:ComputeCloud/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation:AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation" + }, + "description": "The list of peer devices in the dynamic routing configuration.\n" + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "bgpTopology", + "oracleAsn", + "peerInformations" + ] + } + } + }, + "oci:ComputeCloud/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation:AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation": { + "properties": { + "asn": { + "type": "integer", + "description": "The Autonomous System Number (ASN) of the peer network.\n" + }, + "ip": { + "type": "string", + "description": "Address of the management node.\n" + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "asn", + "ip" + ] + } + } + }, + "oci:ComputeCloud/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic:AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic": { + "properties": { + "uplinkHsrpGroup": { + "type": "integer", + "description": "The uplink Hot Standby Router Protocol (HSRP) group value for the switch in the Compute Cloud@Customer infrastructure.\n" + }, + "uplinkVlan": { + "type": "integer", + "description": "The virtual local area network (VLAN) identifier used to connect to the uplink (only access mode is supported).\n" + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "uplinkHsrpGroup", + "uplinkVlan" + ] + } + } + }, + "oci:ComputeCloud/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode:AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode": { + "properties": { + "hostname": { + "type": "string", + "description": "Hostname for interface to the management node.\n" + }, + "ip": { + "type": "string", + "description": "Address of the management node.\n" + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "hostname", + "ip" + ] + } + } + }, + "oci:ComputeCloud/AtCustomerCccInfrastructureUpgradeInformation:AtCustomerCccInfrastructureUpgradeInformation": { + "properties": { + "currentVersion": { + "type": "string", + "description": "The current version of software installed on the Compute Cloud@Customer infrastructure.\n" + }, + "isActive": { + "type": "boolean", + "description": "Indication that the Compute Cloud@Customer infrastructure is in the process of an upgrade or an upgrade activity (such as preloading upgrade images).\n" + }, + "scheduledUpgradeDuration": { + "type": "string", + "description": "Expected duration of Compute Cloud@Customer infrastructure scheduled upgrade. The actual upgrade time might be longer or shorter than this duration depending on rack activity, this is only an estimate.\n" + }, + "timeOfScheduledUpgrade": { + "type": "string", + "description": "Compute Cloud@Customer infrastructure next upgrade time. The rack might have performance impacts during this time.\n" + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "currentVersion", + "isActive", + "scheduledUpgradeDuration", + "timeOfScheduledUpgrade" + ] + } + } + }, + "oci:ComputeCloud/AtCustomerCccUpgradeScheduleEvent:AtCustomerCccUpgradeScheduleEvent": { + "properties": { + "description": { + "type": "string", + "description": "(Updatable) A description of the Compute Cloud@Customer upgrade schedule time block.\n" + }, + "name": { + "type": "string", + "description": "Generated name associated with the event.\n" + }, + "scheduleEventDuration": { + "type": "string", + "description": "(Updatable) The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations.\n" + }, + "scheduleEventRecurrences": { + "type": "string", + "description": "(Updatable) Frequency of recurrence of schedule block. When this field is not included, the event is assumed to be a one time occurrence. The frequency field is strictly parsed and must conform to RFC-5545 formatting for recurrences.\n" + }, + "timeStart": { + "type": "string", + "description": "(Updatable) The date and time when the Compute Cloud@Customer upgrade schedule event starts, inclusive. An RFC3339 formatted UTC datetime string. For an event with recurrences, this is the date that a recurrence can start being applied.\n" + } + }, + "type": "object", + "required": [ + "description", + "scheduleEventDuration", + "timeStart" + ], + "language": { + "nodejs": { + "requiredOutputs": [ + "description", + "name", + "scheduleEventDuration", + "scheduleEventRecurrences", + "timeStart" + ] + } + } + }, + "oci:ComputeCloud/getAtCustomerCccInfrastructureInfrastructureInventory:getAtCustomerCccInfrastructureInfrastructureInventory": { + "properties": { + "capacityStorageTrayCount": { + "type": "integer", + "description": "The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for capacity storage.\n" + }, + "computeNodeCount": { + "type": "integer", + "description": "The number of compute nodes that are available and usable on the Compute Cloud@Customer infrastructure rack. There is no distinction of compute node type in this information.\n" + }, + "managementNodeCount": { + "type": "integer", + "description": "The number of management nodes that are available and in active use on the Compute Cloud@Customer infrastructure rack.\n" + }, + "performanceStorageTrayCount": { + "type": "integer", + "description": "The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for performance storage.\n" + }, + "serialNumber": { + "type": "string", + "description": "The serial number of the Compute Cloud@Customer infrastructure rack.\n" + } + }, + "type": "object", + "required": [ + "capacityStorageTrayCount", + "computeNodeCount", + "managementNodeCount", + "performanceStorageTrayCount", + "serialNumber" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:ComputeCloud/getAtCustomerCccInfrastructureInfrastructureNetworkConfiguration:getAtCustomerCccInfrastructureInfrastructureNetworkConfiguration": { + "properties": { + "dnsIps": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The domain name system (DNS) addresses that the Compute Cloud@Customer infrastructure uses for the data center network.\n" + }, + "infrastructureRoutingDynamics": { + "type": "array", + "items": { + "$ref": "#/types/oci:ComputeCloud/getAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic:getAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic" + }, + "description": "Dynamic routing information for the Compute Cloud@Customer infrastructure.\n" + }, + "infrastructureRoutingStatics": { + "type": "array", + "items": { + "$ref": "#/types/oci:ComputeCloud/getAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic:getAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic" + }, + "description": "Static routing information for a rack.\n" + }, + "managementNodes": { + "type": "array", + "items": { + "$ref": "#/types/oci:ComputeCloud/getAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode:getAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode" + }, + "description": "Information about the management nodes that are provisioned in the Compute Cloud@Customer infrastructure.\n" + }, + "mgmtVipHostname": { + "type": "string", + "description": "The hostname corresponding to the virtual IP (VIP) address of the management nodes.\n" + }, + "mgmtVipIp": { + "type": "string", + "description": "The IP address used as the virtual IP (VIP) address of the management nodes.\n" + }, + "spineIps": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Addresses of the network spine switches.\n" + }, + "spineVip": { + "type": "string", + "description": "The spine switch public virtual IP (VIP). Traffic routed to the Compute Cloud@Customer infrastructure and and virtual cloud networks (VCNs) should have this address as next hop.\n" + }, + "uplinkDomain": { + "type": "string", + "description": "Domain name to be used as the base domain for the internal network and by public facing services.\n" + }, + "uplinkGatewayIp": { + "type": "string", + "description": "Uplink gateway in the datacenter network that the Compute Cloud@Customer connects to.\n" + }, + "uplinkNetmask": { + "type": "string", + "description": "Netmask of the subnet that the Compute Cloud@Customer infrastructure is connected to.\n" + }, + "uplinkPortCount": { + "type": "integer", + "description": "Number of uplink ports per spine switch. Connectivity is identical on both spine switches. For example, if input is two 100 gigabyte ports; then port-1 and port-2 on both spines will be configured.\n" + }, + "uplinkPortForwardErrorCorrection": { + "type": "string", + "description": "The port forward error correction (FEC) setting for the uplink port on the Compute Cloud@Customer infrastructure.\n" + }, + "uplinkPortSpeedInGbps": { + "type": "integer", + "description": "Uplink port speed defined in gigabytes per second. All uplink ports must have identical speed.\n" + }, + "uplinkVlanMtu": { + "type": "integer", + "description": "The virtual local area network (VLAN) maximum transmission unit (MTU) size for the uplink ports.\n" + } + }, + "type": "object", + "required": [ + "dnsIps", + "infrastructureRoutingDynamics", + "infrastructureRoutingStatics", + "managementNodes", + "mgmtVipHostname", + "mgmtVipIp", + "spineIps", + "spineVip", + "uplinkDomain", + "uplinkGatewayIp", + "uplinkNetmask", + "uplinkPortCount", + "uplinkPortForwardErrorCorrection", + "uplinkPortSpeedInGbps", + "uplinkVlanMtu" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:ComputeCloud/getAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic:getAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic": { + "properties": { + "bgpTopology": { + "type": "string", + "description": "The topology in use for the Border Gateway Protocol (BGP) configuration.\n" + }, + "oracleAsn": { + "type": "integer", + "description": "The Oracle Autonomous System Number (ASN) to control routing and exchange information within the dynamic routing configuration.\n" + }, + "peerInformations": { + "type": "array", + "items": { + "$ref": "#/types/oci:ComputeCloud/getAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation:getAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation" + }, + "description": "The list of peer devices in the dynamic routing configuration.\n" + } + }, + "type": "object", + "required": [ + "bgpTopology", + "oracleAsn", + "peerInformations" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:ComputeCloud/getAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation:getAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation": { + "properties": { + "asn": { + "type": "integer", + "description": "The Autonomous System Number (ASN) of the peer network.\n" + }, + "ip": { + "type": "string", + "description": "Address of the management node.\n" + } + }, + "type": "object", + "required": [ + "asn", + "ip" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:ComputeCloud/getAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic:getAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic": { + "properties": { + "uplinkHsrpGroup": { + "type": "integer", + "description": "The uplink Hot Standby Router Protocol (HSRP) group value for the switch in the Compute Cloud@Customer infrastructure.\n" + }, + "uplinkVlan": { + "type": "integer", + "description": "The virtual local area network (VLAN) identifier used to connect to the uplink (only access mode is supported).\n" + } + }, + "type": "object", + "required": [ + "uplinkHsrpGroup", + "uplinkVlan" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:ComputeCloud/getAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode:getAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode": { + "properties": { + "hostname": { + "type": "string", + "description": "Hostname for interface to the management node.\n" + }, + "ip": { + "type": "string", + "description": "Address of the management node.\n" + } + }, + "type": "object", + "required": [ + "hostname", + "ip" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:ComputeCloud/getAtCustomerCccInfrastructureUpgradeInformation:getAtCustomerCccInfrastructureUpgradeInformation": { + "properties": { + "currentVersion": { + "type": "string", + "description": "The current version of software installed on the Compute Cloud@Customer infrastructure.\n" + }, + "isActive": { + "type": "boolean", + "description": "Indication that the Compute Cloud@Customer infrastructure is in the process of an upgrade or an upgrade activity (such as preloading upgrade images).\n" + }, + "scheduledUpgradeDuration": { + "type": "string", + "description": "Expected duration of Compute Cloud@Customer infrastructure scheduled upgrade. The actual upgrade time might be longer or shorter than this duration depending on rack activity, this is only an estimate.\n" + }, + "timeOfScheduledUpgrade": { + "type": "string", + "description": "Compute Cloud@Customer infrastructure next upgrade time. The rack might have performance impacts during this time.\n" + } + }, + "type": "object", + "required": [ + "currentVersion", + "isActive", + "scheduledUpgradeDuration", + "timeOfScheduledUpgrade" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:ComputeCloud/getAtCustomerCccInfrastructuresCccInfrastructureCollection:getAtCustomerCccInfrastructuresCccInfrastructureCollection": { + "properties": { + "items": { + "type": "array", + "items": { + "$ref": "#/types/oci:ComputeCloud/getAtCustomerCccInfrastructuresCccInfrastructureCollectionItem:getAtCustomerCccInfrastructuresCccInfrastructureCollectionItem" + } + } + }, + "type": "object", + "required": [ + "items" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:ComputeCloud/getAtCustomerCccInfrastructuresCccInfrastructureCollectionItem:getAtCustomerCccInfrastructuresCccInfrastructureCollectionItem": { + "properties": { + "cccUpgradeScheduleId": { + "type": "string", + "description": "Schedule used for upgrades. If no schedule is associated with the infrastructure, it can be updated at any time.\n" + }, + "compartmentId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.\n" + }, + "connectionDetails": { + "type": "string", + "description": "A message describing the current connection state in more detail.\n" + }, + "connectionState": { + "type": "string", + "description": "The current connection state of the infrastructure. A user can only update it from REQUEST to READY or from any state back to REJECT. The system automatically handles the REJECT to REQUEST, READY to CONNECTED, or CONNECTED to DISCONNECTED transitions.\n" + }, + "definedTags": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"foo-namespace.bar-key\": \"value\"}`\n" + }, + "description": { + "type": "string", + "description": "A mutable client-meaningful text description of the Compute Cloud@Customer infrastructure. Avoid entering confidential information.\n" + }, + "displayName": { + "type": "string", + "description": "A filter to return only resources that match the entire display name given.\n" + }, + "freeformTags": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{\"bar-key\": \"value\"}`\n" + }, + "id": { + "type": "string", + "description": "The Compute Cloud@Customer infrastructure [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). This cannot be changed once created.\n" + }, + "infrastructureInventories": { + "type": "array", + "items": { + "$ref": "#/types/oci:ComputeCloud/getAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventory:getAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventory" + }, + "description": "Inventory for a Compute Cloud@Customer infrastructure. This information cannot be updated and is from the infrastructure. The information will only be available after the connectionState is transitioned to CONNECTED.\n" + }, + "infrastructureNetworkConfigurations": { + "type": "array", + "items": { + "$ref": "#/types/oci:ComputeCloud/getAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfiguration:getAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfiguration" + }, + "description": "Configuration information for the Compute Cloud@Customer infrastructure. This network configuration information cannot be updated and is retrieved from the data center. The information will only be available after the connectionState is transitioned to CONNECTED.\n" + }, + "lifecycleDetails": { + "type": "string", + "description": "A message describing the current lifecycle state in more detail. For example, this can be used to provide actionable information for a resource that is in a Failed state.\n" + }, + "provisioningFingerprint": { + "type": "string", + "description": "Fingerprint of a Compute Cloud@Customer infrastructure in a data center generated during the initial connection to this resource. The fingerprint should be verified by the administrator when changing the connectionState from REQUEST to READY.\n" + }, + "provisioningPin": { + "type": "string", + "description": "Code that is required for service personnel to connect a Compute Cloud@Customer infrastructure in a data center to this resource. This code will only be available when the connectionState is REJECT (usually at create time of the Compute Cloud@Customer infrastructure).\n" + }, + "shortName": { + "type": "string", + "description": "The Compute Cloud@Customer infrastructure short name. This cannot be changed once created. The short name is used to refer to the infrastructure in several contexts and is unique.\n" + }, + "state": { + "type": "string", + "description": "A filter used to return only resources that match the given lifecycleState.\n" + }, + "subnetId": { + "type": "string", + "description": "[OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the network subnet that is used to communicate with Compute Cloud@Customer infrastructure.\n" + }, + "systemTags": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"orcl-cloud.free-tier-retained\": \"true\"}`\n" + }, + "timeCreated": { + "type": "string", + "description": "Compute Cloud@Customer infrastructure creation date and time, using an RFC3339 formatted datetime string.\n" + }, + "timeUpdated": { + "type": "string", + "description": "Compute Cloud@Customer infrastructure updated date and time, using an RFC3339 formatted datetime string.\n" + }, + "upgradeInformations": { + "type": "array", + "items": { + "$ref": "#/types/oci:ComputeCloud/getAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformation:getAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformation" + }, + "description": "Upgrade information that relates to a Compute Cloud@Customer infrastructure. This information cannot be updated.\n" + } + }, + "type": "object", + "required": [ + "cccUpgradeScheduleId", + "compartmentId", + "connectionDetails", + "connectionState", + "definedTags", + "description", + "displayName", + "freeformTags", + "id", + "infrastructureInventories", + "infrastructureNetworkConfigurations", + "lifecycleDetails", + "provisioningFingerprint", + "provisioningPin", + "shortName", + "state", + "subnetId", + "systemTags", + "timeCreated", + "timeUpdated", + "upgradeInformations" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:ComputeCloud/getAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventory:getAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventory": { + "properties": { + "capacityStorageTrayCount": { + "type": "integer", + "description": "The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for capacity storage.\n" + }, + "computeNodeCount": { + "type": "integer", + "description": "The number of compute nodes that are available and usable on the Compute Cloud@Customer infrastructure rack. There is no distinction of compute node type in this information.\n" + }, + "managementNodeCount": { + "type": "integer", + "description": "The number of management nodes that are available and in active use on the Compute Cloud@Customer infrastructure rack.\n" + }, + "performanceStorageTrayCount": { + "type": "integer", + "description": "The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for performance storage.\n" + }, + "serialNumber": { + "type": "string", + "description": "The serial number of the Compute Cloud@Customer infrastructure rack.\n" + } + }, + "type": "object", + "required": [ + "capacityStorageTrayCount", + "computeNodeCount", + "managementNodeCount", + "performanceStorageTrayCount", + "serialNumber" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:ComputeCloud/getAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfiguration:getAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfiguration": { + "properties": { + "dnsIps": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The domain name system (DNS) addresses that the Compute Cloud@Customer infrastructure uses for the data center network.\n" + }, + "infrastructureRoutingDynamics": { + "type": "array", + "items": { + "$ref": "#/types/oci:ComputeCloud/getAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamic:getAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamic" + }, + "description": "Dynamic routing information for the Compute Cloud@Customer infrastructure.\n" + }, + "infrastructureRoutingStatics": { + "type": "array", + "items": { + "$ref": "#/types/oci:ComputeCloud/getAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStatic:getAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStatic" + }, + "description": "Static routing information for a rack.\n" + }, + "managementNodes": { + "type": "array", + "items": { + "$ref": "#/types/oci:ComputeCloud/getAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNode:getAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNode" + }, + "description": "Information about the management nodes that are provisioned in the Compute Cloud@Customer infrastructure.\n" + }, + "mgmtVipHostname": { + "type": "string", + "description": "The hostname corresponding to the virtual IP (VIP) address of the management nodes.\n" + }, + "mgmtVipIp": { + "type": "string", + "description": "The IP address used as the virtual IP (VIP) address of the management nodes.\n" + }, + "spineIps": { + "type": "array", + "items": { + "type": "string" + }, + "description": "Addresses of the network spine switches.\n" + }, + "spineVip": { + "type": "string", + "description": "The spine switch public virtual IP (VIP). Traffic routed to the Compute Cloud@Customer infrastructure and and virtual cloud networks (VCNs) should have this address as next hop.\n" + }, + "uplinkDomain": { + "type": "string", + "description": "Domain name to be used as the base domain for the internal network and by public facing services.\n" + }, + "uplinkGatewayIp": { + "type": "string", + "description": "Uplink gateway in the datacenter network that the Compute Cloud@Customer connects to.\n" + }, + "uplinkNetmask": { + "type": "string", + "description": "Netmask of the subnet that the Compute Cloud@Customer infrastructure is connected to.\n" + }, + "uplinkPortCount": { + "type": "integer", + "description": "Number of uplink ports per spine switch. Connectivity is identical on both spine switches. For example, if input is two 100 gigabyte ports; then port-1 and port-2 on both spines will be configured.\n" + }, + "uplinkPortForwardErrorCorrection": { + "type": "string", + "description": "The port forward error correction (FEC) setting for the uplink port on the Compute Cloud@Customer infrastructure.\n" + }, + "uplinkPortSpeedInGbps": { + "type": "integer", + "description": "Uplink port speed defined in gigabytes per second. All uplink ports must have identical speed.\n" + }, + "uplinkVlanMtu": { + "type": "integer", + "description": "The virtual local area network (VLAN) maximum transmission unit (MTU) size for the uplink ports.\n" + } + }, + "type": "object", + "required": [ + "dnsIps", + "infrastructureRoutingDynamics", + "infrastructureRoutingStatics", + "managementNodes", + "mgmtVipHostname", + "mgmtVipIp", + "spineIps", + "spineVip", + "uplinkDomain", + "uplinkGatewayIp", + "uplinkNetmask", + "uplinkPortCount", + "uplinkPortForwardErrorCorrection", + "uplinkPortSpeedInGbps", + "uplinkVlanMtu" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:ComputeCloud/getAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamic:getAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamic": { + "properties": { + "bgpTopology": { + "type": "string", + "description": "The topology in use for the Border Gateway Protocol (BGP) configuration.\n" + }, + "oracleAsn": { + "type": "integer", + "description": "The Oracle Autonomous System Number (ASN) to control routing and exchange information within the dynamic routing configuration.\n" + }, + "peerInformations": { + "type": "array", + "items": { + "$ref": "#/types/oci:ComputeCloud/getAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation:getAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation" + }, + "description": "The list of peer devices in the dynamic routing configuration.\n" + } + }, + "type": "object", + "required": [ + "bgpTopology", + "oracleAsn", + "peerInformations" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:ComputeCloud/getAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation:getAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation": { + "properties": { + "asn": { + "type": "integer", + "description": "The Autonomous System Number (ASN) of the peer network.\n" + }, + "ip": { + "type": "string", + "description": "Address of the management node.\n" + } + }, + "type": "object", + "required": [ + "asn", + "ip" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:ComputeCloud/getAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStatic:getAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStatic": { + "properties": { + "uplinkHsrpGroup": { + "type": "integer", + "description": "The uplink Hot Standby Router Protocol (HSRP) group value for the switch in the Compute Cloud@Customer infrastructure.\n" + }, + "uplinkVlan": { + "type": "integer", + "description": "The virtual local area network (VLAN) identifier used to connect to the uplink (only access mode is supported).\n" + } + }, + "type": "object", + "required": [ + "uplinkHsrpGroup", + "uplinkVlan" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:ComputeCloud/getAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNode:getAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNode": { + "properties": { + "hostname": { + "type": "string", + "description": "Hostname for interface to the management node.\n" + }, + "ip": { + "type": "string", + "description": "Address of the management node.\n" + } + }, + "type": "object", + "required": [ + "hostname", + "ip" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:ComputeCloud/getAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformation:getAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformation": { + "properties": { + "currentVersion": { + "type": "string", + "description": "The current version of software installed on the Compute Cloud@Customer infrastructure.\n" + }, + "isActive": { + "type": "boolean", + "description": "Indication that the Compute Cloud@Customer infrastructure is in the process of an upgrade or an upgrade activity (such as preloading upgrade images).\n" + }, + "scheduledUpgradeDuration": { + "type": "string", + "description": "Expected duration of Compute Cloud@Customer infrastructure scheduled upgrade. The actual upgrade time might be longer or shorter than this duration depending on rack activity, this is only an estimate.\n" + }, + "timeOfScheduledUpgrade": { + "type": "string", + "description": "Compute Cloud@Customer infrastructure next upgrade time. The rack might have performance impacts during this time.\n" + } + }, + "type": "object", + "required": [ + "currentVersion", + "isActive", + "scheduledUpgradeDuration", + "timeOfScheduledUpgrade" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:ComputeCloud/getAtCustomerCccInfrastructuresFilter:getAtCustomerCccInfrastructuresFilter": { + "properties": { + "name": { + "type": "string" + }, + "regex": { + "type": "boolean" + }, + "values": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object", + "required": [ + "name", + "values" + ] + }, + "oci:ComputeCloud/getAtCustomerCccUpgradeScheduleEvent:getAtCustomerCccUpgradeScheduleEvent": { + "properties": { + "description": { + "type": "string", + "description": "A description of the Compute Cloud@Customer upgrade schedule time block.\n" + }, + "name": { + "type": "string", + "description": "Generated name associated with the event.\n" + }, + "scheduleEventDuration": { + "type": "string", + "description": "The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations.\n" + }, + "scheduleEventRecurrences": { + "type": "string", + "description": "Frequency of recurrence of schedule block. When this field is not included, the event is assumed to be a one time occurrence. The frequency field is strictly parsed and must conform to RFC-5545 formatting for recurrences.\n" + }, + "timeStart": { + "type": "string", + "description": "The date and time when the Compute Cloud@Customer upgrade schedule event starts, inclusive. An RFC3339 formatted UTC datetime string. For an event with recurrences, this is the date that a recurrence can start being applied.\n" + } + }, + "type": "object", + "required": [ + "description", + "name", + "scheduleEventDuration", + "scheduleEventRecurrences", + "timeStart" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:ComputeCloud/getAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollection:getAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollection": { + "properties": { + "items": { + "type": "array", + "items": { + "$ref": "#/types/oci:ComputeCloud/getAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItem:getAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItem" + } + } + }, + "type": "object", + "required": [ + "items" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:ComputeCloud/getAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItem:getAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItem": { + "properties": { + "compartmentId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.\n" + }, + "definedTags": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"foo-namespace.bar-key\": \"value\"}`\n" + }, + "description": { + "type": "string", + "description": "A description of the Compute Cloud@Customer upgrade schedule time block.\n" + }, + "displayName": { + "type": "string", + "description": "A filter to return only resources that match the entire display name given.\n" + }, + "events": { + "type": "array", + "items": { + "$ref": "#/types/oci:ComputeCloud/getAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEvent:getAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEvent" + }, + "description": "List of preferred times for Compute Cloud@Customer infrastructures associated with this schedule to be upgraded.\n" + }, + "freeformTags": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{\"bar-key\": \"value\"}`\n" + }, + "id": { + "type": "string", + "description": "Upgrade schedule [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). This cannot be changed once created.\n" + }, + "infrastructureIds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of Compute Cloud@Customer infrastructure [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that are using this upgrade schedule.\n" + }, + "lifecycleDetails": { + "type": "string", + "description": "A message describing the current state in more detail. For example, the message can be used to provide actionable information for a resource in a Failed state.\n" + }, + "state": { + "type": "string", + "description": "A filter to return resources only when their lifecycleState matches the given lifecycleState.\n" + }, + "systemTags": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"orcl-cloud.free-tier-retained\": \"true\"}`\n" + }, + "timeCreated": { + "type": "string", + "description": "The time the upgrade schedule was created, using an RFC3339 formatted datetime string.\n" + }, + "timeUpdated": { + "type": "string", + "description": "The time the upgrade schedule was updated, using an RFC3339 formatted datetime string.\n" + } + }, + "type": "object", + "required": [ + "compartmentId", + "definedTags", + "description", + "displayName", + "events", + "freeformTags", + "id", + "infrastructureIds", + "lifecycleDetails", + "state", + "systemTags", + "timeCreated", + "timeUpdated" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:ComputeCloud/getAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEvent:getAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEvent": { + "properties": { + "description": { + "type": "string", + "description": "A description of the Compute Cloud@Customer upgrade schedule time block.\n" + }, + "name": { + "type": "string", + "description": "Generated name associated with the event.\n" + }, + "scheduleEventDuration": { + "type": "string", + "description": "The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations.\n" + }, + "scheduleEventRecurrences": { + "type": "string", + "description": "Frequency of recurrence of schedule block. When this field is not included, the event is assumed to be a one time occurrence. The frequency field is strictly parsed and must conform to RFC-5545 formatting for recurrences.\n" + }, + "timeStart": { + "type": "string", + "description": "The date and time when the Compute Cloud@Customer upgrade schedule event starts, inclusive. An RFC3339 formatted UTC datetime string. For an event with recurrences, this is the date that a recurrence can start being applied.\n" + } + }, + "type": "object", + "required": [ + "description", + "name", + "scheduleEventDuration", + "scheduleEventRecurrences", + "timeStart" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:ComputeCloud/getAtCustomerCccUpgradeSchedulesFilter:getAtCustomerCccUpgradeSchedulesFilter": { + "properties": { + "name": { + "type": "string", + "description": "Generated name associated with the event.\n" + }, + "regex": { + "type": "boolean" + }, + "values": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object", + "required": [ + "name", + "values" + ] + }, "oci:ComputeInstanceAgent/getInstanceAgentPluginsFilter:getInstanceAgentPluginsFilter": { "properties": { "name": { @@ -108800,7 +110014,7 @@ "properties": { "bandwidthMbps": { "type": "integer", - "description": "(Updatable) The network bandwidth for the model.\n" + "description": "(Updatable) The minimum network bandwidth for the model deployment.\n" }, "instanceConfiguration": { "$ref": "#/types/oci:DataScience/ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsInstanceConfiguration:ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsInstanceConfiguration", @@ -108905,6 +110119,11 @@ "description": "(Updatable) Details for the notebook session shape configuration.\n", "willReplaceOnChanges": true }, + "privateEndpointId": { + "type": "string", + "description": "(Updatable) The OCID of a Data Science private endpoint.\n", + "willReplaceOnChanges": true + }, "shape": { "type": "string", "description": "(Updatable) The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint.\n", @@ -108925,6 +110144,7 @@ "requiredOutputs": [ "blockStorageSizeInGbs", "notebookSessionShapeConfigDetails", + "privateEndpointId", "shape", "subnetId" ] @@ -108964,6 +110184,10 @@ "$ref": "#/types/oci:DataScience/NotebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetails:NotebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetails", "description": "(Updatable) Details for the notebook session shape configuration.\n" }, + "privateEndpointId": { + "type": "string", + "description": "(Updatable) The OCID of a Data Science private endpoint.\n" + }, "shape": { "type": "string", "description": "(Updatable) The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint.\n" @@ -108983,6 +110207,7 @@ "requiredOutputs": [ "blockStorageSizeInGbs", "notebookSessionShapeConfigDetails", + "privateEndpointId", "shape", "subnetId" ] @@ -110812,7 +112037,7 @@ "properties": { "bandwidthMbps": { "type": "integer", - "description": "The network bandwidth for the model.\n" + "description": "The minimum network bandwidth for the model deployment.\n" }, "instanceConfigurations": { "type": "array", @@ -111254,7 +112479,7 @@ "properties": { "bandwidthMbps": { "type": "integer", - "description": "The network bandwidth for the model.\n" + "description": "The minimum network bandwidth for the model deployment.\n" }, "instanceConfigurations": { "type": "array", @@ -111668,6 +112893,10 @@ }, "description": "Details for the notebook session shape configuration.\n" }, + "privateEndpointId": { + "type": "string", + "description": "The OCID of a Data Science private endpoint.\n" + }, "shape": { "type": "string", "description": "The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint.\n" @@ -111681,6 +112910,7 @@ "required": [ "blockStorageSizeInGbs", "notebookSessionShapeConfigDetails", + "privateEndpointId", "shape", "subnetId" ], @@ -111725,6 +112955,10 @@ }, "description": "Details for the notebook session shape configuration.\n" }, + "privateEndpointId": { + "type": "string", + "description": "The OCID of a Data Science private endpoint.\n" + }, "shape": { "type": "string", "description": "The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint.\n" @@ -111738,6 +112972,7 @@ "required": [ "blockStorageSizeInGbs", "notebookSessionShapeConfigDetails", + "privateEndpointId", "shape", "subnetId" ], @@ -112019,6 +113254,10 @@ }, "description": "Details for the notebook session shape configuration.\n" }, + "privateEndpointId": { + "type": "string", + "description": "The OCID of a Data Science private endpoint.\n" + }, "shape": { "type": "string", "description": "The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint.\n" @@ -112032,6 +113271,7 @@ "required": [ "blockStorageSizeInGbs", "notebookSessionShapeConfigDetails", + "privateEndpointId", "shape", "subnetId" ], @@ -112076,6 +113316,10 @@ }, "description": "Details for the notebook session shape configuration.\n" }, + "privateEndpointId": { + "type": "string", + "description": "The OCID of a Data Science private endpoint.\n" + }, "shape": { "type": "string", "description": "The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint.\n" @@ -112089,6 +113333,7 @@ "required": [ "blockStorageSizeInGbs", "notebookSessionShapeConfigDetails", + "privateEndpointId", "shape", "subnetId" ], @@ -113053,7 +114298,456 @@ } } }, - "oci:DataScience/getPipelineStepDetailStepInfrastructureConfigurationDetail:getPipelineStepDetailStepInfrastructureConfigurationDetail": { + "oci:DataScience/getPipelineStepDetailStepInfrastructureConfigurationDetail:getPipelineStepDetailStepInfrastructureConfigurationDetail": { + "properties": { + "blockStorageSizeInGbs": { + "type": "integer", + "description": "The size of the block storage volume to attach to the instance.\n" + }, + "shapeConfigDetails": { + "type": "array", + "items": { + "$ref": "#/types/oci:DataScience/getPipelineStepDetailStepInfrastructureConfigurationDetailShapeConfigDetail:getPipelineStepDetailStepInfrastructureConfigurationDetailShapeConfigDetail" + }, + "description": "Details for the pipeline step run shape configuration. Specify only when a flex shape is selected.\n" + }, + "shapeName": { + "type": "string", + "description": "The shape used to launch the instance for all step runs in the pipeline.\n" + } + }, + "type": "object", + "required": [ + "blockStorageSizeInGbs", + "shapeConfigDetails", + "shapeName" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:DataScience/getPipelineStepDetailStepInfrastructureConfigurationDetailShapeConfigDetail:getPipelineStepDetailStepInfrastructureConfigurationDetailShapeConfigDetail": { + "properties": { + "memoryInGbs": { + "type": "number", + "description": "A pipeline step run instance of type VM.Standard.E3.Flex allows memory to be specified. This specifies the size of the memory in GBs.\n" + }, + "ocpus": { + "type": "number", + "description": "A pipeline step run instance of type VM.Standard.E3.Flex allows the ocpu count to be specified.\n" + } + }, + "type": "object", + "required": [ + "memoryInGbs", + "ocpus" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:DataScience/getPipelinesFilter:getPipelinesFilter": { + "properties": { + "name": { + "type": "string" + }, + "regex": { + "type": "boolean" + }, + "values": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object", + "required": [ + "name", + "values" + ] + }, + "oci:DataScience/getPipelinesPipeline:getPipelinesPipeline": { + "properties": { + "compartmentId": { + "type": "string", + "description": "\u003cb\u003eFilter\u003c/b\u003e results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.\n" + }, + "configurationDetails": { + "type": "array", + "items": { + "$ref": "#/types/oci:DataScience/getPipelinesPipelineConfigurationDetail:getPipelinesPipelineConfigurationDetail" + }, + "description": "The configuration details of a pipeline.\n" + }, + "createdBy": { + "type": "string", + "description": "\u003cb\u003eFilter\u003c/b\u003e results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the resource.\n" + }, + "definedTags": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{\"Operations.CostCenter\": \"42\"}`\n" + }, + "deleteRelatedPipelineRuns": { + "type": "boolean" + }, + "description": { + "type": "string", + "description": "A short description of the step.\n" + }, + "displayName": { + "type": "string", + "description": "\u003cb\u003eFilter\u003c/b\u003e results by its user-friendly name.\n" + }, + "freeformTags": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{\"Department\": \"Finance\"}`\n" + }, + "id": { + "type": "string", + "description": "\u003cb\u003eFilter\u003c/b\u003e results by [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Must be an OCID of the correct type for the resource type.\n" + }, + "infrastructureConfigurationDetails": { + "type": "array", + "items": { + "$ref": "#/types/oci:DataScience/getPipelinesPipelineInfrastructureConfigurationDetail:getPipelinesPipelineInfrastructureConfigurationDetail" + }, + "description": "The infrastructure configuration details of a pipeline or a step.\n" + }, + "lifecycleDetails": { + "type": "string", + "description": "A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state.\n" + }, + "logConfigurationDetails": { + "type": "array", + "items": { + "$ref": "#/types/oci:DataScience/getPipelinesPipelineLogConfigurationDetail:getPipelinesPipelineLogConfigurationDetail" + }, + "description": "The pipeline log configuration details.\n" + }, + "projectId": { + "type": "string", + "description": "\u003cb\u003eFilter\u003c/b\u003e results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project.\n" + }, + "state": { + "type": "string", + "description": "The current state of the Pipeline.\n" + }, + "stepArtifacts": { + "type": "array", + "items": { + "$ref": "#/types/oci:DataScience/getPipelinesPipelineStepArtifact:getPipelinesPipelineStepArtifact" + } + }, + "stepDetails": { + "type": "array", + "items": { + "$ref": "#/types/oci:DataScience/getPipelinesPipelineStepDetail:getPipelinesPipelineStepDetail" + }, + "description": "Array of step details for each step.\n" + }, + "systemTags": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{\"orcl-cloud.free-tier-retained\": \"true\"}`\n" + }, + "timeCreated": { + "type": "string", + "description": "The date and time the resource was created in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: 2020-08-06T21:10:29.41Z\n" + }, + "timeUpdated": { + "type": "string", + "description": "The date and time the resource was updated in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: 2020-08-06T21:10:29.41Z\n" + } + }, + "type": "object", + "required": [ + "compartmentId", + "configurationDetails", + "createdBy", + "definedTags", + "deleteRelatedPipelineRuns", + "description", + "displayName", + "freeformTags", + "id", + "infrastructureConfigurationDetails", + "lifecycleDetails", + "logConfigurationDetails", + "projectId", + "state", + "stepArtifacts", + "stepDetails", + "systemTags", + "timeCreated", + "timeUpdated" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:DataScience/getPipelinesPipelineConfigurationDetail:getPipelinesPipelineConfigurationDetail": { + "properties": { + "commandLineArguments": { + "type": "string", + "description": "The command line arguments to set for step.\n" + }, + "environmentVariables": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "Environment variables to set for step.\n" + }, + "maximumRuntimeInMinutes": { + "type": "string", + "description": "A time bound for the execution of the step.\n" + }, + "type": { + "type": "string", + "description": "The type of pipeline.\n" + } + }, + "type": "object", + "required": [ + "commandLineArguments", + "environmentVariables", + "maximumRuntimeInMinutes", + "type" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:DataScience/getPipelinesPipelineInfrastructureConfigurationDetail:getPipelinesPipelineInfrastructureConfigurationDetail": { + "properties": { + "blockStorageSizeInGbs": { + "type": "integer", + "description": "The size of the block storage volume to attach to the instance.\n" + }, + "shapeConfigDetails": { + "type": "array", + "items": { + "$ref": "#/types/oci:DataScience/getPipelinesPipelineInfrastructureConfigurationDetailShapeConfigDetail:getPipelinesPipelineInfrastructureConfigurationDetailShapeConfigDetail" + }, + "description": "Details for the pipeline step run shape configuration. Specify only when a flex shape is selected.\n" + }, + "shapeName": { + "type": "string", + "description": "The shape used to launch the instance for all step runs in the pipeline.\n" + } + }, + "type": "object", + "required": [ + "blockStorageSizeInGbs", + "shapeConfigDetails", + "shapeName" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:DataScience/getPipelinesPipelineInfrastructureConfigurationDetailShapeConfigDetail:getPipelinesPipelineInfrastructureConfigurationDetailShapeConfigDetail": { + "properties": { + "memoryInGbs": { + "type": "number", + "description": "A pipeline step run instance of type VM.Standard.E3.Flex allows memory to be specified. This specifies the size of the memory in GBs.\n" + }, + "ocpus": { + "type": "number", + "description": "A pipeline step run instance of type VM.Standard.E3.Flex allows the ocpu count to be specified.\n" + } + }, + "type": "object", + "required": [ + "memoryInGbs", + "ocpus" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:DataScience/getPipelinesPipelineLogConfigurationDetail:getPipelinesPipelineLogConfigurationDetail": { + "properties": { + "enableAutoLogCreation": { + "type": "boolean", + "description": "If automatic on-behalf-of log object creation is enabled for pipeline runs.\n" + }, + "enableLogging": { + "type": "boolean", + "description": "If customer logging is enabled for pipeline.\n" + }, + "logGroupId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log group.\n" + }, + "logId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log.\n" + } + }, + "type": "object", + "required": [ + "enableAutoLogCreation", + "enableLogging", + "logGroupId", + "logId" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:DataScience/getPipelinesPipelineStepArtifact:getPipelinesPipelineStepArtifact": { + "properties": { + "artifactContentDisposition": { + "type": "string" + }, + "artifactContentLength": { + "type": "string" + }, + "artifactContentMd5": { + "type": "string" + }, + "artifactLastModified": { + "type": "string" + }, + "pipelineStepArtifact": { + "type": "string" + }, + "stepName": { + "type": "string", + "description": "The name of the step. It must be unique within the pipeline. This is used to create the pipeline DAG.\n" + } + }, + "type": "object", + "required": [ + "artifactContentDisposition", + "artifactContentLength", + "artifactContentMd5", + "artifactLastModified", + "pipelineStepArtifact", + "stepName" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:DataScience/getPipelinesPipelineStepDetail:getPipelinesPipelineStepDetail": { + "properties": { + "dependsOns": { + "type": "array", + "items": { + "type": "string" + }, + "description": "The list of step names this current step depends on for execution.\n" + }, + "description": { + "type": "string", + "description": "A short description of the step.\n" + }, + "isArtifactUploaded": { + "type": "boolean", + "description": "A flag to indicate whether the artifact has been uploaded for this step or not.\n" + }, + "jobId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job to be used as a step.\n" + }, + "stepConfigurationDetails": { + "type": "array", + "items": { + "$ref": "#/types/oci:DataScience/getPipelinesPipelineStepDetailStepConfigurationDetail:getPipelinesPipelineStepDetailStepConfigurationDetail" + }, + "description": "The configuration details of a step.\n" + }, + "stepInfrastructureConfigurationDetails": { + "type": "array", + "items": { + "$ref": "#/types/oci:DataScience/getPipelinesPipelineStepDetailStepInfrastructureConfigurationDetail:getPipelinesPipelineStepDetailStepInfrastructureConfigurationDetail" + }, + "description": "The infrastructure configuration details of a pipeline or a step.\n" + }, + "stepName": { + "type": "string", + "description": "The name of the step. It must be unique within the pipeline. This is used to create the pipeline DAG.\n" + }, + "stepType": { + "type": "string", + "description": "The type of step.\n" + } + }, + "type": "object", + "required": [ + "dependsOns", + "description", + "isArtifactUploaded", + "jobId", + "stepConfigurationDetails", + "stepInfrastructureConfigurationDetails", + "stepName", + "stepType" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:DataScience/getPipelinesPipelineStepDetailStepConfigurationDetail:getPipelinesPipelineStepDetailStepConfigurationDetail": { + "properties": { + "commandLineArguments": { + "type": "string", + "description": "The command line arguments to set for step.\n" + }, + "environmentVariables": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "Environment variables to set for step.\n" + }, + "maximumRuntimeInMinutes": { + "type": "string", + "description": "A time bound for the execution of the step.\n" + } + }, + "type": "object", + "required": [ + "commandLineArguments", + "environmentVariables", + "maximumRuntimeInMinutes" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:DataScience/getPipelinesPipelineStepDetailStepInfrastructureConfigurationDetail:getPipelinesPipelineStepDetailStepInfrastructureConfigurationDetail": { "properties": { "blockStorageSizeInGbs": { "type": "integer", @@ -113062,7 +114756,7 @@ "shapeConfigDetails": { "type": "array", "items": { - "$ref": "#/types/oci:DataScience/getPipelineStepDetailStepInfrastructureConfigurationDetailShapeConfigDetail:getPipelineStepDetailStepInfrastructureConfigurationDetailShapeConfigDetail" + "$ref": "#/types/oci:DataScience/getPipelinesPipelineStepDetailStepInfrastructureConfigurationDetailShapeConfigDetail:getPipelinesPipelineStepDetailStepInfrastructureConfigurationDetailShapeConfigDetail" }, "description": "Details for the pipeline step run shape configuration. Specify only when a flex shape is selected.\n" }, @@ -113083,7 +114777,7 @@ } } }, - "oci:DataScience/getPipelineStepDetailStepInfrastructureConfigurationDetailShapeConfigDetail:getPipelineStepDetailStepInfrastructureConfigurationDetailShapeConfigDetail": { + "oci:DataScience/getPipelinesPipelineStepDetailStepInfrastructureConfigurationDetailShapeConfigDetail:getPipelinesPipelineStepDetailStepInfrastructureConfigurationDetailShapeConfigDetail": { "properties": { "memoryInGbs": { "type": "number", @@ -113105,44 +114799,20 @@ } } }, - "oci:DataScience/getPipelinesFilter:getPipelinesFilter": { - "properties": { - "name": { - "type": "string" - }, - "regex": { - "type": "boolean" - }, - "values": { - "type": "array", - "items": { - "type": "string" - } - } - }, - "type": "object", - "required": [ - "name", - "values" - ] - }, - "oci:DataScience/getPipelinesPipeline:getPipelinesPipeline": { + "oci:DataScience/getPrivateEndpointsDataSciencePrivateEndpoint:getPrivateEndpointsDataSciencePrivateEndpoint": { "properties": { "compartmentId": { "type": "string", "description": "\u003cb\u003eFilter\u003c/b\u003e results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.\n" }, - "configurationDetails": { - "type": "array", - "items": { - "$ref": "#/types/oci:DataScience/getPipelinesPipelineConfigurationDetail:getPipelinesPipelineConfigurationDetail" - }, - "description": "The configuration details of a pipeline.\n" - }, "createdBy": { "type": "string", "description": "\u003cb\u003eFilter\u003c/b\u003e results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the resource.\n" }, + "dataScienceResourceType": { + "type": "string", + "description": "Resource types in the Data Science service such as notebooks.\n" + }, "definedTags": { "type": "object", "additionalProperties": { @@ -113150,17 +114820,18 @@ }, "description": "Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{\"Operations.CostCenter\": \"42\"}`\n" }, - "deleteRelatedPipelineRuns": { - "type": "boolean" - }, "description": { "type": "string", - "description": "A short description of the step.\n" + "description": "A user friendly description. Avoid entering confidential information.\n" }, "displayName": { "type": "string", "description": "\u003cb\u003eFilter\u003c/b\u003e results by its user-friendly name.\n" }, + "fqdn": { + "type": "string", + "description": "Accesing the Data Science resource using FQDN.\n" + }, "freeformTags": { "type": "object", "additionalProperties": { @@ -113170,82 +114841,55 @@ }, "id": { "type": "string", - "description": "\u003cb\u003eFilter\u003c/b\u003e results by [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). Must be an OCID of the correct type for the resource type.\n" - }, - "infrastructureConfigurationDetails": { - "type": "array", - "items": { - "$ref": "#/types/oci:DataScience/getPipelinesPipelineInfrastructureConfigurationDetail:getPipelinesPipelineInfrastructureConfigurationDetail" - }, - "description": "The infrastructure configuration details of a pipeline or a step.\n" + "description": "The OCID of a private endpoint.\n" }, "lifecycleDetails": { "type": "string", - "description": "A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state.\n" + "description": "Details of the state of Data Science private endpoint.\n" }, - "logConfigurationDetails": { + "nsgIds": { "type": "array", "items": { - "$ref": "#/types/oci:DataScience/getPipelinesPipelineLogConfigurationDetail:getPipelinesPipelineLogConfigurationDetail" + "type": "string" }, - "description": "The pipeline log configuration details.\n" - }, - "projectId": { - "type": "string", - "description": "\u003cb\u003eFilter\u003c/b\u003e results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project.\n" + "description": "An array of network security group OCIDs.\n" }, "state": { "type": "string", - "description": "The current state of the Pipeline.\n" + "description": "The lifecycle state of the private endpoint.\n" }, - "stepArtifacts": { - "type": "array", - "items": { - "$ref": "#/types/oci:DataScience/getPipelinesPipelineStepArtifact:getPipelinesPipelineStepArtifact" - } - }, - "stepDetails": { - "type": "array", - "items": { - "$ref": "#/types/oci:DataScience/getPipelinesPipelineStepDetail:getPipelinesPipelineStepDetail" - }, - "description": "Array of step details for each step.\n" + "subDomain": { + "type": "string" }, - "systemTags": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, - "description": "Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{\"orcl-cloud.free-tier-retained\": \"true\"}`\n" + "subnetId": { + "type": "string", + "description": "The OCID of a subnet.\n" }, "timeCreated": { "type": "string", - "description": "The date and time the resource was created in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: 2020-08-06T21:10:29.41Z\n" + "description": "The date and time that the Data Science private endpoint was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z`\n" }, "timeUpdated": { "type": "string", - "description": "The date and time the resource was updated in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: 2020-08-06T21:10:29.41Z\n" + "description": "The date and time that the Data Science private endpoint was updated expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z`\n" } }, "type": "object", "required": [ "compartmentId", - "configurationDetails", "createdBy", + "dataScienceResourceType", "definedTags", - "deleteRelatedPipelineRuns", "description", "displayName", + "fqdn", "freeformTags", "id", - "infrastructureConfigurationDetails", "lifecycleDetails", - "logConfigurationDetails", - "projectId", + "nsgIds", "state", - "stepArtifacts", - "stepDetails", - "systemTags", + "subDomain", + "subnetId", "timeCreated", "timeUpdated" ], @@ -113255,304 +114899,26 @@ } } }, - "oci:DataScience/getPipelinesPipelineConfigurationDetail:getPipelinesPipelineConfigurationDetail": { + "oci:DataScience/getPrivateEndpointsFilter:getPrivateEndpointsFilter": { "properties": { - "commandLineArguments": { - "type": "string", - "description": "The command line arguments to set for step.\n" - }, - "environmentVariables": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, - "description": "Environment variables to set for step.\n" - }, - "maximumRuntimeInMinutes": { - "type": "string", - "description": "A time bound for the execution of the step.\n" - }, - "type": { - "type": "string", - "description": "The type of pipeline.\n" - } - }, - "type": "object", - "required": [ - "commandLineArguments", - "environmentVariables", - "maximumRuntimeInMinutes", - "type" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "oci:DataScience/getPipelinesPipelineInfrastructureConfigurationDetail:getPipelinesPipelineInfrastructureConfigurationDetail": { - "properties": { - "blockStorageSizeInGbs": { - "type": "integer", - "description": "The size of the block storage volume to attach to the instance.\n" - }, - "shapeConfigDetails": { - "type": "array", - "items": { - "$ref": "#/types/oci:DataScience/getPipelinesPipelineInfrastructureConfigurationDetailShapeConfigDetail:getPipelinesPipelineInfrastructureConfigurationDetailShapeConfigDetail" - }, - "description": "Details for the pipeline step run shape configuration. Specify only when a flex shape is selected.\n" - }, - "shapeName": { - "type": "string", - "description": "The shape used to launch the instance for all step runs in the pipeline.\n" - } - }, - "type": "object", - "required": [ - "blockStorageSizeInGbs", - "shapeConfigDetails", - "shapeName" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "oci:DataScience/getPipelinesPipelineInfrastructureConfigurationDetailShapeConfigDetail:getPipelinesPipelineInfrastructureConfigurationDetailShapeConfigDetail": { - "properties": { - "memoryInGbs": { - "type": "number", - "description": "A pipeline step run instance of type VM.Standard.E3.Flex allows memory to be specified. This specifies the size of the memory in GBs.\n" - }, - "ocpus": { - "type": "number", - "description": "A pipeline step run instance of type VM.Standard.E3.Flex allows the ocpu count to be specified.\n" - } - }, - "type": "object", - "required": [ - "memoryInGbs", - "ocpus" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "oci:DataScience/getPipelinesPipelineLogConfigurationDetail:getPipelinesPipelineLogConfigurationDetail": { - "properties": { - "enableAutoLogCreation": { - "type": "boolean", - "description": "If automatic on-behalf-of log object creation is enabled for pipeline runs.\n" - }, - "enableLogging": { - "type": "boolean", - "description": "If customer logging is enabled for pipeline.\n" - }, - "logGroupId": { - "type": "string", - "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log group.\n" - }, - "logId": { - "type": "string", - "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log.\n" - } - }, - "type": "object", - "required": [ - "enableAutoLogCreation", - "enableLogging", - "logGroupId", - "logId" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "oci:DataScience/getPipelinesPipelineStepArtifact:getPipelinesPipelineStepArtifact": { - "properties": { - "artifactContentDisposition": { - "type": "string" - }, - "artifactContentLength": { - "type": "string" - }, - "artifactContentMd5": { - "type": "string" - }, - "artifactLastModified": { + "name": { "type": "string" }, - "pipelineStepArtifact": { - "type": "string" + "regex": { + "type": "boolean" }, - "stepName": { - "type": "string", - "description": "The name of the step. It must be unique within the pipeline. This is used to create the pipeline DAG.\n" - } - }, - "type": "object", - "required": [ - "artifactContentDisposition", - "artifactContentLength", - "artifactContentMd5", - "artifactLastModified", - "pipelineStepArtifact", - "stepName" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "oci:DataScience/getPipelinesPipelineStepDetail:getPipelinesPipelineStepDetail": { - "properties": { - "dependsOns": { + "values": { "type": "array", "items": { "type": "string" - }, - "description": "The list of step names this current step depends on for execution.\n" - }, - "description": { - "type": "string", - "description": "A short description of the step.\n" - }, - "isArtifactUploaded": { - "type": "boolean", - "description": "A flag to indicate whether the artifact has been uploaded for this step or not.\n" - }, - "jobId": { - "type": "string", - "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the job to be used as a step.\n" - }, - "stepConfigurationDetails": { - "type": "array", - "items": { - "$ref": "#/types/oci:DataScience/getPipelinesPipelineStepDetailStepConfigurationDetail:getPipelinesPipelineStepDetailStepConfigurationDetail" - }, - "description": "The configuration details of a step.\n" - }, - "stepInfrastructureConfigurationDetails": { - "type": "array", - "items": { - "$ref": "#/types/oci:DataScience/getPipelinesPipelineStepDetailStepInfrastructureConfigurationDetail:getPipelinesPipelineStepDetailStepInfrastructureConfigurationDetail" - }, - "description": "The infrastructure configuration details of a pipeline or a step.\n" - }, - "stepName": { - "type": "string", - "description": "The name of the step. It must be unique within the pipeline. This is used to create the pipeline DAG.\n" - }, - "stepType": { - "type": "string", - "description": "The type of step.\n" - } - }, - "type": "object", - "required": [ - "dependsOns", - "description", - "isArtifactUploaded", - "jobId", - "stepConfigurationDetails", - "stepInfrastructureConfigurationDetails", - "stepName", - "stepType" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "oci:DataScience/getPipelinesPipelineStepDetailStepConfigurationDetail:getPipelinesPipelineStepDetailStepConfigurationDetail": { - "properties": { - "commandLineArguments": { - "type": "string", - "description": "The command line arguments to set for step.\n" - }, - "environmentVariables": { - "type": "object", - "additionalProperties": { - "$ref": "pulumi.json#/Any" - }, - "description": "Environment variables to set for step.\n" - }, - "maximumRuntimeInMinutes": { - "type": "string", - "description": "A time bound for the execution of the step.\n" - } - }, - "type": "object", - "required": [ - "commandLineArguments", - "environmentVariables", - "maximumRuntimeInMinutes" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "oci:DataScience/getPipelinesPipelineStepDetailStepInfrastructureConfigurationDetail:getPipelinesPipelineStepDetailStepInfrastructureConfigurationDetail": { - "properties": { - "blockStorageSizeInGbs": { - "type": "integer", - "description": "The size of the block storage volume to attach to the instance.\n" - }, - "shapeConfigDetails": { - "type": "array", - "items": { - "$ref": "#/types/oci:DataScience/getPipelinesPipelineStepDetailStepInfrastructureConfigurationDetailShapeConfigDetail:getPipelinesPipelineStepDetailStepInfrastructureConfigurationDetailShapeConfigDetail" - }, - "description": "Details for the pipeline step run shape configuration. Specify only when a flex shape is selected.\n" - }, - "shapeName": { - "type": "string", - "description": "The shape used to launch the instance for all step runs in the pipeline.\n" - } - }, - "type": "object", - "required": [ - "blockStorageSizeInGbs", - "shapeConfigDetails", - "shapeName" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } - }, - "oci:DataScience/getPipelinesPipelineStepDetailStepInfrastructureConfigurationDetailShapeConfigDetail:getPipelinesPipelineStepDetailStepInfrastructureConfigurationDetailShapeConfigDetail": { - "properties": { - "memoryInGbs": { - "type": "number", - "description": "A pipeline step run instance of type VM.Standard.E3.Flex allows memory to be specified. This specifies the size of the memory in GBs.\n" - }, - "ocpus": { - "type": "number", - "description": "A pipeline step run instance of type VM.Standard.E3.Flex allows the ocpu count to be specified.\n" + } } }, "type": "object", "required": [ - "memoryInGbs", - "ocpus" - ], - "language": { - "nodejs": { - "requiredInputs": [] - } - } + "name", + "values" + ] }, "oci:DataScience/getProjectsFilter:getProjectsFilter": { "properties": { @@ -114348,6 +115714,26 @@ } } }, + "oci:Database/AutonomousDatabaseResourcePoolSummary:AutonomousDatabaseResourcePoolSummary": { + "properties": { + "isDisabled": { + "type": "boolean", + "description": "Indicates if the long-term backup schedule should be deleted. The default value is `FALSE`.\n" + }, + "poolSize": { + "type": "integer" + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "isDisabled", + "poolSize" + ] + } + } + }, "oci:Database/AutonomousDatabaseScheduledOperation:AutonomousDatabaseScheduledOperation": { "properties": { "dayOfWeek": { @@ -120369,7 +121755,7 @@ "properties": { "isDisabled": { "type": "boolean", - "description": "Indicates if the long-term backup schedule should be deleted. The default value is `FALSE`.\n" + "description": "Indicates if the resource pool should be deleted for the Autonomous Database.\n" }, "repeatCadence": { "type": "string", @@ -120476,6 +121862,28 @@ } } }, + "oci:Database/getAutonomousDatabaseResourcePoolSummary:getAutonomousDatabaseResourcePoolSummary": { + "properties": { + "isDisabled": { + "type": "boolean", + "description": "Indicates if the resource pool should be deleted for the Autonomous Database.\n" + }, + "poolSize": { + "type": "integer", + "description": "Resource pool size.\n" + } + }, + "type": "object", + "required": [ + "isDisabled", + "poolSize" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, "oci:Database/getAutonomousDatabaseScheduledOperation:getAutonomousDatabaseScheduledOperation": { "properties": { "dayOfWeeks": { @@ -120933,6 +122341,17 @@ "remoteDisasterRecoveryType": { "type": "string" }, + "resourcePoolLeaderId": { + "type": "string", + "description": "The database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resourcepool Leader Autonomous Database.\n" + }, + "resourcePoolSummaries": { + "type": "array", + "items": { + "$ref": "#/types/oci:Database/getAutonomousDatabasesAutonomousDatabaseResourcePoolSummary:getAutonomousDatabasesAutonomousDatabaseResourcePoolSummary" + }, + "description": "The configuration details for resource pool\n" + }, "role": { "type": "string", "description": "The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled.\n" @@ -121034,6 +122453,10 @@ "type": "string", "description": "The date and time when maintenance will end.\n" }, + "timeOfJoiningResourcePool": { + "type": "string", + "description": "The time the member joined the resource pool.\n" + }, "timeOfLastFailover": { "type": "string", "description": "The timestamp of the last failover operation.\n" @@ -121177,6 +122600,8 @@ "refreshableStatus", "remoteDisasterRecoveryConfigurations", "remoteDisasterRecoveryType", + "resourcePoolLeaderId", + "resourcePoolSummaries", "role", "rotateKeyTrigger", "scheduledOperations", @@ -121200,6 +122625,7 @@ "timeLocalDataGuardEnabled", "timeMaintenanceBegin", "timeMaintenanceEnd", + "timeOfJoiningResourcePool", "timeOfLastFailover", "timeOfLastRefresh", "timeOfLastRefreshPoint", @@ -121487,7 +122913,7 @@ "properties": { "isDisabled": { "type": "boolean", - "description": "Indicates if the long-term backup schedule should be deleted. The default value is `FALSE`.\n" + "description": "Indicates if the resource pool should be deleted for the Autonomous Database.\n" }, "repeatCadence": { "type": "string", @@ -121532,6 +122958,28 @@ } } }, + "oci:Database/getAutonomousDatabasesAutonomousDatabaseResourcePoolSummary:getAutonomousDatabasesAutonomousDatabaseResourcePoolSummary": { + "properties": { + "isDisabled": { + "type": "boolean", + "description": "Indicates if the resource pool should be deleted for the Autonomous Database.\n" + }, + "poolSize": { + "type": "integer", + "description": "Resource pool size.\n" + } + }, + "type": "object", + "required": [ + "isDisabled", + "poolSize" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, "oci:Database/getAutonomousDatabasesAutonomousDatabaseScheduledOperation:getAutonomousDatabasesAutonomousDatabaseScheduledOperation": { "properties": { "dayOfWeeks": { @@ -121959,6 +123407,17 @@ }, "description": "Configurations of a Disaster Recovery.\n" }, + "resourcePoolLeaderId": { + "type": "string", + "description": "The unique identifier for leader autonomous database OCID [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).\n" + }, + "resourcePoolSummaries": { + "type": "array", + "items": { + "$ref": "#/types/oci:Database/getAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummary:getAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummary" + }, + "description": "The configuration details for resource pool\n" + }, "role": { "type": "string", "description": "The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled.\n" @@ -122042,6 +123501,9 @@ "type": "string", "description": "The date and time when maintenance will end.\n" }, + "timeOfJoiningResourcePool": { + "type": "string" + }, "timeOfLastFailover": { "type": "string", "description": "The timestamp of the last failover operation.\n" @@ -122170,6 +123632,8 @@ "refreshableMode", "refreshableStatus", "remoteDisasterRecoveryConfigurations", + "resourcePoolLeaderId", + "resourcePoolSummaries", "role", "scheduledOperations", "serviceConsoleUrl", @@ -122187,6 +123651,7 @@ "timeLocalDataGuardEnabled", "timeMaintenanceBegin", "timeMaintenanceEnd", + "timeOfJoiningResourcePool", "timeOfLastFailover", "timeOfLastRefresh", "timeOfLastRefreshPoint", @@ -122472,7 +123937,7 @@ "properties": { "isDisabled": { "type": "boolean", - "description": "Indicates if the long-term backup schedule should be deleted. The default value is `FALSE`.\n" + "description": "Indicates if the resource pool should be deleted for the Autonomous Database.\n" }, "repeatCadence": { "type": "string", @@ -122517,6 +123982,28 @@ } } }, + "oci:Database/getAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummary:getAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummary": { + "properties": { + "isDisabled": { + "type": "boolean", + "description": "Indicates if the resource pool should be deleted for the Autonomous Database.\n" + }, + "poolSize": { + "type": "integer", + "description": "Resource pool size.\n" + } + }, + "type": "object", + "required": [ + "isDisabled", + "poolSize" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, "oci:Database/getAutonomousDatabasesClonesAutonomousDatabaseScheduledOperation:getAutonomousDatabasesClonesAutonomousDatabaseScheduledOperation": { "properties": { "dayOfWeeks": { @@ -149436,6 +150923,67 @@ "namespace" ] }, + "oci:DatabaseMigration/MigrationDataTransferMediumDetailsV2:MigrationDataTransferMediumDetailsV2": { + "properties": { + "accessKeyId": { + "type": "string" + }, + "name": { + "type": "string", + "description": "(Updatable) Name of directory object in database\n" + }, + "objectStorageBucket": { + "$ref": "#/types/oci:DatabaseMigration/MigrationDataTransferMediumDetailsV2ObjectStorageBucket:MigrationDataTransferMediumDetailsV2ObjectStorageBucket" + }, + "region": { + "type": "string" + }, + "secretAccessKey": { + "type": "string" + }, + "type": { + "type": "string", + "description": "(Updatable) Migration type.\n" + } + }, + "type": "object", + "required": [ + "type" + ], + "language": { + "nodejs": { + "requiredOutputs": [ + "accessKeyId", + "name", + "objectStorageBucket", + "region", + "secretAccessKey", + "type" + ] + } + } + }, + "oci:DatabaseMigration/MigrationDataTransferMediumDetailsV2ObjectStorageBucket:MigrationDataTransferMediumDetailsV2ObjectStorageBucket": { + "properties": { + "bucket": { + "type": "string", + "description": "(Updatable) Bucket name.\n" + }, + "namespace": { + "type": "string", + "description": "(Updatable) Namespace name of the object store bucket.\n" + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "bucket", + "namespace" + ] + } + } + }, "oci:DatabaseMigration/MigrationDatapumpSettings:MigrationDatapumpSettings": { "properties": { "dataPumpParameters": { @@ -149591,6 +151139,9 @@ }, "oci:DatabaseMigration/MigrationDumpTransferDetails:MigrationDumpTransferDetails": { "properties": { + "sharedStorageMountTargetId": { + "type": "string" + }, "source": { "$ref": "#/types/oci:DatabaseMigration/MigrationDumpTransferDetailsSource:MigrationDumpTransferDetailsSource", "description": "(Updatable) Optional additional properties for dump transfer in source or target host. Default kind is CURL\n" @@ -149604,6 +151155,7 @@ "language": { "nodejs": { "requiredOutputs": [ + "sharedStorageMountTargetId", "source", "target" ] @@ -151084,6 +152636,69 @@ } } }, + "oci:DatabaseMigration/getMigrationDataTransferMediumDetailsV2:getMigrationDataTransferMediumDetailsV2": { + "properties": { + "accessKeyId": { + "type": "string" + }, + "name": { + "type": "string", + "description": "Name of directory object in database\n" + }, + "objectStorageBuckets": { + "type": "array", + "items": { + "$ref": "#/types/oci:DatabaseMigration/getMigrationDataTransferMediumDetailsV2ObjectStorageBucket:getMigrationDataTransferMediumDetailsV2ObjectStorageBucket" + } + }, + "region": { + "type": "string" + }, + "secretAccessKey": { + "type": "string" + }, + "type": { + "type": "string", + "description": "Migration type.\n" + } + }, + "type": "object", + "required": [ + "accessKeyId", + "name", + "objectStorageBuckets", + "region", + "secretAccessKey", + "type" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:DatabaseMigration/getMigrationDataTransferMediumDetailsV2ObjectStorageBucket:getMigrationDataTransferMediumDetailsV2ObjectStorageBucket": { + "properties": { + "bucket": { + "type": "string", + "description": "Bucket name.\n" + }, + "namespace": { + "type": "string", + "description": "Namespace name of the object store bucket.\n" + } + }, + "type": "object", + "required": [ + "bucket", + "namespace" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, "oci:DatabaseMigration/getMigrationDatapumpSetting:getMigrationDatapumpSetting": { "properties": { "dataPumpParameters": { @@ -151251,6 +152866,9 @@ }, "oci:DatabaseMigration/getMigrationDumpTransferDetail:getMigrationDumpTransferDetail": { "properties": { + "sharedStorageMountTargetId": { + "type": "string" + }, "sources": { "type": "array", "items": { @@ -151268,6 +152886,7 @@ }, "type": "object", "required": [ + "sharedStorageMountTargetId", "sources", "targets" ], @@ -152039,6 +153658,12 @@ }, "description": "Data Transfer Medium details for the Migration.\n" }, + "dataTransferMediumDetailsV2s": { + "type": "array", + "items": { + "$ref": "#/types/oci:DatabaseMigration/getMigrationsMigrationCollectionItemDataTransferMediumDetailsV2:getMigrationsMigrationCollectionItemDataTransferMediumDetailsV2" + } + }, "datapumpSettings": { "type": "array", "items": { @@ -152170,6 +153795,7 @@ "credentialsSecretId", "csvText", "dataTransferMediumDetails", + "dataTransferMediumDetailsV2s", "datapumpSettings", "definedTags", "displayName", @@ -152319,6 +153945,69 @@ } } }, + "oci:DatabaseMigration/getMigrationsMigrationCollectionItemDataTransferMediumDetailsV2:getMigrationsMigrationCollectionItemDataTransferMediumDetailsV2": { + "properties": { + "accessKeyId": { + "type": "string" + }, + "name": { + "type": "string", + "description": "Name of directory object in database\n" + }, + "objectStorageBuckets": { + "type": "array", + "items": { + "$ref": "#/types/oci:DatabaseMigration/getMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucket:getMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucket" + } + }, + "region": { + "type": "string" + }, + "secretAccessKey": { + "type": "string" + }, + "type": { + "type": "string", + "description": "Migration type.\n" + } + }, + "type": "object", + "required": [ + "accessKeyId", + "name", + "objectStorageBuckets", + "region", + "secretAccessKey", + "type" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:DatabaseMigration/getMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucket:getMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucket": { + "properties": { + "bucket": { + "type": "string", + "description": "Bucket name.\n" + }, + "namespace": { + "type": "string", + "description": "Namespace name of the object store bucket.\n" + } + }, + "type": "object", + "required": [ + "bucket", + "namespace" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, "oci:DatabaseMigration/getMigrationsMigrationCollectionItemDatapumpSetting:getMigrationsMigrationCollectionItemDatapumpSetting": { "properties": { "dataPumpParameters": { @@ -152486,6 +154175,9 @@ }, "oci:DatabaseMigration/getMigrationsMigrationCollectionItemDumpTransferDetail:getMigrationsMigrationCollectionItemDumpTransferDetail": { "properties": { + "sharedStorageMountTargetId": { + "type": "string" + }, "sources": { "type": "array", "items": { @@ -152503,6 +154195,7 @@ }, "type": "object", "required": [ + "sharedStorageMountTargetId", "sources", "targets" ], @@ -226654,7 +228347,7 @@ "properties": { "algorithm": { "type": "string", - "description": "The algorithm used by a key's key versions to encrypt or decrypt.\n", + "description": "The algorithm used by a key's key versions to encrypt or decrypt. Only AES algorithm is supported for `External` keys.\n", "willReplaceOnChanges": true }, "curveId": { @@ -226683,11 +228376,45 @@ } } }, + "oci:Kms/KeyExternalKeyReference:KeyExternalKeyReference": { + "properties": { + "externalKeyId": { + "type": "string", + "description": "ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM\n", + "willReplaceOnChanges": true + } + }, + "type": "object", + "required": [ + "externalKeyId" + ] + }, + "oci:Kms/KeyExternalKeyReferenceDetail:KeyExternalKeyReferenceDetail": { + "properties": { + "externalKeyId": { + "type": "string", + "description": "ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM\n" + }, + "externalKeyVersionId": { + "type": "string", + "description": "Key version ID associated with the external key.\n" + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "externalKeyId", + "externalKeyVersionId" + ] + } + } + }, "oci:Kms/KeyKeyShape:KeyKeyShape": { "properties": { "algorithm": { "type": "string", - "description": "The algorithm used by a key's key versions to encrypt or decrypt.\n", + "description": "The algorithm used by a key's key versions to encrypt or decrypt. Only AES algorithm is supported for `External` keys.\n", "willReplaceOnChanges": true }, "curveId": { @@ -226781,6 +228508,27 @@ "destination" ] }, + "oci:Kms/KeyVersionExternalKeyReferenceDetail:KeyVersionExternalKeyReferenceDetail": { + "properties": { + "externalKeyId": { + "type": "string", + "description": "ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM.\n" + }, + "externalKeyVersionId": { + "type": "string", + "description": "Key version ID associated with the external key.\n" + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "externalKeyId", + "externalKeyVersionId" + ] + } + } + }, "oci:Kms/KeyVersionReplicaDetail:KeyVersionReplicaDetail": { "properties": { "replicationId": { @@ -226797,6 +228545,111 @@ } } }, + "oci:Kms/VaultExternalKeyManagerMetadata:VaultExternalKeyManagerMetadata": { + "properties": { + "externalVaultEndpointUrl": { + "type": "string", + "description": "URI of the vault on external key manager.\n", + "willReplaceOnChanges": true + }, + "oauthMetadata": { + "$ref": "#/types/oci:Kms/VaultExternalKeyManagerMetadataOauthMetadata:VaultExternalKeyManagerMetadataOauthMetadata", + "description": "Authorization details required to get access token from IDP for accessing protected resources.\n", + "willReplaceOnChanges": true + }, + "privateEndpointId": { + "type": "string", + "description": "OCID of private endpoint created by customer.\n", + "willReplaceOnChanges": true + } + }, + "type": "object", + "required": [ + "externalVaultEndpointUrl", + "oauthMetadata", + "privateEndpointId" + ] + }, + "oci:Kms/VaultExternalKeyManagerMetadataOauthMetadata:VaultExternalKeyManagerMetadataOauthMetadata": { + "properties": { + "clientAppId": { + "type": "string", + "description": "ID of the client app created in IDP.\n", + "willReplaceOnChanges": true + }, + "clientAppSecret": { + "type": "string", + "description": "Secret of the client app created in IDP.\n", + "willReplaceOnChanges": true + }, + "idcsAccountNameUrl": { + "type": "string", + "description": "Base URL of the IDCS account where confidential client app is created.\n", + "willReplaceOnChanges": true + } + }, + "type": "object", + "required": [ + "clientAppId", + "clientAppSecret", + "idcsAccountNameUrl" + ] + }, + "oci:Kms/VaultExternalKeyManagerMetadataSummary:VaultExternalKeyManagerMetadataSummary": { + "properties": { + "externalVaultEndpointUrl": { + "type": "string", + "description": "URI of the vault on external key manager.\n" + }, + "oauthMetadataSummaries": { + "type": "array", + "items": { + "$ref": "#/types/oci:Kms/VaultExternalKeyManagerMetadataSummaryOauthMetadataSummary:VaultExternalKeyManagerMetadataSummaryOauthMetadataSummary" + }, + "description": "Summary about authorization to be returned to the customer as a response.\n" + }, + "privateEndpointId": { + "type": "string", + "description": "OCID of private endpoint created by customer.\n" + }, + "vendor": { + "type": "string", + "description": "Vendor of the external key manager.\n" + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "externalVaultEndpointUrl", + "oauthMetadataSummaries", + "privateEndpointId", + "vendor" + ] + } + } + }, + "oci:Kms/VaultExternalKeyManagerMetadataSummaryOauthMetadataSummary:VaultExternalKeyManagerMetadataSummaryOauthMetadataSummary": { + "properties": { + "clientAppId": { + "type": "string", + "description": "ID of the client app created in IDP.\n" + }, + "idcsAccountNameUrl": { + "type": "string", + "description": "Base URL of the IDCS account where confidential client app is created.\n" + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "clientAppId", + "idcsAccountNameUrl" + ] + } + } + }, "oci:Kms/VaultReplicaDetail:VaultReplicaDetail": { "properties": { "replicationId": { @@ -226862,11 +228715,159 @@ "destination" ] }, + "oci:Kms/getEkmsPrivateEndpointsEkmsPrivateEndpoint:getEkmsPrivateEndpointsEkmsPrivateEndpoint": { + "properties": { + "caBundle": { + "type": "string", + "description": "CABundle to validate TLS certificate of the external key manager system in PEM format\n" + }, + "compartmentId": { + "type": "string", + "description": "The OCID of the compartment.\n" + }, + "definedTags": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{\"foo-namespace.bar-key\": \"value\"}`\n" + }, + "displayName": { + "type": "string", + "description": "Mutable name of the EKMS private endpoint\n" + }, + "externalKeyManagerIp": { + "type": "string", + "description": "Private IP of the external key manager system to connect to from the EKMS private endpoint\n" + }, + "freeformTags": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{\"bar-key\": \"value\"}`\n" + }, + "id": { + "type": "string", + "description": "Unique identifier that is immutable\n" + }, + "lifecycleDetails": { + "type": "string", + "description": "A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state.\n" + }, + "port": { + "type": "integer", + "description": "The port of the external key manager system\n" + }, + "privateEndpointIp": { + "type": "string", + "description": "The IP address in the customer's VCN for the EKMS private endpoint. This is taken from subnet\n" + }, + "state": { + "type": "string", + "description": "The current state of the EKMS private endpoint resource.\n" + }, + "subnetId": { + "type": "string", + "description": "Subnet Identifier\n" + }, + "timeCreated": { + "type": "string", + "description": "The time the EKMS private endpoint was created. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string.\n" + }, + "timeUpdated": { + "type": "string", + "description": "The time the EKMS private endpoint was updated. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string.\n" + } + }, + "type": "object", + "required": [ + "caBundle", + "compartmentId", + "definedTags", + "displayName", + "externalKeyManagerIp", + "freeformTags", + "id", + "lifecycleDetails", + "port", + "privateEndpointIp", + "state", + "subnetId", + "timeCreated", + "timeUpdated" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Kms/getEkmsPrivateEndpointsFilter:getEkmsPrivateEndpointsFilter": { + "properties": { + "name": { + "type": "string" + }, + "regex": { + "type": "boolean" + }, + "values": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "type": "object", + "required": [ + "name", + "values" + ] + }, + "oci:Kms/getKeyExternalKeyReference:getKeyExternalKeyReference": { + "properties": { + "externalKeyId": { + "type": "string", + "description": "ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM.\n" + } + }, + "type": "object", + "required": [ + "externalKeyId" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Kms/getKeyExternalKeyReferenceDetail:getKeyExternalKeyReferenceDetail": { + "properties": { + "externalKeyId": { + "type": "string", + "description": "ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM.\n" + }, + "externalKeyVersionId": { + "type": "string", + "description": "Key version ID associated with the external key.\n" + } + }, + "type": "object", + "required": [ + "externalKeyId", + "externalKeyVersionId" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, "oci:Kms/getKeyKeyShape:getKeyKeyShape": { "properties": { "algorithm": { "type": "string", - "description": "The algorithm used by a key's key versions to encrypt or decrypt.\n" + "description": "The algorithm used by a key's key versions to encrypt or decrypt. Only AES algorithm is supported for `External` keys.\n" }, "curveId": { "type": "string", @@ -226970,6 +228971,28 @@ } } }, + "oci:Kms/getKeyVersionExternalKeyReferenceDetail:getKeyVersionExternalKeyReferenceDetail": { + "properties": { + "externalKeyId": { + "type": "string", + "description": "ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM.\n" + }, + "externalKeyVersionId": { + "type": "string", + "description": "Key version ID associated with the external key.\n" + } + }, + "type": "object", + "required": [ + "externalKeyId", + "externalKeyVersionId" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, "oci:Kms/getKeyVersionReplicaDetail:getKeyVersionReplicaDetail": { "properties": { "replicationId": { @@ -227014,13 +229037,24 @@ "type": "string", "description": "The OCID of the compartment that contains this key version.\n" }, + "externalKeyReferenceDetails": { + "type": "array", + "items": { + "$ref": "#/types/oci:Kms/getKeyVersionsKeyVersionExternalKeyReferenceDetail:getKeyVersionsKeyVersionExternalKeyReferenceDetail" + }, + "description": "Key reference data to be returned to the customer as a response.\n" + }, + "externalKeyVersionId": { + "type": "string", + "description": "Key version ID associated with the external key.\n" + }, "id": { "type": "string", "description": "The OCID of the key version.\n" }, "isPrimary": { "type": "boolean", - "description": "A boolean that will be true when key version is primary, and will be false when key version is a replica from a primary key version.\n" + "description": "A Boolean value that indicates whether the KeyVersion belongs to primary Vault or replica Vault.\n" }, "keyId": { "type": "string", @@ -227072,6 +229106,8 @@ "type": "object", "required": [ "compartmentId", + "externalKeyReferenceDetails", + "externalKeyVersionId", "id", "isPrimary", "keyId", @@ -227092,6 +229128,28 @@ } } }, + "oci:Kms/getKeyVersionsKeyVersionExternalKeyReferenceDetail:getKeyVersionsKeyVersionExternalKeyReferenceDetail": { + "properties": { + "externalKeyId": { + "type": "string", + "description": "ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM.\n" + }, + "externalKeyVersionId": { + "type": "string", + "description": "Key version ID associated with the external key.\n" + } + }, + "type": "object", + "required": [ + "externalKeyId", + "externalKeyVersionId" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, "oci:Kms/getKeyVersionsKeyVersionReplicaDetail:getKeyVersionsKeyVersionReplicaDetail": { "properties": { "replicationId": { @@ -227154,6 +229212,19 @@ "type": "string", "description": "A user-friendly name for the key. It does not have to be unique, and it is changeable. Avoid entering confidential information.\n" }, + "externalKeyReferenceDetails": { + "type": "array", + "items": { + "$ref": "#/types/oci:Kms/getKeysKeyExternalKeyReferenceDetail:getKeysKeyExternalKeyReferenceDetail" + }, + "description": "Key reference data to be returned to the customer as a response.\n" + }, + "externalKeyReferences": { + "type": "array", + "items": { + "$ref": "#/types/oci:Kms/getKeysKeyExternalKeyReference:getKeysKeyExternalKeyReference" + } + }, "freeformTags": { "type": "object", "additionalProperties": { @@ -227167,7 +229238,7 @@ }, "isPrimary": { "type": "boolean", - "description": "A boolean that will be true when key is primary, and will be false when key is a replica from a primary key.\n" + "description": "A Boolean value that indicates whether the Key belongs to primary Vault or replica vault.\n" }, "keyShapes": { "type": "array", @@ -227182,7 +229253,7 @@ }, "protectionMode": { "type": "string", - "description": "A key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server.\n" + "description": "A key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager.\n" }, "replicaDetails": { "type": "array", @@ -227233,6 +229304,8 @@ "definedTags", "desiredState", "displayName", + "externalKeyReferences", + "externalKeyReferenceDetails", "freeformTags", "id", "isPrimary", @@ -227255,6 +229328,45 @@ } } }, + "oci:Kms/getKeysKeyExternalKeyReference:getKeysKeyExternalKeyReference": { + "properties": { + "externalKeyId": { + "type": "string", + "description": "ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM.\n" + } + }, + "type": "object", + "required": [ + "externalKeyId" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Kms/getKeysKeyExternalKeyReferenceDetail:getKeysKeyExternalKeyReferenceDetail": { + "properties": { + "externalKeyId": { + "type": "string", + "description": "ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM.\n" + }, + "externalKeyVersionId": { + "type": "string", + "description": "Key version ID associated with the external key.\n" + } + }, + "type": "object", + "required": [ + "externalKeyId", + "externalKeyVersionId" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, "oci:Kms/getKeysKeyKeyShape:getKeysKeyKeyShape": { "properties": { "algorithm": { @@ -227377,6 +229489,118 @@ } } }, + "oci:Kms/getVaultExternalKeyManagerMetadata:getVaultExternalKeyManagerMetadata": { + "properties": { + "externalVaultEndpointUrl": { + "type": "string", + "description": "URL of the vault on external key manager.\n" + }, + "oauthMetadatas": { + "type": "array", + "items": { + "$ref": "#/types/oci:Kms/getVaultExternalKeyManagerMetadataOauthMetadata:getVaultExternalKeyManagerMetadataOauthMetadata" + } + }, + "privateEndpointId": { + "type": "string", + "description": "OCID of the private endpoint.\n" + } + }, + "type": "object", + "required": [ + "externalVaultEndpointUrl", + "oauthMetadatas", + "privateEndpointId" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Kms/getVaultExternalKeyManagerMetadataOauthMetadata:getVaultExternalKeyManagerMetadataOauthMetadata": { + "properties": { + "clientAppId": { + "type": "string", + "description": "ID of the client app created in IDP.\n" + }, + "clientAppSecret": { + "type": "string" + }, + "idcsAccountNameUrl": { + "type": "string", + "description": "Base URL of the IDCS account where confidential client app is created.\n" + } + }, + "type": "object", + "required": [ + "clientAppId", + "clientAppSecret", + "idcsAccountNameUrl" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Kms/getVaultExternalKeyManagerMetadataSummary:getVaultExternalKeyManagerMetadataSummary": { + "properties": { + "externalVaultEndpointUrl": { + "type": "string", + "description": "URL of the vault on external key manager.\n" + }, + "oauthMetadataSummaries": { + "type": "array", + "items": { + "$ref": "#/types/oci:Kms/getVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary:getVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary" + }, + "description": "Summary about authorization to be returned to the customer as a response.\n" + }, + "privateEndpointId": { + "type": "string", + "description": "OCID of the private endpoint.\n" + }, + "vendor": { + "type": "string", + "description": "Vendor of the external key manager.\n" + } + }, + "type": "object", + "required": [ + "externalVaultEndpointUrl", + "oauthMetadataSummaries", + "privateEndpointId", + "vendor" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Kms/getVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary:getVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary": { + "properties": { + "clientAppId": { + "type": "string", + "description": "ID of the client app created in IDP.\n" + }, + "idcsAccountNameUrl": { + "type": "string", + "description": "Base URL of the IDCS account where confidential client app is created.\n" + } + }, + "type": "object", + "required": [ + "clientAppId", + "idcsAccountNameUrl" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, "oci:Kms/getVaultReplicaDetail:getVaultReplicaDetail": { "properties": { "replicationId": { @@ -227431,7 +229655,7 @@ }, "status": { "type": "string", - "description": "The vault replica's status\n" + "description": "Status of the Vault\n" } }, "type": "object", @@ -227553,6 +229777,19 @@ "type": "string", "description": "A user-friendly name for the vault. It does not have to be unique, and it is changeable. Avoid entering confidential information.\n" }, + "externalKeyManagerMetadataSummaries": { + "type": "array", + "items": { + "$ref": "#/types/oci:Kms/getVaultsVaultExternalKeyManagerMetadataSummary:getVaultsVaultExternalKeyManagerMetadataSummary" + }, + "description": "Summary about metadata of external key manager to be returned to the customer as a response.\n" + }, + "externalKeyManagerMetadatas": { + "type": "array", + "items": { + "$ref": "#/types/oci:Kms/getVaultsVaultExternalKeyManagerMetadata:getVaultsVaultExternalKeyManagerMetadata" + } + }, "freeformTags": { "type": "object", "additionalProperties": { @@ -227566,7 +229803,7 @@ }, "isPrimary": { "type": "boolean", - "description": "A boolean that will be true when vault is primary, and will be false when vault is a replica from a primary vault.\n" + "description": "A Boolean value that indicates whether the Vault is primary Vault or replica Vault.\n" }, "managementEndpoint": { "type": "string", @@ -227596,7 +229833,7 @@ }, "restoredFromVaultId": { "type": "string", - "description": "The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault.\n" + "description": "The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault.\n" }, "state": { "type": "string", @@ -227621,6 +229858,8 @@ "cryptoEndpoint", "definedTags", "displayName", + "externalKeyManagerMetadatas", + "externalKeyManagerMetadataSummaries", "freeformTags", "id", "isPrimary", @@ -227641,6 +229880,118 @@ } } }, + "oci:Kms/getVaultsVaultExternalKeyManagerMetadata:getVaultsVaultExternalKeyManagerMetadata": { + "properties": { + "externalVaultEndpointUrl": { + "type": "string", + "description": "URL of the vault on external key manager.\n" + }, + "oauthMetadatas": { + "type": "array", + "items": { + "$ref": "#/types/oci:Kms/getVaultsVaultExternalKeyManagerMetadataOauthMetadata:getVaultsVaultExternalKeyManagerMetadataOauthMetadata" + } + }, + "privateEndpointId": { + "type": "string", + "description": "OCID of the private endpoint.\n" + } + }, + "type": "object", + "required": [ + "externalVaultEndpointUrl", + "oauthMetadatas", + "privateEndpointId" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Kms/getVaultsVaultExternalKeyManagerMetadataOauthMetadata:getVaultsVaultExternalKeyManagerMetadataOauthMetadata": { + "properties": { + "clientAppId": { + "type": "string", + "description": "ID of the client app created in IDP.\n" + }, + "clientAppSecret": { + "type": "string" + }, + "idcsAccountNameUrl": { + "type": "string", + "description": "Base URL of the IDCS account where confidential client app is created.\n" + } + }, + "type": "object", + "required": [ + "clientAppId", + "clientAppSecret", + "idcsAccountNameUrl" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Kms/getVaultsVaultExternalKeyManagerMetadataSummary:getVaultsVaultExternalKeyManagerMetadataSummary": { + "properties": { + "externalVaultEndpointUrl": { + "type": "string", + "description": "URL of the vault on external key manager.\n" + }, + "oauthMetadataSummaries": { + "type": "array", + "items": { + "$ref": "#/types/oci:Kms/getVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary:getVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary" + }, + "description": "Summary about authorization to be returned to the customer as a response.\n" + }, + "privateEndpointId": { + "type": "string", + "description": "OCID of the private endpoint.\n" + }, + "vendor": { + "type": "string", + "description": "Vendor of the external key manager.\n" + } + }, + "type": "object", + "required": [ + "externalVaultEndpointUrl", + "oauthMetadataSummaries", + "privateEndpointId", + "vendor" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "oci:Kms/getVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary:getVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary": { + "properties": { + "clientAppId": { + "type": "string", + "description": "ID of the client app created in IDP.\n" + }, + "idcsAccountNameUrl": { + "type": "string", + "description": "Base URL of the IDCS account where confidential client app is created.\n" + } + }, + "type": "object", + "required": [ + "clientAppId", + "idcsAccountNameUrl" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, "oci:Kms/getVaultsVaultReplicaDetail:getVaultsVaultReplicaDetail": { "properties": { "replicationId": { @@ -229039,8 +231390,7 @@ "oci:LoadBalancer/LoadBalancerIpAddressDetailReservedIp:LoadBalancerIpAddressDetailReservedIp": { "properties": { "id": { - "type": "string", - "description": "Ocid of the pre-created public IP. That should be attahed to this load balancer.\n" + "type": "string" } }, "type": "object", @@ -229056,7 +231406,6 @@ "properties": { "id": { "type": "string", - "description": "Ocid of the pre-created public IP. That should be attahed to this load balancer.\n", "willReplaceOnChanges": true } }, @@ -243864,6 +246213,32 @@ } } }, + "oci:Mysql/ReplicaReplicaOverrides:ReplicaReplicaOverrides": { + "properties": { + "configurationId": { + "type": "string", + "description": "(Updatable) The OCID of the Configuration to be used by the read replica.\n" + }, + "mysqlVersion": { + "type": "string", + "description": "(Updatable) The MySQL version to be used by the read replica.\n" + }, + "shapeName": { + "type": "string", + "description": "(Updatable) The shape to be used by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. \n\n\n** IMPORTANT **\nAny change to a property that does not support update will force the destruction and recreation of the resource with the new property values\n" + } + }, + "type": "object", + "language": { + "nodejs": { + "requiredOutputs": [ + "configurationId", + "mysqlVersion", + "shapeName" + ] + } + } + }, "oci:Mysql/getChannelSource:getChannelSource": { "properties": { "anonymousTransactionsHandlings": { @@ -247560,6 +249935,33 @@ } } }, + "oci:Mysql/getReplicaReplicaOverride:getReplicaReplicaOverride": { + "properties": { + "configurationId": { + "type": "string", + "description": "The OCID of the Configuration to be used by the read replica.\n" + }, + "mysqlVersion": { + "type": "string", + "description": "The MySQL version to be used by the read replica.\n" + }, + "shapeName": { + "type": "string", + "description": "The shape currently in use by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation.\n" + } + }, + "type": "object", + "required": [ + "configurationId", + "mysqlVersion", + "shapeName" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, "oci:Mysql/getReplicasFilter:getReplicasFilter": { "properties": { "name": { @@ -247591,6 +249993,10 @@ "type": "string", "description": "The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).\n" }, + "configurationId": { + "type": "string", + "description": "The requested Configuration instance.\n" + }, "dbSystemId": { "type": "string", "description": "The DB System [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).\n" @@ -247639,7 +250045,7 @@ }, "mysqlVersion": { "type": "string", - "description": "The MySQL version used by the read replica.\n" + "description": "The MySQL version to be used by the read replica.\n" }, "port": { "type": "integer", @@ -247649,6 +250055,17 @@ "type": "integer", "description": "The TCP network port on which X Plugin listens for connections. This is the X Plugin equivalent of port.\n" }, + "replicaOverrides": { + "type": "array", + "items": { + "$ref": "#/types/oci:Mysql/getReplicasReplicaReplicaOverride:getReplicasReplicaReplicaOverride" + }, + "description": "By default a read replica inherits the MySQL version, shape, and configuration of the source DB system. If you want to override any of these, provide values in the properties, mysqlVersion, shapeName, and configurationId. If you set a property value to \"\", then the value is inherited from its source DB system.\n" + }, + "shapeName": { + "type": "string", + "description": "The shape currently in use by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation.\n" + }, "state": { "type": "string", "description": "The LifecycleState of the read replica.\n" @@ -247666,6 +250083,7 @@ "required": [ "availabilityDomain", "compartmentId", + "configurationId", "dbSystemId", "definedTags", "description", @@ -247679,6 +250097,8 @@ "mysqlVersion", "port", "portX", + "replicaOverrides", + "shapeName", "state", "timeCreated", "timeUpdated" @@ -247689,6 +250109,33 @@ } } }, + "oci:Mysql/getReplicasReplicaReplicaOverride:getReplicasReplicaReplicaOverride": { + "properties": { + "configurationId": { + "type": "string", + "description": "The requested Configuration instance.\n" + }, + "mysqlVersion": { + "type": "string", + "description": "The MySQL version to be used by the read replica.\n" + }, + "shapeName": { + "type": "string", + "description": "The shape currently in use by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation.\n" + } + }, + "type": "object", + "required": [ + "configurationId", + "mysqlVersion", + "shapeName" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, "oci:Mysql/getShapesFilter:getShapesFilter": { "properties": { "name": { @@ -272732,13 +275179,17 @@ }, "oci:Queue/getQueuesQueueCollectionItem:getQueuesQueueCollectionItem": { "properties": { + "channelConsumptionLimit": { + "type": "integer", + "description": "The percentage of allocated queue resources that can be consumed by a single channel. For example, if a queue has a storage limit of 2Gb, and a single channel consumption limit is 0.1 (10%), that means data size of a single channel can't exceed 200Mb. Consumption limit of 100% (default) means that a single channel can consume up-to all allocated queue's resources.\n" + }, "compartmentId": { "type": "string", - "description": "The ID of the compartment in which to list resources.\n" + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.\n" }, "customEncryptionKeyId": { "type": "string", - "description": "Id of the custom master encryption key which will be used to encrypt messages content\n" + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the custom encryption key to be used to encrypt messages content.\n" }, "deadLetterQueueDeliveryCount": { "type": "integer", @@ -272764,11 +275215,11 @@ }, "id": { "type": "string", - "description": "unique Queue identifier\n" + "description": "The unique queue identifier.\n" }, "lifecycleDetails": { "type": "string", - "description": "A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.\n" + "description": "Any additional details about the current state of the queue.\n" }, "messagesEndpoint": { "type": "string", @@ -272797,11 +275248,11 @@ }, "timeCreated": { "type": "string", - "description": "The time the the Queue was created. An RFC3339 formatted datetime string\n" + "description": "The time that the queue was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z`\n" }, "timeUpdated": { "type": "string", - "description": "The time the Queue was updated. An RFC3339 formatted datetime string\n" + "description": "The time that the queue was updated, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z`\n" }, "timeoutInSeconds": { "type": "integer", @@ -272809,11 +275260,12 @@ }, "visibilityInSeconds": { "type": "integer", - "description": "The default visibility of the messages consumed from the queue.\n" + "description": "The default visibility timeout of the messages consumed from the queue, in seconds.\n" } }, "type": "object", "required": [ + "channelConsumptionLimit", "compartmentId", "customEncryptionKeyId", "deadLetterQueueDeliveryCount", @@ -295500,8 +297952,7 @@ "description": "Trained Model Metrics.\n" }, "modelId": { - "type": "string", - "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of active custom Key Value model that need to be composed.\n" + "type": "string" }, "modelType": { "type": "string", @@ -295628,7 +298079,6 @@ }, "modelId": { "type": "string", - "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of active custom Key Value model that need to be composed.\n", "willReplaceOnChanges": true }, "modelType": { @@ -295738,7 +298188,6 @@ }, "modelId": { "type": "string", - "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of active custom Key Value model that need to be composed.\n", "willReplaceOnChanges": true }, "modelType": { @@ -301331,8 +303780,7 @@ "description": "(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{\"Operations.CostCenter\": \"42\"}`\n" }, "displayName": { - "type": "string", - "description": "A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.\n" + "type": "string" }, "freeformTags": { "type": "object", @@ -301400,8 +303848,7 @@ "description": "(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{\"Operations.CostCenter\": \"42\"}`\n" }, "displayName": { - "type": "string", - "description": "A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.\n" + "type": "string" }, "freeformTags": { "type": "object", @@ -301452,8 +303899,7 @@ "description": "(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{\"Operations.CostCenter\": \"42\"}`\n" }, "displayName": { - "type": "string", - "description": "A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.\n" + "type": "string" }, "freeformTags": { "type": "object", @@ -309249,6 +311695,475 @@ "type": "object" } }, + "oci:ComputeCloud/atCustomerCccInfrastructure:AtCustomerCccInfrastructure": { + "description": "This resource provides the Ccc Infrastructure resource in Oracle Cloud Infrastructure Compute Cloud At Customer service.\n\nCreates a Compute Cloud@Customer infrastructure. Once created, Oracle Services\nmust connect the rack in the data center to this Oracle Cloud Infrastructure resource.\n\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testCccInfrastructure = new oci.computecloud.AtCustomerCccInfrastructure(\"testCccInfrastructure\", {\n compartmentId: _var.compartment_id,\n displayName: _var.ccc_infrastructure_display_name,\n subnetId: oci_core_subnet.test_subnet.id,\n cccUpgradeScheduleId: oci_compute_cloud_at_customer_ccc_upgrade_schedule.test_ccc_upgrade_schedule.id,\n connectionDetails: _var.ccc_infrastructure_connection_details,\n connectionState: _var.ccc_infrastructure_connection_state,\n definedTags: {\n \"foo-namespace.bar-key\": \"value\",\n },\n description: _var.ccc_infrastructure_description,\n freeformTags: {\n \"bar-key\": \"value\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_ccc_infrastructure = oci.compute_cloud.AtCustomerCccInfrastructure(\"testCccInfrastructure\",\n compartment_id=var[\"compartment_id\"],\n display_name=var[\"ccc_infrastructure_display_name\"],\n subnet_id=oci_core_subnet[\"test_subnet\"][\"id\"],\n ccc_upgrade_schedule_id=oci_compute_cloud_at_customer_ccc_upgrade_schedule[\"test_ccc_upgrade_schedule\"][\"id\"],\n connection_details=var[\"ccc_infrastructure_connection_details\"],\n connection_state=var[\"ccc_infrastructure_connection_state\"],\n defined_tags={\n \"foo-namespace.bar-key\": \"value\",\n },\n description=var[\"ccc_infrastructure_description\"],\n freeform_tags={\n \"bar-key\": \"value\",\n })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Oci = Pulumi.Oci;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var testCccInfrastructure = new Oci.ComputeCloud.AtCustomerCccInfrastructure(\"testCccInfrastructure\", new()\n {\n CompartmentId = @var.Compartment_id,\n DisplayName = @var.Ccc_infrastructure_display_name,\n SubnetId = oci_core_subnet.Test_subnet.Id,\n CccUpgradeScheduleId = oci_compute_cloud_at_customer_ccc_upgrade_schedule.Test_ccc_upgrade_schedule.Id,\n ConnectionDetails = @var.Ccc_infrastructure_connection_details,\n ConnectionState = @var.Ccc_infrastructure_connection_state,\n DefinedTags = \n {\n { \"foo-namespace.bar-key\", \"value\" },\n },\n Description = @var.Ccc_infrastructure_description,\n FreeformTags = \n {\n { \"bar-key\", \"value\" },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/go/oci/ComputeCloud\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := ComputeCloud.NewAtCustomerCccInfrastructure(ctx, \"testCccInfrastructure\", \u0026ComputeCloud.AtCustomerCccInfrastructureArgs{\n\t\t\tCompartmentId: pulumi.Any(_var.Compartment_id),\n\t\t\tDisplayName: pulumi.Any(_var.Ccc_infrastructure_display_name),\n\t\t\tSubnetId: pulumi.Any(oci_core_subnet.Test_subnet.Id),\n\t\t\tCccUpgradeScheduleId: pulumi.Any(oci_compute_cloud_at_customer_ccc_upgrade_schedule.Test_ccc_upgrade_schedule.Id),\n\t\t\tConnectionDetails: pulumi.Any(_var.Ccc_infrastructure_connection_details),\n\t\t\tConnectionState: pulumi.Any(_var.Ccc_infrastructure_connection_state),\n\t\t\tDefinedTags: pulumi.AnyMap{\n\t\t\t\t\"foo-namespace.bar-key\": pulumi.Any(\"value\"),\n\t\t\t},\n\t\t\tDescription: pulumi.Any(_var.Ccc_infrastructure_description),\n\t\t\tFreeformTags: pulumi.AnyMap{\n\t\t\t\t\"bar-key\": pulumi.Any(\"value\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.oci.ComputeCloud.AtCustomerCccInfrastructure;\nimport com.pulumi.oci.ComputeCloud.AtCustomerCccInfrastructureArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var testCccInfrastructure = new AtCustomerCccInfrastructure(\"testCccInfrastructure\", AtCustomerCccInfrastructureArgs.builder() \n .compartmentId(var_.compartment_id())\n .displayName(var_.ccc_infrastructure_display_name())\n .subnetId(oci_core_subnet.test_subnet().id())\n .cccUpgradeScheduleId(oci_compute_cloud_at_customer_ccc_upgrade_schedule.test_ccc_upgrade_schedule().id())\n .connectionDetails(var_.ccc_infrastructure_connection_details())\n .connectionState(var_.ccc_infrastructure_connection_state())\n .definedTags(Map.of(\"foo-namespace.bar-key\", \"value\"))\n .description(var_.ccc_infrastructure_description())\n .freeformTags(Map.of(\"bar-key\", \"value\"))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testCccInfrastructure:\n type: oci:ComputeCloud:AtCustomerCccInfrastructure\n properties:\n #Required\n compartmentId: ${var.compartment_id}\n displayName: ${var.ccc_infrastructure_display_name}\n subnetId: ${oci_core_subnet.test_subnet.id}\n #Optional\n cccUpgradeScheduleId: ${oci_compute_cloud_at_customer_ccc_upgrade_schedule.test_ccc_upgrade_schedule.id}\n connectionDetails: ${var.ccc_infrastructure_connection_details}\n connectionState: ${var.ccc_infrastructure_connection_state}\n definedTags:\n foo-namespace.bar-key: value\n description: ${var.ccc_infrastructure_description}\n freeformTags:\n bar-key: value\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nCccInfrastructures can be imported using the `id`, e.g.\n\n```sh\n $ pulumi import oci:ComputeCloud/atCustomerCccInfrastructure:AtCustomerCccInfrastructure test_ccc_infrastructure \"id\"\n```\n ", + "properties": { + "cccUpgradeScheduleId": { + "type": "string", + "description": "(Updatable) Schedule used for upgrades. If no schedule is associated with the infrastructure, it can be upgraded at any time.\n" + }, + "compartmentId": { + "type": "string", + "description": "(Updatable) The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with the infrastructure.\n" + }, + "connectionDetails": { + "type": "string", + "description": "(Updatable) A message describing the current connection state in more detail.\n" + }, + "connectionState": { + "type": "string", + "description": "(Updatable) The current connection state of the Compute Cloud@Customer infrastructure. This value will default to REJECT if the value is not provided. The only valid value at creation time is REJECT.\n" + }, + "definedTags": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"foo-namespace.bar-key\": \"value\"}`\n" + }, + "description": { + "type": "string", + "description": "(Updatable) A mutable client-meaningful text description of the Compute Cloud@Customer infrastructure. Avoid entering confidential information.\n" + }, + "displayName": { + "type": "string", + "description": "(Updatable) The name that will be used to display the Compute Cloud@Customer infrastructure in the Oracle Cloud Infrastructure console. Does not have to be unique and can be changed. Avoid entering confidential information.\n" + }, + "freeformTags": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{\"bar-key\": \"value\"}`\n" + }, + "infrastructureInventories": { + "type": "array", + "items": { + "$ref": "#/types/oci:ComputeCloud/AtCustomerCccInfrastructureInfrastructureInventory:AtCustomerCccInfrastructureInfrastructureInventory" + }, + "description": "Inventory for a Compute Cloud@Customer infrastructure. This information cannot be updated and is from the infrastructure. The information will only be available after the connectionState is transitioned to CONNECTED.\n" + }, + "infrastructureNetworkConfigurations": { + "type": "array", + "items": { + "$ref": "#/types/oci:ComputeCloud/AtCustomerCccInfrastructureInfrastructureNetworkConfiguration:AtCustomerCccInfrastructureInfrastructureNetworkConfiguration" + }, + "description": "Configuration information for the Compute Cloud@Customer infrastructure. This network configuration information cannot be updated and is retrieved from the data center. The information will only be available after the connectionState is transitioned to CONNECTED.\n" + }, + "lifecycleDetails": { + "type": "string", + "description": "A message describing the current lifecycle state in more detail. For example, this can be used to provide actionable information for a resource that is in a Failed state.\n" + }, + "provisioningFingerprint": { + "type": "string", + "description": "Fingerprint of a Compute Cloud@Customer infrastructure in a data center generated during the initial connection to this resource. The fingerprint should be verified by the administrator when changing the connectionState from REQUEST to READY.\n" + }, + "provisioningPin": { + "type": "string", + "description": "Code that is required for service personnel to connect a Compute Cloud@Customer infrastructure in a data center to this resource. This code will only be available when the connectionState is REJECT (usually at create time of the Compute Cloud@Customer infrastructure).\n" + }, + "shortName": { + "type": "string", + "description": "The Compute Cloud@Customer infrastructure short name. This cannot be changed once created. The short name is used to refer to the infrastructure in several contexts and is unique.\n" + }, + "state": { + "type": "string", + "description": "The current state of the Compute Cloud@Customer infrastructure.\n" + }, + "subnetId": { + "type": "string", + "description": "(Updatable) Identifier for network subnet that will be used to communicate with Compute Cloud@Customer infrastructure.\n\n\n** IMPORTANT **\nAny change to a property that does not support update will force the destruction and recreation of the resource with the new property values\n" + }, + "systemTags": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"orcl-cloud.free-tier-retained\": \"true\"}`\n" + }, + "timeCreated": { + "type": "string", + "description": "Compute Cloud@Customer infrastructure creation date and time, using an RFC3339 formatted datetime string.\n" + }, + "timeUpdated": { + "type": "string", + "description": "Compute Cloud@Customer infrastructure updated date and time, using an RFC3339 formatted datetime string.\n" + }, + "upgradeInformations": { + "type": "array", + "items": { + "$ref": "#/types/oci:ComputeCloud/AtCustomerCccInfrastructureUpgradeInformation:AtCustomerCccInfrastructureUpgradeInformation" + }, + "description": "Upgrade information that relates to a Compute Cloud@Customer infrastructure. This information cannot be updated.\n" + } + }, + "required": [ + "cccUpgradeScheduleId", + "compartmentId", + "connectionDetails", + "connectionState", + "definedTags", + "description", + "displayName", + "freeformTags", + "infrastructureInventories", + "infrastructureNetworkConfigurations", + "lifecycleDetails", + "provisioningFingerprint", + "provisioningPin", + "shortName", + "state", + "subnetId", + "systemTags", + "timeCreated", + "timeUpdated", + "upgradeInformations" + ], + "inputProperties": { + "cccUpgradeScheduleId": { + "type": "string", + "description": "(Updatable) Schedule used for upgrades. If no schedule is associated with the infrastructure, it can be upgraded at any time.\n" + }, + "compartmentId": { + "type": "string", + "description": "(Updatable) The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with the infrastructure.\n" + }, + "connectionDetails": { + "type": "string", + "description": "(Updatable) A message describing the current connection state in more detail.\n" + }, + "connectionState": { + "type": "string", + "description": "(Updatable) The current connection state of the Compute Cloud@Customer infrastructure. This value will default to REJECT if the value is not provided. The only valid value at creation time is REJECT.\n" + }, + "definedTags": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"foo-namespace.bar-key\": \"value\"}`\n" + }, + "description": { + "type": "string", + "description": "(Updatable) A mutable client-meaningful text description of the Compute Cloud@Customer infrastructure. Avoid entering confidential information.\n" + }, + "displayName": { + "type": "string", + "description": "(Updatable) The name that will be used to display the Compute Cloud@Customer infrastructure in the Oracle Cloud Infrastructure console. Does not have to be unique and can be changed. Avoid entering confidential information.\n" + }, + "freeformTags": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{\"bar-key\": \"value\"}`\n" + }, + "subnetId": { + "type": "string", + "description": "(Updatable) Identifier for network subnet that will be used to communicate with Compute Cloud@Customer infrastructure.\n\n\n** IMPORTANT **\nAny change to a property that does not support update will force the destruction and recreation of the resource with the new property values\n" + } + }, + "requiredInputs": [ + "compartmentId", + "displayName", + "subnetId" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering AtCustomerCccInfrastructure resources.\n", + "properties": { + "cccUpgradeScheduleId": { + "type": "string", + "description": "(Updatable) Schedule used for upgrades. If no schedule is associated with the infrastructure, it can be upgraded at any time.\n" + }, + "compartmentId": { + "type": "string", + "description": "(Updatable) The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with the infrastructure.\n" + }, + "connectionDetails": { + "type": "string", + "description": "(Updatable) A message describing the current connection state in more detail.\n" + }, + "connectionState": { + "type": "string", + "description": "(Updatable) The current connection state of the Compute Cloud@Customer infrastructure. This value will default to REJECT if the value is not provided. The only valid value at creation time is REJECT.\n" + }, + "definedTags": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"foo-namespace.bar-key\": \"value\"}`\n" + }, + "description": { + "type": "string", + "description": "(Updatable) A mutable client-meaningful text description of the Compute Cloud@Customer infrastructure. Avoid entering confidential information.\n" + }, + "displayName": { + "type": "string", + "description": "(Updatable) The name that will be used to display the Compute Cloud@Customer infrastructure in the Oracle Cloud Infrastructure console. Does not have to be unique and can be changed. Avoid entering confidential information.\n" + }, + "freeformTags": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{\"bar-key\": \"value\"}`\n" + }, + "infrastructureInventories": { + "type": "array", + "items": { + "$ref": "#/types/oci:ComputeCloud/AtCustomerCccInfrastructureInfrastructureInventory:AtCustomerCccInfrastructureInfrastructureInventory" + }, + "description": "Inventory for a Compute Cloud@Customer infrastructure. This information cannot be updated and is from the infrastructure. The information will only be available after the connectionState is transitioned to CONNECTED.\n" + }, + "infrastructureNetworkConfigurations": { + "type": "array", + "items": { + "$ref": "#/types/oci:ComputeCloud/AtCustomerCccInfrastructureInfrastructureNetworkConfiguration:AtCustomerCccInfrastructureInfrastructureNetworkConfiguration" + }, + "description": "Configuration information for the Compute Cloud@Customer infrastructure. This network configuration information cannot be updated and is retrieved from the data center. The information will only be available after the connectionState is transitioned to CONNECTED.\n" + }, + "lifecycleDetails": { + "type": "string", + "description": "A message describing the current lifecycle state in more detail. For example, this can be used to provide actionable information for a resource that is in a Failed state.\n" + }, + "provisioningFingerprint": { + "type": "string", + "description": "Fingerprint of a Compute Cloud@Customer infrastructure in a data center generated during the initial connection to this resource. The fingerprint should be verified by the administrator when changing the connectionState from REQUEST to READY.\n" + }, + "provisioningPin": { + "type": "string", + "description": "Code that is required for service personnel to connect a Compute Cloud@Customer infrastructure in a data center to this resource. This code will only be available when the connectionState is REJECT (usually at create time of the Compute Cloud@Customer infrastructure).\n" + }, + "shortName": { + "type": "string", + "description": "The Compute Cloud@Customer infrastructure short name. This cannot be changed once created. The short name is used to refer to the infrastructure in several contexts and is unique.\n" + }, + "state": { + "type": "string", + "description": "The current state of the Compute Cloud@Customer infrastructure.\n" + }, + "subnetId": { + "type": "string", + "description": "(Updatable) Identifier for network subnet that will be used to communicate with Compute Cloud@Customer infrastructure.\n\n\n** IMPORTANT **\nAny change to a property that does not support update will force the destruction and recreation of the resource with the new property values\n" + }, + "systemTags": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"orcl-cloud.free-tier-retained\": \"true\"}`\n" + }, + "timeCreated": { + "type": "string", + "description": "Compute Cloud@Customer infrastructure creation date and time, using an RFC3339 formatted datetime string.\n" + }, + "timeUpdated": { + "type": "string", + "description": "Compute Cloud@Customer infrastructure updated date and time, using an RFC3339 formatted datetime string.\n" + }, + "upgradeInformations": { + "type": "array", + "items": { + "$ref": "#/types/oci:ComputeCloud/AtCustomerCccInfrastructureUpgradeInformation:AtCustomerCccInfrastructureUpgradeInformation" + }, + "description": "Upgrade information that relates to a Compute Cloud@Customer infrastructure. This information cannot be updated.\n" + } + }, + "type": "object" + } + }, + "oci:ComputeCloud/atCustomerCccUpgradeSchedule:AtCustomerCccUpgradeSchedule": { + "description": "This resource provides the Ccc Upgrade Schedule resource in Oracle Cloud Infrastructure Compute Cloud At Customer service.\n\nCreates a new Compute Cloud@Customer upgrade schedule.\n\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testCccUpgradeSchedule = new oci.computecloud.AtCustomerCccUpgradeSchedule(\"testCccUpgradeSchedule\", {\n compartmentId: _var.compartment_id,\n displayName: _var.ccc_upgrade_schedule_display_name,\n events: [{\n description: _var.ccc_upgrade_schedule_events_description,\n scheduleEventDuration: _var.ccc_upgrade_schedule_events_schedule_event_duration,\n timeStart: _var.ccc_upgrade_schedule_events_time_start,\n scheduleEventRecurrences: _var.ccc_upgrade_schedule_events_schedule_event_recurrences,\n }],\n definedTags: {\n \"foo-namespace.bar-key\": \"value\",\n },\n description: _var.ccc_upgrade_schedule_description,\n freeformTags: {\n \"bar-key\": \"value\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_ccc_upgrade_schedule = oci.compute_cloud.AtCustomerCccUpgradeSchedule(\"testCccUpgradeSchedule\",\n compartment_id=var[\"compartment_id\"],\n display_name=var[\"ccc_upgrade_schedule_display_name\"],\n events=[oci.compute_cloud.AtCustomerCccUpgradeScheduleEventArgs(\n description=var[\"ccc_upgrade_schedule_events_description\"],\n schedule_event_duration=var[\"ccc_upgrade_schedule_events_schedule_event_duration\"],\n time_start=var[\"ccc_upgrade_schedule_events_time_start\"],\n schedule_event_recurrences=var[\"ccc_upgrade_schedule_events_schedule_event_recurrences\"],\n )],\n defined_tags={\n \"foo-namespace.bar-key\": \"value\",\n },\n description=var[\"ccc_upgrade_schedule_description\"],\n freeform_tags={\n \"bar-key\": \"value\",\n })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Oci = Pulumi.Oci;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var testCccUpgradeSchedule = new Oci.ComputeCloud.AtCustomerCccUpgradeSchedule(\"testCccUpgradeSchedule\", new()\n {\n CompartmentId = @var.Compartment_id,\n DisplayName = @var.Ccc_upgrade_schedule_display_name,\n Events = new[]\n {\n new Oci.ComputeCloud.Inputs.AtCustomerCccUpgradeScheduleEventArgs\n {\n Description = @var.Ccc_upgrade_schedule_events_description,\n ScheduleEventDuration = @var.Ccc_upgrade_schedule_events_schedule_event_duration,\n TimeStart = @var.Ccc_upgrade_schedule_events_time_start,\n ScheduleEventRecurrences = @var.Ccc_upgrade_schedule_events_schedule_event_recurrences,\n },\n },\n DefinedTags = \n {\n { \"foo-namespace.bar-key\", \"value\" },\n },\n Description = @var.Ccc_upgrade_schedule_description,\n FreeformTags = \n {\n { \"bar-key\", \"value\" },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/go/oci/ComputeCloud\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := ComputeCloud.NewAtCustomerCccUpgradeSchedule(ctx, \"testCccUpgradeSchedule\", \u0026ComputeCloud.AtCustomerCccUpgradeScheduleArgs{\n\t\t\tCompartmentId: pulumi.Any(_var.Compartment_id),\n\t\t\tDisplayName: pulumi.Any(_var.Ccc_upgrade_schedule_display_name),\n\t\t\tEvents: computecloud.AtCustomerCccUpgradeScheduleEventArray{\n\t\t\t\t\u0026computecloud.AtCustomerCccUpgradeScheduleEventArgs{\n\t\t\t\t\tDescription: pulumi.Any(_var.Ccc_upgrade_schedule_events_description),\n\t\t\t\t\tScheduleEventDuration: pulumi.Any(_var.Ccc_upgrade_schedule_events_schedule_event_duration),\n\t\t\t\t\tTimeStart: pulumi.Any(_var.Ccc_upgrade_schedule_events_time_start),\n\t\t\t\t\tScheduleEventRecurrences: pulumi.Any(_var.Ccc_upgrade_schedule_events_schedule_event_recurrences),\n\t\t\t\t},\n\t\t\t},\n\t\t\tDefinedTags: pulumi.AnyMap{\n\t\t\t\t\"foo-namespace.bar-key\": pulumi.Any(\"value\"),\n\t\t\t},\n\t\t\tDescription: pulumi.Any(_var.Ccc_upgrade_schedule_description),\n\t\t\tFreeformTags: pulumi.AnyMap{\n\t\t\t\t\"bar-key\": pulumi.Any(\"value\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.oci.ComputeCloud.AtCustomerCccUpgradeSchedule;\nimport com.pulumi.oci.ComputeCloud.AtCustomerCccUpgradeScheduleArgs;\nimport com.pulumi.oci.ComputeCloud.inputs.AtCustomerCccUpgradeScheduleEventArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var testCccUpgradeSchedule = new AtCustomerCccUpgradeSchedule(\"testCccUpgradeSchedule\", AtCustomerCccUpgradeScheduleArgs.builder() \n .compartmentId(var_.compartment_id())\n .displayName(var_.ccc_upgrade_schedule_display_name())\n .events(AtCustomerCccUpgradeScheduleEventArgs.builder()\n .description(var_.ccc_upgrade_schedule_events_description())\n .scheduleEventDuration(var_.ccc_upgrade_schedule_events_schedule_event_duration())\n .timeStart(var_.ccc_upgrade_schedule_events_time_start())\n .scheduleEventRecurrences(var_.ccc_upgrade_schedule_events_schedule_event_recurrences())\n .build())\n .definedTags(Map.of(\"foo-namespace.bar-key\", \"value\"))\n .description(var_.ccc_upgrade_schedule_description())\n .freeformTags(Map.of(\"bar-key\", \"value\"))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testCccUpgradeSchedule:\n type: oci:ComputeCloud:AtCustomerCccUpgradeSchedule\n properties:\n #Required\n compartmentId: ${var.compartment_id}\n displayName: ${var.ccc_upgrade_schedule_display_name}\n events:\n - description: ${var.ccc_upgrade_schedule_events_description}\n scheduleEventDuration: ${var.ccc_upgrade_schedule_events_schedule_event_duration}\n timeStart: ${var.ccc_upgrade_schedule_events_time_start}\n scheduleEventRecurrences: ${var.ccc_upgrade_schedule_events_schedule_event_recurrences}\n #Optional\n definedTags:\n foo-namespace.bar-key: value\n description: ${var.ccc_upgrade_schedule_description}\n freeformTags:\n bar-key: value\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nCccUpgradeSchedules can be imported using the `id`, e.g.\n\n```sh\n $ pulumi import oci:ComputeCloud/atCustomerCccUpgradeSchedule:AtCustomerCccUpgradeSchedule test_ccc_upgrade_schedule \"id\"\n```\n ", + "properties": { + "compartmentId": { + "type": "string", + "description": "(Updatable) Compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Compute Cloud@Customer Upgrade Schedule.\n" + }, + "definedTags": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"foo-namespace.bar-key\": \"value\"}`\n" + }, + "description": { + "type": "string", + "description": "(Updatable) A description of the Compute Cloud@Customer upgrade schedule time block.\n" + }, + "displayName": { + "type": "string", + "description": "(Updatable) Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information.\n" + }, + "events": { + "type": "array", + "items": { + "$ref": "#/types/oci:ComputeCloud/AtCustomerCccUpgradeScheduleEvent:AtCustomerCccUpgradeScheduleEvent" + }, + "description": "(Updatable) List of preferred times for Compute Cloud@Customer infrastructure to be upgraded.\n" + }, + "freeformTags": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{\"bar-key\": \"value\"}` \n\n\n** IMPORTANT **\nAny change to a property that does not support update will force the destruction and recreation of the resource with the new property values\n" + }, + "infrastructureIds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of Compute Cloud@Customer infrastructure [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that are using this upgrade schedule.\n" + }, + "lifecycleDetails": { + "type": "string", + "description": "A message describing the current state in more detail. For example, the message can be used to provide actionable information for a resource in a Failed state.\n" + }, + "state": { + "type": "string", + "description": "Lifecycle state of the resource.\n" + }, + "systemTags": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"orcl-cloud.free-tier-retained\": \"true\"}`\n" + }, + "timeCreated": { + "type": "string", + "description": "The time the upgrade schedule was created, using an RFC3339 formatted datetime string.\n" + }, + "timeUpdated": { + "type": "string", + "description": "The time the upgrade schedule was updated, using an RFC3339 formatted datetime string.\n" + } + }, + "required": [ + "compartmentId", + "definedTags", + "description", + "displayName", + "events", + "freeformTags", + "infrastructureIds", + "lifecycleDetails", + "state", + "systemTags", + "timeCreated", + "timeUpdated" + ], + "inputProperties": { + "compartmentId": { + "type": "string", + "description": "(Updatable) Compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Compute Cloud@Customer Upgrade Schedule.\n" + }, + "definedTags": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"foo-namespace.bar-key\": \"value\"}`\n" + }, + "description": { + "type": "string", + "description": "(Updatable) A description of the Compute Cloud@Customer upgrade schedule time block.\n" + }, + "displayName": { + "type": "string", + "description": "(Updatable) Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information.\n" + }, + "events": { + "type": "array", + "items": { + "$ref": "#/types/oci:ComputeCloud/AtCustomerCccUpgradeScheduleEvent:AtCustomerCccUpgradeScheduleEvent" + }, + "description": "(Updatable) List of preferred times for Compute Cloud@Customer infrastructure to be upgraded.\n" + }, + "freeformTags": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{\"bar-key\": \"value\"}` \n\n\n** IMPORTANT **\nAny change to a property that does not support update will force the destruction and recreation of the resource with the new property values\n" + } + }, + "requiredInputs": [ + "compartmentId", + "displayName", + "events" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering AtCustomerCccUpgradeSchedule resources.\n", + "properties": { + "compartmentId": { + "type": "string", + "description": "(Updatable) Compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Compute Cloud@Customer Upgrade Schedule.\n" + }, + "definedTags": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"foo-namespace.bar-key\": \"value\"}`\n" + }, + "description": { + "type": "string", + "description": "(Updatable) A description of the Compute Cloud@Customer upgrade schedule time block.\n" + }, + "displayName": { + "type": "string", + "description": "(Updatable) Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information.\n" + }, + "events": { + "type": "array", + "items": { + "$ref": "#/types/oci:ComputeCloud/AtCustomerCccUpgradeScheduleEvent:AtCustomerCccUpgradeScheduleEvent" + }, + "description": "(Updatable) List of preferred times for Compute Cloud@Customer infrastructure to be upgraded.\n" + }, + "freeformTags": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{\"bar-key\": \"value\"}` \n\n\n** IMPORTANT **\nAny change to a property that does not support update will force the destruction and recreation of the resource with the new property values\n" + }, + "infrastructureIds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of Compute Cloud@Customer infrastructure [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that are using this upgrade schedule.\n" + }, + "lifecycleDetails": { + "type": "string", + "description": "A message describing the current state in more detail. For example, the message can be used to provide actionable information for a resource in a Failed state.\n" + }, + "state": { + "type": "string", + "description": "Lifecycle state of the resource.\n" + }, + "systemTags": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"orcl-cloud.free-tier-retained\": \"true\"}`\n" + }, + "timeCreated": { + "type": "string", + "description": "The time the upgrade schedule was created, using an RFC3339 formatted datetime string.\n" + }, + "timeUpdated": { + "type": "string", + "description": "The time the upgrade schedule was updated, using an RFC3339 formatted datetime string.\n" + } + }, + "type": "object" + } + }, "oci:ContainerEngine/addon:Addon": { "description": "This resource provides the Addon resource in Oracle Cloud Infrastructure Container Engine service.\n\nInstall the specified addon for a cluster.\n\n\n## Import\n\nAddons can be imported using the `id`, e.g.\n\n```sh\n $ pulumi import oci:ContainerEngine/addon:Addon test_addon \"clusters/{clusterId}/addons/{addonName}\"\n```\n ", "properties": { @@ -315459,8 +318374,7 @@ "type": "object", "additionalProperties": { "$ref": "pulumi.json#/Any" - }, - "description": "Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the `metadata` object.\n" + } }, "faultDomain": { "type": "string", @@ -315675,8 +318589,7 @@ "type": "object", "additionalProperties": { "$ref": "pulumi.json#/Any" - }, - "description": "Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the `metadata` object.\n" + } }, "faultDomain": { "type": "string", @@ -315835,8 +318748,7 @@ "type": "object", "additionalProperties": { "$ref": "pulumi.json#/Any" - }, - "description": "Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the `metadata` object.\n" + } }, "faultDomain": { "type": "string", @@ -317436,24 +320348,31 @@ } }, "oci:Core/listingResourceVersionAgreement:ListingResourceVersionAgreement": { + "description": "The `oci.Core.AppCatalogListingResourceVersionAgreement` resource creates AppCatalogListingResourceVersionAgreement for a particular resource version of a listing.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testAppCatalogListingResourceVersionAgreement = new oci.core.AppCatalogListingResourceVersionAgreement(\"testAppCatalogListingResourceVersionAgreement\", {\n listingId: data.oci_core_app_catalog_listing.test_listing.id,\n listingResourceVersion: _var.app_catalog_listing_resource_version_agreement_listing_resource_version,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_app_catalog_listing_resource_version_agreement = oci.core.AppCatalogListingResourceVersionAgreement(\"testAppCatalogListingResourceVersionAgreement\",\n listing_id=data[\"oci_core_app_catalog_listing\"][\"test_listing\"][\"id\"],\n listing_resource_version=var[\"app_catalog_listing_resource_version_agreement_listing_resource_version\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Oci = Pulumi.Oci;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var testAppCatalogListingResourceVersionAgreement = new Oci.Core.AppCatalogListingResourceVersionAgreement(\"testAppCatalogListingResourceVersionAgreement\", new()\n {\n ListingId = data.Oci_core_app_catalog_listing.Test_listing.Id,\n ListingResourceVersion = @var.App_catalog_listing_resource_version_agreement_listing_resource_version,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/go/oci/Core\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := Core.NewAppCatalogListingResourceVersionAgreement(ctx, \"testAppCatalogListingResourceVersionAgreement\", \u0026Core.AppCatalogListingResourceVersionAgreementArgs{\n\t\t\tListingId: pulumi.Any(data.Oci_core_app_catalog_listing.Test_listing.Id),\n\t\t\tListingResourceVersion: pulumi.Any(_var.App_catalog_listing_resource_version_agreement_listing_resource_version),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.oci.Core.AppCatalogListingResourceVersionAgreement;\nimport com.pulumi.oci.Core.AppCatalogListingResourceVersionAgreementArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var testAppCatalogListingResourceVersionAgreement = new AppCatalogListingResourceVersionAgreement(\"testAppCatalogListingResourceVersionAgreement\", AppCatalogListingResourceVersionAgreementArgs.builder() \n .listingId(data.oci_core_app_catalog_listing().test_listing().id())\n .listingResourceVersion(var_.app_catalog_listing_resource_version_agreement_listing_resource_version())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testAppCatalogListingResourceVersionAgreement:\n type: oci:Core:AppCatalogListingResourceVersionAgreement\n properties:\n #Required\n listingId: ${data.oci_core_app_catalog_listing.test_listing.id}\n listingResourceVersion: ${var.app_catalog_listing_resource_version_agreement_listing_resource_version}\n```\n{{% /example %}}\n{{% /examples %}}", "properties": { "eulaLink": { - "type": "string" + "type": "string", + "description": "EULA link\n" }, "listingId": { - "type": "string" + "type": "string", + "description": "The OCID of the listing.\n" }, "listingResourceVersion": { - "type": "string" + "type": "string", + "description": "Listing Resource Version.\n" }, "oracleTermsOfUseLink": { - "type": "string" + "type": "string", + "description": "Oracle TOU link\n" }, "signature": { - "type": "string" + "type": "string", + "description": "A generated signature for this agreement retrieval operation which should be used in the create subscription call.\n" }, "timeRetrieved": { - "type": "string" + "type": "string", + "description": "Date and time the agreements were retrieved, in RFC3339 format. Example: `2018-03-20T12:32:53.532Z`\n" } }, "required": [ @@ -317467,10 +320386,12 @@ "inputProperties": { "listingId": { "type": "string", + "description": "The OCID of the listing.\n", "willReplaceOnChanges": true }, "listingResourceVersion": { "type": "string", + "description": "Listing Resource Version.\n", "willReplaceOnChanges": true } }, @@ -317482,24 +320403,30 @@ "description": "Input properties used for looking up and filtering ListingResourceVersionAgreement resources.\n", "properties": { "eulaLink": { - "type": "string" + "type": "string", + "description": "EULA link\n" }, "listingId": { "type": "string", + "description": "The OCID of the listing.\n", "willReplaceOnChanges": true }, "listingResourceVersion": { "type": "string", + "description": "Listing Resource Version.\n", "willReplaceOnChanges": true }, "oracleTermsOfUseLink": { - "type": "string" + "type": "string", + "description": "Oracle TOU link\n" }, "signature": { - "type": "string" + "type": "string", + "description": "A generated signature for this agreement retrieval operation which should be used in the create subscription call.\n" }, "timeRetrieved": { - "type": "string" + "type": "string", + "description": "Date and time the agreements were retrieved, in RFC3339 format. Example: `2018-03-20T12:32:53.532Z`\n" } }, "type": "object" @@ -323382,8 +326309,7 @@ "type": "object", "additionalProperties": { "$ref": "pulumi.json#/Any" - }, - "description": "A map of maps that contains the properties which are specific to the connection type. Each connection type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most connections have required properties within the \"default\" category. Example: `{\"properties\": { \"default\": { \"username\": \"user1\"}}}`\n" + } }, "state": { "type": "string", @@ -323467,8 +326393,7 @@ "type": "object", "additionalProperties": { "$ref": "pulumi.json#/Any" - }, - "description": "A map of maps that contains the properties which are specific to the connection type. Each connection type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most connections have required properties within the \"default\" category. Example: `{\"properties\": { \"default\": { \"username\": \"user1\"}}}`\n" + } }, "typeKey": { "type": "string", @@ -323532,8 +326457,7 @@ "type": "object", "additionalProperties": { "$ref": "pulumi.json#/Any" - }, - "description": "A map of maps that contains the properties which are specific to the connection type. Each connection type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most connections have required properties within the \"default\" category. Example: `{\"properties\": { \"default\": { \"username\": \"user1\"}}}`\n" + } }, "state": { "type": "string", @@ -323603,8 +326527,7 @@ "type": "object", "additionalProperties": { "$ref": "pulumi.json#/Any" - }, - "description": "A map of maps that contains the properties which are specific to the asset type. Each data asset type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most data assets have required properties within the \"default\" category. Example: `{\"properties\": { \"default\": { \"host\": \"host1\", \"port\": \"1521\", \"database\": \"orcl\"}}}`\n" + } }, "state": { "type": "string", @@ -323670,8 +326593,7 @@ "type": "object", "additionalProperties": { "$ref": "pulumi.json#/Any" - }, - "description": "A map of maps that contains the properties which are specific to the asset type. Each data asset type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most data assets have required properties within the \"default\" category. Example: `{\"properties\": { \"default\": { \"host\": \"host1\", \"port\": \"1521\", \"database\": \"orcl\"}}}`\n" + } }, "typeKey": { "type": "string", @@ -323720,8 +326642,7 @@ "type": "object", "additionalProperties": { "$ref": "pulumi.json#/Any" - }, - "description": "A map of maps that contains the properties which are specific to the asset type. Each data asset type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most data assets have required properties within the \"default\" category. Example: `{\"properties\": { \"default\": { \"host\": \"host1\", \"port\": \"1521\", \"database\": \"orcl\"}}}`\n" + } }, "state": { "type": "string", @@ -334623,7 +337544,7 @@ } }, "oci:DataScience/notebookSession:NotebookSession": { - "description": "This resource provides the Notebook Session resource in Oracle Cloud Infrastructure Data Science service.\n\nCreates a new notebook session.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testNotebookSession = new oci.datascience.NotebookSession(\"testNotebookSession\", {\n compartmentId: _var.compartment_id,\n projectId: oci_datascience_project.test_project.id,\n definedTags: {\n \"Operations.CostCenter\": \"42\",\n },\n displayName: _var.notebook_session_display_name,\n freeformTags: {\n Department: \"Finance\",\n },\n notebookSessionConfigDetails: {\n shape: _var.notebook_session_notebook_session_config_details_shape,\n blockStorageSizeInGbs: _var.notebook_session_notebook_session_config_details_block_storage_size_in_gbs,\n notebookSessionShapeConfigDetails: {\n memoryInGbs: _var.notebook_session_notebook_session_config_details_notebook_session_shape_config_details_memory_in_gbs,\n ocpus: _var.notebook_session_notebook_session_config_details_notebook_session_shape_config_details_ocpus,\n },\n subnetId: oci_core_subnet.test_subnet.id,\n },\n notebookSessionConfigurationDetails: {\n shape: _var.notebook_session_notebook_session_configuration_details_shape,\n subnetId: oci_core_subnet.test_subnet.id,\n blockStorageSizeInGbs: _var.notebook_session_notebook_session_configuration_details_block_storage_size_in_gbs,\n notebookSessionShapeConfigDetails: {\n memoryInGbs: _var.notebook_session_notebook_session_configuration_details_notebook_session_shape_config_details_memory_in_gbs,\n ocpus: _var.notebook_session_notebook_session_configuration_details_notebook_session_shape_config_details_ocpus,\n },\n },\n notebookSessionRuntimeConfigDetails: {\n customEnvironmentVariables: _var.notebook_session_notebook_session_runtime_config_details_custom_environment_variables,\n notebookSessionGitConfigDetails: {\n notebookSessionGitRepoConfigCollections: [{\n url: _var.notebook_session_notebook_session_runtime_config_details_notebook_session_git_config_details_notebook_session_git_repo_config_collection_url,\n }],\n },\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_notebook_session = oci.data_science.NotebookSession(\"testNotebookSession\",\n compartment_id=var[\"compartment_id\"],\n project_id=oci_datascience_project[\"test_project\"][\"id\"],\n defined_tags={\n \"Operations.CostCenter\": \"42\",\n },\n display_name=var[\"notebook_session_display_name\"],\n freeform_tags={\n \"Department\": \"Finance\",\n },\n notebook_session_config_details=oci.data_science.NotebookSessionNotebookSessionConfigDetailsArgs(\n shape=var[\"notebook_session_notebook_session_config_details_shape\"],\n block_storage_size_in_gbs=var[\"notebook_session_notebook_session_config_details_block_storage_size_in_gbs\"],\n notebook_session_shape_config_details=oci.data_science.NotebookSessionNotebookSessionConfigDetailsNotebookSessionShapeConfigDetailsArgs(\n memory_in_gbs=var[\"notebook_session_notebook_session_config_details_notebook_session_shape_config_details_memory_in_gbs\"],\n ocpus=var[\"notebook_session_notebook_session_config_details_notebook_session_shape_config_details_ocpus\"],\n ),\n subnet_id=oci_core_subnet[\"test_subnet\"][\"id\"],\n ),\n notebook_session_configuration_details=oci.data_science.NotebookSessionNotebookSessionConfigurationDetailsArgs(\n shape=var[\"notebook_session_notebook_session_configuration_details_shape\"],\n subnet_id=oci_core_subnet[\"test_subnet\"][\"id\"],\n block_storage_size_in_gbs=var[\"notebook_session_notebook_session_configuration_details_block_storage_size_in_gbs\"],\n notebook_session_shape_config_details=oci.data_science.NotebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetailsArgs(\n memory_in_gbs=var[\"notebook_session_notebook_session_configuration_details_notebook_session_shape_config_details_memory_in_gbs\"],\n ocpus=var[\"notebook_session_notebook_session_configuration_details_notebook_session_shape_config_details_ocpus\"],\n ),\n ),\n notebook_session_runtime_config_details=oci.data_science.NotebookSessionNotebookSessionRuntimeConfigDetailsArgs(\n custom_environment_variables=var[\"notebook_session_notebook_session_runtime_config_details_custom_environment_variables\"],\n notebook_session_git_config_details=oci.data_science.NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetailsArgs(\n notebook_session_git_repo_config_collections=[oci.data_science.NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetailsNotebookSessionGitRepoConfigCollectionArgs(\n url=var[\"notebook_session_notebook_session_runtime_config_details_notebook_session_git_config_details_notebook_session_git_repo_config_collection_url\"],\n )],\n ),\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Oci = Pulumi.Oci;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var testNotebookSession = new Oci.DataScience.NotebookSession(\"testNotebookSession\", new()\n {\n CompartmentId = @var.Compartment_id,\n ProjectId = oci_datascience_project.Test_project.Id,\n DefinedTags = \n {\n { \"Operations.CostCenter\", \"42\" },\n },\n DisplayName = @var.Notebook_session_display_name,\n FreeformTags = \n {\n { \"Department\", \"Finance\" },\n },\n NotebookSessionConfigDetails = new Oci.DataScience.Inputs.NotebookSessionNotebookSessionConfigDetailsArgs\n {\n Shape = @var.Notebook_session_notebook_session_config_details_shape,\n BlockStorageSizeInGbs = @var.Notebook_session_notebook_session_config_details_block_storage_size_in_gbs,\n NotebookSessionShapeConfigDetails = new Oci.DataScience.Inputs.NotebookSessionNotebookSessionConfigDetailsNotebookSessionShapeConfigDetailsArgs\n {\n MemoryInGbs = @var.Notebook_session_notebook_session_config_details_notebook_session_shape_config_details_memory_in_gbs,\n Ocpus = @var.Notebook_session_notebook_session_config_details_notebook_session_shape_config_details_ocpus,\n },\n SubnetId = oci_core_subnet.Test_subnet.Id,\n },\n NotebookSessionConfigurationDetails = new Oci.DataScience.Inputs.NotebookSessionNotebookSessionConfigurationDetailsArgs\n {\n Shape = @var.Notebook_session_notebook_session_configuration_details_shape,\n SubnetId = oci_core_subnet.Test_subnet.Id,\n BlockStorageSizeInGbs = @var.Notebook_session_notebook_session_configuration_details_block_storage_size_in_gbs,\n NotebookSessionShapeConfigDetails = new Oci.DataScience.Inputs.NotebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetailsArgs\n {\n MemoryInGbs = @var.Notebook_session_notebook_session_configuration_details_notebook_session_shape_config_details_memory_in_gbs,\n Ocpus = @var.Notebook_session_notebook_session_configuration_details_notebook_session_shape_config_details_ocpus,\n },\n },\n NotebookSessionRuntimeConfigDetails = new Oci.DataScience.Inputs.NotebookSessionNotebookSessionRuntimeConfigDetailsArgs\n {\n CustomEnvironmentVariables = @var.Notebook_session_notebook_session_runtime_config_details_custom_environment_variables,\n NotebookSessionGitConfigDetails = new Oci.DataScience.Inputs.NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetailsArgs\n {\n NotebookSessionGitRepoConfigCollections = new[]\n {\n new Oci.DataScience.Inputs.NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetailsNotebookSessionGitRepoConfigCollectionArgs\n {\n Url = @var.Notebook_session_notebook_session_runtime_config_details_notebook_session_git_config_details_notebook_session_git_repo_config_collection_url,\n },\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/go/oci/DataScience\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := DataScience.NewNotebookSession(ctx, \"testNotebookSession\", \u0026DataScience.NotebookSessionArgs{\n\t\t\tCompartmentId: pulumi.Any(_var.Compartment_id),\n\t\t\tProjectId: pulumi.Any(oci_datascience_project.Test_project.Id),\n\t\t\tDefinedTags: pulumi.AnyMap{\n\t\t\t\t\"Operations.CostCenter\": pulumi.Any(\"42\"),\n\t\t\t},\n\t\t\tDisplayName: pulumi.Any(_var.Notebook_session_display_name),\n\t\t\tFreeformTags: pulumi.AnyMap{\n\t\t\t\t\"Department\": pulumi.Any(\"Finance\"),\n\t\t\t},\n\t\t\tNotebookSessionConfigDetails: \u0026datascience.NotebookSessionNotebookSessionConfigDetailsArgs{\n\t\t\t\tShape: pulumi.Any(_var.Notebook_session_notebook_session_config_details_shape),\n\t\t\t\tBlockStorageSizeInGbs: pulumi.Any(_var.Notebook_session_notebook_session_config_details_block_storage_size_in_gbs),\n\t\t\t\tNotebookSessionShapeConfigDetails: \u0026datascience.NotebookSessionNotebookSessionConfigDetailsNotebookSessionShapeConfigDetailsArgs{\n\t\t\t\t\tMemoryInGbs: pulumi.Any(_var.Notebook_session_notebook_session_config_details_notebook_session_shape_config_details_memory_in_gbs),\n\t\t\t\t\tOcpus: pulumi.Any(_var.Notebook_session_notebook_session_config_details_notebook_session_shape_config_details_ocpus),\n\t\t\t\t},\n\t\t\t\tSubnetId: pulumi.Any(oci_core_subnet.Test_subnet.Id),\n\t\t\t},\n\t\t\tNotebookSessionConfigurationDetails: \u0026datascience.NotebookSessionNotebookSessionConfigurationDetailsArgs{\n\t\t\t\tShape: pulumi.Any(_var.Notebook_session_notebook_session_configuration_details_shape),\n\t\t\t\tSubnetId: pulumi.Any(oci_core_subnet.Test_subnet.Id),\n\t\t\t\tBlockStorageSizeInGbs: pulumi.Any(_var.Notebook_session_notebook_session_configuration_details_block_storage_size_in_gbs),\n\t\t\t\tNotebookSessionShapeConfigDetails: \u0026datascience.NotebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetailsArgs{\n\t\t\t\t\tMemoryInGbs: pulumi.Any(_var.Notebook_session_notebook_session_configuration_details_notebook_session_shape_config_details_memory_in_gbs),\n\t\t\t\t\tOcpus: pulumi.Any(_var.Notebook_session_notebook_session_configuration_details_notebook_session_shape_config_details_ocpus),\n\t\t\t\t},\n\t\t\t},\n\t\t\tNotebookSessionRuntimeConfigDetails: \u0026datascience.NotebookSessionNotebookSessionRuntimeConfigDetailsArgs{\n\t\t\t\tCustomEnvironmentVariables: pulumi.Any(_var.Notebook_session_notebook_session_runtime_config_details_custom_environment_variables),\n\t\t\t\tNotebookSessionGitConfigDetails: \u0026datascience.NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetailsArgs{\n\t\t\t\t\tNotebookSessionGitRepoConfigCollections: datascience.NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetailsNotebookSessionGitRepoConfigCollectionArray{\n\t\t\t\t\t\t\u0026datascience.NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetailsNotebookSessionGitRepoConfigCollectionArgs{\n\t\t\t\t\t\t\tUrl: pulumi.Any(_var.Notebook_session_notebook_session_runtime_config_details_notebook_session_git_config_details_notebook_session_git_repo_config_collection_url),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.oci.DataScience.NotebookSession;\nimport com.pulumi.oci.DataScience.NotebookSessionArgs;\nimport com.pulumi.oci.DataScience.inputs.NotebookSessionNotebookSessionConfigDetailsArgs;\nimport com.pulumi.oci.DataScience.inputs.NotebookSessionNotebookSessionConfigDetailsNotebookSessionShapeConfigDetailsArgs;\nimport com.pulumi.oci.DataScience.inputs.NotebookSessionNotebookSessionConfigurationDetailsArgs;\nimport com.pulumi.oci.DataScience.inputs.NotebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetailsArgs;\nimport com.pulumi.oci.DataScience.inputs.NotebookSessionNotebookSessionRuntimeConfigDetailsArgs;\nimport com.pulumi.oci.DataScience.inputs.NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetailsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var testNotebookSession = new NotebookSession(\"testNotebookSession\", NotebookSessionArgs.builder() \n .compartmentId(var_.compartment_id())\n .projectId(oci_datascience_project.test_project().id())\n .definedTags(Map.of(\"Operations.CostCenter\", \"42\"))\n .displayName(var_.notebook_session_display_name())\n .freeformTags(Map.of(\"Department\", \"Finance\"))\n .notebookSessionConfigDetails(NotebookSessionNotebookSessionConfigDetailsArgs.builder()\n .shape(var_.notebook_session_notebook_session_config_details_shape())\n .blockStorageSizeInGbs(var_.notebook_session_notebook_session_config_details_block_storage_size_in_gbs())\n .notebookSessionShapeConfigDetails(NotebookSessionNotebookSessionConfigDetailsNotebookSessionShapeConfigDetailsArgs.builder()\n .memoryInGbs(var_.notebook_session_notebook_session_config_details_notebook_session_shape_config_details_memory_in_gbs())\n .ocpus(var_.notebook_session_notebook_session_config_details_notebook_session_shape_config_details_ocpus())\n .build())\n .subnetId(oci_core_subnet.test_subnet().id())\n .build())\n .notebookSessionConfigurationDetails(NotebookSessionNotebookSessionConfigurationDetailsArgs.builder()\n .shape(var_.notebook_session_notebook_session_configuration_details_shape())\n .subnetId(oci_core_subnet.test_subnet().id())\n .blockStorageSizeInGbs(var_.notebook_session_notebook_session_configuration_details_block_storage_size_in_gbs())\n .notebookSessionShapeConfigDetails(NotebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetailsArgs.builder()\n .memoryInGbs(var_.notebook_session_notebook_session_configuration_details_notebook_session_shape_config_details_memory_in_gbs())\n .ocpus(var_.notebook_session_notebook_session_configuration_details_notebook_session_shape_config_details_ocpus())\n .build())\n .build())\n .notebookSessionRuntimeConfigDetails(NotebookSessionNotebookSessionRuntimeConfigDetailsArgs.builder()\n .customEnvironmentVariables(var_.notebook_session_notebook_session_runtime_config_details_custom_environment_variables())\n .notebookSessionGitConfigDetails(NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetailsArgs.builder()\n .notebookSessionGitRepoConfigCollections(NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetailsNotebookSessionGitRepoConfigCollectionArgs.builder()\n .url(var_.notebook_session_notebook_session_runtime_config_details_notebook_session_git_config_details_notebook_session_git_repo_config_collection_url())\n .build())\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testNotebookSession:\n type: oci:DataScience:NotebookSession\n properties:\n #Required\n compartmentId: ${var.compartment_id}\n projectId: ${oci_datascience_project.test_project.id}\n #Optional\n definedTags:\n Operations.CostCenter: '42'\n displayName: ${var.notebook_session_display_name}\n freeformTags:\n Department: Finance\n notebookSessionConfigDetails:\n shape: ${var.notebook_session_notebook_session_config_details_shape}\n blockStorageSizeInGbs: ${var.notebook_session_notebook_session_config_details_block_storage_size_in_gbs}\n notebookSessionShapeConfigDetails:\n memoryInGbs: ${var.notebook_session_notebook_session_config_details_notebook_session_shape_config_details_memory_in_gbs}\n ocpus: ${var.notebook_session_notebook_session_config_details_notebook_session_shape_config_details_ocpus}\n subnetId: ${oci_core_subnet.test_subnet.id}\n notebookSessionConfigurationDetails:\n shape: ${var.notebook_session_notebook_session_configuration_details_shape}\n subnetId: ${oci_core_subnet.test_subnet.id}\n blockStorageSizeInGbs: ${var.notebook_session_notebook_session_configuration_details_block_storage_size_in_gbs}\n notebookSessionShapeConfigDetails:\n memoryInGbs: ${var.notebook_session_notebook_session_configuration_details_notebook_session_shape_config_details_memory_in_gbs}\n ocpus: ${var.notebook_session_notebook_session_configuration_details_notebook_session_shape_config_details_ocpus}\n notebookSessionRuntimeConfigDetails:\n customEnvironmentVariables: ${var.notebook_session_notebook_session_runtime_config_details_custom_environment_variables}\n notebookSessionGitConfigDetails:\n notebookSessionGitRepoConfigCollections:\n - url: ${var.notebook_session_notebook_session_runtime_config_details_notebook_session_git_config_details_notebook_session_git_repo_config_collection_url}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nNotebookSessions can be imported using the `id`, e.g.\n\n```sh\n $ pulumi import oci:DataScience/notebookSession:NotebookSession test_notebook_session \"id\"\n```\n ", + "description": "This resource provides the Notebook Session resource in Oracle Cloud Infrastructure Data Science service.\n\nCreates a new notebook session.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testNotebookSession = new oci.datascience.NotebookSession(\"testNotebookSession\", {\n compartmentId: _var.compartment_id,\n projectId: oci_datascience_project.test_project.id,\n definedTags: {\n \"Operations.CostCenter\": \"42\",\n },\n displayName: _var.notebook_session_display_name,\n freeformTags: {\n Department: \"Finance\",\n },\n notebookSessionConfigDetails: {\n shape: _var.notebook_session_notebook_session_config_details_shape,\n blockStorageSizeInGbs: _var.notebook_session_notebook_session_config_details_block_storage_size_in_gbs,\n notebookSessionShapeConfigDetails: {\n memoryInGbs: _var.notebook_session_notebook_session_config_details_notebook_session_shape_config_details_memory_in_gbs,\n ocpus: _var.notebook_session_notebook_session_config_details_notebook_session_shape_config_details_ocpus,\n },\n privateEndpointId: oci_dataflow_private_endpoint.test_private_endpoint.id,\n subnetId: oci_core_subnet.test_subnet.id,\n },\n notebookSessionConfigurationDetails: {\n shape: _var.notebook_session_notebook_session_configuration_details_shape,\n subnetId: oci_core_subnet.test_subnet.id,\n blockStorageSizeInGbs: _var.notebook_session_notebook_session_configuration_details_block_storage_size_in_gbs,\n notebookSessionShapeConfigDetails: {\n memoryInGbs: _var.notebook_session_notebook_session_configuration_details_notebook_session_shape_config_details_memory_in_gbs,\n ocpus: _var.notebook_session_notebook_session_configuration_details_notebook_session_shape_config_details_ocpus,\n },\n privateEndpointId: oci_dataflow_private_endpoint.test_private_endpoint.id,\n },\n notebookSessionRuntimeConfigDetails: {\n customEnvironmentVariables: _var.notebook_session_notebook_session_runtime_config_details_custom_environment_variables,\n notebookSessionGitConfigDetails: {\n notebookSessionGitRepoConfigCollections: [{\n url: _var.notebook_session_notebook_session_runtime_config_details_notebook_session_git_config_details_notebook_session_git_repo_config_collection_url,\n }],\n },\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_notebook_session = oci.data_science.NotebookSession(\"testNotebookSession\",\n compartment_id=var[\"compartment_id\"],\n project_id=oci_datascience_project[\"test_project\"][\"id\"],\n defined_tags={\n \"Operations.CostCenter\": \"42\",\n },\n display_name=var[\"notebook_session_display_name\"],\n freeform_tags={\n \"Department\": \"Finance\",\n },\n notebook_session_config_details=oci.data_science.NotebookSessionNotebookSessionConfigDetailsArgs(\n shape=var[\"notebook_session_notebook_session_config_details_shape\"],\n block_storage_size_in_gbs=var[\"notebook_session_notebook_session_config_details_block_storage_size_in_gbs\"],\n notebook_session_shape_config_details=oci.data_science.NotebookSessionNotebookSessionConfigDetailsNotebookSessionShapeConfigDetailsArgs(\n memory_in_gbs=var[\"notebook_session_notebook_session_config_details_notebook_session_shape_config_details_memory_in_gbs\"],\n ocpus=var[\"notebook_session_notebook_session_config_details_notebook_session_shape_config_details_ocpus\"],\n ),\n private_endpoint_id=oci_dataflow_private_endpoint[\"test_private_endpoint\"][\"id\"],\n subnet_id=oci_core_subnet[\"test_subnet\"][\"id\"],\n ),\n notebook_session_configuration_details=oci.data_science.NotebookSessionNotebookSessionConfigurationDetailsArgs(\n shape=var[\"notebook_session_notebook_session_configuration_details_shape\"],\n subnet_id=oci_core_subnet[\"test_subnet\"][\"id\"],\n block_storage_size_in_gbs=var[\"notebook_session_notebook_session_configuration_details_block_storage_size_in_gbs\"],\n notebook_session_shape_config_details=oci.data_science.NotebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetailsArgs(\n memory_in_gbs=var[\"notebook_session_notebook_session_configuration_details_notebook_session_shape_config_details_memory_in_gbs\"],\n ocpus=var[\"notebook_session_notebook_session_configuration_details_notebook_session_shape_config_details_ocpus\"],\n ),\n private_endpoint_id=oci_dataflow_private_endpoint[\"test_private_endpoint\"][\"id\"],\n ),\n notebook_session_runtime_config_details=oci.data_science.NotebookSessionNotebookSessionRuntimeConfigDetailsArgs(\n custom_environment_variables=var[\"notebook_session_notebook_session_runtime_config_details_custom_environment_variables\"],\n notebook_session_git_config_details=oci.data_science.NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetailsArgs(\n notebook_session_git_repo_config_collections=[oci.data_science.NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetailsNotebookSessionGitRepoConfigCollectionArgs(\n url=var[\"notebook_session_notebook_session_runtime_config_details_notebook_session_git_config_details_notebook_session_git_repo_config_collection_url\"],\n )],\n ),\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Oci = Pulumi.Oci;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var testNotebookSession = new Oci.DataScience.NotebookSession(\"testNotebookSession\", new()\n {\n CompartmentId = @var.Compartment_id,\n ProjectId = oci_datascience_project.Test_project.Id,\n DefinedTags = \n {\n { \"Operations.CostCenter\", \"42\" },\n },\n DisplayName = @var.Notebook_session_display_name,\n FreeformTags = \n {\n { \"Department\", \"Finance\" },\n },\n NotebookSessionConfigDetails = new Oci.DataScience.Inputs.NotebookSessionNotebookSessionConfigDetailsArgs\n {\n Shape = @var.Notebook_session_notebook_session_config_details_shape,\n BlockStorageSizeInGbs = @var.Notebook_session_notebook_session_config_details_block_storage_size_in_gbs,\n NotebookSessionShapeConfigDetails = new Oci.DataScience.Inputs.NotebookSessionNotebookSessionConfigDetailsNotebookSessionShapeConfigDetailsArgs\n {\n MemoryInGbs = @var.Notebook_session_notebook_session_config_details_notebook_session_shape_config_details_memory_in_gbs,\n Ocpus = @var.Notebook_session_notebook_session_config_details_notebook_session_shape_config_details_ocpus,\n },\n PrivateEndpointId = oci_dataflow_private_endpoint.Test_private_endpoint.Id,\n SubnetId = oci_core_subnet.Test_subnet.Id,\n },\n NotebookSessionConfigurationDetails = new Oci.DataScience.Inputs.NotebookSessionNotebookSessionConfigurationDetailsArgs\n {\n Shape = @var.Notebook_session_notebook_session_configuration_details_shape,\n SubnetId = oci_core_subnet.Test_subnet.Id,\n BlockStorageSizeInGbs = @var.Notebook_session_notebook_session_configuration_details_block_storage_size_in_gbs,\n NotebookSessionShapeConfigDetails = new Oci.DataScience.Inputs.NotebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetailsArgs\n {\n MemoryInGbs = @var.Notebook_session_notebook_session_configuration_details_notebook_session_shape_config_details_memory_in_gbs,\n Ocpus = @var.Notebook_session_notebook_session_configuration_details_notebook_session_shape_config_details_ocpus,\n },\n PrivateEndpointId = oci_dataflow_private_endpoint.Test_private_endpoint.Id,\n },\n NotebookSessionRuntimeConfigDetails = new Oci.DataScience.Inputs.NotebookSessionNotebookSessionRuntimeConfigDetailsArgs\n {\n CustomEnvironmentVariables = @var.Notebook_session_notebook_session_runtime_config_details_custom_environment_variables,\n NotebookSessionGitConfigDetails = new Oci.DataScience.Inputs.NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetailsArgs\n {\n NotebookSessionGitRepoConfigCollections = new[]\n {\n new Oci.DataScience.Inputs.NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetailsNotebookSessionGitRepoConfigCollectionArgs\n {\n Url = @var.Notebook_session_notebook_session_runtime_config_details_notebook_session_git_config_details_notebook_session_git_repo_config_collection_url,\n },\n },\n },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/go/oci/DataScience\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := DataScience.NewNotebookSession(ctx, \"testNotebookSession\", \u0026DataScience.NotebookSessionArgs{\n\t\t\tCompartmentId: pulumi.Any(_var.Compartment_id),\n\t\t\tProjectId: pulumi.Any(oci_datascience_project.Test_project.Id),\n\t\t\tDefinedTags: pulumi.AnyMap{\n\t\t\t\t\"Operations.CostCenter\": pulumi.Any(\"42\"),\n\t\t\t},\n\t\t\tDisplayName: pulumi.Any(_var.Notebook_session_display_name),\n\t\t\tFreeformTags: pulumi.AnyMap{\n\t\t\t\t\"Department\": pulumi.Any(\"Finance\"),\n\t\t\t},\n\t\t\tNotebookSessionConfigDetails: \u0026datascience.NotebookSessionNotebookSessionConfigDetailsArgs{\n\t\t\t\tShape: pulumi.Any(_var.Notebook_session_notebook_session_config_details_shape),\n\t\t\t\tBlockStorageSizeInGbs: pulumi.Any(_var.Notebook_session_notebook_session_config_details_block_storage_size_in_gbs),\n\t\t\t\tNotebookSessionShapeConfigDetails: \u0026datascience.NotebookSessionNotebookSessionConfigDetailsNotebookSessionShapeConfigDetailsArgs{\n\t\t\t\t\tMemoryInGbs: pulumi.Any(_var.Notebook_session_notebook_session_config_details_notebook_session_shape_config_details_memory_in_gbs),\n\t\t\t\t\tOcpus: pulumi.Any(_var.Notebook_session_notebook_session_config_details_notebook_session_shape_config_details_ocpus),\n\t\t\t\t},\n\t\t\t\tPrivateEndpointId: pulumi.Any(oci_dataflow_private_endpoint.Test_private_endpoint.Id),\n\t\t\t\tSubnetId: pulumi.Any(oci_core_subnet.Test_subnet.Id),\n\t\t\t},\n\t\t\tNotebookSessionConfigurationDetails: \u0026datascience.NotebookSessionNotebookSessionConfigurationDetailsArgs{\n\t\t\t\tShape: pulumi.Any(_var.Notebook_session_notebook_session_configuration_details_shape),\n\t\t\t\tSubnetId: pulumi.Any(oci_core_subnet.Test_subnet.Id),\n\t\t\t\tBlockStorageSizeInGbs: pulumi.Any(_var.Notebook_session_notebook_session_configuration_details_block_storage_size_in_gbs),\n\t\t\t\tNotebookSessionShapeConfigDetails: \u0026datascience.NotebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetailsArgs{\n\t\t\t\t\tMemoryInGbs: pulumi.Any(_var.Notebook_session_notebook_session_configuration_details_notebook_session_shape_config_details_memory_in_gbs),\n\t\t\t\t\tOcpus: pulumi.Any(_var.Notebook_session_notebook_session_configuration_details_notebook_session_shape_config_details_ocpus),\n\t\t\t\t},\n\t\t\t\tPrivateEndpointId: pulumi.Any(oci_dataflow_private_endpoint.Test_private_endpoint.Id),\n\t\t\t},\n\t\t\tNotebookSessionRuntimeConfigDetails: \u0026datascience.NotebookSessionNotebookSessionRuntimeConfigDetailsArgs{\n\t\t\t\tCustomEnvironmentVariables: pulumi.Any(_var.Notebook_session_notebook_session_runtime_config_details_custom_environment_variables),\n\t\t\t\tNotebookSessionGitConfigDetails: \u0026datascience.NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetailsArgs{\n\t\t\t\t\tNotebookSessionGitRepoConfigCollections: datascience.NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetailsNotebookSessionGitRepoConfigCollectionArray{\n\t\t\t\t\t\t\u0026datascience.NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetailsNotebookSessionGitRepoConfigCollectionArgs{\n\t\t\t\t\t\t\tUrl: pulumi.Any(_var.Notebook_session_notebook_session_runtime_config_details_notebook_session_git_config_details_notebook_session_git_repo_config_collection_url),\n\t\t\t\t\t\t},\n\t\t\t\t\t},\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.oci.DataScience.NotebookSession;\nimport com.pulumi.oci.DataScience.NotebookSessionArgs;\nimport com.pulumi.oci.DataScience.inputs.NotebookSessionNotebookSessionConfigDetailsArgs;\nimport com.pulumi.oci.DataScience.inputs.NotebookSessionNotebookSessionConfigDetailsNotebookSessionShapeConfigDetailsArgs;\nimport com.pulumi.oci.DataScience.inputs.NotebookSessionNotebookSessionConfigurationDetailsArgs;\nimport com.pulumi.oci.DataScience.inputs.NotebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetailsArgs;\nimport com.pulumi.oci.DataScience.inputs.NotebookSessionNotebookSessionRuntimeConfigDetailsArgs;\nimport com.pulumi.oci.DataScience.inputs.NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetailsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var testNotebookSession = new NotebookSession(\"testNotebookSession\", NotebookSessionArgs.builder() \n .compartmentId(var_.compartment_id())\n .projectId(oci_datascience_project.test_project().id())\n .definedTags(Map.of(\"Operations.CostCenter\", \"42\"))\n .displayName(var_.notebook_session_display_name())\n .freeformTags(Map.of(\"Department\", \"Finance\"))\n .notebookSessionConfigDetails(NotebookSessionNotebookSessionConfigDetailsArgs.builder()\n .shape(var_.notebook_session_notebook_session_config_details_shape())\n .blockStorageSizeInGbs(var_.notebook_session_notebook_session_config_details_block_storage_size_in_gbs())\n .notebookSessionShapeConfigDetails(NotebookSessionNotebookSessionConfigDetailsNotebookSessionShapeConfigDetailsArgs.builder()\n .memoryInGbs(var_.notebook_session_notebook_session_config_details_notebook_session_shape_config_details_memory_in_gbs())\n .ocpus(var_.notebook_session_notebook_session_config_details_notebook_session_shape_config_details_ocpus())\n .build())\n .privateEndpointId(oci_dataflow_private_endpoint.test_private_endpoint().id())\n .subnetId(oci_core_subnet.test_subnet().id())\n .build())\n .notebookSessionConfigurationDetails(NotebookSessionNotebookSessionConfigurationDetailsArgs.builder()\n .shape(var_.notebook_session_notebook_session_configuration_details_shape())\n .subnetId(oci_core_subnet.test_subnet().id())\n .blockStorageSizeInGbs(var_.notebook_session_notebook_session_configuration_details_block_storage_size_in_gbs())\n .notebookSessionShapeConfigDetails(NotebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetailsArgs.builder()\n .memoryInGbs(var_.notebook_session_notebook_session_configuration_details_notebook_session_shape_config_details_memory_in_gbs())\n .ocpus(var_.notebook_session_notebook_session_configuration_details_notebook_session_shape_config_details_ocpus())\n .build())\n .privateEndpointId(oci_dataflow_private_endpoint.test_private_endpoint().id())\n .build())\n .notebookSessionRuntimeConfigDetails(NotebookSessionNotebookSessionRuntimeConfigDetailsArgs.builder()\n .customEnvironmentVariables(var_.notebook_session_notebook_session_runtime_config_details_custom_environment_variables())\n .notebookSessionGitConfigDetails(NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetailsArgs.builder()\n .notebookSessionGitRepoConfigCollections(NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetailsNotebookSessionGitRepoConfigCollectionArgs.builder()\n .url(var_.notebook_session_notebook_session_runtime_config_details_notebook_session_git_config_details_notebook_session_git_repo_config_collection_url())\n .build())\n .build())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testNotebookSession:\n type: oci:DataScience:NotebookSession\n properties:\n #Required\n compartmentId: ${var.compartment_id}\n projectId: ${oci_datascience_project.test_project.id}\n #Optional\n definedTags:\n Operations.CostCenter: '42'\n displayName: ${var.notebook_session_display_name}\n freeformTags:\n Department: Finance\n notebookSessionConfigDetails:\n shape: ${var.notebook_session_notebook_session_config_details_shape}\n blockStorageSizeInGbs: ${var.notebook_session_notebook_session_config_details_block_storage_size_in_gbs}\n notebookSessionShapeConfigDetails:\n memoryInGbs: ${var.notebook_session_notebook_session_config_details_notebook_session_shape_config_details_memory_in_gbs}\n ocpus: ${var.notebook_session_notebook_session_config_details_notebook_session_shape_config_details_ocpus}\n privateEndpointId: ${oci_dataflow_private_endpoint.test_private_endpoint.id}\n subnetId: ${oci_core_subnet.test_subnet.id}\n notebookSessionConfigurationDetails:\n shape: ${var.notebook_session_notebook_session_configuration_details_shape}\n subnetId: ${oci_core_subnet.test_subnet.id}\n blockStorageSizeInGbs: ${var.notebook_session_notebook_session_configuration_details_block_storage_size_in_gbs}\n notebookSessionShapeConfigDetails:\n memoryInGbs: ${var.notebook_session_notebook_session_configuration_details_notebook_session_shape_config_details_memory_in_gbs}\n ocpus: ${var.notebook_session_notebook_session_configuration_details_notebook_session_shape_config_details_ocpus}\n privateEndpointId: ${oci_dataflow_private_endpoint.test_private_endpoint.id}\n notebookSessionRuntimeConfigDetails:\n customEnvironmentVariables: ${var.notebook_session_notebook_session_runtime_config_details_custom_environment_variables}\n notebookSessionGitConfigDetails:\n notebookSessionGitRepoConfigCollections:\n - url: ${var.notebook_session_notebook_session_runtime_config_details_notebook_session_git_config_details_notebook_session_git_repo_config_collection_url}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nNotebookSessions can be imported using the `id`, e.g.\n\n```sh\n $ pulumi import oci:DataScience/notebookSession:NotebookSession test_notebook_session \"id\"\n```\n ", "properties": { "compartmentId": { "type": "string", @@ -335393,6 +338314,230 @@ "type": "object" } }, + "oci:DataScience/privateEndpoint:PrivateEndpoint": { + "description": "This resource provides the Data Science Private Endpoint resource in Oracle Cloud Infrastructure Data Science service.\n\nCreates a Data Science private endpoint to be used by a Data Science resource.\n\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testDataSciencePrivateEndpoint = new oci.datascience.PrivateEndpoint(\"testDataSciencePrivateEndpoint\", {\n compartmentId: _var.compartment_id,\n dataScienceResourceType: _var.data_science_private_endpoint_data_science_resource_type,\n subnetId: oci_core_subnet.test_subnet.id,\n definedTags: {\n \"Operations.CostCenter\": \"42\",\n },\n description: _var.data_science_private_endpoint_description,\n displayName: _var.data_science_private_endpoint_display_name,\n freeformTags: {\n Department: \"Finance\",\n },\n nsgIds: _var.data_science_private_endpoint_nsg_ids,\n subDomain: _var.data_science_private_endpoint_sub_domain,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_data_science_private_endpoint = oci.data_science.PrivateEndpoint(\"testDataSciencePrivateEndpoint\",\n compartment_id=var[\"compartment_id\"],\n data_science_resource_type=var[\"data_science_private_endpoint_data_science_resource_type\"],\n subnet_id=oci_core_subnet[\"test_subnet\"][\"id\"],\n defined_tags={\n \"Operations.CostCenter\": \"42\",\n },\n description=var[\"data_science_private_endpoint_description\"],\n display_name=var[\"data_science_private_endpoint_display_name\"],\n freeform_tags={\n \"Department\": \"Finance\",\n },\n nsg_ids=var[\"data_science_private_endpoint_nsg_ids\"],\n sub_domain=var[\"data_science_private_endpoint_sub_domain\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Oci = Pulumi.Oci;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var testDataSciencePrivateEndpoint = new Oci.DataScience.PrivateEndpoint(\"testDataSciencePrivateEndpoint\", new()\n {\n CompartmentId = @var.Compartment_id,\n DataScienceResourceType = @var.Data_science_private_endpoint_data_science_resource_type,\n SubnetId = oci_core_subnet.Test_subnet.Id,\n DefinedTags = \n {\n { \"Operations.CostCenter\", \"42\" },\n },\n Description = @var.Data_science_private_endpoint_description,\n DisplayName = @var.Data_science_private_endpoint_display_name,\n FreeformTags = \n {\n { \"Department\", \"Finance\" },\n },\n NsgIds = @var.Data_science_private_endpoint_nsg_ids,\n SubDomain = @var.Data_science_private_endpoint_sub_domain,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/go/oci/DataScience\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := DataScience.NewPrivateEndpoint(ctx, \"testDataSciencePrivateEndpoint\", \u0026DataScience.PrivateEndpointArgs{\n\t\t\tCompartmentId: pulumi.Any(_var.Compartment_id),\n\t\t\tDataScienceResourceType: pulumi.Any(_var.Data_science_private_endpoint_data_science_resource_type),\n\t\t\tSubnetId: pulumi.Any(oci_core_subnet.Test_subnet.Id),\n\t\t\tDefinedTags: pulumi.AnyMap{\n\t\t\t\t\"Operations.CostCenter\": pulumi.Any(\"42\"),\n\t\t\t},\n\t\t\tDescription: pulumi.Any(_var.Data_science_private_endpoint_description),\n\t\t\tDisplayName: pulumi.Any(_var.Data_science_private_endpoint_display_name),\n\t\t\tFreeformTags: pulumi.AnyMap{\n\t\t\t\t\"Department\": pulumi.Any(\"Finance\"),\n\t\t\t},\n\t\t\tNsgIds: pulumi.Any(_var.Data_science_private_endpoint_nsg_ids),\n\t\t\tSubDomain: pulumi.Any(_var.Data_science_private_endpoint_sub_domain),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.oci.DataScience.PrivateEndpoint;\nimport com.pulumi.oci.DataScience.PrivateEndpointArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var testDataSciencePrivateEndpoint = new PrivateEndpoint(\"testDataSciencePrivateEndpoint\", PrivateEndpointArgs.builder() \n .compartmentId(var_.compartment_id())\n .dataScienceResourceType(var_.data_science_private_endpoint_data_science_resource_type())\n .subnetId(oci_core_subnet.test_subnet().id())\n .definedTags(Map.of(\"Operations.CostCenter\", \"42\"))\n .description(var_.data_science_private_endpoint_description())\n .displayName(var_.data_science_private_endpoint_display_name())\n .freeformTags(Map.of(\"Department\", \"Finance\"))\n .nsgIds(var_.data_science_private_endpoint_nsg_ids())\n .subDomain(var_.data_science_private_endpoint_sub_domain())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testDataSciencePrivateEndpoint:\n type: oci:DataScience:PrivateEndpoint\n properties:\n #Required\n compartmentId: ${var.compartment_id}\n dataScienceResourceType: ${var.data_science_private_endpoint_data_science_resource_type}\n subnetId: ${oci_core_subnet.test_subnet.id}\n #Optional\n definedTags:\n Operations.CostCenter: '42'\n description: ${var.data_science_private_endpoint_description}\n displayName: ${var.data_science_private_endpoint_display_name}\n freeformTags:\n Department: Finance\n nsgIds: ${var.data_science_private_endpoint_nsg_ids}\n subDomain: ${var.data_science_private_endpoint_sub_domain}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nDataSciencePrivateEndpoints can be imported using the `id`, e.g.\n\n```sh\n $ pulumi import oci:DataScience/privateEndpoint:PrivateEndpoint test_data_science_private_endpoint \"id\"\n```\n ", + "properties": { + "compartmentId": { + "type": "string", + "description": "(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the private endpoint.\n" + }, + "createdBy": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user that created the private endpoint.\n" + }, + "dataScienceResourceType": { + "type": "string", + "description": "Data Science resource type.\n" + }, + "definedTags": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{\"Operations.CostCenter\": \"42\"}`\n" + }, + "description": { + "type": "string", + "description": "(Updatable) A user friendly description. Avoid entering confidential information.\n" + }, + "displayName": { + "type": "string", + "description": "(Updatable) A user friendly name. It doesn't have to be unique. Avoid entering confidential information.\n" + }, + "fqdn": { + "type": "string", + "description": "Accesing the Data Science resource using FQDN.\n" + }, + "freeformTags": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{\"Department\": \"Finance\"}`\n" + }, + "lifecycleDetails": { + "type": "string", + "description": "Details of the state of Data Science private endpoint.\n" + }, + "nsgIds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "(Updatable) An array of network security group OCIDs.\n" + }, + "state": { + "type": "string", + "description": "State of the Data Science private endpoint.\n" + }, + "subDomain": { + "type": "string", + "description": "Subdomain for a private endpoint FQDN.\n" + }, + "subnetId": { + "type": "string", + "description": "The OCID of the subnet. \n\n\n** IMPORTANT **\nAny change to a property that does not support update will force the destruction and recreation of the resource with the new property values\n" + }, + "timeCreated": { + "type": "string", + "description": "The date and time that the Data Science private endpoint was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z`\n" + }, + "timeUpdated": { + "type": "string", + "description": "The date and time that the Data Science private endpoint was updated expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z`\n" + } + }, + "required": [ + "compartmentId", + "createdBy", + "dataScienceResourceType", + "definedTags", + "description", + "displayName", + "fqdn", + "freeformTags", + "lifecycleDetails", + "nsgIds", + "state", + "subDomain", + "subnetId", + "timeCreated", + "timeUpdated" + ], + "inputProperties": { + "compartmentId": { + "type": "string", + "description": "(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the private endpoint.\n" + }, + "dataScienceResourceType": { + "type": "string", + "description": "Data Science resource type.\n", + "willReplaceOnChanges": true + }, + "definedTags": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{\"Operations.CostCenter\": \"42\"}`\n" + }, + "description": { + "type": "string", + "description": "(Updatable) A user friendly description. Avoid entering confidential information.\n" + }, + "displayName": { + "type": "string", + "description": "(Updatable) A user friendly name. It doesn't have to be unique. Avoid entering confidential information.\n" + }, + "freeformTags": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{\"Department\": \"Finance\"}`\n" + }, + "nsgIds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "(Updatable) An array of network security group OCIDs.\n" + }, + "subDomain": { + "type": "string", + "description": "Subdomain for a private endpoint FQDN.\n", + "willReplaceOnChanges": true + }, + "subnetId": { + "type": "string", + "description": "The OCID of the subnet. \n\n\n** IMPORTANT **\nAny change to a property that does not support update will force the destruction and recreation of the resource with the new property values\n", + "willReplaceOnChanges": true + } + }, + "requiredInputs": [ + "compartmentId", + "dataScienceResourceType", + "subnetId" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering PrivateEndpoint resources.\n", + "properties": { + "compartmentId": { + "type": "string", + "description": "(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the private endpoint.\n" + }, + "createdBy": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user that created the private endpoint.\n" + }, + "dataScienceResourceType": { + "type": "string", + "description": "Data Science resource type.\n", + "willReplaceOnChanges": true + }, + "definedTags": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{\"Operations.CostCenter\": \"42\"}`\n" + }, + "description": { + "type": "string", + "description": "(Updatable) A user friendly description. Avoid entering confidential information.\n" + }, + "displayName": { + "type": "string", + "description": "(Updatable) A user friendly name. It doesn't have to be unique. Avoid entering confidential information.\n" + }, + "fqdn": { + "type": "string", + "description": "Accesing the Data Science resource using FQDN.\n" + }, + "freeformTags": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "(Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{\"Department\": \"Finance\"}`\n" + }, + "lifecycleDetails": { + "type": "string", + "description": "Details of the state of Data Science private endpoint.\n" + }, + "nsgIds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "(Updatable) An array of network security group OCIDs.\n" + }, + "state": { + "type": "string", + "description": "State of the Data Science private endpoint.\n" + }, + "subDomain": { + "type": "string", + "description": "Subdomain for a private endpoint FQDN.\n", + "willReplaceOnChanges": true + }, + "subnetId": { + "type": "string", + "description": "The OCID of the subnet. \n\n\n** IMPORTANT **\nAny change to a property that does not support update will force the destruction and recreation of the resource with the new property values\n", + "willReplaceOnChanges": true + }, + "timeCreated": { + "type": "string", + "description": "The date and time that the Data Science private endpoint was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z`\n" + }, + "timeUpdated": { + "type": "string", + "description": "The date and time that the Data Science private endpoint was updated expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z`\n" + } + }, + "type": "object" + } + }, "oci:DataScience/project:Project": { "description": "This resource provides the Project resource in Oracle Cloud Infrastructure Data Science service.\n\nCreates a new project.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testProject = new oci.datascience.Project(\"testProject\", {\n compartmentId: _var.compartment_id,\n definedTags: {\n \"Operations.CostCenter\": \"42\",\n },\n description: _var.project_description,\n displayName: _var.project_display_name,\n freeformTags: {\n Department: \"Finance\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_project = oci.data_science.Project(\"testProject\",\n compartment_id=var[\"compartment_id\"],\n defined_tags={\n \"Operations.CostCenter\": \"42\",\n },\n description=var[\"project_description\"],\n display_name=var[\"project_display_name\"],\n freeform_tags={\n \"Department\": \"Finance\",\n })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Oci = Pulumi.Oci;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var testProject = new Oci.DataScience.Project(\"testProject\", new()\n {\n CompartmentId = @var.Compartment_id,\n DefinedTags = \n {\n { \"Operations.CostCenter\", \"42\" },\n },\n Description = @var.Project_description,\n DisplayName = @var.Project_display_name,\n FreeformTags = \n {\n { \"Department\", \"Finance\" },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/go/oci/DataScience\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := DataScience.NewProject(ctx, \"testProject\", \u0026DataScience.ProjectArgs{\n\t\t\tCompartmentId: pulumi.Any(_var.Compartment_id),\n\t\t\tDefinedTags: pulumi.AnyMap{\n\t\t\t\t\"Operations.CostCenter\": pulumi.Any(\"42\"),\n\t\t\t},\n\t\t\tDescription: pulumi.Any(_var.Project_description),\n\t\t\tDisplayName: pulumi.Any(_var.Project_display_name),\n\t\t\tFreeformTags: pulumi.AnyMap{\n\t\t\t\t\"Department\": pulumi.Any(\"Finance\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.oci.DataScience.Project;\nimport com.pulumi.oci.DataScience.ProjectArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var testProject = new Project(\"testProject\", ProjectArgs.builder() \n .compartmentId(var_.compartment_id())\n .definedTags(Map.of(\"Operations.CostCenter\", \"42\"))\n .description(var_.project_description())\n .displayName(var_.project_display_name())\n .freeformTags(Map.of(\"Department\", \"Finance\"))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testProject:\n type: oci:DataScience:Project\n properties:\n #Required\n compartmentId: ${var.compartment_id}\n #Optional\n definedTags:\n Operations.CostCenter: '42'\n description: ${var.project_description}\n displayName: ${var.project_display_name}\n freeformTags:\n Department: Finance\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nProjects can be imported using the `id`, e.g.\n\n```sh\n $ pulumi import oci:DataScience/project:Project test_project \"id\"\n```\n ", "properties": { @@ -337065,6 +340210,12 @@ "type": "string", "description": "Indicates the cross-region disaster recovery (DR) type of the standby Autonomous Database Serverless instance. Autonomous Data Guard (ADG) DR type provides business critical DR with a faster recovery time objective (RTO) during failover or switchover. Backup-based DR type provides lower cost DR with a slower RTO during failover or switchover.\n" }, + "resourcePoolLeaderId": { + "type": "string" + }, + "resourcePoolSummary": { + "$ref": "#/types/oci:Database/AutonomousDatabaseResourcePoolSummary:AutonomousDatabaseResourcePoolSummary" + }, "role": { "type": "string", "description": "The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled.\n" @@ -337172,6 +340323,9 @@ "type": "string", "description": "The date and time when maintenance will end.\n" }, + "timeOfJoiningResourcePool": { + "type": "string" + }, "timeOfLastFailover": { "type": "string", "description": "The timestamp of the last failover operation.\n" @@ -337314,6 +340468,8 @@ "refreshableStatus", "remoteDisasterRecoveryConfigurations", "remoteDisasterRecoveryType", + "resourcePoolLeaderId", + "resourcePoolSummary", "role", "scheduledOperations", "secretId", @@ -337334,6 +340490,7 @@ "timeLocalDataGuardEnabled", "timeMaintenanceBegin", "timeMaintenanceEnd", + "timeOfJoiningResourcePool", "timeOfLastFailover", "timeOfLastRefresh", "timeOfLastRefreshPoint", @@ -337576,6 +340733,12 @@ "description": "Indicates the cross-region disaster recovery (DR) type of the standby Autonomous Database Serverless instance. Autonomous Data Guard (ADG) DR type provides business critical DR with a faster recovery time objective (RTO) during failover or switchover. Backup-based DR type provides lower cost DR with a slower RTO during failover or switchover.\n", "willReplaceOnChanges": true }, + "resourcePoolLeaderId": { + "type": "string" + }, + "resourcePoolSummary": { + "$ref": "#/types/oci:Database/AutonomousDatabaseResourcePoolSummary:AutonomousDatabaseResourcePoolSummary" + }, "rotateKeyTrigger": { "type": "boolean", "description": "(Updatable) An optional property when flipped triggers rotation of KMS key. It is only applicable on dedicated databases i.e. where `is_dedicated` is true.\n" @@ -338041,6 +341204,12 @@ "description": "Indicates the cross-region disaster recovery (DR) type of the standby Autonomous Database Serverless instance. Autonomous Data Guard (ADG) DR type provides business critical DR with a faster recovery time objective (RTO) during failover or switchover. Backup-based DR type provides lower cost DR with a slower RTO during failover or switchover.\n", "willReplaceOnChanges": true }, + "resourcePoolLeaderId": { + "type": "string" + }, + "resourcePoolSummary": { + "$ref": "#/types/oci:Database/AutonomousDatabaseResourcePoolSummary:AutonomousDatabaseResourcePoolSummary" + }, "role": { "type": "string", "description": "The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled.\n" @@ -338150,6 +341319,9 @@ "type": "string", "description": "The date and time when maintenance will end.\n" }, + "timeOfJoiningResourcePool": { + "type": "string" + }, "timeOfLastFailover": { "type": "string", "description": "The timestamp of the last failover operation.\n" @@ -355073,6 +358245,9 @@ "$ref": "#/types/oci:DatabaseMigration/MigrationDataTransferMediumDetails:MigrationDataTransferMediumDetails", "description": "(Updatable) Data Transfer Medium details for the Migration. If not specified, it will default to Database Link. Only one type of data transfer medium can be specified.\n" }, + "dataTransferMediumDetailsV2": { + "$ref": "#/types/oci:DatabaseMigration/MigrationDataTransferMediumDetailsV2:MigrationDataTransferMediumDetailsV2" + }, "datapumpSettings": { "$ref": "#/types/oci:DatabaseMigration/MigrationDatapumpSettings:MigrationDatapumpSettings", "description": "(Updatable) Optional settings for Data Pump Export and Import jobs\n" @@ -355184,6 +358359,7 @@ "credentialsSecretId", "csvText", "dataTransferMediumDetails", + "dataTransferMediumDetailsV2", "datapumpSettings", "definedTags", "displayName", @@ -355229,6 +358405,9 @@ "$ref": "#/types/oci:DatabaseMigration/MigrationDataTransferMediumDetails:MigrationDataTransferMediumDetails", "description": "(Updatable) Data Transfer Medium details for the Migration. If not specified, it will default to Database Link. Only one type of data transfer medium can be specified.\n" }, + "dataTransferMediumDetailsV2": { + "$ref": "#/types/oci:DatabaseMigration/MigrationDataTransferMediumDetailsV2:MigrationDataTransferMediumDetailsV2" + }, "datapumpSettings": { "$ref": "#/types/oci:DatabaseMigration/MigrationDatapumpSettings:MigrationDatapumpSettings", "description": "(Updatable) Optional settings for Data Pump Export and Import jobs\n" @@ -355332,6 +358511,9 @@ "$ref": "#/types/oci:DatabaseMigration/MigrationDataTransferMediumDetails:MigrationDataTransferMediumDetails", "description": "(Updatable) Data Transfer Medium details for the Migration. If not specified, it will default to Database Link. Only one type of data transfer medium can be specified.\n" }, + "dataTransferMediumDetailsV2": { + "$ref": "#/types/oci:DatabaseMigration/MigrationDataTransferMediumDetailsV2:MigrationDataTransferMediumDetailsV2" + }, "datapumpSettings": { "$ref": "#/types/oci:DatabaseMigration/MigrationDatapumpSettings:MigrationDatapumpSettings", "description": "(Updatable) Optional settings for Data Pump Export and Import jobs\n" @@ -363564,7 +366746,6 @@ "compartmentId", "definedTags", "displayName", - "filesystemSnapshotPolicyId", "freeformTags", "isCloneParent", "isHydrated", @@ -368232,8 +371413,7 @@ "description": "The public IP address representing the access point for the Deployment.\n" }, "state": { - "type": "string", - "description": "Possible lifecycle states.\n" + "type": "string" }, "storageUtilizationInBytes": { "type": "string", @@ -368386,8 +371566,7 @@ "description": "(Updatable) Deployment Data for creating an OggDeployment\n" }, "state": { - "type": "string", - "description": "Possible lifecycle states.\n" + "type": "string" }, "subnetId": { "type": "string", @@ -368529,8 +371708,7 @@ "description": "The public IP address representing the access point for the Deployment.\n" }, "state": { - "type": "string", - "description": "Possible lifecycle states.\n" + "type": "string" }, "storageUtilizationInBytes": { "type": "string", @@ -386288,6 +389466,205 @@ "type": "object" } }, + "oci:Kms/ekmsPrivateEndpoint:EkmsPrivateEndpoint": { + "description": "This resource provides the Ekms Private Endpoint resource in Oracle Cloud Infrastructure Kms service.\n\nCreate a new EKMS private endpoint used to connect to external key manager system\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testEkmsPrivateEndpoint = new oci.kms.EkmsPrivateEndpoint(\"testEkmsPrivateEndpoint\", {\n caBundle: _var.ekms_private_endpoint_ca_bundle,\n compartmentId: _var.compartment_id,\n displayName: _var.ekms_private_endpoint_display_name,\n externalKeyManagerIp: _var.ekms_private_endpoint_external_key_manager_ip,\n subnetId: oci_core_subnet.test_subnet.id,\n definedTags: {\n \"foo-namespace.bar-key\": \"value\",\n },\n freeformTags: {\n \"bar-key\": \"value\",\n },\n port: _var.ekms_private_endpoint_port,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_ekms_private_endpoint = oci.kms.EkmsPrivateEndpoint(\"testEkmsPrivateEndpoint\",\n ca_bundle=var[\"ekms_private_endpoint_ca_bundle\"],\n compartment_id=var[\"compartment_id\"],\n display_name=var[\"ekms_private_endpoint_display_name\"],\n external_key_manager_ip=var[\"ekms_private_endpoint_external_key_manager_ip\"],\n subnet_id=oci_core_subnet[\"test_subnet\"][\"id\"],\n defined_tags={\n \"foo-namespace.bar-key\": \"value\",\n },\n freeform_tags={\n \"bar-key\": \"value\",\n },\n port=var[\"ekms_private_endpoint_port\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Oci = Pulumi.Oci;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var testEkmsPrivateEndpoint = new Oci.Kms.EkmsPrivateEndpoint(\"testEkmsPrivateEndpoint\", new()\n {\n CaBundle = @var.Ekms_private_endpoint_ca_bundle,\n CompartmentId = @var.Compartment_id,\n DisplayName = @var.Ekms_private_endpoint_display_name,\n ExternalKeyManagerIp = @var.Ekms_private_endpoint_external_key_manager_ip,\n SubnetId = oci_core_subnet.Test_subnet.Id,\n DefinedTags = \n {\n { \"foo-namespace.bar-key\", \"value\" },\n },\n FreeformTags = \n {\n { \"bar-key\", \"value\" },\n },\n Port = @var.Ekms_private_endpoint_port,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/go/oci/Kms\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := Kms.NewEkmsPrivateEndpoint(ctx, \"testEkmsPrivateEndpoint\", \u0026Kms.EkmsPrivateEndpointArgs{\n\t\t\tCaBundle: pulumi.Any(_var.Ekms_private_endpoint_ca_bundle),\n\t\t\tCompartmentId: pulumi.Any(_var.Compartment_id),\n\t\t\tDisplayName: pulumi.Any(_var.Ekms_private_endpoint_display_name),\n\t\t\tExternalKeyManagerIp: pulumi.Any(_var.Ekms_private_endpoint_external_key_manager_ip),\n\t\t\tSubnetId: pulumi.Any(oci_core_subnet.Test_subnet.Id),\n\t\t\tDefinedTags: pulumi.AnyMap{\n\t\t\t\t\"foo-namespace.bar-key\": pulumi.Any(\"value\"),\n\t\t\t},\n\t\t\tFreeformTags: pulumi.AnyMap{\n\t\t\t\t\"bar-key\": pulumi.Any(\"value\"),\n\t\t\t},\n\t\t\tPort: pulumi.Any(_var.Ekms_private_endpoint_port),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.oci.Kms.EkmsPrivateEndpoint;\nimport com.pulumi.oci.Kms.EkmsPrivateEndpointArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var testEkmsPrivateEndpoint = new EkmsPrivateEndpoint(\"testEkmsPrivateEndpoint\", EkmsPrivateEndpointArgs.builder() \n .caBundle(var_.ekms_private_endpoint_ca_bundle())\n .compartmentId(var_.compartment_id())\n .displayName(var_.ekms_private_endpoint_display_name())\n .externalKeyManagerIp(var_.ekms_private_endpoint_external_key_manager_ip())\n .subnetId(oci_core_subnet.test_subnet().id())\n .definedTags(Map.of(\"foo-namespace.bar-key\", \"value\"))\n .freeformTags(Map.of(\"bar-key\", \"value\"))\n .port(var_.ekms_private_endpoint_port())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testEkmsPrivateEndpoint:\n type: oci:Kms:EkmsPrivateEndpoint\n properties:\n #Required\n caBundle: ${var.ekms_private_endpoint_ca_bundle}\n compartmentId: ${var.compartment_id}\n displayName: ${var.ekms_private_endpoint_display_name}\n externalKeyManagerIp: ${var.ekms_private_endpoint_external_key_manager_ip}\n subnetId: ${oci_core_subnet.test_subnet.id}\n #Optional\n definedTags:\n foo-namespace.bar-key: value\n freeformTags:\n bar-key: value\n port: ${var.ekms_private_endpoint_port}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nEkmsPrivateEndpoints can be imported using the `id`, e.g.\n\n```sh\n $ pulumi import oci:Kms/ekmsPrivateEndpoint:EkmsPrivateEndpoint test_ekms_private_endpoint \"id\"\n```\n ", + "properties": { + "caBundle": { + "type": "string", + "description": "CABundle to validate TLS certificate of the external key manager system in PEM format\n" + }, + "compartmentId": { + "type": "string", + "description": "Compartment identifier.\n" + }, + "definedTags": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "(Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{\"foo-namespace.bar-key\": \"value\"}`\n" + }, + "displayName": { + "type": "string", + "description": "(Updatable) Display name of the EKMS private endpoint resource being created.\n" + }, + "externalKeyManagerIp": { + "type": "string", + "description": "External private IP to connect to from this EKMS private endpoint\n" + }, + "freeformTags": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "(Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{\"bar-key\": \"value\"}`\n" + }, + "lifecycleDetails": { + "type": "string", + "description": "A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state.\n" + }, + "port": { + "type": "integer", + "description": "The port of the external key manager system\n" + }, + "privateEndpointIp": { + "type": "string", + "description": "The IP address in the customer's VCN for the EKMS private endpoint. This is taken from subnet\n" + }, + "state": { + "type": "string", + "description": "The current state of the EKMS private endpoint resource.\n" + }, + "subnetId": { + "type": "string", + "description": "The OCID of subnet in which the EKMS private endpoint is to be created \n\n\n** IMPORTANT **\nAny change to a property that does not support update will force the destruction and recreation of the resource with the new property values\n" + }, + "timeCreated": { + "type": "string", + "description": "The time the EKMS private endpoint was created. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string.\n" + }, + "timeUpdated": { + "type": "string", + "description": "The time the EKMS private endpoint was updated. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string.\n" + } + }, + "required": [ + "caBundle", + "compartmentId", + "definedTags", + "displayName", + "externalKeyManagerIp", + "freeformTags", + "lifecycleDetails", + "port", + "privateEndpointIp", + "state", + "subnetId", + "timeCreated", + "timeUpdated" + ], + "inputProperties": { + "caBundle": { + "type": "string", + "description": "CABundle to validate TLS certificate of the external key manager system in PEM format\n", + "willReplaceOnChanges": true + }, + "compartmentId": { + "type": "string", + "description": "Compartment identifier.\n", + "willReplaceOnChanges": true + }, + "definedTags": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "(Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{\"foo-namespace.bar-key\": \"value\"}`\n" + }, + "displayName": { + "type": "string", + "description": "(Updatable) Display name of the EKMS private endpoint resource being created.\n" + }, + "externalKeyManagerIp": { + "type": "string", + "description": "External private IP to connect to from this EKMS private endpoint\n", + "willReplaceOnChanges": true + }, + "freeformTags": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "(Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{\"bar-key\": \"value\"}`\n" + }, + "port": { + "type": "integer", + "description": "The port of the external key manager system\n", + "willReplaceOnChanges": true + }, + "subnetId": { + "type": "string", + "description": "The OCID of subnet in which the EKMS private endpoint is to be created \n\n\n** IMPORTANT **\nAny change to a property that does not support update will force the destruction and recreation of the resource with the new property values\n", + "willReplaceOnChanges": true + } + }, + "requiredInputs": [ + "caBundle", + "compartmentId", + "displayName", + "externalKeyManagerIp", + "subnetId" + ], + "stateInputs": { + "description": "Input properties used for looking up and filtering EkmsPrivateEndpoint resources.\n", + "properties": { + "caBundle": { + "type": "string", + "description": "CABundle to validate TLS certificate of the external key manager system in PEM format\n", + "willReplaceOnChanges": true + }, + "compartmentId": { + "type": "string", + "description": "Compartment identifier.\n", + "willReplaceOnChanges": true + }, + "definedTags": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "(Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{\"foo-namespace.bar-key\": \"value\"}`\n" + }, + "displayName": { + "type": "string", + "description": "(Updatable) Display name of the EKMS private endpoint resource being created.\n" + }, + "externalKeyManagerIp": { + "type": "string", + "description": "External private IP to connect to from this EKMS private endpoint\n", + "willReplaceOnChanges": true + }, + "freeformTags": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "(Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{\"bar-key\": \"value\"}`\n" + }, + "lifecycleDetails": { + "type": "string", + "description": "A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state.\n" + }, + "port": { + "type": "integer", + "description": "The port of the external key manager system\n", + "willReplaceOnChanges": true + }, + "privateEndpointIp": { + "type": "string", + "description": "The IP address in the customer's VCN for the EKMS private endpoint. This is taken from subnet\n" + }, + "state": { + "type": "string", + "description": "The current state of the EKMS private endpoint resource.\n" + }, + "subnetId": { + "type": "string", + "description": "The OCID of subnet in which the EKMS private endpoint is to be created \n\n\n** IMPORTANT **\nAny change to a property that does not support update will force the destruction and recreation of the resource with the new property values\n", + "willReplaceOnChanges": true + }, + "timeCreated": { + "type": "string", + "description": "The time the EKMS private endpoint was created. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string.\n" + }, + "timeUpdated": { + "type": "string", + "description": "The time the EKMS private endpoint was updated. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string.\n" + } + }, + "type": "object" + } + }, "oci:Kms/encryptedData:EncryptedData": { "description": "This resource provides the Encrypted Data resource in Oracle Cloud Infrastructure Kms service.\n\nEncrypts data using the given [EncryptDataDetails](https://docs.cloud.oracle.com/iaas/api/#/en/key/latest/datatypes/EncryptDataDetails) resource.\nPlaintext included in the example request is a base64-encoded value of a UTF-8 string.\n\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testEncryptedData = new oci.kms.EncryptedData(\"testEncryptedData\", {\n cryptoEndpoint: _var.encrypted_data_crypto_endpoint,\n keyId: oci_kms_key.test_key.id,\n plaintext: _var.encrypted_data_plaintext,\n associatedData: _var.encrypted_data_associated_data,\n encryptionAlgorithm: _var.encrypted_data_encryption_algorithm,\n keyVersionId: oci_kms_key_version.test_key_version.id,\n loggingContext: _var.encrypted_data_logging_context,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_encrypted_data = oci.kms.EncryptedData(\"testEncryptedData\",\n crypto_endpoint=var[\"encrypted_data_crypto_endpoint\"],\n key_id=oci_kms_key[\"test_key\"][\"id\"],\n plaintext=var[\"encrypted_data_plaintext\"],\n associated_data=var[\"encrypted_data_associated_data\"],\n encryption_algorithm=var[\"encrypted_data_encryption_algorithm\"],\n key_version_id=oci_kms_key_version[\"test_key_version\"][\"id\"],\n logging_context=var[\"encrypted_data_logging_context\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Oci = Pulumi.Oci;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var testEncryptedData = new Oci.Kms.EncryptedData(\"testEncryptedData\", new()\n {\n CryptoEndpoint = @var.Encrypted_data_crypto_endpoint,\n KeyId = oci_kms_key.Test_key.Id,\n Plaintext = @var.Encrypted_data_plaintext,\n AssociatedData = @var.Encrypted_data_associated_data,\n EncryptionAlgorithm = @var.Encrypted_data_encryption_algorithm,\n KeyVersionId = oci_kms_key_version.Test_key_version.Id,\n LoggingContext = @var.Encrypted_data_logging_context,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/go/oci/Kms\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := Kms.NewEncryptedData(ctx, \"testEncryptedData\", \u0026Kms.EncryptedDataArgs{\n\t\t\tCryptoEndpoint: pulumi.Any(_var.Encrypted_data_crypto_endpoint),\n\t\t\tKeyId: pulumi.Any(oci_kms_key.Test_key.Id),\n\t\t\tPlaintext: pulumi.Any(_var.Encrypted_data_plaintext),\n\t\t\tAssociatedData: pulumi.Any(_var.Encrypted_data_associated_data),\n\t\t\tEncryptionAlgorithm: pulumi.Any(_var.Encrypted_data_encryption_algorithm),\n\t\t\tKeyVersionId: pulumi.Any(oci_kms_key_version.Test_key_version.Id),\n\t\t\tLoggingContext: pulumi.Any(_var.Encrypted_data_logging_context),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.oci.Kms.EncryptedData;\nimport com.pulumi.oci.Kms.EncryptedDataArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var testEncryptedData = new EncryptedData(\"testEncryptedData\", EncryptedDataArgs.builder() \n .cryptoEndpoint(var_.encrypted_data_crypto_endpoint())\n .keyId(oci_kms_key.test_key().id())\n .plaintext(var_.encrypted_data_plaintext())\n .associatedData(var_.encrypted_data_associated_data())\n .encryptionAlgorithm(var_.encrypted_data_encryption_algorithm())\n .keyVersionId(oci_kms_key_version.test_key_version().id())\n .loggingContext(var_.encrypted_data_logging_context())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testEncryptedData:\n type: oci:Kms:EncryptedData\n properties:\n #Required\n cryptoEndpoint: ${var.encrypted_data_crypto_endpoint}\n keyId: ${oci_kms_key.test_key.id}\n plaintext: ${var.encrypted_data_plaintext}\n #Optional\n associatedData: ${var.encrypted_data_associated_data}\n encryptionAlgorithm: ${var.encrypted_data_encryption_algorithm}\n keyVersionId: ${oci_kms_key_version.test_key_version.id}\n loggingContext: ${var.encrypted_data_logging_context}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nImport is not supported for this resource. ", "properties": { @@ -386308,7 +389685,7 @@ }, "encryptionAlgorithm": { "type": "string", - "description": "The encryption algorithm to use to encrypt and decrypt data with a customer-managed key. `AES_256_GCM` indicates that the key is a symmetric key that uses the Advanced Encryption Standard (AES) algorithm and that the mode of encryption is the Galois/Counter Mode (GCM). `RSA_OAEP_SHA_1` indicates that the key is an asymmetric key that uses the RSA encryption algorithm and uses Optimal Asymmetric Encryption Padding (OAEP). `RSA_OAEP_SHA_256` indicates that the key is an asymmetric key that uses the RSA encryption algorithm with a SHA-256 hash and uses OAEP.\n" + "description": "The encryption algorithm to use to encrypt and decrypt data with a customer-managed key. `AES_256_GCM` indicates that the key is a symmetric key that uses the Advanced Encryption Standard (AES) algorithm and that the mode of encryption is the Galois/Counter Mode (GCM). `RSA_OAEP_SHA_1` indicates that the key is an asymmetric key that uses the RSA encryption algorithm and uses Optimal Asymmetric Encryption Padding (OAEP). `RSA_OAEP_SHA_256` indicates that the key is an asymmetric key that uses the RSA encryption algorithm with a SHA-256 hash and uses OAEP.\n" }, "keyId": { "type": "string", @@ -386354,7 +389731,7 @@ }, "encryptionAlgorithm": { "type": "string", - "description": "The encryption algorithm to use to encrypt and decrypt data with a customer-managed key. `AES_256_GCM` indicates that the key is a symmetric key that uses the Advanced Encryption Standard (AES) algorithm and that the mode of encryption is the Galois/Counter Mode (GCM). `RSA_OAEP_SHA_1` indicates that the key is an asymmetric key that uses the RSA encryption algorithm and uses Optimal Asymmetric Encryption Padding (OAEP). `RSA_OAEP_SHA_256` indicates that the key is an asymmetric key that uses the RSA encryption algorithm with a SHA-256 hash and uses OAEP.\n", + "description": "The encryption algorithm to use to encrypt and decrypt data with a customer-managed key. `AES_256_GCM` indicates that the key is a symmetric key that uses the Advanced Encryption Standard (AES) algorithm and that the mode of encryption is the Galois/Counter Mode (GCM). `RSA_OAEP_SHA_1` indicates that the key is an asymmetric key that uses the RSA encryption algorithm and uses Optimal Asymmetric Encryption Padding (OAEP). `RSA_OAEP_SHA_256` indicates that the key is an asymmetric key that uses the RSA encryption algorithm with a SHA-256 hash and uses OAEP.\n", "willReplaceOnChanges": true }, "keyId": { @@ -386408,7 +389785,7 @@ }, "encryptionAlgorithm": { "type": "string", - "description": "The encryption algorithm to use to encrypt and decrypt data with a customer-managed key. `AES_256_GCM` indicates that the key is a symmetric key that uses the Advanced Encryption Standard (AES) algorithm and that the mode of encryption is the Galois/Counter Mode (GCM). `RSA_OAEP_SHA_1` indicates that the key is an asymmetric key that uses the RSA encryption algorithm and uses Optimal Asymmetric Encryption Padding (OAEP). `RSA_OAEP_SHA_256` indicates that the key is an asymmetric key that uses the RSA encryption algorithm with a SHA-256 hash and uses OAEP.\n", + "description": "The encryption algorithm to use to encrypt and decrypt data with a customer-managed key. `AES_256_GCM` indicates that the key is a symmetric key that uses the Advanced Encryption Standard (AES) algorithm and that the mode of encryption is the Galois/Counter Mode (GCM). `RSA_OAEP_SHA_1` indicates that the key is an asymmetric key that uses the RSA encryption algorithm and uses Optimal Asymmetric Encryption Padding (OAEP). `RSA_OAEP_SHA_256` indicates that the key is an asymmetric key that uses the RSA encryption algorithm with a SHA-256 hash and uses OAEP.\n", "willReplaceOnChanges": true }, "keyId": { @@ -386593,7 +389970,7 @@ } }, "oci:Kms/key:Key": { - "description": "This resource provides the Key resource in Oracle Cloud Infrastructure Kms service.\n\nCreates a new master encryption key.\n\nAs a management operation, this call is subject to a Key Management limit that applies to the total\nnumber of requests across all management write operations. Key Management might throttle this call\nto reject an otherwise valid request when the total rate of management write operations exceeds 10\nrequests per second for a given tenancy.\n\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testKey = new oci.kms.Key(\"testKey\", {\n compartmentId: _var.compartment_id,\n displayName: _var.key_display_name,\n keyShape: {\n algorithm: _var.key_key_shape_algorithm,\n length: _var.key_key_shape_length,\n curveId: oci_kms_curve.test_curve.id,\n },\n managementEndpoint: _var.key_management_endpoint,\n definedTags: {\n \"Operations.CostCenter\": \"42\",\n },\n freeformTags: {\n Department: \"Finance\",\n },\n protectionMode: _var.key_protection_mode,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_key = oci.kms.Key(\"testKey\",\n compartment_id=var[\"compartment_id\"],\n display_name=var[\"key_display_name\"],\n key_shape=oci.kms.KeyKeyShapeArgs(\n algorithm=var[\"key_key_shape_algorithm\"],\n length=var[\"key_key_shape_length\"],\n curve_id=oci_kms_curve[\"test_curve\"][\"id\"],\n ),\n management_endpoint=var[\"key_management_endpoint\"],\n defined_tags={\n \"Operations.CostCenter\": \"42\",\n },\n freeform_tags={\n \"Department\": \"Finance\",\n },\n protection_mode=var[\"key_protection_mode\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Oci = Pulumi.Oci;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var testKey = new Oci.Kms.Key(\"testKey\", new()\n {\n CompartmentId = @var.Compartment_id,\n DisplayName = @var.Key_display_name,\n KeyShape = new Oci.Kms.Inputs.KeyKeyShapeArgs\n {\n Algorithm = @var.Key_key_shape_algorithm,\n Length = @var.Key_key_shape_length,\n CurveId = oci_kms_curve.Test_curve.Id,\n },\n ManagementEndpoint = @var.Key_management_endpoint,\n DefinedTags = \n {\n { \"Operations.CostCenter\", \"42\" },\n },\n FreeformTags = \n {\n { \"Department\", \"Finance\" },\n },\n ProtectionMode = @var.Key_protection_mode,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/go/oci/Kms\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := Kms.NewKey(ctx, \"testKey\", \u0026Kms.KeyArgs{\n\t\t\tCompartmentId: pulumi.Any(_var.Compartment_id),\n\t\t\tDisplayName: pulumi.Any(_var.Key_display_name),\n\t\t\tKeyShape: \u0026kms.KeyKeyShapeArgs{\n\t\t\t\tAlgorithm: pulumi.Any(_var.Key_key_shape_algorithm),\n\t\t\t\tLength: pulumi.Any(_var.Key_key_shape_length),\n\t\t\t\tCurveId: pulumi.Any(oci_kms_curve.Test_curve.Id),\n\t\t\t},\n\t\t\tManagementEndpoint: pulumi.Any(_var.Key_management_endpoint),\n\t\t\tDefinedTags: pulumi.AnyMap{\n\t\t\t\t\"Operations.CostCenter\": pulumi.Any(\"42\"),\n\t\t\t},\n\t\t\tFreeformTags: pulumi.AnyMap{\n\t\t\t\t\"Department\": pulumi.Any(\"Finance\"),\n\t\t\t},\n\t\t\tProtectionMode: pulumi.Any(_var.Key_protection_mode),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.oci.Kms.Key;\nimport com.pulumi.oci.Kms.KeyArgs;\nimport com.pulumi.oci.Kms.inputs.KeyKeyShapeArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var testKey = new Key(\"testKey\", KeyArgs.builder() \n .compartmentId(var_.compartment_id())\n .displayName(var_.key_display_name())\n .keyShape(KeyKeyShapeArgs.builder()\n .algorithm(var_.key_key_shape_algorithm())\n .length(var_.key_key_shape_length())\n .curveId(oci_kms_curve.test_curve().id())\n .build())\n .managementEndpoint(var_.key_management_endpoint())\n .definedTags(Map.of(\"Operations.CostCenter\", \"42\"))\n .freeformTags(Map.of(\"Department\", \"Finance\"))\n .protectionMode(var_.key_protection_mode())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testKey:\n type: oci:Kms:Key\n properties:\n #Required\n compartmentId: ${var.compartment_id}\n displayName: ${var.key_display_name}\n keyShape:\n algorithm: ${var.key_key_shape_algorithm}\n length: ${var.key_key_shape_length}\n curveId: ${oci_kms_curve.test_curve.id}\n managementEndpoint: ${var.key_management_endpoint}\n #Optional\n definedTags:\n Operations.CostCenter: '42'\n freeformTags:\n Department: Finance\n protectionMode: ${var.key_protection_mode}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nKeys can be imported using the `id`, e.g.\n\n```sh\n $ pulumi import oci:Kms/key:Key test_key \"managementEndpoint/{managementEndpoint}/keys/{keyId}\"\n```\n ", + "description": "This resource provides the Key resource in Oracle Cloud Infrastructure Kms service.\n\nCreates a new master encryption key.\n\nAs a management operation, this call is subject to a Key Management limit that applies to the total\nnumber of requests across all management write operations. Key Management might throttle this call\nto reject an otherwise valid request when the total rate of management write operations exceeds 10\nrequests per second for a given tenancy.\n\n\n\n## Import\n\nKeys can be imported using the `id`, e.g.\n\n```sh\n $ pulumi import oci:Kms/key:Key test_key \"managementEndpoint/{managementEndpoint}/keys/{keyId}\"\n```\n ", "properties": { "compartmentId": { "type": "string", @@ -386618,6 +389995,17 @@ "type": "string", "description": "(Updatable) A user-friendly name for the key. It does not have to be unique, and it is changeable. Avoid entering confidential information.\n" }, + "externalKeyReference": { + "$ref": "#/types/oci:Kms/KeyExternalKeyReference:KeyExternalKeyReference", + "description": "A reference to the key on external key manager.\n" + }, + "externalKeyReferenceDetails": { + "type": "array", + "items": { + "$ref": "#/types/oci:Kms/KeyExternalKeyReferenceDetail:KeyExternalKeyReferenceDetail" + }, + "description": "Key reference data to be returned to the customer as a response.\n" + }, "freeformTags": { "type": "object", "additionalProperties": { @@ -386627,7 +390015,7 @@ }, "isPrimary": { "type": "boolean", - "description": "A boolean that will be true when key is primary, and will be false when key is a replica from a primary key.\n" + "description": "A Boolean value that indicates whether the Key belongs to primary Vault or replica vault.\n" }, "keyShape": { "$ref": "#/types/oci:Kms/KeyKeyShape:KeyKeyShape", @@ -386639,7 +390027,7 @@ }, "protectionMode": { "type": "string", - "description": "The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported.\n" + "description": "The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager.\n" }, "replicaDetails": { "type": "array", @@ -386687,6 +390075,8 @@ "definedTags", "desiredState", "displayName", + "externalKeyReference", + "externalKeyReferenceDetails", "freeformTags", "isPrimary", "keyShape", @@ -386719,6 +390109,11 @@ "type": "string", "description": "(Updatable) A user-friendly name for the key. It does not have to be unique, and it is changeable. Avoid entering confidential information.\n" }, + "externalKeyReference": { + "$ref": "#/types/oci:Kms/KeyExternalKeyReference:KeyExternalKeyReference", + "description": "A reference to the key on external key manager.\n", + "willReplaceOnChanges": true + }, "freeformTags": { "type": "object", "additionalProperties": { @@ -386738,7 +390133,7 @@ }, "protectionMode": { "type": "string", - "description": "The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported.\n", + "description": "The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager.\n", "willReplaceOnChanges": true }, "restoreFromFile": { @@ -386790,6 +390185,18 @@ "type": "string", "description": "(Updatable) A user-friendly name for the key. It does not have to be unique, and it is changeable. Avoid entering confidential information.\n" }, + "externalKeyReference": { + "$ref": "#/types/oci:Kms/KeyExternalKeyReference:KeyExternalKeyReference", + "description": "A reference to the key on external key manager.\n", + "willReplaceOnChanges": true + }, + "externalKeyReferenceDetails": { + "type": "array", + "items": { + "$ref": "#/types/oci:Kms/KeyExternalKeyReferenceDetail:KeyExternalKeyReferenceDetail" + }, + "description": "Key reference data to be returned to the customer as a response.\n" + }, "freeformTags": { "type": "object", "additionalProperties": { @@ -386799,7 +390206,7 @@ }, "isPrimary": { "type": "boolean", - "description": "A boolean that will be true when key is primary, and will be false when key is a replica from a primary key.\n" + "description": "A Boolean value that indicates whether the Key belongs to primary Vault or replica vault.\n" }, "keyShape": { "$ref": "#/types/oci:Kms/KeyKeyShape:KeyKeyShape", @@ -386813,7 +390220,7 @@ }, "protectionMode": { "type": "string", - "description": "The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported.\n", + "description": "The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager.\n", "willReplaceOnChanges": true }, "replicaDetails": { @@ -386860,15 +390267,26 @@ } }, "oci:Kms/keyVersion:KeyVersion": { - "description": "This resource provides the Key Version resource in Oracle Cloud Infrastructure Kms service.\n\nGenerates a new [KeyVersion](https://docs.cloud.oracle.com/iaas/api/#/en/key/latest/KeyVersion/) resource that provides new cryptographic\nmaterial for a master encryption key. The key must be in an `ENABLED` state to be rotated.\n\nAs a management operation, this call is subject to a Key Management limit that applies to the total number\nof requests across all management write operations. Key Management might throttle this call to reject an\notherwise valid request when the total rate of management write operations exceeds 10 requests per second\nfor a given tenancy.\n\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testKeyVersion = new oci.kms.KeyVersion(\"testKeyVersion\", {\n keyId: oci_kms_key.test_key.id,\n managementEndpoint: _var.key_version_management_endpoint,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_key_version = oci.kms.KeyVersion(\"testKeyVersion\",\n key_id=oci_kms_key[\"test_key\"][\"id\"],\n management_endpoint=var[\"key_version_management_endpoint\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Oci = Pulumi.Oci;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var testKeyVersion = new Oci.Kms.KeyVersion(\"testKeyVersion\", new()\n {\n KeyId = oci_kms_key.Test_key.Id,\n ManagementEndpoint = @var.Key_version_management_endpoint,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/go/oci/Kms\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := Kms.NewKeyVersion(ctx, \"testKeyVersion\", \u0026Kms.KeyVersionArgs{\n\t\t\tKeyId: pulumi.Any(oci_kms_key.Test_key.Id),\n\t\t\tManagementEndpoint: pulumi.Any(_var.Key_version_management_endpoint),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.oci.Kms.KeyVersion;\nimport com.pulumi.oci.Kms.KeyVersionArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var testKeyVersion = new KeyVersion(\"testKeyVersion\", KeyVersionArgs.builder() \n .keyId(oci_kms_key.test_key().id())\n .managementEndpoint(var_.key_version_management_endpoint())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testKeyVersion:\n type: oci:Kms:KeyVersion\n properties:\n #Required\n keyId: ${oci_kms_key.test_key.id}\n managementEndpoint: ${var.key_version_management_endpoint}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nKeyVersions can be imported using the `id`, e.g.\n\n```sh\n $ pulumi import oci:Kms/keyVersion:KeyVersion test_key_version \"managementEndpoint/{managementEndpoint}/keys/{keyId}/keyVersions/{keyVersionId}\"\n```\n ", + "description": "This resource provides the Key Version resource in Oracle Cloud Infrastructure Kms service.\n\nGenerates a new [KeyVersion](https://docs.cloud.oracle.com/iaas/api/#/en/key/latest/KeyVersion/) resource that provides new cryptographic\nmaterial for a master encryption key. The key must be in an `ENABLED` state to be rotated.\n\nAs a management operation, this call is subject to a Key Management limit that applies to the total number\nof requests across all management write operations. Key Management might throttle this call to reject an\notherwise valid request when the total rate of management write operations exceeds 10 requests per second\nfor a given tenancy.\n\n\n\n## Import\n\nKeyVersions can be imported using the `id`, e.g.\n\n```sh\n $ pulumi import oci:Kms/keyVersion:KeyVersion test_key_version \"managementEndpoint/{managementEndpoint}/keys/{keyId}/keyVersions/{keyVersionId}\"\n```\n ", "properties": { "compartmentId": { "type": "string", "description": "The OCID of the compartment that contains this key version.\n" }, + "externalKeyReferenceDetails": { + "type": "array", + "items": { + "$ref": "#/types/oci:Kms/KeyVersionExternalKeyReferenceDetail:KeyVersionExternalKeyReferenceDetail" + }, + "description": "Key reference data to be returned to the customer as a response.\n" + }, + "externalKeyVersionId": { + "type": "string", + "description": "Key version ID associated with the external key.\n" + }, "isPrimary": { "type": "boolean", - "description": "A boolean that will be true when key version is primary, and will be false when key version is a replica from a primary key version.\n" + "description": "A Boolean value that indicates whether the KeyVersion belongs to primary Vault or replica Vault.\n" }, "keyId": { "type": "string", @@ -386918,6 +390336,8 @@ }, "required": [ "compartmentId", + "externalKeyReferenceDetails", + "externalKeyVersionId", "isPrimary", "keyId", "keyVersionId", @@ -386932,6 +390352,11 @@ "vaultId" ], "inputProperties": { + "externalKeyVersionId": { + "type": "string", + "description": "Key version ID associated with the external key.\n", + "willReplaceOnChanges": true + }, "keyId": { "type": "string", "description": "The OCID of the key.\n", @@ -386958,9 +390383,21 @@ "type": "string", "description": "The OCID of the compartment that contains this key version.\n" }, + "externalKeyReferenceDetails": { + "type": "array", + "items": { + "$ref": "#/types/oci:Kms/KeyVersionExternalKeyReferenceDetail:KeyVersionExternalKeyReferenceDetail" + }, + "description": "Key reference data to be returned to the customer as a response.\n" + }, + "externalKeyVersionId": { + "type": "string", + "description": "Key version ID associated with the external key.\n", + "willReplaceOnChanges": true + }, "isPrimary": { "type": "boolean", - "description": "A boolean that will be true when key version is primary, and will be false when key version is a replica from a primary key version.\n" + "description": "A Boolean value that indicates whether the KeyVersion belongs to primary Vault or replica Vault.\n" }, "keyId": { "type": "string", @@ -387014,7 +390451,7 @@ } }, "oci:Kms/sign:Sign": { - "description": "This resource provides the Sign resource in Oracle Cloud Infrastructure Kms service.\n\nCreates a digital signature for a message or message digest by using the private key of a public-private key pair, \nalso known as an asymmetric key. To verify the generated signature, you can use the [Verify](https://docs.cloud.oracle.com/iaas/api/#/en/key/latest/VerifiedData/Verify) \noperation. Or, if you want to validate the signature outside of the service, you can do so by using the public key of the same asymmetric key.\n\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testSign = new oci.kms.Sign(\"testSign\", {\n cryptoEndpoint: _var.sign_message_crypto_endpoint,\n keyId: oci_kms_key.test_key.id,\n message: _var.sign_message,\n signingAlgorithm: _var.sign_signing_algorithm,\n keyVersionId: oci_kms_key_version.test_key_version.id,\n messageType: _var.sign_message_type,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_sign = oci.kms.Sign(\"testSign\",\n crypto_endpoint=var[\"sign_message_crypto_endpoint\"],\n key_id=oci_kms_key[\"test_key\"][\"id\"],\n message=var[\"sign_message\"],\n signing_algorithm=var[\"sign_signing_algorithm\"],\n key_version_id=oci_kms_key_version[\"test_key_version\"][\"id\"],\n message_type=var[\"sign_message_type\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Oci = Pulumi.Oci;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var testSign = new Oci.Kms.Sign(\"testSign\", new()\n {\n CryptoEndpoint = @var.Sign_message_crypto_endpoint,\n KeyId = oci_kms_key.Test_key.Id,\n Message = @var.Sign_message,\n SigningAlgorithm = @var.Sign_signing_algorithm,\n KeyVersionId = oci_kms_key_version.Test_key_version.Id,\n MessageType = @var.Sign_message_type,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/go/oci/Kms\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := Kms.NewSign(ctx, \"testSign\", \u0026Kms.SignArgs{\n\t\t\tCryptoEndpoint: pulumi.Any(_var.Sign_message_crypto_endpoint),\n\t\t\tKeyId: pulumi.Any(oci_kms_key.Test_key.Id),\n\t\t\tMessage: pulumi.Any(_var.Sign_message),\n\t\t\tSigningAlgorithm: pulumi.Any(_var.Sign_signing_algorithm),\n\t\t\tKeyVersionId: pulumi.Any(oci_kms_key_version.Test_key_version.Id),\n\t\t\tMessageType: pulumi.Any(_var.Sign_message_type),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.oci.Kms.Sign;\nimport com.pulumi.oci.Kms.SignArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var testSign = new Sign(\"testSign\", SignArgs.builder() \n .cryptoEndpoint(var_.sign_message_crypto_endpoint())\n .keyId(oci_kms_key.test_key().id())\n .message(var_.sign_message())\n .signingAlgorithm(var_.sign_signing_algorithm())\n .keyVersionId(oci_kms_key_version.test_key_version().id())\n .messageType(var_.sign_message_type())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testSign:\n type: oci:Kms:Sign\n properties:\n #Required\n cryptoEndpoint: ${var.sign_message_crypto_endpoint}\n keyId: ${oci_kms_key.test_key.id}\n message: ${var.sign_message}\n signingAlgorithm: ${var.sign_signing_algorithm}\n #Optional\n keyVersionId: ${oci_kms_key_version.test_key_version.id}\n messageType: ${var.sign_message_type}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nSign can be imported using the `id`, e.g.\n\n```sh\n $ pulumi import oci:Kms/sign:Sign test_sign \"id\"\n```\n ", + "description": "This resource provides the Sign resource in Oracle Cloud Infrastructure Kms service.\n\nCreates a digital signature for a message or message digest by using the private key of a public-private key pair,\nalso known as an asymmetric key. To verify the generated signature, you can use the [Verify](https://docs.cloud.oracle.com/iaas/api/#/en/key/latest/VerifiedData/Verify)\noperation. Or, if you want to validate the signature outside of the service, you can do so by using the public key of the same asymmetric key.\nThis operation is not supported for keys having protection mode `EXTERNAL`.\n\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testSign = new oci.kms.Sign(\"testSign\", {\n cryptoEndpoint: _var.sign_message_crypto_endpoint,\n keyId: oci_kms_key.test_key.id,\n message: _var.sign_message,\n signingAlgorithm: _var.sign_signing_algorithm,\n keyVersionId: oci_kms_key_version.test_key_version.id,\n messageType: _var.sign_message_type,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_sign = oci.kms.Sign(\"testSign\",\n crypto_endpoint=var[\"sign_message_crypto_endpoint\"],\n key_id=oci_kms_key[\"test_key\"][\"id\"],\n message=var[\"sign_message\"],\n signing_algorithm=var[\"sign_signing_algorithm\"],\n key_version_id=oci_kms_key_version[\"test_key_version\"][\"id\"],\n message_type=var[\"sign_message_type\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Oci = Pulumi.Oci;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var testSign = new Oci.Kms.Sign(\"testSign\", new()\n {\n CryptoEndpoint = @var.Sign_message_crypto_endpoint,\n KeyId = oci_kms_key.Test_key.Id,\n Message = @var.Sign_message,\n SigningAlgorithm = @var.Sign_signing_algorithm,\n KeyVersionId = oci_kms_key_version.Test_key_version.Id,\n MessageType = @var.Sign_message_type,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/go/oci/Kms\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := Kms.NewSign(ctx, \"testSign\", \u0026Kms.SignArgs{\n\t\t\tCryptoEndpoint: pulumi.Any(_var.Sign_message_crypto_endpoint),\n\t\t\tKeyId: pulumi.Any(oci_kms_key.Test_key.Id),\n\t\t\tMessage: pulumi.Any(_var.Sign_message),\n\t\t\tSigningAlgorithm: pulumi.Any(_var.Sign_signing_algorithm),\n\t\t\tKeyVersionId: pulumi.Any(oci_kms_key_version.Test_key_version.Id),\n\t\t\tMessageType: pulumi.Any(_var.Sign_message_type),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.oci.Kms.Sign;\nimport com.pulumi.oci.Kms.SignArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var testSign = new Sign(\"testSign\", SignArgs.builder() \n .cryptoEndpoint(var_.sign_message_crypto_endpoint())\n .keyId(oci_kms_key.test_key().id())\n .message(var_.sign_message())\n .signingAlgorithm(var_.sign_signing_algorithm())\n .keyVersionId(oci_kms_key_version.test_key_version().id())\n .messageType(var_.sign_message_type())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testSign:\n type: oci:Kms:Sign\n properties:\n #Required\n cryptoEndpoint: ${var.sign_message_crypto_endpoint}\n keyId: ${oci_kms_key.test_key.id}\n message: ${var.sign_message}\n signingAlgorithm: ${var.sign_signing_algorithm}\n #Optional\n keyVersionId: ${oci_kms_key_version.test_key_version.id}\n messageType: ${var.sign_message_type}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nSign can be imported using the `id`, e.g.\n\n```sh\n $ pulumi import oci:Kms/sign:Sign test_sign \"id\"\n```\n ", "properties": { "cryptoEndpoint": { "type": "string", @@ -387034,7 +390471,7 @@ }, "messageType": { "type": "string", - "description": "Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`.\n" + "description": "Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`.\n" }, "signature": { "type": "string", @@ -387042,7 +390479,7 @@ }, "signingAlgorithm": { "type": "string", - "description": "The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. \n\n\n** IMPORTANT **\nAny change to a property that does not support update will force the destruction and recreation of the resource with the new property values\n" + "description": "The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. \n\n\n** IMPORTANT **\nAny change to a property that does not support update will force the destruction and recreation of the resource with the new property values\n" } }, "required": [ @@ -387077,12 +390514,12 @@ }, "messageType": { "type": "string", - "description": "Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`.\n", + "description": "Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`.\n", "willReplaceOnChanges": true }, "signingAlgorithm": { "type": "string", - "description": "The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. \n\n\n** IMPORTANT **\nAny change to a property that does not support update will force the destruction and recreation of the resource with the new property values\n", + "description": "The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. \n\n\n** IMPORTANT **\nAny change to a property that does not support update will force the destruction and recreation of the resource with the new property values\n", "willReplaceOnChanges": true } }, @@ -387117,7 +390554,7 @@ }, "messageType": { "type": "string", - "description": "Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`.\n", + "description": "Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`.\n", "willReplaceOnChanges": true }, "signature": { @@ -387126,7 +390563,7 @@ }, "signingAlgorithm": { "type": "string", - "description": "The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. \n\n\n** IMPORTANT **\nAny change to a property that does not support update will force the destruction and recreation of the resource with the new property values\n", + "description": "The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. \n\n\n** IMPORTANT **\nAny change to a property that does not support update will force the destruction and recreation of the resource with the new property values\n", "willReplaceOnChanges": true } }, @@ -387134,7 +390571,7 @@ } }, "oci:Kms/vault:Vault": { - "description": "This resource provides the Vault resource in Oracle Cloud Infrastructure Kms service.\n\nCreates a new vault. The type of vault you create determines key placement, pricing, and\navailable options. Options include storage isolation, a dedicated service endpoint instead\nof a shared service endpoint for API calls, and either a dedicated hardware security module\n(HSM) or a multitenant HSM.\n\nAs a provisioning operation, this call is subject to a Key Management limit that applies to\nthe total number of requests across all provisioning write operations. Key Management might\nthrottle this call to reject an otherwise valid request when the total rate of provisioning\nwrite operations exceeds 10 requests per second for a given tenancy.\n\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testVault = new oci.kms.Vault(\"testVault\", {\n compartmentId: _var.compartment_id,\n displayName: _var.vault_display_name,\n vaultType: _var.vault_vault_type,\n definedTags: {\n \"Operations.CostCenter\": \"42\",\n },\n freeformTags: {\n Department: \"Finance\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_vault = oci.kms.Vault(\"testVault\",\n compartment_id=var[\"compartment_id\"],\n display_name=var[\"vault_display_name\"],\n vault_type=var[\"vault_vault_type\"],\n defined_tags={\n \"Operations.CostCenter\": \"42\",\n },\n freeform_tags={\n \"Department\": \"Finance\",\n })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Oci = Pulumi.Oci;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var testVault = new Oci.Kms.Vault(\"testVault\", new()\n {\n CompartmentId = @var.Compartment_id,\n DisplayName = @var.Vault_display_name,\n VaultType = @var.Vault_vault_type,\n DefinedTags = \n {\n { \"Operations.CostCenter\", \"42\" },\n },\n FreeformTags = \n {\n { \"Department\", \"Finance\" },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/go/oci/Kms\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := Kms.NewVault(ctx, \"testVault\", \u0026Kms.VaultArgs{\n\t\t\tCompartmentId: pulumi.Any(_var.Compartment_id),\n\t\t\tDisplayName: pulumi.Any(_var.Vault_display_name),\n\t\t\tVaultType: pulumi.Any(_var.Vault_vault_type),\n\t\t\tDefinedTags: pulumi.AnyMap{\n\t\t\t\t\"Operations.CostCenter\": pulumi.Any(\"42\"),\n\t\t\t},\n\t\t\tFreeformTags: pulumi.AnyMap{\n\t\t\t\t\"Department\": pulumi.Any(\"Finance\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.oci.Kms.Vault;\nimport com.pulumi.oci.Kms.VaultArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var testVault = new Vault(\"testVault\", VaultArgs.builder() \n .compartmentId(var_.compartment_id())\n .displayName(var_.vault_display_name())\n .vaultType(var_.vault_vault_type())\n .definedTags(Map.of(\"Operations.CostCenter\", \"42\"))\n .freeformTags(Map.of(\"Department\", \"Finance\"))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testVault:\n type: oci:Kms:Vault\n properties:\n #Required\n compartmentId: ${var.compartment_id}\n displayName: ${var.vault_display_name}\n vaultType: ${var.vault_vault_type}\n #Optional\n definedTags:\n Operations.CostCenter: '42'\n freeformTags:\n Department: Finance\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nVaults can be imported using the `id`, e.g.\n\n```sh\n $ pulumi import oci:Kms/vault:Vault test_vault \"id\"\n```\n ", + "description": "This resource provides the Vault resource in Oracle Cloud Infrastructure Kms service.\n\nCreates a new vault. The type of vault you create determines key placement, pricing, and\navailable options. Options include storage isolation, a dedicated service endpoint instead\nof a shared service endpoint for API calls, and either a dedicated hardware security module\n(HSM) or a multitenant HSM.\n\nAs a provisioning operation, this call is subject to a Key Management limit that applies to\nthe total number of requests across all provisioning write operations. Key Management might\nthrottle this call to reject an otherwise valid request when the total rate of provisioning\nwrite operations exceeds 10 requests per second for a given tenancy.\n\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testVault = new oci.kms.Vault(\"testVault\", {\n compartmentId: _var.compartment_id,\n displayName: _var.vault_display_name,\n vaultType: _var.vault_vault_type,\n definedTags: {\n \"Operations.CostCenter\": \"42\",\n },\n externalKeyManagerMetadata: {\n externalVaultEndpointUrl: _var.vault_external_key_manager_metadata_external_vault_endpoint_url,\n oauthMetadata: {\n clientAppId: oci_kms_client_app.test_client_app.id,\n clientAppSecret: _var.vault_external_key_manager_metadata_oauth_metadata_client_app_secret,\n idcsAccountNameUrl: _var.vault_external_key_manager_metadata_oauth_metadata_idcs_account_name_url,\n },\n privateEndpointId: oci_dataflow_private_endpoint.test_private_endpoint.id,\n },\n freeformTags: {\n Department: \"Finance\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_vault = oci.kms.Vault(\"testVault\",\n compartment_id=var[\"compartment_id\"],\n display_name=var[\"vault_display_name\"],\n vault_type=var[\"vault_vault_type\"],\n defined_tags={\n \"Operations.CostCenter\": \"42\",\n },\n external_key_manager_metadata=oci.kms.VaultExternalKeyManagerMetadataArgs(\n external_vault_endpoint_url=var[\"vault_external_key_manager_metadata_external_vault_endpoint_url\"],\n oauth_metadata=oci.kms.VaultExternalKeyManagerMetadataOauthMetadataArgs(\n client_app_id=oci_kms_client_app[\"test_client_app\"][\"id\"],\n client_app_secret=var[\"vault_external_key_manager_metadata_oauth_metadata_client_app_secret\"],\n idcs_account_name_url=var[\"vault_external_key_manager_metadata_oauth_metadata_idcs_account_name_url\"],\n ),\n private_endpoint_id=oci_dataflow_private_endpoint[\"test_private_endpoint\"][\"id\"],\n ),\n freeform_tags={\n \"Department\": \"Finance\",\n })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Oci = Pulumi.Oci;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var testVault = new Oci.Kms.Vault(\"testVault\", new()\n {\n CompartmentId = @var.Compartment_id,\n DisplayName = @var.Vault_display_name,\n VaultType = @var.Vault_vault_type,\n DefinedTags = \n {\n { \"Operations.CostCenter\", \"42\" },\n },\n ExternalKeyManagerMetadata = new Oci.Kms.Inputs.VaultExternalKeyManagerMetadataArgs\n {\n ExternalVaultEndpointUrl = @var.Vault_external_key_manager_metadata_external_vault_endpoint_url,\n OauthMetadata = new Oci.Kms.Inputs.VaultExternalKeyManagerMetadataOauthMetadataArgs\n {\n ClientAppId = oci_kms_client_app.Test_client_app.Id,\n ClientAppSecret = @var.Vault_external_key_manager_metadata_oauth_metadata_client_app_secret,\n IdcsAccountNameUrl = @var.Vault_external_key_manager_metadata_oauth_metadata_idcs_account_name_url,\n },\n PrivateEndpointId = oci_dataflow_private_endpoint.Test_private_endpoint.Id,\n },\n FreeformTags = \n {\n { \"Department\", \"Finance\" },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/go/oci/Kms\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := Kms.NewVault(ctx, \"testVault\", \u0026Kms.VaultArgs{\n\t\t\tCompartmentId: pulumi.Any(_var.Compartment_id),\n\t\t\tDisplayName: pulumi.Any(_var.Vault_display_name),\n\t\t\tVaultType: pulumi.Any(_var.Vault_vault_type),\n\t\t\tDefinedTags: pulumi.AnyMap{\n\t\t\t\t\"Operations.CostCenter\": pulumi.Any(\"42\"),\n\t\t\t},\n\t\t\tExternalKeyManagerMetadata: \u0026kms.VaultExternalKeyManagerMetadataArgs{\n\t\t\t\tExternalVaultEndpointUrl: pulumi.Any(_var.Vault_external_key_manager_metadata_external_vault_endpoint_url),\n\t\t\t\tOauthMetadata: \u0026kms.VaultExternalKeyManagerMetadataOauthMetadataArgs{\n\t\t\t\t\tClientAppId: pulumi.Any(oci_kms_client_app.Test_client_app.Id),\n\t\t\t\t\tClientAppSecret: pulumi.Any(_var.Vault_external_key_manager_metadata_oauth_metadata_client_app_secret),\n\t\t\t\t\tIdcsAccountNameUrl: pulumi.Any(_var.Vault_external_key_manager_metadata_oauth_metadata_idcs_account_name_url),\n\t\t\t\t},\n\t\t\t\tPrivateEndpointId: pulumi.Any(oci_dataflow_private_endpoint.Test_private_endpoint.Id),\n\t\t\t},\n\t\t\tFreeformTags: pulumi.AnyMap{\n\t\t\t\t\"Department\": pulumi.Any(\"Finance\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.oci.Kms.Vault;\nimport com.pulumi.oci.Kms.VaultArgs;\nimport com.pulumi.oci.Kms.inputs.VaultExternalKeyManagerMetadataArgs;\nimport com.pulumi.oci.Kms.inputs.VaultExternalKeyManagerMetadataOauthMetadataArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var testVault = new Vault(\"testVault\", VaultArgs.builder() \n .compartmentId(var_.compartment_id())\n .displayName(var_.vault_display_name())\n .vaultType(var_.vault_vault_type())\n .definedTags(Map.of(\"Operations.CostCenter\", \"42\"))\n .externalKeyManagerMetadata(VaultExternalKeyManagerMetadataArgs.builder()\n .externalVaultEndpointUrl(var_.vault_external_key_manager_metadata_external_vault_endpoint_url())\n .oauthMetadata(VaultExternalKeyManagerMetadataOauthMetadataArgs.builder()\n .clientAppId(oci_kms_client_app.test_client_app().id())\n .clientAppSecret(var_.vault_external_key_manager_metadata_oauth_metadata_client_app_secret())\n .idcsAccountNameUrl(var_.vault_external_key_manager_metadata_oauth_metadata_idcs_account_name_url())\n .build())\n .privateEndpointId(oci_dataflow_private_endpoint.test_private_endpoint().id())\n .build())\n .freeformTags(Map.of(\"Department\", \"Finance\"))\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testVault:\n type: oci:Kms:Vault\n properties:\n #Required\n compartmentId: ${var.compartment_id}\n displayName: ${var.vault_display_name}\n vaultType: ${var.vault_vault_type}\n #Optional\n definedTags:\n Operations.CostCenter: '42'\n externalKeyManagerMetadata:\n externalVaultEndpointUrl: ${var.vault_external_key_manager_metadata_external_vault_endpoint_url}\n oauthMetadata:\n clientAppId: ${oci_kms_client_app.test_client_app.id}\n clientAppSecret: ${var.vault_external_key_manager_metadata_oauth_metadata_client_app_secret}\n idcsAccountNameUrl: ${var.vault_external_key_manager_metadata_oauth_metadata_idcs_account_name_url}\n privateEndpointId: ${oci_dataflow_private_endpoint.test_private_endpoint.id}\n freeformTags:\n Department: Finance\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nVaults can be imported using the `id`, e.g.\n\n```sh\n $ pulumi import oci:Kms/vault:Vault test_vault \"id\"\n```\n ", "properties": { "compartmentId": { "type": "string", @@ -387155,6 +390592,17 @@ "type": "string", "description": "(Updatable) A user-friendly name for the vault. It does not have to be unique, and it is changeable. Avoid entering confidential information.\n" }, + "externalKeyManagerMetadata": { + "$ref": "#/types/oci:Kms/VaultExternalKeyManagerMetadata:VaultExternalKeyManagerMetadata", + "description": "Metadata required for accessing External Key manager\n" + }, + "externalKeyManagerMetadataSummaries": { + "type": "array", + "items": { + "$ref": "#/types/oci:Kms/VaultExternalKeyManagerMetadataSummary:VaultExternalKeyManagerMetadataSummary" + }, + "description": "Summary about metadata of external key manager to be returned to the customer as a response.\n" + }, "freeformTags": { "type": "object", "additionalProperties": { @@ -387164,7 +390612,7 @@ }, "isPrimary": { "type": "boolean", - "description": "A boolean that will be true when vault is primary, and will be false when vault is a replica from a primary vault.\n" + "description": "A Boolean value that indicates whether the Vault is primary Vault or replica Vault.\n" }, "managementEndpoint": { "type": "string", @@ -387190,7 +390638,7 @@ }, "restoredFromVaultId": { "type": "string", - "description": "The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault.\n" + "description": "The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault.\n" }, "state": { "type": "string", @@ -387214,6 +390662,8 @@ "cryptoEndpoint", "definedTags", "displayName", + "externalKeyManagerMetadata", + "externalKeyManagerMetadataSummaries", "freeformTags", "isPrimary", "managementEndpoint", @@ -387240,6 +390690,11 @@ "type": "string", "description": "(Updatable) A user-friendly name for the vault. It does not have to be unique, and it is changeable. Avoid entering confidential information.\n" }, + "externalKeyManagerMetadata": { + "$ref": "#/types/oci:Kms/VaultExternalKeyManagerMetadata:VaultExternalKeyManagerMetadata", + "description": "Metadata required for accessing External Key manager\n", + "willReplaceOnChanges": true + }, "freeformTags": { "type": "object", "additionalProperties": { @@ -387295,6 +390750,18 @@ "type": "string", "description": "(Updatable) A user-friendly name for the vault. It does not have to be unique, and it is changeable. Avoid entering confidential information.\n" }, + "externalKeyManagerMetadata": { + "$ref": "#/types/oci:Kms/VaultExternalKeyManagerMetadata:VaultExternalKeyManagerMetadata", + "description": "Metadata required for accessing External Key manager\n", + "willReplaceOnChanges": true + }, + "externalKeyManagerMetadataSummaries": { + "type": "array", + "items": { + "$ref": "#/types/oci:Kms/VaultExternalKeyManagerMetadataSummary:VaultExternalKeyManagerMetadataSummary" + }, + "description": "Summary about metadata of external key manager to be returned to the customer as a response.\n" + }, "freeformTags": { "type": "object", "additionalProperties": { @@ -387304,7 +390771,7 @@ }, "isPrimary": { "type": "boolean", - "description": "A boolean that will be true when vault is primary, and will be false when vault is a replica from a primary vault.\n" + "description": "A Boolean value that indicates whether the Vault is primary Vault or replica Vault.\n" }, "managementEndpoint": { "type": "string", @@ -387330,7 +390797,7 @@ }, "restoredFromVaultId": { "type": "string", - "description": "The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault.\n" + "description": "The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault.\n" }, "state": { "type": "string", @@ -387401,7 +390868,7 @@ } }, "oci:Kms/verify:Verify": { - "description": "This resource provides the Verify resource in Oracle Cloud Infrastructure Kms service.\n\nVerifies a digital signature that was generated by the [Sign](https://docs.cloud.oracle.com/iaas/api/#/en/key/latest/SignedData/Sign) operation \nby using the public key of the same asymmetric key that was used to sign the data. If you want to validate the \ndigital signature outside of the service, you can do so by using the public key of the asymmetric key.\n\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testVerify = new oci.kms.Verify(\"testVerify\", {\n cryptoEndpoint: _var.verify_message_crypto_endpoint,\n keyId: oci_kms_key.test_key.id,\n keyVersionId: oci_kms_key_version.test_key_version.id,\n message: _var.verify_message,\n signature: _var.verify_signature,\n signingAlgorithm: _var.verify_signing_algorithm,\n messageType: _var.verify_message_type,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_verify = oci.kms.Verify(\"testVerify\",\n crypto_endpoint=var[\"verify_message_crypto_endpoint\"],\n key_id=oci_kms_key[\"test_key\"][\"id\"],\n key_version_id=oci_kms_key_version[\"test_key_version\"][\"id\"],\n message=var[\"verify_message\"],\n signature=var[\"verify_signature\"],\n signing_algorithm=var[\"verify_signing_algorithm\"],\n message_type=var[\"verify_message_type\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Oci = Pulumi.Oci;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var testVerify = new Oci.Kms.Verify(\"testVerify\", new()\n {\n CryptoEndpoint = @var.Verify_message_crypto_endpoint,\n KeyId = oci_kms_key.Test_key.Id,\n KeyVersionId = oci_kms_key_version.Test_key_version.Id,\n Message = @var.Verify_message,\n Signature = @var.Verify_signature,\n SigningAlgorithm = @var.Verify_signing_algorithm,\n MessageType = @var.Verify_message_type,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/go/oci/Kms\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := Kms.NewVerify(ctx, \"testVerify\", \u0026Kms.VerifyArgs{\n\t\t\tCryptoEndpoint: pulumi.Any(_var.Verify_message_crypto_endpoint),\n\t\t\tKeyId: pulumi.Any(oci_kms_key.Test_key.Id),\n\t\t\tKeyVersionId: pulumi.Any(oci_kms_key_version.Test_key_version.Id),\n\t\t\tMessage: pulumi.Any(_var.Verify_message),\n\t\t\tSignature: pulumi.Any(_var.Verify_signature),\n\t\t\tSigningAlgorithm: pulumi.Any(_var.Verify_signing_algorithm),\n\t\t\tMessageType: pulumi.Any(_var.Verify_message_type),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.oci.Kms.Verify;\nimport com.pulumi.oci.Kms.VerifyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var testVerify = new Verify(\"testVerify\", VerifyArgs.builder() \n .cryptoEndpoint(var_.verify_message_crypto_endpoint())\n .keyId(oci_kms_key.test_key().id())\n .keyVersionId(oci_kms_key_version.test_key_version().id())\n .message(var_.verify_message())\n .signature(var_.verify_signature())\n .signingAlgorithm(var_.verify_signing_algorithm())\n .messageType(var_.verify_message_type())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testVerify:\n type: oci:Kms:Verify\n properties:\n #Required\n cryptoEndpoint: ${var.verify_message_crypto_endpoint}\n keyId: ${oci_kms_key.test_key.id}\n keyVersionId: ${oci_kms_key_version.test_key_version.id}\n message: ${var.verify_message}\n signature: ${var.verify_signature}\n signingAlgorithm: ${var.verify_signing_algorithm}\n #Optional\n messageType: ${var.verify_message_type}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nVerify can be imported using the `id`, e.g.\n\n```sh\n $ pulumi import oci:Kms/verify:Verify test_verify \"id\"\n```\n ", + "description": "This resource provides the Verify resource in Oracle Cloud Infrastructure Kms service.\n\nVerifies a digital signature that was generated by the [Sign](https://docs.cloud.oracle.com/iaas/api/#/en/key/latest/SignedData/Sign) operation\nby using the public key of the same asymmetric key that was used to sign the data. If you want to validate the\ndigital signature outside of the service, you can do so by using the public key of the asymmetric key.\nThis operation is not supported for keys having protection mode `EXTERNAL`.\n\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testVerify = new oci.kms.Verify(\"testVerify\", {\n cryptoEndpoint: _var.verify_message_crypto_endpoint,\n keyId: oci_kms_key.test_key.id,\n keyVersionId: oci_kms_key_version.test_key_version.id,\n message: _var.verify_message,\n signature: _var.verify_signature,\n signingAlgorithm: _var.verify_signing_algorithm,\n messageType: _var.verify_message_type,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_verify = oci.kms.Verify(\"testVerify\",\n crypto_endpoint=var[\"verify_message_crypto_endpoint\"],\n key_id=oci_kms_key[\"test_key\"][\"id\"],\n key_version_id=oci_kms_key_version[\"test_key_version\"][\"id\"],\n message=var[\"verify_message\"],\n signature=var[\"verify_signature\"],\n signing_algorithm=var[\"verify_signing_algorithm\"],\n message_type=var[\"verify_message_type\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Oci = Pulumi.Oci;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var testVerify = new Oci.Kms.Verify(\"testVerify\", new()\n {\n CryptoEndpoint = @var.Verify_message_crypto_endpoint,\n KeyId = oci_kms_key.Test_key.Id,\n KeyVersionId = oci_kms_key_version.Test_key_version.Id,\n Message = @var.Verify_message,\n Signature = @var.Verify_signature,\n SigningAlgorithm = @var.Verify_signing_algorithm,\n MessageType = @var.Verify_message_type,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/go/oci/Kms\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := Kms.NewVerify(ctx, \"testVerify\", \u0026Kms.VerifyArgs{\n\t\t\tCryptoEndpoint: pulumi.Any(_var.Verify_message_crypto_endpoint),\n\t\t\tKeyId: pulumi.Any(oci_kms_key.Test_key.Id),\n\t\t\tKeyVersionId: pulumi.Any(oci_kms_key_version.Test_key_version.Id),\n\t\t\tMessage: pulumi.Any(_var.Verify_message),\n\t\t\tSignature: pulumi.Any(_var.Verify_signature),\n\t\t\tSigningAlgorithm: pulumi.Any(_var.Verify_signing_algorithm),\n\t\t\tMessageType: pulumi.Any(_var.Verify_message_type),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.oci.Kms.Verify;\nimport com.pulumi.oci.Kms.VerifyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var testVerify = new Verify(\"testVerify\", VerifyArgs.builder() \n .cryptoEndpoint(var_.verify_message_crypto_endpoint())\n .keyId(oci_kms_key.test_key().id())\n .keyVersionId(oci_kms_key_version.test_key_version().id())\n .message(var_.verify_message())\n .signature(var_.verify_signature())\n .signingAlgorithm(var_.verify_signing_algorithm())\n .messageType(var_.verify_message_type())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testVerify:\n type: oci:Kms:Verify\n properties:\n #Required\n cryptoEndpoint: ${var.verify_message_crypto_endpoint}\n keyId: ${oci_kms_key.test_key.id}\n keyVersionId: ${oci_kms_key_version.test_key_version.id}\n message: ${var.verify_message}\n signature: ${var.verify_signature}\n signingAlgorithm: ${var.verify_signing_algorithm}\n #Optional\n messageType: ${var.verify_message_type}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nVerify can be imported using the `id`, e.g.\n\n```sh\n $ pulumi import oci:Kms/verify:Verify test_verify \"id\"\n```\n ", "properties": { "cryptoEndpoint": { "type": "string", @@ -387425,7 +390892,7 @@ }, "messageType": { "type": "string", - "description": "Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`.\n" + "description": "Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`.\n" }, "signature": { "type": "string", @@ -387433,7 +390900,7 @@ }, "signingAlgorithm": { "type": "string", - "description": "The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. \n\n\n** IMPORTANT **\nAny change to a property that does not support update will force the destruction and recreation of the resource with the new property values\n" + "description": "The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. \n\n\n** IMPORTANT **\nAny change to a property that does not support update will force the destruction and recreation of the resource with the new property values\n" } }, "required": [ @@ -387469,7 +390936,7 @@ }, "messageType": { "type": "string", - "description": "Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`.\n", + "description": "Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`.\n", "willReplaceOnChanges": true }, "signature": { @@ -387479,7 +390946,7 @@ }, "signingAlgorithm": { "type": "string", - "description": "The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. \n\n\n** IMPORTANT **\nAny change to a property that does not support update will force the destruction and recreation of the resource with the new property values\n", + "description": "The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. \n\n\n** IMPORTANT **\nAny change to a property that does not support update will force the destruction and recreation of the resource with the new property values\n", "willReplaceOnChanges": true } }, @@ -387520,7 +390987,7 @@ }, "messageType": { "type": "string", - "description": "Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`.\n", + "description": "Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`.\n", "willReplaceOnChanges": true }, "signature": { @@ -387530,7 +390997,7 @@ }, "signingAlgorithm": { "type": "string", - "description": "The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. \n\n\n** IMPORTANT **\nAny change to a property that does not support update will force the destruction and recreation of the resource with the new property values\n", + "description": "The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. \n\n\n** IMPORTANT **\nAny change to a property that does not support update will force the destruction and recreation of the resource with the new property values\n", "willReplaceOnChanges": true } }, @@ -389519,8 +392986,7 @@ "type": "array", "items": { "type": "string" - }, - "description": "A list of SSL ciphers the load balancer must support for HTTPS or SSL connections.\n" + } }, "loadBalancerId": { "type": "string", @@ -389546,7 +393012,6 @@ "items": { "type": "string" }, - "description": "A list of SSL ciphers the load balancer must support for HTTPS or SSL connections.\n", "willReplaceOnChanges": true }, "loadBalancerId": { @@ -389572,7 +393037,6 @@ "items": { "type": "string" }, - "description": "A list of SSL ciphers the load balancer must support for HTTPS or SSL connections.\n", "willReplaceOnChanges": true }, "loadBalancerId": { @@ -396676,7 +400140,7 @@ } }, "oci:Mysql/replica:Replica": { - "description": "This resource provides the Replica resource in Oracle Cloud Infrastructure MySQL Database service.\n\nCreates a DB System read replica.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testReplica = new oci.mysql.Replica(\"testReplica\", {\n dbSystemId: oci_mysql_mysql_db_system.test_mysql_db_system.id,\n definedTags: {\n \"foo-namespace.bar-key\": \"value\",\n },\n description: _var.replica_description,\n displayName: _var.replica_display_name,\n freeformTags: {\n \"bar-key\": \"value\",\n },\n isDeleteProtected: _var.replica_is_delete_protected,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_replica = oci.mysql.Replica(\"testReplica\",\n db_system_id=oci_mysql_mysql_db_system[\"test_mysql_db_system\"][\"id\"],\n defined_tags={\n \"foo-namespace.bar-key\": \"value\",\n },\n description=var[\"replica_description\"],\n display_name=var[\"replica_display_name\"],\n freeform_tags={\n \"bar-key\": \"value\",\n },\n is_delete_protected=var[\"replica_is_delete_protected\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Oci = Pulumi.Oci;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var testReplica = new Oci.Mysql.Replica(\"testReplica\", new()\n {\n DbSystemId = oci_mysql_mysql_db_system.Test_mysql_db_system.Id,\n DefinedTags = \n {\n { \"foo-namespace.bar-key\", \"value\" },\n },\n Description = @var.Replica_description,\n DisplayName = @var.Replica_display_name,\n FreeformTags = \n {\n { \"bar-key\", \"value\" },\n },\n IsDeleteProtected = @var.Replica_is_delete_protected,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/go/oci/Mysql\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := Mysql.NewReplica(ctx, \"testReplica\", \u0026Mysql.ReplicaArgs{\n\t\t\tDbSystemId: pulumi.Any(oci_mysql_mysql_db_system.Test_mysql_db_system.Id),\n\t\t\tDefinedTags: pulumi.AnyMap{\n\t\t\t\t\"foo-namespace.bar-key\": pulumi.Any(\"value\"),\n\t\t\t},\n\t\t\tDescription: pulumi.Any(_var.Replica_description),\n\t\t\tDisplayName: pulumi.Any(_var.Replica_display_name),\n\t\t\tFreeformTags: pulumi.AnyMap{\n\t\t\t\t\"bar-key\": pulumi.Any(\"value\"),\n\t\t\t},\n\t\t\tIsDeleteProtected: pulumi.Any(_var.Replica_is_delete_protected),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.oci.Mysql.Replica;\nimport com.pulumi.oci.Mysql.ReplicaArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var testReplica = new Replica(\"testReplica\", ReplicaArgs.builder() \n .dbSystemId(oci_mysql_mysql_db_system.test_mysql_db_system().id())\n .definedTags(Map.of(\"foo-namespace.bar-key\", \"value\"))\n .description(var_.replica_description())\n .displayName(var_.replica_display_name())\n .freeformTags(Map.of(\"bar-key\", \"value\"))\n .isDeleteProtected(var_.replica_is_delete_protected())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testReplica:\n type: oci:Mysql:Replica\n properties:\n #Required\n dbSystemId: ${oci_mysql_mysql_db_system.test_mysql_db_system.id}\n #Optional\n definedTags:\n foo-namespace.bar-key: value\n description: ${var.replica_description}\n displayName: ${var.replica_display_name}\n freeformTags:\n bar-key: value\n isDeleteProtected: ${var.replica_is_delete_protected}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nReplicas can be imported using the `id`, e.g.\n\n```sh\n $ pulumi import oci:Mysql/replica:Replica test_replica \"id\"\n```\n ", + "description": "This resource provides the Replica resource in Oracle Cloud Infrastructure MySQL Database service.\n\nCreates a DB System read replica.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testReplica = new oci.mysql.Replica(\"testReplica\", {\n dbSystemId: oci_mysql_mysql_db_system.test_mysql_db_system.id,\n definedTags: {\n \"foo-namespace.bar-key\": \"value\",\n },\n description: _var.replica_description,\n displayName: _var.replica_display_name,\n freeformTags: {\n \"bar-key\": \"value\",\n },\n isDeleteProtected: _var.replica_is_delete_protected,\n replicaOverrides: {\n configurationId: oci_mysql_mysql_configuration.test_mysql_configuration.id,\n mysqlVersion: _var.replica_replica_overrides_mysql_version,\n shapeName: oci_mysql_shape.test_shape.name,\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_replica = oci.mysql.Replica(\"testReplica\",\n db_system_id=oci_mysql_mysql_db_system[\"test_mysql_db_system\"][\"id\"],\n defined_tags={\n \"foo-namespace.bar-key\": \"value\",\n },\n description=var[\"replica_description\"],\n display_name=var[\"replica_display_name\"],\n freeform_tags={\n \"bar-key\": \"value\",\n },\n is_delete_protected=var[\"replica_is_delete_protected\"],\n replica_overrides=oci.mysql.ReplicaReplicaOverridesArgs(\n configuration_id=oci_mysql_mysql_configuration[\"test_mysql_configuration\"][\"id\"],\n mysql_version=var[\"replica_replica_overrides_mysql_version\"],\n shape_name=oci_mysql_shape[\"test_shape\"][\"name\"],\n ))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Oci = Pulumi.Oci;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var testReplica = new Oci.Mysql.Replica(\"testReplica\", new()\n {\n DbSystemId = oci_mysql_mysql_db_system.Test_mysql_db_system.Id,\n DefinedTags = \n {\n { \"foo-namespace.bar-key\", \"value\" },\n },\n Description = @var.Replica_description,\n DisplayName = @var.Replica_display_name,\n FreeformTags = \n {\n { \"bar-key\", \"value\" },\n },\n IsDeleteProtected = @var.Replica_is_delete_protected,\n ReplicaOverrides = new Oci.Mysql.Inputs.ReplicaReplicaOverridesArgs\n {\n ConfigurationId = oci_mysql_mysql_configuration.Test_mysql_configuration.Id,\n MysqlVersion = @var.Replica_replica_overrides_mysql_version,\n ShapeName = oci_mysql_shape.Test_shape.Name,\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/go/oci/Mysql\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := Mysql.NewReplica(ctx, \"testReplica\", \u0026Mysql.ReplicaArgs{\n\t\t\tDbSystemId: pulumi.Any(oci_mysql_mysql_db_system.Test_mysql_db_system.Id),\n\t\t\tDefinedTags: pulumi.AnyMap{\n\t\t\t\t\"foo-namespace.bar-key\": pulumi.Any(\"value\"),\n\t\t\t},\n\t\t\tDescription: pulumi.Any(_var.Replica_description),\n\t\t\tDisplayName: pulumi.Any(_var.Replica_display_name),\n\t\t\tFreeformTags: pulumi.AnyMap{\n\t\t\t\t\"bar-key\": pulumi.Any(\"value\"),\n\t\t\t},\n\t\t\tIsDeleteProtected: pulumi.Any(_var.Replica_is_delete_protected),\n\t\t\tReplicaOverrides: \u0026mysql.ReplicaReplicaOverridesArgs{\n\t\t\t\tConfigurationId: pulumi.Any(oci_mysql_mysql_configuration.Test_mysql_configuration.Id),\n\t\t\t\tMysqlVersion: pulumi.Any(_var.Replica_replica_overrides_mysql_version),\n\t\t\t\tShapeName: pulumi.Any(oci_mysql_shape.Test_shape.Name),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.oci.Mysql.Replica;\nimport com.pulumi.oci.Mysql.ReplicaArgs;\nimport com.pulumi.oci.Mysql.inputs.ReplicaReplicaOverridesArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var testReplica = new Replica(\"testReplica\", ReplicaArgs.builder() \n .dbSystemId(oci_mysql_mysql_db_system.test_mysql_db_system().id())\n .definedTags(Map.of(\"foo-namespace.bar-key\", \"value\"))\n .description(var_.replica_description())\n .displayName(var_.replica_display_name())\n .freeformTags(Map.of(\"bar-key\", \"value\"))\n .isDeleteProtected(var_.replica_is_delete_protected())\n .replicaOverrides(ReplicaReplicaOverridesArgs.builder()\n .configurationId(oci_mysql_mysql_configuration.test_mysql_configuration().id())\n .mysqlVersion(var_.replica_replica_overrides_mysql_version())\n .shapeName(oci_mysql_shape.test_shape().name())\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testReplica:\n type: oci:Mysql:Replica\n properties:\n #Required\n dbSystemId: ${oci_mysql_mysql_db_system.test_mysql_db_system.id}\n #Optional\n definedTags:\n foo-namespace.bar-key: value\n description: ${var.replica_description}\n displayName: ${var.replica_display_name}\n freeformTags:\n bar-key: value\n isDeleteProtected: ${var.replica_is_delete_protected}\n replicaOverrides:\n configurationId: ${oci_mysql_mysql_configuration.test_mysql_configuration.id}\n mysqlVersion: ${var.replica_replica_overrides_mysql_version}\n shapeName: ${oci_mysql_shape.test_shape.name}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nReplicas can be imported using the `id`, e.g.\n\n```sh\n $ pulumi import oci:Mysql/replica:Replica test_replica \"id\"\n```\n ", "properties": { "availabilityDomain": { "type": "string", @@ -396686,6 +400150,10 @@ "type": "string", "description": "The OCID of the compartment that contains the read replica.\n" }, + "configurationId": { + "type": "string", + "description": "(Updatable) The OCID of the Configuration to be used by the read replica.\n" + }, "dbSystemId": { "type": "string", "description": "The OCID of the DB System the read replica is associated with.\n" @@ -396722,7 +400190,7 @@ }, "isDeleteProtected": { "type": "boolean", - "description": "(Updatable) Specifies whether the read replica can be deleted. Set to true to prevent deletion, false (default) to allow. Note that if a read replica is delete protected it also prevents the entire DB System from being deleted. If the DB System is delete protected, read replicas can still be deleted individually if they are not delete protected themselves. \n\n\n** IMPORTANT **\nAny change to a property that does not support update will force the destruction and recreation of the resource with the new property values\n" + "description": "(Updatable) Specifies whether the read replica can be deleted. Set to true to prevent deletion, false (default) to allow. Note that if a read replica is delete protected it also prevents the entire DB System from being deleted. If the DB System is delete protected, read replicas can still be deleted individually if they are not delete protected themselves.\n" }, "lifecycleDetails": { "type": "string", @@ -396730,7 +400198,7 @@ }, "mysqlVersion": { "type": "string", - "description": "The MySQL version used by the read replica.\n" + "description": "(Updatable) The MySQL version to be used by the read replica.\n" }, "port": { "type": "integer", @@ -396740,6 +400208,14 @@ "type": "integer", "description": "The TCP network port on which X Plugin listens for connections. This is the X Plugin equivalent of port.\n" }, + "replicaOverrides": { + "$ref": "#/types/oci:Mysql/ReplicaReplicaOverrides:ReplicaReplicaOverrides", + "description": "(Updatable) By default a read replica inherits the MySQL version, shape, and configuration of the source DB system. If you want to override any of these, provide values in the properties, mysqlVersion, shapeName, and configurationId. If you set a property value to \"\", then the value is inherited from its source DB system.\n" + }, + "shapeName": { + "type": "string", + "description": "(Updatable) The shape to be used by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. \n\n\n** IMPORTANT **\nAny change to a property that does not support update will force the destruction and recreation of the resource with the new property values\n" + }, "state": { "type": "string", "description": "The state of the read replica.\n" @@ -396756,6 +400232,7 @@ "required": [ "availabilityDomain", "compartmentId", + "configurationId", "dbSystemId", "definedTags", "description", @@ -396768,6 +400245,8 @@ "mysqlVersion", "port", "portX", + "replicaOverrides", + "shapeName", "state", "timeCreated", "timeUpdated" @@ -396802,7 +400281,11 @@ }, "isDeleteProtected": { "type": "boolean", - "description": "(Updatable) Specifies whether the read replica can be deleted. Set to true to prevent deletion, false (default) to allow. Note that if a read replica is delete protected it also prevents the entire DB System from being deleted. If the DB System is delete protected, read replicas can still be deleted individually if they are not delete protected themselves. \n\n\n** IMPORTANT **\nAny change to a property that does not support update will force the destruction and recreation of the resource with the new property values\n" + "description": "(Updatable) Specifies whether the read replica can be deleted. Set to true to prevent deletion, false (default) to allow. Note that if a read replica is delete protected it also prevents the entire DB System from being deleted. If the DB System is delete protected, read replicas can still be deleted individually if they are not delete protected themselves.\n" + }, + "replicaOverrides": { + "$ref": "#/types/oci:Mysql/ReplicaReplicaOverrides:ReplicaReplicaOverrides", + "description": "(Updatable) By default a read replica inherits the MySQL version, shape, and configuration of the source DB system. If you want to override any of these, provide values in the properties, mysqlVersion, shapeName, and configurationId. If you set a property value to \"\", then the value is inherited from its source DB system.\n" } }, "requiredInputs": [ @@ -396819,6 +400302,10 @@ "type": "string", "description": "The OCID of the compartment that contains the read replica.\n" }, + "configurationId": { + "type": "string", + "description": "(Updatable) The OCID of the Configuration to be used by the read replica.\n" + }, "dbSystemId": { "type": "string", "description": "The OCID of the DB System the read replica is associated with.\n", @@ -396856,7 +400343,7 @@ }, "isDeleteProtected": { "type": "boolean", - "description": "(Updatable) Specifies whether the read replica can be deleted. Set to true to prevent deletion, false (default) to allow. Note that if a read replica is delete protected it also prevents the entire DB System from being deleted. If the DB System is delete protected, read replicas can still be deleted individually if they are not delete protected themselves. \n\n\n** IMPORTANT **\nAny change to a property that does not support update will force the destruction and recreation of the resource with the new property values\n" + "description": "(Updatable) Specifies whether the read replica can be deleted. Set to true to prevent deletion, false (default) to allow. Note that if a read replica is delete protected it also prevents the entire DB System from being deleted. If the DB System is delete protected, read replicas can still be deleted individually if they are not delete protected themselves.\n" }, "lifecycleDetails": { "type": "string", @@ -396864,7 +400351,7 @@ }, "mysqlVersion": { "type": "string", - "description": "The MySQL version used by the read replica.\n" + "description": "(Updatable) The MySQL version to be used by the read replica.\n" }, "port": { "type": "integer", @@ -396874,6 +400361,14 @@ "type": "integer", "description": "The TCP network port on which X Plugin listens for connections. This is the X Plugin equivalent of port.\n" }, + "replicaOverrides": { + "$ref": "#/types/oci:Mysql/ReplicaReplicaOverrides:ReplicaReplicaOverrides", + "description": "(Updatable) By default a read replica inherits the MySQL version, shape, and configuration of the source DB system. If you want to override any of these, provide values in the properties, mysqlVersion, shapeName, and configurationId. If you set a property value to \"\", then the value is inherited from its source DB system.\n" + }, + "shapeName": { + "type": "string", + "description": "(Updatable) The shape to be used by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. \n\n\n** IMPORTANT **\nAny change to a property that does not support update will force the destruction and recreation of the resource with the new property values\n" + }, "state": { "type": "string", "description": "The state of the read replica.\n" @@ -400035,8 +403530,7 @@ "description": "Indicates whether this host is in the progress of swapping billing.\n" }, "nextSku": { - "type": "string", - "description": "The billing option to switch to after the current billing cycle ends. If `nextSku` is null or empty, `currentSku` continues to the next billing cycle. [ListSupportedSkus](https://docs.cloud.oracle.com/iaas/api/#/en/vmware/20200501/SupportedSkuSummary/ListSupportedSkus).\n" + "type": "string" }, "nonUpgradedEsxiHostId": { "type": "string", @@ -400157,8 +403651,7 @@ "willReplaceOnChanges": true }, "nextSku": { - "type": "string", - "description": "The billing option to switch to after the current billing cycle ends. If `nextSku` is null or empty, `currentSku` continues to the next billing cycle. [ListSupportedSkus](https://docs.cloud.oracle.com/iaas/api/#/en/vmware/20200501/SupportedSkuSummary/ListSupportedSkus).\n" + "type": "string" }, "nonUpgradedEsxiHostId": { "type": "string", @@ -400258,8 +403751,7 @@ "description": "Indicates whether this host is in the progress of swapping billing.\n" }, "nextSku": { - "type": "string", - "description": "The billing option to switch to after the current billing cycle ends. If `nextSku` is null or empty, `currentSku` continues to the next billing cycle. [ListSupportedSkus](https://docs.cloud.oracle.com/iaas/api/#/en/vmware/20200501/SupportedSkuSummary/ListSupportedSkus).\n" + "type": "string" }, "nonUpgradedEsxiHostId": { "type": "string", @@ -408636,15 +412128,19 @@ } }, "oci:Queue/queue:Queue": { - "description": "This resource provides the Queue resource in Oracle Cloud Infrastructure Queue service.\n\nCreates a new Queue.\n\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testQueue = new oci.queue.Queue(\"testQueue\", {\n compartmentId: _var.compartment_id,\n displayName: _var.queue_display_name,\n customEncryptionKeyId: oci_kms_key.test_key.id,\n deadLetterQueueDeliveryCount: _var.queue_dead_letter_queue_delivery_count,\n definedTags: {\n \"foo-namespace.bar-key\": \"value\",\n },\n freeformTags: {\n \"bar-key\": \"value\",\n },\n retentionInSeconds: _var.queue_retention_in_seconds,\n timeoutInSeconds: _var.queue_timeout_in_seconds,\n visibilityInSeconds: _var.queue_visibility_in_seconds,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_queue = oci.queue.Queue(\"testQueue\",\n compartment_id=var[\"compartment_id\"],\n display_name=var[\"queue_display_name\"],\n custom_encryption_key_id=oci_kms_key[\"test_key\"][\"id\"],\n dead_letter_queue_delivery_count=var[\"queue_dead_letter_queue_delivery_count\"],\n defined_tags={\n \"foo-namespace.bar-key\": \"value\",\n },\n freeform_tags={\n \"bar-key\": \"value\",\n },\n retention_in_seconds=var[\"queue_retention_in_seconds\"],\n timeout_in_seconds=var[\"queue_timeout_in_seconds\"],\n visibility_in_seconds=var[\"queue_visibility_in_seconds\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Oci = Pulumi.Oci;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var testQueue = new Oci.Queue.Queue(\"testQueue\", new()\n {\n CompartmentId = @var.Compartment_id,\n DisplayName = @var.Queue_display_name,\n CustomEncryptionKeyId = oci_kms_key.Test_key.Id,\n DeadLetterQueueDeliveryCount = @var.Queue_dead_letter_queue_delivery_count,\n DefinedTags = \n {\n { \"foo-namespace.bar-key\", \"value\" },\n },\n FreeformTags = \n {\n { \"bar-key\", \"value\" },\n },\n RetentionInSeconds = @var.Queue_retention_in_seconds,\n TimeoutInSeconds = @var.Queue_timeout_in_seconds,\n VisibilityInSeconds = @var.Queue_visibility_in_seconds,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/go/oci/Queue\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := Queue.NewQueue(ctx, \"testQueue\", \u0026Queue.QueueArgs{\n\t\t\tCompartmentId: pulumi.Any(_var.Compartment_id),\n\t\t\tDisplayName: pulumi.Any(_var.Queue_display_name),\n\t\t\tCustomEncryptionKeyId: pulumi.Any(oci_kms_key.Test_key.Id),\n\t\t\tDeadLetterQueueDeliveryCount: pulumi.Any(_var.Queue_dead_letter_queue_delivery_count),\n\t\t\tDefinedTags: pulumi.AnyMap{\n\t\t\t\t\"foo-namespace.bar-key\": pulumi.Any(\"value\"),\n\t\t\t},\n\t\t\tFreeformTags: pulumi.AnyMap{\n\t\t\t\t\"bar-key\": pulumi.Any(\"value\"),\n\t\t\t},\n\t\t\tRetentionInSeconds: pulumi.Any(_var.Queue_retention_in_seconds),\n\t\t\tTimeoutInSeconds: pulumi.Any(_var.Queue_timeout_in_seconds),\n\t\t\tVisibilityInSeconds: pulumi.Any(_var.Queue_visibility_in_seconds),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.oci.Queue.Queue;\nimport com.pulumi.oci.Queue.QueueArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var testQueue = new Queue(\"testQueue\", QueueArgs.builder() \n .compartmentId(var_.compartment_id())\n .displayName(var_.queue_display_name())\n .customEncryptionKeyId(oci_kms_key.test_key().id())\n .deadLetterQueueDeliveryCount(var_.queue_dead_letter_queue_delivery_count())\n .definedTags(Map.of(\"foo-namespace.bar-key\", \"value\"))\n .freeformTags(Map.of(\"bar-key\", \"value\"))\n .retentionInSeconds(var_.queue_retention_in_seconds())\n .timeoutInSeconds(var_.queue_timeout_in_seconds())\n .visibilityInSeconds(var_.queue_visibility_in_seconds())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testQueue:\n type: oci:Queue:Queue\n properties:\n #Required\n compartmentId: ${var.compartment_id}\n displayName: ${var.queue_display_name}\n #Optional\n customEncryptionKeyId: ${oci_kms_key.test_key.id}\n deadLetterQueueDeliveryCount: ${var.queue_dead_letter_queue_delivery_count}\n definedTags:\n foo-namespace.bar-key: value\n freeformTags:\n bar-key: value\n retentionInSeconds: ${var.queue_retention_in_seconds}\n timeoutInSeconds: ${var.queue_timeout_in_seconds}\n visibilityInSeconds: ${var.queue_visibility_in_seconds}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nQueues can be imported using the `id`, e.g.\n\n```sh\n $ pulumi import oci:Queue/queue:Queue test_queue \"id\"\n```\n ", + "description": "This resource provides the Queue resource in Oracle Cloud Infrastructure Queue service.\n\nCreates a new queue.\n\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testQueue = new oci.queue.Queue(\"testQueue\", {\n compartmentId: _var.compartment_id,\n displayName: _var.queue_display_name,\n channelConsumptionLimit: _var.queue_channel_consumption_limit,\n customEncryptionKeyId: oci_kms_key.test_key.id,\n deadLetterQueueDeliveryCount: _var.queue_dead_letter_queue_delivery_count,\n definedTags: {\n \"foo-namespace.bar-key\": \"value\",\n },\n freeformTags: {\n \"bar-key\": \"value\",\n },\n retentionInSeconds: _var.queue_retention_in_seconds,\n timeoutInSeconds: _var.queue_timeout_in_seconds,\n visibilityInSeconds: _var.queue_visibility_in_seconds,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_queue = oci.queue.Queue(\"testQueue\",\n compartment_id=var[\"compartment_id\"],\n display_name=var[\"queue_display_name\"],\n channel_consumption_limit=var[\"queue_channel_consumption_limit\"],\n custom_encryption_key_id=oci_kms_key[\"test_key\"][\"id\"],\n dead_letter_queue_delivery_count=var[\"queue_dead_letter_queue_delivery_count\"],\n defined_tags={\n \"foo-namespace.bar-key\": \"value\",\n },\n freeform_tags={\n \"bar-key\": \"value\",\n },\n retention_in_seconds=var[\"queue_retention_in_seconds\"],\n timeout_in_seconds=var[\"queue_timeout_in_seconds\"],\n visibility_in_seconds=var[\"queue_visibility_in_seconds\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Oci = Pulumi.Oci;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var testQueue = new Oci.Queue.Queue(\"testQueue\", new()\n {\n CompartmentId = @var.Compartment_id,\n DisplayName = @var.Queue_display_name,\n ChannelConsumptionLimit = @var.Queue_channel_consumption_limit,\n CustomEncryptionKeyId = oci_kms_key.Test_key.Id,\n DeadLetterQueueDeliveryCount = @var.Queue_dead_letter_queue_delivery_count,\n DefinedTags = \n {\n { \"foo-namespace.bar-key\", \"value\" },\n },\n FreeformTags = \n {\n { \"bar-key\", \"value\" },\n },\n RetentionInSeconds = @var.Queue_retention_in_seconds,\n TimeoutInSeconds = @var.Queue_timeout_in_seconds,\n VisibilityInSeconds = @var.Queue_visibility_in_seconds,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/go/oci/Queue\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := Queue.NewQueue(ctx, \"testQueue\", \u0026Queue.QueueArgs{\n\t\t\tCompartmentId: pulumi.Any(_var.Compartment_id),\n\t\t\tDisplayName: pulumi.Any(_var.Queue_display_name),\n\t\t\tChannelConsumptionLimit: pulumi.Any(_var.Queue_channel_consumption_limit),\n\t\t\tCustomEncryptionKeyId: pulumi.Any(oci_kms_key.Test_key.Id),\n\t\t\tDeadLetterQueueDeliveryCount: pulumi.Any(_var.Queue_dead_letter_queue_delivery_count),\n\t\t\tDefinedTags: pulumi.AnyMap{\n\t\t\t\t\"foo-namespace.bar-key\": pulumi.Any(\"value\"),\n\t\t\t},\n\t\t\tFreeformTags: pulumi.AnyMap{\n\t\t\t\t\"bar-key\": pulumi.Any(\"value\"),\n\t\t\t},\n\t\t\tRetentionInSeconds: pulumi.Any(_var.Queue_retention_in_seconds),\n\t\t\tTimeoutInSeconds: pulumi.Any(_var.Queue_timeout_in_seconds),\n\t\t\tVisibilityInSeconds: pulumi.Any(_var.Queue_visibility_in_seconds),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.oci.Queue.Queue;\nimport com.pulumi.oci.Queue.QueueArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var testQueue = new Queue(\"testQueue\", QueueArgs.builder() \n .compartmentId(var_.compartment_id())\n .displayName(var_.queue_display_name())\n .channelConsumptionLimit(var_.queue_channel_consumption_limit())\n .customEncryptionKeyId(oci_kms_key.test_key().id())\n .deadLetterQueueDeliveryCount(var_.queue_dead_letter_queue_delivery_count())\n .definedTags(Map.of(\"foo-namespace.bar-key\", \"value\"))\n .freeformTags(Map.of(\"bar-key\", \"value\"))\n .retentionInSeconds(var_.queue_retention_in_seconds())\n .timeoutInSeconds(var_.queue_timeout_in_seconds())\n .visibilityInSeconds(var_.queue_visibility_in_seconds())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n testQueue:\n type: oci:Queue:Queue\n properties:\n #Required\n compartmentId: ${var.compartment_id}\n displayName: ${var.queue_display_name}\n #Optional\n channelConsumptionLimit: ${var.queue_channel_consumption_limit}\n customEncryptionKeyId: ${oci_kms_key.test_key.id}\n deadLetterQueueDeliveryCount: ${var.queue_dead_letter_queue_delivery_count}\n definedTags:\n foo-namespace.bar-key: value\n freeformTags:\n bar-key: value\n retentionInSeconds: ${var.queue_retention_in_seconds}\n timeoutInSeconds: ${var.queue_timeout_in_seconds}\n visibilityInSeconds: ${var.queue_visibility_in_seconds}\n```\n{{% /example %}}\n{{% /examples %}}\n\n## Import\n\nQueues can be imported using the `id`, e.g.\n\n```sh\n $ pulumi import oci:Queue/queue:Queue test_queue \"id\"\n```\n ", "properties": { + "channelConsumptionLimit": { + "type": "integer", + "description": "(Updatable) The percentage of allocated queue resources that can be consumed by a single channel. For example, if a queue has a storage limit of 2Gb, and a single channel consumption limit is 0.1 (10%), that means data size of a single channel can't exceed 200Mb. Consumption limit of 100% (default) means that a single channel can consume up-to all allocated queue's resources.\n" + }, "compartmentId": { "type": "string", - "description": "(Updatable) Compartment Identifier\n" + "description": "(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the queue.\n" }, "customEncryptionKeyId": { "type": "string", - "description": "(Updatable) Id of the custom master encryption key which will be used to encrypt messages content\n" + "description": "(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the custom encryption key to be used to encrypt messages content.\n" }, "deadLetterQueueDeliveryCount": { "type": "integer", @@ -408659,7 +412155,7 @@ }, "displayName": { "type": "string", - "description": "(Updatable) Queue Identifier\n" + "description": "(Updatable) The user-friendly name of the queue.\n" }, "freeformTags": { "type": "object", @@ -408670,7 +412166,7 @@ }, "lifecycleDetails": { "type": "string", - "description": "A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.\n" + "description": "Any additional details about the current state of the queue.\n" }, "messagesEndpoint": { "type": "string", @@ -408684,11 +412180,11 @@ }, "retentionInSeconds": { "type": "integer", - "description": "The retention period of the messages in the queue, in seconds.\n" + "description": "The retention period of messages in the queue, in seconds.\n" }, "state": { "type": "string", - "description": "The current state of the Queue.\n" + "description": "The current state of the queue.\n" }, "systemTags": { "type": "object", @@ -408699,11 +412195,11 @@ }, "timeCreated": { "type": "string", - "description": "The time the the Queue was created. An RFC3339 formatted datetime string\n" + "description": "The time that the queue was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z`\n" }, "timeUpdated": { "type": "string", - "description": "The time the Queue was updated. An RFC3339 formatted datetime string\n" + "description": "The time that the queue was updated, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z`\n" }, "timeoutInSeconds": { "type": "integer", @@ -408711,10 +412207,11 @@ }, "visibilityInSeconds": { "type": "integer", - "description": "(Updatable) The default visibility of the messages consumed from the queue.\n" + "description": "(Updatable) The default visibility timeout of the messages consumed from the queue, in seconds.\n" } }, "required": [ + "channelConsumptionLimit", "compartmentId", "customEncryptionKeyId", "deadLetterQueueDeliveryCount", @@ -408732,13 +412229,17 @@ "visibilityInSeconds" ], "inputProperties": { + "channelConsumptionLimit": { + "type": "integer", + "description": "(Updatable) The percentage of allocated queue resources that can be consumed by a single channel. For example, if a queue has a storage limit of 2Gb, and a single channel consumption limit is 0.1 (10%), that means data size of a single channel can't exceed 200Mb. Consumption limit of 100% (default) means that a single channel can consume up-to all allocated queue's resources.\n" + }, "compartmentId": { "type": "string", - "description": "(Updatable) Compartment Identifier\n" + "description": "(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the queue.\n" }, "customEncryptionKeyId": { "type": "string", - "description": "(Updatable) Id of the custom master encryption key which will be used to encrypt messages content\n" + "description": "(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the custom encryption key to be used to encrypt messages content.\n" }, "deadLetterQueueDeliveryCount": { "type": "integer", @@ -408753,7 +412254,7 @@ }, "displayName": { "type": "string", - "description": "(Updatable) Queue Identifier\n" + "description": "(Updatable) The user-friendly name of the queue.\n" }, "freeformTags": { "type": "object", @@ -408770,7 +412271,7 @@ }, "retentionInSeconds": { "type": "integer", - "description": "The retention period of the messages in the queue, in seconds.\n", + "description": "The retention period of messages in the queue, in seconds.\n", "willReplaceOnChanges": true }, "timeoutInSeconds": { @@ -408779,7 +412280,7 @@ }, "visibilityInSeconds": { "type": "integer", - "description": "(Updatable) The default visibility of the messages consumed from the queue.\n" + "description": "(Updatable) The default visibility timeout of the messages consumed from the queue, in seconds.\n" } }, "requiredInputs": [ @@ -408789,13 +412290,17 @@ "stateInputs": { "description": "Input properties used for looking up and filtering Queue resources.\n", "properties": { + "channelConsumptionLimit": { + "type": "integer", + "description": "(Updatable) The percentage of allocated queue resources that can be consumed by a single channel. For example, if a queue has a storage limit of 2Gb, and a single channel consumption limit is 0.1 (10%), that means data size of a single channel can't exceed 200Mb. Consumption limit of 100% (default) means that a single channel can consume up-to all allocated queue's resources.\n" + }, "compartmentId": { "type": "string", - "description": "(Updatable) Compartment Identifier\n" + "description": "(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the queue.\n" }, "customEncryptionKeyId": { "type": "string", - "description": "(Updatable) Id of the custom master encryption key which will be used to encrypt messages content\n" + "description": "(Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the custom encryption key to be used to encrypt messages content.\n" }, "deadLetterQueueDeliveryCount": { "type": "integer", @@ -408810,7 +412315,7 @@ }, "displayName": { "type": "string", - "description": "(Updatable) Queue Identifier\n" + "description": "(Updatable) The user-friendly name of the queue.\n" }, "freeformTags": { "type": "object", @@ -408821,7 +412326,7 @@ }, "lifecycleDetails": { "type": "string", - "description": "A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.\n" + "description": "Any additional details about the current state of the queue.\n" }, "messagesEndpoint": { "type": "string", @@ -408835,12 +412340,12 @@ }, "retentionInSeconds": { "type": "integer", - "description": "The retention period of the messages in the queue, in seconds.\n", + "description": "The retention period of messages in the queue, in seconds.\n", "willReplaceOnChanges": true }, "state": { "type": "string", - "description": "The current state of the Queue.\n" + "description": "The current state of the queue.\n" }, "systemTags": { "type": "object", @@ -408851,11 +412356,11 @@ }, "timeCreated": { "type": "string", - "description": "The time the the Queue was created. An RFC3339 formatted datetime string\n" + "description": "The time that the queue was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z`\n" }, "timeUpdated": { "type": "string", - "description": "The time the Queue was updated. An RFC3339 formatted datetime string\n" + "description": "The time that the queue was updated, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z`\n" }, "timeoutInSeconds": { "type": "integer", @@ -408863,7 +412368,7 @@ }, "visibilityInSeconds": { "type": "integer", - "description": "(Updatable) The default visibility of the messages consumed from the queue.\n" + "description": "(Updatable) The default visibility timeout of the messages consumed from the queue, in seconds.\n" } }, "type": "object" @@ -434140,6 +437645,455 @@ ] } }, + "oci:ComputeCloud/getAtCustomerCccInfrastructure:getAtCustomerCccInfrastructure": { + "description": "This data source provides details about a specific Ccc Infrastructure resource in Oracle Cloud Infrastructure Compute Cloud At Customer service.\n\nGets a Compute Cloud@Customer infrastructure using the infrastructure\n[OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).\n\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testCccInfrastructure = oci.ComputeCloud.getAtCustomerCccInfrastructure({\n cccInfrastructureId: oci_compute_cloud_at_customer_ccc_infrastructure.test_ccc_infrastructure.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_ccc_infrastructure = oci.ComputeCloud.get_at_customer_ccc_infrastructure(ccc_infrastructure_id=oci_compute_cloud_at_customer_ccc_infrastructure[\"test_ccc_infrastructure\"][\"id\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Oci = Pulumi.Oci;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var testCccInfrastructure = Oci.ComputeCloud.GetAtCustomerCccInfrastructure.Invoke(new()\n {\n CccInfrastructureId = oci_compute_cloud_at_customer_ccc_infrastructure.Test_ccc_infrastructure.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/go/oci/ComputeCloud\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := ComputeCloud.GetAtCustomerCccInfrastructure(ctx, \u0026computecloud.GetAtCustomerCccInfrastructureArgs{\n\t\t\tCccInfrastructureId: oci_compute_cloud_at_customer_ccc_infrastructure.Test_ccc_infrastructure.Id,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.oci.ComputeCloud.ComputeCloudFunctions;\nimport com.pulumi.oci.ComputeCloud.inputs.GetAtCustomerCccInfrastructureArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var testCccInfrastructure = ComputeCloudFunctions.getAtCustomerCccInfrastructure(GetAtCustomerCccInfrastructureArgs.builder()\n .cccInfrastructureId(oci_compute_cloud_at_customer_ccc_infrastructure.test_ccc_infrastructure().id())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testCccInfrastructure:\n fn::invoke:\n Function: oci:ComputeCloud:getAtCustomerCccInfrastructure\n Arguments:\n cccInfrastructureId: ${oci_compute_cloud_at_customer_ccc_infrastructure.test_ccc_infrastructure.id}\n```\n{{% /example %}}\n{{% /examples %}}", + "inputs": { + "description": "A collection of arguments for invoking getAtCustomerCccInfrastructure.\n", + "properties": { + "cccInfrastructureId": { + "type": "string", + "description": "An [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for a Compute Cloud@Customer Infrastructure.\n" + } + }, + "type": "object", + "required": [ + "cccInfrastructureId" + ] + }, + "outputs": { + "description": "A collection of values returned by getAtCustomerCccInfrastructure.\n", + "properties": { + "cccInfrastructureId": { + "type": "string" + }, + "cccUpgradeScheduleId": { + "type": "string", + "description": "Schedule used for upgrades. If no schedule is associated with the infrastructure, it can be updated at any time.\n" + }, + "compartmentId": { + "type": "string", + "description": "The infrastructure compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).\n" + }, + "connectionDetails": { + "type": "string", + "description": "A message describing the current connection state in more detail.\n" + }, + "connectionState": { + "type": "string", + "description": "The current connection state of the infrastructure. A user can only update it from REQUEST to READY or from any state back to REJECT. The system automatically handles the REJECT to REQUEST, READY to CONNECTED, or CONNECTED to DISCONNECTED transitions.\n" + }, + "definedTags": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"foo-namespace.bar-key\": \"value\"}`\n" + }, + "description": { + "type": "string", + "description": "A mutable client-meaningful text description of the Compute Cloud@Customer infrastructure. Avoid entering confidential information.\n" + }, + "displayName": { + "type": "string", + "description": "The name that will be used to display the Compute Cloud@Customer infrastructure in the Oracle Cloud Infrastructure console. Does not have to be unique and can be changed. Avoid entering confidential information.\n" + }, + "freeformTags": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{\"bar-key\": \"value\"}`\n" + }, + "id": { + "type": "string", + "description": "The Compute Cloud@Customer infrastructure [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). This cannot be changed once created.\n" + }, + "infrastructureInventories": { + "type": "array", + "items": { + "$ref": "#/types/oci:ComputeCloud/getAtCustomerCccInfrastructureInfrastructureInventory:getAtCustomerCccInfrastructureInfrastructureInventory" + }, + "description": "Inventory for a Compute Cloud@Customer infrastructure. This information cannot be updated and is from the infrastructure. The information will only be available after the connectionState is transitioned to CONNECTED.\n" + }, + "infrastructureNetworkConfigurations": { + "type": "array", + "items": { + "$ref": "#/types/oci:ComputeCloud/getAtCustomerCccInfrastructureInfrastructureNetworkConfiguration:getAtCustomerCccInfrastructureInfrastructureNetworkConfiguration" + }, + "description": "Configuration information for the Compute Cloud@Customer infrastructure. This network configuration information cannot be updated and is retrieved from the data center. The information will only be available after the connectionState is transitioned to CONNECTED.\n" + }, + "lifecycleDetails": { + "type": "string", + "description": "A message describing the current lifecycle state in more detail. For example, this can be used to provide actionable information for a resource that is in a Failed state.\n" + }, + "provisioningFingerprint": { + "type": "string", + "description": "Fingerprint of a Compute Cloud@Customer infrastructure in a data center generated during the initial connection to this resource. The fingerprint should be verified by the administrator when changing the connectionState from REQUEST to READY.\n" + }, + "provisioningPin": { + "type": "string", + "description": "Code that is required for service personnel to connect a Compute Cloud@Customer infrastructure in a data center to this resource. This code will only be available when the connectionState is REJECT (usually at create time of the Compute Cloud@Customer infrastructure).\n" + }, + "shortName": { + "type": "string", + "description": "The Compute Cloud@Customer infrastructure short name. This cannot be changed once created. The short name is used to refer to the infrastructure in several contexts and is unique.\n" + }, + "state": { + "type": "string", + "description": "The current state of the Compute Cloud@Customer infrastructure.\n" + }, + "subnetId": { + "type": "string", + "description": "[OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the network subnet that is used to communicate with Compute Cloud@Customer infrastructure.\n" + }, + "systemTags": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"orcl-cloud.free-tier-retained\": \"true\"}`\n" + }, + "timeCreated": { + "type": "string", + "description": "Compute Cloud@Customer infrastructure creation date and time, using an RFC3339 formatted datetime string.\n" + }, + "timeUpdated": { + "type": "string", + "description": "Compute Cloud@Customer infrastructure updated date and time, using an RFC3339 formatted datetime string.\n" + }, + "upgradeInformations": { + "type": "array", + "items": { + "$ref": "#/types/oci:ComputeCloud/getAtCustomerCccInfrastructureUpgradeInformation:getAtCustomerCccInfrastructureUpgradeInformation" + }, + "description": "Upgrade information that relates to a Compute Cloud@Customer infrastructure. This information cannot be updated.\n" + } + }, + "type": "object", + "required": [ + "cccInfrastructureId", + "cccUpgradeScheduleId", + "compartmentId", + "connectionDetails", + "connectionState", + "definedTags", + "description", + "displayName", + "freeformTags", + "id", + "infrastructureInventories", + "infrastructureNetworkConfigurations", + "lifecycleDetails", + "provisioningFingerprint", + "provisioningPin", + "shortName", + "state", + "subnetId", + "systemTags", + "timeCreated", + "timeUpdated", + "upgradeInformations" + ] + } + }, + "oci:ComputeCloud/getAtCustomerCccInfrastructures:getAtCustomerCccInfrastructures": { + "description": "This data source provides the list of Ccc Infrastructures in Oracle Cloud Infrastructure Compute Cloud At Customer service.\n\nReturns a list of Compute Cloud@Customer infrastructures.\n\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testCccInfrastructures = oci.ComputeCloud.getAtCustomerCccInfrastructures({\n accessLevel: _var.ccc_infrastructure_access_level,\n cccInfrastructureId: oci_compute_cloud_at_customer_ccc_infrastructure.test_ccc_infrastructure.id,\n compartmentId: _var.compartment_id,\n compartmentIdInSubtree: _var.ccc_infrastructure_compartment_id_in_subtree,\n displayName: _var.ccc_infrastructure_display_name,\n displayNameContains: _var.ccc_infrastructure_display_name_contains,\n state: _var.ccc_infrastructure_state,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_ccc_infrastructures = oci.ComputeCloud.get_at_customer_ccc_infrastructures(access_level=var[\"ccc_infrastructure_access_level\"],\n ccc_infrastructure_id=oci_compute_cloud_at_customer_ccc_infrastructure[\"test_ccc_infrastructure\"][\"id\"],\n compartment_id=var[\"compartment_id\"],\n compartment_id_in_subtree=var[\"ccc_infrastructure_compartment_id_in_subtree\"],\n display_name=var[\"ccc_infrastructure_display_name\"],\n display_name_contains=var[\"ccc_infrastructure_display_name_contains\"],\n state=var[\"ccc_infrastructure_state\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Oci = Pulumi.Oci;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var testCccInfrastructures = Oci.ComputeCloud.GetAtCustomerCccInfrastructures.Invoke(new()\n {\n AccessLevel = @var.Ccc_infrastructure_access_level,\n CccInfrastructureId = oci_compute_cloud_at_customer_ccc_infrastructure.Test_ccc_infrastructure.Id,\n CompartmentId = @var.Compartment_id,\n CompartmentIdInSubtree = @var.Ccc_infrastructure_compartment_id_in_subtree,\n DisplayName = @var.Ccc_infrastructure_display_name,\n DisplayNameContains = @var.Ccc_infrastructure_display_name_contains,\n State = @var.Ccc_infrastructure_state,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/go/oci/ComputeCloud\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := ComputeCloud.GetAtCustomerCccInfrastructures(ctx, \u0026computecloud.GetAtCustomerCccInfrastructuresArgs{\n\t\t\tAccessLevel: pulumi.StringRef(_var.Ccc_infrastructure_access_level),\n\t\t\tCccInfrastructureId: pulumi.StringRef(oci_compute_cloud_at_customer_ccc_infrastructure.Test_ccc_infrastructure.Id),\n\t\t\tCompartmentId: pulumi.StringRef(_var.Compartment_id),\n\t\t\tCompartmentIdInSubtree: pulumi.BoolRef(_var.Ccc_infrastructure_compartment_id_in_subtree),\n\t\t\tDisplayName: pulumi.StringRef(_var.Ccc_infrastructure_display_name),\n\t\t\tDisplayNameContains: pulumi.StringRef(_var.Ccc_infrastructure_display_name_contains),\n\t\t\tState: pulumi.StringRef(_var.Ccc_infrastructure_state),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.oci.ComputeCloud.ComputeCloudFunctions;\nimport com.pulumi.oci.ComputeCloud.inputs.GetAtCustomerCccInfrastructuresArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var testCccInfrastructures = ComputeCloudFunctions.getAtCustomerCccInfrastructures(GetAtCustomerCccInfrastructuresArgs.builder()\n .accessLevel(var_.ccc_infrastructure_access_level())\n .cccInfrastructureId(oci_compute_cloud_at_customer_ccc_infrastructure.test_ccc_infrastructure().id())\n .compartmentId(var_.compartment_id())\n .compartmentIdInSubtree(var_.ccc_infrastructure_compartment_id_in_subtree())\n .displayName(var_.ccc_infrastructure_display_name())\n .displayNameContains(var_.ccc_infrastructure_display_name_contains())\n .state(var_.ccc_infrastructure_state())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testCccInfrastructures:\n fn::invoke:\n Function: oci:ComputeCloud:getAtCustomerCccInfrastructures\n Arguments:\n accessLevel: ${var.ccc_infrastructure_access_level}\n cccInfrastructureId: ${oci_compute_cloud_at_customer_ccc_infrastructure.test_ccc_infrastructure.id}\n compartmentId: ${var.compartment_id}\n compartmentIdInSubtree: ${var.ccc_infrastructure_compartment_id_in_subtree}\n displayName: ${var.ccc_infrastructure_display_name}\n displayNameContains: ${var.ccc_infrastructure_display_name_contains}\n state: ${var.ccc_infrastructure_state}\n```\n{{% /example %}}\n{{% /examples %}}", + "inputs": { + "description": "A collection of arguments for invoking getAtCustomerCccInfrastructures.\n", + "properties": { + "accessLevel": { + "type": "string", + "description": "Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.\n" + }, + "cccInfrastructureId": { + "type": "string", + "description": "An [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for a Compute Cloud@Customer Infrastructure.\n" + }, + "compartmentId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.\n" + }, + "compartmentIdInSubtree": { + "type": "boolean", + "description": "Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and sub-compartments in the tenancy are returned. Depends on the 'accessLevel' setting.\n" + }, + "displayName": { + "type": "string", + "description": "A filter to return only resources that match the entire display name given.\n" + }, + "displayNameContains": { + "type": "string", + "description": "A filter to return only resources whose display name contains the substring.\n" + }, + "filters": { + "type": "array", + "items": { + "$ref": "#/types/oci:ComputeCloud/getAtCustomerCccInfrastructuresFilter:getAtCustomerCccInfrastructuresFilter" + }, + "willReplaceOnChanges": true + }, + "state": { + "type": "string", + "description": "A filter used to return only resources that match the given lifecycleState.\n" + } + }, + "type": "object" + }, + "outputs": { + "description": "A collection of values returned by getAtCustomerCccInfrastructures.\n", + "properties": { + "accessLevel": { + "type": "string" + }, + "cccInfrastructureCollections": { + "type": "array", + "items": { + "$ref": "#/types/oci:ComputeCloud/getAtCustomerCccInfrastructuresCccInfrastructureCollection:getAtCustomerCccInfrastructuresCccInfrastructureCollection" + }, + "description": "The list of ccc_infrastructure_collection.\n" + }, + "cccInfrastructureId": { + "type": "string" + }, + "compartmentId": { + "type": "string", + "description": "The infrastructure compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).\n" + }, + "compartmentIdInSubtree": { + "type": "boolean" + }, + "displayName": { + "type": "string", + "description": "The name that will be used to display the Compute Cloud@Customer infrastructure in the Oracle Cloud Infrastructure console. Does not have to be unique and can be changed. Avoid entering confidential information.\n" + }, + "displayNameContains": { + "type": "string" + }, + "filters": { + "type": "array", + "items": { + "$ref": "#/types/oci:ComputeCloud/getAtCustomerCccInfrastructuresFilter:getAtCustomerCccInfrastructuresFilter" + } + }, + "id": { + "type": "string", + "description": "The provider-assigned unique ID for this managed resource.\n" + }, + "state": { + "type": "string", + "description": "The current state of the Compute Cloud@Customer infrastructure.\n" + } + }, + "type": "object", + "required": [ + "cccInfrastructureCollections", + "id" + ] + } + }, + "oci:ComputeCloud/getAtCustomerCccUpgradeSchedule:getAtCustomerCccUpgradeSchedule": { + "description": "This data source provides details about a specific Ccc Upgrade Schedule resource in Oracle Cloud Infrastructure Compute Cloud At Customer service.\n\nGets a Compute Cloud@Customer upgrade schedule by the specified\n[OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).\n\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testCccUpgradeSchedule = oci.ComputeCloud.getAtCustomerCccUpgradeSchedule({\n cccUpgradeScheduleId: oci_compute_cloud_at_customer_ccc_upgrade_schedule.test_ccc_upgrade_schedule.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_ccc_upgrade_schedule = oci.ComputeCloud.get_at_customer_ccc_upgrade_schedule(ccc_upgrade_schedule_id=oci_compute_cloud_at_customer_ccc_upgrade_schedule[\"test_ccc_upgrade_schedule\"][\"id\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Oci = Pulumi.Oci;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var testCccUpgradeSchedule = Oci.ComputeCloud.GetAtCustomerCccUpgradeSchedule.Invoke(new()\n {\n CccUpgradeScheduleId = oci_compute_cloud_at_customer_ccc_upgrade_schedule.Test_ccc_upgrade_schedule.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/go/oci/ComputeCloud\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := ComputeCloud.GetAtCustomerCccUpgradeSchedule(ctx, \u0026computecloud.GetAtCustomerCccUpgradeScheduleArgs{\n\t\t\tCccUpgradeScheduleId: oci_compute_cloud_at_customer_ccc_upgrade_schedule.Test_ccc_upgrade_schedule.Id,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.oci.ComputeCloud.ComputeCloudFunctions;\nimport com.pulumi.oci.ComputeCloud.inputs.GetAtCustomerCccUpgradeScheduleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var testCccUpgradeSchedule = ComputeCloudFunctions.getAtCustomerCccUpgradeSchedule(GetAtCustomerCccUpgradeScheduleArgs.builder()\n .cccUpgradeScheduleId(oci_compute_cloud_at_customer_ccc_upgrade_schedule.test_ccc_upgrade_schedule().id())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testCccUpgradeSchedule:\n fn::invoke:\n Function: oci:ComputeCloud:getAtCustomerCccUpgradeSchedule\n Arguments:\n cccUpgradeScheduleId: ${oci_compute_cloud_at_customer_ccc_upgrade_schedule.test_ccc_upgrade_schedule.id}\n```\n{{% /example %}}\n{{% /examples %}}", + "inputs": { + "description": "A collection of arguments for invoking getAtCustomerCccUpgradeSchedule.\n", + "properties": { + "cccUpgradeScheduleId": { + "type": "string", + "description": "Compute Cloud@Customer upgrade schedule [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).\n" + } + }, + "type": "object", + "required": [ + "cccUpgradeScheduleId" + ] + }, + "outputs": { + "description": "A collection of values returned by getAtCustomerCccUpgradeSchedule.\n", + "properties": { + "cccUpgradeScheduleId": { + "type": "string" + }, + "compartmentId": { + "type": "string", + "description": "Compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Compute Cloud@Customer upgrade schedule.\n" + }, + "definedTags": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"foo-namespace.bar-key\": \"value\"}`\n" + }, + "description": { + "type": "string", + "description": "A description of the Compute Cloud@Customer upgrade schedule time block.\n" + }, + "displayName": { + "type": "string", + "description": "Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information.\n" + }, + "events": { + "type": "array", + "items": { + "$ref": "#/types/oci:ComputeCloud/getAtCustomerCccUpgradeScheduleEvent:getAtCustomerCccUpgradeScheduleEvent" + }, + "description": "List of preferred times for Compute Cloud@Customer infrastructures associated with this schedule to be upgraded.\n" + }, + "freeformTags": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{\"bar-key\": \"value\"}`\n" + }, + "id": { + "type": "string", + "description": "Upgrade schedule [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). This cannot be changed once created.\n" + }, + "infrastructureIds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "List of Compute Cloud@Customer infrastructure [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that are using this upgrade schedule.\n" + }, + "lifecycleDetails": { + "type": "string", + "description": "A message describing the current state in more detail. For example, the message can be used to provide actionable information for a resource in a Failed state.\n" + }, + "state": { + "type": "string", + "description": "Lifecycle state of the resource.\n" + }, + "systemTags": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{\"orcl-cloud.free-tier-retained\": \"true\"}`\n" + }, + "timeCreated": { + "type": "string", + "description": "The time the upgrade schedule was created, using an RFC3339 formatted datetime string.\n" + }, + "timeUpdated": { + "type": "string", + "description": "The time the upgrade schedule was updated, using an RFC3339 formatted datetime string.\n" + } + }, + "type": "object", + "required": [ + "cccUpgradeScheduleId", + "compartmentId", + "definedTags", + "description", + "displayName", + "events", + "freeformTags", + "id", + "infrastructureIds", + "lifecycleDetails", + "state", + "systemTags", + "timeCreated", + "timeUpdated" + ] + } + }, + "oci:ComputeCloud/getAtCustomerCccUpgradeSchedules:getAtCustomerCccUpgradeSchedules": { + "description": "This data source provides the list of Ccc Upgrade Schedules in Oracle Cloud Infrastructure Compute Cloud At Customer service.\n\nReturns a list of Compute Cloud@Customer upgrade schedules.\n\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testCccUpgradeSchedules = oci.ComputeCloud.getAtCustomerCccUpgradeSchedules({\n accessLevel: _var.ccc_upgrade_schedule_access_level,\n cccUpgradeScheduleId: oci_compute_cloud_at_customer_ccc_upgrade_schedule.test_ccc_upgrade_schedule.id,\n compartmentId: _var.compartment_id,\n compartmentIdInSubtree: _var.ccc_upgrade_schedule_compartment_id_in_subtree,\n displayName: _var.ccc_upgrade_schedule_display_name,\n displayNameContains: _var.ccc_upgrade_schedule_display_name_contains,\n state: _var.ccc_upgrade_schedule_state,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_ccc_upgrade_schedules = oci.ComputeCloud.get_at_customer_ccc_upgrade_schedules(access_level=var[\"ccc_upgrade_schedule_access_level\"],\n ccc_upgrade_schedule_id=oci_compute_cloud_at_customer_ccc_upgrade_schedule[\"test_ccc_upgrade_schedule\"][\"id\"],\n compartment_id=var[\"compartment_id\"],\n compartment_id_in_subtree=var[\"ccc_upgrade_schedule_compartment_id_in_subtree\"],\n display_name=var[\"ccc_upgrade_schedule_display_name\"],\n display_name_contains=var[\"ccc_upgrade_schedule_display_name_contains\"],\n state=var[\"ccc_upgrade_schedule_state\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Oci = Pulumi.Oci;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var testCccUpgradeSchedules = Oci.ComputeCloud.GetAtCustomerCccUpgradeSchedules.Invoke(new()\n {\n AccessLevel = @var.Ccc_upgrade_schedule_access_level,\n CccUpgradeScheduleId = oci_compute_cloud_at_customer_ccc_upgrade_schedule.Test_ccc_upgrade_schedule.Id,\n CompartmentId = @var.Compartment_id,\n CompartmentIdInSubtree = @var.Ccc_upgrade_schedule_compartment_id_in_subtree,\n DisplayName = @var.Ccc_upgrade_schedule_display_name,\n DisplayNameContains = @var.Ccc_upgrade_schedule_display_name_contains,\n State = @var.Ccc_upgrade_schedule_state,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/go/oci/ComputeCloud\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := ComputeCloud.GetAtCustomerCccUpgradeSchedules(ctx, \u0026computecloud.GetAtCustomerCccUpgradeSchedulesArgs{\n\t\t\tAccessLevel: pulumi.StringRef(_var.Ccc_upgrade_schedule_access_level),\n\t\t\tCccUpgradeScheduleId: pulumi.StringRef(oci_compute_cloud_at_customer_ccc_upgrade_schedule.Test_ccc_upgrade_schedule.Id),\n\t\t\tCompartmentId: pulumi.StringRef(_var.Compartment_id),\n\t\t\tCompartmentIdInSubtree: pulumi.BoolRef(_var.Ccc_upgrade_schedule_compartment_id_in_subtree),\n\t\t\tDisplayName: pulumi.StringRef(_var.Ccc_upgrade_schedule_display_name),\n\t\t\tDisplayNameContains: pulumi.StringRef(_var.Ccc_upgrade_schedule_display_name_contains),\n\t\t\tState: pulumi.StringRef(_var.Ccc_upgrade_schedule_state),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.oci.ComputeCloud.ComputeCloudFunctions;\nimport com.pulumi.oci.ComputeCloud.inputs.GetAtCustomerCccUpgradeSchedulesArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var testCccUpgradeSchedules = ComputeCloudFunctions.getAtCustomerCccUpgradeSchedules(GetAtCustomerCccUpgradeSchedulesArgs.builder()\n .accessLevel(var_.ccc_upgrade_schedule_access_level())\n .cccUpgradeScheduleId(oci_compute_cloud_at_customer_ccc_upgrade_schedule.test_ccc_upgrade_schedule().id())\n .compartmentId(var_.compartment_id())\n .compartmentIdInSubtree(var_.ccc_upgrade_schedule_compartment_id_in_subtree())\n .displayName(var_.ccc_upgrade_schedule_display_name())\n .displayNameContains(var_.ccc_upgrade_schedule_display_name_contains())\n .state(var_.ccc_upgrade_schedule_state())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testCccUpgradeSchedules:\n fn::invoke:\n Function: oci:ComputeCloud:getAtCustomerCccUpgradeSchedules\n Arguments:\n accessLevel: ${var.ccc_upgrade_schedule_access_level}\n cccUpgradeScheduleId: ${oci_compute_cloud_at_customer_ccc_upgrade_schedule.test_ccc_upgrade_schedule.id}\n compartmentId: ${var.compartment_id}\n compartmentIdInSubtree: ${var.ccc_upgrade_schedule_compartment_id_in_subtree}\n displayName: ${var.ccc_upgrade_schedule_display_name}\n displayNameContains: ${var.ccc_upgrade_schedule_display_name_contains}\n state: ${var.ccc_upgrade_schedule_state}\n```\n{{% /example %}}\n{{% /examples %}}", + "inputs": { + "description": "A collection of arguments for invoking getAtCustomerCccUpgradeSchedules.\n", + "properties": { + "accessLevel": { + "type": "string", + "description": "Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed.\n" + }, + "cccUpgradeScheduleId": { + "type": "string", + "description": "Compute Cloud@Customer upgrade schedule [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).\n" + }, + "compartmentId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.\n" + }, + "compartmentIdInSubtree": { + "type": "boolean", + "description": "Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and sub-compartments in the tenancy are returned. Depends on the 'accessLevel' setting.\n" + }, + "displayName": { + "type": "string", + "description": "A filter to return only resources that match the entire display name given.\n" + }, + "displayNameContains": { + "type": "string", + "description": "A filter to return only resources whose display name contains the substring.\n" + }, + "filters": { + "type": "array", + "items": { + "$ref": "#/types/oci:ComputeCloud/getAtCustomerCccUpgradeSchedulesFilter:getAtCustomerCccUpgradeSchedulesFilter" + }, + "willReplaceOnChanges": true + }, + "state": { + "type": "string", + "description": "A filter to return resources only when their lifecycleState matches the given lifecycleState.\n" + } + }, + "type": "object" + }, + "outputs": { + "description": "A collection of values returned by getAtCustomerCccUpgradeSchedules.\n", + "properties": { + "accessLevel": { + "type": "string" + }, + "cccUpgradeScheduleCollections": { + "type": "array", + "items": { + "$ref": "#/types/oci:ComputeCloud/getAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollection:getAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollection" + }, + "description": "The list of ccc_upgrade_schedule_collection.\n" + }, + "cccUpgradeScheduleId": { + "type": "string" + }, + "compartmentId": { + "type": "string", + "description": "Compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Compute Cloud@Customer upgrade schedule.\n" + }, + "compartmentIdInSubtree": { + "type": "boolean" + }, + "displayName": { + "type": "string", + "description": "Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information.\n" + }, + "displayNameContains": { + "type": "string" + }, + "filters": { + "type": "array", + "items": { + "$ref": "#/types/oci:ComputeCloud/getAtCustomerCccUpgradeSchedulesFilter:getAtCustomerCccUpgradeSchedulesFilter" + } + }, + "id": { + "type": "string", + "description": "The provider-assigned unique ID for this managed resource.\n" + }, + "state": { + "type": "string", + "description": "Lifecycle state of the resource.\n" + } + }, + "type": "object", + "required": [ + "cccUpgradeScheduleCollections", + "id" + ] + } + }, "oci:ComputeInstanceAgent/getInstanceAgentPlugin:getInstanceAgentPlugin": { "description": "This data source provides details about a specific Instance Agent Plugin resource in Oracle Cloud Infrastructure Compute Instance Agent service.\n\nThe API to get information for a plugin.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testInstanceAgentPlugin = oci.ComputeInstanceAgent.getInstanceAgentPlugin({\n instanceagentId: oci_computeinstanceagent_instanceagent.test_instanceagent.id,\n pluginName: _var.instance_agent_plugin_plugin_name,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_instance_agent_plugin = oci.ComputeInstanceAgent.get_instance_agent_plugin(instanceagent_id=oci_computeinstanceagent_instanceagent[\"test_instanceagent\"][\"id\"],\n plugin_name=var[\"instance_agent_plugin_plugin_name\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Oci = Pulumi.Oci;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var testInstanceAgentPlugin = Oci.ComputeInstanceAgent.GetInstanceAgentPlugin.Invoke(new()\n {\n InstanceagentId = oci_computeinstanceagent_instanceagent.Test_instanceagent.Id,\n PluginName = @var.Instance_agent_plugin_plugin_name,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/go/oci/ComputeInstanceAgent\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := ComputeInstanceAgent.GetInstanceAgentPlugin(ctx, \u0026computeinstanceagent.GetInstanceAgentPluginArgs{\n\t\t\tInstanceagentId: oci_computeinstanceagent_instanceagent.Test_instanceagent.Id,\n\t\t\tPluginName: _var.Instance_agent_plugin_plugin_name,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.oci.ComputeInstanceAgent.ComputeInstanceAgentFunctions;\nimport com.pulumi.oci.ComputeInstanceAgent.inputs.GetInstanceAgentPluginArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var testInstanceAgentPlugin = ComputeInstanceAgentFunctions.getInstanceAgentPlugin(GetInstanceAgentPluginArgs.builder()\n .instanceagentId(oci_computeinstanceagent_instanceagent.test_instanceagent().id())\n .pluginName(var_.instance_agent_plugin_plugin_name())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testInstanceAgentPlugin:\n fn::invoke:\n Function: oci:ComputeInstanceAgent:getInstanceAgentPlugin\n Arguments:\n instanceagentId: ${oci_computeinstanceagent_instanceagent.test_instanceagent.id}\n pluginName: ${var.instance_agent_plugin_plugin_name}\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { @@ -463430,6 +467384,209 @@ ] } }, + "oci:DataScience/getPrivateEndpoint:getPrivateEndpoint": { + "description": "This data source provides details about a specific Data Science Private Endpoint resource in Oracle Cloud Infrastructure Data Science service.\n\nRetrieves an private endpoint using a `privateEndpointId`.\n\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testDataSciencePrivateEndpoint = oci.DataScience.getPrivateEndpoint({\n dataSciencePrivateEndpointId: oci_datascience_private_endpoint.test_data_science_private_endpoint.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_data_science_private_endpoint = oci.DataScience.get_private_endpoint(data_science_private_endpoint_id=oci_datascience_private_endpoint[\"test_data_science_private_endpoint\"][\"id\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Oci = Pulumi.Oci;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var testDataSciencePrivateEndpoint = Oci.DataScience.GetPrivateEndpoint.Invoke(new()\n {\n DataSciencePrivateEndpointId = oci_datascience_private_endpoint.Test_data_science_private_endpoint.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/go/oci/DataScience\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := DataScience.GetPrivateEndpoint(ctx, \u0026datascience.GetPrivateEndpointArgs{\n\t\t\tDataSciencePrivateEndpointId: oci_datascience_private_endpoint.Test_data_science_private_endpoint.Id,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.oci.DataScience.DataScienceFunctions;\nimport com.pulumi.oci.DataScience.inputs.GetPrivateEndpointArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var testDataSciencePrivateEndpoint = DataScienceFunctions.getPrivateEndpoint(GetPrivateEndpointArgs.builder()\n .dataSciencePrivateEndpointId(oci_datascience_private_endpoint.test_data_science_private_endpoint().id())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testDataSciencePrivateEndpoint:\n fn::invoke:\n Function: oci:DataScience:getPrivateEndpoint\n Arguments:\n dataSciencePrivateEndpointId: ${oci_datascience_private_endpoint.test_data_science_private_endpoint.id}\n```\n{{% /example %}}\n{{% /examples %}}", + "inputs": { + "description": "A collection of arguments for invoking getPrivateEndpoint.\n", + "properties": { + "dataSciencePrivateEndpointId": { + "type": "string", + "description": "The unique ID for a Data Science private endpoint.\n" + } + }, + "type": "object", + "required": [ + "dataSciencePrivateEndpointId" + ] + }, + "outputs": { + "description": "A collection of values returned by getPrivateEndpoint.\n", + "properties": { + "compartmentId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create private endpoint.\n" + }, + "createdBy": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user that created the private endpoint.\n" + }, + "dataSciencePrivateEndpointId": { + "type": "string" + }, + "dataScienceResourceType": { + "type": "string", + "description": "Data Science resource type.\n" + }, + "definedTags": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{\"Operations.CostCenter\": \"42\"}`\n" + }, + "description": { + "type": "string", + "description": "A user friendly description. Avoid entering confidential information.\n" + }, + "displayName": { + "type": "string", + "description": "A user friendly name. It doesn't have to be unique. Avoid entering confidential information.\n" + }, + "fqdn": { + "type": "string", + "description": "Accesing the Data Science resource using FQDN.\n" + }, + "freeformTags": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{\"Department\": \"Finance\"}`\n" + }, + "id": { + "type": "string", + "description": "The OCID of a private endpoint.\n" + }, + "lifecycleDetails": { + "type": "string", + "description": "Details of the state of Data Science private endpoint.\n" + }, + "nsgIds": { + "type": "array", + "items": { + "type": "string" + }, + "description": "An array of network security group OCIDs.\n" + }, + "state": { + "type": "string", + "description": "State of the Data Science private endpoint.\n" + }, + "subDomain": { + "type": "string" + }, + "subnetId": { + "type": "string", + "description": "The OCID of a subnet.\n" + }, + "timeCreated": { + "type": "string", + "description": "The date and time that the Data Science private endpoint was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z`\n" + }, + "timeUpdated": { + "type": "string", + "description": "The date and time that the Data Science private endpoint was updated expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z`\n" + } + }, + "type": "object", + "required": [ + "compartmentId", + "createdBy", + "dataSciencePrivateEndpointId", + "dataScienceResourceType", + "definedTags", + "description", + "displayName", + "fqdn", + "freeformTags", + "id", + "lifecycleDetails", + "nsgIds", + "state", + "subDomain", + "subnetId", + "timeCreated", + "timeUpdated" + ] + } + }, + "oci:DataScience/getPrivateEndpoints:getPrivateEndpoints": { + "description": "This data source provides the list of Data Science Private Endpoints in Oracle Cloud Infrastructure Data Science service.\n\nLists all Data Science private endpoints in the specified compartment. The query must include compartmentId. The query can also include one other parameter. If the query doesn't include compartmentId, or includes compartmentId with two or more other parameters, then an error is returned.\n\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testDataSciencePrivateEndpoints = oci.DataScience.getPrivateEndpoints({\n compartmentId: _var.compartment_id,\n createdBy: _var.data_science_private_endpoint_created_by,\n dataScienceResourceType: _var.data_science_private_endpoint_data_science_resource_type,\n displayName: _var.data_science_private_endpoint_display_name,\n state: _var.data_science_private_endpoint_state,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_data_science_private_endpoints = oci.DataScience.get_private_endpoints(compartment_id=var[\"compartment_id\"],\n created_by=var[\"data_science_private_endpoint_created_by\"],\n data_science_resource_type=var[\"data_science_private_endpoint_data_science_resource_type\"],\n display_name=var[\"data_science_private_endpoint_display_name\"],\n state=var[\"data_science_private_endpoint_state\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Oci = Pulumi.Oci;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var testDataSciencePrivateEndpoints = Oci.DataScience.GetPrivateEndpoints.Invoke(new()\n {\n CompartmentId = @var.Compartment_id,\n CreatedBy = @var.Data_science_private_endpoint_created_by,\n DataScienceResourceType = @var.Data_science_private_endpoint_data_science_resource_type,\n DisplayName = @var.Data_science_private_endpoint_display_name,\n State = @var.Data_science_private_endpoint_state,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/go/oci/DataScience\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := DataScience.GetPrivateEndpoints(ctx, \u0026datascience.GetPrivateEndpointsArgs{\n\t\t\tCompartmentId: _var.Compartment_id,\n\t\t\tCreatedBy: pulumi.StringRef(_var.Data_science_private_endpoint_created_by),\n\t\t\tDataScienceResourceType: pulumi.StringRef(_var.Data_science_private_endpoint_data_science_resource_type),\n\t\t\tDisplayName: pulumi.StringRef(_var.Data_science_private_endpoint_display_name),\n\t\t\tState: pulumi.StringRef(_var.Data_science_private_endpoint_state),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.oci.DataScience.DataScienceFunctions;\nimport com.pulumi.oci.DataScience.inputs.GetPrivateEndpointsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var testDataSciencePrivateEndpoints = DataScienceFunctions.getPrivateEndpoints(GetPrivateEndpointsArgs.builder()\n .compartmentId(var_.compartment_id())\n .createdBy(var_.data_science_private_endpoint_created_by())\n .dataScienceResourceType(var_.data_science_private_endpoint_data_science_resource_type())\n .displayName(var_.data_science_private_endpoint_display_name())\n .state(var_.data_science_private_endpoint_state())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testDataSciencePrivateEndpoints:\n fn::invoke:\n Function: oci:DataScience:getPrivateEndpoints\n Arguments:\n compartmentId: ${var.compartment_id}\n createdBy: ${var.data_science_private_endpoint_created_by}\n dataScienceResourceType: ${var.data_science_private_endpoint_data_science_resource_type}\n displayName: ${var.data_science_private_endpoint_display_name}\n state: ${var.data_science_private_endpoint_state}\n```\n{{% /example %}}\n{{% /examples %}}", + "inputs": { + "description": "A collection of arguments for invoking getPrivateEndpoints.\n", + "properties": { + "compartmentId": { + "type": "string", + "description": "\u003cb\u003eFilter\u003c/b\u003e results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment.\n" + }, + "createdBy": { + "type": "string", + "description": "\u003cb\u003eFilter\u003c/b\u003e results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the resource.\n" + }, + "dataScienceResourceType": { + "type": "string", + "description": "Resource types in the Data Science service such as notebooks.\n" + }, + "displayName": { + "type": "string", + "description": "\u003cb\u003eFilter\u003c/b\u003e results by its user-friendly name.\n" + }, + "filters": { + "type": "array", + "items": { + "$ref": "#/types/oci:DataScience/getPrivateEndpointsFilter:getPrivateEndpointsFilter" + }, + "willReplaceOnChanges": true + }, + "state": { + "type": "string", + "description": "The lifecycle state of the private endpoint.\n" + } + }, + "type": "object", + "required": [ + "compartmentId" + ] + }, + "outputs": { + "description": "A collection of values returned by getPrivateEndpoints.\n", + "properties": { + "compartmentId": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create private endpoint.\n" + }, + "createdBy": { + "type": "string", + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user that created the private endpoint.\n" + }, + "dataSciencePrivateEndpoints": { + "type": "array", + "items": { + "$ref": "#/types/oci:DataScience/getPrivateEndpointsDataSciencePrivateEndpoint:getPrivateEndpointsDataSciencePrivateEndpoint" + }, + "description": "The list of data_science_private_endpoints.\n" + }, + "dataScienceResourceType": { + "type": "string", + "description": "Data Science resource type.\n" + }, + "displayName": { + "type": "string", + "description": "A user friendly name. It doesn't have to be unique. Avoid entering confidential information.\n" + }, + "filters": { + "type": "array", + "items": { + "$ref": "#/types/oci:DataScience/getPrivateEndpointsFilter:getPrivateEndpointsFilter" + } + }, + "id": { + "type": "string", + "description": "The provider-assigned unique ID for this managed resource.\n" + }, + "state": { + "type": "string", + "description": "State of the Data Science private endpoint.\n" + } + }, + "type": "object", + "required": [ + "compartmentId", + "dataSciencePrivateEndpoints", + "id" + ] + } + }, "oci:DataScience/getProject:getProject": { "description": "This data source provides details about a specific Project resource in Oracle Cloud Infrastructure Data Science service.\n\nGets the specified project's information.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testProject = oci.DataScience.getProject({\n projectId: oci_datascience_project.test_project.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_project = oci.DataScience.get_project(project_id=oci_datascience_project[\"test_project\"][\"id\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Oci = Pulumi.Oci;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var testProject = Oci.DataScience.GetProject.Invoke(new()\n {\n ProjectId = oci_datascience_project.Test_project.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/go/oci/DataScience\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := DataScience.GetProject(ctx, \u0026datascience.GetProjectArgs{\n\t\t\tProjectId: oci_datascience_project.Test_project.Id,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.oci.DataScience.DataScienceFunctions;\nimport com.pulumi.oci.DataScience.inputs.GetProjectArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var testProject = DataScienceFunctions.getProject(GetProjectArgs.builder()\n .projectId(oci_datascience_project.test_project().id())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testProject:\n fn::invoke:\n Function: oci:DataScience:getProject\n Arguments:\n projectId: ${oci_datascience_project.test_project.id}\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { @@ -465037,6 +469194,17 @@ "remoteDisasterRecoveryType": { "type": "string" }, + "resourcePoolLeaderId": { + "type": "string", + "description": "The unique identifier for leader autonomous database OCID [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).\n" + }, + "resourcePoolSummaries": { + "type": "array", + "items": { + "$ref": "#/types/oci:Database/getAutonomousDatabaseResourcePoolSummary:getAutonomousDatabaseResourcePoolSummary" + }, + "description": "The configuration details for resource pool\n" + }, "role": { "type": "string", "description": "The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled.\n" @@ -465138,6 +469306,10 @@ "type": "string", "description": "The date and time when maintenance will end.\n" }, + "timeOfJoiningResourcePool": { + "type": "string", + "description": "The time the member joined the resource pool.\n" + }, "timeOfLastFailover": { "type": "string", "description": "The timestamp of the last failover operation.\n" @@ -465281,6 +469453,8 @@ "refreshableStatus", "remoteDisasterRecoveryConfigurations", "remoteDisasterRecoveryType", + "resourcePoolLeaderId", + "resourcePoolSummaries", "role", "rotateKeyTrigger", "scheduledOperations", @@ -465304,6 +469478,7 @@ "timeLocalDataGuardEnabled", "timeMaintenanceBegin", "timeMaintenanceEnd", + "timeOfJoiningResourcePool", "timeOfLastFailover", "timeOfLastRefresh", "timeOfLastRefreshPoint", @@ -465906,7 +470081,7 @@ } }, "oci:Database/getAutonomousDatabases:getAutonomousDatabases": { - "description": "This data source provides the list of Autonomous Databases in Oracle Cloud Infrastructure Database service.\n\nGets a list of Autonomous Databases based on the query parameters specified.\n\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testAutonomousDatabases = oci.Database.getAutonomousDatabases({\n compartmentId: _var.compartment_id,\n autonomousContainerDatabaseId: oci_database_autonomous_container_database.test_autonomous_container_database.id,\n dbVersion: _var.autonomous_database_db_version,\n dbWorkload: _var.autonomous_database_db_workload,\n displayName: _var.autonomous_database_display_name,\n infrastructureType: _var.autonomous_database_infrastructure_type,\n isDataGuardEnabled: _var.autonomous_database_is_data_guard_enabled,\n isFreeTier: _var.autonomous_database_is_free_tier,\n isRefreshableClone: _var.autonomous_database_is_refreshable_clone,\n state: _var.autonomous_database_state,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_autonomous_databases = oci.Database.get_autonomous_databases(compartment_id=var[\"compartment_id\"],\n autonomous_container_database_id=oci_database_autonomous_container_database[\"test_autonomous_container_database\"][\"id\"],\n db_version=var[\"autonomous_database_db_version\"],\n db_workload=var[\"autonomous_database_db_workload\"],\n display_name=var[\"autonomous_database_display_name\"],\n infrastructure_type=var[\"autonomous_database_infrastructure_type\"],\n is_data_guard_enabled=var[\"autonomous_database_is_data_guard_enabled\"],\n is_free_tier=var[\"autonomous_database_is_free_tier\"],\n is_refreshable_clone=var[\"autonomous_database_is_refreshable_clone\"],\n state=var[\"autonomous_database_state\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Oci = Pulumi.Oci;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var testAutonomousDatabases = Oci.Database.GetAutonomousDatabases.Invoke(new()\n {\n CompartmentId = @var.Compartment_id,\n AutonomousContainerDatabaseId = oci_database_autonomous_container_database.Test_autonomous_container_database.Id,\n DbVersion = @var.Autonomous_database_db_version,\n DbWorkload = @var.Autonomous_database_db_workload,\n DisplayName = @var.Autonomous_database_display_name,\n InfrastructureType = @var.Autonomous_database_infrastructure_type,\n IsDataGuardEnabled = @var.Autonomous_database_is_data_guard_enabled,\n IsFreeTier = @var.Autonomous_database_is_free_tier,\n IsRefreshableClone = @var.Autonomous_database_is_refreshable_clone,\n State = @var.Autonomous_database_state,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/go/oci/Database\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := Database.GetAutonomousDatabases(ctx, \u0026database.GetAutonomousDatabasesArgs{\n\t\t\tCompartmentId: _var.Compartment_id,\n\t\t\tAutonomousContainerDatabaseId: pulumi.StringRef(oci_database_autonomous_container_database.Test_autonomous_container_database.Id),\n\t\t\tDbVersion: pulumi.StringRef(_var.Autonomous_database_db_version),\n\t\t\tDbWorkload: pulumi.StringRef(_var.Autonomous_database_db_workload),\n\t\t\tDisplayName: pulumi.StringRef(_var.Autonomous_database_display_name),\n\t\t\tInfrastructureType: pulumi.StringRef(_var.Autonomous_database_infrastructure_type),\n\t\t\tIsDataGuardEnabled: pulumi.BoolRef(_var.Autonomous_database_is_data_guard_enabled),\n\t\t\tIsFreeTier: pulumi.BoolRef(_var.Autonomous_database_is_free_tier),\n\t\t\tIsRefreshableClone: pulumi.BoolRef(_var.Autonomous_database_is_refreshable_clone),\n\t\t\tState: pulumi.StringRef(_var.Autonomous_database_state),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.oci.Database.DatabaseFunctions;\nimport com.pulumi.oci.Database.inputs.GetAutonomousDatabasesArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var testAutonomousDatabases = DatabaseFunctions.getAutonomousDatabases(GetAutonomousDatabasesArgs.builder()\n .compartmentId(var_.compartment_id())\n .autonomousContainerDatabaseId(oci_database_autonomous_container_database.test_autonomous_container_database().id())\n .dbVersion(var_.autonomous_database_db_version())\n .dbWorkload(var_.autonomous_database_db_workload())\n .displayName(var_.autonomous_database_display_name())\n .infrastructureType(var_.autonomous_database_infrastructure_type())\n .isDataGuardEnabled(var_.autonomous_database_is_data_guard_enabled())\n .isFreeTier(var_.autonomous_database_is_free_tier())\n .isRefreshableClone(var_.autonomous_database_is_refreshable_clone())\n .state(var_.autonomous_database_state())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testAutonomousDatabases:\n fn::invoke:\n Function: oci:Database:getAutonomousDatabases\n Arguments:\n compartmentId: ${var.compartment_id}\n autonomousContainerDatabaseId: ${oci_database_autonomous_container_database.test_autonomous_container_database.id}\n dbVersion: ${var.autonomous_database_db_version}\n dbWorkload: ${var.autonomous_database_db_workload}\n displayName: ${var.autonomous_database_display_name}\n infrastructureType: ${var.autonomous_database_infrastructure_type}\n isDataGuardEnabled: ${var.autonomous_database_is_data_guard_enabled}\n isFreeTier: ${var.autonomous_database_is_free_tier}\n isRefreshableClone: ${var.autonomous_database_is_refreshable_clone}\n state: ${var.autonomous_database_state}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "This data source provides the list of Autonomous Databases in Oracle Cloud Infrastructure Database service.\n\nGets a list of Autonomous Databases based on the query parameters specified.\n\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testAutonomousDatabases = oci.Database.getAutonomousDatabases({\n compartmentId: _var.compartment_id,\n autonomousContainerDatabaseId: oci_database_autonomous_container_database.test_autonomous_container_database.id,\n dbVersion: _var.autonomous_database_db_version,\n dbWorkload: _var.autonomous_database_db_workload,\n displayName: _var.autonomous_database_display_name,\n infrastructureType: _var.autonomous_database_infrastructure_type,\n isDataGuardEnabled: _var.autonomous_database_is_data_guard_enabled,\n isFreeTier: _var.autonomous_database_is_free_tier,\n isRefreshableClone: _var.autonomous_database_is_refreshable_clone,\n isResourcePoolLeader: _var.autonomous_database_is_resource_pool_leader,\n resourcePoolLeaderId: oci_database_resource_pool_leader.test_resource_pool_leader.id,\n state: _var.autonomous_database_state,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_autonomous_databases = oci.Database.get_autonomous_databases(compartment_id=var[\"compartment_id\"],\n autonomous_container_database_id=oci_database_autonomous_container_database[\"test_autonomous_container_database\"][\"id\"],\n db_version=var[\"autonomous_database_db_version\"],\n db_workload=var[\"autonomous_database_db_workload\"],\n display_name=var[\"autonomous_database_display_name\"],\n infrastructure_type=var[\"autonomous_database_infrastructure_type\"],\n is_data_guard_enabled=var[\"autonomous_database_is_data_guard_enabled\"],\n is_free_tier=var[\"autonomous_database_is_free_tier\"],\n is_refreshable_clone=var[\"autonomous_database_is_refreshable_clone\"],\n is_resource_pool_leader=var[\"autonomous_database_is_resource_pool_leader\"],\n resource_pool_leader_id=oci_database_resource_pool_leader[\"test_resource_pool_leader\"][\"id\"],\n state=var[\"autonomous_database_state\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Oci = Pulumi.Oci;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var testAutonomousDatabases = Oci.Database.GetAutonomousDatabases.Invoke(new()\n {\n CompartmentId = @var.Compartment_id,\n AutonomousContainerDatabaseId = oci_database_autonomous_container_database.Test_autonomous_container_database.Id,\n DbVersion = @var.Autonomous_database_db_version,\n DbWorkload = @var.Autonomous_database_db_workload,\n DisplayName = @var.Autonomous_database_display_name,\n InfrastructureType = @var.Autonomous_database_infrastructure_type,\n IsDataGuardEnabled = @var.Autonomous_database_is_data_guard_enabled,\n IsFreeTier = @var.Autonomous_database_is_free_tier,\n IsRefreshableClone = @var.Autonomous_database_is_refreshable_clone,\n IsResourcePoolLeader = @var.Autonomous_database_is_resource_pool_leader,\n ResourcePoolLeaderId = oci_database_resource_pool_leader.Test_resource_pool_leader.Id,\n State = @var.Autonomous_database_state,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/go/oci/Database\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := Database.GetAutonomousDatabases(ctx, \u0026database.GetAutonomousDatabasesArgs{\n\t\t\tCompartmentId: _var.Compartment_id,\n\t\t\tAutonomousContainerDatabaseId: pulumi.StringRef(oci_database_autonomous_container_database.Test_autonomous_container_database.Id),\n\t\t\tDbVersion: pulumi.StringRef(_var.Autonomous_database_db_version),\n\t\t\tDbWorkload: pulumi.StringRef(_var.Autonomous_database_db_workload),\n\t\t\tDisplayName: pulumi.StringRef(_var.Autonomous_database_display_name),\n\t\t\tInfrastructureType: pulumi.StringRef(_var.Autonomous_database_infrastructure_type),\n\t\t\tIsDataGuardEnabled: pulumi.BoolRef(_var.Autonomous_database_is_data_guard_enabled),\n\t\t\tIsFreeTier: pulumi.BoolRef(_var.Autonomous_database_is_free_tier),\n\t\t\tIsRefreshableClone: pulumi.BoolRef(_var.Autonomous_database_is_refreshable_clone),\n\t\t\tIsResourcePoolLeader: pulumi.BoolRef(_var.Autonomous_database_is_resource_pool_leader),\n\t\t\tResourcePoolLeaderId: pulumi.StringRef(oci_database_resource_pool_leader.Test_resource_pool_leader.Id),\n\t\t\tState: pulumi.StringRef(_var.Autonomous_database_state),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.oci.Database.DatabaseFunctions;\nimport com.pulumi.oci.Database.inputs.GetAutonomousDatabasesArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var testAutonomousDatabases = DatabaseFunctions.getAutonomousDatabases(GetAutonomousDatabasesArgs.builder()\n .compartmentId(var_.compartment_id())\n .autonomousContainerDatabaseId(oci_database_autonomous_container_database.test_autonomous_container_database().id())\n .dbVersion(var_.autonomous_database_db_version())\n .dbWorkload(var_.autonomous_database_db_workload())\n .displayName(var_.autonomous_database_display_name())\n .infrastructureType(var_.autonomous_database_infrastructure_type())\n .isDataGuardEnabled(var_.autonomous_database_is_data_guard_enabled())\n .isFreeTier(var_.autonomous_database_is_free_tier())\n .isRefreshableClone(var_.autonomous_database_is_refreshable_clone())\n .isResourcePoolLeader(var_.autonomous_database_is_resource_pool_leader())\n .resourcePoolLeaderId(oci_database_resource_pool_leader.test_resource_pool_leader().id())\n .state(var_.autonomous_database_state())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testAutonomousDatabases:\n fn::invoke:\n Function: oci:Database:getAutonomousDatabases\n Arguments:\n compartmentId: ${var.compartment_id}\n autonomousContainerDatabaseId: ${oci_database_autonomous_container_database.test_autonomous_container_database.id}\n dbVersion: ${var.autonomous_database_db_version}\n dbWorkload: ${var.autonomous_database_db_workload}\n displayName: ${var.autonomous_database_display_name}\n infrastructureType: ${var.autonomous_database_infrastructure_type}\n isDataGuardEnabled: ${var.autonomous_database_is_data_guard_enabled}\n isFreeTier: ${var.autonomous_database_is_free_tier}\n isRefreshableClone: ${var.autonomous_database_is_refreshable_clone}\n isResourcePoolLeader: ${var.autonomous_database_is_resource_pool_leader}\n resourcePoolLeaderId: ${oci_database_resource_pool_leader.test_resource_pool_leader.id}\n state: ${var.autonomous_database_state}\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getAutonomousDatabases.\n", "properties": { @@ -465953,6 +470128,14 @@ "type": "boolean", "description": "Filter on the value of the resource's 'isRefreshableClone' property. A value of `true` returns only refreshable clones. A value of `false` excludes refreshable clones from the returned results. Omitting this parameter returns both refreshable clones and databases that are not refreshable clones.\n" }, + "isResourcePoolLeader": { + "type": "boolean", + "description": "Filter if the resource is the resource pool leader. A value of `true` returns only resource pool leader.\n" + }, + "resourcePoolLeaderId": { + "type": "string", + "description": "The database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resourcepool Leader Autonomous Database.\n" + }, "state": { "type": "string", "description": "A filter to return only resources that match the given lifecycle state exactly.\n" @@ -466019,6 +470202,13 @@ "type": "boolean", "description": "Indicates if the Autonomous Database is a refreshable clone.\n" }, + "isResourcePoolLeader": { + "type": "boolean" + }, + "resourcePoolLeaderId": { + "type": "string", + "description": "The unique identifier for leader autonomous database OCID [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).\n" + }, "state": { "type": "string", "description": "The current state of the Autonomous Database.\n" @@ -483588,6 +487778,12 @@ }, "description": "Data Transfer Medium details for the Migration.\n" }, + "dataTransferMediumDetailsV2s": { + "type": "array", + "items": { + "$ref": "#/types/oci:DatabaseMigration/getMigrationDataTransferMediumDetailsV2:getMigrationDataTransferMediumDetailsV2" + } + }, "datapumpSettings": { "type": "array", "items": { @@ -483722,6 +487918,7 @@ "credentialsSecretId", "csvText", "dataTransferMediumDetails", + "dataTransferMediumDetailsV2s", "datapumpSettings", "definedTags", "displayName", @@ -515712,6 +519909,165 @@ ] } }, + "oci:Kms/getEkmsPrivateEndpoint:getEkmsPrivateEndpoint": { + "description": "This data source provides details about a specific Ekms Private Endpoint resource in Oracle Cloud Infrastructure Kms service.\n\nGets a specific EKMS private by identifier.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testEkmsPrivateEndpoint = oci.Kms.getEkmsPrivateEndpoint({\n ekmsPrivateEndpointId: oci_kms_ekms_private_endpoint.test_ekms_private_endpoint.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_ekms_private_endpoint = oci.Kms.get_ekms_private_endpoint(ekms_private_endpoint_id=oci_kms_ekms_private_endpoint[\"test_ekms_private_endpoint\"][\"id\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Oci = Pulumi.Oci;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var testEkmsPrivateEndpoint = Oci.Kms.GetEkmsPrivateEndpoint.Invoke(new()\n {\n EkmsPrivateEndpointId = oci_kms_ekms_private_endpoint.Test_ekms_private_endpoint.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/go/oci/Kms\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := Kms.GetEkmsPrivateEndpoint(ctx, \u0026kms.GetEkmsPrivateEndpointArgs{\n\t\t\tEkmsPrivateEndpointId: oci_kms_ekms_private_endpoint.Test_ekms_private_endpoint.Id,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.oci.Kms.KmsFunctions;\nimport com.pulumi.oci.Kms.inputs.GetEkmsPrivateEndpointArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var testEkmsPrivateEndpoint = KmsFunctions.getEkmsPrivateEndpoint(GetEkmsPrivateEndpointArgs.builder()\n .ekmsPrivateEndpointId(oci_kms_ekms_private_endpoint.test_ekms_private_endpoint().id())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testEkmsPrivateEndpoint:\n fn::invoke:\n Function: oci:Kms:getEkmsPrivateEndpoint\n Arguments:\n ekmsPrivateEndpointId: ${oci_kms_ekms_private_endpoint.test_ekms_private_endpoint.id}\n```\n{{% /example %}}\n{{% /examples %}}", + "inputs": { + "description": "A collection of arguments for invoking getEkmsPrivateEndpoint.\n", + "properties": { + "ekmsPrivateEndpointId": { + "type": "string", + "description": "Unique EKMS private endpoint identifier.\n" + } + }, + "type": "object", + "required": [ + "ekmsPrivateEndpointId" + ] + }, + "outputs": { + "description": "A collection of values returned by getEkmsPrivateEndpoint.\n", + "properties": { + "caBundle": { + "type": "string", + "description": "CABundle to validate TLS certificate of the external key manager system in PEM format\n" + }, + "compartmentId": { + "type": "string", + "description": "Identifier of the compartment this EKMS private endpoint belongs to\n" + }, + "definedTags": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{\"foo-namespace.bar-key\": \"value\"}`\n" + }, + "displayName": { + "type": "string", + "description": "Mutable name of the EKMS private endpoint\n" + }, + "ekmsPrivateEndpointId": { + "type": "string" + }, + "externalKeyManagerIp": { + "type": "string", + "description": "Private IP of the external key manager system to connect to from the EKMS private endpoint\n" + }, + "freeformTags": { + "type": "object", + "additionalProperties": { + "$ref": "pulumi.json#/Any" + }, + "description": "Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{\"bar-key\": \"value\"}`\n" + }, + "id": { + "type": "string", + "description": "Unique identifier that is immutable\n" + }, + "lifecycleDetails": { + "type": "string", + "description": "A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state.\n" + }, + "port": { + "type": "integer", + "description": "The port of the external key manager system\n" + }, + "privateEndpointIp": { + "type": "string", + "description": "The IP address in the customer's VCN for the EKMS private endpoint. This is taken from subnet\n" + }, + "state": { + "type": "string", + "description": "The current state of the EKMS private endpoint resource.\n" + }, + "subnetId": { + "type": "string", + "description": "Subnet Identifier\n" + }, + "timeCreated": { + "type": "string", + "description": "The time the EKMS private endpoint was created. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string.\n" + }, + "timeUpdated": { + "type": "string", + "description": "The time the EKMS private endpoint was updated. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string.\n" + } + }, + "type": "object", + "required": [ + "caBundle", + "compartmentId", + "definedTags", + "displayName", + "ekmsPrivateEndpointId", + "externalKeyManagerIp", + "freeformTags", + "id", + "lifecycleDetails", + "port", + "privateEndpointIp", + "state", + "subnetId", + "timeCreated", + "timeUpdated" + ] + } + }, + "oci:Kms/getEkmsPrivateEndpoints:getEkmsPrivateEndpoints": { + "description": "This data source provides the list of Ekms Private Endpoints in Oracle Cloud Infrastructure Kms service.\n\nReturns a list of all the EKMS private endpoints in the specified compartment.\n\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testEkmsPrivateEndpoints = oci.Kms.getEkmsPrivateEndpoints({\n compartmentId: _var.compartment_id,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_ekms_private_endpoints = oci.Kms.get_ekms_private_endpoints(compartment_id=var[\"compartment_id\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Oci = Pulumi.Oci;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var testEkmsPrivateEndpoints = Oci.Kms.GetEkmsPrivateEndpoints.Invoke(new()\n {\n CompartmentId = @var.Compartment_id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/go/oci/Kms\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := Kms.GetEkmsPrivateEndpoints(ctx, \u0026kms.GetEkmsPrivateEndpointsArgs{\n\t\t\tCompartmentId: _var.Compartment_id,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.oci.Kms.KmsFunctions;\nimport com.pulumi.oci.Kms.inputs.GetEkmsPrivateEndpointsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var testEkmsPrivateEndpoints = KmsFunctions.getEkmsPrivateEndpoints(GetEkmsPrivateEndpointsArgs.builder()\n .compartmentId(var_.compartment_id())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testEkmsPrivateEndpoints:\n fn::invoke:\n Function: oci:Kms:getEkmsPrivateEndpoints\n Arguments:\n compartmentId: ${var.compartment_id}\n```\n{{% /example %}}\n{{% /examples %}}", + "inputs": { + "description": "A collection of arguments for invoking getEkmsPrivateEndpoints.\n", + "properties": { + "compartmentId": { + "type": "string", + "description": "The OCID of the compartment.\n" + }, + "filters": { + "type": "array", + "items": { + "$ref": "#/types/oci:Kms/getEkmsPrivateEndpointsFilter:getEkmsPrivateEndpointsFilter" + }, + "willReplaceOnChanges": true + } + }, + "type": "object", + "required": [ + "compartmentId" + ] + }, + "outputs": { + "description": "A collection of values returned by getEkmsPrivateEndpoints.\n", + "properties": { + "compartmentId": { + "type": "string", + "description": "Identifier of the compartment this EKMS private endpoint belongs to\n" + }, + "ekmsPrivateEndpoints": { + "type": "array", + "items": { + "$ref": "#/types/oci:Kms/getEkmsPrivateEndpointsEkmsPrivateEndpoint:getEkmsPrivateEndpointsEkmsPrivateEndpoint" + }, + "description": "The list of ekms_private_endpoints.\n" + }, + "filters": { + "type": "array", + "items": { + "$ref": "#/types/oci:Kms/getEkmsPrivateEndpointsFilter:getEkmsPrivateEndpointsFilter" + } + }, + "id": { + "type": "string", + "description": "The provider-assigned unique ID for this managed resource.\n" + } + }, + "type": "object", + "required": [ + "compartmentId", + "ekmsPrivateEndpoints", + "id" + ] + } + }, "oci:Kms/getEncryptedData:getEncryptedData": { "description": "The `oci.Kms.EncryptedData` data source provides details about a specific EncryptedData\n\nEncrypts data using the given EncryptDataDetails resource. \nPlaintext included in the example request is a base64-encoded value \nof a UTF-8 string.\n\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testEncryptedData = oci.Kms.getEncryptedData({\n cryptoEndpoint: _var.encrypted_data_crypto_endpoint,\n keyId: oci_kms_key.test_key.id,\n plaintext: _var.encrypted_data_plaintext,\n associatedData: _var.encrypted_data_associated_data,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_encrypted_data = oci.Kms.get_encrypted_data(crypto_endpoint=var[\"encrypted_data_crypto_endpoint\"],\n key_id=oci_kms_key[\"test_key\"][\"id\"],\n plaintext=var[\"encrypted_data_plaintext\"],\n associated_data=var[\"encrypted_data_associated_data\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Oci = Pulumi.Oci;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var testEncryptedData = Oci.Kms.GetEncryptedData.Invoke(new()\n {\n CryptoEndpoint = @var.Encrypted_data_crypto_endpoint,\n KeyId = oci_kms_key.Test_key.Id,\n Plaintext = @var.Encrypted_data_plaintext,\n AssociatedData = @var.Encrypted_data_associated_data,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/go/oci/Kms\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := Kms.GetEncryptedData(ctx, \u0026kms.GetEncryptedDataArgs{\n\t\t\tCryptoEndpoint: _var.Encrypted_data_crypto_endpoint,\n\t\t\tKeyId: oci_kms_key.Test_key.Id,\n\t\t\tPlaintext: _var.Encrypted_data_plaintext,\n\t\t\tAssociatedData: _var.Encrypted_data_associated_data,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.oci.Kms.KmsFunctions;\nimport com.pulumi.oci.Kms.inputs.GetEncryptedDataArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var testEncryptedData = KmsFunctions.getEncryptedData(GetEncryptedDataArgs.builder()\n .cryptoEndpoint(var_.encrypted_data_crypto_endpoint())\n .keyId(oci_kms_key.test_key().id())\n .plaintext(var_.encrypted_data_plaintext())\n .associatedData(var_.encrypted_data_associated_data())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testEncryptedData:\n fn::invoke:\n Function: oci:Kms:getEncryptedData\n Arguments:\n cryptoEndpoint: ${var.encrypted_data_crypto_endpoint}\n keyId: ${oci_kms_key.test_key.id}\n plaintext: ${var.encrypted_data_plaintext}\n associatedData: ${var.encrypted_data_associated_data}\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { @@ -515826,6 +520182,19 @@ "type": "string", "description": "A user-friendly name for the key. It does not have to be unique, and it is changeable. Avoid entering confidential information.\n" }, + "externalKeyReferenceDetails": { + "type": "array", + "items": { + "$ref": "#/types/oci:Kms/getKeyExternalKeyReferenceDetail:getKeyExternalKeyReferenceDetail" + }, + "description": "Key reference data to be returned to the customer as a response.\n" + }, + "externalKeyReferences": { + "type": "array", + "items": { + "$ref": "#/types/oci:Kms/getKeyExternalKeyReference:getKeyExternalKeyReference" + } + }, "freeformTags": { "type": "object", "additionalProperties": { @@ -515839,7 +520208,7 @@ }, "isPrimary": { "type": "boolean", - "description": "A boolean that will be true when key is primary, and will be false when key is a replica from a primary key.\n" + "description": "A Boolean value that indicates whether the Key belongs to primary Vault or replica vault.\n" }, "keyId": { "type": "string" @@ -515856,7 +520225,7 @@ }, "protectionMode": { "type": "string", - "description": "The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported.\n" + "description": "The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager.\n" }, "replicaDetails": { "type": "array", @@ -515911,6 +520280,8 @@ "definedTags", "desiredState", "displayName", + "externalKeyReferences", + "externalKeyReferenceDetails", "freeformTags", "id", "isPrimary", @@ -515962,13 +520333,24 @@ "type": "string", "description": "The OCID of the compartment that contains this key version.\n" }, + "externalKeyReferenceDetails": { + "type": "array", + "items": { + "$ref": "#/types/oci:Kms/getKeyVersionExternalKeyReferenceDetail:getKeyVersionExternalKeyReferenceDetail" + }, + "description": "Key reference data to be returned to the customer as a response.\n" + }, + "externalKeyVersionId": { + "type": "string", + "description": "Key version ID associated with the external key.\n" + }, "id": { "type": "string", "description": "The OCID of the key version.\n" }, "isPrimary": { "type": "boolean", - "description": "A boolean that will be true when key version is primary, and will be false when key version is a replica from a primary key version.\n" + "description": "A Boolean value that indicates whether the KeyVersion belongs to primary Vault or replica Vault.\n" }, "keyId": { "type": "string", @@ -516019,6 +520401,8 @@ "type": "object", "required": [ "compartmentId", + "externalKeyReferenceDetails", + "externalKeyVersionId", "id", "isPrimary", "keyId", @@ -516133,7 +520517,7 @@ }, "protectionMode": { "type": "string", - "description": "A key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server.\n" + "description": "A key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager.\n" } }, "type": "object", @@ -516147,7 +520531,7 @@ "properties": { "algorithm": { "type": "string", - "description": "The algorithm used by a key's key versions to encrypt or decrypt.\n" + "description": "The algorithm used by a key's key versions to encrypt or decrypt. Only AES algorithm is supported for `External` keys.\n" }, "compartmentId": { "type": "string", @@ -516183,7 +520567,7 @@ }, "protectionMode": { "type": "string", - "description": "The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported.\n" + "description": "The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager.\n" } }, "type": "object", @@ -516229,7 +520613,8 @@ "type": "array", "items": { "$ref": "#/types/oci:Kms/getReplicationStatusReplicaDetail:getReplicationStatusReplicaDetail" - } + }, + "description": "Replica Details.\n" }, "replicationId": { "type": "string" @@ -516281,6 +520666,19 @@ "type": "string", "description": "A user-friendly name for the vault. It does not have to be unique, and it is changeable. Avoid entering confidential information.\n" }, + "externalKeyManagerMetadataSummaries": { + "type": "array", + "items": { + "$ref": "#/types/oci:Kms/getVaultExternalKeyManagerMetadataSummary:getVaultExternalKeyManagerMetadataSummary" + }, + "description": "Summary about metadata of external key manager to be returned to the customer as a response.\n" + }, + "externalKeyManagerMetadatas": { + "type": "array", + "items": { + "$ref": "#/types/oci:Kms/getVaultExternalKeyManagerMetadata:getVaultExternalKeyManagerMetadata" + } + }, "freeformTags": { "type": "object", "additionalProperties": { @@ -516294,7 +520692,7 @@ }, "isPrimary": { "type": "boolean", - "description": "A boolean that will be true when vault is primary, and will be false when vault is a replica from a primary vault.\n" + "description": "A Boolean value that indicates whether the Vault is primary Vault or replica Vault.\n" }, "managementEndpoint": { "type": "string", @@ -516327,7 +520725,7 @@ }, "restoredFromVaultId": { "type": "string", - "description": "The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault.\n" + "description": "The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault.\n" }, "state": { "type": "string", @@ -516355,6 +520753,8 @@ "cryptoEndpoint", "definedTags", "displayName", + "externalKeyManagerMetadatas", + "externalKeyManagerMetadataSummaries", "freeformTags", "id", "isPrimary", @@ -528080,6 +532480,10 @@ "type": "string", "description": "The OCID of the compartment that contains the read replica.\n" }, + "configurationId": { + "type": "string", + "description": "The OCID of the Configuration to be used by the read replica.\n" + }, "dbSystemId": { "type": "string", "description": "The OCID of the DB System the read replica is associated with.\n" @@ -528128,7 +532532,7 @@ }, "mysqlVersion": { "type": "string", - "description": "The MySQL version used by the read replica.\n" + "description": "The MySQL version to be used by the read replica.\n" }, "port": { "type": "integer", @@ -528141,6 +532545,17 @@ "replicaId": { "type": "string" }, + "replicaOverrides": { + "type": "array", + "items": { + "$ref": "#/types/oci:Mysql/getReplicaReplicaOverride:getReplicaReplicaOverride" + }, + "description": "By default a read replica inherits the MySQL version, shape, and configuration of the source DB system. If you want to override any of these, provide values in the properties, mysqlVersion, shapeName, and configurationId. If you set a property value to \"\", then the value is inherited from its source DB system.\n" + }, + "shapeName": { + "type": "string", + "description": "The shape currently in use by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation.\n" + }, "state": { "type": "string", "description": "The state of the read replica.\n" @@ -528158,6 +532573,7 @@ "required": [ "availabilityDomain", "compartmentId", + "configurationId", "dbSystemId", "definedTags", "description", @@ -528172,6 +532588,8 @@ "port", "portX", "replicaId", + "replicaOverrides", + "shapeName", "state", "timeCreated", "timeUpdated" @@ -528179,7 +532597,7 @@ } }, "oci:Mysql/getReplicas:getReplicas": { - "description": "This data source provides the list of Replicas in Oracle Cloud Infrastructure MySQL Database service.\n\nLists all the read replicas that match the specified filters.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testReplicas = oci.Mysql.getReplicas({\n compartmentId: _var.compartment_id,\n dbSystemId: oci_mysql_mysql_db_system.test_mysql_db_system.id,\n displayName: _var.replica_display_name,\n replicaId: oci_mysql_replica.test_replica.id,\n state: _var.replica_state,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_replicas = oci.Mysql.get_replicas(compartment_id=var[\"compartment_id\"],\n db_system_id=oci_mysql_mysql_db_system[\"test_mysql_db_system\"][\"id\"],\n display_name=var[\"replica_display_name\"],\n replica_id=oci_mysql_replica[\"test_replica\"][\"id\"],\n state=var[\"replica_state\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Oci = Pulumi.Oci;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var testReplicas = Oci.Mysql.GetReplicas.Invoke(new()\n {\n CompartmentId = @var.Compartment_id,\n DbSystemId = oci_mysql_mysql_db_system.Test_mysql_db_system.Id,\n DisplayName = @var.Replica_display_name,\n ReplicaId = oci_mysql_replica.Test_replica.Id,\n State = @var.Replica_state,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/go/oci/Mysql\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := Mysql.GetReplicas(ctx, \u0026mysql.GetReplicasArgs{\n\t\t\tCompartmentId: _var.Compartment_id,\n\t\t\tDbSystemId: pulumi.StringRef(oci_mysql_mysql_db_system.Test_mysql_db_system.Id),\n\t\t\tDisplayName: pulumi.StringRef(_var.Replica_display_name),\n\t\t\tReplicaId: pulumi.StringRef(oci_mysql_replica.Test_replica.Id),\n\t\t\tState: pulumi.StringRef(_var.Replica_state),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.oci.Mysql.MysqlFunctions;\nimport com.pulumi.oci.Mysql.inputs.GetReplicasArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var testReplicas = MysqlFunctions.getReplicas(GetReplicasArgs.builder()\n .compartmentId(var_.compartment_id())\n .dbSystemId(oci_mysql_mysql_db_system.test_mysql_db_system().id())\n .displayName(var_.replica_display_name())\n .replicaId(oci_mysql_replica.test_replica().id())\n .state(var_.replica_state())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testReplicas:\n fn::invoke:\n Function: oci:Mysql:getReplicas\n Arguments:\n compartmentId: ${var.compartment_id}\n dbSystemId: ${oci_mysql_mysql_db_system.test_mysql_db_system.id}\n displayName: ${var.replica_display_name}\n replicaId: ${oci_mysql_replica.test_replica.id}\n state: ${var.replica_state}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "This data source provides the list of Replicas in Oracle Cloud Infrastructure MySQL Database service.\n\nLists all the read replicas that match the specified filters.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testReplicas = oci.Mysql.getReplicas({\n compartmentId: _var.compartment_id,\n configurationId: oci_mysql_mysql_configuration.test_mysql_configuration.id,\n dbSystemId: oci_mysql_mysql_db_system.test_mysql_db_system.id,\n displayName: _var.replica_display_name,\n isUpToDate: _var.replica_is_up_to_date,\n replicaId: oci_mysql_replica.test_replica.id,\n state: _var.replica_state,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_replicas = oci.Mysql.get_replicas(compartment_id=var[\"compartment_id\"],\n configuration_id=oci_mysql_mysql_configuration[\"test_mysql_configuration\"][\"id\"],\n db_system_id=oci_mysql_mysql_db_system[\"test_mysql_db_system\"][\"id\"],\n display_name=var[\"replica_display_name\"],\n is_up_to_date=var[\"replica_is_up_to_date\"],\n replica_id=oci_mysql_replica[\"test_replica\"][\"id\"],\n state=var[\"replica_state\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Oci = Pulumi.Oci;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var testReplicas = Oci.Mysql.GetReplicas.Invoke(new()\n {\n CompartmentId = @var.Compartment_id,\n ConfigurationId = oci_mysql_mysql_configuration.Test_mysql_configuration.Id,\n DbSystemId = oci_mysql_mysql_db_system.Test_mysql_db_system.Id,\n DisplayName = @var.Replica_display_name,\n IsUpToDate = @var.Replica_is_up_to_date,\n ReplicaId = oci_mysql_replica.Test_replica.Id,\n State = @var.Replica_state,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/go/oci/Mysql\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := Mysql.GetReplicas(ctx, \u0026mysql.GetReplicasArgs{\n\t\t\tCompartmentId: _var.Compartment_id,\n\t\t\tConfigurationId: pulumi.StringRef(oci_mysql_mysql_configuration.Test_mysql_configuration.Id),\n\t\t\tDbSystemId: pulumi.StringRef(oci_mysql_mysql_db_system.Test_mysql_db_system.Id),\n\t\t\tDisplayName: pulumi.StringRef(_var.Replica_display_name),\n\t\t\tIsUpToDate: pulumi.BoolRef(_var.Replica_is_up_to_date),\n\t\t\tReplicaId: pulumi.StringRef(oci_mysql_replica.Test_replica.Id),\n\t\t\tState: pulumi.StringRef(_var.Replica_state),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.oci.Mysql.MysqlFunctions;\nimport com.pulumi.oci.Mysql.inputs.GetReplicasArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var testReplicas = MysqlFunctions.getReplicas(GetReplicasArgs.builder()\n .compartmentId(var_.compartment_id())\n .configurationId(oci_mysql_mysql_configuration.test_mysql_configuration().id())\n .dbSystemId(oci_mysql_mysql_db_system.test_mysql_db_system().id())\n .displayName(var_.replica_display_name())\n .isUpToDate(var_.replica_is_up_to_date())\n .replicaId(oci_mysql_replica.test_replica().id())\n .state(var_.replica_state())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testReplicas:\n fn::invoke:\n Function: oci:Mysql:getReplicas\n Arguments:\n compartmentId: ${var.compartment_id}\n configurationId: ${oci_mysql_mysql_configuration.test_mysql_configuration.id}\n dbSystemId: ${oci_mysql_mysql_db_system.test_mysql_db_system.id}\n displayName: ${var.replica_display_name}\n isUpToDate: ${var.replica_is_up_to_date}\n replicaId: ${oci_mysql_replica.test_replica.id}\n state: ${var.replica_state}\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getReplicas.\n", "properties": { @@ -528187,6 +532605,10 @@ "type": "string", "description": "The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).\n" }, + "configurationId": { + "type": "string", + "description": "The requested Configuration instance.\n" + }, "dbSystemId": { "type": "string", "description": "The DB System [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).\n" @@ -528202,6 +532624,10 @@ }, "willReplaceOnChanges": true }, + "isUpToDate": { + "type": "boolean", + "description": "Filter instances if they are using the latest revision of the Configuration they are associated with.\n" + }, "replicaId": { "type": "string", "description": "The read replica [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).\n" @@ -528223,6 +532649,10 @@ "type": "string", "description": "The OCID of the compartment that contains the read replica.\n" }, + "configurationId": { + "type": "string", + "description": "The OCID of the Configuration to be used by the read replica.\n" + }, "dbSystemId": { "type": "string", "description": "The OCID of the DB System the read replica is associated with.\n" @@ -528241,6 +532671,9 @@ "type": "string", "description": "The provider-assigned unique ID for this managed resource.\n" }, + "isUpToDate": { + "type": "boolean" + }, "replicaId": { "type": "string" }, @@ -543790,13 +548223,13 @@ } }, "oci:Queue/getQueue:getQueue": { - "description": "This data source provides details about a specific Queue resource in Oracle Cloud Infrastructure Queue service.\n\nGets a Queue by identifier\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testQueue = oci.Queue.getQueue({\n queueId: oci_queue_queue.test_queue.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_queue = oci.Queue.get_queue(queue_id=oci_queue_queue[\"test_queue\"][\"id\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Oci = Pulumi.Oci;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var testQueue = Oci.Queue.GetQueue.Invoke(new()\n {\n QueueId = oci_queue_queue.Test_queue.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/go/oci/Queue\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := Queue.GetQueue(ctx, \u0026queue.GetQueueArgs{\n\t\t\tQueueId: oci_queue_queue.Test_queue.Id,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.oci.Queue.QueueFunctions;\nimport com.pulumi.oci.Queue.inputs.GetQueueArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var testQueue = QueueFunctions.getQueue(GetQueueArgs.builder()\n .queueId(oci_queue_queue.test_queue().id())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testQueue:\n fn::invoke:\n Function: oci:Queue:getQueue\n Arguments:\n queueId: ${oci_queue_queue.test_queue.id}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "This data source provides details about a specific Queue resource in Oracle Cloud Infrastructure Queue service.\n\nGets a queue by identifier.\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testQueue = oci.Queue.getQueue({\n queueId: oci_queue_queue.test_queue.id,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_queue = oci.Queue.get_queue(queue_id=oci_queue_queue[\"test_queue\"][\"id\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Oci = Pulumi.Oci;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var testQueue = Oci.Queue.GetQueue.Invoke(new()\n {\n QueueId = oci_queue_queue.Test_queue.Id,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/go/oci/Queue\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := Queue.GetQueue(ctx, \u0026queue.GetQueueArgs{\n\t\t\tQueueId: oci_queue_queue.Test_queue.Id,\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.oci.Queue.QueueFunctions;\nimport com.pulumi.oci.Queue.inputs.GetQueueArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var testQueue = QueueFunctions.getQueue(GetQueueArgs.builder()\n .queueId(oci_queue_queue.test_queue().id())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testQueue:\n fn::invoke:\n Function: oci:Queue:getQueue\n Arguments:\n queueId: ${oci_queue_queue.test_queue.id}\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getQueue.\n", "properties": { "queueId": { "type": "string", - "description": "unique Queue identifier\n" + "description": "The unique queue identifier.\n" } }, "type": "object", @@ -543807,13 +548240,17 @@ "outputs": { "description": "A collection of values returned by getQueue.\n", "properties": { + "channelConsumptionLimit": { + "type": "integer", + "description": "The percentage of allocated queue resources that can be consumed by a single channel. For example, if a queue has a storage limit of 2Gb, and a single channel consumption limit is 0.1 (10%), that means data size of a single channel can't exceed 200Mb. Consumption limit of 100% (default) means that a single channel can consume up-to all allocated queue's resources.\n" + }, "compartmentId": { "type": "string", - "description": "Compartment Identifier\n" + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the queue.\n" }, "customEncryptionKeyId": { "type": "string", - "description": "Id of the custom master encryption key which will be used to encrypt messages content\n" + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the custom encryption key to be used to encrypt messages content.\n" }, "deadLetterQueueDeliveryCount": { "type": "integer", @@ -543828,7 +548265,7 @@ }, "displayName": { "type": "string", - "description": "Queue Identifier, can be renamed\n" + "description": "A user-friendly name for the queue. Does not have to be unique, and it's changeable. Avoid entering confidential information.\n" }, "freeformTags": { "type": "object", @@ -543839,11 +548276,11 @@ }, "id": { "type": "string", - "description": "Unique identifier that is immutable on creation\n" + "description": "A unique identifier for the queue that is immutable on creation.\n" }, "lifecycleDetails": { "type": "string", - "description": "A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.\n" + "description": "Any additional details about the current state of the queue.\n" }, "messagesEndpoint": { "type": "string", @@ -543864,7 +548301,7 @@ }, "state": { "type": "string", - "description": "The current state of the Queue.\n" + "description": "The current state of the queue.\n" }, "systemTags": { "type": "object", @@ -543875,11 +548312,11 @@ }, "timeCreated": { "type": "string", - "description": "The time the the Queue was created. An RFC3339 formatted datetime string\n" + "description": "The time that the queue was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z`\n" }, "timeUpdated": { "type": "string", - "description": "The time the Queue was updated. An RFC3339 formatted datetime string\n" + "description": "The time that the queue was updated, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z`\n" }, "timeoutInSeconds": { "type": "integer", @@ -543887,11 +548324,12 @@ }, "visibilityInSeconds": { "type": "integer", - "description": "The default visibility of the messages consumed from the queue.\n" + "description": "The default visibility timeout of the messages consumed from the queue, in seconds.\n" } }, "type": "object", "required": [ + "channelConsumptionLimit", "compartmentId", "customEncryptionKeyId", "deadLetterQueueDeliveryCount", @@ -543915,13 +548353,13 @@ } }, "oci:Queue/getQueues:getQueues": { - "description": "This data source provides the list of Queues in Oracle Cloud Infrastructure Queue service.\n\nReturns a list of Queues.\n\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testQueues = oci.Queue.getQueues({\n compartmentId: _var.compartment_id,\n displayName: _var.queue_display_name,\n id: _var.queue_id,\n state: _var.queue_state,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_queues = oci.Queue.get_queues(compartment_id=var[\"compartment_id\"],\n display_name=var[\"queue_display_name\"],\n id=var[\"queue_id\"],\n state=var[\"queue_state\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Oci = Pulumi.Oci;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var testQueues = Oci.Queue.GetQueues.Invoke(new()\n {\n CompartmentId = @var.Compartment_id,\n DisplayName = @var.Queue_display_name,\n Id = @var.Queue_id,\n State = @var.Queue_state,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/go/oci/Queue\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := Queue.GetQueues(ctx, \u0026queue.GetQueuesArgs{\n\t\t\tCompartmentId: pulumi.StringRef(_var.Compartment_id),\n\t\t\tDisplayName: pulumi.StringRef(_var.Queue_display_name),\n\t\t\tId: pulumi.StringRef(_var.Queue_id),\n\t\t\tState: pulumi.StringRef(_var.Queue_state),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.oci.Queue.QueueFunctions;\nimport com.pulumi.oci.Queue.inputs.GetQueuesArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var testQueues = QueueFunctions.getQueues(GetQueuesArgs.builder()\n .compartmentId(var_.compartment_id())\n .displayName(var_.queue_display_name())\n .id(var_.queue_id())\n .state(var_.queue_state())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testQueues:\n fn::invoke:\n Function: oci:Queue:getQueues\n Arguments:\n compartmentId: ${var.compartment_id}\n displayName: ${var.queue_display_name}\n id: ${var.queue_id}\n state: ${var.queue_state}\n```\n{{% /example %}}\n{{% /examples %}}", + "description": "This data source provides the list of Queues in Oracle Cloud Infrastructure Queue service.\n\nReturns a list of queues.\n\n\n{{% examples %}}\n## Example Usage\n{{% example %}}\n\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as oci from \"@pulumi/oci\";\n\nconst testQueues = oci.Queue.getQueues({\n compartmentId: _var.compartment_id,\n displayName: _var.queue_display_name,\n id: _var.queue_id,\n state: _var.queue_state,\n});\n```\n```python\nimport pulumi\nimport pulumi_oci as oci\n\ntest_queues = oci.Queue.get_queues(compartment_id=var[\"compartment_id\"],\n display_name=var[\"queue_display_name\"],\n id=var[\"queue_id\"],\n state=var[\"queue_state\"])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Oci = Pulumi.Oci;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var testQueues = Oci.Queue.GetQueues.Invoke(new()\n {\n CompartmentId = @var.Compartment_id,\n DisplayName = @var.Queue_display_name,\n Id = @var.Queue_id,\n State = @var.Queue_state,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-oci/sdk/go/oci/Queue\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := Queue.GetQueues(ctx, \u0026queue.GetQueuesArgs{\n\t\t\tCompartmentId: pulumi.StringRef(_var.Compartment_id),\n\t\t\tDisplayName: pulumi.StringRef(_var.Queue_display_name),\n\t\t\tId: pulumi.StringRef(_var.Queue_id),\n\t\t\tState: pulumi.StringRef(_var.Queue_state),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.oci.Queue.QueueFunctions;\nimport com.pulumi.oci.Queue.inputs.GetQueuesArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var testQueues = QueueFunctions.getQueues(GetQueuesArgs.builder()\n .compartmentId(var_.compartment_id())\n .displayName(var_.queue_display_name())\n .id(var_.queue_id())\n .state(var_.queue_state())\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n testQueues:\n fn::invoke:\n Function: oci:Queue:getQueues\n Arguments:\n compartmentId: ${var.compartment_id}\n displayName: ${var.queue_display_name}\n id: ${var.queue_id}\n state: ${var.queue_state}\n```\n{{% /example %}}\n{{% /examples %}}", "inputs": { "description": "A collection of arguments for invoking getQueues.\n", "properties": { "compartmentId": { "type": "string", - "description": "The ID of the compartment in which to list resources.\n" + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.\n" }, "displayName": { "type": "string", @@ -543936,7 +548374,7 @@ }, "id": { "type": "string", - "description": "unique Queue identifier\n" + "description": "The unique queue identifier.\n" }, "state": { "type": "string", @@ -543950,11 +548388,11 @@ "properties": { "compartmentId": { "type": "string", - "description": "Compartment Identifier\n" + "description": "The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the queue.\n" }, "displayName": { "type": "string", - "description": "Queue Identifier, can be renamed\n" + "description": "A user-friendly name for the queue. Does not have to be unique, and it's changeable. Avoid entering confidential information.\n" }, "filters": { "type": "array", @@ -543964,7 +548402,7 @@ }, "id": { "type": "string", - "description": "Unique identifier that is immutable on creation\n" + "description": "A unique identifier for the queue that is immutable on creation.\n" }, "queueCollections": { "type": "array", @@ -543975,7 +548413,7 @@ }, "state": { "type": "string", - "description": "The current state of the Queue.\n" + "description": "The current state of the queue.\n" } }, "type": "object", diff --git a/provider/go.mod b/provider/go.mod index 1c5433803b..bf2f6c8cc6 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -9,11 +9,11 @@ replace ( ) require ( - github.com/oracle/terraform-provider-oci v1.0.19-0.20230926225428-c23fb98a733f // indirect + github.com/oracle/terraform-provider-oci v1.0.19-0.20231004191022-528beef7383f // indirect github.com/oracle/terraform-provider-oci/shim v0.0.0 - github.com/pulumi/pulumi-terraform-bridge/v3 v3.60.1 - github.com/pulumi/pulumi/pkg/v3 v3.81.0 // indirect - github.com/pulumi/pulumi/sdk/v3 v3.81.0 + github.com/pulumi/pulumi-terraform-bridge/v3 v3.61.0 + github.com/pulumi/pulumi/pkg/v3 v3.86.0 // indirect + github.com/pulumi/pulumi/sdk/v3 v3.86.0 ) require ( @@ -26,7 +26,7 @@ require ( cloud.google.com/go/longrunning v0.5.1 // indirect cloud.google.com/go/storage v1.30.1 // indirect dario.cat/mergo v1.0.0 // indirect - github.com/AlecAivazis/survey/v2 v2.0.5 // indirect + github.com/AlecAivazis/survey/v2 v2.3.7 // indirect github.com/Azure/azure-sdk-for-go v66.0.0+incompatible // indirect github.com/Azure/azure-sdk-for-go/sdk/azcore v1.1.1 // indirect github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.0.0 // indirect @@ -192,7 +192,7 @@ require ( github.com/oklog/run v1.1.0 // indirect github.com/opentracing/basictracer-go v1.1.0 // indirect github.com/opentracing/opentracing-go v1.2.0 // indirect - github.com/oracle/oci-go-sdk/v65 v65.49.2 // indirect + github.com/oracle/oci-go-sdk/v65 v65.49.3 // indirect github.com/pgavlin/goldmark v1.1.33-0.20200616210433-b5eb04559386 // indirect github.com/pierrec/lz4 v2.6.1+incompatible // indirect github.com/pjbgf/sha1cd v0.3.0 // indirect diff --git a/provider/go.sum b/provider/go.sum index 6313b6ecc9..2cc8d72aa7 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -629,8 +629,8 @@ dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7 gioui.org v0.0.0-20210308172011-57750fc8a0a6/go.mod h1:RSH6KIUZ0p2xy5zHDxgAM4zumjgTw83q2ge/PI+yyw8= git.sr.ht/~sbinet/gg v0.3.1/go.mod h1:KGYtlADtqsqANL9ueOFkWymvzUvLMQllU5Ixo+8v3pc= github.com/AdaLogics/go-fuzz-headers v0.0.0-20210715213245-6c3934b029d8/go.mod h1:CzsSbkDixRphAF5hS6wbMKq0eI6ccJRb7/A0M6JBnwg= -github.com/AlecAivazis/survey/v2 v2.0.5 h1:xpZp+Q55wi5C7Iaze+40onHnEkex1jSc34CltJjOoPM= -github.com/AlecAivazis/survey/v2 v2.0.5/go.mod h1:WYBhg6f0y/fNYUuesWQc0PKbJcEliGcYHB9sNT3Bg74= +github.com/AlecAivazis/survey/v2 v2.3.7 h1:6I/u8FvytdGsgonrYsVn2t8t4QiRnh6QSTqkkhIiSjQ= +github.com/AlecAivazis/survey/v2 v2.3.7/go.mod h1:xUTIdE4KCOIjsBAE1JYsUPoCqYdZ1reCfTwbto0Fduo= github.com/Azure/azure-amqp-common-go/v3 v3.2.3/go.mod h1:7rPmbSfszeovxGfc5fSAXE4ehlXQZHpMja2OtxC2Tas= github.com/Azure/azure-sdk-for-go v16.2.1+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= github.com/Azure/azure-sdk-for-go v63.0.0+incompatible/go.mod h1:9XXNKU+eRnpl9moKnB4QOLf1HestfXbmab5FXxiDBjc= @@ -740,7 +740,6 @@ github.com/Microsoft/hcsshim/test v0.0.0-20201218223536-d3e5debf77da/go.mod h1:5 github.com/Microsoft/hcsshim/test v0.0.0-20210227013316-43a75bb4edd3/go.mod h1:mw7qgWloBUl75W/gVH3cQszUg1+gUITj7D6NY7ywVnY= github.com/NYTimes/gziphandler v0.0.0-20170623195520-56545f4a5d46/go.mod h1:3wb06e3pkSAbeQ52E9H9iFoQsEEwGN64994WTCIhntQ= github.com/NYTimes/gziphandler v1.1.1/go.mod h1:n/CVRwUEOgIxrgPvAQhUUr9oeUtvrhMomdKFjzJNB0c= -github.com/Netflix/go-expect v0.0.0-20180615182759-c93bf25de8e8/go.mod h1:oX5x61PbNXchhh0oikYAH+4Pcfw5LKv21+Jnpr6r6Pc= github.com/Netflix/go-expect v0.0.0-20220104043353-73e0943537d2 h1:+vx7roKuyA63nhn5WAunQHLTznkw5W8b1Xc0dNjp83s= github.com/Netflix/go-expect v0.0.0-20220104043353-73e0943537d2/go.mod h1:HBCaDeC1lPdgDeDbhX8XFpy1jqjK0IBG8W5K+xYqA0w= github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAElWljhcU= @@ -1685,7 +1684,7 @@ github.com/hexops/gotextdiff v1.0.3 h1:gitA9+qJrrTCsiCl7+kh75nPqQt1cx4ZkudSTLoUq github.com/hexops/gotextdiff v1.0.3/go.mod h1:pSWU5MAI3yDq+fZBTazCSJysOMbxWL1BSow5/V2vxeg= github.com/hexops/valast v1.4.0 h1:sFzyxPDP0riFQUzSBXTCCrAbbIndHPWMndxuEjXdZlc= github.com/hexops/valast v1.4.0/go.mod h1:uVjKZ0smVuYlgCSPz9NRi5A04sl7lp6GtFWsROKDgEs= -github.com/hinshun/vt10x v0.0.0-20180616224451-1954e6464174/go.mod h1:DqJ97dSdRW1W22yXSB90986pcOyQ7r45iio1KN2ez1A= +github.com/hinshun/vt10x v0.0.0-20220119200601-820417d04eec/go.mod h1:Q48J4R4DvxnHolD5P8pOtXigYlRuPLGl6moFx3ulM68= github.com/hinshun/vt10x v0.0.0-20220301184237-5011da428d02 h1:AgcIVYPa6XJnU3phs104wLj8l5GEththEw6+F79YsIY= github.com/hinshun/vt10x v0.0.0-20220301184237-5011da428d02/go.mod h1:Q48J4R4DvxnHolD5P8pOtXigYlRuPLGl6moFx3ulM68= github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU= @@ -1827,7 +1826,6 @@ github.com/kr/pretty v0.3.0/go.mod h1:640gp4NfQd8pI5XOwp5fnNeVWj67G7CFk/SaSQn7NB github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= -github.com/kr/pty v1.1.4/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/pty v1.1.5/go.mod h1:9r2w37qlBe7rQ6e1fg1S/9xpWHSnaqNdHD3WcMdbPDA= github.com/kr/pty v1.1.8/go.mod h1:O1sed60cT9XZ5uDucP5qwvh+TE3NnUj51EiZO/lmSfw= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= @@ -2073,10 +2071,10 @@ github.com/openzipkin-contrib/zipkin-go-opentracing v0.4.5/go.mod h1:/wsWhb9smxS github.com/openzipkin/zipkin-go v0.1.6/go.mod h1:QgAqvLzwWbR/WpD4A3cGpPtJrZXNIiJc5AZX7/PBEpw= github.com/openzipkin/zipkin-go v0.2.1/go.mod h1:NaW6tEwdmWMaCDZzg8sh+IBNOxHMPnhQw8ySjnjRyN4= github.com/openzipkin/zipkin-go v0.2.2/go.mod h1:NaW6tEwdmWMaCDZzg8sh+IBNOxHMPnhQw8ySjnjRyN4= -github.com/oracle/oci-go-sdk/v65 v65.49.2 h1:optOfjGIVmZZMT3a/8ri/CVV1loDG0ab1p2tEpNW5ro= -github.com/oracle/oci-go-sdk/v65 v65.49.2/go.mod h1:IBEV9l1qBzUpo7zgGaRUhbB05BVfcDGYRFBCPlTcPp0= -github.com/oracle/terraform-provider-oci v1.0.19-0.20230926225428-c23fb98a733f h1:Vz0STTtVVUXnHNYgd3oLoM0CdZhd94ZHSGdj6NR6M0o= -github.com/oracle/terraform-provider-oci v1.0.19-0.20230926225428-c23fb98a733f/go.mod h1:qTSfDhcVhhkhndeCV0MJhsKDc61qAhnsau5YkTorZsk= +github.com/oracle/oci-go-sdk/v65 v65.49.3 h1:HHv+XMZiBYHtoU8Ac/fURdp9v1vJPPCpIbJAWeadREw= +github.com/oracle/oci-go-sdk/v65 v65.49.3/go.mod h1:IBEV9l1qBzUpo7zgGaRUhbB05BVfcDGYRFBCPlTcPp0= +github.com/oracle/terraform-provider-oci v1.0.19-0.20231004191022-528beef7383f h1:K6NKU0I6ELE4h+lGmPSWsxsJ/beKryCjg9XXAPNiAEM= +github.com/oracle/terraform-provider-oci v1.0.19-0.20231004191022-528beef7383f/go.mod h1:uocacV8qZKjxBViMgGtUXEPQIdJXropDO9/Iu0jSBGA= github.com/pact-foundation/pact-go v1.0.4/go.mod h1:uExwJY4kCzNPcHRj+hCR/HBbOOIwwtUjcrb0b5/5kLM= github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc= github.com/pascaldekloe/goe v0.1.0 h1:cBOtyMzM9HTpWjXfbbunk26uA6nG3a8n06Wieeh0MwY= @@ -2183,16 +2181,16 @@ github.com/pulumi/pulumi-java/pkg v0.9.6 h1:UJrOAsYHRchwb4QlfI9Q224qg1TOI3rIsI6D github.com/pulumi/pulumi-java/pkg v0.9.6/go.mod h1:c6rSw/+q4O0IImgJ9axxoC6QesbPYWBaG5gimbHouUQ= github.com/pulumi/pulumi-terraform-bridge/testing v0.0.1 h1:SCg1gjfY9N4yn8U8peIUYATifjoDABkyR7H9lmefsfc= github.com/pulumi/pulumi-terraform-bridge/testing v0.0.1/go.mod h1:7OeUPH8rpt5ipyj9EFcnXpuzQ8SHL0dyqdfa8nOacdk= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.60.1 h1:+W2JHLi4y+G57jLPLJbDLv1xvm/9L2NO0gWXrtR8MDM= -github.com/pulumi/pulumi-terraform-bridge/v3 v3.60.1/go.mod h1:o0Vfch2UXtHOnGYpNElzGg4htT6B8X8hS9fa5AguP7g= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.61.0 h1:ryRfPhwm78Ni+U1uaAsITAI6dD2tLtb3suhJXGWb9cM= +github.com/pulumi/pulumi-terraform-bridge/v3 v3.61.0/go.mod h1:k6iVhOWqTkMWxMdd7njoSkPXBJC/T2Rs44Iif3yDgXw= github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.4 h1:rIzMmtcVpPX8ynaz6/nW5AHNY63DiNfCohqmxWvMpM4= github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.4/go.mod h1:Kt8RIZWa/N8rW3+0g6NrqCBmF3o+HuIhFaZpssEkG6w= github.com/pulumi/pulumi-yaml v1.2.2 h1:W6BeUBLhDrJ2GSU0em1AUVelG9PBI4ABY61DdhJOO3E= github.com/pulumi/pulumi-yaml v1.2.2/go.mod h1:EgakC7b/4+VBNnlgM1RZIea2gUstV8s/7bdFJZt0P64= -github.com/pulumi/pulumi/pkg/v3 v3.81.0 h1:6rf2farQLszi8inHCu9YdJtDvK0fqNguix51b3FEDRQ= -github.com/pulumi/pulumi/pkg/v3 v3.81.0/go.mod h1:URXozJB/abhxb2yOwa5ywHjT2dqt9SmAX2iLkdcOOl0= -github.com/pulumi/pulumi/sdk/v3 v3.81.0 h1:d711GUpjZK1beNpIKFReC1LBmHXYE684sYWntJWQ4Q0= -github.com/pulumi/pulumi/sdk/v3 v3.81.0/go.mod h1:RMilNNVMlmK1h4Nl/qylb9vzbgh4F3mufZoUOnPy98o= +github.com/pulumi/pulumi/pkg/v3 v3.86.0 h1:G4spuT89ZN8lSxT9WkMF/JaP7n+wu7ubEly7Yy8uza0= +github.com/pulumi/pulumi/pkg/v3 v3.86.0/go.mod h1:Qs55gPhUwM/Dua3VRtHXLLlpY8uEe+llDBIZc+1pvHM= +github.com/pulumi/pulumi/sdk/v3 v3.86.0 h1:Cxg0rGdvMt9GqGvesFTj8+WaO/ihmALYlQf4zm1GzFw= +github.com/pulumi/pulumi/sdk/v3 v3.86.0/go.mod h1:vexSGJ5L834l3T7Fo/KpdywjGAgZ2CvChuqGFl+ebS0= github.com/pulumi/schema-tools v0.1.2 h1:Fd9xvUjgck4NA+7/jSk7InqCUT4Kj940+EcnbQKpfZo= github.com/pulumi/schema-tools v0.1.2/go.mod h1:62lgj52Tzq11eqWTIaKd+EVyYAu5dEcDJxMhTjvMO/k= github.com/pulumi/terraform-diff-reader v0.0.2 h1:kTE4nEXU3/SYXESvAIem+wyHMI3abqkI3OhJ0G04LLI= @@ -2322,7 +2320,6 @@ github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSS github.com/stretchr/objx v0.5.0 h1:1zr/of2m5FGMsad5YfcqgdqdWrIhu+EBEJRhR1U7z/c= github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= github.com/stretchr/testify v0.0.0-20180303142811-b89eecf5ca5d/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= -github.com/stretchr/testify v1.2.1/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= @@ -2538,7 +2535,6 @@ golang.org/x/crypto v0.0.0-20190411191339-88737f569e3a/go.mod h1:WFFai1msRO1wXaE golang.org/x/crypto v0.0.0-20190422162423-af44ce270edf/go.mod h1:WFFai1msRO1wXaEeE5yQxYXgSfI8pQAWXbQop6sCtWE= golang.org/x/crypto v0.0.0-20190426145343-a29dc8fdc734/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20190530122614-20be4c3c3ed5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190611184440-5c40567a22f8/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190701094942-4def268fd1a4/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= @@ -2812,7 +2808,6 @@ golang.org/x/sys v0.0.0-20190502175342-a43fa875dd82/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190514135907-3a4b5fb9f71f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190522044717-8097e1b27ff5/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190530182044-ad28b68e88f1/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190531175056-4c3a928424d2/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190602015325-4c4f7f33c9ed/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= diff --git a/provider/resources.go b/provider/resources.go index 4f8b44ee42..f90bbc8f11 100644 --- a/provider/resources.go +++ b/provider/resources.go @@ -22,11 +22,12 @@ import ( "strings" ociShim "github.com/oracle/terraform-provider-oci/shim" - "github.com/pulumi/pulumi-oci/provider/pkg/version" "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge" - "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge/x" + "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfbridge/tokens" shimv2 "github.com/pulumi/pulumi-terraform-bridge/v3/pkg/tfshim/sdk-v2" "github.com/pulumi/pulumi/sdk/v3/go/common/util/contract" + + "github.com/pulumi/pulumi-oci/provider/pkg/version" ) // all of the token components used below. @@ -60,6 +61,7 @@ const ( cloudBridgeMod = "CloudBridge" // Cloud Bridge cloudGuardMod = "CloudGuard" // Cloud Guard cloudMigrationsMod = "CloudMigrations" // Cloud Migrations + computeCloudMod = "ComputeCloud" // Compute Cloud computeInstanceAgent = "ComputeInstanceAgent" // Compute Instance Agent containerEngineMod = "ContainerEngine" // Container Engine containerInstancesMod = "ContainerInstances" // Container Instances @@ -173,9 +175,11 @@ var mappedMods = map[string]string{ "cloud_migrations": cloudMigrationsMod, "computeinstanceagent": computeInstanceAgent, "containerengine": containerEngineMod, + "compute_cloud": computeCloudMod, "container_instances": containerInstancesMod, "core": coreMod, "data_labelling_service": dataLabellingServiceMod, + "data_labeling_service": dataLabellingServiceMod, "data_safe": dataSafeMod, "database": databaseMod, "database_management": databaseManagementMod, @@ -248,7 +252,7 @@ var mappedMods = map[string]string{ "vault": vaultMod, "vbs": vbsMod, "visual_builder": visualBuilderMod, - "vn_Monitoring": vnMonitoringMod, + "vn_monitoring": vnMonitoringMod, "vulnerability_scanning": vulnerabilityScanningMod, "waa": waaMod, "waas": waasMod, @@ -285,6 +289,16 @@ func Provider() tfbridge.ProviderInfo { Repository: "https://github.com/pulumi/pulumi-oci", Config: map[string]*tfbridge.SchemaInfo{}, GitHubOrg: "oracle", + Version: version.Version, + DocRules: &tfbridge.DocRuleInfo{ + AlternativeNames: func(info tfbridge.DocsPathInfo) []string { + if rest, ok := strings.CutPrefix(info.TfToken, "oci_datascience"); ok { + return []string{"datascience_data_science" + rest + ".html.markdown"} + } + return nil + }, + }, + IgnoreMappings: []string{ "oci_database_migration", "oci_load_balancer", @@ -406,36 +420,19 @@ func Provider() tfbridge.ProviderInfo { "oci_container_instances_container_instance": {Tok: tfbridge.MakeResource(mainPkg, containerEngineMod, "ContainerInstance")}, - "oci_core_app_catalog_listing_resource_version_agreement": {Tok: tfbridge.MakeResource(mainPkg, coreMod, "AppCatalogListingResourceVersionAgreement")}, - "oci_core_app_catalog_subscription": {Tok: tfbridge.MakeResource(mainPkg, coreMod, "AppCatalogSubscription")}, - "oci_core_boot_volume": {Tok: tfbridge.MakeResource(mainPkg, coreMod, "BootVolume")}, - "oci_core_boot_volume_backup": {Tok: tfbridge.MakeResource(mainPkg, coreMod, "BootVolumeBackup")}, - "oci_core_cluster_network": {Tok: tfbridge.MakeResource(mainPkg, coreMod, "ClusterNetwork")}, - "oci_core_compute_capacity_reservation": {Tok: tfbridge.MakeResource(mainPkg, coreMod, "ComputeCapacityReservation")}, - "oci_core_compute_image_capability_schema": {Tok: tfbridge.MakeResource(mainPkg, coreMod, "ComputeImageCapabilitySchema")}, - "oci_core_console_history": {Tok: tfbridge.MakeResource(mainPkg, coreMod, "ConsoleHistory")}, - "oci_core_cpe": {Tok: tfbridge.MakeResource(mainPkg, coreMod, "Cpe")}, - "oci_core_cross_connect": {Tok: tfbridge.MakeResource(mainPkg, coreMod, "CrossConnect")}, - "oci_core_cross_connect_group": {Tok: tfbridge.MakeResource(mainPkg, coreMod, "CrossConnectGroup")}, - "oci_core_dedicated_vm_host": {Tok: tfbridge.MakeResource(mainPkg, coreMod, "DedicatedVmHost")}, - "oci_core_default_dhcp_options": { - Tok: tfbridge.MakeResource(mainPkg, coreMod, "DefaultDhcpOptions"), - Docs: &tfbridge.DocInfo{ - Markdown: []byte(" "), - }, - }, - "oci_core_default_route_table": { - Tok: tfbridge.MakeResource(mainPkg, coreMod, "DefaultRouteTable"), - Docs: &tfbridge.DocInfo{ - Markdown: []byte(" "), - }, - }, - "oci_core_default_security_list": { - Tok: tfbridge.MakeResource(mainPkg, coreMod, "DefaultSecurityList"), - Docs: &tfbridge.DocInfo{ - Markdown: []byte(" "), - }, + "oci_core_app_catalog_listing_resource_version_agreement": { + Tok: tfbridge.MakeResource(mainPkg, coreMod, "AppCatalogListingResourceVersionAgreement"), }, + "oci_core_compute_capacity_reservation": {Tok: tfbridge.MakeResource(mainPkg, coreMod, "ComputeCapacityReservation")}, + "oci_core_compute_image_capability_schema": {Tok: tfbridge.MakeResource(mainPkg, coreMod, "ComputeImageCapabilitySchema")}, + "oci_core_console_history": {Tok: tfbridge.MakeResource(mainPkg, coreMod, "ConsoleHistory")}, + "oci_core_cpe": {Tok: tfbridge.MakeResource(mainPkg, coreMod, "Cpe")}, + "oci_core_cross_connect": {Tok: tfbridge.MakeResource(mainPkg, coreMod, "CrossConnect")}, + "oci_core_cross_connect_group": {Tok: tfbridge.MakeResource(mainPkg, coreMod, "CrossConnectGroup")}, + "oci_core_dedicated_vm_host": {Tok: tfbridge.MakeResource(mainPkg, coreMod, "DedicatedVmHost")}, + "oci_core_default_dhcp_options": {Tok: tfbridge.MakeResource(mainPkg, coreMod, "DefaultDhcpOptions")}, + "oci_core_default_route_table": {Tok: tfbridge.MakeResource(mainPkg, coreMod, "DefaultRouteTable")}, + "oci_core_default_security_list": {Tok: tfbridge.MakeResource(mainPkg, coreMod, "DefaultSecurityList")}, "oci_core_dhcp_options": {Tok: tfbridge.MakeResource(mainPkg, coreMod, "DhcpOptions")}, "oci_core_drg": {Tok: tfbridge.MakeResource(mainPkg, coreMod, "Drg")}, "oci_core_drg_attachment": {Tok: tfbridge.MakeResource(mainPkg, coreMod, "DrgAttachment")}, @@ -456,72 +453,28 @@ func Provider() tfbridge.ProviderInfo { "oci_core_ipsec_connection_tunnel_management": {Tok: tfbridge.MakeResource(mainPkg, coreMod, "IpsecConnectionTunnelManagement")}, "oci_core_ipv6": {Tok: tfbridge.MakeResource(mainPkg, coreMod, "Ipv6")}, "oci_core_listing_resource_version_agreement": { - Tok: tfbridge.MakeResource(mainPkg, coreMod, "ListingResourceVersionAgreement"), - Docs: &tfbridge.DocInfo{ - Markdown: []byte(" "), - }, + Tok: tfbridge.MakeResource(mainPkg, coreMod, "ListingResourceVersionAgreement"), + Docs: &tfbridge.DocInfo{Source: "core_app_catalog_listing_resource_version_agreement.html.markdown"}, }, "oci_core_local_peering_gateway": {Tok: tfbridge.MakeResource(mainPkg, coreMod, "LocalPeeringGateway")}, "oci_core_nat_gateway": {Tok: tfbridge.MakeResource(mainPkg, coreMod, "NatGateway")}, "oci_core_network_security_group": {Tok: tfbridge.MakeResource(mainPkg, coreMod, "NetworkSecurityGroup")}, "oci_core_network_security_group_security_rule": {Tok: tfbridge.MakeResource(mainPkg, coreMod, "NetworkSecurityGroupSecurityRule")}, - "oci_core_private_ip": {Tok: tfbridge.MakeResource(mainPkg, coreMod, "PrivateIp")}, - "oci_core_public_ip": {Tok: tfbridge.MakeResource(mainPkg, coreMod, "PublicIp")}, - "oci_core_public_ip_pool": {Tok: tfbridge.MakeResource(mainPkg, coreMod, "PublicIpPool")}, - "oci_core_public_ip_pool_capacity": {Tok: tfbridge.MakeResource(mainPkg, coreMod, "PublicIpPoolCapacity")}, - "oci_core_remote_peering_connection": {Tok: tfbridge.MakeResource(mainPkg, coreMod, "RemotePeeringConnection")}, - "oci_core_route_table": {Tok: tfbridge.MakeResource(mainPkg, coreMod, "RouteTable")}, - "oci_core_route_table_attachment": {Tok: tfbridge.MakeResource(mainPkg, coreMod, "RouteTableAttachment")}, - "oci_core_security_list": {Tok: tfbridge.MakeResource(mainPkg, coreMod, "SecurityList")}, - "oci_core_service_gateway": {Tok: tfbridge.MakeResource(mainPkg, coreMod, "ServiceGateway")}, - "oci_core_shape_management": {Tok: tfbridge.MakeResource(mainPkg, coreMod, "ShapeManagement")}, - "oci_core_subnet": {Tok: tfbridge.MakeResource(mainPkg, coreMod, "Subnet")}, - "oci_core_vcn": {Tok: tfbridge.MakeResource(mainPkg, coreMod, "Vcn")}, - "oci_core_virtual_circuit": {Tok: tfbridge.MakeResource(mainPkg, coreMod, "VirtualCircuit")}, - "oci_core_virtual_network": { - Tok: tfbridge.MakeResource(mainPkg, coreMod, "VirtualNetwork"), - Docs: &tfbridge.DocInfo{ - Markdown: []byte(" "), - }, - }, - "oci_core_vlan": {Tok: tfbridge.MakeResource(mainPkg, coreMod, "Vlan")}, - "oci_core_vnic_attachment": {Tok: tfbridge.MakeResource(mainPkg, coreMod, "VnicAttachment")}, - "oci_core_volume": {Tok: tfbridge.MakeResource(mainPkg, coreMod, "Volume")}, - "oci_core_volume_attachment": {Tok: tfbridge.MakeResource(mainPkg, coreMod, "VolumeAttachment")}, - "oci_core_volume_backup": {Tok: tfbridge.MakeResource(mainPkg, coreMod, "VolumeBackup")}, - "oci_core_volume_backup_policy": {Tok: tfbridge.MakeResource(mainPkg, coreMod, "VolumeBackupPolicy")}, - "oci_core_volume_backup_policy_assignment": {Tok: tfbridge.MakeResource(mainPkg, coreMod, "VolumeBackupPolicyAssignment")}, - "oci_core_volume_group": {Tok: tfbridge.MakeResource(mainPkg, coreMod, "VolumeGroup")}, - "oci_core_volume_group_backup": {Tok: tfbridge.MakeResource(mainPkg, coreMod, "VolumeGroupBackup")}, - "oci_core_capture_filter": {Tok: tfbridge.MakeResource(mainPkg, coreMod, "CaptureFilter")}, - "oci_core_vtap": {Tok: tfbridge.MakeResource(mainPkg, coreMod, "Vtap")}, - - "oci_data_labeling_service_dataset": {Tok: tfbridge.MakeResource(mainPkg, dataLabellingServiceMod, "Dataset")}, - - "oci_data_safe_add_sdm_columns": { - Tok: tfbridge.MakeResource(mainPkg, dataSafeMod, "AddSdmColumns"), - Docs: &tfbridge.DocInfo{ - Markdown: []byte(" "), - }, - }, - "oci_data_safe_alert": {Tok: tfbridge.MakeResource(mainPkg, dataSafeMod, "Alert")}, - "oci_data_safe_audit_archive_retrieval": {Tok: tfbridge.MakeResource(mainPkg, dataSafeMod, "AuditArchiveRetrieval")}, - "oci_data_safe_audit_policy": {Tok: tfbridge.MakeResource(mainPkg, dataSafeMod, "AuditPolicy")}, - "oci_data_safe_audit_profile": {Tok: tfbridge.MakeResource(mainPkg, dataSafeMod, "AuditProfile")}, - "oci_data_safe_audit_trail": {Tok: tfbridge.MakeResource(mainPkg, dataSafeMod, "AuditTrail")}, - "oci_data_safe_compare_security_assessment": {Tok: tfbridge.MakeResource(mainPkg, dataSafeMod, "CompareSecurityAssessment")}, - "oci_data_safe_compare_user_assessment": {Tok: tfbridge.MakeResource(mainPkg, dataSafeMod, "CompareUserAssessment")}, - "oci_data_safe_data_safe_configuration": {Tok: tfbridge.MakeResource(mainPkg, dataSafeMod, "DataSafeConfiguration")}, - "oci_data_safe_data_safe_private_endpoint": {Tok: tfbridge.MakeResource(mainPkg, dataSafeMod, "DataSafePrivateEndpoint")}, - "oci_data_safe_discovery_job": {Tok: tfbridge.MakeResource(mainPkg, dataSafeMod, "DiscoveryMod")}, - "oci_data_safe_discovery_jobs_result": {Tok: tfbridge.MakeResource(mainPkg, dataSafeMod, "DiscoveryJobsResult")}, - "oci_data_safe_library_masking_format": {Tok: tfbridge.MakeResource(mainPkg, dataSafeMod, "LibraryMasingFormat")}, - "oci_data_safe_mask_data": { - Tok: tfbridge.MakeResource(mainPkg, dataSafeMod, "MaskData"), - Docs: &tfbridge.DocInfo{ - Markdown: []byte(" "), - }, - }, + + "oci_data_safe_add_sdm_columns": {Tok: tfbridge.MakeResource(mainPkg, dataSafeMod, "AddSdmColumns")}, + "oci_data_safe_alert": {Tok: tfbridge.MakeResource(mainPkg, dataSafeMod, "Alert")}, + "oci_data_safe_audit_archive_retrieval": {Tok: tfbridge.MakeResource(mainPkg, dataSafeMod, "AuditArchiveRetrieval")}, + "oci_data_safe_audit_policy": {Tok: tfbridge.MakeResource(mainPkg, dataSafeMod, "AuditPolicy")}, + "oci_data_safe_audit_profile": {Tok: tfbridge.MakeResource(mainPkg, dataSafeMod, "AuditProfile")}, + "oci_data_safe_audit_trail": {Tok: tfbridge.MakeResource(mainPkg, dataSafeMod, "AuditTrail")}, + "oci_data_safe_compare_security_assessment": {Tok: tfbridge.MakeResource(mainPkg, dataSafeMod, "CompareSecurityAssessment")}, + "oci_data_safe_compare_user_assessment": {Tok: tfbridge.MakeResource(mainPkg, dataSafeMod, "CompareUserAssessment")}, + "oci_data_safe_data_safe_configuration": {Tok: tfbridge.MakeResource(mainPkg, dataSafeMod, "DataSafeConfiguration")}, + "oci_data_safe_data_safe_private_endpoint": {Tok: tfbridge.MakeResource(mainPkg, dataSafeMod, "DataSafePrivateEndpoint")}, + "oci_data_safe_discovery_job": {Tok: tfbridge.MakeResource(mainPkg, dataSafeMod, "DiscoveryMod")}, + "oci_data_safe_discovery_jobs_result": {Tok: tfbridge.MakeResource(mainPkg, dataSafeMod, "DiscoveryJobsResult")}, + "oci_data_safe_library_masking_format": {Tok: tfbridge.MakeResource(mainPkg, dataSafeMod, "LibraryMasingFormat")}, + "oci_data_safe_mask_data": {Tok: tfbridge.MakeResource(mainPkg, dataSafeMod, "MaskData")}, "oci_data_safe_masking_policies_masking_column": {Tok: tfbridge.MakeResource(mainPkg, dataSafeMod, "MaskingPoliciesMaskingColumn")}, "oci_data_safe_masking_policy": {Tok: tfbridge.MakeResource(mainPkg, dataSafeMod, "MaskingPolicy")}, "oci_data_safe_on_prem_connector": {Tok: tfbridge.MakeResource(mainPkg, dataSafeMod, "OnPremConnector")}, @@ -530,16 +483,10 @@ func Provider() tfbridge.ProviderInfo { "oci_data_safe_sensitive_data_model": {Tok: tfbridge.MakeResource(mainPkg, dataSafeMod, "SensitiveDataModel")}, "oci_data_safe_masking_policies_apply_difference_to_masking_columns": { Tok: tfbridge.MakeResource(mainPkg, dataSafeMod, "MaskingPoliciesApplyDifferenceToMaskingColumns"), - Docs: &tfbridge.DocInfo{ - Markdown: []byte(" "), - }, }, "oci_data_safe_sensitive_data_models_apply_discovery_job_results": { Tok: tfbridge.MakeResource(mainPkg, dataSafeMod, "SensitiveDataModelsApplyDiscoveryJobResults"), - Docs: &tfbridge.DocInfo{ - Markdown: []byte(" "), - }, }, "oci_data_safe_sensitive_data_models_sensitive_column": {Tok: tfbridge.MakeResource(mainPkg, dataSafeMod, "SensitiveDataModelsSensitiveColumn")}, "oci_data_safe_sensitive_type": {Tok: tfbridge.MakeResource(mainPkg, dataSafeMod, "SensitiveType")}, @@ -577,43 +524,44 @@ func Provider() tfbridge.ProviderInfo { }, }, }, - "oci_database_database_software_image": {Tok: tfbridge.MakeResource(mainPkg, databaseMod, "DatabaseSoftwareImage")}, - "oci_database_database_upgrade": {Tok: tfbridge.MakeResource(mainPkg, databaseMod, "DatabaseUpgrade")}, - "oci_database_db_home": {Tok: tfbridge.MakeResource(mainPkg, databaseMod, "DbHome")}, - "oci_database_db_node_console_connection": {Tok: tfbridge.MakeResource(mainPkg, databaseMod, "DbNodeConsoleConnection")}, - "oci_database_db_system": {Tok: tfbridge.MakeResource(mainPkg, databaseMod, "DbSystem")}, - "oci_database_exadata_infrastructure": {Tok: tfbridge.MakeResource(mainPkg, databaseMod, "ExadataInfrastructure")}, - "oci_database_exadata_infrastructure_compute": {Tok: tfbridge.MakeResource(mainPkg, databaseMod, "ExadataInfrastructureCompute")}, - "oci_database_exadata_infrastructure_storage": { - Tok: tfbridge.MakeResource(mainPkg, databaseMod, "ExadataInfrastructureStorage"), - Docs: &tfbridge.DocInfo{ - Markdown: []byte(" "), - }, + "oci_database_database_software_image": {Tok: tfbridge.MakeResource(mainPkg, databaseMod, "DatabaseSoftwareImage")}, + "oci_database_database_upgrade": {Tok: tfbridge.MakeResource(mainPkg, databaseMod, "DatabaseUpgrade")}, + "oci_database_db_home": {Tok: tfbridge.MakeResource(mainPkg, databaseMod, "DbHome")}, + "oci_database_db_node_console_connection": {Tok: tfbridge.MakeResource(mainPkg, databaseMod, "DbNodeConsoleConnection")}, + "oci_database_db_system": {Tok: tfbridge.MakeResource(mainPkg, databaseMod, "DbSystem")}, + "oci_database_exadata_infrastructure": {Tok: tfbridge.MakeResource(mainPkg, databaseMod, "ExadataInfrastructure")}, + "oci_database_exadata_infrastructure_compute": {Tok: tfbridge.MakeResource(mainPkg, databaseMod, "ExadataInfrastructureCompute")}, + "oci_database_exadata_infrastructure_storage": {Tok: tfbridge.MakeResource(mainPkg, databaseMod, "ExadataInfrastructureStorage")}, + "oci_database_exadata_iorm_config": {Tok: tfbridge.MakeResource(mainPkg, databaseMod, "ExadataIormConfig")}, + "oci_database_external_container_database": {Tok: tfbridge.MakeResource(mainPkg, databaseMod, "ExternalContainerDatabase")}, + "oci_database_external_container_database_management": {Tok: tfbridge.MakeResource(mainPkg, databaseMod, "ExternalContainerDatabaseManagement")}, + "oci_database_external_database_connector": {Tok: tfbridge.MakeResource(mainPkg, databaseMod, "ExternalDatabaseConnector")}, + "oci_database_external_non_container_database": {Tok: tfbridge.MakeResource(mainPkg, databaseMod, "ExternalNonContainerDatabase")}, + "oci_database_external_non_container_database_management": {Tok: tfbridge.MakeResource(mainPkg, databaseMod, "ExternalNonContainerDatabaseManagement")}, + "oci_database_external_non_container_database_operations_insights_management": { + Tok: tfbridge.MakeResource(mainPkg, databaseMod, "ExternalNonContainerDatabaseOperationsInsightsManagement"), }, - "oci_database_exadata_iorm_config": {Tok: tfbridge.MakeResource(mainPkg, databaseMod, "ExadataIormConfig")}, - "oci_database_external_container_database": {Tok: tfbridge.MakeResource(mainPkg, databaseMod, "ExternalContainerDatabase")}, - "oci_database_external_container_database_management": {Tok: tfbridge.MakeResource(mainPkg, databaseMod, "ExternalContainerDatabaseManagement")}, - "oci_database_external_database_connector": {Tok: tfbridge.MakeResource(mainPkg, databaseMod, "ExternalDatabaseConnector")}, - "oci_database_external_non_container_database": {Tok: tfbridge.MakeResource(mainPkg, databaseMod, "ExternalNonContainerDatabase")}, - "oci_database_external_non_container_database_management": {Tok: tfbridge.MakeResource(mainPkg, databaseMod, "ExternalNonContainerDatabaseManagement")}, - "oci_database_external_non_container_database_operations_insights_management": {Tok: tfbridge.MakeResource(mainPkg, databaseMod, "ExternalNonContainerDatabaseOperationsInsightsManagement")}, - "oci_database_external_pluggable_database": {Tok: tfbridge.MakeResource(mainPkg, databaseMod, "ExternalPluggableDatabase")}, - "oci_database_external_pluggable_database_management": {Tok: tfbridge.MakeResource(mainPkg, databaseMod, "ExternalPluggableDatabaseManagement")}, - "oci_database_external_pluggable_database_operations_insights_management": {Tok: tfbridge.MakeResource(mainPkg, databaseMod, "ExternalPluggableDatabaseOperationsInsightsManagement")}, - "oci_database_key_store": {Tok: tfbridge.MakeResource(mainPkg, databaseMod, "KeyStore")}, - "oci_database_maintenance_run": {Tok: tfbridge.MakeResource(mainPkg, databaseMod, "MaintenanceRun")}, - "oci_database_pluggable_database": {Tok: tfbridge.MakeResource(mainPkg, databaseMod, "PluggableDatabase")}, - "oci_database_pluggable_databases_local_clone": {Tok: tfbridge.MakeResource(mainPkg, databaseMod, "PluggableDatabasesLocalClone")}, - "oci_database_pluggable_databases_remote_clone": {Tok: tfbridge.MakeResource(mainPkg, databaseMod, "PluggableDatabasesRemoteClone")}, - "oci_database_pluggable_database_pluggabledatabasemanagements_management": {Tok: tfbridge.MakeResource(mainPkg, databaseMod, "PluggableDatabaseManagementsManagement")}, - "oci_database_vm_cluster": {Tok: tfbridge.MakeResource(mainPkg, databaseMod, "VmCluster")}, - "oci_database_vm_cluster_add_virtual_machine": {Tok: tfbridge.MakeResource(mainPkg, databaseMod, "VmClusterAddVirtualNetwork")}, - "oci_database_vm_cluster_network": {Tok: tfbridge.MakeResource(mainPkg, databaseMod, "VmClusterNetwork")}, - "oci_database_vm_cluster_remove_virtual_machine": {Tok: tfbridge.MakeResource(mainPkg, databaseMod, "VmClusterRemoveVirtualMachine")}, - "oci_database_db_systems_upgrade": {Tok: tfbridge.MakeResource(mainPkg, databaseMod, "DbSystemsUpgrade")}, - "oci_database_externalcontainerdatabases_stack_monitoring": {Tok: tfbridge.MakeResource(mainPkg, databaseMod, "ExternalContainerDatabasesStackMonitoring")}, - "oci_database_externalnoncontainerdatabases_stack_monitoring": {Tok: tfbridge.MakeResource(mainPkg, databaseMod, "ExternalNonContainerDatabasesStackMonitoring")}, - "oci_database_externalpluggabledatabases_stack_monitoring": {Tok: tfbridge.MakeResource(mainPkg, databaseMod, "ExternalPluggableDatabasesStackMonitoring")}, + "oci_database_external_pluggable_database": {Tok: tfbridge.MakeResource(mainPkg, databaseMod, "ExternalPluggableDatabase")}, + "oci_database_external_pluggable_database_management": {Tok: tfbridge.MakeResource(mainPkg, databaseMod, "ExternalPluggableDatabaseManagement")}, + "oci_database_external_pluggable_database_operations_insights_management": { + Tok: tfbridge.MakeResource(mainPkg, databaseMod, "ExternalPluggableDatabaseOperationsInsightsManagement"), + }, + "oci_database_key_store": {Tok: tfbridge.MakeResource(mainPkg, databaseMod, "KeyStore")}, + "oci_database_maintenance_run": {Tok: tfbridge.MakeResource(mainPkg, databaseMod, "MaintenanceRun")}, + "oci_database_pluggable_database": {Tok: tfbridge.MakeResource(mainPkg, databaseMod, "PluggableDatabase")}, + "oci_database_pluggable_databases_local_clone": {Tok: tfbridge.MakeResource(mainPkg, databaseMod, "PluggableDatabasesLocalClone")}, + "oci_database_pluggable_databases_remote_clone": {Tok: tfbridge.MakeResource(mainPkg, databaseMod, "PluggableDatabasesRemoteClone")}, + "oci_database_pluggable_database_pluggabledatabasemanagements_management": { + Tok: tfbridge.MakeResource(mainPkg, databaseMod, "PluggableDatabaseManagementsManagement"), + }, + "oci_database_vm_cluster": {Tok: tfbridge.MakeResource(mainPkg, databaseMod, "VmCluster")}, + "oci_database_vm_cluster_add_virtual_machine": {Tok: tfbridge.MakeResource(mainPkg, databaseMod, "VmClusterAddVirtualNetwork")}, + "oci_database_vm_cluster_network": {Tok: tfbridge.MakeResource(mainPkg, databaseMod, "VmClusterNetwork")}, + "oci_database_vm_cluster_remove_virtual_machine": {Tok: tfbridge.MakeResource(mainPkg, databaseMod, "VmClusterRemoveVirtualMachine")}, + "oci_database_db_systems_upgrade": {Tok: tfbridge.MakeResource(mainPkg, databaseMod, "DbSystemsUpgrade")}, + "oci_database_externalcontainerdatabases_stack_monitoring": {Tok: tfbridge.MakeResource(mainPkg, databaseMod, "ExternalContainerDatabasesStackMonitoring")}, + "oci_database_externalnoncontainerdatabases_stack_monitoring": {Tok: tfbridge.MakeResource(mainPkg, databaseMod, "ExternalNonContainerDatabasesStackMonitoring")}, + "oci_database_externalpluggabledatabases_stack_monitoring": {Tok: tfbridge.MakeResource(mainPkg, databaseMod, "ExternalPluggableDatabasesStackMonitoring")}, "oci_database_management_db_management_private_endpoint": {Tok: tfbridge.MakeResource(mainPkg, databaseManagementMod, "DbManagementPrivateEndpoint")}, "oci_database_management_managed_database_group": {Tok: tfbridge.MakeResource(mainPkg, databaseManagementMod, "ManagedDatabaseGroup")}, @@ -872,9 +820,6 @@ func Provider() tfbridge.ProviderInfo { "oci_objectstorage_bucket": {Tok: tfbridge.MakeResource(mainPkg, objectStorageMod, "Bucket")}, "oci_objectstorage_namespace_metadata": { Tok: tfbridge.MakeResource(mainPkg, objectStorageMod, "NamespaceMetadata"), - Docs: &tfbridge.DocInfo{ - Markdown: []byte(" "), - }, }, "oci_objectstorage_object": {Tok: tfbridge.MakeResource(mainPkg, objectStorageMod, "StorageObject")}, "oci_objectstorage_object_lifecycle_policy": {Tok: tfbridge.MakeResource(mainPkg, objectStorageMod, "ObjectLifecyclePolicy")}, @@ -1089,9 +1034,6 @@ func Provider() tfbridge.ProviderInfo { "oci_bds_auto_scaling_configuration": {Tok: tfbridge.MakeDataSource(mainPkg, bigDataServiceMod, "getAutoScalingConfiguration")}, "oci_bds_auto_scaling_configurations": { Tok: tfbridge.MakeDataSource(mainPkg, bigDataServiceMod, "getAutoScalingConfigurations"), - Docs: &tfbridge.DocInfo{ - Markdown: []byte(" "), - }, }, "oci_bds_bds_instance": {Tok: tfbridge.MakeDataSource(mainPkg, bigDataServiceMod, "getBdsInstance")}, "oci_bds_bds_instance_api_key": {Tok: tfbridge.MakeDataSource(mainPkg, bigDataServiceMod, "getBdsInstanceApiKey")}, @@ -1192,9 +1134,6 @@ func Provider() tfbridge.ProviderInfo { "oci_containerengine_clusters": {Tok: tfbridge.MakeDataSource(mainPkg, containerEngineMod, "getClusters")}, "oci_containerengine_migrate_to_native_vcn_status": { Tok: tfbridge.MakeDataSource(mainPkg, containerEngineMod, "getMigrateToNativeVcnStatus"), - Docs: &tfbridge.DocInfo{ - Markdown: []byte(" "), - }, }, "oci_containerengine_node_pool": {Tok: tfbridge.MakeDataSource(mainPkg, containerEngineMod, "getNodePool")}, "oci_containerengine_node_pool_option": {Tok: tfbridge.MakeDataSource(mainPkg, containerEngineMod, "getNodePoolOption")}, @@ -1297,15 +1236,9 @@ func Provider() tfbridge.ProviderInfo { "oci_core_letter_of_authority": {Tok: tfbridge.MakeDataSource(mainPkg, coreMod, "getLetterOfAuthority")}, "oci_core_listing_resource_version": { Tok: tfbridge.MakeDataSource(mainPkg, coreMod, "getListingResourceVersion"), - Docs: &tfbridge.DocInfo{ - Markdown: []byte(" "), - }, }, "oci_core_listing_resource_versions": { Tok: tfbridge.MakeDataSource(mainPkg, coreMod, "getListingResourceVersions"), - Docs: &tfbridge.DocInfo{ - Markdown: []byte(" "), - }, }, "oci_core_local_peering_gateways": {Tok: tfbridge.MakeDataSource(mainPkg, coreMod, "getLocalPeeringGateways")}, "oci_core_nat_gateway": {Tok: tfbridge.MakeDataSource(mainPkg, coreMod, "getNatGateway")}, @@ -1328,9 +1261,6 @@ func Provider() tfbridge.ProviderInfo { "oci_core_services": {Tok: tfbridge.MakeDataSource(mainPkg, coreMod, "getServices")}, "oci_core_shape": { Tok: tfbridge.MakeDataSource(mainPkg, coreMod, "getShape"), - Docs: &tfbridge.DocInfo{ - Markdown: []byte(" "), - }, }, "oci_core_shapes": {Tok: tfbridge.MakeDataSource(mainPkg, coreMod, "getShapes")}, "oci_core_subnet": {Tok: tfbridge.MakeDataSource(mainPkg, coreMod, "getSubnet")}, @@ -1345,9 +1275,6 @@ func Provider() tfbridge.ProviderInfo { "oci_core_virtual_circuits": {Tok: tfbridge.MakeDataSource(mainPkg, coreMod, "getVirtualCircuits")}, "oci_core_virtual_networks": { Tok: tfbridge.MakeDataSource(mainPkg, coreMod, "getVirtualNetworks"), - Docs: &tfbridge.DocInfo{ - Markdown: []byte(" "), - }, }, "oci_core_vlan": {Tok: tfbridge.MakeDataSource(mainPkg, coreMod, "getVlan")}, "oci_core_vlans": {Tok: tfbridge.MakeDataSource(mainPkg, coreMod, "getVlans")}, @@ -1432,9 +1359,6 @@ func Provider() tfbridge.ProviderInfo { "oci_data_safe_security_assessment_comparison": {Tok: tfbridge.MakeDataSource(mainPkg, dataSafeMod, "getSecurityAssessmentComparison")}, "oci_data_safe_security_assessment_finding": { Tok: tfbridge.MakeDataSource(mainPkg, dataSafeMod, "getSecurityAssessmentFinding"), - Docs: &tfbridge.DocInfo{ - Markdown: []byte(" "), - }, }, "oci_data_safe_security_assessment_findings": {Tok: tfbridge.MakeDataSource(mainPkg, dataSafeMod, "getSecurityAssessmentFindings")}, "oci_data_safe_security_assessments": {Tok: tfbridge.MakeDataSource(mainPkg, dataSafeMod, "getSecurityAssessments")}, @@ -1449,9 +1373,6 @@ func Provider() tfbridge.ProviderInfo { "oci_data_safe_target_database": {Tok: tfbridge.MakeDataSource(mainPkg, dataSafeMod, "getTargetDatabase")}, "oci_data_safe_target_database_role": { Tok: tfbridge.MakeDataSource(mainPkg, dataSafeMod, "getTargetDatabaseRole"), - Docs: &tfbridge.DocInfo{ - Markdown: []byte(" "), - }, }, "oci_data_safe_target_database_roles": {Tok: tfbridge.MakeDataSource(mainPkg, dataSafeMod, "getTargetDatabaseRoles")}, "oci_data_safe_target_databases": {Tok: tfbridge.MakeDataSource(mainPkg, dataSafeMod, "getTargetDatabases")}, @@ -2076,9 +1997,6 @@ func Provider() tfbridge.ProviderInfo { "oci_network_load_balancer_backend_set": {Tok: tfbridge.MakeDataSource(mainPkg, networkLoadBalancerMod, "getBackendSet")}, "oci_network_load_balancer_backend_set_health": { Tok: tfbridge.MakeDataSource(mainPkg, networkLoadBalancerMod, "getBackendSetHealth"), - Docs: &tfbridge.DocInfo{ - Markdown: []byte(" "), - }, }, "oci_network_load_balancer_backend_sets": {Tok: tfbridge.MakeDataSource(mainPkg, networkLoadBalancerMod, "getBackendSets")}, "oci_network_load_balancer_backends": {Tok: tfbridge.MakeDataSource(mainPkg, networkLoadBalancerMod, "getBackends")}, @@ -2105,9 +2023,6 @@ func Provider() tfbridge.ProviderInfo { "oci_objectstorage_namespace": {Tok: tfbridge.MakeDataSource(mainPkg, objectStorageMod, "getNamespace")}, "oci_objectstorage_namespace_metadata": { Tok: tfbridge.MakeDataSource(mainPkg, objectStorageMod, "getNamespaceMetadata"), - Docs: &tfbridge.DocInfo{ - Markdown: []byte(" "), - }, }, "oci_objectstorage_object": {Tok: tfbridge.MakeDataSource(mainPkg, objectStorageMod, "getObject")}, "oci_objectstorage_object_head": {Tok: tfbridge.MakeDataSource(mainPkg, objectStorageMod, "getObjectHead")}, @@ -2294,13 +2209,6 @@ func Provider() tfbridge.ProviderInfo { "oci_stack_monitoring_discovery_jobs": {Tok: tfbridge.MakeDataSource(mainPkg, stackMonitoringMod, "getDiscoveryJobs")}, "oci_stack_monitoring_monitored_resource": {Tok: tfbridge.MakeDataSource(mainPkg, stackMonitoringMod, "getMonitoredResource")}, - "oci_streaming_connect_harness": {Tok: tfbridge.MakeDataSource(mainPkg, streamingMod, "getConnectHarness")}, - "oci_streaming_connect_harnesses": {Tok: tfbridge.MakeDataSource(mainPkg, streamingMod, "getConnectHarnesses")}, - "oci_streaming_stream": {Tok: tfbridge.MakeDataSource(mainPkg, streamingMod, "getStream")}, - "oci_streaming_stream_pool": {Tok: tfbridge.MakeDataSource(mainPkg, streamingMod, "getStreamPool")}, - "oci_streaming_stream_pools": {Tok: tfbridge.MakeDataSource(mainPkg, streamingMod, "getStreamPools")}, - "oci_streaming_streams": {Tok: tfbridge.MakeDataSource(mainPkg, streamingMod, "getStreams")}, - "oci_usage_proxy_subscription_product": {Tok: tfbridge.MakeDataSource(mainPkg, usageProxyMod, "getSubscriptionProduct")}, "oci_usage_proxy_subscription_products": {Tok: tfbridge.MakeDataSource(mainPkg, usageProxyMod, "getSubscriptionProducts")}, "oci_usage_proxy_subscription_redeemable_user": {Tok: tfbridge.MakeDataSource(mainPkg, usageProxyMod, "getSubscriptionRedeemableUser")}, @@ -2310,10 +2218,6 @@ func Provider() tfbridge.ProviderInfo { "oci_usage_proxy_subscription_reward": {Tok: tfbridge.MakeDataSource(mainPkg, usageProxyMod, "getSubscriptionReward")}, "oci_usage_proxy_subscription_rewards": {Tok: tfbridge.MakeDataSource(mainPkg, usageProxyMod, "getSubscriptionRewards")}, - "oci_vault_secret": {Tok: tfbridge.MakeDataSource(mainPkg, vaultMod, "getSecret")}, - "oci_vault_secret_version": {Tok: tfbridge.MakeDataSource(mainPkg, vaultMod, "getSecretVersion")}, - "oci_vault_secrets": {Tok: tfbridge.MakeDataSource(mainPkg, vaultMod, "getSecrets")}, - "oci_vn_monitoring_path_analyzer_test": {Tok: tfbridge.MakeDataSource(mainPkg, vnMonitoringMod, "GetPathAnalyzerTest")}, "oci_vn_monitoring_path_analyzer_tests": {Tok: tfbridge.MakeDataSource(mainPkg, vnMonitoringMod, "GetPathAnalyzerTests")}, @@ -2399,46 +2303,49 @@ func Provider() tfbridge.ProviderInfo { }, MetadataInfo: tfbridge.NewProviderMetadata(metadata), } - mappedModKeys := make([]string, 0, len(mappedMods)) - for k := range mappedMods { - mappedModKeys = append(mappedModKeys, k) - } - - moduleNameMap := make(map[string]string, len(mappedMods)) - for _, v := range mappedMods { - moduleNameMap[strings.ToLower(v)] = v - } - - err := x.ComputeDefaults(&prov, x.TokensKnownModules("oci_", "", mappedModKeys, - func(mod, name string) (string, error) { - m, ok := moduleNameMap[strings.ToLower(mod)] - if !ok { - switch mod { - case "recovery": - m = recoveryMod - case "bds": - m = bigDataServiceMod - default: - return "", fmt.Errorf("'%s' has unmapped module '%s'", name, mod) - } - } - return tfbridge.MakeResource(mainPkg, m, name).String(), nil - })) - contract.AssertNoError(err) + prov.MustComputeTokens(tokens.MappedModules("oci_", "", mappedMods, tokens.MakeStandard(mainPkg))) + // These are not preset upstream resourcesMissingDocs := []string{ + "oci_core_default_dhcp_options", + "oci_core_default_route_table", + "oci_core_default_security_list", + "oci_core_virtual_network", + "oci_data_safe_add_sdm_columns", + "oci_data_safe_mask_data", + "oci_data_safe_masking_policies_apply_difference_to_masking_columns", + "oci_data_safe_sensitive_data_models_apply_discovery_job_results", "oci_database_autonomous_container_database_dataguard_role_change", + "oci_database_exadata_infrastructure_storage", "oci_datascience_model_artifact_export", "oci_datascience_model_artifact_import", + "oci_objectstorage_namespace_metadata", } for _, r := range resourcesMissingDocs { _, ok := prov.Resources[r] contract.Assertf(ok, "Expected resource %s", r) prov.Resources[r].Docs = &tfbridge.DocInfo{Markdown: []byte{' '}} } - err = x.AutoAliasing(&prov, prov.GetMetadata()) - contract.AssertNoErrorf(err, "auto aliasing apply failed") + datasourcesMissingDocs := []string{ + "oci_core_listing_resource_version", + "oci_core_listing_resource_versions", + "oci_bds_auto_scaling_configurations", + "oci_containerengine_migrate_to_native_vcn_status", + "oci_core_shape", + "oci_core_virtual_networks", + "oci_data_safe_target_database_role", + "oci_network_load_balancer_backend_set_health", + "oci_objectstorage_namespace_metadata", + "oci_data_safe_security_assessment_finding", + } + for _, d := range datasourcesMissingDocs { + _, ok := prov.DataSources[d] + contract.Assertf(ok, "Expected datasource %s", d) + prov.DataSources[d].Docs = &tfbridge.DocInfo{Markdown: []byte{' '}} + } + + prov.MustApplyAutoAliases() prov.SetAutonaming(255, "-") return prov diff --git a/provider/shim/go.mod b/provider/shim/go.mod index 9af6e1d4f3..1ae4cc2841 100644 --- a/provider/shim/go.mod +++ b/provider/shim/go.mod @@ -4,7 +4,7 @@ go 1.21 require ( github.com/hashicorp/terraform-plugin-sdk/v2 v2.22.0 - github.com/oracle/terraform-provider-oci v1.0.19-0.20230926225428-c23fb98a733f + github.com/oracle/terraform-provider-oci v1.0.19-0.20231004191022-528beef7383f ) replace github.com/hashicorp/terraform-exec => github.com/hashicorp/terraform-exec v0.14.0 @@ -46,7 +46,7 @@ require ( github.com/mitchellh/mapstructure v1.5.0 // indirect github.com/mitchellh/reflectwalk v1.0.2 // indirect github.com/oklog/run v1.1.0 // indirect - github.com/oracle/oci-go-sdk/v65 v65.49.2 // indirect + github.com/oracle/oci-go-sdk/v65 v65.49.3 // indirect github.com/sony/gobreaker v0.5.0 // indirect github.com/vmihailenco/msgpack v4.0.4+incompatible // indirect github.com/vmihailenco/msgpack/v4 v4.3.12 // indirect diff --git a/provider/shim/go.sum b/provider/shim/go.sum index 2a4bb60eb9..38d91ac6dd 100644 --- a/provider/shim/go.sum +++ b/provider/shim/go.sum @@ -488,10 +488,10 @@ github.com/nsf/jsondiff v0.0.0-20200515183724-f29ed568f4ce h1:RPclfga2SEJmgMmz2k github.com/nsf/jsondiff v0.0.0-20200515183724-f29ed568f4ce/go.mod h1:uFMI8w+ref4v2r9jz+c9i1IfIttS/OkmLfrk1jne5hs= github.com/oklog/run v1.1.0 h1:GEenZ1cK0+q0+wsJew9qUg/DyD8k3JzYsZAi5gYi2mA= github.com/oklog/run v1.1.0/go.mod h1:sVPdnTZT1zYwAJeCMu2Th4T21pA3FPOQRfWjQlk7DVU= -github.com/oracle/oci-go-sdk/v65 v65.49.2 h1:optOfjGIVmZZMT3a/8ri/CVV1loDG0ab1p2tEpNW5ro= -github.com/oracle/oci-go-sdk/v65 v65.49.2/go.mod h1:IBEV9l1qBzUpo7zgGaRUhbB05BVfcDGYRFBCPlTcPp0= -github.com/oracle/terraform-provider-oci v1.0.19-0.20230926225428-c23fb98a733f h1:Vz0STTtVVUXnHNYgd3oLoM0CdZhd94ZHSGdj6NR6M0o= -github.com/oracle/terraform-provider-oci v1.0.19-0.20230926225428-c23fb98a733f/go.mod h1:qTSfDhcVhhkhndeCV0MJhsKDc61qAhnsau5YkTorZsk= +github.com/oracle/oci-go-sdk/v65 v65.49.3 h1:HHv+XMZiBYHtoU8Ac/fURdp9v1vJPPCpIbJAWeadREw= +github.com/oracle/oci-go-sdk/v65 v65.49.3/go.mod h1:IBEV9l1qBzUpo7zgGaRUhbB05BVfcDGYRFBCPlTcPp0= +github.com/oracle/terraform-provider-oci v1.0.19-0.20231004191022-528beef7383f h1:K6NKU0I6ELE4h+lGmPSWsxsJ/beKryCjg9XXAPNiAEM= +github.com/oracle/terraform-provider-oci v1.0.19-0.20231004191022-528beef7383f/go.mod h1:uocacV8qZKjxBViMgGtUXEPQIdJXropDO9/Iu0jSBGA= github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= diff --git a/sdk/dotnet/AiDocument/Inputs/ModelComponentModelArgs.cs b/sdk/dotnet/AiDocument/Inputs/ModelComponentModelArgs.cs index 7480754599..1b7d285533 100644 --- a/sdk/dotnet/AiDocument/Inputs/ModelComponentModelArgs.cs +++ b/sdk/dotnet/AiDocument/Inputs/ModelComponentModelArgs.cs @@ -12,9 +12,6 @@ namespace Pulumi.Oci.AiDocument.Inputs public sealed class ModelComponentModelArgs : global::Pulumi.ResourceArgs { - /// - /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of active custom Key Value model that need to be composed. - /// [Input("modelId")] public Input? ModelId { get; set; } diff --git a/sdk/dotnet/AiDocument/Inputs/ModelComponentModelGetArgs.cs b/sdk/dotnet/AiDocument/Inputs/ModelComponentModelGetArgs.cs index 3c0e5fcf80..fa378e54c3 100644 --- a/sdk/dotnet/AiDocument/Inputs/ModelComponentModelGetArgs.cs +++ b/sdk/dotnet/AiDocument/Inputs/ModelComponentModelGetArgs.cs @@ -12,9 +12,6 @@ namespace Pulumi.Oci.AiDocument.Inputs public sealed class ModelComponentModelGetArgs : global::Pulumi.ResourceArgs { - /// - /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of active custom Key Value model that need to be composed. - /// [Input("modelId")] public Input? ModelId { get; set; } diff --git a/sdk/dotnet/AiDocument/Model.cs b/sdk/dotnet/AiDocument/Model.cs index c892f3c979..d73d5f8e4d 100644 --- a/sdk/dotnet/AiDocument/Model.cs +++ b/sdk/dotnet/AiDocument/Model.cs @@ -99,9 +99,6 @@ public partial class Model : global::Pulumi.CustomResource [Output("metrics")] public Output> Metrics { get; private set; } = null!; - /// - /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of active custom Key Value model that need to be composed. - /// [Output("modelId")] public Output ModelId { get; private set; } = null!; @@ -289,9 +286,6 @@ public InputMap FreeformTags [Input("maxTrainingTimeInHours")] public Input? MaxTrainingTimeInHours { get; set; } - /// - /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of active custom Key Value model that need to be composed. - /// [Input("modelId")] public Input? ModelId { get; set; } @@ -441,9 +435,6 @@ public InputList Metrics set => _metrics = value; } - /// - /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of active custom Key Value model that need to be composed. - /// [Input("modelId")] public Input? ModelId { get; set; } diff --git a/sdk/dotnet/AiDocument/Outputs/ModelComponentModel.cs b/sdk/dotnet/AiDocument/Outputs/ModelComponentModel.cs index 55b09d19c9..d35d09d407 100644 --- a/sdk/dotnet/AiDocument/Outputs/ModelComponentModel.cs +++ b/sdk/dotnet/AiDocument/Outputs/ModelComponentModel.cs @@ -13,9 +13,6 @@ namespace Pulumi.Oci.AiDocument.Outputs [OutputType] public sealed class ModelComponentModel { - /// - /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of active custom Key Value model that need to be composed. - /// public readonly string? ModelId; [OutputConstructor] diff --git a/sdk/dotnet/Autoscaling/AutoScalingConfiguration.cs b/sdk/dotnet/Autoscaling/AutoScalingConfiguration.cs index aa4f724a71..5bb2ec3170 100644 --- a/sdk/dotnet/Autoscaling/AutoScalingConfiguration.cs +++ b/sdk/dotnet/Autoscaling/AutoScalingConfiguration.cs @@ -134,9 +134,6 @@ public partial class AutoScalingConfiguration : global::Pulumi.CustomResource [Output("definedTags")] public Output> DefinedTags { get; private set; } = null!; - /// - /// A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. - /// [Output("displayName")] public Output DisplayName { get; private set; } = null!; @@ -256,9 +253,6 @@ public InputMap DefinedTags set => _definedTags = value; } - /// - /// A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. - /// [Input("displayName")] public Input? DisplayName { get; set; } @@ -334,9 +328,6 @@ public InputMap DefinedTags set => _definedTags = value; } - /// - /// A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. - /// [Input("displayName")] public Input? DisplayName { get; set; } diff --git a/sdk/dotnet/Autoscaling/Inputs/AutoScalingConfigurationPolicyArgs.cs b/sdk/dotnet/Autoscaling/Inputs/AutoScalingConfigurationPolicyArgs.cs index e8e8c6ec89..94f30e5f83 100644 --- a/sdk/dotnet/Autoscaling/Inputs/AutoScalingConfigurationPolicyArgs.cs +++ b/sdk/dotnet/Autoscaling/Inputs/AutoScalingConfigurationPolicyArgs.cs @@ -18,9 +18,6 @@ public sealed class AutoScalingConfigurationPolicyArgs : global::Pulumi.Resource [Input("capacity")] public Input? Capacity { get; set; } - /// - /// A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. - /// [Input("displayName")] public Input? DisplayName { get; set; } diff --git a/sdk/dotnet/Autoscaling/Inputs/AutoScalingConfigurationPolicyGetArgs.cs b/sdk/dotnet/Autoscaling/Inputs/AutoScalingConfigurationPolicyGetArgs.cs index 679052b111..1c655cb732 100644 --- a/sdk/dotnet/Autoscaling/Inputs/AutoScalingConfigurationPolicyGetArgs.cs +++ b/sdk/dotnet/Autoscaling/Inputs/AutoScalingConfigurationPolicyGetArgs.cs @@ -18,9 +18,6 @@ public sealed class AutoScalingConfigurationPolicyGetArgs : global::Pulumi.Resou [Input("capacity")] public Input? Capacity { get; set; } - /// - /// A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. - /// [Input("displayName")] public Input? DisplayName { get; set; } diff --git a/sdk/dotnet/Autoscaling/Inputs/AutoScalingConfigurationPolicyRuleArgs.cs b/sdk/dotnet/Autoscaling/Inputs/AutoScalingConfigurationPolicyRuleArgs.cs index 0a64a68366..66cb2615d8 100644 --- a/sdk/dotnet/Autoscaling/Inputs/AutoScalingConfigurationPolicyRuleArgs.cs +++ b/sdk/dotnet/Autoscaling/Inputs/AutoScalingConfigurationPolicyRuleArgs.cs @@ -18,9 +18,6 @@ public sealed class AutoScalingConfigurationPolicyRuleArgs : global::Pulumi.Reso [Input("action")] public Input? Action { get; set; } - /// - /// A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. - /// [Input("displayName", required: true)] public Input DisplayName { get; set; } = null!; diff --git a/sdk/dotnet/Autoscaling/Inputs/AutoScalingConfigurationPolicyRuleGetArgs.cs b/sdk/dotnet/Autoscaling/Inputs/AutoScalingConfigurationPolicyRuleGetArgs.cs index 6367ed99e2..2f0192c6a6 100644 --- a/sdk/dotnet/Autoscaling/Inputs/AutoScalingConfigurationPolicyRuleGetArgs.cs +++ b/sdk/dotnet/Autoscaling/Inputs/AutoScalingConfigurationPolicyRuleGetArgs.cs @@ -18,9 +18,6 @@ public sealed class AutoScalingConfigurationPolicyRuleGetArgs : global::Pulumi.R [Input("action")] public Input? Action { get; set; } - /// - /// A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. - /// [Input("displayName", required: true)] public Input DisplayName { get; set; } = null!; diff --git a/sdk/dotnet/Autoscaling/Outputs/AutoScalingConfigurationPolicy.cs b/sdk/dotnet/Autoscaling/Outputs/AutoScalingConfigurationPolicy.cs index 073fa163e8..2a40020601 100644 --- a/sdk/dotnet/Autoscaling/Outputs/AutoScalingConfigurationPolicy.cs +++ b/sdk/dotnet/Autoscaling/Outputs/AutoScalingConfigurationPolicy.cs @@ -17,9 +17,6 @@ public sealed class AutoScalingConfigurationPolicy /// The capacity requirements of the autoscaling policy. /// public readonly Outputs.AutoScalingConfigurationPolicyCapacity? Capacity; - /// - /// A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. - /// public readonly string? DisplayName; /// /// An execution schedule for an autoscaling policy. diff --git a/sdk/dotnet/Autoscaling/Outputs/AutoScalingConfigurationPolicyRule.cs b/sdk/dotnet/Autoscaling/Outputs/AutoScalingConfigurationPolicyRule.cs index 97c2c2801f..7a984a23b6 100644 --- a/sdk/dotnet/Autoscaling/Outputs/AutoScalingConfigurationPolicyRule.cs +++ b/sdk/dotnet/Autoscaling/Outputs/AutoScalingConfigurationPolicyRule.cs @@ -17,9 +17,6 @@ public sealed class AutoScalingConfigurationPolicyRule /// The action to take when autoscaling is triggered. /// public readonly Outputs.AutoScalingConfigurationPolicyRuleAction? Action; - /// - /// A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. - /// public readonly string DisplayName; /// /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource that is managed by the autoscaling configuration. diff --git a/sdk/dotnet/ComputeCloud/AtCustomerCccInfrastructure.cs b/sdk/dotnet/ComputeCloud/AtCustomerCccInfrastructure.cs new file mode 100644 index 0000000000..200f441a6d --- /dev/null +++ b/sdk/dotnet/ComputeCloud/AtCustomerCccInfrastructure.cs @@ -0,0 +1,474 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.ComputeCloud +{ + /// + /// This resource provides the Ccc Infrastructure resource in Oracle Cloud Infrastructure Compute Cloud At Customer service. + /// + /// Creates a Compute Cloud@Customer infrastructure. Once created, Oracle Services + /// must connect the rack in the data center to this Oracle Cloud Infrastructure resource. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testCccInfrastructure = new Oci.ComputeCloud.AtCustomerCccInfrastructure("testCccInfrastructure", new() + /// { + /// CompartmentId = @var.Compartment_id, + /// DisplayName = @var.Ccc_infrastructure_display_name, + /// SubnetId = oci_core_subnet.Test_subnet.Id, + /// CccUpgradeScheduleId = oci_compute_cloud_at_customer_ccc_upgrade_schedule.Test_ccc_upgrade_schedule.Id, + /// ConnectionDetails = @var.Ccc_infrastructure_connection_details, + /// ConnectionState = @var.Ccc_infrastructure_connection_state, + /// DefinedTags = + /// { + /// { "foo-namespace.bar-key", "value" }, + /// }, + /// Description = @var.Ccc_infrastructure_description, + /// FreeformTags = + /// { + /// { "bar-key", "value" }, + /// }, + /// }); + /// + /// }); + /// ``` + /// + /// ## Import + /// + /// CccInfrastructures can be imported using the `id`, e.g. + /// + /// ```sh + /// $ pulumi import oci:ComputeCloud/atCustomerCccInfrastructure:AtCustomerCccInfrastructure test_ccc_infrastructure "id" + /// ``` + /// + [OciResourceType("oci:ComputeCloud/atCustomerCccInfrastructure:AtCustomerCccInfrastructure")] + public partial class AtCustomerCccInfrastructure : global::Pulumi.CustomResource + { + /// + /// (Updatable) Schedule used for upgrades. If no schedule is associated with the infrastructure, it can be upgraded at any time. + /// + [Output("cccUpgradeScheduleId")] + public Output CccUpgradeScheduleId { get; private set; } = null!; + + /// + /// (Updatable) The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with the infrastructure. + /// + [Output("compartmentId")] + public Output CompartmentId { get; private set; } = null!; + + /// + /// (Updatable) A message describing the current connection state in more detail. + /// + [Output("connectionDetails")] + public Output ConnectionDetails { get; private set; } = null!; + + /// + /// (Updatable) The current connection state of the Compute Cloud@Customer infrastructure. This value will default to REJECT if the value is not provided. The only valid value at creation time is REJECT. + /// + [Output("connectionState")] + public Output ConnectionState { get; private set; } = null!; + + /// + /// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + /// + [Output("definedTags")] + public Output> DefinedTags { get; private set; } = null!; + + /// + /// (Updatable) A mutable client-meaningful text description of the Compute Cloud@Customer infrastructure. Avoid entering confidential information. + /// + [Output("description")] + public Output Description { get; private set; } = null!; + + /// + /// (Updatable) The name that will be used to display the Compute Cloud@Customer infrastructure in the Oracle Cloud Infrastructure console. Does not have to be unique and can be changed. Avoid entering confidential information. + /// + [Output("displayName")] + public Output DisplayName { get; private set; } = null!; + + /// + /// (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + /// + [Output("freeformTags")] + public Output> FreeformTags { get; private set; } = null!; + + /// + /// Inventory for a Compute Cloud@Customer infrastructure. This information cannot be updated and is from the infrastructure. The information will only be available after the connectionState is transitioned to CONNECTED. + /// + [Output("infrastructureInventories")] + public Output> InfrastructureInventories { get; private set; } = null!; + + /// + /// Configuration information for the Compute Cloud@Customer infrastructure. This network configuration information cannot be updated and is retrieved from the data center. The information will only be available after the connectionState is transitioned to CONNECTED. + /// + [Output("infrastructureNetworkConfigurations")] + public Output> InfrastructureNetworkConfigurations { get; private set; } = null!; + + /// + /// A message describing the current lifecycle state in more detail. For example, this can be used to provide actionable information for a resource that is in a Failed state. + /// + [Output("lifecycleDetails")] + public Output LifecycleDetails { get; private set; } = null!; + + /// + /// Fingerprint of a Compute Cloud@Customer infrastructure in a data center generated during the initial connection to this resource. The fingerprint should be verified by the administrator when changing the connectionState from REQUEST to READY. + /// + [Output("provisioningFingerprint")] + public Output ProvisioningFingerprint { get; private set; } = null!; + + /// + /// Code that is required for service personnel to connect a Compute Cloud@Customer infrastructure in a data center to this resource. This code will only be available when the connectionState is REJECT (usually at create time of the Compute Cloud@Customer infrastructure). + /// + [Output("provisioningPin")] + public Output ProvisioningPin { get; private set; } = null!; + + /// + /// The Compute Cloud@Customer infrastructure short name. This cannot be changed once created. The short name is used to refer to the infrastructure in several contexts and is unique. + /// + [Output("shortName")] + public Output ShortName { get; private set; } = null!; + + /// + /// The current state of the Compute Cloud@Customer infrastructure. + /// + [Output("state")] + public Output State { get; private set; } = null!; + + /// + /// (Updatable) Identifier for network subnet that will be used to communicate with Compute Cloud@Customer infrastructure. + /// + /// + /// ** 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 + /// + [Output("subnetId")] + public Output SubnetId { get; private set; } = null!; + + /// + /// System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + /// + [Output("systemTags")] + public Output> SystemTags { get; private set; } = null!; + + /// + /// Compute Cloud@Customer infrastructure creation date and time, using an RFC3339 formatted datetime string. + /// + [Output("timeCreated")] + public Output TimeCreated { get; private set; } = null!; + + /// + /// Compute Cloud@Customer infrastructure updated date and time, using an RFC3339 formatted datetime string. + /// + [Output("timeUpdated")] + public Output TimeUpdated { get; private set; } = null!; + + /// + /// Upgrade information that relates to a Compute Cloud@Customer infrastructure. This information cannot be updated. + /// + [Output("upgradeInformations")] + public Output> UpgradeInformations { get; private set; } = null!; + + + /// + /// Create a AtCustomerCccInfrastructure resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public AtCustomerCccInfrastructure(string name, AtCustomerCccInfrastructureArgs args, CustomResourceOptions? options = null) + : base("oci:ComputeCloud/atCustomerCccInfrastructure:AtCustomerCccInfrastructure", name, args ?? new AtCustomerCccInfrastructureArgs(), MakeResourceOptions(options, "")) + { + } + + private AtCustomerCccInfrastructure(string name, Input id, AtCustomerCccInfrastructureState? state = null, CustomResourceOptions? options = null) + : base("oci:ComputeCloud/atCustomerCccInfrastructure:AtCustomerCccInfrastructure", name, state, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing AtCustomerCccInfrastructure resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// Any extra arguments used during the lookup. + /// A bag of options that control this resource's behavior + public static AtCustomerCccInfrastructure Get(string name, Input id, AtCustomerCccInfrastructureState? state = null, CustomResourceOptions? options = null) + { + return new AtCustomerCccInfrastructure(name, id, state, options); + } + } + + public sealed class AtCustomerCccInfrastructureArgs : global::Pulumi.ResourceArgs + { + /// + /// (Updatable) Schedule used for upgrades. If no schedule is associated with the infrastructure, it can be upgraded at any time. + /// + [Input("cccUpgradeScheduleId")] + public Input? CccUpgradeScheduleId { get; set; } + + /// + /// (Updatable) The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with the infrastructure. + /// + [Input("compartmentId", required: true)] + public Input CompartmentId { get; set; } = null!; + + /// + /// (Updatable) A message describing the current connection state in more detail. + /// + [Input("connectionDetails")] + public Input? ConnectionDetails { get; set; } + + /// + /// (Updatable) The current connection state of the Compute Cloud@Customer infrastructure. This value will default to REJECT if the value is not provided. The only valid value at creation time is REJECT. + /// + [Input("connectionState")] + public Input? ConnectionState { get; set; } + + [Input("definedTags")] + private InputMap? _definedTags; + + /// + /// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + /// + public InputMap DefinedTags + { + get => _definedTags ?? (_definedTags = new InputMap()); + set => _definedTags = value; + } + + /// + /// (Updatable) A mutable client-meaningful text description of the Compute Cloud@Customer infrastructure. Avoid entering confidential information. + /// + [Input("description")] + public Input? Description { get; set; } + + /// + /// (Updatable) The name that will be used to display the Compute Cloud@Customer infrastructure in the Oracle Cloud Infrastructure console. Does not have to be unique and can be changed. Avoid entering confidential information. + /// + [Input("displayName", required: true)] + public Input DisplayName { get; set; } = null!; + + [Input("freeformTags")] + private InputMap? _freeformTags; + + /// + /// (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + /// + public InputMap FreeformTags + { + get => _freeformTags ?? (_freeformTags = new InputMap()); + set => _freeformTags = value; + } + + /// + /// (Updatable) Identifier for network subnet that will be used to communicate with Compute Cloud@Customer infrastructure. + /// + /// + /// ** 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 + /// + [Input("subnetId", required: true)] + public Input SubnetId { get; set; } = null!; + + public AtCustomerCccInfrastructureArgs() + { + } + public static new AtCustomerCccInfrastructureArgs Empty => new AtCustomerCccInfrastructureArgs(); + } + + public sealed class AtCustomerCccInfrastructureState : global::Pulumi.ResourceArgs + { + /// + /// (Updatable) Schedule used for upgrades. If no schedule is associated with the infrastructure, it can be upgraded at any time. + /// + [Input("cccUpgradeScheduleId")] + public Input? CccUpgradeScheduleId { get; set; } + + /// + /// (Updatable) The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with the infrastructure. + /// + [Input("compartmentId")] + public Input? CompartmentId { get; set; } + + /// + /// (Updatable) A message describing the current connection state in more detail. + /// + [Input("connectionDetails")] + public Input? ConnectionDetails { get; set; } + + /// + /// (Updatable) The current connection state of the Compute Cloud@Customer infrastructure. This value will default to REJECT if the value is not provided. The only valid value at creation time is REJECT. + /// + [Input("connectionState")] + public Input? ConnectionState { get; set; } + + [Input("definedTags")] + private InputMap? _definedTags; + + /// + /// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + /// + public InputMap DefinedTags + { + get => _definedTags ?? (_definedTags = new InputMap()); + set => _definedTags = value; + } + + /// + /// (Updatable) A mutable client-meaningful text description of the Compute Cloud@Customer infrastructure. Avoid entering confidential information. + /// + [Input("description")] + public Input? Description { get; set; } + + /// + /// (Updatable) The name that will be used to display the Compute Cloud@Customer infrastructure in the Oracle Cloud Infrastructure console. Does not have to be unique and can be changed. Avoid entering confidential information. + /// + [Input("displayName")] + public Input? DisplayName { get; set; } + + [Input("freeformTags")] + private InputMap? _freeformTags; + + /// + /// (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + /// + public InputMap FreeformTags + { + get => _freeformTags ?? (_freeformTags = new InputMap()); + set => _freeformTags = value; + } + + [Input("infrastructureInventories")] + private InputList? _infrastructureInventories; + + /// + /// Inventory for a Compute Cloud@Customer infrastructure. This information cannot be updated and is from the infrastructure. The information will only be available after the connectionState is transitioned to CONNECTED. + /// + public InputList InfrastructureInventories + { + get => _infrastructureInventories ?? (_infrastructureInventories = new InputList()); + set => _infrastructureInventories = value; + } + + [Input("infrastructureNetworkConfigurations")] + private InputList? _infrastructureNetworkConfigurations; + + /// + /// Configuration information for the Compute Cloud@Customer infrastructure. This network configuration information cannot be updated and is retrieved from the data center. The information will only be available after the connectionState is transitioned to CONNECTED. + /// + public InputList InfrastructureNetworkConfigurations + { + get => _infrastructureNetworkConfigurations ?? (_infrastructureNetworkConfigurations = new InputList()); + set => _infrastructureNetworkConfigurations = value; + } + + /// + /// A message describing the current lifecycle state in more detail. For example, this can be used to provide actionable information for a resource that is in a Failed state. + /// + [Input("lifecycleDetails")] + public Input? LifecycleDetails { get; set; } + + /// + /// Fingerprint of a Compute Cloud@Customer infrastructure in a data center generated during the initial connection to this resource. The fingerprint should be verified by the administrator when changing the connectionState from REQUEST to READY. + /// + [Input("provisioningFingerprint")] + public Input? ProvisioningFingerprint { get; set; } + + /// + /// Code that is required for service personnel to connect a Compute Cloud@Customer infrastructure in a data center to this resource. This code will only be available when the connectionState is REJECT (usually at create time of the Compute Cloud@Customer infrastructure). + /// + [Input("provisioningPin")] + public Input? ProvisioningPin { get; set; } + + /// + /// The Compute Cloud@Customer infrastructure short name. This cannot be changed once created. The short name is used to refer to the infrastructure in several contexts and is unique. + /// + [Input("shortName")] + public Input? ShortName { get; set; } + + /// + /// The current state of the Compute Cloud@Customer infrastructure. + /// + [Input("state")] + public Input? State { get; set; } + + /// + /// (Updatable) Identifier for network subnet that will be used to communicate with Compute Cloud@Customer infrastructure. + /// + /// + /// ** 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 + /// + [Input("subnetId")] + public Input? SubnetId { get; set; } + + [Input("systemTags")] + private InputMap? _systemTags; + + /// + /// System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + /// + public InputMap SystemTags + { + get => _systemTags ?? (_systemTags = new InputMap()); + set => _systemTags = value; + } + + /// + /// Compute Cloud@Customer infrastructure creation date and time, using an RFC3339 formatted datetime string. + /// + [Input("timeCreated")] + public Input? TimeCreated { get; set; } + + /// + /// Compute Cloud@Customer infrastructure updated date and time, using an RFC3339 formatted datetime string. + /// + [Input("timeUpdated")] + public Input? TimeUpdated { get; set; } + + [Input("upgradeInformations")] + private InputList? _upgradeInformations; + + /// + /// Upgrade information that relates to a Compute Cloud@Customer infrastructure. This information cannot be updated. + /// + public InputList UpgradeInformations + { + get => _upgradeInformations ?? (_upgradeInformations = new InputList()); + set => _upgradeInformations = value; + } + + public AtCustomerCccInfrastructureState() + { + } + public static new AtCustomerCccInfrastructureState Empty => new AtCustomerCccInfrastructureState(); + } +} diff --git a/sdk/dotnet/ComputeCloud/AtCustomerCccUpgradeSchedule.cs b/sdk/dotnet/ComputeCloud/AtCustomerCccUpgradeSchedule.cs new file mode 100644 index 0000000000..dca3d9c44e --- /dev/null +++ b/sdk/dotnet/ComputeCloud/AtCustomerCccUpgradeSchedule.cs @@ -0,0 +1,365 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.ComputeCloud +{ + /// + /// This resource provides the Ccc Upgrade Schedule resource in Oracle Cloud Infrastructure Compute Cloud At Customer service. + /// + /// Creates a new Compute Cloud@Customer upgrade schedule. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testCccUpgradeSchedule = new Oci.ComputeCloud.AtCustomerCccUpgradeSchedule("testCccUpgradeSchedule", new() + /// { + /// CompartmentId = @var.Compartment_id, + /// DisplayName = @var.Ccc_upgrade_schedule_display_name, + /// Events = new[] + /// { + /// new Oci.ComputeCloud.Inputs.AtCustomerCccUpgradeScheduleEventArgs + /// { + /// Description = @var.Ccc_upgrade_schedule_events_description, + /// ScheduleEventDuration = @var.Ccc_upgrade_schedule_events_schedule_event_duration, + /// TimeStart = @var.Ccc_upgrade_schedule_events_time_start, + /// ScheduleEventRecurrences = @var.Ccc_upgrade_schedule_events_schedule_event_recurrences, + /// }, + /// }, + /// DefinedTags = + /// { + /// { "foo-namespace.bar-key", "value" }, + /// }, + /// Description = @var.Ccc_upgrade_schedule_description, + /// FreeformTags = + /// { + /// { "bar-key", "value" }, + /// }, + /// }); + /// + /// }); + /// ``` + /// + /// ## Import + /// + /// CccUpgradeSchedules can be imported using the `id`, e.g. + /// + /// ```sh + /// $ pulumi import oci:ComputeCloud/atCustomerCccUpgradeSchedule:AtCustomerCccUpgradeSchedule test_ccc_upgrade_schedule "id" + /// ``` + /// + [OciResourceType("oci:ComputeCloud/atCustomerCccUpgradeSchedule:AtCustomerCccUpgradeSchedule")] + public partial class AtCustomerCccUpgradeSchedule : global::Pulumi.CustomResource + { + /// + /// (Updatable) Compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Compute Cloud@Customer Upgrade Schedule. + /// + [Output("compartmentId")] + public Output CompartmentId { get; private set; } = null!; + + /// + /// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + /// + [Output("definedTags")] + public Output> DefinedTags { get; private set; } = null!; + + /// + /// (Updatable) A description of the Compute Cloud@Customer upgrade schedule time block. + /// + [Output("description")] + public Output Description { get; private set; } = null!; + + /// + /// (Updatable) Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information. + /// + [Output("displayName")] + public Output DisplayName { get; private set; } = null!; + + /// + /// (Updatable) List of preferred times for Compute Cloud@Customer infrastructure to be upgraded. + /// + [Output("events")] + public Output> Events { get; private set; } = null!; + + /// + /// (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + /// + /// + /// ** 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 + /// + [Output("freeformTags")] + public Output> FreeformTags { get; private set; } = null!; + + /// + /// List of Compute Cloud@Customer infrastructure [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that are using this upgrade schedule. + /// + [Output("infrastructureIds")] + public Output> InfrastructureIds { get; private set; } = null!; + + /// + /// A message describing the current state in more detail. For example, the message can be used to provide actionable information for a resource in a Failed state. + /// + [Output("lifecycleDetails")] + public Output LifecycleDetails { get; private set; } = null!; + + /// + /// Lifecycle state of the resource. + /// + [Output("state")] + public Output State { get; private set; } = null!; + + /// + /// System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + /// + [Output("systemTags")] + public Output> SystemTags { get; private set; } = null!; + + /// + /// The time the upgrade schedule was created, using an RFC3339 formatted datetime string. + /// + [Output("timeCreated")] + public Output TimeCreated { get; private set; } = null!; + + /// + /// The time the upgrade schedule was updated, using an RFC3339 formatted datetime string. + /// + [Output("timeUpdated")] + public Output TimeUpdated { get; private set; } = null!; + + + /// + /// Create a AtCustomerCccUpgradeSchedule resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public AtCustomerCccUpgradeSchedule(string name, AtCustomerCccUpgradeScheduleArgs args, CustomResourceOptions? options = null) + : base("oci:ComputeCloud/atCustomerCccUpgradeSchedule:AtCustomerCccUpgradeSchedule", name, args ?? new AtCustomerCccUpgradeScheduleArgs(), MakeResourceOptions(options, "")) + { + } + + private AtCustomerCccUpgradeSchedule(string name, Input id, AtCustomerCccUpgradeScheduleState? state = null, CustomResourceOptions? options = null) + : base("oci:ComputeCloud/atCustomerCccUpgradeSchedule:AtCustomerCccUpgradeSchedule", name, state, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing AtCustomerCccUpgradeSchedule resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// Any extra arguments used during the lookup. + /// A bag of options that control this resource's behavior + public static AtCustomerCccUpgradeSchedule Get(string name, Input id, AtCustomerCccUpgradeScheduleState? state = null, CustomResourceOptions? options = null) + { + return new AtCustomerCccUpgradeSchedule(name, id, state, options); + } + } + + public sealed class AtCustomerCccUpgradeScheduleArgs : global::Pulumi.ResourceArgs + { + /// + /// (Updatable) Compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Compute Cloud@Customer Upgrade Schedule. + /// + [Input("compartmentId", required: true)] + public Input CompartmentId { get; set; } = null!; + + [Input("definedTags")] + private InputMap? _definedTags; + + /// + /// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + /// + public InputMap DefinedTags + { + get => _definedTags ?? (_definedTags = new InputMap()); + set => _definedTags = value; + } + + /// + /// (Updatable) A description of the Compute Cloud@Customer upgrade schedule time block. + /// + [Input("description")] + public Input? Description { get; set; } + + /// + /// (Updatable) Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information. + /// + [Input("displayName", required: true)] + public Input DisplayName { get; set; } = null!; + + [Input("events", required: true)] + private InputList? _events; + + /// + /// (Updatable) List of preferred times for Compute Cloud@Customer infrastructure to be upgraded. + /// + public InputList Events + { + get => _events ?? (_events = new InputList()); + set => _events = value; + } + + [Input("freeformTags")] + private InputMap? _freeformTags; + + /// + /// (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + /// + /// + /// ** 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 + /// + public InputMap FreeformTags + { + get => _freeformTags ?? (_freeformTags = new InputMap()); + set => _freeformTags = value; + } + + public AtCustomerCccUpgradeScheduleArgs() + { + } + public static new AtCustomerCccUpgradeScheduleArgs Empty => new AtCustomerCccUpgradeScheduleArgs(); + } + + public sealed class AtCustomerCccUpgradeScheduleState : global::Pulumi.ResourceArgs + { + /// + /// (Updatable) Compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Compute Cloud@Customer Upgrade Schedule. + /// + [Input("compartmentId")] + public Input? CompartmentId { get; set; } + + [Input("definedTags")] + private InputMap? _definedTags; + + /// + /// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + /// + public InputMap DefinedTags + { + get => _definedTags ?? (_definedTags = new InputMap()); + set => _definedTags = value; + } + + /// + /// (Updatable) A description of the Compute Cloud@Customer upgrade schedule time block. + /// + [Input("description")] + public Input? Description { get; set; } + + /// + /// (Updatable) Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information. + /// + [Input("displayName")] + public Input? DisplayName { get; set; } + + [Input("events")] + private InputList? _events; + + /// + /// (Updatable) List of preferred times for Compute Cloud@Customer infrastructure to be upgraded. + /// + public InputList Events + { + get => _events ?? (_events = new InputList()); + set => _events = value; + } + + [Input("freeformTags")] + private InputMap? _freeformTags; + + /// + /// (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + /// + /// + /// ** 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 + /// + public InputMap FreeformTags + { + get => _freeformTags ?? (_freeformTags = new InputMap()); + set => _freeformTags = value; + } + + [Input("infrastructureIds")] + private InputList? _infrastructureIds; + + /// + /// List of Compute Cloud@Customer infrastructure [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that are using this upgrade schedule. + /// + public InputList InfrastructureIds + { + get => _infrastructureIds ?? (_infrastructureIds = new InputList()); + set => _infrastructureIds = value; + } + + /// + /// A message describing the current state in more detail. For example, the message can be used to provide actionable information for a resource in a Failed state. + /// + [Input("lifecycleDetails")] + public Input? LifecycleDetails { get; set; } + + /// + /// Lifecycle state of the resource. + /// + [Input("state")] + public Input? State { get; set; } + + [Input("systemTags")] + private InputMap? _systemTags; + + /// + /// System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + /// + public InputMap SystemTags + { + get => _systemTags ?? (_systemTags = new InputMap()); + set => _systemTags = value; + } + + /// + /// The time the upgrade schedule was created, using an RFC3339 formatted datetime string. + /// + [Input("timeCreated")] + public Input? TimeCreated { get; set; } + + /// + /// The time the upgrade schedule was updated, using an RFC3339 formatted datetime string. + /// + [Input("timeUpdated")] + public Input? TimeUpdated { get; set; } + + public AtCustomerCccUpgradeScheduleState() + { + } + public static new AtCustomerCccUpgradeScheduleState Empty => new AtCustomerCccUpgradeScheduleState(); + } +} diff --git a/sdk/dotnet/ComputeCloud/GetAtCustomerCccInfrastructure.cs b/sdk/dotnet/ComputeCloud/GetAtCustomerCccInfrastructure.cs new file mode 100644 index 0000000000..3468f168a0 --- /dev/null +++ b/sdk/dotnet/ComputeCloud/GetAtCustomerCccInfrastructure.cs @@ -0,0 +1,268 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.ComputeCloud +{ + public static class GetAtCustomerCccInfrastructure + { + /// + /// This data source provides details about a specific Ccc Infrastructure resource in Oracle Cloud Infrastructure Compute Cloud At Customer service. + /// + /// Gets a Compute Cloud@Customer infrastructure using the infrastructure + /// [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + /// + /// + /// {{% examples %}} + /// ## Example Usage + /// {{% example %}} + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testCccInfrastructure = Oci.ComputeCloud.GetAtCustomerCccInfrastructure.Invoke(new() + /// { + /// CccInfrastructureId = oci_compute_cloud_at_customer_ccc_infrastructure.Test_ccc_infrastructure.Id, + /// }); + /// + /// }); + /// ``` + /// {{% /example %}} + /// {{% /examples %}} + /// + public static Task InvokeAsync(GetAtCustomerCccInfrastructureArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("oci:ComputeCloud/getAtCustomerCccInfrastructure:getAtCustomerCccInfrastructure", args ?? new GetAtCustomerCccInfrastructureArgs(), options.WithDefaults()); + + /// + /// This data source provides details about a specific Ccc Infrastructure resource in Oracle Cloud Infrastructure Compute Cloud At Customer service. + /// + /// Gets a Compute Cloud@Customer infrastructure using the infrastructure + /// [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + /// + /// + /// {{% examples %}} + /// ## Example Usage + /// {{% example %}} + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testCccInfrastructure = Oci.ComputeCloud.GetAtCustomerCccInfrastructure.Invoke(new() + /// { + /// CccInfrastructureId = oci_compute_cloud_at_customer_ccc_infrastructure.Test_ccc_infrastructure.Id, + /// }); + /// + /// }); + /// ``` + /// {{% /example %}} + /// {{% /examples %}} + /// + public static Output Invoke(GetAtCustomerCccInfrastructureInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("oci:ComputeCloud/getAtCustomerCccInfrastructure:getAtCustomerCccInfrastructure", args ?? new GetAtCustomerCccInfrastructureInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetAtCustomerCccInfrastructureArgs : global::Pulumi.InvokeArgs + { + /// + /// An [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for a Compute Cloud@Customer Infrastructure. + /// + [Input("cccInfrastructureId", required: true)] + public string CccInfrastructureId { get; set; } = null!; + + public GetAtCustomerCccInfrastructureArgs() + { + } + public static new GetAtCustomerCccInfrastructureArgs Empty => new GetAtCustomerCccInfrastructureArgs(); + } + + public sealed class GetAtCustomerCccInfrastructureInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// An [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for a Compute Cloud@Customer Infrastructure. + /// + [Input("cccInfrastructureId", required: true)] + public Input CccInfrastructureId { get; set; } = null!; + + public GetAtCustomerCccInfrastructureInvokeArgs() + { + } + public static new GetAtCustomerCccInfrastructureInvokeArgs Empty => new GetAtCustomerCccInfrastructureInvokeArgs(); + } + + + [OutputType] + public sealed class GetAtCustomerCccInfrastructureResult + { + public readonly string CccInfrastructureId; + /// + /// Schedule used for upgrades. If no schedule is associated with the infrastructure, it can be updated at any time. + /// + public readonly string CccUpgradeScheduleId; + /// + /// The infrastructure compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + /// + public readonly string CompartmentId; + /// + /// A message describing the current connection state in more detail. + /// + public readonly string ConnectionDetails; + /// + /// The current connection state of the infrastructure. A user can only update it from REQUEST to READY or from any state back to REJECT. The system automatically handles the REJECT to REQUEST, READY to CONNECTED, or CONNECTED to DISCONNECTED transitions. + /// + public readonly string ConnectionState; + /// + /// Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + /// + public readonly ImmutableDictionary DefinedTags; + /// + /// A mutable client-meaningful text description of the Compute Cloud@Customer infrastructure. Avoid entering confidential information. + /// + public readonly string Description; + /// + /// The name that will be used to display the Compute Cloud@Customer infrastructure in the Oracle Cloud Infrastructure console. Does not have to be unique and can be changed. Avoid entering confidential information. + /// + public readonly string DisplayName; + /// + /// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + /// + public readonly ImmutableDictionary FreeformTags; + /// + /// The Compute Cloud@Customer infrastructure [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). This cannot be changed once created. + /// + public readonly string Id; + /// + /// Inventory for a Compute Cloud@Customer infrastructure. This information cannot be updated and is from the infrastructure. The information will only be available after the connectionState is transitioned to CONNECTED. + /// + public readonly ImmutableArray InfrastructureInventories; + /// + /// Configuration information for the Compute Cloud@Customer infrastructure. This network configuration information cannot be updated and is retrieved from the data center. The information will only be available after the connectionState is transitioned to CONNECTED. + /// + public readonly ImmutableArray InfrastructureNetworkConfigurations; + /// + /// A message describing the current lifecycle state in more detail. For example, this can be used to provide actionable information for a resource that is in a Failed state. + /// + public readonly string LifecycleDetails; + /// + /// Fingerprint of a Compute Cloud@Customer infrastructure in a data center generated during the initial connection to this resource. The fingerprint should be verified by the administrator when changing the connectionState from REQUEST to READY. + /// + public readonly string ProvisioningFingerprint; + /// + /// Code that is required for service personnel to connect a Compute Cloud@Customer infrastructure in a data center to this resource. This code will only be available when the connectionState is REJECT (usually at create time of the Compute Cloud@Customer infrastructure). + /// + public readonly string ProvisioningPin; + /// + /// The Compute Cloud@Customer infrastructure short name. This cannot be changed once created. The short name is used to refer to the infrastructure in several contexts and is unique. + /// + public readonly string ShortName; + /// + /// The current state of the Compute Cloud@Customer infrastructure. + /// + public readonly string State; + /// + /// [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the network subnet that is used to communicate with Compute Cloud@Customer infrastructure. + /// + public readonly string SubnetId; + /// + /// System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + /// + public readonly ImmutableDictionary SystemTags; + /// + /// Compute Cloud@Customer infrastructure creation date and time, using an RFC3339 formatted datetime string. + /// + public readonly string TimeCreated; + /// + /// Compute Cloud@Customer infrastructure updated date and time, using an RFC3339 formatted datetime string. + /// + public readonly string TimeUpdated; + /// + /// Upgrade information that relates to a Compute Cloud@Customer infrastructure. This information cannot be updated. + /// + public readonly ImmutableArray UpgradeInformations; + + [OutputConstructor] + private GetAtCustomerCccInfrastructureResult( + string cccInfrastructureId, + + string cccUpgradeScheduleId, + + string compartmentId, + + string connectionDetails, + + string connectionState, + + ImmutableDictionary definedTags, + + string description, + + string displayName, + + ImmutableDictionary freeformTags, + + string id, + + ImmutableArray infrastructureInventories, + + ImmutableArray infrastructureNetworkConfigurations, + + string lifecycleDetails, + + string provisioningFingerprint, + + string provisioningPin, + + string shortName, + + string state, + + string subnetId, + + ImmutableDictionary systemTags, + + string timeCreated, + + string timeUpdated, + + ImmutableArray upgradeInformations) + { + CccInfrastructureId = cccInfrastructureId; + CccUpgradeScheduleId = cccUpgradeScheduleId; + CompartmentId = compartmentId; + ConnectionDetails = connectionDetails; + ConnectionState = connectionState; + DefinedTags = definedTags; + Description = description; + DisplayName = displayName; + FreeformTags = freeformTags; + Id = id; + InfrastructureInventories = infrastructureInventories; + InfrastructureNetworkConfigurations = infrastructureNetworkConfigurations; + LifecycleDetails = lifecycleDetails; + ProvisioningFingerprint = provisioningFingerprint; + ProvisioningPin = provisioningPin; + ShortName = shortName; + State = state; + SubnetId = subnetId; + SystemTags = systemTags; + TimeCreated = timeCreated; + TimeUpdated = timeUpdated; + UpgradeInformations = upgradeInformations; + } + } +} diff --git a/sdk/dotnet/ComputeCloud/GetAtCustomerCccInfrastructures.cs b/sdk/dotnet/ComputeCloud/GetAtCustomerCccInfrastructures.cs new file mode 100644 index 0000000000..5c968684a8 --- /dev/null +++ b/sdk/dotnet/ComputeCloud/GetAtCustomerCccInfrastructures.cs @@ -0,0 +1,270 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.ComputeCloud +{ + public static class GetAtCustomerCccInfrastructures + { + /// + /// This data source provides the list of Ccc Infrastructures in Oracle Cloud Infrastructure Compute Cloud At Customer service. + /// + /// Returns a list of Compute Cloud@Customer infrastructures. + /// + /// + /// {{% examples %}} + /// ## Example Usage + /// {{% example %}} + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testCccInfrastructures = Oci.ComputeCloud.GetAtCustomerCccInfrastructures.Invoke(new() + /// { + /// AccessLevel = @var.Ccc_infrastructure_access_level, + /// CccInfrastructureId = oci_compute_cloud_at_customer_ccc_infrastructure.Test_ccc_infrastructure.Id, + /// CompartmentId = @var.Compartment_id, + /// CompartmentIdInSubtree = @var.Ccc_infrastructure_compartment_id_in_subtree, + /// DisplayName = @var.Ccc_infrastructure_display_name, + /// DisplayNameContains = @var.Ccc_infrastructure_display_name_contains, + /// State = @var.Ccc_infrastructure_state, + /// }); + /// + /// }); + /// ``` + /// {{% /example %}} + /// {{% /examples %}} + /// + public static Task InvokeAsync(GetAtCustomerCccInfrastructuresArgs? args = null, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("oci:ComputeCloud/getAtCustomerCccInfrastructures:getAtCustomerCccInfrastructures", args ?? new GetAtCustomerCccInfrastructuresArgs(), options.WithDefaults()); + + /// + /// This data source provides the list of Ccc Infrastructures in Oracle Cloud Infrastructure Compute Cloud At Customer service. + /// + /// Returns a list of Compute Cloud@Customer infrastructures. + /// + /// + /// {{% examples %}} + /// ## Example Usage + /// {{% example %}} + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testCccInfrastructures = Oci.ComputeCloud.GetAtCustomerCccInfrastructures.Invoke(new() + /// { + /// AccessLevel = @var.Ccc_infrastructure_access_level, + /// CccInfrastructureId = oci_compute_cloud_at_customer_ccc_infrastructure.Test_ccc_infrastructure.Id, + /// CompartmentId = @var.Compartment_id, + /// CompartmentIdInSubtree = @var.Ccc_infrastructure_compartment_id_in_subtree, + /// DisplayName = @var.Ccc_infrastructure_display_name, + /// DisplayNameContains = @var.Ccc_infrastructure_display_name_contains, + /// State = @var.Ccc_infrastructure_state, + /// }); + /// + /// }); + /// ``` + /// {{% /example %}} + /// {{% /examples %}} + /// + public static Output Invoke(GetAtCustomerCccInfrastructuresInvokeArgs? args = null, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("oci:ComputeCloud/getAtCustomerCccInfrastructures:getAtCustomerCccInfrastructures", args ?? new GetAtCustomerCccInfrastructuresInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetAtCustomerCccInfrastructuresArgs : global::Pulumi.InvokeArgs + { + /// + /// Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed. + /// + [Input("accessLevel")] + public string? AccessLevel { get; set; } + + /// + /// An [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for a Compute Cloud@Customer Infrastructure. + /// + [Input("cccInfrastructureId")] + public string? CccInfrastructureId { get; set; } + + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + /// + [Input("compartmentId")] + public string? CompartmentId { get; set; } + + /// + /// Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and sub-compartments in the tenancy are returned. Depends on the 'accessLevel' setting. + /// + [Input("compartmentIdInSubtree")] + public bool? CompartmentIdInSubtree { get; set; } + + /// + /// A filter to return only resources that match the entire display name given. + /// + [Input("displayName")] + public string? DisplayName { get; set; } + + /// + /// A filter to return only resources whose display name contains the substring. + /// + [Input("displayNameContains")] + public string? DisplayNameContains { get; set; } + + [Input("filters")] + private List? _filters; + public List Filters + { + get => _filters ?? (_filters = new List()); + set => _filters = value; + } + + /// + /// A filter used to return only resources that match the given lifecycleState. + /// + [Input("state")] + public string? State { get; set; } + + public GetAtCustomerCccInfrastructuresArgs() + { + } + public static new GetAtCustomerCccInfrastructuresArgs Empty => new GetAtCustomerCccInfrastructuresArgs(); + } + + public sealed class GetAtCustomerCccInfrastructuresInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed. + /// + [Input("accessLevel")] + public Input? AccessLevel { get; set; } + + /// + /// An [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for a Compute Cloud@Customer Infrastructure. + /// + [Input("cccInfrastructureId")] + public Input? CccInfrastructureId { get; set; } + + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + /// + [Input("compartmentId")] + public Input? CompartmentId { get; set; } + + /// + /// Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and sub-compartments in the tenancy are returned. Depends on the 'accessLevel' setting. + /// + [Input("compartmentIdInSubtree")] + public Input? CompartmentIdInSubtree { get; set; } + + /// + /// A filter to return only resources that match the entire display name given. + /// + [Input("displayName")] + public Input? DisplayName { get; set; } + + /// + /// A filter to return only resources whose display name contains the substring. + /// + [Input("displayNameContains")] + public Input? DisplayNameContains { get; set; } + + [Input("filters")] + private InputList? _filters; + public InputList Filters + { + get => _filters ?? (_filters = new InputList()); + set => _filters = value; + } + + /// + /// A filter used to return only resources that match the given lifecycleState. + /// + [Input("state")] + public Input? State { get; set; } + + public GetAtCustomerCccInfrastructuresInvokeArgs() + { + } + public static new GetAtCustomerCccInfrastructuresInvokeArgs Empty => new GetAtCustomerCccInfrastructuresInvokeArgs(); + } + + + [OutputType] + public sealed class GetAtCustomerCccInfrastructuresResult + { + public readonly string? AccessLevel; + /// + /// The list of ccc_infrastructure_collection. + /// + public readonly ImmutableArray CccInfrastructureCollections; + public readonly string? CccInfrastructureId; + /// + /// The infrastructure compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + /// + public readonly string? CompartmentId; + public readonly bool? CompartmentIdInSubtree; + /// + /// The name that will be used to display the Compute Cloud@Customer infrastructure in the Oracle Cloud Infrastructure console. Does not have to be unique and can be changed. Avoid entering confidential information. + /// + public readonly string? DisplayName; + public readonly string? DisplayNameContains; + public readonly ImmutableArray Filters; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + /// + /// The current state of the Compute Cloud@Customer infrastructure. + /// + public readonly string? State; + + [OutputConstructor] + private GetAtCustomerCccInfrastructuresResult( + string? accessLevel, + + ImmutableArray cccInfrastructureCollections, + + string? cccInfrastructureId, + + string? compartmentId, + + bool? compartmentIdInSubtree, + + string? displayName, + + string? displayNameContains, + + ImmutableArray filters, + + string id, + + string? state) + { + AccessLevel = accessLevel; + CccInfrastructureCollections = cccInfrastructureCollections; + CccInfrastructureId = cccInfrastructureId; + CompartmentId = compartmentId; + CompartmentIdInSubtree = compartmentIdInSubtree; + DisplayName = displayName; + DisplayNameContains = displayNameContains; + Filters = filters; + Id = id; + State = state; + } + } +} diff --git a/sdk/dotnet/ComputeCloud/GetAtCustomerCccUpgradeSchedule.cs b/sdk/dotnet/ComputeCloud/GetAtCustomerCccUpgradeSchedule.cs new file mode 100644 index 0000000000..bc4beffb6a --- /dev/null +++ b/sdk/dotnet/ComputeCloud/GetAtCustomerCccUpgradeSchedule.cs @@ -0,0 +1,212 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.ComputeCloud +{ + public static class GetAtCustomerCccUpgradeSchedule + { + /// + /// This data source provides details about a specific Ccc Upgrade Schedule resource in Oracle Cloud Infrastructure Compute Cloud At Customer service. + /// + /// Gets a Compute Cloud@Customer upgrade schedule by the specified + /// [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + /// + /// + /// {{% examples %}} + /// ## Example Usage + /// {{% example %}} + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testCccUpgradeSchedule = Oci.ComputeCloud.GetAtCustomerCccUpgradeSchedule.Invoke(new() + /// { + /// CccUpgradeScheduleId = oci_compute_cloud_at_customer_ccc_upgrade_schedule.Test_ccc_upgrade_schedule.Id, + /// }); + /// + /// }); + /// ``` + /// {{% /example %}} + /// {{% /examples %}} + /// + public static Task InvokeAsync(GetAtCustomerCccUpgradeScheduleArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("oci:ComputeCloud/getAtCustomerCccUpgradeSchedule:getAtCustomerCccUpgradeSchedule", args ?? new GetAtCustomerCccUpgradeScheduleArgs(), options.WithDefaults()); + + /// + /// This data source provides details about a specific Ccc Upgrade Schedule resource in Oracle Cloud Infrastructure Compute Cloud At Customer service. + /// + /// Gets a Compute Cloud@Customer upgrade schedule by the specified + /// [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + /// + /// + /// {{% examples %}} + /// ## Example Usage + /// {{% example %}} + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testCccUpgradeSchedule = Oci.ComputeCloud.GetAtCustomerCccUpgradeSchedule.Invoke(new() + /// { + /// CccUpgradeScheduleId = oci_compute_cloud_at_customer_ccc_upgrade_schedule.Test_ccc_upgrade_schedule.Id, + /// }); + /// + /// }); + /// ``` + /// {{% /example %}} + /// {{% /examples %}} + /// + public static Output Invoke(GetAtCustomerCccUpgradeScheduleInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("oci:ComputeCloud/getAtCustomerCccUpgradeSchedule:getAtCustomerCccUpgradeSchedule", args ?? new GetAtCustomerCccUpgradeScheduleInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetAtCustomerCccUpgradeScheduleArgs : global::Pulumi.InvokeArgs + { + /// + /// Compute Cloud@Customer upgrade schedule [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + /// + [Input("cccUpgradeScheduleId", required: true)] + public string CccUpgradeScheduleId { get; set; } = null!; + + public GetAtCustomerCccUpgradeScheduleArgs() + { + } + public static new GetAtCustomerCccUpgradeScheduleArgs Empty => new GetAtCustomerCccUpgradeScheduleArgs(); + } + + public sealed class GetAtCustomerCccUpgradeScheduleInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Compute Cloud@Customer upgrade schedule [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + /// + [Input("cccUpgradeScheduleId", required: true)] + public Input CccUpgradeScheduleId { get; set; } = null!; + + public GetAtCustomerCccUpgradeScheduleInvokeArgs() + { + } + public static new GetAtCustomerCccUpgradeScheduleInvokeArgs Empty => new GetAtCustomerCccUpgradeScheduleInvokeArgs(); + } + + + [OutputType] + public sealed class GetAtCustomerCccUpgradeScheduleResult + { + public readonly string CccUpgradeScheduleId; + /// + /// Compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Compute Cloud@Customer upgrade schedule. + /// + public readonly string CompartmentId; + /// + /// Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + /// + public readonly ImmutableDictionary DefinedTags; + /// + /// A description of the Compute Cloud@Customer upgrade schedule time block. + /// + public readonly string Description; + /// + /// Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information. + /// + public readonly string DisplayName; + /// + /// List of preferred times for Compute Cloud@Customer infrastructures associated with this schedule to be upgraded. + /// + public readonly ImmutableArray Events; + /// + /// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + /// + public readonly ImmutableDictionary FreeformTags; + /// + /// Upgrade schedule [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). This cannot be changed once created. + /// + public readonly string Id; + /// + /// List of Compute Cloud@Customer infrastructure [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that are using this upgrade schedule. + /// + public readonly ImmutableArray InfrastructureIds; + /// + /// A message describing the current state in more detail. For example, the message can be used to provide actionable information for a resource in a Failed state. + /// + public readonly string LifecycleDetails; + /// + /// Lifecycle state of the resource. + /// + public readonly string State; + /// + /// System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + /// + public readonly ImmutableDictionary SystemTags; + /// + /// The time the upgrade schedule was created, using an RFC3339 formatted datetime string. + /// + public readonly string TimeCreated; + /// + /// The time the upgrade schedule was updated, using an RFC3339 formatted datetime string. + /// + public readonly string TimeUpdated; + + [OutputConstructor] + private GetAtCustomerCccUpgradeScheduleResult( + string cccUpgradeScheduleId, + + string compartmentId, + + ImmutableDictionary definedTags, + + string description, + + string displayName, + + ImmutableArray events, + + ImmutableDictionary freeformTags, + + string id, + + ImmutableArray infrastructureIds, + + string lifecycleDetails, + + string state, + + ImmutableDictionary systemTags, + + string timeCreated, + + string timeUpdated) + { + CccUpgradeScheduleId = cccUpgradeScheduleId; + CompartmentId = compartmentId; + DefinedTags = definedTags; + Description = description; + DisplayName = displayName; + Events = events; + FreeformTags = freeformTags; + Id = id; + InfrastructureIds = infrastructureIds; + LifecycleDetails = lifecycleDetails; + State = state; + SystemTags = systemTags; + TimeCreated = timeCreated; + TimeUpdated = timeUpdated; + } + } +} diff --git a/sdk/dotnet/ComputeCloud/GetAtCustomerCccUpgradeSchedules.cs b/sdk/dotnet/ComputeCloud/GetAtCustomerCccUpgradeSchedules.cs new file mode 100644 index 0000000000..35473038ec --- /dev/null +++ b/sdk/dotnet/ComputeCloud/GetAtCustomerCccUpgradeSchedules.cs @@ -0,0 +1,270 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.ComputeCloud +{ + public static class GetAtCustomerCccUpgradeSchedules + { + /// + /// This data source provides the list of Ccc Upgrade Schedules in Oracle Cloud Infrastructure Compute Cloud At Customer service. + /// + /// Returns a list of Compute Cloud@Customer upgrade schedules. + /// + /// + /// {{% examples %}} + /// ## Example Usage + /// {{% example %}} + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testCccUpgradeSchedules = Oci.ComputeCloud.GetAtCustomerCccUpgradeSchedules.Invoke(new() + /// { + /// AccessLevel = @var.Ccc_upgrade_schedule_access_level, + /// CccUpgradeScheduleId = oci_compute_cloud_at_customer_ccc_upgrade_schedule.Test_ccc_upgrade_schedule.Id, + /// CompartmentId = @var.Compartment_id, + /// CompartmentIdInSubtree = @var.Ccc_upgrade_schedule_compartment_id_in_subtree, + /// DisplayName = @var.Ccc_upgrade_schedule_display_name, + /// DisplayNameContains = @var.Ccc_upgrade_schedule_display_name_contains, + /// State = @var.Ccc_upgrade_schedule_state, + /// }); + /// + /// }); + /// ``` + /// {{% /example %}} + /// {{% /examples %}} + /// + public static Task InvokeAsync(GetAtCustomerCccUpgradeSchedulesArgs? args = null, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("oci:ComputeCloud/getAtCustomerCccUpgradeSchedules:getAtCustomerCccUpgradeSchedules", args ?? new GetAtCustomerCccUpgradeSchedulesArgs(), options.WithDefaults()); + + /// + /// This data source provides the list of Ccc Upgrade Schedules in Oracle Cloud Infrastructure Compute Cloud At Customer service. + /// + /// Returns a list of Compute Cloud@Customer upgrade schedules. + /// + /// + /// {{% examples %}} + /// ## Example Usage + /// {{% example %}} + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testCccUpgradeSchedules = Oci.ComputeCloud.GetAtCustomerCccUpgradeSchedules.Invoke(new() + /// { + /// AccessLevel = @var.Ccc_upgrade_schedule_access_level, + /// CccUpgradeScheduleId = oci_compute_cloud_at_customer_ccc_upgrade_schedule.Test_ccc_upgrade_schedule.Id, + /// CompartmentId = @var.Compartment_id, + /// CompartmentIdInSubtree = @var.Ccc_upgrade_schedule_compartment_id_in_subtree, + /// DisplayName = @var.Ccc_upgrade_schedule_display_name, + /// DisplayNameContains = @var.Ccc_upgrade_schedule_display_name_contains, + /// State = @var.Ccc_upgrade_schedule_state, + /// }); + /// + /// }); + /// ``` + /// {{% /example %}} + /// {{% /examples %}} + /// + public static Output Invoke(GetAtCustomerCccUpgradeSchedulesInvokeArgs? args = null, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("oci:ComputeCloud/getAtCustomerCccUpgradeSchedules:getAtCustomerCccUpgradeSchedules", args ?? new GetAtCustomerCccUpgradeSchedulesInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetAtCustomerCccUpgradeSchedulesArgs : global::Pulumi.InvokeArgs + { + /// + /// Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed. + /// + [Input("accessLevel")] + public string? AccessLevel { get; set; } + + /// + /// Compute Cloud@Customer upgrade schedule [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + /// + [Input("cccUpgradeScheduleId")] + public string? CccUpgradeScheduleId { get; set; } + + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + /// + [Input("compartmentId")] + public string? CompartmentId { get; set; } + + /// + /// Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and sub-compartments in the tenancy are returned. Depends on the 'accessLevel' setting. + /// + [Input("compartmentIdInSubtree")] + public bool? CompartmentIdInSubtree { get; set; } + + /// + /// A filter to return only resources that match the entire display name given. + /// + [Input("displayName")] + public string? DisplayName { get; set; } + + /// + /// A filter to return only resources whose display name contains the substring. + /// + [Input("displayNameContains")] + public string? DisplayNameContains { get; set; } + + [Input("filters")] + private List? _filters; + public List Filters + { + get => _filters ?? (_filters = new List()); + set => _filters = value; + } + + /// + /// A filter to return resources only when their lifecycleState matches the given lifecycleState. + /// + [Input("state")] + public string? State { get; set; } + + public GetAtCustomerCccUpgradeSchedulesArgs() + { + } + public static new GetAtCustomerCccUpgradeSchedulesArgs Empty => new GetAtCustomerCccUpgradeSchedulesArgs(); + } + + public sealed class GetAtCustomerCccUpgradeSchedulesInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed. + /// + [Input("accessLevel")] + public Input? AccessLevel { get; set; } + + /// + /// Compute Cloud@Customer upgrade schedule [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + /// + [Input("cccUpgradeScheduleId")] + public Input? CccUpgradeScheduleId { get; set; } + + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + /// + [Input("compartmentId")] + public Input? CompartmentId { get; set; } + + /// + /// Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and sub-compartments in the tenancy are returned. Depends on the 'accessLevel' setting. + /// + [Input("compartmentIdInSubtree")] + public Input? CompartmentIdInSubtree { get; set; } + + /// + /// A filter to return only resources that match the entire display name given. + /// + [Input("displayName")] + public Input? DisplayName { get; set; } + + /// + /// A filter to return only resources whose display name contains the substring. + /// + [Input("displayNameContains")] + public Input? DisplayNameContains { get; set; } + + [Input("filters")] + private InputList? _filters; + public InputList Filters + { + get => _filters ?? (_filters = new InputList()); + set => _filters = value; + } + + /// + /// A filter to return resources only when their lifecycleState matches the given lifecycleState. + /// + [Input("state")] + public Input? State { get; set; } + + public GetAtCustomerCccUpgradeSchedulesInvokeArgs() + { + } + public static new GetAtCustomerCccUpgradeSchedulesInvokeArgs Empty => new GetAtCustomerCccUpgradeSchedulesInvokeArgs(); + } + + + [OutputType] + public sealed class GetAtCustomerCccUpgradeSchedulesResult + { + public readonly string? AccessLevel; + /// + /// The list of ccc_upgrade_schedule_collection. + /// + public readonly ImmutableArray CccUpgradeScheduleCollections; + public readonly string? CccUpgradeScheduleId; + /// + /// Compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Compute Cloud@Customer upgrade schedule. + /// + public readonly string? CompartmentId; + public readonly bool? CompartmentIdInSubtree; + /// + /// Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information. + /// + public readonly string? DisplayName; + public readonly string? DisplayNameContains; + public readonly ImmutableArray Filters; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + /// + /// Lifecycle state of the resource. + /// + public readonly string? State; + + [OutputConstructor] + private GetAtCustomerCccUpgradeSchedulesResult( + string? accessLevel, + + ImmutableArray cccUpgradeScheduleCollections, + + string? cccUpgradeScheduleId, + + string? compartmentId, + + bool? compartmentIdInSubtree, + + string? displayName, + + string? displayNameContains, + + ImmutableArray filters, + + string id, + + string? state) + { + AccessLevel = accessLevel; + CccUpgradeScheduleCollections = cccUpgradeScheduleCollections; + CccUpgradeScheduleId = cccUpgradeScheduleId; + CompartmentId = compartmentId; + CompartmentIdInSubtree = compartmentIdInSubtree; + DisplayName = displayName; + DisplayNameContains = displayNameContains; + Filters = filters; + Id = id; + State = state; + } + } +} diff --git a/sdk/dotnet/ComputeCloud/Inputs/AtCustomerCccInfrastructureInfrastructureInventoryArgs.cs b/sdk/dotnet/ComputeCloud/Inputs/AtCustomerCccInfrastructureInfrastructureInventoryArgs.cs new file mode 100644 index 0000000000..8002b6df82 --- /dev/null +++ b/sdk/dotnet/ComputeCloud/Inputs/AtCustomerCccInfrastructureInfrastructureInventoryArgs.cs @@ -0,0 +1,50 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.ComputeCloud.Inputs +{ + + public sealed class AtCustomerCccInfrastructureInfrastructureInventoryArgs : global::Pulumi.ResourceArgs + { + /// + /// The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for capacity storage. + /// + [Input("capacityStorageTrayCount")] + public Input? CapacityStorageTrayCount { get; set; } + + /// + /// The number of compute nodes that are available and usable on the Compute Cloud@Customer infrastructure rack. There is no distinction of compute node type in this information. + /// + [Input("computeNodeCount")] + public Input? ComputeNodeCount { get; set; } + + /// + /// The number of management nodes that are available and in active use on the Compute Cloud@Customer infrastructure rack. + /// + [Input("managementNodeCount")] + public Input? ManagementNodeCount { get; set; } + + /// + /// The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for performance storage. + /// + [Input("performanceStorageTrayCount")] + public Input? PerformanceStorageTrayCount { get; set; } + + /// + /// The serial number of the Compute Cloud@Customer infrastructure rack. + /// + [Input("serialNumber")] + public Input? SerialNumber { get; set; } + + public AtCustomerCccInfrastructureInfrastructureInventoryArgs() + { + } + public static new AtCustomerCccInfrastructureInfrastructureInventoryArgs Empty => new AtCustomerCccInfrastructureInfrastructureInventoryArgs(); + } +} diff --git a/sdk/dotnet/ComputeCloud/Inputs/AtCustomerCccInfrastructureInfrastructureInventoryGetArgs.cs b/sdk/dotnet/ComputeCloud/Inputs/AtCustomerCccInfrastructureInfrastructureInventoryGetArgs.cs new file mode 100644 index 0000000000..d680763f58 --- /dev/null +++ b/sdk/dotnet/ComputeCloud/Inputs/AtCustomerCccInfrastructureInfrastructureInventoryGetArgs.cs @@ -0,0 +1,50 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.ComputeCloud.Inputs +{ + + public sealed class AtCustomerCccInfrastructureInfrastructureInventoryGetArgs : global::Pulumi.ResourceArgs + { + /// + /// The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for capacity storage. + /// + [Input("capacityStorageTrayCount")] + public Input? CapacityStorageTrayCount { get; set; } + + /// + /// The number of compute nodes that are available and usable on the Compute Cloud@Customer infrastructure rack. There is no distinction of compute node type in this information. + /// + [Input("computeNodeCount")] + public Input? ComputeNodeCount { get; set; } + + /// + /// The number of management nodes that are available and in active use on the Compute Cloud@Customer infrastructure rack. + /// + [Input("managementNodeCount")] + public Input? ManagementNodeCount { get; set; } + + /// + /// The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for performance storage. + /// + [Input("performanceStorageTrayCount")] + public Input? PerformanceStorageTrayCount { get; set; } + + /// + /// The serial number of the Compute Cloud@Customer infrastructure rack. + /// + [Input("serialNumber")] + public Input? SerialNumber { get; set; } + + public AtCustomerCccInfrastructureInfrastructureInventoryGetArgs() + { + } + public static new AtCustomerCccInfrastructureInfrastructureInventoryGetArgs Empty => new AtCustomerCccInfrastructureInfrastructureInventoryGetArgs(); + } +} diff --git a/sdk/dotnet/ComputeCloud/Inputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArgs.cs b/sdk/dotnet/ComputeCloud/Inputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArgs.cs new file mode 100644 index 0000000000..f2bc3abea3 --- /dev/null +++ b/sdk/dotnet/ComputeCloud/Inputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArgs.cs @@ -0,0 +1,140 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.ComputeCloud.Inputs +{ + + public sealed class AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArgs : global::Pulumi.ResourceArgs + { + [Input("dnsIps")] + private InputList? _dnsIps; + + /// + /// The domain name system (DNS) addresses that the Compute Cloud@Customer infrastructure uses for the data center network. + /// + public InputList DnsIps + { + get => _dnsIps ?? (_dnsIps = new InputList()); + set => _dnsIps = value; + } + + [Input("infrastructureRoutingDynamics")] + private InputList? _infrastructureRoutingDynamics; + + /// + /// Dynamic routing information for the Compute Cloud@Customer infrastructure. + /// + public InputList InfrastructureRoutingDynamics + { + get => _infrastructureRoutingDynamics ?? (_infrastructureRoutingDynamics = new InputList()); + set => _infrastructureRoutingDynamics = value; + } + + [Input("infrastructureRoutingStatics")] + private InputList? _infrastructureRoutingStatics; + + /// + /// Static routing information for a rack. + /// + public InputList InfrastructureRoutingStatics + { + get => _infrastructureRoutingStatics ?? (_infrastructureRoutingStatics = new InputList()); + set => _infrastructureRoutingStatics = value; + } + + [Input("managementNodes")] + private InputList? _managementNodes; + + /// + /// Information about the management nodes that are provisioned in the Compute Cloud@Customer infrastructure. + /// + public InputList ManagementNodes + { + get => _managementNodes ?? (_managementNodes = new InputList()); + set => _managementNodes = value; + } + + /// + /// The hostname corresponding to the virtual IP (VIP) address of the management nodes. + /// + [Input("mgmtVipHostname")] + public Input? MgmtVipHostname { get; set; } + + /// + /// The IP address used as the virtual IP (VIP) address of the management nodes. + /// + [Input("mgmtVipIp")] + public Input? MgmtVipIp { get; set; } + + [Input("spineIps")] + private InputList? _spineIps; + + /// + /// Addresses of the network spine switches. + /// + public InputList SpineIps + { + get => _spineIps ?? (_spineIps = new InputList()); + set => _spineIps = value; + } + + /// + /// The spine switch public virtual IP (VIP). Traffic routed to the Compute Cloud@Customer infrastructure and and virtual cloud networks (VCNs) should have this address as next hop. + /// + [Input("spineVip")] + public Input? SpineVip { get; set; } + + /// + /// Domain name to be used as the base domain for the internal network and by public facing services. + /// + [Input("uplinkDomain")] + public Input? UplinkDomain { get; set; } + + /// + /// Uplink gateway in the datacenter network that the Compute Cloud@Customer connects to. + /// + [Input("uplinkGatewayIp")] + public Input? UplinkGatewayIp { get; set; } + + /// + /// Netmask of the subnet that the Compute Cloud@Customer infrastructure is connected to. + /// + [Input("uplinkNetmask")] + public Input? UplinkNetmask { get; set; } + + /// + /// Number of uplink ports per spine switch. Connectivity is identical on both spine switches. For example, if input is two 100 gigabyte ports; then port-1 and port-2 on both spines will be configured. + /// + [Input("uplinkPortCount")] + public Input? UplinkPortCount { get; set; } + + /// + /// The port forward error correction (FEC) setting for the uplink port on the Compute Cloud@Customer infrastructure. + /// + [Input("uplinkPortForwardErrorCorrection")] + public Input? UplinkPortForwardErrorCorrection { get; set; } + + /// + /// Uplink port speed defined in gigabytes per second. All uplink ports must have identical speed. + /// + [Input("uplinkPortSpeedInGbps")] + public Input? UplinkPortSpeedInGbps { get; set; } + + /// + /// The virtual local area network (VLAN) maximum transmission unit (MTU) size for the uplink ports. + /// + [Input("uplinkVlanMtu")] + public Input? UplinkVlanMtu { get; set; } + + public AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArgs() + { + } + public static new AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArgs Empty => new AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArgs(); + } +} diff --git a/sdk/dotnet/ComputeCloud/Inputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationGetArgs.cs b/sdk/dotnet/ComputeCloud/Inputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationGetArgs.cs new file mode 100644 index 0000000000..53f1ac4ab8 --- /dev/null +++ b/sdk/dotnet/ComputeCloud/Inputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationGetArgs.cs @@ -0,0 +1,140 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.ComputeCloud.Inputs +{ + + public sealed class AtCustomerCccInfrastructureInfrastructureNetworkConfigurationGetArgs : global::Pulumi.ResourceArgs + { + [Input("dnsIps")] + private InputList? _dnsIps; + + /// + /// The domain name system (DNS) addresses that the Compute Cloud@Customer infrastructure uses for the data center network. + /// + public InputList DnsIps + { + get => _dnsIps ?? (_dnsIps = new InputList()); + set => _dnsIps = value; + } + + [Input("infrastructureRoutingDynamics")] + private InputList? _infrastructureRoutingDynamics; + + /// + /// Dynamic routing information for the Compute Cloud@Customer infrastructure. + /// + public InputList InfrastructureRoutingDynamics + { + get => _infrastructureRoutingDynamics ?? (_infrastructureRoutingDynamics = new InputList()); + set => _infrastructureRoutingDynamics = value; + } + + [Input("infrastructureRoutingStatics")] + private InputList? _infrastructureRoutingStatics; + + /// + /// Static routing information for a rack. + /// + public InputList InfrastructureRoutingStatics + { + get => _infrastructureRoutingStatics ?? (_infrastructureRoutingStatics = new InputList()); + set => _infrastructureRoutingStatics = value; + } + + [Input("managementNodes")] + private InputList? _managementNodes; + + /// + /// Information about the management nodes that are provisioned in the Compute Cloud@Customer infrastructure. + /// + public InputList ManagementNodes + { + get => _managementNodes ?? (_managementNodes = new InputList()); + set => _managementNodes = value; + } + + /// + /// The hostname corresponding to the virtual IP (VIP) address of the management nodes. + /// + [Input("mgmtVipHostname")] + public Input? MgmtVipHostname { get; set; } + + /// + /// The IP address used as the virtual IP (VIP) address of the management nodes. + /// + [Input("mgmtVipIp")] + public Input? MgmtVipIp { get; set; } + + [Input("spineIps")] + private InputList? _spineIps; + + /// + /// Addresses of the network spine switches. + /// + public InputList SpineIps + { + get => _spineIps ?? (_spineIps = new InputList()); + set => _spineIps = value; + } + + /// + /// The spine switch public virtual IP (VIP). Traffic routed to the Compute Cloud@Customer infrastructure and and virtual cloud networks (VCNs) should have this address as next hop. + /// + [Input("spineVip")] + public Input? SpineVip { get; set; } + + /// + /// Domain name to be used as the base domain for the internal network and by public facing services. + /// + [Input("uplinkDomain")] + public Input? UplinkDomain { get; set; } + + /// + /// Uplink gateway in the datacenter network that the Compute Cloud@Customer connects to. + /// + [Input("uplinkGatewayIp")] + public Input? UplinkGatewayIp { get; set; } + + /// + /// Netmask of the subnet that the Compute Cloud@Customer infrastructure is connected to. + /// + [Input("uplinkNetmask")] + public Input? UplinkNetmask { get; set; } + + /// + /// Number of uplink ports per spine switch. Connectivity is identical on both spine switches. For example, if input is two 100 gigabyte ports; then port-1 and port-2 on both spines will be configured. + /// + [Input("uplinkPortCount")] + public Input? UplinkPortCount { get; set; } + + /// + /// The port forward error correction (FEC) setting for the uplink port on the Compute Cloud@Customer infrastructure. + /// + [Input("uplinkPortForwardErrorCorrection")] + public Input? UplinkPortForwardErrorCorrection { get; set; } + + /// + /// Uplink port speed defined in gigabytes per second. All uplink ports must have identical speed. + /// + [Input("uplinkPortSpeedInGbps")] + public Input? UplinkPortSpeedInGbps { get; set; } + + /// + /// The virtual local area network (VLAN) maximum transmission unit (MTU) size for the uplink ports. + /// + [Input("uplinkVlanMtu")] + public Input? UplinkVlanMtu { get; set; } + + public AtCustomerCccInfrastructureInfrastructureNetworkConfigurationGetArgs() + { + } + public static new AtCustomerCccInfrastructureInfrastructureNetworkConfigurationGetArgs Empty => new AtCustomerCccInfrastructureInfrastructureNetworkConfigurationGetArgs(); + } +} diff --git a/sdk/dotnet/ComputeCloud/Inputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArgs.cs b/sdk/dotnet/ComputeCloud/Inputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArgs.cs new file mode 100644 index 0000000000..1a40b3103c --- /dev/null +++ b/sdk/dotnet/ComputeCloud/Inputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArgs.cs @@ -0,0 +1,44 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.ComputeCloud.Inputs +{ + + public sealed class AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArgs : global::Pulumi.ResourceArgs + { + /// + /// The topology in use for the Border Gateway Protocol (BGP) configuration. + /// + [Input("bgpTopology")] + public Input? BgpTopology { get; set; } + + /// + /// The Oracle Autonomous System Number (ASN) to control routing and exchange information within the dynamic routing configuration. + /// + [Input("oracleAsn")] + public Input? OracleAsn { get; set; } + + [Input("peerInformations")] + private InputList? _peerInformations; + + /// + /// The list of peer devices in the dynamic routing configuration. + /// + public InputList PeerInformations + { + get => _peerInformations ?? (_peerInformations = new InputList()); + set => _peerInformations = value; + } + + public AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArgs() + { + } + public static new AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArgs Empty => new AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArgs(); + } +} diff --git a/sdk/dotnet/ComputeCloud/Inputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicGetArgs.cs b/sdk/dotnet/ComputeCloud/Inputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicGetArgs.cs new file mode 100644 index 0000000000..8942ae176e --- /dev/null +++ b/sdk/dotnet/ComputeCloud/Inputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicGetArgs.cs @@ -0,0 +1,44 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.ComputeCloud.Inputs +{ + + public sealed class AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicGetArgs : global::Pulumi.ResourceArgs + { + /// + /// The topology in use for the Border Gateway Protocol (BGP) configuration. + /// + [Input("bgpTopology")] + public Input? BgpTopology { get; set; } + + /// + /// The Oracle Autonomous System Number (ASN) to control routing and exchange information within the dynamic routing configuration. + /// + [Input("oracleAsn")] + public Input? OracleAsn { get; set; } + + [Input("peerInformations")] + private InputList? _peerInformations; + + /// + /// The list of peer devices in the dynamic routing configuration. + /// + public InputList PeerInformations + { + get => _peerInformations ?? (_peerInformations = new InputList()); + set => _peerInformations = value; + } + + public AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicGetArgs() + { + } + public static new AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicGetArgs Empty => new AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicGetArgs(); + } +} diff --git a/sdk/dotnet/ComputeCloud/Inputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArgs.cs b/sdk/dotnet/ComputeCloud/Inputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArgs.cs new file mode 100644 index 0000000000..04bba67f7b --- /dev/null +++ b/sdk/dotnet/ComputeCloud/Inputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.ComputeCloud.Inputs +{ + + public sealed class AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArgs : global::Pulumi.ResourceArgs + { + /// + /// The Autonomous System Number (ASN) of the peer network. + /// + [Input("asn")] + public Input? Asn { get; set; } + + /// + /// Address of the management node. + /// + [Input("ip")] + public Input? Ip { get; set; } + + public AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArgs() + { + } + public static new AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArgs Empty => new AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArgs(); + } +} diff --git a/sdk/dotnet/ComputeCloud/Inputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationGetArgs.cs b/sdk/dotnet/ComputeCloud/Inputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationGetArgs.cs new file mode 100644 index 0000000000..52f4aa8e85 --- /dev/null +++ b/sdk/dotnet/ComputeCloud/Inputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationGetArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.ComputeCloud.Inputs +{ + + public sealed class AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationGetArgs : global::Pulumi.ResourceArgs + { + /// + /// The Autonomous System Number (ASN) of the peer network. + /// + [Input("asn")] + public Input? Asn { get; set; } + + /// + /// Address of the management node. + /// + [Input("ip")] + public Input? Ip { get; set; } + + public AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationGetArgs() + { + } + public static new AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationGetArgs Empty => new AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationGetArgs(); + } +} diff --git a/sdk/dotnet/ComputeCloud/Inputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArgs.cs b/sdk/dotnet/ComputeCloud/Inputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArgs.cs new file mode 100644 index 0000000000..1cd6f1fddc --- /dev/null +++ b/sdk/dotnet/ComputeCloud/Inputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.ComputeCloud.Inputs +{ + + public sealed class AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArgs : global::Pulumi.ResourceArgs + { + /// + /// The uplink Hot Standby Router Protocol (HSRP) group value for the switch in the Compute Cloud@Customer infrastructure. + /// + [Input("uplinkHsrpGroup")] + public Input? UplinkHsrpGroup { get; set; } + + /// + /// The virtual local area network (VLAN) identifier used to connect to the uplink (only access mode is supported). + /// + [Input("uplinkVlan")] + public Input? UplinkVlan { get; set; } + + public AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArgs() + { + } + public static new AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArgs Empty => new AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArgs(); + } +} diff --git a/sdk/dotnet/ComputeCloud/Inputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticGetArgs.cs b/sdk/dotnet/ComputeCloud/Inputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticGetArgs.cs new file mode 100644 index 0000000000..a81b5bc573 --- /dev/null +++ b/sdk/dotnet/ComputeCloud/Inputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticGetArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.ComputeCloud.Inputs +{ + + public sealed class AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticGetArgs : global::Pulumi.ResourceArgs + { + /// + /// The uplink Hot Standby Router Protocol (HSRP) group value for the switch in the Compute Cloud@Customer infrastructure. + /// + [Input("uplinkHsrpGroup")] + public Input? UplinkHsrpGroup { get; set; } + + /// + /// The virtual local area network (VLAN) identifier used to connect to the uplink (only access mode is supported). + /// + [Input("uplinkVlan")] + public Input? UplinkVlan { get; set; } + + public AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticGetArgs() + { + } + public static new AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticGetArgs Empty => new AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticGetArgs(); + } +} diff --git a/sdk/dotnet/ComputeCloud/Inputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArgs.cs b/sdk/dotnet/ComputeCloud/Inputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArgs.cs new file mode 100644 index 0000000000..9ed82b8876 --- /dev/null +++ b/sdk/dotnet/ComputeCloud/Inputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.ComputeCloud.Inputs +{ + + public sealed class AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArgs : global::Pulumi.ResourceArgs + { + /// + /// Hostname for interface to the management node. + /// + [Input("hostname")] + public Input? Hostname { get; set; } + + /// + /// Address of the management node. + /// + [Input("ip")] + public Input? Ip { get; set; } + + public AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArgs() + { + } + public static new AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArgs Empty => new AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArgs(); + } +} diff --git a/sdk/dotnet/ComputeCloud/Inputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeGetArgs.cs b/sdk/dotnet/ComputeCloud/Inputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeGetArgs.cs new file mode 100644 index 0000000000..161299ba6b --- /dev/null +++ b/sdk/dotnet/ComputeCloud/Inputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeGetArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.ComputeCloud.Inputs +{ + + public sealed class AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeGetArgs : global::Pulumi.ResourceArgs + { + /// + /// Hostname for interface to the management node. + /// + [Input("hostname")] + public Input? Hostname { get; set; } + + /// + /// Address of the management node. + /// + [Input("ip")] + public Input? Ip { get; set; } + + public AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeGetArgs() + { + } + public static new AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeGetArgs Empty => new AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeGetArgs(); + } +} diff --git a/sdk/dotnet/ComputeCloud/Inputs/AtCustomerCccInfrastructureUpgradeInformationArgs.cs b/sdk/dotnet/ComputeCloud/Inputs/AtCustomerCccInfrastructureUpgradeInformationArgs.cs new file mode 100644 index 0000000000..995c8578b9 --- /dev/null +++ b/sdk/dotnet/ComputeCloud/Inputs/AtCustomerCccInfrastructureUpgradeInformationArgs.cs @@ -0,0 +1,44 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.ComputeCloud.Inputs +{ + + public sealed class AtCustomerCccInfrastructureUpgradeInformationArgs : global::Pulumi.ResourceArgs + { + /// + /// The current version of software installed on the Compute Cloud@Customer infrastructure. + /// + [Input("currentVersion")] + public Input? CurrentVersion { get; set; } + + /// + /// Indication that the Compute Cloud@Customer infrastructure is in the process of an upgrade or an upgrade activity (such as preloading upgrade images). + /// + [Input("isActive")] + public Input? IsActive { get; set; } + + /// + /// Expected duration of Compute Cloud@Customer infrastructure scheduled upgrade. The actual upgrade time might be longer or shorter than this duration depending on rack activity, this is only an estimate. + /// + [Input("scheduledUpgradeDuration")] + public Input? ScheduledUpgradeDuration { get; set; } + + /// + /// Compute Cloud@Customer infrastructure next upgrade time. The rack might have performance impacts during this time. + /// + [Input("timeOfScheduledUpgrade")] + public Input? TimeOfScheduledUpgrade { get; set; } + + public AtCustomerCccInfrastructureUpgradeInformationArgs() + { + } + public static new AtCustomerCccInfrastructureUpgradeInformationArgs Empty => new AtCustomerCccInfrastructureUpgradeInformationArgs(); + } +} diff --git a/sdk/dotnet/ComputeCloud/Inputs/AtCustomerCccInfrastructureUpgradeInformationGetArgs.cs b/sdk/dotnet/ComputeCloud/Inputs/AtCustomerCccInfrastructureUpgradeInformationGetArgs.cs new file mode 100644 index 0000000000..ab7873b841 --- /dev/null +++ b/sdk/dotnet/ComputeCloud/Inputs/AtCustomerCccInfrastructureUpgradeInformationGetArgs.cs @@ -0,0 +1,44 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.ComputeCloud.Inputs +{ + + public sealed class AtCustomerCccInfrastructureUpgradeInformationGetArgs : global::Pulumi.ResourceArgs + { + /// + /// The current version of software installed on the Compute Cloud@Customer infrastructure. + /// + [Input("currentVersion")] + public Input? CurrentVersion { get; set; } + + /// + /// Indication that the Compute Cloud@Customer infrastructure is in the process of an upgrade or an upgrade activity (such as preloading upgrade images). + /// + [Input("isActive")] + public Input? IsActive { get; set; } + + /// + /// Expected duration of Compute Cloud@Customer infrastructure scheduled upgrade. The actual upgrade time might be longer or shorter than this duration depending on rack activity, this is only an estimate. + /// + [Input("scheduledUpgradeDuration")] + public Input? ScheduledUpgradeDuration { get; set; } + + /// + /// Compute Cloud@Customer infrastructure next upgrade time. The rack might have performance impacts during this time. + /// + [Input("timeOfScheduledUpgrade")] + public Input? TimeOfScheduledUpgrade { get; set; } + + public AtCustomerCccInfrastructureUpgradeInformationGetArgs() + { + } + public static new AtCustomerCccInfrastructureUpgradeInformationGetArgs Empty => new AtCustomerCccInfrastructureUpgradeInformationGetArgs(); + } +} diff --git a/sdk/dotnet/ComputeCloud/Inputs/AtCustomerCccUpgradeScheduleEventArgs.cs b/sdk/dotnet/ComputeCloud/Inputs/AtCustomerCccUpgradeScheduleEventArgs.cs new file mode 100644 index 0000000000..e7b13f7597 --- /dev/null +++ b/sdk/dotnet/ComputeCloud/Inputs/AtCustomerCccUpgradeScheduleEventArgs.cs @@ -0,0 +1,50 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.ComputeCloud.Inputs +{ + + public sealed class AtCustomerCccUpgradeScheduleEventArgs : global::Pulumi.ResourceArgs + { + /// + /// (Updatable) A description of the Compute Cloud@Customer upgrade schedule time block. + /// + [Input("description", required: true)] + public Input Description { get; set; } = null!; + + /// + /// Generated name associated with the event. + /// + [Input("name")] + public Input? Name { get; set; } + + /// + /// (Updatable) The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations. + /// + [Input("scheduleEventDuration", required: true)] + public Input ScheduleEventDuration { get; set; } = null!; + + /// + /// (Updatable) Frequency of recurrence of schedule block. When this field is not included, the event is assumed to be a one time occurrence. The frequency field is strictly parsed and must conform to RFC-5545 formatting for recurrences. + /// + [Input("scheduleEventRecurrences")] + public Input? ScheduleEventRecurrences { get; set; } + + /// + /// (Updatable) The date and time when the Compute Cloud@Customer upgrade schedule event starts, inclusive. An RFC3339 formatted UTC datetime string. For an event with recurrences, this is the date that a recurrence can start being applied. + /// + [Input("timeStart", required: true)] + public Input TimeStart { get; set; } = null!; + + public AtCustomerCccUpgradeScheduleEventArgs() + { + } + public static new AtCustomerCccUpgradeScheduleEventArgs Empty => new AtCustomerCccUpgradeScheduleEventArgs(); + } +} diff --git a/sdk/dotnet/ComputeCloud/Inputs/AtCustomerCccUpgradeScheduleEventGetArgs.cs b/sdk/dotnet/ComputeCloud/Inputs/AtCustomerCccUpgradeScheduleEventGetArgs.cs new file mode 100644 index 0000000000..f082a7af3a --- /dev/null +++ b/sdk/dotnet/ComputeCloud/Inputs/AtCustomerCccUpgradeScheduleEventGetArgs.cs @@ -0,0 +1,50 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.ComputeCloud.Inputs +{ + + public sealed class AtCustomerCccUpgradeScheduleEventGetArgs : global::Pulumi.ResourceArgs + { + /// + /// (Updatable) A description of the Compute Cloud@Customer upgrade schedule time block. + /// + [Input("description", required: true)] + public Input Description { get; set; } = null!; + + /// + /// Generated name associated with the event. + /// + [Input("name")] + public Input? Name { get; set; } + + /// + /// (Updatable) The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations. + /// + [Input("scheduleEventDuration", required: true)] + public Input ScheduleEventDuration { get; set; } = null!; + + /// + /// (Updatable) Frequency of recurrence of schedule block. When this field is not included, the event is assumed to be a one time occurrence. The frequency field is strictly parsed and must conform to RFC-5545 formatting for recurrences. + /// + [Input("scheduleEventRecurrences")] + public Input? ScheduleEventRecurrences { get; set; } + + /// + /// (Updatable) The date and time when the Compute Cloud@Customer upgrade schedule event starts, inclusive. An RFC3339 formatted UTC datetime string. For an event with recurrences, this is the date that a recurrence can start being applied. + /// + [Input("timeStart", required: true)] + public Input TimeStart { get; set; } = null!; + + public AtCustomerCccUpgradeScheduleEventGetArgs() + { + } + public static new AtCustomerCccUpgradeScheduleEventGetArgs Empty => new AtCustomerCccUpgradeScheduleEventGetArgs(); + } +} diff --git a/sdk/dotnet/ComputeCloud/Inputs/GetAtCustomerCccInfrastructuresFilter.cs b/sdk/dotnet/ComputeCloud/Inputs/GetAtCustomerCccInfrastructuresFilter.cs new file mode 100644 index 0000000000..14fd627134 --- /dev/null +++ b/sdk/dotnet/ComputeCloud/Inputs/GetAtCustomerCccInfrastructuresFilter.cs @@ -0,0 +1,34 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.ComputeCloud.Inputs +{ + + public sealed class GetAtCustomerCccInfrastructuresFilterArgs : global::Pulumi.InvokeArgs + { + [Input("name", required: true)] + public string Name { get; set; } = null!; + + [Input("regex")] + public bool? Regex { get; set; } + + [Input("values", required: true)] + private List? _values; + public List Values + { + get => _values ?? (_values = new List()); + set => _values = value; + } + + public GetAtCustomerCccInfrastructuresFilterArgs() + { + } + public static new GetAtCustomerCccInfrastructuresFilterArgs Empty => new GetAtCustomerCccInfrastructuresFilterArgs(); + } +} diff --git a/sdk/dotnet/ComputeCloud/Inputs/GetAtCustomerCccInfrastructuresFilterArgs.cs b/sdk/dotnet/ComputeCloud/Inputs/GetAtCustomerCccInfrastructuresFilterArgs.cs new file mode 100644 index 0000000000..3034f13250 --- /dev/null +++ b/sdk/dotnet/ComputeCloud/Inputs/GetAtCustomerCccInfrastructuresFilterArgs.cs @@ -0,0 +1,34 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.ComputeCloud.Inputs +{ + + public sealed class GetAtCustomerCccInfrastructuresFilterInputArgs : global::Pulumi.ResourceArgs + { + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + [Input("regex")] + public Input? Regex { get; set; } + + [Input("values", required: true)] + private InputList? _values; + public InputList Values + { + get => _values ?? (_values = new InputList()); + set => _values = value; + } + + public GetAtCustomerCccInfrastructuresFilterInputArgs() + { + } + public static new GetAtCustomerCccInfrastructuresFilterInputArgs Empty => new GetAtCustomerCccInfrastructuresFilterInputArgs(); + } +} diff --git a/sdk/dotnet/ComputeCloud/Inputs/GetAtCustomerCccUpgradeSchedulesFilter.cs b/sdk/dotnet/ComputeCloud/Inputs/GetAtCustomerCccUpgradeSchedulesFilter.cs new file mode 100644 index 0000000000..c57e84e875 --- /dev/null +++ b/sdk/dotnet/ComputeCloud/Inputs/GetAtCustomerCccUpgradeSchedulesFilter.cs @@ -0,0 +1,37 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.ComputeCloud.Inputs +{ + + public sealed class GetAtCustomerCccUpgradeSchedulesFilterArgs : global::Pulumi.InvokeArgs + { + /// + /// Generated name associated with the event. + /// + [Input("name", required: true)] + public string Name { get; set; } = null!; + + [Input("regex")] + public bool? Regex { get; set; } + + [Input("values", required: true)] + private List? _values; + public List Values + { + get => _values ?? (_values = new List()); + set => _values = value; + } + + public GetAtCustomerCccUpgradeSchedulesFilterArgs() + { + } + public static new GetAtCustomerCccUpgradeSchedulesFilterArgs Empty => new GetAtCustomerCccUpgradeSchedulesFilterArgs(); + } +} diff --git a/sdk/dotnet/ComputeCloud/Inputs/GetAtCustomerCccUpgradeSchedulesFilterArgs.cs b/sdk/dotnet/ComputeCloud/Inputs/GetAtCustomerCccUpgradeSchedulesFilterArgs.cs new file mode 100644 index 0000000000..f7444c36b5 --- /dev/null +++ b/sdk/dotnet/ComputeCloud/Inputs/GetAtCustomerCccUpgradeSchedulesFilterArgs.cs @@ -0,0 +1,37 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.ComputeCloud.Inputs +{ + + public sealed class GetAtCustomerCccUpgradeSchedulesFilterInputArgs : global::Pulumi.ResourceArgs + { + /// + /// Generated name associated with the event. + /// + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + [Input("regex")] + public Input? Regex { get; set; } + + [Input("values", required: true)] + private InputList? _values; + public InputList Values + { + get => _values ?? (_values = new InputList()); + set => _values = value; + } + + public GetAtCustomerCccUpgradeSchedulesFilterInputArgs() + { + } + public static new GetAtCustomerCccUpgradeSchedulesFilterInputArgs Empty => new GetAtCustomerCccUpgradeSchedulesFilterInputArgs(); + } +} diff --git a/sdk/dotnet/ComputeCloud/Outputs/AtCustomerCccInfrastructureInfrastructureInventory.cs b/sdk/dotnet/ComputeCloud/Outputs/AtCustomerCccInfrastructureInfrastructureInventory.cs new file mode 100644 index 0000000000..d91c91dada --- /dev/null +++ b/sdk/dotnet/ComputeCloud/Outputs/AtCustomerCccInfrastructureInfrastructureInventory.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.ComputeCloud.Outputs +{ + + [OutputType] + public sealed class AtCustomerCccInfrastructureInfrastructureInventory + { + /// + /// The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for capacity storage. + /// + public readonly int? CapacityStorageTrayCount; + /// + /// The number of compute nodes that are available and usable on the Compute Cloud@Customer infrastructure rack. There is no distinction of compute node type in this information. + /// + public readonly int? ComputeNodeCount; + /// + /// The number of management nodes that are available and in active use on the Compute Cloud@Customer infrastructure rack. + /// + public readonly int? ManagementNodeCount; + /// + /// The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for performance storage. + /// + public readonly int? PerformanceStorageTrayCount; + /// + /// The serial number of the Compute Cloud@Customer infrastructure rack. + /// + public readonly string? SerialNumber; + + [OutputConstructor] + private AtCustomerCccInfrastructureInfrastructureInventory( + int? capacityStorageTrayCount, + + int? computeNodeCount, + + int? managementNodeCount, + + int? performanceStorageTrayCount, + + string? serialNumber) + { + CapacityStorageTrayCount = capacityStorageTrayCount; + ComputeNodeCount = computeNodeCount; + ManagementNodeCount = managementNodeCount; + PerformanceStorageTrayCount = performanceStorageTrayCount; + SerialNumber = serialNumber; + } + } +} diff --git a/sdk/dotnet/ComputeCloud/Outputs/AtCustomerCccInfrastructureInfrastructureNetworkConfiguration.cs b/sdk/dotnet/ComputeCloud/Outputs/AtCustomerCccInfrastructureInfrastructureNetworkConfiguration.cs new file mode 100644 index 0000000000..e92f8fcf2a --- /dev/null +++ b/sdk/dotnet/ComputeCloud/Outputs/AtCustomerCccInfrastructureInfrastructureNetworkConfiguration.cs @@ -0,0 +1,126 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.ComputeCloud.Outputs +{ + + [OutputType] + public sealed class AtCustomerCccInfrastructureInfrastructureNetworkConfiguration + { + /// + /// The domain name system (DNS) addresses that the Compute Cloud@Customer infrastructure uses for the data center network. + /// + public readonly ImmutableArray DnsIps; + /// + /// Dynamic routing information for the Compute Cloud@Customer infrastructure. + /// + public readonly ImmutableArray InfrastructureRoutingDynamics; + /// + /// Static routing information for a rack. + /// + public readonly ImmutableArray InfrastructureRoutingStatics; + /// + /// Information about the management nodes that are provisioned in the Compute Cloud@Customer infrastructure. + /// + public readonly ImmutableArray ManagementNodes; + /// + /// The hostname corresponding to the virtual IP (VIP) address of the management nodes. + /// + public readonly string? MgmtVipHostname; + /// + /// The IP address used as the virtual IP (VIP) address of the management nodes. + /// + public readonly string? MgmtVipIp; + /// + /// Addresses of the network spine switches. + /// + public readonly ImmutableArray SpineIps; + /// + /// The spine switch public virtual IP (VIP). Traffic routed to the Compute Cloud@Customer infrastructure and and virtual cloud networks (VCNs) should have this address as next hop. + /// + public readonly string? SpineVip; + /// + /// Domain name to be used as the base domain for the internal network and by public facing services. + /// + public readonly string? UplinkDomain; + /// + /// Uplink gateway in the datacenter network that the Compute Cloud@Customer connects to. + /// + public readonly string? UplinkGatewayIp; + /// + /// Netmask of the subnet that the Compute Cloud@Customer infrastructure is connected to. + /// + public readonly string? UplinkNetmask; + /// + /// Number of uplink ports per spine switch. Connectivity is identical on both spine switches. For example, if input is two 100 gigabyte ports; then port-1 and port-2 on both spines will be configured. + /// + public readonly int? UplinkPortCount; + /// + /// The port forward error correction (FEC) setting for the uplink port on the Compute Cloud@Customer infrastructure. + /// + public readonly string? UplinkPortForwardErrorCorrection; + /// + /// Uplink port speed defined in gigabytes per second. All uplink ports must have identical speed. + /// + public readonly int? UplinkPortSpeedInGbps; + /// + /// The virtual local area network (VLAN) maximum transmission unit (MTU) size for the uplink ports. + /// + public readonly int? UplinkVlanMtu; + + [OutputConstructor] + private AtCustomerCccInfrastructureInfrastructureNetworkConfiguration( + ImmutableArray dnsIps, + + ImmutableArray infrastructureRoutingDynamics, + + ImmutableArray infrastructureRoutingStatics, + + ImmutableArray managementNodes, + + string? mgmtVipHostname, + + string? mgmtVipIp, + + ImmutableArray spineIps, + + string? spineVip, + + string? uplinkDomain, + + string? uplinkGatewayIp, + + string? uplinkNetmask, + + int? uplinkPortCount, + + string? uplinkPortForwardErrorCorrection, + + int? uplinkPortSpeedInGbps, + + int? uplinkVlanMtu) + { + DnsIps = dnsIps; + InfrastructureRoutingDynamics = infrastructureRoutingDynamics; + InfrastructureRoutingStatics = infrastructureRoutingStatics; + ManagementNodes = managementNodes; + MgmtVipHostname = mgmtVipHostname; + MgmtVipIp = mgmtVipIp; + SpineIps = spineIps; + SpineVip = spineVip; + UplinkDomain = uplinkDomain; + UplinkGatewayIp = uplinkGatewayIp; + UplinkNetmask = uplinkNetmask; + UplinkPortCount = uplinkPortCount; + UplinkPortForwardErrorCorrection = uplinkPortForwardErrorCorrection; + UplinkPortSpeedInGbps = uplinkPortSpeedInGbps; + UplinkVlanMtu = uplinkVlanMtu; + } + } +} diff --git a/sdk/dotnet/ComputeCloud/Outputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic.cs b/sdk/dotnet/ComputeCloud/Outputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic.cs new file mode 100644 index 0000000000..cd1b4aab21 --- /dev/null +++ b/sdk/dotnet/ComputeCloud/Outputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.ComputeCloud.Outputs +{ + + [OutputType] + public sealed class AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic + { + /// + /// The topology in use for the Border Gateway Protocol (BGP) configuration. + /// + public readonly string? BgpTopology; + /// + /// The Oracle Autonomous System Number (ASN) to control routing and exchange information within the dynamic routing configuration. + /// + public readonly int? OracleAsn; + /// + /// The list of peer devices in the dynamic routing configuration. + /// + public readonly ImmutableArray PeerInformations; + + [OutputConstructor] + private AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic( + string? bgpTopology, + + int? oracleAsn, + + ImmutableArray peerInformations) + { + BgpTopology = bgpTopology; + OracleAsn = oracleAsn; + PeerInformations = peerInformations; + } + } +} diff --git a/sdk/dotnet/ComputeCloud/Outputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation.cs b/sdk/dotnet/ComputeCloud/Outputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation.cs new file mode 100644 index 0000000000..d6863b6123 --- /dev/null +++ b/sdk/dotnet/ComputeCloud/Outputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.ComputeCloud.Outputs +{ + + [OutputType] + public sealed class AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation + { + /// + /// The Autonomous System Number (ASN) of the peer network. + /// + public readonly int? Asn; + /// + /// Address of the management node. + /// + public readonly string? Ip; + + [OutputConstructor] + private AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation( + int? asn, + + string? ip) + { + Asn = asn; + Ip = ip; + } + } +} diff --git a/sdk/dotnet/ComputeCloud/Outputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic.cs b/sdk/dotnet/ComputeCloud/Outputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic.cs new file mode 100644 index 0000000000..34020bc77f --- /dev/null +++ b/sdk/dotnet/ComputeCloud/Outputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.ComputeCloud.Outputs +{ + + [OutputType] + public sealed class AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic + { + /// + /// The uplink Hot Standby Router Protocol (HSRP) group value for the switch in the Compute Cloud@Customer infrastructure. + /// + public readonly int? UplinkHsrpGroup; + /// + /// The virtual local area network (VLAN) identifier used to connect to the uplink (only access mode is supported). + /// + public readonly int? UplinkVlan; + + [OutputConstructor] + private AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic( + int? uplinkHsrpGroup, + + int? uplinkVlan) + { + UplinkHsrpGroup = uplinkHsrpGroup; + UplinkVlan = uplinkVlan; + } + } +} diff --git a/sdk/dotnet/ComputeCloud/Outputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode.cs b/sdk/dotnet/ComputeCloud/Outputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode.cs new file mode 100644 index 0000000000..3104844613 --- /dev/null +++ b/sdk/dotnet/ComputeCloud/Outputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.ComputeCloud.Outputs +{ + + [OutputType] + public sealed class AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode + { + /// + /// Hostname for interface to the management node. + /// + public readonly string? Hostname; + /// + /// Address of the management node. + /// + public readonly string? Ip; + + [OutputConstructor] + private AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode( + string? hostname, + + string? ip) + { + Hostname = hostname; + Ip = ip; + } + } +} diff --git a/sdk/dotnet/ComputeCloud/Outputs/AtCustomerCccInfrastructureUpgradeInformation.cs b/sdk/dotnet/ComputeCloud/Outputs/AtCustomerCccInfrastructureUpgradeInformation.cs new file mode 100644 index 0000000000..946c33e836 --- /dev/null +++ b/sdk/dotnet/ComputeCloud/Outputs/AtCustomerCccInfrastructureUpgradeInformation.cs @@ -0,0 +1,49 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.ComputeCloud.Outputs +{ + + [OutputType] + public sealed class AtCustomerCccInfrastructureUpgradeInformation + { + /// + /// The current version of software installed on the Compute Cloud@Customer infrastructure. + /// + public readonly string? CurrentVersion; + /// + /// Indication that the Compute Cloud@Customer infrastructure is in the process of an upgrade or an upgrade activity (such as preloading upgrade images). + /// + public readonly bool? IsActive; + /// + /// Expected duration of Compute Cloud@Customer infrastructure scheduled upgrade. The actual upgrade time might be longer or shorter than this duration depending on rack activity, this is only an estimate. + /// + public readonly string? ScheduledUpgradeDuration; + /// + /// Compute Cloud@Customer infrastructure next upgrade time. The rack might have performance impacts during this time. + /// + public readonly string? TimeOfScheduledUpgrade; + + [OutputConstructor] + private AtCustomerCccInfrastructureUpgradeInformation( + string? currentVersion, + + bool? isActive, + + string? scheduledUpgradeDuration, + + string? timeOfScheduledUpgrade) + { + CurrentVersion = currentVersion; + IsActive = isActive; + ScheduledUpgradeDuration = scheduledUpgradeDuration; + TimeOfScheduledUpgrade = timeOfScheduledUpgrade; + } + } +} diff --git a/sdk/dotnet/ComputeCloud/Outputs/AtCustomerCccUpgradeScheduleEvent.cs b/sdk/dotnet/ComputeCloud/Outputs/AtCustomerCccUpgradeScheduleEvent.cs new file mode 100644 index 0000000000..c447110ce7 --- /dev/null +++ b/sdk/dotnet/ComputeCloud/Outputs/AtCustomerCccUpgradeScheduleEvent.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.ComputeCloud.Outputs +{ + + [OutputType] + public sealed class AtCustomerCccUpgradeScheduleEvent + { + /// + /// (Updatable) A description of the Compute Cloud@Customer upgrade schedule time block. + /// + public readonly string Description; + /// + /// Generated name associated with the event. + /// + public readonly string? Name; + /// + /// (Updatable) The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations. + /// + public readonly string ScheduleEventDuration; + /// + /// (Updatable) Frequency of recurrence of schedule block. When this field is not included, the event is assumed to be a one time occurrence. The frequency field is strictly parsed and must conform to RFC-5545 formatting for recurrences. + /// + public readonly string? ScheduleEventRecurrences; + /// + /// (Updatable) The date and time when the Compute Cloud@Customer upgrade schedule event starts, inclusive. An RFC3339 formatted UTC datetime string. For an event with recurrences, this is the date that a recurrence can start being applied. + /// + public readonly string TimeStart; + + [OutputConstructor] + private AtCustomerCccUpgradeScheduleEvent( + string description, + + string? name, + + string scheduleEventDuration, + + string? scheduleEventRecurrences, + + string timeStart) + { + Description = description; + Name = name; + ScheduleEventDuration = scheduleEventDuration; + ScheduleEventRecurrences = scheduleEventRecurrences; + TimeStart = timeStart; + } + } +} diff --git a/sdk/dotnet/ComputeCloud/Outputs/GetAtCustomerCccInfrastructureInfrastructureInventoryResult.cs b/sdk/dotnet/ComputeCloud/Outputs/GetAtCustomerCccInfrastructureInfrastructureInventoryResult.cs new file mode 100644 index 0000000000..596add78a5 --- /dev/null +++ b/sdk/dotnet/ComputeCloud/Outputs/GetAtCustomerCccInfrastructureInfrastructureInventoryResult.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.ComputeCloud.Outputs +{ + + [OutputType] + public sealed class GetAtCustomerCccInfrastructureInfrastructureInventoryResult + { + /// + /// The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for capacity storage. + /// + public readonly int CapacityStorageTrayCount; + /// + /// The number of compute nodes that are available and usable on the Compute Cloud@Customer infrastructure rack. There is no distinction of compute node type in this information. + /// + public readonly int ComputeNodeCount; + /// + /// The number of management nodes that are available and in active use on the Compute Cloud@Customer infrastructure rack. + /// + public readonly int ManagementNodeCount; + /// + /// The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for performance storage. + /// + public readonly int PerformanceStorageTrayCount; + /// + /// The serial number of the Compute Cloud@Customer infrastructure rack. + /// + public readonly string SerialNumber; + + [OutputConstructor] + private GetAtCustomerCccInfrastructureInfrastructureInventoryResult( + int capacityStorageTrayCount, + + int computeNodeCount, + + int managementNodeCount, + + int performanceStorageTrayCount, + + string serialNumber) + { + CapacityStorageTrayCount = capacityStorageTrayCount; + ComputeNodeCount = computeNodeCount; + ManagementNodeCount = managementNodeCount; + PerformanceStorageTrayCount = performanceStorageTrayCount; + SerialNumber = serialNumber; + } + } +} diff --git a/sdk/dotnet/ComputeCloud/Outputs/GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationResult.cs b/sdk/dotnet/ComputeCloud/Outputs/GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationResult.cs new file mode 100644 index 0000000000..b55c47a6d0 --- /dev/null +++ b/sdk/dotnet/ComputeCloud/Outputs/GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.ComputeCloud.Outputs +{ + + [OutputType] + public sealed class GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationResult + { + /// + /// The Autonomous System Number (ASN) of the peer network. + /// + public readonly int Asn; + /// + /// Address of the management node. + /// + public readonly string Ip; + + [OutputConstructor] + private GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationResult( + int asn, + + string ip) + { + Asn = asn; + Ip = ip; + } + } +} diff --git a/sdk/dotnet/ComputeCloud/Outputs/GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicResult.cs b/sdk/dotnet/ComputeCloud/Outputs/GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicResult.cs new file mode 100644 index 0000000000..6c20356eee --- /dev/null +++ b/sdk/dotnet/ComputeCloud/Outputs/GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicResult.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.ComputeCloud.Outputs +{ + + [OutputType] + public sealed class GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicResult + { + /// + /// The topology in use for the Border Gateway Protocol (BGP) configuration. + /// + public readonly string BgpTopology; + /// + /// The Oracle Autonomous System Number (ASN) to control routing and exchange information within the dynamic routing configuration. + /// + public readonly int OracleAsn; + /// + /// The list of peer devices in the dynamic routing configuration. + /// + public readonly ImmutableArray PeerInformations; + + [OutputConstructor] + private GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicResult( + string bgpTopology, + + int oracleAsn, + + ImmutableArray peerInformations) + { + BgpTopology = bgpTopology; + OracleAsn = oracleAsn; + PeerInformations = peerInformations; + } + } +} diff --git a/sdk/dotnet/ComputeCloud/Outputs/GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticResult.cs b/sdk/dotnet/ComputeCloud/Outputs/GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticResult.cs new file mode 100644 index 0000000000..133ab098f3 --- /dev/null +++ b/sdk/dotnet/ComputeCloud/Outputs/GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.ComputeCloud.Outputs +{ + + [OutputType] + public sealed class GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticResult + { + /// + /// The uplink Hot Standby Router Protocol (HSRP) group value for the switch in the Compute Cloud@Customer infrastructure. + /// + public readonly int UplinkHsrpGroup; + /// + /// The virtual local area network (VLAN) identifier used to connect to the uplink (only access mode is supported). + /// + public readonly int UplinkVlan; + + [OutputConstructor] + private GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticResult( + int uplinkHsrpGroup, + + int uplinkVlan) + { + UplinkHsrpGroup = uplinkHsrpGroup; + UplinkVlan = uplinkVlan; + } + } +} diff --git a/sdk/dotnet/ComputeCloud/Outputs/GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeResult.cs b/sdk/dotnet/ComputeCloud/Outputs/GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeResult.cs new file mode 100644 index 0000000000..d8a71e8cea --- /dev/null +++ b/sdk/dotnet/ComputeCloud/Outputs/GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.ComputeCloud.Outputs +{ + + [OutputType] + public sealed class GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeResult + { + /// + /// Hostname for interface to the management node. + /// + public readonly string Hostname; + /// + /// Address of the management node. + /// + public readonly string Ip; + + [OutputConstructor] + private GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeResult( + string hostname, + + string ip) + { + Hostname = hostname; + Ip = ip; + } + } +} diff --git a/sdk/dotnet/ComputeCloud/Outputs/GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationResult.cs b/sdk/dotnet/ComputeCloud/Outputs/GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationResult.cs new file mode 100644 index 0000000000..230065eef1 --- /dev/null +++ b/sdk/dotnet/ComputeCloud/Outputs/GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationResult.cs @@ -0,0 +1,126 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.ComputeCloud.Outputs +{ + + [OutputType] + public sealed class GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationResult + { + /// + /// The domain name system (DNS) addresses that the Compute Cloud@Customer infrastructure uses for the data center network. + /// + public readonly ImmutableArray DnsIps; + /// + /// Dynamic routing information for the Compute Cloud@Customer infrastructure. + /// + public readonly ImmutableArray InfrastructureRoutingDynamics; + /// + /// Static routing information for a rack. + /// + public readonly ImmutableArray InfrastructureRoutingStatics; + /// + /// Information about the management nodes that are provisioned in the Compute Cloud@Customer infrastructure. + /// + public readonly ImmutableArray ManagementNodes; + /// + /// The hostname corresponding to the virtual IP (VIP) address of the management nodes. + /// + public readonly string MgmtVipHostname; + /// + /// The IP address used as the virtual IP (VIP) address of the management nodes. + /// + public readonly string MgmtVipIp; + /// + /// Addresses of the network spine switches. + /// + public readonly ImmutableArray SpineIps; + /// + /// The spine switch public virtual IP (VIP). Traffic routed to the Compute Cloud@Customer infrastructure and and virtual cloud networks (VCNs) should have this address as next hop. + /// + public readonly string SpineVip; + /// + /// Domain name to be used as the base domain for the internal network and by public facing services. + /// + public readonly string UplinkDomain; + /// + /// Uplink gateway in the datacenter network that the Compute Cloud@Customer connects to. + /// + public readonly string UplinkGatewayIp; + /// + /// Netmask of the subnet that the Compute Cloud@Customer infrastructure is connected to. + /// + public readonly string UplinkNetmask; + /// + /// Number of uplink ports per spine switch. Connectivity is identical on both spine switches. For example, if input is two 100 gigabyte ports; then port-1 and port-2 on both spines will be configured. + /// + public readonly int UplinkPortCount; + /// + /// The port forward error correction (FEC) setting for the uplink port on the Compute Cloud@Customer infrastructure. + /// + public readonly string UplinkPortForwardErrorCorrection; + /// + /// Uplink port speed defined in gigabytes per second. All uplink ports must have identical speed. + /// + public readonly int UplinkPortSpeedInGbps; + /// + /// The virtual local area network (VLAN) maximum transmission unit (MTU) size for the uplink ports. + /// + public readonly int UplinkVlanMtu; + + [OutputConstructor] + private GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationResult( + ImmutableArray dnsIps, + + ImmutableArray infrastructureRoutingDynamics, + + ImmutableArray infrastructureRoutingStatics, + + ImmutableArray managementNodes, + + string mgmtVipHostname, + + string mgmtVipIp, + + ImmutableArray spineIps, + + string spineVip, + + string uplinkDomain, + + string uplinkGatewayIp, + + string uplinkNetmask, + + int uplinkPortCount, + + string uplinkPortForwardErrorCorrection, + + int uplinkPortSpeedInGbps, + + int uplinkVlanMtu) + { + DnsIps = dnsIps; + InfrastructureRoutingDynamics = infrastructureRoutingDynamics; + InfrastructureRoutingStatics = infrastructureRoutingStatics; + ManagementNodes = managementNodes; + MgmtVipHostname = mgmtVipHostname; + MgmtVipIp = mgmtVipIp; + SpineIps = spineIps; + SpineVip = spineVip; + UplinkDomain = uplinkDomain; + UplinkGatewayIp = uplinkGatewayIp; + UplinkNetmask = uplinkNetmask; + UplinkPortCount = uplinkPortCount; + UplinkPortForwardErrorCorrection = uplinkPortForwardErrorCorrection; + UplinkPortSpeedInGbps = uplinkPortSpeedInGbps; + UplinkVlanMtu = uplinkVlanMtu; + } + } +} diff --git a/sdk/dotnet/ComputeCloud/Outputs/GetAtCustomerCccInfrastructureUpgradeInformationResult.cs b/sdk/dotnet/ComputeCloud/Outputs/GetAtCustomerCccInfrastructureUpgradeInformationResult.cs new file mode 100644 index 0000000000..445405d80e --- /dev/null +++ b/sdk/dotnet/ComputeCloud/Outputs/GetAtCustomerCccInfrastructureUpgradeInformationResult.cs @@ -0,0 +1,49 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.ComputeCloud.Outputs +{ + + [OutputType] + public sealed class GetAtCustomerCccInfrastructureUpgradeInformationResult + { + /// + /// The current version of software installed on the Compute Cloud@Customer infrastructure. + /// + public readonly string CurrentVersion; + /// + /// Indication that the Compute Cloud@Customer infrastructure is in the process of an upgrade or an upgrade activity (such as preloading upgrade images). + /// + public readonly bool IsActive; + /// + /// Expected duration of Compute Cloud@Customer infrastructure scheduled upgrade. The actual upgrade time might be longer or shorter than this duration depending on rack activity, this is only an estimate. + /// + public readonly string ScheduledUpgradeDuration; + /// + /// Compute Cloud@Customer infrastructure next upgrade time. The rack might have performance impacts during this time. + /// + public readonly string TimeOfScheduledUpgrade; + + [OutputConstructor] + private GetAtCustomerCccInfrastructureUpgradeInformationResult( + string currentVersion, + + bool isActive, + + string scheduledUpgradeDuration, + + string timeOfScheduledUpgrade) + { + CurrentVersion = currentVersion; + IsActive = isActive; + ScheduledUpgradeDuration = scheduledUpgradeDuration; + TimeOfScheduledUpgrade = timeOfScheduledUpgrade; + } + } +} diff --git a/sdk/dotnet/ComputeCloud/Outputs/GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryResult.cs b/sdk/dotnet/ComputeCloud/Outputs/GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryResult.cs new file mode 100644 index 0000000000..a541fbfc16 --- /dev/null +++ b/sdk/dotnet/ComputeCloud/Outputs/GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryResult.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.ComputeCloud.Outputs +{ + + [OutputType] + public sealed class GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryResult + { + /// + /// The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for capacity storage. + /// + public readonly int CapacityStorageTrayCount; + /// + /// The number of compute nodes that are available and usable on the Compute Cloud@Customer infrastructure rack. There is no distinction of compute node type in this information. + /// + public readonly int ComputeNodeCount; + /// + /// The number of management nodes that are available and in active use on the Compute Cloud@Customer infrastructure rack. + /// + public readonly int ManagementNodeCount; + /// + /// The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for performance storage. + /// + public readonly int PerformanceStorageTrayCount; + /// + /// The serial number of the Compute Cloud@Customer infrastructure rack. + /// + public readonly string SerialNumber; + + [OutputConstructor] + private GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryResult( + int capacityStorageTrayCount, + + int computeNodeCount, + + int managementNodeCount, + + int performanceStorageTrayCount, + + string serialNumber) + { + CapacityStorageTrayCount = capacityStorageTrayCount; + ComputeNodeCount = computeNodeCount; + ManagementNodeCount = managementNodeCount; + PerformanceStorageTrayCount = performanceStorageTrayCount; + SerialNumber = serialNumber; + } + } +} diff --git a/sdk/dotnet/ComputeCloud/Outputs/GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationResult.cs b/sdk/dotnet/ComputeCloud/Outputs/GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationResult.cs new file mode 100644 index 0000000000..b48f200e7c --- /dev/null +++ b/sdk/dotnet/ComputeCloud/Outputs/GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.ComputeCloud.Outputs +{ + + [OutputType] + public sealed class GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationResult + { + /// + /// The Autonomous System Number (ASN) of the peer network. + /// + public readonly int Asn; + /// + /// Address of the management node. + /// + public readonly string Ip; + + [OutputConstructor] + private GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationResult( + int asn, + + string ip) + { + Asn = asn; + Ip = ip; + } + } +} diff --git a/sdk/dotnet/ComputeCloud/Outputs/GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicResult.cs b/sdk/dotnet/ComputeCloud/Outputs/GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicResult.cs new file mode 100644 index 0000000000..d0f8c8d5d1 --- /dev/null +++ b/sdk/dotnet/ComputeCloud/Outputs/GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicResult.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.ComputeCloud.Outputs +{ + + [OutputType] + public sealed class GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicResult + { + /// + /// The topology in use for the Border Gateway Protocol (BGP) configuration. + /// + public readonly string BgpTopology; + /// + /// The Oracle Autonomous System Number (ASN) to control routing and exchange information within the dynamic routing configuration. + /// + public readonly int OracleAsn; + /// + /// The list of peer devices in the dynamic routing configuration. + /// + public readonly ImmutableArray PeerInformations; + + [OutputConstructor] + private GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicResult( + string bgpTopology, + + int oracleAsn, + + ImmutableArray peerInformations) + { + BgpTopology = bgpTopology; + OracleAsn = oracleAsn; + PeerInformations = peerInformations; + } + } +} diff --git a/sdk/dotnet/ComputeCloud/Outputs/GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticResult.cs b/sdk/dotnet/ComputeCloud/Outputs/GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticResult.cs new file mode 100644 index 0000000000..74a37755e7 --- /dev/null +++ b/sdk/dotnet/ComputeCloud/Outputs/GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.ComputeCloud.Outputs +{ + + [OutputType] + public sealed class GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticResult + { + /// + /// The uplink Hot Standby Router Protocol (HSRP) group value for the switch in the Compute Cloud@Customer infrastructure. + /// + public readonly int UplinkHsrpGroup; + /// + /// The virtual local area network (VLAN) identifier used to connect to the uplink (only access mode is supported). + /// + public readonly int UplinkVlan; + + [OutputConstructor] + private GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticResult( + int uplinkHsrpGroup, + + int uplinkVlan) + { + UplinkHsrpGroup = uplinkHsrpGroup; + UplinkVlan = uplinkVlan; + } + } +} diff --git a/sdk/dotnet/ComputeCloud/Outputs/GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeResult.cs b/sdk/dotnet/ComputeCloud/Outputs/GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeResult.cs new file mode 100644 index 0000000000..d524380474 --- /dev/null +++ b/sdk/dotnet/ComputeCloud/Outputs/GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.ComputeCloud.Outputs +{ + + [OutputType] + public sealed class GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeResult + { + /// + /// Hostname for interface to the management node. + /// + public readonly string Hostname; + /// + /// Address of the management node. + /// + public readonly string Ip; + + [OutputConstructor] + private GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeResult( + string hostname, + + string ip) + { + Hostname = hostname; + Ip = ip; + } + } +} diff --git a/sdk/dotnet/ComputeCloud/Outputs/GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationResult.cs b/sdk/dotnet/ComputeCloud/Outputs/GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationResult.cs new file mode 100644 index 0000000000..1e12a306a9 --- /dev/null +++ b/sdk/dotnet/ComputeCloud/Outputs/GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationResult.cs @@ -0,0 +1,126 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.ComputeCloud.Outputs +{ + + [OutputType] + public sealed class GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationResult + { + /// + /// The domain name system (DNS) addresses that the Compute Cloud@Customer infrastructure uses for the data center network. + /// + public readonly ImmutableArray DnsIps; + /// + /// Dynamic routing information for the Compute Cloud@Customer infrastructure. + /// + public readonly ImmutableArray InfrastructureRoutingDynamics; + /// + /// Static routing information for a rack. + /// + public readonly ImmutableArray InfrastructureRoutingStatics; + /// + /// Information about the management nodes that are provisioned in the Compute Cloud@Customer infrastructure. + /// + public readonly ImmutableArray ManagementNodes; + /// + /// The hostname corresponding to the virtual IP (VIP) address of the management nodes. + /// + public readonly string MgmtVipHostname; + /// + /// The IP address used as the virtual IP (VIP) address of the management nodes. + /// + public readonly string MgmtVipIp; + /// + /// Addresses of the network spine switches. + /// + public readonly ImmutableArray SpineIps; + /// + /// The spine switch public virtual IP (VIP). Traffic routed to the Compute Cloud@Customer infrastructure and and virtual cloud networks (VCNs) should have this address as next hop. + /// + public readonly string SpineVip; + /// + /// Domain name to be used as the base domain for the internal network and by public facing services. + /// + public readonly string UplinkDomain; + /// + /// Uplink gateway in the datacenter network that the Compute Cloud@Customer connects to. + /// + public readonly string UplinkGatewayIp; + /// + /// Netmask of the subnet that the Compute Cloud@Customer infrastructure is connected to. + /// + public readonly string UplinkNetmask; + /// + /// Number of uplink ports per spine switch. Connectivity is identical on both spine switches. For example, if input is two 100 gigabyte ports; then port-1 and port-2 on both spines will be configured. + /// + public readonly int UplinkPortCount; + /// + /// The port forward error correction (FEC) setting for the uplink port on the Compute Cloud@Customer infrastructure. + /// + public readonly string UplinkPortForwardErrorCorrection; + /// + /// Uplink port speed defined in gigabytes per second. All uplink ports must have identical speed. + /// + public readonly int UplinkPortSpeedInGbps; + /// + /// The virtual local area network (VLAN) maximum transmission unit (MTU) size for the uplink ports. + /// + public readonly int UplinkVlanMtu; + + [OutputConstructor] + private GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationResult( + ImmutableArray dnsIps, + + ImmutableArray infrastructureRoutingDynamics, + + ImmutableArray infrastructureRoutingStatics, + + ImmutableArray managementNodes, + + string mgmtVipHostname, + + string mgmtVipIp, + + ImmutableArray spineIps, + + string spineVip, + + string uplinkDomain, + + string uplinkGatewayIp, + + string uplinkNetmask, + + int uplinkPortCount, + + string uplinkPortForwardErrorCorrection, + + int uplinkPortSpeedInGbps, + + int uplinkVlanMtu) + { + DnsIps = dnsIps; + InfrastructureRoutingDynamics = infrastructureRoutingDynamics; + InfrastructureRoutingStatics = infrastructureRoutingStatics; + ManagementNodes = managementNodes; + MgmtVipHostname = mgmtVipHostname; + MgmtVipIp = mgmtVipIp; + SpineIps = spineIps; + SpineVip = spineVip; + UplinkDomain = uplinkDomain; + UplinkGatewayIp = uplinkGatewayIp; + UplinkNetmask = uplinkNetmask; + UplinkPortCount = uplinkPortCount; + UplinkPortForwardErrorCorrection = uplinkPortForwardErrorCorrection; + UplinkPortSpeedInGbps = uplinkPortSpeedInGbps; + UplinkVlanMtu = uplinkVlanMtu; + } + } +} diff --git a/sdk/dotnet/ComputeCloud/Outputs/GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemResult.cs b/sdk/dotnet/ComputeCloud/Outputs/GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemResult.cs new file mode 100644 index 0000000000..e327d96dbc --- /dev/null +++ b/sdk/dotnet/ComputeCloud/Outputs/GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemResult.cs @@ -0,0 +1,168 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.ComputeCloud.Outputs +{ + + [OutputType] + public sealed class GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemResult + { + /// + /// Schedule used for upgrades. If no schedule is associated with the infrastructure, it can be updated at any time. + /// + public readonly string CccUpgradeScheduleId; + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + /// + public readonly string CompartmentId; + /// + /// A message describing the current connection state in more detail. + /// + public readonly string ConnectionDetails; + /// + /// The current connection state of the infrastructure. A user can only update it from REQUEST to READY or from any state back to REJECT. The system automatically handles the REJECT to REQUEST, READY to CONNECTED, or CONNECTED to DISCONNECTED transitions. + /// + public readonly string ConnectionState; + /// + /// Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + /// + public readonly ImmutableDictionary DefinedTags; + /// + /// A mutable client-meaningful text description of the Compute Cloud@Customer infrastructure. Avoid entering confidential information. + /// + public readonly string Description; + /// + /// A filter to return only resources that match the entire display name given. + /// + public readonly string DisplayName; + /// + /// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + /// + public readonly ImmutableDictionary FreeformTags; + /// + /// The Compute Cloud@Customer infrastructure [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). This cannot be changed once created. + /// + public readonly string Id; + /// + /// Inventory for a Compute Cloud@Customer infrastructure. This information cannot be updated and is from the infrastructure. The information will only be available after the connectionState is transitioned to CONNECTED. + /// + public readonly ImmutableArray InfrastructureInventories; + /// + /// Configuration information for the Compute Cloud@Customer infrastructure. This network configuration information cannot be updated and is retrieved from the data center. The information will only be available after the connectionState is transitioned to CONNECTED. + /// + public readonly ImmutableArray InfrastructureNetworkConfigurations; + /// + /// A message describing the current lifecycle state in more detail. For example, this can be used to provide actionable information for a resource that is in a Failed state. + /// + public readonly string LifecycleDetails; + /// + /// Fingerprint of a Compute Cloud@Customer infrastructure in a data center generated during the initial connection to this resource. The fingerprint should be verified by the administrator when changing the connectionState from REQUEST to READY. + /// + public readonly string ProvisioningFingerprint; + /// + /// Code that is required for service personnel to connect a Compute Cloud@Customer infrastructure in a data center to this resource. This code will only be available when the connectionState is REJECT (usually at create time of the Compute Cloud@Customer infrastructure). + /// + public readonly string ProvisioningPin; + /// + /// The Compute Cloud@Customer infrastructure short name. This cannot be changed once created. The short name is used to refer to the infrastructure in several contexts and is unique. + /// + public readonly string ShortName; + /// + /// A filter used to return only resources that match the given lifecycleState. + /// + public readonly string State; + /// + /// [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the network subnet that is used to communicate with Compute Cloud@Customer infrastructure. + /// + public readonly string SubnetId; + /// + /// System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + /// + public readonly ImmutableDictionary SystemTags; + /// + /// Compute Cloud@Customer infrastructure creation date and time, using an RFC3339 formatted datetime string. + /// + public readonly string TimeCreated; + /// + /// Compute Cloud@Customer infrastructure updated date and time, using an RFC3339 formatted datetime string. + /// + public readonly string TimeUpdated; + /// + /// Upgrade information that relates to a Compute Cloud@Customer infrastructure. This information cannot be updated. + /// + public readonly ImmutableArray UpgradeInformations; + + [OutputConstructor] + private GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemResult( + string cccUpgradeScheduleId, + + string compartmentId, + + string connectionDetails, + + string connectionState, + + ImmutableDictionary definedTags, + + string description, + + string displayName, + + ImmutableDictionary freeformTags, + + string id, + + ImmutableArray infrastructureInventories, + + ImmutableArray infrastructureNetworkConfigurations, + + string lifecycleDetails, + + string provisioningFingerprint, + + string provisioningPin, + + string shortName, + + string state, + + string subnetId, + + ImmutableDictionary systemTags, + + string timeCreated, + + string timeUpdated, + + ImmutableArray upgradeInformations) + { + CccUpgradeScheduleId = cccUpgradeScheduleId; + CompartmentId = compartmentId; + ConnectionDetails = connectionDetails; + ConnectionState = connectionState; + DefinedTags = definedTags; + Description = description; + DisplayName = displayName; + FreeformTags = freeformTags; + Id = id; + InfrastructureInventories = infrastructureInventories; + InfrastructureNetworkConfigurations = infrastructureNetworkConfigurations; + LifecycleDetails = lifecycleDetails; + ProvisioningFingerprint = provisioningFingerprint; + ProvisioningPin = provisioningPin; + ShortName = shortName; + State = state; + SubnetId = subnetId; + SystemTags = systemTags; + TimeCreated = timeCreated; + TimeUpdated = timeUpdated; + UpgradeInformations = upgradeInformations; + } + } +} diff --git a/sdk/dotnet/ComputeCloud/Outputs/GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationResult.cs b/sdk/dotnet/ComputeCloud/Outputs/GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationResult.cs new file mode 100644 index 0000000000..f6141f27d7 --- /dev/null +++ b/sdk/dotnet/ComputeCloud/Outputs/GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationResult.cs @@ -0,0 +1,49 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.ComputeCloud.Outputs +{ + + [OutputType] + public sealed class GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationResult + { + /// + /// The current version of software installed on the Compute Cloud@Customer infrastructure. + /// + public readonly string CurrentVersion; + /// + /// Indication that the Compute Cloud@Customer infrastructure is in the process of an upgrade or an upgrade activity (such as preloading upgrade images). + /// + public readonly bool IsActive; + /// + /// Expected duration of Compute Cloud@Customer infrastructure scheduled upgrade. The actual upgrade time might be longer or shorter than this duration depending on rack activity, this is only an estimate. + /// + public readonly string ScheduledUpgradeDuration; + /// + /// Compute Cloud@Customer infrastructure next upgrade time. The rack might have performance impacts during this time. + /// + public readonly string TimeOfScheduledUpgrade; + + [OutputConstructor] + private GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationResult( + string currentVersion, + + bool isActive, + + string scheduledUpgradeDuration, + + string timeOfScheduledUpgrade) + { + CurrentVersion = currentVersion; + IsActive = isActive; + ScheduledUpgradeDuration = scheduledUpgradeDuration; + TimeOfScheduledUpgrade = timeOfScheduledUpgrade; + } + } +} diff --git a/sdk/dotnet/ComputeCloud/Outputs/GetAtCustomerCccInfrastructuresCccInfrastructureCollectionResult.cs b/sdk/dotnet/ComputeCloud/Outputs/GetAtCustomerCccInfrastructuresCccInfrastructureCollectionResult.cs new file mode 100644 index 0000000000..e7ee658e21 --- /dev/null +++ b/sdk/dotnet/ComputeCloud/Outputs/GetAtCustomerCccInfrastructuresCccInfrastructureCollectionResult.cs @@ -0,0 +1,24 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.ComputeCloud.Outputs +{ + + [OutputType] + public sealed class GetAtCustomerCccInfrastructuresCccInfrastructureCollectionResult + { + public readonly ImmutableArray Items; + + [OutputConstructor] + private GetAtCustomerCccInfrastructuresCccInfrastructureCollectionResult(ImmutableArray items) + { + Items = items; + } + } +} diff --git a/sdk/dotnet/ComputeCloud/Outputs/GetAtCustomerCccInfrastructuresFilterResult.cs b/sdk/dotnet/ComputeCloud/Outputs/GetAtCustomerCccInfrastructuresFilterResult.cs new file mode 100644 index 0000000000..3d3256a96a --- /dev/null +++ b/sdk/dotnet/ComputeCloud/Outputs/GetAtCustomerCccInfrastructuresFilterResult.cs @@ -0,0 +1,33 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.ComputeCloud.Outputs +{ + + [OutputType] + public sealed class GetAtCustomerCccInfrastructuresFilterResult + { + public readonly string Name; + public readonly bool? Regex; + public readonly ImmutableArray Values; + + [OutputConstructor] + private GetAtCustomerCccInfrastructuresFilterResult( + string name, + + bool? regex, + + ImmutableArray values) + { + Name = name; + Regex = regex; + Values = values; + } + } +} diff --git a/sdk/dotnet/ComputeCloud/Outputs/GetAtCustomerCccUpgradeScheduleEventResult.cs b/sdk/dotnet/ComputeCloud/Outputs/GetAtCustomerCccUpgradeScheduleEventResult.cs new file mode 100644 index 0000000000..f623004e1b --- /dev/null +++ b/sdk/dotnet/ComputeCloud/Outputs/GetAtCustomerCccUpgradeScheduleEventResult.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.ComputeCloud.Outputs +{ + + [OutputType] + public sealed class GetAtCustomerCccUpgradeScheduleEventResult + { + /// + /// A description of the Compute Cloud@Customer upgrade schedule time block. + /// + public readonly string Description; + /// + /// Generated name associated with the event. + /// + public readonly string Name; + /// + /// The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations. + /// + public readonly string ScheduleEventDuration; + /// + /// Frequency of recurrence of schedule block. When this field is not included, the event is assumed to be a one time occurrence. The frequency field is strictly parsed and must conform to RFC-5545 formatting for recurrences. + /// + public readonly string ScheduleEventRecurrences; + /// + /// The date and time when the Compute Cloud@Customer upgrade schedule event starts, inclusive. An RFC3339 formatted UTC datetime string. For an event with recurrences, this is the date that a recurrence can start being applied. + /// + public readonly string TimeStart; + + [OutputConstructor] + private GetAtCustomerCccUpgradeScheduleEventResult( + string description, + + string name, + + string scheduleEventDuration, + + string scheduleEventRecurrences, + + string timeStart) + { + Description = description; + Name = name; + ScheduleEventDuration = scheduleEventDuration; + ScheduleEventRecurrences = scheduleEventRecurrences; + TimeStart = timeStart; + } + } +} diff --git a/sdk/dotnet/ComputeCloud/Outputs/GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventResult.cs b/sdk/dotnet/ComputeCloud/Outputs/GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventResult.cs new file mode 100644 index 0000000000..5b4ece5b18 --- /dev/null +++ b/sdk/dotnet/ComputeCloud/Outputs/GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventResult.cs @@ -0,0 +1,56 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.ComputeCloud.Outputs +{ + + [OutputType] + public sealed class GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventResult + { + /// + /// A description of the Compute Cloud@Customer upgrade schedule time block. + /// + public readonly string Description; + /// + /// Generated name associated with the event. + /// + public readonly string Name; + /// + /// The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations. + /// + public readonly string ScheduleEventDuration; + /// + /// Frequency of recurrence of schedule block. When this field is not included, the event is assumed to be a one time occurrence. The frequency field is strictly parsed and must conform to RFC-5545 formatting for recurrences. + /// + public readonly string ScheduleEventRecurrences; + /// + /// The date and time when the Compute Cloud@Customer upgrade schedule event starts, inclusive. An RFC3339 formatted UTC datetime string. For an event with recurrences, this is the date that a recurrence can start being applied. + /// + public readonly string TimeStart; + + [OutputConstructor] + private GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventResult( + string description, + + string name, + + string scheduleEventDuration, + + string scheduleEventRecurrences, + + string timeStart) + { + Description = description; + Name = name; + ScheduleEventDuration = scheduleEventDuration; + ScheduleEventRecurrences = scheduleEventRecurrences; + TimeStart = timeStart; + } + } +} diff --git a/sdk/dotnet/ComputeCloud/Outputs/GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemResult.cs b/sdk/dotnet/ComputeCloud/Outputs/GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemResult.cs new file mode 100644 index 0000000000..c9e2883a68 --- /dev/null +++ b/sdk/dotnet/ComputeCloud/Outputs/GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemResult.cs @@ -0,0 +1,112 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.ComputeCloud.Outputs +{ + + [OutputType] + public sealed class GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemResult + { + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + /// + public readonly string CompartmentId; + /// + /// Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + /// + public readonly ImmutableDictionary DefinedTags; + /// + /// A description of the Compute Cloud@Customer upgrade schedule time block. + /// + public readonly string Description; + /// + /// A filter to return only resources that match the entire display name given. + /// + public readonly string DisplayName; + /// + /// List of preferred times for Compute Cloud@Customer infrastructures associated with this schedule to be upgraded. + /// + public readonly ImmutableArray Events; + /// + /// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + /// + public readonly ImmutableDictionary FreeformTags; + /// + /// Upgrade schedule [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). This cannot be changed once created. + /// + public readonly string Id; + /// + /// List of Compute Cloud@Customer infrastructure [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that are using this upgrade schedule. + /// + public readonly ImmutableArray InfrastructureIds; + /// + /// A message describing the current state in more detail. For example, the message can be used to provide actionable information for a resource in a Failed state. + /// + public readonly string LifecycleDetails; + /// + /// A filter to return resources only when their lifecycleState matches the given lifecycleState. + /// + public readonly string State; + /// + /// System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + /// + public readonly ImmutableDictionary SystemTags; + /// + /// The time the upgrade schedule was created, using an RFC3339 formatted datetime string. + /// + public readonly string TimeCreated; + /// + /// The time the upgrade schedule was updated, using an RFC3339 formatted datetime string. + /// + public readonly string TimeUpdated; + + [OutputConstructor] + private GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemResult( + string compartmentId, + + ImmutableDictionary definedTags, + + string description, + + string displayName, + + ImmutableArray events, + + ImmutableDictionary freeformTags, + + string id, + + ImmutableArray infrastructureIds, + + string lifecycleDetails, + + string state, + + ImmutableDictionary systemTags, + + string timeCreated, + + string timeUpdated) + { + CompartmentId = compartmentId; + DefinedTags = definedTags; + Description = description; + DisplayName = displayName; + Events = events; + FreeformTags = freeformTags; + Id = id; + InfrastructureIds = infrastructureIds; + LifecycleDetails = lifecycleDetails; + State = state; + SystemTags = systemTags; + TimeCreated = timeCreated; + TimeUpdated = timeUpdated; + } + } +} diff --git a/sdk/dotnet/ComputeCloud/Outputs/GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionResult.cs b/sdk/dotnet/ComputeCloud/Outputs/GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionResult.cs new file mode 100644 index 0000000000..aa7e8d5c5e --- /dev/null +++ b/sdk/dotnet/ComputeCloud/Outputs/GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionResult.cs @@ -0,0 +1,24 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.ComputeCloud.Outputs +{ + + [OutputType] + public sealed class GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionResult + { + public readonly ImmutableArray Items; + + [OutputConstructor] + private GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionResult(ImmutableArray items) + { + Items = items; + } + } +} diff --git a/sdk/dotnet/ComputeCloud/Outputs/GetAtCustomerCccUpgradeSchedulesFilterResult.cs b/sdk/dotnet/ComputeCloud/Outputs/GetAtCustomerCccUpgradeSchedulesFilterResult.cs new file mode 100644 index 0000000000..3db05660e2 --- /dev/null +++ b/sdk/dotnet/ComputeCloud/Outputs/GetAtCustomerCccUpgradeSchedulesFilterResult.cs @@ -0,0 +1,36 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.ComputeCloud.Outputs +{ + + [OutputType] + public sealed class GetAtCustomerCccUpgradeSchedulesFilterResult + { + /// + /// Generated name associated with the event. + /// + public readonly string Name; + public readonly bool? Regex; + public readonly ImmutableArray Values; + + [OutputConstructor] + private GetAtCustomerCccUpgradeSchedulesFilterResult( + string name, + + bool? regex, + + ImmutableArray values) + { + Name = name; + Regex = regex; + Values = values; + } + } +} diff --git a/sdk/dotnet/ComputeCloud/README.md b/sdk/dotnet/ComputeCloud/README.md new file mode 100644 index 0000000000..cbd75b269e --- /dev/null +++ b/sdk/dotnet/ComputeCloud/README.md @@ -0,0 +1 @@ +A Pulumi package for creating and managing Oracle Cloud Infrastructure resources. diff --git a/sdk/dotnet/Config/Config.cs b/sdk/dotnet/Config/Config.cs index 6ff6e3fcbf..400509befa 100644 --- a/sdk/dotnet/Config/Config.cs +++ b/sdk/dotnet/Config/Config.cs @@ -8,7 +8,7 @@ namespace Pulumi.Oci { public static class Config { - [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "IDE1006", Justification = + [global::System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "IDE1006", Justification = "Double underscore prefix used to avoid conflicts with variable names.")] private sealed class __Value { diff --git a/sdk/dotnet/Core/Instance.cs b/sdk/dotnet/Core/Instance.cs index 51448bf9c7..f9f0fb87ee 100644 --- a/sdk/dotnet/Core/Instance.cs +++ b/sdk/dotnet/Core/Instance.cs @@ -136,9 +136,6 @@ public partial class Instance : global::Pulumi.CustomResource [Output("displayName")] public Output DisplayName { get; private set; } = null!; - /// - /// Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the `metadata` object. - /// [Output("extendedMetadata")] public Output> ExtendedMetadata { get; private set; } = null!; @@ -492,10 +489,6 @@ public InputMap DefinedTags [Input("extendedMetadata")] private InputMap? _extendedMetadata; - - /// - /// Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the `metadata` object. - /// public InputMap ExtendedMetadata { get => _extendedMetadata ?? (_extendedMetadata = new InputMap()); @@ -780,10 +773,6 @@ public InputMap DefinedTags [Input("extendedMetadata")] private InputMap? _extendedMetadata; - - /// - /// Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the `metadata` object. - /// public InputMap ExtendedMetadata { get => _extendedMetadata ?? (_extendedMetadata = new InputMap()); diff --git a/sdk/dotnet/Core/ListingResourceVersionAgreement.cs b/sdk/dotnet/Core/ListingResourceVersionAgreement.cs index b21783cb2e..454f35a88c 100644 --- a/sdk/dotnet/Core/ListingResourceVersionAgreement.cs +++ b/sdk/dotnet/Core/ListingResourceVersionAgreement.cs @@ -9,24 +9,64 @@ namespace Pulumi.Oci.Core { + /// + /// The `oci.Core.AppCatalogListingResourceVersionAgreement` resource creates AppCatalogListingResourceVersionAgreement for a particular resource version of a listing. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testAppCatalogListingResourceVersionAgreement = new Oci.Core.AppCatalogListingResourceVersionAgreement("testAppCatalogListingResourceVersionAgreement", new() + /// { + /// ListingId = data.Oci_core_app_catalog_listing.Test_listing.Id, + /// ListingResourceVersion = @var.App_catalog_listing_resource_version_agreement_listing_resource_version, + /// }); + /// + /// }); + /// ``` + /// [OciResourceType("oci:Core/listingResourceVersionAgreement:ListingResourceVersionAgreement")] public partial class ListingResourceVersionAgreement : global::Pulumi.CustomResource { + /// + /// EULA link + /// [Output("eulaLink")] public Output EulaLink { get; private set; } = null!; + /// + /// The OCID of the listing. + /// [Output("listingId")] public Output ListingId { get; private set; } = null!; + /// + /// Listing Resource Version. + /// [Output("listingResourceVersion")] public Output ListingResourceVersion { get; private set; } = null!; + /// + /// Oracle TOU link + /// [Output("oracleTermsOfUseLink")] public Output OracleTermsOfUseLink { get; private set; } = null!; + /// + /// A generated signature for this agreement retrieval operation which should be used in the create subscription call. + /// [Output("signature")] public Output Signature { get; private set; } = null!; + /// + /// Date and time the agreements were retrieved, in RFC3339 format. Example: `2018-03-20T12:32:53.532Z` + /// [Output("timeRetrieved")] public Output TimeRetrieved { get; private set; } = null!; @@ -76,9 +116,15 @@ public static ListingResourceVersionAgreement Get(string name, Input id, public sealed class ListingResourceVersionAgreementArgs : global::Pulumi.ResourceArgs { + /// + /// The OCID of the listing. + /// [Input("listingId", required: true)] public Input ListingId { get; set; } = null!; + /// + /// Listing Resource Version. + /// [Input("listingResourceVersion", required: true)] public Input ListingResourceVersion { get; set; } = null!; @@ -90,21 +136,39 @@ public ListingResourceVersionAgreementArgs() public sealed class ListingResourceVersionAgreementState : global::Pulumi.ResourceArgs { + /// + /// EULA link + /// [Input("eulaLink")] public Input? EulaLink { get; set; } + /// + /// The OCID of the listing. + /// [Input("listingId")] public Input? ListingId { get; set; } + /// + /// Listing Resource Version. + /// [Input("listingResourceVersion")] public Input? ListingResourceVersion { get; set; } + /// + /// Oracle TOU link + /// [Input("oracleTermsOfUseLink")] public Input? OracleTermsOfUseLink { get; set; } + /// + /// A generated signature for this agreement retrieval operation which should be used in the create subscription call. + /// [Input("signature")] public Input? Signature { get; set; } + /// + /// Date and time the agreements were retrieved, in RFC3339 format. Example: `2018-03-20T12:32:53.532Z` + /// [Input("timeRetrieved")] public Input? TimeRetrieved { get; set; } diff --git a/sdk/dotnet/DataCatalog/Connection.cs b/sdk/dotnet/DataCatalog/Connection.cs index c032530d35..fbc04074ea 100644 --- a/sdk/dotnet/DataCatalog/Connection.cs +++ b/sdk/dotnet/DataCatalog/Connection.cs @@ -104,9 +104,6 @@ public partial class Connection : global::Pulumi.CustomResource [Output("key")] public Output Key { get; private set; } = null!; - /// - /// A map of maps that contains the properties which are specific to the connection type. Each connection type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most connections have required properties within the "default" category. Example: `{"properties": { "default": { "username": "user1"}}}` - /// [Output("properties")] public Output> Properties { get; private set; } = null!; @@ -254,10 +251,6 @@ public InputMap EncProperties [Input("properties", required: true)] private InputMap? _properties; - - /// - /// A map of maps that contains the properties which are specific to the connection type. Each connection type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most connections have required properties within the "default" category. Example: `{"properties": { "default": { "username": "user1"}}}` - /// public InputMap Properties { get => _properties ?? (_properties = new InputMap()); @@ -348,10 +341,6 @@ public InputMap EncProperties [Input("properties")] private InputMap? _properties; - - /// - /// A map of maps that contains the properties which are specific to the connection type. Each connection type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most connections have required properties within the "default" category. Example: `{"properties": { "default": { "username": "user1"}}}` - /// public InputMap Properties { get => _properties ?? (_properties = new InputMap()); diff --git a/sdk/dotnet/DataCatalog/DataAsset.cs b/sdk/dotnet/DataCatalog/DataAsset.cs index 8aab67e457..7ea97b8864 100644 --- a/sdk/dotnet/DataCatalog/DataAsset.cs +++ b/sdk/dotnet/DataCatalog/DataAsset.cs @@ -89,9 +89,6 @@ public partial class DataAsset : global::Pulumi.CustomResource [Output("lifecycleDetails")] public Output LifecycleDetails { get; private set; } = null!; - /// - /// A map of maps that contains the properties which are specific to the asset type. Each data asset type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most data assets have required properties within the "default" category. Example: `{"properties": { "default": { "host": "host1", "port": "1521", "database": "orcl"}}}` - /// [Output("properties")] public Output> Properties { get; private set; } = null!; @@ -207,10 +204,6 @@ public sealed class DataAssetArgs : global::Pulumi.ResourceArgs [Input("properties")] private InputMap? _properties; - - /// - /// A map of maps that contains the properties which are specific to the asset type. Each data asset type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most data assets have required properties within the "default" category. Example: `{"properties": { "default": { "host": "host1", "port": "1521", "database": "orcl"}}}` - /// public InputMap Properties { get => _properties ?? (_properties = new InputMap()); @@ -279,10 +272,6 @@ public sealed class DataAssetState : global::Pulumi.ResourceArgs [Input("properties")] private InputMap? _properties; - - /// - /// A map of maps that contains the properties which are specific to the asset type. Each data asset type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most data assets have required properties within the "default" category. Example: `{"properties": { "default": { "host": "host1", "port": "1521", "database": "orcl"}}}` - /// public InputMap Properties { get => _properties ?? (_properties = new InputMap()); diff --git a/sdk/dotnet/DataScience/GetPrivateEndpoint.cs b/sdk/dotnet/DataScience/GetPrivateEndpoint.cs new file mode 100644 index 0000000000..124cc26285 --- /dev/null +++ b/sdk/dotnet/DataScience/GetPrivateEndpoint.cs @@ -0,0 +1,228 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.DataScience +{ + public static class GetPrivateEndpoint + { + /// + /// This data source provides details about a specific Data Science Private Endpoint resource in Oracle Cloud Infrastructure Data Science service. + /// + /// Retrieves an private endpoint using a `privateEndpointId`. + /// + /// + /// {{% examples %}} + /// ## Example Usage + /// {{% example %}} + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testDataSciencePrivateEndpoint = Oci.DataScience.GetPrivateEndpoint.Invoke(new() + /// { + /// DataSciencePrivateEndpointId = oci_datascience_private_endpoint.Test_data_science_private_endpoint.Id, + /// }); + /// + /// }); + /// ``` + /// {{% /example %}} + /// {{% /examples %}} + /// + public static Task InvokeAsync(GetPrivateEndpointArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("oci:DataScience/getPrivateEndpoint:getPrivateEndpoint", args ?? new GetPrivateEndpointArgs(), options.WithDefaults()); + + /// + /// This data source provides details about a specific Data Science Private Endpoint resource in Oracle Cloud Infrastructure Data Science service. + /// + /// Retrieves an private endpoint using a `privateEndpointId`. + /// + /// + /// {{% examples %}} + /// ## Example Usage + /// {{% example %}} + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testDataSciencePrivateEndpoint = Oci.DataScience.GetPrivateEndpoint.Invoke(new() + /// { + /// DataSciencePrivateEndpointId = oci_datascience_private_endpoint.Test_data_science_private_endpoint.Id, + /// }); + /// + /// }); + /// ``` + /// {{% /example %}} + /// {{% /examples %}} + /// + public static Output Invoke(GetPrivateEndpointInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("oci:DataScience/getPrivateEndpoint:getPrivateEndpoint", args ?? new GetPrivateEndpointInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetPrivateEndpointArgs : global::Pulumi.InvokeArgs + { + /// + /// The unique ID for a Data Science private endpoint. + /// + [Input("dataSciencePrivateEndpointId", required: true)] + public string DataSciencePrivateEndpointId { get; set; } = null!; + + public GetPrivateEndpointArgs() + { + } + public static new GetPrivateEndpointArgs Empty => new GetPrivateEndpointArgs(); + } + + public sealed class GetPrivateEndpointInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The unique ID for a Data Science private endpoint. + /// + [Input("dataSciencePrivateEndpointId", required: true)] + public Input DataSciencePrivateEndpointId { get; set; } = null!; + + public GetPrivateEndpointInvokeArgs() + { + } + public static new GetPrivateEndpointInvokeArgs Empty => new GetPrivateEndpointInvokeArgs(); + } + + + [OutputType] + public sealed class GetPrivateEndpointResult + { + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create private endpoint. + /// + public readonly string CompartmentId; + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user that created the private endpoint. + /// + public readonly string CreatedBy; + public readonly string DataSciencePrivateEndpointId; + /// + /// Data Science resource type. + /// + public readonly string DataScienceResourceType; + /// + /// Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` + /// + public readonly ImmutableDictionary DefinedTags; + /// + /// A user friendly description. Avoid entering confidential information. + /// + public readonly string Description; + /// + /// A user friendly name. It doesn't have to be unique. Avoid entering confidential information. + /// + public readonly string DisplayName; + /// + /// Accesing the Data Science resource using FQDN. + /// + public readonly string Fqdn; + /// + /// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` + /// + public readonly ImmutableDictionary FreeformTags; + /// + /// The OCID of a private endpoint. + /// + public readonly string Id; + /// + /// Details of the state of Data Science private endpoint. + /// + public readonly string LifecycleDetails; + /// + /// An array of network security group OCIDs. + /// + public readonly ImmutableArray NsgIds; + /// + /// State of the Data Science private endpoint. + /// + public readonly string State; + public readonly string SubDomain; + /// + /// The OCID of a subnet. + /// + public readonly string SubnetId; + /// + /// The date and time that the Data Science private endpoint was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + /// + public readonly string TimeCreated; + /// + /// The date and time that the Data Science private endpoint was updated expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + /// + public readonly string TimeUpdated; + + [OutputConstructor] + private GetPrivateEndpointResult( + string compartmentId, + + string createdBy, + + string dataSciencePrivateEndpointId, + + string dataScienceResourceType, + + ImmutableDictionary definedTags, + + string description, + + string displayName, + + string fqdn, + + ImmutableDictionary freeformTags, + + string id, + + string lifecycleDetails, + + ImmutableArray nsgIds, + + string state, + + string subDomain, + + string subnetId, + + string timeCreated, + + string timeUpdated) + { + CompartmentId = compartmentId; + CreatedBy = createdBy; + DataSciencePrivateEndpointId = dataSciencePrivateEndpointId; + DataScienceResourceType = dataScienceResourceType; + DefinedTags = definedTags; + Description = description; + DisplayName = displayName; + Fqdn = fqdn; + FreeformTags = freeformTags; + Id = id; + LifecycleDetails = lifecycleDetails; + NsgIds = nsgIds; + State = state; + SubDomain = subDomain; + SubnetId = subnetId; + TimeCreated = timeCreated; + TimeUpdated = timeUpdated; + } + } +} diff --git a/sdk/dotnet/DataScience/GetPrivateEndpoints.cs b/sdk/dotnet/DataScience/GetPrivateEndpoints.cs new file mode 100644 index 0000000000..3246cfd93a --- /dev/null +++ b/sdk/dotnet/DataScience/GetPrivateEndpoints.cs @@ -0,0 +1,240 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.DataScience +{ + public static class GetPrivateEndpoints + { + /// + /// This data source provides the list of Data Science Private Endpoints in Oracle Cloud Infrastructure Data Science service. + /// + /// Lists all Data Science private endpoints in the specified compartment. The query must include compartmentId. The query can also include one other parameter. If the query doesn't include compartmentId, or includes compartmentId with two or more other parameters, then an error is returned. + /// + /// + /// {{% examples %}} + /// ## Example Usage + /// {{% example %}} + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testDataSciencePrivateEndpoints = Oci.DataScience.GetPrivateEndpoints.Invoke(new() + /// { + /// CompartmentId = @var.Compartment_id, + /// CreatedBy = @var.Data_science_private_endpoint_created_by, + /// DataScienceResourceType = @var.Data_science_private_endpoint_data_science_resource_type, + /// DisplayName = @var.Data_science_private_endpoint_display_name, + /// State = @var.Data_science_private_endpoint_state, + /// }); + /// + /// }); + /// ``` + /// {{% /example %}} + /// {{% /examples %}} + /// + public static Task InvokeAsync(GetPrivateEndpointsArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("oci:DataScience/getPrivateEndpoints:getPrivateEndpoints", args ?? new GetPrivateEndpointsArgs(), options.WithDefaults()); + + /// + /// This data source provides the list of Data Science Private Endpoints in Oracle Cloud Infrastructure Data Science service. + /// + /// Lists all Data Science private endpoints in the specified compartment. The query must include compartmentId. The query can also include one other parameter. If the query doesn't include compartmentId, or includes compartmentId with two or more other parameters, then an error is returned. + /// + /// + /// {{% examples %}} + /// ## Example Usage + /// {{% example %}} + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testDataSciencePrivateEndpoints = Oci.DataScience.GetPrivateEndpoints.Invoke(new() + /// { + /// CompartmentId = @var.Compartment_id, + /// CreatedBy = @var.Data_science_private_endpoint_created_by, + /// DataScienceResourceType = @var.Data_science_private_endpoint_data_science_resource_type, + /// DisplayName = @var.Data_science_private_endpoint_display_name, + /// State = @var.Data_science_private_endpoint_state, + /// }); + /// + /// }); + /// ``` + /// {{% /example %}} + /// {{% /examples %}} + /// + public static Output Invoke(GetPrivateEndpointsInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("oci:DataScience/getPrivateEndpoints:getPrivateEndpoints", args ?? new GetPrivateEndpointsInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetPrivateEndpointsArgs : global::Pulumi.InvokeArgs + { + /// + /// <b>Filter</b> results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + /// + [Input("compartmentId", required: true)] + public string CompartmentId { get; set; } = null!; + + /// + /// <b>Filter</b> results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the resource. + /// + [Input("createdBy")] + public string? CreatedBy { get; set; } + + /// + /// Resource types in the Data Science service such as notebooks. + /// + [Input("dataScienceResourceType")] + public string? DataScienceResourceType { get; set; } + + /// + /// <b>Filter</b> results by its user-friendly name. + /// + [Input("displayName")] + public string? DisplayName { get; set; } + + [Input("filters")] + private List? _filters; + public List Filters + { + get => _filters ?? (_filters = new List()); + set => _filters = value; + } + + /// + /// The lifecycle state of the private endpoint. + /// + [Input("state")] + public string? State { get; set; } + + public GetPrivateEndpointsArgs() + { + } + public static new GetPrivateEndpointsArgs Empty => new GetPrivateEndpointsArgs(); + } + + public sealed class GetPrivateEndpointsInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// <b>Filter</b> results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + /// + [Input("compartmentId", required: true)] + public Input CompartmentId { get; set; } = null!; + + /// + /// <b>Filter</b> results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the resource. + /// + [Input("createdBy")] + public Input? CreatedBy { get; set; } + + /// + /// Resource types in the Data Science service such as notebooks. + /// + [Input("dataScienceResourceType")] + public Input? DataScienceResourceType { get; set; } + + /// + /// <b>Filter</b> results by its user-friendly name. + /// + [Input("displayName")] + public Input? DisplayName { get; set; } + + [Input("filters")] + private InputList? _filters; + public InputList Filters + { + get => _filters ?? (_filters = new InputList()); + set => _filters = value; + } + + /// + /// The lifecycle state of the private endpoint. + /// + [Input("state")] + public Input? State { get; set; } + + public GetPrivateEndpointsInvokeArgs() + { + } + public static new GetPrivateEndpointsInvokeArgs Empty => new GetPrivateEndpointsInvokeArgs(); + } + + + [OutputType] + public sealed class GetPrivateEndpointsResult + { + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create private endpoint. + /// + public readonly string CompartmentId; + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user that created the private endpoint. + /// + public readonly string? CreatedBy; + /// + /// The list of data_science_private_endpoints. + /// + public readonly ImmutableArray DataSciencePrivateEndpoints; + /// + /// Data Science resource type. + /// + public readonly string? DataScienceResourceType; + /// + /// A user friendly name. It doesn't have to be unique. Avoid entering confidential information. + /// + public readonly string? DisplayName; + public readonly ImmutableArray Filters; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + /// + /// State of the Data Science private endpoint. + /// + public readonly string? State; + + [OutputConstructor] + private GetPrivateEndpointsResult( + string compartmentId, + + string? createdBy, + + ImmutableArray dataSciencePrivateEndpoints, + + string? dataScienceResourceType, + + string? displayName, + + ImmutableArray filters, + + string id, + + string? state) + { + CompartmentId = compartmentId; + CreatedBy = createdBy; + DataSciencePrivateEndpoints = dataSciencePrivateEndpoints; + DataScienceResourceType = dataScienceResourceType; + DisplayName = displayName; + Filters = filters; + Id = id; + State = state; + } + } +} diff --git a/sdk/dotnet/DataScience/Inputs/GetPrivateEndpointsFilter.cs b/sdk/dotnet/DataScience/Inputs/GetPrivateEndpointsFilter.cs new file mode 100644 index 0000000000..94871a46c2 --- /dev/null +++ b/sdk/dotnet/DataScience/Inputs/GetPrivateEndpointsFilter.cs @@ -0,0 +1,34 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.DataScience.Inputs +{ + + public sealed class GetPrivateEndpointsFilterArgs : global::Pulumi.InvokeArgs + { + [Input("name", required: true)] + public string Name { get; set; } = null!; + + [Input("regex")] + public bool? Regex { get; set; } + + [Input("values", required: true)] + private List? _values; + public List Values + { + get => _values ?? (_values = new List()); + set => _values = value; + } + + public GetPrivateEndpointsFilterArgs() + { + } + public static new GetPrivateEndpointsFilterArgs Empty => new GetPrivateEndpointsFilterArgs(); + } +} diff --git a/sdk/dotnet/DataScience/Inputs/GetPrivateEndpointsFilterArgs.cs b/sdk/dotnet/DataScience/Inputs/GetPrivateEndpointsFilterArgs.cs new file mode 100644 index 0000000000..0527f41dee --- /dev/null +++ b/sdk/dotnet/DataScience/Inputs/GetPrivateEndpointsFilterArgs.cs @@ -0,0 +1,34 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.DataScience.Inputs +{ + + public sealed class GetPrivateEndpointsFilterInputArgs : global::Pulumi.ResourceArgs + { + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + [Input("regex")] + public Input? Regex { get; set; } + + [Input("values", required: true)] + private InputList? _values; + public InputList Values + { + get => _values ?? (_values = new InputList()); + set => _values = value; + } + + public GetPrivateEndpointsFilterInputArgs() + { + } + public static new GetPrivateEndpointsFilterInputArgs Empty => new GetPrivateEndpointsFilterInputArgs(); + } +} diff --git a/sdk/dotnet/DataScience/Inputs/ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsArgs.cs b/sdk/dotnet/DataScience/Inputs/ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsArgs.cs index b61e73cce9..151c0be8cb 100644 --- a/sdk/dotnet/DataScience/Inputs/ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsArgs.cs +++ b/sdk/dotnet/DataScience/Inputs/ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsArgs.cs @@ -13,7 +13,7 @@ namespace Pulumi.Oci.DataScience.Inputs public sealed class ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsArgs : global::Pulumi.ResourceArgs { /// - /// (Updatable) The network bandwidth for the model. + /// (Updatable) The minimum network bandwidth for the model deployment. /// [Input("bandwidthMbps")] public Input? BandwidthMbps { get; set; } diff --git a/sdk/dotnet/DataScience/Inputs/ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsGetArgs.cs b/sdk/dotnet/DataScience/Inputs/ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsGetArgs.cs index c62b0bd634..b8db475bb7 100644 --- a/sdk/dotnet/DataScience/Inputs/ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsGetArgs.cs +++ b/sdk/dotnet/DataScience/Inputs/ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsGetArgs.cs @@ -13,7 +13,7 @@ namespace Pulumi.Oci.DataScience.Inputs public sealed class ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsGetArgs : global::Pulumi.ResourceArgs { /// - /// (Updatable) The network bandwidth for the model. + /// (Updatable) The minimum network bandwidth for the model deployment. /// [Input("bandwidthMbps")] public Input? BandwidthMbps { get; set; } diff --git a/sdk/dotnet/DataScience/Inputs/NotebookSessionNotebookSessionConfigDetailsArgs.cs b/sdk/dotnet/DataScience/Inputs/NotebookSessionNotebookSessionConfigDetailsArgs.cs index afa3ff9f4f..1c64d0a0f8 100644 --- a/sdk/dotnet/DataScience/Inputs/NotebookSessionNotebookSessionConfigDetailsArgs.cs +++ b/sdk/dotnet/DataScience/Inputs/NotebookSessionNotebookSessionConfigDetailsArgs.cs @@ -24,6 +24,12 @@ public sealed class NotebookSessionNotebookSessionConfigDetailsArgs : global::Pu [Input("notebookSessionShapeConfigDetails")] public Input? NotebookSessionShapeConfigDetails { get; set; } + /// + /// (Updatable) The OCID of a Data Science private endpoint. + /// + [Input("privateEndpointId")] + public Input? PrivateEndpointId { get; set; } + /// /// (Updatable) The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint. /// diff --git a/sdk/dotnet/DataScience/Inputs/NotebookSessionNotebookSessionConfigDetailsGetArgs.cs b/sdk/dotnet/DataScience/Inputs/NotebookSessionNotebookSessionConfigDetailsGetArgs.cs index fead4deaf3..714af35b6f 100644 --- a/sdk/dotnet/DataScience/Inputs/NotebookSessionNotebookSessionConfigDetailsGetArgs.cs +++ b/sdk/dotnet/DataScience/Inputs/NotebookSessionNotebookSessionConfigDetailsGetArgs.cs @@ -24,6 +24,12 @@ public sealed class NotebookSessionNotebookSessionConfigDetailsGetArgs : global: [Input("notebookSessionShapeConfigDetails")] public Input? NotebookSessionShapeConfigDetails { get; set; } + /// + /// (Updatable) The OCID of a Data Science private endpoint. + /// + [Input("privateEndpointId")] + public Input? PrivateEndpointId { get; set; } + /// /// (Updatable) The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint. /// diff --git a/sdk/dotnet/DataScience/Inputs/NotebookSessionNotebookSessionConfigurationDetailsArgs.cs b/sdk/dotnet/DataScience/Inputs/NotebookSessionNotebookSessionConfigurationDetailsArgs.cs index f595639856..d700a34280 100644 --- a/sdk/dotnet/DataScience/Inputs/NotebookSessionNotebookSessionConfigurationDetailsArgs.cs +++ b/sdk/dotnet/DataScience/Inputs/NotebookSessionNotebookSessionConfigurationDetailsArgs.cs @@ -24,6 +24,12 @@ public sealed class NotebookSessionNotebookSessionConfigurationDetailsArgs : glo [Input("notebookSessionShapeConfigDetails")] public Input? NotebookSessionShapeConfigDetails { get; set; } + /// + /// (Updatable) The OCID of a Data Science private endpoint. + /// + [Input("privateEndpointId")] + public Input? PrivateEndpointId { get; set; } + /// /// (Updatable) The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint. /// diff --git a/sdk/dotnet/DataScience/Inputs/NotebookSessionNotebookSessionConfigurationDetailsGetArgs.cs b/sdk/dotnet/DataScience/Inputs/NotebookSessionNotebookSessionConfigurationDetailsGetArgs.cs index d830dddbf1..321cfe3d24 100644 --- a/sdk/dotnet/DataScience/Inputs/NotebookSessionNotebookSessionConfigurationDetailsGetArgs.cs +++ b/sdk/dotnet/DataScience/Inputs/NotebookSessionNotebookSessionConfigurationDetailsGetArgs.cs @@ -24,6 +24,12 @@ public sealed class NotebookSessionNotebookSessionConfigurationDetailsGetArgs : [Input("notebookSessionShapeConfigDetails")] public Input? NotebookSessionShapeConfigDetails { get; set; } + /// + /// (Updatable) The OCID of a Data Science private endpoint. + /// + [Input("privateEndpointId")] + public Input? PrivateEndpointId { get; set; } + /// /// (Updatable) The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint. /// diff --git a/sdk/dotnet/DataScience/NotebookSession.cs b/sdk/dotnet/DataScience/NotebookSession.cs index f40f07b022..11de5e17d9 100644 --- a/sdk/dotnet/DataScience/NotebookSession.cs +++ b/sdk/dotnet/DataScience/NotebookSession.cs @@ -46,6 +46,7 @@ namespace Pulumi.Oci.DataScience /// MemoryInGbs = @var.Notebook_session_notebook_session_config_details_notebook_session_shape_config_details_memory_in_gbs, /// Ocpus = @var.Notebook_session_notebook_session_config_details_notebook_session_shape_config_details_ocpus, /// }, + /// PrivateEndpointId = oci_dataflow_private_endpoint.Test_private_endpoint.Id, /// SubnetId = oci_core_subnet.Test_subnet.Id, /// }, /// NotebookSessionConfigurationDetails = new Oci.DataScience.Inputs.NotebookSessionNotebookSessionConfigurationDetailsArgs @@ -58,6 +59,7 @@ namespace Pulumi.Oci.DataScience /// MemoryInGbs = @var.Notebook_session_notebook_session_configuration_details_notebook_session_shape_config_details_memory_in_gbs, /// Ocpus = @var.Notebook_session_notebook_session_configuration_details_notebook_session_shape_config_details_ocpus, /// }, + /// PrivateEndpointId = oci_dataflow_private_endpoint.Test_private_endpoint.Id, /// }, /// NotebookSessionRuntimeConfigDetails = new Oci.DataScience.Inputs.NotebookSessionNotebookSessionRuntimeConfigDetailsArgs /// { diff --git a/sdk/dotnet/DataScience/Outputs/GetModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetailResult.cs b/sdk/dotnet/DataScience/Outputs/GetModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetailResult.cs index 1e012f1bfc..ef51b21ac5 100644 --- a/sdk/dotnet/DataScience/Outputs/GetModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetailResult.cs +++ b/sdk/dotnet/DataScience/Outputs/GetModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetailResult.cs @@ -14,7 +14,7 @@ namespace Pulumi.Oci.DataScience.Outputs public sealed class GetModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetailResult { /// - /// The network bandwidth for the model. + /// The minimum network bandwidth for the model deployment. /// public readonly int BandwidthMbps; /// diff --git a/sdk/dotnet/DataScience/Outputs/GetModelDeploymentsModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetailResult.cs b/sdk/dotnet/DataScience/Outputs/GetModelDeploymentsModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetailResult.cs index ec8caa7d29..b2ee2d1e43 100644 --- a/sdk/dotnet/DataScience/Outputs/GetModelDeploymentsModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetailResult.cs +++ b/sdk/dotnet/DataScience/Outputs/GetModelDeploymentsModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetailResult.cs @@ -14,7 +14,7 @@ namespace Pulumi.Oci.DataScience.Outputs public sealed class GetModelDeploymentsModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetailResult { /// - /// The network bandwidth for the model. + /// The minimum network bandwidth for the model deployment. /// public readonly int BandwidthMbps; /// diff --git a/sdk/dotnet/DataScience/Outputs/GetNotebookSessionNotebookSessionConfigDetailResult.cs b/sdk/dotnet/DataScience/Outputs/GetNotebookSessionNotebookSessionConfigDetailResult.cs index 38c9bb075a..273e854a95 100644 --- a/sdk/dotnet/DataScience/Outputs/GetNotebookSessionNotebookSessionConfigDetailResult.cs +++ b/sdk/dotnet/DataScience/Outputs/GetNotebookSessionNotebookSessionConfigDetailResult.cs @@ -22,6 +22,10 @@ public sealed class GetNotebookSessionNotebookSessionConfigDetailResult /// public readonly ImmutableArray NotebookSessionShapeConfigDetails; /// + /// The OCID of a Data Science private endpoint. + /// + public readonly string PrivateEndpointId; + /// /// The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint. /// public readonly string Shape; @@ -36,12 +40,15 @@ private GetNotebookSessionNotebookSessionConfigDetailResult( ImmutableArray notebookSessionShapeConfigDetails, + string privateEndpointId, + string shape, string subnetId) { BlockStorageSizeInGbs = blockStorageSizeInGbs; NotebookSessionShapeConfigDetails = notebookSessionShapeConfigDetails; + PrivateEndpointId = privateEndpointId; Shape = shape; SubnetId = subnetId; } diff --git a/sdk/dotnet/DataScience/Outputs/GetNotebookSessionNotebookSessionConfigurationDetailResult.cs b/sdk/dotnet/DataScience/Outputs/GetNotebookSessionNotebookSessionConfigurationDetailResult.cs index 70bb0ce141..23059ea5ff 100644 --- a/sdk/dotnet/DataScience/Outputs/GetNotebookSessionNotebookSessionConfigurationDetailResult.cs +++ b/sdk/dotnet/DataScience/Outputs/GetNotebookSessionNotebookSessionConfigurationDetailResult.cs @@ -22,6 +22,10 @@ public sealed class GetNotebookSessionNotebookSessionConfigurationDetailResult /// public readonly ImmutableArray NotebookSessionShapeConfigDetails; /// + /// The OCID of a Data Science private endpoint. + /// + public readonly string PrivateEndpointId; + /// /// The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint. /// public readonly string Shape; @@ -36,12 +40,15 @@ private GetNotebookSessionNotebookSessionConfigurationDetailResult( ImmutableArray notebookSessionShapeConfigDetails, + string privateEndpointId, + string shape, string subnetId) { BlockStorageSizeInGbs = blockStorageSizeInGbs; NotebookSessionShapeConfigDetails = notebookSessionShapeConfigDetails; + PrivateEndpointId = privateEndpointId; Shape = shape; SubnetId = subnetId; } diff --git a/sdk/dotnet/DataScience/Outputs/GetNotebookSessionsNotebookSessionNotebookSessionConfigDetailResult.cs b/sdk/dotnet/DataScience/Outputs/GetNotebookSessionsNotebookSessionNotebookSessionConfigDetailResult.cs index 05fae2d8db..8d9449ddd6 100644 --- a/sdk/dotnet/DataScience/Outputs/GetNotebookSessionsNotebookSessionNotebookSessionConfigDetailResult.cs +++ b/sdk/dotnet/DataScience/Outputs/GetNotebookSessionsNotebookSessionNotebookSessionConfigDetailResult.cs @@ -22,6 +22,10 @@ public sealed class GetNotebookSessionsNotebookSessionNotebookSessionConfigDetai /// public readonly ImmutableArray NotebookSessionShapeConfigDetails; /// + /// The OCID of a Data Science private endpoint. + /// + public readonly string PrivateEndpointId; + /// /// The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint. /// public readonly string Shape; @@ -36,12 +40,15 @@ private GetNotebookSessionsNotebookSessionNotebookSessionConfigDetailResult( ImmutableArray notebookSessionShapeConfigDetails, + string privateEndpointId, + string shape, string subnetId) { BlockStorageSizeInGbs = blockStorageSizeInGbs; NotebookSessionShapeConfigDetails = notebookSessionShapeConfigDetails; + PrivateEndpointId = privateEndpointId; Shape = shape; SubnetId = subnetId; } diff --git a/sdk/dotnet/DataScience/Outputs/GetNotebookSessionsNotebookSessionNotebookSessionConfigurationDetailResult.cs b/sdk/dotnet/DataScience/Outputs/GetNotebookSessionsNotebookSessionNotebookSessionConfigurationDetailResult.cs index 6d68893850..854e6dd1d0 100644 --- a/sdk/dotnet/DataScience/Outputs/GetNotebookSessionsNotebookSessionNotebookSessionConfigurationDetailResult.cs +++ b/sdk/dotnet/DataScience/Outputs/GetNotebookSessionsNotebookSessionNotebookSessionConfigurationDetailResult.cs @@ -22,6 +22,10 @@ public sealed class GetNotebookSessionsNotebookSessionNotebookSessionConfigurati /// public readonly ImmutableArray NotebookSessionShapeConfigDetails; /// + /// The OCID of a Data Science private endpoint. + /// + public readonly string PrivateEndpointId; + /// /// The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint. /// public readonly string Shape; @@ -36,12 +40,15 @@ private GetNotebookSessionsNotebookSessionNotebookSessionConfigurationDetailResu ImmutableArray notebookSessionShapeConfigDetails, + string privateEndpointId, + string shape, string subnetId) { BlockStorageSizeInGbs = blockStorageSizeInGbs; NotebookSessionShapeConfigDetails = notebookSessionShapeConfigDetails; + PrivateEndpointId = privateEndpointId; Shape = shape; SubnetId = subnetId; } diff --git a/sdk/dotnet/DataScience/Outputs/GetPrivateEndpointsDataSciencePrivateEndpointResult.cs b/sdk/dotnet/DataScience/Outputs/GetPrivateEndpointsDataSciencePrivateEndpointResult.cs new file mode 100644 index 0000000000..ca0786b79e --- /dev/null +++ b/sdk/dotnet/DataScience/Outputs/GetPrivateEndpointsDataSciencePrivateEndpointResult.cs @@ -0,0 +1,130 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.DataScience.Outputs +{ + + [OutputType] + public sealed class GetPrivateEndpointsDataSciencePrivateEndpointResult + { + /// + /// <b>Filter</b> results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + /// + public readonly string CompartmentId; + /// + /// <b>Filter</b> results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the resource. + /// + public readonly string CreatedBy; + /// + /// Resource types in the Data Science service such as notebooks. + /// + public readonly string DataScienceResourceType; + /// + /// Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` + /// + public readonly ImmutableDictionary DefinedTags; + /// + /// A user friendly description. Avoid entering confidential information. + /// + public readonly string Description; + /// + /// <b>Filter</b> results by its user-friendly name. + /// + public readonly string DisplayName; + /// + /// Accesing the Data Science resource using FQDN. + /// + public readonly string Fqdn; + /// + /// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` + /// + public readonly ImmutableDictionary FreeformTags; + /// + /// The OCID of a private endpoint. + /// + public readonly string Id; + /// + /// Details of the state of Data Science private endpoint. + /// + public readonly string LifecycleDetails; + /// + /// An array of network security group OCIDs. + /// + public readonly ImmutableArray NsgIds; + /// + /// The lifecycle state of the private endpoint. + /// + public readonly string State; + public readonly string SubDomain; + /// + /// The OCID of a subnet. + /// + public readonly string SubnetId; + /// + /// The date and time that the Data Science private endpoint was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + /// + public readonly string TimeCreated; + /// + /// The date and time that the Data Science private endpoint was updated expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + /// + public readonly string TimeUpdated; + + [OutputConstructor] + private GetPrivateEndpointsDataSciencePrivateEndpointResult( + string compartmentId, + + string createdBy, + + string dataScienceResourceType, + + ImmutableDictionary definedTags, + + string description, + + string displayName, + + string fqdn, + + ImmutableDictionary freeformTags, + + string id, + + string lifecycleDetails, + + ImmutableArray nsgIds, + + string state, + + string subDomain, + + string subnetId, + + string timeCreated, + + string timeUpdated) + { + CompartmentId = compartmentId; + CreatedBy = createdBy; + DataScienceResourceType = dataScienceResourceType; + DefinedTags = definedTags; + Description = description; + DisplayName = displayName; + Fqdn = fqdn; + FreeformTags = freeformTags; + Id = id; + LifecycleDetails = lifecycleDetails; + NsgIds = nsgIds; + State = state; + SubDomain = subDomain; + SubnetId = subnetId; + TimeCreated = timeCreated; + TimeUpdated = timeUpdated; + } + } +} diff --git a/sdk/dotnet/DataScience/Outputs/GetPrivateEndpointsFilterResult.cs b/sdk/dotnet/DataScience/Outputs/GetPrivateEndpointsFilterResult.cs new file mode 100644 index 0000000000..edc7eff2e3 --- /dev/null +++ b/sdk/dotnet/DataScience/Outputs/GetPrivateEndpointsFilterResult.cs @@ -0,0 +1,33 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.DataScience.Outputs +{ + + [OutputType] + public sealed class GetPrivateEndpointsFilterResult + { + public readonly string Name; + public readonly bool? Regex; + public readonly ImmutableArray Values; + + [OutputConstructor] + private GetPrivateEndpointsFilterResult( + string name, + + bool? regex, + + ImmutableArray values) + { + Name = name; + Regex = regex; + Values = values; + } + } +} diff --git a/sdk/dotnet/DataScience/Outputs/ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetails.cs b/sdk/dotnet/DataScience/Outputs/ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetails.cs index 86f0916fc3..73bea57b02 100644 --- a/sdk/dotnet/DataScience/Outputs/ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetails.cs +++ b/sdk/dotnet/DataScience/Outputs/ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetails.cs @@ -14,7 +14,7 @@ namespace Pulumi.Oci.DataScience.Outputs public sealed class ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetails { /// - /// (Updatable) The network bandwidth for the model. + /// (Updatable) The minimum network bandwidth for the model deployment. /// public readonly int? BandwidthMbps; /// diff --git a/sdk/dotnet/DataScience/Outputs/NotebookSessionNotebookSessionConfigDetails.cs b/sdk/dotnet/DataScience/Outputs/NotebookSessionNotebookSessionConfigDetails.cs index 2980c1e2f0..85b1da60e6 100644 --- a/sdk/dotnet/DataScience/Outputs/NotebookSessionNotebookSessionConfigDetails.cs +++ b/sdk/dotnet/DataScience/Outputs/NotebookSessionNotebookSessionConfigDetails.cs @@ -22,6 +22,10 @@ public sealed class NotebookSessionNotebookSessionConfigDetails /// public readonly Outputs.NotebookSessionNotebookSessionConfigDetailsNotebookSessionShapeConfigDetails? NotebookSessionShapeConfigDetails; /// + /// (Updatable) The OCID of a Data Science private endpoint. + /// + public readonly string? PrivateEndpointId; + /// /// (Updatable) The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint. /// public readonly string Shape; @@ -36,12 +40,15 @@ private NotebookSessionNotebookSessionConfigDetails( Outputs.NotebookSessionNotebookSessionConfigDetailsNotebookSessionShapeConfigDetails? notebookSessionShapeConfigDetails, + string? privateEndpointId, + string shape, string? subnetId) { BlockStorageSizeInGbs = blockStorageSizeInGbs; NotebookSessionShapeConfigDetails = notebookSessionShapeConfigDetails; + PrivateEndpointId = privateEndpointId; Shape = shape; SubnetId = subnetId; } diff --git a/sdk/dotnet/DataScience/Outputs/NotebookSessionNotebookSessionConfigurationDetails.cs b/sdk/dotnet/DataScience/Outputs/NotebookSessionNotebookSessionConfigurationDetails.cs index 35755ece13..3a07276987 100644 --- a/sdk/dotnet/DataScience/Outputs/NotebookSessionNotebookSessionConfigurationDetails.cs +++ b/sdk/dotnet/DataScience/Outputs/NotebookSessionNotebookSessionConfigurationDetails.cs @@ -22,6 +22,10 @@ public sealed class NotebookSessionNotebookSessionConfigurationDetails /// public readonly Outputs.NotebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetails? NotebookSessionShapeConfigDetails; /// + /// (Updatable) The OCID of a Data Science private endpoint. + /// + public readonly string? PrivateEndpointId; + /// /// (Updatable) The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint. /// public readonly string Shape; @@ -36,12 +40,15 @@ private NotebookSessionNotebookSessionConfigurationDetails( Outputs.NotebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetails? notebookSessionShapeConfigDetails, + string? privateEndpointId, + string shape, string subnetId) { BlockStorageSizeInGbs = blockStorageSizeInGbs; NotebookSessionShapeConfigDetails = notebookSessionShapeConfigDetails; + PrivateEndpointId = privateEndpointId; Shape = shape; SubnetId = subnetId; } diff --git a/sdk/dotnet/DataScience/PrivateEndpoint.cs b/sdk/dotnet/DataScience/PrivateEndpoint.cs new file mode 100644 index 0000000000..771f2b345c --- /dev/null +++ b/sdk/dotnet/DataScience/PrivateEndpoint.cs @@ -0,0 +1,401 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.DataScience +{ + /// + /// This resource provides the Data Science Private Endpoint resource in Oracle Cloud Infrastructure Data Science service. + /// + /// Creates a Data Science private endpoint to be used by a Data Science resource. + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testDataSciencePrivateEndpoint = new Oci.DataScience.PrivateEndpoint("testDataSciencePrivateEndpoint", new() + /// { + /// CompartmentId = @var.Compartment_id, + /// DataScienceResourceType = @var.Data_science_private_endpoint_data_science_resource_type, + /// SubnetId = oci_core_subnet.Test_subnet.Id, + /// DefinedTags = + /// { + /// { "Operations.CostCenter", "42" }, + /// }, + /// Description = @var.Data_science_private_endpoint_description, + /// DisplayName = @var.Data_science_private_endpoint_display_name, + /// FreeformTags = + /// { + /// { "Department", "Finance" }, + /// }, + /// NsgIds = @var.Data_science_private_endpoint_nsg_ids, + /// SubDomain = @var.Data_science_private_endpoint_sub_domain, + /// }); + /// + /// }); + /// ``` + /// + /// ## Import + /// + /// DataSciencePrivateEndpoints can be imported using the `id`, e.g. + /// + /// ```sh + /// $ pulumi import oci:DataScience/privateEndpoint:PrivateEndpoint test_data_science_private_endpoint "id" + /// ``` + /// + [OciResourceType("oci:DataScience/privateEndpoint:PrivateEndpoint")] + public partial class PrivateEndpoint : global::Pulumi.CustomResource + { + /// + /// (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the private endpoint. + /// + [Output("compartmentId")] + public Output CompartmentId { get; private set; } = null!; + + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user that created the private endpoint. + /// + [Output("createdBy")] + public Output CreatedBy { get; private set; } = null!; + + /// + /// Data Science resource type. + /// + [Output("dataScienceResourceType")] + public Output DataScienceResourceType { get; private set; } = null!; + + /// + /// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` + /// + [Output("definedTags")] + public Output> DefinedTags { get; private set; } = null!; + + /// + /// (Updatable) A user friendly description. Avoid entering confidential information. + /// + [Output("description")] + public Output Description { get; private set; } = null!; + + /// + /// (Updatable) A user friendly name. It doesn't have to be unique. Avoid entering confidential information. + /// + [Output("displayName")] + public Output DisplayName { get; private set; } = null!; + + /// + /// Accesing the Data Science resource using FQDN. + /// + [Output("fqdn")] + public Output Fqdn { get; private set; } = null!; + + /// + /// (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` + /// + [Output("freeformTags")] + public Output> FreeformTags { get; private set; } = null!; + + /// + /// Details of the state of Data Science private endpoint. + /// + [Output("lifecycleDetails")] + public Output LifecycleDetails { get; private set; } = null!; + + /// + /// (Updatable) An array of network security group OCIDs. + /// + [Output("nsgIds")] + public Output> NsgIds { get; private set; } = null!; + + /// + /// State of the Data Science private endpoint. + /// + [Output("state")] + public Output State { get; private set; } = null!; + + /// + /// Subdomain for a private endpoint FQDN. + /// + [Output("subDomain")] + public Output SubDomain { get; private set; } = null!; + + /// + /// The OCID of the subnet. + /// + /// + /// ** 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 + /// + [Output("subnetId")] + public Output SubnetId { get; private set; } = null!; + + /// + /// The date and time that the Data Science private endpoint was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + /// + [Output("timeCreated")] + public Output TimeCreated { get; private set; } = null!; + + /// + /// The date and time that the Data Science private endpoint was updated expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + /// + [Output("timeUpdated")] + public Output TimeUpdated { get; private set; } = null!; + + + /// + /// Create a PrivateEndpoint resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public PrivateEndpoint(string name, PrivateEndpointArgs args, CustomResourceOptions? options = null) + : base("oci:DataScience/privateEndpoint:PrivateEndpoint", name, args ?? new PrivateEndpointArgs(), MakeResourceOptions(options, "")) + { + } + + private PrivateEndpoint(string name, Input id, PrivateEndpointState? state = null, CustomResourceOptions? options = null) + : base("oci:DataScience/privateEndpoint:PrivateEndpoint", name, state, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing PrivateEndpoint resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// Any extra arguments used during the lookup. + /// A bag of options that control this resource's behavior + public static PrivateEndpoint Get(string name, Input id, PrivateEndpointState? state = null, CustomResourceOptions? options = null) + { + return new PrivateEndpoint(name, id, state, options); + } + } + + public sealed class PrivateEndpointArgs : global::Pulumi.ResourceArgs + { + /// + /// (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the private endpoint. + /// + [Input("compartmentId", required: true)] + public Input CompartmentId { get; set; } = null!; + + /// + /// Data Science resource type. + /// + [Input("dataScienceResourceType", required: true)] + public Input DataScienceResourceType { get; set; } = null!; + + [Input("definedTags")] + private InputMap? _definedTags; + + /// + /// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` + /// + public InputMap DefinedTags + { + get => _definedTags ?? (_definedTags = new InputMap()); + set => _definedTags = value; + } + + /// + /// (Updatable) A user friendly description. Avoid entering confidential information. + /// + [Input("description")] + public Input? Description { get; set; } + + /// + /// (Updatable) A user friendly name. It doesn't have to be unique. Avoid entering confidential information. + /// + [Input("displayName")] + public Input? DisplayName { get; set; } + + [Input("freeformTags")] + private InputMap? _freeformTags; + + /// + /// (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` + /// + public InputMap FreeformTags + { + get => _freeformTags ?? (_freeformTags = new InputMap()); + set => _freeformTags = value; + } + + [Input("nsgIds")] + private InputList? _nsgIds; + + /// + /// (Updatable) An array of network security group OCIDs. + /// + public InputList NsgIds + { + get => _nsgIds ?? (_nsgIds = new InputList()); + set => _nsgIds = value; + } + + /// + /// Subdomain for a private endpoint FQDN. + /// + [Input("subDomain")] + public Input? SubDomain { get; set; } + + /// + /// The OCID of the subnet. + /// + /// + /// ** 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 + /// + [Input("subnetId", required: true)] + public Input SubnetId { get; set; } = null!; + + public PrivateEndpointArgs() + { + } + public static new PrivateEndpointArgs Empty => new PrivateEndpointArgs(); + } + + public sealed class PrivateEndpointState : global::Pulumi.ResourceArgs + { + /// + /// (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the private endpoint. + /// + [Input("compartmentId")] + public Input? CompartmentId { get; set; } + + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user that created the private endpoint. + /// + [Input("createdBy")] + public Input? CreatedBy { get; set; } + + /// + /// Data Science resource type. + /// + [Input("dataScienceResourceType")] + public Input? DataScienceResourceType { get; set; } + + [Input("definedTags")] + private InputMap? _definedTags; + + /// + /// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` + /// + public InputMap DefinedTags + { + get => _definedTags ?? (_definedTags = new InputMap()); + set => _definedTags = value; + } + + /// + /// (Updatable) A user friendly description. Avoid entering confidential information. + /// + [Input("description")] + public Input? Description { get; set; } + + /// + /// (Updatable) A user friendly name. It doesn't have to be unique. Avoid entering confidential information. + /// + [Input("displayName")] + public Input? DisplayName { get; set; } + + /// + /// Accesing the Data Science resource using FQDN. + /// + [Input("fqdn")] + public Input? Fqdn { get; set; } + + [Input("freeformTags")] + private InputMap? _freeformTags; + + /// + /// (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` + /// + public InputMap FreeformTags + { + get => _freeformTags ?? (_freeformTags = new InputMap()); + set => _freeformTags = value; + } + + /// + /// Details of the state of Data Science private endpoint. + /// + [Input("lifecycleDetails")] + public Input? LifecycleDetails { get; set; } + + [Input("nsgIds")] + private InputList? _nsgIds; + + /// + /// (Updatable) An array of network security group OCIDs. + /// + public InputList NsgIds + { + get => _nsgIds ?? (_nsgIds = new InputList()); + set => _nsgIds = value; + } + + /// + /// State of the Data Science private endpoint. + /// + [Input("state")] + public Input? State { get; set; } + + /// + /// Subdomain for a private endpoint FQDN. + /// + [Input("subDomain")] + public Input? SubDomain { get; set; } + + /// + /// The OCID of the subnet. + /// + /// + /// ** 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 + /// + [Input("subnetId")] + public Input? SubnetId { get; set; } + + /// + /// The date and time that the Data Science private endpoint was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + /// + [Input("timeCreated")] + public Input? TimeCreated { get; set; } + + /// + /// The date and time that the Data Science private endpoint was updated expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + /// + [Input("timeUpdated")] + public Input? TimeUpdated { get; set; } + + public PrivateEndpointState() + { + } + public static new PrivateEndpointState Empty => new PrivateEndpointState(); + } +} diff --git a/sdk/dotnet/Database/AutonomousDatabase.cs b/sdk/dotnet/Database/AutonomousDatabase.cs index 4750001cdd..c9600efc72 100644 --- a/sdk/dotnet/Database/AutonomousDatabase.cs +++ b/sdk/dotnet/Database/AutonomousDatabase.cs @@ -554,6 +554,12 @@ public partial class AutonomousDatabase : global::Pulumi.CustomResource [Output("remoteDisasterRecoveryType")] public Output RemoteDisasterRecoveryType { get; private set; } = null!; + [Output("resourcePoolLeaderId")] + public Output ResourcePoolLeaderId { get; private set; } = null!; + + [Output("resourcePoolSummary")] + public Output ResourcePoolSummary { get; private set; } = null!; + /// /// The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled. /// @@ -711,6 +717,9 @@ public partial class AutonomousDatabase : global::Pulumi.CustomResource [Output("timeMaintenanceEnd")] public Output TimeMaintenanceEnd { get; private set; } = null!; + [Output("timeOfJoiningResourcePool")] + public Output TimeOfJoiningResourcePool { get; private set; } = null!; + /// /// The timestamp of the last failover operation. /// @@ -1230,6 +1239,12 @@ public InputList NsgIds [Input("remoteDisasterRecoveryType")] public Input? RemoteDisasterRecoveryType { get; set; } + [Input("resourcePoolLeaderId")] + public Input? ResourcePoolLeaderId { get; set; } + + [Input("resourcePoolSummary")] + public Input? ResourcePoolSummary { get; set; } + /// /// (Updatable) An optional property when flipped triggers rotation of KMS key. It is only applicable on dedicated databases i.e. where `is_dedicated` is true. /// @@ -2002,6 +2017,12 @@ public InputList? RemoteDisasterRecoveryType { get; set; } + [Input("resourcePoolLeaderId")] + public Input? ResourcePoolLeaderId { get; set; } + + [Input("resourcePoolSummary")] + public Input? ResourcePoolSummary { get; set; } + /// /// The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled. /// @@ -2189,6 +2210,9 @@ public InputMap SystemTags [Input("timeMaintenanceEnd")] public Input? TimeMaintenanceEnd { get; set; } + [Input("timeOfJoiningResourcePool")] + public Input? TimeOfJoiningResourcePool { get; set; } + /// /// The timestamp of the last failover operation. /// diff --git a/sdk/dotnet/Database/GetAutonomousDatabase.cs b/sdk/dotnet/Database/GetAutonomousDatabase.cs index b433cf7a34..0cf26f9bb4 100644 --- a/sdk/dotnet/Database/GetAutonomousDatabase.cs +++ b/sdk/dotnet/Database/GetAutonomousDatabase.cs @@ -424,6 +424,14 @@ public sealed class GetAutonomousDatabaseResult public readonly ImmutableArray RemoteDisasterRecoveryConfigurations; public readonly string RemoteDisasterRecoveryType; /// + /// The unique identifier for leader autonomous database OCID [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + /// + public readonly string ResourcePoolLeaderId; + /// + /// The configuration details for resource pool + /// + public readonly ImmutableArray ResourcePoolSummaries; + /// /// The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled. /// public readonly string Role; @@ -498,6 +506,10 @@ public sealed class GetAutonomousDatabaseResult /// public readonly string TimeMaintenanceEnd; /// + /// The time the member joined the resource pool. + /// + public readonly string TimeOfJoiningResourcePool; + /// /// The timestamp of the last failover operation. /// public readonly string TimeOfLastFailover; @@ -716,6 +728,10 @@ private GetAutonomousDatabaseResult( string remoteDisasterRecoveryType, + string resourcePoolLeaderId, + + ImmutableArray resourcePoolSummaries, + string role, bool rotateKeyTrigger, @@ -762,6 +778,8 @@ private GetAutonomousDatabaseResult( string timeMaintenanceEnd, + string timeOfJoiningResourcePool, + string timeOfLastFailover, string timeOfLastRefresh, @@ -873,6 +891,8 @@ private GetAutonomousDatabaseResult( RefreshableStatus = refreshableStatus; RemoteDisasterRecoveryConfigurations = remoteDisasterRecoveryConfigurations; RemoteDisasterRecoveryType = remoteDisasterRecoveryType; + ResourcePoolLeaderId = resourcePoolLeaderId; + ResourcePoolSummaries = resourcePoolSummaries; Role = role; RotateKeyTrigger = rotateKeyTrigger; ScheduledOperations = scheduledOperations; @@ -896,6 +916,7 @@ private GetAutonomousDatabaseResult( TimeLocalDataGuardEnabled = timeLocalDataGuardEnabled; TimeMaintenanceBegin = timeMaintenanceBegin; TimeMaintenanceEnd = timeMaintenanceEnd; + TimeOfJoiningResourcePool = timeOfJoiningResourcePool; TimeOfLastFailover = timeOfLastFailover; TimeOfLastRefresh = timeOfLastRefresh; TimeOfLastRefreshPoint = timeOfLastRefreshPoint; diff --git a/sdk/dotnet/Database/GetAutonomousDatabases.cs b/sdk/dotnet/Database/GetAutonomousDatabases.cs index 5376f04005..fee1c9687e 100644 --- a/sdk/dotnet/Database/GetAutonomousDatabases.cs +++ b/sdk/dotnet/Database/GetAutonomousDatabases.cs @@ -40,6 +40,8 @@ public static class GetAutonomousDatabases /// IsDataGuardEnabled = @var.Autonomous_database_is_data_guard_enabled, /// IsFreeTier = @var.Autonomous_database_is_free_tier, /// IsRefreshableClone = @var.Autonomous_database_is_refreshable_clone, + /// IsResourcePoolLeader = @var.Autonomous_database_is_resource_pool_leader, + /// ResourcePoolLeaderId = oci_database_resource_pool_leader.Test_resource_pool_leader.Id, /// State = @var.Autonomous_database_state, /// }); /// @@ -80,6 +82,8 @@ public static Task InvokeAsync(GetAutonomousDataba /// IsDataGuardEnabled = @var.Autonomous_database_is_data_guard_enabled, /// IsFreeTier = @var.Autonomous_database_is_free_tier, /// IsRefreshableClone = @var.Autonomous_database_is_refreshable_clone, + /// IsResourcePoolLeader = @var.Autonomous_database_is_resource_pool_leader, + /// ResourcePoolLeaderId = oci_database_resource_pool_leader.Test_resource_pool_leader.Id, /// State = @var.Autonomous_database_state, /// }); /// @@ -157,6 +161,18 @@ public List Filters [Input("isRefreshableClone")] public bool? IsRefreshableClone { get; set; } + /// + /// Filter if the resource is the resource pool leader. A value of `true` returns only resource pool leader. + /// + [Input("isResourcePoolLeader")] + public bool? IsResourcePoolLeader { get; set; } + + /// + /// The database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resourcepool Leader Autonomous Database. + /// + [Input("resourcePoolLeaderId")] + public string? ResourcePoolLeaderId { get; set; } + /// /// A filter to return only resources that match the given lifecycle state exactly. /// @@ -233,6 +249,18 @@ public InputList Filters [Input("isRefreshableClone")] public Input? IsRefreshableClone { get; set; } + /// + /// Filter if the resource is the resource pool leader. A value of `true` returns only resource pool leader. + /// + [Input("isResourcePoolLeader")] + public Input? IsResourcePoolLeader { get; set; } + + /// + /// The database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resourcepool Leader Autonomous Database. + /// + [Input("resourcePoolLeaderId")] + public Input? ResourcePoolLeaderId { get; set; } + /// /// A filter to return only resources that match the given lifecycle state exactly. /// @@ -298,6 +326,11 @@ public sealed class GetAutonomousDatabasesResult /// Indicates if the Autonomous Database is a refreshable clone. /// public readonly bool? IsRefreshableClone; + public readonly bool? IsResourcePoolLeader; + /// + /// The unique identifier for leader autonomous database OCID [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + /// + public readonly string? ResourcePoolLeaderId; /// /// The current state of the Autonomous Database. /// @@ -329,6 +362,10 @@ private GetAutonomousDatabasesResult( bool? isRefreshableClone, + bool? isResourcePoolLeader, + + string? resourcePoolLeaderId, + string? state) { AutonomousContainerDatabaseId = autonomousContainerDatabaseId; @@ -343,6 +380,8 @@ private GetAutonomousDatabasesResult( IsDataGuardEnabled = isDataGuardEnabled; IsFreeTier = isFreeTier; IsRefreshableClone = isRefreshableClone; + IsResourcePoolLeader = isResourcePoolLeader; + ResourcePoolLeaderId = resourcePoolLeaderId; State = state; } } diff --git a/sdk/dotnet/Database/Inputs/AutonomousDatabaseResourcePoolSummaryArgs.cs b/sdk/dotnet/Database/Inputs/AutonomousDatabaseResourcePoolSummaryArgs.cs new file mode 100644 index 0000000000..610a03de2e --- /dev/null +++ b/sdk/dotnet/Database/Inputs/AutonomousDatabaseResourcePoolSummaryArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Database.Inputs +{ + + public sealed class AutonomousDatabaseResourcePoolSummaryArgs : global::Pulumi.ResourceArgs + { + /// + /// Indicates if the long-term backup schedule should be deleted. The default value is `FALSE`. + /// + [Input("isDisabled")] + public Input? IsDisabled { get; set; } + + [Input("poolSize")] + public Input? PoolSize { get; set; } + + public AutonomousDatabaseResourcePoolSummaryArgs() + { + } + public static new AutonomousDatabaseResourcePoolSummaryArgs Empty => new AutonomousDatabaseResourcePoolSummaryArgs(); + } +} diff --git a/sdk/dotnet/Database/Inputs/AutonomousDatabaseResourcePoolSummaryGetArgs.cs b/sdk/dotnet/Database/Inputs/AutonomousDatabaseResourcePoolSummaryGetArgs.cs new file mode 100644 index 0000000000..f4aed06b8a --- /dev/null +++ b/sdk/dotnet/Database/Inputs/AutonomousDatabaseResourcePoolSummaryGetArgs.cs @@ -0,0 +1,29 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Database.Inputs +{ + + public sealed class AutonomousDatabaseResourcePoolSummaryGetArgs : global::Pulumi.ResourceArgs + { + /// + /// Indicates if the long-term backup schedule should be deleted. The default value is `FALSE`. + /// + [Input("isDisabled")] + public Input? IsDisabled { get; set; } + + [Input("poolSize")] + public Input? PoolSize { get; set; } + + public AutonomousDatabaseResourcePoolSummaryGetArgs() + { + } + public static new AutonomousDatabaseResourcePoolSummaryGetArgs Empty => new AutonomousDatabaseResourcePoolSummaryGetArgs(); + } +} diff --git a/sdk/dotnet/Database/Outputs/AutonomousDatabaseResourcePoolSummary.cs b/sdk/dotnet/Database/Outputs/AutonomousDatabaseResourcePoolSummary.cs new file mode 100644 index 0000000000..ee678515f4 --- /dev/null +++ b/sdk/dotnet/Database/Outputs/AutonomousDatabaseResourcePoolSummary.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Database.Outputs +{ + + [OutputType] + public sealed class AutonomousDatabaseResourcePoolSummary + { + /// + /// Indicates if the long-term backup schedule should be deleted. The default value is `FALSE`. + /// + public readonly bool? IsDisabled; + public readonly int? PoolSize; + + [OutputConstructor] + private AutonomousDatabaseResourcePoolSummary( + bool? isDisabled, + + int? poolSize) + { + IsDisabled = isDisabled; + PoolSize = poolSize; + } + } +} diff --git a/sdk/dotnet/Database/Outputs/GetAutonomousDatabaseLongTermBackupScheduleResult.cs b/sdk/dotnet/Database/Outputs/GetAutonomousDatabaseLongTermBackupScheduleResult.cs index 97f72e6701..67f9d9a430 100644 --- a/sdk/dotnet/Database/Outputs/GetAutonomousDatabaseLongTermBackupScheduleResult.cs +++ b/sdk/dotnet/Database/Outputs/GetAutonomousDatabaseLongTermBackupScheduleResult.cs @@ -14,7 +14,7 @@ namespace Pulumi.Oci.Database.Outputs public sealed class GetAutonomousDatabaseLongTermBackupScheduleResult { /// - /// Indicates if the long-term backup schedule should be deleted. The default value is `FALSE`. + /// Indicates if the resource pool should be deleted for the Autonomous Database. /// public readonly bool IsDisabled; /// diff --git a/sdk/dotnet/Database/Outputs/GetAutonomousDatabaseResourcePoolSummaryResult.cs b/sdk/dotnet/Database/Outputs/GetAutonomousDatabaseResourcePoolSummaryResult.cs new file mode 100644 index 0000000000..ee99e46815 --- /dev/null +++ b/sdk/dotnet/Database/Outputs/GetAutonomousDatabaseResourcePoolSummaryResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Database.Outputs +{ + + [OutputType] + public sealed class GetAutonomousDatabaseResourcePoolSummaryResult + { + /// + /// Indicates if the resource pool should be deleted for the Autonomous Database. + /// + public readonly bool IsDisabled; + /// + /// Resource pool size. + /// + public readonly int PoolSize; + + [OutputConstructor] + private GetAutonomousDatabaseResourcePoolSummaryResult( + bool isDisabled, + + int poolSize) + { + IsDisabled = isDisabled; + PoolSize = poolSize; + } + } +} diff --git a/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesAutonomousDatabaseLongTermBackupScheduleResult.cs b/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesAutonomousDatabaseLongTermBackupScheduleResult.cs index 5c9fc3439e..0919def45b 100644 --- a/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesAutonomousDatabaseLongTermBackupScheduleResult.cs +++ b/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesAutonomousDatabaseLongTermBackupScheduleResult.cs @@ -14,7 +14,7 @@ namespace Pulumi.Oci.Database.Outputs public sealed class GetAutonomousDatabasesAutonomousDatabaseLongTermBackupScheduleResult { /// - /// Indicates if the long-term backup schedule should be deleted. The default value is `FALSE`. + /// Indicates if the resource pool should be deleted for the Autonomous Database. /// public readonly bool IsDisabled; /// diff --git a/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryResult.cs b/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryResult.cs new file mode 100644 index 0000000000..143bcd5658 --- /dev/null +++ b/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Database.Outputs +{ + + [OutputType] + public sealed class GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryResult + { + /// + /// Indicates if the resource pool should be deleted for the Autonomous Database. + /// + public readonly bool IsDisabled; + /// + /// Resource pool size. + /// + public readonly int PoolSize; + + [OutputConstructor] + private GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryResult( + bool isDisabled, + + int poolSize) + { + IsDisabled = isDisabled; + PoolSize = poolSize; + } + } +} diff --git a/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesAutonomousDatabaseResult.cs b/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesAutonomousDatabaseResult.cs index 1ff0783306..6154dc9d2d 100644 --- a/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesAutonomousDatabaseResult.cs +++ b/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesAutonomousDatabaseResult.cs @@ -326,6 +326,14 @@ public sealed class GetAutonomousDatabasesAutonomousDatabaseResult public readonly ImmutableArray RemoteDisasterRecoveryConfigurations; public readonly string RemoteDisasterRecoveryType; /// + /// The database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resourcepool Leader Autonomous Database. + /// + public readonly string ResourcePoolLeaderId; + /// + /// The configuration details for resource pool + /// + public readonly ImmutableArray ResourcePoolSummaries; + /// /// The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled. /// public readonly string Role; @@ -400,6 +408,10 @@ public sealed class GetAutonomousDatabasesAutonomousDatabaseResult /// public readonly string TimeMaintenanceEnd; /// + /// The time the member joined the resource pool. + /// + public readonly string TimeOfJoiningResourcePool; + /// /// The timestamp of the last failover operation. /// public readonly string TimeOfLastFailover; @@ -618,6 +630,10 @@ private GetAutonomousDatabasesAutonomousDatabaseResult( string remoteDisasterRecoveryType, + string resourcePoolLeaderId, + + ImmutableArray resourcePoolSummaries, + string role, bool rotateKeyTrigger, @@ -664,6 +680,8 @@ private GetAutonomousDatabasesAutonomousDatabaseResult( string timeMaintenanceEnd, + string timeOfJoiningResourcePool, + string timeOfLastFailover, string timeOfLastRefresh, @@ -775,6 +793,8 @@ private GetAutonomousDatabasesAutonomousDatabaseResult( RefreshableStatus = refreshableStatus; RemoteDisasterRecoveryConfigurations = remoteDisasterRecoveryConfigurations; RemoteDisasterRecoveryType = remoteDisasterRecoveryType; + ResourcePoolLeaderId = resourcePoolLeaderId; + ResourcePoolSummaries = resourcePoolSummaries; Role = role; RotateKeyTrigger = rotateKeyTrigger; ScheduledOperations = scheduledOperations; @@ -798,6 +818,7 @@ private GetAutonomousDatabasesAutonomousDatabaseResult( TimeLocalDataGuardEnabled = timeLocalDataGuardEnabled; TimeMaintenanceBegin = timeMaintenanceBegin; TimeMaintenanceEnd = timeMaintenanceEnd; + TimeOfJoiningResourcePool = timeOfJoiningResourcePool; TimeOfLastFailover = timeOfLastFailover; TimeOfLastRefresh = timeOfLastRefresh; TimeOfLastRefreshPoint = timeOfLastRefreshPoint; diff --git a/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesClonesAutonomousDatabaseLongTermBackupScheduleResult.cs b/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesClonesAutonomousDatabaseLongTermBackupScheduleResult.cs index 19303c0f1b..58a269618f 100644 --- a/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesClonesAutonomousDatabaseLongTermBackupScheduleResult.cs +++ b/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesClonesAutonomousDatabaseLongTermBackupScheduleResult.cs @@ -14,7 +14,7 @@ namespace Pulumi.Oci.Database.Outputs public sealed class GetAutonomousDatabasesClonesAutonomousDatabaseLongTermBackupScheduleResult { /// - /// Indicates if the long-term backup schedule should be deleted. The default value is `FALSE`. + /// Indicates if the resource pool should be deleted for the Autonomous Database. /// public readonly bool IsDisabled; /// diff --git a/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryResult.cs b/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryResult.cs new file mode 100644 index 0000000000..a31c706e4b --- /dev/null +++ b/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Database.Outputs +{ + + [OutputType] + public sealed class GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryResult + { + /// + /// Indicates if the resource pool should be deleted for the Autonomous Database. + /// + public readonly bool IsDisabled; + /// + /// Resource pool size. + /// + public readonly int PoolSize; + + [OutputConstructor] + private GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryResult( + bool isDisabled, + + int poolSize) + { + IsDisabled = isDisabled; + PoolSize = poolSize; + } + } +} diff --git a/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesClonesAutonomousDatabaseResult.cs b/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesClonesAutonomousDatabaseResult.cs index 7bb40a53a9..bba6eea62e 100644 --- a/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesClonesAutonomousDatabaseResult.cs +++ b/sdk/dotnet/Database/Outputs/GetAutonomousDatabasesClonesAutonomousDatabaseResult.cs @@ -315,6 +315,14 @@ public sealed class GetAutonomousDatabasesClonesAutonomousDatabaseResult /// public readonly ImmutableArray RemoteDisasterRecoveryConfigurations; /// + /// The unique identifier for leader autonomous database OCID [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + /// + public readonly string ResourcePoolLeaderId; + /// + /// The configuration details for resource pool + /// + public readonly ImmutableArray ResourcePoolSummaries; + /// /// The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled. /// public readonly string Role; @@ -382,6 +390,7 @@ public sealed class GetAutonomousDatabasesClonesAutonomousDatabaseResult /// The date and time when maintenance will end. /// public readonly string TimeMaintenanceEnd; + public readonly string TimeOfJoiningResourcePool; /// /// The timestamp of the last failover operation. /// @@ -581,6 +590,10 @@ private GetAutonomousDatabasesClonesAutonomousDatabaseResult( ImmutableArray remoteDisasterRecoveryConfigurations, + string resourcePoolLeaderId, + + ImmutableArray resourcePoolSummaries, + string role, ImmutableArray scheduledOperations, @@ -615,6 +628,8 @@ private GetAutonomousDatabasesClonesAutonomousDatabaseResult( string timeMaintenanceEnd, + string timeOfJoiningResourcePool, + string timeOfLastFailover, string timeOfLastRefresh, @@ -713,6 +728,8 @@ private GetAutonomousDatabasesClonesAutonomousDatabaseResult( RefreshableMode = refreshableMode; RefreshableStatus = refreshableStatus; RemoteDisasterRecoveryConfigurations = remoteDisasterRecoveryConfigurations; + ResourcePoolLeaderId = resourcePoolLeaderId; + ResourcePoolSummaries = resourcePoolSummaries; Role = role; ScheduledOperations = scheduledOperations; ServiceConsoleUrl = serviceConsoleUrl; @@ -730,6 +747,7 @@ private GetAutonomousDatabasesClonesAutonomousDatabaseResult( TimeLocalDataGuardEnabled = timeLocalDataGuardEnabled; TimeMaintenanceBegin = timeMaintenanceBegin; TimeMaintenanceEnd = timeMaintenanceEnd; + TimeOfJoiningResourcePool = timeOfJoiningResourcePool; TimeOfLastFailover = timeOfLastFailover; TimeOfLastRefresh = timeOfLastRefresh; TimeOfLastRefreshPoint = timeOfLastRefreshPoint; diff --git a/sdk/dotnet/DatabaseMigration/GetMigration.cs b/sdk/dotnet/DatabaseMigration/GetMigration.cs index ef5341d81c..7fd93d53ba 100644 --- a/sdk/dotnet/DatabaseMigration/GetMigration.cs +++ b/sdk/dotnet/DatabaseMigration/GetMigration.cs @@ -126,6 +126,7 @@ public sealed class GetMigrationResult /// Data Transfer Medium details for the Migration. /// public readonly ImmutableArray DataTransferMediumDetails; + public readonly ImmutableArray DataTransferMediumDetailsV2s; /// /// Optional settings for Data Pump Export and Import jobs /// @@ -234,6 +235,8 @@ private GetMigrationResult( ImmutableArray dataTransferMediumDetails, + ImmutableArray dataTransferMediumDetailsV2s, + ImmutableArray datapumpSettings, ImmutableDictionary definedTags, @@ -288,6 +291,7 @@ private GetMigrationResult( CredentialsSecretId = credentialsSecretId; CsvText = csvText; DataTransferMediumDetails = dataTransferMediumDetails; + DataTransferMediumDetailsV2s = dataTransferMediumDetailsV2s; DatapumpSettings = datapumpSettings; DefinedTags = definedTags; DisplayName = displayName; diff --git a/sdk/dotnet/DatabaseMigration/Inputs/MigrationDataTransferMediumDetailsV2Args.cs b/sdk/dotnet/DatabaseMigration/Inputs/MigrationDataTransferMediumDetailsV2Args.cs new file mode 100644 index 0000000000..aa90552cc8 --- /dev/null +++ b/sdk/dotnet/DatabaseMigration/Inputs/MigrationDataTransferMediumDetailsV2Args.cs @@ -0,0 +1,44 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.DatabaseMigration.Inputs +{ + + public sealed class MigrationDataTransferMediumDetailsV2Args : global::Pulumi.ResourceArgs + { + [Input("accessKeyId")] + public Input? AccessKeyId { get; set; } + + /// + /// (Updatable) Name of directory object in database + /// + [Input("name")] + public Input? Name { get; set; } + + [Input("objectStorageBucket")] + public Input? ObjectStorageBucket { get; set; } + + [Input("region")] + public Input? Region { get; set; } + + [Input("secretAccessKey")] + public Input? SecretAccessKey { get; set; } + + /// + /// (Updatable) Migration type. + /// + [Input("type", required: true)] + public Input Type { get; set; } = null!; + + public MigrationDataTransferMediumDetailsV2Args() + { + } + public static new MigrationDataTransferMediumDetailsV2Args Empty => new MigrationDataTransferMediumDetailsV2Args(); + } +} diff --git a/sdk/dotnet/DatabaseMigration/Inputs/MigrationDataTransferMediumDetailsV2GetArgs.cs b/sdk/dotnet/DatabaseMigration/Inputs/MigrationDataTransferMediumDetailsV2GetArgs.cs new file mode 100644 index 0000000000..9908370580 --- /dev/null +++ b/sdk/dotnet/DatabaseMigration/Inputs/MigrationDataTransferMediumDetailsV2GetArgs.cs @@ -0,0 +1,44 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.DatabaseMigration.Inputs +{ + + public sealed class MigrationDataTransferMediumDetailsV2GetArgs : global::Pulumi.ResourceArgs + { + [Input("accessKeyId")] + public Input? AccessKeyId { get; set; } + + /// + /// (Updatable) Name of directory object in database + /// + [Input("name")] + public Input? Name { get; set; } + + [Input("objectStorageBucket")] + public Input? ObjectStorageBucket { get; set; } + + [Input("region")] + public Input? Region { get; set; } + + [Input("secretAccessKey")] + public Input? SecretAccessKey { get; set; } + + /// + /// (Updatable) Migration type. + /// + [Input("type", required: true)] + public Input Type { get; set; } = null!; + + public MigrationDataTransferMediumDetailsV2GetArgs() + { + } + public static new MigrationDataTransferMediumDetailsV2GetArgs Empty => new MigrationDataTransferMediumDetailsV2GetArgs(); + } +} diff --git a/sdk/dotnet/DatabaseMigration/Inputs/MigrationDataTransferMediumDetailsV2ObjectStorageBucketArgs.cs b/sdk/dotnet/DatabaseMigration/Inputs/MigrationDataTransferMediumDetailsV2ObjectStorageBucketArgs.cs new file mode 100644 index 0000000000..d2fe0d5971 --- /dev/null +++ b/sdk/dotnet/DatabaseMigration/Inputs/MigrationDataTransferMediumDetailsV2ObjectStorageBucketArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.DatabaseMigration.Inputs +{ + + public sealed class MigrationDataTransferMediumDetailsV2ObjectStorageBucketArgs : global::Pulumi.ResourceArgs + { + /// + /// (Updatable) Bucket name. + /// + [Input("bucket")] + public Input? Bucket { get; set; } + + /// + /// (Updatable) Namespace name of the object store bucket. + /// + [Input("namespace")] + public Input? Namespace { get; set; } + + public MigrationDataTransferMediumDetailsV2ObjectStorageBucketArgs() + { + } + public static new MigrationDataTransferMediumDetailsV2ObjectStorageBucketArgs Empty => new MigrationDataTransferMediumDetailsV2ObjectStorageBucketArgs(); + } +} diff --git a/sdk/dotnet/DatabaseMigration/Inputs/MigrationDataTransferMediumDetailsV2ObjectStorageBucketGetArgs.cs b/sdk/dotnet/DatabaseMigration/Inputs/MigrationDataTransferMediumDetailsV2ObjectStorageBucketGetArgs.cs new file mode 100644 index 0000000000..96a066c1e0 --- /dev/null +++ b/sdk/dotnet/DatabaseMigration/Inputs/MigrationDataTransferMediumDetailsV2ObjectStorageBucketGetArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.DatabaseMigration.Inputs +{ + + public sealed class MigrationDataTransferMediumDetailsV2ObjectStorageBucketGetArgs : global::Pulumi.ResourceArgs + { + /// + /// (Updatable) Bucket name. + /// + [Input("bucket")] + public Input? Bucket { get; set; } + + /// + /// (Updatable) Namespace name of the object store bucket. + /// + [Input("namespace")] + public Input? Namespace { get; set; } + + public MigrationDataTransferMediumDetailsV2ObjectStorageBucketGetArgs() + { + } + public static new MigrationDataTransferMediumDetailsV2ObjectStorageBucketGetArgs Empty => new MigrationDataTransferMediumDetailsV2ObjectStorageBucketGetArgs(); + } +} diff --git a/sdk/dotnet/DatabaseMigration/Inputs/MigrationDumpTransferDetailsArgs.cs b/sdk/dotnet/DatabaseMigration/Inputs/MigrationDumpTransferDetailsArgs.cs index fd6662a92c..79555db464 100644 --- a/sdk/dotnet/DatabaseMigration/Inputs/MigrationDumpTransferDetailsArgs.cs +++ b/sdk/dotnet/DatabaseMigration/Inputs/MigrationDumpTransferDetailsArgs.cs @@ -12,6 +12,9 @@ namespace Pulumi.Oci.DatabaseMigration.Inputs public sealed class MigrationDumpTransferDetailsArgs : global::Pulumi.ResourceArgs { + [Input("sharedStorageMountTargetId")] + public Input? SharedStorageMountTargetId { get; set; } + /// /// (Updatable) Optional additional properties for dump transfer in source or target host. Default kind is CURL /// diff --git a/sdk/dotnet/DatabaseMigration/Inputs/MigrationDumpTransferDetailsGetArgs.cs b/sdk/dotnet/DatabaseMigration/Inputs/MigrationDumpTransferDetailsGetArgs.cs index 8f422ddac6..6080472603 100644 --- a/sdk/dotnet/DatabaseMigration/Inputs/MigrationDumpTransferDetailsGetArgs.cs +++ b/sdk/dotnet/DatabaseMigration/Inputs/MigrationDumpTransferDetailsGetArgs.cs @@ -12,6 +12,9 @@ namespace Pulumi.Oci.DatabaseMigration.Inputs public sealed class MigrationDumpTransferDetailsGetArgs : global::Pulumi.ResourceArgs { + [Input("sharedStorageMountTargetId")] + public Input? SharedStorageMountTargetId { get; set; } + /// /// (Updatable) Optional additional properties for dump transfer in source or target host. Default kind is CURL /// diff --git a/sdk/dotnet/DatabaseMigration/Migration.cs b/sdk/dotnet/DatabaseMigration/Migration.cs index 1cab573b37..3cdaa3bb26 100644 --- a/sdk/dotnet/DatabaseMigration/Migration.cs +++ b/sdk/dotnet/DatabaseMigration/Migration.cs @@ -269,6 +269,9 @@ public partial class Migration : global::Pulumi.CustomResource [Output("dataTransferMediumDetails")] public Output DataTransferMediumDetails { get; private set; } = null!; + [Output("dataTransferMediumDetailsV2")] + public Output DataTransferMediumDetailsV2 { get; private set; } = null!; + /// /// (Updatable) Optional settings for Data Pump Export and Import jobs /// @@ -477,6 +480,9 @@ public sealed class MigrationArgs : global::Pulumi.ResourceArgs [Input("dataTransferMediumDetails")] public Input? DataTransferMediumDetails { get; set; } + [Input("dataTransferMediumDetailsV2")] + public Input? DataTransferMediumDetailsV2 { get; set; } + /// /// (Updatable) Optional settings for Data Pump Export and Import jobs /// @@ -629,6 +635,9 @@ public sealed class MigrationState : global::Pulumi.ResourceArgs [Input("dataTransferMediumDetails")] public Input? DataTransferMediumDetails { get; set; } + [Input("dataTransferMediumDetailsV2")] + public Input? DataTransferMediumDetailsV2 { get; set; } + /// /// (Updatable) Optional settings for Data Pump Export and Import jobs /// diff --git a/sdk/dotnet/DatabaseMigration/Outputs/GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketResult.cs b/sdk/dotnet/DatabaseMigration/Outputs/GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketResult.cs new file mode 100644 index 0000000000..1e8a10c8f1 --- /dev/null +++ b/sdk/dotnet/DatabaseMigration/Outputs/GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.DatabaseMigration.Outputs +{ + + [OutputType] + public sealed class GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketResult + { + /// + /// Bucket name. + /// + public readonly string Bucket; + /// + /// Namespace name of the object store bucket. + /// + public readonly string Namespace; + + [OutputConstructor] + private GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketResult( + string bucket, + + string @namespace) + { + Bucket = bucket; + Namespace = @namespace; + } + } +} diff --git a/sdk/dotnet/DatabaseMigration/Outputs/GetMigrationDataTransferMediumDetailsV2Result.cs b/sdk/dotnet/DatabaseMigration/Outputs/GetMigrationDataTransferMediumDetailsV2Result.cs new file mode 100644 index 0000000000..b0da6ce4fd --- /dev/null +++ b/sdk/dotnet/DatabaseMigration/Outputs/GetMigrationDataTransferMediumDetailsV2Result.cs @@ -0,0 +1,51 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.DatabaseMigration.Outputs +{ + + [OutputType] + public sealed class GetMigrationDataTransferMediumDetailsV2Result + { + public readonly string AccessKeyId; + /// + /// Name of directory object in database + /// + public readonly string Name; + public readonly ImmutableArray ObjectStorageBuckets; + public readonly string Region; + public readonly string SecretAccessKey; + /// + /// Migration type. + /// + public readonly string Type; + + [OutputConstructor] + private GetMigrationDataTransferMediumDetailsV2Result( + string accessKeyId, + + string name, + + ImmutableArray objectStorageBuckets, + + string region, + + string secretAccessKey, + + string type) + { + AccessKeyId = accessKeyId; + Name = name; + ObjectStorageBuckets = objectStorageBuckets; + Region = region; + SecretAccessKey = secretAccessKey; + Type = type; + } + } +} diff --git a/sdk/dotnet/DatabaseMigration/Outputs/GetMigrationDumpTransferDetailResult.cs b/sdk/dotnet/DatabaseMigration/Outputs/GetMigrationDumpTransferDetailResult.cs index 9fa9abb582..173cdffb9b 100644 --- a/sdk/dotnet/DatabaseMigration/Outputs/GetMigrationDumpTransferDetailResult.cs +++ b/sdk/dotnet/DatabaseMigration/Outputs/GetMigrationDumpTransferDetailResult.cs @@ -13,6 +13,7 @@ namespace Pulumi.Oci.DatabaseMigration.Outputs [OutputType] public sealed class GetMigrationDumpTransferDetailResult { + public readonly string SharedStorageMountTargetId; /// /// Optional additional properties for dump transfer in source or target host. Default kind is CURL /// @@ -24,10 +25,13 @@ public sealed class GetMigrationDumpTransferDetailResult [OutputConstructor] private GetMigrationDumpTransferDetailResult( + string sharedStorageMountTargetId, + ImmutableArray sources, ImmutableArray targets) { + SharedStorageMountTargetId = sharedStorageMountTargetId; Sources = sources; Targets = targets; } diff --git a/sdk/dotnet/DatabaseMigration/Outputs/GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketResult.cs b/sdk/dotnet/DatabaseMigration/Outputs/GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketResult.cs new file mode 100644 index 0000000000..ebaabbe79a --- /dev/null +++ b/sdk/dotnet/DatabaseMigration/Outputs/GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.DatabaseMigration.Outputs +{ + + [OutputType] + public sealed class GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketResult + { + /// + /// Bucket name. + /// + public readonly string Bucket; + /// + /// Namespace name of the object store bucket. + /// + public readonly string Namespace; + + [OutputConstructor] + private GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketResult( + string bucket, + + string @namespace) + { + Bucket = bucket; + Namespace = @namespace; + } + } +} diff --git a/sdk/dotnet/DatabaseMigration/Outputs/GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2Result.cs b/sdk/dotnet/DatabaseMigration/Outputs/GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2Result.cs new file mode 100644 index 0000000000..d42abb8994 --- /dev/null +++ b/sdk/dotnet/DatabaseMigration/Outputs/GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2Result.cs @@ -0,0 +1,51 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.DatabaseMigration.Outputs +{ + + [OutputType] + public sealed class GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2Result + { + public readonly string AccessKeyId; + /// + /// Name of directory object in database + /// + public readonly string Name; + public readonly ImmutableArray ObjectStorageBuckets; + public readonly string Region; + public readonly string SecretAccessKey; + /// + /// Migration type. + /// + public readonly string Type; + + [OutputConstructor] + private GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2Result( + string accessKeyId, + + string name, + + ImmutableArray objectStorageBuckets, + + string region, + + string secretAccessKey, + + string type) + { + AccessKeyId = accessKeyId; + Name = name; + ObjectStorageBuckets = objectStorageBuckets; + Region = region; + SecretAccessKey = secretAccessKey; + Type = type; + } + } +} diff --git a/sdk/dotnet/DatabaseMigration/Outputs/GetMigrationsMigrationCollectionItemDumpTransferDetailResult.cs b/sdk/dotnet/DatabaseMigration/Outputs/GetMigrationsMigrationCollectionItemDumpTransferDetailResult.cs index ca4e2faf19..e7fe2c4b6e 100644 --- a/sdk/dotnet/DatabaseMigration/Outputs/GetMigrationsMigrationCollectionItemDumpTransferDetailResult.cs +++ b/sdk/dotnet/DatabaseMigration/Outputs/GetMigrationsMigrationCollectionItemDumpTransferDetailResult.cs @@ -13,6 +13,7 @@ namespace Pulumi.Oci.DatabaseMigration.Outputs [OutputType] public sealed class GetMigrationsMigrationCollectionItemDumpTransferDetailResult { + public readonly string SharedStorageMountTargetId; /// /// Optional additional properties for dump transfer in source or target host. Default kind is CURL /// @@ -24,10 +25,13 @@ public sealed class GetMigrationsMigrationCollectionItemDumpTransferDetailResult [OutputConstructor] private GetMigrationsMigrationCollectionItemDumpTransferDetailResult( + string sharedStorageMountTargetId, + ImmutableArray sources, ImmutableArray targets) { + SharedStorageMountTargetId = sharedStorageMountTargetId; Sources = sources; Targets = targets; } diff --git a/sdk/dotnet/DatabaseMigration/Outputs/GetMigrationsMigrationCollectionItemResult.cs b/sdk/dotnet/DatabaseMigration/Outputs/GetMigrationsMigrationCollectionItemResult.cs index 092da6cb39..882241871d 100644 --- a/sdk/dotnet/DatabaseMigration/Outputs/GetMigrationsMigrationCollectionItemResult.cs +++ b/sdk/dotnet/DatabaseMigration/Outputs/GetMigrationsMigrationCollectionItemResult.cs @@ -34,6 +34,7 @@ public sealed class GetMigrationsMigrationCollectionItemResult /// Data Transfer Medium details for the Migration. /// public readonly ImmutableArray DataTransferMediumDetails; + public readonly ImmutableArray DataTransferMediumDetailsV2s; /// /// Optional settings for Data Pump Export and Import jobs /// @@ -141,6 +142,8 @@ private GetMigrationsMigrationCollectionItemResult( ImmutableArray dataTransferMediumDetails, + ImmutableArray dataTransferMediumDetailsV2s, + ImmutableArray datapumpSettings, ImmutableDictionary definedTags, @@ -193,6 +196,7 @@ private GetMigrationsMigrationCollectionItemResult( CredentialsSecretId = credentialsSecretId; CsvText = csvText; DataTransferMediumDetails = dataTransferMediumDetails; + DataTransferMediumDetailsV2s = dataTransferMediumDetailsV2s; DatapumpSettings = datapumpSettings; DefinedTags = definedTags; DisplayName = displayName; diff --git a/sdk/dotnet/DatabaseMigration/Outputs/MigrationDataTransferMediumDetailsV2.cs b/sdk/dotnet/DatabaseMigration/Outputs/MigrationDataTransferMediumDetailsV2.cs new file mode 100644 index 0000000000..f615023342 --- /dev/null +++ b/sdk/dotnet/DatabaseMigration/Outputs/MigrationDataTransferMediumDetailsV2.cs @@ -0,0 +1,51 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.DatabaseMigration.Outputs +{ + + [OutputType] + public sealed class MigrationDataTransferMediumDetailsV2 + { + public readonly string? AccessKeyId; + /// + /// (Updatable) Name of directory object in database + /// + public readonly string? Name; + public readonly Outputs.MigrationDataTransferMediumDetailsV2ObjectStorageBucket? ObjectStorageBucket; + public readonly string? Region; + public readonly string? SecretAccessKey; + /// + /// (Updatable) Migration type. + /// + public readonly string Type; + + [OutputConstructor] + private MigrationDataTransferMediumDetailsV2( + string? accessKeyId, + + string? name, + + Outputs.MigrationDataTransferMediumDetailsV2ObjectStorageBucket? objectStorageBucket, + + string? region, + + string? secretAccessKey, + + string type) + { + AccessKeyId = accessKeyId; + Name = name; + ObjectStorageBucket = objectStorageBucket; + Region = region; + SecretAccessKey = secretAccessKey; + Type = type; + } + } +} diff --git a/sdk/dotnet/DatabaseMigration/Outputs/MigrationDataTransferMediumDetailsV2ObjectStorageBucket.cs b/sdk/dotnet/DatabaseMigration/Outputs/MigrationDataTransferMediumDetailsV2ObjectStorageBucket.cs new file mode 100644 index 0000000000..e164e47083 --- /dev/null +++ b/sdk/dotnet/DatabaseMigration/Outputs/MigrationDataTransferMediumDetailsV2ObjectStorageBucket.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.DatabaseMigration.Outputs +{ + + [OutputType] + public sealed class MigrationDataTransferMediumDetailsV2ObjectStorageBucket + { + /// + /// (Updatable) Bucket name. + /// + public readonly string? Bucket; + /// + /// (Updatable) Namespace name of the object store bucket. + /// + public readonly string? Namespace; + + [OutputConstructor] + private MigrationDataTransferMediumDetailsV2ObjectStorageBucket( + string? bucket, + + string? @namespace) + { + Bucket = bucket; + Namespace = @namespace; + } + } +} diff --git a/sdk/dotnet/DatabaseMigration/Outputs/MigrationDumpTransferDetails.cs b/sdk/dotnet/DatabaseMigration/Outputs/MigrationDumpTransferDetails.cs index f8154b255b..8c5c937c31 100644 --- a/sdk/dotnet/DatabaseMigration/Outputs/MigrationDumpTransferDetails.cs +++ b/sdk/dotnet/DatabaseMigration/Outputs/MigrationDumpTransferDetails.cs @@ -13,6 +13,7 @@ namespace Pulumi.Oci.DatabaseMigration.Outputs [OutputType] public sealed class MigrationDumpTransferDetails { + public readonly string? SharedStorageMountTargetId; /// /// (Updatable) Optional additional properties for dump transfer in source or target host. Default kind is CURL /// @@ -24,10 +25,13 @@ public sealed class MigrationDumpTransferDetails [OutputConstructor] private MigrationDumpTransferDetails( + string? sharedStorageMountTargetId, + Outputs.MigrationDumpTransferDetailsSource? source, Outputs.MigrationDumpTransferDetailsTarget? target) { + SharedStorageMountTargetId = sharedStorageMountTargetId; Source = source; Target = target; } diff --git a/sdk/dotnet/FileStorage/FileSystem.cs b/sdk/dotnet/FileStorage/FileSystem.cs index c82444810b..d4f89c0784 100644 --- a/sdk/dotnet/FileStorage/FileSystem.cs +++ b/sdk/dotnet/FileStorage/FileSystem.cs @@ -114,7 +114,7 @@ public partial class FileSystem : global::Pulumi.CustomResource /// May be unset as a blank value. /// [Output("filesystemSnapshotPolicyId")] - public Output FilesystemSnapshotPolicyId { get; private set; } = null!; + public Output FilesystemSnapshotPolicyId { get; private set; } = null!; /// /// (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` diff --git a/sdk/dotnet/GoldenGate/Deployment.cs b/sdk/dotnet/GoldenGate/Deployment.cs index 25e1270b61..86c8eb467d 100644 --- a/sdk/dotnet/GoldenGate/Deployment.cs +++ b/sdk/dotnet/GoldenGate/Deployment.cs @@ -187,9 +187,6 @@ public partial class Deployment : global::Pulumi.CustomResource [Output("publicIpAddress")] public Output PublicIpAddress { get; private set; } = null!; - /// - /// Possible lifecycle states. - /// [Output("state")] public Output State { get; private set; } = null!; @@ -401,9 +398,6 @@ public InputList NsgIds [Input("oggData")] public Input? OggData { get; set; } - /// - /// Possible lifecycle states. - /// [Input("state")] public Input? State { get; set; } @@ -607,9 +601,6 @@ public InputList NsgIds [Input("publicIpAddress")] public Input? PublicIpAddress { get; set; } - /// - /// Possible lifecycle states. - /// [Input("state")] public Input? State { get; set; } diff --git a/sdk/dotnet/Kms/EkmsPrivateEndpoint.cs b/sdk/dotnet/Kms/EkmsPrivateEndpoint.cs new file mode 100644 index 0000000000..8bfc8e2a73 --- /dev/null +++ b/sdk/dotnet/Kms/EkmsPrivateEndpoint.cs @@ -0,0 +1,358 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Kms +{ + /// + /// This resource provides the Ekms Private Endpoint resource in Oracle Cloud Infrastructure Kms service. + /// + /// Create a new EKMS private endpoint used to connect to external key manager system + /// + /// ## Example Usage + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testEkmsPrivateEndpoint = new Oci.Kms.EkmsPrivateEndpoint("testEkmsPrivateEndpoint", new() + /// { + /// CaBundle = @var.Ekms_private_endpoint_ca_bundle, + /// CompartmentId = @var.Compartment_id, + /// DisplayName = @var.Ekms_private_endpoint_display_name, + /// ExternalKeyManagerIp = @var.Ekms_private_endpoint_external_key_manager_ip, + /// SubnetId = oci_core_subnet.Test_subnet.Id, + /// DefinedTags = + /// { + /// { "foo-namespace.bar-key", "value" }, + /// }, + /// FreeformTags = + /// { + /// { "bar-key", "value" }, + /// }, + /// Port = @var.Ekms_private_endpoint_port, + /// }); + /// + /// }); + /// ``` + /// + /// ## Import + /// + /// EkmsPrivateEndpoints can be imported using the `id`, e.g. + /// + /// ```sh + /// $ pulumi import oci:Kms/ekmsPrivateEndpoint:EkmsPrivateEndpoint test_ekms_private_endpoint "id" + /// ``` + /// + [OciResourceType("oci:Kms/ekmsPrivateEndpoint:EkmsPrivateEndpoint")] + public partial class EkmsPrivateEndpoint : global::Pulumi.CustomResource + { + /// + /// CABundle to validate TLS certificate of the external key manager system in PEM format + /// + [Output("caBundle")] + public Output CaBundle { get; private set; } = null!; + + /// + /// Compartment identifier. + /// + [Output("compartmentId")] + public Output CompartmentId { get; private set; } = null!; + + /// + /// (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"foo-namespace.bar-key": "value"}` + /// + [Output("definedTags")] + public Output> DefinedTags { get; private set; } = null!; + + /// + /// (Updatable) Display name of the EKMS private endpoint resource being created. + /// + [Output("displayName")] + public Output DisplayName { get; private set; } = null!; + + /// + /// External private IP to connect to from this EKMS private endpoint + /// + [Output("externalKeyManagerIp")] + public Output ExternalKeyManagerIp { get; private set; } = null!; + + /// + /// (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + /// + [Output("freeformTags")] + public Output> FreeformTags { get; private set; } = null!; + + /// + /// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state. + /// + [Output("lifecycleDetails")] + public Output LifecycleDetails { get; private set; } = null!; + + /// + /// The port of the external key manager system + /// + [Output("port")] + public Output Port { get; private set; } = null!; + + /// + /// The IP address in the customer's VCN for the EKMS private endpoint. This is taken from subnet + /// + [Output("privateEndpointIp")] + public Output PrivateEndpointIp { get; private set; } = null!; + + /// + /// The current state of the EKMS private endpoint resource. + /// + [Output("state")] + public Output State { get; private set; } = null!; + + /// + /// The OCID of subnet in which the EKMS private endpoint is to be 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 + /// + [Output("subnetId")] + public Output SubnetId { get; private set; } = null!; + + /// + /// The time the EKMS private endpoint was created. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. + /// + [Output("timeCreated")] + public Output TimeCreated { get; private set; } = null!; + + /// + /// The time the EKMS private endpoint was updated. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. + /// + [Output("timeUpdated")] + public Output TimeUpdated { get; private set; } = null!; + + + /// + /// Create a EkmsPrivateEndpoint resource with the given unique name, arguments, and options. + /// + /// + /// The unique name of the resource + /// The arguments used to populate this resource's properties + /// A bag of options that control this resource's behavior + public EkmsPrivateEndpoint(string name, EkmsPrivateEndpointArgs args, CustomResourceOptions? options = null) + : base("oci:Kms/ekmsPrivateEndpoint:EkmsPrivateEndpoint", name, args ?? new EkmsPrivateEndpointArgs(), MakeResourceOptions(options, "")) + { + } + + private EkmsPrivateEndpoint(string name, Input id, EkmsPrivateEndpointState? state = null, CustomResourceOptions? options = null) + : base("oci:Kms/ekmsPrivateEndpoint:EkmsPrivateEndpoint", name, state, MakeResourceOptions(options, id)) + { + } + + private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input? id) + { + var defaultOptions = new CustomResourceOptions + { + Version = Utilities.Version, + }; + var merged = CustomResourceOptions.Merge(defaultOptions, options); + // Override the ID if one was specified for consistency with other language SDKs. + merged.Id = id ?? merged.Id; + return merged; + } + /// + /// Get an existing EkmsPrivateEndpoint resource's state with the given name, ID, and optional extra + /// properties used to qualify the lookup. + /// + /// + /// The unique name of the resulting resource. + /// The unique provider ID of the resource to lookup. + /// Any extra arguments used during the lookup. + /// A bag of options that control this resource's behavior + public static EkmsPrivateEndpoint Get(string name, Input id, EkmsPrivateEndpointState? state = null, CustomResourceOptions? options = null) + { + return new EkmsPrivateEndpoint(name, id, state, options); + } + } + + public sealed class EkmsPrivateEndpointArgs : global::Pulumi.ResourceArgs + { + /// + /// CABundle to validate TLS certificate of the external key manager system in PEM format + /// + [Input("caBundle", required: true)] + public Input CaBundle { get; set; } = null!; + + /// + /// Compartment identifier. + /// + [Input("compartmentId", required: true)] + public Input CompartmentId { get; set; } = null!; + + [Input("definedTags")] + private InputMap? _definedTags; + + /// + /// (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"foo-namespace.bar-key": "value"}` + /// + public InputMap DefinedTags + { + get => _definedTags ?? (_definedTags = new InputMap()); + set => _definedTags = value; + } + + /// + /// (Updatable) Display name of the EKMS private endpoint resource being created. + /// + [Input("displayName", required: true)] + public Input DisplayName { get; set; } = null!; + + /// + /// External private IP to connect to from this EKMS private endpoint + /// + [Input("externalKeyManagerIp", required: true)] + public Input ExternalKeyManagerIp { get; set; } = null!; + + [Input("freeformTags")] + private InputMap? _freeformTags; + + /// + /// (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + /// + public InputMap FreeformTags + { + get => _freeformTags ?? (_freeformTags = new InputMap()); + set => _freeformTags = value; + } + + /// + /// The port of the external key manager system + /// + [Input("port")] + public Input? Port { get; set; } + + /// + /// The OCID of subnet in which the EKMS private endpoint is to be 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 + /// + [Input("subnetId", required: true)] + public Input SubnetId { get; set; } = null!; + + public EkmsPrivateEndpointArgs() + { + } + public static new EkmsPrivateEndpointArgs Empty => new EkmsPrivateEndpointArgs(); + } + + public sealed class EkmsPrivateEndpointState : global::Pulumi.ResourceArgs + { + /// + /// CABundle to validate TLS certificate of the external key manager system in PEM format + /// + [Input("caBundle")] + public Input? CaBundle { get; set; } + + /// + /// Compartment identifier. + /// + [Input("compartmentId")] + public Input? CompartmentId { get; set; } + + [Input("definedTags")] + private InputMap? _definedTags; + + /// + /// (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"foo-namespace.bar-key": "value"}` + /// + public InputMap DefinedTags + { + get => _definedTags ?? (_definedTags = new InputMap()); + set => _definedTags = value; + } + + /// + /// (Updatable) Display name of the EKMS private endpoint resource being created. + /// + [Input("displayName")] + public Input? DisplayName { get; set; } + + /// + /// External private IP to connect to from this EKMS private endpoint + /// + [Input("externalKeyManagerIp")] + public Input? ExternalKeyManagerIp { get; set; } + + [Input("freeformTags")] + private InputMap? _freeformTags; + + /// + /// (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + /// + public InputMap FreeformTags + { + get => _freeformTags ?? (_freeformTags = new InputMap()); + set => _freeformTags = value; + } + + /// + /// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state. + /// + [Input("lifecycleDetails")] + public Input? LifecycleDetails { get; set; } + + /// + /// The port of the external key manager system + /// + [Input("port")] + public Input? Port { get; set; } + + /// + /// The IP address in the customer's VCN for the EKMS private endpoint. This is taken from subnet + /// + [Input("privateEndpointIp")] + public Input? PrivateEndpointIp { get; set; } + + /// + /// The current state of the EKMS private endpoint resource. + /// + [Input("state")] + public Input? State { get; set; } + + /// + /// The OCID of subnet in which the EKMS private endpoint is to be 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 + /// + [Input("subnetId")] + public Input? SubnetId { get; set; } + + /// + /// The time the EKMS private endpoint was created. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. + /// + [Input("timeCreated")] + public Input? TimeCreated { get; set; } + + /// + /// The time the EKMS private endpoint was updated. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. + /// + [Input("timeUpdated")] + public Input? TimeUpdated { get; set; } + + public EkmsPrivateEndpointState() + { + } + public static new EkmsPrivateEndpointState Empty => new EkmsPrivateEndpointState(); + } +} diff --git a/sdk/dotnet/Kms/EncryptedData.cs b/sdk/dotnet/Kms/EncryptedData.cs index f67bc19f80..c271bc130a 100644 --- a/sdk/dotnet/Kms/EncryptedData.cs +++ b/sdk/dotnet/Kms/EncryptedData.cs @@ -65,7 +65,7 @@ public partial class EncryptedData : global::Pulumi.CustomResource public Output CryptoEndpoint { get; private set; } = null!; /// - /// The encryption algorithm to use to encrypt and decrypt data with a customer-managed key. `AES_256_GCM` indicates that the key is a symmetric key that uses the Advanced Encryption Standard (AES) algorithm and that the mode of encryption is the Galois/Counter Mode (GCM). `RSA_OAEP_SHA_1` indicates that the key is an asymmetric key that uses the RSA encryption algorithm and uses Optimal Asymmetric Encryption Padding (OAEP). `RSA_OAEP_SHA_256` indicates that the key is an asymmetric key that uses the RSA encryption algorithm with a SHA-256 hash and uses OAEP. + /// The encryption algorithm to use to encrypt and decrypt data with a customer-managed key. `AES_256_GCM` indicates that the key is a symmetric key that uses the Advanced Encryption Standard (AES) algorithm and that the mode of encryption is the Galois/Counter Mode (GCM). `RSA_OAEP_SHA_1` indicates that the key is an asymmetric key that uses the RSA encryption algorithm and uses Optimal Asymmetric Encryption Padding (OAEP). `RSA_OAEP_SHA_256` indicates that the key is an asymmetric key that uses the RSA encryption algorithm with a SHA-256 hash and uses OAEP. /// [Output("encryptionAlgorithm")] public Output EncryptionAlgorithm { get; private set; } = null!; @@ -163,7 +163,7 @@ public InputMap AssociatedData public Input CryptoEndpoint { get; set; } = null!; /// - /// The encryption algorithm to use to encrypt and decrypt data with a customer-managed key. `AES_256_GCM` indicates that the key is a symmetric key that uses the Advanced Encryption Standard (AES) algorithm and that the mode of encryption is the Galois/Counter Mode (GCM). `RSA_OAEP_SHA_1` indicates that the key is an asymmetric key that uses the RSA encryption algorithm and uses Optimal Asymmetric Encryption Padding (OAEP). `RSA_OAEP_SHA_256` indicates that the key is an asymmetric key that uses the RSA encryption algorithm with a SHA-256 hash and uses OAEP. + /// The encryption algorithm to use to encrypt and decrypt data with a customer-managed key. `AES_256_GCM` indicates that the key is a symmetric key that uses the Advanced Encryption Standard (AES) algorithm and that the mode of encryption is the Galois/Counter Mode (GCM). `RSA_OAEP_SHA_1` indicates that the key is an asymmetric key that uses the RSA encryption algorithm and uses Optimal Asymmetric Encryption Padding (OAEP). `RSA_OAEP_SHA_256` indicates that the key is an asymmetric key that uses the RSA encryption algorithm with a SHA-256 hash and uses OAEP. /// [Input("encryptionAlgorithm")] public Input? EncryptionAlgorithm { get; set; } @@ -235,7 +235,7 @@ public InputMap AssociatedData public Input? CryptoEndpoint { get; set; } /// - /// The encryption algorithm to use to encrypt and decrypt data with a customer-managed key. `AES_256_GCM` indicates that the key is a symmetric key that uses the Advanced Encryption Standard (AES) algorithm and that the mode of encryption is the Galois/Counter Mode (GCM). `RSA_OAEP_SHA_1` indicates that the key is an asymmetric key that uses the RSA encryption algorithm and uses Optimal Asymmetric Encryption Padding (OAEP). `RSA_OAEP_SHA_256` indicates that the key is an asymmetric key that uses the RSA encryption algorithm with a SHA-256 hash and uses OAEP. + /// The encryption algorithm to use to encrypt and decrypt data with a customer-managed key. `AES_256_GCM` indicates that the key is a symmetric key that uses the Advanced Encryption Standard (AES) algorithm and that the mode of encryption is the Galois/Counter Mode (GCM). `RSA_OAEP_SHA_1` indicates that the key is an asymmetric key that uses the RSA encryption algorithm and uses Optimal Asymmetric Encryption Padding (OAEP). `RSA_OAEP_SHA_256` indicates that the key is an asymmetric key that uses the RSA encryption algorithm with a SHA-256 hash and uses OAEP. /// [Input("encryptionAlgorithm")] public Input? EncryptionAlgorithm { get; set; } diff --git a/sdk/dotnet/Kms/GetEkmsPrivateEndpoint.cs b/sdk/dotnet/Kms/GetEkmsPrivateEndpoint.cs new file mode 100644 index 0000000000..dd30d66924 --- /dev/null +++ b/sdk/dotnet/Kms/GetEkmsPrivateEndpoint.cs @@ -0,0 +1,215 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Kms +{ + public static class GetEkmsPrivateEndpoint + { + /// + /// This data source provides details about a specific Ekms Private Endpoint resource in Oracle Cloud Infrastructure Kms service. + /// + /// Gets a specific EKMS private by identifier. + /// + /// {{% examples %}} + /// ## Example Usage + /// {{% example %}} + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testEkmsPrivateEndpoint = Oci.Kms.GetEkmsPrivateEndpoint.Invoke(new() + /// { + /// EkmsPrivateEndpointId = oci_kms_ekms_private_endpoint.Test_ekms_private_endpoint.Id, + /// }); + /// + /// }); + /// ``` + /// {{% /example %}} + /// {{% /examples %}} + /// + public static Task InvokeAsync(GetEkmsPrivateEndpointArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("oci:Kms/getEkmsPrivateEndpoint:getEkmsPrivateEndpoint", args ?? new GetEkmsPrivateEndpointArgs(), options.WithDefaults()); + + /// + /// This data source provides details about a specific Ekms Private Endpoint resource in Oracle Cloud Infrastructure Kms service. + /// + /// Gets a specific EKMS private by identifier. + /// + /// {{% examples %}} + /// ## Example Usage + /// {{% example %}} + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testEkmsPrivateEndpoint = Oci.Kms.GetEkmsPrivateEndpoint.Invoke(new() + /// { + /// EkmsPrivateEndpointId = oci_kms_ekms_private_endpoint.Test_ekms_private_endpoint.Id, + /// }); + /// + /// }); + /// ``` + /// {{% /example %}} + /// {{% /examples %}} + /// + public static Output Invoke(GetEkmsPrivateEndpointInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("oci:Kms/getEkmsPrivateEndpoint:getEkmsPrivateEndpoint", args ?? new GetEkmsPrivateEndpointInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetEkmsPrivateEndpointArgs : global::Pulumi.InvokeArgs + { + /// + /// Unique EKMS private endpoint identifier. + /// + [Input("ekmsPrivateEndpointId", required: true)] + public string EkmsPrivateEndpointId { get; set; } = null!; + + public GetEkmsPrivateEndpointArgs() + { + } + public static new GetEkmsPrivateEndpointArgs Empty => new GetEkmsPrivateEndpointArgs(); + } + + public sealed class GetEkmsPrivateEndpointInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// Unique EKMS private endpoint identifier. + /// + [Input("ekmsPrivateEndpointId", required: true)] + public Input EkmsPrivateEndpointId { get; set; } = null!; + + public GetEkmsPrivateEndpointInvokeArgs() + { + } + public static new GetEkmsPrivateEndpointInvokeArgs Empty => new GetEkmsPrivateEndpointInvokeArgs(); + } + + + [OutputType] + public sealed class GetEkmsPrivateEndpointResult + { + /// + /// CABundle to validate TLS certificate of the external key manager system in PEM format + /// + public readonly string CaBundle; + /// + /// Identifier of the compartment this EKMS private endpoint belongs to + /// + public readonly string CompartmentId; + /// + /// Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"foo-namespace.bar-key": "value"}` + /// + public readonly ImmutableDictionary DefinedTags; + /// + /// Mutable name of the EKMS private endpoint + /// + public readonly string DisplayName; + public readonly string EkmsPrivateEndpointId; + /// + /// Private IP of the external key manager system to connect to from the EKMS private endpoint + /// + public readonly string ExternalKeyManagerIp; + /// + /// Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + /// + public readonly ImmutableDictionary FreeformTags; + /// + /// Unique identifier that is immutable + /// + public readonly string Id; + /// + /// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state. + /// + public readonly string LifecycleDetails; + /// + /// The port of the external key manager system + /// + public readonly int Port; + /// + /// The IP address in the customer's VCN for the EKMS private endpoint. This is taken from subnet + /// + public readonly string PrivateEndpointIp; + /// + /// The current state of the EKMS private endpoint resource. + /// + public readonly string State; + /// + /// Subnet Identifier + /// + public readonly string SubnetId; + /// + /// The time the EKMS private endpoint was created. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. + /// + public readonly string TimeCreated; + /// + /// The time the EKMS private endpoint was updated. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. + /// + public readonly string TimeUpdated; + + [OutputConstructor] + private GetEkmsPrivateEndpointResult( + string caBundle, + + string compartmentId, + + ImmutableDictionary definedTags, + + string displayName, + + string ekmsPrivateEndpointId, + + string externalKeyManagerIp, + + ImmutableDictionary freeformTags, + + string id, + + string lifecycleDetails, + + int port, + + string privateEndpointIp, + + string state, + + string subnetId, + + string timeCreated, + + string timeUpdated) + { + CaBundle = caBundle; + CompartmentId = compartmentId; + DefinedTags = definedTags; + DisplayName = displayName; + EkmsPrivateEndpointId = ekmsPrivateEndpointId; + ExternalKeyManagerIp = externalKeyManagerIp; + FreeformTags = freeformTags; + Id = id; + LifecycleDetails = lifecycleDetails; + Port = port; + PrivateEndpointIp = privateEndpointIp; + State = state; + SubnetId = subnetId; + TimeCreated = timeCreated; + TimeUpdated = timeUpdated; + } + } +} diff --git a/sdk/dotnet/Kms/GetEkmsPrivateEndpoints.cs b/sdk/dotnet/Kms/GetEkmsPrivateEndpoints.cs new file mode 100644 index 0000000000..3b381afc99 --- /dev/null +++ b/sdk/dotnet/Kms/GetEkmsPrivateEndpoints.cs @@ -0,0 +1,156 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Kms +{ + public static class GetEkmsPrivateEndpoints + { + /// + /// This data source provides the list of Ekms Private Endpoints in Oracle Cloud Infrastructure Kms service. + /// + /// Returns a list of all the EKMS private endpoints in the specified compartment. + /// + /// + /// {{% examples %}} + /// ## Example Usage + /// {{% example %}} + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testEkmsPrivateEndpoints = Oci.Kms.GetEkmsPrivateEndpoints.Invoke(new() + /// { + /// CompartmentId = @var.Compartment_id, + /// }); + /// + /// }); + /// ``` + /// {{% /example %}} + /// {{% /examples %}} + /// + public static Task InvokeAsync(GetEkmsPrivateEndpointsArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("oci:Kms/getEkmsPrivateEndpoints:getEkmsPrivateEndpoints", args ?? new GetEkmsPrivateEndpointsArgs(), options.WithDefaults()); + + /// + /// This data source provides the list of Ekms Private Endpoints in Oracle Cloud Infrastructure Kms service. + /// + /// Returns a list of all the EKMS private endpoints in the specified compartment. + /// + /// + /// {{% examples %}} + /// ## Example Usage + /// {{% example %}} + /// + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using Oci = Pulumi.Oci; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var testEkmsPrivateEndpoints = Oci.Kms.GetEkmsPrivateEndpoints.Invoke(new() + /// { + /// CompartmentId = @var.Compartment_id, + /// }); + /// + /// }); + /// ``` + /// {{% /example %}} + /// {{% /examples %}} + /// + public static Output Invoke(GetEkmsPrivateEndpointsInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("oci:Kms/getEkmsPrivateEndpoints:getEkmsPrivateEndpoints", args ?? new GetEkmsPrivateEndpointsInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetEkmsPrivateEndpointsArgs : global::Pulumi.InvokeArgs + { + /// + /// The OCID of the compartment. + /// + [Input("compartmentId", required: true)] + public string CompartmentId { get; set; } = null!; + + [Input("filters")] + private List? _filters; + public List Filters + { + get => _filters ?? (_filters = new List()); + set => _filters = value; + } + + public GetEkmsPrivateEndpointsArgs() + { + } + public static new GetEkmsPrivateEndpointsArgs Empty => new GetEkmsPrivateEndpointsArgs(); + } + + public sealed class GetEkmsPrivateEndpointsInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The OCID of the compartment. + /// + [Input("compartmentId", required: true)] + public Input CompartmentId { get; set; } = null!; + + [Input("filters")] + private InputList? _filters; + public InputList Filters + { + get => _filters ?? (_filters = new InputList()); + set => _filters = value; + } + + public GetEkmsPrivateEndpointsInvokeArgs() + { + } + public static new GetEkmsPrivateEndpointsInvokeArgs Empty => new GetEkmsPrivateEndpointsInvokeArgs(); + } + + + [OutputType] + public sealed class GetEkmsPrivateEndpointsResult + { + /// + /// Identifier of the compartment this EKMS private endpoint belongs to + /// + public readonly string CompartmentId; + /// + /// The list of ekms_private_endpoints. + /// + public readonly ImmutableArray EkmsPrivateEndpoints; + public readonly ImmutableArray Filters; + /// + /// The provider-assigned unique ID for this managed resource. + /// + public readonly string Id; + + [OutputConstructor] + private GetEkmsPrivateEndpointsResult( + string compartmentId, + + ImmutableArray ekmsPrivateEndpoints, + + ImmutableArray filters, + + string id) + { + CompartmentId = compartmentId; + EkmsPrivateEndpoints = ekmsPrivateEndpoints; + Filters = filters; + Id = id; + } + } +} diff --git a/sdk/dotnet/Kms/GetKey.cs b/sdk/dotnet/Kms/GetKey.cs index 2c7db2adc6..c3fc7fe2b3 100644 --- a/sdk/dotnet/Kms/GetKey.cs +++ b/sdk/dotnet/Kms/GetKey.cs @@ -149,6 +149,11 @@ public sealed class GetKeyResult /// public readonly string DisplayName; /// + /// Key reference data to be returned to the customer as a response. + /// + public readonly ImmutableArray ExternalKeyReferenceDetails; + public readonly ImmutableArray ExternalKeyReferences; + /// /// 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` /// public readonly ImmutableDictionary FreeformTags; @@ -157,7 +162,7 @@ public sealed class GetKeyResult /// public readonly string Id; /// - /// A boolean that will be true when key is primary, and will be false when key is a replica from a primary key. + /// A Boolean value that indicates whether the Key belongs to primary Vault or replica vault. /// public readonly bool IsPrimary; public readonly string KeyId; @@ -167,7 +172,7 @@ public sealed class GetKeyResult public readonly ImmutableArray KeyShapes; public readonly string ManagementEndpoint; /// - /// The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. + /// The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager. /// public readonly string ProtectionMode; /// @@ -219,6 +224,10 @@ private GetKeyResult( string displayName, + ImmutableArray externalKeyReferenceDetails, + + ImmutableArray externalKeyReferences, + ImmutableDictionary freeformTags, string id, @@ -256,6 +265,8 @@ private GetKeyResult( DefinedTags = definedTags; DesiredState = desiredState; DisplayName = displayName; + ExternalKeyReferenceDetails = externalKeyReferenceDetails; + ExternalKeyReferences = externalKeyReferences; FreeformTags = freeformTags; Id = id; IsPrimary = isPrimary; diff --git a/sdk/dotnet/Kms/GetKeyVersion.cs b/sdk/dotnet/Kms/GetKeyVersion.cs index 28eaa45ce0..0452d5a146 100644 --- a/sdk/dotnet/Kms/GetKeyVersion.cs +++ b/sdk/dotnet/Kms/GetKeyVersion.cs @@ -150,11 +150,19 @@ public sealed class GetKeyVersionResult /// public readonly string CompartmentId; /// + /// Key reference data to be returned to the customer as a response. + /// + public readonly ImmutableArray ExternalKeyReferenceDetails; + /// + /// Key version ID associated with the external key. + /// + public readonly string ExternalKeyVersionId; + /// /// The OCID of the key version. /// public readonly string Id; /// - /// A boolean that will be true when key version is primary, and will be false when key version is a replica from a primary key version. + /// A Boolean value that indicates whether the KeyVersion belongs to primary Vault or replica Vault. /// public readonly bool IsPrimary; /// @@ -200,6 +208,10 @@ public sealed class GetKeyVersionResult private GetKeyVersionResult( string compartmentId, + ImmutableArray externalKeyReferenceDetails, + + string externalKeyVersionId, + string id, bool isPrimary, @@ -227,6 +239,8 @@ private GetKeyVersionResult( string vaultId) { CompartmentId = compartmentId; + ExternalKeyReferenceDetails = externalKeyReferenceDetails; + ExternalKeyVersionId = externalKeyVersionId; Id = id; IsPrimary = isPrimary; KeyId = keyId; diff --git a/sdk/dotnet/Kms/GetKeys.cs b/sdk/dotnet/Kms/GetKeys.cs index 7594ca121a..ddcccab062 100644 --- a/sdk/dotnet/Kms/GetKeys.cs +++ b/sdk/dotnet/Kms/GetKeys.cs @@ -136,7 +136,7 @@ public List Filters public string ManagementEndpoint { get; set; } = null!; /// - /// A key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. + /// A key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager. /// [Input("protectionMode")] public string? ProtectionMode { get; set; } @@ -188,7 +188,7 @@ public InputList Filters public Input ManagementEndpoint { get; set; } = null!; /// - /// A key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. + /// A key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager. /// [Input("protectionMode")] public Input? ProtectionMode { get; set; } @@ -204,7 +204,7 @@ public GetKeysInvokeArgs() public sealed class GetKeysResult { /// - /// The algorithm used by a key's key versions to encrypt or decrypt. + /// The algorithm used by a key's key versions to encrypt or decrypt. Only AES algorithm is supported for `External` keys. /// public readonly string? Algorithm; /// @@ -233,7 +233,7 @@ public sealed class GetKeysResult public readonly int? Length; public readonly string ManagementEndpoint; /// - /// The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. + /// The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager. /// public readonly string? ProtectionMode; diff --git a/sdk/dotnet/Kms/GetReplicationStatus.cs b/sdk/dotnet/Kms/GetReplicationStatus.cs index 9b7430be1c..854088e3ed 100644 --- a/sdk/dotnet/Kms/GetReplicationStatus.cs +++ b/sdk/dotnet/Kms/GetReplicationStatus.cs @@ -132,6 +132,9 @@ public sealed class GetReplicationStatusResult /// public readonly string Id; public readonly string ManagementEndpoint; + /// + /// Replica Details. + /// public readonly ImmutableArray ReplicaDetails; public readonly string ReplicationId; diff --git a/sdk/dotnet/Kms/GetVault.cs b/sdk/dotnet/Kms/GetVault.cs index 79ad84e416..14af1977ca 100644 --- a/sdk/dotnet/Kms/GetVault.cs +++ b/sdk/dotnet/Kms/GetVault.cs @@ -134,6 +134,11 @@ public sealed class GetVaultResult /// public readonly string DisplayName; /// + /// Summary about metadata of external key manager to be returned to the customer as a response. + /// + public readonly ImmutableArray ExternalKeyManagerMetadataSummaries; + public readonly ImmutableArray ExternalKeyManagerMetadatas; + /// /// 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` /// public readonly ImmutableDictionary FreeformTags; @@ -142,7 +147,7 @@ public sealed class GetVaultResult /// public readonly string Id; /// - /// A boolean that will be true when vault is primary, and will be false when vault is a replica from a primary vault. + /// A Boolean value that indicates whether the Vault is primary Vault or replica Vault. /// public readonly bool IsPrimary; /// @@ -166,7 +171,7 @@ public sealed class GetVaultResult /// public readonly bool RestoreTrigger; /// - /// The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. + /// The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. /// public readonly string RestoredFromVaultId; /// @@ -197,6 +202,10 @@ private GetVaultResult( string displayName, + ImmutableArray externalKeyManagerMetadataSummaries, + + ImmutableArray externalKeyManagerMetadatas, + ImmutableDictionary freeformTags, string id, @@ -229,6 +238,8 @@ private GetVaultResult( CryptoEndpoint = cryptoEndpoint; DefinedTags = definedTags; DisplayName = displayName; + ExternalKeyManagerMetadataSummaries = externalKeyManagerMetadataSummaries; + ExternalKeyManagerMetadatas = externalKeyManagerMetadatas; FreeformTags = freeformTags; Id = id; IsPrimary = isPrimary; diff --git a/sdk/dotnet/Kms/Inputs/GeneratedKeyKeyShapeArgs.cs b/sdk/dotnet/Kms/Inputs/GeneratedKeyKeyShapeArgs.cs index e1ad517fc1..736ee5314f 100644 --- a/sdk/dotnet/Kms/Inputs/GeneratedKeyKeyShapeArgs.cs +++ b/sdk/dotnet/Kms/Inputs/GeneratedKeyKeyShapeArgs.cs @@ -13,7 +13,7 @@ namespace Pulumi.Oci.Kms.Inputs public sealed class GeneratedKeyKeyShapeArgs : global::Pulumi.ResourceArgs { /// - /// The algorithm used by a key's key versions to encrypt or decrypt. + /// The algorithm used by a key's key versions to encrypt or decrypt. Only AES algorithm is supported for `External` keys. /// [Input("algorithm", required: true)] public Input Algorithm { get; set; } = null!; diff --git a/sdk/dotnet/Kms/Inputs/GeneratedKeyKeyShapeGetArgs.cs b/sdk/dotnet/Kms/Inputs/GeneratedKeyKeyShapeGetArgs.cs index fab89387a5..0b369e8086 100644 --- a/sdk/dotnet/Kms/Inputs/GeneratedKeyKeyShapeGetArgs.cs +++ b/sdk/dotnet/Kms/Inputs/GeneratedKeyKeyShapeGetArgs.cs @@ -13,7 +13,7 @@ namespace Pulumi.Oci.Kms.Inputs public sealed class GeneratedKeyKeyShapeGetArgs : global::Pulumi.ResourceArgs { /// - /// The algorithm used by a key's key versions to encrypt or decrypt. + /// The algorithm used by a key's key versions to encrypt or decrypt. Only AES algorithm is supported for `External` keys. /// [Input("algorithm", required: true)] public Input Algorithm { get; set; } = null!; diff --git a/sdk/dotnet/Kms/Inputs/GetEkmsPrivateEndpointsFilter.cs b/sdk/dotnet/Kms/Inputs/GetEkmsPrivateEndpointsFilter.cs new file mode 100644 index 0000000000..9202e51ef4 --- /dev/null +++ b/sdk/dotnet/Kms/Inputs/GetEkmsPrivateEndpointsFilter.cs @@ -0,0 +1,34 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Kms.Inputs +{ + + public sealed class GetEkmsPrivateEndpointsFilterArgs : global::Pulumi.InvokeArgs + { + [Input("name", required: true)] + public string Name { get; set; } = null!; + + [Input("regex")] + public bool? Regex { get; set; } + + [Input("values", required: true)] + private List? _values; + public List Values + { + get => _values ?? (_values = new List()); + set => _values = value; + } + + public GetEkmsPrivateEndpointsFilterArgs() + { + } + public static new GetEkmsPrivateEndpointsFilterArgs Empty => new GetEkmsPrivateEndpointsFilterArgs(); + } +} diff --git a/sdk/dotnet/Kms/Inputs/GetEkmsPrivateEndpointsFilterArgs.cs b/sdk/dotnet/Kms/Inputs/GetEkmsPrivateEndpointsFilterArgs.cs new file mode 100644 index 0000000000..57909d43da --- /dev/null +++ b/sdk/dotnet/Kms/Inputs/GetEkmsPrivateEndpointsFilterArgs.cs @@ -0,0 +1,34 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Kms.Inputs +{ + + public sealed class GetEkmsPrivateEndpointsFilterInputArgs : global::Pulumi.ResourceArgs + { + [Input("name", required: true)] + public Input Name { get; set; } = null!; + + [Input("regex")] + public Input? Regex { get; set; } + + [Input("values", required: true)] + private InputList? _values; + public InputList Values + { + get => _values ?? (_values = new InputList()); + set => _values = value; + } + + public GetEkmsPrivateEndpointsFilterInputArgs() + { + } + public static new GetEkmsPrivateEndpointsFilterInputArgs Empty => new GetEkmsPrivateEndpointsFilterInputArgs(); + } +} diff --git a/sdk/dotnet/Kms/Inputs/KeyExternalKeyReferenceArgs.cs b/sdk/dotnet/Kms/Inputs/KeyExternalKeyReferenceArgs.cs new file mode 100644 index 0000000000..09c1196529 --- /dev/null +++ b/sdk/dotnet/Kms/Inputs/KeyExternalKeyReferenceArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Kms.Inputs +{ + + public sealed class KeyExternalKeyReferenceArgs : global::Pulumi.ResourceArgs + { + /// + /// ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM + /// + [Input("externalKeyId", required: true)] + public Input ExternalKeyId { get; set; } = null!; + + public KeyExternalKeyReferenceArgs() + { + } + public static new KeyExternalKeyReferenceArgs Empty => new KeyExternalKeyReferenceArgs(); + } +} diff --git a/sdk/dotnet/Kms/Inputs/KeyExternalKeyReferenceDetailArgs.cs b/sdk/dotnet/Kms/Inputs/KeyExternalKeyReferenceDetailArgs.cs new file mode 100644 index 0000000000..b555967c12 --- /dev/null +++ b/sdk/dotnet/Kms/Inputs/KeyExternalKeyReferenceDetailArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Kms.Inputs +{ + + public sealed class KeyExternalKeyReferenceDetailArgs : global::Pulumi.ResourceArgs + { + /// + /// ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM + /// + [Input("externalKeyId")] + public Input? ExternalKeyId { get; set; } + + /// + /// Key version ID associated with the external key. + /// + [Input("externalKeyVersionId")] + public Input? ExternalKeyVersionId { get; set; } + + public KeyExternalKeyReferenceDetailArgs() + { + } + public static new KeyExternalKeyReferenceDetailArgs Empty => new KeyExternalKeyReferenceDetailArgs(); + } +} diff --git a/sdk/dotnet/Kms/Inputs/KeyExternalKeyReferenceDetailGetArgs.cs b/sdk/dotnet/Kms/Inputs/KeyExternalKeyReferenceDetailGetArgs.cs new file mode 100644 index 0000000000..c509687409 --- /dev/null +++ b/sdk/dotnet/Kms/Inputs/KeyExternalKeyReferenceDetailGetArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Kms.Inputs +{ + + public sealed class KeyExternalKeyReferenceDetailGetArgs : global::Pulumi.ResourceArgs + { + /// + /// ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM + /// + [Input("externalKeyId")] + public Input? ExternalKeyId { get; set; } + + /// + /// Key version ID associated with the external key. + /// + [Input("externalKeyVersionId")] + public Input? ExternalKeyVersionId { get; set; } + + public KeyExternalKeyReferenceDetailGetArgs() + { + } + public static new KeyExternalKeyReferenceDetailGetArgs Empty => new KeyExternalKeyReferenceDetailGetArgs(); + } +} diff --git a/sdk/dotnet/Kms/Inputs/KeyExternalKeyReferenceGetArgs.cs b/sdk/dotnet/Kms/Inputs/KeyExternalKeyReferenceGetArgs.cs new file mode 100644 index 0000000000..af8693f135 --- /dev/null +++ b/sdk/dotnet/Kms/Inputs/KeyExternalKeyReferenceGetArgs.cs @@ -0,0 +1,26 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Kms.Inputs +{ + + public sealed class KeyExternalKeyReferenceGetArgs : global::Pulumi.ResourceArgs + { + /// + /// ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM + /// + [Input("externalKeyId", required: true)] + public Input ExternalKeyId { get; set; } = null!; + + public KeyExternalKeyReferenceGetArgs() + { + } + public static new KeyExternalKeyReferenceGetArgs Empty => new KeyExternalKeyReferenceGetArgs(); + } +} diff --git a/sdk/dotnet/Kms/Inputs/KeyKeyShapeArgs.cs b/sdk/dotnet/Kms/Inputs/KeyKeyShapeArgs.cs index 4e485a62c6..a8b8ba639e 100644 --- a/sdk/dotnet/Kms/Inputs/KeyKeyShapeArgs.cs +++ b/sdk/dotnet/Kms/Inputs/KeyKeyShapeArgs.cs @@ -13,7 +13,7 @@ namespace Pulumi.Oci.Kms.Inputs public sealed class KeyKeyShapeArgs : global::Pulumi.ResourceArgs { /// - /// The algorithm used by a key's key versions to encrypt or decrypt. + /// The algorithm used by a key's key versions to encrypt or decrypt. Only AES algorithm is supported for `External` keys. /// [Input("algorithm", required: true)] public Input Algorithm { get; set; } = null!; diff --git a/sdk/dotnet/Kms/Inputs/KeyKeyShapeGetArgs.cs b/sdk/dotnet/Kms/Inputs/KeyKeyShapeGetArgs.cs index aa632f5c73..abf8225ee9 100644 --- a/sdk/dotnet/Kms/Inputs/KeyKeyShapeGetArgs.cs +++ b/sdk/dotnet/Kms/Inputs/KeyKeyShapeGetArgs.cs @@ -13,7 +13,7 @@ namespace Pulumi.Oci.Kms.Inputs public sealed class KeyKeyShapeGetArgs : global::Pulumi.ResourceArgs { /// - /// The algorithm used by a key's key versions to encrypt or decrypt. + /// The algorithm used by a key's key versions to encrypt or decrypt. Only AES algorithm is supported for `External` keys. /// [Input("algorithm", required: true)] public Input Algorithm { get; set; } = null!; diff --git a/sdk/dotnet/Kms/Inputs/KeyVersionExternalKeyReferenceDetailArgs.cs b/sdk/dotnet/Kms/Inputs/KeyVersionExternalKeyReferenceDetailArgs.cs new file mode 100644 index 0000000000..3e66a93f3c --- /dev/null +++ b/sdk/dotnet/Kms/Inputs/KeyVersionExternalKeyReferenceDetailArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Kms.Inputs +{ + + public sealed class KeyVersionExternalKeyReferenceDetailArgs : global::Pulumi.ResourceArgs + { + /// + /// ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. + /// + [Input("externalKeyId")] + public Input? ExternalKeyId { get; set; } + + /// + /// Key version ID associated with the external key. + /// + [Input("externalKeyVersionId")] + public Input? ExternalKeyVersionId { get; set; } + + public KeyVersionExternalKeyReferenceDetailArgs() + { + } + public static new KeyVersionExternalKeyReferenceDetailArgs Empty => new KeyVersionExternalKeyReferenceDetailArgs(); + } +} diff --git a/sdk/dotnet/Kms/Inputs/KeyVersionExternalKeyReferenceDetailGetArgs.cs b/sdk/dotnet/Kms/Inputs/KeyVersionExternalKeyReferenceDetailGetArgs.cs new file mode 100644 index 0000000000..aa44b809d8 --- /dev/null +++ b/sdk/dotnet/Kms/Inputs/KeyVersionExternalKeyReferenceDetailGetArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Kms.Inputs +{ + + public sealed class KeyVersionExternalKeyReferenceDetailGetArgs : global::Pulumi.ResourceArgs + { + /// + /// ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. + /// + [Input("externalKeyId")] + public Input? ExternalKeyId { get; set; } + + /// + /// Key version ID associated with the external key. + /// + [Input("externalKeyVersionId")] + public Input? ExternalKeyVersionId { get; set; } + + public KeyVersionExternalKeyReferenceDetailGetArgs() + { + } + public static new KeyVersionExternalKeyReferenceDetailGetArgs Empty => new KeyVersionExternalKeyReferenceDetailGetArgs(); + } +} diff --git a/sdk/dotnet/Kms/Inputs/VaultExternalKeyManagerMetadataArgs.cs b/sdk/dotnet/Kms/Inputs/VaultExternalKeyManagerMetadataArgs.cs new file mode 100644 index 0000000000..c8c8190530 --- /dev/null +++ b/sdk/dotnet/Kms/Inputs/VaultExternalKeyManagerMetadataArgs.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Kms.Inputs +{ + + public sealed class VaultExternalKeyManagerMetadataArgs : global::Pulumi.ResourceArgs + { + /// + /// URI of the vault on external key manager. + /// + [Input("externalVaultEndpointUrl", required: true)] + public Input ExternalVaultEndpointUrl { get; set; } = null!; + + /// + /// Authorization details required to get access token from IDP for accessing protected resources. + /// + [Input("oauthMetadata", required: true)] + public Input OauthMetadata { get; set; } = null!; + + /// + /// OCID of private endpoint created by customer. + /// + [Input("privateEndpointId", required: true)] + public Input PrivateEndpointId { get; set; } = null!; + + public VaultExternalKeyManagerMetadataArgs() + { + } + public static new VaultExternalKeyManagerMetadataArgs Empty => new VaultExternalKeyManagerMetadataArgs(); + } +} diff --git a/sdk/dotnet/Kms/Inputs/VaultExternalKeyManagerMetadataGetArgs.cs b/sdk/dotnet/Kms/Inputs/VaultExternalKeyManagerMetadataGetArgs.cs new file mode 100644 index 0000000000..81aa74c3d6 --- /dev/null +++ b/sdk/dotnet/Kms/Inputs/VaultExternalKeyManagerMetadataGetArgs.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Kms.Inputs +{ + + public sealed class VaultExternalKeyManagerMetadataGetArgs : global::Pulumi.ResourceArgs + { + /// + /// URI of the vault on external key manager. + /// + [Input("externalVaultEndpointUrl", required: true)] + public Input ExternalVaultEndpointUrl { get; set; } = null!; + + /// + /// Authorization details required to get access token from IDP for accessing protected resources. + /// + [Input("oauthMetadata", required: true)] + public Input OauthMetadata { get; set; } = null!; + + /// + /// OCID of private endpoint created by customer. + /// + [Input("privateEndpointId", required: true)] + public Input PrivateEndpointId { get; set; } = null!; + + public VaultExternalKeyManagerMetadataGetArgs() + { + } + public static new VaultExternalKeyManagerMetadataGetArgs Empty => new VaultExternalKeyManagerMetadataGetArgs(); + } +} diff --git a/sdk/dotnet/Kms/Inputs/VaultExternalKeyManagerMetadataOauthMetadataArgs.cs b/sdk/dotnet/Kms/Inputs/VaultExternalKeyManagerMetadataOauthMetadataArgs.cs new file mode 100644 index 0000000000..728e271516 --- /dev/null +++ b/sdk/dotnet/Kms/Inputs/VaultExternalKeyManagerMetadataOauthMetadataArgs.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Kms.Inputs +{ + + public sealed class VaultExternalKeyManagerMetadataOauthMetadataArgs : global::Pulumi.ResourceArgs + { + /// + /// ID of the client app created in IDP. + /// + [Input("clientAppId", required: true)] + public Input ClientAppId { get; set; } = null!; + + /// + /// Secret of the client app created in IDP. + /// + [Input("clientAppSecret", required: true)] + public Input ClientAppSecret { get; set; } = null!; + + /// + /// Base URL of the IDCS account where confidential client app is created. + /// + [Input("idcsAccountNameUrl", required: true)] + public Input IdcsAccountNameUrl { get; set; } = null!; + + public VaultExternalKeyManagerMetadataOauthMetadataArgs() + { + } + public static new VaultExternalKeyManagerMetadataOauthMetadataArgs Empty => new VaultExternalKeyManagerMetadataOauthMetadataArgs(); + } +} diff --git a/sdk/dotnet/Kms/Inputs/VaultExternalKeyManagerMetadataOauthMetadataGetArgs.cs b/sdk/dotnet/Kms/Inputs/VaultExternalKeyManagerMetadataOauthMetadataGetArgs.cs new file mode 100644 index 0000000000..4dfa0c784e --- /dev/null +++ b/sdk/dotnet/Kms/Inputs/VaultExternalKeyManagerMetadataOauthMetadataGetArgs.cs @@ -0,0 +1,38 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Kms.Inputs +{ + + public sealed class VaultExternalKeyManagerMetadataOauthMetadataGetArgs : global::Pulumi.ResourceArgs + { + /// + /// ID of the client app created in IDP. + /// + [Input("clientAppId", required: true)] + public Input ClientAppId { get; set; } = null!; + + /// + /// Secret of the client app created in IDP. + /// + [Input("clientAppSecret", required: true)] + public Input ClientAppSecret { get; set; } = null!; + + /// + /// Base URL of the IDCS account where confidential client app is created. + /// + [Input("idcsAccountNameUrl", required: true)] + public Input IdcsAccountNameUrl { get; set; } = null!; + + public VaultExternalKeyManagerMetadataOauthMetadataGetArgs() + { + } + public static new VaultExternalKeyManagerMetadataOauthMetadataGetArgs Empty => new VaultExternalKeyManagerMetadataOauthMetadataGetArgs(); + } +} diff --git a/sdk/dotnet/Kms/Inputs/VaultExternalKeyManagerMetadataSummaryArgs.cs b/sdk/dotnet/Kms/Inputs/VaultExternalKeyManagerMetadataSummaryArgs.cs new file mode 100644 index 0000000000..0a5d635040 --- /dev/null +++ b/sdk/dotnet/Kms/Inputs/VaultExternalKeyManagerMetadataSummaryArgs.cs @@ -0,0 +1,50 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Kms.Inputs +{ + + public sealed class VaultExternalKeyManagerMetadataSummaryArgs : global::Pulumi.ResourceArgs + { + /// + /// URI of the vault on external key manager. + /// + [Input("externalVaultEndpointUrl")] + public Input? ExternalVaultEndpointUrl { get; set; } + + [Input("oauthMetadataSummaries")] + private InputList? _oauthMetadataSummaries; + + /// + /// Summary about authorization to be returned to the customer as a response. + /// + public InputList OauthMetadataSummaries + { + get => _oauthMetadataSummaries ?? (_oauthMetadataSummaries = new InputList()); + set => _oauthMetadataSummaries = value; + } + + /// + /// OCID of private endpoint created by customer. + /// + [Input("privateEndpointId")] + public Input? PrivateEndpointId { get; set; } + + /// + /// Vendor of the external key manager. + /// + [Input("vendor")] + public Input? Vendor { get; set; } + + public VaultExternalKeyManagerMetadataSummaryArgs() + { + } + public static new VaultExternalKeyManagerMetadataSummaryArgs Empty => new VaultExternalKeyManagerMetadataSummaryArgs(); + } +} diff --git a/sdk/dotnet/Kms/Inputs/VaultExternalKeyManagerMetadataSummaryGetArgs.cs b/sdk/dotnet/Kms/Inputs/VaultExternalKeyManagerMetadataSummaryGetArgs.cs new file mode 100644 index 0000000000..4e144f5f81 --- /dev/null +++ b/sdk/dotnet/Kms/Inputs/VaultExternalKeyManagerMetadataSummaryGetArgs.cs @@ -0,0 +1,50 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Kms.Inputs +{ + + public sealed class VaultExternalKeyManagerMetadataSummaryGetArgs : global::Pulumi.ResourceArgs + { + /// + /// URI of the vault on external key manager. + /// + [Input("externalVaultEndpointUrl")] + public Input? ExternalVaultEndpointUrl { get; set; } + + [Input("oauthMetadataSummaries")] + private InputList? _oauthMetadataSummaries; + + /// + /// Summary about authorization to be returned to the customer as a response. + /// + public InputList OauthMetadataSummaries + { + get => _oauthMetadataSummaries ?? (_oauthMetadataSummaries = new InputList()); + set => _oauthMetadataSummaries = value; + } + + /// + /// OCID of private endpoint created by customer. + /// + [Input("privateEndpointId")] + public Input? PrivateEndpointId { get; set; } + + /// + /// Vendor of the external key manager. + /// + [Input("vendor")] + public Input? Vendor { get; set; } + + public VaultExternalKeyManagerMetadataSummaryGetArgs() + { + } + public static new VaultExternalKeyManagerMetadataSummaryGetArgs Empty => new VaultExternalKeyManagerMetadataSummaryGetArgs(); + } +} diff --git a/sdk/dotnet/Kms/Inputs/VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArgs.cs b/sdk/dotnet/Kms/Inputs/VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArgs.cs new file mode 100644 index 0000000000..7226b0e70e --- /dev/null +++ b/sdk/dotnet/Kms/Inputs/VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Kms.Inputs +{ + + public sealed class VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArgs : global::Pulumi.ResourceArgs + { + /// + /// ID of the client app created in IDP. + /// + [Input("clientAppId")] + public Input? ClientAppId { get; set; } + + /// + /// Base URL of the IDCS account where confidential client app is created. + /// + [Input("idcsAccountNameUrl")] + public Input? IdcsAccountNameUrl { get; set; } + + public VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArgs() + { + } + public static new VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArgs Empty => new VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArgs(); + } +} diff --git a/sdk/dotnet/Kms/Inputs/VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryGetArgs.cs b/sdk/dotnet/Kms/Inputs/VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryGetArgs.cs new file mode 100644 index 0000000000..aeaf7ba3c9 --- /dev/null +++ b/sdk/dotnet/Kms/Inputs/VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryGetArgs.cs @@ -0,0 +1,32 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Kms.Inputs +{ + + public sealed class VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryGetArgs : global::Pulumi.ResourceArgs + { + /// + /// ID of the client app created in IDP. + /// + [Input("clientAppId")] + public Input? ClientAppId { get; set; } + + /// + /// Base URL of the IDCS account where confidential client app is created. + /// + [Input("idcsAccountNameUrl")] + public Input? IdcsAccountNameUrl { get; set; } + + public VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryGetArgs() + { + } + public static new VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryGetArgs Empty => new VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryGetArgs(); + } +} diff --git a/sdk/dotnet/Kms/Key.cs b/sdk/dotnet/Kms/Key.cs index b4880b9f15..355f093cf1 100644 --- a/sdk/dotnet/Kms/Key.cs +++ b/sdk/dotnet/Kms/Key.cs @@ -19,41 +19,6 @@ namespace Pulumi.Oci.Kms /// to reject an otherwise valid request when the total rate of management write operations exceeds 10 /// requests per second for a given tenancy. /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Oci = Pulumi.Oci; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var testKey = new Oci.Kms.Key("testKey", new() - /// { - /// CompartmentId = @var.Compartment_id, - /// DisplayName = @var.Key_display_name, - /// KeyShape = new Oci.Kms.Inputs.KeyKeyShapeArgs - /// { - /// Algorithm = @var.Key_key_shape_algorithm, - /// Length = @var.Key_key_shape_length, - /// CurveId = oci_kms_curve.Test_curve.Id, - /// }, - /// ManagementEndpoint = @var.Key_management_endpoint, - /// DefinedTags = - /// { - /// { "Operations.CostCenter", "42" }, - /// }, - /// FreeformTags = - /// { - /// { "Department", "Finance" }, - /// }, - /// ProtectionMode = @var.Key_protection_mode, - /// }); - /// - /// }); - /// ``` - /// /// ## Import /// /// Keys can be imported using the `id`, e.g. @@ -95,6 +60,18 @@ public partial class Key : global::Pulumi.CustomResource [Output("displayName")] public Output DisplayName { get; private set; } = null!; + /// + /// A reference to the key on external key manager. + /// + [Output("externalKeyReference")] + public Output ExternalKeyReference { get; private set; } = null!; + + /// + /// Key reference data to be returned to the customer as a response. + /// + [Output("externalKeyReferenceDetails")] + public Output> ExternalKeyReferenceDetails { get; private set; } = null!; + /// /// (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` /// @@ -102,7 +79,7 @@ public partial class Key : global::Pulumi.CustomResource public Output> FreeformTags { get; private set; } = null!; /// - /// A boolean that will be true when key is primary, and will be false when key is a replica from a primary key. + /// A Boolean value that indicates whether the Key belongs to primary Vault or replica vault. /// [Output("isPrimary")] public Output IsPrimary { get; private set; } = null!; @@ -120,7 +97,7 @@ public partial class Key : global::Pulumi.CustomResource public Output ManagementEndpoint { get; private set; } = null!; /// - /// The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. + /// The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager. /// [Output("protectionMode")] public Output ProtectionMode { get; private set; } = null!; @@ -258,6 +235,12 @@ public InputMap DefinedTags [Input("displayName", required: true)] public Input DisplayName { get; set; } = null!; + /// + /// A reference to the key on external key manager. + /// + [Input("externalKeyReference")] + public Input? ExternalKeyReference { get; set; } + [Input("freeformTags")] private InputMap? _freeformTags; @@ -283,7 +266,7 @@ public InputMap FreeformTags public Input ManagementEndpoint { get; set; } = null!; /// - /// The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. + /// The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager. /// [Input("protectionMode")] public Input? ProtectionMode { get; set; } @@ -359,6 +342,24 @@ public InputMap DefinedTags [Input("displayName")] public Input? DisplayName { get; set; } + /// + /// A reference to the key on external key manager. + /// + [Input("externalKeyReference")] + public Input? ExternalKeyReference { get; set; } + + [Input("externalKeyReferenceDetails")] + private InputList? _externalKeyReferenceDetails; + + /// + /// Key reference data to be returned to the customer as a response. + /// + public InputList ExternalKeyReferenceDetails + { + get => _externalKeyReferenceDetails ?? (_externalKeyReferenceDetails = new InputList()); + set => _externalKeyReferenceDetails = value; + } + [Input("freeformTags")] private InputMap? _freeformTags; @@ -372,7 +373,7 @@ public InputMap FreeformTags } /// - /// A boolean that will be true when key is primary, and will be false when key is a replica from a primary key. + /// A Boolean value that indicates whether the Key belongs to primary Vault or replica vault. /// [Input("isPrimary")] public Input? IsPrimary { get; set; } @@ -390,7 +391,7 @@ public InputMap FreeformTags public Input? ManagementEndpoint { get; set; } /// - /// The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. + /// The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager. /// [Input("protectionMode")] public Input? ProtectionMode { get; set; } diff --git a/sdk/dotnet/Kms/KeyVersion.cs b/sdk/dotnet/Kms/KeyVersion.cs index e793b7bd54..239c3954a2 100644 --- a/sdk/dotnet/Kms/KeyVersion.cs +++ b/sdk/dotnet/Kms/KeyVersion.cs @@ -20,25 +20,6 @@ namespace Pulumi.Oci.Kms /// otherwise valid request when the total rate of management write operations exceeds 10 requests per second /// for a given tenancy. /// - /// ## Example Usage - /// - /// ```csharp - /// using System.Collections.Generic; - /// using System.Linq; - /// using Pulumi; - /// using Oci = Pulumi.Oci; - /// - /// return await Deployment.RunAsync(() => - /// { - /// var testKeyVersion = new Oci.Kms.KeyVersion("testKeyVersion", new() - /// { - /// KeyId = oci_kms_key.Test_key.Id, - /// ManagementEndpoint = @var.Key_version_management_endpoint, - /// }); - /// - /// }); - /// ``` - /// /// ## Import /// /// KeyVersions can be imported using the `id`, e.g. @@ -57,7 +38,19 @@ public partial class KeyVersion : global::Pulumi.CustomResource public Output CompartmentId { get; private set; } = null!; /// - /// A boolean that will be true when key version is primary, and will be false when key version is a replica from a primary key version. + /// Key reference data to be returned to the customer as a response. + /// + [Output("externalKeyReferenceDetails")] + public Output> ExternalKeyReferenceDetails { get; private set; } = null!; + + /// + /// Key version ID associated with the external key. + /// + [Output("externalKeyVersionId")] + public Output ExternalKeyVersionId { get; private set; } = null!; + + /// + /// A Boolean value that indicates whether the KeyVersion belongs to primary Vault or replica Vault. /// [Output("isPrimary")] public Output IsPrimary { get; private set; } = null!; @@ -171,6 +164,12 @@ public static KeyVersion Get(string name, Input id, KeyVersionState? sta public sealed class KeyVersionArgs : global::Pulumi.ResourceArgs { + /// + /// Key version ID associated with the external key. + /// + [Input("externalKeyVersionId")] + public Input? ExternalKeyVersionId { get; set; } + /// /// The OCID of the key. /// @@ -206,8 +205,26 @@ public sealed class KeyVersionState : global::Pulumi.ResourceArgs [Input("compartmentId")] public Input? CompartmentId { get; set; } + [Input("externalKeyReferenceDetails")] + private InputList? _externalKeyReferenceDetails; + + /// + /// Key reference data to be returned to the customer as a response. + /// + public InputList ExternalKeyReferenceDetails + { + get => _externalKeyReferenceDetails ?? (_externalKeyReferenceDetails = new InputList()); + set => _externalKeyReferenceDetails = value; + } + + /// + /// Key version ID associated with the external key. + /// + [Input("externalKeyVersionId")] + public Input? ExternalKeyVersionId { get; set; } + /// - /// A boolean that will be true when key version is primary, and will be false when key version is a replica from a primary key version. + /// A Boolean value that indicates whether the KeyVersion belongs to primary Vault or replica Vault. /// [Input("isPrimary")] public Input? IsPrimary { get; set; } diff --git a/sdk/dotnet/Kms/Outputs/GeneratedKeyKeyShape.cs b/sdk/dotnet/Kms/Outputs/GeneratedKeyKeyShape.cs index 31568146bb..6be1e8f540 100644 --- a/sdk/dotnet/Kms/Outputs/GeneratedKeyKeyShape.cs +++ b/sdk/dotnet/Kms/Outputs/GeneratedKeyKeyShape.cs @@ -14,7 +14,7 @@ namespace Pulumi.Oci.Kms.Outputs public sealed class GeneratedKeyKeyShape { /// - /// The algorithm used by a key's key versions to encrypt or decrypt. + /// The algorithm used by a key's key versions to encrypt or decrypt. Only AES algorithm is supported for `External` keys. /// public readonly string Algorithm; /// diff --git a/sdk/dotnet/Kms/Outputs/GetEkmsPrivateEndpointsEkmsPrivateEndpointResult.cs b/sdk/dotnet/Kms/Outputs/GetEkmsPrivateEndpointsEkmsPrivateEndpointResult.cs new file mode 100644 index 0000000000..52cc7a37ed --- /dev/null +++ b/sdk/dotnet/Kms/Outputs/GetEkmsPrivateEndpointsEkmsPrivateEndpointResult.cs @@ -0,0 +1,119 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Kms.Outputs +{ + + [OutputType] + public sealed class GetEkmsPrivateEndpointsEkmsPrivateEndpointResult + { + /// + /// CABundle to validate TLS certificate of the external key manager system in PEM format + /// + public readonly string CaBundle; + /// + /// The OCID of the compartment. + /// + public readonly string CompartmentId; + /// + /// Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"foo-namespace.bar-key": "value"}` + /// + public readonly ImmutableDictionary DefinedTags; + /// + /// Mutable name of the EKMS private endpoint + /// + public readonly string DisplayName; + /// + /// Private IP of the external key manager system to connect to from the EKMS private endpoint + /// + public readonly string ExternalKeyManagerIp; + /// + /// Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + /// + public readonly ImmutableDictionary FreeformTags; + /// + /// Unique identifier that is immutable + /// + public readonly string Id; + /// + /// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state. + /// + public readonly string LifecycleDetails; + /// + /// The port of the external key manager system + /// + public readonly int Port; + /// + /// The IP address in the customer's VCN for the EKMS private endpoint. This is taken from subnet + /// + public readonly string PrivateEndpointIp; + /// + /// The current state of the EKMS private endpoint resource. + /// + public readonly string State; + /// + /// Subnet Identifier + /// + public readonly string SubnetId; + /// + /// The time the EKMS private endpoint was created. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. + /// + public readonly string TimeCreated; + /// + /// The time the EKMS private endpoint was updated. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. + /// + public readonly string TimeUpdated; + + [OutputConstructor] + private GetEkmsPrivateEndpointsEkmsPrivateEndpointResult( + string caBundle, + + string compartmentId, + + ImmutableDictionary definedTags, + + string displayName, + + string externalKeyManagerIp, + + ImmutableDictionary freeformTags, + + string id, + + string lifecycleDetails, + + int port, + + string privateEndpointIp, + + string state, + + string subnetId, + + string timeCreated, + + string timeUpdated) + { + CaBundle = caBundle; + CompartmentId = compartmentId; + DefinedTags = definedTags; + DisplayName = displayName; + ExternalKeyManagerIp = externalKeyManagerIp; + FreeformTags = freeformTags; + Id = id; + LifecycleDetails = lifecycleDetails; + Port = port; + PrivateEndpointIp = privateEndpointIp; + State = state; + SubnetId = subnetId; + TimeCreated = timeCreated; + TimeUpdated = timeUpdated; + } + } +} diff --git a/sdk/dotnet/Kms/Outputs/GetEkmsPrivateEndpointsFilterResult.cs b/sdk/dotnet/Kms/Outputs/GetEkmsPrivateEndpointsFilterResult.cs new file mode 100644 index 0000000000..3acc46c6a1 --- /dev/null +++ b/sdk/dotnet/Kms/Outputs/GetEkmsPrivateEndpointsFilterResult.cs @@ -0,0 +1,33 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Kms.Outputs +{ + + [OutputType] + public sealed class GetEkmsPrivateEndpointsFilterResult + { + public readonly string Name; + public readonly bool? Regex; + public readonly ImmutableArray Values; + + [OutputConstructor] + private GetEkmsPrivateEndpointsFilterResult( + string name, + + bool? regex, + + ImmutableArray values) + { + Name = name; + Regex = regex; + Values = values; + } + } +} diff --git a/sdk/dotnet/Kms/Outputs/GetKeyExternalKeyReferenceDetailResult.cs b/sdk/dotnet/Kms/Outputs/GetKeyExternalKeyReferenceDetailResult.cs new file mode 100644 index 0000000000..e9b118325a --- /dev/null +++ b/sdk/dotnet/Kms/Outputs/GetKeyExternalKeyReferenceDetailResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Kms.Outputs +{ + + [OutputType] + public sealed class GetKeyExternalKeyReferenceDetailResult + { + /// + /// ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. + /// + public readonly string ExternalKeyId; + /// + /// Key version ID associated with the external key. + /// + public readonly string ExternalKeyVersionId; + + [OutputConstructor] + private GetKeyExternalKeyReferenceDetailResult( + string externalKeyId, + + string externalKeyVersionId) + { + ExternalKeyId = externalKeyId; + ExternalKeyVersionId = externalKeyVersionId; + } + } +} diff --git a/sdk/dotnet/Kms/Outputs/GetKeyExternalKeyReferenceResult.cs b/sdk/dotnet/Kms/Outputs/GetKeyExternalKeyReferenceResult.cs new file mode 100644 index 0000000000..7537789472 --- /dev/null +++ b/sdk/dotnet/Kms/Outputs/GetKeyExternalKeyReferenceResult.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Kms.Outputs +{ + + [OutputType] + public sealed class GetKeyExternalKeyReferenceResult + { + /// + /// ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. + /// + public readonly string ExternalKeyId; + + [OutputConstructor] + private GetKeyExternalKeyReferenceResult(string externalKeyId) + { + ExternalKeyId = externalKeyId; + } + } +} diff --git a/sdk/dotnet/Kms/Outputs/GetKeyKeyShapeResult.cs b/sdk/dotnet/Kms/Outputs/GetKeyKeyShapeResult.cs index 9750aeb352..305e0cab30 100644 --- a/sdk/dotnet/Kms/Outputs/GetKeyKeyShapeResult.cs +++ b/sdk/dotnet/Kms/Outputs/GetKeyKeyShapeResult.cs @@ -14,7 +14,7 @@ namespace Pulumi.Oci.Kms.Outputs public sealed class GetKeyKeyShapeResult { /// - /// The algorithm used by a key's key versions to encrypt or decrypt. + /// The algorithm used by a key's key versions to encrypt or decrypt. Only AES algorithm is supported for `External` keys. /// public readonly string Algorithm; /// diff --git a/sdk/dotnet/Kms/Outputs/GetKeyVersionExternalKeyReferenceDetailResult.cs b/sdk/dotnet/Kms/Outputs/GetKeyVersionExternalKeyReferenceDetailResult.cs new file mode 100644 index 0000000000..9304680fd5 --- /dev/null +++ b/sdk/dotnet/Kms/Outputs/GetKeyVersionExternalKeyReferenceDetailResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Kms.Outputs +{ + + [OutputType] + public sealed class GetKeyVersionExternalKeyReferenceDetailResult + { + /// + /// ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. + /// + public readonly string ExternalKeyId; + /// + /// Key version ID associated with the external key. + /// + public readonly string ExternalKeyVersionId; + + [OutputConstructor] + private GetKeyVersionExternalKeyReferenceDetailResult( + string externalKeyId, + + string externalKeyVersionId) + { + ExternalKeyId = externalKeyId; + ExternalKeyVersionId = externalKeyVersionId; + } + } +} diff --git a/sdk/dotnet/Kms/Outputs/GetKeyVersionsKeyVersionExternalKeyReferenceDetailResult.cs b/sdk/dotnet/Kms/Outputs/GetKeyVersionsKeyVersionExternalKeyReferenceDetailResult.cs new file mode 100644 index 0000000000..6849409e76 --- /dev/null +++ b/sdk/dotnet/Kms/Outputs/GetKeyVersionsKeyVersionExternalKeyReferenceDetailResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Kms.Outputs +{ + + [OutputType] + public sealed class GetKeyVersionsKeyVersionExternalKeyReferenceDetailResult + { + /// + /// ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. + /// + public readonly string ExternalKeyId; + /// + /// Key version ID associated with the external key. + /// + public readonly string ExternalKeyVersionId; + + [OutputConstructor] + private GetKeyVersionsKeyVersionExternalKeyReferenceDetailResult( + string externalKeyId, + + string externalKeyVersionId) + { + ExternalKeyId = externalKeyId; + ExternalKeyVersionId = externalKeyVersionId; + } + } +} diff --git a/sdk/dotnet/Kms/Outputs/GetKeyVersionsKeyVersionResult.cs b/sdk/dotnet/Kms/Outputs/GetKeyVersionsKeyVersionResult.cs index e701c0d6f6..47e06326a4 100644 --- a/sdk/dotnet/Kms/Outputs/GetKeyVersionsKeyVersionResult.cs +++ b/sdk/dotnet/Kms/Outputs/GetKeyVersionsKeyVersionResult.cs @@ -18,11 +18,19 @@ public sealed class GetKeyVersionsKeyVersionResult /// public readonly string CompartmentId; /// + /// Key reference data to be returned to the customer as a response. + /// + public readonly ImmutableArray ExternalKeyReferenceDetails; + /// + /// Key version ID associated with the external key. + /// + public readonly string ExternalKeyVersionId; + /// /// The OCID of the key version. /// public readonly string Id; /// - /// A boolean that will be true when key version is primary, and will be false when key version is a replica from a primary key version. + /// A Boolean value that indicates whether the KeyVersion belongs to primary Vault or replica Vault. /// public readonly bool IsPrimary; /// @@ -71,6 +79,10 @@ public sealed class GetKeyVersionsKeyVersionResult private GetKeyVersionsKeyVersionResult( string compartmentId, + ImmutableArray externalKeyReferenceDetails, + + string externalKeyVersionId, + string id, bool isPrimary, @@ -98,6 +110,8 @@ private GetKeyVersionsKeyVersionResult( string vaultId) { CompartmentId = compartmentId; + ExternalKeyReferenceDetails = externalKeyReferenceDetails; + ExternalKeyVersionId = externalKeyVersionId; Id = id; IsPrimary = isPrimary; KeyId = keyId; diff --git a/sdk/dotnet/Kms/Outputs/GetKeysKeyExternalKeyReferenceDetailResult.cs b/sdk/dotnet/Kms/Outputs/GetKeysKeyExternalKeyReferenceDetailResult.cs new file mode 100644 index 0000000000..a7796663ab --- /dev/null +++ b/sdk/dotnet/Kms/Outputs/GetKeysKeyExternalKeyReferenceDetailResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Kms.Outputs +{ + + [OutputType] + public sealed class GetKeysKeyExternalKeyReferenceDetailResult + { + /// + /// ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. + /// + public readonly string ExternalKeyId; + /// + /// Key version ID associated with the external key. + /// + public readonly string ExternalKeyVersionId; + + [OutputConstructor] + private GetKeysKeyExternalKeyReferenceDetailResult( + string externalKeyId, + + string externalKeyVersionId) + { + ExternalKeyId = externalKeyId; + ExternalKeyVersionId = externalKeyVersionId; + } + } +} diff --git a/sdk/dotnet/Kms/Outputs/GetKeysKeyExternalKeyReferenceResult.cs b/sdk/dotnet/Kms/Outputs/GetKeysKeyExternalKeyReferenceResult.cs new file mode 100644 index 0000000000..05a65077e1 --- /dev/null +++ b/sdk/dotnet/Kms/Outputs/GetKeysKeyExternalKeyReferenceResult.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Kms.Outputs +{ + + [OutputType] + public sealed class GetKeysKeyExternalKeyReferenceResult + { + /// + /// ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. + /// + public readonly string ExternalKeyId; + + [OutputConstructor] + private GetKeysKeyExternalKeyReferenceResult(string externalKeyId) + { + ExternalKeyId = externalKeyId; + } + } +} diff --git a/sdk/dotnet/Kms/Outputs/GetKeysKeyResult.cs b/sdk/dotnet/Kms/Outputs/GetKeysKeyResult.cs index 9746cc83af..bafed456d6 100644 --- a/sdk/dotnet/Kms/Outputs/GetKeysKeyResult.cs +++ b/sdk/dotnet/Kms/Outputs/GetKeysKeyResult.cs @@ -31,6 +31,11 @@ public sealed class GetKeysKeyResult /// public readonly string DisplayName; /// + /// Key reference data to be returned to the customer as a response. + /// + public readonly ImmutableArray ExternalKeyReferenceDetails; + public readonly ImmutableArray ExternalKeyReferences; + /// /// 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` /// public readonly ImmutableDictionary FreeformTags; @@ -39,7 +44,7 @@ public sealed class GetKeysKeyResult /// public readonly string Id; /// - /// A boolean that will be true when key is primary, and will be false when key is a replica from a primary key. + /// A Boolean value that indicates whether the Key belongs to primary Vault or replica vault. /// public readonly bool IsPrimary; /// @@ -51,7 +56,7 @@ public sealed class GetKeysKeyResult /// public readonly string ManagementEndpoint; /// - /// A key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. + /// A key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager. /// public readonly string ProtectionMode; /// @@ -91,6 +96,10 @@ private GetKeysKeyResult( string displayName, + ImmutableArray externalKeyReferenceDetails, + + ImmutableArray externalKeyReferences, + ImmutableDictionary freeformTags, string id, @@ -126,6 +135,8 @@ private GetKeysKeyResult( DefinedTags = definedTags; DesiredState = desiredState; DisplayName = displayName; + ExternalKeyReferenceDetails = externalKeyReferenceDetails; + ExternalKeyReferences = externalKeyReferences; FreeformTags = freeformTags; Id = id; IsPrimary = isPrimary; diff --git a/sdk/dotnet/Kms/Outputs/GetVaultExternalKeyManagerMetadataOauthMetadataResult.cs b/sdk/dotnet/Kms/Outputs/GetVaultExternalKeyManagerMetadataOauthMetadataResult.cs new file mode 100644 index 0000000000..1bdd14fbe2 --- /dev/null +++ b/sdk/dotnet/Kms/Outputs/GetVaultExternalKeyManagerMetadataOauthMetadataResult.cs @@ -0,0 +1,39 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Kms.Outputs +{ + + [OutputType] + public sealed class GetVaultExternalKeyManagerMetadataOauthMetadataResult + { + /// + /// ID of the client app created in IDP. + /// + public readonly string ClientAppId; + public readonly string ClientAppSecret; + /// + /// Base URL of the IDCS account where confidential client app is created. + /// + public readonly string IdcsAccountNameUrl; + + [OutputConstructor] + private GetVaultExternalKeyManagerMetadataOauthMetadataResult( + string clientAppId, + + string clientAppSecret, + + string idcsAccountNameUrl) + { + ClientAppId = clientAppId; + ClientAppSecret = clientAppSecret; + IdcsAccountNameUrl = idcsAccountNameUrl; + } + } +} diff --git a/sdk/dotnet/Kms/Outputs/GetVaultExternalKeyManagerMetadataResult.cs b/sdk/dotnet/Kms/Outputs/GetVaultExternalKeyManagerMetadataResult.cs new file mode 100644 index 0000000000..0111ef1ada --- /dev/null +++ b/sdk/dotnet/Kms/Outputs/GetVaultExternalKeyManagerMetadataResult.cs @@ -0,0 +1,39 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Kms.Outputs +{ + + [OutputType] + public sealed class GetVaultExternalKeyManagerMetadataResult + { + /// + /// URL of the vault on external key manager. + /// + public readonly string ExternalVaultEndpointUrl; + public readonly ImmutableArray OauthMetadatas; + /// + /// OCID of the private endpoint. + /// + public readonly string PrivateEndpointId; + + [OutputConstructor] + private GetVaultExternalKeyManagerMetadataResult( + string externalVaultEndpointUrl, + + ImmutableArray oauthMetadatas, + + string privateEndpointId) + { + ExternalVaultEndpointUrl = externalVaultEndpointUrl; + OauthMetadatas = oauthMetadatas; + PrivateEndpointId = privateEndpointId; + } + } +} diff --git a/sdk/dotnet/Kms/Outputs/GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryResult.cs b/sdk/dotnet/Kms/Outputs/GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryResult.cs new file mode 100644 index 0000000000..77b5a4b9c2 --- /dev/null +++ b/sdk/dotnet/Kms/Outputs/GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Kms.Outputs +{ + + [OutputType] + public sealed class GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryResult + { + /// + /// ID of the client app created in IDP. + /// + public readonly string ClientAppId; + /// + /// Base URL of the IDCS account where confidential client app is created. + /// + public readonly string IdcsAccountNameUrl; + + [OutputConstructor] + private GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryResult( + string clientAppId, + + string idcsAccountNameUrl) + { + ClientAppId = clientAppId; + IdcsAccountNameUrl = idcsAccountNameUrl; + } + } +} diff --git a/sdk/dotnet/Kms/Outputs/GetVaultExternalKeyManagerMetadataSummaryResult.cs b/sdk/dotnet/Kms/Outputs/GetVaultExternalKeyManagerMetadataSummaryResult.cs new file mode 100644 index 0000000000..1916378104 --- /dev/null +++ b/sdk/dotnet/Kms/Outputs/GetVaultExternalKeyManagerMetadataSummaryResult.cs @@ -0,0 +1,49 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Kms.Outputs +{ + + [OutputType] + public sealed class GetVaultExternalKeyManagerMetadataSummaryResult + { + /// + /// URL of the vault on external key manager. + /// + public readonly string ExternalVaultEndpointUrl; + /// + /// Summary about authorization to be returned to the customer as a response. + /// + public readonly ImmutableArray OauthMetadataSummaries; + /// + /// OCID of the private endpoint. + /// + public readonly string PrivateEndpointId; + /// + /// Vendor of the external key manager. + /// + public readonly string Vendor; + + [OutputConstructor] + private GetVaultExternalKeyManagerMetadataSummaryResult( + string externalVaultEndpointUrl, + + ImmutableArray oauthMetadataSummaries, + + string privateEndpointId, + + string vendor) + { + ExternalVaultEndpointUrl = externalVaultEndpointUrl; + OauthMetadataSummaries = oauthMetadataSummaries; + PrivateEndpointId = privateEndpointId; + Vendor = vendor; + } + } +} diff --git a/sdk/dotnet/Kms/Outputs/GetVaultReplicasVaultReplicaResult.cs b/sdk/dotnet/Kms/Outputs/GetVaultReplicasVaultReplicaResult.cs index 216e7b39b6..bc2386c9a4 100644 --- a/sdk/dotnet/Kms/Outputs/GetVaultReplicasVaultReplicaResult.cs +++ b/sdk/dotnet/Kms/Outputs/GetVaultReplicasVaultReplicaResult.cs @@ -26,7 +26,7 @@ public sealed class GetVaultReplicasVaultReplicaResult /// public readonly string Region; /// - /// The vault replica's status + /// Status of the Vault /// public readonly string Status; diff --git a/sdk/dotnet/Kms/Outputs/GetVaultsVaultExternalKeyManagerMetadataOauthMetadataResult.cs b/sdk/dotnet/Kms/Outputs/GetVaultsVaultExternalKeyManagerMetadataOauthMetadataResult.cs new file mode 100644 index 0000000000..68fef27d98 --- /dev/null +++ b/sdk/dotnet/Kms/Outputs/GetVaultsVaultExternalKeyManagerMetadataOauthMetadataResult.cs @@ -0,0 +1,39 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Kms.Outputs +{ + + [OutputType] + public sealed class GetVaultsVaultExternalKeyManagerMetadataOauthMetadataResult + { + /// + /// ID of the client app created in IDP. + /// + public readonly string ClientAppId; + public readonly string ClientAppSecret; + /// + /// Base URL of the IDCS account where confidential client app is created. + /// + public readonly string IdcsAccountNameUrl; + + [OutputConstructor] + private GetVaultsVaultExternalKeyManagerMetadataOauthMetadataResult( + string clientAppId, + + string clientAppSecret, + + string idcsAccountNameUrl) + { + ClientAppId = clientAppId; + ClientAppSecret = clientAppSecret; + IdcsAccountNameUrl = idcsAccountNameUrl; + } + } +} diff --git a/sdk/dotnet/Kms/Outputs/GetVaultsVaultExternalKeyManagerMetadataResult.cs b/sdk/dotnet/Kms/Outputs/GetVaultsVaultExternalKeyManagerMetadataResult.cs new file mode 100644 index 0000000000..2872fa6652 --- /dev/null +++ b/sdk/dotnet/Kms/Outputs/GetVaultsVaultExternalKeyManagerMetadataResult.cs @@ -0,0 +1,39 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Kms.Outputs +{ + + [OutputType] + public sealed class GetVaultsVaultExternalKeyManagerMetadataResult + { + /// + /// URL of the vault on external key manager. + /// + public readonly string ExternalVaultEndpointUrl; + public readonly ImmutableArray OauthMetadatas; + /// + /// OCID of the private endpoint. + /// + public readonly string PrivateEndpointId; + + [OutputConstructor] + private GetVaultsVaultExternalKeyManagerMetadataResult( + string externalVaultEndpointUrl, + + ImmutableArray oauthMetadatas, + + string privateEndpointId) + { + ExternalVaultEndpointUrl = externalVaultEndpointUrl; + OauthMetadatas = oauthMetadatas; + PrivateEndpointId = privateEndpointId; + } + } +} diff --git a/sdk/dotnet/Kms/Outputs/GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryResult.cs b/sdk/dotnet/Kms/Outputs/GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryResult.cs new file mode 100644 index 0000000000..a8678746f9 --- /dev/null +++ b/sdk/dotnet/Kms/Outputs/GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryResult.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Kms.Outputs +{ + + [OutputType] + public sealed class GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryResult + { + /// + /// ID of the client app created in IDP. + /// + public readonly string ClientAppId; + /// + /// Base URL of the IDCS account where confidential client app is created. + /// + public readonly string IdcsAccountNameUrl; + + [OutputConstructor] + private GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryResult( + string clientAppId, + + string idcsAccountNameUrl) + { + ClientAppId = clientAppId; + IdcsAccountNameUrl = idcsAccountNameUrl; + } + } +} diff --git a/sdk/dotnet/Kms/Outputs/GetVaultsVaultExternalKeyManagerMetadataSummaryResult.cs b/sdk/dotnet/Kms/Outputs/GetVaultsVaultExternalKeyManagerMetadataSummaryResult.cs new file mode 100644 index 0000000000..90fcb32470 --- /dev/null +++ b/sdk/dotnet/Kms/Outputs/GetVaultsVaultExternalKeyManagerMetadataSummaryResult.cs @@ -0,0 +1,49 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Kms.Outputs +{ + + [OutputType] + public sealed class GetVaultsVaultExternalKeyManagerMetadataSummaryResult + { + /// + /// URL of the vault on external key manager. + /// + public readonly string ExternalVaultEndpointUrl; + /// + /// Summary about authorization to be returned to the customer as a response. + /// + public readonly ImmutableArray OauthMetadataSummaries; + /// + /// OCID of the private endpoint. + /// + public readonly string PrivateEndpointId; + /// + /// Vendor of the external key manager. + /// + public readonly string Vendor; + + [OutputConstructor] + private GetVaultsVaultExternalKeyManagerMetadataSummaryResult( + string externalVaultEndpointUrl, + + ImmutableArray oauthMetadataSummaries, + + string privateEndpointId, + + string vendor) + { + ExternalVaultEndpointUrl = externalVaultEndpointUrl; + OauthMetadataSummaries = oauthMetadataSummaries; + PrivateEndpointId = privateEndpointId; + Vendor = vendor; + } + } +} diff --git a/sdk/dotnet/Kms/Outputs/GetVaultsVaultResult.cs b/sdk/dotnet/Kms/Outputs/GetVaultsVaultResult.cs index 55d19f9e0a..f8c92b0c25 100644 --- a/sdk/dotnet/Kms/Outputs/GetVaultsVaultResult.cs +++ b/sdk/dotnet/Kms/Outputs/GetVaultsVaultResult.cs @@ -30,6 +30,11 @@ public sealed class GetVaultsVaultResult /// public readonly string DisplayName; /// + /// Summary about metadata of external key manager to be returned to the customer as a response. + /// + public readonly ImmutableArray ExternalKeyManagerMetadataSummaries; + public readonly ImmutableArray ExternalKeyManagerMetadatas; + /// /// 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` /// public readonly ImmutableDictionary FreeformTags; @@ -38,7 +43,7 @@ public sealed class GetVaultsVaultResult /// public readonly string Id; /// - /// A boolean that will be true when vault is primary, and will be false when vault is a replica from a primary vault. + /// A Boolean value that indicates whether the Vault is primary Vault or replica Vault. /// public readonly bool IsPrimary; /// @@ -53,7 +58,7 @@ public sealed class GetVaultsVaultResult public readonly ImmutableArray RestoreFromObjectStores; public readonly bool RestoreTrigger; /// - /// The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. + /// The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. /// public readonly string RestoredFromVaultId; /// @@ -83,6 +88,10 @@ private GetVaultsVaultResult( string displayName, + ImmutableArray externalKeyManagerMetadataSummaries, + + ImmutableArray externalKeyManagerMetadatas, + ImmutableDictionary freeformTags, string id, @@ -113,6 +122,8 @@ private GetVaultsVaultResult( CryptoEndpoint = cryptoEndpoint; DefinedTags = definedTags; DisplayName = displayName; + ExternalKeyManagerMetadataSummaries = externalKeyManagerMetadataSummaries; + ExternalKeyManagerMetadatas = externalKeyManagerMetadatas; FreeformTags = freeformTags; Id = id; IsPrimary = isPrimary; diff --git a/sdk/dotnet/Kms/Outputs/KeyExternalKeyReference.cs b/sdk/dotnet/Kms/Outputs/KeyExternalKeyReference.cs new file mode 100644 index 0000000000..e1d10ffc7c --- /dev/null +++ b/sdk/dotnet/Kms/Outputs/KeyExternalKeyReference.cs @@ -0,0 +1,27 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Kms.Outputs +{ + + [OutputType] + public sealed class KeyExternalKeyReference + { + /// + /// ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM + /// + public readonly string ExternalKeyId; + + [OutputConstructor] + private KeyExternalKeyReference(string externalKeyId) + { + ExternalKeyId = externalKeyId; + } + } +} diff --git a/sdk/dotnet/Kms/Outputs/KeyExternalKeyReferenceDetail.cs b/sdk/dotnet/Kms/Outputs/KeyExternalKeyReferenceDetail.cs new file mode 100644 index 0000000000..b5881d6626 --- /dev/null +++ b/sdk/dotnet/Kms/Outputs/KeyExternalKeyReferenceDetail.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Kms.Outputs +{ + + [OutputType] + public sealed class KeyExternalKeyReferenceDetail + { + /// + /// ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM + /// + public readonly string? ExternalKeyId; + /// + /// Key version ID associated with the external key. + /// + public readonly string? ExternalKeyVersionId; + + [OutputConstructor] + private KeyExternalKeyReferenceDetail( + string? externalKeyId, + + string? externalKeyVersionId) + { + ExternalKeyId = externalKeyId; + ExternalKeyVersionId = externalKeyVersionId; + } + } +} diff --git a/sdk/dotnet/Kms/Outputs/KeyKeyShape.cs b/sdk/dotnet/Kms/Outputs/KeyKeyShape.cs index bc39efa5cd..437c0c270a 100644 --- a/sdk/dotnet/Kms/Outputs/KeyKeyShape.cs +++ b/sdk/dotnet/Kms/Outputs/KeyKeyShape.cs @@ -14,7 +14,7 @@ namespace Pulumi.Oci.Kms.Outputs public sealed class KeyKeyShape { /// - /// The algorithm used by a key's key versions to encrypt or decrypt. + /// The algorithm used by a key's key versions to encrypt or decrypt. Only AES algorithm is supported for `External` keys. /// public readonly string Algorithm; /// diff --git a/sdk/dotnet/Kms/Outputs/KeyVersionExternalKeyReferenceDetail.cs b/sdk/dotnet/Kms/Outputs/KeyVersionExternalKeyReferenceDetail.cs new file mode 100644 index 0000000000..80d6da4d2b --- /dev/null +++ b/sdk/dotnet/Kms/Outputs/KeyVersionExternalKeyReferenceDetail.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Kms.Outputs +{ + + [OutputType] + public sealed class KeyVersionExternalKeyReferenceDetail + { + /// + /// ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. + /// + public readonly string? ExternalKeyId; + /// + /// Key version ID associated with the external key. + /// + public readonly string? ExternalKeyVersionId; + + [OutputConstructor] + private KeyVersionExternalKeyReferenceDetail( + string? externalKeyId, + + string? externalKeyVersionId) + { + ExternalKeyId = externalKeyId; + ExternalKeyVersionId = externalKeyVersionId; + } + } +} diff --git a/sdk/dotnet/Kms/Outputs/VaultExternalKeyManagerMetadata.cs b/sdk/dotnet/Kms/Outputs/VaultExternalKeyManagerMetadata.cs new file mode 100644 index 0000000000..0625d73486 --- /dev/null +++ b/sdk/dotnet/Kms/Outputs/VaultExternalKeyManagerMetadata.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Kms.Outputs +{ + + [OutputType] + public sealed class VaultExternalKeyManagerMetadata + { + /// + /// URI of the vault on external key manager. + /// + public readonly string ExternalVaultEndpointUrl; + /// + /// Authorization details required to get access token from IDP for accessing protected resources. + /// + public readonly Outputs.VaultExternalKeyManagerMetadataOauthMetadata OauthMetadata; + /// + /// OCID of private endpoint created by customer. + /// + public readonly string PrivateEndpointId; + + [OutputConstructor] + private VaultExternalKeyManagerMetadata( + string externalVaultEndpointUrl, + + Outputs.VaultExternalKeyManagerMetadataOauthMetadata oauthMetadata, + + string privateEndpointId) + { + ExternalVaultEndpointUrl = externalVaultEndpointUrl; + OauthMetadata = oauthMetadata; + PrivateEndpointId = privateEndpointId; + } + } +} diff --git a/sdk/dotnet/Kms/Outputs/VaultExternalKeyManagerMetadataOauthMetadata.cs b/sdk/dotnet/Kms/Outputs/VaultExternalKeyManagerMetadataOauthMetadata.cs new file mode 100644 index 0000000000..e8503aab67 --- /dev/null +++ b/sdk/dotnet/Kms/Outputs/VaultExternalKeyManagerMetadataOauthMetadata.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Kms.Outputs +{ + + [OutputType] + public sealed class VaultExternalKeyManagerMetadataOauthMetadata + { + /// + /// ID of the client app created in IDP. + /// + public readonly string ClientAppId; + /// + /// Secret of the client app created in IDP. + /// + public readonly string ClientAppSecret; + /// + /// Base URL of the IDCS account where confidential client app is created. + /// + public readonly string IdcsAccountNameUrl; + + [OutputConstructor] + private VaultExternalKeyManagerMetadataOauthMetadata( + string clientAppId, + + string clientAppSecret, + + string idcsAccountNameUrl) + { + ClientAppId = clientAppId; + ClientAppSecret = clientAppSecret; + IdcsAccountNameUrl = idcsAccountNameUrl; + } + } +} diff --git a/sdk/dotnet/Kms/Outputs/VaultExternalKeyManagerMetadataSummary.cs b/sdk/dotnet/Kms/Outputs/VaultExternalKeyManagerMetadataSummary.cs new file mode 100644 index 0000000000..75f3e82853 --- /dev/null +++ b/sdk/dotnet/Kms/Outputs/VaultExternalKeyManagerMetadataSummary.cs @@ -0,0 +1,49 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Kms.Outputs +{ + + [OutputType] + public sealed class VaultExternalKeyManagerMetadataSummary + { + /// + /// URI of the vault on external key manager. + /// + public readonly string? ExternalVaultEndpointUrl; + /// + /// Summary about authorization to be returned to the customer as a response. + /// + public readonly ImmutableArray OauthMetadataSummaries; + /// + /// OCID of private endpoint created by customer. + /// + public readonly string? PrivateEndpointId; + /// + /// Vendor of the external key manager. + /// + public readonly string? Vendor; + + [OutputConstructor] + private VaultExternalKeyManagerMetadataSummary( + string? externalVaultEndpointUrl, + + ImmutableArray oauthMetadataSummaries, + + string? privateEndpointId, + + string? vendor) + { + ExternalVaultEndpointUrl = externalVaultEndpointUrl; + OauthMetadataSummaries = oauthMetadataSummaries; + PrivateEndpointId = privateEndpointId; + Vendor = vendor; + } + } +} diff --git a/sdk/dotnet/Kms/Outputs/VaultExternalKeyManagerMetadataSummaryOauthMetadataSummary.cs b/sdk/dotnet/Kms/Outputs/VaultExternalKeyManagerMetadataSummaryOauthMetadataSummary.cs new file mode 100644 index 0000000000..dcc911a49e --- /dev/null +++ b/sdk/dotnet/Kms/Outputs/VaultExternalKeyManagerMetadataSummaryOauthMetadataSummary.cs @@ -0,0 +1,35 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Kms.Outputs +{ + + [OutputType] + public sealed class VaultExternalKeyManagerMetadataSummaryOauthMetadataSummary + { + /// + /// ID of the client app created in IDP. + /// + public readonly string? ClientAppId; + /// + /// Base URL of the IDCS account where confidential client app is created. + /// + public readonly string? IdcsAccountNameUrl; + + [OutputConstructor] + private VaultExternalKeyManagerMetadataSummaryOauthMetadataSummary( + string? clientAppId, + + string? idcsAccountNameUrl) + { + ClientAppId = clientAppId; + IdcsAccountNameUrl = idcsAccountNameUrl; + } + } +} diff --git a/sdk/dotnet/Kms/Sign.cs b/sdk/dotnet/Kms/Sign.cs index ec0a61a28a..d2dceb63eb 100644 --- a/sdk/dotnet/Kms/Sign.cs +++ b/sdk/dotnet/Kms/Sign.cs @@ -15,6 +15,7 @@ namespace Pulumi.Oci.Kms /// Creates a digital signature for a message or message digest by using the private key of a public-private key pair, /// also known as an asymmetric key. To verify the generated signature, you can use the [Verify](https://docs.cloud.oracle.com/iaas/api/#/en/key/latest/VerifiedData/Verify) /// operation. Or, if you want to validate the signature outside of the service, you can do so by using the public key of the same asymmetric key. + /// This operation is not supported for keys having protection mode `EXTERNAL`. /// /// ## Example Usage /// @@ -75,7 +76,7 @@ public partial class Sign : global::Pulumi.CustomResource public Output Message { get; private set; } = null!; /// - /// Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. + /// Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. /// [Output("messageType")] public Output MessageType { get; private set; } = null!; @@ -87,7 +88,7 @@ public partial class Sign : global::Pulumi.CustomResource public Output Signature { get; private set; } = null!; /// - /// The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. + /// The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. /// /// /// ** IMPORTANT ** @@ -167,13 +168,13 @@ public sealed class SignArgs : global::Pulumi.ResourceArgs public Input Message { get; set; } = null!; /// - /// Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. + /// Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. /// [Input("messageType")] public Input? MessageType { get; set; } /// - /// The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. + /// The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. /// /// /// ** IMPORTANT ** @@ -215,7 +216,7 @@ public sealed class SignState : global::Pulumi.ResourceArgs public Input? Message { get; set; } /// - /// Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. + /// Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. /// [Input("messageType")] public Input? MessageType { get; set; } @@ -227,7 +228,7 @@ public sealed class SignState : global::Pulumi.ResourceArgs public Input? Signature { get; set; } /// - /// The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. + /// The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. /// /// /// ** IMPORTANT ** diff --git a/sdk/dotnet/Kms/Vault.cs b/sdk/dotnet/Kms/Vault.cs index 99f2e5921b..0054292c67 100644 --- a/sdk/dotnet/Kms/Vault.cs +++ b/sdk/dotnet/Kms/Vault.cs @@ -41,6 +41,17 @@ namespace Pulumi.Oci.Kms /// { /// { "Operations.CostCenter", "42" }, /// }, + /// ExternalKeyManagerMetadata = new Oci.Kms.Inputs.VaultExternalKeyManagerMetadataArgs + /// { + /// ExternalVaultEndpointUrl = @var.Vault_external_key_manager_metadata_external_vault_endpoint_url, + /// OauthMetadata = new Oci.Kms.Inputs.VaultExternalKeyManagerMetadataOauthMetadataArgs + /// { + /// ClientAppId = oci_kms_client_app.Test_client_app.Id, + /// ClientAppSecret = @var.Vault_external_key_manager_metadata_oauth_metadata_client_app_secret, + /// IdcsAccountNameUrl = @var.Vault_external_key_manager_metadata_oauth_metadata_idcs_account_name_url, + /// }, + /// PrivateEndpointId = oci_dataflow_private_endpoint.Test_private_endpoint.Id, + /// }, /// FreeformTags = /// { /// { "Department", "Finance" }, @@ -85,6 +96,18 @@ public partial class Vault : global::Pulumi.CustomResource [Output("displayName")] public Output DisplayName { get; private set; } = null!; + /// + /// Metadata required for accessing External Key manager + /// + [Output("externalKeyManagerMetadata")] + public Output ExternalKeyManagerMetadata { get; private set; } = null!; + + /// + /// Summary about metadata of external key manager to be returned to the customer as a response. + /// + [Output("externalKeyManagerMetadataSummaries")] + public Output> ExternalKeyManagerMetadataSummaries { get; private set; } = null!; + /// /// (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` /// @@ -92,7 +115,7 @@ public partial class Vault : global::Pulumi.CustomResource public Output> FreeformTags { get; private set; } = null!; /// - /// A boolean that will be true when vault is primary, and will be false when vault is a replica from a primary vault. + /// A Boolean value that indicates whether the Vault is primary Vault or replica Vault. /// [Output("isPrimary")] public Output IsPrimary { get; private set; } = null!; @@ -125,7 +148,7 @@ public partial class Vault : global::Pulumi.CustomResource public Output RestoreTrigger { get; private set; } = null!; /// - /// The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. + /// The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. /// [Output("restoredFromVaultId")] public Output RestoredFromVaultId { get; private set; } = null!; @@ -227,6 +250,12 @@ public InputMap DefinedTags [Input("displayName", required: true)] public Input DisplayName { get; set; } = null!; + /// + /// Metadata required for accessing External Key manager + /// + [Input("externalKeyManagerMetadata")] + public Input? ExternalKeyManagerMetadata { get; set; } + [Input("freeformTags")] private InputMap? _freeformTags; @@ -307,6 +336,24 @@ public InputMap DefinedTags [Input("displayName")] public Input? DisplayName { get; set; } + /// + /// Metadata required for accessing External Key manager + /// + [Input("externalKeyManagerMetadata")] + public Input? ExternalKeyManagerMetadata { get; set; } + + [Input("externalKeyManagerMetadataSummaries")] + private InputList? _externalKeyManagerMetadataSummaries; + + /// + /// Summary about metadata of external key manager to be returned to the customer as a response. + /// + public InputList ExternalKeyManagerMetadataSummaries + { + get => _externalKeyManagerMetadataSummaries ?? (_externalKeyManagerMetadataSummaries = new InputList()); + set => _externalKeyManagerMetadataSummaries = value; + } + [Input("freeformTags")] private InputMap? _freeformTags; @@ -320,7 +367,7 @@ public InputMap FreeformTags } /// - /// A boolean that will be true when vault is primary, and will be false when vault is a replica from a primary vault. + /// A Boolean value that indicates whether the Vault is primary Vault or replica Vault. /// [Input("isPrimary")] public Input? IsPrimary { get; set; } @@ -359,7 +406,7 @@ public InputList ReplicaDetails public Input? RestoreTrigger { get; set; } /// - /// The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. + /// The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. /// [Input("restoredFromVaultId")] public Input? RestoredFromVaultId { get; set; } diff --git a/sdk/dotnet/Kms/Verify.cs b/sdk/dotnet/Kms/Verify.cs index f093ce64e9..119b4a4f01 100644 --- a/sdk/dotnet/Kms/Verify.cs +++ b/sdk/dotnet/Kms/Verify.cs @@ -13,8 +13,9 @@ namespace Pulumi.Oci.Kms /// This resource provides the Verify resource in Oracle Cloud Infrastructure Kms service. /// /// Verifies a digital signature that was generated by the [Sign](https://docs.cloud.oracle.com/iaas/api/#/en/key/latest/SignedData/Sign) operation - /// by using the public key of the same asymmetric key that was used to sign the data. If you want to validate the\ + /// by using the public key of the same asymmetric key that was used to sign the data. If you want to validate the /// digital signature outside of the service, you can do so by using the public key of the asymmetric key. + /// This operation is not supported for keys having protection mode `EXTERNAL`. /// /// ## Example Usage /// @@ -82,7 +83,7 @@ public partial class Verify : global::Pulumi.CustomResource public Output Message { get; private set; } = null!; /// - /// Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. + /// Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. /// [Output("messageType")] public Output MessageType { get; private set; } = null!; @@ -94,7 +95,7 @@ public partial class Verify : global::Pulumi.CustomResource public Output Signature { get; private set; } = null!; /// - /// The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. + /// The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. /// /// /// ** IMPORTANT ** @@ -174,7 +175,7 @@ public sealed class VerifyArgs : global::Pulumi.ResourceArgs public Input Message { get; set; } = null!; /// - /// Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. + /// Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. /// [Input("messageType")] public Input? MessageType { get; set; } @@ -186,7 +187,7 @@ public sealed class VerifyArgs : global::Pulumi.ResourceArgs public Input Signature { get; set; } = null!; /// - /// The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. + /// The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. /// /// /// ** IMPORTANT ** @@ -234,7 +235,7 @@ public sealed class VerifyState : global::Pulumi.ResourceArgs public Input? Message { get; set; } /// - /// Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. + /// Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. /// [Input("messageType")] public Input? MessageType { get; set; } @@ -246,7 +247,7 @@ public sealed class VerifyState : global::Pulumi.ResourceArgs public Input? Signature { get; set; } /// - /// The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. + /// The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. /// /// /// ** IMPORTANT ** diff --git a/sdk/dotnet/LoadBalancer/Inputs/LoadBalancerIpAddressDetailReservedIpArgs.cs b/sdk/dotnet/LoadBalancer/Inputs/LoadBalancerIpAddressDetailReservedIpArgs.cs index 55b24a7c73..9c66c5b414 100644 --- a/sdk/dotnet/LoadBalancer/Inputs/LoadBalancerIpAddressDetailReservedIpArgs.cs +++ b/sdk/dotnet/LoadBalancer/Inputs/LoadBalancerIpAddressDetailReservedIpArgs.cs @@ -12,9 +12,6 @@ namespace Pulumi.Oci.LoadBalancer.Inputs public sealed class LoadBalancerIpAddressDetailReservedIpArgs : global::Pulumi.ResourceArgs { - /// - /// Ocid of the pre-created public IP. That should be attahed to this load balancer. - /// [Input("id")] public Input? Id { get; set; } diff --git a/sdk/dotnet/LoadBalancer/Inputs/LoadBalancerIpAddressDetailReservedIpGetArgs.cs b/sdk/dotnet/LoadBalancer/Inputs/LoadBalancerIpAddressDetailReservedIpGetArgs.cs index 430814fee7..fd59fb0667 100644 --- a/sdk/dotnet/LoadBalancer/Inputs/LoadBalancerIpAddressDetailReservedIpGetArgs.cs +++ b/sdk/dotnet/LoadBalancer/Inputs/LoadBalancerIpAddressDetailReservedIpGetArgs.cs @@ -12,9 +12,6 @@ namespace Pulumi.Oci.LoadBalancer.Inputs public sealed class LoadBalancerIpAddressDetailReservedIpGetArgs : global::Pulumi.ResourceArgs { - /// - /// Ocid of the pre-created public IP. That should be attahed to this load balancer. - /// [Input("id")] public Input? Id { get; set; } diff --git a/sdk/dotnet/LoadBalancer/Inputs/LoadBalancerReservedIpArgs.cs b/sdk/dotnet/LoadBalancer/Inputs/LoadBalancerReservedIpArgs.cs index 4453f1a2a5..d802da6591 100644 --- a/sdk/dotnet/LoadBalancer/Inputs/LoadBalancerReservedIpArgs.cs +++ b/sdk/dotnet/LoadBalancer/Inputs/LoadBalancerReservedIpArgs.cs @@ -12,9 +12,6 @@ namespace Pulumi.Oci.LoadBalancer.Inputs public sealed class LoadBalancerReservedIpArgs : global::Pulumi.ResourceArgs { - /// - /// Ocid of the pre-created public IP. That should be attahed to this load balancer. - /// [Input("id")] public Input? Id { get; set; } diff --git a/sdk/dotnet/LoadBalancer/Inputs/LoadBalancerReservedIpGetArgs.cs b/sdk/dotnet/LoadBalancer/Inputs/LoadBalancerReservedIpGetArgs.cs index 73a02dcb04..5b681cd18c 100644 --- a/sdk/dotnet/LoadBalancer/Inputs/LoadBalancerReservedIpGetArgs.cs +++ b/sdk/dotnet/LoadBalancer/Inputs/LoadBalancerReservedIpGetArgs.cs @@ -12,9 +12,6 @@ namespace Pulumi.Oci.LoadBalancer.Inputs public sealed class LoadBalancerReservedIpGetArgs : global::Pulumi.ResourceArgs { - /// - /// Ocid of the pre-created public IP. That should be attahed to this load balancer. - /// [Input("id")] public Input? Id { get; set; } diff --git a/sdk/dotnet/LoadBalancer/Outputs/LoadBalancerIpAddressDetailReservedIp.cs b/sdk/dotnet/LoadBalancer/Outputs/LoadBalancerIpAddressDetailReservedIp.cs index ac0ddccda1..6f7f7321dd 100644 --- a/sdk/dotnet/LoadBalancer/Outputs/LoadBalancerIpAddressDetailReservedIp.cs +++ b/sdk/dotnet/LoadBalancer/Outputs/LoadBalancerIpAddressDetailReservedIp.cs @@ -13,9 +13,6 @@ namespace Pulumi.Oci.LoadBalancer.Outputs [OutputType] public sealed class LoadBalancerIpAddressDetailReservedIp { - /// - /// Ocid of the pre-created public IP. That should be attahed to this load balancer. - /// public readonly string? Id; [OutputConstructor] diff --git a/sdk/dotnet/LoadBalancer/Outputs/LoadBalancerReservedIp.cs b/sdk/dotnet/LoadBalancer/Outputs/LoadBalancerReservedIp.cs index 8db8a5cec2..568eed15d9 100644 --- a/sdk/dotnet/LoadBalancer/Outputs/LoadBalancerReservedIp.cs +++ b/sdk/dotnet/LoadBalancer/Outputs/LoadBalancerReservedIp.cs @@ -13,9 +13,6 @@ namespace Pulumi.Oci.LoadBalancer.Outputs [OutputType] public sealed class LoadBalancerReservedIp { - /// - /// Ocid of the pre-created public IP. That should be attahed to this load balancer. - /// public readonly string? Id; [OutputConstructor] diff --git a/sdk/dotnet/LoadBalancer/SslCipherSuite.cs b/sdk/dotnet/LoadBalancer/SslCipherSuite.cs index b0955d91c6..c28b432058 100644 --- a/sdk/dotnet/LoadBalancer/SslCipherSuite.cs +++ b/sdk/dotnet/LoadBalancer/SslCipherSuite.cs @@ -44,9 +44,6 @@ namespace Pulumi.Oci.LoadBalancer [OciResourceType("oci:LoadBalancer/sslCipherSuite:SslCipherSuite")] public partial class SslCipherSuite : global::Pulumi.CustomResource { - /// - /// A list of SSL ciphers the load balancer must support for HTTPS or SSL connections. - /// [Output("ciphers")] public Output> Ciphers { get; private set; } = null!; @@ -126,10 +123,6 @@ public sealed class SslCipherSuiteArgs : global::Pulumi.ResourceArgs { [Input("ciphers", required: true)] private InputList? _ciphers; - - /// - /// A list of SSL ciphers the load balancer must support for HTTPS or SSL connections. - /// public InputList Ciphers { get => _ciphers ?? (_ciphers = new InputList()); @@ -171,10 +164,6 @@ public sealed class SslCipherSuiteState : global::Pulumi.ResourceArgs { [Input("ciphers")] private InputList? _ciphers; - - /// - /// A list of SSL ciphers the load balancer must support for HTTPS or SSL connections. - /// public InputList Ciphers { get => _ciphers ?? (_ciphers = new InputList()); diff --git a/sdk/dotnet/Mysql/GetReplica.cs b/sdk/dotnet/Mysql/GetReplica.cs index 520725fcc8..75320156c9 100644 --- a/sdk/dotnet/Mysql/GetReplica.cs +++ b/sdk/dotnet/Mysql/GetReplica.cs @@ -114,6 +114,10 @@ public sealed class GetReplicaResult /// public readonly string CompartmentId; /// + /// The OCID of the Configuration to be used by the read replica. + /// + public readonly string ConfigurationId; + /// /// The OCID of the DB System the read replica is associated with. /// public readonly string DbSystemId; @@ -154,7 +158,7 @@ public sealed class GetReplicaResult /// public readonly string LifecycleDetails; /// - /// The MySQL version used by the read replica. + /// The MySQL version to be used by the read replica. /// public readonly string MysqlVersion; /// @@ -167,6 +171,14 @@ public sealed class GetReplicaResult public readonly int PortX; public readonly string ReplicaId; /// + /// By default a read replica inherits the MySQL version, shape, and configuration of the source DB system. If you want to override any of these, provide values in the properties, mysqlVersion, shapeName, and configurationId. If you set a property value to "", then the value is inherited from its source DB system. + /// + public readonly ImmutableArray ReplicaOverrides; + /// + /// The shape currently in use by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. + /// + public readonly string ShapeName; + /// /// The state of the read replica. /// public readonly string State; @@ -185,6 +197,8 @@ private GetReplicaResult( string compartmentId, + string configurationId, + string dbSystemId, ImmutableDictionary definedTags, @@ -213,6 +227,10 @@ private GetReplicaResult( string replicaId, + ImmutableArray replicaOverrides, + + string shapeName, + string state, string timeCreated, @@ -221,6 +239,7 @@ private GetReplicaResult( { AvailabilityDomain = availabilityDomain; CompartmentId = compartmentId; + ConfigurationId = configurationId; DbSystemId = dbSystemId; DefinedTags = definedTags; Description = description; @@ -235,6 +254,8 @@ private GetReplicaResult( Port = port; PortX = portX; ReplicaId = replicaId; + ReplicaOverrides = replicaOverrides; + ShapeName = shapeName; State = state; TimeCreated = timeCreated; TimeUpdated = timeUpdated; diff --git a/sdk/dotnet/Mysql/GetReplicas.cs b/sdk/dotnet/Mysql/GetReplicas.cs index 19900216f5..5ddfaba7ff 100644 --- a/sdk/dotnet/Mysql/GetReplicas.cs +++ b/sdk/dotnet/Mysql/GetReplicas.cs @@ -31,8 +31,10 @@ public static class GetReplicas /// var testReplicas = Oci.Mysql.GetReplicas.Invoke(new() /// { /// CompartmentId = @var.Compartment_id, + /// ConfigurationId = oci_mysql_mysql_configuration.Test_mysql_configuration.Id, /// DbSystemId = oci_mysql_mysql_db_system.Test_mysql_db_system.Id, /// DisplayName = @var.Replica_display_name, + /// IsUpToDate = @var.Replica_is_up_to_date, /// ReplicaId = oci_mysql_replica.Test_replica.Id, /// State = @var.Replica_state, /// }); @@ -65,8 +67,10 @@ public static Task InvokeAsync(GetReplicasArgs args, InvokeOp /// var testReplicas = Oci.Mysql.GetReplicas.Invoke(new() /// { /// CompartmentId = @var.Compartment_id, + /// ConfigurationId = oci_mysql_mysql_configuration.Test_mysql_configuration.Id, /// DbSystemId = oci_mysql_mysql_db_system.Test_mysql_db_system.Id, /// DisplayName = @var.Replica_display_name, + /// IsUpToDate = @var.Replica_is_up_to_date, /// ReplicaId = oci_mysql_replica.Test_replica.Id, /// State = @var.Replica_state, /// }); @@ -89,6 +93,12 @@ public sealed class GetReplicasArgs : global::Pulumi.InvokeArgs [Input("compartmentId", required: true)] public string CompartmentId { get; set; } = null!; + /// + /// The requested Configuration instance. + /// + [Input("configurationId")] + public string? ConfigurationId { get; set; } + /// /// The DB System [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). /// @@ -109,6 +119,12 @@ public List Filters set => _filters = value; } + /// + /// Filter instances if they are using the latest revision of the Configuration they are associated with. + /// + [Input("isUpToDate")] + public bool? IsUpToDate { get; set; } + /// /// The read replica [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). /// @@ -135,6 +151,12 @@ public sealed class GetReplicasInvokeArgs : global::Pulumi.InvokeArgs [Input("compartmentId", required: true)] public Input CompartmentId { get; set; } = null!; + /// + /// The requested Configuration instance. + /// + [Input("configurationId")] + public Input? ConfigurationId { get; set; } + /// /// The DB System [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). /// @@ -155,6 +177,12 @@ public InputList Filters set => _filters = value; } + /// + /// Filter instances if they are using the latest revision of the Configuration they are associated with. + /// + [Input("isUpToDate")] + public Input? IsUpToDate { get; set; } + /// /// The read replica [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). /// @@ -182,6 +210,10 @@ public sealed class GetReplicasResult /// public readonly string CompartmentId; /// + /// The OCID of the Configuration to be used by the read replica. + /// + public readonly string? ConfigurationId; + /// /// The OCID of the DB System the read replica is associated with. /// public readonly string? DbSystemId; @@ -194,6 +226,7 @@ public sealed class GetReplicasResult /// The provider-assigned unique ID for this managed resource. /// public readonly string Id; + public readonly bool? IsUpToDate; public readonly string? ReplicaId; /// /// The list of replicas. @@ -208,6 +241,8 @@ public sealed class GetReplicasResult private GetReplicasResult( string compartmentId, + string? configurationId, + string? dbSystemId, string? displayName, @@ -216,6 +251,8 @@ private GetReplicasResult( string id, + bool? isUpToDate, + string? replicaId, ImmutableArray replicas, @@ -223,10 +260,12 @@ private GetReplicasResult( string? state) { CompartmentId = compartmentId; + ConfigurationId = configurationId; DbSystemId = dbSystemId; DisplayName = displayName; Filters = filters; Id = id; + IsUpToDate = isUpToDate; ReplicaId = replicaId; Replicas = replicas; State = state; diff --git a/sdk/dotnet/Mysql/Inputs/ReplicaReplicaOverridesArgs.cs b/sdk/dotnet/Mysql/Inputs/ReplicaReplicaOverridesArgs.cs new file mode 100644 index 0000000000..9eb7cf9b18 --- /dev/null +++ b/sdk/dotnet/Mysql/Inputs/ReplicaReplicaOverridesArgs.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Mysql.Inputs +{ + + public sealed class ReplicaReplicaOverridesArgs : global::Pulumi.ResourceArgs + { + /// + /// (Updatable) The OCID of the Configuration to be used by the read replica. + /// + [Input("configurationId")] + public Input? ConfigurationId { get; set; } + + /// + /// (Updatable) The MySQL version to be used by the read replica. + /// + [Input("mysqlVersion")] + public Input? MysqlVersion { get; set; } + + /// + /// (Updatable) The shape to be used by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. + /// + /// + /// ** 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 + /// + [Input("shapeName")] + public Input? ShapeName { get; set; } + + public ReplicaReplicaOverridesArgs() + { + } + public static new ReplicaReplicaOverridesArgs Empty => new ReplicaReplicaOverridesArgs(); + } +} diff --git a/sdk/dotnet/Mysql/Inputs/ReplicaReplicaOverridesGetArgs.cs b/sdk/dotnet/Mysql/Inputs/ReplicaReplicaOverridesGetArgs.cs new file mode 100644 index 0000000000..59cf946597 --- /dev/null +++ b/sdk/dotnet/Mysql/Inputs/ReplicaReplicaOverridesGetArgs.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Mysql.Inputs +{ + + public sealed class ReplicaReplicaOverridesGetArgs : global::Pulumi.ResourceArgs + { + /// + /// (Updatable) The OCID of the Configuration to be used by the read replica. + /// + [Input("configurationId")] + public Input? ConfigurationId { get; set; } + + /// + /// (Updatable) The MySQL version to be used by the read replica. + /// + [Input("mysqlVersion")] + public Input? MysqlVersion { get; set; } + + /// + /// (Updatable) The shape to be used by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. + /// + /// + /// ** 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 + /// + [Input("shapeName")] + public Input? ShapeName { get; set; } + + public ReplicaReplicaOverridesGetArgs() + { + } + public static new ReplicaReplicaOverridesGetArgs Empty => new ReplicaReplicaOverridesGetArgs(); + } +} diff --git a/sdk/dotnet/Mysql/Outputs/GetReplicaReplicaOverrideResult.cs b/sdk/dotnet/Mysql/Outputs/GetReplicaReplicaOverrideResult.cs new file mode 100644 index 0000000000..7784ee6280 --- /dev/null +++ b/sdk/dotnet/Mysql/Outputs/GetReplicaReplicaOverrideResult.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Mysql.Outputs +{ + + [OutputType] + public sealed class GetReplicaReplicaOverrideResult + { + /// + /// The OCID of the Configuration to be used by the read replica. + /// + public readonly string ConfigurationId; + /// + /// The MySQL version to be used by the read replica. + /// + public readonly string MysqlVersion; + /// + /// The shape currently in use by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. + /// + public readonly string ShapeName; + + [OutputConstructor] + private GetReplicaReplicaOverrideResult( + string configurationId, + + string mysqlVersion, + + string shapeName) + { + ConfigurationId = configurationId; + MysqlVersion = mysqlVersion; + ShapeName = shapeName; + } + } +} diff --git a/sdk/dotnet/Mysql/Outputs/GetReplicasReplicaReplicaOverrideResult.cs b/sdk/dotnet/Mysql/Outputs/GetReplicasReplicaReplicaOverrideResult.cs new file mode 100644 index 0000000000..f261a3a8d6 --- /dev/null +++ b/sdk/dotnet/Mysql/Outputs/GetReplicasReplicaReplicaOverrideResult.cs @@ -0,0 +1,42 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Mysql.Outputs +{ + + [OutputType] + public sealed class GetReplicasReplicaReplicaOverrideResult + { + /// + /// The requested Configuration instance. + /// + public readonly string ConfigurationId; + /// + /// The MySQL version to be used by the read replica. + /// + public readonly string MysqlVersion; + /// + /// The shape currently in use by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. + /// + public readonly string ShapeName; + + [OutputConstructor] + private GetReplicasReplicaReplicaOverrideResult( + string configurationId, + + string mysqlVersion, + + string shapeName) + { + ConfigurationId = configurationId; + MysqlVersion = mysqlVersion; + ShapeName = shapeName; + } + } +} diff --git a/sdk/dotnet/Mysql/Outputs/GetReplicasReplicaResult.cs b/sdk/dotnet/Mysql/Outputs/GetReplicasReplicaResult.cs index 04390c60e7..04b17995c5 100644 --- a/sdk/dotnet/Mysql/Outputs/GetReplicasReplicaResult.cs +++ b/sdk/dotnet/Mysql/Outputs/GetReplicasReplicaResult.cs @@ -22,6 +22,10 @@ public sealed class GetReplicasReplicaResult /// public readonly string CompartmentId; /// + /// The requested Configuration instance. + /// + public readonly string ConfigurationId; + /// /// The DB System [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). /// public readonly string DbSystemId; @@ -62,7 +66,7 @@ public sealed class GetReplicasReplicaResult /// public readonly string LifecycleDetails; /// - /// The MySQL version used by the read replica. + /// The MySQL version to be used by the read replica. /// public readonly string MysqlVersion; /// @@ -74,6 +78,14 @@ public sealed class GetReplicasReplicaResult /// public readonly int PortX; /// + /// By default a read replica inherits the MySQL version, shape, and configuration of the source DB system. If you want to override any of these, provide values in the properties, mysqlVersion, shapeName, and configurationId. If you set a property value to "", then the value is inherited from its source DB system. + /// + public readonly ImmutableArray ReplicaOverrides; + /// + /// The shape currently in use by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. + /// + public readonly string ShapeName; + /// /// The LifecycleState of the read replica. /// public readonly string State; @@ -92,6 +104,8 @@ private GetReplicasReplicaResult( string compartmentId, + string configurationId, + string dbSystemId, ImmutableDictionary definedTags, @@ -118,6 +132,10 @@ private GetReplicasReplicaResult( int portX, + ImmutableArray replicaOverrides, + + string shapeName, + string state, string timeCreated, @@ -126,6 +144,7 @@ private GetReplicasReplicaResult( { AvailabilityDomain = availabilityDomain; CompartmentId = compartmentId; + ConfigurationId = configurationId; DbSystemId = dbSystemId; DefinedTags = definedTags; Description = description; @@ -139,6 +158,8 @@ private GetReplicasReplicaResult( MysqlVersion = mysqlVersion; Port = port; PortX = portX; + ReplicaOverrides = replicaOverrides; + ShapeName = shapeName; State = state; TimeCreated = timeCreated; TimeUpdated = timeUpdated; diff --git a/sdk/dotnet/Mysql/Outputs/ReplicaReplicaOverrides.cs b/sdk/dotnet/Mysql/Outputs/ReplicaReplicaOverrides.cs new file mode 100644 index 0000000000..b1101070b3 --- /dev/null +++ b/sdk/dotnet/Mysql/Outputs/ReplicaReplicaOverrides.cs @@ -0,0 +1,46 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.Oci.Mysql.Outputs +{ + + [OutputType] + public sealed class ReplicaReplicaOverrides + { + /// + /// (Updatable) The OCID of the Configuration to be used by the read replica. + /// + public readonly string? ConfigurationId; + /// + /// (Updatable) The MySQL version to be used by the read replica. + /// + public readonly string? MysqlVersion; + /// + /// (Updatable) The shape to be used by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. + /// + /// + /// ** 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 + /// + public readonly string? ShapeName; + + [OutputConstructor] + private ReplicaReplicaOverrides( + string? configurationId, + + string? mysqlVersion, + + string? shapeName) + { + ConfigurationId = configurationId; + MysqlVersion = mysqlVersion; + ShapeName = shapeName; + } + } +} diff --git a/sdk/dotnet/Mysql/Replica.cs b/sdk/dotnet/Mysql/Replica.cs index 34bc8c7e44..6d1b27d267 100644 --- a/sdk/dotnet/Mysql/Replica.cs +++ b/sdk/dotnet/Mysql/Replica.cs @@ -38,6 +38,12 @@ namespace Pulumi.Oci.Mysql /// { "bar-key", "value" }, /// }, /// IsDeleteProtected = @var.Replica_is_delete_protected, + /// ReplicaOverrides = new Oci.Mysql.Inputs.ReplicaReplicaOverridesArgs + /// { + /// ConfigurationId = oci_mysql_mysql_configuration.Test_mysql_configuration.Id, + /// MysqlVersion = @var.Replica_replica_overrides_mysql_version, + /// ShapeName = oci_mysql_shape.Test_shape.Name, + /// }, /// }); /// /// }); @@ -66,6 +72,12 @@ public partial class Replica : global::Pulumi.CustomResource [Output("compartmentId")] public Output CompartmentId { get; private set; } = null!; + /// + /// (Updatable) The OCID of the Configuration to be used by the read replica. + /// + [Output("configurationId")] + public Output ConfigurationId { get; private set; } = null!; + /// /// The OCID of the DB System the read replica is associated with. /// @@ -109,11 +121,7 @@ public partial class Replica : global::Pulumi.CustomResource public Output IpAddress { get; private set; } = null!; /// - /// (Updatable) Specifies whether the read replica can be deleted. Set to true to prevent deletion, false (default) to allow. Note that if a read replica is delete protected it also prevents the entire DB System from being deleted. If the DB System is delete protected, read replicas can still be deleted individually if they are not delete protected themselves. - /// - /// - /// ** 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 + /// (Updatable) Specifies whether the read replica can be deleted. Set to true to prevent deletion, false (default) to allow. Note that if a read replica is delete protected it also prevents the entire DB System from being deleted. If the DB System is delete protected, read replicas can still be deleted individually if they are not delete protected themselves. /// [Output("isDeleteProtected")] public Output IsDeleteProtected { get; private set; } = null!; @@ -125,7 +133,7 @@ public partial class Replica : global::Pulumi.CustomResource public Output LifecycleDetails { get; private set; } = null!; /// - /// The MySQL version used by the read replica. + /// (Updatable) The MySQL version to be used by the read replica. /// [Output("mysqlVersion")] public Output MysqlVersion { get; private set; } = null!; @@ -142,6 +150,22 @@ public partial class Replica : global::Pulumi.CustomResource [Output("portX")] public Output PortX { get; private set; } = null!; + /// + /// (Updatable) By default a read replica inherits the MySQL version, shape, and configuration of the source DB system. If you want to override any of these, provide values in the properties, mysqlVersion, shapeName, and configurationId. If you set a property value to "", then the value is inherited from its source DB system. + /// + [Output("replicaOverrides")] + public Output ReplicaOverrides { get; private set; } = null!; + + /// + /// (Updatable) The shape to be used by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. + /// + /// + /// ** 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 + /// + [Output("shapeName")] + public Output ShapeName { get; private set; } = null!; + /// /// The state of the read replica. /// @@ -249,15 +273,17 @@ public InputMap FreeformTags } /// - /// (Updatable) Specifies whether the read replica can be deleted. Set to true to prevent deletion, false (default) to allow. Note that if a read replica is delete protected it also prevents the entire DB System from being deleted. If the DB System is delete protected, read replicas can still be deleted individually if they are not delete protected themselves. - /// - /// - /// ** 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 + /// (Updatable) Specifies whether the read replica can be deleted. Set to true to prevent deletion, false (default) to allow. Note that if a read replica is delete protected it also prevents the entire DB System from being deleted. If the DB System is delete protected, read replicas can still be deleted individually if they are not delete protected themselves. /// [Input("isDeleteProtected")] public Input? IsDeleteProtected { get; set; } + /// + /// (Updatable) By default a read replica inherits the MySQL version, shape, and configuration of the source DB system. If you want to override any of these, provide values in the properties, mysqlVersion, shapeName, and configurationId. If you set a property value to "", then the value is inherited from its source DB system. + /// + [Input("replicaOverrides")] + public Input? ReplicaOverrides { get; set; } + public ReplicaArgs() { } @@ -278,6 +304,12 @@ public sealed class ReplicaState : global::Pulumi.ResourceArgs [Input("compartmentId")] public Input? CompartmentId { get; set; } + /// + /// (Updatable) The OCID of the Configuration to be used by the read replica. + /// + [Input("configurationId")] + public Input? ConfigurationId { get; set; } + /// /// The OCID of the DB System the read replica is associated with. /// @@ -333,11 +365,7 @@ public InputMap FreeformTags public Input? IpAddress { get; set; } /// - /// (Updatable) Specifies whether the read replica can be deleted. Set to true to prevent deletion, false (default) to allow. Note that if a read replica is delete protected it also prevents the entire DB System from being deleted. If the DB System is delete protected, read replicas can still be deleted individually if they are not delete protected themselves. - /// - /// - /// ** 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 + /// (Updatable) Specifies whether the read replica can be deleted. Set to true to prevent deletion, false (default) to allow. Note that if a read replica is delete protected it also prevents the entire DB System from being deleted. If the DB System is delete protected, read replicas can still be deleted individually if they are not delete protected themselves. /// [Input("isDeleteProtected")] public Input? IsDeleteProtected { get; set; } @@ -349,7 +377,7 @@ public InputMap FreeformTags public Input? LifecycleDetails { get; set; } /// - /// The MySQL version used by the read replica. + /// (Updatable) The MySQL version to be used by the read replica. /// [Input("mysqlVersion")] public Input? MysqlVersion { get; set; } @@ -366,6 +394,22 @@ public InputMap FreeformTags [Input("portX")] public Input? PortX { get; set; } + /// + /// (Updatable) By default a read replica inherits the MySQL version, shape, and configuration of the source DB system. If you want to override any of these, provide values in the properties, mysqlVersion, shapeName, and configurationId. If you set a property value to "", then the value is inherited from its source DB system. + /// + [Input("replicaOverrides")] + public Input? ReplicaOverrides { get; set; } + + /// + /// (Updatable) The shape to be used by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. + /// + /// + /// ** 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 + /// + [Input("shapeName")] + public Input? ShapeName { get; set; } + /// /// The state of the read replica. /// diff --git a/sdk/dotnet/Ocvp/EsxiHost.cs b/sdk/dotnet/Ocvp/EsxiHost.cs index 4835c3a4fc..a64fa82559 100644 --- a/sdk/dotnet/Ocvp/EsxiHost.cs +++ b/sdk/dotnet/Ocvp/EsxiHost.cs @@ -130,9 +130,6 @@ public partial class EsxiHost : global::Pulumi.CustomResource [Output("isBillingSwappingInProgress")] public Output IsBillingSwappingInProgress { get; private set; } = null!; - /// - /// The billing option to switch to after the current billing cycle ends. If `nextSku` is null or empty, `currentSku` continues to the next billing cycle. [ListSupportedSkus](https://docs.cloud.oracle.com/iaas/api/#/en/vmware/20200501/SupportedSkuSummary/ListSupportedSkus). - /// [Output("nextSku")] public Output NextSku { get; private set; } = null!; @@ -316,9 +313,6 @@ public InputMap FreeformTags [Input("hostShapeName")] public Input? HostShapeName { get; set; } - /// - /// The billing option to switch to after the current billing cycle ends. If `nextSku` is null or empty, `currentSku` continues to the next billing cycle. [ListSupportedSkus](https://docs.cloud.oracle.com/iaas/api/#/en/vmware/20200501/SupportedSkuSummary/ListSupportedSkus). - /// [Input("nextSku")] public Input? NextSku { get; set; } @@ -464,9 +458,6 @@ public InputMap FreeformTags [Input("isBillingSwappingInProgress")] public Input? IsBillingSwappingInProgress { get; set; } - /// - /// The billing option to switch to after the current billing cycle ends. If `nextSku` is null or empty, `currentSku` continues to the next billing cycle. [ListSupportedSkus](https://docs.cloud.oracle.com/iaas/api/#/en/vmware/20200501/SupportedSkuSummary/ListSupportedSkus). - /// [Input("nextSku")] public Input? NextSku { get; set; } diff --git a/sdk/dotnet/Queue/GetQueue.cs b/sdk/dotnet/Queue/GetQueue.cs index 8da87f2f67..61cd4870a2 100644 --- a/sdk/dotnet/Queue/GetQueue.cs +++ b/sdk/dotnet/Queue/GetQueue.cs @@ -14,7 +14,7 @@ public static class GetQueue /// /// This data source provides details about a specific Queue resource in Oracle Cloud Infrastructure Queue service. /// - /// Gets a Queue by identifier + /// Gets a queue by identifier. /// /// {{% examples %}} /// ## Example Usage @@ -44,7 +44,7 @@ public static Task InvokeAsync(GetQueueArgs args, InvokeOptions? /// /// This data source provides details about a specific Queue resource in Oracle Cloud Infrastructure Queue service. /// - /// Gets a Queue by identifier + /// Gets a queue by identifier. /// /// {{% examples %}} /// ## Example Usage @@ -76,7 +76,7 @@ public static Output Invoke(GetQueueInvokeArgs args, InvokeOptio public sealed class GetQueueArgs : global::Pulumi.InvokeArgs { /// - /// unique Queue identifier + /// The unique queue identifier. /// [Input("queueId", required: true)] public string QueueId { get; set; } = null!; @@ -90,7 +90,7 @@ public GetQueueArgs() public sealed class GetQueueInvokeArgs : global::Pulumi.InvokeArgs { /// - /// unique Queue identifier + /// The unique queue identifier. /// [Input("queueId", required: true)] public Input QueueId { get; set; } = null!; @@ -106,11 +106,15 @@ public GetQueueInvokeArgs() public sealed class GetQueueResult { /// - /// Compartment Identifier + /// The percentage of allocated queue resources that can be consumed by a single channel. For example, if a queue has a storage limit of 2Gb, and a single channel consumption limit is 0.1 (10%), that means data size of a single channel can't exceed 200Mb. Consumption limit of 100% (default) means that a single channel can consume up-to all allocated queue's resources. + /// + public readonly int ChannelConsumptionLimit; + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the queue. /// public readonly string CompartmentId; /// - /// Id of the custom master encryption key which will be used to encrypt messages content + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the custom encryption key to be used to encrypt messages content. /// public readonly string CustomEncryptionKeyId; /// @@ -122,7 +126,7 @@ public sealed class GetQueueResult /// public readonly ImmutableDictionary DefinedTags; /// - /// Queue Identifier, can be renamed + /// A user-friendly name for the queue. Does not have to be unique, and it's changeable. Avoid entering confidential information. /// public readonly string DisplayName; /// @@ -130,11 +134,11 @@ public sealed class GetQueueResult /// public readonly ImmutableDictionary FreeformTags; /// - /// Unique identifier that is immutable on creation + /// A unique identifier for the queue that is immutable on creation. /// public readonly string Id; /// - /// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. + /// Any additional details about the current state of the queue. /// public readonly string LifecycleDetails; /// @@ -149,7 +153,7 @@ public sealed class GetQueueResult /// public readonly int RetentionInSeconds; /// - /// The current state of the Queue. + /// The current state of the queue. /// public readonly string State; /// @@ -157,11 +161,11 @@ public sealed class GetQueueResult /// public readonly ImmutableDictionary SystemTags; /// - /// The time the the Queue was created. An RFC3339 formatted datetime string + /// The time that the queue was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` /// public readonly string TimeCreated; /// - /// The time the Queue was updated. An RFC3339 formatted datetime string + /// The time that the queue was updated, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` /// public readonly string TimeUpdated; /// @@ -169,12 +173,14 @@ public sealed class GetQueueResult /// public readonly int TimeoutInSeconds; /// - /// The default visibility of the messages consumed from the queue. + /// The default visibility timeout of the messages consumed from the queue, in seconds. /// public readonly int VisibilityInSeconds; [OutputConstructor] private GetQueueResult( + int channelConsumptionLimit, + string compartmentId, string customEncryptionKeyId, @@ -213,6 +219,7 @@ private GetQueueResult( int visibilityInSeconds) { + ChannelConsumptionLimit = channelConsumptionLimit; CompartmentId = compartmentId; CustomEncryptionKeyId = customEncryptionKeyId; DeadLetterQueueDeliveryCount = deadLetterQueueDeliveryCount; diff --git a/sdk/dotnet/Queue/GetQueues.cs b/sdk/dotnet/Queue/GetQueues.cs index abe41d47a4..4ba564c155 100644 --- a/sdk/dotnet/Queue/GetQueues.cs +++ b/sdk/dotnet/Queue/GetQueues.cs @@ -14,7 +14,7 @@ public static class GetQueues /// /// This data source provides the list of Queues in Oracle Cloud Infrastructure Queue service. /// - /// Returns a list of Queues. + /// Returns a list of queues. /// /// /// {{% examples %}} @@ -48,7 +48,7 @@ public static Task InvokeAsync(GetQueuesArgs? args = null, Invo /// /// This data source provides the list of Queues in Oracle Cloud Infrastructure Queue service. /// - /// Returns a list of Queues. + /// Returns a list of queues. /// /// /// {{% examples %}} @@ -84,7 +84,7 @@ public static Output Invoke(GetQueuesInvokeArgs? args = null, I public sealed class GetQueuesArgs : global::Pulumi.InvokeArgs { /// - /// The ID of the compartment in which to list resources. + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. /// [Input("compartmentId")] public string? CompartmentId { get; set; } @@ -104,7 +104,7 @@ public List Filters } /// - /// unique Queue identifier + /// The unique queue identifier. /// [Input("id")] public string? Id { get; set; } @@ -124,7 +124,7 @@ public GetQueuesArgs() public sealed class GetQueuesInvokeArgs : global::Pulumi.InvokeArgs { /// - /// The ID of the compartment in which to list resources. + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. /// [Input("compartmentId")] public Input? CompartmentId { get; set; } @@ -144,7 +144,7 @@ public InputList Filters } /// - /// unique Queue identifier + /// The unique queue identifier. /// [Input("id")] public Input? Id { get; set; } @@ -166,16 +166,16 @@ public GetQueuesInvokeArgs() public sealed class GetQueuesResult { /// - /// Compartment Identifier + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the queue. /// public readonly string? CompartmentId; /// - /// Queue Identifier, can be renamed + /// A user-friendly name for the queue. Does not have to be unique, and it's changeable. Avoid entering confidential information. /// public readonly string? DisplayName; public readonly ImmutableArray Filters; /// - /// Unique identifier that is immutable on creation + /// A unique identifier for the queue that is immutable on creation. /// public readonly string? Id; /// @@ -183,7 +183,7 @@ public sealed class GetQueuesResult /// public readonly ImmutableArray QueueCollections; /// - /// The current state of the Queue. + /// The current state of the queue. /// public readonly string? State; diff --git a/sdk/dotnet/Queue/Outputs/GetQueuesQueueCollectionItemResult.cs b/sdk/dotnet/Queue/Outputs/GetQueuesQueueCollectionItemResult.cs index 774e310d77..9073dcb432 100644 --- a/sdk/dotnet/Queue/Outputs/GetQueuesQueueCollectionItemResult.cs +++ b/sdk/dotnet/Queue/Outputs/GetQueuesQueueCollectionItemResult.cs @@ -14,11 +14,15 @@ namespace Pulumi.Oci.Queue.Outputs public sealed class GetQueuesQueueCollectionItemResult { /// - /// The ID of the compartment in which to list resources. + /// The percentage of allocated queue resources that can be consumed by a single channel. For example, if a queue has a storage limit of 2Gb, and a single channel consumption limit is 0.1 (10%), that means data size of a single channel can't exceed 200Mb. Consumption limit of 100% (default) means that a single channel can consume up-to all allocated queue's resources. + /// + public readonly int ChannelConsumptionLimit; + /// + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. /// public readonly string CompartmentId; /// - /// Id of the custom master encryption key which will be used to encrypt messages content + /// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the custom encryption key to be used to encrypt messages content. /// public readonly string CustomEncryptionKeyId; /// @@ -38,11 +42,11 @@ public sealed class GetQueuesQueueCollectionItemResult /// public readonly ImmutableDictionary FreeformTags; /// - /// unique Queue identifier + /// The unique queue identifier. /// public readonly string Id; /// - /// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. + /// Any additional details about the current state of the queue. /// public readonly string LifecycleDetails; /// @@ -64,11 +68,11 @@ public sealed class GetQueuesQueueCollectionItemResult /// public readonly ImmutableDictionary SystemTags; /// - /// The time the the Queue was created. An RFC3339 formatted datetime string + /// The time that the queue was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` /// public readonly string TimeCreated; /// - /// The time the Queue was updated. An RFC3339 formatted datetime string + /// The time that the queue was updated, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` /// public readonly string TimeUpdated; /// @@ -76,12 +80,14 @@ public sealed class GetQueuesQueueCollectionItemResult /// public readonly int TimeoutInSeconds; /// - /// The default visibility of the messages consumed from the queue. + /// The default visibility timeout of the messages consumed from the queue, in seconds. /// public readonly int VisibilityInSeconds; [OutputConstructor] private GetQueuesQueueCollectionItemResult( + int channelConsumptionLimit, + string compartmentId, string customEncryptionKeyId, @@ -118,6 +124,7 @@ private GetQueuesQueueCollectionItemResult( int visibilityInSeconds) { + ChannelConsumptionLimit = channelConsumptionLimit; CompartmentId = compartmentId; CustomEncryptionKeyId = customEncryptionKeyId; DeadLetterQueueDeliveryCount = deadLetterQueueDeliveryCount; diff --git a/sdk/dotnet/Queue/Queue.cs b/sdk/dotnet/Queue/Queue.cs index 980d4d0365..fdcaef727c 100644 --- a/sdk/dotnet/Queue/Queue.cs +++ b/sdk/dotnet/Queue/Queue.cs @@ -12,7 +12,7 @@ namespace Pulumi.Oci.Queue /// /// This resource provides the Queue resource in Oracle Cloud Infrastructure Queue service. /// - /// Creates a new Queue. + /// Creates a new queue. /// /// ## Example Usage /// @@ -28,6 +28,7 @@ namespace Pulumi.Oci.Queue /// { /// CompartmentId = @var.Compartment_id, /// DisplayName = @var.Queue_display_name, + /// ChannelConsumptionLimit = @var.Queue_channel_consumption_limit, /// CustomEncryptionKeyId = oci_kms_key.Test_key.Id, /// DeadLetterQueueDeliveryCount = @var.Queue_dead_letter_queue_delivery_count, /// DefinedTags = @@ -58,13 +59,19 @@ namespace Pulumi.Oci.Queue public partial class Queue : global::Pulumi.CustomResource { /// - /// (Updatable) Compartment Identifier + /// (Updatable) The percentage of allocated queue resources that can be consumed by a single channel. For example, if a queue has a storage limit of 2Gb, and a single channel consumption limit is 0.1 (10%), that means data size of a single channel can't exceed 200Mb. Consumption limit of 100% (default) means that a single channel can consume up-to all allocated queue's resources. + /// + [Output("channelConsumptionLimit")] + public Output ChannelConsumptionLimit { get; private set; } = null!; + + /// + /// (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the queue. /// [Output("compartmentId")] public Output CompartmentId { get; private set; } = null!; /// - /// (Updatable) Id of the custom master encryption key which will be used to encrypt messages content + /// (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the custom encryption key to be used to encrypt messages content. /// [Output("customEncryptionKeyId")] public Output CustomEncryptionKeyId { get; private set; } = null!; @@ -82,7 +89,7 @@ public partial class Queue : global::Pulumi.CustomResource public Output> DefinedTags { get; private set; } = null!; /// - /// (Updatable) Queue Identifier + /// (Updatable) The user-friendly name of the queue. /// [Output("displayName")] public Output DisplayName { get; private set; } = null!; @@ -94,7 +101,7 @@ public partial class Queue : global::Pulumi.CustomResource public Output> FreeformTags { get; private set; } = null!; /// - /// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. + /// Any additional details about the current state of the queue. /// [Output("lifecycleDetails")] public Output LifecycleDetails { get; private set; } = null!; @@ -112,13 +119,13 @@ public partial class Queue : global::Pulumi.CustomResource public Output PurgeType { get; private set; } = null!; /// - /// The retention period of the messages in the queue, in seconds. + /// The retention period of messages in the queue, in seconds. /// [Output("retentionInSeconds")] public Output RetentionInSeconds { get; private set; } = null!; /// - /// The current state of the Queue. + /// The current state of the queue. /// [Output("state")] public Output State { get; private set; } = null!; @@ -130,13 +137,13 @@ public partial class Queue : global::Pulumi.CustomResource public Output> SystemTags { get; private set; } = null!; /// - /// The time the the Queue was created. An RFC3339 formatted datetime string + /// The time that the queue was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` /// [Output("timeCreated")] public Output TimeCreated { get; private set; } = null!; /// - /// The time the Queue was updated. An RFC3339 formatted datetime string + /// The time that the queue was updated, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` /// [Output("timeUpdated")] public Output TimeUpdated { get; private set; } = null!; @@ -148,7 +155,7 @@ public partial class Queue : global::Pulumi.CustomResource public Output TimeoutInSeconds { get; private set; } = null!; /// - /// (Updatable) The default visibility of the messages consumed from the queue. + /// (Updatable) The default visibility timeout of the messages consumed from the queue, in seconds. /// [Output("visibilityInSeconds")] public Output VisibilityInSeconds { get; private set; } = null!; @@ -200,13 +207,19 @@ public static Queue Get(string name, Input id, QueueState? state = null, public sealed class QueueArgs : global::Pulumi.ResourceArgs { /// - /// (Updatable) Compartment Identifier + /// (Updatable) The percentage of allocated queue resources that can be consumed by a single channel. For example, if a queue has a storage limit of 2Gb, and a single channel consumption limit is 0.1 (10%), that means data size of a single channel can't exceed 200Mb. Consumption limit of 100% (default) means that a single channel can consume up-to all allocated queue's resources. + /// + [Input("channelConsumptionLimit")] + public Input? ChannelConsumptionLimit { get; set; } + + /// + /// (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the queue. /// [Input("compartmentId", required: true)] public Input CompartmentId { get; set; } = null!; /// - /// (Updatable) Id of the custom master encryption key which will be used to encrypt messages content + /// (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the custom encryption key to be used to encrypt messages content. /// [Input("customEncryptionKeyId")] public Input? CustomEncryptionKeyId { get; set; } @@ -230,7 +243,7 @@ public InputMap DefinedTags } /// - /// (Updatable) Queue Identifier + /// (Updatable) The user-friendly name of the queue. /// [Input("displayName", required: true)] public Input DisplayName { get; set; } = null!; @@ -254,7 +267,7 @@ public InputMap FreeformTags public Input? PurgeType { get; set; } /// - /// The retention period of the messages in the queue, in seconds. + /// The retention period of messages in the queue, in seconds. /// [Input("retentionInSeconds")] public Input? RetentionInSeconds { get; set; } @@ -266,7 +279,7 @@ public InputMap FreeformTags public Input? TimeoutInSeconds { get; set; } /// - /// (Updatable) The default visibility of the messages consumed from the queue. + /// (Updatable) The default visibility timeout of the messages consumed from the queue, in seconds. /// [Input("visibilityInSeconds")] public Input? VisibilityInSeconds { get; set; } @@ -280,13 +293,19 @@ public QueueArgs() public sealed class QueueState : global::Pulumi.ResourceArgs { /// - /// (Updatable) Compartment Identifier + /// (Updatable) The percentage of allocated queue resources that can be consumed by a single channel. For example, if a queue has a storage limit of 2Gb, and a single channel consumption limit is 0.1 (10%), that means data size of a single channel can't exceed 200Mb. Consumption limit of 100% (default) means that a single channel can consume up-to all allocated queue's resources. + /// + [Input("channelConsumptionLimit")] + public Input? ChannelConsumptionLimit { get; set; } + + /// + /// (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the queue. /// [Input("compartmentId")] public Input? CompartmentId { get; set; } /// - /// (Updatable) Id of the custom master encryption key which will be used to encrypt messages content + /// (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the custom encryption key to be used to encrypt messages content. /// [Input("customEncryptionKeyId")] public Input? CustomEncryptionKeyId { get; set; } @@ -310,7 +329,7 @@ public InputMap DefinedTags } /// - /// (Updatable) Queue Identifier + /// (Updatable) The user-friendly name of the queue. /// [Input("displayName")] public Input? DisplayName { get; set; } @@ -328,7 +347,7 @@ public InputMap FreeformTags } /// - /// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. + /// Any additional details about the current state of the queue. /// [Input("lifecycleDetails")] public Input? LifecycleDetails { get; set; } @@ -346,13 +365,13 @@ public InputMap FreeformTags public Input? PurgeType { get; set; } /// - /// The retention period of the messages in the queue, in seconds. + /// The retention period of messages in the queue, in seconds. /// [Input("retentionInSeconds")] public Input? RetentionInSeconds { get; set; } /// - /// The current state of the Queue. + /// The current state of the queue. /// [Input("state")] public Input? State { get; set; } @@ -370,13 +389,13 @@ public InputMap SystemTags } /// - /// The time the the Queue was created. An RFC3339 formatted datetime string + /// The time that the queue was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` /// [Input("timeCreated")] public Input? TimeCreated { get; set; } /// - /// The time the Queue was updated. An RFC3339 formatted datetime string + /// The time that the queue was updated, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` /// [Input("timeUpdated")] public Input? TimeUpdated { get; set; } @@ -388,7 +407,7 @@ public InputMap SystemTags public Input? TimeoutInSeconds { get; set; } /// - /// (Updatable) The default visibility of the messages consumed from the queue. + /// (Updatable) The default visibility timeout of the messages consumed from the queue, in seconds. /// [Input("visibilityInSeconds")] public Input? VisibilityInSeconds { get; set; } diff --git a/sdk/go.mod b/sdk/go.mod index fbdd4e14c9..21eba4d427 100644 --- a/sdk/go.mod +++ b/sdk/go.mod @@ -4,7 +4,7 @@ go 1.21 require ( github.com/blang/semver v3.5.1+incompatible - github.com/pulumi/pulumi/sdk/v3 v3.81.0 + github.com/pulumi/pulumi/sdk/v3 v3.86.0 ) require ( diff --git a/sdk/go.sum b/sdk/go.sum index 47f9275736..0559cbd408 100644 --- a/sdk/go.sum +++ b/sdk/go.sum @@ -143,8 +143,8 @@ github.com/pkg/term v1.1.0 h1:xIAAdCMh3QIAy+5FrE8Ad8XoDhEU4ufwbaSozViP9kk= github.com/pkg/term v1.1.0/go.mod h1:E25nymQcrSllhX42Ok8MRm1+hyBdHY0dCeiKZ9jpNGw= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/pulumi/pulumi/sdk/v3 v3.81.0 h1:d711GUpjZK1beNpIKFReC1LBmHXYE684sYWntJWQ4Q0= -github.com/pulumi/pulumi/sdk/v3 v3.81.0/go.mod h1:RMilNNVMlmK1h4Nl/qylb9vzbgh4F3mufZoUOnPy98o= +github.com/pulumi/pulumi/sdk/v3 v3.86.0 h1:Cxg0rGdvMt9GqGvesFTj8+WaO/ihmALYlQf4zm1GzFw= +github.com/pulumi/pulumi/sdk/v3 v3.86.0/go.mod h1:vexSGJ5L834l3T7Fo/KpdywjGAgZ2CvChuqGFl+ebS0= github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.4.4 h1:8TfxU8dW6PdqD27gjM8MVNuicgxIjxpm4K7x4jp8sis= diff --git a/sdk/go/oci/aidocument/model.go b/sdk/go/oci/aidocument/model.go index 6ca4e5e8f4..7948133dc1 100644 --- a/sdk/go/oci/aidocument/model.go +++ b/sdk/go/oci/aidocument/model.go @@ -55,7 +55,6 @@ type Model struct { MaxTrainingTimeInHours pulumi.Float64Output `pulumi:"maxTrainingTimeInHours"` // Trained Model Metrics. Metrics ModelMetricArrayOutput `pulumi:"metrics"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of active custom Key Value model that need to be composed. ModelId pulumi.StringPtrOutput `pulumi:"modelId"` // The type of the Document model. ModelType pulumi.StringOutput `pulumi:"modelType"` @@ -146,8 +145,7 @@ type modelState struct { MaxTrainingTimeInHours *float64 `pulumi:"maxTrainingTimeInHours"` // Trained Model Metrics. Metrics []ModelMetric `pulumi:"metrics"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of active custom Key Value model that need to be composed. - ModelId *string `pulumi:"modelId"` + ModelId *string `pulumi:"modelId"` // The type of the Document model. ModelType *string `pulumi:"modelType"` // The model version @@ -199,7 +197,6 @@ type ModelState struct { MaxTrainingTimeInHours pulumi.Float64PtrInput // Trained Model Metrics. Metrics ModelMetricArrayInput - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of active custom Key Value model that need to be composed. ModelId pulumi.StringPtrInput // The type of the Document model. ModelType pulumi.StringPtrInput @@ -248,8 +245,7 @@ type modelArgs struct { IsQuickMode *bool `pulumi:"isQuickMode"` // The maximum model training time in hours, expressed as a decimal fraction. MaxTrainingTimeInHours *float64 `pulumi:"maxTrainingTimeInHours"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of active custom Key Value model that need to be composed. - ModelId *string `pulumi:"modelId"` + ModelId *string `pulumi:"modelId"` // The type of the Document model. ModelType string `pulumi:"modelType"` // The model version @@ -282,8 +278,7 @@ type ModelArgs struct { IsQuickMode pulumi.BoolPtrInput // The maximum model training time in hours, expressed as a decimal fraction. MaxTrainingTimeInHours pulumi.Float64PtrInput - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of active custom Key Value model that need to be composed. - ModelId pulumi.StringPtrInput + ModelId pulumi.StringPtrInput // The type of the Document model. ModelType pulumi.StringInput // The model version @@ -469,7 +464,6 @@ func (o ModelOutput) Metrics() ModelMetricArrayOutput { return o.ApplyT(func(v *Model) ModelMetricArrayOutput { return v.Metrics }).(ModelMetricArrayOutput) } -// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of active custom Key Value model that need to be composed. func (o ModelOutput) ModelId() pulumi.StringPtrOutput { return o.ApplyT(func(v *Model) pulumi.StringPtrOutput { return v.ModelId }).(pulumi.StringPtrOutput) } diff --git a/sdk/go/oci/aidocument/pulumiTypes.go b/sdk/go/oci/aidocument/pulumiTypes.go index aadbada09e..b920499fb6 100644 --- a/sdk/go/oci/aidocument/pulumiTypes.go +++ b/sdk/go/oci/aidocument/pulumiTypes.go @@ -15,7 +15,6 @@ import ( var _ = internal.GetEnvOrDefault type ModelComponentModel struct { - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of active custom Key Value model that need to be composed. ModelId *string `pulumi:"modelId"` } @@ -31,7 +30,6 @@ type ModelComponentModelInput interface { } type ModelComponentModelArgs struct { - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of active custom Key Value model that need to be composed. ModelId pulumi.StringPtrInput `pulumi:"modelId"` } @@ -104,7 +102,6 @@ func (o ModelComponentModelOutput) ToOutput(ctx context.Context) pulumix.Output[ } } -// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of active custom Key Value model that need to be composed. func (o ModelComponentModelOutput) ModelId() pulumi.StringPtrOutput { return o.ApplyT(func(v ModelComponentModel) *string { return v.ModelId }).(pulumi.StringPtrOutput) } diff --git a/sdk/go/oci/autoscaling/autoScalingConfiguration.go b/sdk/go/oci/autoscaling/autoScalingConfiguration.go index bb48501790..884166c123 100644 --- a/sdk/go/oci/autoscaling/autoScalingConfiguration.go +++ b/sdk/go/oci/autoscaling/autoScalingConfiguration.go @@ -116,8 +116,7 @@ type AutoScalingConfiguration struct { // For schedule-based autoscaling policies, this value is not used. CoolDownInSeconds pulumi.IntOutput `pulumi:"coolDownInSeconds"` // (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` - DefinedTags pulumi.MapOutput `pulumi:"definedTags"` - // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. + DefinedTags pulumi.MapOutput `pulumi:"definedTags"` DisplayName pulumi.StringOutput `pulumi:"displayName"` // (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` FreeformTags pulumi.MapOutput `pulumi:"freeformTags"` @@ -184,8 +183,7 @@ type autoScalingConfigurationState struct { CoolDownInSeconds *int `pulumi:"coolDownInSeconds"` // (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` DefinedTags map[string]interface{} `pulumi:"definedTags"` - // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. - DisplayName *string `pulumi:"displayName"` + DisplayName *string `pulumi:"displayName"` // (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` FreeformTags map[string]interface{} `pulumi:"freeformTags"` // Whether the autoscaling policy is enabled. @@ -213,7 +211,6 @@ type AutoScalingConfigurationState struct { CoolDownInSeconds pulumi.IntPtrInput // (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` DefinedTags pulumi.MapInput - // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. DisplayName pulumi.StringPtrInput // (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` FreeformTags pulumi.MapInput @@ -246,8 +243,7 @@ type autoScalingConfigurationArgs struct { CoolDownInSeconds *int `pulumi:"coolDownInSeconds"` // (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` DefinedTags map[string]interface{} `pulumi:"definedTags"` - // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. - DisplayName *string `pulumi:"displayName"` + DisplayName *string `pulumi:"displayName"` // (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` FreeformTags map[string]interface{} `pulumi:"freeformTags"` // Whether the autoscaling policy is enabled. @@ -270,7 +266,6 @@ type AutoScalingConfigurationArgs struct { CoolDownInSeconds pulumi.IntPtrInput // (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` DefinedTags pulumi.MapInput - // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. DisplayName pulumi.StringPtrInput // (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` FreeformTags pulumi.MapInput @@ -417,7 +412,6 @@ func (o AutoScalingConfigurationOutput) DefinedTags() pulumi.MapOutput { return o.ApplyT(func(v *AutoScalingConfiguration) pulumi.MapOutput { return v.DefinedTags }).(pulumi.MapOutput) } -// A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. func (o AutoScalingConfigurationOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v *AutoScalingConfiguration) pulumi.StringOutput { return v.DisplayName }).(pulumi.StringOutput) } diff --git a/sdk/go/oci/autoscaling/pulumiTypes.go b/sdk/go/oci/autoscaling/pulumiTypes.go index 0eb0ef2d57..5bf61b49c2 100644 --- a/sdk/go/oci/autoscaling/pulumiTypes.go +++ b/sdk/go/oci/autoscaling/pulumiTypes.go @@ -196,9 +196,8 @@ func (o AutoScalingConfigurationAutoScalingResourcesPtrOutput) Type() pulumi.Str type AutoScalingConfigurationPolicy struct { // The capacity requirements of the autoscaling policy. - Capacity *AutoScalingConfigurationPolicyCapacity `pulumi:"capacity"` - // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. - DisplayName *string `pulumi:"displayName"` + Capacity *AutoScalingConfigurationPolicyCapacity `pulumi:"capacity"` + DisplayName *string `pulumi:"displayName"` // An execution schedule for an autoscaling policy. ExecutionSchedule *AutoScalingConfigurationPolicyExecutionSchedule `pulumi:"executionSchedule"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource that is managed by the autoscaling configuration. @@ -227,9 +226,8 @@ type AutoScalingConfigurationPolicyInput interface { type AutoScalingConfigurationPolicyArgs struct { // The capacity requirements of the autoscaling policy. - Capacity AutoScalingConfigurationPolicyCapacityPtrInput `pulumi:"capacity"` - // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. - DisplayName pulumi.StringPtrInput `pulumi:"displayName"` + Capacity AutoScalingConfigurationPolicyCapacityPtrInput `pulumi:"capacity"` + DisplayName pulumi.StringPtrInput `pulumi:"displayName"` // An execution schedule for an autoscaling policy. ExecutionSchedule AutoScalingConfigurationPolicyExecutionSchedulePtrInput `pulumi:"executionSchedule"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource that is managed by the autoscaling configuration. @@ -319,7 +317,6 @@ func (o AutoScalingConfigurationPolicyOutput) Capacity() AutoScalingConfiguratio return o.ApplyT(func(v AutoScalingConfigurationPolicy) *AutoScalingConfigurationPolicyCapacity { return v.Capacity }).(AutoScalingConfigurationPolicyCapacityPtrOutput) } -// A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. func (o AutoScalingConfigurationPolicyOutput) DisplayName() pulumi.StringPtrOutput { return o.ApplyT(func(v AutoScalingConfigurationPolicy) *string { return v.DisplayName }).(pulumi.StringPtrOutput) } @@ -1024,9 +1021,8 @@ func (o AutoScalingConfigurationPolicyResourceActionPtrOutput) ActionType() pulu type AutoScalingConfigurationPolicyRule struct { // The action to take when autoscaling is triggered. - Action *AutoScalingConfigurationPolicyRuleAction `pulumi:"action"` - // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. - DisplayName string `pulumi:"displayName"` + Action *AutoScalingConfigurationPolicyRuleAction `pulumi:"action"` + DisplayName string `pulumi:"displayName"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource that is managed by the autoscaling configuration. Id *string `pulumi:"id"` // Metric and threshold details for triggering an autoscaling action. @@ -1046,9 +1042,8 @@ type AutoScalingConfigurationPolicyRuleInput interface { type AutoScalingConfigurationPolicyRuleArgs struct { // The action to take when autoscaling is triggered. - Action AutoScalingConfigurationPolicyRuleActionPtrInput `pulumi:"action"` - // A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. - DisplayName pulumi.StringInput `pulumi:"displayName"` + Action AutoScalingConfigurationPolicyRuleActionPtrInput `pulumi:"action"` + DisplayName pulumi.StringInput `pulumi:"displayName"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource that is managed by the autoscaling configuration. Id pulumi.StringPtrInput `pulumi:"id"` // Metric and threshold details for triggering an autoscaling action. @@ -1129,7 +1124,6 @@ func (o AutoScalingConfigurationPolicyRuleOutput) Action() AutoScalingConfigurat return o.ApplyT(func(v AutoScalingConfigurationPolicyRule) *AutoScalingConfigurationPolicyRuleAction { return v.Action }).(AutoScalingConfigurationPolicyRuleActionPtrOutput) } -// A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. func (o AutoScalingConfigurationPolicyRuleOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v AutoScalingConfigurationPolicyRule) string { return v.DisplayName }).(pulumi.StringOutput) } diff --git a/sdk/go/oci/computecloud/atCustomerCccInfrastructure.go b/sdk/go/oci/computecloud/atCustomerCccInfrastructure.go new file mode 100644 index 0000000000..8b8f2169f9 --- /dev/null +++ b/sdk/go/oci/computecloud/atCustomerCccInfrastructure.go @@ -0,0 +1,578 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package computecloud + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-oci/sdk/go/oci/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" +) + +// This resource provides the Ccc Infrastructure resource in Oracle Cloud Infrastructure Compute Cloud At Customer service. +// +// Creates a Compute Cloud@Customer infrastructure. Once created, Oracle Services +// must connect the rack in the data center to this Oracle Cloud Infrastructure resource. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/go/oci/ComputeCloud" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := ComputeCloud.NewAtCustomerCccInfrastructure(ctx, "testCccInfrastructure", &ComputeCloud.AtCustomerCccInfrastructureArgs{ +// CompartmentId: pulumi.Any(_var.Compartment_id), +// DisplayName: pulumi.Any(_var.Ccc_infrastructure_display_name), +// SubnetId: pulumi.Any(oci_core_subnet.Test_subnet.Id), +// CccUpgradeScheduleId: pulumi.Any(oci_compute_cloud_at_customer_ccc_upgrade_schedule.Test_ccc_upgrade_schedule.Id), +// ConnectionDetails: pulumi.Any(_var.Ccc_infrastructure_connection_details), +// ConnectionState: pulumi.Any(_var.Ccc_infrastructure_connection_state), +// DefinedTags: pulumi.AnyMap{ +// "foo-namespace.bar-key": pulumi.Any("value"), +// }, +// Description: pulumi.Any(_var.Ccc_infrastructure_description), +// FreeformTags: pulumi.AnyMap{ +// "bar-key": pulumi.Any("value"), +// }, +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// +// ## Import +// +// CccInfrastructures can be imported using the `id`, e.g. +// +// ```sh +// +// $ pulumi import oci:ComputeCloud/atCustomerCccInfrastructure:AtCustomerCccInfrastructure test_ccc_infrastructure "id" +// +// ``` +type AtCustomerCccInfrastructure struct { + pulumi.CustomResourceState + + // (Updatable) Schedule used for upgrades. If no schedule is associated with the infrastructure, it can be upgraded at any time. + CccUpgradeScheduleId pulumi.StringOutput `pulumi:"cccUpgradeScheduleId"` + // (Updatable) The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with the infrastructure. + CompartmentId pulumi.StringOutput `pulumi:"compartmentId"` + // (Updatable) A message describing the current connection state in more detail. + ConnectionDetails pulumi.StringOutput `pulumi:"connectionDetails"` + // (Updatable) The current connection state of the Compute Cloud@Customer infrastructure. This value will default to REJECT if the value is not provided. The only valid value at creation time is REJECT. + ConnectionState pulumi.StringOutput `pulumi:"connectionState"` + // (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + DefinedTags pulumi.MapOutput `pulumi:"definedTags"` + // (Updatable) A mutable client-meaningful text description of the Compute Cloud@Customer infrastructure. Avoid entering confidential information. + Description pulumi.StringOutput `pulumi:"description"` + // (Updatable) The name that will be used to display the Compute Cloud@Customer infrastructure in the Oracle Cloud Infrastructure console. Does not have to be unique and can be changed. Avoid entering confidential information. + DisplayName pulumi.StringOutput `pulumi:"displayName"` + // (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + FreeformTags pulumi.MapOutput `pulumi:"freeformTags"` + // Inventory for a Compute Cloud@Customer infrastructure. This information cannot be updated and is from the infrastructure. The information will only be available after the connectionState is transitioned to CONNECTED. + InfrastructureInventories AtCustomerCccInfrastructureInfrastructureInventoryArrayOutput `pulumi:"infrastructureInventories"` + // Configuration information for the Compute Cloud@Customer infrastructure. This network configuration information cannot be updated and is retrieved from the data center. The information will only be available after the connectionState is transitioned to CONNECTED. + InfrastructureNetworkConfigurations AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArrayOutput `pulumi:"infrastructureNetworkConfigurations"` + // A message describing the current lifecycle state in more detail. For example, this can be used to provide actionable information for a resource that is in a Failed state. + LifecycleDetails pulumi.StringOutput `pulumi:"lifecycleDetails"` + // Fingerprint of a Compute Cloud@Customer infrastructure in a data center generated during the initial connection to this resource. The fingerprint should be verified by the administrator when changing the connectionState from REQUEST to READY. + ProvisioningFingerprint pulumi.StringOutput `pulumi:"provisioningFingerprint"` + // Code that is required for service personnel to connect a Compute Cloud@Customer infrastructure in a data center to this resource. This code will only be available when the connectionState is REJECT (usually at create time of the Compute Cloud@Customer infrastructure). + ProvisioningPin pulumi.StringOutput `pulumi:"provisioningPin"` + // The Compute Cloud@Customer infrastructure short name. This cannot be changed once created. The short name is used to refer to the infrastructure in several contexts and is unique. + ShortName pulumi.StringOutput `pulumi:"shortName"` + // The current state of the Compute Cloud@Customer infrastructure. + State pulumi.StringOutput `pulumi:"state"` + // (Updatable) Identifier for network subnet that will be used to communicate with Compute Cloud@Customer infrastructure. + // + // ** 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 + SubnetId pulumi.StringOutput `pulumi:"subnetId"` + // System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + SystemTags pulumi.MapOutput `pulumi:"systemTags"` + // Compute Cloud@Customer infrastructure creation date and time, using an RFC3339 formatted datetime string. + TimeCreated pulumi.StringOutput `pulumi:"timeCreated"` + // Compute Cloud@Customer infrastructure updated date and time, using an RFC3339 formatted datetime string. + TimeUpdated pulumi.StringOutput `pulumi:"timeUpdated"` + // Upgrade information that relates to a Compute Cloud@Customer infrastructure. This information cannot be updated. + UpgradeInformations AtCustomerCccInfrastructureUpgradeInformationArrayOutput `pulumi:"upgradeInformations"` +} + +// NewAtCustomerCccInfrastructure registers a new resource with the given unique name, arguments, and options. +func NewAtCustomerCccInfrastructure(ctx *pulumi.Context, + name string, args *AtCustomerCccInfrastructureArgs, opts ...pulumi.ResourceOption) (*AtCustomerCccInfrastructure, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.CompartmentId == nil { + return nil, errors.New("invalid value for required argument 'CompartmentId'") + } + if args.DisplayName == nil { + return nil, errors.New("invalid value for required argument 'DisplayName'") + } + if args.SubnetId == nil { + return nil, errors.New("invalid value for required argument 'SubnetId'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource AtCustomerCccInfrastructure + err := ctx.RegisterResource("oci:ComputeCloud/atCustomerCccInfrastructure:AtCustomerCccInfrastructure", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetAtCustomerCccInfrastructure gets an existing AtCustomerCccInfrastructure resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetAtCustomerCccInfrastructure(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *AtCustomerCccInfrastructureState, opts ...pulumi.ResourceOption) (*AtCustomerCccInfrastructure, error) { + var resource AtCustomerCccInfrastructure + err := ctx.ReadResource("oci:ComputeCloud/atCustomerCccInfrastructure:AtCustomerCccInfrastructure", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering AtCustomerCccInfrastructure resources. +type atCustomerCccInfrastructureState struct { + // (Updatable) Schedule used for upgrades. If no schedule is associated with the infrastructure, it can be upgraded at any time. + CccUpgradeScheduleId *string `pulumi:"cccUpgradeScheduleId"` + // (Updatable) The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with the infrastructure. + CompartmentId *string `pulumi:"compartmentId"` + // (Updatable) A message describing the current connection state in more detail. + ConnectionDetails *string `pulumi:"connectionDetails"` + // (Updatable) The current connection state of the Compute Cloud@Customer infrastructure. This value will default to REJECT if the value is not provided. The only valid value at creation time is REJECT. + ConnectionState *string `pulumi:"connectionState"` + // (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + DefinedTags map[string]interface{} `pulumi:"definedTags"` + // (Updatable) A mutable client-meaningful text description of the Compute Cloud@Customer infrastructure. Avoid entering confidential information. + Description *string `pulumi:"description"` + // (Updatable) The name that will be used to display the Compute Cloud@Customer infrastructure in the Oracle Cloud Infrastructure console. Does not have to be unique and can be changed. Avoid entering confidential information. + DisplayName *string `pulumi:"displayName"` + // (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + FreeformTags map[string]interface{} `pulumi:"freeformTags"` + // Inventory for a Compute Cloud@Customer infrastructure. This information cannot be updated and is from the infrastructure. The information will only be available after the connectionState is transitioned to CONNECTED. + InfrastructureInventories []AtCustomerCccInfrastructureInfrastructureInventory `pulumi:"infrastructureInventories"` + // Configuration information for the Compute Cloud@Customer infrastructure. This network configuration information cannot be updated and is retrieved from the data center. The information will only be available after the connectionState is transitioned to CONNECTED. + InfrastructureNetworkConfigurations []AtCustomerCccInfrastructureInfrastructureNetworkConfiguration `pulumi:"infrastructureNetworkConfigurations"` + // A message describing the current lifecycle state in more detail. For example, this can be used to provide actionable information for a resource that is in a Failed state. + LifecycleDetails *string `pulumi:"lifecycleDetails"` + // Fingerprint of a Compute Cloud@Customer infrastructure in a data center generated during the initial connection to this resource. The fingerprint should be verified by the administrator when changing the connectionState from REQUEST to READY. + ProvisioningFingerprint *string `pulumi:"provisioningFingerprint"` + // Code that is required for service personnel to connect a Compute Cloud@Customer infrastructure in a data center to this resource. This code will only be available when the connectionState is REJECT (usually at create time of the Compute Cloud@Customer infrastructure). + ProvisioningPin *string `pulumi:"provisioningPin"` + // The Compute Cloud@Customer infrastructure short name. This cannot be changed once created. The short name is used to refer to the infrastructure in several contexts and is unique. + ShortName *string `pulumi:"shortName"` + // The current state of the Compute Cloud@Customer infrastructure. + State *string `pulumi:"state"` + // (Updatable) Identifier for network subnet that will be used to communicate with Compute Cloud@Customer infrastructure. + // + // ** 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 + SubnetId *string `pulumi:"subnetId"` + // System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + SystemTags map[string]interface{} `pulumi:"systemTags"` + // Compute Cloud@Customer infrastructure creation date and time, using an RFC3339 formatted datetime string. + TimeCreated *string `pulumi:"timeCreated"` + // Compute Cloud@Customer infrastructure updated date and time, using an RFC3339 formatted datetime string. + TimeUpdated *string `pulumi:"timeUpdated"` + // Upgrade information that relates to a Compute Cloud@Customer infrastructure. This information cannot be updated. + UpgradeInformations []AtCustomerCccInfrastructureUpgradeInformation `pulumi:"upgradeInformations"` +} + +type AtCustomerCccInfrastructureState struct { + // (Updatable) Schedule used for upgrades. If no schedule is associated with the infrastructure, it can be upgraded at any time. + CccUpgradeScheduleId pulumi.StringPtrInput + // (Updatable) The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with the infrastructure. + CompartmentId pulumi.StringPtrInput + // (Updatable) A message describing the current connection state in more detail. + ConnectionDetails pulumi.StringPtrInput + // (Updatable) The current connection state of the Compute Cloud@Customer infrastructure. This value will default to REJECT if the value is not provided. The only valid value at creation time is REJECT. + ConnectionState pulumi.StringPtrInput + // (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + DefinedTags pulumi.MapInput + // (Updatable) A mutable client-meaningful text description of the Compute Cloud@Customer infrastructure. Avoid entering confidential information. + Description pulumi.StringPtrInput + // (Updatable) The name that will be used to display the Compute Cloud@Customer infrastructure in the Oracle Cloud Infrastructure console. Does not have to be unique and can be changed. Avoid entering confidential information. + DisplayName pulumi.StringPtrInput + // (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + FreeformTags pulumi.MapInput + // Inventory for a Compute Cloud@Customer infrastructure. This information cannot be updated and is from the infrastructure. The information will only be available after the connectionState is transitioned to CONNECTED. + InfrastructureInventories AtCustomerCccInfrastructureInfrastructureInventoryArrayInput + // Configuration information for the Compute Cloud@Customer infrastructure. This network configuration information cannot be updated and is retrieved from the data center. The information will only be available after the connectionState is transitioned to CONNECTED. + InfrastructureNetworkConfigurations AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArrayInput + // A message describing the current lifecycle state in more detail. For example, this can be used to provide actionable information for a resource that is in a Failed state. + LifecycleDetails pulumi.StringPtrInput + // Fingerprint of a Compute Cloud@Customer infrastructure in a data center generated during the initial connection to this resource. The fingerprint should be verified by the administrator when changing the connectionState from REQUEST to READY. + ProvisioningFingerprint pulumi.StringPtrInput + // Code that is required for service personnel to connect a Compute Cloud@Customer infrastructure in a data center to this resource. This code will only be available when the connectionState is REJECT (usually at create time of the Compute Cloud@Customer infrastructure). + ProvisioningPin pulumi.StringPtrInput + // The Compute Cloud@Customer infrastructure short name. This cannot be changed once created. The short name is used to refer to the infrastructure in several contexts and is unique. + ShortName pulumi.StringPtrInput + // The current state of the Compute Cloud@Customer infrastructure. + State pulumi.StringPtrInput + // (Updatable) Identifier for network subnet that will be used to communicate with Compute Cloud@Customer infrastructure. + // + // ** 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 + SubnetId pulumi.StringPtrInput + // System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + SystemTags pulumi.MapInput + // Compute Cloud@Customer infrastructure creation date and time, using an RFC3339 formatted datetime string. + TimeCreated pulumi.StringPtrInput + // Compute Cloud@Customer infrastructure updated date and time, using an RFC3339 formatted datetime string. + TimeUpdated pulumi.StringPtrInput + // Upgrade information that relates to a Compute Cloud@Customer infrastructure. This information cannot be updated. + UpgradeInformations AtCustomerCccInfrastructureUpgradeInformationArrayInput +} + +func (AtCustomerCccInfrastructureState) ElementType() reflect.Type { + return reflect.TypeOf((*atCustomerCccInfrastructureState)(nil)).Elem() +} + +type atCustomerCccInfrastructureArgs struct { + // (Updatable) Schedule used for upgrades. If no schedule is associated with the infrastructure, it can be upgraded at any time. + CccUpgradeScheduleId *string `pulumi:"cccUpgradeScheduleId"` + // (Updatable) The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with the infrastructure. + CompartmentId string `pulumi:"compartmentId"` + // (Updatable) A message describing the current connection state in more detail. + ConnectionDetails *string `pulumi:"connectionDetails"` + // (Updatable) The current connection state of the Compute Cloud@Customer infrastructure. This value will default to REJECT if the value is not provided. The only valid value at creation time is REJECT. + ConnectionState *string `pulumi:"connectionState"` + // (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + DefinedTags map[string]interface{} `pulumi:"definedTags"` + // (Updatable) A mutable client-meaningful text description of the Compute Cloud@Customer infrastructure. Avoid entering confidential information. + Description *string `pulumi:"description"` + // (Updatable) The name that will be used to display the Compute Cloud@Customer infrastructure in the Oracle Cloud Infrastructure console. Does not have to be unique and can be changed. Avoid entering confidential information. + DisplayName string `pulumi:"displayName"` + // (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + FreeformTags map[string]interface{} `pulumi:"freeformTags"` + // (Updatable) Identifier for network subnet that will be used to communicate with Compute Cloud@Customer infrastructure. + // + // ** 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 + SubnetId string `pulumi:"subnetId"` +} + +// The set of arguments for constructing a AtCustomerCccInfrastructure resource. +type AtCustomerCccInfrastructureArgs struct { + // (Updatable) Schedule used for upgrades. If no schedule is associated with the infrastructure, it can be upgraded at any time. + CccUpgradeScheduleId pulumi.StringPtrInput + // (Updatable) The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with the infrastructure. + CompartmentId pulumi.StringInput + // (Updatable) A message describing the current connection state in more detail. + ConnectionDetails pulumi.StringPtrInput + // (Updatable) The current connection state of the Compute Cloud@Customer infrastructure. This value will default to REJECT if the value is not provided. The only valid value at creation time is REJECT. + ConnectionState pulumi.StringPtrInput + // (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + DefinedTags pulumi.MapInput + // (Updatable) A mutable client-meaningful text description of the Compute Cloud@Customer infrastructure. Avoid entering confidential information. + Description pulumi.StringPtrInput + // (Updatable) The name that will be used to display the Compute Cloud@Customer infrastructure in the Oracle Cloud Infrastructure console. Does not have to be unique and can be changed. Avoid entering confidential information. + DisplayName pulumi.StringInput + // (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + FreeformTags pulumi.MapInput + // (Updatable) Identifier for network subnet that will be used to communicate with Compute Cloud@Customer infrastructure. + // + // ** 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 + SubnetId pulumi.StringInput +} + +func (AtCustomerCccInfrastructureArgs) ElementType() reflect.Type { + return reflect.TypeOf((*atCustomerCccInfrastructureArgs)(nil)).Elem() +} + +type AtCustomerCccInfrastructureInput interface { + pulumi.Input + + ToAtCustomerCccInfrastructureOutput() AtCustomerCccInfrastructureOutput + ToAtCustomerCccInfrastructureOutputWithContext(ctx context.Context) AtCustomerCccInfrastructureOutput +} + +func (*AtCustomerCccInfrastructure) ElementType() reflect.Type { + return reflect.TypeOf((**AtCustomerCccInfrastructure)(nil)).Elem() +} + +func (i *AtCustomerCccInfrastructure) ToAtCustomerCccInfrastructureOutput() AtCustomerCccInfrastructureOutput { + return i.ToAtCustomerCccInfrastructureOutputWithContext(context.Background()) +} + +func (i *AtCustomerCccInfrastructure) ToAtCustomerCccInfrastructureOutputWithContext(ctx context.Context) AtCustomerCccInfrastructureOutput { + return pulumi.ToOutputWithContext(ctx, i).(AtCustomerCccInfrastructureOutput) +} + +func (i *AtCustomerCccInfrastructure) ToOutput(ctx context.Context) pulumix.Output[*AtCustomerCccInfrastructure] { + return pulumix.Output[*AtCustomerCccInfrastructure]{ + OutputState: i.ToAtCustomerCccInfrastructureOutputWithContext(ctx).OutputState, + } +} + +// AtCustomerCccInfrastructureArrayInput is an input type that accepts AtCustomerCccInfrastructureArray and AtCustomerCccInfrastructureArrayOutput values. +// You can construct a concrete instance of `AtCustomerCccInfrastructureArrayInput` via: +// +// AtCustomerCccInfrastructureArray{ AtCustomerCccInfrastructureArgs{...} } +type AtCustomerCccInfrastructureArrayInput interface { + pulumi.Input + + ToAtCustomerCccInfrastructureArrayOutput() AtCustomerCccInfrastructureArrayOutput + ToAtCustomerCccInfrastructureArrayOutputWithContext(context.Context) AtCustomerCccInfrastructureArrayOutput +} + +type AtCustomerCccInfrastructureArray []AtCustomerCccInfrastructureInput + +func (AtCustomerCccInfrastructureArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*AtCustomerCccInfrastructure)(nil)).Elem() +} + +func (i AtCustomerCccInfrastructureArray) ToAtCustomerCccInfrastructureArrayOutput() AtCustomerCccInfrastructureArrayOutput { + return i.ToAtCustomerCccInfrastructureArrayOutputWithContext(context.Background()) +} + +func (i AtCustomerCccInfrastructureArray) ToAtCustomerCccInfrastructureArrayOutputWithContext(ctx context.Context) AtCustomerCccInfrastructureArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(AtCustomerCccInfrastructureArrayOutput) +} + +func (i AtCustomerCccInfrastructureArray) ToOutput(ctx context.Context) pulumix.Output[[]*AtCustomerCccInfrastructure] { + return pulumix.Output[[]*AtCustomerCccInfrastructure]{ + OutputState: i.ToAtCustomerCccInfrastructureArrayOutputWithContext(ctx).OutputState, + } +} + +// AtCustomerCccInfrastructureMapInput is an input type that accepts AtCustomerCccInfrastructureMap and AtCustomerCccInfrastructureMapOutput values. +// You can construct a concrete instance of `AtCustomerCccInfrastructureMapInput` via: +// +// AtCustomerCccInfrastructureMap{ "key": AtCustomerCccInfrastructureArgs{...} } +type AtCustomerCccInfrastructureMapInput interface { + pulumi.Input + + ToAtCustomerCccInfrastructureMapOutput() AtCustomerCccInfrastructureMapOutput + ToAtCustomerCccInfrastructureMapOutputWithContext(context.Context) AtCustomerCccInfrastructureMapOutput +} + +type AtCustomerCccInfrastructureMap map[string]AtCustomerCccInfrastructureInput + +func (AtCustomerCccInfrastructureMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*AtCustomerCccInfrastructure)(nil)).Elem() +} + +func (i AtCustomerCccInfrastructureMap) ToAtCustomerCccInfrastructureMapOutput() AtCustomerCccInfrastructureMapOutput { + return i.ToAtCustomerCccInfrastructureMapOutputWithContext(context.Background()) +} + +func (i AtCustomerCccInfrastructureMap) ToAtCustomerCccInfrastructureMapOutputWithContext(ctx context.Context) AtCustomerCccInfrastructureMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(AtCustomerCccInfrastructureMapOutput) +} + +func (i AtCustomerCccInfrastructureMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*AtCustomerCccInfrastructure] { + return pulumix.Output[map[string]*AtCustomerCccInfrastructure]{ + OutputState: i.ToAtCustomerCccInfrastructureMapOutputWithContext(ctx).OutputState, + } +} + +type AtCustomerCccInfrastructureOutput struct{ *pulumi.OutputState } + +func (AtCustomerCccInfrastructureOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AtCustomerCccInfrastructure)(nil)).Elem() +} + +func (o AtCustomerCccInfrastructureOutput) ToAtCustomerCccInfrastructureOutput() AtCustomerCccInfrastructureOutput { + return o +} + +func (o AtCustomerCccInfrastructureOutput) ToAtCustomerCccInfrastructureOutputWithContext(ctx context.Context) AtCustomerCccInfrastructureOutput { + return o +} + +func (o AtCustomerCccInfrastructureOutput) ToOutput(ctx context.Context) pulumix.Output[*AtCustomerCccInfrastructure] { + return pulumix.Output[*AtCustomerCccInfrastructure]{ + OutputState: o.OutputState, + } +} + +// (Updatable) Schedule used for upgrades. If no schedule is associated with the infrastructure, it can be upgraded at any time. +func (o AtCustomerCccInfrastructureOutput) CccUpgradeScheduleId() pulumi.StringOutput { + return o.ApplyT(func(v *AtCustomerCccInfrastructure) pulumi.StringOutput { return v.CccUpgradeScheduleId }).(pulumi.StringOutput) +} + +// (Updatable) The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with the infrastructure. +func (o AtCustomerCccInfrastructureOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v *AtCustomerCccInfrastructure) pulumi.StringOutput { return v.CompartmentId }).(pulumi.StringOutput) +} + +// (Updatable) A message describing the current connection state in more detail. +func (o AtCustomerCccInfrastructureOutput) ConnectionDetails() pulumi.StringOutput { + return o.ApplyT(func(v *AtCustomerCccInfrastructure) pulumi.StringOutput { return v.ConnectionDetails }).(pulumi.StringOutput) +} + +// (Updatable) The current connection state of the Compute Cloud@Customer infrastructure. This value will default to REJECT if the value is not provided. The only valid value at creation time is REJECT. +func (o AtCustomerCccInfrastructureOutput) ConnectionState() pulumi.StringOutput { + return o.ApplyT(func(v *AtCustomerCccInfrastructure) pulumi.StringOutput { return v.ConnectionState }).(pulumi.StringOutput) +} + +// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` +func (o AtCustomerCccInfrastructureOutput) DefinedTags() pulumi.MapOutput { + return o.ApplyT(func(v *AtCustomerCccInfrastructure) pulumi.MapOutput { return v.DefinedTags }).(pulumi.MapOutput) +} + +// (Updatable) A mutable client-meaningful text description of the Compute Cloud@Customer infrastructure. Avoid entering confidential information. +func (o AtCustomerCccInfrastructureOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v *AtCustomerCccInfrastructure) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) +} + +// (Updatable) The name that will be used to display the Compute Cloud@Customer infrastructure in the Oracle Cloud Infrastructure console. Does not have to be unique and can be changed. Avoid entering confidential information. +func (o AtCustomerCccInfrastructureOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v *AtCustomerCccInfrastructure) pulumi.StringOutput { return v.DisplayName }).(pulumi.StringOutput) +} + +// (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` +func (o AtCustomerCccInfrastructureOutput) FreeformTags() pulumi.MapOutput { + return o.ApplyT(func(v *AtCustomerCccInfrastructure) pulumi.MapOutput { return v.FreeformTags }).(pulumi.MapOutput) +} + +// Inventory for a Compute Cloud@Customer infrastructure. This information cannot be updated and is from the infrastructure. The information will only be available after the connectionState is transitioned to CONNECTED. +func (o AtCustomerCccInfrastructureOutput) InfrastructureInventories() AtCustomerCccInfrastructureInfrastructureInventoryArrayOutput { + return o.ApplyT(func(v *AtCustomerCccInfrastructure) AtCustomerCccInfrastructureInfrastructureInventoryArrayOutput { + return v.InfrastructureInventories + }).(AtCustomerCccInfrastructureInfrastructureInventoryArrayOutput) +} + +// Configuration information for the Compute Cloud@Customer infrastructure. This network configuration information cannot be updated and is retrieved from the data center. The information will only be available after the connectionState is transitioned to CONNECTED. +func (o AtCustomerCccInfrastructureOutput) InfrastructureNetworkConfigurations() AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArrayOutput { + return o.ApplyT(func(v *AtCustomerCccInfrastructure) AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArrayOutput { + return v.InfrastructureNetworkConfigurations + }).(AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArrayOutput) +} + +// A message describing the current lifecycle state in more detail. For example, this can be used to provide actionable information for a resource that is in a Failed state. +func (o AtCustomerCccInfrastructureOutput) LifecycleDetails() pulumi.StringOutput { + return o.ApplyT(func(v *AtCustomerCccInfrastructure) pulumi.StringOutput { return v.LifecycleDetails }).(pulumi.StringOutput) +} + +// Fingerprint of a Compute Cloud@Customer infrastructure in a data center generated during the initial connection to this resource. The fingerprint should be verified by the administrator when changing the connectionState from REQUEST to READY. +func (o AtCustomerCccInfrastructureOutput) ProvisioningFingerprint() pulumi.StringOutput { + return o.ApplyT(func(v *AtCustomerCccInfrastructure) pulumi.StringOutput { return v.ProvisioningFingerprint }).(pulumi.StringOutput) +} + +// Code that is required for service personnel to connect a Compute Cloud@Customer infrastructure in a data center to this resource. This code will only be available when the connectionState is REJECT (usually at create time of the Compute Cloud@Customer infrastructure). +func (o AtCustomerCccInfrastructureOutput) ProvisioningPin() pulumi.StringOutput { + return o.ApplyT(func(v *AtCustomerCccInfrastructure) pulumi.StringOutput { return v.ProvisioningPin }).(pulumi.StringOutput) +} + +// The Compute Cloud@Customer infrastructure short name. This cannot be changed once created. The short name is used to refer to the infrastructure in several contexts and is unique. +func (o AtCustomerCccInfrastructureOutput) ShortName() pulumi.StringOutput { + return o.ApplyT(func(v *AtCustomerCccInfrastructure) pulumi.StringOutput { return v.ShortName }).(pulumi.StringOutput) +} + +// The current state of the Compute Cloud@Customer infrastructure. +func (o AtCustomerCccInfrastructureOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v *AtCustomerCccInfrastructure) pulumi.StringOutput { return v.State }).(pulumi.StringOutput) +} + +// (Updatable) Identifier for network subnet that will be used to communicate with Compute Cloud@Customer infrastructure. +// +// ** 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 +func (o AtCustomerCccInfrastructureOutput) SubnetId() pulumi.StringOutput { + return o.ApplyT(func(v *AtCustomerCccInfrastructure) pulumi.StringOutput { return v.SubnetId }).(pulumi.StringOutput) +} + +// System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` +func (o AtCustomerCccInfrastructureOutput) SystemTags() pulumi.MapOutput { + return o.ApplyT(func(v *AtCustomerCccInfrastructure) pulumi.MapOutput { return v.SystemTags }).(pulumi.MapOutput) +} + +// Compute Cloud@Customer infrastructure creation date and time, using an RFC3339 formatted datetime string. +func (o AtCustomerCccInfrastructureOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v *AtCustomerCccInfrastructure) pulumi.StringOutput { return v.TimeCreated }).(pulumi.StringOutput) +} + +// Compute Cloud@Customer infrastructure updated date and time, using an RFC3339 formatted datetime string. +func (o AtCustomerCccInfrastructureOutput) TimeUpdated() pulumi.StringOutput { + return o.ApplyT(func(v *AtCustomerCccInfrastructure) pulumi.StringOutput { return v.TimeUpdated }).(pulumi.StringOutput) +} + +// Upgrade information that relates to a Compute Cloud@Customer infrastructure. This information cannot be updated. +func (o AtCustomerCccInfrastructureOutput) UpgradeInformations() AtCustomerCccInfrastructureUpgradeInformationArrayOutput { + return o.ApplyT(func(v *AtCustomerCccInfrastructure) AtCustomerCccInfrastructureUpgradeInformationArrayOutput { + return v.UpgradeInformations + }).(AtCustomerCccInfrastructureUpgradeInformationArrayOutput) +} + +type AtCustomerCccInfrastructureArrayOutput struct{ *pulumi.OutputState } + +func (AtCustomerCccInfrastructureArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*AtCustomerCccInfrastructure)(nil)).Elem() +} + +func (o AtCustomerCccInfrastructureArrayOutput) ToAtCustomerCccInfrastructureArrayOutput() AtCustomerCccInfrastructureArrayOutput { + return o +} + +func (o AtCustomerCccInfrastructureArrayOutput) ToAtCustomerCccInfrastructureArrayOutputWithContext(ctx context.Context) AtCustomerCccInfrastructureArrayOutput { + return o +} + +func (o AtCustomerCccInfrastructureArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*AtCustomerCccInfrastructure] { + return pulumix.Output[[]*AtCustomerCccInfrastructure]{ + OutputState: o.OutputState, + } +} + +func (o AtCustomerCccInfrastructureArrayOutput) Index(i pulumi.IntInput) AtCustomerCccInfrastructureOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *AtCustomerCccInfrastructure { + return vs[0].([]*AtCustomerCccInfrastructure)[vs[1].(int)] + }).(AtCustomerCccInfrastructureOutput) +} + +type AtCustomerCccInfrastructureMapOutput struct{ *pulumi.OutputState } + +func (AtCustomerCccInfrastructureMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*AtCustomerCccInfrastructure)(nil)).Elem() +} + +func (o AtCustomerCccInfrastructureMapOutput) ToAtCustomerCccInfrastructureMapOutput() AtCustomerCccInfrastructureMapOutput { + return o +} + +func (o AtCustomerCccInfrastructureMapOutput) ToAtCustomerCccInfrastructureMapOutputWithContext(ctx context.Context) AtCustomerCccInfrastructureMapOutput { + return o +} + +func (o AtCustomerCccInfrastructureMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*AtCustomerCccInfrastructure] { + return pulumix.Output[map[string]*AtCustomerCccInfrastructure]{ + OutputState: o.OutputState, + } +} + +func (o AtCustomerCccInfrastructureMapOutput) MapIndex(k pulumi.StringInput) AtCustomerCccInfrastructureOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *AtCustomerCccInfrastructure { + return vs[0].(map[string]*AtCustomerCccInfrastructure)[vs[1].(string)] + }).(AtCustomerCccInfrastructureOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*AtCustomerCccInfrastructureInput)(nil)).Elem(), &AtCustomerCccInfrastructure{}) + pulumi.RegisterInputType(reflect.TypeOf((*AtCustomerCccInfrastructureArrayInput)(nil)).Elem(), AtCustomerCccInfrastructureArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*AtCustomerCccInfrastructureMapInput)(nil)).Elem(), AtCustomerCccInfrastructureMap{}) + pulumi.RegisterOutputType(AtCustomerCccInfrastructureOutput{}) + pulumi.RegisterOutputType(AtCustomerCccInfrastructureArrayOutput{}) + pulumi.RegisterOutputType(AtCustomerCccInfrastructureMapOutput{}) +} diff --git a/sdk/go/oci/computecloud/atCustomerCccUpgradeSchedule.go b/sdk/go/oci/computecloud/atCustomerCccUpgradeSchedule.go new file mode 100644 index 0000000000..29f8cd0aea --- /dev/null +++ b/sdk/go/oci/computecloud/atCustomerCccUpgradeSchedule.go @@ -0,0 +1,475 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package computecloud + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-oci/sdk/go/oci/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" +) + +// This resource provides the Ccc Upgrade Schedule resource in Oracle Cloud Infrastructure Compute Cloud At Customer service. +// +// Creates a new Compute Cloud@Customer upgrade schedule. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/go/oci/ComputeCloud" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := ComputeCloud.NewAtCustomerCccUpgradeSchedule(ctx, "testCccUpgradeSchedule", &ComputeCloud.AtCustomerCccUpgradeScheduleArgs{ +// CompartmentId: pulumi.Any(_var.Compartment_id), +// DisplayName: pulumi.Any(_var.Ccc_upgrade_schedule_display_name), +// Events: computecloud.AtCustomerCccUpgradeScheduleEventArray{ +// &computecloud.AtCustomerCccUpgradeScheduleEventArgs{ +// Description: pulumi.Any(_var.Ccc_upgrade_schedule_events_description), +// ScheduleEventDuration: pulumi.Any(_var.Ccc_upgrade_schedule_events_schedule_event_duration), +// TimeStart: pulumi.Any(_var.Ccc_upgrade_schedule_events_time_start), +// ScheduleEventRecurrences: pulumi.Any(_var.Ccc_upgrade_schedule_events_schedule_event_recurrences), +// }, +// }, +// DefinedTags: pulumi.AnyMap{ +// "foo-namespace.bar-key": pulumi.Any("value"), +// }, +// Description: pulumi.Any(_var.Ccc_upgrade_schedule_description), +// FreeformTags: pulumi.AnyMap{ +// "bar-key": pulumi.Any("value"), +// }, +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// +// ## Import +// +// CccUpgradeSchedules can be imported using the `id`, e.g. +// +// ```sh +// +// $ pulumi import oci:ComputeCloud/atCustomerCccUpgradeSchedule:AtCustomerCccUpgradeSchedule test_ccc_upgrade_schedule "id" +// +// ``` +type AtCustomerCccUpgradeSchedule struct { + pulumi.CustomResourceState + + // (Updatable) Compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Compute Cloud@Customer Upgrade Schedule. + CompartmentId pulumi.StringOutput `pulumi:"compartmentId"` + // (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + DefinedTags pulumi.MapOutput `pulumi:"definedTags"` + // (Updatable) A description of the Compute Cloud@Customer upgrade schedule time block. + Description pulumi.StringOutput `pulumi:"description"` + // (Updatable) Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information. + DisplayName pulumi.StringOutput `pulumi:"displayName"` + // (Updatable) List of preferred times for Compute Cloud@Customer infrastructure to be upgraded. + Events AtCustomerCccUpgradeScheduleEventArrayOutput `pulumi:"events"` + // (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + // + // ** 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 + FreeformTags pulumi.MapOutput `pulumi:"freeformTags"` + // List of Compute Cloud@Customer infrastructure [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that are using this upgrade schedule. + InfrastructureIds pulumi.StringArrayOutput `pulumi:"infrastructureIds"` + // A message describing the current state in more detail. For example, the message can be used to provide actionable information for a resource in a Failed state. + LifecycleDetails pulumi.StringOutput `pulumi:"lifecycleDetails"` + // Lifecycle state of the resource. + State pulumi.StringOutput `pulumi:"state"` + // System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + SystemTags pulumi.MapOutput `pulumi:"systemTags"` + // The time the upgrade schedule was created, using an RFC3339 formatted datetime string. + TimeCreated pulumi.StringOutput `pulumi:"timeCreated"` + // The time the upgrade schedule was updated, using an RFC3339 formatted datetime string. + TimeUpdated pulumi.StringOutput `pulumi:"timeUpdated"` +} + +// NewAtCustomerCccUpgradeSchedule registers a new resource with the given unique name, arguments, and options. +func NewAtCustomerCccUpgradeSchedule(ctx *pulumi.Context, + name string, args *AtCustomerCccUpgradeScheduleArgs, opts ...pulumi.ResourceOption) (*AtCustomerCccUpgradeSchedule, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.CompartmentId == nil { + return nil, errors.New("invalid value for required argument 'CompartmentId'") + } + if args.DisplayName == nil { + return nil, errors.New("invalid value for required argument 'DisplayName'") + } + if args.Events == nil { + return nil, errors.New("invalid value for required argument 'Events'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource AtCustomerCccUpgradeSchedule + err := ctx.RegisterResource("oci:ComputeCloud/atCustomerCccUpgradeSchedule:AtCustomerCccUpgradeSchedule", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetAtCustomerCccUpgradeSchedule gets an existing AtCustomerCccUpgradeSchedule resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetAtCustomerCccUpgradeSchedule(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *AtCustomerCccUpgradeScheduleState, opts ...pulumi.ResourceOption) (*AtCustomerCccUpgradeSchedule, error) { + var resource AtCustomerCccUpgradeSchedule + err := ctx.ReadResource("oci:ComputeCloud/atCustomerCccUpgradeSchedule:AtCustomerCccUpgradeSchedule", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering AtCustomerCccUpgradeSchedule resources. +type atCustomerCccUpgradeScheduleState struct { + // (Updatable) Compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Compute Cloud@Customer Upgrade Schedule. + CompartmentId *string `pulumi:"compartmentId"` + // (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + DefinedTags map[string]interface{} `pulumi:"definedTags"` + // (Updatable) A description of the Compute Cloud@Customer upgrade schedule time block. + Description *string `pulumi:"description"` + // (Updatable) Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information. + DisplayName *string `pulumi:"displayName"` + // (Updatable) List of preferred times for Compute Cloud@Customer infrastructure to be upgraded. + Events []AtCustomerCccUpgradeScheduleEvent `pulumi:"events"` + // (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + // + // ** 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 + FreeformTags map[string]interface{} `pulumi:"freeformTags"` + // List of Compute Cloud@Customer infrastructure [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that are using this upgrade schedule. + InfrastructureIds []string `pulumi:"infrastructureIds"` + // A message describing the current state in more detail. For example, the message can be used to provide actionable information for a resource in a Failed state. + LifecycleDetails *string `pulumi:"lifecycleDetails"` + // Lifecycle state of the resource. + State *string `pulumi:"state"` + // System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + SystemTags map[string]interface{} `pulumi:"systemTags"` + // The time the upgrade schedule was created, using an RFC3339 formatted datetime string. + TimeCreated *string `pulumi:"timeCreated"` + // The time the upgrade schedule was updated, using an RFC3339 formatted datetime string. + TimeUpdated *string `pulumi:"timeUpdated"` +} + +type AtCustomerCccUpgradeScheduleState struct { + // (Updatable) Compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Compute Cloud@Customer Upgrade Schedule. + CompartmentId pulumi.StringPtrInput + // (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + DefinedTags pulumi.MapInput + // (Updatable) A description of the Compute Cloud@Customer upgrade schedule time block. + Description pulumi.StringPtrInput + // (Updatable) Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information. + DisplayName pulumi.StringPtrInput + // (Updatable) List of preferred times for Compute Cloud@Customer infrastructure to be upgraded. + Events AtCustomerCccUpgradeScheduleEventArrayInput + // (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + // + // ** 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 + FreeformTags pulumi.MapInput + // List of Compute Cloud@Customer infrastructure [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that are using this upgrade schedule. + InfrastructureIds pulumi.StringArrayInput + // A message describing the current state in more detail. For example, the message can be used to provide actionable information for a resource in a Failed state. + LifecycleDetails pulumi.StringPtrInput + // Lifecycle state of the resource. + State pulumi.StringPtrInput + // System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + SystemTags pulumi.MapInput + // The time the upgrade schedule was created, using an RFC3339 formatted datetime string. + TimeCreated pulumi.StringPtrInput + // The time the upgrade schedule was updated, using an RFC3339 formatted datetime string. + TimeUpdated pulumi.StringPtrInput +} + +func (AtCustomerCccUpgradeScheduleState) ElementType() reflect.Type { + return reflect.TypeOf((*atCustomerCccUpgradeScheduleState)(nil)).Elem() +} + +type atCustomerCccUpgradeScheduleArgs struct { + // (Updatable) Compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Compute Cloud@Customer Upgrade Schedule. + CompartmentId string `pulumi:"compartmentId"` + // (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + DefinedTags map[string]interface{} `pulumi:"definedTags"` + // (Updatable) A description of the Compute Cloud@Customer upgrade schedule time block. + Description *string `pulumi:"description"` + // (Updatable) Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information. + DisplayName string `pulumi:"displayName"` + // (Updatable) List of preferred times for Compute Cloud@Customer infrastructure to be upgraded. + Events []AtCustomerCccUpgradeScheduleEvent `pulumi:"events"` + // (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + // + // ** 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 + FreeformTags map[string]interface{} `pulumi:"freeformTags"` +} + +// The set of arguments for constructing a AtCustomerCccUpgradeSchedule resource. +type AtCustomerCccUpgradeScheduleArgs struct { + // (Updatable) Compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Compute Cloud@Customer Upgrade Schedule. + CompartmentId pulumi.StringInput + // (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + DefinedTags pulumi.MapInput + // (Updatable) A description of the Compute Cloud@Customer upgrade schedule time block. + Description pulumi.StringPtrInput + // (Updatable) Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information. + DisplayName pulumi.StringInput + // (Updatable) List of preferred times for Compute Cloud@Customer infrastructure to be upgraded. + Events AtCustomerCccUpgradeScheduleEventArrayInput + // (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + // + // ** 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 + FreeformTags pulumi.MapInput +} + +func (AtCustomerCccUpgradeScheduleArgs) ElementType() reflect.Type { + return reflect.TypeOf((*atCustomerCccUpgradeScheduleArgs)(nil)).Elem() +} + +type AtCustomerCccUpgradeScheduleInput interface { + pulumi.Input + + ToAtCustomerCccUpgradeScheduleOutput() AtCustomerCccUpgradeScheduleOutput + ToAtCustomerCccUpgradeScheduleOutputWithContext(ctx context.Context) AtCustomerCccUpgradeScheduleOutput +} + +func (*AtCustomerCccUpgradeSchedule) ElementType() reflect.Type { + return reflect.TypeOf((**AtCustomerCccUpgradeSchedule)(nil)).Elem() +} + +func (i *AtCustomerCccUpgradeSchedule) ToAtCustomerCccUpgradeScheduleOutput() AtCustomerCccUpgradeScheduleOutput { + return i.ToAtCustomerCccUpgradeScheduleOutputWithContext(context.Background()) +} + +func (i *AtCustomerCccUpgradeSchedule) ToAtCustomerCccUpgradeScheduleOutputWithContext(ctx context.Context) AtCustomerCccUpgradeScheduleOutput { + return pulumi.ToOutputWithContext(ctx, i).(AtCustomerCccUpgradeScheduleOutput) +} + +func (i *AtCustomerCccUpgradeSchedule) ToOutput(ctx context.Context) pulumix.Output[*AtCustomerCccUpgradeSchedule] { + return pulumix.Output[*AtCustomerCccUpgradeSchedule]{ + OutputState: i.ToAtCustomerCccUpgradeScheduleOutputWithContext(ctx).OutputState, + } +} + +// AtCustomerCccUpgradeScheduleArrayInput is an input type that accepts AtCustomerCccUpgradeScheduleArray and AtCustomerCccUpgradeScheduleArrayOutput values. +// You can construct a concrete instance of `AtCustomerCccUpgradeScheduleArrayInput` via: +// +// AtCustomerCccUpgradeScheduleArray{ AtCustomerCccUpgradeScheduleArgs{...} } +type AtCustomerCccUpgradeScheduleArrayInput interface { + pulumi.Input + + ToAtCustomerCccUpgradeScheduleArrayOutput() AtCustomerCccUpgradeScheduleArrayOutput + ToAtCustomerCccUpgradeScheduleArrayOutputWithContext(context.Context) AtCustomerCccUpgradeScheduleArrayOutput +} + +type AtCustomerCccUpgradeScheduleArray []AtCustomerCccUpgradeScheduleInput + +func (AtCustomerCccUpgradeScheduleArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*AtCustomerCccUpgradeSchedule)(nil)).Elem() +} + +func (i AtCustomerCccUpgradeScheduleArray) ToAtCustomerCccUpgradeScheduleArrayOutput() AtCustomerCccUpgradeScheduleArrayOutput { + return i.ToAtCustomerCccUpgradeScheduleArrayOutputWithContext(context.Background()) +} + +func (i AtCustomerCccUpgradeScheduleArray) ToAtCustomerCccUpgradeScheduleArrayOutputWithContext(ctx context.Context) AtCustomerCccUpgradeScheduleArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(AtCustomerCccUpgradeScheduleArrayOutput) +} + +func (i AtCustomerCccUpgradeScheduleArray) ToOutput(ctx context.Context) pulumix.Output[[]*AtCustomerCccUpgradeSchedule] { + return pulumix.Output[[]*AtCustomerCccUpgradeSchedule]{ + OutputState: i.ToAtCustomerCccUpgradeScheduleArrayOutputWithContext(ctx).OutputState, + } +} + +// AtCustomerCccUpgradeScheduleMapInput is an input type that accepts AtCustomerCccUpgradeScheduleMap and AtCustomerCccUpgradeScheduleMapOutput values. +// You can construct a concrete instance of `AtCustomerCccUpgradeScheduleMapInput` via: +// +// AtCustomerCccUpgradeScheduleMap{ "key": AtCustomerCccUpgradeScheduleArgs{...} } +type AtCustomerCccUpgradeScheduleMapInput interface { + pulumi.Input + + ToAtCustomerCccUpgradeScheduleMapOutput() AtCustomerCccUpgradeScheduleMapOutput + ToAtCustomerCccUpgradeScheduleMapOutputWithContext(context.Context) AtCustomerCccUpgradeScheduleMapOutput +} + +type AtCustomerCccUpgradeScheduleMap map[string]AtCustomerCccUpgradeScheduleInput + +func (AtCustomerCccUpgradeScheduleMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*AtCustomerCccUpgradeSchedule)(nil)).Elem() +} + +func (i AtCustomerCccUpgradeScheduleMap) ToAtCustomerCccUpgradeScheduleMapOutput() AtCustomerCccUpgradeScheduleMapOutput { + return i.ToAtCustomerCccUpgradeScheduleMapOutputWithContext(context.Background()) +} + +func (i AtCustomerCccUpgradeScheduleMap) ToAtCustomerCccUpgradeScheduleMapOutputWithContext(ctx context.Context) AtCustomerCccUpgradeScheduleMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(AtCustomerCccUpgradeScheduleMapOutput) +} + +func (i AtCustomerCccUpgradeScheduleMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*AtCustomerCccUpgradeSchedule] { + return pulumix.Output[map[string]*AtCustomerCccUpgradeSchedule]{ + OutputState: i.ToAtCustomerCccUpgradeScheduleMapOutputWithContext(ctx).OutputState, + } +} + +type AtCustomerCccUpgradeScheduleOutput struct{ *pulumi.OutputState } + +func (AtCustomerCccUpgradeScheduleOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AtCustomerCccUpgradeSchedule)(nil)).Elem() +} + +func (o AtCustomerCccUpgradeScheduleOutput) ToAtCustomerCccUpgradeScheduleOutput() AtCustomerCccUpgradeScheduleOutput { + return o +} + +func (o AtCustomerCccUpgradeScheduleOutput) ToAtCustomerCccUpgradeScheduleOutputWithContext(ctx context.Context) AtCustomerCccUpgradeScheduleOutput { + return o +} + +func (o AtCustomerCccUpgradeScheduleOutput) ToOutput(ctx context.Context) pulumix.Output[*AtCustomerCccUpgradeSchedule] { + return pulumix.Output[*AtCustomerCccUpgradeSchedule]{ + OutputState: o.OutputState, + } +} + +// (Updatable) Compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Compute Cloud@Customer Upgrade Schedule. +func (o AtCustomerCccUpgradeScheduleOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v *AtCustomerCccUpgradeSchedule) pulumi.StringOutput { return v.CompartmentId }).(pulumi.StringOutput) +} + +// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` +func (o AtCustomerCccUpgradeScheduleOutput) DefinedTags() pulumi.MapOutput { + return o.ApplyT(func(v *AtCustomerCccUpgradeSchedule) pulumi.MapOutput { return v.DefinedTags }).(pulumi.MapOutput) +} + +// (Updatable) A description of the Compute Cloud@Customer upgrade schedule time block. +func (o AtCustomerCccUpgradeScheduleOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v *AtCustomerCccUpgradeSchedule) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) +} + +// (Updatable) Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information. +func (o AtCustomerCccUpgradeScheduleOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v *AtCustomerCccUpgradeSchedule) pulumi.StringOutput { return v.DisplayName }).(pulumi.StringOutput) +} + +// (Updatable) List of preferred times for Compute Cloud@Customer infrastructure to be upgraded. +func (o AtCustomerCccUpgradeScheduleOutput) Events() AtCustomerCccUpgradeScheduleEventArrayOutput { + return o.ApplyT(func(v *AtCustomerCccUpgradeSchedule) AtCustomerCccUpgradeScheduleEventArrayOutput { return v.Events }).(AtCustomerCccUpgradeScheduleEventArrayOutput) +} + +// (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` +// +// ** 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 +func (o AtCustomerCccUpgradeScheduleOutput) FreeformTags() pulumi.MapOutput { + return o.ApplyT(func(v *AtCustomerCccUpgradeSchedule) pulumi.MapOutput { return v.FreeformTags }).(pulumi.MapOutput) +} + +// List of Compute Cloud@Customer infrastructure [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that are using this upgrade schedule. +func (o AtCustomerCccUpgradeScheduleOutput) InfrastructureIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v *AtCustomerCccUpgradeSchedule) pulumi.StringArrayOutput { return v.InfrastructureIds }).(pulumi.StringArrayOutput) +} + +// A message describing the current state in more detail. For example, the message can be used to provide actionable information for a resource in a Failed state. +func (o AtCustomerCccUpgradeScheduleOutput) LifecycleDetails() pulumi.StringOutput { + return o.ApplyT(func(v *AtCustomerCccUpgradeSchedule) pulumi.StringOutput { return v.LifecycleDetails }).(pulumi.StringOutput) +} + +// Lifecycle state of the resource. +func (o AtCustomerCccUpgradeScheduleOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v *AtCustomerCccUpgradeSchedule) pulumi.StringOutput { return v.State }).(pulumi.StringOutput) +} + +// System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` +func (o AtCustomerCccUpgradeScheduleOutput) SystemTags() pulumi.MapOutput { + return o.ApplyT(func(v *AtCustomerCccUpgradeSchedule) pulumi.MapOutput { return v.SystemTags }).(pulumi.MapOutput) +} + +// The time the upgrade schedule was created, using an RFC3339 formatted datetime string. +func (o AtCustomerCccUpgradeScheduleOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v *AtCustomerCccUpgradeSchedule) pulumi.StringOutput { return v.TimeCreated }).(pulumi.StringOutput) +} + +// The time the upgrade schedule was updated, using an RFC3339 formatted datetime string. +func (o AtCustomerCccUpgradeScheduleOutput) TimeUpdated() pulumi.StringOutput { + return o.ApplyT(func(v *AtCustomerCccUpgradeSchedule) pulumi.StringOutput { return v.TimeUpdated }).(pulumi.StringOutput) +} + +type AtCustomerCccUpgradeScheduleArrayOutput struct{ *pulumi.OutputState } + +func (AtCustomerCccUpgradeScheduleArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*AtCustomerCccUpgradeSchedule)(nil)).Elem() +} + +func (o AtCustomerCccUpgradeScheduleArrayOutput) ToAtCustomerCccUpgradeScheduleArrayOutput() AtCustomerCccUpgradeScheduleArrayOutput { + return o +} + +func (o AtCustomerCccUpgradeScheduleArrayOutput) ToAtCustomerCccUpgradeScheduleArrayOutputWithContext(ctx context.Context) AtCustomerCccUpgradeScheduleArrayOutput { + return o +} + +func (o AtCustomerCccUpgradeScheduleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*AtCustomerCccUpgradeSchedule] { + return pulumix.Output[[]*AtCustomerCccUpgradeSchedule]{ + OutputState: o.OutputState, + } +} + +func (o AtCustomerCccUpgradeScheduleArrayOutput) Index(i pulumi.IntInput) AtCustomerCccUpgradeScheduleOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *AtCustomerCccUpgradeSchedule { + return vs[0].([]*AtCustomerCccUpgradeSchedule)[vs[1].(int)] + }).(AtCustomerCccUpgradeScheduleOutput) +} + +type AtCustomerCccUpgradeScheduleMapOutput struct{ *pulumi.OutputState } + +func (AtCustomerCccUpgradeScheduleMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*AtCustomerCccUpgradeSchedule)(nil)).Elem() +} + +func (o AtCustomerCccUpgradeScheduleMapOutput) ToAtCustomerCccUpgradeScheduleMapOutput() AtCustomerCccUpgradeScheduleMapOutput { + return o +} + +func (o AtCustomerCccUpgradeScheduleMapOutput) ToAtCustomerCccUpgradeScheduleMapOutputWithContext(ctx context.Context) AtCustomerCccUpgradeScheduleMapOutput { + return o +} + +func (o AtCustomerCccUpgradeScheduleMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*AtCustomerCccUpgradeSchedule] { + return pulumix.Output[map[string]*AtCustomerCccUpgradeSchedule]{ + OutputState: o.OutputState, + } +} + +func (o AtCustomerCccUpgradeScheduleMapOutput) MapIndex(k pulumi.StringInput) AtCustomerCccUpgradeScheduleOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *AtCustomerCccUpgradeSchedule { + return vs[0].(map[string]*AtCustomerCccUpgradeSchedule)[vs[1].(string)] + }).(AtCustomerCccUpgradeScheduleOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*AtCustomerCccUpgradeScheduleInput)(nil)).Elem(), &AtCustomerCccUpgradeSchedule{}) + pulumi.RegisterInputType(reflect.TypeOf((*AtCustomerCccUpgradeScheduleArrayInput)(nil)).Elem(), AtCustomerCccUpgradeScheduleArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*AtCustomerCccUpgradeScheduleMapInput)(nil)).Elem(), AtCustomerCccUpgradeScheduleMap{}) + pulumi.RegisterOutputType(AtCustomerCccUpgradeScheduleOutput{}) + pulumi.RegisterOutputType(AtCustomerCccUpgradeScheduleArrayOutput{}) + pulumi.RegisterOutputType(AtCustomerCccUpgradeScheduleMapOutput{}) +} diff --git a/sdk/go/oci/computecloud/getAtCustomerCccInfrastructure.go b/sdk/go/oci/computecloud/getAtCustomerCccInfrastructure.go new file mode 100644 index 0000000000..9ed817dfed --- /dev/null +++ b/sdk/go/oci/computecloud/getAtCustomerCccInfrastructure.go @@ -0,0 +1,269 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package computecloud + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-oci/sdk/go/oci/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" +) + +// This data source provides details about a specific Ccc Infrastructure resource in Oracle Cloud Infrastructure Compute Cloud At Customer service. +// +// Gets a Compute Cloud@Customer infrastructure using the infrastructure +// [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/go/oci/ComputeCloud" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := ComputeCloud.GetAtCustomerCccInfrastructure(ctx, &computecloud.GetAtCustomerCccInfrastructureArgs{ +// CccInfrastructureId: oci_compute_cloud_at_customer_ccc_infrastructure.Test_ccc_infrastructure.Id, +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func LookupAtCustomerCccInfrastructure(ctx *pulumi.Context, args *LookupAtCustomerCccInfrastructureArgs, opts ...pulumi.InvokeOption) (*LookupAtCustomerCccInfrastructureResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupAtCustomerCccInfrastructureResult + err := ctx.Invoke("oci:ComputeCloud/getAtCustomerCccInfrastructure:getAtCustomerCccInfrastructure", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getAtCustomerCccInfrastructure. +type LookupAtCustomerCccInfrastructureArgs struct { + // An [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for a Compute Cloud@Customer Infrastructure. + CccInfrastructureId string `pulumi:"cccInfrastructureId"` +} + +// A collection of values returned by getAtCustomerCccInfrastructure. +type LookupAtCustomerCccInfrastructureResult struct { + CccInfrastructureId string `pulumi:"cccInfrastructureId"` + // Schedule used for upgrades. If no schedule is associated with the infrastructure, it can be updated at any time. + CccUpgradeScheduleId string `pulumi:"cccUpgradeScheduleId"` + // The infrastructure compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + CompartmentId string `pulumi:"compartmentId"` + // A message describing the current connection state in more detail. + ConnectionDetails string `pulumi:"connectionDetails"` + // The current connection state of the infrastructure. A user can only update it from REQUEST to READY or from any state back to REJECT. The system automatically handles the REJECT to REQUEST, READY to CONNECTED, or CONNECTED to DISCONNECTED transitions. + ConnectionState string `pulumi:"connectionState"` + // Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + DefinedTags map[string]interface{} `pulumi:"definedTags"` + // A mutable client-meaningful text description of the Compute Cloud@Customer infrastructure. Avoid entering confidential information. + Description string `pulumi:"description"` + // The name that will be used to display the Compute Cloud@Customer infrastructure in the Oracle Cloud Infrastructure console. Does not have to be unique and can be changed. Avoid entering confidential information. + DisplayName string `pulumi:"displayName"` + // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + FreeformTags map[string]interface{} `pulumi:"freeformTags"` + // The Compute Cloud@Customer infrastructure [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). This cannot be changed once created. + Id string `pulumi:"id"` + // Inventory for a Compute Cloud@Customer infrastructure. This information cannot be updated and is from the infrastructure. The information will only be available after the connectionState is transitioned to CONNECTED. + InfrastructureInventories []GetAtCustomerCccInfrastructureInfrastructureInventory `pulumi:"infrastructureInventories"` + // Configuration information for the Compute Cloud@Customer infrastructure. This network configuration information cannot be updated and is retrieved from the data center. The information will only be available after the connectionState is transitioned to CONNECTED. + InfrastructureNetworkConfigurations []GetAtCustomerCccInfrastructureInfrastructureNetworkConfiguration `pulumi:"infrastructureNetworkConfigurations"` + // A message describing the current lifecycle state in more detail. For example, this can be used to provide actionable information for a resource that is in a Failed state. + LifecycleDetails string `pulumi:"lifecycleDetails"` + // Fingerprint of a Compute Cloud@Customer infrastructure in a data center generated during the initial connection to this resource. The fingerprint should be verified by the administrator when changing the connectionState from REQUEST to READY. + ProvisioningFingerprint string `pulumi:"provisioningFingerprint"` + // Code that is required for service personnel to connect a Compute Cloud@Customer infrastructure in a data center to this resource. This code will only be available when the connectionState is REJECT (usually at create time of the Compute Cloud@Customer infrastructure). + ProvisioningPin string `pulumi:"provisioningPin"` + // The Compute Cloud@Customer infrastructure short name. This cannot be changed once created. The short name is used to refer to the infrastructure in several contexts and is unique. + ShortName string `pulumi:"shortName"` + // The current state of the Compute Cloud@Customer infrastructure. + State string `pulumi:"state"` + // [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the network subnet that is used to communicate with Compute Cloud@Customer infrastructure. + SubnetId string `pulumi:"subnetId"` + // System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + SystemTags map[string]interface{} `pulumi:"systemTags"` + // Compute Cloud@Customer infrastructure creation date and time, using an RFC3339 formatted datetime string. + TimeCreated string `pulumi:"timeCreated"` + // Compute Cloud@Customer infrastructure updated date and time, using an RFC3339 formatted datetime string. + TimeUpdated string `pulumi:"timeUpdated"` + // Upgrade information that relates to a Compute Cloud@Customer infrastructure. This information cannot be updated. + UpgradeInformations []GetAtCustomerCccInfrastructureUpgradeInformation `pulumi:"upgradeInformations"` +} + +func LookupAtCustomerCccInfrastructureOutput(ctx *pulumi.Context, args LookupAtCustomerCccInfrastructureOutputArgs, opts ...pulumi.InvokeOption) LookupAtCustomerCccInfrastructureResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupAtCustomerCccInfrastructureResult, error) { + args := v.(LookupAtCustomerCccInfrastructureArgs) + r, err := LookupAtCustomerCccInfrastructure(ctx, &args, opts...) + var s LookupAtCustomerCccInfrastructureResult + if r != nil { + s = *r + } + return s, err + }).(LookupAtCustomerCccInfrastructureResultOutput) +} + +// A collection of arguments for invoking getAtCustomerCccInfrastructure. +type LookupAtCustomerCccInfrastructureOutputArgs struct { + // An [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for a Compute Cloud@Customer Infrastructure. + CccInfrastructureId pulumi.StringInput `pulumi:"cccInfrastructureId"` +} + +func (LookupAtCustomerCccInfrastructureOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupAtCustomerCccInfrastructureArgs)(nil)).Elem() +} + +// A collection of values returned by getAtCustomerCccInfrastructure. +type LookupAtCustomerCccInfrastructureResultOutput struct{ *pulumi.OutputState } + +func (LookupAtCustomerCccInfrastructureResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupAtCustomerCccInfrastructureResult)(nil)).Elem() +} + +func (o LookupAtCustomerCccInfrastructureResultOutput) ToLookupAtCustomerCccInfrastructureResultOutput() LookupAtCustomerCccInfrastructureResultOutput { + return o +} + +func (o LookupAtCustomerCccInfrastructureResultOutput) ToLookupAtCustomerCccInfrastructureResultOutputWithContext(ctx context.Context) LookupAtCustomerCccInfrastructureResultOutput { + return o +} + +func (o LookupAtCustomerCccInfrastructureResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAtCustomerCccInfrastructureResult] { + return pulumix.Output[LookupAtCustomerCccInfrastructureResult]{ + OutputState: o.OutputState, + } +} + +func (o LookupAtCustomerCccInfrastructureResultOutput) CccInfrastructureId() pulumi.StringOutput { + return o.ApplyT(func(v LookupAtCustomerCccInfrastructureResult) string { return v.CccInfrastructureId }).(pulumi.StringOutput) +} + +// Schedule used for upgrades. If no schedule is associated with the infrastructure, it can be updated at any time. +func (o LookupAtCustomerCccInfrastructureResultOutput) CccUpgradeScheduleId() pulumi.StringOutput { + return o.ApplyT(func(v LookupAtCustomerCccInfrastructureResult) string { return v.CccUpgradeScheduleId }).(pulumi.StringOutput) +} + +// The infrastructure compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +func (o LookupAtCustomerCccInfrastructureResultOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v LookupAtCustomerCccInfrastructureResult) string { return v.CompartmentId }).(pulumi.StringOutput) +} + +// A message describing the current connection state in more detail. +func (o LookupAtCustomerCccInfrastructureResultOutput) ConnectionDetails() pulumi.StringOutput { + return o.ApplyT(func(v LookupAtCustomerCccInfrastructureResult) string { return v.ConnectionDetails }).(pulumi.StringOutput) +} + +// The current connection state of the infrastructure. A user can only update it from REQUEST to READY or from any state back to REJECT. The system automatically handles the REJECT to REQUEST, READY to CONNECTED, or CONNECTED to DISCONNECTED transitions. +func (o LookupAtCustomerCccInfrastructureResultOutput) ConnectionState() pulumi.StringOutput { + return o.ApplyT(func(v LookupAtCustomerCccInfrastructureResult) string { return v.ConnectionState }).(pulumi.StringOutput) +} + +// Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` +func (o LookupAtCustomerCccInfrastructureResultOutput) DefinedTags() pulumi.MapOutput { + return o.ApplyT(func(v LookupAtCustomerCccInfrastructureResult) map[string]interface{} { return v.DefinedTags }).(pulumi.MapOutput) +} + +// A mutable client-meaningful text description of the Compute Cloud@Customer infrastructure. Avoid entering confidential information. +func (o LookupAtCustomerCccInfrastructureResultOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v LookupAtCustomerCccInfrastructureResult) string { return v.Description }).(pulumi.StringOutput) +} + +// The name that will be used to display the Compute Cloud@Customer infrastructure in the Oracle Cloud Infrastructure console. Does not have to be unique and can be changed. Avoid entering confidential information. +func (o LookupAtCustomerCccInfrastructureResultOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v LookupAtCustomerCccInfrastructureResult) string { return v.DisplayName }).(pulumi.StringOutput) +} + +// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` +func (o LookupAtCustomerCccInfrastructureResultOutput) FreeformTags() pulumi.MapOutput { + return o.ApplyT(func(v LookupAtCustomerCccInfrastructureResult) map[string]interface{} { return v.FreeformTags }).(pulumi.MapOutput) +} + +// The Compute Cloud@Customer infrastructure [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). This cannot be changed once created. +func (o LookupAtCustomerCccInfrastructureResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupAtCustomerCccInfrastructureResult) string { return v.Id }).(pulumi.StringOutput) +} + +// Inventory for a Compute Cloud@Customer infrastructure. This information cannot be updated and is from the infrastructure. The information will only be available after the connectionState is transitioned to CONNECTED. +func (o LookupAtCustomerCccInfrastructureResultOutput) InfrastructureInventories() GetAtCustomerCccInfrastructureInfrastructureInventoryArrayOutput { + return o.ApplyT(func(v LookupAtCustomerCccInfrastructureResult) []GetAtCustomerCccInfrastructureInfrastructureInventory { + return v.InfrastructureInventories + }).(GetAtCustomerCccInfrastructureInfrastructureInventoryArrayOutput) +} + +// Configuration information for the Compute Cloud@Customer infrastructure. This network configuration information cannot be updated and is retrieved from the data center. The information will only be available after the connectionState is transitioned to CONNECTED. +func (o LookupAtCustomerCccInfrastructureResultOutput) InfrastructureNetworkConfigurations() GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationArrayOutput { + return o.ApplyT(func(v LookupAtCustomerCccInfrastructureResult) []GetAtCustomerCccInfrastructureInfrastructureNetworkConfiguration { + return v.InfrastructureNetworkConfigurations + }).(GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationArrayOutput) +} + +// A message describing the current lifecycle state in more detail. For example, this can be used to provide actionable information for a resource that is in a Failed state. +func (o LookupAtCustomerCccInfrastructureResultOutput) LifecycleDetails() pulumi.StringOutput { + return o.ApplyT(func(v LookupAtCustomerCccInfrastructureResult) string { return v.LifecycleDetails }).(pulumi.StringOutput) +} + +// Fingerprint of a Compute Cloud@Customer infrastructure in a data center generated during the initial connection to this resource. The fingerprint should be verified by the administrator when changing the connectionState from REQUEST to READY. +func (o LookupAtCustomerCccInfrastructureResultOutput) ProvisioningFingerprint() pulumi.StringOutput { + return o.ApplyT(func(v LookupAtCustomerCccInfrastructureResult) string { return v.ProvisioningFingerprint }).(pulumi.StringOutput) +} + +// Code that is required for service personnel to connect a Compute Cloud@Customer infrastructure in a data center to this resource. This code will only be available when the connectionState is REJECT (usually at create time of the Compute Cloud@Customer infrastructure). +func (o LookupAtCustomerCccInfrastructureResultOutput) ProvisioningPin() pulumi.StringOutput { + return o.ApplyT(func(v LookupAtCustomerCccInfrastructureResult) string { return v.ProvisioningPin }).(pulumi.StringOutput) +} + +// The Compute Cloud@Customer infrastructure short name. This cannot be changed once created. The short name is used to refer to the infrastructure in several contexts and is unique. +func (o LookupAtCustomerCccInfrastructureResultOutput) ShortName() pulumi.StringOutput { + return o.ApplyT(func(v LookupAtCustomerCccInfrastructureResult) string { return v.ShortName }).(pulumi.StringOutput) +} + +// The current state of the Compute Cloud@Customer infrastructure. +func (o LookupAtCustomerCccInfrastructureResultOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v LookupAtCustomerCccInfrastructureResult) string { return v.State }).(pulumi.StringOutput) +} + +// [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the network subnet that is used to communicate with Compute Cloud@Customer infrastructure. +func (o LookupAtCustomerCccInfrastructureResultOutput) SubnetId() pulumi.StringOutput { + return o.ApplyT(func(v LookupAtCustomerCccInfrastructureResult) string { return v.SubnetId }).(pulumi.StringOutput) +} + +// System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` +func (o LookupAtCustomerCccInfrastructureResultOutput) SystemTags() pulumi.MapOutput { + return o.ApplyT(func(v LookupAtCustomerCccInfrastructureResult) map[string]interface{} { return v.SystemTags }).(pulumi.MapOutput) +} + +// Compute Cloud@Customer infrastructure creation date and time, using an RFC3339 formatted datetime string. +func (o LookupAtCustomerCccInfrastructureResultOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v LookupAtCustomerCccInfrastructureResult) string { return v.TimeCreated }).(pulumi.StringOutput) +} + +// Compute Cloud@Customer infrastructure updated date and time, using an RFC3339 formatted datetime string. +func (o LookupAtCustomerCccInfrastructureResultOutput) TimeUpdated() pulumi.StringOutput { + return o.ApplyT(func(v LookupAtCustomerCccInfrastructureResult) string { return v.TimeUpdated }).(pulumi.StringOutput) +} + +// Upgrade information that relates to a Compute Cloud@Customer infrastructure. This information cannot be updated. +func (o LookupAtCustomerCccInfrastructureResultOutput) UpgradeInformations() GetAtCustomerCccInfrastructureUpgradeInformationArrayOutput { + return o.ApplyT(func(v LookupAtCustomerCccInfrastructureResult) []GetAtCustomerCccInfrastructureUpgradeInformation { + return v.UpgradeInformations + }).(GetAtCustomerCccInfrastructureUpgradeInformationArrayOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupAtCustomerCccInfrastructureResultOutput{}) +} diff --git a/sdk/go/oci/computecloud/getAtCustomerCccInfrastructures.go b/sdk/go/oci/computecloud/getAtCustomerCccInfrastructures.go new file mode 100644 index 0000000000..4093bb3f5c --- /dev/null +++ b/sdk/go/oci/computecloud/getAtCustomerCccInfrastructures.go @@ -0,0 +1,206 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package computecloud + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-oci/sdk/go/oci/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" +) + +// This data source provides the list of Ccc Infrastructures in Oracle Cloud Infrastructure Compute Cloud At Customer service. +// +// Returns a list of Compute Cloud@Customer infrastructures. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/go/oci/ComputeCloud" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := ComputeCloud.GetAtCustomerCccInfrastructures(ctx, &computecloud.GetAtCustomerCccInfrastructuresArgs{ +// AccessLevel: pulumi.StringRef(_var.Ccc_infrastructure_access_level), +// CccInfrastructureId: pulumi.StringRef(oci_compute_cloud_at_customer_ccc_infrastructure.Test_ccc_infrastructure.Id), +// CompartmentId: pulumi.StringRef(_var.Compartment_id), +// CompartmentIdInSubtree: pulumi.BoolRef(_var.Ccc_infrastructure_compartment_id_in_subtree), +// DisplayName: pulumi.StringRef(_var.Ccc_infrastructure_display_name), +// DisplayNameContains: pulumi.StringRef(_var.Ccc_infrastructure_display_name_contains), +// State: pulumi.StringRef(_var.Ccc_infrastructure_state), +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func GetAtCustomerCccInfrastructures(ctx *pulumi.Context, args *GetAtCustomerCccInfrastructuresArgs, opts ...pulumi.InvokeOption) (*GetAtCustomerCccInfrastructuresResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetAtCustomerCccInfrastructuresResult + err := ctx.Invoke("oci:ComputeCloud/getAtCustomerCccInfrastructures:getAtCustomerCccInfrastructures", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getAtCustomerCccInfrastructures. +type GetAtCustomerCccInfrastructuresArgs struct { + // Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed. + AccessLevel *string `pulumi:"accessLevel"` + // An [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for a Compute Cloud@Customer Infrastructure. + CccInfrastructureId *string `pulumi:"cccInfrastructureId"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + CompartmentId *string `pulumi:"compartmentId"` + // Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and sub-compartments in the tenancy are returned. Depends on the 'accessLevel' setting. + CompartmentIdInSubtree *bool `pulumi:"compartmentIdInSubtree"` + // A filter to return only resources that match the entire display name given. + DisplayName *string `pulumi:"displayName"` + // A filter to return only resources whose display name contains the substring. + DisplayNameContains *string `pulumi:"displayNameContains"` + Filters []GetAtCustomerCccInfrastructuresFilter `pulumi:"filters"` + // A filter used to return only resources that match the given lifecycleState. + State *string `pulumi:"state"` +} + +// A collection of values returned by getAtCustomerCccInfrastructures. +type GetAtCustomerCccInfrastructuresResult struct { + AccessLevel *string `pulumi:"accessLevel"` + // The list of ccc_infrastructure_collection. + CccInfrastructureCollections []GetAtCustomerCccInfrastructuresCccInfrastructureCollection `pulumi:"cccInfrastructureCollections"` + CccInfrastructureId *string `pulumi:"cccInfrastructureId"` + // The infrastructure compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + CompartmentId *string `pulumi:"compartmentId"` + CompartmentIdInSubtree *bool `pulumi:"compartmentIdInSubtree"` + // The name that will be used to display the Compute Cloud@Customer infrastructure in the Oracle Cloud Infrastructure console. Does not have to be unique and can be changed. Avoid entering confidential information. + DisplayName *string `pulumi:"displayName"` + DisplayNameContains *string `pulumi:"displayNameContains"` + Filters []GetAtCustomerCccInfrastructuresFilter `pulumi:"filters"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + // The current state of the Compute Cloud@Customer infrastructure. + State *string `pulumi:"state"` +} + +func GetAtCustomerCccInfrastructuresOutput(ctx *pulumi.Context, args GetAtCustomerCccInfrastructuresOutputArgs, opts ...pulumi.InvokeOption) GetAtCustomerCccInfrastructuresResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetAtCustomerCccInfrastructuresResult, error) { + args := v.(GetAtCustomerCccInfrastructuresArgs) + r, err := GetAtCustomerCccInfrastructures(ctx, &args, opts...) + var s GetAtCustomerCccInfrastructuresResult + if r != nil { + s = *r + } + return s, err + }).(GetAtCustomerCccInfrastructuresResultOutput) +} + +// A collection of arguments for invoking getAtCustomerCccInfrastructures. +type GetAtCustomerCccInfrastructuresOutputArgs struct { + // Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed. + AccessLevel pulumi.StringPtrInput `pulumi:"accessLevel"` + // An [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for a Compute Cloud@Customer Infrastructure. + CccInfrastructureId pulumi.StringPtrInput `pulumi:"cccInfrastructureId"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + CompartmentId pulumi.StringPtrInput `pulumi:"compartmentId"` + // Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and sub-compartments in the tenancy are returned. Depends on the 'accessLevel' setting. + CompartmentIdInSubtree pulumi.BoolPtrInput `pulumi:"compartmentIdInSubtree"` + // A filter to return only resources that match the entire display name given. + DisplayName pulumi.StringPtrInput `pulumi:"displayName"` + // A filter to return only resources whose display name contains the substring. + DisplayNameContains pulumi.StringPtrInput `pulumi:"displayNameContains"` + Filters GetAtCustomerCccInfrastructuresFilterArrayInput `pulumi:"filters"` + // A filter used to return only resources that match the given lifecycleState. + State pulumi.StringPtrInput `pulumi:"state"` +} + +func (GetAtCustomerCccInfrastructuresOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAtCustomerCccInfrastructuresArgs)(nil)).Elem() +} + +// A collection of values returned by getAtCustomerCccInfrastructures. +type GetAtCustomerCccInfrastructuresResultOutput struct{ *pulumi.OutputState } + +func (GetAtCustomerCccInfrastructuresResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAtCustomerCccInfrastructuresResult)(nil)).Elem() +} + +func (o GetAtCustomerCccInfrastructuresResultOutput) ToGetAtCustomerCccInfrastructuresResultOutput() GetAtCustomerCccInfrastructuresResultOutput { + return o +} + +func (o GetAtCustomerCccInfrastructuresResultOutput) ToGetAtCustomerCccInfrastructuresResultOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructuresResultOutput { + return o +} + +func (o GetAtCustomerCccInfrastructuresResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetAtCustomerCccInfrastructuresResult] { + return pulumix.Output[GetAtCustomerCccInfrastructuresResult]{ + OutputState: o.OutputState, + } +} + +func (o GetAtCustomerCccInfrastructuresResultOutput) AccessLevel() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresResult) *string { return v.AccessLevel }).(pulumi.StringPtrOutput) +} + +// The list of ccc_infrastructure_collection. +func (o GetAtCustomerCccInfrastructuresResultOutput) CccInfrastructureCollections() GetAtCustomerCccInfrastructuresCccInfrastructureCollectionArrayOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresResult) []GetAtCustomerCccInfrastructuresCccInfrastructureCollection { + return v.CccInfrastructureCollections + }).(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionArrayOutput) +} + +func (o GetAtCustomerCccInfrastructuresResultOutput) CccInfrastructureId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresResult) *string { return v.CccInfrastructureId }).(pulumi.StringPtrOutput) +} + +// The infrastructure compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +func (o GetAtCustomerCccInfrastructuresResultOutput) CompartmentId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresResult) *string { return v.CompartmentId }).(pulumi.StringPtrOutput) +} + +func (o GetAtCustomerCccInfrastructuresResultOutput) CompartmentIdInSubtree() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresResult) *bool { return v.CompartmentIdInSubtree }).(pulumi.BoolPtrOutput) +} + +// The name that will be used to display the Compute Cloud@Customer infrastructure in the Oracle Cloud Infrastructure console. Does not have to be unique and can be changed. Avoid entering confidential information. +func (o GetAtCustomerCccInfrastructuresResultOutput) DisplayName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresResult) *string { return v.DisplayName }).(pulumi.StringPtrOutput) +} + +func (o GetAtCustomerCccInfrastructuresResultOutput) DisplayNameContains() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresResult) *string { return v.DisplayNameContains }).(pulumi.StringPtrOutput) +} + +func (o GetAtCustomerCccInfrastructuresResultOutput) Filters() GetAtCustomerCccInfrastructuresFilterArrayOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresResult) []GetAtCustomerCccInfrastructuresFilter { + return v.Filters + }).(GetAtCustomerCccInfrastructuresFilterArrayOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetAtCustomerCccInfrastructuresResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresResult) string { return v.Id }).(pulumi.StringOutput) +} + +// The current state of the Compute Cloud@Customer infrastructure. +func (o GetAtCustomerCccInfrastructuresResultOutput) State() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresResult) *string { return v.State }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(GetAtCustomerCccInfrastructuresResultOutput{}) +} diff --git a/sdk/go/oci/computecloud/getAtCustomerCccUpgradeSchedule.go b/sdk/go/oci/computecloud/getAtCustomerCccUpgradeSchedule.go new file mode 100644 index 0000000000..279356293e --- /dev/null +++ b/sdk/go/oci/computecloud/getAtCustomerCccUpgradeSchedule.go @@ -0,0 +1,209 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package computecloud + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-oci/sdk/go/oci/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" +) + +// This data source provides details about a specific Ccc Upgrade Schedule resource in Oracle Cloud Infrastructure Compute Cloud At Customer service. +// +// Gets a Compute Cloud@Customer upgrade schedule by the specified +// [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/go/oci/ComputeCloud" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := ComputeCloud.GetAtCustomerCccUpgradeSchedule(ctx, &computecloud.GetAtCustomerCccUpgradeScheduleArgs{ +// CccUpgradeScheduleId: oci_compute_cloud_at_customer_ccc_upgrade_schedule.Test_ccc_upgrade_schedule.Id, +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func LookupAtCustomerCccUpgradeSchedule(ctx *pulumi.Context, args *LookupAtCustomerCccUpgradeScheduleArgs, opts ...pulumi.InvokeOption) (*LookupAtCustomerCccUpgradeScheduleResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupAtCustomerCccUpgradeScheduleResult + err := ctx.Invoke("oci:ComputeCloud/getAtCustomerCccUpgradeSchedule:getAtCustomerCccUpgradeSchedule", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getAtCustomerCccUpgradeSchedule. +type LookupAtCustomerCccUpgradeScheduleArgs struct { + // Compute Cloud@Customer upgrade schedule [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + CccUpgradeScheduleId string `pulumi:"cccUpgradeScheduleId"` +} + +// A collection of values returned by getAtCustomerCccUpgradeSchedule. +type LookupAtCustomerCccUpgradeScheduleResult struct { + CccUpgradeScheduleId string `pulumi:"cccUpgradeScheduleId"` + // Compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Compute Cloud@Customer upgrade schedule. + CompartmentId string `pulumi:"compartmentId"` + // Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + DefinedTags map[string]interface{} `pulumi:"definedTags"` + // A description of the Compute Cloud@Customer upgrade schedule time block. + Description string `pulumi:"description"` + // Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information. + DisplayName string `pulumi:"displayName"` + // List of preferred times for Compute Cloud@Customer infrastructures associated with this schedule to be upgraded. + Events []GetAtCustomerCccUpgradeScheduleEvent `pulumi:"events"` + // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + FreeformTags map[string]interface{} `pulumi:"freeformTags"` + // Upgrade schedule [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). This cannot be changed once created. + Id string `pulumi:"id"` + // List of Compute Cloud@Customer infrastructure [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that are using this upgrade schedule. + InfrastructureIds []string `pulumi:"infrastructureIds"` + // A message describing the current state in more detail. For example, the message can be used to provide actionable information for a resource in a Failed state. + LifecycleDetails string `pulumi:"lifecycleDetails"` + // Lifecycle state of the resource. + State string `pulumi:"state"` + // System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + SystemTags map[string]interface{} `pulumi:"systemTags"` + // The time the upgrade schedule was created, using an RFC3339 formatted datetime string. + TimeCreated string `pulumi:"timeCreated"` + // The time the upgrade schedule was updated, using an RFC3339 formatted datetime string. + TimeUpdated string `pulumi:"timeUpdated"` +} + +func LookupAtCustomerCccUpgradeScheduleOutput(ctx *pulumi.Context, args LookupAtCustomerCccUpgradeScheduleOutputArgs, opts ...pulumi.InvokeOption) LookupAtCustomerCccUpgradeScheduleResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupAtCustomerCccUpgradeScheduleResult, error) { + args := v.(LookupAtCustomerCccUpgradeScheduleArgs) + r, err := LookupAtCustomerCccUpgradeSchedule(ctx, &args, opts...) + var s LookupAtCustomerCccUpgradeScheduleResult + if r != nil { + s = *r + } + return s, err + }).(LookupAtCustomerCccUpgradeScheduleResultOutput) +} + +// A collection of arguments for invoking getAtCustomerCccUpgradeSchedule. +type LookupAtCustomerCccUpgradeScheduleOutputArgs struct { + // Compute Cloud@Customer upgrade schedule [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + CccUpgradeScheduleId pulumi.StringInput `pulumi:"cccUpgradeScheduleId"` +} + +func (LookupAtCustomerCccUpgradeScheduleOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupAtCustomerCccUpgradeScheduleArgs)(nil)).Elem() +} + +// A collection of values returned by getAtCustomerCccUpgradeSchedule. +type LookupAtCustomerCccUpgradeScheduleResultOutput struct{ *pulumi.OutputState } + +func (LookupAtCustomerCccUpgradeScheduleResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupAtCustomerCccUpgradeScheduleResult)(nil)).Elem() +} + +func (o LookupAtCustomerCccUpgradeScheduleResultOutput) ToLookupAtCustomerCccUpgradeScheduleResultOutput() LookupAtCustomerCccUpgradeScheduleResultOutput { + return o +} + +func (o LookupAtCustomerCccUpgradeScheduleResultOutput) ToLookupAtCustomerCccUpgradeScheduleResultOutputWithContext(ctx context.Context) LookupAtCustomerCccUpgradeScheduleResultOutput { + return o +} + +func (o LookupAtCustomerCccUpgradeScheduleResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAtCustomerCccUpgradeScheduleResult] { + return pulumix.Output[LookupAtCustomerCccUpgradeScheduleResult]{ + OutputState: o.OutputState, + } +} + +func (o LookupAtCustomerCccUpgradeScheduleResultOutput) CccUpgradeScheduleId() pulumi.StringOutput { + return o.ApplyT(func(v LookupAtCustomerCccUpgradeScheduleResult) string { return v.CccUpgradeScheduleId }).(pulumi.StringOutput) +} + +// Compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Compute Cloud@Customer upgrade schedule. +func (o LookupAtCustomerCccUpgradeScheduleResultOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v LookupAtCustomerCccUpgradeScheduleResult) string { return v.CompartmentId }).(pulumi.StringOutput) +} + +// Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` +func (o LookupAtCustomerCccUpgradeScheduleResultOutput) DefinedTags() pulumi.MapOutput { + return o.ApplyT(func(v LookupAtCustomerCccUpgradeScheduleResult) map[string]interface{} { return v.DefinedTags }).(pulumi.MapOutput) +} + +// A description of the Compute Cloud@Customer upgrade schedule time block. +func (o LookupAtCustomerCccUpgradeScheduleResultOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v LookupAtCustomerCccUpgradeScheduleResult) string { return v.Description }).(pulumi.StringOutput) +} + +// Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information. +func (o LookupAtCustomerCccUpgradeScheduleResultOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v LookupAtCustomerCccUpgradeScheduleResult) string { return v.DisplayName }).(pulumi.StringOutput) +} + +// List of preferred times for Compute Cloud@Customer infrastructures associated with this schedule to be upgraded. +func (o LookupAtCustomerCccUpgradeScheduleResultOutput) Events() GetAtCustomerCccUpgradeScheduleEventArrayOutput { + return o.ApplyT(func(v LookupAtCustomerCccUpgradeScheduleResult) []GetAtCustomerCccUpgradeScheduleEvent { + return v.Events + }).(GetAtCustomerCccUpgradeScheduleEventArrayOutput) +} + +// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` +func (o LookupAtCustomerCccUpgradeScheduleResultOutput) FreeformTags() pulumi.MapOutput { + return o.ApplyT(func(v LookupAtCustomerCccUpgradeScheduleResult) map[string]interface{} { return v.FreeformTags }).(pulumi.MapOutput) +} + +// Upgrade schedule [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). This cannot be changed once created. +func (o LookupAtCustomerCccUpgradeScheduleResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupAtCustomerCccUpgradeScheduleResult) string { return v.Id }).(pulumi.StringOutput) +} + +// List of Compute Cloud@Customer infrastructure [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that are using this upgrade schedule. +func (o LookupAtCustomerCccUpgradeScheduleResultOutput) InfrastructureIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v LookupAtCustomerCccUpgradeScheduleResult) []string { return v.InfrastructureIds }).(pulumi.StringArrayOutput) +} + +// A message describing the current state in more detail. For example, the message can be used to provide actionable information for a resource in a Failed state. +func (o LookupAtCustomerCccUpgradeScheduleResultOutput) LifecycleDetails() pulumi.StringOutput { + return o.ApplyT(func(v LookupAtCustomerCccUpgradeScheduleResult) string { return v.LifecycleDetails }).(pulumi.StringOutput) +} + +// Lifecycle state of the resource. +func (o LookupAtCustomerCccUpgradeScheduleResultOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v LookupAtCustomerCccUpgradeScheduleResult) string { return v.State }).(pulumi.StringOutput) +} + +// System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` +func (o LookupAtCustomerCccUpgradeScheduleResultOutput) SystemTags() pulumi.MapOutput { + return o.ApplyT(func(v LookupAtCustomerCccUpgradeScheduleResult) map[string]interface{} { return v.SystemTags }).(pulumi.MapOutput) +} + +// The time the upgrade schedule was created, using an RFC3339 formatted datetime string. +func (o LookupAtCustomerCccUpgradeScheduleResultOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v LookupAtCustomerCccUpgradeScheduleResult) string { return v.TimeCreated }).(pulumi.StringOutput) +} + +// The time the upgrade schedule was updated, using an RFC3339 formatted datetime string. +func (o LookupAtCustomerCccUpgradeScheduleResultOutput) TimeUpdated() pulumi.StringOutput { + return o.ApplyT(func(v LookupAtCustomerCccUpgradeScheduleResult) string { return v.TimeUpdated }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupAtCustomerCccUpgradeScheduleResultOutput{}) +} diff --git a/sdk/go/oci/computecloud/getAtCustomerCccUpgradeSchedules.go b/sdk/go/oci/computecloud/getAtCustomerCccUpgradeSchedules.go new file mode 100644 index 0000000000..b66dc13275 --- /dev/null +++ b/sdk/go/oci/computecloud/getAtCustomerCccUpgradeSchedules.go @@ -0,0 +1,206 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package computecloud + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-oci/sdk/go/oci/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" +) + +// This data source provides the list of Ccc Upgrade Schedules in Oracle Cloud Infrastructure Compute Cloud At Customer service. +// +// Returns a list of Compute Cloud@Customer upgrade schedules. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/go/oci/ComputeCloud" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := ComputeCloud.GetAtCustomerCccUpgradeSchedules(ctx, &computecloud.GetAtCustomerCccUpgradeSchedulesArgs{ +// AccessLevel: pulumi.StringRef(_var.Ccc_upgrade_schedule_access_level), +// CccUpgradeScheduleId: pulumi.StringRef(oci_compute_cloud_at_customer_ccc_upgrade_schedule.Test_ccc_upgrade_schedule.Id), +// CompartmentId: pulumi.StringRef(_var.Compartment_id), +// CompartmentIdInSubtree: pulumi.BoolRef(_var.Ccc_upgrade_schedule_compartment_id_in_subtree), +// DisplayName: pulumi.StringRef(_var.Ccc_upgrade_schedule_display_name), +// DisplayNameContains: pulumi.StringRef(_var.Ccc_upgrade_schedule_display_name_contains), +// State: pulumi.StringRef(_var.Ccc_upgrade_schedule_state), +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func GetAtCustomerCccUpgradeSchedules(ctx *pulumi.Context, args *GetAtCustomerCccUpgradeSchedulesArgs, opts ...pulumi.InvokeOption) (*GetAtCustomerCccUpgradeSchedulesResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetAtCustomerCccUpgradeSchedulesResult + err := ctx.Invoke("oci:ComputeCloud/getAtCustomerCccUpgradeSchedules:getAtCustomerCccUpgradeSchedules", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getAtCustomerCccUpgradeSchedules. +type GetAtCustomerCccUpgradeSchedulesArgs struct { + // Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed. + AccessLevel *string `pulumi:"accessLevel"` + // Compute Cloud@Customer upgrade schedule [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + CccUpgradeScheduleId *string `pulumi:"cccUpgradeScheduleId"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + CompartmentId *string `pulumi:"compartmentId"` + // Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and sub-compartments in the tenancy are returned. Depends on the 'accessLevel' setting. + CompartmentIdInSubtree *bool `pulumi:"compartmentIdInSubtree"` + // A filter to return only resources that match the entire display name given. + DisplayName *string `pulumi:"displayName"` + // A filter to return only resources whose display name contains the substring. + DisplayNameContains *string `pulumi:"displayNameContains"` + Filters []GetAtCustomerCccUpgradeSchedulesFilter `pulumi:"filters"` + // A filter to return resources only when their lifecycleState matches the given lifecycleState. + State *string `pulumi:"state"` +} + +// A collection of values returned by getAtCustomerCccUpgradeSchedules. +type GetAtCustomerCccUpgradeSchedulesResult struct { + AccessLevel *string `pulumi:"accessLevel"` + // The list of ccc_upgrade_schedule_collection. + CccUpgradeScheduleCollections []GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollection `pulumi:"cccUpgradeScheduleCollections"` + CccUpgradeScheduleId *string `pulumi:"cccUpgradeScheduleId"` + // Compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Compute Cloud@Customer upgrade schedule. + CompartmentId *string `pulumi:"compartmentId"` + CompartmentIdInSubtree *bool `pulumi:"compartmentIdInSubtree"` + // Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information. + DisplayName *string `pulumi:"displayName"` + DisplayNameContains *string `pulumi:"displayNameContains"` + Filters []GetAtCustomerCccUpgradeSchedulesFilter `pulumi:"filters"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + // Lifecycle state of the resource. + State *string `pulumi:"state"` +} + +func GetAtCustomerCccUpgradeSchedulesOutput(ctx *pulumi.Context, args GetAtCustomerCccUpgradeSchedulesOutputArgs, opts ...pulumi.InvokeOption) GetAtCustomerCccUpgradeSchedulesResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetAtCustomerCccUpgradeSchedulesResult, error) { + args := v.(GetAtCustomerCccUpgradeSchedulesArgs) + r, err := GetAtCustomerCccUpgradeSchedules(ctx, &args, opts...) + var s GetAtCustomerCccUpgradeSchedulesResult + if r != nil { + s = *r + } + return s, err + }).(GetAtCustomerCccUpgradeSchedulesResultOutput) +} + +// A collection of arguments for invoking getAtCustomerCccUpgradeSchedules. +type GetAtCustomerCccUpgradeSchedulesOutputArgs struct { + // Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed. + AccessLevel pulumi.StringPtrInput `pulumi:"accessLevel"` + // Compute Cloud@Customer upgrade schedule [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + CccUpgradeScheduleId pulumi.StringPtrInput `pulumi:"cccUpgradeScheduleId"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + CompartmentId pulumi.StringPtrInput `pulumi:"compartmentId"` + // Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and sub-compartments in the tenancy are returned. Depends on the 'accessLevel' setting. + CompartmentIdInSubtree pulumi.BoolPtrInput `pulumi:"compartmentIdInSubtree"` + // A filter to return only resources that match the entire display name given. + DisplayName pulumi.StringPtrInput `pulumi:"displayName"` + // A filter to return only resources whose display name contains the substring. + DisplayNameContains pulumi.StringPtrInput `pulumi:"displayNameContains"` + Filters GetAtCustomerCccUpgradeSchedulesFilterArrayInput `pulumi:"filters"` + // A filter to return resources only when their lifecycleState matches the given lifecycleState. + State pulumi.StringPtrInput `pulumi:"state"` +} + +func (GetAtCustomerCccUpgradeSchedulesOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAtCustomerCccUpgradeSchedulesArgs)(nil)).Elem() +} + +// A collection of values returned by getAtCustomerCccUpgradeSchedules. +type GetAtCustomerCccUpgradeSchedulesResultOutput struct{ *pulumi.OutputState } + +func (GetAtCustomerCccUpgradeSchedulesResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAtCustomerCccUpgradeSchedulesResult)(nil)).Elem() +} + +func (o GetAtCustomerCccUpgradeSchedulesResultOutput) ToGetAtCustomerCccUpgradeSchedulesResultOutput() GetAtCustomerCccUpgradeSchedulesResultOutput { + return o +} + +func (o GetAtCustomerCccUpgradeSchedulesResultOutput) ToGetAtCustomerCccUpgradeSchedulesResultOutputWithContext(ctx context.Context) GetAtCustomerCccUpgradeSchedulesResultOutput { + return o +} + +func (o GetAtCustomerCccUpgradeSchedulesResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetAtCustomerCccUpgradeSchedulesResult] { + return pulumix.Output[GetAtCustomerCccUpgradeSchedulesResult]{ + OutputState: o.OutputState, + } +} + +func (o GetAtCustomerCccUpgradeSchedulesResultOutput) AccessLevel() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetAtCustomerCccUpgradeSchedulesResult) *string { return v.AccessLevel }).(pulumi.StringPtrOutput) +} + +// The list of ccc_upgrade_schedule_collection. +func (o GetAtCustomerCccUpgradeSchedulesResultOutput) CccUpgradeScheduleCollections() GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionArrayOutput { + return o.ApplyT(func(v GetAtCustomerCccUpgradeSchedulesResult) []GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollection { + return v.CccUpgradeScheduleCollections + }).(GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionArrayOutput) +} + +func (o GetAtCustomerCccUpgradeSchedulesResultOutput) CccUpgradeScheduleId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetAtCustomerCccUpgradeSchedulesResult) *string { return v.CccUpgradeScheduleId }).(pulumi.StringPtrOutput) +} + +// Compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Compute Cloud@Customer upgrade schedule. +func (o GetAtCustomerCccUpgradeSchedulesResultOutput) CompartmentId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetAtCustomerCccUpgradeSchedulesResult) *string { return v.CompartmentId }).(pulumi.StringPtrOutput) +} + +func (o GetAtCustomerCccUpgradeSchedulesResultOutput) CompartmentIdInSubtree() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetAtCustomerCccUpgradeSchedulesResult) *bool { return v.CompartmentIdInSubtree }).(pulumi.BoolPtrOutput) +} + +// Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information. +func (o GetAtCustomerCccUpgradeSchedulesResultOutput) DisplayName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetAtCustomerCccUpgradeSchedulesResult) *string { return v.DisplayName }).(pulumi.StringPtrOutput) +} + +func (o GetAtCustomerCccUpgradeSchedulesResultOutput) DisplayNameContains() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetAtCustomerCccUpgradeSchedulesResult) *string { return v.DisplayNameContains }).(pulumi.StringPtrOutput) +} + +func (o GetAtCustomerCccUpgradeSchedulesResultOutput) Filters() GetAtCustomerCccUpgradeSchedulesFilterArrayOutput { + return o.ApplyT(func(v GetAtCustomerCccUpgradeSchedulesResult) []GetAtCustomerCccUpgradeSchedulesFilter { + return v.Filters + }).(GetAtCustomerCccUpgradeSchedulesFilterArrayOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetAtCustomerCccUpgradeSchedulesResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetAtCustomerCccUpgradeSchedulesResult) string { return v.Id }).(pulumi.StringOutput) +} + +// Lifecycle state of the resource. +func (o GetAtCustomerCccUpgradeSchedulesResultOutput) State() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetAtCustomerCccUpgradeSchedulesResult) *string { return v.State }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(GetAtCustomerCccUpgradeSchedulesResultOutput{}) +} diff --git a/sdk/go/oci/computecloud/init.go b/sdk/go/oci/computecloud/init.go new file mode 100644 index 0000000000..5c7451dc8c --- /dev/null +++ b/sdk/go/oci/computecloud/init.go @@ -0,0 +1,51 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package computecloud + +import ( + "fmt" + + "github.com/blang/semver" + "github.com/pulumi/pulumi-oci/sdk/go/oci/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +type module struct { + version semver.Version +} + +func (m *module) Version() semver.Version { + return m.version +} + +func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi.Resource, err error) { + switch typ { + case "oci:ComputeCloud/atCustomerCccInfrastructure:AtCustomerCccInfrastructure": + r = &AtCustomerCccInfrastructure{} + case "oci:ComputeCloud/atCustomerCccUpgradeSchedule:AtCustomerCccUpgradeSchedule": + r = &AtCustomerCccUpgradeSchedule{} + default: + return nil, fmt.Errorf("unknown resource type: %s", typ) + } + + err = ctx.RegisterResource(typ, name, nil, r, pulumi.URN_(urn)) + return +} + +func init() { + version, err := internal.PkgVersion() + if err != nil { + version = semver.Version{Major: 1} + } + pulumi.RegisterResourceModule( + "oci", + "ComputeCloud/atCustomerCccInfrastructure", + &module{version}, + ) + pulumi.RegisterResourceModule( + "oci", + "ComputeCloud/atCustomerCccUpgradeSchedule", + &module{version}, + ) +} diff --git a/sdk/go/oci/computecloud/pulumiTypes.go b/sdk/go/oci/computecloud/pulumiTypes.go new file mode 100644 index 0000000000..80254b10c6 --- /dev/null +++ b/sdk/go/oci/computecloud/pulumiTypes.go @@ -0,0 +1,5065 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package computecloud + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-oci/sdk/go/oci/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" +) + +var _ = internal.GetEnvOrDefault + +type AtCustomerCccInfrastructureInfrastructureInventory struct { + // The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for capacity storage. + CapacityStorageTrayCount *int `pulumi:"capacityStorageTrayCount"` + // The number of compute nodes that are available and usable on the Compute Cloud@Customer infrastructure rack. There is no distinction of compute node type in this information. + ComputeNodeCount *int `pulumi:"computeNodeCount"` + // The number of management nodes that are available and in active use on the Compute Cloud@Customer infrastructure rack. + ManagementNodeCount *int `pulumi:"managementNodeCount"` + // The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for performance storage. + PerformanceStorageTrayCount *int `pulumi:"performanceStorageTrayCount"` + // The serial number of the Compute Cloud@Customer infrastructure rack. + SerialNumber *string `pulumi:"serialNumber"` +} + +// AtCustomerCccInfrastructureInfrastructureInventoryInput is an input type that accepts AtCustomerCccInfrastructureInfrastructureInventoryArgs and AtCustomerCccInfrastructureInfrastructureInventoryOutput values. +// You can construct a concrete instance of `AtCustomerCccInfrastructureInfrastructureInventoryInput` via: +// +// AtCustomerCccInfrastructureInfrastructureInventoryArgs{...} +type AtCustomerCccInfrastructureInfrastructureInventoryInput interface { + pulumi.Input + + ToAtCustomerCccInfrastructureInfrastructureInventoryOutput() AtCustomerCccInfrastructureInfrastructureInventoryOutput + ToAtCustomerCccInfrastructureInfrastructureInventoryOutputWithContext(context.Context) AtCustomerCccInfrastructureInfrastructureInventoryOutput +} + +type AtCustomerCccInfrastructureInfrastructureInventoryArgs struct { + // The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for capacity storage. + CapacityStorageTrayCount pulumi.IntPtrInput `pulumi:"capacityStorageTrayCount"` + // The number of compute nodes that are available and usable on the Compute Cloud@Customer infrastructure rack. There is no distinction of compute node type in this information. + ComputeNodeCount pulumi.IntPtrInput `pulumi:"computeNodeCount"` + // The number of management nodes that are available and in active use on the Compute Cloud@Customer infrastructure rack. + ManagementNodeCount pulumi.IntPtrInput `pulumi:"managementNodeCount"` + // The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for performance storage. + PerformanceStorageTrayCount pulumi.IntPtrInput `pulumi:"performanceStorageTrayCount"` + // The serial number of the Compute Cloud@Customer infrastructure rack. + SerialNumber pulumi.StringPtrInput `pulumi:"serialNumber"` +} + +func (AtCustomerCccInfrastructureInfrastructureInventoryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AtCustomerCccInfrastructureInfrastructureInventory)(nil)).Elem() +} + +func (i AtCustomerCccInfrastructureInfrastructureInventoryArgs) ToAtCustomerCccInfrastructureInfrastructureInventoryOutput() AtCustomerCccInfrastructureInfrastructureInventoryOutput { + return i.ToAtCustomerCccInfrastructureInfrastructureInventoryOutputWithContext(context.Background()) +} + +func (i AtCustomerCccInfrastructureInfrastructureInventoryArgs) ToAtCustomerCccInfrastructureInfrastructureInventoryOutputWithContext(ctx context.Context) AtCustomerCccInfrastructureInfrastructureInventoryOutput { + return pulumi.ToOutputWithContext(ctx, i).(AtCustomerCccInfrastructureInfrastructureInventoryOutput) +} + +func (i AtCustomerCccInfrastructureInfrastructureInventoryArgs) ToOutput(ctx context.Context) pulumix.Output[AtCustomerCccInfrastructureInfrastructureInventory] { + return pulumix.Output[AtCustomerCccInfrastructureInfrastructureInventory]{ + OutputState: i.ToAtCustomerCccInfrastructureInfrastructureInventoryOutputWithContext(ctx).OutputState, + } +} + +// AtCustomerCccInfrastructureInfrastructureInventoryArrayInput is an input type that accepts AtCustomerCccInfrastructureInfrastructureInventoryArray and AtCustomerCccInfrastructureInfrastructureInventoryArrayOutput values. +// You can construct a concrete instance of `AtCustomerCccInfrastructureInfrastructureInventoryArrayInput` via: +// +// AtCustomerCccInfrastructureInfrastructureInventoryArray{ AtCustomerCccInfrastructureInfrastructureInventoryArgs{...} } +type AtCustomerCccInfrastructureInfrastructureInventoryArrayInput interface { + pulumi.Input + + ToAtCustomerCccInfrastructureInfrastructureInventoryArrayOutput() AtCustomerCccInfrastructureInfrastructureInventoryArrayOutput + ToAtCustomerCccInfrastructureInfrastructureInventoryArrayOutputWithContext(context.Context) AtCustomerCccInfrastructureInfrastructureInventoryArrayOutput +} + +type AtCustomerCccInfrastructureInfrastructureInventoryArray []AtCustomerCccInfrastructureInfrastructureInventoryInput + +func (AtCustomerCccInfrastructureInfrastructureInventoryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]AtCustomerCccInfrastructureInfrastructureInventory)(nil)).Elem() +} + +func (i AtCustomerCccInfrastructureInfrastructureInventoryArray) ToAtCustomerCccInfrastructureInfrastructureInventoryArrayOutput() AtCustomerCccInfrastructureInfrastructureInventoryArrayOutput { + return i.ToAtCustomerCccInfrastructureInfrastructureInventoryArrayOutputWithContext(context.Background()) +} + +func (i AtCustomerCccInfrastructureInfrastructureInventoryArray) ToAtCustomerCccInfrastructureInfrastructureInventoryArrayOutputWithContext(ctx context.Context) AtCustomerCccInfrastructureInfrastructureInventoryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(AtCustomerCccInfrastructureInfrastructureInventoryArrayOutput) +} + +func (i AtCustomerCccInfrastructureInfrastructureInventoryArray) ToOutput(ctx context.Context) pulumix.Output[[]AtCustomerCccInfrastructureInfrastructureInventory] { + return pulumix.Output[[]AtCustomerCccInfrastructureInfrastructureInventory]{ + OutputState: i.ToAtCustomerCccInfrastructureInfrastructureInventoryArrayOutputWithContext(ctx).OutputState, + } +} + +type AtCustomerCccInfrastructureInfrastructureInventoryOutput struct{ *pulumi.OutputState } + +func (AtCustomerCccInfrastructureInfrastructureInventoryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AtCustomerCccInfrastructureInfrastructureInventory)(nil)).Elem() +} + +func (o AtCustomerCccInfrastructureInfrastructureInventoryOutput) ToAtCustomerCccInfrastructureInfrastructureInventoryOutput() AtCustomerCccInfrastructureInfrastructureInventoryOutput { + return o +} + +func (o AtCustomerCccInfrastructureInfrastructureInventoryOutput) ToAtCustomerCccInfrastructureInfrastructureInventoryOutputWithContext(ctx context.Context) AtCustomerCccInfrastructureInfrastructureInventoryOutput { + return o +} + +func (o AtCustomerCccInfrastructureInfrastructureInventoryOutput) ToOutput(ctx context.Context) pulumix.Output[AtCustomerCccInfrastructureInfrastructureInventory] { + return pulumix.Output[AtCustomerCccInfrastructureInfrastructureInventory]{ + OutputState: o.OutputState, + } +} + +// The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for capacity storage. +func (o AtCustomerCccInfrastructureInfrastructureInventoryOutput) CapacityStorageTrayCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v AtCustomerCccInfrastructureInfrastructureInventory) *int { return v.CapacityStorageTrayCount }).(pulumi.IntPtrOutput) +} + +// The number of compute nodes that are available and usable on the Compute Cloud@Customer infrastructure rack. There is no distinction of compute node type in this information. +func (o AtCustomerCccInfrastructureInfrastructureInventoryOutput) ComputeNodeCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v AtCustomerCccInfrastructureInfrastructureInventory) *int { return v.ComputeNodeCount }).(pulumi.IntPtrOutput) +} + +// The number of management nodes that are available and in active use on the Compute Cloud@Customer infrastructure rack. +func (o AtCustomerCccInfrastructureInfrastructureInventoryOutput) ManagementNodeCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v AtCustomerCccInfrastructureInfrastructureInventory) *int { return v.ManagementNodeCount }).(pulumi.IntPtrOutput) +} + +// The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for performance storage. +func (o AtCustomerCccInfrastructureInfrastructureInventoryOutput) PerformanceStorageTrayCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v AtCustomerCccInfrastructureInfrastructureInventory) *int { return v.PerformanceStorageTrayCount }).(pulumi.IntPtrOutput) +} + +// The serial number of the Compute Cloud@Customer infrastructure rack. +func (o AtCustomerCccInfrastructureInfrastructureInventoryOutput) SerialNumber() pulumi.StringPtrOutput { + return o.ApplyT(func(v AtCustomerCccInfrastructureInfrastructureInventory) *string { return v.SerialNumber }).(pulumi.StringPtrOutput) +} + +type AtCustomerCccInfrastructureInfrastructureInventoryArrayOutput struct{ *pulumi.OutputState } + +func (AtCustomerCccInfrastructureInfrastructureInventoryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]AtCustomerCccInfrastructureInfrastructureInventory)(nil)).Elem() +} + +func (o AtCustomerCccInfrastructureInfrastructureInventoryArrayOutput) ToAtCustomerCccInfrastructureInfrastructureInventoryArrayOutput() AtCustomerCccInfrastructureInfrastructureInventoryArrayOutput { + return o +} + +func (o AtCustomerCccInfrastructureInfrastructureInventoryArrayOutput) ToAtCustomerCccInfrastructureInfrastructureInventoryArrayOutputWithContext(ctx context.Context) AtCustomerCccInfrastructureInfrastructureInventoryArrayOutput { + return o +} + +func (o AtCustomerCccInfrastructureInfrastructureInventoryArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AtCustomerCccInfrastructureInfrastructureInventory] { + return pulumix.Output[[]AtCustomerCccInfrastructureInfrastructureInventory]{ + OutputState: o.OutputState, + } +} + +func (o AtCustomerCccInfrastructureInfrastructureInventoryArrayOutput) Index(i pulumi.IntInput) AtCustomerCccInfrastructureInfrastructureInventoryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) AtCustomerCccInfrastructureInfrastructureInventory { + return vs[0].([]AtCustomerCccInfrastructureInfrastructureInventory)[vs[1].(int)] + }).(AtCustomerCccInfrastructureInfrastructureInventoryOutput) +} + +type AtCustomerCccInfrastructureInfrastructureNetworkConfiguration struct { + // The domain name system (DNS) addresses that the Compute Cloud@Customer infrastructure uses for the data center network. + DnsIps []string `pulumi:"dnsIps"` + // Dynamic routing information for the Compute Cloud@Customer infrastructure. + InfrastructureRoutingDynamics []AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic `pulumi:"infrastructureRoutingDynamics"` + // Static routing information for a rack. + InfrastructureRoutingStatics []AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic `pulumi:"infrastructureRoutingStatics"` + // Information about the management nodes that are provisioned in the Compute Cloud@Customer infrastructure. + ManagementNodes []AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode `pulumi:"managementNodes"` + // The hostname corresponding to the virtual IP (VIP) address of the management nodes. + MgmtVipHostname *string `pulumi:"mgmtVipHostname"` + // The IP address used as the virtual IP (VIP) address of the management nodes. + MgmtVipIp *string `pulumi:"mgmtVipIp"` + // Addresses of the network spine switches. + SpineIps []string `pulumi:"spineIps"` + // The spine switch public virtual IP (VIP). Traffic routed to the Compute Cloud@Customer infrastructure and and virtual cloud networks (VCNs) should have this address as next hop. + SpineVip *string `pulumi:"spineVip"` + // Domain name to be used as the base domain for the internal network and by public facing services. + UplinkDomain *string `pulumi:"uplinkDomain"` + // Uplink gateway in the datacenter network that the Compute Cloud@Customer connects to. + UplinkGatewayIp *string `pulumi:"uplinkGatewayIp"` + // Netmask of the subnet that the Compute Cloud@Customer infrastructure is connected to. + UplinkNetmask *string `pulumi:"uplinkNetmask"` + // Number of uplink ports per spine switch. Connectivity is identical on both spine switches. For example, if input is two 100 gigabyte ports; then port-1 and port-2 on both spines will be configured. + UplinkPortCount *int `pulumi:"uplinkPortCount"` + // The port forward error correction (FEC) setting for the uplink port on the Compute Cloud@Customer infrastructure. + UplinkPortForwardErrorCorrection *string `pulumi:"uplinkPortForwardErrorCorrection"` + // Uplink port speed defined in gigabytes per second. All uplink ports must have identical speed. + UplinkPortSpeedInGbps *int `pulumi:"uplinkPortSpeedInGbps"` + // The virtual local area network (VLAN) maximum transmission unit (MTU) size for the uplink ports. + UplinkVlanMtu *int `pulumi:"uplinkVlanMtu"` +} + +// AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInput is an input type that accepts AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArgs and AtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput values. +// You can construct a concrete instance of `AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInput` via: +// +// AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArgs{...} +type AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInput interface { + pulumi.Input + + ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput() AtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput + ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutputWithContext(context.Context) AtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput +} + +type AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArgs struct { + // The domain name system (DNS) addresses that the Compute Cloud@Customer infrastructure uses for the data center network. + DnsIps pulumi.StringArrayInput `pulumi:"dnsIps"` + // Dynamic routing information for the Compute Cloud@Customer infrastructure. + InfrastructureRoutingDynamics AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayInput `pulumi:"infrastructureRoutingDynamics"` + // Static routing information for a rack. + InfrastructureRoutingStatics AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayInput `pulumi:"infrastructureRoutingStatics"` + // Information about the management nodes that are provisioned in the Compute Cloud@Customer infrastructure. + ManagementNodes AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArrayInput `pulumi:"managementNodes"` + // The hostname corresponding to the virtual IP (VIP) address of the management nodes. + MgmtVipHostname pulumi.StringPtrInput `pulumi:"mgmtVipHostname"` + // The IP address used as the virtual IP (VIP) address of the management nodes. + MgmtVipIp pulumi.StringPtrInput `pulumi:"mgmtVipIp"` + // Addresses of the network spine switches. + SpineIps pulumi.StringArrayInput `pulumi:"spineIps"` + // The spine switch public virtual IP (VIP). Traffic routed to the Compute Cloud@Customer infrastructure and and virtual cloud networks (VCNs) should have this address as next hop. + SpineVip pulumi.StringPtrInput `pulumi:"spineVip"` + // Domain name to be used as the base domain for the internal network and by public facing services. + UplinkDomain pulumi.StringPtrInput `pulumi:"uplinkDomain"` + // Uplink gateway in the datacenter network that the Compute Cloud@Customer connects to. + UplinkGatewayIp pulumi.StringPtrInput `pulumi:"uplinkGatewayIp"` + // Netmask of the subnet that the Compute Cloud@Customer infrastructure is connected to. + UplinkNetmask pulumi.StringPtrInput `pulumi:"uplinkNetmask"` + // Number of uplink ports per spine switch. Connectivity is identical on both spine switches. For example, if input is two 100 gigabyte ports; then port-1 and port-2 on both spines will be configured. + UplinkPortCount pulumi.IntPtrInput `pulumi:"uplinkPortCount"` + // The port forward error correction (FEC) setting for the uplink port on the Compute Cloud@Customer infrastructure. + UplinkPortForwardErrorCorrection pulumi.StringPtrInput `pulumi:"uplinkPortForwardErrorCorrection"` + // Uplink port speed defined in gigabytes per second. All uplink ports must have identical speed. + UplinkPortSpeedInGbps pulumi.IntPtrInput `pulumi:"uplinkPortSpeedInGbps"` + // The virtual local area network (VLAN) maximum transmission unit (MTU) size for the uplink ports. + UplinkVlanMtu pulumi.IntPtrInput `pulumi:"uplinkVlanMtu"` +} + +func (AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AtCustomerCccInfrastructureInfrastructureNetworkConfiguration)(nil)).Elem() +} + +func (i AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArgs) ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput() AtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput { + return i.ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutputWithContext(context.Background()) +} + +func (i AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArgs) ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutputWithContext(ctx context.Context) AtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput { + return pulumi.ToOutputWithContext(ctx, i).(AtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput) +} + +func (i AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArgs) ToOutput(ctx context.Context) pulumix.Output[AtCustomerCccInfrastructureInfrastructureNetworkConfiguration] { + return pulumix.Output[AtCustomerCccInfrastructureInfrastructureNetworkConfiguration]{ + OutputState: i.ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutputWithContext(ctx).OutputState, + } +} + +// AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArrayInput is an input type that accepts AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArray and AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArrayOutput values. +// You can construct a concrete instance of `AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArrayInput` via: +// +// AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArray{ AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArgs{...} } +type AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArrayInput interface { + pulumi.Input + + ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationArrayOutput() AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArrayOutput + ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationArrayOutputWithContext(context.Context) AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArrayOutput +} + +type AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArray []AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInput + +func (AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]AtCustomerCccInfrastructureInfrastructureNetworkConfiguration)(nil)).Elem() +} + +func (i AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArray) ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationArrayOutput() AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArrayOutput { + return i.ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationArrayOutputWithContext(context.Background()) +} + +func (i AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArray) ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationArrayOutputWithContext(ctx context.Context) AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArrayOutput) +} + +func (i AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArray) ToOutput(ctx context.Context) pulumix.Output[[]AtCustomerCccInfrastructureInfrastructureNetworkConfiguration] { + return pulumix.Output[[]AtCustomerCccInfrastructureInfrastructureNetworkConfiguration]{ + OutputState: i.ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationArrayOutputWithContext(ctx).OutputState, + } +} + +type AtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput struct{ *pulumi.OutputState } + +func (AtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AtCustomerCccInfrastructureInfrastructureNetworkConfiguration)(nil)).Elem() +} + +func (o AtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput) ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput() AtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput { + return o +} + +func (o AtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput) ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutputWithContext(ctx context.Context) AtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput { + return o +} + +func (o AtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput) ToOutput(ctx context.Context) pulumix.Output[AtCustomerCccInfrastructureInfrastructureNetworkConfiguration] { + return pulumix.Output[AtCustomerCccInfrastructureInfrastructureNetworkConfiguration]{ + OutputState: o.OutputState, + } +} + +// The domain name system (DNS) addresses that the Compute Cloud@Customer infrastructure uses for the data center network. +func (o AtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput) DnsIps() pulumi.StringArrayOutput { + return o.ApplyT(func(v AtCustomerCccInfrastructureInfrastructureNetworkConfiguration) []string { return v.DnsIps }).(pulumi.StringArrayOutput) +} + +// Dynamic routing information for the Compute Cloud@Customer infrastructure. +func (o AtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput) InfrastructureRoutingDynamics() AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutput { + return o.ApplyT(func(v AtCustomerCccInfrastructureInfrastructureNetworkConfiguration) []AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic { + return v.InfrastructureRoutingDynamics + }).(AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutput) +} + +// Static routing information for a rack. +func (o AtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput) InfrastructureRoutingStatics() AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutput { + return o.ApplyT(func(v AtCustomerCccInfrastructureInfrastructureNetworkConfiguration) []AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic { + return v.InfrastructureRoutingStatics + }).(AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutput) +} + +// Information about the management nodes that are provisioned in the Compute Cloud@Customer infrastructure. +func (o AtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput) ManagementNodes() AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArrayOutput { + return o.ApplyT(func(v AtCustomerCccInfrastructureInfrastructureNetworkConfiguration) []AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode { + return v.ManagementNodes + }).(AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArrayOutput) +} + +// The hostname corresponding to the virtual IP (VIP) address of the management nodes. +func (o AtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput) MgmtVipHostname() pulumi.StringPtrOutput { + return o.ApplyT(func(v AtCustomerCccInfrastructureInfrastructureNetworkConfiguration) *string { + return v.MgmtVipHostname + }).(pulumi.StringPtrOutput) +} + +// The IP address used as the virtual IP (VIP) address of the management nodes. +func (o AtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput) MgmtVipIp() pulumi.StringPtrOutput { + return o.ApplyT(func(v AtCustomerCccInfrastructureInfrastructureNetworkConfiguration) *string { return v.MgmtVipIp }).(pulumi.StringPtrOutput) +} + +// Addresses of the network spine switches. +func (o AtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput) SpineIps() pulumi.StringArrayOutput { + return o.ApplyT(func(v AtCustomerCccInfrastructureInfrastructureNetworkConfiguration) []string { return v.SpineIps }).(pulumi.StringArrayOutput) +} + +// The spine switch public virtual IP (VIP). Traffic routed to the Compute Cloud@Customer infrastructure and and virtual cloud networks (VCNs) should have this address as next hop. +func (o AtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput) SpineVip() pulumi.StringPtrOutput { + return o.ApplyT(func(v AtCustomerCccInfrastructureInfrastructureNetworkConfiguration) *string { return v.SpineVip }).(pulumi.StringPtrOutput) +} + +// Domain name to be used as the base domain for the internal network and by public facing services. +func (o AtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput) UplinkDomain() pulumi.StringPtrOutput { + return o.ApplyT(func(v AtCustomerCccInfrastructureInfrastructureNetworkConfiguration) *string { return v.UplinkDomain }).(pulumi.StringPtrOutput) +} + +// Uplink gateway in the datacenter network that the Compute Cloud@Customer connects to. +func (o AtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput) UplinkGatewayIp() pulumi.StringPtrOutput { + return o.ApplyT(func(v AtCustomerCccInfrastructureInfrastructureNetworkConfiguration) *string { + return v.UplinkGatewayIp + }).(pulumi.StringPtrOutput) +} + +// Netmask of the subnet that the Compute Cloud@Customer infrastructure is connected to. +func (o AtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput) UplinkNetmask() pulumi.StringPtrOutput { + return o.ApplyT(func(v AtCustomerCccInfrastructureInfrastructureNetworkConfiguration) *string { return v.UplinkNetmask }).(pulumi.StringPtrOutput) +} + +// Number of uplink ports per spine switch. Connectivity is identical on both spine switches. For example, if input is two 100 gigabyte ports; then port-1 and port-2 on both spines will be configured. +func (o AtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput) UplinkPortCount() pulumi.IntPtrOutput { + return o.ApplyT(func(v AtCustomerCccInfrastructureInfrastructureNetworkConfiguration) *int { return v.UplinkPortCount }).(pulumi.IntPtrOutput) +} + +// The port forward error correction (FEC) setting for the uplink port on the Compute Cloud@Customer infrastructure. +func (o AtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput) UplinkPortForwardErrorCorrection() pulumi.StringPtrOutput { + return o.ApplyT(func(v AtCustomerCccInfrastructureInfrastructureNetworkConfiguration) *string { + return v.UplinkPortForwardErrorCorrection + }).(pulumi.StringPtrOutput) +} + +// Uplink port speed defined in gigabytes per second. All uplink ports must have identical speed. +func (o AtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput) UplinkPortSpeedInGbps() pulumi.IntPtrOutput { + return o.ApplyT(func(v AtCustomerCccInfrastructureInfrastructureNetworkConfiguration) *int { + return v.UplinkPortSpeedInGbps + }).(pulumi.IntPtrOutput) +} + +// The virtual local area network (VLAN) maximum transmission unit (MTU) size for the uplink ports. +func (o AtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput) UplinkVlanMtu() pulumi.IntPtrOutput { + return o.ApplyT(func(v AtCustomerCccInfrastructureInfrastructureNetworkConfiguration) *int { return v.UplinkVlanMtu }).(pulumi.IntPtrOutput) +} + +type AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArrayOutput struct{ *pulumi.OutputState } + +func (AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]AtCustomerCccInfrastructureInfrastructureNetworkConfiguration)(nil)).Elem() +} + +func (o AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArrayOutput) ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationArrayOutput() AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArrayOutput { + return o +} + +func (o AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArrayOutput) ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationArrayOutputWithContext(ctx context.Context) AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArrayOutput { + return o +} + +func (o AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AtCustomerCccInfrastructureInfrastructureNetworkConfiguration] { + return pulumix.Output[[]AtCustomerCccInfrastructureInfrastructureNetworkConfiguration]{ + OutputState: o.OutputState, + } +} + +func (o AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArrayOutput) Index(i pulumi.IntInput) AtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) AtCustomerCccInfrastructureInfrastructureNetworkConfiguration { + return vs[0].([]AtCustomerCccInfrastructureInfrastructureNetworkConfiguration)[vs[1].(int)] + }).(AtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput) +} + +type AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic struct { + // The topology in use for the Border Gateway Protocol (BGP) configuration. + BgpTopology *string `pulumi:"bgpTopology"` + // The Oracle Autonomous System Number (ASN) to control routing and exchange information within the dynamic routing configuration. + OracleAsn *int `pulumi:"oracleAsn"` + // The list of peer devices in the dynamic routing configuration. + PeerInformations []AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation `pulumi:"peerInformations"` +} + +// AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicInput is an input type that accepts AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArgs and AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutput values. +// You can construct a concrete instance of `AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicInput` via: +// +// AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArgs{...} +type AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicInput interface { + pulumi.Input + + ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutput() AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutput + ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutputWithContext(context.Context) AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutput +} + +type AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArgs struct { + // The topology in use for the Border Gateway Protocol (BGP) configuration. + BgpTopology pulumi.StringPtrInput `pulumi:"bgpTopology"` + // The Oracle Autonomous System Number (ASN) to control routing and exchange information within the dynamic routing configuration. + OracleAsn pulumi.IntPtrInput `pulumi:"oracleAsn"` + // The list of peer devices in the dynamic routing configuration. + PeerInformations AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayInput `pulumi:"peerInformations"` +} + +func (AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic)(nil)).Elem() +} + +func (i AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArgs) ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutput() AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutput { + return i.ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutputWithContext(context.Background()) +} + +func (i AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArgs) ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutputWithContext(ctx context.Context) AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutput { + return pulumi.ToOutputWithContext(ctx, i).(AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutput) +} + +func (i AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArgs) ToOutput(ctx context.Context) pulumix.Output[AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic] { + return pulumix.Output[AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic]{ + OutputState: i.ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutputWithContext(ctx).OutputState, + } +} + +// AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayInput is an input type that accepts AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArray and AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutput values. +// You can construct a concrete instance of `AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayInput` via: +// +// AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArray{ AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArgs{...} } +type AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayInput interface { + pulumi.Input + + ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutput() AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutput + ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutputWithContext(context.Context) AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutput +} + +type AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArray []AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicInput + +func (AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic)(nil)).Elem() +} + +func (i AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArray) ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutput() AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutput { + return i.ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutputWithContext(context.Background()) +} + +func (i AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArray) ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutputWithContext(ctx context.Context) AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutput) +} + +func (i AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArray) ToOutput(ctx context.Context) pulumix.Output[[]AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic] { + return pulumix.Output[[]AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic]{ + OutputState: i.ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutputWithContext(ctx).OutputState, + } +} + +type AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutput struct{ *pulumi.OutputState } + +func (AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic)(nil)).Elem() +} + +func (o AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutput) ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutput() AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutput { + return o +} + +func (o AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutput) ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutputWithContext(ctx context.Context) AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutput { + return o +} + +func (o AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutput) ToOutput(ctx context.Context) pulumix.Output[AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic] { + return pulumix.Output[AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic]{ + OutputState: o.OutputState, + } +} + +// The topology in use for the Border Gateway Protocol (BGP) configuration. +func (o AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutput) BgpTopology() pulumi.StringPtrOutput { + return o.ApplyT(func(v AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic) *string { + return v.BgpTopology + }).(pulumi.StringPtrOutput) +} + +// The Oracle Autonomous System Number (ASN) to control routing and exchange information within the dynamic routing configuration. +func (o AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutput) OracleAsn() pulumi.IntPtrOutput { + return o.ApplyT(func(v AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic) *int { + return v.OracleAsn + }).(pulumi.IntPtrOutput) +} + +// The list of peer devices in the dynamic routing configuration. +func (o AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutput) PeerInformations() AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutput { + return o.ApplyT(func(v AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic) []AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation { + return v.PeerInformations + }).(AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutput) +} + +type AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutput struct{ *pulumi.OutputState } + +func (AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic)(nil)).Elem() +} + +func (o AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutput) ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutput() AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutput { + return o +} + +func (o AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutput) ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutputWithContext(ctx context.Context) AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutput { + return o +} + +func (o AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic] { + return pulumix.Output[[]AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic]{ + OutputState: o.OutputState, + } +} + +func (o AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutput) Index(i pulumi.IntInput) AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic { + return vs[0].([]AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic)[vs[1].(int)] + }).(AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutput) +} + +type AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation struct { + // The Autonomous System Number (ASN) of the peer network. + Asn *int `pulumi:"asn"` + // Address of the management node. + Ip *string `pulumi:"ip"` +} + +// AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationInput is an input type that accepts AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArgs and AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutput values. +// You can construct a concrete instance of `AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationInput` via: +// +// AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArgs{...} +type AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationInput interface { + pulumi.Input + + ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutput() AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutput + ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutputWithContext(context.Context) AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutput +} + +type AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArgs struct { + // The Autonomous System Number (ASN) of the peer network. + Asn pulumi.IntPtrInput `pulumi:"asn"` + // Address of the management node. + Ip pulumi.StringPtrInput `pulumi:"ip"` +} + +func (AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation)(nil)).Elem() +} + +func (i AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArgs) ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutput() AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutput { + return i.ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutputWithContext(context.Background()) +} + +func (i AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArgs) ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutputWithContext(ctx context.Context) AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutput { + return pulumi.ToOutputWithContext(ctx, i).(AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutput) +} + +func (i AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArgs) ToOutput(ctx context.Context) pulumix.Output[AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation] { + return pulumix.Output[AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation]{ + OutputState: i.ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutputWithContext(ctx).OutputState, + } +} + +// AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayInput is an input type that accepts AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArray and AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutput values. +// You can construct a concrete instance of `AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayInput` via: +// +// AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArray{ AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArgs{...} } +type AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayInput interface { + pulumi.Input + + ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutput() AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutput + ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutputWithContext(context.Context) AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutput +} + +type AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArray []AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationInput + +func (AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation)(nil)).Elem() +} + +func (i AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArray) ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutput() AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutput { + return i.ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutputWithContext(context.Background()) +} + +func (i AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArray) ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutputWithContext(ctx context.Context) AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutput) +} + +func (i AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArray) ToOutput(ctx context.Context) pulumix.Output[[]AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation] { + return pulumix.Output[[]AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation]{ + OutputState: i.ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutputWithContext(ctx).OutputState, + } +} + +type AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutput struct{ *pulumi.OutputState } + +func (AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation)(nil)).Elem() +} + +func (o AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutput) ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutput() AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutput { + return o +} + +func (o AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutput) ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutputWithContext(ctx context.Context) AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutput { + return o +} + +func (o AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutput) ToOutput(ctx context.Context) pulumix.Output[AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation] { + return pulumix.Output[AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation]{ + OutputState: o.OutputState, + } +} + +// The Autonomous System Number (ASN) of the peer network. +func (o AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutput) Asn() pulumi.IntPtrOutput { + return o.ApplyT(func(v AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation) *int { + return v.Asn + }).(pulumi.IntPtrOutput) +} + +// Address of the management node. +func (o AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutput) Ip() pulumi.StringPtrOutput { + return o.ApplyT(func(v AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation) *string { + return v.Ip + }).(pulumi.StringPtrOutput) +} + +type AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutput struct{ *pulumi.OutputState } + +func (AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation)(nil)).Elem() +} + +func (o AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutput) ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutput() AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutput { + return o +} + +func (o AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutput) ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutputWithContext(ctx context.Context) AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutput { + return o +} + +func (o AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation] { + return pulumix.Output[[]AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation]{ + OutputState: o.OutputState, + } +} + +func (o AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutput) Index(i pulumi.IntInput) AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation { + return vs[0].([]AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation)[vs[1].(int)] + }).(AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutput) +} + +type AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic struct { + // The uplink Hot Standby Router Protocol (HSRP) group value for the switch in the Compute Cloud@Customer infrastructure. + UplinkHsrpGroup *int `pulumi:"uplinkHsrpGroup"` + // The virtual local area network (VLAN) identifier used to connect to the uplink (only access mode is supported). + UplinkVlan *int `pulumi:"uplinkVlan"` +} + +// AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticInput is an input type that accepts AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArgs and AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutput values. +// You can construct a concrete instance of `AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticInput` via: +// +// AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArgs{...} +type AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticInput interface { + pulumi.Input + + ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutput() AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutput + ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutputWithContext(context.Context) AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutput +} + +type AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArgs struct { + // The uplink Hot Standby Router Protocol (HSRP) group value for the switch in the Compute Cloud@Customer infrastructure. + UplinkHsrpGroup pulumi.IntPtrInput `pulumi:"uplinkHsrpGroup"` + // The virtual local area network (VLAN) identifier used to connect to the uplink (only access mode is supported). + UplinkVlan pulumi.IntPtrInput `pulumi:"uplinkVlan"` +} + +func (AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic)(nil)).Elem() +} + +func (i AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArgs) ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutput() AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutput { + return i.ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutputWithContext(context.Background()) +} + +func (i AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArgs) ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutputWithContext(ctx context.Context) AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutput { + return pulumi.ToOutputWithContext(ctx, i).(AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutput) +} + +func (i AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArgs) ToOutput(ctx context.Context) pulumix.Output[AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic] { + return pulumix.Output[AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic]{ + OutputState: i.ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutputWithContext(ctx).OutputState, + } +} + +// AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayInput is an input type that accepts AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArray and AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutput values. +// You can construct a concrete instance of `AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayInput` via: +// +// AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArray{ AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArgs{...} } +type AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayInput interface { + pulumi.Input + + ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutput() AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutput + ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutputWithContext(context.Context) AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutput +} + +type AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArray []AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticInput + +func (AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic)(nil)).Elem() +} + +func (i AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArray) ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutput() AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutput { + return i.ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutputWithContext(context.Background()) +} + +func (i AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArray) ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutputWithContext(ctx context.Context) AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutput) +} + +func (i AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArray) ToOutput(ctx context.Context) pulumix.Output[[]AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic] { + return pulumix.Output[[]AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic]{ + OutputState: i.ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutputWithContext(ctx).OutputState, + } +} + +type AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutput struct{ *pulumi.OutputState } + +func (AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic)(nil)).Elem() +} + +func (o AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutput) ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutput() AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutput { + return o +} + +func (o AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutput) ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutputWithContext(ctx context.Context) AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutput { + return o +} + +func (o AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutput) ToOutput(ctx context.Context) pulumix.Output[AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic] { + return pulumix.Output[AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic]{ + OutputState: o.OutputState, + } +} + +// The uplink Hot Standby Router Protocol (HSRP) group value for the switch in the Compute Cloud@Customer infrastructure. +func (o AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutput) UplinkHsrpGroup() pulumi.IntPtrOutput { + return o.ApplyT(func(v AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic) *int { + return v.UplinkHsrpGroup + }).(pulumi.IntPtrOutput) +} + +// The virtual local area network (VLAN) identifier used to connect to the uplink (only access mode is supported). +func (o AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutput) UplinkVlan() pulumi.IntPtrOutput { + return o.ApplyT(func(v AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic) *int { + return v.UplinkVlan + }).(pulumi.IntPtrOutput) +} + +type AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutput struct{ *pulumi.OutputState } + +func (AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic)(nil)).Elem() +} + +func (o AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutput) ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutput() AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutput { + return o +} + +func (o AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutput) ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutputWithContext(ctx context.Context) AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutput { + return o +} + +func (o AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic] { + return pulumix.Output[[]AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic]{ + OutputState: o.OutputState, + } +} + +func (o AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutput) Index(i pulumi.IntInput) AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic { + return vs[0].([]AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic)[vs[1].(int)] + }).(AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutput) +} + +type AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode struct { + // Hostname for interface to the management node. + Hostname *string `pulumi:"hostname"` + // Address of the management node. + Ip *string `pulumi:"ip"` +} + +// AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeInput is an input type that accepts AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArgs and AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeOutput values. +// You can construct a concrete instance of `AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeInput` via: +// +// AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArgs{...} +type AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeInput interface { + pulumi.Input + + ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeOutput() AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeOutput + ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeOutputWithContext(context.Context) AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeOutput +} + +type AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArgs struct { + // Hostname for interface to the management node. + Hostname pulumi.StringPtrInput `pulumi:"hostname"` + // Address of the management node. + Ip pulumi.StringPtrInput `pulumi:"ip"` +} + +func (AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode)(nil)).Elem() +} + +func (i AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArgs) ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeOutput() AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeOutput { + return i.ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeOutputWithContext(context.Background()) +} + +func (i AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArgs) ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeOutputWithContext(ctx context.Context) AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeOutput { + return pulumi.ToOutputWithContext(ctx, i).(AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeOutput) +} + +func (i AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArgs) ToOutput(ctx context.Context) pulumix.Output[AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode] { + return pulumix.Output[AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode]{ + OutputState: i.ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeOutputWithContext(ctx).OutputState, + } +} + +// AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArrayInput is an input type that accepts AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArray and AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArrayOutput values. +// You can construct a concrete instance of `AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArrayInput` via: +// +// AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArray{ AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArgs{...} } +type AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArrayInput interface { + pulumi.Input + + ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArrayOutput() AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArrayOutput + ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArrayOutputWithContext(context.Context) AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArrayOutput +} + +type AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArray []AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeInput + +func (AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode)(nil)).Elem() +} + +func (i AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArray) ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArrayOutput() AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArrayOutput { + return i.ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArrayOutputWithContext(context.Background()) +} + +func (i AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArray) ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArrayOutputWithContext(ctx context.Context) AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArrayOutput) +} + +func (i AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArray) ToOutput(ctx context.Context) pulumix.Output[[]AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode] { + return pulumix.Output[[]AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode]{ + OutputState: i.ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArrayOutputWithContext(ctx).OutputState, + } +} + +type AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeOutput struct{ *pulumi.OutputState } + +func (AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode)(nil)).Elem() +} + +func (o AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeOutput) ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeOutput() AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeOutput { + return o +} + +func (o AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeOutput) ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeOutputWithContext(ctx context.Context) AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeOutput { + return o +} + +func (o AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeOutput) ToOutput(ctx context.Context) pulumix.Output[AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode] { + return pulumix.Output[AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode]{ + OutputState: o.OutputState, + } +} + +// Hostname for interface to the management node. +func (o AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeOutput) Hostname() pulumi.StringPtrOutput { + return o.ApplyT(func(v AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode) *string { + return v.Hostname + }).(pulumi.StringPtrOutput) +} + +// Address of the management node. +func (o AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeOutput) Ip() pulumi.StringPtrOutput { + return o.ApplyT(func(v AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode) *string { + return v.Ip + }).(pulumi.StringPtrOutput) +} + +type AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArrayOutput struct{ *pulumi.OutputState } + +func (AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode)(nil)).Elem() +} + +func (o AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArrayOutput) ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArrayOutput() AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArrayOutput { + return o +} + +func (o AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArrayOutput) ToAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArrayOutputWithContext(ctx context.Context) AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArrayOutput { + return o +} + +func (o AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode] { + return pulumix.Output[[]AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode]{ + OutputState: o.OutputState, + } +} + +func (o AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArrayOutput) Index(i pulumi.IntInput) AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode { + return vs[0].([]AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode)[vs[1].(int)] + }).(AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeOutput) +} + +type AtCustomerCccInfrastructureUpgradeInformation struct { + // The current version of software installed on the Compute Cloud@Customer infrastructure. + CurrentVersion *string `pulumi:"currentVersion"` + // Indication that the Compute Cloud@Customer infrastructure is in the process of an upgrade or an upgrade activity (such as preloading upgrade images). + IsActive *bool `pulumi:"isActive"` + // Expected duration of Compute Cloud@Customer infrastructure scheduled upgrade. The actual upgrade time might be longer or shorter than this duration depending on rack activity, this is only an estimate. + ScheduledUpgradeDuration *string `pulumi:"scheduledUpgradeDuration"` + // Compute Cloud@Customer infrastructure next upgrade time. The rack might have performance impacts during this time. + TimeOfScheduledUpgrade *string `pulumi:"timeOfScheduledUpgrade"` +} + +// AtCustomerCccInfrastructureUpgradeInformationInput is an input type that accepts AtCustomerCccInfrastructureUpgradeInformationArgs and AtCustomerCccInfrastructureUpgradeInformationOutput values. +// You can construct a concrete instance of `AtCustomerCccInfrastructureUpgradeInformationInput` via: +// +// AtCustomerCccInfrastructureUpgradeInformationArgs{...} +type AtCustomerCccInfrastructureUpgradeInformationInput interface { + pulumi.Input + + ToAtCustomerCccInfrastructureUpgradeInformationOutput() AtCustomerCccInfrastructureUpgradeInformationOutput + ToAtCustomerCccInfrastructureUpgradeInformationOutputWithContext(context.Context) AtCustomerCccInfrastructureUpgradeInformationOutput +} + +type AtCustomerCccInfrastructureUpgradeInformationArgs struct { + // The current version of software installed on the Compute Cloud@Customer infrastructure. + CurrentVersion pulumi.StringPtrInput `pulumi:"currentVersion"` + // Indication that the Compute Cloud@Customer infrastructure is in the process of an upgrade or an upgrade activity (such as preloading upgrade images). + IsActive pulumi.BoolPtrInput `pulumi:"isActive"` + // Expected duration of Compute Cloud@Customer infrastructure scheduled upgrade. The actual upgrade time might be longer or shorter than this duration depending on rack activity, this is only an estimate. + ScheduledUpgradeDuration pulumi.StringPtrInput `pulumi:"scheduledUpgradeDuration"` + // Compute Cloud@Customer infrastructure next upgrade time. The rack might have performance impacts during this time. + TimeOfScheduledUpgrade pulumi.StringPtrInput `pulumi:"timeOfScheduledUpgrade"` +} + +func (AtCustomerCccInfrastructureUpgradeInformationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AtCustomerCccInfrastructureUpgradeInformation)(nil)).Elem() +} + +func (i AtCustomerCccInfrastructureUpgradeInformationArgs) ToAtCustomerCccInfrastructureUpgradeInformationOutput() AtCustomerCccInfrastructureUpgradeInformationOutput { + return i.ToAtCustomerCccInfrastructureUpgradeInformationOutputWithContext(context.Background()) +} + +func (i AtCustomerCccInfrastructureUpgradeInformationArgs) ToAtCustomerCccInfrastructureUpgradeInformationOutputWithContext(ctx context.Context) AtCustomerCccInfrastructureUpgradeInformationOutput { + return pulumi.ToOutputWithContext(ctx, i).(AtCustomerCccInfrastructureUpgradeInformationOutput) +} + +func (i AtCustomerCccInfrastructureUpgradeInformationArgs) ToOutput(ctx context.Context) pulumix.Output[AtCustomerCccInfrastructureUpgradeInformation] { + return pulumix.Output[AtCustomerCccInfrastructureUpgradeInformation]{ + OutputState: i.ToAtCustomerCccInfrastructureUpgradeInformationOutputWithContext(ctx).OutputState, + } +} + +// AtCustomerCccInfrastructureUpgradeInformationArrayInput is an input type that accepts AtCustomerCccInfrastructureUpgradeInformationArray and AtCustomerCccInfrastructureUpgradeInformationArrayOutput values. +// You can construct a concrete instance of `AtCustomerCccInfrastructureUpgradeInformationArrayInput` via: +// +// AtCustomerCccInfrastructureUpgradeInformationArray{ AtCustomerCccInfrastructureUpgradeInformationArgs{...} } +type AtCustomerCccInfrastructureUpgradeInformationArrayInput interface { + pulumi.Input + + ToAtCustomerCccInfrastructureUpgradeInformationArrayOutput() AtCustomerCccInfrastructureUpgradeInformationArrayOutput + ToAtCustomerCccInfrastructureUpgradeInformationArrayOutputWithContext(context.Context) AtCustomerCccInfrastructureUpgradeInformationArrayOutput +} + +type AtCustomerCccInfrastructureUpgradeInformationArray []AtCustomerCccInfrastructureUpgradeInformationInput + +func (AtCustomerCccInfrastructureUpgradeInformationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]AtCustomerCccInfrastructureUpgradeInformation)(nil)).Elem() +} + +func (i AtCustomerCccInfrastructureUpgradeInformationArray) ToAtCustomerCccInfrastructureUpgradeInformationArrayOutput() AtCustomerCccInfrastructureUpgradeInformationArrayOutput { + return i.ToAtCustomerCccInfrastructureUpgradeInformationArrayOutputWithContext(context.Background()) +} + +func (i AtCustomerCccInfrastructureUpgradeInformationArray) ToAtCustomerCccInfrastructureUpgradeInformationArrayOutputWithContext(ctx context.Context) AtCustomerCccInfrastructureUpgradeInformationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(AtCustomerCccInfrastructureUpgradeInformationArrayOutput) +} + +func (i AtCustomerCccInfrastructureUpgradeInformationArray) ToOutput(ctx context.Context) pulumix.Output[[]AtCustomerCccInfrastructureUpgradeInformation] { + return pulumix.Output[[]AtCustomerCccInfrastructureUpgradeInformation]{ + OutputState: i.ToAtCustomerCccInfrastructureUpgradeInformationArrayOutputWithContext(ctx).OutputState, + } +} + +type AtCustomerCccInfrastructureUpgradeInformationOutput struct{ *pulumi.OutputState } + +func (AtCustomerCccInfrastructureUpgradeInformationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AtCustomerCccInfrastructureUpgradeInformation)(nil)).Elem() +} + +func (o AtCustomerCccInfrastructureUpgradeInformationOutput) ToAtCustomerCccInfrastructureUpgradeInformationOutput() AtCustomerCccInfrastructureUpgradeInformationOutput { + return o +} + +func (o AtCustomerCccInfrastructureUpgradeInformationOutput) ToAtCustomerCccInfrastructureUpgradeInformationOutputWithContext(ctx context.Context) AtCustomerCccInfrastructureUpgradeInformationOutput { + return o +} + +func (o AtCustomerCccInfrastructureUpgradeInformationOutput) ToOutput(ctx context.Context) pulumix.Output[AtCustomerCccInfrastructureUpgradeInformation] { + return pulumix.Output[AtCustomerCccInfrastructureUpgradeInformation]{ + OutputState: o.OutputState, + } +} + +// The current version of software installed on the Compute Cloud@Customer infrastructure. +func (o AtCustomerCccInfrastructureUpgradeInformationOutput) CurrentVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v AtCustomerCccInfrastructureUpgradeInformation) *string { return v.CurrentVersion }).(pulumi.StringPtrOutput) +} + +// Indication that the Compute Cloud@Customer infrastructure is in the process of an upgrade or an upgrade activity (such as preloading upgrade images). +func (o AtCustomerCccInfrastructureUpgradeInformationOutput) IsActive() pulumi.BoolPtrOutput { + return o.ApplyT(func(v AtCustomerCccInfrastructureUpgradeInformation) *bool { return v.IsActive }).(pulumi.BoolPtrOutput) +} + +// Expected duration of Compute Cloud@Customer infrastructure scheduled upgrade. The actual upgrade time might be longer or shorter than this duration depending on rack activity, this is only an estimate. +func (o AtCustomerCccInfrastructureUpgradeInformationOutput) ScheduledUpgradeDuration() pulumi.StringPtrOutput { + return o.ApplyT(func(v AtCustomerCccInfrastructureUpgradeInformation) *string { return v.ScheduledUpgradeDuration }).(pulumi.StringPtrOutput) +} + +// Compute Cloud@Customer infrastructure next upgrade time. The rack might have performance impacts during this time. +func (o AtCustomerCccInfrastructureUpgradeInformationOutput) TimeOfScheduledUpgrade() pulumi.StringPtrOutput { + return o.ApplyT(func(v AtCustomerCccInfrastructureUpgradeInformation) *string { return v.TimeOfScheduledUpgrade }).(pulumi.StringPtrOutput) +} + +type AtCustomerCccInfrastructureUpgradeInformationArrayOutput struct{ *pulumi.OutputState } + +func (AtCustomerCccInfrastructureUpgradeInformationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]AtCustomerCccInfrastructureUpgradeInformation)(nil)).Elem() +} + +func (o AtCustomerCccInfrastructureUpgradeInformationArrayOutput) ToAtCustomerCccInfrastructureUpgradeInformationArrayOutput() AtCustomerCccInfrastructureUpgradeInformationArrayOutput { + return o +} + +func (o AtCustomerCccInfrastructureUpgradeInformationArrayOutput) ToAtCustomerCccInfrastructureUpgradeInformationArrayOutputWithContext(ctx context.Context) AtCustomerCccInfrastructureUpgradeInformationArrayOutput { + return o +} + +func (o AtCustomerCccInfrastructureUpgradeInformationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AtCustomerCccInfrastructureUpgradeInformation] { + return pulumix.Output[[]AtCustomerCccInfrastructureUpgradeInformation]{ + OutputState: o.OutputState, + } +} + +func (o AtCustomerCccInfrastructureUpgradeInformationArrayOutput) Index(i pulumi.IntInput) AtCustomerCccInfrastructureUpgradeInformationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) AtCustomerCccInfrastructureUpgradeInformation { + return vs[0].([]AtCustomerCccInfrastructureUpgradeInformation)[vs[1].(int)] + }).(AtCustomerCccInfrastructureUpgradeInformationOutput) +} + +type AtCustomerCccUpgradeScheduleEvent struct { + // (Updatable) A description of the Compute Cloud@Customer upgrade schedule time block. + Description string `pulumi:"description"` + // Generated name associated with the event. + Name *string `pulumi:"name"` + // (Updatable) The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations. + ScheduleEventDuration string `pulumi:"scheduleEventDuration"` + // (Updatable) Frequency of recurrence of schedule block. When this field is not included, the event is assumed to be a one time occurrence. The frequency field is strictly parsed and must conform to RFC-5545 formatting for recurrences. + ScheduleEventRecurrences *string `pulumi:"scheduleEventRecurrences"` + // (Updatable) The date and time when the Compute Cloud@Customer upgrade schedule event starts, inclusive. An RFC3339 formatted UTC datetime string. For an event with recurrences, this is the date that a recurrence can start being applied. + TimeStart string `pulumi:"timeStart"` +} + +// AtCustomerCccUpgradeScheduleEventInput is an input type that accepts AtCustomerCccUpgradeScheduleEventArgs and AtCustomerCccUpgradeScheduleEventOutput values. +// You can construct a concrete instance of `AtCustomerCccUpgradeScheduleEventInput` via: +// +// AtCustomerCccUpgradeScheduleEventArgs{...} +type AtCustomerCccUpgradeScheduleEventInput interface { + pulumi.Input + + ToAtCustomerCccUpgradeScheduleEventOutput() AtCustomerCccUpgradeScheduleEventOutput + ToAtCustomerCccUpgradeScheduleEventOutputWithContext(context.Context) AtCustomerCccUpgradeScheduleEventOutput +} + +type AtCustomerCccUpgradeScheduleEventArgs struct { + // (Updatable) A description of the Compute Cloud@Customer upgrade schedule time block. + Description pulumi.StringInput `pulumi:"description"` + // Generated name associated with the event. + Name pulumi.StringPtrInput `pulumi:"name"` + // (Updatable) The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations. + ScheduleEventDuration pulumi.StringInput `pulumi:"scheduleEventDuration"` + // (Updatable) Frequency of recurrence of schedule block. When this field is not included, the event is assumed to be a one time occurrence. The frequency field is strictly parsed and must conform to RFC-5545 formatting for recurrences. + ScheduleEventRecurrences pulumi.StringPtrInput `pulumi:"scheduleEventRecurrences"` + // (Updatable) The date and time when the Compute Cloud@Customer upgrade schedule event starts, inclusive. An RFC3339 formatted UTC datetime string. For an event with recurrences, this is the date that a recurrence can start being applied. + TimeStart pulumi.StringInput `pulumi:"timeStart"` +} + +func (AtCustomerCccUpgradeScheduleEventArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AtCustomerCccUpgradeScheduleEvent)(nil)).Elem() +} + +func (i AtCustomerCccUpgradeScheduleEventArgs) ToAtCustomerCccUpgradeScheduleEventOutput() AtCustomerCccUpgradeScheduleEventOutput { + return i.ToAtCustomerCccUpgradeScheduleEventOutputWithContext(context.Background()) +} + +func (i AtCustomerCccUpgradeScheduleEventArgs) ToAtCustomerCccUpgradeScheduleEventOutputWithContext(ctx context.Context) AtCustomerCccUpgradeScheduleEventOutput { + return pulumi.ToOutputWithContext(ctx, i).(AtCustomerCccUpgradeScheduleEventOutput) +} + +func (i AtCustomerCccUpgradeScheduleEventArgs) ToOutput(ctx context.Context) pulumix.Output[AtCustomerCccUpgradeScheduleEvent] { + return pulumix.Output[AtCustomerCccUpgradeScheduleEvent]{ + OutputState: i.ToAtCustomerCccUpgradeScheduleEventOutputWithContext(ctx).OutputState, + } +} + +// AtCustomerCccUpgradeScheduleEventArrayInput is an input type that accepts AtCustomerCccUpgradeScheduleEventArray and AtCustomerCccUpgradeScheduleEventArrayOutput values. +// You can construct a concrete instance of `AtCustomerCccUpgradeScheduleEventArrayInput` via: +// +// AtCustomerCccUpgradeScheduleEventArray{ AtCustomerCccUpgradeScheduleEventArgs{...} } +type AtCustomerCccUpgradeScheduleEventArrayInput interface { + pulumi.Input + + ToAtCustomerCccUpgradeScheduleEventArrayOutput() AtCustomerCccUpgradeScheduleEventArrayOutput + ToAtCustomerCccUpgradeScheduleEventArrayOutputWithContext(context.Context) AtCustomerCccUpgradeScheduleEventArrayOutput +} + +type AtCustomerCccUpgradeScheduleEventArray []AtCustomerCccUpgradeScheduleEventInput + +func (AtCustomerCccUpgradeScheduleEventArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]AtCustomerCccUpgradeScheduleEvent)(nil)).Elem() +} + +func (i AtCustomerCccUpgradeScheduleEventArray) ToAtCustomerCccUpgradeScheduleEventArrayOutput() AtCustomerCccUpgradeScheduleEventArrayOutput { + return i.ToAtCustomerCccUpgradeScheduleEventArrayOutputWithContext(context.Background()) +} + +func (i AtCustomerCccUpgradeScheduleEventArray) ToAtCustomerCccUpgradeScheduleEventArrayOutputWithContext(ctx context.Context) AtCustomerCccUpgradeScheduleEventArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(AtCustomerCccUpgradeScheduleEventArrayOutput) +} + +func (i AtCustomerCccUpgradeScheduleEventArray) ToOutput(ctx context.Context) pulumix.Output[[]AtCustomerCccUpgradeScheduleEvent] { + return pulumix.Output[[]AtCustomerCccUpgradeScheduleEvent]{ + OutputState: i.ToAtCustomerCccUpgradeScheduleEventArrayOutputWithContext(ctx).OutputState, + } +} + +type AtCustomerCccUpgradeScheduleEventOutput struct{ *pulumi.OutputState } + +func (AtCustomerCccUpgradeScheduleEventOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AtCustomerCccUpgradeScheduleEvent)(nil)).Elem() +} + +func (o AtCustomerCccUpgradeScheduleEventOutput) ToAtCustomerCccUpgradeScheduleEventOutput() AtCustomerCccUpgradeScheduleEventOutput { + return o +} + +func (o AtCustomerCccUpgradeScheduleEventOutput) ToAtCustomerCccUpgradeScheduleEventOutputWithContext(ctx context.Context) AtCustomerCccUpgradeScheduleEventOutput { + return o +} + +func (o AtCustomerCccUpgradeScheduleEventOutput) ToOutput(ctx context.Context) pulumix.Output[AtCustomerCccUpgradeScheduleEvent] { + return pulumix.Output[AtCustomerCccUpgradeScheduleEvent]{ + OutputState: o.OutputState, + } +} + +// (Updatable) A description of the Compute Cloud@Customer upgrade schedule time block. +func (o AtCustomerCccUpgradeScheduleEventOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v AtCustomerCccUpgradeScheduleEvent) string { return v.Description }).(pulumi.StringOutput) +} + +// Generated name associated with the event. +func (o AtCustomerCccUpgradeScheduleEventOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v AtCustomerCccUpgradeScheduleEvent) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +// (Updatable) The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations. +func (o AtCustomerCccUpgradeScheduleEventOutput) ScheduleEventDuration() pulumi.StringOutput { + return o.ApplyT(func(v AtCustomerCccUpgradeScheduleEvent) string { return v.ScheduleEventDuration }).(pulumi.StringOutput) +} + +// (Updatable) Frequency of recurrence of schedule block. When this field is not included, the event is assumed to be a one time occurrence. The frequency field is strictly parsed and must conform to RFC-5545 formatting for recurrences. +func (o AtCustomerCccUpgradeScheduleEventOutput) ScheduleEventRecurrences() pulumi.StringPtrOutput { + return o.ApplyT(func(v AtCustomerCccUpgradeScheduleEvent) *string { return v.ScheduleEventRecurrences }).(pulumi.StringPtrOutput) +} + +// (Updatable) The date and time when the Compute Cloud@Customer upgrade schedule event starts, inclusive. An RFC3339 formatted UTC datetime string. For an event with recurrences, this is the date that a recurrence can start being applied. +func (o AtCustomerCccUpgradeScheduleEventOutput) TimeStart() pulumi.StringOutput { + return o.ApplyT(func(v AtCustomerCccUpgradeScheduleEvent) string { return v.TimeStart }).(pulumi.StringOutput) +} + +type AtCustomerCccUpgradeScheduleEventArrayOutput struct{ *pulumi.OutputState } + +func (AtCustomerCccUpgradeScheduleEventArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]AtCustomerCccUpgradeScheduleEvent)(nil)).Elem() +} + +func (o AtCustomerCccUpgradeScheduleEventArrayOutput) ToAtCustomerCccUpgradeScheduleEventArrayOutput() AtCustomerCccUpgradeScheduleEventArrayOutput { + return o +} + +func (o AtCustomerCccUpgradeScheduleEventArrayOutput) ToAtCustomerCccUpgradeScheduleEventArrayOutputWithContext(ctx context.Context) AtCustomerCccUpgradeScheduleEventArrayOutput { + return o +} + +func (o AtCustomerCccUpgradeScheduleEventArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AtCustomerCccUpgradeScheduleEvent] { + return pulumix.Output[[]AtCustomerCccUpgradeScheduleEvent]{ + OutputState: o.OutputState, + } +} + +func (o AtCustomerCccUpgradeScheduleEventArrayOutput) Index(i pulumi.IntInput) AtCustomerCccUpgradeScheduleEventOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) AtCustomerCccUpgradeScheduleEvent { + return vs[0].([]AtCustomerCccUpgradeScheduleEvent)[vs[1].(int)] + }).(AtCustomerCccUpgradeScheduleEventOutput) +} + +type GetAtCustomerCccInfrastructureInfrastructureInventory struct { + // The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for capacity storage. + CapacityStorageTrayCount int `pulumi:"capacityStorageTrayCount"` + // The number of compute nodes that are available and usable on the Compute Cloud@Customer infrastructure rack. There is no distinction of compute node type in this information. + ComputeNodeCount int `pulumi:"computeNodeCount"` + // The number of management nodes that are available and in active use on the Compute Cloud@Customer infrastructure rack. + ManagementNodeCount int `pulumi:"managementNodeCount"` + // The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for performance storage. + PerformanceStorageTrayCount int `pulumi:"performanceStorageTrayCount"` + // The serial number of the Compute Cloud@Customer infrastructure rack. + SerialNumber string `pulumi:"serialNumber"` +} + +// GetAtCustomerCccInfrastructureInfrastructureInventoryInput is an input type that accepts GetAtCustomerCccInfrastructureInfrastructureInventoryArgs and GetAtCustomerCccInfrastructureInfrastructureInventoryOutput values. +// You can construct a concrete instance of `GetAtCustomerCccInfrastructureInfrastructureInventoryInput` via: +// +// GetAtCustomerCccInfrastructureInfrastructureInventoryArgs{...} +type GetAtCustomerCccInfrastructureInfrastructureInventoryInput interface { + pulumi.Input + + ToGetAtCustomerCccInfrastructureInfrastructureInventoryOutput() GetAtCustomerCccInfrastructureInfrastructureInventoryOutput + ToGetAtCustomerCccInfrastructureInfrastructureInventoryOutputWithContext(context.Context) GetAtCustomerCccInfrastructureInfrastructureInventoryOutput +} + +type GetAtCustomerCccInfrastructureInfrastructureInventoryArgs struct { + // The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for capacity storage. + CapacityStorageTrayCount pulumi.IntInput `pulumi:"capacityStorageTrayCount"` + // The number of compute nodes that are available and usable on the Compute Cloud@Customer infrastructure rack. There is no distinction of compute node type in this information. + ComputeNodeCount pulumi.IntInput `pulumi:"computeNodeCount"` + // The number of management nodes that are available and in active use on the Compute Cloud@Customer infrastructure rack. + ManagementNodeCount pulumi.IntInput `pulumi:"managementNodeCount"` + // The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for performance storage. + PerformanceStorageTrayCount pulumi.IntInput `pulumi:"performanceStorageTrayCount"` + // The serial number of the Compute Cloud@Customer infrastructure rack. + SerialNumber pulumi.StringInput `pulumi:"serialNumber"` +} + +func (GetAtCustomerCccInfrastructureInfrastructureInventoryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAtCustomerCccInfrastructureInfrastructureInventory)(nil)).Elem() +} + +func (i GetAtCustomerCccInfrastructureInfrastructureInventoryArgs) ToGetAtCustomerCccInfrastructureInfrastructureInventoryOutput() GetAtCustomerCccInfrastructureInfrastructureInventoryOutput { + return i.ToGetAtCustomerCccInfrastructureInfrastructureInventoryOutputWithContext(context.Background()) +} + +func (i GetAtCustomerCccInfrastructureInfrastructureInventoryArgs) ToGetAtCustomerCccInfrastructureInfrastructureInventoryOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructureInfrastructureInventoryOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAtCustomerCccInfrastructureInfrastructureInventoryOutput) +} + +func (i GetAtCustomerCccInfrastructureInfrastructureInventoryArgs) ToOutput(ctx context.Context) pulumix.Output[GetAtCustomerCccInfrastructureInfrastructureInventory] { + return pulumix.Output[GetAtCustomerCccInfrastructureInfrastructureInventory]{ + OutputState: i.ToGetAtCustomerCccInfrastructureInfrastructureInventoryOutputWithContext(ctx).OutputState, + } +} + +// GetAtCustomerCccInfrastructureInfrastructureInventoryArrayInput is an input type that accepts GetAtCustomerCccInfrastructureInfrastructureInventoryArray and GetAtCustomerCccInfrastructureInfrastructureInventoryArrayOutput values. +// You can construct a concrete instance of `GetAtCustomerCccInfrastructureInfrastructureInventoryArrayInput` via: +// +// GetAtCustomerCccInfrastructureInfrastructureInventoryArray{ GetAtCustomerCccInfrastructureInfrastructureInventoryArgs{...} } +type GetAtCustomerCccInfrastructureInfrastructureInventoryArrayInput interface { + pulumi.Input + + ToGetAtCustomerCccInfrastructureInfrastructureInventoryArrayOutput() GetAtCustomerCccInfrastructureInfrastructureInventoryArrayOutput + ToGetAtCustomerCccInfrastructureInfrastructureInventoryArrayOutputWithContext(context.Context) GetAtCustomerCccInfrastructureInfrastructureInventoryArrayOutput +} + +type GetAtCustomerCccInfrastructureInfrastructureInventoryArray []GetAtCustomerCccInfrastructureInfrastructureInventoryInput + +func (GetAtCustomerCccInfrastructureInfrastructureInventoryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAtCustomerCccInfrastructureInfrastructureInventory)(nil)).Elem() +} + +func (i GetAtCustomerCccInfrastructureInfrastructureInventoryArray) ToGetAtCustomerCccInfrastructureInfrastructureInventoryArrayOutput() GetAtCustomerCccInfrastructureInfrastructureInventoryArrayOutput { + return i.ToGetAtCustomerCccInfrastructureInfrastructureInventoryArrayOutputWithContext(context.Background()) +} + +func (i GetAtCustomerCccInfrastructureInfrastructureInventoryArray) ToGetAtCustomerCccInfrastructureInfrastructureInventoryArrayOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructureInfrastructureInventoryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAtCustomerCccInfrastructureInfrastructureInventoryArrayOutput) +} + +func (i GetAtCustomerCccInfrastructureInfrastructureInventoryArray) ToOutput(ctx context.Context) pulumix.Output[[]GetAtCustomerCccInfrastructureInfrastructureInventory] { + return pulumix.Output[[]GetAtCustomerCccInfrastructureInfrastructureInventory]{ + OutputState: i.ToGetAtCustomerCccInfrastructureInfrastructureInventoryArrayOutputWithContext(ctx).OutputState, + } +} + +type GetAtCustomerCccInfrastructureInfrastructureInventoryOutput struct{ *pulumi.OutputState } + +func (GetAtCustomerCccInfrastructureInfrastructureInventoryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAtCustomerCccInfrastructureInfrastructureInventory)(nil)).Elem() +} + +func (o GetAtCustomerCccInfrastructureInfrastructureInventoryOutput) ToGetAtCustomerCccInfrastructureInfrastructureInventoryOutput() GetAtCustomerCccInfrastructureInfrastructureInventoryOutput { + return o +} + +func (o GetAtCustomerCccInfrastructureInfrastructureInventoryOutput) ToGetAtCustomerCccInfrastructureInfrastructureInventoryOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructureInfrastructureInventoryOutput { + return o +} + +func (o GetAtCustomerCccInfrastructureInfrastructureInventoryOutput) ToOutput(ctx context.Context) pulumix.Output[GetAtCustomerCccInfrastructureInfrastructureInventory] { + return pulumix.Output[GetAtCustomerCccInfrastructureInfrastructureInventory]{ + OutputState: o.OutputState, + } +} + +// The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for capacity storage. +func (o GetAtCustomerCccInfrastructureInfrastructureInventoryOutput) CapacityStorageTrayCount() pulumi.IntOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructureInfrastructureInventory) int { return v.CapacityStorageTrayCount }).(pulumi.IntOutput) +} + +// The number of compute nodes that are available and usable on the Compute Cloud@Customer infrastructure rack. There is no distinction of compute node type in this information. +func (o GetAtCustomerCccInfrastructureInfrastructureInventoryOutput) ComputeNodeCount() pulumi.IntOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructureInfrastructureInventory) int { return v.ComputeNodeCount }).(pulumi.IntOutput) +} + +// The number of management nodes that are available and in active use on the Compute Cloud@Customer infrastructure rack. +func (o GetAtCustomerCccInfrastructureInfrastructureInventoryOutput) ManagementNodeCount() pulumi.IntOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructureInfrastructureInventory) int { return v.ManagementNodeCount }).(pulumi.IntOutput) +} + +// The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for performance storage. +func (o GetAtCustomerCccInfrastructureInfrastructureInventoryOutput) PerformanceStorageTrayCount() pulumi.IntOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructureInfrastructureInventory) int { + return v.PerformanceStorageTrayCount + }).(pulumi.IntOutput) +} + +// The serial number of the Compute Cloud@Customer infrastructure rack. +func (o GetAtCustomerCccInfrastructureInfrastructureInventoryOutput) SerialNumber() pulumi.StringOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructureInfrastructureInventory) string { return v.SerialNumber }).(pulumi.StringOutput) +} + +type GetAtCustomerCccInfrastructureInfrastructureInventoryArrayOutput struct{ *pulumi.OutputState } + +func (GetAtCustomerCccInfrastructureInfrastructureInventoryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAtCustomerCccInfrastructureInfrastructureInventory)(nil)).Elem() +} + +func (o GetAtCustomerCccInfrastructureInfrastructureInventoryArrayOutput) ToGetAtCustomerCccInfrastructureInfrastructureInventoryArrayOutput() GetAtCustomerCccInfrastructureInfrastructureInventoryArrayOutput { + return o +} + +func (o GetAtCustomerCccInfrastructureInfrastructureInventoryArrayOutput) ToGetAtCustomerCccInfrastructureInfrastructureInventoryArrayOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructureInfrastructureInventoryArrayOutput { + return o +} + +func (o GetAtCustomerCccInfrastructureInfrastructureInventoryArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetAtCustomerCccInfrastructureInfrastructureInventory] { + return pulumix.Output[[]GetAtCustomerCccInfrastructureInfrastructureInventory]{ + OutputState: o.OutputState, + } +} + +func (o GetAtCustomerCccInfrastructureInfrastructureInventoryArrayOutput) Index(i pulumi.IntInput) GetAtCustomerCccInfrastructureInfrastructureInventoryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetAtCustomerCccInfrastructureInfrastructureInventory { + return vs[0].([]GetAtCustomerCccInfrastructureInfrastructureInventory)[vs[1].(int)] + }).(GetAtCustomerCccInfrastructureInfrastructureInventoryOutput) +} + +type GetAtCustomerCccInfrastructureInfrastructureNetworkConfiguration struct { + // The domain name system (DNS) addresses that the Compute Cloud@Customer infrastructure uses for the data center network. + DnsIps []string `pulumi:"dnsIps"` + // Dynamic routing information for the Compute Cloud@Customer infrastructure. + InfrastructureRoutingDynamics []GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic `pulumi:"infrastructureRoutingDynamics"` + // Static routing information for a rack. + InfrastructureRoutingStatics []GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic `pulumi:"infrastructureRoutingStatics"` + // Information about the management nodes that are provisioned in the Compute Cloud@Customer infrastructure. + ManagementNodes []GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode `pulumi:"managementNodes"` + // The hostname corresponding to the virtual IP (VIP) address of the management nodes. + MgmtVipHostname string `pulumi:"mgmtVipHostname"` + // The IP address used as the virtual IP (VIP) address of the management nodes. + MgmtVipIp string `pulumi:"mgmtVipIp"` + // Addresses of the network spine switches. + SpineIps []string `pulumi:"spineIps"` + // The spine switch public virtual IP (VIP). Traffic routed to the Compute Cloud@Customer infrastructure and and virtual cloud networks (VCNs) should have this address as next hop. + SpineVip string `pulumi:"spineVip"` + // Domain name to be used as the base domain for the internal network and by public facing services. + UplinkDomain string `pulumi:"uplinkDomain"` + // Uplink gateway in the datacenter network that the Compute Cloud@Customer connects to. + UplinkGatewayIp string `pulumi:"uplinkGatewayIp"` + // Netmask of the subnet that the Compute Cloud@Customer infrastructure is connected to. + UplinkNetmask string `pulumi:"uplinkNetmask"` + // Number of uplink ports per spine switch. Connectivity is identical on both spine switches. For example, if input is two 100 gigabyte ports; then port-1 and port-2 on both spines will be configured. + UplinkPortCount int `pulumi:"uplinkPortCount"` + // The port forward error correction (FEC) setting for the uplink port on the Compute Cloud@Customer infrastructure. + UplinkPortForwardErrorCorrection string `pulumi:"uplinkPortForwardErrorCorrection"` + // Uplink port speed defined in gigabytes per second. All uplink ports must have identical speed. + UplinkPortSpeedInGbps int `pulumi:"uplinkPortSpeedInGbps"` + // The virtual local area network (VLAN) maximum transmission unit (MTU) size for the uplink ports. + UplinkVlanMtu int `pulumi:"uplinkVlanMtu"` +} + +// GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInput is an input type that accepts GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationArgs and GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput values. +// You can construct a concrete instance of `GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInput` via: +// +// GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationArgs{...} +type GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInput interface { + pulumi.Input + + ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput() GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput + ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutputWithContext(context.Context) GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput +} + +type GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationArgs struct { + // The domain name system (DNS) addresses that the Compute Cloud@Customer infrastructure uses for the data center network. + DnsIps pulumi.StringArrayInput `pulumi:"dnsIps"` + // Dynamic routing information for the Compute Cloud@Customer infrastructure. + InfrastructureRoutingDynamics GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayInput `pulumi:"infrastructureRoutingDynamics"` + // Static routing information for a rack. + InfrastructureRoutingStatics GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayInput `pulumi:"infrastructureRoutingStatics"` + // Information about the management nodes that are provisioned in the Compute Cloud@Customer infrastructure. + ManagementNodes GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArrayInput `pulumi:"managementNodes"` + // The hostname corresponding to the virtual IP (VIP) address of the management nodes. + MgmtVipHostname pulumi.StringInput `pulumi:"mgmtVipHostname"` + // The IP address used as the virtual IP (VIP) address of the management nodes. + MgmtVipIp pulumi.StringInput `pulumi:"mgmtVipIp"` + // Addresses of the network spine switches. + SpineIps pulumi.StringArrayInput `pulumi:"spineIps"` + // The spine switch public virtual IP (VIP). Traffic routed to the Compute Cloud@Customer infrastructure and and virtual cloud networks (VCNs) should have this address as next hop. + SpineVip pulumi.StringInput `pulumi:"spineVip"` + // Domain name to be used as the base domain for the internal network and by public facing services. + UplinkDomain pulumi.StringInput `pulumi:"uplinkDomain"` + // Uplink gateway in the datacenter network that the Compute Cloud@Customer connects to. + UplinkGatewayIp pulumi.StringInput `pulumi:"uplinkGatewayIp"` + // Netmask of the subnet that the Compute Cloud@Customer infrastructure is connected to. + UplinkNetmask pulumi.StringInput `pulumi:"uplinkNetmask"` + // Number of uplink ports per spine switch. Connectivity is identical on both spine switches. For example, if input is two 100 gigabyte ports; then port-1 and port-2 on both spines will be configured. + UplinkPortCount pulumi.IntInput `pulumi:"uplinkPortCount"` + // The port forward error correction (FEC) setting for the uplink port on the Compute Cloud@Customer infrastructure. + UplinkPortForwardErrorCorrection pulumi.StringInput `pulumi:"uplinkPortForwardErrorCorrection"` + // Uplink port speed defined in gigabytes per second. All uplink ports must have identical speed. + UplinkPortSpeedInGbps pulumi.IntInput `pulumi:"uplinkPortSpeedInGbps"` + // The virtual local area network (VLAN) maximum transmission unit (MTU) size for the uplink ports. + UplinkVlanMtu pulumi.IntInput `pulumi:"uplinkVlanMtu"` +} + +func (GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAtCustomerCccInfrastructureInfrastructureNetworkConfiguration)(nil)).Elem() +} + +func (i GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationArgs) ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput() GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput { + return i.ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutputWithContext(context.Background()) +} + +func (i GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationArgs) ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput) +} + +func (i GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationArgs) ToOutput(ctx context.Context) pulumix.Output[GetAtCustomerCccInfrastructureInfrastructureNetworkConfiguration] { + return pulumix.Output[GetAtCustomerCccInfrastructureInfrastructureNetworkConfiguration]{ + OutputState: i.ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutputWithContext(ctx).OutputState, + } +} + +// GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationArrayInput is an input type that accepts GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationArray and GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationArrayOutput values. +// You can construct a concrete instance of `GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationArrayInput` via: +// +// GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationArray{ GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationArgs{...} } +type GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationArrayInput interface { + pulumi.Input + + ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationArrayOutput() GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationArrayOutput + ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationArrayOutputWithContext(context.Context) GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationArrayOutput +} + +type GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationArray []GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInput + +func (GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAtCustomerCccInfrastructureInfrastructureNetworkConfiguration)(nil)).Elem() +} + +func (i GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationArray) ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationArrayOutput() GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationArrayOutput { + return i.ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationArrayOutputWithContext(context.Background()) +} + +func (i GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationArray) ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationArrayOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationArrayOutput) +} + +func (i GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationArray) ToOutput(ctx context.Context) pulumix.Output[[]GetAtCustomerCccInfrastructureInfrastructureNetworkConfiguration] { + return pulumix.Output[[]GetAtCustomerCccInfrastructureInfrastructureNetworkConfiguration]{ + OutputState: i.ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationArrayOutputWithContext(ctx).OutputState, + } +} + +type GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput struct{ *pulumi.OutputState } + +func (GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAtCustomerCccInfrastructureInfrastructureNetworkConfiguration)(nil)).Elem() +} + +func (o GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput) ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput() GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput { + return o +} + +func (o GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput) ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput { + return o +} + +func (o GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput) ToOutput(ctx context.Context) pulumix.Output[GetAtCustomerCccInfrastructureInfrastructureNetworkConfiguration] { + return pulumix.Output[GetAtCustomerCccInfrastructureInfrastructureNetworkConfiguration]{ + OutputState: o.OutputState, + } +} + +// The domain name system (DNS) addresses that the Compute Cloud@Customer infrastructure uses for the data center network. +func (o GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput) DnsIps() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructureInfrastructureNetworkConfiguration) []string { return v.DnsIps }).(pulumi.StringArrayOutput) +} + +// Dynamic routing information for the Compute Cloud@Customer infrastructure. +func (o GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput) InfrastructureRoutingDynamics() GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructureInfrastructureNetworkConfiguration) []GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic { + return v.InfrastructureRoutingDynamics + }).(GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutput) +} + +// Static routing information for a rack. +func (o GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput) InfrastructureRoutingStatics() GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructureInfrastructureNetworkConfiguration) []GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic { + return v.InfrastructureRoutingStatics + }).(GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutput) +} + +// Information about the management nodes that are provisioned in the Compute Cloud@Customer infrastructure. +func (o GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput) ManagementNodes() GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArrayOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructureInfrastructureNetworkConfiguration) []GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode { + return v.ManagementNodes + }).(GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArrayOutput) +} + +// The hostname corresponding to the virtual IP (VIP) address of the management nodes. +func (o GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput) MgmtVipHostname() pulumi.StringOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructureInfrastructureNetworkConfiguration) string { + return v.MgmtVipHostname + }).(pulumi.StringOutput) +} + +// The IP address used as the virtual IP (VIP) address of the management nodes. +func (o GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput) MgmtVipIp() pulumi.StringOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructureInfrastructureNetworkConfiguration) string { return v.MgmtVipIp }).(pulumi.StringOutput) +} + +// Addresses of the network spine switches. +func (o GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput) SpineIps() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructureInfrastructureNetworkConfiguration) []string { return v.SpineIps }).(pulumi.StringArrayOutput) +} + +// The spine switch public virtual IP (VIP). Traffic routed to the Compute Cloud@Customer infrastructure and and virtual cloud networks (VCNs) should have this address as next hop. +func (o GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput) SpineVip() pulumi.StringOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructureInfrastructureNetworkConfiguration) string { return v.SpineVip }).(pulumi.StringOutput) +} + +// Domain name to be used as the base domain for the internal network and by public facing services. +func (o GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput) UplinkDomain() pulumi.StringOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructureInfrastructureNetworkConfiguration) string { return v.UplinkDomain }).(pulumi.StringOutput) +} + +// Uplink gateway in the datacenter network that the Compute Cloud@Customer connects to. +func (o GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput) UplinkGatewayIp() pulumi.StringOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructureInfrastructureNetworkConfiguration) string { + return v.UplinkGatewayIp + }).(pulumi.StringOutput) +} + +// Netmask of the subnet that the Compute Cloud@Customer infrastructure is connected to. +func (o GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput) UplinkNetmask() pulumi.StringOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructureInfrastructureNetworkConfiguration) string { + return v.UplinkNetmask + }).(pulumi.StringOutput) +} + +// Number of uplink ports per spine switch. Connectivity is identical on both spine switches. For example, if input is two 100 gigabyte ports; then port-1 and port-2 on both spines will be configured. +func (o GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput) UplinkPortCount() pulumi.IntOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructureInfrastructureNetworkConfiguration) int { return v.UplinkPortCount }).(pulumi.IntOutput) +} + +// The port forward error correction (FEC) setting for the uplink port on the Compute Cloud@Customer infrastructure. +func (o GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput) UplinkPortForwardErrorCorrection() pulumi.StringOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructureInfrastructureNetworkConfiguration) string { + return v.UplinkPortForwardErrorCorrection + }).(pulumi.StringOutput) +} + +// Uplink port speed defined in gigabytes per second. All uplink ports must have identical speed. +func (o GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput) UplinkPortSpeedInGbps() pulumi.IntOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructureInfrastructureNetworkConfiguration) int { + return v.UplinkPortSpeedInGbps + }).(pulumi.IntOutput) +} + +// The virtual local area network (VLAN) maximum transmission unit (MTU) size for the uplink ports. +func (o GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput) UplinkVlanMtu() pulumi.IntOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructureInfrastructureNetworkConfiguration) int { return v.UplinkVlanMtu }).(pulumi.IntOutput) +} + +type GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationArrayOutput struct{ *pulumi.OutputState } + +func (GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAtCustomerCccInfrastructureInfrastructureNetworkConfiguration)(nil)).Elem() +} + +func (o GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationArrayOutput) ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationArrayOutput() GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationArrayOutput { + return o +} + +func (o GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationArrayOutput) ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationArrayOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationArrayOutput { + return o +} + +func (o GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetAtCustomerCccInfrastructureInfrastructureNetworkConfiguration] { + return pulumix.Output[[]GetAtCustomerCccInfrastructureInfrastructureNetworkConfiguration]{ + OutputState: o.OutputState, + } +} + +func (o GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationArrayOutput) Index(i pulumi.IntInput) GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetAtCustomerCccInfrastructureInfrastructureNetworkConfiguration { + return vs[0].([]GetAtCustomerCccInfrastructureInfrastructureNetworkConfiguration)[vs[1].(int)] + }).(GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput) +} + +type GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic struct { + // The topology in use for the Border Gateway Protocol (BGP) configuration. + BgpTopology string `pulumi:"bgpTopology"` + // The Oracle Autonomous System Number (ASN) to control routing and exchange information within the dynamic routing configuration. + OracleAsn int `pulumi:"oracleAsn"` + // The list of peer devices in the dynamic routing configuration. + PeerInformations []GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation `pulumi:"peerInformations"` +} + +// GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicInput is an input type that accepts GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArgs and GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutput values. +// You can construct a concrete instance of `GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicInput` via: +// +// GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArgs{...} +type GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicInput interface { + pulumi.Input + + ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutput() GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutput + ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutputWithContext(context.Context) GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutput +} + +type GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArgs struct { + // The topology in use for the Border Gateway Protocol (BGP) configuration. + BgpTopology pulumi.StringInput `pulumi:"bgpTopology"` + // The Oracle Autonomous System Number (ASN) to control routing and exchange information within the dynamic routing configuration. + OracleAsn pulumi.IntInput `pulumi:"oracleAsn"` + // The list of peer devices in the dynamic routing configuration. + PeerInformations GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayInput `pulumi:"peerInformations"` +} + +func (GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic)(nil)).Elem() +} + +func (i GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArgs) ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutput() GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutput { + return i.ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutputWithContext(context.Background()) +} + +func (i GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArgs) ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutput) +} + +func (i GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArgs) ToOutput(ctx context.Context) pulumix.Output[GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic] { + return pulumix.Output[GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic]{ + OutputState: i.ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutputWithContext(ctx).OutputState, + } +} + +// GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayInput is an input type that accepts GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArray and GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutput values. +// You can construct a concrete instance of `GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayInput` via: +// +// GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArray{ GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArgs{...} } +type GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayInput interface { + pulumi.Input + + ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutput() GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutput + ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutputWithContext(context.Context) GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutput +} + +type GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArray []GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicInput + +func (GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic)(nil)).Elem() +} + +func (i GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArray) ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutput() GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutput { + return i.ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutputWithContext(context.Background()) +} + +func (i GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArray) ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutput) +} + +func (i GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArray) ToOutput(ctx context.Context) pulumix.Output[[]GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic] { + return pulumix.Output[[]GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic]{ + OutputState: i.ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutputWithContext(ctx).OutputState, + } +} + +type GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutput struct{ *pulumi.OutputState } + +func (GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic)(nil)).Elem() +} + +func (o GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutput) ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutput() GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutput { + return o +} + +func (o GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutput) ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutput { + return o +} + +func (o GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutput) ToOutput(ctx context.Context) pulumix.Output[GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic] { + return pulumix.Output[GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic]{ + OutputState: o.OutputState, + } +} + +// The topology in use for the Border Gateway Protocol (BGP) configuration. +func (o GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutput) BgpTopology() pulumi.StringOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic) string { + return v.BgpTopology + }).(pulumi.StringOutput) +} + +// The Oracle Autonomous System Number (ASN) to control routing and exchange information within the dynamic routing configuration. +func (o GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutput) OracleAsn() pulumi.IntOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic) int { + return v.OracleAsn + }).(pulumi.IntOutput) +} + +// The list of peer devices in the dynamic routing configuration. +func (o GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutput) PeerInformations() GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic) []GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation { + return v.PeerInformations + }).(GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutput) +} + +type GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutput struct{ *pulumi.OutputState } + +func (GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic)(nil)).Elem() +} + +func (o GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutput) ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutput() GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutput { + return o +} + +func (o GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutput) ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutput { + return o +} + +func (o GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic] { + return pulumix.Output[[]GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic]{ + OutputState: o.OutputState, + } +} + +func (o GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutput) Index(i pulumi.IntInput) GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic { + return vs[0].([]GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic)[vs[1].(int)] + }).(GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutput) +} + +type GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation struct { + // The Autonomous System Number (ASN) of the peer network. + Asn int `pulumi:"asn"` + // Address of the management node. + Ip string `pulumi:"ip"` +} + +// GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationInput is an input type that accepts GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArgs and GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutput values. +// You can construct a concrete instance of `GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationInput` via: +// +// GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArgs{...} +type GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationInput interface { + pulumi.Input + + ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutput() GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutput + ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutputWithContext(context.Context) GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutput +} + +type GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArgs struct { + // The Autonomous System Number (ASN) of the peer network. + Asn pulumi.IntInput `pulumi:"asn"` + // Address of the management node. + Ip pulumi.StringInput `pulumi:"ip"` +} + +func (GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation)(nil)).Elem() +} + +func (i GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArgs) ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutput() GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutput { + return i.ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutputWithContext(context.Background()) +} + +func (i GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArgs) ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutput) +} + +func (i GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArgs) ToOutput(ctx context.Context) pulumix.Output[GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation] { + return pulumix.Output[GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation]{ + OutputState: i.ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutputWithContext(ctx).OutputState, + } +} + +// GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayInput is an input type that accepts GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArray and GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutput values. +// You can construct a concrete instance of `GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayInput` via: +// +// GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArray{ GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArgs{...} } +type GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayInput interface { + pulumi.Input + + ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutput() GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutput + ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutputWithContext(context.Context) GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutput +} + +type GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArray []GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationInput + +func (GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation)(nil)).Elem() +} + +func (i GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArray) ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutput() GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutput { + return i.ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutputWithContext(context.Background()) +} + +func (i GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArray) ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutput) +} + +func (i GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArray) ToOutput(ctx context.Context) pulumix.Output[[]GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation] { + return pulumix.Output[[]GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation]{ + OutputState: i.ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutputWithContext(ctx).OutputState, + } +} + +type GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutput struct{ *pulumi.OutputState } + +func (GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation)(nil)).Elem() +} + +func (o GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutput) ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutput() GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutput { + return o +} + +func (o GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutput) ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutput { + return o +} + +func (o GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutput) ToOutput(ctx context.Context) pulumix.Output[GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation] { + return pulumix.Output[GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation]{ + OutputState: o.OutputState, + } +} + +// The Autonomous System Number (ASN) of the peer network. +func (o GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutput) Asn() pulumi.IntOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation) int { + return v.Asn + }).(pulumi.IntOutput) +} + +// Address of the management node. +func (o GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutput) Ip() pulumi.StringOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation) string { + return v.Ip + }).(pulumi.StringOutput) +} + +type GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutput struct{ *pulumi.OutputState } + +func (GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation)(nil)).Elem() +} + +func (o GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutput) ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutput() GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutput { + return o +} + +func (o GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutput) ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutput { + return o +} + +func (o GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation] { + return pulumix.Output[[]GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation]{ + OutputState: o.OutputState, + } +} + +func (o GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutput) Index(i pulumi.IntInput) GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation { + return vs[0].([]GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation)[vs[1].(int)] + }).(GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutput) +} + +type GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic struct { + // The uplink Hot Standby Router Protocol (HSRP) group value for the switch in the Compute Cloud@Customer infrastructure. + UplinkHsrpGroup int `pulumi:"uplinkHsrpGroup"` + // The virtual local area network (VLAN) identifier used to connect to the uplink (only access mode is supported). + UplinkVlan int `pulumi:"uplinkVlan"` +} + +// GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticInput is an input type that accepts GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArgs and GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutput values. +// You can construct a concrete instance of `GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticInput` via: +// +// GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArgs{...} +type GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticInput interface { + pulumi.Input + + ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutput() GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutput + ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutputWithContext(context.Context) GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutput +} + +type GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArgs struct { + // The uplink Hot Standby Router Protocol (HSRP) group value for the switch in the Compute Cloud@Customer infrastructure. + UplinkHsrpGroup pulumi.IntInput `pulumi:"uplinkHsrpGroup"` + // The virtual local area network (VLAN) identifier used to connect to the uplink (only access mode is supported). + UplinkVlan pulumi.IntInput `pulumi:"uplinkVlan"` +} + +func (GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic)(nil)).Elem() +} + +func (i GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArgs) ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutput() GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutput { + return i.ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutputWithContext(context.Background()) +} + +func (i GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArgs) ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutput) +} + +func (i GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArgs) ToOutput(ctx context.Context) pulumix.Output[GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic] { + return pulumix.Output[GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic]{ + OutputState: i.ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutputWithContext(ctx).OutputState, + } +} + +// GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayInput is an input type that accepts GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArray and GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutput values. +// You can construct a concrete instance of `GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayInput` via: +// +// GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArray{ GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArgs{...} } +type GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayInput interface { + pulumi.Input + + ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutput() GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutput + ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutputWithContext(context.Context) GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutput +} + +type GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArray []GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticInput + +func (GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic)(nil)).Elem() +} + +func (i GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArray) ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutput() GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutput { + return i.ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutputWithContext(context.Background()) +} + +func (i GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArray) ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutput) +} + +func (i GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArray) ToOutput(ctx context.Context) pulumix.Output[[]GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic] { + return pulumix.Output[[]GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic]{ + OutputState: i.ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutputWithContext(ctx).OutputState, + } +} + +type GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutput struct{ *pulumi.OutputState } + +func (GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic)(nil)).Elem() +} + +func (o GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutput) ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutput() GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutput { + return o +} + +func (o GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutput) ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutput { + return o +} + +func (o GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutput) ToOutput(ctx context.Context) pulumix.Output[GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic] { + return pulumix.Output[GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic]{ + OutputState: o.OutputState, + } +} + +// The uplink Hot Standby Router Protocol (HSRP) group value for the switch in the Compute Cloud@Customer infrastructure. +func (o GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutput) UplinkHsrpGroup() pulumi.IntOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic) int { + return v.UplinkHsrpGroup + }).(pulumi.IntOutput) +} + +// The virtual local area network (VLAN) identifier used to connect to the uplink (only access mode is supported). +func (o GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutput) UplinkVlan() pulumi.IntOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic) int { + return v.UplinkVlan + }).(pulumi.IntOutput) +} + +type GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutput struct{ *pulumi.OutputState } + +func (GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic)(nil)).Elem() +} + +func (o GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutput) ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutput() GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutput { + return o +} + +func (o GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutput) ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutput { + return o +} + +func (o GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic] { + return pulumix.Output[[]GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic]{ + OutputState: o.OutputState, + } +} + +func (o GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutput) Index(i pulumi.IntInput) GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic { + return vs[0].([]GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic)[vs[1].(int)] + }).(GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutput) +} + +type GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode struct { + // Hostname for interface to the management node. + Hostname string `pulumi:"hostname"` + // Address of the management node. + Ip string `pulumi:"ip"` +} + +// GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeInput is an input type that accepts GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArgs and GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeOutput values. +// You can construct a concrete instance of `GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeInput` via: +// +// GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArgs{...} +type GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeInput interface { + pulumi.Input + + ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeOutput() GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeOutput + ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeOutputWithContext(context.Context) GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeOutput +} + +type GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArgs struct { + // Hostname for interface to the management node. + Hostname pulumi.StringInput `pulumi:"hostname"` + // Address of the management node. + Ip pulumi.StringInput `pulumi:"ip"` +} + +func (GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode)(nil)).Elem() +} + +func (i GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArgs) ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeOutput() GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeOutput { + return i.ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeOutputWithContext(context.Background()) +} + +func (i GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArgs) ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeOutput) +} + +func (i GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArgs) ToOutput(ctx context.Context) pulumix.Output[GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode] { + return pulumix.Output[GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode]{ + OutputState: i.ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeOutputWithContext(ctx).OutputState, + } +} + +// GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArrayInput is an input type that accepts GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArray and GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArrayOutput values. +// You can construct a concrete instance of `GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArrayInput` via: +// +// GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArray{ GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArgs{...} } +type GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArrayInput interface { + pulumi.Input + + ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArrayOutput() GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArrayOutput + ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArrayOutputWithContext(context.Context) GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArrayOutput +} + +type GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArray []GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeInput + +func (GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode)(nil)).Elem() +} + +func (i GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArray) ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArrayOutput() GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArrayOutput { + return i.ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArrayOutputWithContext(context.Background()) +} + +func (i GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArray) ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArrayOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArrayOutput) +} + +func (i GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArray) ToOutput(ctx context.Context) pulumix.Output[[]GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode] { + return pulumix.Output[[]GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode]{ + OutputState: i.ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArrayOutputWithContext(ctx).OutputState, + } +} + +type GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeOutput struct{ *pulumi.OutputState } + +func (GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode)(nil)).Elem() +} + +func (o GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeOutput) ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeOutput() GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeOutput { + return o +} + +func (o GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeOutput) ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeOutput { + return o +} + +func (o GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeOutput) ToOutput(ctx context.Context) pulumix.Output[GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode] { + return pulumix.Output[GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode]{ + OutputState: o.OutputState, + } +} + +// Hostname for interface to the management node. +func (o GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeOutput) Hostname() pulumi.StringOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode) string { + return v.Hostname + }).(pulumi.StringOutput) +} + +// Address of the management node. +func (o GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeOutput) Ip() pulumi.StringOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode) string { + return v.Ip + }).(pulumi.StringOutput) +} + +type GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArrayOutput struct{ *pulumi.OutputState } + +func (GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode)(nil)).Elem() +} + +func (o GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArrayOutput) ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArrayOutput() GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArrayOutput { + return o +} + +func (o GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArrayOutput) ToGetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArrayOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArrayOutput { + return o +} + +func (o GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode] { + return pulumix.Output[[]GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode]{ + OutputState: o.OutputState, + } +} + +func (o GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArrayOutput) Index(i pulumi.IntInput) GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode { + return vs[0].([]GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode)[vs[1].(int)] + }).(GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeOutput) +} + +type GetAtCustomerCccInfrastructureUpgradeInformation struct { + // The current version of software installed on the Compute Cloud@Customer infrastructure. + CurrentVersion string `pulumi:"currentVersion"` + // Indication that the Compute Cloud@Customer infrastructure is in the process of an upgrade or an upgrade activity (such as preloading upgrade images). + IsActive bool `pulumi:"isActive"` + // Expected duration of Compute Cloud@Customer infrastructure scheduled upgrade. The actual upgrade time might be longer or shorter than this duration depending on rack activity, this is only an estimate. + ScheduledUpgradeDuration string `pulumi:"scheduledUpgradeDuration"` + // Compute Cloud@Customer infrastructure next upgrade time. The rack might have performance impacts during this time. + TimeOfScheduledUpgrade string `pulumi:"timeOfScheduledUpgrade"` +} + +// GetAtCustomerCccInfrastructureUpgradeInformationInput is an input type that accepts GetAtCustomerCccInfrastructureUpgradeInformationArgs and GetAtCustomerCccInfrastructureUpgradeInformationOutput values. +// You can construct a concrete instance of `GetAtCustomerCccInfrastructureUpgradeInformationInput` via: +// +// GetAtCustomerCccInfrastructureUpgradeInformationArgs{...} +type GetAtCustomerCccInfrastructureUpgradeInformationInput interface { + pulumi.Input + + ToGetAtCustomerCccInfrastructureUpgradeInformationOutput() GetAtCustomerCccInfrastructureUpgradeInformationOutput + ToGetAtCustomerCccInfrastructureUpgradeInformationOutputWithContext(context.Context) GetAtCustomerCccInfrastructureUpgradeInformationOutput +} + +type GetAtCustomerCccInfrastructureUpgradeInformationArgs struct { + // The current version of software installed on the Compute Cloud@Customer infrastructure. + CurrentVersion pulumi.StringInput `pulumi:"currentVersion"` + // Indication that the Compute Cloud@Customer infrastructure is in the process of an upgrade or an upgrade activity (such as preloading upgrade images). + IsActive pulumi.BoolInput `pulumi:"isActive"` + // Expected duration of Compute Cloud@Customer infrastructure scheduled upgrade. The actual upgrade time might be longer or shorter than this duration depending on rack activity, this is only an estimate. + ScheduledUpgradeDuration pulumi.StringInput `pulumi:"scheduledUpgradeDuration"` + // Compute Cloud@Customer infrastructure next upgrade time. The rack might have performance impacts during this time. + TimeOfScheduledUpgrade pulumi.StringInput `pulumi:"timeOfScheduledUpgrade"` +} + +func (GetAtCustomerCccInfrastructureUpgradeInformationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAtCustomerCccInfrastructureUpgradeInformation)(nil)).Elem() +} + +func (i GetAtCustomerCccInfrastructureUpgradeInformationArgs) ToGetAtCustomerCccInfrastructureUpgradeInformationOutput() GetAtCustomerCccInfrastructureUpgradeInformationOutput { + return i.ToGetAtCustomerCccInfrastructureUpgradeInformationOutputWithContext(context.Background()) +} + +func (i GetAtCustomerCccInfrastructureUpgradeInformationArgs) ToGetAtCustomerCccInfrastructureUpgradeInformationOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructureUpgradeInformationOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAtCustomerCccInfrastructureUpgradeInformationOutput) +} + +func (i GetAtCustomerCccInfrastructureUpgradeInformationArgs) ToOutput(ctx context.Context) pulumix.Output[GetAtCustomerCccInfrastructureUpgradeInformation] { + return pulumix.Output[GetAtCustomerCccInfrastructureUpgradeInformation]{ + OutputState: i.ToGetAtCustomerCccInfrastructureUpgradeInformationOutputWithContext(ctx).OutputState, + } +} + +// GetAtCustomerCccInfrastructureUpgradeInformationArrayInput is an input type that accepts GetAtCustomerCccInfrastructureUpgradeInformationArray and GetAtCustomerCccInfrastructureUpgradeInformationArrayOutput values. +// You can construct a concrete instance of `GetAtCustomerCccInfrastructureUpgradeInformationArrayInput` via: +// +// GetAtCustomerCccInfrastructureUpgradeInformationArray{ GetAtCustomerCccInfrastructureUpgradeInformationArgs{...} } +type GetAtCustomerCccInfrastructureUpgradeInformationArrayInput interface { + pulumi.Input + + ToGetAtCustomerCccInfrastructureUpgradeInformationArrayOutput() GetAtCustomerCccInfrastructureUpgradeInformationArrayOutput + ToGetAtCustomerCccInfrastructureUpgradeInformationArrayOutputWithContext(context.Context) GetAtCustomerCccInfrastructureUpgradeInformationArrayOutput +} + +type GetAtCustomerCccInfrastructureUpgradeInformationArray []GetAtCustomerCccInfrastructureUpgradeInformationInput + +func (GetAtCustomerCccInfrastructureUpgradeInformationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAtCustomerCccInfrastructureUpgradeInformation)(nil)).Elem() +} + +func (i GetAtCustomerCccInfrastructureUpgradeInformationArray) ToGetAtCustomerCccInfrastructureUpgradeInformationArrayOutput() GetAtCustomerCccInfrastructureUpgradeInformationArrayOutput { + return i.ToGetAtCustomerCccInfrastructureUpgradeInformationArrayOutputWithContext(context.Background()) +} + +func (i GetAtCustomerCccInfrastructureUpgradeInformationArray) ToGetAtCustomerCccInfrastructureUpgradeInformationArrayOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructureUpgradeInformationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAtCustomerCccInfrastructureUpgradeInformationArrayOutput) +} + +func (i GetAtCustomerCccInfrastructureUpgradeInformationArray) ToOutput(ctx context.Context) pulumix.Output[[]GetAtCustomerCccInfrastructureUpgradeInformation] { + return pulumix.Output[[]GetAtCustomerCccInfrastructureUpgradeInformation]{ + OutputState: i.ToGetAtCustomerCccInfrastructureUpgradeInformationArrayOutputWithContext(ctx).OutputState, + } +} + +type GetAtCustomerCccInfrastructureUpgradeInformationOutput struct{ *pulumi.OutputState } + +func (GetAtCustomerCccInfrastructureUpgradeInformationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAtCustomerCccInfrastructureUpgradeInformation)(nil)).Elem() +} + +func (o GetAtCustomerCccInfrastructureUpgradeInformationOutput) ToGetAtCustomerCccInfrastructureUpgradeInformationOutput() GetAtCustomerCccInfrastructureUpgradeInformationOutput { + return o +} + +func (o GetAtCustomerCccInfrastructureUpgradeInformationOutput) ToGetAtCustomerCccInfrastructureUpgradeInformationOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructureUpgradeInformationOutput { + return o +} + +func (o GetAtCustomerCccInfrastructureUpgradeInformationOutput) ToOutput(ctx context.Context) pulumix.Output[GetAtCustomerCccInfrastructureUpgradeInformation] { + return pulumix.Output[GetAtCustomerCccInfrastructureUpgradeInformation]{ + OutputState: o.OutputState, + } +} + +// The current version of software installed on the Compute Cloud@Customer infrastructure. +func (o GetAtCustomerCccInfrastructureUpgradeInformationOutput) CurrentVersion() pulumi.StringOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructureUpgradeInformation) string { return v.CurrentVersion }).(pulumi.StringOutput) +} + +// Indication that the Compute Cloud@Customer infrastructure is in the process of an upgrade or an upgrade activity (such as preloading upgrade images). +func (o GetAtCustomerCccInfrastructureUpgradeInformationOutput) IsActive() pulumi.BoolOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructureUpgradeInformation) bool { return v.IsActive }).(pulumi.BoolOutput) +} + +// Expected duration of Compute Cloud@Customer infrastructure scheduled upgrade. The actual upgrade time might be longer or shorter than this duration depending on rack activity, this is only an estimate. +func (o GetAtCustomerCccInfrastructureUpgradeInformationOutput) ScheduledUpgradeDuration() pulumi.StringOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructureUpgradeInformation) string { return v.ScheduledUpgradeDuration }).(pulumi.StringOutput) +} + +// Compute Cloud@Customer infrastructure next upgrade time. The rack might have performance impacts during this time. +func (o GetAtCustomerCccInfrastructureUpgradeInformationOutput) TimeOfScheduledUpgrade() pulumi.StringOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructureUpgradeInformation) string { return v.TimeOfScheduledUpgrade }).(pulumi.StringOutput) +} + +type GetAtCustomerCccInfrastructureUpgradeInformationArrayOutput struct{ *pulumi.OutputState } + +func (GetAtCustomerCccInfrastructureUpgradeInformationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAtCustomerCccInfrastructureUpgradeInformation)(nil)).Elem() +} + +func (o GetAtCustomerCccInfrastructureUpgradeInformationArrayOutput) ToGetAtCustomerCccInfrastructureUpgradeInformationArrayOutput() GetAtCustomerCccInfrastructureUpgradeInformationArrayOutput { + return o +} + +func (o GetAtCustomerCccInfrastructureUpgradeInformationArrayOutput) ToGetAtCustomerCccInfrastructureUpgradeInformationArrayOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructureUpgradeInformationArrayOutput { + return o +} + +func (o GetAtCustomerCccInfrastructureUpgradeInformationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetAtCustomerCccInfrastructureUpgradeInformation] { + return pulumix.Output[[]GetAtCustomerCccInfrastructureUpgradeInformation]{ + OutputState: o.OutputState, + } +} + +func (o GetAtCustomerCccInfrastructureUpgradeInformationArrayOutput) Index(i pulumi.IntInput) GetAtCustomerCccInfrastructureUpgradeInformationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetAtCustomerCccInfrastructureUpgradeInformation { + return vs[0].([]GetAtCustomerCccInfrastructureUpgradeInformation)[vs[1].(int)] + }).(GetAtCustomerCccInfrastructureUpgradeInformationOutput) +} + +type GetAtCustomerCccInfrastructuresCccInfrastructureCollection struct { + Items []GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItem `pulumi:"items"` +} + +// GetAtCustomerCccInfrastructuresCccInfrastructureCollectionInput is an input type that accepts GetAtCustomerCccInfrastructuresCccInfrastructureCollectionArgs and GetAtCustomerCccInfrastructuresCccInfrastructureCollectionOutput values. +// You can construct a concrete instance of `GetAtCustomerCccInfrastructuresCccInfrastructureCollectionInput` via: +// +// GetAtCustomerCccInfrastructuresCccInfrastructureCollectionArgs{...} +type GetAtCustomerCccInfrastructuresCccInfrastructureCollectionInput interface { + pulumi.Input + + ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionOutput() GetAtCustomerCccInfrastructuresCccInfrastructureCollectionOutput + ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionOutputWithContext(context.Context) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionOutput +} + +type GetAtCustomerCccInfrastructuresCccInfrastructureCollectionArgs struct { + Items GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemArrayInput `pulumi:"items"` +} + +func (GetAtCustomerCccInfrastructuresCccInfrastructureCollectionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAtCustomerCccInfrastructuresCccInfrastructureCollection)(nil)).Elem() +} + +func (i GetAtCustomerCccInfrastructuresCccInfrastructureCollectionArgs) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionOutput() GetAtCustomerCccInfrastructuresCccInfrastructureCollectionOutput { + return i.ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionOutputWithContext(context.Background()) +} + +func (i GetAtCustomerCccInfrastructuresCccInfrastructureCollectionArgs) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionOutput) +} + +func (i GetAtCustomerCccInfrastructuresCccInfrastructureCollectionArgs) ToOutput(ctx context.Context) pulumix.Output[GetAtCustomerCccInfrastructuresCccInfrastructureCollection] { + return pulumix.Output[GetAtCustomerCccInfrastructuresCccInfrastructureCollection]{ + OutputState: i.ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionOutputWithContext(ctx).OutputState, + } +} + +// GetAtCustomerCccInfrastructuresCccInfrastructureCollectionArrayInput is an input type that accepts GetAtCustomerCccInfrastructuresCccInfrastructureCollectionArray and GetAtCustomerCccInfrastructuresCccInfrastructureCollectionArrayOutput values. +// You can construct a concrete instance of `GetAtCustomerCccInfrastructuresCccInfrastructureCollectionArrayInput` via: +// +// GetAtCustomerCccInfrastructuresCccInfrastructureCollectionArray{ GetAtCustomerCccInfrastructuresCccInfrastructureCollectionArgs{...} } +type GetAtCustomerCccInfrastructuresCccInfrastructureCollectionArrayInput interface { + pulumi.Input + + ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionArrayOutput() GetAtCustomerCccInfrastructuresCccInfrastructureCollectionArrayOutput + ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionArrayOutputWithContext(context.Context) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionArrayOutput +} + +type GetAtCustomerCccInfrastructuresCccInfrastructureCollectionArray []GetAtCustomerCccInfrastructuresCccInfrastructureCollectionInput + +func (GetAtCustomerCccInfrastructuresCccInfrastructureCollectionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAtCustomerCccInfrastructuresCccInfrastructureCollection)(nil)).Elem() +} + +func (i GetAtCustomerCccInfrastructuresCccInfrastructureCollectionArray) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionArrayOutput() GetAtCustomerCccInfrastructuresCccInfrastructureCollectionArrayOutput { + return i.ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionArrayOutputWithContext(context.Background()) +} + +func (i GetAtCustomerCccInfrastructuresCccInfrastructureCollectionArray) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionArrayOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionArrayOutput) +} + +func (i GetAtCustomerCccInfrastructuresCccInfrastructureCollectionArray) ToOutput(ctx context.Context) pulumix.Output[[]GetAtCustomerCccInfrastructuresCccInfrastructureCollection] { + return pulumix.Output[[]GetAtCustomerCccInfrastructuresCccInfrastructureCollection]{ + OutputState: i.ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionArrayOutputWithContext(ctx).OutputState, + } +} + +type GetAtCustomerCccInfrastructuresCccInfrastructureCollectionOutput struct{ *pulumi.OutputState } + +func (GetAtCustomerCccInfrastructuresCccInfrastructureCollectionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAtCustomerCccInfrastructuresCccInfrastructureCollection)(nil)).Elem() +} + +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionOutput) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionOutput() GetAtCustomerCccInfrastructuresCccInfrastructureCollectionOutput { + return o +} + +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionOutput) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionOutput { + return o +} + +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionOutput) ToOutput(ctx context.Context) pulumix.Output[GetAtCustomerCccInfrastructuresCccInfrastructureCollection] { + return pulumix.Output[GetAtCustomerCccInfrastructuresCccInfrastructureCollection]{ + OutputState: o.OutputState, + } +} + +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionOutput) Items() GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemArrayOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresCccInfrastructureCollection) []GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItem { + return v.Items + }).(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemArrayOutput) +} + +type GetAtCustomerCccInfrastructuresCccInfrastructureCollectionArrayOutput struct{ *pulumi.OutputState } + +func (GetAtCustomerCccInfrastructuresCccInfrastructureCollectionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAtCustomerCccInfrastructuresCccInfrastructureCollection)(nil)).Elem() +} + +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionArrayOutput) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionArrayOutput() GetAtCustomerCccInfrastructuresCccInfrastructureCollectionArrayOutput { + return o +} + +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionArrayOutput) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionArrayOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionArrayOutput { + return o +} + +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetAtCustomerCccInfrastructuresCccInfrastructureCollection] { + return pulumix.Output[[]GetAtCustomerCccInfrastructuresCccInfrastructureCollection]{ + OutputState: o.OutputState, + } +} + +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionArrayOutput) Index(i pulumi.IntInput) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetAtCustomerCccInfrastructuresCccInfrastructureCollection { + return vs[0].([]GetAtCustomerCccInfrastructuresCccInfrastructureCollection)[vs[1].(int)] + }).(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionOutput) +} + +type GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItem struct { + // Schedule used for upgrades. If no schedule is associated with the infrastructure, it can be updated at any time. + CccUpgradeScheduleId string `pulumi:"cccUpgradeScheduleId"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + CompartmentId string `pulumi:"compartmentId"` + // A message describing the current connection state in more detail. + ConnectionDetails string `pulumi:"connectionDetails"` + // The current connection state of the infrastructure. A user can only update it from REQUEST to READY or from any state back to REJECT. The system automatically handles the REJECT to REQUEST, READY to CONNECTED, or CONNECTED to DISCONNECTED transitions. + ConnectionState string `pulumi:"connectionState"` + // Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + DefinedTags map[string]interface{} `pulumi:"definedTags"` + // A mutable client-meaningful text description of the Compute Cloud@Customer infrastructure. Avoid entering confidential information. + Description string `pulumi:"description"` + // A filter to return only resources that match the entire display name given. + DisplayName string `pulumi:"displayName"` + // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + FreeformTags map[string]interface{} `pulumi:"freeformTags"` + // The Compute Cloud@Customer infrastructure [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). This cannot be changed once created. + Id string `pulumi:"id"` + // Inventory for a Compute Cloud@Customer infrastructure. This information cannot be updated and is from the infrastructure. The information will only be available after the connectionState is transitioned to CONNECTED. + InfrastructureInventories []GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventory `pulumi:"infrastructureInventories"` + // Configuration information for the Compute Cloud@Customer infrastructure. This network configuration information cannot be updated and is retrieved from the data center. The information will only be available after the connectionState is transitioned to CONNECTED. + InfrastructureNetworkConfigurations []GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfiguration `pulumi:"infrastructureNetworkConfigurations"` + // A message describing the current lifecycle state in more detail. For example, this can be used to provide actionable information for a resource that is in a Failed state. + LifecycleDetails string `pulumi:"lifecycleDetails"` + // Fingerprint of a Compute Cloud@Customer infrastructure in a data center generated during the initial connection to this resource. The fingerprint should be verified by the administrator when changing the connectionState from REQUEST to READY. + ProvisioningFingerprint string `pulumi:"provisioningFingerprint"` + // Code that is required for service personnel to connect a Compute Cloud@Customer infrastructure in a data center to this resource. This code will only be available when the connectionState is REJECT (usually at create time of the Compute Cloud@Customer infrastructure). + ProvisioningPin string `pulumi:"provisioningPin"` + // The Compute Cloud@Customer infrastructure short name. This cannot be changed once created. The short name is used to refer to the infrastructure in several contexts and is unique. + ShortName string `pulumi:"shortName"` + // A filter used to return only resources that match the given lifecycleState. + State string `pulumi:"state"` + // [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the network subnet that is used to communicate with Compute Cloud@Customer infrastructure. + SubnetId string `pulumi:"subnetId"` + // System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + SystemTags map[string]interface{} `pulumi:"systemTags"` + // Compute Cloud@Customer infrastructure creation date and time, using an RFC3339 formatted datetime string. + TimeCreated string `pulumi:"timeCreated"` + // Compute Cloud@Customer infrastructure updated date and time, using an RFC3339 formatted datetime string. + TimeUpdated string `pulumi:"timeUpdated"` + // Upgrade information that relates to a Compute Cloud@Customer infrastructure. This information cannot be updated. + UpgradeInformations []GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformation `pulumi:"upgradeInformations"` +} + +// GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInput is an input type that accepts GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemArgs and GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemOutput values. +// You can construct a concrete instance of `GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInput` via: +// +// GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemArgs{...} +type GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInput interface { + pulumi.Input + + ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemOutput() GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemOutput + ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemOutputWithContext(context.Context) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemOutput +} + +type GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemArgs struct { + // Schedule used for upgrades. If no schedule is associated with the infrastructure, it can be updated at any time. + CccUpgradeScheduleId pulumi.StringInput `pulumi:"cccUpgradeScheduleId"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + CompartmentId pulumi.StringInput `pulumi:"compartmentId"` + // A message describing the current connection state in more detail. + ConnectionDetails pulumi.StringInput `pulumi:"connectionDetails"` + // The current connection state of the infrastructure. A user can only update it from REQUEST to READY or from any state back to REJECT. The system automatically handles the REJECT to REQUEST, READY to CONNECTED, or CONNECTED to DISCONNECTED transitions. + ConnectionState pulumi.StringInput `pulumi:"connectionState"` + // Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + DefinedTags pulumi.MapInput `pulumi:"definedTags"` + // A mutable client-meaningful text description of the Compute Cloud@Customer infrastructure. Avoid entering confidential information. + Description pulumi.StringInput `pulumi:"description"` + // A filter to return only resources that match the entire display name given. + DisplayName pulumi.StringInput `pulumi:"displayName"` + // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + FreeformTags pulumi.MapInput `pulumi:"freeformTags"` + // The Compute Cloud@Customer infrastructure [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). This cannot be changed once created. + Id pulumi.StringInput `pulumi:"id"` + // Inventory for a Compute Cloud@Customer infrastructure. This information cannot be updated and is from the infrastructure. The information will only be available after the connectionState is transitioned to CONNECTED. + InfrastructureInventories GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryArrayInput `pulumi:"infrastructureInventories"` + // Configuration information for the Compute Cloud@Customer infrastructure. This network configuration information cannot be updated and is retrieved from the data center. The information will only be available after the connectionState is transitioned to CONNECTED. + InfrastructureNetworkConfigurations GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationArrayInput `pulumi:"infrastructureNetworkConfigurations"` + // A message describing the current lifecycle state in more detail. For example, this can be used to provide actionable information for a resource that is in a Failed state. + LifecycleDetails pulumi.StringInput `pulumi:"lifecycleDetails"` + // Fingerprint of a Compute Cloud@Customer infrastructure in a data center generated during the initial connection to this resource. The fingerprint should be verified by the administrator when changing the connectionState from REQUEST to READY. + ProvisioningFingerprint pulumi.StringInput `pulumi:"provisioningFingerprint"` + // Code that is required for service personnel to connect a Compute Cloud@Customer infrastructure in a data center to this resource. This code will only be available when the connectionState is REJECT (usually at create time of the Compute Cloud@Customer infrastructure). + ProvisioningPin pulumi.StringInput `pulumi:"provisioningPin"` + // The Compute Cloud@Customer infrastructure short name. This cannot be changed once created. The short name is used to refer to the infrastructure in several contexts and is unique. + ShortName pulumi.StringInput `pulumi:"shortName"` + // A filter used to return only resources that match the given lifecycleState. + State pulumi.StringInput `pulumi:"state"` + // [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the network subnet that is used to communicate with Compute Cloud@Customer infrastructure. + SubnetId pulumi.StringInput `pulumi:"subnetId"` + // System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + SystemTags pulumi.MapInput `pulumi:"systemTags"` + // Compute Cloud@Customer infrastructure creation date and time, using an RFC3339 formatted datetime string. + TimeCreated pulumi.StringInput `pulumi:"timeCreated"` + // Compute Cloud@Customer infrastructure updated date and time, using an RFC3339 formatted datetime string. + TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"` + // Upgrade information that relates to a Compute Cloud@Customer infrastructure. This information cannot be updated. + UpgradeInformations GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationArrayInput `pulumi:"upgradeInformations"` +} + +func (GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItem)(nil)).Elem() +} + +func (i GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemArgs) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemOutput() GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemOutput { + return i.ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemOutputWithContext(context.Background()) +} + +func (i GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemArgs) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemOutput) +} + +func (i GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemArgs) ToOutput(ctx context.Context) pulumix.Output[GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItem] { + return pulumix.Output[GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItem]{ + OutputState: i.ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemOutputWithContext(ctx).OutputState, + } +} + +// GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemArrayInput is an input type that accepts GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemArray and GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemArrayOutput values. +// You can construct a concrete instance of `GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemArrayInput` via: +// +// GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemArray{ GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemArgs{...} } +type GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemArrayInput interface { + pulumi.Input + + ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemArrayOutput() GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemArrayOutput + ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemArrayOutputWithContext(context.Context) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemArrayOutput +} + +type GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemArray []GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInput + +func (GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItem)(nil)).Elem() +} + +func (i GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemArray) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemArrayOutput() GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemArrayOutput { + return i.ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemArrayOutputWithContext(context.Background()) +} + +func (i GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemArray) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemArrayOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemArrayOutput) +} + +func (i GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemArray) ToOutput(ctx context.Context) pulumix.Output[[]GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItem] { + return pulumix.Output[[]GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItem]{ + OutputState: i.ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemArrayOutputWithContext(ctx).OutputState, + } +} + +type GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemOutput struct{ *pulumi.OutputState } + +func (GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItem)(nil)).Elem() +} + +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemOutput) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemOutput() GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemOutput { + return o +} + +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemOutput) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemOutput { + return o +} + +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemOutput) ToOutput(ctx context.Context) pulumix.Output[GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItem] { + return pulumix.Output[GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItem]{ + OutputState: o.OutputState, + } +} + +// Schedule used for upgrades. If no schedule is associated with the infrastructure, it can be updated at any time. +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemOutput) CccUpgradeScheduleId() pulumi.StringOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItem) string { + return v.CccUpgradeScheduleId + }).(pulumi.StringOutput) +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItem) string { return v.CompartmentId }).(pulumi.StringOutput) +} + +// A message describing the current connection state in more detail. +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemOutput) ConnectionDetails() pulumi.StringOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItem) string { + return v.ConnectionDetails + }).(pulumi.StringOutput) +} + +// The current connection state of the infrastructure. A user can only update it from REQUEST to READY or from any state back to REJECT. The system automatically handles the REJECT to REQUEST, READY to CONNECTED, or CONNECTED to DISCONNECTED transitions. +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemOutput) ConnectionState() pulumi.StringOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItem) string { + return v.ConnectionState + }).(pulumi.StringOutput) +} + +// Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemOutput) DefinedTags() pulumi.MapOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItem) map[string]interface{} { + return v.DefinedTags + }).(pulumi.MapOutput) +} + +// A mutable client-meaningful text description of the Compute Cloud@Customer infrastructure. Avoid entering confidential information. +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItem) string { return v.Description }).(pulumi.StringOutput) +} + +// A filter to return only resources that match the entire display name given. +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItem) string { return v.DisplayName }).(pulumi.StringOutput) +} + +// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemOutput) FreeformTags() pulumi.MapOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItem) map[string]interface{} { + return v.FreeformTags + }).(pulumi.MapOutput) +} + +// The Compute Cloud@Customer infrastructure [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). This cannot be changed once created. +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItem) string { return v.Id }).(pulumi.StringOutput) +} + +// Inventory for a Compute Cloud@Customer infrastructure. This information cannot be updated and is from the infrastructure. The information will only be available after the connectionState is transitioned to CONNECTED. +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemOutput) InfrastructureInventories() GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryArrayOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItem) []GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventory { + return v.InfrastructureInventories + }).(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryArrayOutput) +} + +// Configuration information for the Compute Cloud@Customer infrastructure. This network configuration information cannot be updated and is retrieved from the data center. The information will only be available after the connectionState is transitioned to CONNECTED. +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemOutput) InfrastructureNetworkConfigurations() GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationArrayOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItem) []GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfiguration { + return v.InfrastructureNetworkConfigurations + }).(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationArrayOutput) +} + +// A message describing the current lifecycle state in more detail. For example, this can be used to provide actionable information for a resource that is in a Failed state. +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemOutput) LifecycleDetails() pulumi.StringOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItem) string { + return v.LifecycleDetails + }).(pulumi.StringOutput) +} + +// Fingerprint of a Compute Cloud@Customer infrastructure in a data center generated during the initial connection to this resource. The fingerprint should be verified by the administrator when changing the connectionState from REQUEST to READY. +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemOutput) ProvisioningFingerprint() pulumi.StringOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItem) string { + return v.ProvisioningFingerprint + }).(pulumi.StringOutput) +} + +// Code that is required for service personnel to connect a Compute Cloud@Customer infrastructure in a data center to this resource. This code will only be available when the connectionState is REJECT (usually at create time of the Compute Cloud@Customer infrastructure). +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemOutput) ProvisioningPin() pulumi.StringOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItem) string { + return v.ProvisioningPin + }).(pulumi.StringOutput) +} + +// The Compute Cloud@Customer infrastructure short name. This cannot be changed once created. The short name is used to refer to the infrastructure in several contexts and is unique. +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemOutput) ShortName() pulumi.StringOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItem) string { return v.ShortName }).(pulumi.StringOutput) +} + +// A filter used to return only resources that match the given lifecycleState. +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItem) string { return v.State }).(pulumi.StringOutput) +} + +// [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the network subnet that is used to communicate with Compute Cloud@Customer infrastructure. +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemOutput) SubnetId() pulumi.StringOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItem) string { return v.SubnetId }).(pulumi.StringOutput) +} + +// System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemOutput) SystemTags() pulumi.MapOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItem) map[string]interface{} { + return v.SystemTags + }).(pulumi.MapOutput) +} + +// Compute Cloud@Customer infrastructure creation date and time, using an RFC3339 formatted datetime string. +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItem) string { return v.TimeCreated }).(pulumi.StringOutput) +} + +// Compute Cloud@Customer infrastructure updated date and time, using an RFC3339 formatted datetime string. +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemOutput) TimeUpdated() pulumi.StringOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItem) string { return v.TimeUpdated }).(pulumi.StringOutput) +} + +// Upgrade information that relates to a Compute Cloud@Customer infrastructure. This information cannot be updated. +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemOutput) UpgradeInformations() GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationArrayOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItem) []GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformation { + return v.UpgradeInformations + }).(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationArrayOutput) +} + +type GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemArrayOutput struct{ *pulumi.OutputState } + +func (GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItem)(nil)).Elem() +} + +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemArrayOutput) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemArrayOutput() GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemArrayOutput { + return o +} + +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemArrayOutput) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemArrayOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemArrayOutput { + return o +} + +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItem] { + return pulumix.Output[[]GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItem]{ + OutputState: o.OutputState, + } +} + +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemArrayOutput) Index(i pulumi.IntInput) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItem { + return vs[0].([]GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItem)[vs[1].(int)] + }).(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemOutput) +} + +type GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventory struct { + // The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for capacity storage. + CapacityStorageTrayCount int `pulumi:"capacityStorageTrayCount"` + // The number of compute nodes that are available and usable on the Compute Cloud@Customer infrastructure rack. There is no distinction of compute node type in this information. + ComputeNodeCount int `pulumi:"computeNodeCount"` + // The number of management nodes that are available and in active use on the Compute Cloud@Customer infrastructure rack. + ManagementNodeCount int `pulumi:"managementNodeCount"` + // The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for performance storage. + PerformanceStorageTrayCount int `pulumi:"performanceStorageTrayCount"` + // The serial number of the Compute Cloud@Customer infrastructure rack. + SerialNumber string `pulumi:"serialNumber"` +} + +// GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryInput is an input type that accepts GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryArgs and GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryOutput values. +// You can construct a concrete instance of `GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryInput` via: +// +// GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryArgs{...} +type GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryInput interface { + pulumi.Input + + ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryOutput() GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryOutput + ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryOutputWithContext(context.Context) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryOutput +} + +type GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryArgs struct { + // The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for capacity storage. + CapacityStorageTrayCount pulumi.IntInput `pulumi:"capacityStorageTrayCount"` + // The number of compute nodes that are available and usable on the Compute Cloud@Customer infrastructure rack. There is no distinction of compute node type in this information. + ComputeNodeCount pulumi.IntInput `pulumi:"computeNodeCount"` + // The number of management nodes that are available and in active use on the Compute Cloud@Customer infrastructure rack. + ManagementNodeCount pulumi.IntInput `pulumi:"managementNodeCount"` + // The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for performance storage. + PerformanceStorageTrayCount pulumi.IntInput `pulumi:"performanceStorageTrayCount"` + // The serial number of the Compute Cloud@Customer infrastructure rack. + SerialNumber pulumi.StringInput `pulumi:"serialNumber"` +} + +func (GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventory)(nil)).Elem() +} + +func (i GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryArgs) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryOutput() GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryOutput { + return i.ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryOutputWithContext(context.Background()) +} + +func (i GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryArgs) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryOutput) +} + +func (i GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryArgs) ToOutput(ctx context.Context) pulumix.Output[GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventory] { + return pulumix.Output[GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventory]{ + OutputState: i.ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryOutputWithContext(ctx).OutputState, + } +} + +// GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryArrayInput is an input type that accepts GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryArray and GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryArrayOutput values. +// You can construct a concrete instance of `GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryArrayInput` via: +// +// GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryArray{ GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryArgs{...} } +type GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryArrayInput interface { + pulumi.Input + + ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryArrayOutput() GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryArrayOutput + ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryArrayOutputWithContext(context.Context) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryArrayOutput +} + +type GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryArray []GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryInput + +func (GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventory)(nil)).Elem() +} + +func (i GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryArray) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryArrayOutput() GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryArrayOutput { + return i.ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryArrayOutputWithContext(context.Background()) +} + +func (i GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryArray) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryArrayOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryArrayOutput) +} + +func (i GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryArray) ToOutput(ctx context.Context) pulumix.Output[[]GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventory] { + return pulumix.Output[[]GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventory]{ + OutputState: i.ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryArrayOutputWithContext(ctx).OutputState, + } +} + +type GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryOutput struct{ *pulumi.OutputState } + +func (GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventory)(nil)).Elem() +} + +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryOutput) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryOutput() GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryOutput { + return o +} + +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryOutput) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryOutput { + return o +} + +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryOutput) ToOutput(ctx context.Context) pulumix.Output[GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventory] { + return pulumix.Output[GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventory]{ + OutputState: o.OutputState, + } +} + +// The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for capacity storage. +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryOutput) CapacityStorageTrayCount() pulumi.IntOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventory) int { + return v.CapacityStorageTrayCount + }).(pulumi.IntOutput) +} + +// The number of compute nodes that are available and usable on the Compute Cloud@Customer infrastructure rack. There is no distinction of compute node type in this information. +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryOutput) ComputeNodeCount() pulumi.IntOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventory) int { + return v.ComputeNodeCount + }).(pulumi.IntOutput) +} + +// The number of management nodes that are available and in active use on the Compute Cloud@Customer infrastructure rack. +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryOutput) ManagementNodeCount() pulumi.IntOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventory) int { + return v.ManagementNodeCount + }).(pulumi.IntOutput) +} + +// The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for performance storage. +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryOutput) PerformanceStorageTrayCount() pulumi.IntOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventory) int { + return v.PerformanceStorageTrayCount + }).(pulumi.IntOutput) +} + +// The serial number of the Compute Cloud@Customer infrastructure rack. +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryOutput) SerialNumber() pulumi.StringOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventory) string { + return v.SerialNumber + }).(pulumi.StringOutput) +} + +type GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryArrayOutput struct{ *pulumi.OutputState } + +func (GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventory)(nil)).Elem() +} + +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryArrayOutput) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryArrayOutput() GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryArrayOutput { + return o +} + +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryArrayOutput) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryArrayOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryArrayOutput { + return o +} + +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventory] { + return pulumix.Output[[]GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventory]{ + OutputState: o.OutputState, + } +} + +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryArrayOutput) Index(i pulumi.IntInput) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventory { + return vs[0].([]GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventory)[vs[1].(int)] + }).(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryOutput) +} + +type GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfiguration struct { + // The domain name system (DNS) addresses that the Compute Cloud@Customer infrastructure uses for the data center network. + DnsIps []string `pulumi:"dnsIps"` + // Dynamic routing information for the Compute Cloud@Customer infrastructure. + InfrastructureRoutingDynamics []GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamic `pulumi:"infrastructureRoutingDynamics"` + // Static routing information for a rack. + InfrastructureRoutingStatics []GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStatic `pulumi:"infrastructureRoutingStatics"` + // Information about the management nodes that are provisioned in the Compute Cloud@Customer infrastructure. + ManagementNodes []GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNode `pulumi:"managementNodes"` + // The hostname corresponding to the virtual IP (VIP) address of the management nodes. + MgmtVipHostname string `pulumi:"mgmtVipHostname"` + // The IP address used as the virtual IP (VIP) address of the management nodes. + MgmtVipIp string `pulumi:"mgmtVipIp"` + // Addresses of the network spine switches. + SpineIps []string `pulumi:"spineIps"` + // The spine switch public virtual IP (VIP). Traffic routed to the Compute Cloud@Customer infrastructure and and virtual cloud networks (VCNs) should have this address as next hop. + SpineVip string `pulumi:"spineVip"` + // Domain name to be used as the base domain for the internal network and by public facing services. + UplinkDomain string `pulumi:"uplinkDomain"` + // Uplink gateway in the datacenter network that the Compute Cloud@Customer connects to. + UplinkGatewayIp string `pulumi:"uplinkGatewayIp"` + // Netmask of the subnet that the Compute Cloud@Customer infrastructure is connected to. + UplinkNetmask string `pulumi:"uplinkNetmask"` + // Number of uplink ports per spine switch. Connectivity is identical on both spine switches. For example, if input is two 100 gigabyte ports; then port-1 and port-2 on both spines will be configured. + UplinkPortCount int `pulumi:"uplinkPortCount"` + // The port forward error correction (FEC) setting for the uplink port on the Compute Cloud@Customer infrastructure. + UplinkPortForwardErrorCorrection string `pulumi:"uplinkPortForwardErrorCorrection"` + // Uplink port speed defined in gigabytes per second. All uplink ports must have identical speed. + UplinkPortSpeedInGbps int `pulumi:"uplinkPortSpeedInGbps"` + // The virtual local area network (VLAN) maximum transmission unit (MTU) size for the uplink ports. + UplinkVlanMtu int `pulumi:"uplinkVlanMtu"` +} + +// GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInput is an input type that accepts GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationArgs and GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationOutput values. +// You can construct a concrete instance of `GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInput` via: +// +// GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationArgs{...} +type GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInput interface { + pulumi.Input + + ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationOutput() GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationOutput + ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationOutputWithContext(context.Context) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationOutput +} + +type GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationArgs struct { + // The domain name system (DNS) addresses that the Compute Cloud@Customer infrastructure uses for the data center network. + DnsIps pulumi.StringArrayInput `pulumi:"dnsIps"` + // Dynamic routing information for the Compute Cloud@Customer infrastructure. + InfrastructureRoutingDynamics GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayInput `pulumi:"infrastructureRoutingDynamics"` + // Static routing information for a rack. + InfrastructureRoutingStatics GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayInput `pulumi:"infrastructureRoutingStatics"` + // Information about the management nodes that are provisioned in the Compute Cloud@Customer infrastructure. + ManagementNodes GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeArrayInput `pulumi:"managementNodes"` + // The hostname corresponding to the virtual IP (VIP) address of the management nodes. + MgmtVipHostname pulumi.StringInput `pulumi:"mgmtVipHostname"` + // The IP address used as the virtual IP (VIP) address of the management nodes. + MgmtVipIp pulumi.StringInput `pulumi:"mgmtVipIp"` + // Addresses of the network spine switches. + SpineIps pulumi.StringArrayInput `pulumi:"spineIps"` + // The spine switch public virtual IP (VIP). Traffic routed to the Compute Cloud@Customer infrastructure and and virtual cloud networks (VCNs) should have this address as next hop. + SpineVip pulumi.StringInput `pulumi:"spineVip"` + // Domain name to be used as the base domain for the internal network and by public facing services. + UplinkDomain pulumi.StringInput `pulumi:"uplinkDomain"` + // Uplink gateway in the datacenter network that the Compute Cloud@Customer connects to. + UplinkGatewayIp pulumi.StringInput `pulumi:"uplinkGatewayIp"` + // Netmask of the subnet that the Compute Cloud@Customer infrastructure is connected to. + UplinkNetmask pulumi.StringInput `pulumi:"uplinkNetmask"` + // Number of uplink ports per spine switch. Connectivity is identical on both spine switches. For example, if input is two 100 gigabyte ports; then port-1 and port-2 on both spines will be configured. + UplinkPortCount pulumi.IntInput `pulumi:"uplinkPortCount"` + // The port forward error correction (FEC) setting for the uplink port on the Compute Cloud@Customer infrastructure. + UplinkPortForwardErrorCorrection pulumi.StringInput `pulumi:"uplinkPortForwardErrorCorrection"` + // Uplink port speed defined in gigabytes per second. All uplink ports must have identical speed. + UplinkPortSpeedInGbps pulumi.IntInput `pulumi:"uplinkPortSpeedInGbps"` + // The virtual local area network (VLAN) maximum transmission unit (MTU) size for the uplink ports. + UplinkVlanMtu pulumi.IntInput `pulumi:"uplinkVlanMtu"` +} + +func (GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfiguration)(nil)).Elem() +} + +func (i GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationArgs) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationOutput() GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationOutput { + return i.ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationOutputWithContext(context.Background()) +} + +func (i GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationArgs) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationOutput) +} + +func (i GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationArgs) ToOutput(ctx context.Context) pulumix.Output[GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfiguration] { + return pulumix.Output[GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfiguration]{ + OutputState: i.ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationOutputWithContext(ctx).OutputState, + } +} + +// GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationArrayInput is an input type that accepts GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationArray and GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationArrayOutput values. +// You can construct a concrete instance of `GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationArrayInput` via: +// +// GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationArray{ GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationArgs{...} } +type GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationArrayInput interface { + pulumi.Input + + ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationArrayOutput() GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationArrayOutput + ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationArrayOutputWithContext(context.Context) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationArrayOutput +} + +type GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationArray []GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInput + +func (GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfiguration)(nil)).Elem() +} + +func (i GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationArray) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationArrayOutput() GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationArrayOutput { + return i.ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationArrayOutputWithContext(context.Background()) +} + +func (i GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationArray) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationArrayOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationArrayOutput) +} + +func (i GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationArray) ToOutput(ctx context.Context) pulumix.Output[[]GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfiguration] { + return pulumix.Output[[]GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfiguration]{ + OutputState: i.ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationArrayOutputWithContext(ctx).OutputState, + } +} + +type GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationOutput struct{ *pulumi.OutputState } + +func (GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfiguration)(nil)).Elem() +} + +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationOutput) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationOutput() GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationOutput { + return o +} + +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationOutput) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationOutput { + return o +} + +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationOutput) ToOutput(ctx context.Context) pulumix.Output[GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfiguration] { + return pulumix.Output[GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfiguration]{ + OutputState: o.OutputState, + } +} + +// The domain name system (DNS) addresses that the Compute Cloud@Customer infrastructure uses for the data center network. +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationOutput) DnsIps() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfiguration) []string { + return v.DnsIps + }).(pulumi.StringArrayOutput) +} + +// Dynamic routing information for the Compute Cloud@Customer infrastructure. +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationOutput) InfrastructureRoutingDynamics() GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfiguration) []GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamic { + return v.InfrastructureRoutingDynamics + }).(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutput) +} + +// Static routing information for a rack. +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationOutput) InfrastructureRoutingStatics() GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfiguration) []GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStatic { + return v.InfrastructureRoutingStatics + }).(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutput) +} + +// Information about the management nodes that are provisioned in the Compute Cloud@Customer infrastructure. +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationOutput) ManagementNodes() GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeArrayOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfiguration) []GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNode { + return v.ManagementNodes + }).(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeArrayOutput) +} + +// The hostname corresponding to the virtual IP (VIP) address of the management nodes. +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationOutput) MgmtVipHostname() pulumi.StringOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfiguration) string { + return v.MgmtVipHostname + }).(pulumi.StringOutput) +} + +// The IP address used as the virtual IP (VIP) address of the management nodes. +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationOutput) MgmtVipIp() pulumi.StringOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfiguration) string { + return v.MgmtVipIp + }).(pulumi.StringOutput) +} + +// Addresses of the network spine switches. +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationOutput) SpineIps() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfiguration) []string { + return v.SpineIps + }).(pulumi.StringArrayOutput) +} + +// The spine switch public virtual IP (VIP). Traffic routed to the Compute Cloud@Customer infrastructure and and virtual cloud networks (VCNs) should have this address as next hop. +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationOutput) SpineVip() pulumi.StringOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfiguration) string { + return v.SpineVip + }).(pulumi.StringOutput) +} + +// Domain name to be used as the base domain for the internal network and by public facing services. +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationOutput) UplinkDomain() pulumi.StringOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfiguration) string { + return v.UplinkDomain + }).(pulumi.StringOutput) +} + +// Uplink gateway in the datacenter network that the Compute Cloud@Customer connects to. +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationOutput) UplinkGatewayIp() pulumi.StringOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfiguration) string { + return v.UplinkGatewayIp + }).(pulumi.StringOutput) +} + +// Netmask of the subnet that the Compute Cloud@Customer infrastructure is connected to. +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationOutput) UplinkNetmask() pulumi.StringOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfiguration) string { + return v.UplinkNetmask + }).(pulumi.StringOutput) +} + +// Number of uplink ports per spine switch. Connectivity is identical on both spine switches. For example, if input is two 100 gigabyte ports; then port-1 and port-2 on both spines will be configured. +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationOutput) UplinkPortCount() pulumi.IntOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfiguration) int { + return v.UplinkPortCount + }).(pulumi.IntOutput) +} + +// The port forward error correction (FEC) setting for the uplink port on the Compute Cloud@Customer infrastructure. +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationOutput) UplinkPortForwardErrorCorrection() pulumi.StringOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfiguration) string { + return v.UplinkPortForwardErrorCorrection + }).(pulumi.StringOutput) +} + +// Uplink port speed defined in gigabytes per second. All uplink ports must have identical speed. +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationOutput) UplinkPortSpeedInGbps() pulumi.IntOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfiguration) int { + return v.UplinkPortSpeedInGbps + }).(pulumi.IntOutput) +} + +// The virtual local area network (VLAN) maximum transmission unit (MTU) size for the uplink ports. +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationOutput) UplinkVlanMtu() pulumi.IntOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfiguration) int { + return v.UplinkVlanMtu + }).(pulumi.IntOutput) +} + +type GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationArrayOutput struct{ *pulumi.OutputState } + +func (GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfiguration)(nil)).Elem() +} + +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationArrayOutput) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationArrayOutput() GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationArrayOutput { + return o +} + +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationArrayOutput) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationArrayOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationArrayOutput { + return o +} + +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfiguration] { + return pulumix.Output[[]GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfiguration]{ + OutputState: o.OutputState, + } +} + +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationArrayOutput) Index(i pulumi.IntInput) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfiguration { + return vs[0].([]GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfiguration)[vs[1].(int)] + }).(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationOutput) +} + +type GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamic struct { + // The topology in use for the Border Gateway Protocol (BGP) configuration. + BgpTopology string `pulumi:"bgpTopology"` + // The Oracle Autonomous System Number (ASN) to control routing and exchange information within the dynamic routing configuration. + OracleAsn int `pulumi:"oracleAsn"` + // The list of peer devices in the dynamic routing configuration. + PeerInformations []GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation `pulumi:"peerInformations"` +} + +// GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicInput is an input type that accepts GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArgs and GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutput values. +// You can construct a concrete instance of `GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicInput` via: +// +// GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArgs{...} +type GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicInput interface { + pulumi.Input + + ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutput() GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutput + ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutputWithContext(context.Context) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutput +} + +type GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArgs struct { + // The topology in use for the Border Gateway Protocol (BGP) configuration. + BgpTopology pulumi.StringInput `pulumi:"bgpTopology"` + // The Oracle Autonomous System Number (ASN) to control routing and exchange information within the dynamic routing configuration. + OracleAsn pulumi.IntInput `pulumi:"oracleAsn"` + // The list of peer devices in the dynamic routing configuration. + PeerInformations GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayInput `pulumi:"peerInformations"` +} + +func (GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamic)(nil)).Elem() +} + +func (i GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArgs) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutput() GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutput { + return i.ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutputWithContext(context.Background()) +} + +func (i GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArgs) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutput) +} + +func (i GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArgs) ToOutput(ctx context.Context) pulumix.Output[GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamic] { + return pulumix.Output[GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamic]{ + OutputState: i.ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutputWithContext(ctx).OutputState, + } +} + +// GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayInput is an input type that accepts GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArray and GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutput values. +// You can construct a concrete instance of `GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayInput` via: +// +// GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArray{ GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArgs{...} } +type GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayInput interface { + pulumi.Input + + ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutput() GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutput + ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutputWithContext(context.Context) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutput +} + +type GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArray []GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicInput + +func (GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamic)(nil)).Elem() +} + +func (i GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArray) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutput() GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutput { + return i.ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutputWithContext(context.Background()) +} + +func (i GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArray) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutput) +} + +func (i GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArray) ToOutput(ctx context.Context) pulumix.Output[[]GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamic] { + return pulumix.Output[[]GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamic]{ + OutputState: i.ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutputWithContext(ctx).OutputState, + } +} + +type GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutput struct{ *pulumi.OutputState } + +func (GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamic)(nil)).Elem() +} + +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutput) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutput() GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutput { + return o +} + +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutput) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutput { + return o +} + +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutput) ToOutput(ctx context.Context) pulumix.Output[GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamic] { + return pulumix.Output[GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamic]{ + OutputState: o.OutputState, + } +} + +// The topology in use for the Border Gateway Protocol (BGP) configuration. +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutput) BgpTopology() pulumi.StringOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamic) string { + return v.BgpTopology + }).(pulumi.StringOutput) +} + +// The Oracle Autonomous System Number (ASN) to control routing and exchange information within the dynamic routing configuration. +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutput) OracleAsn() pulumi.IntOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamic) int { + return v.OracleAsn + }).(pulumi.IntOutput) +} + +// The list of peer devices in the dynamic routing configuration. +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutput) PeerInformations() GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamic) []GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation { + return v.PeerInformations + }).(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutput) +} + +type GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutput struct{ *pulumi.OutputState } + +func (GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamic)(nil)).Elem() +} + +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutput) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutput() GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutput { + return o +} + +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutput) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutput { + return o +} + +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamic] { + return pulumix.Output[[]GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamic]{ + OutputState: o.OutputState, + } +} + +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutput) Index(i pulumi.IntInput) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamic { + return vs[0].([]GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamic)[vs[1].(int)] + }).(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutput) +} + +type GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation struct { + // The Autonomous System Number (ASN) of the peer network. + Asn int `pulumi:"asn"` + // Address of the management node. + Ip string `pulumi:"ip"` +} + +// GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationInput is an input type that accepts GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArgs and GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutput values. +// You can construct a concrete instance of `GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationInput` via: +// +// GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArgs{...} +type GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationInput interface { + pulumi.Input + + ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutput() GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutput + ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutputWithContext(context.Context) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutput +} + +type GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArgs struct { + // The Autonomous System Number (ASN) of the peer network. + Asn pulumi.IntInput `pulumi:"asn"` + // Address of the management node. + Ip pulumi.StringInput `pulumi:"ip"` +} + +func (GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation)(nil)).Elem() +} + +func (i GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArgs) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutput() GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutput { + return i.ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutputWithContext(context.Background()) +} + +func (i GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArgs) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutput) +} + +func (i GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArgs) ToOutput(ctx context.Context) pulumix.Output[GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation] { + return pulumix.Output[GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation]{ + OutputState: i.ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutputWithContext(ctx).OutputState, + } +} + +// GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayInput is an input type that accepts GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArray and GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutput values. +// You can construct a concrete instance of `GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayInput` via: +// +// GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArray{ GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArgs{...} } +type GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayInput interface { + pulumi.Input + + ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutput() GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutput + ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutputWithContext(context.Context) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutput +} + +type GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArray []GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationInput + +func (GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation)(nil)).Elem() +} + +func (i GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArray) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutput() GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutput { + return i.ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutputWithContext(context.Background()) +} + +func (i GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArray) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutput) +} + +func (i GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArray) ToOutput(ctx context.Context) pulumix.Output[[]GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation] { + return pulumix.Output[[]GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation]{ + OutputState: i.ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutputWithContext(ctx).OutputState, + } +} + +type GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutput struct{ *pulumi.OutputState } + +func (GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation)(nil)).Elem() +} + +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutput) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutput() GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutput { + return o +} + +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutput) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutput { + return o +} + +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutput) ToOutput(ctx context.Context) pulumix.Output[GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation] { + return pulumix.Output[GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation]{ + OutputState: o.OutputState, + } +} + +// The Autonomous System Number (ASN) of the peer network. +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutput) Asn() pulumi.IntOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation) int { + return v.Asn + }).(pulumi.IntOutput) +} + +// Address of the management node. +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutput) Ip() pulumi.StringOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation) string { + return v.Ip + }).(pulumi.StringOutput) +} + +type GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutput struct{ *pulumi.OutputState } + +func (GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation)(nil)).Elem() +} + +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutput) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutput() GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutput { + return o +} + +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutput) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutput { + return o +} + +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation] { + return pulumix.Output[[]GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation]{ + OutputState: o.OutputState, + } +} + +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutput) Index(i pulumi.IntInput) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation { + return vs[0].([]GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation)[vs[1].(int)] + }).(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutput) +} + +type GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStatic struct { + // The uplink Hot Standby Router Protocol (HSRP) group value for the switch in the Compute Cloud@Customer infrastructure. + UplinkHsrpGroup int `pulumi:"uplinkHsrpGroup"` + // The virtual local area network (VLAN) identifier used to connect to the uplink (only access mode is supported). + UplinkVlan int `pulumi:"uplinkVlan"` +} + +// GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticInput is an input type that accepts GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticArgs and GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutput values. +// You can construct a concrete instance of `GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticInput` via: +// +// GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticArgs{...} +type GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticInput interface { + pulumi.Input + + ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutput() GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutput + ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutputWithContext(context.Context) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutput +} + +type GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticArgs struct { + // The uplink Hot Standby Router Protocol (HSRP) group value for the switch in the Compute Cloud@Customer infrastructure. + UplinkHsrpGroup pulumi.IntInput `pulumi:"uplinkHsrpGroup"` + // The virtual local area network (VLAN) identifier used to connect to the uplink (only access mode is supported). + UplinkVlan pulumi.IntInput `pulumi:"uplinkVlan"` +} + +func (GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStatic)(nil)).Elem() +} + +func (i GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticArgs) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutput() GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutput { + return i.ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutputWithContext(context.Background()) +} + +func (i GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticArgs) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutput) +} + +func (i GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticArgs) ToOutput(ctx context.Context) pulumix.Output[GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStatic] { + return pulumix.Output[GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStatic]{ + OutputState: i.ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutputWithContext(ctx).OutputState, + } +} + +// GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayInput is an input type that accepts GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticArray and GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutput values. +// You can construct a concrete instance of `GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayInput` via: +// +// GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticArray{ GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticArgs{...} } +type GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayInput interface { + pulumi.Input + + ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutput() GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutput + ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutputWithContext(context.Context) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutput +} + +type GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticArray []GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticInput + +func (GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStatic)(nil)).Elem() +} + +func (i GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticArray) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutput() GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutput { + return i.ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutputWithContext(context.Background()) +} + +func (i GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticArray) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutput) +} + +func (i GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticArray) ToOutput(ctx context.Context) pulumix.Output[[]GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStatic] { + return pulumix.Output[[]GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStatic]{ + OutputState: i.ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutputWithContext(ctx).OutputState, + } +} + +type GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutput struct{ *pulumi.OutputState } + +func (GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStatic)(nil)).Elem() +} + +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutput) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutput() GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutput { + return o +} + +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutput) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutput { + return o +} + +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutput) ToOutput(ctx context.Context) pulumix.Output[GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStatic] { + return pulumix.Output[GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStatic]{ + OutputState: o.OutputState, + } +} + +// The uplink Hot Standby Router Protocol (HSRP) group value for the switch in the Compute Cloud@Customer infrastructure. +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutput) UplinkHsrpGroup() pulumi.IntOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStatic) int { + return v.UplinkHsrpGroup + }).(pulumi.IntOutput) +} + +// The virtual local area network (VLAN) identifier used to connect to the uplink (only access mode is supported). +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutput) UplinkVlan() pulumi.IntOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStatic) int { + return v.UplinkVlan + }).(pulumi.IntOutput) +} + +type GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutput struct{ *pulumi.OutputState } + +func (GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStatic)(nil)).Elem() +} + +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutput) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutput() GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutput { + return o +} + +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutput) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutput { + return o +} + +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStatic] { + return pulumix.Output[[]GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStatic]{ + OutputState: o.OutputState, + } +} + +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutput) Index(i pulumi.IntInput) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStatic { + return vs[0].([]GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStatic)[vs[1].(int)] + }).(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutput) +} + +type GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNode struct { + // Hostname for interface to the management node. + Hostname string `pulumi:"hostname"` + // Address of the management node. + Ip string `pulumi:"ip"` +} + +// GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeInput is an input type that accepts GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeArgs and GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeOutput values. +// You can construct a concrete instance of `GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeInput` via: +// +// GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeArgs{...} +type GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeInput interface { + pulumi.Input + + ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeOutput() GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeOutput + ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeOutputWithContext(context.Context) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeOutput +} + +type GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeArgs struct { + // Hostname for interface to the management node. + Hostname pulumi.StringInput `pulumi:"hostname"` + // Address of the management node. + Ip pulumi.StringInput `pulumi:"ip"` +} + +func (GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNode)(nil)).Elem() +} + +func (i GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeArgs) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeOutput() GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeOutput { + return i.ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeOutputWithContext(context.Background()) +} + +func (i GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeArgs) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeOutput) +} + +func (i GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeArgs) ToOutput(ctx context.Context) pulumix.Output[GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNode] { + return pulumix.Output[GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNode]{ + OutputState: i.ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeOutputWithContext(ctx).OutputState, + } +} + +// GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeArrayInput is an input type that accepts GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeArray and GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeArrayOutput values. +// You can construct a concrete instance of `GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeArrayInput` via: +// +// GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeArray{ GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeArgs{...} } +type GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeArrayInput interface { + pulumi.Input + + ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeArrayOutput() GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeArrayOutput + ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeArrayOutputWithContext(context.Context) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeArrayOutput +} + +type GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeArray []GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeInput + +func (GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNode)(nil)).Elem() +} + +func (i GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeArray) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeArrayOutput() GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeArrayOutput { + return i.ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeArrayOutputWithContext(context.Background()) +} + +func (i GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeArray) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeArrayOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeArrayOutput) +} + +func (i GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeArray) ToOutput(ctx context.Context) pulumix.Output[[]GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNode] { + return pulumix.Output[[]GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNode]{ + OutputState: i.ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeArrayOutputWithContext(ctx).OutputState, + } +} + +type GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeOutput struct{ *pulumi.OutputState } + +func (GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNode)(nil)).Elem() +} + +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeOutput) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeOutput() GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeOutput { + return o +} + +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeOutput) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeOutput { + return o +} + +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeOutput) ToOutput(ctx context.Context) pulumix.Output[GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNode] { + return pulumix.Output[GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNode]{ + OutputState: o.OutputState, + } +} + +// Hostname for interface to the management node. +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeOutput) Hostname() pulumi.StringOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNode) string { + return v.Hostname + }).(pulumi.StringOutput) +} + +// Address of the management node. +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeOutput) Ip() pulumi.StringOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNode) string { + return v.Ip + }).(pulumi.StringOutput) +} + +type GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeArrayOutput struct{ *pulumi.OutputState } + +func (GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNode)(nil)).Elem() +} + +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeArrayOutput) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeArrayOutput() GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeArrayOutput { + return o +} + +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeArrayOutput) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeArrayOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeArrayOutput { + return o +} + +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNode] { + return pulumix.Output[[]GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNode]{ + OutputState: o.OutputState, + } +} + +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeArrayOutput) Index(i pulumi.IntInput) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNode { + return vs[0].([]GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNode)[vs[1].(int)] + }).(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeOutput) +} + +type GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformation struct { + // The current version of software installed on the Compute Cloud@Customer infrastructure. + CurrentVersion string `pulumi:"currentVersion"` + // Indication that the Compute Cloud@Customer infrastructure is in the process of an upgrade or an upgrade activity (such as preloading upgrade images). + IsActive bool `pulumi:"isActive"` + // Expected duration of Compute Cloud@Customer infrastructure scheduled upgrade. The actual upgrade time might be longer or shorter than this duration depending on rack activity, this is only an estimate. + ScheduledUpgradeDuration string `pulumi:"scheduledUpgradeDuration"` + // Compute Cloud@Customer infrastructure next upgrade time. The rack might have performance impacts during this time. + TimeOfScheduledUpgrade string `pulumi:"timeOfScheduledUpgrade"` +} + +// GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationInput is an input type that accepts GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationArgs and GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationOutput values. +// You can construct a concrete instance of `GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationInput` via: +// +// GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationArgs{...} +type GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationInput interface { + pulumi.Input + + ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationOutput() GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationOutput + ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationOutputWithContext(context.Context) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationOutput +} + +type GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationArgs struct { + // The current version of software installed on the Compute Cloud@Customer infrastructure. + CurrentVersion pulumi.StringInput `pulumi:"currentVersion"` + // Indication that the Compute Cloud@Customer infrastructure is in the process of an upgrade or an upgrade activity (such as preloading upgrade images). + IsActive pulumi.BoolInput `pulumi:"isActive"` + // Expected duration of Compute Cloud@Customer infrastructure scheduled upgrade. The actual upgrade time might be longer or shorter than this duration depending on rack activity, this is only an estimate. + ScheduledUpgradeDuration pulumi.StringInput `pulumi:"scheduledUpgradeDuration"` + // Compute Cloud@Customer infrastructure next upgrade time. The rack might have performance impacts during this time. + TimeOfScheduledUpgrade pulumi.StringInput `pulumi:"timeOfScheduledUpgrade"` +} + +func (GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformation)(nil)).Elem() +} + +func (i GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationArgs) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationOutput() GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationOutput { + return i.ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationOutputWithContext(context.Background()) +} + +func (i GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationArgs) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationOutput) +} + +func (i GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationArgs) ToOutput(ctx context.Context) pulumix.Output[GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformation] { + return pulumix.Output[GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformation]{ + OutputState: i.ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationOutputWithContext(ctx).OutputState, + } +} + +// GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationArrayInput is an input type that accepts GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationArray and GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationArrayOutput values. +// You can construct a concrete instance of `GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationArrayInput` via: +// +// GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationArray{ GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationArgs{...} } +type GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationArrayInput interface { + pulumi.Input + + ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationArrayOutput() GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationArrayOutput + ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationArrayOutputWithContext(context.Context) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationArrayOutput +} + +type GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationArray []GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationInput + +func (GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformation)(nil)).Elem() +} + +func (i GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationArray) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationArrayOutput() GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationArrayOutput { + return i.ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationArrayOutputWithContext(context.Background()) +} + +func (i GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationArray) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationArrayOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationArrayOutput) +} + +func (i GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationArray) ToOutput(ctx context.Context) pulumix.Output[[]GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformation] { + return pulumix.Output[[]GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformation]{ + OutputState: i.ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationArrayOutputWithContext(ctx).OutputState, + } +} + +type GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationOutput struct{ *pulumi.OutputState } + +func (GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformation)(nil)).Elem() +} + +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationOutput) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationOutput() GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationOutput { + return o +} + +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationOutput) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationOutput { + return o +} + +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationOutput) ToOutput(ctx context.Context) pulumix.Output[GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformation] { + return pulumix.Output[GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformation]{ + OutputState: o.OutputState, + } +} + +// The current version of software installed on the Compute Cloud@Customer infrastructure. +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationOutput) CurrentVersion() pulumi.StringOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformation) string { + return v.CurrentVersion + }).(pulumi.StringOutput) +} + +// Indication that the Compute Cloud@Customer infrastructure is in the process of an upgrade or an upgrade activity (such as preloading upgrade images). +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationOutput) IsActive() pulumi.BoolOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformation) bool { + return v.IsActive + }).(pulumi.BoolOutput) +} + +// Expected duration of Compute Cloud@Customer infrastructure scheduled upgrade. The actual upgrade time might be longer or shorter than this duration depending on rack activity, this is only an estimate. +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationOutput) ScheduledUpgradeDuration() pulumi.StringOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformation) string { + return v.ScheduledUpgradeDuration + }).(pulumi.StringOutput) +} + +// Compute Cloud@Customer infrastructure next upgrade time. The rack might have performance impacts during this time. +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationOutput) TimeOfScheduledUpgrade() pulumi.StringOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformation) string { + return v.TimeOfScheduledUpgrade + }).(pulumi.StringOutput) +} + +type GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationArrayOutput struct{ *pulumi.OutputState } + +func (GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformation)(nil)).Elem() +} + +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationArrayOutput) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationArrayOutput() GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationArrayOutput { + return o +} + +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationArrayOutput) ToGetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationArrayOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationArrayOutput { + return o +} + +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformation] { + return pulumix.Output[[]GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformation]{ + OutputState: o.OutputState, + } +} + +func (o GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationArrayOutput) Index(i pulumi.IntInput) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformation { + return vs[0].([]GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformation)[vs[1].(int)] + }).(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationOutput) +} + +type GetAtCustomerCccInfrastructuresFilter struct { + Name string `pulumi:"name"` + Regex *bool `pulumi:"regex"` + Values []string `pulumi:"values"` +} + +// GetAtCustomerCccInfrastructuresFilterInput is an input type that accepts GetAtCustomerCccInfrastructuresFilterArgs and GetAtCustomerCccInfrastructuresFilterOutput values. +// You can construct a concrete instance of `GetAtCustomerCccInfrastructuresFilterInput` via: +// +// GetAtCustomerCccInfrastructuresFilterArgs{...} +type GetAtCustomerCccInfrastructuresFilterInput interface { + pulumi.Input + + ToGetAtCustomerCccInfrastructuresFilterOutput() GetAtCustomerCccInfrastructuresFilterOutput + ToGetAtCustomerCccInfrastructuresFilterOutputWithContext(context.Context) GetAtCustomerCccInfrastructuresFilterOutput +} + +type GetAtCustomerCccInfrastructuresFilterArgs struct { + Name pulumi.StringInput `pulumi:"name"` + Regex pulumi.BoolPtrInput `pulumi:"regex"` + Values pulumi.StringArrayInput `pulumi:"values"` +} + +func (GetAtCustomerCccInfrastructuresFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAtCustomerCccInfrastructuresFilter)(nil)).Elem() +} + +func (i GetAtCustomerCccInfrastructuresFilterArgs) ToGetAtCustomerCccInfrastructuresFilterOutput() GetAtCustomerCccInfrastructuresFilterOutput { + return i.ToGetAtCustomerCccInfrastructuresFilterOutputWithContext(context.Background()) +} + +func (i GetAtCustomerCccInfrastructuresFilterArgs) ToGetAtCustomerCccInfrastructuresFilterOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructuresFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAtCustomerCccInfrastructuresFilterOutput) +} + +func (i GetAtCustomerCccInfrastructuresFilterArgs) ToOutput(ctx context.Context) pulumix.Output[GetAtCustomerCccInfrastructuresFilter] { + return pulumix.Output[GetAtCustomerCccInfrastructuresFilter]{ + OutputState: i.ToGetAtCustomerCccInfrastructuresFilterOutputWithContext(ctx).OutputState, + } +} + +// GetAtCustomerCccInfrastructuresFilterArrayInput is an input type that accepts GetAtCustomerCccInfrastructuresFilterArray and GetAtCustomerCccInfrastructuresFilterArrayOutput values. +// You can construct a concrete instance of `GetAtCustomerCccInfrastructuresFilterArrayInput` via: +// +// GetAtCustomerCccInfrastructuresFilterArray{ GetAtCustomerCccInfrastructuresFilterArgs{...} } +type GetAtCustomerCccInfrastructuresFilterArrayInput interface { + pulumi.Input + + ToGetAtCustomerCccInfrastructuresFilterArrayOutput() GetAtCustomerCccInfrastructuresFilterArrayOutput + ToGetAtCustomerCccInfrastructuresFilterArrayOutputWithContext(context.Context) GetAtCustomerCccInfrastructuresFilterArrayOutput +} + +type GetAtCustomerCccInfrastructuresFilterArray []GetAtCustomerCccInfrastructuresFilterInput + +func (GetAtCustomerCccInfrastructuresFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAtCustomerCccInfrastructuresFilter)(nil)).Elem() +} + +func (i GetAtCustomerCccInfrastructuresFilterArray) ToGetAtCustomerCccInfrastructuresFilterArrayOutput() GetAtCustomerCccInfrastructuresFilterArrayOutput { + return i.ToGetAtCustomerCccInfrastructuresFilterArrayOutputWithContext(context.Background()) +} + +func (i GetAtCustomerCccInfrastructuresFilterArray) ToGetAtCustomerCccInfrastructuresFilterArrayOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructuresFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAtCustomerCccInfrastructuresFilterArrayOutput) +} + +func (i GetAtCustomerCccInfrastructuresFilterArray) ToOutput(ctx context.Context) pulumix.Output[[]GetAtCustomerCccInfrastructuresFilter] { + return pulumix.Output[[]GetAtCustomerCccInfrastructuresFilter]{ + OutputState: i.ToGetAtCustomerCccInfrastructuresFilterArrayOutputWithContext(ctx).OutputState, + } +} + +type GetAtCustomerCccInfrastructuresFilterOutput struct{ *pulumi.OutputState } + +func (GetAtCustomerCccInfrastructuresFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAtCustomerCccInfrastructuresFilter)(nil)).Elem() +} + +func (o GetAtCustomerCccInfrastructuresFilterOutput) ToGetAtCustomerCccInfrastructuresFilterOutput() GetAtCustomerCccInfrastructuresFilterOutput { + return o +} + +func (o GetAtCustomerCccInfrastructuresFilterOutput) ToGetAtCustomerCccInfrastructuresFilterOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructuresFilterOutput { + return o +} + +func (o GetAtCustomerCccInfrastructuresFilterOutput) ToOutput(ctx context.Context) pulumix.Output[GetAtCustomerCccInfrastructuresFilter] { + return pulumix.Output[GetAtCustomerCccInfrastructuresFilter]{ + OutputState: o.OutputState, + } +} + +func (o GetAtCustomerCccInfrastructuresFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresFilter) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetAtCustomerCccInfrastructuresFilterOutput) Regex() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) +} + +func (o GetAtCustomerCccInfrastructuresFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetAtCustomerCccInfrastructuresFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +} + +type GetAtCustomerCccInfrastructuresFilterArrayOutput struct{ *pulumi.OutputState } + +func (GetAtCustomerCccInfrastructuresFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAtCustomerCccInfrastructuresFilter)(nil)).Elem() +} + +func (o GetAtCustomerCccInfrastructuresFilterArrayOutput) ToGetAtCustomerCccInfrastructuresFilterArrayOutput() GetAtCustomerCccInfrastructuresFilterArrayOutput { + return o +} + +func (o GetAtCustomerCccInfrastructuresFilterArrayOutput) ToGetAtCustomerCccInfrastructuresFilterArrayOutputWithContext(ctx context.Context) GetAtCustomerCccInfrastructuresFilterArrayOutput { + return o +} + +func (o GetAtCustomerCccInfrastructuresFilterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetAtCustomerCccInfrastructuresFilter] { + return pulumix.Output[[]GetAtCustomerCccInfrastructuresFilter]{ + OutputState: o.OutputState, + } +} + +func (o GetAtCustomerCccInfrastructuresFilterArrayOutput) Index(i pulumi.IntInput) GetAtCustomerCccInfrastructuresFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetAtCustomerCccInfrastructuresFilter { + return vs[0].([]GetAtCustomerCccInfrastructuresFilter)[vs[1].(int)] + }).(GetAtCustomerCccInfrastructuresFilterOutput) +} + +type GetAtCustomerCccUpgradeScheduleEvent struct { + // A description of the Compute Cloud@Customer upgrade schedule time block. + Description string `pulumi:"description"` + // Generated name associated with the event. + Name string `pulumi:"name"` + // The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations. + ScheduleEventDuration string `pulumi:"scheduleEventDuration"` + // Frequency of recurrence of schedule block. When this field is not included, the event is assumed to be a one time occurrence. The frequency field is strictly parsed and must conform to RFC-5545 formatting for recurrences. + ScheduleEventRecurrences string `pulumi:"scheduleEventRecurrences"` + // The date and time when the Compute Cloud@Customer upgrade schedule event starts, inclusive. An RFC3339 formatted UTC datetime string. For an event with recurrences, this is the date that a recurrence can start being applied. + TimeStart string `pulumi:"timeStart"` +} + +// GetAtCustomerCccUpgradeScheduleEventInput is an input type that accepts GetAtCustomerCccUpgradeScheduleEventArgs and GetAtCustomerCccUpgradeScheduleEventOutput values. +// You can construct a concrete instance of `GetAtCustomerCccUpgradeScheduleEventInput` via: +// +// GetAtCustomerCccUpgradeScheduleEventArgs{...} +type GetAtCustomerCccUpgradeScheduleEventInput interface { + pulumi.Input + + ToGetAtCustomerCccUpgradeScheduleEventOutput() GetAtCustomerCccUpgradeScheduleEventOutput + ToGetAtCustomerCccUpgradeScheduleEventOutputWithContext(context.Context) GetAtCustomerCccUpgradeScheduleEventOutput +} + +type GetAtCustomerCccUpgradeScheduleEventArgs struct { + // A description of the Compute Cloud@Customer upgrade schedule time block. + Description pulumi.StringInput `pulumi:"description"` + // Generated name associated with the event. + Name pulumi.StringInput `pulumi:"name"` + // The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations. + ScheduleEventDuration pulumi.StringInput `pulumi:"scheduleEventDuration"` + // Frequency of recurrence of schedule block. When this field is not included, the event is assumed to be a one time occurrence. The frequency field is strictly parsed and must conform to RFC-5545 formatting for recurrences. + ScheduleEventRecurrences pulumi.StringInput `pulumi:"scheduleEventRecurrences"` + // The date and time when the Compute Cloud@Customer upgrade schedule event starts, inclusive. An RFC3339 formatted UTC datetime string. For an event with recurrences, this is the date that a recurrence can start being applied. + TimeStart pulumi.StringInput `pulumi:"timeStart"` +} + +func (GetAtCustomerCccUpgradeScheduleEventArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAtCustomerCccUpgradeScheduleEvent)(nil)).Elem() +} + +func (i GetAtCustomerCccUpgradeScheduleEventArgs) ToGetAtCustomerCccUpgradeScheduleEventOutput() GetAtCustomerCccUpgradeScheduleEventOutput { + return i.ToGetAtCustomerCccUpgradeScheduleEventOutputWithContext(context.Background()) +} + +func (i GetAtCustomerCccUpgradeScheduleEventArgs) ToGetAtCustomerCccUpgradeScheduleEventOutputWithContext(ctx context.Context) GetAtCustomerCccUpgradeScheduleEventOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAtCustomerCccUpgradeScheduleEventOutput) +} + +func (i GetAtCustomerCccUpgradeScheduleEventArgs) ToOutput(ctx context.Context) pulumix.Output[GetAtCustomerCccUpgradeScheduleEvent] { + return pulumix.Output[GetAtCustomerCccUpgradeScheduleEvent]{ + OutputState: i.ToGetAtCustomerCccUpgradeScheduleEventOutputWithContext(ctx).OutputState, + } +} + +// GetAtCustomerCccUpgradeScheduleEventArrayInput is an input type that accepts GetAtCustomerCccUpgradeScheduleEventArray and GetAtCustomerCccUpgradeScheduleEventArrayOutput values. +// You can construct a concrete instance of `GetAtCustomerCccUpgradeScheduleEventArrayInput` via: +// +// GetAtCustomerCccUpgradeScheduleEventArray{ GetAtCustomerCccUpgradeScheduleEventArgs{...} } +type GetAtCustomerCccUpgradeScheduleEventArrayInput interface { + pulumi.Input + + ToGetAtCustomerCccUpgradeScheduleEventArrayOutput() GetAtCustomerCccUpgradeScheduleEventArrayOutput + ToGetAtCustomerCccUpgradeScheduleEventArrayOutputWithContext(context.Context) GetAtCustomerCccUpgradeScheduleEventArrayOutput +} + +type GetAtCustomerCccUpgradeScheduleEventArray []GetAtCustomerCccUpgradeScheduleEventInput + +func (GetAtCustomerCccUpgradeScheduleEventArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAtCustomerCccUpgradeScheduleEvent)(nil)).Elem() +} + +func (i GetAtCustomerCccUpgradeScheduleEventArray) ToGetAtCustomerCccUpgradeScheduleEventArrayOutput() GetAtCustomerCccUpgradeScheduleEventArrayOutput { + return i.ToGetAtCustomerCccUpgradeScheduleEventArrayOutputWithContext(context.Background()) +} + +func (i GetAtCustomerCccUpgradeScheduleEventArray) ToGetAtCustomerCccUpgradeScheduleEventArrayOutputWithContext(ctx context.Context) GetAtCustomerCccUpgradeScheduleEventArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAtCustomerCccUpgradeScheduleEventArrayOutput) +} + +func (i GetAtCustomerCccUpgradeScheduleEventArray) ToOutput(ctx context.Context) pulumix.Output[[]GetAtCustomerCccUpgradeScheduleEvent] { + return pulumix.Output[[]GetAtCustomerCccUpgradeScheduleEvent]{ + OutputState: i.ToGetAtCustomerCccUpgradeScheduleEventArrayOutputWithContext(ctx).OutputState, + } +} + +type GetAtCustomerCccUpgradeScheduleEventOutput struct{ *pulumi.OutputState } + +func (GetAtCustomerCccUpgradeScheduleEventOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAtCustomerCccUpgradeScheduleEvent)(nil)).Elem() +} + +func (o GetAtCustomerCccUpgradeScheduleEventOutput) ToGetAtCustomerCccUpgradeScheduleEventOutput() GetAtCustomerCccUpgradeScheduleEventOutput { + return o +} + +func (o GetAtCustomerCccUpgradeScheduleEventOutput) ToGetAtCustomerCccUpgradeScheduleEventOutputWithContext(ctx context.Context) GetAtCustomerCccUpgradeScheduleEventOutput { + return o +} + +func (o GetAtCustomerCccUpgradeScheduleEventOutput) ToOutput(ctx context.Context) pulumix.Output[GetAtCustomerCccUpgradeScheduleEvent] { + return pulumix.Output[GetAtCustomerCccUpgradeScheduleEvent]{ + OutputState: o.OutputState, + } +} + +// A description of the Compute Cloud@Customer upgrade schedule time block. +func (o GetAtCustomerCccUpgradeScheduleEventOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetAtCustomerCccUpgradeScheduleEvent) string { return v.Description }).(pulumi.StringOutput) +} + +// Generated name associated with the event. +func (o GetAtCustomerCccUpgradeScheduleEventOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetAtCustomerCccUpgradeScheduleEvent) string { return v.Name }).(pulumi.StringOutput) +} + +// The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations. +func (o GetAtCustomerCccUpgradeScheduleEventOutput) ScheduleEventDuration() pulumi.StringOutput { + return o.ApplyT(func(v GetAtCustomerCccUpgradeScheduleEvent) string { return v.ScheduleEventDuration }).(pulumi.StringOutput) +} + +// Frequency of recurrence of schedule block. When this field is not included, the event is assumed to be a one time occurrence. The frequency field is strictly parsed and must conform to RFC-5545 formatting for recurrences. +func (o GetAtCustomerCccUpgradeScheduleEventOutput) ScheduleEventRecurrences() pulumi.StringOutput { + return o.ApplyT(func(v GetAtCustomerCccUpgradeScheduleEvent) string { return v.ScheduleEventRecurrences }).(pulumi.StringOutput) +} + +// The date and time when the Compute Cloud@Customer upgrade schedule event starts, inclusive. An RFC3339 formatted UTC datetime string. For an event with recurrences, this is the date that a recurrence can start being applied. +func (o GetAtCustomerCccUpgradeScheduleEventOutput) TimeStart() pulumi.StringOutput { + return o.ApplyT(func(v GetAtCustomerCccUpgradeScheduleEvent) string { return v.TimeStart }).(pulumi.StringOutput) +} + +type GetAtCustomerCccUpgradeScheduleEventArrayOutput struct{ *pulumi.OutputState } + +func (GetAtCustomerCccUpgradeScheduleEventArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAtCustomerCccUpgradeScheduleEvent)(nil)).Elem() +} + +func (o GetAtCustomerCccUpgradeScheduleEventArrayOutput) ToGetAtCustomerCccUpgradeScheduleEventArrayOutput() GetAtCustomerCccUpgradeScheduleEventArrayOutput { + return o +} + +func (o GetAtCustomerCccUpgradeScheduleEventArrayOutput) ToGetAtCustomerCccUpgradeScheduleEventArrayOutputWithContext(ctx context.Context) GetAtCustomerCccUpgradeScheduleEventArrayOutput { + return o +} + +func (o GetAtCustomerCccUpgradeScheduleEventArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetAtCustomerCccUpgradeScheduleEvent] { + return pulumix.Output[[]GetAtCustomerCccUpgradeScheduleEvent]{ + OutputState: o.OutputState, + } +} + +func (o GetAtCustomerCccUpgradeScheduleEventArrayOutput) Index(i pulumi.IntInput) GetAtCustomerCccUpgradeScheduleEventOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetAtCustomerCccUpgradeScheduleEvent { + return vs[0].([]GetAtCustomerCccUpgradeScheduleEvent)[vs[1].(int)] + }).(GetAtCustomerCccUpgradeScheduleEventOutput) +} + +type GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollection struct { + Items []GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItem `pulumi:"items"` +} + +// GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionInput is an input type that accepts GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionArgs and GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionOutput values. +// You can construct a concrete instance of `GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionInput` via: +// +// GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionArgs{...} +type GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionInput interface { + pulumi.Input + + ToGetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionOutput() GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionOutput + ToGetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionOutputWithContext(context.Context) GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionOutput +} + +type GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionArgs struct { + Items GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemArrayInput `pulumi:"items"` +} + +func (GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollection)(nil)).Elem() +} + +func (i GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionArgs) ToGetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionOutput() GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionOutput { + return i.ToGetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionOutputWithContext(context.Background()) +} + +func (i GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionArgs) ToGetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionOutputWithContext(ctx context.Context) GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionOutput) +} + +func (i GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionArgs) ToOutput(ctx context.Context) pulumix.Output[GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollection] { + return pulumix.Output[GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollection]{ + OutputState: i.ToGetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionOutputWithContext(ctx).OutputState, + } +} + +// GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionArrayInput is an input type that accepts GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionArray and GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionArrayOutput values. +// You can construct a concrete instance of `GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionArrayInput` via: +// +// GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionArray{ GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionArgs{...} } +type GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionArrayInput interface { + pulumi.Input + + ToGetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionArrayOutput() GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionArrayOutput + ToGetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionArrayOutputWithContext(context.Context) GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionArrayOutput +} + +type GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionArray []GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionInput + +func (GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollection)(nil)).Elem() +} + +func (i GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionArray) ToGetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionArrayOutput() GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionArrayOutput { + return i.ToGetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionArrayOutputWithContext(context.Background()) +} + +func (i GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionArray) ToGetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionArrayOutputWithContext(ctx context.Context) GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionArrayOutput) +} + +func (i GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionArray) ToOutput(ctx context.Context) pulumix.Output[[]GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollection] { + return pulumix.Output[[]GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollection]{ + OutputState: i.ToGetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionArrayOutputWithContext(ctx).OutputState, + } +} + +type GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionOutput struct{ *pulumi.OutputState } + +func (GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollection)(nil)).Elem() +} + +func (o GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionOutput) ToGetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionOutput() GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionOutput { + return o +} + +func (o GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionOutput) ToGetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionOutputWithContext(ctx context.Context) GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionOutput { + return o +} + +func (o GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionOutput) ToOutput(ctx context.Context) pulumix.Output[GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollection] { + return pulumix.Output[GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollection]{ + OutputState: o.OutputState, + } +} + +func (o GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionOutput) Items() GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemArrayOutput { + return o.ApplyT(func(v GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollection) []GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItem { + return v.Items + }).(GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemArrayOutput) +} + +type GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionArrayOutput struct{ *pulumi.OutputState } + +func (GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollection)(nil)).Elem() +} + +func (o GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionArrayOutput) ToGetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionArrayOutput() GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionArrayOutput { + return o +} + +func (o GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionArrayOutput) ToGetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionArrayOutputWithContext(ctx context.Context) GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionArrayOutput { + return o +} + +func (o GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollection] { + return pulumix.Output[[]GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollection]{ + OutputState: o.OutputState, + } +} + +func (o GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionArrayOutput) Index(i pulumi.IntInput) GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollection { + return vs[0].([]GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollection)[vs[1].(int)] + }).(GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionOutput) +} + +type GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItem struct { + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + CompartmentId string `pulumi:"compartmentId"` + // Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + DefinedTags map[string]interface{} `pulumi:"definedTags"` + // A description of the Compute Cloud@Customer upgrade schedule time block. + Description string `pulumi:"description"` + // A filter to return only resources that match the entire display name given. + DisplayName string `pulumi:"displayName"` + // List of preferred times for Compute Cloud@Customer infrastructures associated with this schedule to be upgraded. + Events []GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEvent `pulumi:"events"` + // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + FreeformTags map[string]interface{} `pulumi:"freeformTags"` + // Upgrade schedule [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). This cannot be changed once created. + Id string `pulumi:"id"` + // List of Compute Cloud@Customer infrastructure [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that are using this upgrade schedule. + InfrastructureIds []string `pulumi:"infrastructureIds"` + // A message describing the current state in more detail. For example, the message can be used to provide actionable information for a resource in a Failed state. + LifecycleDetails string `pulumi:"lifecycleDetails"` + // A filter to return resources only when their lifecycleState matches the given lifecycleState. + State string `pulumi:"state"` + // System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + SystemTags map[string]interface{} `pulumi:"systemTags"` + // The time the upgrade schedule was created, using an RFC3339 formatted datetime string. + TimeCreated string `pulumi:"timeCreated"` + // The time the upgrade schedule was updated, using an RFC3339 formatted datetime string. + TimeUpdated string `pulumi:"timeUpdated"` +} + +// GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemInput is an input type that accepts GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemArgs and GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemOutput values. +// You can construct a concrete instance of `GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemInput` via: +// +// GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemArgs{...} +type GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemInput interface { + pulumi.Input + + ToGetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemOutput() GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemOutput + ToGetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemOutputWithContext(context.Context) GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemOutput +} + +type GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemArgs struct { + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + CompartmentId pulumi.StringInput `pulumi:"compartmentId"` + // Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + DefinedTags pulumi.MapInput `pulumi:"definedTags"` + // A description of the Compute Cloud@Customer upgrade schedule time block. + Description pulumi.StringInput `pulumi:"description"` + // A filter to return only resources that match the entire display name given. + DisplayName pulumi.StringInput `pulumi:"displayName"` + // List of preferred times for Compute Cloud@Customer infrastructures associated with this schedule to be upgraded. + Events GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventArrayInput `pulumi:"events"` + // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + FreeformTags pulumi.MapInput `pulumi:"freeformTags"` + // Upgrade schedule [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). This cannot be changed once created. + Id pulumi.StringInput `pulumi:"id"` + // List of Compute Cloud@Customer infrastructure [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that are using this upgrade schedule. + InfrastructureIds pulumi.StringArrayInput `pulumi:"infrastructureIds"` + // A message describing the current state in more detail. For example, the message can be used to provide actionable information for a resource in a Failed state. + LifecycleDetails pulumi.StringInput `pulumi:"lifecycleDetails"` + // A filter to return resources only when their lifecycleState matches the given lifecycleState. + State pulumi.StringInput `pulumi:"state"` + // System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + SystemTags pulumi.MapInput `pulumi:"systemTags"` + // The time the upgrade schedule was created, using an RFC3339 formatted datetime string. + TimeCreated pulumi.StringInput `pulumi:"timeCreated"` + // The time the upgrade schedule was updated, using an RFC3339 formatted datetime string. + TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"` +} + +func (GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItem)(nil)).Elem() +} + +func (i GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemArgs) ToGetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemOutput() GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemOutput { + return i.ToGetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemOutputWithContext(context.Background()) +} + +func (i GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemArgs) ToGetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemOutputWithContext(ctx context.Context) GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemOutput) +} + +func (i GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemArgs) ToOutput(ctx context.Context) pulumix.Output[GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItem] { + return pulumix.Output[GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItem]{ + OutputState: i.ToGetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemOutputWithContext(ctx).OutputState, + } +} + +// GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemArrayInput is an input type that accepts GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemArray and GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemArrayOutput values. +// You can construct a concrete instance of `GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemArrayInput` via: +// +// GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemArray{ GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemArgs{...} } +type GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemArrayInput interface { + pulumi.Input + + ToGetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemArrayOutput() GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemArrayOutput + ToGetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemArrayOutputWithContext(context.Context) GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemArrayOutput +} + +type GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemArray []GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemInput + +func (GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItem)(nil)).Elem() +} + +func (i GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemArray) ToGetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemArrayOutput() GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemArrayOutput { + return i.ToGetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemArrayOutputWithContext(context.Background()) +} + +func (i GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemArray) ToGetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemArrayOutputWithContext(ctx context.Context) GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemArrayOutput) +} + +func (i GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemArray) ToOutput(ctx context.Context) pulumix.Output[[]GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItem] { + return pulumix.Output[[]GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItem]{ + OutputState: i.ToGetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemArrayOutputWithContext(ctx).OutputState, + } +} + +type GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemOutput struct{ *pulumi.OutputState } + +func (GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItem)(nil)).Elem() +} + +func (o GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemOutput) ToGetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemOutput() GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemOutput { + return o +} + +func (o GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemOutput) ToGetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemOutputWithContext(ctx context.Context) GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemOutput { + return o +} + +func (o GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemOutput) ToOutput(ctx context.Context) pulumix.Output[GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItem] { + return pulumix.Output[GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItem]{ + OutputState: o.OutputState, + } +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. +func (o GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItem) string { + return v.CompartmentId + }).(pulumi.StringOutput) +} + +// Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` +func (o GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemOutput) DefinedTags() pulumi.MapOutput { + return o.ApplyT(func(v GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItem) map[string]interface{} { + return v.DefinedTags + }).(pulumi.MapOutput) +} + +// A description of the Compute Cloud@Customer upgrade schedule time block. +func (o GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItem) string { return v.Description }).(pulumi.StringOutput) +} + +// A filter to return only resources that match the entire display name given. +func (o GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItem) string { return v.DisplayName }).(pulumi.StringOutput) +} + +// List of preferred times for Compute Cloud@Customer infrastructures associated with this schedule to be upgraded. +func (o GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemOutput) Events() GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventArrayOutput { + return o.ApplyT(func(v GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItem) []GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEvent { + return v.Events + }).(GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventArrayOutput) +} + +// Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` +func (o GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemOutput) FreeformTags() pulumi.MapOutput { + return o.ApplyT(func(v GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItem) map[string]interface{} { + return v.FreeformTags + }).(pulumi.MapOutput) +} + +// Upgrade schedule [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). This cannot be changed once created. +func (o GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItem) string { return v.Id }).(pulumi.StringOutput) +} + +// List of Compute Cloud@Customer infrastructure [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that are using this upgrade schedule. +func (o GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemOutput) InfrastructureIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItem) []string { + return v.InfrastructureIds + }).(pulumi.StringArrayOutput) +} + +// A message describing the current state in more detail. For example, the message can be used to provide actionable information for a resource in a Failed state. +func (o GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemOutput) LifecycleDetails() pulumi.StringOutput { + return o.ApplyT(func(v GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItem) string { + return v.LifecycleDetails + }).(pulumi.StringOutput) +} + +// A filter to return resources only when their lifecycleState matches the given lifecycleState. +func (o GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItem) string { return v.State }).(pulumi.StringOutput) +} + +// System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` +func (o GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemOutput) SystemTags() pulumi.MapOutput { + return o.ApplyT(func(v GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItem) map[string]interface{} { + return v.SystemTags + }).(pulumi.MapOutput) +} + +// The time the upgrade schedule was created, using an RFC3339 formatted datetime string. +func (o GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItem) string { return v.TimeCreated }).(pulumi.StringOutput) +} + +// The time the upgrade schedule was updated, using an RFC3339 formatted datetime string. +func (o GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemOutput) TimeUpdated() pulumi.StringOutput { + return o.ApplyT(func(v GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItem) string { return v.TimeUpdated }).(pulumi.StringOutput) +} + +type GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemArrayOutput struct{ *pulumi.OutputState } + +func (GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItem)(nil)).Elem() +} + +func (o GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemArrayOutput) ToGetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemArrayOutput() GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemArrayOutput { + return o +} + +func (o GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemArrayOutput) ToGetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemArrayOutputWithContext(ctx context.Context) GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemArrayOutput { + return o +} + +func (o GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItem] { + return pulumix.Output[[]GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItem]{ + OutputState: o.OutputState, + } +} + +func (o GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemArrayOutput) Index(i pulumi.IntInput) GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItem { + return vs[0].([]GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItem)[vs[1].(int)] + }).(GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemOutput) +} + +type GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEvent struct { + // A description of the Compute Cloud@Customer upgrade schedule time block. + Description string `pulumi:"description"` + // Generated name associated with the event. + Name string `pulumi:"name"` + // The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations. + ScheduleEventDuration string `pulumi:"scheduleEventDuration"` + // Frequency of recurrence of schedule block. When this field is not included, the event is assumed to be a one time occurrence. The frequency field is strictly parsed and must conform to RFC-5545 formatting for recurrences. + ScheduleEventRecurrences string `pulumi:"scheduleEventRecurrences"` + // The date and time when the Compute Cloud@Customer upgrade schedule event starts, inclusive. An RFC3339 formatted UTC datetime string. For an event with recurrences, this is the date that a recurrence can start being applied. + TimeStart string `pulumi:"timeStart"` +} + +// GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventInput is an input type that accepts GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventArgs and GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventOutput values. +// You can construct a concrete instance of `GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventInput` via: +// +// GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventArgs{...} +type GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventInput interface { + pulumi.Input + + ToGetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventOutput() GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventOutput + ToGetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventOutputWithContext(context.Context) GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventOutput +} + +type GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventArgs struct { + // A description of the Compute Cloud@Customer upgrade schedule time block. + Description pulumi.StringInput `pulumi:"description"` + // Generated name associated with the event. + Name pulumi.StringInput `pulumi:"name"` + // The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations. + ScheduleEventDuration pulumi.StringInput `pulumi:"scheduleEventDuration"` + // Frequency of recurrence of schedule block. When this field is not included, the event is assumed to be a one time occurrence. The frequency field is strictly parsed and must conform to RFC-5545 formatting for recurrences. + ScheduleEventRecurrences pulumi.StringInput `pulumi:"scheduleEventRecurrences"` + // The date and time when the Compute Cloud@Customer upgrade schedule event starts, inclusive. An RFC3339 formatted UTC datetime string. For an event with recurrences, this is the date that a recurrence can start being applied. + TimeStart pulumi.StringInput `pulumi:"timeStart"` +} + +func (GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEvent)(nil)).Elem() +} + +func (i GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventArgs) ToGetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventOutput() GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventOutput { + return i.ToGetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventOutputWithContext(context.Background()) +} + +func (i GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventArgs) ToGetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventOutputWithContext(ctx context.Context) GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventOutput) +} + +func (i GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventArgs) ToOutput(ctx context.Context) pulumix.Output[GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEvent] { + return pulumix.Output[GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEvent]{ + OutputState: i.ToGetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventOutputWithContext(ctx).OutputState, + } +} + +// GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventArrayInput is an input type that accepts GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventArray and GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventArrayOutput values. +// You can construct a concrete instance of `GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventArrayInput` via: +// +// GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventArray{ GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventArgs{...} } +type GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventArrayInput interface { + pulumi.Input + + ToGetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventArrayOutput() GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventArrayOutput + ToGetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventArrayOutputWithContext(context.Context) GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventArrayOutput +} + +type GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventArray []GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventInput + +func (GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEvent)(nil)).Elem() +} + +func (i GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventArray) ToGetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventArrayOutput() GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventArrayOutput { + return i.ToGetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventArrayOutputWithContext(context.Background()) +} + +func (i GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventArray) ToGetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventArrayOutputWithContext(ctx context.Context) GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventArrayOutput) +} + +func (i GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventArray) ToOutput(ctx context.Context) pulumix.Output[[]GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEvent] { + return pulumix.Output[[]GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEvent]{ + OutputState: i.ToGetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventArrayOutputWithContext(ctx).OutputState, + } +} + +type GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventOutput struct{ *pulumi.OutputState } + +func (GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEvent)(nil)).Elem() +} + +func (o GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventOutput) ToGetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventOutput() GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventOutput { + return o +} + +func (o GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventOutput) ToGetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventOutputWithContext(ctx context.Context) GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventOutput { + return o +} + +func (o GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventOutput) ToOutput(ctx context.Context) pulumix.Output[GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEvent] { + return pulumix.Output[GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEvent]{ + OutputState: o.OutputState, + } +} + +// A description of the Compute Cloud@Customer upgrade schedule time block. +func (o GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEvent) string { + return v.Description + }).(pulumi.StringOutput) +} + +// Generated name associated with the event. +func (o GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEvent) string { return v.Name }).(pulumi.StringOutput) +} + +// The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations. +func (o GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventOutput) ScheduleEventDuration() pulumi.StringOutput { + return o.ApplyT(func(v GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEvent) string { + return v.ScheduleEventDuration + }).(pulumi.StringOutput) +} + +// Frequency of recurrence of schedule block. When this field is not included, the event is assumed to be a one time occurrence. The frequency field is strictly parsed and must conform to RFC-5545 formatting for recurrences. +func (o GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventOutput) ScheduleEventRecurrences() pulumi.StringOutput { + return o.ApplyT(func(v GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEvent) string { + return v.ScheduleEventRecurrences + }).(pulumi.StringOutput) +} + +// The date and time when the Compute Cloud@Customer upgrade schedule event starts, inclusive. An RFC3339 formatted UTC datetime string. For an event with recurrences, this is the date that a recurrence can start being applied. +func (o GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventOutput) TimeStart() pulumi.StringOutput { + return o.ApplyT(func(v GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEvent) string { + return v.TimeStart + }).(pulumi.StringOutput) +} + +type GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventArrayOutput struct{ *pulumi.OutputState } + +func (GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEvent)(nil)).Elem() +} + +func (o GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventArrayOutput) ToGetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventArrayOutput() GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventArrayOutput { + return o +} + +func (o GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventArrayOutput) ToGetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventArrayOutputWithContext(ctx context.Context) GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventArrayOutput { + return o +} + +func (o GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEvent] { + return pulumix.Output[[]GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEvent]{ + OutputState: o.OutputState, + } +} + +func (o GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventArrayOutput) Index(i pulumi.IntInput) GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEvent { + return vs[0].([]GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEvent)[vs[1].(int)] + }).(GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventOutput) +} + +type GetAtCustomerCccUpgradeSchedulesFilter struct { + // Generated name associated with the event. + Name string `pulumi:"name"` + Regex *bool `pulumi:"regex"` + Values []string `pulumi:"values"` +} + +// GetAtCustomerCccUpgradeSchedulesFilterInput is an input type that accepts GetAtCustomerCccUpgradeSchedulesFilterArgs and GetAtCustomerCccUpgradeSchedulesFilterOutput values. +// You can construct a concrete instance of `GetAtCustomerCccUpgradeSchedulesFilterInput` via: +// +// GetAtCustomerCccUpgradeSchedulesFilterArgs{...} +type GetAtCustomerCccUpgradeSchedulesFilterInput interface { + pulumi.Input + + ToGetAtCustomerCccUpgradeSchedulesFilterOutput() GetAtCustomerCccUpgradeSchedulesFilterOutput + ToGetAtCustomerCccUpgradeSchedulesFilterOutputWithContext(context.Context) GetAtCustomerCccUpgradeSchedulesFilterOutput +} + +type GetAtCustomerCccUpgradeSchedulesFilterArgs struct { + // Generated name associated with the event. + Name pulumi.StringInput `pulumi:"name"` + Regex pulumi.BoolPtrInput `pulumi:"regex"` + Values pulumi.StringArrayInput `pulumi:"values"` +} + +func (GetAtCustomerCccUpgradeSchedulesFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAtCustomerCccUpgradeSchedulesFilter)(nil)).Elem() +} + +func (i GetAtCustomerCccUpgradeSchedulesFilterArgs) ToGetAtCustomerCccUpgradeSchedulesFilterOutput() GetAtCustomerCccUpgradeSchedulesFilterOutput { + return i.ToGetAtCustomerCccUpgradeSchedulesFilterOutputWithContext(context.Background()) +} + +func (i GetAtCustomerCccUpgradeSchedulesFilterArgs) ToGetAtCustomerCccUpgradeSchedulesFilterOutputWithContext(ctx context.Context) GetAtCustomerCccUpgradeSchedulesFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAtCustomerCccUpgradeSchedulesFilterOutput) +} + +func (i GetAtCustomerCccUpgradeSchedulesFilterArgs) ToOutput(ctx context.Context) pulumix.Output[GetAtCustomerCccUpgradeSchedulesFilter] { + return pulumix.Output[GetAtCustomerCccUpgradeSchedulesFilter]{ + OutputState: i.ToGetAtCustomerCccUpgradeSchedulesFilterOutputWithContext(ctx).OutputState, + } +} + +// GetAtCustomerCccUpgradeSchedulesFilterArrayInput is an input type that accepts GetAtCustomerCccUpgradeSchedulesFilterArray and GetAtCustomerCccUpgradeSchedulesFilterArrayOutput values. +// You can construct a concrete instance of `GetAtCustomerCccUpgradeSchedulesFilterArrayInput` via: +// +// GetAtCustomerCccUpgradeSchedulesFilterArray{ GetAtCustomerCccUpgradeSchedulesFilterArgs{...} } +type GetAtCustomerCccUpgradeSchedulesFilterArrayInput interface { + pulumi.Input + + ToGetAtCustomerCccUpgradeSchedulesFilterArrayOutput() GetAtCustomerCccUpgradeSchedulesFilterArrayOutput + ToGetAtCustomerCccUpgradeSchedulesFilterArrayOutputWithContext(context.Context) GetAtCustomerCccUpgradeSchedulesFilterArrayOutput +} + +type GetAtCustomerCccUpgradeSchedulesFilterArray []GetAtCustomerCccUpgradeSchedulesFilterInput + +func (GetAtCustomerCccUpgradeSchedulesFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAtCustomerCccUpgradeSchedulesFilter)(nil)).Elem() +} + +func (i GetAtCustomerCccUpgradeSchedulesFilterArray) ToGetAtCustomerCccUpgradeSchedulesFilterArrayOutput() GetAtCustomerCccUpgradeSchedulesFilterArrayOutput { + return i.ToGetAtCustomerCccUpgradeSchedulesFilterArrayOutputWithContext(context.Background()) +} + +func (i GetAtCustomerCccUpgradeSchedulesFilterArray) ToGetAtCustomerCccUpgradeSchedulesFilterArrayOutputWithContext(ctx context.Context) GetAtCustomerCccUpgradeSchedulesFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAtCustomerCccUpgradeSchedulesFilterArrayOutput) +} + +func (i GetAtCustomerCccUpgradeSchedulesFilterArray) ToOutput(ctx context.Context) pulumix.Output[[]GetAtCustomerCccUpgradeSchedulesFilter] { + return pulumix.Output[[]GetAtCustomerCccUpgradeSchedulesFilter]{ + OutputState: i.ToGetAtCustomerCccUpgradeSchedulesFilterArrayOutputWithContext(ctx).OutputState, + } +} + +type GetAtCustomerCccUpgradeSchedulesFilterOutput struct{ *pulumi.OutputState } + +func (GetAtCustomerCccUpgradeSchedulesFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAtCustomerCccUpgradeSchedulesFilter)(nil)).Elem() +} + +func (o GetAtCustomerCccUpgradeSchedulesFilterOutput) ToGetAtCustomerCccUpgradeSchedulesFilterOutput() GetAtCustomerCccUpgradeSchedulesFilterOutput { + return o +} + +func (o GetAtCustomerCccUpgradeSchedulesFilterOutput) ToGetAtCustomerCccUpgradeSchedulesFilterOutputWithContext(ctx context.Context) GetAtCustomerCccUpgradeSchedulesFilterOutput { + return o +} + +func (o GetAtCustomerCccUpgradeSchedulesFilterOutput) ToOutput(ctx context.Context) pulumix.Output[GetAtCustomerCccUpgradeSchedulesFilter] { + return pulumix.Output[GetAtCustomerCccUpgradeSchedulesFilter]{ + OutputState: o.OutputState, + } +} + +// Generated name associated with the event. +func (o GetAtCustomerCccUpgradeSchedulesFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetAtCustomerCccUpgradeSchedulesFilter) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetAtCustomerCccUpgradeSchedulesFilterOutput) Regex() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetAtCustomerCccUpgradeSchedulesFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) +} + +func (o GetAtCustomerCccUpgradeSchedulesFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetAtCustomerCccUpgradeSchedulesFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +} + +type GetAtCustomerCccUpgradeSchedulesFilterArrayOutput struct{ *pulumi.OutputState } + +func (GetAtCustomerCccUpgradeSchedulesFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAtCustomerCccUpgradeSchedulesFilter)(nil)).Elem() +} + +func (o GetAtCustomerCccUpgradeSchedulesFilterArrayOutput) ToGetAtCustomerCccUpgradeSchedulesFilterArrayOutput() GetAtCustomerCccUpgradeSchedulesFilterArrayOutput { + return o +} + +func (o GetAtCustomerCccUpgradeSchedulesFilterArrayOutput) ToGetAtCustomerCccUpgradeSchedulesFilterArrayOutputWithContext(ctx context.Context) GetAtCustomerCccUpgradeSchedulesFilterArrayOutput { + return o +} + +func (o GetAtCustomerCccUpgradeSchedulesFilterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetAtCustomerCccUpgradeSchedulesFilter] { + return pulumix.Output[[]GetAtCustomerCccUpgradeSchedulesFilter]{ + OutputState: o.OutputState, + } +} + +func (o GetAtCustomerCccUpgradeSchedulesFilterArrayOutput) Index(i pulumi.IntInput) GetAtCustomerCccUpgradeSchedulesFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetAtCustomerCccUpgradeSchedulesFilter { + return vs[0].([]GetAtCustomerCccUpgradeSchedulesFilter)[vs[1].(int)] + }).(GetAtCustomerCccUpgradeSchedulesFilterOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*AtCustomerCccInfrastructureInfrastructureInventoryInput)(nil)).Elem(), AtCustomerCccInfrastructureInfrastructureInventoryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AtCustomerCccInfrastructureInfrastructureInventoryArrayInput)(nil)).Elem(), AtCustomerCccInfrastructureInfrastructureInventoryArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInput)(nil)).Elem(), AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArrayInput)(nil)).Elem(), AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicInput)(nil)).Elem(), AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayInput)(nil)).Elem(), AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationInput)(nil)).Elem(), AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayInput)(nil)).Elem(), AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticInput)(nil)).Elem(), AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayInput)(nil)).Elem(), AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeInput)(nil)).Elem(), AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArrayInput)(nil)).Elem(), AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*AtCustomerCccInfrastructureUpgradeInformationInput)(nil)).Elem(), AtCustomerCccInfrastructureUpgradeInformationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AtCustomerCccInfrastructureUpgradeInformationArrayInput)(nil)).Elem(), AtCustomerCccInfrastructureUpgradeInformationArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*AtCustomerCccUpgradeScheduleEventInput)(nil)).Elem(), AtCustomerCccUpgradeScheduleEventArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AtCustomerCccUpgradeScheduleEventArrayInput)(nil)).Elem(), AtCustomerCccUpgradeScheduleEventArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAtCustomerCccInfrastructureInfrastructureInventoryInput)(nil)).Elem(), GetAtCustomerCccInfrastructureInfrastructureInventoryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAtCustomerCccInfrastructureInfrastructureInventoryArrayInput)(nil)).Elem(), GetAtCustomerCccInfrastructureInfrastructureInventoryArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInput)(nil)).Elem(), GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationArrayInput)(nil)).Elem(), GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicInput)(nil)).Elem(), GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayInput)(nil)).Elem(), GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationInput)(nil)).Elem(), GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayInput)(nil)).Elem(), GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticInput)(nil)).Elem(), GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayInput)(nil)).Elem(), GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeInput)(nil)).Elem(), GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArrayInput)(nil)).Elem(), GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAtCustomerCccInfrastructureUpgradeInformationInput)(nil)).Elem(), GetAtCustomerCccInfrastructureUpgradeInformationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAtCustomerCccInfrastructureUpgradeInformationArrayInput)(nil)).Elem(), GetAtCustomerCccInfrastructureUpgradeInformationArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAtCustomerCccInfrastructuresCccInfrastructureCollectionInput)(nil)).Elem(), GetAtCustomerCccInfrastructuresCccInfrastructureCollectionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAtCustomerCccInfrastructuresCccInfrastructureCollectionArrayInput)(nil)).Elem(), GetAtCustomerCccInfrastructuresCccInfrastructureCollectionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInput)(nil)).Elem(), GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemArrayInput)(nil)).Elem(), GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryInput)(nil)).Elem(), GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryArrayInput)(nil)).Elem(), GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInput)(nil)).Elem(), GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationArrayInput)(nil)).Elem(), GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicInput)(nil)).Elem(), GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayInput)(nil)).Elem(), GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationInput)(nil)).Elem(), GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayInput)(nil)).Elem(), GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticInput)(nil)).Elem(), GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayInput)(nil)).Elem(), GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeInput)(nil)).Elem(), GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeArrayInput)(nil)).Elem(), GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationInput)(nil)).Elem(), GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationArrayInput)(nil)).Elem(), GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAtCustomerCccInfrastructuresFilterInput)(nil)).Elem(), GetAtCustomerCccInfrastructuresFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAtCustomerCccInfrastructuresFilterArrayInput)(nil)).Elem(), GetAtCustomerCccInfrastructuresFilterArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAtCustomerCccUpgradeScheduleEventInput)(nil)).Elem(), GetAtCustomerCccUpgradeScheduleEventArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAtCustomerCccUpgradeScheduleEventArrayInput)(nil)).Elem(), GetAtCustomerCccUpgradeScheduleEventArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionInput)(nil)).Elem(), GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionArrayInput)(nil)).Elem(), GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemInput)(nil)).Elem(), GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemArrayInput)(nil)).Elem(), GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventInput)(nil)).Elem(), GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventArrayInput)(nil)).Elem(), GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAtCustomerCccUpgradeSchedulesFilterInput)(nil)).Elem(), GetAtCustomerCccUpgradeSchedulesFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAtCustomerCccUpgradeSchedulesFilterArrayInput)(nil)).Elem(), GetAtCustomerCccUpgradeSchedulesFilterArray{}) + pulumi.RegisterOutputType(AtCustomerCccInfrastructureInfrastructureInventoryOutput{}) + pulumi.RegisterOutputType(AtCustomerCccInfrastructureInfrastructureInventoryArrayOutput{}) + pulumi.RegisterOutputType(AtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput{}) + pulumi.RegisterOutputType(AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArrayOutput{}) + pulumi.RegisterOutputType(AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutput{}) + pulumi.RegisterOutputType(AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutput{}) + pulumi.RegisterOutputType(AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutput{}) + pulumi.RegisterOutputType(AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutput{}) + pulumi.RegisterOutputType(AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutput{}) + pulumi.RegisterOutputType(AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutput{}) + pulumi.RegisterOutputType(AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeOutput{}) + pulumi.RegisterOutputType(AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArrayOutput{}) + pulumi.RegisterOutputType(AtCustomerCccInfrastructureUpgradeInformationOutput{}) + pulumi.RegisterOutputType(AtCustomerCccInfrastructureUpgradeInformationArrayOutput{}) + pulumi.RegisterOutputType(AtCustomerCccUpgradeScheduleEventOutput{}) + pulumi.RegisterOutputType(AtCustomerCccUpgradeScheduleEventArrayOutput{}) + pulumi.RegisterOutputType(GetAtCustomerCccInfrastructureInfrastructureInventoryOutput{}) + pulumi.RegisterOutputType(GetAtCustomerCccInfrastructureInfrastructureInventoryArrayOutput{}) + pulumi.RegisterOutputType(GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationOutput{}) + pulumi.RegisterOutputType(GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationArrayOutput{}) + pulumi.RegisterOutputType(GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutput{}) + pulumi.RegisterOutputType(GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutput{}) + pulumi.RegisterOutputType(GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutput{}) + pulumi.RegisterOutputType(GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutput{}) + pulumi.RegisterOutputType(GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutput{}) + pulumi.RegisterOutputType(GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutput{}) + pulumi.RegisterOutputType(GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeOutput{}) + pulumi.RegisterOutputType(GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArrayOutput{}) + pulumi.RegisterOutputType(GetAtCustomerCccInfrastructureUpgradeInformationOutput{}) + pulumi.RegisterOutputType(GetAtCustomerCccInfrastructureUpgradeInformationArrayOutput{}) + pulumi.RegisterOutputType(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionOutput{}) + pulumi.RegisterOutputType(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionArrayOutput{}) + pulumi.RegisterOutputType(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemOutput{}) + pulumi.RegisterOutputType(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemArrayOutput{}) + pulumi.RegisterOutputType(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryOutput{}) + pulumi.RegisterOutputType(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryArrayOutput{}) + pulumi.RegisterOutputType(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationOutput{}) + pulumi.RegisterOutputType(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationArrayOutput{}) + pulumi.RegisterOutputType(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicOutput{}) + pulumi.RegisterOutputType(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArrayOutput{}) + pulumi.RegisterOutputType(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationOutput{}) + pulumi.RegisterOutputType(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArrayOutput{}) + pulumi.RegisterOutputType(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticOutput{}) + pulumi.RegisterOutputType(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticArrayOutput{}) + pulumi.RegisterOutputType(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeOutput{}) + pulumi.RegisterOutputType(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeArrayOutput{}) + pulumi.RegisterOutputType(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationOutput{}) + pulumi.RegisterOutputType(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationArrayOutput{}) + pulumi.RegisterOutputType(GetAtCustomerCccInfrastructuresFilterOutput{}) + pulumi.RegisterOutputType(GetAtCustomerCccInfrastructuresFilterArrayOutput{}) + pulumi.RegisterOutputType(GetAtCustomerCccUpgradeScheduleEventOutput{}) + pulumi.RegisterOutputType(GetAtCustomerCccUpgradeScheduleEventArrayOutput{}) + pulumi.RegisterOutputType(GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionOutput{}) + pulumi.RegisterOutputType(GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionArrayOutput{}) + pulumi.RegisterOutputType(GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemOutput{}) + pulumi.RegisterOutputType(GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemArrayOutput{}) + pulumi.RegisterOutputType(GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventOutput{}) + pulumi.RegisterOutputType(GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventArrayOutput{}) + pulumi.RegisterOutputType(GetAtCustomerCccUpgradeSchedulesFilterOutput{}) + pulumi.RegisterOutputType(GetAtCustomerCccUpgradeSchedulesFilterArrayOutput{}) +} diff --git a/sdk/go/oci/core/instance.go b/sdk/go/oci/core/instance.go index 7bd32edbd5..4461ed87c7 100644 --- a/sdk/go/oci/core/instance.go +++ b/sdk/go/oci/core/instance.go @@ -93,9 +93,8 @@ type Instance struct { // (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` DefinedTags pulumi.MapOutput `pulumi:"definedTags"` // (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. - DisplayName pulumi.StringOutput `pulumi:"displayName"` - // Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the `metadata` object. - ExtendedMetadata pulumi.MapOutput `pulumi:"extendedMetadata"` + DisplayName pulumi.StringOutput `pulumi:"displayName"` + ExtendedMetadata pulumi.MapOutput `pulumi:"extendedMetadata"` // (Updatable) A fault domain is a grouping of hardware and infrastructure within an availability domain. Each availability domain contains three fault domains. Fault domains let you distribute your instances so that they are not on the same physical hardware within a single availability domain. A hardware failure or Compute hardware maintenance that affects one fault domain does not affect instances in other fault domains. // // If you do not specify the fault domain, the system selects one for you. @@ -292,8 +291,7 @@ type instanceState struct { // (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` DefinedTags map[string]interface{} `pulumi:"definedTags"` // (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. - DisplayName *string `pulumi:"displayName"` - // Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the `metadata` object. + DisplayName *string `pulumi:"displayName"` ExtendedMetadata map[string]interface{} `pulumi:"extendedMetadata"` // (Updatable) A fault domain is a grouping of hardware and infrastructure within an availability domain. Each availability domain contains three fault domains. Fault domains let you distribute your instances so that they are not on the same physical hardware within a single availability domain. A hardware failure or Compute hardware maintenance that affects one fault domain does not affect instances in other fault domains. // @@ -456,8 +454,7 @@ type InstanceState struct { // (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` DefinedTags pulumi.MapInput // (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. - DisplayName pulumi.StringPtrInput - // Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the `metadata` object. + DisplayName pulumi.StringPtrInput ExtendedMetadata pulumi.MapInput // (Updatable) A fault domain is a grouping of hardware and infrastructure within an availability domain. Each availability domain contains three fault domains. Fault domains let you distribute your instances so that they are not on the same physical hardware within a single availability domain. A hardware failure or Compute hardware maintenance that affects one fault domain does not affect instances in other fault domains. // @@ -622,8 +619,7 @@ type instanceArgs struct { // (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` DefinedTags map[string]interface{} `pulumi:"definedTags"` // (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. - DisplayName *string `pulumi:"displayName"` - // Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the `metadata` object. + DisplayName *string `pulumi:"displayName"` ExtendedMetadata map[string]interface{} `pulumi:"extendedMetadata"` // (Updatable) A fault domain is a grouping of hardware and infrastructure within an availability domain. Each availability domain contains three fault domains. Fault domains let you distribute your instances so that they are not on the same physical hardware within a single availability domain. A hardware failure or Compute hardware maintenance that affects one fault domain does not affect instances in other fault domains. // @@ -765,8 +761,7 @@ type InstanceArgs struct { // (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` DefinedTags pulumi.MapInput // (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. - DisplayName pulumi.StringPtrInput - // Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the `metadata` object. + DisplayName pulumi.StringPtrInput ExtendedMetadata pulumi.MapInput // (Updatable) A fault domain is a grouping of hardware and infrastructure within an availability domain. Each availability domain contains three fault domains. Fault domains let you distribute your instances so that they are not on the same physical hardware within a single availability domain. A hardware failure or Compute hardware maintenance that affects one fault domain does not affect instances in other fault domains. // @@ -1056,7 +1051,6 @@ func (o InstanceOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v *Instance) pulumi.StringOutput { return v.DisplayName }).(pulumi.StringOutput) } -// Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the `metadata` object. func (o InstanceOutput) ExtendedMetadata() pulumi.MapOutput { return o.ApplyT(func(v *Instance) pulumi.MapOutput { return v.ExtendedMetadata }).(pulumi.MapOutput) } diff --git a/sdk/go/oci/core/listingResourceVersionAgreement.go b/sdk/go/oci/core/listingResourceVersionAgreement.go index 3d46b4dd84..5a28e3e615 100644 --- a/sdk/go/oci/core/listingResourceVersionAgreement.go +++ b/sdk/go/oci/core/listingResourceVersionAgreement.go @@ -13,15 +13,49 @@ import ( "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) +// The `Core.AppCatalogListingResourceVersionAgreement` resource creates AppCatalogListingResourceVersionAgreement for a particular resource version of a listing. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/go/oci/Core" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := Core.NewAppCatalogListingResourceVersionAgreement(ctx, "testAppCatalogListingResourceVersionAgreement", &Core.AppCatalogListingResourceVersionAgreementArgs{ +// ListingId: pulumi.Any(data.Oci_core_app_catalog_listing.Test_listing.Id), +// ListingResourceVersion: pulumi.Any(_var.App_catalog_listing_resource_version_agreement_listing_resource_version), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` type ListingResourceVersionAgreement struct { pulumi.CustomResourceState - EulaLink pulumi.StringOutput `pulumi:"eulaLink"` - ListingId pulumi.StringOutput `pulumi:"listingId"` + // EULA link + EulaLink pulumi.StringOutput `pulumi:"eulaLink"` + // The OCID of the listing. + ListingId pulumi.StringOutput `pulumi:"listingId"` + // Listing Resource Version. ListingResourceVersion pulumi.StringOutput `pulumi:"listingResourceVersion"` - OracleTermsOfUseLink pulumi.StringOutput `pulumi:"oracleTermsOfUseLink"` - Signature pulumi.StringOutput `pulumi:"signature"` - TimeRetrieved pulumi.StringOutput `pulumi:"timeRetrieved"` + // Oracle TOU link + OracleTermsOfUseLink pulumi.StringOutput `pulumi:"oracleTermsOfUseLink"` + // A generated signature for this agreement retrieval operation which should be used in the create subscription call. + Signature pulumi.StringOutput `pulumi:"signature"` + // Date and time the agreements were retrieved, in RFC3339 format. Example: `2018-03-20T12:32:53.532Z` + TimeRetrieved pulumi.StringOutput `pulumi:"timeRetrieved"` } // NewListingResourceVersionAgreement registers a new resource with the given unique name, arguments, and options. @@ -60,21 +94,33 @@ func GetListingResourceVersionAgreement(ctx *pulumi.Context, // Input properties used for looking up and filtering ListingResourceVersionAgreement resources. type listingResourceVersionAgreementState struct { - EulaLink *string `pulumi:"eulaLink"` - ListingId *string `pulumi:"listingId"` + // EULA link + EulaLink *string `pulumi:"eulaLink"` + // The OCID of the listing. + ListingId *string `pulumi:"listingId"` + // Listing Resource Version. ListingResourceVersion *string `pulumi:"listingResourceVersion"` - OracleTermsOfUseLink *string `pulumi:"oracleTermsOfUseLink"` - Signature *string `pulumi:"signature"` - TimeRetrieved *string `pulumi:"timeRetrieved"` + // Oracle TOU link + OracleTermsOfUseLink *string `pulumi:"oracleTermsOfUseLink"` + // A generated signature for this agreement retrieval operation which should be used in the create subscription call. + Signature *string `pulumi:"signature"` + // Date and time the agreements were retrieved, in RFC3339 format. Example: `2018-03-20T12:32:53.532Z` + TimeRetrieved *string `pulumi:"timeRetrieved"` } type ListingResourceVersionAgreementState struct { - EulaLink pulumi.StringPtrInput - ListingId pulumi.StringPtrInput + // EULA link + EulaLink pulumi.StringPtrInput + // The OCID of the listing. + ListingId pulumi.StringPtrInput + // Listing Resource Version. ListingResourceVersion pulumi.StringPtrInput - OracleTermsOfUseLink pulumi.StringPtrInput - Signature pulumi.StringPtrInput - TimeRetrieved pulumi.StringPtrInput + // Oracle TOU link + OracleTermsOfUseLink pulumi.StringPtrInput + // A generated signature for this agreement retrieval operation which should be used in the create subscription call. + Signature pulumi.StringPtrInput + // Date and time the agreements were retrieved, in RFC3339 format. Example: `2018-03-20T12:32:53.532Z` + TimeRetrieved pulumi.StringPtrInput } func (ListingResourceVersionAgreementState) ElementType() reflect.Type { @@ -82,13 +128,17 @@ func (ListingResourceVersionAgreementState) ElementType() reflect.Type { } type listingResourceVersionAgreementArgs struct { - ListingId string `pulumi:"listingId"` + // The OCID of the listing. + ListingId string `pulumi:"listingId"` + // Listing Resource Version. ListingResourceVersion string `pulumi:"listingResourceVersion"` } // The set of arguments for constructing a ListingResourceVersionAgreement resource. type ListingResourceVersionAgreementArgs struct { - ListingId pulumi.StringInput + // The OCID of the listing. + ListingId pulumi.StringInput + // Listing Resource Version. ListingResourceVersion pulumi.StringInput } @@ -203,26 +253,32 @@ func (o ListingResourceVersionAgreementOutput) ToOutput(ctx context.Context) pul } } +// EULA link func (o ListingResourceVersionAgreementOutput) EulaLink() pulumi.StringOutput { return o.ApplyT(func(v *ListingResourceVersionAgreement) pulumi.StringOutput { return v.EulaLink }).(pulumi.StringOutput) } +// The OCID of the listing. func (o ListingResourceVersionAgreementOutput) ListingId() pulumi.StringOutput { return o.ApplyT(func(v *ListingResourceVersionAgreement) pulumi.StringOutput { return v.ListingId }).(pulumi.StringOutput) } +// Listing Resource Version. func (o ListingResourceVersionAgreementOutput) ListingResourceVersion() pulumi.StringOutput { return o.ApplyT(func(v *ListingResourceVersionAgreement) pulumi.StringOutput { return v.ListingResourceVersion }).(pulumi.StringOutput) } +// Oracle TOU link func (o ListingResourceVersionAgreementOutput) OracleTermsOfUseLink() pulumi.StringOutput { return o.ApplyT(func(v *ListingResourceVersionAgreement) pulumi.StringOutput { return v.OracleTermsOfUseLink }).(pulumi.StringOutput) } +// A generated signature for this agreement retrieval operation which should be used in the create subscription call. func (o ListingResourceVersionAgreementOutput) Signature() pulumi.StringOutput { return o.ApplyT(func(v *ListingResourceVersionAgreement) pulumi.StringOutput { return v.Signature }).(pulumi.StringOutput) } +// Date and time the agreements were retrieved, in RFC3339 format. Example: `2018-03-20T12:32:53.532Z` func (o ListingResourceVersionAgreementOutput) TimeRetrieved() pulumi.StringOutput { return o.ApplyT(func(v *ListingResourceVersionAgreement) pulumi.StringOutput { return v.TimeRetrieved }).(pulumi.StringOutput) } diff --git a/sdk/go/oci/database/autonomousDatabase.go b/sdk/go/oci/database/autonomousDatabase.go index 13576f767a..ca9a75cd6b 100644 --- a/sdk/go/oci/database/autonomousDatabase.go +++ b/sdk/go/oci/database/autonomousDatabase.go @@ -229,7 +229,9 @@ type AutonomousDatabase struct { // Configurations of a Disaster Recovery. RemoteDisasterRecoveryConfigurations AutonomousDatabaseRemoteDisasterRecoveryConfigurationArrayOutput `pulumi:"remoteDisasterRecoveryConfigurations"` // Indicates the cross-region disaster recovery (DR) type of the standby Autonomous Database Serverless instance. Autonomous Data Guard (ADG) DR type provides business critical DR with a faster recovery time objective (RTO) during failover or switchover. Backup-based DR type provides lower cost DR with a slower RTO during failover or switchover. - RemoteDisasterRecoveryType pulumi.StringOutput `pulumi:"remoteDisasterRecoveryType"` + RemoteDisasterRecoveryType pulumi.StringOutput `pulumi:"remoteDisasterRecoveryType"` + ResourcePoolLeaderId pulumi.StringOutput `pulumi:"resourcePoolLeaderId"` + ResourcePoolSummary AutonomousDatabaseResourcePoolSummaryOutput `pulumi:"resourcePoolSummary"` // The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled. Role pulumi.StringOutput `pulumi:"role"` // (Updatable) An optional property when flipped triggers rotation of KMS key. It is only applicable on dedicated databases i.e. where `isDedicated` is true. @@ -294,7 +296,8 @@ type AutonomousDatabase struct { // The date and time when maintenance will begin. TimeMaintenanceBegin pulumi.StringOutput `pulumi:"timeMaintenanceBegin"` // The date and time when maintenance will end. - TimeMaintenanceEnd pulumi.StringOutput `pulumi:"timeMaintenanceEnd"` + TimeMaintenanceEnd pulumi.StringOutput `pulumi:"timeMaintenanceEnd"` + TimeOfJoiningResourcePool pulumi.StringOutput `pulumi:"timeOfJoiningResourcePool"` // The timestamp of the last failover operation. TimeOfLastFailover pulumi.StringOutput `pulumi:"timeOfLastFailover"` // The date and time when last refresh happened. @@ -576,7 +579,9 @@ type autonomousDatabaseState struct { // Configurations of a Disaster Recovery. RemoteDisasterRecoveryConfigurations []AutonomousDatabaseRemoteDisasterRecoveryConfiguration `pulumi:"remoteDisasterRecoveryConfigurations"` // Indicates the cross-region disaster recovery (DR) type of the standby Autonomous Database Serverless instance. Autonomous Data Guard (ADG) DR type provides business critical DR with a faster recovery time objective (RTO) during failover or switchover. Backup-based DR type provides lower cost DR with a slower RTO during failover or switchover. - RemoteDisasterRecoveryType *string `pulumi:"remoteDisasterRecoveryType"` + RemoteDisasterRecoveryType *string `pulumi:"remoteDisasterRecoveryType"` + ResourcePoolLeaderId *string `pulumi:"resourcePoolLeaderId"` + ResourcePoolSummary *AutonomousDatabaseResourcePoolSummary `pulumi:"resourcePoolSummary"` // The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled. Role *string `pulumi:"role"` // (Updatable) An optional property when flipped triggers rotation of KMS key. It is only applicable on dedicated databases i.e. where `isDedicated` is true. @@ -641,7 +646,8 @@ type autonomousDatabaseState struct { // The date and time when maintenance will begin. TimeMaintenanceBegin *string `pulumi:"timeMaintenanceBegin"` // The date and time when maintenance will end. - TimeMaintenanceEnd *string `pulumi:"timeMaintenanceEnd"` + TimeMaintenanceEnd *string `pulumi:"timeMaintenanceEnd"` + TimeOfJoiningResourcePool *string `pulumi:"timeOfJoiningResourcePool"` // The timestamp of the last failover operation. TimeOfLastFailover *string `pulumi:"timeOfLastFailover"` // The date and time when last refresh happened. @@ -882,6 +888,8 @@ type AutonomousDatabaseState struct { RemoteDisasterRecoveryConfigurations AutonomousDatabaseRemoteDisasterRecoveryConfigurationArrayInput // Indicates the cross-region disaster recovery (DR) type of the standby Autonomous Database Serverless instance. Autonomous Data Guard (ADG) DR type provides business critical DR with a faster recovery time objective (RTO) during failover or switchover. Backup-based DR type provides lower cost DR with a slower RTO during failover or switchover. RemoteDisasterRecoveryType pulumi.StringPtrInput + ResourcePoolLeaderId pulumi.StringPtrInput + ResourcePoolSummary AutonomousDatabaseResourcePoolSummaryPtrInput // The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled. Role pulumi.StringPtrInput // (Updatable) An optional property when flipped triggers rotation of KMS key. It is only applicable on dedicated databases i.e. where `isDedicated` is true. @@ -946,7 +954,8 @@ type AutonomousDatabaseState struct { // The date and time when maintenance will begin. TimeMaintenanceBegin pulumi.StringPtrInput // The date and time when maintenance will end. - TimeMaintenanceEnd pulumi.StringPtrInput + TimeMaintenanceEnd pulumi.StringPtrInput + TimeOfJoiningResourcePool pulumi.StringPtrInput // The timestamp of the last failover operation. TimeOfLastFailover pulumi.StringPtrInput // The date and time when last refresh happened. @@ -1128,7 +1137,9 @@ type autonomousDatabaseArgs struct { // (Updatable) The refresh mode of the clone. AUTOMATIC indicates that the clone is automatically being refreshed with data from the source Autonomous Database. RefreshableMode *string `pulumi:"refreshableMode"` // Indicates the cross-region disaster recovery (DR) type of the standby Autonomous Database Serverless instance. Autonomous Data Guard (ADG) DR type provides business critical DR with a faster recovery time objective (RTO) during failover or switchover. Backup-based DR type provides lower cost DR with a slower RTO during failover or switchover. - RemoteDisasterRecoveryType *string `pulumi:"remoteDisasterRecoveryType"` + RemoteDisasterRecoveryType *string `pulumi:"remoteDisasterRecoveryType"` + ResourcePoolLeaderId *string `pulumi:"resourcePoolLeaderId"` + ResourcePoolSummary *AutonomousDatabaseResourcePoolSummary `pulumi:"resourcePoolSummary"` // (Updatable) An optional property when flipped triggers rotation of KMS key. It is only applicable on dedicated databases i.e. where `isDedicated` is true. RotateKeyTrigger *bool `pulumi:"rotateKeyTrigger"` // (Updatable) The list of scheduled operations. @@ -1329,6 +1340,8 @@ type AutonomousDatabaseArgs struct { RefreshableMode pulumi.StringPtrInput // Indicates the cross-region disaster recovery (DR) type of the standby Autonomous Database Serverless instance. Autonomous Data Guard (ADG) DR type provides business critical DR with a faster recovery time objective (RTO) during failover or switchover. Backup-based DR type provides lower cost DR with a slower RTO during failover or switchover. RemoteDisasterRecoveryType pulumi.StringPtrInput + ResourcePoolLeaderId pulumi.StringPtrInput + ResourcePoolSummary AutonomousDatabaseResourcePoolSummaryPtrInput // (Updatable) An optional property when flipped triggers rotation of KMS key. It is only applicable on dedicated databases i.e. where `isDedicated` is true. RotateKeyTrigger pulumi.BoolPtrInput // (Updatable) The list of scheduled operations. @@ -1950,6 +1963,14 @@ func (o AutonomousDatabaseOutput) RemoteDisasterRecoveryType() pulumi.StringOutp return o.ApplyT(func(v *AutonomousDatabase) pulumi.StringOutput { return v.RemoteDisasterRecoveryType }).(pulumi.StringOutput) } +func (o AutonomousDatabaseOutput) ResourcePoolLeaderId() pulumi.StringOutput { + return o.ApplyT(func(v *AutonomousDatabase) pulumi.StringOutput { return v.ResourcePoolLeaderId }).(pulumi.StringOutput) +} + +func (o AutonomousDatabaseOutput) ResourcePoolSummary() AutonomousDatabaseResourcePoolSummaryOutput { + return o.ApplyT(func(v *AutonomousDatabase) AutonomousDatabaseResourcePoolSummaryOutput { return v.ResourcePoolSummary }).(AutonomousDatabaseResourcePoolSummaryOutput) +} + // The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled. func (o AutonomousDatabaseOutput) Role() pulumi.StringOutput { return o.ApplyT(func(v *AutonomousDatabase) pulumi.StringOutput { return v.Role }).(pulumi.StringOutput) @@ -2086,6 +2107,10 @@ func (o AutonomousDatabaseOutput) TimeMaintenanceEnd() pulumi.StringOutput { return o.ApplyT(func(v *AutonomousDatabase) pulumi.StringOutput { return v.TimeMaintenanceEnd }).(pulumi.StringOutput) } +func (o AutonomousDatabaseOutput) TimeOfJoiningResourcePool() pulumi.StringOutput { + return o.ApplyT(func(v *AutonomousDatabase) pulumi.StringOutput { return v.TimeOfJoiningResourcePool }).(pulumi.StringOutput) +} + // The timestamp of the last failover operation. func (o AutonomousDatabaseOutput) TimeOfLastFailover() pulumi.StringOutput { return o.ApplyT(func(v *AutonomousDatabase) pulumi.StringOutput { return v.TimeOfLastFailover }).(pulumi.StringOutput) diff --git a/sdk/go/oci/database/getAutonomousDatabase.go b/sdk/go/oci/database/getAutonomousDatabase.go index 33c69bc5c1..35b24ab09a 100644 --- a/sdk/go/oci/database/getAutonomousDatabase.go +++ b/sdk/go/oci/database/getAutonomousDatabase.go @@ -223,6 +223,10 @@ type LookupAutonomousDatabaseResult struct { // Configurations of a Disaster Recovery. RemoteDisasterRecoveryConfigurations []GetAutonomousDatabaseRemoteDisasterRecoveryConfiguration `pulumi:"remoteDisasterRecoveryConfigurations"` RemoteDisasterRecoveryType string `pulumi:"remoteDisasterRecoveryType"` + // The unique identifier for leader autonomous database OCID [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + ResourcePoolLeaderId string `pulumi:"resourcePoolLeaderId"` + // The configuration details for resource pool + ResourcePoolSummaries []GetAutonomousDatabaseResourcePoolSummary `pulumi:"resourcePoolSummaries"` // The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled. Role string `pulumi:"role"` RotateKeyTrigger bool `pulumi:"rotateKeyTrigger"` @@ -263,6 +267,8 @@ type LookupAutonomousDatabaseResult struct { TimeMaintenanceBegin string `pulumi:"timeMaintenanceBegin"` // The date and time when maintenance will end. TimeMaintenanceEnd string `pulumi:"timeMaintenanceEnd"` + // The time the member joined the resource pool. + TimeOfJoiningResourcePool string `pulumi:"timeOfJoiningResourcePool"` // The timestamp of the last failover operation. TimeOfLastFailover string `pulumi:"timeOfLastFailover"` // The date and time when last refresh happened. @@ -758,6 +764,18 @@ func (o LookupAutonomousDatabaseResultOutput) RemoteDisasterRecoveryType() pulum return o.ApplyT(func(v LookupAutonomousDatabaseResult) string { return v.RemoteDisasterRecoveryType }).(pulumi.StringOutput) } +// The unique identifier for leader autonomous database OCID [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +func (o LookupAutonomousDatabaseResultOutput) ResourcePoolLeaderId() pulumi.StringOutput { + return o.ApplyT(func(v LookupAutonomousDatabaseResult) string { return v.ResourcePoolLeaderId }).(pulumi.StringOutput) +} + +// The configuration details for resource pool +func (o LookupAutonomousDatabaseResultOutput) ResourcePoolSummaries() GetAutonomousDatabaseResourcePoolSummaryArrayOutput { + return o.ApplyT(func(v LookupAutonomousDatabaseResult) []GetAutonomousDatabaseResourcePoolSummary { + return v.ResourcePoolSummaries + }).(GetAutonomousDatabaseResourcePoolSummaryArrayOutput) +} + // The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled. func (o LookupAutonomousDatabaseResultOutput) Role() pulumi.StringOutput { return o.ApplyT(func(v LookupAutonomousDatabaseResult) string { return v.Role }).(pulumi.StringOutput) @@ -869,6 +887,11 @@ func (o LookupAutonomousDatabaseResultOutput) TimeMaintenanceEnd() pulumi.String return o.ApplyT(func(v LookupAutonomousDatabaseResult) string { return v.TimeMaintenanceEnd }).(pulumi.StringOutput) } +// The time the member joined the resource pool. +func (o LookupAutonomousDatabaseResultOutput) TimeOfJoiningResourcePool() pulumi.StringOutput { + return o.ApplyT(func(v LookupAutonomousDatabaseResult) string { return v.TimeOfJoiningResourcePool }).(pulumi.StringOutput) +} + // The timestamp of the last failover operation. func (o LookupAutonomousDatabaseResultOutput) TimeOfLastFailover() pulumi.StringOutput { return o.ApplyT(func(v LookupAutonomousDatabaseResult) string { return v.TimeOfLastFailover }).(pulumi.StringOutput) diff --git a/sdk/go/oci/database/getAutonomousDatabases.go b/sdk/go/oci/database/getAutonomousDatabases.go index 50994d3a18..965844504c 100644 --- a/sdk/go/oci/database/getAutonomousDatabases.go +++ b/sdk/go/oci/database/getAutonomousDatabases.go @@ -40,6 +40,8 @@ import ( // IsDataGuardEnabled: pulumi.BoolRef(_var.Autonomous_database_is_data_guard_enabled), // IsFreeTier: pulumi.BoolRef(_var.Autonomous_database_is_free_tier), // IsRefreshableClone: pulumi.BoolRef(_var.Autonomous_database_is_refreshable_clone), +// IsResourcePoolLeader: pulumi.BoolRef(_var.Autonomous_database_is_resource_pool_leader), +// ResourcePoolLeaderId: pulumi.StringRef(oci_database_resource_pool_leader.Test_resource_pool_leader.Id), // State: pulumi.StringRef(_var.Autonomous_database_state), // }, nil) // if err != nil { @@ -81,6 +83,10 @@ type GetAutonomousDatabasesArgs struct { IsFreeTier *bool `pulumi:"isFreeTier"` // Filter on the value of the resource's 'isRefreshableClone' property. A value of `true` returns only refreshable clones. A value of `false` excludes refreshable clones from the returned results. Omitting this parameter returns both refreshable clones and databases that are not refreshable clones. IsRefreshableClone *bool `pulumi:"isRefreshableClone"` + // Filter if the resource is the resource pool leader. A value of `true` returns only resource pool leader. + IsResourcePoolLeader *bool `pulumi:"isResourcePoolLeader"` + // The database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resourcepool Leader Autonomous Database. + ResourcePoolLeaderId *string `pulumi:"resourcePoolLeaderId"` // A filter to return only resources that match the given lifecycle state exactly. State *string `pulumi:"state"` } @@ -113,7 +119,10 @@ type GetAutonomousDatabasesResult struct { // Indicates if this is an Always Free resource. The default value is false. Note that Always Free Autonomous Databases have 1 CPU and 20GB of memory. For Always Free databases, memory and CPU cannot be scaled. IsFreeTier *bool `pulumi:"isFreeTier"` // Indicates if the Autonomous Database is a refreshable clone. - IsRefreshableClone *bool `pulumi:"isRefreshableClone"` + IsRefreshableClone *bool `pulumi:"isRefreshableClone"` + IsResourcePoolLeader *bool `pulumi:"isResourcePoolLeader"` + // The unique identifier for leader autonomous database OCID [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + ResourcePoolLeaderId *string `pulumi:"resourcePoolLeaderId"` // The current state of the Autonomous Database. State *string `pulumi:"state"` } @@ -152,6 +161,10 @@ type GetAutonomousDatabasesOutputArgs struct { IsFreeTier pulumi.BoolPtrInput `pulumi:"isFreeTier"` // Filter on the value of the resource's 'isRefreshableClone' property. A value of `true` returns only refreshable clones. A value of `false` excludes refreshable clones from the returned results. Omitting this parameter returns both refreshable clones and databases that are not refreshable clones. IsRefreshableClone pulumi.BoolPtrInput `pulumi:"isRefreshableClone"` + // Filter if the resource is the resource pool leader. A value of `true` returns only resource pool leader. + IsResourcePoolLeader pulumi.BoolPtrInput `pulumi:"isResourcePoolLeader"` + // The database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resourcepool Leader Autonomous Database. + ResourcePoolLeaderId pulumi.StringPtrInput `pulumi:"resourcePoolLeaderId"` // A filter to return only resources that match the given lifecycle state exactly. State pulumi.StringPtrInput `pulumi:"state"` } @@ -246,6 +259,15 @@ func (o GetAutonomousDatabasesResultOutput) IsRefreshableClone() pulumi.BoolPtrO return o.ApplyT(func(v GetAutonomousDatabasesResult) *bool { return v.IsRefreshableClone }).(pulumi.BoolPtrOutput) } +func (o GetAutonomousDatabasesResultOutput) IsResourcePoolLeader() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetAutonomousDatabasesResult) *bool { return v.IsResourcePoolLeader }).(pulumi.BoolPtrOutput) +} + +// The unique identifier for leader autonomous database OCID [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +func (o GetAutonomousDatabasesResultOutput) ResourcePoolLeaderId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetAutonomousDatabasesResult) *string { return v.ResourcePoolLeaderId }).(pulumi.StringPtrOutput) +} + // The current state of the Autonomous Database. func (o GetAutonomousDatabasesResultOutput) State() pulumi.StringPtrOutput { return o.ApplyT(func(v GetAutonomousDatabasesResult) *string { return v.State }).(pulumi.StringPtrOutput) diff --git a/sdk/go/oci/database/pulumiTypes.go b/sdk/go/oci/database/pulumiTypes.go index 2b3b34754c..321d1d7b77 100644 --- a/sdk/go/oci/database/pulumiTypes.go +++ b/sdk/go/oci/database/pulumiTypes.go @@ -3675,6 +3675,182 @@ func (o AutonomousDatabaseRemoteDisasterRecoveryConfigurationArrayOutput) Index( }).(AutonomousDatabaseRemoteDisasterRecoveryConfigurationOutput) } +type AutonomousDatabaseResourcePoolSummary struct { + // Indicates if the long-term backup schedule should be deleted. The default value is `FALSE`. + IsDisabled *bool `pulumi:"isDisabled"` + PoolSize *int `pulumi:"poolSize"` +} + +// AutonomousDatabaseResourcePoolSummaryInput is an input type that accepts AutonomousDatabaseResourcePoolSummaryArgs and AutonomousDatabaseResourcePoolSummaryOutput values. +// You can construct a concrete instance of `AutonomousDatabaseResourcePoolSummaryInput` via: +// +// AutonomousDatabaseResourcePoolSummaryArgs{...} +type AutonomousDatabaseResourcePoolSummaryInput interface { + pulumi.Input + + ToAutonomousDatabaseResourcePoolSummaryOutput() AutonomousDatabaseResourcePoolSummaryOutput + ToAutonomousDatabaseResourcePoolSummaryOutputWithContext(context.Context) AutonomousDatabaseResourcePoolSummaryOutput +} + +type AutonomousDatabaseResourcePoolSummaryArgs struct { + // Indicates if the long-term backup schedule should be deleted. The default value is `FALSE`. + IsDisabled pulumi.BoolPtrInput `pulumi:"isDisabled"` + PoolSize pulumi.IntPtrInput `pulumi:"poolSize"` +} + +func (AutonomousDatabaseResourcePoolSummaryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*AutonomousDatabaseResourcePoolSummary)(nil)).Elem() +} + +func (i AutonomousDatabaseResourcePoolSummaryArgs) ToAutonomousDatabaseResourcePoolSummaryOutput() AutonomousDatabaseResourcePoolSummaryOutput { + return i.ToAutonomousDatabaseResourcePoolSummaryOutputWithContext(context.Background()) +} + +func (i AutonomousDatabaseResourcePoolSummaryArgs) ToAutonomousDatabaseResourcePoolSummaryOutputWithContext(ctx context.Context) AutonomousDatabaseResourcePoolSummaryOutput { + return pulumi.ToOutputWithContext(ctx, i).(AutonomousDatabaseResourcePoolSummaryOutput) +} + +func (i AutonomousDatabaseResourcePoolSummaryArgs) ToOutput(ctx context.Context) pulumix.Output[AutonomousDatabaseResourcePoolSummary] { + return pulumix.Output[AutonomousDatabaseResourcePoolSummary]{ + OutputState: i.ToAutonomousDatabaseResourcePoolSummaryOutputWithContext(ctx).OutputState, + } +} + +func (i AutonomousDatabaseResourcePoolSummaryArgs) ToAutonomousDatabaseResourcePoolSummaryPtrOutput() AutonomousDatabaseResourcePoolSummaryPtrOutput { + return i.ToAutonomousDatabaseResourcePoolSummaryPtrOutputWithContext(context.Background()) +} + +func (i AutonomousDatabaseResourcePoolSummaryArgs) ToAutonomousDatabaseResourcePoolSummaryPtrOutputWithContext(ctx context.Context) AutonomousDatabaseResourcePoolSummaryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AutonomousDatabaseResourcePoolSummaryOutput).ToAutonomousDatabaseResourcePoolSummaryPtrOutputWithContext(ctx) +} + +// AutonomousDatabaseResourcePoolSummaryPtrInput is an input type that accepts AutonomousDatabaseResourcePoolSummaryArgs, AutonomousDatabaseResourcePoolSummaryPtr and AutonomousDatabaseResourcePoolSummaryPtrOutput values. +// You can construct a concrete instance of `AutonomousDatabaseResourcePoolSummaryPtrInput` via: +// +// AutonomousDatabaseResourcePoolSummaryArgs{...} +// +// or: +// +// nil +type AutonomousDatabaseResourcePoolSummaryPtrInput interface { + pulumi.Input + + ToAutonomousDatabaseResourcePoolSummaryPtrOutput() AutonomousDatabaseResourcePoolSummaryPtrOutput + ToAutonomousDatabaseResourcePoolSummaryPtrOutputWithContext(context.Context) AutonomousDatabaseResourcePoolSummaryPtrOutput +} + +type autonomousDatabaseResourcePoolSummaryPtrType AutonomousDatabaseResourcePoolSummaryArgs + +func AutonomousDatabaseResourcePoolSummaryPtr(v *AutonomousDatabaseResourcePoolSummaryArgs) AutonomousDatabaseResourcePoolSummaryPtrInput { + return (*autonomousDatabaseResourcePoolSummaryPtrType)(v) +} + +func (*autonomousDatabaseResourcePoolSummaryPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**AutonomousDatabaseResourcePoolSummary)(nil)).Elem() +} + +func (i *autonomousDatabaseResourcePoolSummaryPtrType) ToAutonomousDatabaseResourcePoolSummaryPtrOutput() AutonomousDatabaseResourcePoolSummaryPtrOutput { + return i.ToAutonomousDatabaseResourcePoolSummaryPtrOutputWithContext(context.Background()) +} + +func (i *autonomousDatabaseResourcePoolSummaryPtrType) ToAutonomousDatabaseResourcePoolSummaryPtrOutputWithContext(ctx context.Context) AutonomousDatabaseResourcePoolSummaryPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(AutonomousDatabaseResourcePoolSummaryPtrOutput) +} + +func (i *autonomousDatabaseResourcePoolSummaryPtrType) ToOutput(ctx context.Context) pulumix.Output[*AutonomousDatabaseResourcePoolSummary] { + return pulumix.Output[*AutonomousDatabaseResourcePoolSummary]{ + OutputState: i.ToAutonomousDatabaseResourcePoolSummaryPtrOutputWithContext(ctx).OutputState, + } +} + +type AutonomousDatabaseResourcePoolSummaryOutput struct{ *pulumi.OutputState } + +func (AutonomousDatabaseResourcePoolSummaryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*AutonomousDatabaseResourcePoolSummary)(nil)).Elem() +} + +func (o AutonomousDatabaseResourcePoolSummaryOutput) ToAutonomousDatabaseResourcePoolSummaryOutput() AutonomousDatabaseResourcePoolSummaryOutput { + return o +} + +func (o AutonomousDatabaseResourcePoolSummaryOutput) ToAutonomousDatabaseResourcePoolSummaryOutputWithContext(ctx context.Context) AutonomousDatabaseResourcePoolSummaryOutput { + return o +} + +func (o AutonomousDatabaseResourcePoolSummaryOutput) ToAutonomousDatabaseResourcePoolSummaryPtrOutput() AutonomousDatabaseResourcePoolSummaryPtrOutput { + return o.ToAutonomousDatabaseResourcePoolSummaryPtrOutputWithContext(context.Background()) +} + +func (o AutonomousDatabaseResourcePoolSummaryOutput) ToAutonomousDatabaseResourcePoolSummaryPtrOutputWithContext(ctx context.Context) AutonomousDatabaseResourcePoolSummaryPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v AutonomousDatabaseResourcePoolSummary) *AutonomousDatabaseResourcePoolSummary { + return &v + }).(AutonomousDatabaseResourcePoolSummaryPtrOutput) +} + +func (o AutonomousDatabaseResourcePoolSummaryOutput) ToOutput(ctx context.Context) pulumix.Output[AutonomousDatabaseResourcePoolSummary] { + return pulumix.Output[AutonomousDatabaseResourcePoolSummary]{ + OutputState: o.OutputState, + } +} + +// Indicates if the long-term backup schedule should be deleted. The default value is `FALSE`. +func (o AutonomousDatabaseResourcePoolSummaryOutput) IsDisabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v AutonomousDatabaseResourcePoolSummary) *bool { return v.IsDisabled }).(pulumi.BoolPtrOutput) +} + +func (o AutonomousDatabaseResourcePoolSummaryOutput) PoolSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v AutonomousDatabaseResourcePoolSummary) *int { return v.PoolSize }).(pulumi.IntPtrOutput) +} + +type AutonomousDatabaseResourcePoolSummaryPtrOutput struct{ *pulumi.OutputState } + +func (AutonomousDatabaseResourcePoolSummaryPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**AutonomousDatabaseResourcePoolSummary)(nil)).Elem() +} + +func (o AutonomousDatabaseResourcePoolSummaryPtrOutput) ToAutonomousDatabaseResourcePoolSummaryPtrOutput() AutonomousDatabaseResourcePoolSummaryPtrOutput { + return o +} + +func (o AutonomousDatabaseResourcePoolSummaryPtrOutput) ToAutonomousDatabaseResourcePoolSummaryPtrOutputWithContext(ctx context.Context) AutonomousDatabaseResourcePoolSummaryPtrOutput { + return o +} + +func (o AutonomousDatabaseResourcePoolSummaryPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AutonomousDatabaseResourcePoolSummary] { + return pulumix.Output[*AutonomousDatabaseResourcePoolSummary]{ + OutputState: o.OutputState, + } +} + +func (o AutonomousDatabaseResourcePoolSummaryPtrOutput) Elem() AutonomousDatabaseResourcePoolSummaryOutput { + return o.ApplyT(func(v *AutonomousDatabaseResourcePoolSummary) AutonomousDatabaseResourcePoolSummary { + if v != nil { + return *v + } + var ret AutonomousDatabaseResourcePoolSummary + return ret + }).(AutonomousDatabaseResourcePoolSummaryOutput) +} + +// Indicates if the long-term backup schedule should be deleted. The default value is `FALSE`. +func (o AutonomousDatabaseResourcePoolSummaryPtrOutput) IsDisabled() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *AutonomousDatabaseResourcePoolSummary) *bool { + if v == nil { + return nil + } + return v.IsDisabled + }).(pulumi.BoolPtrOutput) +} + +func (o AutonomousDatabaseResourcePoolSummaryPtrOutput) PoolSize() pulumi.IntPtrOutput { + return o.ApplyT(func(v *AutonomousDatabaseResourcePoolSummary) *int { + if v == nil { + return nil + } + return v.PoolSize + }).(pulumi.IntPtrOutput) +} + type AutonomousDatabaseScheduledOperation struct { // (Updatable) Day of the week. DayOfWeek AutonomousDatabaseScheduledOperationDayOfWeek `pulumi:"dayOfWeek"` @@ -32158,7 +32334,7 @@ func (o GetAutonomousDatabaseLocalStandbyDbArrayOutput) Index(i pulumi.IntInput) } type GetAutonomousDatabaseLongTermBackupSchedule struct { - // Indicates if the long-term backup schedule should be deleted. The default value is `FALSE`. + // Indicates if the resource pool should be deleted for the Autonomous Database. IsDisabled bool `pulumi:"isDisabled"` // The frequency of the long-term backup schedule RepeatCadence string `pulumi:"repeatCadence"` @@ -32180,7 +32356,7 @@ type GetAutonomousDatabaseLongTermBackupScheduleInput interface { } type GetAutonomousDatabaseLongTermBackupScheduleArgs struct { - // Indicates if the long-term backup schedule should be deleted. The default value is `FALSE`. + // Indicates if the resource pool should be deleted for the Autonomous Database. IsDisabled pulumi.BoolInput `pulumi:"isDisabled"` // The frequency of the long-term backup schedule RepeatCadence pulumi.StringInput `pulumi:"repeatCadence"` @@ -32259,7 +32435,7 @@ func (o GetAutonomousDatabaseLongTermBackupScheduleOutput) ToOutput(ctx context. } } -// Indicates if the long-term backup schedule should be deleted. The default value is `FALSE`. +// Indicates if the resource pool should be deleted for the Autonomous Database. func (o GetAutonomousDatabaseLongTermBackupScheduleOutput) IsDisabled() pulumi.BoolOutput { return o.ApplyT(func(v GetAutonomousDatabaseLongTermBackupSchedule) bool { return v.IsDisabled }).(pulumi.BoolOutput) } @@ -32806,6 +32982,136 @@ func (o GetAutonomousDatabaseRemoteDisasterRecoveryConfigurationArrayOutput) Ind }).(GetAutonomousDatabaseRemoteDisasterRecoveryConfigurationOutput) } +type GetAutonomousDatabaseResourcePoolSummary struct { + // Indicates if the resource pool should be deleted for the Autonomous Database. + IsDisabled bool `pulumi:"isDisabled"` + // Resource pool size. + PoolSize int `pulumi:"poolSize"` +} + +// GetAutonomousDatabaseResourcePoolSummaryInput is an input type that accepts GetAutonomousDatabaseResourcePoolSummaryArgs and GetAutonomousDatabaseResourcePoolSummaryOutput values. +// You can construct a concrete instance of `GetAutonomousDatabaseResourcePoolSummaryInput` via: +// +// GetAutonomousDatabaseResourcePoolSummaryArgs{...} +type GetAutonomousDatabaseResourcePoolSummaryInput interface { + pulumi.Input + + ToGetAutonomousDatabaseResourcePoolSummaryOutput() GetAutonomousDatabaseResourcePoolSummaryOutput + ToGetAutonomousDatabaseResourcePoolSummaryOutputWithContext(context.Context) GetAutonomousDatabaseResourcePoolSummaryOutput +} + +type GetAutonomousDatabaseResourcePoolSummaryArgs struct { + // Indicates if the resource pool should be deleted for the Autonomous Database. + IsDisabled pulumi.BoolInput `pulumi:"isDisabled"` + // Resource pool size. + PoolSize pulumi.IntInput `pulumi:"poolSize"` +} + +func (GetAutonomousDatabaseResourcePoolSummaryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAutonomousDatabaseResourcePoolSummary)(nil)).Elem() +} + +func (i GetAutonomousDatabaseResourcePoolSummaryArgs) ToGetAutonomousDatabaseResourcePoolSummaryOutput() GetAutonomousDatabaseResourcePoolSummaryOutput { + return i.ToGetAutonomousDatabaseResourcePoolSummaryOutputWithContext(context.Background()) +} + +func (i GetAutonomousDatabaseResourcePoolSummaryArgs) ToGetAutonomousDatabaseResourcePoolSummaryOutputWithContext(ctx context.Context) GetAutonomousDatabaseResourcePoolSummaryOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAutonomousDatabaseResourcePoolSummaryOutput) +} + +func (i GetAutonomousDatabaseResourcePoolSummaryArgs) ToOutput(ctx context.Context) pulumix.Output[GetAutonomousDatabaseResourcePoolSummary] { + return pulumix.Output[GetAutonomousDatabaseResourcePoolSummary]{ + OutputState: i.ToGetAutonomousDatabaseResourcePoolSummaryOutputWithContext(ctx).OutputState, + } +} + +// GetAutonomousDatabaseResourcePoolSummaryArrayInput is an input type that accepts GetAutonomousDatabaseResourcePoolSummaryArray and GetAutonomousDatabaseResourcePoolSummaryArrayOutput values. +// You can construct a concrete instance of `GetAutonomousDatabaseResourcePoolSummaryArrayInput` via: +// +// GetAutonomousDatabaseResourcePoolSummaryArray{ GetAutonomousDatabaseResourcePoolSummaryArgs{...} } +type GetAutonomousDatabaseResourcePoolSummaryArrayInput interface { + pulumi.Input + + ToGetAutonomousDatabaseResourcePoolSummaryArrayOutput() GetAutonomousDatabaseResourcePoolSummaryArrayOutput + ToGetAutonomousDatabaseResourcePoolSummaryArrayOutputWithContext(context.Context) GetAutonomousDatabaseResourcePoolSummaryArrayOutput +} + +type GetAutonomousDatabaseResourcePoolSummaryArray []GetAutonomousDatabaseResourcePoolSummaryInput + +func (GetAutonomousDatabaseResourcePoolSummaryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAutonomousDatabaseResourcePoolSummary)(nil)).Elem() +} + +func (i GetAutonomousDatabaseResourcePoolSummaryArray) ToGetAutonomousDatabaseResourcePoolSummaryArrayOutput() GetAutonomousDatabaseResourcePoolSummaryArrayOutput { + return i.ToGetAutonomousDatabaseResourcePoolSummaryArrayOutputWithContext(context.Background()) +} + +func (i GetAutonomousDatabaseResourcePoolSummaryArray) ToGetAutonomousDatabaseResourcePoolSummaryArrayOutputWithContext(ctx context.Context) GetAutonomousDatabaseResourcePoolSummaryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAutonomousDatabaseResourcePoolSummaryArrayOutput) +} + +func (i GetAutonomousDatabaseResourcePoolSummaryArray) ToOutput(ctx context.Context) pulumix.Output[[]GetAutonomousDatabaseResourcePoolSummary] { + return pulumix.Output[[]GetAutonomousDatabaseResourcePoolSummary]{ + OutputState: i.ToGetAutonomousDatabaseResourcePoolSummaryArrayOutputWithContext(ctx).OutputState, + } +} + +type GetAutonomousDatabaseResourcePoolSummaryOutput struct{ *pulumi.OutputState } + +func (GetAutonomousDatabaseResourcePoolSummaryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAutonomousDatabaseResourcePoolSummary)(nil)).Elem() +} + +func (o GetAutonomousDatabaseResourcePoolSummaryOutput) ToGetAutonomousDatabaseResourcePoolSummaryOutput() GetAutonomousDatabaseResourcePoolSummaryOutput { + return o +} + +func (o GetAutonomousDatabaseResourcePoolSummaryOutput) ToGetAutonomousDatabaseResourcePoolSummaryOutputWithContext(ctx context.Context) GetAutonomousDatabaseResourcePoolSummaryOutput { + return o +} + +func (o GetAutonomousDatabaseResourcePoolSummaryOutput) ToOutput(ctx context.Context) pulumix.Output[GetAutonomousDatabaseResourcePoolSummary] { + return pulumix.Output[GetAutonomousDatabaseResourcePoolSummary]{ + OutputState: o.OutputState, + } +} + +// Indicates if the resource pool should be deleted for the Autonomous Database. +func (o GetAutonomousDatabaseResourcePoolSummaryOutput) IsDisabled() pulumi.BoolOutput { + return o.ApplyT(func(v GetAutonomousDatabaseResourcePoolSummary) bool { return v.IsDisabled }).(pulumi.BoolOutput) +} + +// Resource pool size. +func (o GetAutonomousDatabaseResourcePoolSummaryOutput) PoolSize() pulumi.IntOutput { + return o.ApplyT(func(v GetAutonomousDatabaseResourcePoolSummary) int { return v.PoolSize }).(pulumi.IntOutput) +} + +type GetAutonomousDatabaseResourcePoolSummaryArrayOutput struct{ *pulumi.OutputState } + +func (GetAutonomousDatabaseResourcePoolSummaryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAutonomousDatabaseResourcePoolSummary)(nil)).Elem() +} + +func (o GetAutonomousDatabaseResourcePoolSummaryArrayOutput) ToGetAutonomousDatabaseResourcePoolSummaryArrayOutput() GetAutonomousDatabaseResourcePoolSummaryArrayOutput { + return o +} + +func (o GetAutonomousDatabaseResourcePoolSummaryArrayOutput) ToGetAutonomousDatabaseResourcePoolSummaryArrayOutputWithContext(ctx context.Context) GetAutonomousDatabaseResourcePoolSummaryArrayOutput { + return o +} + +func (o GetAutonomousDatabaseResourcePoolSummaryArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetAutonomousDatabaseResourcePoolSummary] { + return pulumix.Output[[]GetAutonomousDatabaseResourcePoolSummary]{ + OutputState: o.OutputState, + } +} + +func (o GetAutonomousDatabaseResourcePoolSummaryArrayOutput) Index(i pulumi.IntInput) GetAutonomousDatabaseResourcePoolSummaryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetAutonomousDatabaseResourcePoolSummary { + return vs[0].([]GetAutonomousDatabaseResourcePoolSummary)[vs[1].(int)] + }).(GetAutonomousDatabaseResourcePoolSummaryOutput) +} + type GetAutonomousDatabaseScheduledOperation struct { // Day of the week. DayOfWeeks []GetAutonomousDatabaseScheduledOperationDayOfWeek `pulumi:"dayOfWeeks"` @@ -33386,6 +33692,10 @@ type GetAutonomousDatabasesAutonomousDatabase struct { // Configurations of a Disaster Recovery. RemoteDisasterRecoveryConfigurations []GetAutonomousDatabasesAutonomousDatabaseRemoteDisasterRecoveryConfiguration `pulumi:"remoteDisasterRecoveryConfigurations"` RemoteDisasterRecoveryType string `pulumi:"remoteDisasterRecoveryType"` + // The database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resourcepool Leader Autonomous Database. + ResourcePoolLeaderId string `pulumi:"resourcePoolLeaderId"` + // The configuration details for resource pool + ResourcePoolSummaries []GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummary `pulumi:"resourcePoolSummaries"` // The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled. Role string `pulumi:"role"` RotateKeyTrigger bool `pulumi:"rotateKeyTrigger"` @@ -33426,6 +33736,8 @@ type GetAutonomousDatabasesAutonomousDatabase struct { TimeMaintenanceBegin string `pulumi:"timeMaintenanceBegin"` // The date and time when maintenance will end. TimeMaintenanceEnd string `pulumi:"timeMaintenanceEnd"` + // The time the member joined the resource pool. + TimeOfJoiningResourcePool string `pulumi:"timeOfJoiningResourcePool"` // The timestamp of the last failover operation. TimeOfLastFailover string `pulumi:"timeOfLastFailover"` // The date and time when last refresh happened. @@ -33626,6 +33938,10 @@ type GetAutonomousDatabasesAutonomousDatabaseArgs struct { // Configurations of a Disaster Recovery. RemoteDisasterRecoveryConfigurations GetAutonomousDatabasesAutonomousDatabaseRemoteDisasterRecoveryConfigurationArrayInput `pulumi:"remoteDisasterRecoveryConfigurations"` RemoteDisasterRecoveryType pulumi.StringInput `pulumi:"remoteDisasterRecoveryType"` + // The database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resourcepool Leader Autonomous Database. + ResourcePoolLeaderId pulumi.StringInput `pulumi:"resourcePoolLeaderId"` + // The configuration details for resource pool + ResourcePoolSummaries GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryArrayInput `pulumi:"resourcePoolSummaries"` // The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled. Role pulumi.StringInput `pulumi:"role"` RotateKeyTrigger pulumi.BoolInput `pulumi:"rotateKeyTrigger"` @@ -33666,6 +33982,8 @@ type GetAutonomousDatabasesAutonomousDatabaseArgs struct { TimeMaintenanceBegin pulumi.StringInput `pulumi:"timeMaintenanceBegin"` // The date and time when maintenance will end. TimeMaintenanceEnd pulumi.StringInput `pulumi:"timeMaintenanceEnd"` + // The time the member joined the resource pool. + TimeOfJoiningResourcePool pulumi.StringInput `pulumi:"timeOfJoiningResourcePool"` // The timestamp of the last failover operation. TimeOfLastFailover pulumi.StringInput `pulumi:"timeOfLastFailover"` // The date and time when last refresh happened. @@ -34192,6 +34510,18 @@ func (o GetAutonomousDatabasesAutonomousDatabaseOutput) RemoteDisasterRecoveryTy return o.ApplyT(func(v GetAutonomousDatabasesAutonomousDatabase) string { return v.RemoteDisasterRecoveryType }).(pulumi.StringOutput) } +// The database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resourcepool Leader Autonomous Database. +func (o GetAutonomousDatabasesAutonomousDatabaseOutput) ResourcePoolLeaderId() pulumi.StringOutput { + return o.ApplyT(func(v GetAutonomousDatabasesAutonomousDatabase) string { return v.ResourcePoolLeaderId }).(pulumi.StringOutput) +} + +// The configuration details for resource pool +func (o GetAutonomousDatabasesAutonomousDatabaseOutput) ResourcePoolSummaries() GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryArrayOutput { + return o.ApplyT(func(v GetAutonomousDatabasesAutonomousDatabase) []GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummary { + return v.ResourcePoolSummaries + }).(GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryArrayOutput) +} + // The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled. func (o GetAutonomousDatabasesAutonomousDatabaseOutput) Role() pulumi.StringOutput { return o.ApplyT(func(v GetAutonomousDatabasesAutonomousDatabase) string { return v.Role }).(pulumi.StringOutput) @@ -34305,6 +34635,11 @@ func (o GetAutonomousDatabasesAutonomousDatabaseOutput) TimeMaintenanceEnd() pul return o.ApplyT(func(v GetAutonomousDatabasesAutonomousDatabase) string { return v.TimeMaintenanceEnd }).(pulumi.StringOutput) } +// The time the member joined the resource pool. +func (o GetAutonomousDatabasesAutonomousDatabaseOutput) TimeOfJoiningResourcePool() pulumi.StringOutput { + return o.ApplyT(func(v GetAutonomousDatabasesAutonomousDatabase) string { return v.TimeOfJoiningResourcePool }).(pulumi.StringOutput) +} + // The timestamp of the last failover operation. func (o GetAutonomousDatabasesAutonomousDatabaseOutput) TimeOfLastFailover() pulumi.StringOutput { return o.ApplyT(func(v GetAutonomousDatabasesAutonomousDatabase) string { return v.TimeOfLastFailover }).(pulumi.StringOutput) @@ -35598,7 +35933,7 @@ func (o GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDbArrayOutput) Index } type GetAutonomousDatabasesAutonomousDatabaseLongTermBackupSchedule struct { - // Indicates if the long-term backup schedule should be deleted. The default value is `FALSE`. + // Indicates if the resource pool should be deleted for the Autonomous Database. IsDisabled bool `pulumi:"isDisabled"` // The frequency of the long-term backup schedule RepeatCadence string `pulumi:"repeatCadence"` @@ -35620,7 +35955,7 @@ type GetAutonomousDatabasesAutonomousDatabaseLongTermBackupScheduleInput interfa } type GetAutonomousDatabasesAutonomousDatabaseLongTermBackupScheduleArgs struct { - // Indicates if the long-term backup schedule should be deleted. The default value is `FALSE`. + // Indicates if the resource pool should be deleted for the Autonomous Database. IsDisabled pulumi.BoolInput `pulumi:"isDisabled"` // The frequency of the long-term backup schedule RepeatCadence pulumi.StringInput `pulumi:"repeatCadence"` @@ -35699,7 +36034,7 @@ func (o GetAutonomousDatabasesAutonomousDatabaseLongTermBackupScheduleOutput) To } } -// Indicates if the long-term backup schedule should be deleted. The default value is `FALSE`. +// Indicates if the resource pool should be deleted for the Autonomous Database. func (o GetAutonomousDatabasesAutonomousDatabaseLongTermBackupScheduleOutput) IsDisabled() pulumi.BoolOutput { return o.ApplyT(func(v GetAutonomousDatabasesAutonomousDatabaseLongTermBackupSchedule) bool { return v.IsDisabled }).(pulumi.BoolOutput) } @@ -35870,6 +36205,136 @@ func (o GetAutonomousDatabasesAutonomousDatabaseRemoteDisasterRecoveryConfigurat }).(GetAutonomousDatabasesAutonomousDatabaseRemoteDisasterRecoveryConfigurationOutput) } +type GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummary struct { + // Indicates if the resource pool should be deleted for the Autonomous Database. + IsDisabled bool `pulumi:"isDisabled"` + // Resource pool size. + PoolSize int `pulumi:"poolSize"` +} + +// GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryInput is an input type that accepts GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryArgs and GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryOutput values. +// You can construct a concrete instance of `GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryInput` via: +// +// GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryArgs{...} +type GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryInput interface { + pulumi.Input + + ToGetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryOutput() GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryOutput + ToGetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryOutputWithContext(context.Context) GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryOutput +} + +type GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryArgs struct { + // Indicates if the resource pool should be deleted for the Autonomous Database. + IsDisabled pulumi.BoolInput `pulumi:"isDisabled"` + // Resource pool size. + PoolSize pulumi.IntInput `pulumi:"poolSize"` +} + +func (GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummary)(nil)).Elem() +} + +func (i GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryArgs) ToGetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryOutput() GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryOutput { + return i.ToGetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryOutputWithContext(context.Background()) +} + +func (i GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryArgs) ToGetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryOutputWithContext(ctx context.Context) GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryOutput) +} + +func (i GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryArgs) ToOutput(ctx context.Context) pulumix.Output[GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummary] { + return pulumix.Output[GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummary]{ + OutputState: i.ToGetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryOutputWithContext(ctx).OutputState, + } +} + +// GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryArrayInput is an input type that accepts GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryArray and GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryArrayOutput values. +// You can construct a concrete instance of `GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryArrayInput` via: +// +// GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryArray{ GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryArgs{...} } +type GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryArrayInput interface { + pulumi.Input + + ToGetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryArrayOutput() GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryArrayOutput + ToGetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryArrayOutputWithContext(context.Context) GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryArrayOutput +} + +type GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryArray []GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryInput + +func (GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummary)(nil)).Elem() +} + +func (i GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryArray) ToGetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryArrayOutput() GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryArrayOutput { + return i.ToGetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryArrayOutputWithContext(context.Background()) +} + +func (i GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryArray) ToGetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryArrayOutputWithContext(ctx context.Context) GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryArrayOutput) +} + +func (i GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryArray) ToOutput(ctx context.Context) pulumix.Output[[]GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummary] { + return pulumix.Output[[]GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummary]{ + OutputState: i.ToGetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryArrayOutputWithContext(ctx).OutputState, + } +} + +type GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryOutput struct{ *pulumi.OutputState } + +func (GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummary)(nil)).Elem() +} + +func (o GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryOutput) ToGetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryOutput() GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryOutput { + return o +} + +func (o GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryOutput) ToGetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryOutputWithContext(ctx context.Context) GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryOutput { + return o +} + +func (o GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryOutput) ToOutput(ctx context.Context) pulumix.Output[GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummary] { + return pulumix.Output[GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummary]{ + OutputState: o.OutputState, + } +} + +// Indicates if the resource pool should be deleted for the Autonomous Database. +func (o GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryOutput) IsDisabled() pulumi.BoolOutput { + return o.ApplyT(func(v GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummary) bool { return v.IsDisabled }).(pulumi.BoolOutput) +} + +// Resource pool size. +func (o GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryOutput) PoolSize() pulumi.IntOutput { + return o.ApplyT(func(v GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummary) int { return v.PoolSize }).(pulumi.IntOutput) +} + +type GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryArrayOutput struct{ *pulumi.OutputState } + +func (GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummary)(nil)).Elem() +} + +func (o GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryArrayOutput) ToGetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryArrayOutput() GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryArrayOutput { + return o +} + +func (o GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryArrayOutput) ToGetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryArrayOutputWithContext(ctx context.Context) GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryArrayOutput { + return o +} + +func (o GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummary] { + return pulumix.Output[[]GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummary]{ + OutputState: o.OutputState, + } +} + +func (o GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryArrayOutput) Index(i pulumi.IntInput) GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummary { + return vs[0].([]GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummary)[vs[1].(int)] + }).(GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryOutput) +} + type GetAutonomousDatabasesAutonomousDatabaseScheduledOperation struct { // Day of the week. DayOfWeeks []GetAutonomousDatabasesAutonomousDatabaseScheduledOperationDayOfWeek `pulumi:"dayOfWeeks"` @@ -36445,6 +36910,10 @@ type GetAutonomousDatabasesClonesAutonomousDatabase struct { RefreshableStatus string `pulumi:"refreshableStatus"` // Configurations of a Disaster Recovery. RemoteDisasterRecoveryConfigurations []GetAutonomousDatabasesClonesAutonomousDatabaseRemoteDisasterRecoveryConfiguration `pulumi:"remoteDisasterRecoveryConfigurations"` + // The unique identifier for leader autonomous database OCID [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + ResourcePoolLeaderId string `pulumi:"resourcePoolLeaderId"` + // The configuration details for resource pool + ResourcePoolSummaries []GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummary `pulumi:"resourcePoolSummaries"` // The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled. Role string `pulumi:"role"` // The list of scheduled operations. @@ -36478,7 +36947,8 @@ type GetAutonomousDatabasesClonesAutonomousDatabase struct { // The date and time when maintenance will begin. TimeMaintenanceBegin string `pulumi:"timeMaintenanceBegin"` // The date and time when maintenance will end. - TimeMaintenanceEnd string `pulumi:"timeMaintenanceEnd"` + TimeMaintenanceEnd string `pulumi:"timeMaintenanceEnd"` + TimeOfJoiningResourcePool string `pulumi:"timeOfJoiningResourcePool"` // The timestamp of the last failover operation. TimeOfLastFailover string `pulumi:"timeOfLastFailover"` // The date and time when last refresh happened. @@ -36670,6 +37140,10 @@ type GetAutonomousDatabasesClonesAutonomousDatabaseArgs struct { RefreshableStatus pulumi.StringInput `pulumi:"refreshableStatus"` // Configurations of a Disaster Recovery. RemoteDisasterRecoveryConfigurations GetAutonomousDatabasesClonesAutonomousDatabaseRemoteDisasterRecoveryConfigurationArrayInput `pulumi:"remoteDisasterRecoveryConfigurations"` + // The unique identifier for leader autonomous database OCID [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + ResourcePoolLeaderId pulumi.StringInput `pulumi:"resourcePoolLeaderId"` + // The configuration details for resource pool + ResourcePoolSummaries GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryArrayInput `pulumi:"resourcePoolSummaries"` // The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled. Role pulumi.StringInput `pulumi:"role"` // The list of scheduled operations. @@ -36703,7 +37177,8 @@ type GetAutonomousDatabasesClonesAutonomousDatabaseArgs struct { // The date and time when maintenance will begin. TimeMaintenanceBegin pulumi.StringInput `pulumi:"timeMaintenanceBegin"` // The date and time when maintenance will end. - TimeMaintenanceEnd pulumi.StringInput `pulumi:"timeMaintenanceEnd"` + TimeMaintenanceEnd pulumi.StringInput `pulumi:"timeMaintenanceEnd"` + TimeOfJoiningResourcePool pulumi.StringInput `pulumi:"timeOfJoiningResourcePool"` // The timestamp of the last failover operation. TimeOfLastFailover pulumi.StringInput `pulumi:"timeOfLastFailover"` // The date and time when last refresh happened. @@ -37198,6 +37673,18 @@ func (o GetAutonomousDatabasesClonesAutonomousDatabaseOutput) RemoteDisasterReco }).(GetAutonomousDatabasesClonesAutonomousDatabaseRemoteDisasterRecoveryConfigurationArrayOutput) } +// The unique identifier for leader autonomous database OCID [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +func (o GetAutonomousDatabasesClonesAutonomousDatabaseOutput) ResourcePoolLeaderId() pulumi.StringOutput { + return o.ApplyT(func(v GetAutonomousDatabasesClonesAutonomousDatabase) string { return v.ResourcePoolLeaderId }).(pulumi.StringOutput) +} + +// The configuration details for resource pool +func (o GetAutonomousDatabasesClonesAutonomousDatabaseOutput) ResourcePoolSummaries() GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryArrayOutput { + return o.ApplyT(func(v GetAutonomousDatabasesClonesAutonomousDatabase) []GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummary { + return v.ResourcePoolSummaries + }).(GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryArrayOutput) +} + // The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled. func (o GetAutonomousDatabasesClonesAutonomousDatabaseOutput) Role() pulumi.StringOutput { return o.ApplyT(func(v GetAutonomousDatabasesClonesAutonomousDatabase) string { return v.Role }).(pulumi.StringOutput) @@ -37291,6 +37778,10 @@ func (o GetAutonomousDatabasesClonesAutonomousDatabaseOutput) TimeMaintenanceEnd return o.ApplyT(func(v GetAutonomousDatabasesClonesAutonomousDatabase) string { return v.TimeMaintenanceEnd }).(pulumi.StringOutput) } +func (o GetAutonomousDatabasesClonesAutonomousDatabaseOutput) TimeOfJoiningResourcePool() pulumi.StringOutput { + return o.ApplyT(func(v GetAutonomousDatabasesClonesAutonomousDatabase) string { return v.TimeOfJoiningResourcePool }).(pulumi.StringOutput) +} + // The timestamp of the last failover operation. func (o GetAutonomousDatabasesClonesAutonomousDatabaseOutput) TimeOfLastFailover() pulumi.StringOutput { return o.ApplyT(func(v GetAutonomousDatabasesClonesAutonomousDatabase) string { return v.TimeOfLastFailover }).(pulumi.StringOutput) @@ -38590,7 +39081,7 @@ func (o GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDbArrayOutput) } type GetAutonomousDatabasesClonesAutonomousDatabaseLongTermBackupSchedule struct { - // Indicates if the long-term backup schedule should be deleted. The default value is `FALSE`. + // Indicates if the resource pool should be deleted for the Autonomous Database. IsDisabled bool `pulumi:"isDisabled"` // The frequency of the long-term backup schedule RepeatCadence string `pulumi:"repeatCadence"` @@ -38612,7 +39103,7 @@ type GetAutonomousDatabasesClonesAutonomousDatabaseLongTermBackupScheduleInput i } type GetAutonomousDatabasesClonesAutonomousDatabaseLongTermBackupScheduleArgs struct { - // Indicates if the long-term backup schedule should be deleted. The default value is `FALSE`. + // Indicates if the resource pool should be deleted for the Autonomous Database. IsDisabled pulumi.BoolInput `pulumi:"isDisabled"` // The frequency of the long-term backup schedule RepeatCadence pulumi.StringInput `pulumi:"repeatCadence"` @@ -38691,7 +39182,7 @@ func (o GetAutonomousDatabasesClonesAutonomousDatabaseLongTermBackupScheduleOutp } } -// Indicates if the long-term backup schedule should be deleted. The default value is `FALSE`. +// Indicates if the resource pool should be deleted for the Autonomous Database. func (o GetAutonomousDatabasesClonesAutonomousDatabaseLongTermBackupScheduleOutput) IsDisabled() pulumi.BoolOutput { return o.ApplyT(func(v GetAutonomousDatabasesClonesAutonomousDatabaseLongTermBackupSchedule) bool { return v.IsDisabled }).(pulumi.BoolOutput) } @@ -38866,6 +39357,136 @@ func (o GetAutonomousDatabasesClonesAutonomousDatabaseRemoteDisasterRecoveryConf }).(GetAutonomousDatabasesClonesAutonomousDatabaseRemoteDisasterRecoveryConfigurationOutput) } +type GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummary struct { + // Indicates if the resource pool should be deleted for the Autonomous Database. + IsDisabled bool `pulumi:"isDisabled"` + // Resource pool size. + PoolSize int `pulumi:"poolSize"` +} + +// GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryInput is an input type that accepts GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryArgs and GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryOutput values. +// You can construct a concrete instance of `GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryInput` via: +// +// GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryArgs{...} +type GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryInput interface { + pulumi.Input + + ToGetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryOutput() GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryOutput + ToGetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryOutputWithContext(context.Context) GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryOutput +} + +type GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryArgs struct { + // Indicates if the resource pool should be deleted for the Autonomous Database. + IsDisabled pulumi.BoolInput `pulumi:"isDisabled"` + // Resource pool size. + PoolSize pulumi.IntInput `pulumi:"poolSize"` +} + +func (GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummary)(nil)).Elem() +} + +func (i GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryArgs) ToGetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryOutput() GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryOutput { + return i.ToGetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryOutputWithContext(context.Background()) +} + +func (i GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryArgs) ToGetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryOutputWithContext(ctx context.Context) GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryOutput) +} + +func (i GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryArgs) ToOutput(ctx context.Context) pulumix.Output[GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummary] { + return pulumix.Output[GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummary]{ + OutputState: i.ToGetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryOutputWithContext(ctx).OutputState, + } +} + +// GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryArrayInput is an input type that accepts GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryArray and GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryArrayOutput values. +// You can construct a concrete instance of `GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryArrayInput` via: +// +// GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryArray{ GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryArgs{...} } +type GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryArrayInput interface { + pulumi.Input + + ToGetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryArrayOutput() GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryArrayOutput + ToGetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryArrayOutputWithContext(context.Context) GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryArrayOutput +} + +type GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryArray []GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryInput + +func (GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummary)(nil)).Elem() +} + +func (i GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryArray) ToGetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryArrayOutput() GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryArrayOutput { + return i.ToGetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryArrayOutputWithContext(context.Background()) +} + +func (i GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryArray) ToGetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryArrayOutputWithContext(ctx context.Context) GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryArrayOutput) +} + +func (i GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryArray) ToOutput(ctx context.Context) pulumix.Output[[]GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummary] { + return pulumix.Output[[]GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummary]{ + OutputState: i.ToGetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryArrayOutputWithContext(ctx).OutputState, + } +} + +type GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryOutput struct{ *pulumi.OutputState } + +func (GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummary)(nil)).Elem() +} + +func (o GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryOutput) ToGetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryOutput() GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryOutput { + return o +} + +func (o GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryOutput) ToGetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryOutputWithContext(ctx context.Context) GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryOutput { + return o +} + +func (o GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryOutput) ToOutput(ctx context.Context) pulumix.Output[GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummary] { + return pulumix.Output[GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummary]{ + OutputState: o.OutputState, + } +} + +// Indicates if the resource pool should be deleted for the Autonomous Database. +func (o GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryOutput) IsDisabled() pulumi.BoolOutput { + return o.ApplyT(func(v GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummary) bool { return v.IsDisabled }).(pulumi.BoolOutput) +} + +// Resource pool size. +func (o GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryOutput) PoolSize() pulumi.IntOutput { + return o.ApplyT(func(v GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummary) int { return v.PoolSize }).(pulumi.IntOutput) +} + +type GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryArrayOutput struct{ *pulumi.OutputState } + +func (GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummary)(nil)).Elem() +} + +func (o GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryArrayOutput) ToGetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryArrayOutput() GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryArrayOutput { + return o +} + +func (o GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryArrayOutput) ToGetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryArrayOutputWithContext(ctx context.Context) GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryArrayOutput { + return o +} + +func (o GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummary] { + return pulumix.Output[[]GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummary]{ + OutputState: o.OutputState, + } +} + +func (o GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryArrayOutput) Index(i pulumi.IntInput) GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummary { + return vs[0].([]GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummary)[vs[1].(int)] + }).(GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryOutput) +} + type GetAutonomousDatabasesClonesAutonomousDatabaseScheduledOperation struct { // Day of the week. DayOfWeeks []GetAutonomousDatabasesClonesAutonomousDatabaseScheduledOperationDayOfWeek `pulumi:"dayOfWeeks"` @@ -86231,650 +86852,6 @@ func (o GetVmClusterUpdatesVmClusterUpdateArrayOutput) Index(i pulumi.IntInput) }).(GetVmClusterUpdatesVmClusterUpdateOutput) } -type GetVmClustersFilter struct { - Name string `pulumi:"name"` - Regex *bool `pulumi:"regex"` - Values []string `pulumi:"values"` -} - -// GetVmClustersFilterInput is an input type that accepts GetVmClustersFilterArgs and GetVmClustersFilterOutput values. -// You can construct a concrete instance of `GetVmClustersFilterInput` via: -// -// GetVmClustersFilterArgs{...} -type GetVmClustersFilterInput interface { - pulumi.Input - - ToGetVmClustersFilterOutput() GetVmClustersFilterOutput - ToGetVmClustersFilterOutputWithContext(context.Context) GetVmClustersFilterOutput -} - -type GetVmClustersFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Regex pulumi.BoolPtrInput `pulumi:"regex"` - Values pulumi.StringArrayInput `pulumi:"values"` -} - -func (GetVmClustersFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmClustersFilter)(nil)).Elem() -} - -func (i GetVmClustersFilterArgs) ToGetVmClustersFilterOutput() GetVmClustersFilterOutput { - return i.ToGetVmClustersFilterOutputWithContext(context.Background()) -} - -func (i GetVmClustersFilterArgs) ToGetVmClustersFilterOutputWithContext(ctx context.Context) GetVmClustersFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmClustersFilterOutput) -} - -func (i GetVmClustersFilterArgs) ToOutput(ctx context.Context) pulumix.Output[GetVmClustersFilter] { - return pulumix.Output[GetVmClustersFilter]{ - OutputState: i.ToGetVmClustersFilterOutputWithContext(ctx).OutputState, - } -} - -// GetVmClustersFilterArrayInput is an input type that accepts GetVmClustersFilterArray and GetVmClustersFilterArrayOutput values. -// You can construct a concrete instance of `GetVmClustersFilterArrayInput` via: -// -// GetVmClustersFilterArray{ GetVmClustersFilterArgs{...} } -type GetVmClustersFilterArrayInput interface { - pulumi.Input - - ToGetVmClustersFilterArrayOutput() GetVmClustersFilterArrayOutput - ToGetVmClustersFilterArrayOutputWithContext(context.Context) GetVmClustersFilterArrayOutput -} - -type GetVmClustersFilterArray []GetVmClustersFilterInput - -func (GetVmClustersFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmClustersFilter)(nil)).Elem() -} - -func (i GetVmClustersFilterArray) ToGetVmClustersFilterArrayOutput() GetVmClustersFilterArrayOutput { - return i.ToGetVmClustersFilterArrayOutputWithContext(context.Background()) -} - -func (i GetVmClustersFilterArray) ToGetVmClustersFilterArrayOutputWithContext(ctx context.Context) GetVmClustersFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmClustersFilterArrayOutput) -} - -func (i GetVmClustersFilterArray) ToOutput(ctx context.Context) pulumix.Output[[]GetVmClustersFilter] { - return pulumix.Output[[]GetVmClustersFilter]{ - OutputState: i.ToGetVmClustersFilterArrayOutputWithContext(ctx).OutputState, - } -} - -type GetVmClustersFilterOutput struct{ *pulumi.OutputState } - -func (GetVmClustersFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmClustersFilter)(nil)).Elem() -} - -func (o GetVmClustersFilterOutput) ToGetVmClustersFilterOutput() GetVmClustersFilterOutput { - return o -} - -func (o GetVmClustersFilterOutput) ToGetVmClustersFilterOutputWithContext(ctx context.Context) GetVmClustersFilterOutput { - return o -} - -func (o GetVmClustersFilterOutput) ToOutput(ctx context.Context) pulumix.Output[GetVmClustersFilter] { - return pulumix.Output[GetVmClustersFilter]{ - OutputState: o.OutputState, - } -} - -func (o GetVmClustersFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetVmClustersFilter) string { return v.Name }).(pulumi.StringOutput) -} - -func (o GetVmClustersFilterOutput) Regex() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetVmClustersFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) -} - -func (o GetVmClustersFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetVmClustersFilter) []string { return v.Values }).(pulumi.StringArrayOutput) -} - -type GetVmClustersFilterArrayOutput struct{ *pulumi.OutputState } - -func (GetVmClustersFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmClustersFilter)(nil)).Elem() -} - -func (o GetVmClustersFilterArrayOutput) ToGetVmClustersFilterArrayOutput() GetVmClustersFilterArrayOutput { - return o -} - -func (o GetVmClustersFilterArrayOutput) ToGetVmClustersFilterArrayOutputWithContext(ctx context.Context) GetVmClustersFilterArrayOutput { - return o -} - -func (o GetVmClustersFilterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetVmClustersFilter] { - return pulumix.Output[[]GetVmClustersFilter]{ - OutputState: o.OutputState, - } -} - -func (o GetVmClustersFilterArrayOutput) Index(i pulumi.IntInput) GetVmClustersFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVmClustersFilter { - return vs[0].([]GetVmClustersFilter)[vs[1].(int)] - }).(GetVmClustersFilterOutput) -} - -type GetVmClustersVmCluster struct { - // The name of the availability domain that the VM cluster is located in. - AvailabilityDomain string `pulumi:"availabilityDomain"` - // The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - CompartmentId string `pulumi:"compartmentId"` - CpuCoreCount int `pulumi:"cpuCoreCount"` - // The number of enabled CPU cores. - CpusEnabled int `pulumi:"cpusEnabled"` - // Indicates user preferences for the various diagnostic collection options for the VM cluster/Cloud VM cluster/VMBM DBCS. - DataCollectionOptions []GetVmClustersVmClusterDataCollectionOption `pulumi:"dataCollectionOptions"` - // Size of the DATA disk group in GBs. - DataStorageSizeInGb float64 `pulumi:"dataStorageSizeInGb"` - // Size, in terabytes, of the DATA disk group. - DataStorageSizeInTbs float64 `pulumi:"dataStorageSizeInTbs"` - // The local node storage allocated in GBs. - DbNodeStorageSizeInGbs int `pulumi:"dbNodeStorageSizeInGbs"` - // The list of Db server. - DbServers []string `pulumi:"dbServers"` - // Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). - DefinedTags map[string]interface{} `pulumi:"definedTags"` - // A filter to return only resources that match the entire display name given. The match is not case sensitive. - DisplayName string `pulumi:"displayName"` - // If provided, filters the results for the given Exadata Infrastructure. - ExadataInfrastructureId string `pulumi:"exadataInfrastructureId"` - // 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` - FreeformTags map[string]interface{} `pulumi:"freeformTags"` - // The Oracle Grid Infrastructure software version for the VM cluster. - GiVersion string `pulumi:"giVersion"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM cluster. - Id string `pulumi:"id"` - // If true, database backup on local Exadata storage is configured for the VM cluster. If false, database backup on local Exadata storage is not available in the VM cluster. - IsLocalBackupEnabled bool `pulumi:"isLocalBackupEnabled"` - // If true, sparse disk group is configured for the VM cluster. If false, sparse disk group is not created. - IsSparseDiskgroupEnabled bool `pulumi:"isSparseDiskgroupEnabled"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the last patch history. This value is updated as soon as a patch operation starts. - LastPatchHistoryEntryId string `pulumi:"lastPatchHistoryEntryId"` - // The Oracle license model that applies to the VM cluster. The default is LICENSE_INCLUDED. - LicenseModel string `pulumi:"licenseModel"` - // Additional information about the current lifecycle state. - LifecycleDetails string `pulumi:"lifecycleDetails"` - // The memory allocated in GBs. - MemorySizeInGbs int `pulumi:"memorySizeInGbs"` - OcpuCount float64 `pulumi:"ocpuCount"` - OcpusEnabled float64 `pulumi:"ocpusEnabled"` - // The shape of the Exadata infrastructure. The shape determines the amount of CPU, storage, and memory resources allocated to the instance. - Shape string `pulumi:"shape"` - // The public key portion of one or more key pairs used for SSH access to the VM cluster. - SshPublicKeys []string `pulumi:"sshPublicKeys"` - // A filter to return only resources that match the given lifecycle state exactly. - State string `pulumi:"state"` - // Operating system version of the image. - SystemVersion string `pulumi:"systemVersion"` - // The date and time that the VM cluster was created. - TimeCreated string `pulumi:"timeCreated"` - // The time zone of the Exadata infrastructure. For details, see [Exadata Infrastructure Time Zones](https://docs.cloud.oracle.com/iaas/Content/Database/References/timezones.htm). - TimeZone string `pulumi:"timeZone"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM cluster network. - VmClusterNetworkId string `pulumi:"vmClusterNetworkId"` -} - -// GetVmClustersVmClusterInput is an input type that accepts GetVmClustersVmClusterArgs and GetVmClustersVmClusterOutput values. -// You can construct a concrete instance of `GetVmClustersVmClusterInput` via: -// -// GetVmClustersVmClusterArgs{...} -type GetVmClustersVmClusterInput interface { - pulumi.Input - - ToGetVmClustersVmClusterOutput() GetVmClustersVmClusterOutput - ToGetVmClustersVmClusterOutputWithContext(context.Context) GetVmClustersVmClusterOutput -} - -type GetVmClustersVmClusterArgs struct { - // The name of the availability domain that the VM cluster is located in. - AvailabilityDomain pulumi.StringInput `pulumi:"availabilityDomain"` - // The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). - CompartmentId pulumi.StringInput `pulumi:"compartmentId"` - CpuCoreCount pulumi.IntInput `pulumi:"cpuCoreCount"` - // The number of enabled CPU cores. - CpusEnabled pulumi.IntInput `pulumi:"cpusEnabled"` - // Indicates user preferences for the various diagnostic collection options for the VM cluster/Cloud VM cluster/VMBM DBCS. - DataCollectionOptions GetVmClustersVmClusterDataCollectionOptionArrayInput `pulumi:"dataCollectionOptions"` - // Size of the DATA disk group in GBs. - DataStorageSizeInGb pulumi.Float64Input `pulumi:"dataStorageSizeInGb"` - // Size, in terabytes, of the DATA disk group. - DataStorageSizeInTbs pulumi.Float64Input `pulumi:"dataStorageSizeInTbs"` - // The local node storage allocated in GBs. - DbNodeStorageSizeInGbs pulumi.IntInput `pulumi:"dbNodeStorageSizeInGbs"` - // The list of Db server. - DbServers pulumi.StringArrayInput `pulumi:"dbServers"` - // Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). - DefinedTags pulumi.MapInput `pulumi:"definedTags"` - // A filter to return only resources that match the entire display name given. The match is not case sensitive. - DisplayName pulumi.StringInput `pulumi:"displayName"` - // If provided, filters the results for the given Exadata Infrastructure. - ExadataInfrastructureId pulumi.StringInput `pulumi:"exadataInfrastructureId"` - // 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` - FreeformTags pulumi.MapInput `pulumi:"freeformTags"` - // The Oracle Grid Infrastructure software version for the VM cluster. - GiVersion pulumi.StringInput `pulumi:"giVersion"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM cluster. - Id pulumi.StringInput `pulumi:"id"` - // If true, database backup on local Exadata storage is configured for the VM cluster. If false, database backup on local Exadata storage is not available in the VM cluster. - IsLocalBackupEnabled pulumi.BoolInput `pulumi:"isLocalBackupEnabled"` - // If true, sparse disk group is configured for the VM cluster. If false, sparse disk group is not created. - IsSparseDiskgroupEnabled pulumi.BoolInput `pulumi:"isSparseDiskgroupEnabled"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the last patch history. This value is updated as soon as a patch operation starts. - LastPatchHistoryEntryId pulumi.StringInput `pulumi:"lastPatchHistoryEntryId"` - // The Oracle license model that applies to the VM cluster. The default is LICENSE_INCLUDED. - LicenseModel pulumi.StringInput `pulumi:"licenseModel"` - // Additional information about the current lifecycle state. - LifecycleDetails pulumi.StringInput `pulumi:"lifecycleDetails"` - // The memory allocated in GBs. - MemorySizeInGbs pulumi.IntInput `pulumi:"memorySizeInGbs"` - OcpuCount pulumi.Float64Input `pulumi:"ocpuCount"` - OcpusEnabled pulumi.Float64Input `pulumi:"ocpusEnabled"` - // The shape of the Exadata infrastructure. The shape determines the amount of CPU, storage, and memory resources allocated to the instance. - Shape pulumi.StringInput `pulumi:"shape"` - // The public key portion of one or more key pairs used for SSH access to the VM cluster. - SshPublicKeys pulumi.StringArrayInput `pulumi:"sshPublicKeys"` - // A filter to return only resources that match the given lifecycle state exactly. - State pulumi.StringInput `pulumi:"state"` - // Operating system version of the image. - SystemVersion pulumi.StringInput `pulumi:"systemVersion"` - // The date and time that the VM cluster was created. - TimeCreated pulumi.StringInput `pulumi:"timeCreated"` - // The time zone of the Exadata infrastructure. For details, see [Exadata Infrastructure Time Zones](https://docs.cloud.oracle.com/iaas/Content/Database/References/timezones.htm). - TimeZone pulumi.StringInput `pulumi:"timeZone"` - // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM cluster network. - VmClusterNetworkId pulumi.StringInput `pulumi:"vmClusterNetworkId"` -} - -func (GetVmClustersVmClusterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmClustersVmCluster)(nil)).Elem() -} - -func (i GetVmClustersVmClusterArgs) ToGetVmClustersVmClusterOutput() GetVmClustersVmClusterOutput { - return i.ToGetVmClustersVmClusterOutputWithContext(context.Background()) -} - -func (i GetVmClustersVmClusterArgs) ToGetVmClustersVmClusterOutputWithContext(ctx context.Context) GetVmClustersVmClusterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmClustersVmClusterOutput) -} - -func (i GetVmClustersVmClusterArgs) ToOutput(ctx context.Context) pulumix.Output[GetVmClustersVmCluster] { - return pulumix.Output[GetVmClustersVmCluster]{ - OutputState: i.ToGetVmClustersVmClusterOutputWithContext(ctx).OutputState, - } -} - -// GetVmClustersVmClusterArrayInput is an input type that accepts GetVmClustersVmClusterArray and GetVmClustersVmClusterArrayOutput values. -// You can construct a concrete instance of `GetVmClustersVmClusterArrayInput` via: -// -// GetVmClustersVmClusterArray{ GetVmClustersVmClusterArgs{...} } -type GetVmClustersVmClusterArrayInput interface { - pulumi.Input - - ToGetVmClustersVmClusterArrayOutput() GetVmClustersVmClusterArrayOutput - ToGetVmClustersVmClusterArrayOutputWithContext(context.Context) GetVmClustersVmClusterArrayOutput -} - -type GetVmClustersVmClusterArray []GetVmClustersVmClusterInput - -func (GetVmClustersVmClusterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmClustersVmCluster)(nil)).Elem() -} - -func (i GetVmClustersVmClusterArray) ToGetVmClustersVmClusterArrayOutput() GetVmClustersVmClusterArrayOutput { - return i.ToGetVmClustersVmClusterArrayOutputWithContext(context.Background()) -} - -func (i GetVmClustersVmClusterArray) ToGetVmClustersVmClusterArrayOutputWithContext(ctx context.Context) GetVmClustersVmClusterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmClustersVmClusterArrayOutput) -} - -func (i GetVmClustersVmClusterArray) ToOutput(ctx context.Context) pulumix.Output[[]GetVmClustersVmCluster] { - return pulumix.Output[[]GetVmClustersVmCluster]{ - OutputState: i.ToGetVmClustersVmClusterArrayOutputWithContext(ctx).OutputState, - } -} - -type GetVmClustersVmClusterOutput struct{ *pulumi.OutputState } - -func (GetVmClustersVmClusterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmClustersVmCluster)(nil)).Elem() -} - -func (o GetVmClustersVmClusterOutput) ToGetVmClustersVmClusterOutput() GetVmClustersVmClusterOutput { - return o -} - -func (o GetVmClustersVmClusterOutput) ToGetVmClustersVmClusterOutputWithContext(ctx context.Context) GetVmClustersVmClusterOutput { - return o -} - -func (o GetVmClustersVmClusterOutput) ToOutput(ctx context.Context) pulumix.Output[GetVmClustersVmCluster] { - return pulumix.Output[GetVmClustersVmCluster]{ - OutputState: o.OutputState, - } -} - -// The name of the availability domain that the VM cluster is located in. -func (o GetVmClustersVmClusterOutput) AvailabilityDomain() pulumi.StringOutput { - return o.ApplyT(func(v GetVmClustersVmCluster) string { return v.AvailabilityDomain }).(pulumi.StringOutput) -} - -// The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). -func (o GetVmClustersVmClusterOutput) CompartmentId() pulumi.StringOutput { - return o.ApplyT(func(v GetVmClustersVmCluster) string { return v.CompartmentId }).(pulumi.StringOutput) -} - -func (o GetVmClustersVmClusterOutput) CpuCoreCount() pulumi.IntOutput { - return o.ApplyT(func(v GetVmClustersVmCluster) int { return v.CpuCoreCount }).(pulumi.IntOutput) -} - -// The number of enabled CPU cores. -func (o GetVmClustersVmClusterOutput) CpusEnabled() pulumi.IntOutput { - return o.ApplyT(func(v GetVmClustersVmCluster) int { return v.CpusEnabled }).(pulumi.IntOutput) -} - -// Indicates user preferences for the various diagnostic collection options for the VM cluster/Cloud VM cluster/VMBM DBCS. -func (o GetVmClustersVmClusterOutput) DataCollectionOptions() GetVmClustersVmClusterDataCollectionOptionArrayOutput { - return o.ApplyT(func(v GetVmClustersVmCluster) []GetVmClustersVmClusterDataCollectionOption { - return v.DataCollectionOptions - }).(GetVmClustersVmClusterDataCollectionOptionArrayOutput) -} - -// Size of the DATA disk group in GBs. -func (o GetVmClustersVmClusterOutput) DataStorageSizeInGb() pulumi.Float64Output { - return o.ApplyT(func(v GetVmClustersVmCluster) float64 { return v.DataStorageSizeInGb }).(pulumi.Float64Output) -} - -// Size, in terabytes, of the DATA disk group. -func (o GetVmClustersVmClusterOutput) DataStorageSizeInTbs() pulumi.Float64Output { - return o.ApplyT(func(v GetVmClustersVmCluster) float64 { return v.DataStorageSizeInTbs }).(pulumi.Float64Output) -} - -// The local node storage allocated in GBs. -func (o GetVmClustersVmClusterOutput) DbNodeStorageSizeInGbs() pulumi.IntOutput { - return o.ApplyT(func(v GetVmClustersVmCluster) int { return v.DbNodeStorageSizeInGbs }).(pulumi.IntOutput) -} - -// The list of Db server. -func (o GetVmClustersVmClusterOutput) DbServers() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetVmClustersVmCluster) []string { return v.DbServers }).(pulumi.StringArrayOutput) -} - -// Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). -func (o GetVmClustersVmClusterOutput) DefinedTags() pulumi.MapOutput { - return o.ApplyT(func(v GetVmClustersVmCluster) map[string]interface{} { return v.DefinedTags }).(pulumi.MapOutput) -} - -// A filter to return only resources that match the entire display name given. The match is not case sensitive. -func (o GetVmClustersVmClusterOutput) DisplayName() pulumi.StringOutput { - return o.ApplyT(func(v GetVmClustersVmCluster) string { return v.DisplayName }).(pulumi.StringOutput) -} - -// If provided, filters the results for the given Exadata Infrastructure. -func (o GetVmClustersVmClusterOutput) ExadataInfrastructureId() pulumi.StringOutput { - return o.ApplyT(func(v GetVmClustersVmCluster) string { return v.ExadataInfrastructureId }).(pulumi.StringOutput) -} - -// 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` -func (o GetVmClustersVmClusterOutput) FreeformTags() pulumi.MapOutput { - return o.ApplyT(func(v GetVmClustersVmCluster) map[string]interface{} { return v.FreeformTags }).(pulumi.MapOutput) -} - -// The Oracle Grid Infrastructure software version for the VM cluster. -func (o GetVmClustersVmClusterOutput) GiVersion() pulumi.StringOutput { - return o.ApplyT(func(v GetVmClustersVmCluster) string { return v.GiVersion }).(pulumi.StringOutput) -} - -// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM cluster. -func (o GetVmClustersVmClusterOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetVmClustersVmCluster) string { return v.Id }).(pulumi.StringOutput) -} - -// If true, database backup on local Exadata storage is configured for the VM cluster. If false, database backup on local Exadata storage is not available in the VM cluster. -func (o GetVmClustersVmClusterOutput) IsLocalBackupEnabled() pulumi.BoolOutput { - return o.ApplyT(func(v GetVmClustersVmCluster) bool { return v.IsLocalBackupEnabled }).(pulumi.BoolOutput) -} - -// If true, sparse disk group is configured for the VM cluster. If false, sparse disk group is not created. -func (o GetVmClustersVmClusterOutput) IsSparseDiskgroupEnabled() pulumi.BoolOutput { - return o.ApplyT(func(v GetVmClustersVmCluster) bool { return v.IsSparseDiskgroupEnabled }).(pulumi.BoolOutput) -} - -// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the last patch history. This value is updated as soon as a patch operation starts. -func (o GetVmClustersVmClusterOutput) LastPatchHistoryEntryId() pulumi.StringOutput { - return o.ApplyT(func(v GetVmClustersVmCluster) string { return v.LastPatchHistoryEntryId }).(pulumi.StringOutput) -} - -// The Oracle license model that applies to the VM cluster. The default is LICENSE_INCLUDED. -func (o GetVmClustersVmClusterOutput) LicenseModel() pulumi.StringOutput { - return o.ApplyT(func(v GetVmClustersVmCluster) string { return v.LicenseModel }).(pulumi.StringOutput) -} - -// Additional information about the current lifecycle state. -func (o GetVmClustersVmClusterOutput) LifecycleDetails() pulumi.StringOutput { - return o.ApplyT(func(v GetVmClustersVmCluster) string { return v.LifecycleDetails }).(pulumi.StringOutput) -} - -// The memory allocated in GBs. -func (o GetVmClustersVmClusterOutput) MemorySizeInGbs() pulumi.IntOutput { - return o.ApplyT(func(v GetVmClustersVmCluster) int { return v.MemorySizeInGbs }).(pulumi.IntOutput) -} - -func (o GetVmClustersVmClusterOutput) OcpuCount() pulumi.Float64Output { - return o.ApplyT(func(v GetVmClustersVmCluster) float64 { return v.OcpuCount }).(pulumi.Float64Output) -} - -func (o GetVmClustersVmClusterOutput) OcpusEnabled() pulumi.Float64Output { - return o.ApplyT(func(v GetVmClustersVmCluster) float64 { return v.OcpusEnabled }).(pulumi.Float64Output) -} - -// The shape of the Exadata infrastructure. The shape determines the amount of CPU, storage, and memory resources allocated to the instance. -func (o GetVmClustersVmClusterOutput) Shape() pulumi.StringOutput { - return o.ApplyT(func(v GetVmClustersVmCluster) string { return v.Shape }).(pulumi.StringOutput) -} - -// The public key portion of one or more key pairs used for SSH access to the VM cluster. -func (o GetVmClustersVmClusterOutput) SshPublicKeys() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetVmClustersVmCluster) []string { return v.SshPublicKeys }).(pulumi.StringArrayOutput) -} - -// A filter to return only resources that match the given lifecycle state exactly. -func (o GetVmClustersVmClusterOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetVmClustersVmCluster) string { return v.State }).(pulumi.StringOutput) -} - -// Operating system version of the image. -func (o GetVmClustersVmClusterOutput) SystemVersion() pulumi.StringOutput { - return o.ApplyT(func(v GetVmClustersVmCluster) string { return v.SystemVersion }).(pulumi.StringOutput) -} - -// The date and time that the VM cluster was created. -func (o GetVmClustersVmClusterOutput) TimeCreated() pulumi.StringOutput { - return o.ApplyT(func(v GetVmClustersVmCluster) string { return v.TimeCreated }).(pulumi.StringOutput) -} - -// The time zone of the Exadata infrastructure. For details, see [Exadata Infrastructure Time Zones](https://docs.cloud.oracle.com/iaas/Content/Database/References/timezones.htm). -func (o GetVmClustersVmClusterOutput) TimeZone() pulumi.StringOutput { - return o.ApplyT(func(v GetVmClustersVmCluster) string { return v.TimeZone }).(pulumi.StringOutput) -} - -// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM cluster network. -func (o GetVmClustersVmClusterOutput) VmClusterNetworkId() pulumi.StringOutput { - return o.ApplyT(func(v GetVmClustersVmCluster) string { return v.VmClusterNetworkId }).(pulumi.StringOutput) -} - -type GetVmClustersVmClusterArrayOutput struct{ *pulumi.OutputState } - -func (GetVmClustersVmClusterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmClustersVmCluster)(nil)).Elem() -} - -func (o GetVmClustersVmClusterArrayOutput) ToGetVmClustersVmClusterArrayOutput() GetVmClustersVmClusterArrayOutput { - return o -} - -func (o GetVmClustersVmClusterArrayOutput) ToGetVmClustersVmClusterArrayOutputWithContext(ctx context.Context) GetVmClustersVmClusterArrayOutput { - return o -} - -func (o GetVmClustersVmClusterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetVmClustersVmCluster] { - return pulumix.Output[[]GetVmClustersVmCluster]{ - OutputState: o.OutputState, - } -} - -func (o GetVmClustersVmClusterArrayOutput) Index(i pulumi.IntInput) GetVmClustersVmClusterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVmClustersVmCluster { - return vs[0].([]GetVmClustersVmCluster)[vs[1].(int)] - }).(GetVmClustersVmClusterOutput) -} - -type GetVmClustersVmClusterDataCollectionOption struct { - // Indicates whether diagnostic collection is enabled for the VM cluster/Cloud VM cluster/VMBM DBCS. Enabling diagnostic collection allows you to receive Events service notifications for guest VM issues. Diagnostic collection also allows Oracle to provide enhanced service and proactive support for your Exadata system. You can enable diagnostic collection during VM cluster/Cloud VM cluster provisioning. You can also disable or enable it at any time using the `UpdateVmCluster` or `updateCloudVmCluster` API. - IsDiagnosticsEventsEnabled bool `pulumi:"isDiagnosticsEventsEnabled"` - // Indicates whether health monitoring is enabled for the VM cluster / Cloud VM cluster / VMBM DBCS. Enabling health monitoring allows Oracle to collect diagnostic data and share it with its operations and support personnel. You may also receive notifications for some events. Collecting health diagnostics enables Oracle to provide proactive support and enhanced service for your system. Optionally enable health monitoring while provisioning a system. You can also disable or enable health monitoring anytime using the `UpdateVmCluster`, `UpdateCloudVmCluster` or `updateDbsystem` API. - IsHealthMonitoringEnabled bool `pulumi:"isHealthMonitoringEnabled"` - // Indicates whether incident logs and trace collection are enabled for the VM cluster / Cloud VM cluster / VMBM DBCS. Enabling incident logs collection allows Oracle to receive Events service notifications for guest VM issues, collect incident logs and traces, and use them to diagnose issues and resolve them. Optionally enable incident logs collection while provisioning a system. You can also disable or enable incident logs collection anytime using the `UpdateVmCluster`, `updateCloudVmCluster` or `updateDbsystem` API. - IsIncidentLogsEnabled bool `pulumi:"isIncidentLogsEnabled"` -} - -// GetVmClustersVmClusterDataCollectionOptionInput is an input type that accepts GetVmClustersVmClusterDataCollectionOptionArgs and GetVmClustersVmClusterDataCollectionOptionOutput values. -// You can construct a concrete instance of `GetVmClustersVmClusterDataCollectionOptionInput` via: -// -// GetVmClustersVmClusterDataCollectionOptionArgs{...} -type GetVmClustersVmClusterDataCollectionOptionInput interface { - pulumi.Input - - ToGetVmClustersVmClusterDataCollectionOptionOutput() GetVmClustersVmClusterDataCollectionOptionOutput - ToGetVmClustersVmClusterDataCollectionOptionOutputWithContext(context.Context) GetVmClustersVmClusterDataCollectionOptionOutput -} - -type GetVmClustersVmClusterDataCollectionOptionArgs struct { - // Indicates whether diagnostic collection is enabled for the VM cluster/Cloud VM cluster/VMBM DBCS. Enabling diagnostic collection allows you to receive Events service notifications for guest VM issues. Diagnostic collection also allows Oracle to provide enhanced service and proactive support for your Exadata system. You can enable diagnostic collection during VM cluster/Cloud VM cluster provisioning. You can also disable or enable it at any time using the `UpdateVmCluster` or `updateCloudVmCluster` API. - IsDiagnosticsEventsEnabled pulumi.BoolInput `pulumi:"isDiagnosticsEventsEnabled"` - // Indicates whether health monitoring is enabled for the VM cluster / Cloud VM cluster / VMBM DBCS. Enabling health monitoring allows Oracle to collect diagnostic data and share it with its operations and support personnel. You may also receive notifications for some events. Collecting health diagnostics enables Oracle to provide proactive support and enhanced service for your system. Optionally enable health monitoring while provisioning a system. You can also disable or enable health monitoring anytime using the `UpdateVmCluster`, `UpdateCloudVmCluster` or `updateDbsystem` API. - IsHealthMonitoringEnabled pulumi.BoolInput `pulumi:"isHealthMonitoringEnabled"` - // Indicates whether incident logs and trace collection are enabled for the VM cluster / Cloud VM cluster / VMBM DBCS. Enabling incident logs collection allows Oracle to receive Events service notifications for guest VM issues, collect incident logs and traces, and use them to diagnose issues and resolve them. Optionally enable incident logs collection while provisioning a system. You can also disable or enable incident logs collection anytime using the `UpdateVmCluster`, `updateCloudVmCluster` or `updateDbsystem` API. - IsIncidentLogsEnabled pulumi.BoolInput `pulumi:"isIncidentLogsEnabled"` -} - -func (GetVmClustersVmClusterDataCollectionOptionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmClustersVmClusterDataCollectionOption)(nil)).Elem() -} - -func (i GetVmClustersVmClusterDataCollectionOptionArgs) ToGetVmClustersVmClusterDataCollectionOptionOutput() GetVmClustersVmClusterDataCollectionOptionOutput { - return i.ToGetVmClustersVmClusterDataCollectionOptionOutputWithContext(context.Background()) -} - -func (i GetVmClustersVmClusterDataCollectionOptionArgs) ToGetVmClustersVmClusterDataCollectionOptionOutputWithContext(ctx context.Context) GetVmClustersVmClusterDataCollectionOptionOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmClustersVmClusterDataCollectionOptionOutput) -} - -func (i GetVmClustersVmClusterDataCollectionOptionArgs) ToOutput(ctx context.Context) pulumix.Output[GetVmClustersVmClusterDataCollectionOption] { - return pulumix.Output[GetVmClustersVmClusterDataCollectionOption]{ - OutputState: i.ToGetVmClustersVmClusterDataCollectionOptionOutputWithContext(ctx).OutputState, - } -} - -// GetVmClustersVmClusterDataCollectionOptionArrayInput is an input type that accepts GetVmClustersVmClusterDataCollectionOptionArray and GetVmClustersVmClusterDataCollectionOptionArrayOutput values. -// You can construct a concrete instance of `GetVmClustersVmClusterDataCollectionOptionArrayInput` via: -// -// GetVmClustersVmClusterDataCollectionOptionArray{ GetVmClustersVmClusterDataCollectionOptionArgs{...} } -type GetVmClustersVmClusterDataCollectionOptionArrayInput interface { - pulumi.Input - - ToGetVmClustersVmClusterDataCollectionOptionArrayOutput() GetVmClustersVmClusterDataCollectionOptionArrayOutput - ToGetVmClustersVmClusterDataCollectionOptionArrayOutputWithContext(context.Context) GetVmClustersVmClusterDataCollectionOptionArrayOutput -} - -type GetVmClustersVmClusterDataCollectionOptionArray []GetVmClustersVmClusterDataCollectionOptionInput - -func (GetVmClustersVmClusterDataCollectionOptionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmClustersVmClusterDataCollectionOption)(nil)).Elem() -} - -func (i GetVmClustersVmClusterDataCollectionOptionArray) ToGetVmClustersVmClusterDataCollectionOptionArrayOutput() GetVmClustersVmClusterDataCollectionOptionArrayOutput { - return i.ToGetVmClustersVmClusterDataCollectionOptionArrayOutputWithContext(context.Background()) -} - -func (i GetVmClustersVmClusterDataCollectionOptionArray) ToGetVmClustersVmClusterDataCollectionOptionArrayOutputWithContext(ctx context.Context) GetVmClustersVmClusterDataCollectionOptionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVmClustersVmClusterDataCollectionOptionArrayOutput) -} - -func (i GetVmClustersVmClusterDataCollectionOptionArray) ToOutput(ctx context.Context) pulumix.Output[[]GetVmClustersVmClusterDataCollectionOption] { - return pulumix.Output[[]GetVmClustersVmClusterDataCollectionOption]{ - OutputState: i.ToGetVmClustersVmClusterDataCollectionOptionArrayOutputWithContext(ctx).OutputState, - } -} - -type GetVmClustersVmClusterDataCollectionOptionOutput struct{ *pulumi.OutputState } - -func (GetVmClustersVmClusterDataCollectionOptionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVmClustersVmClusterDataCollectionOption)(nil)).Elem() -} - -func (o GetVmClustersVmClusterDataCollectionOptionOutput) ToGetVmClustersVmClusterDataCollectionOptionOutput() GetVmClustersVmClusterDataCollectionOptionOutput { - return o -} - -func (o GetVmClustersVmClusterDataCollectionOptionOutput) ToGetVmClustersVmClusterDataCollectionOptionOutputWithContext(ctx context.Context) GetVmClustersVmClusterDataCollectionOptionOutput { - return o -} - -func (o GetVmClustersVmClusterDataCollectionOptionOutput) ToOutput(ctx context.Context) pulumix.Output[GetVmClustersVmClusterDataCollectionOption] { - return pulumix.Output[GetVmClustersVmClusterDataCollectionOption]{ - OutputState: o.OutputState, - } -} - -// Indicates whether diagnostic collection is enabled for the VM cluster/Cloud VM cluster/VMBM DBCS. Enabling diagnostic collection allows you to receive Events service notifications for guest VM issues. Diagnostic collection also allows Oracle to provide enhanced service and proactive support for your Exadata system. You can enable diagnostic collection during VM cluster/Cloud VM cluster provisioning. You can also disable or enable it at any time using the `UpdateVmCluster` or `updateCloudVmCluster` API. -func (o GetVmClustersVmClusterDataCollectionOptionOutput) IsDiagnosticsEventsEnabled() pulumi.BoolOutput { - return o.ApplyT(func(v GetVmClustersVmClusterDataCollectionOption) bool { return v.IsDiagnosticsEventsEnabled }).(pulumi.BoolOutput) -} - -// Indicates whether health monitoring is enabled for the VM cluster / Cloud VM cluster / VMBM DBCS. Enabling health monitoring allows Oracle to collect diagnostic data and share it with its operations and support personnel. You may also receive notifications for some events. Collecting health diagnostics enables Oracle to provide proactive support and enhanced service for your system. Optionally enable health monitoring while provisioning a system. You can also disable or enable health monitoring anytime using the `UpdateVmCluster`, `UpdateCloudVmCluster` or `updateDbsystem` API. -func (o GetVmClustersVmClusterDataCollectionOptionOutput) IsHealthMonitoringEnabled() pulumi.BoolOutput { - return o.ApplyT(func(v GetVmClustersVmClusterDataCollectionOption) bool { return v.IsHealthMonitoringEnabled }).(pulumi.BoolOutput) -} - -// Indicates whether incident logs and trace collection are enabled for the VM cluster / Cloud VM cluster / VMBM DBCS. Enabling incident logs collection allows Oracle to receive Events service notifications for guest VM issues, collect incident logs and traces, and use them to diagnose issues and resolve them. Optionally enable incident logs collection while provisioning a system. You can also disable or enable incident logs collection anytime using the `UpdateVmCluster`, `updateCloudVmCluster` or `updateDbsystem` API. -func (o GetVmClustersVmClusterDataCollectionOptionOutput) IsIncidentLogsEnabled() pulumi.BoolOutput { - return o.ApplyT(func(v GetVmClustersVmClusterDataCollectionOption) bool { return v.IsIncidentLogsEnabled }).(pulumi.BoolOutput) -} - -type GetVmClustersVmClusterDataCollectionOptionArrayOutput struct{ *pulumi.OutputState } - -func (GetVmClustersVmClusterDataCollectionOptionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVmClustersVmClusterDataCollectionOption)(nil)).Elem() -} - -func (o GetVmClustersVmClusterDataCollectionOptionArrayOutput) ToGetVmClustersVmClusterDataCollectionOptionArrayOutput() GetVmClustersVmClusterDataCollectionOptionArrayOutput { - return o -} - -func (o GetVmClustersVmClusterDataCollectionOptionArrayOutput) ToGetVmClustersVmClusterDataCollectionOptionArrayOutputWithContext(ctx context.Context) GetVmClustersVmClusterDataCollectionOptionArrayOutput { - return o -} - -func (o GetVmClustersVmClusterDataCollectionOptionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetVmClustersVmClusterDataCollectionOption] { - return pulumix.Output[[]GetVmClustersVmClusterDataCollectionOption]{ - OutputState: o.OutputState, - } -} - -func (o GetVmClustersVmClusterDataCollectionOptionArrayOutput) Index(i pulumi.IntInput) GetVmClustersVmClusterDataCollectionOptionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVmClustersVmClusterDataCollectionOption { - return vs[0].([]GetVmClustersVmClusterDataCollectionOption)[vs[1].(int)] - }).(GetVmClustersVmClusterDataCollectionOptionOutput) -} - func init() { pulumi.RegisterInputType(reflect.TypeOf((*AutonomousContainerDatabaseBackupConfigInput)(nil)).Elem(), AutonomousContainerDatabaseBackupConfigArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*AutonomousContainerDatabaseBackupConfigPtrInput)(nil)).Elem(), AutonomousContainerDatabaseBackupConfigArgs{}) @@ -86920,6 +86897,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*AutonomousDatabaseLongTermBackupScheduleArrayInput)(nil)).Elem(), AutonomousDatabaseLongTermBackupScheduleArray{}) pulumi.RegisterInputType(reflect.TypeOf((*AutonomousDatabaseRemoteDisasterRecoveryConfigurationInput)(nil)).Elem(), AutonomousDatabaseRemoteDisasterRecoveryConfigurationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*AutonomousDatabaseRemoteDisasterRecoveryConfigurationArrayInput)(nil)).Elem(), AutonomousDatabaseRemoteDisasterRecoveryConfigurationArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*AutonomousDatabaseResourcePoolSummaryInput)(nil)).Elem(), AutonomousDatabaseResourcePoolSummaryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*AutonomousDatabaseResourcePoolSummaryPtrInput)(nil)).Elem(), AutonomousDatabaseResourcePoolSummaryArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*AutonomousDatabaseScheduledOperationInput)(nil)).Elem(), AutonomousDatabaseScheduledOperationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*AutonomousDatabaseScheduledOperationArrayInput)(nil)).Elem(), AutonomousDatabaseScheduledOperationArray{}) pulumi.RegisterInputType(reflect.TypeOf((*AutonomousDatabaseScheduledOperationDayOfWeekInput)(nil)).Elem(), AutonomousDatabaseScheduledOperationDayOfWeekArgs{}) @@ -87257,6 +87236,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousDatabaseRefreshableClonesRefreshableCloneCollectionItemArrayInput)(nil)).Elem(), GetAutonomousDatabaseRefreshableClonesRefreshableCloneCollectionItemArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousDatabaseRemoteDisasterRecoveryConfigurationInput)(nil)).Elem(), GetAutonomousDatabaseRemoteDisasterRecoveryConfigurationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousDatabaseRemoteDisasterRecoveryConfigurationArrayInput)(nil)).Elem(), GetAutonomousDatabaseRemoteDisasterRecoveryConfigurationArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousDatabaseResourcePoolSummaryInput)(nil)).Elem(), GetAutonomousDatabaseResourcePoolSummaryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousDatabaseResourcePoolSummaryArrayInput)(nil)).Elem(), GetAutonomousDatabaseResourcePoolSummaryArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousDatabaseScheduledOperationInput)(nil)).Elem(), GetAutonomousDatabaseScheduledOperationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousDatabaseScheduledOperationArrayInput)(nil)).Elem(), GetAutonomousDatabaseScheduledOperationArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousDatabaseScheduledOperationDayOfWeekInput)(nil)).Elem(), GetAutonomousDatabaseScheduledOperationDayOfWeekArgs{}) @@ -87285,6 +87266,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousDatabasesAutonomousDatabaseLongTermBackupScheduleArrayInput)(nil)).Elem(), GetAutonomousDatabasesAutonomousDatabaseLongTermBackupScheduleArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousDatabasesAutonomousDatabaseRemoteDisasterRecoveryConfigurationInput)(nil)).Elem(), GetAutonomousDatabasesAutonomousDatabaseRemoteDisasterRecoveryConfigurationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousDatabasesAutonomousDatabaseRemoteDisasterRecoveryConfigurationArrayInput)(nil)).Elem(), GetAutonomousDatabasesAutonomousDatabaseRemoteDisasterRecoveryConfigurationArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryInput)(nil)).Elem(), GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryArrayInput)(nil)).Elem(), GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousDatabasesAutonomousDatabaseScheduledOperationInput)(nil)).Elem(), GetAutonomousDatabasesAutonomousDatabaseScheduledOperationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousDatabasesAutonomousDatabaseScheduledOperationArrayInput)(nil)).Elem(), GetAutonomousDatabasesAutonomousDatabaseScheduledOperationArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousDatabasesAutonomousDatabaseScheduledOperationDayOfWeekInput)(nil)).Elem(), GetAutonomousDatabasesAutonomousDatabaseScheduledOperationDayOfWeekArgs{}) @@ -87313,6 +87296,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousDatabasesClonesAutonomousDatabaseLongTermBackupScheduleArrayInput)(nil)).Elem(), GetAutonomousDatabasesClonesAutonomousDatabaseLongTermBackupScheduleArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousDatabasesClonesAutonomousDatabaseRemoteDisasterRecoveryConfigurationInput)(nil)).Elem(), GetAutonomousDatabasesClonesAutonomousDatabaseRemoteDisasterRecoveryConfigurationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousDatabasesClonesAutonomousDatabaseRemoteDisasterRecoveryConfigurationArrayInput)(nil)).Elem(), GetAutonomousDatabasesClonesAutonomousDatabaseRemoteDisasterRecoveryConfigurationArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryInput)(nil)).Elem(), GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryArrayInput)(nil)).Elem(), GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousDatabasesClonesAutonomousDatabaseScheduledOperationInput)(nil)).Elem(), GetAutonomousDatabasesClonesAutonomousDatabaseScheduledOperationArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousDatabasesClonesAutonomousDatabaseScheduledOperationArrayInput)(nil)).Elem(), GetAutonomousDatabasesClonesAutonomousDatabaseScheduledOperationArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetAutonomousDatabasesClonesAutonomousDatabaseScheduledOperationDayOfWeekInput)(nil)).Elem(), GetAutonomousDatabasesClonesAutonomousDatabaseScheduledOperationDayOfWeekArgs{}) @@ -87867,12 +87852,6 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetVmClusterUpdatesFilterArrayInput)(nil)).Elem(), GetVmClusterUpdatesFilterArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetVmClusterUpdatesVmClusterUpdateInput)(nil)).Elem(), GetVmClusterUpdatesVmClusterUpdateArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetVmClusterUpdatesVmClusterUpdateArrayInput)(nil)).Elem(), GetVmClusterUpdatesVmClusterUpdateArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmClustersFilterInput)(nil)).Elem(), GetVmClustersFilterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmClustersFilterArrayInput)(nil)).Elem(), GetVmClustersFilterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmClustersVmClusterInput)(nil)).Elem(), GetVmClustersVmClusterArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmClustersVmClusterArrayInput)(nil)).Elem(), GetVmClustersVmClusterArray{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmClustersVmClusterDataCollectionOptionInput)(nil)).Elem(), GetVmClustersVmClusterDataCollectionOptionArgs{}) - pulumi.RegisterInputType(reflect.TypeOf((*GetVmClustersVmClusterDataCollectionOptionArrayInput)(nil)).Elem(), GetVmClustersVmClusterDataCollectionOptionArray{}) pulumi.RegisterOutputType(AutonomousContainerDatabaseBackupConfigOutput{}) pulumi.RegisterOutputType(AutonomousContainerDatabaseBackupConfigPtrOutput{}) pulumi.RegisterOutputType(AutonomousContainerDatabaseBackupConfigBackupDestinationDetailsOutput{}) @@ -87917,6 +87896,8 @@ func init() { pulumi.RegisterOutputType(AutonomousDatabaseLongTermBackupScheduleArrayOutput{}) pulumi.RegisterOutputType(AutonomousDatabaseRemoteDisasterRecoveryConfigurationOutput{}) pulumi.RegisterOutputType(AutonomousDatabaseRemoteDisasterRecoveryConfigurationArrayOutput{}) + pulumi.RegisterOutputType(AutonomousDatabaseResourcePoolSummaryOutput{}) + pulumi.RegisterOutputType(AutonomousDatabaseResourcePoolSummaryPtrOutput{}) pulumi.RegisterOutputType(AutonomousDatabaseScheduledOperationOutput{}) pulumi.RegisterOutputType(AutonomousDatabaseScheduledOperationArrayOutput{}) pulumi.RegisterOutputType(AutonomousDatabaseScheduledOperationDayOfWeekOutput{}) @@ -88254,6 +88235,8 @@ func init() { pulumi.RegisterOutputType(GetAutonomousDatabaseRefreshableClonesRefreshableCloneCollectionItemArrayOutput{}) pulumi.RegisterOutputType(GetAutonomousDatabaseRemoteDisasterRecoveryConfigurationOutput{}) pulumi.RegisterOutputType(GetAutonomousDatabaseRemoteDisasterRecoveryConfigurationArrayOutput{}) + pulumi.RegisterOutputType(GetAutonomousDatabaseResourcePoolSummaryOutput{}) + pulumi.RegisterOutputType(GetAutonomousDatabaseResourcePoolSummaryArrayOutput{}) pulumi.RegisterOutputType(GetAutonomousDatabaseScheduledOperationOutput{}) pulumi.RegisterOutputType(GetAutonomousDatabaseScheduledOperationArrayOutput{}) pulumi.RegisterOutputType(GetAutonomousDatabaseScheduledOperationDayOfWeekOutput{}) @@ -88282,6 +88265,8 @@ func init() { pulumi.RegisterOutputType(GetAutonomousDatabasesAutonomousDatabaseLongTermBackupScheduleArrayOutput{}) pulumi.RegisterOutputType(GetAutonomousDatabasesAutonomousDatabaseRemoteDisasterRecoveryConfigurationOutput{}) pulumi.RegisterOutputType(GetAutonomousDatabasesAutonomousDatabaseRemoteDisasterRecoveryConfigurationArrayOutput{}) + pulumi.RegisterOutputType(GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryOutput{}) + pulumi.RegisterOutputType(GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryArrayOutput{}) pulumi.RegisterOutputType(GetAutonomousDatabasesAutonomousDatabaseScheduledOperationOutput{}) pulumi.RegisterOutputType(GetAutonomousDatabasesAutonomousDatabaseScheduledOperationArrayOutput{}) pulumi.RegisterOutputType(GetAutonomousDatabasesAutonomousDatabaseScheduledOperationDayOfWeekOutput{}) @@ -88310,6 +88295,8 @@ func init() { pulumi.RegisterOutputType(GetAutonomousDatabasesClonesAutonomousDatabaseLongTermBackupScheduleArrayOutput{}) pulumi.RegisterOutputType(GetAutonomousDatabasesClonesAutonomousDatabaseRemoteDisasterRecoveryConfigurationOutput{}) pulumi.RegisterOutputType(GetAutonomousDatabasesClonesAutonomousDatabaseRemoteDisasterRecoveryConfigurationArrayOutput{}) + pulumi.RegisterOutputType(GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryOutput{}) + pulumi.RegisterOutputType(GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryArrayOutput{}) pulumi.RegisterOutputType(GetAutonomousDatabasesClonesAutonomousDatabaseScheduledOperationOutput{}) pulumi.RegisterOutputType(GetAutonomousDatabasesClonesAutonomousDatabaseScheduledOperationArrayOutput{}) pulumi.RegisterOutputType(GetAutonomousDatabasesClonesAutonomousDatabaseScheduledOperationDayOfWeekOutput{}) @@ -88864,10 +88851,4 @@ func init() { pulumi.RegisterOutputType(GetVmClusterUpdatesFilterArrayOutput{}) pulumi.RegisterOutputType(GetVmClusterUpdatesVmClusterUpdateOutput{}) pulumi.RegisterOutputType(GetVmClusterUpdatesVmClusterUpdateArrayOutput{}) - pulumi.RegisterOutputType(GetVmClustersFilterOutput{}) - pulumi.RegisterOutputType(GetVmClustersFilterArrayOutput{}) - pulumi.RegisterOutputType(GetVmClustersVmClusterOutput{}) - pulumi.RegisterOutputType(GetVmClustersVmClusterArrayOutput{}) - pulumi.RegisterOutputType(GetVmClustersVmClusterDataCollectionOptionOutput{}) - pulumi.RegisterOutputType(GetVmClustersVmClusterDataCollectionOptionArrayOutput{}) } diff --git a/sdk/go/oci/database/pulumiTypes1.go b/sdk/go/oci/database/pulumiTypes1.go new file mode 100644 index 0000000000..3047e42356 --- /dev/null +++ b/sdk/go/oci/database/pulumiTypes1.go @@ -0,0 +1,674 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package database + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-oci/sdk/go/oci/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" +) + +var _ = internal.GetEnvOrDefault + +type GetVmClustersFilter struct { + Name string `pulumi:"name"` + Regex *bool `pulumi:"regex"` + Values []string `pulumi:"values"` +} + +// GetVmClustersFilterInput is an input type that accepts GetVmClustersFilterArgs and GetVmClustersFilterOutput values. +// You can construct a concrete instance of `GetVmClustersFilterInput` via: +// +// GetVmClustersFilterArgs{...} +type GetVmClustersFilterInput interface { + pulumi.Input + + ToGetVmClustersFilterOutput() GetVmClustersFilterOutput + ToGetVmClustersFilterOutputWithContext(context.Context) GetVmClustersFilterOutput +} + +type GetVmClustersFilterArgs struct { + Name pulumi.StringInput `pulumi:"name"` + Regex pulumi.BoolPtrInput `pulumi:"regex"` + Values pulumi.StringArrayInput `pulumi:"values"` +} + +func (GetVmClustersFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetVmClustersFilter)(nil)).Elem() +} + +func (i GetVmClustersFilterArgs) ToGetVmClustersFilterOutput() GetVmClustersFilterOutput { + return i.ToGetVmClustersFilterOutputWithContext(context.Background()) +} + +func (i GetVmClustersFilterArgs) ToGetVmClustersFilterOutputWithContext(ctx context.Context) GetVmClustersFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetVmClustersFilterOutput) +} + +func (i GetVmClustersFilterArgs) ToOutput(ctx context.Context) pulumix.Output[GetVmClustersFilter] { + return pulumix.Output[GetVmClustersFilter]{ + OutputState: i.ToGetVmClustersFilterOutputWithContext(ctx).OutputState, + } +} + +// GetVmClustersFilterArrayInput is an input type that accepts GetVmClustersFilterArray and GetVmClustersFilterArrayOutput values. +// You can construct a concrete instance of `GetVmClustersFilterArrayInput` via: +// +// GetVmClustersFilterArray{ GetVmClustersFilterArgs{...} } +type GetVmClustersFilterArrayInput interface { + pulumi.Input + + ToGetVmClustersFilterArrayOutput() GetVmClustersFilterArrayOutput + ToGetVmClustersFilterArrayOutputWithContext(context.Context) GetVmClustersFilterArrayOutput +} + +type GetVmClustersFilterArray []GetVmClustersFilterInput + +func (GetVmClustersFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetVmClustersFilter)(nil)).Elem() +} + +func (i GetVmClustersFilterArray) ToGetVmClustersFilterArrayOutput() GetVmClustersFilterArrayOutput { + return i.ToGetVmClustersFilterArrayOutputWithContext(context.Background()) +} + +func (i GetVmClustersFilterArray) ToGetVmClustersFilterArrayOutputWithContext(ctx context.Context) GetVmClustersFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetVmClustersFilterArrayOutput) +} + +func (i GetVmClustersFilterArray) ToOutput(ctx context.Context) pulumix.Output[[]GetVmClustersFilter] { + return pulumix.Output[[]GetVmClustersFilter]{ + OutputState: i.ToGetVmClustersFilterArrayOutputWithContext(ctx).OutputState, + } +} + +type GetVmClustersFilterOutput struct{ *pulumi.OutputState } + +func (GetVmClustersFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetVmClustersFilter)(nil)).Elem() +} + +func (o GetVmClustersFilterOutput) ToGetVmClustersFilterOutput() GetVmClustersFilterOutput { + return o +} + +func (o GetVmClustersFilterOutput) ToGetVmClustersFilterOutputWithContext(ctx context.Context) GetVmClustersFilterOutput { + return o +} + +func (o GetVmClustersFilterOutput) ToOutput(ctx context.Context) pulumix.Output[GetVmClustersFilter] { + return pulumix.Output[GetVmClustersFilter]{ + OutputState: o.OutputState, + } +} + +func (o GetVmClustersFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetVmClustersFilter) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetVmClustersFilterOutput) Regex() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetVmClustersFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) +} + +func (o GetVmClustersFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetVmClustersFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +} + +type GetVmClustersFilterArrayOutput struct{ *pulumi.OutputState } + +func (GetVmClustersFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetVmClustersFilter)(nil)).Elem() +} + +func (o GetVmClustersFilterArrayOutput) ToGetVmClustersFilterArrayOutput() GetVmClustersFilterArrayOutput { + return o +} + +func (o GetVmClustersFilterArrayOutput) ToGetVmClustersFilterArrayOutputWithContext(ctx context.Context) GetVmClustersFilterArrayOutput { + return o +} + +func (o GetVmClustersFilterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetVmClustersFilter] { + return pulumix.Output[[]GetVmClustersFilter]{ + OutputState: o.OutputState, + } +} + +func (o GetVmClustersFilterArrayOutput) Index(i pulumi.IntInput) GetVmClustersFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVmClustersFilter { + return vs[0].([]GetVmClustersFilter)[vs[1].(int)] + }).(GetVmClustersFilterOutput) +} + +type GetVmClustersVmCluster struct { + // The name of the availability domain that the VM cluster is located in. + AvailabilityDomain string `pulumi:"availabilityDomain"` + // The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + CompartmentId string `pulumi:"compartmentId"` + CpuCoreCount int `pulumi:"cpuCoreCount"` + // The number of enabled CPU cores. + CpusEnabled int `pulumi:"cpusEnabled"` + // Indicates user preferences for the various diagnostic collection options for the VM cluster/Cloud VM cluster/VMBM DBCS. + DataCollectionOptions []GetVmClustersVmClusterDataCollectionOption `pulumi:"dataCollectionOptions"` + // Size of the DATA disk group in GBs. + DataStorageSizeInGb float64 `pulumi:"dataStorageSizeInGb"` + // Size, in terabytes, of the DATA disk group. + DataStorageSizeInTbs float64 `pulumi:"dataStorageSizeInTbs"` + // The local node storage allocated in GBs. + DbNodeStorageSizeInGbs int `pulumi:"dbNodeStorageSizeInGbs"` + // The list of Db server. + DbServers []string `pulumi:"dbServers"` + // Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + DefinedTags map[string]interface{} `pulumi:"definedTags"` + // A filter to return only resources that match the entire display name given. The match is not case sensitive. + DisplayName string `pulumi:"displayName"` + // If provided, filters the results for the given Exadata Infrastructure. + ExadataInfrastructureId string `pulumi:"exadataInfrastructureId"` + // 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` + FreeformTags map[string]interface{} `pulumi:"freeformTags"` + // The Oracle Grid Infrastructure software version for the VM cluster. + GiVersion string `pulumi:"giVersion"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM cluster. + Id string `pulumi:"id"` + // If true, database backup on local Exadata storage is configured for the VM cluster. If false, database backup on local Exadata storage is not available in the VM cluster. + IsLocalBackupEnabled bool `pulumi:"isLocalBackupEnabled"` + // If true, sparse disk group is configured for the VM cluster. If false, sparse disk group is not created. + IsSparseDiskgroupEnabled bool `pulumi:"isSparseDiskgroupEnabled"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the last patch history. This value is updated as soon as a patch operation starts. + LastPatchHistoryEntryId string `pulumi:"lastPatchHistoryEntryId"` + // The Oracle license model that applies to the VM cluster. The default is LICENSE_INCLUDED. + LicenseModel string `pulumi:"licenseModel"` + // Additional information about the current lifecycle state. + LifecycleDetails string `pulumi:"lifecycleDetails"` + // The memory allocated in GBs. + MemorySizeInGbs int `pulumi:"memorySizeInGbs"` + OcpuCount float64 `pulumi:"ocpuCount"` + OcpusEnabled float64 `pulumi:"ocpusEnabled"` + // The shape of the Exadata infrastructure. The shape determines the amount of CPU, storage, and memory resources allocated to the instance. + Shape string `pulumi:"shape"` + // The public key portion of one or more key pairs used for SSH access to the VM cluster. + SshPublicKeys []string `pulumi:"sshPublicKeys"` + // A filter to return only resources that match the given lifecycle state exactly. + State string `pulumi:"state"` + // Operating system version of the image. + SystemVersion string `pulumi:"systemVersion"` + // The date and time that the VM cluster was created. + TimeCreated string `pulumi:"timeCreated"` + // The time zone of the Exadata infrastructure. For details, see [Exadata Infrastructure Time Zones](https://docs.cloud.oracle.com/iaas/Content/Database/References/timezones.htm). + TimeZone string `pulumi:"timeZone"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM cluster network. + VmClusterNetworkId string `pulumi:"vmClusterNetworkId"` +} + +// GetVmClustersVmClusterInput is an input type that accepts GetVmClustersVmClusterArgs and GetVmClustersVmClusterOutput values. +// You can construct a concrete instance of `GetVmClustersVmClusterInput` via: +// +// GetVmClustersVmClusterArgs{...} +type GetVmClustersVmClusterInput interface { + pulumi.Input + + ToGetVmClustersVmClusterOutput() GetVmClustersVmClusterOutput + ToGetVmClustersVmClusterOutputWithContext(context.Context) GetVmClustersVmClusterOutput +} + +type GetVmClustersVmClusterArgs struct { + // The name of the availability domain that the VM cluster is located in. + AvailabilityDomain pulumi.StringInput `pulumi:"availabilityDomain"` + // The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + CompartmentId pulumi.StringInput `pulumi:"compartmentId"` + CpuCoreCount pulumi.IntInput `pulumi:"cpuCoreCount"` + // The number of enabled CPU cores. + CpusEnabled pulumi.IntInput `pulumi:"cpusEnabled"` + // Indicates user preferences for the various diagnostic collection options for the VM cluster/Cloud VM cluster/VMBM DBCS. + DataCollectionOptions GetVmClustersVmClusterDataCollectionOptionArrayInput `pulumi:"dataCollectionOptions"` + // Size of the DATA disk group in GBs. + DataStorageSizeInGb pulumi.Float64Input `pulumi:"dataStorageSizeInGb"` + // Size, in terabytes, of the DATA disk group. + DataStorageSizeInTbs pulumi.Float64Input `pulumi:"dataStorageSizeInTbs"` + // The local node storage allocated in GBs. + DbNodeStorageSizeInGbs pulumi.IntInput `pulumi:"dbNodeStorageSizeInGbs"` + // The list of Db server. + DbServers pulumi.StringArrayInput `pulumi:"dbServers"` + // Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). + DefinedTags pulumi.MapInput `pulumi:"definedTags"` + // A filter to return only resources that match the entire display name given. The match is not case sensitive. + DisplayName pulumi.StringInput `pulumi:"displayName"` + // If provided, filters the results for the given Exadata Infrastructure. + ExadataInfrastructureId pulumi.StringInput `pulumi:"exadataInfrastructureId"` + // 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` + FreeformTags pulumi.MapInput `pulumi:"freeformTags"` + // The Oracle Grid Infrastructure software version for the VM cluster. + GiVersion pulumi.StringInput `pulumi:"giVersion"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM cluster. + Id pulumi.StringInput `pulumi:"id"` + // If true, database backup on local Exadata storage is configured for the VM cluster. If false, database backup on local Exadata storage is not available in the VM cluster. + IsLocalBackupEnabled pulumi.BoolInput `pulumi:"isLocalBackupEnabled"` + // If true, sparse disk group is configured for the VM cluster. If false, sparse disk group is not created. + IsSparseDiskgroupEnabled pulumi.BoolInput `pulumi:"isSparseDiskgroupEnabled"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the last patch history. This value is updated as soon as a patch operation starts. + LastPatchHistoryEntryId pulumi.StringInput `pulumi:"lastPatchHistoryEntryId"` + // The Oracle license model that applies to the VM cluster. The default is LICENSE_INCLUDED. + LicenseModel pulumi.StringInput `pulumi:"licenseModel"` + // Additional information about the current lifecycle state. + LifecycleDetails pulumi.StringInput `pulumi:"lifecycleDetails"` + // The memory allocated in GBs. + MemorySizeInGbs pulumi.IntInput `pulumi:"memorySizeInGbs"` + OcpuCount pulumi.Float64Input `pulumi:"ocpuCount"` + OcpusEnabled pulumi.Float64Input `pulumi:"ocpusEnabled"` + // The shape of the Exadata infrastructure. The shape determines the amount of CPU, storage, and memory resources allocated to the instance. + Shape pulumi.StringInput `pulumi:"shape"` + // The public key portion of one or more key pairs used for SSH access to the VM cluster. + SshPublicKeys pulumi.StringArrayInput `pulumi:"sshPublicKeys"` + // A filter to return only resources that match the given lifecycle state exactly. + State pulumi.StringInput `pulumi:"state"` + // Operating system version of the image. + SystemVersion pulumi.StringInput `pulumi:"systemVersion"` + // The date and time that the VM cluster was created. + TimeCreated pulumi.StringInput `pulumi:"timeCreated"` + // The time zone of the Exadata infrastructure. For details, see [Exadata Infrastructure Time Zones](https://docs.cloud.oracle.com/iaas/Content/Database/References/timezones.htm). + TimeZone pulumi.StringInput `pulumi:"timeZone"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM cluster network. + VmClusterNetworkId pulumi.StringInput `pulumi:"vmClusterNetworkId"` +} + +func (GetVmClustersVmClusterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetVmClustersVmCluster)(nil)).Elem() +} + +func (i GetVmClustersVmClusterArgs) ToGetVmClustersVmClusterOutput() GetVmClustersVmClusterOutput { + return i.ToGetVmClustersVmClusterOutputWithContext(context.Background()) +} + +func (i GetVmClustersVmClusterArgs) ToGetVmClustersVmClusterOutputWithContext(ctx context.Context) GetVmClustersVmClusterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetVmClustersVmClusterOutput) +} + +func (i GetVmClustersVmClusterArgs) ToOutput(ctx context.Context) pulumix.Output[GetVmClustersVmCluster] { + return pulumix.Output[GetVmClustersVmCluster]{ + OutputState: i.ToGetVmClustersVmClusterOutputWithContext(ctx).OutputState, + } +} + +// GetVmClustersVmClusterArrayInput is an input type that accepts GetVmClustersVmClusterArray and GetVmClustersVmClusterArrayOutput values. +// You can construct a concrete instance of `GetVmClustersVmClusterArrayInput` via: +// +// GetVmClustersVmClusterArray{ GetVmClustersVmClusterArgs{...} } +type GetVmClustersVmClusterArrayInput interface { + pulumi.Input + + ToGetVmClustersVmClusterArrayOutput() GetVmClustersVmClusterArrayOutput + ToGetVmClustersVmClusterArrayOutputWithContext(context.Context) GetVmClustersVmClusterArrayOutput +} + +type GetVmClustersVmClusterArray []GetVmClustersVmClusterInput + +func (GetVmClustersVmClusterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetVmClustersVmCluster)(nil)).Elem() +} + +func (i GetVmClustersVmClusterArray) ToGetVmClustersVmClusterArrayOutput() GetVmClustersVmClusterArrayOutput { + return i.ToGetVmClustersVmClusterArrayOutputWithContext(context.Background()) +} + +func (i GetVmClustersVmClusterArray) ToGetVmClustersVmClusterArrayOutputWithContext(ctx context.Context) GetVmClustersVmClusterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetVmClustersVmClusterArrayOutput) +} + +func (i GetVmClustersVmClusterArray) ToOutput(ctx context.Context) pulumix.Output[[]GetVmClustersVmCluster] { + return pulumix.Output[[]GetVmClustersVmCluster]{ + OutputState: i.ToGetVmClustersVmClusterArrayOutputWithContext(ctx).OutputState, + } +} + +type GetVmClustersVmClusterOutput struct{ *pulumi.OutputState } + +func (GetVmClustersVmClusterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetVmClustersVmCluster)(nil)).Elem() +} + +func (o GetVmClustersVmClusterOutput) ToGetVmClustersVmClusterOutput() GetVmClustersVmClusterOutput { + return o +} + +func (o GetVmClustersVmClusterOutput) ToGetVmClustersVmClusterOutputWithContext(ctx context.Context) GetVmClustersVmClusterOutput { + return o +} + +func (o GetVmClustersVmClusterOutput) ToOutput(ctx context.Context) pulumix.Output[GetVmClustersVmCluster] { + return pulumix.Output[GetVmClustersVmCluster]{ + OutputState: o.OutputState, + } +} + +// The name of the availability domain that the VM cluster is located in. +func (o GetVmClustersVmClusterOutput) AvailabilityDomain() pulumi.StringOutput { + return o.ApplyT(func(v GetVmClustersVmCluster) string { return v.AvailabilityDomain }).(pulumi.StringOutput) +} + +// The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). +func (o GetVmClustersVmClusterOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v GetVmClustersVmCluster) string { return v.CompartmentId }).(pulumi.StringOutput) +} + +func (o GetVmClustersVmClusterOutput) CpuCoreCount() pulumi.IntOutput { + return o.ApplyT(func(v GetVmClustersVmCluster) int { return v.CpuCoreCount }).(pulumi.IntOutput) +} + +// The number of enabled CPU cores. +func (o GetVmClustersVmClusterOutput) CpusEnabled() pulumi.IntOutput { + return o.ApplyT(func(v GetVmClustersVmCluster) int { return v.CpusEnabled }).(pulumi.IntOutput) +} + +// Indicates user preferences for the various diagnostic collection options for the VM cluster/Cloud VM cluster/VMBM DBCS. +func (o GetVmClustersVmClusterOutput) DataCollectionOptions() GetVmClustersVmClusterDataCollectionOptionArrayOutput { + return o.ApplyT(func(v GetVmClustersVmCluster) []GetVmClustersVmClusterDataCollectionOption { + return v.DataCollectionOptions + }).(GetVmClustersVmClusterDataCollectionOptionArrayOutput) +} + +// Size of the DATA disk group in GBs. +func (o GetVmClustersVmClusterOutput) DataStorageSizeInGb() pulumi.Float64Output { + return o.ApplyT(func(v GetVmClustersVmCluster) float64 { return v.DataStorageSizeInGb }).(pulumi.Float64Output) +} + +// Size, in terabytes, of the DATA disk group. +func (o GetVmClustersVmClusterOutput) DataStorageSizeInTbs() pulumi.Float64Output { + return o.ApplyT(func(v GetVmClustersVmCluster) float64 { return v.DataStorageSizeInTbs }).(pulumi.Float64Output) +} + +// The local node storage allocated in GBs. +func (o GetVmClustersVmClusterOutput) DbNodeStorageSizeInGbs() pulumi.IntOutput { + return o.ApplyT(func(v GetVmClustersVmCluster) int { return v.DbNodeStorageSizeInGbs }).(pulumi.IntOutput) +} + +// The list of Db server. +func (o GetVmClustersVmClusterOutput) DbServers() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetVmClustersVmCluster) []string { return v.DbServers }).(pulumi.StringArrayOutput) +} + +// Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). +func (o GetVmClustersVmClusterOutput) DefinedTags() pulumi.MapOutput { + return o.ApplyT(func(v GetVmClustersVmCluster) map[string]interface{} { return v.DefinedTags }).(pulumi.MapOutput) +} + +// A filter to return only resources that match the entire display name given. The match is not case sensitive. +func (o GetVmClustersVmClusterOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetVmClustersVmCluster) string { return v.DisplayName }).(pulumi.StringOutput) +} + +// If provided, filters the results for the given Exadata Infrastructure. +func (o GetVmClustersVmClusterOutput) ExadataInfrastructureId() pulumi.StringOutput { + return o.ApplyT(func(v GetVmClustersVmCluster) string { return v.ExadataInfrastructureId }).(pulumi.StringOutput) +} + +// 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` +func (o GetVmClustersVmClusterOutput) FreeformTags() pulumi.MapOutput { + return o.ApplyT(func(v GetVmClustersVmCluster) map[string]interface{} { return v.FreeformTags }).(pulumi.MapOutput) +} + +// The Oracle Grid Infrastructure software version for the VM cluster. +func (o GetVmClustersVmClusterOutput) GiVersion() pulumi.StringOutput { + return o.ApplyT(func(v GetVmClustersVmCluster) string { return v.GiVersion }).(pulumi.StringOutput) +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM cluster. +func (o GetVmClustersVmClusterOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetVmClustersVmCluster) string { return v.Id }).(pulumi.StringOutput) +} + +// If true, database backup on local Exadata storage is configured for the VM cluster. If false, database backup on local Exadata storage is not available in the VM cluster. +func (o GetVmClustersVmClusterOutput) IsLocalBackupEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v GetVmClustersVmCluster) bool { return v.IsLocalBackupEnabled }).(pulumi.BoolOutput) +} + +// If true, sparse disk group is configured for the VM cluster. If false, sparse disk group is not created. +func (o GetVmClustersVmClusterOutput) IsSparseDiskgroupEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v GetVmClustersVmCluster) bool { return v.IsSparseDiskgroupEnabled }).(pulumi.BoolOutput) +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the last patch history. This value is updated as soon as a patch operation starts. +func (o GetVmClustersVmClusterOutput) LastPatchHistoryEntryId() pulumi.StringOutput { + return o.ApplyT(func(v GetVmClustersVmCluster) string { return v.LastPatchHistoryEntryId }).(pulumi.StringOutput) +} + +// The Oracle license model that applies to the VM cluster. The default is LICENSE_INCLUDED. +func (o GetVmClustersVmClusterOutput) LicenseModel() pulumi.StringOutput { + return o.ApplyT(func(v GetVmClustersVmCluster) string { return v.LicenseModel }).(pulumi.StringOutput) +} + +// Additional information about the current lifecycle state. +func (o GetVmClustersVmClusterOutput) LifecycleDetails() pulumi.StringOutput { + return o.ApplyT(func(v GetVmClustersVmCluster) string { return v.LifecycleDetails }).(pulumi.StringOutput) +} + +// The memory allocated in GBs. +func (o GetVmClustersVmClusterOutput) MemorySizeInGbs() pulumi.IntOutput { + return o.ApplyT(func(v GetVmClustersVmCluster) int { return v.MemorySizeInGbs }).(pulumi.IntOutput) +} + +func (o GetVmClustersVmClusterOutput) OcpuCount() pulumi.Float64Output { + return o.ApplyT(func(v GetVmClustersVmCluster) float64 { return v.OcpuCount }).(pulumi.Float64Output) +} + +func (o GetVmClustersVmClusterOutput) OcpusEnabled() pulumi.Float64Output { + return o.ApplyT(func(v GetVmClustersVmCluster) float64 { return v.OcpusEnabled }).(pulumi.Float64Output) +} + +// The shape of the Exadata infrastructure. The shape determines the amount of CPU, storage, and memory resources allocated to the instance. +func (o GetVmClustersVmClusterOutput) Shape() pulumi.StringOutput { + return o.ApplyT(func(v GetVmClustersVmCluster) string { return v.Shape }).(pulumi.StringOutput) +} + +// The public key portion of one or more key pairs used for SSH access to the VM cluster. +func (o GetVmClustersVmClusterOutput) SshPublicKeys() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetVmClustersVmCluster) []string { return v.SshPublicKeys }).(pulumi.StringArrayOutput) +} + +// A filter to return only resources that match the given lifecycle state exactly. +func (o GetVmClustersVmClusterOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetVmClustersVmCluster) string { return v.State }).(pulumi.StringOutput) +} + +// Operating system version of the image. +func (o GetVmClustersVmClusterOutput) SystemVersion() pulumi.StringOutput { + return o.ApplyT(func(v GetVmClustersVmCluster) string { return v.SystemVersion }).(pulumi.StringOutput) +} + +// The date and time that the VM cluster was created. +func (o GetVmClustersVmClusterOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v GetVmClustersVmCluster) string { return v.TimeCreated }).(pulumi.StringOutput) +} + +// The time zone of the Exadata infrastructure. For details, see [Exadata Infrastructure Time Zones](https://docs.cloud.oracle.com/iaas/Content/Database/References/timezones.htm). +func (o GetVmClustersVmClusterOutput) TimeZone() pulumi.StringOutput { + return o.ApplyT(func(v GetVmClustersVmCluster) string { return v.TimeZone }).(pulumi.StringOutput) +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM cluster network. +func (o GetVmClustersVmClusterOutput) VmClusterNetworkId() pulumi.StringOutput { + return o.ApplyT(func(v GetVmClustersVmCluster) string { return v.VmClusterNetworkId }).(pulumi.StringOutput) +} + +type GetVmClustersVmClusterArrayOutput struct{ *pulumi.OutputState } + +func (GetVmClustersVmClusterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetVmClustersVmCluster)(nil)).Elem() +} + +func (o GetVmClustersVmClusterArrayOutput) ToGetVmClustersVmClusterArrayOutput() GetVmClustersVmClusterArrayOutput { + return o +} + +func (o GetVmClustersVmClusterArrayOutput) ToGetVmClustersVmClusterArrayOutputWithContext(ctx context.Context) GetVmClustersVmClusterArrayOutput { + return o +} + +func (o GetVmClustersVmClusterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetVmClustersVmCluster] { + return pulumix.Output[[]GetVmClustersVmCluster]{ + OutputState: o.OutputState, + } +} + +func (o GetVmClustersVmClusterArrayOutput) Index(i pulumi.IntInput) GetVmClustersVmClusterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVmClustersVmCluster { + return vs[0].([]GetVmClustersVmCluster)[vs[1].(int)] + }).(GetVmClustersVmClusterOutput) +} + +type GetVmClustersVmClusterDataCollectionOption struct { + // Indicates whether diagnostic collection is enabled for the VM cluster/Cloud VM cluster/VMBM DBCS. Enabling diagnostic collection allows you to receive Events service notifications for guest VM issues. Diagnostic collection also allows Oracle to provide enhanced service and proactive support for your Exadata system. You can enable diagnostic collection during VM cluster/Cloud VM cluster provisioning. You can also disable or enable it at any time using the `UpdateVmCluster` or `updateCloudVmCluster` API. + IsDiagnosticsEventsEnabled bool `pulumi:"isDiagnosticsEventsEnabled"` + // Indicates whether health monitoring is enabled for the VM cluster / Cloud VM cluster / VMBM DBCS. Enabling health monitoring allows Oracle to collect diagnostic data and share it with its operations and support personnel. You may also receive notifications for some events. Collecting health diagnostics enables Oracle to provide proactive support and enhanced service for your system. Optionally enable health monitoring while provisioning a system. You can also disable or enable health monitoring anytime using the `UpdateVmCluster`, `UpdateCloudVmCluster` or `updateDbsystem` API. + IsHealthMonitoringEnabled bool `pulumi:"isHealthMonitoringEnabled"` + // Indicates whether incident logs and trace collection are enabled for the VM cluster / Cloud VM cluster / VMBM DBCS. Enabling incident logs collection allows Oracle to receive Events service notifications for guest VM issues, collect incident logs and traces, and use them to diagnose issues and resolve them. Optionally enable incident logs collection while provisioning a system. You can also disable or enable incident logs collection anytime using the `UpdateVmCluster`, `updateCloudVmCluster` or `updateDbsystem` API. + IsIncidentLogsEnabled bool `pulumi:"isIncidentLogsEnabled"` +} + +// GetVmClustersVmClusterDataCollectionOptionInput is an input type that accepts GetVmClustersVmClusterDataCollectionOptionArgs and GetVmClustersVmClusterDataCollectionOptionOutput values. +// You can construct a concrete instance of `GetVmClustersVmClusterDataCollectionOptionInput` via: +// +// GetVmClustersVmClusterDataCollectionOptionArgs{...} +type GetVmClustersVmClusterDataCollectionOptionInput interface { + pulumi.Input + + ToGetVmClustersVmClusterDataCollectionOptionOutput() GetVmClustersVmClusterDataCollectionOptionOutput + ToGetVmClustersVmClusterDataCollectionOptionOutputWithContext(context.Context) GetVmClustersVmClusterDataCollectionOptionOutput +} + +type GetVmClustersVmClusterDataCollectionOptionArgs struct { + // Indicates whether diagnostic collection is enabled for the VM cluster/Cloud VM cluster/VMBM DBCS. Enabling diagnostic collection allows you to receive Events service notifications for guest VM issues. Diagnostic collection also allows Oracle to provide enhanced service and proactive support for your Exadata system. You can enable diagnostic collection during VM cluster/Cloud VM cluster provisioning. You can also disable or enable it at any time using the `UpdateVmCluster` or `updateCloudVmCluster` API. + IsDiagnosticsEventsEnabled pulumi.BoolInput `pulumi:"isDiagnosticsEventsEnabled"` + // Indicates whether health monitoring is enabled for the VM cluster / Cloud VM cluster / VMBM DBCS. Enabling health monitoring allows Oracle to collect diagnostic data and share it with its operations and support personnel. You may also receive notifications for some events. Collecting health diagnostics enables Oracle to provide proactive support and enhanced service for your system. Optionally enable health monitoring while provisioning a system. You can also disable or enable health monitoring anytime using the `UpdateVmCluster`, `UpdateCloudVmCluster` or `updateDbsystem` API. + IsHealthMonitoringEnabled pulumi.BoolInput `pulumi:"isHealthMonitoringEnabled"` + // Indicates whether incident logs and trace collection are enabled for the VM cluster / Cloud VM cluster / VMBM DBCS. Enabling incident logs collection allows Oracle to receive Events service notifications for guest VM issues, collect incident logs and traces, and use them to diagnose issues and resolve them. Optionally enable incident logs collection while provisioning a system. You can also disable or enable incident logs collection anytime using the `UpdateVmCluster`, `updateCloudVmCluster` or `updateDbsystem` API. + IsIncidentLogsEnabled pulumi.BoolInput `pulumi:"isIncidentLogsEnabled"` +} + +func (GetVmClustersVmClusterDataCollectionOptionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetVmClustersVmClusterDataCollectionOption)(nil)).Elem() +} + +func (i GetVmClustersVmClusterDataCollectionOptionArgs) ToGetVmClustersVmClusterDataCollectionOptionOutput() GetVmClustersVmClusterDataCollectionOptionOutput { + return i.ToGetVmClustersVmClusterDataCollectionOptionOutputWithContext(context.Background()) +} + +func (i GetVmClustersVmClusterDataCollectionOptionArgs) ToGetVmClustersVmClusterDataCollectionOptionOutputWithContext(ctx context.Context) GetVmClustersVmClusterDataCollectionOptionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetVmClustersVmClusterDataCollectionOptionOutput) +} + +func (i GetVmClustersVmClusterDataCollectionOptionArgs) ToOutput(ctx context.Context) pulumix.Output[GetVmClustersVmClusterDataCollectionOption] { + return pulumix.Output[GetVmClustersVmClusterDataCollectionOption]{ + OutputState: i.ToGetVmClustersVmClusterDataCollectionOptionOutputWithContext(ctx).OutputState, + } +} + +// GetVmClustersVmClusterDataCollectionOptionArrayInput is an input type that accepts GetVmClustersVmClusterDataCollectionOptionArray and GetVmClustersVmClusterDataCollectionOptionArrayOutput values. +// You can construct a concrete instance of `GetVmClustersVmClusterDataCollectionOptionArrayInput` via: +// +// GetVmClustersVmClusterDataCollectionOptionArray{ GetVmClustersVmClusterDataCollectionOptionArgs{...} } +type GetVmClustersVmClusterDataCollectionOptionArrayInput interface { + pulumi.Input + + ToGetVmClustersVmClusterDataCollectionOptionArrayOutput() GetVmClustersVmClusterDataCollectionOptionArrayOutput + ToGetVmClustersVmClusterDataCollectionOptionArrayOutputWithContext(context.Context) GetVmClustersVmClusterDataCollectionOptionArrayOutput +} + +type GetVmClustersVmClusterDataCollectionOptionArray []GetVmClustersVmClusterDataCollectionOptionInput + +func (GetVmClustersVmClusterDataCollectionOptionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetVmClustersVmClusterDataCollectionOption)(nil)).Elem() +} + +func (i GetVmClustersVmClusterDataCollectionOptionArray) ToGetVmClustersVmClusterDataCollectionOptionArrayOutput() GetVmClustersVmClusterDataCollectionOptionArrayOutput { + return i.ToGetVmClustersVmClusterDataCollectionOptionArrayOutputWithContext(context.Background()) +} + +func (i GetVmClustersVmClusterDataCollectionOptionArray) ToGetVmClustersVmClusterDataCollectionOptionArrayOutputWithContext(ctx context.Context) GetVmClustersVmClusterDataCollectionOptionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetVmClustersVmClusterDataCollectionOptionArrayOutput) +} + +func (i GetVmClustersVmClusterDataCollectionOptionArray) ToOutput(ctx context.Context) pulumix.Output[[]GetVmClustersVmClusterDataCollectionOption] { + return pulumix.Output[[]GetVmClustersVmClusterDataCollectionOption]{ + OutputState: i.ToGetVmClustersVmClusterDataCollectionOptionArrayOutputWithContext(ctx).OutputState, + } +} + +type GetVmClustersVmClusterDataCollectionOptionOutput struct{ *pulumi.OutputState } + +func (GetVmClustersVmClusterDataCollectionOptionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetVmClustersVmClusterDataCollectionOption)(nil)).Elem() +} + +func (o GetVmClustersVmClusterDataCollectionOptionOutput) ToGetVmClustersVmClusterDataCollectionOptionOutput() GetVmClustersVmClusterDataCollectionOptionOutput { + return o +} + +func (o GetVmClustersVmClusterDataCollectionOptionOutput) ToGetVmClustersVmClusterDataCollectionOptionOutputWithContext(ctx context.Context) GetVmClustersVmClusterDataCollectionOptionOutput { + return o +} + +func (o GetVmClustersVmClusterDataCollectionOptionOutput) ToOutput(ctx context.Context) pulumix.Output[GetVmClustersVmClusterDataCollectionOption] { + return pulumix.Output[GetVmClustersVmClusterDataCollectionOption]{ + OutputState: o.OutputState, + } +} + +// Indicates whether diagnostic collection is enabled for the VM cluster/Cloud VM cluster/VMBM DBCS. Enabling diagnostic collection allows you to receive Events service notifications for guest VM issues. Diagnostic collection also allows Oracle to provide enhanced service and proactive support for your Exadata system. You can enable diagnostic collection during VM cluster/Cloud VM cluster provisioning. You can also disable or enable it at any time using the `UpdateVmCluster` or `updateCloudVmCluster` API. +func (o GetVmClustersVmClusterDataCollectionOptionOutput) IsDiagnosticsEventsEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v GetVmClustersVmClusterDataCollectionOption) bool { return v.IsDiagnosticsEventsEnabled }).(pulumi.BoolOutput) +} + +// Indicates whether health monitoring is enabled for the VM cluster / Cloud VM cluster / VMBM DBCS. Enabling health monitoring allows Oracle to collect diagnostic data and share it with its operations and support personnel. You may also receive notifications for some events. Collecting health diagnostics enables Oracle to provide proactive support and enhanced service for your system. Optionally enable health monitoring while provisioning a system. You can also disable or enable health monitoring anytime using the `UpdateVmCluster`, `UpdateCloudVmCluster` or `updateDbsystem` API. +func (o GetVmClustersVmClusterDataCollectionOptionOutput) IsHealthMonitoringEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v GetVmClustersVmClusterDataCollectionOption) bool { return v.IsHealthMonitoringEnabled }).(pulumi.BoolOutput) +} + +// Indicates whether incident logs and trace collection are enabled for the VM cluster / Cloud VM cluster / VMBM DBCS. Enabling incident logs collection allows Oracle to receive Events service notifications for guest VM issues, collect incident logs and traces, and use them to diagnose issues and resolve them. Optionally enable incident logs collection while provisioning a system. You can also disable or enable incident logs collection anytime using the `UpdateVmCluster`, `updateCloudVmCluster` or `updateDbsystem` API. +func (o GetVmClustersVmClusterDataCollectionOptionOutput) IsIncidentLogsEnabled() pulumi.BoolOutput { + return o.ApplyT(func(v GetVmClustersVmClusterDataCollectionOption) bool { return v.IsIncidentLogsEnabled }).(pulumi.BoolOutput) +} + +type GetVmClustersVmClusterDataCollectionOptionArrayOutput struct{ *pulumi.OutputState } + +func (GetVmClustersVmClusterDataCollectionOptionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetVmClustersVmClusterDataCollectionOption)(nil)).Elem() +} + +func (o GetVmClustersVmClusterDataCollectionOptionArrayOutput) ToGetVmClustersVmClusterDataCollectionOptionArrayOutput() GetVmClustersVmClusterDataCollectionOptionArrayOutput { + return o +} + +func (o GetVmClustersVmClusterDataCollectionOptionArrayOutput) ToGetVmClustersVmClusterDataCollectionOptionArrayOutputWithContext(ctx context.Context) GetVmClustersVmClusterDataCollectionOptionArrayOutput { + return o +} + +func (o GetVmClustersVmClusterDataCollectionOptionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetVmClustersVmClusterDataCollectionOption] { + return pulumix.Output[[]GetVmClustersVmClusterDataCollectionOption]{ + OutputState: o.OutputState, + } +} + +func (o GetVmClustersVmClusterDataCollectionOptionArrayOutput) Index(i pulumi.IntInput) GetVmClustersVmClusterDataCollectionOptionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVmClustersVmClusterDataCollectionOption { + return vs[0].([]GetVmClustersVmClusterDataCollectionOption)[vs[1].(int)] + }).(GetVmClustersVmClusterDataCollectionOptionOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*GetVmClustersFilterInput)(nil)).Elem(), GetVmClustersFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetVmClustersFilterArrayInput)(nil)).Elem(), GetVmClustersFilterArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetVmClustersVmClusterInput)(nil)).Elem(), GetVmClustersVmClusterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetVmClustersVmClusterArrayInput)(nil)).Elem(), GetVmClustersVmClusterArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetVmClustersVmClusterDataCollectionOptionInput)(nil)).Elem(), GetVmClustersVmClusterDataCollectionOptionArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetVmClustersVmClusterDataCollectionOptionArrayInput)(nil)).Elem(), GetVmClustersVmClusterDataCollectionOptionArray{}) + pulumi.RegisterOutputType(GetVmClustersFilterOutput{}) + pulumi.RegisterOutputType(GetVmClustersFilterArrayOutput{}) + pulumi.RegisterOutputType(GetVmClustersVmClusterOutput{}) + pulumi.RegisterOutputType(GetVmClustersVmClusterArrayOutput{}) + pulumi.RegisterOutputType(GetVmClustersVmClusterDataCollectionOptionOutput{}) + pulumi.RegisterOutputType(GetVmClustersVmClusterDataCollectionOptionArrayOutput{}) +} diff --git a/sdk/go/oci/databasemigration/getMigration.go b/sdk/go/oci/databasemigration/getMigration.go index bbd49454b7..df90e91bda 100644 --- a/sdk/go/oci/databasemigration/getMigration.go +++ b/sdk/go/oci/databasemigration/getMigration.go @@ -69,7 +69,8 @@ type LookupMigrationResult struct { CredentialsSecretId string `pulumi:"credentialsSecretId"` CsvText string `pulumi:"csvText"` // Data Transfer Medium details for the Migration. - DataTransferMediumDetails []GetMigrationDataTransferMediumDetail `pulumi:"dataTransferMediumDetails"` + DataTransferMediumDetails []GetMigrationDataTransferMediumDetail `pulumi:"dataTransferMediumDetails"` + DataTransferMediumDetailsV2s []GetMigrationDataTransferMediumDetailsV2 `pulumi:"dataTransferMediumDetailsV2s"` // Optional settings for Data Pump Export and Import jobs DatapumpSettings []GetMigrationDatapumpSetting `pulumi:"datapumpSettings"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` @@ -194,6 +195,12 @@ func (o LookupMigrationResultOutput) DataTransferMediumDetails() GetMigrationDat }).(GetMigrationDataTransferMediumDetailArrayOutput) } +func (o LookupMigrationResultOutput) DataTransferMediumDetailsV2s() GetMigrationDataTransferMediumDetailsV2ArrayOutput { + return o.ApplyT(func(v LookupMigrationResult) []GetMigrationDataTransferMediumDetailsV2 { + return v.DataTransferMediumDetailsV2s + }).(GetMigrationDataTransferMediumDetailsV2ArrayOutput) +} + // Optional settings for Data Pump Export and Import jobs func (o LookupMigrationResultOutput) DatapumpSettings() GetMigrationDatapumpSettingArrayOutput { return o.ApplyT(func(v LookupMigrationResult) []GetMigrationDatapumpSetting { return v.DatapumpSettings }).(GetMigrationDatapumpSettingArrayOutput) diff --git a/sdk/go/oci/databasemigration/migration.go b/sdk/go/oci/databasemigration/migration.go index 1279b14997..b529c6946b 100644 --- a/sdk/go/oci/databasemigration/migration.go +++ b/sdk/go/oci/databasemigration/migration.go @@ -219,7 +219,8 @@ type Migration struct { // Database objects to exclude/include from migration in CSV format. The excludeObjects and includeObjects fields will be ignored if this field is not null. CsvText pulumi.StringOutput `pulumi:"csvText"` // (Updatable) Data Transfer Medium details for the Migration. If not specified, it will default to Database Link. Only one type of data transfer medium can be specified. - DataTransferMediumDetails MigrationDataTransferMediumDetailsOutput `pulumi:"dataTransferMediumDetails"` + DataTransferMediumDetails MigrationDataTransferMediumDetailsOutput `pulumi:"dataTransferMediumDetails"` + DataTransferMediumDetailsV2 MigrationDataTransferMediumDetailsV2Output `pulumi:"dataTransferMediumDetailsV2"` // (Updatable) Optional settings for Data Pump Export and Import jobs DatapumpSettings MigrationDatapumpSettingsOutput `pulumi:"datapumpSettings"` // (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` @@ -319,7 +320,8 @@ type migrationState struct { // Database objects to exclude/include from migration in CSV format. The excludeObjects and includeObjects fields will be ignored if this field is not null. CsvText *string `pulumi:"csvText"` // (Updatable) Data Transfer Medium details for the Migration. If not specified, it will default to Database Link. Only one type of data transfer medium can be specified. - DataTransferMediumDetails *MigrationDataTransferMediumDetails `pulumi:"dataTransferMediumDetails"` + DataTransferMediumDetails *MigrationDataTransferMediumDetails `pulumi:"dataTransferMediumDetails"` + DataTransferMediumDetailsV2 *MigrationDataTransferMediumDetailsV2 `pulumi:"dataTransferMediumDetailsV2"` // (Updatable) Optional settings for Data Pump Export and Import jobs DatapumpSettings *MigrationDatapumpSettings `pulumi:"datapumpSettings"` // (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` @@ -378,7 +380,8 @@ type MigrationState struct { // Database objects to exclude/include from migration in CSV format. The excludeObjects and includeObjects fields will be ignored if this field is not null. CsvText pulumi.StringPtrInput // (Updatable) Data Transfer Medium details for the Migration. If not specified, it will default to Database Link. Only one type of data transfer medium can be specified. - DataTransferMediumDetails MigrationDataTransferMediumDetailsPtrInput + DataTransferMediumDetails MigrationDataTransferMediumDetailsPtrInput + DataTransferMediumDetailsV2 MigrationDataTransferMediumDetailsV2PtrInput // (Updatable) Optional settings for Data Pump Export and Import jobs DatapumpSettings MigrationDatapumpSettingsPtrInput // (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` @@ -439,7 +442,8 @@ type migrationArgs struct { // Database objects to exclude/include from migration in CSV format. The excludeObjects and includeObjects fields will be ignored if this field is not null. CsvText *string `pulumi:"csvText"` // (Updatable) Data Transfer Medium details for the Migration. If not specified, it will default to Database Link. Only one type of data transfer medium can be specified. - DataTransferMediumDetails *MigrationDataTransferMediumDetails `pulumi:"dataTransferMediumDetails"` + DataTransferMediumDetails *MigrationDataTransferMediumDetails `pulumi:"dataTransferMediumDetails"` + DataTransferMediumDetailsV2 *MigrationDataTransferMediumDetailsV2 `pulumi:"dataTransferMediumDetailsV2"` // (Updatable) Optional settings for Data Pump Export and Import jobs DatapumpSettings *MigrationDatapumpSettings `pulumi:"datapumpSettings"` // (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` @@ -481,7 +485,8 @@ type MigrationArgs struct { // Database objects to exclude/include from migration in CSV format. The excludeObjects and includeObjects fields will be ignored if this field is not null. CsvText pulumi.StringPtrInput // (Updatable) Data Transfer Medium details for the Migration. If not specified, it will default to Database Link. Only one type of data transfer medium can be specified. - DataTransferMediumDetails MigrationDataTransferMediumDetailsPtrInput + DataTransferMediumDetails MigrationDataTransferMediumDetailsPtrInput + DataTransferMediumDetailsV2 MigrationDataTransferMediumDetailsV2PtrInput // (Updatable) Optional settings for Data Pump Export and Import jobs DatapumpSettings MigrationDatapumpSettingsPtrInput // (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` @@ -653,6 +658,10 @@ func (o MigrationOutput) DataTransferMediumDetails() MigrationDataTransferMedium return o.ApplyT(func(v *Migration) MigrationDataTransferMediumDetailsOutput { return v.DataTransferMediumDetails }).(MigrationDataTransferMediumDetailsOutput) } +func (o MigrationOutput) DataTransferMediumDetailsV2() MigrationDataTransferMediumDetailsV2Output { + return o.ApplyT(func(v *Migration) MigrationDataTransferMediumDetailsV2Output { return v.DataTransferMediumDetailsV2 }).(MigrationDataTransferMediumDetailsV2Output) +} + // (Updatable) Optional settings for Data Pump Export and Import jobs func (o MigrationOutput) DatapumpSettings() MigrationDatapumpSettingsOutput { return o.ApplyT(func(v *Migration) MigrationDatapumpSettingsOutput { return v.DatapumpSettings }).(MigrationDatapumpSettingsOutput) diff --git a/sdk/go/oci/databasemigration/pulumiTypes.go b/sdk/go/oci/databasemigration/pulumiTypes.go index b8f6ae672c..79f26d6dc3 100644 --- a/sdk/go/oci/databasemigration/pulumiTypes.go +++ b/sdk/go/oci/databasemigration/pulumiTypes.go @@ -2885,6 +2885,428 @@ func (o MigrationDataTransferMediumDetailsObjectStorageDetailsPtrOutput) Namespa }).(pulumi.StringPtrOutput) } +type MigrationDataTransferMediumDetailsV2 struct { + AccessKeyId *string `pulumi:"accessKeyId"` + // (Updatable) Name of directory object in database + Name *string `pulumi:"name"` + ObjectStorageBucket *MigrationDataTransferMediumDetailsV2ObjectStorageBucket `pulumi:"objectStorageBucket"` + Region *string `pulumi:"region"` + SecretAccessKey *string `pulumi:"secretAccessKey"` + // (Updatable) Migration type. + Type string `pulumi:"type"` +} + +// MigrationDataTransferMediumDetailsV2Input is an input type that accepts MigrationDataTransferMediumDetailsV2Args and MigrationDataTransferMediumDetailsV2Output values. +// You can construct a concrete instance of `MigrationDataTransferMediumDetailsV2Input` via: +// +// MigrationDataTransferMediumDetailsV2Args{...} +type MigrationDataTransferMediumDetailsV2Input interface { + pulumi.Input + + ToMigrationDataTransferMediumDetailsV2Output() MigrationDataTransferMediumDetailsV2Output + ToMigrationDataTransferMediumDetailsV2OutputWithContext(context.Context) MigrationDataTransferMediumDetailsV2Output +} + +type MigrationDataTransferMediumDetailsV2Args struct { + AccessKeyId pulumi.StringPtrInput `pulumi:"accessKeyId"` + // (Updatable) Name of directory object in database + Name pulumi.StringPtrInput `pulumi:"name"` + ObjectStorageBucket MigrationDataTransferMediumDetailsV2ObjectStorageBucketPtrInput `pulumi:"objectStorageBucket"` + Region pulumi.StringPtrInput `pulumi:"region"` + SecretAccessKey pulumi.StringPtrInput `pulumi:"secretAccessKey"` + // (Updatable) Migration type. + Type pulumi.StringInput `pulumi:"type"` +} + +func (MigrationDataTransferMediumDetailsV2Args) ElementType() reflect.Type { + return reflect.TypeOf((*MigrationDataTransferMediumDetailsV2)(nil)).Elem() +} + +func (i MigrationDataTransferMediumDetailsV2Args) ToMigrationDataTransferMediumDetailsV2Output() MigrationDataTransferMediumDetailsV2Output { + return i.ToMigrationDataTransferMediumDetailsV2OutputWithContext(context.Background()) +} + +func (i MigrationDataTransferMediumDetailsV2Args) ToMigrationDataTransferMediumDetailsV2OutputWithContext(ctx context.Context) MigrationDataTransferMediumDetailsV2Output { + return pulumi.ToOutputWithContext(ctx, i).(MigrationDataTransferMediumDetailsV2Output) +} + +func (i MigrationDataTransferMediumDetailsV2Args) ToOutput(ctx context.Context) pulumix.Output[MigrationDataTransferMediumDetailsV2] { + return pulumix.Output[MigrationDataTransferMediumDetailsV2]{ + OutputState: i.ToMigrationDataTransferMediumDetailsV2OutputWithContext(ctx).OutputState, + } +} + +func (i MigrationDataTransferMediumDetailsV2Args) ToMigrationDataTransferMediumDetailsV2PtrOutput() MigrationDataTransferMediumDetailsV2PtrOutput { + return i.ToMigrationDataTransferMediumDetailsV2PtrOutputWithContext(context.Background()) +} + +func (i MigrationDataTransferMediumDetailsV2Args) ToMigrationDataTransferMediumDetailsV2PtrOutputWithContext(ctx context.Context) MigrationDataTransferMediumDetailsV2PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MigrationDataTransferMediumDetailsV2Output).ToMigrationDataTransferMediumDetailsV2PtrOutputWithContext(ctx) +} + +// MigrationDataTransferMediumDetailsV2PtrInput is an input type that accepts MigrationDataTransferMediumDetailsV2Args, MigrationDataTransferMediumDetailsV2Ptr and MigrationDataTransferMediumDetailsV2PtrOutput values. +// You can construct a concrete instance of `MigrationDataTransferMediumDetailsV2PtrInput` via: +// +// MigrationDataTransferMediumDetailsV2Args{...} +// +// or: +// +// nil +type MigrationDataTransferMediumDetailsV2PtrInput interface { + pulumi.Input + + ToMigrationDataTransferMediumDetailsV2PtrOutput() MigrationDataTransferMediumDetailsV2PtrOutput + ToMigrationDataTransferMediumDetailsV2PtrOutputWithContext(context.Context) MigrationDataTransferMediumDetailsV2PtrOutput +} + +type migrationDataTransferMediumDetailsV2PtrType MigrationDataTransferMediumDetailsV2Args + +func MigrationDataTransferMediumDetailsV2Ptr(v *MigrationDataTransferMediumDetailsV2Args) MigrationDataTransferMediumDetailsV2PtrInput { + return (*migrationDataTransferMediumDetailsV2PtrType)(v) +} + +func (*migrationDataTransferMediumDetailsV2PtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MigrationDataTransferMediumDetailsV2)(nil)).Elem() +} + +func (i *migrationDataTransferMediumDetailsV2PtrType) ToMigrationDataTransferMediumDetailsV2PtrOutput() MigrationDataTransferMediumDetailsV2PtrOutput { + return i.ToMigrationDataTransferMediumDetailsV2PtrOutputWithContext(context.Background()) +} + +func (i *migrationDataTransferMediumDetailsV2PtrType) ToMigrationDataTransferMediumDetailsV2PtrOutputWithContext(ctx context.Context) MigrationDataTransferMediumDetailsV2PtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MigrationDataTransferMediumDetailsV2PtrOutput) +} + +func (i *migrationDataTransferMediumDetailsV2PtrType) ToOutput(ctx context.Context) pulumix.Output[*MigrationDataTransferMediumDetailsV2] { + return pulumix.Output[*MigrationDataTransferMediumDetailsV2]{ + OutputState: i.ToMigrationDataTransferMediumDetailsV2PtrOutputWithContext(ctx).OutputState, + } +} + +type MigrationDataTransferMediumDetailsV2Output struct{ *pulumi.OutputState } + +func (MigrationDataTransferMediumDetailsV2Output) ElementType() reflect.Type { + return reflect.TypeOf((*MigrationDataTransferMediumDetailsV2)(nil)).Elem() +} + +func (o MigrationDataTransferMediumDetailsV2Output) ToMigrationDataTransferMediumDetailsV2Output() MigrationDataTransferMediumDetailsV2Output { + return o +} + +func (o MigrationDataTransferMediumDetailsV2Output) ToMigrationDataTransferMediumDetailsV2OutputWithContext(ctx context.Context) MigrationDataTransferMediumDetailsV2Output { + return o +} + +func (o MigrationDataTransferMediumDetailsV2Output) ToMigrationDataTransferMediumDetailsV2PtrOutput() MigrationDataTransferMediumDetailsV2PtrOutput { + return o.ToMigrationDataTransferMediumDetailsV2PtrOutputWithContext(context.Background()) +} + +func (o MigrationDataTransferMediumDetailsV2Output) ToMigrationDataTransferMediumDetailsV2PtrOutputWithContext(ctx context.Context) MigrationDataTransferMediumDetailsV2PtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MigrationDataTransferMediumDetailsV2) *MigrationDataTransferMediumDetailsV2 { + return &v + }).(MigrationDataTransferMediumDetailsV2PtrOutput) +} + +func (o MigrationDataTransferMediumDetailsV2Output) ToOutput(ctx context.Context) pulumix.Output[MigrationDataTransferMediumDetailsV2] { + return pulumix.Output[MigrationDataTransferMediumDetailsV2]{ + OutputState: o.OutputState, + } +} + +func (o MigrationDataTransferMediumDetailsV2Output) AccessKeyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v MigrationDataTransferMediumDetailsV2) *string { return v.AccessKeyId }).(pulumi.StringPtrOutput) +} + +// (Updatable) Name of directory object in database +func (o MigrationDataTransferMediumDetailsV2Output) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v MigrationDataTransferMediumDetailsV2) *string { return v.Name }).(pulumi.StringPtrOutput) +} + +func (o MigrationDataTransferMediumDetailsV2Output) ObjectStorageBucket() MigrationDataTransferMediumDetailsV2ObjectStorageBucketPtrOutput { + return o.ApplyT(func(v MigrationDataTransferMediumDetailsV2) *MigrationDataTransferMediumDetailsV2ObjectStorageBucket { + return v.ObjectStorageBucket + }).(MigrationDataTransferMediumDetailsV2ObjectStorageBucketPtrOutput) +} + +func (o MigrationDataTransferMediumDetailsV2Output) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v MigrationDataTransferMediumDetailsV2) *string { return v.Region }).(pulumi.StringPtrOutput) +} + +func (o MigrationDataTransferMediumDetailsV2Output) SecretAccessKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v MigrationDataTransferMediumDetailsV2) *string { return v.SecretAccessKey }).(pulumi.StringPtrOutput) +} + +// (Updatable) Migration type. +func (o MigrationDataTransferMediumDetailsV2Output) Type() pulumi.StringOutput { + return o.ApplyT(func(v MigrationDataTransferMediumDetailsV2) string { return v.Type }).(pulumi.StringOutput) +} + +type MigrationDataTransferMediumDetailsV2PtrOutput struct{ *pulumi.OutputState } + +func (MigrationDataTransferMediumDetailsV2PtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MigrationDataTransferMediumDetailsV2)(nil)).Elem() +} + +func (o MigrationDataTransferMediumDetailsV2PtrOutput) ToMigrationDataTransferMediumDetailsV2PtrOutput() MigrationDataTransferMediumDetailsV2PtrOutput { + return o +} + +func (o MigrationDataTransferMediumDetailsV2PtrOutput) ToMigrationDataTransferMediumDetailsV2PtrOutputWithContext(ctx context.Context) MigrationDataTransferMediumDetailsV2PtrOutput { + return o +} + +func (o MigrationDataTransferMediumDetailsV2PtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MigrationDataTransferMediumDetailsV2] { + return pulumix.Output[*MigrationDataTransferMediumDetailsV2]{ + OutputState: o.OutputState, + } +} + +func (o MigrationDataTransferMediumDetailsV2PtrOutput) Elem() MigrationDataTransferMediumDetailsV2Output { + return o.ApplyT(func(v *MigrationDataTransferMediumDetailsV2) MigrationDataTransferMediumDetailsV2 { + if v != nil { + return *v + } + var ret MigrationDataTransferMediumDetailsV2 + return ret + }).(MigrationDataTransferMediumDetailsV2Output) +} + +func (o MigrationDataTransferMediumDetailsV2PtrOutput) AccessKeyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MigrationDataTransferMediumDetailsV2) *string { + if v == nil { + return nil + } + return v.AccessKeyId + }).(pulumi.StringPtrOutput) +} + +// (Updatable) Name of directory object in database +func (o MigrationDataTransferMediumDetailsV2PtrOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MigrationDataTransferMediumDetailsV2) *string { + if v == nil { + return nil + } + return v.Name + }).(pulumi.StringPtrOutput) +} + +func (o MigrationDataTransferMediumDetailsV2PtrOutput) ObjectStorageBucket() MigrationDataTransferMediumDetailsV2ObjectStorageBucketPtrOutput { + return o.ApplyT(func(v *MigrationDataTransferMediumDetailsV2) *MigrationDataTransferMediumDetailsV2ObjectStorageBucket { + if v == nil { + return nil + } + return v.ObjectStorageBucket + }).(MigrationDataTransferMediumDetailsV2ObjectStorageBucketPtrOutput) +} + +func (o MigrationDataTransferMediumDetailsV2PtrOutput) Region() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MigrationDataTransferMediumDetailsV2) *string { + if v == nil { + return nil + } + return v.Region + }).(pulumi.StringPtrOutput) +} + +func (o MigrationDataTransferMediumDetailsV2PtrOutput) SecretAccessKey() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MigrationDataTransferMediumDetailsV2) *string { + if v == nil { + return nil + } + return v.SecretAccessKey + }).(pulumi.StringPtrOutput) +} + +// (Updatable) Migration type. +func (o MigrationDataTransferMediumDetailsV2PtrOutput) Type() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MigrationDataTransferMediumDetailsV2) *string { + if v == nil { + return nil + } + return &v.Type + }).(pulumi.StringPtrOutput) +} + +type MigrationDataTransferMediumDetailsV2ObjectStorageBucket struct { + // (Updatable) Bucket name. + Bucket *string `pulumi:"bucket"` + // (Updatable) Namespace name of the object store bucket. + Namespace *string `pulumi:"namespace"` +} + +// MigrationDataTransferMediumDetailsV2ObjectStorageBucketInput is an input type that accepts MigrationDataTransferMediumDetailsV2ObjectStorageBucketArgs and MigrationDataTransferMediumDetailsV2ObjectStorageBucketOutput values. +// You can construct a concrete instance of `MigrationDataTransferMediumDetailsV2ObjectStorageBucketInput` via: +// +// MigrationDataTransferMediumDetailsV2ObjectStorageBucketArgs{...} +type MigrationDataTransferMediumDetailsV2ObjectStorageBucketInput interface { + pulumi.Input + + ToMigrationDataTransferMediumDetailsV2ObjectStorageBucketOutput() MigrationDataTransferMediumDetailsV2ObjectStorageBucketOutput + ToMigrationDataTransferMediumDetailsV2ObjectStorageBucketOutputWithContext(context.Context) MigrationDataTransferMediumDetailsV2ObjectStorageBucketOutput +} + +type MigrationDataTransferMediumDetailsV2ObjectStorageBucketArgs struct { + // (Updatable) Bucket name. + Bucket pulumi.StringPtrInput `pulumi:"bucket"` + // (Updatable) Namespace name of the object store bucket. + Namespace pulumi.StringPtrInput `pulumi:"namespace"` +} + +func (MigrationDataTransferMediumDetailsV2ObjectStorageBucketArgs) ElementType() reflect.Type { + return reflect.TypeOf((*MigrationDataTransferMediumDetailsV2ObjectStorageBucket)(nil)).Elem() +} + +func (i MigrationDataTransferMediumDetailsV2ObjectStorageBucketArgs) ToMigrationDataTransferMediumDetailsV2ObjectStorageBucketOutput() MigrationDataTransferMediumDetailsV2ObjectStorageBucketOutput { + return i.ToMigrationDataTransferMediumDetailsV2ObjectStorageBucketOutputWithContext(context.Background()) +} + +func (i MigrationDataTransferMediumDetailsV2ObjectStorageBucketArgs) ToMigrationDataTransferMediumDetailsV2ObjectStorageBucketOutputWithContext(ctx context.Context) MigrationDataTransferMediumDetailsV2ObjectStorageBucketOutput { + return pulumi.ToOutputWithContext(ctx, i).(MigrationDataTransferMediumDetailsV2ObjectStorageBucketOutput) +} + +func (i MigrationDataTransferMediumDetailsV2ObjectStorageBucketArgs) ToOutput(ctx context.Context) pulumix.Output[MigrationDataTransferMediumDetailsV2ObjectStorageBucket] { + return pulumix.Output[MigrationDataTransferMediumDetailsV2ObjectStorageBucket]{ + OutputState: i.ToMigrationDataTransferMediumDetailsV2ObjectStorageBucketOutputWithContext(ctx).OutputState, + } +} + +func (i MigrationDataTransferMediumDetailsV2ObjectStorageBucketArgs) ToMigrationDataTransferMediumDetailsV2ObjectStorageBucketPtrOutput() MigrationDataTransferMediumDetailsV2ObjectStorageBucketPtrOutput { + return i.ToMigrationDataTransferMediumDetailsV2ObjectStorageBucketPtrOutputWithContext(context.Background()) +} + +func (i MigrationDataTransferMediumDetailsV2ObjectStorageBucketArgs) ToMigrationDataTransferMediumDetailsV2ObjectStorageBucketPtrOutputWithContext(ctx context.Context) MigrationDataTransferMediumDetailsV2ObjectStorageBucketPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MigrationDataTransferMediumDetailsV2ObjectStorageBucketOutput).ToMigrationDataTransferMediumDetailsV2ObjectStorageBucketPtrOutputWithContext(ctx) +} + +// MigrationDataTransferMediumDetailsV2ObjectStorageBucketPtrInput is an input type that accepts MigrationDataTransferMediumDetailsV2ObjectStorageBucketArgs, MigrationDataTransferMediumDetailsV2ObjectStorageBucketPtr and MigrationDataTransferMediumDetailsV2ObjectStorageBucketPtrOutput values. +// You can construct a concrete instance of `MigrationDataTransferMediumDetailsV2ObjectStorageBucketPtrInput` via: +// +// MigrationDataTransferMediumDetailsV2ObjectStorageBucketArgs{...} +// +// or: +// +// nil +type MigrationDataTransferMediumDetailsV2ObjectStorageBucketPtrInput interface { + pulumi.Input + + ToMigrationDataTransferMediumDetailsV2ObjectStorageBucketPtrOutput() MigrationDataTransferMediumDetailsV2ObjectStorageBucketPtrOutput + ToMigrationDataTransferMediumDetailsV2ObjectStorageBucketPtrOutputWithContext(context.Context) MigrationDataTransferMediumDetailsV2ObjectStorageBucketPtrOutput +} + +type migrationDataTransferMediumDetailsV2ObjectStorageBucketPtrType MigrationDataTransferMediumDetailsV2ObjectStorageBucketArgs + +func MigrationDataTransferMediumDetailsV2ObjectStorageBucketPtr(v *MigrationDataTransferMediumDetailsV2ObjectStorageBucketArgs) MigrationDataTransferMediumDetailsV2ObjectStorageBucketPtrInput { + return (*migrationDataTransferMediumDetailsV2ObjectStorageBucketPtrType)(v) +} + +func (*migrationDataTransferMediumDetailsV2ObjectStorageBucketPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**MigrationDataTransferMediumDetailsV2ObjectStorageBucket)(nil)).Elem() +} + +func (i *migrationDataTransferMediumDetailsV2ObjectStorageBucketPtrType) ToMigrationDataTransferMediumDetailsV2ObjectStorageBucketPtrOutput() MigrationDataTransferMediumDetailsV2ObjectStorageBucketPtrOutput { + return i.ToMigrationDataTransferMediumDetailsV2ObjectStorageBucketPtrOutputWithContext(context.Background()) +} + +func (i *migrationDataTransferMediumDetailsV2ObjectStorageBucketPtrType) ToMigrationDataTransferMediumDetailsV2ObjectStorageBucketPtrOutputWithContext(ctx context.Context) MigrationDataTransferMediumDetailsV2ObjectStorageBucketPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(MigrationDataTransferMediumDetailsV2ObjectStorageBucketPtrOutput) +} + +func (i *migrationDataTransferMediumDetailsV2ObjectStorageBucketPtrType) ToOutput(ctx context.Context) pulumix.Output[*MigrationDataTransferMediumDetailsV2ObjectStorageBucket] { + return pulumix.Output[*MigrationDataTransferMediumDetailsV2ObjectStorageBucket]{ + OutputState: i.ToMigrationDataTransferMediumDetailsV2ObjectStorageBucketPtrOutputWithContext(ctx).OutputState, + } +} + +type MigrationDataTransferMediumDetailsV2ObjectStorageBucketOutput struct{ *pulumi.OutputState } + +func (MigrationDataTransferMediumDetailsV2ObjectStorageBucketOutput) ElementType() reflect.Type { + return reflect.TypeOf((*MigrationDataTransferMediumDetailsV2ObjectStorageBucket)(nil)).Elem() +} + +func (o MigrationDataTransferMediumDetailsV2ObjectStorageBucketOutput) ToMigrationDataTransferMediumDetailsV2ObjectStorageBucketOutput() MigrationDataTransferMediumDetailsV2ObjectStorageBucketOutput { + return o +} + +func (o MigrationDataTransferMediumDetailsV2ObjectStorageBucketOutput) ToMigrationDataTransferMediumDetailsV2ObjectStorageBucketOutputWithContext(ctx context.Context) MigrationDataTransferMediumDetailsV2ObjectStorageBucketOutput { + return o +} + +func (o MigrationDataTransferMediumDetailsV2ObjectStorageBucketOutput) ToMigrationDataTransferMediumDetailsV2ObjectStorageBucketPtrOutput() MigrationDataTransferMediumDetailsV2ObjectStorageBucketPtrOutput { + return o.ToMigrationDataTransferMediumDetailsV2ObjectStorageBucketPtrOutputWithContext(context.Background()) +} + +func (o MigrationDataTransferMediumDetailsV2ObjectStorageBucketOutput) ToMigrationDataTransferMediumDetailsV2ObjectStorageBucketPtrOutputWithContext(ctx context.Context) MigrationDataTransferMediumDetailsV2ObjectStorageBucketPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v MigrationDataTransferMediumDetailsV2ObjectStorageBucket) *MigrationDataTransferMediumDetailsV2ObjectStorageBucket { + return &v + }).(MigrationDataTransferMediumDetailsV2ObjectStorageBucketPtrOutput) +} + +func (o MigrationDataTransferMediumDetailsV2ObjectStorageBucketOutput) ToOutput(ctx context.Context) pulumix.Output[MigrationDataTransferMediumDetailsV2ObjectStorageBucket] { + return pulumix.Output[MigrationDataTransferMediumDetailsV2ObjectStorageBucket]{ + OutputState: o.OutputState, + } +} + +// (Updatable) Bucket name. +func (o MigrationDataTransferMediumDetailsV2ObjectStorageBucketOutput) Bucket() pulumi.StringPtrOutput { + return o.ApplyT(func(v MigrationDataTransferMediumDetailsV2ObjectStorageBucket) *string { return v.Bucket }).(pulumi.StringPtrOutput) +} + +// (Updatable) Namespace name of the object store bucket. +func (o MigrationDataTransferMediumDetailsV2ObjectStorageBucketOutput) Namespace() pulumi.StringPtrOutput { + return o.ApplyT(func(v MigrationDataTransferMediumDetailsV2ObjectStorageBucket) *string { return v.Namespace }).(pulumi.StringPtrOutput) +} + +type MigrationDataTransferMediumDetailsV2ObjectStorageBucketPtrOutput struct{ *pulumi.OutputState } + +func (MigrationDataTransferMediumDetailsV2ObjectStorageBucketPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**MigrationDataTransferMediumDetailsV2ObjectStorageBucket)(nil)).Elem() +} + +func (o MigrationDataTransferMediumDetailsV2ObjectStorageBucketPtrOutput) ToMigrationDataTransferMediumDetailsV2ObjectStorageBucketPtrOutput() MigrationDataTransferMediumDetailsV2ObjectStorageBucketPtrOutput { + return o +} + +func (o MigrationDataTransferMediumDetailsV2ObjectStorageBucketPtrOutput) ToMigrationDataTransferMediumDetailsV2ObjectStorageBucketPtrOutputWithContext(ctx context.Context) MigrationDataTransferMediumDetailsV2ObjectStorageBucketPtrOutput { + return o +} + +func (o MigrationDataTransferMediumDetailsV2ObjectStorageBucketPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*MigrationDataTransferMediumDetailsV2ObjectStorageBucket] { + return pulumix.Output[*MigrationDataTransferMediumDetailsV2ObjectStorageBucket]{ + OutputState: o.OutputState, + } +} + +func (o MigrationDataTransferMediumDetailsV2ObjectStorageBucketPtrOutput) Elem() MigrationDataTransferMediumDetailsV2ObjectStorageBucketOutput { + return o.ApplyT(func(v *MigrationDataTransferMediumDetailsV2ObjectStorageBucket) MigrationDataTransferMediumDetailsV2ObjectStorageBucket { + if v != nil { + return *v + } + var ret MigrationDataTransferMediumDetailsV2ObjectStorageBucket + return ret + }).(MigrationDataTransferMediumDetailsV2ObjectStorageBucketOutput) +} + +// (Updatable) Bucket name. +func (o MigrationDataTransferMediumDetailsV2ObjectStorageBucketPtrOutput) Bucket() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MigrationDataTransferMediumDetailsV2ObjectStorageBucket) *string { + if v == nil { + return nil + } + return v.Bucket + }).(pulumi.StringPtrOutput) +} + +// (Updatable) Namespace name of the object store bucket. +func (o MigrationDataTransferMediumDetailsV2ObjectStorageBucketPtrOutput) Namespace() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MigrationDataTransferMediumDetailsV2ObjectStorageBucket) *string { + if v == nil { + return nil + } + return v.Namespace + }).(pulumi.StringPtrOutput) +} + type MigrationDatapumpSettings struct { // (Updatable) Optional parameters for Data Pump Export and Import. Refer to [Configuring Optional Initial Load Advanced Settings](https://docs.us.oracle.com/en/cloud/paas/database-migration/dmsus/working-migration-resources.html#GUID-24BD3054-FDF8-48FF-8492-636C1D4B71ED) DataPumpParameters *MigrationDatapumpSettingsDataPumpParameters `pulumi:"dataPumpParameters"` @@ -3884,6 +4306,7 @@ func (o MigrationDatapumpSettingsMetadataRemapArrayOutput) Index(i pulumi.IntInp } type MigrationDumpTransferDetails struct { + SharedStorageMountTargetId *string `pulumi:"sharedStorageMountTargetId"` // (Updatable) Optional additional properties for dump transfer in source or target host. Default kind is CURL Source *MigrationDumpTransferDetailsSource `pulumi:"source"` // (Updatable) Optional additional properties for dump transfer in source or target host. Default kind is CURL @@ -3902,6 +4325,7 @@ type MigrationDumpTransferDetailsInput interface { } type MigrationDumpTransferDetailsArgs struct { + SharedStorageMountTargetId pulumi.StringPtrInput `pulumi:"sharedStorageMountTargetId"` // (Updatable) Optional additional properties for dump transfer in source or target host. Default kind is CURL Source MigrationDumpTransferDetailsSourcePtrInput `pulumi:"source"` // (Updatable) Optional additional properties for dump transfer in source or target host. Default kind is CURL @@ -4003,6 +4427,10 @@ func (o MigrationDumpTransferDetailsOutput) ToOutput(ctx context.Context) pulumi } } +func (o MigrationDumpTransferDetailsOutput) SharedStorageMountTargetId() pulumi.StringPtrOutput { + return o.ApplyT(func(v MigrationDumpTransferDetails) *string { return v.SharedStorageMountTargetId }).(pulumi.StringPtrOutput) +} + // (Updatable) Optional additional properties for dump transfer in source or target host. Default kind is CURL func (o MigrationDumpTransferDetailsOutput) Source() MigrationDumpTransferDetailsSourcePtrOutput { return o.ApplyT(func(v MigrationDumpTransferDetails) *MigrationDumpTransferDetailsSource { return v.Source }).(MigrationDumpTransferDetailsSourcePtrOutput) @@ -4043,6 +4471,15 @@ func (o MigrationDumpTransferDetailsPtrOutput) Elem() MigrationDumpTransferDetai }).(MigrationDumpTransferDetailsOutput) } +func (o MigrationDumpTransferDetailsPtrOutput) SharedStorageMountTargetId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *MigrationDumpTransferDetails) *string { + if v == nil { + return nil + } + return v.SharedStorageMountTargetId + }).(pulumi.StringPtrOutput) +} + // (Updatable) Optional additional properties for dump transfer in source or target host. Default kind is CURL func (o MigrationDumpTransferDetailsPtrOutput) Source() MigrationDumpTransferDetailsSourcePtrOutput { return o.ApplyT(func(v *MigrationDumpTransferDetails) *MigrationDumpTransferDetailsSource { @@ -12423,6 +12860,292 @@ func (o GetMigrationDataTransferMediumDetailObjectStorageDetailArrayOutput) Inde }).(GetMigrationDataTransferMediumDetailObjectStorageDetailOutput) } +type GetMigrationDataTransferMediumDetailsV2 struct { + AccessKeyId string `pulumi:"accessKeyId"` + // Name of directory object in database + Name string `pulumi:"name"` + ObjectStorageBuckets []GetMigrationDataTransferMediumDetailsV2ObjectStorageBucket `pulumi:"objectStorageBuckets"` + Region string `pulumi:"region"` + SecretAccessKey string `pulumi:"secretAccessKey"` + // Migration type. + Type string `pulumi:"type"` +} + +// GetMigrationDataTransferMediumDetailsV2Input is an input type that accepts GetMigrationDataTransferMediumDetailsV2Args and GetMigrationDataTransferMediumDetailsV2Output values. +// You can construct a concrete instance of `GetMigrationDataTransferMediumDetailsV2Input` via: +// +// GetMigrationDataTransferMediumDetailsV2Args{...} +type GetMigrationDataTransferMediumDetailsV2Input interface { + pulumi.Input + + ToGetMigrationDataTransferMediumDetailsV2Output() GetMigrationDataTransferMediumDetailsV2Output + ToGetMigrationDataTransferMediumDetailsV2OutputWithContext(context.Context) GetMigrationDataTransferMediumDetailsV2Output +} + +type GetMigrationDataTransferMediumDetailsV2Args struct { + AccessKeyId pulumi.StringInput `pulumi:"accessKeyId"` + // Name of directory object in database + Name pulumi.StringInput `pulumi:"name"` + ObjectStorageBuckets GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketArrayInput `pulumi:"objectStorageBuckets"` + Region pulumi.StringInput `pulumi:"region"` + SecretAccessKey pulumi.StringInput `pulumi:"secretAccessKey"` + // Migration type. + Type pulumi.StringInput `pulumi:"type"` +} + +func (GetMigrationDataTransferMediumDetailsV2Args) ElementType() reflect.Type { + return reflect.TypeOf((*GetMigrationDataTransferMediumDetailsV2)(nil)).Elem() +} + +func (i GetMigrationDataTransferMediumDetailsV2Args) ToGetMigrationDataTransferMediumDetailsV2Output() GetMigrationDataTransferMediumDetailsV2Output { + return i.ToGetMigrationDataTransferMediumDetailsV2OutputWithContext(context.Background()) +} + +func (i GetMigrationDataTransferMediumDetailsV2Args) ToGetMigrationDataTransferMediumDetailsV2OutputWithContext(ctx context.Context) GetMigrationDataTransferMediumDetailsV2Output { + return pulumi.ToOutputWithContext(ctx, i).(GetMigrationDataTransferMediumDetailsV2Output) +} + +func (i GetMigrationDataTransferMediumDetailsV2Args) ToOutput(ctx context.Context) pulumix.Output[GetMigrationDataTransferMediumDetailsV2] { + return pulumix.Output[GetMigrationDataTransferMediumDetailsV2]{ + OutputState: i.ToGetMigrationDataTransferMediumDetailsV2OutputWithContext(ctx).OutputState, + } +} + +// GetMigrationDataTransferMediumDetailsV2ArrayInput is an input type that accepts GetMigrationDataTransferMediumDetailsV2Array and GetMigrationDataTransferMediumDetailsV2ArrayOutput values. +// You can construct a concrete instance of `GetMigrationDataTransferMediumDetailsV2ArrayInput` via: +// +// GetMigrationDataTransferMediumDetailsV2Array{ GetMigrationDataTransferMediumDetailsV2Args{...} } +type GetMigrationDataTransferMediumDetailsV2ArrayInput interface { + pulumi.Input + + ToGetMigrationDataTransferMediumDetailsV2ArrayOutput() GetMigrationDataTransferMediumDetailsV2ArrayOutput + ToGetMigrationDataTransferMediumDetailsV2ArrayOutputWithContext(context.Context) GetMigrationDataTransferMediumDetailsV2ArrayOutput +} + +type GetMigrationDataTransferMediumDetailsV2Array []GetMigrationDataTransferMediumDetailsV2Input + +func (GetMigrationDataTransferMediumDetailsV2Array) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMigrationDataTransferMediumDetailsV2)(nil)).Elem() +} + +func (i GetMigrationDataTransferMediumDetailsV2Array) ToGetMigrationDataTransferMediumDetailsV2ArrayOutput() GetMigrationDataTransferMediumDetailsV2ArrayOutput { + return i.ToGetMigrationDataTransferMediumDetailsV2ArrayOutputWithContext(context.Background()) +} + +func (i GetMigrationDataTransferMediumDetailsV2Array) ToGetMigrationDataTransferMediumDetailsV2ArrayOutputWithContext(ctx context.Context) GetMigrationDataTransferMediumDetailsV2ArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMigrationDataTransferMediumDetailsV2ArrayOutput) +} + +func (i GetMigrationDataTransferMediumDetailsV2Array) ToOutput(ctx context.Context) pulumix.Output[[]GetMigrationDataTransferMediumDetailsV2] { + return pulumix.Output[[]GetMigrationDataTransferMediumDetailsV2]{ + OutputState: i.ToGetMigrationDataTransferMediumDetailsV2ArrayOutputWithContext(ctx).OutputState, + } +} + +type GetMigrationDataTransferMediumDetailsV2Output struct{ *pulumi.OutputState } + +func (GetMigrationDataTransferMediumDetailsV2Output) ElementType() reflect.Type { + return reflect.TypeOf((*GetMigrationDataTransferMediumDetailsV2)(nil)).Elem() +} + +func (o GetMigrationDataTransferMediumDetailsV2Output) ToGetMigrationDataTransferMediumDetailsV2Output() GetMigrationDataTransferMediumDetailsV2Output { + return o +} + +func (o GetMigrationDataTransferMediumDetailsV2Output) ToGetMigrationDataTransferMediumDetailsV2OutputWithContext(ctx context.Context) GetMigrationDataTransferMediumDetailsV2Output { + return o +} + +func (o GetMigrationDataTransferMediumDetailsV2Output) ToOutput(ctx context.Context) pulumix.Output[GetMigrationDataTransferMediumDetailsV2] { + return pulumix.Output[GetMigrationDataTransferMediumDetailsV2]{ + OutputState: o.OutputState, + } +} + +func (o GetMigrationDataTransferMediumDetailsV2Output) AccessKeyId() pulumi.StringOutput { + return o.ApplyT(func(v GetMigrationDataTransferMediumDetailsV2) string { return v.AccessKeyId }).(pulumi.StringOutput) +} + +// Name of directory object in database +func (o GetMigrationDataTransferMediumDetailsV2Output) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetMigrationDataTransferMediumDetailsV2) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetMigrationDataTransferMediumDetailsV2Output) ObjectStorageBuckets() GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketArrayOutput { + return o.ApplyT(func(v GetMigrationDataTransferMediumDetailsV2) []GetMigrationDataTransferMediumDetailsV2ObjectStorageBucket { + return v.ObjectStorageBuckets + }).(GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketArrayOutput) +} + +func (o GetMigrationDataTransferMediumDetailsV2Output) Region() pulumi.StringOutput { + return o.ApplyT(func(v GetMigrationDataTransferMediumDetailsV2) string { return v.Region }).(pulumi.StringOutput) +} + +func (o GetMigrationDataTransferMediumDetailsV2Output) SecretAccessKey() pulumi.StringOutput { + return o.ApplyT(func(v GetMigrationDataTransferMediumDetailsV2) string { return v.SecretAccessKey }).(pulumi.StringOutput) +} + +// Migration type. +func (o GetMigrationDataTransferMediumDetailsV2Output) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetMigrationDataTransferMediumDetailsV2) string { return v.Type }).(pulumi.StringOutput) +} + +type GetMigrationDataTransferMediumDetailsV2ArrayOutput struct{ *pulumi.OutputState } + +func (GetMigrationDataTransferMediumDetailsV2ArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMigrationDataTransferMediumDetailsV2)(nil)).Elem() +} + +func (o GetMigrationDataTransferMediumDetailsV2ArrayOutput) ToGetMigrationDataTransferMediumDetailsV2ArrayOutput() GetMigrationDataTransferMediumDetailsV2ArrayOutput { + return o +} + +func (o GetMigrationDataTransferMediumDetailsV2ArrayOutput) ToGetMigrationDataTransferMediumDetailsV2ArrayOutputWithContext(ctx context.Context) GetMigrationDataTransferMediumDetailsV2ArrayOutput { + return o +} + +func (o GetMigrationDataTransferMediumDetailsV2ArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetMigrationDataTransferMediumDetailsV2] { + return pulumix.Output[[]GetMigrationDataTransferMediumDetailsV2]{ + OutputState: o.OutputState, + } +} + +func (o GetMigrationDataTransferMediumDetailsV2ArrayOutput) Index(i pulumi.IntInput) GetMigrationDataTransferMediumDetailsV2Output { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMigrationDataTransferMediumDetailsV2 { + return vs[0].([]GetMigrationDataTransferMediumDetailsV2)[vs[1].(int)] + }).(GetMigrationDataTransferMediumDetailsV2Output) +} + +type GetMigrationDataTransferMediumDetailsV2ObjectStorageBucket struct { + // Bucket name. + Bucket string `pulumi:"bucket"` + // Namespace name of the object store bucket. + Namespace string `pulumi:"namespace"` +} + +// GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketInput is an input type that accepts GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketArgs and GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketOutput values. +// You can construct a concrete instance of `GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketInput` via: +// +// GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketArgs{...} +type GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketInput interface { + pulumi.Input + + ToGetMigrationDataTransferMediumDetailsV2ObjectStorageBucketOutput() GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketOutput + ToGetMigrationDataTransferMediumDetailsV2ObjectStorageBucketOutputWithContext(context.Context) GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketOutput +} + +type GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketArgs struct { + // Bucket name. + Bucket pulumi.StringInput `pulumi:"bucket"` + // Namespace name of the object store bucket. + Namespace pulumi.StringInput `pulumi:"namespace"` +} + +func (GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMigrationDataTransferMediumDetailsV2ObjectStorageBucket)(nil)).Elem() +} + +func (i GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketArgs) ToGetMigrationDataTransferMediumDetailsV2ObjectStorageBucketOutput() GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketOutput { + return i.ToGetMigrationDataTransferMediumDetailsV2ObjectStorageBucketOutputWithContext(context.Background()) +} + +func (i GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketArgs) ToGetMigrationDataTransferMediumDetailsV2ObjectStorageBucketOutputWithContext(ctx context.Context) GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketOutput) +} + +func (i GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketArgs) ToOutput(ctx context.Context) pulumix.Output[GetMigrationDataTransferMediumDetailsV2ObjectStorageBucket] { + return pulumix.Output[GetMigrationDataTransferMediumDetailsV2ObjectStorageBucket]{ + OutputState: i.ToGetMigrationDataTransferMediumDetailsV2ObjectStorageBucketOutputWithContext(ctx).OutputState, + } +} + +// GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketArrayInput is an input type that accepts GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketArray and GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketArrayOutput values. +// You can construct a concrete instance of `GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketArrayInput` via: +// +// GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketArray{ GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketArgs{...} } +type GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketArrayInput interface { + pulumi.Input + + ToGetMigrationDataTransferMediumDetailsV2ObjectStorageBucketArrayOutput() GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketArrayOutput + ToGetMigrationDataTransferMediumDetailsV2ObjectStorageBucketArrayOutputWithContext(context.Context) GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketArrayOutput +} + +type GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketArray []GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketInput + +func (GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMigrationDataTransferMediumDetailsV2ObjectStorageBucket)(nil)).Elem() +} + +func (i GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketArray) ToGetMigrationDataTransferMediumDetailsV2ObjectStorageBucketArrayOutput() GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketArrayOutput { + return i.ToGetMigrationDataTransferMediumDetailsV2ObjectStorageBucketArrayOutputWithContext(context.Background()) +} + +func (i GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketArray) ToGetMigrationDataTransferMediumDetailsV2ObjectStorageBucketArrayOutputWithContext(ctx context.Context) GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketArrayOutput) +} + +func (i GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketArray) ToOutput(ctx context.Context) pulumix.Output[[]GetMigrationDataTransferMediumDetailsV2ObjectStorageBucket] { + return pulumix.Output[[]GetMigrationDataTransferMediumDetailsV2ObjectStorageBucket]{ + OutputState: i.ToGetMigrationDataTransferMediumDetailsV2ObjectStorageBucketArrayOutputWithContext(ctx).OutputState, + } +} + +type GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketOutput struct{ *pulumi.OutputState } + +func (GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMigrationDataTransferMediumDetailsV2ObjectStorageBucket)(nil)).Elem() +} + +func (o GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketOutput) ToGetMigrationDataTransferMediumDetailsV2ObjectStorageBucketOutput() GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketOutput { + return o +} + +func (o GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketOutput) ToGetMigrationDataTransferMediumDetailsV2ObjectStorageBucketOutputWithContext(ctx context.Context) GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketOutput { + return o +} + +func (o GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketOutput) ToOutput(ctx context.Context) pulumix.Output[GetMigrationDataTransferMediumDetailsV2ObjectStorageBucket] { + return pulumix.Output[GetMigrationDataTransferMediumDetailsV2ObjectStorageBucket]{ + OutputState: o.OutputState, + } +} + +// Bucket name. +func (o GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketOutput) Bucket() pulumi.StringOutput { + return o.ApplyT(func(v GetMigrationDataTransferMediumDetailsV2ObjectStorageBucket) string { return v.Bucket }).(pulumi.StringOutput) +} + +// Namespace name of the object store bucket. +func (o GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketOutput) Namespace() pulumi.StringOutput { + return o.ApplyT(func(v GetMigrationDataTransferMediumDetailsV2ObjectStorageBucket) string { return v.Namespace }).(pulumi.StringOutput) +} + +type GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketArrayOutput struct{ *pulumi.OutputState } + +func (GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMigrationDataTransferMediumDetailsV2ObjectStorageBucket)(nil)).Elem() +} + +func (o GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketArrayOutput) ToGetMigrationDataTransferMediumDetailsV2ObjectStorageBucketArrayOutput() GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketArrayOutput { + return o +} + +func (o GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketArrayOutput) ToGetMigrationDataTransferMediumDetailsV2ObjectStorageBucketArrayOutputWithContext(ctx context.Context) GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketArrayOutput { + return o +} + +func (o GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetMigrationDataTransferMediumDetailsV2ObjectStorageBucket] { + return pulumix.Output[[]GetMigrationDataTransferMediumDetailsV2ObjectStorageBucket]{ + OutputState: o.OutputState, + } +} + +func (o GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketArrayOutput) Index(i pulumi.IntInput) GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMigrationDataTransferMediumDetailsV2ObjectStorageBucket { + return vs[0].([]GetMigrationDataTransferMediumDetailsV2ObjectStorageBucket)[vs[1].(int)] + }).(GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketOutput) +} + type GetMigrationDatapumpSetting struct { // Optional parameters for Data Pump Export and Import. Refer to [Configuring Optional Initial Load Advanced Settings](https://docs.us.oracle.com/en/cloud/paas/database-migration/dmsus/working-migration-resources.html#GUID-24BD3054-FDF8-48FF-8492-636C1D4B71ED) DataPumpParameters []GetMigrationDatapumpSettingDataPumpParameter `pulumi:"dataPumpParameters"` @@ -13154,6 +13877,7 @@ func (o GetMigrationDatapumpSettingMetadataRemapArrayOutput) Index(i pulumi.IntI } type GetMigrationDumpTransferDetail struct { + SharedStorageMountTargetId string `pulumi:"sharedStorageMountTargetId"` // Optional additional properties for dump transfer in source or target host. Default kind is CURL Sources []GetMigrationDumpTransferDetailSource `pulumi:"sources"` // Optional additional properties for dump transfer in source or target host. Default kind is CURL @@ -13172,6 +13896,7 @@ type GetMigrationDumpTransferDetailInput interface { } type GetMigrationDumpTransferDetailArgs struct { + SharedStorageMountTargetId pulumi.StringInput `pulumi:"sharedStorageMountTargetId"` // Optional additional properties for dump transfer in source or target host. Default kind is CURL Sources GetMigrationDumpTransferDetailSourceArrayInput `pulumi:"sources"` // Optional additional properties for dump transfer in source or target host. Default kind is CURL @@ -13247,6 +13972,10 @@ func (o GetMigrationDumpTransferDetailOutput) ToOutput(ctx context.Context) pulu } } +func (o GetMigrationDumpTransferDetailOutput) SharedStorageMountTargetId() pulumi.StringOutput { + return o.ApplyT(func(v GetMigrationDumpTransferDetail) string { return v.SharedStorageMountTargetId }).(pulumi.StringOutput) +} + // Optional additional properties for dump transfer in source or target host. Default kind is CURL func (o GetMigrationDumpTransferDetailOutput) Sources() GetMigrationDumpTransferDetailSourceArrayOutput { return o.ApplyT(func(v GetMigrationDumpTransferDetail) []GetMigrationDumpTransferDetailSource { return v.Sources }).(GetMigrationDumpTransferDetailSourceArrayOutput) @@ -16967,7 +17696,8 @@ type GetMigrationsMigrationCollectionItem struct { CredentialsSecretId string `pulumi:"credentialsSecretId"` CsvText string `pulumi:"csvText"` // Data Transfer Medium details for the Migration. - DataTransferMediumDetails []GetMigrationsMigrationCollectionItemDataTransferMediumDetail `pulumi:"dataTransferMediumDetails"` + DataTransferMediumDetails []GetMigrationsMigrationCollectionItemDataTransferMediumDetail `pulumi:"dataTransferMediumDetails"` + DataTransferMediumDetailsV2s []GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2 `pulumi:"dataTransferMediumDetailsV2s"` // Optional settings for Data Pump Export and Import jobs DatapumpSettings []GetMigrationsMigrationCollectionItemDatapumpSetting `pulumi:"datapumpSettings"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` @@ -17038,7 +17768,8 @@ type GetMigrationsMigrationCollectionItemArgs struct { CredentialsSecretId pulumi.StringInput `pulumi:"credentialsSecretId"` CsvText pulumi.StringInput `pulumi:"csvText"` // Data Transfer Medium details for the Migration. - DataTransferMediumDetails GetMigrationsMigrationCollectionItemDataTransferMediumDetailArrayInput `pulumi:"dataTransferMediumDetails"` + DataTransferMediumDetails GetMigrationsMigrationCollectionItemDataTransferMediumDetailArrayInput `pulumi:"dataTransferMediumDetails"` + DataTransferMediumDetailsV2s GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ArrayInput `pulumi:"dataTransferMediumDetailsV2s"` // Optional settings for Data Pump Export and Import jobs DatapumpSettings GetMigrationsMigrationCollectionItemDatapumpSettingArrayInput `pulumi:"datapumpSettings"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` @@ -17189,6 +17920,12 @@ func (o GetMigrationsMigrationCollectionItemOutput) DataTransferMediumDetails() }).(GetMigrationsMigrationCollectionItemDataTransferMediumDetailArrayOutput) } +func (o GetMigrationsMigrationCollectionItemOutput) DataTransferMediumDetailsV2s() GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ArrayOutput { + return o.ApplyT(func(v GetMigrationsMigrationCollectionItem) []GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2 { + return v.DataTransferMediumDetailsV2s + }).(GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ArrayOutput) +} + // Optional settings for Data Pump Export and Import jobs func (o GetMigrationsMigrationCollectionItemOutput) DatapumpSettings() GetMigrationsMigrationCollectionItemDatapumpSettingArrayOutput { return o.ApplyT(func(v GetMigrationsMigrationCollectionItem) []GetMigrationsMigrationCollectionItemDatapumpSetting { @@ -18010,6 +18747,298 @@ func (o GetMigrationsMigrationCollectionItemDataTransferMediumDetailObjectStorag }).(GetMigrationsMigrationCollectionItemDataTransferMediumDetailObjectStorageDetailOutput) } +type GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2 struct { + AccessKeyId string `pulumi:"accessKeyId"` + // Name of directory object in database + Name string `pulumi:"name"` + ObjectStorageBuckets []GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucket `pulumi:"objectStorageBuckets"` + Region string `pulumi:"region"` + SecretAccessKey string `pulumi:"secretAccessKey"` + // Migration type. + Type string `pulumi:"type"` +} + +// GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2Input is an input type that accepts GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2Args and GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2Output values. +// You can construct a concrete instance of `GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2Input` via: +// +// GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2Args{...} +type GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2Input interface { + pulumi.Input + + ToGetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2Output() GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2Output + ToGetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2OutputWithContext(context.Context) GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2Output +} + +type GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2Args struct { + AccessKeyId pulumi.StringInput `pulumi:"accessKeyId"` + // Name of directory object in database + Name pulumi.StringInput `pulumi:"name"` + ObjectStorageBuckets GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketArrayInput `pulumi:"objectStorageBuckets"` + Region pulumi.StringInput `pulumi:"region"` + SecretAccessKey pulumi.StringInput `pulumi:"secretAccessKey"` + // Migration type. + Type pulumi.StringInput `pulumi:"type"` +} + +func (GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2Args) ElementType() reflect.Type { + return reflect.TypeOf((*GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2)(nil)).Elem() +} + +func (i GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2Args) ToGetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2Output() GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2Output { + return i.ToGetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2OutputWithContext(context.Background()) +} + +func (i GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2Args) ToGetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2OutputWithContext(ctx context.Context) GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2Output { + return pulumi.ToOutputWithContext(ctx, i).(GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2Output) +} + +func (i GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2Args) ToOutput(ctx context.Context) pulumix.Output[GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2] { + return pulumix.Output[GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2]{ + OutputState: i.ToGetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2OutputWithContext(ctx).OutputState, + } +} + +// GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ArrayInput is an input type that accepts GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2Array and GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ArrayOutput values. +// You can construct a concrete instance of `GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ArrayInput` via: +// +// GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2Array{ GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2Args{...} } +type GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ArrayInput interface { + pulumi.Input + + ToGetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ArrayOutput() GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ArrayOutput + ToGetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ArrayOutputWithContext(context.Context) GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ArrayOutput +} + +type GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2Array []GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2Input + +func (GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2Array) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2)(nil)).Elem() +} + +func (i GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2Array) ToGetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ArrayOutput() GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ArrayOutput { + return i.ToGetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ArrayOutputWithContext(context.Background()) +} + +func (i GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2Array) ToGetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ArrayOutputWithContext(ctx context.Context) GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ArrayOutput) +} + +func (i GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2Array) ToOutput(ctx context.Context) pulumix.Output[[]GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2] { + return pulumix.Output[[]GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2]{ + OutputState: i.ToGetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ArrayOutputWithContext(ctx).OutputState, + } +} + +type GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2Output struct{ *pulumi.OutputState } + +func (GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2Output) ElementType() reflect.Type { + return reflect.TypeOf((*GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2)(nil)).Elem() +} + +func (o GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2Output) ToGetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2Output() GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2Output { + return o +} + +func (o GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2Output) ToGetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2OutputWithContext(ctx context.Context) GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2Output { + return o +} + +func (o GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2Output) ToOutput(ctx context.Context) pulumix.Output[GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2] { + return pulumix.Output[GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2]{ + OutputState: o.OutputState, + } +} + +func (o GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2Output) AccessKeyId() pulumi.StringOutput { + return o.ApplyT(func(v GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2) string { return v.AccessKeyId }).(pulumi.StringOutput) +} + +// Name of directory object in database +func (o GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2Output) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2Output) ObjectStorageBuckets() GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketArrayOutput { + return o.ApplyT(func(v GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2) []GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucket { + return v.ObjectStorageBuckets + }).(GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketArrayOutput) +} + +func (o GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2Output) Region() pulumi.StringOutput { + return o.ApplyT(func(v GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2) string { return v.Region }).(pulumi.StringOutput) +} + +func (o GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2Output) SecretAccessKey() pulumi.StringOutput { + return o.ApplyT(func(v GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2) string { + return v.SecretAccessKey + }).(pulumi.StringOutput) +} + +// Migration type. +func (o GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2Output) Type() pulumi.StringOutput { + return o.ApplyT(func(v GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2) string { return v.Type }).(pulumi.StringOutput) +} + +type GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ArrayOutput struct{ *pulumi.OutputState } + +func (GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2)(nil)).Elem() +} + +func (o GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ArrayOutput) ToGetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ArrayOutput() GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ArrayOutput { + return o +} + +func (o GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ArrayOutput) ToGetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ArrayOutputWithContext(ctx context.Context) GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ArrayOutput { + return o +} + +func (o GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2] { + return pulumix.Output[[]GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2]{ + OutputState: o.OutputState, + } +} + +func (o GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ArrayOutput) Index(i pulumi.IntInput) GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2Output { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2 { + return vs[0].([]GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2)[vs[1].(int)] + }).(GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2Output) +} + +type GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucket struct { + // Bucket name. + Bucket string `pulumi:"bucket"` + // Namespace name of the object store bucket. + Namespace string `pulumi:"namespace"` +} + +// GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketInput is an input type that accepts GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketArgs and GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketOutput values. +// You can construct a concrete instance of `GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketInput` via: +// +// GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketArgs{...} +type GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketInput interface { + pulumi.Input + + ToGetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketOutput() GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketOutput + ToGetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketOutputWithContext(context.Context) GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketOutput +} + +type GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketArgs struct { + // Bucket name. + Bucket pulumi.StringInput `pulumi:"bucket"` + // Namespace name of the object store bucket. + Namespace pulumi.StringInput `pulumi:"namespace"` +} + +func (GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucket)(nil)).Elem() +} + +func (i GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketArgs) ToGetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketOutput() GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketOutput { + return i.ToGetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketOutputWithContext(context.Background()) +} + +func (i GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketArgs) ToGetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketOutputWithContext(ctx context.Context) GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketOutput) +} + +func (i GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketArgs) ToOutput(ctx context.Context) pulumix.Output[GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucket] { + return pulumix.Output[GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucket]{ + OutputState: i.ToGetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketOutputWithContext(ctx).OutputState, + } +} + +// GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketArrayInput is an input type that accepts GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketArray and GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketArrayOutput values. +// You can construct a concrete instance of `GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketArrayInput` via: +// +// GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketArray{ GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketArgs{...} } +type GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketArrayInput interface { + pulumi.Input + + ToGetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketArrayOutput() GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketArrayOutput + ToGetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketArrayOutputWithContext(context.Context) GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketArrayOutput +} + +type GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketArray []GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketInput + +func (GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucket)(nil)).Elem() +} + +func (i GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketArray) ToGetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketArrayOutput() GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketArrayOutput { + return i.ToGetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketArrayOutputWithContext(context.Background()) +} + +func (i GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketArray) ToGetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketArrayOutputWithContext(ctx context.Context) GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketArrayOutput) +} + +func (i GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketArray) ToOutput(ctx context.Context) pulumix.Output[[]GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucket] { + return pulumix.Output[[]GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucket]{ + OutputState: i.ToGetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketArrayOutputWithContext(ctx).OutputState, + } +} + +type GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketOutput struct{ *pulumi.OutputState } + +func (GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucket)(nil)).Elem() +} + +func (o GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketOutput) ToGetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketOutput() GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketOutput { + return o +} + +func (o GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketOutput) ToGetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketOutputWithContext(ctx context.Context) GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketOutput { + return o +} + +func (o GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketOutput) ToOutput(ctx context.Context) pulumix.Output[GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucket] { + return pulumix.Output[GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucket]{ + OutputState: o.OutputState, + } +} + +// Bucket name. +func (o GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketOutput) Bucket() pulumi.StringOutput { + return o.ApplyT(func(v GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucket) string { + return v.Bucket + }).(pulumi.StringOutput) +} + +// Namespace name of the object store bucket. +func (o GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketOutput) Namespace() pulumi.StringOutput { + return o.ApplyT(func(v GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucket) string { + return v.Namespace + }).(pulumi.StringOutput) +} + +type GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketArrayOutput struct{ *pulumi.OutputState } + +func (GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucket)(nil)).Elem() +} + +func (o GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketArrayOutput) ToGetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketArrayOutput() GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketArrayOutput { + return o +} + +func (o GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketArrayOutput) ToGetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketArrayOutputWithContext(ctx context.Context) GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketArrayOutput { + return o +} + +func (o GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucket] { + return pulumix.Output[[]GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucket]{ + OutputState: o.OutputState, + } +} + +func (o GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketArrayOutput) Index(i pulumi.IntInput) GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucket { + return vs[0].([]GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucket)[vs[1].(int)] + }).(GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketOutput) +} + type GetMigrationsMigrationCollectionItemDatapumpSetting struct { // Optional parameters for Data Pump Export and Import. Refer to [Configuring Optional Initial Load Advanced Settings](https://docs.us.oracle.com/en/cloud/paas/database-migration/dmsus/working-migration-resources.html#GUID-24BD3054-FDF8-48FF-8492-636C1D4B71ED) DataPumpParameters []GetMigrationsMigrationCollectionItemDatapumpSettingDataPumpParameter `pulumi:"dataPumpParameters"` @@ -18749,6 +19778,7 @@ func (o GetMigrationsMigrationCollectionItemDatapumpSettingMetadataRemapArrayOut } type GetMigrationsMigrationCollectionItemDumpTransferDetail struct { + SharedStorageMountTargetId string `pulumi:"sharedStorageMountTargetId"` // Optional additional properties for dump transfer in source or target host. Default kind is CURL Sources []GetMigrationsMigrationCollectionItemDumpTransferDetailSource `pulumi:"sources"` // Optional additional properties for dump transfer in source or target host. Default kind is CURL @@ -18767,6 +19797,7 @@ type GetMigrationsMigrationCollectionItemDumpTransferDetailInput interface { } type GetMigrationsMigrationCollectionItemDumpTransferDetailArgs struct { + SharedStorageMountTargetId pulumi.StringInput `pulumi:"sharedStorageMountTargetId"` // Optional additional properties for dump transfer in source or target host. Default kind is CURL Sources GetMigrationsMigrationCollectionItemDumpTransferDetailSourceArrayInput `pulumi:"sources"` // Optional additional properties for dump transfer in source or target host. Default kind is CURL @@ -18842,6 +19873,12 @@ func (o GetMigrationsMigrationCollectionItemDumpTransferDetailOutput) ToOutput(c } } +func (o GetMigrationsMigrationCollectionItemDumpTransferDetailOutput) SharedStorageMountTargetId() pulumi.StringOutput { + return o.ApplyT(func(v GetMigrationsMigrationCollectionItemDumpTransferDetail) string { + return v.SharedStorageMountTargetId + }).(pulumi.StringOutput) +} + // Optional additional properties for dump transfer in source or target host. Default kind is CURL func (o GetMigrationsMigrationCollectionItemDumpTransferDetailOutput) Sources() GetMigrationsMigrationCollectionItemDumpTransferDetailSourceArrayOutput { return o.ApplyT(func(v GetMigrationsMigrationCollectionItemDumpTransferDetail) []GetMigrationsMigrationCollectionItemDumpTransferDetailSource { @@ -22026,6 +23063,10 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*MigrationDataTransferMediumDetailsDatabaseLinkDetailsWalletBucketPtrInput)(nil)).Elem(), MigrationDataTransferMediumDetailsDatabaseLinkDetailsWalletBucketArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*MigrationDataTransferMediumDetailsObjectStorageDetailsInput)(nil)).Elem(), MigrationDataTransferMediumDetailsObjectStorageDetailsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*MigrationDataTransferMediumDetailsObjectStorageDetailsPtrInput)(nil)).Elem(), MigrationDataTransferMediumDetailsObjectStorageDetailsArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*MigrationDataTransferMediumDetailsV2Input)(nil)).Elem(), MigrationDataTransferMediumDetailsV2Args{}) + pulumi.RegisterInputType(reflect.TypeOf((*MigrationDataTransferMediumDetailsV2PtrInput)(nil)).Elem(), MigrationDataTransferMediumDetailsV2Args{}) + pulumi.RegisterInputType(reflect.TypeOf((*MigrationDataTransferMediumDetailsV2ObjectStorageBucketInput)(nil)).Elem(), MigrationDataTransferMediumDetailsV2ObjectStorageBucketArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*MigrationDataTransferMediumDetailsV2ObjectStorageBucketPtrInput)(nil)).Elem(), MigrationDataTransferMediumDetailsV2ObjectStorageBucketArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*MigrationDatapumpSettingsInput)(nil)).Elem(), MigrationDatapumpSettingsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*MigrationDatapumpSettingsPtrInput)(nil)).Elem(), MigrationDatapumpSettingsArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*MigrationDatapumpSettingsDataPumpParametersInput)(nil)).Elem(), MigrationDatapumpSettingsDataPumpParametersArgs{}) @@ -22140,6 +23181,10 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetMigrationDataTransferMediumDetailDatabaseLinkDetailWalletBucketArrayInput)(nil)).Elem(), GetMigrationDataTransferMediumDetailDatabaseLinkDetailWalletBucketArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetMigrationDataTransferMediumDetailObjectStorageDetailInput)(nil)).Elem(), GetMigrationDataTransferMediumDetailObjectStorageDetailArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetMigrationDataTransferMediumDetailObjectStorageDetailArrayInput)(nil)).Elem(), GetMigrationDataTransferMediumDetailObjectStorageDetailArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetMigrationDataTransferMediumDetailsV2Input)(nil)).Elem(), GetMigrationDataTransferMediumDetailsV2Args{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetMigrationDataTransferMediumDetailsV2ArrayInput)(nil)).Elem(), GetMigrationDataTransferMediumDetailsV2Array{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketInput)(nil)).Elem(), GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketArrayInput)(nil)).Elem(), GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetMigrationDatapumpSettingInput)(nil)).Elem(), GetMigrationDatapumpSettingArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetMigrationDatapumpSettingArrayInput)(nil)).Elem(), GetMigrationDatapumpSettingArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetMigrationDatapumpSettingDataPumpParameterInput)(nil)).Elem(), GetMigrationDatapumpSettingDataPumpParameterArgs{}) @@ -22218,6 +23263,10 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetMigrationsMigrationCollectionItemDataTransferMediumDetailDatabaseLinkDetailWalletBucketArrayInput)(nil)).Elem(), GetMigrationsMigrationCollectionItemDataTransferMediumDetailDatabaseLinkDetailWalletBucketArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetMigrationsMigrationCollectionItemDataTransferMediumDetailObjectStorageDetailInput)(nil)).Elem(), GetMigrationsMigrationCollectionItemDataTransferMediumDetailObjectStorageDetailArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetMigrationsMigrationCollectionItemDataTransferMediumDetailObjectStorageDetailArrayInput)(nil)).Elem(), GetMigrationsMigrationCollectionItemDataTransferMediumDetailObjectStorageDetailArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2Input)(nil)).Elem(), GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2Args{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ArrayInput)(nil)).Elem(), GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2Array{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketInput)(nil)).Elem(), GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketArrayInput)(nil)).Elem(), GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetMigrationsMigrationCollectionItemDatapumpSettingInput)(nil)).Elem(), GetMigrationsMigrationCollectionItemDatapumpSettingArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetMigrationsMigrationCollectionItemDatapumpSettingArrayInput)(nil)).Elem(), GetMigrationsMigrationCollectionItemDatapumpSettingArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetMigrationsMigrationCollectionItemDatapumpSettingDataPumpParameterInput)(nil)).Elem(), GetMigrationsMigrationCollectionItemDatapumpSettingDataPumpParameterArgs{}) @@ -22306,6 +23355,10 @@ func init() { pulumi.RegisterOutputType(MigrationDataTransferMediumDetailsDatabaseLinkDetailsWalletBucketPtrOutput{}) pulumi.RegisterOutputType(MigrationDataTransferMediumDetailsObjectStorageDetailsOutput{}) pulumi.RegisterOutputType(MigrationDataTransferMediumDetailsObjectStorageDetailsPtrOutput{}) + pulumi.RegisterOutputType(MigrationDataTransferMediumDetailsV2Output{}) + pulumi.RegisterOutputType(MigrationDataTransferMediumDetailsV2PtrOutput{}) + pulumi.RegisterOutputType(MigrationDataTransferMediumDetailsV2ObjectStorageBucketOutput{}) + pulumi.RegisterOutputType(MigrationDataTransferMediumDetailsV2ObjectStorageBucketPtrOutput{}) pulumi.RegisterOutputType(MigrationDatapumpSettingsOutput{}) pulumi.RegisterOutputType(MigrationDatapumpSettingsPtrOutput{}) pulumi.RegisterOutputType(MigrationDatapumpSettingsDataPumpParametersOutput{}) @@ -22420,6 +23473,10 @@ func init() { pulumi.RegisterOutputType(GetMigrationDataTransferMediumDetailDatabaseLinkDetailWalletBucketArrayOutput{}) pulumi.RegisterOutputType(GetMigrationDataTransferMediumDetailObjectStorageDetailOutput{}) pulumi.RegisterOutputType(GetMigrationDataTransferMediumDetailObjectStorageDetailArrayOutput{}) + pulumi.RegisterOutputType(GetMigrationDataTransferMediumDetailsV2Output{}) + pulumi.RegisterOutputType(GetMigrationDataTransferMediumDetailsV2ArrayOutput{}) + pulumi.RegisterOutputType(GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketOutput{}) + pulumi.RegisterOutputType(GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketArrayOutput{}) pulumi.RegisterOutputType(GetMigrationDatapumpSettingOutput{}) pulumi.RegisterOutputType(GetMigrationDatapumpSettingArrayOutput{}) pulumi.RegisterOutputType(GetMigrationDatapumpSettingDataPumpParameterOutput{}) @@ -22498,6 +23555,10 @@ func init() { pulumi.RegisterOutputType(GetMigrationsMigrationCollectionItemDataTransferMediumDetailDatabaseLinkDetailWalletBucketArrayOutput{}) pulumi.RegisterOutputType(GetMigrationsMigrationCollectionItemDataTransferMediumDetailObjectStorageDetailOutput{}) pulumi.RegisterOutputType(GetMigrationsMigrationCollectionItemDataTransferMediumDetailObjectStorageDetailArrayOutput{}) + pulumi.RegisterOutputType(GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2Output{}) + pulumi.RegisterOutputType(GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ArrayOutput{}) + pulumi.RegisterOutputType(GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketOutput{}) + pulumi.RegisterOutputType(GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketArrayOutput{}) pulumi.RegisterOutputType(GetMigrationsMigrationCollectionItemDatapumpSettingOutput{}) pulumi.RegisterOutputType(GetMigrationsMigrationCollectionItemDatapumpSettingArrayOutput{}) pulumi.RegisterOutputType(GetMigrationsMigrationCollectionItemDatapumpSettingDataPumpParameterOutput{}) diff --git a/sdk/go/oci/datacatalog/connection.go b/sdk/go/oci/datacatalog/connection.go index e36e1fe88e..b2d45c9de9 100644 --- a/sdk/go/oci/datacatalog/connection.go +++ b/sdk/go/oci/datacatalog/connection.go @@ -79,9 +79,8 @@ type Connection struct { // (Updatable) Indicates whether this connection is the default connection. The first connection of a data asset defaults to being the default, subsequent connections default to not being the default. If a default connection already exists, then trying to create a connection as the default will fail. In this case the default connection would need to be updated not to be the default and then the new connection can then be created as the default. IsDefault pulumi.BoolOutput `pulumi:"isDefault"` // Unique connection key that is immutable. - Key pulumi.StringOutput `pulumi:"key"` - // A map of maps that contains the properties which are specific to the connection type. Each connection type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most connections have required properties within the "default" category. Example: `{"properties": { "default": { "username": "user1"}}}` - Properties pulumi.MapOutput `pulumi:"properties"` + Key pulumi.StringOutput `pulumi:"key"` + Properties pulumi.MapOutput `pulumi:"properties"` // The current state of the connection. State pulumi.StringOutput `pulumi:"state"` // The date and time the connection was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2019-03-25T21:10:29.600Z` @@ -170,8 +169,7 @@ type connectionState struct { // (Updatable) Indicates whether this connection is the default connection. The first connection of a data asset defaults to being the default, subsequent connections default to not being the default. If a default connection already exists, then trying to create a connection as the default will fail. In this case the default connection would need to be updated not to be the default and then the new connection can then be created as the default. IsDefault *bool `pulumi:"isDefault"` // Unique connection key that is immutable. - Key *string `pulumi:"key"` - // A map of maps that contains the properties which are specific to the connection type. Each connection type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most connections have required properties within the "default" category. Example: `{"properties": { "default": { "username": "user1"}}}` + Key *string `pulumi:"key"` Properties map[string]interface{} `pulumi:"properties"` // The current state of the connection. State *string `pulumi:"state"` @@ -210,8 +208,7 @@ type ConnectionState struct { // (Updatable) Indicates whether this connection is the default connection. The first connection of a data asset defaults to being the default, subsequent connections default to not being the default. If a default connection already exists, then trying to create a connection as the default will fail. In this case the default connection would need to be updated not to be the default and then the new connection can then be created as the default. IsDefault pulumi.BoolPtrInput // Unique connection key that is immutable. - Key pulumi.StringPtrInput - // A map of maps that contains the properties which are specific to the connection type. Each connection type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most connections have required properties within the "default" category. Example: `{"properties": { "default": { "username": "user1"}}}` + Key pulumi.StringPtrInput Properties pulumi.MapInput // The current state of the connection. State pulumi.StringPtrInput @@ -248,8 +245,7 @@ type connectionArgs struct { // (Updatable) A map of maps that contains the encrypted values for sensitive properties which are specific to the connection type. Each connection type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most connections have required properties within the "default" category. To determine the set of optional and required properties for a connection type, a query can be done on '/types?type=connection' that returns a collection of all connection types. The appropriate connection type, which will include definitions of all of it's properties, can be identified from this collection. Example: `{"encProperties": { "default": { "password": "example-password"}}}` EncProperties map[string]interface{} `pulumi:"encProperties"` // (Updatable) Indicates whether this connection is the default connection. The first connection of a data asset defaults to being the default, subsequent connections default to not being the default. If a default connection already exists, then trying to create a connection as the default will fail. In this case the default connection would need to be updated not to be the default and then the new connection can then be created as the default. - IsDefault *bool `pulumi:"isDefault"` - // A map of maps that contains the properties which are specific to the connection type. Each connection type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most connections have required properties within the "default" category. Example: `{"properties": { "default": { "username": "user1"}}}` + IsDefault *bool `pulumi:"isDefault"` Properties map[string]interface{} `pulumi:"properties"` // The key of the object type. Type key's can be found via the '/types' endpoint. // @@ -271,8 +267,7 @@ type ConnectionArgs struct { // (Updatable) A map of maps that contains the encrypted values for sensitive properties which are specific to the connection type. Each connection type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most connections have required properties within the "default" category. To determine the set of optional and required properties for a connection type, a query can be done on '/types?type=connection' that returns a collection of all connection types. The appropriate connection type, which will include definitions of all of it's properties, can be identified from this collection. Example: `{"encProperties": { "default": { "password": "example-password"}}}` EncProperties pulumi.MapInput // (Updatable) Indicates whether this connection is the default connection. The first connection of a data asset defaults to being the default, subsequent connections default to not being the default. If a default connection already exists, then trying to create a connection as the default will fail. In this case the default connection would need to be updated not to be the default and then the new connection can then be created as the default. - IsDefault pulumi.BoolPtrInput - // A map of maps that contains the properties which are specific to the connection type. Each connection type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most connections have required properties within the "default" category. Example: `{"properties": { "default": { "username": "user1"}}}` + IsDefault pulumi.BoolPtrInput Properties pulumi.MapInput // The key of the object type. Type key's can be found via the '/types' endpoint. // @@ -437,7 +432,6 @@ func (o ConnectionOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v *Connection) pulumi.StringOutput { return v.Key }).(pulumi.StringOutput) } -// A map of maps that contains the properties which are specific to the connection type. Each connection type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most connections have required properties within the "default" category. Example: `{"properties": { "default": { "username": "user1"}}}` func (o ConnectionOutput) Properties() pulumi.MapOutput { return o.ApplyT(func(v *Connection) pulumi.MapOutput { return v.Properties }).(pulumi.MapOutput) } diff --git a/sdk/go/oci/datacatalog/dataAsset.go b/sdk/go/oci/datacatalog/dataAsset.go index b575365618..c4502fd721 100644 --- a/sdk/go/oci/datacatalog/dataAsset.go +++ b/sdk/go/oci/datacatalog/dataAsset.go @@ -73,8 +73,7 @@ type DataAsset struct { Key pulumi.StringOutput `pulumi:"key"` // A message describing the current state in more detail. An object not in ACTIVE state may have functional limitations, see service documentation for details. LifecycleDetails pulumi.StringOutput `pulumi:"lifecycleDetails"` - // A map of maps that contains the properties which are specific to the asset type. Each data asset type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most data assets have required properties within the "default" category. Example: `{"properties": { "default": { "host": "host1", "port": "1521", "database": "orcl"}}}` - Properties pulumi.MapOutput `pulumi:"properties"` + Properties pulumi.MapOutput `pulumi:"properties"` // The current state of the data asset. State pulumi.StringOutput `pulumi:"state"` // The date and time the data asset was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2019-03-25T21:10:29.600Z` @@ -146,9 +145,8 @@ type dataAssetState struct { // Unique data asset key that is immutable. Key *string `pulumi:"key"` // A message describing the current state in more detail. An object not in ACTIVE state may have functional limitations, see service documentation for details. - LifecycleDetails *string `pulumi:"lifecycleDetails"` - // A map of maps that contains the properties which are specific to the asset type. Each data asset type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most data assets have required properties within the "default" category. Example: `{"properties": { "default": { "host": "host1", "port": "1521", "database": "orcl"}}}` - Properties map[string]interface{} `pulumi:"properties"` + LifecycleDetails *string `pulumi:"lifecycleDetails"` + Properties map[string]interface{} `pulumi:"properties"` // The current state of the data asset. State *string `pulumi:"state"` // The date and time the data asset was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2019-03-25T21:10:29.600Z` @@ -183,8 +181,7 @@ type DataAssetState struct { Key pulumi.StringPtrInput // A message describing the current state in more detail. An object not in ACTIVE state may have functional limitations, see service documentation for details. LifecycleDetails pulumi.StringPtrInput - // A map of maps that contains the properties which are specific to the asset type. Each data asset type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most data assets have required properties within the "default" category. Example: `{"properties": { "default": { "host": "host1", "port": "1521", "database": "orcl"}}}` - Properties pulumi.MapInput + Properties pulumi.MapInput // The current state of the data asset. State pulumi.StringPtrInput // The date and time the data asset was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2019-03-25T21:10:29.600Z` @@ -214,9 +211,8 @@ type dataAssetArgs struct { // (Updatable) Detailed description of the data asset. Description *string `pulumi:"description"` // (Updatable) A user-friendly display name. Does not have to be unique, and it's changeable. Avoid entering confidential information. - DisplayName string `pulumi:"displayName"` - // A map of maps that contains the properties which are specific to the asset type. Each data asset type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most data assets have required properties within the "default" category. Example: `{"properties": { "default": { "host": "host1", "port": "1521", "database": "orcl"}}}` - Properties map[string]interface{} `pulumi:"properties"` + DisplayName string `pulumi:"displayName"` + Properties map[string]interface{} `pulumi:"properties"` // The key of the data asset type. This can be obtained via the '/types' endpoint. // // ** IMPORTANT ** @@ -232,8 +228,7 @@ type DataAssetArgs struct { Description pulumi.StringPtrInput // (Updatable) A user-friendly display name. Does not have to be unique, and it's changeable. Avoid entering confidential information. DisplayName pulumi.StringInput - // A map of maps that contains the properties which are specific to the asset type. Each data asset type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most data assets have required properties within the "default" category. Example: `{"properties": { "default": { "host": "host1", "port": "1521", "database": "orcl"}}}` - Properties pulumi.MapInput + Properties pulumi.MapInput // The key of the data asset type. This can be obtained via the '/types' endpoint. // // ** IMPORTANT ** @@ -387,7 +382,6 @@ func (o DataAssetOutput) LifecycleDetails() pulumi.StringOutput { return o.ApplyT(func(v *DataAsset) pulumi.StringOutput { return v.LifecycleDetails }).(pulumi.StringOutput) } -// A map of maps that contains the properties which are specific to the asset type. Each data asset type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most data assets have required properties within the "default" category. Example: `{"properties": { "default": { "host": "host1", "port": "1521", "database": "orcl"}}}` func (o DataAssetOutput) Properties() pulumi.MapOutput { return o.ApplyT(func(v *DataAsset) pulumi.MapOutput { return v.Properties }).(pulumi.MapOutput) } diff --git a/sdk/go/oci/datascience/getPrivateEndpoint.go b/sdk/go/oci/datascience/getPrivateEndpoint.go new file mode 100644 index 0000000000..c0179bdfb2 --- /dev/null +++ b/sdk/go/oci/datascience/getPrivateEndpoint.go @@ -0,0 +1,225 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package datascience + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-oci/sdk/go/oci/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" +) + +// This data source provides details about a specific Data Science Private Endpoint resource in Oracle Cloud Infrastructure Data Science service. +// +// Retrieves an private endpoint using a `privateEndpointId`. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/go/oci/DataScience" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := DataScience.GetPrivateEndpoint(ctx, &datascience.GetPrivateEndpointArgs{ +// DataSciencePrivateEndpointId: oci_datascience_private_endpoint.Test_data_science_private_endpoint.Id, +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func LookupPrivateEndpoint(ctx *pulumi.Context, args *LookupPrivateEndpointArgs, opts ...pulumi.InvokeOption) (*LookupPrivateEndpointResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupPrivateEndpointResult + err := ctx.Invoke("oci:DataScience/getPrivateEndpoint:getPrivateEndpoint", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getPrivateEndpoint. +type LookupPrivateEndpointArgs struct { + // The unique ID for a Data Science private endpoint. + DataSciencePrivateEndpointId string `pulumi:"dataSciencePrivateEndpointId"` +} + +// A collection of values returned by getPrivateEndpoint. +type LookupPrivateEndpointResult struct { + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create private endpoint. + CompartmentId string `pulumi:"compartmentId"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user that created the private endpoint. + CreatedBy string `pulumi:"createdBy"` + DataSciencePrivateEndpointId string `pulumi:"dataSciencePrivateEndpointId"` + // Data Science resource type. + DataScienceResourceType string `pulumi:"dataScienceResourceType"` + // Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` + DefinedTags map[string]interface{} `pulumi:"definedTags"` + // A user friendly description. Avoid entering confidential information. + Description string `pulumi:"description"` + // A user friendly name. It doesn't have to be unique. Avoid entering confidential information. + DisplayName string `pulumi:"displayName"` + // Accesing the Data Science resource using FQDN. + Fqdn string `pulumi:"fqdn"` + // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` + FreeformTags map[string]interface{} `pulumi:"freeformTags"` + // The OCID of a private endpoint. + Id string `pulumi:"id"` + // Details of the state of Data Science private endpoint. + LifecycleDetails string `pulumi:"lifecycleDetails"` + // An array of network security group OCIDs. + NsgIds []string `pulumi:"nsgIds"` + // State of the Data Science private endpoint. + State string `pulumi:"state"` + SubDomain string `pulumi:"subDomain"` + // The OCID of a subnet. + SubnetId string `pulumi:"subnetId"` + // The date and time that the Data Science private endpoint was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + TimeCreated string `pulumi:"timeCreated"` + // The date and time that the Data Science private endpoint was updated expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + TimeUpdated string `pulumi:"timeUpdated"` +} + +func LookupPrivateEndpointOutput(ctx *pulumi.Context, args LookupPrivateEndpointOutputArgs, opts ...pulumi.InvokeOption) LookupPrivateEndpointResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupPrivateEndpointResult, error) { + args := v.(LookupPrivateEndpointArgs) + r, err := LookupPrivateEndpoint(ctx, &args, opts...) + var s LookupPrivateEndpointResult + if r != nil { + s = *r + } + return s, err + }).(LookupPrivateEndpointResultOutput) +} + +// A collection of arguments for invoking getPrivateEndpoint. +type LookupPrivateEndpointOutputArgs struct { + // The unique ID for a Data Science private endpoint. + DataSciencePrivateEndpointId pulumi.StringInput `pulumi:"dataSciencePrivateEndpointId"` +} + +func (LookupPrivateEndpointOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupPrivateEndpointArgs)(nil)).Elem() +} + +// A collection of values returned by getPrivateEndpoint. +type LookupPrivateEndpointResultOutput struct{ *pulumi.OutputState } + +func (LookupPrivateEndpointResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupPrivateEndpointResult)(nil)).Elem() +} + +func (o LookupPrivateEndpointResultOutput) ToLookupPrivateEndpointResultOutput() LookupPrivateEndpointResultOutput { + return o +} + +func (o LookupPrivateEndpointResultOutput) ToLookupPrivateEndpointResultOutputWithContext(ctx context.Context) LookupPrivateEndpointResultOutput { + return o +} + +func (o LookupPrivateEndpointResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupPrivateEndpointResult] { + return pulumix.Output[LookupPrivateEndpointResult]{ + OutputState: o.OutputState, + } +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create private endpoint. +func (o LookupPrivateEndpointResultOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v LookupPrivateEndpointResult) string { return v.CompartmentId }).(pulumi.StringOutput) +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user that created the private endpoint. +func (o LookupPrivateEndpointResultOutput) CreatedBy() pulumi.StringOutput { + return o.ApplyT(func(v LookupPrivateEndpointResult) string { return v.CreatedBy }).(pulumi.StringOutput) +} + +func (o LookupPrivateEndpointResultOutput) DataSciencePrivateEndpointId() pulumi.StringOutput { + return o.ApplyT(func(v LookupPrivateEndpointResult) string { return v.DataSciencePrivateEndpointId }).(pulumi.StringOutput) +} + +// Data Science resource type. +func (o LookupPrivateEndpointResultOutput) DataScienceResourceType() pulumi.StringOutput { + return o.ApplyT(func(v LookupPrivateEndpointResult) string { return v.DataScienceResourceType }).(pulumi.StringOutput) +} + +// Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` +func (o LookupPrivateEndpointResultOutput) DefinedTags() pulumi.MapOutput { + return o.ApplyT(func(v LookupPrivateEndpointResult) map[string]interface{} { return v.DefinedTags }).(pulumi.MapOutput) +} + +// A user friendly description. Avoid entering confidential information. +func (o LookupPrivateEndpointResultOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v LookupPrivateEndpointResult) string { return v.Description }).(pulumi.StringOutput) +} + +// A user friendly name. It doesn't have to be unique. Avoid entering confidential information. +func (o LookupPrivateEndpointResultOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v LookupPrivateEndpointResult) string { return v.DisplayName }).(pulumi.StringOutput) +} + +// Accesing the Data Science resource using FQDN. +func (o LookupPrivateEndpointResultOutput) Fqdn() pulumi.StringOutput { + return o.ApplyT(func(v LookupPrivateEndpointResult) string { return v.Fqdn }).(pulumi.StringOutput) +} + +// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` +func (o LookupPrivateEndpointResultOutput) FreeformTags() pulumi.MapOutput { + return o.ApplyT(func(v LookupPrivateEndpointResult) map[string]interface{} { return v.FreeformTags }).(pulumi.MapOutput) +} + +// The OCID of a private endpoint. +func (o LookupPrivateEndpointResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupPrivateEndpointResult) string { return v.Id }).(pulumi.StringOutput) +} + +// Details of the state of Data Science private endpoint. +func (o LookupPrivateEndpointResultOutput) LifecycleDetails() pulumi.StringOutput { + return o.ApplyT(func(v LookupPrivateEndpointResult) string { return v.LifecycleDetails }).(pulumi.StringOutput) +} + +// An array of network security group OCIDs. +func (o LookupPrivateEndpointResultOutput) NsgIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v LookupPrivateEndpointResult) []string { return v.NsgIds }).(pulumi.StringArrayOutput) +} + +// State of the Data Science private endpoint. +func (o LookupPrivateEndpointResultOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v LookupPrivateEndpointResult) string { return v.State }).(pulumi.StringOutput) +} + +func (o LookupPrivateEndpointResultOutput) SubDomain() pulumi.StringOutput { + return o.ApplyT(func(v LookupPrivateEndpointResult) string { return v.SubDomain }).(pulumi.StringOutput) +} + +// The OCID of a subnet. +func (o LookupPrivateEndpointResultOutput) SubnetId() pulumi.StringOutput { + return o.ApplyT(func(v LookupPrivateEndpointResult) string { return v.SubnetId }).(pulumi.StringOutput) +} + +// The date and time that the Data Science private endpoint was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` +func (o LookupPrivateEndpointResultOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v LookupPrivateEndpointResult) string { return v.TimeCreated }).(pulumi.StringOutput) +} + +// The date and time that the Data Science private endpoint was updated expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` +func (o LookupPrivateEndpointResultOutput) TimeUpdated() pulumi.StringOutput { + return o.ApplyT(func(v LookupPrivateEndpointResult) string { return v.TimeUpdated }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupPrivateEndpointResultOutput{}) +} diff --git a/sdk/go/oci/datascience/getPrivateEndpoints.go b/sdk/go/oci/datascience/getPrivateEndpoints.go new file mode 100644 index 0000000000..e7a7d1452e --- /dev/null +++ b/sdk/go/oci/datascience/getPrivateEndpoints.go @@ -0,0 +1,188 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package datascience + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-oci/sdk/go/oci/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" +) + +// This data source provides the list of Data Science Private Endpoints in Oracle Cloud Infrastructure Data Science service. +// +// Lists all Data Science private endpoints in the specified compartment. The query must include compartmentId. The query can also include one other parameter. If the query doesn't include compartmentId, or includes compartmentId with two or more other parameters, then an error is returned. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/go/oci/DataScience" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := DataScience.GetPrivateEndpoints(ctx, &datascience.GetPrivateEndpointsArgs{ +// CompartmentId: _var.Compartment_id, +// CreatedBy: pulumi.StringRef(_var.Data_science_private_endpoint_created_by), +// DataScienceResourceType: pulumi.StringRef(_var.Data_science_private_endpoint_data_science_resource_type), +// DisplayName: pulumi.StringRef(_var.Data_science_private_endpoint_display_name), +// State: pulumi.StringRef(_var.Data_science_private_endpoint_state), +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func GetPrivateEndpoints(ctx *pulumi.Context, args *GetPrivateEndpointsArgs, opts ...pulumi.InvokeOption) (*GetPrivateEndpointsResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetPrivateEndpointsResult + err := ctx.Invoke("oci:DataScience/getPrivateEndpoints:getPrivateEndpoints", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getPrivateEndpoints. +type GetPrivateEndpointsArgs struct { + // Filter results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + CompartmentId string `pulumi:"compartmentId"` + // Filter results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the resource. + CreatedBy *string `pulumi:"createdBy"` + // Resource types in the Data Science service such as notebooks. + DataScienceResourceType *string `pulumi:"dataScienceResourceType"` + // Filter results by its user-friendly name. + DisplayName *string `pulumi:"displayName"` + Filters []GetPrivateEndpointsFilter `pulumi:"filters"` + // The lifecycle state of the private endpoint. + State *string `pulumi:"state"` +} + +// A collection of values returned by getPrivateEndpoints. +type GetPrivateEndpointsResult struct { + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create private endpoint. + CompartmentId string `pulumi:"compartmentId"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user that created the private endpoint. + CreatedBy *string `pulumi:"createdBy"` + // The list of data_science_private_endpoints. + DataSciencePrivateEndpoints []GetPrivateEndpointsDataSciencePrivateEndpoint `pulumi:"dataSciencePrivateEndpoints"` + // Data Science resource type. + DataScienceResourceType *string `pulumi:"dataScienceResourceType"` + // A user friendly name. It doesn't have to be unique. Avoid entering confidential information. + DisplayName *string `pulumi:"displayName"` + Filters []GetPrivateEndpointsFilter `pulumi:"filters"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` + // State of the Data Science private endpoint. + State *string `pulumi:"state"` +} + +func GetPrivateEndpointsOutput(ctx *pulumi.Context, args GetPrivateEndpointsOutputArgs, opts ...pulumi.InvokeOption) GetPrivateEndpointsResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetPrivateEndpointsResult, error) { + args := v.(GetPrivateEndpointsArgs) + r, err := GetPrivateEndpoints(ctx, &args, opts...) + var s GetPrivateEndpointsResult + if r != nil { + s = *r + } + return s, err + }).(GetPrivateEndpointsResultOutput) +} + +// A collection of arguments for invoking getPrivateEndpoints. +type GetPrivateEndpointsOutputArgs struct { + // Filter results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + CompartmentId pulumi.StringInput `pulumi:"compartmentId"` + // Filter results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the resource. + CreatedBy pulumi.StringPtrInput `pulumi:"createdBy"` + // Resource types in the Data Science service such as notebooks. + DataScienceResourceType pulumi.StringPtrInput `pulumi:"dataScienceResourceType"` + // Filter results by its user-friendly name. + DisplayName pulumi.StringPtrInput `pulumi:"displayName"` + Filters GetPrivateEndpointsFilterArrayInput `pulumi:"filters"` + // The lifecycle state of the private endpoint. + State pulumi.StringPtrInput `pulumi:"state"` +} + +func (GetPrivateEndpointsOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPrivateEndpointsArgs)(nil)).Elem() +} + +// A collection of values returned by getPrivateEndpoints. +type GetPrivateEndpointsResultOutput struct{ *pulumi.OutputState } + +func (GetPrivateEndpointsResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPrivateEndpointsResult)(nil)).Elem() +} + +func (o GetPrivateEndpointsResultOutput) ToGetPrivateEndpointsResultOutput() GetPrivateEndpointsResultOutput { + return o +} + +func (o GetPrivateEndpointsResultOutput) ToGetPrivateEndpointsResultOutputWithContext(ctx context.Context) GetPrivateEndpointsResultOutput { + return o +} + +func (o GetPrivateEndpointsResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetPrivateEndpointsResult] { + return pulumix.Output[GetPrivateEndpointsResult]{ + OutputState: o.OutputState, + } +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create private endpoint. +func (o GetPrivateEndpointsResultOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v GetPrivateEndpointsResult) string { return v.CompartmentId }).(pulumi.StringOutput) +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user that created the private endpoint. +func (o GetPrivateEndpointsResultOutput) CreatedBy() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetPrivateEndpointsResult) *string { return v.CreatedBy }).(pulumi.StringPtrOutput) +} + +// The list of data_science_private_endpoints. +func (o GetPrivateEndpointsResultOutput) DataSciencePrivateEndpoints() GetPrivateEndpointsDataSciencePrivateEndpointArrayOutput { + return o.ApplyT(func(v GetPrivateEndpointsResult) []GetPrivateEndpointsDataSciencePrivateEndpoint { + return v.DataSciencePrivateEndpoints + }).(GetPrivateEndpointsDataSciencePrivateEndpointArrayOutput) +} + +// Data Science resource type. +func (o GetPrivateEndpointsResultOutput) DataScienceResourceType() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetPrivateEndpointsResult) *string { return v.DataScienceResourceType }).(pulumi.StringPtrOutput) +} + +// A user friendly name. It doesn't have to be unique. Avoid entering confidential information. +func (o GetPrivateEndpointsResultOutput) DisplayName() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetPrivateEndpointsResult) *string { return v.DisplayName }).(pulumi.StringPtrOutput) +} + +func (o GetPrivateEndpointsResultOutput) Filters() GetPrivateEndpointsFilterArrayOutput { + return o.ApplyT(func(v GetPrivateEndpointsResult) []GetPrivateEndpointsFilter { return v.Filters }).(GetPrivateEndpointsFilterArrayOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetPrivateEndpointsResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetPrivateEndpointsResult) string { return v.Id }).(pulumi.StringOutput) +} + +// State of the Data Science private endpoint. +func (o GetPrivateEndpointsResultOutput) State() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetPrivateEndpointsResult) *string { return v.State }).(pulumi.StringPtrOutput) +} + +func init() { + pulumi.RegisterOutputType(GetPrivateEndpointsResultOutput{}) +} diff --git a/sdk/go/oci/datascience/init.go b/sdk/go/oci/datascience/init.go index fa7c0963b5..bfe4a7d54d 100644 --- a/sdk/go/oci/datascience/init.go +++ b/sdk/go/oci/datascience/init.go @@ -43,6 +43,8 @@ func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi r = &Pipeline{} case "oci:DataScience/pipelineRun:PipelineRun": r = &PipelineRun{} + case "oci:DataScience/privateEndpoint:PrivateEndpoint": + r = &PrivateEndpoint{} case "oci:DataScience/project:Project": r = &Project{} default: @@ -113,6 +115,11 @@ func init() { "DataScience/pipelineRun", &module{version}, ) + pulumi.RegisterResourceModule( + "oci", + "DataScience/privateEndpoint", + &module{version}, + ) pulumi.RegisterResourceModule( "oci", "DataScience/project", diff --git a/sdk/go/oci/datascience/notebookSession.go b/sdk/go/oci/datascience/notebookSession.go index 0171b95365..2ce56a3532 100644 --- a/sdk/go/oci/datascience/notebookSession.go +++ b/sdk/go/oci/datascience/notebookSession.go @@ -48,7 +48,8 @@ import ( // MemoryInGbs: pulumi.Any(_var.Notebook_session_notebook_session_config_details_notebook_session_shape_config_details_memory_in_gbs), // Ocpus: pulumi.Any(_var.Notebook_session_notebook_session_config_details_notebook_session_shape_config_details_ocpus), // }, -// SubnetId: pulumi.Any(oci_core_subnet.Test_subnet.Id), +// PrivateEndpointId: pulumi.Any(oci_dataflow_private_endpoint.Test_private_endpoint.Id), +// SubnetId: pulumi.Any(oci_core_subnet.Test_subnet.Id), // }, // NotebookSessionConfigurationDetails: &datascience.NotebookSessionNotebookSessionConfigurationDetailsArgs{ // Shape: pulumi.Any(_var.Notebook_session_notebook_session_configuration_details_shape), @@ -58,6 +59,7 @@ import ( // MemoryInGbs: pulumi.Any(_var.Notebook_session_notebook_session_configuration_details_notebook_session_shape_config_details_memory_in_gbs), // Ocpus: pulumi.Any(_var.Notebook_session_notebook_session_configuration_details_notebook_session_shape_config_details_ocpus), // }, +// PrivateEndpointId: pulumi.Any(oci_dataflow_private_endpoint.Test_private_endpoint.Id), // }, // NotebookSessionRuntimeConfigDetails: &datascience.NotebookSessionNotebookSessionRuntimeConfigDetailsArgs{ // CustomEnvironmentVariables: pulumi.Any(_var.Notebook_session_notebook_session_runtime_config_details_custom_environment_variables), diff --git a/sdk/go/oci/datascience/privateEndpoint.go b/sdk/go/oci/datascience/privateEndpoint.go new file mode 100644 index 0000000000..c8a0f1f255 --- /dev/null +++ b/sdk/go/oci/datascience/privateEndpoint.go @@ -0,0 +1,516 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package datascience + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-oci/sdk/go/oci/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" +) + +// This resource provides the Data Science Private Endpoint resource in Oracle Cloud Infrastructure Data Science service. +// +// Creates a Data Science private endpoint to be used by a Data Science resource. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/go/oci/DataScience" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := DataScience.NewPrivateEndpoint(ctx, "testDataSciencePrivateEndpoint", &DataScience.PrivateEndpointArgs{ +// CompartmentId: pulumi.Any(_var.Compartment_id), +// DataScienceResourceType: pulumi.Any(_var.Data_science_private_endpoint_data_science_resource_type), +// SubnetId: pulumi.Any(oci_core_subnet.Test_subnet.Id), +// DefinedTags: pulumi.AnyMap{ +// "Operations.CostCenter": pulumi.Any("42"), +// }, +// Description: pulumi.Any(_var.Data_science_private_endpoint_description), +// DisplayName: pulumi.Any(_var.Data_science_private_endpoint_display_name), +// FreeformTags: pulumi.AnyMap{ +// "Department": pulumi.Any("Finance"), +// }, +// NsgIds: pulumi.Any(_var.Data_science_private_endpoint_nsg_ids), +// SubDomain: pulumi.Any(_var.Data_science_private_endpoint_sub_domain), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// +// ## Import +// +// DataSciencePrivateEndpoints can be imported using the `id`, e.g. +// +// ```sh +// +// $ pulumi import oci:DataScience/privateEndpoint:PrivateEndpoint test_data_science_private_endpoint "id" +// +// ``` +type PrivateEndpoint struct { + pulumi.CustomResourceState + + // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the private endpoint. + CompartmentId pulumi.StringOutput `pulumi:"compartmentId"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user that created the private endpoint. + CreatedBy pulumi.StringOutput `pulumi:"createdBy"` + // Data Science resource type. + DataScienceResourceType pulumi.StringOutput `pulumi:"dataScienceResourceType"` + // (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` + DefinedTags pulumi.MapOutput `pulumi:"definedTags"` + // (Updatable) A user friendly description. Avoid entering confidential information. + Description pulumi.StringOutput `pulumi:"description"` + // (Updatable) A user friendly name. It doesn't have to be unique. Avoid entering confidential information. + DisplayName pulumi.StringOutput `pulumi:"displayName"` + // Accesing the Data Science resource using FQDN. + Fqdn pulumi.StringOutput `pulumi:"fqdn"` + // (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` + FreeformTags pulumi.MapOutput `pulumi:"freeformTags"` + // Details of the state of Data Science private endpoint. + LifecycleDetails pulumi.StringOutput `pulumi:"lifecycleDetails"` + // (Updatable) An array of network security group OCIDs. + NsgIds pulumi.StringArrayOutput `pulumi:"nsgIds"` + // State of the Data Science private endpoint. + State pulumi.StringOutput `pulumi:"state"` + // Subdomain for a private endpoint FQDN. + SubDomain pulumi.StringOutput `pulumi:"subDomain"` + // The OCID of the subnet. + // + // ** 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 + SubnetId pulumi.StringOutput `pulumi:"subnetId"` + // The date and time that the Data Science private endpoint was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + TimeCreated pulumi.StringOutput `pulumi:"timeCreated"` + // The date and time that the Data Science private endpoint was updated expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + TimeUpdated pulumi.StringOutput `pulumi:"timeUpdated"` +} + +// NewPrivateEndpoint registers a new resource with the given unique name, arguments, and options. +func NewPrivateEndpoint(ctx *pulumi.Context, + name string, args *PrivateEndpointArgs, opts ...pulumi.ResourceOption) (*PrivateEndpoint, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.CompartmentId == nil { + return nil, errors.New("invalid value for required argument 'CompartmentId'") + } + if args.DataScienceResourceType == nil { + return nil, errors.New("invalid value for required argument 'DataScienceResourceType'") + } + if args.SubnetId == nil { + return nil, errors.New("invalid value for required argument 'SubnetId'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource PrivateEndpoint + err := ctx.RegisterResource("oci:DataScience/privateEndpoint:PrivateEndpoint", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetPrivateEndpoint gets an existing PrivateEndpoint resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetPrivateEndpoint(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *PrivateEndpointState, opts ...pulumi.ResourceOption) (*PrivateEndpoint, error) { + var resource PrivateEndpoint + err := ctx.ReadResource("oci:DataScience/privateEndpoint:PrivateEndpoint", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering PrivateEndpoint resources. +type privateEndpointState struct { + // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the private endpoint. + CompartmentId *string `pulumi:"compartmentId"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user that created the private endpoint. + CreatedBy *string `pulumi:"createdBy"` + // Data Science resource type. + DataScienceResourceType *string `pulumi:"dataScienceResourceType"` + // (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` + DefinedTags map[string]interface{} `pulumi:"definedTags"` + // (Updatable) A user friendly description. Avoid entering confidential information. + Description *string `pulumi:"description"` + // (Updatable) A user friendly name. It doesn't have to be unique. Avoid entering confidential information. + DisplayName *string `pulumi:"displayName"` + // Accesing the Data Science resource using FQDN. + Fqdn *string `pulumi:"fqdn"` + // (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` + FreeformTags map[string]interface{} `pulumi:"freeformTags"` + // Details of the state of Data Science private endpoint. + LifecycleDetails *string `pulumi:"lifecycleDetails"` + // (Updatable) An array of network security group OCIDs. + NsgIds []string `pulumi:"nsgIds"` + // State of the Data Science private endpoint. + State *string `pulumi:"state"` + // Subdomain for a private endpoint FQDN. + SubDomain *string `pulumi:"subDomain"` + // The OCID of the subnet. + // + // ** 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 + SubnetId *string `pulumi:"subnetId"` + // The date and time that the Data Science private endpoint was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + TimeCreated *string `pulumi:"timeCreated"` + // The date and time that the Data Science private endpoint was updated expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + TimeUpdated *string `pulumi:"timeUpdated"` +} + +type PrivateEndpointState struct { + // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the private endpoint. + CompartmentId pulumi.StringPtrInput + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user that created the private endpoint. + CreatedBy pulumi.StringPtrInput + // Data Science resource type. + DataScienceResourceType pulumi.StringPtrInput + // (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` + DefinedTags pulumi.MapInput + // (Updatable) A user friendly description. Avoid entering confidential information. + Description pulumi.StringPtrInput + // (Updatable) A user friendly name. It doesn't have to be unique. Avoid entering confidential information. + DisplayName pulumi.StringPtrInput + // Accesing the Data Science resource using FQDN. + Fqdn pulumi.StringPtrInput + // (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` + FreeformTags pulumi.MapInput + // Details of the state of Data Science private endpoint. + LifecycleDetails pulumi.StringPtrInput + // (Updatable) An array of network security group OCIDs. + NsgIds pulumi.StringArrayInput + // State of the Data Science private endpoint. + State pulumi.StringPtrInput + // Subdomain for a private endpoint FQDN. + SubDomain pulumi.StringPtrInput + // The OCID of the subnet. + // + // ** 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 + SubnetId pulumi.StringPtrInput + // The date and time that the Data Science private endpoint was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + TimeCreated pulumi.StringPtrInput + // The date and time that the Data Science private endpoint was updated expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + TimeUpdated pulumi.StringPtrInput +} + +func (PrivateEndpointState) ElementType() reflect.Type { + return reflect.TypeOf((*privateEndpointState)(nil)).Elem() +} + +type privateEndpointArgs struct { + // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the private endpoint. + CompartmentId string `pulumi:"compartmentId"` + // Data Science resource type. + DataScienceResourceType string `pulumi:"dataScienceResourceType"` + // (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` + DefinedTags map[string]interface{} `pulumi:"definedTags"` + // (Updatable) A user friendly description. Avoid entering confidential information. + Description *string `pulumi:"description"` + // (Updatable) A user friendly name. It doesn't have to be unique. Avoid entering confidential information. + DisplayName *string `pulumi:"displayName"` + // (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` + FreeformTags map[string]interface{} `pulumi:"freeformTags"` + // (Updatable) An array of network security group OCIDs. + NsgIds []string `pulumi:"nsgIds"` + // Subdomain for a private endpoint FQDN. + SubDomain *string `pulumi:"subDomain"` + // The OCID of the subnet. + // + // ** 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 + SubnetId string `pulumi:"subnetId"` +} + +// The set of arguments for constructing a PrivateEndpoint resource. +type PrivateEndpointArgs struct { + // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the private endpoint. + CompartmentId pulumi.StringInput + // Data Science resource type. + DataScienceResourceType pulumi.StringInput + // (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` + DefinedTags pulumi.MapInput + // (Updatable) A user friendly description. Avoid entering confidential information. + Description pulumi.StringPtrInput + // (Updatable) A user friendly name. It doesn't have to be unique. Avoid entering confidential information. + DisplayName pulumi.StringPtrInput + // (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` + FreeformTags pulumi.MapInput + // (Updatable) An array of network security group OCIDs. + NsgIds pulumi.StringArrayInput + // Subdomain for a private endpoint FQDN. + SubDomain pulumi.StringPtrInput + // The OCID of the subnet. + // + // ** 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 + SubnetId pulumi.StringInput +} + +func (PrivateEndpointArgs) ElementType() reflect.Type { + return reflect.TypeOf((*privateEndpointArgs)(nil)).Elem() +} + +type PrivateEndpointInput interface { + pulumi.Input + + ToPrivateEndpointOutput() PrivateEndpointOutput + ToPrivateEndpointOutputWithContext(ctx context.Context) PrivateEndpointOutput +} + +func (*PrivateEndpoint) ElementType() reflect.Type { + return reflect.TypeOf((**PrivateEndpoint)(nil)).Elem() +} + +func (i *PrivateEndpoint) ToPrivateEndpointOutput() PrivateEndpointOutput { + return i.ToPrivateEndpointOutputWithContext(context.Background()) +} + +func (i *PrivateEndpoint) ToPrivateEndpointOutputWithContext(ctx context.Context) PrivateEndpointOutput { + return pulumi.ToOutputWithContext(ctx, i).(PrivateEndpointOutput) +} + +func (i *PrivateEndpoint) ToOutput(ctx context.Context) pulumix.Output[*PrivateEndpoint] { + return pulumix.Output[*PrivateEndpoint]{ + OutputState: i.ToPrivateEndpointOutputWithContext(ctx).OutputState, + } +} + +// PrivateEndpointArrayInput is an input type that accepts PrivateEndpointArray and PrivateEndpointArrayOutput values. +// You can construct a concrete instance of `PrivateEndpointArrayInput` via: +// +// PrivateEndpointArray{ PrivateEndpointArgs{...} } +type PrivateEndpointArrayInput interface { + pulumi.Input + + ToPrivateEndpointArrayOutput() PrivateEndpointArrayOutput + ToPrivateEndpointArrayOutputWithContext(context.Context) PrivateEndpointArrayOutput +} + +type PrivateEndpointArray []PrivateEndpointInput + +func (PrivateEndpointArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*PrivateEndpoint)(nil)).Elem() +} + +func (i PrivateEndpointArray) ToPrivateEndpointArrayOutput() PrivateEndpointArrayOutput { + return i.ToPrivateEndpointArrayOutputWithContext(context.Background()) +} + +func (i PrivateEndpointArray) ToPrivateEndpointArrayOutputWithContext(ctx context.Context) PrivateEndpointArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(PrivateEndpointArrayOutput) +} + +func (i PrivateEndpointArray) ToOutput(ctx context.Context) pulumix.Output[[]*PrivateEndpoint] { + return pulumix.Output[[]*PrivateEndpoint]{ + OutputState: i.ToPrivateEndpointArrayOutputWithContext(ctx).OutputState, + } +} + +// PrivateEndpointMapInput is an input type that accepts PrivateEndpointMap and PrivateEndpointMapOutput values. +// You can construct a concrete instance of `PrivateEndpointMapInput` via: +// +// PrivateEndpointMap{ "key": PrivateEndpointArgs{...} } +type PrivateEndpointMapInput interface { + pulumi.Input + + ToPrivateEndpointMapOutput() PrivateEndpointMapOutput + ToPrivateEndpointMapOutputWithContext(context.Context) PrivateEndpointMapOutput +} + +type PrivateEndpointMap map[string]PrivateEndpointInput + +func (PrivateEndpointMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*PrivateEndpoint)(nil)).Elem() +} + +func (i PrivateEndpointMap) ToPrivateEndpointMapOutput() PrivateEndpointMapOutput { + return i.ToPrivateEndpointMapOutputWithContext(context.Background()) +} + +func (i PrivateEndpointMap) ToPrivateEndpointMapOutputWithContext(ctx context.Context) PrivateEndpointMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(PrivateEndpointMapOutput) +} + +func (i PrivateEndpointMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*PrivateEndpoint] { + return pulumix.Output[map[string]*PrivateEndpoint]{ + OutputState: i.ToPrivateEndpointMapOutputWithContext(ctx).OutputState, + } +} + +type PrivateEndpointOutput struct{ *pulumi.OutputState } + +func (PrivateEndpointOutput) ElementType() reflect.Type { + return reflect.TypeOf((**PrivateEndpoint)(nil)).Elem() +} + +func (o PrivateEndpointOutput) ToPrivateEndpointOutput() PrivateEndpointOutput { + return o +} + +func (o PrivateEndpointOutput) ToPrivateEndpointOutputWithContext(ctx context.Context) PrivateEndpointOutput { + return o +} + +func (o PrivateEndpointOutput) ToOutput(ctx context.Context) pulumix.Output[*PrivateEndpoint] { + return pulumix.Output[*PrivateEndpoint]{ + OutputState: o.OutputState, + } +} + +// (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the private endpoint. +func (o PrivateEndpointOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v *PrivateEndpoint) pulumi.StringOutput { return v.CompartmentId }).(pulumi.StringOutput) +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user that created the private endpoint. +func (o PrivateEndpointOutput) CreatedBy() pulumi.StringOutput { + return o.ApplyT(func(v *PrivateEndpoint) pulumi.StringOutput { return v.CreatedBy }).(pulumi.StringOutput) +} + +// Data Science resource type. +func (o PrivateEndpointOutput) DataScienceResourceType() pulumi.StringOutput { + return o.ApplyT(func(v *PrivateEndpoint) pulumi.StringOutput { return v.DataScienceResourceType }).(pulumi.StringOutput) +} + +// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` +func (o PrivateEndpointOutput) DefinedTags() pulumi.MapOutput { + return o.ApplyT(func(v *PrivateEndpoint) pulumi.MapOutput { return v.DefinedTags }).(pulumi.MapOutput) +} + +// (Updatable) A user friendly description. Avoid entering confidential information. +func (o PrivateEndpointOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v *PrivateEndpoint) pulumi.StringOutput { return v.Description }).(pulumi.StringOutput) +} + +// (Updatable) A user friendly name. It doesn't have to be unique. Avoid entering confidential information. +func (o PrivateEndpointOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v *PrivateEndpoint) pulumi.StringOutput { return v.DisplayName }).(pulumi.StringOutput) +} + +// Accesing the Data Science resource using FQDN. +func (o PrivateEndpointOutput) Fqdn() pulumi.StringOutput { + return o.ApplyT(func(v *PrivateEndpoint) pulumi.StringOutput { return v.Fqdn }).(pulumi.StringOutput) +} + +// (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` +func (o PrivateEndpointOutput) FreeformTags() pulumi.MapOutput { + return o.ApplyT(func(v *PrivateEndpoint) pulumi.MapOutput { return v.FreeformTags }).(pulumi.MapOutput) +} + +// Details of the state of Data Science private endpoint. +func (o PrivateEndpointOutput) LifecycleDetails() pulumi.StringOutput { + return o.ApplyT(func(v *PrivateEndpoint) pulumi.StringOutput { return v.LifecycleDetails }).(pulumi.StringOutput) +} + +// (Updatable) An array of network security group OCIDs. +func (o PrivateEndpointOutput) NsgIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v *PrivateEndpoint) pulumi.StringArrayOutput { return v.NsgIds }).(pulumi.StringArrayOutput) +} + +// State of the Data Science private endpoint. +func (o PrivateEndpointOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v *PrivateEndpoint) pulumi.StringOutput { return v.State }).(pulumi.StringOutput) +} + +// Subdomain for a private endpoint FQDN. +func (o PrivateEndpointOutput) SubDomain() pulumi.StringOutput { + return o.ApplyT(func(v *PrivateEndpoint) pulumi.StringOutput { return v.SubDomain }).(pulumi.StringOutput) +} + +// The OCID of the subnet. +// +// ** 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 +func (o PrivateEndpointOutput) SubnetId() pulumi.StringOutput { + return o.ApplyT(func(v *PrivateEndpoint) pulumi.StringOutput { return v.SubnetId }).(pulumi.StringOutput) +} + +// The date and time that the Data Science private endpoint was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` +func (o PrivateEndpointOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v *PrivateEndpoint) pulumi.StringOutput { return v.TimeCreated }).(pulumi.StringOutput) +} + +// The date and time that the Data Science private endpoint was updated expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` +func (o PrivateEndpointOutput) TimeUpdated() pulumi.StringOutput { + return o.ApplyT(func(v *PrivateEndpoint) pulumi.StringOutput { return v.TimeUpdated }).(pulumi.StringOutput) +} + +type PrivateEndpointArrayOutput struct{ *pulumi.OutputState } + +func (PrivateEndpointArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*PrivateEndpoint)(nil)).Elem() +} + +func (o PrivateEndpointArrayOutput) ToPrivateEndpointArrayOutput() PrivateEndpointArrayOutput { + return o +} + +func (o PrivateEndpointArrayOutput) ToPrivateEndpointArrayOutputWithContext(ctx context.Context) PrivateEndpointArrayOutput { + return o +} + +func (o PrivateEndpointArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*PrivateEndpoint] { + return pulumix.Output[[]*PrivateEndpoint]{ + OutputState: o.OutputState, + } +} + +func (o PrivateEndpointArrayOutput) Index(i pulumi.IntInput) PrivateEndpointOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *PrivateEndpoint { + return vs[0].([]*PrivateEndpoint)[vs[1].(int)] + }).(PrivateEndpointOutput) +} + +type PrivateEndpointMapOutput struct{ *pulumi.OutputState } + +func (PrivateEndpointMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*PrivateEndpoint)(nil)).Elem() +} + +func (o PrivateEndpointMapOutput) ToPrivateEndpointMapOutput() PrivateEndpointMapOutput { + return o +} + +func (o PrivateEndpointMapOutput) ToPrivateEndpointMapOutputWithContext(ctx context.Context) PrivateEndpointMapOutput { + return o +} + +func (o PrivateEndpointMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*PrivateEndpoint] { + return pulumix.Output[map[string]*PrivateEndpoint]{ + OutputState: o.OutputState, + } +} + +func (o PrivateEndpointMapOutput) MapIndex(k pulumi.StringInput) PrivateEndpointOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *PrivateEndpoint { + return vs[0].(map[string]*PrivateEndpoint)[vs[1].(string)] + }).(PrivateEndpointOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*PrivateEndpointInput)(nil)).Elem(), &PrivateEndpoint{}) + pulumi.RegisterInputType(reflect.TypeOf((*PrivateEndpointArrayInput)(nil)).Elem(), PrivateEndpointArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*PrivateEndpointMapInput)(nil)).Elem(), PrivateEndpointMap{}) + pulumi.RegisterOutputType(PrivateEndpointOutput{}) + pulumi.RegisterOutputType(PrivateEndpointArrayOutput{}) + pulumi.RegisterOutputType(PrivateEndpointMapOutput{}) +} diff --git a/sdk/go/oci/datascience/pulumiTypes.go b/sdk/go/oci/datascience/pulumiTypes.go index 5d69e6b37c..3cfb2aa43a 100644 --- a/sdk/go/oci/datascience/pulumiTypes.go +++ b/sdk/go/oci/datascience/pulumiTypes.go @@ -3122,7 +3122,7 @@ func (o ModelDeploymentModelDeploymentConfigurationDetailsEnvironmentConfigurati } type ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetails struct { - // (Updatable) The network bandwidth for the model. + // (Updatable) The minimum network bandwidth for the model deployment. BandwidthMbps *int `pulumi:"bandwidthMbps"` // (Updatable) The model deployment instance configuration InstanceConfiguration ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsInstanceConfiguration `pulumi:"instanceConfiguration"` @@ -3144,7 +3144,7 @@ type ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetails } type ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsArgs struct { - // (Updatable) The network bandwidth for the model. + // (Updatable) The minimum network bandwidth for the model deployment. BandwidthMbps pulumi.IntPtrInput `pulumi:"bandwidthMbps"` // (Updatable) The model deployment instance configuration InstanceConfiguration ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsInstanceConfigurationInput `pulumi:"instanceConfiguration"` @@ -3249,7 +3249,7 @@ func (o ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDeta } } -// (Updatable) The network bandwidth for the model. +// (Updatable) The minimum network bandwidth for the model deployment. func (o ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsOutput) BandwidthMbps() pulumi.IntPtrOutput { return o.ApplyT(func(v ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetails) *int { return v.BandwidthMbps @@ -3307,7 +3307,7 @@ func (o ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDeta }).(ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsOutput) } -// (Updatable) The network bandwidth for the model. +// (Updatable) The minimum network bandwidth for the model deployment. func (o ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsPtrOutput) BandwidthMbps() pulumi.IntPtrOutput { return o.ApplyT(func(v *ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetails) *int { if v == nil { @@ -3904,6 +3904,8 @@ type NotebookSessionNotebookSessionConfigDetails struct { BlockStorageSizeInGbs *int `pulumi:"blockStorageSizeInGbs"` // (Updatable) Details for the notebook session shape configuration. NotebookSessionShapeConfigDetails *NotebookSessionNotebookSessionConfigDetailsNotebookSessionShapeConfigDetails `pulumi:"notebookSessionShapeConfigDetails"` + // (Updatable) The OCID of a Data Science private endpoint. + PrivateEndpointId *string `pulumi:"privateEndpointId"` // (Updatable) The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint. Shape string `pulumi:"shape"` // (Updatable) A notebook session instance is provided with a VNIC for network access. This specifies the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet to create a VNIC in. The subnet should be in a VCN with a NAT gateway for egress to the internet. @@ -3926,6 +3928,8 @@ type NotebookSessionNotebookSessionConfigDetailsArgs struct { BlockStorageSizeInGbs pulumi.IntPtrInput `pulumi:"blockStorageSizeInGbs"` // (Updatable) Details for the notebook session shape configuration. NotebookSessionShapeConfigDetails NotebookSessionNotebookSessionConfigDetailsNotebookSessionShapeConfigDetailsPtrInput `pulumi:"notebookSessionShapeConfigDetails"` + // (Updatable) The OCID of a Data Science private endpoint. + PrivateEndpointId pulumi.StringPtrInput `pulumi:"privateEndpointId"` // (Updatable) The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint. Shape pulumi.StringInput `pulumi:"shape"` // (Updatable) A notebook session instance is provided with a VNIC for network access. This specifies the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet to create a VNIC in. The subnet should be in a VCN with a NAT gateway for egress to the internet. @@ -4039,6 +4043,11 @@ func (o NotebookSessionNotebookSessionConfigDetailsOutput) NotebookSessionShapeC }).(NotebookSessionNotebookSessionConfigDetailsNotebookSessionShapeConfigDetailsPtrOutput) } +// (Updatable) The OCID of a Data Science private endpoint. +func (o NotebookSessionNotebookSessionConfigDetailsOutput) PrivateEndpointId() pulumi.StringPtrOutput { + return o.ApplyT(func(v NotebookSessionNotebookSessionConfigDetails) *string { return v.PrivateEndpointId }).(pulumi.StringPtrOutput) +} + // (Updatable) The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint. func (o NotebookSessionNotebookSessionConfigDetailsOutput) Shape() pulumi.StringOutput { return o.ApplyT(func(v NotebookSessionNotebookSessionConfigDetails) string { return v.Shape }).(pulumi.StringOutput) @@ -4099,6 +4108,16 @@ func (o NotebookSessionNotebookSessionConfigDetailsPtrOutput) NotebookSessionSha }).(NotebookSessionNotebookSessionConfigDetailsNotebookSessionShapeConfigDetailsPtrOutput) } +// (Updatable) The OCID of a Data Science private endpoint. +func (o NotebookSessionNotebookSessionConfigDetailsPtrOutput) PrivateEndpointId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NotebookSessionNotebookSessionConfigDetails) *string { + if v == nil { + return nil + } + return v.PrivateEndpointId + }).(pulumi.StringPtrOutput) +} + // (Updatable) The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint. func (o NotebookSessionNotebookSessionConfigDetailsPtrOutput) Shape() pulumi.StringPtrOutput { return o.ApplyT(func(v *NotebookSessionNotebookSessionConfigDetails) *string { @@ -4308,6 +4327,8 @@ type NotebookSessionNotebookSessionConfigurationDetails struct { BlockStorageSizeInGbs *int `pulumi:"blockStorageSizeInGbs"` // (Updatable) Details for the notebook session shape configuration. NotebookSessionShapeConfigDetails *NotebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetails `pulumi:"notebookSessionShapeConfigDetails"` + // (Updatable) The OCID of a Data Science private endpoint. + PrivateEndpointId *string `pulumi:"privateEndpointId"` // (Updatable) The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint. Shape string `pulumi:"shape"` // (Updatable) A notebook session instance is provided with a VNIC for network access. This specifies the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet to create a VNIC in. The subnet should be in a VCN with a NAT gateway for egress to the internet. @@ -4330,6 +4351,8 @@ type NotebookSessionNotebookSessionConfigurationDetailsArgs struct { BlockStorageSizeInGbs pulumi.IntPtrInput `pulumi:"blockStorageSizeInGbs"` // (Updatable) Details for the notebook session shape configuration. NotebookSessionShapeConfigDetails NotebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetailsPtrInput `pulumi:"notebookSessionShapeConfigDetails"` + // (Updatable) The OCID of a Data Science private endpoint. + PrivateEndpointId pulumi.StringPtrInput `pulumi:"privateEndpointId"` // (Updatable) The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint. Shape pulumi.StringInput `pulumi:"shape"` // (Updatable) A notebook session instance is provided with a VNIC for network access. This specifies the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet to create a VNIC in. The subnet should be in a VCN with a NAT gateway for egress to the internet. @@ -4443,6 +4466,11 @@ func (o NotebookSessionNotebookSessionConfigurationDetailsOutput) NotebookSessio }).(NotebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetailsPtrOutput) } +// (Updatable) The OCID of a Data Science private endpoint. +func (o NotebookSessionNotebookSessionConfigurationDetailsOutput) PrivateEndpointId() pulumi.StringPtrOutput { + return o.ApplyT(func(v NotebookSessionNotebookSessionConfigurationDetails) *string { return v.PrivateEndpointId }).(pulumi.StringPtrOutput) +} + // (Updatable) The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint. func (o NotebookSessionNotebookSessionConfigurationDetailsOutput) Shape() pulumi.StringOutput { return o.ApplyT(func(v NotebookSessionNotebookSessionConfigurationDetails) string { return v.Shape }).(pulumi.StringOutput) @@ -4503,6 +4531,16 @@ func (o NotebookSessionNotebookSessionConfigurationDetailsPtrOutput) NotebookSes }).(NotebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetailsPtrOutput) } +// (Updatable) The OCID of a Data Science private endpoint. +func (o NotebookSessionNotebookSessionConfigurationDetailsPtrOutput) PrivateEndpointId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *NotebookSessionNotebookSessionConfigurationDetails) *string { + if v == nil { + return nil + } + return v.PrivateEndpointId + }).(pulumi.StringPtrOutput) +} + // (Updatable) The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint. func (o NotebookSessionNotebookSessionConfigurationDetailsPtrOutput) Shape() pulumi.StringPtrOutput { return o.ApplyT(func(v *NotebookSessionNotebookSessionConfigurationDetails) *string { @@ -13199,7 +13237,7 @@ func (o GetModelDeploymentModelDeploymentConfigurationDetailEnvironmentConfigura } type GetModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetail struct { - // The network bandwidth for the model. + // The minimum network bandwidth for the model deployment. BandwidthMbps int `pulumi:"bandwidthMbps"` // The model deployment instance configuration InstanceConfigurations []GetModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetailInstanceConfiguration `pulumi:"instanceConfigurations"` @@ -13221,7 +13259,7 @@ type GetModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetai } type GetModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetailArgs struct { - // The network bandwidth for the model. + // The minimum network bandwidth for the model deployment. BandwidthMbps pulumi.IntInput `pulumi:"bandwidthMbps"` // The model deployment instance configuration InstanceConfigurations GetModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetailInstanceConfigurationArrayInput `pulumi:"instanceConfigurations"` @@ -13300,7 +13338,7 @@ func (o GetModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDe } } -// The network bandwidth for the model. +// The minimum network bandwidth for the model deployment. func (o GetModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetailOutput) BandwidthMbps() pulumi.IntOutput { return o.ApplyT(func(v GetModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetail) int { return v.BandwidthMbps @@ -15149,7 +15187,7 @@ func (o GetModelDeploymentsModelDeploymentModelDeploymentConfigurationDetailEnvi } type GetModelDeploymentsModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetail struct { - // The network bandwidth for the model. + // The minimum network bandwidth for the model deployment. BandwidthMbps int `pulumi:"bandwidthMbps"` // The model deployment instance configuration InstanceConfigurations []GetModelDeploymentsModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetailInstanceConfiguration `pulumi:"instanceConfigurations"` @@ -15171,7 +15209,7 @@ type GetModelDeploymentsModelDeploymentModelDeploymentConfigurationDetailModelCo } type GetModelDeploymentsModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetailArgs struct { - // The network bandwidth for the model. + // The minimum network bandwidth for the model deployment. BandwidthMbps pulumi.IntInput `pulumi:"bandwidthMbps"` // The model deployment instance configuration InstanceConfigurations GetModelDeploymentsModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetailInstanceConfigurationArrayInput `pulumi:"instanceConfigurations"` @@ -15250,7 +15288,7 @@ func (o GetModelDeploymentsModelDeploymentModelDeploymentConfigurationDetailMode } } -// The network bandwidth for the model. +// The minimum network bandwidth for the model deployment. func (o GetModelDeploymentsModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetailOutput) BandwidthMbps() pulumi.IntOutput { return o.ApplyT(func(v GetModelDeploymentsModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetail) int { return v.BandwidthMbps @@ -16791,6 +16829,8 @@ type GetNotebookSessionNotebookSessionConfigDetail struct { BlockStorageSizeInGbs int `pulumi:"blockStorageSizeInGbs"` // Details for the notebook session shape configuration. NotebookSessionShapeConfigDetails []GetNotebookSessionNotebookSessionConfigDetailNotebookSessionShapeConfigDetail `pulumi:"notebookSessionShapeConfigDetails"` + // The OCID of a Data Science private endpoint. + PrivateEndpointId string `pulumi:"privateEndpointId"` // The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint. Shape string `pulumi:"shape"` // A notebook session instance is provided with a VNIC for network access. This specifies the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet to create a VNIC in. The subnet should be in a VCN with a NAT gateway for egress to the internet. @@ -16813,6 +16853,8 @@ type GetNotebookSessionNotebookSessionConfigDetailArgs struct { BlockStorageSizeInGbs pulumi.IntInput `pulumi:"blockStorageSizeInGbs"` // Details for the notebook session shape configuration. NotebookSessionShapeConfigDetails GetNotebookSessionNotebookSessionConfigDetailNotebookSessionShapeConfigDetailArrayInput `pulumi:"notebookSessionShapeConfigDetails"` + // The OCID of a Data Science private endpoint. + PrivateEndpointId pulumi.StringInput `pulumi:"privateEndpointId"` // The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint. Shape pulumi.StringInput `pulumi:"shape"` // A notebook session instance is provided with a VNIC for network access. This specifies the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet to create a VNIC in. The subnet should be in a VCN with a NAT gateway for egress to the internet. @@ -16900,6 +16942,11 @@ func (o GetNotebookSessionNotebookSessionConfigDetailOutput) NotebookSessionShap }).(GetNotebookSessionNotebookSessionConfigDetailNotebookSessionShapeConfigDetailArrayOutput) } +// The OCID of a Data Science private endpoint. +func (o GetNotebookSessionNotebookSessionConfigDetailOutput) PrivateEndpointId() pulumi.StringOutput { + return o.ApplyT(func(v GetNotebookSessionNotebookSessionConfigDetail) string { return v.PrivateEndpointId }).(pulumi.StringOutput) +} + // The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint. func (o GetNotebookSessionNotebookSessionConfigDetailOutput) Shape() pulumi.StringOutput { return o.ApplyT(func(v GetNotebookSessionNotebookSessionConfigDetail) string { return v.Shape }).(pulumi.StringOutput) @@ -17075,6 +17122,8 @@ type GetNotebookSessionNotebookSessionConfigurationDetail struct { BlockStorageSizeInGbs int `pulumi:"blockStorageSizeInGbs"` // Details for the notebook session shape configuration. NotebookSessionShapeConfigDetails []GetNotebookSessionNotebookSessionConfigurationDetailNotebookSessionShapeConfigDetail `pulumi:"notebookSessionShapeConfigDetails"` + // The OCID of a Data Science private endpoint. + PrivateEndpointId string `pulumi:"privateEndpointId"` // The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint. Shape string `pulumi:"shape"` // A notebook session instance is provided with a VNIC for network access. This specifies the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet to create a VNIC in. The subnet should be in a VCN with a NAT gateway for egress to the internet. @@ -17097,6 +17146,8 @@ type GetNotebookSessionNotebookSessionConfigurationDetailArgs struct { BlockStorageSizeInGbs pulumi.IntInput `pulumi:"blockStorageSizeInGbs"` // Details for the notebook session shape configuration. NotebookSessionShapeConfigDetails GetNotebookSessionNotebookSessionConfigurationDetailNotebookSessionShapeConfigDetailArrayInput `pulumi:"notebookSessionShapeConfigDetails"` + // The OCID of a Data Science private endpoint. + PrivateEndpointId pulumi.StringInput `pulumi:"privateEndpointId"` // The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint. Shape pulumi.StringInput `pulumi:"shape"` // A notebook session instance is provided with a VNIC for network access. This specifies the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet to create a VNIC in. The subnet should be in a VCN with a NAT gateway for egress to the internet. @@ -17184,6 +17235,11 @@ func (o GetNotebookSessionNotebookSessionConfigurationDetailOutput) NotebookSess }).(GetNotebookSessionNotebookSessionConfigurationDetailNotebookSessionShapeConfigDetailArrayOutput) } +// The OCID of a Data Science private endpoint. +func (o GetNotebookSessionNotebookSessionConfigurationDetailOutput) PrivateEndpointId() pulumi.StringOutput { + return o.ApplyT(func(v GetNotebookSessionNotebookSessionConfigurationDetail) string { return v.PrivateEndpointId }).(pulumi.StringOutput) +} + // The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint. func (o GetNotebookSessionNotebookSessionConfigurationDetailOutput) Shape() pulumi.StringOutput { return o.ApplyT(func(v GetNotebookSessionNotebookSessionConfigurationDetail) string { return v.Shape }).(pulumi.StringOutput) @@ -18394,6 +18450,8 @@ type GetNotebookSessionsNotebookSessionNotebookSessionConfigDetail struct { BlockStorageSizeInGbs int `pulumi:"blockStorageSizeInGbs"` // Details for the notebook session shape configuration. NotebookSessionShapeConfigDetails []GetNotebookSessionsNotebookSessionNotebookSessionConfigDetailNotebookSessionShapeConfigDetail `pulumi:"notebookSessionShapeConfigDetails"` + // The OCID of a Data Science private endpoint. + PrivateEndpointId string `pulumi:"privateEndpointId"` // The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint. Shape string `pulumi:"shape"` // A notebook session instance is provided with a VNIC for network access. This specifies the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet to create a VNIC in. The subnet should be in a VCN with a NAT gateway for egress to the internet. @@ -18416,6 +18474,8 @@ type GetNotebookSessionsNotebookSessionNotebookSessionConfigDetailArgs struct { BlockStorageSizeInGbs pulumi.IntInput `pulumi:"blockStorageSizeInGbs"` // Details for the notebook session shape configuration. NotebookSessionShapeConfigDetails GetNotebookSessionsNotebookSessionNotebookSessionConfigDetailNotebookSessionShapeConfigDetailArrayInput `pulumi:"notebookSessionShapeConfigDetails"` + // The OCID of a Data Science private endpoint. + PrivateEndpointId pulumi.StringInput `pulumi:"privateEndpointId"` // The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint. Shape pulumi.StringInput `pulumi:"shape"` // A notebook session instance is provided with a VNIC for network access. This specifies the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet to create a VNIC in. The subnet should be in a VCN with a NAT gateway for egress to the internet. @@ -18505,6 +18565,13 @@ func (o GetNotebookSessionsNotebookSessionNotebookSessionConfigDetailOutput) Not }).(GetNotebookSessionsNotebookSessionNotebookSessionConfigDetailNotebookSessionShapeConfigDetailArrayOutput) } +// The OCID of a Data Science private endpoint. +func (o GetNotebookSessionsNotebookSessionNotebookSessionConfigDetailOutput) PrivateEndpointId() pulumi.StringOutput { + return o.ApplyT(func(v GetNotebookSessionsNotebookSessionNotebookSessionConfigDetail) string { + return v.PrivateEndpointId + }).(pulumi.StringOutput) +} + // The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint. func (o GetNotebookSessionsNotebookSessionNotebookSessionConfigDetailOutput) Shape() pulumi.StringOutput { return o.ApplyT(func(v GetNotebookSessionsNotebookSessionNotebookSessionConfigDetail) string { return v.Shape }).(pulumi.StringOutput) @@ -18680,6 +18747,8 @@ type GetNotebookSessionsNotebookSessionNotebookSessionConfigurationDetail struct BlockStorageSizeInGbs int `pulumi:"blockStorageSizeInGbs"` // Details for the notebook session shape configuration. NotebookSessionShapeConfigDetails []GetNotebookSessionsNotebookSessionNotebookSessionConfigurationDetailNotebookSessionShapeConfigDetail `pulumi:"notebookSessionShapeConfigDetails"` + // The OCID of a Data Science private endpoint. + PrivateEndpointId string `pulumi:"privateEndpointId"` // The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint. Shape string `pulumi:"shape"` // A notebook session instance is provided with a VNIC for network access. This specifies the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet to create a VNIC in. The subnet should be in a VCN with a NAT gateway for egress to the internet. @@ -18702,6 +18771,8 @@ type GetNotebookSessionsNotebookSessionNotebookSessionConfigurationDetailArgs st BlockStorageSizeInGbs pulumi.IntInput `pulumi:"blockStorageSizeInGbs"` // Details for the notebook session shape configuration. NotebookSessionShapeConfigDetails GetNotebookSessionsNotebookSessionNotebookSessionConfigurationDetailNotebookSessionShapeConfigDetailArrayInput `pulumi:"notebookSessionShapeConfigDetails"` + // The OCID of a Data Science private endpoint. + PrivateEndpointId pulumi.StringInput `pulumi:"privateEndpointId"` // The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint. Shape pulumi.StringInput `pulumi:"shape"` // A notebook session instance is provided with a VNIC for network access. This specifies the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet to create a VNIC in. The subnet should be in a VCN with a NAT gateway for egress to the internet. @@ -18791,6 +18862,13 @@ func (o GetNotebookSessionsNotebookSessionNotebookSessionConfigurationDetailOutp }).(GetNotebookSessionsNotebookSessionNotebookSessionConfigurationDetailNotebookSessionShapeConfigDetailArrayOutput) } +// The OCID of a Data Science private endpoint. +func (o GetNotebookSessionsNotebookSessionNotebookSessionConfigurationDetailOutput) PrivateEndpointId() pulumi.StringOutput { + return o.ApplyT(func(v GetNotebookSessionsNotebookSessionNotebookSessionConfigurationDetail) string { + return v.PrivateEndpointId + }).(pulumi.StringOutput) +} + // The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint. func (o GetNotebookSessionsNotebookSessionNotebookSessionConfigurationDetailOutput) Shape() pulumi.StringOutput { return o.ApplyT(func(v GetNotebookSessionsNotebookSessionNotebookSessionConfigurationDetail) string { return v.Shape }).(pulumi.StringOutput) @@ -24901,6 +24979,389 @@ func (o GetPipelinesPipelineStepDetailStepInfrastructureConfigurationDetailShape }).(GetPipelinesPipelineStepDetailStepInfrastructureConfigurationDetailShapeConfigDetailOutput) } +type GetPrivateEndpointsDataSciencePrivateEndpoint struct { + // Filter results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + CompartmentId string `pulumi:"compartmentId"` + // Filter results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the resource. + CreatedBy string `pulumi:"createdBy"` + // Resource types in the Data Science service such as notebooks. + DataScienceResourceType string `pulumi:"dataScienceResourceType"` + // Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` + DefinedTags map[string]interface{} `pulumi:"definedTags"` + // A user friendly description. Avoid entering confidential information. + Description string `pulumi:"description"` + // Filter results by its user-friendly name. + DisplayName string `pulumi:"displayName"` + // Accesing the Data Science resource using FQDN. + Fqdn string `pulumi:"fqdn"` + // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` + FreeformTags map[string]interface{} `pulumi:"freeformTags"` + // The OCID of a private endpoint. + Id string `pulumi:"id"` + // Details of the state of Data Science private endpoint. + LifecycleDetails string `pulumi:"lifecycleDetails"` + // An array of network security group OCIDs. + NsgIds []string `pulumi:"nsgIds"` + // The lifecycle state of the private endpoint. + State string `pulumi:"state"` + SubDomain string `pulumi:"subDomain"` + // The OCID of a subnet. + SubnetId string `pulumi:"subnetId"` + // The date and time that the Data Science private endpoint was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + TimeCreated string `pulumi:"timeCreated"` + // The date and time that the Data Science private endpoint was updated expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + TimeUpdated string `pulumi:"timeUpdated"` +} + +// GetPrivateEndpointsDataSciencePrivateEndpointInput is an input type that accepts GetPrivateEndpointsDataSciencePrivateEndpointArgs and GetPrivateEndpointsDataSciencePrivateEndpointOutput values. +// You can construct a concrete instance of `GetPrivateEndpointsDataSciencePrivateEndpointInput` via: +// +// GetPrivateEndpointsDataSciencePrivateEndpointArgs{...} +type GetPrivateEndpointsDataSciencePrivateEndpointInput interface { + pulumi.Input + + ToGetPrivateEndpointsDataSciencePrivateEndpointOutput() GetPrivateEndpointsDataSciencePrivateEndpointOutput + ToGetPrivateEndpointsDataSciencePrivateEndpointOutputWithContext(context.Context) GetPrivateEndpointsDataSciencePrivateEndpointOutput +} + +type GetPrivateEndpointsDataSciencePrivateEndpointArgs struct { + // Filter results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + CompartmentId pulumi.StringInput `pulumi:"compartmentId"` + // Filter results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the resource. + CreatedBy pulumi.StringInput `pulumi:"createdBy"` + // Resource types in the Data Science service such as notebooks. + DataScienceResourceType pulumi.StringInput `pulumi:"dataScienceResourceType"` + // Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` + DefinedTags pulumi.MapInput `pulumi:"definedTags"` + // A user friendly description. Avoid entering confidential information. + Description pulumi.StringInput `pulumi:"description"` + // Filter results by its user-friendly name. + DisplayName pulumi.StringInput `pulumi:"displayName"` + // Accesing the Data Science resource using FQDN. + Fqdn pulumi.StringInput `pulumi:"fqdn"` + // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` + FreeformTags pulumi.MapInput `pulumi:"freeformTags"` + // The OCID of a private endpoint. + Id pulumi.StringInput `pulumi:"id"` + // Details of the state of Data Science private endpoint. + LifecycleDetails pulumi.StringInput `pulumi:"lifecycleDetails"` + // An array of network security group OCIDs. + NsgIds pulumi.StringArrayInput `pulumi:"nsgIds"` + // The lifecycle state of the private endpoint. + State pulumi.StringInput `pulumi:"state"` + SubDomain pulumi.StringInput `pulumi:"subDomain"` + // The OCID of a subnet. + SubnetId pulumi.StringInput `pulumi:"subnetId"` + // The date and time that the Data Science private endpoint was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + TimeCreated pulumi.StringInput `pulumi:"timeCreated"` + // The date and time that the Data Science private endpoint was updated expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"` +} + +func (GetPrivateEndpointsDataSciencePrivateEndpointArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPrivateEndpointsDataSciencePrivateEndpoint)(nil)).Elem() +} + +func (i GetPrivateEndpointsDataSciencePrivateEndpointArgs) ToGetPrivateEndpointsDataSciencePrivateEndpointOutput() GetPrivateEndpointsDataSciencePrivateEndpointOutput { + return i.ToGetPrivateEndpointsDataSciencePrivateEndpointOutputWithContext(context.Background()) +} + +func (i GetPrivateEndpointsDataSciencePrivateEndpointArgs) ToGetPrivateEndpointsDataSciencePrivateEndpointOutputWithContext(ctx context.Context) GetPrivateEndpointsDataSciencePrivateEndpointOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPrivateEndpointsDataSciencePrivateEndpointOutput) +} + +func (i GetPrivateEndpointsDataSciencePrivateEndpointArgs) ToOutput(ctx context.Context) pulumix.Output[GetPrivateEndpointsDataSciencePrivateEndpoint] { + return pulumix.Output[GetPrivateEndpointsDataSciencePrivateEndpoint]{ + OutputState: i.ToGetPrivateEndpointsDataSciencePrivateEndpointOutputWithContext(ctx).OutputState, + } +} + +// GetPrivateEndpointsDataSciencePrivateEndpointArrayInput is an input type that accepts GetPrivateEndpointsDataSciencePrivateEndpointArray and GetPrivateEndpointsDataSciencePrivateEndpointArrayOutput values. +// You can construct a concrete instance of `GetPrivateEndpointsDataSciencePrivateEndpointArrayInput` via: +// +// GetPrivateEndpointsDataSciencePrivateEndpointArray{ GetPrivateEndpointsDataSciencePrivateEndpointArgs{...} } +type GetPrivateEndpointsDataSciencePrivateEndpointArrayInput interface { + pulumi.Input + + ToGetPrivateEndpointsDataSciencePrivateEndpointArrayOutput() GetPrivateEndpointsDataSciencePrivateEndpointArrayOutput + ToGetPrivateEndpointsDataSciencePrivateEndpointArrayOutputWithContext(context.Context) GetPrivateEndpointsDataSciencePrivateEndpointArrayOutput +} + +type GetPrivateEndpointsDataSciencePrivateEndpointArray []GetPrivateEndpointsDataSciencePrivateEndpointInput + +func (GetPrivateEndpointsDataSciencePrivateEndpointArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPrivateEndpointsDataSciencePrivateEndpoint)(nil)).Elem() +} + +func (i GetPrivateEndpointsDataSciencePrivateEndpointArray) ToGetPrivateEndpointsDataSciencePrivateEndpointArrayOutput() GetPrivateEndpointsDataSciencePrivateEndpointArrayOutput { + return i.ToGetPrivateEndpointsDataSciencePrivateEndpointArrayOutputWithContext(context.Background()) +} + +func (i GetPrivateEndpointsDataSciencePrivateEndpointArray) ToGetPrivateEndpointsDataSciencePrivateEndpointArrayOutputWithContext(ctx context.Context) GetPrivateEndpointsDataSciencePrivateEndpointArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPrivateEndpointsDataSciencePrivateEndpointArrayOutput) +} + +func (i GetPrivateEndpointsDataSciencePrivateEndpointArray) ToOutput(ctx context.Context) pulumix.Output[[]GetPrivateEndpointsDataSciencePrivateEndpoint] { + return pulumix.Output[[]GetPrivateEndpointsDataSciencePrivateEndpoint]{ + OutputState: i.ToGetPrivateEndpointsDataSciencePrivateEndpointArrayOutputWithContext(ctx).OutputState, + } +} + +type GetPrivateEndpointsDataSciencePrivateEndpointOutput struct{ *pulumi.OutputState } + +func (GetPrivateEndpointsDataSciencePrivateEndpointOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPrivateEndpointsDataSciencePrivateEndpoint)(nil)).Elem() +} + +func (o GetPrivateEndpointsDataSciencePrivateEndpointOutput) ToGetPrivateEndpointsDataSciencePrivateEndpointOutput() GetPrivateEndpointsDataSciencePrivateEndpointOutput { + return o +} + +func (o GetPrivateEndpointsDataSciencePrivateEndpointOutput) ToGetPrivateEndpointsDataSciencePrivateEndpointOutputWithContext(ctx context.Context) GetPrivateEndpointsDataSciencePrivateEndpointOutput { + return o +} + +func (o GetPrivateEndpointsDataSciencePrivateEndpointOutput) ToOutput(ctx context.Context) pulumix.Output[GetPrivateEndpointsDataSciencePrivateEndpoint] { + return pulumix.Output[GetPrivateEndpointsDataSciencePrivateEndpoint]{ + OutputState: o.OutputState, + } +} + +// Filter results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. +func (o GetPrivateEndpointsDataSciencePrivateEndpointOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v GetPrivateEndpointsDataSciencePrivateEndpoint) string { return v.CompartmentId }).(pulumi.StringOutput) +} + +// Filter results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the resource. +func (o GetPrivateEndpointsDataSciencePrivateEndpointOutput) CreatedBy() pulumi.StringOutput { + return o.ApplyT(func(v GetPrivateEndpointsDataSciencePrivateEndpoint) string { return v.CreatedBy }).(pulumi.StringOutput) +} + +// Resource types in the Data Science service such as notebooks. +func (o GetPrivateEndpointsDataSciencePrivateEndpointOutput) DataScienceResourceType() pulumi.StringOutput { + return o.ApplyT(func(v GetPrivateEndpointsDataSciencePrivateEndpoint) string { return v.DataScienceResourceType }).(pulumi.StringOutput) +} + +// Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` +func (o GetPrivateEndpointsDataSciencePrivateEndpointOutput) DefinedTags() pulumi.MapOutput { + return o.ApplyT(func(v GetPrivateEndpointsDataSciencePrivateEndpoint) map[string]interface{} { return v.DefinedTags }).(pulumi.MapOutput) +} + +// A user friendly description. Avoid entering confidential information. +func (o GetPrivateEndpointsDataSciencePrivateEndpointOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetPrivateEndpointsDataSciencePrivateEndpoint) string { return v.Description }).(pulumi.StringOutput) +} + +// Filter results by its user-friendly name. +func (o GetPrivateEndpointsDataSciencePrivateEndpointOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetPrivateEndpointsDataSciencePrivateEndpoint) string { return v.DisplayName }).(pulumi.StringOutput) +} + +// Accesing the Data Science resource using FQDN. +func (o GetPrivateEndpointsDataSciencePrivateEndpointOutput) Fqdn() pulumi.StringOutput { + return o.ApplyT(func(v GetPrivateEndpointsDataSciencePrivateEndpoint) string { return v.Fqdn }).(pulumi.StringOutput) +} + +// Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` +func (o GetPrivateEndpointsDataSciencePrivateEndpointOutput) FreeformTags() pulumi.MapOutput { + return o.ApplyT(func(v GetPrivateEndpointsDataSciencePrivateEndpoint) map[string]interface{} { return v.FreeformTags }).(pulumi.MapOutput) +} + +// The OCID of a private endpoint. +func (o GetPrivateEndpointsDataSciencePrivateEndpointOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetPrivateEndpointsDataSciencePrivateEndpoint) string { return v.Id }).(pulumi.StringOutput) +} + +// Details of the state of Data Science private endpoint. +func (o GetPrivateEndpointsDataSciencePrivateEndpointOutput) LifecycleDetails() pulumi.StringOutput { + return o.ApplyT(func(v GetPrivateEndpointsDataSciencePrivateEndpoint) string { return v.LifecycleDetails }).(pulumi.StringOutput) +} + +// An array of network security group OCIDs. +func (o GetPrivateEndpointsDataSciencePrivateEndpointOutput) NsgIds() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetPrivateEndpointsDataSciencePrivateEndpoint) []string { return v.NsgIds }).(pulumi.StringArrayOutput) +} + +// The lifecycle state of the private endpoint. +func (o GetPrivateEndpointsDataSciencePrivateEndpointOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetPrivateEndpointsDataSciencePrivateEndpoint) string { return v.State }).(pulumi.StringOutput) +} + +func (o GetPrivateEndpointsDataSciencePrivateEndpointOutput) SubDomain() pulumi.StringOutput { + return o.ApplyT(func(v GetPrivateEndpointsDataSciencePrivateEndpoint) string { return v.SubDomain }).(pulumi.StringOutput) +} + +// The OCID of a subnet. +func (o GetPrivateEndpointsDataSciencePrivateEndpointOutput) SubnetId() pulumi.StringOutput { + return o.ApplyT(func(v GetPrivateEndpointsDataSciencePrivateEndpoint) string { return v.SubnetId }).(pulumi.StringOutput) +} + +// The date and time that the Data Science private endpoint was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` +func (o GetPrivateEndpointsDataSciencePrivateEndpointOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v GetPrivateEndpointsDataSciencePrivateEndpoint) string { return v.TimeCreated }).(pulumi.StringOutput) +} + +// The date and time that the Data Science private endpoint was updated expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` +func (o GetPrivateEndpointsDataSciencePrivateEndpointOutput) TimeUpdated() pulumi.StringOutput { + return o.ApplyT(func(v GetPrivateEndpointsDataSciencePrivateEndpoint) string { return v.TimeUpdated }).(pulumi.StringOutput) +} + +type GetPrivateEndpointsDataSciencePrivateEndpointArrayOutput struct{ *pulumi.OutputState } + +func (GetPrivateEndpointsDataSciencePrivateEndpointArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPrivateEndpointsDataSciencePrivateEndpoint)(nil)).Elem() +} + +func (o GetPrivateEndpointsDataSciencePrivateEndpointArrayOutput) ToGetPrivateEndpointsDataSciencePrivateEndpointArrayOutput() GetPrivateEndpointsDataSciencePrivateEndpointArrayOutput { + return o +} + +func (o GetPrivateEndpointsDataSciencePrivateEndpointArrayOutput) ToGetPrivateEndpointsDataSciencePrivateEndpointArrayOutputWithContext(ctx context.Context) GetPrivateEndpointsDataSciencePrivateEndpointArrayOutput { + return o +} + +func (o GetPrivateEndpointsDataSciencePrivateEndpointArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetPrivateEndpointsDataSciencePrivateEndpoint] { + return pulumix.Output[[]GetPrivateEndpointsDataSciencePrivateEndpoint]{ + OutputState: o.OutputState, + } +} + +func (o GetPrivateEndpointsDataSciencePrivateEndpointArrayOutput) Index(i pulumi.IntInput) GetPrivateEndpointsDataSciencePrivateEndpointOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPrivateEndpointsDataSciencePrivateEndpoint { + return vs[0].([]GetPrivateEndpointsDataSciencePrivateEndpoint)[vs[1].(int)] + }).(GetPrivateEndpointsDataSciencePrivateEndpointOutput) +} + +type GetPrivateEndpointsFilter struct { + Name string `pulumi:"name"` + Regex *bool `pulumi:"regex"` + Values []string `pulumi:"values"` +} + +// GetPrivateEndpointsFilterInput is an input type that accepts GetPrivateEndpointsFilterArgs and GetPrivateEndpointsFilterOutput values. +// You can construct a concrete instance of `GetPrivateEndpointsFilterInput` via: +// +// GetPrivateEndpointsFilterArgs{...} +type GetPrivateEndpointsFilterInput interface { + pulumi.Input + + ToGetPrivateEndpointsFilterOutput() GetPrivateEndpointsFilterOutput + ToGetPrivateEndpointsFilterOutputWithContext(context.Context) GetPrivateEndpointsFilterOutput +} + +type GetPrivateEndpointsFilterArgs struct { + Name pulumi.StringInput `pulumi:"name"` + Regex pulumi.BoolPtrInput `pulumi:"regex"` + Values pulumi.StringArrayInput `pulumi:"values"` +} + +func (GetPrivateEndpointsFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetPrivateEndpointsFilter)(nil)).Elem() +} + +func (i GetPrivateEndpointsFilterArgs) ToGetPrivateEndpointsFilterOutput() GetPrivateEndpointsFilterOutput { + return i.ToGetPrivateEndpointsFilterOutputWithContext(context.Background()) +} + +func (i GetPrivateEndpointsFilterArgs) ToGetPrivateEndpointsFilterOutputWithContext(ctx context.Context) GetPrivateEndpointsFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPrivateEndpointsFilterOutput) +} + +func (i GetPrivateEndpointsFilterArgs) ToOutput(ctx context.Context) pulumix.Output[GetPrivateEndpointsFilter] { + return pulumix.Output[GetPrivateEndpointsFilter]{ + OutputState: i.ToGetPrivateEndpointsFilterOutputWithContext(ctx).OutputState, + } +} + +// GetPrivateEndpointsFilterArrayInput is an input type that accepts GetPrivateEndpointsFilterArray and GetPrivateEndpointsFilterArrayOutput values. +// You can construct a concrete instance of `GetPrivateEndpointsFilterArrayInput` via: +// +// GetPrivateEndpointsFilterArray{ GetPrivateEndpointsFilterArgs{...} } +type GetPrivateEndpointsFilterArrayInput interface { + pulumi.Input + + ToGetPrivateEndpointsFilterArrayOutput() GetPrivateEndpointsFilterArrayOutput + ToGetPrivateEndpointsFilterArrayOutputWithContext(context.Context) GetPrivateEndpointsFilterArrayOutput +} + +type GetPrivateEndpointsFilterArray []GetPrivateEndpointsFilterInput + +func (GetPrivateEndpointsFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPrivateEndpointsFilter)(nil)).Elem() +} + +func (i GetPrivateEndpointsFilterArray) ToGetPrivateEndpointsFilterArrayOutput() GetPrivateEndpointsFilterArrayOutput { + return i.ToGetPrivateEndpointsFilterArrayOutputWithContext(context.Background()) +} + +func (i GetPrivateEndpointsFilterArray) ToGetPrivateEndpointsFilterArrayOutputWithContext(ctx context.Context) GetPrivateEndpointsFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetPrivateEndpointsFilterArrayOutput) +} + +func (i GetPrivateEndpointsFilterArray) ToOutput(ctx context.Context) pulumix.Output[[]GetPrivateEndpointsFilter] { + return pulumix.Output[[]GetPrivateEndpointsFilter]{ + OutputState: i.ToGetPrivateEndpointsFilterArrayOutputWithContext(ctx).OutputState, + } +} + +type GetPrivateEndpointsFilterOutput struct{ *pulumi.OutputState } + +func (GetPrivateEndpointsFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetPrivateEndpointsFilter)(nil)).Elem() +} + +func (o GetPrivateEndpointsFilterOutput) ToGetPrivateEndpointsFilterOutput() GetPrivateEndpointsFilterOutput { + return o +} + +func (o GetPrivateEndpointsFilterOutput) ToGetPrivateEndpointsFilterOutputWithContext(ctx context.Context) GetPrivateEndpointsFilterOutput { + return o +} + +func (o GetPrivateEndpointsFilterOutput) ToOutput(ctx context.Context) pulumix.Output[GetPrivateEndpointsFilter] { + return pulumix.Output[GetPrivateEndpointsFilter]{ + OutputState: o.OutputState, + } +} + +func (o GetPrivateEndpointsFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetPrivateEndpointsFilter) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetPrivateEndpointsFilterOutput) Regex() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetPrivateEndpointsFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) +} + +func (o GetPrivateEndpointsFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetPrivateEndpointsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +} + +type GetPrivateEndpointsFilterArrayOutput struct{ *pulumi.OutputState } + +func (GetPrivateEndpointsFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetPrivateEndpointsFilter)(nil)).Elem() +} + +func (o GetPrivateEndpointsFilterArrayOutput) ToGetPrivateEndpointsFilterArrayOutput() GetPrivateEndpointsFilterArrayOutput { + return o +} + +func (o GetPrivateEndpointsFilterArrayOutput) ToGetPrivateEndpointsFilterArrayOutputWithContext(ctx context.Context) GetPrivateEndpointsFilterArrayOutput { + return o +} + +func (o GetPrivateEndpointsFilterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetPrivateEndpointsFilter] { + return pulumix.Output[[]GetPrivateEndpointsFilter]{ + OutputState: o.OutputState, + } +} + +func (o GetPrivateEndpointsFilterArrayOutput) Index(i pulumi.IntInput) GetPrivateEndpointsFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPrivateEndpointsFilter { + return vs[0].([]GetPrivateEndpointsFilter)[vs[1].(int)] + }).(GetPrivateEndpointsFilterOutput) +} + type GetProjectsFilter struct { Name string `pulumi:"name"` Regex *bool `pulumi:"regex"` @@ -25530,6 +25991,10 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetPipelinesPipelineStepDetailStepInfrastructureConfigurationDetailArrayInput)(nil)).Elem(), GetPipelinesPipelineStepDetailStepInfrastructureConfigurationDetailArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetPipelinesPipelineStepDetailStepInfrastructureConfigurationDetailShapeConfigDetailInput)(nil)).Elem(), GetPipelinesPipelineStepDetailStepInfrastructureConfigurationDetailShapeConfigDetailArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetPipelinesPipelineStepDetailStepInfrastructureConfigurationDetailShapeConfigDetailArrayInput)(nil)).Elem(), GetPipelinesPipelineStepDetailStepInfrastructureConfigurationDetailShapeConfigDetailArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetPrivateEndpointsDataSciencePrivateEndpointInput)(nil)).Elem(), GetPrivateEndpointsDataSciencePrivateEndpointArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetPrivateEndpointsDataSciencePrivateEndpointArrayInput)(nil)).Elem(), GetPrivateEndpointsDataSciencePrivateEndpointArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetPrivateEndpointsFilterInput)(nil)).Elem(), GetPrivateEndpointsFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetPrivateEndpointsFilterArrayInput)(nil)).Elem(), GetPrivateEndpointsFilterArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetProjectsFilterInput)(nil)).Elem(), GetProjectsFilterArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetProjectsFilterArrayInput)(nil)).Elem(), GetProjectsFilterArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetProjectsProjectInput)(nil)).Elem(), GetProjectsProjectArgs{}) @@ -25839,6 +26304,10 @@ func init() { pulumi.RegisterOutputType(GetPipelinesPipelineStepDetailStepInfrastructureConfigurationDetailArrayOutput{}) pulumi.RegisterOutputType(GetPipelinesPipelineStepDetailStepInfrastructureConfigurationDetailShapeConfigDetailOutput{}) pulumi.RegisterOutputType(GetPipelinesPipelineStepDetailStepInfrastructureConfigurationDetailShapeConfigDetailArrayOutput{}) + pulumi.RegisterOutputType(GetPrivateEndpointsDataSciencePrivateEndpointOutput{}) + pulumi.RegisterOutputType(GetPrivateEndpointsDataSciencePrivateEndpointArrayOutput{}) + pulumi.RegisterOutputType(GetPrivateEndpointsFilterOutput{}) + pulumi.RegisterOutputType(GetPrivateEndpointsFilterArrayOutput{}) pulumi.RegisterOutputType(GetProjectsFilterOutput{}) pulumi.RegisterOutputType(GetProjectsFilterArrayOutput{}) pulumi.RegisterOutputType(GetProjectsProjectOutput{}) diff --git a/sdk/go/oci/filestorage/fileSystem.go b/sdk/go/oci/filestorage/fileSystem.go index fcf297561b..4d1eb49689 100644 --- a/sdk/go/oci/filestorage/fileSystem.go +++ b/sdk/go/oci/filestorage/fileSystem.go @@ -105,7 +105,7 @@ type FileSystem struct { // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated file system snapshot policy, which controls the frequency of snapshot creation and retention period of the taken snapshots. // // May be unset as a blank value. - FilesystemSnapshotPolicyId pulumi.StringOutput `pulumi:"filesystemSnapshotPolicyId"` + FilesystemSnapshotPolicyId pulumi.StringPtrOutput `pulumi:"filesystemSnapshotPolicyId"` // (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` FreeformTags pulumi.MapOutput `pulumi:"freeformTags"` // Specifies whether the file system has been cloned. See [Cloning a File System](https://docs.cloud.oracle.com/iaas/Content/File/Tasks/cloningFS.htm). @@ -441,8 +441,8 @@ func (o FileSystemOutput) DisplayName() pulumi.StringOutput { // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated file system snapshot policy, which controls the frequency of snapshot creation and retention period of the taken snapshots. // // May be unset as a blank value. -func (o FileSystemOutput) FilesystemSnapshotPolicyId() pulumi.StringOutput { - return o.ApplyT(func(v *FileSystem) pulumi.StringOutput { return v.FilesystemSnapshotPolicyId }).(pulumi.StringOutput) +func (o FileSystemOutput) FilesystemSnapshotPolicyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *FileSystem) pulumi.StringPtrOutput { return v.FilesystemSnapshotPolicyId }).(pulumi.StringPtrOutput) } // (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` diff --git a/sdk/go/oci/goldengate/deployment.go b/sdk/go/oci/goldengate/deployment.go index cf3e356376..ddfaacb2fa 100644 --- a/sdk/go/oci/goldengate/deployment.go +++ b/sdk/go/oci/goldengate/deployment.go @@ -83,8 +83,7 @@ type Deployment struct { PrivateIpAddress pulumi.StringOutput `pulumi:"privateIpAddress"` // The public IP address representing the access point for the Deployment. PublicIpAddress pulumi.StringOutput `pulumi:"publicIpAddress"` - // Possible lifecycle states. - State pulumi.StringOutput `pulumi:"state"` + State pulumi.StringOutput `pulumi:"state"` // The amount of storage being utilized (in bytes) StorageUtilizationInBytes pulumi.StringOutput `pulumi:"storageUtilizationInBytes"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet being referenced. @@ -208,8 +207,7 @@ type deploymentState struct { PrivateIpAddress *string `pulumi:"privateIpAddress"` // The public IP address representing the access point for the Deployment. PublicIpAddress *string `pulumi:"publicIpAddress"` - // Possible lifecycle states. - State *string `pulumi:"state"` + State *string `pulumi:"state"` // The amount of storage being utilized (in bytes) StorageUtilizationInBytes *string `pulumi:"storageUtilizationInBytes"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet being referenced. @@ -283,8 +281,7 @@ type DeploymentState struct { PrivateIpAddress pulumi.StringPtrInput // The public IP address representing the access point for the Deployment. PublicIpAddress pulumi.StringPtrInput - // Possible lifecycle states. - State pulumi.StringPtrInput + State pulumi.StringPtrInput // The amount of storage being utilized (in bytes) StorageUtilizationInBytes pulumi.StringPtrInput // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet being referenced. @@ -340,8 +337,7 @@ type deploymentArgs struct { NsgIds []string `pulumi:"nsgIds"` // (Updatable) Deployment Data for creating an OggDeployment OggData *DeploymentOggData `pulumi:"oggData"` - // Possible lifecycle states. - State *string `pulumi:"state"` + State *string `pulumi:"state"` // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet being referenced. SubnetId string `pulumi:"subnetId"` } @@ -380,8 +376,7 @@ type DeploymentArgs struct { NsgIds pulumi.StringArrayInput // (Updatable) Deployment Data for creating an OggDeployment OggData DeploymentOggDataPtrInput - // Possible lifecycle states. - State pulumi.StringPtrInput + State pulumi.StringPtrInput // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet being referenced. SubnetId pulumi.StringInput } @@ -632,7 +627,6 @@ func (o DeploymentOutput) PublicIpAddress() pulumi.StringOutput { return o.ApplyT(func(v *Deployment) pulumi.StringOutput { return v.PublicIpAddress }).(pulumi.StringOutput) } -// Possible lifecycle states. func (o DeploymentOutput) State() pulumi.StringOutput { return o.ApplyT(func(v *Deployment) pulumi.StringOutput { return v.State }).(pulumi.StringOutput) } diff --git a/sdk/go/oci/kms/ekmsPrivateEndpoint.go b/sdk/go/oci/kms/ekmsPrivateEndpoint.go new file mode 100644 index 0000000000..f3f38624cc --- /dev/null +++ b/sdk/go/oci/kms/ekmsPrivateEndpoint.go @@ -0,0 +1,495 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package kms + +import ( + "context" + "reflect" + + "errors" + "github.com/pulumi/pulumi-oci/sdk/go/oci/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" +) + +// This resource provides the Ekms Private Endpoint resource in Oracle Cloud Infrastructure Kms service. +// +// # Create a new EKMS private endpoint used to connect to external key manager system +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/go/oci/Kms" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := Kms.NewEkmsPrivateEndpoint(ctx, "testEkmsPrivateEndpoint", &Kms.EkmsPrivateEndpointArgs{ +// CaBundle: pulumi.Any(_var.Ekms_private_endpoint_ca_bundle), +// CompartmentId: pulumi.Any(_var.Compartment_id), +// DisplayName: pulumi.Any(_var.Ekms_private_endpoint_display_name), +// ExternalKeyManagerIp: pulumi.Any(_var.Ekms_private_endpoint_external_key_manager_ip), +// SubnetId: pulumi.Any(oci_core_subnet.Test_subnet.Id), +// DefinedTags: pulumi.AnyMap{ +// "foo-namespace.bar-key": pulumi.Any("value"), +// }, +// FreeformTags: pulumi.AnyMap{ +// "bar-key": pulumi.Any("value"), +// }, +// Port: pulumi.Any(_var.Ekms_private_endpoint_port), +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// +// ## Import +// +// EkmsPrivateEndpoints can be imported using the `id`, e.g. +// +// ```sh +// +// $ pulumi import oci:Kms/ekmsPrivateEndpoint:EkmsPrivateEndpoint test_ekms_private_endpoint "id" +// +// ``` +type EkmsPrivateEndpoint struct { + pulumi.CustomResourceState + + // CABundle to validate TLS certificate of the external key manager system in PEM format + CaBundle pulumi.StringOutput `pulumi:"caBundle"` + // Compartment identifier. + CompartmentId pulumi.StringOutput `pulumi:"compartmentId"` + // (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"foo-namespace.bar-key": "value"}` + DefinedTags pulumi.MapOutput `pulumi:"definedTags"` + // (Updatable) Display name of the EKMS private endpoint resource being created. + DisplayName pulumi.StringOutput `pulumi:"displayName"` + // External private IP to connect to from this EKMS private endpoint + ExternalKeyManagerIp pulumi.StringOutput `pulumi:"externalKeyManagerIp"` + // (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + FreeformTags pulumi.MapOutput `pulumi:"freeformTags"` + // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state. + LifecycleDetails pulumi.StringOutput `pulumi:"lifecycleDetails"` + // The port of the external key manager system + Port pulumi.IntOutput `pulumi:"port"` + // The IP address in the customer's VCN for the EKMS private endpoint. This is taken from subnet + PrivateEndpointIp pulumi.StringOutput `pulumi:"privateEndpointIp"` + // The current state of the EKMS private endpoint resource. + State pulumi.StringOutput `pulumi:"state"` + // The OCID of subnet in which the EKMS private endpoint is to be 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 + SubnetId pulumi.StringOutput `pulumi:"subnetId"` + // The time the EKMS private endpoint was created. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. + TimeCreated pulumi.StringOutput `pulumi:"timeCreated"` + // The time the EKMS private endpoint was updated. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. + TimeUpdated pulumi.StringOutput `pulumi:"timeUpdated"` +} + +// NewEkmsPrivateEndpoint registers a new resource with the given unique name, arguments, and options. +func NewEkmsPrivateEndpoint(ctx *pulumi.Context, + name string, args *EkmsPrivateEndpointArgs, opts ...pulumi.ResourceOption) (*EkmsPrivateEndpoint, error) { + if args == nil { + return nil, errors.New("missing one or more required arguments") + } + + if args.CaBundle == nil { + return nil, errors.New("invalid value for required argument 'CaBundle'") + } + if args.CompartmentId == nil { + return nil, errors.New("invalid value for required argument 'CompartmentId'") + } + if args.DisplayName == nil { + return nil, errors.New("invalid value for required argument 'DisplayName'") + } + if args.ExternalKeyManagerIp == nil { + return nil, errors.New("invalid value for required argument 'ExternalKeyManagerIp'") + } + if args.SubnetId == nil { + return nil, errors.New("invalid value for required argument 'SubnetId'") + } + opts = internal.PkgResourceDefaultOpts(opts) + var resource EkmsPrivateEndpoint + err := ctx.RegisterResource("oci:Kms/ekmsPrivateEndpoint:EkmsPrivateEndpoint", name, args, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// GetEkmsPrivateEndpoint gets an existing EkmsPrivateEndpoint resource's state with the given name, ID, and optional +// state properties that are used to uniquely qualify the lookup (nil if not required). +func GetEkmsPrivateEndpoint(ctx *pulumi.Context, + name string, id pulumi.IDInput, state *EkmsPrivateEndpointState, opts ...pulumi.ResourceOption) (*EkmsPrivateEndpoint, error) { + var resource EkmsPrivateEndpoint + err := ctx.ReadResource("oci:Kms/ekmsPrivateEndpoint:EkmsPrivateEndpoint", name, id, state, &resource, opts...) + if err != nil { + return nil, err + } + return &resource, nil +} + +// Input properties used for looking up and filtering EkmsPrivateEndpoint resources. +type ekmsPrivateEndpointState struct { + // CABundle to validate TLS certificate of the external key manager system in PEM format + CaBundle *string `pulumi:"caBundle"` + // Compartment identifier. + CompartmentId *string `pulumi:"compartmentId"` + // (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"foo-namespace.bar-key": "value"}` + DefinedTags map[string]interface{} `pulumi:"definedTags"` + // (Updatable) Display name of the EKMS private endpoint resource being created. + DisplayName *string `pulumi:"displayName"` + // External private IP to connect to from this EKMS private endpoint + ExternalKeyManagerIp *string `pulumi:"externalKeyManagerIp"` + // (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + FreeformTags map[string]interface{} `pulumi:"freeformTags"` + // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state. + LifecycleDetails *string `pulumi:"lifecycleDetails"` + // The port of the external key manager system + Port *int `pulumi:"port"` + // The IP address in the customer's VCN for the EKMS private endpoint. This is taken from subnet + PrivateEndpointIp *string `pulumi:"privateEndpointIp"` + // The current state of the EKMS private endpoint resource. + State *string `pulumi:"state"` + // The OCID of subnet in which the EKMS private endpoint is to be 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 + SubnetId *string `pulumi:"subnetId"` + // The time the EKMS private endpoint was created. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. + TimeCreated *string `pulumi:"timeCreated"` + // The time the EKMS private endpoint was updated. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. + TimeUpdated *string `pulumi:"timeUpdated"` +} + +type EkmsPrivateEndpointState struct { + // CABundle to validate TLS certificate of the external key manager system in PEM format + CaBundle pulumi.StringPtrInput + // Compartment identifier. + CompartmentId pulumi.StringPtrInput + // (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"foo-namespace.bar-key": "value"}` + DefinedTags pulumi.MapInput + // (Updatable) Display name of the EKMS private endpoint resource being created. + DisplayName pulumi.StringPtrInput + // External private IP to connect to from this EKMS private endpoint + ExternalKeyManagerIp pulumi.StringPtrInput + // (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + FreeformTags pulumi.MapInput + // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state. + LifecycleDetails pulumi.StringPtrInput + // The port of the external key manager system + Port pulumi.IntPtrInput + // The IP address in the customer's VCN for the EKMS private endpoint. This is taken from subnet + PrivateEndpointIp pulumi.StringPtrInput + // The current state of the EKMS private endpoint resource. + State pulumi.StringPtrInput + // The OCID of subnet in which the EKMS private endpoint is to be 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 + SubnetId pulumi.StringPtrInput + // The time the EKMS private endpoint was created. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. + TimeCreated pulumi.StringPtrInput + // The time the EKMS private endpoint was updated. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. + TimeUpdated pulumi.StringPtrInput +} + +func (EkmsPrivateEndpointState) ElementType() reflect.Type { + return reflect.TypeOf((*ekmsPrivateEndpointState)(nil)).Elem() +} + +type ekmsPrivateEndpointArgs struct { + // CABundle to validate TLS certificate of the external key manager system in PEM format + CaBundle string `pulumi:"caBundle"` + // Compartment identifier. + CompartmentId string `pulumi:"compartmentId"` + // (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"foo-namespace.bar-key": "value"}` + DefinedTags map[string]interface{} `pulumi:"definedTags"` + // (Updatable) Display name of the EKMS private endpoint resource being created. + DisplayName string `pulumi:"displayName"` + // External private IP to connect to from this EKMS private endpoint + ExternalKeyManagerIp string `pulumi:"externalKeyManagerIp"` + // (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + FreeformTags map[string]interface{} `pulumi:"freeformTags"` + // The port of the external key manager system + Port *int `pulumi:"port"` + // The OCID of subnet in which the EKMS private endpoint is to be 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 + SubnetId string `pulumi:"subnetId"` +} + +// The set of arguments for constructing a EkmsPrivateEndpoint resource. +type EkmsPrivateEndpointArgs struct { + // CABundle to validate TLS certificate of the external key manager system in PEM format + CaBundle pulumi.StringInput + // Compartment identifier. + CompartmentId pulumi.StringInput + // (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"foo-namespace.bar-key": "value"}` + DefinedTags pulumi.MapInput + // (Updatable) Display name of the EKMS private endpoint resource being created. + DisplayName pulumi.StringInput + // External private IP to connect to from this EKMS private endpoint + ExternalKeyManagerIp pulumi.StringInput + // (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + FreeformTags pulumi.MapInput + // The port of the external key manager system + Port pulumi.IntPtrInput + // The OCID of subnet in which the EKMS private endpoint is to be 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 + SubnetId pulumi.StringInput +} + +func (EkmsPrivateEndpointArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ekmsPrivateEndpointArgs)(nil)).Elem() +} + +type EkmsPrivateEndpointInput interface { + pulumi.Input + + ToEkmsPrivateEndpointOutput() EkmsPrivateEndpointOutput + ToEkmsPrivateEndpointOutputWithContext(ctx context.Context) EkmsPrivateEndpointOutput +} + +func (*EkmsPrivateEndpoint) ElementType() reflect.Type { + return reflect.TypeOf((**EkmsPrivateEndpoint)(nil)).Elem() +} + +func (i *EkmsPrivateEndpoint) ToEkmsPrivateEndpointOutput() EkmsPrivateEndpointOutput { + return i.ToEkmsPrivateEndpointOutputWithContext(context.Background()) +} + +func (i *EkmsPrivateEndpoint) ToEkmsPrivateEndpointOutputWithContext(ctx context.Context) EkmsPrivateEndpointOutput { + return pulumi.ToOutputWithContext(ctx, i).(EkmsPrivateEndpointOutput) +} + +func (i *EkmsPrivateEndpoint) ToOutput(ctx context.Context) pulumix.Output[*EkmsPrivateEndpoint] { + return pulumix.Output[*EkmsPrivateEndpoint]{ + OutputState: i.ToEkmsPrivateEndpointOutputWithContext(ctx).OutputState, + } +} + +// EkmsPrivateEndpointArrayInput is an input type that accepts EkmsPrivateEndpointArray and EkmsPrivateEndpointArrayOutput values. +// You can construct a concrete instance of `EkmsPrivateEndpointArrayInput` via: +// +// EkmsPrivateEndpointArray{ EkmsPrivateEndpointArgs{...} } +type EkmsPrivateEndpointArrayInput interface { + pulumi.Input + + ToEkmsPrivateEndpointArrayOutput() EkmsPrivateEndpointArrayOutput + ToEkmsPrivateEndpointArrayOutputWithContext(context.Context) EkmsPrivateEndpointArrayOutput +} + +type EkmsPrivateEndpointArray []EkmsPrivateEndpointInput + +func (EkmsPrivateEndpointArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]*EkmsPrivateEndpoint)(nil)).Elem() +} + +func (i EkmsPrivateEndpointArray) ToEkmsPrivateEndpointArrayOutput() EkmsPrivateEndpointArrayOutput { + return i.ToEkmsPrivateEndpointArrayOutputWithContext(context.Background()) +} + +func (i EkmsPrivateEndpointArray) ToEkmsPrivateEndpointArrayOutputWithContext(ctx context.Context) EkmsPrivateEndpointArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(EkmsPrivateEndpointArrayOutput) +} + +func (i EkmsPrivateEndpointArray) ToOutput(ctx context.Context) pulumix.Output[[]*EkmsPrivateEndpoint] { + return pulumix.Output[[]*EkmsPrivateEndpoint]{ + OutputState: i.ToEkmsPrivateEndpointArrayOutputWithContext(ctx).OutputState, + } +} + +// EkmsPrivateEndpointMapInput is an input type that accepts EkmsPrivateEndpointMap and EkmsPrivateEndpointMapOutput values. +// You can construct a concrete instance of `EkmsPrivateEndpointMapInput` via: +// +// EkmsPrivateEndpointMap{ "key": EkmsPrivateEndpointArgs{...} } +type EkmsPrivateEndpointMapInput interface { + pulumi.Input + + ToEkmsPrivateEndpointMapOutput() EkmsPrivateEndpointMapOutput + ToEkmsPrivateEndpointMapOutputWithContext(context.Context) EkmsPrivateEndpointMapOutput +} + +type EkmsPrivateEndpointMap map[string]EkmsPrivateEndpointInput + +func (EkmsPrivateEndpointMap) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*EkmsPrivateEndpoint)(nil)).Elem() +} + +func (i EkmsPrivateEndpointMap) ToEkmsPrivateEndpointMapOutput() EkmsPrivateEndpointMapOutput { + return i.ToEkmsPrivateEndpointMapOutputWithContext(context.Background()) +} + +func (i EkmsPrivateEndpointMap) ToEkmsPrivateEndpointMapOutputWithContext(ctx context.Context) EkmsPrivateEndpointMapOutput { + return pulumi.ToOutputWithContext(ctx, i).(EkmsPrivateEndpointMapOutput) +} + +func (i EkmsPrivateEndpointMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*EkmsPrivateEndpoint] { + return pulumix.Output[map[string]*EkmsPrivateEndpoint]{ + OutputState: i.ToEkmsPrivateEndpointMapOutputWithContext(ctx).OutputState, + } +} + +type EkmsPrivateEndpointOutput struct{ *pulumi.OutputState } + +func (EkmsPrivateEndpointOutput) ElementType() reflect.Type { + return reflect.TypeOf((**EkmsPrivateEndpoint)(nil)).Elem() +} + +func (o EkmsPrivateEndpointOutput) ToEkmsPrivateEndpointOutput() EkmsPrivateEndpointOutput { + return o +} + +func (o EkmsPrivateEndpointOutput) ToEkmsPrivateEndpointOutputWithContext(ctx context.Context) EkmsPrivateEndpointOutput { + return o +} + +func (o EkmsPrivateEndpointOutput) ToOutput(ctx context.Context) pulumix.Output[*EkmsPrivateEndpoint] { + return pulumix.Output[*EkmsPrivateEndpoint]{ + OutputState: o.OutputState, + } +} + +// CABundle to validate TLS certificate of the external key manager system in PEM format +func (o EkmsPrivateEndpointOutput) CaBundle() pulumi.StringOutput { + return o.ApplyT(func(v *EkmsPrivateEndpoint) pulumi.StringOutput { return v.CaBundle }).(pulumi.StringOutput) +} + +// Compartment identifier. +func (o EkmsPrivateEndpointOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v *EkmsPrivateEndpoint) pulumi.StringOutput { return v.CompartmentId }).(pulumi.StringOutput) +} + +// (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"foo-namespace.bar-key": "value"}` +func (o EkmsPrivateEndpointOutput) DefinedTags() pulumi.MapOutput { + return o.ApplyT(func(v *EkmsPrivateEndpoint) pulumi.MapOutput { return v.DefinedTags }).(pulumi.MapOutput) +} + +// (Updatable) Display name of the EKMS private endpoint resource being created. +func (o EkmsPrivateEndpointOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v *EkmsPrivateEndpoint) pulumi.StringOutput { return v.DisplayName }).(pulumi.StringOutput) +} + +// External private IP to connect to from this EKMS private endpoint +func (o EkmsPrivateEndpointOutput) ExternalKeyManagerIp() pulumi.StringOutput { + return o.ApplyT(func(v *EkmsPrivateEndpoint) pulumi.StringOutput { return v.ExternalKeyManagerIp }).(pulumi.StringOutput) +} + +// (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` +func (o EkmsPrivateEndpointOutput) FreeformTags() pulumi.MapOutput { + return o.ApplyT(func(v *EkmsPrivateEndpoint) pulumi.MapOutput { return v.FreeformTags }).(pulumi.MapOutput) +} + +// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state. +func (o EkmsPrivateEndpointOutput) LifecycleDetails() pulumi.StringOutput { + return o.ApplyT(func(v *EkmsPrivateEndpoint) pulumi.StringOutput { return v.LifecycleDetails }).(pulumi.StringOutput) +} + +// The port of the external key manager system +func (o EkmsPrivateEndpointOutput) Port() pulumi.IntOutput { + return o.ApplyT(func(v *EkmsPrivateEndpoint) pulumi.IntOutput { return v.Port }).(pulumi.IntOutput) +} + +// The IP address in the customer's VCN for the EKMS private endpoint. This is taken from subnet +func (o EkmsPrivateEndpointOutput) PrivateEndpointIp() pulumi.StringOutput { + return o.ApplyT(func(v *EkmsPrivateEndpoint) pulumi.StringOutput { return v.PrivateEndpointIp }).(pulumi.StringOutput) +} + +// The current state of the EKMS private endpoint resource. +func (o EkmsPrivateEndpointOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v *EkmsPrivateEndpoint) pulumi.StringOutput { return v.State }).(pulumi.StringOutput) +} + +// The OCID of subnet in which the EKMS private endpoint is to be 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 +func (o EkmsPrivateEndpointOutput) SubnetId() pulumi.StringOutput { + return o.ApplyT(func(v *EkmsPrivateEndpoint) pulumi.StringOutput { return v.SubnetId }).(pulumi.StringOutput) +} + +// The time the EKMS private endpoint was created. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. +func (o EkmsPrivateEndpointOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v *EkmsPrivateEndpoint) pulumi.StringOutput { return v.TimeCreated }).(pulumi.StringOutput) +} + +// The time the EKMS private endpoint was updated. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. +func (o EkmsPrivateEndpointOutput) TimeUpdated() pulumi.StringOutput { + return o.ApplyT(func(v *EkmsPrivateEndpoint) pulumi.StringOutput { return v.TimeUpdated }).(pulumi.StringOutput) +} + +type EkmsPrivateEndpointArrayOutput struct{ *pulumi.OutputState } + +func (EkmsPrivateEndpointArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]*EkmsPrivateEndpoint)(nil)).Elem() +} + +func (o EkmsPrivateEndpointArrayOutput) ToEkmsPrivateEndpointArrayOutput() EkmsPrivateEndpointArrayOutput { + return o +} + +func (o EkmsPrivateEndpointArrayOutput) ToEkmsPrivateEndpointArrayOutputWithContext(ctx context.Context) EkmsPrivateEndpointArrayOutput { + return o +} + +func (o EkmsPrivateEndpointArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*EkmsPrivateEndpoint] { + return pulumix.Output[[]*EkmsPrivateEndpoint]{ + OutputState: o.OutputState, + } +} + +func (o EkmsPrivateEndpointArrayOutput) Index(i pulumi.IntInput) EkmsPrivateEndpointOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) *EkmsPrivateEndpoint { + return vs[0].([]*EkmsPrivateEndpoint)[vs[1].(int)] + }).(EkmsPrivateEndpointOutput) +} + +type EkmsPrivateEndpointMapOutput struct{ *pulumi.OutputState } + +func (EkmsPrivateEndpointMapOutput) ElementType() reflect.Type { + return reflect.TypeOf((*map[string]*EkmsPrivateEndpoint)(nil)).Elem() +} + +func (o EkmsPrivateEndpointMapOutput) ToEkmsPrivateEndpointMapOutput() EkmsPrivateEndpointMapOutput { + return o +} + +func (o EkmsPrivateEndpointMapOutput) ToEkmsPrivateEndpointMapOutputWithContext(ctx context.Context) EkmsPrivateEndpointMapOutput { + return o +} + +func (o EkmsPrivateEndpointMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*EkmsPrivateEndpoint] { + return pulumix.Output[map[string]*EkmsPrivateEndpoint]{ + OutputState: o.OutputState, + } +} + +func (o EkmsPrivateEndpointMapOutput) MapIndex(k pulumi.StringInput) EkmsPrivateEndpointOutput { + return pulumi.All(o, k).ApplyT(func(vs []interface{}) *EkmsPrivateEndpoint { + return vs[0].(map[string]*EkmsPrivateEndpoint)[vs[1].(string)] + }).(EkmsPrivateEndpointOutput) +} + +func init() { + pulumi.RegisterInputType(reflect.TypeOf((*EkmsPrivateEndpointInput)(nil)).Elem(), &EkmsPrivateEndpoint{}) + pulumi.RegisterInputType(reflect.TypeOf((*EkmsPrivateEndpointArrayInput)(nil)).Elem(), EkmsPrivateEndpointArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*EkmsPrivateEndpointMapInput)(nil)).Elem(), EkmsPrivateEndpointMap{}) + pulumi.RegisterOutputType(EkmsPrivateEndpointOutput{}) + pulumi.RegisterOutputType(EkmsPrivateEndpointArrayOutput{}) + pulumi.RegisterOutputType(EkmsPrivateEndpointMapOutput{}) +} diff --git a/sdk/go/oci/kms/encryptedData.go b/sdk/go/oci/kms/encryptedData.go index 098e7ea64e..2e2f1704d2 100644 --- a/sdk/go/oci/kms/encryptedData.go +++ b/sdk/go/oci/kms/encryptedData.go @@ -62,7 +62,7 @@ type EncryptedData struct { Ciphertext pulumi.StringOutput `pulumi:"ciphertext"` // The service endpoint to perform cryptographic operations against. Cryptographic operations include 'Encrypt,' 'Decrypt,' and 'GenerateDataEncryptionKey' operations. see Vault Crypto endpoint. CryptoEndpoint pulumi.StringOutput `pulumi:"cryptoEndpoint"` - // The encryption algorithm to use to encrypt and decrypt data with a customer-managed key. `AES_256_GCM` indicates that the key is a symmetric key that uses the Advanced Encryption Standard (AES) algorithm and that the mode of encryption is the Galois/Counter Mode (GCM). `RSA_OAEP_SHA_1` indicates that the key is an asymmetric key that uses the RSA encryption algorithm and uses Optimal Asymmetric Encryption Padding (OAEP). `RSA_OAEP_SHA_256` indicates that the key is an asymmetric key that uses the RSA encryption algorithm with a SHA-256 hash and uses OAEP. + // The encryption algorithm to use to encrypt and decrypt data with a customer-managed key. `AES_256_GCM` indicates that the key is a symmetric key that uses the Advanced Encryption Standard (AES) algorithm and that the mode of encryption is the Galois/Counter Mode (GCM). `RSA_OAEP_SHA_1` indicates that the key is an asymmetric key that uses the RSA encryption algorithm and uses Optimal Asymmetric Encryption Padding (OAEP). `RSA_OAEP_SHA_256` indicates that the key is an asymmetric key that uses the RSA encryption algorithm with a SHA-256 hash and uses OAEP. EncryptionAlgorithm pulumi.StringOutput `pulumi:"encryptionAlgorithm"` // The OCID of the key to encrypt with. KeyId pulumi.StringOutput `pulumi:"keyId"` @@ -122,7 +122,7 @@ type encryptedDataState struct { Ciphertext *string `pulumi:"ciphertext"` // The service endpoint to perform cryptographic operations against. Cryptographic operations include 'Encrypt,' 'Decrypt,' and 'GenerateDataEncryptionKey' operations. see Vault Crypto endpoint. CryptoEndpoint *string `pulumi:"cryptoEndpoint"` - // The encryption algorithm to use to encrypt and decrypt data with a customer-managed key. `AES_256_GCM` indicates that the key is a symmetric key that uses the Advanced Encryption Standard (AES) algorithm and that the mode of encryption is the Galois/Counter Mode (GCM). `RSA_OAEP_SHA_1` indicates that the key is an asymmetric key that uses the RSA encryption algorithm and uses Optimal Asymmetric Encryption Padding (OAEP). `RSA_OAEP_SHA_256` indicates that the key is an asymmetric key that uses the RSA encryption algorithm with a SHA-256 hash and uses OAEP. + // The encryption algorithm to use to encrypt and decrypt data with a customer-managed key. `AES_256_GCM` indicates that the key is a symmetric key that uses the Advanced Encryption Standard (AES) algorithm and that the mode of encryption is the Galois/Counter Mode (GCM). `RSA_OAEP_SHA_1` indicates that the key is an asymmetric key that uses the RSA encryption algorithm and uses Optimal Asymmetric Encryption Padding (OAEP). `RSA_OAEP_SHA_256` indicates that the key is an asymmetric key that uses the RSA encryption algorithm with a SHA-256 hash and uses OAEP. EncryptionAlgorithm *string `pulumi:"encryptionAlgorithm"` // The OCID of the key to encrypt with. KeyId *string `pulumi:"keyId"` @@ -144,7 +144,7 @@ type EncryptedDataState struct { Ciphertext pulumi.StringPtrInput // The service endpoint to perform cryptographic operations against. Cryptographic operations include 'Encrypt,' 'Decrypt,' and 'GenerateDataEncryptionKey' operations. see Vault Crypto endpoint. CryptoEndpoint pulumi.StringPtrInput - // The encryption algorithm to use to encrypt and decrypt data with a customer-managed key. `AES_256_GCM` indicates that the key is a symmetric key that uses the Advanced Encryption Standard (AES) algorithm and that the mode of encryption is the Galois/Counter Mode (GCM). `RSA_OAEP_SHA_1` indicates that the key is an asymmetric key that uses the RSA encryption algorithm and uses Optimal Asymmetric Encryption Padding (OAEP). `RSA_OAEP_SHA_256` indicates that the key is an asymmetric key that uses the RSA encryption algorithm with a SHA-256 hash and uses OAEP. + // The encryption algorithm to use to encrypt and decrypt data with a customer-managed key. `AES_256_GCM` indicates that the key is a symmetric key that uses the Advanced Encryption Standard (AES) algorithm and that the mode of encryption is the Galois/Counter Mode (GCM). `RSA_OAEP_SHA_1` indicates that the key is an asymmetric key that uses the RSA encryption algorithm and uses Optimal Asymmetric Encryption Padding (OAEP). `RSA_OAEP_SHA_256` indicates that the key is an asymmetric key that uses the RSA encryption algorithm with a SHA-256 hash and uses OAEP. EncryptionAlgorithm pulumi.StringPtrInput // The OCID of the key to encrypt with. KeyId pulumi.StringPtrInput @@ -168,7 +168,7 @@ type encryptedDataArgs struct { AssociatedData map[string]interface{} `pulumi:"associatedData"` // The service endpoint to perform cryptographic operations against. Cryptographic operations include 'Encrypt,' 'Decrypt,' and 'GenerateDataEncryptionKey' operations. see Vault Crypto endpoint. CryptoEndpoint string `pulumi:"cryptoEndpoint"` - // The encryption algorithm to use to encrypt and decrypt data with a customer-managed key. `AES_256_GCM` indicates that the key is a symmetric key that uses the Advanced Encryption Standard (AES) algorithm and that the mode of encryption is the Galois/Counter Mode (GCM). `RSA_OAEP_SHA_1` indicates that the key is an asymmetric key that uses the RSA encryption algorithm and uses Optimal Asymmetric Encryption Padding (OAEP). `RSA_OAEP_SHA_256` indicates that the key is an asymmetric key that uses the RSA encryption algorithm with a SHA-256 hash and uses OAEP. + // The encryption algorithm to use to encrypt and decrypt data with a customer-managed key. `AES_256_GCM` indicates that the key is a symmetric key that uses the Advanced Encryption Standard (AES) algorithm and that the mode of encryption is the Galois/Counter Mode (GCM). `RSA_OAEP_SHA_1` indicates that the key is an asymmetric key that uses the RSA encryption algorithm and uses Optimal Asymmetric Encryption Padding (OAEP). `RSA_OAEP_SHA_256` indicates that the key is an asymmetric key that uses the RSA encryption algorithm with a SHA-256 hash and uses OAEP. EncryptionAlgorithm *string `pulumi:"encryptionAlgorithm"` // The OCID of the key to encrypt with. KeyId string `pulumi:"keyId"` @@ -189,7 +189,7 @@ type EncryptedDataArgs struct { AssociatedData pulumi.MapInput // The service endpoint to perform cryptographic operations against. Cryptographic operations include 'Encrypt,' 'Decrypt,' and 'GenerateDataEncryptionKey' operations. see Vault Crypto endpoint. CryptoEndpoint pulumi.StringInput - // The encryption algorithm to use to encrypt and decrypt data with a customer-managed key. `AES_256_GCM` indicates that the key is a symmetric key that uses the Advanced Encryption Standard (AES) algorithm and that the mode of encryption is the Galois/Counter Mode (GCM). `RSA_OAEP_SHA_1` indicates that the key is an asymmetric key that uses the RSA encryption algorithm and uses Optimal Asymmetric Encryption Padding (OAEP). `RSA_OAEP_SHA_256` indicates that the key is an asymmetric key that uses the RSA encryption algorithm with a SHA-256 hash and uses OAEP. + // The encryption algorithm to use to encrypt and decrypt data with a customer-managed key. `AES_256_GCM` indicates that the key is a symmetric key that uses the Advanced Encryption Standard (AES) algorithm and that the mode of encryption is the Galois/Counter Mode (GCM). `RSA_OAEP_SHA_1` indicates that the key is an asymmetric key that uses the RSA encryption algorithm and uses Optimal Asymmetric Encryption Padding (OAEP). `RSA_OAEP_SHA_256` indicates that the key is an asymmetric key that uses the RSA encryption algorithm with a SHA-256 hash and uses OAEP. EncryptionAlgorithm pulumi.StringPtrInput // The OCID of the key to encrypt with. KeyId pulumi.StringInput @@ -330,7 +330,7 @@ func (o EncryptedDataOutput) CryptoEndpoint() pulumi.StringOutput { return o.ApplyT(func(v *EncryptedData) pulumi.StringOutput { return v.CryptoEndpoint }).(pulumi.StringOutput) } -// The encryption algorithm to use to encrypt and decrypt data with a customer-managed key. `AES_256_GCM` indicates that the key is a symmetric key that uses the Advanced Encryption Standard (AES) algorithm and that the mode of encryption is the Galois/Counter Mode (GCM). `RSA_OAEP_SHA_1` indicates that the key is an asymmetric key that uses the RSA encryption algorithm and uses Optimal Asymmetric Encryption Padding (OAEP). `RSA_OAEP_SHA_256` indicates that the key is an asymmetric key that uses the RSA encryption algorithm with a SHA-256 hash and uses OAEP. +// The encryption algorithm to use to encrypt and decrypt data with a customer-managed key. `AES_256_GCM` indicates that the key is a symmetric key that uses the Advanced Encryption Standard (AES) algorithm and that the mode of encryption is the Galois/Counter Mode (GCM). `RSA_OAEP_SHA_1` indicates that the key is an asymmetric key that uses the RSA encryption algorithm and uses Optimal Asymmetric Encryption Padding (OAEP). `RSA_OAEP_SHA_256` indicates that the key is an asymmetric key that uses the RSA encryption algorithm with a SHA-256 hash and uses OAEP. func (o EncryptedDataOutput) EncryptionAlgorithm() pulumi.StringOutput { return o.ApplyT(func(v *EncryptedData) pulumi.StringOutput { return v.EncryptionAlgorithm }).(pulumi.StringOutput) } diff --git a/sdk/go/oci/kms/getEkmsPrivateEndpoint.go b/sdk/go/oci/kms/getEkmsPrivateEndpoint.go new file mode 100644 index 0000000000..f9d8e22929 --- /dev/null +++ b/sdk/go/oci/kms/getEkmsPrivateEndpoint.go @@ -0,0 +1,213 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package kms + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-oci/sdk/go/oci/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" +) + +// This data source provides details about a specific Ekms Private Endpoint resource in Oracle Cloud Infrastructure Kms service. +// +// Gets a specific EKMS private by identifier. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/go/oci/Kms" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := Kms.GetEkmsPrivateEndpoint(ctx, &kms.GetEkmsPrivateEndpointArgs{ +// EkmsPrivateEndpointId: oci_kms_ekms_private_endpoint.Test_ekms_private_endpoint.Id, +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func LookupEkmsPrivateEndpoint(ctx *pulumi.Context, args *LookupEkmsPrivateEndpointArgs, opts ...pulumi.InvokeOption) (*LookupEkmsPrivateEndpointResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv LookupEkmsPrivateEndpointResult + err := ctx.Invoke("oci:Kms/getEkmsPrivateEndpoint:getEkmsPrivateEndpoint", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getEkmsPrivateEndpoint. +type LookupEkmsPrivateEndpointArgs struct { + // Unique EKMS private endpoint identifier. + EkmsPrivateEndpointId string `pulumi:"ekmsPrivateEndpointId"` +} + +// A collection of values returned by getEkmsPrivateEndpoint. +type LookupEkmsPrivateEndpointResult struct { + // CABundle to validate TLS certificate of the external key manager system in PEM format + CaBundle string `pulumi:"caBundle"` + // Identifier of the compartment this EKMS private endpoint belongs to + CompartmentId string `pulumi:"compartmentId"` + // Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"foo-namespace.bar-key": "value"}` + DefinedTags map[string]interface{} `pulumi:"definedTags"` + // Mutable name of the EKMS private endpoint + DisplayName string `pulumi:"displayName"` + EkmsPrivateEndpointId string `pulumi:"ekmsPrivateEndpointId"` + // Private IP of the external key manager system to connect to from the EKMS private endpoint + ExternalKeyManagerIp string `pulumi:"externalKeyManagerIp"` + // Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + FreeformTags map[string]interface{} `pulumi:"freeformTags"` + // Unique identifier that is immutable + Id string `pulumi:"id"` + // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state. + LifecycleDetails string `pulumi:"lifecycleDetails"` + // The port of the external key manager system + Port int `pulumi:"port"` + // The IP address in the customer's VCN for the EKMS private endpoint. This is taken from subnet + PrivateEndpointIp string `pulumi:"privateEndpointIp"` + // The current state of the EKMS private endpoint resource. + State string `pulumi:"state"` + // Subnet Identifier + SubnetId string `pulumi:"subnetId"` + // The time the EKMS private endpoint was created. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. + TimeCreated string `pulumi:"timeCreated"` + // The time the EKMS private endpoint was updated. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. + TimeUpdated string `pulumi:"timeUpdated"` +} + +func LookupEkmsPrivateEndpointOutput(ctx *pulumi.Context, args LookupEkmsPrivateEndpointOutputArgs, opts ...pulumi.InvokeOption) LookupEkmsPrivateEndpointResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (LookupEkmsPrivateEndpointResult, error) { + args := v.(LookupEkmsPrivateEndpointArgs) + r, err := LookupEkmsPrivateEndpoint(ctx, &args, opts...) + var s LookupEkmsPrivateEndpointResult + if r != nil { + s = *r + } + return s, err + }).(LookupEkmsPrivateEndpointResultOutput) +} + +// A collection of arguments for invoking getEkmsPrivateEndpoint. +type LookupEkmsPrivateEndpointOutputArgs struct { + // Unique EKMS private endpoint identifier. + EkmsPrivateEndpointId pulumi.StringInput `pulumi:"ekmsPrivateEndpointId"` +} + +func (LookupEkmsPrivateEndpointOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*LookupEkmsPrivateEndpointArgs)(nil)).Elem() +} + +// A collection of values returned by getEkmsPrivateEndpoint. +type LookupEkmsPrivateEndpointResultOutput struct{ *pulumi.OutputState } + +func (LookupEkmsPrivateEndpointResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*LookupEkmsPrivateEndpointResult)(nil)).Elem() +} + +func (o LookupEkmsPrivateEndpointResultOutput) ToLookupEkmsPrivateEndpointResultOutput() LookupEkmsPrivateEndpointResultOutput { + return o +} + +func (o LookupEkmsPrivateEndpointResultOutput) ToLookupEkmsPrivateEndpointResultOutputWithContext(ctx context.Context) LookupEkmsPrivateEndpointResultOutput { + return o +} + +func (o LookupEkmsPrivateEndpointResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupEkmsPrivateEndpointResult] { + return pulumix.Output[LookupEkmsPrivateEndpointResult]{ + OutputState: o.OutputState, + } +} + +// CABundle to validate TLS certificate of the external key manager system in PEM format +func (o LookupEkmsPrivateEndpointResultOutput) CaBundle() pulumi.StringOutput { + return o.ApplyT(func(v LookupEkmsPrivateEndpointResult) string { return v.CaBundle }).(pulumi.StringOutput) +} + +// Identifier of the compartment this EKMS private endpoint belongs to +func (o LookupEkmsPrivateEndpointResultOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v LookupEkmsPrivateEndpointResult) string { return v.CompartmentId }).(pulumi.StringOutput) +} + +// Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"foo-namespace.bar-key": "value"}` +func (o LookupEkmsPrivateEndpointResultOutput) DefinedTags() pulumi.MapOutput { + return o.ApplyT(func(v LookupEkmsPrivateEndpointResult) map[string]interface{} { return v.DefinedTags }).(pulumi.MapOutput) +} + +// Mutable name of the EKMS private endpoint +func (o LookupEkmsPrivateEndpointResultOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v LookupEkmsPrivateEndpointResult) string { return v.DisplayName }).(pulumi.StringOutput) +} + +func (o LookupEkmsPrivateEndpointResultOutput) EkmsPrivateEndpointId() pulumi.StringOutput { + return o.ApplyT(func(v LookupEkmsPrivateEndpointResult) string { return v.EkmsPrivateEndpointId }).(pulumi.StringOutput) +} + +// Private IP of the external key manager system to connect to from the EKMS private endpoint +func (o LookupEkmsPrivateEndpointResultOutput) ExternalKeyManagerIp() pulumi.StringOutput { + return o.ApplyT(func(v LookupEkmsPrivateEndpointResult) string { return v.ExternalKeyManagerIp }).(pulumi.StringOutput) +} + +// Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` +func (o LookupEkmsPrivateEndpointResultOutput) FreeformTags() pulumi.MapOutput { + return o.ApplyT(func(v LookupEkmsPrivateEndpointResult) map[string]interface{} { return v.FreeformTags }).(pulumi.MapOutput) +} + +// Unique identifier that is immutable +func (o LookupEkmsPrivateEndpointResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v LookupEkmsPrivateEndpointResult) string { return v.Id }).(pulumi.StringOutput) +} + +// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state. +func (o LookupEkmsPrivateEndpointResultOutput) LifecycleDetails() pulumi.StringOutput { + return o.ApplyT(func(v LookupEkmsPrivateEndpointResult) string { return v.LifecycleDetails }).(pulumi.StringOutput) +} + +// The port of the external key manager system +func (o LookupEkmsPrivateEndpointResultOutput) Port() pulumi.IntOutput { + return o.ApplyT(func(v LookupEkmsPrivateEndpointResult) int { return v.Port }).(pulumi.IntOutput) +} + +// The IP address in the customer's VCN for the EKMS private endpoint. This is taken from subnet +func (o LookupEkmsPrivateEndpointResultOutput) PrivateEndpointIp() pulumi.StringOutput { + return o.ApplyT(func(v LookupEkmsPrivateEndpointResult) string { return v.PrivateEndpointIp }).(pulumi.StringOutput) +} + +// The current state of the EKMS private endpoint resource. +func (o LookupEkmsPrivateEndpointResultOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v LookupEkmsPrivateEndpointResult) string { return v.State }).(pulumi.StringOutput) +} + +// Subnet Identifier +func (o LookupEkmsPrivateEndpointResultOutput) SubnetId() pulumi.StringOutput { + return o.ApplyT(func(v LookupEkmsPrivateEndpointResult) string { return v.SubnetId }).(pulumi.StringOutput) +} + +// The time the EKMS private endpoint was created. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. +func (o LookupEkmsPrivateEndpointResultOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v LookupEkmsPrivateEndpointResult) string { return v.TimeCreated }).(pulumi.StringOutput) +} + +// The time the EKMS private endpoint was updated. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. +func (o LookupEkmsPrivateEndpointResultOutput) TimeUpdated() pulumi.StringOutput { + return o.ApplyT(func(v LookupEkmsPrivateEndpointResult) string { return v.TimeUpdated }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(LookupEkmsPrivateEndpointResultOutput{}) +} diff --git a/sdk/go/oci/kms/getEkmsPrivateEndpoints.go b/sdk/go/oci/kms/getEkmsPrivateEndpoints.go new file mode 100644 index 0000000000..f5899d6720 --- /dev/null +++ b/sdk/go/oci/kms/getEkmsPrivateEndpoints.go @@ -0,0 +1,140 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package kms + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-oci/sdk/go/oci/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" + "github.com/pulumi/pulumi/sdk/v3/go/pulumix" +) + +// This data source provides the list of Ekms Private Endpoints in Oracle Cloud Infrastructure Kms service. +// +// Returns a list of all the EKMS private endpoints in the specified compartment. +// +// ## Example Usage +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-oci/sdk/go/oci/Kms" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := Kms.GetEkmsPrivateEndpoints(ctx, &kms.GetEkmsPrivateEndpointsArgs{ +// CompartmentId: _var.Compartment_id, +// }, nil) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +func GetEkmsPrivateEndpoints(ctx *pulumi.Context, args *GetEkmsPrivateEndpointsArgs, opts ...pulumi.InvokeOption) (*GetEkmsPrivateEndpointsResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetEkmsPrivateEndpointsResult + err := ctx.Invoke("oci:Kms/getEkmsPrivateEndpoints:getEkmsPrivateEndpoints", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getEkmsPrivateEndpoints. +type GetEkmsPrivateEndpointsArgs struct { + // The OCID of the compartment. + CompartmentId string `pulumi:"compartmentId"` + Filters []GetEkmsPrivateEndpointsFilter `pulumi:"filters"` +} + +// A collection of values returned by getEkmsPrivateEndpoints. +type GetEkmsPrivateEndpointsResult struct { + // Identifier of the compartment this EKMS private endpoint belongs to + CompartmentId string `pulumi:"compartmentId"` + // The list of ekms_private_endpoints. + EkmsPrivateEndpoints []GetEkmsPrivateEndpointsEkmsPrivateEndpoint `pulumi:"ekmsPrivateEndpoints"` + Filters []GetEkmsPrivateEndpointsFilter `pulumi:"filters"` + // The provider-assigned unique ID for this managed resource. + Id string `pulumi:"id"` +} + +func GetEkmsPrivateEndpointsOutput(ctx *pulumi.Context, args GetEkmsPrivateEndpointsOutputArgs, opts ...pulumi.InvokeOption) GetEkmsPrivateEndpointsResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetEkmsPrivateEndpointsResult, error) { + args := v.(GetEkmsPrivateEndpointsArgs) + r, err := GetEkmsPrivateEndpoints(ctx, &args, opts...) + var s GetEkmsPrivateEndpointsResult + if r != nil { + s = *r + } + return s, err + }).(GetEkmsPrivateEndpointsResultOutput) +} + +// A collection of arguments for invoking getEkmsPrivateEndpoints. +type GetEkmsPrivateEndpointsOutputArgs struct { + // The OCID of the compartment. + CompartmentId pulumi.StringInput `pulumi:"compartmentId"` + Filters GetEkmsPrivateEndpointsFilterArrayInput `pulumi:"filters"` +} + +func (GetEkmsPrivateEndpointsOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetEkmsPrivateEndpointsArgs)(nil)).Elem() +} + +// A collection of values returned by getEkmsPrivateEndpoints. +type GetEkmsPrivateEndpointsResultOutput struct{ *pulumi.OutputState } + +func (GetEkmsPrivateEndpointsResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetEkmsPrivateEndpointsResult)(nil)).Elem() +} + +func (o GetEkmsPrivateEndpointsResultOutput) ToGetEkmsPrivateEndpointsResultOutput() GetEkmsPrivateEndpointsResultOutput { + return o +} + +func (o GetEkmsPrivateEndpointsResultOutput) ToGetEkmsPrivateEndpointsResultOutputWithContext(ctx context.Context) GetEkmsPrivateEndpointsResultOutput { + return o +} + +func (o GetEkmsPrivateEndpointsResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetEkmsPrivateEndpointsResult] { + return pulumix.Output[GetEkmsPrivateEndpointsResult]{ + OutputState: o.OutputState, + } +} + +// Identifier of the compartment this EKMS private endpoint belongs to +func (o GetEkmsPrivateEndpointsResultOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v GetEkmsPrivateEndpointsResult) string { return v.CompartmentId }).(pulumi.StringOutput) +} + +// The list of ekms_private_endpoints. +func (o GetEkmsPrivateEndpointsResultOutput) EkmsPrivateEndpoints() GetEkmsPrivateEndpointsEkmsPrivateEndpointArrayOutput { + return o.ApplyT(func(v GetEkmsPrivateEndpointsResult) []GetEkmsPrivateEndpointsEkmsPrivateEndpoint { + return v.EkmsPrivateEndpoints + }).(GetEkmsPrivateEndpointsEkmsPrivateEndpointArrayOutput) +} + +func (o GetEkmsPrivateEndpointsResultOutput) Filters() GetEkmsPrivateEndpointsFilterArrayOutput { + return o.ApplyT(func(v GetEkmsPrivateEndpointsResult) []GetEkmsPrivateEndpointsFilter { return v.Filters }).(GetEkmsPrivateEndpointsFilterArrayOutput) +} + +// The provider-assigned unique ID for this managed resource. +func (o GetEkmsPrivateEndpointsResultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetEkmsPrivateEndpointsResult) string { return v.Id }).(pulumi.StringOutput) +} + +func init() { + pulumi.RegisterOutputType(GetEkmsPrivateEndpointsResultOutput{}) +} diff --git a/sdk/go/oci/kms/getKey.go b/sdk/go/oci/kms/getKey.go index 239ed5b244..b07c78278f 100644 --- a/sdk/go/oci/kms/getKey.go +++ b/sdk/go/oci/kms/getKey.go @@ -76,17 +76,20 @@ type LookupKeyResult struct { DesiredState string `pulumi:"desiredState"` // A user-friendly name for the key. It does not have to be unique, and it is changeable. Avoid entering confidential information. DisplayName string `pulumi:"displayName"` + // Key reference data to be returned to the customer as a response. + ExternalKeyReferenceDetails []GetKeyExternalKeyReferenceDetail `pulumi:"externalKeyReferenceDetails"` + ExternalKeyReferences []GetKeyExternalKeyReference `pulumi:"externalKeyReferences"` // 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` FreeformTags map[string]interface{} `pulumi:"freeformTags"` // The OCID of the key. Id string `pulumi:"id"` - // A boolean that will be true when key is primary, and will be false when key is a replica from a primary key. + // A Boolean value that indicates whether the Key belongs to primary Vault or replica vault. IsPrimary bool `pulumi:"isPrimary"` KeyId string `pulumi:"keyId"` // The cryptographic properties of a key. KeyShapes []GetKeyKeyShape `pulumi:"keyShapes"` ManagementEndpoint string `pulumi:"managementEndpoint"` - // The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. + // The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager. ProtectionMode string `pulumi:"protectionMode"` // Key replica details ReplicaDetails []GetKeyReplicaDetail `pulumi:"replicaDetails"` @@ -178,6 +181,15 @@ func (o LookupKeyResultOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v LookupKeyResult) string { return v.DisplayName }).(pulumi.StringOutput) } +// Key reference data to be returned to the customer as a response. +func (o LookupKeyResultOutput) ExternalKeyReferenceDetails() GetKeyExternalKeyReferenceDetailArrayOutput { + return o.ApplyT(func(v LookupKeyResult) []GetKeyExternalKeyReferenceDetail { return v.ExternalKeyReferenceDetails }).(GetKeyExternalKeyReferenceDetailArrayOutput) +} + +func (o LookupKeyResultOutput) ExternalKeyReferences() GetKeyExternalKeyReferenceArrayOutput { + return o.ApplyT(func(v LookupKeyResult) []GetKeyExternalKeyReference { return v.ExternalKeyReferences }).(GetKeyExternalKeyReferenceArrayOutput) +} + // 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` func (o LookupKeyResultOutput) FreeformTags() pulumi.MapOutput { return o.ApplyT(func(v LookupKeyResult) map[string]interface{} { return v.FreeformTags }).(pulumi.MapOutput) @@ -188,7 +200,7 @@ func (o LookupKeyResultOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v LookupKeyResult) string { return v.Id }).(pulumi.StringOutput) } -// A boolean that will be true when key is primary, and will be false when key is a replica from a primary key. +// A Boolean value that indicates whether the Key belongs to primary Vault or replica vault. func (o LookupKeyResultOutput) IsPrimary() pulumi.BoolOutput { return o.ApplyT(func(v LookupKeyResult) bool { return v.IsPrimary }).(pulumi.BoolOutput) } @@ -206,7 +218,7 @@ func (o LookupKeyResultOutput) ManagementEndpoint() pulumi.StringOutput { return o.ApplyT(func(v LookupKeyResult) string { return v.ManagementEndpoint }).(pulumi.StringOutput) } -// The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. +// The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager. func (o LookupKeyResultOutput) ProtectionMode() pulumi.StringOutput { return o.ApplyT(func(v LookupKeyResult) string { return v.ProtectionMode }).(pulumi.StringOutput) } diff --git a/sdk/go/oci/kms/getKeyVersion.go b/sdk/go/oci/kms/getKeyVersion.go index aae53ce3ce..bd702893f0 100644 --- a/sdk/go/oci/kms/getKeyVersion.go +++ b/sdk/go/oci/kms/getKeyVersion.go @@ -72,9 +72,13 @@ type LookupKeyVersionArgs struct { type LookupKeyVersionResult struct { // The OCID of the compartment that contains this key version. CompartmentId string `pulumi:"compartmentId"` + // Key reference data to be returned to the customer as a response. + ExternalKeyReferenceDetails []GetKeyVersionExternalKeyReferenceDetail `pulumi:"externalKeyReferenceDetails"` + // Key version ID associated with the external key. + ExternalKeyVersionId string `pulumi:"externalKeyVersionId"` // The OCID of the key version. Id string `pulumi:"id"` - // A boolean that will be true when key version is primary, and will be false when key version is a replica from a primary key version. + // A Boolean value that indicates whether the KeyVersion belongs to primary Vault or replica Vault. IsPrimary bool `pulumi:"isPrimary"` // The OCID of the master encryption key associated with this key version. KeyId string `pulumi:"keyId"` @@ -151,12 +155,24 @@ func (o LookupKeyVersionResultOutput) CompartmentId() pulumi.StringOutput { return o.ApplyT(func(v LookupKeyVersionResult) string { return v.CompartmentId }).(pulumi.StringOutput) } +// Key reference data to be returned to the customer as a response. +func (o LookupKeyVersionResultOutput) ExternalKeyReferenceDetails() GetKeyVersionExternalKeyReferenceDetailArrayOutput { + return o.ApplyT(func(v LookupKeyVersionResult) []GetKeyVersionExternalKeyReferenceDetail { + return v.ExternalKeyReferenceDetails + }).(GetKeyVersionExternalKeyReferenceDetailArrayOutput) +} + +// Key version ID associated with the external key. +func (o LookupKeyVersionResultOutput) ExternalKeyVersionId() pulumi.StringOutput { + return o.ApplyT(func(v LookupKeyVersionResult) string { return v.ExternalKeyVersionId }).(pulumi.StringOutput) +} + // The OCID of the key version. func (o LookupKeyVersionResultOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v LookupKeyVersionResult) string { return v.Id }).(pulumi.StringOutput) } -// A boolean that will be true when key version is primary, and will be false when key version is a replica from a primary key version. +// A Boolean value that indicates whether the KeyVersion belongs to primary Vault or replica Vault. func (o LookupKeyVersionResultOutput) IsPrimary() pulumi.BoolOutput { return o.ApplyT(func(v LookupKeyVersionResult) bool { return v.IsPrimary }).(pulumi.BoolOutput) } diff --git a/sdk/go/oci/kms/getKeys.go b/sdk/go/oci/kms/getKeys.go index 32b294459b..187e2d53f5 100644 --- a/sdk/go/oci/kms/getKeys.go +++ b/sdk/go/oci/kms/getKeys.go @@ -74,13 +74,13 @@ type GetKeysArgs struct { Length *int `pulumi:"length"` // The service endpoint to perform management operations against. Management operations include 'Create,' 'Update,' 'List,' 'Get,' and 'Delete' operations. See Vault Management endpoint. ManagementEndpoint string `pulumi:"managementEndpoint"` - // A key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. + // A key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager. ProtectionMode *string `pulumi:"protectionMode"` } // A collection of values returned by getKeys. type GetKeysResult struct { - // The algorithm used by a key's key versions to encrypt or decrypt. + // The algorithm used by a key's key versions to encrypt or decrypt. Only AES algorithm is supported for `External` keys. Algorithm *string `pulumi:"algorithm"` // The OCID of the compartment that contains this master encryption key. CompartmentId string `pulumi:"compartmentId"` @@ -97,7 +97,7 @@ type GetKeysResult struct { // * ECDSA: 32, 48, or 66 Length *int `pulumi:"length"` ManagementEndpoint string `pulumi:"managementEndpoint"` - // The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. + // The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager. ProtectionMode *string `pulumi:"protectionMode"` } @@ -127,7 +127,7 @@ type GetKeysOutputArgs struct { Length pulumi.IntPtrInput `pulumi:"length"` // The service endpoint to perform management operations against. Management operations include 'Create,' 'Update,' 'List,' 'Get,' and 'Delete' operations. See Vault Management endpoint. ManagementEndpoint pulumi.StringInput `pulumi:"managementEndpoint"` - // A key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. + // A key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager. ProtectionMode pulumi.StringPtrInput `pulumi:"protectionMode"` } @@ -156,7 +156,7 @@ func (o GetKeysResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetKey } } -// The algorithm used by a key's key versions to encrypt or decrypt. +// The algorithm used by a key's key versions to encrypt or decrypt. Only AES algorithm is supported for `External` keys. func (o GetKeysResultOutput) Algorithm() pulumi.StringPtrOutput { return o.ApplyT(func(v GetKeysResult) *string { return v.Algorithm }).(pulumi.StringPtrOutput) } @@ -197,7 +197,7 @@ func (o GetKeysResultOutput) ManagementEndpoint() pulumi.StringOutput { return o.ApplyT(func(v GetKeysResult) string { return v.ManagementEndpoint }).(pulumi.StringOutput) } -// The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. +// The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager. func (o GetKeysResultOutput) ProtectionMode() pulumi.StringPtrOutput { return o.ApplyT(func(v GetKeysResult) *string { return v.ProtectionMode }).(pulumi.StringPtrOutput) } diff --git a/sdk/go/oci/kms/getReplicationStatus.go b/sdk/go/oci/kms/getReplicationStatus.go index 7f43662dc8..9e5495e701 100644 --- a/sdk/go/oci/kms/getReplicationStatus.go +++ b/sdk/go/oci/kms/getReplicationStatus.go @@ -66,10 +66,11 @@ type GetReplicationStatusArgs struct { // A collection of values returned by getReplicationStatus. type GetReplicationStatusResult struct { // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - ManagementEndpoint string `pulumi:"managementEndpoint"` - ReplicaDetails []GetReplicationStatusReplicaDetail `pulumi:"replicaDetails"` - ReplicationId string `pulumi:"replicationId"` + Id string `pulumi:"id"` + ManagementEndpoint string `pulumi:"managementEndpoint"` + // Replica Details. + ReplicaDetails []GetReplicationStatusReplicaDetail `pulumi:"replicaDetails"` + ReplicationId string `pulumi:"replicationId"` } func GetReplicationStatusOutput(ctx *pulumi.Context, args GetReplicationStatusOutputArgs, opts ...pulumi.InvokeOption) GetReplicationStatusResultOutput { @@ -127,6 +128,7 @@ func (o GetReplicationStatusResultOutput) ManagementEndpoint() pulumi.StringOutp return o.ApplyT(func(v GetReplicationStatusResult) string { return v.ManagementEndpoint }).(pulumi.StringOutput) } +// Replica Details. func (o GetReplicationStatusResultOutput) ReplicaDetails() GetReplicationStatusReplicaDetailArrayOutput { return o.ApplyT(func(v GetReplicationStatusResult) []GetReplicationStatusReplicaDetail { return v.ReplicaDetails }).(GetReplicationStatusReplicaDetailArrayOutput) } diff --git a/sdk/go/oci/kms/getVault.go b/sdk/go/oci/kms/getVault.go index d54500e3c3..10db025ce8 100644 --- a/sdk/go/oci/kms/getVault.go +++ b/sdk/go/oci/kms/getVault.go @@ -72,11 +72,14 @@ type LookupVaultResult struct { DefinedTags map[string]interface{} `pulumi:"definedTags"` // A user-friendly name for the vault. It does not have to be unique, and it is changeable. Avoid entering confidential information. DisplayName string `pulumi:"displayName"` + // Summary about metadata of external key manager to be returned to the customer as a response. + ExternalKeyManagerMetadataSummaries []GetVaultExternalKeyManagerMetadataSummary `pulumi:"externalKeyManagerMetadataSummaries"` + ExternalKeyManagerMetadatas []GetVaultExternalKeyManagerMetadata `pulumi:"externalKeyManagerMetadatas"` // 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` FreeformTags map[string]interface{} `pulumi:"freeformTags"` // The OCID of the vault. Id string `pulumi:"id"` - // A boolean that will be true when vault is primary, and will be false when vault is a replica from a primary vault. + // A Boolean value that indicates whether the Vault is primary Vault or replica Vault. IsPrimary bool `pulumi:"isPrimary"` // The service endpoint to perform management operations against. Management operations include "Create," "Update," "List," "Get," and "Delete" operations. ManagementEndpoint string `pulumi:"managementEndpoint"` @@ -88,7 +91,7 @@ type LookupVaultResult struct { RestoreFromObjectStores []GetVaultRestoreFromObjectStore `pulumi:"restoreFromObjectStores"` // When flipped, triggers restore if restore options are provided. Values of 0 or 1 are supported RestoreTrigger bool `pulumi:"restoreTrigger"` - // The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. + // The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. RestoredFromVaultId string `pulumi:"restoredFromVaultId"` // The vault's current lifecycle state. Example: `DELETED` State string `pulumi:"state"` @@ -165,6 +168,17 @@ func (o LookupVaultResultOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v LookupVaultResult) string { return v.DisplayName }).(pulumi.StringOutput) } +// Summary about metadata of external key manager to be returned to the customer as a response. +func (o LookupVaultResultOutput) ExternalKeyManagerMetadataSummaries() GetVaultExternalKeyManagerMetadataSummaryArrayOutput { + return o.ApplyT(func(v LookupVaultResult) []GetVaultExternalKeyManagerMetadataSummary { + return v.ExternalKeyManagerMetadataSummaries + }).(GetVaultExternalKeyManagerMetadataSummaryArrayOutput) +} + +func (o LookupVaultResultOutput) ExternalKeyManagerMetadatas() GetVaultExternalKeyManagerMetadataArrayOutput { + return o.ApplyT(func(v LookupVaultResult) []GetVaultExternalKeyManagerMetadata { return v.ExternalKeyManagerMetadatas }).(GetVaultExternalKeyManagerMetadataArrayOutput) +} + // 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` func (o LookupVaultResultOutput) FreeformTags() pulumi.MapOutput { return o.ApplyT(func(v LookupVaultResult) map[string]interface{} { return v.FreeformTags }).(pulumi.MapOutput) @@ -175,7 +189,7 @@ func (o LookupVaultResultOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v LookupVaultResult) string { return v.Id }).(pulumi.StringOutput) } -// A boolean that will be true when vault is primary, and will be false when vault is a replica from a primary vault. +// A Boolean value that indicates whether the Vault is primary Vault or replica Vault. func (o LookupVaultResultOutput) IsPrimary() pulumi.BoolOutput { return o.ApplyT(func(v LookupVaultResult) bool { return v.IsPrimary }).(pulumi.BoolOutput) } @@ -205,7 +219,7 @@ func (o LookupVaultResultOutput) RestoreTrigger() pulumi.BoolOutput { return o.ApplyT(func(v LookupVaultResult) bool { return v.RestoreTrigger }).(pulumi.BoolOutput) } -// The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. +// The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. func (o LookupVaultResultOutput) RestoredFromVaultId() pulumi.StringOutput { return o.ApplyT(func(v LookupVaultResult) string { return v.RestoredFromVaultId }).(pulumi.StringOutput) } diff --git a/sdk/go/oci/kms/init.go b/sdk/go/oci/kms/init.go index 84e2bf0274..45711ef53c 100644 --- a/sdk/go/oci/kms/init.go +++ b/sdk/go/oci/kms/init.go @@ -21,6 +21,8 @@ func (m *module) Version() semver.Version { func (m *module) Construct(ctx *pulumi.Context, name, typ, urn string) (r pulumi.Resource, err error) { switch typ { + case "oci:Kms/ekmsPrivateEndpoint:EkmsPrivateEndpoint": + r = &EkmsPrivateEndpoint{} case "oci:Kms/encryptedData:EncryptedData": r = &EncryptedData{} case "oci:Kms/generatedKey:GeneratedKey": @@ -50,6 +52,11 @@ func init() { if err != nil { version = semver.Version{Major: 1} } + pulumi.RegisterResourceModule( + "oci", + "Kms/ekmsPrivateEndpoint", + &module{version}, + ) pulumi.RegisterResourceModule( "oci", "Kms/encryptedData", diff --git a/sdk/go/oci/kms/key.go b/sdk/go/oci/kms/key.go index f2ef518381..0d09c8fdf7 100644 --- a/sdk/go/oci/kms/key.go +++ b/sdk/go/oci/kms/key.go @@ -22,46 +22,6 @@ import ( // to reject an otherwise valid request when the total rate of management write operations exceeds 10 // requests per second for a given tenancy. // -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-oci/sdk/go/oci/Kms" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := Kms.NewKey(ctx, "testKey", &Kms.KeyArgs{ -// CompartmentId: pulumi.Any(_var.Compartment_id), -// DisplayName: pulumi.Any(_var.Key_display_name), -// KeyShape: &kms.KeyKeyShapeArgs{ -// Algorithm: pulumi.Any(_var.Key_key_shape_algorithm), -// Length: pulumi.Any(_var.Key_key_shape_length), -// CurveId: pulumi.Any(oci_kms_curve.Test_curve.Id), -// }, -// ManagementEndpoint: pulumi.Any(_var.Key_management_endpoint), -// DefinedTags: pulumi.AnyMap{ -// "Operations.CostCenter": pulumi.Any("42"), -// }, -// FreeformTags: pulumi.AnyMap{ -// "Department": pulumi.Any("Finance"), -// }, -// ProtectionMode: pulumi.Any(_var.Key_protection_mode), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// // ## Import // // Keys can be imported using the `id`, e.g. @@ -84,15 +44,19 @@ type Key struct { DesiredState pulumi.StringOutput `pulumi:"desiredState"` // (Updatable) A user-friendly name for the key. It does not have to be unique, and it is changeable. Avoid entering confidential information. DisplayName pulumi.StringOutput `pulumi:"displayName"` + // A reference to the key on external key manager. + ExternalKeyReference KeyExternalKeyReferenceOutput `pulumi:"externalKeyReference"` + // Key reference data to be returned to the customer as a response. + ExternalKeyReferenceDetails KeyExternalKeyReferenceDetailArrayOutput `pulumi:"externalKeyReferenceDetails"` // (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` FreeformTags pulumi.MapOutput `pulumi:"freeformTags"` - // A boolean that will be true when key is primary, and will be false when key is a replica from a primary key. + // A Boolean value that indicates whether the Key belongs to primary Vault or replica vault. IsPrimary pulumi.BoolOutput `pulumi:"isPrimary"` // The cryptographic properties of a key. KeyShape KeyKeyShapeOutput `pulumi:"keyShape"` // The service endpoint to perform management operations against. Management operations include 'Create,' 'Update,' 'List,' 'Get,' and 'Delete' operations. See Vault Management endpoint. ManagementEndpoint pulumi.StringOutput `pulumi:"managementEndpoint"` - // The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. + // The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager. ProtectionMode pulumi.StringOutput `pulumi:"protectionMode"` // Key replica details ReplicaDetails KeyReplicaDetailArrayOutput `pulumi:"replicaDetails"` @@ -169,15 +133,19 @@ type keyState struct { DesiredState *string `pulumi:"desiredState"` // (Updatable) A user-friendly name for the key. It does not have to be unique, and it is changeable. Avoid entering confidential information. DisplayName *string `pulumi:"displayName"` + // A reference to the key on external key manager. + ExternalKeyReference *KeyExternalKeyReference `pulumi:"externalKeyReference"` + // Key reference data to be returned to the customer as a response. + ExternalKeyReferenceDetails []KeyExternalKeyReferenceDetail `pulumi:"externalKeyReferenceDetails"` // (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` FreeformTags map[string]interface{} `pulumi:"freeformTags"` - // A boolean that will be true when key is primary, and will be false when key is a replica from a primary key. + // A Boolean value that indicates whether the Key belongs to primary Vault or replica vault. IsPrimary *bool `pulumi:"isPrimary"` // The cryptographic properties of a key. KeyShape *KeyKeyShape `pulumi:"keyShape"` // The service endpoint to perform management operations against. Management operations include 'Create,' 'Update,' 'List,' 'Get,' and 'Delete' operations. See Vault Management endpoint. ManagementEndpoint *string `pulumi:"managementEndpoint"` - // The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. + // The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager. ProtectionMode *string `pulumi:"protectionMode"` // Key replica details ReplicaDetails []KeyReplicaDetail `pulumi:"replicaDetails"` @@ -213,15 +181,19 @@ type KeyState struct { DesiredState pulumi.StringPtrInput // (Updatable) A user-friendly name for the key. It does not have to be unique, and it is changeable. Avoid entering confidential information. DisplayName pulumi.StringPtrInput + // A reference to the key on external key manager. + ExternalKeyReference KeyExternalKeyReferencePtrInput + // Key reference data to be returned to the customer as a response. + ExternalKeyReferenceDetails KeyExternalKeyReferenceDetailArrayInput // (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` FreeformTags pulumi.MapInput - // A boolean that will be true when key is primary, and will be false when key is a replica from a primary key. + // A Boolean value that indicates whether the Key belongs to primary Vault or replica vault. IsPrimary pulumi.BoolPtrInput // The cryptographic properties of a key. KeyShape KeyKeyShapePtrInput // The service endpoint to perform management operations against. Management operations include 'Create,' 'Update,' 'List,' 'Get,' and 'Delete' operations. See Vault Management endpoint. ManagementEndpoint pulumi.StringPtrInput - // The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. + // The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager. ProtectionMode pulumi.StringPtrInput // Key replica details ReplicaDetails KeyReplicaDetailArrayInput @@ -259,13 +231,15 @@ type keyArgs struct { DesiredState *string `pulumi:"desiredState"` // (Updatable) A user-friendly name for the key. It does not have to be unique, and it is changeable. Avoid entering confidential information. DisplayName string `pulumi:"displayName"` + // A reference to the key on external key manager. + ExternalKeyReference *KeyExternalKeyReference `pulumi:"externalKeyReference"` // (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` FreeformTags map[string]interface{} `pulumi:"freeformTags"` // The cryptographic properties of a key. KeyShape KeyKeyShape `pulumi:"keyShape"` // The service endpoint to perform management operations against. Management operations include 'Create,' 'Update,' 'List,' 'Get,' and 'Delete' operations. See Vault Management endpoint. ManagementEndpoint string `pulumi:"managementEndpoint"` - // The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. + // The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager. ProtectionMode *string `pulumi:"protectionMode"` // (Updatable) Details where key was backed up. RestoreFromFile *KeyRestoreFromFile `pulumi:"restoreFromFile"` @@ -290,13 +264,15 @@ type KeyArgs struct { DesiredState pulumi.StringPtrInput // (Updatable) A user-friendly name for the key. It does not have to be unique, and it is changeable. Avoid entering confidential information. DisplayName pulumi.StringInput + // A reference to the key on external key manager. + ExternalKeyReference KeyExternalKeyReferencePtrInput // (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` FreeformTags pulumi.MapInput // The cryptographic properties of a key. KeyShape KeyKeyShapeInput // The service endpoint to perform management operations against. Management operations include 'Create,' 'Update,' 'List,' 'Get,' and 'Delete' operations. See Vault Management endpoint. ManagementEndpoint pulumi.StringInput - // The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. + // The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager. ProtectionMode pulumi.StringPtrInput // (Updatable) Details where key was backed up. RestoreFromFile KeyRestoreFromFilePtrInput @@ -447,12 +423,22 @@ func (o KeyOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v *Key) pulumi.StringOutput { return v.DisplayName }).(pulumi.StringOutput) } +// A reference to the key on external key manager. +func (o KeyOutput) ExternalKeyReference() KeyExternalKeyReferenceOutput { + return o.ApplyT(func(v *Key) KeyExternalKeyReferenceOutput { return v.ExternalKeyReference }).(KeyExternalKeyReferenceOutput) +} + +// Key reference data to be returned to the customer as a response. +func (o KeyOutput) ExternalKeyReferenceDetails() KeyExternalKeyReferenceDetailArrayOutput { + return o.ApplyT(func(v *Key) KeyExternalKeyReferenceDetailArrayOutput { return v.ExternalKeyReferenceDetails }).(KeyExternalKeyReferenceDetailArrayOutput) +} + // (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` func (o KeyOutput) FreeformTags() pulumi.MapOutput { return o.ApplyT(func(v *Key) pulumi.MapOutput { return v.FreeformTags }).(pulumi.MapOutput) } -// A boolean that will be true when key is primary, and will be false when key is a replica from a primary key. +// A Boolean value that indicates whether the Key belongs to primary Vault or replica vault. func (o KeyOutput) IsPrimary() pulumi.BoolOutput { return o.ApplyT(func(v *Key) pulumi.BoolOutput { return v.IsPrimary }).(pulumi.BoolOutput) } @@ -467,7 +453,7 @@ func (o KeyOutput) ManagementEndpoint() pulumi.StringOutput { return o.ApplyT(func(v *Key) pulumi.StringOutput { return v.ManagementEndpoint }).(pulumi.StringOutput) } -// The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. +// The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager. func (o KeyOutput) ProtectionMode() pulumi.StringOutput { return o.ApplyT(func(v *Key) pulumi.StringOutput { return v.ProtectionMode }).(pulumi.StringOutput) } diff --git a/sdk/go/oci/kms/keyVersion.go b/sdk/go/oci/kms/keyVersion.go index 1234769333..4948fa6192 100644 --- a/sdk/go/oci/kms/keyVersion.go +++ b/sdk/go/oci/kms/keyVersion.go @@ -23,33 +23,6 @@ import ( // otherwise valid request when the total rate of management write operations exceeds 10 requests per second // for a given tenancy. // -// ## Example Usage -// -// ```go -// package main -// -// import ( -// -// "github.com/pulumi/pulumi-oci/sdk/go/oci/Kms" -// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" -// -// ) -// -// func main() { -// pulumi.Run(func(ctx *pulumi.Context) error { -// _, err := Kms.NewKeyVersion(ctx, "testKeyVersion", &Kms.KeyVersionArgs{ -// KeyId: pulumi.Any(oci_kms_key.Test_key.Id), -// ManagementEndpoint: pulumi.Any(_var.Key_version_management_endpoint), -// }) -// if err != nil { -// return err -// } -// return nil -// }) -// } -// -// ``` -// // ## Import // // KeyVersions can be imported using the `id`, e.g. @@ -64,7 +37,11 @@ type KeyVersion struct { // The OCID of the compartment that contains this key version. CompartmentId pulumi.StringOutput `pulumi:"compartmentId"` - // A boolean that will be true when key version is primary, and will be false when key version is a replica from a primary key version. + // Key reference data to be returned to the customer as a response. + ExternalKeyReferenceDetails KeyVersionExternalKeyReferenceDetailArrayOutput `pulumi:"externalKeyReferenceDetails"` + // Key version ID associated with the external key. + ExternalKeyVersionId pulumi.StringOutput `pulumi:"externalKeyVersionId"` + // A Boolean value that indicates whether the KeyVersion belongs to primary Vault or replica Vault. IsPrimary pulumi.BoolOutput `pulumi:"isPrimary"` // The OCID of the key. KeyId pulumi.StringOutput `pulumi:"keyId"` @@ -129,7 +106,11 @@ func GetKeyVersion(ctx *pulumi.Context, type keyVersionState struct { // The OCID of the compartment that contains this key version. CompartmentId *string `pulumi:"compartmentId"` - // A boolean that will be true when key version is primary, and will be false when key version is a replica from a primary key version. + // Key reference data to be returned to the customer as a response. + ExternalKeyReferenceDetails []KeyVersionExternalKeyReferenceDetail `pulumi:"externalKeyReferenceDetails"` + // Key version ID associated with the external key. + ExternalKeyVersionId *string `pulumi:"externalKeyVersionId"` + // A Boolean value that indicates whether the KeyVersion belongs to primary Vault or replica Vault. IsPrimary *bool `pulumi:"isPrimary"` // The OCID of the key. KeyId *string `pulumi:"keyId"` @@ -159,7 +140,11 @@ type keyVersionState struct { type KeyVersionState struct { // The OCID of the compartment that contains this key version. CompartmentId pulumi.StringPtrInput - // A boolean that will be true when key version is primary, and will be false when key version is a replica from a primary key version. + // Key reference data to be returned to the customer as a response. + ExternalKeyReferenceDetails KeyVersionExternalKeyReferenceDetailArrayInput + // Key version ID associated with the external key. + ExternalKeyVersionId pulumi.StringPtrInput + // A Boolean value that indicates whether the KeyVersion belongs to primary Vault or replica Vault. IsPrimary pulumi.BoolPtrInput // The OCID of the key. KeyId pulumi.StringPtrInput @@ -191,6 +176,8 @@ func (KeyVersionState) ElementType() reflect.Type { } type keyVersionArgs struct { + // Key version ID associated with the external key. + ExternalKeyVersionId *string `pulumi:"externalKeyVersionId"` // The OCID of the key. KeyId string `pulumi:"keyId"` // The service endpoint to perform management operations against. Management operations include 'Create,' 'Update,' 'List,' 'Get,' and 'Delete' operations. See Vault Management endpoint. @@ -204,6 +191,8 @@ type keyVersionArgs struct { // The set of arguments for constructing a KeyVersion resource. type KeyVersionArgs struct { + // Key version ID associated with the external key. + ExternalKeyVersionId pulumi.StringPtrInput // The OCID of the key. KeyId pulumi.StringInput // The service endpoint to perform management operations against. Management operations include 'Create,' 'Update,' 'List,' 'Get,' and 'Delete' operations. See Vault Management endpoint. @@ -331,7 +320,19 @@ func (o KeyVersionOutput) CompartmentId() pulumi.StringOutput { return o.ApplyT(func(v *KeyVersion) pulumi.StringOutput { return v.CompartmentId }).(pulumi.StringOutput) } -// A boolean that will be true when key version is primary, and will be false when key version is a replica from a primary key version. +// Key reference data to be returned to the customer as a response. +func (o KeyVersionOutput) ExternalKeyReferenceDetails() KeyVersionExternalKeyReferenceDetailArrayOutput { + return o.ApplyT(func(v *KeyVersion) KeyVersionExternalKeyReferenceDetailArrayOutput { + return v.ExternalKeyReferenceDetails + }).(KeyVersionExternalKeyReferenceDetailArrayOutput) +} + +// Key version ID associated with the external key. +func (o KeyVersionOutput) ExternalKeyVersionId() pulumi.StringOutput { + return o.ApplyT(func(v *KeyVersion) pulumi.StringOutput { return v.ExternalKeyVersionId }).(pulumi.StringOutput) +} + +// A Boolean value that indicates whether the KeyVersion belongs to primary Vault or replica Vault. func (o KeyVersionOutput) IsPrimary() pulumi.BoolOutput { return o.ApplyT(func(v *KeyVersion) pulumi.BoolOutput { return v.IsPrimary }).(pulumi.BoolOutput) } diff --git a/sdk/go/oci/kms/pulumiTypes.go b/sdk/go/oci/kms/pulumiTypes.go index b8d52e9993..a07c0a4428 100644 --- a/sdk/go/oci/kms/pulumiTypes.go +++ b/sdk/go/oci/kms/pulumiTypes.go @@ -15,7 +15,7 @@ import ( var _ = internal.GetEnvOrDefault type GeneratedKeyKeyShape struct { - // The algorithm used by a key's key versions to encrypt or decrypt. + // The algorithm used by a key's key versions to encrypt or decrypt. Only AES algorithm is supported for `External` keys. Algorithm string `pulumi:"algorithm"` // Supported curve IDs for ECDSA keys. CurveId *string `pulumi:"curveId"` @@ -38,7 +38,7 @@ type GeneratedKeyKeyShapeInput interface { } type GeneratedKeyKeyShapeArgs struct { - // The algorithm used by a key's key versions to encrypt or decrypt. + // The algorithm used by a key's key versions to encrypt or decrypt. Only AES algorithm is supported for `External` keys. Algorithm pulumi.StringInput `pulumi:"algorithm"` // Supported curve IDs for ECDSA keys. CurveId pulumi.StringPtrInput `pulumi:"curveId"` @@ -144,7 +144,7 @@ func (o GeneratedKeyKeyShapeOutput) ToOutput(ctx context.Context) pulumix.Output } } -// The algorithm used by a key's key versions to encrypt or decrypt. +// The algorithm used by a key's key versions to encrypt or decrypt. Only AES algorithm is supported for `External` keys. func (o GeneratedKeyKeyShapeOutput) Algorithm() pulumi.StringOutput { return o.ApplyT(func(v GeneratedKeyKeyShape) string { return v.Algorithm }).(pulumi.StringOutput) } @@ -192,7 +192,7 @@ func (o GeneratedKeyKeyShapePtrOutput) Elem() GeneratedKeyKeyShapeOutput { }).(GeneratedKeyKeyShapeOutput) } -// The algorithm used by a key's key versions to encrypt or decrypt. +// The algorithm used by a key's key versions to encrypt or decrypt. Only AES algorithm is supported for `External` keys. func (o GeneratedKeyKeyShapePtrOutput) Algorithm() pulumi.StringPtrOutput { return o.ApplyT(func(v *GeneratedKeyKeyShape) *string { if v == nil { @@ -225,8 +225,299 @@ func (o GeneratedKeyKeyShapePtrOutput) Length() pulumi.IntPtrOutput { }).(pulumi.IntPtrOutput) } +type KeyExternalKeyReference struct { + // ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM + ExternalKeyId string `pulumi:"externalKeyId"` +} + +// KeyExternalKeyReferenceInput is an input type that accepts KeyExternalKeyReferenceArgs and KeyExternalKeyReferenceOutput values. +// You can construct a concrete instance of `KeyExternalKeyReferenceInput` via: +// +// KeyExternalKeyReferenceArgs{...} +type KeyExternalKeyReferenceInput interface { + pulumi.Input + + ToKeyExternalKeyReferenceOutput() KeyExternalKeyReferenceOutput + ToKeyExternalKeyReferenceOutputWithContext(context.Context) KeyExternalKeyReferenceOutput +} + +type KeyExternalKeyReferenceArgs struct { + // ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM + ExternalKeyId pulumi.StringInput `pulumi:"externalKeyId"` +} + +func (KeyExternalKeyReferenceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*KeyExternalKeyReference)(nil)).Elem() +} + +func (i KeyExternalKeyReferenceArgs) ToKeyExternalKeyReferenceOutput() KeyExternalKeyReferenceOutput { + return i.ToKeyExternalKeyReferenceOutputWithContext(context.Background()) +} + +func (i KeyExternalKeyReferenceArgs) ToKeyExternalKeyReferenceOutputWithContext(ctx context.Context) KeyExternalKeyReferenceOutput { + return pulumi.ToOutputWithContext(ctx, i).(KeyExternalKeyReferenceOutput) +} + +func (i KeyExternalKeyReferenceArgs) ToOutput(ctx context.Context) pulumix.Output[KeyExternalKeyReference] { + return pulumix.Output[KeyExternalKeyReference]{ + OutputState: i.ToKeyExternalKeyReferenceOutputWithContext(ctx).OutputState, + } +} + +func (i KeyExternalKeyReferenceArgs) ToKeyExternalKeyReferencePtrOutput() KeyExternalKeyReferencePtrOutput { + return i.ToKeyExternalKeyReferencePtrOutputWithContext(context.Background()) +} + +func (i KeyExternalKeyReferenceArgs) ToKeyExternalKeyReferencePtrOutputWithContext(ctx context.Context) KeyExternalKeyReferencePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(KeyExternalKeyReferenceOutput).ToKeyExternalKeyReferencePtrOutputWithContext(ctx) +} + +// KeyExternalKeyReferencePtrInput is an input type that accepts KeyExternalKeyReferenceArgs, KeyExternalKeyReferencePtr and KeyExternalKeyReferencePtrOutput values. +// You can construct a concrete instance of `KeyExternalKeyReferencePtrInput` via: +// +// KeyExternalKeyReferenceArgs{...} +// +// or: +// +// nil +type KeyExternalKeyReferencePtrInput interface { + pulumi.Input + + ToKeyExternalKeyReferencePtrOutput() KeyExternalKeyReferencePtrOutput + ToKeyExternalKeyReferencePtrOutputWithContext(context.Context) KeyExternalKeyReferencePtrOutput +} + +type keyExternalKeyReferencePtrType KeyExternalKeyReferenceArgs + +func KeyExternalKeyReferencePtr(v *KeyExternalKeyReferenceArgs) KeyExternalKeyReferencePtrInput { + return (*keyExternalKeyReferencePtrType)(v) +} + +func (*keyExternalKeyReferencePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**KeyExternalKeyReference)(nil)).Elem() +} + +func (i *keyExternalKeyReferencePtrType) ToKeyExternalKeyReferencePtrOutput() KeyExternalKeyReferencePtrOutput { + return i.ToKeyExternalKeyReferencePtrOutputWithContext(context.Background()) +} + +func (i *keyExternalKeyReferencePtrType) ToKeyExternalKeyReferencePtrOutputWithContext(ctx context.Context) KeyExternalKeyReferencePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(KeyExternalKeyReferencePtrOutput) +} + +func (i *keyExternalKeyReferencePtrType) ToOutput(ctx context.Context) pulumix.Output[*KeyExternalKeyReference] { + return pulumix.Output[*KeyExternalKeyReference]{ + OutputState: i.ToKeyExternalKeyReferencePtrOutputWithContext(ctx).OutputState, + } +} + +type KeyExternalKeyReferenceOutput struct{ *pulumi.OutputState } + +func (KeyExternalKeyReferenceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*KeyExternalKeyReference)(nil)).Elem() +} + +func (o KeyExternalKeyReferenceOutput) ToKeyExternalKeyReferenceOutput() KeyExternalKeyReferenceOutput { + return o +} + +func (o KeyExternalKeyReferenceOutput) ToKeyExternalKeyReferenceOutputWithContext(ctx context.Context) KeyExternalKeyReferenceOutput { + return o +} + +func (o KeyExternalKeyReferenceOutput) ToKeyExternalKeyReferencePtrOutput() KeyExternalKeyReferencePtrOutput { + return o.ToKeyExternalKeyReferencePtrOutputWithContext(context.Background()) +} + +func (o KeyExternalKeyReferenceOutput) ToKeyExternalKeyReferencePtrOutputWithContext(ctx context.Context) KeyExternalKeyReferencePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v KeyExternalKeyReference) *KeyExternalKeyReference { + return &v + }).(KeyExternalKeyReferencePtrOutput) +} + +func (o KeyExternalKeyReferenceOutput) ToOutput(ctx context.Context) pulumix.Output[KeyExternalKeyReference] { + return pulumix.Output[KeyExternalKeyReference]{ + OutputState: o.OutputState, + } +} + +// ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM +func (o KeyExternalKeyReferenceOutput) ExternalKeyId() pulumi.StringOutput { + return o.ApplyT(func(v KeyExternalKeyReference) string { return v.ExternalKeyId }).(pulumi.StringOutput) +} + +type KeyExternalKeyReferencePtrOutput struct{ *pulumi.OutputState } + +func (KeyExternalKeyReferencePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**KeyExternalKeyReference)(nil)).Elem() +} + +func (o KeyExternalKeyReferencePtrOutput) ToKeyExternalKeyReferencePtrOutput() KeyExternalKeyReferencePtrOutput { + return o +} + +func (o KeyExternalKeyReferencePtrOutput) ToKeyExternalKeyReferencePtrOutputWithContext(ctx context.Context) KeyExternalKeyReferencePtrOutput { + return o +} + +func (o KeyExternalKeyReferencePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*KeyExternalKeyReference] { + return pulumix.Output[*KeyExternalKeyReference]{ + OutputState: o.OutputState, + } +} + +func (o KeyExternalKeyReferencePtrOutput) Elem() KeyExternalKeyReferenceOutput { + return o.ApplyT(func(v *KeyExternalKeyReference) KeyExternalKeyReference { + if v != nil { + return *v + } + var ret KeyExternalKeyReference + return ret + }).(KeyExternalKeyReferenceOutput) +} + +// ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM +func (o KeyExternalKeyReferencePtrOutput) ExternalKeyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *KeyExternalKeyReference) *string { + if v == nil { + return nil + } + return &v.ExternalKeyId + }).(pulumi.StringPtrOutput) +} + +type KeyExternalKeyReferenceDetail struct { + // ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM + ExternalKeyId *string `pulumi:"externalKeyId"` + // Key version ID associated with the external key. + ExternalKeyVersionId *string `pulumi:"externalKeyVersionId"` +} + +// KeyExternalKeyReferenceDetailInput is an input type that accepts KeyExternalKeyReferenceDetailArgs and KeyExternalKeyReferenceDetailOutput values. +// You can construct a concrete instance of `KeyExternalKeyReferenceDetailInput` via: +// +// KeyExternalKeyReferenceDetailArgs{...} +type KeyExternalKeyReferenceDetailInput interface { + pulumi.Input + + ToKeyExternalKeyReferenceDetailOutput() KeyExternalKeyReferenceDetailOutput + ToKeyExternalKeyReferenceDetailOutputWithContext(context.Context) KeyExternalKeyReferenceDetailOutput +} + +type KeyExternalKeyReferenceDetailArgs struct { + // ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM + ExternalKeyId pulumi.StringPtrInput `pulumi:"externalKeyId"` + // Key version ID associated with the external key. + ExternalKeyVersionId pulumi.StringPtrInput `pulumi:"externalKeyVersionId"` +} + +func (KeyExternalKeyReferenceDetailArgs) ElementType() reflect.Type { + return reflect.TypeOf((*KeyExternalKeyReferenceDetail)(nil)).Elem() +} + +func (i KeyExternalKeyReferenceDetailArgs) ToKeyExternalKeyReferenceDetailOutput() KeyExternalKeyReferenceDetailOutput { + return i.ToKeyExternalKeyReferenceDetailOutputWithContext(context.Background()) +} + +func (i KeyExternalKeyReferenceDetailArgs) ToKeyExternalKeyReferenceDetailOutputWithContext(ctx context.Context) KeyExternalKeyReferenceDetailOutput { + return pulumi.ToOutputWithContext(ctx, i).(KeyExternalKeyReferenceDetailOutput) +} + +func (i KeyExternalKeyReferenceDetailArgs) ToOutput(ctx context.Context) pulumix.Output[KeyExternalKeyReferenceDetail] { + return pulumix.Output[KeyExternalKeyReferenceDetail]{ + OutputState: i.ToKeyExternalKeyReferenceDetailOutputWithContext(ctx).OutputState, + } +} + +// KeyExternalKeyReferenceDetailArrayInput is an input type that accepts KeyExternalKeyReferenceDetailArray and KeyExternalKeyReferenceDetailArrayOutput values. +// You can construct a concrete instance of `KeyExternalKeyReferenceDetailArrayInput` via: +// +// KeyExternalKeyReferenceDetailArray{ KeyExternalKeyReferenceDetailArgs{...} } +type KeyExternalKeyReferenceDetailArrayInput interface { + pulumi.Input + + ToKeyExternalKeyReferenceDetailArrayOutput() KeyExternalKeyReferenceDetailArrayOutput + ToKeyExternalKeyReferenceDetailArrayOutputWithContext(context.Context) KeyExternalKeyReferenceDetailArrayOutput +} + +type KeyExternalKeyReferenceDetailArray []KeyExternalKeyReferenceDetailInput + +func (KeyExternalKeyReferenceDetailArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]KeyExternalKeyReferenceDetail)(nil)).Elem() +} + +func (i KeyExternalKeyReferenceDetailArray) ToKeyExternalKeyReferenceDetailArrayOutput() KeyExternalKeyReferenceDetailArrayOutput { + return i.ToKeyExternalKeyReferenceDetailArrayOutputWithContext(context.Background()) +} + +func (i KeyExternalKeyReferenceDetailArray) ToKeyExternalKeyReferenceDetailArrayOutputWithContext(ctx context.Context) KeyExternalKeyReferenceDetailArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(KeyExternalKeyReferenceDetailArrayOutput) +} + +func (i KeyExternalKeyReferenceDetailArray) ToOutput(ctx context.Context) pulumix.Output[[]KeyExternalKeyReferenceDetail] { + return pulumix.Output[[]KeyExternalKeyReferenceDetail]{ + OutputState: i.ToKeyExternalKeyReferenceDetailArrayOutputWithContext(ctx).OutputState, + } +} + +type KeyExternalKeyReferenceDetailOutput struct{ *pulumi.OutputState } + +func (KeyExternalKeyReferenceDetailOutput) ElementType() reflect.Type { + return reflect.TypeOf((*KeyExternalKeyReferenceDetail)(nil)).Elem() +} + +func (o KeyExternalKeyReferenceDetailOutput) ToKeyExternalKeyReferenceDetailOutput() KeyExternalKeyReferenceDetailOutput { + return o +} + +func (o KeyExternalKeyReferenceDetailOutput) ToKeyExternalKeyReferenceDetailOutputWithContext(ctx context.Context) KeyExternalKeyReferenceDetailOutput { + return o +} + +func (o KeyExternalKeyReferenceDetailOutput) ToOutput(ctx context.Context) pulumix.Output[KeyExternalKeyReferenceDetail] { + return pulumix.Output[KeyExternalKeyReferenceDetail]{ + OutputState: o.OutputState, + } +} + +// ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM +func (o KeyExternalKeyReferenceDetailOutput) ExternalKeyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v KeyExternalKeyReferenceDetail) *string { return v.ExternalKeyId }).(pulumi.StringPtrOutput) +} + +// Key version ID associated with the external key. +func (o KeyExternalKeyReferenceDetailOutput) ExternalKeyVersionId() pulumi.StringPtrOutput { + return o.ApplyT(func(v KeyExternalKeyReferenceDetail) *string { return v.ExternalKeyVersionId }).(pulumi.StringPtrOutput) +} + +type KeyExternalKeyReferenceDetailArrayOutput struct{ *pulumi.OutputState } + +func (KeyExternalKeyReferenceDetailArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]KeyExternalKeyReferenceDetail)(nil)).Elem() +} + +func (o KeyExternalKeyReferenceDetailArrayOutput) ToKeyExternalKeyReferenceDetailArrayOutput() KeyExternalKeyReferenceDetailArrayOutput { + return o +} + +func (o KeyExternalKeyReferenceDetailArrayOutput) ToKeyExternalKeyReferenceDetailArrayOutputWithContext(ctx context.Context) KeyExternalKeyReferenceDetailArrayOutput { + return o +} + +func (o KeyExternalKeyReferenceDetailArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]KeyExternalKeyReferenceDetail] { + return pulumix.Output[[]KeyExternalKeyReferenceDetail]{ + OutputState: o.OutputState, + } +} + +func (o KeyExternalKeyReferenceDetailArrayOutput) Index(i pulumi.IntInput) KeyExternalKeyReferenceDetailOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) KeyExternalKeyReferenceDetail { + return vs[0].([]KeyExternalKeyReferenceDetail)[vs[1].(int)] + }).(KeyExternalKeyReferenceDetailOutput) +} + type KeyKeyShape struct { - // The algorithm used by a key's key versions to encrypt or decrypt. + // The algorithm used by a key's key versions to encrypt or decrypt. Only AES algorithm is supported for `External` keys. Algorithm string `pulumi:"algorithm"` // Supported curve IDs for ECDSA keys. CurveId *string `pulumi:"curveId"` @@ -249,7 +540,7 @@ type KeyKeyShapeInput interface { } type KeyKeyShapeArgs struct { - // The algorithm used by a key's key versions to encrypt or decrypt. + // The algorithm used by a key's key versions to encrypt or decrypt. Only AES algorithm is supported for `External` keys. Algorithm pulumi.StringInput `pulumi:"algorithm"` // Supported curve IDs for ECDSA keys. CurveId pulumi.StringPtrInput `pulumi:"curveId"` @@ -355,7 +646,7 @@ func (o KeyKeyShapeOutput) ToOutput(ctx context.Context) pulumix.Output[KeyKeySh } } -// The algorithm used by a key's key versions to encrypt or decrypt. +// The algorithm used by a key's key versions to encrypt or decrypt. Only AES algorithm is supported for `External` keys. func (o KeyKeyShapeOutput) Algorithm() pulumi.StringOutput { return o.ApplyT(func(v KeyKeyShape) string { return v.Algorithm }).(pulumi.StringOutput) } @@ -403,7 +694,7 @@ func (o KeyKeyShapePtrOutput) Elem() KeyKeyShapeOutput { }).(KeyKeyShapeOutput) } -// The algorithm used by a key's key versions to encrypt or decrypt. +// The algorithm used by a key's key versions to encrypt or decrypt. Only AES algorithm is supported for `External` keys. func (o KeyKeyShapePtrOutput) Algorithm() pulumi.StringPtrOutput { return o.ApplyT(func(v *KeyKeyShape) *string { if v == nil { @@ -993,6 +1284,136 @@ func (o KeyRestoreFromObjectStorePtrOutput) Uri() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } +type KeyVersionExternalKeyReferenceDetail struct { + // ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. + ExternalKeyId *string `pulumi:"externalKeyId"` + // Key version ID associated with the external key. + ExternalKeyVersionId *string `pulumi:"externalKeyVersionId"` +} + +// KeyVersionExternalKeyReferenceDetailInput is an input type that accepts KeyVersionExternalKeyReferenceDetailArgs and KeyVersionExternalKeyReferenceDetailOutput values. +// You can construct a concrete instance of `KeyVersionExternalKeyReferenceDetailInput` via: +// +// KeyVersionExternalKeyReferenceDetailArgs{...} +type KeyVersionExternalKeyReferenceDetailInput interface { + pulumi.Input + + ToKeyVersionExternalKeyReferenceDetailOutput() KeyVersionExternalKeyReferenceDetailOutput + ToKeyVersionExternalKeyReferenceDetailOutputWithContext(context.Context) KeyVersionExternalKeyReferenceDetailOutput +} + +type KeyVersionExternalKeyReferenceDetailArgs struct { + // ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. + ExternalKeyId pulumi.StringPtrInput `pulumi:"externalKeyId"` + // Key version ID associated with the external key. + ExternalKeyVersionId pulumi.StringPtrInput `pulumi:"externalKeyVersionId"` +} + +func (KeyVersionExternalKeyReferenceDetailArgs) ElementType() reflect.Type { + return reflect.TypeOf((*KeyVersionExternalKeyReferenceDetail)(nil)).Elem() +} + +func (i KeyVersionExternalKeyReferenceDetailArgs) ToKeyVersionExternalKeyReferenceDetailOutput() KeyVersionExternalKeyReferenceDetailOutput { + return i.ToKeyVersionExternalKeyReferenceDetailOutputWithContext(context.Background()) +} + +func (i KeyVersionExternalKeyReferenceDetailArgs) ToKeyVersionExternalKeyReferenceDetailOutputWithContext(ctx context.Context) KeyVersionExternalKeyReferenceDetailOutput { + return pulumi.ToOutputWithContext(ctx, i).(KeyVersionExternalKeyReferenceDetailOutput) +} + +func (i KeyVersionExternalKeyReferenceDetailArgs) ToOutput(ctx context.Context) pulumix.Output[KeyVersionExternalKeyReferenceDetail] { + return pulumix.Output[KeyVersionExternalKeyReferenceDetail]{ + OutputState: i.ToKeyVersionExternalKeyReferenceDetailOutputWithContext(ctx).OutputState, + } +} + +// KeyVersionExternalKeyReferenceDetailArrayInput is an input type that accepts KeyVersionExternalKeyReferenceDetailArray and KeyVersionExternalKeyReferenceDetailArrayOutput values. +// You can construct a concrete instance of `KeyVersionExternalKeyReferenceDetailArrayInput` via: +// +// KeyVersionExternalKeyReferenceDetailArray{ KeyVersionExternalKeyReferenceDetailArgs{...} } +type KeyVersionExternalKeyReferenceDetailArrayInput interface { + pulumi.Input + + ToKeyVersionExternalKeyReferenceDetailArrayOutput() KeyVersionExternalKeyReferenceDetailArrayOutput + ToKeyVersionExternalKeyReferenceDetailArrayOutputWithContext(context.Context) KeyVersionExternalKeyReferenceDetailArrayOutput +} + +type KeyVersionExternalKeyReferenceDetailArray []KeyVersionExternalKeyReferenceDetailInput + +func (KeyVersionExternalKeyReferenceDetailArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]KeyVersionExternalKeyReferenceDetail)(nil)).Elem() +} + +func (i KeyVersionExternalKeyReferenceDetailArray) ToKeyVersionExternalKeyReferenceDetailArrayOutput() KeyVersionExternalKeyReferenceDetailArrayOutput { + return i.ToKeyVersionExternalKeyReferenceDetailArrayOutputWithContext(context.Background()) +} + +func (i KeyVersionExternalKeyReferenceDetailArray) ToKeyVersionExternalKeyReferenceDetailArrayOutputWithContext(ctx context.Context) KeyVersionExternalKeyReferenceDetailArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(KeyVersionExternalKeyReferenceDetailArrayOutput) +} + +func (i KeyVersionExternalKeyReferenceDetailArray) ToOutput(ctx context.Context) pulumix.Output[[]KeyVersionExternalKeyReferenceDetail] { + return pulumix.Output[[]KeyVersionExternalKeyReferenceDetail]{ + OutputState: i.ToKeyVersionExternalKeyReferenceDetailArrayOutputWithContext(ctx).OutputState, + } +} + +type KeyVersionExternalKeyReferenceDetailOutput struct{ *pulumi.OutputState } + +func (KeyVersionExternalKeyReferenceDetailOutput) ElementType() reflect.Type { + return reflect.TypeOf((*KeyVersionExternalKeyReferenceDetail)(nil)).Elem() +} + +func (o KeyVersionExternalKeyReferenceDetailOutput) ToKeyVersionExternalKeyReferenceDetailOutput() KeyVersionExternalKeyReferenceDetailOutput { + return o +} + +func (o KeyVersionExternalKeyReferenceDetailOutput) ToKeyVersionExternalKeyReferenceDetailOutputWithContext(ctx context.Context) KeyVersionExternalKeyReferenceDetailOutput { + return o +} + +func (o KeyVersionExternalKeyReferenceDetailOutput) ToOutput(ctx context.Context) pulumix.Output[KeyVersionExternalKeyReferenceDetail] { + return pulumix.Output[KeyVersionExternalKeyReferenceDetail]{ + OutputState: o.OutputState, + } +} + +// ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. +func (o KeyVersionExternalKeyReferenceDetailOutput) ExternalKeyId() pulumi.StringPtrOutput { + return o.ApplyT(func(v KeyVersionExternalKeyReferenceDetail) *string { return v.ExternalKeyId }).(pulumi.StringPtrOutput) +} + +// Key version ID associated with the external key. +func (o KeyVersionExternalKeyReferenceDetailOutput) ExternalKeyVersionId() pulumi.StringPtrOutput { + return o.ApplyT(func(v KeyVersionExternalKeyReferenceDetail) *string { return v.ExternalKeyVersionId }).(pulumi.StringPtrOutput) +} + +type KeyVersionExternalKeyReferenceDetailArrayOutput struct{ *pulumi.OutputState } + +func (KeyVersionExternalKeyReferenceDetailArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]KeyVersionExternalKeyReferenceDetail)(nil)).Elem() +} + +func (o KeyVersionExternalKeyReferenceDetailArrayOutput) ToKeyVersionExternalKeyReferenceDetailArrayOutput() KeyVersionExternalKeyReferenceDetailArrayOutput { + return o +} + +func (o KeyVersionExternalKeyReferenceDetailArrayOutput) ToKeyVersionExternalKeyReferenceDetailArrayOutputWithContext(ctx context.Context) KeyVersionExternalKeyReferenceDetailArrayOutput { + return o +} + +func (o KeyVersionExternalKeyReferenceDetailArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]KeyVersionExternalKeyReferenceDetail] { + return pulumix.Output[[]KeyVersionExternalKeyReferenceDetail]{ + OutputState: o.OutputState, + } +} + +func (o KeyVersionExternalKeyReferenceDetailArrayOutput) Index(i pulumi.IntInput) KeyVersionExternalKeyReferenceDetailOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) KeyVersionExternalKeyReferenceDetail { + return vs[0].([]KeyVersionExternalKeyReferenceDetail)[vs[1].(int)] + }).(KeyVersionExternalKeyReferenceDetailOutput) +} + type KeyVersionReplicaDetail struct { // ReplicationId associated with a key version operation ReplicationId *string `pulumi:"replicationId"` @@ -1114,3883 +1535,6863 @@ func (o KeyVersionReplicaDetailArrayOutput) Index(i pulumi.IntInput) KeyVersionR }).(KeyVersionReplicaDetailOutput) } -type VaultReplicaDetail struct { - // ReplicationId associated with a vault operation - ReplicationId *string `pulumi:"replicationId"` +type VaultExternalKeyManagerMetadata struct { + // URI of the vault on external key manager. + ExternalVaultEndpointUrl string `pulumi:"externalVaultEndpointUrl"` + // Authorization details required to get access token from IDP for accessing protected resources. + OauthMetadata VaultExternalKeyManagerMetadataOauthMetadata `pulumi:"oauthMetadata"` + // OCID of private endpoint created by customer. + PrivateEndpointId string `pulumi:"privateEndpointId"` } -// VaultReplicaDetailInput is an input type that accepts VaultReplicaDetailArgs and VaultReplicaDetailOutput values. -// You can construct a concrete instance of `VaultReplicaDetailInput` via: +// VaultExternalKeyManagerMetadataInput is an input type that accepts VaultExternalKeyManagerMetadataArgs and VaultExternalKeyManagerMetadataOutput values. +// You can construct a concrete instance of `VaultExternalKeyManagerMetadataInput` via: // -// VaultReplicaDetailArgs{...} -type VaultReplicaDetailInput interface { +// VaultExternalKeyManagerMetadataArgs{...} +type VaultExternalKeyManagerMetadataInput interface { pulumi.Input - ToVaultReplicaDetailOutput() VaultReplicaDetailOutput - ToVaultReplicaDetailOutputWithContext(context.Context) VaultReplicaDetailOutput + ToVaultExternalKeyManagerMetadataOutput() VaultExternalKeyManagerMetadataOutput + ToVaultExternalKeyManagerMetadataOutputWithContext(context.Context) VaultExternalKeyManagerMetadataOutput } -type VaultReplicaDetailArgs struct { - // ReplicationId associated with a vault operation - ReplicationId pulumi.StringPtrInput `pulumi:"replicationId"` +type VaultExternalKeyManagerMetadataArgs struct { + // URI of the vault on external key manager. + ExternalVaultEndpointUrl pulumi.StringInput `pulumi:"externalVaultEndpointUrl"` + // Authorization details required to get access token from IDP for accessing protected resources. + OauthMetadata VaultExternalKeyManagerMetadataOauthMetadataInput `pulumi:"oauthMetadata"` + // OCID of private endpoint created by customer. + PrivateEndpointId pulumi.StringInput `pulumi:"privateEndpointId"` } -func (VaultReplicaDetailArgs) ElementType() reflect.Type { - return reflect.TypeOf((*VaultReplicaDetail)(nil)).Elem() +func (VaultExternalKeyManagerMetadataArgs) ElementType() reflect.Type { + return reflect.TypeOf((*VaultExternalKeyManagerMetadata)(nil)).Elem() } -func (i VaultReplicaDetailArgs) ToVaultReplicaDetailOutput() VaultReplicaDetailOutput { - return i.ToVaultReplicaDetailOutputWithContext(context.Background()) +func (i VaultExternalKeyManagerMetadataArgs) ToVaultExternalKeyManagerMetadataOutput() VaultExternalKeyManagerMetadataOutput { + return i.ToVaultExternalKeyManagerMetadataOutputWithContext(context.Background()) } -func (i VaultReplicaDetailArgs) ToVaultReplicaDetailOutputWithContext(ctx context.Context) VaultReplicaDetailOutput { - return pulumi.ToOutputWithContext(ctx, i).(VaultReplicaDetailOutput) +func (i VaultExternalKeyManagerMetadataArgs) ToVaultExternalKeyManagerMetadataOutputWithContext(ctx context.Context) VaultExternalKeyManagerMetadataOutput { + return pulumi.ToOutputWithContext(ctx, i).(VaultExternalKeyManagerMetadataOutput) } -func (i VaultReplicaDetailArgs) ToOutput(ctx context.Context) pulumix.Output[VaultReplicaDetail] { - return pulumix.Output[VaultReplicaDetail]{ - OutputState: i.ToVaultReplicaDetailOutputWithContext(ctx).OutputState, +func (i VaultExternalKeyManagerMetadataArgs) ToOutput(ctx context.Context) pulumix.Output[VaultExternalKeyManagerMetadata] { + return pulumix.Output[VaultExternalKeyManagerMetadata]{ + OutputState: i.ToVaultExternalKeyManagerMetadataOutputWithContext(ctx).OutputState, } } -// VaultReplicaDetailArrayInput is an input type that accepts VaultReplicaDetailArray and VaultReplicaDetailArrayOutput values. -// You can construct a concrete instance of `VaultReplicaDetailArrayInput` via: +func (i VaultExternalKeyManagerMetadataArgs) ToVaultExternalKeyManagerMetadataPtrOutput() VaultExternalKeyManagerMetadataPtrOutput { + return i.ToVaultExternalKeyManagerMetadataPtrOutputWithContext(context.Background()) +} + +func (i VaultExternalKeyManagerMetadataArgs) ToVaultExternalKeyManagerMetadataPtrOutputWithContext(ctx context.Context) VaultExternalKeyManagerMetadataPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(VaultExternalKeyManagerMetadataOutput).ToVaultExternalKeyManagerMetadataPtrOutputWithContext(ctx) +} + +// VaultExternalKeyManagerMetadataPtrInput is an input type that accepts VaultExternalKeyManagerMetadataArgs, VaultExternalKeyManagerMetadataPtr and VaultExternalKeyManagerMetadataPtrOutput values. +// You can construct a concrete instance of `VaultExternalKeyManagerMetadataPtrInput` via: // -// VaultReplicaDetailArray{ VaultReplicaDetailArgs{...} } -type VaultReplicaDetailArrayInput interface { +// VaultExternalKeyManagerMetadataArgs{...} +// +// or: +// +// nil +type VaultExternalKeyManagerMetadataPtrInput interface { pulumi.Input - ToVaultReplicaDetailArrayOutput() VaultReplicaDetailArrayOutput - ToVaultReplicaDetailArrayOutputWithContext(context.Context) VaultReplicaDetailArrayOutput + ToVaultExternalKeyManagerMetadataPtrOutput() VaultExternalKeyManagerMetadataPtrOutput + ToVaultExternalKeyManagerMetadataPtrOutputWithContext(context.Context) VaultExternalKeyManagerMetadataPtrOutput } -type VaultReplicaDetailArray []VaultReplicaDetailInput +type vaultExternalKeyManagerMetadataPtrType VaultExternalKeyManagerMetadataArgs -func (VaultReplicaDetailArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]VaultReplicaDetail)(nil)).Elem() +func VaultExternalKeyManagerMetadataPtr(v *VaultExternalKeyManagerMetadataArgs) VaultExternalKeyManagerMetadataPtrInput { + return (*vaultExternalKeyManagerMetadataPtrType)(v) } -func (i VaultReplicaDetailArray) ToVaultReplicaDetailArrayOutput() VaultReplicaDetailArrayOutput { - return i.ToVaultReplicaDetailArrayOutputWithContext(context.Background()) +func (*vaultExternalKeyManagerMetadataPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**VaultExternalKeyManagerMetadata)(nil)).Elem() } -func (i VaultReplicaDetailArray) ToVaultReplicaDetailArrayOutputWithContext(ctx context.Context) VaultReplicaDetailArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(VaultReplicaDetailArrayOutput) +func (i *vaultExternalKeyManagerMetadataPtrType) ToVaultExternalKeyManagerMetadataPtrOutput() VaultExternalKeyManagerMetadataPtrOutput { + return i.ToVaultExternalKeyManagerMetadataPtrOutputWithContext(context.Background()) } -func (i VaultReplicaDetailArray) ToOutput(ctx context.Context) pulumix.Output[[]VaultReplicaDetail] { - return pulumix.Output[[]VaultReplicaDetail]{ - OutputState: i.ToVaultReplicaDetailArrayOutputWithContext(ctx).OutputState, +func (i *vaultExternalKeyManagerMetadataPtrType) ToVaultExternalKeyManagerMetadataPtrOutputWithContext(ctx context.Context) VaultExternalKeyManagerMetadataPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(VaultExternalKeyManagerMetadataPtrOutput) +} + +func (i *vaultExternalKeyManagerMetadataPtrType) ToOutput(ctx context.Context) pulumix.Output[*VaultExternalKeyManagerMetadata] { + return pulumix.Output[*VaultExternalKeyManagerMetadata]{ + OutputState: i.ToVaultExternalKeyManagerMetadataPtrOutputWithContext(ctx).OutputState, } } -type VaultReplicaDetailOutput struct{ *pulumi.OutputState } +type VaultExternalKeyManagerMetadataOutput struct{ *pulumi.OutputState } -func (VaultReplicaDetailOutput) ElementType() reflect.Type { - return reflect.TypeOf((*VaultReplicaDetail)(nil)).Elem() +func (VaultExternalKeyManagerMetadataOutput) ElementType() reflect.Type { + return reflect.TypeOf((*VaultExternalKeyManagerMetadata)(nil)).Elem() } -func (o VaultReplicaDetailOutput) ToVaultReplicaDetailOutput() VaultReplicaDetailOutput { +func (o VaultExternalKeyManagerMetadataOutput) ToVaultExternalKeyManagerMetadataOutput() VaultExternalKeyManagerMetadataOutput { return o } -func (o VaultReplicaDetailOutput) ToVaultReplicaDetailOutputWithContext(ctx context.Context) VaultReplicaDetailOutput { +func (o VaultExternalKeyManagerMetadataOutput) ToVaultExternalKeyManagerMetadataOutputWithContext(ctx context.Context) VaultExternalKeyManagerMetadataOutput { return o } -func (o VaultReplicaDetailOutput) ToOutput(ctx context.Context) pulumix.Output[VaultReplicaDetail] { - return pulumix.Output[VaultReplicaDetail]{ +func (o VaultExternalKeyManagerMetadataOutput) ToVaultExternalKeyManagerMetadataPtrOutput() VaultExternalKeyManagerMetadataPtrOutput { + return o.ToVaultExternalKeyManagerMetadataPtrOutputWithContext(context.Background()) +} + +func (o VaultExternalKeyManagerMetadataOutput) ToVaultExternalKeyManagerMetadataPtrOutputWithContext(ctx context.Context) VaultExternalKeyManagerMetadataPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v VaultExternalKeyManagerMetadata) *VaultExternalKeyManagerMetadata { + return &v + }).(VaultExternalKeyManagerMetadataPtrOutput) +} + +func (o VaultExternalKeyManagerMetadataOutput) ToOutput(ctx context.Context) pulumix.Output[VaultExternalKeyManagerMetadata] { + return pulumix.Output[VaultExternalKeyManagerMetadata]{ OutputState: o.OutputState, } } -// ReplicationId associated with a vault operation -func (o VaultReplicaDetailOutput) ReplicationId() pulumi.StringPtrOutput { - return o.ApplyT(func(v VaultReplicaDetail) *string { return v.ReplicationId }).(pulumi.StringPtrOutput) +// URI of the vault on external key manager. +func (o VaultExternalKeyManagerMetadataOutput) ExternalVaultEndpointUrl() pulumi.StringOutput { + return o.ApplyT(func(v VaultExternalKeyManagerMetadata) string { return v.ExternalVaultEndpointUrl }).(pulumi.StringOutput) } -type VaultReplicaDetailArrayOutput struct{ *pulumi.OutputState } +// Authorization details required to get access token from IDP for accessing protected resources. +func (o VaultExternalKeyManagerMetadataOutput) OauthMetadata() VaultExternalKeyManagerMetadataOauthMetadataOutput { + return o.ApplyT(func(v VaultExternalKeyManagerMetadata) VaultExternalKeyManagerMetadataOauthMetadata { + return v.OauthMetadata + }).(VaultExternalKeyManagerMetadataOauthMetadataOutput) +} -func (VaultReplicaDetailArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]VaultReplicaDetail)(nil)).Elem() +// OCID of private endpoint created by customer. +func (o VaultExternalKeyManagerMetadataOutput) PrivateEndpointId() pulumi.StringOutput { + return o.ApplyT(func(v VaultExternalKeyManagerMetadata) string { return v.PrivateEndpointId }).(pulumi.StringOutput) } -func (o VaultReplicaDetailArrayOutput) ToVaultReplicaDetailArrayOutput() VaultReplicaDetailArrayOutput { +type VaultExternalKeyManagerMetadataPtrOutput struct{ *pulumi.OutputState } + +func (VaultExternalKeyManagerMetadataPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**VaultExternalKeyManagerMetadata)(nil)).Elem() +} + +func (o VaultExternalKeyManagerMetadataPtrOutput) ToVaultExternalKeyManagerMetadataPtrOutput() VaultExternalKeyManagerMetadataPtrOutput { return o } -func (o VaultReplicaDetailArrayOutput) ToVaultReplicaDetailArrayOutputWithContext(ctx context.Context) VaultReplicaDetailArrayOutput { +func (o VaultExternalKeyManagerMetadataPtrOutput) ToVaultExternalKeyManagerMetadataPtrOutputWithContext(ctx context.Context) VaultExternalKeyManagerMetadataPtrOutput { return o } -func (o VaultReplicaDetailArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]VaultReplicaDetail] { - return pulumix.Output[[]VaultReplicaDetail]{ +func (o VaultExternalKeyManagerMetadataPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VaultExternalKeyManagerMetadata] { + return pulumix.Output[*VaultExternalKeyManagerMetadata]{ OutputState: o.OutputState, } } -func (o VaultReplicaDetailArrayOutput) Index(i pulumi.IntInput) VaultReplicaDetailOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) VaultReplicaDetail { - return vs[0].([]VaultReplicaDetail)[vs[1].(int)] - }).(VaultReplicaDetailOutput) +func (o VaultExternalKeyManagerMetadataPtrOutput) Elem() VaultExternalKeyManagerMetadataOutput { + return o.ApplyT(func(v *VaultExternalKeyManagerMetadata) VaultExternalKeyManagerMetadata { + if v != nil { + return *v + } + var ret VaultExternalKeyManagerMetadata + return ret + }).(VaultExternalKeyManagerMetadataOutput) } -type VaultRestoreFromFile struct { - // content length of vault's backup binary file - ContentLength string `pulumi:"contentLength"` - // (Updatable) content md5 hashed value of vault's backup file - ContentMd5 *string `pulumi:"contentMd5"` - // Vault backup file content - RestoreVaultFromFileDetails string `pulumi:"restoreVaultFromFileDetails"` +// URI of the vault on external key manager. +func (o VaultExternalKeyManagerMetadataPtrOutput) ExternalVaultEndpointUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *VaultExternalKeyManagerMetadata) *string { + if v == nil { + return nil + } + return &v.ExternalVaultEndpointUrl + }).(pulumi.StringPtrOutput) } -// VaultRestoreFromFileInput is an input type that accepts VaultRestoreFromFileArgs and VaultRestoreFromFileOutput values. -// You can construct a concrete instance of `VaultRestoreFromFileInput` via: +// Authorization details required to get access token from IDP for accessing protected resources. +func (o VaultExternalKeyManagerMetadataPtrOutput) OauthMetadata() VaultExternalKeyManagerMetadataOauthMetadataPtrOutput { + return o.ApplyT(func(v *VaultExternalKeyManagerMetadata) *VaultExternalKeyManagerMetadataOauthMetadata { + if v == nil { + return nil + } + return &v.OauthMetadata + }).(VaultExternalKeyManagerMetadataOauthMetadataPtrOutput) +} + +// OCID of private endpoint created by customer. +func (o VaultExternalKeyManagerMetadataPtrOutput) PrivateEndpointId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *VaultExternalKeyManagerMetadata) *string { + if v == nil { + return nil + } + return &v.PrivateEndpointId + }).(pulumi.StringPtrOutput) +} + +type VaultExternalKeyManagerMetadataOauthMetadata struct { + // ID of the client app created in IDP. + ClientAppId string `pulumi:"clientAppId"` + // Secret of the client app created in IDP. + ClientAppSecret string `pulumi:"clientAppSecret"` + // Base URL of the IDCS account where confidential client app is created. + IdcsAccountNameUrl string `pulumi:"idcsAccountNameUrl"` +} + +// VaultExternalKeyManagerMetadataOauthMetadataInput is an input type that accepts VaultExternalKeyManagerMetadataOauthMetadataArgs and VaultExternalKeyManagerMetadataOauthMetadataOutput values. +// You can construct a concrete instance of `VaultExternalKeyManagerMetadataOauthMetadataInput` via: // -// VaultRestoreFromFileArgs{...} -type VaultRestoreFromFileInput interface { +// VaultExternalKeyManagerMetadataOauthMetadataArgs{...} +type VaultExternalKeyManagerMetadataOauthMetadataInput interface { pulumi.Input - ToVaultRestoreFromFileOutput() VaultRestoreFromFileOutput - ToVaultRestoreFromFileOutputWithContext(context.Context) VaultRestoreFromFileOutput + ToVaultExternalKeyManagerMetadataOauthMetadataOutput() VaultExternalKeyManagerMetadataOauthMetadataOutput + ToVaultExternalKeyManagerMetadataOauthMetadataOutputWithContext(context.Context) VaultExternalKeyManagerMetadataOauthMetadataOutput } -type VaultRestoreFromFileArgs struct { - // content length of vault's backup binary file - ContentLength pulumi.StringInput `pulumi:"contentLength"` - // (Updatable) content md5 hashed value of vault's backup file - ContentMd5 pulumi.StringPtrInput `pulumi:"contentMd5"` - // Vault backup file content - RestoreVaultFromFileDetails pulumi.StringInput `pulumi:"restoreVaultFromFileDetails"` +type VaultExternalKeyManagerMetadataOauthMetadataArgs struct { + // ID of the client app created in IDP. + ClientAppId pulumi.StringInput `pulumi:"clientAppId"` + // Secret of the client app created in IDP. + ClientAppSecret pulumi.StringInput `pulumi:"clientAppSecret"` + // Base URL of the IDCS account where confidential client app is created. + IdcsAccountNameUrl pulumi.StringInput `pulumi:"idcsAccountNameUrl"` } -func (VaultRestoreFromFileArgs) ElementType() reflect.Type { - return reflect.TypeOf((*VaultRestoreFromFile)(nil)).Elem() +func (VaultExternalKeyManagerMetadataOauthMetadataArgs) ElementType() reflect.Type { + return reflect.TypeOf((*VaultExternalKeyManagerMetadataOauthMetadata)(nil)).Elem() } -func (i VaultRestoreFromFileArgs) ToVaultRestoreFromFileOutput() VaultRestoreFromFileOutput { - return i.ToVaultRestoreFromFileOutputWithContext(context.Background()) +func (i VaultExternalKeyManagerMetadataOauthMetadataArgs) ToVaultExternalKeyManagerMetadataOauthMetadataOutput() VaultExternalKeyManagerMetadataOauthMetadataOutput { + return i.ToVaultExternalKeyManagerMetadataOauthMetadataOutputWithContext(context.Background()) } -func (i VaultRestoreFromFileArgs) ToVaultRestoreFromFileOutputWithContext(ctx context.Context) VaultRestoreFromFileOutput { - return pulumi.ToOutputWithContext(ctx, i).(VaultRestoreFromFileOutput) +func (i VaultExternalKeyManagerMetadataOauthMetadataArgs) ToVaultExternalKeyManagerMetadataOauthMetadataOutputWithContext(ctx context.Context) VaultExternalKeyManagerMetadataOauthMetadataOutput { + return pulumi.ToOutputWithContext(ctx, i).(VaultExternalKeyManagerMetadataOauthMetadataOutput) } -func (i VaultRestoreFromFileArgs) ToOutput(ctx context.Context) pulumix.Output[VaultRestoreFromFile] { - return pulumix.Output[VaultRestoreFromFile]{ - OutputState: i.ToVaultRestoreFromFileOutputWithContext(ctx).OutputState, +func (i VaultExternalKeyManagerMetadataOauthMetadataArgs) ToOutput(ctx context.Context) pulumix.Output[VaultExternalKeyManagerMetadataOauthMetadata] { + return pulumix.Output[VaultExternalKeyManagerMetadataOauthMetadata]{ + OutputState: i.ToVaultExternalKeyManagerMetadataOauthMetadataOutputWithContext(ctx).OutputState, } } -func (i VaultRestoreFromFileArgs) ToVaultRestoreFromFilePtrOutput() VaultRestoreFromFilePtrOutput { - return i.ToVaultRestoreFromFilePtrOutputWithContext(context.Background()) +func (i VaultExternalKeyManagerMetadataOauthMetadataArgs) ToVaultExternalKeyManagerMetadataOauthMetadataPtrOutput() VaultExternalKeyManagerMetadataOauthMetadataPtrOutput { + return i.ToVaultExternalKeyManagerMetadataOauthMetadataPtrOutputWithContext(context.Background()) } -func (i VaultRestoreFromFileArgs) ToVaultRestoreFromFilePtrOutputWithContext(ctx context.Context) VaultRestoreFromFilePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(VaultRestoreFromFileOutput).ToVaultRestoreFromFilePtrOutputWithContext(ctx) +func (i VaultExternalKeyManagerMetadataOauthMetadataArgs) ToVaultExternalKeyManagerMetadataOauthMetadataPtrOutputWithContext(ctx context.Context) VaultExternalKeyManagerMetadataOauthMetadataPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(VaultExternalKeyManagerMetadataOauthMetadataOutput).ToVaultExternalKeyManagerMetadataOauthMetadataPtrOutputWithContext(ctx) } -// VaultRestoreFromFilePtrInput is an input type that accepts VaultRestoreFromFileArgs, VaultRestoreFromFilePtr and VaultRestoreFromFilePtrOutput values. -// You can construct a concrete instance of `VaultRestoreFromFilePtrInput` via: +// VaultExternalKeyManagerMetadataOauthMetadataPtrInput is an input type that accepts VaultExternalKeyManagerMetadataOauthMetadataArgs, VaultExternalKeyManagerMetadataOauthMetadataPtr and VaultExternalKeyManagerMetadataOauthMetadataPtrOutput values. +// You can construct a concrete instance of `VaultExternalKeyManagerMetadataOauthMetadataPtrInput` via: // -// VaultRestoreFromFileArgs{...} +// VaultExternalKeyManagerMetadataOauthMetadataArgs{...} // // or: // // nil -type VaultRestoreFromFilePtrInput interface { +type VaultExternalKeyManagerMetadataOauthMetadataPtrInput interface { pulumi.Input - ToVaultRestoreFromFilePtrOutput() VaultRestoreFromFilePtrOutput - ToVaultRestoreFromFilePtrOutputWithContext(context.Context) VaultRestoreFromFilePtrOutput + ToVaultExternalKeyManagerMetadataOauthMetadataPtrOutput() VaultExternalKeyManagerMetadataOauthMetadataPtrOutput + ToVaultExternalKeyManagerMetadataOauthMetadataPtrOutputWithContext(context.Context) VaultExternalKeyManagerMetadataOauthMetadataPtrOutput } -type vaultRestoreFromFilePtrType VaultRestoreFromFileArgs +type vaultExternalKeyManagerMetadataOauthMetadataPtrType VaultExternalKeyManagerMetadataOauthMetadataArgs -func VaultRestoreFromFilePtr(v *VaultRestoreFromFileArgs) VaultRestoreFromFilePtrInput { - return (*vaultRestoreFromFilePtrType)(v) +func VaultExternalKeyManagerMetadataOauthMetadataPtr(v *VaultExternalKeyManagerMetadataOauthMetadataArgs) VaultExternalKeyManagerMetadataOauthMetadataPtrInput { + return (*vaultExternalKeyManagerMetadataOauthMetadataPtrType)(v) } -func (*vaultRestoreFromFilePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**VaultRestoreFromFile)(nil)).Elem() +func (*vaultExternalKeyManagerMetadataOauthMetadataPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**VaultExternalKeyManagerMetadataOauthMetadata)(nil)).Elem() } -func (i *vaultRestoreFromFilePtrType) ToVaultRestoreFromFilePtrOutput() VaultRestoreFromFilePtrOutput { - return i.ToVaultRestoreFromFilePtrOutputWithContext(context.Background()) +func (i *vaultExternalKeyManagerMetadataOauthMetadataPtrType) ToVaultExternalKeyManagerMetadataOauthMetadataPtrOutput() VaultExternalKeyManagerMetadataOauthMetadataPtrOutput { + return i.ToVaultExternalKeyManagerMetadataOauthMetadataPtrOutputWithContext(context.Background()) } -func (i *vaultRestoreFromFilePtrType) ToVaultRestoreFromFilePtrOutputWithContext(ctx context.Context) VaultRestoreFromFilePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(VaultRestoreFromFilePtrOutput) +func (i *vaultExternalKeyManagerMetadataOauthMetadataPtrType) ToVaultExternalKeyManagerMetadataOauthMetadataPtrOutputWithContext(ctx context.Context) VaultExternalKeyManagerMetadataOauthMetadataPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(VaultExternalKeyManagerMetadataOauthMetadataPtrOutput) } -func (i *vaultRestoreFromFilePtrType) ToOutput(ctx context.Context) pulumix.Output[*VaultRestoreFromFile] { - return pulumix.Output[*VaultRestoreFromFile]{ - OutputState: i.ToVaultRestoreFromFilePtrOutputWithContext(ctx).OutputState, +func (i *vaultExternalKeyManagerMetadataOauthMetadataPtrType) ToOutput(ctx context.Context) pulumix.Output[*VaultExternalKeyManagerMetadataOauthMetadata] { + return pulumix.Output[*VaultExternalKeyManagerMetadataOauthMetadata]{ + OutputState: i.ToVaultExternalKeyManagerMetadataOauthMetadataPtrOutputWithContext(ctx).OutputState, } } -type VaultRestoreFromFileOutput struct{ *pulumi.OutputState } +type VaultExternalKeyManagerMetadataOauthMetadataOutput struct{ *pulumi.OutputState } -func (VaultRestoreFromFileOutput) ElementType() reflect.Type { - return reflect.TypeOf((*VaultRestoreFromFile)(nil)).Elem() +func (VaultExternalKeyManagerMetadataOauthMetadataOutput) ElementType() reflect.Type { + return reflect.TypeOf((*VaultExternalKeyManagerMetadataOauthMetadata)(nil)).Elem() } -func (o VaultRestoreFromFileOutput) ToVaultRestoreFromFileOutput() VaultRestoreFromFileOutput { +func (o VaultExternalKeyManagerMetadataOauthMetadataOutput) ToVaultExternalKeyManagerMetadataOauthMetadataOutput() VaultExternalKeyManagerMetadataOauthMetadataOutput { return o } -func (o VaultRestoreFromFileOutput) ToVaultRestoreFromFileOutputWithContext(ctx context.Context) VaultRestoreFromFileOutput { +func (o VaultExternalKeyManagerMetadataOauthMetadataOutput) ToVaultExternalKeyManagerMetadataOauthMetadataOutputWithContext(ctx context.Context) VaultExternalKeyManagerMetadataOauthMetadataOutput { return o } -func (o VaultRestoreFromFileOutput) ToVaultRestoreFromFilePtrOutput() VaultRestoreFromFilePtrOutput { - return o.ToVaultRestoreFromFilePtrOutputWithContext(context.Background()) +func (o VaultExternalKeyManagerMetadataOauthMetadataOutput) ToVaultExternalKeyManagerMetadataOauthMetadataPtrOutput() VaultExternalKeyManagerMetadataOauthMetadataPtrOutput { + return o.ToVaultExternalKeyManagerMetadataOauthMetadataPtrOutputWithContext(context.Background()) } -func (o VaultRestoreFromFileOutput) ToVaultRestoreFromFilePtrOutputWithContext(ctx context.Context) VaultRestoreFromFilePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v VaultRestoreFromFile) *VaultRestoreFromFile { +func (o VaultExternalKeyManagerMetadataOauthMetadataOutput) ToVaultExternalKeyManagerMetadataOauthMetadataPtrOutputWithContext(ctx context.Context) VaultExternalKeyManagerMetadataOauthMetadataPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v VaultExternalKeyManagerMetadataOauthMetadata) *VaultExternalKeyManagerMetadataOauthMetadata { return &v - }).(VaultRestoreFromFilePtrOutput) + }).(VaultExternalKeyManagerMetadataOauthMetadataPtrOutput) } -func (o VaultRestoreFromFileOutput) ToOutput(ctx context.Context) pulumix.Output[VaultRestoreFromFile] { - return pulumix.Output[VaultRestoreFromFile]{ +func (o VaultExternalKeyManagerMetadataOauthMetadataOutput) ToOutput(ctx context.Context) pulumix.Output[VaultExternalKeyManagerMetadataOauthMetadata] { + return pulumix.Output[VaultExternalKeyManagerMetadataOauthMetadata]{ OutputState: o.OutputState, } } -// content length of vault's backup binary file -func (o VaultRestoreFromFileOutput) ContentLength() pulumi.StringOutput { - return o.ApplyT(func(v VaultRestoreFromFile) string { return v.ContentLength }).(pulumi.StringOutput) +// ID of the client app created in IDP. +func (o VaultExternalKeyManagerMetadataOauthMetadataOutput) ClientAppId() pulumi.StringOutput { + return o.ApplyT(func(v VaultExternalKeyManagerMetadataOauthMetadata) string { return v.ClientAppId }).(pulumi.StringOutput) } -// (Updatable) content md5 hashed value of vault's backup file -func (o VaultRestoreFromFileOutput) ContentMd5() pulumi.StringPtrOutput { - return o.ApplyT(func(v VaultRestoreFromFile) *string { return v.ContentMd5 }).(pulumi.StringPtrOutput) +// Secret of the client app created in IDP. +func (o VaultExternalKeyManagerMetadataOauthMetadataOutput) ClientAppSecret() pulumi.StringOutput { + return o.ApplyT(func(v VaultExternalKeyManagerMetadataOauthMetadata) string { return v.ClientAppSecret }).(pulumi.StringOutput) } -// Vault backup file content -func (o VaultRestoreFromFileOutput) RestoreVaultFromFileDetails() pulumi.StringOutput { - return o.ApplyT(func(v VaultRestoreFromFile) string { return v.RestoreVaultFromFileDetails }).(pulumi.StringOutput) +// Base URL of the IDCS account where confidential client app is created. +func (o VaultExternalKeyManagerMetadataOauthMetadataOutput) IdcsAccountNameUrl() pulumi.StringOutput { + return o.ApplyT(func(v VaultExternalKeyManagerMetadataOauthMetadata) string { return v.IdcsAccountNameUrl }).(pulumi.StringOutput) } -type VaultRestoreFromFilePtrOutput struct{ *pulumi.OutputState } +type VaultExternalKeyManagerMetadataOauthMetadataPtrOutput struct{ *pulumi.OutputState } -func (VaultRestoreFromFilePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**VaultRestoreFromFile)(nil)).Elem() +func (VaultExternalKeyManagerMetadataOauthMetadataPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**VaultExternalKeyManagerMetadataOauthMetadata)(nil)).Elem() } -func (o VaultRestoreFromFilePtrOutput) ToVaultRestoreFromFilePtrOutput() VaultRestoreFromFilePtrOutput { +func (o VaultExternalKeyManagerMetadataOauthMetadataPtrOutput) ToVaultExternalKeyManagerMetadataOauthMetadataPtrOutput() VaultExternalKeyManagerMetadataOauthMetadataPtrOutput { return o } -func (o VaultRestoreFromFilePtrOutput) ToVaultRestoreFromFilePtrOutputWithContext(ctx context.Context) VaultRestoreFromFilePtrOutput { +func (o VaultExternalKeyManagerMetadataOauthMetadataPtrOutput) ToVaultExternalKeyManagerMetadataOauthMetadataPtrOutputWithContext(ctx context.Context) VaultExternalKeyManagerMetadataOauthMetadataPtrOutput { return o } -func (o VaultRestoreFromFilePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VaultRestoreFromFile] { - return pulumix.Output[*VaultRestoreFromFile]{ +func (o VaultExternalKeyManagerMetadataOauthMetadataPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VaultExternalKeyManagerMetadataOauthMetadata] { + return pulumix.Output[*VaultExternalKeyManagerMetadataOauthMetadata]{ OutputState: o.OutputState, } } -func (o VaultRestoreFromFilePtrOutput) Elem() VaultRestoreFromFileOutput { - return o.ApplyT(func(v *VaultRestoreFromFile) VaultRestoreFromFile { +func (o VaultExternalKeyManagerMetadataOauthMetadataPtrOutput) Elem() VaultExternalKeyManagerMetadataOauthMetadataOutput { + return o.ApplyT(func(v *VaultExternalKeyManagerMetadataOauthMetadata) VaultExternalKeyManagerMetadataOauthMetadata { if v != nil { return *v } - var ret VaultRestoreFromFile + var ret VaultExternalKeyManagerMetadataOauthMetadata return ret - }).(VaultRestoreFromFileOutput) + }).(VaultExternalKeyManagerMetadataOauthMetadataOutput) } -// content length of vault's backup binary file -func (o VaultRestoreFromFilePtrOutput) ContentLength() pulumi.StringPtrOutput { - return o.ApplyT(func(v *VaultRestoreFromFile) *string { +// ID of the client app created in IDP. +func (o VaultExternalKeyManagerMetadataOauthMetadataPtrOutput) ClientAppId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *VaultExternalKeyManagerMetadataOauthMetadata) *string { if v == nil { return nil } - return &v.ContentLength + return &v.ClientAppId }).(pulumi.StringPtrOutput) } -// (Updatable) content md5 hashed value of vault's backup file -func (o VaultRestoreFromFilePtrOutput) ContentMd5() pulumi.StringPtrOutput { - return o.ApplyT(func(v *VaultRestoreFromFile) *string { +// Secret of the client app created in IDP. +func (o VaultExternalKeyManagerMetadataOauthMetadataPtrOutput) ClientAppSecret() pulumi.StringPtrOutput { + return o.ApplyT(func(v *VaultExternalKeyManagerMetadataOauthMetadata) *string { if v == nil { return nil } - return v.ContentMd5 + return &v.ClientAppSecret }).(pulumi.StringPtrOutput) } -// Vault backup file content -func (o VaultRestoreFromFilePtrOutput) RestoreVaultFromFileDetails() pulumi.StringPtrOutput { - return o.ApplyT(func(v *VaultRestoreFromFile) *string { +// Base URL of the IDCS account where confidential client app is created. +func (o VaultExternalKeyManagerMetadataOauthMetadataPtrOutput) IdcsAccountNameUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v *VaultExternalKeyManagerMetadataOauthMetadata) *string { if v == nil { return nil } - return &v.RestoreVaultFromFileDetails + return &v.IdcsAccountNameUrl }).(pulumi.StringPtrOutput) } -type VaultRestoreFromObjectStore struct { - // (Updatable) Name of the bucket where vault was backed up - Bucket *string `pulumi:"bucket"` - // (Updatable) Type of backup to restore from. Values of "BUCKET", "PRE_AUTHENTICATED_REQUEST_URI" are supported - Destination string `pulumi:"destination"` - // (Updatable) Namespace of the bucket where vault was backed up - Namespace *string `pulumi:"namespace"` - // (Updatable) Object containing the backup - Object *string `pulumi:"object"` - // (Updatable) Pre-authenticated-request-uri of the backup* `restoreTrigger` - (Optional) (Updatable) An optional property when flipped triggers restore from restore option provided in config file. - Uri *string `pulumi:"uri"` +type VaultExternalKeyManagerMetadataSummary struct { + // URI of the vault on external key manager. + ExternalVaultEndpointUrl *string `pulumi:"externalVaultEndpointUrl"` + // Summary about authorization to be returned to the customer as a response. + OauthMetadataSummaries []VaultExternalKeyManagerMetadataSummaryOauthMetadataSummary `pulumi:"oauthMetadataSummaries"` + // OCID of private endpoint created by customer. + PrivateEndpointId *string `pulumi:"privateEndpointId"` + // Vendor of the external key manager. + Vendor *string `pulumi:"vendor"` } -// VaultRestoreFromObjectStoreInput is an input type that accepts VaultRestoreFromObjectStoreArgs and VaultRestoreFromObjectStoreOutput values. -// You can construct a concrete instance of `VaultRestoreFromObjectStoreInput` via: +// VaultExternalKeyManagerMetadataSummaryInput is an input type that accepts VaultExternalKeyManagerMetadataSummaryArgs and VaultExternalKeyManagerMetadataSummaryOutput values. +// You can construct a concrete instance of `VaultExternalKeyManagerMetadataSummaryInput` via: // -// VaultRestoreFromObjectStoreArgs{...} -type VaultRestoreFromObjectStoreInput interface { +// VaultExternalKeyManagerMetadataSummaryArgs{...} +type VaultExternalKeyManagerMetadataSummaryInput interface { pulumi.Input - ToVaultRestoreFromObjectStoreOutput() VaultRestoreFromObjectStoreOutput - ToVaultRestoreFromObjectStoreOutputWithContext(context.Context) VaultRestoreFromObjectStoreOutput + ToVaultExternalKeyManagerMetadataSummaryOutput() VaultExternalKeyManagerMetadataSummaryOutput + ToVaultExternalKeyManagerMetadataSummaryOutputWithContext(context.Context) VaultExternalKeyManagerMetadataSummaryOutput } -type VaultRestoreFromObjectStoreArgs struct { - // (Updatable) Name of the bucket where vault was backed up - Bucket pulumi.StringPtrInput `pulumi:"bucket"` - // (Updatable) Type of backup to restore from. Values of "BUCKET", "PRE_AUTHENTICATED_REQUEST_URI" are supported - Destination pulumi.StringInput `pulumi:"destination"` - // (Updatable) Namespace of the bucket where vault was backed up - Namespace pulumi.StringPtrInput `pulumi:"namespace"` - // (Updatable) Object containing the backup - Object pulumi.StringPtrInput `pulumi:"object"` - // (Updatable) Pre-authenticated-request-uri of the backup* `restoreTrigger` - (Optional) (Updatable) An optional property when flipped triggers restore from restore option provided in config file. - Uri pulumi.StringPtrInput `pulumi:"uri"` +type VaultExternalKeyManagerMetadataSummaryArgs struct { + // URI of the vault on external key manager. + ExternalVaultEndpointUrl pulumi.StringPtrInput `pulumi:"externalVaultEndpointUrl"` + // Summary about authorization to be returned to the customer as a response. + OauthMetadataSummaries VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayInput `pulumi:"oauthMetadataSummaries"` + // OCID of private endpoint created by customer. + PrivateEndpointId pulumi.StringPtrInput `pulumi:"privateEndpointId"` + // Vendor of the external key manager. + Vendor pulumi.StringPtrInput `pulumi:"vendor"` } -func (VaultRestoreFromObjectStoreArgs) ElementType() reflect.Type { - return reflect.TypeOf((*VaultRestoreFromObjectStore)(nil)).Elem() +func (VaultExternalKeyManagerMetadataSummaryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*VaultExternalKeyManagerMetadataSummary)(nil)).Elem() } -func (i VaultRestoreFromObjectStoreArgs) ToVaultRestoreFromObjectStoreOutput() VaultRestoreFromObjectStoreOutput { - return i.ToVaultRestoreFromObjectStoreOutputWithContext(context.Background()) +func (i VaultExternalKeyManagerMetadataSummaryArgs) ToVaultExternalKeyManagerMetadataSummaryOutput() VaultExternalKeyManagerMetadataSummaryOutput { + return i.ToVaultExternalKeyManagerMetadataSummaryOutputWithContext(context.Background()) } -func (i VaultRestoreFromObjectStoreArgs) ToVaultRestoreFromObjectStoreOutputWithContext(ctx context.Context) VaultRestoreFromObjectStoreOutput { - return pulumi.ToOutputWithContext(ctx, i).(VaultRestoreFromObjectStoreOutput) +func (i VaultExternalKeyManagerMetadataSummaryArgs) ToVaultExternalKeyManagerMetadataSummaryOutputWithContext(ctx context.Context) VaultExternalKeyManagerMetadataSummaryOutput { + return pulumi.ToOutputWithContext(ctx, i).(VaultExternalKeyManagerMetadataSummaryOutput) } -func (i VaultRestoreFromObjectStoreArgs) ToOutput(ctx context.Context) pulumix.Output[VaultRestoreFromObjectStore] { - return pulumix.Output[VaultRestoreFromObjectStore]{ - OutputState: i.ToVaultRestoreFromObjectStoreOutputWithContext(ctx).OutputState, +func (i VaultExternalKeyManagerMetadataSummaryArgs) ToOutput(ctx context.Context) pulumix.Output[VaultExternalKeyManagerMetadataSummary] { + return pulumix.Output[VaultExternalKeyManagerMetadataSummary]{ + OutputState: i.ToVaultExternalKeyManagerMetadataSummaryOutputWithContext(ctx).OutputState, } } -func (i VaultRestoreFromObjectStoreArgs) ToVaultRestoreFromObjectStorePtrOutput() VaultRestoreFromObjectStorePtrOutput { - return i.ToVaultRestoreFromObjectStorePtrOutputWithContext(context.Background()) -} - -func (i VaultRestoreFromObjectStoreArgs) ToVaultRestoreFromObjectStorePtrOutputWithContext(ctx context.Context) VaultRestoreFromObjectStorePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(VaultRestoreFromObjectStoreOutput).ToVaultRestoreFromObjectStorePtrOutputWithContext(ctx) -} - -// VaultRestoreFromObjectStorePtrInput is an input type that accepts VaultRestoreFromObjectStoreArgs, VaultRestoreFromObjectStorePtr and VaultRestoreFromObjectStorePtrOutput values. -// You can construct a concrete instance of `VaultRestoreFromObjectStorePtrInput` via: -// -// VaultRestoreFromObjectStoreArgs{...} +// VaultExternalKeyManagerMetadataSummaryArrayInput is an input type that accepts VaultExternalKeyManagerMetadataSummaryArray and VaultExternalKeyManagerMetadataSummaryArrayOutput values. +// You can construct a concrete instance of `VaultExternalKeyManagerMetadataSummaryArrayInput` via: // -// or: -// -// nil -type VaultRestoreFromObjectStorePtrInput interface { +// VaultExternalKeyManagerMetadataSummaryArray{ VaultExternalKeyManagerMetadataSummaryArgs{...} } +type VaultExternalKeyManagerMetadataSummaryArrayInput interface { pulumi.Input - ToVaultRestoreFromObjectStorePtrOutput() VaultRestoreFromObjectStorePtrOutput - ToVaultRestoreFromObjectStorePtrOutputWithContext(context.Context) VaultRestoreFromObjectStorePtrOutput + ToVaultExternalKeyManagerMetadataSummaryArrayOutput() VaultExternalKeyManagerMetadataSummaryArrayOutput + ToVaultExternalKeyManagerMetadataSummaryArrayOutputWithContext(context.Context) VaultExternalKeyManagerMetadataSummaryArrayOutput } -type vaultRestoreFromObjectStorePtrType VaultRestoreFromObjectStoreArgs - -func VaultRestoreFromObjectStorePtr(v *VaultRestoreFromObjectStoreArgs) VaultRestoreFromObjectStorePtrInput { - return (*vaultRestoreFromObjectStorePtrType)(v) -} +type VaultExternalKeyManagerMetadataSummaryArray []VaultExternalKeyManagerMetadataSummaryInput -func (*vaultRestoreFromObjectStorePtrType) ElementType() reflect.Type { - return reflect.TypeOf((**VaultRestoreFromObjectStore)(nil)).Elem() +func (VaultExternalKeyManagerMetadataSummaryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]VaultExternalKeyManagerMetadataSummary)(nil)).Elem() } -func (i *vaultRestoreFromObjectStorePtrType) ToVaultRestoreFromObjectStorePtrOutput() VaultRestoreFromObjectStorePtrOutput { - return i.ToVaultRestoreFromObjectStorePtrOutputWithContext(context.Background()) +func (i VaultExternalKeyManagerMetadataSummaryArray) ToVaultExternalKeyManagerMetadataSummaryArrayOutput() VaultExternalKeyManagerMetadataSummaryArrayOutput { + return i.ToVaultExternalKeyManagerMetadataSummaryArrayOutputWithContext(context.Background()) } -func (i *vaultRestoreFromObjectStorePtrType) ToVaultRestoreFromObjectStorePtrOutputWithContext(ctx context.Context) VaultRestoreFromObjectStorePtrOutput { - return pulumi.ToOutputWithContext(ctx, i).(VaultRestoreFromObjectStorePtrOutput) +func (i VaultExternalKeyManagerMetadataSummaryArray) ToVaultExternalKeyManagerMetadataSummaryArrayOutputWithContext(ctx context.Context) VaultExternalKeyManagerMetadataSummaryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(VaultExternalKeyManagerMetadataSummaryArrayOutput) } -func (i *vaultRestoreFromObjectStorePtrType) ToOutput(ctx context.Context) pulumix.Output[*VaultRestoreFromObjectStore] { - return pulumix.Output[*VaultRestoreFromObjectStore]{ - OutputState: i.ToVaultRestoreFromObjectStorePtrOutputWithContext(ctx).OutputState, +func (i VaultExternalKeyManagerMetadataSummaryArray) ToOutput(ctx context.Context) pulumix.Output[[]VaultExternalKeyManagerMetadataSummary] { + return pulumix.Output[[]VaultExternalKeyManagerMetadataSummary]{ + OutputState: i.ToVaultExternalKeyManagerMetadataSummaryArrayOutputWithContext(ctx).OutputState, } } -type VaultRestoreFromObjectStoreOutput struct{ *pulumi.OutputState } +type VaultExternalKeyManagerMetadataSummaryOutput struct{ *pulumi.OutputState } -func (VaultRestoreFromObjectStoreOutput) ElementType() reflect.Type { - return reflect.TypeOf((*VaultRestoreFromObjectStore)(nil)).Elem() +func (VaultExternalKeyManagerMetadataSummaryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*VaultExternalKeyManagerMetadataSummary)(nil)).Elem() } -func (o VaultRestoreFromObjectStoreOutput) ToVaultRestoreFromObjectStoreOutput() VaultRestoreFromObjectStoreOutput { +func (o VaultExternalKeyManagerMetadataSummaryOutput) ToVaultExternalKeyManagerMetadataSummaryOutput() VaultExternalKeyManagerMetadataSummaryOutput { return o } -func (o VaultRestoreFromObjectStoreOutput) ToVaultRestoreFromObjectStoreOutputWithContext(ctx context.Context) VaultRestoreFromObjectStoreOutput { +func (o VaultExternalKeyManagerMetadataSummaryOutput) ToVaultExternalKeyManagerMetadataSummaryOutputWithContext(ctx context.Context) VaultExternalKeyManagerMetadataSummaryOutput { return o } -func (o VaultRestoreFromObjectStoreOutput) ToVaultRestoreFromObjectStorePtrOutput() VaultRestoreFromObjectStorePtrOutput { - return o.ToVaultRestoreFromObjectStorePtrOutputWithContext(context.Background()) +func (o VaultExternalKeyManagerMetadataSummaryOutput) ToOutput(ctx context.Context) pulumix.Output[VaultExternalKeyManagerMetadataSummary] { + return pulumix.Output[VaultExternalKeyManagerMetadataSummary]{ + OutputState: o.OutputState, + } } -func (o VaultRestoreFromObjectStoreOutput) ToVaultRestoreFromObjectStorePtrOutputWithContext(ctx context.Context) VaultRestoreFromObjectStorePtrOutput { - return o.ApplyTWithContext(ctx, func(_ context.Context, v VaultRestoreFromObjectStore) *VaultRestoreFromObjectStore { - return &v - }).(VaultRestoreFromObjectStorePtrOutput) +// URI of the vault on external key manager. +func (o VaultExternalKeyManagerMetadataSummaryOutput) ExternalVaultEndpointUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v VaultExternalKeyManagerMetadataSummary) *string { return v.ExternalVaultEndpointUrl }).(pulumi.StringPtrOutput) } -func (o VaultRestoreFromObjectStoreOutput) ToOutput(ctx context.Context) pulumix.Output[VaultRestoreFromObjectStore] { - return pulumix.Output[VaultRestoreFromObjectStore]{ - OutputState: o.OutputState, - } +// Summary about authorization to be returned to the customer as a response. +func (o VaultExternalKeyManagerMetadataSummaryOutput) OauthMetadataSummaries() VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutput { + return o.ApplyT(func(v VaultExternalKeyManagerMetadataSummary) []VaultExternalKeyManagerMetadataSummaryOauthMetadataSummary { + return v.OauthMetadataSummaries + }).(VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutput) } -// (Updatable) Name of the bucket where vault was backed up -func (o VaultRestoreFromObjectStoreOutput) Bucket() pulumi.StringPtrOutput { - return o.ApplyT(func(v VaultRestoreFromObjectStore) *string { return v.Bucket }).(pulumi.StringPtrOutput) +// OCID of private endpoint created by customer. +func (o VaultExternalKeyManagerMetadataSummaryOutput) PrivateEndpointId() pulumi.StringPtrOutput { + return o.ApplyT(func(v VaultExternalKeyManagerMetadataSummary) *string { return v.PrivateEndpointId }).(pulumi.StringPtrOutput) } -// (Updatable) Type of backup to restore from. Values of "BUCKET", "PRE_AUTHENTICATED_REQUEST_URI" are supported -func (o VaultRestoreFromObjectStoreOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v VaultRestoreFromObjectStore) string { return v.Destination }).(pulumi.StringOutput) +// Vendor of the external key manager. +func (o VaultExternalKeyManagerMetadataSummaryOutput) Vendor() pulumi.StringPtrOutput { + return o.ApplyT(func(v VaultExternalKeyManagerMetadataSummary) *string { return v.Vendor }).(pulumi.StringPtrOutput) } -// (Updatable) Namespace of the bucket where vault was backed up -func (o VaultRestoreFromObjectStoreOutput) Namespace() pulumi.StringPtrOutput { - return o.ApplyT(func(v VaultRestoreFromObjectStore) *string { return v.Namespace }).(pulumi.StringPtrOutput) +type VaultExternalKeyManagerMetadataSummaryArrayOutput struct{ *pulumi.OutputState } + +func (VaultExternalKeyManagerMetadataSummaryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]VaultExternalKeyManagerMetadataSummary)(nil)).Elem() } -// (Updatable) Object containing the backup -func (o VaultRestoreFromObjectStoreOutput) Object() pulumi.StringPtrOutput { - return o.ApplyT(func(v VaultRestoreFromObjectStore) *string { return v.Object }).(pulumi.StringPtrOutput) +func (o VaultExternalKeyManagerMetadataSummaryArrayOutput) ToVaultExternalKeyManagerMetadataSummaryArrayOutput() VaultExternalKeyManagerMetadataSummaryArrayOutput { + return o } -// (Updatable) Pre-authenticated-request-uri of the backup* `restoreTrigger` - (Optional) (Updatable) An optional property when flipped triggers restore from restore option provided in config file. -func (o VaultRestoreFromObjectStoreOutput) Uri() pulumi.StringPtrOutput { - return o.ApplyT(func(v VaultRestoreFromObjectStore) *string { return v.Uri }).(pulumi.StringPtrOutput) -} - -type VaultRestoreFromObjectStorePtrOutput struct{ *pulumi.OutputState } - -func (VaultRestoreFromObjectStorePtrOutput) ElementType() reflect.Type { - return reflect.TypeOf((**VaultRestoreFromObjectStore)(nil)).Elem() -} - -func (o VaultRestoreFromObjectStorePtrOutput) ToVaultRestoreFromObjectStorePtrOutput() VaultRestoreFromObjectStorePtrOutput { - return o -} - -func (o VaultRestoreFromObjectStorePtrOutput) ToVaultRestoreFromObjectStorePtrOutputWithContext(ctx context.Context) VaultRestoreFromObjectStorePtrOutput { +func (o VaultExternalKeyManagerMetadataSummaryArrayOutput) ToVaultExternalKeyManagerMetadataSummaryArrayOutputWithContext(ctx context.Context) VaultExternalKeyManagerMetadataSummaryArrayOutput { return o } -func (o VaultRestoreFromObjectStorePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VaultRestoreFromObjectStore] { - return pulumix.Output[*VaultRestoreFromObjectStore]{ +func (o VaultExternalKeyManagerMetadataSummaryArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]VaultExternalKeyManagerMetadataSummary] { + return pulumix.Output[[]VaultExternalKeyManagerMetadataSummary]{ OutputState: o.OutputState, } } -func (o VaultRestoreFromObjectStorePtrOutput) Elem() VaultRestoreFromObjectStoreOutput { - return o.ApplyT(func(v *VaultRestoreFromObjectStore) VaultRestoreFromObjectStore { - if v != nil { - return *v - } - var ret VaultRestoreFromObjectStore - return ret - }).(VaultRestoreFromObjectStoreOutput) -} - -// (Updatable) Name of the bucket where vault was backed up -func (o VaultRestoreFromObjectStorePtrOutput) Bucket() pulumi.StringPtrOutput { - return o.ApplyT(func(v *VaultRestoreFromObjectStore) *string { - if v == nil { - return nil - } - return v.Bucket - }).(pulumi.StringPtrOutput) -} - -// (Updatable) Type of backup to restore from. Values of "BUCKET", "PRE_AUTHENTICATED_REQUEST_URI" are supported -func (o VaultRestoreFromObjectStorePtrOutput) Destination() pulumi.StringPtrOutput { - return o.ApplyT(func(v *VaultRestoreFromObjectStore) *string { - if v == nil { - return nil - } - return &v.Destination - }).(pulumi.StringPtrOutput) -} - -// (Updatable) Namespace of the bucket where vault was backed up -func (o VaultRestoreFromObjectStorePtrOutput) Namespace() pulumi.StringPtrOutput { - return o.ApplyT(func(v *VaultRestoreFromObjectStore) *string { - if v == nil { - return nil - } - return v.Namespace - }).(pulumi.StringPtrOutput) -} - -// (Updatable) Object containing the backup -func (o VaultRestoreFromObjectStorePtrOutput) Object() pulumi.StringPtrOutput { - return o.ApplyT(func(v *VaultRestoreFromObjectStore) *string { - if v == nil { - return nil - } - return v.Object - }).(pulumi.StringPtrOutput) -} - -// (Updatable) Pre-authenticated-request-uri of the backup* `restoreTrigger` - (Optional) (Updatable) An optional property when flipped triggers restore from restore option provided in config file. -func (o VaultRestoreFromObjectStorePtrOutput) Uri() pulumi.StringPtrOutput { - return o.ApplyT(func(v *VaultRestoreFromObjectStore) *string { - if v == nil { - return nil - } - return v.Uri - }).(pulumi.StringPtrOutput) +func (o VaultExternalKeyManagerMetadataSummaryArrayOutput) Index(i pulumi.IntInput) VaultExternalKeyManagerMetadataSummaryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) VaultExternalKeyManagerMetadataSummary { + return vs[0].([]VaultExternalKeyManagerMetadataSummary)[vs[1].(int)] + }).(VaultExternalKeyManagerMetadataSummaryOutput) } -type GetKeyKeyShape struct { - // The algorithm used by a key's key versions to encrypt or decrypt. - Algorithm string `pulumi:"algorithm"` - // Supported curve IDs for ECDSA keys. - CurveId string `pulumi:"curveId"` - // The length of the key in bytes, expressed as an integer. Supported values include the following: - // * AES: 16, 24, or 32 - // * RSA: 256, 384, or 512 - // * ECDSA: 32, 48, or 66 - Length int `pulumi:"length"` +type VaultExternalKeyManagerMetadataSummaryOauthMetadataSummary struct { + // ID of the client app created in IDP. + ClientAppId *string `pulumi:"clientAppId"` + // Base URL of the IDCS account where confidential client app is created. + IdcsAccountNameUrl *string `pulumi:"idcsAccountNameUrl"` } -// GetKeyKeyShapeInput is an input type that accepts GetKeyKeyShapeArgs and GetKeyKeyShapeOutput values. -// You can construct a concrete instance of `GetKeyKeyShapeInput` via: +// VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryInput is an input type that accepts VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArgs and VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutput values. +// You can construct a concrete instance of `VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryInput` via: // -// GetKeyKeyShapeArgs{...} -type GetKeyKeyShapeInput interface { +// VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArgs{...} +type VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryInput interface { pulumi.Input - ToGetKeyKeyShapeOutput() GetKeyKeyShapeOutput - ToGetKeyKeyShapeOutputWithContext(context.Context) GetKeyKeyShapeOutput + ToVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutput() VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutput + ToVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutputWithContext(context.Context) VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutput } -type GetKeyKeyShapeArgs struct { - // The algorithm used by a key's key versions to encrypt or decrypt. - Algorithm pulumi.StringInput `pulumi:"algorithm"` - // Supported curve IDs for ECDSA keys. - CurveId pulumi.StringInput `pulumi:"curveId"` - // The length of the key in bytes, expressed as an integer. Supported values include the following: - // * AES: 16, 24, or 32 - // * RSA: 256, 384, or 512 - // * ECDSA: 32, 48, or 66 - Length pulumi.IntInput `pulumi:"length"` +type VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArgs struct { + // ID of the client app created in IDP. + ClientAppId pulumi.StringPtrInput `pulumi:"clientAppId"` + // Base URL of the IDCS account where confidential client app is created. + IdcsAccountNameUrl pulumi.StringPtrInput `pulumi:"idcsAccountNameUrl"` } -func (GetKeyKeyShapeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetKeyKeyShape)(nil)).Elem() +func (VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*VaultExternalKeyManagerMetadataSummaryOauthMetadataSummary)(nil)).Elem() } -func (i GetKeyKeyShapeArgs) ToGetKeyKeyShapeOutput() GetKeyKeyShapeOutput { - return i.ToGetKeyKeyShapeOutputWithContext(context.Background()) +func (i VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArgs) ToVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutput() VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutput { + return i.ToVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutputWithContext(context.Background()) } -func (i GetKeyKeyShapeArgs) ToGetKeyKeyShapeOutputWithContext(ctx context.Context) GetKeyKeyShapeOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetKeyKeyShapeOutput) +func (i VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArgs) ToVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutputWithContext(ctx context.Context) VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutput { + return pulumi.ToOutputWithContext(ctx, i).(VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutput) } -func (i GetKeyKeyShapeArgs) ToOutput(ctx context.Context) pulumix.Output[GetKeyKeyShape] { - return pulumix.Output[GetKeyKeyShape]{ - OutputState: i.ToGetKeyKeyShapeOutputWithContext(ctx).OutputState, +func (i VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArgs) ToOutput(ctx context.Context) pulumix.Output[VaultExternalKeyManagerMetadataSummaryOauthMetadataSummary] { + return pulumix.Output[VaultExternalKeyManagerMetadataSummaryOauthMetadataSummary]{ + OutputState: i.ToVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutputWithContext(ctx).OutputState, } } -// GetKeyKeyShapeArrayInput is an input type that accepts GetKeyKeyShapeArray and GetKeyKeyShapeArrayOutput values. -// You can construct a concrete instance of `GetKeyKeyShapeArrayInput` via: +// VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayInput is an input type that accepts VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArray and VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutput values. +// You can construct a concrete instance of `VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayInput` via: // -// GetKeyKeyShapeArray{ GetKeyKeyShapeArgs{...} } -type GetKeyKeyShapeArrayInput interface { +// VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArray{ VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArgs{...} } +type VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayInput interface { pulumi.Input - ToGetKeyKeyShapeArrayOutput() GetKeyKeyShapeArrayOutput - ToGetKeyKeyShapeArrayOutputWithContext(context.Context) GetKeyKeyShapeArrayOutput + ToVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutput() VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutput + ToVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutputWithContext(context.Context) VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutput } -type GetKeyKeyShapeArray []GetKeyKeyShapeInput +type VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArray []VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryInput -func (GetKeyKeyShapeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetKeyKeyShape)(nil)).Elem() +func (VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]VaultExternalKeyManagerMetadataSummaryOauthMetadataSummary)(nil)).Elem() } -func (i GetKeyKeyShapeArray) ToGetKeyKeyShapeArrayOutput() GetKeyKeyShapeArrayOutput { - return i.ToGetKeyKeyShapeArrayOutputWithContext(context.Background()) +func (i VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArray) ToVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutput() VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutput { + return i.ToVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutputWithContext(context.Background()) } -func (i GetKeyKeyShapeArray) ToGetKeyKeyShapeArrayOutputWithContext(ctx context.Context) GetKeyKeyShapeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetKeyKeyShapeArrayOutput) +func (i VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArray) ToVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutputWithContext(ctx context.Context) VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutput) } -func (i GetKeyKeyShapeArray) ToOutput(ctx context.Context) pulumix.Output[[]GetKeyKeyShape] { - return pulumix.Output[[]GetKeyKeyShape]{ - OutputState: i.ToGetKeyKeyShapeArrayOutputWithContext(ctx).OutputState, +func (i VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArray) ToOutput(ctx context.Context) pulumix.Output[[]VaultExternalKeyManagerMetadataSummaryOauthMetadataSummary] { + return pulumix.Output[[]VaultExternalKeyManagerMetadataSummaryOauthMetadataSummary]{ + OutputState: i.ToVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutputWithContext(ctx).OutputState, } } -type GetKeyKeyShapeOutput struct{ *pulumi.OutputState } +type VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutput struct{ *pulumi.OutputState } -func (GetKeyKeyShapeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetKeyKeyShape)(nil)).Elem() +func (VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*VaultExternalKeyManagerMetadataSummaryOauthMetadataSummary)(nil)).Elem() } -func (o GetKeyKeyShapeOutput) ToGetKeyKeyShapeOutput() GetKeyKeyShapeOutput { +func (o VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutput) ToVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutput() VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutput { return o } -func (o GetKeyKeyShapeOutput) ToGetKeyKeyShapeOutputWithContext(ctx context.Context) GetKeyKeyShapeOutput { +func (o VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutput) ToVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutputWithContext(ctx context.Context) VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutput { return o } -func (o GetKeyKeyShapeOutput) ToOutput(ctx context.Context) pulumix.Output[GetKeyKeyShape] { - return pulumix.Output[GetKeyKeyShape]{ +func (o VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutput) ToOutput(ctx context.Context) pulumix.Output[VaultExternalKeyManagerMetadataSummaryOauthMetadataSummary] { + return pulumix.Output[VaultExternalKeyManagerMetadataSummaryOauthMetadataSummary]{ OutputState: o.OutputState, } } -// The algorithm used by a key's key versions to encrypt or decrypt. -func (o GetKeyKeyShapeOutput) Algorithm() pulumi.StringOutput { - return o.ApplyT(func(v GetKeyKeyShape) string { return v.Algorithm }).(pulumi.StringOutput) -} - -// Supported curve IDs for ECDSA keys. -func (o GetKeyKeyShapeOutput) CurveId() pulumi.StringOutput { - return o.ApplyT(func(v GetKeyKeyShape) string { return v.CurveId }).(pulumi.StringOutput) +// ID of the client app created in IDP. +func (o VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutput) ClientAppId() pulumi.StringPtrOutput { + return o.ApplyT(func(v VaultExternalKeyManagerMetadataSummaryOauthMetadataSummary) *string { return v.ClientAppId }).(pulumi.StringPtrOutput) } -// The length of the key in bytes, expressed as an integer. Supported values include the following: -// * AES: 16, 24, or 32 -// * RSA: 256, 384, or 512 -// * ECDSA: 32, 48, or 66 -func (o GetKeyKeyShapeOutput) Length() pulumi.IntOutput { - return o.ApplyT(func(v GetKeyKeyShape) int { return v.Length }).(pulumi.IntOutput) +// Base URL of the IDCS account where confidential client app is created. +func (o VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutput) IdcsAccountNameUrl() pulumi.StringPtrOutput { + return o.ApplyT(func(v VaultExternalKeyManagerMetadataSummaryOauthMetadataSummary) *string { + return v.IdcsAccountNameUrl + }).(pulumi.StringPtrOutput) } -type GetKeyKeyShapeArrayOutput struct{ *pulumi.OutputState } +type VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutput struct{ *pulumi.OutputState } -func (GetKeyKeyShapeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetKeyKeyShape)(nil)).Elem() +func (VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]VaultExternalKeyManagerMetadataSummaryOauthMetadataSummary)(nil)).Elem() } -func (o GetKeyKeyShapeArrayOutput) ToGetKeyKeyShapeArrayOutput() GetKeyKeyShapeArrayOutput { +func (o VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutput) ToVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutput() VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutput { return o } -func (o GetKeyKeyShapeArrayOutput) ToGetKeyKeyShapeArrayOutputWithContext(ctx context.Context) GetKeyKeyShapeArrayOutput { +func (o VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutput) ToVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutputWithContext(ctx context.Context) VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutput { return o } -func (o GetKeyKeyShapeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetKeyKeyShape] { - return pulumix.Output[[]GetKeyKeyShape]{ +func (o VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]VaultExternalKeyManagerMetadataSummaryOauthMetadataSummary] { + return pulumix.Output[[]VaultExternalKeyManagerMetadataSummaryOauthMetadataSummary]{ OutputState: o.OutputState, } } -func (o GetKeyKeyShapeArrayOutput) Index(i pulumi.IntInput) GetKeyKeyShapeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetKeyKeyShape { - return vs[0].([]GetKeyKeyShape)[vs[1].(int)] - }).(GetKeyKeyShapeOutput) +func (o VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutput) Index(i pulumi.IntInput) VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) VaultExternalKeyManagerMetadataSummaryOauthMetadataSummary { + return vs[0].([]VaultExternalKeyManagerMetadataSummaryOauthMetadataSummary)[vs[1].(int)] + }).(VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutput) } -type GetKeyReplicaDetail struct { - // ReplicationId associated with a key operation - ReplicationId string `pulumi:"replicationId"` +type VaultReplicaDetail struct { + // ReplicationId associated with a vault operation + ReplicationId *string `pulumi:"replicationId"` } -// GetKeyReplicaDetailInput is an input type that accepts GetKeyReplicaDetailArgs and GetKeyReplicaDetailOutput values. -// You can construct a concrete instance of `GetKeyReplicaDetailInput` via: +// VaultReplicaDetailInput is an input type that accepts VaultReplicaDetailArgs and VaultReplicaDetailOutput values. +// You can construct a concrete instance of `VaultReplicaDetailInput` via: // -// GetKeyReplicaDetailArgs{...} -type GetKeyReplicaDetailInput interface { +// VaultReplicaDetailArgs{...} +type VaultReplicaDetailInput interface { pulumi.Input - ToGetKeyReplicaDetailOutput() GetKeyReplicaDetailOutput - ToGetKeyReplicaDetailOutputWithContext(context.Context) GetKeyReplicaDetailOutput + ToVaultReplicaDetailOutput() VaultReplicaDetailOutput + ToVaultReplicaDetailOutputWithContext(context.Context) VaultReplicaDetailOutput } -type GetKeyReplicaDetailArgs struct { - // ReplicationId associated with a key operation - ReplicationId pulumi.StringInput `pulumi:"replicationId"` +type VaultReplicaDetailArgs struct { + // ReplicationId associated with a vault operation + ReplicationId pulumi.StringPtrInput `pulumi:"replicationId"` } -func (GetKeyReplicaDetailArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetKeyReplicaDetail)(nil)).Elem() +func (VaultReplicaDetailArgs) ElementType() reflect.Type { + return reflect.TypeOf((*VaultReplicaDetail)(nil)).Elem() } -func (i GetKeyReplicaDetailArgs) ToGetKeyReplicaDetailOutput() GetKeyReplicaDetailOutput { - return i.ToGetKeyReplicaDetailOutputWithContext(context.Background()) +func (i VaultReplicaDetailArgs) ToVaultReplicaDetailOutput() VaultReplicaDetailOutput { + return i.ToVaultReplicaDetailOutputWithContext(context.Background()) } -func (i GetKeyReplicaDetailArgs) ToGetKeyReplicaDetailOutputWithContext(ctx context.Context) GetKeyReplicaDetailOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetKeyReplicaDetailOutput) +func (i VaultReplicaDetailArgs) ToVaultReplicaDetailOutputWithContext(ctx context.Context) VaultReplicaDetailOutput { + return pulumi.ToOutputWithContext(ctx, i).(VaultReplicaDetailOutput) } -func (i GetKeyReplicaDetailArgs) ToOutput(ctx context.Context) pulumix.Output[GetKeyReplicaDetail] { - return pulumix.Output[GetKeyReplicaDetail]{ - OutputState: i.ToGetKeyReplicaDetailOutputWithContext(ctx).OutputState, +func (i VaultReplicaDetailArgs) ToOutput(ctx context.Context) pulumix.Output[VaultReplicaDetail] { + return pulumix.Output[VaultReplicaDetail]{ + OutputState: i.ToVaultReplicaDetailOutputWithContext(ctx).OutputState, } } -// GetKeyReplicaDetailArrayInput is an input type that accepts GetKeyReplicaDetailArray and GetKeyReplicaDetailArrayOutput values. -// You can construct a concrete instance of `GetKeyReplicaDetailArrayInput` via: +// VaultReplicaDetailArrayInput is an input type that accepts VaultReplicaDetailArray and VaultReplicaDetailArrayOutput values. +// You can construct a concrete instance of `VaultReplicaDetailArrayInput` via: // -// GetKeyReplicaDetailArray{ GetKeyReplicaDetailArgs{...} } -type GetKeyReplicaDetailArrayInput interface { +// VaultReplicaDetailArray{ VaultReplicaDetailArgs{...} } +type VaultReplicaDetailArrayInput interface { pulumi.Input - ToGetKeyReplicaDetailArrayOutput() GetKeyReplicaDetailArrayOutput - ToGetKeyReplicaDetailArrayOutputWithContext(context.Context) GetKeyReplicaDetailArrayOutput + ToVaultReplicaDetailArrayOutput() VaultReplicaDetailArrayOutput + ToVaultReplicaDetailArrayOutputWithContext(context.Context) VaultReplicaDetailArrayOutput } -type GetKeyReplicaDetailArray []GetKeyReplicaDetailInput +type VaultReplicaDetailArray []VaultReplicaDetailInput -func (GetKeyReplicaDetailArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetKeyReplicaDetail)(nil)).Elem() +func (VaultReplicaDetailArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]VaultReplicaDetail)(nil)).Elem() } -func (i GetKeyReplicaDetailArray) ToGetKeyReplicaDetailArrayOutput() GetKeyReplicaDetailArrayOutput { - return i.ToGetKeyReplicaDetailArrayOutputWithContext(context.Background()) +func (i VaultReplicaDetailArray) ToVaultReplicaDetailArrayOutput() VaultReplicaDetailArrayOutput { + return i.ToVaultReplicaDetailArrayOutputWithContext(context.Background()) } -func (i GetKeyReplicaDetailArray) ToGetKeyReplicaDetailArrayOutputWithContext(ctx context.Context) GetKeyReplicaDetailArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetKeyReplicaDetailArrayOutput) +func (i VaultReplicaDetailArray) ToVaultReplicaDetailArrayOutputWithContext(ctx context.Context) VaultReplicaDetailArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(VaultReplicaDetailArrayOutput) } -func (i GetKeyReplicaDetailArray) ToOutput(ctx context.Context) pulumix.Output[[]GetKeyReplicaDetail] { - return pulumix.Output[[]GetKeyReplicaDetail]{ - OutputState: i.ToGetKeyReplicaDetailArrayOutputWithContext(ctx).OutputState, +func (i VaultReplicaDetailArray) ToOutput(ctx context.Context) pulumix.Output[[]VaultReplicaDetail] { + return pulumix.Output[[]VaultReplicaDetail]{ + OutputState: i.ToVaultReplicaDetailArrayOutputWithContext(ctx).OutputState, } } -type GetKeyReplicaDetailOutput struct{ *pulumi.OutputState } +type VaultReplicaDetailOutput struct{ *pulumi.OutputState } -func (GetKeyReplicaDetailOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetKeyReplicaDetail)(nil)).Elem() +func (VaultReplicaDetailOutput) ElementType() reflect.Type { + return reflect.TypeOf((*VaultReplicaDetail)(nil)).Elem() } -func (o GetKeyReplicaDetailOutput) ToGetKeyReplicaDetailOutput() GetKeyReplicaDetailOutput { +func (o VaultReplicaDetailOutput) ToVaultReplicaDetailOutput() VaultReplicaDetailOutput { return o } -func (o GetKeyReplicaDetailOutput) ToGetKeyReplicaDetailOutputWithContext(ctx context.Context) GetKeyReplicaDetailOutput { +func (o VaultReplicaDetailOutput) ToVaultReplicaDetailOutputWithContext(ctx context.Context) VaultReplicaDetailOutput { return o } -func (o GetKeyReplicaDetailOutput) ToOutput(ctx context.Context) pulumix.Output[GetKeyReplicaDetail] { - return pulumix.Output[GetKeyReplicaDetail]{ +func (o VaultReplicaDetailOutput) ToOutput(ctx context.Context) pulumix.Output[VaultReplicaDetail] { + return pulumix.Output[VaultReplicaDetail]{ OutputState: o.OutputState, } } -// ReplicationId associated with a key operation -func (o GetKeyReplicaDetailOutput) ReplicationId() pulumi.StringOutput { - return o.ApplyT(func(v GetKeyReplicaDetail) string { return v.ReplicationId }).(pulumi.StringOutput) +// ReplicationId associated with a vault operation +func (o VaultReplicaDetailOutput) ReplicationId() pulumi.StringPtrOutput { + return o.ApplyT(func(v VaultReplicaDetail) *string { return v.ReplicationId }).(pulumi.StringPtrOutput) } -type GetKeyReplicaDetailArrayOutput struct{ *pulumi.OutputState } +type VaultReplicaDetailArrayOutput struct{ *pulumi.OutputState } -func (GetKeyReplicaDetailArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetKeyReplicaDetail)(nil)).Elem() +func (VaultReplicaDetailArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]VaultReplicaDetail)(nil)).Elem() } -func (o GetKeyReplicaDetailArrayOutput) ToGetKeyReplicaDetailArrayOutput() GetKeyReplicaDetailArrayOutput { +func (o VaultReplicaDetailArrayOutput) ToVaultReplicaDetailArrayOutput() VaultReplicaDetailArrayOutput { return o } -func (o GetKeyReplicaDetailArrayOutput) ToGetKeyReplicaDetailArrayOutputWithContext(ctx context.Context) GetKeyReplicaDetailArrayOutput { +func (o VaultReplicaDetailArrayOutput) ToVaultReplicaDetailArrayOutputWithContext(ctx context.Context) VaultReplicaDetailArrayOutput { return o } -func (o GetKeyReplicaDetailArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetKeyReplicaDetail] { - return pulumix.Output[[]GetKeyReplicaDetail]{ +func (o VaultReplicaDetailArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]VaultReplicaDetail] { + return pulumix.Output[[]VaultReplicaDetail]{ OutputState: o.OutputState, } } -func (o GetKeyReplicaDetailArrayOutput) Index(i pulumi.IntInput) GetKeyReplicaDetailOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetKeyReplicaDetail { - return vs[0].([]GetKeyReplicaDetail)[vs[1].(int)] - }).(GetKeyReplicaDetailOutput) +func (o VaultReplicaDetailArrayOutput) Index(i pulumi.IntInput) VaultReplicaDetailOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) VaultReplicaDetail { + return vs[0].([]VaultReplicaDetail)[vs[1].(int)] + }).(VaultReplicaDetailOutput) } -type GetKeyRestoreFromFile struct { - // content length of key's backup binary file +type VaultRestoreFromFile struct { + // content length of vault's backup binary file ContentLength string `pulumi:"contentLength"` - // content md5 hashed value of key's backup file - ContentMd5 string `pulumi:"contentMd5"` - // Key backup file content - RestoreKeyFromFileDetails string `pulumi:"restoreKeyFromFileDetails"` + // (Updatable) content md5 hashed value of vault's backup file + ContentMd5 *string `pulumi:"contentMd5"` + // Vault backup file content + RestoreVaultFromFileDetails string `pulumi:"restoreVaultFromFileDetails"` } -// GetKeyRestoreFromFileInput is an input type that accepts GetKeyRestoreFromFileArgs and GetKeyRestoreFromFileOutput values. -// You can construct a concrete instance of `GetKeyRestoreFromFileInput` via: +// VaultRestoreFromFileInput is an input type that accepts VaultRestoreFromFileArgs and VaultRestoreFromFileOutput values. +// You can construct a concrete instance of `VaultRestoreFromFileInput` via: // -// GetKeyRestoreFromFileArgs{...} -type GetKeyRestoreFromFileInput interface { +// VaultRestoreFromFileArgs{...} +type VaultRestoreFromFileInput interface { pulumi.Input - ToGetKeyRestoreFromFileOutput() GetKeyRestoreFromFileOutput - ToGetKeyRestoreFromFileOutputWithContext(context.Context) GetKeyRestoreFromFileOutput + ToVaultRestoreFromFileOutput() VaultRestoreFromFileOutput + ToVaultRestoreFromFileOutputWithContext(context.Context) VaultRestoreFromFileOutput } -type GetKeyRestoreFromFileArgs struct { - // content length of key's backup binary file +type VaultRestoreFromFileArgs struct { + // content length of vault's backup binary file ContentLength pulumi.StringInput `pulumi:"contentLength"` - // content md5 hashed value of key's backup file - ContentMd5 pulumi.StringInput `pulumi:"contentMd5"` - // Key backup file content - RestoreKeyFromFileDetails pulumi.StringInput `pulumi:"restoreKeyFromFileDetails"` + // (Updatable) content md5 hashed value of vault's backup file + ContentMd5 pulumi.StringPtrInput `pulumi:"contentMd5"` + // Vault backup file content + RestoreVaultFromFileDetails pulumi.StringInput `pulumi:"restoreVaultFromFileDetails"` } -func (GetKeyRestoreFromFileArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetKeyRestoreFromFile)(nil)).Elem() +func (VaultRestoreFromFileArgs) ElementType() reflect.Type { + return reflect.TypeOf((*VaultRestoreFromFile)(nil)).Elem() } -func (i GetKeyRestoreFromFileArgs) ToGetKeyRestoreFromFileOutput() GetKeyRestoreFromFileOutput { - return i.ToGetKeyRestoreFromFileOutputWithContext(context.Background()) +func (i VaultRestoreFromFileArgs) ToVaultRestoreFromFileOutput() VaultRestoreFromFileOutput { + return i.ToVaultRestoreFromFileOutputWithContext(context.Background()) } -func (i GetKeyRestoreFromFileArgs) ToGetKeyRestoreFromFileOutputWithContext(ctx context.Context) GetKeyRestoreFromFileOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetKeyRestoreFromFileOutput) +func (i VaultRestoreFromFileArgs) ToVaultRestoreFromFileOutputWithContext(ctx context.Context) VaultRestoreFromFileOutput { + return pulumi.ToOutputWithContext(ctx, i).(VaultRestoreFromFileOutput) } -func (i GetKeyRestoreFromFileArgs) ToOutput(ctx context.Context) pulumix.Output[GetKeyRestoreFromFile] { - return pulumix.Output[GetKeyRestoreFromFile]{ - OutputState: i.ToGetKeyRestoreFromFileOutputWithContext(ctx).OutputState, +func (i VaultRestoreFromFileArgs) ToOutput(ctx context.Context) pulumix.Output[VaultRestoreFromFile] { + return pulumix.Output[VaultRestoreFromFile]{ + OutputState: i.ToVaultRestoreFromFileOutputWithContext(ctx).OutputState, } } -// GetKeyRestoreFromFileArrayInput is an input type that accepts GetKeyRestoreFromFileArray and GetKeyRestoreFromFileArrayOutput values. -// You can construct a concrete instance of `GetKeyRestoreFromFileArrayInput` via: +func (i VaultRestoreFromFileArgs) ToVaultRestoreFromFilePtrOutput() VaultRestoreFromFilePtrOutput { + return i.ToVaultRestoreFromFilePtrOutputWithContext(context.Background()) +} + +func (i VaultRestoreFromFileArgs) ToVaultRestoreFromFilePtrOutputWithContext(ctx context.Context) VaultRestoreFromFilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(VaultRestoreFromFileOutput).ToVaultRestoreFromFilePtrOutputWithContext(ctx) +} + +// VaultRestoreFromFilePtrInput is an input type that accepts VaultRestoreFromFileArgs, VaultRestoreFromFilePtr and VaultRestoreFromFilePtrOutput values. +// You can construct a concrete instance of `VaultRestoreFromFilePtrInput` via: // -// GetKeyRestoreFromFileArray{ GetKeyRestoreFromFileArgs{...} } -type GetKeyRestoreFromFileArrayInput interface { +// VaultRestoreFromFileArgs{...} +// +// or: +// +// nil +type VaultRestoreFromFilePtrInput interface { pulumi.Input - ToGetKeyRestoreFromFileArrayOutput() GetKeyRestoreFromFileArrayOutput - ToGetKeyRestoreFromFileArrayOutputWithContext(context.Context) GetKeyRestoreFromFileArrayOutput + ToVaultRestoreFromFilePtrOutput() VaultRestoreFromFilePtrOutput + ToVaultRestoreFromFilePtrOutputWithContext(context.Context) VaultRestoreFromFilePtrOutput } -type GetKeyRestoreFromFileArray []GetKeyRestoreFromFileInput +type vaultRestoreFromFilePtrType VaultRestoreFromFileArgs -func (GetKeyRestoreFromFileArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetKeyRestoreFromFile)(nil)).Elem() +func VaultRestoreFromFilePtr(v *VaultRestoreFromFileArgs) VaultRestoreFromFilePtrInput { + return (*vaultRestoreFromFilePtrType)(v) } -func (i GetKeyRestoreFromFileArray) ToGetKeyRestoreFromFileArrayOutput() GetKeyRestoreFromFileArrayOutput { - return i.ToGetKeyRestoreFromFileArrayOutputWithContext(context.Background()) +func (*vaultRestoreFromFilePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**VaultRestoreFromFile)(nil)).Elem() } -func (i GetKeyRestoreFromFileArray) ToGetKeyRestoreFromFileArrayOutputWithContext(ctx context.Context) GetKeyRestoreFromFileArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetKeyRestoreFromFileArrayOutput) +func (i *vaultRestoreFromFilePtrType) ToVaultRestoreFromFilePtrOutput() VaultRestoreFromFilePtrOutput { + return i.ToVaultRestoreFromFilePtrOutputWithContext(context.Background()) } -func (i GetKeyRestoreFromFileArray) ToOutput(ctx context.Context) pulumix.Output[[]GetKeyRestoreFromFile] { - return pulumix.Output[[]GetKeyRestoreFromFile]{ - OutputState: i.ToGetKeyRestoreFromFileArrayOutputWithContext(ctx).OutputState, +func (i *vaultRestoreFromFilePtrType) ToVaultRestoreFromFilePtrOutputWithContext(ctx context.Context) VaultRestoreFromFilePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(VaultRestoreFromFilePtrOutput) +} + +func (i *vaultRestoreFromFilePtrType) ToOutput(ctx context.Context) pulumix.Output[*VaultRestoreFromFile] { + return pulumix.Output[*VaultRestoreFromFile]{ + OutputState: i.ToVaultRestoreFromFilePtrOutputWithContext(ctx).OutputState, } } -type GetKeyRestoreFromFileOutput struct{ *pulumi.OutputState } +type VaultRestoreFromFileOutput struct{ *pulumi.OutputState } -func (GetKeyRestoreFromFileOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetKeyRestoreFromFile)(nil)).Elem() +func (VaultRestoreFromFileOutput) ElementType() reflect.Type { + return reflect.TypeOf((*VaultRestoreFromFile)(nil)).Elem() } -func (o GetKeyRestoreFromFileOutput) ToGetKeyRestoreFromFileOutput() GetKeyRestoreFromFileOutput { +func (o VaultRestoreFromFileOutput) ToVaultRestoreFromFileOutput() VaultRestoreFromFileOutput { return o } -func (o GetKeyRestoreFromFileOutput) ToGetKeyRestoreFromFileOutputWithContext(ctx context.Context) GetKeyRestoreFromFileOutput { +func (o VaultRestoreFromFileOutput) ToVaultRestoreFromFileOutputWithContext(ctx context.Context) VaultRestoreFromFileOutput { return o } -func (o GetKeyRestoreFromFileOutput) ToOutput(ctx context.Context) pulumix.Output[GetKeyRestoreFromFile] { - return pulumix.Output[GetKeyRestoreFromFile]{ +func (o VaultRestoreFromFileOutput) ToVaultRestoreFromFilePtrOutput() VaultRestoreFromFilePtrOutput { + return o.ToVaultRestoreFromFilePtrOutputWithContext(context.Background()) +} + +func (o VaultRestoreFromFileOutput) ToVaultRestoreFromFilePtrOutputWithContext(ctx context.Context) VaultRestoreFromFilePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v VaultRestoreFromFile) *VaultRestoreFromFile { + return &v + }).(VaultRestoreFromFilePtrOutput) +} + +func (o VaultRestoreFromFileOutput) ToOutput(ctx context.Context) pulumix.Output[VaultRestoreFromFile] { + return pulumix.Output[VaultRestoreFromFile]{ OutputState: o.OutputState, } } -// content length of key's backup binary file -func (o GetKeyRestoreFromFileOutput) ContentLength() pulumi.StringOutput { - return o.ApplyT(func(v GetKeyRestoreFromFile) string { return v.ContentLength }).(pulumi.StringOutput) +// content length of vault's backup binary file +func (o VaultRestoreFromFileOutput) ContentLength() pulumi.StringOutput { + return o.ApplyT(func(v VaultRestoreFromFile) string { return v.ContentLength }).(pulumi.StringOutput) } -// content md5 hashed value of key's backup file -func (o GetKeyRestoreFromFileOutput) ContentMd5() pulumi.StringOutput { - return o.ApplyT(func(v GetKeyRestoreFromFile) string { return v.ContentMd5 }).(pulumi.StringOutput) +// (Updatable) content md5 hashed value of vault's backup file +func (o VaultRestoreFromFileOutput) ContentMd5() pulumi.StringPtrOutput { + return o.ApplyT(func(v VaultRestoreFromFile) *string { return v.ContentMd5 }).(pulumi.StringPtrOutput) } -// Key backup file content -func (o GetKeyRestoreFromFileOutput) RestoreKeyFromFileDetails() pulumi.StringOutput { - return o.ApplyT(func(v GetKeyRestoreFromFile) string { return v.RestoreKeyFromFileDetails }).(pulumi.StringOutput) +// Vault backup file content +func (o VaultRestoreFromFileOutput) RestoreVaultFromFileDetails() pulumi.StringOutput { + return o.ApplyT(func(v VaultRestoreFromFile) string { return v.RestoreVaultFromFileDetails }).(pulumi.StringOutput) } -type GetKeyRestoreFromFileArrayOutput struct{ *pulumi.OutputState } +type VaultRestoreFromFilePtrOutput struct{ *pulumi.OutputState } -func (GetKeyRestoreFromFileArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetKeyRestoreFromFile)(nil)).Elem() +func (VaultRestoreFromFilePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**VaultRestoreFromFile)(nil)).Elem() } -func (o GetKeyRestoreFromFileArrayOutput) ToGetKeyRestoreFromFileArrayOutput() GetKeyRestoreFromFileArrayOutput { +func (o VaultRestoreFromFilePtrOutput) ToVaultRestoreFromFilePtrOutput() VaultRestoreFromFilePtrOutput { return o } -func (o GetKeyRestoreFromFileArrayOutput) ToGetKeyRestoreFromFileArrayOutputWithContext(ctx context.Context) GetKeyRestoreFromFileArrayOutput { +func (o VaultRestoreFromFilePtrOutput) ToVaultRestoreFromFilePtrOutputWithContext(ctx context.Context) VaultRestoreFromFilePtrOutput { return o } -func (o GetKeyRestoreFromFileArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetKeyRestoreFromFile] { - return pulumix.Output[[]GetKeyRestoreFromFile]{ +func (o VaultRestoreFromFilePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VaultRestoreFromFile] { + return pulumix.Output[*VaultRestoreFromFile]{ OutputState: o.OutputState, } } -func (o GetKeyRestoreFromFileArrayOutput) Index(i pulumi.IntInput) GetKeyRestoreFromFileOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetKeyRestoreFromFile { - return vs[0].([]GetKeyRestoreFromFile)[vs[1].(int)] - }).(GetKeyRestoreFromFileOutput) +func (o VaultRestoreFromFilePtrOutput) Elem() VaultRestoreFromFileOutput { + return o.ApplyT(func(v *VaultRestoreFromFile) VaultRestoreFromFile { + if v != nil { + return *v + } + var ret VaultRestoreFromFile + return ret + }).(VaultRestoreFromFileOutput) } -type GetKeyRestoreFromObjectStore struct { - // Name of the bucket where key was backed up - Bucket string `pulumi:"bucket"` - // Type of backup to restore from. Values of "BUCKET", "PRE_AUTHENTICATED_REQUEST_URI" are supported +// content length of vault's backup binary file +func (o VaultRestoreFromFilePtrOutput) ContentLength() pulumi.StringPtrOutput { + return o.ApplyT(func(v *VaultRestoreFromFile) *string { + if v == nil { + return nil + } + return &v.ContentLength + }).(pulumi.StringPtrOutput) +} + +// (Updatable) content md5 hashed value of vault's backup file +func (o VaultRestoreFromFilePtrOutput) ContentMd5() pulumi.StringPtrOutput { + return o.ApplyT(func(v *VaultRestoreFromFile) *string { + if v == nil { + return nil + } + return v.ContentMd5 + }).(pulumi.StringPtrOutput) +} + +// Vault backup file content +func (o VaultRestoreFromFilePtrOutput) RestoreVaultFromFileDetails() pulumi.StringPtrOutput { + return o.ApplyT(func(v *VaultRestoreFromFile) *string { + if v == nil { + return nil + } + return &v.RestoreVaultFromFileDetails + }).(pulumi.StringPtrOutput) +} + +type VaultRestoreFromObjectStore struct { + // (Updatable) Name of the bucket where vault was backed up + Bucket *string `pulumi:"bucket"` + // (Updatable) Type of backup to restore from. Values of "BUCKET", "PRE_AUTHENTICATED_REQUEST_URI" are supported Destination string `pulumi:"destination"` - // Namespace of the bucket where key was backed up - Namespace string `pulumi:"namespace"` - // Object containing the backup - Object string `pulumi:"object"` - // Pre-authenticated-request-uri of the backup - Uri string `pulumi:"uri"` + // (Updatable) Namespace of the bucket where vault was backed up + Namespace *string `pulumi:"namespace"` + // (Updatable) Object containing the backup + Object *string `pulumi:"object"` + // (Updatable) Pre-authenticated-request-uri of the backup* `restoreTrigger` - (Optional) (Updatable) An optional property when flipped triggers restore from restore option provided in config file. + Uri *string `pulumi:"uri"` } -// GetKeyRestoreFromObjectStoreInput is an input type that accepts GetKeyRestoreFromObjectStoreArgs and GetKeyRestoreFromObjectStoreOutput values. -// You can construct a concrete instance of `GetKeyRestoreFromObjectStoreInput` via: +// VaultRestoreFromObjectStoreInput is an input type that accepts VaultRestoreFromObjectStoreArgs and VaultRestoreFromObjectStoreOutput values. +// You can construct a concrete instance of `VaultRestoreFromObjectStoreInput` via: // -// GetKeyRestoreFromObjectStoreArgs{...} -type GetKeyRestoreFromObjectStoreInput interface { +// VaultRestoreFromObjectStoreArgs{...} +type VaultRestoreFromObjectStoreInput interface { pulumi.Input - ToGetKeyRestoreFromObjectStoreOutput() GetKeyRestoreFromObjectStoreOutput - ToGetKeyRestoreFromObjectStoreOutputWithContext(context.Context) GetKeyRestoreFromObjectStoreOutput + ToVaultRestoreFromObjectStoreOutput() VaultRestoreFromObjectStoreOutput + ToVaultRestoreFromObjectStoreOutputWithContext(context.Context) VaultRestoreFromObjectStoreOutput } -type GetKeyRestoreFromObjectStoreArgs struct { - // Name of the bucket where key was backed up - Bucket pulumi.StringInput `pulumi:"bucket"` - // Type of backup to restore from. Values of "BUCKET", "PRE_AUTHENTICATED_REQUEST_URI" are supported +type VaultRestoreFromObjectStoreArgs struct { + // (Updatable) Name of the bucket where vault was backed up + Bucket pulumi.StringPtrInput `pulumi:"bucket"` + // (Updatable) Type of backup to restore from. Values of "BUCKET", "PRE_AUTHENTICATED_REQUEST_URI" are supported Destination pulumi.StringInput `pulumi:"destination"` - // Namespace of the bucket where key was backed up - Namespace pulumi.StringInput `pulumi:"namespace"` - // Object containing the backup - Object pulumi.StringInput `pulumi:"object"` - // Pre-authenticated-request-uri of the backup - Uri pulumi.StringInput `pulumi:"uri"` + // (Updatable) Namespace of the bucket where vault was backed up + Namespace pulumi.StringPtrInput `pulumi:"namespace"` + // (Updatable) Object containing the backup + Object pulumi.StringPtrInput `pulumi:"object"` + // (Updatable) Pre-authenticated-request-uri of the backup* `restoreTrigger` - (Optional) (Updatable) An optional property when flipped triggers restore from restore option provided in config file. + Uri pulumi.StringPtrInput `pulumi:"uri"` } -func (GetKeyRestoreFromObjectStoreArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetKeyRestoreFromObjectStore)(nil)).Elem() +func (VaultRestoreFromObjectStoreArgs) ElementType() reflect.Type { + return reflect.TypeOf((*VaultRestoreFromObjectStore)(nil)).Elem() } -func (i GetKeyRestoreFromObjectStoreArgs) ToGetKeyRestoreFromObjectStoreOutput() GetKeyRestoreFromObjectStoreOutput { - return i.ToGetKeyRestoreFromObjectStoreOutputWithContext(context.Background()) +func (i VaultRestoreFromObjectStoreArgs) ToVaultRestoreFromObjectStoreOutput() VaultRestoreFromObjectStoreOutput { + return i.ToVaultRestoreFromObjectStoreOutputWithContext(context.Background()) } -func (i GetKeyRestoreFromObjectStoreArgs) ToGetKeyRestoreFromObjectStoreOutputWithContext(ctx context.Context) GetKeyRestoreFromObjectStoreOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetKeyRestoreFromObjectStoreOutput) +func (i VaultRestoreFromObjectStoreArgs) ToVaultRestoreFromObjectStoreOutputWithContext(ctx context.Context) VaultRestoreFromObjectStoreOutput { + return pulumi.ToOutputWithContext(ctx, i).(VaultRestoreFromObjectStoreOutput) } -func (i GetKeyRestoreFromObjectStoreArgs) ToOutput(ctx context.Context) pulumix.Output[GetKeyRestoreFromObjectStore] { - return pulumix.Output[GetKeyRestoreFromObjectStore]{ - OutputState: i.ToGetKeyRestoreFromObjectStoreOutputWithContext(ctx).OutputState, +func (i VaultRestoreFromObjectStoreArgs) ToOutput(ctx context.Context) pulumix.Output[VaultRestoreFromObjectStore] { + return pulumix.Output[VaultRestoreFromObjectStore]{ + OutputState: i.ToVaultRestoreFromObjectStoreOutputWithContext(ctx).OutputState, } } -// GetKeyRestoreFromObjectStoreArrayInput is an input type that accepts GetKeyRestoreFromObjectStoreArray and GetKeyRestoreFromObjectStoreArrayOutput values. -// You can construct a concrete instance of `GetKeyRestoreFromObjectStoreArrayInput` via: +func (i VaultRestoreFromObjectStoreArgs) ToVaultRestoreFromObjectStorePtrOutput() VaultRestoreFromObjectStorePtrOutput { + return i.ToVaultRestoreFromObjectStorePtrOutputWithContext(context.Background()) +} + +func (i VaultRestoreFromObjectStoreArgs) ToVaultRestoreFromObjectStorePtrOutputWithContext(ctx context.Context) VaultRestoreFromObjectStorePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(VaultRestoreFromObjectStoreOutput).ToVaultRestoreFromObjectStorePtrOutputWithContext(ctx) +} + +// VaultRestoreFromObjectStorePtrInput is an input type that accepts VaultRestoreFromObjectStoreArgs, VaultRestoreFromObjectStorePtr and VaultRestoreFromObjectStorePtrOutput values. +// You can construct a concrete instance of `VaultRestoreFromObjectStorePtrInput` via: // -// GetKeyRestoreFromObjectStoreArray{ GetKeyRestoreFromObjectStoreArgs{...} } -type GetKeyRestoreFromObjectStoreArrayInput interface { +// VaultRestoreFromObjectStoreArgs{...} +// +// or: +// +// nil +type VaultRestoreFromObjectStorePtrInput interface { pulumi.Input - ToGetKeyRestoreFromObjectStoreArrayOutput() GetKeyRestoreFromObjectStoreArrayOutput - ToGetKeyRestoreFromObjectStoreArrayOutputWithContext(context.Context) GetKeyRestoreFromObjectStoreArrayOutput + ToVaultRestoreFromObjectStorePtrOutput() VaultRestoreFromObjectStorePtrOutput + ToVaultRestoreFromObjectStorePtrOutputWithContext(context.Context) VaultRestoreFromObjectStorePtrOutput } -type GetKeyRestoreFromObjectStoreArray []GetKeyRestoreFromObjectStoreInput +type vaultRestoreFromObjectStorePtrType VaultRestoreFromObjectStoreArgs -func (GetKeyRestoreFromObjectStoreArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetKeyRestoreFromObjectStore)(nil)).Elem() +func VaultRestoreFromObjectStorePtr(v *VaultRestoreFromObjectStoreArgs) VaultRestoreFromObjectStorePtrInput { + return (*vaultRestoreFromObjectStorePtrType)(v) } -func (i GetKeyRestoreFromObjectStoreArray) ToGetKeyRestoreFromObjectStoreArrayOutput() GetKeyRestoreFromObjectStoreArrayOutput { - return i.ToGetKeyRestoreFromObjectStoreArrayOutputWithContext(context.Background()) +func (*vaultRestoreFromObjectStorePtrType) ElementType() reflect.Type { + return reflect.TypeOf((**VaultRestoreFromObjectStore)(nil)).Elem() } -func (i GetKeyRestoreFromObjectStoreArray) ToGetKeyRestoreFromObjectStoreArrayOutputWithContext(ctx context.Context) GetKeyRestoreFromObjectStoreArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetKeyRestoreFromObjectStoreArrayOutput) +func (i *vaultRestoreFromObjectStorePtrType) ToVaultRestoreFromObjectStorePtrOutput() VaultRestoreFromObjectStorePtrOutput { + return i.ToVaultRestoreFromObjectStorePtrOutputWithContext(context.Background()) } -func (i GetKeyRestoreFromObjectStoreArray) ToOutput(ctx context.Context) pulumix.Output[[]GetKeyRestoreFromObjectStore] { - return pulumix.Output[[]GetKeyRestoreFromObjectStore]{ - OutputState: i.ToGetKeyRestoreFromObjectStoreArrayOutputWithContext(ctx).OutputState, +func (i *vaultRestoreFromObjectStorePtrType) ToVaultRestoreFromObjectStorePtrOutputWithContext(ctx context.Context) VaultRestoreFromObjectStorePtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(VaultRestoreFromObjectStorePtrOutput) +} + +func (i *vaultRestoreFromObjectStorePtrType) ToOutput(ctx context.Context) pulumix.Output[*VaultRestoreFromObjectStore] { + return pulumix.Output[*VaultRestoreFromObjectStore]{ + OutputState: i.ToVaultRestoreFromObjectStorePtrOutputWithContext(ctx).OutputState, } } -type GetKeyRestoreFromObjectStoreOutput struct{ *pulumi.OutputState } +type VaultRestoreFromObjectStoreOutput struct{ *pulumi.OutputState } -func (GetKeyRestoreFromObjectStoreOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetKeyRestoreFromObjectStore)(nil)).Elem() +func (VaultRestoreFromObjectStoreOutput) ElementType() reflect.Type { + return reflect.TypeOf((*VaultRestoreFromObjectStore)(nil)).Elem() } -func (o GetKeyRestoreFromObjectStoreOutput) ToGetKeyRestoreFromObjectStoreOutput() GetKeyRestoreFromObjectStoreOutput { +func (o VaultRestoreFromObjectStoreOutput) ToVaultRestoreFromObjectStoreOutput() VaultRestoreFromObjectStoreOutput { return o } -func (o GetKeyRestoreFromObjectStoreOutput) ToGetKeyRestoreFromObjectStoreOutputWithContext(ctx context.Context) GetKeyRestoreFromObjectStoreOutput { +func (o VaultRestoreFromObjectStoreOutput) ToVaultRestoreFromObjectStoreOutputWithContext(ctx context.Context) VaultRestoreFromObjectStoreOutput { return o } -func (o GetKeyRestoreFromObjectStoreOutput) ToOutput(ctx context.Context) pulumix.Output[GetKeyRestoreFromObjectStore] { - return pulumix.Output[GetKeyRestoreFromObjectStore]{ +func (o VaultRestoreFromObjectStoreOutput) ToVaultRestoreFromObjectStorePtrOutput() VaultRestoreFromObjectStorePtrOutput { + return o.ToVaultRestoreFromObjectStorePtrOutputWithContext(context.Background()) +} + +func (o VaultRestoreFromObjectStoreOutput) ToVaultRestoreFromObjectStorePtrOutputWithContext(ctx context.Context) VaultRestoreFromObjectStorePtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v VaultRestoreFromObjectStore) *VaultRestoreFromObjectStore { + return &v + }).(VaultRestoreFromObjectStorePtrOutput) +} + +func (o VaultRestoreFromObjectStoreOutput) ToOutput(ctx context.Context) pulumix.Output[VaultRestoreFromObjectStore] { + return pulumix.Output[VaultRestoreFromObjectStore]{ OutputState: o.OutputState, } } -// Name of the bucket where key was backed up -func (o GetKeyRestoreFromObjectStoreOutput) Bucket() pulumi.StringOutput { - return o.ApplyT(func(v GetKeyRestoreFromObjectStore) string { return v.Bucket }).(pulumi.StringOutput) +// (Updatable) Name of the bucket where vault was backed up +func (o VaultRestoreFromObjectStoreOutput) Bucket() pulumi.StringPtrOutput { + return o.ApplyT(func(v VaultRestoreFromObjectStore) *string { return v.Bucket }).(pulumi.StringPtrOutput) } -// Type of backup to restore from. Values of "BUCKET", "PRE_AUTHENTICATED_REQUEST_URI" are supported -func (o GetKeyRestoreFromObjectStoreOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetKeyRestoreFromObjectStore) string { return v.Destination }).(pulumi.StringOutput) +// (Updatable) Type of backup to restore from. Values of "BUCKET", "PRE_AUTHENTICATED_REQUEST_URI" are supported +func (o VaultRestoreFromObjectStoreOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v VaultRestoreFromObjectStore) string { return v.Destination }).(pulumi.StringOutput) } -// Namespace of the bucket where key was backed up -func (o GetKeyRestoreFromObjectStoreOutput) Namespace() pulumi.StringOutput { - return o.ApplyT(func(v GetKeyRestoreFromObjectStore) string { return v.Namespace }).(pulumi.StringOutput) +// (Updatable) Namespace of the bucket where vault was backed up +func (o VaultRestoreFromObjectStoreOutput) Namespace() pulumi.StringPtrOutput { + return o.ApplyT(func(v VaultRestoreFromObjectStore) *string { return v.Namespace }).(pulumi.StringPtrOutput) } -// Object containing the backup -func (o GetKeyRestoreFromObjectStoreOutput) Object() pulumi.StringOutput { - return o.ApplyT(func(v GetKeyRestoreFromObjectStore) string { return v.Object }).(pulumi.StringOutput) +// (Updatable) Object containing the backup +func (o VaultRestoreFromObjectStoreOutput) Object() pulumi.StringPtrOutput { + return o.ApplyT(func(v VaultRestoreFromObjectStore) *string { return v.Object }).(pulumi.StringPtrOutput) } -// Pre-authenticated-request-uri of the backup -func (o GetKeyRestoreFromObjectStoreOutput) Uri() pulumi.StringOutput { - return o.ApplyT(func(v GetKeyRestoreFromObjectStore) string { return v.Uri }).(pulumi.StringOutput) +// (Updatable) Pre-authenticated-request-uri of the backup* `restoreTrigger` - (Optional) (Updatable) An optional property when flipped triggers restore from restore option provided in config file. +func (o VaultRestoreFromObjectStoreOutput) Uri() pulumi.StringPtrOutput { + return o.ApplyT(func(v VaultRestoreFromObjectStore) *string { return v.Uri }).(pulumi.StringPtrOutput) } -type GetKeyRestoreFromObjectStoreArrayOutput struct{ *pulumi.OutputState } +type VaultRestoreFromObjectStorePtrOutput struct{ *pulumi.OutputState } -func (GetKeyRestoreFromObjectStoreArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetKeyRestoreFromObjectStore)(nil)).Elem() +func (VaultRestoreFromObjectStorePtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**VaultRestoreFromObjectStore)(nil)).Elem() } -func (o GetKeyRestoreFromObjectStoreArrayOutput) ToGetKeyRestoreFromObjectStoreArrayOutput() GetKeyRestoreFromObjectStoreArrayOutput { +func (o VaultRestoreFromObjectStorePtrOutput) ToVaultRestoreFromObjectStorePtrOutput() VaultRestoreFromObjectStorePtrOutput { return o } -func (o GetKeyRestoreFromObjectStoreArrayOutput) ToGetKeyRestoreFromObjectStoreArrayOutputWithContext(ctx context.Context) GetKeyRestoreFromObjectStoreArrayOutput { +func (o VaultRestoreFromObjectStorePtrOutput) ToVaultRestoreFromObjectStorePtrOutputWithContext(ctx context.Context) VaultRestoreFromObjectStorePtrOutput { return o } -func (o GetKeyRestoreFromObjectStoreArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetKeyRestoreFromObjectStore] { - return pulumix.Output[[]GetKeyRestoreFromObjectStore]{ +func (o VaultRestoreFromObjectStorePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*VaultRestoreFromObjectStore] { + return pulumix.Output[*VaultRestoreFromObjectStore]{ OutputState: o.OutputState, } } -func (o GetKeyRestoreFromObjectStoreArrayOutput) Index(i pulumi.IntInput) GetKeyRestoreFromObjectStoreOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetKeyRestoreFromObjectStore { - return vs[0].([]GetKeyRestoreFromObjectStore)[vs[1].(int)] - }).(GetKeyRestoreFromObjectStoreOutput) +func (o VaultRestoreFromObjectStorePtrOutput) Elem() VaultRestoreFromObjectStoreOutput { + return o.ApplyT(func(v *VaultRestoreFromObjectStore) VaultRestoreFromObjectStore { + if v != nil { + return *v + } + var ret VaultRestoreFromObjectStore + return ret + }).(VaultRestoreFromObjectStoreOutput) } -type GetKeyVersionReplicaDetail struct { - // ReplicationId associated with a key version operation - ReplicationId string `pulumi:"replicationId"` +// (Updatable) Name of the bucket where vault was backed up +func (o VaultRestoreFromObjectStorePtrOutput) Bucket() pulumi.StringPtrOutput { + return o.ApplyT(func(v *VaultRestoreFromObjectStore) *string { + if v == nil { + return nil + } + return v.Bucket + }).(pulumi.StringPtrOutput) } -// GetKeyVersionReplicaDetailInput is an input type that accepts GetKeyVersionReplicaDetailArgs and GetKeyVersionReplicaDetailOutput values. -// You can construct a concrete instance of `GetKeyVersionReplicaDetailInput` via: +// (Updatable) Type of backup to restore from. Values of "BUCKET", "PRE_AUTHENTICATED_REQUEST_URI" are supported +func (o VaultRestoreFromObjectStorePtrOutput) Destination() pulumi.StringPtrOutput { + return o.ApplyT(func(v *VaultRestoreFromObjectStore) *string { + if v == nil { + return nil + } + return &v.Destination + }).(pulumi.StringPtrOutput) +} + +// (Updatable) Namespace of the bucket where vault was backed up +func (o VaultRestoreFromObjectStorePtrOutput) Namespace() pulumi.StringPtrOutput { + return o.ApplyT(func(v *VaultRestoreFromObjectStore) *string { + if v == nil { + return nil + } + return v.Namespace + }).(pulumi.StringPtrOutput) +} + +// (Updatable) Object containing the backup +func (o VaultRestoreFromObjectStorePtrOutput) Object() pulumi.StringPtrOutput { + return o.ApplyT(func(v *VaultRestoreFromObjectStore) *string { + if v == nil { + return nil + } + return v.Object + }).(pulumi.StringPtrOutput) +} + +// (Updatable) Pre-authenticated-request-uri of the backup* `restoreTrigger` - (Optional) (Updatable) An optional property when flipped triggers restore from restore option provided in config file. +func (o VaultRestoreFromObjectStorePtrOutput) Uri() pulumi.StringPtrOutput { + return o.ApplyT(func(v *VaultRestoreFromObjectStore) *string { + if v == nil { + return nil + } + return v.Uri + }).(pulumi.StringPtrOutput) +} + +type GetEkmsPrivateEndpointsEkmsPrivateEndpoint struct { + // CABundle to validate TLS certificate of the external key manager system in PEM format + CaBundle string `pulumi:"caBundle"` + // The OCID of the compartment. + CompartmentId string `pulumi:"compartmentId"` + // Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"foo-namespace.bar-key": "value"}` + DefinedTags map[string]interface{} `pulumi:"definedTags"` + // Mutable name of the EKMS private endpoint + DisplayName string `pulumi:"displayName"` + // Private IP of the external key manager system to connect to from the EKMS private endpoint + ExternalKeyManagerIp string `pulumi:"externalKeyManagerIp"` + // Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + FreeformTags map[string]interface{} `pulumi:"freeformTags"` + // Unique identifier that is immutable + Id string `pulumi:"id"` + // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state. + LifecycleDetails string `pulumi:"lifecycleDetails"` + // The port of the external key manager system + Port int `pulumi:"port"` + // The IP address in the customer's VCN for the EKMS private endpoint. This is taken from subnet + PrivateEndpointIp string `pulumi:"privateEndpointIp"` + // The current state of the EKMS private endpoint resource. + State string `pulumi:"state"` + // Subnet Identifier + SubnetId string `pulumi:"subnetId"` + // The time the EKMS private endpoint was created. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. + TimeCreated string `pulumi:"timeCreated"` + // The time the EKMS private endpoint was updated. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. + TimeUpdated string `pulumi:"timeUpdated"` +} + +// GetEkmsPrivateEndpointsEkmsPrivateEndpointInput is an input type that accepts GetEkmsPrivateEndpointsEkmsPrivateEndpointArgs and GetEkmsPrivateEndpointsEkmsPrivateEndpointOutput values. +// You can construct a concrete instance of `GetEkmsPrivateEndpointsEkmsPrivateEndpointInput` via: // -// GetKeyVersionReplicaDetailArgs{...} -type GetKeyVersionReplicaDetailInput interface { +// GetEkmsPrivateEndpointsEkmsPrivateEndpointArgs{...} +type GetEkmsPrivateEndpointsEkmsPrivateEndpointInput interface { pulumi.Input - ToGetKeyVersionReplicaDetailOutput() GetKeyVersionReplicaDetailOutput - ToGetKeyVersionReplicaDetailOutputWithContext(context.Context) GetKeyVersionReplicaDetailOutput + ToGetEkmsPrivateEndpointsEkmsPrivateEndpointOutput() GetEkmsPrivateEndpointsEkmsPrivateEndpointOutput + ToGetEkmsPrivateEndpointsEkmsPrivateEndpointOutputWithContext(context.Context) GetEkmsPrivateEndpointsEkmsPrivateEndpointOutput } -type GetKeyVersionReplicaDetailArgs struct { - // ReplicationId associated with a key version operation - ReplicationId pulumi.StringInput `pulumi:"replicationId"` +type GetEkmsPrivateEndpointsEkmsPrivateEndpointArgs struct { + // CABundle to validate TLS certificate of the external key manager system in PEM format + CaBundle pulumi.StringInput `pulumi:"caBundle"` + // The OCID of the compartment. + CompartmentId pulumi.StringInput `pulumi:"compartmentId"` + // Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"foo-namespace.bar-key": "value"}` + DefinedTags pulumi.MapInput `pulumi:"definedTags"` + // Mutable name of the EKMS private endpoint + DisplayName pulumi.StringInput `pulumi:"displayName"` + // Private IP of the external key manager system to connect to from the EKMS private endpoint + ExternalKeyManagerIp pulumi.StringInput `pulumi:"externalKeyManagerIp"` + // Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + FreeformTags pulumi.MapInput `pulumi:"freeformTags"` + // Unique identifier that is immutable + Id pulumi.StringInput `pulumi:"id"` + // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state. + LifecycleDetails pulumi.StringInput `pulumi:"lifecycleDetails"` + // The port of the external key manager system + Port pulumi.IntInput `pulumi:"port"` + // The IP address in the customer's VCN for the EKMS private endpoint. This is taken from subnet + PrivateEndpointIp pulumi.StringInput `pulumi:"privateEndpointIp"` + // The current state of the EKMS private endpoint resource. + State pulumi.StringInput `pulumi:"state"` + // Subnet Identifier + SubnetId pulumi.StringInput `pulumi:"subnetId"` + // The time the EKMS private endpoint was created. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. + TimeCreated pulumi.StringInput `pulumi:"timeCreated"` + // The time the EKMS private endpoint was updated. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. + TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"` } -func (GetKeyVersionReplicaDetailArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetKeyVersionReplicaDetail)(nil)).Elem() +func (GetEkmsPrivateEndpointsEkmsPrivateEndpointArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetEkmsPrivateEndpointsEkmsPrivateEndpoint)(nil)).Elem() } -func (i GetKeyVersionReplicaDetailArgs) ToGetKeyVersionReplicaDetailOutput() GetKeyVersionReplicaDetailOutput { - return i.ToGetKeyVersionReplicaDetailOutputWithContext(context.Background()) +func (i GetEkmsPrivateEndpointsEkmsPrivateEndpointArgs) ToGetEkmsPrivateEndpointsEkmsPrivateEndpointOutput() GetEkmsPrivateEndpointsEkmsPrivateEndpointOutput { + return i.ToGetEkmsPrivateEndpointsEkmsPrivateEndpointOutputWithContext(context.Background()) } -func (i GetKeyVersionReplicaDetailArgs) ToGetKeyVersionReplicaDetailOutputWithContext(ctx context.Context) GetKeyVersionReplicaDetailOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetKeyVersionReplicaDetailOutput) +func (i GetEkmsPrivateEndpointsEkmsPrivateEndpointArgs) ToGetEkmsPrivateEndpointsEkmsPrivateEndpointOutputWithContext(ctx context.Context) GetEkmsPrivateEndpointsEkmsPrivateEndpointOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetEkmsPrivateEndpointsEkmsPrivateEndpointOutput) } -func (i GetKeyVersionReplicaDetailArgs) ToOutput(ctx context.Context) pulumix.Output[GetKeyVersionReplicaDetail] { - return pulumix.Output[GetKeyVersionReplicaDetail]{ - OutputState: i.ToGetKeyVersionReplicaDetailOutputWithContext(ctx).OutputState, +func (i GetEkmsPrivateEndpointsEkmsPrivateEndpointArgs) ToOutput(ctx context.Context) pulumix.Output[GetEkmsPrivateEndpointsEkmsPrivateEndpoint] { + return pulumix.Output[GetEkmsPrivateEndpointsEkmsPrivateEndpoint]{ + OutputState: i.ToGetEkmsPrivateEndpointsEkmsPrivateEndpointOutputWithContext(ctx).OutputState, } } -// GetKeyVersionReplicaDetailArrayInput is an input type that accepts GetKeyVersionReplicaDetailArray and GetKeyVersionReplicaDetailArrayOutput values. -// You can construct a concrete instance of `GetKeyVersionReplicaDetailArrayInput` via: +// GetEkmsPrivateEndpointsEkmsPrivateEndpointArrayInput is an input type that accepts GetEkmsPrivateEndpointsEkmsPrivateEndpointArray and GetEkmsPrivateEndpointsEkmsPrivateEndpointArrayOutput values. +// You can construct a concrete instance of `GetEkmsPrivateEndpointsEkmsPrivateEndpointArrayInput` via: // -// GetKeyVersionReplicaDetailArray{ GetKeyVersionReplicaDetailArgs{...} } -type GetKeyVersionReplicaDetailArrayInput interface { +// GetEkmsPrivateEndpointsEkmsPrivateEndpointArray{ GetEkmsPrivateEndpointsEkmsPrivateEndpointArgs{...} } +type GetEkmsPrivateEndpointsEkmsPrivateEndpointArrayInput interface { pulumi.Input - ToGetKeyVersionReplicaDetailArrayOutput() GetKeyVersionReplicaDetailArrayOutput - ToGetKeyVersionReplicaDetailArrayOutputWithContext(context.Context) GetKeyVersionReplicaDetailArrayOutput + ToGetEkmsPrivateEndpointsEkmsPrivateEndpointArrayOutput() GetEkmsPrivateEndpointsEkmsPrivateEndpointArrayOutput + ToGetEkmsPrivateEndpointsEkmsPrivateEndpointArrayOutputWithContext(context.Context) GetEkmsPrivateEndpointsEkmsPrivateEndpointArrayOutput } -type GetKeyVersionReplicaDetailArray []GetKeyVersionReplicaDetailInput +type GetEkmsPrivateEndpointsEkmsPrivateEndpointArray []GetEkmsPrivateEndpointsEkmsPrivateEndpointInput -func (GetKeyVersionReplicaDetailArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetKeyVersionReplicaDetail)(nil)).Elem() +func (GetEkmsPrivateEndpointsEkmsPrivateEndpointArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetEkmsPrivateEndpointsEkmsPrivateEndpoint)(nil)).Elem() } -func (i GetKeyVersionReplicaDetailArray) ToGetKeyVersionReplicaDetailArrayOutput() GetKeyVersionReplicaDetailArrayOutput { - return i.ToGetKeyVersionReplicaDetailArrayOutputWithContext(context.Background()) +func (i GetEkmsPrivateEndpointsEkmsPrivateEndpointArray) ToGetEkmsPrivateEndpointsEkmsPrivateEndpointArrayOutput() GetEkmsPrivateEndpointsEkmsPrivateEndpointArrayOutput { + return i.ToGetEkmsPrivateEndpointsEkmsPrivateEndpointArrayOutputWithContext(context.Background()) } -func (i GetKeyVersionReplicaDetailArray) ToGetKeyVersionReplicaDetailArrayOutputWithContext(ctx context.Context) GetKeyVersionReplicaDetailArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetKeyVersionReplicaDetailArrayOutput) +func (i GetEkmsPrivateEndpointsEkmsPrivateEndpointArray) ToGetEkmsPrivateEndpointsEkmsPrivateEndpointArrayOutputWithContext(ctx context.Context) GetEkmsPrivateEndpointsEkmsPrivateEndpointArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetEkmsPrivateEndpointsEkmsPrivateEndpointArrayOutput) } -func (i GetKeyVersionReplicaDetailArray) ToOutput(ctx context.Context) pulumix.Output[[]GetKeyVersionReplicaDetail] { - return pulumix.Output[[]GetKeyVersionReplicaDetail]{ - OutputState: i.ToGetKeyVersionReplicaDetailArrayOutputWithContext(ctx).OutputState, +func (i GetEkmsPrivateEndpointsEkmsPrivateEndpointArray) ToOutput(ctx context.Context) pulumix.Output[[]GetEkmsPrivateEndpointsEkmsPrivateEndpoint] { + return pulumix.Output[[]GetEkmsPrivateEndpointsEkmsPrivateEndpoint]{ + OutputState: i.ToGetEkmsPrivateEndpointsEkmsPrivateEndpointArrayOutputWithContext(ctx).OutputState, } } -type GetKeyVersionReplicaDetailOutput struct{ *pulumi.OutputState } +type GetEkmsPrivateEndpointsEkmsPrivateEndpointOutput struct{ *pulumi.OutputState } -func (GetKeyVersionReplicaDetailOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetKeyVersionReplicaDetail)(nil)).Elem() +func (GetEkmsPrivateEndpointsEkmsPrivateEndpointOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetEkmsPrivateEndpointsEkmsPrivateEndpoint)(nil)).Elem() } -func (o GetKeyVersionReplicaDetailOutput) ToGetKeyVersionReplicaDetailOutput() GetKeyVersionReplicaDetailOutput { +func (o GetEkmsPrivateEndpointsEkmsPrivateEndpointOutput) ToGetEkmsPrivateEndpointsEkmsPrivateEndpointOutput() GetEkmsPrivateEndpointsEkmsPrivateEndpointOutput { return o } -func (o GetKeyVersionReplicaDetailOutput) ToGetKeyVersionReplicaDetailOutputWithContext(ctx context.Context) GetKeyVersionReplicaDetailOutput { +func (o GetEkmsPrivateEndpointsEkmsPrivateEndpointOutput) ToGetEkmsPrivateEndpointsEkmsPrivateEndpointOutputWithContext(ctx context.Context) GetEkmsPrivateEndpointsEkmsPrivateEndpointOutput { return o } -func (o GetKeyVersionReplicaDetailOutput) ToOutput(ctx context.Context) pulumix.Output[GetKeyVersionReplicaDetail] { - return pulumix.Output[GetKeyVersionReplicaDetail]{ +func (o GetEkmsPrivateEndpointsEkmsPrivateEndpointOutput) ToOutput(ctx context.Context) pulumix.Output[GetEkmsPrivateEndpointsEkmsPrivateEndpoint] { + return pulumix.Output[GetEkmsPrivateEndpointsEkmsPrivateEndpoint]{ OutputState: o.OutputState, } } -// ReplicationId associated with a key version operation -func (o GetKeyVersionReplicaDetailOutput) ReplicationId() pulumi.StringOutput { - return o.ApplyT(func(v GetKeyVersionReplicaDetail) string { return v.ReplicationId }).(pulumi.StringOutput) +// CABundle to validate TLS certificate of the external key manager system in PEM format +func (o GetEkmsPrivateEndpointsEkmsPrivateEndpointOutput) CaBundle() pulumi.StringOutput { + return o.ApplyT(func(v GetEkmsPrivateEndpointsEkmsPrivateEndpoint) string { return v.CaBundle }).(pulumi.StringOutput) } -type GetKeyVersionReplicaDetailArrayOutput struct{ *pulumi.OutputState } +// The OCID of the compartment. +func (o GetEkmsPrivateEndpointsEkmsPrivateEndpointOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v GetEkmsPrivateEndpointsEkmsPrivateEndpoint) string { return v.CompartmentId }).(pulumi.StringOutput) +} -func (GetKeyVersionReplicaDetailArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetKeyVersionReplicaDetail)(nil)).Elem() +// Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"foo-namespace.bar-key": "value"}` +func (o GetEkmsPrivateEndpointsEkmsPrivateEndpointOutput) DefinedTags() pulumi.MapOutput { + return o.ApplyT(func(v GetEkmsPrivateEndpointsEkmsPrivateEndpoint) map[string]interface{} { return v.DefinedTags }).(pulumi.MapOutput) } -func (o GetKeyVersionReplicaDetailArrayOutput) ToGetKeyVersionReplicaDetailArrayOutput() GetKeyVersionReplicaDetailArrayOutput { +// Mutable name of the EKMS private endpoint +func (o GetEkmsPrivateEndpointsEkmsPrivateEndpointOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetEkmsPrivateEndpointsEkmsPrivateEndpoint) string { return v.DisplayName }).(pulumi.StringOutput) +} + +// Private IP of the external key manager system to connect to from the EKMS private endpoint +func (o GetEkmsPrivateEndpointsEkmsPrivateEndpointOutput) ExternalKeyManagerIp() pulumi.StringOutput { + return o.ApplyT(func(v GetEkmsPrivateEndpointsEkmsPrivateEndpoint) string { return v.ExternalKeyManagerIp }).(pulumi.StringOutput) +} + +// Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` +func (o GetEkmsPrivateEndpointsEkmsPrivateEndpointOutput) FreeformTags() pulumi.MapOutput { + return o.ApplyT(func(v GetEkmsPrivateEndpointsEkmsPrivateEndpoint) map[string]interface{} { return v.FreeformTags }).(pulumi.MapOutput) +} + +// Unique identifier that is immutable +func (o GetEkmsPrivateEndpointsEkmsPrivateEndpointOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetEkmsPrivateEndpointsEkmsPrivateEndpoint) string { return v.Id }).(pulumi.StringOutput) +} + +// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state. +func (o GetEkmsPrivateEndpointsEkmsPrivateEndpointOutput) LifecycleDetails() pulumi.StringOutput { + return o.ApplyT(func(v GetEkmsPrivateEndpointsEkmsPrivateEndpoint) string { return v.LifecycleDetails }).(pulumi.StringOutput) +} + +// The port of the external key manager system +func (o GetEkmsPrivateEndpointsEkmsPrivateEndpointOutput) Port() pulumi.IntOutput { + return o.ApplyT(func(v GetEkmsPrivateEndpointsEkmsPrivateEndpoint) int { return v.Port }).(pulumi.IntOutput) +} + +// The IP address in the customer's VCN for the EKMS private endpoint. This is taken from subnet +func (o GetEkmsPrivateEndpointsEkmsPrivateEndpointOutput) PrivateEndpointIp() pulumi.StringOutput { + return o.ApplyT(func(v GetEkmsPrivateEndpointsEkmsPrivateEndpoint) string { return v.PrivateEndpointIp }).(pulumi.StringOutput) +} + +// The current state of the EKMS private endpoint resource. +func (o GetEkmsPrivateEndpointsEkmsPrivateEndpointOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetEkmsPrivateEndpointsEkmsPrivateEndpoint) string { return v.State }).(pulumi.StringOutput) +} + +// Subnet Identifier +func (o GetEkmsPrivateEndpointsEkmsPrivateEndpointOutput) SubnetId() pulumi.StringOutput { + return o.ApplyT(func(v GetEkmsPrivateEndpointsEkmsPrivateEndpoint) string { return v.SubnetId }).(pulumi.StringOutput) +} + +// The time the EKMS private endpoint was created. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. +func (o GetEkmsPrivateEndpointsEkmsPrivateEndpointOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v GetEkmsPrivateEndpointsEkmsPrivateEndpoint) string { return v.TimeCreated }).(pulumi.StringOutput) +} + +// The time the EKMS private endpoint was updated. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. +func (o GetEkmsPrivateEndpointsEkmsPrivateEndpointOutput) TimeUpdated() pulumi.StringOutput { + return o.ApplyT(func(v GetEkmsPrivateEndpointsEkmsPrivateEndpoint) string { return v.TimeUpdated }).(pulumi.StringOutput) +} + +type GetEkmsPrivateEndpointsEkmsPrivateEndpointArrayOutput struct{ *pulumi.OutputState } + +func (GetEkmsPrivateEndpointsEkmsPrivateEndpointArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetEkmsPrivateEndpointsEkmsPrivateEndpoint)(nil)).Elem() +} + +func (o GetEkmsPrivateEndpointsEkmsPrivateEndpointArrayOutput) ToGetEkmsPrivateEndpointsEkmsPrivateEndpointArrayOutput() GetEkmsPrivateEndpointsEkmsPrivateEndpointArrayOutput { return o } -func (o GetKeyVersionReplicaDetailArrayOutput) ToGetKeyVersionReplicaDetailArrayOutputWithContext(ctx context.Context) GetKeyVersionReplicaDetailArrayOutput { +func (o GetEkmsPrivateEndpointsEkmsPrivateEndpointArrayOutput) ToGetEkmsPrivateEndpointsEkmsPrivateEndpointArrayOutputWithContext(ctx context.Context) GetEkmsPrivateEndpointsEkmsPrivateEndpointArrayOutput { return o } -func (o GetKeyVersionReplicaDetailArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetKeyVersionReplicaDetail] { - return pulumix.Output[[]GetKeyVersionReplicaDetail]{ +func (o GetEkmsPrivateEndpointsEkmsPrivateEndpointArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetEkmsPrivateEndpointsEkmsPrivateEndpoint] { + return pulumix.Output[[]GetEkmsPrivateEndpointsEkmsPrivateEndpoint]{ OutputState: o.OutputState, } } -func (o GetKeyVersionReplicaDetailArrayOutput) Index(i pulumi.IntInput) GetKeyVersionReplicaDetailOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetKeyVersionReplicaDetail { - return vs[0].([]GetKeyVersionReplicaDetail)[vs[1].(int)] - }).(GetKeyVersionReplicaDetailOutput) +func (o GetEkmsPrivateEndpointsEkmsPrivateEndpointArrayOutput) Index(i pulumi.IntInput) GetEkmsPrivateEndpointsEkmsPrivateEndpointOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetEkmsPrivateEndpointsEkmsPrivateEndpoint { + return vs[0].([]GetEkmsPrivateEndpointsEkmsPrivateEndpoint)[vs[1].(int)] + }).(GetEkmsPrivateEndpointsEkmsPrivateEndpointOutput) } -type GetKeyVersionsFilter struct { +type GetEkmsPrivateEndpointsFilter struct { Name string `pulumi:"name"` Regex *bool `pulumi:"regex"` Values []string `pulumi:"values"` } -// GetKeyVersionsFilterInput is an input type that accepts GetKeyVersionsFilterArgs and GetKeyVersionsFilterOutput values. -// You can construct a concrete instance of `GetKeyVersionsFilterInput` via: +// GetEkmsPrivateEndpointsFilterInput is an input type that accepts GetEkmsPrivateEndpointsFilterArgs and GetEkmsPrivateEndpointsFilterOutput values. +// You can construct a concrete instance of `GetEkmsPrivateEndpointsFilterInput` via: // -// GetKeyVersionsFilterArgs{...} -type GetKeyVersionsFilterInput interface { +// GetEkmsPrivateEndpointsFilterArgs{...} +type GetEkmsPrivateEndpointsFilterInput interface { pulumi.Input - ToGetKeyVersionsFilterOutput() GetKeyVersionsFilterOutput - ToGetKeyVersionsFilterOutputWithContext(context.Context) GetKeyVersionsFilterOutput + ToGetEkmsPrivateEndpointsFilterOutput() GetEkmsPrivateEndpointsFilterOutput + ToGetEkmsPrivateEndpointsFilterOutputWithContext(context.Context) GetEkmsPrivateEndpointsFilterOutput } -type GetKeyVersionsFilterArgs struct { +type GetEkmsPrivateEndpointsFilterArgs struct { Name pulumi.StringInput `pulumi:"name"` Regex pulumi.BoolPtrInput `pulumi:"regex"` Values pulumi.StringArrayInput `pulumi:"values"` } -func (GetKeyVersionsFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetKeyVersionsFilter)(nil)).Elem() +func (GetEkmsPrivateEndpointsFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetEkmsPrivateEndpointsFilter)(nil)).Elem() } -func (i GetKeyVersionsFilterArgs) ToGetKeyVersionsFilterOutput() GetKeyVersionsFilterOutput { - return i.ToGetKeyVersionsFilterOutputWithContext(context.Background()) +func (i GetEkmsPrivateEndpointsFilterArgs) ToGetEkmsPrivateEndpointsFilterOutput() GetEkmsPrivateEndpointsFilterOutput { + return i.ToGetEkmsPrivateEndpointsFilterOutputWithContext(context.Background()) } -func (i GetKeyVersionsFilterArgs) ToGetKeyVersionsFilterOutputWithContext(ctx context.Context) GetKeyVersionsFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetKeyVersionsFilterOutput) +func (i GetEkmsPrivateEndpointsFilterArgs) ToGetEkmsPrivateEndpointsFilterOutputWithContext(ctx context.Context) GetEkmsPrivateEndpointsFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetEkmsPrivateEndpointsFilterOutput) } -func (i GetKeyVersionsFilterArgs) ToOutput(ctx context.Context) pulumix.Output[GetKeyVersionsFilter] { - return pulumix.Output[GetKeyVersionsFilter]{ - OutputState: i.ToGetKeyVersionsFilterOutputWithContext(ctx).OutputState, +func (i GetEkmsPrivateEndpointsFilterArgs) ToOutput(ctx context.Context) pulumix.Output[GetEkmsPrivateEndpointsFilter] { + return pulumix.Output[GetEkmsPrivateEndpointsFilter]{ + OutputState: i.ToGetEkmsPrivateEndpointsFilterOutputWithContext(ctx).OutputState, } } -// GetKeyVersionsFilterArrayInput is an input type that accepts GetKeyVersionsFilterArray and GetKeyVersionsFilterArrayOutput values. -// You can construct a concrete instance of `GetKeyVersionsFilterArrayInput` via: +// GetEkmsPrivateEndpointsFilterArrayInput is an input type that accepts GetEkmsPrivateEndpointsFilterArray and GetEkmsPrivateEndpointsFilterArrayOutput values. +// You can construct a concrete instance of `GetEkmsPrivateEndpointsFilterArrayInput` via: // -// GetKeyVersionsFilterArray{ GetKeyVersionsFilterArgs{...} } -type GetKeyVersionsFilterArrayInput interface { +// GetEkmsPrivateEndpointsFilterArray{ GetEkmsPrivateEndpointsFilterArgs{...} } +type GetEkmsPrivateEndpointsFilterArrayInput interface { pulumi.Input - ToGetKeyVersionsFilterArrayOutput() GetKeyVersionsFilterArrayOutput - ToGetKeyVersionsFilterArrayOutputWithContext(context.Context) GetKeyVersionsFilterArrayOutput + ToGetEkmsPrivateEndpointsFilterArrayOutput() GetEkmsPrivateEndpointsFilterArrayOutput + ToGetEkmsPrivateEndpointsFilterArrayOutputWithContext(context.Context) GetEkmsPrivateEndpointsFilterArrayOutput } -type GetKeyVersionsFilterArray []GetKeyVersionsFilterInput +type GetEkmsPrivateEndpointsFilterArray []GetEkmsPrivateEndpointsFilterInput -func (GetKeyVersionsFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetKeyVersionsFilter)(nil)).Elem() +func (GetEkmsPrivateEndpointsFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetEkmsPrivateEndpointsFilter)(nil)).Elem() } -func (i GetKeyVersionsFilterArray) ToGetKeyVersionsFilterArrayOutput() GetKeyVersionsFilterArrayOutput { - return i.ToGetKeyVersionsFilterArrayOutputWithContext(context.Background()) +func (i GetEkmsPrivateEndpointsFilterArray) ToGetEkmsPrivateEndpointsFilterArrayOutput() GetEkmsPrivateEndpointsFilterArrayOutput { + return i.ToGetEkmsPrivateEndpointsFilterArrayOutputWithContext(context.Background()) } -func (i GetKeyVersionsFilterArray) ToGetKeyVersionsFilterArrayOutputWithContext(ctx context.Context) GetKeyVersionsFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetKeyVersionsFilterArrayOutput) +func (i GetEkmsPrivateEndpointsFilterArray) ToGetEkmsPrivateEndpointsFilterArrayOutputWithContext(ctx context.Context) GetEkmsPrivateEndpointsFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetEkmsPrivateEndpointsFilterArrayOutput) } -func (i GetKeyVersionsFilterArray) ToOutput(ctx context.Context) pulumix.Output[[]GetKeyVersionsFilter] { - return pulumix.Output[[]GetKeyVersionsFilter]{ - OutputState: i.ToGetKeyVersionsFilterArrayOutputWithContext(ctx).OutputState, +func (i GetEkmsPrivateEndpointsFilterArray) ToOutput(ctx context.Context) pulumix.Output[[]GetEkmsPrivateEndpointsFilter] { + return pulumix.Output[[]GetEkmsPrivateEndpointsFilter]{ + OutputState: i.ToGetEkmsPrivateEndpointsFilterArrayOutputWithContext(ctx).OutputState, } } -type GetKeyVersionsFilterOutput struct{ *pulumi.OutputState } +type GetEkmsPrivateEndpointsFilterOutput struct{ *pulumi.OutputState } -func (GetKeyVersionsFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetKeyVersionsFilter)(nil)).Elem() +func (GetEkmsPrivateEndpointsFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetEkmsPrivateEndpointsFilter)(nil)).Elem() } -func (o GetKeyVersionsFilterOutput) ToGetKeyVersionsFilterOutput() GetKeyVersionsFilterOutput { +func (o GetEkmsPrivateEndpointsFilterOutput) ToGetEkmsPrivateEndpointsFilterOutput() GetEkmsPrivateEndpointsFilterOutput { return o } -func (o GetKeyVersionsFilterOutput) ToGetKeyVersionsFilterOutputWithContext(ctx context.Context) GetKeyVersionsFilterOutput { +func (o GetEkmsPrivateEndpointsFilterOutput) ToGetEkmsPrivateEndpointsFilterOutputWithContext(ctx context.Context) GetEkmsPrivateEndpointsFilterOutput { return o } -func (o GetKeyVersionsFilterOutput) ToOutput(ctx context.Context) pulumix.Output[GetKeyVersionsFilter] { - return pulumix.Output[GetKeyVersionsFilter]{ +func (o GetEkmsPrivateEndpointsFilterOutput) ToOutput(ctx context.Context) pulumix.Output[GetEkmsPrivateEndpointsFilter] { + return pulumix.Output[GetEkmsPrivateEndpointsFilter]{ OutputState: o.OutputState, } } -func (o GetKeyVersionsFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetKeyVersionsFilter) string { return v.Name }).(pulumi.StringOutput) +func (o GetEkmsPrivateEndpointsFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetEkmsPrivateEndpointsFilter) string { return v.Name }).(pulumi.StringOutput) } -func (o GetKeyVersionsFilterOutput) Regex() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetKeyVersionsFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) +func (o GetEkmsPrivateEndpointsFilterOutput) Regex() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetEkmsPrivateEndpointsFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) } -func (o GetKeyVersionsFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetKeyVersionsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +func (o GetEkmsPrivateEndpointsFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetEkmsPrivateEndpointsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) } -type GetKeyVersionsFilterArrayOutput struct{ *pulumi.OutputState } +type GetEkmsPrivateEndpointsFilterArrayOutput struct{ *pulumi.OutputState } -func (GetKeyVersionsFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetKeyVersionsFilter)(nil)).Elem() +func (GetEkmsPrivateEndpointsFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetEkmsPrivateEndpointsFilter)(nil)).Elem() } -func (o GetKeyVersionsFilterArrayOutput) ToGetKeyVersionsFilterArrayOutput() GetKeyVersionsFilterArrayOutput { +func (o GetEkmsPrivateEndpointsFilterArrayOutput) ToGetEkmsPrivateEndpointsFilterArrayOutput() GetEkmsPrivateEndpointsFilterArrayOutput { return o } -func (o GetKeyVersionsFilterArrayOutput) ToGetKeyVersionsFilterArrayOutputWithContext(ctx context.Context) GetKeyVersionsFilterArrayOutput { +func (o GetEkmsPrivateEndpointsFilterArrayOutput) ToGetEkmsPrivateEndpointsFilterArrayOutputWithContext(ctx context.Context) GetEkmsPrivateEndpointsFilterArrayOutput { return o } -func (o GetKeyVersionsFilterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetKeyVersionsFilter] { - return pulumix.Output[[]GetKeyVersionsFilter]{ +func (o GetEkmsPrivateEndpointsFilterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetEkmsPrivateEndpointsFilter] { + return pulumix.Output[[]GetEkmsPrivateEndpointsFilter]{ OutputState: o.OutputState, } } -func (o GetKeyVersionsFilterArrayOutput) Index(i pulumi.IntInput) GetKeyVersionsFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetKeyVersionsFilter { - return vs[0].([]GetKeyVersionsFilter)[vs[1].(int)] - }).(GetKeyVersionsFilterOutput) +func (o GetEkmsPrivateEndpointsFilterArrayOutput) Index(i pulumi.IntInput) GetEkmsPrivateEndpointsFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetEkmsPrivateEndpointsFilter { + return vs[0].([]GetEkmsPrivateEndpointsFilter)[vs[1].(int)] + }).(GetEkmsPrivateEndpointsFilterOutput) } -type GetKeyVersionsKeyVersion struct { - // The OCID of the compartment that contains this key version. - CompartmentId string `pulumi:"compartmentId"` - // The OCID of the key version. - Id string `pulumi:"id"` - // A boolean that will be true when key version is primary, and will be false when key version is a replica from a primary key version. - IsPrimary bool `pulumi:"isPrimary"` - // The OCID of the key. - KeyId string `pulumi:"keyId"` - // The OCID of the key version. - KeyVersionId string `pulumi:"keyVersionId"` - // The service endpoint to perform management operations against. Management operations include 'Create,' 'Update,' 'List,' 'Get,' and 'Delete' operations. See Vault Management endpoint. - ManagementEndpoint string `pulumi:"managementEndpoint"` - // The public key in PEM format. (This value pertains only to RSA and ECDSA keys.) - PublicKey string `pulumi:"publicKey"` - // KeyVersion replica details - ReplicaDetails []GetKeyVersionsKeyVersionReplicaDetail `pulumi:"replicaDetails"` - RestoredFromKeyId string `pulumi:"restoredFromKeyId"` - // The OCID of the key version from which this key version was restored. - RestoredFromKeyVersionId string `pulumi:"restoredFromKeyVersionId"` - // The key version's current lifecycle state. Example: `ENABLED` - State string `pulumi:"state"` - // The date and time this key version was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: "2018-04-03T21:10:29.600Z" - TimeCreated string `pulumi:"timeCreated"` - // An optional property to indicate when to delete the key version, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` - TimeOfDeletion string `pulumi:"timeOfDeletion"` - // The OCID of the vault that contains this key version. - VaultId string `pulumi:"vaultId"` +type GetKeyExternalKeyReference struct { + // ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. + ExternalKeyId string `pulumi:"externalKeyId"` } -// GetKeyVersionsKeyVersionInput is an input type that accepts GetKeyVersionsKeyVersionArgs and GetKeyVersionsKeyVersionOutput values. -// You can construct a concrete instance of `GetKeyVersionsKeyVersionInput` via: +// GetKeyExternalKeyReferenceInput is an input type that accepts GetKeyExternalKeyReferenceArgs and GetKeyExternalKeyReferenceOutput values. +// You can construct a concrete instance of `GetKeyExternalKeyReferenceInput` via: // -// GetKeyVersionsKeyVersionArgs{...} -type GetKeyVersionsKeyVersionInput interface { +// GetKeyExternalKeyReferenceArgs{...} +type GetKeyExternalKeyReferenceInput interface { pulumi.Input - ToGetKeyVersionsKeyVersionOutput() GetKeyVersionsKeyVersionOutput - ToGetKeyVersionsKeyVersionOutputWithContext(context.Context) GetKeyVersionsKeyVersionOutput + ToGetKeyExternalKeyReferenceOutput() GetKeyExternalKeyReferenceOutput + ToGetKeyExternalKeyReferenceOutputWithContext(context.Context) GetKeyExternalKeyReferenceOutput } -type GetKeyVersionsKeyVersionArgs struct { - // The OCID of the compartment that contains this key version. - CompartmentId pulumi.StringInput `pulumi:"compartmentId"` - // The OCID of the key version. - Id pulumi.StringInput `pulumi:"id"` - // A boolean that will be true when key version is primary, and will be false when key version is a replica from a primary key version. - IsPrimary pulumi.BoolInput `pulumi:"isPrimary"` - // The OCID of the key. - KeyId pulumi.StringInput `pulumi:"keyId"` - // The OCID of the key version. - KeyVersionId pulumi.StringInput `pulumi:"keyVersionId"` - // The service endpoint to perform management operations against. Management operations include 'Create,' 'Update,' 'List,' 'Get,' and 'Delete' operations. See Vault Management endpoint. - ManagementEndpoint pulumi.StringInput `pulumi:"managementEndpoint"` - // The public key in PEM format. (This value pertains only to RSA and ECDSA keys.) - PublicKey pulumi.StringInput `pulumi:"publicKey"` - // KeyVersion replica details - ReplicaDetails GetKeyVersionsKeyVersionReplicaDetailArrayInput `pulumi:"replicaDetails"` - RestoredFromKeyId pulumi.StringInput `pulumi:"restoredFromKeyId"` - // The OCID of the key version from which this key version was restored. - RestoredFromKeyVersionId pulumi.StringInput `pulumi:"restoredFromKeyVersionId"` - // The key version's current lifecycle state. Example: `ENABLED` - State pulumi.StringInput `pulumi:"state"` - // The date and time this key version was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: "2018-04-03T21:10:29.600Z" - TimeCreated pulumi.StringInput `pulumi:"timeCreated"` - // An optional property to indicate when to delete the key version, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` - TimeOfDeletion pulumi.StringInput `pulumi:"timeOfDeletion"` - // The OCID of the vault that contains this key version. - VaultId pulumi.StringInput `pulumi:"vaultId"` +type GetKeyExternalKeyReferenceArgs struct { + // ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. + ExternalKeyId pulumi.StringInput `pulumi:"externalKeyId"` } -func (GetKeyVersionsKeyVersionArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetKeyVersionsKeyVersion)(nil)).Elem() +func (GetKeyExternalKeyReferenceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetKeyExternalKeyReference)(nil)).Elem() } -func (i GetKeyVersionsKeyVersionArgs) ToGetKeyVersionsKeyVersionOutput() GetKeyVersionsKeyVersionOutput { - return i.ToGetKeyVersionsKeyVersionOutputWithContext(context.Background()) +func (i GetKeyExternalKeyReferenceArgs) ToGetKeyExternalKeyReferenceOutput() GetKeyExternalKeyReferenceOutput { + return i.ToGetKeyExternalKeyReferenceOutputWithContext(context.Background()) } -func (i GetKeyVersionsKeyVersionArgs) ToGetKeyVersionsKeyVersionOutputWithContext(ctx context.Context) GetKeyVersionsKeyVersionOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetKeyVersionsKeyVersionOutput) +func (i GetKeyExternalKeyReferenceArgs) ToGetKeyExternalKeyReferenceOutputWithContext(ctx context.Context) GetKeyExternalKeyReferenceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKeyExternalKeyReferenceOutput) } -func (i GetKeyVersionsKeyVersionArgs) ToOutput(ctx context.Context) pulumix.Output[GetKeyVersionsKeyVersion] { - return pulumix.Output[GetKeyVersionsKeyVersion]{ - OutputState: i.ToGetKeyVersionsKeyVersionOutputWithContext(ctx).OutputState, +func (i GetKeyExternalKeyReferenceArgs) ToOutput(ctx context.Context) pulumix.Output[GetKeyExternalKeyReference] { + return pulumix.Output[GetKeyExternalKeyReference]{ + OutputState: i.ToGetKeyExternalKeyReferenceOutputWithContext(ctx).OutputState, } } -// GetKeyVersionsKeyVersionArrayInput is an input type that accepts GetKeyVersionsKeyVersionArray and GetKeyVersionsKeyVersionArrayOutput values. -// You can construct a concrete instance of `GetKeyVersionsKeyVersionArrayInput` via: +// GetKeyExternalKeyReferenceArrayInput is an input type that accepts GetKeyExternalKeyReferenceArray and GetKeyExternalKeyReferenceArrayOutput values. +// You can construct a concrete instance of `GetKeyExternalKeyReferenceArrayInput` via: // -// GetKeyVersionsKeyVersionArray{ GetKeyVersionsKeyVersionArgs{...} } -type GetKeyVersionsKeyVersionArrayInput interface { +// GetKeyExternalKeyReferenceArray{ GetKeyExternalKeyReferenceArgs{...} } +type GetKeyExternalKeyReferenceArrayInput interface { pulumi.Input - ToGetKeyVersionsKeyVersionArrayOutput() GetKeyVersionsKeyVersionArrayOutput - ToGetKeyVersionsKeyVersionArrayOutputWithContext(context.Context) GetKeyVersionsKeyVersionArrayOutput + ToGetKeyExternalKeyReferenceArrayOutput() GetKeyExternalKeyReferenceArrayOutput + ToGetKeyExternalKeyReferenceArrayOutputWithContext(context.Context) GetKeyExternalKeyReferenceArrayOutput } -type GetKeyVersionsKeyVersionArray []GetKeyVersionsKeyVersionInput +type GetKeyExternalKeyReferenceArray []GetKeyExternalKeyReferenceInput -func (GetKeyVersionsKeyVersionArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetKeyVersionsKeyVersion)(nil)).Elem() +func (GetKeyExternalKeyReferenceArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetKeyExternalKeyReference)(nil)).Elem() } -func (i GetKeyVersionsKeyVersionArray) ToGetKeyVersionsKeyVersionArrayOutput() GetKeyVersionsKeyVersionArrayOutput { - return i.ToGetKeyVersionsKeyVersionArrayOutputWithContext(context.Background()) +func (i GetKeyExternalKeyReferenceArray) ToGetKeyExternalKeyReferenceArrayOutput() GetKeyExternalKeyReferenceArrayOutput { + return i.ToGetKeyExternalKeyReferenceArrayOutputWithContext(context.Background()) } -func (i GetKeyVersionsKeyVersionArray) ToGetKeyVersionsKeyVersionArrayOutputWithContext(ctx context.Context) GetKeyVersionsKeyVersionArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetKeyVersionsKeyVersionArrayOutput) +func (i GetKeyExternalKeyReferenceArray) ToGetKeyExternalKeyReferenceArrayOutputWithContext(ctx context.Context) GetKeyExternalKeyReferenceArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKeyExternalKeyReferenceArrayOutput) } -func (i GetKeyVersionsKeyVersionArray) ToOutput(ctx context.Context) pulumix.Output[[]GetKeyVersionsKeyVersion] { - return pulumix.Output[[]GetKeyVersionsKeyVersion]{ - OutputState: i.ToGetKeyVersionsKeyVersionArrayOutputWithContext(ctx).OutputState, +func (i GetKeyExternalKeyReferenceArray) ToOutput(ctx context.Context) pulumix.Output[[]GetKeyExternalKeyReference] { + return pulumix.Output[[]GetKeyExternalKeyReference]{ + OutputState: i.ToGetKeyExternalKeyReferenceArrayOutputWithContext(ctx).OutputState, } } -type GetKeyVersionsKeyVersionOutput struct{ *pulumi.OutputState } +type GetKeyExternalKeyReferenceOutput struct{ *pulumi.OutputState } -func (GetKeyVersionsKeyVersionOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetKeyVersionsKeyVersion)(nil)).Elem() +func (GetKeyExternalKeyReferenceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetKeyExternalKeyReference)(nil)).Elem() } -func (o GetKeyVersionsKeyVersionOutput) ToGetKeyVersionsKeyVersionOutput() GetKeyVersionsKeyVersionOutput { +func (o GetKeyExternalKeyReferenceOutput) ToGetKeyExternalKeyReferenceOutput() GetKeyExternalKeyReferenceOutput { return o } -func (o GetKeyVersionsKeyVersionOutput) ToGetKeyVersionsKeyVersionOutputWithContext(ctx context.Context) GetKeyVersionsKeyVersionOutput { +func (o GetKeyExternalKeyReferenceOutput) ToGetKeyExternalKeyReferenceOutputWithContext(ctx context.Context) GetKeyExternalKeyReferenceOutput { return o } -func (o GetKeyVersionsKeyVersionOutput) ToOutput(ctx context.Context) pulumix.Output[GetKeyVersionsKeyVersion] { - return pulumix.Output[GetKeyVersionsKeyVersion]{ +func (o GetKeyExternalKeyReferenceOutput) ToOutput(ctx context.Context) pulumix.Output[GetKeyExternalKeyReference] { + return pulumix.Output[GetKeyExternalKeyReference]{ + OutputState: o.OutputState, + } +} + +// ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. +func (o GetKeyExternalKeyReferenceOutput) ExternalKeyId() pulumi.StringOutput { + return o.ApplyT(func(v GetKeyExternalKeyReference) string { return v.ExternalKeyId }).(pulumi.StringOutput) +} + +type GetKeyExternalKeyReferenceArrayOutput struct{ *pulumi.OutputState } + +func (GetKeyExternalKeyReferenceArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetKeyExternalKeyReference)(nil)).Elem() +} + +func (o GetKeyExternalKeyReferenceArrayOutput) ToGetKeyExternalKeyReferenceArrayOutput() GetKeyExternalKeyReferenceArrayOutput { + return o +} + +func (o GetKeyExternalKeyReferenceArrayOutput) ToGetKeyExternalKeyReferenceArrayOutputWithContext(ctx context.Context) GetKeyExternalKeyReferenceArrayOutput { + return o +} + +func (o GetKeyExternalKeyReferenceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetKeyExternalKeyReference] { + return pulumix.Output[[]GetKeyExternalKeyReference]{ OutputState: o.OutputState, } } -// The OCID of the compartment that contains this key version. -func (o GetKeyVersionsKeyVersionOutput) CompartmentId() pulumi.StringOutput { - return o.ApplyT(func(v GetKeyVersionsKeyVersion) string { return v.CompartmentId }).(pulumi.StringOutput) +func (o GetKeyExternalKeyReferenceArrayOutput) Index(i pulumi.IntInput) GetKeyExternalKeyReferenceOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetKeyExternalKeyReference { + return vs[0].([]GetKeyExternalKeyReference)[vs[1].(int)] + }).(GetKeyExternalKeyReferenceOutput) +} + +type GetKeyExternalKeyReferenceDetail struct { + // ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. + ExternalKeyId string `pulumi:"externalKeyId"` + // Key version ID associated with the external key. + ExternalKeyVersionId string `pulumi:"externalKeyVersionId"` +} + +// GetKeyExternalKeyReferenceDetailInput is an input type that accepts GetKeyExternalKeyReferenceDetailArgs and GetKeyExternalKeyReferenceDetailOutput values. +// You can construct a concrete instance of `GetKeyExternalKeyReferenceDetailInput` via: +// +// GetKeyExternalKeyReferenceDetailArgs{...} +type GetKeyExternalKeyReferenceDetailInput interface { + pulumi.Input + + ToGetKeyExternalKeyReferenceDetailOutput() GetKeyExternalKeyReferenceDetailOutput + ToGetKeyExternalKeyReferenceDetailOutputWithContext(context.Context) GetKeyExternalKeyReferenceDetailOutput +} + +type GetKeyExternalKeyReferenceDetailArgs struct { + // ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. + ExternalKeyId pulumi.StringInput `pulumi:"externalKeyId"` + // Key version ID associated with the external key. + ExternalKeyVersionId pulumi.StringInput `pulumi:"externalKeyVersionId"` +} + +func (GetKeyExternalKeyReferenceDetailArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetKeyExternalKeyReferenceDetail)(nil)).Elem() +} + +func (i GetKeyExternalKeyReferenceDetailArgs) ToGetKeyExternalKeyReferenceDetailOutput() GetKeyExternalKeyReferenceDetailOutput { + return i.ToGetKeyExternalKeyReferenceDetailOutputWithContext(context.Background()) +} + +func (i GetKeyExternalKeyReferenceDetailArgs) ToGetKeyExternalKeyReferenceDetailOutputWithContext(ctx context.Context) GetKeyExternalKeyReferenceDetailOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKeyExternalKeyReferenceDetailOutput) +} + +func (i GetKeyExternalKeyReferenceDetailArgs) ToOutput(ctx context.Context) pulumix.Output[GetKeyExternalKeyReferenceDetail] { + return pulumix.Output[GetKeyExternalKeyReferenceDetail]{ + OutputState: i.ToGetKeyExternalKeyReferenceDetailOutputWithContext(ctx).OutputState, + } +} + +// GetKeyExternalKeyReferenceDetailArrayInput is an input type that accepts GetKeyExternalKeyReferenceDetailArray and GetKeyExternalKeyReferenceDetailArrayOutput values. +// You can construct a concrete instance of `GetKeyExternalKeyReferenceDetailArrayInput` via: +// +// GetKeyExternalKeyReferenceDetailArray{ GetKeyExternalKeyReferenceDetailArgs{...} } +type GetKeyExternalKeyReferenceDetailArrayInput interface { + pulumi.Input + + ToGetKeyExternalKeyReferenceDetailArrayOutput() GetKeyExternalKeyReferenceDetailArrayOutput + ToGetKeyExternalKeyReferenceDetailArrayOutputWithContext(context.Context) GetKeyExternalKeyReferenceDetailArrayOutput +} + +type GetKeyExternalKeyReferenceDetailArray []GetKeyExternalKeyReferenceDetailInput + +func (GetKeyExternalKeyReferenceDetailArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetKeyExternalKeyReferenceDetail)(nil)).Elem() +} + +func (i GetKeyExternalKeyReferenceDetailArray) ToGetKeyExternalKeyReferenceDetailArrayOutput() GetKeyExternalKeyReferenceDetailArrayOutput { + return i.ToGetKeyExternalKeyReferenceDetailArrayOutputWithContext(context.Background()) +} + +func (i GetKeyExternalKeyReferenceDetailArray) ToGetKeyExternalKeyReferenceDetailArrayOutputWithContext(ctx context.Context) GetKeyExternalKeyReferenceDetailArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKeyExternalKeyReferenceDetailArrayOutput) +} + +func (i GetKeyExternalKeyReferenceDetailArray) ToOutput(ctx context.Context) pulumix.Output[[]GetKeyExternalKeyReferenceDetail] { + return pulumix.Output[[]GetKeyExternalKeyReferenceDetail]{ + OutputState: i.ToGetKeyExternalKeyReferenceDetailArrayOutputWithContext(ctx).OutputState, + } +} + +type GetKeyExternalKeyReferenceDetailOutput struct{ *pulumi.OutputState } + +func (GetKeyExternalKeyReferenceDetailOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetKeyExternalKeyReferenceDetail)(nil)).Elem() +} + +func (o GetKeyExternalKeyReferenceDetailOutput) ToGetKeyExternalKeyReferenceDetailOutput() GetKeyExternalKeyReferenceDetailOutput { + return o +} + +func (o GetKeyExternalKeyReferenceDetailOutput) ToGetKeyExternalKeyReferenceDetailOutputWithContext(ctx context.Context) GetKeyExternalKeyReferenceDetailOutput { + return o +} + +func (o GetKeyExternalKeyReferenceDetailOutput) ToOutput(ctx context.Context) pulumix.Output[GetKeyExternalKeyReferenceDetail] { + return pulumix.Output[GetKeyExternalKeyReferenceDetail]{ + OutputState: o.OutputState, + } +} + +// ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. +func (o GetKeyExternalKeyReferenceDetailOutput) ExternalKeyId() pulumi.StringOutput { + return o.ApplyT(func(v GetKeyExternalKeyReferenceDetail) string { return v.ExternalKeyId }).(pulumi.StringOutput) +} + +// Key version ID associated with the external key. +func (o GetKeyExternalKeyReferenceDetailOutput) ExternalKeyVersionId() pulumi.StringOutput { + return o.ApplyT(func(v GetKeyExternalKeyReferenceDetail) string { return v.ExternalKeyVersionId }).(pulumi.StringOutput) +} + +type GetKeyExternalKeyReferenceDetailArrayOutput struct{ *pulumi.OutputState } + +func (GetKeyExternalKeyReferenceDetailArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetKeyExternalKeyReferenceDetail)(nil)).Elem() +} + +func (o GetKeyExternalKeyReferenceDetailArrayOutput) ToGetKeyExternalKeyReferenceDetailArrayOutput() GetKeyExternalKeyReferenceDetailArrayOutput { + return o +} + +func (o GetKeyExternalKeyReferenceDetailArrayOutput) ToGetKeyExternalKeyReferenceDetailArrayOutputWithContext(ctx context.Context) GetKeyExternalKeyReferenceDetailArrayOutput { + return o +} + +func (o GetKeyExternalKeyReferenceDetailArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetKeyExternalKeyReferenceDetail] { + return pulumix.Output[[]GetKeyExternalKeyReferenceDetail]{ + OutputState: o.OutputState, + } +} + +func (o GetKeyExternalKeyReferenceDetailArrayOutput) Index(i pulumi.IntInput) GetKeyExternalKeyReferenceDetailOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetKeyExternalKeyReferenceDetail { + return vs[0].([]GetKeyExternalKeyReferenceDetail)[vs[1].(int)] + }).(GetKeyExternalKeyReferenceDetailOutput) +} + +type GetKeyKeyShape struct { + // The algorithm used by a key's key versions to encrypt or decrypt. Only AES algorithm is supported for `External` keys. + Algorithm string `pulumi:"algorithm"` + // Supported curve IDs for ECDSA keys. + CurveId string `pulumi:"curveId"` + // The length of the key in bytes, expressed as an integer. Supported values include the following: + // * AES: 16, 24, or 32 + // * RSA: 256, 384, or 512 + // * ECDSA: 32, 48, or 66 + Length int `pulumi:"length"` +} + +// GetKeyKeyShapeInput is an input type that accepts GetKeyKeyShapeArgs and GetKeyKeyShapeOutput values. +// You can construct a concrete instance of `GetKeyKeyShapeInput` via: +// +// GetKeyKeyShapeArgs{...} +type GetKeyKeyShapeInput interface { + pulumi.Input + + ToGetKeyKeyShapeOutput() GetKeyKeyShapeOutput + ToGetKeyKeyShapeOutputWithContext(context.Context) GetKeyKeyShapeOutput +} + +type GetKeyKeyShapeArgs struct { + // The algorithm used by a key's key versions to encrypt or decrypt. Only AES algorithm is supported for `External` keys. + Algorithm pulumi.StringInput `pulumi:"algorithm"` + // Supported curve IDs for ECDSA keys. + CurveId pulumi.StringInput `pulumi:"curveId"` + // The length of the key in bytes, expressed as an integer. Supported values include the following: + // * AES: 16, 24, or 32 + // * RSA: 256, 384, or 512 + // * ECDSA: 32, 48, or 66 + Length pulumi.IntInput `pulumi:"length"` +} + +func (GetKeyKeyShapeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetKeyKeyShape)(nil)).Elem() +} + +func (i GetKeyKeyShapeArgs) ToGetKeyKeyShapeOutput() GetKeyKeyShapeOutput { + return i.ToGetKeyKeyShapeOutputWithContext(context.Background()) +} + +func (i GetKeyKeyShapeArgs) ToGetKeyKeyShapeOutputWithContext(ctx context.Context) GetKeyKeyShapeOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKeyKeyShapeOutput) +} + +func (i GetKeyKeyShapeArgs) ToOutput(ctx context.Context) pulumix.Output[GetKeyKeyShape] { + return pulumix.Output[GetKeyKeyShape]{ + OutputState: i.ToGetKeyKeyShapeOutputWithContext(ctx).OutputState, + } +} + +// GetKeyKeyShapeArrayInput is an input type that accepts GetKeyKeyShapeArray and GetKeyKeyShapeArrayOutput values. +// You can construct a concrete instance of `GetKeyKeyShapeArrayInput` via: +// +// GetKeyKeyShapeArray{ GetKeyKeyShapeArgs{...} } +type GetKeyKeyShapeArrayInput interface { + pulumi.Input + + ToGetKeyKeyShapeArrayOutput() GetKeyKeyShapeArrayOutput + ToGetKeyKeyShapeArrayOutputWithContext(context.Context) GetKeyKeyShapeArrayOutput +} + +type GetKeyKeyShapeArray []GetKeyKeyShapeInput + +func (GetKeyKeyShapeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetKeyKeyShape)(nil)).Elem() +} + +func (i GetKeyKeyShapeArray) ToGetKeyKeyShapeArrayOutput() GetKeyKeyShapeArrayOutput { + return i.ToGetKeyKeyShapeArrayOutputWithContext(context.Background()) +} + +func (i GetKeyKeyShapeArray) ToGetKeyKeyShapeArrayOutputWithContext(ctx context.Context) GetKeyKeyShapeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKeyKeyShapeArrayOutput) +} + +func (i GetKeyKeyShapeArray) ToOutput(ctx context.Context) pulumix.Output[[]GetKeyKeyShape] { + return pulumix.Output[[]GetKeyKeyShape]{ + OutputState: i.ToGetKeyKeyShapeArrayOutputWithContext(ctx).OutputState, + } +} + +type GetKeyKeyShapeOutput struct{ *pulumi.OutputState } + +func (GetKeyKeyShapeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetKeyKeyShape)(nil)).Elem() +} + +func (o GetKeyKeyShapeOutput) ToGetKeyKeyShapeOutput() GetKeyKeyShapeOutput { + return o +} + +func (o GetKeyKeyShapeOutput) ToGetKeyKeyShapeOutputWithContext(ctx context.Context) GetKeyKeyShapeOutput { + return o +} + +func (o GetKeyKeyShapeOutput) ToOutput(ctx context.Context) pulumix.Output[GetKeyKeyShape] { + return pulumix.Output[GetKeyKeyShape]{ + OutputState: o.OutputState, + } +} + +// The algorithm used by a key's key versions to encrypt or decrypt. Only AES algorithm is supported for `External` keys. +func (o GetKeyKeyShapeOutput) Algorithm() pulumi.StringOutput { + return o.ApplyT(func(v GetKeyKeyShape) string { return v.Algorithm }).(pulumi.StringOutput) +} + +// Supported curve IDs for ECDSA keys. +func (o GetKeyKeyShapeOutput) CurveId() pulumi.StringOutput { + return o.ApplyT(func(v GetKeyKeyShape) string { return v.CurveId }).(pulumi.StringOutput) +} + +// The length of the key in bytes, expressed as an integer. Supported values include the following: +// * AES: 16, 24, or 32 +// * RSA: 256, 384, or 512 +// * ECDSA: 32, 48, or 66 +func (o GetKeyKeyShapeOutput) Length() pulumi.IntOutput { + return o.ApplyT(func(v GetKeyKeyShape) int { return v.Length }).(pulumi.IntOutput) +} + +type GetKeyKeyShapeArrayOutput struct{ *pulumi.OutputState } + +func (GetKeyKeyShapeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetKeyKeyShape)(nil)).Elem() +} + +func (o GetKeyKeyShapeArrayOutput) ToGetKeyKeyShapeArrayOutput() GetKeyKeyShapeArrayOutput { + return o +} + +func (o GetKeyKeyShapeArrayOutput) ToGetKeyKeyShapeArrayOutputWithContext(ctx context.Context) GetKeyKeyShapeArrayOutput { + return o +} + +func (o GetKeyKeyShapeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetKeyKeyShape] { + return pulumix.Output[[]GetKeyKeyShape]{ + OutputState: o.OutputState, + } +} + +func (o GetKeyKeyShapeArrayOutput) Index(i pulumi.IntInput) GetKeyKeyShapeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetKeyKeyShape { + return vs[0].([]GetKeyKeyShape)[vs[1].(int)] + }).(GetKeyKeyShapeOutput) +} + +type GetKeyReplicaDetail struct { + // ReplicationId associated with a key operation + ReplicationId string `pulumi:"replicationId"` +} + +// GetKeyReplicaDetailInput is an input type that accepts GetKeyReplicaDetailArgs and GetKeyReplicaDetailOutput values. +// You can construct a concrete instance of `GetKeyReplicaDetailInput` via: +// +// GetKeyReplicaDetailArgs{...} +type GetKeyReplicaDetailInput interface { + pulumi.Input + + ToGetKeyReplicaDetailOutput() GetKeyReplicaDetailOutput + ToGetKeyReplicaDetailOutputWithContext(context.Context) GetKeyReplicaDetailOutput +} + +type GetKeyReplicaDetailArgs struct { + // ReplicationId associated with a key operation + ReplicationId pulumi.StringInput `pulumi:"replicationId"` +} + +func (GetKeyReplicaDetailArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetKeyReplicaDetail)(nil)).Elem() +} + +func (i GetKeyReplicaDetailArgs) ToGetKeyReplicaDetailOutput() GetKeyReplicaDetailOutput { + return i.ToGetKeyReplicaDetailOutputWithContext(context.Background()) +} + +func (i GetKeyReplicaDetailArgs) ToGetKeyReplicaDetailOutputWithContext(ctx context.Context) GetKeyReplicaDetailOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKeyReplicaDetailOutput) +} + +func (i GetKeyReplicaDetailArgs) ToOutput(ctx context.Context) pulumix.Output[GetKeyReplicaDetail] { + return pulumix.Output[GetKeyReplicaDetail]{ + OutputState: i.ToGetKeyReplicaDetailOutputWithContext(ctx).OutputState, + } +} + +// GetKeyReplicaDetailArrayInput is an input type that accepts GetKeyReplicaDetailArray and GetKeyReplicaDetailArrayOutput values. +// You can construct a concrete instance of `GetKeyReplicaDetailArrayInput` via: +// +// GetKeyReplicaDetailArray{ GetKeyReplicaDetailArgs{...} } +type GetKeyReplicaDetailArrayInput interface { + pulumi.Input + + ToGetKeyReplicaDetailArrayOutput() GetKeyReplicaDetailArrayOutput + ToGetKeyReplicaDetailArrayOutputWithContext(context.Context) GetKeyReplicaDetailArrayOutput +} + +type GetKeyReplicaDetailArray []GetKeyReplicaDetailInput + +func (GetKeyReplicaDetailArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetKeyReplicaDetail)(nil)).Elem() +} + +func (i GetKeyReplicaDetailArray) ToGetKeyReplicaDetailArrayOutput() GetKeyReplicaDetailArrayOutput { + return i.ToGetKeyReplicaDetailArrayOutputWithContext(context.Background()) +} + +func (i GetKeyReplicaDetailArray) ToGetKeyReplicaDetailArrayOutputWithContext(ctx context.Context) GetKeyReplicaDetailArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKeyReplicaDetailArrayOutput) +} + +func (i GetKeyReplicaDetailArray) ToOutput(ctx context.Context) pulumix.Output[[]GetKeyReplicaDetail] { + return pulumix.Output[[]GetKeyReplicaDetail]{ + OutputState: i.ToGetKeyReplicaDetailArrayOutputWithContext(ctx).OutputState, + } +} + +type GetKeyReplicaDetailOutput struct{ *pulumi.OutputState } + +func (GetKeyReplicaDetailOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetKeyReplicaDetail)(nil)).Elem() +} + +func (o GetKeyReplicaDetailOutput) ToGetKeyReplicaDetailOutput() GetKeyReplicaDetailOutput { + return o +} + +func (o GetKeyReplicaDetailOutput) ToGetKeyReplicaDetailOutputWithContext(ctx context.Context) GetKeyReplicaDetailOutput { + return o +} + +func (o GetKeyReplicaDetailOutput) ToOutput(ctx context.Context) pulumix.Output[GetKeyReplicaDetail] { + return pulumix.Output[GetKeyReplicaDetail]{ + OutputState: o.OutputState, + } +} + +// ReplicationId associated with a key operation +func (o GetKeyReplicaDetailOutput) ReplicationId() pulumi.StringOutput { + return o.ApplyT(func(v GetKeyReplicaDetail) string { return v.ReplicationId }).(pulumi.StringOutput) +} + +type GetKeyReplicaDetailArrayOutput struct{ *pulumi.OutputState } + +func (GetKeyReplicaDetailArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetKeyReplicaDetail)(nil)).Elem() +} + +func (o GetKeyReplicaDetailArrayOutput) ToGetKeyReplicaDetailArrayOutput() GetKeyReplicaDetailArrayOutput { + return o +} + +func (o GetKeyReplicaDetailArrayOutput) ToGetKeyReplicaDetailArrayOutputWithContext(ctx context.Context) GetKeyReplicaDetailArrayOutput { + return o +} + +func (o GetKeyReplicaDetailArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetKeyReplicaDetail] { + return pulumix.Output[[]GetKeyReplicaDetail]{ + OutputState: o.OutputState, + } +} + +func (o GetKeyReplicaDetailArrayOutput) Index(i pulumi.IntInput) GetKeyReplicaDetailOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetKeyReplicaDetail { + return vs[0].([]GetKeyReplicaDetail)[vs[1].(int)] + }).(GetKeyReplicaDetailOutput) +} + +type GetKeyRestoreFromFile struct { + // content length of key's backup binary file + ContentLength string `pulumi:"contentLength"` + // content md5 hashed value of key's backup file + ContentMd5 string `pulumi:"contentMd5"` + // Key backup file content + RestoreKeyFromFileDetails string `pulumi:"restoreKeyFromFileDetails"` +} + +// GetKeyRestoreFromFileInput is an input type that accepts GetKeyRestoreFromFileArgs and GetKeyRestoreFromFileOutput values. +// You can construct a concrete instance of `GetKeyRestoreFromFileInput` via: +// +// GetKeyRestoreFromFileArgs{...} +type GetKeyRestoreFromFileInput interface { + pulumi.Input + + ToGetKeyRestoreFromFileOutput() GetKeyRestoreFromFileOutput + ToGetKeyRestoreFromFileOutputWithContext(context.Context) GetKeyRestoreFromFileOutput +} + +type GetKeyRestoreFromFileArgs struct { + // content length of key's backup binary file + ContentLength pulumi.StringInput `pulumi:"contentLength"` + // content md5 hashed value of key's backup file + ContentMd5 pulumi.StringInput `pulumi:"contentMd5"` + // Key backup file content + RestoreKeyFromFileDetails pulumi.StringInput `pulumi:"restoreKeyFromFileDetails"` +} + +func (GetKeyRestoreFromFileArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetKeyRestoreFromFile)(nil)).Elem() +} + +func (i GetKeyRestoreFromFileArgs) ToGetKeyRestoreFromFileOutput() GetKeyRestoreFromFileOutput { + return i.ToGetKeyRestoreFromFileOutputWithContext(context.Background()) +} + +func (i GetKeyRestoreFromFileArgs) ToGetKeyRestoreFromFileOutputWithContext(ctx context.Context) GetKeyRestoreFromFileOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKeyRestoreFromFileOutput) +} + +func (i GetKeyRestoreFromFileArgs) ToOutput(ctx context.Context) pulumix.Output[GetKeyRestoreFromFile] { + return pulumix.Output[GetKeyRestoreFromFile]{ + OutputState: i.ToGetKeyRestoreFromFileOutputWithContext(ctx).OutputState, + } +} + +// GetKeyRestoreFromFileArrayInput is an input type that accepts GetKeyRestoreFromFileArray and GetKeyRestoreFromFileArrayOutput values. +// You can construct a concrete instance of `GetKeyRestoreFromFileArrayInput` via: +// +// GetKeyRestoreFromFileArray{ GetKeyRestoreFromFileArgs{...} } +type GetKeyRestoreFromFileArrayInput interface { + pulumi.Input + + ToGetKeyRestoreFromFileArrayOutput() GetKeyRestoreFromFileArrayOutput + ToGetKeyRestoreFromFileArrayOutputWithContext(context.Context) GetKeyRestoreFromFileArrayOutput +} + +type GetKeyRestoreFromFileArray []GetKeyRestoreFromFileInput + +func (GetKeyRestoreFromFileArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetKeyRestoreFromFile)(nil)).Elem() +} + +func (i GetKeyRestoreFromFileArray) ToGetKeyRestoreFromFileArrayOutput() GetKeyRestoreFromFileArrayOutput { + return i.ToGetKeyRestoreFromFileArrayOutputWithContext(context.Background()) +} + +func (i GetKeyRestoreFromFileArray) ToGetKeyRestoreFromFileArrayOutputWithContext(ctx context.Context) GetKeyRestoreFromFileArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKeyRestoreFromFileArrayOutput) +} + +func (i GetKeyRestoreFromFileArray) ToOutput(ctx context.Context) pulumix.Output[[]GetKeyRestoreFromFile] { + return pulumix.Output[[]GetKeyRestoreFromFile]{ + OutputState: i.ToGetKeyRestoreFromFileArrayOutputWithContext(ctx).OutputState, + } +} + +type GetKeyRestoreFromFileOutput struct{ *pulumi.OutputState } + +func (GetKeyRestoreFromFileOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetKeyRestoreFromFile)(nil)).Elem() +} + +func (o GetKeyRestoreFromFileOutput) ToGetKeyRestoreFromFileOutput() GetKeyRestoreFromFileOutput { + return o +} + +func (o GetKeyRestoreFromFileOutput) ToGetKeyRestoreFromFileOutputWithContext(ctx context.Context) GetKeyRestoreFromFileOutput { + return o +} + +func (o GetKeyRestoreFromFileOutput) ToOutput(ctx context.Context) pulumix.Output[GetKeyRestoreFromFile] { + return pulumix.Output[GetKeyRestoreFromFile]{ + OutputState: o.OutputState, + } +} + +// content length of key's backup binary file +func (o GetKeyRestoreFromFileOutput) ContentLength() pulumi.StringOutput { + return o.ApplyT(func(v GetKeyRestoreFromFile) string { return v.ContentLength }).(pulumi.StringOutput) +} + +// content md5 hashed value of key's backup file +func (o GetKeyRestoreFromFileOutput) ContentMd5() pulumi.StringOutput { + return o.ApplyT(func(v GetKeyRestoreFromFile) string { return v.ContentMd5 }).(pulumi.StringOutput) +} + +// Key backup file content +func (o GetKeyRestoreFromFileOutput) RestoreKeyFromFileDetails() pulumi.StringOutput { + return o.ApplyT(func(v GetKeyRestoreFromFile) string { return v.RestoreKeyFromFileDetails }).(pulumi.StringOutput) +} + +type GetKeyRestoreFromFileArrayOutput struct{ *pulumi.OutputState } + +func (GetKeyRestoreFromFileArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetKeyRestoreFromFile)(nil)).Elem() +} + +func (o GetKeyRestoreFromFileArrayOutput) ToGetKeyRestoreFromFileArrayOutput() GetKeyRestoreFromFileArrayOutput { + return o +} + +func (o GetKeyRestoreFromFileArrayOutput) ToGetKeyRestoreFromFileArrayOutputWithContext(ctx context.Context) GetKeyRestoreFromFileArrayOutput { + return o +} + +func (o GetKeyRestoreFromFileArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetKeyRestoreFromFile] { + return pulumix.Output[[]GetKeyRestoreFromFile]{ + OutputState: o.OutputState, + } +} + +func (o GetKeyRestoreFromFileArrayOutput) Index(i pulumi.IntInput) GetKeyRestoreFromFileOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetKeyRestoreFromFile { + return vs[0].([]GetKeyRestoreFromFile)[vs[1].(int)] + }).(GetKeyRestoreFromFileOutput) +} + +type GetKeyRestoreFromObjectStore struct { + // Name of the bucket where key was backed up + Bucket string `pulumi:"bucket"` + // Type of backup to restore from. Values of "BUCKET", "PRE_AUTHENTICATED_REQUEST_URI" are supported + Destination string `pulumi:"destination"` + // Namespace of the bucket where key was backed up + Namespace string `pulumi:"namespace"` + // Object containing the backup + Object string `pulumi:"object"` + // Pre-authenticated-request-uri of the backup + Uri string `pulumi:"uri"` +} + +// GetKeyRestoreFromObjectStoreInput is an input type that accepts GetKeyRestoreFromObjectStoreArgs and GetKeyRestoreFromObjectStoreOutput values. +// You can construct a concrete instance of `GetKeyRestoreFromObjectStoreInput` via: +// +// GetKeyRestoreFromObjectStoreArgs{...} +type GetKeyRestoreFromObjectStoreInput interface { + pulumi.Input + + ToGetKeyRestoreFromObjectStoreOutput() GetKeyRestoreFromObjectStoreOutput + ToGetKeyRestoreFromObjectStoreOutputWithContext(context.Context) GetKeyRestoreFromObjectStoreOutput +} + +type GetKeyRestoreFromObjectStoreArgs struct { + // Name of the bucket where key was backed up + Bucket pulumi.StringInput `pulumi:"bucket"` + // Type of backup to restore from. Values of "BUCKET", "PRE_AUTHENTICATED_REQUEST_URI" are supported + Destination pulumi.StringInput `pulumi:"destination"` + // Namespace of the bucket where key was backed up + Namespace pulumi.StringInput `pulumi:"namespace"` + // Object containing the backup + Object pulumi.StringInput `pulumi:"object"` + // Pre-authenticated-request-uri of the backup + Uri pulumi.StringInput `pulumi:"uri"` +} + +func (GetKeyRestoreFromObjectStoreArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetKeyRestoreFromObjectStore)(nil)).Elem() +} + +func (i GetKeyRestoreFromObjectStoreArgs) ToGetKeyRestoreFromObjectStoreOutput() GetKeyRestoreFromObjectStoreOutput { + return i.ToGetKeyRestoreFromObjectStoreOutputWithContext(context.Background()) +} + +func (i GetKeyRestoreFromObjectStoreArgs) ToGetKeyRestoreFromObjectStoreOutputWithContext(ctx context.Context) GetKeyRestoreFromObjectStoreOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKeyRestoreFromObjectStoreOutput) +} + +func (i GetKeyRestoreFromObjectStoreArgs) ToOutput(ctx context.Context) pulumix.Output[GetKeyRestoreFromObjectStore] { + return pulumix.Output[GetKeyRestoreFromObjectStore]{ + OutputState: i.ToGetKeyRestoreFromObjectStoreOutputWithContext(ctx).OutputState, + } +} + +// GetKeyRestoreFromObjectStoreArrayInput is an input type that accepts GetKeyRestoreFromObjectStoreArray and GetKeyRestoreFromObjectStoreArrayOutput values. +// You can construct a concrete instance of `GetKeyRestoreFromObjectStoreArrayInput` via: +// +// GetKeyRestoreFromObjectStoreArray{ GetKeyRestoreFromObjectStoreArgs{...} } +type GetKeyRestoreFromObjectStoreArrayInput interface { + pulumi.Input + + ToGetKeyRestoreFromObjectStoreArrayOutput() GetKeyRestoreFromObjectStoreArrayOutput + ToGetKeyRestoreFromObjectStoreArrayOutputWithContext(context.Context) GetKeyRestoreFromObjectStoreArrayOutput +} + +type GetKeyRestoreFromObjectStoreArray []GetKeyRestoreFromObjectStoreInput + +func (GetKeyRestoreFromObjectStoreArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetKeyRestoreFromObjectStore)(nil)).Elem() +} + +func (i GetKeyRestoreFromObjectStoreArray) ToGetKeyRestoreFromObjectStoreArrayOutput() GetKeyRestoreFromObjectStoreArrayOutput { + return i.ToGetKeyRestoreFromObjectStoreArrayOutputWithContext(context.Background()) +} + +func (i GetKeyRestoreFromObjectStoreArray) ToGetKeyRestoreFromObjectStoreArrayOutputWithContext(ctx context.Context) GetKeyRestoreFromObjectStoreArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKeyRestoreFromObjectStoreArrayOutput) +} + +func (i GetKeyRestoreFromObjectStoreArray) ToOutput(ctx context.Context) pulumix.Output[[]GetKeyRestoreFromObjectStore] { + return pulumix.Output[[]GetKeyRestoreFromObjectStore]{ + OutputState: i.ToGetKeyRestoreFromObjectStoreArrayOutputWithContext(ctx).OutputState, + } +} + +type GetKeyRestoreFromObjectStoreOutput struct{ *pulumi.OutputState } + +func (GetKeyRestoreFromObjectStoreOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetKeyRestoreFromObjectStore)(nil)).Elem() +} + +func (o GetKeyRestoreFromObjectStoreOutput) ToGetKeyRestoreFromObjectStoreOutput() GetKeyRestoreFromObjectStoreOutput { + return o +} + +func (o GetKeyRestoreFromObjectStoreOutput) ToGetKeyRestoreFromObjectStoreOutputWithContext(ctx context.Context) GetKeyRestoreFromObjectStoreOutput { + return o +} + +func (o GetKeyRestoreFromObjectStoreOutput) ToOutput(ctx context.Context) pulumix.Output[GetKeyRestoreFromObjectStore] { + return pulumix.Output[GetKeyRestoreFromObjectStore]{ + OutputState: o.OutputState, + } +} + +// Name of the bucket where key was backed up +func (o GetKeyRestoreFromObjectStoreOutput) Bucket() pulumi.StringOutput { + return o.ApplyT(func(v GetKeyRestoreFromObjectStore) string { return v.Bucket }).(pulumi.StringOutput) +} + +// Type of backup to restore from. Values of "BUCKET", "PRE_AUTHENTICATED_REQUEST_URI" are supported +func (o GetKeyRestoreFromObjectStoreOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetKeyRestoreFromObjectStore) string { return v.Destination }).(pulumi.StringOutput) +} + +// Namespace of the bucket where key was backed up +func (o GetKeyRestoreFromObjectStoreOutput) Namespace() pulumi.StringOutput { + return o.ApplyT(func(v GetKeyRestoreFromObjectStore) string { return v.Namespace }).(pulumi.StringOutput) +} + +// Object containing the backup +func (o GetKeyRestoreFromObjectStoreOutput) Object() pulumi.StringOutput { + return o.ApplyT(func(v GetKeyRestoreFromObjectStore) string { return v.Object }).(pulumi.StringOutput) +} + +// Pre-authenticated-request-uri of the backup +func (o GetKeyRestoreFromObjectStoreOutput) Uri() pulumi.StringOutput { + return o.ApplyT(func(v GetKeyRestoreFromObjectStore) string { return v.Uri }).(pulumi.StringOutput) +} + +type GetKeyRestoreFromObjectStoreArrayOutput struct{ *pulumi.OutputState } + +func (GetKeyRestoreFromObjectStoreArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetKeyRestoreFromObjectStore)(nil)).Elem() +} + +func (o GetKeyRestoreFromObjectStoreArrayOutput) ToGetKeyRestoreFromObjectStoreArrayOutput() GetKeyRestoreFromObjectStoreArrayOutput { + return o +} + +func (o GetKeyRestoreFromObjectStoreArrayOutput) ToGetKeyRestoreFromObjectStoreArrayOutputWithContext(ctx context.Context) GetKeyRestoreFromObjectStoreArrayOutput { + return o +} + +func (o GetKeyRestoreFromObjectStoreArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetKeyRestoreFromObjectStore] { + return pulumix.Output[[]GetKeyRestoreFromObjectStore]{ + OutputState: o.OutputState, + } +} + +func (o GetKeyRestoreFromObjectStoreArrayOutput) Index(i pulumi.IntInput) GetKeyRestoreFromObjectStoreOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetKeyRestoreFromObjectStore { + return vs[0].([]GetKeyRestoreFromObjectStore)[vs[1].(int)] + }).(GetKeyRestoreFromObjectStoreOutput) +} + +type GetKeyVersionExternalKeyReferenceDetail struct { + // ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. + ExternalKeyId string `pulumi:"externalKeyId"` + // Key version ID associated with the external key. + ExternalKeyVersionId string `pulumi:"externalKeyVersionId"` +} + +// GetKeyVersionExternalKeyReferenceDetailInput is an input type that accepts GetKeyVersionExternalKeyReferenceDetailArgs and GetKeyVersionExternalKeyReferenceDetailOutput values. +// You can construct a concrete instance of `GetKeyVersionExternalKeyReferenceDetailInput` via: +// +// GetKeyVersionExternalKeyReferenceDetailArgs{...} +type GetKeyVersionExternalKeyReferenceDetailInput interface { + pulumi.Input + + ToGetKeyVersionExternalKeyReferenceDetailOutput() GetKeyVersionExternalKeyReferenceDetailOutput + ToGetKeyVersionExternalKeyReferenceDetailOutputWithContext(context.Context) GetKeyVersionExternalKeyReferenceDetailOutput +} + +type GetKeyVersionExternalKeyReferenceDetailArgs struct { + // ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. + ExternalKeyId pulumi.StringInput `pulumi:"externalKeyId"` + // Key version ID associated with the external key. + ExternalKeyVersionId pulumi.StringInput `pulumi:"externalKeyVersionId"` +} + +func (GetKeyVersionExternalKeyReferenceDetailArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetKeyVersionExternalKeyReferenceDetail)(nil)).Elem() +} + +func (i GetKeyVersionExternalKeyReferenceDetailArgs) ToGetKeyVersionExternalKeyReferenceDetailOutput() GetKeyVersionExternalKeyReferenceDetailOutput { + return i.ToGetKeyVersionExternalKeyReferenceDetailOutputWithContext(context.Background()) +} + +func (i GetKeyVersionExternalKeyReferenceDetailArgs) ToGetKeyVersionExternalKeyReferenceDetailOutputWithContext(ctx context.Context) GetKeyVersionExternalKeyReferenceDetailOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKeyVersionExternalKeyReferenceDetailOutput) +} + +func (i GetKeyVersionExternalKeyReferenceDetailArgs) ToOutput(ctx context.Context) pulumix.Output[GetKeyVersionExternalKeyReferenceDetail] { + return pulumix.Output[GetKeyVersionExternalKeyReferenceDetail]{ + OutputState: i.ToGetKeyVersionExternalKeyReferenceDetailOutputWithContext(ctx).OutputState, + } +} + +// GetKeyVersionExternalKeyReferenceDetailArrayInput is an input type that accepts GetKeyVersionExternalKeyReferenceDetailArray and GetKeyVersionExternalKeyReferenceDetailArrayOutput values. +// You can construct a concrete instance of `GetKeyVersionExternalKeyReferenceDetailArrayInput` via: +// +// GetKeyVersionExternalKeyReferenceDetailArray{ GetKeyVersionExternalKeyReferenceDetailArgs{...} } +type GetKeyVersionExternalKeyReferenceDetailArrayInput interface { + pulumi.Input + + ToGetKeyVersionExternalKeyReferenceDetailArrayOutput() GetKeyVersionExternalKeyReferenceDetailArrayOutput + ToGetKeyVersionExternalKeyReferenceDetailArrayOutputWithContext(context.Context) GetKeyVersionExternalKeyReferenceDetailArrayOutput +} + +type GetKeyVersionExternalKeyReferenceDetailArray []GetKeyVersionExternalKeyReferenceDetailInput + +func (GetKeyVersionExternalKeyReferenceDetailArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetKeyVersionExternalKeyReferenceDetail)(nil)).Elem() +} + +func (i GetKeyVersionExternalKeyReferenceDetailArray) ToGetKeyVersionExternalKeyReferenceDetailArrayOutput() GetKeyVersionExternalKeyReferenceDetailArrayOutput { + return i.ToGetKeyVersionExternalKeyReferenceDetailArrayOutputWithContext(context.Background()) +} + +func (i GetKeyVersionExternalKeyReferenceDetailArray) ToGetKeyVersionExternalKeyReferenceDetailArrayOutputWithContext(ctx context.Context) GetKeyVersionExternalKeyReferenceDetailArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKeyVersionExternalKeyReferenceDetailArrayOutput) +} + +func (i GetKeyVersionExternalKeyReferenceDetailArray) ToOutput(ctx context.Context) pulumix.Output[[]GetKeyVersionExternalKeyReferenceDetail] { + return pulumix.Output[[]GetKeyVersionExternalKeyReferenceDetail]{ + OutputState: i.ToGetKeyVersionExternalKeyReferenceDetailArrayOutputWithContext(ctx).OutputState, + } +} + +type GetKeyVersionExternalKeyReferenceDetailOutput struct{ *pulumi.OutputState } + +func (GetKeyVersionExternalKeyReferenceDetailOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetKeyVersionExternalKeyReferenceDetail)(nil)).Elem() +} + +func (o GetKeyVersionExternalKeyReferenceDetailOutput) ToGetKeyVersionExternalKeyReferenceDetailOutput() GetKeyVersionExternalKeyReferenceDetailOutput { + return o +} + +func (o GetKeyVersionExternalKeyReferenceDetailOutput) ToGetKeyVersionExternalKeyReferenceDetailOutputWithContext(ctx context.Context) GetKeyVersionExternalKeyReferenceDetailOutput { + return o +} + +func (o GetKeyVersionExternalKeyReferenceDetailOutput) ToOutput(ctx context.Context) pulumix.Output[GetKeyVersionExternalKeyReferenceDetail] { + return pulumix.Output[GetKeyVersionExternalKeyReferenceDetail]{ + OutputState: o.OutputState, + } +} + +// ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. +func (o GetKeyVersionExternalKeyReferenceDetailOutput) ExternalKeyId() pulumi.StringOutput { + return o.ApplyT(func(v GetKeyVersionExternalKeyReferenceDetail) string { return v.ExternalKeyId }).(pulumi.StringOutput) +} + +// Key version ID associated with the external key. +func (o GetKeyVersionExternalKeyReferenceDetailOutput) ExternalKeyVersionId() pulumi.StringOutput { + return o.ApplyT(func(v GetKeyVersionExternalKeyReferenceDetail) string { return v.ExternalKeyVersionId }).(pulumi.StringOutput) +} + +type GetKeyVersionExternalKeyReferenceDetailArrayOutput struct{ *pulumi.OutputState } + +func (GetKeyVersionExternalKeyReferenceDetailArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetKeyVersionExternalKeyReferenceDetail)(nil)).Elem() +} + +func (o GetKeyVersionExternalKeyReferenceDetailArrayOutput) ToGetKeyVersionExternalKeyReferenceDetailArrayOutput() GetKeyVersionExternalKeyReferenceDetailArrayOutput { + return o +} + +func (o GetKeyVersionExternalKeyReferenceDetailArrayOutput) ToGetKeyVersionExternalKeyReferenceDetailArrayOutputWithContext(ctx context.Context) GetKeyVersionExternalKeyReferenceDetailArrayOutput { + return o +} + +func (o GetKeyVersionExternalKeyReferenceDetailArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetKeyVersionExternalKeyReferenceDetail] { + return pulumix.Output[[]GetKeyVersionExternalKeyReferenceDetail]{ + OutputState: o.OutputState, + } +} + +func (o GetKeyVersionExternalKeyReferenceDetailArrayOutput) Index(i pulumi.IntInput) GetKeyVersionExternalKeyReferenceDetailOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetKeyVersionExternalKeyReferenceDetail { + return vs[0].([]GetKeyVersionExternalKeyReferenceDetail)[vs[1].(int)] + }).(GetKeyVersionExternalKeyReferenceDetailOutput) +} + +type GetKeyVersionReplicaDetail struct { + // ReplicationId associated with a key version operation + ReplicationId string `pulumi:"replicationId"` +} + +// GetKeyVersionReplicaDetailInput is an input type that accepts GetKeyVersionReplicaDetailArgs and GetKeyVersionReplicaDetailOutput values. +// You can construct a concrete instance of `GetKeyVersionReplicaDetailInput` via: +// +// GetKeyVersionReplicaDetailArgs{...} +type GetKeyVersionReplicaDetailInput interface { + pulumi.Input + + ToGetKeyVersionReplicaDetailOutput() GetKeyVersionReplicaDetailOutput + ToGetKeyVersionReplicaDetailOutputWithContext(context.Context) GetKeyVersionReplicaDetailOutput +} + +type GetKeyVersionReplicaDetailArgs struct { + // ReplicationId associated with a key version operation + ReplicationId pulumi.StringInput `pulumi:"replicationId"` +} + +func (GetKeyVersionReplicaDetailArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetKeyVersionReplicaDetail)(nil)).Elem() +} + +func (i GetKeyVersionReplicaDetailArgs) ToGetKeyVersionReplicaDetailOutput() GetKeyVersionReplicaDetailOutput { + return i.ToGetKeyVersionReplicaDetailOutputWithContext(context.Background()) +} + +func (i GetKeyVersionReplicaDetailArgs) ToGetKeyVersionReplicaDetailOutputWithContext(ctx context.Context) GetKeyVersionReplicaDetailOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKeyVersionReplicaDetailOutput) +} + +func (i GetKeyVersionReplicaDetailArgs) ToOutput(ctx context.Context) pulumix.Output[GetKeyVersionReplicaDetail] { + return pulumix.Output[GetKeyVersionReplicaDetail]{ + OutputState: i.ToGetKeyVersionReplicaDetailOutputWithContext(ctx).OutputState, + } +} + +// GetKeyVersionReplicaDetailArrayInput is an input type that accepts GetKeyVersionReplicaDetailArray and GetKeyVersionReplicaDetailArrayOutput values. +// You can construct a concrete instance of `GetKeyVersionReplicaDetailArrayInput` via: +// +// GetKeyVersionReplicaDetailArray{ GetKeyVersionReplicaDetailArgs{...} } +type GetKeyVersionReplicaDetailArrayInput interface { + pulumi.Input + + ToGetKeyVersionReplicaDetailArrayOutput() GetKeyVersionReplicaDetailArrayOutput + ToGetKeyVersionReplicaDetailArrayOutputWithContext(context.Context) GetKeyVersionReplicaDetailArrayOutput +} + +type GetKeyVersionReplicaDetailArray []GetKeyVersionReplicaDetailInput + +func (GetKeyVersionReplicaDetailArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetKeyVersionReplicaDetail)(nil)).Elem() +} + +func (i GetKeyVersionReplicaDetailArray) ToGetKeyVersionReplicaDetailArrayOutput() GetKeyVersionReplicaDetailArrayOutput { + return i.ToGetKeyVersionReplicaDetailArrayOutputWithContext(context.Background()) +} + +func (i GetKeyVersionReplicaDetailArray) ToGetKeyVersionReplicaDetailArrayOutputWithContext(ctx context.Context) GetKeyVersionReplicaDetailArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKeyVersionReplicaDetailArrayOutput) +} + +func (i GetKeyVersionReplicaDetailArray) ToOutput(ctx context.Context) pulumix.Output[[]GetKeyVersionReplicaDetail] { + return pulumix.Output[[]GetKeyVersionReplicaDetail]{ + OutputState: i.ToGetKeyVersionReplicaDetailArrayOutputWithContext(ctx).OutputState, + } +} + +type GetKeyVersionReplicaDetailOutput struct{ *pulumi.OutputState } + +func (GetKeyVersionReplicaDetailOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetKeyVersionReplicaDetail)(nil)).Elem() +} + +func (o GetKeyVersionReplicaDetailOutput) ToGetKeyVersionReplicaDetailOutput() GetKeyVersionReplicaDetailOutput { + return o +} + +func (o GetKeyVersionReplicaDetailOutput) ToGetKeyVersionReplicaDetailOutputWithContext(ctx context.Context) GetKeyVersionReplicaDetailOutput { + return o +} + +func (o GetKeyVersionReplicaDetailOutput) ToOutput(ctx context.Context) pulumix.Output[GetKeyVersionReplicaDetail] { + return pulumix.Output[GetKeyVersionReplicaDetail]{ + OutputState: o.OutputState, + } +} + +// ReplicationId associated with a key version operation +func (o GetKeyVersionReplicaDetailOutput) ReplicationId() pulumi.StringOutput { + return o.ApplyT(func(v GetKeyVersionReplicaDetail) string { return v.ReplicationId }).(pulumi.StringOutput) +} + +type GetKeyVersionReplicaDetailArrayOutput struct{ *pulumi.OutputState } + +func (GetKeyVersionReplicaDetailArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetKeyVersionReplicaDetail)(nil)).Elem() +} + +func (o GetKeyVersionReplicaDetailArrayOutput) ToGetKeyVersionReplicaDetailArrayOutput() GetKeyVersionReplicaDetailArrayOutput { + return o +} + +func (o GetKeyVersionReplicaDetailArrayOutput) ToGetKeyVersionReplicaDetailArrayOutputWithContext(ctx context.Context) GetKeyVersionReplicaDetailArrayOutput { + return o +} + +func (o GetKeyVersionReplicaDetailArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetKeyVersionReplicaDetail] { + return pulumix.Output[[]GetKeyVersionReplicaDetail]{ + OutputState: o.OutputState, + } +} + +func (o GetKeyVersionReplicaDetailArrayOutput) Index(i pulumi.IntInput) GetKeyVersionReplicaDetailOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetKeyVersionReplicaDetail { + return vs[0].([]GetKeyVersionReplicaDetail)[vs[1].(int)] + }).(GetKeyVersionReplicaDetailOutput) +} + +type GetKeyVersionsFilter struct { + Name string `pulumi:"name"` + Regex *bool `pulumi:"regex"` + Values []string `pulumi:"values"` +} + +// GetKeyVersionsFilterInput is an input type that accepts GetKeyVersionsFilterArgs and GetKeyVersionsFilterOutput values. +// You can construct a concrete instance of `GetKeyVersionsFilterInput` via: +// +// GetKeyVersionsFilterArgs{...} +type GetKeyVersionsFilterInput interface { + pulumi.Input + + ToGetKeyVersionsFilterOutput() GetKeyVersionsFilterOutput + ToGetKeyVersionsFilterOutputWithContext(context.Context) GetKeyVersionsFilterOutput +} + +type GetKeyVersionsFilterArgs struct { + Name pulumi.StringInput `pulumi:"name"` + Regex pulumi.BoolPtrInput `pulumi:"regex"` + Values pulumi.StringArrayInput `pulumi:"values"` +} + +func (GetKeyVersionsFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetKeyVersionsFilter)(nil)).Elem() +} + +func (i GetKeyVersionsFilterArgs) ToGetKeyVersionsFilterOutput() GetKeyVersionsFilterOutput { + return i.ToGetKeyVersionsFilterOutputWithContext(context.Background()) +} + +func (i GetKeyVersionsFilterArgs) ToGetKeyVersionsFilterOutputWithContext(ctx context.Context) GetKeyVersionsFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKeyVersionsFilterOutput) +} + +func (i GetKeyVersionsFilterArgs) ToOutput(ctx context.Context) pulumix.Output[GetKeyVersionsFilter] { + return pulumix.Output[GetKeyVersionsFilter]{ + OutputState: i.ToGetKeyVersionsFilterOutputWithContext(ctx).OutputState, + } +} + +// GetKeyVersionsFilterArrayInput is an input type that accepts GetKeyVersionsFilterArray and GetKeyVersionsFilterArrayOutput values. +// You can construct a concrete instance of `GetKeyVersionsFilterArrayInput` via: +// +// GetKeyVersionsFilterArray{ GetKeyVersionsFilterArgs{...} } +type GetKeyVersionsFilterArrayInput interface { + pulumi.Input + + ToGetKeyVersionsFilterArrayOutput() GetKeyVersionsFilterArrayOutput + ToGetKeyVersionsFilterArrayOutputWithContext(context.Context) GetKeyVersionsFilterArrayOutput +} + +type GetKeyVersionsFilterArray []GetKeyVersionsFilterInput + +func (GetKeyVersionsFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetKeyVersionsFilter)(nil)).Elem() +} + +func (i GetKeyVersionsFilterArray) ToGetKeyVersionsFilterArrayOutput() GetKeyVersionsFilterArrayOutput { + return i.ToGetKeyVersionsFilterArrayOutputWithContext(context.Background()) +} + +func (i GetKeyVersionsFilterArray) ToGetKeyVersionsFilterArrayOutputWithContext(ctx context.Context) GetKeyVersionsFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKeyVersionsFilterArrayOutput) +} + +func (i GetKeyVersionsFilterArray) ToOutput(ctx context.Context) pulumix.Output[[]GetKeyVersionsFilter] { + return pulumix.Output[[]GetKeyVersionsFilter]{ + OutputState: i.ToGetKeyVersionsFilterArrayOutputWithContext(ctx).OutputState, + } +} + +type GetKeyVersionsFilterOutput struct{ *pulumi.OutputState } + +func (GetKeyVersionsFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetKeyVersionsFilter)(nil)).Elem() +} + +func (o GetKeyVersionsFilterOutput) ToGetKeyVersionsFilterOutput() GetKeyVersionsFilterOutput { + return o +} + +func (o GetKeyVersionsFilterOutput) ToGetKeyVersionsFilterOutputWithContext(ctx context.Context) GetKeyVersionsFilterOutput { + return o +} + +func (o GetKeyVersionsFilterOutput) ToOutput(ctx context.Context) pulumix.Output[GetKeyVersionsFilter] { + return pulumix.Output[GetKeyVersionsFilter]{ + OutputState: o.OutputState, + } +} + +func (o GetKeyVersionsFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetKeyVersionsFilter) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetKeyVersionsFilterOutput) Regex() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetKeyVersionsFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) +} + +func (o GetKeyVersionsFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetKeyVersionsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +} + +type GetKeyVersionsFilterArrayOutput struct{ *pulumi.OutputState } + +func (GetKeyVersionsFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetKeyVersionsFilter)(nil)).Elem() +} + +func (o GetKeyVersionsFilterArrayOutput) ToGetKeyVersionsFilterArrayOutput() GetKeyVersionsFilterArrayOutput { + return o +} + +func (o GetKeyVersionsFilterArrayOutput) ToGetKeyVersionsFilterArrayOutputWithContext(ctx context.Context) GetKeyVersionsFilterArrayOutput { + return o +} + +func (o GetKeyVersionsFilterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetKeyVersionsFilter] { + return pulumix.Output[[]GetKeyVersionsFilter]{ + OutputState: o.OutputState, + } +} + +func (o GetKeyVersionsFilterArrayOutput) Index(i pulumi.IntInput) GetKeyVersionsFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetKeyVersionsFilter { + return vs[0].([]GetKeyVersionsFilter)[vs[1].(int)] + }).(GetKeyVersionsFilterOutput) +} + +type GetKeyVersionsKeyVersion struct { + // The OCID of the compartment that contains this key version. + CompartmentId string `pulumi:"compartmentId"` + // Key reference data to be returned to the customer as a response. + ExternalKeyReferenceDetails []GetKeyVersionsKeyVersionExternalKeyReferenceDetail `pulumi:"externalKeyReferenceDetails"` + // Key version ID associated with the external key. + ExternalKeyVersionId string `pulumi:"externalKeyVersionId"` + // The OCID of the key version. + Id string `pulumi:"id"` + // A Boolean value that indicates whether the KeyVersion belongs to primary Vault or replica Vault. + IsPrimary bool `pulumi:"isPrimary"` + // The OCID of the key. + KeyId string `pulumi:"keyId"` + // The OCID of the key version. + KeyVersionId string `pulumi:"keyVersionId"` + // The service endpoint to perform management operations against. Management operations include 'Create,' 'Update,' 'List,' 'Get,' and 'Delete' operations. See Vault Management endpoint. + ManagementEndpoint string `pulumi:"managementEndpoint"` + // The public key in PEM format. (This value pertains only to RSA and ECDSA keys.) + PublicKey string `pulumi:"publicKey"` + // KeyVersion replica details + ReplicaDetails []GetKeyVersionsKeyVersionReplicaDetail `pulumi:"replicaDetails"` + RestoredFromKeyId string `pulumi:"restoredFromKeyId"` + // The OCID of the key version from which this key version was restored. + RestoredFromKeyVersionId string `pulumi:"restoredFromKeyVersionId"` + // The key version's current lifecycle state. Example: `ENABLED` + State string `pulumi:"state"` + // The date and time this key version was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: "2018-04-03T21:10:29.600Z" + TimeCreated string `pulumi:"timeCreated"` + // An optional property to indicate when to delete the key version, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` + TimeOfDeletion string `pulumi:"timeOfDeletion"` + // The OCID of the vault that contains this key version. + VaultId string `pulumi:"vaultId"` +} + +// GetKeyVersionsKeyVersionInput is an input type that accepts GetKeyVersionsKeyVersionArgs and GetKeyVersionsKeyVersionOutput values. +// You can construct a concrete instance of `GetKeyVersionsKeyVersionInput` via: +// +// GetKeyVersionsKeyVersionArgs{...} +type GetKeyVersionsKeyVersionInput interface { + pulumi.Input + + ToGetKeyVersionsKeyVersionOutput() GetKeyVersionsKeyVersionOutput + ToGetKeyVersionsKeyVersionOutputWithContext(context.Context) GetKeyVersionsKeyVersionOutput +} + +type GetKeyVersionsKeyVersionArgs struct { + // The OCID of the compartment that contains this key version. + CompartmentId pulumi.StringInput `pulumi:"compartmentId"` + // Key reference data to be returned to the customer as a response. + ExternalKeyReferenceDetails GetKeyVersionsKeyVersionExternalKeyReferenceDetailArrayInput `pulumi:"externalKeyReferenceDetails"` + // Key version ID associated with the external key. + ExternalKeyVersionId pulumi.StringInput `pulumi:"externalKeyVersionId"` + // The OCID of the key version. + Id pulumi.StringInput `pulumi:"id"` + // A Boolean value that indicates whether the KeyVersion belongs to primary Vault or replica Vault. + IsPrimary pulumi.BoolInput `pulumi:"isPrimary"` + // The OCID of the key. + KeyId pulumi.StringInput `pulumi:"keyId"` + // The OCID of the key version. + KeyVersionId pulumi.StringInput `pulumi:"keyVersionId"` + // The service endpoint to perform management operations against. Management operations include 'Create,' 'Update,' 'List,' 'Get,' and 'Delete' operations. See Vault Management endpoint. + ManagementEndpoint pulumi.StringInput `pulumi:"managementEndpoint"` + // The public key in PEM format. (This value pertains only to RSA and ECDSA keys.) + PublicKey pulumi.StringInput `pulumi:"publicKey"` + // KeyVersion replica details + ReplicaDetails GetKeyVersionsKeyVersionReplicaDetailArrayInput `pulumi:"replicaDetails"` + RestoredFromKeyId pulumi.StringInput `pulumi:"restoredFromKeyId"` + // The OCID of the key version from which this key version was restored. + RestoredFromKeyVersionId pulumi.StringInput `pulumi:"restoredFromKeyVersionId"` + // The key version's current lifecycle state. Example: `ENABLED` + State pulumi.StringInput `pulumi:"state"` + // The date and time this key version was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: "2018-04-03T21:10:29.600Z" + TimeCreated pulumi.StringInput `pulumi:"timeCreated"` + // An optional property to indicate when to delete the key version, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` + TimeOfDeletion pulumi.StringInput `pulumi:"timeOfDeletion"` + // The OCID of the vault that contains this key version. + VaultId pulumi.StringInput `pulumi:"vaultId"` +} + +func (GetKeyVersionsKeyVersionArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetKeyVersionsKeyVersion)(nil)).Elem() +} + +func (i GetKeyVersionsKeyVersionArgs) ToGetKeyVersionsKeyVersionOutput() GetKeyVersionsKeyVersionOutput { + return i.ToGetKeyVersionsKeyVersionOutputWithContext(context.Background()) +} + +func (i GetKeyVersionsKeyVersionArgs) ToGetKeyVersionsKeyVersionOutputWithContext(ctx context.Context) GetKeyVersionsKeyVersionOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKeyVersionsKeyVersionOutput) +} + +func (i GetKeyVersionsKeyVersionArgs) ToOutput(ctx context.Context) pulumix.Output[GetKeyVersionsKeyVersion] { + return pulumix.Output[GetKeyVersionsKeyVersion]{ + OutputState: i.ToGetKeyVersionsKeyVersionOutputWithContext(ctx).OutputState, + } +} + +// GetKeyVersionsKeyVersionArrayInput is an input type that accepts GetKeyVersionsKeyVersionArray and GetKeyVersionsKeyVersionArrayOutput values. +// You can construct a concrete instance of `GetKeyVersionsKeyVersionArrayInput` via: +// +// GetKeyVersionsKeyVersionArray{ GetKeyVersionsKeyVersionArgs{...} } +type GetKeyVersionsKeyVersionArrayInput interface { + pulumi.Input + + ToGetKeyVersionsKeyVersionArrayOutput() GetKeyVersionsKeyVersionArrayOutput + ToGetKeyVersionsKeyVersionArrayOutputWithContext(context.Context) GetKeyVersionsKeyVersionArrayOutput +} + +type GetKeyVersionsKeyVersionArray []GetKeyVersionsKeyVersionInput + +func (GetKeyVersionsKeyVersionArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetKeyVersionsKeyVersion)(nil)).Elem() +} + +func (i GetKeyVersionsKeyVersionArray) ToGetKeyVersionsKeyVersionArrayOutput() GetKeyVersionsKeyVersionArrayOutput { + return i.ToGetKeyVersionsKeyVersionArrayOutputWithContext(context.Background()) +} + +func (i GetKeyVersionsKeyVersionArray) ToGetKeyVersionsKeyVersionArrayOutputWithContext(ctx context.Context) GetKeyVersionsKeyVersionArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKeyVersionsKeyVersionArrayOutput) +} + +func (i GetKeyVersionsKeyVersionArray) ToOutput(ctx context.Context) pulumix.Output[[]GetKeyVersionsKeyVersion] { + return pulumix.Output[[]GetKeyVersionsKeyVersion]{ + OutputState: i.ToGetKeyVersionsKeyVersionArrayOutputWithContext(ctx).OutputState, + } +} + +type GetKeyVersionsKeyVersionOutput struct{ *pulumi.OutputState } + +func (GetKeyVersionsKeyVersionOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetKeyVersionsKeyVersion)(nil)).Elem() +} + +func (o GetKeyVersionsKeyVersionOutput) ToGetKeyVersionsKeyVersionOutput() GetKeyVersionsKeyVersionOutput { + return o +} + +func (o GetKeyVersionsKeyVersionOutput) ToGetKeyVersionsKeyVersionOutputWithContext(ctx context.Context) GetKeyVersionsKeyVersionOutput { + return o +} + +func (o GetKeyVersionsKeyVersionOutput) ToOutput(ctx context.Context) pulumix.Output[GetKeyVersionsKeyVersion] { + return pulumix.Output[GetKeyVersionsKeyVersion]{ + OutputState: o.OutputState, + } +} + +// The OCID of the compartment that contains this key version. +func (o GetKeyVersionsKeyVersionOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v GetKeyVersionsKeyVersion) string { return v.CompartmentId }).(pulumi.StringOutput) +} + +// Key reference data to be returned to the customer as a response. +func (o GetKeyVersionsKeyVersionOutput) ExternalKeyReferenceDetails() GetKeyVersionsKeyVersionExternalKeyReferenceDetailArrayOutput { + return o.ApplyT(func(v GetKeyVersionsKeyVersion) []GetKeyVersionsKeyVersionExternalKeyReferenceDetail { + return v.ExternalKeyReferenceDetails + }).(GetKeyVersionsKeyVersionExternalKeyReferenceDetailArrayOutput) +} + +// Key version ID associated with the external key. +func (o GetKeyVersionsKeyVersionOutput) ExternalKeyVersionId() pulumi.StringOutput { + return o.ApplyT(func(v GetKeyVersionsKeyVersion) string { return v.ExternalKeyVersionId }).(pulumi.StringOutput) +} + +// The OCID of the key version. +func (o GetKeyVersionsKeyVersionOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetKeyVersionsKeyVersion) string { return v.Id }).(pulumi.StringOutput) +} + +// A Boolean value that indicates whether the KeyVersion belongs to primary Vault or replica Vault. +func (o GetKeyVersionsKeyVersionOutput) IsPrimary() pulumi.BoolOutput { + return o.ApplyT(func(v GetKeyVersionsKeyVersion) bool { return v.IsPrimary }).(pulumi.BoolOutput) +} + +// The OCID of the key. +func (o GetKeyVersionsKeyVersionOutput) KeyId() pulumi.StringOutput { + return o.ApplyT(func(v GetKeyVersionsKeyVersion) string { return v.KeyId }).(pulumi.StringOutput) +} + +// The OCID of the key version. +func (o GetKeyVersionsKeyVersionOutput) KeyVersionId() pulumi.StringOutput { + return o.ApplyT(func(v GetKeyVersionsKeyVersion) string { return v.KeyVersionId }).(pulumi.StringOutput) +} + +// The service endpoint to perform management operations against. Management operations include 'Create,' 'Update,' 'List,' 'Get,' and 'Delete' operations. See Vault Management endpoint. +func (o GetKeyVersionsKeyVersionOutput) ManagementEndpoint() pulumi.StringOutput { + return o.ApplyT(func(v GetKeyVersionsKeyVersion) string { return v.ManagementEndpoint }).(pulumi.StringOutput) +} + +// The public key in PEM format. (This value pertains only to RSA and ECDSA keys.) +func (o GetKeyVersionsKeyVersionOutput) PublicKey() pulumi.StringOutput { + return o.ApplyT(func(v GetKeyVersionsKeyVersion) string { return v.PublicKey }).(pulumi.StringOutput) +} + +// KeyVersion replica details +func (o GetKeyVersionsKeyVersionOutput) ReplicaDetails() GetKeyVersionsKeyVersionReplicaDetailArrayOutput { + return o.ApplyT(func(v GetKeyVersionsKeyVersion) []GetKeyVersionsKeyVersionReplicaDetail { return v.ReplicaDetails }).(GetKeyVersionsKeyVersionReplicaDetailArrayOutput) +} + +func (o GetKeyVersionsKeyVersionOutput) RestoredFromKeyId() pulumi.StringOutput { + return o.ApplyT(func(v GetKeyVersionsKeyVersion) string { return v.RestoredFromKeyId }).(pulumi.StringOutput) +} + +// The OCID of the key version from which this key version was restored. +func (o GetKeyVersionsKeyVersionOutput) RestoredFromKeyVersionId() pulumi.StringOutput { + return o.ApplyT(func(v GetKeyVersionsKeyVersion) string { return v.RestoredFromKeyVersionId }).(pulumi.StringOutput) +} + +// The key version's current lifecycle state. Example: `ENABLED` +func (o GetKeyVersionsKeyVersionOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetKeyVersionsKeyVersion) string { return v.State }).(pulumi.StringOutput) +} + +// The date and time this key version was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: "2018-04-03T21:10:29.600Z" +func (o GetKeyVersionsKeyVersionOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v GetKeyVersionsKeyVersion) string { return v.TimeCreated }).(pulumi.StringOutput) +} + +// An optional property to indicate when to delete the key version, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` +func (o GetKeyVersionsKeyVersionOutput) TimeOfDeletion() pulumi.StringOutput { + return o.ApplyT(func(v GetKeyVersionsKeyVersion) string { return v.TimeOfDeletion }).(pulumi.StringOutput) +} + +// The OCID of the vault that contains this key version. +func (o GetKeyVersionsKeyVersionOutput) VaultId() pulumi.StringOutput { + return o.ApplyT(func(v GetKeyVersionsKeyVersion) string { return v.VaultId }).(pulumi.StringOutput) +} + +type GetKeyVersionsKeyVersionArrayOutput struct{ *pulumi.OutputState } + +func (GetKeyVersionsKeyVersionArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetKeyVersionsKeyVersion)(nil)).Elem() +} + +func (o GetKeyVersionsKeyVersionArrayOutput) ToGetKeyVersionsKeyVersionArrayOutput() GetKeyVersionsKeyVersionArrayOutput { + return o +} + +func (o GetKeyVersionsKeyVersionArrayOutput) ToGetKeyVersionsKeyVersionArrayOutputWithContext(ctx context.Context) GetKeyVersionsKeyVersionArrayOutput { + return o +} + +func (o GetKeyVersionsKeyVersionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetKeyVersionsKeyVersion] { + return pulumix.Output[[]GetKeyVersionsKeyVersion]{ + OutputState: o.OutputState, + } +} + +func (o GetKeyVersionsKeyVersionArrayOutput) Index(i pulumi.IntInput) GetKeyVersionsKeyVersionOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetKeyVersionsKeyVersion { + return vs[0].([]GetKeyVersionsKeyVersion)[vs[1].(int)] + }).(GetKeyVersionsKeyVersionOutput) +} + +type GetKeyVersionsKeyVersionExternalKeyReferenceDetail struct { + // ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. + ExternalKeyId string `pulumi:"externalKeyId"` + // Key version ID associated with the external key. + ExternalKeyVersionId string `pulumi:"externalKeyVersionId"` +} + +// GetKeyVersionsKeyVersionExternalKeyReferenceDetailInput is an input type that accepts GetKeyVersionsKeyVersionExternalKeyReferenceDetailArgs and GetKeyVersionsKeyVersionExternalKeyReferenceDetailOutput values. +// You can construct a concrete instance of `GetKeyVersionsKeyVersionExternalKeyReferenceDetailInput` via: +// +// GetKeyVersionsKeyVersionExternalKeyReferenceDetailArgs{...} +type GetKeyVersionsKeyVersionExternalKeyReferenceDetailInput interface { + pulumi.Input + + ToGetKeyVersionsKeyVersionExternalKeyReferenceDetailOutput() GetKeyVersionsKeyVersionExternalKeyReferenceDetailOutput + ToGetKeyVersionsKeyVersionExternalKeyReferenceDetailOutputWithContext(context.Context) GetKeyVersionsKeyVersionExternalKeyReferenceDetailOutput +} + +type GetKeyVersionsKeyVersionExternalKeyReferenceDetailArgs struct { + // ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. + ExternalKeyId pulumi.StringInput `pulumi:"externalKeyId"` + // Key version ID associated with the external key. + ExternalKeyVersionId pulumi.StringInput `pulumi:"externalKeyVersionId"` +} + +func (GetKeyVersionsKeyVersionExternalKeyReferenceDetailArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetKeyVersionsKeyVersionExternalKeyReferenceDetail)(nil)).Elem() +} + +func (i GetKeyVersionsKeyVersionExternalKeyReferenceDetailArgs) ToGetKeyVersionsKeyVersionExternalKeyReferenceDetailOutput() GetKeyVersionsKeyVersionExternalKeyReferenceDetailOutput { + return i.ToGetKeyVersionsKeyVersionExternalKeyReferenceDetailOutputWithContext(context.Background()) +} + +func (i GetKeyVersionsKeyVersionExternalKeyReferenceDetailArgs) ToGetKeyVersionsKeyVersionExternalKeyReferenceDetailOutputWithContext(ctx context.Context) GetKeyVersionsKeyVersionExternalKeyReferenceDetailOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKeyVersionsKeyVersionExternalKeyReferenceDetailOutput) +} + +func (i GetKeyVersionsKeyVersionExternalKeyReferenceDetailArgs) ToOutput(ctx context.Context) pulumix.Output[GetKeyVersionsKeyVersionExternalKeyReferenceDetail] { + return pulumix.Output[GetKeyVersionsKeyVersionExternalKeyReferenceDetail]{ + OutputState: i.ToGetKeyVersionsKeyVersionExternalKeyReferenceDetailOutputWithContext(ctx).OutputState, + } +} + +// GetKeyVersionsKeyVersionExternalKeyReferenceDetailArrayInput is an input type that accepts GetKeyVersionsKeyVersionExternalKeyReferenceDetailArray and GetKeyVersionsKeyVersionExternalKeyReferenceDetailArrayOutput values. +// You can construct a concrete instance of `GetKeyVersionsKeyVersionExternalKeyReferenceDetailArrayInput` via: +// +// GetKeyVersionsKeyVersionExternalKeyReferenceDetailArray{ GetKeyVersionsKeyVersionExternalKeyReferenceDetailArgs{...} } +type GetKeyVersionsKeyVersionExternalKeyReferenceDetailArrayInput interface { + pulumi.Input + + ToGetKeyVersionsKeyVersionExternalKeyReferenceDetailArrayOutput() GetKeyVersionsKeyVersionExternalKeyReferenceDetailArrayOutput + ToGetKeyVersionsKeyVersionExternalKeyReferenceDetailArrayOutputWithContext(context.Context) GetKeyVersionsKeyVersionExternalKeyReferenceDetailArrayOutput +} + +type GetKeyVersionsKeyVersionExternalKeyReferenceDetailArray []GetKeyVersionsKeyVersionExternalKeyReferenceDetailInput + +func (GetKeyVersionsKeyVersionExternalKeyReferenceDetailArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetKeyVersionsKeyVersionExternalKeyReferenceDetail)(nil)).Elem() +} + +func (i GetKeyVersionsKeyVersionExternalKeyReferenceDetailArray) ToGetKeyVersionsKeyVersionExternalKeyReferenceDetailArrayOutput() GetKeyVersionsKeyVersionExternalKeyReferenceDetailArrayOutput { + return i.ToGetKeyVersionsKeyVersionExternalKeyReferenceDetailArrayOutputWithContext(context.Background()) +} + +func (i GetKeyVersionsKeyVersionExternalKeyReferenceDetailArray) ToGetKeyVersionsKeyVersionExternalKeyReferenceDetailArrayOutputWithContext(ctx context.Context) GetKeyVersionsKeyVersionExternalKeyReferenceDetailArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKeyVersionsKeyVersionExternalKeyReferenceDetailArrayOutput) +} + +func (i GetKeyVersionsKeyVersionExternalKeyReferenceDetailArray) ToOutput(ctx context.Context) pulumix.Output[[]GetKeyVersionsKeyVersionExternalKeyReferenceDetail] { + return pulumix.Output[[]GetKeyVersionsKeyVersionExternalKeyReferenceDetail]{ + OutputState: i.ToGetKeyVersionsKeyVersionExternalKeyReferenceDetailArrayOutputWithContext(ctx).OutputState, + } +} + +type GetKeyVersionsKeyVersionExternalKeyReferenceDetailOutput struct{ *pulumi.OutputState } + +func (GetKeyVersionsKeyVersionExternalKeyReferenceDetailOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetKeyVersionsKeyVersionExternalKeyReferenceDetail)(nil)).Elem() +} + +func (o GetKeyVersionsKeyVersionExternalKeyReferenceDetailOutput) ToGetKeyVersionsKeyVersionExternalKeyReferenceDetailOutput() GetKeyVersionsKeyVersionExternalKeyReferenceDetailOutput { + return o +} + +func (o GetKeyVersionsKeyVersionExternalKeyReferenceDetailOutput) ToGetKeyVersionsKeyVersionExternalKeyReferenceDetailOutputWithContext(ctx context.Context) GetKeyVersionsKeyVersionExternalKeyReferenceDetailOutput { + return o +} + +func (o GetKeyVersionsKeyVersionExternalKeyReferenceDetailOutput) ToOutput(ctx context.Context) pulumix.Output[GetKeyVersionsKeyVersionExternalKeyReferenceDetail] { + return pulumix.Output[GetKeyVersionsKeyVersionExternalKeyReferenceDetail]{ + OutputState: o.OutputState, + } +} + +// ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. +func (o GetKeyVersionsKeyVersionExternalKeyReferenceDetailOutput) ExternalKeyId() pulumi.StringOutput { + return o.ApplyT(func(v GetKeyVersionsKeyVersionExternalKeyReferenceDetail) string { return v.ExternalKeyId }).(pulumi.StringOutput) +} + +// Key version ID associated with the external key. +func (o GetKeyVersionsKeyVersionExternalKeyReferenceDetailOutput) ExternalKeyVersionId() pulumi.StringOutput { + return o.ApplyT(func(v GetKeyVersionsKeyVersionExternalKeyReferenceDetail) string { return v.ExternalKeyVersionId }).(pulumi.StringOutput) +} + +type GetKeyVersionsKeyVersionExternalKeyReferenceDetailArrayOutput struct{ *pulumi.OutputState } + +func (GetKeyVersionsKeyVersionExternalKeyReferenceDetailArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetKeyVersionsKeyVersionExternalKeyReferenceDetail)(nil)).Elem() +} + +func (o GetKeyVersionsKeyVersionExternalKeyReferenceDetailArrayOutput) ToGetKeyVersionsKeyVersionExternalKeyReferenceDetailArrayOutput() GetKeyVersionsKeyVersionExternalKeyReferenceDetailArrayOutput { + return o +} + +func (o GetKeyVersionsKeyVersionExternalKeyReferenceDetailArrayOutput) ToGetKeyVersionsKeyVersionExternalKeyReferenceDetailArrayOutputWithContext(ctx context.Context) GetKeyVersionsKeyVersionExternalKeyReferenceDetailArrayOutput { + return o +} + +func (o GetKeyVersionsKeyVersionExternalKeyReferenceDetailArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetKeyVersionsKeyVersionExternalKeyReferenceDetail] { + return pulumix.Output[[]GetKeyVersionsKeyVersionExternalKeyReferenceDetail]{ + OutputState: o.OutputState, + } +} + +func (o GetKeyVersionsKeyVersionExternalKeyReferenceDetailArrayOutput) Index(i pulumi.IntInput) GetKeyVersionsKeyVersionExternalKeyReferenceDetailOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetKeyVersionsKeyVersionExternalKeyReferenceDetail { + return vs[0].([]GetKeyVersionsKeyVersionExternalKeyReferenceDetail)[vs[1].(int)] + }).(GetKeyVersionsKeyVersionExternalKeyReferenceDetailOutput) +} + +type GetKeyVersionsKeyVersionReplicaDetail struct { + // ReplicationId associated with a key version operation + ReplicationId string `pulumi:"replicationId"` +} + +// GetKeyVersionsKeyVersionReplicaDetailInput is an input type that accepts GetKeyVersionsKeyVersionReplicaDetailArgs and GetKeyVersionsKeyVersionReplicaDetailOutput values. +// You can construct a concrete instance of `GetKeyVersionsKeyVersionReplicaDetailInput` via: +// +// GetKeyVersionsKeyVersionReplicaDetailArgs{...} +type GetKeyVersionsKeyVersionReplicaDetailInput interface { + pulumi.Input + + ToGetKeyVersionsKeyVersionReplicaDetailOutput() GetKeyVersionsKeyVersionReplicaDetailOutput + ToGetKeyVersionsKeyVersionReplicaDetailOutputWithContext(context.Context) GetKeyVersionsKeyVersionReplicaDetailOutput +} + +type GetKeyVersionsKeyVersionReplicaDetailArgs struct { + // ReplicationId associated with a key version operation + ReplicationId pulumi.StringInput `pulumi:"replicationId"` +} + +func (GetKeyVersionsKeyVersionReplicaDetailArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetKeyVersionsKeyVersionReplicaDetail)(nil)).Elem() +} + +func (i GetKeyVersionsKeyVersionReplicaDetailArgs) ToGetKeyVersionsKeyVersionReplicaDetailOutput() GetKeyVersionsKeyVersionReplicaDetailOutput { + return i.ToGetKeyVersionsKeyVersionReplicaDetailOutputWithContext(context.Background()) +} + +func (i GetKeyVersionsKeyVersionReplicaDetailArgs) ToGetKeyVersionsKeyVersionReplicaDetailOutputWithContext(ctx context.Context) GetKeyVersionsKeyVersionReplicaDetailOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKeyVersionsKeyVersionReplicaDetailOutput) +} + +func (i GetKeyVersionsKeyVersionReplicaDetailArgs) ToOutput(ctx context.Context) pulumix.Output[GetKeyVersionsKeyVersionReplicaDetail] { + return pulumix.Output[GetKeyVersionsKeyVersionReplicaDetail]{ + OutputState: i.ToGetKeyVersionsKeyVersionReplicaDetailOutputWithContext(ctx).OutputState, + } +} + +// GetKeyVersionsKeyVersionReplicaDetailArrayInput is an input type that accepts GetKeyVersionsKeyVersionReplicaDetailArray and GetKeyVersionsKeyVersionReplicaDetailArrayOutput values. +// You can construct a concrete instance of `GetKeyVersionsKeyVersionReplicaDetailArrayInput` via: +// +// GetKeyVersionsKeyVersionReplicaDetailArray{ GetKeyVersionsKeyVersionReplicaDetailArgs{...} } +type GetKeyVersionsKeyVersionReplicaDetailArrayInput interface { + pulumi.Input + + ToGetKeyVersionsKeyVersionReplicaDetailArrayOutput() GetKeyVersionsKeyVersionReplicaDetailArrayOutput + ToGetKeyVersionsKeyVersionReplicaDetailArrayOutputWithContext(context.Context) GetKeyVersionsKeyVersionReplicaDetailArrayOutput +} + +type GetKeyVersionsKeyVersionReplicaDetailArray []GetKeyVersionsKeyVersionReplicaDetailInput + +func (GetKeyVersionsKeyVersionReplicaDetailArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetKeyVersionsKeyVersionReplicaDetail)(nil)).Elem() +} + +func (i GetKeyVersionsKeyVersionReplicaDetailArray) ToGetKeyVersionsKeyVersionReplicaDetailArrayOutput() GetKeyVersionsKeyVersionReplicaDetailArrayOutput { + return i.ToGetKeyVersionsKeyVersionReplicaDetailArrayOutputWithContext(context.Background()) +} + +func (i GetKeyVersionsKeyVersionReplicaDetailArray) ToGetKeyVersionsKeyVersionReplicaDetailArrayOutputWithContext(ctx context.Context) GetKeyVersionsKeyVersionReplicaDetailArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKeyVersionsKeyVersionReplicaDetailArrayOutput) +} + +func (i GetKeyVersionsKeyVersionReplicaDetailArray) ToOutput(ctx context.Context) pulumix.Output[[]GetKeyVersionsKeyVersionReplicaDetail] { + return pulumix.Output[[]GetKeyVersionsKeyVersionReplicaDetail]{ + OutputState: i.ToGetKeyVersionsKeyVersionReplicaDetailArrayOutputWithContext(ctx).OutputState, + } +} + +type GetKeyVersionsKeyVersionReplicaDetailOutput struct{ *pulumi.OutputState } + +func (GetKeyVersionsKeyVersionReplicaDetailOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetKeyVersionsKeyVersionReplicaDetail)(nil)).Elem() +} + +func (o GetKeyVersionsKeyVersionReplicaDetailOutput) ToGetKeyVersionsKeyVersionReplicaDetailOutput() GetKeyVersionsKeyVersionReplicaDetailOutput { + return o +} + +func (o GetKeyVersionsKeyVersionReplicaDetailOutput) ToGetKeyVersionsKeyVersionReplicaDetailOutputWithContext(ctx context.Context) GetKeyVersionsKeyVersionReplicaDetailOutput { + return o +} + +func (o GetKeyVersionsKeyVersionReplicaDetailOutput) ToOutput(ctx context.Context) pulumix.Output[GetKeyVersionsKeyVersionReplicaDetail] { + return pulumix.Output[GetKeyVersionsKeyVersionReplicaDetail]{ + OutputState: o.OutputState, + } +} + +// ReplicationId associated with a key version operation +func (o GetKeyVersionsKeyVersionReplicaDetailOutput) ReplicationId() pulumi.StringOutput { + return o.ApplyT(func(v GetKeyVersionsKeyVersionReplicaDetail) string { return v.ReplicationId }).(pulumi.StringOutput) +} + +type GetKeyVersionsKeyVersionReplicaDetailArrayOutput struct{ *pulumi.OutputState } + +func (GetKeyVersionsKeyVersionReplicaDetailArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetKeyVersionsKeyVersionReplicaDetail)(nil)).Elem() +} + +func (o GetKeyVersionsKeyVersionReplicaDetailArrayOutput) ToGetKeyVersionsKeyVersionReplicaDetailArrayOutput() GetKeyVersionsKeyVersionReplicaDetailArrayOutput { + return o +} + +func (o GetKeyVersionsKeyVersionReplicaDetailArrayOutput) ToGetKeyVersionsKeyVersionReplicaDetailArrayOutputWithContext(ctx context.Context) GetKeyVersionsKeyVersionReplicaDetailArrayOutput { + return o +} + +func (o GetKeyVersionsKeyVersionReplicaDetailArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetKeyVersionsKeyVersionReplicaDetail] { + return pulumix.Output[[]GetKeyVersionsKeyVersionReplicaDetail]{ + OutputState: o.OutputState, + } +} + +func (o GetKeyVersionsKeyVersionReplicaDetailArrayOutput) Index(i pulumi.IntInput) GetKeyVersionsKeyVersionReplicaDetailOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetKeyVersionsKeyVersionReplicaDetail { + return vs[0].([]GetKeyVersionsKeyVersionReplicaDetail)[vs[1].(int)] + }).(GetKeyVersionsKeyVersionReplicaDetailOutput) +} + +type GetKeysFilter struct { + Name string `pulumi:"name"` + Regex *bool `pulumi:"regex"` + Values []string `pulumi:"values"` +} + +// GetKeysFilterInput is an input type that accepts GetKeysFilterArgs and GetKeysFilterOutput values. +// You can construct a concrete instance of `GetKeysFilterInput` via: +// +// GetKeysFilterArgs{...} +type GetKeysFilterInput interface { + pulumi.Input + + ToGetKeysFilterOutput() GetKeysFilterOutput + ToGetKeysFilterOutputWithContext(context.Context) GetKeysFilterOutput +} + +type GetKeysFilterArgs struct { + Name pulumi.StringInput `pulumi:"name"` + Regex pulumi.BoolPtrInput `pulumi:"regex"` + Values pulumi.StringArrayInput `pulumi:"values"` +} + +func (GetKeysFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetKeysFilter)(nil)).Elem() +} + +func (i GetKeysFilterArgs) ToGetKeysFilterOutput() GetKeysFilterOutput { + return i.ToGetKeysFilterOutputWithContext(context.Background()) +} + +func (i GetKeysFilterArgs) ToGetKeysFilterOutputWithContext(ctx context.Context) GetKeysFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKeysFilterOutput) +} + +func (i GetKeysFilterArgs) ToOutput(ctx context.Context) pulumix.Output[GetKeysFilter] { + return pulumix.Output[GetKeysFilter]{ + OutputState: i.ToGetKeysFilterOutputWithContext(ctx).OutputState, + } +} + +// GetKeysFilterArrayInput is an input type that accepts GetKeysFilterArray and GetKeysFilterArrayOutput values. +// You can construct a concrete instance of `GetKeysFilterArrayInput` via: +// +// GetKeysFilterArray{ GetKeysFilterArgs{...} } +type GetKeysFilterArrayInput interface { + pulumi.Input + + ToGetKeysFilterArrayOutput() GetKeysFilterArrayOutput + ToGetKeysFilterArrayOutputWithContext(context.Context) GetKeysFilterArrayOutput +} + +type GetKeysFilterArray []GetKeysFilterInput + +func (GetKeysFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetKeysFilter)(nil)).Elem() +} + +func (i GetKeysFilterArray) ToGetKeysFilterArrayOutput() GetKeysFilterArrayOutput { + return i.ToGetKeysFilterArrayOutputWithContext(context.Background()) +} + +func (i GetKeysFilterArray) ToGetKeysFilterArrayOutputWithContext(ctx context.Context) GetKeysFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKeysFilterArrayOutput) +} + +func (i GetKeysFilterArray) ToOutput(ctx context.Context) pulumix.Output[[]GetKeysFilter] { + return pulumix.Output[[]GetKeysFilter]{ + OutputState: i.ToGetKeysFilterArrayOutputWithContext(ctx).OutputState, + } +} + +type GetKeysFilterOutput struct{ *pulumi.OutputState } + +func (GetKeysFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetKeysFilter)(nil)).Elem() +} + +func (o GetKeysFilterOutput) ToGetKeysFilterOutput() GetKeysFilterOutput { + return o +} + +func (o GetKeysFilterOutput) ToGetKeysFilterOutputWithContext(ctx context.Context) GetKeysFilterOutput { + return o +} + +func (o GetKeysFilterOutput) ToOutput(ctx context.Context) pulumix.Output[GetKeysFilter] { + return pulumix.Output[GetKeysFilter]{ + OutputState: o.OutputState, + } +} + +func (o GetKeysFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetKeysFilter) string { return v.Name }).(pulumi.StringOutput) +} + +func (o GetKeysFilterOutput) Regex() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetKeysFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) +} + +func (o GetKeysFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetKeysFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +} + +type GetKeysFilterArrayOutput struct{ *pulumi.OutputState } + +func (GetKeysFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetKeysFilter)(nil)).Elem() +} + +func (o GetKeysFilterArrayOutput) ToGetKeysFilterArrayOutput() GetKeysFilterArrayOutput { + return o +} + +func (o GetKeysFilterArrayOutput) ToGetKeysFilterArrayOutputWithContext(ctx context.Context) GetKeysFilterArrayOutput { + return o +} + +func (o GetKeysFilterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetKeysFilter] { + return pulumix.Output[[]GetKeysFilter]{ + OutputState: o.OutputState, + } +} + +func (o GetKeysFilterArrayOutput) Index(i pulumi.IntInput) GetKeysFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetKeysFilter { + return vs[0].([]GetKeysFilter)[vs[1].(int)] + }).(GetKeysFilterOutput) +} + +type GetKeysKey struct { + // The OCID of the compartment. + CompartmentId string `pulumi:"compartmentId"` + // The OCID of the key version used in cryptographic operations. During key rotation, the service might be in a transitional state where this or a newer key version are used intermittently. The `currentKeyVersion` property is updated when the service is guaranteed to use the new key version for all subsequent encryption operations. + CurrentKeyVersion string `pulumi:"currentKeyVersion"` + // Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` + DefinedTags map[string]interface{} `pulumi:"definedTags"` + DesiredState string `pulumi:"desiredState"` + // A user-friendly name for the key. It does not have to be unique, and it is changeable. Avoid entering confidential information. + DisplayName string `pulumi:"displayName"` + // Key reference data to be returned to the customer as a response. + ExternalKeyReferenceDetails []GetKeysKeyExternalKeyReferenceDetail `pulumi:"externalKeyReferenceDetails"` + ExternalKeyReferences []GetKeysKeyExternalKeyReference `pulumi:"externalKeyReferences"` + // 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` + FreeformTags map[string]interface{} `pulumi:"freeformTags"` + // The OCID of the key. + Id string `pulumi:"id"` + // A Boolean value that indicates whether the Key belongs to primary Vault or replica vault. + IsPrimary bool `pulumi:"isPrimary"` + // The cryptographic properties of a key. + KeyShapes []GetKeysKeyKeyShape `pulumi:"keyShapes"` + // The service endpoint to perform management operations against. Management operations include 'Create,' 'Update,' 'List,' 'Get,' and 'Delete' operations. See Vault Management endpoint. + ManagementEndpoint string `pulumi:"managementEndpoint"` + // A key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager. + ProtectionMode string `pulumi:"protectionMode"` + // Key replica details + ReplicaDetails []GetKeysKeyReplicaDetail `pulumi:"replicaDetails"` + RestoreFromFiles []GetKeysKeyRestoreFromFile `pulumi:"restoreFromFiles"` + RestoreFromObjectStores []GetKeysKeyRestoreFromObjectStore `pulumi:"restoreFromObjectStores"` + RestoreTrigger bool `pulumi:"restoreTrigger"` + RestoredFromKeyId string `pulumi:"restoredFromKeyId"` + // The key's current lifecycle state. Example: `ENABLED` + State string `pulumi:"state"` + // The date and time the key was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + TimeCreated string `pulumi:"timeCreated"` + // An optional property indicating when to delete the key, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` + TimeOfDeletion string `pulumi:"timeOfDeletion"` + // The OCID of the vault that contains this key. + VaultId string `pulumi:"vaultId"` +} + +// GetKeysKeyInput is an input type that accepts GetKeysKeyArgs and GetKeysKeyOutput values. +// You can construct a concrete instance of `GetKeysKeyInput` via: +// +// GetKeysKeyArgs{...} +type GetKeysKeyInput interface { + pulumi.Input + + ToGetKeysKeyOutput() GetKeysKeyOutput + ToGetKeysKeyOutputWithContext(context.Context) GetKeysKeyOutput +} + +type GetKeysKeyArgs struct { + // The OCID of the compartment. + CompartmentId pulumi.StringInput `pulumi:"compartmentId"` + // The OCID of the key version used in cryptographic operations. During key rotation, the service might be in a transitional state where this or a newer key version are used intermittently. The `currentKeyVersion` property is updated when the service is guaranteed to use the new key version for all subsequent encryption operations. + CurrentKeyVersion pulumi.StringInput `pulumi:"currentKeyVersion"` + // Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` + DefinedTags pulumi.MapInput `pulumi:"definedTags"` + DesiredState pulumi.StringInput `pulumi:"desiredState"` + // A user-friendly name for the key. It does not have to be unique, and it is changeable. Avoid entering confidential information. + DisplayName pulumi.StringInput `pulumi:"displayName"` + // Key reference data to be returned to the customer as a response. + ExternalKeyReferenceDetails GetKeysKeyExternalKeyReferenceDetailArrayInput `pulumi:"externalKeyReferenceDetails"` + ExternalKeyReferences GetKeysKeyExternalKeyReferenceArrayInput `pulumi:"externalKeyReferences"` + // 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` + FreeformTags pulumi.MapInput `pulumi:"freeformTags"` + // The OCID of the key. + Id pulumi.StringInput `pulumi:"id"` + // A Boolean value that indicates whether the Key belongs to primary Vault or replica vault. + IsPrimary pulumi.BoolInput `pulumi:"isPrimary"` + // The cryptographic properties of a key. + KeyShapes GetKeysKeyKeyShapeArrayInput `pulumi:"keyShapes"` + // The service endpoint to perform management operations against. Management operations include 'Create,' 'Update,' 'List,' 'Get,' and 'Delete' operations. See Vault Management endpoint. + ManagementEndpoint pulumi.StringInput `pulumi:"managementEndpoint"` + // A key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager. + ProtectionMode pulumi.StringInput `pulumi:"protectionMode"` + // Key replica details + ReplicaDetails GetKeysKeyReplicaDetailArrayInput `pulumi:"replicaDetails"` + RestoreFromFiles GetKeysKeyRestoreFromFileArrayInput `pulumi:"restoreFromFiles"` + RestoreFromObjectStores GetKeysKeyRestoreFromObjectStoreArrayInput `pulumi:"restoreFromObjectStores"` + RestoreTrigger pulumi.BoolInput `pulumi:"restoreTrigger"` + RestoredFromKeyId pulumi.StringInput `pulumi:"restoredFromKeyId"` + // The key's current lifecycle state. Example: `ENABLED` + State pulumi.StringInput `pulumi:"state"` + // The date and time the key was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + TimeCreated pulumi.StringInput `pulumi:"timeCreated"` + // An optional property indicating when to delete the key, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` + TimeOfDeletion pulumi.StringInput `pulumi:"timeOfDeletion"` + // The OCID of the vault that contains this key. + VaultId pulumi.StringInput `pulumi:"vaultId"` +} + +func (GetKeysKeyArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetKeysKey)(nil)).Elem() +} + +func (i GetKeysKeyArgs) ToGetKeysKeyOutput() GetKeysKeyOutput { + return i.ToGetKeysKeyOutputWithContext(context.Background()) +} + +func (i GetKeysKeyArgs) ToGetKeysKeyOutputWithContext(ctx context.Context) GetKeysKeyOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKeysKeyOutput) +} + +func (i GetKeysKeyArgs) ToOutput(ctx context.Context) pulumix.Output[GetKeysKey] { + return pulumix.Output[GetKeysKey]{ + OutputState: i.ToGetKeysKeyOutputWithContext(ctx).OutputState, + } +} + +// GetKeysKeyArrayInput is an input type that accepts GetKeysKeyArray and GetKeysKeyArrayOutput values. +// You can construct a concrete instance of `GetKeysKeyArrayInput` via: +// +// GetKeysKeyArray{ GetKeysKeyArgs{...} } +type GetKeysKeyArrayInput interface { + pulumi.Input + + ToGetKeysKeyArrayOutput() GetKeysKeyArrayOutput + ToGetKeysKeyArrayOutputWithContext(context.Context) GetKeysKeyArrayOutput +} + +type GetKeysKeyArray []GetKeysKeyInput + +func (GetKeysKeyArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetKeysKey)(nil)).Elem() +} + +func (i GetKeysKeyArray) ToGetKeysKeyArrayOutput() GetKeysKeyArrayOutput { + return i.ToGetKeysKeyArrayOutputWithContext(context.Background()) +} + +func (i GetKeysKeyArray) ToGetKeysKeyArrayOutputWithContext(ctx context.Context) GetKeysKeyArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKeysKeyArrayOutput) +} + +func (i GetKeysKeyArray) ToOutput(ctx context.Context) pulumix.Output[[]GetKeysKey] { + return pulumix.Output[[]GetKeysKey]{ + OutputState: i.ToGetKeysKeyArrayOutputWithContext(ctx).OutputState, + } +} + +type GetKeysKeyOutput struct{ *pulumi.OutputState } + +func (GetKeysKeyOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetKeysKey)(nil)).Elem() +} + +func (o GetKeysKeyOutput) ToGetKeysKeyOutput() GetKeysKeyOutput { + return o +} + +func (o GetKeysKeyOutput) ToGetKeysKeyOutputWithContext(ctx context.Context) GetKeysKeyOutput { + return o +} + +func (o GetKeysKeyOutput) ToOutput(ctx context.Context) pulumix.Output[GetKeysKey] { + return pulumix.Output[GetKeysKey]{ + OutputState: o.OutputState, + } +} + +// The OCID of the compartment. +func (o GetKeysKeyOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v GetKeysKey) string { return v.CompartmentId }).(pulumi.StringOutput) +} + +// The OCID of the key version used in cryptographic operations. During key rotation, the service might be in a transitional state where this or a newer key version are used intermittently. The `currentKeyVersion` property is updated when the service is guaranteed to use the new key version for all subsequent encryption operations. +func (o GetKeysKeyOutput) CurrentKeyVersion() pulumi.StringOutput { + return o.ApplyT(func(v GetKeysKey) string { return v.CurrentKeyVersion }).(pulumi.StringOutput) +} + +// Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` +func (o GetKeysKeyOutput) DefinedTags() pulumi.MapOutput { + return o.ApplyT(func(v GetKeysKey) map[string]interface{} { return v.DefinedTags }).(pulumi.MapOutput) +} + +func (o GetKeysKeyOutput) DesiredState() pulumi.StringOutput { + return o.ApplyT(func(v GetKeysKey) string { return v.DesiredState }).(pulumi.StringOutput) +} + +// A user-friendly name for the key. It does not have to be unique, and it is changeable. Avoid entering confidential information. +func (o GetKeysKeyOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetKeysKey) string { return v.DisplayName }).(pulumi.StringOutput) +} + +// Key reference data to be returned to the customer as a response. +func (o GetKeysKeyOutput) ExternalKeyReferenceDetails() GetKeysKeyExternalKeyReferenceDetailArrayOutput { + return o.ApplyT(func(v GetKeysKey) []GetKeysKeyExternalKeyReferenceDetail { return v.ExternalKeyReferenceDetails }).(GetKeysKeyExternalKeyReferenceDetailArrayOutput) +} + +func (o GetKeysKeyOutput) ExternalKeyReferences() GetKeysKeyExternalKeyReferenceArrayOutput { + return o.ApplyT(func(v GetKeysKey) []GetKeysKeyExternalKeyReference { return v.ExternalKeyReferences }).(GetKeysKeyExternalKeyReferenceArrayOutput) +} + +// 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` +func (o GetKeysKeyOutput) FreeformTags() pulumi.MapOutput { + return o.ApplyT(func(v GetKeysKey) map[string]interface{} { return v.FreeformTags }).(pulumi.MapOutput) +} + +// The OCID of the key. +func (o GetKeysKeyOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetKeysKey) string { return v.Id }).(pulumi.StringOutput) +} + +// A Boolean value that indicates whether the Key belongs to primary Vault or replica vault. +func (o GetKeysKeyOutput) IsPrimary() pulumi.BoolOutput { + return o.ApplyT(func(v GetKeysKey) bool { return v.IsPrimary }).(pulumi.BoolOutput) +} + +// The cryptographic properties of a key. +func (o GetKeysKeyOutput) KeyShapes() GetKeysKeyKeyShapeArrayOutput { + return o.ApplyT(func(v GetKeysKey) []GetKeysKeyKeyShape { return v.KeyShapes }).(GetKeysKeyKeyShapeArrayOutput) +} + +// The service endpoint to perform management operations against. Management operations include 'Create,' 'Update,' 'List,' 'Get,' and 'Delete' operations. See Vault Management endpoint. +func (o GetKeysKeyOutput) ManagementEndpoint() pulumi.StringOutput { + return o.ApplyT(func(v GetKeysKey) string { return v.ManagementEndpoint }).(pulumi.StringOutput) +} + +// A key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager. +func (o GetKeysKeyOutput) ProtectionMode() pulumi.StringOutput { + return o.ApplyT(func(v GetKeysKey) string { return v.ProtectionMode }).(pulumi.StringOutput) +} + +// Key replica details +func (o GetKeysKeyOutput) ReplicaDetails() GetKeysKeyReplicaDetailArrayOutput { + return o.ApplyT(func(v GetKeysKey) []GetKeysKeyReplicaDetail { return v.ReplicaDetails }).(GetKeysKeyReplicaDetailArrayOutput) +} + +func (o GetKeysKeyOutput) RestoreFromFiles() GetKeysKeyRestoreFromFileArrayOutput { + return o.ApplyT(func(v GetKeysKey) []GetKeysKeyRestoreFromFile { return v.RestoreFromFiles }).(GetKeysKeyRestoreFromFileArrayOutput) +} + +func (o GetKeysKeyOutput) RestoreFromObjectStores() GetKeysKeyRestoreFromObjectStoreArrayOutput { + return o.ApplyT(func(v GetKeysKey) []GetKeysKeyRestoreFromObjectStore { return v.RestoreFromObjectStores }).(GetKeysKeyRestoreFromObjectStoreArrayOutput) +} + +func (o GetKeysKeyOutput) RestoreTrigger() pulumi.BoolOutput { + return o.ApplyT(func(v GetKeysKey) bool { return v.RestoreTrigger }).(pulumi.BoolOutput) +} + +func (o GetKeysKeyOutput) RestoredFromKeyId() pulumi.StringOutput { + return o.ApplyT(func(v GetKeysKey) string { return v.RestoredFromKeyId }).(pulumi.StringOutput) +} + +// The key's current lifecycle state. Example: `ENABLED` +func (o GetKeysKeyOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetKeysKey) string { return v.State }).(pulumi.StringOutput) +} + +// The date and time the key was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` +func (o GetKeysKeyOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v GetKeysKey) string { return v.TimeCreated }).(pulumi.StringOutput) +} + +// An optional property indicating when to delete the key, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` +func (o GetKeysKeyOutput) TimeOfDeletion() pulumi.StringOutput { + return o.ApplyT(func(v GetKeysKey) string { return v.TimeOfDeletion }).(pulumi.StringOutput) +} + +// The OCID of the vault that contains this key. +func (o GetKeysKeyOutput) VaultId() pulumi.StringOutput { + return o.ApplyT(func(v GetKeysKey) string { return v.VaultId }).(pulumi.StringOutput) +} + +type GetKeysKeyArrayOutput struct{ *pulumi.OutputState } + +func (GetKeysKeyArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetKeysKey)(nil)).Elem() +} + +func (o GetKeysKeyArrayOutput) ToGetKeysKeyArrayOutput() GetKeysKeyArrayOutput { + return o +} + +func (o GetKeysKeyArrayOutput) ToGetKeysKeyArrayOutputWithContext(ctx context.Context) GetKeysKeyArrayOutput { + return o +} + +func (o GetKeysKeyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetKeysKey] { + return pulumix.Output[[]GetKeysKey]{ + OutputState: o.OutputState, + } +} + +func (o GetKeysKeyArrayOutput) Index(i pulumi.IntInput) GetKeysKeyOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetKeysKey { + return vs[0].([]GetKeysKey)[vs[1].(int)] + }).(GetKeysKeyOutput) +} + +type GetKeysKeyExternalKeyReference struct { + // ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. + ExternalKeyId string `pulumi:"externalKeyId"` +} + +// GetKeysKeyExternalKeyReferenceInput is an input type that accepts GetKeysKeyExternalKeyReferenceArgs and GetKeysKeyExternalKeyReferenceOutput values. +// You can construct a concrete instance of `GetKeysKeyExternalKeyReferenceInput` via: +// +// GetKeysKeyExternalKeyReferenceArgs{...} +type GetKeysKeyExternalKeyReferenceInput interface { + pulumi.Input + + ToGetKeysKeyExternalKeyReferenceOutput() GetKeysKeyExternalKeyReferenceOutput + ToGetKeysKeyExternalKeyReferenceOutputWithContext(context.Context) GetKeysKeyExternalKeyReferenceOutput +} + +type GetKeysKeyExternalKeyReferenceArgs struct { + // ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. + ExternalKeyId pulumi.StringInput `pulumi:"externalKeyId"` +} + +func (GetKeysKeyExternalKeyReferenceArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetKeysKeyExternalKeyReference)(nil)).Elem() +} + +func (i GetKeysKeyExternalKeyReferenceArgs) ToGetKeysKeyExternalKeyReferenceOutput() GetKeysKeyExternalKeyReferenceOutput { + return i.ToGetKeysKeyExternalKeyReferenceOutputWithContext(context.Background()) +} + +func (i GetKeysKeyExternalKeyReferenceArgs) ToGetKeysKeyExternalKeyReferenceOutputWithContext(ctx context.Context) GetKeysKeyExternalKeyReferenceOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKeysKeyExternalKeyReferenceOutput) +} + +func (i GetKeysKeyExternalKeyReferenceArgs) ToOutput(ctx context.Context) pulumix.Output[GetKeysKeyExternalKeyReference] { + return pulumix.Output[GetKeysKeyExternalKeyReference]{ + OutputState: i.ToGetKeysKeyExternalKeyReferenceOutputWithContext(ctx).OutputState, + } +} + +// GetKeysKeyExternalKeyReferenceArrayInput is an input type that accepts GetKeysKeyExternalKeyReferenceArray and GetKeysKeyExternalKeyReferenceArrayOutput values. +// You can construct a concrete instance of `GetKeysKeyExternalKeyReferenceArrayInput` via: +// +// GetKeysKeyExternalKeyReferenceArray{ GetKeysKeyExternalKeyReferenceArgs{...} } +type GetKeysKeyExternalKeyReferenceArrayInput interface { + pulumi.Input + + ToGetKeysKeyExternalKeyReferenceArrayOutput() GetKeysKeyExternalKeyReferenceArrayOutput + ToGetKeysKeyExternalKeyReferenceArrayOutputWithContext(context.Context) GetKeysKeyExternalKeyReferenceArrayOutput +} + +type GetKeysKeyExternalKeyReferenceArray []GetKeysKeyExternalKeyReferenceInput + +func (GetKeysKeyExternalKeyReferenceArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetKeysKeyExternalKeyReference)(nil)).Elem() +} + +func (i GetKeysKeyExternalKeyReferenceArray) ToGetKeysKeyExternalKeyReferenceArrayOutput() GetKeysKeyExternalKeyReferenceArrayOutput { + return i.ToGetKeysKeyExternalKeyReferenceArrayOutputWithContext(context.Background()) +} + +func (i GetKeysKeyExternalKeyReferenceArray) ToGetKeysKeyExternalKeyReferenceArrayOutputWithContext(ctx context.Context) GetKeysKeyExternalKeyReferenceArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKeysKeyExternalKeyReferenceArrayOutput) +} + +func (i GetKeysKeyExternalKeyReferenceArray) ToOutput(ctx context.Context) pulumix.Output[[]GetKeysKeyExternalKeyReference] { + return pulumix.Output[[]GetKeysKeyExternalKeyReference]{ + OutputState: i.ToGetKeysKeyExternalKeyReferenceArrayOutputWithContext(ctx).OutputState, + } +} + +type GetKeysKeyExternalKeyReferenceOutput struct{ *pulumi.OutputState } + +func (GetKeysKeyExternalKeyReferenceOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetKeysKeyExternalKeyReference)(nil)).Elem() +} + +func (o GetKeysKeyExternalKeyReferenceOutput) ToGetKeysKeyExternalKeyReferenceOutput() GetKeysKeyExternalKeyReferenceOutput { + return o +} + +func (o GetKeysKeyExternalKeyReferenceOutput) ToGetKeysKeyExternalKeyReferenceOutputWithContext(ctx context.Context) GetKeysKeyExternalKeyReferenceOutput { + return o +} + +func (o GetKeysKeyExternalKeyReferenceOutput) ToOutput(ctx context.Context) pulumix.Output[GetKeysKeyExternalKeyReference] { + return pulumix.Output[GetKeysKeyExternalKeyReference]{ + OutputState: o.OutputState, + } +} + +// ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. +func (o GetKeysKeyExternalKeyReferenceOutput) ExternalKeyId() pulumi.StringOutput { + return o.ApplyT(func(v GetKeysKeyExternalKeyReference) string { return v.ExternalKeyId }).(pulumi.StringOutput) +} + +type GetKeysKeyExternalKeyReferenceArrayOutput struct{ *pulumi.OutputState } + +func (GetKeysKeyExternalKeyReferenceArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetKeysKeyExternalKeyReference)(nil)).Elem() +} + +func (o GetKeysKeyExternalKeyReferenceArrayOutput) ToGetKeysKeyExternalKeyReferenceArrayOutput() GetKeysKeyExternalKeyReferenceArrayOutput { + return o +} + +func (o GetKeysKeyExternalKeyReferenceArrayOutput) ToGetKeysKeyExternalKeyReferenceArrayOutputWithContext(ctx context.Context) GetKeysKeyExternalKeyReferenceArrayOutput { + return o +} + +func (o GetKeysKeyExternalKeyReferenceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetKeysKeyExternalKeyReference] { + return pulumix.Output[[]GetKeysKeyExternalKeyReference]{ + OutputState: o.OutputState, + } +} + +func (o GetKeysKeyExternalKeyReferenceArrayOutput) Index(i pulumi.IntInput) GetKeysKeyExternalKeyReferenceOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetKeysKeyExternalKeyReference { + return vs[0].([]GetKeysKeyExternalKeyReference)[vs[1].(int)] + }).(GetKeysKeyExternalKeyReferenceOutput) +} + +type GetKeysKeyExternalKeyReferenceDetail struct { + // ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. + ExternalKeyId string `pulumi:"externalKeyId"` + // Key version ID associated with the external key. + ExternalKeyVersionId string `pulumi:"externalKeyVersionId"` +} + +// GetKeysKeyExternalKeyReferenceDetailInput is an input type that accepts GetKeysKeyExternalKeyReferenceDetailArgs and GetKeysKeyExternalKeyReferenceDetailOutput values. +// You can construct a concrete instance of `GetKeysKeyExternalKeyReferenceDetailInput` via: +// +// GetKeysKeyExternalKeyReferenceDetailArgs{...} +type GetKeysKeyExternalKeyReferenceDetailInput interface { + pulumi.Input + + ToGetKeysKeyExternalKeyReferenceDetailOutput() GetKeysKeyExternalKeyReferenceDetailOutput + ToGetKeysKeyExternalKeyReferenceDetailOutputWithContext(context.Context) GetKeysKeyExternalKeyReferenceDetailOutput +} + +type GetKeysKeyExternalKeyReferenceDetailArgs struct { + // ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. + ExternalKeyId pulumi.StringInput `pulumi:"externalKeyId"` + // Key version ID associated with the external key. + ExternalKeyVersionId pulumi.StringInput `pulumi:"externalKeyVersionId"` +} + +func (GetKeysKeyExternalKeyReferenceDetailArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetKeysKeyExternalKeyReferenceDetail)(nil)).Elem() +} + +func (i GetKeysKeyExternalKeyReferenceDetailArgs) ToGetKeysKeyExternalKeyReferenceDetailOutput() GetKeysKeyExternalKeyReferenceDetailOutput { + return i.ToGetKeysKeyExternalKeyReferenceDetailOutputWithContext(context.Background()) +} + +func (i GetKeysKeyExternalKeyReferenceDetailArgs) ToGetKeysKeyExternalKeyReferenceDetailOutputWithContext(ctx context.Context) GetKeysKeyExternalKeyReferenceDetailOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKeysKeyExternalKeyReferenceDetailOutput) +} + +func (i GetKeysKeyExternalKeyReferenceDetailArgs) ToOutput(ctx context.Context) pulumix.Output[GetKeysKeyExternalKeyReferenceDetail] { + return pulumix.Output[GetKeysKeyExternalKeyReferenceDetail]{ + OutputState: i.ToGetKeysKeyExternalKeyReferenceDetailOutputWithContext(ctx).OutputState, + } +} + +// GetKeysKeyExternalKeyReferenceDetailArrayInput is an input type that accepts GetKeysKeyExternalKeyReferenceDetailArray and GetKeysKeyExternalKeyReferenceDetailArrayOutput values. +// You can construct a concrete instance of `GetKeysKeyExternalKeyReferenceDetailArrayInput` via: +// +// GetKeysKeyExternalKeyReferenceDetailArray{ GetKeysKeyExternalKeyReferenceDetailArgs{...} } +type GetKeysKeyExternalKeyReferenceDetailArrayInput interface { + pulumi.Input + + ToGetKeysKeyExternalKeyReferenceDetailArrayOutput() GetKeysKeyExternalKeyReferenceDetailArrayOutput + ToGetKeysKeyExternalKeyReferenceDetailArrayOutputWithContext(context.Context) GetKeysKeyExternalKeyReferenceDetailArrayOutput +} + +type GetKeysKeyExternalKeyReferenceDetailArray []GetKeysKeyExternalKeyReferenceDetailInput + +func (GetKeysKeyExternalKeyReferenceDetailArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetKeysKeyExternalKeyReferenceDetail)(nil)).Elem() +} + +func (i GetKeysKeyExternalKeyReferenceDetailArray) ToGetKeysKeyExternalKeyReferenceDetailArrayOutput() GetKeysKeyExternalKeyReferenceDetailArrayOutput { + return i.ToGetKeysKeyExternalKeyReferenceDetailArrayOutputWithContext(context.Background()) +} + +func (i GetKeysKeyExternalKeyReferenceDetailArray) ToGetKeysKeyExternalKeyReferenceDetailArrayOutputWithContext(ctx context.Context) GetKeysKeyExternalKeyReferenceDetailArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKeysKeyExternalKeyReferenceDetailArrayOutput) +} + +func (i GetKeysKeyExternalKeyReferenceDetailArray) ToOutput(ctx context.Context) pulumix.Output[[]GetKeysKeyExternalKeyReferenceDetail] { + return pulumix.Output[[]GetKeysKeyExternalKeyReferenceDetail]{ + OutputState: i.ToGetKeysKeyExternalKeyReferenceDetailArrayOutputWithContext(ctx).OutputState, + } +} + +type GetKeysKeyExternalKeyReferenceDetailOutput struct{ *pulumi.OutputState } + +func (GetKeysKeyExternalKeyReferenceDetailOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetKeysKeyExternalKeyReferenceDetail)(nil)).Elem() +} + +func (o GetKeysKeyExternalKeyReferenceDetailOutput) ToGetKeysKeyExternalKeyReferenceDetailOutput() GetKeysKeyExternalKeyReferenceDetailOutput { + return o +} + +func (o GetKeysKeyExternalKeyReferenceDetailOutput) ToGetKeysKeyExternalKeyReferenceDetailOutputWithContext(ctx context.Context) GetKeysKeyExternalKeyReferenceDetailOutput { + return o +} + +func (o GetKeysKeyExternalKeyReferenceDetailOutput) ToOutput(ctx context.Context) pulumix.Output[GetKeysKeyExternalKeyReferenceDetail] { + return pulumix.Output[GetKeysKeyExternalKeyReferenceDetail]{ + OutputState: o.OutputState, + } +} + +// ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. +func (o GetKeysKeyExternalKeyReferenceDetailOutput) ExternalKeyId() pulumi.StringOutput { + return o.ApplyT(func(v GetKeysKeyExternalKeyReferenceDetail) string { return v.ExternalKeyId }).(pulumi.StringOutput) +} + +// Key version ID associated with the external key. +func (o GetKeysKeyExternalKeyReferenceDetailOutput) ExternalKeyVersionId() pulumi.StringOutput { + return o.ApplyT(func(v GetKeysKeyExternalKeyReferenceDetail) string { return v.ExternalKeyVersionId }).(pulumi.StringOutput) +} + +type GetKeysKeyExternalKeyReferenceDetailArrayOutput struct{ *pulumi.OutputState } + +func (GetKeysKeyExternalKeyReferenceDetailArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetKeysKeyExternalKeyReferenceDetail)(nil)).Elem() +} + +func (o GetKeysKeyExternalKeyReferenceDetailArrayOutput) ToGetKeysKeyExternalKeyReferenceDetailArrayOutput() GetKeysKeyExternalKeyReferenceDetailArrayOutput { + return o +} + +func (o GetKeysKeyExternalKeyReferenceDetailArrayOutput) ToGetKeysKeyExternalKeyReferenceDetailArrayOutputWithContext(ctx context.Context) GetKeysKeyExternalKeyReferenceDetailArrayOutput { + return o +} + +func (o GetKeysKeyExternalKeyReferenceDetailArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetKeysKeyExternalKeyReferenceDetail] { + return pulumix.Output[[]GetKeysKeyExternalKeyReferenceDetail]{ + OutputState: o.OutputState, + } +} + +func (o GetKeysKeyExternalKeyReferenceDetailArrayOutput) Index(i pulumi.IntInput) GetKeysKeyExternalKeyReferenceDetailOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetKeysKeyExternalKeyReferenceDetail { + return vs[0].([]GetKeysKeyExternalKeyReferenceDetail)[vs[1].(int)] + }).(GetKeysKeyExternalKeyReferenceDetailOutput) +} + +type GetKeysKeyKeyShape struct { + // The algorithm used by a key's key versions to encrypt or decrypt data. Currently, support includes AES, RSA, and ECDSA algorithms. + Algorithm string `pulumi:"algorithm"` + // The curve ID of the keys. (This pertains only to ECDSA keys.) + CurveId string `pulumi:"curveId"` + // The length of the key in bytes, expressed as an integer. Supported values include 16, 24, or 32. + Length int `pulumi:"length"` +} + +// GetKeysKeyKeyShapeInput is an input type that accepts GetKeysKeyKeyShapeArgs and GetKeysKeyKeyShapeOutput values. +// You can construct a concrete instance of `GetKeysKeyKeyShapeInput` via: +// +// GetKeysKeyKeyShapeArgs{...} +type GetKeysKeyKeyShapeInput interface { + pulumi.Input + + ToGetKeysKeyKeyShapeOutput() GetKeysKeyKeyShapeOutput + ToGetKeysKeyKeyShapeOutputWithContext(context.Context) GetKeysKeyKeyShapeOutput +} + +type GetKeysKeyKeyShapeArgs struct { + // The algorithm used by a key's key versions to encrypt or decrypt data. Currently, support includes AES, RSA, and ECDSA algorithms. + Algorithm pulumi.StringInput `pulumi:"algorithm"` + // The curve ID of the keys. (This pertains only to ECDSA keys.) + CurveId pulumi.StringInput `pulumi:"curveId"` + // The length of the key in bytes, expressed as an integer. Supported values include 16, 24, or 32. + Length pulumi.IntInput `pulumi:"length"` +} + +func (GetKeysKeyKeyShapeArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetKeysKeyKeyShape)(nil)).Elem() +} + +func (i GetKeysKeyKeyShapeArgs) ToGetKeysKeyKeyShapeOutput() GetKeysKeyKeyShapeOutput { + return i.ToGetKeysKeyKeyShapeOutputWithContext(context.Background()) +} + +func (i GetKeysKeyKeyShapeArgs) ToGetKeysKeyKeyShapeOutputWithContext(ctx context.Context) GetKeysKeyKeyShapeOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKeysKeyKeyShapeOutput) +} + +func (i GetKeysKeyKeyShapeArgs) ToOutput(ctx context.Context) pulumix.Output[GetKeysKeyKeyShape] { + return pulumix.Output[GetKeysKeyKeyShape]{ + OutputState: i.ToGetKeysKeyKeyShapeOutputWithContext(ctx).OutputState, + } +} + +// GetKeysKeyKeyShapeArrayInput is an input type that accepts GetKeysKeyKeyShapeArray and GetKeysKeyKeyShapeArrayOutput values. +// You can construct a concrete instance of `GetKeysKeyKeyShapeArrayInput` via: +// +// GetKeysKeyKeyShapeArray{ GetKeysKeyKeyShapeArgs{...} } +type GetKeysKeyKeyShapeArrayInput interface { + pulumi.Input + + ToGetKeysKeyKeyShapeArrayOutput() GetKeysKeyKeyShapeArrayOutput + ToGetKeysKeyKeyShapeArrayOutputWithContext(context.Context) GetKeysKeyKeyShapeArrayOutput +} + +type GetKeysKeyKeyShapeArray []GetKeysKeyKeyShapeInput + +func (GetKeysKeyKeyShapeArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetKeysKeyKeyShape)(nil)).Elem() +} + +func (i GetKeysKeyKeyShapeArray) ToGetKeysKeyKeyShapeArrayOutput() GetKeysKeyKeyShapeArrayOutput { + return i.ToGetKeysKeyKeyShapeArrayOutputWithContext(context.Background()) +} + +func (i GetKeysKeyKeyShapeArray) ToGetKeysKeyKeyShapeArrayOutputWithContext(ctx context.Context) GetKeysKeyKeyShapeArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKeysKeyKeyShapeArrayOutput) +} + +func (i GetKeysKeyKeyShapeArray) ToOutput(ctx context.Context) pulumix.Output[[]GetKeysKeyKeyShape] { + return pulumix.Output[[]GetKeysKeyKeyShape]{ + OutputState: i.ToGetKeysKeyKeyShapeArrayOutputWithContext(ctx).OutputState, + } +} + +type GetKeysKeyKeyShapeOutput struct{ *pulumi.OutputState } + +func (GetKeysKeyKeyShapeOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetKeysKeyKeyShape)(nil)).Elem() +} + +func (o GetKeysKeyKeyShapeOutput) ToGetKeysKeyKeyShapeOutput() GetKeysKeyKeyShapeOutput { + return o +} + +func (o GetKeysKeyKeyShapeOutput) ToGetKeysKeyKeyShapeOutputWithContext(ctx context.Context) GetKeysKeyKeyShapeOutput { + return o +} + +func (o GetKeysKeyKeyShapeOutput) ToOutput(ctx context.Context) pulumix.Output[GetKeysKeyKeyShape] { + return pulumix.Output[GetKeysKeyKeyShape]{ + OutputState: o.OutputState, + } +} + +// The algorithm used by a key's key versions to encrypt or decrypt data. Currently, support includes AES, RSA, and ECDSA algorithms. +func (o GetKeysKeyKeyShapeOutput) Algorithm() pulumi.StringOutput { + return o.ApplyT(func(v GetKeysKeyKeyShape) string { return v.Algorithm }).(pulumi.StringOutput) +} + +// The curve ID of the keys. (This pertains only to ECDSA keys.) +func (o GetKeysKeyKeyShapeOutput) CurveId() pulumi.StringOutput { + return o.ApplyT(func(v GetKeysKeyKeyShape) string { return v.CurveId }).(pulumi.StringOutput) +} + +// The length of the key in bytes, expressed as an integer. Supported values include 16, 24, or 32. +func (o GetKeysKeyKeyShapeOutput) Length() pulumi.IntOutput { + return o.ApplyT(func(v GetKeysKeyKeyShape) int { return v.Length }).(pulumi.IntOutput) +} + +type GetKeysKeyKeyShapeArrayOutput struct{ *pulumi.OutputState } + +func (GetKeysKeyKeyShapeArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetKeysKeyKeyShape)(nil)).Elem() +} + +func (o GetKeysKeyKeyShapeArrayOutput) ToGetKeysKeyKeyShapeArrayOutput() GetKeysKeyKeyShapeArrayOutput { + return o +} + +func (o GetKeysKeyKeyShapeArrayOutput) ToGetKeysKeyKeyShapeArrayOutputWithContext(ctx context.Context) GetKeysKeyKeyShapeArrayOutput { + return o +} + +func (o GetKeysKeyKeyShapeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetKeysKeyKeyShape] { + return pulumix.Output[[]GetKeysKeyKeyShape]{ + OutputState: o.OutputState, + } +} + +func (o GetKeysKeyKeyShapeArrayOutput) Index(i pulumi.IntInput) GetKeysKeyKeyShapeOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetKeysKeyKeyShape { + return vs[0].([]GetKeysKeyKeyShape)[vs[1].(int)] + }).(GetKeysKeyKeyShapeOutput) +} + +type GetKeysKeyReplicaDetail struct { + // ReplicationId associated with a key operation + ReplicationId string `pulumi:"replicationId"` +} + +// GetKeysKeyReplicaDetailInput is an input type that accepts GetKeysKeyReplicaDetailArgs and GetKeysKeyReplicaDetailOutput values. +// You can construct a concrete instance of `GetKeysKeyReplicaDetailInput` via: +// +// GetKeysKeyReplicaDetailArgs{...} +type GetKeysKeyReplicaDetailInput interface { + pulumi.Input + + ToGetKeysKeyReplicaDetailOutput() GetKeysKeyReplicaDetailOutput + ToGetKeysKeyReplicaDetailOutputWithContext(context.Context) GetKeysKeyReplicaDetailOutput +} + +type GetKeysKeyReplicaDetailArgs struct { + // ReplicationId associated with a key operation + ReplicationId pulumi.StringInput `pulumi:"replicationId"` +} + +func (GetKeysKeyReplicaDetailArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetKeysKeyReplicaDetail)(nil)).Elem() +} + +func (i GetKeysKeyReplicaDetailArgs) ToGetKeysKeyReplicaDetailOutput() GetKeysKeyReplicaDetailOutput { + return i.ToGetKeysKeyReplicaDetailOutputWithContext(context.Background()) +} + +func (i GetKeysKeyReplicaDetailArgs) ToGetKeysKeyReplicaDetailOutputWithContext(ctx context.Context) GetKeysKeyReplicaDetailOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKeysKeyReplicaDetailOutput) +} + +func (i GetKeysKeyReplicaDetailArgs) ToOutput(ctx context.Context) pulumix.Output[GetKeysKeyReplicaDetail] { + return pulumix.Output[GetKeysKeyReplicaDetail]{ + OutputState: i.ToGetKeysKeyReplicaDetailOutputWithContext(ctx).OutputState, + } +} + +// GetKeysKeyReplicaDetailArrayInput is an input type that accepts GetKeysKeyReplicaDetailArray and GetKeysKeyReplicaDetailArrayOutput values. +// You can construct a concrete instance of `GetKeysKeyReplicaDetailArrayInput` via: +// +// GetKeysKeyReplicaDetailArray{ GetKeysKeyReplicaDetailArgs{...} } +type GetKeysKeyReplicaDetailArrayInput interface { + pulumi.Input + + ToGetKeysKeyReplicaDetailArrayOutput() GetKeysKeyReplicaDetailArrayOutput + ToGetKeysKeyReplicaDetailArrayOutputWithContext(context.Context) GetKeysKeyReplicaDetailArrayOutput +} + +type GetKeysKeyReplicaDetailArray []GetKeysKeyReplicaDetailInput + +func (GetKeysKeyReplicaDetailArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetKeysKeyReplicaDetail)(nil)).Elem() +} + +func (i GetKeysKeyReplicaDetailArray) ToGetKeysKeyReplicaDetailArrayOutput() GetKeysKeyReplicaDetailArrayOutput { + return i.ToGetKeysKeyReplicaDetailArrayOutputWithContext(context.Background()) +} + +func (i GetKeysKeyReplicaDetailArray) ToGetKeysKeyReplicaDetailArrayOutputWithContext(ctx context.Context) GetKeysKeyReplicaDetailArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKeysKeyReplicaDetailArrayOutput) +} + +func (i GetKeysKeyReplicaDetailArray) ToOutput(ctx context.Context) pulumix.Output[[]GetKeysKeyReplicaDetail] { + return pulumix.Output[[]GetKeysKeyReplicaDetail]{ + OutputState: i.ToGetKeysKeyReplicaDetailArrayOutputWithContext(ctx).OutputState, + } +} + +type GetKeysKeyReplicaDetailOutput struct{ *pulumi.OutputState } + +func (GetKeysKeyReplicaDetailOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetKeysKeyReplicaDetail)(nil)).Elem() +} + +func (o GetKeysKeyReplicaDetailOutput) ToGetKeysKeyReplicaDetailOutput() GetKeysKeyReplicaDetailOutput { + return o +} + +func (o GetKeysKeyReplicaDetailOutput) ToGetKeysKeyReplicaDetailOutputWithContext(ctx context.Context) GetKeysKeyReplicaDetailOutput { + return o +} + +func (o GetKeysKeyReplicaDetailOutput) ToOutput(ctx context.Context) pulumix.Output[GetKeysKeyReplicaDetail] { + return pulumix.Output[GetKeysKeyReplicaDetail]{ + OutputState: o.OutputState, + } +} + +// ReplicationId associated with a key operation +func (o GetKeysKeyReplicaDetailOutput) ReplicationId() pulumi.StringOutput { + return o.ApplyT(func(v GetKeysKeyReplicaDetail) string { return v.ReplicationId }).(pulumi.StringOutput) +} + +type GetKeysKeyReplicaDetailArrayOutput struct{ *pulumi.OutputState } + +func (GetKeysKeyReplicaDetailArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetKeysKeyReplicaDetail)(nil)).Elem() +} + +func (o GetKeysKeyReplicaDetailArrayOutput) ToGetKeysKeyReplicaDetailArrayOutput() GetKeysKeyReplicaDetailArrayOutput { + return o +} + +func (o GetKeysKeyReplicaDetailArrayOutput) ToGetKeysKeyReplicaDetailArrayOutputWithContext(ctx context.Context) GetKeysKeyReplicaDetailArrayOutput { + return o +} + +func (o GetKeysKeyReplicaDetailArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetKeysKeyReplicaDetail] { + return pulumix.Output[[]GetKeysKeyReplicaDetail]{ + OutputState: o.OutputState, + } +} + +func (o GetKeysKeyReplicaDetailArrayOutput) Index(i pulumi.IntInput) GetKeysKeyReplicaDetailOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetKeysKeyReplicaDetail { + return vs[0].([]GetKeysKeyReplicaDetail)[vs[1].(int)] + }).(GetKeysKeyReplicaDetailOutput) +} + +type GetKeysKeyRestoreFromFile struct { + ContentLength string `pulumi:"contentLength"` + ContentMd5 string `pulumi:"contentMd5"` + RestoreKeyFromFileDetails string `pulumi:"restoreKeyFromFileDetails"` +} + +// GetKeysKeyRestoreFromFileInput is an input type that accepts GetKeysKeyRestoreFromFileArgs and GetKeysKeyRestoreFromFileOutput values. +// You can construct a concrete instance of `GetKeysKeyRestoreFromFileInput` via: +// +// GetKeysKeyRestoreFromFileArgs{...} +type GetKeysKeyRestoreFromFileInput interface { + pulumi.Input + + ToGetKeysKeyRestoreFromFileOutput() GetKeysKeyRestoreFromFileOutput + ToGetKeysKeyRestoreFromFileOutputWithContext(context.Context) GetKeysKeyRestoreFromFileOutput +} + +type GetKeysKeyRestoreFromFileArgs struct { + ContentLength pulumi.StringInput `pulumi:"contentLength"` + ContentMd5 pulumi.StringInput `pulumi:"contentMd5"` + RestoreKeyFromFileDetails pulumi.StringInput `pulumi:"restoreKeyFromFileDetails"` +} + +func (GetKeysKeyRestoreFromFileArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetKeysKeyRestoreFromFile)(nil)).Elem() +} + +func (i GetKeysKeyRestoreFromFileArgs) ToGetKeysKeyRestoreFromFileOutput() GetKeysKeyRestoreFromFileOutput { + return i.ToGetKeysKeyRestoreFromFileOutputWithContext(context.Background()) +} + +func (i GetKeysKeyRestoreFromFileArgs) ToGetKeysKeyRestoreFromFileOutputWithContext(ctx context.Context) GetKeysKeyRestoreFromFileOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKeysKeyRestoreFromFileOutput) +} + +func (i GetKeysKeyRestoreFromFileArgs) ToOutput(ctx context.Context) pulumix.Output[GetKeysKeyRestoreFromFile] { + return pulumix.Output[GetKeysKeyRestoreFromFile]{ + OutputState: i.ToGetKeysKeyRestoreFromFileOutputWithContext(ctx).OutputState, + } +} + +// GetKeysKeyRestoreFromFileArrayInput is an input type that accepts GetKeysKeyRestoreFromFileArray and GetKeysKeyRestoreFromFileArrayOutput values. +// You can construct a concrete instance of `GetKeysKeyRestoreFromFileArrayInput` via: +// +// GetKeysKeyRestoreFromFileArray{ GetKeysKeyRestoreFromFileArgs{...} } +type GetKeysKeyRestoreFromFileArrayInput interface { + pulumi.Input + + ToGetKeysKeyRestoreFromFileArrayOutput() GetKeysKeyRestoreFromFileArrayOutput + ToGetKeysKeyRestoreFromFileArrayOutputWithContext(context.Context) GetKeysKeyRestoreFromFileArrayOutput +} + +type GetKeysKeyRestoreFromFileArray []GetKeysKeyRestoreFromFileInput + +func (GetKeysKeyRestoreFromFileArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetKeysKeyRestoreFromFile)(nil)).Elem() +} + +func (i GetKeysKeyRestoreFromFileArray) ToGetKeysKeyRestoreFromFileArrayOutput() GetKeysKeyRestoreFromFileArrayOutput { + return i.ToGetKeysKeyRestoreFromFileArrayOutputWithContext(context.Background()) +} + +func (i GetKeysKeyRestoreFromFileArray) ToGetKeysKeyRestoreFromFileArrayOutputWithContext(ctx context.Context) GetKeysKeyRestoreFromFileArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKeysKeyRestoreFromFileArrayOutput) +} + +func (i GetKeysKeyRestoreFromFileArray) ToOutput(ctx context.Context) pulumix.Output[[]GetKeysKeyRestoreFromFile] { + return pulumix.Output[[]GetKeysKeyRestoreFromFile]{ + OutputState: i.ToGetKeysKeyRestoreFromFileArrayOutputWithContext(ctx).OutputState, + } +} + +type GetKeysKeyRestoreFromFileOutput struct{ *pulumi.OutputState } + +func (GetKeysKeyRestoreFromFileOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetKeysKeyRestoreFromFile)(nil)).Elem() +} + +func (o GetKeysKeyRestoreFromFileOutput) ToGetKeysKeyRestoreFromFileOutput() GetKeysKeyRestoreFromFileOutput { + return o +} + +func (o GetKeysKeyRestoreFromFileOutput) ToGetKeysKeyRestoreFromFileOutputWithContext(ctx context.Context) GetKeysKeyRestoreFromFileOutput { + return o +} + +func (o GetKeysKeyRestoreFromFileOutput) ToOutput(ctx context.Context) pulumix.Output[GetKeysKeyRestoreFromFile] { + return pulumix.Output[GetKeysKeyRestoreFromFile]{ + OutputState: o.OutputState, + } +} + +func (o GetKeysKeyRestoreFromFileOutput) ContentLength() pulumi.StringOutput { + return o.ApplyT(func(v GetKeysKeyRestoreFromFile) string { return v.ContentLength }).(pulumi.StringOutput) +} + +func (o GetKeysKeyRestoreFromFileOutput) ContentMd5() pulumi.StringOutput { + return o.ApplyT(func(v GetKeysKeyRestoreFromFile) string { return v.ContentMd5 }).(pulumi.StringOutput) +} + +func (o GetKeysKeyRestoreFromFileOutput) RestoreKeyFromFileDetails() pulumi.StringOutput { + return o.ApplyT(func(v GetKeysKeyRestoreFromFile) string { return v.RestoreKeyFromFileDetails }).(pulumi.StringOutput) +} + +type GetKeysKeyRestoreFromFileArrayOutput struct{ *pulumi.OutputState } + +func (GetKeysKeyRestoreFromFileArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetKeysKeyRestoreFromFile)(nil)).Elem() +} + +func (o GetKeysKeyRestoreFromFileArrayOutput) ToGetKeysKeyRestoreFromFileArrayOutput() GetKeysKeyRestoreFromFileArrayOutput { + return o +} + +func (o GetKeysKeyRestoreFromFileArrayOutput) ToGetKeysKeyRestoreFromFileArrayOutputWithContext(ctx context.Context) GetKeysKeyRestoreFromFileArrayOutput { + return o +} + +func (o GetKeysKeyRestoreFromFileArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetKeysKeyRestoreFromFile] { + return pulumix.Output[[]GetKeysKeyRestoreFromFile]{ + OutputState: o.OutputState, + } +} + +func (o GetKeysKeyRestoreFromFileArrayOutput) Index(i pulumi.IntInput) GetKeysKeyRestoreFromFileOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetKeysKeyRestoreFromFile { + return vs[0].([]GetKeysKeyRestoreFromFile)[vs[1].(int)] + }).(GetKeysKeyRestoreFromFileOutput) +} + +type GetKeysKeyRestoreFromObjectStore struct { + Bucket string `pulumi:"bucket"` + Destination string `pulumi:"destination"` + Namespace string `pulumi:"namespace"` + Object string `pulumi:"object"` + Uri string `pulumi:"uri"` +} + +// GetKeysKeyRestoreFromObjectStoreInput is an input type that accepts GetKeysKeyRestoreFromObjectStoreArgs and GetKeysKeyRestoreFromObjectStoreOutput values. +// You can construct a concrete instance of `GetKeysKeyRestoreFromObjectStoreInput` via: +// +// GetKeysKeyRestoreFromObjectStoreArgs{...} +type GetKeysKeyRestoreFromObjectStoreInput interface { + pulumi.Input + + ToGetKeysKeyRestoreFromObjectStoreOutput() GetKeysKeyRestoreFromObjectStoreOutput + ToGetKeysKeyRestoreFromObjectStoreOutputWithContext(context.Context) GetKeysKeyRestoreFromObjectStoreOutput +} + +type GetKeysKeyRestoreFromObjectStoreArgs struct { + Bucket pulumi.StringInput `pulumi:"bucket"` + Destination pulumi.StringInput `pulumi:"destination"` + Namespace pulumi.StringInput `pulumi:"namespace"` + Object pulumi.StringInput `pulumi:"object"` + Uri pulumi.StringInput `pulumi:"uri"` +} + +func (GetKeysKeyRestoreFromObjectStoreArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetKeysKeyRestoreFromObjectStore)(nil)).Elem() +} + +func (i GetKeysKeyRestoreFromObjectStoreArgs) ToGetKeysKeyRestoreFromObjectStoreOutput() GetKeysKeyRestoreFromObjectStoreOutput { + return i.ToGetKeysKeyRestoreFromObjectStoreOutputWithContext(context.Background()) +} + +func (i GetKeysKeyRestoreFromObjectStoreArgs) ToGetKeysKeyRestoreFromObjectStoreOutputWithContext(ctx context.Context) GetKeysKeyRestoreFromObjectStoreOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKeysKeyRestoreFromObjectStoreOutput) +} + +func (i GetKeysKeyRestoreFromObjectStoreArgs) ToOutput(ctx context.Context) pulumix.Output[GetKeysKeyRestoreFromObjectStore] { + return pulumix.Output[GetKeysKeyRestoreFromObjectStore]{ + OutputState: i.ToGetKeysKeyRestoreFromObjectStoreOutputWithContext(ctx).OutputState, + } +} + +// GetKeysKeyRestoreFromObjectStoreArrayInput is an input type that accepts GetKeysKeyRestoreFromObjectStoreArray and GetKeysKeyRestoreFromObjectStoreArrayOutput values. +// You can construct a concrete instance of `GetKeysKeyRestoreFromObjectStoreArrayInput` via: +// +// GetKeysKeyRestoreFromObjectStoreArray{ GetKeysKeyRestoreFromObjectStoreArgs{...} } +type GetKeysKeyRestoreFromObjectStoreArrayInput interface { + pulumi.Input + + ToGetKeysKeyRestoreFromObjectStoreArrayOutput() GetKeysKeyRestoreFromObjectStoreArrayOutput + ToGetKeysKeyRestoreFromObjectStoreArrayOutputWithContext(context.Context) GetKeysKeyRestoreFromObjectStoreArrayOutput } -// The OCID of the key version. -func (o GetKeyVersionsKeyVersionOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetKeyVersionsKeyVersion) string { return v.Id }).(pulumi.StringOutput) +type GetKeysKeyRestoreFromObjectStoreArray []GetKeysKeyRestoreFromObjectStoreInput + +func (GetKeysKeyRestoreFromObjectStoreArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetKeysKeyRestoreFromObjectStore)(nil)).Elem() } -// A boolean that will be true when key version is primary, and will be false when key version is a replica from a primary key version. -func (o GetKeyVersionsKeyVersionOutput) IsPrimary() pulumi.BoolOutput { - return o.ApplyT(func(v GetKeyVersionsKeyVersion) bool { return v.IsPrimary }).(pulumi.BoolOutput) +func (i GetKeysKeyRestoreFromObjectStoreArray) ToGetKeysKeyRestoreFromObjectStoreArrayOutput() GetKeysKeyRestoreFromObjectStoreArrayOutput { + return i.ToGetKeysKeyRestoreFromObjectStoreArrayOutputWithContext(context.Background()) } -// The OCID of the key. -func (o GetKeyVersionsKeyVersionOutput) KeyId() pulumi.StringOutput { - return o.ApplyT(func(v GetKeyVersionsKeyVersion) string { return v.KeyId }).(pulumi.StringOutput) +func (i GetKeysKeyRestoreFromObjectStoreArray) ToGetKeysKeyRestoreFromObjectStoreArrayOutputWithContext(ctx context.Context) GetKeysKeyRestoreFromObjectStoreArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetKeysKeyRestoreFromObjectStoreArrayOutput) } -// The OCID of the key version. -func (o GetKeyVersionsKeyVersionOutput) KeyVersionId() pulumi.StringOutput { - return o.ApplyT(func(v GetKeyVersionsKeyVersion) string { return v.KeyVersionId }).(pulumi.StringOutput) +func (i GetKeysKeyRestoreFromObjectStoreArray) ToOutput(ctx context.Context) pulumix.Output[[]GetKeysKeyRestoreFromObjectStore] { + return pulumix.Output[[]GetKeysKeyRestoreFromObjectStore]{ + OutputState: i.ToGetKeysKeyRestoreFromObjectStoreArrayOutputWithContext(ctx).OutputState, + } } -// The service endpoint to perform management operations against. Management operations include 'Create,' 'Update,' 'List,' 'Get,' and 'Delete' operations. See Vault Management endpoint. -func (o GetKeyVersionsKeyVersionOutput) ManagementEndpoint() pulumi.StringOutput { - return o.ApplyT(func(v GetKeyVersionsKeyVersion) string { return v.ManagementEndpoint }).(pulumi.StringOutput) +type GetKeysKeyRestoreFromObjectStoreOutput struct{ *pulumi.OutputState } + +func (GetKeysKeyRestoreFromObjectStoreOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetKeysKeyRestoreFromObjectStore)(nil)).Elem() } -// The public key in PEM format. (This value pertains only to RSA and ECDSA keys.) -func (o GetKeyVersionsKeyVersionOutput) PublicKey() pulumi.StringOutput { - return o.ApplyT(func(v GetKeyVersionsKeyVersion) string { return v.PublicKey }).(pulumi.StringOutput) +func (o GetKeysKeyRestoreFromObjectStoreOutput) ToGetKeysKeyRestoreFromObjectStoreOutput() GetKeysKeyRestoreFromObjectStoreOutput { + return o } -// KeyVersion replica details -func (o GetKeyVersionsKeyVersionOutput) ReplicaDetails() GetKeyVersionsKeyVersionReplicaDetailArrayOutput { - return o.ApplyT(func(v GetKeyVersionsKeyVersion) []GetKeyVersionsKeyVersionReplicaDetail { return v.ReplicaDetails }).(GetKeyVersionsKeyVersionReplicaDetailArrayOutput) +func (o GetKeysKeyRestoreFromObjectStoreOutput) ToGetKeysKeyRestoreFromObjectStoreOutputWithContext(ctx context.Context) GetKeysKeyRestoreFromObjectStoreOutput { + return o } -func (o GetKeyVersionsKeyVersionOutput) RestoredFromKeyId() pulumi.StringOutput { - return o.ApplyT(func(v GetKeyVersionsKeyVersion) string { return v.RestoredFromKeyId }).(pulumi.StringOutput) +func (o GetKeysKeyRestoreFromObjectStoreOutput) ToOutput(ctx context.Context) pulumix.Output[GetKeysKeyRestoreFromObjectStore] { + return pulumix.Output[GetKeysKeyRestoreFromObjectStore]{ + OutputState: o.OutputState, + } } -// The OCID of the key version from which this key version was restored. -func (o GetKeyVersionsKeyVersionOutput) RestoredFromKeyVersionId() pulumi.StringOutput { - return o.ApplyT(func(v GetKeyVersionsKeyVersion) string { return v.RestoredFromKeyVersionId }).(pulumi.StringOutput) +func (o GetKeysKeyRestoreFromObjectStoreOutput) Bucket() pulumi.StringOutput { + return o.ApplyT(func(v GetKeysKeyRestoreFromObjectStore) string { return v.Bucket }).(pulumi.StringOutput) } -// The key version's current lifecycle state. Example: `ENABLED` -func (o GetKeyVersionsKeyVersionOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetKeyVersionsKeyVersion) string { return v.State }).(pulumi.StringOutput) +func (o GetKeysKeyRestoreFromObjectStoreOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetKeysKeyRestoreFromObjectStore) string { return v.Destination }).(pulumi.StringOutput) } -// The date and time this key version was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: "2018-04-03T21:10:29.600Z" -func (o GetKeyVersionsKeyVersionOutput) TimeCreated() pulumi.StringOutput { - return o.ApplyT(func(v GetKeyVersionsKeyVersion) string { return v.TimeCreated }).(pulumi.StringOutput) +func (o GetKeysKeyRestoreFromObjectStoreOutput) Namespace() pulumi.StringOutput { + return o.ApplyT(func(v GetKeysKeyRestoreFromObjectStore) string { return v.Namespace }).(pulumi.StringOutput) } -// An optional property to indicate when to delete the key version, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` -func (o GetKeyVersionsKeyVersionOutput) TimeOfDeletion() pulumi.StringOutput { - return o.ApplyT(func(v GetKeyVersionsKeyVersion) string { return v.TimeOfDeletion }).(pulumi.StringOutput) +func (o GetKeysKeyRestoreFromObjectStoreOutput) Object() pulumi.StringOutput { + return o.ApplyT(func(v GetKeysKeyRestoreFromObjectStore) string { return v.Object }).(pulumi.StringOutput) } -// The OCID of the vault that contains this key version. -func (o GetKeyVersionsKeyVersionOutput) VaultId() pulumi.StringOutput { - return o.ApplyT(func(v GetKeyVersionsKeyVersion) string { return v.VaultId }).(pulumi.StringOutput) +func (o GetKeysKeyRestoreFromObjectStoreOutput) Uri() pulumi.StringOutput { + return o.ApplyT(func(v GetKeysKeyRestoreFromObjectStore) string { return v.Uri }).(pulumi.StringOutput) } -type GetKeyVersionsKeyVersionArrayOutput struct{ *pulumi.OutputState } +type GetKeysKeyRestoreFromObjectStoreArrayOutput struct{ *pulumi.OutputState } -func (GetKeyVersionsKeyVersionArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetKeyVersionsKeyVersion)(nil)).Elem() +func (GetKeysKeyRestoreFromObjectStoreArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetKeysKeyRestoreFromObjectStore)(nil)).Elem() } -func (o GetKeyVersionsKeyVersionArrayOutput) ToGetKeyVersionsKeyVersionArrayOutput() GetKeyVersionsKeyVersionArrayOutput { +func (o GetKeysKeyRestoreFromObjectStoreArrayOutput) ToGetKeysKeyRestoreFromObjectStoreArrayOutput() GetKeysKeyRestoreFromObjectStoreArrayOutput { return o } -func (o GetKeyVersionsKeyVersionArrayOutput) ToGetKeyVersionsKeyVersionArrayOutputWithContext(ctx context.Context) GetKeyVersionsKeyVersionArrayOutput { +func (o GetKeysKeyRestoreFromObjectStoreArrayOutput) ToGetKeysKeyRestoreFromObjectStoreArrayOutputWithContext(ctx context.Context) GetKeysKeyRestoreFromObjectStoreArrayOutput { return o } -func (o GetKeyVersionsKeyVersionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetKeyVersionsKeyVersion] { - return pulumix.Output[[]GetKeyVersionsKeyVersion]{ +func (o GetKeysKeyRestoreFromObjectStoreArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetKeysKeyRestoreFromObjectStore] { + return pulumix.Output[[]GetKeysKeyRestoreFromObjectStore]{ OutputState: o.OutputState, } } -func (o GetKeyVersionsKeyVersionArrayOutput) Index(i pulumi.IntInput) GetKeyVersionsKeyVersionOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetKeyVersionsKeyVersion { - return vs[0].([]GetKeyVersionsKeyVersion)[vs[1].(int)] - }).(GetKeyVersionsKeyVersionOutput) +func (o GetKeysKeyRestoreFromObjectStoreArrayOutput) Index(i pulumi.IntInput) GetKeysKeyRestoreFromObjectStoreOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetKeysKeyRestoreFromObjectStore { + return vs[0].([]GetKeysKeyRestoreFromObjectStore)[vs[1].(int)] + }).(GetKeysKeyRestoreFromObjectStoreOutput) } -type GetKeyVersionsKeyVersionReplicaDetail struct { - // ReplicationId associated with a key version operation - ReplicationId string `pulumi:"replicationId"` +type GetReplicationStatusReplicaDetail struct { + // The replica region + Region string `pulumi:"region"` + // Replication status associated with a replicationId + Status string `pulumi:"status"` } -// GetKeyVersionsKeyVersionReplicaDetailInput is an input type that accepts GetKeyVersionsKeyVersionReplicaDetailArgs and GetKeyVersionsKeyVersionReplicaDetailOutput values. -// You can construct a concrete instance of `GetKeyVersionsKeyVersionReplicaDetailInput` via: +// GetReplicationStatusReplicaDetailInput is an input type that accepts GetReplicationStatusReplicaDetailArgs and GetReplicationStatusReplicaDetailOutput values. +// You can construct a concrete instance of `GetReplicationStatusReplicaDetailInput` via: // -// GetKeyVersionsKeyVersionReplicaDetailArgs{...} -type GetKeyVersionsKeyVersionReplicaDetailInput interface { +// GetReplicationStatusReplicaDetailArgs{...} +type GetReplicationStatusReplicaDetailInput interface { pulumi.Input - ToGetKeyVersionsKeyVersionReplicaDetailOutput() GetKeyVersionsKeyVersionReplicaDetailOutput - ToGetKeyVersionsKeyVersionReplicaDetailOutputWithContext(context.Context) GetKeyVersionsKeyVersionReplicaDetailOutput + ToGetReplicationStatusReplicaDetailOutput() GetReplicationStatusReplicaDetailOutput + ToGetReplicationStatusReplicaDetailOutputWithContext(context.Context) GetReplicationStatusReplicaDetailOutput } -type GetKeyVersionsKeyVersionReplicaDetailArgs struct { - // ReplicationId associated with a key version operation - ReplicationId pulumi.StringInput `pulumi:"replicationId"` +type GetReplicationStatusReplicaDetailArgs struct { + // The replica region + Region pulumi.StringInput `pulumi:"region"` + // Replication status associated with a replicationId + Status pulumi.StringInput `pulumi:"status"` } -func (GetKeyVersionsKeyVersionReplicaDetailArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetKeyVersionsKeyVersionReplicaDetail)(nil)).Elem() +func (GetReplicationStatusReplicaDetailArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetReplicationStatusReplicaDetail)(nil)).Elem() } -func (i GetKeyVersionsKeyVersionReplicaDetailArgs) ToGetKeyVersionsKeyVersionReplicaDetailOutput() GetKeyVersionsKeyVersionReplicaDetailOutput { - return i.ToGetKeyVersionsKeyVersionReplicaDetailOutputWithContext(context.Background()) +func (i GetReplicationStatusReplicaDetailArgs) ToGetReplicationStatusReplicaDetailOutput() GetReplicationStatusReplicaDetailOutput { + return i.ToGetReplicationStatusReplicaDetailOutputWithContext(context.Background()) } -func (i GetKeyVersionsKeyVersionReplicaDetailArgs) ToGetKeyVersionsKeyVersionReplicaDetailOutputWithContext(ctx context.Context) GetKeyVersionsKeyVersionReplicaDetailOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetKeyVersionsKeyVersionReplicaDetailOutput) +func (i GetReplicationStatusReplicaDetailArgs) ToGetReplicationStatusReplicaDetailOutputWithContext(ctx context.Context) GetReplicationStatusReplicaDetailOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetReplicationStatusReplicaDetailOutput) } -func (i GetKeyVersionsKeyVersionReplicaDetailArgs) ToOutput(ctx context.Context) pulumix.Output[GetKeyVersionsKeyVersionReplicaDetail] { - return pulumix.Output[GetKeyVersionsKeyVersionReplicaDetail]{ - OutputState: i.ToGetKeyVersionsKeyVersionReplicaDetailOutputWithContext(ctx).OutputState, +func (i GetReplicationStatusReplicaDetailArgs) ToOutput(ctx context.Context) pulumix.Output[GetReplicationStatusReplicaDetail] { + return pulumix.Output[GetReplicationStatusReplicaDetail]{ + OutputState: i.ToGetReplicationStatusReplicaDetailOutputWithContext(ctx).OutputState, } } -// GetKeyVersionsKeyVersionReplicaDetailArrayInput is an input type that accepts GetKeyVersionsKeyVersionReplicaDetailArray and GetKeyVersionsKeyVersionReplicaDetailArrayOutput values. -// You can construct a concrete instance of `GetKeyVersionsKeyVersionReplicaDetailArrayInput` via: +// GetReplicationStatusReplicaDetailArrayInput is an input type that accepts GetReplicationStatusReplicaDetailArray and GetReplicationStatusReplicaDetailArrayOutput values. +// You can construct a concrete instance of `GetReplicationStatusReplicaDetailArrayInput` via: // -// GetKeyVersionsKeyVersionReplicaDetailArray{ GetKeyVersionsKeyVersionReplicaDetailArgs{...} } -type GetKeyVersionsKeyVersionReplicaDetailArrayInput interface { +// GetReplicationStatusReplicaDetailArray{ GetReplicationStatusReplicaDetailArgs{...} } +type GetReplicationStatusReplicaDetailArrayInput interface { pulumi.Input - ToGetKeyVersionsKeyVersionReplicaDetailArrayOutput() GetKeyVersionsKeyVersionReplicaDetailArrayOutput - ToGetKeyVersionsKeyVersionReplicaDetailArrayOutputWithContext(context.Context) GetKeyVersionsKeyVersionReplicaDetailArrayOutput + ToGetReplicationStatusReplicaDetailArrayOutput() GetReplicationStatusReplicaDetailArrayOutput + ToGetReplicationStatusReplicaDetailArrayOutputWithContext(context.Context) GetReplicationStatusReplicaDetailArrayOutput } -type GetKeyVersionsKeyVersionReplicaDetailArray []GetKeyVersionsKeyVersionReplicaDetailInput +type GetReplicationStatusReplicaDetailArray []GetReplicationStatusReplicaDetailInput -func (GetKeyVersionsKeyVersionReplicaDetailArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetKeyVersionsKeyVersionReplicaDetail)(nil)).Elem() +func (GetReplicationStatusReplicaDetailArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetReplicationStatusReplicaDetail)(nil)).Elem() } -func (i GetKeyVersionsKeyVersionReplicaDetailArray) ToGetKeyVersionsKeyVersionReplicaDetailArrayOutput() GetKeyVersionsKeyVersionReplicaDetailArrayOutput { - return i.ToGetKeyVersionsKeyVersionReplicaDetailArrayOutputWithContext(context.Background()) +func (i GetReplicationStatusReplicaDetailArray) ToGetReplicationStatusReplicaDetailArrayOutput() GetReplicationStatusReplicaDetailArrayOutput { + return i.ToGetReplicationStatusReplicaDetailArrayOutputWithContext(context.Background()) } -func (i GetKeyVersionsKeyVersionReplicaDetailArray) ToGetKeyVersionsKeyVersionReplicaDetailArrayOutputWithContext(ctx context.Context) GetKeyVersionsKeyVersionReplicaDetailArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetKeyVersionsKeyVersionReplicaDetailArrayOutput) +func (i GetReplicationStatusReplicaDetailArray) ToGetReplicationStatusReplicaDetailArrayOutputWithContext(ctx context.Context) GetReplicationStatusReplicaDetailArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetReplicationStatusReplicaDetailArrayOutput) } -func (i GetKeyVersionsKeyVersionReplicaDetailArray) ToOutput(ctx context.Context) pulumix.Output[[]GetKeyVersionsKeyVersionReplicaDetail] { - return pulumix.Output[[]GetKeyVersionsKeyVersionReplicaDetail]{ - OutputState: i.ToGetKeyVersionsKeyVersionReplicaDetailArrayOutputWithContext(ctx).OutputState, +func (i GetReplicationStatusReplicaDetailArray) ToOutput(ctx context.Context) pulumix.Output[[]GetReplicationStatusReplicaDetail] { + return pulumix.Output[[]GetReplicationStatusReplicaDetail]{ + OutputState: i.ToGetReplicationStatusReplicaDetailArrayOutputWithContext(ctx).OutputState, } } -type GetKeyVersionsKeyVersionReplicaDetailOutput struct{ *pulumi.OutputState } +type GetReplicationStatusReplicaDetailOutput struct{ *pulumi.OutputState } -func (GetKeyVersionsKeyVersionReplicaDetailOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetKeyVersionsKeyVersionReplicaDetail)(nil)).Elem() +func (GetReplicationStatusReplicaDetailOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetReplicationStatusReplicaDetail)(nil)).Elem() } -func (o GetKeyVersionsKeyVersionReplicaDetailOutput) ToGetKeyVersionsKeyVersionReplicaDetailOutput() GetKeyVersionsKeyVersionReplicaDetailOutput { +func (o GetReplicationStatusReplicaDetailOutput) ToGetReplicationStatusReplicaDetailOutput() GetReplicationStatusReplicaDetailOutput { return o } -func (o GetKeyVersionsKeyVersionReplicaDetailOutput) ToGetKeyVersionsKeyVersionReplicaDetailOutputWithContext(ctx context.Context) GetKeyVersionsKeyVersionReplicaDetailOutput { +func (o GetReplicationStatusReplicaDetailOutput) ToGetReplicationStatusReplicaDetailOutputWithContext(ctx context.Context) GetReplicationStatusReplicaDetailOutput { return o } -func (o GetKeyVersionsKeyVersionReplicaDetailOutput) ToOutput(ctx context.Context) pulumix.Output[GetKeyVersionsKeyVersionReplicaDetail] { - return pulumix.Output[GetKeyVersionsKeyVersionReplicaDetail]{ +func (o GetReplicationStatusReplicaDetailOutput) ToOutput(ctx context.Context) pulumix.Output[GetReplicationStatusReplicaDetail] { + return pulumix.Output[GetReplicationStatusReplicaDetail]{ OutputState: o.OutputState, } } -// ReplicationId associated with a key version operation -func (o GetKeyVersionsKeyVersionReplicaDetailOutput) ReplicationId() pulumi.StringOutput { - return o.ApplyT(func(v GetKeyVersionsKeyVersionReplicaDetail) string { return v.ReplicationId }).(pulumi.StringOutput) +// The replica region +func (o GetReplicationStatusReplicaDetailOutput) Region() pulumi.StringOutput { + return o.ApplyT(func(v GetReplicationStatusReplicaDetail) string { return v.Region }).(pulumi.StringOutput) } -type GetKeyVersionsKeyVersionReplicaDetailArrayOutput struct{ *pulumi.OutputState } +// Replication status associated with a replicationId +func (o GetReplicationStatusReplicaDetailOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v GetReplicationStatusReplicaDetail) string { return v.Status }).(pulumi.StringOutput) +} -func (GetKeyVersionsKeyVersionReplicaDetailArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetKeyVersionsKeyVersionReplicaDetail)(nil)).Elem() +type GetReplicationStatusReplicaDetailArrayOutput struct{ *pulumi.OutputState } + +func (GetReplicationStatusReplicaDetailArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetReplicationStatusReplicaDetail)(nil)).Elem() } -func (o GetKeyVersionsKeyVersionReplicaDetailArrayOutput) ToGetKeyVersionsKeyVersionReplicaDetailArrayOutput() GetKeyVersionsKeyVersionReplicaDetailArrayOutput { +func (o GetReplicationStatusReplicaDetailArrayOutput) ToGetReplicationStatusReplicaDetailArrayOutput() GetReplicationStatusReplicaDetailArrayOutput { return o } -func (o GetKeyVersionsKeyVersionReplicaDetailArrayOutput) ToGetKeyVersionsKeyVersionReplicaDetailArrayOutputWithContext(ctx context.Context) GetKeyVersionsKeyVersionReplicaDetailArrayOutput { +func (o GetReplicationStatusReplicaDetailArrayOutput) ToGetReplicationStatusReplicaDetailArrayOutputWithContext(ctx context.Context) GetReplicationStatusReplicaDetailArrayOutput { return o } -func (o GetKeyVersionsKeyVersionReplicaDetailArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetKeyVersionsKeyVersionReplicaDetail] { - return pulumix.Output[[]GetKeyVersionsKeyVersionReplicaDetail]{ +func (o GetReplicationStatusReplicaDetailArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetReplicationStatusReplicaDetail] { + return pulumix.Output[[]GetReplicationStatusReplicaDetail]{ OutputState: o.OutputState, } } -func (o GetKeyVersionsKeyVersionReplicaDetailArrayOutput) Index(i pulumi.IntInput) GetKeyVersionsKeyVersionReplicaDetailOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetKeyVersionsKeyVersionReplicaDetail { - return vs[0].([]GetKeyVersionsKeyVersionReplicaDetail)[vs[1].(int)] - }).(GetKeyVersionsKeyVersionReplicaDetailOutput) +func (o GetReplicationStatusReplicaDetailArrayOutput) Index(i pulumi.IntInput) GetReplicationStatusReplicaDetailOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetReplicationStatusReplicaDetail { + return vs[0].([]GetReplicationStatusReplicaDetail)[vs[1].(int)] + }).(GetReplicationStatusReplicaDetailOutput) } -type GetKeysFilter struct { - Name string `pulumi:"name"` - Regex *bool `pulumi:"regex"` - Values []string `pulumi:"values"` +type GetVaultExternalKeyManagerMetadata struct { + // URL of the vault on external key manager. + ExternalVaultEndpointUrl string `pulumi:"externalVaultEndpointUrl"` + OauthMetadatas []GetVaultExternalKeyManagerMetadataOauthMetadata `pulumi:"oauthMetadatas"` + // OCID of the private endpoint. + PrivateEndpointId string `pulumi:"privateEndpointId"` } -// GetKeysFilterInput is an input type that accepts GetKeysFilterArgs and GetKeysFilterOutput values. -// You can construct a concrete instance of `GetKeysFilterInput` via: +// GetVaultExternalKeyManagerMetadataInput is an input type that accepts GetVaultExternalKeyManagerMetadataArgs and GetVaultExternalKeyManagerMetadataOutput values. +// You can construct a concrete instance of `GetVaultExternalKeyManagerMetadataInput` via: // -// GetKeysFilterArgs{...} -type GetKeysFilterInput interface { +// GetVaultExternalKeyManagerMetadataArgs{...} +type GetVaultExternalKeyManagerMetadataInput interface { pulumi.Input - ToGetKeysFilterOutput() GetKeysFilterOutput - ToGetKeysFilterOutputWithContext(context.Context) GetKeysFilterOutput + ToGetVaultExternalKeyManagerMetadataOutput() GetVaultExternalKeyManagerMetadataOutput + ToGetVaultExternalKeyManagerMetadataOutputWithContext(context.Context) GetVaultExternalKeyManagerMetadataOutput } -type GetKeysFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Regex pulumi.BoolPtrInput `pulumi:"regex"` - Values pulumi.StringArrayInput `pulumi:"values"` +type GetVaultExternalKeyManagerMetadataArgs struct { + // URL of the vault on external key manager. + ExternalVaultEndpointUrl pulumi.StringInput `pulumi:"externalVaultEndpointUrl"` + OauthMetadatas GetVaultExternalKeyManagerMetadataOauthMetadataArrayInput `pulumi:"oauthMetadatas"` + // OCID of the private endpoint. + PrivateEndpointId pulumi.StringInput `pulumi:"privateEndpointId"` } -func (GetKeysFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetKeysFilter)(nil)).Elem() +func (GetVaultExternalKeyManagerMetadataArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetVaultExternalKeyManagerMetadata)(nil)).Elem() } -func (i GetKeysFilterArgs) ToGetKeysFilterOutput() GetKeysFilterOutput { - return i.ToGetKeysFilterOutputWithContext(context.Background()) +func (i GetVaultExternalKeyManagerMetadataArgs) ToGetVaultExternalKeyManagerMetadataOutput() GetVaultExternalKeyManagerMetadataOutput { + return i.ToGetVaultExternalKeyManagerMetadataOutputWithContext(context.Background()) } -func (i GetKeysFilterArgs) ToGetKeysFilterOutputWithContext(ctx context.Context) GetKeysFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetKeysFilterOutput) +func (i GetVaultExternalKeyManagerMetadataArgs) ToGetVaultExternalKeyManagerMetadataOutputWithContext(ctx context.Context) GetVaultExternalKeyManagerMetadataOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetVaultExternalKeyManagerMetadataOutput) } -func (i GetKeysFilterArgs) ToOutput(ctx context.Context) pulumix.Output[GetKeysFilter] { - return pulumix.Output[GetKeysFilter]{ - OutputState: i.ToGetKeysFilterOutputWithContext(ctx).OutputState, +func (i GetVaultExternalKeyManagerMetadataArgs) ToOutput(ctx context.Context) pulumix.Output[GetVaultExternalKeyManagerMetadata] { + return pulumix.Output[GetVaultExternalKeyManagerMetadata]{ + OutputState: i.ToGetVaultExternalKeyManagerMetadataOutputWithContext(ctx).OutputState, } } -// GetKeysFilterArrayInput is an input type that accepts GetKeysFilterArray and GetKeysFilterArrayOutput values. -// You can construct a concrete instance of `GetKeysFilterArrayInput` via: +// GetVaultExternalKeyManagerMetadataArrayInput is an input type that accepts GetVaultExternalKeyManagerMetadataArray and GetVaultExternalKeyManagerMetadataArrayOutput values. +// You can construct a concrete instance of `GetVaultExternalKeyManagerMetadataArrayInput` via: // -// GetKeysFilterArray{ GetKeysFilterArgs{...} } -type GetKeysFilterArrayInput interface { +// GetVaultExternalKeyManagerMetadataArray{ GetVaultExternalKeyManagerMetadataArgs{...} } +type GetVaultExternalKeyManagerMetadataArrayInput interface { pulumi.Input - ToGetKeysFilterArrayOutput() GetKeysFilterArrayOutput - ToGetKeysFilterArrayOutputWithContext(context.Context) GetKeysFilterArrayOutput + ToGetVaultExternalKeyManagerMetadataArrayOutput() GetVaultExternalKeyManagerMetadataArrayOutput + ToGetVaultExternalKeyManagerMetadataArrayOutputWithContext(context.Context) GetVaultExternalKeyManagerMetadataArrayOutput } -type GetKeysFilterArray []GetKeysFilterInput - -func (GetKeysFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetKeysFilter)(nil)).Elem() +type GetVaultExternalKeyManagerMetadataArray []GetVaultExternalKeyManagerMetadataInput + +func (GetVaultExternalKeyManagerMetadataArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetVaultExternalKeyManagerMetadata)(nil)).Elem() } -func (i GetKeysFilterArray) ToGetKeysFilterArrayOutput() GetKeysFilterArrayOutput { - return i.ToGetKeysFilterArrayOutputWithContext(context.Background()) +func (i GetVaultExternalKeyManagerMetadataArray) ToGetVaultExternalKeyManagerMetadataArrayOutput() GetVaultExternalKeyManagerMetadataArrayOutput { + return i.ToGetVaultExternalKeyManagerMetadataArrayOutputWithContext(context.Background()) } -func (i GetKeysFilterArray) ToGetKeysFilterArrayOutputWithContext(ctx context.Context) GetKeysFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetKeysFilterArrayOutput) +func (i GetVaultExternalKeyManagerMetadataArray) ToGetVaultExternalKeyManagerMetadataArrayOutputWithContext(ctx context.Context) GetVaultExternalKeyManagerMetadataArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetVaultExternalKeyManagerMetadataArrayOutput) } -func (i GetKeysFilterArray) ToOutput(ctx context.Context) pulumix.Output[[]GetKeysFilter] { - return pulumix.Output[[]GetKeysFilter]{ - OutputState: i.ToGetKeysFilterArrayOutputWithContext(ctx).OutputState, +func (i GetVaultExternalKeyManagerMetadataArray) ToOutput(ctx context.Context) pulumix.Output[[]GetVaultExternalKeyManagerMetadata] { + return pulumix.Output[[]GetVaultExternalKeyManagerMetadata]{ + OutputState: i.ToGetVaultExternalKeyManagerMetadataArrayOutputWithContext(ctx).OutputState, } } -type GetKeysFilterOutput struct{ *pulumi.OutputState } +type GetVaultExternalKeyManagerMetadataOutput struct{ *pulumi.OutputState } -func (GetKeysFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetKeysFilter)(nil)).Elem() +func (GetVaultExternalKeyManagerMetadataOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetVaultExternalKeyManagerMetadata)(nil)).Elem() } -func (o GetKeysFilterOutput) ToGetKeysFilterOutput() GetKeysFilterOutput { +func (o GetVaultExternalKeyManagerMetadataOutput) ToGetVaultExternalKeyManagerMetadataOutput() GetVaultExternalKeyManagerMetadataOutput { return o } -func (o GetKeysFilterOutput) ToGetKeysFilterOutputWithContext(ctx context.Context) GetKeysFilterOutput { +func (o GetVaultExternalKeyManagerMetadataOutput) ToGetVaultExternalKeyManagerMetadataOutputWithContext(ctx context.Context) GetVaultExternalKeyManagerMetadataOutput { return o } -func (o GetKeysFilterOutput) ToOutput(ctx context.Context) pulumix.Output[GetKeysFilter] { - return pulumix.Output[GetKeysFilter]{ +func (o GetVaultExternalKeyManagerMetadataOutput) ToOutput(ctx context.Context) pulumix.Output[GetVaultExternalKeyManagerMetadata] { + return pulumix.Output[GetVaultExternalKeyManagerMetadata]{ OutputState: o.OutputState, } } -func (o GetKeysFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetKeysFilter) string { return v.Name }).(pulumi.StringOutput) +// URL of the vault on external key manager. +func (o GetVaultExternalKeyManagerMetadataOutput) ExternalVaultEndpointUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetVaultExternalKeyManagerMetadata) string { return v.ExternalVaultEndpointUrl }).(pulumi.StringOutput) } -func (o GetKeysFilterOutput) Regex() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetKeysFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) +func (o GetVaultExternalKeyManagerMetadataOutput) OauthMetadatas() GetVaultExternalKeyManagerMetadataOauthMetadataArrayOutput { + return o.ApplyT(func(v GetVaultExternalKeyManagerMetadata) []GetVaultExternalKeyManagerMetadataOauthMetadata { + return v.OauthMetadatas + }).(GetVaultExternalKeyManagerMetadataOauthMetadataArrayOutput) } -func (o GetKeysFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetKeysFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +// OCID of the private endpoint. +func (o GetVaultExternalKeyManagerMetadataOutput) PrivateEndpointId() pulumi.StringOutput { + return o.ApplyT(func(v GetVaultExternalKeyManagerMetadata) string { return v.PrivateEndpointId }).(pulumi.StringOutput) } -type GetKeysFilterArrayOutput struct{ *pulumi.OutputState } +type GetVaultExternalKeyManagerMetadataArrayOutput struct{ *pulumi.OutputState } -func (GetKeysFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetKeysFilter)(nil)).Elem() +func (GetVaultExternalKeyManagerMetadataArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetVaultExternalKeyManagerMetadata)(nil)).Elem() } -func (o GetKeysFilterArrayOutput) ToGetKeysFilterArrayOutput() GetKeysFilterArrayOutput { +func (o GetVaultExternalKeyManagerMetadataArrayOutput) ToGetVaultExternalKeyManagerMetadataArrayOutput() GetVaultExternalKeyManagerMetadataArrayOutput { return o } -func (o GetKeysFilterArrayOutput) ToGetKeysFilterArrayOutputWithContext(ctx context.Context) GetKeysFilterArrayOutput { +func (o GetVaultExternalKeyManagerMetadataArrayOutput) ToGetVaultExternalKeyManagerMetadataArrayOutputWithContext(ctx context.Context) GetVaultExternalKeyManagerMetadataArrayOutput { return o } -func (o GetKeysFilterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetKeysFilter] { - return pulumix.Output[[]GetKeysFilter]{ +func (o GetVaultExternalKeyManagerMetadataArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetVaultExternalKeyManagerMetadata] { + return pulumix.Output[[]GetVaultExternalKeyManagerMetadata]{ OutputState: o.OutputState, } } -func (o GetKeysFilterArrayOutput) Index(i pulumi.IntInput) GetKeysFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetKeysFilter { - return vs[0].([]GetKeysFilter)[vs[1].(int)] - }).(GetKeysFilterOutput) +func (o GetVaultExternalKeyManagerMetadataArrayOutput) Index(i pulumi.IntInput) GetVaultExternalKeyManagerMetadataOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVaultExternalKeyManagerMetadata { + return vs[0].([]GetVaultExternalKeyManagerMetadata)[vs[1].(int)] + }).(GetVaultExternalKeyManagerMetadataOutput) } -type GetKeysKey struct { - // The OCID of the compartment. - CompartmentId string `pulumi:"compartmentId"` - // The OCID of the key version used in cryptographic operations. During key rotation, the service might be in a transitional state where this or a newer key version are used intermittently. The `currentKeyVersion` property is updated when the service is guaranteed to use the new key version for all subsequent encryption operations. - CurrentKeyVersion string `pulumi:"currentKeyVersion"` - // Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` - DefinedTags map[string]interface{} `pulumi:"definedTags"` - DesiredState string `pulumi:"desiredState"` - // A user-friendly name for the key. It does not have to be unique, and it is changeable. Avoid entering confidential information. - DisplayName string `pulumi:"displayName"` - // 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` - FreeformTags map[string]interface{} `pulumi:"freeformTags"` - // The OCID of the key. - Id string `pulumi:"id"` - // A boolean that will be true when key is primary, and will be false when key is a replica from a primary key. - IsPrimary bool `pulumi:"isPrimary"` - // The cryptographic properties of a key. - KeyShapes []GetKeysKeyKeyShape `pulumi:"keyShapes"` - // The service endpoint to perform management operations against. Management operations include 'Create,' 'Update,' 'List,' 'Get,' and 'Delete' operations. See Vault Management endpoint. - ManagementEndpoint string `pulumi:"managementEndpoint"` - // A key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. - ProtectionMode string `pulumi:"protectionMode"` - // Key replica details - ReplicaDetails []GetKeysKeyReplicaDetail `pulumi:"replicaDetails"` - RestoreFromFiles []GetKeysKeyRestoreFromFile `pulumi:"restoreFromFiles"` - RestoreFromObjectStores []GetKeysKeyRestoreFromObjectStore `pulumi:"restoreFromObjectStores"` - RestoreTrigger bool `pulumi:"restoreTrigger"` - RestoredFromKeyId string `pulumi:"restoredFromKeyId"` - // The key's current lifecycle state. Example: `ENABLED` - State string `pulumi:"state"` - // The date and time the key was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` - TimeCreated string `pulumi:"timeCreated"` - // An optional property indicating when to delete the key, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` - TimeOfDeletion string `pulumi:"timeOfDeletion"` - // The OCID of the vault that contains this key. - VaultId string `pulumi:"vaultId"` +type GetVaultExternalKeyManagerMetadataOauthMetadata struct { + // ID of the client app created in IDP. + ClientAppId string `pulumi:"clientAppId"` + ClientAppSecret string `pulumi:"clientAppSecret"` + // Base URL of the IDCS account where confidential client app is created. + IdcsAccountNameUrl string `pulumi:"idcsAccountNameUrl"` } -// GetKeysKeyInput is an input type that accepts GetKeysKeyArgs and GetKeysKeyOutput values. -// You can construct a concrete instance of `GetKeysKeyInput` via: +// GetVaultExternalKeyManagerMetadataOauthMetadataInput is an input type that accepts GetVaultExternalKeyManagerMetadataOauthMetadataArgs and GetVaultExternalKeyManagerMetadataOauthMetadataOutput values. +// You can construct a concrete instance of `GetVaultExternalKeyManagerMetadataOauthMetadataInput` via: // -// GetKeysKeyArgs{...} -type GetKeysKeyInput interface { +// GetVaultExternalKeyManagerMetadataOauthMetadataArgs{...} +type GetVaultExternalKeyManagerMetadataOauthMetadataInput interface { pulumi.Input - ToGetKeysKeyOutput() GetKeysKeyOutput - ToGetKeysKeyOutputWithContext(context.Context) GetKeysKeyOutput + ToGetVaultExternalKeyManagerMetadataOauthMetadataOutput() GetVaultExternalKeyManagerMetadataOauthMetadataOutput + ToGetVaultExternalKeyManagerMetadataOauthMetadataOutputWithContext(context.Context) GetVaultExternalKeyManagerMetadataOauthMetadataOutput } -type GetKeysKeyArgs struct { - // The OCID of the compartment. - CompartmentId pulumi.StringInput `pulumi:"compartmentId"` - // The OCID of the key version used in cryptographic operations. During key rotation, the service might be in a transitional state where this or a newer key version are used intermittently. The `currentKeyVersion` property is updated when the service is guaranteed to use the new key version for all subsequent encryption operations. - CurrentKeyVersion pulumi.StringInput `pulumi:"currentKeyVersion"` - // Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` - DefinedTags pulumi.MapInput `pulumi:"definedTags"` - DesiredState pulumi.StringInput `pulumi:"desiredState"` - // A user-friendly name for the key. It does not have to be unique, and it is changeable. Avoid entering confidential information. - DisplayName pulumi.StringInput `pulumi:"displayName"` - // 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` - FreeformTags pulumi.MapInput `pulumi:"freeformTags"` - // The OCID of the key. - Id pulumi.StringInput `pulumi:"id"` - // A boolean that will be true when key is primary, and will be false when key is a replica from a primary key. - IsPrimary pulumi.BoolInput `pulumi:"isPrimary"` - // The cryptographic properties of a key. - KeyShapes GetKeysKeyKeyShapeArrayInput `pulumi:"keyShapes"` - // The service endpoint to perform management operations against. Management operations include 'Create,' 'Update,' 'List,' 'Get,' and 'Delete' operations. See Vault Management endpoint. - ManagementEndpoint pulumi.StringInput `pulumi:"managementEndpoint"` - // A key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. - ProtectionMode pulumi.StringInput `pulumi:"protectionMode"` - // Key replica details - ReplicaDetails GetKeysKeyReplicaDetailArrayInput `pulumi:"replicaDetails"` - RestoreFromFiles GetKeysKeyRestoreFromFileArrayInput `pulumi:"restoreFromFiles"` - RestoreFromObjectStores GetKeysKeyRestoreFromObjectStoreArrayInput `pulumi:"restoreFromObjectStores"` - RestoreTrigger pulumi.BoolInput `pulumi:"restoreTrigger"` - RestoredFromKeyId pulumi.StringInput `pulumi:"restoredFromKeyId"` - // The key's current lifecycle state. Example: `ENABLED` - State pulumi.StringInput `pulumi:"state"` - // The date and time the key was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` - TimeCreated pulumi.StringInput `pulumi:"timeCreated"` - // An optional property indicating when to delete the key, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` - TimeOfDeletion pulumi.StringInput `pulumi:"timeOfDeletion"` - // The OCID of the vault that contains this key. - VaultId pulumi.StringInput `pulumi:"vaultId"` +type GetVaultExternalKeyManagerMetadataOauthMetadataArgs struct { + // ID of the client app created in IDP. + ClientAppId pulumi.StringInput `pulumi:"clientAppId"` + ClientAppSecret pulumi.StringInput `pulumi:"clientAppSecret"` + // Base URL of the IDCS account where confidential client app is created. + IdcsAccountNameUrl pulumi.StringInput `pulumi:"idcsAccountNameUrl"` } -func (GetKeysKeyArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetKeysKey)(nil)).Elem() +func (GetVaultExternalKeyManagerMetadataOauthMetadataArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetVaultExternalKeyManagerMetadataOauthMetadata)(nil)).Elem() } -func (i GetKeysKeyArgs) ToGetKeysKeyOutput() GetKeysKeyOutput { - return i.ToGetKeysKeyOutputWithContext(context.Background()) +func (i GetVaultExternalKeyManagerMetadataOauthMetadataArgs) ToGetVaultExternalKeyManagerMetadataOauthMetadataOutput() GetVaultExternalKeyManagerMetadataOauthMetadataOutput { + return i.ToGetVaultExternalKeyManagerMetadataOauthMetadataOutputWithContext(context.Background()) } -func (i GetKeysKeyArgs) ToGetKeysKeyOutputWithContext(ctx context.Context) GetKeysKeyOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetKeysKeyOutput) +func (i GetVaultExternalKeyManagerMetadataOauthMetadataArgs) ToGetVaultExternalKeyManagerMetadataOauthMetadataOutputWithContext(ctx context.Context) GetVaultExternalKeyManagerMetadataOauthMetadataOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetVaultExternalKeyManagerMetadataOauthMetadataOutput) } -func (i GetKeysKeyArgs) ToOutput(ctx context.Context) pulumix.Output[GetKeysKey] { - return pulumix.Output[GetKeysKey]{ - OutputState: i.ToGetKeysKeyOutputWithContext(ctx).OutputState, +func (i GetVaultExternalKeyManagerMetadataOauthMetadataArgs) ToOutput(ctx context.Context) pulumix.Output[GetVaultExternalKeyManagerMetadataOauthMetadata] { + return pulumix.Output[GetVaultExternalKeyManagerMetadataOauthMetadata]{ + OutputState: i.ToGetVaultExternalKeyManagerMetadataOauthMetadataOutputWithContext(ctx).OutputState, } } -// GetKeysKeyArrayInput is an input type that accepts GetKeysKeyArray and GetKeysKeyArrayOutput values. -// You can construct a concrete instance of `GetKeysKeyArrayInput` via: +// GetVaultExternalKeyManagerMetadataOauthMetadataArrayInput is an input type that accepts GetVaultExternalKeyManagerMetadataOauthMetadataArray and GetVaultExternalKeyManagerMetadataOauthMetadataArrayOutput values. +// You can construct a concrete instance of `GetVaultExternalKeyManagerMetadataOauthMetadataArrayInput` via: // -// GetKeysKeyArray{ GetKeysKeyArgs{...} } -type GetKeysKeyArrayInput interface { +// GetVaultExternalKeyManagerMetadataOauthMetadataArray{ GetVaultExternalKeyManagerMetadataOauthMetadataArgs{...} } +type GetVaultExternalKeyManagerMetadataOauthMetadataArrayInput interface { pulumi.Input - ToGetKeysKeyArrayOutput() GetKeysKeyArrayOutput - ToGetKeysKeyArrayOutputWithContext(context.Context) GetKeysKeyArrayOutput + ToGetVaultExternalKeyManagerMetadataOauthMetadataArrayOutput() GetVaultExternalKeyManagerMetadataOauthMetadataArrayOutput + ToGetVaultExternalKeyManagerMetadataOauthMetadataArrayOutputWithContext(context.Context) GetVaultExternalKeyManagerMetadataOauthMetadataArrayOutput } -type GetKeysKeyArray []GetKeysKeyInput +type GetVaultExternalKeyManagerMetadataOauthMetadataArray []GetVaultExternalKeyManagerMetadataOauthMetadataInput -func (GetKeysKeyArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetKeysKey)(nil)).Elem() +func (GetVaultExternalKeyManagerMetadataOauthMetadataArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetVaultExternalKeyManagerMetadataOauthMetadata)(nil)).Elem() } -func (i GetKeysKeyArray) ToGetKeysKeyArrayOutput() GetKeysKeyArrayOutput { - return i.ToGetKeysKeyArrayOutputWithContext(context.Background()) +func (i GetVaultExternalKeyManagerMetadataOauthMetadataArray) ToGetVaultExternalKeyManagerMetadataOauthMetadataArrayOutput() GetVaultExternalKeyManagerMetadataOauthMetadataArrayOutput { + return i.ToGetVaultExternalKeyManagerMetadataOauthMetadataArrayOutputWithContext(context.Background()) } -func (i GetKeysKeyArray) ToGetKeysKeyArrayOutputWithContext(ctx context.Context) GetKeysKeyArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetKeysKeyArrayOutput) +func (i GetVaultExternalKeyManagerMetadataOauthMetadataArray) ToGetVaultExternalKeyManagerMetadataOauthMetadataArrayOutputWithContext(ctx context.Context) GetVaultExternalKeyManagerMetadataOauthMetadataArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetVaultExternalKeyManagerMetadataOauthMetadataArrayOutput) } -func (i GetKeysKeyArray) ToOutput(ctx context.Context) pulumix.Output[[]GetKeysKey] { - return pulumix.Output[[]GetKeysKey]{ - OutputState: i.ToGetKeysKeyArrayOutputWithContext(ctx).OutputState, +func (i GetVaultExternalKeyManagerMetadataOauthMetadataArray) ToOutput(ctx context.Context) pulumix.Output[[]GetVaultExternalKeyManagerMetadataOauthMetadata] { + return pulumix.Output[[]GetVaultExternalKeyManagerMetadataOauthMetadata]{ + OutputState: i.ToGetVaultExternalKeyManagerMetadataOauthMetadataArrayOutputWithContext(ctx).OutputState, } } -type GetKeysKeyOutput struct{ *pulumi.OutputState } +type GetVaultExternalKeyManagerMetadataOauthMetadataOutput struct{ *pulumi.OutputState } -func (GetKeysKeyOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetKeysKey)(nil)).Elem() +func (GetVaultExternalKeyManagerMetadataOauthMetadataOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetVaultExternalKeyManagerMetadataOauthMetadata)(nil)).Elem() } -func (o GetKeysKeyOutput) ToGetKeysKeyOutput() GetKeysKeyOutput { +func (o GetVaultExternalKeyManagerMetadataOauthMetadataOutput) ToGetVaultExternalKeyManagerMetadataOauthMetadataOutput() GetVaultExternalKeyManagerMetadataOauthMetadataOutput { return o } -func (o GetKeysKeyOutput) ToGetKeysKeyOutputWithContext(ctx context.Context) GetKeysKeyOutput { +func (o GetVaultExternalKeyManagerMetadataOauthMetadataOutput) ToGetVaultExternalKeyManagerMetadataOauthMetadataOutputWithContext(ctx context.Context) GetVaultExternalKeyManagerMetadataOauthMetadataOutput { return o } -func (o GetKeysKeyOutput) ToOutput(ctx context.Context) pulumix.Output[GetKeysKey] { - return pulumix.Output[GetKeysKey]{ +func (o GetVaultExternalKeyManagerMetadataOauthMetadataOutput) ToOutput(ctx context.Context) pulumix.Output[GetVaultExternalKeyManagerMetadataOauthMetadata] { + return pulumix.Output[GetVaultExternalKeyManagerMetadataOauthMetadata]{ OutputState: o.OutputState, } } -// The OCID of the compartment. -func (o GetKeysKeyOutput) CompartmentId() pulumi.StringOutput { - return o.ApplyT(func(v GetKeysKey) string { return v.CompartmentId }).(pulumi.StringOutput) +// ID of the client app created in IDP. +func (o GetVaultExternalKeyManagerMetadataOauthMetadataOutput) ClientAppId() pulumi.StringOutput { + return o.ApplyT(func(v GetVaultExternalKeyManagerMetadataOauthMetadata) string { return v.ClientAppId }).(pulumi.StringOutput) } -// The OCID of the key version used in cryptographic operations. During key rotation, the service might be in a transitional state where this or a newer key version are used intermittently. The `currentKeyVersion` property is updated when the service is guaranteed to use the new key version for all subsequent encryption operations. -func (o GetKeysKeyOutput) CurrentKeyVersion() pulumi.StringOutput { - return o.ApplyT(func(v GetKeysKey) string { return v.CurrentKeyVersion }).(pulumi.StringOutput) +func (o GetVaultExternalKeyManagerMetadataOauthMetadataOutput) ClientAppSecret() pulumi.StringOutput { + return o.ApplyT(func(v GetVaultExternalKeyManagerMetadataOauthMetadata) string { return v.ClientAppSecret }).(pulumi.StringOutput) } -// Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` -func (o GetKeysKeyOutput) DefinedTags() pulumi.MapOutput { - return o.ApplyT(func(v GetKeysKey) map[string]interface{} { return v.DefinedTags }).(pulumi.MapOutput) +// Base URL of the IDCS account where confidential client app is created. +func (o GetVaultExternalKeyManagerMetadataOauthMetadataOutput) IdcsAccountNameUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetVaultExternalKeyManagerMetadataOauthMetadata) string { return v.IdcsAccountNameUrl }).(pulumi.StringOutput) } -func (o GetKeysKeyOutput) DesiredState() pulumi.StringOutput { - return o.ApplyT(func(v GetKeysKey) string { return v.DesiredState }).(pulumi.StringOutput) +type GetVaultExternalKeyManagerMetadataOauthMetadataArrayOutput struct{ *pulumi.OutputState } + +func (GetVaultExternalKeyManagerMetadataOauthMetadataArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetVaultExternalKeyManagerMetadataOauthMetadata)(nil)).Elem() } -// A user-friendly name for the key. It does not have to be unique, and it is changeable. Avoid entering confidential information. -func (o GetKeysKeyOutput) DisplayName() pulumi.StringOutput { - return o.ApplyT(func(v GetKeysKey) string { return v.DisplayName }).(pulumi.StringOutput) +func (o GetVaultExternalKeyManagerMetadataOauthMetadataArrayOutput) ToGetVaultExternalKeyManagerMetadataOauthMetadataArrayOutput() GetVaultExternalKeyManagerMetadataOauthMetadataArrayOutput { + return o } -// 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` -func (o GetKeysKeyOutput) FreeformTags() pulumi.MapOutput { - return o.ApplyT(func(v GetKeysKey) map[string]interface{} { return v.FreeformTags }).(pulumi.MapOutput) +func (o GetVaultExternalKeyManagerMetadataOauthMetadataArrayOutput) ToGetVaultExternalKeyManagerMetadataOauthMetadataArrayOutputWithContext(ctx context.Context) GetVaultExternalKeyManagerMetadataOauthMetadataArrayOutput { + return o } -// The OCID of the key. -func (o GetKeysKeyOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetKeysKey) string { return v.Id }).(pulumi.StringOutput) +func (o GetVaultExternalKeyManagerMetadataOauthMetadataArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetVaultExternalKeyManagerMetadataOauthMetadata] { + return pulumix.Output[[]GetVaultExternalKeyManagerMetadataOauthMetadata]{ + OutputState: o.OutputState, + } } -// A boolean that will be true when key is primary, and will be false when key is a replica from a primary key. -func (o GetKeysKeyOutput) IsPrimary() pulumi.BoolOutput { - return o.ApplyT(func(v GetKeysKey) bool { return v.IsPrimary }).(pulumi.BoolOutput) +func (o GetVaultExternalKeyManagerMetadataOauthMetadataArrayOutput) Index(i pulumi.IntInput) GetVaultExternalKeyManagerMetadataOauthMetadataOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVaultExternalKeyManagerMetadataOauthMetadata { + return vs[0].([]GetVaultExternalKeyManagerMetadataOauthMetadata)[vs[1].(int)] + }).(GetVaultExternalKeyManagerMetadataOauthMetadataOutput) } -// The cryptographic properties of a key. -func (o GetKeysKeyOutput) KeyShapes() GetKeysKeyKeyShapeArrayOutput { - return o.ApplyT(func(v GetKeysKey) []GetKeysKeyKeyShape { return v.KeyShapes }).(GetKeysKeyKeyShapeArrayOutput) +type GetVaultExternalKeyManagerMetadataSummary struct { + // URL of the vault on external key manager. + ExternalVaultEndpointUrl string `pulumi:"externalVaultEndpointUrl"` + // Summary about authorization to be returned to the customer as a response. + OauthMetadataSummaries []GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary `pulumi:"oauthMetadataSummaries"` + // OCID of the private endpoint. + PrivateEndpointId string `pulumi:"privateEndpointId"` + // Vendor of the external key manager. + Vendor string `pulumi:"vendor"` } -// The service endpoint to perform management operations against. Management operations include 'Create,' 'Update,' 'List,' 'Get,' and 'Delete' operations. See Vault Management endpoint. -func (o GetKeysKeyOutput) ManagementEndpoint() pulumi.StringOutput { - return o.ApplyT(func(v GetKeysKey) string { return v.ManagementEndpoint }).(pulumi.StringOutput) +// GetVaultExternalKeyManagerMetadataSummaryInput is an input type that accepts GetVaultExternalKeyManagerMetadataSummaryArgs and GetVaultExternalKeyManagerMetadataSummaryOutput values. +// You can construct a concrete instance of `GetVaultExternalKeyManagerMetadataSummaryInput` via: +// +// GetVaultExternalKeyManagerMetadataSummaryArgs{...} +type GetVaultExternalKeyManagerMetadataSummaryInput interface { + pulumi.Input + + ToGetVaultExternalKeyManagerMetadataSummaryOutput() GetVaultExternalKeyManagerMetadataSummaryOutput + ToGetVaultExternalKeyManagerMetadataSummaryOutputWithContext(context.Context) GetVaultExternalKeyManagerMetadataSummaryOutput } -// A key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. -func (o GetKeysKeyOutput) ProtectionMode() pulumi.StringOutput { - return o.ApplyT(func(v GetKeysKey) string { return v.ProtectionMode }).(pulumi.StringOutput) +type GetVaultExternalKeyManagerMetadataSummaryArgs struct { + // URL of the vault on external key manager. + ExternalVaultEndpointUrl pulumi.StringInput `pulumi:"externalVaultEndpointUrl"` + // Summary about authorization to be returned to the customer as a response. + OauthMetadataSummaries GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayInput `pulumi:"oauthMetadataSummaries"` + // OCID of the private endpoint. + PrivateEndpointId pulumi.StringInput `pulumi:"privateEndpointId"` + // Vendor of the external key manager. + Vendor pulumi.StringInput `pulumi:"vendor"` } -// Key replica details -func (o GetKeysKeyOutput) ReplicaDetails() GetKeysKeyReplicaDetailArrayOutput { - return o.ApplyT(func(v GetKeysKey) []GetKeysKeyReplicaDetail { return v.ReplicaDetails }).(GetKeysKeyReplicaDetailArrayOutput) +func (GetVaultExternalKeyManagerMetadataSummaryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetVaultExternalKeyManagerMetadataSummary)(nil)).Elem() } -func (o GetKeysKeyOutput) RestoreFromFiles() GetKeysKeyRestoreFromFileArrayOutput { - return o.ApplyT(func(v GetKeysKey) []GetKeysKeyRestoreFromFile { return v.RestoreFromFiles }).(GetKeysKeyRestoreFromFileArrayOutput) +func (i GetVaultExternalKeyManagerMetadataSummaryArgs) ToGetVaultExternalKeyManagerMetadataSummaryOutput() GetVaultExternalKeyManagerMetadataSummaryOutput { + return i.ToGetVaultExternalKeyManagerMetadataSummaryOutputWithContext(context.Background()) } -func (o GetKeysKeyOutput) RestoreFromObjectStores() GetKeysKeyRestoreFromObjectStoreArrayOutput { - return o.ApplyT(func(v GetKeysKey) []GetKeysKeyRestoreFromObjectStore { return v.RestoreFromObjectStores }).(GetKeysKeyRestoreFromObjectStoreArrayOutput) +func (i GetVaultExternalKeyManagerMetadataSummaryArgs) ToGetVaultExternalKeyManagerMetadataSummaryOutputWithContext(ctx context.Context) GetVaultExternalKeyManagerMetadataSummaryOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetVaultExternalKeyManagerMetadataSummaryOutput) } -func (o GetKeysKeyOutput) RestoreTrigger() pulumi.BoolOutput { - return o.ApplyT(func(v GetKeysKey) bool { return v.RestoreTrigger }).(pulumi.BoolOutput) +func (i GetVaultExternalKeyManagerMetadataSummaryArgs) ToOutput(ctx context.Context) pulumix.Output[GetVaultExternalKeyManagerMetadataSummary] { + return pulumix.Output[GetVaultExternalKeyManagerMetadataSummary]{ + OutputState: i.ToGetVaultExternalKeyManagerMetadataSummaryOutputWithContext(ctx).OutputState, + } } -func (o GetKeysKeyOutput) RestoredFromKeyId() pulumi.StringOutput { - return o.ApplyT(func(v GetKeysKey) string { return v.RestoredFromKeyId }).(pulumi.StringOutput) +// GetVaultExternalKeyManagerMetadataSummaryArrayInput is an input type that accepts GetVaultExternalKeyManagerMetadataSummaryArray and GetVaultExternalKeyManagerMetadataSummaryArrayOutput values. +// You can construct a concrete instance of `GetVaultExternalKeyManagerMetadataSummaryArrayInput` via: +// +// GetVaultExternalKeyManagerMetadataSummaryArray{ GetVaultExternalKeyManagerMetadataSummaryArgs{...} } +type GetVaultExternalKeyManagerMetadataSummaryArrayInput interface { + pulumi.Input + + ToGetVaultExternalKeyManagerMetadataSummaryArrayOutput() GetVaultExternalKeyManagerMetadataSummaryArrayOutput + ToGetVaultExternalKeyManagerMetadataSummaryArrayOutputWithContext(context.Context) GetVaultExternalKeyManagerMetadataSummaryArrayOutput } -// The key's current lifecycle state. Example: `ENABLED` -func (o GetKeysKeyOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetKeysKey) string { return v.State }).(pulumi.StringOutput) +type GetVaultExternalKeyManagerMetadataSummaryArray []GetVaultExternalKeyManagerMetadataSummaryInput + +func (GetVaultExternalKeyManagerMetadataSummaryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetVaultExternalKeyManagerMetadataSummary)(nil)).Elem() } -// The date and time the key was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` -func (o GetKeysKeyOutput) TimeCreated() pulumi.StringOutput { - return o.ApplyT(func(v GetKeysKey) string { return v.TimeCreated }).(pulumi.StringOutput) +func (i GetVaultExternalKeyManagerMetadataSummaryArray) ToGetVaultExternalKeyManagerMetadataSummaryArrayOutput() GetVaultExternalKeyManagerMetadataSummaryArrayOutput { + return i.ToGetVaultExternalKeyManagerMetadataSummaryArrayOutputWithContext(context.Background()) } -// An optional property indicating when to delete the key, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` -func (o GetKeysKeyOutput) TimeOfDeletion() pulumi.StringOutput { - return o.ApplyT(func(v GetKeysKey) string { return v.TimeOfDeletion }).(pulumi.StringOutput) +func (i GetVaultExternalKeyManagerMetadataSummaryArray) ToGetVaultExternalKeyManagerMetadataSummaryArrayOutputWithContext(ctx context.Context) GetVaultExternalKeyManagerMetadataSummaryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetVaultExternalKeyManagerMetadataSummaryArrayOutput) } -// The OCID of the vault that contains this key. -func (o GetKeysKeyOutput) VaultId() pulumi.StringOutput { - return o.ApplyT(func(v GetKeysKey) string { return v.VaultId }).(pulumi.StringOutput) +func (i GetVaultExternalKeyManagerMetadataSummaryArray) ToOutput(ctx context.Context) pulumix.Output[[]GetVaultExternalKeyManagerMetadataSummary] { + return pulumix.Output[[]GetVaultExternalKeyManagerMetadataSummary]{ + OutputState: i.ToGetVaultExternalKeyManagerMetadataSummaryArrayOutputWithContext(ctx).OutputState, + } } -type GetKeysKeyArrayOutput struct{ *pulumi.OutputState } +type GetVaultExternalKeyManagerMetadataSummaryOutput struct{ *pulumi.OutputState } -func (GetKeysKeyArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetKeysKey)(nil)).Elem() +func (GetVaultExternalKeyManagerMetadataSummaryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetVaultExternalKeyManagerMetadataSummary)(nil)).Elem() } -func (o GetKeysKeyArrayOutput) ToGetKeysKeyArrayOutput() GetKeysKeyArrayOutput { +func (o GetVaultExternalKeyManagerMetadataSummaryOutput) ToGetVaultExternalKeyManagerMetadataSummaryOutput() GetVaultExternalKeyManagerMetadataSummaryOutput { return o } -func (o GetKeysKeyArrayOutput) ToGetKeysKeyArrayOutputWithContext(ctx context.Context) GetKeysKeyArrayOutput { +func (o GetVaultExternalKeyManagerMetadataSummaryOutput) ToGetVaultExternalKeyManagerMetadataSummaryOutputWithContext(ctx context.Context) GetVaultExternalKeyManagerMetadataSummaryOutput { return o } -func (o GetKeysKeyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetKeysKey] { - return pulumix.Output[[]GetKeysKey]{ +func (o GetVaultExternalKeyManagerMetadataSummaryOutput) ToOutput(ctx context.Context) pulumix.Output[GetVaultExternalKeyManagerMetadataSummary] { + return pulumix.Output[GetVaultExternalKeyManagerMetadataSummary]{ OutputState: o.OutputState, } } -func (o GetKeysKeyArrayOutput) Index(i pulumi.IntInput) GetKeysKeyOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetKeysKey { - return vs[0].([]GetKeysKey)[vs[1].(int)] - }).(GetKeysKeyOutput) +// URL of the vault on external key manager. +func (o GetVaultExternalKeyManagerMetadataSummaryOutput) ExternalVaultEndpointUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetVaultExternalKeyManagerMetadataSummary) string { return v.ExternalVaultEndpointUrl }).(pulumi.StringOutput) } -type GetKeysKeyKeyShape struct { - // The algorithm used by a key's key versions to encrypt or decrypt data. Currently, support includes AES, RSA, and ECDSA algorithms. - Algorithm string `pulumi:"algorithm"` - // The curve ID of the keys. (This pertains only to ECDSA keys.) - CurveId string `pulumi:"curveId"` - // The length of the key in bytes, expressed as an integer. Supported values include 16, 24, or 32. - Length int `pulumi:"length"` +// Summary about authorization to be returned to the customer as a response. +func (o GetVaultExternalKeyManagerMetadataSummaryOutput) OauthMetadataSummaries() GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutput { + return o.ApplyT(func(v GetVaultExternalKeyManagerMetadataSummary) []GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary { + return v.OauthMetadataSummaries + }).(GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutput) } -// GetKeysKeyKeyShapeInput is an input type that accepts GetKeysKeyKeyShapeArgs and GetKeysKeyKeyShapeOutput values. -// You can construct a concrete instance of `GetKeysKeyKeyShapeInput` via: -// -// GetKeysKeyKeyShapeArgs{...} -type GetKeysKeyKeyShapeInput interface { - pulumi.Input +// OCID of the private endpoint. +func (o GetVaultExternalKeyManagerMetadataSummaryOutput) PrivateEndpointId() pulumi.StringOutput { + return o.ApplyT(func(v GetVaultExternalKeyManagerMetadataSummary) string { return v.PrivateEndpointId }).(pulumi.StringOutput) +} - ToGetKeysKeyKeyShapeOutput() GetKeysKeyKeyShapeOutput - ToGetKeysKeyKeyShapeOutputWithContext(context.Context) GetKeysKeyKeyShapeOutput +// Vendor of the external key manager. +func (o GetVaultExternalKeyManagerMetadataSummaryOutput) Vendor() pulumi.StringOutput { + return o.ApplyT(func(v GetVaultExternalKeyManagerMetadataSummary) string { return v.Vendor }).(pulumi.StringOutput) } -type GetKeysKeyKeyShapeArgs struct { - // The algorithm used by a key's key versions to encrypt or decrypt data. Currently, support includes AES, RSA, and ECDSA algorithms. - Algorithm pulumi.StringInput `pulumi:"algorithm"` - // The curve ID of the keys. (This pertains only to ECDSA keys.) - CurveId pulumi.StringInput `pulumi:"curveId"` - // The length of the key in bytes, expressed as an integer. Supported values include 16, 24, or 32. - Length pulumi.IntInput `pulumi:"length"` +type GetVaultExternalKeyManagerMetadataSummaryArrayOutput struct{ *pulumi.OutputState } + +func (GetVaultExternalKeyManagerMetadataSummaryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetVaultExternalKeyManagerMetadataSummary)(nil)).Elem() +} + +func (o GetVaultExternalKeyManagerMetadataSummaryArrayOutput) ToGetVaultExternalKeyManagerMetadataSummaryArrayOutput() GetVaultExternalKeyManagerMetadataSummaryArrayOutput { + return o +} + +func (o GetVaultExternalKeyManagerMetadataSummaryArrayOutput) ToGetVaultExternalKeyManagerMetadataSummaryArrayOutputWithContext(ctx context.Context) GetVaultExternalKeyManagerMetadataSummaryArrayOutput { + return o +} + +func (o GetVaultExternalKeyManagerMetadataSummaryArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetVaultExternalKeyManagerMetadataSummary] { + return pulumix.Output[[]GetVaultExternalKeyManagerMetadataSummary]{ + OutputState: o.OutputState, + } +} + +func (o GetVaultExternalKeyManagerMetadataSummaryArrayOutput) Index(i pulumi.IntInput) GetVaultExternalKeyManagerMetadataSummaryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVaultExternalKeyManagerMetadataSummary { + return vs[0].([]GetVaultExternalKeyManagerMetadataSummary)[vs[1].(int)] + }).(GetVaultExternalKeyManagerMetadataSummaryOutput) +} + +type GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary struct { + // ID of the client app created in IDP. + ClientAppId string `pulumi:"clientAppId"` + // Base URL of the IDCS account where confidential client app is created. + IdcsAccountNameUrl string `pulumi:"idcsAccountNameUrl"` +} + +// GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryInput is an input type that accepts GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArgs and GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutput values. +// You can construct a concrete instance of `GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryInput` via: +// +// GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArgs{...} +type GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryInput interface { + pulumi.Input + + ToGetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutput() GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutput + ToGetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutputWithContext(context.Context) GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutput } -func (GetKeysKeyKeyShapeArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetKeysKeyKeyShape)(nil)).Elem() +type GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArgs struct { + // ID of the client app created in IDP. + ClientAppId pulumi.StringInput `pulumi:"clientAppId"` + // Base URL of the IDCS account where confidential client app is created. + IdcsAccountNameUrl pulumi.StringInput `pulumi:"idcsAccountNameUrl"` } -func (i GetKeysKeyKeyShapeArgs) ToGetKeysKeyKeyShapeOutput() GetKeysKeyKeyShapeOutput { - return i.ToGetKeysKeyKeyShapeOutputWithContext(context.Background()) +func (GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary)(nil)).Elem() } -func (i GetKeysKeyKeyShapeArgs) ToGetKeysKeyKeyShapeOutputWithContext(ctx context.Context) GetKeysKeyKeyShapeOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetKeysKeyKeyShapeOutput) +func (i GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArgs) ToGetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutput() GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutput { + return i.ToGetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutputWithContext(context.Background()) } -func (i GetKeysKeyKeyShapeArgs) ToOutput(ctx context.Context) pulumix.Output[GetKeysKeyKeyShape] { - return pulumix.Output[GetKeysKeyKeyShape]{ - OutputState: i.ToGetKeysKeyKeyShapeOutputWithContext(ctx).OutputState, +func (i GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArgs) ToGetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutputWithContext(ctx context.Context) GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutput) +} + +func (i GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArgs) ToOutput(ctx context.Context) pulumix.Output[GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary] { + return pulumix.Output[GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary]{ + OutputState: i.ToGetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutputWithContext(ctx).OutputState, } } -// GetKeysKeyKeyShapeArrayInput is an input type that accepts GetKeysKeyKeyShapeArray and GetKeysKeyKeyShapeArrayOutput values. -// You can construct a concrete instance of `GetKeysKeyKeyShapeArrayInput` via: +// GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayInput is an input type that accepts GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArray and GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutput values. +// You can construct a concrete instance of `GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayInput` via: // -// GetKeysKeyKeyShapeArray{ GetKeysKeyKeyShapeArgs{...} } -type GetKeysKeyKeyShapeArrayInput interface { +// GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArray{ GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArgs{...} } +type GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayInput interface { pulumi.Input - ToGetKeysKeyKeyShapeArrayOutput() GetKeysKeyKeyShapeArrayOutput - ToGetKeysKeyKeyShapeArrayOutputWithContext(context.Context) GetKeysKeyKeyShapeArrayOutput + ToGetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutput() GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutput + ToGetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutputWithContext(context.Context) GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutput } -type GetKeysKeyKeyShapeArray []GetKeysKeyKeyShapeInput +type GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArray []GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryInput -func (GetKeysKeyKeyShapeArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetKeysKeyKeyShape)(nil)).Elem() +func (GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary)(nil)).Elem() } -func (i GetKeysKeyKeyShapeArray) ToGetKeysKeyKeyShapeArrayOutput() GetKeysKeyKeyShapeArrayOutput { - return i.ToGetKeysKeyKeyShapeArrayOutputWithContext(context.Background()) +func (i GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArray) ToGetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutput() GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutput { + return i.ToGetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutputWithContext(context.Background()) } -func (i GetKeysKeyKeyShapeArray) ToGetKeysKeyKeyShapeArrayOutputWithContext(ctx context.Context) GetKeysKeyKeyShapeArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetKeysKeyKeyShapeArrayOutput) +func (i GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArray) ToGetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutputWithContext(ctx context.Context) GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutput) } -func (i GetKeysKeyKeyShapeArray) ToOutput(ctx context.Context) pulumix.Output[[]GetKeysKeyKeyShape] { - return pulumix.Output[[]GetKeysKeyKeyShape]{ - OutputState: i.ToGetKeysKeyKeyShapeArrayOutputWithContext(ctx).OutputState, +func (i GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArray) ToOutput(ctx context.Context) pulumix.Output[[]GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary] { + return pulumix.Output[[]GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary]{ + OutputState: i.ToGetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutputWithContext(ctx).OutputState, } } -type GetKeysKeyKeyShapeOutput struct{ *pulumi.OutputState } +type GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutput struct{ *pulumi.OutputState } -func (GetKeysKeyKeyShapeOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetKeysKeyKeyShape)(nil)).Elem() +func (GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary)(nil)).Elem() } -func (o GetKeysKeyKeyShapeOutput) ToGetKeysKeyKeyShapeOutput() GetKeysKeyKeyShapeOutput { +func (o GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutput) ToGetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutput() GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutput { return o } -func (o GetKeysKeyKeyShapeOutput) ToGetKeysKeyKeyShapeOutputWithContext(ctx context.Context) GetKeysKeyKeyShapeOutput { +func (o GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutput) ToGetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutputWithContext(ctx context.Context) GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutput { return o } -func (o GetKeysKeyKeyShapeOutput) ToOutput(ctx context.Context) pulumix.Output[GetKeysKeyKeyShape] { - return pulumix.Output[GetKeysKeyKeyShape]{ +func (o GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutput) ToOutput(ctx context.Context) pulumix.Output[GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary] { + return pulumix.Output[GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary]{ OutputState: o.OutputState, } } -// The algorithm used by a key's key versions to encrypt or decrypt data. Currently, support includes AES, RSA, and ECDSA algorithms. -func (o GetKeysKeyKeyShapeOutput) Algorithm() pulumi.StringOutput { - return o.ApplyT(func(v GetKeysKeyKeyShape) string { return v.Algorithm }).(pulumi.StringOutput) -} - -// The curve ID of the keys. (This pertains only to ECDSA keys.) -func (o GetKeysKeyKeyShapeOutput) CurveId() pulumi.StringOutput { - return o.ApplyT(func(v GetKeysKeyKeyShape) string { return v.CurveId }).(pulumi.StringOutput) +// ID of the client app created in IDP. +func (o GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutput) ClientAppId() pulumi.StringOutput { + return o.ApplyT(func(v GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary) string { return v.ClientAppId }).(pulumi.StringOutput) } -// The length of the key in bytes, expressed as an integer. Supported values include 16, 24, or 32. -func (o GetKeysKeyKeyShapeOutput) Length() pulumi.IntOutput { - return o.ApplyT(func(v GetKeysKeyKeyShape) int { return v.Length }).(pulumi.IntOutput) +// Base URL of the IDCS account where confidential client app is created. +func (o GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutput) IdcsAccountNameUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary) string { + return v.IdcsAccountNameUrl + }).(pulumi.StringOutput) } -type GetKeysKeyKeyShapeArrayOutput struct{ *pulumi.OutputState } +type GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutput struct{ *pulumi.OutputState } -func (GetKeysKeyKeyShapeArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetKeysKeyKeyShape)(nil)).Elem() +func (GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary)(nil)).Elem() } -func (o GetKeysKeyKeyShapeArrayOutput) ToGetKeysKeyKeyShapeArrayOutput() GetKeysKeyKeyShapeArrayOutput { +func (o GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutput) ToGetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutput() GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutput { return o } -func (o GetKeysKeyKeyShapeArrayOutput) ToGetKeysKeyKeyShapeArrayOutputWithContext(ctx context.Context) GetKeysKeyKeyShapeArrayOutput { +func (o GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutput) ToGetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutputWithContext(ctx context.Context) GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutput { return o } -func (o GetKeysKeyKeyShapeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetKeysKeyKeyShape] { - return pulumix.Output[[]GetKeysKeyKeyShape]{ +func (o GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary] { + return pulumix.Output[[]GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary]{ OutputState: o.OutputState, } } -func (o GetKeysKeyKeyShapeArrayOutput) Index(i pulumi.IntInput) GetKeysKeyKeyShapeOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetKeysKeyKeyShape { - return vs[0].([]GetKeysKeyKeyShape)[vs[1].(int)] - }).(GetKeysKeyKeyShapeOutput) +func (o GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutput) Index(i pulumi.IntInput) GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary { + return vs[0].([]GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary)[vs[1].(int)] + }).(GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutput) } -type GetKeysKeyReplicaDetail struct { - // ReplicationId associated with a key operation +type GetVaultReplicaDetail struct { + // ReplicationId associated with a vault operation ReplicationId string `pulumi:"replicationId"` } -// GetKeysKeyReplicaDetailInput is an input type that accepts GetKeysKeyReplicaDetailArgs and GetKeysKeyReplicaDetailOutput values. -// You can construct a concrete instance of `GetKeysKeyReplicaDetailInput` via: +// GetVaultReplicaDetailInput is an input type that accepts GetVaultReplicaDetailArgs and GetVaultReplicaDetailOutput values. +// You can construct a concrete instance of `GetVaultReplicaDetailInput` via: // -// GetKeysKeyReplicaDetailArgs{...} -type GetKeysKeyReplicaDetailInput interface { +// GetVaultReplicaDetailArgs{...} +type GetVaultReplicaDetailInput interface { pulumi.Input - ToGetKeysKeyReplicaDetailOutput() GetKeysKeyReplicaDetailOutput - ToGetKeysKeyReplicaDetailOutputWithContext(context.Context) GetKeysKeyReplicaDetailOutput + ToGetVaultReplicaDetailOutput() GetVaultReplicaDetailOutput + ToGetVaultReplicaDetailOutputWithContext(context.Context) GetVaultReplicaDetailOutput } -type GetKeysKeyReplicaDetailArgs struct { - // ReplicationId associated with a key operation +type GetVaultReplicaDetailArgs struct { + // ReplicationId associated with a vault operation ReplicationId pulumi.StringInput `pulumi:"replicationId"` } -func (GetKeysKeyReplicaDetailArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetKeysKeyReplicaDetail)(nil)).Elem() +func (GetVaultReplicaDetailArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetVaultReplicaDetail)(nil)).Elem() } -func (i GetKeysKeyReplicaDetailArgs) ToGetKeysKeyReplicaDetailOutput() GetKeysKeyReplicaDetailOutput { - return i.ToGetKeysKeyReplicaDetailOutputWithContext(context.Background()) +func (i GetVaultReplicaDetailArgs) ToGetVaultReplicaDetailOutput() GetVaultReplicaDetailOutput { + return i.ToGetVaultReplicaDetailOutputWithContext(context.Background()) } -func (i GetKeysKeyReplicaDetailArgs) ToGetKeysKeyReplicaDetailOutputWithContext(ctx context.Context) GetKeysKeyReplicaDetailOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetKeysKeyReplicaDetailOutput) +func (i GetVaultReplicaDetailArgs) ToGetVaultReplicaDetailOutputWithContext(ctx context.Context) GetVaultReplicaDetailOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetVaultReplicaDetailOutput) } -func (i GetKeysKeyReplicaDetailArgs) ToOutput(ctx context.Context) pulumix.Output[GetKeysKeyReplicaDetail] { - return pulumix.Output[GetKeysKeyReplicaDetail]{ - OutputState: i.ToGetKeysKeyReplicaDetailOutputWithContext(ctx).OutputState, +func (i GetVaultReplicaDetailArgs) ToOutput(ctx context.Context) pulumix.Output[GetVaultReplicaDetail] { + return pulumix.Output[GetVaultReplicaDetail]{ + OutputState: i.ToGetVaultReplicaDetailOutputWithContext(ctx).OutputState, } } -// GetKeysKeyReplicaDetailArrayInput is an input type that accepts GetKeysKeyReplicaDetailArray and GetKeysKeyReplicaDetailArrayOutput values. -// You can construct a concrete instance of `GetKeysKeyReplicaDetailArrayInput` via: +// GetVaultReplicaDetailArrayInput is an input type that accepts GetVaultReplicaDetailArray and GetVaultReplicaDetailArrayOutput values. +// You can construct a concrete instance of `GetVaultReplicaDetailArrayInput` via: // -// GetKeysKeyReplicaDetailArray{ GetKeysKeyReplicaDetailArgs{...} } -type GetKeysKeyReplicaDetailArrayInput interface { +// GetVaultReplicaDetailArray{ GetVaultReplicaDetailArgs{...} } +type GetVaultReplicaDetailArrayInput interface { pulumi.Input - ToGetKeysKeyReplicaDetailArrayOutput() GetKeysKeyReplicaDetailArrayOutput - ToGetKeysKeyReplicaDetailArrayOutputWithContext(context.Context) GetKeysKeyReplicaDetailArrayOutput + ToGetVaultReplicaDetailArrayOutput() GetVaultReplicaDetailArrayOutput + ToGetVaultReplicaDetailArrayOutputWithContext(context.Context) GetVaultReplicaDetailArrayOutput } -type GetKeysKeyReplicaDetailArray []GetKeysKeyReplicaDetailInput +type GetVaultReplicaDetailArray []GetVaultReplicaDetailInput -func (GetKeysKeyReplicaDetailArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetKeysKeyReplicaDetail)(nil)).Elem() +func (GetVaultReplicaDetailArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetVaultReplicaDetail)(nil)).Elem() } -func (i GetKeysKeyReplicaDetailArray) ToGetKeysKeyReplicaDetailArrayOutput() GetKeysKeyReplicaDetailArrayOutput { - return i.ToGetKeysKeyReplicaDetailArrayOutputWithContext(context.Background()) +func (i GetVaultReplicaDetailArray) ToGetVaultReplicaDetailArrayOutput() GetVaultReplicaDetailArrayOutput { + return i.ToGetVaultReplicaDetailArrayOutputWithContext(context.Background()) } -func (i GetKeysKeyReplicaDetailArray) ToGetKeysKeyReplicaDetailArrayOutputWithContext(ctx context.Context) GetKeysKeyReplicaDetailArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetKeysKeyReplicaDetailArrayOutput) +func (i GetVaultReplicaDetailArray) ToGetVaultReplicaDetailArrayOutputWithContext(ctx context.Context) GetVaultReplicaDetailArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetVaultReplicaDetailArrayOutput) } -func (i GetKeysKeyReplicaDetailArray) ToOutput(ctx context.Context) pulumix.Output[[]GetKeysKeyReplicaDetail] { - return pulumix.Output[[]GetKeysKeyReplicaDetail]{ - OutputState: i.ToGetKeysKeyReplicaDetailArrayOutputWithContext(ctx).OutputState, +func (i GetVaultReplicaDetailArray) ToOutput(ctx context.Context) pulumix.Output[[]GetVaultReplicaDetail] { + return pulumix.Output[[]GetVaultReplicaDetail]{ + OutputState: i.ToGetVaultReplicaDetailArrayOutputWithContext(ctx).OutputState, } } -type GetKeysKeyReplicaDetailOutput struct{ *pulumi.OutputState } +type GetVaultReplicaDetailOutput struct{ *pulumi.OutputState } -func (GetKeysKeyReplicaDetailOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetKeysKeyReplicaDetail)(nil)).Elem() +func (GetVaultReplicaDetailOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetVaultReplicaDetail)(nil)).Elem() } -func (o GetKeysKeyReplicaDetailOutput) ToGetKeysKeyReplicaDetailOutput() GetKeysKeyReplicaDetailOutput { +func (o GetVaultReplicaDetailOutput) ToGetVaultReplicaDetailOutput() GetVaultReplicaDetailOutput { return o } -func (o GetKeysKeyReplicaDetailOutput) ToGetKeysKeyReplicaDetailOutputWithContext(ctx context.Context) GetKeysKeyReplicaDetailOutput { +func (o GetVaultReplicaDetailOutput) ToGetVaultReplicaDetailOutputWithContext(ctx context.Context) GetVaultReplicaDetailOutput { return o } -func (o GetKeysKeyReplicaDetailOutput) ToOutput(ctx context.Context) pulumix.Output[GetKeysKeyReplicaDetail] { - return pulumix.Output[GetKeysKeyReplicaDetail]{ +func (o GetVaultReplicaDetailOutput) ToOutput(ctx context.Context) pulumix.Output[GetVaultReplicaDetail] { + return pulumix.Output[GetVaultReplicaDetail]{ OutputState: o.OutputState, } } -// ReplicationId associated with a key operation -func (o GetKeysKeyReplicaDetailOutput) ReplicationId() pulumi.StringOutput { - return o.ApplyT(func(v GetKeysKeyReplicaDetail) string { return v.ReplicationId }).(pulumi.StringOutput) +// ReplicationId associated with a vault operation +func (o GetVaultReplicaDetailOutput) ReplicationId() pulumi.StringOutput { + return o.ApplyT(func(v GetVaultReplicaDetail) string { return v.ReplicationId }).(pulumi.StringOutput) } -type GetKeysKeyReplicaDetailArrayOutput struct{ *pulumi.OutputState } +type GetVaultReplicaDetailArrayOutput struct{ *pulumi.OutputState } -func (GetKeysKeyReplicaDetailArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetKeysKeyReplicaDetail)(nil)).Elem() +func (GetVaultReplicaDetailArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetVaultReplicaDetail)(nil)).Elem() } -func (o GetKeysKeyReplicaDetailArrayOutput) ToGetKeysKeyReplicaDetailArrayOutput() GetKeysKeyReplicaDetailArrayOutput { +func (o GetVaultReplicaDetailArrayOutput) ToGetVaultReplicaDetailArrayOutput() GetVaultReplicaDetailArrayOutput { return o } -func (o GetKeysKeyReplicaDetailArrayOutput) ToGetKeysKeyReplicaDetailArrayOutputWithContext(ctx context.Context) GetKeysKeyReplicaDetailArrayOutput { +func (o GetVaultReplicaDetailArrayOutput) ToGetVaultReplicaDetailArrayOutputWithContext(ctx context.Context) GetVaultReplicaDetailArrayOutput { return o } -func (o GetKeysKeyReplicaDetailArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetKeysKeyReplicaDetail] { - return pulumix.Output[[]GetKeysKeyReplicaDetail]{ +func (o GetVaultReplicaDetailArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetVaultReplicaDetail] { + return pulumix.Output[[]GetVaultReplicaDetail]{ OutputState: o.OutputState, } } -func (o GetKeysKeyReplicaDetailArrayOutput) Index(i pulumi.IntInput) GetKeysKeyReplicaDetailOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetKeysKeyReplicaDetail { - return vs[0].([]GetKeysKeyReplicaDetail)[vs[1].(int)] - }).(GetKeysKeyReplicaDetailOutput) +func (o GetVaultReplicaDetailArrayOutput) Index(i pulumi.IntInput) GetVaultReplicaDetailOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVaultReplicaDetail { + return vs[0].([]GetVaultReplicaDetail)[vs[1].(int)] + }).(GetVaultReplicaDetailOutput) } -type GetKeysKeyRestoreFromFile struct { - ContentLength string `pulumi:"contentLength"` - ContentMd5 string `pulumi:"contentMd5"` - RestoreKeyFromFileDetails string `pulumi:"restoreKeyFromFileDetails"` +type GetVaultReplicasFilter struct { + Name string `pulumi:"name"` + Regex *bool `pulumi:"regex"` + Values []string `pulumi:"values"` } -// GetKeysKeyRestoreFromFileInput is an input type that accepts GetKeysKeyRestoreFromFileArgs and GetKeysKeyRestoreFromFileOutput values. -// You can construct a concrete instance of `GetKeysKeyRestoreFromFileInput` via: +// GetVaultReplicasFilterInput is an input type that accepts GetVaultReplicasFilterArgs and GetVaultReplicasFilterOutput values. +// You can construct a concrete instance of `GetVaultReplicasFilterInput` via: // -// GetKeysKeyRestoreFromFileArgs{...} -type GetKeysKeyRestoreFromFileInput interface { +// GetVaultReplicasFilterArgs{...} +type GetVaultReplicasFilterInput interface { pulumi.Input - ToGetKeysKeyRestoreFromFileOutput() GetKeysKeyRestoreFromFileOutput - ToGetKeysKeyRestoreFromFileOutputWithContext(context.Context) GetKeysKeyRestoreFromFileOutput + ToGetVaultReplicasFilterOutput() GetVaultReplicasFilterOutput + ToGetVaultReplicasFilterOutputWithContext(context.Context) GetVaultReplicasFilterOutput } -type GetKeysKeyRestoreFromFileArgs struct { - ContentLength pulumi.StringInput `pulumi:"contentLength"` - ContentMd5 pulumi.StringInput `pulumi:"contentMd5"` - RestoreKeyFromFileDetails pulumi.StringInput `pulumi:"restoreKeyFromFileDetails"` +type GetVaultReplicasFilterArgs struct { + Name pulumi.StringInput `pulumi:"name"` + Regex pulumi.BoolPtrInput `pulumi:"regex"` + Values pulumi.StringArrayInput `pulumi:"values"` } -func (GetKeysKeyRestoreFromFileArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetKeysKeyRestoreFromFile)(nil)).Elem() +func (GetVaultReplicasFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetVaultReplicasFilter)(nil)).Elem() } -func (i GetKeysKeyRestoreFromFileArgs) ToGetKeysKeyRestoreFromFileOutput() GetKeysKeyRestoreFromFileOutput { - return i.ToGetKeysKeyRestoreFromFileOutputWithContext(context.Background()) +func (i GetVaultReplicasFilterArgs) ToGetVaultReplicasFilterOutput() GetVaultReplicasFilterOutput { + return i.ToGetVaultReplicasFilterOutputWithContext(context.Background()) } -func (i GetKeysKeyRestoreFromFileArgs) ToGetKeysKeyRestoreFromFileOutputWithContext(ctx context.Context) GetKeysKeyRestoreFromFileOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetKeysKeyRestoreFromFileOutput) +func (i GetVaultReplicasFilterArgs) ToGetVaultReplicasFilterOutputWithContext(ctx context.Context) GetVaultReplicasFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetVaultReplicasFilterOutput) } -func (i GetKeysKeyRestoreFromFileArgs) ToOutput(ctx context.Context) pulumix.Output[GetKeysKeyRestoreFromFile] { - return pulumix.Output[GetKeysKeyRestoreFromFile]{ - OutputState: i.ToGetKeysKeyRestoreFromFileOutputWithContext(ctx).OutputState, +func (i GetVaultReplicasFilterArgs) ToOutput(ctx context.Context) pulumix.Output[GetVaultReplicasFilter] { + return pulumix.Output[GetVaultReplicasFilter]{ + OutputState: i.ToGetVaultReplicasFilterOutputWithContext(ctx).OutputState, } } -// GetKeysKeyRestoreFromFileArrayInput is an input type that accepts GetKeysKeyRestoreFromFileArray and GetKeysKeyRestoreFromFileArrayOutput values. -// You can construct a concrete instance of `GetKeysKeyRestoreFromFileArrayInput` via: +// GetVaultReplicasFilterArrayInput is an input type that accepts GetVaultReplicasFilterArray and GetVaultReplicasFilterArrayOutput values. +// You can construct a concrete instance of `GetVaultReplicasFilterArrayInput` via: // -// GetKeysKeyRestoreFromFileArray{ GetKeysKeyRestoreFromFileArgs{...} } -type GetKeysKeyRestoreFromFileArrayInput interface { +// GetVaultReplicasFilterArray{ GetVaultReplicasFilterArgs{...} } +type GetVaultReplicasFilterArrayInput interface { pulumi.Input - ToGetKeysKeyRestoreFromFileArrayOutput() GetKeysKeyRestoreFromFileArrayOutput - ToGetKeysKeyRestoreFromFileArrayOutputWithContext(context.Context) GetKeysKeyRestoreFromFileArrayOutput + ToGetVaultReplicasFilterArrayOutput() GetVaultReplicasFilterArrayOutput + ToGetVaultReplicasFilterArrayOutputWithContext(context.Context) GetVaultReplicasFilterArrayOutput } -type GetKeysKeyRestoreFromFileArray []GetKeysKeyRestoreFromFileInput +type GetVaultReplicasFilterArray []GetVaultReplicasFilterInput -func (GetKeysKeyRestoreFromFileArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetKeysKeyRestoreFromFile)(nil)).Elem() +func (GetVaultReplicasFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetVaultReplicasFilter)(nil)).Elem() } -func (i GetKeysKeyRestoreFromFileArray) ToGetKeysKeyRestoreFromFileArrayOutput() GetKeysKeyRestoreFromFileArrayOutput { - return i.ToGetKeysKeyRestoreFromFileArrayOutputWithContext(context.Background()) +func (i GetVaultReplicasFilterArray) ToGetVaultReplicasFilterArrayOutput() GetVaultReplicasFilterArrayOutput { + return i.ToGetVaultReplicasFilterArrayOutputWithContext(context.Background()) } -func (i GetKeysKeyRestoreFromFileArray) ToGetKeysKeyRestoreFromFileArrayOutputWithContext(ctx context.Context) GetKeysKeyRestoreFromFileArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetKeysKeyRestoreFromFileArrayOutput) +func (i GetVaultReplicasFilterArray) ToGetVaultReplicasFilterArrayOutputWithContext(ctx context.Context) GetVaultReplicasFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetVaultReplicasFilterArrayOutput) } -func (i GetKeysKeyRestoreFromFileArray) ToOutput(ctx context.Context) pulumix.Output[[]GetKeysKeyRestoreFromFile] { - return pulumix.Output[[]GetKeysKeyRestoreFromFile]{ - OutputState: i.ToGetKeysKeyRestoreFromFileArrayOutputWithContext(ctx).OutputState, +func (i GetVaultReplicasFilterArray) ToOutput(ctx context.Context) pulumix.Output[[]GetVaultReplicasFilter] { + return pulumix.Output[[]GetVaultReplicasFilter]{ + OutputState: i.ToGetVaultReplicasFilterArrayOutputWithContext(ctx).OutputState, } } -type GetKeysKeyRestoreFromFileOutput struct{ *pulumi.OutputState } +type GetVaultReplicasFilterOutput struct{ *pulumi.OutputState } -func (GetKeysKeyRestoreFromFileOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetKeysKeyRestoreFromFile)(nil)).Elem() +func (GetVaultReplicasFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetVaultReplicasFilter)(nil)).Elem() } -func (o GetKeysKeyRestoreFromFileOutput) ToGetKeysKeyRestoreFromFileOutput() GetKeysKeyRestoreFromFileOutput { +func (o GetVaultReplicasFilterOutput) ToGetVaultReplicasFilterOutput() GetVaultReplicasFilterOutput { return o } -func (o GetKeysKeyRestoreFromFileOutput) ToGetKeysKeyRestoreFromFileOutputWithContext(ctx context.Context) GetKeysKeyRestoreFromFileOutput { +func (o GetVaultReplicasFilterOutput) ToGetVaultReplicasFilterOutputWithContext(ctx context.Context) GetVaultReplicasFilterOutput { return o } -func (o GetKeysKeyRestoreFromFileOutput) ToOutput(ctx context.Context) pulumix.Output[GetKeysKeyRestoreFromFile] { - return pulumix.Output[GetKeysKeyRestoreFromFile]{ +func (o GetVaultReplicasFilterOutput) ToOutput(ctx context.Context) pulumix.Output[GetVaultReplicasFilter] { + return pulumix.Output[GetVaultReplicasFilter]{ OutputState: o.OutputState, } } -func (o GetKeysKeyRestoreFromFileOutput) ContentLength() pulumi.StringOutput { - return o.ApplyT(func(v GetKeysKeyRestoreFromFile) string { return v.ContentLength }).(pulumi.StringOutput) +func (o GetVaultReplicasFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetVaultReplicasFilter) string { return v.Name }).(pulumi.StringOutput) } -func (o GetKeysKeyRestoreFromFileOutput) ContentMd5() pulumi.StringOutput { - return o.ApplyT(func(v GetKeysKeyRestoreFromFile) string { return v.ContentMd5 }).(pulumi.StringOutput) +func (o GetVaultReplicasFilterOutput) Regex() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetVaultReplicasFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) } -func (o GetKeysKeyRestoreFromFileOutput) RestoreKeyFromFileDetails() pulumi.StringOutput { - return o.ApplyT(func(v GetKeysKeyRestoreFromFile) string { return v.RestoreKeyFromFileDetails }).(pulumi.StringOutput) +func (o GetVaultReplicasFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetVaultReplicasFilter) []string { return v.Values }).(pulumi.StringArrayOutput) } -type GetKeysKeyRestoreFromFileArrayOutput struct{ *pulumi.OutputState } +type GetVaultReplicasFilterArrayOutput struct{ *pulumi.OutputState } -func (GetKeysKeyRestoreFromFileArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetKeysKeyRestoreFromFile)(nil)).Elem() +func (GetVaultReplicasFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetVaultReplicasFilter)(nil)).Elem() } -func (o GetKeysKeyRestoreFromFileArrayOutput) ToGetKeysKeyRestoreFromFileArrayOutput() GetKeysKeyRestoreFromFileArrayOutput { +func (o GetVaultReplicasFilterArrayOutput) ToGetVaultReplicasFilterArrayOutput() GetVaultReplicasFilterArrayOutput { return o } -func (o GetKeysKeyRestoreFromFileArrayOutput) ToGetKeysKeyRestoreFromFileArrayOutputWithContext(ctx context.Context) GetKeysKeyRestoreFromFileArrayOutput { +func (o GetVaultReplicasFilterArrayOutput) ToGetVaultReplicasFilterArrayOutputWithContext(ctx context.Context) GetVaultReplicasFilterArrayOutput { return o } -func (o GetKeysKeyRestoreFromFileArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetKeysKeyRestoreFromFile] { - return pulumix.Output[[]GetKeysKeyRestoreFromFile]{ +func (o GetVaultReplicasFilterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetVaultReplicasFilter] { + return pulumix.Output[[]GetVaultReplicasFilter]{ OutputState: o.OutputState, } } -func (o GetKeysKeyRestoreFromFileArrayOutput) Index(i pulumi.IntInput) GetKeysKeyRestoreFromFileOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetKeysKeyRestoreFromFile { - return vs[0].([]GetKeysKeyRestoreFromFile)[vs[1].(int)] - }).(GetKeysKeyRestoreFromFileOutput) +func (o GetVaultReplicasFilterArrayOutput) Index(i pulumi.IntInput) GetVaultReplicasFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVaultReplicasFilter { + return vs[0].([]GetVaultReplicasFilter)[vs[1].(int)] + }).(GetVaultReplicasFilterOutput) } -type GetKeysKeyRestoreFromObjectStore struct { - Bucket string `pulumi:"bucket"` - Destination string `pulumi:"destination"` - Namespace string `pulumi:"namespace"` - Object string `pulumi:"object"` - Uri string `pulumi:"uri"` +type GetVaultReplicasVaultReplica struct { + // The vault replica's crypto endpoint + CryptoEndpoint string `pulumi:"cryptoEndpoint"` + // The vault replica's management endpoint + ManagementEndpoint string `pulumi:"managementEndpoint"` + // Region to which vault is replicated to + Region string `pulumi:"region"` + // Status of the Vault + Status string `pulumi:"status"` } -// GetKeysKeyRestoreFromObjectStoreInput is an input type that accepts GetKeysKeyRestoreFromObjectStoreArgs and GetKeysKeyRestoreFromObjectStoreOutput values. -// You can construct a concrete instance of `GetKeysKeyRestoreFromObjectStoreInput` via: +// GetVaultReplicasVaultReplicaInput is an input type that accepts GetVaultReplicasVaultReplicaArgs and GetVaultReplicasVaultReplicaOutput values. +// You can construct a concrete instance of `GetVaultReplicasVaultReplicaInput` via: // -// GetKeysKeyRestoreFromObjectStoreArgs{...} -type GetKeysKeyRestoreFromObjectStoreInput interface { +// GetVaultReplicasVaultReplicaArgs{...} +type GetVaultReplicasVaultReplicaInput interface { pulumi.Input - ToGetKeysKeyRestoreFromObjectStoreOutput() GetKeysKeyRestoreFromObjectStoreOutput - ToGetKeysKeyRestoreFromObjectStoreOutputWithContext(context.Context) GetKeysKeyRestoreFromObjectStoreOutput + ToGetVaultReplicasVaultReplicaOutput() GetVaultReplicasVaultReplicaOutput + ToGetVaultReplicasVaultReplicaOutputWithContext(context.Context) GetVaultReplicasVaultReplicaOutput } -type GetKeysKeyRestoreFromObjectStoreArgs struct { - Bucket pulumi.StringInput `pulumi:"bucket"` - Destination pulumi.StringInput `pulumi:"destination"` - Namespace pulumi.StringInput `pulumi:"namespace"` - Object pulumi.StringInput `pulumi:"object"` - Uri pulumi.StringInput `pulumi:"uri"` +type GetVaultReplicasVaultReplicaArgs struct { + // The vault replica's crypto endpoint + CryptoEndpoint pulumi.StringInput `pulumi:"cryptoEndpoint"` + // The vault replica's management endpoint + ManagementEndpoint pulumi.StringInput `pulumi:"managementEndpoint"` + // Region to which vault is replicated to + Region pulumi.StringInput `pulumi:"region"` + // Status of the Vault + Status pulumi.StringInput `pulumi:"status"` } -func (GetKeysKeyRestoreFromObjectStoreArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetKeysKeyRestoreFromObjectStore)(nil)).Elem() +func (GetVaultReplicasVaultReplicaArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetVaultReplicasVaultReplica)(nil)).Elem() } -func (i GetKeysKeyRestoreFromObjectStoreArgs) ToGetKeysKeyRestoreFromObjectStoreOutput() GetKeysKeyRestoreFromObjectStoreOutput { - return i.ToGetKeysKeyRestoreFromObjectStoreOutputWithContext(context.Background()) +func (i GetVaultReplicasVaultReplicaArgs) ToGetVaultReplicasVaultReplicaOutput() GetVaultReplicasVaultReplicaOutput { + return i.ToGetVaultReplicasVaultReplicaOutputWithContext(context.Background()) } -func (i GetKeysKeyRestoreFromObjectStoreArgs) ToGetKeysKeyRestoreFromObjectStoreOutputWithContext(ctx context.Context) GetKeysKeyRestoreFromObjectStoreOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetKeysKeyRestoreFromObjectStoreOutput) +func (i GetVaultReplicasVaultReplicaArgs) ToGetVaultReplicasVaultReplicaOutputWithContext(ctx context.Context) GetVaultReplicasVaultReplicaOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetVaultReplicasVaultReplicaOutput) } -func (i GetKeysKeyRestoreFromObjectStoreArgs) ToOutput(ctx context.Context) pulumix.Output[GetKeysKeyRestoreFromObjectStore] { - return pulumix.Output[GetKeysKeyRestoreFromObjectStore]{ - OutputState: i.ToGetKeysKeyRestoreFromObjectStoreOutputWithContext(ctx).OutputState, +func (i GetVaultReplicasVaultReplicaArgs) ToOutput(ctx context.Context) pulumix.Output[GetVaultReplicasVaultReplica] { + return pulumix.Output[GetVaultReplicasVaultReplica]{ + OutputState: i.ToGetVaultReplicasVaultReplicaOutputWithContext(ctx).OutputState, } } -// GetKeysKeyRestoreFromObjectStoreArrayInput is an input type that accepts GetKeysKeyRestoreFromObjectStoreArray and GetKeysKeyRestoreFromObjectStoreArrayOutput values. -// You can construct a concrete instance of `GetKeysKeyRestoreFromObjectStoreArrayInput` via: +// GetVaultReplicasVaultReplicaArrayInput is an input type that accepts GetVaultReplicasVaultReplicaArray and GetVaultReplicasVaultReplicaArrayOutput values. +// You can construct a concrete instance of `GetVaultReplicasVaultReplicaArrayInput` via: // -// GetKeysKeyRestoreFromObjectStoreArray{ GetKeysKeyRestoreFromObjectStoreArgs{...} } -type GetKeysKeyRestoreFromObjectStoreArrayInput interface { +// GetVaultReplicasVaultReplicaArray{ GetVaultReplicasVaultReplicaArgs{...} } +type GetVaultReplicasVaultReplicaArrayInput interface { pulumi.Input - ToGetKeysKeyRestoreFromObjectStoreArrayOutput() GetKeysKeyRestoreFromObjectStoreArrayOutput - ToGetKeysKeyRestoreFromObjectStoreArrayOutputWithContext(context.Context) GetKeysKeyRestoreFromObjectStoreArrayOutput + ToGetVaultReplicasVaultReplicaArrayOutput() GetVaultReplicasVaultReplicaArrayOutput + ToGetVaultReplicasVaultReplicaArrayOutputWithContext(context.Context) GetVaultReplicasVaultReplicaArrayOutput } -type GetKeysKeyRestoreFromObjectStoreArray []GetKeysKeyRestoreFromObjectStoreInput +type GetVaultReplicasVaultReplicaArray []GetVaultReplicasVaultReplicaInput -func (GetKeysKeyRestoreFromObjectStoreArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetKeysKeyRestoreFromObjectStore)(nil)).Elem() +func (GetVaultReplicasVaultReplicaArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetVaultReplicasVaultReplica)(nil)).Elem() } -func (i GetKeysKeyRestoreFromObjectStoreArray) ToGetKeysKeyRestoreFromObjectStoreArrayOutput() GetKeysKeyRestoreFromObjectStoreArrayOutput { - return i.ToGetKeysKeyRestoreFromObjectStoreArrayOutputWithContext(context.Background()) +func (i GetVaultReplicasVaultReplicaArray) ToGetVaultReplicasVaultReplicaArrayOutput() GetVaultReplicasVaultReplicaArrayOutput { + return i.ToGetVaultReplicasVaultReplicaArrayOutputWithContext(context.Background()) } -func (i GetKeysKeyRestoreFromObjectStoreArray) ToGetKeysKeyRestoreFromObjectStoreArrayOutputWithContext(ctx context.Context) GetKeysKeyRestoreFromObjectStoreArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetKeysKeyRestoreFromObjectStoreArrayOutput) +func (i GetVaultReplicasVaultReplicaArray) ToGetVaultReplicasVaultReplicaArrayOutputWithContext(ctx context.Context) GetVaultReplicasVaultReplicaArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetVaultReplicasVaultReplicaArrayOutput) } -func (i GetKeysKeyRestoreFromObjectStoreArray) ToOutput(ctx context.Context) pulumix.Output[[]GetKeysKeyRestoreFromObjectStore] { - return pulumix.Output[[]GetKeysKeyRestoreFromObjectStore]{ - OutputState: i.ToGetKeysKeyRestoreFromObjectStoreArrayOutputWithContext(ctx).OutputState, +func (i GetVaultReplicasVaultReplicaArray) ToOutput(ctx context.Context) pulumix.Output[[]GetVaultReplicasVaultReplica] { + return pulumix.Output[[]GetVaultReplicasVaultReplica]{ + OutputState: i.ToGetVaultReplicasVaultReplicaArrayOutputWithContext(ctx).OutputState, } } -type GetKeysKeyRestoreFromObjectStoreOutput struct{ *pulumi.OutputState } +type GetVaultReplicasVaultReplicaOutput struct{ *pulumi.OutputState } -func (GetKeysKeyRestoreFromObjectStoreOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetKeysKeyRestoreFromObjectStore)(nil)).Elem() +func (GetVaultReplicasVaultReplicaOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetVaultReplicasVaultReplica)(nil)).Elem() } -func (o GetKeysKeyRestoreFromObjectStoreOutput) ToGetKeysKeyRestoreFromObjectStoreOutput() GetKeysKeyRestoreFromObjectStoreOutput { +func (o GetVaultReplicasVaultReplicaOutput) ToGetVaultReplicasVaultReplicaOutput() GetVaultReplicasVaultReplicaOutput { return o } -func (o GetKeysKeyRestoreFromObjectStoreOutput) ToGetKeysKeyRestoreFromObjectStoreOutputWithContext(ctx context.Context) GetKeysKeyRestoreFromObjectStoreOutput { +func (o GetVaultReplicasVaultReplicaOutput) ToGetVaultReplicasVaultReplicaOutputWithContext(ctx context.Context) GetVaultReplicasVaultReplicaOutput { return o } -func (o GetKeysKeyRestoreFromObjectStoreOutput) ToOutput(ctx context.Context) pulumix.Output[GetKeysKeyRestoreFromObjectStore] { - return pulumix.Output[GetKeysKeyRestoreFromObjectStore]{ +func (o GetVaultReplicasVaultReplicaOutput) ToOutput(ctx context.Context) pulumix.Output[GetVaultReplicasVaultReplica] { + return pulumix.Output[GetVaultReplicasVaultReplica]{ OutputState: o.OutputState, } } -func (o GetKeysKeyRestoreFromObjectStoreOutput) Bucket() pulumi.StringOutput { - return o.ApplyT(func(v GetKeysKeyRestoreFromObjectStore) string { return v.Bucket }).(pulumi.StringOutput) -} - -func (o GetKeysKeyRestoreFromObjectStoreOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetKeysKeyRestoreFromObjectStore) string { return v.Destination }).(pulumi.StringOutput) +// The vault replica's crypto endpoint +func (o GetVaultReplicasVaultReplicaOutput) CryptoEndpoint() pulumi.StringOutput { + return o.ApplyT(func(v GetVaultReplicasVaultReplica) string { return v.CryptoEndpoint }).(pulumi.StringOutput) } -func (o GetKeysKeyRestoreFromObjectStoreOutput) Namespace() pulumi.StringOutput { - return o.ApplyT(func(v GetKeysKeyRestoreFromObjectStore) string { return v.Namespace }).(pulumi.StringOutput) +// The vault replica's management endpoint +func (o GetVaultReplicasVaultReplicaOutput) ManagementEndpoint() pulumi.StringOutput { + return o.ApplyT(func(v GetVaultReplicasVaultReplica) string { return v.ManagementEndpoint }).(pulumi.StringOutput) } -func (o GetKeysKeyRestoreFromObjectStoreOutput) Object() pulumi.StringOutput { - return o.ApplyT(func(v GetKeysKeyRestoreFromObjectStore) string { return v.Object }).(pulumi.StringOutput) +// Region to which vault is replicated to +func (o GetVaultReplicasVaultReplicaOutput) Region() pulumi.StringOutput { + return o.ApplyT(func(v GetVaultReplicasVaultReplica) string { return v.Region }).(pulumi.StringOutput) } -func (o GetKeysKeyRestoreFromObjectStoreOutput) Uri() pulumi.StringOutput { - return o.ApplyT(func(v GetKeysKeyRestoreFromObjectStore) string { return v.Uri }).(pulumi.StringOutput) +// Status of the Vault +func (o GetVaultReplicasVaultReplicaOutput) Status() pulumi.StringOutput { + return o.ApplyT(func(v GetVaultReplicasVaultReplica) string { return v.Status }).(pulumi.StringOutput) } -type GetKeysKeyRestoreFromObjectStoreArrayOutput struct{ *pulumi.OutputState } +type GetVaultReplicasVaultReplicaArrayOutput struct{ *pulumi.OutputState } -func (GetKeysKeyRestoreFromObjectStoreArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetKeysKeyRestoreFromObjectStore)(nil)).Elem() +func (GetVaultReplicasVaultReplicaArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetVaultReplicasVaultReplica)(nil)).Elem() } -func (o GetKeysKeyRestoreFromObjectStoreArrayOutput) ToGetKeysKeyRestoreFromObjectStoreArrayOutput() GetKeysKeyRestoreFromObjectStoreArrayOutput { +func (o GetVaultReplicasVaultReplicaArrayOutput) ToGetVaultReplicasVaultReplicaArrayOutput() GetVaultReplicasVaultReplicaArrayOutput { return o } -func (o GetKeysKeyRestoreFromObjectStoreArrayOutput) ToGetKeysKeyRestoreFromObjectStoreArrayOutputWithContext(ctx context.Context) GetKeysKeyRestoreFromObjectStoreArrayOutput { +func (o GetVaultReplicasVaultReplicaArrayOutput) ToGetVaultReplicasVaultReplicaArrayOutputWithContext(ctx context.Context) GetVaultReplicasVaultReplicaArrayOutput { return o } -func (o GetKeysKeyRestoreFromObjectStoreArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetKeysKeyRestoreFromObjectStore] { - return pulumix.Output[[]GetKeysKeyRestoreFromObjectStore]{ +func (o GetVaultReplicasVaultReplicaArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetVaultReplicasVaultReplica] { + return pulumix.Output[[]GetVaultReplicasVaultReplica]{ OutputState: o.OutputState, } } -func (o GetKeysKeyRestoreFromObjectStoreArrayOutput) Index(i pulumi.IntInput) GetKeysKeyRestoreFromObjectStoreOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetKeysKeyRestoreFromObjectStore { - return vs[0].([]GetKeysKeyRestoreFromObjectStore)[vs[1].(int)] - }).(GetKeysKeyRestoreFromObjectStoreOutput) +func (o GetVaultReplicasVaultReplicaArrayOutput) Index(i pulumi.IntInput) GetVaultReplicasVaultReplicaOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVaultReplicasVaultReplica { + return vs[0].([]GetVaultReplicasVaultReplica)[vs[1].(int)] + }).(GetVaultReplicasVaultReplicaOutput) } -type GetReplicationStatusReplicaDetail struct { - // The replica region - Region string `pulumi:"region"` - // Replication status associated with a replicationId - Status string `pulumi:"status"` +type GetVaultRestoreFromFile struct { + // content length of vault's backup binary file + ContentLength string `pulumi:"contentLength"` + // content md5 hashed value of vault's backup file + ContentMd5 string `pulumi:"contentMd5"` + // Vault backup file content + RestoreVaultFromFileDetails string `pulumi:"restoreVaultFromFileDetails"` } -// GetReplicationStatusReplicaDetailInput is an input type that accepts GetReplicationStatusReplicaDetailArgs and GetReplicationStatusReplicaDetailOutput values. -// You can construct a concrete instance of `GetReplicationStatusReplicaDetailInput` via: +// GetVaultRestoreFromFileInput is an input type that accepts GetVaultRestoreFromFileArgs and GetVaultRestoreFromFileOutput values. +// You can construct a concrete instance of `GetVaultRestoreFromFileInput` via: // -// GetReplicationStatusReplicaDetailArgs{...} -type GetReplicationStatusReplicaDetailInput interface { +// GetVaultRestoreFromFileArgs{...} +type GetVaultRestoreFromFileInput interface { pulumi.Input - ToGetReplicationStatusReplicaDetailOutput() GetReplicationStatusReplicaDetailOutput - ToGetReplicationStatusReplicaDetailOutputWithContext(context.Context) GetReplicationStatusReplicaDetailOutput + ToGetVaultRestoreFromFileOutput() GetVaultRestoreFromFileOutput + ToGetVaultRestoreFromFileOutputWithContext(context.Context) GetVaultRestoreFromFileOutput } -type GetReplicationStatusReplicaDetailArgs struct { - // The replica region - Region pulumi.StringInput `pulumi:"region"` - // Replication status associated with a replicationId - Status pulumi.StringInput `pulumi:"status"` +type GetVaultRestoreFromFileArgs struct { + // content length of vault's backup binary file + ContentLength pulumi.StringInput `pulumi:"contentLength"` + // content md5 hashed value of vault's backup file + ContentMd5 pulumi.StringInput `pulumi:"contentMd5"` + // Vault backup file content + RestoreVaultFromFileDetails pulumi.StringInput `pulumi:"restoreVaultFromFileDetails"` } -func (GetReplicationStatusReplicaDetailArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetReplicationStatusReplicaDetail)(nil)).Elem() +func (GetVaultRestoreFromFileArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetVaultRestoreFromFile)(nil)).Elem() } -func (i GetReplicationStatusReplicaDetailArgs) ToGetReplicationStatusReplicaDetailOutput() GetReplicationStatusReplicaDetailOutput { - return i.ToGetReplicationStatusReplicaDetailOutputWithContext(context.Background()) +func (i GetVaultRestoreFromFileArgs) ToGetVaultRestoreFromFileOutput() GetVaultRestoreFromFileOutput { + return i.ToGetVaultRestoreFromFileOutputWithContext(context.Background()) } -func (i GetReplicationStatusReplicaDetailArgs) ToGetReplicationStatusReplicaDetailOutputWithContext(ctx context.Context) GetReplicationStatusReplicaDetailOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetReplicationStatusReplicaDetailOutput) +func (i GetVaultRestoreFromFileArgs) ToGetVaultRestoreFromFileOutputWithContext(ctx context.Context) GetVaultRestoreFromFileOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetVaultRestoreFromFileOutput) } -func (i GetReplicationStatusReplicaDetailArgs) ToOutput(ctx context.Context) pulumix.Output[GetReplicationStatusReplicaDetail] { - return pulumix.Output[GetReplicationStatusReplicaDetail]{ - OutputState: i.ToGetReplicationStatusReplicaDetailOutputWithContext(ctx).OutputState, +func (i GetVaultRestoreFromFileArgs) ToOutput(ctx context.Context) pulumix.Output[GetVaultRestoreFromFile] { + return pulumix.Output[GetVaultRestoreFromFile]{ + OutputState: i.ToGetVaultRestoreFromFileOutputWithContext(ctx).OutputState, } } -// GetReplicationStatusReplicaDetailArrayInput is an input type that accepts GetReplicationStatusReplicaDetailArray and GetReplicationStatusReplicaDetailArrayOutput values. -// You can construct a concrete instance of `GetReplicationStatusReplicaDetailArrayInput` via: +// GetVaultRestoreFromFileArrayInput is an input type that accepts GetVaultRestoreFromFileArray and GetVaultRestoreFromFileArrayOutput values. +// You can construct a concrete instance of `GetVaultRestoreFromFileArrayInput` via: // -// GetReplicationStatusReplicaDetailArray{ GetReplicationStatusReplicaDetailArgs{...} } -type GetReplicationStatusReplicaDetailArrayInput interface { +// GetVaultRestoreFromFileArray{ GetVaultRestoreFromFileArgs{...} } +type GetVaultRestoreFromFileArrayInput interface { pulumi.Input - ToGetReplicationStatusReplicaDetailArrayOutput() GetReplicationStatusReplicaDetailArrayOutput - ToGetReplicationStatusReplicaDetailArrayOutputWithContext(context.Context) GetReplicationStatusReplicaDetailArrayOutput + ToGetVaultRestoreFromFileArrayOutput() GetVaultRestoreFromFileArrayOutput + ToGetVaultRestoreFromFileArrayOutputWithContext(context.Context) GetVaultRestoreFromFileArrayOutput } -type GetReplicationStatusReplicaDetailArray []GetReplicationStatusReplicaDetailInput +type GetVaultRestoreFromFileArray []GetVaultRestoreFromFileInput -func (GetReplicationStatusReplicaDetailArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetReplicationStatusReplicaDetail)(nil)).Elem() +func (GetVaultRestoreFromFileArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetVaultRestoreFromFile)(nil)).Elem() } -func (i GetReplicationStatusReplicaDetailArray) ToGetReplicationStatusReplicaDetailArrayOutput() GetReplicationStatusReplicaDetailArrayOutput { - return i.ToGetReplicationStatusReplicaDetailArrayOutputWithContext(context.Background()) +func (i GetVaultRestoreFromFileArray) ToGetVaultRestoreFromFileArrayOutput() GetVaultRestoreFromFileArrayOutput { + return i.ToGetVaultRestoreFromFileArrayOutputWithContext(context.Background()) } -func (i GetReplicationStatusReplicaDetailArray) ToGetReplicationStatusReplicaDetailArrayOutputWithContext(ctx context.Context) GetReplicationStatusReplicaDetailArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetReplicationStatusReplicaDetailArrayOutput) +func (i GetVaultRestoreFromFileArray) ToGetVaultRestoreFromFileArrayOutputWithContext(ctx context.Context) GetVaultRestoreFromFileArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetVaultRestoreFromFileArrayOutput) } -func (i GetReplicationStatusReplicaDetailArray) ToOutput(ctx context.Context) pulumix.Output[[]GetReplicationStatusReplicaDetail] { - return pulumix.Output[[]GetReplicationStatusReplicaDetail]{ - OutputState: i.ToGetReplicationStatusReplicaDetailArrayOutputWithContext(ctx).OutputState, +func (i GetVaultRestoreFromFileArray) ToOutput(ctx context.Context) pulumix.Output[[]GetVaultRestoreFromFile] { + return pulumix.Output[[]GetVaultRestoreFromFile]{ + OutputState: i.ToGetVaultRestoreFromFileArrayOutputWithContext(ctx).OutputState, } } -type GetReplicationStatusReplicaDetailOutput struct{ *pulumi.OutputState } +type GetVaultRestoreFromFileOutput struct{ *pulumi.OutputState } -func (GetReplicationStatusReplicaDetailOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetReplicationStatusReplicaDetail)(nil)).Elem() +func (GetVaultRestoreFromFileOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetVaultRestoreFromFile)(nil)).Elem() } -func (o GetReplicationStatusReplicaDetailOutput) ToGetReplicationStatusReplicaDetailOutput() GetReplicationStatusReplicaDetailOutput { +func (o GetVaultRestoreFromFileOutput) ToGetVaultRestoreFromFileOutput() GetVaultRestoreFromFileOutput { return o } -func (o GetReplicationStatusReplicaDetailOutput) ToGetReplicationStatusReplicaDetailOutputWithContext(ctx context.Context) GetReplicationStatusReplicaDetailOutput { +func (o GetVaultRestoreFromFileOutput) ToGetVaultRestoreFromFileOutputWithContext(ctx context.Context) GetVaultRestoreFromFileOutput { return o } -func (o GetReplicationStatusReplicaDetailOutput) ToOutput(ctx context.Context) pulumix.Output[GetReplicationStatusReplicaDetail] { - return pulumix.Output[GetReplicationStatusReplicaDetail]{ +func (o GetVaultRestoreFromFileOutput) ToOutput(ctx context.Context) pulumix.Output[GetVaultRestoreFromFile] { + return pulumix.Output[GetVaultRestoreFromFile]{ OutputState: o.OutputState, } } -// The replica region -func (o GetReplicationStatusReplicaDetailOutput) Region() pulumi.StringOutput { - return o.ApplyT(func(v GetReplicationStatusReplicaDetail) string { return v.Region }).(pulumi.StringOutput) +// content length of vault's backup binary file +func (o GetVaultRestoreFromFileOutput) ContentLength() pulumi.StringOutput { + return o.ApplyT(func(v GetVaultRestoreFromFile) string { return v.ContentLength }).(pulumi.StringOutput) } -// Replication status associated with a replicationId -func (o GetReplicationStatusReplicaDetailOutput) Status() pulumi.StringOutput { - return o.ApplyT(func(v GetReplicationStatusReplicaDetail) string { return v.Status }).(pulumi.StringOutput) +// content md5 hashed value of vault's backup file +func (o GetVaultRestoreFromFileOutput) ContentMd5() pulumi.StringOutput { + return o.ApplyT(func(v GetVaultRestoreFromFile) string { return v.ContentMd5 }).(pulumi.StringOutput) } -type GetReplicationStatusReplicaDetailArrayOutput struct{ *pulumi.OutputState } +// Vault backup file content +func (o GetVaultRestoreFromFileOutput) RestoreVaultFromFileDetails() pulumi.StringOutput { + return o.ApplyT(func(v GetVaultRestoreFromFile) string { return v.RestoreVaultFromFileDetails }).(pulumi.StringOutput) +} -func (GetReplicationStatusReplicaDetailArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetReplicationStatusReplicaDetail)(nil)).Elem() +type GetVaultRestoreFromFileArrayOutput struct{ *pulumi.OutputState } + +func (GetVaultRestoreFromFileArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetVaultRestoreFromFile)(nil)).Elem() } -func (o GetReplicationStatusReplicaDetailArrayOutput) ToGetReplicationStatusReplicaDetailArrayOutput() GetReplicationStatusReplicaDetailArrayOutput { +func (o GetVaultRestoreFromFileArrayOutput) ToGetVaultRestoreFromFileArrayOutput() GetVaultRestoreFromFileArrayOutput { return o } -func (o GetReplicationStatusReplicaDetailArrayOutput) ToGetReplicationStatusReplicaDetailArrayOutputWithContext(ctx context.Context) GetReplicationStatusReplicaDetailArrayOutput { +func (o GetVaultRestoreFromFileArrayOutput) ToGetVaultRestoreFromFileArrayOutputWithContext(ctx context.Context) GetVaultRestoreFromFileArrayOutput { return o } -func (o GetReplicationStatusReplicaDetailArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetReplicationStatusReplicaDetail] { - return pulumix.Output[[]GetReplicationStatusReplicaDetail]{ +func (o GetVaultRestoreFromFileArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetVaultRestoreFromFile] { + return pulumix.Output[[]GetVaultRestoreFromFile]{ OutputState: o.OutputState, } } -func (o GetReplicationStatusReplicaDetailArrayOutput) Index(i pulumi.IntInput) GetReplicationStatusReplicaDetailOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetReplicationStatusReplicaDetail { - return vs[0].([]GetReplicationStatusReplicaDetail)[vs[1].(int)] - }).(GetReplicationStatusReplicaDetailOutput) +func (o GetVaultRestoreFromFileArrayOutput) Index(i pulumi.IntInput) GetVaultRestoreFromFileOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVaultRestoreFromFile { + return vs[0].([]GetVaultRestoreFromFile)[vs[1].(int)] + }).(GetVaultRestoreFromFileOutput) } -type GetVaultReplicaDetail struct { - // ReplicationId associated with a vault operation - ReplicationId string `pulumi:"replicationId"` +type GetVaultRestoreFromObjectStore struct { + // Name of the bucket where vault was backed up + Bucket string `pulumi:"bucket"` + // Type of backup to restore from. Values of "BUCKET", "PRE_AUTHENTICATED_REQUEST_URI" are supported + Destination string `pulumi:"destination"` + // Namespace of the bucket where vault was backed up + Namespace string `pulumi:"namespace"` + // Object containing the backup + Object string `pulumi:"object"` + // Pre-authenticated-request-uri of the backup + Uri string `pulumi:"uri"` } -// GetVaultReplicaDetailInput is an input type that accepts GetVaultReplicaDetailArgs and GetVaultReplicaDetailOutput values. -// You can construct a concrete instance of `GetVaultReplicaDetailInput` via: +// GetVaultRestoreFromObjectStoreInput is an input type that accepts GetVaultRestoreFromObjectStoreArgs and GetVaultRestoreFromObjectStoreOutput values. +// You can construct a concrete instance of `GetVaultRestoreFromObjectStoreInput` via: // -// GetVaultReplicaDetailArgs{...} -type GetVaultReplicaDetailInput interface { +// GetVaultRestoreFromObjectStoreArgs{...} +type GetVaultRestoreFromObjectStoreInput interface { pulumi.Input - ToGetVaultReplicaDetailOutput() GetVaultReplicaDetailOutput - ToGetVaultReplicaDetailOutputWithContext(context.Context) GetVaultReplicaDetailOutput + ToGetVaultRestoreFromObjectStoreOutput() GetVaultRestoreFromObjectStoreOutput + ToGetVaultRestoreFromObjectStoreOutputWithContext(context.Context) GetVaultRestoreFromObjectStoreOutput } -type GetVaultReplicaDetailArgs struct { - // ReplicationId associated with a vault operation - ReplicationId pulumi.StringInput `pulumi:"replicationId"` +type GetVaultRestoreFromObjectStoreArgs struct { + // Name of the bucket where vault was backed up + Bucket pulumi.StringInput `pulumi:"bucket"` + // Type of backup to restore from. Values of "BUCKET", "PRE_AUTHENTICATED_REQUEST_URI" are supported + Destination pulumi.StringInput `pulumi:"destination"` + // Namespace of the bucket where vault was backed up + Namespace pulumi.StringInput `pulumi:"namespace"` + // Object containing the backup + Object pulumi.StringInput `pulumi:"object"` + // Pre-authenticated-request-uri of the backup + Uri pulumi.StringInput `pulumi:"uri"` } -func (GetVaultReplicaDetailArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVaultReplicaDetail)(nil)).Elem() +func (GetVaultRestoreFromObjectStoreArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetVaultRestoreFromObjectStore)(nil)).Elem() } -func (i GetVaultReplicaDetailArgs) ToGetVaultReplicaDetailOutput() GetVaultReplicaDetailOutput { - return i.ToGetVaultReplicaDetailOutputWithContext(context.Background()) +func (i GetVaultRestoreFromObjectStoreArgs) ToGetVaultRestoreFromObjectStoreOutput() GetVaultRestoreFromObjectStoreOutput { + return i.ToGetVaultRestoreFromObjectStoreOutputWithContext(context.Background()) } -func (i GetVaultReplicaDetailArgs) ToGetVaultReplicaDetailOutputWithContext(ctx context.Context) GetVaultReplicaDetailOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVaultReplicaDetailOutput) +func (i GetVaultRestoreFromObjectStoreArgs) ToGetVaultRestoreFromObjectStoreOutputWithContext(ctx context.Context) GetVaultRestoreFromObjectStoreOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetVaultRestoreFromObjectStoreOutput) } -func (i GetVaultReplicaDetailArgs) ToOutput(ctx context.Context) pulumix.Output[GetVaultReplicaDetail] { - return pulumix.Output[GetVaultReplicaDetail]{ - OutputState: i.ToGetVaultReplicaDetailOutputWithContext(ctx).OutputState, +func (i GetVaultRestoreFromObjectStoreArgs) ToOutput(ctx context.Context) pulumix.Output[GetVaultRestoreFromObjectStore] { + return pulumix.Output[GetVaultRestoreFromObjectStore]{ + OutputState: i.ToGetVaultRestoreFromObjectStoreOutputWithContext(ctx).OutputState, } } -// GetVaultReplicaDetailArrayInput is an input type that accepts GetVaultReplicaDetailArray and GetVaultReplicaDetailArrayOutput values. -// You can construct a concrete instance of `GetVaultReplicaDetailArrayInput` via: +// GetVaultRestoreFromObjectStoreArrayInput is an input type that accepts GetVaultRestoreFromObjectStoreArray and GetVaultRestoreFromObjectStoreArrayOutput values. +// You can construct a concrete instance of `GetVaultRestoreFromObjectStoreArrayInput` via: // -// GetVaultReplicaDetailArray{ GetVaultReplicaDetailArgs{...} } -type GetVaultReplicaDetailArrayInput interface { +// GetVaultRestoreFromObjectStoreArray{ GetVaultRestoreFromObjectStoreArgs{...} } +type GetVaultRestoreFromObjectStoreArrayInput interface { pulumi.Input - ToGetVaultReplicaDetailArrayOutput() GetVaultReplicaDetailArrayOutput - ToGetVaultReplicaDetailArrayOutputWithContext(context.Context) GetVaultReplicaDetailArrayOutput + ToGetVaultRestoreFromObjectStoreArrayOutput() GetVaultRestoreFromObjectStoreArrayOutput + ToGetVaultRestoreFromObjectStoreArrayOutputWithContext(context.Context) GetVaultRestoreFromObjectStoreArrayOutput } -type GetVaultReplicaDetailArray []GetVaultReplicaDetailInput +type GetVaultRestoreFromObjectStoreArray []GetVaultRestoreFromObjectStoreInput -func (GetVaultReplicaDetailArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVaultReplicaDetail)(nil)).Elem() +func (GetVaultRestoreFromObjectStoreArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetVaultRestoreFromObjectStore)(nil)).Elem() } -func (i GetVaultReplicaDetailArray) ToGetVaultReplicaDetailArrayOutput() GetVaultReplicaDetailArrayOutput { - return i.ToGetVaultReplicaDetailArrayOutputWithContext(context.Background()) +func (i GetVaultRestoreFromObjectStoreArray) ToGetVaultRestoreFromObjectStoreArrayOutput() GetVaultRestoreFromObjectStoreArrayOutput { + return i.ToGetVaultRestoreFromObjectStoreArrayOutputWithContext(context.Background()) } -func (i GetVaultReplicaDetailArray) ToGetVaultReplicaDetailArrayOutputWithContext(ctx context.Context) GetVaultReplicaDetailArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVaultReplicaDetailArrayOutput) +func (i GetVaultRestoreFromObjectStoreArray) ToGetVaultRestoreFromObjectStoreArrayOutputWithContext(ctx context.Context) GetVaultRestoreFromObjectStoreArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetVaultRestoreFromObjectStoreArrayOutput) } -func (i GetVaultReplicaDetailArray) ToOutput(ctx context.Context) pulumix.Output[[]GetVaultReplicaDetail] { - return pulumix.Output[[]GetVaultReplicaDetail]{ - OutputState: i.ToGetVaultReplicaDetailArrayOutputWithContext(ctx).OutputState, +func (i GetVaultRestoreFromObjectStoreArray) ToOutput(ctx context.Context) pulumix.Output[[]GetVaultRestoreFromObjectStore] { + return pulumix.Output[[]GetVaultRestoreFromObjectStore]{ + OutputState: i.ToGetVaultRestoreFromObjectStoreArrayOutputWithContext(ctx).OutputState, } } -type GetVaultReplicaDetailOutput struct{ *pulumi.OutputState } +type GetVaultRestoreFromObjectStoreOutput struct{ *pulumi.OutputState } -func (GetVaultReplicaDetailOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVaultReplicaDetail)(nil)).Elem() +func (GetVaultRestoreFromObjectStoreOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetVaultRestoreFromObjectStore)(nil)).Elem() } -func (o GetVaultReplicaDetailOutput) ToGetVaultReplicaDetailOutput() GetVaultReplicaDetailOutput { +func (o GetVaultRestoreFromObjectStoreOutput) ToGetVaultRestoreFromObjectStoreOutput() GetVaultRestoreFromObjectStoreOutput { return o } -func (o GetVaultReplicaDetailOutput) ToGetVaultReplicaDetailOutputWithContext(ctx context.Context) GetVaultReplicaDetailOutput { +func (o GetVaultRestoreFromObjectStoreOutput) ToGetVaultRestoreFromObjectStoreOutputWithContext(ctx context.Context) GetVaultRestoreFromObjectStoreOutput { return o } -func (o GetVaultReplicaDetailOutput) ToOutput(ctx context.Context) pulumix.Output[GetVaultReplicaDetail] { - return pulumix.Output[GetVaultReplicaDetail]{ +func (o GetVaultRestoreFromObjectStoreOutput) ToOutput(ctx context.Context) pulumix.Output[GetVaultRestoreFromObjectStore] { + return pulumix.Output[GetVaultRestoreFromObjectStore]{ OutputState: o.OutputState, } } -// ReplicationId associated with a vault operation -func (o GetVaultReplicaDetailOutput) ReplicationId() pulumi.StringOutput { - return o.ApplyT(func(v GetVaultReplicaDetail) string { return v.ReplicationId }).(pulumi.StringOutput) +// Name of the bucket where vault was backed up +func (o GetVaultRestoreFromObjectStoreOutput) Bucket() pulumi.StringOutput { + return o.ApplyT(func(v GetVaultRestoreFromObjectStore) string { return v.Bucket }).(pulumi.StringOutput) } -type GetVaultReplicaDetailArrayOutput struct{ *pulumi.OutputState } +// Type of backup to restore from. Values of "BUCKET", "PRE_AUTHENTICATED_REQUEST_URI" are supported +func (o GetVaultRestoreFromObjectStoreOutput) Destination() pulumi.StringOutput { + return o.ApplyT(func(v GetVaultRestoreFromObjectStore) string { return v.Destination }).(pulumi.StringOutput) +} -func (GetVaultReplicaDetailArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVaultReplicaDetail)(nil)).Elem() +// Namespace of the bucket where vault was backed up +func (o GetVaultRestoreFromObjectStoreOutput) Namespace() pulumi.StringOutput { + return o.ApplyT(func(v GetVaultRestoreFromObjectStore) string { return v.Namespace }).(pulumi.StringOutput) } -func (o GetVaultReplicaDetailArrayOutput) ToGetVaultReplicaDetailArrayOutput() GetVaultReplicaDetailArrayOutput { +// Object containing the backup +func (o GetVaultRestoreFromObjectStoreOutput) Object() pulumi.StringOutput { + return o.ApplyT(func(v GetVaultRestoreFromObjectStore) string { return v.Object }).(pulumi.StringOutput) +} + +// Pre-authenticated-request-uri of the backup +func (o GetVaultRestoreFromObjectStoreOutput) Uri() pulumi.StringOutput { + return o.ApplyT(func(v GetVaultRestoreFromObjectStore) string { return v.Uri }).(pulumi.StringOutput) +} + +type GetVaultRestoreFromObjectStoreArrayOutput struct{ *pulumi.OutputState } + +func (GetVaultRestoreFromObjectStoreArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetVaultRestoreFromObjectStore)(nil)).Elem() +} + +func (o GetVaultRestoreFromObjectStoreArrayOutput) ToGetVaultRestoreFromObjectStoreArrayOutput() GetVaultRestoreFromObjectStoreArrayOutput { return o } -func (o GetVaultReplicaDetailArrayOutput) ToGetVaultReplicaDetailArrayOutputWithContext(ctx context.Context) GetVaultReplicaDetailArrayOutput { +func (o GetVaultRestoreFromObjectStoreArrayOutput) ToGetVaultRestoreFromObjectStoreArrayOutputWithContext(ctx context.Context) GetVaultRestoreFromObjectStoreArrayOutput { return o } -func (o GetVaultReplicaDetailArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetVaultReplicaDetail] { - return pulumix.Output[[]GetVaultReplicaDetail]{ +func (o GetVaultRestoreFromObjectStoreArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetVaultRestoreFromObjectStore] { + return pulumix.Output[[]GetVaultRestoreFromObjectStore]{ OutputState: o.OutputState, } } -func (o GetVaultReplicaDetailArrayOutput) Index(i pulumi.IntInput) GetVaultReplicaDetailOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVaultReplicaDetail { - return vs[0].([]GetVaultReplicaDetail)[vs[1].(int)] - }).(GetVaultReplicaDetailOutput) +func (o GetVaultRestoreFromObjectStoreArrayOutput) Index(i pulumi.IntInput) GetVaultRestoreFromObjectStoreOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVaultRestoreFromObjectStore { + return vs[0].([]GetVaultRestoreFromObjectStore)[vs[1].(int)] + }).(GetVaultRestoreFromObjectStoreOutput) } -type GetVaultReplicasFilter struct { +type GetVaultsFilter struct { Name string `pulumi:"name"` Regex *bool `pulumi:"regex"` Values []string `pulumi:"values"` } -// GetVaultReplicasFilterInput is an input type that accepts GetVaultReplicasFilterArgs and GetVaultReplicasFilterOutput values. -// You can construct a concrete instance of `GetVaultReplicasFilterInput` via: +// GetVaultsFilterInput is an input type that accepts GetVaultsFilterArgs and GetVaultsFilterOutput values. +// You can construct a concrete instance of `GetVaultsFilterInput` via: // -// GetVaultReplicasFilterArgs{...} -type GetVaultReplicasFilterInput interface { +// GetVaultsFilterArgs{...} +type GetVaultsFilterInput interface { pulumi.Input - ToGetVaultReplicasFilterOutput() GetVaultReplicasFilterOutput - ToGetVaultReplicasFilterOutputWithContext(context.Context) GetVaultReplicasFilterOutput + ToGetVaultsFilterOutput() GetVaultsFilterOutput + ToGetVaultsFilterOutputWithContext(context.Context) GetVaultsFilterOutput } -type GetVaultReplicasFilterArgs struct { +type GetVaultsFilterArgs struct { Name pulumi.StringInput `pulumi:"name"` Regex pulumi.BoolPtrInput `pulumi:"regex"` Values pulumi.StringArrayInput `pulumi:"values"` } -func (GetVaultReplicasFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVaultReplicasFilter)(nil)).Elem() +func (GetVaultsFilterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetVaultsFilter)(nil)).Elem() } -func (i GetVaultReplicasFilterArgs) ToGetVaultReplicasFilterOutput() GetVaultReplicasFilterOutput { - return i.ToGetVaultReplicasFilterOutputWithContext(context.Background()) +func (i GetVaultsFilterArgs) ToGetVaultsFilterOutput() GetVaultsFilterOutput { + return i.ToGetVaultsFilterOutputWithContext(context.Background()) } -func (i GetVaultReplicasFilterArgs) ToGetVaultReplicasFilterOutputWithContext(ctx context.Context) GetVaultReplicasFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVaultReplicasFilterOutput) +func (i GetVaultsFilterArgs) ToGetVaultsFilterOutputWithContext(ctx context.Context) GetVaultsFilterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetVaultsFilterOutput) } -func (i GetVaultReplicasFilterArgs) ToOutput(ctx context.Context) pulumix.Output[GetVaultReplicasFilter] { - return pulumix.Output[GetVaultReplicasFilter]{ - OutputState: i.ToGetVaultReplicasFilterOutputWithContext(ctx).OutputState, +func (i GetVaultsFilterArgs) ToOutput(ctx context.Context) pulumix.Output[GetVaultsFilter] { + return pulumix.Output[GetVaultsFilter]{ + OutputState: i.ToGetVaultsFilterOutputWithContext(ctx).OutputState, } } -// GetVaultReplicasFilterArrayInput is an input type that accepts GetVaultReplicasFilterArray and GetVaultReplicasFilterArrayOutput values. -// You can construct a concrete instance of `GetVaultReplicasFilterArrayInput` via: +// GetVaultsFilterArrayInput is an input type that accepts GetVaultsFilterArray and GetVaultsFilterArrayOutput values. +// You can construct a concrete instance of `GetVaultsFilterArrayInput` via: // -// GetVaultReplicasFilterArray{ GetVaultReplicasFilterArgs{...} } -type GetVaultReplicasFilterArrayInput interface { +// GetVaultsFilterArray{ GetVaultsFilterArgs{...} } +type GetVaultsFilterArrayInput interface { pulumi.Input - ToGetVaultReplicasFilterArrayOutput() GetVaultReplicasFilterArrayOutput - ToGetVaultReplicasFilterArrayOutputWithContext(context.Context) GetVaultReplicasFilterArrayOutput + ToGetVaultsFilterArrayOutput() GetVaultsFilterArrayOutput + ToGetVaultsFilterArrayOutputWithContext(context.Context) GetVaultsFilterArrayOutput } -type GetVaultReplicasFilterArray []GetVaultReplicasFilterInput +type GetVaultsFilterArray []GetVaultsFilterInput -func (GetVaultReplicasFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVaultReplicasFilter)(nil)).Elem() +func (GetVaultsFilterArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetVaultsFilter)(nil)).Elem() } -func (i GetVaultReplicasFilterArray) ToGetVaultReplicasFilterArrayOutput() GetVaultReplicasFilterArrayOutput { - return i.ToGetVaultReplicasFilterArrayOutputWithContext(context.Background()) +func (i GetVaultsFilterArray) ToGetVaultsFilterArrayOutput() GetVaultsFilterArrayOutput { + return i.ToGetVaultsFilterArrayOutputWithContext(context.Background()) } -func (i GetVaultReplicasFilterArray) ToGetVaultReplicasFilterArrayOutputWithContext(ctx context.Context) GetVaultReplicasFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVaultReplicasFilterArrayOutput) +func (i GetVaultsFilterArray) ToGetVaultsFilterArrayOutputWithContext(ctx context.Context) GetVaultsFilterArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetVaultsFilterArrayOutput) } -func (i GetVaultReplicasFilterArray) ToOutput(ctx context.Context) pulumix.Output[[]GetVaultReplicasFilter] { - return pulumix.Output[[]GetVaultReplicasFilter]{ - OutputState: i.ToGetVaultReplicasFilterArrayOutputWithContext(ctx).OutputState, +func (i GetVaultsFilterArray) ToOutput(ctx context.Context) pulumix.Output[[]GetVaultsFilter] { + return pulumix.Output[[]GetVaultsFilter]{ + OutputState: i.ToGetVaultsFilterArrayOutputWithContext(ctx).OutputState, } } -type GetVaultReplicasFilterOutput struct{ *pulumi.OutputState } +type GetVaultsFilterOutput struct{ *pulumi.OutputState } -func (GetVaultReplicasFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVaultReplicasFilter)(nil)).Elem() +func (GetVaultsFilterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetVaultsFilter)(nil)).Elem() } -func (o GetVaultReplicasFilterOutput) ToGetVaultReplicasFilterOutput() GetVaultReplicasFilterOutput { +func (o GetVaultsFilterOutput) ToGetVaultsFilterOutput() GetVaultsFilterOutput { return o } -func (o GetVaultReplicasFilterOutput) ToGetVaultReplicasFilterOutputWithContext(ctx context.Context) GetVaultReplicasFilterOutput { +func (o GetVaultsFilterOutput) ToGetVaultsFilterOutputWithContext(ctx context.Context) GetVaultsFilterOutput { return o } -func (o GetVaultReplicasFilterOutput) ToOutput(ctx context.Context) pulumix.Output[GetVaultReplicasFilter] { - return pulumix.Output[GetVaultReplicasFilter]{ +func (o GetVaultsFilterOutput) ToOutput(ctx context.Context) pulumix.Output[GetVaultsFilter] { + return pulumix.Output[GetVaultsFilter]{ OutputState: o.OutputState, } } -func (o GetVaultReplicasFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetVaultReplicasFilter) string { return v.Name }).(pulumi.StringOutput) +func (o GetVaultsFilterOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetVaultsFilter) string { return v.Name }).(pulumi.StringOutput) } -func (o GetVaultReplicasFilterOutput) Regex() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetVaultReplicasFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) +func (o GetVaultsFilterOutput) Regex() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetVaultsFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) } -func (o GetVaultReplicasFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetVaultReplicasFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +func (o GetVaultsFilterOutput) Values() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetVaultsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) } -type GetVaultReplicasFilterArrayOutput struct{ *pulumi.OutputState } +type GetVaultsFilterArrayOutput struct{ *pulumi.OutputState } -func (GetVaultReplicasFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVaultReplicasFilter)(nil)).Elem() +func (GetVaultsFilterArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetVaultsFilter)(nil)).Elem() } -func (o GetVaultReplicasFilterArrayOutput) ToGetVaultReplicasFilterArrayOutput() GetVaultReplicasFilterArrayOutput { +func (o GetVaultsFilterArrayOutput) ToGetVaultsFilterArrayOutput() GetVaultsFilterArrayOutput { return o } -func (o GetVaultReplicasFilterArrayOutput) ToGetVaultReplicasFilterArrayOutputWithContext(ctx context.Context) GetVaultReplicasFilterArrayOutput { +func (o GetVaultsFilterArrayOutput) ToGetVaultsFilterArrayOutputWithContext(ctx context.Context) GetVaultsFilterArrayOutput { return o } -func (o GetVaultReplicasFilterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetVaultReplicasFilter] { - return pulumix.Output[[]GetVaultReplicasFilter]{ +func (o GetVaultsFilterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetVaultsFilter] { + return pulumix.Output[[]GetVaultsFilter]{ OutputState: o.OutputState, } } -func (o GetVaultReplicasFilterArrayOutput) Index(i pulumi.IntInput) GetVaultReplicasFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVaultReplicasFilter { - return vs[0].([]GetVaultReplicasFilter)[vs[1].(int)] - }).(GetVaultReplicasFilterOutput) +func (o GetVaultsFilterArrayOutput) Index(i pulumi.IntInput) GetVaultsFilterOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVaultsFilter { + return vs[0].([]GetVaultsFilter)[vs[1].(int)] + }).(GetVaultsFilterOutput) } -type GetVaultReplicasVaultReplica struct { - // The vault replica's crypto endpoint +type GetVaultsVault struct { + // The OCID of the compartment. + CompartmentId string `pulumi:"compartmentId"` + // The service endpoint to perform cryptographic operations against. Cryptographic operations include [Encrypt](https://docs.cloud.oracle.com/iaas/api/#/en/key/latest/EncryptedData/Encrypt), [Decrypt](https://docs.cloud.oracle.com/iaas/api/#/en/key/latest/DecryptedData/Decrypt), and [GenerateDataEncryptionKey](https://docs.cloud.oracle.com/iaas/api/#/en/key/latest/GeneratedKey/GenerateDataEncryptionKey) operations. CryptoEndpoint string `pulumi:"cryptoEndpoint"` - // The vault replica's management endpoint + // Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` + DefinedTags map[string]interface{} `pulumi:"definedTags"` + // A user-friendly name for the vault. It does not have to be unique, and it is changeable. Avoid entering confidential information. + DisplayName string `pulumi:"displayName"` + // Summary about metadata of external key manager to be returned to the customer as a response. + ExternalKeyManagerMetadataSummaries []GetVaultsVaultExternalKeyManagerMetadataSummary `pulumi:"externalKeyManagerMetadataSummaries"` + ExternalKeyManagerMetadatas []GetVaultsVaultExternalKeyManagerMetadata `pulumi:"externalKeyManagerMetadatas"` + // 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` + FreeformTags map[string]interface{} `pulumi:"freeformTags"` + // The OCID of the vault. + Id string `pulumi:"id"` + // A Boolean value that indicates whether the Vault is primary Vault or replica Vault. + IsPrimary bool `pulumi:"isPrimary"` + // The service endpoint to perform management operations against. Management operations include "Create," "Update," "List," "Get," and "Delete" operations. ManagementEndpoint string `pulumi:"managementEndpoint"` - // Region to which vault is replicated to - Region string `pulumi:"region"` - // The vault replica's status - Status string `pulumi:"status"` + // Vault replica details + ReplicaDetails []GetVaultsVaultReplicaDetail `pulumi:"replicaDetails"` + RestoreFromFiles []GetVaultsVaultRestoreFromFile `pulumi:"restoreFromFiles"` + RestoreFromObjectStores []GetVaultsVaultRestoreFromObjectStore `pulumi:"restoreFromObjectStores"` + RestoreTrigger bool `pulumi:"restoreTrigger"` + // The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. + RestoredFromVaultId string `pulumi:"restoredFromVaultId"` + // The vault's current lifecycle state. Example: `DELETED` + State string `pulumi:"state"` + // The date and time this vault was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + TimeCreated string `pulumi:"timeCreated"` + // An optional property to indicate when to delete the vault, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + TimeOfDeletion string `pulumi:"timeOfDeletion"` + // The type of vault. Each type of vault stores the key with different degrees of isolation and has different options and pricing. + VaultType string `pulumi:"vaultType"` } -// GetVaultReplicasVaultReplicaInput is an input type that accepts GetVaultReplicasVaultReplicaArgs and GetVaultReplicasVaultReplicaOutput values. -// You can construct a concrete instance of `GetVaultReplicasVaultReplicaInput` via: +// GetVaultsVaultInput is an input type that accepts GetVaultsVaultArgs and GetVaultsVaultOutput values. +// You can construct a concrete instance of `GetVaultsVaultInput` via: // -// GetVaultReplicasVaultReplicaArgs{...} -type GetVaultReplicasVaultReplicaInput interface { +// GetVaultsVaultArgs{...} +type GetVaultsVaultInput interface { pulumi.Input - ToGetVaultReplicasVaultReplicaOutput() GetVaultReplicasVaultReplicaOutput - ToGetVaultReplicasVaultReplicaOutputWithContext(context.Context) GetVaultReplicasVaultReplicaOutput + ToGetVaultsVaultOutput() GetVaultsVaultOutput + ToGetVaultsVaultOutputWithContext(context.Context) GetVaultsVaultOutput } -type GetVaultReplicasVaultReplicaArgs struct { - // The vault replica's crypto endpoint +type GetVaultsVaultArgs struct { + // The OCID of the compartment. + CompartmentId pulumi.StringInput `pulumi:"compartmentId"` + // The service endpoint to perform cryptographic operations against. Cryptographic operations include [Encrypt](https://docs.cloud.oracle.com/iaas/api/#/en/key/latest/EncryptedData/Encrypt), [Decrypt](https://docs.cloud.oracle.com/iaas/api/#/en/key/latest/DecryptedData/Decrypt), and [GenerateDataEncryptionKey](https://docs.cloud.oracle.com/iaas/api/#/en/key/latest/GeneratedKey/GenerateDataEncryptionKey) operations. CryptoEndpoint pulumi.StringInput `pulumi:"cryptoEndpoint"` - // The vault replica's management endpoint + // Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` + DefinedTags pulumi.MapInput `pulumi:"definedTags"` + // A user-friendly name for the vault. It does not have to be unique, and it is changeable. Avoid entering confidential information. + DisplayName pulumi.StringInput `pulumi:"displayName"` + // Summary about metadata of external key manager to be returned to the customer as a response. + ExternalKeyManagerMetadataSummaries GetVaultsVaultExternalKeyManagerMetadataSummaryArrayInput `pulumi:"externalKeyManagerMetadataSummaries"` + ExternalKeyManagerMetadatas GetVaultsVaultExternalKeyManagerMetadataArrayInput `pulumi:"externalKeyManagerMetadatas"` + // 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` + FreeformTags pulumi.MapInput `pulumi:"freeformTags"` + // The OCID of the vault. + Id pulumi.StringInput `pulumi:"id"` + // A Boolean value that indicates whether the Vault is primary Vault or replica Vault. + IsPrimary pulumi.BoolInput `pulumi:"isPrimary"` + // The service endpoint to perform management operations against. Management operations include "Create," "Update," "List," "Get," and "Delete" operations. ManagementEndpoint pulumi.StringInput `pulumi:"managementEndpoint"` - // Region to which vault is replicated to - Region pulumi.StringInput `pulumi:"region"` - // The vault replica's status - Status pulumi.StringInput `pulumi:"status"` + // Vault replica details + ReplicaDetails GetVaultsVaultReplicaDetailArrayInput `pulumi:"replicaDetails"` + RestoreFromFiles GetVaultsVaultRestoreFromFileArrayInput `pulumi:"restoreFromFiles"` + RestoreFromObjectStores GetVaultsVaultRestoreFromObjectStoreArrayInput `pulumi:"restoreFromObjectStores"` + RestoreTrigger pulumi.BoolInput `pulumi:"restoreTrigger"` + // The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. + RestoredFromVaultId pulumi.StringInput `pulumi:"restoredFromVaultId"` + // The vault's current lifecycle state. Example: `DELETED` + State pulumi.StringInput `pulumi:"state"` + // The date and time this vault was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + TimeCreated pulumi.StringInput `pulumi:"timeCreated"` + // An optional property to indicate when to delete the vault, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + TimeOfDeletion pulumi.StringInput `pulumi:"timeOfDeletion"` + // The type of vault. Each type of vault stores the key with different degrees of isolation and has different options and pricing. + VaultType pulumi.StringInput `pulumi:"vaultType"` } -func (GetVaultReplicasVaultReplicaArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVaultReplicasVaultReplica)(nil)).Elem() +func (GetVaultsVaultArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetVaultsVault)(nil)).Elem() } -func (i GetVaultReplicasVaultReplicaArgs) ToGetVaultReplicasVaultReplicaOutput() GetVaultReplicasVaultReplicaOutput { - return i.ToGetVaultReplicasVaultReplicaOutputWithContext(context.Background()) +func (i GetVaultsVaultArgs) ToGetVaultsVaultOutput() GetVaultsVaultOutput { + return i.ToGetVaultsVaultOutputWithContext(context.Background()) } -func (i GetVaultReplicasVaultReplicaArgs) ToGetVaultReplicasVaultReplicaOutputWithContext(ctx context.Context) GetVaultReplicasVaultReplicaOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVaultReplicasVaultReplicaOutput) +func (i GetVaultsVaultArgs) ToGetVaultsVaultOutputWithContext(ctx context.Context) GetVaultsVaultOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetVaultsVaultOutput) } -func (i GetVaultReplicasVaultReplicaArgs) ToOutput(ctx context.Context) pulumix.Output[GetVaultReplicasVaultReplica] { - return pulumix.Output[GetVaultReplicasVaultReplica]{ - OutputState: i.ToGetVaultReplicasVaultReplicaOutputWithContext(ctx).OutputState, +func (i GetVaultsVaultArgs) ToOutput(ctx context.Context) pulumix.Output[GetVaultsVault] { + return pulumix.Output[GetVaultsVault]{ + OutputState: i.ToGetVaultsVaultOutputWithContext(ctx).OutputState, } } -// GetVaultReplicasVaultReplicaArrayInput is an input type that accepts GetVaultReplicasVaultReplicaArray and GetVaultReplicasVaultReplicaArrayOutput values. -// You can construct a concrete instance of `GetVaultReplicasVaultReplicaArrayInput` via: +// GetVaultsVaultArrayInput is an input type that accepts GetVaultsVaultArray and GetVaultsVaultArrayOutput values. +// You can construct a concrete instance of `GetVaultsVaultArrayInput` via: // -// GetVaultReplicasVaultReplicaArray{ GetVaultReplicasVaultReplicaArgs{...} } -type GetVaultReplicasVaultReplicaArrayInput interface { +// GetVaultsVaultArray{ GetVaultsVaultArgs{...} } +type GetVaultsVaultArrayInput interface { pulumi.Input - ToGetVaultReplicasVaultReplicaArrayOutput() GetVaultReplicasVaultReplicaArrayOutput - ToGetVaultReplicasVaultReplicaArrayOutputWithContext(context.Context) GetVaultReplicasVaultReplicaArrayOutput -} - -type GetVaultReplicasVaultReplicaArray []GetVaultReplicasVaultReplicaInput - -func (GetVaultReplicasVaultReplicaArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVaultReplicasVaultReplica)(nil)).Elem() -} - -func (i GetVaultReplicasVaultReplicaArray) ToGetVaultReplicasVaultReplicaArrayOutput() GetVaultReplicasVaultReplicaArrayOutput { - return i.ToGetVaultReplicasVaultReplicaArrayOutputWithContext(context.Background()) -} - -func (i GetVaultReplicasVaultReplicaArray) ToGetVaultReplicasVaultReplicaArrayOutputWithContext(ctx context.Context) GetVaultReplicasVaultReplicaArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVaultReplicasVaultReplicaArrayOutput) -} - -func (i GetVaultReplicasVaultReplicaArray) ToOutput(ctx context.Context) pulumix.Output[[]GetVaultReplicasVaultReplica] { - return pulumix.Output[[]GetVaultReplicasVaultReplica]{ - OutputState: i.ToGetVaultReplicasVaultReplicaArrayOutputWithContext(ctx).OutputState, - } + ToGetVaultsVaultArrayOutput() GetVaultsVaultArrayOutput + ToGetVaultsVaultArrayOutputWithContext(context.Context) GetVaultsVaultArrayOutput } -type GetVaultReplicasVaultReplicaOutput struct{ *pulumi.OutputState } +type GetVaultsVaultArray []GetVaultsVaultInput -func (GetVaultReplicasVaultReplicaOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVaultReplicasVaultReplica)(nil)).Elem() +func (GetVaultsVaultArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetVaultsVault)(nil)).Elem() } -func (o GetVaultReplicasVaultReplicaOutput) ToGetVaultReplicasVaultReplicaOutput() GetVaultReplicasVaultReplicaOutput { - return o +func (i GetVaultsVaultArray) ToGetVaultsVaultArrayOutput() GetVaultsVaultArrayOutput { + return i.ToGetVaultsVaultArrayOutputWithContext(context.Background()) } -func (o GetVaultReplicasVaultReplicaOutput) ToGetVaultReplicasVaultReplicaOutputWithContext(ctx context.Context) GetVaultReplicasVaultReplicaOutput { - return o +func (i GetVaultsVaultArray) ToGetVaultsVaultArrayOutputWithContext(ctx context.Context) GetVaultsVaultArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetVaultsVaultArrayOutput) } -func (o GetVaultReplicasVaultReplicaOutput) ToOutput(ctx context.Context) pulumix.Output[GetVaultReplicasVaultReplica] { - return pulumix.Output[GetVaultReplicasVaultReplica]{ - OutputState: o.OutputState, +func (i GetVaultsVaultArray) ToOutput(ctx context.Context) pulumix.Output[[]GetVaultsVault] { + return pulumix.Output[[]GetVaultsVault]{ + OutputState: i.ToGetVaultsVaultArrayOutputWithContext(ctx).OutputState, } } -// The vault replica's crypto endpoint -func (o GetVaultReplicasVaultReplicaOutput) CryptoEndpoint() pulumi.StringOutput { - return o.ApplyT(func(v GetVaultReplicasVaultReplica) string { return v.CryptoEndpoint }).(pulumi.StringOutput) -} - -// The vault replica's management endpoint -func (o GetVaultReplicasVaultReplicaOutput) ManagementEndpoint() pulumi.StringOutput { - return o.ApplyT(func(v GetVaultReplicasVaultReplica) string { return v.ManagementEndpoint }).(pulumi.StringOutput) -} - -// Region to which vault is replicated to -func (o GetVaultReplicasVaultReplicaOutput) Region() pulumi.StringOutput { - return o.ApplyT(func(v GetVaultReplicasVaultReplica) string { return v.Region }).(pulumi.StringOutput) -} - -// The vault replica's status -func (o GetVaultReplicasVaultReplicaOutput) Status() pulumi.StringOutput { - return o.ApplyT(func(v GetVaultReplicasVaultReplica) string { return v.Status }).(pulumi.StringOutput) -} - -type GetVaultReplicasVaultReplicaArrayOutput struct{ *pulumi.OutputState } +type GetVaultsVaultOutput struct{ *pulumi.OutputState } -func (GetVaultReplicasVaultReplicaArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVaultReplicasVaultReplica)(nil)).Elem() +func (GetVaultsVaultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetVaultsVault)(nil)).Elem() } -func (o GetVaultReplicasVaultReplicaArrayOutput) ToGetVaultReplicasVaultReplicaArrayOutput() GetVaultReplicasVaultReplicaArrayOutput { +func (o GetVaultsVaultOutput) ToGetVaultsVaultOutput() GetVaultsVaultOutput { return o } -func (o GetVaultReplicasVaultReplicaArrayOutput) ToGetVaultReplicasVaultReplicaArrayOutputWithContext(ctx context.Context) GetVaultReplicasVaultReplicaArrayOutput { +func (o GetVaultsVaultOutput) ToGetVaultsVaultOutputWithContext(ctx context.Context) GetVaultsVaultOutput { return o } -func (o GetVaultReplicasVaultReplicaArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetVaultReplicasVaultReplica] { - return pulumix.Output[[]GetVaultReplicasVaultReplica]{ +func (o GetVaultsVaultOutput) ToOutput(ctx context.Context) pulumix.Output[GetVaultsVault] { + return pulumix.Output[GetVaultsVault]{ OutputState: o.OutputState, } } -func (o GetVaultReplicasVaultReplicaArrayOutput) Index(i pulumi.IntInput) GetVaultReplicasVaultReplicaOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVaultReplicasVaultReplica { - return vs[0].([]GetVaultReplicasVaultReplica)[vs[1].(int)] - }).(GetVaultReplicasVaultReplicaOutput) -} - -type GetVaultRestoreFromFile struct { - // content length of vault's backup binary file - ContentLength string `pulumi:"contentLength"` - // content md5 hashed value of vault's backup file - ContentMd5 string `pulumi:"contentMd5"` - // Vault backup file content - RestoreVaultFromFileDetails string `pulumi:"restoreVaultFromFileDetails"` +// The OCID of the compartment. +func (o GetVaultsVaultOutput) CompartmentId() pulumi.StringOutput { + return o.ApplyT(func(v GetVaultsVault) string { return v.CompartmentId }).(pulumi.StringOutput) } -// GetVaultRestoreFromFileInput is an input type that accepts GetVaultRestoreFromFileArgs and GetVaultRestoreFromFileOutput values. -// You can construct a concrete instance of `GetVaultRestoreFromFileInput` via: -// -// GetVaultRestoreFromFileArgs{...} -type GetVaultRestoreFromFileInput interface { - pulumi.Input - - ToGetVaultRestoreFromFileOutput() GetVaultRestoreFromFileOutput - ToGetVaultRestoreFromFileOutputWithContext(context.Context) GetVaultRestoreFromFileOutput +// The service endpoint to perform cryptographic operations against. Cryptographic operations include [Encrypt](https://docs.cloud.oracle.com/iaas/api/#/en/key/latest/EncryptedData/Encrypt), [Decrypt](https://docs.cloud.oracle.com/iaas/api/#/en/key/latest/DecryptedData/Decrypt), and [GenerateDataEncryptionKey](https://docs.cloud.oracle.com/iaas/api/#/en/key/latest/GeneratedKey/GenerateDataEncryptionKey) operations. +func (o GetVaultsVaultOutput) CryptoEndpoint() pulumi.StringOutput { + return o.ApplyT(func(v GetVaultsVault) string { return v.CryptoEndpoint }).(pulumi.StringOutput) } -type GetVaultRestoreFromFileArgs struct { - // content length of vault's backup binary file - ContentLength pulumi.StringInput `pulumi:"contentLength"` - // content md5 hashed value of vault's backup file - ContentMd5 pulumi.StringInput `pulumi:"contentMd5"` - // Vault backup file content - RestoreVaultFromFileDetails pulumi.StringInput `pulumi:"restoreVaultFromFileDetails"` +// Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` +func (o GetVaultsVaultOutput) DefinedTags() pulumi.MapOutput { + return o.ApplyT(func(v GetVaultsVault) map[string]interface{} { return v.DefinedTags }).(pulumi.MapOutput) } -func (GetVaultRestoreFromFileArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVaultRestoreFromFile)(nil)).Elem() +// A user-friendly name for the vault. It does not have to be unique, and it is changeable. Avoid entering confidential information. +func (o GetVaultsVaultOutput) DisplayName() pulumi.StringOutput { + return o.ApplyT(func(v GetVaultsVault) string { return v.DisplayName }).(pulumi.StringOutput) } -func (i GetVaultRestoreFromFileArgs) ToGetVaultRestoreFromFileOutput() GetVaultRestoreFromFileOutput { - return i.ToGetVaultRestoreFromFileOutputWithContext(context.Background()) +// Summary about metadata of external key manager to be returned to the customer as a response. +func (o GetVaultsVaultOutput) ExternalKeyManagerMetadataSummaries() GetVaultsVaultExternalKeyManagerMetadataSummaryArrayOutput { + return o.ApplyT(func(v GetVaultsVault) []GetVaultsVaultExternalKeyManagerMetadataSummary { + return v.ExternalKeyManagerMetadataSummaries + }).(GetVaultsVaultExternalKeyManagerMetadataSummaryArrayOutput) } -func (i GetVaultRestoreFromFileArgs) ToGetVaultRestoreFromFileOutputWithContext(ctx context.Context) GetVaultRestoreFromFileOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVaultRestoreFromFileOutput) +func (o GetVaultsVaultOutput) ExternalKeyManagerMetadatas() GetVaultsVaultExternalKeyManagerMetadataArrayOutput { + return o.ApplyT(func(v GetVaultsVault) []GetVaultsVaultExternalKeyManagerMetadata { + return v.ExternalKeyManagerMetadatas + }).(GetVaultsVaultExternalKeyManagerMetadataArrayOutput) } -func (i GetVaultRestoreFromFileArgs) ToOutput(ctx context.Context) pulumix.Output[GetVaultRestoreFromFile] { - return pulumix.Output[GetVaultRestoreFromFile]{ - OutputState: i.ToGetVaultRestoreFromFileOutputWithContext(ctx).OutputState, - } +// 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` +func (o GetVaultsVaultOutput) FreeformTags() pulumi.MapOutput { + return o.ApplyT(func(v GetVaultsVault) map[string]interface{} { return v.FreeformTags }).(pulumi.MapOutput) } -// GetVaultRestoreFromFileArrayInput is an input type that accepts GetVaultRestoreFromFileArray and GetVaultRestoreFromFileArrayOutput values. -// You can construct a concrete instance of `GetVaultRestoreFromFileArrayInput` via: -// -// GetVaultRestoreFromFileArray{ GetVaultRestoreFromFileArgs{...} } -type GetVaultRestoreFromFileArrayInput interface { - pulumi.Input - - ToGetVaultRestoreFromFileArrayOutput() GetVaultRestoreFromFileArrayOutput - ToGetVaultRestoreFromFileArrayOutputWithContext(context.Context) GetVaultRestoreFromFileArrayOutput +// The OCID of the vault. +func (o GetVaultsVaultOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetVaultsVault) string { return v.Id }).(pulumi.StringOutput) } -type GetVaultRestoreFromFileArray []GetVaultRestoreFromFileInput - -func (GetVaultRestoreFromFileArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVaultRestoreFromFile)(nil)).Elem() +// A Boolean value that indicates whether the Vault is primary Vault or replica Vault. +func (o GetVaultsVaultOutput) IsPrimary() pulumi.BoolOutput { + return o.ApplyT(func(v GetVaultsVault) bool { return v.IsPrimary }).(pulumi.BoolOutput) } -func (i GetVaultRestoreFromFileArray) ToGetVaultRestoreFromFileArrayOutput() GetVaultRestoreFromFileArrayOutput { - return i.ToGetVaultRestoreFromFileArrayOutputWithContext(context.Background()) +// The service endpoint to perform management operations against. Management operations include "Create," "Update," "List," "Get," and "Delete" operations. +func (o GetVaultsVaultOutput) ManagementEndpoint() pulumi.StringOutput { + return o.ApplyT(func(v GetVaultsVault) string { return v.ManagementEndpoint }).(pulumi.StringOutput) } -func (i GetVaultRestoreFromFileArray) ToGetVaultRestoreFromFileArrayOutputWithContext(ctx context.Context) GetVaultRestoreFromFileArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVaultRestoreFromFileArrayOutput) +// Vault replica details +func (o GetVaultsVaultOutput) ReplicaDetails() GetVaultsVaultReplicaDetailArrayOutput { + return o.ApplyT(func(v GetVaultsVault) []GetVaultsVaultReplicaDetail { return v.ReplicaDetails }).(GetVaultsVaultReplicaDetailArrayOutput) } -func (i GetVaultRestoreFromFileArray) ToOutput(ctx context.Context) pulumix.Output[[]GetVaultRestoreFromFile] { - return pulumix.Output[[]GetVaultRestoreFromFile]{ - OutputState: i.ToGetVaultRestoreFromFileArrayOutputWithContext(ctx).OutputState, - } +func (o GetVaultsVaultOutput) RestoreFromFiles() GetVaultsVaultRestoreFromFileArrayOutput { + return o.ApplyT(func(v GetVaultsVault) []GetVaultsVaultRestoreFromFile { return v.RestoreFromFiles }).(GetVaultsVaultRestoreFromFileArrayOutput) } -type GetVaultRestoreFromFileOutput struct{ *pulumi.OutputState } - -func (GetVaultRestoreFromFileOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVaultRestoreFromFile)(nil)).Elem() +func (o GetVaultsVaultOutput) RestoreFromObjectStores() GetVaultsVaultRestoreFromObjectStoreArrayOutput { + return o.ApplyT(func(v GetVaultsVault) []GetVaultsVaultRestoreFromObjectStore { return v.RestoreFromObjectStores }).(GetVaultsVaultRestoreFromObjectStoreArrayOutput) } -func (o GetVaultRestoreFromFileOutput) ToGetVaultRestoreFromFileOutput() GetVaultRestoreFromFileOutput { - return o +func (o GetVaultsVaultOutput) RestoreTrigger() pulumi.BoolOutput { + return o.ApplyT(func(v GetVaultsVault) bool { return v.RestoreTrigger }).(pulumi.BoolOutput) } -func (o GetVaultRestoreFromFileOutput) ToGetVaultRestoreFromFileOutputWithContext(ctx context.Context) GetVaultRestoreFromFileOutput { - return o +// The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. +func (o GetVaultsVaultOutput) RestoredFromVaultId() pulumi.StringOutput { + return o.ApplyT(func(v GetVaultsVault) string { return v.RestoredFromVaultId }).(pulumi.StringOutput) } -func (o GetVaultRestoreFromFileOutput) ToOutput(ctx context.Context) pulumix.Output[GetVaultRestoreFromFile] { - return pulumix.Output[GetVaultRestoreFromFile]{ - OutputState: o.OutputState, - } +// The vault's current lifecycle state. Example: `DELETED` +func (o GetVaultsVaultOutput) State() pulumi.StringOutput { + return o.ApplyT(func(v GetVaultsVault) string { return v.State }).(pulumi.StringOutput) } -// content length of vault's backup binary file -func (o GetVaultRestoreFromFileOutput) ContentLength() pulumi.StringOutput { - return o.ApplyT(func(v GetVaultRestoreFromFile) string { return v.ContentLength }).(pulumi.StringOutput) +// The date and time this vault was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` +func (o GetVaultsVaultOutput) TimeCreated() pulumi.StringOutput { + return o.ApplyT(func(v GetVaultsVault) string { return v.TimeCreated }).(pulumi.StringOutput) } -// content md5 hashed value of vault's backup file -func (o GetVaultRestoreFromFileOutput) ContentMd5() pulumi.StringOutput { - return o.ApplyT(func(v GetVaultRestoreFromFile) string { return v.ContentMd5 }).(pulumi.StringOutput) +// An optional property to indicate when to delete the vault, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` +func (o GetVaultsVaultOutput) TimeOfDeletion() pulumi.StringOutput { + return o.ApplyT(func(v GetVaultsVault) string { return v.TimeOfDeletion }).(pulumi.StringOutput) } -// Vault backup file content -func (o GetVaultRestoreFromFileOutput) RestoreVaultFromFileDetails() pulumi.StringOutput { - return o.ApplyT(func(v GetVaultRestoreFromFile) string { return v.RestoreVaultFromFileDetails }).(pulumi.StringOutput) +// The type of vault. Each type of vault stores the key with different degrees of isolation and has different options and pricing. +func (o GetVaultsVaultOutput) VaultType() pulumi.StringOutput { + return o.ApplyT(func(v GetVaultsVault) string { return v.VaultType }).(pulumi.StringOutput) } -type GetVaultRestoreFromFileArrayOutput struct{ *pulumi.OutputState } +type GetVaultsVaultArrayOutput struct{ *pulumi.OutputState } -func (GetVaultRestoreFromFileArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVaultRestoreFromFile)(nil)).Elem() +func (GetVaultsVaultArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetVaultsVault)(nil)).Elem() } -func (o GetVaultRestoreFromFileArrayOutput) ToGetVaultRestoreFromFileArrayOutput() GetVaultRestoreFromFileArrayOutput { +func (o GetVaultsVaultArrayOutput) ToGetVaultsVaultArrayOutput() GetVaultsVaultArrayOutput { return o } -func (o GetVaultRestoreFromFileArrayOutput) ToGetVaultRestoreFromFileArrayOutputWithContext(ctx context.Context) GetVaultRestoreFromFileArrayOutput { +func (o GetVaultsVaultArrayOutput) ToGetVaultsVaultArrayOutputWithContext(ctx context.Context) GetVaultsVaultArrayOutput { return o } -func (o GetVaultRestoreFromFileArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetVaultRestoreFromFile] { - return pulumix.Output[[]GetVaultRestoreFromFile]{ +func (o GetVaultsVaultArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetVaultsVault] { + return pulumix.Output[[]GetVaultsVault]{ OutputState: o.OutputState, } } -func (o GetVaultRestoreFromFileArrayOutput) Index(i pulumi.IntInput) GetVaultRestoreFromFileOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVaultRestoreFromFile { - return vs[0].([]GetVaultRestoreFromFile)[vs[1].(int)] - }).(GetVaultRestoreFromFileOutput) +func (o GetVaultsVaultArrayOutput) Index(i pulumi.IntInput) GetVaultsVaultOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVaultsVault { + return vs[0].([]GetVaultsVault)[vs[1].(int)] + }).(GetVaultsVaultOutput) } -type GetVaultRestoreFromObjectStore struct { - // Name of the bucket where vault was backed up - Bucket string `pulumi:"bucket"` - // Type of backup to restore from. Values of "BUCKET", "PRE_AUTHENTICATED_REQUEST_URI" are supported - Destination string `pulumi:"destination"` - // Namespace of the bucket where vault was backed up - Namespace string `pulumi:"namespace"` - // Object containing the backup - Object string `pulumi:"object"` - // Pre-authenticated-request-uri of the backup - Uri string `pulumi:"uri"` +type GetVaultsVaultExternalKeyManagerMetadata struct { + // URL of the vault on external key manager. + ExternalVaultEndpointUrl string `pulumi:"externalVaultEndpointUrl"` + OauthMetadatas []GetVaultsVaultExternalKeyManagerMetadataOauthMetadata `pulumi:"oauthMetadatas"` + // OCID of the private endpoint. + PrivateEndpointId string `pulumi:"privateEndpointId"` } -// GetVaultRestoreFromObjectStoreInput is an input type that accepts GetVaultRestoreFromObjectStoreArgs and GetVaultRestoreFromObjectStoreOutput values. -// You can construct a concrete instance of `GetVaultRestoreFromObjectStoreInput` via: +// GetVaultsVaultExternalKeyManagerMetadataInput is an input type that accepts GetVaultsVaultExternalKeyManagerMetadataArgs and GetVaultsVaultExternalKeyManagerMetadataOutput values. +// You can construct a concrete instance of `GetVaultsVaultExternalKeyManagerMetadataInput` via: // -// GetVaultRestoreFromObjectStoreArgs{...} -type GetVaultRestoreFromObjectStoreInput interface { +// GetVaultsVaultExternalKeyManagerMetadataArgs{...} +type GetVaultsVaultExternalKeyManagerMetadataInput interface { pulumi.Input - ToGetVaultRestoreFromObjectStoreOutput() GetVaultRestoreFromObjectStoreOutput - ToGetVaultRestoreFromObjectStoreOutputWithContext(context.Context) GetVaultRestoreFromObjectStoreOutput + ToGetVaultsVaultExternalKeyManagerMetadataOutput() GetVaultsVaultExternalKeyManagerMetadataOutput + ToGetVaultsVaultExternalKeyManagerMetadataOutputWithContext(context.Context) GetVaultsVaultExternalKeyManagerMetadataOutput } -type GetVaultRestoreFromObjectStoreArgs struct { - // Name of the bucket where vault was backed up - Bucket pulumi.StringInput `pulumi:"bucket"` - // Type of backup to restore from. Values of "BUCKET", "PRE_AUTHENTICATED_REQUEST_URI" are supported - Destination pulumi.StringInput `pulumi:"destination"` - // Namespace of the bucket where vault was backed up - Namespace pulumi.StringInput `pulumi:"namespace"` - // Object containing the backup - Object pulumi.StringInput `pulumi:"object"` - // Pre-authenticated-request-uri of the backup - Uri pulumi.StringInput `pulumi:"uri"` +type GetVaultsVaultExternalKeyManagerMetadataArgs struct { + // URL of the vault on external key manager. + ExternalVaultEndpointUrl pulumi.StringInput `pulumi:"externalVaultEndpointUrl"` + OauthMetadatas GetVaultsVaultExternalKeyManagerMetadataOauthMetadataArrayInput `pulumi:"oauthMetadatas"` + // OCID of the private endpoint. + PrivateEndpointId pulumi.StringInput `pulumi:"privateEndpointId"` } -func (GetVaultRestoreFromObjectStoreArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVaultRestoreFromObjectStore)(nil)).Elem() +func (GetVaultsVaultExternalKeyManagerMetadataArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetVaultsVaultExternalKeyManagerMetadata)(nil)).Elem() } -func (i GetVaultRestoreFromObjectStoreArgs) ToGetVaultRestoreFromObjectStoreOutput() GetVaultRestoreFromObjectStoreOutput { - return i.ToGetVaultRestoreFromObjectStoreOutputWithContext(context.Background()) +func (i GetVaultsVaultExternalKeyManagerMetadataArgs) ToGetVaultsVaultExternalKeyManagerMetadataOutput() GetVaultsVaultExternalKeyManagerMetadataOutput { + return i.ToGetVaultsVaultExternalKeyManagerMetadataOutputWithContext(context.Background()) } -func (i GetVaultRestoreFromObjectStoreArgs) ToGetVaultRestoreFromObjectStoreOutputWithContext(ctx context.Context) GetVaultRestoreFromObjectStoreOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVaultRestoreFromObjectStoreOutput) +func (i GetVaultsVaultExternalKeyManagerMetadataArgs) ToGetVaultsVaultExternalKeyManagerMetadataOutputWithContext(ctx context.Context) GetVaultsVaultExternalKeyManagerMetadataOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetVaultsVaultExternalKeyManagerMetadataOutput) } -func (i GetVaultRestoreFromObjectStoreArgs) ToOutput(ctx context.Context) pulumix.Output[GetVaultRestoreFromObjectStore] { - return pulumix.Output[GetVaultRestoreFromObjectStore]{ - OutputState: i.ToGetVaultRestoreFromObjectStoreOutputWithContext(ctx).OutputState, +func (i GetVaultsVaultExternalKeyManagerMetadataArgs) ToOutput(ctx context.Context) pulumix.Output[GetVaultsVaultExternalKeyManagerMetadata] { + return pulumix.Output[GetVaultsVaultExternalKeyManagerMetadata]{ + OutputState: i.ToGetVaultsVaultExternalKeyManagerMetadataOutputWithContext(ctx).OutputState, } } -// GetVaultRestoreFromObjectStoreArrayInput is an input type that accepts GetVaultRestoreFromObjectStoreArray and GetVaultRestoreFromObjectStoreArrayOutput values. -// You can construct a concrete instance of `GetVaultRestoreFromObjectStoreArrayInput` via: +// GetVaultsVaultExternalKeyManagerMetadataArrayInput is an input type that accepts GetVaultsVaultExternalKeyManagerMetadataArray and GetVaultsVaultExternalKeyManagerMetadataArrayOutput values. +// You can construct a concrete instance of `GetVaultsVaultExternalKeyManagerMetadataArrayInput` via: // -// GetVaultRestoreFromObjectStoreArray{ GetVaultRestoreFromObjectStoreArgs{...} } -type GetVaultRestoreFromObjectStoreArrayInput interface { +// GetVaultsVaultExternalKeyManagerMetadataArray{ GetVaultsVaultExternalKeyManagerMetadataArgs{...} } +type GetVaultsVaultExternalKeyManagerMetadataArrayInput interface { pulumi.Input - ToGetVaultRestoreFromObjectStoreArrayOutput() GetVaultRestoreFromObjectStoreArrayOutput - ToGetVaultRestoreFromObjectStoreArrayOutputWithContext(context.Context) GetVaultRestoreFromObjectStoreArrayOutput + ToGetVaultsVaultExternalKeyManagerMetadataArrayOutput() GetVaultsVaultExternalKeyManagerMetadataArrayOutput + ToGetVaultsVaultExternalKeyManagerMetadataArrayOutputWithContext(context.Context) GetVaultsVaultExternalKeyManagerMetadataArrayOutput } -type GetVaultRestoreFromObjectStoreArray []GetVaultRestoreFromObjectStoreInput +type GetVaultsVaultExternalKeyManagerMetadataArray []GetVaultsVaultExternalKeyManagerMetadataInput -func (GetVaultRestoreFromObjectStoreArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVaultRestoreFromObjectStore)(nil)).Elem() +func (GetVaultsVaultExternalKeyManagerMetadataArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetVaultsVaultExternalKeyManagerMetadata)(nil)).Elem() } -func (i GetVaultRestoreFromObjectStoreArray) ToGetVaultRestoreFromObjectStoreArrayOutput() GetVaultRestoreFromObjectStoreArrayOutput { - return i.ToGetVaultRestoreFromObjectStoreArrayOutputWithContext(context.Background()) +func (i GetVaultsVaultExternalKeyManagerMetadataArray) ToGetVaultsVaultExternalKeyManagerMetadataArrayOutput() GetVaultsVaultExternalKeyManagerMetadataArrayOutput { + return i.ToGetVaultsVaultExternalKeyManagerMetadataArrayOutputWithContext(context.Background()) } -func (i GetVaultRestoreFromObjectStoreArray) ToGetVaultRestoreFromObjectStoreArrayOutputWithContext(ctx context.Context) GetVaultRestoreFromObjectStoreArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVaultRestoreFromObjectStoreArrayOutput) +func (i GetVaultsVaultExternalKeyManagerMetadataArray) ToGetVaultsVaultExternalKeyManagerMetadataArrayOutputWithContext(ctx context.Context) GetVaultsVaultExternalKeyManagerMetadataArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetVaultsVaultExternalKeyManagerMetadataArrayOutput) } -func (i GetVaultRestoreFromObjectStoreArray) ToOutput(ctx context.Context) pulumix.Output[[]GetVaultRestoreFromObjectStore] { - return pulumix.Output[[]GetVaultRestoreFromObjectStore]{ - OutputState: i.ToGetVaultRestoreFromObjectStoreArrayOutputWithContext(ctx).OutputState, +func (i GetVaultsVaultExternalKeyManagerMetadataArray) ToOutput(ctx context.Context) pulumix.Output[[]GetVaultsVaultExternalKeyManagerMetadata] { + return pulumix.Output[[]GetVaultsVaultExternalKeyManagerMetadata]{ + OutputState: i.ToGetVaultsVaultExternalKeyManagerMetadataArrayOutputWithContext(ctx).OutputState, } } -type GetVaultRestoreFromObjectStoreOutput struct{ *pulumi.OutputState } +type GetVaultsVaultExternalKeyManagerMetadataOutput struct{ *pulumi.OutputState } -func (GetVaultRestoreFromObjectStoreOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVaultRestoreFromObjectStore)(nil)).Elem() +func (GetVaultsVaultExternalKeyManagerMetadataOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetVaultsVaultExternalKeyManagerMetadata)(nil)).Elem() } -func (o GetVaultRestoreFromObjectStoreOutput) ToGetVaultRestoreFromObjectStoreOutput() GetVaultRestoreFromObjectStoreOutput { +func (o GetVaultsVaultExternalKeyManagerMetadataOutput) ToGetVaultsVaultExternalKeyManagerMetadataOutput() GetVaultsVaultExternalKeyManagerMetadataOutput { return o } -func (o GetVaultRestoreFromObjectStoreOutput) ToGetVaultRestoreFromObjectStoreOutputWithContext(ctx context.Context) GetVaultRestoreFromObjectStoreOutput { +func (o GetVaultsVaultExternalKeyManagerMetadataOutput) ToGetVaultsVaultExternalKeyManagerMetadataOutputWithContext(ctx context.Context) GetVaultsVaultExternalKeyManagerMetadataOutput { return o } -func (o GetVaultRestoreFromObjectStoreOutput) ToOutput(ctx context.Context) pulumix.Output[GetVaultRestoreFromObjectStore] { - return pulumix.Output[GetVaultRestoreFromObjectStore]{ +func (o GetVaultsVaultExternalKeyManagerMetadataOutput) ToOutput(ctx context.Context) pulumix.Output[GetVaultsVaultExternalKeyManagerMetadata] { + return pulumix.Output[GetVaultsVaultExternalKeyManagerMetadata]{ OutputState: o.OutputState, } } -// Name of the bucket where vault was backed up -func (o GetVaultRestoreFromObjectStoreOutput) Bucket() pulumi.StringOutput { - return o.ApplyT(func(v GetVaultRestoreFromObjectStore) string { return v.Bucket }).(pulumi.StringOutput) -} - -// Type of backup to restore from. Values of "BUCKET", "PRE_AUTHENTICATED_REQUEST_URI" are supported -func (o GetVaultRestoreFromObjectStoreOutput) Destination() pulumi.StringOutput { - return o.ApplyT(func(v GetVaultRestoreFromObjectStore) string { return v.Destination }).(pulumi.StringOutput) -} - -// Namespace of the bucket where vault was backed up -func (o GetVaultRestoreFromObjectStoreOutput) Namespace() pulumi.StringOutput { - return o.ApplyT(func(v GetVaultRestoreFromObjectStore) string { return v.Namespace }).(pulumi.StringOutput) +// URL of the vault on external key manager. +func (o GetVaultsVaultExternalKeyManagerMetadataOutput) ExternalVaultEndpointUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetVaultsVaultExternalKeyManagerMetadata) string { return v.ExternalVaultEndpointUrl }).(pulumi.StringOutput) } -// Object containing the backup -func (o GetVaultRestoreFromObjectStoreOutput) Object() pulumi.StringOutput { - return o.ApplyT(func(v GetVaultRestoreFromObjectStore) string { return v.Object }).(pulumi.StringOutput) +func (o GetVaultsVaultExternalKeyManagerMetadataOutput) OauthMetadatas() GetVaultsVaultExternalKeyManagerMetadataOauthMetadataArrayOutput { + return o.ApplyT(func(v GetVaultsVaultExternalKeyManagerMetadata) []GetVaultsVaultExternalKeyManagerMetadataOauthMetadata { + return v.OauthMetadatas + }).(GetVaultsVaultExternalKeyManagerMetadataOauthMetadataArrayOutput) } -// Pre-authenticated-request-uri of the backup -func (o GetVaultRestoreFromObjectStoreOutput) Uri() pulumi.StringOutput { - return o.ApplyT(func(v GetVaultRestoreFromObjectStore) string { return v.Uri }).(pulumi.StringOutput) +// OCID of the private endpoint. +func (o GetVaultsVaultExternalKeyManagerMetadataOutput) PrivateEndpointId() pulumi.StringOutput { + return o.ApplyT(func(v GetVaultsVaultExternalKeyManagerMetadata) string { return v.PrivateEndpointId }).(pulumi.StringOutput) } -type GetVaultRestoreFromObjectStoreArrayOutput struct{ *pulumi.OutputState } +type GetVaultsVaultExternalKeyManagerMetadataArrayOutput struct{ *pulumi.OutputState } -func (GetVaultRestoreFromObjectStoreArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVaultRestoreFromObjectStore)(nil)).Elem() +func (GetVaultsVaultExternalKeyManagerMetadataArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetVaultsVaultExternalKeyManagerMetadata)(nil)).Elem() } -func (o GetVaultRestoreFromObjectStoreArrayOutput) ToGetVaultRestoreFromObjectStoreArrayOutput() GetVaultRestoreFromObjectStoreArrayOutput { +func (o GetVaultsVaultExternalKeyManagerMetadataArrayOutput) ToGetVaultsVaultExternalKeyManagerMetadataArrayOutput() GetVaultsVaultExternalKeyManagerMetadataArrayOutput { return o } -func (o GetVaultRestoreFromObjectStoreArrayOutput) ToGetVaultRestoreFromObjectStoreArrayOutputWithContext(ctx context.Context) GetVaultRestoreFromObjectStoreArrayOutput { +func (o GetVaultsVaultExternalKeyManagerMetadataArrayOutput) ToGetVaultsVaultExternalKeyManagerMetadataArrayOutputWithContext(ctx context.Context) GetVaultsVaultExternalKeyManagerMetadataArrayOutput { return o } -func (o GetVaultRestoreFromObjectStoreArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetVaultRestoreFromObjectStore] { - return pulumix.Output[[]GetVaultRestoreFromObjectStore]{ +func (o GetVaultsVaultExternalKeyManagerMetadataArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetVaultsVaultExternalKeyManagerMetadata] { + return pulumix.Output[[]GetVaultsVaultExternalKeyManagerMetadata]{ OutputState: o.OutputState, } } - -func (o GetVaultRestoreFromObjectStoreArrayOutput) Index(i pulumi.IntInput) GetVaultRestoreFromObjectStoreOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVaultRestoreFromObjectStore { - return vs[0].([]GetVaultRestoreFromObjectStore)[vs[1].(int)] - }).(GetVaultRestoreFromObjectStoreOutput) -} - -type GetVaultsFilter struct { - Name string `pulumi:"name"` - Regex *bool `pulumi:"regex"` - Values []string `pulumi:"values"` + +func (o GetVaultsVaultExternalKeyManagerMetadataArrayOutput) Index(i pulumi.IntInput) GetVaultsVaultExternalKeyManagerMetadataOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVaultsVaultExternalKeyManagerMetadata { + return vs[0].([]GetVaultsVaultExternalKeyManagerMetadata)[vs[1].(int)] + }).(GetVaultsVaultExternalKeyManagerMetadataOutput) } -// GetVaultsFilterInput is an input type that accepts GetVaultsFilterArgs and GetVaultsFilterOutput values. -// You can construct a concrete instance of `GetVaultsFilterInput` via: +type GetVaultsVaultExternalKeyManagerMetadataOauthMetadata struct { + // ID of the client app created in IDP. + ClientAppId string `pulumi:"clientAppId"` + ClientAppSecret string `pulumi:"clientAppSecret"` + // Base URL of the IDCS account where confidential client app is created. + IdcsAccountNameUrl string `pulumi:"idcsAccountNameUrl"` +} + +// GetVaultsVaultExternalKeyManagerMetadataOauthMetadataInput is an input type that accepts GetVaultsVaultExternalKeyManagerMetadataOauthMetadataArgs and GetVaultsVaultExternalKeyManagerMetadataOauthMetadataOutput values. +// You can construct a concrete instance of `GetVaultsVaultExternalKeyManagerMetadataOauthMetadataInput` via: // -// GetVaultsFilterArgs{...} -type GetVaultsFilterInput interface { +// GetVaultsVaultExternalKeyManagerMetadataOauthMetadataArgs{...} +type GetVaultsVaultExternalKeyManagerMetadataOauthMetadataInput interface { pulumi.Input - ToGetVaultsFilterOutput() GetVaultsFilterOutput - ToGetVaultsFilterOutputWithContext(context.Context) GetVaultsFilterOutput + ToGetVaultsVaultExternalKeyManagerMetadataOauthMetadataOutput() GetVaultsVaultExternalKeyManagerMetadataOauthMetadataOutput + ToGetVaultsVaultExternalKeyManagerMetadataOauthMetadataOutputWithContext(context.Context) GetVaultsVaultExternalKeyManagerMetadataOauthMetadataOutput } -type GetVaultsFilterArgs struct { - Name pulumi.StringInput `pulumi:"name"` - Regex pulumi.BoolPtrInput `pulumi:"regex"` - Values pulumi.StringArrayInput `pulumi:"values"` +type GetVaultsVaultExternalKeyManagerMetadataOauthMetadataArgs struct { + // ID of the client app created in IDP. + ClientAppId pulumi.StringInput `pulumi:"clientAppId"` + ClientAppSecret pulumi.StringInput `pulumi:"clientAppSecret"` + // Base URL of the IDCS account where confidential client app is created. + IdcsAccountNameUrl pulumi.StringInput `pulumi:"idcsAccountNameUrl"` } -func (GetVaultsFilterArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVaultsFilter)(nil)).Elem() +func (GetVaultsVaultExternalKeyManagerMetadataOauthMetadataArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetVaultsVaultExternalKeyManagerMetadataOauthMetadata)(nil)).Elem() } -func (i GetVaultsFilterArgs) ToGetVaultsFilterOutput() GetVaultsFilterOutput { - return i.ToGetVaultsFilterOutputWithContext(context.Background()) +func (i GetVaultsVaultExternalKeyManagerMetadataOauthMetadataArgs) ToGetVaultsVaultExternalKeyManagerMetadataOauthMetadataOutput() GetVaultsVaultExternalKeyManagerMetadataOauthMetadataOutput { + return i.ToGetVaultsVaultExternalKeyManagerMetadataOauthMetadataOutputWithContext(context.Background()) } -func (i GetVaultsFilterArgs) ToGetVaultsFilterOutputWithContext(ctx context.Context) GetVaultsFilterOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVaultsFilterOutput) +func (i GetVaultsVaultExternalKeyManagerMetadataOauthMetadataArgs) ToGetVaultsVaultExternalKeyManagerMetadataOauthMetadataOutputWithContext(ctx context.Context) GetVaultsVaultExternalKeyManagerMetadataOauthMetadataOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetVaultsVaultExternalKeyManagerMetadataOauthMetadataOutput) } -func (i GetVaultsFilterArgs) ToOutput(ctx context.Context) pulumix.Output[GetVaultsFilter] { - return pulumix.Output[GetVaultsFilter]{ - OutputState: i.ToGetVaultsFilterOutputWithContext(ctx).OutputState, +func (i GetVaultsVaultExternalKeyManagerMetadataOauthMetadataArgs) ToOutput(ctx context.Context) pulumix.Output[GetVaultsVaultExternalKeyManagerMetadataOauthMetadata] { + return pulumix.Output[GetVaultsVaultExternalKeyManagerMetadataOauthMetadata]{ + OutputState: i.ToGetVaultsVaultExternalKeyManagerMetadataOauthMetadataOutputWithContext(ctx).OutputState, } } -// GetVaultsFilterArrayInput is an input type that accepts GetVaultsFilterArray and GetVaultsFilterArrayOutput values. -// You can construct a concrete instance of `GetVaultsFilterArrayInput` via: +// GetVaultsVaultExternalKeyManagerMetadataOauthMetadataArrayInput is an input type that accepts GetVaultsVaultExternalKeyManagerMetadataOauthMetadataArray and GetVaultsVaultExternalKeyManagerMetadataOauthMetadataArrayOutput values. +// You can construct a concrete instance of `GetVaultsVaultExternalKeyManagerMetadataOauthMetadataArrayInput` via: // -// GetVaultsFilterArray{ GetVaultsFilterArgs{...} } -type GetVaultsFilterArrayInput interface { +// GetVaultsVaultExternalKeyManagerMetadataOauthMetadataArray{ GetVaultsVaultExternalKeyManagerMetadataOauthMetadataArgs{...} } +type GetVaultsVaultExternalKeyManagerMetadataOauthMetadataArrayInput interface { pulumi.Input - ToGetVaultsFilterArrayOutput() GetVaultsFilterArrayOutput - ToGetVaultsFilterArrayOutputWithContext(context.Context) GetVaultsFilterArrayOutput + ToGetVaultsVaultExternalKeyManagerMetadataOauthMetadataArrayOutput() GetVaultsVaultExternalKeyManagerMetadataOauthMetadataArrayOutput + ToGetVaultsVaultExternalKeyManagerMetadataOauthMetadataArrayOutputWithContext(context.Context) GetVaultsVaultExternalKeyManagerMetadataOauthMetadataArrayOutput } -type GetVaultsFilterArray []GetVaultsFilterInput +type GetVaultsVaultExternalKeyManagerMetadataOauthMetadataArray []GetVaultsVaultExternalKeyManagerMetadataOauthMetadataInput -func (GetVaultsFilterArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVaultsFilter)(nil)).Elem() +func (GetVaultsVaultExternalKeyManagerMetadataOauthMetadataArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetVaultsVaultExternalKeyManagerMetadataOauthMetadata)(nil)).Elem() } -func (i GetVaultsFilterArray) ToGetVaultsFilterArrayOutput() GetVaultsFilterArrayOutput { - return i.ToGetVaultsFilterArrayOutputWithContext(context.Background()) +func (i GetVaultsVaultExternalKeyManagerMetadataOauthMetadataArray) ToGetVaultsVaultExternalKeyManagerMetadataOauthMetadataArrayOutput() GetVaultsVaultExternalKeyManagerMetadataOauthMetadataArrayOutput { + return i.ToGetVaultsVaultExternalKeyManagerMetadataOauthMetadataArrayOutputWithContext(context.Background()) } -func (i GetVaultsFilterArray) ToGetVaultsFilterArrayOutputWithContext(ctx context.Context) GetVaultsFilterArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVaultsFilterArrayOutput) +func (i GetVaultsVaultExternalKeyManagerMetadataOauthMetadataArray) ToGetVaultsVaultExternalKeyManagerMetadataOauthMetadataArrayOutputWithContext(ctx context.Context) GetVaultsVaultExternalKeyManagerMetadataOauthMetadataArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetVaultsVaultExternalKeyManagerMetadataOauthMetadataArrayOutput) } -func (i GetVaultsFilterArray) ToOutput(ctx context.Context) pulumix.Output[[]GetVaultsFilter] { - return pulumix.Output[[]GetVaultsFilter]{ - OutputState: i.ToGetVaultsFilterArrayOutputWithContext(ctx).OutputState, +func (i GetVaultsVaultExternalKeyManagerMetadataOauthMetadataArray) ToOutput(ctx context.Context) pulumix.Output[[]GetVaultsVaultExternalKeyManagerMetadataOauthMetadata] { + return pulumix.Output[[]GetVaultsVaultExternalKeyManagerMetadataOauthMetadata]{ + OutputState: i.ToGetVaultsVaultExternalKeyManagerMetadataOauthMetadataArrayOutputWithContext(ctx).OutputState, } } -type GetVaultsFilterOutput struct{ *pulumi.OutputState } +type GetVaultsVaultExternalKeyManagerMetadataOauthMetadataOutput struct{ *pulumi.OutputState } -func (GetVaultsFilterOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVaultsFilter)(nil)).Elem() +func (GetVaultsVaultExternalKeyManagerMetadataOauthMetadataOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetVaultsVaultExternalKeyManagerMetadataOauthMetadata)(nil)).Elem() } -func (o GetVaultsFilterOutput) ToGetVaultsFilterOutput() GetVaultsFilterOutput { +func (o GetVaultsVaultExternalKeyManagerMetadataOauthMetadataOutput) ToGetVaultsVaultExternalKeyManagerMetadataOauthMetadataOutput() GetVaultsVaultExternalKeyManagerMetadataOauthMetadataOutput { return o } -func (o GetVaultsFilterOutput) ToGetVaultsFilterOutputWithContext(ctx context.Context) GetVaultsFilterOutput { +func (o GetVaultsVaultExternalKeyManagerMetadataOauthMetadataOutput) ToGetVaultsVaultExternalKeyManagerMetadataOauthMetadataOutputWithContext(ctx context.Context) GetVaultsVaultExternalKeyManagerMetadataOauthMetadataOutput { return o } -func (o GetVaultsFilterOutput) ToOutput(ctx context.Context) pulumix.Output[GetVaultsFilter] { - return pulumix.Output[GetVaultsFilter]{ +func (o GetVaultsVaultExternalKeyManagerMetadataOauthMetadataOutput) ToOutput(ctx context.Context) pulumix.Output[GetVaultsVaultExternalKeyManagerMetadataOauthMetadata] { + return pulumix.Output[GetVaultsVaultExternalKeyManagerMetadataOauthMetadata]{ OutputState: o.OutputState, } } -func (o GetVaultsFilterOutput) Name() pulumi.StringOutput { - return o.ApplyT(func(v GetVaultsFilter) string { return v.Name }).(pulumi.StringOutput) +// ID of the client app created in IDP. +func (o GetVaultsVaultExternalKeyManagerMetadataOauthMetadataOutput) ClientAppId() pulumi.StringOutput { + return o.ApplyT(func(v GetVaultsVaultExternalKeyManagerMetadataOauthMetadata) string { return v.ClientAppId }).(pulumi.StringOutput) } -func (o GetVaultsFilterOutput) Regex() pulumi.BoolPtrOutput { - return o.ApplyT(func(v GetVaultsFilter) *bool { return v.Regex }).(pulumi.BoolPtrOutput) +func (o GetVaultsVaultExternalKeyManagerMetadataOauthMetadataOutput) ClientAppSecret() pulumi.StringOutput { + return o.ApplyT(func(v GetVaultsVaultExternalKeyManagerMetadataOauthMetadata) string { return v.ClientAppSecret }).(pulumi.StringOutput) } -func (o GetVaultsFilterOutput) Values() pulumi.StringArrayOutput { - return o.ApplyT(func(v GetVaultsFilter) []string { return v.Values }).(pulumi.StringArrayOutput) +// Base URL of the IDCS account where confidential client app is created. +func (o GetVaultsVaultExternalKeyManagerMetadataOauthMetadataOutput) IdcsAccountNameUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetVaultsVaultExternalKeyManagerMetadataOauthMetadata) string { return v.IdcsAccountNameUrl }).(pulumi.StringOutput) } -type GetVaultsFilterArrayOutput struct{ *pulumi.OutputState } +type GetVaultsVaultExternalKeyManagerMetadataOauthMetadataArrayOutput struct{ *pulumi.OutputState } -func (GetVaultsFilterArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVaultsFilter)(nil)).Elem() +func (GetVaultsVaultExternalKeyManagerMetadataOauthMetadataArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetVaultsVaultExternalKeyManagerMetadataOauthMetadata)(nil)).Elem() } -func (o GetVaultsFilterArrayOutput) ToGetVaultsFilterArrayOutput() GetVaultsFilterArrayOutput { +func (o GetVaultsVaultExternalKeyManagerMetadataOauthMetadataArrayOutput) ToGetVaultsVaultExternalKeyManagerMetadataOauthMetadataArrayOutput() GetVaultsVaultExternalKeyManagerMetadataOauthMetadataArrayOutput { return o } -func (o GetVaultsFilterArrayOutput) ToGetVaultsFilterArrayOutputWithContext(ctx context.Context) GetVaultsFilterArrayOutput { +func (o GetVaultsVaultExternalKeyManagerMetadataOauthMetadataArrayOutput) ToGetVaultsVaultExternalKeyManagerMetadataOauthMetadataArrayOutputWithContext(ctx context.Context) GetVaultsVaultExternalKeyManagerMetadataOauthMetadataArrayOutput { return o } -func (o GetVaultsFilterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetVaultsFilter] { - return pulumix.Output[[]GetVaultsFilter]{ +func (o GetVaultsVaultExternalKeyManagerMetadataOauthMetadataArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetVaultsVaultExternalKeyManagerMetadataOauthMetadata] { + return pulumix.Output[[]GetVaultsVaultExternalKeyManagerMetadataOauthMetadata]{ OutputState: o.OutputState, } } -func (o GetVaultsFilterArrayOutput) Index(i pulumi.IntInput) GetVaultsFilterOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVaultsFilter { - return vs[0].([]GetVaultsFilter)[vs[1].(int)] - }).(GetVaultsFilterOutput) +func (o GetVaultsVaultExternalKeyManagerMetadataOauthMetadataArrayOutput) Index(i pulumi.IntInput) GetVaultsVaultExternalKeyManagerMetadataOauthMetadataOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVaultsVaultExternalKeyManagerMetadataOauthMetadata { + return vs[0].([]GetVaultsVaultExternalKeyManagerMetadataOauthMetadata)[vs[1].(int)] + }).(GetVaultsVaultExternalKeyManagerMetadataOauthMetadataOutput) } -type GetVaultsVault struct { - // The OCID of the compartment. - CompartmentId string `pulumi:"compartmentId"` - // The service endpoint to perform cryptographic operations against. Cryptographic operations include [Encrypt](https://docs.cloud.oracle.com/iaas/api/#/en/key/latest/EncryptedData/Encrypt), [Decrypt](https://docs.cloud.oracle.com/iaas/api/#/en/key/latest/DecryptedData/Decrypt), and [GenerateDataEncryptionKey](https://docs.cloud.oracle.com/iaas/api/#/en/key/latest/GeneratedKey/GenerateDataEncryptionKey) operations. - CryptoEndpoint string `pulumi:"cryptoEndpoint"` - // Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` - DefinedTags map[string]interface{} `pulumi:"definedTags"` - // A user-friendly name for the vault. It does not have to be unique, and it is changeable. Avoid entering confidential information. - DisplayName string `pulumi:"displayName"` - // 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` - FreeformTags map[string]interface{} `pulumi:"freeformTags"` - // The OCID of the vault. - Id string `pulumi:"id"` - // A boolean that will be true when vault is primary, and will be false when vault is a replica from a primary vault. - IsPrimary bool `pulumi:"isPrimary"` - // The service endpoint to perform management operations against. Management operations include "Create," "Update," "List," "Get," and "Delete" operations. - ManagementEndpoint string `pulumi:"managementEndpoint"` - // Vault replica details - ReplicaDetails []GetVaultsVaultReplicaDetail `pulumi:"replicaDetails"` - RestoreFromFiles []GetVaultsVaultRestoreFromFile `pulumi:"restoreFromFiles"` - RestoreFromObjectStores []GetVaultsVaultRestoreFromObjectStore `pulumi:"restoreFromObjectStores"` - RestoreTrigger bool `pulumi:"restoreTrigger"` - // The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. - RestoredFromVaultId string `pulumi:"restoredFromVaultId"` - // The vault's current lifecycle state. Example: `DELETED` - State string `pulumi:"state"` - // The date and time this vault was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` - TimeCreated string `pulumi:"timeCreated"` - // An optional property to indicate when to delete the vault, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` - TimeOfDeletion string `pulumi:"timeOfDeletion"` - // The type of vault. Each type of vault stores the key with different degrees of isolation and has different options and pricing. - VaultType string `pulumi:"vaultType"` +type GetVaultsVaultExternalKeyManagerMetadataSummary struct { + // URL of the vault on external key manager. + ExternalVaultEndpointUrl string `pulumi:"externalVaultEndpointUrl"` + // Summary about authorization to be returned to the customer as a response. + OauthMetadataSummaries []GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary `pulumi:"oauthMetadataSummaries"` + // OCID of the private endpoint. + PrivateEndpointId string `pulumi:"privateEndpointId"` + // Vendor of the external key manager. + Vendor string `pulumi:"vendor"` } -// GetVaultsVaultInput is an input type that accepts GetVaultsVaultArgs and GetVaultsVaultOutput values. -// You can construct a concrete instance of `GetVaultsVaultInput` via: +// GetVaultsVaultExternalKeyManagerMetadataSummaryInput is an input type that accepts GetVaultsVaultExternalKeyManagerMetadataSummaryArgs and GetVaultsVaultExternalKeyManagerMetadataSummaryOutput values. +// You can construct a concrete instance of `GetVaultsVaultExternalKeyManagerMetadataSummaryInput` via: // -// GetVaultsVaultArgs{...} -type GetVaultsVaultInput interface { +// GetVaultsVaultExternalKeyManagerMetadataSummaryArgs{...} +type GetVaultsVaultExternalKeyManagerMetadataSummaryInput interface { pulumi.Input - ToGetVaultsVaultOutput() GetVaultsVaultOutput - ToGetVaultsVaultOutputWithContext(context.Context) GetVaultsVaultOutput + ToGetVaultsVaultExternalKeyManagerMetadataSummaryOutput() GetVaultsVaultExternalKeyManagerMetadataSummaryOutput + ToGetVaultsVaultExternalKeyManagerMetadataSummaryOutputWithContext(context.Context) GetVaultsVaultExternalKeyManagerMetadataSummaryOutput } -type GetVaultsVaultArgs struct { - // The OCID of the compartment. - CompartmentId pulumi.StringInput `pulumi:"compartmentId"` - // The service endpoint to perform cryptographic operations against. Cryptographic operations include [Encrypt](https://docs.cloud.oracle.com/iaas/api/#/en/key/latest/EncryptedData/Encrypt), [Decrypt](https://docs.cloud.oracle.com/iaas/api/#/en/key/latest/DecryptedData/Decrypt), and [GenerateDataEncryptionKey](https://docs.cloud.oracle.com/iaas/api/#/en/key/latest/GeneratedKey/GenerateDataEncryptionKey) operations. - CryptoEndpoint pulumi.StringInput `pulumi:"cryptoEndpoint"` - // Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` - DefinedTags pulumi.MapInput `pulumi:"definedTags"` - // A user-friendly name for the vault. It does not have to be unique, and it is changeable. Avoid entering confidential information. - DisplayName pulumi.StringInput `pulumi:"displayName"` - // 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` - FreeformTags pulumi.MapInput `pulumi:"freeformTags"` - // The OCID of the vault. - Id pulumi.StringInput `pulumi:"id"` - // A boolean that will be true when vault is primary, and will be false when vault is a replica from a primary vault. - IsPrimary pulumi.BoolInput `pulumi:"isPrimary"` - // The service endpoint to perform management operations against. Management operations include "Create," "Update," "List," "Get," and "Delete" operations. - ManagementEndpoint pulumi.StringInput `pulumi:"managementEndpoint"` - // Vault replica details - ReplicaDetails GetVaultsVaultReplicaDetailArrayInput `pulumi:"replicaDetails"` - RestoreFromFiles GetVaultsVaultRestoreFromFileArrayInput `pulumi:"restoreFromFiles"` - RestoreFromObjectStores GetVaultsVaultRestoreFromObjectStoreArrayInput `pulumi:"restoreFromObjectStores"` - RestoreTrigger pulumi.BoolInput `pulumi:"restoreTrigger"` - // The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. - RestoredFromVaultId pulumi.StringInput `pulumi:"restoredFromVaultId"` - // The vault's current lifecycle state. Example: `DELETED` - State pulumi.StringInput `pulumi:"state"` - // The date and time this vault was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` - TimeCreated pulumi.StringInput `pulumi:"timeCreated"` - // An optional property to indicate when to delete the vault, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` - TimeOfDeletion pulumi.StringInput `pulumi:"timeOfDeletion"` - // The type of vault. Each type of vault stores the key with different degrees of isolation and has different options and pricing. - VaultType pulumi.StringInput `pulumi:"vaultType"` +type GetVaultsVaultExternalKeyManagerMetadataSummaryArgs struct { + // URL of the vault on external key manager. + ExternalVaultEndpointUrl pulumi.StringInput `pulumi:"externalVaultEndpointUrl"` + // Summary about authorization to be returned to the customer as a response. + OauthMetadataSummaries GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayInput `pulumi:"oauthMetadataSummaries"` + // OCID of the private endpoint. + PrivateEndpointId pulumi.StringInput `pulumi:"privateEndpointId"` + // Vendor of the external key manager. + Vendor pulumi.StringInput `pulumi:"vendor"` } -func (GetVaultsVaultArgs) ElementType() reflect.Type { - return reflect.TypeOf((*GetVaultsVault)(nil)).Elem() +func (GetVaultsVaultExternalKeyManagerMetadataSummaryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetVaultsVaultExternalKeyManagerMetadataSummary)(nil)).Elem() } -func (i GetVaultsVaultArgs) ToGetVaultsVaultOutput() GetVaultsVaultOutput { - return i.ToGetVaultsVaultOutputWithContext(context.Background()) +func (i GetVaultsVaultExternalKeyManagerMetadataSummaryArgs) ToGetVaultsVaultExternalKeyManagerMetadataSummaryOutput() GetVaultsVaultExternalKeyManagerMetadataSummaryOutput { + return i.ToGetVaultsVaultExternalKeyManagerMetadataSummaryOutputWithContext(context.Background()) } -func (i GetVaultsVaultArgs) ToGetVaultsVaultOutputWithContext(ctx context.Context) GetVaultsVaultOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVaultsVaultOutput) +func (i GetVaultsVaultExternalKeyManagerMetadataSummaryArgs) ToGetVaultsVaultExternalKeyManagerMetadataSummaryOutputWithContext(ctx context.Context) GetVaultsVaultExternalKeyManagerMetadataSummaryOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetVaultsVaultExternalKeyManagerMetadataSummaryOutput) } -func (i GetVaultsVaultArgs) ToOutput(ctx context.Context) pulumix.Output[GetVaultsVault] { - return pulumix.Output[GetVaultsVault]{ - OutputState: i.ToGetVaultsVaultOutputWithContext(ctx).OutputState, +func (i GetVaultsVaultExternalKeyManagerMetadataSummaryArgs) ToOutput(ctx context.Context) pulumix.Output[GetVaultsVaultExternalKeyManagerMetadataSummary] { + return pulumix.Output[GetVaultsVaultExternalKeyManagerMetadataSummary]{ + OutputState: i.ToGetVaultsVaultExternalKeyManagerMetadataSummaryOutputWithContext(ctx).OutputState, } } -// GetVaultsVaultArrayInput is an input type that accepts GetVaultsVaultArray and GetVaultsVaultArrayOutput values. -// You can construct a concrete instance of `GetVaultsVaultArrayInput` via: +// GetVaultsVaultExternalKeyManagerMetadataSummaryArrayInput is an input type that accepts GetVaultsVaultExternalKeyManagerMetadataSummaryArray and GetVaultsVaultExternalKeyManagerMetadataSummaryArrayOutput values. +// You can construct a concrete instance of `GetVaultsVaultExternalKeyManagerMetadataSummaryArrayInput` via: // -// GetVaultsVaultArray{ GetVaultsVaultArgs{...} } -type GetVaultsVaultArrayInput interface { +// GetVaultsVaultExternalKeyManagerMetadataSummaryArray{ GetVaultsVaultExternalKeyManagerMetadataSummaryArgs{...} } +type GetVaultsVaultExternalKeyManagerMetadataSummaryArrayInput interface { pulumi.Input - ToGetVaultsVaultArrayOutput() GetVaultsVaultArrayOutput - ToGetVaultsVaultArrayOutputWithContext(context.Context) GetVaultsVaultArrayOutput + ToGetVaultsVaultExternalKeyManagerMetadataSummaryArrayOutput() GetVaultsVaultExternalKeyManagerMetadataSummaryArrayOutput + ToGetVaultsVaultExternalKeyManagerMetadataSummaryArrayOutputWithContext(context.Context) GetVaultsVaultExternalKeyManagerMetadataSummaryArrayOutput } -type GetVaultsVaultArray []GetVaultsVaultInput +type GetVaultsVaultExternalKeyManagerMetadataSummaryArray []GetVaultsVaultExternalKeyManagerMetadataSummaryInput -func (GetVaultsVaultArray) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVaultsVault)(nil)).Elem() +func (GetVaultsVaultExternalKeyManagerMetadataSummaryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetVaultsVaultExternalKeyManagerMetadataSummary)(nil)).Elem() } -func (i GetVaultsVaultArray) ToGetVaultsVaultArrayOutput() GetVaultsVaultArrayOutput { - return i.ToGetVaultsVaultArrayOutputWithContext(context.Background()) +func (i GetVaultsVaultExternalKeyManagerMetadataSummaryArray) ToGetVaultsVaultExternalKeyManagerMetadataSummaryArrayOutput() GetVaultsVaultExternalKeyManagerMetadataSummaryArrayOutput { + return i.ToGetVaultsVaultExternalKeyManagerMetadataSummaryArrayOutputWithContext(context.Background()) } -func (i GetVaultsVaultArray) ToGetVaultsVaultArrayOutputWithContext(ctx context.Context) GetVaultsVaultArrayOutput { - return pulumi.ToOutputWithContext(ctx, i).(GetVaultsVaultArrayOutput) +func (i GetVaultsVaultExternalKeyManagerMetadataSummaryArray) ToGetVaultsVaultExternalKeyManagerMetadataSummaryArrayOutputWithContext(ctx context.Context) GetVaultsVaultExternalKeyManagerMetadataSummaryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetVaultsVaultExternalKeyManagerMetadataSummaryArrayOutput) } -func (i GetVaultsVaultArray) ToOutput(ctx context.Context) pulumix.Output[[]GetVaultsVault] { - return pulumix.Output[[]GetVaultsVault]{ - OutputState: i.ToGetVaultsVaultArrayOutputWithContext(ctx).OutputState, +func (i GetVaultsVaultExternalKeyManagerMetadataSummaryArray) ToOutput(ctx context.Context) pulumix.Output[[]GetVaultsVaultExternalKeyManagerMetadataSummary] { + return pulumix.Output[[]GetVaultsVaultExternalKeyManagerMetadataSummary]{ + OutputState: i.ToGetVaultsVaultExternalKeyManagerMetadataSummaryArrayOutputWithContext(ctx).OutputState, } } -type GetVaultsVaultOutput struct{ *pulumi.OutputState } +type GetVaultsVaultExternalKeyManagerMetadataSummaryOutput struct{ *pulumi.OutputState } -func (GetVaultsVaultOutput) ElementType() reflect.Type { - return reflect.TypeOf((*GetVaultsVault)(nil)).Elem() +func (GetVaultsVaultExternalKeyManagerMetadataSummaryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetVaultsVaultExternalKeyManagerMetadataSummary)(nil)).Elem() } -func (o GetVaultsVaultOutput) ToGetVaultsVaultOutput() GetVaultsVaultOutput { +func (o GetVaultsVaultExternalKeyManagerMetadataSummaryOutput) ToGetVaultsVaultExternalKeyManagerMetadataSummaryOutput() GetVaultsVaultExternalKeyManagerMetadataSummaryOutput { return o } -func (o GetVaultsVaultOutput) ToGetVaultsVaultOutputWithContext(ctx context.Context) GetVaultsVaultOutput { +func (o GetVaultsVaultExternalKeyManagerMetadataSummaryOutput) ToGetVaultsVaultExternalKeyManagerMetadataSummaryOutputWithContext(ctx context.Context) GetVaultsVaultExternalKeyManagerMetadataSummaryOutput { return o } -func (o GetVaultsVaultOutput) ToOutput(ctx context.Context) pulumix.Output[GetVaultsVault] { - return pulumix.Output[GetVaultsVault]{ +func (o GetVaultsVaultExternalKeyManagerMetadataSummaryOutput) ToOutput(ctx context.Context) pulumix.Output[GetVaultsVaultExternalKeyManagerMetadataSummary] { + return pulumix.Output[GetVaultsVaultExternalKeyManagerMetadataSummary]{ OutputState: o.OutputState, } } -// The OCID of the compartment. -func (o GetVaultsVaultOutput) CompartmentId() pulumi.StringOutput { - return o.ApplyT(func(v GetVaultsVault) string { return v.CompartmentId }).(pulumi.StringOutput) +// URL of the vault on external key manager. +func (o GetVaultsVaultExternalKeyManagerMetadataSummaryOutput) ExternalVaultEndpointUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetVaultsVaultExternalKeyManagerMetadataSummary) string { return v.ExternalVaultEndpointUrl }).(pulumi.StringOutput) } -// The service endpoint to perform cryptographic operations against. Cryptographic operations include [Encrypt](https://docs.cloud.oracle.com/iaas/api/#/en/key/latest/EncryptedData/Encrypt), [Decrypt](https://docs.cloud.oracle.com/iaas/api/#/en/key/latest/DecryptedData/Decrypt), and [GenerateDataEncryptionKey](https://docs.cloud.oracle.com/iaas/api/#/en/key/latest/GeneratedKey/GenerateDataEncryptionKey) operations. -func (o GetVaultsVaultOutput) CryptoEndpoint() pulumi.StringOutput { - return o.ApplyT(func(v GetVaultsVault) string { return v.CryptoEndpoint }).(pulumi.StringOutput) +// Summary about authorization to be returned to the customer as a response. +func (o GetVaultsVaultExternalKeyManagerMetadataSummaryOutput) OauthMetadataSummaries() GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutput { + return o.ApplyT(func(v GetVaultsVaultExternalKeyManagerMetadataSummary) []GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary { + return v.OauthMetadataSummaries + }).(GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutput) } -// Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` -func (o GetVaultsVaultOutput) DefinedTags() pulumi.MapOutput { - return o.ApplyT(func(v GetVaultsVault) map[string]interface{} { return v.DefinedTags }).(pulumi.MapOutput) +// OCID of the private endpoint. +func (o GetVaultsVaultExternalKeyManagerMetadataSummaryOutput) PrivateEndpointId() pulumi.StringOutput { + return o.ApplyT(func(v GetVaultsVaultExternalKeyManagerMetadataSummary) string { return v.PrivateEndpointId }).(pulumi.StringOutput) } -// A user-friendly name for the vault. It does not have to be unique, and it is changeable. Avoid entering confidential information. -func (o GetVaultsVaultOutput) DisplayName() pulumi.StringOutput { - return o.ApplyT(func(v GetVaultsVault) string { return v.DisplayName }).(pulumi.StringOutput) +// Vendor of the external key manager. +func (o GetVaultsVaultExternalKeyManagerMetadataSummaryOutput) Vendor() pulumi.StringOutput { + return o.ApplyT(func(v GetVaultsVaultExternalKeyManagerMetadataSummary) string { return v.Vendor }).(pulumi.StringOutput) } -// 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` -func (o GetVaultsVaultOutput) FreeformTags() pulumi.MapOutput { - return o.ApplyT(func(v GetVaultsVault) map[string]interface{} { return v.FreeformTags }).(pulumi.MapOutput) +type GetVaultsVaultExternalKeyManagerMetadataSummaryArrayOutput struct{ *pulumi.OutputState } + +func (GetVaultsVaultExternalKeyManagerMetadataSummaryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetVaultsVaultExternalKeyManagerMetadataSummary)(nil)).Elem() } -// The OCID of the vault. -func (o GetVaultsVaultOutput) Id() pulumi.StringOutput { - return o.ApplyT(func(v GetVaultsVault) string { return v.Id }).(pulumi.StringOutput) +func (o GetVaultsVaultExternalKeyManagerMetadataSummaryArrayOutput) ToGetVaultsVaultExternalKeyManagerMetadataSummaryArrayOutput() GetVaultsVaultExternalKeyManagerMetadataSummaryArrayOutput { + return o } -// A boolean that will be true when vault is primary, and will be false when vault is a replica from a primary vault. -func (o GetVaultsVaultOutput) IsPrimary() pulumi.BoolOutput { - return o.ApplyT(func(v GetVaultsVault) bool { return v.IsPrimary }).(pulumi.BoolOutput) +func (o GetVaultsVaultExternalKeyManagerMetadataSummaryArrayOutput) ToGetVaultsVaultExternalKeyManagerMetadataSummaryArrayOutputWithContext(ctx context.Context) GetVaultsVaultExternalKeyManagerMetadataSummaryArrayOutput { + return o } -// The service endpoint to perform management operations against. Management operations include "Create," "Update," "List," "Get," and "Delete" operations. -func (o GetVaultsVaultOutput) ManagementEndpoint() pulumi.StringOutput { - return o.ApplyT(func(v GetVaultsVault) string { return v.ManagementEndpoint }).(pulumi.StringOutput) +func (o GetVaultsVaultExternalKeyManagerMetadataSummaryArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetVaultsVaultExternalKeyManagerMetadataSummary] { + return pulumix.Output[[]GetVaultsVaultExternalKeyManagerMetadataSummary]{ + OutputState: o.OutputState, + } } -// Vault replica details -func (o GetVaultsVaultOutput) ReplicaDetails() GetVaultsVaultReplicaDetailArrayOutput { - return o.ApplyT(func(v GetVaultsVault) []GetVaultsVaultReplicaDetail { return v.ReplicaDetails }).(GetVaultsVaultReplicaDetailArrayOutput) +func (o GetVaultsVaultExternalKeyManagerMetadataSummaryArrayOutput) Index(i pulumi.IntInput) GetVaultsVaultExternalKeyManagerMetadataSummaryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVaultsVaultExternalKeyManagerMetadataSummary { + return vs[0].([]GetVaultsVaultExternalKeyManagerMetadataSummary)[vs[1].(int)] + }).(GetVaultsVaultExternalKeyManagerMetadataSummaryOutput) } -func (o GetVaultsVaultOutput) RestoreFromFiles() GetVaultsVaultRestoreFromFileArrayOutput { - return o.ApplyT(func(v GetVaultsVault) []GetVaultsVaultRestoreFromFile { return v.RestoreFromFiles }).(GetVaultsVaultRestoreFromFileArrayOutput) +type GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary struct { + // ID of the client app created in IDP. + ClientAppId string `pulumi:"clientAppId"` + // Base URL of the IDCS account where confidential client app is created. + IdcsAccountNameUrl string `pulumi:"idcsAccountNameUrl"` } -func (o GetVaultsVaultOutput) RestoreFromObjectStores() GetVaultsVaultRestoreFromObjectStoreArrayOutput { - return o.ApplyT(func(v GetVaultsVault) []GetVaultsVaultRestoreFromObjectStore { return v.RestoreFromObjectStores }).(GetVaultsVaultRestoreFromObjectStoreArrayOutput) +// GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryInput is an input type that accepts GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArgs and GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutput values. +// You can construct a concrete instance of `GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryInput` via: +// +// GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArgs{...} +type GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryInput interface { + pulumi.Input + + ToGetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutput() GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutput + ToGetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutputWithContext(context.Context) GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutput } -func (o GetVaultsVaultOutput) RestoreTrigger() pulumi.BoolOutput { - return o.ApplyT(func(v GetVaultsVault) bool { return v.RestoreTrigger }).(pulumi.BoolOutput) +type GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArgs struct { + // ID of the client app created in IDP. + ClientAppId pulumi.StringInput `pulumi:"clientAppId"` + // Base URL of the IDCS account where confidential client app is created. + IdcsAccountNameUrl pulumi.StringInput `pulumi:"idcsAccountNameUrl"` } -// The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. -func (o GetVaultsVaultOutput) RestoredFromVaultId() pulumi.StringOutput { - return o.ApplyT(func(v GetVaultsVault) string { return v.RestoredFromVaultId }).(pulumi.StringOutput) +func (GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary)(nil)).Elem() } -// The vault's current lifecycle state. Example: `DELETED` -func (o GetVaultsVaultOutput) State() pulumi.StringOutput { - return o.ApplyT(func(v GetVaultsVault) string { return v.State }).(pulumi.StringOutput) +func (i GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArgs) ToGetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutput() GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutput { + return i.ToGetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutputWithContext(context.Background()) } -// The date and time this vault was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` -func (o GetVaultsVaultOutput) TimeCreated() pulumi.StringOutput { - return o.ApplyT(func(v GetVaultsVault) string { return v.TimeCreated }).(pulumi.StringOutput) +func (i GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArgs) ToGetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutputWithContext(ctx context.Context) GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutput) } -// An optional property to indicate when to delete the vault, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` -func (o GetVaultsVaultOutput) TimeOfDeletion() pulumi.StringOutput { - return o.ApplyT(func(v GetVaultsVault) string { return v.TimeOfDeletion }).(pulumi.StringOutput) +func (i GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArgs) ToOutput(ctx context.Context) pulumix.Output[GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary] { + return pulumix.Output[GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary]{ + OutputState: i.ToGetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutputWithContext(ctx).OutputState, + } } -// The type of vault. Each type of vault stores the key with different degrees of isolation and has different options and pricing. -func (o GetVaultsVaultOutput) VaultType() pulumi.StringOutput { - return o.ApplyT(func(v GetVaultsVault) string { return v.VaultType }).(pulumi.StringOutput) +// GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayInput is an input type that accepts GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArray and GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutput values. +// You can construct a concrete instance of `GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayInput` via: +// +// GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArray{ GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArgs{...} } +type GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayInput interface { + pulumi.Input + + ToGetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutput() GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutput + ToGetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutputWithContext(context.Context) GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutput } -type GetVaultsVaultArrayOutput struct{ *pulumi.OutputState } +type GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArray []GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryInput -func (GetVaultsVaultArrayOutput) ElementType() reflect.Type { - return reflect.TypeOf((*[]GetVaultsVault)(nil)).Elem() +func (GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary)(nil)).Elem() } -func (o GetVaultsVaultArrayOutput) ToGetVaultsVaultArrayOutput() GetVaultsVaultArrayOutput { +func (i GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArray) ToGetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutput() GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutput { + return i.ToGetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutputWithContext(context.Background()) +} + +func (i GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArray) ToGetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutputWithContext(ctx context.Context) GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutput) +} + +func (i GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArray) ToOutput(ctx context.Context) pulumix.Output[[]GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary] { + return pulumix.Output[[]GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary]{ + OutputState: i.ToGetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutputWithContext(ctx).OutputState, + } +} + +type GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutput struct{ *pulumi.OutputState } + +func (GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary)(nil)).Elem() +} + +func (o GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutput) ToGetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutput() GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutput { return o } -func (o GetVaultsVaultArrayOutput) ToGetVaultsVaultArrayOutputWithContext(ctx context.Context) GetVaultsVaultArrayOutput { +func (o GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutput) ToGetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutputWithContext(ctx context.Context) GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutput { return o } -func (o GetVaultsVaultArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetVaultsVault] { - return pulumix.Output[[]GetVaultsVault]{ +func (o GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutput) ToOutput(ctx context.Context) pulumix.Output[GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary] { + return pulumix.Output[GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary]{ OutputState: o.OutputState, } } -func (o GetVaultsVaultArrayOutput) Index(i pulumi.IntInput) GetVaultsVaultOutput { - return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVaultsVault { - return vs[0].([]GetVaultsVault)[vs[1].(int)] - }).(GetVaultsVaultOutput) +// ID of the client app created in IDP. +func (o GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutput) ClientAppId() pulumi.StringOutput { + return o.ApplyT(func(v GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary) string { + return v.ClientAppId + }).(pulumi.StringOutput) +} + +// Base URL of the IDCS account where confidential client app is created. +func (o GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutput) IdcsAccountNameUrl() pulumi.StringOutput { + return o.ApplyT(func(v GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary) string { + return v.IdcsAccountNameUrl + }).(pulumi.StringOutput) +} + +type GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutput struct{ *pulumi.OutputState } + +func (GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary)(nil)).Elem() +} + +func (o GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutput) ToGetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutput() GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutput { + return o +} + +func (o GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutput) ToGetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutputWithContext(ctx context.Context) GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutput { + return o +} + +func (o GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary] { + return pulumix.Output[[]GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary]{ + OutputState: o.OutputState, + } +} + +func (o GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutput) Index(i pulumi.IntInput) GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary { + return vs[0].([]GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary)[vs[1].(int)] + }).(GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutput) } type GetVaultsVaultReplicaDetail struct { @@ -5389,6 +8790,10 @@ func (o GetVaultsVaultRestoreFromObjectStoreArrayOutput) Index(i pulumi.IntInput func init() { pulumi.RegisterInputType(reflect.TypeOf((*GeneratedKeyKeyShapeInput)(nil)).Elem(), GeneratedKeyKeyShapeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GeneratedKeyKeyShapePtrInput)(nil)).Elem(), GeneratedKeyKeyShapeArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*KeyExternalKeyReferenceInput)(nil)).Elem(), KeyExternalKeyReferenceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*KeyExternalKeyReferencePtrInput)(nil)).Elem(), KeyExternalKeyReferenceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*KeyExternalKeyReferenceDetailInput)(nil)).Elem(), KeyExternalKeyReferenceDetailArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*KeyExternalKeyReferenceDetailArrayInput)(nil)).Elem(), KeyExternalKeyReferenceDetailArray{}) pulumi.RegisterInputType(reflect.TypeOf((*KeyKeyShapeInput)(nil)).Elem(), KeyKeyShapeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*KeyKeyShapePtrInput)(nil)).Elem(), KeyKeyShapeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*KeyReplicaDetailInput)(nil)).Elem(), KeyReplicaDetailArgs{}) @@ -5397,14 +8802,32 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*KeyRestoreFromFilePtrInput)(nil)).Elem(), KeyRestoreFromFileArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*KeyRestoreFromObjectStoreInput)(nil)).Elem(), KeyRestoreFromObjectStoreArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*KeyRestoreFromObjectStorePtrInput)(nil)).Elem(), KeyRestoreFromObjectStoreArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*KeyVersionExternalKeyReferenceDetailInput)(nil)).Elem(), KeyVersionExternalKeyReferenceDetailArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*KeyVersionExternalKeyReferenceDetailArrayInput)(nil)).Elem(), KeyVersionExternalKeyReferenceDetailArray{}) pulumi.RegisterInputType(reflect.TypeOf((*KeyVersionReplicaDetailInput)(nil)).Elem(), KeyVersionReplicaDetailArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*KeyVersionReplicaDetailArrayInput)(nil)).Elem(), KeyVersionReplicaDetailArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*VaultExternalKeyManagerMetadataInput)(nil)).Elem(), VaultExternalKeyManagerMetadataArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*VaultExternalKeyManagerMetadataPtrInput)(nil)).Elem(), VaultExternalKeyManagerMetadataArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*VaultExternalKeyManagerMetadataOauthMetadataInput)(nil)).Elem(), VaultExternalKeyManagerMetadataOauthMetadataArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*VaultExternalKeyManagerMetadataOauthMetadataPtrInput)(nil)).Elem(), VaultExternalKeyManagerMetadataOauthMetadataArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*VaultExternalKeyManagerMetadataSummaryInput)(nil)).Elem(), VaultExternalKeyManagerMetadataSummaryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*VaultExternalKeyManagerMetadataSummaryArrayInput)(nil)).Elem(), VaultExternalKeyManagerMetadataSummaryArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryInput)(nil)).Elem(), VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayInput)(nil)).Elem(), VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArray{}) pulumi.RegisterInputType(reflect.TypeOf((*VaultReplicaDetailInput)(nil)).Elem(), VaultReplicaDetailArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*VaultReplicaDetailArrayInput)(nil)).Elem(), VaultReplicaDetailArray{}) pulumi.RegisterInputType(reflect.TypeOf((*VaultRestoreFromFileInput)(nil)).Elem(), VaultRestoreFromFileArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*VaultRestoreFromFilePtrInput)(nil)).Elem(), VaultRestoreFromFileArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*VaultRestoreFromObjectStoreInput)(nil)).Elem(), VaultRestoreFromObjectStoreArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*VaultRestoreFromObjectStorePtrInput)(nil)).Elem(), VaultRestoreFromObjectStoreArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetEkmsPrivateEndpointsEkmsPrivateEndpointInput)(nil)).Elem(), GetEkmsPrivateEndpointsEkmsPrivateEndpointArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetEkmsPrivateEndpointsEkmsPrivateEndpointArrayInput)(nil)).Elem(), GetEkmsPrivateEndpointsEkmsPrivateEndpointArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetEkmsPrivateEndpointsFilterInput)(nil)).Elem(), GetEkmsPrivateEndpointsFilterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetEkmsPrivateEndpointsFilterArrayInput)(nil)).Elem(), GetEkmsPrivateEndpointsFilterArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetKeyExternalKeyReferenceInput)(nil)).Elem(), GetKeyExternalKeyReferenceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetKeyExternalKeyReferenceArrayInput)(nil)).Elem(), GetKeyExternalKeyReferenceArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetKeyExternalKeyReferenceDetailInput)(nil)).Elem(), GetKeyExternalKeyReferenceDetailArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetKeyExternalKeyReferenceDetailArrayInput)(nil)).Elem(), GetKeyExternalKeyReferenceDetailArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetKeyKeyShapeInput)(nil)).Elem(), GetKeyKeyShapeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetKeyKeyShapeArrayInput)(nil)).Elem(), GetKeyKeyShapeArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetKeyReplicaDetailInput)(nil)).Elem(), GetKeyReplicaDetailArgs{}) @@ -5413,18 +8836,26 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetKeyRestoreFromFileArrayInput)(nil)).Elem(), GetKeyRestoreFromFileArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetKeyRestoreFromObjectStoreInput)(nil)).Elem(), GetKeyRestoreFromObjectStoreArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetKeyRestoreFromObjectStoreArrayInput)(nil)).Elem(), GetKeyRestoreFromObjectStoreArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetKeyVersionExternalKeyReferenceDetailInput)(nil)).Elem(), GetKeyVersionExternalKeyReferenceDetailArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetKeyVersionExternalKeyReferenceDetailArrayInput)(nil)).Elem(), GetKeyVersionExternalKeyReferenceDetailArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetKeyVersionReplicaDetailInput)(nil)).Elem(), GetKeyVersionReplicaDetailArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetKeyVersionReplicaDetailArrayInput)(nil)).Elem(), GetKeyVersionReplicaDetailArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetKeyVersionsFilterInput)(nil)).Elem(), GetKeyVersionsFilterArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetKeyVersionsFilterArrayInput)(nil)).Elem(), GetKeyVersionsFilterArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetKeyVersionsKeyVersionInput)(nil)).Elem(), GetKeyVersionsKeyVersionArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetKeyVersionsKeyVersionArrayInput)(nil)).Elem(), GetKeyVersionsKeyVersionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetKeyVersionsKeyVersionExternalKeyReferenceDetailInput)(nil)).Elem(), GetKeyVersionsKeyVersionExternalKeyReferenceDetailArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetKeyVersionsKeyVersionExternalKeyReferenceDetailArrayInput)(nil)).Elem(), GetKeyVersionsKeyVersionExternalKeyReferenceDetailArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetKeyVersionsKeyVersionReplicaDetailInput)(nil)).Elem(), GetKeyVersionsKeyVersionReplicaDetailArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetKeyVersionsKeyVersionReplicaDetailArrayInput)(nil)).Elem(), GetKeyVersionsKeyVersionReplicaDetailArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetKeysFilterInput)(nil)).Elem(), GetKeysFilterArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetKeysFilterArrayInput)(nil)).Elem(), GetKeysFilterArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetKeysKeyInput)(nil)).Elem(), GetKeysKeyArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetKeysKeyArrayInput)(nil)).Elem(), GetKeysKeyArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetKeysKeyExternalKeyReferenceInput)(nil)).Elem(), GetKeysKeyExternalKeyReferenceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetKeysKeyExternalKeyReferenceArrayInput)(nil)).Elem(), GetKeysKeyExternalKeyReferenceArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetKeysKeyExternalKeyReferenceDetailInput)(nil)).Elem(), GetKeysKeyExternalKeyReferenceDetailArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetKeysKeyExternalKeyReferenceDetailArrayInput)(nil)).Elem(), GetKeysKeyExternalKeyReferenceDetailArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetKeysKeyKeyShapeInput)(nil)).Elem(), GetKeysKeyKeyShapeArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetKeysKeyKeyShapeArrayInput)(nil)).Elem(), GetKeysKeyKeyShapeArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetKeysKeyReplicaDetailInput)(nil)).Elem(), GetKeysKeyReplicaDetailArgs{}) @@ -5435,6 +8866,14 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetKeysKeyRestoreFromObjectStoreArrayInput)(nil)).Elem(), GetKeysKeyRestoreFromObjectStoreArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetReplicationStatusReplicaDetailInput)(nil)).Elem(), GetReplicationStatusReplicaDetailArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetReplicationStatusReplicaDetailArrayInput)(nil)).Elem(), GetReplicationStatusReplicaDetailArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetVaultExternalKeyManagerMetadataInput)(nil)).Elem(), GetVaultExternalKeyManagerMetadataArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetVaultExternalKeyManagerMetadataArrayInput)(nil)).Elem(), GetVaultExternalKeyManagerMetadataArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetVaultExternalKeyManagerMetadataOauthMetadataInput)(nil)).Elem(), GetVaultExternalKeyManagerMetadataOauthMetadataArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetVaultExternalKeyManagerMetadataOauthMetadataArrayInput)(nil)).Elem(), GetVaultExternalKeyManagerMetadataOauthMetadataArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetVaultExternalKeyManagerMetadataSummaryInput)(nil)).Elem(), GetVaultExternalKeyManagerMetadataSummaryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetVaultExternalKeyManagerMetadataSummaryArrayInput)(nil)).Elem(), GetVaultExternalKeyManagerMetadataSummaryArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryInput)(nil)).Elem(), GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayInput)(nil)).Elem(), GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetVaultReplicaDetailInput)(nil)).Elem(), GetVaultReplicaDetailArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetVaultReplicaDetailArrayInput)(nil)).Elem(), GetVaultReplicaDetailArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetVaultReplicasFilterInput)(nil)).Elem(), GetVaultReplicasFilterArgs{}) @@ -5449,6 +8888,14 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetVaultsFilterArrayInput)(nil)).Elem(), GetVaultsFilterArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetVaultsVaultInput)(nil)).Elem(), GetVaultsVaultArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetVaultsVaultArrayInput)(nil)).Elem(), GetVaultsVaultArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetVaultsVaultExternalKeyManagerMetadataInput)(nil)).Elem(), GetVaultsVaultExternalKeyManagerMetadataArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetVaultsVaultExternalKeyManagerMetadataArrayInput)(nil)).Elem(), GetVaultsVaultExternalKeyManagerMetadataArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetVaultsVaultExternalKeyManagerMetadataOauthMetadataInput)(nil)).Elem(), GetVaultsVaultExternalKeyManagerMetadataOauthMetadataArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetVaultsVaultExternalKeyManagerMetadataOauthMetadataArrayInput)(nil)).Elem(), GetVaultsVaultExternalKeyManagerMetadataOauthMetadataArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetVaultsVaultExternalKeyManagerMetadataSummaryInput)(nil)).Elem(), GetVaultsVaultExternalKeyManagerMetadataSummaryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetVaultsVaultExternalKeyManagerMetadataSummaryArrayInput)(nil)).Elem(), GetVaultsVaultExternalKeyManagerMetadataSummaryArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryInput)(nil)).Elem(), GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayInput)(nil)).Elem(), GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetVaultsVaultReplicaDetailInput)(nil)).Elem(), GetVaultsVaultReplicaDetailArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetVaultsVaultReplicaDetailArrayInput)(nil)).Elem(), GetVaultsVaultReplicaDetailArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetVaultsVaultRestoreFromFileInput)(nil)).Elem(), GetVaultsVaultRestoreFromFileArgs{}) @@ -5457,6 +8904,10 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetVaultsVaultRestoreFromObjectStoreArrayInput)(nil)).Elem(), GetVaultsVaultRestoreFromObjectStoreArray{}) pulumi.RegisterOutputType(GeneratedKeyKeyShapeOutput{}) pulumi.RegisterOutputType(GeneratedKeyKeyShapePtrOutput{}) + pulumi.RegisterOutputType(KeyExternalKeyReferenceOutput{}) + pulumi.RegisterOutputType(KeyExternalKeyReferencePtrOutput{}) + pulumi.RegisterOutputType(KeyExternalKeyReferenceDetailOutput{}) + pulumi.RegisterOutputType(KeyExternalKeyReferenceDetailArrayOutput{}) pulumi.RegisterOutputType(KeyKeyShapeOutput{}) pulumi.RegisterOutputType(KeyKeyShapePtrOutput{}) pulumi.RegisterOutputType(KeyReplicaDetailOutput{}) @@ -5465,14 +8916,32 @@ func init() { pulumi.RegisterOutputType(KeyRestoreFromFilePtrOutput{}) pulumi.RegisterOutputType(KeyRestoreFromObjectStoreOutput{}) pulumi.RegisterOutputType(KeyRestoreFromObjectStorePtrOutput{}) + pulumi.RegisterOutputType(KeyVersionExternalKeyReferenceDetailOutput{}) + pulumi.RegisterOutputType(KeyVersionExternalKeyReferenceDetailArrayOutput{}) pulumi.RegisterOutputType(KeyVersionReplicaDetailOutput{}) pulumi.RegisterOutputType(KeyVersionReplicaDetailArrayOutput{}) + pulumi.RegisterOutputType(VaultExternalKeyManagerMetadataOutput{}) + pulumi.RegisterOutputType(VaultExternalKeyManagerMetadataPtrOutput{}) + pulumi.RegisterOutputType(VaultExternalKeyManagerMetadataOauthMetadataOutput{}) + pulumi.RegisterOutputType(VaultExternalKeyManagerMetadataOauthMetadataPtrOutput{}) + pulumi.RegisterOutputType(VaultExternalKeyManagerMetadataSummaryOutput{}) + pulumi.RegisterOutputType(VaultExternalKeyManagerMetadataSummaryArrayOutput{}) + pulumi.RegisterOutputType(VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutput{}) + pulumi.RegisterOutputType(VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutput{}) pulumi.RegisterOutputType(VaultReplicaDetailOutput{}) pulumi.RegisterOutputType(VaultReplicaDetailArrayOutput{}) pulumi.RegisterOutputType(VaultRestoreFromFileOutput{}) pulumi.RegisterOutputType(VaultRestoreFromFilePtrOutput{}) pulumi.RegisterOutputType(VaultRestoreFromObjectStoreOutput{}) pulumi.RegisterOutputType(VaultRestoreFromObjectStorePtrOutput{}) + pulumi.RegisterOutputType(GetEkmsPrivateEndpointsEkmsPrivateEndpointOutput{}) + pulumi.RegisterOutputType(GetEkmsPrivateEndpointsEkmsPrivateEndpointArrayOutput{}) + pulumi.RegisterOutputType(GetEkmsPrivateEndpointsFilterOutput{}) + pulumi.RegisterOutputType(GetEkmsPrivateEndpointsFilterArrayOutput{}) + pulumi.RegisterOutputType(GetKeyExternalKeyReferenceOutput{}) + pulumi.RegisterOutputType(GetKeyExternalKeyReferenceArrayOutput{}) + pulumi.RegisterOutputType(GetKeyExternalKeyReferenceDetailOutput{}) + pulumi.RegisterOutputType(GetKeyExternalKeyReferenceDetailArrayOutput{}) pulumi.RegisterOutputType(GetKeyKeyShapeOutput{}) pulumi.RegisterOutputType(GetKeyKeyShapeArrayOutput{}) pulumi.RegisterOutputType(GetKeyReplicaDetailOutput{}) @@ -5481,18 +8950,26 @@ func init() { pulumi.RegisterOutputType(GetKeyRestoreFromFileArrayOutput{}) pulumi.RegisterOutputType(GetKeyRestoreFromObjectStoreOutput{}) pulumi.RegisterOutputType(GetKeyRestoreFromObjectStoreArrayOutput{}) + pulumi.RegisterOutputType(GetKeyVersionExternalKeyReferenceDetailOutput{}) + pulumi.RegisterOutputType(GetKeyVersionExternalKeyReferenceDetailArrayOutput{}) pulumi.RegisterOutputType(GetKeyVersionReplicaDetailOutput{}) pulumi.RegisterOutputType(GetKeyVersionReplicaDetailArrayOutput{}) pulumi.RegisterOutputType(GetKeyVersionsFilterOutput{}) pulumi.RegisterOutputType(GetKeyVersionsFilterArrayOutput{}) pulumi.RegisterOutputType(GetKeyVersionsKeyVersionOutput{}) pulumi.RegisterOutputType(GetKeyVersionsKeyVersionArrayOutput{}) + pulumi.RegisterOutputType(GetKeyVersionsKeyVersionExternalKeyReferenceDetailOutput{}) + pulumi.RegisterOutputType(GetKeyVersionsKeyVersionExternalKeyReferenceDetailArrayOutput{}) pulumi.RegisterOutputType(GetKeyVersionsKeyVersionReplicaDetailOutput{}) pulumi.RegisterOutputType(GetKeyVersionsKeyVersionReplicaDetailArrayOutput{}) pulumi.RegisterOutputType(GetKeysFilterOutput{}) pulumi.RegisterOutputType(GetKeysFilterArrayOutput{}) pulumi.RegisterOutputType(GetKeysKeyOutput{}) pulumi.RegisterOutputType(GetKeysKeyArrayOutput{}) + pulumi.RegisterOutputType(GetKeysKeyExternalKeyReferenceOutput{}) + pulumi.RegisterOutputType(GetKeysKeyExternalKeyReferenceArrayOutput{}) + pulumi.RegisterOutputType(GetKeysKeyExternalKeyReferenceDetailOutput{}) + pulumi.RegisterOutputType(GetKeysKeyExternalKeyReferenceDetailArrayOutput{}) pulumi.RegisterOutputType(GetKeysKeyKeyShapeOutput{}) pulumi.RegisterOutputType(GetKeysKeyKeyShapeArrayOutput{}) pulumi.RegisterOutputType(GetKeysKeyReplicaDetailOutput{}) @@ -5503,6 +8980,14 @@ func init() { pulumi.RegisterOutputType(GetKeysKeyRestoreFromObjectStoreArrayOutput{}) pulumi.RegisterOutputType(GetReplicationStatusReplicaDetailOutput{}) pulumi.RegisterOutputType(GetReplicationStatusReplicaDetailArrayOutput{}) + pulumi.RegisterOutputType(GetVaultExternalKeyManagerMetadataOutput{}) + pulumi.RegisterOutputType(GetVaultExternalKeyManagerMetadataArrayOutput{}) + pulumi.RegisterOutputType(GetVaultExternalKeyManagerMetadataOauthMetadataOutput{}) + pulumi.RegisterOutputType(GetVaultExternalKeyManagerMetadataOauthMetadataArrayOutput{}) + pulumi.RegisterOutputType(GetVaultExternalKeyManagerMetadataSummaryOutput{}) + pulumi.RegisterOutputType(GetVaultExternalKeyManagerMetadataSummaryArrayOutput{}) + pulumi.RegisterOutputType(GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutput{}) + pulumi.RegisterOutputType(GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutput{}) pulumi.RegisterOutputType(GetVaultReplicaDetailOutput{}) pulumi.RegisterOutputType(GetVaultReplicaDetailArrayOutput{}) pulumi.RegisterOutputType(GetVaultReplicasFilterOutput{}) @@ -5517,6 +9002,14 @@ func init() { pulumi.RegisterOutputType(GetVaultsFilterArrayOutput{}) pulumi.RegisterOutputType(GetVaultsVaultOutput{}) pulumi.RegisterOutputType(GetVaultsVaultArrayOutput{}) + pulumi.RegisterOutputType(GetVaultsVaultExternalKeyManagerMetadataOutput{}) + pulumi.RegisterOutputType(GetVaultsVaultExternalKeyManagerMetadataArrayOutput{}) + pulumi.RegisterOutputType(GetVaultsVaultExternalKeyManagerMetadataOauthMetadataOutput{}) + pulumi.RegisterOutputType(GetVaultsVaultExternalKeyManagerMetadataOauthMetadataArrayOutput{}) + pulumi.RegisterOutputType(GetVaultsVaultExternalKeyManagerMetadataSummaryOutput{}) + pulumi.RegisterOutputType(GetVaultsVaultExternalKeyManagerMetadataSummaryArrayOutput{}) + pulumi.RegisterOutputType(GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryOutput{}) + pulumi.RegisterOutputType(GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArrayOutput{}) pulumi.RegisterOutputType(GetVaultsVaultReplicaDetailOutput{}) pulumi.RegisterOutputType(GetVaultsVaultReplicaDetailArrayOutput{}) pulumi.RegisterOutputType(GetVaultsVaultRestoreFromFileOutput{}) diff --git a/sdk/go/oci/kms/sign.go b/sdk/go/oci/kms/sign.go index 8ad115fc79..01d9d14723 100644 --- a/sdk/go/oci/kms/sign.go +++ b/sdk/go/oci/kms/sign.go @@ -18,6 +18,7 @@ import ( // Creates a digital signature for a message or message digest by using the private key of a public-private key pair, // also known as an asymmetric key. To verify the generated signature, you can use the [Verify](https://docs.cloud.oracle.com/iaas/api/#/en/key/latest/VerifiedData/Verify) // operation. Or, if you want to validate the signature outside of the service, you can do so by using the public key of the same asymmetric key. +// This operation is not supported for keys having protection mode `EXTERNAL`. // // ## Example Usage // @@ -70,11 +71,11 @@ type Sign struct { KeyVersionId pulumi.StringOutput `pulumi:"keyVersionId"` // The base64-encoded binary data object denoting the message or message digest to sign. You can have a message up to 4096 bytes in size. To sign a larger message, provide the message digest. Message pulumi.StringOutput `pulumi:"message"` - // Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. + // Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. MessageType pulumi.StringOutput `pulumi:"messageType"` // The base64-encoded binary data object denoting the cryptographic signature generated for the message or message digest. Signature pulumi.StringOutput `pulumi:"signature"` - // The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. + // The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. // // ** 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 @@ -131,11 +132,11 @@ type signState struct { KeyVersionId *string `pulumi:"keyVersionId"` // The base64-encoded binary data object denoting the message or message digest to sign. You can have a message up to 4096 bytes in size. To sign a larger message, provide the message digest. Message *string `pulumi:"message"` - // Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. + // Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. MessageType *string `pulumi:"messageType"` // The base64-encoded binary data object denoting the cryptographic signature generated for the message or message digest. Signature *string `pulumi:"signature"` - // The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. + // The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. // // ** 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 @@ -151,11 +152,11 @@ type SignState struct { KeyVersionId pulumi.StringPtrInput // The base64-encoded binary data object denoting the message or message digest to sign. You can have a message up to 4096 bytes in size. To sign a larger message, provide the message digest. Message pulumi.StringPtrInput - // Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. + // Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. MessageType pulumi.StringPtrInput // The base64-encoded binary data object denoting the cryptographic signature generated for the message or message digest. Signature pulumi.StringPtrInput - // The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. + // The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. // // ** 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 @@ -175,9 +176,9 @@ type signArgs struct { KeyVersionId *string `pulumi:"keyVersionId"` // The base64-encoded binary data object denoting the message or message digest to sign. You can have a message up to 4096 bytes in size. To sign a larger message, provide the message digest. Message string `pulumi:"message"` - // Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. + // Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. MessageType *string `pulumi:"messageType"` - // The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. + // The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. // // ** 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 @@ -194,9 +195,9 @@ type SignArgs struct { KeyVersionId pulumi.StringPtrInput // The base64-encoded binary data object denoting the message or message digest to sign. You can have a message up to 4096 bytes in size. To sign a larger message, provide the message digest. Message pulumi.StringInput - // Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. + // Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. MessageType pulumi.StringPtrInput - // The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. + // The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. // // ** 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 @@ -334,7 +335,7 @@ func (o SignOutput) Message() pulumi.StringOutput { return o.ApplyT(func(v *Sign) pulumi.StringOutput { return v.Message }).(pulumi.StringOutput) } -// Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. +// Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. func (o SignOutput) MessageType() pulumi.StringOutput { return o.ApplyT(func(v *Sign) pulumi.StringOutput { return v.MessageType }).(pulumi.StringOutput) } @@ -344,7 +345,7 @@ func (o SignOutput) Signature() pulumi.StringOutput { return o.ApplyT(func(v *Sign) pulumi.StringOutput { return v.Signature }).(pulumi.StringOutput) } -// The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. +// The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. // // ** 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 diff --git a/sdk/go/oci/kms/vault.go b/sdk/go/oci/kms/vault.go index e303dbf7a7..9d2b0e073c 100644 --- a/sdk/go/oci/kms/vault.go +++ b/sdk/go/oci/kms/vault.go @@ -46,6 +46,15 @@ import ( // DefinedTags: pulumi.AnyMap{ // "Operations.CostCenter": pulumi.Any("42"), // }, +// ExternalKeyManagerMetadata: &kms.VaultExternalKeyManagerMetadataArgs{ +// ExternalVaultEndpointUrl: pulumi.Any(_var.Vault_external_key_manager_metadata_external_vault_endpoint_url), +// OauthMetadata: &kms.VaultExternalKeyManagerMetadataOauthMetadataArgs{ +// ClientAppId: pulumi.Any(oci_kms_client_app.Test_client_app.Id), +// ClientAppSecret: pulumi.Any(_var.Vault_external_key_manager_metadata_oauth_metadata_client_app_secret), +// IdcsAccountNameUrl: pulumi.Any(_var.Vault_external_key_manager_metadata_oauth_metadata_idcs_account_name_url), +// }, +// PrivateEndpointId: pulumi.Any(oci_dataflow_private_endpoint.Test_private_endpoint.Id), +// }, // FreeformTags: pulumi.AnyMap{ // "Department": pulumi.Any("Finance"), // }, @@ -79,9 +88,13 @@ type Vault struct { DefinedTags pulumi.MapOutput `pulumi:"definedTags"` // (Updatable) A user-friendly name for the vault. It does not have to be unique, and it is changeable. Avoid entering confidential information. DisplayName pulumi.StringOutput `pulumi:"displayName"` + // Metadata required for accessing External Key manager + ExternalKeyManagerMetadata VaultExternalKeyManagerMetadataOutput `pulumi:"externalKeyManagerMetadata"` + // Summary about metadata of external key manager to be returned to the customer as a response. + ExternalKeyManagerMetadataSummaries VaultExternalKeyManagerMetadataSummaryArrayOutput `pulumi:"externalKeyManagerMetadataSummaries"` // (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` FreeformTags pulumi.MapOutput `pulumi:"freeformTags"` - // A boolean that will be true when vault is primary, and will be false when vault is a replica from a primary vault. + // A Boolean value that indicates whether the Vault is primary Vault or replica Vault. IsPrimary pulumi.BoolOutput `pulumi:"isPrimary"` // The service endpoint to perform management operations against. Management operations include "Create," "Update," "List," "Get," and "Delete" operations. ManagementEndpoint pulumi.StringOutput `pulumi:"managementEndpoint"` @@ -92,7 +105,7 @@ type Vault struct { // (Updatable) Details where vault was backed up RestoreFromObjectStore VaultRestoreFromObjectStorePtrOutput `pulumi:"restoreFromObjectStore"` RestoreTrigger pulumi.BoolPtrOutput `pulumi:"restoreTrigger"` - // The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. + // The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. RestoredFromVaultId pulumi.StringOutput `pulumi:"restoredFromVaultId"` // The vault's current lifecycle state. Example: `DELETED` State pulumi.StringOutput `pulumi:"state"` @@ -154,9 +167,13 @@ type vaultState struct { DefinedTags map[string]interface{} `pulumi:"definedTags"` // (Updatable) A user-friendly name for the vault. It does not have to be unique, and it is changeable. Avoid entering confidential information. DisplayName *string `pulumi:"displayName"` + // Metadata required for accessing External Key manager + ExternalKeyManagerMetadata *VaultExternalKeyManagerMetadata `pulumi:"externalKeyManagerMetadata"` + // Summary about metadata of external key manager to be returned to the customer as a response. + ExternalKeyManagerMetadataSummaries []VaultExternalKeyManagerMetadataSummary `pulumi:"externalKeyManagerMetadataSummaries"` // (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` FreeformTags map[string]interface{} `pulumi:"freeformTags"` - // A boolean that will be true when vault is primary, and will be false when vault is a replica from a primary vault. + // A Boolean value that indicates whether the Vault is primary Vault or replica Vault. IsPrimary *bool `pulumi:"isPrimary"` // The service endpoint to perform management operations against. Management operations include "Create," "Update," "List," "Get," and "Delete" operations. ManagementEndpoint *string `pulumi:"managementEndpoint"` @@ -167,7 +184,7 @@ type vaultState struct { // (Updatable) Details where vault was backed up RestoreFromObjectStore *VaultRestoreFromObjectStore `pulumi:"restoreFromObjectStore"` RestoreTrigger *bool `pulumi:"restoreTrigger"` - // The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. + // The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. RestoredFromVaultId *string `pulumi:"restoredFromVaultId"` // The vault's current lifecycle state. Example: `DELETED` State *string `pulumi:"state"` @@ -191,9 +208,13 @@ type VaultState struct { DefinedTags pulumi.MapInput // (Updatable) A user-friendly name for the vault. It does not have to be unique, and it is changeable. Avoid entering confidential information. DisplayName pulumi.StringPtrInput + // Metadata required for accessing External Key manager + ExternalKeyManagerMetadata VaultExternalKeyManagerMetadataPtrInput + // Summary about metadata of external key manager to be returned to the customer as a response. + ExternalKeyManagerMetadataSummaries VaultExternalKeyManagerMetadataSummaryArrayInput // (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` FreeformTags pulumi.MapInput - // A boolean that will be true when vault is primary, and will be false when vault is a replica from a primary vault. + // A Boolean value that indicates whether the Vault is primary Vault or replica Vault. IsPrimary pulumi.BoolPtrInput // The service endpoint to perform management operations against. Management operations include "Create," "Update," "List," "Get," and "Delete" operations. ManagementEndpoint pulumi.StringPtrInput @@ -204,7 +225,7 @@ type VaultState struct { // (Updatable) Details where vault was backed up RestoreFromObjectStore VaultRestoreFromObjectStorePtrInput RestoreTrigger pulumi.BoolPtrInput - // The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. + // The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. RestoredFromVaultId pulumi.StringPtrInput // The vault's current lifecycle state. Example: `DELETED` State pulumi.StringPtrInput @@ -230,6 +251,8 @@ type vaultArgs struct { DefinedTags map[string]interface{} `pulumi:"definedTags"` // (Updatable) A user-friendly name for the vault. It does not have to be unique, and it is changeable. Avoid entering confidential information. DisplayName string `pulumi:"displayName"` + // Metadata required for accessing External Key manager + ExternalKeyManagerMetadata *VaultExternalKeyManagerMetadata `pulumi:"externalKeyManagerMetadata"` // (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` FreeformTags map[string]interface{} `pulumi:"freeformTags"` // (Updatable) Details where vault was backed up. @@ -254,6 +277,8 @@ type VaultArgs struct { DefinedTags pulumi.MapInput // (Updatable) A user-friendly name for the vault. It does not have to be unique, and it is changeable. Avoid entering confidential information. DisplayName pulumi.StringInput + // Metadata required for accessing External Key manager + ExternalKeyManagerMetadata VaultExternalKeyManagerMetadataPtrInput // (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` FreeformTags pulumi.MapInput // (Updatable) Details where vault was backed up. @@ -401,12 +426,24 @@ func (o VaultOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v *Vault) pulumi.StringOutput { return v.DisplayName }).(pulumi.StringOutput) } +// Metadata required for accessing External Key manager +func (o VaultOutput) ExternalKeyManagerMetadata() VaultExternalKeyManagerMetadataOutput { + return o.ApplyT(func(v *Vault) VaultExternalKeyManagerMetadataOutput { return v.ExternalKeyManagerMetadata }).(VaultExternalKeyManagerMetadataOutput) +} + +// Summary about metadata of external key manager to be returned to the customer as a response. +func (o VaultOutput) ExternalKeyManagerMetadataSummaries() VaultExternalKeyManagerMetadataSummaryArrayOutput { + return o.ApplyT(func(v *Vault) VaultExternalKeyManagerMetadataSummaryArrayOutput { + return v.ExternalKeyManagerMetadataSummaries + }).(VaultExternalKeyManagerMetadataSummaryArrayOutput) +} + // (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` func (o VaultOutput) FreeformTags() pulumi.MapOutput { return o.ApplyT(func(v *Vault) pulumi.MapOutput { return v.FreeformTags }).(pulumi.MapOutput) } -// A boolean that will be true when vault is primary, and will be false when vault is a replica from a primary vault. +// A Boolean value that indicates whether the Vault is primary Vault or replica Vault. func (o VaultOutput) IsPrimary() pulumi.BoolOutput { return o.ApplyT(func(v *Vault) pulumi.BoolOutput { return v.IsPrimary }).(pulumi.BoolOutput) } @@ -435,7 +472,7 @@ func (o VaultOutput) RestoreTrigger() pulumi.BoolPtrOutput { return o.ApplyT(func(v *Vault) pulumi.BoolPtrOutput { return v.RestoreTrigger }).(pulumi.BoolPtrOutput) } -// The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. +// The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. func (o VaultOutput) RestoredFromVaultId() pulumi.StringOutput { return o.ApplyT(func(v *Vault) pulumi.StringOutput { return v.RestoredFromVaultId }).(pulumi.StringOutput) } diff --git a/sdk/go/oci/kms/verify.go b/sdk/go/oci/kms/verify.go index f2f1eadf21..1ecdf3d4ec 100644 --- a/sdk/go/oci/kms/verify.go +++ b/sdk/go/oci/kms/verify.go @@ -16,8 +16,9 @@ import ( // This resource provides the Verify resource in Oracle Cloud Infrastructure Kms service. // // Verifies a digital signature that was generated by the [Sign](https://docs.cloud.oracle.com/iaas/api/#/en/key/latest/SignedData/Sign) operation -// by using the public key of the same asymmetric key that was used to sign the data. If you want to validate the\ +// by using the public key of the same asymmetric key that was used to sign the data. If you want to validate the // digital signature outside of the service, you can do so by using the public key of the asymmetric key. +// This operation is not supported for keys having protection mode `EXTERNAL`. // // ## Example Usage // @@ -73,11 +74,11 @@ type Verify struct { KeyVersionId pulumi.StringOutput `pulumi:"keyVersionId"` // The base64-encoded binary data object denoting the message or message digest to sign. You can have a message up to 4096 bytes in size. To sign a larger message, provide the message digest. Message pulumi.StringOutput `pulumi:"message"` - // Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. + // Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. MessageType pulumi.StringOutput `pulumi:"messageType"` // The base64-encoded binary data object denoting the cryptographic signature generated for the message. Signature pulumi.StringOutput `pulumi:"signature"` - // The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. + // The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. // // ** 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 @@ -142,11 +143,11 @@ type verifyState struct { KeyVersionId *string `pulumi:"keyVersionId"` // The base64-encoded binary data object denoting the message or message digest to sign. You can have a message up to 4096 bytes in size. To sign a larger message, provide the message digest. Message *string `pulumi:"message"` - // Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. + // Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. MessageType *string `pulumi:"messageType"` // The base64-encoded binary data object denoting the cryptographic signature generated for the message. Signature *string `pulumi:"signature"` - // The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. + // The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. // // ** 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 @@ -164,11 +165,11 @@ type VerifyState struct { KeyVersionId pulumi.StringPtrInput // The base64-encoded binary data object denoting the message or message digest to sign. You can have a message up to 4096 bytes in size. To sign a larger message, provide the message digest. Message pulumi.StringPtrInput - // Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. + // Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. MessageType pulumi.StringPtrInput // The base64-encoded binary data object denoting the cryptographic signature generated for the message. Signature pulumi.StringPtrInput - // The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. + // The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. // // ** 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 @@ -188,11 +189,11 @@ type verifyArgs struct { KeyVersionId string `pulumi:"keyVersionId"` // The base64-encoded binary data object denoting the message or message digest to sign. You can have a message up to 4096 bytes in size. To sign a larger message, provide the message digest. Message string `pulumi:"message"` - // Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. + // Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. MessageType *string `pulumi:"messageType"` // The base64-encoded binary data object denoting the cryptographic signature generated for the message. Signature string `pulumi:"signature"` - // The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. + // The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. // // ** 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 @@ -209,11 +210,11 @@ type VerifyArgs struct { KeyVersionId pulumi.StringInput // The base64-encoded binary data object denoting the message or message digest to sign. You can have a message up to 4096 bytes in size. To sign a larger message, provide the message digest. Message pulumi.StringInput - // Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. + // Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. MessageType pulumi.StringPtrInput // The base64-encoded binary data object denoting the cryptographic signature generated for the message. Signature pulumi.StringInput - // The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. + // The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. // // ** 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 @@ -356,7 +357,7 @@ func (o VerifyOutput) Message() pulumi.StringOutput { return o.ApplyT(func(v *Verify) pulumi.StringOutput { return v.Message }).(pulumi.StringOutput) } -// Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. +// Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. func (o VerifyOutput) MessageType() pulumi.StringOutput { return o.ApplyT(func(v *Verify) pulumi.StringOutput { return v.MessageType }).(pulumi.StringOutput) } @@ -366,7 +367,7 @@ func (o VerifyOutput) Signature() pulumi.StringOutput { return o.ApplyT(func(v *Verify) pulumi.StringOutput { return v.Signature }).(pulumi.StringOutput) } -// The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. +// The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. // // ** 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 diff --git a/sdk/go/oci/loadbalancer/pulumiTypes.go b/sdk/go/oci/loadbalancer/pulumiTypes.go index 49f71060b3..51a720e60b 100644 --- a/sdk/go/oci/loadbalancer/pulumiTypes.go +++ b/sdk/go/oci/loadbalancer/pulumiTypes.go @@ -2301,7 +2301,6 @@ func (o LoadBalancerIpAddressDetailArrayOutput) Index(i pulumi.IntInput) LoadBal } type LoadBalancerIpAddressDetailReservedIp struct { - // Ocid of the pre-created public IP. That should be attahed to this load balancer. Id *string `pulumi:"id"` } @@ -2317,7 +2316,6 @@ type LoadBalancerIpAddressDetailReservedIpInput interface { } type LoadBalancerIpAddressDetailReservedIpArgs struct { - // Ocid of the pre-created public IP. That should be attahed to this load balancer. Id pulumi.StringPtrInput `pulumi:"id"` } @@ -2390,7 +2388,6 @@ func (o LoadBalancerIpAddressDetailReservedIpOutput) ToOutput(ctx context.Contex } } -// Ocid of the pre-created public IP. That should be attahed to this load balancer. func (o LoadBalancerIpAddressDetailReservedIpOutput) Id() pulumi.StringPtrOutput { return o.ApplyT(func(v LoadBalancerIpAddressDetailReservedIp) *string { return v.Id }).(pulumi.StringPtrOutput) } @@ -2422,7 +2419,6 @@ func (o LoadBalancerIpAddressDetailReservedIpArrayOutput) Index(i pulumi.IntInpu } type LoadBalancerReservedIp struct { - // Ocid of the pre-created public IP. That should be attahed to this load balancer. Id *string `pulumi:"id"` } @@ -2438,7 +2434,6 @@ type LoadBalancerReservedIpInput interface { } type LoadBalancerReservedIpArgs struct { - // Ocid of the pre-created public IP. That should be attahed to this load balancer. Id pulumi.StringPtrInput `pulumi:"id"` } @@ -2511,7 +2506,6 @@ func (o LoadBalancerReservedIpOutput) ToOutput(ctx context.Context) pulumix.Outp } } -// Ocid of the pre-created public IP. That should be attahed to this load balancer. func (o LoadBalancerReservedIpOutput) Id() pulumi.StringPtrOutput { return o.ApplyT(func(v LoadBalancerReservedIp) *string { return v.Id }).(pulumi.StringPtrOutput) } diff --git a/sdk/go/oci/loadbalancer/sslCipherSuite.go b/sdk/go/oci/loadbalancer/sslCipherSuite.go index 6092c7d36e..cbd664e4ea 100644 --- a/sdk/go/oci/loadbalancer/sslCipherSuite.go +++ b/sdk/go/oci/loadbalancer/sslCipherSuite.go @@ -56,7 +56,6 @@ import ( type SslCipherSuite struct { pulumi.CustomResourceState - // A list of SSL ciphers the load balancer must support for HTTPS or SSL connections. Ciphers pulumi.StringArrayOutput `pulumi:"ciphers"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated load balancer. LoadBalancerId pulumi.StringOutput `pulumi:"loadBalancerId"` @@ -113,7 +112,6 @@ func GetSslCipherSuite(ctx *pulumi.Context, // Input properties used for looking up and filtering SslCipherSuite resources. type sslCipherSuiteState struct { - // A list of SSL ciphers the load balancer must support for HTTPS or SSL connections. Ciphers []string `pulumi:"ciphers"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated load balancer. LoadBalancerId *string `pulumi:"loadBalancerId"` @@ -135,7 +133,6 @@ type sslCipherSuiteState struct { } type SslCipherSuiteState struct { - // A list of SSL ciphers the load balancer must support for HTTPS or SSL connections. Ciphers pulumi.StringArrayInput // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated load balancer. LoadBalancerId pulumi.StringPtrInput @@ -161,7 +158,6 @@ func (SslCipherSuiteState) ElementType() reflect.Type { } type sslCipherSuiteArgs struct { - // A list of SSL ciphers the load balancer must support for HTTPS or SSL connections. Ciphers []string `pulumi:"ciphers"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated load balancer. LoadBalancerId string `pulumi:"loadBalancerId"` @@ -183,7 +179,6 @@ type sslCipherSuiteArgs struct { // The set of arguments for constructing a SslCipherSuite resource. type SslCipherSuiteArgs struct { - // A list of SSL ciphers the load balancer must support for HTTPS or SSL connections. Ciphers pulumi.StringArrayInput // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated load balancer. LoadBalancerId pulumi.StringInput @@ -314,7 +309,6 @@ func (o SslCipherSuiteOutput) ToOutput(ctx context.Context) pulumix.Output[*SslC } } -// A list of SSL ciphers the load balancer must support for HTTPS or SSL connections. func (o SslCipherSuiteOutput) Ciphers() pulumi.StringArrayOutput { return o.ApplyT(func(v *SslCipherSuite) pulumi.StringArrayOutput { return v.Ciphers }).(pulumi.StringArrayOutput) } diff --git a/sdk/go/oci/mysql/getReplica.go b/sdk/go/oci/mysql/getReplica.go index 888c10498d..9f348ba6f4 100644 --- a/sdk/go/oci/mysql/getReplica.go +++ b/sdk/go/oci/mysql/getReplica.go @@ -63,6 +63,8 @@ type LookupReplicaResult struct { AvailabilityDomain string `pulumi:"availabilityDomain"` // The OCID of the compartment that contains the read replica. CompartmentId string `pulumi:"compartmentId"` + // The OCID of the Configuration to be used by the read replica. + ConfigurationId string `pulumi:"configurationId"` // The OCID of the DB System the read replica is associated with. DbSystemId string `pulumi:"dbSystemId"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` @@ -83,13 +85,17 @@ type LookupReplicaResult struct { IsDeleteProtected bool `pulumi:"isDeleteProtected"` // A message describing the state of the read replica. LifecycleDetails string `pulumi:"lifecycleDetails"` - // The MySQL version used by the read replica. + // The MySQL version to be used by the read replica. MysqlVersion string `pulumi:"mysqlVersion"` // The port the read replica is configured to listen on. Port int `pulumi:"port"` // The TCP network port on which X Plugin listens for connections. This is the X Plugin equivalent of port. PortX int `pulumi:"portX"` ReplicaId string `pulumi:"replicaId"` + // By default a read replica inherits the MySQL version, shape, and configuration of the source DB system. If you want to override any of these, provide values in the properties, mysqlVersion, shapeName, and configurationId. If you set a property value to "", then the value is inherited from its source DB system. + ReplicaOverrides []GetReplicaReplicaOverride `pulumi:"replicaOverrides"` + // The shape currently in use by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. + ShapeName string `pulumi:"shapeName"` // The state of the read replica. State string `pulumi:"state"` // The date and time the read replica was created, as described by [RFC 3339](https://tools.ietf.org/rfc/rfc3339). @@ -152,6 +158,11 @@ func (o LookupReplicaResultOutput) CompartmentId() pulumi.StringOutput { return o.ApplyT(func(v LookupReplicaResult) string { return v.CompartmentId }).(pulumi.StringOutput) } +// The OCID of the Configuration to be used by the read replica. +func (o LookupReplicaResultOutput) ConfigurationId() pulumi.StringOutput { + return o.ApplyT(func(v LookupReplicaResult) string { return v.ConfigurationId }).(pulumi.StringOutput) +} + // The OCID of the DB System the read replica is associated with. func (o LookupReplicaResultOutput) DbSystemId() pulumi.StringOutput { return o.ApplyT(func(v LookupReplicaResult) string { return v.DbSystemId }).(pulumi.StringOutput) @@ -202,7 +213,7 @@ func (o LookupReplicaResultOutput) LifecycleDetails() pulumi.StringOutput { return o.ApplyT(func(v LookupReplicaResult) string { return v.LifecycleDetails }).(pulumi.StringOutput) } -// The MySQL version used by the read replica. +// The MySQL version to be used by the read replica. func (o LookupReplicaResultOutput) MysqlVersion() pulumi.StringOutput { return o.ApplyT(func(v LookupReplicaResult) string { return v.MysqlVersion }).(pulumi.StringOutput) } @@ -221,6 +232,16 @@ func (o LookupReplicaResultOutput) ReplicaId() pulumi.StringOutput { return o.ApplyT(func(v LookupReplicaResult) string { return v.ReplicaId }).(pulumi.StringOutput) } +// By default a read replica inherits the MySQL version, shape, and configuration of the source DB system. If you want to override any of these, provide values in the properties, mysqlVersion, shapeName, and configurationId. If you set a property value to "", then the value is inherited from its source DB system. +func (o LookupReplicaResultOutput) ReplicaOverrides() GetReplicaReplicaOverrideArrayOutput { + return o.ApplyT(func(v LookupReplicaResult) []GetReplicaReplicaOverride { return v.ReplicaOverrides }).(GetReplicaReplicaOverrideArrayOutput) +} + +// The shape currently in use by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. +func (o LookupReplicaResultOutput) ShapeName() pulumi.StringOutput { + return o.ApplyT(func(v LookupReplicaResult) string { return v.ShapeName }).(pulumi.StringOutput) +} + // The state of the read replica. func (o LookupReplicaResultOutput) State() pulumi.StringOutput { return o.ApplyT(func(v LookupReplicaResult) string { return v.State }).(pulumi.StringOutput) diff --git a/sdk/go/oci/mysql/getReplicas.go b/sdk/go/oci/mysql/getReplicas.go index 99a65415fe..2ee6c9b4d0 100644 --- a/sdk/go/oci/mysql/getReplicas.go +++ b/sdk/go/oci/mysql/getReplicas.go @@ -31,11 +31,13 @@ import ( // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { // _, err := Mysql.GetReplicas(ctx, &mysql.GetReplicasArgs{ -// CompartmentId: _var.Compartment_id, -// DbSystemId: pulumi.StringRef(oci_mysql_mysql_db_system.Test_mysql_db_system.Id), -// DisplayName: pulumi.StringRef(_var.Replica_display_name), -// ReplicaId: pulumi.StringRef(oci_mysql_replica.Test_replica.Id), -// State: pulumi.StringRef(_var.Replica_state), +// CompartmentId: _var.Compartment_id, +// ConfigurationId: pulumi.StringRef(oci_mysql_mysql_configuration.Test_mysql_configuration.Id), +// DbSystemId: pulumi.StringRef(oci_mysql_mysql_db_system.Test_mysql_db_system.Id), +// DisplayName: pulumi.StringRef(_var.Replica_display_name), +// IsUpToDate: pulumi.BoolRef(_var.Replica_is_up_to_date), +// ReplicaId: pulumi.StringRef(oci_mysql_replica.Test_replica.Id), +// State: pulumi.StringRef(_var.Replica_state), // }, nil) // if err != nil { // return err @@ -59,11 +61,15 @@ func GetReplicas(ctx *pulumi.Context, args *GetReplicasArgs, opts ...pulumi.Invo type GetReplicasArgs struct { // The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). CompartmentId string `pulumi:"compartmentId"` + // The requested Configuration instance. + ConfigurationId *string `pulumi:"configurationId"` // The DB System [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). DbSystemId *string `pulumi:"dbSystemId"` // A filter to return only the resource matching the given display name exactly. DisplayName *string `pulumi:"displayName"` Filters []GetReplicasFilter `pulumi:"filters"` + // Filter instances if they are using the latest revision of the Configuration they are associated with. + IsUpToDate *bool `pulumi:"isUpToDate"` // The read replica [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). ReplicaId *string `pulumi:"replicaId"` // The LifecycleState of the read replica. @@ -74,14 +80,17 @@ type GetReplicasArgs struct { type GetReplicasResult struct { // The OCID of the compartment that contains the read replica. CompartmentId string `pulumi:"compartmentId"` + // The OCID of the Configuration to be used by the read replica. + ConfigurationId *string `pulumi:"configurationId"` // The OCID of the DB System the read replica is associated with. DbSystemId *string `pulumi:"dbSystemId"` // The user-friendly name for the read replica. It does not have to be unique. DisplayName *string `pulumi:"displayName"` Filters []GetReplicasFilter `pulumi:"filters"` // The provider-assigned unique ID for this managed resource. - Id string `pulumi:"id"` - ReplicaId *string `pulumi:"replicaId"` + Id string `pulumi:"id"` + IsUpToDate *bool `pulumi:"isUpToDate"` + ReplicaId *string `pulumi:"replicaId"` // The list of replicas. Replicas []GetReplicasReplica `pulumi:"replicas"` // The state of the read replica. @@ -105,11 +114,15 @@ func GetReplicasOutput(ctx *pulumi.Context, args GetReplicasOutputArgs, opts ... type GetReplicasOutputArgs struct { // The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). CompartmentId pulumi.StringInput `pulumi:"compartmentId"` + // The requested Configuration instance. + ConfigurationId pulumi.StringPtrInput `pulumi:"configurationId"` // The DB System [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). DbSystemId pulumi.StringPtrInput `pulumi:"dbSystemId"` // A filter to return only the resource matching the given display name exactly. DisplayName pulumi.StringPtrInput `pulumi:"displayName"` Filters GetReplicasFilterArrayInput `pulumi:"filters"` + // Filter instances if they are using the latest revision of the Configuration they are associated with. + IsUpToDate pulumi.BoolPtrInput `pulumi:"isUpToDate"` // The read replica [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). ReplicaId pulumi.StringPtrInput `pulumi:"replicaId"` // The LifecycleState of the read replica. @@ -146,6 +159,11 @@ func (o GetReplicasResultOutput) CompartmentId() pulumi.StringOutput { return o.ApplyT(func(v GetReplicasResult) string { return v.CompartmentId }).(pulumi.StringOutput) } +// The OCID of the Configuration to be used by the read replica. +func (o GetReplicasResultOutput) ConfigurationId() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetReplicasResult) *string { return v.ConfigurationId }).(pulumi.StringPtrOutput) +} + // The OCID of the DB System the read replica is associated with. func (o GetReplicasResultOutput) DbSystemId() pulumi.StringPtrOutput { return o.ApplyT(func(v GetReplicasResult) *string { return v.DbSystemId }).(pulumi.StringPtrOutput) @@ -165,6 +183,10 @@ func (o GetReplicasResultOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GetReplicasResult) string { return v.Id }).(pulumi.StringOutput) } +func (o GetReplicasResultOutput) IsUpToDate() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetReplicasResult) *bool { return v.IsUpToDate }).(pulumi.BoolPtrOutput) +} + func (o GetReplicasResultOutput) ReplicaId() pulumi.StringPtrOutput { return o.ApplyT(func(v GetReplicasResult) *string { return v.ReplicaId }).(pulumi.StringPtrOutput) } diff --git a/sdk/go/oci/mysql/pulumiTypes.go b/sdk/go/oci/mysql/pulumiTypes.go index 7fbb6702b5..0f130f4614 100644 --- a/sdk/go/oci/mysql/pulumiTypes.go +++ b/sdk/go/oci/mysql/pulumiTypes.go @@ -7267,6 +7267,217 @@ func (o MysqlDbSystemSourcePtrOutput) SourceUrl() pulumi.StringPtrOutput { }).(pulumi.StringPtrOutput) } +type ReplicaReplicaOverrides struct { + // (Updatable) The OCID of the Configuration to be used by the read replica. + ConfigurationId *string `pulumi:"configurationId"` + // (Updatable) The MySQL version to be used by the read replica. + MysqlVersion *string `pulumi:"mysqlVersion"` + // (Updatable) The shape to be used by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. + // + // ** 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 + ShapeName *string `pulumi:"shapeName"` +} + +// ReplicaReplicaOverridesInput is an input type that accepts ReplicaReplicaOverridesArgs and ReplicaReplicaOverridesOutput values. +// You can construct a concrete instance of `ReplicaReplicaOverridesInput` via: +// +// ReplicaReplicaOverridesArgs{...} +type ReplicaReplicaOverridesInput interface { + pulumi.Input + + ToReplicaReplicaOverridesOutput() ReplicaReplicaOverridesOutput + ToReplicaReplicaOverridesOutputWithContext(context.Context) ReplicaReplicaOverridesOutput +} + +type ReplicaReplicaOverridesArgs struct { + // (Updatable) The OCID of the Configuration to be used by the read replica. + ConfigurationId pulumi.StringPtrInput `pulumi:"configurationId"` + // (Updatable) The MySQL version to be used by the read replica. + MysqlVersion pulumi.StringPtrInput `pulumi:"mysqlVersion"` + // (Updatable) The shape to be used by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. + // + // ** 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 + ShapeName pulumi.StringPtrInput `pulumi:"shapeName"` +} + +func (ReplicaReplicaOverridesArgs) ElementType() reflect.Type { + return reflect.TypeOf((*ReplicaReplicaOverrides)(nil)).Elem() +} + +func (i ReplicaReplicaOverridesArgs) ToReplicaReplicaOverridesOutput() ReplicaReplicaOverridesOutput { + return i.ToReplicaReplicaOverridesOutputWithContext(context.Background()) +} + +func (i ReplicaReplicaOverridesArgs) ToReplicaReplicaOverridesOutputWithContext(ctx context.Context) ReplicaReplicaOverridesOutput { + return pulumi.ToOutputWithContext(ctx, i).(ReplicaReplicaOverridesOutput) +} + +func (i ReplicaReplicaOverridesArgs) ToOutput(ctx context.Context) pulumix.Output[ReplicaReplicaOverrides] { + return pulumix.Output[ReplicaReplicaOverrides]{ + OutputState: i.ToReplicaReplicaOverridesOutputWithContext(ctx).OutputState, + } +} + +func (i ReplicaReplicaOverridesArgs) ToReplicaReplicaOverridesPtrOutput() ReplicaReplicaOverridesPtrOutput { + return i.ToReplicaReplicaOverridesPtrOutputWithContext(context.Background()) +} + +func (i ReplicaReplicaOverridesArgs) ToReplicaReplicaOverridesPtrOutputWithContext(ctx context.Context) ReplicaReplicaOverridesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ReplicaReplicaOverridesOutput).ToReplicaReplicaOverridesPtrOutputWithContext(ctx) +} + +// ReplicaReplicaOverridesPtrInput is an input type that accepts ReplicaReplicaOverridesArgs, ReplicaReplicaOverridesPtr and ReplicaReplicaOverridesPtrOutput values. +// You can construct a concrete instance of `ReplicaReplicaOverridesPtrInput` via: +// +// ReplicaReplicaOverridesArgs{...} +// +// or: +// +// nil +type ReplicaReplicaOverridesPtrInput interface { + pulumi.Input + + ToReplicaReplicaOverridesPtrOutput() ReplicaReplicaOverridesPtrOutput + ToReplicaReplicaOverridesPtrOutputWithContext(context.Context) ReplicaReplicaOverridesPtrOutput +} + +type replicaReplicaOverridesPtrType ReplicaReplicaOverridesArgs + +func ReplicaReplicaOverridesPtr(v *ReplicaReplicaOverridesArgs) ReplicaReplicaOverridesPtrInput { + return (*replicaReplicaOverridesPtrType)(v) +} + +func (*replicaReplicaOverridesPtrType) ElementType() reflect.Type { + return reflect.TypeOf((**ReplicaReplicaOverrides)(nil)).Elem() +} + +func (i *replicaReplicaOverridesPtrType) ToReplicaReplicaOverridesPtrOutput() ReplicaReplicaOverridesPtrOutput { + return i.ToReplicaReplicaOverridesPtrOutputWithContext(context.Background()) +} + +func (i *replicaReplicaOverridesPtrType) ToReplicaReplicaOverridesPtrOutputWithContext(ctx context.Context) ReplicaReplicaOverridesPtrOutput { + return pulumi.ToOutputWithContext(ctx, i).(ReplicaReplicaOverridesPtrOutput) +} + +func (i *replicaReplicaOverridesPtrType) ToOutput(ctx context.Context) pulumix.Output[*ReplicaReplicaOverrides] { + return pulumix.Output[*ReplicaReplicaOverrides]{ + OutputState: i.ToReplicaReplicaOverridesPtrOutputWithContext(ctx).OutputState, + } +} + +type ReplicaReplicaOverridesOutput struct{ *pulumi.OutputState } + +func (ReplicaReplicaOverridesOutput) ElementType() reflect.Type { + return reflect.TypeOf((*ReplicaReplicaOverrides)(nil)).Elem() +} + +func (o ReplicaReplicaOverridesOutput) ToReplicaReplicaOverridesOutput() ReplicaReplicaOverridesOutput { + return o +} + +func (o ReplicaReplicaOverridesOutput) ToReplicaReplicaOverridesOutputWithContext(ctx context.Context) ReplicaReplicaOverridesOutput { + return o +} + +func (o ReplicaReplicaOverridesOutput) ToReplicaReplicaOverridesPtrOutput() ReplicaReplicaOverridesPtrOutput { + return o.ToReplicaReplicaOverridesPtrOutputWithContext(context.Background()) +} + +func (o ReplicaReplicaOverridesOutput) ToReplicaReplicaOverridesPtrOutputWithContext(ctx context.Context) ReplicaReplicaOverridesPtrOutput { + return o.ApplyTWithContext(ctx, func(_ context.Context, v ReplicaReplicaOverrides) *ReplicaReplicaOverrides { + return &v + }).(ReplicaReplicaOverridesPtrOutput) +} + +func (o ReplicaReplicaOverridesOutput) ToOutput(ctx context.Context) pulumix.Output[ReplicaReplicaOverrides] { + return pulumix.Output[ReplicaReplicaOverrides]{ + OutputState: o.OutputState, + } +} + +// (Updatable) The OCID of the Configuration to be used by the read replica. +func (o ReplicaReplicaOverridesOutput) ConfigurationId() pulumi.StringPtrOutput { + return o.ApplyT(func(v ReplicaReplicaOverrides) *string { return v.ConfigurationId }).(pulumi.StringPtrOutput) +} + +// (Updatable) The MySQL version to be used by the read replica. +func (o ReplicaReplicaOverridesOutput) MysqlVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v ReplicaReplicaOverrides) *string { return v.MysqlVersion }).(pulumi.StringPtrOutput) +} + +// (Updatable) The shape to be used by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. +// +// ** 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 +func (o ReplicaReplicaOverridesOutput) ShapeName() pulumi.StringPtrOutput { + return o.ApplyT(func(v ReplicaReplicaOverrides) *string { return v.ShapeName }).(pulumi.StringPtrOutput) +} + +type ReplicaReplicaOverridesPtrOutput struct{ *pulumi.OutputState } + +func (ReplicaReplicaOverridesPtrOutput) ElementType() reflect.Type { + return reflect.TypeOf((**ReplicaReplicaOverrides)(nil)).Elem() +} + +func (o ReplicaReplicaOverridesPtrOutput) ToReplicaReplicaOverridesPtrOutput() ReplicaReplicaOverridesPtrOutput { + return o +} + +func (o ReplicaReplicaOverridesPtrOutput) ToReplicaReplicaOverridesPtrOutputWithContext(ctx context.Context) ReplicaReplicaOverridesPtrOutput { + return o +} + +func (o ReplicaReplicaOverridesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ReplicaReplicaOverrides] { + return pulumix.Output[*ReplicaReplicaOverrides]{ + OutputState: o.OutputState, + } +} + +func (o ReplicaReplicaOverridesPtrOutput) Elem() ReplicaReplicaOverridesOutput { + return o.ApplyT(func(v *ReplicaReplicaOverrides) ReplicaReplicaOverrides { + if v != nil { + return *v + } + var ret ReplicaReplicaOverrides + return ret + }).(ReplicaReplicaOverridesOutput) +} + +// (Updatable) The OCID of the Configuration to be used by the read replica. +func (o ReplicaReplicaOverridesPtrOutput) ConfigurationId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ReplicaReplicaOverrides) *string { + if v == nil { + return nil + } + return v.ConfigurationId + }).(pulumi.StringPtrOutput) +} + +// (Updatable) The MySQL version to be used by the read replica. +func (o ReplicaReplicaOverridesPtrOutput) MysqlVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ReplicaReplicaOverrides) *string { + if v == nil { + return nil + } + return v.MysqlVersion + }).(pulumi.StringPtrOutput) +} + +// (Updatable) The shape to be used by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. +// +// ** 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 +func (o ReplicaReplicaOverridesPtrOutput) ShapeName() pulumi.StringPtrOutput { + return o.ApplyT(func(v *ReplicaReplicaOverrides) *string { + if v == nil { + return nil + } + return v.ShapeName + }).(pulumi.StringPtrOutput) +} + type GetChannelSource struct { // Specifies how the replication channel handles replicated transactions without an identifier, enabling replication from a source that does not use transaction-id-based replication to a replica that does. AnonymousTransactionsHandlings []GetChannelSourceAnonymousTransactionsHandling `pulumi:"anonymousTransactionsHandlings"` @@ -19818,6 +20029,145 @@ func (o GetMysqlVersionVersionVersionArrayOutput) Index(i pulumi.IntInput) GetMy }).(GetMysqlVersionVersionVersionOutput) } +type GetReplicaReplicaOverride struct { + // The OCID of the Configuration to be used by the read replica. + ConfigurationId string `pulumi:"configurationId"` + // The MySQL version to be used by the read replica. + MysqlVersion string `pulumi:"mysqlVersion"` + // The shape currently in use by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. + ShapeName string `pulumi:"shapeName"` +} + +// GetReplicaReplicaOverrideInput is an input type that accepts GetReplicaReplicaOverrideArgs and GetReplicaReplicaOverrideOutput values. +// You can construct a concrete instance of `GetReplicaReplicaOverrideInput` via: +// +// GetReplicaReplicaOverrideArgs{...} +type GetReplicaReplicaOverrideInput interface { + pulumi.Input + + ToGetReplicaReplicaOverrideOutput() GetReplicaReplicaOverrideOutput + ToGetReplicaReplicaOverrideOutputWithContext(context.Context) GetReplicaReplicaOverrideOutput +} + +type GetReplicaReplicaOverrideArgs struct { + // The OCID of the Configuration to be used by the read replica. + ConfigurationId pulumi.StringInput `pulumi:"configurationId"` + // The MySQL version to be used by the read replica. + MysqlVersion pulumi.StringInput `pulumi:"mysqlVersion"` + // The shape currently in use by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. + ShapeName pulumi.StringInput `pulumi:"shapeName"` +} + +func (GetReplicaReplicaOverrideArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetReplicaReplicaOverride)(nil)).Elem() +} + +func (i GetReplicaReplicaOverrideArgs) ToGetReplicaReplicaOverrideOutput() GetReplicaReplicaOverrideOutput { + return i.ToGetReplicaReplicaOverrideOutputWithContext(context.Background()) +} + +func (i GetReplicaReplicaOverrideArgs) ToGetReplicaReplicaOverrideOutputWithContext(ctx context.Context) GetReplicaReplicaOverrideOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetReplicaReplicaOverrideOutput) +} + +func (i GetReplicaReplicaOverrideArgs) ToOutput(ctx context.Context) pulumix.Output[GetReplicaReplicaOverride] { + return pulumix.Output[GetReplicaReplicaOverride]{ + OutputState: i.ToGetReplicaReplicaOverrideOutputWithContext(ctx).OutputState, + } +} + +// GetReplicaReplicaOverrideArrayInput is an input type that accepts GetReplicaReplicaOverrideArray and GetReplicaReplicaOverrideArrayOutput values. +// You can construct a concrete instance of `GetReplicaReplicaOverrideArrayInput` via: +// +// GetReplicaReplicaOverrideArray{ GetReplicaReplicaOverrideArgs{...} } +type GetReplicaReplicaOverrideArrayInput interface { + pulumi.Input + + ToGetReplicaReplicaOverrideArrayOutput() GetReplicaReplicaOverrideArrayOutput + ToGetReplicaReplicaOverrideArrayOutputWithContext(context.Context) GetReplicaReplicaOverrideArrayOutput +} + +type GetReplicaReplicaOverrideArray []GetReplicaReplicaOverrideInput + +func (GetReplicaReplicaOverrideArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetReplicaReplicaOverride)(nil)).Elem() +} + +func (i GetReplicaReplicaOverrideArray) ToGetReplicaReplicaOverrideArrayOutput() GetReplicaReplicaOverrideArrayOutput { + return i.ToGetReplicaReplicaOverrideArrayOutputWithContext(context.Background()) +} + +func (i GetReplicaReplicaOverrideArray) ToGetReplicaReplicaOverrideArrayOutputWithContext(ctx context.Context) GetReplicaReplicaOverrideArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetReplicaReplicaOverrideArrayOutput) +} + +func (i GetReplicaReplicaOverrideArray) ToOutput(ctx context.Context) pulumix.Output[[]GetReplicaReplicaOverride] { + return pulumix.Output[[]GetReplicaReplicaOverride]{ + OutputState: i.ToGetReplicaReplicaOverrideArrayOutputWithContext(ctx).OutputState, + } +} + +type GetReplicaReplicaOverrideOutput struct{ *pulumi.OutputState } + +func (GetReplicaReplicaOverrideOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetReplicaReplicaOverride)(nil)).Elem() +} + +func (o GetReplicaReplicaOverrideOutput) ToGetReplicaReplicaOverrideOutput() GetReplicaReplicaOverrideOutput { + return o +} + +func (o GetReplicaReplicaOverrideOutput) ToGetReplicaReplicaOverrideOutputWithContext(ctx context.Context) GetReplicaReplicaOverrideOutput { + return o +} + +func (o GetReplicaReplicaOverrideOutput) ToOutput(ctx context.Context) pulumix.Output[GetReplicaReplicaOverride] { + return pulumix.Output[GetReplicaReplicaOverride]{ + OutputState: o.OutputState, + } +} + +// The OCID of the Configuration to be used by the read replica. +func (o GetReplicaReplicaOverrideOutput) ConfigurationId() pulumi.StringOutput { + return o.ApplyT(func(v GetReplicaReplicaOverride) string { return v.ConfigurationId }).(pulumi.StringOutput) +} + +// The MySQL version to be used by the read replica. +func (o GetReplicaReplicaOverrideOutput) MysqlVersion() pulumi.StringOutput { + return o.ApplyT(func(v GetReplicaReplicaOverride) string { return v.MysqlVersion }).(pulumi.StringOutput) +} + +// The shape currently in use by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. +func (o GetReplicaReplicaOverrideOutput) ShapeName() pulumi.StringOutput { + return o.ApplyT(func(v GetReplicaReplicaOverride) string { return v.ShapeName }).(pulumi.StringOutput) +} + +type GetReplicaReplicaOverrideArrayOutput struct{ *pulumi.OutputState } + +func (GetReplicaReplicaOverrideArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetReplicaReplicaOverride)(nil)).Elem() +} + +func (o GetReplicaReplicaOverrideArrayOutput) ToGetReplicaReplicaOverrideArrayOutput() GetReplicaReplicaOverrideArrayOutput { + return o +} + +func (o GetReplicaReplicaOverrideArrayOutput) ToGetReplicaReplicaOverrideArrayOutputWithContext(ctx context.Context) GetReplicaReplicaOverrideArrayOutput { + return o +} + +func (o GetReplicaReplicaOverrideArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetReplicaReplicaOverride] { + return pulumix.Output[[]GetReplicaReplicaOverride]{ + OutputState: o.OutputState, + } +} + +func (o GetReplicaReplicaOverrideArrayOutput) Index(i pulumi.IntInput) GetReplicaReplicaOverrideOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetReplicaReplicaOverride { + return vs[0].([]GetReplicaReplicaOverride)[vs[1].(int)] + }).(GetReplicaReplicaOverrideOutput) +} + type GetReplicasFilter struct { Name string `pulumi:"name"` Regex *bool `pulumi:"regex"` @@ -19953,6 +20303,8 @@ type GetReplicasReplica struct { AvailabilityDomain string `pulumi:"availabilityDomain"` // The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). CompartmentId string `pulumi:"compartmentId"` + // The requested Configuration instance. + ConfigurationId string `pulumi:"configurationId"` // The DB System [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). DbSystemId string `pulumi:"dbSystemId"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` @@ -19973,12 +20325,16 @@ type GetReplicasReplica struct { IsDeleteProtected bool `pulumi:"isDeleteProtected"` // A message describing the state of the read replica. LifecycleDetails string `pulumi:"lifecycleDetails"` - // The MySQL version used by the read replica. + // The MySQL version to be used by the read replica. MysqlVersion string `pulumi:"mysqlVersion"` // The port the read replica is configured to listen on. Port int `pulumi:"port"` // The TCP network port on which X Plugin listens for connections. This is the X Plugin equivalent of port. PortX int `pulumi:"portX"` + // By default a read replica inherits the MySQL version, shape, and configuration of the source DB system. If you want to override any of these, provide values in the properties, mysqlVersion, shapeName, and configurationId. If you set a property value to "", then the value is inherited from its source DB system. + ReplicaOverrides []GetReplicasReplicaReplicaOverride `pulumi:"replicaOverrides"` + // The shape currently in use by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. + ShapeName string `pulumi:"shapeName"` // The LifecycleState of the read replica. State string `pulumi:"state"` // The date and time the read replica was created, as described by [RFC 3339](https://tools.ietf.org/rfc/rfc3339). @@ -20003,6 +20359,8 @@ type GetReplicasReplicaArgs struct { AvailabilityDomain pulumi.StringInput `pulumi:"availabilityDomain"` // The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). CompartmentId pulumi.StringInput `pulumi:"compartmentId"` + // The requested Configuration instance. + ConfigurationId pulumi.StringInput `pulumi:"configurationId"` // The DB System [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). DbSystemId pulumi.StringInput `pulumi:"dbSystemId"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` @@ -20023,12 +20381,16 @@ type GetReplicasReplicaArgs struct { IsDeleteProtected pulumi.BoolInput `pulumi:"isDeleteProtected"` // A message describing the state of the read replica. LifecycleDetails pulumi.StringInput `pulumi:"lifecycleDetails"` - // The MySQL version used by the read replica. + // The MySQL version to be used by the read replica. MysqlVersion pulumi.StringInput `pulumi:"mysqlVersion"` // The port the read replica is configured to listen on. Port pulumi.IntInput `pulumi:"port"` // The TCP network port on which X Plugin listens for connections. This is the X Plugin equivalent of port. PortX pulumi.IntInput `pulumi:"portX"` + // By default a read replica inherits the MySQL version, shape, and configuration of the source DB system. If you want to override any of these, provide values in the properties, mysqlVersion, shapeName, and configurationId. If you set a property value to "", then the value is inherited from its source DB system. + ReplicaOverrides GetReplicasReplicaReplicaOverrideArrayInput `pulumi:"replicaOverrides"` + // The shape currently in use by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. + ShapeName pulumi.StringInput `pulumi:"shapeName"` // The LifecycleState of the read replica. State pulumi.StringInput `pulumi:"state"` // The date and time the read replica was created, as described by [RFC 3339](https://tools.ietf.org/rfc/rfc3339). @@ -20116,6 +20478,11 @@ func (o GetReplicasReplicaOutput) CompartmentId() pulumi.StringOutput { return o.ApplyT(func(v GetReplicasReplica) string { return v.CompartmentId }).(pulumi.StringOutput) } +// The requested Configuration instance. +func (o GetReplicasReplicaOutput) ConfigurationId() pulumi.StringOutput { + return o.ApplyT(func(v GetReplicasReplica) string { return v.ConfigurationId }).(pulumi.StringOutput) +} + // The DB System [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). func (o GetReplicasReplicaOutput) DbSystemId() pulumi.StringOutput { return o.ApplyT(func(v GetReplicasReplica) string { return v.DbSystemId }).(pulumi.StringOutput) @@ -20166,7 +20533,7 @@ func (o GetReplicasReplicaOutput) LifecycleDetails() pulumi.StringOutput { return o.ApplyT(func(v GetReplicasReplica) string { return v.LifecycleDetails }).(pulumi.StringOutput) } -// The MySQL version used by the read replica. +// The MySQL version to be used by the read replica. func (o GetReplicasReplicaOutput) MysqlVersion() pulumi.StringOutput { return o.ApplyT(func(v GetReplicasReplica) string { return v.MysqlVersion }).(pulumi.StringOutput) } @@ -20181,6 +20548,16 @@ func (o GetReplicasReplicaOutput) PortX() pulumi.IntOutput { return o.ApplyT(func(v GetReplicasReplica) int { return v.PortX }).(pulumi.IntOutput) } +// By default a read replica inherits the MySQL version, shape, and configuration of the source DB system. If you want to override any of these, provide values in the properties, mysqlVersion, shapeName, and configurationId. If you set a property value to "", then the value is inherited from its source DB system. +func (o GetReplicasReplicaOutput) ReplicaOverrides() GetReplicasReplicaReplicaOverrideArrayOutput { + return o.ApplyT(func(v GetReplicasReplica) []GetReplicasReplicaReplicaOverride { return v.ReplicaOverrides }).(GetReplicasReplicaReplicaOverrideArrayOutput) +} + +// The shape currently in use by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. +func (o GetReplicasReplicaOutput) ShapeName() pulumi.StringOutput { + return o.ApplyT(func(v GetReplicasReplica) string { return v.ShapeName }).(pulumi.StringOutput) +} + // The LifecycleState of the read replica. func (o GetReplicasReplicaOutput) State() pulumi.StringOutput { return o.ApplyT(func(v GetReplicasReplica) string { return v.State }).(pulumi.StringOutput) @@ -20222,6 +20599,145 @@ func (o GetReplicasReplicaArrayOutput) Index(i pulumi.IntInput) GetReplicasRepli }).(GetReplicasReplicaOutput) } +type GetReplicasReplicaReplicaOverride struct { + // The requested Configuration instance. + ConfigurationId string `pulumi:"configurationId"` + // The MySQL version to be used by the read replica. + MysqlVersion string `pulumi:"mysqlVersion"` + // The shape currently in use by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. + ShapeName string `pulumi:"shapeName"` +} + +// GetReplicasReplicaReplicaOverrideInput is an input type that accepts GetReplicasReplicaReplicaOverrideArgs and GetReplicasReplicaReplicaOverrideOutput values. +// You can construct a concrete instance of `GetReplicasReplicaReplicaOverrideInput` via: +// +// GetReplicasReplicaReplicaOverrideArgs{...} +type GetReplicasReplicaReplicaOverrideInput interface { + pulumi.Input + + ToGetReplicasReplicaReplicaOverrideOutput() GetReplicasReplicaReplicaOverrideOutput + ToGetReplicasReplicaReplicaOverrideOutputWithContext(context.Context) GetReplicasReplicaReplicaOverrideOutput +} + +type GetReplicasReplicaReplicaOverrideArgs struct { + // The requested Configuration instance. + ConfigurationId pulumi.StringInput `pulumi:"configurationId"` + // The MySQL version to be used by the read replica. + MysqlVersion pulumi.StringInput `pulumi:"mysqlVersion"` + // The shape currently in use by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. + ShapeName pulumi.StringInput `pulumi:"shapeName"` +} + +func (GetReplicasReplicaReplicaOverrideArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetReplicasReplicaReplicaOverride)(nil)).Elem() +} + +func (i GetReplicasReplicaReplicaOverrideArgs) ToGetReplicasReplicaReplicaOverrideOutput() GetReplicasReplicaReplicaOverrideOutput { + return i.ToGetReplicasReplicaReplicaOverrideOutputWithContext(context.Background()) +} + +func (i GetReplicasReplicaReplicaOverrideArgs) ToGetReplicasReplicaReplicaOverrideOutputWithContext(ctx context.Context) GetReplicasReplicaReplicaOverrideOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetReplicasReplicaReplicaOverrideOutput) +} + +func (i GetReplicasReplicaReplicaOverrideArgs) ToOutput(ctx context.Context) pulumix.Output[GetReplicasReplicaReplicaOverride] { + return pulumix.Output[GetReplicasReplicaReplicaOverride]{ + OutputState: i.ToGetReplicasReplicaReplicaOverrideOutputWithContext(ctx).OutputState, + } +} + +// GetReplicasReplicaReplicaOverrideArrayInput is an input type that accepts GetReplicasReplicaReplicaOverrideArray and GetReplicasReplicaReplicaOverrideArrayOutput values. +// You can construct a concrete instance of `GetReplicasReplicaReplicaOverrideArrayInput` via: +// +// GetReplicasReplicaReplicaOverrideArray{ GetReplicasReplicaReplicaOverrideArgs{...} } +type GetReplicasReplicaReplicaOverrideArrayInput interface { + pulumi.Input + + ToGetReplicasReplicaReplicaOverrideArrayOutput() GetReplicasReplicaReplicaOverrideArrayOutput + ToGetReplicasReplicaReplicaOverrideArrayOutputWithContext(context.Context) GetReplicasReplicaReplicaOverrideArrayOutput +} + +type GetReplicasReplicaReplicaOverrideArray []GetReplicasReplicaReplicaOverrideInput + +func (GetReplicasReplicaReplicaOverrideArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetReplicasReplicaReplicaOverride)(nil)).Elem() +} + +func (i GetReplicasReplicaReplicaOverrideArray) ToGetReplicasReplicaReplicaOverrideArrayOutput() GetReplicasReplicaReplicaOverrideArrayOutput { + return i.ToGetReplicasReplicaReplicaOverrideArrayOutputWithContext(context.Background()) +} + +func (i GetReplicasReplicaReplicaOverrideArray) ToGetReplicasReplicaReplicaOverrideArrayOutputWithContext(ctx context.Context) GetReplicasReplicaReplicaOverrideArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetReplicasReplicaReplicaOverrideArrayOutput) +} + +func (i GetReplicasReplicaReplicaOverrideArray) ToOutput(ctx context.Context) pulumix.Output[[]GetReplicasReplicaReplicaOverride] { + return pulumix.Output[[]GetReplicasReplicaReplicaOverride]{ + OutputState: i.ToGetReplicasReplicaReplicaOverrideArrayOutputWithContext(ctx).OutputState, + } +} + +type GetReplicasReplicaReplicaOverrideOutput struct{ *pulumi.OutputState } + +func (GetReplicasReplicaReplicaOverrideOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetReplicasReplicaReplicaOverride)(nil)).Elem() +} + +func (o GetReplicasReplicaReplicaOverrideOutput) ToGetReplicasReplicaReplicaOverrideOutput() GetReplicasReplicaReplicaOverrideOutput { + return o +} + +func (o GetReplicasReplicaReplicaOverrideOutput) ToGetReplicasReplicaReplicaOverrideOutputWithContext(ctx context.Context) GetReplicasReplicaReplicaOverrideOutput { + return o +} + +func (o GetReplicasReplicaReplicaOverrideOutput) ToOutput(ctx context.Context) pulumix.Output[GetReplicasReplicaReplicaOverride] { + return pulumix.Output[GetReplicasReplicaReplicaOverride]{ + OutputState: o.OutputState, + } +} + +// The requested Configuration instance. +func (o GetReplicasReplicaReplicaOverrideOutput) ConfigurationId() pulumi.StringOutput { + return o.ApplyT(func(v GetReplicasReplicaReplicaOverride) string { return v.ConfigurationId }).(pulumi.StringOutput) +} + +// The MySQL version to be used by the read replica. +func (o GetReplicasReplicaReplicaOverrideOutput) MysqlVersion() pulumi.StringOutput { + return o.ApplyT(func(v GetReplicasReplicaReplicaOverride) string { return v.MysqlVersion }).(pulumi.StringOutput) +} + +// The shape currently in use by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. +func (o GetReplicasReplicaReplicaOverrideOutput) ShapeName() pulumi.StringOutput { + return o.ApplyT(func(v GetReplicasReplicaReplicaOverride) string { return v.ShapeName }).(pulumi.StringOutput) +} + +type GetReplicasReplicaReplicaOverrideArrayOutput struct{ *pulumi.OutputState } + +func (GetReplicasReplicaReplicaOverrideArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetReplicasReplicaReplicaOverride)(nil)).Elem() +} + +func (o GetReplicasReplicaReplicaOverrideArrayOutput) ToGetReplicasReplicaReplicaOverrideArrayOutput() GetReplicasReplicaReplicaOverrideArrayOutput { + return o +} + +func (o GetReplicasReplicaReplicaOverrideArrayOutput) ToGetReplicasReplicaReplicaOverrideArrayOutputWithContext(ctx context.Context) GetReplicasReplicaReplicaOverrideArrayOutput { + return o +} + +func (o GetReplicasReplicaReplicaOverrideArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetReplicasReplicaReplicaOverride] { + return pulumix.Output[[]GetReplicasReplicaReplicaOverride]{ + OutputState: o.OutputState, + } +} + +func (o GetReplicasReplicaReplicaOverrideArrayOutput) Index(i pulumi.IntInput) GetReplicasReplicaReplicaOverrideOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetReplicasReplicaReplicaOverride { + return vs[0].([]GetReplicasReplicaReplicaOverride)[vs[1].(int)] + }).(GetReplicasReplicaReplicaOverrideOutput) +} + type GetShapesFilter struct { // Name Name string `pulumi:"name"` @@ -20562,6 +21078,8 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*MysqlDbSystemPointInTimeRecoveryDetailArrayInput)(nil)).Elem(), MysqlDbSystemPointInTimeRecoveryDetailArray{}) pulumi.RegisterInputType(reflect.TypeOf((*MysqlDbSystemSourceInput)(nil)).Elem(), MysqlDbSystemSourceArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*MysqlDbSystemSourcePtrInput)(nil)).Elem(), MysqlDbSystemSourceArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ReplicaReplicaOverridesInput)(nil)).Elem(), ReplicaReplicaOverridesArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*ReplicaReplicaOverridesPtrInput)(nil)).Elem(), ReplicaReplicaOverridesArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetChannelSourceInput)(nil)).Elem(), GetChannelSourceArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetChannelSourceArrayInput)(nil)).Elem(), GetChannelSourceArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetChannelSourceAnonymousTransactionsHandlingInput)(nil)).Elem(), GetChannelSourceAnonymousTransactionsHandlingArgs{}) @@ -20698,10 +21216,14 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetMysqlVersionVersionArrayInput)(nil)).Elem(), GetMysqlVersionVersionArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetMysqlVersionVersionVersionInput)(nil)).Elem(), GetMysqlVersionVersionVersionArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetMysqlVersionVersionVersionArrayInput)(nil)).Elem(), GetMysqlVersionVersionVersionArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetReplicaReplicaOverrideInput)(nil)).Elem(), GetReplicaReplicaOverrideArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetReplicaReplicaOverrideArrayInput)(nil)).Elem(), GetReplicaReplicaOverrideArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetReplicasFilterInput)(nil)).Elem(), GetReplicasFilterArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetReplicasFilterArrayInput)(nil)).Elem(), GetReplicasFilterArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetReplicasReplicaInput)(nil)).Elem(), GetReplicasReplicaArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetReplicasReplicaArrayInput)(nil)).Elem(), GetReplicasReplicaArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetReplicasReplicaReplicaOverrideInput)(nil)).Elem(), GetReplicasReplicaReplicaOverrideArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetReplicasReplicaReplicaOverrideArrayInput)(nil)).Elem(), GetReplicasReplicaReplicaOverrideArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetShapesFilterInput)(nil)).Elem(), GetShapesFilterArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetShapesFilterArrayInput)(nil)).Elem(), GetShapesFilterArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetShapesShapeInput)(nil)).Elem(), GetShapesShapeArgs{}) @@ -20764,6 +21286,8 @@ func init() { pulumi.RegisterOutputType(MysqlDbSystemPointInTimeRecoveryDetailArrayOutput{}) pulumi.RegisterOutputType(MysqlDbSystemSourceOutput{}) pulumi.RegisterOutputType(MysqlDbSystemSourcePtrOutput{}) + pulumi.RegisterOutputType(ReplicaReplicaOverridesOutput{}) + pulumi.RegisterOutputType(ReplicaReplicaOverridesPtrOutput{}) pulumi.RegisterOutputType(GetChannelSourceOutput{}) pulumi.RegisterOutputType(GetChannelSourceArrayOutput{}) pulumi.RegisterOutputType(GetChannelSourceAnonymousTransactionsHandlingOutput{}) @@ -20900,10 +21424,14 @@ func init() { pulumi.RegisterOutputType(GetMysqlVersionVersionArrayOutput{}) pulumi.RegisterOutputType(GetMysqlVersionVersionVersionOutput{}) pulumi.RegisterOutputType(GetMysqlVersionVersionVersionArrayOutput{}) + pulumi.RegisterOutputType(GetReplicaReplicaOverrideOutput{}) + pulumi.RegisterOutputType(GetReplicaReplicaOverrideArrayOutput{}) pulumi.RegisterOutputType(GetReplicasFilterOutput{}) pulumi.RegisterOutputType(GetReplicasFilterArrayOutput{}) pulumi.RegisterOutputType(GetReplicasReplicaOutput{}) pulumi.RegisterOutputType(GetReplicasReplicaArrayOutput{}) + pulumi.RegisterOutputType(GetReplicasReplicaReplicaOverrideOutput{}) + pulumi.RegisterOutputType(GetReplicasReplicaReplicaOverrideArrayOutput{}) pulumi.RegisterOutputType(GetShapesFilterOutput{}) pulumi.RegisterOutputType(GetShapesFilterArrayOutput{}) pulumi.RegisterOutputType(GetShapesShapeOutput{}) diff --git a/sdk/go/oci/mysql/replica.go b/sdk/go/oci/mysql/replica.go index a12366a1a6..c82ed22d17 100644 --- a/sdk/go/oci/mysql/replica.go +++ b/sdk/go/oci/mysql/replica.go @@ -42,6 +42,11 @@ import ( // "bar-key": pulumi.Any("value"), // }, // IsDeleteProtected: pulumi.Any(_var.Replica_is_delete_protected), +// ReplicaOverrides: &mysql.ReplicaReplicaOverridesArgs{ +// ConfigurationId: pulumi.Any(oci_mysql_mysql_configuration.Test_mysql_configuration.Id), +// MysqlVersion: pulumi.Any(_var.Replica_replica_overrides_mysql_version), +// ShapeName: pulumi.Any(oci_mysql_shape.Test_shape.Name), +// }, // }) // if err != nil { // return err @@ -68,6 +73,8 @@ type Replica struct { AvailabilityDomain pulumi.StringOutput `pulumi:"availabilityDomain"` // The OCID of the compartment that contains the read replica. CompartmentId pulumi.StringOutput `pulumi:"compartmentId"` + // (Updatable) The OCID of the Configuration to be used by the read replica. + ConfigurationId pulumi.StringOutput `pulumi:"configurationId"` // The OCID of the DB System the read replica is associated with. DbSystemId pulumi.StringOutput `pulumi:"dbSystemId"` // (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` @@ -83,18 +90,22 @@ type Replica struct { // The IP address the read replica is configured to listen on. IpAddress pulumi.StringOutput `pulumi:"ipAddress"` // (Updatable) Specifies whether the read replica can be deleted. Set to true to prevent deletion, false (default) to allow. Note that if a read replica is delete protected it also prevents the entire DB System from being deleted. If the DB System is delete protected, read replicas can still be deleted individually if they are not delete protected themselves. - // - // ** 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 IsDeleteProtected pulumi.BoolOutput `pulumi:"isDeleteProtected"` // A message describing the state of the read replica. LifecycleDetails pulumi.StringOutput `pulumi:"lifecycleDetails"` - // The MySQL version used by the read replica. + // (Updatable) The MySQL version to be used by the read replica. MysqlVersion pulumi.StringOutput `pulumi:"mysqlVersion"` // The port the read replica is configured to listen on. Port pulumi.IntOutput `pulumi:"port"` // The TCP network port on which X Plugin listens for connections. This is the X Plugin equivalent of port. PortX pulumi.IntOutput `pulumi:"portX"` + // (Updatable) By default a read replica inherits the MySQL version, shape, and configuration of the source DB system. If you want to override any of these, provide values in the properties, mysqlVersion, shapeName, and configurationId. If you set a property value to "", then the value is inherited from its source DB system. + ReplicaOverrides ReplicaReplicaOverridesOutput `pulumi:"replicaOverrides"` + // (Updatable) The shape to be used by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. + // + // ** 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 + ShapeName pulumi.StringOutput `pulumi:"shapeName"` // The state of the read replica. State pulumi.StringOutput `pulumi:"state"` // The date and time the read replica was created, as described by [RFC 3339](https://tools.ietf.org/rfc/rfc3339). @@ -140,6 +151,8 @@ type replicaState struct { AvailabilityDomain *string `pulumi:"availabilityDomain"` // The OCID of the compartment that contains the read replica. CompartmentId *string `pulumi:"compartmentId"` + // (Updatable) The OCID of the Configuration to be used by the read replica. + ConfigurationId *string `pulumi:"configurationId"` // The OCID of the DB System the read replica is associated with. DbSystemId *string `pulumi:"dbSystemId"` // (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` @@ -155,18 +168,22 @@ type replicaState struct { // The IP address the read replica is configured to listen on. IpAddress *string `pulumi:"ipAddress"` // (Updatable) Specifies whether the read replica can be deleted. Set to true to prevent deletion, false (default) to allow. Note that if a read replica is delete protected it also prevents the entire DB System from being deleted. If the DB System is delete protected, read replicas can still be deleted individually if they are not delete protected themselves. - // - // ** 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 IsDeleteProtected *bool `pulumi:"isDeleteProtected"` // A message describing the state of the read replica. LifecycleDetails *string `pulumi:"lifecycleDetails"` - // The MySQL version used by the read replica. + // (Updatable) The MySQL version to be used by the read replica. MysqlVersion *string `pulumi:"mysqlVersion"` // The port the read replica is configured to listen on. Port *int `pulumi:"port"` // The TCP network port on which X Plugin listens for connections. This is the X Plugin equivalent of port. PortX *int `pulumi:"portX"` + // (Updatable) By default a read replica inherits the MySQL version, shape, and configuration of the source DB system. If you want to override any of these, provide values in the properties, mysqlVersion, shapeName, and configurationId. If you set a property value to "", then the value is inherited from its source DB system. + ReplicaOverrides *ReplicaReplicaOverrides `pulumi:"replicaOverrides"` + // (Updatable) The shape to be used by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. + // + // ** 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 + ShapeName *string `pulumi:"shapeName"` // The state of the read replica. State *string `pulumi:"state"` // The date and time the read replica was created, as described by [RFC 3339](https://tools.ietf.org/rfc/rfc3339). @@ -180,6 +197,8 @@ type ReplicaState struct { AvailabilityDomain pulumi.StringPtrInput // The OCID of the compartment that contains the read replica. CompartmentId pulumi.StringPtrInput + // (Updatable) The OCID of the Configuration to be used by the read replica. + ConfigurationId pulumi.StringPtrInput // The OCID of the DB System the read replica is associated with. DbSystemId pulumi.StringPtrInput // (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` @@ -195,18 +214,22 @@ type ReplicaState struct { // The IP address the read replica is configured to listen on. IpAddress pulumi.StringPtrInput // (Updatable) Specifies whether the read replica can be deleted. Set to true to prevent deletion, false (default) to allow. Note that if a read replica is delete protected it also prevents the entire DB System from being deleted. If the DB System is delete protected, read replicas can still be deleted individually if they are not delete protected themselves. - // - // ** 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 IsDeleteProtected pulumi.BoolPtrInput // A message describing the state of the read replica. LifecycleDetails pulumi.StringPtrInput - // The MySQL version used by the read replica. + // (Updatable) The MySQL version to be used by the read replica. MysqlVersion pulumi.StringPtrInput // The port the read replica is configured to listen on. Port pulumi.IntPtrInput // The TCP network port on which X Plugin listens for connections. This is the X Plugin equivalent of port. PortX pulumi.IntPtrInput + // (Updatable) By default a read replica inherits the MySQL version, shape, and configuration of the source DB system. If you want to override any of these, provide values in the properties, mysqlVersion, shapeName, and configurationId. If you set a property value to "", then the value is inherited from its source DB system. + ReplicaOverrides ReplicaReplicaOverridesPtrInput + // (Updatable) The shape to be used by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. + // + // ** 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 + ShapeName pulumi.StringPtrInput // The state of the read replica. State pulumi.StringPtrInput // The date and time the read replica was created, as described by [RFC 3339](https://tools.ietf.org/rfc/rfc3339). @@ -231,10 +254,9 @@ type replicaArgs struct { // (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` FreeformTags map[string]interface{} `pulumi:"freeformTags"` // (Updatable) Specifies whether the read replica can be deleted. Set to true to prevent deletion, false (default) to allow. Note that if a read replica is delete protected it also prevents the entire DB System from being deleted. If the DB System is delete protected, read replicas can still be deleted individually if they are not delete protected themselves. - // - // ** 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 IsDeleteProtected *bool `pulumi:"isDeleteProtected"` + // (Updatable) By default a read replica inherits the MySQL version, shape, and configuration of the source DB system. If you want to override any of these, provide values in the properties, mysqlVersion, shapeName, and configurationId. If you set a property value to "", then the value is inherited from its source DB system. + ReplicaOverrides *ReplicaReplicaOverrides `pulumi:"replicaOverrides"` } // The set of arguments for constructing a Replica resource. @@ -250,10 +272,9 @@ type ReplicaArgs struct { // (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` FreeformTags pulumi.MapInput // (Updatable) Specifies whether the read replica can be deleted. Set to true to prevent deletion, false (default) to allow. Note that if a read replica is delete protected it also prevents the entire DB System from being deleted. If the DB System is delete protected, read replicas can still be deleted individually if they are not delete protected themselves. - // - // ** 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 IsDeleteProtected pulumi.BoolPtrInput + // (Updatable) By default a read replica inherits the MySQL version, shape, and configuration of the source DB system. If you want to override any of these, provide values in the properties, mysqlVersion, shapeName, and configurationId. If you set a property value to "", then the value is inherited from its source DB system. + ReplicaOverrides ReplicaReplicaOverridesPtrInput } func (ReplicaArgs) ElementType() reflect.Type { @@ -377,6 +398,11 @@ func (o ReplicaOutput) CompartmentId() pulumi.StringOutput { return o.ApplyT(func(v *Replica) pulumi.StringOutput { return v.CompartmentId }).(pulumi.StringOutput) } +// (Updatable) The OCID of the Configuration to be used by the read replica. +func (o ReplicaOutput) ConfigurationId() pulumi.StringOutput { + return o.ApplyT(func(v *Replica) pulumi.StringOutput { return v.ConfigurationId }).(pulumi.StringOutput) +} + // The OCID of the DB System the read replica is associated with. func (o ReplicaOutput) DbSystemId() pulumi.StringOutput { return o.ApplyT(func(v *Replica) pulumi.StringOutput { return v.DbSystemId }).(pulumi.StringOutput) @@ -413,9 +439,6 @@ func (o ReplicaOutput) IpAddress() pulumi.StringOutput { } // (Updatable) Specifies whether the read replica can be deleted. Set to true to prevent deletion, false (default) to allow. Note that if a read replica is delete protected it also prevents the entire DB System from being deleted. If the DB System is delete protected, read replicas can still be deleted individually if they are not delete protected themselves. -// -// ** 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 func (o ReplicaOutput) IsDeleteProtected() pulumi.BoolOutput { return o.ApplyT(func(v *Replica) pulumi.BoolOutput { return v.IsDeleteProtected }).(pulumi.BoolOutput) } @@ -425,7 +448,7 @@ func (o ReplicaOutput) LifecycleDetails() pulumi.StringOutput { return o.ApplyT(func(v *Replica) pulumi.StringOutput { return v.LifecycleDetails }).(pulumi.StringOutput) } -// The MySQL version used by the read replica. +// (Updatable) The MySQL version to be used by the read replica. func (o ReplicaOutput) MysqlVersion() pulumi.StringOutput { return o.ApplyT(func(v *Replica) pulumi.StringOutput { return v.MysqlVersion }).(pulumi.StringOutput) } @@ -440,6 +463,19 @@ func (o ReplicaOutput) PortX() pulumi.IntOutput { return o.ApplyT(func(v *Replica) pulumi.IntOutput { return v.PortX }).(pulumi.IntOutput) } +// (Updatable) By default a read replica inherits the MySQL version, shape, and configuration of the source DB system. If you want to override any of these, provide values in the properties, mysqlVersion, shapeName, and configurationId. If you set a property value to "", then the value is inherited from its source DB system. +func (o ReplicaOutput) ReplicaOverrides() ReplicaReplicaOverridesOutput { + return o.ApplyT(func(v *Replica) ReplicaReplicaOverridesOutput { return v.ReplicaOverrides }).(ReplicaReplicaOverridesOutput) +} + +// (Updatable) The shape to be used by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. +// +// ** 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 +func (o ReplicaOutput) ShapeName() pulumi.StringOutput { + return o.ApplyT(func(v *Replica) pulumi.StringOutput { return v.ShapeName }).(pulumi.StringOutput) +} + // The state of the read replica. func (o ReplicaOutput) State() pulumi.StringOutput { return o.ApplyT(func(v *Replica) pulumi.StringOutput { return v.State }).(pulumi.StringOutput) diff --git a/sdk/go/oci/ocvp/esxiHost.go b/sdk/go/oci/ocvp/esxiHost.go index 9f669f5d68..2aabb98baa 100644 --- a/sdk/go/oci/ocvp/esxiHost.go +++ b/sdk/go/oci/ocvp/esxiHost.go @@ -69,9 +69,8 @@ type EsxiHost struct { // Indicates whether this host is in the progress of billing continuation. IsBillingContinuationInProgress pulumi.BoolOutput `pulumi:"isBillingContinuationInProgress"` // Indicates whether this host is in the progress of swapping billing. - IsBillingSwappingInProgress pulumi.BoolOutput `pulumi:"isBillingSwappingInProgress"` - // The billing option to switch to after the current billing cycle ends. If `nextSku` is null or empty, `currentSku` continues to the next billing cycle. [ListSupportedSkus](https://docs.cloud.oracle.com/iaas/api/#/en/vmware/20200501/SupportedSkuSummary/ListSupportedSkus). - NextSku pulumi.StringOutput `pulumi:"nextSku"` + IsBillingSwappingInProgress pulumi.BoolOutput `pulumi:"isBillingSwappingInProgress"` + NextSku pulumi.StringOutput `pulumi:"nextSku"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ESXi host that will be upgraded. This is an optional parameter. If this parameter is specified, an ESXi host with the new software version is created to replace the original one, and the `nonUpgradedEsxiHostId` field is updated in the newly created Esxi host. See [Upgrading VMware Software](https://docs.cloud.oracle.com/iaas/Content/VMware/Concepts/upgrade.htm) for more information. NonUpgradedEsxiHostId pulumi.StringOutput `pulumi:"nonUpgradedEsxiHostId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the esxi host that is newly created to replace the failed node. @@ -163,9 +162,8 @@ type esxiHostState struct { // Indicates whether this host is in the progress of billing continuation. IsBillingContinuationInProgress *bool `pulumi:"isBillingContinuationInProgress"` // Indicates whether this host is in the progress of swapping billing. - IsBillingSwappingInProgress *bool `pulumi:"isBillingSwappingInProgress"` - // The billing option to switch to after the current billing cycle ends. If `nextSku` is null or empty, `currentSku` continues to the next billing cycle. [ListSupportedSkus](https://docs.cloud.oracle.com/iaas/api/#/en/vmware/20200501/SupportedSkuSummary/ListSupportedSkus). - NextSku *string `pulumi:"nextSku"` + IsBillingSwappingInProgress *bool `pulumi:"isBillingSwappingInProgress"` + NextSku *string `pulumi:"nextSku"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ESXi host that will be upgraded. This is an optional parameter. If this parameter is specified, an ESXi host with the new software version is created to replace the original one, and the `nonUpgradedEsxiHostId` field is updated in the newly created Esxi host. See [Upgrading VMware Software](https://docs.cloud.oracle.com/iaas/Content/VMware/Concepts/upgrade.htm) for more information. NonUpgradedEsxiHostId *string `pulumi:"nonUpgradedEsxiHostId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the esxi host that is newly created to replace the failed node. @@ -226,8 +224,7 @@ type EsxiHostState struct { IsBillingContinuationInProgress pulumi.BoolPtrInput // Indicates whether this host is in the progress of swapping billing. IsBillingSwappingInProgress pulumi.BoolPtrInput - // The billing option to switch to after the current billing cycle ends. If `nextSku` is null or empty, `currentSku` continues to the next billing cycle. [ListSupportedSkus](https://docs.cloud.oracle.com/iaas/api/#/en/vmware/20200501/SupportedSkuSummary/ListSupportedSkus). - NextSku pulumi.StringPtrInput + NextSku pulumi.StringPtrInput // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ESXi host that will be upgraded. This is an optional parameter. If this parameter is specified, an ESXi host with the new software version is created to replace the original one, and the `nonUpgradedEsxiHostId` field is updated in the newly created Esxi host. See [Upgrading VMware Software](https://docs.cloud.oracle.com/iaas/Content/VMware/Concepts/upgrade.htm) for more information. NonUpgradedEsxiHostId pulumi.StringPtrInput // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the esxi host that is newly created to replace the failed node. @@ -280,8 +277,7 @@ type esxiHostArgs struct { HostOcpuCount *float64 `pulumi:"hostOcpuCount"` // The compute shape name of the ESXi host. [ListSupportedHostShapes](https://docs.cloud.oracle.com/iaas/api/#/en/vmware/20200501/SupportedHostShapes/ListSupportedHostShapes). HostShapeName *string `pulumi:"hostShapeName"` - // The billing option to switch to after the current billing cycle ends. If `nextSku` is null or empty, `currentSku` continues to the next billing cycle. [ListSupportedSkus](https://docs.cloud.oracle.com/iaas/api/#/en/vmware/20200501/SupportedSkuSummary/ListSupportedSkus). - NextSku *string `pulumi:"nextSku"` + NextSku *string `pulumi:"nextSku"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ESXi host that will be upgraded. This is an optional parameter. If this parameter is specified, an ESXi host with the new software version is created to replace the original one, and the `nonUpgradedEsxiHostId` field is updated in the newly created Esxi host. See [Upgrading VMware Software](https://docs.cloud.oracle.com/iaas/Content/VMware/Concepts/upgrade.htm) for more information. NonUpgradedEsxiHostId *string `pulumi:"nonUpgradedEsxiHostId"` // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the SDDC to add the ESXi host to. @@ -319,8 +315,7 @@ type EsxiHostArgs struct { HostOcpuCount pulumi.Float64PtrInput // The compute shape name of the ESXi host. [ListSupportedHostShapes](https://docs.cloud.oracle.com/iaas/api/#/en/vmware/20200501/SupportedHostShapes/ListSupportedHostShapes). HostShapeName pulumi.StringPtrInput - // The billing option to switch to after the current billing cycle ends. If `nextSku` is null or empty, `currentSku` continues to the next billing cycle. [ListSupportedSkus](https://docs.cloud.oracle.com/iaas/api/#/en/vmware/20200501/SupportedSkuSummary/ListSupportedSkus). - NextSku pulumi.StringPtrInput + NextSku pulumi.StringPtrInput // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ESXi host that will be upgraded. This is an optional parameter. If this parameter is specified, an ESXi host with the new software version is created to replace the original one, and the `nonUpgradedEsxiHostId` field is updated in the newly created Esxi host. See [Upgrading VMware Software](https://docs.cloud.oracle.com/iaas/Content/VMware/Concepts/upgrade.htm) for more information. NonUpgradedEsxiHostId pulumi.StringPtrInput // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the SDDC to add the ESXi host to. @@ -527,7 +522,6 @@ func (o EsxiHostOutput) IsBillingSwappingInProgress() pulumi.BoolOutput { return o.ApplyT(func(v *EsxiHost) pulumi.BoolOutput { return v.IsBillingSwappingInProgress }).(pulumi.BoolOutput) } -// The billing option to switch to after the current billing cycle ends. If `nextSku` is null or empty, `currentSku` continues to the next billing cycle. [ListSupportedSkus](https://docs.cloud.oracle.com/iaas/api/#/en/vmware/20200501/SupportedSkuSummary/ListSupportedSkus). func (o EsxiHostOutput) NextSku() pulumi.StringOutput { return o.ApplyT(func(v *EsxiHost) pulumi.StringOutput { return v.NextSku }).(pulumi.StringOutput) } diff --git a/sdk/go/oci/queue/getQueue.go b/sdk/go/oci/queue/getQueue.go index 8ba24966ee..ea408f20c9 100644 --- a/sdk/go/oci/queue/getQueue.go +++ b/sdk/go/oci/queue/getQueue.go @@ -14,7 +14,7 @@ import ( // This data source provides details about a specific Queue resource in Oracle Cloud Infrastructure Queue service. // -// # Gets a Queue by identifier +// Gets a queue by identifier. // // ## Example Usage // @@ -53,27 +53,29 @@ func LookupQueue(ctx *pulumi.Context, args *LookupQueueArgs, opts ...pulumi.Invo // A collection of arguments for invoking getQueue. type LookupQueueArgs struct { - // unique Queue identifier + // The unique queue identifier. QueueId string `pulumi:"queueId"` } // A collection of values returned by getQueue. type LookupQueueResult struct { - // Compartment Identifier + // The percentage of allocated queue resources that can be consumed by a single channel. For example, if a queue has a storage limit of 2Gb, and a single channel consumption limit is 0.1 (10%), that means data size of a single channel can't exceed 200Mb. Consumption limit of 100% (default) means that a single channel can consume up-to all allocated queue's resources. + ChannelConsumptionLimit int `pulumi:"channelConsumptionLimit"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the queue. CompartmentId string `pulumi:"compartmentId"` - // Id of the custom master encryption key which will be used to encrypt messages content + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the custom encryption key to be used to encrypt messages content. CustomEncryptionKeyId string `pulumi:"customEncryptionKeyId"` // The number of times a message can be delivered to a consumer before being moved to the dead letter queue. A value of 0 indicates that the DLQ is not used. DeadLetterQueueDeliveryCount int `pulumi:"deadLetterQueueDeliveryCount"` // Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` DefinedTags map[string]interface{} `pulumi:"definedTags"` - // Queue Identifier, can be renamed + // A user-friendly name for the queue. Does not have to be unique, and it's changeable. Avoid entering confidential information. DisplayName string `pulumi:"displayName"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` FreeformTags map[string]interface{} `pulumi:"freeformTags"` - // Unique identifier that is immutable on creation + // A unique identifier for the queue that is immutable on creation. Id string `pulumi:"id"` - // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. + // Any additional details about the current state of the queue. LifecycleDetails string `pulumi:"lifecycleDetails"` // The endpoint to use to consume or publish messages in the queue. MessagesEndpoint string `pulumi:"messagesEndpoint"` @@ -82,17 +84,17 @@ type LookupQueueResult struct { QueueId string `pulumi:"queueId"` // The retention period of the messages in the queue, in seconds. RetentionInSeconds int `pulumi:"retentionInSeconds"` - // The current state of the Queue. + // The current state of the queue. State string `pulumi:"state"` // Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` SystemTags map[string]interface{} `pulumi:"systemTags"` - // The time the the Queue was created. An RFC3339 formatted datetime string + // The time that the queue was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` TimeCreated string `pulumi:"timeCreated"` - // The time the Queue was updated. An RFC3339 formatted datetime string + // The time that the queue was updated, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` TimeUpdated string `pulumi:"timeUpdated"` // The default polling timeout of the messages in the queue, in seconds. TimeoutInSeconds int `pulumi:"timeoutInSeconds"` - // The default visibility of the messages consumed from the queue. + // The default visibility timeout of the messages consumed from the queue, in seconds. VisibilityInSeconds int `pulumi:"visibilityInSeconds"` } @@ -111,7 +113,7 @@ func LookupQueueOutput(ctx *pulumi.Context, args LookupQueueOutputArgs, opts ... // A collection of arguments for invoking getQueue. type LookupQueueOutputArgs struct { - // unique Queue identifier + // The unique queue identifier. QueueId pulumi.StringInput `pulumi:"queueId"` } @@ -140,12 +142,17 @@ func (o LookupQueueResultOutput) ToOutput(ctx context.Context) pulumix.Output[Lo } } -// Compartment Identifier +// The percentage of allocated queue resources that can be consumed by a single channel. For example, if a queue has a storage limit of 2Gb, and a single channel consumption limit is 0.1 (10%), that means data size of a single channel can't exceed 200Mb. Consumption limit of 100% (default) means that a single channel can consume up-to all allocated queue's resources. +func (o LookupQueueResultOutput) ChannelConsumptionLimit() pulumi.IntOutput { + return o.ApplyT(func(v LookupQueueResult) int { return v.ChannelConsumptionLimit }).(pulumi.IntOutput) +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the queue. func (o LookupQueueResultOutput) CompartmentId() pulumi.StringOutput { return o.ApplyT(func(v LookupQueueResult) string { return v.CompartmentId }).(pulumi.StringOutput) } -// Id of the custom master encryption key which will be used to encrypt messages content +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the custom encryption key to be used to encrypt messages content. func (o LookupQueueResultOutput) CustomEncryptionKeyId() pulumi.StringOutput { return o.ApplyT(func(v LookupQueueResult) string { return v.CustomEncryptionKeyId }).(pulumi.StringOutput) } @@ -160,7 +167,7 @@ func (o LookupQueueResultOutput) DefinedTags() pulumi.MapOutput { return o.ApplyT(func(v LookupQueueResult) map[string]interface{} { return v.DefinedTags }).(pulumi.MapOutput) } -// Queue Identifier, can be renamed +// A user-friendly name for the queue. Does not have to be unique, and it's changeable. Avoid entering confidential information. func (o LookupQueueResultOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v LookupQueueResult) string { return v.DisplayName }).(pulumi.StringOutput) } @@ -170,12 +177,12 @@ func (o LookupQueueResultOutput) FreeformTags() pulumi.MapOutput { return o.ApplyT(func(v LookupQueueResult) map[string]interface{} { return v.FreeformTags }).(pulumi.MapOutput) } -// Unique identifier that is immutable on creation +// A unique identifier for the queue that is immutable on creation. func (o LookupQueueResultOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v LookupQueueResult) string { return v.Id }).(pulumi.StringOutput) } -// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. +// Any additional details about the current state of the queue. func (o LookupQueueResultOutput) LifecycleDetails() pulumi.StringOutput { return o.ApplyT(func(v LookupQueueResult) string { return v.LifecycleDetails }).(pulumi.StringOutput) } @@ -202,7 +209,7 @@ func (o LookupQueueResultOutput) RetentionInSeconds() pulumi.IntOutput { return o.ApplyT(func(v LookupQueueResult) int { return v.RetentionInSeconds }).(pulumi.IntOutput) } -// The current state of the Queue. +// The current state of the queue. func (o LookupQueueResultOutput) State() pulumi.StringOutput { return o.ApplyT(func(v LookupQueueResult) string { return v.State }).(pulumi.StringOutput) } @@ -212,12 +219,12 @@ func (o LookupQueueResultOutput) SystemTags() pulumi.MapOutput { return o.ApplyT(func(v LookupQueueResult) map[string]interface{} { return v.SystemTags }).(pulumi.MapOutput) } -// The time the the Queue was created. An RFC3339 formatted datetime string +// The time that the queue was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` func (o LookupQueueResultOutput) TimeCreated() pulumi.StringOutput { return o.ApplyT(func(v LookupQueueResult) string { return v.TimeCreated }).(pulumi.StringOutput) } -// The time the Queue was updated. An RFC3339 formatted datetime string +// The time that the queue was updated, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` func (o LookupQueueResultOutput) TimeUpdated() pulumi.StringOutput { return o.ApplyT(func(v LookupQueueResult) string { return v.TimeUpdated }).(pulumi.StringOutput) } @@ -227,7 +234,7 @@ func (o LookupQueueResultOutput) TimeoutInSeconds() pulumi.IntOutput { return o.ApplyT(func(v LookupQueueResult) int { return v.TimeoutInSeconds }).(pulumi.IntOutput) } -// The default visibility of the messages consumed from the queue. +// The default visibility timeout of the messages consumed from the queue, in seconds. func (o LookupQueueResultOutput) VisibilityInSeconds() pulumi.IntOutput { return o.ApplyT(func(v LookupQueueResult) int { return v.VisibilityInSeconds }).(pulumi.IntOutput) } diff --git a/sdk/go/oci/queue/getQueues.go b/sdk/go/oci/queue/getQueues.go index aac49c25c0..4cbb42f4ab 100644 --- a/sdk/go/oci/queue/getQueues.go +++ b/sdk/go/oci/queue/getQueues.go @@ -14,7 +14,7 @@ import ( // This data source provides the list of Queues in Oracle Cloud Infrastructure Queue service. // -// Returns a list of Queues. +// Returns a list of queues. // // ## Example Usage // @@ -56,12 +56,12 @@ func GetQueues(ctx *pulumi.Context, args *GetQueuesArgs, opts ...pulumi.InvokeOp // A collection of arguments for invoking getQueues. type GetQueuesArgs struct { - // The ID of the compartment in which to list resources. + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. CompartmentId *string `pulumi:"compartmentId"` // A filter to return only resources that match the entire display name given. DisplayName *string `pulumi:"displayName"` Filters []GetQueuesFilter `pulumi:"filters"` - // unique Queue identifier + // The unique queue identifier. Id *string `pulumi:"id"` // A filter to return only resources their lifecycleState matches the given lifecycleState. State *string `pulumi:"state"` @@ -69,16 +69,16 @@ type GetQueuesArgs struct { // A collection of values returned by getQueues. type GetQueuesResult struct { - // Compartment Identifier + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the queue. CompartmentId *string `pulumi:"compartmentId"` - // Queue Identifier, can be renamed + // A user-friendly name for the queue. Does not have to be unique, and it's changeable. Avoid entering confidential information. DisplayName *string `pulumi:"displayName"` Filters []GetQueuesFilter `pulumi:"filters"` - // Unique identifier that is immutable on creation + // A unique identifier for the queue that is immutable on creation. Id *string `pulumi:"id"` // The list of queue_collection. QueueCollections []GetQueuesQueueCollection `pulumi:"queueCollections"` - // The current state of the Queue. + // The current state of the queue. State *string `pulumi:"state"` } @@ -97,12 +97,12 @@ func GetQueuesOutput(ctx *pulumi.Context, args GetQueuesOutputArgs, opts ...pulu // A collection of arguments for invoking getQueues. type GetQueuesOutputArgs struct { - // The ID of the compartment in which to list resources. + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. CompartmentId pulumi.StringPtrInput `pulumi:"compartmentId"` // A filter to return only resources that match the entire display name given. DisplayName pulumi.StringPtrInput `pulumi:"displayName"` Filters GetQueuesFilterArrayInput `pulumi:"filters"` - // unique Queue identifier + // The unique queue identifier. Id pulumi.StringPtrInput `pulumi:"id"` // A filter to return only resources their lifecycleState matches the given lifecycleState. State pulumi.StringPtrInput `pulumi:"state"` @@ -133,12 +133,12 @@ func (o GetQueuesResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetQ } } -// Compartment Identifier +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the queue. func (o GetQueuesResultOutput) CompartmentId() pulumi.StringPtrOutput { return o.ApplyT(func(v GetQueuesResult) *string { return v.CompartmentId }).(pulumi.StringPtrOutput) } -// Queue Identifier, can be renamed +// A user-friendly name for the queue. Does not have to be unique, and it's changeable. Avoid entering confidential information. func (o GetQueuesResultOutput) DisplayName() pulumi.StringPtrOutput { return o.ApplyT(func(v GetQueuesResult) *string { return v.DisplayName }).(pulumi.StringPtrOutput) } @@ -147,7 +147,7 @@ func (o GetQueuesResultOutput) Filters() GetQueuesFilterArrayOutput { return o.ApplyT(func(v GetQueuesResult) []GetQueuesFilter { return v.Filters }).(GetQueuesFilterArrayOutput) } -// Unique identifier that is immutable on creation +// A unique identifier for the queue that is immutable on creation. func (o GetQueuesResultOutput) Id() pulumi.StringPtrOutput { return o.ApplyT(func(v GetQueuesResult) *string { return v.Id }).(pulumi.StringPtrOutput) } @@ -157,7 +157,7 @@ func (o GetQueuesResultOutput) QueueCollections() GetQueuesQueueCollectionArrayO return o.ApplyT(func(v GetQueuesResult) []GetQueuesQueueCollection { return v.QueueCollections }).(GetQueuesQueueCollectionArrayOutput) } -// The current state of the Queue. +// The current state of the queue. func (o GetQueuesResultOutput) State() pulumi.StringPtrOutput { return o.ApplyT(func(v GetQueuesResult) *string { return v.State }).(pulumi.StringPtrOutput) } diff --git a/sdk/go/oci/queue/pulumiTypes.go b/sdk/go/oci/queue/pulumiTypes.go index 554530a52a..a0956937a9 100644 --- a/sdk/go/oci/queue/pulumiTypes.go +++ b/sdk/go/oci/queue/pulumiTypes.go @@ -263,9 +263,11 @@ func (o GetQueuesQueueCollectionArrayOutput) Index(i pulumi.IntInput) GetQueuesQ } type GetQueuesQueueCollectionItem struct { - // The ID of the compartment in which to list resources. + // The percentage of allocated queue resources that can be consumed by a single channel. For example, if a queue has a storage limit of 2Gb, and a single channel consumption limit is 0.1 (10%), that means data size of a single channel can't exceed 200Mb. Consumption limit of 100% (default) means that a single channel can consume up-to all allocated queue's resources. + ChannelConsumptionLimit int `pulumi:"channelConsumptionLimit"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. CompartmentId string `pulumi:"compartmentId"` - // Id of the custom master encryption key which will be used to encrypt messages content + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the custom encryption key to be used to encrypt messages content. CustomEncryptionKeyId string `pulumi:"customEncryptionKeyId"` // The number of times a message can be delivered to a consumer before being moved to the dead letter queue. A value of 0 indicates that the DLQ is not used. DeadLetterQueueDeliveryCount int `pulumi:"deadLetterQueueDeliveryCount"` @@ -275,9 +277,9 @@ type GetQueuesQueueCollectionItem struct { DisplayName string `pulumi:"displayName"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` FreeformTags map[string]interface{} `pulumi:"freeformTags"` - // unique Queue identifier + // The unique queue identifier. Id string `pulumi:"id"` - // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. + // Any additional details about the current state of the queue. LifecycleDetails string `pulumi:"lifecycleDetails"` // The endpoint to use to consume or publish messages in the queue. MessagesEndpoint string `pulumi:"messagesEndpoint"` @@ -289,13 +291,13 @@ type GetQueuesQueueCollectionItem struct { State string `pulumi:"state"` // Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` SystemTags map[string]interface{} `pulumi:"systemTags"` - // The time the the Queue was created. An RFC3339 formatted datetime string + // The time that the queue was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` TimeCreated string `pulumi:"timeCreated"` - // The time the Queue was updated. An RFC3339 formatted datetime string + // The time that the queue was updated, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` TimeUpdated string `pulumi:"timeUpdated"` // The default polling timeout of the messages in the queue, in seconds. TimeoutInSeconds int `pulumi:"timeoutInSeconds"` - // The default visibility of the messages consumed from the queue. + // The default visibility timeout of the messages consumed from the queue, in seconds. VisibilityInSeconds int `pulumi:"visibilityInSeconds"` } @@ -311,9 +313,11 @@ type GetQueuesQueueCollectionItemInput interface { } type GetQueuesQueueCollectionItemArgs struct { - // The ID of the compartment in which to list resources. + // The percentage of allocated queue resources that can be consumed by a single channel. For example, if a queue has a storage limit of 2Gb, and a single channel consumption limit is 0.1 (10%), that means data size of a single channel can't exceed 200Mb. Consumption limit of 100% (default) means that a single channel can consume up-to all allocated queue's resources. + ChannelConsumptionLimit pulumi.IntInput `pulumi:"channelConsumptionLimit"` + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. CompartmentId pulumi.StringInput `pulumi:"compartmentId"` - // Id of the custom master encryption key which will be used to encrypt messages content + // The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the custom encryption key to be used to encrypt messages content. CustomEncryptionKeyId pulumi.StringInput `pulumi:"customEncryptionKeyId"` // The number of times a message can be delivered to a consumer before being moved to the dead letter queue. A value of 0 indicates that the DLQ is not used. DeadLetterQueueDeliveryCount pulumi.IntInput `pulumi:"deadLetterQueueDeliveryCount"` @@ -323,9 +327,9 @@ type GetQueuesQueueCollectionItemArgs struct { DisplayName pulumi.StringInput `pulumi:"displayName"` // Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` FreeformTags pulumi.MapInput `pulumi:"freeformTags"` - // unique Queue identifier + // The unique queue identifier. Id pulumi.StringInput `pulumi:"id"` - // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. + // Any additional details about the current state of the queue. LifecycleDetails pulumi.StringInput `pulumi:"lifecycleDetails"` // The endpoint to use to consume or publish messages in the queue. MessagesEndpoint pulumi.StringInput `pulumi:"messagesEndpoint"` @@ -337,13 +341,13 @@ type GetQueuesQueueCollectionItemArgs struct { State pulumi.StringInput `pulumi:"state"` // Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` SystemTags pulumi.MapInput `pulumi:"systemTags"` - // The time the the Queue was created. An RFC3339 formatted datetime string + // The time that the queue was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` TimeCreated pulumi.StringInput `pulumi:"timeCreated"` - // The time the Queue was updated. An RFC3339 formatted datetime string + // The time that the queue was updated, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` TimeUpdated pulumi.StringInput `pulumi:"timeUpdated"` // The default polling timeout of the messages in the queue, in seconds. TimeoutInSeconds pulumi.IntInput `pulumi:"timeoutInSeconds"` - // The default visibility of the messages consumed from the queue. + // The default visibility timeout of the messages consumed from the queue, in seconds. VisibilityInSeconds pulumi.IntInput `pulumi:"visibilityInSeconds"` } @@ -416,12 +420,17 @@ func (o GetQueuesQueueCollectionItemOutput) ToOutput(ctx context.Context) pulumi } } -// The ID of the compartment in which to list resources. +// The percentage of allocated queue resources that can be consumed by a single channel. For example, if a queue has a storage limit of 2Gb, and a single channel consumption limit is 0.1 (10%), that means data size of a single channel can't exceed 200Mb. Consumption limit of 100% (default) means that a single channel can consume up-to all allocated queue's resources. +func (o GetQueuesQueueCollectionItemOutput) ChannelConsumptionLimit() pulumi.IntOutput { + return o.ApplyT(func(v GetQueuesQueueCollectionItem) int { return v.ChannelConsumptionLimit }).(pulumi.IntOutput) +} + +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. func (o GetQueuesQueueCollectionItemOutput) CompartmentId() pulumi.StringOutput { return o.ApplyT(func(v GetQueuesQueueCollectionItem) string { return v.CompartmentId }).(pulumi.StringOutput) } -// Id of the custom master encryption key which will be used to encrypt messages content +// The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the custom encryption key to be used to encrypt messages content. func (o GetQueuesQueueCollectionItemOutput) CustomEncryptionKeyId() pulumi.StringOutput { return o.ApplyT(func(v GetQueuesQueueCollectionItem) string { return v.CustomEncryptionKeyId }).(pulumi.StringOutput) } @@ -446,12 +455,12 @@ func (o GetQueuesQueueCollectionItemOutput) FreeformTags() pulumi.MapOutput { return o.ApplyT(func(v GetQueuesQueueCollectionItem) map[string]interface{} { return v.FreeformTags }).(pulumi.MapOutput) } -// unique Queue identifier +// The unique queue identifier. func (o GetQueuesQueueCollectionItemOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GetQueuesQueueCollectionItem) string { return v.Id }).(pulumi.StringOutput) } -// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. +// Any additional details about the current state of the queue. func (o GetQueuesQueueCollectionItemOutput) LifecycleDetails() pulumi.StringOutput { return o.ApplyT(func(v GetQueuesQueueCollectionItem) string { return v.LifecycleDetails }).(pulumi.StringOutput) } @@ -484,12 +493,12 @@ func (o GetQueuesQueueCollectionItemOutput) SystemTags() pulumi.MapOutput { return o.ApplyT(func(v GetQueuesQueueCollectionItem) map[string]interface{} { return v.SystemTags }).(pulumi.MapOutput) } -// The time the the Queue was created. An RFC3339 formatted datetime string +// The time that the queue was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` func (o GetQueuesQueueCollectionItemOutput) TimeCreated() pulumi.StringOutput { return o.ApplyT(func(v GetQueuesQueueCollectionItem) string { return v.TimeCreated }).(pulumi.StringOutput) } -// The time the Queue was updated. An RFC3339 formatted datetime string +// The time that the queue was updated, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` func (o GetQueuesQueueCollectionItemOutput) TimeUpdated() pulumi.StringOutput { return o.ApplyT(func(v GetQueuesQueueCollectionItem) string { return v.TimeUpdated }).(pulumi.StringOutput) } @@ -499,7 +508,7 @@ func (o GetQueuesQueueCollectionItemOutput) TimeoutInSeconds() pulumi.IntOutput return o.ApplyT(func(v GetQueuesQueueCollectionItem) int { return v.TimeoutInSeconds }).(pulumi.IntOutput) } -// The default visibility of the messages consumed from the queue. +// The default visibility timeout of the messages consumed from the queue, in seconds. func (o GetQueuesQueueCollectionItemOutput) VisibilityInSeconds() pulumi.IntOutput { return o.ApplyT(func(v GetQueuesQueueCollectionItem) int { return v.VisibilityInSeconds }).(pulumi.IntOutput) } diff --git a/sdk/go/oci/queue/queue.go b/sdk/go/oci/queue/queue.go index ca106908bc..d04705d33a 100644 --- a/sdk/go/oci/queue/queue.go +++ b/sdk/go/oci/queue/queue.go @@ -15,7 +15,7 @@ import ( // This resource provides the Queue resource in Oracle Cloud Infrastructure Queue service. // -// Creates a new Queue. +// Creates a new queue. // // ## Example Usage // @@ -34,6 +34,7 @@ import ( // _, err := Queue.NewQueue(ctx, "testQueue", &Queue.QueueArgs{ // CompartmentId: pulumi.Any(_var.Compartment_id), // DisplayName: pulumi.Any(_var.Queue_display_name), +// ChannelConsumptionLimit: pulumi.Any(_var.Queue_channel_consumption_limit), // CustomEncryptionKeyId: pulumi.Any(oci_kms_key.Test_key.Id), // DeadLetterQueueDeliveryCount: pulumi.Any(_var.Queue_dead_letter_queue_delivery_count), // DefinedTags: pulumi.AnyMap{ @@ -67,37 +68,39 @@ import ( type Queue struct { pulumi.CustomResourceState - // (Updatable) Compartment Identifier + // (Updatable) The percentage of allocated queue resources that can be consumed by a single channel. For example, if a queue has a storage limit of 2Gb, and a single channel consumption limit is 0.1 (10%), that means data size of a single channel can't exceed 200Mb. Consumption limit of 100% (default) means that a single channel can consume up-to all allocated queue's resources. + ChannelConsumptionLimit pulumi.IntOutput `pulumi:"channelConsumptionLimit"` + // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the queue. CompartmentId pulumi.StringOutput `pulumi:"compartmentId"` - // (Updatable) Id of the custom master encryption key which will be used to encrypt messages content + // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the custom encryption key to be used to encrypt messages content. CustomEncryptionKeyId pulumi.StringOutput `pulumi:"customEncryptionKeyId"` // (Updatable) The number of times a message can be delivered to a consumer before being moved to the dead letter queue. A value of 0 indicates that the DLQ is not used. DeadLetterQueueDeliveryCount pulumi.IntOutput `pulumi:"deadLetterQueueDeliveryCount"` // (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` DefinedTags pulumi.MapOutput `pulumi:"definedTags"` - // (Updatable) Queue Identifier + // (Updatable) The user-friendly name of the queue. DisplayName pulumi.StringOutput `pulumi:"displayName"` // (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` FreeformTags pulumi.MapOutput `pulumi:"freeformTags"` - // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. + // Any additional details about the current state of the queue. LifecycleDetails pulumi.StringOutput `pulumi:"lifecycleDetails"` // The endpoint to use to consume or publish messages in the queue. MessagesEndpoint pulumi.StringOutput `pulumi:"messagesEndpoint"` PurgeQueue pulumi.BoolPtrOutput `pulumi:"purgeQueue"` PurgeType pulumi.StringPtrOutput `pulumi:"purgeType"` - // The retention period of the messages in the queue, in seconds. + // The retention period of messages in the queue, in seconds. RetentionInSeconds pulumi.IntOutput `pulumi:"retentionInSeconds"` - // The current state of the Queue. + // The current state of the queue. State pulumi.StringOutput `pulumi:"state"` // Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` SystemTags pulumi.MapOutput `pulumi:"systemTags"` - // The time the the Queue was created. An RFC3339 formatted datetime string + // The time that the queue was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` TimeCreated pulumi.StringOutput `pulumi:"timeCreated"` - // The time the Queue was updated. An RFC3339 formatted datetime string + // The time that the queue was updated, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` TimeUpdated pulumi.StringOutput `pulumi:"timeUpdated"` // (Updatable) The default polling timeout of the messages in the queue, in seconds. TimeoutInSeconds pulumi.IntOutput `pulumi:"timeoutInSeconds"` - // (Updatable) The default visibility of the messages consumed from the queue. + // (Updatable) The default visibility timeout of the messages consumed from the queue, in seconds. VisibilityInSeconds pulumi.IntOutput `pulumi:"visibilityInSeconds"` } @@ -137,72 +140,76 @@ func GetQueue(ctx *pulumi.Context, // Input properties used for looking up and filtering Queue resources. type queueState struct { - // (Updatable) Compartment Identifier + // (Updatable) The percentage of allocated queue resources that can be consumed by a single channel. For example, if a queue has a storage limit of 2Gb, and a single channel consumption limit is 0.1 (10%), that means data size of a single channel can't exceed 200Mb. Consumption limit of 100% (default) means that a single channel can consume up-to all allocated queue's resources. + ChannelConsumptionLimit *int `pulumi:"channelConsumptionLimit"` + // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the queue. CompartmentId *string `pulumi:"compartmentId"` - // (Updatable) Id of the custom master encryption key which will be used to encrypt messages content + // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the custom encryption key to be used to encrypt messages content. CustomEncryptionKeyId *string `pulumi:"customEncryptionKeyId"` // (Updatable) The number of times a message can be delivered to a consumer before being moved to the dead letter queue. A value of 0 indicates that the DLQ is not used. DeadLetterQueueDeliveryCount *int `pulumi:"deadLetterQueueDeliveryCount"` // (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` DefinedTags map[string]interface{} `pulumi:"definedTags"` - // (Updatable) Queue Identifier + // (Updatable) The user-friendly name of the queue. DisplayName *string `pulumi:"displayName"` // (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` FreeformTags map[string]interface{} `pulumi:"freeformTags"` - // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. + // Any additional details about the current state of the queue. LifecycleDetails *string `pulumi:"lifecycleDetails"` // The endpoint to use to consume or publish messages in the queue. MessagesEndpoint *string `pulumi:"messagesEndpoint"` PurgeQueue *bool `pulumi:"purgeQueue"` PurgeType *string `pulumi:"purgeType"` - // The retention period of the messages in the queue, in seconds. + // The retention period of messages in the queue, in seconds. RetentionInSeconds *int `pulumi:"retentionInSeconds"` - // The current state of the Queue. + // The current state of the queue. State *string `pulumi:"state"` // Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` SystemTags map[string]interface{} `pulumi:"systemTags"` - // The time the the Queue was created. An RFC3339 formatted datetime string + // The time that the queue was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` TimeCreated *string `pulumi:"timeCreated"` - // The time the Queue was updated. An RFC3339 formatted datetime string + // The time that the queue was updated, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` TimeUpdated *string `pulumi:"timeUpdated"` // (Updatable) The default polling timeout of the messages in the queue, in seconds. TimeoutInSeconds *int `pulumi:"timeoutInSeconds"` - // (Updatable) The default visibility of the messages consumed from the queue. + // (Updatable) The default visibility timeout of the messages consumed from the queue, in seconds. VisibilityInSeconds *int `pulumi:"visibilityInSeconds"` } type QueueState struct { - // (Updatable) Compartment Identifier + // (Updatable) The percentage of allocated queue resources that can be consumed by a single channel. For example, if a queue has a storage limit of 2Gb, and a single channel consumption limit is 0.1 (10%), that means data size of a single channel can't exceed 200Mb. Consumption limit of 100% (default) means that a single channel can consume up-to all allocated queue's resources. + ChannelConsumptionLimit pulumi.IntPtrInput + // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the queue. CompartmentId pulumi.StringPtrInput - // (Updatable) Id of the custom master encryption key which will be used to encrypt messages content + // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the custom encryption key to be used to encrypt messages content. CustomEncryptionKeyId pulumi.StringPtrInput // (Updatable) The number of times a message can be delivered to a consumer before being moved to the dead letter queue. A value of 0 indicates that the DLQ is not used. DeadLetterQueueDeliveryCount pulumi.IntPtrInput // (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` DefinedTags pulumi.MapInput - // (Updatable) Queue Identifier + // (Updatable) The user-friendly name of the queue. DisplayName pulumi.StringPtrInput // (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` FreeformTags pulumi.MapInput - // A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. + // Any additional details about the current state of the queue. LifecycleDetails pulumi.StringPtrInput // The endpoint to use to consume or publish messages in the queue. MessagesEndpoint pulumi.StringPtrInput PurgeQueue pulumi.BoolPtrInput PurgeType pulumi.StringPtrInput - // The retention period of the messages in the queue, in seconds. + // The retention period of messages in the queue, in seconds. RetentionInSeconds pulumi.IntPtrInput - // The current state of the Queue. + // The current state of the queue. State pulumi.StringPtrInput // Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` SystemTags pulumi.MapInput - // The time the the Queue was created. An RFC3339 formatted datetime string + // The time that the queue was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` TimeCreated pulumi.StringPtrInput - // The time the Queue was updated. An RFC3339 formatted datetime string + // The time that the queue was updated, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` TimeUpdated pulumi.StringPtrInput // (Updatable) The default polling timeout of the messages in the queue, in seconds. TimeoutInSeconds pulumi.IntPtrInput - // (Updatable) The default visibility of the messages consumed from the queue. + // (Updatable) The default visibility timeout of the messages consumed from the queue, in seconds. VisibilityInSeconds pulumi.IntPtrInput } @@ -211,49 +218,53 @@ func (QueueState) ElementType() reflect.Type { } type queueArgs struct { - // (Updatable) Compartment Identifier + // (Updatable) The percentage of allocated queue resources that can be consumed by a single channel. For example, if a queue has a storage limit of 2Gb, and a single channel consumption limit is 0.1 (10%), that means data size of a single channel can't exceed 200Mb. Consumption limit of 100% (default) means that a single channel can consume up-to all allocated queue's resources. + ChannelConsumptionLimit *int `pulumi:"channelConsumptionLimit"` + // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the queue. CompartmentId string `pulumi:"compartmentId"` - // (Updatable) Id of the custom master encryption key which will be used to encrypt messages content + // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the custom encryption key to be used to encrypt messages content. CustomEncryptionKeyId *string `pulumi:"customEncryptionKeyId"` // (Updatable) The number of times a message can be delivered to a consumer before being moved to the dead letter queue. A value of 0 indicates that the DLQ is not used. DeadLetterQueueDeliveryCount *int `pulumi:"deadLetterQueueDeliveryCount"` // (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` DefinedTags map[string]interface{} `pulumi:"definedTags"` - // (Updatable) Queue Identifier + // (Updatable) The user-friendly name of the queue. DisplayName string `pulumi:"displayName"` // (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` FreeformTags map[string]interface{} `pulumi:"freeformTags"` PurgeQueue *bool `pulumi:"purgeQueue"` PurgeType *string `pulumi:"purgeType"` - // The retention period of the messages in the queue, in seconds. + // The retention period of messages in the queue, in seconds. RetentionInSeconds *int `pulumi:"retentionInSeconds"` // (Updatable) The default polling timeout of the messages in the queue, in seconds. TimeoutInSeconds *int `pulumi:"timeoutInSeconds"` - // (Updatable) The default visibility of the messages consumed from the queue. + // (Updatable) The default visibility timeout of the messages consumed from the queue, in seconds. VisibilityInSeconds *int `pulumi:"visibilityInSeconds"` } // The set of arguments for constructing a Queue resource. type QueueArgs struct { - // (Updatable) Compartment Identifier + // (Updatable) The percentage of allocated queue resources that can be consumed by a single channel. For example, if a queue has a storage limit of 2Gb, and a single channel consumption limit is 0.1 (10%), that means data size of a single channel can't exceed 200Mb. Consumption limit of 100% (default) means that a single channel can consume up-to all allocated queue's resources. + ChannelConsumptionLimit pulumi.IntPtrInput + // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the queue. CompartmentId pulumi.StringInput - // (Updatable) Id of the custom master encryption key which will be used to encrypt messages content + // (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the custom encryption key to be used to encrypt messages content. CustomEncryptionKeyId pulumi.StringPtrInput // (Updatable) The number of times a message can be delivered to a consumer before being moved to the dead letter queue. A value of 0 indicates that the DLQ is not used. DeadLetterQueueDeliveryCount pulumi.IntPtrInput // (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` DefinedTags pulumi.MapInput - // (Updatable) Queue Identifier + // (Updatable) The user-friendly name of the queue. DisplayName pulumi.StringInput // (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` FreeformTags pulumi.MapInput PurgeQueue pulumi.BoolPtrInput PurgeType pulumi.StringPtrInput - // The retention period of the messages in the queue, in seconds. + // The retention period of messages in the queue, in seconds. RetentionInSeconds pulumi.IntPtrInput // (Updatable) The default polling timeout of the messages in the queue, in seconds. TimeoutInSeconds pulumi.IntPtrInput - // (Updatable) The default visibility of the messages consumed from the queue. + // (Updatable) The default visibility timeout of the messages consumed from the queue, in seconds. VisibilityInSeconds pulumi.IntPtrInput } @@ -368,12 +379,17 @@ func (o QueueOutput) ToOutput(ctx context.Context) pulumix.Output[*Queue] { } } -// (Updatable) Compartment Identifier +// (Updatable) The percentage of allocated queue resources that can be consumed by a single channel. For example, if a queue has a storage limit of 2Gb, and a single channel consumption limit is 0.1 (10%), that means data size of a single channel can't exceed 200Mb. Consumption limit of 100% (default) means that a single channel can consume up-to all allocated queue's resources. +func (o QueueOutput) ChannelConsumptionLimit() pulumi.IntOutput { + return o.ApplyT(func(v *Queue) pulumi.IntOutput { return v.ChannelConsumptionLimit }).(pulumi.IntOutput) +} + +// (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the queue. func (o QueueOutput) CompartmentId() pulumi.StringOutput { return o.ApplyT(func(v *Queue) pulumi.StringOutput { return v.CompartmentId }).(pulumi.StringOutput) } -// (Updatable) Id of the custom master encryption key which will be used to encrypt messages content +// (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the custom encryption key to be used to encrypt messages content. func (o QueueOutput) CustomEncryptionKeyId() pulumi.StringOutput { return o.ApplyT(func(v *Queue) pulumi.StringOutput { return v.CustomEncryptionKeyId }).(pulumi.StringOutput) } @@ -388,7 +404,7 @@ func (o QueueOutput) DefinedTags() pulumi.MapOutput { return o.ApplyT(func(v *Queue) pulumi.MapOutput { return v.DefinedTags }).(pulumi.MapOutput) } -// (Updatable) Queue Identifier +// (Updatable) The user-friendly name of the queue. func (o QueueOutput) DisplayName() pulumi.StringOutput { return o.ApplyT(func(v *Queue) pulumi.StringOutput { return v.DisplayName }).(pulumi.StringOutput) } @@ -398,7 +414,7 @@ func (o QueueOutput) FreeformTags() pulumi.MapOutput { return o.ApplyT(func(v *Queue) pulumi.MapOutput { return v.FreeformTags }).(pulumi.MapOutput) } -// A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. +// Any additional details about the current state of the queue. func (o QueueOutput) LifecycleDetails() pulumi.StringOutput { return o.ApplyT(func(v *Queue) pulumi.StringOutput { return v.LifecycleDetails }).(pulumi.StringOutput) } @@ -416,12 +432,12 @@ func (o QueueOutput) PurgeType() pulumi.StringPtrOutput { return o.ApplyT(func(v *Queue) pulumi.StringPtrOutput { return v.PurgeType }).(pulumi.StringPtrOutput) } -// The retention period of the messages in the queue, in seconds. +// The retention period of messages in the queue, in seconds. func (o QueueOutput) RetentionInSeconds() pulumi.IntOutput { return o.ApplyT(func(v *Queue) pulumi.IntOutput { return v.RetentionInSeconds }).(pulumi.IntOutput) } -// The current state of the Queue. +// The current state of the queue. func (o QueueOutput) State() pulumi.StringOutput { return o.ApplyT(func(v *Queue) pulumi.StringOutput { return v.State }).(pulumi.StringOutput) } @@ -431,12 +447,12 @@ func (o QueueOutput) SystemTags() pulumi.MapOutput { return o.ApplyT(func(v *Queue) pulumi.MapOutput { return v.SystemTags }).(pulumi.MapOutput) } -// The time the the Queue was created. An RFC3339 formatted datetime string +// The time that the queue was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` func (o QueueOutput) TimeCreated() pulumi.StringOutput { return o.ApplyT(func(v *Queue) pulumi.StringOutput { return v.TimeCreated }).(pulumi.StringOutput) } -// The time the Queue was updated. An RFC3339 formatted datetime string +// The time that the queue was updated, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` func (o QueueOutput) TimeUpdated() pulumi.StringOutput { return o.ApplyT(func(v *Queue) pulumi.StringOutput { return v.TimeUpdated }).(pulumi.StringOutput) } @@ -446,7 +462,7 @@ func (o QueueOutput) TimeoutInSeconds() pulumi.IntOutput { return o.ApplyT(func(v *Queue) pulumi.IntOutput { return v.TimeoutInSeconds }).(pulumi.IntOutput) } -// (Updatable) The default visibility of the messages consumed from the queue. +// (Updatable) The default visibility timeout of the messages consumed from the queue, in seconds. func (o QueueOutput) VisibilityInSeconds() pulumi.IntOutput { return o.ApplyT(func(v *Queue) pulumi.IntOutput { return v.VisibilityInSeconds }).(pulumi.IntOutput) } diff --git a/sdk/java/build.gradle b/sdk/java/build.gradle index 3c8ce5ca3f..24055aea56 100644 --- a/sdk/java/build.gradle +++ b/sdk/java/build.gradle @@ -43,7 +43,7 @@ repositories { dependencies { implementation("com.google.code.findbugs:jsr305:3.0.2") implementation("com.google.code.gson:gson:2.8.9") - implementation("com.pulumi:pulumi:0.9.5") + implementation("com.pulumi:pulumi:0.9.7") } task sourcesJar(type: Jar) { diff --git a/sdk/java/src/main/java/com/pulumi/oci/AiDocument/Model.java b/sdk/java/src/main/java/com/pulumi/oci/AiDocument/Model.java index b2832ffe0a..6d73ae8a9e 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/AiDocument/Model.java +++ b/sdk/java/src/main/java/com/pulumi/oci/AiDocument/Model.java @@ -210,17 +210,9 @@ public Output maxTrainingTimeInHours() { public Output> metrics() { return this.metrics; } - /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of active custom Key Value model that need to be composed. - * - */ @Export(name="modelId", refs={String.class}, tree="[0]") private Output modelId; - /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of active custom Key Value model that need to be composed. - * - */ public Output> modelId() { return Codegen.optional(this.modelId); } diff --git a/sdk/java/src/main/java/com/pulumi/oci/AiDocument/ModelArgs.java b/sdk/java/src/main/java/com/pulumi/oci/AiDocument/ModelArgs.java index d8ff828ee7..a292b33d67 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/AiDocument/ModelArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/AiDocument/ModelArgs.java @@ -144,17 +144,9 @@ public Optional> maxTrainingTimeInHours() { return Optional.ofNullable(this.maxTrainingTimeInHours); } - /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of active custom Key Value model that need to be composed. - * - */ @Import(name="modelId") private @Nullable Output modelId; - /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of active custom Key Value model that need to be composed. - * - */ public Optional> modelId() { return Optional.ofNullable(this.modelId); } @@ -465,23 +457,11 @@ public Builder maxTrainingTimeInHours(Double maxTrainingTimeInHours) { return maxTrainingTimeInHours(Output.of(maxTrainingTimeInHours)); } - /** - * @param modelId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of active custom Key Value model that need to be composed. - * - * @return builder - * - */ public Builder modelId(@Nullable Output modelId) { $.modelId = modelId; return this; } - /** - * @param modelId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of active custom Key Value model that need to be composed. - * - * @return builder - * - */ public Builder modelId(String modelId) { return modelId(Output.of(modelId)); } diff --git a/sdk/java/src/main/java/com/pulumi/oci/AiDocument/inputs/ModelComponentModelArgs.java b/sdk/java/src/main/java/com/pulumi/oci/AiDocument/inputs/ModelComponentModelArgs.java index 4a3636259d..a6f9b9f17d 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/AiDocument/inputs/ModelComponentModelArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/AiDocument/inputs/ModelComponentModelArgs.java @@ -15,17 +15,9 @@ public final class ModelComponentModelArgs extends com.pulumi.resources.Resource public static final ModelComponentModelArgs Empty = new ModelComponentModelArgs(); - /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of active custom Key Value model that need to be composed. - * - */ @Import(name="modelId") private @Nullable Output modelId; - /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of active custom Key Value model that need to be composed. - * - */ public Optional> modelId() { return Optional.ofNullable(this.modelId); } @@ -54,23 +46,11 @@ public Builder(ModelComponentModelArgs defaults) { $ = new ModelComponentModelArgs(Objects.requireNonNull(defaults)); } - /** - * @param modelId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of active custom Key Value model that need to be composed. - * - * @return builder - * - */ public Builder modelId(@Nullable Output modelId) { $.modelId = modelId; return this; } - /** - * @param modelId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of active custom Key Value model that need to be composed. - * - * @return builder - * - */ public Builder modelId(String modelId) { return modelId(Output.of(modelId)); } diff --git a/sdk/java/src/main/java/com/pulumi/oci/AiDocument/inputs/ModelState.java b/sdk/java/src/main/java/com/pulumi/oci/AiDocument/inputs/ModelState.java index 616a2f1418..486214f9dd 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/AiDocument/inputs/ModelState.java +++ b/sdk/java/src/main/java/com/pulumi/oci/AiDocument/inputs/ModelState.java @@ -205,17 +205,9 @@ public Optional>> metrics() { return Optional.ofNullable(this.metrics); } - /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of active custom Key Value model that need to be composed. - * - */ @Import(name="modelId") private @Nullable Output modelId; - /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of active custom Key Value model that need to be composed. - * - */ public Optional> modelId() { return Optional.ofNullable(this.modelId); } @@ -730,23 +722,11 @@ public Builder metrics(ModelMetricArgs... metrics) { return metrics(List.of(metrics)); } - /** - * @param modelId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of active custom Key Value model that need to be composed. - * - * @return builder - * - */ public Builder modelId(@Nullable Output modelId) { $.modelId = modelId; return this; } - /** - * @param modelId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of active custom Key Value model that need to be composed. - * - * @return builder - * - */ public Builder modelId(String modelId) { return modelId(Output.of(modelId)); } diff --git a/sdk/java/src/main/java/com/pulumi/oci/AiDocument/outputs/ModelComponentModel.java b/sdk/java/src/main/java/com/pulumi/oci/AiDocument/outputs/ModelComponentModel.java index c992a46e1d..0a474c8f80 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/AiDocument/outputs/ModelComponentModel.java +++ b/sdk/java/src/main/java/com/pulumi/oci/AiDocument/outputs/ModelComponentModel.java @@ -11,17 +11,9 @@ @CustomType public final class ModelComponentModel { - /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of active custom Key Value model that need to be composed. - * - */ private @Nullable String modelId; private ModelComponentModel() {} - /** - * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of active custom Key Value model that need to be composed. - * - */ public Optional modelId() { return Optional.ofNullable(this.modelId); } diff --git a/sdk/java/src/main/java/com/pulumi/oci/Autoscaling/AutoScalingConfiguration.java b/sdk/java/src/main/java/com/pulumi/oci/Autoscaling/AutoScalingConfiguration.java index 9fb116d5b4..d239283fa8 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Autoscaling/AutoScalingConfiguration.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Autoscaling/AutoScalingConfiguration.java @@ -177,17 +177,9 @@ public Output coolDownInSeconds() { public Output> definedTags() { return this.definedTags; } - /** - * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. - * - */ @Export(name="displayName", refs={String.class}, tree="[0]") private Output displayName; - /** - * @return A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. - * - */ public Output displayName() { return this.displayName; } diff --git a/sdk/java/src/main/java/com/pulumi/oci/Autoscaling/AutoScalingConfigurationArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Autoscaling/AutoScalingConfigurationArgs.java index af68f58cb8..a495694704 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Autoscaling/AutoScalingConfigurationArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Autoscaling/AutoScalingConfigurationArgs.java @@ -90,17 +90,9 @@ public Optional>> definedTags() { return Optional.ofNullable(this.definedTags); } - /** - * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. - * - */ @Import(name="displayName") private @Nullable Output displayName; - /** - * @return A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. - * - */ public Optional> displayName() { return Optional.ofNullable(this.displayName); } @@ -273,23 +265,11 @@ public Builder definedTags(Map definedTags) { return definedTags(Output.of(definedTags)); } - /** - * @param displayName A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. - * - * @return builder - * - */ public Builder displayName(@Nullable Output displayName) { $.displayName = displayName; return this; } - /** - * @param displayName A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. - * - * @return builder - * - */ public Builder displayName(String displayName) { return displayName(Output.of(displayName)); } diff --git a/sdk/java/src/main/java/com/pulumi/oci/Autoscaling/inputs/AutoScalingConfigurationPolicyArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Autoscaling/inputs/AutoScalingConfigurationPolicyArgs.java index 3f8229152e..3ea6dc9e5c 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Autoscaling/inputs/AutoScalingConfigurationPolicyArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Autoscaling/inputs/AutoScalingConfigurationPolicyArgs.java @@ -36,17 +36,9 @@ public Optional> capacity() { return Optional.ofNullable(this.capacity); } - /** - * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. - * - */ @Import(name="displayName") private @Nullable Output displayName; - /** - * @return A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. - * - */ public Optional> displayName() { return Optional.ofNullable(this.displayName); } @@ -201,23 +193,11 @@ public Builder capacity(AutoScalingConfigurationPolicyCapacityArgs capacity) { return capacity(Output.of(capacity)); } - /** - * @param displayName A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. - * - * @return builder - * - */ public Builder displayName(@Nullable Output displayName) { $.displayName = displayName; return this; } - /** - * @param displayName A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. - * - * @return builder - * - */ public Builder displayName(String displayName) { return displayName(Output.of(displayName)); } diff --git a/sdk/java/src/main/java/com/pulumi/oci/Autoscaling/inputs/AutoScalingConfigurationPolicyRuleArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Autoscaling/inputs/AutoScalingConfigurationPolicyRuleArgs.java index f025b80675..a78d05ef7d 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Autoscaling/inputs/AutoScalingConfigurationPolicyRuleArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Autoscaling/inputs/AutoScalingConfigurationPolicyRuleArgs.java @@ -32,17 +32,9 @@ public Optional> action() { return Optional.ofNullable(this.action); } - /** - * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. - * - */ @Import(name="displayName", required=true) private Output displayName; - /** - * @return A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. - * - */ public Output displayName() { return this.displayName; } @@ -125,23 +117,11 @@ public Builder action(AutoScalingConfigurationPolicyRuleActionArgs action) { return action(Output.of(action)); } - /** - * @param displayName A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. - * - * @return builder - * - */ public Builder displayName(Output displayName) { $.displayName = displayName; return this; } - /** - * @param displayName A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. - * - * @return builder - * - */ public Builder displayName(String displayName) { return displayName(Output.of(displayName)); } diff --git a/sdk/java/src/main/java/com/pulumi/oci/Autoscaling/inputs/AutoScalingConfigurationState.java b/sdk/java/src/main/java/com/pulumi/oci/Autoscaling/inputs/AutoScalingConfigurationState.java index e0a62a298e..7183aa63db 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Autoscaling/inputs/AutoScalingConfigurationState.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Autoscaling/inputs/AutoScalingConfigurationState.java @@ -90,17 +90,9 @@ public Optional>> definedTags() { return Optional.ofNullable(this.definedTags); } - /** - * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. - * - */ @Import(name="displayName") private @Nullable Output displayName; - /** - * @return A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. - * - */ public Optional> displayName() { return Optional.ofNullable(this.displayName); } @@ -321,23 +313,11 @@ public Builder definedTags(Map definedTags) { return definedTags(Output.of(definedTags)); } - /** - * @param displayName A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. - * - * @return builder - * - */ public Builder displayName(@Nullable Output displayName) { $.displayName = displayName; return this; } - /** - * @param displayName A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. - * - * @return builder - * - */ public Builder displayName(String displayName) { return displayName(Output.of(displayName)); } diff --git a/sdk/java/src/main/java/com/pulumi/oci/Autoscaling/outputs/AutoScalingConfigurationPolicy.java b/sdk/java/src/main/java/com/pulumi/oci/Autoscaling/outputs/AutoScalingConfigurationPolicy.java index e0f4027a56..8e7ad8c62a 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Autoscaling/outputs/AutoScalingConfigurationPolicy.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Autoscaling/outputs/AutoScalingConfigurationPolicy.java @@ -22,10 +22,6 @@ public final class AutoScalingConfigurationPolicy { * */ private @Nullable AutoScalingConfigurationPolicyCapacity capacity; - /** - * @return A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. - * - */ private @Nullable String displayName; /** * @return An execution schedule for an autoscaling policy. @@ -67,10 +63,6 @@ private AutoScalingConfigurationPolicy() {} public Optional capacity() { return Optional.ofNullable(this.capacity); } - /** - * @return A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. - * - */ public Optional displayName() { return Optional.ofNullable(this.displayName); } diff --git a/sdk/java/src/main/java/com/pulumi/oci/Autoscaling/outputs/AutoScalingConfigurationPolicyRule.java b/sdk/java/src/main/java/com/pulumi/oci/Autoscaling/outputs/AutoScalingConfigurationPolicyRule.java index fc73e1b1ba..2c91cb05aa 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Autoscaling/outputs/AutoScalingConfigurationPolicyRule.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Autoscaling/outputs/AutoScalingConfigurationPolicyRule.java @@ -18,10 +18,6 @@ public final class AutoScalingConfigurationPolicyRule { * */ private @Nullable AutoScalingConfigurationPolicyRuleAction action; - /** - * @return A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. - * - */ private String displayName; /** * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource that is managed by the autoscaling configuration. @@ -42,10 +38,6 @@ private AutoScalingConfigurationPolicyRule() {} public Optional action() { return Optional.ofNullable(this.action); } - /** - * @return A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. - * - */ public String displayName() { return this.displayName; } diff --git a/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/AtCustomerCccInfrastructure.java b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/AtCustomerCccInfrastructure.java new file mode 100644 index 0000000000..ce172f554f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/AtCustomerCccInfrastructure.java @@ -0,0 +1,412 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.ComputeCloud; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Export; +import com.pulumi.core.annotations.ResourceType; +import com.pulumi.core.internal.Codegen; +import com.pulumi.oci.ComputeCloud.AtCustomerCccInfrastructureArgs; +import com.pulumi.oci.ComputeCloud.inputs.AtCustomerCccInfrastructureState; +import com.pulumi.oci.ComputeCloud.outputs.AtCustomerCccInfrastructureInfrastructureInventory; +import com.pulumi.oci.ComputeCloud.outputs.AtCustomerCccInfrastructureInfrastructureNetworkConfiguration; +import com.pulumi.oci.ComputeCloud.outputs.AtCustomerCccInfrastructureUpgradeInformation; +import com.pulumi.oci.Utilities; +import java.lang.Object; +import java.lang.String; +import java.util.List; +import java.util.Map; +import javax.annotation.Nullable; + +/** + * This resource provides the Ccc Infrastructure resource in Oracle Cloud Infrastructure Compute Cloud At Customer service. + * + * Creates a Compute Cloud@Customer infrastructure. Once created, Oracle Services + * must connect the rack in the data center to this Oracle Cloud Infrastructure resource. + * + * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.oci.ComputeCloud.AtCustomerCccInfrastructure; + * import com.pulumi.oci.ComputeCloud.AtCustomerCccInfrastructureArgs; + * 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 testCccInfrastructure = new AtCustomerCccInfrastructure("testCccInfrastructure", AtCustomerCccInfrastructureArgs.builder() + * .compartmentId(var_.compartment_id()) + * .displayName(var_.ccc_infrastructure_display_name()) + * .subnetId(oci_core_subnet.test_subnet().id()) + * .cccUpgradeScheduleId(oci_compute_cloud_at_customer_ccc_upgrade_schedule.test_ccc_upgrade_schedule().id()) + * .connectionDetails(var_.ccc_infrastructure_connection_details()) + * .connectionState(var_.ccc_infrastructure_connection_state()) + * .definedTags(Map.of("foo-namespace.bar-key", "value")) + * .description(var_.ccc_infrastructure_description()) + * .freeformTags(Map.of("bar-key", "value")) + * .build()); + * + * } + * } + * ``` + * + * ## Import + * + * CccInfrastructures can be imported using the `id`, e.g. + * + * ```sh + * $ pulumi import oci:ComputeCloud/atCustomerCccInfrastructure:AtCustomerCccInfrastructure test_ccc_infrastructure "id" + * ``` + * + */ +@ResourceType(type="oci:ComputeCloud/atCustomerCccInfrastructure:AtCustomerCccInfrastructure") +public class AtCustomerCccInfrastructure extends com.pulumi.resources.CustomResource { + /** + * (Updatable) Schedule used for upgrades. If no schedule is associated with the infrastructure, it can be upgraded at any time. + * + */ + @Export(name="cccUpgradeScheduleId", refs={String.class}, tree="[0]") + private Output cccUpgradeScheduleId; + + /** + * @return (Updatable) Schedule used for upgrades. If no schedule is associated with the infrastructure, it can be upgraded at any time. + * + */ + public Output cccUpgradeScheduleId() { + return this.cccUpgradeScheduleId; + } + /** + * (Updatable) The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with the infrastructure. + * + */ + @Export(name="compartmentId", refs={String.class}, tree="[0]") + private Output compartmentId; + + /** + * @return (Updatable) The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with the infrastructure. + * + */ + public Output compartmentId() { + return this.compartmentId; + } + /** + * (Updatable) A message describing the current connection state in more detail. + * + */ + @Export(name="connectionDetails", refs={String.class}, tree="[0]") + private Output connectionDetails; + + /** + * @return (Updatable) A message describing the current connection state in more detail. + * + */ + public Output connectionDetails() { + return this.connectionDetails; + } + /** + * (Updatable) The current connection state of the Compute Cloud@Customer infrastructure. This value will default to REJECT if the value is not provided. The only valid value at creation time is REJECT. + * + */ + @Export(name="connectionState", refs={String.class}, tree="[0]") + private Output connectionState; + + /** + * @return (Updatable) The current connection state of the Compute Cloud@Customer infrastructure. This value will default to REJECT if the value is not provided. The only valid value at creation time is REJECT. + * + */ + public Output connectionState() { + return this.connectionState; + } + /** + * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + * + */ + @Export(name="definedTags", refs={Map.class,String.class,Object.class}, tree="[0,1,2]") + private Output> definedTags; + + /** + * @return (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + * + */ + public Output> definedTags() { + return this.definedTags; + } + /** + * (Updatable) A mutable client-meaningful text description of the Compute Cloud@Customer infrastructure. Avoid entering confidential information. + * + */ + @Export(name="description", refs={String.class}, tree="[0]") + private Output description; + + /** + * @return (Updatable) A mutable client-meaningful text description of the Compute Cloud@Customer infrastructure. Avoid entering confidential information. + * + */ + public Output description() { + return this.description; + } + /** + * (Updatable) The name that will be used to display the Compute Cloud@Customer infrastructure in the Oracle Cloud Infrastructure console. Does not have to be unique and can be changed. Avoid entering confidential information. + * + */ + @Export(name="displayName", refs={String.class}, tree="[0]") + private Output displayName; + + /** + * @return (Updatable) The name that will be used to display the Compute Cloud@Customer infrastructure in the Oracle Cloud Infrastructure console. Does not have to be unique and can be changed. Avoid entering confidential information. + * + */ + public Output displayName() { + return this.displayName; + } + /** + * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + * + */ + @Export(name="freeformTags", refs={Map.class,String.class,Object.class}, tree="[0,1,2]") + private Output> freeformTags; + + /** + * @return (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + * + */ + public Output> freeformTags() { + return this.freeformTags; + } + /** + * Inventory for a Compute Cloud@Customer infrastructure. This information cannot be updated and is from the infrastructure. The information will only be available after the connectionState is transitioned to CONNECTED. + * + */ + @Export(name="infrastructureInventories", refs={List.class,AtCustomerCccInfrastructureInfrastructureInventory.class}, tree="[0,1]") + private Output> infrastructureInventories; + + /** + * @return Inventory for a Compute Cloud@Customer infrastructure. This information cannot be updated and is from the infrastructure. The information will only be available after the connectionState is transitioned to CONNECTED. + * + */ + public Output> infrastructureInventories() { + return this.infrastructureInventories; + } + /** + * Configuration information for the Compute Cloud@Customer infrastructure. This network configuration information cannot be updated and is retrieved from the data center. The information will only be available after the connectionState is transitioned to CONNECTED. + * + */ + @Export(name="infrastructureNetworkConfigurations", refs={List.class,AtCustomerCccInfrastructureInfrastructureNetworkConfiguration.class}, tree="[0,1]") + private Output> infrastructureNetworkConfigurations; + + /** + * @return Configuration information for the Compute Cloud@Customer infrastructure. This network configuration information cannot be updated and is retrieved from the data center. The information will only be available after the connectionState is transitioned to CONNECTED. + * + */ + public Output> infrastructureNetworkConfigurations() { + return this.infrastructureNetworkConfigurations; + } + /** + * A message describing the current lifecycle state in more detail. For example, this can be used to provide actionable information for a resource that is in a Failed state. + * + */ + @Export(name="lifecycleDetails", refs={String.class}, tree="[0]") + private Output lifecycleDetails; + + /** + * @return A message describing the current lifecycle state in more detail. For example, this can be used to provide actionable information for a resource that is in a Failed state. + * + */ + public Output lifecycleDetails() { + return this.lifecycleDetails; + } + /** + * Fingerprint of a Compute Cloud@Customer infrastructure in a data center generated during the initial connection to this resource. The fingerprint should be verified by the administrator when changing the connectionState from REQUEST to READY. + * + */ + @Export(name="provisioningFingerprint", refs={String.class}, tree="[0]") + private Output provisioningFingerprint; + + /** + * @return Fingerprint of a Compute Cloud@Customer infrastructure in a data center generated during the initial connection to this resource. The fingerprint should be verified by the administrator when changing the connectionState from REQUEST to READY. + * + */ + public Output provisioningFingerprint() { + return this.provisioningFingerprint; + } + /** + * Code that is required for service personnel to connect a Compute Cloud@Customer infrastructure in a data center to this resource. This code will only be available when the connectionState is REJECT (usually at create time of the Compute Cloud@Customer infrastructure). + * + */ + @Export(name="provisioningPin", refs={String.class}, tree="[0]") + private Output provisioningPin; + + /** + * @return Code that is required for service personnel to connect a Compute Cloud@Customer infrastructure in a data center to this resource. This code will only be available when the connectionState is REJECT (usually at create time of the Compute Cloud@Customer infrastructure). + * + */ + public Output provisioningPin() { + return this.provisioningPin; + } + /** + * The Compute Cloud@Customer infrastructure short name. This cannot be changed once created. The short name is used to refer to the infrastructure in several contexts and is unique. + * + */ + @Export(name="shortName", refs={String.class}, tree="[0]") + private Output shortName; + + /** + * @return The Compute Cloud@Customer infrastructure short name. This cannot be changed once created. The short name is used to refer to the infrastructure in several contexts and is unique. + * + */ + public Output shortName() { + return this.shortName; + } + /** + * The current state of the Compute Cloud@Customer infrastructure. + * + */ + @Export(name="state", refs={String.class}, tree="[0]") + private Output state; + + /** + * @return The current state of the Compute Cloud@Customer infrastructure. + * + */ + public Output state() { + return this.state; + } + /** + * (Updatable) Identifier for network subnet that will be used to communicate with Compute Cloud@Customer infrastructure. + * + * ** 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 + * + */ + @Export(name="subnetId", refs={String.class}, tree="[0]") + private Output subnetId; + + /** + * @return (Updatable) Identifier for network subnet that will be used to communicate with Compute Cloud@Customer infrastructure. + * + * ** 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 + * + */ + public Output subnetId() { + return this.subnetId; + } + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + * + */ + @Export(name="systemTags", refs={Map.class,String.class,Object.class}, tree="[0,1,2]") + private Output> systemTags; + + /** + * @return System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + * + */ + public Output> systemTags() { + return this.systemTags; + } + /** + * Compute Cloud@Customer infrastructure creation date and time, using an RFC3339 formatted datetime string. + * + */ + @Export(name="timeCreated", refs={String.class}, tree="[0]") + private Output timeCreated; + + /** + * @return Compute Cloud@Customer infrastructure creation date and time, using an RFC3339 formatted datetime string. + * + */ + public Output timeCreated() { + return this.timeCreated; + } + /** + * Compute Cloud@Customer infrastructure updated date and time, using an RFC3339 formatted datetime string. + * + */ + @Export(name="timeUpdated", refs={String.class}, tree="[0]") + private Output timeUpdated; + + /** + * @return Compute Cloud@Customer infrastructure updated date and time, using an RFC3339 formatted datetime string. + * + */ + public Output timeUpdated() { + return this.timeUpdated; + } + /** + * Upgrade information that relates to a Compute Cloud@Customer infrastructure. This information cannot be updated. + * + */ + @Export(name="upgradeInformations", refs={List.class,AtCustomerCccInfrastructureUpgradeInformation.class}, tree="[0,1]") + private Output> upgradeInformations; + + /** + * @return Upgrade information that relates to a Compute Cloud@Customer infrastructure. This information cannot be updated. + * + */ + public Output> upgradeInformations() { + return this.upgradeInformations; + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public AtCustomerCccInfrastructure(String name) { + this(name, AtCustomerCccInfrastructureArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public AtCustomerCccInfrastructure(String name, AtCustomerCccInfrastructureArgs args) { + this(name, args, null); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + * @param options A bag of options that control this resource's behavior. + */ + public AtCustomerCccInfrastructure(String name, AtCustomerCccInfrastructureArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("oci:ComputeCloud/atCustomerCccInfrastructure:AtCustomerCccInfrastructure", name, args == null ? AtCustomerCccInfrastructureArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); + } + + private AtCustomerCccInfrastructure(String name, Output id, @Nullable AtCustomerCccInfrastructureState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("oci:ComputeCloud/atCustomerCccInfrastructure:AtCustomerCccInfrastructure", name, state, makeResourceOptions(options, id)); + } + + private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) { + var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder() + .version(Utilities.getVersion()) + .build(); + return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id); + } + + /** + * Get an existing Host resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state + * @param options Optional settings to control the behavior of the CustomResource. + */ + public static AtCustomerCccInfrastructure get(String name, Output id, @Nullable AtCustomerCccInfrastructureState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new AtCustomerCccInfrastructure(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/AtCustomerCccInfrastructureArgs.java b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/AtCustomerCccInfrastructureArgs.java new file mode 100644 index 0000000000..873142b7ff --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/AtCustomerCccInfrastructureArgs.java @@ -0,0 +1,396 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.ComputeCloud; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.Object; +import java.lang.String; +import java.util.Map; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AtCustomerCccInfrastructureArgs extends com.pulumi.resources.ResourceArgs { + + public static final AtCustomerCccInfrastructureArgs Empty = new AtCustomerCccInfrastructureArgs(); + + /** + * (Updatable) Schedule used for upgrades. If no schedule is associated with the infrastructure, it can be upgraded at any time. + * + */ + @Import(name="cccUpgradeScheduleId") + private @Nullable Output cccUpgradeScheduleId; + + /** + * @return (Updatable) Schedule used for upgrades. If no schedule is associated with the infrastructure, it can be upgraded at any time. + * + */ + public Optional> cccUpgradeScheduleId() { + return Optional.ofNullable(this.cccUpgradeScheduleId); + } + + /** + * (Updatable) The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with the infrastructure. + * + */ + @Import(name="compartmentId", required=true) + private Output compartmentId; + + /** + * @return (Updatable) The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with the infrastructure. + * + */ + public Output compartmentId() { + return this.compartmentId; + } + + /** + * (Updatable) A message describing the current connection state in more detail. + * + */ + @Import(name="connectionDetails") + private @Nullable Output connectionDetails; + + /** + * @return (Updatable) A message describing the current connection state in more detail. + * + */ + public Optional> connectionDetails() { + return Optional.ofNullable(this.connectionDetails); + } + + /** + * (Updatable) The current connection state of the Compute Cloud@Customer infrastructure. This value will default to REJECT if the value is not provided. The only valid value at creation time is REJECT. + * + */ + @Import(name="connectionState") + private @Nullable Output connectionState; + + /** + * @return (Updatable) The current connection state of the Compute Cloud@Customer infrastructure. This value will default to REJECT if the value is not provided. The only valid value at creation time is REJECT. + * + */ + public Optional> connectionState() { + return Optional.ofNullable(this.connectionState); + } + + /** + * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + * + */ + @Import(name="definedTags") + private @Nullable Output> definedTags; + + /** + * @return (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + * + */ + public Optional>> definedTags() { + return Optional.ofNullable(this.definedTags); + } + + /** + * (Updatable) A mutable client-meaningful text description of the Compute Cloud@Customer infrastructure. Avoid entering confidential information. + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return (Updatable) A mutable client-meaningful text description of the Compute Cloud@Customer infrastructure. Avoid entering confidential information. + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * (Updatable) The name that will be used to display the Compute Cloud@Customer infrastructure in the Oracle Cloud Infrastructure console. Does not have to be unique and can be changed. Avoid entering confidential information. + * + */ + @Import(name="displayName", required=true) + private Output displayName; + + /** + * @return (Updatable) The name that will be used to display the Compute Cloud@Customer infrastructure in the Oracle Cloud Infrastructure console. Does not have to be unique and can be changed. Avoid entering confidential information. + * + */ + public Output displayName() { + return this.displayName; + } + + /** + * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + * + */ + @Import(name="freeformTags") + private @Nullable Output> freeformTags; + + /** + * @return (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + * + */ + public Optional>> freeformTags() { + return Optional.ofNullable(this.freeformTags); + } + + /** + * (Updatable) Identifier for network subnet that will be used to communicate with Compute Cloud@Customer infrastructure. + * + * ** 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 + * + */ + @Import(name="subnetId", required=true) + private Output subnetId; + + /** + * @return (Updatable) Identifier for network subnet that will be used to communicate with Compute Cloud@Customer infrastructure. + * + * ** 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 + * + */ + public Output subnetId() { + return this.subnetId; + } + + private AtCustomerCccInfrastructureArgs() {} + + private AtCustomerCccInfrastructureArgs(AtCustomerCccInfrastructureArgs $) { + this.cccUpgradeScheduleId = $.cccUpgradeScheduleId; + this.compartmentId = $.compartmentId; + this.connectionDetails = $.connectionDetails; + this.connectionState = $.connectionState; + this.definedTags = $.definedTags; + this.description = $.description; + this.displayName = $.displayName; + this.freeformTags = $.freeformTags; + this.subnetId = $.subnetId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AtCustomerCccInfrastructureArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AtCustomerCccInfrastructureArgs $; + + public Builder() { + $ = new AtCustomerCccInfrastructureArgs(); + } + + public Builder(AtCustomerCccInfrastructureArgs defaults) { + $ = new AtCustomerCccInfrastructureArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param cccUpgradeScheduleId (Updatable) Schedule used for upgrades. If no schedule is associated with the infrastructure, it can be upgraded at any time. + * + * @return builder + * + */ + public Builder cccUpgradeScheduleId(@Nullable Output cccUpgradeScheduleId) { + $.cccUpgradeScheduleId = cccUpgradeScheduleId; + return this; + } + + /** + * @param cccUpgradeScheduleId (Updatable) Schedule used for upgrades. If no schedule is associated with the infrastructure, it can be upgraded at any time. + * + * @return builder + * + */ + public Builder cccUpgradeScheduleId(String cccUpgradeScheduleId) { + return cccUpgradeScheduleId(Output.of(cccUpgradeScheduleId)); + } + + /** + * @param compartmentId (Updatable) The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with the infrastructure. + * + * @return builder + * + */ + public Builder compartmentId(Output compartmentId) { + $.compartmentId = compartmentId; + return this; + } + + /** + * @param compartmentId (Updatable) The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with the infrastructure. + * + * @return builder + * + */ + public Builder compartmentId(String compartmentId) { + return compartmentId(Output.of(compartmentId)); + } + + /** + * @param connectionDetails (Updatable) A message describing the current connection state in more detail. + * + * @return builder + * + */ + public Builder connectionDetails(@Nullable Output connectionDetails) { + $.connectionDetails = connectionDetails; + return this; + } + + /** + * @param connectionDetails (Updatable) A message describing the current connection state in more detail. + * + * @return builder + * + */ + public Builder connectionDetails(String connectionDetails) { + return connectionDetails(Output.of(connectionDetails)); + } + + /** + * @param connectionState (Updatable) The current connection state of the Compute Cloud@Customer infrastructure. This value will default to REJECT if the value is not provided. The only valid value at creation time is REJECT. + * + * @return builder + * + */ + public Builder connectionState(@Nullable Output connectionState) { + $.connectionState = connectionState; + return this; + } + + /** + * @param connectionState (Updatable) The current connection state of the Compute Cloud@Customer infrastructure. This value will default to REJECT if the value is not provided. The only valid value at creation time is REJECT. + * + * @return builder + * + */ + public Builder connectionState(String connectionState) { + return connectionState(Output.of(connectionState)); + } + + /** + * @param definedTags (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + * + * @return builder + * + */ + public Builder definedTags(@Nullable Output> definedTags) { + $.definedTags = definedTags; + return this; + } + + /** + * @param definedTags (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + * + * @return builder + * + */ + public Builder definedTags(Map definedTags) { + return definedTags(Output.of(definedTags)); + } + + /** + * @param description (Updatable) A mutable client-meaningful text description of the Compute Cloud@Customer infrastructure. Avoid entering confidential information. + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description (Updatable) A mutable client-meaningful text description of the Compute Cloud@Customer infrastructure. Avoid entering confidential information. + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param displayName (Updatable) The name that will be used to display the Compute Cloud@Customer infrastructure in the Oracle Cloud Infrastructure console. Does not have to be unique and can be changed. Avoid entering confidential information. + * + * @return builder + * + */ + public Builder displayName(Output displayName) { + $.displayName = displayName; + return this; + } + + /** + * @param displayName (Updatable) The name that will be used to display the Compute Cloud@Customer infrastructure in the Oracle Cloud Infrastructure console. Does not have to be unique and can be changed. Avoid entering confidential information. + * + * @return builder + * + */ + public Builder displayName(String displayName) { + return displayName(Output.of(displayName)); + } + + /** + * @param freeformTags (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + * + * @return builder + * + */ + public Builder freeformTags(@Nullable Output> freeformTags) { + $.freeformTags = freeformTags; + return this; + } + + /** + * @param freeformTags (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + * + * @return builder + * + */ + public Builder freeformTags(Map freeformTags) { + return freeformTags(Output.of(freeformTags)); + } + + /** + * @param subnetId (Updatable) Identifier for network subnet that will be used to communicate with Compute Cloud@Customer infrastructure. + * + * ** 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 + * + * @return builder + * + */ + public Builder subnetId(Output subnetId) { + $.subnetId = subnetId; + return this; + } + + /** + * @param subnetId (Updatable) Identifier for network subnet that will be used to communicate with Compute Cloud@Customer infrastructure. + * + * ** 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 + * + * @return builder + * + */ + public Builder subnetId(String subnetId) { + return subnetId(Output.of(subnetId)); + } + + public AtCustomerCccInfrastructureArgs build() { + $.compartmentId = Objects.requireNonNull($.compartmentId, "expected parameter 'compartmentId' to be non-null"); + $.displayName = Objects.requireNonNull($.displayName, "expected parameter 'displayName' to be non-null"); + $.subnetId = Objects.requireNonNull($.subnetId, "expected parameter 'subnetId' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/AtCustomerCccUpgradeSchedule.java b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/AtCustomerCccUpgradeSchedule.java new file mode 100644 index 0000000000..e9837ac3f0 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/AtCustomerCccUpgradeSchedule.java @@ -0,0 +1,300 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.ComputeCloud; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Export; +import com.pulumi.core.annotations.ResourceType; +import com.pulumi.core.internal.Codegen; +import com.pulumi.oci.ComputeCloud.AtCustomerCccUpgradeScheduleArgs; +import com.pulumi.oci.ComputeCloud.inputs.AtCustomerCccUpgradeScheduleState; +import com.pulumi.oci.ComputeCloud.outputs.AtCustomerCccUpgradeScheduleEvent; +import com.pulumi.oci.Utilities; +import java.lang.Object; +import java.lang.String; +import java.util.List; +import java.util.Map; +import javax.annotation.Nullable; + +/** + * This resource provides the Ccc Upgrade Schedule resource in Oracle Cloud Infrastructure Compute Cloud At Customer service. + * + * Creates a new Compute Cloud@Customer upgrade schedule. + * + * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.oci.ComputeCloud.AtCustomerCccUpgradeSchedule; + * import com.pulumi.oci.ComputeCloud.AtCustomerCccUpgradeScheduleArgs; + * import com.pulumi.oci.ComputeCloud.inputs.AtCustomerCccUpgradeScheduleEventArgs; + * 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 testCccUpgradeSchedule = new AtCustomerCccUpgradeSchedule("testCccUpgradeSchedule", AtCustomerCccUpgradeScheduleArgs.builder() + * .compartmentId(var_.compartment_id()) + * .displayName(var_.ccc_upgrade_schedule_display_name()) + * .events(AtCustomerCccUpgradeScheduleEventArgs.builder() + * .description(var_.ccc_upgrade_schedule_events_description()) + * .scheduleEventDuration(var_.ccc_upgrade_schedule_events_schedule_event_duration()) + * .timeStart(var_.ccc_upgrade_schedule_events_time_start()) + * .scheduleEventRecurrences(var_.ccc_upgrade_schedule_events_schedule_event_recurrences()) + * .build()) + * .definedTags(Map.of("foo-namespace.bar-key", "value")) + * .description(var_.ccc_upgrade_schedule_description()) + * .freeformTags(Map.of("bar-key", "value")) + * .build()); + * + * } + * } + * ``` + * + * ## Import + * + * CccUpgradeSchedules can be imported using the `id`, e.g. + * + * ```sh + * $ pulumi import oci:ComputeCloud/atCustomerCccUpgradeSchedule:AtCustomerCccUpgradeSchedule test_ccc_upgrade_schedule "id" + * ``` + * + */ +@ResourceType(type="oci:ComputeCloud/atCustomerCccUpgradeSchedule:AtCustomerCccUpgradeSchedule") +public class AtCustomerCccUpgradeSchedule extends com.pulumi.resources.CustomResource { + /** + * (Updatable) Compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Compute Cloud@Customer Upgrade Schedule. + * + */ + @Export(name="compartmentId", refs={String.class}, tree="[0]") + private Output compartmentId; + + /** + * @return (Updatable) Compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Compute Cloud@Customer Upgrade Schedule. + * + */ + public Output compartmentId() { + return this.compartmentId; + } + /** + * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + * + */ + @Export(name="definedTags", refs={Map.class,String.class,Object.class}, tree="[0,1,2]") + private Output> definedTags; + + /** + * @return (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + * + */ + public Output> definedTags() { + return this.definedTags; + } + /** + * (Updatable) A description of the Compute Cloud@Customer upgrade schedule time block. + * + */ + @Export(name="description", refs={String.class}, tree="[0]") + private Output description; + + /** + * @return (Updatable) A description of the Compute Cloud@Customer upgrade schedule time block. + * + */ + public Output description() { + return this.description; + } + /** + * (Updatable) Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information. + * + */ + @Export(name="displayName", refs={String.class}, tree="[0]") + private Output displayName; + + /** + * @return (Updatable) Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information. + * + */ + public Output displayName() { + return this.displayName; + } + /** + * (Updatable) List of preferred times for Compute Cloud@Customer infrastructure to be upgraded. + * + */ + @Export(name="events", refs={List.class,AtCustomerCccUpgradeScheduleEvent.class}, tree="[0,1]") + private Output> events; + + /** + * @return (Updatable) List of preferred times for Compute Cloud@Customer infrastructure to be upgraded. + * + */ + public Output> events() { + return this.events; + } + /** + * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + * + * ** 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 + * + */ + @Export(name="freeformTags", refs={Map.class,String.class,Object.class}, tree="[0,1,2]") + private Output> freeformTags; + + /** + * @return (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + * + * ** 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 + * + */ + public Output> freeformTags() { + return this.freeformTags; + } + /** + * List of Compute Cloud@Customer infrastructure [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that are using this upgrade schedule. + * + */ + @Export(name="infrastructureIds", refs={List.class,String.class}, tree="[0,1]") + private Output> infrastructureIds; + + /** + * @return List of Compute Cloud@Customer infrastructure [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that are using this upgrade schedule. + * + */ + public Output> infrastructureIds() { + return this.infrastructureIds; + } + /** + * A message describing the current state in more detail. For example, the message can be used to provide actionable information for a resource in a Failed state. + * + */ + @Export(name="lifecycleDetails", refs={String.class}, tree="[0]") + private Output lifecycleDetails; + + /** + * @return A message describing the current state in more detail. For example, the message can be used to provide actionable information for a resource in a Failed state. + * + */ + public Output lifecycleDetails() { + return this.lifecycleDetails; + } + /** + * Lifecycle state of the resource. + * + */ + @Export(name="state", refs={String.class}, tree="[0]") + private Output state; + + /** + * @return Lifecycle state of the resource. + * + */ + public Output state() { + return this.state; + } + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + * + */ + @Export(name="systemTags", refs={Map.class,String.class,Object.class}, tree="[0,1,2]") + private Output> systemTags; + + /** + * @return System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + * + */ + public Output> systemTags() { + return this.systemTags; + } + /** + * The time the upgrade schedule was created, using an RFC3339 formatted datetime string. + * + */ + @Export(name="timeCreated", refs={String.class}, tree="[0]") + private Output timeCreated; + + /** + * @return The time the upgrade schedule was created, using an RFC3339 formatted datetime string. + * + */ + public Output timeCreated() { + return this.timeCreated; + } + /** + * The time the upgrade schedule was updated, using an RFC3339 formatted datetime string. + * + */ + @Export(name="timeUpdated", refs={String.class}, tree="[0]") + private Output timeUpdated; + + /** + * @return The time the upgrade schedule was updated, using an RFC3339 formatted datetime string. + * + */ + public Output timeUpdated() { + return this.timeUpdated; + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public AtCustomerCccUpgradeSchedule(String name) { + this(name, AtCustomerCccUpgradeScheduleArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public AtCustomerCccUpgradeSchedule(String name, AtCustomerCccUpgradeScheduleArgs args) { + this(name, args, null); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + * @param options A bag of options that control this resource's behavior. + */ + public AtCustomerCccUpgradeSchedule(String name, AtCustomerCccUpgradeScheduleArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("oci:ComputeCloud/atCustomerCccUpgradeSchedule:AtCustomerCccUpgradeSchedule", name, args == null ? AtCustomerCccUpgradeScheduleArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); + } + + private AtCustomerCccUpgradeSchedule(String name, Output id, @Nullable AtCustomerCccUpgradeScheduleState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("oci:ComputeCloud/atCustomerCccUpgradeSchedule:AtCustomerCccUpgradeSchedule", name, state, makeResourceOptions(options, id)); + } + + private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) { + var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder() + .version(Utilities.getVersion()) + .build(); + return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id); + } + + /** + * Get an existing Host resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state + * @param options Optional settings to control the behavior of the CustomResource. + */ + public static AtCustomerCccUpgradeSchedule get(String name, Output id, @Nullable AtCustomerCccUpgradeScheduleState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new AtCustomerCccUpgradeSchedule(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/AtCustomerCccUpgradeScheduleArgs.java b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/AtCustomerCccUpgradeScheduleArgs.java new file mode 100644 index 0000000000..31d81040c5 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/AtCustomerCccUpgradeScheduleArgs.java @@ -0,0 +1,297 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.ComputeCloud; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.oci.ComputeCloud.inputs.AtCustomerCccUpgradeScheduleEventArgs; +import java.lang.Object; +import java.lang.String; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AtCustomerCccUpgradeScheduleArgs extends com.pulumi.resources.ResourceArgs { + + public static final AtCustomerCccUpgradeScheduleArgs Empty = new AtCustomerCccUpgradeScheduleArgs(); + + /** + * (Updatable) Compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Compute Cloud@Customer Upgrade Schedule. + * + */ + @Import(name="compartmentId", required=true) + private Output compartmentId; + + /** + * @return (Updatable) Compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Compute Cloud@Customer Upgrade Schedule. + * + */ + public Output compartmentId() { + return this.compartmentId; + } + + /** + * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + * + */ + @Import(name="definedTags") + private @Nullable Output> definedTags; + + /** + * @return (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + * + */ + public Optional>> definedTags() { + return Optional.ofNullable(this.definedTags); + } + + /** + * (Updatable) A description of the Compute Cloud@Customer upgrade schedule time block. + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return (Updatable) A description of the Compute Cloud@Customer upgrade schedule time block. + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * (Updatable) Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information. + * + */ + @Import(name="displayName", required=true) + private Output displayName; + + /** + * @return (Updatable) Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information. + * + */ + public Output displayName() { + return this.displayName; + } + + /** + * (Updatable) List of preferred times for Compute Cloud@Customer infrastructure to be upgraded. + * + */ + @Import(name="events", required=true) + private Output> events; + + /** + * @return (Updatable) List of preferred times for Compute Cloud@Customer infrastructure to be upgraded. + * + */ + public Output> events() { + return this.events; + } + + /** + * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + * + * ** 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 + * + */ + @Import(name="freeformTags") + private @Nullable Output> freeformTags; + + /** + * @return (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + * + * ** 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 + * + */ + public Optional>> freeformTags() { + return Optional.ofNullable(this.freeformTags); + } + + private AtCustomerCccUpgradeScheduleArgs() {} + + private AtCustomerCccUpgradeScheduleArgs(AtCustomerCccUpgradeScheduleArgs $) { + this.compartmentId = $.compartmentId; + this.definedTags = $.definedTags; + this.description = $.description; + this.displayName = $.displayName; + this.events = $.events; + this.freeformTags = $.freeformTags; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AtCustomerCccUpgradeScheduleArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AtCustomerCccUpgradeScheduleArgs $; + + public Builder() { + $ = new AtCustomerCccUpgradeScheduleArgs(); + } + + public Builder(AtCustomerCccUpgradeScheduleArgs defaults) { + $ = new AtCustomerCccUpgradeScheduleArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param compartmentId (Updatable) Compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Compute Cloud@Customer Upgrade Schedule. + * + * @return builder + * + */ + public Builder compartmentId(Output compartmentId) { + $.compartmentId = compartmentId; + return this; + } + + /** + * @param compartmentId (Updatable) Compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Compute Cloud@Customer Upgrade Schedule. + * + * @return builder + * + */ + public Builder compartmentId(String compartmentId) { + return compartmentId(Output.of(compartmentId)); + } + + /** + * @param definedTags (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + * + * @return builder + * + */ + public Builder definedTags(@Nullable Output> definedTags) { + $.definedTags = definedTags; + return this; + } + + /** + * @param definedTags (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + * + * @return builder + * + */ + public Builder definedTags(Map definedTags) { + return definedTags(Output.of(definedTags)); + } + + /** + * @param description (Updatable) A description of the Compute Cloud@Customer upgrade schedule time block. + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description (Updatable) A description of the Compute Cloud@Customer upgrade schedule time block. + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param displayName (Updatable) Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information. + * + * @return builder + * + */ + public Builder displayName(Output displayName) { + $.displayName = displayName; + return this; + } + + /** + * @param displayName (Updatable) Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information. + * + * @return builder + * + */ + public Builder displayName(String displayName) { + return displayName(Output.of(displayName)); + } + + /** + * @param events (Updatable) List of preferred times for Compute Cloud@Customer infrastructure to be upgraded. + * + * @return builder + * + */ + public Builder events(Output> events) { + $.events = events; + return this; + } + + /** + * @param events (Updatable) List of preferred times for Compute Cloud@Customer infrastructure to be upgraded. + * + * @return builder + * + */ + public Builder events(List events) { + return events(Output.of(events)); + } + + /** + * @param events (Updatable) List of preferred times for Compute Cloud@Customer infrastructure to be upgraded. + * + * @return builder + * + */ + public Builder events(AtCustomerCccUpgradeScheduleEventArgs... events) { + return events(List.of(events)); + } + + /** + * @param freeformTags (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + * + * ** 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 + * + * @return builder + * + */ + public Builder freeformTags(@Nullable Output> freeformTags) { + $.freeformTags = freeformTags; + return this; + } + + /** + * @param freeformTags (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + * + * ** 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 + * + * @return builder + * + */ + public Builder freeformTags(Map freeformTags) { + return freeformTags(Output.of(freeformTags)); + } + + public AtCustomerCccUpgradeScheduleArgs build() { + $.compartmentId = Objects.requireNonNull($.compartmentId, "expected parameter 'compartmentId' to be non-null"); + $.displayName = Objects.requireNonNull($.displayName, "expected parameter 'displayName' to be non-null"); + $.events = Objects.requireNonNull($.events, "expected parameter 'events' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/ComputeCloudFunctions.java b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/ComputeCloudFunctions.java new file mode 100644 index 0000000000..f434d3f3c8 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/ComputeCloudFunctions.java @@ -0,0 +1,886 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.ComputeCloud; + +import com.pulumi.core.Output; +import com.pulumi.core.TypeShape; +import com.pulumi.deployment.Deployment; +import com.pulumi.deployment.InvokeOptions; +import com.pulumi.oci.ComputeCloud.inputs.GetAtCustomerCccInfrastructureArgs; +import com.pulumi.oci.ComputeCloud.inputs.GetAtCustomerCccInfrastructurePlainArgs; +import com.pulumi.oci.ComputeCloud.inputs.GetAtCustomerCccInfrastructuresArgs; +import com.pulumi.oci.ComputeCloud.inputs.GetAtCustomerCccInfrastructuresPlainArgs; +import com.pulumi.oci.ComputeCloud.inputs.GetAtCustomerCccUpgradeScheduleArgs; +import com.pulumi.oci.ComputeCloud.inputs.GetAtCustomerCccUpgradeSchedulePlainArgs; +import com.pulumi.oci.ComputeCloud.inputs.GetAtCustomerCccUpgradeSchedulesArgs; +import com.pulumi.oci.ComputeCloud.inputs.GetAtCustomerCccUpgradeSchedulesPlainArgs; +import com.pulumi.oci.ComputeCloud.outputs.GetAtCustomerCccInfrastructureResult; +import com.pulumi.oci.ComputeCloud.outputs.GetAtCustomerCccInfrastructuresResult; +import com.pulumi.oci.ComputeCloud.outputs.GetAtCustomerCccUpgradeScheduleResult; +import com.pulumi.oci.ComputeCloud.outputs.GetAtCustomerCccUpgradeSchedulesResult; +import com.pulumi.oci.Utilities; +import java.util.concurrent.CompletableFuture; + +public final class ComputeCloudFunctions { + /** + * This data source provides details about a specific Ccc Infrastructure resource in Oracle Cloud Infrastructure Compute Cloud At Customer service. + * + * Gets a Compute Cloud@Customer infrastructure using the infrastructure + * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + * + * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.oci.ComputeCloud.ComputeCloudFunctions; + * import com.pulumi.oci.ComputeCloud.inputs.GetAtCustomerCccInfrastructureArgs; + * 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) { + * final var testCccInfrastructure = ComputeCloudFunctions.getAtCustomerCccInfrastructure(GetAtCustomerCccInfrastructureArgs.builder() + * .cccInfrastructureId(oci_compute_cloud_at_customer_ccc_infrastructure.test_ccc_infrastructure().id()) + * .build()); + * + * } + * } + * ``` + * + */ + public static Output getAtCustomerCccInfrastructure(GetAtCustomerCccInfrastructureArgs args) { + return getAtCustomerCccInfrastructure(args, InvokeOptions.Empty); + } + /** + * This data source provides details about a specific Ccc Infrastructure resource in Oracle Cloud Infrastructure Compute Cloud At Customer service. + * + * Gets a Compute Cloud@Customer infrastructure using the infrastructure + * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + * + * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.oci.ComputeCloud.ComputeCloudFunctions; + * import com.pulumi.oci.ComputeCloud.inputs.GetAtCustomerCccInfrastructureArgs; + * 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) { + * final var testCccInfrastructure = ComputeCloudFunctions.getAtCustomerCccInfrastructure(GetAtCustomerCccInfrastructureArgs.builder() + * .cccInfrastructureId(oci_compute_cloud_at_customer_ccc_infrastructure.test_ccc_infrastructure().id()) + * .build()); + * + * } + * } + * ``` + * + */ + public static CompletableFuture getAtCustomerCccInfrastructurePlain(GetAtCustomerCccInfrastructurePlainArgs args) { + return getAtCustomerCccInfrastructurePlain(args, InvokeOptions.Empty); + } + /** + * This data source provides details about a specific Ccc Infrastructure resource in Oracle Cloud Infrastructure Compute Cloud At Customer service. + * + * Gets a Compute Cloud@Customer infrastructure using the infrastructure + * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + * + * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.oci.ComputeCloud.ComputeCloudFunctions; + * import com.pulumi.oci.ComputeCloud.inputs.GetAtCustomerCccInfrastructureArgs; + * 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) { + * final var testCccInfrastructure = ComputeCloudFunctions.getAtCustomerCccInfrastructure(GetAtCustomerCccInfrastructureArgs.builder() + * .cccInfrastructureId(oci_compute_cloud_at_customer_ccc_infrastructure.test_ccc_infrastructure().id()) + * .build()); + * + * } + * } + * ``` + * + */ + public static Output getAtCustomerCccInfrastructure(GetAtCustomerCccInfrastructureArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:ComputeCloud/getAtCustomerCccInfrastructure:getAtCustomerCccInfrastructure", TypeShape.of(GetAtCustomerCccInfrastructureResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides details about a specific Ccc Infrastructure resource in Oracle Cloud Infrastructure Compute Cloud At Customer service. + * + * Gets a Compute Cloud@Customer infrastructure using the infrastructure + * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + * + * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.oci.ComputeCloud.ComputeCloudFunctions; + * import com.pulumi.oci.ComputeCloud.inputs.GetAtCustomerCccInfrastructureArgs; + * 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) { + * final var testCccInfrastructure = ComputeCloudFunctions.getAtCustomerCccInfrastructure(GetAtCustomerCccInfrastructureArgs.builder() + * .cccInfrastructureId(oci_compute_cloud_at_customer_ccc_infrastructure.test_ccc_infrastructure().id()) + * .build()); + * + * } + * } + * ``` + * + */ + public static CompletableFuture getAtCustomerCccInfrastructurePlain(GetAtCustomerCccInfrastructurePlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:ComputeCloud/getAtCustomerCccInfrastructure:getAtCustomerCccInfrastructure", TypeShape.of(GetAtCustomerCccInfrastructureResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Ccc Infrastructures in Oracle Cloud Infrastructure Compute Cloud At Customer service. + * + * Returns a list of Compute Cloud@Customer infrastructures. + * + * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.oci.ComputeCloud.ComputeCloudFunctions; + * import com.pulumi.oci.ComputeCloud.inputs.GetAtCustomerCccInfrastructuresArgs; + * 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) { + * final var testCccInfrastructures = ComputeCloudFunctions.getAtCustomerCccInfrastructures(GetAtCustomerCccInfrastructuresArgs.builder() + * .accessLevel(var_.ccc_infrastructure_access_level()) + * .cccInfrastructureId(oci_compute_cloud_at_customer_ccc_infrastructure.test_ccc_infrastructure().id()) + * .compartmentId(var_.compartment_id()) + * .compartmentIdInSubtree(var_.ccc_infrastructure_compartment_id_in_subtree()) + * .displayName(var_.ccc_infrastructure_display_name()) + * .displayNameContains(var_.ccc_infrastructure_display_name_contains()) + * .state(var_.ccc_infrastructure_state()) + * .build()); + * + * } + * } + * ``` + * + */ + public static Output getAtCustomerCccInfrastructures() { + return getAtCustomerCccInfrastructures(GetAtCustomerCccInfrastructuresArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source provides the list of Ccc Infrastructures in Oracle Cloud Infrastructure Compute Cloud At Customer service. + * + * Returns a list of Compute Cloud@Customer infrastructures. + * + * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.oci.ComputeCloud.ComputeCloudFunctions; + * import com.pulumi.oci.ComputeCloud.inputs.GetAtCustomerCccInfrastructuresArgs; + * 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) { + * final var testCccInfrastructures = ComputeCloudFunctions.getAtCustomerCccInfrastructures(GetAtCustomerCccInfrastructuresArgs.builder() + * .accessLevel(var_.ccc_infrastructure_access_level()) + * .cccInfrastructureId(oci_compute_cloud_at_customer_ccc_infrastructure.test_ccc_infrastructure().id()) + * .compartmentId(var_.compartment_id()) + * .compartmentIdInSubtree(var_.ccc_infrastructure_compartment_id_in_subtree()) + * .displayName(var_.ccc_infrastructure_display_name()) + * .displayNameContains(var_.ccc_infrastructure_display_name_contains()) + * .state(var_.ccc_infrastructure_state()) + * .build()); + * + * } + * } + * ``` + * + */ + public static CompletableFuture getAtCustomerCccInfrastructuresPlain() { + return getAtCustomerCccInfrastructuresPlain(GetAtCustomerCccInfrastructuresPlainArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source provides the list of Ccc Infrastructures in Oracle Cloud Infrastructure Compute Cloud At Customer service. + * + * Returns a list of Compute Cloud@Customer infrastructures. + * + * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.oci.ComputeCloud.ComputeCloudFunctions; + * import com.pulumi.oci.ComputeCloud.inputs.GetAtCustomerCccInfrastructuresArgs; + * 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) { + * final var testCccInfrastructures = ComputeCloudFunctions.getAtCustomerCccInfrastructures(GetAtCustomerCccInfrastructuresArgs.builder() + * .accessLevel(var_.ccc_infrastructure_access_level()) + * .cccInfrastructureId(oci_compute_cloud_at_customer_ccc_infrastructure.test_ccc_infrastructure().id()) + * .compartmentId(var_.compartment_id()) + * .compartmentIdInSubtree(var_.ccc_infrastructure_compartment_id_in_subtree()) + * .displayName(var_.ccc_infrastructure_display_name()) + * .displayNameContains(var_.ccc_infrastructure_display_name_contains()) + * .state(var_.ccc_infrastructure_state()) + * .build()); + * + * } + * } + * ``` + * + */ + public static Output getAtCustomerCccInfrastructures(GetAtCustomerCccInfrastructuresArgs args) { + return getAtCustomerCccInfrastructures(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Ccc Infrastructures in Oracle Cloud Infrastructure Compute Cloud At Customer service. + * + * Returns a list of Compute Cloud@Customer infrastructures. + * + * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.oci.ComputeCloud.ComputeCloudFunctions; + * import com.pulumi.oci.ComputeCloud.inputs.GetAtCustomerCccInfrastructuresArgs; + * 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) { + * final var testCccInfrastructures = ComputeCloudFunctions.getAtCustomerCccInfrastructures(GetAtCustomerCccInfrastructuresArgs.builder() + * .accessLevel(var_.ccc_infrastructure_access_level()) + * .cccInfrastructureId(oci_compute_cloud_at_customer_ccc_infrastructure.test_ccc_infrastructure().id()) + * .compartmentId(var_.compartment_id()) + * .compartmentIdInSubtree(var_.ccc_infrastructure_compartment_id_in_subtree()) + * .displayName(var_.ccc_infrastructure_display_name()) + * .displayNameContains(var_.ccc_infrastructure_display_name_contains()) + * .state(var_.ccc_infrastructure_state()) + * .build()); + * + * } + * } + * ``` + * + */ + public static CompletableFuture getAtCustomerCccInfrastructuresPlain(GetAtCustomerCccInfrastructuresPlainArgs args) { + return getAtCustomerCccInfrastructuresPlain(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Ccc Infrastructures in Oracle Cloud Infrastructure Compute Cloud At Customer service. + * + * Returns a list of Compute Cloud@Customer infrastructures. + * + * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.oci.ComputeCloud.ComputeCloudFunctions; + * import com.pulumi.oci.ComputeCloud.inputs.GetAtCustomerCccInfrastructuresArgs; + * 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) { + * final var testCccInfrastructures = ComputeCloudFunctions.getAtCustomerCccInfrastructures(GetAtCustomerCccInfrastructuresArgs.builder() + * .accessLevel(var_.ccc_infrastructure_access_level()) + * .cccInfrastructureId(oci_compute_cloud_at_customer_ccc_infrastructure.test_ccc_infrastructure().id()) + * .compartmentId(var_.compartment_id()) + * .compartmentIdInSubtree(var_.ccc_infrastructure_compartment_id_in_subtree()) + * .displayName(var_.ccc_infrastructure_display_name()) + * .displayNameContains(var_.ccc_infrastructure_display_name_contains()) + * .state(var_.ccc_infrastructure_state()) + * .build()); + * + * } + * } + * ``` + * + */ + public static Output getAtCustomerCccInfrastructures(GetAtCustomerCccInfrastructuresArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:ComputeCloud/getAtCustomerCccInfrastructures:getAtCustomerCccInfrastructures", TypeShape.of(GetAtCustomerCccInfrastructuresResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Ccc Infrastructures in Oracle Cloud Infrastructure Compute Cloud At Customer service. + * + * Returns a list of Compute Cloud@Customer infrastructures. + * + * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.oci.ComputeCloud.ComputeCloudFunctions; + * import com.pulumi.oci.ComputeCloud.inputs.GetAtCustomerCccInfrastructuresArgs; + * 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) { + * final var testCccInfrastructures = ComputeCloudFunctions.getAtCustomerCccInfrastructures(GetAtCustomerCccInfrastructuresArgs.builder() + * .accessLevel(var_.ccc_infrastructure_access_level()) + * .cccInfrastructureId(oci_compute_cloud_at_customer_ccc_infrastructure.test_ccc_infrastructure().id()) + * .compartmentId(var_.compartment_id()) + * .compartmentIdInSubtree(var_.ccc_infrastructure_compartment_id_in_subtree()) + * .displayName(var_.ccc_infrastructure_display_name()) + * .displayNameContains(var_.ccc_infrastructure_display_name_contains()) + * .state(var_.ccc_infrastructure_state()) + * .build()); + * + * } + * } + * ``` + * + */ + public static CompletableFuture getAtCustomerCccInfrastructuresPlain(GetAtCustomerCccInfrastructuresPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:ComputeCloud/getAtCustomerCccInfrastructures:getAtCustomerCccInfrastructures", TypeShape.of(GetAtCustomerCccInfrastructuresResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides details about a specific Ccc Upgrade Schedule resource in Oracle Cloud Infrastructure Compute Cloud At Customer service. + * + * Gets a Compute Cloud@Customer upgrade schedule by the specified + * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + * + * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.oci.ComputeCloud.ComputeCloudFunctions; + * import com.pulumi.oci.ComputeCloud.inputs.GetAtCustomerCccUpgradeScheduleArgs; + * 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) { + * final var testCccUpgradeSchedule = ComputeCloudFunctions.getAtCustomerCccUpgradeSchedule(GetAtCustomerCccUpgradeScheduleArgs.builder() + * .cccUpgradeScheduleId(oci_compute_cloud_at_customer_ccc_upgrade_schedule.test_ccc_upgrade_schedule().id()) + * .build()); + * + * } + * } + * ``` + * + */ + public static Output getAtCustomerCccUpgradeSchedule(GetAtCustomerCccUpgradeScheduleArgs args) { + return getAtCustomerCccUpgradeSchedule(args, InvokeOptions.Empty); + } + /** + * This data source provides details about a specific Ccc Upgrade Schedule resource in Oracle Cloud Infrastructure Compute Cloud At Customer service. + * + * Gets a Compute Cloud@Customer upgrade schedule by the specified + * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + * + * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.oci.ComputeCloud.ComputeCloudFunctions; + * import com.pulumi.oci.ComputeCloud.inputs.GetAtCustomerCccUpgradeScheduleArgs; + * 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) { + * final var testCccUpgradeSchedule = ComputeCloudFunctions.getAtCustomerCccUpgradeSchedule(GetAtCustomerCccUpgradeScheduleArgs.builder() + * .cccUpgradeScheduleId(oci_compute_cloud_at_customer_ccc_upgrade_schedule.test_ccc_upgrade_schedule().id()) + * .build()); + * + * } + * } + * ``` + * + */ + public static CompletableFuture getAtCustomerCccUpgradeSchedulePlain(GetAtCustomerCccUpgradeSchedulePlainArgs args) { + return getAtCustomerCccUpgradeSchedulePlain(args, InvokeOptions.Empty); + } + /** + * This data source provides details about a specific Ccc Upgrade Schedule resource in Oracle Cloud Infrastructure Compute Cloud At Customer service. + * + * Gets a Compute Cloud@Customer upgrade schedule by the specified + * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + * + * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.oci.ComputeCloud.ComputeCloudFunctions; + * import com.pulumi.oci.ComputeCloud.inputs.GetAtCustomerCccUpgradeScheduleArgs; + * 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) { + * final var testCccUpgradeSchedule = ComputeCloudFunctions.getAtCustomerCccUpgradeSchedule(GetAtCustomerCccUpgradeScheduleArgs.builder() + * .cccUpgradeScheduleId(oci_compute_cloud_at_customer_ccc_upgrade_schedule.test_ccc_upgrade_schedule().id()) + * .build()); + * + * } + * } + * ``` + * + */ + public static Output getAtCustomerCccUpgradeSchedule(GetAtCustomerCccUpgradeScheduleArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:ComputeCloud/getAtCustomerCccUpgradeSchedule:getAtCustomerCccUpgradeSchedule", TypeShape.of(GetAtCustomerCccUpgradeScheduleResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides details about a specific Ccc Upgrade Schedule resource in Oracle Cloud Infrastructure Compute Cloud At Customer service. + * + * Gets a Compute Cloud@Customer upgrade schedule by the specified + * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + * + * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.oci.ComputeCloud.ComputeCloudFunctions; + * import com.pulumi.oci.ComputeCloud.inputs.GetAtCustomerCccUpgradeScheduleArgs; + * 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) { + * final var testCccUpgradeSchedule = ComputeCloudFunctions.getAtCustomerCccUpgradeSchedule(GetAtCustomerCccUpgradeScheduleArgs.builder() + * .cccUpgradeScheduleId(oci_compute_cloud_at_customer_ccc_upgrade_schedule.test_ccc_upgrade_schedule().id()) + * .build()); + * + * } + * } + * ``` + * + */ + public static CompletableFuture getAtCustomerCccUpgradeSchedulePlain(GetAtCustomerCccUpgradeSchedulePlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:ComputeCloud/getAtCustomerCccUpgradeSchedule:getAtCustomerCccUpgradeSchedule", TypeShape.of(GetAtCustomerCccUpgradeScheduleResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Ccc Upgrade Schedules in Oracle Cloud Infrastructure Compute Cloud At Customer service. + * + * Returns a list of Compute Cloud@Customer upgrade schedules. + * + * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.oci.ComputeCloud.ComputeCloudFunctions; + * import com.pulumi.oci.ComputeCloud.inputs.GetAtCustomerCccUpgradeSchedulesArgs; + * 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) { + * final var testCccUpgradeSchedules = ComputeCloudFunctions.getAtCustomerCccUpgradeSchedules(GetAtCustomerCccUpgradeSchedulesArgs.builder() + * .accessLevel(var_.ccc_upgrade_schedule_access_level()) + * .cccUpgradeScheduleId(oci_compute_cloud_at_customer_ccc_upgrade_schedule.test_ccc_upgrade_schedule().id()) + * .compartmentId(var_.compartment_id()) + * .compartmentIdInSubtree(var_.ccc_upgrade_schedule_compartment_id_in_subtree()) + * .displayName(var_.ccc_upgrade_schedule_display_name()) + * .displayNameContains(var_.ccc_upgrade_schedule_display_name_contains()) + * .state(var_.ccc_upgrade_schedule_state()) + * .build()); + * + * } + * } + * ``` + * + */ + public static Output getAtCustomerCccUpgradeSchedules() { + return getAtCustomerCccUpgradeSchedules(GetAtCustomerCccUpgradeSchedulesArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source provides the list of Ccc Upgrade Schedules in Oracle Cloud Infrastructure Compute Cloud At Customer service. + * + * Returns a list of Compute Cloud@Customer upgrade schedules. + * + * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.oci.ComputeCloud.ComputeCloudFunctions; + * import com.pulumi.oci.ComputeCloud.inputs.GetAtCustomerCccUpgradeSchedulesArgs; + * 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) { + * final var testCccUpgradeSchedules = ComputeCloudFunctions.getAtCustomerCccUpgradeSchedules(GetAtCustomerCccUpgradeSchedulesArgs.builder() + * .accessLevel(var_.ccc_upgrade_schedule_access_level()) + * .cccUpgradeScheduleId(oci_compute_cloud_at_customer_ccc_upgrade_schedule.test_ccc_upgrade_schedule().id()) + * .compartmentId(var_.compartment_id()) + * .compartmentIdInSubtree(var_.ccc_upgrade_schedule_compartment_id_in_subtree()) + * .displayName(var_.ccc_upgrade_schedule_display_name()) + * .displayNameContains(var_.ccc_upgrade_schedule_display_name_contains()) + * .state(var_.ccc_upgrade_schedule_state()) + * .build()); + * + * } + * } + * ``` + * + */ + public static CompletableFuture getAtCustomerCccUpgradeSchedulesPlain() { + return getAtCustomerCccUpgradeSchedulesPlain(GetAtCustomerCccUpgradeSchedulesPlainArgs.Empty, InvokeOptions.Empty); + } + /** + * This data source provides the list of Ccc Upgrade Schedules in Oracle Cloud Infrastructure Compute Cloud At Customer service. + * + * Returns a list of Compute Cloud@Customer upgrade schedules. + * + * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.oci.ComputeCloud.ComputeCloudFunctions; + * import com.pulumi.oci.ComputeCloud.inputs.GetAtCustomerCccUpgradeSchedulesArgs; + * 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) { + * final var testCccUpgradeSchedules = ComputeCloudFunctions.getAtCustomerCccUpgradeSchedules(GetAtCustomerCccUpgradeSchedulesArgs.builder() + * .accessLevel(var_.ccc_upgrade_schedule_access_level()) + * .cccUpgradeScheduleId(oci_compute_cloud_at_customer_ccc_upgrade_schedule.test_ccc_upgrade_schedule().id()) + * .compartmentId(var_.compartment_id()) + * .compartmentIdInSubtree(var_.ccc_upgrade_schedule_compartment_id_in_subtree()) + * .displayName(var_.ccc_upgrade_schedule_display_name()) + * .displayNameContains(var_.ccc_upgrade_schedule_display_name_contains()) + * .state(var_.ccc_upgrade_schedule_state()) + * .build()); + * + * } + * } + * ``` + * + */ + public static Output getAtCustomerCccUpgradeSchedules(GetAtCustomerCccUpgradeSchedulesArgs args) { + return getAtCustomerCccUpgradeSchedules(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Ccc Upgrade Schedules in Oracle Cloud Infrastructure Compute Cloud At Customer service. + * + * Returns a list of Compute Cloud@Customer upgrade schedules. + * + * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.oci.ComputeCloud.ComputeCloudFunctions; + * import com.pulumi.oci.ComputeCloud.inputs.GetAtCustomerCccUpgradeSchedulesArgs; + * 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) { + * final var testCccUpgradeSchedules = ComputeCloudFunctions.getAtCustomerCccUpgradeSchedules(GetAtCustomerCccUpgradeSchedulesArgs.builder() + * .accessLevel(var_.ccc_upgrade_schedule_access_level()) + * .cccUpgradeScheduleId(oci_compute_cloud_at_customer_ccc_upgrade_schedule.test_ccc_upgrade_schedule().id()) + * .compartmentId(var_.compartment_id()) + * .compartmentIdInSubtree(var_.ccc_upgrade_schedule_compartment_id_in_subtree()) + * .displayName(var_.ccc_upgrade_schedule_display_name()) + * .displayNameContains(var_.ccc_upgrade_schedule_display_name_contains()) + * .state(var_.ccc_upgrade_schedule_state()) + * .build()); + * + * } + * } + * ``` + * + */ + public static CompletableFuture getAtCustomerCccUpgradeSchedulesPlain(GetAtCustomerCccUpgradeSchedulesPlainArgs args) { + return getAtCustomerCccUpgradeSchedulesPlain(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Ccc Upgrade Schedules in Oracle Cloud Infrastructure Compute Cloud At Customer service. + * + * Returns a list of Compute Cloud@Customer upgrade schedules. + * + * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.oci.ComputeCloud.ComputeCloudFunctions; + * import com.pulumi.oci.ComputeCloud.inputs.GetAtCustomerCccUpgradeSchedulesArgs; + * 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) { + * final var testCccUpgradeSchedules = ComputeCloudFunctions.getAtCustomerCccUpgradeSchedules(GetAtCustomerCccUpgradeSchedulesArgs.builder() + * .accessLevel(var_.ccc_upgrade_schedule_access_level()) + * .cccUpgradeScheduleId(oci_compute_cloud_at_customer_ccc_upgrade_schedule.test_ccc_upgrade_schedule().id()) + * .compartmentId(var_.compartment_id()) + * .compartmentIdInSubtree(var_.ccc_upgrade_schedule_compartment_id_in_subtree()) + * .displayName(var_.ccc_upgrade_schedule_display_name()) + * .displayNameContains(var_.ccc_upgrade_schedule_display_name_contains()) + * .state(var_.ccc_upgrade_schedule_state()) + * .build()); + * + * } + * } + * ``` + * + */ + public static Output getAtCustomerCccUpgradeSchedules(GetAtCustomerCccUpgradeSchedulesArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:ComputeCloud/getAtCustomerCccUpgradeSchedules:getAtCustomerCccUpgradeSchedules", TypeShape.of(GetAtCustomerCccUpgradeSchedulesResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Ccc Upgrade Schedules in Oracle Cloud Infrastructure Compute Cloud At Customer service. + * + * Returns a list of Compute Cloud@Customer upgrade schedules. + * + * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.oci.ComputeCloud.ComputeCloudFunctions; + * import com.pulumi.oci.ComputeCloud.inputs.GetAtCustomerCccUpgradeSchedulesArgs; + * 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) { + * final var testCccUpgradeSchedules = ComputeCloudFunctions.getAtCustomerCccUpgradeSchedules(GetAtCustomerCccUpgradeSchedulesArgs.builder() + * .accessLevel(var_.ccc_upgrade_schedule_access_level()) + * .cccUpgradeScheduleId(oci_compute_cloud_at_customer_ccc_upgrade_schedule.test_ccc_upgrade_schedule().id()) + * .compartmentId(var_.compartment_id()) + * .compartmentIdInSubtree(var_.ccc_upgrade_schedule_compartment_id_in_subtree()) + * .displayName(var_.ccc_upgrade_schedule_display_name()) + * .displayNameContains(var_.ccc_upgrade_schedule_display_name_contains()) + * .state(var_.ccc_upgrade_schedule_state()) + * .build()); + * + * } + * } + * ``` + * + */ + public static CompletableFuture getAtCustomerCccUpgradeSchedulesPlain(GetAtCustomerCccUpgradeSchedulesPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:ComputeCloud/getAtCustomerCccUpgradeSchedules:getAtCustomerCccUpgradeSchedules", TypeShape.of(GetAtCustomerCccUpgradeSchedulesResult.class), args, Utilities.withVersion(options)); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/inputs/AtCustomerCccInfrastructureInfrastructureInventoryArgs.java b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/inputs/AtCustomerCccInfrastructureInfrastructureInventoryArgs.java new file mode 100644 index 0000000000..139542f297 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/inputs/AtCustomerCccInfrastructureInfrastructureInventoryArgs.java @@ -0,0 +1,232 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.ComputeCloud.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.Integer; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AtCustomerCccInfrastructureInfrastructureInventoryArgs extends com.pulumi.resources.ResourceArgs { + + public static final AtCustomerCccInfrastructureInfrastructureInventoryArgs Empty = new AtCustomerCccInfrastructureInfrastructureInventoryArgs(); + + /** + * The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for capacity storage. + * + */ + @Import(name="capacityStorageTrayCount") + private @Nullable Output capacityStorageTrayCount; + + /** + * @return The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for capacity storage. + * + */ + public Optional> capacityStorageTrayCount() { + return Optional.ofNullable(this.capacityStorageTrayCount); + } + + /** + * The number of compute nodes that are available and usable on the Compute Cloud@Customer infrastructure rack. There is no distinction of compute node type in this information. + * + */ + @Import(name="computeNodeCount") + private @Nullable Output computeNodeCount; + + /** + * @return The number of compute nodes that are available and usable on the Compute Cloud@Customer infrastructure rack. There is no distinction of compute node type in this information. + * + */ + public Optional> computeNodeCount() { + return Optional.ofNullable(this.computeNodeCount); + } + + /** + * The number of management nodes that are available and in active use on the Compute Cloud@Customer infrastructure rack. + * + */ + @Import(name="managementNodeCount") + private @Nullable Output managementNodeCount; + + /** + * @return The number of management nodes that are available and in active use on the Compute Cloud@Customer infrastructure rack. + * + */ + public Optional> managementNodeCount() { + return Optional.ofNullable(this.managementNodeCount); + } + + /** + * The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for performance storage. + * + */ + @Import(name="performanceStorageTrayCount") + private @Nullable Output performanceStorageTrayCount; + + /** + * @return The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for performance storage. + * + */ + public Optional> performanceStorageTrayCount() { + return Optional.ofNullable(this.performanceStorageTrayCount); + } + + /** + * The serial number of the Compute Cloud@Customer infrastructure rack. + * + */ + @Import(name="serialNumber") + private @Nullable Output serialNumber; + + /** + * @return The serial number of the Compute Cloud@Customer infrastructure rack. + * + */ + public Optional> serialNumber() { + return Optional.ofNullable(this.serialNumber); + } + + private AtCustomerCccInfrastructureInfrastructureInventoryArgs() {} + + private AtCustomerCccInfrastructureInfrastructureInventoryArgs(AtCustomerCccInfrastructureInfrastructureInventoryArgs $) { + this.capacityStorageTrayCount = $.capacityStorageTrayCount; + this.computeNodeCount = $.computeNodeCount; + this.managementNodeCount = $.managementNodeCount; + this.performanceStorageTrayCount = $.performanceStorageTrayCount; + this.serialNumber = $.serialNumber; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AtCustomerCccInfrastructureInfrastructureInventoryArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AtCustomerCccInfrastructureInfrastructureInventoryArgs $; + + public Builder() { + $ = new AtCustomerCccInfrastructureInfrastructureInventoryArgs(); + } + + public Builder(AtCustomerCccInfrastructureInfrastructureInventoryArgs defaults) { + $ = new AtCustomerCccInfrastructureInfrastructureInventoryArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param capacityStorageTrayCount The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for capacity storage. + * + * @return builder + * + */ + public Builder capacityStorageTrayCount(@Nullable Output capacityStorageTrayCount) { + $.capacityStorageTrayCount = capacityStorageTrayCount; + return this; + } + + /** + * @param capacityStorageTrayCount The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for capacity storage. + * + * @return builder + * + */ + public Builder capacityStorageTrayCount(Integer capacityStorageTrayCount) { + return capacityStorageTrayCount(Output.of(capacityStorageTrayCount)); + } + + /** + * @param computeNodeCount The number of compute nodes that are available and usable on the Compute Cloud@Customer infrastructure rack. There is no distinction of compute node type in this information. + * + * @return builder + * + */ + public Builder computeNodeCount(@Nullable Output computeNodeCount) { + $.computeNodeCount = computeNodeCount; + return this; + } + + /** + * @param computeNodeCount The number of compute nodes that are available and usable on the Compute Cloud@Customer infrastructure rack. There is no distinction of compute node type in this information. + * + * @return builder + * + */ + public Builder computeNodeCount(Integer computeNodeCount) { + return computeNodeCount(Output.of(computeNodeCount)); + } + + /** + * @param managementNodeCount The number of management nodes that are available and in active use on the Compute Cloud@Customer infrastructure rack. + * + * @return builder + * + */ + public Builder managementNodeCount(@Nullable Output managementNodeCount) { + $.managementNodeCount = managementNodeCount; + return this; + } + + /** + * @param managementNodeCount The number of management nodes that are available and in active use on the Compute Cloud@Customer infrastructure rack. + * + * @return builder + * + */ + public Builder managementNodeCount(Integer managementNodeCount) { + return managementNodeCount(Output.of(managementNodeCount)); + } + + /** + * @param performanceStorageTrayCount The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for performance storage. + * + * @return builder + * + */ + public Builder performanceStorageTrayCount(@Nullable Output performanceStorageTrayCount) { + $.performanceStorageTrayCount = performanceStorageTrayCount; + return this; + } + + /** + * @param performanceStorageTrayCount The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for performance storage. + * + * @return builder + * + */ + public Builder performanceStorageTrayCount(Integer performanceStorageTrayCount) { + return performanceStorageTrayCount(Output.of(performanceStorageTrayCount)); + } + + /** + * @param serialNumber The serial number of the Compute Cloud@Customer infrastructure rack. + * + * @return builder + * + */ + public Builder serialNumber(@Nullable Output serialNumber) { + $.serialNumber = serialNumber; + return this; + } + + /** + * @param serialNumber The serial number of the Compute Cloud@Customer infrastructure rack. + * + * @return builder + * + */ + public Builder serialNumber(String serialNumber) { + return serialNumber(Output.of(serialNumber)); + } + + public AtCustomerCccInfrastructureInfrastructureInventoryArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/inputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArgs.java b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/inputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArgs.java new file mode 100644 index 0000000000..1419e99529 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/inputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArgs.java @@ -0,0 +1,656 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.ComputeCloud.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.oci.ComputeCloud.inputs.AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArgs; +import com.pulumi.oci.ComputeCloud.inputs.AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArgs; +import com.pulumi.oci.ComputeCloud.inputs.AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArgs; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArgs extends com.pulumi.resources.ResourceArgs { + + public static final AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArgs Empty = new AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArgs(); + + /** + * The domain name system (DNS) addresses that the Compute Cloud@Customer infrastructure uses for the data center network. + * + */ + @Import(name="dnsIps") + private @Nullable Output> dnsIps; + + /** + * @return The domain name system (DNS) addresses that the Compute Cloud@Customer infrastructure uses for the data center network. + * + */ + public Optional>> dnsIps() { + return Optional.ofNullable(this.dnsIps); + } + + /** + * Dynamic routing information for the Compute Cloud@Customer infrastructure. + * + */ + @Import(name="infrastructureRoutingDynamics") + private @Nullable Output> infrastructureRoutingDynamics; + + /** + * @return Dynamic routing information for the Compute Cloud@Customer infrastructure. + * + */ + public Optional>> infrastructureRoutingDynamics() { + return Optional.ofNullable(this.infrastructureRoutingDynamics); + } + + /** + * Static routing information for a rack. + * + */ + @Import(name="infrastructureRoutingStatics") + private @Nullable Output> infrastructureRoutingStatics; + + /** + * @return Static routing information for a rack. + * + */ + public Optional>> infrastructureRoutingStatics() { + return Optional.ofNullable(this.infrastructureRoutingStatics); + } + + /** + * Information about the management nodes that are provisioned in the Compute Cloud@Customer infrastructure. + * + */ + @Import(name="managementNodes") + private @Nullable Output> managementNodes; + + /** + * @return Information about the management nodes that are provisioned in the Compute Cloud@Customer infrastructure. + * + */ + public Optional>> managementNodes() { + return Optional.ofNullable(this.managementNodes); + } + + /** + * The hostname corresponding to the virtual IP (VIP) address of the management nodes. + * + */ + @Import(name="mgmtVipHostname") + private @Nullable Output mgmtVipHostname; + + /** + * @return The hostname corresponding to the virtual IP (VIP) address of the management nodes. + * + */ + public Optional> mgmtVipHostname() { + return Optional.ofNullable(this.mgmtVipHostname); + } + + /** + * The IP address used as the virtual IP (VIP) address of the management nodes. + * + */ + @Import(name="mgmtVipIp") + private @Nullable Output mgmtVipIp; + + /** + * @return The IP address used as the virtual IP (VIP) address of the management nodes. + * + */ + public Optional> mgmtVipIp() { + return Optional.ofNullable(this.mgmtVipIp); + } + + /** + * Addresses of the network spine switches. + * + */ + @Import(name="spineIps") + private @Nullable Output> spineIps; + + /** + * @return Addresses of the network spine switches. + * + */ + public Optional>> spineIps() { + return Optional.ofNullable(this.spineIps); + } + + /** + * The spine switch public virtual IP (VIP). Traffic routed to the Compute Cloud@Customer infrastructure and and virtual cloud networks (VCNs) should have this address as next hop. + * + */ + @Import(name="spineVip") + private @Nullable Output spineVip; + + /** + * @return The spine switch public virtual IP (VIP). Traffic routed to the Compute Cloud@Customer infrastructure and and virtual cloud networks (VCNs) should have this address as next hop. + * + */ + public Optional> spineVip() { + return Optional.ofNullable(this.spineVip); + } + + /** + * Domain name to be used as the base domain for the internal network and by public facing services. + * + */ + @Import(name="uplinkDomain") + private @Nullable Output uplinkDomain; + + /** + * @return Domain name to be used as the base domain for the internal network and by public facing services. + * + */ + public Optional> uplinkDomain() { + return Optional.ofNullable(this.uplinkDomain); + } + + /** + * Uplink gateway in the datacenter network that the Compute Cloud@Customer connects to. + * + */ + @Import(name="uplinkGatewayIp") + private @Nullable Output uplinkGatewayIp; + + /** + * @return Uplink gateway in the datacenter network that the Compute Cloud@Customer connects to. + * + */ + public Optional> uplinkGatewayIp() { + return Optional.ofNullable(this.uplinkGatewayIp); + } + + /** + * Netmask of the subnet that the Compute Cloud@Customer infrastructure is connected to. + * + */ + @Import(name="uplinkNetmask") + private @Nullable Output uplinkNetmask; + + /** + * @return Netmask of the subnet that the Compute Cloud@Customer infrastructure is connected to. + * + */ + public Optional> uplinkNetmask() { + return Optional.ofNullable(this.uplinkNetmask); + } + + /** + * Number of uplink ports per spine switch. Connectivity is identical on both spine switches. For example, if input is two 100 gigabyte ports; then port-1 and port-2 on both spines will be configured. + * + */ + @Import(name="uplinkPortCount") + private @Nullable Output uplinkPortCount; + + /** + * @return Number of uplink ports per spine switch. Connectivity is identical on both spine switches. For example, if input is two 100 gigabyte ports; then port-1 and port-2 on both spines will be configured. + * + */ + public Optional> uplinkPortCount() { + return Optional.ofNullable(this.uplinkPortCount); + } + + /** + * The port forward error correction (FEC) setting for the uplink port on the Compute Cloud@Customer infrastructure. + * + */ + @Import(name="uplinkPortForwardErrorCorrection") + private @Nullable Output uplinkPortForwardErrorCorrection; + + /** + * @return The port forward error correction (FEC) setting for the uplink port on the Compute Cloud@Customer infrastructure. + * + */ + public Optional> uplinkPortForwardErrorCorrection() { + return Optional.ofNullable(this.uplinkPortForwardErrorCorrection); + } + + /** + * Uplink port speed defined in gigabytes per second. All uplink ports must have identical speed. + * + */ + @Import(name="uplinkPortSpeedInGbps") + private @Nullable Output uplinkPortSpeedInGbps; + + /** + * @return Uplink port speed defined in gigabytes per second. All uplink ports must have identical speed. + * + */ + public Optional> uplinkPortSpeedInGbps() { + return Optional.ofNullable(this.uplinkPortSpeedInGbps); + } + + /** + * The virtual local area network (VLAN) maximum transmission unit (MTU) size for the uplink ports. + * + */ + @Import(name="uplinkVlanMtu") + private @Nullable Output uplinkVlanMtu; + + /** + * @return The virtual local area network (VLAN) maximum transmission unit (MTU) size for the uplink ports. + * + */ + public Optional> uplinkVlanMtu() { + return Optional.ofNullable(this.uplinkVlanMtu); + } + + private AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArgs() {} + + private AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArgs(AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArgs $) { + this.dnsIps = $.dnsIps; + this.infrastructureRoutingDynamics = $.infrastructureRoutingDynamics; + this.infrastructureRoutingStatics = $.infrastructureRoutingStatics; + this.managementNodes = $.managementNodes; + this.mgmtVipHostname = $.mgmtVipHostname; + this.mgmtVipIp = $.mgmtVipIp; + this.spineIps = $.spineIps; + this.spineVip = $.spineVip; + this.uplinkDomain = $.uplinkDomain; + this.uplinkGatewayIp = $.uplinkGatewayIp; + this.uplinkNetmask = $.uplinkNetmask; + this.uplinkPortCount = $.uplinkPortCount; + this.uplinkPortForwardErrorCorrection = $.uplinkPortForwardErrorCorrection; + this.uplinkPortSpeedInGbps = $.uplinkPortSpeedInGbps; + this.uplinkVlanMtu = $.uplinkVlanMtu; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArgs $; + + public Builder() { + $ = new AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArgs(); + } + + public Builder(AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArgs defaults) { + $ = new AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param dnsIps The domain name system (DNS) addresses that the Compute Cloud@Customer infrastructure uses for the data center network. + * + * @return builder + * + */ + public Builder dnsIps(@Nullable Output> dnsIps) { + $.dnsIps = dnsIps; + return this; + } + + /** + * @param dnsIps The domain name system (DNS) addresses that the Compute Cloud@Customer infrastructure uses for the data center network. + * + * @return builder + * + */ + public Builder dnsIps(List dnsIps) { + return dnsIps(Output.of(dnsIps)); + } + + /** + * @param dnsIps The domain name system (DNS) addresses that the Compute Cloud@Customer infrastructure uses for the data center network. + * + * @return builder + * + */ + public Builder dnsIps(String... dnsIps) { + return dnsIps(List.of(dnsIps)); + } + + /** + * @param infrastructureRoutingDynamics Dynamic routing information for the Compute Cloud@Customer infrastructure. + * + * @return builder + * + */ + public Builder infrastructureRoutingDynamics(@Nullable Output> infrastructureRoutingDynamics) { + $.infrastructureRoutingDynamics = infrastructureRoutingDynamics; + return this; + } + + /** + * @param infrastructureRoutingDynamics Dynamic routing information for the Compute Cloud@Customer infrastructure. + * + * @return builder + * + */ + public Builder infrastructureRoutingDynamics(List infrastructureRoutingDynamics) { + return infrastructureRoutingDynamics(Output.of(infrastructureRoutingDynamics)); + } + + /** + * @param infrastructureRoutingDynamics Dynamic routing information for the Compute Cloud@Customer infrastructure. + * + * @return builder + * + */ + public Builder infrastructureRoutingDynamics(AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArgs... infrastructureRoutingDynamics) { + return infrastructureRoutingDynamics(List.of(infrastructureRoutingDynamics)); + } + + /** + * @param infrastructureRoutingStatics Static routing information for a rack. + * + * @return builder + * + */ + public Builder infrastructureRoutingStatics(@Nullable Output> infrastructureRoutingStatics) { + $.infrastructureRoutingStatics = infrastructureRoutingStatics; + return this; + } + + /** + * @param infrastructureRoutingStatics Static routing information for a rack. + * + * @return builder + * + */ + public Builder infrastructureRoutingStatics(List infrastructureRoutingStatics) { + return infrastructureRoutingStatics(Output.of(infrastructureRoutingStatics)); + } + + /** + * @param infrastructureRoutingStatics Static routing information for a rack. + * + * @return builder + * + */ + public Builder infrastructureRoutingStatics(AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArgs... infrastructureRoutingStatics) { + return infrastructureRoutingStatics(List.of(infrastructureRoutingStatics)); + } + + /** + * @param managementNodes Information about the management nodes that are provisioned in the Compute Cloud@Customer infrastructure. + * + * @return builder + * + */ + public Builder managementNodes(@Nullable Output> managementNodes) { + $.managementNodes = managementNodes; + return this; + } + + /** + * @param managementNodes Information about the management nodes that are provisioned in the Compute Cloud@Customer infrastructure. + * + * @return builder + * + */ + public Builder managementNodes(List managementNodes) { + return managementNodes(Output.of(managementNodes)); + } + + /** + * @param managementNodes Information about the management nodes that are provisioned in the Compute Cloud@Customer infrastructure. + * + * @return builder + * + */ + public Builder managementNodes(AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArgs... managementNodes) { + return managementNodes(List.of(managementNodes)); + } + + /** + * @param mgmtVipHostname The hostname corresponding to the virtual IP (VIP) address of the management nodes. + * + * @return builder + * + */ + public Builder mgmtVipHostname(@Nullable Output mgmtVipHostname) { + $.mgmtVipHostname = mgmtVipHostname; + return this; + } + + /** + * @param mgmtVipHostname The hostname corresponding to the virtual IP (VIP) address of the management nodes. + * + * @return builder + * + */ + public Builder mgmtVipHostname(String mgmtVipHostname) { + return mgmtVipHostname(Output.of(mgmtVipHostname)); + } + + /** + * @param mgmtVipIp The IP address used as the virtual IP (VIP) address of the management nodes. + * + * @return builder + * + */ + public Builder mgmtVipIp(@Nullable Output mgmtVipIp) { + $.mgmtVipIp = mgmtVipIp; + return this; + } + + /** + * @param mgmtVipIp The IP address used as the virtual IP (VIP) address of the management nodes. + * + * @return builder + * + */ + public Builder mgmtVipIp(String mgmtVipIp) { + return mgmtVipIp(Output.of(mgmtVipIp)); + } + + /** + * @param spineIps Addresses of the network spine switches. + * + * @return builder + * + */ + public Builder spineIps(@Nullable Output> spineIps) { + $.spineIps = spineIps; + return this; + } + + /** + * @param spineIps Addresses of the network spine switches. + * + * @return builder + * + */ + public Builder spineIps(List spineIps) { + return spineIps(Output.of(spineIps)); + } + + /** + * @param spineIps Addresses of the network spine switches. + * + * @return builder + * + */ + public Builder spineIps(String... spineIps) { + return spineIps(List.of(spineIps)); + } + + /** + * @param spineVip The spine switch public virtual IP (VIP). Traffic routed to the Compute Cloud@Customer infrastructure and and virtual cloud networks (VCNs) should have this address as next hop. + * + * @return builder + * + */ + public Builder spineVip(@Nullable Output spineVip) { + $.spineVip = spineVip; + return this; + } + + /** + * @param spineVip The spine switch public virtual IP (VIP). Traffic routed to the Compute Cloud@Customer infrastructure and and virtual cloud networks (VCNs) should have this address as next hop. + * + * @return builder + * + */ + public Builder spineVip(String spineVip) { + return spineVip(Output.of(spineVip)); + } + + /** + * @param uplinkDomain Domain name to be used as the base domain for the internal network and by public facing services. + * + * @return builder + * + */ + public Builder uplinkDomain(@Nullable Output uplinkDomain) { + $.uplinkDomain = uplinkDomain; + return this; + } + + /** + * @param uplinkDomain Domain name to be used as the base domain for the internal network and by public facing services. + * + * @return builder + * + */ + public Builder uplinkDomain(String uplinkDomain) { + return uplinkDomain(Output.of(uplinkDomain)); + } + + /** + * @param uplinkGatewayIp Uplink gateway in the datacenter network that the Compute Cloud@Customer connects to. + * + * @return builder + * + */ + public Builder uplinkGatewayIp(@Nullable Output uplinkGatewayIp) { + $.uplinkGatewayIp = uplinkGatewayIp; + return this; + } + + /** + * @param uplinkGatewayIp Uplink gateway in the datacenter network that the Compute Cloud@Customer connects to. + * + * @return builder + * + */ + public Builder uplinkGatewayIp(String uplinkGatewayIp) { + return uplinkGatewayIp(Output.of(uplinkGatewayIp)); + } + + /** + * @param uplinkNetmask Netmask of the subnet that the Compute Cloud@Customer infrastructure is connected to. + * + * @return builder + * + */ + public Builder uplinkNetmask(@Nullable Output uplinkNetmask) { + $.uplinkNetmask = uplinkNetmask; + return this; + } + + /** + * @param uplinkNetmask Netmask of the subnet that the Compute Cloud@Customer infrastructure is connected to. + * + * @return builder + * + */ + public Builder uplinkNetmask(String uplinkNetmask) { + return uplinkNetmask(Output.of(uplinkNetmask)); + } + + /** + * @param uplinkPortCount Number of uplink ports per spine switch. Connectivity is identical on both spine switches. For example, if input is two 100 gigabyte ports; then port-1 and port-2 on both spines will be configured. + * + * @return builder + * + */ + public Builder uplinkPortCount(@Nullable Output uplinkPortCount) { + $.uplinkPortCount = uplinkPortCount; + return this; + } + + /** + * @param uplinkPortCount Number of uplink ports per spine switch. Connectivity is identical on both spine switches. For example, if input is two 100 gigabyte ports; then port-1 and port-2 on both spines will be configured. + * + * @return builder + * + */ + public Builder uplinkPortCount(Integer uplinkPortCount) { + return uplinkPortCount(Output.of(uplinkPortCount)); + } + + /** + * @param uplinkPortForwardErrorCorrection The port forward error correction (FEC) setting for the uplink port on the Compute Cloud@Customer infrastructure. + * + * @return builder + * + */ + public Builder uplinkPortForwardErrorCorrection(@Nullable Output uplinkPortForwardErrorCorrection) { + $.uplinkPortForwardErrorCorrection = uplinkPortForwardErrorCorrection; + return this; + } + + /** + * @param uplinkPortForwardErrorCorrection The port forward error correction (FEC) setting for the uplink port on the Compute Cloud@Customer infrastructure. + * + * @return builder + * + */ + public Builder uplinkPortForwardErrorCorrection(String uplinkPortForwardErrorCorrection) { + return uplinkPortForwardErrorCorrection(Output.of(uplinkPortForwardErrorCorrection)); + } + + /** + * @param uplinkPortSpeedInGbps Uplink port speed defined in gigabytes per second. All uplink ports must have identical speed. + * + * @return builder + * + */ + public Builder uplinkPortSpeedInGbps(@Nullable Output uplinkPortSpeedInGbps) { + $.uplinkPortSpeedInGbps = uplinkPortSpeedInGbps; + return this; + } + + /** + * @param uplinkPortSpeedInGbps Uplink port speed defined in gigabytes per second. All uplink ports must have identical speed. + * + * @return builder + * + */ + public Builder uplinkPortSpeedInGbps(Integer uplinkPortSpeedInGbps) { + return uplinkPortSpeedInGbps(Output.of(uplinkPortSpeedInGbps)); + } + + /** + * @param uplinkVlanMtu The virtual local area network (VLAN) maximum transmission unit (MTU) size for the uplink ports. + * + * @return builder + * + */ + public Builder uplinkVlanMtu(@Nullable Output uplinkVlanMtu) { + $.uplinkVlanMtu = uplinkVlanMtu; + return this; + } + + /** + * @param uplinkVlanMtu The virtual local area network (VLAN) maximum transmission unit (MTU) size for the uplink ports. + * + * @return builder + * + */ + public Builder uplinkVlanMtu(Integer uplinkVlanMtu) { + return uplinkVlanMtu(Output.of(uplinkVlanMtu)); + } + + public AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/inputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArgs.java b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/inputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArgs.java new file mode 100644 index 0000000000..1a9673db83 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/inputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArgs.java @@ -0,0 +1,170 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.ComputeCloud.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.oci.ComputeCloud.inputs.AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArgs; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArgs extends com.pulumi.resources.ResourceArgs { + + public static final AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArgs Empty = new AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArgs(); + + /** + * The topology in use for the Border Gateway Protocol (BGP) configuration. + * + */ + @Import(name="bgpTopology") + private @Nullable Output bgpTopology; + + /** + * @return The topology in use for the Border Gateway Protocol (BGP) configuration. + * + */ + public Optional> bgpTopology() { + return Optional.ofNullable(this.bgpTopology); + } + + /** + * The Oracle Autonomous System Number (ASN) to control routing and exchange information within the dynamic routing configuration. + * + */ + @Import(name="oracleAsn") + private @Nullable Output oracleAsn; + + /** + * @return The Oracle Autonomous System Number (ASN) to control routing and exchange information within the dynamic routing configuration. + * + */ + public Optional> oracleAsn() { + return Optional.ofNullable(this.oracleAsn); + } + + /** + * The list of peer devices in the dynamic routing configuration. + * + */ + @Import(name="peerInformations") + private @Nullable Output> peerInformations; + + /** + * @return The list of peer devices in the dynamic routing configuration. + * + */ + public Optional>> peerInformations() { + return Optional.ofNullable(this.peerInformations); + } + + private AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArgs() {} + + private AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArgs(AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArgs $) { + this.bgpTopology = $.bgpTopology; + this.oracleAsn = $.oracleAsn; + this.peerInformations = $.peerInformations; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArgs $; + + public Builder() { + $ = new AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArgs(); + } + + public Builder(AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArgs defaults) { + $ = new AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param bgpTopology The topology in use for the Border Gateway Protocol (BGP) configuration. + * + * @return builder + * + */ + public Builder bgpTopology(@Nullable Output bgpTopology) { + $.bgpTopology = bgpTopology; + return this; + } + + /** + * @param bgpTopology The topology in use for the Border Gateway Protocol (BGP) configuration. + * + * @return builder + * + */ + public Builder bgpTopology(String bgpTopology) { + return bgpTopology(Output.of(bgpTopology)); + } + + /** + * @param oracleAsn The Oracle Autonomous System Number (ASN) to control routing and exchange information within the dynamic routing configuration. + * + * @return builder + * + */ + public Builder oracleAsn(@Nullable Output oracleAsn) { + $.oracleAsn = oracleAsn; + return this; + } + + /** + * @param oracleAsn The Oracle Autonomous System Number (ASN) to control routing and exchange information within the dynamic routing configuration. + * + * @return builder + * + */ + public Builder oracleAsn(Integer oracleAsn) { + return oracleAsn(Output.of(oracleAsn)); + } + + /** + * @param peerInformations The list of peer devices in the dynamic routing configuration. + * + * @return builder + * + */ + public Builder peerInformations(@Nullable Output> peerInformations) { + $.peerInformations = peerInformations; + return this; + } + + /** + * @param peerInformations The list of peer devices in the dynamic routing configuration. + * + * @return builder + * + */ + public Builder peerInformations(List peerInformations) { + return peerInformations(Output.of(peerInformations)); + } + + /** + * @param peerInformations The list of peer devices in the dynamic routing configuration. + * + * @return builder + * + */ + public Builder peerInformations(AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArgs... peerInformations) { + return peerInformations(List.of(peerInformations)); + } + + public AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/inputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArgs.java b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/inputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArgs.java new file mode 100644 index 0000000000..2aaf27bcaa --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/inputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArgs.java @@ -0,0 +1,121 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.ComputeCloud.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.Integer; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArgs extends com.pulumi.resources.ResourceArgs { + + public static final AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArgs Empty = new AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArgs(); + + /** + * The Autonomous System Number (ASN) of the peer network. + * + */ + @Import(name="asn") + private @Nullable Output asn; + + /** + * @return The Autonomous System Number (ASN) of the peer network. + * + */ + public Optional> asn() { + return Optional.ofNullable(this.asn); + } + + /** + * Address of the management node. + * + */ + @Import(name="ip") + private @Nullable Output ip; + + /** + * @return Address of the management node. + * + */ + public Optional> ip() { + return Optional.ofNullable(this.ip); + } + + private AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArgs() {} + + private AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArgs(AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArgs $) { + this.asn = $.asn; + this.ip = $.ip; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArgs $; + + public Builder() { + $ = new AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArgs(); + } + + public Builder(AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArgs defaults) { + $ = new AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param asn The Autonomous System Number (ASN) of the peer network. + * + * @return builder + * + */ + public Builder asn(@Nullable Output asn) { + $.asn = asn; + return this; + } + + /** + * @param asn The Autonomous System Number (ASN) of the peer network. + * + * @return builder + * + */ + public Builder asn(Integer asn) { + return asn(Output.of(asn)); + } + + /** + * @param ip Address of the management node. + * + * @return builder + * + */ + public Builder ip(@Nullable Output ip) { + $.ip = ip; + return this; + } + + /** + * @param ip Address of the management node. + * + * @return builder + * + */ + public Builder ip(String ip) { + return ip(Output.of(ip)); + } + + public AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/inputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArgs.java b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/inputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArgs.java new file mode 100644 index 0000000000..1ca6e556df --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/inputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArgs.java @@ -0,0 +1,120 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.ComputeCloud.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.Integer; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArgs extends com.pulumi.resources.ResourceArgs { + + public static final AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArgs Empty = new AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArgs(); + + /** + * The uplink Hot Standby Router Protocol (HSRP) group value for the switch in the Compute Cloud@Customer infrastructure. + * + */ + @Import(name="uplinkHsrpGroup") + private @Nullable Output uplinkHsrpGroup; + + /** + * @return The uplink Hot Standby Router Protocol (HSRP) group value for the switch in the Compute Cloud@Customer infrastructure. + * + */ + public Optional> uplinkHsrpGroup() { + return Optional.ofNullable(this.uplinkHsrpGroup); + } + + /** + * The virtual local area network (VLAN) identifier used to connect to the uplink (only access mode is supported). + * + */ + @Import(name="uplinkVlan") + private @Nullable Output uplinkVlan; + + /** + * @return The virtual local area network (VLAN) identifier used to connect to the uplink (only access mode is supported). + * + */ + public Optional> uplinkVlan() { + return Optional.ofNullable(this.uplinkVlan); + } + + private AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArgs() {} + + private AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArgs(AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArgs $) { + this.uplinkHsrpGroup = $.uplinkHsrpGroup; + this.uplinkVlan = $.uplinkVlan; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArgs $; + + public Builder() { + $ = new AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArgs(); + } + + public Builder(AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArgs defaults) { + $ = new AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param uplinkHsrpGroup The uplink Hot Standby Router Protocol (HSRP) group value for the switch in the Compute Cloud@Customer infrastructure. + * + * @return builder + * + */ + public Builder uplinkHsrpGroup(@Nullable Output uplinkHsrpGroup) { + $.uplinkHsrpGroup = uplinkHsrpGroup; + return this; + } + + /** + * @param uplinkHsrpGroup The uplink Hot Standby Router Protocol (HSRP) group value for the switch in the Compute Cloud@Customer infrastructure. + * + * @return builder + * + */ + public Builder uplinkHsrpGroup(Integer uplinkHsrpGroup) { + return uplinkHsrpGroup(Output.of(uplinkHsrpGroup)); + } + + /** + * @param uplinkVlan The virtual local area network (VLAN) identifier used to connect to the uplink (only access mode is supported). + * + * @return builder + * + */ + public Builder uplinkVlan(@Nullable Output uplinkVlan) { + $.uplinkVlan = uplinkVlan; + return this; + } + + /** + * @param uplinkVlan The virtual local area network (VLAN) identifier used to connect to the uplink (only access mode is supported). + * + * @return builder + * + */ + public Builder uplinkVlan(Integer uplinkVlan) { + return uplinkVlan(Output.of(uplinkVlan)); + } + + public AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/inputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArgs.java b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/inputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArgs.java new file mode 100644 index 0000000000..034f76d8ab --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/inputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArgs.java @@ -0,0 +1,120 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.ComputeCloud.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArgs extends com.pulumi.resources.ResourceArgs { + + public static final AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArgs Empty = new AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArgs(); + + /** + * Hostname for interface to the management node. + * + */ + @Import(name="hostname") + private @Nullable Output hostname; + + /** + * @return Hostname for interface to the management node. + * + */ + public Optional> hostname() { + return Optional.ofNullable(this.hostname); + } + + /** + * Address of the management node. + * + */ + @Import(name="ip") + private @Nullable Output ip; + + /** + * @return Address of the management node. + * + */ + public Optional> ip() { + return Optional.ofNullable(this.ip); + } + + private AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArgs() {} + + private AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArgs(AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArgs $) { + this.hostname = $.hostname; + this.ip = $.ip; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArgs $; + + public Builder() { + $ = new AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArgs(); + } + + public Builder(AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArgs defaults) { + $ = new AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param hostname Hostname for interface to the management node. + * + * @return builder + * + */ + public Builder hostname(@Nullable Output hostname) { + $.hostname = hostname; + return this; + } + + /** + * @param hostname Hostname for interface to the management node. + * + * @return builder + * + */ + public Builder hostname(String hostname) { + return hostname(Output.of(hostname)); + } + + /** + * @param ip Address of the management node. + * + * @return builder + * + */ + public Builder ip(@Nullable Output ip) { + $.ip = ip; + return this; + } + + /** + * @param ip Address of the management node. + * + * @return builder + * + */ + public Builder ip(String ip) { + return ip(Output.of(ip)); + } + + public AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/inputs/AtCustomerCccInfrastructureState.java b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/inputs/AtCustomerCccInfrastructureState.java new file mode 100644 index 0000000000..eefea1049a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/inputs/AtCustomerCccInfrastructureState.java @@ -0,0 +1,834 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.ComputeCloud.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.oci.ComputeCloud.inputs.AtCustomerCccInfrastructureInfrastructureInventoryArgs; +import com.pulumi.oci.ComputeCloud.inputs.AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArgs; +import com.pulumi.oci.ComputeCloud.inputs.AtCustomerCccInfrastructureUpgradeInformationArgs; +import java.lang.Object; +import java.lang.String; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AtCustomerCccInfrastructureState extends com.pulumi.resources.ResourceArgs { + + public static final AtCustomerCccInfrastructureState Empty = new AtCustomerCccInfrastructureState(); + + /** + * (Updatable) Schedule used for upgrades. If no schedule is associated with the infrastructure, it can be upgraded at any time. + * + */ + @Import(name="cccUpgradeScheduleId") + private @Nullable Output cccUpgradeScheduleId; + + /** + * @return (Updatable) Schedule used for upgrades. If no schedule is associated with the infrastructure, it can be upgraded at any time. + * + */ + public Optional> cccUpgradeScheduleId() { + return Optional.ofNullable(this.cccUpgradeScheduleId); + } + + /** + * (Updatable) The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with the infrastructure. + * + */ + @Import(name="compartmentId") + private @Nullable Output compartmentId; + + /** + * @return (Updatable) The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with the infrastructure. + * + */ + public Optional> compartmentId() { + return Optional.ofNullable(this.compartmentId); + } + + /** + * (Updatable) A message describing the current connection state in more detail. + * + */ + @Import(name="connectionDetails") + private @Nullable Output connectionDetails; + + /** + * @return (Updatable) A message describing the current connection state in more detail. + * + */ + public Optional> connectionDetails() { + return Optional.ofNullable(this.connectionDetails); + } + + /** + * (Updatable) The current connection state of the Compute Cloud@Customer infrastructure. This value will default to REJECT if the value is not provided. The only valid value at creation time is REJECT. + * + */ + @Import(name="connectionState") + private @Nullable Output connectionState; + + /** + * @return (Updatable) The current connection state of the Compute Cloud@Customer infrastructure. This value will default to REJECT if the value is not provided. The only valid value at creation time is REJECT. + * + */ + public Optional> connectionState() { + return Optional.ofNullable(this.connectionState); + } + + /** + * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + * + */ + @Import(name="definedTags") + private @Nullable Output> definedTags; + + /** + * @return (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + * + */ + public Optional>> definedTags() { + return Optional.ofNullable(this.definedTags); + } + + /** + * (Updatable) A mutable client-meaningful text description of the Compute Cloud@Customer infrastructure. Avoid entering confidential information. + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return (Updatable) A mutable client-meaningful text description of the Compute Cloud@Customer infrastructure. Avoid entering confidential information. + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * (Updatable) The name that will be used to display the Compute Cloud@Customer infrastructure in the Oracle Cloud Infrastructure console. Does not have to be unique and can be changed. Avoid entering confidential information. + * + */ + @Import(name="displayName") + private @Nullable Output displayName; + + /** + * @return (Updatable) The name that will be used to display the Compute Cloud@Customer infrastructure in the Oracle Cloud Infrastructure console. Does not have to be unique and can be changed. Avoid entering confidential information. + * + */ + public Optional> displayName() { + return Optional.ofNullable(this.displayName); + } + + /** + * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + * + */ + @Import(name="freeformTags") + private @Nullable Output> freeformTags; + + /** + * @return (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + * + */ + public Optional>> freeformTags() { + return Optional.ofNullable(this.freeformTags); + } + + /** + * Inventory for a Compute Cloud@Customer infrastructure. This information cannot be updated and is from the infrastructure. The information will only be available after the connectionState is transitioned to CONNECTED. + * + */ + @Import(name="infrastructureInventories") + private @Nullable Output> infrastructureInventories; + + /** + * @return Inventory for a Compute Cloud@Customer infrastructure. This information cannot be updated and is from the infrastructure. The information will only be available after the connectionState is transitioned to CONNECTED. + * + */ + public Optional>> infrastructureInventories() { + return Optional.ofNullable(this.infrastructureInventories); + } + + /** + * Configuration information for the Compute Cloud@Customer infrastructure. This network configuration information cannot be updated and is retrieved from the data center. The information will only be available after the connectionState is transitioned to CONNECTED. + * + */ + @Import(name="infrastructureNetworkConfigurations") + private @Nullable Output> infrastructureNetworkConfigurations; + + /** + * @return Configuration information for the Compute Cloud@Customer infrastructure. This network configuration information cannot be updated and is retrieved from the data center. The information will only be available after the connectionState is transitioned to CONNECTED. + * + */ + public Optional>> infrastructureNetworkConfigurations() { + return Optional.ofNullable(this.infrastructureNetworkConfigurations); + } + + /** + * A message describing the current lifecycle state in more detail. For example, this can be used to provide actionable information for a resource that is in a Failed state. + * + */ + @Import(name="lifecycleDetails") + private @Nullable Output lifecycleDetails; + + /** + * @return A message describing the current lifecycle state in more detail. For example, this can be used to provide actionable information for a resource that is in a Failed state. + * + */ + public Optional> lifecycleDetails() { + return Optional.ofNullable(this.lifecycleDetails); + } + + /** + * Fingerprint of a Compute Cloud@Customer infrastructure in a data center generated during the initial connection to this resource. The fingerprint should be verified by the administrator when changing the connectionState from REQUEST to READY. + * + */ + @Import(name="provisioningFingerprint") + private @Nullable Output provisioningFingerprint; + + /** + * @return Fingerprint of a Compute Cloud@Customer infrastructure in a data center generated during the initial connection to this resource. The fingerprint should be verified by the administrator when changing the connectionState from REQUEST to READY. + * + */ + public Optional> provisioningFingerprint() { + return Optional.ofNullable(this.provisioningFingerprint); + } + + /** + * Code that is required for service personnel to connect a Compute Cloud@Customer infrastructure in a data center to this resource. This code will only be available when the connectionState is REJECT (usually at create time of the Compute Cloud@Customer infrastructure). + * + */ + @Import(name="provisioningPin") + private @Nullable Output provisioningPin; + + /** + * @return Code that is required for service personnel to connect a Compute Cloud@Customer infrastructure in a data center to this resource. This code will only be available when the connectionState is REJECT (usually at create time of the Compute Cloud@Customer infrastructure). + * + */ + public Optional> provisioningPin() { + return Optional.ofNullable(this.provisioningPin); + } + + /** + * The Compute Cloud@Customer infrastructure short name. This cannot be changed once created. The short name is used to refer to the infrastructure in several contexts and is unique. + * + */ + @Import(name="shortName") + private @Nullable Output shortName; + + /** + * @return The Compute Cloud@Customer infrastructure short name. This cannot be changed once created. The short name is used to refer to the infrastructure in several contexts and is unique. + * + */ + public Optional> shortName() { + return Optional.ofNullable(this.shortName); + } + + /** + * The current state of the Compute Cloud@Customer infrastructure. + * + */ + @Import(name="state") + private @Nullable Output state; + + /** + * @return The current state of the Compute Cloud@Customer infrastructure. + * + */ + public Optional> state() { + return Optional.ofNullable(this.state); + } + + /** + * (Updatable) Identifier for network subnet that will be used to communicate with Compute Cloud@Customer infrastructure. + * + * ** 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 + * + */ + @Import(name="subnetId") + private @Nullable Output subnetId; + + /** + * @return (Updatable) Identifier for network subnet that will be used to communicate with Compute Cloud@Customer infrastructure. + * + * ** 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 + * + */ + public Optional> subnetId() { + return Optional.ofNullable(this.subnetId); + } + + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + * + */ + @Import(name="systemTags") + private @Nullable Output> systemTags; + + /** + * @return System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + * + */ + public Optional>> systemTags() { + return Optional.ofNullable(this.systemTags); + } + + /** + * Compute Cloud@Customer infrastructure creation date and time, using an RFC3339 formatted datetime string. + * + */ + @Import(name="timeCreated") + private @Nullable Output timeCreated; + + /** + * @return Compute Cloud@Customer infrastructure creation date and time, using an RFC3339 formatted datetime string. + * + */ + public Optional> timeCreated() { + return Optional.ofNullable(this.timeCreated); + } + + /** + * Compute Cloud@Customer infrastructure updated date and time, using an RFC3339 formatted datetime string. + * + */ + @Import(name="timeUpdated") + private @Nullable Output timeUpdated; + + /** + * @return Compute Cloud@Customer infrastructure updated date and time, using an RFC3339 formatted datetime string. + * + */ + public Optional> timeUpdated() { + return Optional.ofNullable(this.timeUpdated); + } + + /** + * Upgrade information that relates to a Compute Cloud@Customer infrastructure. This information cannot be updated. + * + */ + @Import(name="upgradeInformations") + private @Nullable Output> upgradeInformations; + + /** + * @return Upgrade information that relates to a Compute Cloud@Customer infrastructure. This information cannot be updated. + * + */ + public Optional>> upgradeInformations() { + return Optional.ofNullable(this.upgradeInformations); + } + + private AtCustomerCccInfrastructureState() {} + + private AtCustomerCccInfrastructureState(AtCustomerCccInfrastructureState $) { + this.cccUpgradeScheduleId = $.cccUpgradeScheduleId; + this.compartmentId = $.compartmentId; + this.connectionDetails = $.connectionDetails; + this.connectionState = $.connectionState; + this.definedTags = $.definedTags; + this.description = $.description; + this.displayName = $.displayName; + this.freeformTags = $.freeformTags; + this.infrastructureInventories = $.infrastructureInventories; + this.infrastructureNetworkConfigurations = $.infrastructureNetworkConfigurations; + this.lifecycleDetails = $.lifecycleDetails; + this.provisioningFingerprint = $.provisioningFingerprint; + this.provisioningPin = $.provisioningPin; + this.shortName = $.shortName; + this.state = $.state; + this.subnetId = $.subnetId; + this.systemTags = $.systemTags; + this.timeCreated = $.timeCreated; + this.timeUpdated = $.timeUpdated; + this.upgradeInformations = $.upgradeInformations; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AtCustomerCccInfrastructureState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AtCustomerCccInfrastructureState $; + + public Builder() { + $ = new AtCustomerCccInfrastructureState(); + } + + public Builder(AtCustomerCccInfrastructureState defaults) { + $ = new AtCustomerCccInfrastructureState(Objects.requireNonNull(defaults)); + } + + /** + * @param cccUpgradeScheduleId (Updatable) Schedule used for upgrades. If no schedule is associated with the infrastructure, it can be upgraded at any time. + * + * @return builder + * + */ + public Builder cccUpgradeScheduleId(@Nullable Output cccUpgradeScheduleId) { + $.cccUpgradeScheduleId = cccUpgradeScheduleId; + return this; + } + + /** + * @param cccUpgradeScheduleId (Updatable) Schedule used for upgrades. If no schedule is associated with the infrastructure, it can be upgraded at any time. + * + * @return builder + * + */ + public Builder cccUpgradeScheduleId(String cccUpgradeScheduleId) { + return cccUpgradeScheduleId(Output.of(cccUpgradeScheduleId)); + } + + /** + * @param compartmentId (Updatable) The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with the infrastructure. + * + * @return builder + * + */ + public Builder compartmentId(@Nullable Output compartmentId) { + $.compartmentId = compartmentId; + return this; + } + + /** + * @param compartmentId (Updatable) The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with the infrastructure. + * + * @return builder + * + */ + public Builder compartmentId(String compartmentId) { + return compartmentId(Output.of(compartmentId)); + } + + /** + * @param connectionDetails (Updatable) A message describing the current connection state in more detail. + * + * @return builder + * + */ + public Builder connectionDetails(@Nullable Output connectionDetails) { + $.connectionDetails = connectionDetails; + return this; + } + + /** + * @param connectionDetails (Updatable) A message describing the current connection state in more detail. + * + * @return builder + * + */ + public Builder connectionDetails(String connectionDetails) { + return connectionDetails(Output.of(connectionDetails)); + } + + /** + * @param connectionState (Updatable) The current connection state of the Compute Cloud@Customer infrastructure. This value will default to REJECT if the value is not provided. The only valid value at creation time is REJECT. + * + * @return builder + * + */ + public Builder connectionState(@Nullable Output connectionState) { + $.connectionState = connectionState; + return this; + } + + /** + * @param connectionState (Updatable) The current connection state of the Compute Cloud@Customer infrastructure. This value will default to REJECT if the value is not provided. The only valid value at creation time is REJECT. + * + * @return builder + * + */ + public Builder connectionState(String connectionState) { + return connectionState(Output.of(connectionState)); + } + + /** + * @param definedTags (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + * + * @return builder + * + */ + public Builder definedTags(@Nullable Output> definedTags) { + $.definedTags = definedTags; + return this; + } + + /** + * @param definedTags (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + * + * @return builder + * + */ + public Builder definedTags(Map definedTags) { + return definedTags(Output.of(definedTags)); + } + + /** + * @param description (Updatable) A mutable client-meaningful text description of the Compute Cloud@Customer infrastructure. Avoid entering confidential information. + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description (Updatable) A mutable client-meaningful text description of the Compute Cloud@Customer infrastructure. Avoid entering confidential information. + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param displayName (Updatable) The name that will be used to display the Compute Cloud@Customer infrastructure in the Oracle Cloud Infrastructure console. Does not have to be unique and can be changed. Avoid entering confidential information. + * + * @return builder + * + */ + public Builder displayName(@Nullable Output displayName) { + $.displayName = displayName; + return this; + } + + /** + * @param displayName (Updatable) The name that will be used to display the Compute Cloud@Customer infrastructure in the Oracle Cloud Infrastructure console. Does not have to be unique and can be changed. Avoid entering confidential information. + * + * @return builder + * + */ + public Builder displayName(String displayName) { + return displayName(Output.of(displayName)); + } + + /** + * @param freeformTags (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + * + * @return builder + * + */ + public Builder freeformTags(@Nullable Output> freeformTags) { + $.freeformTags = freeformTags; + return this; + } + + /** + * @param freeformTags (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + * + * @return builder + * + */ + public Builder freeformTags(Map freeformTags) { + return freeformTags(Output.of(freeformTags)); + } + + /** + * @param infrastructureInventories Inventory for a Compute Cloud@Customer infrastructure. This information cannot be updated and is from the infrastructure. The information will only be available after the connectionState is transitioned to CONNECTED. + * + * @return builder + * + */ + public Builder infrastructureInventories(@Nullable Output> infrastructureInventories) { + $.infrastructureInventories = infrastructureInventories; + return this; + } + + /** + * @param infrastructureInventories Inventory for a Compute Cloud@Customer infrastructure. This information cannot be updated and is from the infrastructure. The information will only be available after the connectionState is transitioned to CONNECTED. + * + * @return builder + * + */ + public Builder infrastructureInventories(List infrastructureInventories) { + return infrastructureInventories(Output.of(infrastructureInventories)); + } + + /** + * @param infrastructureInventories Inventory for a Compute Cloud@Customer infrastructure. This information cannot be updated and is from the infrastructure. The information will only be available after the connectionState is transitioned to CONNECTED. + * + * @return builder + * + */ + public Builder infrastructureInventories(AtCustomerCccInfrastructureInfrastructureInventoryArgs... infrastructureInventories) { + return infrastructureInventories(List.of(infrastructureInventories)); + } + + /** + * @param infrastructureNetworkConfigurations Configuration information for the Compute Cloud@Customer infrastructure. This network configuration information cannot be updated and is retrieved from the data center. The information will only be available after the connectionState is transitioned to CONNECTED. + * + * @return builder + * + */ + public Builder infrastructureNetworkConfigurations(@Nullable Output> infrastructureNetworkConfigurations) { + $.infrastructureNetworkConfigurations = infrastructureNetworkConfigurations; + return this; + } + + /** + * @param infrastructureNetworkConfigurations Configuration information for the Compute Cloud@Customer infrastructure. This network configuration information cannot be updated and is retrieved from the data center. The information will only be available after the connectionState is transitioned to CONNECTED. + * + * @return builder + * + */ + public Builder infrastructureNetworkConfigurations(List infrastructureNetworkConfigurations) { + return infrastructureNetworkConfigurations(Output.of(infrastructureNetworkConfigurations)); + } + + /** + * @param infrastructureNetworkConfigurations Configuration information for the Compute Cloud@Customer infrastructure. This network configuration information cannot be updated and is retrieved from the data center. The information will only be available after the connectionState is transitioned to CONNECTED. + * + * @return builder + * + */ + public Builder infrastructureNetworkConfigurations(AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArgs... infrastructureNetworkConfigurations) { + return infrastructureNetworkConfigurations(List.of(infrastructureNetworkConfigurations)); + } + + /** + * @param lifecycleDetails A message describing the current lifecycle state in more detail. For example, this can be used to provide actionable information for a resource that is in a Failed state. + * + * @return builder + * + */ + public Builder lifecycleDetails(@Nullable Output lifecycleDetails) { + $.lifecycleDetails = lifecycleDetails; + return this; + } + + /** + * @param lifecycleDetails A message describing the current lifecycle state in more detail. For example, this can be used to provide actionable information for a resource that is in a Failed state. + * + * @return builder + * + */ + public Builder lifecycleDetails(String lifecycleDetails) { + return lifecycleDetails(Output.of(lifecycleDetails)); + } + + /** + * @param provisioningFingerprint Fingerprint of a Compute Cloud@Customer infrastructure in a data center generated during the initial connection to this resource. The fingerprint should be verified by the administrator when changing the connectionState from REQUEST to READY. + * + * @return builder + * + */ + public Builder provisioningFingerprint(@Nullable Output provisioningFingerprint) { + $.provisioningFingerprint = provisioningFingerprint; + return this; + } + + /** + * @param provisioningFingerprint Fingerprint of a Compute Cloud@Customer infrastructure in a data center generated during the initial connection to this resource. The fingerprint should be verified by the administrator when changing the connectionState from REQUEST to READY. + * + * @return builder + * + */ + public Builder provisioningFingerprint(String provisioningFingerprint) { + return provisioningFingerprint(Output.of(provisioningFingerprint)); + } + + /** + * @param provisioningPin Code that is required for service personnel to connect a Compute Cloud@Customer infrastructure in a data center to this resource. This code will only be available when the connectionState is REJECT (usually at create time of the Compute Cloud@Customer infrastructure). + * + * @return builder + * + */ + public Builder provisioningPin(@Nullable Output provisioningPin) { + $.provisioningPin = provisioningPin; + return this; + } + + /** + * @param provisioningPin Code that is required for service personnel to connect a Compute Cloud@Customer infrastructure in a data center to this resource. This code will only be available when the connectionState is REJECT (usually at create time of the Compute Cloud@Customer infrastructure). + * + * @return builder + * + */ + public Builder provisioningPin(String provisioningPin) { + return provisioningPin(Output.of(provisioningPin)); + } + + /** + * @param shortName The Compute Cloud@Customer infrastructure short name. This cannot be changed once created. The short name is used to refer to the infrastructure in several contexts and is unique. + * + * @return builder + * + */ + public Builder shortName(@Nullable Output shortName) { + $.shortName = shortName; + return this; + } + + /** + * @param shortName The Compute Cloud@Customer infrastructure short name. This cannot be changed once created. The short name is used to refer to the infrastructure in several contexts and is unique. + * + * @return builder + * + */ + public Builder shortName(String shortName) { + return shortName(Output.of(shortName)); + } + + /** + * @param state The current state of the Compute Cloud@Customer infrastructure. + * + * @return builder + * + */ + public Builder state(@Nullable Output state) { + $.state = state; + return this; + } + + /** + * @param state The current state of the Compute Cloud@Customer infrastructure. + * + * @return builder + * + */ + public Builder state(String state) { + return state(Output.of(state)); + } + + /** + * @param subnetId (Updatable) Identifier for network subnet that will be used to communicate with Compute Cloud@Customer infrastructure. + * + * ** 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 + * + * @return builder + * + */ + public Builder subnetId(@Nullable Output subnetId) { + $.subnetId = subnetId; + return this; + } + + /** + * @param subnetId (Updatable) Identifier for network subnet that will be used to communicate with Compute Cloud@Customer infrastructure. + * + * ** 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 + * + * @return builder + * + */ + public Builder subnetId(String subnetId) { + return subnetId(Output.of(subnetId)); + } + + /** + * @param systemTags System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + * + * @return builder + * + */ + public Builder systemTags(@Nullable Output> systemTags) { + $.systemTags = systemTags; + return this; + } + + /** + * @param systemTags System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + * + * @return builder + * + */ + public Builder systemTags(Map systemTags) { + return systemTags(Output.of(systemTags)); + } + + /** + * @param timeCreated Compute Cloud@Customer infrastructure creation date and time, using an RFC3339 formatted datetime string. + * + * @return builder + * + */ + public Builder timeCreated(@Nullable Output timeCreated) { + $.timeCreated = timeCreated; + return this; + } + + /** + * @param timeCreated Compute Cloud@Customer infrastructure creation date and time, using an RFC3339 formatted datetime string. + * + * @return builder + * + */ + public Builder timeCreated(String timeCreated) { + return timeCreated(Output.of(timeCreated)); + } + + /** + * @param timeUpdated Compute Cloud@Customer infrastructure updated date and time, using an RFC3339 formatted datetime string. + * + * @return builder + * + */ + public Builder timeUpdated(@Nullable Output timeUpdated) { + $.timeUpdated = timeUpdated; + return this; + } + + /** + * @param timeUpdated Compute Cloud@Customer infrastructure updated date and time, using an RFC3339 formatted datetime string. + * + * @return builder + * + */ + public Builder timeUpdated(String timeUpdated) { + return timeUpdated(Output.of(timeUpdated)); + } + + /** + * @param upgradeInformations Upgrade information that relates to a Compute Cloud@Customer infrastructure. This information cannot be updated. + * + * @return builder + * + */ + public Builder upgradeInformations(@Nullable Output> upgradeInformations) { + $.upgradeInformations = upgradeInformations; + return this; + } + + /** + * @param upgradeInformations Upgrade information that relates to a Compute Cloud@Customer infrastructure. This information cannot be updated. + * + * @return builder + * + */ + public Builder upgradeInformations(List upgradeInformations) { + return upgradeInformations(Output.of(upgradeInformations)); + } + + /** + * @param upgradeInformations Upgrade information that relates to a Compute Cloud@Customer infrastructure. This information cannot be updated. + * + * @return builder + * + */ + public Builder upgradeInformations(AtCustomerCccInfrastructureUpgradeInformationArgs... upgradeInformations) { + return upgradeInformations(List.of(upgradeInformations)); + } + + public AtCustomerCccInfrastructureState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/inputs/AtCustomerCccInfrastructureUpgradeInformationArgs.java b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/inputs/AtCustomerCccInfrastructureUpgradeInformationArgs.java new file mode 100644 index 0000000000..67171ecd30 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/inputs/AtCustomerCccInfrastructureUpgradeInformationArgs.java @@ -0,0 +1,195 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.ComputeCloud.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AtCustomerCccInfrastructureUpgradeInformationArgs extends com.pulumi.resources.ResourceArgs { + + public static final AtCustomerCccInfrastructureUpgradeInformationArgs Empty = new AtCustomerCccInfrastructureUpgradeInformationArgs(); + + /** + * The current version of software installed on the Compute Cloud@Customer infrastructure. + * + */ + @Import(name="currentVersion") + private @Nullable Output currentVersion; + + /** + * @return The current version of software installed on the Compute Cloud@Customer infrastructure. + * + */ + public Optional> currentVersion() { + return Optional.ofNullable(this.currentVersion); + } + + /** + * Indication that the Compute Cloud@Customer infrastructure is in the process of an upgrade or an upgrade activity (such as preloading upgrade images). + * + */ + @Import(name="isActive") + private @Nullable Output isActive; + + /** + * @return Indication that the Compute Cloud@Customer infrastructure is in the process of an upgrade or an upgrade activity (such as preloading upgrade images). + * + */ + public Optional> isActive() { + return Optional.ofNullable(this.isActive); + } + + /** + * Expected duration of Compute Cloud@Customer infrastructure scheduled upgrade. The actual upgrade time might be longer or shorter than this duration depending on rack activity, this is only an estimate. + * + */ + @Import(name="scheduledUpgradeDuration") + private @Nullable Output scheduledUpgradeDuration; + + /** + * @return Expected duration of Compute Cloud@Customer infrastructure scheduled upgrade. The actual upgrade time might be longer or shorter than this duration depending on rack activity, this is only an estimate. + * + */ + public Optional> scheduledUpgradeDuration() { + return Optional.ofNullable(this.scheduledUpgradeDuration); + } + + /** + * Compute Cloud@Customer infrastructure next upgrade time. The rack might have performance impacts during this time. + * + */ + @Import(name="timeOfScheduledUpgrade") + private @Nullable Output timeOfScheduledUpgrade; + + /** + * @return Compute Cloud@Customer infrastructure next upgrade time. The rack might have performance impacts during this time. + * + */ + public Optional> timeOfScheduledUpgrade() { + return Optional.ofNullable(this.timeOfScheduledUpgrade); + } + + private AtCustomerCccInfrastructureUpgradeInformationArgs() {} + + private AtCustomerCccInfrastructureUpgradeInformationArgs(AtCustomerCccInfrastructureUpgradeInformationArgs $) { + this.currentVersion = $.currentVersion; + this.isActive = $.isActive; + this.scheduledUpgradeDuration = $.scheduledUpgradeDuration; + this.timeOfScheduledUpgrade = $.timeOfScheduledUpgrade; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AtCustomerCccInfrastructureUpgradeInformationArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AtCustomerCccInfrastructureUpgradeInformationArgs $; + + public Builder() { + $ = new AtCustomerCccInfrastructureUpgradeInformationArgs(); + } + + public Builder(AtCustomerCccInfrastructureUpgradeInformationArgs defaults) { + $ = new AtCustomerCccInfrastructureUpgradeInformationArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param currentVersion The current version of software installed on the Compute Cloud@Customer infrastructure. + * + * @return builder + * + */ + public Builder currentVersion(@Nullable Output currentVersion) { + $.currentVersion = currentVersion; + return this; + } + + /** + * @param currentVersion The current version of software installed on the Compute Cloud@Customer infrastructure. + * + * @return builder + * + */ + public Builder currentVersion(String currentVersion) { + return currentVersion(Output.of(currentVersion)); + } + + /** + * @param isActive Indication that the Compute Cloud@Customer infrastructure is in the process of an upgrade or an upgrade activity (such as preloading upgrade images). + * + * @return builder + * + */ + public Builder isActive(@Nullable Output isActive) { + $.isActive = isActive; + return this; + } + + /** + * @param isActive Indication that the Compute Cloud@Customer infrastructure is in the process of an upgrade or an upgrade activity (such as preloading upgrade images). + * + * @return builder + * + */ + public Builder isActive(Boolean isActive) { + return isActive(Output.of(isActive)); + } + + /** + * @param scheduledUpgradeDuration Expected duration of Compute Cloud@Customer infrastructure scheduled upgrade. The actual upgrade time might be longer or shorter than this duration depending on rack activity, this is only an estimate. + * + * @return builder + * + */ + public Builder scheduledUpgradeDuration(@Nullable Output scheduledUpgradeDuration) { + $.scheduledUpgradeDuration = scheduledUpgradeDuration; + return this; + } + + /** + * @param scheduledUpgradeDuration Expected duration of Compute Cloud@Customer infrastructure scheduled upgrade. The actual upgrade time might be longer or shorter than this duration depending on rack activity, this is only an estimate. + * + * @return builder + * + */ + public Builder scheduledUpgradeDuration(String scheduledUpgradeDuration) { + return scheduledUpgradeDuration(Output.of(scheduledUpgradeDuration)); + } + + /** + * @param timeOfScheduledUpgrade Compute Cloud@Customer infrastructure next upgrade time. The rack might have performance impacts during this time. + * + * @return builder + * + */ + public Builder timeOfScheduledUpgrade(@Nullable Output timeOfScheduledUpgrade) { + $.timeOfScheduledUpgrade = timeOfScheduledUpgrade; + return this; + } + + /** + * @param timeOfScheduledUpgrade Compute Cloud@Customer infrastructure next upgrade time. The rack might have performance impacts during this time. + * + * @return builder + * + */ + public Builder timeOfScheduledUpgrade(String timeOfScheduledUpgrade) { + return timeOfScheduledUpgrade(Output.of(timeOfScheduledUpgrade)); + } + + public AtCustomerCccInfrastructureUpgradeInformationArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/inputs/AtCustomerCccUpgradeScheduleEventArgs.java b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/inputs/AtCustomerCccUpgradeScheduleEventArgs.java new file mode 100644 index 0000000000..b34cf1952e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/inputs/AtCustomerCccUpgradeScheduleEventArgs.java @@ -0,0 +1,234 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.ComputeCloud.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AtCustomerCccUpgradeScheduleEventArgs extends com.pulumi.resources.ResourceArgs { + + public static final AtCustomerCccUpgradeScheduleEventArgs Empty = new AtCustomerCccUpgradeScheduleEventArgs(); + + /** + * (Updatable) A description of the Compute Cloud@Customer upgrade schedule time block. + * + */ + @Import(name="description", required=true) + private Output description; + + /** + * @return (Updatable) A description of the Compute Cloud@Customer upgrade schedule time block. + * + */ + public Output description() { + return this.description; + } + + /** + * Generated name associated with the event. + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return Generated name associated with the event. + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + /** + * (Updatable) The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations. + * + */ + @Import(name="scheduleEventDuration", required=true) + private Output scheduleEventDuration; + + /** + * @return (Updatable) The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations. + * + */ + public Output scheduleEventDuration() { + return this.scheduleEventDuration; + } + + /** + * (Updatable) Frequency of recurrence of schedule block. When this field is not included, the event is assumed to be a one time occurrence. The frequency field is strictly parsed and must conform to RFC-5545 formatting for recurrences. + * + */ + @Import(name="scheduleEventRecurrences") + private @Nullable Output scheduleEventRecurrences; + + /** + * @return (Updatable) Frequency of recurrence of schedule block. When this field is not included, the event is assumed to be a one time occurrence. The frequency field is strictly parsed and must conform to RFC-5545 formatting for recurrences. + * + */ + public Optional> scheduleEventRecurrences() { + return Optional.ofNullable(this.scheduleEventRecurrences); + } + + /** + * (Updatable) The date and time when the Compute Cloud@Customer upgrade schedule event starts, inclusive. An RFC3339 formatted UTC datetime string. For an event with recurrences, this is the date that a recurrence can start being applied. + * + */ + @Import(name="timeStart", required=true) + private Output timeStart; + + /** + * @return (Updatable) The date and time when the Compute Cloud@Customer upgrade schedule event starts, inclusive. An RFC3339 formatted UTC datetime string. For an event with recurrences, this is the date that a recurrence can start being applied. + * + */ + public Output timeStart() { + return this.timeStart; + } + + private AtCustomerCccUpgradeScheduleEventArgs() {} + + private AtCustomerCccUpgradeScheduleEventArgs(AtCustomerCccUpgradeScheduleEventArgs $) { + this.description = $.description; + this.name = $.name; + this.scheduleEventDuration = $.scheduleEventDuration; + this.scheduleEventRecurrences = $.scheduleEventRecurrences; + this.timeStart = $.timeStart; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AtCustomerCccUpgradeScheduleEventArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AtCustomerCccUpgradeScheduleEventArgs $; + + public Builder() { + $ = new AtCustomerCccUpgradeScheduleEventArgs(); + } + + public Builder(AtCustomerCccUpgradeScheduleEventArgs defaults) { + $ = new AtCustomerCccUpgradeScheduleEventArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param description (Updatable) A description of the Compute Cloud@Customer upgrade schedule time block. + * + * @return builder + * + */ + public Builder description(Output description) { + $.description = description; + return this; + } + + /** + * @param description (Updatable) A description of the Compute Cloud@Customer upgrade schedule time block. + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param name Generated name associated with the event. + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name Generated name associated with the event. + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + /** + * @param scheduleEventDuration (Updatable) The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations. + * + * @return builder + * + */ + public Builder scheduleEventDuration(Output scheduleEventDuration) { + $.scheduleEventDuration = scheduleEventDuration; + return this; + } + + /** + * @param scheduleEventDuration (Updatable) The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations. + * + * @return builder + * + */ + public Builder scheduleEventDuration(String scheduleEventDuration) { + return scheduleEventDuration(Output.of(scheduleEventDuration)); + } + + /** + * @param scheduleEventRecurrences (Updatable) Frequency of recurrence of schedule block. When this field is not included, the event is assumed to be a one time occurrence. The frequency field is strictly parsed and must conform to RFC-5545 formatting for recurrences. + * + * @return builder + * + */ + public Builder scheduleEventRecurrences(@Nullable Output scheduleEventRecurrences) { + $.scheduleEventRecurrences = scheduleEventRecurrences; + return this; + } + + /** + * @param scheduleEventRecurrences (Updatable) Frequency of recurrence of schedule block. When this field is not included, the event is assumed to be a one time occurrence. The frequency field is strictly parsed and must conform to RFC-5545 formatting for recurrences. + * + * @return builder + * + */ + public Builder scheduleEventRecurrences(String scheduleEventRecurrences) { + return scheduleEventRecurrences(Output.of(scheduleEventRecurrences)); + } + + /** + * @param timeStart (Updatable) The date and time when the Compute Cloud@Customer upgrade schedule event starts, inclusive. An RFC3339 formatted UTC datetime string. For an event with recurrences, this is the date that a recurrence can start being applied. + * + * @return builder + * + */ + public Builder timeStart(Output timeStart) { + $.timeStart = timeStart; + return this; + } + + /** + * @param timeStart (Updatable) The date and time when the Compute Cloud@Customer upgrade schedule event starts, inclusive. An RFC3339 formatted UTC datetime string. For an event with recurrences, this is the date that a recurrence can start being applied. + * + * @return builder + * + */ + public Builder timeStart(String timeStart) { + return timeStart(Output.of(timeStart)); + } + + public AtCustomerCccUpgradeScheduleEventArgs build() { + $.description = Objects.requireNonNull($.description, "expected parameter 'description' to be non-null"); + $.scheduleEventDuration = Objects.requireNonNull($.scheduleEventDuration, "expected parameter 'scheduleEventDuration' to be non-null"); + $.timeStart = Objects.requireNonNull($.timeStart, "expected parameter 'timeStart' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/inputs/AtCustomerCccUpgradeScheduleState.java b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/inputs/AtCustomerCccUpgradeScheduleState.java new file mode 100644 index 0000000000..e12a372795 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/inputs/AtCustomerCccUpgradeScheduleState.java @@ -0,0 +1,526 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.ComputeCloud.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.oci.ComputeCloud.inputs.AtCustomerCccUpgradeScheduleEventArgs; +import java.lang.Object; +import java.lang.String; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AtCustomerCccUpgradeScheduleState extends com.pulumi.resources.ResourceArgs { + + public static final AtCustomerCccUpgradeScheduleState Empty = new AtCustomerCccUpgradeScheduleState(); + + /** + * (Updatable) Compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Compute Cloud@Customer Upgrade Schedule. + * + */ + @Import(name="compartmentId") + private @Nullable Output compartmentId; + + /** + * @return (Updatable) Compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Compute Cloud@Customer Upgrade Schedule. + * + */ + public Optional> compartmentId() { + return Optional.ofNullable(this.compartmentId); + } + + /** + * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + * + */ + @Import(name="definedTags") + private @Nullable Output> definedTags; + + /** + * @return (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + * + */ + public Optional>> definedTags() { + return Optional.ofNullable(this.definedTags); + } + + /** + * (Updatable) A description of the Compute Cloud@Customer upgrade schedule time block. + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return (Updatable) A description of the Compute Cloud@Customer upgrade schedule time block. + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * (Updatable) Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information. + * + */ + @Import(name="displayName") + private @Nullable Output displayName; + + /** + * @return (Updatable) Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information. + * + */ + public Optional> displayName() { + return Optional.ofNullable(this.displayName); + } + + /** + * (Updatable) List of preferred times for Compute Cloud@Customer infrastructure to be upgraded. + * + */ + @Import(name="events") + private @Nullable Output> events; + + /** + * @return (Updatable) List of preferred times for Compute Cloud@Customer infrastructure to be upgraded. + * + */ + public Optional>> events() { + return Optional.ofNullable(this.events); + } + + /** + * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + * + * ** 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 + * + */ + @Import(name="freeformTags") + private @Nullable Output> freeformTags; + + /** + * @return (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + * + * ** 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 + * + */ + public Optional>> freeformTags() { + return Optional.ofNullable(this.freeformTags); + } + + /** + * List of Compute Cloud@Customer infrastructure [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that are using this upgrade schedule. + * + */ + @Import(name="infrastructureIds") + private @Nullable Output> infrastructureIds; + + /** + * @return List of Compute Cloud@Customer infrastructure [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that are using this upgrade schedule. + * + */ + public Optional>> infrastructureIds() { + return Optional.ofNullable(this.infrastructureIds); + } + + /** + * A message describing the current state in more detail. For example, the message can be used to provide actionable information for a resource in a Failed state. + * + */ + @Import(name="lifecycleDetails") + private @Nullable Output lifecycleDetails; + + /** + * @return A message describing the current state in more detail. For example, the message can be used to provide actionable information for a resource in a Failed state. + * + */ + public Optional> lifecycleDetails() { + return Optional.ofNullable(this.lifecycleDetails); + } + + /** + * Lifecycle state of the resource. + * + */ + @Import(name="state") + private @Nullable Output state; + + /** + * @return Lifecycle state of the resource. + * + */ + public Optional> state() { + return Optional.ofNullable(this.state); + } + + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + * + */ + @Import(name="systemTags") + private @Nullable Output> systemTags; + + /** + * @return System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + * + */ + public Optional>> systemTags() { + return Optional.ofNullable(this.systemTags); + } + + /** + * The time the upgrade schedule was created, using an RFC3339 formatted datetime string. + * + */ + @Import(name="timeCreated") + private @Nullable Output timeCreated; + + /** + * @return The time the upgrade schedule was created, using an RFC3339 formatted datetime string. + * + */ + public Optional> timeCreated() { + return Optional.ofNullable(this.timeCreated); + } + + /** + * The time the upgrade schedule was updated, using an RFC3339 formatted datetime string. + * + */ + @Import(name="timeUpdated") + private @Nullable Output timeUpdated; + + /** + * @return The time the upgrade schedule was updated, using an RFC3339 formatted datetime string. + * + */ + public Optional> timeUpdated() { + return Optional.ofNullable(this.timeUpdated); + } + + private AtCustomerCccUpgradeScheduleState() {} + + private AtCustomerCccUpgradeScheduleState(AtCustomerCccUpgradeScheduleState $) { + this.compartmentId = $.compartmentId; + this.definedTags = $.definedTags; + this.description = $.description; + this.displayName = $.displayName; + this.events = $.events; + this.freeformTags = $.freeformTags; + this.infrastructureIds = $.infrastructureIds; + this.lifecycleDetails = $.lifecycleDetails; + this.state = $.state; + this.systemTags = $.systemTags; + this.timeCreated = $.timeCreated; + this.timeUpdated = $.timeUpdated; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AtCustomerCccUpgradeScheduleState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AtCustomerCccUpgradeScheduleState $; + + public Builder() { + $ = new AtCustomerCccUpgradeScheduleState(); + } + + public Builder(AtCustomerCccUpgradeScheduleState defaults) { + $ = new AtCustomerCccUpgradeScheduleState(Objects.requireNonNull(defaults)); + } + + /** + * @param compartmentId (Updatable) Compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Compute Cloud@Customer Upgrade Schedule. + * + * @return builder + * + */ + public Builder compartmentId(@Nullable Output compartmentId) { + $.compartmentId = compartmentId; + return this; + } + + /** + * @param compartmentId (Updatable) Compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Compute Cloud@Customer Upgrade Schedule. + * + * @return builder + * + */ + public Builder compartmentId(String compartmentId) { + return compartmentId(Output.of(compartmentId)); + } + + /** + * @param definedTags (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + * + * @return builder + * + */ + public Builder definedTags(@Nullable Output> definedTags) { + $.definedTags = definedTags; + return this; + } + + /** + * @param definedTags (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + * + * @return builder + * + */ + public Builder definedTags(Map definedTags) { + return definedTags(Output.of(definedTags)); + } + + /** + * @param description (Updatable) A description of the Compute Cloud@Customer upgrade schedule time block. + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description (Updatable) A description of the Compute Cloud@Customer upgrade schedule time block. + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param displayName (Updatable) Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information. + * + * @return builder + * + */ + public Builder displayName(@Nullable Output displayName) { + $.displayName = displayName; + return this; + } + + /** + * @param displayName (Updatable) Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information. + * + * @return builder + * + */ + public Builder displayName(String displayName) { + return displayName(Output.of(displayName)); + } + + /** + * @param events (Updatable) List of preferred times for Compute Cloud@Customer infrastructure to be upgraded. + * + * @return builder + * + */ + public Builder events(@Nullable Output> events) { + $.events = events; + return this; + } + + /** + * @param events (Updatable) List of preferred times for Compute Cloud@Customer infrastructure to be upgraded. + * + * @return builder + * + */ + public Builder events(List events) { + return events(Output.of(events)); + } + + /** + * @param events (Updatable) List of preferred times for Compute Cloud@Customer infrastructure to be upgraded. + * + * @return builder + * + */ + public Builder events(AtCustomerCccUpgradeScheduleEventArgs... events) { + return events(List.of(events)); + } + + /** + * @param freeformTags (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + * + * ** 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 + * + * @return builder + * + */ + public Builder freeformTags(@Nullable Output> freeformTags) { + $.freeformTags = freeformTags; + return this; + } + + /** + * @param freeformTags (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + * + * ** 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 + * + * @return builder + * + */ + public Builder freeformTags(Map freeformTags) { + return freeformTags(Output.of(freeformTags)); + } + + /** + * @param infrastructureIds List of Compute Cloud@Customer infrastructure [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that are using this upgrade schedule. + * + * @return builder + * + */ + public Builder infrastructureIds(@Nullable Output> infrastructureIds) { + $.infrastructureIds = infrastructureIds; + return this; + } + + /** + * @param infrastructureIds List of Compute Cloud@Customer infrastructure [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that are using this upgrade schedule. + * + * @return builder + * + */ + public Builder infrastructureIds(List infrastructureIds) { + return infrastructureIds(Output.of(infrastructureIds)); + } + + /** + * @param infrastructureIds List of Compute Cloud@Customer infrastructure [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that are using this upgrade schedule. + * + * @return builder + * + */ + public Builder infrastructureIds(String... infrastructureIds) { + return infrastructureIds(List.of(infrastructureIds)); + } + + /** + * @param lifecycleDetails A message describing the current state in more detail. For example, the message can be used to provide actionable information for a resource in a Failed state. + * + * @return builder + * + */ + public Builder lifecycleDetails(@Nullable Output lifecycleDetails) { + $.lifecycleDetails = lifecycleDetails; + return this; + } + + /** + * @param lifecycleDetails A message describing the current state in more detail. For example, the message can be used to provide actionable information for a resource in a Failed state. + * + * @return builder + * + */ + public Builder lifecycleDetails(String lifecycleDetails) { + return lifecycleDetails(Output.of(lifecycleDetails)); + } + + /** + * @param state Lifecycle state of the resource. + * + * @return builder + * + */ + public Builder state(@Nullable Output state) { + $.state = state; + return this; + } + + /** + * @param state Lifecycle state of the resource. + * + * @return builder + * + */ + public Builder state(String state) { + return state(Output.of(state)); + } + + /** + * @param systemTags System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + * + * @return builder + * + */ + public Builder systemTags(@Nullable Output> systemTags) { + $.systemTags = systemTags; + return this; + } + + /** + * @param systemTags System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + * + * @return builder + * + */ + public Builder systemTags(Map systemTags) { + return systemTags(Output.of(systemTags)); + } + + /** + * @param timeCreated The time the upgrade schedule was created, using an RFC3339 formatted datetime string. + * + * @return builder + * + */ + public Builder timeCreated(@Nullable Output timeCreated) { + $.timeCreated = timeCreated; + return this; + } + + /** + * @param timeCreated The time the upgrade schedule was created, using an RFC3339 formatted datetime string. + * + * @return builder + * + */ + public Builder timeCreated(String timeCreated) { + return timeCreated(Output.of(timeCreated)); + } + + /** + * @param timeUpdated The time the upgrade schedule was updated, using an RFC3339 formatted datetime string. + * + * @return builder + * + */ + public Builder timeUpdated(@Nullable Output timeUpdated) { + $.timeUpdated = timeUpdated; + return this; + } + + /** + * @param timeUpdated The time the upgrade schedule was updated, using an RFC3339 formatted datetime string. + * + * @return builder + * + */ + public Builder timeUpdated(String timeUpdated) { + return timeUpdated(Output.of(timeUpdated)); + } + + public AtCustomerCccUpgradeScheduleState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/inputs/GetAtCustomerCccInfrastructureArgs.java b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/inputs/GetAtCustomerCccInfrastructureArgs.java new file mode 100644 index 0000000000..9bef5dff64 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/inputs/GetAtCustomerCccInfrastructureArgs.java @@ -0,0 +1,82 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.ComputeCloud.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; + + +public final class GetAtCustomerCccInfrastructureArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetAtCustomerCccInfrastructureArgs Empty = new GetAtCustomerCccInfrastructureArgs(); + + /** + * An [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for a Compute Cloud@Customer Infrastructure. + * + */ + @Import(name="cccInfrastructureId", required=true) + private Output cccInfrastructureId; + + /** + * @return An [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for a Compute Cloud@Customer Infrastructure. + * + */ + public Output cccInfrastructureId() { + return this.cccInfrastructureId; + } + + private GetAtCustomerCccInfrastructureArgs() {} + + private GetAtCustomerCccInfrastructureArgs(GetAtCustomerCccInfrastructureArgs $) { + this.cccInfrastructureId = $.cccInfrastructureId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAtCustomerCccInfrastructureArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAtCustomerCccInfrastructureArgs $; + + public Builder() { + $ = new GetAtCustomerCccInfrastructureArgs(); + } + + public Builder(GetAtCustomerCccInfrastructureArgs defaults) { + $ = new GetAtCustomerCccInfrastructureArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param cccInfrastructureId An [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for a Compute Cloud@Customer Infrastructure. + * + * @return builder + * + */ + public Builder cccInfrastructureId(Output cccInfrastructureId) { + $.cccInfrastructureId = cccInfrastructureId; + return this; + } + + /** + * @param cccInfrastructureId An [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for a Compute Cloud@Customer Infrastructure. + * + * @return builder + * + */ + public Builder cccInfrastructureId(String cccInfrastructureId) { + return cccInfrastructureId(Output.of(cccInfrastructureId)); + } + + public GetAtCustomerCccInfrastructureArgs build() { + $.cccInfrastructureId = Objects.requireNonNull($.cccInfrastructureId, "expected parameter 'cccInfrastructureId' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/inputs/GetAtCustomerCccInfrastructurePlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/inputs/GetAtCustomerCccInfrastructurePlainArgs.java new file mode 100644 index 0000000000..a0b92fcc8d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/inputs/GetAtCustomerCccInfrastructurePlainArgs.java @@ -0,0 +1,71 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.ComputeCloud.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; + + +public final class GetAtCustomerCccInfrastructurePlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetAtCustomerCccInfrastructurePlainArgs Empty = new GetAtCustomerCccInfrastructurePlainArgs(); + + /** + * An [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for a Compute Cloud@Customer Infrastructure. + * + */ + @Import(name="cccInfrastructureId", required=true) + private String cccInfrastructureId; + + /** + * @return An [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for a Compute Cloud@Customer Infrastructure. + * + */ + public String cccInfrastructureId() { + return this.cccInfrastructureId; + } + + private GetAtCustomerCccInfrastructurePlainArgs() {} + + private GetAtCustomerCccInfrastructurePlainArgs(GetAtCustomerCccInfrastructurePlainArgs $) { + this.cccInfrastructureId = $.cccInfrastructureId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAtCustomerCccInfrastructurePlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAtCustomerCccInfrastructurePlainArgs $; + + public Builder() { + $ = new GetAtCustomerCccInfrastructurePlainArgs(); + } + + public Builder(GetAtCustomerCccInfrastructurePlainArgs defaults) { + $ = new GetAtCustomerCccInfrastructurePlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param cccInfrastructureId An [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for a Compute Cloud@Customer Infrastructure. + * + * @return builder + * + */ + public Builder cccInfrastructureId(String cccInfrastructureId) { + $.cccInfrastructureId = cccInfrastructureId; + return this; + } + + public GetAtCustomerCccInfrastructurePlainArgs build() { + $.cccInfrastructureId = Objects.requireNonNull($.cccInfrastructureId, "expected parameter 'cccInfrastructureId' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/inputs/GetAtCustomerCccInfrastructuresArgs.java b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/inputs/GetAtCustomerCccInfrastructuresArgs.java new file mode 100644 index 0000000000..4bcb9f1e72 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/inputs/GetAtCustomerCccInfrastructuresArgs.java @@ -0,0 +1,329 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.ComputeCloud.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.oci.ComputeCloud.inputs.GetAtCustomerCccInfrastructuresFilterArgs; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetAtCustomerCccInfrastructuresArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetAtCustomerCccInfrastructuresArgs Empty = new GetAtCustomerCccInfrastructuresArgs(); + + /** + * Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed. + * + */ + @Import(name="accessLevel") + private @Nullable Output accessLevel; + + /** + * @return Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed. + * + */ + public Optional> accessLevel() { + return Optional.ofNullable(this.accessLevel); + } + + /** + * An [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for a Compute Cloud@Customer Infrastructure. + * + */ + @Import(name="cccInfrastructureId") + private @Nullable Output cccInfrastructureId; + + /** + * @return An [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for a Compute Cloud@Customer Infrastructure. + * + */ + public Optional> cccInfrastructureId() { + return Optional.ofNullable(this.cccInfrastructureId); + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + * + */ + @Import(name="compartmentId") + private @Nullable Output compartmentId; + + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + * + */ + public Optional> compartmentId() { + return Optional.ofNullable(this.compartmentId); + } + + /** + * Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and sub-compartments in the tenancy are returned. Depends on the 'accessLevel' setting. + * + */ + @Import(name="compartmentIdInSubtree") + private @Nullable Output compartmentIdInSubtree; + + /** + * @return Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and sub-compartments in the tenancy are returned. Depends on the 'accessLevel' setting. + * + */ + public Optional> compartmentIdInSubtree() { + return Optional.ofNullable(this.compartmentIdInSubtree); + } + + /** + * A filter to return only resources that match the entire display name given. + * + */ + @Import(name="displayName") + private @Nullable Output displayName; + + /** + * @return A filter to return only resources that match the entire display name given. + * + */ + public Optional> displayName() { + return Optional.ofNullable(this.displayName); + } + + /** + * A filter to return only resources whose display name contains the substring. + * + */ + @Import(name="displayNameContains") + private @Nullable Output displayNameContains; + + /** + * @return A filter to return only resources whose display name contains the substring. + * + */ + public Optional> displayNameContains() { + return Optional.ofNullable(this.displayNameContains); + } + + @Import(name="filters") + private @Nullable Output> filters; + + public Optional>> filters() { + return Optional.ofNullable(this.filters); + } + + /** + * A filter used to return only resources that match the given lifecycleState. + * + */ + @Import(name="state") + private @Nullable Output state; + + /** + * @return A filter used to return only resources that match the given lifecycleState. + * + */ + public Optional> state() { + return Optional.ofNullable(this.state); + } + + private GetAtCustomerCccInfrastructuresArgs() {} + + private GetAtCustomerCccInfrastructuresArgs(GetAtCustomerCccInfrastructuresArgs $) { + this.accessLevel = $.accessLevel; + this.cccInfrastructureId = $.cccInfrastructureId; + this.compartmentId = $.compartmentId; + this.compartmentIdInSubtree = $.compartmentIdInSubtree; + this.displayName = $.displayName; + this.displayNameContains = $.displayNameContains; + this.filters = $.filters; + this.state = $.state; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAtCustomerCccInfrastructuresArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAtCustomerCccInfrastructuresArgs $; + + public Builder() { + $ = new GetAtCustomerCccInfrastructuresArgs(); + } + + public Builder(GetAtCustomerCccInfrastructuresArgs defaults) { + $ = new GetAtCustomerCccInfrastructuresArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param accessLevel Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed. + * + * @return builder + * + */ + public Builder accessLevel(@Nullable Output accessLevel) { + $.accessLevel = accessLevel; + return this; + } + + /** + * @param accessLevel Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed. + * + * @return builder + * + */ + public Builder accessLevel(String accessLevel) { + return accessLevel(Output.of(accessLevel)); + } + + /** + * @param cccInfrastructureId An [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for a Compute Cloud@Customer Infrastructure. + * + * @return builder + * + */ + public Builder cccInfrastructureId(@Nullable Output cccInfrastructureId) { + $.cccInfrastructureId = cccInfrastructureId; + return this; + } + + /** + * @param cccInfrastructureId An [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for a Compute Cloud@Customer Infrastructure. + * + * @return builder + * + */ + public Builder cccInfrastructureId(String cccInfrastructureId) { + return cccInfrastructureId(Output.of(cccInfrastructureId)); + } + + /** + * @param compartmentId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + * + * @return builder + * + */ + public Builder compartmentId(@Nullable Output compartmentId) { + $.compartmentId = compartmentId; + return this; + } + + /** + * @param compartmentId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + * + * @return builder + * + */ + public Builder compartmentId(String compartmentId) { + return compartmentId(Output.of(compartmentId)); + } + + /** + * @param compartmentIdInSubtree Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and sub-compartments in the tenancy are returned. Depends on the 'accessLevel' setting. + * + * @return builder + * + */ + public Builder compartmentIdInSubtree(@Nullable Output compartmentIdInSubtree) { + $.compartmentIdInSubtree = compartmentIdInSubtree; + return this; + } + + /** + * @param compartmentIdInSubtree Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and sub-compartments in the tenancy are returned. Depends on the 'accessLevel' setting. + * + * @return builder + * + */ + public Builder compartmentIdInSubtree(Boolean compartmentIdInSubtree) { + return compartmentIdInSubtree(Output.of(compartmentIdInSubtree)); + } + + /** + * @param displayName A filter to return only resources that match the entire display name given. + * + * @return builder + * + */ + public Builder displayName(@Nullable Output displayName) { + $.displayName = displayName; + return this; + } + + /** + * @param displayName A filter to return only resources that match the entire display name given. + * + * @return builder + * + */ + public Builder displayName(String displayName) { + return displayName(Output.of(displayName)); + } + + /** + * @param displayNameContains A filter to return only resources whose display name contains the substring. + * + * @return builder + * + */ + public Builder displayNameContains(@Nullable Output displayNameContains) { + $.displayNameContains = displayNameContains; + return this; + } + + /** + * @param displayNameContains A filter to return only resources whose display name contains the substring. + * + * @return builder + * + */ + public Builder displayNameContains(String displayNameContains) { + return displayNameContains(Output.of(displayNameContains)); + } + + public Builder filters(@Nullable Output> filters) { + $.filters = filters; + return this; + } + + public Builder filters(List filters) { + return filters(Output.of(filters)); + } + + public Builder filters(GetAtCustomerCccInfrastructuresFilterArgs... filters) { + return filters(List.of(filters)); + } + + /** + * @param state A filter used to return only resources that match the given lifecycleState. + * + * @return builder + * + */ + public Builder state(@Nullable Output state) { + $.state = state; + return this; + } + + /** + * @param state A filter used to return only resources that match the given lifecycleState. + * + * @return builder + * + */ + public Builder state(String state) { + return state(Output.of(state)); + } + + public GetAtCustomerCccInfrastructuresArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/inputs/GetAtCustomerCccInfrastructuresFilter.java b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/inputs/GetAtCustomerCccInfrastructuresFilter.java new file mode 100644 index 0000000000..80a9dae9b2 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/inputs/GetAtCustomerCccInfrastructuresFilter.java @@ -0,0 +1,92 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.ComputeCloud.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetAtCustomerCccInfrastructuresFilter extends com.pulumi.resources.InvokeArgs { + + public static final GetAtCustomerCccInfrastructuresFilter Empty = new GetAtCustomerCccInfrastructuresFilter(); + + @Import(name="name", required=true) + private String name; + + public String name() { + return this.name; + } + + @Import(name="regex") + private @Nullable Boolean regex; + + public Optional regex() { + return Optional.ofNullable(this.regex); + } + + @Import(name="values", required=true) + private List values; + + public List values() { + return this.values; + } + + private GetAtCustomerCccInfrastructuresFilter() {} + + private GetAtCustomerCccInfrastructuresFilter(GetAtCustomerCccInfrastructuresFilter $) { + this.name = $.name; + this.regex = $.regex; + this.values = $.values; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAtCustomerCccInfrastructuresFilter defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAtCustomerCccInfrastructuresFilter $; + + public Builder() { + $ = new GetAtCustomerCccInfrastructuresFilter(); + } + + public Builder(GetAtCustomerCccInfrastructuresFilter defaults) { + $ = new GetAtCustomerCccInfrastructuresFilter(Objects.requireNonNull(defaults)); + } + + public Builder name(String name) { + $.name = name; + return this; + } + + public Builder regex(@Nullable Boolean regex) { + $.regex = regex; + return this; + } + + public Builder values(List values) { + $.values = values; + return this; + } + + public Builder values(String... values) { + return values(List.of(values)); + } + + public GetAtCustomerCccInfrastructuresFilter build() { + $.name = Objects.requireNonNull($.name, "expected parameter 'name' to be non-null"); + $.values = Objects.requireNonNull($.values, "expected parameter 'values' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/inputs/GetAtCustomerCccInfrastructuresFilterArgs.java b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/inputs/GetAtCustomerCccInfrastructuresFilterArgs.java new file mode 100644 index 0000000000..e2b28d68ee --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/inputs/GetAtCustomerCccInfrastructuresFilterArgs.java @@ -0,0 +1,105 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.ComputeCloud.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetAtCustomerCccInfrastructuresFilterArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetAtCustomerCccInfrastructuresFilterArgs Empty = new GetAtCustomerCccInfrastructuresFilterArgs(); + + @Import(name="name", required=true) + private Output name; + + public Output name() { + return this.name; + } + + @Import(name="regex") + private @Nullable Output regex; + + public Optional> regex() { + return Optional.ofNullable(this.regex); + } + + @Import(name="values", required=true) + private Output> values; + + public Output> values() { + return this.values; + } + + private GetAtCustomerCccInfrastructuresFilterArgs() {} + + private GetAtCustomerCccInfrastructuresFilterArgs(GetAtCustomerCccInfrastructuresFilterArgs $) { + this.name = $.name; + this.regex = $.regex; + this.values = $.values; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAtCustomerCccInfrastructuresFilterArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAtCustomerCccInfrastructuresFilterArgs $; + + public Builder() { + $ = new GetAtCustomerCccInfrastructuresFilterArgs(); + } + + public Builder(GetAtCustomerCccInfrastructuresFilterArgs defaults) { + $ = new GetAtCustomerCccInfrastructuresFilterArgs(Objects.requireNonNull(defaults)); + } + + public Builder name(Output name) { + $.name = name; + return this; + } + + public Builder name(String name) { + return name(Output.of(name)); + } + + public Builder regex(@Nullable Output regex) { + $.regex = regex; + return this; + } + + public Builder regex(Boolean regex) { + return regex(Output.of(regex)); + } + + public Builder values(Output> values) { + $.values = values; + return this; + } + + public Builder values(List values) { + return values(Output.of(values)); + } + + public Builder values(String... values) { + return values(List.of(values)); + } + + public GetAtCustomerCccInfrastructuresFilterArgs build() { + $.name = Objects.requireNonNull($.name, "expected parameter 'name' to be non-null"); + $.values = Objects.requireNonNull($.values, "expected parameter 'values' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/inputs/GetAtCustomerCccInfrastructuresPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/inputs/GetAtCustomerCccInfrastructuresPlainArgs.java new file mode 100644 index 0000000000..c4b9d2dfb7 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/inputs/GetAtCustomerCccInfrastructuresPlainArgs.java @@ -0,0 +1,254 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.ComputeCloud.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.oci.ComputeCloud.inputs.GetAtCustomerCccInfrastructuresFilter; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetAtCustomerCccInfrastructuresPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetAtCustomerCccInfrastructuresPlainArgs Empty = new GetAtCustomerCccInfrastructuresPlainArgs(); + + /** + * Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed. + * + */ + @Import(name="accessLevel") + private @Nullable String accessLevel; + + /** + * @return Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed. + * + */ + public Optional accessLevel() { + return Optional.ofNullable(this.accessLevel); + } + + /** + * An [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for a Compute Cloud@Customer Infrastructure. + * + */ + @Import(name="cccInfrastructureId") + private @Nullable String cccInfrastructureId; + + /** + * @return An [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for a Compute Cloud@Customer Infrastructure. + * + */ + public Optional cccInfrastructureId() { + return Optional.ofNullable(this.cccInfrastructureId); + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + * + */ + @Import(name="compartmentId") + private @Nullable String compartmentId; + + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + * + */ + public Optional compartmentId() { + return Optional.ofNullable(this.compartmentId); + } + + /** + * Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and sub-compartments in the tenancy are returned. Depends on the 'accessLevel' setting. + * + */ + @Import(name="compartmentIdInSubtree") + private @Nullable Boolean compartmentIdInSubtree; + + /** + * @return Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and sub-compartments in the tenancy are returned. Depends on the 'accessLevel' setting. + * + */ + public Optional compartmentIdInSubtree() { + return Optional.ofNullable(this.compartmentIdInSubtree); + } + + /** + * A filter to return only resources that match the entire display name given. + * + */ + @Import(name="displayName") + private @Nullable String displayName; + + /** + * @return A filter to return only resources that match the entire display name given. + * + */ + public Optional displayName() { + return Optional.ofNullable(this.displayName); + } + + /** + * A filter to return only resources whose display name contains the substring. + * + */ + @Import(name="displayNameContains") + private @Nullable String displayNameContains; + + /** + * @return A filter to return only resources whose display name contains the substring. + * + */ + public Optional displayNameContains() { + return Optional.ofNullable(this.displayNameContains); + } + + @Import(name="filters") + private @Nullable List filters; + + public Optional> filters() { + return Optional.ofNullable(this.filters); + } + + /** + * A filter used to return only resources that match the given lifecycleState. + * + */ + @Import(name="state") + private @Nullable String state; + + /** + * @return A filter used to return only resources that match the given lifecycleState. + * + */ + public Optional state() { + return Optional.ofNullable(this.state); + } + + private GetAtCustomerCccInfrastructuresPlainArgs() {} + + private GetAtCustomerCccInfrastructuresPlainArgs(GetAtCustomerCccInfrastructuresPlainArgs $) { + this.accessLevel = $.accessLevel; + this.cccInfrastructureId = $.cccInfrastructureId; + this.compartmentId = $.compartmentId; + this.compartmentIdInSubtree = $.compartmentIdInSubtree; + this.displayName = $.displayName; + this.displayNameContains = $.displayNameContains; + this.filters = $.filters; + this.state = $.state; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAtCustomerCccInfrastructuresPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAtCustomerCccInfrastructuresPlainArgs $; + + public Builder() { + $ = new GetAtCustomerCccInfrastructuresPlainArgs(); + } + + public Builder(GetAtCustomerCccInfrastructuresPlainArgs defaults) { + $ = new GetAtCustomerCccInfrastructuresPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param accessLevel Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed. + * + * @return builder + * + */ + public Builder accessLevel(@Nullable String accessLevel) { + $.accessLevel = accessLevel; + return this; + } + + /** + * @param cccInfrastructureId An [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for a Compute Cloud@Customer Infrastructure. + * + * @return builder + * + */ + public Builder cccInfrastructureId(@Nullable String cccInfrastructureId) { + $.cccInfrastructureId = cccInfrastructureId; + return this; + } + + /** + * @param compartmentId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + * + * @return builder + * + */ + public Builder compartmentId(@Nullable String compartmentId) { + $.compartmentId = compartmentId; + return this; + } + + /** + * @param compartmentIdInSubtree Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and sub-compartments in the tenancy are returned. Depends on the 'accessLevel' setting. + * + * @return builder + * + */ + public Builder compartmentIdInSubtree(@Nullable Boolean compartmentIdInSubtree) { + $.compartmentIdInSubtree = compartmentIdInSubtree; + return this; + } + + /** + * @param displayName A filter to return only resources that match the entire display name given. + * + * @return builder + * + */ + public Builder displayName(@Nullable String displayName) { + $.displayName = displayName; + return this; + } + + /** + * @param displayNameContains A filter to return only resources whose display name contains the substring. + * + * @return builder + * + */ + public Builder displayNameContains(@Nullable String displayNameContains) { + $.displayNameContains = displayNameContains; + return this; + } + + public Builder filters(@Nullable List filters) { + $.filters = filters; + return this; + } + + public Builder filters(GetAtCustomerCccInfrastructuresFilter... filters) { + return filters(List.of(filters)); + } + + /** + * @param state A filter used to return only resources that match the given lifecycleState. + * + * @return builder + * + */ + public Builder state(@Nullable String state) { + $.state = state; + return this; + } + + public GetAtCustomerCccInfrastructuresPlainArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/inputs/GetAtCustomerCccUpgradeScheduleArgs.java b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/inputs/GetAtCustomerCccUpgradeScheduleArgs.java new file mode 100644 index 0000000000..408abe88b4 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/inputs/GetAtCustomerCccUpgradeScheduleArgs.java @@ -0,0 +1,82 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.ComputeCloud.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; + + +public final class GetAtCustomerCccUpgradeScheduleArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetAtCustomerCccUpgradeScheduleArgs Empty = new GetAtCustomerCccUpgradeScheduleArgs(); + + /** + * Compute Cloud@Customer upgrade schedule [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + * + */ + @Import(name="cccUpgradeScheduleId", required=true) + private Output cccUpgradeScheduleId; + + /** + * @return Compute Cloud@Customer upgrade schedule [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + * + */ + public Output cccUpgradeScheduleId() { + return this.cccUpgradeScheduleId; + } + + private GetAtCustomerCccUpgradeScheduleArgs() {} + + private GetAtCustomerCccUpgradeScheduleArgs(GetAtCustomerCccUpgradeScheduleArgs $) { + this.cccUpgradeScheduleId = $.cccUpgradeScheduleId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAtCustomerCccUpgradeScheduleArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAtCustomerCccUpgradeScheduleArgs $; + + public Builder() { + $ = new GetAtCustomerCccUpgradeScheduleArgs(); + } + + public Builder(GetAtCustomerCccUpgradeScheduleArgs defaults) { + $ = new GetAtCustomerCccUpgradeScheduleArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param cccUpgradeScheduleId Compute Cloud@Customer upgrade schedule [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + * + * @return builder + * + */ + public Builder cccUpgradeScheduleId(Output cccUpgradeScheduleId) { + $.cccUpgradeScheduleId = cccUpgradeScheduleId; + return this; + } + + /** + * @param cccUpgradeScheduleId Compute Cloud@Customer upgrade schedule [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + * + * @return builder + * + */ + public Builder cccUpgradeScheduleId(String cccUpgradeScheduleId) { + return cccUpgradeScheduleId(Output.of(cccUpgradeScheduleId)); + } + + public GetAtCustomerCccUpgradeScheduleArgs build() { + $.cccUpgradeScheduleId = Objects.requireNonNull($.cccUpgradeScheduleId, "expected parameter 'cccUpgradeScheduleId' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/inputs/GetAtCustomerCccUpgradeSchedulePlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/inputs/GetAtCustomerCccUpgradeSchedulePlainArgs.java new file mode 100644 index 0000000000..98edb3231a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/inputs/GetAtCustomerCccUpgradeSchedulePlainArgs.java @@ -0,0 +1,71 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.ComputeCloud.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; + + +public final class GetAtCustomerCccUpgradeSchedulePlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetAtCustomerCccUpgradeSchedulePlainArgs Empty = new GetAtCustomerCccUpgradeSchedulePlainArgs(); + + /** + * Compute Cloud@Customer upgrade schedule [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + * + */ + @Import(name="cccUpgradeScheduleId", required=true) + private String cccUpgradeScheduleId; + + /** + * @return Compute Cloud@Customer upgrade schedule [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + * + */ + public String cccUpgradeScheduleId() { + return this.cccUpgradeScheduleId; + } + + private GetAtCustomerCccUpgradeSchedulePlainArgs() {} + + private GetAtCustomerCccUpgradeSchedulePlainArgs(GetAtCustomerCccUpgradeSchedulePlainArgs $) { + this.cccUpgradeScheduleId = $.cccUpgradeScheduleId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAtCustomerCccUpgradeSchedulePlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAtCustomerCccUpgradeSchedulePlainArgs $; + + public Builder() { + $ = new GetAtCustomerCccUpgradeSchedulePlainArgs(); + } + + public Builder(GetAtCustomerCccUpgradeSchedulePlainArgs defaults) { + $ = new GetAtCustomerCccUpgradeSchedulePlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param cccUpgradeScheduleId Compute Cloud@Customer upgrade schedule [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + * + * @return builder + * + */ + public Builder cccUpgradeScheduleId(String cccUpgradeScheduleId) { + $.cccUpgradeScheduleId = cccUpgradeScheduleId; + return this; + } + + public GetAtCustomerCccUpgradeSchedulePlainArgs build() { + $.cccUpgradeScheduleId = Objects.requireNonNull($.cccUpgradeScheduleId, "expected parameter 'cccUpgradeScheduleId' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/inputs/GetAtCustomerCccUpgradeSchedulesArgs.java b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/inputs/GetAtCustomerCccUpgradeSchedulesArgs.java new file mode 100644 index 0000000000..d6ce74fa2f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/inputs/GetAtCustomerCccUpgradeSchedulesArgs.java @@ -0,0 +1,329 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.ComputeCloud.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.oci.ComputeCloud.inputs.GetAtCustomerCccUpgradeSchedulesFilterArgs; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetAtCustomerCccUpgradeSchedulesArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetAtCustomerCccUpgradeSchedulesArgs Empty = new GetAtCustomerCccUpgradeSchedulesArgs(); + + /** + * Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed. + * + */ + @Import(name="accessLevel") + private @Nullable Output accessLevel; + + /** + * @return Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed. + * + */ + public Optional> accessLevel() { + return Optional.ofNullable(this.accessLevel); + } + + /** + * Compute Cloud@Customer upgrade schedule [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + * + */ + @Import(name="cccUpgradeScheduleId") + private @Nullable Output cccUpgradeScheduleId; + + /** + * @return Compute Cloud@Customer upgrade schedule [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + * + */ + public Optional> cccUpgradeScheduleId() { + return Optional.ofNullable(this.cccUpgradeScheduleId); + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + * + */ + @Import(name="compartmentId") + private @Nullable Output compartmentId; + + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + * + */ + public Optional> compartmentId() { + return Optional.ofNullable(this.compartmentId); + } + + /** + * Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and sub-compartments in the tenancy are returned. Depends on the 'accessLevel' setting. + * + */ + @Import(name="compartmentIdInSubtree") + private @Nullable Output compartmentIdInSubtree; + + /** + * @return Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and sub-compartments in the tenancy are returned. Depends on the 'accessLevel' setting. + * + */ + public Optional> compartmentIdInSubtree() { + return Optional.ofNullable(this.compartmentIdInSubtree); + } + + /** + * A filter to return only resources that match the entire display name given. + * + */ + @Import(name="displayName") + private @Nullable Output displayName; + + /** + * @return A filter to return only resources that match the entire display name given. + * + */ + public Optional> displayName() { + return Optional.ofNullable(this.displayName); + } + + /** + * A filter to return only resources whose display name contains the substring. + * + */ + @Import(name="displayNameContains") + private @Nullable Output displayNameContains; + + /** + * @return A filter to return only resources whose display name contains the substring. + * + */ + public Optional> displayNameContains() { + return Optional.ofNullable(this.displayNameContains); + } + + @Import(name="filters") + private @Nullable Output> filters; + + public Optional>> filters() { + return Optional.ofNullable(this.filters); + } + + /** + * A filter to return resources only when their lifecycleState matches the given lifecycleState. + * + */ + @Import(name="state") + private @Nullable Output state; + + /** + * @return A filter to return resources only when their lifecycleState matches the given lifecycleState. + * + */ + public Optional> state() { + return Optional.ofNullable(this.state); + } + + private GetAtCustomerCccUpgradeSchedulesArgs() {} + + private GetAtCustomerCccUpgradeSchedulesArgs(GetAtCustomerCccUpgradeSchedulesArgs $) { + this.accessLevel = $.accessLevel; + this.cccUpgradeScheduleId = $.cccUpgradeScheduleId; + this.compartmentId = $.compartmentId; + this.compartmentIdInSubtree = $.compartmentIdInSubtree; + this.displayName = $.displayName; + this.displayNameContains = $.displayNameContains; + this.filters = $.filters; + this.state = $.state; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAtCustomerCccUpgradeSchedulesArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAtCustomerCccUpgradeSchedulesArgs $; + + public Builder() { + $ = new GetAtCustomerCccUpgradeSchedulesArgs(); + } + + public Builder(GetAtCustomerCccUpgradeSchedulesArgs defaults) { + $ = new GetAtCustomerCccUpgradeSchedulesArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param accessLevel Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed. + * + * @return builder + * + */ + public Builder accessLevel(@Nullable Output accessLevel) { + $.accessLevel = accessLevel; + return this; + } + + /** + * @param accessLevel Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed. + * + * @return builder + * + */ + public Builder accessLevel(String accessLevel) { + return accessLevel(Output.of(accessLevel)); + } + + /** + * @param cccUpgradeScheduleId Compute Cloud@Customer upgrade schedule [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + * + * @return builder + * + */ + public Builder cccUpgradeScheduleId(@Nullable Output cccUpgradeScheduleId) { + $.cccUpgradeScheduleId = cccUpgradeScheduleId; + return this; + } + + /** + * @param cccUpgradeScheduleId Compute Cloud@Customer upgrade schedule [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + * + * @return builder + * + */ + public Builder cccUpgradeScheduleId(String cccUpgradeScheduleId) { + return cccUpgradeScheduleId(Output.of(cccUpgradeScheduleId)); + } + + /** + * @param compartmentId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + * + * @return builder + * + */ + public Builder compartmentId(@Nullable Output compartmentId) { + $.compartmentId = compartmentId; + return this; + } + + /** + * @param compartmentId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + * + * @return builder + * + */ + public Builder compartmentId(String compartmentId) { + return compartmentId(Output.of(compartmentId)); + } + + /** + * @param compartmentIdInSubtree Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and sub-compartments in the tenancy are returned. Depends on the 'accessLevel' setting. + * + * @return builder + * + */ + public Builder compartmentIdInSubtree(@Nullable Output compartmentIdInSubtree) { + $.compartmentIdInSubtree = compartmentIdInSubtree; + return this; + } + + /** + * @param compartmentIdInSubtree Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and sub-compartments in the tenancy are returned. Depends on the 'accessLevel' setting. + * + * @return builder + * + */ + public Builder compartmentIdInSubtree(Boolean compartmentIdInSubtree) { + return compartmentIdInSubtree(Output.of(compartmentIdInSubtree)); + } + + /** + * @param displayName A filter to return only resources that match the entire display name given. + * + * @return builder + * + */ + public Builder displayName(@Nullable Output displayName) { + $.displayName = displayName; + return this; + } + + /** + * @param displayName A filter to return only resources that match the entire display name given. + * + * @return builder + * + */ + public Builder displayName(String displayName) { + return displayName(Output.of(displayName)); + } + + /** + * @param displayNameContains A filter to return only resources whose display name contains the substring. + * + * @return builder + * + */ + public Builder displayNameContains(@Nullable Output displayNameContains) { + $.displayNameContains = displayNameContains; + return this; + } + + /** + * @param displayNameContains A filter to return only resources whose display name contains the substring. + * + * @return builder + * + */ + public Builder displayNameContains(String displayNameContains) { + return displayNameContains(Output.of(displayNameContains)); + } + + public Builder filters(@Nullable Output> filters) { + $.filters = filters; + return this; + } + + public Builder filters(List filters) { + return filters(Output.of(filters)); + } + + public Builder filters(GetAtCustomerCccUpgradeSchedulesFilterArgs... filters) { + return filters(List.of(filters)); + } + + /** + * @param state A filter to return resources only when their lifecycleState matches the given lifecycleState. + * + * @return builder + * + */ + public Builder state(@Nullable Output state) { + $.state = state; + return this; + } + + /** + * @param state A filter to return resources only when their lifecycleState matches the given lifecycleState. + * + * @return builder + * + */ + public Builder state(String state) { + return state(Output.of(state)); + } + + public GetAtCustomerCccUpgradeSchedulesArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/inputs/GetAtCustomerCccUpgradeSchedulesFilter.java b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/inputs/GetAtCustomerCccUpgradeSchedulesFilter.java new file mode 100644 index 0000000000..3b66ffc64f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/inputs/GetAtCustomerCccUpgradeSchedulesFilter.java @@ -0,0 +1,106 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.ComputeCloud.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetAtCustomerCccUpgradeSchedulesFilter extends com.pulumi.resources.InvokeArgs { + + public static final GetAtCustomerCccUpgradeSchedulesFilter Empty = new GetAtCustomerCccUpgradeSchedulesFilter(); + + /** + * Generated name associated with the event. + * + */ + @Import(name="name", required=true) + private String name; + + /** + * @return Generated name associated with the event. + * + */ + public String name() { + return this.name; + } + + @Import(name="regex") + private @Nullable Boolean regex; + + public Optional regex() { + return Optional.ofNullable(this.regex); + } + + @Import(name="values", required=true) + private List values; + + public List values() { + return this.values; + } + + private GetAtCustomerCccUpgradeSchedulesFilter() {} + + private GetAtCustomerCccUpgradeSchedulesFilter(GetAtCustomerCccUpgradeSchedulesFilter $) { + this.name = $.name; + this.regex = $.regex; + this.values = $.values; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAtCustomerCccUpgradeSchedulesFilter defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAtCustomerCccUpgradeSchedulesFilter $; + + public Builder() { + $ = new GetAtCustomerCccUpgradeSchedulesFilter(); + } + + public Builder(GetAtCustomerCccUpgradeSchedulesFilter defaults) { + $ = new GetAtCustomerCccUpgradeSchedulesFilter(Objects.requireNonNull(defaults)); + } + + /** + * @param name Generated name associated with the event. + * + * @return builder + * + */ + public Builder name(String name) { + $.name = name; + return this; + } + + public Builder regex(@Nullable Boolean regex) { + $.regex = regex; + return this; + } + + public Builder values(List values) { + $.values = values; + return this; + } + + public Builder values(String... values) { + return values(List.of(values)); + } + + public GetAtCustomerCccUpgradeSchedulesFilter build() { + $.name = Objects.requireNonNull($.name, "expected parameter 'name' to be non-null"); + $.values = Objects.requireNonNull($.values, "expected parameter 'values' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/inputs/GetAtCustomerCccUpgradeSchedulesFilterArgs.java b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/inputs/GetAtCustomerCccUpgradeSchedulesFilterArgs.java new file mode 100644 index 0000000000..387091c093 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/inputs/GetAtCustomerCccUpgradeSchedulesFilterArgs.java @@ -0,0 +1,125 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.ComputeCloud.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetAtCustomerCccUpgradeSchedulesFilterArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetAtCustomerCccUpgradeSchedulesFilterArgs Empty = new GetAtCustomerCccUpgradeSchedulesFilterArgs(); + + /** + * Generated name associated with the event. + * + */ + @Import(name="name", required=true) + private Output name; + + /** + * @return Generated name associated with the event. + * + */ + public Output name() { + return this.name; + } + + @Import(name="regex") + private @Nullable Output regex; + + public Optional> regex() { + return Optional.ofNullable(this.regex); + } + + @Import(name="values", required=true) + private Output> values; + + public Output> values() { + return this.values; + } + + private GetAtCustomerCccUpgradeSchedulesFilterArgs() {} + + private GetAtCustomerCccUpgradeSchedulesFilterArgs(GetAtCustomerCccUpgradeSchedulesFilterArgs $) { + this.name = $.name; + this.regex = $.regex; + this.values = $.values; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAtCustomerCccUpgradeSchedulesFilterArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAtCustomerCccUpgradeSchedulesFilterArgs $; + + public Builder() { + $ = new GetAtCustomerCccUpgradeSchedulesFilterArgs(); + } + + public Builder(GetAtCustomerCccUpgradeSchedulesFilterArgs defaults) { + $ = new GetAtCustomerCccUpgradeSchedulesFilterArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param name Generated name associated with the event. + * + * @return builder + * + */ + public Builder name(Output name) { + $.name = name; + return this; + } + + /** + * @param name Generated name associated with the event. + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + public Builder regex(@Nullable Output regex) { + $.regex = regex; + return this; + } + + public Builder regex(Boolean regex) { + return regex(Output.of(regex)); + } + + public Builder values(Output> values) { + $.values = values; + return this; + } + + public Builder values(List values) { + return values(Output.of(values)); + } + + public Builder values(String... values) { + return values(List.of(values)); + } + + public GetAtCustomerCccUpgradeSchedulesFilterArgs build() { + $.name = Objects.requireNonNull($.name, "expected parameter 'name' to be non-null"); + $.values = Objects.requireNonNull($.values, "expected parameter 'values' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/inputs/GetAtCustomerCccUpgradeSchedulesPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/inputs/GetAtCustomerCccUpgradeSchedulesPlainArgs.java new file mode 100644 index 0000000000..9bfdf027a7 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/inputs/GetAtCustomerCccUpgradeSchedulesPlainArgs.java @@ -0,0 +1,254 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.ComputeCloud.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.oci.ComputeCloud.inputs.GetAtCustomerCccUpgradeSchedulesFilter; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetAtCustomerCccUpgradeSchedulesPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetAtCustomerCccUpgradeSchedulesPlainArgs Empty = new GetAtCustomerCccUpgradeSchedulesPlainArgs(); + + /** + * Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed. + * + */ + @Import(name="accessLevel") + private @Nullable String accessLevel; + + /** + * @return Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed. + * + */ + public Optional accessLevel() { + return Optional.ofNullable(this.accessLevel); + } + + /** + * Compute Cloud@Customer upgrade schedule [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + * + */ + @Import(name="cccUpgradeScheduleId") + private @Nullable String cccUpgradeScheduleId; + + /** + * @return Compute Cloud@Customer upgrade schedule [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + * + */ + public Optional cccUpgradeScheduleId() { + return Optional.ofNullable(this.cccUpgradeScheduleId); + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + * + */ + @Import(name="compartmentId") + private @Nullable String compartmentId; + + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + * + */ + public Optional compartmentId() { + return Optional.ofNullable(this.compartmentId); + } + + /** + * Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and sub-compartments in the tenancy are returned. Depends on the 'accessLevel' setting. + * + */ + @Import(name="compartmentIdInSubtree") + private @Nullable Boolean compartmentIdInSubtree; + + /** + * @return Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and sub-compartments in the tenancy are returned. Depends on the 'accessLevel' setting. + * + */ + public Optional compartmentIdInSubtree() { + return Optional.ofNullable(this.compartmentIdInSubtree); + } + + /** + * A filter to return only resources that match the entire display name given. + * + */ + @Import(name="displayName") + private @Nullable String displayName; + + /** + * @return A filter to return only resources that match the entire display name given. + * + */ + public Optional displayName() { + return Optional.ofNullable(this.displayName); + } + + /** + * A filter to return only resources whose display name contains the substring. + * + */ + @Import(name="displayNameContains") + private @Nullable String displayNameContains; + + /** + * @return A filter to return only resources whose display name contains the substring. + * + */ + public Optional displayNameContains() { + return Optional.ofNullable(this.displayNameContains); + } + + @Import(name="filters") + private @Nullable List filters; + + public Optional> filters() { + return Optional.ofNullable(this.filters); + } + + /** + * A filter to return resources only when their lifecycleState matches the given lifecycleState. + * + */ + @Import(name="state") + private @Nullable String state; + + /** + * @return A filter to return resources only when their lifecycleState matches the given lifecycleState. + * + */ + public Optional state() { + return Optional.ofNullable(this.state); + } + + private GetAtCustomerCccUpgradeSchedulesPlainArgs() {} + + private GetAtCustomerCccUpgradeSchedulesPlainArgs(GetAtCustomerCccUpgradeSchedulesPlainArgs $) { + this.accessLevel = $.accessLevel; + this.cccUpgradeScheduleId = $.cccUpgradeScheduleId; + this.compartmentId = $.compartmentId; + this.compartmentIdInSubtree = $.compartmentIdInSubtree; + this.displayName = $.displayName; + this.displayNameContains = $.displayNameContains; + this.filters = $.filters; + this.state = $.state; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetAtCustomerCccUpgradeSchedulesPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetAtCustomerCccUpgradeSchedulesPlainArgs $; + + public Builder() { + $ = new GetAtCustomerCccUpgradeSchedulesPlainArgs(); + } + + public Builder(GetAtCustomerCccUpgradeSchedulesPlainArgs defaults) { + $ = new GetAtCustomerCccUpgradeSchedulesPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param accessLevel Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed. + * + * @return builder + * + */ + public Builder accessLevel(@Nullable String accessLevel) { + $.accessLevel = accessLevel; + return this; + } + + /** + * @param cccUpgradeScheduleId Compute Cloud@Customer upgrade schedule [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + * + * @return builder + * + */ + public Builder cccUpgradeScheduleId(@Nullable String cccUpgradeScheduleId) { + $.cccUpgradeScheduleId = cccUpgradeScheduleId; + return this; + } + + /** + * @param compartmentId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + * + * @return builder + * + */ + public Builder compartmentId(@Nullable String compartmentId) { + $.compartmentId = compartmentId; + return this; + } + + /** + * @param compartmentIdInSubtree Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and sub-compartments in the tenancy are returned. Depends on the 'accessLevel' setting. + * + * @return builder + * + */ + public Builder compartmentIdInSubtree(@Nullable Boolean compartmentIdInSubtree) { + $.compartmentIdInSubtree = compartmentIdInSubtree; + return this; + } + + /** + * @param displayName A filter to return only resources that match the entire display name given. + * + * @return builder + * + */ + public Builder displayName(@Nullable String displayName) { + $.displayName = displayName; + return this; + } + + /** + * @param displayNameContains A filter to return only resources whose display name contains the substring. + * + * @return builder + * + */ + public Builder displayNameContains(@Nullable String displayNameContains) { + $.displayNameContains = displayNameContains; + return this; + } + + public Builder filters(@Nullable List filters) { + $.filters = filters; + return this; + } + + public Builder filters(GetAtCustomerCccUpgradeSchedulesFilter... filters) { + return filters(List.of(filters)); + } + + /** + * @param state A filter to return resources only when their lifecycleState matches the given lifecycleState. + * + * @return builder + * + */ + public Builder state(@Nullable String state) { + $.state = state; + return this; + } + + public GetAtCustomerCccUpgradeSchedulesPlainArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/AtCustomerCccInfrastructureInfrastructureInventory.java b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/AtCustomerCccInfrastructureInfrastructureInventory.java new file mode 100644 index 0000000000..349dc04aba --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/AtCustomerCccInfrastructureInfrastructureInventory.java @@ -0,0 +1,137 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.ComputeCloud.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.Integer; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class AtCustomerCccInfrastructureInfrastructureInventory { + /** + * @return The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for capacity storage. + * + */ + private @Nullable Integer capacityStorageTrayCount; + /** + * @return The number of compute nodes that are available and usable on the Compute Cloud@Customer infrastructure rack. There is no distinction of compute node type in this information. + * + */ + private @Nullable Integer computeNodeCount; + /** + * @return The number of management nodes that are available and in active use on the Compute Cloud@Customer infrastructure rack. + * + */ + private @Nullable Integer managementNodeCount; + /** + * @return The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for performance storage. + * + */ + private @Nullable Integer performanceStorageTrayCount; + /** + * @return The serial number of the Compute Cloud@Customer infrastructure rack. + * + */ + private @Nullable String serialNumber; + + private AtCustomerCccInfrastructureInfrastructureInventory() {} + /** + * @return The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for capacity storage. + * + */ + public Optional capacityStorageTrayCount() { + return Optional.ofNullable(this.capacityStorageTrayCount); + } + /** + * @return The number of compute nodes that are available and usable on the Compute Cloud@Customer infrastructure rack. There is no distinction of compute node type in this information. + * + */ + public Optional computeNodeCount() { + return Optional.ofNullable(this.computeNodeCount); + } + /** + * @return The number of management nodes that are available and in active use on the Compute Cloud@Customer infrastructure rack. + * + */ + public Optional managementNodeCount() { + return Optional.ofNullable(this.managementNodeCount); + } + /** + * @return The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for performance storage. + * + */ + public Optional performanceStorageTrayCount() { + return Optional.ofNullable(this.performanceStorageTrayCount); + } + /** + * @return The serial number of the Compute Cloud@Customer infrastructure rack. + * + */ + public Optional serialNumber() { + return Optional.ofNullable(this.serialNumber); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(AtCustomerCccInfrastructureInfrastructureInventory defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable Integer capacityStorageTrayCount; + private @Nullable Integer computeNodeCount; + private @Nullable Integer managementNodeCount; + private @Nullable Integer performanceStorageTrayCount; + private @Nullable String serialNumber; + public Builder() {} + public Builder(AtCustomerCccInfrastructureInfrastructureInventory defaults) { + Objects.requireNonNull(defaults); + this.capacityStorageTrayCount = defaults.capacityStorageTrayCount; + this.computeNodeCount = defaults.computeNodeCount; + this.managementNodeCount = defaults.managementNodeCount; + this.performanceStorageTrayCount = defaults.performanceStorageTrayCount; + this.serialNumber = defaults.serialNumber; + } + + @CustomType.Setter + public Builder capacityStorageTrayCount(@Nullable Integer capacityStorageTrayCount) { + this.capacityStorageTrayCount = capacityStorageTrayCount; + return this; + } + @CustomType.Setter + public Builder computeNodeCount(@Nullable Integer computeNodeCount) { + this.computeNodeCount = computeNodeCount; + return this; + } + @CustomType.Setter + public Builder managementNodeCount(@Nullable Integer managementNodeCount) { + this.managementNodeCount = managementNodeCount; + return this; + } + @CustomType.Setter + public Builder performanceStorageTrayCount(@Nullable Integer performanceStorageTrayCount) { + this.performanceStorageTrayCount = performanceStorageTrayCount; + return this; + } + @CustomType.Setter + public Builder serialNumber(@Nullable String serialNumber) { + this.serialNumber = serialNumber; + return this; + } + public AtCustomerCccInfrastructureInfrastructureInventory build() { + final var o = new AtCustomerCccInfrastructureInfrastructureInventory(); + o.capacityStorageTrayCount = capacityStorageTrayCount; + o.computeNodeCount = computeNodeCount; + o.managementNodeCount = managementNodeCount; + o.performanceStorageTrayCount = performanceStorageTrayCount; + o.serialNumber = serialNumber; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/AtCustomerCccInfrastructureInfrastructureNetworkConfiguration.java b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/AtCustomerCccInfrastructureInfrastructureNetworkConfiguration.java new file mode 100644 index 0000000000..fbe02ac341 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/AtCustomerCccInfrastructureInfrastructureNetworkConfiguration.java @@ -0,0 +1,356 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.ComputeCloud.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.oci.ComputeCloud.outputs.AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic; +import com.pulumi.oci.ComputeCloud.outputs.AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic; +import com.pulumi.oci.ComputeCloud.outputs.AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class AtCustomerCccInfrastructureInfrastructureNetworkConfiguration { + /** + * @return The domain name system (DNS) addresses that the Compute Cloud@Customer infrastructure uses for the data center network. + * + */ + private @Nullable List dnsIps; + /** + * @return Dynamic routing information for the Compute Cloud@Customer infrastructure. + * + */ + private @Nullable List infrastructureRoutingDynamics; + /** + * @return Static routing information for a rack. + * + */ + private @Nullable List infrastructureRoutingStatics; + /** + * @return Information about the management nodes that are provisioned in the Compute Cloud@Customer infrastructure. + * + */ + private @Nullable List managementNodes; + /** + * @return The hostname corresponding to the virtual IP (VIP) address of the management nodes. + * + */ + private @Nullable String mgmtVipHostname; + /** + * @return The IP address used as the virtual IP (VIP) address of the management nodes. + * + */ + private @Nullable String mgmtVipIp; + /** + * @return Addresses of the network spine switches. + * + */ + private @Nullable List spineIps; + /** + * @return The spine switch public virtual IP (VIP). Traffic routed to the Compute Cloud@Customer infrastructure and and virtual cloud networks (VCNs) should have this address as next hop. + * + */ + private @Nullable String spineVip; + /** + * @return Domain name to be used as the base domain for the internal network and by public facing services. + * + */ + private @Nullable String uplinkDomain; + /** + * @return Uplink gateway in the datacenter network that the Compute Cloud@Customer connects to. + * + */ + private @Nullable String uplinkGatewayIp; + /** + * @return Netmask of the subnet that the Compute Cloud@Customer infrastructure is connected to. + * + */ + private @Nullable String uplinkNetmask; + /** + * @return Number of uplink ports per spine switch. Connectivity is identical on both spine switches. For example, if input is two 100 gigabyte ports; then port-1 and port-2 on both spines will be configured. + * + */ + private @Nullable Integer uplinkPortCount; + /** + * @return The port forward error correction (FEC) setting for the uplink port on the Compute Cloud@Customer infrastructure. + * + */ + private @Nullable String uplinkPortForwardErrorCorrection; + /** + * @return Uplink port speed defined in gigabytes per second. All uplink ports must have identical speed. + * + */ + private @Nullable Integer uplinkPortSpeedInGbps; + /** + * @return The virtual local area network (VLAN) maximum transmission unit (MTU) size for the uplink ports. + * + */ + private @Nullable Integer uplinkVlanMtu; + + private AtCustomerCccInfrastructureInfrastructureNetworkConfiguration() {} + /** + * @return The domain name system (DNS) addresses that the Compute Cloud@Customer infrastructure uses for the data center network. + * + */ + public List dnsIps() { + return this.dnsIps == null ? List.of() : this.dnsIps; + } + /** + * @return Dynamic routing information for the Compute Cloud@Customer infrastructure. + * + */ + public List infrastructureRoutingDynamics() { + return this.infrastructureRoutingDynamics == null ? List.of() : this.infrastructureRoutingDynamics; + } + /** + * @return Static routing information for a rack. + * + */ + public List infrastructureRoutingStatics() { + return this.infrastructureRoutingStatics == null ? List.of() : this.infrastructureRoutingStatics; + } + /** + * @return Information about the management nodes that are provisioned in the Compute Cloud@Customer infrastructure. + * + */ + public List managementNodes() { + return this.managementNodes == null ? List.of() : this.managementNodes; + } + /** + * @return The hostname corresponding to the virtual IP (VIP) address of the management nodes. + * + */ + public Optional mgmtVipHostname() { + return Optional.ofNullable(this.mgmtVipHostname); + } + /** + * @return The IP address used as the virtual IP (VIP) address of the management nodes. + * + */ + public Optional mgmtVipIp() { + return Optional.ofNullable(this.mgmtVipIp); + } + /** + * @return Addresses of the network spine switches. + * + */ + public List spineIps() { + return this.spineIps == null ? List.of() : this.spineIps; + } + /** + * @return The spine switch public virtual IP (VIP). Traffic routed to the Compute Cloud@Customer infrastructure and and virtual cloud networks (VCNs) should have this address as next hop. + * + */ + public Optional spineVip() { + return Optional.ofNullable(this.spineVip); + } + /** + * @return Domain name to be used as the base domain for the internal network and by public facing services. + * + */ + public Optional uplinkDomain() { + return Optional.ofNullable(this.uplinkDomain); + } + /** + * @return Uplink gateway in the datacenter network that the Compute Cloud@Customer connects to. + * + */ + public Optional uplinkGatewayIp() { + return Optional.ofNullable(this.uplinkGatewayIp); + } + /** + * @return Netmask of the subnet that the Compute Cloud@Customer infrastructure is connected to. + * + */ + public Optional uplinkNetmask() { + return Optional.ofNullable(this.uplinkNetmask); + } + /** + * @return Number of uplink ports per spine switch. Connectivity is identical on both spine switches. For example, if input is two 100 gigabyte ports; then port-1 and port-2 on both spines will be configured. + * + */ + public Optional uplinkPortCount() { + return Optional.ofNullable(this.uplinkPortCount); + } + /** + * @return The port forward error correction (FEC) setting for the uplink port on the Compute Cloud@Customer infrastructure. + * + */ + public Optional uplinkPortForwardErrorCorrection() { + return Optional.ofNullable(this.uplinkPortForwardErrorCorrection); + } + /** + * @return Uplink port speed defined in gigabytes per second. All uplink ports must have identical speed. + * + */ + public Optional uplinkPortSpeedInGbps() { + return Optional.ofNullable(this.uplinkPortSpeedInGbps); + } + /** + * @return The virtual local area network (VLAN) maximum transmission unit (MTU) size for the uplink ports. + * + */ + public Optional uplinkVlanMtu() { + return Optional.ofNullable(this.uplinkVlanMtu); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(AtCustomerCccInfrastructureInfrastructureNetworkConfiguration defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable List dnsIps; + private @Nullable List infrastructureRoutingDynamics; + private @Nullable List infrastructureRoutingStatics; + private @Nullable List managementNodes; + private @Nullable String mgmtVipHostname; + private @Nullable String mgmtVipIp; + private @Nullable List spineIps; + private @Nullable String spineVip; + private @Nullable String uplinkDomain; + private @Nullable String uplinkGatewayIp; + private @Nullable String uplinkNetmask; + private @Nullable Integer uplinkPortCount; + private @Nullable String uplinkPortForwardErrorCorrection; + private @Nullable Integer uplinkPortSpeedInGbps; + private @Nullable Integer uplinkVlanMtu; + public Builder() {} + public Builder(AtCustomerCccInfrastructureInfrastructureNetworkConfiguration defaults) { + Objects.requireNonNull(defaults); + this.dnsIps = defaults.dnsIps; + this.infrastructureRoutingDynamics = defaults.infrastructureRoutingDynamics; + this.infrastructureRoutingStatics = defaults.infrastructureRoutingStatics; + this.managementNodes = defaults.managementNodes; + this.mgmtVipHostname = defaults.mgmtVipHostname; + this.mgmtVipIp = defaults.mgmtVipIp; + this.spineIps = defaults.spineIps; + this.spineVip = defaults.spineVip; + this.uplinkDomain = defaults.uplinkDomain; + this.uplinkGatewayIp = defaults.uplinkGatewayIp; + this.uplinkNetmask = defaults.uplinkNetmask; + this.uplinkPortCount = defaults.uplinkPortCount; + this.uplinkPortForwardErrorCorrection = defaults.uplinkPortForwardErrorCorrection; + this.uplinkPortSpeedInGbps = defaults.uplinkPortSpeedInGbps; + this.uplinkVlanMtu = defaults.uplinkVlanMtu; + } + + @CustomType.Setter + public Builder dnsIps(@Nullable List dnsIps) { + this.dnsIps = dnsIps; + return this; + } + public Builder dnsIps(String... dnsIps) { + return dnsIps(List.of(dnsIps)); + } + @CustomType.Setter + public Builder infrastructureRoutingDynamics(@Nullable List infrastructureRoutingDynamics) { + this.infrastructureRoutingDynamics = infrastructureRoutingDynamics; + return this; + } + public Builder infrastructureRoutingDynamics(AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic... infrastructureRoutingDynamics) { + return infrastructureRoutingDynamics(List.of(infrastructureRoutingDynamics)); + } + @CustomType.Setter + public Builder infrastructureRoutingStatics(@Nullable List infrastructureRoutingStatics) { + this.infrastructureRoutingStatics = infrastructureRoutingStatics; + return this; + } + public Builder infrastructureRoutingStatics(AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic... infrastructureRoutingStatics) { + return infrastructureRoutingStatics(List.of(infrastructureRoutingStatics)); + } + @CustomType.Setter + public Builder managementNodes(@Nullable List managementNodes) { + this.managementNodes = managementNodes; + return this; + } + public Builder managementNodes(AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode... managementNodes) { + return managementNodes(List.of(managementNodes)); + } + @CustomType.Setter + public Builder mgmtVipHostname(@Nullable String mgmtVipHostname) { + this.mgmtVipHostname = mgmtVipHostname; + return this; + } + @CustomType.Setter + public Builder mgmtVipIp(@Nullable String mgmtVipIp) { + this.mgmtVipIp = mgmtVipIp; + return this; + } + @CustomType.Setter + public Builder spineIps(@Nullable List spineIps) { + this.spineIps = spineIps; + return this; + } + public Builder spineIps(String... spineIps) { + return spineIps(List.of(spineIps)); + } + @CustomType.Setter + public Builder spineVip(@Nullable String spineVip) { + this.spineVip = spineVip; + return this; + } + @CustomType.Setter + public Builder uplinkDomain(@Nullable String uplinkDomain) { + this.uplinkDomain = uplinkDomain; + return this; + } + @CustomType.Setter + public Builder uplinkGatewayIp(@Nullable String uplinkGatewayIp) { + this.uplinkGatewayIp = uplinkGatewayIp; + return this; + } + @CustomType.Setter + public Builder uplinkNetmask(@Nullable String uplinkNetmask) { + this.uplinkNetmask = uplinkNetmask; + return this; + } + @CustomType.Setter + public Builder uplinkPortCount(@Nullable Integer uplinkPortCount) { + this.uplinkPortCount = uplinkPortCount; + return this; + } + @CustomType.Setter + public Builder uplinkPortForwardErrorCorrection(@Nullable String uplinkPortForwardErrorCorrection) { + this.uplinkPortForwardErrorCorrection = uplinkPortForwardErrorCorrection; + return this; + } + @CustomType.Setter + public Builder uplinkPortSpeedInGbps(@Nullable Integer uplinkPortSpeedInGbps) { + this.uplinkPortSpeedInGbps = uplinkPortSpeedInGbps; + return this; + } + @CustomType.Setter + public Builder uplinkVlanMtu(@Nullable Integer uplinkVlanMtu) { + this.uplinkVlanMtu = uplinkVlanMtu; + return this; + } + public AtCustomerCccInfrastructureInfrastructureNetworkConfiguration build() { + final var o = new AtCustomerCccInfrastructureInfrastructureNetworkConfiguration(); + o.dnsIps = dnsIps; + o.infrastructureRoutingDynamics = infrastructureRoutingDynamics; + o.infrastructureRoutingStatics = infrastructureRoutingStatics; + o.managementNodes = managementNodes; + o.mgmtVipHostname = mgmtVipHostname; + o.mgmtVipIp = mgmtVipIp; + o.spineIps = spineIps; + o.spineVip = spineVip; + o.uplinkDomain = uplinkDomain; + o.uplinkGatewayIp = uplinkGatewayIp; + o.uplinkNetmask = uplinkNetmask; + o.uplinkPortCount = uplinkPortCount; + o.uplinkPortForwardErrorCorrection = uplinkPortForwardErrorCorrection; + o.uplinkPortSpeedInGbps = uplinkPortSpeedInGbps; + o.uplinkVlanMtu = uplinkVlanMtu; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic.java b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic.java new file mode 100644 index 0000000000..07cafe04d9 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic.java @@ -0,0 +1,102 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.ComputeCloud.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.oci.ComputeCloud.outputs.AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic { + /** + * @return The topology in use for the Border Gateway Protocol (BGP) configuration. + * + */ + private @Nullable String bgpTopology; + /** + * @return The Oracle Autonomous System Number (ASN) to control routing and exchange information within the dynamic routing configuration. + * + */ + private @Nullable Integer oracleAsn; + /** + * @return The list of peer devices in the dynamic routing configuration. + * + */ + private @Nullable List peerInformations; + + private AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic() {} + /** + * @return The topology in use for the Border Gateway Protocol (BGP) configuration. + * + */ + public Optional bgpTopology() { + return Optional.ofNullable(this.bgpTopology); + } + /** + * @return The Oracle Autonomous System Number (ASN) to control routing and exchange information within the dynamic routing configuration. + * + */ + public Optional oracleAsn() { + return Optional.ofNullable(this.oracleAsn); + } + /** + * @return The list of peer devices in the dynamic routing configuration. + * + */ + public List peerInformations() { + return this.peerInformations == null ? List.of() : this.peerInformations; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String bgpTopology; + private @Nullable Integer oracleAsn; + private @Nullable List peerInformations; + public Builder() {} + public Builder(AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic defaults) { + Objects.requireNonNull(defaults); + this.bgpTopology = defaults.bgpTopology; + this.oracleAsn = defaults.oracleAsn; + this.peerInformations = defaults.peerInformations; + } + + @CustomType.Setter + public Builder bgpTopology(@Nullable String bgpTopology) { + this.bgpTopology = bgpTopology; + return this; + } + @CustomType.Setter + public Builder oracleAsn(@Nullable Integer oracleAsn) { + this.oracleAsn = oracleAsn; + return this; + } + @CustomType.Setter + public Builder peerInformations(@Nullable List peerInformations) { + this.peerInformations = peerInformations; + return this; + } + public Builder peerInformations(AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation... peerInformations) { + return peerInformations(List.of(peerInformations)); + } + public AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic build() { + final var o = new AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic(); + o.bgpTopology = bgpTopology; + o.oracleAsn = oracleAsn; + o.peerInformations = peerInformations; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation.java b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation.java new file mode 100644 index 0000000000..4ac963cfab --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation.java @@ -0,0 +1,77 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.ComputeCloud.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.Integer; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation { + /** + * @return The Autonomous System Number (ASN) of the peer network. + * + */ + private @Nullable Integer asn; + /** + * @return Address of the management node. + * + */ + private @Nullable String ip; + + private AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation() {} + /** + * @return The Autonomous System Number (ASN) of the peer network. + * + */ + public Optional asn() { + return Optional.ofNullable(this.asn); + } + /** + * @return Address of the management node. + * + */ + public Optional ip() { + return Optional.ofNullable(this.ip); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable Integer asn; + private @Nullable String ip; + public Builder() {} + public Builder(AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation defaults) { + Objects.requireNonNull(defaults); + this.asn = defaults.asn; + this.ip = defaults.ip; + } + + @CustomType.Setter + public Builder asn(@Nullable Integer asn) { + this.asn = asn; + return this; + } + @CustomType.Setter + public Builder ip(@Nullable String ip) { + this.ip = ip; + return this; + } + public AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation build() { + final var o = new AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation(); + o.asn = asn; + o.ip = ip; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic.java b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic.java new file mode 100644 index 0000000000..63fa6ca090 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic.java @@ -0,0 +1,76 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.ComputeCloud.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.Integer; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic { + /** + * @return The uplink Hot Standby Router Protocol (HSRP) group value for the switch in the Compute Cloud@Customer infrastructure. + * + */ + private @Nullable Integer uplinkHsrpGroup; + /** + * @return The virtual local area network (VLAN) identifier used to connect to the uplink (only access mode is supported). + * + */ + private @Nullable Integer uplinkVlan; + + private AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic() {} + /** + * @return The uplink Hot Standby Router Protocol (HSRP) group value for the switch in the Compute Cloud@Customer infrastructure. + * + */ + public Optional uplinkHsrpGroup() { + return Optional.ofNullable(this.uplinkHsrpGroup); + } + /** + * @return The virtual local area network (VLAN) identifier used to connect to the uplink (only access mode is supported). + * + */ + public Optional uplinkVlan() { + return Optional.ofNullable(this.uplinkVlan); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable Integer uplinkHsrpGroup; + private @Nullable Integer uplinkVlan; + public Builder() {} + public Builder(AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic defaults) { + Objects.requireNonNull(defaults); + this.uplinkHsrpGroup = defaults.uplinkHsrpGroup; + this.uplinkVlan = defaults.uplinkVlan; + } + + @CustomType.Setter + public Builder uplinkHsrpGroup(@Nullable Integer uplinkHsrpGroup) { + this.uplinkHsrpGroup = uplinkHsrpGroup; + return this; + } + @CustomType.Setter + public Builder uplinkVlan(@Nullable Integer uplinkVlan) { + this.uplinkVlan = uplinkVlan; + return this; + } + public AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic build() { + final var o = new AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic(); + o.uplinkHsrpGroup = uplinkHsrpGroup; + o.uplinkVlan = uplinkVlan; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode.java b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode.java new file mode 100644 index 0000000000..34335feaa8 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode.java @@ -0,0 +1,76 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.ComputeCloud.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode { + /** + * @return Hostname for interface to the management node. + * + */ + private @Nullable String hostname; + /** + * @return Address of the management node. + * + */ + private @Nullable String ip; + + private AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode() {} + /** + * @return Hostname for interface to the management node. + * + */ + public Optional hostname() { + return Optional.ofNullable(this.hostname); + } + /** + * @return Address of the management node. + * + */ + public Optional ip() { + return Optional.ofNullable(this.ip); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String hostname; + private @Nullable String ip; + public Builder() {} + public Builder(AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode defaults) { + Objects.requireNonNull(defaults); + this.hostname = defaults.hostname; + this.ip = defaults.ip; + } + + @CustomType.Setter + public Builder hostname(@Nullable String hostname) { + this.hostname = hostname; + return this; + } + @CustomType.Setter + public Builder ip(@Nullable String ip) { + this.ip = ip; + return this; + } + public AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode build() { + final var o = new AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode(); + o.hostname = hostname; + o.ip = ip; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/AtCustomerCccInfrastructureUpgradeInformation.java b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/AtCustomerCccInfrastructureUpgradeInformation.java new file mode 100644 index 0000000000..9991a2dc03 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/AtCustomerCccInfrastructureUpgradeInformation.java @@ -0,0 +1,117 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.ComputeCloud.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class AtCustomerCccInfrastructureUpgradeInformation { + /** + * @return The current version of software installed on the Compute Cloud@Customer infrastructure. + * + */ + private @Nullable String currentVersion; + /** + * @return Indication that the Compute Cloud@Customer infrastructure is in the process of an upgrade or an upgrade activity (such as preloading upgrade images). + * + */ + private @Nullable Boolean isActive; + /** + * @return Expected duration of Compute Cloud@Customer infrastructure scheduled upgrade. The actual upgrade time might be longer or shorter than this duration depending on rack activity, this is only an estimate. + * + */ + private @Nullable String scheduledUpgradeDuration; + /** + * @return Compute Cloud@Customer infrastructure next upgrade time. The rack might have performance impacts during this time. + * + */ + private @Nullable String timeOfScheduledUpgrade; + + private AtCustomerCccInfrastructureUpgradeInformation() {} + /** + * @return The current version of software installed on the Compute Cloud@Customer infrastructure. + * + */ + public Optional currentVersion() { + return Optional.ofNullable(this.currentVersion); + } + /** + * @return Indication that the Compute Cloud@Customer infrastructure is in the process of an upgrade or an upgrade activity (such as preloading upgrade images). + * + */ + public Optional isActive() { + return Optional.ofNullable(this.isActive); + } + /** + * @return Expected duration of Compute Cloud@Customer infrastructure scheduled upgrade. The actual upgrade time might be longer or shorter than this duration depending on rack activity, this is only an estimate. + * + */ + public Optional scheduledUpgradeDuration() { + return Optional.ofNullable(this.scheduledUpgradeDuration); + } + /** + * @return Compute Cloud@Customer infrastructure next upgrade time. The rack might have performance impacts during this time. + * + */ + public Optional timeOfScheduledUpgrade() { + return Optional.ofNullable(this.timeOfScheduledUpgrade); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(AtCustomerCccInfrastructureUpgradeInformation defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String currentVersion; + private @Nullable Boolean isActive; + private @Nullable String scheduledUpgradeDuration; + private @Nullable String timeOfScheduledUpgrade; + public Builder() {} + public Builder(AtCustomerCccInfrastructureUpgradeInformation defaults) { + Objects.requireNonNull(defaults); + this.currentVersion = defaults.currentVersion; + this.isActive = defaults.isActive; + this.scheduledUpgradeDuration = defaults.scheduledUpgradeDuration; + this.timeOfScheduledUpgrade = defaults.timeOfScheduledUpgrade; + } + + @CustomType.Setter + public Builder currentVersion(@Nullable String currentVersion) { + this.currentVersion = currentVersion; + return this; + } + @CustomType.Setter + public Builder isActive(@Nullable Boolean isActive) { + this.isActive = isActive; + return this; + } + @CustomType.Setter + public Builder scheduledUpgradeDuration(@Nullable String scheduledUpgradeDuration) { + this.scheduledUpgradeDuration = scheduledUpgradeDuration; + return this; + } + @CustomType.Setter + public Builder timeOfScheduledUpgrade(@Nullable String timeOfScheduledUpgrade) { + this.timeOfScheduledUpgrade = timeOfScheduledUpgrade; + return this; + } + public AtCustomerCccInfrastructureUpgradeInformation build() { + final var o = new AtCustomerCccInfrastructureUpgradeInformation(); + o.currentVersion = currentVersion; + o.isActive = isActive; + o.scheduledUpgradeDuration = scheduledUpgradeDuration; + o.timeOfScheduledUpgrade = timeOfScheduledUpgrade; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/AtCustomerCccUpgradeScheduleEvent.java b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/AtCustomerCccUpgradeScheduleEvent.java new file mode 100644 index 0000000000..2396949d0e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/AtCustomerCccUpgradeScheduleEvent.java @@ -0,0 +1,136 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.ComputeCloud.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class AtCustomerCccUpgradeScheduleEvent { + /** + * @return (Updatable) A description of the Compute Cloud@Customer upgrade schedule time block. + * + */ + private String description; + /** + * @return Generated name associated with the event. + * + */ + private @Nullable String name; + /** + * @return (Updatable) The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations. + * + */ + private String scheduleEventDuration; + /** + * @return (Updatable) Frequency of recurrence of schedule block. When this field is not included, the event is assumed to be a one time occurrence. The frequency field is strictly parsed and must conform to RFC-5545 formatting for recurrences. + * + */ + private @Nullable String scheduleEventRecurrences; + /** + * @return (Updatable) The date and time when the Compute Cloud@Customer upgrade schedule event starts, inclusive. An RFC3339 formatted UTC datetime string. For an event with recurrences, this is the date that a recurrence can start being applied. + * + */ + private String timeStart; + + private AtCustomerCccUpgradeScheduleEvent() {} + /** + * @return (Updatable) A description of the Compute Cloud@Customer upgrade schedule time block. + * + */ + public String description() { + return this.description; + } + /** + * @return Generated name associated with the event. + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + /** + * @return (Updatable) The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations. + * + */ + public String scheduleEventDuration() { + return this.scheduleEventDuration; + } + /** + * @return (Updatable) Frequency of recurrence of schedule block. When this field is not included, the event is assumed to be a one time occurrence. The frequency field is strictly parsed and must conform to RFC-5545 formatting for recurrences. + * + */ + public Optional scheduleEventRecurrences() { + return Optional.ofNullable(this.scheduleEventRecurrences); + } + /** + * @return (Updatable) The date and time when the Compute Cloud@Customer upgrade schedule event starts, inclusive. An RFC3339 formatted UTC datetime string. For an event with recurrences, this is the date that a recurrence can start being applied. + * + */ + public String timeStart() { + return this.timeStart; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(AtCustomerCccUpgradeScheduleEvent defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String description; + private @Nullable String name; + private String scheduleEventDuration; + private @Nullable String scheduleEventRecurrences; + private String timeStart; + public Builder() {} + public Builder(AtCustomerCccUpgradeScheduleEvent defaults) { + Objects.requireNonNull(defaults); + this.description = defaults.description; + this.name = defaults.name; + this.scheduleEventDuration = defaults.scheduleEventDuration; + this.scheduleEventRecurrences = defaults.scheduleEventRecurrences; + this.timeStart = defaults.timeStart; + } + + @CustomType.Setter + public Builder description(String description) { + this.description = Objects.requireNonNull(description); + return this; + } + @CustomType.Setter + public Builder name(@Nullable String name) { + this.name = name; + return this; + } + @CustomType.Setter + public Builder scheduleEventDuration(String scheduleEventDuration) { + this.scheduleEventDuration = Objects.requireNonNull(scheduleEventDuration); + return this; + } + @CustomType.Setter + public Builder scheduleEventRecurrences(@Nullable String scheduleEventRecurrences) { + this.scheduleEventRecurrences = scheduleEventRecurrences; + return this; + } + @CustomType.Setter + public Builder timeStart(String timeStart) { + this.timeStart = Objects.requireNonNull(timeStart); + return this; + } + public AtCustomerCccUpgradeScheduleEvent build() { + final var o = new AtCustomerCccUpgradeScheduleEvent(); + o.description = description; + o.name = name; + o.scheduleEventDuration = scheduleEventDuration; + o.scheduleEventRecurrences = scheduleEventRecurrences; + o.timeStart = timeStart; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccInfrastructureInfrastructureInventory.java b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccInfrastructureInfrastructureInventory.java new file mode 100644 index 0000000000..8dc0810b57 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccInfrastructureInfrastructureInventory.java @@ -0,0 +1,135 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.ComputeCloud.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.Integer; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetAtCustomerCccInfrastructureInfrastructureInventory { + /** + * @return The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for capacity storage. + * + */ + private Integer capacityStorageTrayCount; + /** + * @return The number of compute nodes that are available and usable on the Compute Cloud@Customer infrastructure rack. There is no distinction of compute node type in this information. + * + */ + private Integer computeNodeCount; + /** + * @return The number of management nodes that are available and in active use on the Compute Cloud@Customer infrastructure rack. + * + */ + private Integer managementNodeCount; + /** + * @return The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for performance storage. + * + */ + private Integer performanceStorageTrayCount; + /** + * @return The serial number of the Compute Cloud@Customer infrastructure rack. + * + */ + private String serialNumber; + + private GetAtCustomerCccInfrastructureInfrastructureInventory() {} + /** + * @return The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for capacity storage. + * + */ + public Integer capacityStorageTrayCount() { + return this.capacityStorageTrayCount; + } + /** + * @return The number of compute nodes that are available and usable on the Compute Cloud@Customer infrastructure rack. There is no distinction of compute node type in this information. + * + */ + public Integer computeNodeCount() { + return this.computeNodeCount; + } + /** + * @return The number of management nodes that are available and in active use on the Compute Cloud@Customer infrastructure rack. + * + */ + public Integer managementNodeCount() { + return this.managementNodeCount; + } + /** + * @return The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for performance storage. + * + */ + public Integer performanceStorageTrayCount() { + return this.performanceStorageTrayCount; + } + /** + * @return The serial number of the Compute Cloud@Customer infrastructure rack. + * + */ + public String serialNumber() { + return this.serialNumber; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAtCustomerCccInfrastructureInfrastructureInventory defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private Integer capacityStorageTrayCount; + private Integer computeNodeCount; + private Integer managementNodeCount; + private Integer performanceStorageTrayCount; + private String serialNumber; + public Builder() {} + public Builder(GetAtCustomerCccInfrastructureInfrastructureInventory defaults) { + Objects.requireNonNull(defaults); + this.capacityStorageTrayCount = defaults.capacityStorageTrayCount; + this.computeNodeCount = defaults.computeNodeCount; + this.managementNodeCount = defaults.managementNodeCount; + this.performanceStorageTrayCount = defaults.performanceStorageTrayCount; + this.serialNumber = defaults.serialNumber; + } + + @CustomType.Setter + public Builder capacityStorageTrayCount(Integer capacityStorageTrayCount) { + this.capacityStorageTrayCount = Objects.requireNonNull(capacityStorageTrayCount); + return this; + } + @CustomType.Setter + public Builder computeNodeCount(Integer computeNodeCount) { + this.computeNodeCount = Objects.requireNonNull(computeNodeCount); + return this; + } + @CustomType.Setter + public Builder managementNodeCount(Integer managementNodeCount) { + this.managementNodeCount = Objects.requireNonNull(managementNodeCount); + return this; + } + @CustomType.Setter + public Builder performanceStorageTrayCount(Integer performanceStorageTrayCount) { + this.performanceStorageTrayCount = Objects.requireNonNull(performanceStorageTrayCount); + return this; + } + @CustomType.Setter + public Builder serialNumber(String serialNumber) { + this.serialNumber = Objects.requireNonNull(serialNumber); + return this; + } + public GetAtCustomerCccInfrastructureInfrastructureInventory build() { + final var o = new GetAtCustomerCccInfrastructureInfrastructureInventory(); + o.capacityStorageTrayCount = capacityStorageTrayCount; + o.computeNodeCount = computeNodeCount; + o.managementNodeCount = managementNodeCount; + o.performanceStorageTrayCount = performanceStorageTrayCount; + o.serialNumber = serialNumber; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccInfrastructureInfrastructureNetworkConfiguration.java b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccInfrastructureInfrastructureNetworkConfiguration.java new file mode 100644 index 0000000000..5cae7ba2b5 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccInfrastructureInfrastructureNetworkConfiguration.java @@ -0,0 +1,354 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.ComputeCloud.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.oci.ComputeCloud.outputs.GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic; +import com.pulumi.oci.ComputeCloud.outputs.GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic; +import com.pulumi.oci.ComputeCloud.outputs.GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetAtCustomerCccInfrastructureInfrastructureNetworkConfiguration { + /** + * @return The domain name system (DNS) addresses that the Compute Cloud@Customer infrastructure uses for the data center network. + * + */ + private List dnsIps; + /** + * @return Dynamic routing information for the Compute Cloud@Customer infrastructure. + * + */ + private List infrastructureRoutingDynamics; + /** + * @return Static routing information for a rack. + * + */ + private List infrastructureRoutingStatics; + /** + * @return Information about the management nodes that are provisioned in the Compute Cloud@Customer infrastructure. + * + */ + private List managementNodes; + /** + * @return The hostname corresponding to the virtual IP (VIP) address of the management nodes. + * + */ + private String mgmtVipHostname; + /** + * @return The IP address used as the virtual IP (VIP) address of the management nodes. + * + */ + private String mgmtVipIp; + /** + * @return Addresses of the network spine switches. + * + */ + private List spineIps; + /** + * @return The spine switch public virtual IP (VIP). Traffic routed to the Compute Cloud@Customer infrastructure and and virtual cloud networks (VCNs) should have this address as next hop. + * + */ + private String spineVip; + /** + * @return Domain name to be used as the base domain for the internal network and by public facing services. + * + */ + private String uplinkDomain; + /** + * @return Uplink gateway in the datacenter network that the Compute Cloud@Customer connects to. + * + */ + private String uplinkGatewayIp; + /** + * @return Netmask of the subnet that the Compute Cloud@Customer infrastructure is connected to. + * + */ + private String uplinkNetmask; + /** + * @return Number of uplink ports per spine switch. Connectivity is identical on both spine switches. For example, if input is two 100 gigabyte ports; then port-1 and port-2 on both spines will be configured. + * + */ + private Integer uplinkPortCount; + /** + * @return The port forward error correction (FEC) setting for the uplink port on the Compute Cloud@Customer infrastructure. + * + */ + private String uplinkPortForwardErrorCorrection; + /** + * @return Uplink port speed defined in gigabytes per second. All uplink ports must have identical speed. + * + */ + private Integer uplinkPortSpeedInGbps; + /** + * @return The virtual local area network (VLAN) maximum transmission unit (MTU) size for the uplink ports. + * + */ + private Integer uplinkVlanMtu; + + private GetAtCustomerCccInfrastructureInfrastructureNetworkConfiguration() {} + /** + * @return The domain name system (DNS) addresses that the Compute Cloud@Customer infrastructure uses for the data center network. + * + */ + public List dnsIps() { + return this.dnsIps; + } + /** + * @return Dynamic routing information for the Compute Cloud@Customer infrastructure. + * + */ + public List infrastructureRoutingDynamics() { + return this.infrastructureRoutingDynamics; + } + /** + * @return Static routing information for a rack. + * + */ + public List infrastructureRoutingStatics() { + return this.infrastructureRoutingStatics; + } + /** + * @return Information about the management nodes that are provisioned in the Compute Cloud@Customer infrastructure. + * + */ + public List managementNodes() { + return this.managementNodes; + } + /** + * @return The hostname corresponding to the virtual IP (VIP) address of the management nodes. + * + */ + public String mgmtVipHostname() { + return this.mgmtVipHostname; + } + /** + * @return The IP address used as the virtual IP (VIP) address of the management nodes. + * + */ + public String mgmtVipIp() { + return this.mgmtVipIp; + } + /** + * @return Addresses of the network spine switches. + * + */ + public List spineIps() { + return this.spineIps; + } + /** + * @return The spine switch public virtual IP (VIP). Traffic routed to the Compute Cloud@Customer infrastructure and and virtual cloud networks (VCNs) should have this address as next hop. + * + */ + public String spineVip() { + return this.spineVip; + } + /** + * @return Domain name to be used as the base domain for the internal network and by public facing services. + * + */ + public String uplinkDomain() { + return this.uplinkDomain; + } + /** + * @return Uplink gateway in the datacenter network that the Compute Cloud@Customer connects to. + * + */ + public String uplinkGatewayIp() { + return this.uplinkGatewayIp; + } + /** + * @return Netmask of the subnet that the Compute Cloud@Customer infrastructure is connected to. + * + */ + public String uplinkNetmask() { + return this.uplinkNetmask; + } + /** + * @return Number of uplink ports per spine switch. Connectivity is identical on both spine switches. For example, if input is two 100 gigabyte ports; then port-1 and port-2 on both spines will be configured. + * + */ + public Integer uplinkPortCount() { + return this.uplinkPortCount; + } + /** + * @return The port forward error correction (FEC) setting for the uplink port on the Compute Cloud@Customer infrastructure. + * + */ + public String uplinkPortForwardErrorCorrection() { + return this.uplinkPortForwardErrorCorrection; + } + /** + * @return Uplink port speed defined in gigabytes per second. All uplink ports must have identical speed. + * + */ + public Integer uplinkPortSpeedInGbps() { + return this.uplinkPortSpeedInGbps; + } + /** + * @return The virtual local area network (VLAN) maximum transmission unit (MTU) size for the uplink ports. + * + */ + public Integer uplinkVlanMtu() { + return this.uplinkVlanMtu; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAtCustomerCccInfrastructureInfrastructureNetworkConfiguration defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List dnsIps; + private List infrastructureRoutingDynamics; + private List infrastructureRoutingStatics; + private List managementNodes; + private String mgmtVipHostname; + private String mgmtVipIp; + private List spineIps; + private String spineVip; + private String uplinkDomain; + private String uplinkGatewayIp; + private String uplinkNetmask; + private Integer uplinkPortCount; + private String uplinkPortForwardErrorCorrection; + private Integer uplinkPortSpeedInGbps; + private Integer uplinkVlanMtu; + public Builder() {} + public Builder(GetAtCustomerCccInfrastructureInfrastructureNetworkConfiguration defaults) { + Objects.requireNonNull(defaults); + this.dnsIps = defaults.dnsIps; + this.infrastructureRoutingDynamics = defaults.infrastructureRoutingDynamics; + this.infrastructureRoutingStatics = defaults.infrastructureRoutingStatics; + this.managementNodes = defaults.managementNodes; + this.mgmtVipHostname = defaults.mgmtVipHostname; + this.mgmtVipIp = defaults.mgmtVipIp; + this.spineIps = defaults.spineIps; + this.spineVip = defaults.spineVip; + this.uplinkDomain = defaults.uplinkDomain; + this.uplinkGatewayIp = defaults.uplinkGatewayIp; + this.uplinkNetmask = defaults.uplinkNetmask; + this.uplinkPortCount = defaults.uplinkPortCount; + this.uplinkPortForwardErrorCorrection = defaults.uplinkPortForwardErrorCorrection; + this.uplinkPortSpeedInGbps = defaults.uplinkPortSpeedInGbps; + this.uplinkVlanMtu = defaults.uplinkVlanMtu; + } + + @CustomType.Setter + public Builder dnsIps(List dnsIps) { + this.dnsIps = Objects.requireNonNull(dnsIps); + return this; + } + public Builder dnsIps(String... dnsIps) { + return dnsIps(List.of(dnsIps)); + } + @CustomType.Setter + public Builder infrastructureRoutingDynamics(List infrastructureRoutingDynamics) { + this.infrastructureRoutingDynamics = Objects.requireNonNull(infrastructureRoutingDynamics); + return this; + } + public Builder infrastructureRoutingDynamics(GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic... infrastructureRoutingDynamics) { + return infrastructureRoutingDynamics(List.of(infrastructureRoutingDynamics)); + } + @CustomType.Setter + public Builder infrastructureRoutingStatics(List infrastructureRoutingStatics) { + this.infrastructureRoutingStatics = Objects.requireNonNull(infrastructureRoutingStatics); + return this; + } + public Builder infrastructureRoutingStatics(GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic... infrastructureRoutingStatics) { + return infrastructureRoutingStatics(List.of(infrastructureRoutingStatics)); + } + @CustomType.Setter + public Builder managementNodes(List managementNodes) { + this.managementNodes = Objects.requireNonNull(managementNodes); + return this; + } + public Builder managementNodes(GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode... managementNodes) { + return managementNodes(List.of(managementNodes)); + } + @CustomType.Setter + public Builder mgmtVipHostname(String mgmtVipHostname) { + this.mgmtVipHostname = Objects.requireNonNull(mgmtVipHostname); + return this; + } + @CustomType.Setter + public Builder mgmtVipIp(String mgmtVipIp) { + this.mgmtVipIp = Objects.requireNonNull(mgmtVipIp); + return this; + } + @CustomType.Setter + public Builder spineIps(List spineIps) { + this.spineIps = Objects.requireNonNull(spineIps); + return this; + } + public Builder spineIps(String... spineIps) { + return spineIps(List.of(spineIps)); + } + @CustomType.Setter + public Builder spineVip(String spineVip) { + this.spineVip = Objects.requireNonNull(spineVip); + return this; + } + @CustomType.Setter + public Builder uplinkDomain(String uplinkDomain) { + this.uplinkDomain = Objects.requireNonNull(uplinkDomain); + return this; + } + @CustomType.Setter + public Builder uplinkGatewayIp(String uplinkGatewayIp) { + this.uplinkGatewayIp = Objects.requireNonNull(uplinkGatewayIp); + return this; + } + @CustomType.Setter + public Builder uplinkNetmask(String uplinkNetmask) { + this.uplinkNetmask = Objects.requireNonNull(uplinkNetmask); + return this; + } + @CustomType.Setter + public Builder uplinkPortCount(Integer uplinkPortCount) { + this.uplinkPortCount = Objects.requireNonNull(uplinkPortCount); + return this; + } + @CustomType.Setter + public Builder uplinkPortForwardErrorCorrection(String uplinkPortForwardErrorCorrection) { + this.uplinkPortForwardErrorCorrection = Objects.requireNonNull(uplinkPortForwardErrorCorrection); + return this; + } + @CustomType.Setter + public Builder uplinkPortSpeedInGbps(Integer uplinkPortSpeedInGbps) { + this.uplinkPortSpeedInGbps = Objects.requireNonNull(uplinkPortSpeedInGbps); + return this; + } + @CustomType.Setter + public Builder uplinkVlanMtu(Integer uplinkVlanMtu) { + this.uplinkVlanMtu = Objects.requireNonNull(uplinkVlanMtu); + return this; + } + public GetAtCustomerCccInfrastructureInfrastructureNetworkConfiguration build() { + final var o = new GetAtCustomerCccInfrastructureInfrastructureNetworkConfiguration(); + o.dnsIps = dnsIps; + o.infrastructureRoutingDynamics = infrastructureRoutingDynamics; + o.infrastructureRoutingStatics = infrastructureRoutingStatics; + o.managementNodes = managementNodes; + o.mgmtVipHostname = mgmtVipHostname; + o.mgmtVipIp = mgmtVipIp; + o.spineIps = spineIps; + o.spineVip = spineVip; + o.uplinkDomain = uplinkDomain; + o.uplinkGatewayIp = uplinkGatewayIp; + o.uplinkNetmask = uplinkNetmask; + o.uplinkPortCount = uplinkPortCount; + o.uplinkPortForwardErrorCorrection = uplinkPortForwardErrorCorrection; + o.uplinkPortSpeedInGbps = uplinkPortSpeedInGbps; + o.uplinkVlanMtu = uplinkVlanMtu; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic.java b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic.java new file mode 100644 index 0000000000..42f8020389 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic.java @@ -0,0 +1,100 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.ComputeCloud.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.oci.ComputeCloud.outputs.GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic { + /** + * @return The topology in use for the Border Gateway Protocol (BGP) configuration. + * + */ + private String bgpTopology; + /** + * @return The Oracle Autonomous System Number (ASN) to control routing and exchange information within the dynamic routing configuration. + * + */ + private Integer oracleAsn; + /** + * @return The list of peer devices in the dynamic routing configuration. + * + */ + private List peerInformations; + + private GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic() {} + /** + * @return The topology in use for the Border Gateway Protocol (BGP) configuration. + * + */ + public String bgpTopology() { + return this.bgpTopology; + } + /** + * @return The Oracle Autonomous System Number (ASN) to control routing and exchange information within the dynamic routing configuration. + * + */ + public Integer oracleAsn() { + return this.oracleAsn; + } + /** + * @return The list of peer devices in the dynamic routing configuration. + * + */ + public List peerInformations() { + return this.peerInformations; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String bgpTopology; + private Integer oracleAsn; + private List peerInformations; + public Builder() {} + public Builder(GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic defaults) { + Objects.requireNonNull(defaults); + this.bgpTopology = defaults.bgpTopology; + this.oracleAsn = defaults.oracleAsn; + this.peerInformations = defaults.peerInformations; + } + + @CustomType.Setter + public Builder bgpTopology(String bgpTopology) { + this.bgpTopology = Objects.requireNonNull(bgpTopology); + return this; + } + @CustomType.Setter + public Builder oracleAsn(Integer oracleAsn) { + this.oracleAsn = Objects.requireNonNull(oracleAsn); + return this; + } + @CustomType.Setter + public Builder peerInformations(List peerInformations) { + this.peerInformations = Objects.requireNonNull(peerInformations); + return this; + } + public Builder peerInformations(GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation... peerInformations) { + return peerInformations(List.of(peerInformations)); + } + public GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic build() { + final var o = new GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic(); + o.bgpTopology = bgpTopology; + o.oracleAsn = oracleAsn; + o.peerInformations = peerInformations; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation.java b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation.java new file mode 100644 index 0000000000..e8afe86d0a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation.java @@ -0,0 +1,75 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.ComputeCloud.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.Integer; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation { + /** + * @return The Autonomous System Number (ASN) of the peer network. + * + */ + private Integer asn; + /** + * @return Address of the management node. + * + */ + private String ip; + + private GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation() {} + /** + * @return The Autonomous System Number (ASN) of the peer network. + * + */ + public Integer asn() { + return this.asn; + } + /** + * @return Address of the management node. + * + */ + public String ip() { + return this.ip; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private Integer asn; + private String ip; + public Builder() {} + public Builder(GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation defaults) { + Objects.requireNonNull(defaults); + this.asn = defaults.asn; + this.ip = defaults.ip; + } + + @CustomType.Setter + public Builder asn(Integer asn) { + this.asn = Objects.requireNonNull(asn); + return this; + } + @CustomType.Setter + public Builder ip(String ip) { + this.ip = Objects.requireNonNull(ip); + return this; + } + public GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation build() { + final var o = new GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation(); + o.asn = asn; + o.ip = ip; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic.java b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic.java new file mode 100644 index 0000000000..dc352154ac --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic.java @@ -0,0 +1,74 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.ComputeCloud.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.Integer; +import java.util.Objects; + +@CustomType +public final class GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic { + /** + * @return The uplink Hot Standby Router Protocol (HSRP) group value for the switch in the Compute Cloud@Customer infrastructure. + * + */ + private Integer uplinkHsrpGroup; + /** + * @return The virtual local area network (VLAN) identifier used to connect to the uplink (only access mode is supported). + * + */ + private Integer uplinkVlan; + + private GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic() {} + /** + * @return The uplink Hot Standby Router Protocol (HSRP) group value for the switch in the Compute Cloud@Customer infrastructure. + * + */ + public Integer uplinkHsrpGroup() { + return this.uplinkHsrpGroup; + } + /** + * @return The virtual local area network (VLAN) identifier used to connect to the uplink (only access mode is supported). + * + */ + public Integer uplinkVlan() { + return this.uplinkVlan; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private Integer uplinkHsrpGroup; + private Integer uplinkVlan; + public Builder() {} + public Builder(GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic defaults) { + Objects.requireNonNull(defaults); + this.uplinkHsrpGroup = defaults.uplinkHsrpGroup; + this.uplinkVlan = defaults.uplinkVlan; + } + + @CustomType.Setter + public Builder uplinkHsrpGroup(Integer uplinkHsrpGroup) { + this.uplinkHsrpGroup = Objects.requireNonNull(uplinkHsrpGroup); + return this; + } + @CustomType.Setter + public Builder uplinkVlan(Integer uplinkVlan) { + this.uplinkVlan = Objects.requireNonNull(uplinkVlan); + return this; + } + public GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic build() { + final var o = new GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic(); + o.uplinkHsrpGroup = uplinkHsrpGroup; + o.uplinkVlan = uplinkVlan; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode.java b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode.java new file mode 100644 index 0000000000..1089120c5f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode.java @@ -0,0 +1,74 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.ComputeCloud.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode { + /** + * @return Hostname for interface to the management node. + * + */ + private String hostname; + /** + * @return Address of the management node. + * + */ + private String ip; + + private GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode() {} + /** + * @return Hostname for interface to the management node. + * + */ + public String hostname() { + return this.hostname; + } + /** + * @return Address of the management node. + * + */ + public String ip() { + return this.ip; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String hostname; + private String ip; + public Builder() {} + public Builder(GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode defaults) { + Objects.requireNonNull(defaults); + this.hostname = defaults.hostname; + this.ip = defaults.ip; + } + + @CustomType.Setter + public Builder hostname(String hostname) { + this.hostname = Objects.requireNonNull(hostname); + return this; + } + @CustomType.Setter + public Builder ip(String ip) { + this.ip = Objects.requireNonNull(ip); + return this; + } + public GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode build() { + final var o = new GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode(); + o.hostname = hostname; + o.ip = ip; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccInfrastructureResult.java b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccInfrastructureResult.java new file mode 100644 index 0000000000..b04c7ef8e8 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccInfrastructureResult.java @@ -0,0 +1,481 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.ComputeCloud.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.oci.ComputeCloud.outputs.GetAtCustomerCccInfrastructureInfrastructureInventory; +import com.pulumi.oci.ComputeCloud.outputs.GetAtCustomerCccInfrastructureInfrastructureNetworkConfiguration; +import com.pulumi.oci.ComputeCloud.outputs.GetAtCustomerCccInfrastructureUpgradeInformation; +import java.lang.Object; +import java.lang.String; +import java.util.List; +import java.util.Map; +import java.util.Objects; + +@CustomType +public final class GetAtCustomerCccInfrastructureResult { + private String cccInfrastructureId; + /** + * @return Schedule used for upgrades. If no schedule is associated with the infrastructure, it can be updated at any time. + * + */ + private String cccUpgradeScheduleId; + /** + * @return The infrastructure compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + * + */ + private String compartmentId; + /** + * @return A message describing the current connection state in more detail. + * + */ + private String connectionDetails; + /** + * @return The current connection state of the infrastructure. A user can only update it from REQUEST to READY or from any state back to REJECT. The system automatically handles the REJECT to REQUEST, READY to CONNECTED, or CONNECTED to DISCONNECTED transitions. + * + */ + private String connectionState; + /** + * @return Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + * + */ + private Map definedTags; + /** + * @return A mutable client-meaningful text description of the Compute Cloud@Customer infrastructure. Avoid entering confidential information. + * + */ + private String description; + /** + * @return The name that will be used to display the Compute Cloud@Customer infrastructure in the Oracle Cloud Infrastructure console. Does not have to be unique and can be changed. Avoid entering confidential information. + * + */ + private String displayName; + /** + * @return Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + * + */ + private Map freeformTags; + /** + * @return The Compute Cloud@Customer infrastructure [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). This cannot be changed once created. + * + */ + private String id; + /** + * @return Inventory for a Compute Cloud@Customer infrastructure. This information cannot be updated and is from the infrastructure. The information will only be available after the connectionState is transitioned to CONNECTED. + * + */ + private List infrastructureInventories; + /** + * @return Configuration information for the Compute Cloud@Customer infrastructure. This network configuration information cannot be updated and is retrieved from the data center. The information will only be available after the connectionState is transitioned to CONNECTED. + * + */ + private List infrastructureNetworkConfigurations; + /** + * @return A message describing the current lifecycle state in more detail. For example, this can be used to provide actionable information for a resource that is in a Failed state. + * + */ + private String lifecycleDetails; + /** + * @return Fingerprint of a Compute Cloud@Customer infrastructure in a data center generated during the initial connection to this resource. The fingerprint should be verified by the administrator when changing the connectionState from REQUEST to READY. + * + */ + private String provisioningFingerprint; + /** + * @return Code that is required for service personnel to connect a Compute Cloud@Customer infrastructure in a data center to this resource. This code will only be available when the connectionState is REJECT (usually at create time of the Compute Cloud@Customer infrastructure). + * + */ + private String provisioningPin; + /** + * @return The Compute Cloud@Customer infrastructure short name. This cannot be changed once created. The short name is used to refer to the infrastructure in several contexts and is unique. + * + */ + private String shortName; + /** + * @return The current state of the Compute Cloud@Customer infrastructure. + * + */ + private String state; + /** + * @return [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the network subnet that is used to communicate with Compute Cloud@Customer infrastructure. + * + */ + private String subnetId; + /** + * @return System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + * + */ + private Map systemTags; + /** + * @return Compute Cloud@Customer infrastructure creation date and time, using an RFC3339 formatted datetime string. + * + */ + private String timeCreated; + /** + * @return Compute Cloud@Customer infrastructure updated date and time, using an RFC3339 formatted datetime string. + * + */ + private String timeUpdated; + /** + * @return Upgrade information that relates to a Compute Cloud@Customer infrastructure. This information cannot be updated. + * + */ + private List upgradeInformations; + + private GetAtCustomerCccInfrastructureResult() {} + public String cccInfrastructureId() { + return this.cccInfrastructureId; + } + /** + * @return Schedule used for upgrades. If no schedule is associated with the infrastructure, it can be updated at any time. + * + */ + public String cccUpgradeScheduleId() { + return this.cccUpgradeScheduleId; + } + /** + * @return The infrastructure compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + * + */ + public String compartmentId() { + return this.compartmentId; + } + /** + * @return A message describing the current connection state in more detail. + * + */ + public String connectionDetails() { + return this.connectionDetails; + } + /** + * @return The current connection state of the infrastructure. A user can only update it from REQUEST to READY or from any state back to REJECT. The system automatically handles the REJECT to REQUEST, READY to CONNECTED, or CONNECTED to DISCONNECTED transitions. + * + */ + public String connectionState() { + return this.connectionState; + } + /** + * @return Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + * + */ + public Map definedTags() { + return this.definedTags; + } + /** + * @return A mutable client-meaningful text description of the Compute Cloud@Customer infrastructure. Avoid entering confidential information. + * + */ + public String description() { + return this.description; + } + /** + * @return The name that will be used to display the Compute Cloud@Customer infrastructure in the Oracle Cloud Infrastructure console. Does not have to be unique and can be changed. Avoid entering confidential information. + * + */ + public String displayName() { + return this.displayName; + } + /** + * @return Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + * + */ + public Map freeformTags() { + return this.freeformTags; + } + /** + * @return The Compute Cloud@Customer infrastructure [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). This cannot be changed once created. + * + */ + public String id() { + return this.id; + } + /** + * @return Inventory for a Compute Cloud@Customer infrastructure. This information cannot be updated and is from the infrastructure. The information will only be available after the connectionState is transitioned to CONNECTED. + * + */ + public List infrastructureInventories() { + return this.infrastructureInventories; + } + /** + * @return Configuration information for the Compute Cloud@Customer infrastructure. This network configuration information cannot be updated and is retrieved from the data center. The information will only be available after the connectionState is transitioned to CONNECTED. + * + */ + public List infrastructureNetworkConfigurations() { + return this.infrastructureNetworkConfigurations; + } + /** + * @return A message describing the current lifecycle state in more detail. For example, this can be used to provide actionable information for a resource that is in a Failed state. + * + */ + public String lifecycleDetails() { + return this.lifecycleDetails; + } + /** + * @return Fingerprint of a Compute Cloud@Customer infrastructure in a data center generated during the initial connection to this resource. The fingerprint should be verified by the administrator when changing the connectionState from REQUEST to READY. + * + */ + public String provisioningFingerprint() { + return this.provisioningFingerprint; + } + /** + * @return Code that is required for service personnel to connect a Compute Cloud@Customer infrastructure in a data center to this resource. This code will only be available when the connectionState is REJECT (usually at create time of the Compute Cloud@Customer infrastructure). + * + */ + public String provisioningPin() { + return this.provisioningPin; + } + /** + * @return The Compute Cloud@Customer infrastructure short name. This cannot be changed once created. The short name is used to refer to the infrastructure in several contexts and is unique. + * + */ + public String shortName() { + return this.shortName; + } + /** + * @return The current state of the Compute Cloud@Customer infrastructure. + * + */ + public String state() { + return this.state; + } + /** + * @return [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the network subnet that is used to communicate with Compute Cloud@Customer infrastructure. + * + */ + public String subnetId() { + return this.subnetId; + } + /** + * @return System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + * + */ + public Map systemTags() { + return this.systemTags; + } + /** + * @return Compute Cloud@Customer infrastructure creation date and time, using an RFC3339 formatted datetime string. + * + */ + public String timeCreated() { + return this.timeCreated; + } + /** + * @return Compute Cloud@Customer infrastructure updated date and time, using an RFC3339 formatted datetime string. + * + */ + public String timeUpdated() { + return this.timeUpdated; + } + /** + * @return Upgrade information that relates to a Compute Cloud@Customer infrastructure. This information cannot be updated. + * + */ + public List upgradeInformations() { + return this.upgradeInformations; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAtCustomerCccInfrastructureResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String cccInfrastructureId; + private String cccUpgradeScheduleId; + private String compartmentId; + private String connectionDetails; + private String connectionState; + private Map definedTags; + private String description; + private String displayName; + private Map freeformTags; + private String id; + private List infrastructureInventories; + private List infrastructureNetworkConfigurations; + private String lifecycleDetails; + private String provisioningFingerprint; + private String provisioningPin; + private String shortName; + private String state; + private String subnetId; + private Map systemTags; + private String timeCreated; + private String timeUpdated; + private List upgradeInformations; + public Builder() {} + public Builder(GetAtCustomerCccInfrastructureResult defaults) { + Objects.requireNonNull(defaults); + this.cccInfrastructureId = defaults.cccInfrastructureId; + this.cccUpgradeScheduleId = defaults.cccUpgradeScheduleId; + this.compartmentId = defaults.compartmentId; + this.connectionDetails = defaults.connectionDetails; + this.connectionState = defaults.connectionState; + this.definedTags = defaults.definedTags; + this.description = defaults.description; + this.displayName = defaults.displayName; + this.freeformTags = defaults.freeformTags; + this.id = defaults.id; + this.infrastructureInventories = defaults.infrastructureInventories; + this.infrastructureNetworkConfigurations = defaults.infrastructureNetworkConfigurations; + this.lifecycleDetails = defaults.lifecycleDetails; + this.provisioningFingerprint = defaults.provisioningFingerprint; + this.provisioningPin = defaults.provisioningPin; + this.shortName = defaults.shortName; + this.state = defaults.state; + this.subnetId = defaults.subnetId; + this.systemTags = defaults.systemTags; + this.timeCreated = defaults.timeCreated; + this.timeUpdated = defaults.timeUpdated; + this.upgradeInformations = defaults.upgradeInformations; + } + + @CustomType.Setter + public Builder cccInfrastructureId(String cccInfrastructureId) { + this.cccInfrastructureId = Objects.requireNonNull(cccInfrastructureId); + return this; + } + @CustomType.Setter + public Builder cccUpgradeScheduleId(String cccUpgradeScheduleId) { + this.cccUpgradeScheduleId = Objects.requireNonNull(cccUpgradeScheduleId); + return this; + } + @CustomType.Setter + public Builder compartmentId(String compartmentId) { + this.compartmentId = Objects.requireNonNull(compartmentId); + return this; + } + @CustomType.Setter + public Builder connectionDetails(String connectionDetails) { + this.connectionDetails = Objects.requireNonNull(connectionDetails); + return this; + } + @CustomType.Setter + public Builder connectionState(String connectionState) { + this.connectionState = Objects.requireNonNull(connectionState); + return this; + } + @CustomType.Setter + public Builder definedTags(Map definedTags) { + this.definedTags = Objects.requireNonNull(definedTags); + return this; + } + @CustomType.Setter + public Builder description(String description) { + this.description = Objects.requireNonNull(description); + return this; + } + @CustomType.Setter + public Builder displayName(String displayName) { + this.displayName = Objects.requireNonNull(displayName); + return this; + } + @CustomType.Setter + public Builder freeformTags(Map freeformTags) { + this.freeformTags = Objects.requireNonNull(freeformTags); + return this; + } + @CustomType.Setter + public Builder id(String id) { + this.id = Objects.requireNonNull(id); + return this; + } + @CustomType.Setter + public Builder infrastructureInventories(List infrastructureInventories) { + this.infrastructureInventories = Objects.requireNonNull(infrastructureInventories); + return this; + } + public Builder infrastructureInventories(GetAtCustomerCccInfrastructureInfrastructureInventory... infrastructureInventories) { + return infrastructureInventories(List.of(infrastructureInventories)); + } + @CustomType.Setter + public Builder infrastructureNetworkConfigurations(List infrastructureNetworkConfigurations) { + this.infrastructureNetworkConfigurations = Objects.requireNonNull(infrastructureNetworkConfigurations); + return this; + } + public Builder infrastructureNetworkConfigurations(GetAtCustomerCccInfrastructureInfrastructureNetworkConfiguration... infrastructureNetworkConfigurations) { + return infrastructureNetworkConfigurations(List.of(infrastructureNetworkConfigurations)); + } + @CustomType.Setter + public Builder lifecycleDetails(String lifecycleDetails) { + this.lifecycleDetails = Objects.requireNonNull(lifecycleDetails); + return this; + } + @CustomType.Setter + public Builder provisioningFingerprint(String provisioningFingerprint) { + this.provisioningFingerprint = Objects.requireNonNull(provisioningFingerprint); + return this; + } + @CustomType.Setter + public Builder provisioningPin(String provisioningPin) { + this.provisioningPin = Objects.requireNonNull(provisioningPin); + return this; + } + @CustomType.Setter + public Builder shortName(String shortName) { + this.shortName = Objects.requireNonNull(shortName); + return this; + } + @CustomType.Setter + public Builder state(String state) { + this.state = Objects.requireNonNull(state); + return this; + } + @CustomType.Setter + public Builder subnetId(String subnetId) { + this.subnetId = Objects.requireNonNull(subnetId); + return this; + } + @CustomType.Setter + public Builder systemTags(Map systemTags) { + this.systemTags = Objects.requireNonNull(systemTags); + return this; + } + @CustomType.Setter + public Builder timeCreated(String timeCreated) { + this.timeCreated = Objects.requireNonNull(timeCreated); + return this; + } + @CustomType.Setter + public Builder timeUpdated(String timeUpdated) { + this.timeUpdated = Objects.requireNonNull(timeUpdated); + return this; + } + @CustomType.Setter + public Builder upgradeInformations(List upgradeInformations) { + this.upgradeInformations = Objects.requireNonNull(upgradeInformations); + return this; + } + public Builder upgradeInformations(GetAtCustomerCccInfrastructureUpgradeInformation... upgradeInformations) { + return upgradeInformations(List.of(upgradeInformations)); + } + public GetAtCustomerCccInfrastructureResult build() { + final var o = new GetAtCustomerCccInfrastructureResult(); + o.cccInfrastructureId = cccInfrastructureId; + o.cccUpgradeScheduleId = cccUpgradeScheduleId; + o.compartmentId = compartmentId; + o.connectionDetails = connectionDetails; + o.connectionState = connectionState; + o.definedTags = definedTags; + o.description = description; + o.displayName = displayName; + o.freeformTags = freeformTags; + o.id = id; + o.infrastructureInventories = infrastructureInventories; + o.infrastructureNetworkConfigurations = infrastructureNetworkConfigurations; + o.lifecycleDetails = lifecycleDetails; + o.provisioningFingerprint = provisioningFingerprint; + o.provisioningPin = provisioningPin; + o.shortName = shortName; + o.state = state; + o.subnetId = subnetId; + o.systemTags = systemTags; + o.timeCreated = timeCreated; + o.timeUpdated = timeUpdated; + o.upgradeInformations = upgradeInformations; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccInfrastructureUpgradeInformation.java b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccInfrastructureUpgradeInformation.java new file mode 100644 index 0000000000..45dca8b06c --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccInfrastructureUpgradeInformation.java @@ -0,0 +1,115 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.ComputeCloud.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetAtCustomerCccInfrastructureUpgradeInformation { + /** + * @return The current version of software installed on the Compute Cloud@Customer infrastructure. + * + */ + private String currentVersion; + /** + * @return Indication that the Compute Cloud@Customer infrastructure is in the process of an upgrade or an upgrade activity (such as preloading upgrade images). + * + */ + private Boolean isActive; + /** + * @return Expected duration of Compute Cloud@Customer infrastructure scheduled upgrade. The actual upgrade time might be longer or shorter than this duration depending on rack activity, this is only an estimate. + * + */ + private String scheduledUpgradeDuration; + /** + * @return Compute Cloud@Customer infrastructure next upgrade time. The rack might have performance impacts during this time. + * + */ + private String timeOfScheduledUpgrade; + + private GetAtCustomerCccInfrastructureUpgradeInformation() {} + /** + * @return The current version of software installed on the Compute Cloud@Customer infrastructure. + * + */ + public String currentVersion() { + return this.currentVersion; + } + /** + * @return Indication that the Compute Cloud@Customer infrastructure is in the process of an upgrade or an upgrade activity (such as preloading upgrade images). + * + */ + public Boolean isActive() { + return this.isActive; + } + /** + * @return Expected duration of Compute Cloud@Customer infrastructure scheduled upgrade. The actual upgrade time might be longer or shorter than this duration depending on rack activity, this is only an estimate. + * + */ + public String scheduledUpgradeDuration() { + return this.scheduledUpgradeDuration; + } + /** + * @return Compute Cloud@Customer infrastructure next upgrade time. The rack might have performance impacts during this time. + * + */ + public String timeOfScheduledUpgrade() { + return this.timeOfScheduledUpgrade; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAtCustomerCccInfrastructureUpgradeInformation defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String currentVersion; + private Boolean isActive; + private String scheduledUpgradeDuration; + private String timeOfScheduledUpgrade; + public Builder() {} + public Builder(GetAtCustomerCccInfrastructureUpgradeInformation defaults) { + Objects.requireNonNull(defaults); + this.currentVersion = defaults.currentVersion; + this.isActive = defaults.isActive; + this.scheduledUpgradeDuration = defaults.scheduledUpgradeDuration; + this.timeOfScheduledUpgrade = defaults.timeOfScheduledUpgrade; + } + + @CustomType.Setter + public Builder currentVersion(String currentVersion) { + this.currentVersion = Objects.requireNonNull(currentVersion); + return this; + } + @CustomType.Setter + public Builder isActive(Boolean isActive) { + this.isActive = Objects.requireNonNull(isActive); + return this; + } + @CustomType.Setter + public Builder scheduledUpgradeDuration(String scheduledUpgradeDuration) { + this.scheduledUpgradeDuration = Objects.requireNonNull(scheduledUpgradeDuration); + return this; + } + @CustomType.Setter + public Builder timeOfScheduledUpgrade(String timeOfScheduledUpgrade) { + this.timeOfScheduledUpgrade = Objects.requireNonNull(timeOfScheduledUpgrade); + return this; + } + public GetAtCustomerCccInfrastructureUpgradeInformation build() { + final var o = new GetAtCustomerCccInfrastructureUpgradeInformation(); + o.currentVersion = currentVersion; + o.isActive = isActive; + o.scheduledUpgradeDuration = scheduledUpgradeDuration; + o.timeOfScheduledUpgrade = timeOfScheduledUpgrade; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccInfrastructuresCccInfrastructureCollection.java b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccInfrastructuresCccInfrastructureCollection.java new file mode 100644 index 0000000000..88aecb8074 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccInfrastructuresCccInfrastructureCollection.java @@ -0,0 +1,50 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.ComputeCloud.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.oci.ComputeCloud.outputs.GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItem; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetAtCustomerCccInfrastructuresCccInfrastructureCollection { + private List items; + + private GetAtCustomerCccInfrastructuresCccInfrastructureCollection() {} + public List items() { + return this.items; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAtCustomerCccInfrastructuresCccInfrastructureCollection defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List items; + public Builder() {} + public Builder(GetAtCustomerCccInfrastructuresCccInfrastructureCollection defaults) { + Objects.requireNonNull(defaults); + this.items = defaults.items; + } + + @CustomType.Setter + public Builder items(List items) { + this.items = Objects.requireNonNull(items); + return this; + } + public Builder items(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItem... items) { + return items(List.of(items)); + } + public GetAtCustomerCccInfrastructuresCccInfrastructureCollection build() { + final var o = new GetAtCustomerCccInfrastructuresCccInfrastructureCollection(); + o.items = items; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItem.java b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItem.java new file mode 100644 index 0000000000..9452f53de1 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItem.java @@ -0,0 +1,469 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.ComputeCloud.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.oci.ComputeCloud.outputs.GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventory; +import com.pulumi.oci.ComputeCloud.outputs.GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfiguration; +import com.pulumi.oci.ComputeCloud.outputs.GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformation; +import java.lang.Object; +import java.lang.String; +import java.util.List; +import java.util.Map; +import java.util.Objects; + +@CustomType +public final class GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItem { + /** + * @return Schedule used for upgrades. If no schedule is associated with the infrastructure, it can be updated at any time. + * + */ + private String cccUpgradeScheduleId; + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + * + */ + private String compartmentId; + /** + * @return A message describing the current connection state in more detail. + * + */ + private String connectionDetails; + /** + * @return The current connection state of the infrastructure. A user can only update it from REQUEST to READY or from any state back to REJECT. The system automatically handles the REJECT to REQUEST, READY to CONNECTED, or CONNECTED to DISCONNECTED transitions. + * + */ + private String connectionState; + /** + * @return Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + * + */ + private Map definedTags; + /** + * @return A mutable client-meaningful text description of the Compute Cloud@Customer infrastructure. Avoid entering confidential information. + * + */ + private String description; + /** + * @return A filter to return only resources that match the entire display name given. + * + */ + private String displayName; + /** + * @return Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + * + */ + private Map freeformTags; + /** + * @return The Compute Cloud@Customer infrastructure [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). This cannot be changed once created. + * + */ + private String id; + /** + * @return Inventory for a Compute Cloud@Customer infrastructure. This information cannot be updated and is from the infrastructure. The information will only be available after the connectionState is transitioned to CONNECTED. + * + */ + private List infrastructureInventories; + /** + * @return Configuration information for the Compute Cloud@Customer infrastructure. This network configuration information cannot be updated and is retrieved from the data center. The information will only be available after the connectionState is transitioned to CONNECTED. + * + */ + private List infrastructureNetworkConfigurations; + /** + * @return A message describing the current lifecycle state in more detail. For example, this can be used to provide actionable information for a resource that is in a Failed state. + * + */ + private String lifecycleDetails; + /** + * @return Fingerprint of a Compute Cloud@Customer infrastructure in a data center generated during the initial connection to this resource. The fingerprint should be verified by the administrator when changing the connectionState from REQUEST to READY. + * + */ + private String provisioningFingerprint; + /** + * @return Code that is required for service personnel to connect a Compute Cloud@Customer infrastructure in a data center to this resource. This code will only be available when the connectionState is REJECT (usually at create time of the Compute Cloud@Customer infrastructure). + * + */ + private String provisioningPin; + /** + * @return The Compute Cloud@Customer infrastructure short name. This cannot be changed once created. The short name is used to refer to the infrastructure in several contexts and is unique. + * + */ + private String shortName; + /** + * @return A filter used to return only resources that match the given lifecycleState. + * + */ + private String state; + /** + * @return [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the network subnet that is used to communicate with Compute Cloud@Customer infrastructure. + * + */ + private String subnetId; + /** + * @return System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + * + */ + private Map systemTags; + /** + * @return Compute Cloud@Customer infrastructure creation date and time, using an RFC3339 formatted datetime string. + * + */ + private String timeCreated; + /** + * @return Compute Cloud@Customer infrastructure updated date and time, using an RFC3339 formatted datetime string. + * + */ + private String timeUpdated; + /** + * @return Upgrade information that relates to a Compute Cloud@Customer infrastructure. This information cannot be updated. + * + */ + private List upgradeInformations; + + private GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItem() {} + /** + * @return Schedule used for upgrades. If no schedule is associated with the infrastructure, it can be updated at any time. + * + */ + public String cccUpgradeScheduleId() { + return this.cccUpgradeScheduleId; + } + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + * + */ + public String compartmentId() { + return this.compartmentId; + } + /** + * @return A message describing the current connection state in more detail. + * + */ + public String connectionDetails() { + return this.connectionDetails; + } + /** + * @return The current connection state of the infrastructure. A user can only update it from REQUEST to READY or from any state back to REJECT. The system automatically handles the REJECT to REQUEST, READY to CONNECTED, or CONNECTED to DISCONNECTED transitions. + * + */ + public String connectionState() { + return this.connectionState; + } + /** + * @return Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + * + */ + public Map definedTags() { + return this.definedTags; + } + /** + * @return A mutable client-meaningful text description of the Compute Cloud@Customer infrastructure. Avoid entering confidential information. + * + */ + public String description() { + return this.description; + } + /** + * @return A filter to return only resources that match the entire display name given. + * + */ + public String displayName() { + return this.displayName; + } + /** + * @return Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + * + */ + public Map freeformTags() { + return this.freeformTags; + } + /** + * @return The Compute Cloud@Customer infrastructure [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). This cannot be changed once created. + * + */ + public String id() { + return this.id; + } + /** + * @return Inventory for a Compute Cloud@Customer infrastructure. This information cannot be updated and is from the infrastructure. The information will only be available after the connectionState is transitioned to CONNECTED. + * + */ + public List infrastructureInventories() { + return this.infrastructureInventories; + } + /** + * @return Configuration information for the Compute Cloud@Customer infrastructure. This network configuration information cannot be updated and is retrieved from the data center. The information will only be available after the connectionState is transitioned to CONNECTED. + * + */ + public List infrastructureNetworkConfigurations() { + return this.infrastructureNetworkConfigurations; + } + /** + * @return A message describing the current lifecycle state in more detail. For example, this can be used to provide actionable information for a resource that is in a Failed state. + * + */ + public String lifecycleDetails() { + return this.lifecycleDetails; + } + /** + * @return Fingerprint of a Compute Cloud@Customer infrastructure in a data center generated during the initial connection to this resource. The fingerprint should be verified by the administrator when changing the connectionState from REQUEST to READY. + * + */ + public String provisioningFingerprint() { + return this.provisioningFingerprint; + } + /** + * @return Code that is required for service personnel to connect a Compute Cloud@Customer infrastructure in a data center to this resource. This code will only be available when the connectionState is REJECT (usually at create time of the Compute Cloud@Customer infrastructure). + * + */ + public String provisioningPin() { + return this.provisioningPin; + } + /** + * @return The Compute Cloud@Customer infrastructure short name. This cannot be changed once created. The short name is used to refer to the infrastructure in several contexts and is unique. + * + */ + public String shortName() { + return this.shortName; + } + /** + * @return A filter used to return only resources that match the given lifecycleState. + * + */ + public String state() { + return this.state; + } + /** + * @return [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the network subnet that is used to communicate with Compute Cloud@Customer infrastructure. + * + */ + public String subnetId() { + return this.subnetId; + } + /** + * @return System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + * + */ + public Map systemTags() { + return this.systemTags; + } + /** + * @return Compute Cloud@Customer infrastructure creation date and time, using an RFC3339 formatted datetime string. + * + */ + public String timeCreated() { + return this.timeCreated; + } + /** + * @return Compute Cloud@Customer infrastructure updated date and time, using an RFC3339 formatted datetime string. + * + */ + public String timeUpdated() { + return this.timeUpdated; + } + /** + * @return Upgrade information that relates to a Compute Cloud@Customer infrastructure. This information cannot be updated. + * + */ + public List upgradeInformations() { + return this.upgradeInformations; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItem defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String cccUpgradeScheduleId; + private String compartmentId; + private String connectionDetails; + private String connectionState; + private Map definedTags; + private String description; + private String displayName; + private Map freeformTags; + private String id; + private List infrastructureInventories; + private List infrastructureNetworkConfigurations; + private String lifecycleDetails; + private String provisioningFingerprint; + private String provisioningPin; + private String shortName; + private String state; + private String subnetId; + private Map systemTags; + private String timeCreated; + private String timeUpdated; + private List upgradeInformations; + public Builder() {} + public Builder(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItem defaults) { + Objects.requireNonNull(defaults); + this.cccUpgradeScheduleId = defaults.cccUpgradeScheduleId; + this.compartmentId = defaults.compartmentId; + this.connectionDetails = defaults.connectionDetails; + this.connectionState = defaults.connectionState; + this.definedTags = defaults.definedTags; + this.description = defaults.description; + this.displayName = defaults.displayName; + this.freeformTags = defaults.freeformTags; + this.id = defaults.id; + this.infrastructureInventories = defaults.infrastructureInventories; + this.infrastructureNetworkConfigurations = defaults.infrastructureNetworkConfigurations; + this.lifecycleDetails = defaults.lifecycleDetails; + this.provisioningFingerprint = defaults.provisioningFingerprint; + this.provisioningPin = defaults.provisioningPin; + this.shortName = defaults.shortName; + this.state = defaults.state; + this.subnetId = defaults.subnetId; + this.systemTags = defaults.systemTags; + this.timeCreated = defaults.timeCreated; + this.timeUpdated = defaults.timeUpdated; + this.upgradeInformations = defaults.upgradeInformations; + } + + @CustomType.Setter + public Builder cccUpgradeScheduleId(String cccUpgradeScheduleId) { + this.cccUpgradeScheduleId = Objects.requireNonNull(cccUpgradeScheduleId); + return this; + } + @CustomType.Setter + public Builder compartmentId(String compartmentId) { + this.compartmentId = Objects.requireNonNull(compartmentId); + return this; + } + @CustomType.Setter + public Builder connectionDetails(String connectionDetails) { + this.connectionDetails = Objects.requireNonNull(connectionDetails); + return this; + } + @CustomType.Setter + public Builder connectionState(String connectionState) { + this.connectionState = Objects.requireNonNull(connectionState); + return this; + } + @CustomType.Setter + public Builder definedTags(Map definedTags) { + this.definedTags = Objects.requireNonNull(definedTags); + return this; + } + @CustomType.Setter + public Builder description(String description) { + this.description = Objects.requireNonNull(description); + return this; + } + @CustomType.Setter + public Builder displayName(String displayName) { + this.displayName = Objects.requireNonNull(displayName); + return this; + } + @CustomType.Setter + public Builder freeformTags(Map freeformTags) { + this.freeformTags = Objects.requireNonNull(freeformTags); + return this; + } + @CustomType.Setter + public Builder id(String id) { + this.id = Objects.requireNonNull(id); + return this; + } + @CustomType.Setter + public Builder infrastructureInventories(List infrastructureInventories) { + this.infrastructureInventories = Objects.requireNonNull(infrastructureInventories); + return this; + } + public Builder infrastructureInventories(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventory... infrastructureInventories) { + return infrastructureInventories(List.of(infrastructureInventories)); + } + @CustomType.Setter + public Builder infrastructureNetworkConfigurations(List infrastructureNetworkConfigurations) { + this.infrastructureNetworkConfigurations = Objects.requireNonNull(infrastructureNetworkConfigurations); + return this; + } + public Builder infrastructureNetworkConfigurations(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfiguration... infrastructureNetworkConfigurations) { + return infrastructureNetworkConfigurations(List.of(infrastructureNetworkConfigurations)); + } + @CustomType.Setter + public Builder lifecycleDetails(String lifecycleDetails) { + this.lifecycleDetails = Objects.requireNonNull(lifecycleDetails); + return this; + } + @CustomType.Setter + public Builder provisioningFingerprint(String provisioningFingerprint) { + this.provisioningFingerprint = Objects.requireNonNull(provisioningFingerprint); + return this; + } + @CustomType.Setter + public Builder provisioningPin(String provisioningPin) { + this.provisioningPin = Objects.requireNonNull(provisioningPin); + return this; + } + @CustomType.Setter + public Builder shortName(String shortName) { + this.shortName = Objects.requireNonNull(shortName); + return this; + } + @CustomType.Setter + public Builder state(String state) { + this.state = Objects.requireNonNull(state); + return this; + } + @CustomType.Setter + public Builder subnetId(String subnetId) { + this.subnetId = Objects.requireNonNull(subnetId); + return this; + } + @CustomType.Setter + public Builder systemTags(Map systemTags) { + this.systemTags = Objects.requireNonNull(systemTags); + return this; + } + @CustomType.Setter + public Builder timeCreated(String timeCreated) { + this.timeCreated = Objects.requireNonNull(timeCreated); + return this; + } + @CustomType.Setter + public Builder timeUpdated(String timeUpdated) { + this.timeUpdated = Objects.requireNonNull(timeUpdated); + return this; + } + @CustomType.Setter + public Builder upgradeInformations(List upgradeInformations) { + this.upgradeInformations = Objects.requireNonNull(upgradeInformations); + return this; + } + public Builder upgradeInformations(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformation... upgradeInformations) { + return upgradeInformations(List.of(upgradeInformations)); + } + public GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItem build() { + final var o = new GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItem(); + o.cccUpgradeScheduleId = cccUpgradeScheduleId; + o.compartmentId = compartmentId; + o.connectionDetails = connectionDetails; + o.connectionState = connectionState; + o.definedTags = definedTags; + o.description = description; + o.displayName = displayName; + o.freeformTags = freeformTags; + o.id = id; + o.infrastructureInventories = infrastructureInventories; + o.infrastructureNetworkConfigurations = infrastructureNetworkConfigurations; + o.lifecycleDetails = lifecycleDetails; + o.provisioningFingerprint = provisioningFingerprint; + o.provisioningPin = provisioningPin; + o.shortName = shortName; + o.state = state; + o.subnetId = subnetId; + o.systemTags = systemTags; + o.timeCreated = timeCreated; + o.timeUpdated = timeUpdated; + o.upgradeInformations = upgradeInformations; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventory.java b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventory.java new file mode 100644 index 0000000000..0a376a5419 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventory.java @@ -0,0 +1,135 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.ComputeCloud.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.Integer; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventory { + /** + * @return The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for capacity storage. + * + */ + private Integer capacityStorageTrayCount; + /** + * @return The number of compute nodes that are available and usable on the Compute Cloud@Customer infrastructure rack. There is no distinction of compute node type in this information. + * + */ + private Integer computeNodeCount; + /** + * @return The number of management nodes that are available and in active use on the Compute Cloud@Customer infrastructure rack. + * + */ + private Integer managementNodeCount; + /** + * @return The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for performance storage. + * + */ + private Integer performanceStorageTrayCount; + /** + * @return The serial number of the Compute Cloud@Customer infrastructure rack. + * + */ + private String serialNumber; + + private GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventory() {} + /** + * @return The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for capacity storage. + * + */ + public Integer capacityStorageTrayCount() { + return this.capacityStorageTrayCount; + } + /** + * @return The number of compute nodes that are available and usable on the Compute Cloud@Customer infrastructure rack. There is no distinction of compute node type in this information. + * + */ + public Integer computeNodeCount() { + return this.computeNodeCount; + } + /** + * @return The number of management nodes that are available and in active use on the Compute Cloud@Customer infrastructure rack. + * + */ + public Integer managementNodeCount() { + return this.managementNodeCount; + } + /** + * @return The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for performance storage. + * + */ + public Integer performanceStorageTrayCount() { + return this.performanceStorageTrayCount; + } + /** + * @return The serial number of the Compute Cloud@Customer infrastructure rack. + * + */ + public String serialNumber() { + return this.serialNumber; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventory defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private Integer capacityStorageTrayCount; + private Integer computeNodeCount; + private Integer managementNodeCount; + private Integer performanceStorageTrayCount; + private String serialNumber; + public Builder() {} + public Builder(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventory defaults) { + Objects.requireNonNull(defaults); + this.capacityStorageTrayCount = defaults.capacityStorageTrayCount; + this.computeNodeCount = defaults.computeNodeCount; + this.managementNodeCount = defaults.managementNodeCount; + this.performanceStorageTrayCount = defaults.performanceStorageTrayCount; + this.serialNumber = defaults.serialNumber; + } + + @CustomType.Setter + public Builder capacityStorageTrayCount(Integer capacityStorageTrayCount) { + this.capacityStorageTrayCount = Objects.requireNonNull(capacityStorageTrayCount); + return this; + } + @CustomType.Setter + public Builder computeNodeCount(Integer computeNodeCount) { + this.computeNodeCount = Objects.requireNonNull(computeNodeCount); + return this; + } + @CustomType.Setter + public Builder managementNodeCount(Integer managementNodeCount) { + this.managementNodeCount = Objects.requireNonNull(managementNodeCount); + return this; + } + @CustomType.Setter + public Builder performanceStorageTrayCount(Integer performanceStorageTrayCount) { + this.performanceStorageTrayCount = Objects.requireNonNull(performanceStorageTrayCount); + return this; + } + @CustomType.Setter + public Builder serialNumber(String serialNumber) { + this.serialNumber = Objects.requireNonNull(serialNumber); + return this; + } + public GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventory build() { + final var o = new GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventory(); + o.capacityStorageTrayCount = capacityStorageTrayCount; + o.computeNodeCount = computeNodeCount; + o.managementNodeCount = managementNodeCount; + o.performanceStorageTrayCount = performanceStorageTrayCount; + o.serialNumber = serialNumber; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfiguration.java b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfiguration.java new file mode 100644 index 0000000000..ed9be10d6a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfiguration.java @@ -0,0 +1,354 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.ComputeCloud.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.oci.ComputeCloud.outputs.GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamic; +import com.pulumi.oci.ComputeCloud.outputs.GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStatic; +import com.pulumi.oci.ComputeCloud.outputs.GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNode; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfiguration { + /** + * @return The domain name system (DNS) addresses that the Compute Cloud@Customer infrastructure uses for the data center network. + * + */ + private List dnsIps; + /** + * @return Dynamic routing information for the Compute Cloud@Customer infrastructure. + * + */ + private List infrastructureRoutingDynamics; + /** + * @return Static routing information for a rack. + * + */ + private List infrastructureRoutingStatics; + /** + * @return Information about the management nodes that are provisioned in the Compute Cloud@Customer infrastructure. + * + */ + private List managementNodes; + /** + * @return The hostname corresponding to the virtual IP (VIP) address of the management nodes. + * + */ + private String mgmtVipHostname; + /** + * @return The IP address used as the virtual IP (VIP) address of the management nodes. + * + */ + private String mgmtVipIp; + /** + * @return Addresses of the network spine switches. + * + */ + private List spineIps; + /** + * @return The spine switch public virtual IP (VIP). Traffic routed to the Compute Cloud@Customer infrastructure and and virtual cloud networks (VCNs) should have this address as next hop. + * + */ + private String spineVip; + /** + * @return Domain name to be used as the base domain for the internal network and by public facing services. + * + */ + private String uplinkDomain; + /** + * @return Uplink gateway in the datacenter network that the Compute Cloud@Customer connects to. + * + */ + private String uplinkGatewayIp; + /** + * @return Netmask of the subnet that the Compute Cloud@Customer infrastructure is connected to. + * + */ + private String uplinkNetmask; + /** + * @return Number of uplink ports per spine switch. Connectivity is identical on both spine switches. For example, if input is two 100 gigabyte ports; then port-1 and port-2 on both spines will be configured. + * + */ + private Integer uplinkPortCount; + /** + * @return The port forward error correction (FEC) setting for the uplink port on the Compute Cloud@Customer infrastructure. + * + */ + private String uplinkPortForwardErrorCorrection; + /** + * @return Uplink port speed defined in gigabytes per second. All uplink ports must have identical speed. + * + */ + private Integer uplinkPortSpeedInGbps; + /** + * @return The virtual local area network (VLAN) maximum transmission unit (MTU) size for the uplink ports. + * + */ + private Integer uplinkVlanMtu; + + private GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfiguration() {} + /** + * @return The domain name system (DNS) addresses that the Compute Cloud@Customer infrastructure uses for the data center network. + * + */ + public List dnsIps() { + return this.dnsIps; + } + /** + * @return Dynamic routing information for the Compute Cloud@Customer infrastructure. + * + */ + public List infrastructureRoutingDynamics() { + return this.infrastructureRoutingDynamics; + } + /** + * @return Static routing information for a rack. + * + */ + public List infrastructureRoutingStatics() { + return this.infrastructureRoutingStatics; + } + /** + * @return Information about the management nodes that are provisioned in the Compute Cloud@Customer infrastructure. + * + */ + public List managementNodes() { + return this.managementNodes; + } + /** + * @return The hostname corresponding to the virtual IP (VIP) address of the management nodes. + * + */ + public String mgmtVipHostname() { + return this.mgmtVipHostname; + } + /** + * @return The IP address used as the virtual IP (VIP) address of the management nodes. + * + */ + public String mgmtVipIp() { + return this.mgmtVipIp; + } + /** + * @return Addresses of the network spine switches. + * + */ + public List spineIps() { + return this.spineIps; + } + /** + * @return The spine switch public virtual IP (VIP). Traffic routed to the Compute Cloud@Customer infrastructure and and virtual cloud networks (VCNs) should have this address as next hop. + * + */ + public String spineVip() { + return this.spineVip; + } + /** + * @return Domain name to be used as the base domain for the internal network and by public facing services. + * + */ + public String uplinkDomain() { + return this.uplinkDomain; + } + /** + * @return Uplink gateway in the datacenter network that the Compute Cloud@Customer connects to. + * + */ + public String uplinkGatewayIp() { + return this.uplinkGatewayIp; + } + /** + * @return Netmask of the subnet that the Compute Cloud@Customer infrastructure is connected to. + * + */ + public String uplinkNetmask() { + return this.uplinkNetmask; + } + /** + * @return Number of uplink ports per spine switch. Connectivity is identical on both spine switches. For example, if input is two 100 gigabyte ports; then port-1 and port-2 on both spines will be configured. + * + */ + public Integer uplinkPortCount() { + return this.uplinkPortCount; + } + /** + * @return The port forward error correction (FEC) setting for the uplink port on the Compute Cloud@Customer infrastructure. + * + */ + public String uplinkPortForwardErrorCorrection() { + return this.uplinkPortForwardErrorCorrection; + } + /** + * @return Uplink port speed defined in gigabytes per second. All uplink ports must have identical speed. + * + */ + public Integer uplinkPortSpeedInGbps() { + return this.uplinkPortSpeedInGbps; + } + /** + * @return The virtual local area network (VLAN) maximum transmission unit (MTU) size for the uplink ports. + * + */ + public Integer uplinkVlanMtu() { + return this.uplinkVlanMtu; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfiguration defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List dnsIps; + private List infrastructureRoutingDynamics; + private List infrastructureRoutingStatics; + private List managementNodes; + private String mgmtVipHostname; + private String mgmtVipIp; + private List spineIps; + private String spineVip; + private String uplinkDomain; + private String uplinkGatewayIp; + private String uplinkNetmask; + private Integer uplinkPortCount; + private String uplinkPortForwardErrorCorrection; + private Integer uplinkPortSpeedInGbps; + private Integer uplinkVlanMtu; + public Builder() {} + public Builder(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfiguration defaults) { + Objects.requireNonNull(defaults); + this.dnsIps = defaults.dnsIps; + this.infrastructureRoutingDynamics = defaults.infrastructureRoutingDynamics; + this.infrastructureRoutingStatics = defaults.infrastructureRoutingStatics; + this.managementNodes = defaults.managementNodes; + this.mgmtVipHostname = defaults.mgmtVipHostname; + this.mgmtVipIp = defaults.mgmtVipIp; + this.spineIps = defaults.spineIps; + this.spineVip = defaults.spineVip; + this.uplinkDomain = defaults.uplinkDomain; + this.uplinkGatewayIp = defaults.uplinkGatewayIp; + this.uplinkNetmask = defaults.uplinkNetmask; + this.uplinkPortCount = defaults.uplinkPortCount; + this.uplinkPortForwardErrorCorrection = defaults.uplinkPortForwardErrorCorrection; + this.uplinkPortSpeedInGbps = defaults.uplinkPortSpeedInGbps; + this.uplinkVlanMtu = defaults.uplinkVlanMtu; + } + + @CustomType.Setter + public Builder dnsIps(List dnsIps) { + this.dnsIps = Objects.requireNonNull(dnsIps); + return this; + } + public Builder dnsIps(String... dnsIps) { + return dnsIps(List.of(dnsIps)); + } + @CustomType.Setter + public Builder infrastructureRoutingDynamics(List infrastructureRoutingDynamics) { + this.infrastructureRoutingDynamics = Objects.requireNonNull(infrastructureRoutingDynamics); + return this; + } + public Builder infrastructureRoutingDynamics(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamic... infrastructureRoutingDynamics) { + return infrastructureRoutingDynamics(List.of(infrastructureRoutingDynamics)); + } + @CustomType.Setter + public Builder infrastructureRoutingStatics(List infrastructureRoutingStatics) { + this.infrastructureRoutingStatics = Objects.requireNonNull(infrastructureRoutingStatics); + return this; + } + public Builder infrastructureRoutingStatics(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStatic... infrastructureRoutingStatics) { + return infrastructureRoutingStatics(List.of(infrastructureRoutingStatics)); + } + @CustomType.Setter + public Builder managementNodes(List managementNodes) { + this.managementNodes = Objects.requireNonNull(managementNodes); + return this; + } + public Builder managementNodes(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNode... managementNodes) { + return managementNodes(List.of(managementNodes)); + } + @CustomType.Setter + public Builder mgmtVipHostname(String mgmtVipHostname) { + this.mgmtVipHostname = Objects.requireNonNull(mgmtVipHostname); + return this; + } + @CustomType.Setter + public Builder mgmtVipIp(String mgmtVipIp) { + this.mgmtVipIp = Objects.requireNonNull(mgmtVipIp); + return this; + } + @CustomType.Setter + public Builder spineIps(List spineIps) { + this.spineIps = Objects.requireNonNull(spineIps); + return this; + } + public Builder spineIps(String... spineIps) { + return spineIps(List.of(spineIps)); + } + @CustomType.Setter + public Builder spineVip(String spineVip) { + this.spineVip = Objects.requireNonNull(spineVip); + return this; + } + @CustomType.Setter + public Builder uplinkDomain(String uplinkDomain) { + this.uplinkDomain = Objects.requireNonNull(uplinkDomain); + return this; + } + @CustomType.Setter + public Builder uplinkGatewayIp(String uplinkGatewayIp) { + this.uplinkGatewayIp = Objects.requireNonNull(uplinkGatewayIp); + return this; + } + @CustomType.Setter + public Builder uplinkNetmask(String uplinkNetmask) { + this.uplinkNetmask = Objects.requireNonNull(uplinkNetmask); + return this; + } + @CustomType.Setter + public Builder uplinkPortCount(Integer uplinkPortCount) { + this.uplinkPortCount = Objects.requireNonNull(uplinkPortCount); + return this; + } + @CustomType.Setter + public Builder uplinkPortForwardErrorCorrection(String uplinkPortForwardErrorCorrection) { + this.uplinkPortForwardErrorCorrection = Objects.requireNonNull(uplinkPortForwardErrorCorrection); + return this; + } + @CustomType.Setter + public Builder uplinkPortSpeedInGbps(Integer uplinkPortSpeedInGbps) { + this.uplinkPortSpeedInGbps = Objects.requireNonNull(uplinkPortSpeedInGbps); + return this; + } + @CustomType.Setter + public Builder uplinkVlanMtu(Integer uplinkVlanMtu) { + this.uplinkVlanMtu = Objects.requireNonNull(uplinkVlanMtu); + return this; + } + public GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfiguration build() { + final var o = new GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfiguration(); + o.dnsIps = dnsIps; + o.infrastructureRoutingDynamics = infrastructureRoutingDynamics; + o.infrastructureRoutingStatics = infrastructureRoutingStatics; + o.managementNodes = managementNodes; + o.mgmtVipHostname = mgmtVipHostname; + o.mgmtVipIp = mgmtVipIp; + o.spineIps = spineIps; + o.spineVip = spineVip; + o.uplinkDomain = uplinkDomain; + o.uplinkGatewayIp = uplinkGatewayIp; + o.uplinkNetmask = uplinkNetmask; + o.uplinkPortCount = uplinkPortCount; + o.uplinkPortForwardErrorCorrection = uplinkPortForwardErrorCorrection; + o.uplinkPortSpeedInGbps = uplinkPortSpeedInGbps; + o.uplinkVlanMtu = uplinkVlanMtu; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamic.java b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamic.java new file mode 100644 index 0000000000..386ea708cd --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamic.java @@ -0,0 +1,100 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.ComputeCloud.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.oci.ComputeCloud.outputs.GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation; +import java.lang.Integer; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamic { + /** + * @return The topology in use for the Border Gateway Protocol (BGP) configuration. + * + */ + private String bgpTopology; + /** + * @return The Oracle Autonomous System Number (ASN) to control routing and exchange information within the dynamic routing configuration. + * + */ + private Integer oracleAsn; + /** + * @return The list of peer devices in the dynamic routing configuration. + * + */ + private List peerInformations; + + private GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamic() {} + /** + * @return The topology in use for the Border Gateway Protocol (BGP) configuration. + * + */ + public String bgpTopology() { + return this.bgpTopology; + } + /** + * @return The Oracle Autonomous System Number (ASN) to control routing and exchange information within the dynamic routing configuration. + * + */ + public Integer oracleAsn() { + return this.oracleAsn; + } + /** + * @return The list of peer devices in the dynamic routing configuration. + * + */ + public List peerInformations() { + return this.peerInformations; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamic defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String bgpTopology; + private Integer oracleAsn; + private List peerInformations; + public Builder() {} + public Builder(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamic defaults) { + Objects.requireNonNull(defaults); + this.bgpTopology = defaults.bgpTopology; + this.oracleAsn = defaults.oracleAsn; + this.peerInformations = defaults.peerInformations; + } + + @CustomType.Setter + public Builder bgpTopology(String bgpTopology) { + this.bgpTopology = Objects.requireNonNull(bgpTopology); + return this; + } + @CustomType.Setter + public Builder oracleAsn(Integer oracleAsn) { + this.oracleAsn = Objects.requireNonNull(oracleAsn); + return this; + } + @CustomType.Setter + public Builder peerInformations(List peerInformations) { + this.peerInformations = Objects.requireNonNull(peerInformations); + return this; + } + public Builder peerInformations(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation... peerInformations) { + return peerInformations(List.of(peerInformations)); + } + public GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamic build() { + final var o = new GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamic(); + o.bgpTopology = bgpTopology; + o.oracleAsn = oracleAsn; + o.peerInformations = peerInformations; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation.java b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation.java new file mode 100644 index 0000000000..ac443d951e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation.java @@ -0,0 +1,75 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.ComputeCloud.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.Integer; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation { + /** + * @return The Autonomous System Number (ASN) of the peer network. + * + */ + private Integer asn; + /** + * @return Address of the management node. + * + */ + private String ip; + + private GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation() {} + /** + * @return The Autonomous System Number (ASN) of the peer network. + * + */ + public Integer asn() { + return this.asn; + } + /** + * @return Address of the management node. + * + */ + public String ip() { + return this.ip; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private Integer asn; + private String ip; + public Builder() {} + public Builder(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation defaults) { + Objects.requireNonNull(defaults); + this.asn = defaults.asn; + this.ip = defaults.ip; + } + + @CustomType.Setter + public Builder asn(Integer asn) { + this.asn = Objects.requireNonNull(asn); + return this; + } + @CustomType.Setter + public Builder ip(String ip) { + this.ip = Objects.requireNonNull(ip); + return this; + } + public GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation build() { + final var o = new GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation(); + o.asn = asn; + o.ip = ip; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStatic.java b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStatic.java new file mode 100644 index 0000000000..f064a23099 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStatic.java @@ -0,0 +1,74 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.ComputeCloud.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.Integer; +import java.util.Objects; + +@CustomType +public final class GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStatic { + /** + * @return The uplink Hot Standby Router Protocol (HSRP) group value for the switch in the Compute Cloud@Customer infrastructure. + * + */ + private Integer uplinkHsrpGroup; + /** + * @return The virtual local area network (VLAN) identifier used to connect to the uplink (only access mode is supported). + * + */ + private Integer uplinkVlan; + + private GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStatic() {} + /** + * @return The uplink Hot Standby Router Protocol (HSRP) group value for the switch in the Compute Cloud@Customer infrastructure. + * + */ + public Integer uplinkHsrpGroup() { + return this.uplinkHsrpGroup; + } + /** + * @return The virtual local area network (VLAN) identifier used to connect to the uplink (only access mode is supported). + * + */ + public Integer uplinkVlan() { + return this.uplinkVlan; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStatic defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private Integer uplinkHsrpGroup; + private Integer uplinkVlan; + public Builder() {} + public Builder(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStatic defaults) { + Objects.requireNonNull(defaults); + this.uplinkHsrpGroup = defaults.uplinkHsrpGroup; + this.uplinkVlan = defaults.uplinkVlan; + } + + @CustomType.Setter + public Builder uplinkHsrpGroup(Integer uplinkHsrpGroup) { + this.uplinkHsrpGroup = Objects.requireNonNull(uplinkHsrpGroup); + return this; + } + @CustomType.Setter + public Builder uplinkVlan(Integer uplinkVlan) { + this.uplinkVlan = Objects.requireNonNull(uplinkVlan); + return this; + } + public GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStatic build() { + final var o = new GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStatic(); + o.uplinkHsrpGroup = uplinkHsrpGroup; + o.uplinkVlan = uplinkVlan; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNode.java b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNode.java new file mode 100644 index 0000000000..b121b61a66 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNode.java @@ -0,0 +1,74 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.ComputeCloud.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNode { + /** + * @return Hostname for interface to the management node. + * + */ + private String hostname; + /** + * @return Address of the management node. + * + */ + private String ip; + + private GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNode() {} + /** + * @return Hostname for interface to the management node. + * + */ + public String hostname() { + return this.hostname; + } + /** + * @return Address of the management node. + * + */ + public String ip() { + return this.ip; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNode defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String hostname; + private String ip; + public Builder() {} + public Builder(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNode defaults) { + Objects.requireNonNull(defaults); + this.hostname = defaults.hostname; + this.ip = defaults.ip; + } + + @CustomType.Setter + public Builder hostname(String hostname) { + this.hostname = Objects.requireNonNull(hostname); + return this; + } + @CustomType.Setter + public Builder ip(String ip) { + this.ip = Objects.requireNonNull(ip); + return this; + } + public GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNode build() { + final var o = new GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNode(); + o.hostname = hostname; + o.ip = ip; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformation.java b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformation.java new file mode 100644 index 0000000000..9acc681e0a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformation.java @@ -0,0 +1,115 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.ComputeCloud.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformation { + /** + * @return The current version of software installed on the Compute Cloud@Customer infrastructure. + * + */ + private String currentVersion; + /** + * @return Indication that the Compute Cloud@Customer infrastructure is in the process of an upgrade or an upgrade activity (such as preloading upgrade images). + * + */ + private Boolean isActive; + /** + * @return Expected duration of Compute Cloud@Customer infrastructure scheduled upgrade. The actual upgrade time might be longer or shorter than this duration depending on rack activity, this is only an estimate. + * + */ + private String scheduledUpgradeDuration; + /** + * @return Compute Cloud@Customer infrastructure next upgrade time. The rack might have performance impacts during this time. + * + */ + private String timeOfScheduledUpgrade; + + private GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformation() {} + /** + * @return The current version of software installed on the Compute Cloud@Customer infrastructure. + * + */ + public String currentVersion() { + return this.currentVersion; + } + /** + * @return Indication that the Compute Cloud@Customer infrastructure is in the process of an upgrade or an upgrade activity (such as preloading upgrade images). + * + */ + public Boolean isActive() { + return this.isActive; + } + /** + * @return Expected duration of Compute Cloud@Customer infrastructure scheduled upgrade. The actual upgrade time might be longer or shorter than this duration depending on rack activity, this is only an estimate. + * + */ + public String scheduledUpgradeDuration() { + return this.scheduledUpgradeDuration; + } + /** + * @return Compute Cloud@Customer infrastructure next upgrade time. The rack might have performance impacts during this time. + * + */ + public String timeOfScheduledUpgrade() { + return this.timeOfScheduledUpgrade; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformation defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String currentVersion; + private Boolean isActive; + private String scheduledUpgradeDuration; + private String timeOfScheduledUpgrade; + public Builder() {} + public Builder(GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformation defaults) { + Objects.requireNonNull(defaults); + this.currentVersion = defaults.currentVersion; + this.isActive = defaults.isActive; + this.scheduledUpgradeDuration = defaults.scheduledUpgradeDuration; + this.timeOfScheduledUpgrade = defaults.timeOfScheduledUpgrade; + } + + @CustomType.Setter + public Builder currentVersion(String currentVersion) { + this.currentVersion = Objects.requireNonNull(currentVersion); + return this; + } + @CustomType.Setter + public Builder isActive(Boolean isActive) { + this.isActive = Objects.requireNonNull(isActive); + return this; + } + @CustomType.Setter + public Builder scheduledUpgradeDuration(String scheduledUpgradeDuration) { + this.scheduledUpgradeDuration = Objects.requireNonNull(scheduledUpgradeDuration); + return this; + } + @CustomType.Setter + public Builder timeOfScheduledUpgrade(String timeOfScheduledUpgrade) { + this.timeOfScheduledUpgrade = Objects.requireNonNull(timeOfScheduledUpgrade); + return this; + } + public GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformation build() { + final var o = new GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformation(); + o.currentVersion = currentVersion; + o.isActive = isActive; + o.scheduledUpgradeDuration = scheduledUpgradeDuration; + o.timeOfScheduledUpgrade = timeOfScheduledUpgrade; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccInfrastructuresFilter.java b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccInfrastructuresFilter.java new file mode 100644 index 0000000000..f1de59f84e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccInfrastructuresFilter.java @@ -0,0 +1,77 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.ComputeCloud.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetAtCustomerCccInfrastructuresFilter { + private String name; + private @Nullable Boolean regex; + private List values; + + private GetAtCustomerCccInfrastructuresFilter() {} + public String name() { + return this.name; + } + public Optional regex() { + return Optional.ofNullable(this.regex); + } + public List values() { + return this.values; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAtCustomerCccInfrastructuresFilter defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String name; + private @Nullable Boolean regex; + private List values; + public Builder() {} + public Builder(GetAtCustomerCccInfrastructuresFilter defaults) { + Objects.requireNonNull(defaults); + this.name = defaults.name; + this.regex = defaults.regex; + this.values = defaults.values; + } + + @CustomType.Setter + public Builder name(String name) { + this.name = Objects.requireNonNull(name); + return this; + } + @CustomType.Setter + public Builder regex(@Nullable Boolean regex) { + this.regex = regex; + return this; + } + @CustomType.Setter + public Builder values(List values) { + this.values = Objects.requireNonNull(values); + return this; + } + public Builder values(String... values) { + return values(List.of(values)); + } + public GetAtCustomerCccInfrastructuresFilter build() { + final var o = new GetAtCustomerCccInfrastructuresFilter(); + o.name = name; + o.regex = regex; + o.values = values; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccInfrastructuresResult.java b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccInfrastructuresResult.java new file mode 100644 index 0000000000..f666d70d29 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccInfrastructuresResult.java @@ -0,0 +1,206 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.ComputeCloud.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.oci.ComputeCloud.outputs.GetAtCustomerCccInfrastructuresCccInfrastructureCollection; +import com.pulumi.oci.ComputeCloud.outputs.GetAtCustomerCccInfrastructuresFilter; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetAtCustomerCccInfrastructuresResult { + private @Nullable String accessLevel; + /** + * @return The list of ccc_infrastructure_collection. + * + */ + private List cccInfrastructureCollections; + private @Nullable String cccInfrastructureId; + /** + * @return The infrastructure compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + * + */ + private @Nullable String compartmentId; + private @Nullable Boolean compartmentIdInSubtree; + /** + * @return The name that will be used to display the Compute Cloud@Customer infrastructure in the Oracle Cloud Infrastructure console. Does not have to be unique and can be changed. Avoid entering confidential information. + * + */ + private @Nullable String displayName; + private @Nullable String displayNameContains; + private @Nullable List filters; + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + private String id; + /** + * @return The current state of the Compute Cloud@Customer infrastructure. + * + */ + private @Nullable String state; + + private GetAtCustomerCccInfrastructuresResult() {} + public Optional accessLevel() { + return Optional.ofNullable(this.accessLevel); + } + /** + * @return The list of ccc_infrastructure_collection. + * + */ + public List cccInfrastructureCollections() { + return this.cccInfrastructureCollections; + } + public Optional cccInfrastructureId() { + return Optional.ofNullable(this.cccInfrastructureId); + } + /** + * @return The infrastructure compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + * + */ + public Optional compartmentId() { + return Optional.ofNullable(this.compartmentId); + } + public Optional compartmentIdInSubtree() { + return Optional.ofNullable(this.compartmentIdInSubtree); + } + /** + * @return The name that will be used to display the Compute Cloud@Customer infrastructure in the Oracle Cloud Infrastructure console. Does not have to be unique and can be changed. Avoid entering confidential information. + * + */ + public Optional displayName() { + return Optional.ofNullable(this.displayName); + } + public Optional displayNameContains() { + return Optional.ofNullable(this.displayNameContains); + } + public List filters() { + return this.filters == null ? List.of() : this.filters; + } + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + public String id() { + return this.id; + } + /** + * @return The current state of the Compute Cloud@Customer infrastructure. + * + */ + public Optional state() { + return Optional.ofNullable(this.state); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAtCustomerCccInfrastructuresResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String accessLevel; + private List cccInfrastructureCollections; + private @Nullable String cccInfrastructureId; + private @Nullable String compartmentId; + private @Nullable Boolean compartmentIdInSubtree; + private @Nullable String displayName; + private @Nullable String displayNameContains; + private @Nullable List filters; + private String id; + private @Nullable String state; + public Builder() {} + public Builder(GetAtCustomerCccInfrastructuresResult defaults) { + Objects.requireNonNull(defaults); + this.accessLevel = defaults.accessLevel; + this.cccInfrastructureCollections = defaults.cccInfrastructureCollections; + this.cccInfrastructureId = defaults.cccInfrastructureId; + this.compartmentId = defaults.compartmentId; + this.compartmentIdInSubtree = defaults.compartmentIdInSubtree; + this.displayName = defaults.displayName; + this.displayNameContains = defaults.displayNameContains; + this.filters = defaults.filters; + this.id = defaults.id; + this.state = defaults.state; + } + + @CustomType.Setter + public Builder accessLevel(@Nullable String accessLevel) { + this.accessLevel = accessLevel; + return this; + } + @CustomType.Setter + public Builder cccInfrastructureCollections(List cccInfrastructureCollections) { + this.cccInfrastructureCollections = Objects.requireNonNull(cccInfrastructureCollections); + return this; + } + public Builder cccInfrastructureCollections(GetAtCustomerCccInfrastructuresCccInfrastructureCollection... cccInfrastructureCollections) { + return cccInfrastructureCollections(List.of(cccInfrastructureCollections)); + } + @CustomType.Setter + public Builder cccInfrastructureId(@Nullable String cccInfrastructureId) { + this.cccInfrastructureId = cccInfrastructureId; + return this; + } + @CustomType.Setter + public Builder compartmentId(@Nullable String compartmentId) { + this.compartmentId = compartmentId; + return this; + } + @CustomType.Setter + public Builder compartmentIdInSubtree(@Nullable Boolean compartmentIdInSubtree) { + this.compartmentIdInSubtree = compartmentIdInSubtree; + return this; + } + @CustomType.Setter + public Builder displayName(@Nullable String displayName) { + this.displayName = displayName; + return this; + } + @CustomType.Setter + public Builder displayNameContains(@Nullable String displayNameContains) { + this.displayNameContains = displayNameContains; + return this; + } + @CustomType.Setter + public Builder filters(@Nullable List filters) { + this.filters = filters; + return this; + } + public Builder filters(GetAtCustomerCccInfrastructuresFilter... filters) { + return filters(List.of(filters)); + } + @CustomType.Setter + public Builder id(String id) { + this.id = Objects.requireNonNull(id); + return this; + } + @CustomType.Setter + public Builder state(@Nullable String state) { + this.state = state; + return this; + } + public GetAtCustomerCccInfrastructuresResult build() { + final var o = new GetAtCustomerCccInfrastructuresResult(); + o.accessLevel = accessLevel; + o.cccInfrastructureCollections = cccInfrastructureCollections; + o.cccInfrastructureId = cccInfrastructureId; + o.compartmentId = compartmentId; + o.compartmentIdInSubtree = compartmentIdInSubtree; + o.displayName = displayName; + o.displayNameContains = displayNameContains; + o.filters = filters; + o.id = id; + o.state = state; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccUpgradeScheduleEvent.java b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccUpgradeScheduleEvent.java new file mode 100644 index 0000000000..e81399acf4 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccUpgradeScheduleEvent.java @@ -0,0 +1,134 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.ComputeCloud.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetAtCustomerCccUpgradeScheduleEvent { + /** + * @return A description of the Compute Cloud@Customer upgrade schedule time block. + * + */ + private String description; + /** + * @return Generated name associated with the event. + * + */ + private String name; + /** + * @return The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations. + * + */ + private String scheduleEventDuration; + /** + * @return Frequency of recurrence of schedule block. When this field is not included, the event is assumed to be a one time occurrence. The frequency field is strictly parsed and must conform to RFC-5545 formatting for recurrences. + * + */ + private String scheduleEventRecurrences; + /** + * @return The date and time when the Compute Cloud@Customer upgrade schedule event starts, inclusive. An RFC3339 formatted UTC datetime string. For an event with recurrences, this is the date that a recurrence can start being applied. + * + */ + private String timeStart; + + private GetAtCustomerCccUpgradeScheduleEvent() {} + /** + * @return A description of the Compute Cloud@Customer upgrade schedule time block. + * + */ + public String description() { + return this.description; + } + /** + * @return Generated name associated with the event. + * + */ + public String name() { + return this.name; + } + /** + * @return The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations. + * + */ + public String scheduleEventDuration() { + return this.scheduleEventDuration; + } + /** + * @return Frequency of recurrence of schedule block. When this field is not included, the event is assumed to be a one time occurrence. The frequency field is strictly parsed and must conform to RFC-5545 formatting for recurrences. + * + */ + public String scheduleEventRecurrences() { + return this.scheduleEventRecurrences; + } + /** + * @return The date and time when the Compute Cloud@Customer upgrade schedule event starts, inclusive. An RFC3339 formatted UTC datetime string. For an event with recurrences, this is the date that a recurrence can start being applied. + * + */ + public String timeStart() { + return this.timeStart; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAtCustomerCccUpgradeScheduleEvent defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String description; + private String name; + private String scheduleEventDuration; + private String scheduleEventRecurrences; + private String timeStart; + public Builder() {} + public Builder(GetAtCustomerCccUpgradeScheduleEvent defaults) { + Objects.requireNonNull(defaults); + this.description = defaults.description; + this.name = defaults.name; + this.scheduleEventDuration = defaults.scheduleEventDuration; + this.scheduleEventRecurrences = defaults.scheduleEventRecurrences; + this.timeStart = defaults.timeStart; + } + + @CustomType.Setter + public Builder description(String description) { + this.description = Objects.requireNonNull(description); + return this; + } + @CustomType.Setter + public Builder name(String name) { + this.name = Objects.requireNonNull(name); + return this; + } + @CustomType.Setter + public Builder scheduleEventDuration(String scheduleEventDuration) { + this.scheduleEventDuration = Objects.requireNonNull(scheduleEventDuration); + return this; + } + @CustomType.Setter + public Builder scheduleEventRecurrences(String scheduleEventRecurrences) { + this.scheduleEventRecurrences = Objects.requireNonNull(scheduleEventRecurrences); + return this; + } + @CustomType.Setter + public Builder timeStart(String timeStart) { + this.timeStart = Objects.requireNonNull(timeStart); + return this; + } + public GetAtCustomerCccUpgradeScheduleEvent build() { + final var o = new GetAtCustomerCccUpgradeScheduleEvent(); + o.description = description; + o.name = name; + o.scheduleEventDuration = scheduleEventDuration; + o.scheduleEventRecurrences = scheduleEventRecurrences; + o.timeStart = timeStart; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccUpgradeScheduleResult.java b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccUpgradeScheduleResult.java new file mode 100644 index 0000000000..76f2a37317 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccUpgradeScheduleResult.java @@ -0,0 +1,316 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.ComputeCloud.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.oci.ComputeCloud.outputs.GetAtCustomerCccUpgradeScheduleEvent; +import java.lang.Object; +import java.lang.String; +import java.util.List; +import java.util.Map; +import java.util.Objects; + +@CustomType +public final class GetAtCustomerCccUpgradeScheduleResult { + private String cccUpgradeScheduleId; + /** + * @return Compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Compute Cloud@Customer upgrade schedule. + * + */ + private String compartmentId; + /** + * @return Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + * + */ + private Map definedTags; + /** + * @return A description of the Compute Cloud@Customer upgrade schedule time block. + * + */ + private String description; + /** + * @return Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information. + * + */ + private String displayName; + /** + * @return List of preferred times for Compute Cloud@Customer infrastructures associated with this schedule to be upgraded. + * + */ + private List events; + /** + * @return Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + * + */ + private Map freeformTags; + /** + * @return Upgrade schedule [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). This cannot be changed once created. + * + */ + private String id; + /** + * @return List of Compute Cloud@Customer infrastructure [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that are using this upgrade schedule. + * + */ + private List infrastructureIds; + /** + * @return A message describing the current state in more detail. For example, the message can be used to provide actionable information for a resource in a Failed state. + * + */ + private String lifecycleDetails; + /** + * @return Lifecycle state of the resource. + * + */ + private String state; + /** + * @return System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + * + */ + private Map systemTags; + /** + * @return The time the upgrade schedule was created, using an RFC3339 formatted datetime string. + * + */ + private String timeCreated; + /** + * @return The time the upgrade schedule was updated, using an RFC3339 formatted datetime string. + * + */ + private String timeUpdated; + + private GetAtCustomerCccUpgradeScheduleResult() {} + public String cccUpgradeScheduleId() { + return this.cccUpgradeScheduleId; + } + /** + * @return Compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Compute Cloud@Customer upgrade schedule. + * + */ + public String compartmentId() { + return this.compartmentId; + } + /** + * @return Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + * + */ + public Map definedTags() { + return this.definedTags; + } + /** + * @return A description of the Compute Cloud@Customer upgrade schedule time block. + * + */ + public String description() { + return this.description; + } + /** + * @return Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information. + * + */ + public String displayName() { + return this.displayName; + } + /** + * @return List of preferred times for Compute Cloud@Customer infrastructures associated with this schedule to be upgraded. + * + */ + public List events() { + return this.events; + } + /** + * @return Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + * + */ + public Map freeformTags() { + return this.freeformTags; + } + /** + * @return Upgrade schedule [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). This cannot be changed once created. + * + */ + public String id() { + return this.id; + } + /** + * @return List of Compute Cloud@Customer infrastructure [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that are using this upgrade schedule. + * + */ + public List infrastructureIds() { + return this.infrastructureIds; + } + /** + * @return A message describing the current state in more detail. For example, the message can be used to provide actionable information for a resource in a Failed state. + * + */ + public String lifecycleDetails() { + return this.lifecycleDetails; + } + /** + * @return Lifecycle state of the resource. + * + */ + public String state() { + return this.state; + } + /** + * @return System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + * + */ + public Map systemTags() { + return this.systemTags; + } + /** + * @return The time the upgrade schedule was created, using an RFC3339 formatted datetime string. + * + */ + public String timeCreated() { + return this.timeCreated; + } + /** + * @return The time the upgrade schedule was updated, using an RFC3339 formatted datetime string. + * + */ + public String timeUpdated() { + return this.timeUpdated; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAtCustomerCccUpgradeScheduleResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String cccUpgradeScheduleId; + private String compartmentId; + private Map definedTags; + private String description; + private String displayName; + private List events; + private Map freeformTags; + private String id; + private List infrastructureIds; + private String lifecycleDetails; + private String state; + private Map systemTags; + private String timeCreated; + private String timeUpdated; + public Builder() {} + public Builder(GetAtCustomerCccUpgradeScheduleResult defaults) { + Objects.requireNonNull(defaults); + this.cccUpgradeScheduleId = defaults.cccUpgradeScheduleId; + this.compartmentId = defaults.compartmentId; + this.definedTags = defaults.definedTags; + this.description = defaults.description; + this.displayName = defaults.displayName; + this.events = defaults.events; + this.freeformTags = defaults.freeformTags; + this.id = defaults.id; + this.infrastructureIds = defaults.infrastructureIds; + this.lifecycleDetails = defaults.lifecycleDetails; + this.state = defaults.state; + this.systemTags = defaults.systemTags; + this.timeCreated = defaults.timeCreated; + this.timeUpdated = defaults.timeUpdated; + } + + @CustomType.Setter + public Builder cccUpgradeScheduleId(String cccUpgradeScheduleId) { + this.cccUpgradeScheduleId = Objects.requireNonNull(cccUpgradeScheduleId); + return this; + } + @CustomType.Setter + public Builder compartmentId(String compartmentId) { + this.compartmentId = Objects.requireNonNull(compartmentId); + return this; + } + @CustomType.Setter + public Builder definedTags(Map definedTags) { + this.definedTags = Objects.requireNonNull(definedTags); + return this; + } + @CustomType.Setter + public Builder description(String description) { + this.description = Objects.requireNonNull(description); + return this; + } + @CustomType.Setter + public Builder displayName(String displayName) { + this.displayName = Objects.requireNonNull(displayName); + return this; + } + @CustomType.Setter + public Builder events(List events) { + this.events = Objects.requireNonNull(events); + return this; + } + public Builder events(GetAtCustomerCccUpgradeScheduleEvent... events) { + return events(List.of(events)); + } + @CustomType.Setter + public Builder freeformTags(Map freeformTags) { + this.freeformTags = Objects.requireNonNull(freeformTags); + return this; + } + @CustomType.Setter + public Builder id(String id) { + this.id = Objects.requireNonNull(id); + return this; + } + @CustomType.Setter + public Builder infrastructureIds(List infrastructureIds) { + this.infrastructureIds = Objects.requireNonNull(infrastructureIds); + return this; + } + public Builder infrastructureIds(String... infrastructureIds) { + return infrastructureIds(List.of(infrastructureIds)); + } + @CustomType.Setter + public Builder lifecycleDetails(String lifecycleDetails) { + this.lifecycleDetails = Objects.requireNonNull(lifecycleDetails); + return this; + } + @CustomType.Setter + public Builder state(String state) { + this.state = Objects.requireNonNull(state); + return this; + } + @CustomType.Setter + public Builder systemTags(Map systemTags) { + this.systemTags = Objects.requireNonNull(systemTags); + return this; + } + @CustomType.Setter + public Builder timeCreated(String timeCreated) { + this.timeCreated = Objects.requireNonNull(timeCreated); + return this; + } + @CustomType.Setter + public Builder timeUpdated(String timeUpdated) { + this.timeUpdated = Objects.requireNonNull(timeUpdated); + return this; + } + public GetAtCustomerCccUpgradeScheduleResult build() { + final var o = new GetAtCustomerCccUpgradeScheduleResult(); + o.cccUpgradeScheduleId = cccUpgradeScheduleId; + o.compartmentId = compartmentId; + o.definedTags = definedTags; + o.description = description; + o.displayName = displayName; + o.events = events; + o.freeformTags = freeformTags; + o.id = id; + o.infrastructureIds = infrastructureIds; + o.lifecycleDetails = lifecycleDetails; + o.state = state; + o.systemTags = systemTags; + o.timeCreated = timeCreated; + o.timeUpdated = timeUpdated; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollection.java b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollection.java new file mode 100644 index 0000000000..a519769a6c --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollection.java @@ -0,0 +1,50 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.ComputeCloud.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.oci.ComputeCloud.outputs.GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItem; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollection { + private List items; + + private GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollection() {} + public List items() { + return this.items; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollection defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List items; + public Builder() {} + public Builder(GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollection defaults) { + Objects.requireNonNull(defaults); + this.items = defaults.items; + } + + @CustomType.Setter + public Builder items(List items) { + this.items = Objects.requireNonNull(items); + return this; + } + public Builder items(GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItem... items) { + return items(List.of(items)); + } + public GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollection build() { + final var o = new GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollection(); + o.items = items; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItem.java b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItem.java new file mode 100644 index 0000000000..f4e0a0b299 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItem.java @@ -0,0 +1,304 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.ComputeCloud.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.oci.ComputeCloud.outputs.GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEvent; +import java.lang.Object; +import java.lang.String; +import java.util.List; +import java.util.Map; +import java.util.Objects; + +@CustomType +public final class GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItem { + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + * + */ + private String compartmentId; + /** + * @return Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + * + */ + private Map definedTags; + /** + * @return A description of the Compute Cloud@Customer upgrade schedule time block. + * + */ + private String description; + /** + * @return A filter to return only resources that match the entire display name given. + * + */ + private String displayName; + /** + * @return List of preferred times for Compute Cloud@Customer infrastructures associated with this schedule to be upgraded. + * + */ + private List events; + /** + * @return Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + * + */ + private Map freeformTags; + /** + * @return Upgrade schedule [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). This cannot be changed once created. + * + */ + private String id; + /** + * @return List of Compute Cloud@Customer infrastructure [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that are using this upgrade schedule. + * + */ + private List infrastructureIds; + /** + * @return A message describing the current state in more detail. For example, the message can be used to provide actionable information for a resource in a Failed state. + * + */ + private String lifecycleDetails; + /** + * @return A filter to return resources only when their lifecycleState matches the given lifecycleState. + * + */ + private String state; + /** + * @return System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + * + */ + private Map systemTags; + /** + * @return The time the upgrade schedule was created, using an RFC3339 formatted datetime string. + * + */ + private String timeCreated; + /** + * @return The time the upgrade schedule was updated, using an RFC3339 formatted datetime string. + * + */ + private String timeUpdated; + + private GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItem() {} + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + * + */ + public String compartmentId() { + return this.compartmentId; + } + /** + * @return Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + * + */ + public Map definedTags() { + return this.definedTags; + } + /** + * @return A description of the Compute Cloud@Customer upgrade schedule time block. + * + */ + public String description() { + return this.description; + } + /** + * @return A filter to return only resources that match the entire display name given. + * + */ + public String displayName() { + return this.displayName; + } + /** + * @return List of preferred times for Compute Cloud@Customer infrastructures associated with this schedule to be upgraded. + * + */ + public List events() { + return this.events; + } + /** + * @return Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + * + */ + public Map freeformTags() { + return this.freeformTags; + } + /** + * @return Upgrade schedule [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). This cannot be changed once created. + * + */ + public String id() { + return this.id; + } + /** + * @return List of Compute Cloud@Customer infrastructure [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that are using this upgrade schedule. + * + */ + public List infrastructureIds() { + return this.infrastructureIds; + } + /** + * @return A message describing the current state in more detail. For example, the message can be used to provide actionable information for a resource in a Failed state. + * + */ + public String lifecycleDetails() { + return this.lifecycleDetails; + } + /** + * @return A filter to return resources only when their lifecycleState matches the given lifecycleState. + * + */ + public String state() { + return this.state; + } + /** + * @return System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + * + */ + public Map systemTags() { + return this.systemTags; + } + /** + * @return The time the upgrade schedule was created, using an RFC3339 formatted datetime string. + * + */ + public String timeCreated() { + return this.timeCreated; + } + /** + * @return The time the upgrade schedule was updated, using an RFC3339 formatted datetime string. + * + */ + public String timeUpdated() { + return this.timeUpdated; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItem defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String compartmentId; + private Map definedTags; + private String description; + private String displayName; + private List events; + private Map freeformTags; + private String id; + private List infrastructureIds; + private String lifecycleDetails; + private String state; + private Map systemTags; + private String timeCreated; + private String timeUpdated; + public Builder() {} + public Builder(GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItem defaults) { + Objects.requireNonNull(defaults); + this.compartmentId = defaults.compartmentId; + this.definedTags = defaults.definedTags; + this.description = defaults.description; + this.displayName = defaults.displayName; + this.events = defaults.events; + this.freeformTags = defaults.freeformTags; + this.id = defaults.id; + this.infrastructureIds = defaults.infrastructureIds; + this.lifecycleDetails = defaults.lifecycleDetails; + this.state = defaults.state; + this.systemTags = defaults.systemTags; + this.timeCreated = defaults.timeCreated; + this.timeUpdated = defaults.timeUpdated; + } + + @CustomType.Setter + public Builder compartmentId(String compartmentId) { + this.compartmentId = Objects.requireNonNull(compartmentId); + return this; + } + @CustomType.Setter + public Builder definedTags(Map definedTags) { + this.definedTags = Objects.requireNonNull(definedTags); + return this; + } + @CustomType.Setter + public Builder description(String description) { + this.description = Objects.requireNonNull(description); + return this; + } + @CustomType.Setter + public Builder displayName(String displayName) { + this.displayName = Objects.requireNonNull(displayName); + return this; + } + @CustomType.Setter + public Builder events(List events) { + this.events = Objects.requireNonNull(events); + return this; + } + public Builder events(GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEvent... events) { + return events(List.of(events)); + } + @CustomType.Setter + public Builder freeformTags(Map freeformTags) { + this.freeformTags = Objects.requireNonNull(freeformTags); + return this; + } + @CustomType.Setter + public Builder id(String id) { + this.id = Objects.requireNonNull(id); + return this; + } + @CustomType.Setter + public Builder infrastructureIds(List infrastructureIds) { + this.infrastructureIds = Objects.requireNonNull(infrastructureIds); + return this; + } + public Builder infrastructureIds(String... infrastructureIds) { + return infrastructureIds(List.of(infrastructureIds)); + } + @CustomType.Setter + public Builder lifecycleDetails(String lifecycleDetails) { + this.lifecycleDetails = Objects.requireNonNull(lifecycleDetails); + return this; + } + @CustomType.Setter + public Builder state(String state) { + this.state = Objects.requireNonNull(state); + return this; + } + @CustomType.Setter + public Builder systemTags(Map systemTags) { + this.systemTags = Objects.requireNonNull(systemTags); + return this; + } + @CustomType.Setter + public Builder timeCreated(String timeCreated) { + this.timeCreated = Objects.requireNonNull(timeCreated); + return this; + } + @CustomType.Setter + public Builder timeUpdated(String timeUpdated) { + this.timeUpdated = Objects.requireNonNull(timeUpdated); + return this; + } + public GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItem build() { + final var o = new GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItem(); + o.compartmentId = compartmentId; + o.definedTags = definedTags; + o.description = description; + o.displayName = displayName; + o.events = events; + o.freeformTags = freeformTags; + o.id = id; + o.infrastructureIds = infrastructureIds; + o.lifecycleDetails = lifecycleDetails; + o.state = state; + o.systemTags = systemTags; + o.timeCreated = timeCreated; + o.timeUpdated = timeUpdated; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEvent.java b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEvent.java new file mode 100644 index 0000000000..7adccf7054 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEvent.java @@ -0,0 +1,134 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.ComputeCloud.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEvent { + /** + * @return A description of the Compute Cloud@Customer upgrade schedule time block. + * + */ + private String description; + /** + * @return Generated name associated with the event. + * + */ + private String name; + /** + * @return The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations. + * + */ + private String scheduleEventDuration; + /** + * @return Frequency of recurrence of schedule block. When this field is not included, the event is assumed to be a one time occurrence. The frequency field is strictly parsed and must conform to RFC-5545 formatting for recurrences. + * + */ + private String scheduleEventRecurrences; + /** + * @return The date and time when the Compute Cloud@Customer upgrade schedule event starts, inclusive. An RFC3339 formatted UTC datetime string. For an event with recurrences, this is the date that a recurrence can start being applied. + * + */ + private String timeStart; + + private GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEvent() {} + /** + * @return A description of the Compute Cloud@Customer upgrade schedule time block. + * + */ + public String description() { + return this.description; + } + /** + * @return Generated name associated with the event. + * + */ + public String name() { + return this.name; + } + /** + * @return The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations. + * + */ + public String scheduleEventDuration() { + return this.scheduleEventDuration; + } + /** + * @return Frequency of recurrence of schedule block. When this field is not included, the event is assumed to be a one time occurrence. The frequency field is strictly parsed and must conform to RFC-5545 formatting for recurrences. + * + */ + public String scheduleEventRecurrences() { + return this.scheduleEventRecurrences; + } + /** + * @return The date and time when the Compute Cloud@Customer upgrade schedule event starts, inclusive. An RFC3339 formatted UTC datetime string. For an event with recurrences, this is the date that a recurrence can start being applied. + * + */ + public String timeStart() { + return this.timeStart; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEvent defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String description; + private String name; + private String scheduleEventDuration; + private String scheduleEventRecurrences; + private String timeStart; + public Builder() {} + public Builder(GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEvent defaults) { + Objects.requireNonNull(defaults); + this.description = defaults.description; + this.name = defaults.name; + this.scheduleEventDuration = defaults.scheduleEventDuration; + this.scheduleEventRecurrences = defaults.scheduleEventRecurrences; + this.timeStart = defaults.timeStart; + } + + @CustomType.Setter + public Builder description(String description) { + this.description = Objects.requireNonNull(description); + return this; + } + @CustomType.Setter + public Builder name(String name) { + this.name = Objects.requireNonNull(name); + return this; + } + @CustomType.Setter + public Builder scheduleEventDuration(String scheduleEventDuration) { + this.scheduleEventDuration = Objects.requireNonNull(scheduleEventDuration); + return this; + } + @CustomType.Setter + public Builder scheduleEventRecurrences(String scheduleEventRecurrences) { + this.scheduleEventRecurrences = Objects.requireNonNull(scheduleEventRecurrences); + return this; + } + @CustomType.Setter + public Builder timeStart(String timeStart) { + this.timeStart = Objects.requireNonNull(timeStart); + return this; + } + public GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEvent build() { + final var o = new GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEvent(); + o.description = description; + o.name = name; + o.scheduleEventDuration = scheduleEventDuration; + o.scheduleEventRecurrences = scheduleEventRecurrences; + o.timeStart = timeStart; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccUpgradeSchedulesFilter.java b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccUpgradeSchedulesFilter.java new file mode 100644 index 0000000000..c0be6572cf --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccUpgradeSchedulesFilter.java @@ -0,0 +1,85 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.ComputeCloud.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetAtCustomerCccUpgradeSchedulesFilter { + /** + * @return Generated name associated with the event. + * + */ + private String name; + private @Nullable Boolean regex; + private List values; + + private GetAtCustomerCccUpgradeSchedulesFilter() {} + /** + * @return Generated name associated with the event. + * + */ + public String name() { + return this.name; + } + public Optional regex() { + return Optional.ofNullable(this.regex); + } + public List values() { + return this.values; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAtCustomerCccUpgradeSchedulesFilter defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String name; + private @Nullable Boolean regex; + private List values; + public Builder() {} + public Builder(GetAtCustomerCccUpgradeSchedulesFilter defaults) { + Objects.requireNonNull(defaults); + this.name = defaults.name; + this.regex = defaults.regex; + this.values = defaults.values; + } + + @CustomType.Setter + public Builder name(String name) { + this.name = Objects.requireNonNull(name); + return this; + } + @CustomType.Setter + public Builder regex(@Nullable Boolean regex) { + this.regex = regex; + return this; + } + @CustomType.Setter + public Builder values(List values) { + this.values = Objects.requireNonNull(values); + return this; + } + public Builder values(String... values) { + return values(List.of(values)); + } + public GetAtCustomerCccUpgradeSchedulesFilter build() { + final var o = new GetAtCustomerCccUpgradeSchedulesFilter(); + o.name = name; + o.regex = regex; + o.values = values; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccUpgradeSchedulesResult.java b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccUpgradeSchedulesResult.java new file mode 100644 index 0000000000..d2a123e235 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/ComputeCloud/outputs/GetAtCustomerCccUpgradeSchedulesResult.java @@ -0,0 +1,206 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.ComputeCloud.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.oci.ComputeCloud.outputs.GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollection; +import com.pulumi.oci.ComputeCloud.outputs.GetAtCustomerCccUpgradeSchedulesFilter; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetAtCustomerCccUpgradeSchedulesResult { + private @Nullable String accessLevel; + /** + * @return The list of ccc_upgrade_schedule_collection. + * + */ + private List cccUpgradeScheduleCollections; + private @Nullable String cccUpgradeScheduleId; + /** + * @return Compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Compute Cloud@Customer upgrade schedule. + * + */ + private @Nullable String compartmentId; + private @Nullable Boolean compartmentIdInSubtree; + /** + * @return Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information. + * + */ + private @Nullable String displayName; + private @Nullable String displayNameContains; + private @Nullable List filters; + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + private String id; + /** + * @return Lifecycle state of the resource. + * + */ + private @Nullable String state; + + private GetAtCustomerCccUpgradeSchedulesResult() {} + public Optional accessLevel() { + return Optional.ofNullable(this.accessLevel); + } + /** + * @return The list of ccc_upgrade_schedule_collection. + * + */ + public List cccUpgradeScheduleCollections() { + return this.cccUpgradeScheduleCollections; + } + public Optional cccUpgradeScheduleId() { + return Optional.ofNullable(this.cccUpgradeScheduleId); + } + /** + * @return Compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Compute Cloud@Customer upgrade schedule. + * + */ + public Optional compartmentId() { + return Optional.ofNullable(this.compartmentId); + } + public Optional compartmentIdInSubtree() { + return Optional.ofNullable(this.compartmentIdInSubtree); + } + /** + * @return Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information. + * + */ + public Optional displayName() { + return Optional.ofNullable(this.displayName); + } + public Optional displayNameContains() { + return Optional.ofNullable(this.displayNameContains); + } + public List filters() { + return this.filters == null ? List.of() : this.filters; + } + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + public String id() { + return this.id; + } + /** + * @return Lifecycle state of the resource. + * + */ + public Optional state() { + return Optional.ofNullable(this.state); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAtCustomerCccUpgradeSchedulesResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String accessLevel; + private List cccUpgradeScheduleCollections; + private @Nullable String cccUpgradeScheduleId; + private @Nullable String compartmentId; + private @Nullable Boolean compartmentIdInSubtree; + private @Nullable String displayName; + private @Nullable String displayNameContains; + private @Nullable List filters; + private String id; + private @Nullable String state; + public Builder() {} + public Builder(GetAtCustomerCccUpgradeSchedulesResult defaults) { + Objects.requireNonNull(defaults); + this.accessLevel = defaults.accessLevel; + this.cccUpgradeScheduleCollections = defaults.cccUpgradeScheduleCollections; + this.cccUpgradeScheduleId = defaults.cccUpgradeScheduleId; + this.compartmentId = defaults.compartmentId; + this.compartmentIdInSubtree = defaults.compartmentIdInSubtree; + this.displayName = defaults.displayName; + this.displayNameContains = defaults.displayNameContains; + this.filters = defaults.filters; + this.id = defaults.id; + this.state = defaults.state; + } + + @CustomType.Setter + public Builder accessLevel(@Nullable String accessLevel) { + this.accessLevel = accessLevel; + return this; + } + @CustomType.Setter + public Builder cccUpgradeScheduleCollections(List cccUpgradeScheduleCollections) { + this.cccUpgradeScheduleCollections = Objects.requireNonNull(cccUpgradeScheduleCollections); + return this; + } + public Builder cccUpgradeScheduleCollections(GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollection... cccUpgradeScheduleCollections) { + return cccUpgradeScheduleCollections(List.of(cccUpgradeScheduleCollections)); + } + @CustomType.Setter + public Builder cccUpgradeScheduleId(@Nullable String cccUpgradeScheduleId) { + this.cccUpgradeScheduleId = cccUpgradeScheduleId; + return this; + } + @CustomType.Setter + public Builder compartmentId(@Nullable String compartmentId) { + this.compartmentId = compartmentId; + return this; + } + @CustomType.Setter + public Builder compartmentIdInSubtree(@Nullable Boolean compartmentIdInSubtree) { + this.compartmentIdInSubtree = compartmentIdInSubtree; + return this; + } + @CustomType.Setter + public Builder displayName(@Nullable String displayName) { + this.displayName = displayName; + return this; + } + @CustomType.Setter + public Builder displayNameContains(@Nullable String displayNameContains) { + this.displayNameContains = displayNameContains; + return this; + } + @CustomType.Setter + public Builder filters(@Nullable List filters) { + this.filters = filters; + return this; + } + public Builder filters(GetAtCustomerCccUpgradeSchedulesFilter... filters) { + return filters(List.of(filters)); + } + @CustomType.Setter + public Builder id(String id) { + this.id = Objects.requireNonNull(id); + return this; + } + @CustomType.Setter + public Builder state(@Nullable String state) { + this.state = state; + return this; + } + public GetAtCustomerCccUpgradeSchedulesResult build() { + final var o = new GetAtCustomerCccUpgradeSchedulesResult(); + o.accessLevel = accessLevel; + o.cccUpgradeScheduleCollections = cccUpgradeScheduleCollections; + o.cccUpgradeScheduleId = cccUpgradeScheduleId; + o.compartmentId = compartmentId; + o.compartmentIdInSubtree = compartmentIdInSubtree; + o.displayName = displayName; + o.displayNameContains = displayNameContains; + o.filters = filters; + o.id = id; + o.state = state; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Core/Instance.java b/sdk/java/src/main/java/com/pulumi/oci/Core/Instance.java index 7a5d521e63..f602cdc1e0 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Core/Instance.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Core/Instance.java @@ -244,17 +244,9 @@ public Output> definedTags() { public Output displayName() { return this.displayName; } - /** - * Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the `metadata` object. - * - */ @Export(name="extendedMetadata", refs={Map.class,String.class,Object.class}, tree="[0,1,2]") private Output> extendedMetadata; - /** - * @return Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the `metadata` object. - * - */ public Output> extendedMetadata() { return this.extendedMetadata; } diff --git a/sdk/java/src/main/java/com/pulumi/oci/Core/InstanceArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Core/InstanceArgs.java index 6023cffafd..ad354fe742 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Core/InstanceArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Core/InstanceArgs.java @@ -184,17 +184,9 @@ public Optional> displayName() { return Optional.ofNullable(this.displayName); } - /** - * Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the `metadata` object. - * - */ @Import(name="extendedMetadata") private @Nullable Output> extendedMetadata; - /** - * @return Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the `metadata` object. - * - */ public Optional>> extendedMetadata() { return Optional.ofNullable(this.extendedMetadata); } @@ -935,23 +927,11 @@ public Builder displayName(String displayName) { return displayName(Output.of(displayName)); } - /** - * @param extendedMetadata Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the `metadata` object. - * - * @return builder - * - */ public Builder extendedMetadata(@Nullable Output> extendedMetadata) { $.extendedMetadata = extendedMetadata; return this; } - /** - * @param extendedMetadata Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the `metadata` object. - * - * @return builder - * - */ public Builder extendedMetadata(Map extendedMetadata) { return extendedMetadata(Output.of(extendedMetadata)); } diff --git a/sdk/java/src/main/java/com/pulumi/oci/Core/ListingResourceVersionAgreement.java b/sdk/java/src/main/java/com/pulumi/oci/Core/ListingResourceVersionAgreement.java index 8de24bc6bd..ef7f78ecad 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Core/ListingResourceVersionAgreement.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Core/ListingResourceVersionAgreement.java @@ -13,41 +13,124 @@ import java.lang.String; import javax.annotation.Nullable; +/** + * The `oci.Core.AppCatalogListingResourceVersionAgreement` resource creates AppCatalogListingResourceVersionAgreement for a particular resource version of a listing. + * + * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.oci.Core.AppCatalogListingResourceVersionAgreement; + * import com.pulumi.oci.Core.AppCatalogListingResourceVersionAgreementArgs; + * 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 testAppCatalogListingResourceVersionAgreement = new AppCatalogListingResourceVersionAgreement("testAppCatalogListingResourceVersionAgreement", AppCatalogListingResourceVersionAgreementArgs.builder() + * .listingId(data.oci_core_app_catalog_listing().test_listing().id()) + * .listingResourceVersion(var_.app_catalog_listing_resource_version_agreement_listing_resource_version()) + * .build()); + * + * } + * } + * ``` + * + */ @ResourceType(type="oci:Core/listingResourceVersionAgreement:ListingResourceVersionAgreement") public class ListingResourceVersionAgreement extends com.pulumi.resources.CustomResource { + /** + * EULA link + * + */ @Export(name="eulaLink", refs={String.class}, tree="[0]") private Output eulaLink; + /** + * @return EULA link + * + */ public Output eulaLink() { return this.eulaLink; } + /** + * The OCID of the listing. + * + */ @Export(name="listingId", refs={String.class}, tree="[0]") private Output listingId; + /** + * @return The OCID of the listing. + * + */ public Output listingId() { return this.listingId; } + /** + * Listing Resource Version. + * + */ @Export(name="listingResourceVersion", refs={String.class}, tree="[0]") private Output listingResourceVersion; + /** + * @return Listing Resource Version. + * + */ public Output listingResourceVersion() { return this.listingResourceVersion; } + /** + * Oracle TOU link + * + */ @Export(name="oracleTermsOfUseLink", refs={String.class}, tree="[0]") private Output oracleTermsOfUseLink; + /** + * @return Oracle TOU link + * + */ public Output oracleTermsOfUseLink() { return this.oracleTermsOfUseLink; } + /** + * A generated signature for this agreement retrieval operation which should be used in the create subscription call. + * + */ @Export(name="signature", refs={String.class}, tree="[0]") private Output signature; + /** + * @return A generated signature for this agreement retrieval operation which should be used in the create subscription call. + * + */ public Output signature() { return this.signature; } + /** + * Date and time the agreements were retrieved, in RFC3339 format. Example: `2018-03-20T12:32:53.532Z` + * + */ @Export(name="timeRetrieved", refs={String.class}, tree="[0]") private Output timeRetrieved; + /** + * @return Date and time the agreements were retrieved, in RFC3339 format. Example: `2018-03-20T12:32:53.532Z` + * + */ public Output timeRetrieved() { return this.timeRetrieved; } diff --git a/sdk/java/src/main/java/com/pulumi/oci/Core/ListingResourceVersionAgreementArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Core/ListingResourceVersionAgreementArgs.java index 84cc1018f6..555b08e35d 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Core/ListingResourceVersionAgreementArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Core/ListingResourceVersionAgreementArgs.java @@ -13,16 +13,32 @@ public final class ListingResourceVersionAgreementArgs extends com.pulumi.resour public static final ListingResourceVersionAgreementArgs Empty = new ListingResourceVersionAgreementArgs(); + /** + * The OCID of the listing. + * + */ @Import(name="listingId", required=true) private Output listingId; + /** + * @return The OCID of the listing. + * + */ public Output listingId() { return this.listingId; } + /** + * Listing Resource Version. + * + */ @Import(name="listingResourceVersion", required=true) private Output listingResourceVersion; + /** + * @return Listing Resource Version. + * + */ public Output listingResourceVersion() { return this.listingResourceVersion; } @@ -52,20 +68,44 @@ public Builder(ListingResourceVersionAgreementArgs defaults) { $ = new ListingResourceVersionAgreementArgs(Objects.requireNonNull(defaults)); } + /** + * @param listingId The OCID of the listing. + * + * @return builder + * + */ public Builder listingId(Output listingId) { $.listingId = listingId; return this; } + /** + * @param listingId The OCID of the listing. + * + * @return builder + * + */ public Builder listingId(String listingId) { return listingId(Output.of(listingId)); } + /** + * @param listingResourceVersion Listing Resource Version. + * + * @return builder + * + */ public Builder listingResourceVersion(Output listingResourceVersion) { $.listingResourceVersion = listingResourceVersion; return this; } + /** + * @param listingResourceVersion Listing Resource Version. + * + * @return builder + * + */ public Builder listingResourceVersion(String listingResourceVersion) { return listingResourceVersion(Output.of(listingResourceVersion)); } diff --git a/sdk/java/src/main/java/com/pulumi/oci/Core/inputs/InstanceState.java b/sdk/java/src/main/java/com/pulumi/oci/Core/inputs/InstanceState.java index e3c01317e5..839dcbd455 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Core/inputs/InstanceState.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Core/inputs/InstanceState.java @@ -199,17 +199,9 @@ public Optional> displayName() { return Optional.ofNullable(this.displayName); } - /** - * Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the `metadata` object. - * - */ @Import(name="extendedMetadata") private @Nullable Output> extendedMetadata; - /** - * @return Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the `metadata` object. - * - */ public Optional>> extendedMetadata() { return Optional.ofNullable(this.extendedMetadata); } @@ -1108,23 +1100,11 @@ public Builder displayName(String displayName) { return displayName(Output.of(displayName)); } - /** - * @param extendedMetadata Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the `metadata` object. - * - * @return builder - * - */ public Builder extendedMetadata(@Nullable Output> extendedMetadata) { $.extendedMetadata = extendedMetadata; return this; } - /** - * @param extendedMetadata Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the `metadata` object. - * - * @return builder - * - */ public Builder extendedMetadata(Map extendedMetadata) { return extendedMetadata(Output.of(extendedMetadata)); } diff --git a/sdk/java/src/main/java/com/pulumi/oci/Core/inputs/ListingResourceVersionAgreementState.java b/sdk/java/src/main/java/com/pulumi/oci/Core/inputs/ListingResourceVersionAgreementState.java index af45700ed9..be0f660c38 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Core/inputs/ListingResourceVersionAgreementState.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Core/inputs/ListingResourceVersionAgreementState.java @@ -15,44 +15,92 @@ public final class ListingResourceVersionAgreementState extends com.pulumi.resou public static final ListingResourceVersionAgreementState Empty = new ListingResourceVersionAgreementState(); + /** + * EULA link + * + */ @Import(name="eulaLink") private @Nullable Output eulaLink; + /** + * @return EULA link + * + */ public Optional> eulaLink() { return Optional.ofNullable(this.eulaLink); } + /** + * The OCID of the listing. + * + */ @Import(name="listingId") private @Nullable Output listingId; + /** + * @return The OCID of the listing. + * + */ public Optional> listingId() { return Optional.ofNullable(this.listingId); } + /** + * Listing Resource Version. + * + */ @Import(name="listingResourceVersion") private @Nullable Output listingResourceVersion; + /** + * @return Listing Resource Version. + * + */ public Optional> listingResourceVersion() { return Optional.ofNullable(this.listingResourceVersion); } + /** + * Oracle TOU link + * + */ @Import(name="oracleTermsOfUseLink") private @Nullable Output oracleTermsOfUseLink; + /** + * @return Oracle TOU link + * + */ public Optional> oracleTermsOfUseLink() { return Optional.ofNullable(this.oracleTermsOfUseLink); } + /** + * A generated signature for this agreement retrieval operation which should be used in the create subscription call. + * + */ @Import(name="signature") private @Nullable Output signature; + /** + * @return A generated signature for this agreement retrieval operation which should be used in the create subscription call. + * + */ public Optional> signature() { return Optional.ofNullable(this.signature); } + /** + * Date and time the agreements were retrieved, in RFC3339 format. Example: `2018-03-20T12:32:53.532Z` + * + */ @Import(name="timeRetrieved") private @Nullable Output timeRetrieved; + /** + * @return Date and time the agreements were retrieved, in RFC3339 format. Example: `2018-03-20T12:32:53.532Z` + * + */ public Optional> timeRetrieved() { return Optional.ofNullable(this.timeRetrieved); } @@ -86,56 +134,128 @@ public Builder(ListingResourceVersionAgreementState defaults) { $ = new ListingResourceVersionAgreementState(Objects.requireNonNull(defaults)); } + /** + * @param eulaLink EULA link + * + * @return builder + * + */ public Builder eulaLink(@Nullable Output eulaLink) { $.eulaLink = eulaLink; return this; } + /** + * @param eulaLink EULA link + * + * @return builder + * + */ public Builder eulaLink(String eulaLink) { return eulaLink(Output.of(eulaLink)); } + /** + * @param listingId The OCID of the listing. + * + * @return builder + * + */ public Builder listingId(@Nullable Output listingId) { $.listingId = listingId; return this; } + /** + * @param listingId The OCID of the listing. + * + * @return builder + * + */ public Builder listingId(String listingId) { return listingId(Output.of(listingId)); } + /** + * @param listingResourceVersion Listing Resource Version. + * + * @return builder + * + */ public Builder listingResourceVersion(@Nullable Output listingResourceVersion) { $.listingResourceVersion = listingResourceVersion; return this; } + /** + * @param listingResourceVersion Listing Resource Version. + * + * @return builder + * + */ public Builder listingResourceVersion(String listingResourceVersion) { return listingResourceVersion(Output.of(listingResourceVersion)); } + /** + * @param oracleTermsOfUseLink Oracle TOU link + * + * @return builder + * + */ public Builder oracleTermsOfUseLink(@Nullable Output oracleTermsOfUseLink) { $.oracleTermsOfUseLink = oracleTermsOfUseLink; return this; } + /** + * @param oracleTermsOfUseLink Oracle TOU link + * + * @return builder + * + */ public Builder oracleTermsOfUseLink(String oracleTermsOfUseLink) { return oracleTermsOfUseLink(Output.of(oracleTermsOfUseLink)); } + /** + * @param signature A generated signature for this agreement retrieval operation which should be used in the create subscription call. + * + * @return builder + * + */ public Builder signature(@Nullable Output signature) { $.signature = signature; return this; } + /** + * @param signature A generated signature for this agreement retrieval operation which should be used in the create subscription call. + * + * @return builder + * + */ public Builder signature(String signature) { return signature(Output.of(signature)); } + /** + * @param timeRetrieved Date and time the agreements were retrieved, in RFC3339 format. Example: `2018-03-20T12:32:53.532Z` + * + * @return builder + * + */ public Builder timeRetrieved(@Nullable Output timeRetrieved) { $.timeRetrieved = timeRetrieved; return this; } + /** + * @param timeRetrieved Date and time the agreements were retrieved, in RFC3339 format. Example: `2018-03-20T12:32:53.532Z` + * + * @return builder + * + */ public Builder timeRetrieved(String timeRetrieved) { return timeRetrieved(Output.of(timeRetrieved)); } diff --git a/sdk/java/src/main/java/com/pulumi/oci/DataCatalog/Connection.java b/sdk/java/src/main/java/com/pulumi/oci/DataCatalog/Connection.java index c187f2a9b8..dd0feb91c8 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DataCatalog/Connection.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DataCatalog/Connection.java @@ -197,17 +197,9 @@ public Output isDefault() { public Output key() { return this.key; } - /** - * A map of maps that contains the properties which are specific to the connection type. Each connection type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most connections have required properties within the "default" category. Example: `{"properties": { "default": { "username": "user1"}}}` - * - */ @Export(name="properties", refs={Map.class,String.class,Object.class}, tree="[0,1,2]") private Output> properties; - /** - * @return A map of maps that contains the properties which are specific to the connection type. Each connection type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most connections have required properties within the "default" category. Example: `{"properties": { "default": { "username": "user1"}}}` - * - */ public Output> properties() { return this.properties; } diff --git a/sdk/java/src/main/java/com/pulumi/oci/DataCatalog/ConnectionArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DataCatalog/ConnectionArgs.java index dad64bde43..fb71a5bd0f 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DataCatalog/ConnectionArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DataCatalog/ConnectionArgs.java @@ -108,17 +108,9 @@ public Optional> isDefault() { return Optional.ofNullable(this.isDefault); } - /** - * A map of maps that contains the properties which are specific to the connection type. Each connection type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most connections have required properties within the "default" category. Example: `{"properties": { "default": { "username": "user1"}}}` - * - */ @Import(name="properties", required=true) private Output> properties; - /** - * @return A map of maps that contains the properties which are specific to the connection type. Each connection type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most connections have required properties within the "default" category. Example: `{"properties": { "default": { "username": "user1"}}}` - * - */ public Output> properties() { return this.properties; } @@ -301,23 +293,11 @@ public Builder isDefault(Boolean isDefault) { return isDefault(Output.of(isDefault)); } - /** - * @param properties A map of maps that contains the properties which are specific to the connection type. Each connection type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most connections have required properties within the "default" category. Example: `{"properties": { "default": { "username": "user1"}}}` - * - * @return builder - * - */ public Builder properties(Output> properties) { $.properties = properties; return this; } - /** - * @param properties A map of maps that contains the properties which are specific to the connection type. Each connection type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most connections have required properties within the "default" category. Example: `{"properties": { "default": { "username": "user1"}}}` - * - * @return builder - * - */ public Builder properties(Map properties) { return properties(Output.of(properties)); } diff --git a/sdk/java/src/main/java/com/pulumi/oci/DataCatalog/DataAsset.java b/sdk/java/src/main/java/com/pulumi/oci/DataCatalog/DataAsset.java index f0ac66a2ef..2416d31328 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DataCatalog/DataAsset.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DataCatalog/DataAsset.java @@ -163,17 +163,9 @@ public Output key() { public Output lifecycleDetails() { return this.lifecycleDetails; } - /** - * A map of maps that contains the properties which are specific to the asset type. Each data asset type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most data assets have required properties within the "default" category. Example: `{"properties": { "default": { "host": "host1", "port": "1521", "database": "orcl"}}}` - * - */ @Export(name="properties", refs={Map.class,String.class,Object.class}, tree="[0,1,2]") private Output> properties; - /** - * @return A map of maps that contains the properties which are specific to the asset type. Each data asset type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most data assets have required properties within the "default" category. Example: `{"properties": { "default": { "host": "host1", "port": "1521", "database": "orcl"}}}` - * - */ public Output> properties() { return this.properties; } diff --git a/sdk/java/src/main/java/com/pulumi/oci/DataCatalog/DataAssetArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DataCatalog/DataAssetArgs.java index a83ac11c7e..e53de3260a 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DataCatalog/DataAssetArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DataCatalog/DataAssetArgs.java @@ -62,17 +62,9 @@ public Output displayName() { return this.displayName; } - /** - * A map of maps that contains the properties which are specific to the asset type. Each data asset type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most data assets have required properties within the "default" category. Example: `{"properties": { "default": { "host": "host1", "port": "1521", "database": "orcl"}}}` - * - */ @Import(name="properties") private @Nullable Output> properties; - /** - * @return A map of maps that contains the properties which are specific to the asset type. Each data asset type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most data assets have required properties within the "default" category. Example: `{"properties": { "default": { "host": "host1", "port": "1521", "database": "orcl"}}}` - * - */ public Optional>> properties() { return Optional.ofNullable(this.properties); } @@ -189,23 +181,11 @@ public Builder displayName(String displayName) { return displayName(Output.of(displayName)); } - /** - * @param properties A map of maps that contains the properties which are specific to the asset type. Each data asset type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most data assets have required properties within the "default" category. Example: `{"properties": { "default": { "host": "host1", "port": "1521", "database": "orcl"}}}` - * - * @return builder - * - */ public Builder properties(@Nullable Output> properties) { $.properties = properties; return this; } - /** - * @param properties A map of maps that contains the properties which are specific to the asset type. Each data asset type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most data assets have required properties within the "default" category. Example: `{"properties": { "default": { "host": "host1", "port": "1521", "database": "orcl"}}}` - * - * @return builder - * - */ public Builder properties(Map properties) { return properties(Output.of(properties)); } diff --git a/sdk/java/src/main/java/com/pulumi/oci/DataCatalog/inputs/ConnectionState.java b/sdk/java/src/main/java/com/pulumi/oci/DataCatalog/inputs/ConnectionState.java index 524c10803d..9ce9342943 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DataCatalog/inputs/ConnectionState.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DataCatalog/inputs/ConnectionState.java @@ -153,17 +153,9 @@ public Optional> key() { return Optional.ofNullable(this.key); } - /** - * A map of maps that contains the properties which are specific to the connection type. Each connection type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most connections have required properties within the "default" category. Example: `{"properties": { "default": { "username": "user1"}}}` - * - */ @Import(name="properties") private @Nullable Output> properties; - /** - * @return A map of maps that contains the properties which are specific to the connection type. Each connection type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most connections have required properties within the "default" category. Example: `{"properties": { "default": { "username": "user1"}}}` - * - */ public Optional>> properties() { return Optional.ofNullable(this.properties); } @@ -508,23 +500,11 @@ public Builder key(String key) { return key(Output.of(key)); } - /** - * @param properties A map of maps that contains the properties which are specific to the connection type. Each connection type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most connections have required properties within the "default" category. Example: `{"properties": { "default": { "username": "user1"}}}` - * - * @return builder - * - */ public Builder properties(@Nullable Output> properties) { $.properties = properties; return this; } - /** - * @param properties A map of maps that contains the properties which are specific to the connection type. Each connection type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most connections have required properties within the "default" category. Example: `{"properties": { "default": { "username": "user1"}}}` - * - * @return builder - * - */ public Builder properties(Map properties) { return properties(Output.of(properties)); } diff --git a/sdk/java/src/main/java/com/pulumi/oci/DataCatalog/inputs/DataAssetState.java b/sdk/java/src/main/java/com/pulumi/oci/DataCatalog/inputs/DataAssetState.java index d320849e60..6fec882494 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DataCatalog/inputs/DataAssetState.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DataCatalog/inputs/DataAssetState.java @@ -122,17 +122,9 @@ public Optional> lifecycleDetails() { return Optional.ofNullable(this.lifecycleDetails); } - /** - * A map of maps that contains the properties which are specific to the asset type. Each data asset type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most data assets have required properties within the "default" category. Example: `{"properties": { "default": { "host": "host1", "port": "1521", "database": "orcl"}}}` - * - */ @Import(name="properties") private @Nullable Output> properties; - /** - * @return A map of maps that contains the properties which are specific to the asset type. Each data asset type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most data assets have required properties within the "default" category. Example: `{"properties": { "default": { "host": "host1", "port": "1521", "database": "orcl"}}}` - * - */ public Optional>> properties() { return Optional.ofNullable(this.properties); } @@ -433,23 +425,11 @@ public Builder lifecycleDetails(String lifecycleDetails) { return lifecycleDetails(Output.of(lifecycleDetails)); } - /** - * @param properties A map of maps that contains the properties which are specific to the asset type. Each data asset type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most data assets have required properties within the "default" category. Example: `{"properties": { "default": { "host": "host1", "port": "1521", "database": "orcl"}}}` - * - * @return builder - * - */ public Builder properties(@Nullable Output> properties) { $.properties = properties; return this; } - /** - * @param properties A map of maps that contains the properties which are specific to the asset type. Each data asset type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most data assets have required properties within the "default" category. Example: `{"properties": { "default": { "host": "host1", "port": "1521", "database": "orcl"}}}` - * - * @return builder - * - */ public Builder properties(Map properties) { return properties(Output.of(properties)); } diff --git a/sdk/java/src/main/java/com/pulumi/oci/DataScience/DataScienceFunctions.java b/sdk/java/src/main/java/com/pulumi/oci/DataScience/DataScienceFunctions.java index 4d9cf04bad..835fea0672 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DataScience/DataScienceFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DataScience/DataScienceFunctions.java @@ -49,6 +49,10 @@ import com.pulumi.oci.DataScience.inputs.GetPipelineRunsPlainArgs; import com.pulumi.oci.DataScience.inputs.GetPipelinesArgs; import com.pulumi.oci.DataScience.inputs.GetPipelinesPlainArgs; +import com.pulumi.oci.DataScience.inputs.GetPrivateEndpointArgs; +import com.pulumi.oci.DataScience.inputs.GetPrivateEndpointPlainArgs; +import com.pulumi.oci.DataScience.inputs.GetPrivateEndpointsArgs; +import com.pulumi.oci.DataScience.inputs.GetPrivateEndpointsPlainArgs; import com.pulumi.oci.DataScience.inputs.GetProjectArgs; import com.pulumi.oci.DataScience.inputs.GetProjectPlainArgs; import com.pulumi.oci.DataScience.inputs.GetProjectsArgs; @@ -74,6 +78,8 @@ import com.pulumi.oci.DataScience.outputs.GetPipelineRunResult; import com.pulumi.oci.DataScience.outputs.GetPipelineRunsResult; import com.pulumi.oci.DataScience.outputs.GetPipelinesResult; +import com.pulumi.oci.DataScience.outputs.GetPrivateEndpointResult; +import com.pulumi.oci.DataScience.outputs.GetPrivateEndpointsResult; import com.pulumi.oci.DataScience.outputs.GetProjectResult; import com.pulumi.oci.DataScience.outputs.GetProjectsResult; import com.pulumi.oci.Utilities; @@ -3520,6 +3526,334 @@ public static Output getPipelines(GetPipelinesArgs args, Inv public static CompletableFuture getPipelinesPlain(GetPipelinesPlainArgs args, InvokeOptions options) { return Deployment.getInstance().invokeAsync("oci:DataScience/getPipelines:getPipelines", TypeShape.of(GetPipelinesResult.class), args, Utilities.withVersion(options)); } + /** + * This data source provides details about a specific Data Science Private Endpoint resource in Oracle Cloud Infrastructure Data Science service. + * + * Retrieves an private endpoint using a `privateEndpointId`. + * + * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.oci.DataScience.DataScienceFunctions; + * import com.pulumi.oci.DataScience.inputs.GetPrivateEndpointArgs; + * 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) { + * final var testDataSciencePrivateEndpoint = DataScienceFunctions.getPrivateEndpoint(GetPrivateEndpointArgs.builder() + * .dataSciencePrivateEndpointId(oci_datascience_private_endpoint.test_data_science_private_endpoint().id()) + * .build()); + * + * } + * } + * ``` + * + */ + public static Output getPrivateEndpoint(GetPrivateEndpointArgs args) { + return getPrivateEndpoint(args, InvokeOptions.Empty); + } + /** + * This data source provides details about a specific Data Science Private Endpoint resource in Oracle Cloud Infrastructure Data Science service. + * + * Retrieves an private endpoint using a `privateEndpointId`. + * + * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.oci.DataScience.DataScienceFunctions; + * import com.pulumi.oci.DataScience.inputs.GetPrivateEndpointArgs; + * 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) { + * final var testDataSciencePrivateEndpoint = DataScienceFunctions.getPrivateEndpoint(GetPrivateEndpointArgs.builder() + * .dataSciencePrivateEndpointId(oci_datascience_private_endpoint.test_data_science_private_endpoint().id()) + * .build()); + * + * } + * } + * ``` + * + */ + public static CompletableFuture getPrivateEndpointPlain(GetPrivateEndpointPlainArgs args) { + return getPrivateEndpointPlain(args, InvokeOptions.Empty); + } + /** + * This data source provides details about a specific Data Science Private Endpoint resource in Oracle Cloud Infrastructure Data Science service. + * + * Retrieves an private endpoint using a `privateEndpointId`. + * + * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.oci.DataScience.DataScienceFunctions; + * import com.pulumi.oci.DataScience.inputs.GetPrivateEndpointArgs; + * 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) { + * final var testDataSciencePrivateEndpoint = DataScienceFunctions.getPrivateEndpoint(GetPrivateEndpointArgs.builder() + * .dataSciencePrivateEndpointId(oci_datascience_private_endpoint.test_data_science_private_endpoint().id()) + * .build()); + * + * } + * } + * ``` + * + */ + public static Output getPrivateEndpoint(GetPrivateEndpointArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:DataScience/getPrivateEndpoint:getPrivateEndpoint", TypeShape.of(GetPrivateEndpointResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides details about a specific Data Science Private Endpoint resource in Oracle Cloud Infrastructure Data Science service. + * + * Retrieves an private endpoint using a `privateEndpointId`. + * + * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.oci.DataScience.DataScienceFunctions; + * import com.pulumi.oci.DataScience.inputs.GetPrivateEndpointArgs; + * 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) { + * final var testDataSciencePrivateEndpoint = DataScienceFunctions.getPrivateEndpoint(GetPrivateEndpointArgs.builder() + * .dataSciencePrivateEndpointId(oci_datascience_private_endpoint.test_data_science_private_endpoint().id()) + * .build()); + * + * } + * } + * ``` + * + */ + public static CompletableFuture getPrivateEndpointPlain(GetPrivateEndpointPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:DataScience/getPrivateEndpoint:getPrivateEndpoint", TypeShape.of(GetPrivateEndpointResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Data Science Private Endpoints in Oracle Cloud Infrastructure Data Science service. + * + * Lists all Data Science private endpoints in the specified compartment. The query must include compartmentId. The query can also include one other parameter. If the query doesn't include compartmentId, or includes compartmentId with two or more other parameters, then an error is returned. + * + * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.oci.DataScience.DataScienceFunctions; + * import com.pulumi.oci.DataScience.inputs.GetPrivateEndpointsArgs; + * 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) { + * final var testDataSciencePrivateEndpoints = DataScienceFunctions.getPrivateEndpoints(GetPrivateEndpointsArgs.builder() + * .compartmentId(var_.compartment_id()) + * .createdBy(var_.data_science_private_endpoint_created_by()) + * .dataScienceResourceType(var_.data_science_private_endpoint_data_science_resource_type()) + * .displayName(var_.data_science_private_endpoint_display_name()) + * .state(var_.data_science_private_endpoint_state()) + * .build()); + * + * } + * } + * ``` + * + */ + public static Output getPrivateEndpoints(GetPrivateEndpointsArgs args) { + return getPrivateEndpoints(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Data Science Private Endpoints in Oracle Cloud Infrastructure Data Science service. + * + * Lists all Data Science private endpoints in the specified compartment. The query must include compartmentId. The query can also include one other parameter. If the query doesn't include compartmentId, or includes compartmentId with two or more other parameters, then an error is returned. + * + * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.oci.DataScience.DataScienceFunctions; + * import com.pulumi.oci.DataScience.inputs.GetPrivateEndpointsArgs; + * 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) { + * final var testDataSciencePrivateEndpoints = DataScienceFunctions.getPrivateEndpoints(GetPrivateEndpointsArgs.builder() + * .compartmentId(var_.compartment_id()) + * .createdBy(var_.data_science_private_endpoint_created_by()) + * .dataScienceResourceType(var_.data_science_private_endpoint_data_science_resource_type()) + * .displayName(var_.data_science_private_endpoint_display_name()) + * .state(var_.data_science_private_endpoint_state()) + * .build()); + * + * } + * } + * ``` + * + */ + public static CompletableFuture getPrivateEndpointsPlain(GetPrivateEndpointsPlainArgs args) { + return getPrivateEndpointsPlain(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Data Science Private Endpoints in Oracle Cloud Infrastructure Data Science service. + * + * Lists all Data Science private endpoints in the specified compartment. The query must include compartmentId. The query can also include one other parameter. If the query doesn't include compartmentId, or includes compartmentId with two or more other parameters, then an error is returned. + * + * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.oci.DataScience.DataScienceFunctions; + * import com.pulumi.oci.DataScience.inputs.GetPrivateEndpointsArgs; + * 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) { + * final var testDataSciencePrivateEndpoints = DataScienceFunctions.getPrivateEndpoints(GetPrivateEndpointsArgs.builder() + * .compartmentId(var_.compartment_id()) + * .createdBy(var_.data_science_private_endpoint_created_by()) + * .dataScienceResourceType(var_.data_science_private_endpoint_data_science_resource_type()) + * .displayName(var_.data_science_private_endpoint_display_name()) + * .state(var_.data_science_private_endpoint_state()) + * .build()); + * + * } + * } + * ``` + * + */ + public static Output getPrivateEndpoints(GetPrivateEndpointsArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:DataScience/getPrivateEndpoints:getPrivateEndpoints", TypeShape.of(GetPrivateEndpointsResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Data Science Private Endpoints in Oracle Cloud Infrastructure Data Science service. + * + * Lists all Data Science private endpoints in the specified compartment. The query must include compartmentId. The query can also include one other parameter. If the query doesn't include compartmentId, or includes compartmentId with two or more other parameters, then an error is returned. + * + * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.oci.DataScience.DataScienceFunctions; + * import com.pulumi.oci.DataScience.inputs.GetPrivateEndpointsArgs; + * 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) { + * final var testDataSciencePrivateEndpoints = DataScienceFunctions.getPrivateEndpoints(GetPrivateEndpointsArgs.builder() + * .compartmentId(var_.compartment_id()) + * .createdBy(var_.data_science_private_endpoint_created_by()) + * .dataScienceResourceType(var_.data_science_private_endpoint_data_science_resource_type()) + * .displayName(var_.data_science_private_endpoint_display_name()) + * .state(var_.data_science_private_endpoint_state()) + * .build()); + * + * } + * } + * ``` + * + */ + public static CompletableFuture getPrivateEndpointsPlain(GetPrivateEndpointsPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:DataScience/getPrivateEndpoints:getPrivateEndpoints", TypeShape.of(GetPrivateEndpointsResult.class), args, Utilities.withVersion(options)); + } /** * This data source provides details about a specific Project resource in Oracle Cloud Infrastructure Data Science service. * diff --git a/sdk/java/src/main/java/com/pulumi/oci/DataScience/NotebookSession.java b/sdk/java/src/main/java/com/pulumi/oci/DataScience/NotebookSession.java index 06cc9fa189..b57f13e087 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DataScience/NotebookSession.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DataScience/NotebookSession.java @@ -64,6 +64,7 @@ * .memoryInGbs(var_.notebook_session_notebook_session_config_details_notebook_session_shape_config_details_memory_in_gbs()) * .ocpus(var_.notebook_session_notebook_session_config_details_notebook_session_shape_config_details_ocpus()) * .build()) + * .privateEndpointId(oci_dataflow_private_endpoint.test_private_endpoint().id()) * .subnetId(oci_core_subnet.test_subnet().id()) * .build()) * .notebookSessionConfigurationDetails(NotebookSessionNotebookSessionConfigurationDetailsArgs.builder() @@ -74,6 +75,7 @@ * .memoryInGbs(var_.notebook_session_notebook_session_configuration_details_notebook_session_shape_config_details_memory_in_gbs()) * .ocpus(var_.notebook_session_notebook_session_configuration_details_notebook_session_shape_config_details_ocpus()) * .build()) + * .privateEndpointId(oci_dataflow_private_endpoint.test_private_endpoint().id()) * .build()) * .notebookSessionRuntimeConfigDetails(NotebookSessionNotebookSessionRuntimeConfigDetailsArgs.builder() * .customEnvironmentVariables(var_.notebook_session_notebook_session_runtime_config_details_custom_environment_variables()) diff --git a/sdk/java/src/main/java/com/pulumi/oci/DataScience/PrivateEndpoint.java b/sdk/java/src/main/java/com/pulumi/oci/DataScience/PrivateEndpoint.java new file mode 100644 index 0000000000..ee87f73110 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DataScience/PrivateEndpoint.java @@ -0,0 +1,338 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.DataScience; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Export; +import com.pulumi.core.annotations.ResourceType; +import com.pulumi.core.internal.Codegen; +import com.pulumi.oci.DataScience.PrivateEndpointArgs; +import com.pulumi.oci.DataScience.inputs.PrivateEndpointState; +import com.pulumi.oci.Utilities; +import java.lang.Object; +import java.lang.String; +import java.util.List; +import java.util.Map; +import javax.annotation.Nullable; + +/** + * This resource provides the Data Science Private Endpoint resource in Oracle Cloud Infrastructure Data Science service. + * + * Creates a Data Science private endpoint to be used by a Data Science resource. + * + * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.oci.DataScience.PrivateEndpoint; + * import com.pulumi.oci.DataScience.PrivateEndpointArgs; + * 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 testDataSciencePrivateEndpoint = new PrivateEndpoint("testDataSciencePrivateEndpoint", PrivateEndpointArgs.builder() + * .compartmentId(var_.compartment_id()) + * .dataScienceResourceType(var_.data_science_private_endpoint_data_science_resource_type()) + * .subnetId(oci_core_subnet.test_subnet().id()) + * .definedTags(Map.of("Operations.CostCenter", "42")) + * .description(var_.data_science_private_endpoint_description()) + * .displayName(var_.data_science_private_endpoint_display_name()) + * .freeformTags(Map.of("Department", "Finance")) + * .nsgIds(var_.data_science_private_endpoint_nsg_ids()) + * .subDomain(var_.data_science_private_endpoint_sub_domain()) + * .build()); + * + * } + * } + * ``` + * + * ## Import + * + * DataSciencePrivateEndpoints can be imported using the `id`, e.g. + * + * ```sh + * $ pulumi import oci:DataScience/privateEndpoint:PrivateEndpoint test_data_science_private_endpoint "id" + * ``` + * + */ +@ResourceType(type="oci:DataScience/privateEndpoint:PrivateEndpoint") +public class PrivateEndpoint extends com.pulumi.resources.CustomResource { + /** + * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the private endpoint. + * + */ + @Export(name="compartmentId", refs={String.class}, tree="[0]") + private Output compartmentId; + + /** + * @return (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the private endpoint. + * + */ + public Output compartmentId() { + return this.compartmentId; + } + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user that created the private endpoint. + * + */ + @Export(name="createdBy", refs={String.class}, tree="[0]") + private Output createdBy; + + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user that created the private endpoint. + * + */ + public Output createdBy() { + return this.createdBy; + } + /** + * Data Science resource type. + * + */ + @Export(name="dataScienceResourceType", refs={String.class}, tree="[0]") + private Output dataScienceResourceType; + + /** + * @return Data Science resource type. + * + */ + public Output dataScienceResourceType() { + return this.dataScienceResourceType; + } + /** + * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` + * + */ + @Export(name="definedTags", refs={Map.class,String.class,Object.class}, tree="[0,1,2]") + private Output> definedTags; + + /** + * @return (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` + * + */ + public Output> definedTags() { + return this.definedTags; + } + /** + * (Updatable) A user friendly description. Avoid entering confidential information. + * + */ + @Export(name="description", refs={String.class}, tree="[0]") + private Output description; + + /** + * @return (Updatable) A user friendly description. Avoid entering confidential information. + * + */ + public Output description() { + return this.description; + } + /** + * (Updatable) A user friendly name. It doesn't have to be unique. Avoid entering confidential information. + * + */ + @Export(name="displayName", refs={String.class}, tree="[0]") + private Output displayName; + + /** + * @return (Updatable) A user friendly name. It doesn't have to be unique. Avoid entering confidential information. + * + */ + public Output displayName() { + return this.displayName; + } + /** + * Accesing the Data Science resource using FQDN. + * + */ + @Export(name="fqdn", refs={String.class}, tree="[0]") + private Output fqdn; + + /** + * @return Accesing the Data Science resource using FQDN. + * + */ + public Output fqdn() { + return this.fqdn; + } + /** + * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` + * + */ + @Export(name="freeformTags", refs={Map.class,String.class,Object.class}, tree="[0,1,2]") + private Output> freeformTags; + + /** + * @return (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` + * + */ + public Output> freeformTags() { + return this.freeformTags; + } + /** + * Details of the state of Data Science private endpoint. + * + */ + @Export(name="lifecycleDetails", refs={String.class}, tree="[0]") + private Output lifecycleDetails; + + /** + * @return Details of the state of Data Science private endpoint. + * + */ + public Output lifecycleDetails() { + return this.lifecycleDetails; + } + /** + * (Updatable) An array of network security group OCIDs. + * + */ + @Export(name="nsgIds", refs={List.class,String.class}, tree="[0,1]") + private Output> nsgIds; + + /** + * @return (Updatable) An array of network security group OCIDs. + * + */ + public Output> nsgIds() { + return this.nsgIds; + } + /** + * State of the Data Science private endpoint. + * + */ + @Export(name="state", refs={String.class}, tree="[0]") + private Output state; + + /** + * @return State of the Data Science private endpoint. + * + */ + public Output state() { + return this.state; + } + /** + * Subdomain for a private endpoint FQDN. + * + */ + @Export(name="subDomain", refs={String.class}, tree="[0]") + private Output subDomain; + + /** + * @return Subdomain for a private endpoint FQDN. + * + */ + public Output subDomain() { + return this.subDomain; + } + /** + * The OCID of the subnet. + * + * ** 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 + * + */ + @Export(name="subnetId", refs={String.class}, tree="[0]") + private Output subnetId; + + /** + * @return The OCID of the subnet. + * + * ** 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 + * + */ + public Output subnetId() { + return this.subnetId; + } + /** + * The date and time that the Data Science private endpoint was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + * + */ + @Export(name="timeCreated", refs={String.class}, tree="[0]") + private Output timeCreated; + + /** + * @return The date and time that the Data Science private endpoint was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + * + */ + public Output timeCreated() { + return this.timeCreated; + } + /** + * The date and time that the Data Science private endpoint was updated expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + * + */ + @Export(name="timeUpdated", refs={String.class}, tree="[0]") + private Output timeUpdated; + + /** + * @return The date and time that the Data Science private endpoint was updated expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + * + */ + public Output timeUpdated() { + return this.timeUpdated; + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public PrivateEndpoint(String name) { + this(name, PrivateEndpointArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public PrivateEndpoint(String name, PrivateEndpointArgs args) { + this(name, args, null); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + * @param options A bag of options that control this resource's behavior. + */ + public PrivateEndpoint(String name, PrivateEndpointArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("oci:DataScience/privateEndpoint:PrivateEndpoint", name, args == null ? PrivateEndpointArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); + } + + private PrivateEndpoint(String name, Output id, @Nullable PrivateEndpointState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("oci:DataScience/privateEndpoint:PrivateEndpoint", name, state, makeResourceOptions(options, id)); + } + + private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) { + var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder() + .version(Utilities.getVersion()) + .build(); + return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id); + } + + /** + * Get an existing Host resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state + * @param options Optional settings to control the behavior of the CustomResource. + */ + public static PrivateEndpoint get(String name, Output id, @Nullable PrivateEndpointState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new PrivateEndpoint(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DataScience/PrivateEndpointArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DataScience/PrivateEndpointArgs.java new file mode 100644 index 0000000000..5192e4501f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DataScience/PrivateEndpointArgs.java @@ -0,0 +1,407 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.DataScience; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.Object; +import java.lang.String; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class PrivateEndpointArgs extends com.pulumi.resources.ResourceArgs { + + public static final PrivateEndpointArgs Empty = new PrivateEndpointArgs(); + + /** + * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the private endpoint. + * + */ + @Import(name="compartmentId", required=true) + private Output compartmentId; + + /** + * @return (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the private endpoint. + * + */ + public Output compartmentId() { + return this.compartmentId; + } + + /** + * Data Science resource type. + * + */ + @Import(name="dataScienceResourceType", required=true) + private Output dataScienceResourceType; + + /** + * @return Data Science resource type. + * + */ + public Output dataScienceResourceType() { + return this.dataScienceResourceType; + } + + /** + * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` + * + */ + @Import(name="definedTags") + private @Nullable Output> definedTags; + + /** + * @return (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` + * + */ + public Optional>> definedTags() { + return Optional.ofNullable(this.definedTags); + } + + /** + * (Updatable) A user friendly description. Avoid entering confidential information. + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return (Updatable) A user friendly description. Avoid entering confidential information. + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * (Updatable) A user friendly name. It doesn't have to be unique. Avoid entering confidential information. + * + */ + @Import(name="displayName") + private @Nullable Output displayName; + + /** + * @return (Updatable) A user friendly name. It doesn't have to be unique. Avoid entering confidential information. + * + */ + public Optional> displayName() { + return Optional.ofNullable(this.displayName); + } + + /** + * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` + * + */ + @Import(name="freeformTags") + private @Nullable Output> freeformTags; + + /** + * @return (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` + * + */ + public Optional>> freeformTags() { + return Optional.ofNullable(this.freeformTags); + } + + /** + * (Updatable) An array of network security group OCIDs. + * + */ + @Import(name="nsgIds") + private @Nullable Output> nsgIds; + + /** + * @return (Updatable) An array of network security group OCIDs. + * + */ + public Optional>> nsgIds() { + return Optional.ofNullable(this.nsgIds); + } + + /** + * Subdomain for a private endpoint FQDN. + * + */ + @Import(name="subDomain") + private @Nullable Output subDomain; + + /** + * @return Subdomain for a private endpoint FQDN. + * + */ + public Optional> subDomain() { + return Optional.ofNullable(this.subDomain); + } + + /** + * The OCID of the subnet. + * + * ** 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 + * + */ + @Import(name="subnetId", required=true) + private Output subnetId; + + /** + * @return The OCID of the subnet. + * + * ** 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 + * + */ + public Output subnetId() { + return this.subnetId; + } + + private PrivateEndpointArgs() {} + + private PrivateEndpointArgs(PrivateEndpointArgs $) { + this.compartmentId = $.compartmentId; + this.dataScienceResourceType = $.dataScienceResourceType; + this.definedTags = $.definedTags; + this.description = $.description; + this.displayName = $.displayName; + this.freeformTags = $.freeformTags; + this.nsgIds = $.nsgIds; + this.subDomain = $.subDomain; + this.subnetId = $.subnetId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(PrivateEndpointArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private PrivateEndpointArgs $; + + public Builder() { + $ = new PrivateEndpointArgs(); + } + + public Builder(PrivateEndpointArgs defaults) { + $ = new PrivateEndpointArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param compartmentId (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the private endpoint. + * + * @return builder + * + */ + public Builder compartmentId(Output compartmentId) { + $.compartmentId = compartmentId; + return this; + } + + /** + * @param compartmentId (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the private endpoint. + * + * @return builder + * + */ + public Builder compartmentId(String compartmentId) { + return compartmentId(Output.of(compartmentId)); + } + + /** + * @param dataScienceResourceType Data Science resource type. + * + * @return builder + * + */ + public Builder dataScienceResourceType(Output dataScienceResourceType) { + $.dataScienceResourceType = dataScienceResourceType; + return this; + } + + /** + * @param dataScienceResourceType Data Science resource type. + * + * @return builder + * + */ + public Builder dataScienceResourceType(String dataScienceResourceType) { + return dataScienceResourceType(Output.of(dataScienceResourceType)); + } + + /** + * @param definedTags (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` + * + * @return builder + * + */ + public Builder definedTags(@Nullable Output> definedTags) { + $.definedTags = definedTags; + return this; + } + + /** + * @param definedTags (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` + * + * @return builder + * + */ + public Builder definedTags(Map definedTags) { + return definedTags(Output.of(definedTags)); + } + + /** + * @param description (Updatable) A user friendly description. Avoid entering confidential information. + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description (Updatable) A user friendly description. Avoid entering confidential information. + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param displayName (Updatable) A user friendly name. It doesn't have to be unique. Avoid entering confidential information. + * + * @return builder + * + */ + public Builder displayName(@Nullable Output displayName) { + $.displayName = displayName; + return this; + } + + /** + * @param displayName (Updatable) A user friendly name. It doesn't have to be unique. Avoid entering confidential information. + * + * @return builder + * + */ + public Builder displayName(String displayName) { + return displayName(Output.of(displayName)); + } + + /** + * @param freeformTags (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` + * + * @return builder + * + */ + public Builder freeformTags(@Nullable Output> freeformTags) { + $.freeformTags = freeformTags; + return this; + } + + /** + * @param freeformTags (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` + * + * @return builder + * + */ + public Builder freeformTags(Map freeformTags) { + return freeformTags(Output.of(freeformTags)); + } + + /** + * @param nsgIds (Updatable) An array of network security group OCIDs. + * + * @return builder + * + */ + public Builder nsgIds(@Nullable Output> nsgIds) { + $.nsgIds = nsgIds; + return this; + } + + /** + * @param nsgIds (Updatable) An array of network security group OCIDs. + * + * @return builder + * + */ + public Builder nsgIds(List nsgIds) { + return nsgIds(Output.of(nsgIds)); + } + + /** + * @param nsgIds (Updatable) An array of network security group OCIDs. + * + * @return builder + * + */ + public Builder nsgIds(String... nsgIds) { + return nsgIds(List.of(nsgIds)); + } + + /** + * @param subDomain Subdomain for a private endpoint FQDN. + * + * @return builder + * + */ + public Builder subDomain(@Nullable Output subDomain) { + $.subDomain = subDomain; + return this; + } + + /** + * @param subDomain Subdomain for a private endpoint FQDN. + * + * @return builder + * + */ + public Builder subDomain(String subDomain) { + return subDomain(Output.of(subDomain)); + } + + /** + * @param subnetId The OCID of the subnet. + * + * ** 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 + * + * @return builder + * + */ + public Builder subnetId(Output subnetId) { + $.subnetId = subnetId; + return this; + } + + /** + * @param subnetId The OCID of the subnet. + * + * ** 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 + * + * @return builder + * + */ + public Builder subnetId(String subnetId) { + return subnetId(Output.of(subnetId)); + } + + public PrivateEndpointArgs build() { + $.compartmentId = Objects.requireNonNull($.compartmentId, "expected parameter 'compartmentId' to be non-null"); + $.dataScienceResourceType = Objects.requireNonNull($.dataScienceResourceType, "expected parameter 'dataScienceResourceType' to be non-null"); + $.subnetId = Objects.requireNonNull($.subnetId, "expected parameter 'subnetId' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DataScience/inputs/GetPrivateEndpointArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DataScience/inputs/GetPrivateEndpointArgs.java new file mode 100644 index 0000000000..b1e40d7701 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DataScience/inputs/GetPrivateEndpointArgs.java @@ -0,0 +1,82 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.DataScience.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; + + +public final class GetPrivateEndpointArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetPrivateEndpointArgs Empty = new GetPrivateEndpointArgs(); + + /** + * The unique ID for a Data Science private endpoint. + * + */ + @Import(name="dataSciencePrivateEndpointId", required=true) + private Output dataSciencePrivateEndpointId; + + /** + * @return The unique ID for a Data Science private endpoint. + * + */ + public Output dataSciencePrivateEndpointId() { + return this.dataSciencePrivateEndpointId; + } + + private GetPrivateEndpointArgs() {} + + private GetPrivateEndpointArgs(GetPrivateEndpointArgs $) { + this.dataSciencePrivateEndpointId = $.dataSciencePrivateEndpointId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetPrivateEndpointArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetPrivateEndpointArgs $; + + public Builder() { + $ = new GetPrivateEndpointArgs(); + } + + public Builder(GetPrivateEndpointArgs defaults) { + $ = new GetPrivateEndpointArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param dataSciencePrivateEndpointId The unique ID for a Data Science private endpoint. + * + * @return builder + * + */ + public Builder dataSciencePrivateEndpointId(Output dataSciencePrivateEndpointId) { + $.dataSciencePrivateEndpointId = dataSciencePrivateEndpointId; + return this; + } + + /** + * @param dataSciencePrivateEndpointId The unique ID for a Data Science private endpoint. + * + * @return builder + * + */ + public Builder dataSciencePrivateEndpointId(String dataSciencePrivateEndpointId) { + return dataSciencePrivateEndpointId(Output.of(dataSciencePrivateEndpointId)); + } + + public GetPrivateEndpointArgs build() { + $.dataSciencePrivateEndpointId = Objects.requireNonNull($.dataSciencePrivateEndpointId, "expected parameter 'dataSciencePrivateEndpointId' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DataScience/inputs/GetPrivateEndpointPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DataScience/inputs/GetPrivateEndpointPlainArgs.java new file mode 100644 index 0000000000..0fad4517cd --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DataScience/inputs/GetPrivateEndpointPlainArgs.java @@ -0,0 +1,71 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.DataScience.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; + + +public final class GetPrivateEndpointPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetPrivateEndpointPlainArgs Empty = new GetPrivateEndpointPlainArgs(); + + /** + * The unique ID for a Data Science private endpoint. + * + */ + @Import(name="dataSciencePrivateEndpointId", required=true) + private String dataSciencePrivateEndpointId; + + /** + * @return The unique ID for a Data Science private endpoint. + * + */ + public String dataSciencePrivateEndpointId() { + return this.dataSciencePrivateEndpointId; + } + + private GetPrivateEndpointPlainArgs() {} + + private GetPrivateEndpointPlainArgs(GetPrivateEndpointPlainArgs $) { + this.dataSciencePrivateEndpointId = $.dataSciencePrivateEndpointId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetPrivateEndpointPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetPrivateEndpointPlainArgs $; + + public Builder() { + $ = new GetPrivateEndpointPlainArgs(); + } + + public Builder(GetPrivateEndpointPlainArgs defaults) { + $ = new GetPrivateEndpointPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param dataSciencePrivateEndpointId The unique ID for a Data Science private endpoint. + * + * @return builder + * + */ + public Builder dataSciencePrivateEndpointId(String dataSciencePrivateEndpointId) { + $.dataSciencePrivateEndpointId = dataSciencePrivateEndpointId; + return this; + } + + public GetPrivateEndpointPlainArgs build() { + $.dataSciencePrivateEndpointId = Objects.requireNonNull($.dataSciencePrivateEndpointId, "expected parameter 'dataSciencePrivateEndpointId' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DataScience/inputs/GetPrivateEndpointsArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DataScience/inputs/GetPrivateEndpointsArgs.java new file mode 100644 index 0000000000..9803c9a39a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DataScience/inputs/GetPrivateEndpointsArgs.java @@ -0,0 +1,255 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.DataScience.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.oci.DataScience.inputs.GetPrivateEndpointsFilterArgs; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetPrivateEndpointsArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetPrivateEndpointsArgs Empty = new GetPrivateEndpointsArgs(); + + /** + * <b>Filter</b> results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + * + */ + @Import(name="compartmentId", required=true) + private Output compartmentId; + + /** + * @return <b>Filter</b> results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + * + */ + public Output compartmentId() { + return this.compartmentId; + } + + /** + * <b>Filter</b> results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the resource. + * + */ + @Import(name="createdBy") + private @Nullable Output createdBy; + + /** + * @return <b>Filter</b> results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the resource. + * + */ + public Optional> createdBy() { + return Optional.ofNullable(this.createdBy); + } + + /** + * Resource types in the Data Science service such as notebooks. + * + */ + @Import(name="dataScienceResourceType") + private @Nullable Output dataScienceResourceType; + + /** + * @return Resource types in the Data Science service such as notebooks. + * + */ + public Optional> dataScienceResourceType() { + return Optional.ofNullable(this.dataScienceResourceType); + } + + /** + * <b>Filter</b> results by its user-friendly name. + * + */ + @Import(name="displayName") + private @Nullable Output displayName; + + /** + * @return <b>Filter</b> results by its user-friendly name. + * + */ + public Optional> displayName() { + return Optional.ofNullable(this.displayName); + } + + @Import(name="filters") + private @Nullable Output> filters; + + public Optional>> filters() { + return Optional.ofNullable(this.filters); + } + + /** + * The lifecycle state of the private endpoint. + * + */ + @Import(name="state") + private @Nullable Output state; + + /** + * @return The lifecycle state of the private endpoint. + * + */ + public Optional> state() { + return Optional.ofNullable(this.state); + } + + private GetPrivateEndpointsArgs() {} + + private GetPrivateEndpointsArgs(GetPrivateEndpointsArgs $) { + this.compartmentId = $.compartmentId; + this.createdBy = $.createdBy; + this.dataScienceResourceType = $.dataScienceResourceType; + this.displayName = $.displayName; + this.filters = $.filters; + this.state = $.state; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetPrivateEndpointsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetPrivateEndpointsArgs $; + + public Builder() { + $ = new GetPrivateEndpointsArgs(); + } + + public Builder(GetPrivateEndpointsArgs defaults) { + $ = new GetPrivateEndpointsArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param compartmentId <b>Filter</b> results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + * + * @return builder + * + */ + public Builder compartmentId(Output compartmentId) { + $.compartmentId = compartmentId; + return this; + } + + /** + * @param compartmentId <b>Filter</b> results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + * + * @return builder + * + */ + public Builder compartmentId(String compartmentId) { + return compartmentId(Output.of(compartmentId)); + } + + /** + * @param createdBy <b>Filter</b> results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the resource. + * + * @return builder + * + */ + public Builder createdBy(@Nullable Output createdBy) { + $.createdBy = createdBy; + return this; + } + + /** + * @param createdBy <b>Filter</b> results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the resource. + * + * @return builder + * + */ + public Builder createdBy(String createdBy) { + return createdBy(Output.of(createdBy)); + } + + /** + * @param dataScienceResourceType Resource types in the Data Science service such as notebooks. + * + * @return builder + * + */ + public Builder dataScienceResourceType(@Nullable Output dataScienceResourceType) { + $.dataScienceResourceType = dataScienceResourceType; + return this; + } + + /** + * @param dataScienceResourceType Resource types in the Data Science service such as notebooks. + * + * @return builder + * + */ + public Builder dataScienceResourceType(String dataScienceResourceType) { + return dataScienceResourceType(Output.of(dataScienceResourceType)); + } + + /** + * @param displayName <b>Filter</b> results by its user-friendly name. + * + * @return builder + * + */ + public Builder displayName(@Nullable Output displayName) { + $.displayName = displayName; + return this; + } + + /** + * @param displayName <b>Filter</b> results by its user-friendly name. + * + * @return builder + * + */ + public Builder displayName(String displayName) { + return displayName(Output.of(displayName)); + } + + public Builder filters(@Nullable Output> filters) { + $.filters = filters; + return this; + } + + public Builder filters(List filters) { + return filters(Output.of(filters)); + } + + public Builder filters(GetPrivateEndpointsFilterArgs... filters) { + return filters(List.of(filters)); + } + + /** + * @param state The lifecycle state of the private endpoint. + * + * @return builder + * + */ + public Builder state(@Nullable Output state) { + $.state = state; + return this; + } + + /** + * @param state The lifecycle state of the private endpoint. + * + * @return builder + * + */ + public Builder state(String state) { + return state(Output.of(state)); + } + + public GetPrivateEndpointsArgs build() { + $.compartmentId = Objects.requireNonNull($.compartmentId, "expected parameter 'compartmentId' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DataScience/inputs/GetPrivateEndpointsFilter.java b/sdk/java/src/main/java/com/pulumi/oci/DataScience/inputs/GetPrivateEndpointsFilter.java new file mode 100644 index 0000000000..a215af9006 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DataScience/inputs/GetPrivateEndpointsFilter.java @@ -0,0 +1,92 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.DataScience.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetPrivateEndpointsFilter extends com.pulumi.resources.InvokeArgs { + + public static final GetPrivateEndpointsFilter Empty = new GetPrivateEndpointsFilter(); + + @Import(name="name", required=true) + private String name; + + public String name() { + return this.name; + } + + @Import(name="regex") + private @Nullable Boolean regex; + + public Optional regex() { + return Optional.ofNullable(this.regex); + } + + @Import(name="values", required=true) + private List values; + + public List values() { + return this.values; + } + + private GetPrivateEndpointsFilter() {} + + private GetPrivateEndpointsFilter(GetPrivateEndpointsFilter $) { + this.name = $.name; + this.regex = $.regex; + this.values = $.values; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetPrivateEndpointsFilter defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetPrivateEndpointsFilter $; + + public Builder() { + $ = new GetPrivateEndpointsFilter(); + } + + public Builder(GetPrivateEndpointsFilter defaults) { + $ = new GetPrivateEndpointsFilter(Objects.requireNonNull(defaults)); + } + + public Builder name(String name) { + $.name = name; + return this; + } + + public Builder regex(@Nullable Boolean regex) { + $.regex = regex; + return this; + } + + public Builder values(List values) { + $.values = values; + return this; + } + + public Builder values(String... values) { + return values(List.of(values)); + } + + public GetPrivateEndpointsFilter build() { + $.name = Objects.requireNonNull($.name, "expected parameter 'name' to be non-null"); + $.values = Objects.requireNonNull($.values, "expected parameter 'values' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DataScience/inputs/GetPrivateEndpointsFilterArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DataScience/inputs/GetPrivateEndpointsFilterArgs.java new file mode 100644 index 0000000000..1cd7299242 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DataScience/inputs/GetPrivateEndpointsFilterArgs.java @@ -0,0 +1,105 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.DataScience.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetPrivateEndpointsFilterArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetPrivateEndpointsFilterArgs Empty = new GetPrivateEndpointsFilterArgs(); + + @Import(name="name", required=true) + private Output name; + + public Output name() { + return this.name; + } + + @Import(name="regex") + private @Nullable Output regex; + + public Optional> regex() { + return Optional.ofNullable(this.regex); + } + + @Import(name="values", required=true) + private Output> values; + + public Output> values() { + return this.values; + } + + private GetPrivateEndpointsFilterArgs() {} + + private GetPrivateEndpointsFilterArgs(GetPrivateEndpointsFilterArgs $) { + this.name = $.name; + this.regex = $.regex; + this.values = $.values; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetPrivateEndpointsFilterArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetPrivateEndpointsFilterArgs $; + + public Builder() { + $ = new GetPrivateEndpointsFilterArgs(); + } + + public Builder(GetPrivateEndpointsFilterArgs defaults) { + $ = new GetPrivateEndpointsFilterArgs(Objects.requireNonNull(defaults)); + } + + public Builder name(Output name) { + $.name = name; + return this; + } + + public Builder name(String name) { + return name(Output.of(name)); + } + + public Builder regex(@Nullable Output regex) { + $.regex = regex; + return this; + } + + public Builder regex(Boolean regex) { + return regex(Output.of(regex)); + } + + public Builder values(Output> values) { + $.values = values; + return this; + } + + public Builder values(List values) { + return values(Output.of(values)); + } + + public Builder values(String... values) { + return values(List.of(values)); + } + + public GetPrivateEndpointsFilterArgs build() { + $.name = Objects.requireNonNull($.name, "expected parameter 'name' to be non-null"); + $.values = Objects.requireNonNull($.values, "expected parameter 'values' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DataScience/inputs/GetPrivateEndpointsPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DataScience/inputs/GetPrivateEndpointsPlainArgs.java new file mode 100644 index 0000000000..650ee1a6f2 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DataScience/inputs/GetPrivateEndpointsPlainArgs.java @@ -0,0 +1,200 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.DataScience.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.oci.DataScience.inputs.GetPrivateEndpointsFilter; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetPrivateEndpointsPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetPrivateEndpointsPlainArgs Empty = new GetPrivateEndpointsPlainArgs(); + + /** + * <b>Filter</b> results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + * + */ + @Import(name="compartmentId", required=true) + private String compartmentId; + + /** + * @return <b>Filter</b> results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + * + */ + public String compartmentId() { + return this.compartmentId; + } + + /** + * <b>Filter</b> results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the resource. + * + */ + @Import(name="createdBy") + private @Nullable String createdBy; + + /** + * @return <b>Filter</b> results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the resource. + * + */ + public Optional createdBy() { + return Optional.ofNullable(this.createdBy); + } + + /** + * Resource types in the Data Science service such as notebooks. + * + */ + @Import(name="dataScienceResourceType") + private @Nullable String dataScienceResourceType; + + /** + * @return Resource types in the Data Science service such as notebooks. + * + */ + public Optional dataScienceResourceType() { + return Optional.ofNullable(this.dataScienceResourceType); + } + + /** + * <b>Filter</b> results by its user-friendly name. + * + */ + @Import(name="displayName") + private @Nullable String displayName; + + /** + * @return <b>Filter</b> results by its user-friendly name. + * + */ + public Optional displayName() { + return Optional.ofNullable(this.displayName); + } + + @Import(name="filters") + private @Nullable List filters; + + public Optional> filters() { + return Optional.ofNullable(this.filters); + } + + /** + * The lifecycle state of the private endpoint. + * + */ + @Import(name="state") + private @Nullable String state; + + /** + * @return The lifecycle state of the private endpoint. + * + */ + public Optional state() { + return Optional.ofNullable(this.state); + } + + private GetPrivateEndpointsPlainArgs() {} + + private GetPrivateEndpointsPlainArgs(GetPrivateEndpointsPlainArgs $) { + this.compartmentId = $.compartmentId; + this.createdBy = $.createdBy; + this.dataScienceResourceType = $.dataScienceResourceType; + this.displayName = $.displayName; + this.filters = $.filters; + this.state = $.state; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetPrivateEndpointsPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetPrivateEndpointsPlainArgs $; + + public Builder() { + $ = new GetPrivateEndpointsPlainArgs(); + } + + public Builder(GetPrivateEndpointsPlainArgs defaults) { + $ = new GetPrivateEndpointsPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param compartmentId <b>Filter</b> results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + * + * @return builder + * + */ + public Builder compartmentId(String compartmentId) { + $.compartmentId = compartmentId; + return this; + } + + /** + * @param createdBy <b>Filter</b> results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the resource. + * + * @return builder + * + */ + public Builder createdBy(@Nullable String createdBy) { + $.createdBy = createdBy; + return this; + } + + /** + * @param dataScienceResourceType Resource types in the Data Science service such as notebooks. + * + * @return builder + * + */ + public Builder dataScienceResourceType(@Nullable String dataScienceResourceType) { + $.dataScienceResourceType = dataScienceResourceType; + return this; + } + + /** + * @param displayName <b>Filter</b> results by its user-friendly name. + * + * @return builder + * + */ + public Builder displayName(@Nullable String displayName) { + $.displayName = displayName; + return this; + } + + public Builder filters(@Nullable List filters) { + $.filters = filters; + return this; + } + + public Builder filters(GetPrivateEndpointsFilter... filters) { + return filters(List.of(filters)); + } + + /** + * @param state The lifecycle state of the private endpoint. + * + * @return builder + * + */ + public Builder state(@Nullable String state) { + $.state = state; + return this; + } + + public GetPrivateEndpointsPlainArgs build() { + $.compartmentId = Objects.requireNonNull($.compartmentId, "expected parameter 'compartmentId' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DataScience/inputs/ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DataScience/inputs/ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsArgs.java index 716c9500ca..8803d8c130 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DataScience/inputs/ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DataScience/inputs/ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsArgs.java @@ -19,14 +19,14 @@ public final class ModelDeploymentModelDeploymentConfigurationDetailsModelConfig public static final ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsArgs Empty = new ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsArgs(); /** - * (Updatable) The network bandwidth for the model. + * (Updatable) The minimum network bandwidth for the model deployment. * */ @Import(name="bandwidthMbps") private @Nullable Output bandwidthMbps; /** - * @return (Updatable) The network bandwidth for the model. + * @return (Updatable) The minimum network bandwidth for the model deployment. * */ public Optional> bandwidthMbps() { @@ -106,7 +106,7 @@ public Builder(ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurat } /** - * @param bandwidthMbps (Updatable) The network bandwidth for the model. + * @param bandwidthMbps (Updatable) The minimum network bandwidth for the model deployment. * * @return builder * @@ -117,7 +117,7 @@ public Builder bandwidthMbps(@Nullable Output bandwidthMbps) { } /** - * @param bandwidthMbps (Updatable) The network bandwidth for the model. + * @param bandwidthMbps (Updatable) The minimum network bandwidth for the model deployment. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/oci/DataScience/inputs/NotebookSessionNotebookSessionConfigDetailsArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DataScience/inputs/NotebookSessionNotebookSessionConfigDetailsArgs.java index e55d76b8f3..7212b739f3 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DataScience/inputs/NotebookSessionNotebookSessionConfigDetailsArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DataScience/inputs/NotebookSessionNotebookSessionConfigDetailsArgs.java @@ -47,6 +47,21 @@ public Optional privateEndpointId; + + /** + * @return (Updatable) The OCID of a Data Science private endpoint. + * + */ + public Optional> privateEndpointId() { + return Optional.ofNullable(this.privateEndpointId); + } + /** * (Updatable) The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint. * @@ -82,6 +97,7 @@ private NotebookSessionNotebookSessionConfigDetailsArgs() {} private NotebookSessionNotebookSessionConfigDetailsArgs(NotebookSessionNotebookSessionConfigDetailsArgs $) { this.blockStorageSizeInGbs = $.blockStorageSizeInGbs; this.notebookSessionShapeConfigDetails = $.notebookSessionShapeConfigDetails; + this.privateEndpointId = $.privateEndpointId; this.shape = $.shape; this.subnetId = $.subnetId; } @@ -146,6 +162,27 @@ public Builder notebookSessionShapeConfigDetails(NotebookSessionNotebookSessionC return notebookSessionShapeConfigDetails(Output.of(notebookSessionShapeConfigDetails)); } + /** + * @param privateEndpointId (Updatable) The OCID of a Data Science private endpoint. + * + * @return builder + * + */ + public Builder privateEndpointId(@Nullable Output privateEndpointId) { + $.privateEndpointId = privateEndpointId; + return this; + } + + /** + * @param privateEndpointId (Updatable) The OCID of a Data Science private endpoint. + * + * @return builder + * + */ + public Builder privateEndpointId(String privateEndpointId) { + return privateEndpointId(Output.of(privateEndpointId)); + } + /** * @param shape (Updatable) The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint. * diff --git a/sdk/java/src/main/java/com/pulumi/oci/DataScience/inputs/NotebookSessionNotebookSessionConfigurationDetailsArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DataScience/inputs/NotebookSessionNotebookSessionConfigurationDetailsArgs.java index 39d7ce3bf3..2a1220ff20 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DataScience/inputs/NotebookSessionNotebookSessionConfigurationDetailsArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DataScience/inputs/NotebookSessionNotebookSessionConfigurationDetailsArgs.java @@ -47,6 +47,21 @@ public Optional privateEndpointId; + + /** + * @return (Updatable) The OCID of a Data Science private endpoint. + * + */ + public Optional> privateEndpointId() { + return Optional.ofNullable(this.privateEndpointId); + } + /** * (Updatable) The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint. * @@ -82,6 +97,7 @@ private NotebookSessionNotebookSessionConfigurationDetailsArgs() {} private NotebookSessionNotebookSessionConfigurationDetailsArgs(NotebookSessionNotebookSessionConfigurationDetailsArgs $) { this.blockStorageSizeInGbs = $.blockStorageSizeInGbs; this.notebookSessionShapeConfigDetails = $.notebookSessionShapeConfigDetails; + this.privateEndpointId = $.privateEndpointId; this.shape = $.shape; this.subnetId = $.subnetId; } @@ -146,6 +162,27 @@ public Builder notebookSessionShapeConfigDetails(NotebookSessionNotebookSessionC return notebookSessionShapeConfigDetails(Output.of(notebookSessionShapeConfigDetails)); } + /** + * @param privateEndpointId (Updatable) The OCID of a Data Science private endpoint. + * + * @return builder + * + */ + public Builder privateEndpointId(@Nullable Output privateEndpointId) { + $.privateEndpointId = privateEndpointId; + return this; + } + + /** + * @param privateEndpointId (Updatable) The OCID of a Data Science private endpoint. + * + * @return builder + * + */ + public Builder privateEndpointId(String privateEndpointId) { + return privateEndpointId(Output.of(privateEndpointId)); + } + /** * @param shape (Updatable) The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint. * diff --git a/sdk/java/src/main/java/com/pulumi/oci/DataScience/inputs/PrivateEndpointState.java b/sdk/java/src/main/java/com/pulumi/oci/DataScience/inputs/PrivateEndpointState.java new file mode 100644 index 0000000000..15406178e5 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DataScience/inputs/PrivateEndpointState.java @@ -0,0 +1,626 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.DataScience.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.Object; +import java.lang.String; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class PrivateEndpointState extends com.pulumi.resources.ResourceArgs { + + public static final PrivateEndpointState Empty = new PrivateEndpointState(); + + /** + * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the private endpoint. + * + */ + @Import(name="compartmentId") + private @Nullable Output compartmentId; + + /** + * @return (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the private endpoint. + * + */ + public Optional> compartmentId() { + return Optional.ofNullable(this.compartmentId); + } + + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user that created the private endpoint. + * + */ + @Import(name="createdBy") + private @Nullable Output createdBy; + + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user that created the private endpoint. + * + */ + public Optional> createdBy() { + return Optional.ofNullable(this.createdBy); + } + + /** + * Data Science resource type. + * + */ + @Import(name="dataScienceResourceType") + private @Nullable Output dataScienceResourceType; + + /** + * @return Data Science resource type. + * + */ + public Optional> dataScienceResourceType() { + return Optional.ofNullable(this.dataScienceResourceType); + } + + /** + * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` + * + */ + @Import(name="definedTags") + private @Nullable Output> definedTags; + + /** + * @return (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` + * + */ + public Optional>> definedTags() { + return Optional.ofNullable(this.definedTags); + } + + /** + * (Updatable) A user friendly description. Avoid entering confidential information. + * + */ + @Import(name="description") + private @Nullable Output description; + + /** + * @return (Updatable) A user friendly description. Avoid entering confidential information. + * + */ + public Optional> description() { + return Optional.ofNullable(this.description); + } + + /** + * (Updatable) A user friendly name. It doesn't have to be unique. Avoid entering confidential information. + * + */ + @Import(name="displayName") + private @Nullable Output displayName; + + /** + * @return (Updatable) A user friendly name. It doesn't have to be unique. Avoid entering confidential information. + * + */ + public Optional> displayName() { + return Optional.ofNullable(this.displayName); + } + + /** + * Accesing the Data Science resource using FQDN. + * + */ + @Import(name="fqdn") + private @Nullable Output fqdn; + + /** + * @return Accesing the Data Science resource using FQDN. + * + */ + public Optional> fqdn() { + return Optional.ofNullable(this.fqdn); + } + + /** + * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` + * + */ + @Import(name="freeformTags") + private @Nullable Output> freeformTags; + + /** + * @return (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` + * + */ + public Optional>> freeformTags() { + return Optional.ofNullable(this.freeformTags); + } + + /** + * Details of the state of Data Science private endpoint. + * + */ + @Import(name="lifecycleDetails") + private @Nullable Output lifecycleDetails; + + /** + * @return Details of the state of Data Science private endpoint. + * + */ + public Optional> lifecycleDetails() { + return Optional.ofNullable(this.lifecycleDetails); + } + + /** + * (Updatable) An array of network security group OCIDs. + * + */ + @Import(name="nsgIds") + private @Nullable Output> nsgIds; + + /** + * @return (Updatable) An array of network security group OCIDs. + * + */ + public Optional>> nsgIds() { + return Optional.ofNullable(this.nsgIds); + } + + /** + * State of the Data Science private endpoint. + * + */ + @Import(name="state") + private @Nullable Output state; + + /** + * @return State of the Data Science private endpoint. + * + */ + public Optional> state() { + return Optional.ofNullable(this.state); + } + + /** + * Subdomain for a private endpoint FQDN. + * + */ + @Import(name="subDomain") + private @Nullable Output subDomain; + + /** + * @return Subdomain for a private endpoint FQDN. + * + */ + public Optional> subDomain() { + return Optional.ofNullable(this.subDomain); + } + + /** + * The OCID of the subnet. + * + * ** 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 + * + */ + @Import(name="subnetId") + private @Nullable Output subnetId; + + /** + * @return The OCID of the subnet. + * + * ** 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 + * + */ + public Optional> subnetId() { + return Optional.ofNullable(this.subnetId); + } + + /** + * The date and time that the Data Science private endpoint was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + * + */ + @Import(name="timeCreated") + private @Nullable Output timeCreated; + + /** + * @return The date and time that the Data Science private endpoint was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + * + */ + public Optional> timeCreated() { + return Optional.ofNullable(this.timeCreated); + } + + /** + * The date and time that the Data Science private endpoint was updated expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + * + */ + @Import(name="timeUpdated") + private @Nullable Output timeUpdated; + + /** + * @return The date and time that the Data Science private endpoint was updated expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + * + */ + public Optional> timeUpdated() { + return Optional.ofNullable(this.timeUpdated); + } + + private PrivateEndpointState() {} + + private PrivateEndpointState(PrivateEndpointState $) { + this.compartmentId = $.compartmentId; + this.createdBy = $.createdBy; + this.dataScienceResourceType = $.dataScienceResourceType; + this.definedTags = $.definedTags; + this.description = $.description; + this.displayName = $.displayName; + this.fqdn = $.fqdn; + this.freeformTags = $.freeformTags; + this.lifecycleDetails = $.lifecycleDetails; + this.nsgIds = $.nsgIds; + this.state = $.state; + this.subDomain = $.subDomain; + this.subnetId = $.subnetId; + this.timeCreated = $.timeCreated; + this.timeUpdated = $.timeUpdated; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(PrivateEndpointState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private PrivateEndpointState $; + + public Builder() { + $ = new PrivateEndpointState(); + } + + public Builder(PrivateEndpointState defaults) { + $ = new PrivateEndpointState(Objects.requireNonNull(defaults)); + } + + /** + * @param compartmentId (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the private endpoint. + * + * @return builder + * + */ + public Builder compartmentId(@Nullable Output compartmentId) { + $.compartmentId = compartmentId; + return this; + } + + /** + * @param compartmentId (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the private endpoint. + * + * @return builder + * + */ + public Builder compartmentId(String compartmentId) { + return compartmentId(Output.of(compartmentId)); + } + + /** + * @param createdBy The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user that created the private endpoint. + * + * @return builder + * + */ + public Builder createdBy(@Nullable Output createdBy) { + $.createdBy = createdBy; + return this; + } + + /** + * @param createdBy The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user that created the private endpoint. + * + * @return builder + * + */ + public Builder createdBy(String createdBy) { + return createdBy(Output.of(createdBy)); + } + + /** + * @param dataScienceResourceType Data Science resource type. + * + * @return builder + * + */ + public Builder dataScienceResourceType(@Nullable Output dataScienceResourceType) { + $.dataScienceResourceType = dataScienceResourceType; + return this; + } + + /** + * @param dataScienceResourceType Data Science resource type. + * + * @return builder + * + */ + public Builder dataScienceResourceType(String dataScienceResourceType) { + return dataScienceResourceType(Output.of(dataScienceResourceType)); + } + + /** + * @param definedTags (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` + * + * @return builder + * + */ + public Builder definedTags(@Nullable Output> definedTags) { + $.definedTags = definedTags; + return this; + } + + /** + * @param definedTags (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` + * + * @return builder + * + */ + public Builder definedTags(Map definedTags) { + return definedTags(Output.of(definedTags)); + } + + /** + * @param description (Updatable) A user friendly description. Avoid entering confidential information. + * + * @return builder + * + */ + public Builder description(@Nullable Output description) { + $.description = description; + return this; + } + + /** + * @param description (Updatable) A user friendly description. Avoid entering confidential information. + * + * @return builder + * + */ + public Builder description(String description) { + return description(Output.of(description)); + } + + /** + * @param displayName (Updatable) A user friendly name. It doesn't have to be unique. Avoid entering confidential information. + * + * @return builder + * + */ + public Builder displayName(@Nullable Output displayName) { + $.displayName = displayName; + return this; + } + + /** + * @param displayName (Updatable) A user friendly name. It doesn't have to be unique. Avoid entering confidential information. + * + * @return builder + * + */ + public Builder displayName(String displayName) { + return displayName(Output.of(displayName)); + } + + /** + * @param fqdn Accesing the Data Science resource using FQDN. + * + * @return builder + * + */ + public Builder fqdn(@Nullable Output fqdn) { + $.fqdn = fqdn; + return this; + } + + /** + * @param fqdn Accesing the Data Science resource using FQDN. + * + * @return builder + * + */ + public Builder fqdn(String fqdn) { + return fqdn(Output.of(fqdn)); + } + + /** + * @param freeformTags (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` + * + * @return builder + * + */ + public Builder freeformTags(@Nullable Output> freeformTags) { + $.freeformTags = freeformTags; + return this; + } + + /** + * @param freeformTags (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` + * + * @return builder + * + */ + public Builder freeformTags(Map freeformTags) { + return freeformTags(Output.of(freeformTags)); + } + + /** + * @param lifecycleDetails Details of the state of Data Science private endpoint. + * + * @return builder + * + */ + public Builder lifecycleDetails(@Nullable Output lifecycleDetails) { + $.lifecycleDetails = lifecycleDetails; + return this; + } + + /** + * @param lifecycleDetails Details of the state of Data Science private endpoint. + * + * @return builder + * + */ + public Builder lifecycleDetails(String lifecycleDetails) { + return lifecycleDetails(Output.of(lifecycleDetails)); + } + + /** + * @param nsgIds (Updatable) An array of network security group OCIDs. + * + * @return builder + * + */ + public Builder nsgIds(@Nullable Output> nsgIds) { + $.nsgIds = nsgIds; + return this; + } + + /** + * @param nsgIds (Updatable) An array of network security group OCIDs. + * + * @return builder + * + */ + public Builder nsgIds(List nsgIds) { + return nsgIds(Output.of(nsgIds)); + } + + /** + * @param nsgIds (Updatable) An array of network security group OCIDs. + * + * @return builder + * + */ + public Builder nsgIds(String... nsgIds) { + return nsgIds(List.of(nsgIds)); + } + + /** + * @param state State of the Data Science private endpoint. + * + * @return builder + * + */ + public Builder state(@Nullable Output state) { + $.state = state; + return this; + } + + /** + * @param state State of the Data Science private endpoint. + * + * @return builder + * + */ + public Builder state(String state) { + return state(Output.of(state)); + } + + /** + * @param subDomain Subdomain for a private endpoint FQDN. + * + * @return builder + * + */ + public Builder subDomain(@Nullable Output subDomain) { + $.subDomain = subDomain; + return this; + } + + /** + * @param subDomain Subdomain for a private endpoint FQDN. + * + * @return builder + * + */ + public Builder subDomain(String subDomain) { + return subDomain(Output.of(subDomain)); + } + + /** + * @param subnetId The OCID of the subnet. + * + * ** 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 + * + * @return builder + * + */ + public Builder subnetId(@Nullable Output subnetId) { + $.subnetId = subnetId; + return this; + } + + /** + * @param subnetId The OCID of the subnet. + * + * ** 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 + * + * @return builder + * + */ + public Builder subnetId(String subnetId) { + return subnetId(Output.of(subnetId)); + } + + /** + * @param timeCreated The date and time that the Data Science private endpoint was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + * + * @return builder + * + */ + public Builder timeCreated(@Nullable Output timeCreated) { + $.timeCreated = timeCreated; + return this; + } + + /** + * @param timeCreated The date and time that the Data Science private endpoint was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + * + * @return builder + * + */ + public Builder timeCreated(String timeCreated) { + return timeCreated(Output.of(timeCreated)); + } + + /** + * @param timeUpdated The date and time that the Data Science private endpoint was updated expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + * + * @return builder + * + */ + public Builder timeUpdated(@Nullable Output timeUpdated) { + $.timeUpdated = timeUpdated; + return this; + } + + /** + * @param timeUpdated The date and time that the Data Science private endpoint was updated expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + * + * @return builder + * + */ + public Builder timeUpdated(String timeUpdated) { + return timeUpdated(Output.of(timeUpdated)); + } + + public PrivateEndpointState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DataScience/outputs/GetModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetail.java b/sdk/java/src/main/java/com/pulumi/oci/DataScience/outputs/GetModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetail.java index 419c3808a9..ae65c7c991 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DataScience/outputs/GetModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetail.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DataScience/outputs/GetModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetail.java @@ -14,7 +14,7 @@ @CustomType public final class GetModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetail { /** - * @return The network bandwidth for the model. + * @return The minimum network bandwidth for the model deployment. * */ private Integer bandwidthMbps; @@ -36,7 +36,7 @@ public final class GetModelDeploymentModelDeploymentConfigurationDetailModelConf private GetModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetail() {} /** - * @return The network bandwidth for the model. + * @return The minimum network bandwidth for the model deployment. * */ public Integer bandwidthMbps() { diff --git a/sdk/java/src/main/java/com/pulumi/oci/DataScience/outputs/GetModelDeploymentsModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetail.java b/sdk/java/src/main/java/com/pulumi/oci/DataScience/outputs/GetModelDeploymentsModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetail.java index cb5e82bf1f..4e58f5c481 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DataScience/outputs/GetModelDeploymentsModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetail.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DataScience/outputs/GetModelDeploymentsModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetail.java @@ -14,7 +14,7 @@ @CustomType public final class GetModelDeploymentsModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetail { /** - * @return The network bandwidth for the model. + * @return The minimum network bandwidth for the model deployment. * */ private Integer bandwidthMbps; @@ -36,7 +36,7 @@ public final class GetModelDeploymentsModelDeploymentModelDeploymentConfiguratio private GetModelDeploymentsModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetail() {} /** - * @return The network bandwidth for the model. + * @return The minimum network bandwidth for the model deployment. * */ public Integer bandwidthMbps() { diff --git a/sdk/java/src/main/java/com/pulumi/oci/DataScience/outputs/GetNotebookSessionNotebookSessionConfigDetail.java b/sdk/java/src/main/java/com/pulumi/oci/DataScience/outputs/GetNotebookSessionNotebookSessionConfigDetail.java index ea0556882c..d1e6632674 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DataScience/outputs/GetNotebookSessionNotebookSessionConfigDetail.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DataScience/outputs/GetNotebookSessionNotebookSessionConfigDetail.java @@ -22,6 +22,11 @@ public final class GetNotebookSessionNotebookSessionConfigDetail { * */ private List notebookSessionShapeConfigDetails; + /** + * @return The OCID of a Data Science private endpoint. + * + */ + private String privateEndpointId; /** * @return The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint. * @@ -48,6 +53,13 @@ public Integer blockStorageSizeInGbs() { public List notebookSessionShapeConfigDetails() { return this.notebookSessionShapeConfigDetails; } + /** + * @return The OCID of a Data Science private endpoint. + * + */ + public String privateEndpointId() { + return this.privateEndpointId; + } /** * @return The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint. * @@ -74,6 +86,7 @@ public static Builder builder(GetNotebookSessionNotebookSessionConfigDetail defa public static final class Builder { private Integer blockStorageSizeInGbs; private List notebookSessionShapeConfigDetails; + private String privateEndpointId; private String shape; private String subnetId; public Builder() {} @@ -81,6 +94,7 @@ public Builder(GetNotebookSessionNotebookSessionConfigDetail defaults) { Objects.requireNonNull(defaults); this.blockStorageSizeInGbs = defaults.blockStorageSizeInGbs; this.notebookSessionShapeConfigDetails = defaults.notebookSessionShapeConfigDetails; + this.privateEndpointId = defaults.privateEndpointId; this.shape = defaults.shape; this.subnetId = defaults.subnetId; } @@ -99,6 +113,11 @@ public Builder notebookSessionShapeConfigDetails(GetNotebookSessionNotebookSessi return notebookSessionShapeConfigDetails(List.of(notebookSessionShapeConfigDetails)); } @CustomType.Setter + public Builder privateEndpointId(String privateEndpointId) { + this.privateEndpointId = Objects.requireNonNull(privateEndpointId); + return this; + } + @CustomType.Setter public Builder shape(String shape) { this.shape = Objects.requireNonNull(shape); return this; @@ -112,6 +131,7 @@ public GetNotebookSessionNotebookSessionConfigDetail build() { final var o = new GetNotebookSessionNotebookSessionConfigDetail(); o.blockStorageSizeInGbs = blockStorageSizeInGbs; o.notebookSessionShapeConfigDetails = notebookSessionShapeConfigDetails; + o.privateEndpointId = privateEndpointId; o.shape = shape; o.subnetId = subnetId; return o; diff --git a/sdk/java/src/main/java/com/pulumi/oci/DataScience/outputs/GetNotebookSessionNotebookSessionConfigurationDetail.java b/sdk/java/src/main/java/com/pulumi/oci/DataScience/outputs/GetNotebookSessionNotebookSessionConfigurationDetail.java index c61558f389..901c0b5508 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DataScience/outputs/GetNotebookSessionNotebookSessionConfigurationDetail.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DataScience/outputs/GetNotebookSessionNotebookSessionConfigurationDetail.java @@ -22,6 +22,11 @@ public final class GetNotebookSessionNotebookSessionConfigurationDetail { * */ private List notebookSessionShapeConfigDetails; + /** + * @return The OCID of a Data Science private endpoint. + * + */ + private String privateEndpointId; /** * @return The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint. * @@ -48,6 +53,13 @@ public Integer blockStorageSizeInGbs() { public List notebookSessionShapeConfigDetails() { return this.notebookSessionShapeConfigDetails; } + /** + * @return The OCID of a Data Science private endpoint. + * + */ + public String privateEndpointId() { + return this.privateEndpointId; + } /** * @return The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint. * @@ -74,6 +86,7 @@ public static Builder builder(GetNotebookSessionNotebookSessionConfigurationDeta public static final class Builder { private Integer blockStorageSizeInGbs; private List notebookSessionShapeConfigDetails; + private String privateEndpointId; private String shape; private String subnetId; public Builder() {} @@ -81,6 +94,7 @@ public Builder(GetNotebookSessionNotebookSessionConfigurationDetail defaults) { Objects.requireNonNull(defaults); this.blockStorageSizeInGbs = defaults.blockStorageSizeInGbs; this.notebookSessionShapeConfigDetails = defaults.notebookSessionShapeConfigDetails; + this.privateEndpointId = defaults.privateEndpointId; this.shape = defaults.shape; this.subnetId = defaults.subnetId; } @@ -99,6 +113,11 @@ public Builder notebookSessionShapeConfigDetails(GetNotebookSessionNotebookSessi return notebookSessionShapeConfigDetails(List.of(notebookSessionShapeConfigDetails)); } @CustomType.Setter + public Builder privateEndpointId(String privateEndpointId) { + this.privateEndpointId = Objects.requireNonNull(privateEndpointId); + return this; + } + @CustomType.Setter public Builder shape(String shape) { this.shape = Objects.requireNonNull(shape); return this; @@ -112,6 +131,7 @@ public GetNotebookSessionNotebookSessionConfigurationDetail build() { final var o = new GetNotebookSessionNotebookSessionConfigurationDetail(); o.blockStorageSizeInGbs = blockStorageSizeInGbs; o.notebookSessionShapeConfigDetails = notebookSessionShapeConfigDetails; + o.privateEndpointId = privateEndpointId; o.shape = shape; o.subnetId = subnetId; return o; diff --git a/sdk/java/src/main/java/com/pulumi/oci/DataScience/outputs/GetNotebookSessionsNotebookSessionNotebookSessionConfigDetail.java b/sdk/java/src/main/java/com/pulumi/oci/DataScience/outputs/GetNotebookSessionsNotebookSessionNotebookSessionConfigDetail.java index 93f72b4b67..0586867ef5 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DataScience/outputs/GetNotebookSessionsNotebookSessionNotebookSessionConfigDetail.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DataScience/outputs/GetNotebookSessionsNotebookSessionNotebookSessionConfigDetail.java @@ -22,6 +22,11 @@ public final class GetNotebookSessionsNotebookSessionNotebookSessionConfigDetail * */ private List notebookSessionShapeConfigDetails; + /** + * @return The OCID of a Data Science private endpoint. + * + */ + private String privateEndpointId; /** * @return The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint. * @@ -48,6 +53,13 @@ public Integer blockStorageSizeInGbs() { public List notebookSessionShapeConfigDetails() { return this.notebookSessionShapeConfigDetails; } + /** + * @return The OCID of a Data Science private endpoint. + * + */ + public String privateEndpointId() { + return this.privateEndpointId; + } /** * @return The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint. * @@ -74,6 +86,7 @@ public static Builder builder(GetNotebookSessionsNotebookSessionNotebookSessionC public static final class Builder { private Integer blockStorageSizeInGbs; private List notebookSessionShapeConfigDetails; + private String privateEndpointId; private String shape; private String subnetId; public Builder() {} @@ -81,6 +94,7 @@ public Builder(GetNotebookSessionsNotebookSessionNotebookSessionConfigDetail def Objects.requireNonNull(defaults); this.blockStorageSizeInGbs = defaults.blockStorageSizeInGbs; this.notebookSessionShapeConfigDetails = defaults.notebookSessionShapeConfigDetails; + this.privateEndpointId = defaults.privateEndpointId; this.shape = defaults.shape; this.subnetId = defaults.subnetId; } @@ -99,6 +113,11 @@ public Builder notebookSessionShapeConfigDetails(GetNotebookSessionsNotebookSess return notebookSessionShapeConfigDetails(List.of(notebookSessionShapeConfigDetails)); } @CustomType.Setter + public Builder privateEndpointId(String privateEndpointId) { + this.privateEndpointId = Objects.requireNonNull(privateEndpointId); + return this; + } + @CustomType.Setter public Builder shape(String shape) { this.shape = Objects.requireNonNull(shape); return this; @@ -112,6 +131,7 @@ public GetNotebookSessionsNotebookSessionNotebookSessionConfigDetail build() { final var o = new GetNotebookSessionsNotebookSessionNotebookSessionConfigDetail(); o.blockStorageSizeInGbs = blockStorageSizeInGbs; o.notebookSessionShapeConfigDetails = notebookSessionShapeConfigDetails; + o.privateEndpointId = privateEndpointId; o.shape = shape; o.subnetId = subnetId; return o; diff --git a/sdk/java/src/main/java/com/pulumi/oci/DataScience/outputs/GetNotebookSessionsNotebookSessionNotebookSessionConfigurationDetail.java b/sdk/java/src/main/java/com/pulumi/oci/DataScience/outputs/GetNotebookSessionsNotebookSessionNotebookSessionConfigurationDetail.java index 83a44af16e..4331c1c8ae 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DataScience/outputs/GetNotebookSessionsNotebookSessionNotebookSessionConfigurationDetail.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DataScience/outputs/GetNotebookSessionsNotebookSessionNotebookSessionConfigurationDetail.java @@ -22,6 +22,11 @@ public final class GetNotebookSessionsNotebookSessionNotebookSessionConfiguratio * */ private List notebookSessionShapeConfigDetails; + /** + * @return The OCID of a Data Science private endpoint. + * + */ + private String privateEndpointId; /** * @return The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint. * @@ -48,6 +53,13 @@ public Integer blockStorageSizeInGbs() { public List notebookSessionShapeConfigDetails() { return this.notebookSessionShapeConfigDetails; } + /** + * @return The OCID of a Data Science private endpoint. + * + */ + public String privateEndpointId() { + return this.privateEndpointId; + } /** * @return The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint. * @@ -74,6 +86,7 @@ public static Builder builder(GetNotebookSessionsNotebookSessionNotebookSessionC public static final class Builder { private Integer blockStorageSizeInGbs; private List notebookSessionShapeConfigDetails; + private String privateEndpointId; private String shape; private String subnetId; public Builder() {} @@ -81,6 +94,7 @@ public Builder(GetNotebookSessionsNotebookSessionNotebookSessionConfigurationDet Objects.requireNonNull(defaults); this.blockStorageSizeInGbs = defaults.blockStorageSizeInGbs; this.notebookSessionShapeConfigDetails = defaults.notebookSessionShapeConfigDetails; + this.privateEndpointId = defaults.privateEndpointId; this.shape = defaults.shape; this.subnetId = defaults.subnetId; } @@ -99,6 +113,11 @@ public Builder notebookSessionShapeConfigDetails(GetNotebookSessionsNotebookSess return notebookSessionShapeConfigDetails(List.of(notebookSessionShapeConfigDetails)); } @CustomType.Setter + public Builder privateEndpointId(String privateEndpointId) { + this.privateEndpointId = Objects.requireNonNull(privateEndpointId); + return this; + } + @CustomType.Setter public Builder shape(String shape) { this.shape = Objects.requireNonNull(shape); return this; @@ -112,6 +131,7 @@ public GetNotebookSessionsNotebookSessionNotebookSessionConfigurationDetail buil final var o = new GetNotebookSessionsNotebookSessionNotebookSessionConfigurationDetail(); o.blockStorageSizeInGbs = blockStorageSizeInGbs; o.notebookSessionShapeConfigDetails = notebookSessionShapeConfigDetails; + o.privateEndpointId = privateEndpointId; o.shape = shape; o.subnetId = subnetId; return o; diff --git a/sdk/java/src/main/java/com/pulumi/oci/DataScience/outputs/GetPrivateEndpointResult.java b/sdk/java/src/main/java/com/pulumi/oci/DataScience/outputs/GetPrivateEndpointResult.java new file mode 100644 index 0000000000..67e74f0a09 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DataScience/outputs/GetPrivateEndpointResult.java @@ -0,0 +1,364 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.DataScience.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.Object; +import java.lang.String; +import java.util.List; +import java.util.Map; +import java.util.Objects; + +@CustomType +public final class GetPrivateEndpointResult { + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create private endpoint. + * + */ + private String compartmentId; + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user that created the private endpoint. + * + */ + private String createdBy; + private String dataSciencePrivateEndpointId; + /** + * @return Data Science resource type. + * + */ + private String dataScienceResourceType; + /** + * @return Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` + * + */ + private Map definedTags; + /** + * @return A user friendly description. Avoid entering confidential information. + * + */ + private String description; + /** + * @return A user friendly name. It doesn't have to be unique. Avoid entering confidential information. + * + */ + private String displayName; + /** + * @return Accesing the Data Science resource using FQDN. + * + */ + private String fqdn; + /** + * @return Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` + * + */ + private Map freeformTags; + /** + * @return The OCID of a private endpoint. + * + */ + private String id; + /** + * @return Details of the state of Data Science private endpoint. + * + */ + private String lifecycleDetails; + /** + * @return An array of network security group OCIDs. + * + */ + private List nsgIds; + /** + * @return State of the Data Science private endpoint. + * + */ + private String state; + private String subDomain; + /** + * @return The OCID of a subnet. + * + */ + private String subnetId; + /** + * @return The date and time that the Data Science private endpoint was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + * + */ + private String timeCreated; + /** + * @return The date and time that the Data Science private endpoint was updated expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + * + */ + private String timeUpdated; + + private GetPrivateEndpointResult() {} + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create private endpoint. + * + */ + public String compartmentId() { + return this.compartmentId; + } + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user that created the private endpoint. + * + */ + public String createdBy() { + return this.createdBy; + } + public String dataSciencePrivateEndpointId() { + return this.dataSciencePrivateEndpointId; + } + /** + * @return Data Science resource type. + * + */ + public String dataScienceResourceType() { + return this.dataScienceResourceType; + } + /** + * @return Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` + * + */ + public Map definedTags() { + return this.definedTags; + } + /** + * @return A user friendly description. Avoid entering confidential information. + * + */ + public String description() { + return this.description; + } + /** + * @return A user friendly name. It doesn't have to be unique. Avoid entering confidential information. + * + */ + public String displayName() { + return this.displayName; + } + /** + * @return Accesing the Data Science resource using FQDN. + * + */ + public String fqdn() { + return this.fqdn; + } + /** + * @return Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` + * + */ + public Map freeformTags() { + return this.freeformTags; + } + /** + * @return The OCID of a private endpoint. + * + */ + public String id() { + return this.id; + } + /** + * @return Details of the state of Data Science private endpoint. + * + */ + public String lifecycleDetails() { + return this.lifecycleDetails; + } + /** + * @return An array of network security group OCIDs. + * + */ + public List nsgIds() { + return this.nsgIds; + } + /** + * @return State of the Data Science private endpoint. + * + */ + public String state() { + return this.state; + } + public String subDomain() { + return this.subDomain; + } + /** + * @return The OCID of a subnet. + * + */ + public String subnetId() { + return this.subnetId; + } + /** + * @return The date and time that the Data Science private endpoint was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + * + */ + public String timeCreated() { + return this.timeCreated; + } + /** + * @return The date and time that the Data Science private endpoint was updated expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + * + */ + public String timeUpdated() { + return this.timeUpdated; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetPrivateEndpointResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String compartmentId; + private String createdBy; + private String dataSciencePrivateEndpointId; + private String dataScienceResourceType; + private Map definedTags; + private String description; + private String displayName; + private String fqdn; + private Map freeformTags; + private String id; + private String lifecycleDetails; + private List nsgIds; + private String state; + private String subDomain; + private String subnetId; + private String timeCreated; + private String timeUpdated; + public Builder() {} + public Builder(GetPrivateEndpointResult defaults) { + Objects.requireNonNull(defaults); + this.compartmentId = defaults.compartmentId; + this.createdBy = defaults.createdBy; + this.dataSciencePrivateEndpointId = defaults.dataSciencePrivateEndpointId; + this.dataScienceResourceType = defaults.dataScienceResourceType; + this.definedTags = defaults.definedTags; + this.description = defaults.description; + this.displayName = defaults.displayName; + this.fqdn = defaults.fqdn; + this.freeformTags = defaults.freeformTags; + this.id = defaults.id; + this.lifecycleDetails = defaults.lifecycleDetails; + this.nsgIds = defaults.nsgIds; + this.state = defaults.state; + this.subDomain = defaults.subDomain; + this.subnetId = defaults.subnetId; + this.timeCreated = defaults.timeCreated; + this.timeUpdated = defaults.timeUpdated; + } + + @CustomType.Setter + public Builder compartmentId(String compartmentId) { + this.compartmentId = Objects.requireNonNull(compartmentId); + return this; + } + @CustomType.Setter + public Builder createdBy(String createdBy) { + this.createdBy = Objects.requireNonNull(createdBy); + return this; + } + @CustomType.Setter + public Builder dataSciencePrivateEndpointId(String dataSciencePrivateEndpointId) { + this.dataSciencePrivateEndpointId = Objects.requireNonNull(dataSciencePrivateEndpointId); + return this; + } + @CustomType.Setter + public Builder dataScienceResourceType(String dataScienceResourceType) { + this.dataScienceResourceType = Objects.requireNonNull(dataScienceResourceType); + return this; + } + @CustomType.Setter + public Builder definedTags(Map definedTags) { + this.definedTags = Objects.requireNonNull(definedTags); + return this; + } + @CustomType.Setter + public Builder description(String description) { + this.description = Objects.requireNonNull(description); + return this; + } + @CustomType.Setter + public Builder displayName(String displayName) { + this.displayName = Objects.requireNonNull(displayName); + return this; + } + @CustomType.Setter + public Builder fqdn(String fqdn) { + this.fqdn = Objects.requireNonNull(fqdn); + return this; + } + @CustomType.Setter + public Builder freeformTags(Map freeformTags) { + this.freeformTags = Objects.requireNonNull(freeformTags); + return this; + } + @CustomType.Setter + public Builder id(String id) { + this.id = Objects.requireNonNull(id); + return this; + } + @CustomType.Setter + public Builder lifecycleDetails(String lifecycleDetails) { + this.lifecycleDetails = Objects.requireNonNull(lifecycleDetails); + return this; + } + @CustomType.Setter + public Builder nsgIds(List nsgIds) { + this.nsgIds = Objects.requireNonNull(nsgIds); + return this; + } + public Builder nsgIds(String... nsgIds) { + return nsgIds(List.of(nsgIds)); + } + @CustomType.Setter + public Builder state(String state) { + this.state = Objects.requireNonNull(state); + return this; + } + @CustomType.Setter + public Builder subDomain(String subDomain) { + this.subDomain = Objects.requireNonNull(subDomain); + return this; + } + @CustomType.Setter + public Builder subnetId(String subnetId) { + this.subnetId = Objects.requireNonNull(subnetId); + return this; + } + @CustomType.Setter + public Builder timeCreated(String timeCreated) { + this.timeCreated = Objects.requireNonNull(timeCreated); + return this; + } + @CustomType.Setter + public Builder timeUpdated(String timeUpdated) { + this.timeUpdated = Objects.requireNonNull(timeUpdated); + return this; + } + public GetPrivateEndpointResult build() { + final var o = new GetPrivateEndpointResult(); + o.compartmentId = compartmentId; + o.createdBy = createdBy; + o.dataSciencePrivateEndpointId = dataSciencePrivateEndpointId; + o.dataScienceResourceType = dataScienceResourceType; + o.definedTags = definedTags; + o.description = description; + o.displayName = displayName; + o.fqdn = fqdn; + o.freeformTags = freeformTags; + o.id = id; + o.lifecycleDetails = lifecycleDetails; + o.nsgIds = nsgIds; + o.state = state; + o.subDomain = subDomain; + o.subnetId = subnetId; + o.timeCreated = timeCreated; + o.timeUpdated = timeUpdated; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DataScience/outputs/GetPrivateEndpointsDataSciencePrivateEndpoint.java b/sdk/java/src/main/java/com/pulumi/oci/DataScience/outputs/GetPrivateEndpointsDataSciencePrivateEndpoint.java new file mode 100644 index 0000000000..54cfa83626 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DataScience/outputs/GetPrivateEndpointsDataSciencePrivateEndpoint.java @@ -0,0 +1,352 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.DataScience.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.Object; +import java.lang.String; +import java.util.List; +import java.util.Map; +import java.util.Objects; + +@CustomType +public final class GetPrivateEndpointsDataSciencePrivateEndpoint { + /** + * @return <b>Filter</b> results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + * + */ + private String compartmentId; + /** + * @return <b>Filter</b> results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the resource. + * + */ + private String createdBy; + /** + * @return Resource types in the Data Science service such as notebooks. + * + */ + private String dataScienceResourceType; + /** + * @return Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` + * + */ + private Map definedTags; + /** + * @return A user friendly description. Avoid entering confidential information. + * + */ + private String description; + /** + * @return <b>Filter</b> results by its user-friendly name. + * + */ + private String displayName; + /** + * @return Accesing the Data Science resource using FQDN. + * + */ + private String fqdn; + /** + * @return Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` + * + */ + private Map freeformTags; + /** + * @return The OCID of a private endpoint. + * + */ + private String id; + /** + * @return Details of the state of Data Science private endpoint. + * + */ + private String lifecycleDetails; + /** + * @return An array of network security group OCIDs. + * + */ + private List nsgIds; + /** + * @return The lifecycle state of the private endpoint. + * + */ + private String state; + private String subDomain; + /** + * @return The OCID of a subnet. + * + */ + private String subnetId; + /** + * @return The date and time that the Data Science private endpoint was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + * + */ + private String timeCreated; + /** + * @return The date and time that the Data Science private endpoint was updated expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + * + */ + private String timeUpdated; + + private GetPrivateEndpointsDataSciencePrivateEndpoint() {} + /** + * @return <b>Filter</b> results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + * + */ + public String compartmentId() { + return this.compartmentId; + } + /** + * @return <b>Filter</b> results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the resource. + * + */ + public String createdBy() { + return this.createdBy; + } + /** + * @return Resource types in the Data Science service such as notebooks. + * + */ + public String dataScienceResourceType() { + return this.dataScienceResourceType; + } + /** + * @return Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` + * + */ + public Map definedTags() { + return this.definedTags; + } + /** + * @return A user friendly description. Avoid entering confidential information. + * + */ + public String description() { + return this.description; + } + /** + * @return <b>Filter</b> results by its user-friendly name. + * + */ + public String displayName() { + return this.displayName; + } + /** + * @return Accesing the Data Science resource using FQDN. + * + */ + public String fqdn() { + return this.fqdn; + } + /** + * @return Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` + * + */ + public Map freeformTags() { + return this.freeformTags; + } + /** + * @return The OCID of a private endpoint. + * + */ + public String id() { + return this.id; + } + /** + * @return Details of the state of Data Science private endpoint. + * + */ + public String lifecycleDetails() { + return this.lifecycleDetails; + } + /** + * @return An array of network security group OCIDs. + * + */ + public List nsgIds() { + return this.nsgIds; + } + /** + * @return The lifecycle state of the private endpoint. + * + */ + public String state() { + return this.state; + } + public String subDomain() { + return this.subDomain; + } + /** + * @return The OCID of a subnet. + * + */ + public String subnetId() { + return this.subnetId; + } + /** + * @return The date and time that the Data Science private endpoint was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + * + */ + public String timeCreated() { + return this.timeCreated; + } + /** + * @return The date and time that the Data Science private endpoint was updated expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + * + */ + public String timeUpdated() { + return this.timeUpdated; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetPrivateEndpointsDataSciencePrivateEndpoint defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String compartmentId; + private String createdBy; + private String dataScienceResourceType; + private Map definedTags; + private String description; + private String displayName; + private String fqdn; + private Map freeformTags; + private String id; + private String lifecycleDetails; + private List nsgIds; + private String state; + private String subDomain; + private String subnetId; + private String timeCreated; + private String timeUpdated; + public Builder() {} + public Builder(GetPrivateEndpointsDataSciencePrivateEndpoint defaults) { + Objects.requireNonNull(defaults); + this.compartmentId = defaults.compartmentId; + this.createdBy = defaults.createdBy; + this.dataScienceResourceType = defaults.dataScienceResourceType; + this.definedTags = defaults.definedTags; + this.description = defaults.description; + this.displayName = defaults.displayName; + this.fqdn = defaults.fqdn; + this.freeformTags = defaults.freeformTags; + this.id = defaults.id; + this.lifecycleDetails = defaults.lifecycleDetails; + this.nsgIds = defaults.nsgIds; + this.state = defaults.state; + this.subDomain = defaults.subDomain; + this.subnetId = defaults.subnetId; + this.timeCreated = defaults.timeCreated; + this.timeUpdated = defaults.timeUpdated; + } + + @CustomType.Setter + public Builder compartmentId(String compartmentId) { + this.compartmentId = Objects.requireNonNull(compartmentId); + return this; + } + @CustomType.Setter + public Builder createdBy(String createdBy) { + this.createdBy = Objects.requireNonNull(createdBy); + return this; + } + @CustomType.Setter + public Builder dataScienceResourceType(String dataScienceResourceType) { + this.dataScienceResourceType = Objects.requireNonNull(dataScienceResourceType); + return this; + } + @CustomType.Setter + public Builder definedTags(Map definedTags) { + this.definedTags = Objects.requireNonNull(definedTags); + return this; + } + @CustomType.Setter + public Builder description(String description) { + this.description = Objects.requireNonNull(description); + return this; + } + @CustomType.Setter + public Builder displayName(String displayName) { + this.displayName = Objects.requireNonNull(displayName); + return this; + } + @CustomType.Setter + public Builder fqdn(String fqdn) { + this.fqdn = Objects.requireNonNull(fqdn); + return this; + } + @CustomType.Setter + public Builder freeformTags(Map freeformTags) { + this.freeformTags = Objects.requireNonNull(freeformTags); + return this; + } + @CustomType.Setter + public Builder id(String id) { + this.id = Objects.requireNonNull(id); + return this; + } + @CustomType.Setter + public Builder lifecycleDetails(String lifecycleDetails) { + this.lifecycleDetails = Objects.requireNonNull(lifecycleDetails); + return this; + } + @CustomType.Setter + public Builder nsgIds(List nsgIds) { + this.nsgIds = Objects.requireNonNull(nsgIds); + return this; + } + public Builder nsgIds(String... nsgIds) { + return nsgIds(List.of(nsgIds)); + } + @CustomType.Setter + public Builder state(String state) { + this.state = Objects.requireNonNull(state); + return this; + } + @CustomType.Setter + public Builder subDomain(String subDomain) { + this.subDomain = Objects.requireNonNull(subDomain); + return this; + } + @CustomType.Setter + public Builder subnetId(String subnetId) { + this.subnetId = Objects.requireNonNull(subnetId); + return this; + } + @CustomType.Setter + public Builder timeCreated(String timeCreated) { + this.timeCreated = Objects.requireNonNull(timeCreated); + return this; + } + @CustomType.Setter + public Builder timeUpdated(String timeUpdated) { + this.timeUpdated = Objects.requireNonNull(timeUpdated); + return this; + } + public GetPrivateEndpointsDataSciencePrivateEndpoint build() { + final var o = new GetPrivateEndpointsDataSciencePrivateEndpoint(); + o.compartmentId = compartmentId; + o.createdBy = createdBy; + o.dataScienceResourceType = dataScienceResourceType; + o.definedTags = definedTags; + o.description = description; + o.displayName = displayName; + o.fqdn = fqdn; + o.freeformTags = freeformTags; + o.id = id; + o.lifecycleDetails = lifecycleDetails; + o.nsgIds = nsgIds; + o.state = state; + o.subDomain = subDomain; + o.subnetId = subnetId; + o.timeCreated = timeCreated; + o.timeUpdated = timeUpdated; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DataScience/outputs/GetPrivateEndpointsFilter.java b/sdk/java/src/main/java/com/pulumi/oci/DataScience/outputs/GetPrivateEndpointsFilter.java new file mode 100644 index 0000000000..f1f4a55e83 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DataScience/outputs/GetPrivateEndpointsFilter.java @@ -0,0 +1,77 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.DataScience.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetPrivateEndpointsFilter { + private String name; + private @Nullable Boolean regex; + private List values; + + private GetPrivateEndpointsFilter() {} + public String name() { + return this.name; + } + public Optional regex() { + return Optional.ofNullable(this.regex); + } + public List values() { + return this.values; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetPrivateEndpointsFilter defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String name; + private @Nullable Boolean regex; + private List values; + public Builder() {} + public Builder(GetPrivateEndpointsFilter defaults) { + Objects.requireNonNull(defaults); + this.name = defaults.name; + this.regex = defaults.regex; + this.values = defaults.values; + } + + @CustomType.Setter + public Builder name(String name) { + this.name = Objects.requireNonNull(name); + return this; + } + @CustomType.Setter + public Builder regex(@Nullable Boolean regex) { + this.regex = regex; + return this; + } + @CustomType.Setter + public Builder values(List values) { + this.values = Objects.requireNonNull(values); + return this; + } + public Builder values(String... values) { + return values(List.of(values)); + } + public GetPrivateEndpointsFilter build() { + final var o = new GetPrivateEndpointsFilter(); + o.name = name; + o.regex = regex; + o.values = values; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DataScience/outputs/GetPrivateEndpointsResult.java b/sdk/java/src/main/java/com/pulumi/oci/DataScience/outputs/GetPrivateEndpointsResult.java new file mode 100644 index 0000000000..e8de7ee336 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DataScience/outputs/GetPrivateEndpointsResult.java @@ -0,0 +1,197 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.DataScience.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.oci.DataScience.outputs.GetPrivateEndpointsDataSciencePrivateEndpoint; +import com.pulumi.oci.DataScience.outputs.GetPrivateEndpointsFilter; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetPrivateEndpointsResult { + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create private endpoint. + * + */ + private String compartmentId; + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user that created the private endpoint. + * + */ + private @Nullable String createdBy; + /** + * @return The list of data_science_private_endpoints. + * + */ + private List dataSciencePrivateEndpoints; + /** + * @return Data Science resource type. + * + */ + private @Nullable String dataScienceResourceType; + /** + * @return A user friendly name. It doesn't have to be unique. Avoid entering confidential information. + * + */ + private @Nullable String displayName; + private @Nullable List filters; + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + private String id; + /** + * @return State of the Data Science private endpoint. + * + */ + private @Nullable String state; + + private GetPrivateEndpointsResult() {} + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create private endpoint. + * + */ + public String compartmentId() { + return this.compartmentId; + } + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user that created the private endpoint. + * + */ + public Optional createdBy() { + return Optional.ofNullable(this.createdBy); + } + /** + * @return The list of data_science_private_endpoints. + * + */ + public List dataSciencePrivateEndpoints() { + return this.dataSciencePrivateEndpoints; + } + /** + * @return Data Science resource type. + * + */ + public Optional dataScienceResourceType() { + return Optional.ofNullable(this.dataScienceResourceType); + } + /** + * @return A user friendly name. It doesn't have to be unique. Avoid entering confidential information. + * + */ + public Optional displayName() { + return Optional.ofNullable(this.displayName); + } + public List filters() { + return this.filters == null ? List.of() : this.filters; + } + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + public String id() { + return this.id; + } + /** + * @return State of the Data Science private endpoint. + * + */ + public Optional state() { + return Optional.ofNullable(this.state); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetPrivateEndpointsResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String compartmentId; + private @Nullable String createdBy; + private List dataSciencePrivateEndpoints; + private @Nullable String dataScienceResourceType; + private @Nullable String displayName; + private @Nullable List filters; + private String id; + private @Nullable String state; + public Builder() {} + public Builder(GetPrivateEndpointsResult defaults) { + Objects.requireNonNull(defaults); + this.compartmentId = defaults.compartmentId; + this.createdBy = defaults.createdBy; + this.dataSciencePrivateEndpoints = defaults.dataSciencePrivateEndpoints; + this.dataScienceResourceType = defaults.dataScienceResourceType; + this.displayName = defaults.displayName; + this.filters = defaults.filters; + this.id = defaults.id; + this.state = defaults.state; + } + + @CustomType.Setter + public Builder compartmentId(String compartmentId) { + this.compartmentId = Objects.requireNonNull(compartmentId); + return this; + } + @CustomType.Setter + public Builder createdBy(@Nullable String createdBy) { + this.createdBy = createdBy; + return this; + } + @CustomType.Setter + public Builder dataSciencePrivateEndpoints(List dataSciencePrivateEndpoints) { + this.dataSciencePrivateEndpoints = Objects.requireNonNull(dataSciencePrivateEndpoints); + return this; + } + public Builder dataSciencePrivateEndpoints(GetPrivateEndpointsDataSciencePrivateEndpoint... dataSciencePrivateEndpoints) { + return dataSciencePrivateEndpoints(List.of(dataSciencePrivateEndpoints)); + } + @CustomType.Setter + public Builder dataScienceResourceType(@Nullable String dataScienceResourceType) { + this.dataScienceResourceType = dataScienceResourceType; + return this; + } + @CustomType.Setter + public Builder displayName(@Nullable String displayName) { + this.displayName = displayName; + return this; + } + @CustomType.Setter + public Builder filters(@Nullable List filters) { + this.filters = filters; + return this; + } + public Builder filters(GetPrivateEndpointsFilter... filters) { + return filters(List.of(filters)); + } + @CustomType.Setter + public Builder id(String id) { + this.id = Objects.requireNonNull(id); + return this; + } + @CustomType.Setter + public Builder state(@Nullable String state) { + this.state = state; + return this; + } + public GetPrivateEndpointsResult build() { + final var o = new GetPrivateEndpointsResult(); + o.compartmentId = compartmentId; + o.createdBy = createdBy; + o.dataSciencePrivateEndpoints = dataSciencePrivateEndpoints; + o.dataScienceResourceType = dataScienceResourceType; + o.displayName = displayName; + o.filters = filters; + o.id = id; + o.state = state; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DataScience/outputs/ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetails.java b/sdk/java/src/main/java/com/pulumi/oci/DataScience/outputs/ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetails.java index 9160c0a216..096a0704c5 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DataScience/outputs/ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetails.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DataScience/outputs/ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetails.java @@ -15,7 +15,7 @@ @CustomType public final class ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetails { /** - * @return (Updatable) The network bandwidth for the model. + * @return (Updatable) The minimum network bandwidth for the model deployment. * */ private @Nullable Integer bandwidthMbps; @@ -37,7 +37,7 @@ public final class ModelDeploymentModelDeploymentConfigurationDetailsModelConfig private ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetails() {} /** - * @return (Updatable) The network bandwidth for the model. + * @return (Updatable) The minimum network bandwidth for the model deployment. * */ public Optional bandwidthMbps() { diff --git a/sdk/java/src/main/java/com/pulumi/oci/DataScience/outputs/NotebookSessionNotebookSessionConfigDetails.java b/sdk/java/src/main/java/com/pulumi/oci/DataScience/outputs/NotebookSessionNotebookSessionConfigDetails.java index b5607269f6..04d590abc2 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DataScience/outputs/NotebookSessionNotebookSessionConfigDetails.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DataScience/outputs/NotebookSessionNotebookSessionConfigDetails.java @@ -23,6 +23,11 @@ public final class NotebookSessionNotebookSessionConfigDetails { * */ private @Nullable NotebookSessionNotebookSessionConfigDetailsNotebookSessionShapeConfigDetails notebookSessionShapeConfigDetails; + /** + * @return (Updatable) The OCID of a Data Science private endpoint. + * + */ + private @Nullable String privateEndpointId; /** * @return (Updatable) The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint. * @@ -49,6 +54,13 @@ public Optional blockStorageSizeInGbs() { public Optional notebookSessionShapeConfigDetails() { return Optional.ofNullable(this.notebookSessionShapeConfigDetails); } + /** + * @return (Updatable) The OCID of a Data Science private endpoint. + * + */ + public Optional privateEndpointId() { + return Optional.ofNullable(this.privateEndpointId); + } /** * @return (Updatable) The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint. * @@ -75,6 +87,7 @@ public static Builder builder(NotebookSessionNotebookSessionConfigDetails defaul public static final class Builder { private @Nullable Integer blockStorageSizeInGbs; private @Nullable NotebookSessionNotebookSessionConfigDetailsNotebookSessionShapeConfigDetails notebookSessionShapeConfigDetails; + private @Nullable String privateEndpointId; private String shape; private @Nullable String subnetId; public Builder() {} @@ -82,6 +95,7 @@ public Builder(NotebookSessionNotebookSessionConfigDetails defaults) { Objects.requireNonNull(defaults); this.blockStorageSizeInGbs = defaults.blockStorageSizeInGbs; this.notebookSessionShapeConfigDetails = defaults.notebookSessionShapeConfigDetails; + this.privateEndpointId = defaults.privateEndpointId; this.shape = defaults.shape; this.subnetId = defaults.subnetId; } @@ -97,6 +111,11 @@ public Builder notebookSessionShapeConfigDetails(@Nullable NotebookSessionNotebo return this; } @CustomType.Setter + public Builder privateEndpointId(@Nullable String privateEndpointId) { + this.privateEndpointId = privateEndpointId; + return this; + } + @CustomType.Setter public Builder shape(String shape) { this.shape = Objects.requireNonNull(shape); return this; @@ -110,6 +129,7 @@ public NotebookSessionNotebookSessionConfigDetails build() { final var o = new NotebookSessionNotebookSessionConfigDetails(); o.blockStorageSizeInGbs = blockStorageSizeInGbs; o.notebookSessionShapeConfigDetails = notebookSessionShapeConfigDetails; + o.privateEndpointId = privateEndpointId; o.shape = shape; o.subnetId = subnetId; return o; diff --git a/sdk/java/src/main/java/com/pulumi/oci/DataScience/outputs/NotebookSessionNotebookSessionConfigurationDetails.java b/sdk/java/src/main/java/com/pulumi/oci/DataScience/outputs/NotebookSessionNotebookSessionConfigurationDetails.java index 0803818593..e28feedab8 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DataScience/outputs/NotebookSessionNotebookSessionConfigurationDetails.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DataScience/outputs/NotebookSessionNotebookSessionConfigurationDetails.java @@ -23,6 +23,11 @@ public final class NotebookSessionNotebookSessionConfigurationDetails { * */ private @Nullable NotebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetails notebookSessionShapeConfigDetails; + /** + * @return (Updatable) The OCID of a Data Science private endpoint. + * + */ + private @Nullable String privateEndpointId; /** * @return (Updatable) The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint. * @@ -49,6 +54,13 @@ public Optional blockStorageSizeInGbs() { public Optional notebookSessionShapeConfigDetails() { return Optional.ofNullable(this.notebookSessionShapeConfigDetails); } + /** + * @return (Updatable) The OCID of a Data Science private endpoint. + * + */ + public Optional privateEndpointId() { + return Optional.ofNullable(this.privateEndpointId); + } /** * @return (Updatable) The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint. * @@ -75,6 +87,7 @@ public static Builder builder(NotebookSessionNotebookSessionConfigurationDetails public static final class Builder { private @Nullable Integer blockStorageSizeInGbs; private @Nullable NotebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetails notebookSessionShapeConfigDetails; + private @Nullable String privateEndpointId; private String shape; private String subnetId; public Builder() {} @@ -82,6 +95,7 @@ public Builder(NotebookSessionNotebookSessionConfigurationDetails defaults) { Objects.requireNonNull(defaults); this.blockStorageSizeInGbs = defaults.blockStorageSizeInGbs; this.notebookSessionShapeConfigDetails = defaults.notebookSessionShapeConfigDetails; + this.privateEndpointId = defaults.privateEndpointId; this.shape = defaults.shape; this.subnetId = defaults.subnetId; } @@ -97,6 +111,11 @@ public Builder notebookSessionShapeConfigDetails(@Nullable NotebookSessionNotebo return this; } @CustomType.Setter + public Builder privateEndpointId(@Nullable String privateEndpointId) { + this.privateEndpointId = privateEndpointId; + return this; + } + @CustomType.Setter public Builder shape(String shape) { this.shape = Objects.requireNonNull(shape); return this; @@ -110,6 +129,7 @@ public NotebookSessionNotebookSessionConfigurationDetails build() { final var o = new NotebookSessionNotebookSessionConfigurationDetails(); o.blockStorageSizeInGbs = blockStorageSizeInGbs; o.notebookSessionShapeConfigDetails = notebookSessionShapeConfigDetails; + o.privateEndpointId = privateEndpointId; o.shape = shape; o.subnetId = subnetId; return o; diff --git a/sdk/java/src/main/java/com/pulumi/oci/Database/AutonomousDatabase.java b/sdk/java/src/main/java/com/pulumi/oci/Database/AutonomousDatabase.java index b3eedbecf8..0c7464c07d 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Database/AutonomousDatabase.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Database/AutonomousDatabase.java @@ -18,6 +18,7 @@ import com.pulumi.oci.Database.outputs.AutonomousDatabaseLocalStandbyDb; import com.pulumi.oci.Database.outputs.AutonomousDatabaseLongTermBackupSchedule; import com.pulumi.oci.Database.outputs.AutonomousDatabaseRemoteDisasterRecoveryConfiguration; +import com.pulumi.oci.Database.outputs.AutonomousDatabaseResourcePoolSummary; import com.pulumi.oci.Database.outputs.AutonomousDatabaseScheduledOperation; import com.pulumi.oci.Database.outputs.AutonomousDatabaseStandbyDb; import com.pulumi.oci.Utilities; @@ -1269,6 +1270,18 @@ public Output> remot public Output remoteDisasterRecoveryType() { return this.remoteDisasterRecoveryType; } + @Export(name="resourcePoolLeaderId", refs={String.class}, tree="[0]") + private Output resourcePoolLeaderId; + + public Output resourcePoolLeaderId() { + return this.resourcePoolLeaderId; + } + @Export(name="resourcePoolSummary", refs={AutonomousDatabaseResourcePoolSummary.class}, tree="[0]") + private Output resourcePoolSummary; + + public Output resourcePoolSummary() { + return this.resourcePoolSummary; + } /** * The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled. * @@ -1629,6 +1642,12 @@ public Output timeMaintenanceBegin() { public Output timeMaintenanceEnd() { return this.timeMaintenanceEnd; } + @Export(name="timeOfJoiningResourcePool", refs={String.class}, tree="[0]") + private Output timeOfJoiningResourcePool; + + public Output timeOfJoiningResourcePool() { + return this.timeOfJoiningResourcePool; + } /** * The timestamp of the last failover operation. * diff --git a/sdk/java/src/main/java/com/pulumi/oci/Database/AutonomousDatabaseArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Database/AutonomousDatabaseArgs.java index 1663b5f885..136f01647f 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Database/AutonomousDatabaseArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Database/AutonomousDatabaseArgs.java @@ -6,6 +6,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.oci.Database.inputs.AutonomousDatabaseCustomerContactArgs; +import com.pulumi.oci.Database.inputs.AutonomousDatabaseResourcePoolSummaryArgs; import com.pulumi.oci.Database.inputs.AutonomousDatabaseScheduledOperationArgs; import java.lang.Boolean; import java.lang.Double; @@ -862,6 +863,20 @@ public Optional> remoteDisasterRecoveryType() { return Optional.ofNullable(this.remoteDisasterRecoveryType); } + @Import(name="resourcePoolLeaderId") + private @Nullable Output resourcePoolLeaderId; + + public Optional> resourcePoolLeaderId() { + return Optional.ofNullable(this.resourcePoolLeaderId); + } + + @Import(name="resourcePoolSummary") + private @Nullable Output resourcePoolSummary; + + public Optional> resourcePoolSummary() { + return Optional.ofNullable(this.resourcePoolSummary); + } + /** * (Updatable) An optional property when flipped triggers rotation of KMS key. It is only applicable on dedicated databases i.e. where `is_dedicated` is true. * @@ -1195,6 +1210,8 @@ private AutonomousDatabaseArgs(AutonomousDatabaseArgs $) { this.privateEndpointLabel = $.privateEndpointLabel; this.refreshableMode = $.refreshableMode; this.remoteDisasterRecoveryType = $.remoteDisasterRecoveryType; + this.resourcePoolLeaderId = $.resourcePoolLeaderId; + this.resourcePoolSummary = $.resourcePoolSummary; this.rotateKeyTrigger = $.rotateKeyTrigger; this.scheduledOperations = $.scheduledOperations; this.secretId = $.secretId; @@ -2396,6 +2413,24 @@ public Builder remoteDisasterRecoveryType(String remoteDisasterRecoveryType) { return remoteDisasterRecoveryType(Output.of(remoteDisasterRecoveryType)); } + public Builder resourcePoolLeaderId(@Nullable Output resourcePoolLeaderId) { + $.resourcePoolLeaderId = resourcePoolLeaderId; + return this; + } + + public Builder resourcePoolLeaderId(String resourcePoolLeaderId) { + return resourcePoolLeaderId(Output.of(resourcePoolLeaderId)); + } + + public Builder resourcePoolSummary(@Nullable Output resourcePoolSummary) { + $.resourcePoolSummary = resourcePoolSummary; + return this; + } + + public Builder resourcePoolSummary(AutonomousDatabaseResourcePoolSummaryArgs resourcePoolSummary) { + return resourcePoolSummary(Output.of(resourcePoolSummary)); + } + /** * @param rotateKeyTrigger (Updatable) An optional property when flipped triggers rotation of KMS key. It is only applicable on dedicated databases i.e. where `is_dedicated` is true. * diff --git a/sdk/java/src/main/java/com/pulumi/oci/Database/DatabaseFunctions.java b/sdk/java/src/main/java/com/pulumi/oci/Database/DatabaseFunctions.java index df8f83fc04..fe6058fda8 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Database/DatabaseFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Database/DatabaseFunctions.java @@ -3687,6 +3687,8 @@ public static CompletableFuture getAutonomous * .isDataGuardEnabled(var_.autonomous_database_is_data_guard_enabled()) * .isFreeTier(var_.autonomous_database_is_free_tier()) * .isRefreshableClone(var_.autonomous_database_is_refreshable_clone()) + * .isResourcePoolLeader(var_.autonomous_database_is_resource_pool_leader()) + * .resourcePoolLeaderId(oci_database_resource_pool_leader.test_resource_pool_leader().id()) * .state(var_.autonomous_database_state()) * .build()); * @@ -3735,6 +3737,8 @@ public static Output getAutonomousDatabases(GetAut * .isDataGuardEnabled(var_.autonomous_database_is_data_guard_enabled()) * .isFreeTier(var_.autonomous_database_is_free_tier()) * .isRefreshableClone(var_.autonomous_database_is_refreshable_clone()) + * .isResourcePoolLeader(var_.autonomous_database_is_resource_pool_leader()) + * .resourcePoolLeaderId(oci_database_resource_pool_leader.test_resource_pool_leader().id()) * .state(var_.autonomous_database_state()) * .build()); * @@ -3783,6 +3787,8 @@ public static CompletableFuture getAutonomousDatab * .isDataGuardEnabled(var_.autonomous_database_is_data_guard_enabled()) * .isFreeTier(var_.autonomous_database_is_free_tier()) * .isRefreshableClone(var_.autonomous_database_is_refreshable_clone()) + * .isResourcePoolLeader(var_.autonomous_database_is_resource_pool_leader()) + * .resourcePoolLeaderId(oci_database_resource_pool_leader.test_resource_pool_leader().id()) * .state(var_.autonomous_database_state()) * .build()); * @@ -3831,6 +3837,8 @@ public static Output getAutonomousDatabases(GetAut * .isDataGuardEnabled(var_.autonomous_database_is_data_guard_enabled()) * .isFreeTier(var_.autonomous_database_is_free_tier()) * .isRefreshableClone(var_.autonomous_database_is_refreshable_clone()) + * .isResourcePoolLeader(var_.autonomous_database_is_resource_pool_leader()) + * .resourcePoolLeaderId(oci_database_resource_pool_leader.test_resource_pool_leader().id()) * .state(var_.autonomous_database_state()) * .build()); * diff --git a/sdk/java/src/main/java/com/pulumi/oci/Database/inputs/AutonomousDatabaseResourcePoolSummaryArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Database/inputs/AutonomousDatabaseResourcePoolSummaryArgs.java new file mode 100644 index 0000000000..b227bd9e94 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Database/inputs/AutonomousDatabaseResourcePoolSummaryArgs.java @@ -0,0 +1,101 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Database.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.Boolean; +import java.lang.Integer; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class AutonomousDatabaseResourcePoolSummaryArgs extends com.pulumi.resources.ResourceArgs { + + public static final AutonomousDatabaseResourcePoolSummaryArgs Empty = new AutonomousDatabaseResourcePoolSummaryArgs(); + + /** + * Indicates if the long-term backup schedule should be deleted. The default value is `FALSE`. + * + */ + @Import(name="isDisabled") + private @Nullable Output isDisabled; + + /** + * @return Indicates if the long-term backup schedule should be deleted. The default value is `FALSE`. + * + */ + public Optional> isDisabled() { + return Optional.ofNullable(this.isDisabled); + } + + @Import(name="poolSize") + private @Nullable Output poolSize; + + public Optional> poolSize() { + return Optional.ofNullable(this.poolSize); + } + + private AutonomousDatabaseResourcePoolSummaryArgs() {} + + private AutonomousDatabaseResourcePoolSummaryArgs(AutonomousDatabaseResourcePoolSummaryArgs $) { + this.isDisabled = $.isDisabled; + this.poolSize = $.poolSize; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(AutonomousDatabaseResourcePoolSummaryArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private AutonomousDatabaseResourcePoolSummaryArgs $; + + public Builder() { + $ = new AutonomousDatabaseResourcePoolSummaryArgs(); + } + + public Builder(AutonomousDatabaseResourcePoolSummaryArgs defaults) { + $ = new AutonomousDatabaseResourcePoolSummaryArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param isDisabled Indicates if the long-term backup schedule should be deleted. The default value is `FALSE`. + * + * @return builder + * + */ + public Builder isDisabled(@Nullable Output isDisabled) { + $.isDisabled = isDisabled; + return this; + } + + /** + * @param isDisabled Indicates if the long-term backup schedule should be deleted. The default value is `FALSE`. + * + * @return builder + * + */ + public Builder isDisabled(Boolean isDisabled) { + return isDisabled(Output.of(isDisabled)); + } + + public Builder poolSize(@Nullable Output poolSize) { + $.poolSize = poolSize; + return this; + } + + public Builder poolSize(Integer poolSize) { + return poolSize(Output.of(poolSize)); + } + + public AutonomousDatabaseResourcePoolSummaryArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Database/inputs/AutonomousDatabaseState.java b/sdk/java/src/main/java/com/pulumi/oci/Database/inputs/AutonomousDatabaseState.java index 5510fa97a5..4aa6522585 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Database/inputs/AutonomousDatabaseState.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Database/inputs/AutonomousDatabaseState.java @@ -14,6 +14,7 @@ import com.pulumi.oci.Database.inputs.AutonomousDatabaseLocalStandbyDbArgs; import com.pulumi.oci.Database.inputs.AutonomousDatabaseLongTermBackupScheduleArgs; import com.pulumi.oci.Database.inputs.AutonomousDatabaseRemoteDisasterRecoveryConfigurationArgs; +import com.pulumi.oci.Database.inputs.AutonomousDatabaseResourcePoolSummaryArgs; import com.pulumi.oci.Database.inputs.AutonomousDatabaseScheduledOperationArgs; import com.pulumi.oci.Database.inputs.AutonomousDatabaseStandbyDbArgs; import java.lang.Boolean; @@ -1336,6 +1337,20 @@ public Optional> remoteDisasterRecoveryType() { return Optional.ofNullable(this.remoteDisasterRecoveryType); } + @Import(name="resourcePoolLeaderId") + private @Nullable Output resourcePoolLeaderId; + + public Optional> resourcePoolLeaderId() { + return Optional.ofNullable(this.resourcePoolLeaderId); + } + + @Import(name="resourcePoolSummary") + private @Nullable Output resourcePoolSummary; + + public Optional> resourcePoolSummary() { + return Optional.ofNullable(this.resourcePoolSummary); + } + /** * The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled. * @@ -1719,6 +1734,13 @@ public Optional> timeMaintenanceEnd() { return Optional.ofNullable(this.timeMaintenanceEnd); } + @Import(name="timeOfJoiningResourcePool") + private @Nullable Output timeOfJoiningResourcePool; + + public Optional> timeOfJoiningResourcePool() { + return Optional.ofNullable(this.timeOfJoiningResourcePool); + } + /** * The timestamp of the last failover operation. * @@ -2030,6 +2052,8 @@ private AutonomousDatabaseState(AutonomousDatabaseState $) { this.refreshableStatus = $.refreshableStatus; this.remoteDisasterRecoveryConfigurations = $.remoteDisasterRecoveryConfigurations; this.remoteDisasterRecoveryType = $.remoteDisasterRecoveryType; + this.resourcePoolLeaderId = $.resourcePoolLeaderId; + this.resourcePoolSummary = $.resourcePoolSummary; this.role = $.role; this.rotateKeyTrigger = $.rotateKeyTrigger; this.scheduledOperations = $.scheduledOperations; @@ -2053,6 +2077,7 @@ private AutonomousDatabaseState(AutonomousDatabaseState $) { this.timeLocalDataGuardEnabled = $.timeLocalDataGuardEnabled; this.timeMaintenanceBegin = $.timeMaintenanceBegin; this.timeMaintenanceEnd = $.timeMaintenanceEnd; + this.timeOfJoiningResourcePool = $.timeOfJoiningResourcePool; this.timeOfLastFailover = $.timeOfLastFailover; this.timeOfLastRefresh = $.timeOfLastRefresh; this.timeOfLastRefreshPoint = $.timeOfLastRefreshPoint; @@ -4014,6 +4039,24 @@ public Builder remoteDisasterRecoveryType(String remoteDisasterRecoveryType) { return remoteDisasterRecoveryType(Output.of(remoteDisasterRecoveryType)); } + public Builder resourcePoolLeaderId(@Nullable Output resourcePoolLeaderId) { + $.resourcePoolLeaderId = resourcePoolLeaderId; + return this; + } + + public Builder resourcePoolLeaderId(String resourcePoolLeaderId) { + return resourcePoolLeaderId(Output.of(resourcePoolLeaderId)); + } + + public Builder resourcePoolSummary(@Nullable Output resourcePoolSummary) { + $.resourcePoolSummary = resourcePoolSummary; + return this; + } + + public Builder resourcePoolSummary(AutonomousDatabaseResourcePoolSummaryArgs resourcePoolSummary) { + return resourcePoolSummary(Output.of(resourcePoolSummary)); + } + /** * @param role The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled. * @@ -4583,6 +4626,15 @@ public Builder timeMaintenanceEnd(String timeMaintenanceEnd) { return timeMaintenanceEnd(Output.of(timeMaintenanceEnd)); } + public Builder timeOfJoiningResourcePool(@Nullable Output timeOfJoiningResourcePool) { + $.timeOfJoiningResourcePool = timeOfJoiningResourcePool; + return this; + } + + public Builder timeOfJoiningResourcePool(String timeOfJoiningResourcePool) { + return timeOfJoiningResourcePool(Output.of(timeOfJoiningResourcePool)); + } + /** * @param timeOfLastFailover The timestamp of the last failover operation. * diff --git a/sdk/java/src/main/java/com/pulumi/oci/Database/inputs/GetAutonomousDatabasesArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Database/inputs/GetAutonomousDatabasesArgs.java index fc8f82f5c1..bf167456cf 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Database/inputs/GetAutonomousDatabasesArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Database/inputs/GetAutonomousDatabasesArgs.java @@ -160,6 +160,36 @@ public Optional> isRefreshableClone() { return Optional.ofNullable(this.isRefreshableClone); } + /** + * Filter if the resource is the resource pool leader. A value of `true` returns only resource pool leader. + * + */ + @Import(name="isResourcePoolLeader") + private @Nullable Output isResourcePoolLeader; + + /** + * @return Filter if the resource is the resource pool leader. A value of `true` returns only resource pool leader. + * + */ + public Optional> isResourcePoolLeader() { + return Optional.ofNullable(this.isResourcePoolLeader); + } + + /** + * The database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resourcepool Leader Autonomous Database. + * + */ + @Import(name="resourcePoolLeaderId") + private @Nullable Output resourcePoolLeaderId; + + /** + * @return The database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resourcepool Leader Autonomous Database. + * + */ + public Optional> resourcePoolLeaderId() { + return Optional.ofNullable(this.resourcePoolLeaderId); + } + /** * A filter to return only resources that match the given lifecycle state exactly. * @@ -188,6 +218,8 @@ private GetAutonomousDatabasesArgs(GetAutonomousDatabasesArgs $) { this.isDataGuardEnabled = $.isDataGuardEnabled; this.isFreeTier = $.isFreeTier; this.isRefreshableClone = $.isRefreshableClone; + this.isResourcePoolLeader = $.isResourcePoolLeader; + this.resourcePoolLeaderId = $.resourcePoolLeaderId; this.state = $.state; } @@ -411,6 +443,48 @@ public Builder isRefreshableClone(Boolean isRefreshableClone) { return isRefreshableClone(Output.of(isRefreshableClone)); } + /** + * @param isResourcePoolLeader Filter if the resource is the resource pool leader. A value of `true` returns only resource pool leader. + * + * @return builder + * + */ + public Builder isResourcePoolLeader(@Nullable Output isResourcePoolLeader) { + $.isResourcePoolLeader = isResourcePoolLeader; + return this; + } + + /** + * @param isResourcePoolLeader Filter if the resource is the resource pool leader. A value of `true` returns only resource pool leader. + * + * @return builder + * + */ + public Builder isResourcePoolLeader(Boolean isResourcePoolLeader) { + return isResourcePoolLeader(Output.of(isResourcePoolLeader)); + } + + /** + * @param resourcePoolLeaderId The database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resourcepool Leader Autonomous Database. + * + * @return builder + * + */ + public Builder resourcePoolLeaderId(@Nullable Output resourcePoolLeaderId) { + $.resourcePoolLeaderId = resourcePoolLeaderId; + return this; + } + + /** + * @param resourcePoolLeaderId The database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resourcepool Leader Autonomous Database. + * + * @return builder + * + */ + public Builder resourcePoolLeaderId(String resourcePoolLeaderId) { + return resourcePoolLeaderId(Output.of(resourcePoolLeaderId)); + } + /** * @param state A filter to return only resources that match the given lifecycle state exactly. * diff --git a/sdk/java/src/main/java/com/pulumi/oci/Database/inputs/GetAutonomousDatabasesPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Database/inputs/GetAutonomousDatabasesPlainArgs.java index a46dea2d3e..e21d2188c0 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Database/inputs/GetAutonomousDatabasesPlainArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Database/inputs/GetAutonomousDatabasesPlainArgs.java @@ -159,6 +159,36 @@ public Optional isRefreshableClone() { return Optional.ofNullable(this.isRefreshableClone); } + /** + * Filter if the resource is the resource pool leader. A value of `true` returns only resource pool leader. + * + */ + @Import(name="isResourcePoolLeader") + private @Nullable Boolean isResourcePoolLeader; + + /** + * @return Filter if the resource is the resource pool leader. A value of `true` returns only resource pool leader. + * + */ + public Optional isResourcePoolLeader() { + return Optional.ofNullable(this.isResourcePoolLeader); + } + + /** + * The database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resourcepool Leader Autonomous Database. + * + */ + @Import(name="resourcePoolLeaderId") + private @Nullable String resourcePoolLeaderId; + + /** + * @return The database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resourcepool Leader Autonomous Database. + * + */ + public Optional resourcePoolLeaderId() { + return Optional.ofNullable(this.resourcePoolLeaderId); + } + /** * A filter to return only resources that match the given lifecycle state exactly. * @@ -187,6 +217,8 @@ private GetAutonomousDatabasesPlainArgs(GetAutonomousDatabasesPlainArgs $) { this.isDataGuardEnabled = $.isDataGuardEnabled; this.isFreeTier = $.isFreeTier; this.isRefreshableClone = $.isRefreshableClone; + this.isResourcePoolLeader = $.isResourcePoolLeader; + this.resourcePoolLeaderId = $.resourcePoolLeaderId; this.state = $.state; } @@ -316,6 +348,28 @@ public Builder isRefreshableClone(@Nullable Boolean isRefreshableClone) { return this; } + /** + * @param isResourcePoolLeader Filter if the resource is the resource pool leader. A value of `true` returns only resource pool leader. + * + * @return builder + * + */ + public Builder isResourcePoolLeader(@Nullable Boolean isResourcePoolLeader) { + $.isResourcePoolLeader = isResourcePoolLeader; + return this; + } + + /** + * @param resourcePoolLeaderId The database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resourcepool Leader Autonomous Database. + * + * @return builder + * + */ + public Builder resourcePoolLeaderId(@Nullable String resourcePoolLeaderId) { + $.resourcePoolLeaderId = resourcePoolLeaderId; + return this; + } + /** * @param state A filter to return only resources that match the given lifecycle state exactly. * diff --git a/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/AutonomousDatabaseResourcePoolSummary.java b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/AutonomousDatabaseResourcePoolSummary.java new file mode 100644 index 0000000000..4b4a7c9816 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/AutonomousDatabaseResourcePoolSummary.java @@ -0,0 +1,69 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Database.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.Boolean; +import java.lang.Integer; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class AutonomousDatabaseResourcePoolSummary { + /** + * @return Indicates if the long-term backup schedule should be deleted. The default value is `FALSE`. + * + */ + private @Nullable Boolean isDisabled; + private @Nullable Integer poolSize; + + private AutonomousDatabaseResourcePoolSummary() {} + /** + * @return Indicates if the long-term backup schedule should be deleted. The default value is `FALSE`. + * + */ + public Optional isDisabled() { + return Optional.ofNullable(this.isDisabled); + } + public Optional poolSize() { + return Optional.ofNullable(this.poolSize); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(AutonomousDatabaseResourcePoolSummary defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable Boolean isDisabled; + private @Nullable Integer poolSize; + public Builder() {} + public Builder(AutonomousDatabaseResourcePoolSummary defaults) { + Objects.requireNonNull(defaults); + this.isDisabled = defaults.isDisabled; + this.poolSize = defaults.poolSize; + } + + @CustomType.Setter + public Builder isDisabled(@Nullable Boolean isDisabled) { + this.isDisabled = isDisabled; + return this; + } + @CustomType.Setter + public Builder poolSize(@Nullable Integer poolSize) { + this.poolSize = poolSize; + return this; + } + public AutonomousDatabaseResourcePoolSummary build() { + final var o = new AutonomousDatabaseResourcePoolSummary(); + o.isDisabled = isDisabled; + o.poolSize = poolSize; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousDatabaseLongTermBackupSchedule.java b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousDatabaseLongTermBackupSchedule.java index 2dd63771ee..d9ec39f492 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousDatabaseLongTermBackupSchedule.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousDatabaseLongTermBackupSchedule.java @@ -12,7 +12,7 @@ @CustomType public final class GetAutonomousDatabaseLongTermBackupSchedule { /** - * @return Indicates if the long-term backup schedule should be deleted. The default value is `FALSE`. + * @return Indicates if the resource pool should be deleted for the Autonomous Database. * */ private Boolean isDisabled; @@ -34,7 +34,7 @@ public final class GetAutonomousDatabaseLongTermBackupSchedule { private GetAutonomousDatabaseLongTermBackupSchedule() {} /** - * @return Indicates if the long-term backup schedule should be deleted. The default value is `FALSE`. + * @return Indicates if the resource pool should be deleted for the Autonomous Database. * */ public Boolean isDisabled() { diff --git a/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousDatabaseResourcePoolSummary.java b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousDatabaseResourcePoolSummary.java new file mode 100644 index 0000000000..ba636f7868 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousDatabaseResourcePoolSummary.java @@ -0,0 +1,75 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Database.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.Boolean; +import java.lang.Integer; +import java.util.Objects; + +@CustomType +public final class GetAutonomousDatabaseResourcePoolSummary { + /** + * @return Indicates if the resource pool should be deleted for the Autonomous Database. + * + */ + private Boolean isDisabled; + /** + * @return Resource pool size. + * + */ + private Integer poolSize; + + private GetAutonomousDatabaseResourcePoolSummary() {} + /** + * @return Indicates if the resource pool should be deleted for the Autonomous Database. + * + */ + public Boolean isDisabled() { + return this.isDisabled; + } + /** + * @return Resource pool size. + * + */ + public Integer poolSize() { + return this.poolSize; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAutonomousDatabaseResourcePoolSummary defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private Boolean isDisabled; + private Integer poolSize; + public Builder() {} + public Builder(GetAutonomousDatabaseResourcePoolSummary defaults) { + Objects.requireNonNull(defaults); + this.isDisabled = defaults.isDisabled; + this.poolSize = defaults.poolSize; + } + + @CustomType.Setter + public Builder isDisabled(Boolean isDisabled) { + this.isDisabled = Objects.requireNonNull(isDisabled); + return this; + } + @CustomType.Setter + public Builder poolSize(Integer poolSize) { + this.poolSize = Objects.requireNonNull(poolSize); + return this; + } + public GetAutonomousDatabaseResourcePoolSummary build() { + final var o = new GetAutonomousDatabaseResourcePoolSummary(); + o.isDisabled = isDisabled; + o.poolSize = poolSize; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousDatabaseResult.java b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousDatabaseResult.java index 3f44bb28aa..98510c56d3 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousDatabaseResult.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousDatabaseResult.java @@ -13,6 +13,7 @@ import com.pulumi.oci.Database.outputs.GetAutonomousDatabaseLocalStandbyDb; import com.pulumi.oci.Database.outputs.GetAutonomousDatabaseLongTermBackupSchedule; import com.pulumi.oci.Database.outputs.GetAutonomousDatabaseRemoteDisasterRecoveryConfiguration; +import com.pulumi.oci.Database.outputs.GetAutonomousDatabaseResourcePoolSummary; import com.pulumi.oci.Database.outputs.GetAutonomousDatabaseScheduledOperation; import com.pulumi.oci.Database.outputs.GetAutonomousDatabaseStandbyDb; import java.lang.Boolean; @@ -418,6 +419,16 @@ public final class GetAutonomousDatabaseResult { */ private List remoteDisasterRecoveryConfigurations; private String remoteDisasterRecoveryType; + /** + * @return The unique identifier for leader autonomous database OCID [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + * + */ + private String resourcePoolLeaderId; + /** + * @return The configuration details for resource pool + * + */ + private List resourcePoolSummaries; /** * @return The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled. * @@ -509,6 +520,11 @@ public final class GetAutonomousDatabaseResult { * */ private String timeMaintenanceEnd; + /** + * @return The time the member joined the resource pool. + * + */ + private String timeOfJoiningResourcePool; /** * @return The timestamp of the last failover operation. * @@ -1131,6 +1147,20 @@ public List remoteDisa public String remoteDisasterRecoveryType() { return this.remoteDisasterRecoveryType; } + /** + * @return The unique identifier for leader autonomous database OCID [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + * + */ + public String resourcePoolLeaderId() { + return this.resourcePoolLeaderId; + } + /** + * @return The configuration details for resource pool + * + */ + public List resourcePoolSummaries() { + return this.resourcePoolSummaries; + } /** * @return The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled. * @@ -1268,6 +1298,13 @@ public String timeMaintenanceBegin() { public String timeMaintenanceEnd() { return this.timeMaintenanceEnd; } + /** + * @return The time the member joined the resource pool. + * + */ + public String timeOfJoiningResourcePool() { + return this.timeOfJoiningResourcePool; + } /** * @return The timestamp of the last failover operation. * @@ -1451,6 +1488,8 @@ public static final class Builder { private String refreshableStatus; private List remoteDisasterRecoveryConfigurations; private String remoteDisasterRecoveryType; + private String resourcePoolLeaderId; + private List resourcePoolSummaries; private String role; private Boolean rotateKeyTrigger; private List scheduledOperations; @@ -1474,6 +1513,7 @@ public static final class Builder { private String timeLocalDataGuardEnabled; private String timeMaintenanceBegin; private String timeMaintenanceEnd; + private String timeOfJoiningResourcePool; private String timeOfLastFailover; private String timeOfLastRefresh; private String timeOfLastRefreshPoint; @@ -1574,6 +1614,8 @@ public Builder(GetAutonomousDatabaseResult defaults) { this.refreshableStatus = defaults.refreshableStatus; this.remoteDisasterRecoveryConfigurations = defaults.remoteDisasterRecoveryConfigurations; this.remoteDisasterRecoveryType = defaults.remoteDisasterRecoveryType; + this.resourcePoolLeaderId = defaults.resourcePoolLeaderId; + this.resourcePoolSummaries = defaults.resourcePoolSummaries; this.role = defaults.role; this.rotateKeyTrigger = defaults.rotateKeyTrigger; this.scheduledOperations = defaults.scheduledOperations; @@ -1597,6 +1639,7 @@ public Builder(GetAutonomousDatabaseResult defaults) { this.timeLocalDataGuardEnabled = defaults.timeLocalDataGuardEnabled; this.timeMaintenanceBegin = defaults.timeMaintenanceBegin; this.timeMaintenanceEnd = defaults.timeMaintenanceEnd; + this.timeOfJoiningResourcePool = defaults.timeOfJoiningResourcePool; this.timeOfLastFailover = defaults.timeOfLastFailover; this.timeOfLastRefresh = defaults.timeOfLastRefresh; this.timeOfLastRefreshPoint = defaults.timeOfLastRefreshPoint; @@ -2068,6 +2111,19 @@ public Builder remoteDisasterRecoveryType(String remoteDisasterRecoveryType) { return this; } @CustomType.Setter + public Builder resourcePoolLeaderId(String resourcePoolLeaderId) { + this.resourcePoolLeaderId = Objects.requireNonNull(resourcePoolLeaderId); + return this; + } + @CustomType.Setter + public Builder resourcePoolSummaries(List resourcePoolSummaries) { + this.resourcePoolSummaries = Objects.requireNonNull(resourcePoolSummaries); + return this; + } + public Builder resourcePoolSummaries(GetAutonomousDatabaseResourcePoolSummary... resourcePoolSummaries) { + return resourcePoolSummaries(List.of(resourcePoolSummaries)); + } + @CustomType.Setter public Builder role(String role) { this.role = Objects.requireNonNull(role); return this; @@ -2195,6 +2251,11 @@ public Builder timeMaintenanceEnd(String timeMaintenanceEnd) { return this; } @CustomType.Setter + public Builder timeOfJoiningResourcePool(String timeOfJoiningResourcePool) { + this.timeOfJoiningResourcePool = Objects.requireNonNull(timeOfJoiningResourcePool); + return this; + } + @CustomType.Setter public Builder timeOfLastFailover(String timeOfLastFailover) { this.timeOfLastFailover = Objects.requireNonNull(timeOfLastFailover); return this; @@ -2352,6 +2413,8 @@ public GetAutonomousDatabaseResult build() { o.refreshableStatus = refreshableStatus; o.remoteDisasterRecoveryConfigurations = remoteDisasterRecoveryConfigurations; o.remoteDisasterRecoveryType = remoteDisasterRecoveryType; + o.resourcePoolLeaderId = resourcePoolLeaderId; + o.resourcePoolSummaries = resourcePoolSummaries; o.role = role; o.rotateKeyTrigger = rotateKeyTrigger; o.scheduledOperations = scheduledOperations; @@ -2375,6 +2438,7 @@ public GetAutonomousDatabaseResult build() { o.timeLocalDataGuardEnabled = timeLocalDataGuardEnabled; o.timeMaintenanceBegin = timeMaintenanceBegin; o.timeMaintenanceEnd = timeMaintenanceEnd; + o.timeOfJoiningResourcePool = timeOfJoiningResourcePool; o.timeOfLastFailover = timeOfLastFailover; o.timeOfLastRefresh = timeOfLastRefresh; o.timeOfLastRefreshPoint = timeOfLastRefreshPoint; diff --git a/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousDatabasesAutonomousDatabase.java b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousDatabasesAutonomousDatabase.java index c9a1b4f422..cd3ee31075 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousDatabasesAutonomousDatabase.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousDatabasesAutonomousDatabase.java @@ -13,6 +13,7 @@ import com.pulumi.oci.Database.outputs.GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDb; import com.pulumi.oci.Database.outputs.GetAutonomousDatabasesAutonomousDatabaseLongTermBackupSchedule; import com.pulumi.oci.Database.outputs.GetAutonomousDatabasesAutonomousDatabaseRemoteDisasterRecoveryConfiguration; +import com.pulumi.oci.Database.outputs.GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummary; import com.pulumi.oci.Database.outputs.GetAutonomousDatabasesAutonomousDatabaseScheduledOperation; import com.pulumi.oci.Database.outputs.GetAutonomousDatabasesAutonomousDatabaseStandbyDb; import java.lang.Boolean; @@ -414,6 +415,16 @@ public final class GetAutonomousDatabasesAutonomousDatabase { */ private List remoteDisasterRecoveryConfigurations; private String remoteDisasterRecoveryType; + /** + * @return The database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resourcepool Leader Autonomous Database. + * + */ + private String resourcePoolLeaderId; + /** + * @return The configuration details for resource pool + * + */ + private List resourcePoolSummaries; /** * @return The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled. * @@ -505,6 +516,11 @@ public final class GetAutonomousDatabasesAutonomousDatabase { * */ private String timeMaintenanceEnd; + /** + * @return The time the member joined the resource pool. + * + */ + private String timeOfJoiningResourcePool; /** * @return The timestamp of the last failover operation. * @@ -1123,6 +1139,20 @@ public List resourcePoolSummaries() { + return this.resourcePoolSummaries; + } /** * @return The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled. * @@ -1260,6 +1290,13 @@ public String timeMaintenanceBegin() { public String timeMaintenanceEnd() { return this.timeMaintenanceEnd; } + /** + * @return The time the member joined the resource pool. + * + */ + public String timeOfJoiningResourcePool() { + return this.timeOfJoiningResourcePool; + } /** * @return The timestamp of the last failover operation. * @@ -1443,6 +1480,8 @@ public static final class Builder { private String refreshableStatus; private List remoteDisasterRecoveryConfigurations; private String remoteDisasterRecoveryType; + private String resourcePoolLeaderId; + private List resourcePoolSummaries; private String role; private Boolean rotateKeyTrigger; private List scheduledOperations; @@ -1466,6 +1505,7 @@ public static final class Builder { private String timeLocalDataGuardEnabled; private String timeMaintenanceBegin; private String timeMaintenanceEnd; + private String timeOfJoiningResourcePool; private String timeOfLastFailover; private String timeOfLastRefresh; private String timeOfLastRefreshPoint; @@ -1566,6 +1606,8 @@ public Builder(GetAutonomousDatabasesAutonomousDatabase defaults) { this.refreshableStatus = defaults.refreshableStatus; this.remoteDisasterRecoveryConfigurations = defaults.remoteDisasterRecoveryConfigurations; this.remoteDisasterRecoveryType = defaults.remoteDisasterRecoveryType; + this.resourcePoolLeaderId = defaults.resourcePoolLeaderId; + this.resourcePoolSummaries = defaults.resourcePoolSummaries; this.role = defaults.role; this.rotateKeyTrigger = defaults.rotateKeyTrigger; this.scheduledOperations = defaults.scheduledOperations; @@ -1589,6 +1631,7 @@ public Builder(GetAutonomousDatabasesAutonomousDatabase defaults) { this.timeLocalDataGuardEnabled = defaults.timeLocalDataGuardEnabled; this.timeMaintenanceBegin = defaults.timeMaintenanceBegin; this.timeMaintenanceEnd = defaults.timeMaintenanceEnd; + this.timeOfJoiningResourcePool = defaults.timeOfJoiningResourcePool; this.timeOfLastFailover = defaults.timeOfLastFailover; this.timeOfLastRefresh = defaults.timeOfLastRefresh; this.timeOfLastRefreshPoint = defaults.timeOfLastRefreshPoint; @@ -2060,6 +2103,19 @@ public Builder remoteDisasterRecoveryType(String remoteDisasterRecoveryType) { return this; } @CustomType.Setter + public Builder resourcePoolLeaderId(String resourcePoolLeaderId) { + this.resourcePoolLeaderId = Objects.requireNonNull(resourcePoolLeaderId); + return this; + } + @CustomType.Setter + public Builder resourcePoolSummaries(List resourcePoolSummaries) { + this.resourcePoolSummaries = Objects.requireNonNull(resourcePoolSummaries); + return this; + } + public Builder resourcePoolSummaries(GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummary... resourcePoolSummaries) { + return resourcePoolSummaries(List.of(resourcePoolSummaries)); + } + @CustomType.Setter public Builder role(String role) { this.role = Objects.requireNonNull(role); return this; @@ -2187,6 +2243,11 @@ public Builder timeMaintenanceEnd(String timeMaintenanceEnd) { return this; } @CustomType.Setter + public Builder timeOfJoiningResourcePool(String timeOfJoiningResourcePool) { + this.timeOfJoiningResourcePool = Objects.requireNonNull(timeOfJoiningResourcePool); + return this; + } + @CustomType.Setter public Builder timeOfLastFailover(String timeOfLastFailover) { this.timeOfLastFailover = Objects.requireNonNull(timeOfLastFailover); return this; @@ -2344,6 +2405,8 @@ public GetAutonomousDatabasesAutonomousDatabase build() { o.refreshableStatus = refreshableStatus; o.remoteDisasterRecoveryConfigurations = remoteDisasterRecoveryConfigurations; o.remoteDisasterRecoveryType = remoteDisasterRecoveryType; + o.resourcePoolLeaderId = resourcePoolLeaderId; + o.resourcePoolSummaries = resourcePoolSummaries; o.role = role; o.rotateKeyTrigger = rotateKeyTrigger; o.scheduledOperations = scheduledOperations; @@ -2367,6 +2430,7 @@ public GetAutonomousDatabasesAutonomousDatabase build() { o.timeLocalDataGuardEnabled = timeLocalDataGuardEnabled; o.timeMaintenanceBegin = timeMaintenanceBegin; o.timeMaintenanceEnd = timeMaintenanceEnd; + o.timeOfJoiningResourcePool = timeOfJoiningResourcePool; o.timeOfLastFailover = timeOfLastFailover; o.timeOfLastRefresh = timeOfLastRefresh; o.timeOfLastRefreshPoint = timeOfLastRefreshPoint; diff --git a/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousDatabasesAutonomousDatabaseLongTermBackupSchedule.java b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousDatabasesAutonomousDatabaseLongTermBackupSchedule.java index b7a9885fcb..8b972f8a62 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousDatabasesAutonomousDatabaseLongTermBackupSchedule.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousDatabasesAutonomousDatabaseLongTermBackupSchedule.java @@ -12,7 +12,7 @@ @CustomType public final class GetAutonomousDatabasesAutonomousDatabaseLongTermBackupSchedule { /** - * @return Indicates if the long-term backup schedule should be deleted. The default value is `FALSE`. + * @return Indicates if the resource pool should be deleted for the Autonomous Database. * */ private Boolean isDisabled; @@ -34,7 +34,7 @@ public final class GetAutonomousDatabasesAutonomousDatabaseLongTermBackupSchedul private GetAutonomousDatabasesAutonomousDatabaseLongTermBackupSchedule() {} /** - * @return Indicates if the long-term backup schedule should be deleted. The default value is `FALSE`. + * @return Indicates if the resource pool should be deleted for the Autonomous Database. * */ public Boolean isDisabled() { diff --git a/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummary.java b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummary.java new file mode 100644 index 0000000000..77825ff89e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummary.java @@ -0,0 +1,75 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Database.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.Boolean; +import java.lang.Integer; +import java.util.Objects; + +@CustomType +public final class GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummary { + /** + * @return Indicates if the resource pool should be deleted for the Autonomous Database. + * + */ + private Boolean isDisabled; + /** + * @return Resource pool size. + * + */ + private Integer poolSize; + + private GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummary() {} + /** + * @return Indicates if the resource pool should be deleted for the Autonomous Database. + * + */ + public Boolean isDisabled() { + return this.isDisabled; + } + /** + * @return Resource pool size. + * + */ + public Integer poolSize() { + return this.poolSize; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummary defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private Boolean isDisabled; + private Integer poolSize; + public Builder() {} + public Builder(GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummary defaults) { + Objects.requireNonNull(defaults); + this.isDisabled = defaults.isDisabled; + this.poolSize = defaults.poolSize; + } + + @CustomType.Setter + public Builder isDisabled(Boolean isDisabled) { + this.isDisabled = Objects.requireNonNull(isDisabled); + return this; + } + @CustomType.Setter + public Builder poolSize(Integer poolSize) { + this.poolSize = Objects.requireNonNull(poolSize); + return this; + } + public GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummary build() { + final var o = new GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummary(); + o.isDisabled = isDisabled; + o.poolSize = poolSize; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousDatabasesClonesAutonomousDatabase.java b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousDatabasesClonesAutonomousDatabase.java index 8d1515a58e..e7a58cd6fb 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousDatabasesClonesAutonomousDatabase.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousDatabasesClonesAutonomousDatabase.java @@ -13,6 +13,7 @@ import com.pulumi.oci.Database.outputs.GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDb; import com.pulumi.oci.Database.outputs.GetAutonomousDatabasesClonesAutonomousDatabaseLongTermBackupSchedule; import com.pulumi.oci.Database.outputs.GetAutonomousDatabasesClonesAutonomousDatabaseRemoteDisasterRecoveryConfiguration; +import com.pulumi.oci.Database.outputs.GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummary; import com.pulumi.oci.Database.outputs.GetAutonomousDatabasesClonesAutonomousDatabaseScheduledOperation; import com.pulumi.oci.Database.outputs.GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDb; import java.lang.Boolean; @@ -401,6 +402,16 @@ public final class GetAutonomousDatabasesClonesAutonomousDatabase { * */ private List remoteDisasterRecoveryConfigurations; + /** + * @return The unique identifier for leader autonomous database OCID [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + * + */ + private String resourcePoolLeaderId; + /** + * @return The configuration details for resource pool + * + */ + private List resourcePoolSummaries; /** * @return The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled. * @@ -486,6 +497,7 @@ public final class GetAutonomousDatabasesClonesAutonomousDatabase { * */ private String timeMaintenanceEnd; + private String timeOfJoiningResourcePool; /** * @return The timestamp of the last failover operation. * @@ -1071,6 +1083,20 @@ public String refreshableStatus() { public List remoteDisasterRecoveryConfigurations() { return this.remoteDisasterRecoveryConfigurations; } + /** + * @return The unique identifier for leader autonomous database OCID [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + * + */ + public String resourcePoolLeaderId() { + return this.resourcePoolLeaderId; + } + /** + * @return The configuration details for resource pool + * + */ + public List resourcePoolSummaries() { + return this.resourcePoolSummaries; + } /** * @return The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled. * @@ -1190,6 +1216,9 @@ public String timeMaintenanceBegin() { public String timeMaintenanceEnd() { return this.timeMaintenanceEnd; } + public String timeOfJoiningResourcePool() { + return this.timeOfJoiningResourcePool; + } /** * @return The timestamp of the last failover operation. * @@ -1358,6 +1387,8 @@ public static final class Builder { private String refreshableMode; private String refreshableStatus; private List remoteDisasterRecoveryConfigurations; + private String resourcePoolLeaderId; + private List resourcePoolSummaries; private String role; private List scheduledOperations; private String serviceConsoleUrl; @@ -1375,6 +1406,7 @@ public static final class Builder { private String timeLocalDataGuardEnabled; private String timeMaintenanceBegin; private String timeMaintenanceEnd; + private String timeOfJoiningResourcePool; private String timeOfLastFailover; private String timeOfLastRefresh; private String timeOfLastRefreshPoint; @@ -1464,6 +1496,8 @@ public Builder(GetAutonomousDatabasesClonesAutonomousDatabase defaults) { this.refreshableMode = defaults.refreshableMode; this.refreshableStatus = defaults.refreshableStatus; this.remoteDisasterRecoveryConfigurations = defaults.remoteDisasterRecoveryConfigurations; + this.resourcePoolLeaderId = defaults.resourcePoolLeaderId; + this.resourcePoolSummaries = defaults.resourcePoolSummaries; this.role = defaults.role; this.scheduledOperations = defaults.scheduledOperations; this.serviceConsoleUrl = defaults.serviceConsoleUrl; @@ -1481,6 +1515,7 @@ public Builder(GetAutonomousDatabasesClonesAutonomousDatabase defaults) { this.timeLocalDataGuardEnabled = defaults.timeLocalDataGuardEnabled; this.timeMaintenanceBegin = defaults.timeMaintenanceBegin; this.timeMaintenanceEnd = defaults.timeMaintenanceEnd; + this.timeOfJoiningResourcePool = defaults.timeOfJoiningResourcePool; this.timeOfLastFailover = defaults.timeOfLastFailover; this.timeOfLastRefresh = defaults.timeOfLastRefresh; this.timeOfLastRefreshPoint = defaults.timeOfLastRefreshPoint; @@ -1905,6 +1940,19 @@ public Builder remoteDisasterRecoveryConfigurations(GetAutonomousDatabasesClones return remoteDisasterRecoveryConfigurations(List.of(remoteDisasterRecoveryConfigurations)); } @CustomType.Setter + public Builder resourcePoolLeaderId(String resourcePoolLeaderId) { + this.resourcePoolLeaderId = Objects.requireNonNull(resourcePoolLeaderId); + return this; + } + @CustomType.Setter + public Builder resourcePoolSummaries(List resourcePoolSummaries) { + this.resourcePoolSummaries = Objects.requireNonNull(resourcePoolSummaries); + return this; + } + public Builder resourcePoolSummaries(GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummary... resourcePoolSummaries) { + return resourcePoolSummaries(List.of(resourcePoolSummaries)); + } + @CustomType.Setter public Builder role(String role) { this.role = Objects.requireNonNull(role); return this; @@ -2002,6 +2050,11 @@ public Builder timeMaintenanceEnd(String timeMaintenanceEnd) { return this; } @CustomType.Setter + public Builder timeOfJoiningResourcePool(String timeOfJoiningResourcePool) { + this.timeOfJoiningResourcePool = Objects.requireNonNull(timeOfJoiningResourcePool); + return this; + } + @CustomType.Setter public Builder timeOfLastFailover(String timeOfLastFailover) { this.timeOfLastFailover = Objects.requireNonNull(timeOfLastFailover); return this; @@ -2140,6 +2193,8 @@ public GetAutonomousDatabasesClonesAutonomousDatabase build() { o.refreshableMode = refreshableMode; o.refreshableStatus = refreshableStatus; o.remoteDisasterRecoveryConfigurations = remoteDisasterRecoveryConfigurations; + o.resourcePoolLeaderId = resourcePoolLeaderId; + o.resourcePoolSummaries = resourcePoolSummaries; o.role = role; o.scheduledOperations = scheduledOperations; o.serviceConsoleUrl = serviceConsoleUrl; @@ -2157,6 +2212,7 @@ public GetAutonomousDatabasesClonesAutonomousDatabase build() { o.timeLocalDataGuardEnabled = timeLocalDataGuardEnabled; o.timeMaintenanceBegin = timeMaintenanceBegin; o.timeMaintenanceEnd = timeMaintenanceEnd; + o.timeOfJoiningResourcePool = timeOfJoiningResourcePool; o.timeOfLastFailover = timeOfLastFailover; o.timeOfLastRefresh = timeOfLastRefresh; o.timeOfLastRefreshPoint = timeOfLastRefreshPoint; diff --git a/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousDatabasesClonesAutonomousDatabaseLongTermBackupSchedule.java b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousDatabasesClonesAutonomousDatabaseLongTermBackupSchedule.java index 9fd216bf56..15c341a73f 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousDatabasesClonesAutonomousDatabaseLongTermBackupSchedule.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousDatabasesClonesAutonomousDatabaseLongTermBackupSchedule.java @@ -12,7 +12,7 @@ @CustomType public final class GetAutonomousDatabasesClonesAutonomousDatabaseLongTermBackupSchedule { /** - * @return Indicates if the long-term backup schedule should be deleted. The default value is `FALSE`. + * @return Indicates if the resource pool should be deleted for the Autonomous Database. * */ private Boolean isDisabled; @@ -34,7 +34,7 @@ public final class GetAutonomousDatabasesClonesAutonomousDatabaseLongTermBackupS private GetAutonomousDatabasesClonesAutonomousDatabaseLongTermBackupSchedule() {} /** - * @return Indicates if the long-term backup schedule should be deleted. The default value is `FALSE`. + * @return Indicates if the resource pool should be deleted for the Autonomous Database. * */ public Boolean isDisabled() { diff --git a/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummary.java b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummary.java new file mode 100644 index 0000000000..d8b6e29276 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummary.java @@ -0,0 +1,75 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Database.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.Boolean; +import java.lang.Integer; +import java.util.Objects; + +@CustomType +public final class GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummary { + /** + * @return Indicates if the resource pool should be deleted for the Autonomous Database. + * + */ + private Boolean isDisabled; + /** + * @return Resource pool size. + * + */ + private Integer poolSize; + + private GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummary() {} + /** + * @return Indicates if the resource pool should be deleted for the Autonomous Database. + * + */ + public Boolean isDisabled() { + return this.isDisabled; + } + /** + * @return Resource pool size. + * + */ + public Integer poolSize() { + return this.poolSize; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummary defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private Boolean isDisabled; + private Integer poolSize; + public Builder() {} + public Builder(GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummary defaults) { + Objects.requireNonNull(defaults); + this.isDisabled = defaults.isDisabled; + this.poolSize = defaults.poolSize; + } + + @CustomType.Setter + public Builder isDisabled(Boolean isDisabled) { + this.isDisabled = Objects.requireNonNull(isDisabled); + return this; + } + @CustomType.Setter + public Builder poolSize(Integer poolSize) { + this.poolSize = Objects.requireNonNull(poolSize); + return this; + } + public GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummary build() { + final var o = new GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummary(); + o.isDisabled = isDisabled; + o.poolSize = poolSize; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousDatabasesResult.java b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousDatabasesResult.java index 53fd4cfba9..976ee8845c 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousDatabasesResult.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Database/outputs/GetAutonomousDatabasesResult.java @@ -75,6 +75,12 @@ public final class GetAutonomousDatabasesResult { * */ private @Nullable Boolean isRefreshableClone; + private @Nullable Boolean isResourcePoolLeader; + /** + * @return The unique identifier for leader autonomous database OCID [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + * + */ + private @Nullable String resourcePoolLeaderId; /** * @return The current state of the Autonomous Database. * @@ -166,6 +172,16 @@ public Optional isFreeTier() { public Optional isRefreshableClone() { return Optional.ofNullable(this.isRefreshableClone); } + public Optional isResourcePoolLeader() { + return Optional.ofNullable(this.isResourcePoolLeader); + } + /** + * @return The unique identifier for leader autonomous database OCID [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + * + */ + public Optional resourcePoolLeaderId() { + return Optional.ofNullable(this.resourcePoolLeaderId); + } /** * @return The current state of the Autonomous Database. * @@ -195,6 +211,8 @@ public static final class Builder { private @Nullable Boolean isDataGuardEnabled; private @Nullable Boolean isFreeTier; private @Nullable Boolean isRefreshableClone; + private @Nullable Boolean isResourcePoolLeader; + private @Nullable String resourcePoolLeaderId; private @Nullable String state; public Builder() {} public Builder(GetAutonomousDatabasesResult defaults) { @@ -211,6 +229,8 @@ public Builder(GetAutonomousDatabasesResult defaults) { this.isDataGuardEnabled = defaults.isDataGuardEnabled; this.isFreeTier = defaults.isFreeTier; this.isRefreshableClone = defaults.isRefreshableClone; + this.isResourcePoolLeader = defaults.isResourcePoolLeader; + this.resourcePoolLeaderId = defaults.resourcePoolLeaderId; this.state = defaults.state; } @@ -281,6 +301,16 @@ public Builder isRefreshableClone(@Nullable Boolean isRefreshableClone) { return this; } @CustomType.Setter + public Builder isResourcePoolLeader(@Nullable Boolean isResourcePoolLeader) { + this.isResourcePoolLeader = isResourcePoolLeader; + return this; + } + @CustomType.Setter + public Builder resourcePoolLeaderId(@Nullable String resourcePoolLeaderId) { + this.resourcePoolLeaderId = resourcePoolLeaderId; + return this; + } + @CustomType.Setter public Builder state(@Nullable String state) { this.state = state; return this; @@ -299,6 +329,8 @@ public GetAutonomousDatabasesResult build() { o.isDataGuardEnabled = isDataGuardEnabled; o.isFreeTier = isFreeTier; o.isRefreshableClone = isRefreshableClone; + o.isResourcePoolLeader = isResourcePoolLeader; + o.resourcePoolLeaderId = resourcePoolLeaderId; o.state = state; return o; } diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseMigration/Migration.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseMigration/Migration.java index adae4ed854..4e2f332073 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DatabaseMigration/Migration.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseMigration/Migration.java @@ -11,6 +11,7 @@ import com.pulumi.oci.DatabaseMigration.inputs.MigrationState; import com.pulumi.oci.DatabaseMigration.outputs.MigrationAdvisorSettings; import com.pulumi.oci.DatabaseMigration.outputs.MigrationDataTransferMediumDetails; +import com.pulumi.oci.DatabaseMigration.outputs.MigrationDataTransferMediumDetailsV2; import com.pulumi.oci.DatabaseMigration.outputs.MigrationDatapumpSettings; import com.pulumi.oci.DatabaseMigration.outputs.MigrationDumpTransferDetails; import com.pulumi.oci.DatabaseMigration.outputs.MigrationExcludeObject; @@ -329,6 +330,12 @@ public Output csvText() { public Output dataTransferMediumDetails() { return this.dataTransferMediumDetails; } + @Export(name="dataTransferMediumDetailsV2", refs={MigrationDataTransferMediumDetailsV2.class}, tree="[0]") + private Output dataTransferMediumDetailsV2; + + public Output dataTransferMediumDetailsV2() { + return this.dataTransferMediumDetailsV2; + } /** * (Updatable) Optional settings for Data Pump Export and Import jobs * diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseMigration/MigrationArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseMigration/MigrationArgs.java index 1366ea5cd8..54afebf5e4 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DatabaseMigration/MigrationArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseMigration/MigrationArgs.java @@ -7,6 +7,7 @@ import com.pulumi.core.annotations.Import; import com.pulumi.oci.DatabaseMigration.inputs.MigrationAdvisorSettingsArgs; import com.pulumi.oci.DatabaseMigration.inputs.MigrationDataTransferMediumDetailsArgs; +import com.pulumi.oci.DatabaseMigration.inputs.MigrationDataTransferMediumDetailsV2Args; import com.pulumi.oci.DatabaseMigration.inputs.MigrationDatapumpSettingsArgs; import com.pulumi.oci.DatabaseMigration.inputs.MigrationDumpTransferDetailsArgs; import com.pulumi.oci.DatabaseMigration.inputs.MigrationExcludeObjectArgs; @@ -102,6 +103,13 @@ public Optional> dataTransferMedi return Optional.ofNullable(this.dataTransferMediumDetails); } + @Import(name="dataTransferMediumDetailsV2") + private @Nullable Output dataTransferMediumDetailsV2; + + public Optional> dataTransferMediumDetailsV2() { + return Optional.ofNullable(this.dataTransferMediumDetailsV2); + } + /** * (Updatable) Optional settings for Data Pump Export and Import jobs * @@ -320,6 +328,7 @@ private MigrationArgs(MigrationArgs $) { this.compartmentId = $.compartmentId; this.csvText = $.csvText; this.dataTransferMediumDetails = $.dataTransferMediumDetails; + this.dataTransferMediumDetailsV2 = $.dataTransferMediumDetailsV2; this.datapumpSettings = $.datapumpSettings; this.definedTags = $.definedTags; this.displayName = $.displayName; @@ -459,6 +468,15 @@ public Builder dataTransferMediumDetails(MigrationDataTransferMediumDetailsArgs return dataTransferMediumDetails(Output.of(dataTransferMediumDetails)); } + public Builder dataTransferMediumDetailsV2(@Nullable Output dataTransferMediumDetailsV2) { + $.dataTransferMediumDetailsV2 = dataTransferMediumDetailsV2; + return this; + } + + public Builder dataTransferMediumDetailsV2(MigrationDataTransferMediumDetailsV2Args dataTransferMediumDetailsV2) { + return dataTransferMediumDetailsV2(Output.of(dataTransferMediumDetailsV2)); + } + /** * @param datapumpSettings (Updatable) Optional settings for Data Pump Export and Import jobs * diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseMigration/inputs/MigrationDataTransferMediumDetailsV2Args.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseMigration/inputs/MigrationDataTransferMediumDetailsV2Args.java new file mode 100644 index 0000000000..47e13a74c6 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseMigration/inputs/MigrationDataTransferMediumDetailsV2Args.java @@ -0,0 +1,190 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.DatabaseMigration.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.oci.DatabaseMigration.inputs.MigrationDataTransferMediumDetailsV2ObjectStorageBucketArgs; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class MigrationDataTransferMediumDetailsV2Args extends com.pulumi.resources.ResourceArgs { + + public static final MigrationDataTransferMediumDetailsV2Args Empty = new MigrationDataTransferMediumDetailsV2Args(); + + @Import(name="accessKeyId") + private @Nullable Output accessKeyId; + + public Optional> accessKeyId() { + return Optional.ofNullable(this.accessKeyId); + } + + /** + * (Updatable) Name of directory object in database + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return (Updatable) Name of directory object in database + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + + @Import(name="objectStorageBucket") + private @Nullable Output objectStorageBucket; + + public Optional> objectStorageBucket() { + return Optional.ofNullable(this.objectStorageBucket); + } + + @Import(name="region") + private @Nullable Output region; + + public Optional> region() { + return Optional.ofNullable(this.region); + } + + @Import(name="secretAccessKey") + private @Nullable Output secretAccessKey; + + public Optional> secretAccessKey() { + return Optional.ofNullable(this.secretAccessKey); + } + + /** + * (Updatable) Migration type. + * + */ + @Import(name="type", required=true) + private Output type; + + /** + * @return (Updatable) Migration type. + * + */ + public Output type() { + return this.type; + } + + private MigrationDataTransferMediumDetailsV2Args() {} + + private MigrationDataTransferMediumDetailsV2Args(MigrationDataTransferMediumDetailsV2Args $) { + this.accessKeyId = $.accessKeyId; + this.name = $.name; + this.objectStorageBucket = $.objectStorageBucket; + this.region = $.region; + this.secretAccessKey = $.secretAccessKey; + this.type = $.type; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(MigrationDataTransferMediumDetailsV2Args defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private MigrationDataTransferMediumDetailsV2Args $; + + public Builder() { + $ = new MigrationDataTransferMediumDetailsV2Args(); + } + + public Builder(MigrationDataTransferMediumDetailsV2Args defaults) { + $ = new MigrationDataTransferMediumDetailsV2Args(Objects.requireNonNull(defaults)); + } + + public Builder accessKeyId(@Nullable Output accessKeyId) { + $.accessKeyId = accessKeyId; + return this; + } + + public Builder accessKeyId(String accessKeyId) { + return accessKeyId(Output.of(accessKeyId)); + } + + /** + * @param name (Updatable) Name of directory object in database + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name (Updatable) Name of directory object in database + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + + public Builder objectStorageBucket(@Nullable Output objectStorageBucket) { + $.objectStorageBucket = objectStorageBucket; + return this; + } + + public Builder objectStorageBucket(MigrationDataTransferMediumDetailsV2ObjectStorageBucketArgs objectStorageBucket) { + return objectStorageBucket(Output.of(objectStorageBucket)); + } + + public Builder region(@Nullable Output region) { + $.region = region; + return this; + } + + public Builder region(String region) { + return region(Output.of(region)); + } + + public Builder secretAccessKey(@Nullable Output secretAccessKey) { + $.secretAccessKey = secretAccessKey; + return this; + } + + public Builder secretAccessKey(String secretAccessKey) { + return secretAccessKey(Output.of(secretAccessKey)); + } + + /** + * @param type (Updatable) Migration type. + * + * @return builder + * + */ + public Builder type(Output type) { + $.type = type; + return this; + } + + /** + * @param type (Updatable) Migration type. + * + * @return builder + * + */ + public Builder type(String type) { + return type(Output.of(type)); + } + + public MigrationDataTransferMediumDetailsV2Args build() { + $.type = Objects.requireNonNull($.type, "expected parameter 'type' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseMigration/inputs/MigrationDataTransferMediumDetailsV2ObjectStorageBucketArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseMigration/inputs/MigrationDataTransferMediumDetailsV2ObjectStorageBucketArgs.java new file mode 100644 index 0000000000..c325f3bbb7 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseMigration/inputs/MigrationDataTransferMediumDetailsV2ObjectStorageBucketArgs.java @@ -0,0 +1,120 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.DatabaseMigration.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class MigrationDataTransferMediumDetailsV2ObjectStorageBucketArgs extends com.pulumi.resources.ResourceArgs { + + public static final MigrationDataTransferMediumDetailsV2ObjectStorageBucketArgs Empty = new MigrationDataTransferMediumDetailsV2ObjectStorageBucketArgs(); + + /** + * (Updatable) Bucket name. + * + */ + @Import(name="bucket") + private @Nullable Output bucket; + + /** + * @return (Updatable) Bucket name. + * + */ + public Optional> bucket() { + return Optional.ofNullable(this.bucket); + } + + /** + * (Updatable) Namespace name of the object store bucket. + * + */ + @Import(name="namespace") + private @Nullable Output namespace; + + /** + * @return (Updatable) Namespace name of the object store bucket. + * + */ + public Optional> namespace() { + return Optional.ofNullable(this.namespace); + } + + private MigrationDataTransferMediumDetailsV2ObjectStorageBucketArgs() {} + + private MigrationDataTransferMediumDetailsV2ObjectStorageBucketArgs(MigrationDataTransferMediumDetailsV2ObjectStorageBucketArgs $) { + this.bucket = $.bucket; + this.namespace = $.namespace; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(MigrationDataTransferMediumDetailsV2ObjectStorageBucketArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private MigrationDataTransferMediumDetailsV2ObjectStorageBucketArgs $; + + public Builder() { + $ = new MigrationDataTransferMediumDetailsV2ObjectStorageBucketArgs(); + } + + public Builder(MigrationDataTransferMediumDetailsV2ObjectStorageBucketArgs defaults) { + $ = new MigrationDataTransferMediumDetailsV2ObjectStorageBucketArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param bucket (Updatable) Bucket name. + * + * @return builder + * + */ + public Builder bucket(@Nullable Output bucket) { + $.bucket = bucket; + return this; + } + + /** + * @param bucket (Updatable) Bucket name. + * + * @return builder + * + */ + public Builder bucket(String bucket) { + return bucket(Output.of(bucket)); + } + + /** + * @param namespace (Updatable) Namespace name of the object store bucket. + * + * @return builder + * + */ + public Builder namespace(@Nullable Output namespace) { + $.namespace = namespace; + return this; + } + + /** + * @param namespace (Updatable) Namespace name of the object store bucket. + * + * @return builder + * + */ + public Builder namespace(String namespace) { + return namespace(Output.of(namespace)); + } + + public MigrationDataTransferMediumDetailsV2ObjectStorageBucketArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseMigration/inputs/MigrationDumpTransferDetailsArgs.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseMigration/inputs/MigrationDumpTransferDetailsArgs.java index ef180a24b3..964e985499 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DatabaseMigration/inputs/MigrationDumpTransferDetailsArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseMigration/inputs/MigrationDumpTransferDetailsArgs.java @@ -7,6 +7,7 @@ import com.pulumi.core.annotations.Import; import com.pulumi.oci.DatabaseMigration.inputs.MigrationDumpTransferDetailsSourceArgs; import com.pulumi.oci.DatabaseMigration.inputs.MigrationDumpTransferDetailsTargetArgs; +import java.lang.String; import java.util.Objects; import java.util.Optional; import javax.annotation.Nullable; @@ -16,6 +17,13 @@ public final class MigrationDumpTransferDetailsArgs extends com.pulumi.resources public static final MigrationDumpTransferDetailsArgs Empty = new MigrationDumpTransferDetailsArgs(); + @Import(name="sharedStorageMountTargetId") + private @Nullable Output sharedStorageMountTargetId; + + public Optional> sharedStorageMountTargetId() { + return Optional.ofNullable(this.sharedStorageMountTargetId); + } + /** * (Updatable) Optional additional properties for dump transfer in source or target host. Default kind is CURL * @@ -49,6 +57,7 @@ public Optional> target() { private MigrationDumpTransferDetailsArgs() {} private MigrationDumpTransferDetailsArgs(MigrationDumpTransferDetailsArgs $) { + this.sharedStorageMountTargetId = $.sharedStorageMountTargetId; this.source = $.source; this.target = $.target; } @@ -71,6 +80,15 @@ public Builder(MigrationDumpTransferDetailsArgs defaults) { $ = new MigrationDumpTransferDetailsArgs(Objects.requireNonNull(defaults)); } + public Builder sharedStorageMountTargetId(@Nullable Output sharedStorageMountTargetId) { + $.sharedStorageMountTargetId = sharedStorageMountTargetId; + return this; + } + + public Builder sharedStorageMountTargetId(String sharedStorageMountTargetId) { + return sharedStorageMountTargetId(Output.of(sharedStorageMountTargetId)); + } + /** * @param source (Updatable) Optional additional properties for dump transfer in source or target host. Default kind is CURL * diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseMigration/inputs/MigrationState.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseMigration/inputs/MigrationState.java index 340b8053c7..8aca6ec50c 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DatabaseMigration/inputs/MigrationState.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseMigration/inputs/MigrationState.java @@ -7,6 +7,7 @@ import com.pulumi.core.annotations.Import; import com.pulumi.oci.DatabaseMigration.inputs.MigrationAdvisorSettingsArgs; import com.pulumi.oci.DatabaseMigration.inputs.MigrationDataTransferMediumDetailsArgs; +import com.pulumi.oci.DatabaseMigration.inputs.MigrationDataTransferMediumDetailsV2Args; import com.pulumi.oci.DatabaseMigration.inputs.MigrationDatapumpSettingsArgs; import com.pulumi.oci.DatabaseMigration.inputs.MigrationDumpTransferDetailsArgs; import com.pulumi.oci.DatabaseMigration.inputs.MigrationExcludeObjectArgs; @@ -117,6 +118,13 @@ public Optional> dataTransferMedi return Optional.ofNullable(this.dataTransferMediumDetails); } + @Import(name="dataTransferMediumDetailsV2") + private @Nullable Output dataTransferMediumDetailsV2; + + public Optional> dataTransferMediumDetailsV2() { + return Optional.ofNullable(this.dataTransferMediumDetailsV2); + } + /** * (Updatable) Optional settings for Data Pump Export and Import jobs * @@ -456,6 +464,7 @@ private MigrationState(MigrationState $) { this.credentialsSecretId = $.credentialsSecretId; this.csvText = $.csvText; this.dataTransferMediumDetails = $.dataTransferMediumDetails; + this.dataTransferMediumDetailsV2 = $.dataTransferMediumDetailsV2; this.datapumpSettings = $.datapumpSettings; this.definedTags = $.definedTags; this.displayName = $.displayName; @@ -624,6 +633,15 @@ public Builder dataTransferMediumDetails(MigrationDataTransferMediumDetailsArgs return dataTransferMediumDetails(Output.of(dataTransferMediumDetails)); } + public Builder dataTransferMediumDetailsV2(@Nullable Output dataTransferMediumDetailsV2) { + $.dataTransferMediumDetailsV2 = dataTransferMediumDetailsV2; + return this; + } + + public Builder dataTransferMediumDetailsV2(MigrationDataTransferMediumDetailsV2Args dataTransferMediumDetailsV2) { + return dataTransferMediumDetailsV2(Output.of(dataTransferMediumDetailsV2)); + } + /** * @param datapumpSettings (Updatable) Optional settings for Data Pump Export and Import jobs * diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseMigration/outputs/GetMigrationDataTransferMediumDetailsV2.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseMigration/outputs/GetMigrationDataTransferMediumDetailsV2.java new file mode 100644 index 0000000000..bf353f28ca --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseMigration/outputs/GetMigrationDataTransferMediumDetailsV2.java @@ -0,0 +1,127 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.DatabaseMigration.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.oci.DatabaseMigration.outputs.GetMigrationDataTransferMediumDetailsV2ObjectStorageBucket; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetMigrationDataTransferMediumDetailsV2 { + private String accessKeyId; + /** + * @return Name of directory object in database + * + */ + private String name; + private List objectStorageBuckets; + private String region; + private String secretAccessKey; + /** + * @return Migration type. + * + */ + private String type; + + private GetMigrationDataTransferMediumDetailsV2() {} + public String accessKeyId() { + return this.accessKeyId; + } + /** + * @return Name of directory object in database + * + */ + public String name() { + return this.name; + } + public List objectStorageBuckets() { + return this.objectStorageBuckets; + } + public String region() { + return this.region; + } + public String secretAccessKey() { + return this.secretAccessKey; + } + /** + * @return Migration type. + * + */ + public String type() { + return this.type; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetMigrationDataTransferMediumDetailsV2 defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String accessKeyId; + private String name; + private List objectStorageBuckets; + private String region; + private String secretAccessKey; + private String type; + public Builder() {} + public Builder(GetMigrationDataTransferMediumDetailsV2 defaults) { + Objects.requireNonNull(defaults); + this.accessKeyId = defaults.accessKeyId; + this.name = defaults.name; + this.objectStorageBuckets = defaults.objectStorageBuckets; + this.region = defaults.region; + this.secretAccessKey = defaults.secretAccessKey; + this.type = defaults.type; + } + + @CustomType.Setter + public Builder accessKeyId(String accessKeyId) { + this.accessKeyId = Objects.requireNonNull(accessKeyId); + return this; + } + @CustomType.Setter + public Builder name(String name) { + this.name = Objects.requireNonNull(name); + return this; + } + @CustomType.Setter + public Builder objectStorageBuckets(List objectStorageBuckets) { + this.objectStorageBuckets = Objects.requireNonNull(objectStorageBuckets); + return this; + } + public Builder objectStorageBuckets(GetMigrationDataTransferMediumDetailsV2ObjectStorageBucket... objectStorageBuckets) { + return objectStorageBuckets(List.of(objectStorageBuckets)); + } + @CustomType.Setter + public Builder region(String region) { + this.region = Objects.requireNonNull(region); + return this; + } + @CustomType.Setter + public Builder secretAccessKey(String secretAccessKey) { + this.secretAccessKey = Objects.requireNonNull(secretAccessKey); + return this; + } + @CustomType.Setter + public Builder type(String type) { + this.type = Objects.requireNonNull(type); + return this; + } + public GetMigrationDataTransferMediumDetailsV2 build() { + final var o = new GetMigrationDataTransferMediumDetailsV2(); + o.accessKeyId = accessKeyId; + o.name = name; + o.objectStorageBuckets = objectStorageBuckets; + o.region = region; + o.secretAccessKey = secretAccessKey; + o.type = type; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseMigration/outputs/GetMigrationDataTransferMediumDetailsV2ObjectStorageBucket.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseMigration/outputs/GetMigrationDataTransferMediumDetailsV2ObjectStorageBucket.java new file mode 100644 index 0000000000..7931c9289b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseMigration/outputs/GetMigrationDataTransferMediumDetailsV2ObjectStorageBucket.java @@ -0,0 +1,74 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.DatabaseMigration.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetMigrationDataTransferMediumDetailsV2ObjectStorageBucket { + /** + * @return Bucket name. + * + */ + private String bucket; + /** + * @return Namespace name of the object store bucket. + * + */ + private String namespace; + + private GetMigrationDataTransferMediumDetailsV2ObjectStorageBucket() {} + /** + * @return Bucket name. + * + */ + public String bucket() { + return this.bucket; + } + /** + * @return Namespace name of the object store bucket. + * + */ + public String namespace() { + return this.namespace; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetMigrationDataTransferMediumDetailsV2ObjectStorageBucket defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String bucket; + private String namespace; + public Builder() {} + public Builder(GetMigrationDataTransferMediumDetailsV2ObjectStorageBucket defaults) { + Objects.requireNonNull(defaults); + this.bucket = defaults.bucket; + this.namespace = defaults.namespace; + } + + @CustomType.Setter + public Builder bucket(String bucket) { + this.bucket = Objects.requireNonNull(bucket); + return this; + } + @CustomType.Setter + public Builder namespace(String namespace) { + this.namespace = Objects.requireNonNull(namespace); + return this; + } + public GetMigrationDataTransferMediumDetailsV2ObjectStorageBucket build() { + final var o = new GetMigrationDataTransferMediumDetailsV2ObjectStorageBucket(); + o.bucket = bucket; + o.namespace = namespace; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseMigration/outputs/GetMigrationDumpTransferDetail.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseMigration/outputs/GetMigrationDumpTransferDetail.java index 8f5e3a4e32..df386cfd68 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DatabaseMigration/outputs/GetMigrationDumpTransferDetail.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseMigration/outputs/GetMigrationDumpTransferDetail.java @@ -6,11 +6,13 @@ import com.pulumi.core.annotations.CustomType; import com.pulumi.oci.DatabaseMigration.outputs.GetMigrationDumpTransferDetailSource; import com.pulumi.oci.DatabaseMigration.outputs.GetMigrationDumpTransferDetailTarget; +import java.lang.String; import java.util.List; import java.util.Objects; @CustomType public final class GetMigrationDumpTransferDetail { + private String sharedStorageMountTargetId; /** * @return Optional additional properties for dump transfer in source or target host. Default kind is CURL * @@ -23,6 +25,9 @@ public final class GetMigrationDumpTransferDetail { private List targets; private GetMigrationDumpTransferDetail() {} + public String sharedStorageMountTargetId() { + return this.sharedStorageMountTargetId; + } /** * @return Optional additional properties for dump transfer in source or target host. Default kind is CURL * @@ -47,15 +52,22 @@ public static Builder builder(GetMigrationDumpTransferDetail defaults) { } @CustomType.Builder public static final class Builder { + private String sharedStorageMountTargetId; private List sources; private List targets; public Builder() {} public Builder(GetMigrationDumpTransferDetail defaults) { Objects.requireNonNull(defaults); + this.sharedStorageMountTargetId = defaults.sharedStorageMountTargetId; this.sources = defaults.sources; this.targets = defaults.targets; } + @CustomType.Setter + public Builder sharedStorageMountTargetId(String sharedStorageMountTargetId) { + this.sharedStorageMountTargetId = Objects.requireNonNull(sharedStorageMountTargetId); + return this; + } @CustomType.Setter public Builder sources(List sources) { this.sources = Objects.requireNonNull(sources); @@ -74,6 +86,7 @@ public Builder targets(GetMigrationDumpTransferDetailTarget... targets) { } public GetMigrationDumpTransferDetail build() { final var o = new GetMigrationDumpTransferDetail(); + o.sharedStorageMountTargetId = sharedStorageMountTargetId; o.sources = sources; o.targets = targets; return o; diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseMigration/outputs/GetMigrationResult.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseMigration/outputs/GetMigrationResult.java index bcd47ba602..5f18dc4e8c 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DatabaseMigration/outputs/GetMigrationResult.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseMigration/outputs/GetMigrationResult.java @@ -6,6 +6,7 @@ import com.pulumi.core.annotations.CustomType; import com.pulumi.oci.DatabaseMigration.outputs.GetMigrationAdvisorSetting; import com.pulumi.oci.DatabaseMigration.outputs.GetMigrationDataTransferMediumDetail; +import com.pulumi.oci.DatabaseMigration.outputs.GetMigrationDataTransferMediumDetailsV2; import com.pulumi.oci.DatabaseMigration.outputs.GetMigrationDatapumpSetting; import com.pulumi.oci.DatabaseMigration.outputs.GetMigrationDumpTransferDetail; import com.pulumi.oci.DatabaseMigration.outputs.GetMigrationExcludeObject; @@ -47,6 +48,7 @@ public final class GetMigrationResult { * */ private List dataTransferMediumDetails; + private List dataTransferMediumDetailsV2s; /** * @return Optional settings for Data Pump Export and Import jobs * @@ -203,6 +205,9 @@ public String csvText() { public List dataTransferMediumDetails() { return this.dataTransferMediumDetails; } + public List dataTransferMediumDetailsV2s() { + return this.dataTransferMediumDetailsV2s; + } /** * @return Optional settings for Data Pump Export and Import jobs * @@ -383,6 +388,7 @@ public static final class Builder { private String credentialsSecretId; private String csvText; private List dataTransferMediumDetails; + private List dataTransferMediumDetailsV2s; private List datapumpSettings; private Map definedTags; private String displayName; @@ -416,6 +422,7 @@ public Builder(GetMigrationResult defaults) { this.credentialsSecretId = defaults.credentialsSecretId; this.csvText = defaults.csvText; this.dataTransferMediumDetails = defaults.dataTransferMediumDetails; + this.dataTransferMediumDetailsV2s = defaults.dataTransferMediumDetailsV2s; this.datapumpSettings = defaults.datapumpSettings; this.definedTags = defaults.definedTags; this.displayName = defaults.displayName; @@ -479,6 +486,14 @@ public Builder dataTransferMediumDetails(GetMigrationDataTransferMediumDetail... return dataTransferMediumDetails(List.of(dataTransferMediumDetails)); } @CustomType.Setter + public Builder dataTransferMediumDetailsV2s(List dataTransferMediumDetailsV2s) { + this.dataTransferMediumDetailsV2s = Objects.requireNonNull(dataTransferMediumDetailsV2s); + return this; + } + public Builder dataTransferMediumDetailsV2s(GetMigrationDataTransferMediumDetailsV2... dataTransferMediumDetailsV2s) { + return dataTransferMediumDetailsV2s(List.of(dataTransferMediumDetailsV2s)); + } + @CustomType.Setter public Builder datapumpSettings(List datapumpSettings) { this.datapumpSettings = Objects.requireNonNull(datapumpSettings); return this; @@ -627,6 +642,7 @@ public GetMigrationResult build() { o.credentialsSecretId = credentialsSecretId; o.csvText = csvText; o.dataTransferMediumDetails = dataTransferMediumDetails; + o.dataTransferMediumDetailsV2s = dataTransferMediumDetailsV2s; o.datapumpSettings = datapumpSettings; o.definedTags = definedTags; o.displayName = displayName; diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseMigration/outputs/GetMigrationsMigrationCollectionItem.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseMigration/outputs/GetMigrationsMigrationCollectionItem.java index 3775a93907..df1ff31027 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DatabaseMigration/outputs/GetMigrationsMigrationCollectionItem.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseMigration/outputs/GetMigrationsMigrationCollectionItem.java @@ -6,6 +6,7 @@ import com.pulumi.core.annotations.CustomType; import com.pulumi.oci.DatabaseMigration.outputs.GetMigrationsMigrationCollectionItemAdvisorSetting; import com.pulumi.oci.DatabaseMigration.outputs.GetMigrationsMigrationCollectionItemDataTransferMediumDetail; +import com.pulumi.oci.DatabaseMigration.outputs.GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2; import com.pulumi.oci.DatabaseMigration.outputs.GetMigrationsMigrationCollectionItemDatapumpSetting; import com.pulumi.oci.DatabaseMigration.outputs.GetMigrationsMigrationCollectionItemDumpTransferDetail; import com.pulumi.oci.DatabaseMigration.outputs.GetMigrationsMigrationCollectionItemExcludeObject; @@ -47,6 +48,7 @@ public final class GetMigrationsMigrationCollectionItem { * */ private List dataTransferMediumDetails; + private List dataTransferMediumDetailsV2s; /** * @return Optional settings for Data Pump Export and Import jobs * @@ -202,6 +204,9 @@ public String csvText() { public List dataTransferMediumDetails() { return this.dataTransferMediumDetails; } + public List dataTransferMediumDetailsV2s() { + return this.dataTransferMediumDetailsV2s; + } /** * @return Optional settings for Data Pump Export and Import jobs * @@ -379,6 +384,7 @@ public static final class Builder { private String credentialsSecretId; private String csvText; private List dataTransferMediumDetails; + private List dataTransferMediumDetailsV2s; private List datapumpSettings; private Map definedTags; private String displayName; @@ -411,6 +417,7 @@ public Builder(GetMigrationsMigrationCollectionItem defaults) { this.credentialsSecretId = defaults.credentialsSecretId; this.csvText = defaults.csvText; this.dataTransferMediumDetails = defaults.dataTransferMediumDetails; + this.dataTransferMediumDetailsV2s = defaults.dataTransferMediumDetailsV2s; this.datapumpSettings = defaults.datapumpSettings; this.definedTags = defaults.definedTags; this.displayName = defaults.displayName; @@ -473,6 +480,14 @@ public Builder dataTransferMediumDetails(GetMigrationsMigrationCollectionItemDat return dataTransferMediumDetails(List.of(dataTransferMediumDetails)); } @CustomType.Setter + public Builder dataTransferMediumDetailsV2s(List dataTransferMediumDetailsV2s) { + this.dataTransferMediumDetailsV2s = Objects.requireNonNull(dataTransferMediumDetailsV2s); + return this; + } + public Builder dataTransferMediumDetailsV2s(GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2... dataTransferMediumDetailsV2s) { + return dataTransferMediumDetailsV2s(List.of(dataTransferMediumDetailsV2s)); + } + @CustomType.Setter public Builder datapumpSettings(List datapumpSettings) { this.datapumpSettings = Objects.requireNonNull(datapumpSettings); return this; @@ -616,6 +631,7 @@ public GetMigrationsMigrationCollectionItem build() { o.credentialsSecretId = credentialsSecretId; o.csvText = csvText; o.dataTransferMediumDetails = dataTransferMediumDetails; + o.dataTransferMediumDetailsV2s = dataTransferMediumDetailsV2s; o.datapumpSettings = datapumpSettings; o.definedTags = definedTags; o.displayName = displayName; diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseMigration/outputs/GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseMigration/outputs/GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2.java new file mode 100644 index 0000000000..ab8683d02d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseMigration/outputs/GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2.java @@ -0,0 +1,127 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.DatabaseMigration.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.oci.DatabaseMigration.outputs.GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucket; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2 { + private String accessKeyId; + /** + * @return Name of directory object in database + * + */ + private String name; + private List objectStorageBuckets; + private String region; + private String secretAccessKey; + /** + * @return Migration type. + * + */ + private String type; + + private GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2() {} + public String accessKeyId() { + return this.accessKeyId; + } + /** + * @return Name of directory object in database + * + */ + public String name() { + return this.name; + } + public List objectStorageBuckets() { + return this.objectStorageBuckets; + } + public String region() { + return this.region; + } + public String secretAccessKey() { + return this.secretAccessKey; + } + /** + * @return Migration type. + * + */ + public String type() { + return this.type; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2 defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String accessKeyId; + private String name; + private List objectStorageBuckets; + private String region; + private String secretAccessKey; + private String type; + public Builder() {} + public Builder(GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2 defaults) { + Objects.requireNonNull(defaults); + this.accessKeyId = defaults.accessKeyId; + this.name = defaults.name; + this.objectStorageBuckets = defaults.objectStorageBuckets; + this.region = defaults.region; + this.secretAccessKey = defaults.secretAccessKey; + this.type = defaults.type; + } + + @CustomType.Setter + public Builder accessKeyId(String accessKeyId) { + this.accessKeyId = Objects.requireNonNull(accessKeyId); + return this; + } + @CustomType.Setter + public Builder name(String name) { + this.name = Objects.requireNonNull(name); + return this; + } + @CustomType.Setter + public Builder objectStorageBuckets(List objectStorageBuckets) { + this.objectStorageBuckets = Objects.requireNonNull(objectStorageBuckets); + return this; + } + public Builder objectStorageBuckets(GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucket... objectStorageBuckets) { + return objectStorageBuckets(List.of(objectStorageBuckets)); + } + @CustomType.Setter + public Builder region(String region) { + this.region = Objects.requireNonNull(region); + return this; + } + @CustomType.Setter + public Builder secretAccessKey(String secretAccessKey) { + this.secretAccessKey = Objects.requireNonNull(secretAccessKey); + return this; + } + @CustomType.Setter + public Builder type(String type) { + this.type = Objects.requireNonNull(type); + return this; + } + public GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2 build() { + final var o = new GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2(); + o.accessKeyId = accessKeyId; + o.name = name; + o.objectStorageBuckets = objectStorageBuckets; + o.region = region; + o.secretAccessKey = secretAccessKey; + o.type = type; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseMigration/outputs/GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucket.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseMigration/outputs/GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucket.java new file mode 100644 index 0000000000..4c33e74143 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseMigration/outputs/GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucket.java @@ -0,0 +1,74 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.DatabaseMigration.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucket { + /** + * @return Bucket name. + * + */ + private String bucket; + /** + * @return Namespace name of the object store bucket. + * + */ + private String namespace; + + private GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucket() {} + /** + * @return Bucket name. + * + */ + public String bucket() { + return this.bucket; + } + /** + * @return Namespace name of the object store bucket. + * + */ + public String namespace() { + return this.namespace; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucket defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String bucket; + private String namespace; + public Builder() {} + public Builder(GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucket defaults) { + Objects.requireNonNull(defaults); + this.bucket = defaults.bucket; + this.namespace = defaults.namespace; + } + + @CustomType.Setter + public Builder bucket(String bucket) { + this.bucket = Objects.requireNonNull(bucket); + return this; + } + @CustomType.Setter + public Builder namespace(String namespace) { + this.namespace = Objects.requireNonNull(namespace); + return this; + } + public GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucket build() { + final var o = new GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucket(); + o.bucket = bucket; + o.namespace = namespace; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseMigration/outputs/GetMigrationsMigrationCollectionItemDumpTransferDetail.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseMigration/outputs/GetMigrationsMigrationCollectionItemDumpTransferDetail.java index aa6abb84f8..1c63ddeb5f 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DatabaseMigration/outputs/GetMigrationsMigrationCollectionItemDumpTransferDetail.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseMigration/outputs/GetMigrationsMigrationCollectionItemDumpTransferDetail.java @@ -6,11 +6,13 @@ import com.pulumi.core.annotations.CustomType; import com.pulumi.oci.DatabaseMigration.outputs.GetMigrationsMigrationCollectionItemDumpTransferDetailSource; import com.pulumi.oci.DatabaseMigration.outputs.GetMigrationsMigrationCollectionItemDumpTransferDetailTarget; +import java.lang.String; import java.util.List; import java.util.Objects; @CustomType public final class GetMigrationsMigrationCollectionItemDumpTransferDetail { + private String sharedStorageMountTargetId; /** * @return Optional additional properties for dump transfer in source or target host. Default kind is CURL * @@ -23,6 +25,9 @@ public final class GetMigrationsMigrationCollectionItemDumpTransferDetail { private List targets; private GetMigrationsMigrationCollectionItemDumpTransferDetail() {} + public String sharedStorageMountTargetId() { + return this.sharedStorageMountTargetId; + } /** * @return Optional additional properties for dump transfer in source or target host. Default kind is CURL * @@ -47,15 +52,22 @@ public static Builder builder(GetMigrationsMigrationCollectionItemDumpTransferDe } @CustomType.Builder public static final class Builder { + private String sharedStorageMountTargetId; private List sources; private List targets; public Builder() {} public Builder(GetMigrationsMigrationCollectionItemDumpTransferDetail defaults) { Objects.requireNonNull(defaults); + this.sharedStorageMountTargetId = defaults.sharedStorageMountTargetId; this.sources = defaults.sources; this.targets = defaults.targets; } + @CustomType.Setter + public Builder sharedStorageMountTargetId(String sharedStorageMountTargetId) { + this.sharedStorageMountTargetId = Objects.requireNonNull(sharedStorageMountTargetId); + return this; + } @CustomType.Setter public Builder sources(List sources) { this.sources = Objects.requireNonNull(sources); @@ -74,6 +86,7 @@ public Builder targets(GetMigrationsMigrationCollectionItemDumpTransferDetailTar } public GetMigrationsMigrationCollectionItemDumpTransferDetail build() { final var o = new GetMigrationsMigrationCollectionItemDumpTransferDetail(); + o.sharedStorageMountTargetId = sharedStorageMountTargetId; o.sources = sources; o.targets = targets; return o; diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseMigration/outputs/MigrationDataTransferMediumDetailsV2.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseMigration/outputs/MigrationDataTransferMediumDetailsV2.java new file mode 100644 index 0000000000..936ef6254e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseMigration/outputs/MigrationDataTransferMediumDetailsV2.java @@ -0,0 +1,125 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.DatabaseMigration.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.oci.DatabaseMigration.outputs.MigrationDataTransferMediumDetailsV2ObjectStorageBucket; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class MigrationDataTransferMediumDetailsV2 { + private @Nullable String accessKeyId; + /** + * @return (Updatable) Name of directory object in database + * + */ + private @Nullable String name; + private @Nullable MigrationDataTransferMediumDetailsV2ObjectStorageBucket objectStorageBucket; + private @Nullable String region; + private @Nullable String secretAccessKey; + /** + * @return (Updatable) Migration type. + * + */ + private String type; + + private MigrationDataTransferMediumDetailsV2() {} + public Optional accessKeyId() { + return Optional.ofNullable(this.accessKeyId); + } + /** + * @return (Updatable) Name of directory object in database + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + public Optional objectStorageBucket() { + return Optional.ofNullable(this.objectStorageBucket); + } + public Optional region() { + return Optional.ofNullable(this.region); + } + public Optional secretAccessKey() { + return Optional.ofNullable(this.secretAccessKey); + } + /** + * @return (Updatable) Migration type. + * + */ + public String type() { + return this.type; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(MigrationDataTransferMediumDetailsV2 defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String accessKeyId; + private @Nullable String name; + private @Nullable MigrationDataTransferMediumDetailsV2ObjectStorageBucket objectStorageBucket; + private @Nullable String region; + private @Nullable String secretAccessKey; + private String type; + public Builder() {} + public Builder(MigrationDataTransferMediumDetailsV2 defaults) { + Objects.requireNonNull(defaults); + this.accessKeyId = defaults.accessKeyId; + this.name = defaults.name; + this.objectStorageBucket = defaults.objectStorageBucket; + this.region = defaults.region; + this.secretAccessKey = defaults.secretAccessKey; + this.type = defaults.type; + } + + @CustomType.Setter + public Builder accessKeyId(@Nullable String accessKeyId) { + this.accessKeyId = accessKeyId; + return this; + } + @CustomType.Setter + public Builder name(@Nullable String name) { + this.name = name; + return this; + } + @CustomType.Setter + public Builder objectStorageBucket(@Nullable MigrationDataTransferMediumDetailsV2ObjectStorageBucket objectStorageBucket) { + this.objectStorageBucket = objectStorageBucket; + return this; + } + @CustomType.Setter + public Builder region(@Nullable String region) { + this.region = region; + return this; + } + @CustomType.Setter + public Builder secretAccessKey(@Nullable String secretAccessKey) { + this.secretAccessKey = secretAccessKey; + return this; + } + @CustomType.Setter + public Builder type(String type) { + this.type = Objects.requireNonNull(type); + return this; + } + public MigrationDataTransferMediumDetailsV2 build() { + final var o = new MigrationDataTransferMediumDetailsV2(); + o.accessKeyId = accessKeyId; + o.name = name; + o.objectStorageBucket = objectStorageBucket; + o.region = region; + o.secretAccessKey = secretAccessKey; + o.type = type; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseMigration/outputs/MigrationDataTransferMediumDetailsV2ObjectStorageBucket.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseMigration/outputs/MigrationDataTransferMediumDetailsV2ObjectStorageBucket.java new file mode 100644 index 0000000000..da48dd042e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseMigration/outputs/MigrationDataTransferMediumDetailsV2ObjectStorageBucket.java @@ -0,0 +1,76 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.DatabaseMigration.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class MigrationDataTransferMediumDetailsV2ObjectStorageBucket { + /** + * @return (Updatable) Bucket name. + * + */ + private @Nullable String bucket; + /** + * @return (Updatable) Namespace name of the object store bucket. + * + */ + private @Nullable String namespace; + + private MigrationDataTransferMediumDetailsV2ObjectStorageBucket() {} + /** + * @return (Updatable) Bucket name. + * + */ + public Optional bucket() { + return Optional.ofNullable(this.bucket); + } + /** + * @return (Updatable) Namespace name of the object store bucket. + * + */ + public Optional namespace() { + return Optional.ofNullable(this.namespace); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(MigrationDataTransferMediumDetailsV2ObjectStorageBucket defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String bucket; + private @Nullable String namespace; + public Builder() {} + public Builder(MigrationDataTransferMediumDetailsV2ObjectStorageBucket defaults) { + Objects.requireNonNull(defaults); + this.bucket = defaults.bucket; + this.namespace = defaults.namespace; + } + + @CustomType.Setter + public Builder bucket(@Nullable String bucket) { + this.bucket = bucket; + return this; + } + @CustomType.Setter + public Builder namespace(@Nullable String namespace) { + this.namespace = namespace; + return this; + } + public MigrationDataTransferMediumDetailsV2ObjectStorageBucket build() { + final var o = new MigrationDataTransferMediumDetailsV2ObjectStorageBucket(); + o.bucket = bucket; + o.namespace = namespace; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/DatabaseMigration/outputs/MigrationDumpTransferDetails.java b/sdk/java/src/main/java/com/pulumi/oci/DatabaseMigration/outputs/MigrationDumpTransferDetails.java index 5719d13b6e..99a6113c2a 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/DatabaseMigration/outputs/MigrationDumpTransferDetails.java +++ b/sdk/java/src/main/java/com/pulumi/oci/DatabaseMigration/outputs/MigrationDumpTransferDetails.java @@ -6,12 +6,14 @@ import com.pulumi.core.annotations.CustomType; import com.pulumi.oci.DatabaseMigration.outputs.MigrationDumpTransferDetailsSource; import com.pulumi.oci.DatabaseMigration.outputs.MigrationDumpTransferDetailsTarget; +import java.lang.String; import java.util.Objects; import java.util.Optional; import javax.annotation.Nullable; @CustomType public final class MigrationDumpTransferDetails { + private @Nullable String sharedStorageMountTargetId; /** * @return (Updatable) Optional additional properties for dump transfer in source or target host. Default kind is CURL * @@ -24,6 +26,9 @@ public final class MigrationDumpTransferDetails { private @Nullable MigrationDumpTransferDetailsTarget target; private MigrationDumpTransferDetails() {} + public Optional sharedStorageMountTargetId() { + return Optional.ofNullable(this.sharedStorageMountTargetId); + } /** * @return (Updatable) Optional additional properties for dump transfer in source or target host. Default kind is CURL * @@ -48,15 +53,22 @@ public static Builder builder(MigrationDumpTransferDetails defaults) { } @CustomType.Builder public static final class Builder { + private @Nullable String sharedStorageMountTargetId; private @Nullable MigrationDumpTransferDetailsSource source; private @Nullable MigrationDumpTransferDetailsTarget target; public Builder() {} public Builder(MigrationDumpTransferDetails defaults) { Objects.requireNonNull(defaults); + this.sharedStorageMountTargetId = defaults.sharedStorageMountTargetId; this.source = defaults.source; this.target = defaults.target; } + @CustomType.Setter + public Builder sharedStorageMountTargetId(@Nullable String sharedStorageMountTargetId) { + this.sharedStorageMountTargetId = sharedStorageMountTargetId; + return this; + } @CustomType.Setter public Builder source(@Nullable MigrationDumpTransferDetailsSource source) { this.source = source; @@ -69,6 +81,7 @@ public Builder target(@Nullable MigrationDumpTransferDetailsTarget target) { } public MigrationDumpTransferDetails build() { final var o = new MigrationDumpTransferDetails(); + o.sharedStorageMountTargetId = sharedStorageMountTargetId; o.source = source; o.target = target; return o; diff --git a/sdk/java/src/main/java/com/pulumi/oci/FileStorage/FileSystem.java b/sdk/java/src/main/java/com/pulumi/oci/FileStorage/FileSystem.java index cb69e4dbf7..3398b9cb4a 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/FileStorage/FileSystem.java +++ b/sdk/java/src/main/java/com/pulumi/oci/FileStorage/FileSystem.java @@ -163,7 +163,7 @@ public Output displayName() { * */ @Export(name="filesystemSnapshotPolicyId", refs={String.class}, tree="[0]") - private Output filesystemSnapshotPolicyId; + private Output filesystemSnapshotPolicyId; /** * @return (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated file system snapshot policy, which controls the frequency of snapshot creation and retention period of the taken snapshots. @@ -171,8 +171,8 @@ public Output displayName() { * May be unset as a blank value. * */ - public Output filesystemSnapshotPolicyId() { - return this.filesystemSnapshotPolicyId; + public Output> filesystemSnapshotPolicyId() { + return Codegen.optional(this.filesystemSnapshotPolicyId); } /** * (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` diff --git a/sdk/java/src/main/java/com/pulumi/oci/GoldenGate/Deployment.java b/sdk/java/src/main/java/com/pulumi/oci/GoldenGate/Deployment.java index 85d3a4abaa..195211b1dc 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/GoldenGate/Deployment.java +++ b/sdk/java/src/main/java/com/pulumi/oci/GoldenGate/Deployment.java @@ -416,17 +416,9 @@ public Output privateIpAddress() { public Output publicIpAddress() { return this.publicIpAddress; } - /** - * Possible lifecycle states. - * - */ @Export(name="state", refs={String.class}, tree="[0]") private Output state; - /** - * @return Possible lifecycle states. - * - */ public Output state() { return this.state; } diff --git a/sdk/java/src/main/java/com/pulumi/oci/GoldenGate/DeploymentArgs.java b/sdk/java/src/main/java/com/pulumi/oci/GoldenGate/DeploymentArgs.java index fd64f2de4e..88c377ec9b 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/GoldenGate/DeploymentArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/GoldenGate/DeploymentArgs.java @@ -263,17 +263,9 @@ public Optional> oggData() { return Optional.ofNullable(this.oggData); } - /** - * Possible lifecycle states. - * - */ @Import(name="state") private @Nullable Output state; - /** - * @return Possible lifecycle states. - * - */ public Optional> state() { return Optional.ofNullable(this.state); } @@ -680,23 +672,11 @@ public Builder oggData(DeploymentOggDataArgs oggData) { return oggData(Output.of(oggData)); } - /** - * @param state Possible lifecycle states. - * - * @return builder - * - */ public Builder state(@Nullable Output state) { $.state = state; return this; } - /** - * @param state Possible lifecycle states. - * - * @return builder - * - */ public Builder state(String state) { return state(Output.of(state)); } diff --git a/sdk/java/src/main/java/com/pulumi/oci/GoldenGate/inputs/DeploymentState.java b/sdk/java/src/main/java/com/pulumi/oci/GoldenGate/inputs/DeploymentState.java index 09658275f5..032946f7e7 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/GoldenGate/inputs/DeploymentState.java +++ b/sdk/java/src/main/java/com/pulumi/oci/GoldenGate/inputs/DeploymentState.java @@ -429,17 +429,9 @@ public Optional> publicIpAddress() { return Optional.ofNullable(this.publicIpAddress); } - /** - * Possible lifecycle states. - * - */ @Import(name="state") private @Nullable Output state; - /** - * @return Possible lifecycle states. - * - */ public Optional> state() { return Optional.ofNullable(this.state); } @@ -1210,23 +1202,11 @@ public Builder publicIpAddress(String publicIpAddress) { return publicIpAddress(Output.of(publicIpAddress)); } - /** - * @param state Possible lifecycle states. - * - * @return builder - * - */ public Builder state(@Nullable Output state) { $.state = state; return this; } - /** - * @param state Possible lifecycle states. - * - * @return builder - * - */ public Builder state(String state) { return state(Output.of(state)); } diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/EkmsPrivateEndpoint.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/EkmsPrivateEndpoint.java new file mode 100644 index 0000000000..dc46dd6179 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/EkmsPrivateEndpoint.java @@ -0,0 +1,309 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Kms; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Export; +import com.pulumi.core.annotations.ResourceType; +import com.pulumi.core.internal.Codegen; +import com.pulumi.oci.Kms.EkmsPrivateEndpointArgs; +import com.pulumi.oci.Kms.inputs.EkmsPrivateEndpointState; +import com.pulumi.oci.Utilities; +import java.lang.Integer; +import java.lang.Object; +import java.lang.String; +import java.util.Map; +import javax.annotation.Nullable; + +/** + * This resource provides the Ekms Private Endpoint resource in Oracle Cloud Infrastructure Kms service. + * + * Create a new EKMS private endpoint used to connect to external key manager system + * + * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.oci.Kms.EkmsPrivateEndpoint; + * import com.pulumi.oci.Kms.EkmsPrivateEndpointArgs; + * 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 testEkmsPrivateEndpoint = new EkmsPrivateEndpoint("testEkmsPrivateEndpoint", EkmsPrivateEndpointArgs.builder() + * .caBundle(var_.ekms_private_endpoint_ca_bundle()) + * .compartmentId(var_.compartment_id()) + * .displayName(var_.ekms_private_endpoint_display_name()) + * .externalKeyManagerIp(var_.ekms_private_endpoint_external_key_manager_ip()) + * .subnetId(oci_core_subnet.test_subnet().id()) + * .definedTags(Map.of("foo-namespace.bar-key", "value")) + * .freeformTags(Map.of("bar-key", "value")) + * .port(var_.ekms_private_endpoint_port()) + * .build()); + * + * } + * } + * ``` + * + * ## Import + * + * EkmsPrivateEndpoints can be imported using the `id`, e.g. + * + * ```sh + * $ pulumi import oci:Kms/ekmsPrivateEndpoint:EkmsPrivateEndpoint test_ekms_private_endpoint "id" + * ``` + * + */ +@ResourceType(type="oci:Kms/ekmsPrivateEndpoint:EkmsPrivateEndpoint") +public class EkmsPrivateEndpoint extends com.pulumi.resources.CustomResource { + /** + * CABundle to validate TLS certificate of the external key manager system in PEM format + * + */ + @Export(name="caBundle", refs={String.class}, tree="[0]") + private Output caBundle; + + /** + * @return CABundle to validate TLS certificate of the external key manager system in PEM format + * + */ + public Output caBundle() { + return this.caBundle; + } + /** + * Compartment identifier. + * + */ + @Export(name="compartmentId", refs={String.class}, tree="[0]") + private Output compartmentId; + + /** + * @return Compartment identifier. + * + */ + public Output compartmentId() { + return this.compartmentId; + } + /** + * (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"foo-namespace.bar-key": "value"}` + * + */ + @Export(name="definedTags", refs={Map.class,String.class,Object.class}, tree="[0,1,2]") + private Output> definedTags; + + /** + * @return (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"foo-namespace.bar-key": "value"}` + * + */ + public Output> definedTags() { + return this.definedTags; + } + /** + * (Updatable) Display name of the EKMS private endpoint resource being created. + * + */ + @Export(name="displayName", refs={String.class}, tree="[0]") + private Output displayName; + + /** + * @return (Updatable) Display name of the EKMS private endpoint resource being created. + * + */ + public Output displayName() { + return this.displayName; + } + /** + * External private IP to connect to from this EKMS private endpoint + * + */ + @Export(name="externalKeyManagerIp", refs={String.class}, tree="[0]") + private Output externalKeyManagerIp; + + /** + * @return External private IP to connect to from this EKMS private endpoint + * + */ + public Output externalKeyManagerIp() { + return this.externalKeyManagerIp; + } + /** + * (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + * + */ + @Export(name="freeformTags", refs={Map.class,String.class,Object.class}, tree="[0,1,2]") + private Output> freeformTags; + + /** + * @return (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + * + */ + public Output> freeformTags() { + return this.freeformTags; + } + /** + * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state. + * + */ + @Export(name="lifecycleDetails", refs={String.class}, tree="[0]") + private Output lifecycleDetails; + + /** + * @return A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state. + * + */ + public Output lifecycleDetails() { + return this.lifecycleDetails; + } + /** + * The port of the external key manager system + * + */ + @Export(name="port", refs={Integer.class}, tree="[0]") + private Output port; + + /** + * @return The port of the external key manager system + * + */ + public Output port() { + return this.port; + } + /** + * The IP address in the customer's VCN for the EKMS private endpoint. This is taken from subnet + * + */ + @Export(name="privateEndpointIp", refs={String.class}, tree="[0]") + private Output privateEndpointIp; + + /** + * @return The IP address in the customer's VCN for the EKMS private endpoint. This is taken from subnet + * + */ + public Output privateEndpointIp() { + return this.privateEndpointIp; + } + /** + * The current state of the EKMS private endpoint resource. + * + */ + @Export(name="state", refs={String.class}, tree="[0]") + private Output state; + + /** + * @return The current state of the EKMS private endpoint resource. + * + */ + public Output state() { + return this.state; + } + /** + * The OCID of subnet in which the EKMS private endpoint is to be 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 + * + */ + @Export(name="subnetId", refs={String.class}, tree="[0]") + private Output subnetId; + + /** + * @return The OCID of subnet in which the EKMS private endpoint is to be 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 + * + */ + public Output subnetId() { + return this.subnetId; + } + /** + * The time the EKMS private endpoint was created. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. + * + */ + @Export(name="timeCreated", refs={String.class}, tree="[0]") + private Output timeCreated; + + /** + * @return The time the EKMS private endpoint was created. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. + * + */ + public Output timeCreated() { + return this.timeCreated; + } + /** + * The time the EKMS private endpoint was updated. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. + * + */ + @Export(name="timeUpdated", refs={String.class}, tree="[0]") + private Output timeUpdated; + + /** + * @return The time the EKMS private endpoint was updated. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. + * + */ + public Output timeUpdated() { + return this.timeUpdated; + } + + /** + * + * @param name The _unique_ name of the resulting resource. + */ + public EkmsPrivateEndpoint(String name) { + this(name, EkmsPrivateEndpointArgs.Empty); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + */ + public EkmsPrivateEndpoint(String name, EkmsPrivateEndpointArgs args) { + this(name, args, null); + } + /** + * + * @param name The _unique_ name of the resulting resource. + * @param args The arguments to use to populate this resource's properties. + * @param options A bag of options that control this resource's behavior. + */ + public EkmsPrivateEndpoint(String name, EkmsPrivateEndpointArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("oci:Kms/ekmsPrivateEndpoint:EkmsPrivateEndpoint", name, args == null ? EkmsPrivateEndpointArgs.Empty : args, makeResourceOptions(options, Codegen.empty())); + } + + private EkmsPrivateEndpoint(String name, Output id, @Nullable EkmsPrivateEndpointState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + super("oci:Kms/ekmsPrivateEndpoint:EkmsPrivateEndpoint", name, state, makeResourceOptions(options, id)); + } + + private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) { + var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder() + .version(Utilities.getVersion()) + .build(); + return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id); + } + + /** + * Get an existing Host resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state + * @param options Optional settings to control the behavior of the CustomResource. + */ + public static EkmsPrivateEndpoint get(String name, Output id, @Nullable EkmsPrivateEndpointState state, @Nullable com.pulumi.resources.CustomResourceOptions options) { + return new EkmsPrivateEndpoint(name, id, state, options); + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/EkmsPrivateEndpointArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/EkmsPrivateEndpointArgs.java new file mode 100644 index 0000000000..591e2c5c63 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/EkmsPrivateEndpointArgs.java @@ -0,0 +1,362 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Kms; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.Integer; +import java.lang.Object; +import java.lang.String; +import java.util.Map; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class EkmsPrivateEndpointArgs extends com.pulumi.resources.ResourceArgs { + + public static final EkmsPrivateEndpointArgs Empty = new EkmsPrivateEndpointArgs(); + + /** + * CABundle to validate TLS certificate of the external key manager system in PEM format + * + */ + @Import(name="caBundle", required=true) + private Output caBundle; + + /** + * @return CABundle to validate TLS certificate of the external key manager system in PEM format + * + */ + public Output caBundle() { + return this.caBundle; + } + + /** + * Compartment identifier. + * + */ + @Import(name="compartmentId", required=true) + private Output compartmentId; + + /** + * @return Compartment identifier. + * + */ + public Output compartmentId() { + return this.compartmentId; + } + + /** + * (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"foo-namespace.bar-key": "value"}` + * + */ + @Import(name="definedTags") + private @Nullable Output> definedTags; + + /** + * @return (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"foo-namespace.bar-key": "value"}` + * + */ + public Optional>> definedTags() { + return Optional.ofNullable(this.definedTags); + } + + /** + * (Updatable) Display name of the EKMS private endpoint resource being created. + * + */ + @Import(name="displayName", required=true) + private Output displayName; + + /** + * @return (Updatable) Display name of the EKMS private endpoint resource being created. + * + */ + public Output displayName() { + return this.displayName; + } + + /** + * External private IP to connect to from this EKMS private endpoint + * + */ + @Import(name="externalKeyManagerIp", required=true) + private Output externalKeyManagerIp; + + /** + * @return External private IP to connect to from this EKMS private endpoint + * + */ + public Output externalKeyManagerIp() { + return this.externalKeyManagerIp; + } + + /** + * (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + * + */ + @Import(name="freeformTags") + private @Nullable Output> freeformTags; + + /** + * @return (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + * + */ + public Optional>> freeformTags() { + return Optional.ofNullable(this.freeformTags); + } + + /** + * The port of the external key manager system + * + */ + @Import(name="port") + private @Nullable Output port; + + /** + * @return The port of the external key manager system + * + */ + public Optional> port() { + return Optional.ofNullable(this.port); + } + + /** + * The OCID of subnet in which the EKMS private endpoint is to be 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 + * + */ + @Import(name="subnetId", required=true) + private Output subnetId; + + /** + * @return The OCID of subnet in which the EKMS private endpoint is to be 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 + * + */ + public Output subnetId() { + return this.subnetId; + } + + private EkmsPrivateEndpointArgs() {} + + private EkmsPrivateEndpointArgs(EkmsPrivateEndpointArgs $) { + this.caBundle = $.caBundle; + this.compartmentId = $.compartmentId; + this.definedTags = $.definedTags; + this.displayName = $.displayName; + this.externalKeyManagerIp = $.externalKeyManagerIp; + this.freeformTags = $.freeformTags; + this.port = $.port; + this.subnetId = $.subnetId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(EkmsPrivateEndpointArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private EkmsPrivateEndpointArgs $; + + public Builder() { + $ = new EkmsPrivateEndpointArgs(); + } + + public Builder(EkmsPrivateEndpointArgs defaults) { + $ = new EkmsPrivateEndpointArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param caBundle CABundle to validate TLS certificate of the external key manager system in PEM format + * + * @return builder + * + */ + public Builder caBundle(Output caBundle) { + $.caBundle = caBundle; + return this; + } + + /** + * @param caBundle CABundle to validate TLS certificate of the external key manager system in PEM format + * + * @return builder + * + */ + public Builder caBundle(String caBundle) { + return caBundle(Output.of(caBundle)); + } + + /** + * @param compartmentId Compartment identifier. + * + * @return builder + * + */ + public Builder compartmentId(Output compartmentId) { + $.compartmentId = compartmentId; + return this; + } + + /** + * @param compartmentId Compartment identifier. + * + * @return builder + * + */ + public Builder compartmentId(String compartmentId) { + return compartmentId(Output.of(compartmentId)); + } + + /** + * @param definedTags (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"foo-namespace.bar-key": "value"}` + * + * @return builder + * + */ + public Builder definedTags(@Nullable Output> definedTags) { + $.definedTags = definedTags; + return this; + } + + /** + * @param definedTags (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"foo-namespace.bar-key": "value"}` + * + * @return builder + * + */ + public Builder definedTags(Map definedTags) { + return definedTags(Output.of(definedTags)); + } + + /** + * @param displayName (Updatable) Display name of the EKMS private endpoint resource being created. + * + * @return builder + * + */ + public Builder displayName(Output displayName) { + $.displayName = displayName; + return this; + } + + /** + * @param displayName (Updatable) Display name of the EKMS private endpoint resource being created. + * + * @return builder + * + */ + public Builder displayName(String displayName) { + return displayName(Output.of(displayName)); + } + + /** + * @param externalKeyManagerIp External private IP to connect to from this EKMS private endpoint + * + * @return builder + * + */ + public Builder externalKeyManagerIp(Output externalKeyManagerIp) { + $.externalKeyManagerIp = externalKeyManagerIp; + return this; + } + + /** + * @param externalKeyManagerIp External private IP to connect to from this EKMS private endpoint + * + * @return builder + * + */ + public Builder externalKeyManagerIp(String externalKeyManagerIp) { + return externalKeyManagerIp(Output.of(externalKeyManagerIp)); + } + + /** + * @param freeformTags (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + * + * @return builder + * + */ + public Builder freeformTags(@Nullable Output> freeformTags) { + $.freeformTags = freeformTags; + return this; + } + + /** + * @param freeformTags (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + * + * @return builder + * + */ + public Builder freeformTags(Map freeformTags) { + return freeformTags(Output.of(freeformTags)); + } + + /** + * @param port The port of the external key manager system + * + * @return builder + * + */ + public Builder port(@Nullable Output port) { + $.port = port; + return this; + } + + /** + * @param port The port of the external key manager system + * + * @return builder + * + */ + public Builder port(Integer port) { + return port(Output.of(port)); + } + + /** + * @param subnetId The OCID of subnet in which the EKMS private endpoint is to be 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 + * + * @return builder + * + */ + public Builder subnetId(Output subnetId) { + $.subnetId = subnetId; + return this; + } + + /** + * @param subnetId The OCID of subnet in which the EKMS private endpoint is to be 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 + * + * @return builder + * + */ + public Builder subnetId(String subnetId) { + return subnetId(Output.of(subnetId)); + } + + public EkmsPrivateEndpointArgs build() { + $.caBundle = Objects.requireNonNull($.caBundle, "expected parameter 'caBundle' to be non-null"); + $.compartmentId = Objects.requireNonNull($.compartmentId, "expected parameter 'compartmentId' to be non-null"); + $.displayName = Objects.requireNonNull($.displayName, "expected parameter 'displayName' to be non-null"); + $.externalKeyManagerIp = Objects.requireNonNull($.externalKeyManagerIp, "expected parameter 'externalKeyManagerIp' to be non-null"); + $.subnetId = Objects.requireNonNull($.subnetId, "expected parameter 'subnetId' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/EncryptedData.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/EncryptedData.java index 62abea3f1e..1abe5ea583 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Kms/EncryptedData.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/EncryptedData.java @@ -108,14 +108,14 @@ public Output cryptoEndpoint() { return this.cryptoEndpoint; } /** - * The encryption algorithm to use to encrypt and decrypt data with a customer-managed key. `AES_256_GCM` indicates that the key is a symmetric key that uses the Advanced Encryption Standard (AES) algorithm and that the mode of encryption is the Galois/Counter Mode (GCM). `RSA_OAEP_SHA_1` indicates that the key is an asymmetric key that uses the RSA encryption algorithm and uses Optimal Asymmetric Encryption Padding (OAEP). `RSA_OAEP_SHA_256` indicates that the key is an asymmetric key that uses the RSA encryption algorithm with a SHA-256 hash and uses OAEP. + * The encryption algorithm to use to encrypt and decrypt data with a customer-managed key. `AES_256_GCM` indicates that the key is a symmetric key that uses the Advanced Encryption Standard (AES) algorithm and that the mode of encryption is the Galois/Counter Mode (GCM). `RSA_OAEP_SHA_1` indicates that the key is an asymmetric key that uses the RSA encryption algorithm and uses Optimal Asymmetric Encryption Padding (OAEP). `RSA_OAEP_SHA_256` indicates that the key is an asymmetric key that uses the RSA encryption algorithm with a SHA-256 hash and uses OAEP. * */ @Export(name="encryptionAlgorithm", refs={String.class}, tree="[0]") private Output encryptionAlgorithm; /** - * @return The encryption algorithm to use to encrypt and decrypt data with a customer-managed key. `AES_256_GCM` indicates that the key is a symmetric key that uses the Advanced Encryption Standard (AES) algorithm and that the mode of encryption is the Galois/Counter Mode (GCM). `RSA_OAEP_SHA_1` indicates that the key is an asymmetric key that uses the RSA encryption algorithm and uses Optimal Asymmetric Encryption Padding (OAEP). `RSA_OAEP_SHA_256` indicates that the key is an asymmetric key that uses the RSA encryption algorithm with a SHA-256 hash and uses OAEP. + * @return The encryption algorithm to use to encrypt and decrypt data with a customer-managed key. `AES_256_GCM` indicates that the key is a symmetric key that uses the Advanced Encryption Standard (AES) algorithm and that the mode of encryption is the Galois/Counter Mode (GCM). `RSA_OAEP_SHA_1` indicates that the key is an asymmetric key that uses the RSA encryption algorithm and uses Optimal Asymmetric Encryption Padding (OAEP). `RSA_OAEP_SHA_256` indicates that the key is an asymmetric key that uses the RSA encryption algorithm with a SHA-256 hash and uses OAEP. * */ public Output encryptionAlgorithm() { diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/EncryptedDataArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/EncryptedDataArgs.java index 4a64611531..d735090f02 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Kms/EncryptedDataArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/EncryptedDataArgs.java @@ -48,14 +48,14 @@ public Output cryptoEndpoint() { } /** - * The encryption algorithm to use to encrypt and decrypt data with a customer-managed key. `AES_256_GCM` indicates that the key is a symmetric key that uses the Advanced Encryption Standard (AES) algorithm and that the mode of encryption is the Galois/Counter Mode (GCM). `RSA_OAEP_SHA_1` indicates that the key is an asymmetric key that uses the RSA encryption algorithm and uses Optimal Asymmetric Encryption Padding (OAEP). `RSA_OAEP_SHA_256` indicates that the key is an asymmetric key that uses the RSA encryption algorithm with a SHA-256 hash and uses OAEP. + * The encryption algorithm to use to encrypt and decrypt data with a customer-managed key. `AES_256_GCM` indicates that the key is a symmetric key that uses the Advanced Encryption Standard (AES) algorithm and that the mode of encryption is the Galois/Counter Mode (GCM). `RSA_OAEP_SHA_1` indicates that the key is an asymmetric key that uses the RSA encryption algorithm and uses Optimal Asymmetric Encryption Padding (OAEP). `RSA_OAEP_SHA_256` indicates that the key is an asymmetric key that uses the RSA encryption algorithm with a SHA-256 hash and uses OAEP. * */ @Import(name="encryptionAlgorithm") private @Nullable Output encryptionAlgorithm; /** - * @return The encryption algorithm to use to encrypt and decrypt data with a customer-managed key. `AES_256_GCM` indicates that the key is a symmetric key that uses the Advanced Encryption Standard (AES) algorithm and that the mode of encryption is the Galois/Counter Mode (GCM). `RSA_OAEP_SHA_1` indicates that the key is an asymmetric key that uses the RSA encryption algorithm and uses Optimal Asymmetric Encryption Padding (OAEP). `RSA_OAEP_SHA_256` indicates that the key is an asymmetric key that uses the RSA encryption algorithm with a SHA-256 hash and uses OAEP. + * @return The encryption algorithm to use to encrypt and decrypt data with a customer-managed key. `AES_256_GCM` indicates that the key is a symmetric key that uses the Advanced Encryption Standard (AES) algorithm and that the mode of encryption is the Galois/Counter Mode (GCM). `RSA_OAEP_SHA_1` indicates that the key is an asymmetric key that uses the RSA encryption algorithm and uses Optimal Asymmetric Encryption Padding (OAEP). `RSA_OAEP_SHA_256` indicates that the key is an asymmetric key that uses the RSA encryption algorithm with a SHA-256 hash and uses OAEP. * */ public Optional> encryptionAlgorithm() { @@ -201,7 +201,7 @@ public Builder cryptoEndpoint(String cryptoEndpoint) { } /** - * @param encryptionAlgorithm The encryption algorithm to use to encrypt and decrypt data with a customer-managed key. `AES_256_GCM` indicates that the key is a symmetric key that uses the Advanced Encryption Standard (AES) algorithm and that the mode of encryption is the Galois/Counter Mode (GCM). `RSA_OAEP_SHA_1` indicates that the key is an asymmetric key that uses the RSA encryption algorithm and uses Optimal Asymmetric Encryption Padding (OAEP). `RSA_OAEP_SHA_256` indicates that the key is an asymmetric key that uses the RSA encryption algorithm with a SHA-256 hash and uses OAEP. + * @param encryptionAlgorithm The encryption algorithm to use to encrypt and decrypt data with a customer-managed key. `AES_256_GCM` indicates that the key is a symmetric key that uses the Advanced Encryption Standard (AES) algorithm and that the mode of encryption is the Galois/Counter Mode (GCM). `RSA_OAEP_SHA_1` indicates that the key is an asymmetric key that uses the RSA encryption algorithm and uses Optimal Asymmetric Encryption Padding (OAEP). `RSA_OAEP_SHA_256` indicates that the key is an asymmetric key that uses the RSA encryption algorithm with a SHA-256 hash and uses OAEP. * * @return builder * @@ -212,7 +212,7 @@ public Builder encryptionAlgorithm(@Nullable Output encryptionAlgorithm) } /** - * @param encryptionAlgorithm The encryption algorithm to use to encrypt and decrypt data with a customer-managed key. `AES_256_GCM` indicates that the key is a symmetric key that uses the Advanced Encryption Standard (AES) algorithm and that the mode of encryption is the Galois/Counter Mode (GCM). `RSA_OAEP_SHA_1` indicates that the key is an asymmetric key that uses the RSA encryption algorithm and uses Optimal Asymmetric Encryption Padding (OAEP). `RSA_OAEP_SHA_256` indicates that the key is an asymmetric key that uses the RSA encryption algorithm with a SHA-256 hash and uses OAEP. + * @param encryptionAlgorithm The encryption algorithm to use to encrypt and decrypt data with a customer-managed key. `AES_256_GCM` indicates that the key is a symmetric key that uses the Advanced Encryption Standard (AES) algorithm and that the mode of encryption is the Galois/Counter Mode (GCM). `RSA_OAEP_SHA_1` indicates that the key is an asymmetric key that uses the RSA encryption algorithm and uses Optimal Asymmetric Encryption Padding (OAEP). `RSA_OAEP_SHA_256` indicates that the key is an asymmetric key that uses the RSA encryption algorithm with a SHA-256 hash and uses OAEP. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/Key.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/Key.java index 35ee047dd5..5619d9f331 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Kms/Key.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/Key.java @@ -9,6 +9,8 @@ import com.pulumi.core.internal.Codegen; import com.pulumi.oci.Kms.KeyArgs; import com.pulumi.oci.Kms.inputs.KeyState; +import com.pulumi.oci.Kms.outputs.KeyExternalKeyReference; +import com.pulumi.oci.Kms.outputs.KeyExternalKeyReferenceDetail; import com.pulumi.oci.Kms.outputs.KeyKeyShape; import com.pulumi.oci.Kms.outputs.KeyReplicaDetail; import com.pulumi.oci.Kms.outputs.KeyRestoreFromFile; @@ -32,47 +34,6 @@ * to reject an otherwise valid request when the total rate of management write operations exceeds 10 * requests per second for a given tenancy. * - * ## Example Usage - * ```java - * package generated_program; - * - * import com.pulumi.Context; - * import com.pulumi.Pulumi; - * import com.pulumi.core.Output; - * import com.pulumi.oci.Kms.Key; - * import com.pulumi.oci.Kms.KeyArgs; - * import com.pulumi.oci.Kms.inputs.KeyKeyShapeArgs; - * 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 testKey = new Key("testKey", KeyArgs.builder() - * .compartmentId(var_.compartment_id()) - * .displayName(var_.key_display_name()) - * .keyShape(KeyKeyShapeArgs.builder() - * .algorithm(var_.key_key_shape_algorithm()) - * .length(var_.key_key_shape_length()) - * .curveId(oci_kms_curve.test_curve().id()) - * .build()) - * .managementEndpoint(var_.key_management_endpoint()) - * .definedTags(Map.of("Operations.CostCenter", "42")) - * .freeformTags(Map.of("Department", "Finance")) - * .protectionMode(var_.key_protection_mode()) - * .build()); - * - * } - * } - * ``` - * * ## Import * * Keys can be imported using the `id`, e.g. @@ -154,6 +115,34 @@ public Output desiredState() { public Output displayName() { return this.displayName; } + /** + * A reference to the key on external key manager. + * + */ + @Export(name="externalKeyReference", refs={KeyExternalKeyReference.class}, tree="[0]") + private Output externalKeyReference; + + /** + * @return A reference to the key on external key manager. + * + */ + public Output externalKeyReference() { + return this.externalKeyReference; + } + /** + * Key reference data to be returned to the customer as a response. + * + */ + @Export(name="externalKeyReferenceDetails", refs={List.class,KeyExternalKeyReferenceDetail.class}, tree="[0,1]") + private Output> externalKeyReferenceDetails; + + /** + * @return Key reference data to be returned to the customer as a response. + * + */ + public Output> externalKeyReferenceDetails() { + return this.externalKeyReferenceDetails; + } /** * (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` * @@ -169,14 +158,14 @@ public Output> freeformTags() { return this.freeformTags; } /** - * A boolean that will be true when key is primary, and will be false when key is a replica from a primary key. + * A Boolean value that indicates whether the Key belongs to primary Vault or replica vault. * */ @Export(name="isPrimary", refs={Boolean.class}, tree="[0]") private Output isPrimary; /** - * @return A boolean that will be true when key is primary, and will be false when key is a replica from a primary key. + * @return A Boolean value that indicates whether the Key belongs to primary Vault or replica vault. * */ public Output isPrimary() { @@ -211,14 +200,14 @@ public Output managementEndpoint() { return this.managementEndpoint; } /** - * The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. + * The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager. * */ @Export(name="protectionMode", refs={String.class}, tree="[0]") private Output protectionMode; /** - * @return The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. + * @return The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager. * */ public Output protectionMode() { diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/KeyArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/KeyArgs.java index 8e7c1b15b6..d60309147b 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Kms/KeyArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/KeyArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.oci.Kms.inputs.KeyExternalKeyReferenceArgs; import com.pulumi.oci.Kms.inputs.KeyKeyShapeArgs; import com.pulumi.oci.Kms.inputs.KeyRestoreFromFileArgs; import com.pulumi.oci.Kms.inputs.KeyRestoreFromObjectStoreArgs; @@ -81,6 +82,21 @@ public Output displayName() { return this.displayName; } + /** + * A reference to the key on external key manager. + * + */ + @Import(name="externalKeyReference") + private @Nullable Output externalKeyReference; + + /** + * @return A reference to the key on external key manager. + * + */ + public Optional> externalKeyReference() { + return Optional.ofNullable(this.externalKeyReference); + } + /** * (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` * @@ -127,14 +143,14 @@ public Output managementEndpoint() { } /** - * The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. + * The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager. * */ @Import(name="protectionMode") private @Nullable Output protectionMode; /** - * @return The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. + * @return The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager. * */ public Optional> protectionMode() { @@ -214,6 +230,7 @@ private KeyArgs(KeyArgs $) { this.definedTags = $.definedTags; this.desiredState = $.desiredState; this.displayName = $.displayName; + this.externalKeyReference = $.externalKeyReference; this.freeformTags = $.freeformTags; this.keyShape = $.keyShape; this.managementEndpoint = $.managementEndpoint; @@ -326,6 +343,27 @@ public Builder displayName(String displayName) { return displayName(Output.of(displayName)); } + /** + * @param externalKeyReference A reference to the key on external key manager. + * + * @return builder + * + */ + public Builder externalKeyReference(@Nullable Output externalKeyReference) { + $.externalKeyReference = externalKeyReference; + return this; + } + + /** + * @param externalKeyReference A reference to the key on external key manager. + * + * @return builder + * + */ + public Builder externalKeyReference(KeyExternalKeyReferenceArgs externalKeyReference) { + return externalKeyReference(Output.of(externalKeyReference)); + } + /** * @param freeformTags (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` * @@ -390,7 +428,7 @@ public Builder managementEndpoint(String managementEndpoint) { } /** - * @param protectionMode The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. + * @param protectionMode The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager. * * @return builder * @@ -401,7 +439,7 @@ public Builder protectionMode(@Nullable Output protectionMode) { } /** - * @param protectionMode The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. + * @param protectionMode The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/KeyVersion.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/KeyVersion.java index f56045c254..269a74fc07 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Kms/KeyVersion.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/KeyVersion.java @@ -9,6 +9,7 @@ import com.pulumi.core.internal.Codegen; import com.pulumi.oci.Kms.KeyVersionArgs; import com.pulumi.oci.Kms.inputs.KeyVersionState; +import com.pulumi.oci.Kms.outputs.KeyVersionExternalKeyReferenceDetail; import com.pulumi.oci.Kms.outputs.KeyVersionReplicaDetail; import com.pulumi.oci.Utilities; import java.lang.Boolean; @@ -27,37 +28,6 @@ * otherwise valid request when the total rate of management write operations exceeds 10 requests per second * for a given tenancy. * - * ## Example Usage - * ```java - * package generated_program; - * - * import com.pulumi.Context; - * import com.pulumi.Pulumi; - * import com.pulumi.core.Output; - * import com.pulumi.oci.Kms.KeyVersion; - * import com.pulumi.oci.Kms.KeyVersionArgs; - * 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 testKeyVersion = new KeyVersion("testKeyVersion", KeyVersionArgs.builder() - * .keyId(oci_kms_key.test_key().id()) - * .managementEndpoint(var_.key_version_management_endpoint()) - * .build()); - * - * } - * } - * ``` - * * ## Import * * KeyVersions can be imported using the `id`, e.g. @@ -84,14 +54,42 @@ public Output compartmentId() { return this.compartmentId; } /** - * A boolean that will be true when key version is primary, and will be false when key version is a replica from a primary key version. + * Key reference data to be returned to the customer as a response. + * + */ + @Export(name="externalKeyReferenceDetails", refs={List.class,KeyVersionExternalKeyReferenceDetail.class}, tree="[0,1]") + private Output> externalKeyReferenceDetails; + + /** + * @return Key reference data to be returned to the customer as a response. + * + */ + public Output> externalKeyReferenceDetails() { + return this.externalKeyReferenceDetails; + } + /** + * Key version ID associated with the external key. + * + */ + @Export(name="externalKeyVersionId", refs={String.class}, tree="[0]") + private Output externalKeyVersionId; + + /** + * @return Key version ID associated with the external key. + * + */ + public Output externalKeyVersionId() { + return this.externalKeyVersionId; + } + /** + * A Boolean value that indicates whether the KeyVersion belongs to primary Vault or replica Vault. * */ @Export(name="isPrimary", refs={Boolean.class}, tree="[0]") private Output isPrimary; /** - * @return A boolean that will be true when key version is primary, and will be false when key version is a replica from a primary key version. + * @return A Boolean value that indicates whether the KeyVersion belongs to primary Vault or replica Vault. * */ public Output isPrimary() { diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/KeyVersionArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/KeyVersionArgs.java index 177c9b9c04..afffad8ac8 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Kms/KeyVersionArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/KeyVersionArgs.java @@ -15,6 +15,21 @@ public final class KeyVersionArgs extends com.pulumi.resources.ResourceArgs { public static final KeyVersionArgs Empty = new KeyVersionArgs(); + /** + * Key version ID associated with the external key. + * + */ + @Import(name="externalKeyVersionId") + private @Nullable Output externalKeyVersionId; + + /** + * @return Key version ID associated with the external key. + * + */ + public Optional> externalKeyVersionId() { + return Optional.ofNullable(this.externalKeyVersionId); + } + /** * The OCID of the key. * @@ -69,6 +84,7 @@ public Optional> timeOfDeletion() { private KeyVersionArgs() {} private KeyVersionArgs(KeyVersionArgs $) { + this.externalKeyVersionId = $.externalKeyVersionId; this.keyId = $.keyId; this.managementEndpoint = $.managementEndpoint; this.timeOfDeletion = $.timeOfDeletion; @@ -92,6 +108,27 @@ public Builder(KeyVersionArgs defaults) { $ = new KeyVersionArgs(Objects.requireNonNull(defaults)); } + /** + * @param externalKeyVersionId Key version ID associated with the external key. + * + * @return builder + * + */ + public Builder externalKeyVersionId(@Nullable Output externalKeyVersionId) { + $.externalKeyVersionId = externalKeyVersionId; + return this; + } + + /** + * @param externalKeyVersionId Key version ID associated with the external key. + * + * @return builder + * + */ + public Builder externalKeyVersionId(String externalKeyVersionId) { + return externalKeyVersionId(Output.of(externalKeyVersionId)); + } + /** * @param keyId The OCID of the key. * diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/KmsFunctions.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/KmsFunctions.java index 9b8a805c3c..9e672f372e 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Kms/KmsFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/KmsFunctions.java @@ -9,6 +9,10 @@ import com.pulumi.deployment.InvokeOptions; import com.pulumi.oci.Kms.inputs.GetDecryptedDataArgs; import com.pulumi.oci.Kms.inputs.GetDecryptedDataPlainArgs; +import com.pulumi.oci.Kms.inputs.GetEkmsPrivateEndpointArgs; +import com.pulumi.oci.Kms.inputs.GetEkmsPrivateEndpointPlainArgs; +import com.pulumi.oci.Kms.inputs.GetEkmsPrivateEndpointsArgs; +import com.pulumi.oci.Kms.inputs.GetEkmsPrivateEndpointsPlainArgs; import com.pulumi.oci.Kms.inputs.GetEncryptedDataArgs; import com.pulumi.oci.Kms.inputs.GetEncryptedDataPlainArgs; import com.pulumi.oci.Kms.inputs.GetKeyArgs; @@ -30,6 +34,8 @@ import com.pulumi.oci.Kms.inputs.GetVaultsArgs; import com.pulumi.oci.Kms.inputs.GetVaultsPlainArgs; import com.pulumi.oci.Kms.outputs.GetDecryptedDataResult; +import com.pulumi.oci.Kms.outputs.GetEkmsPrivateEndpointResult; +import com.pulumi.oci.Kms.outputs.GetEkmsPrivateEndpointsResult; import com.pulumi.oci.Kms.outputs.GetEncryptedDataResult; import com.pulumi.oci.Kms.outputs.GetKeyResult; import com.pulumi.oci.Kms.outputs.GetKeyVersionResult; @@ -212,6 +218,318 @@ public static Output getDecryptedData(GetDecryptedDataAr public static CompletableFuture getDecryptedDataPlain(GetDecryptedDataPlainArgs args, InvokeOptions options) { return Deployment.getInstance().invokeAsync("oci:Kms/getDecryptedData:getDecryptedData", TypeShape.of(GetDecryptedDataResult.class), args, Utilities.withVersion(options)); } + /** + * This data source provides details about a specific Ekms Private Endpoint resource in Oracle Cloud Infrastructure Kms service. + * + * Gets a specific EKMS private by identifier. + * + * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.oci.Kms.KmsFunctions; + * import com.pulumi.oci.Kms.inputs.GetEkmsPrivateEndpointArgs; + * 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) { + * final var testEkmsPrivateEndpoint = KmsFunctions.getEkmsPrivateEndpoint(GetEkmsPrivateEndpointArgs.builder() + * .ekmsPrivateEndpointId(oci_kms_ekms_private_endpoint.test_ekms_private_endpoint().id()) + * .build()); + * + * } + * } + * ``` + * + */ + public static Output getEkmsPrivateEndpoint(GetEkmsPrivateEndpointArgs args) { + return getEkmsPrivateEndpoint(args, InvokeOptions.Empty); + } + /** + * This data source provides details about a specific Ekms Private Endpoint resource in Oracle Cloud Infrastructure Kms service. + * + * Gets a specific EKMS private by identifier. + * + * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.oci.Kms.KmsFunctions; + * import com.pulumi.oci.Kms.inputs.GetEkmsPrivateEndpointArgs; + * 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) { + * final var testEkmsPrivateEndpoint = KmsFunctions.getEkmsPrivateEndpoint(GetEkmsPrivateEndpointArgs.builder() + * .ekmsPrivateEndpointId(oci_kms_ekms_private_endpoint.test_ekms_private_endpoint().id()) + * .build()); + * + * } + * } + * ``` + * + */ + public static CompletableFuture getEkmsPrivateEndpointPlain(GetEkmsPrivateEndpointPlainArgs args) { + return getEkmsPrivateEndpointPlain(args, InvokeOptions.Empty); + } + /** + * This data source provides details about a specific Ekms Private Endpoint resource in Oracle Cloud Infrastructure Kms service. + * + * Gets a specific EKMS private by identifier. + * + * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.oci.Kms.KmsFunctions; + * import com.pulumi.oci.Kms.inputs.GetEkmsPrivateEndpointArgs; + * 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) { + * final var testEkmsPrivateEndpoint = KmsFunctions.getEkmsPrivateEndpoint(GetEkmsPrivateEndpointArgs.builder() + * .ekmsPrivateEndpointId(oci_kms_ekms_private_endpoint.test_ekms_private_endpoint().id()) + * .build()); + * + * } + * } + * ``` + * + */ + public static Output getEkmsPrivateEndpoint(GetEkmsPrivateEndpointArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:Kms/getEkmsPrivateEndpoint:getEkmsPrivateEndpoint", TypeShape.of(GetEkmsPrivateEndpointResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides details about a specific Ekms Private Endpoint resource in Oracle Cloud Infrastructure Kms service. + * + * Gets a specific EKMS private by identifier. + * + * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.oci.Kms.KmsFunctions; + * import com.pulumi.oci.Kms.inputs.GetEkmsPrivateEndpointArgs; + * 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) { + * final var testEkmsPrivateEndpoint = KmsFunctions.getEkmsPrivateEndpoint(GetEkmsPrivateEndpointArgs.builder() + * .ekmsPrivateEndpointId(oci_kms_ekms_private_endpoint.test_ekms_private_endpoint().id()) + * .build()); + * + * } + * } + * ``` + * + */ + public static CompletableFuture getEkmsPrivateEndpointPlain(GetEkmsPrivateEndpointPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:Kms/getEkmsPrivateEndpoint:getEkmsPrivateEndpoint", TypeShape.of(GetEkmsPrivateEndpointResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Ekms Private Endpoints in Oracle Cloud Infrastructure Kms service. + * + * Returns a list of all the EKMS private endpoints in the specified compartment. + * + * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.oci.Kms.KmsFunctions; + * import com.pulumi.oci.Kms.inputs.GetEkmsPrivateEndpointsArgs; + * 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) { + * final var testEkmsPrivateEndpoints = KmsFunctions.getEkmsPrivateEndpoints(GetEkmsPrivateEndpointsArgs.builder() + * .compartmentId(var_.compartment_id()) + * .build()); + * + * } + * } + * ``` + * + */ + public static Output getEkmsPrivateEndpoints(GetEkmsPrivateEndpointsArgs args) { + return getEkmsPrivateEndpoints(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Ekms Private Endpoints in Oracle Cloud Infrastructure Kms service. + * + * Returns a list of all the EKMS private endpoints in the specified compartment. + * + * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.oci.Kms.KmsFunctions; + * import com.pulumi.oci.Kms.inputs.GetEkmsPrivateEndpointsArgs; + * 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) { + * final var testEkmsPrivateEndpoints = KmsFunctions.getEkmsPrivateEndpoints(GetEkmsPrivateEndpointsArgs.builder() + * .compartmentId(var_.compartment_id()) + * .build()); + * + * } + * } + * ``` + * + */ + public static CompletableFuture getEkmsPrivateEndpointsPlain(GetEkmsPrivateEndpointsPlainArgs args) { + return getEkmsPrivateEndpointsPlain(args, InvokeOptions.Empty); + } + /** + * This data source provides the list of Ekms Private Endpoints in Oracle Cloud Infrastructure Kms service. + * + * Returns a list of all the EKMS private endpoints in the specified compartment. + * + * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.oci.Kms.KmsFunctions; + * import com.pulumi.oci.Kms.inputs.GetEkmsPrivateEndpointsArgs; + * 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) { + * final var testEkmsPrivateEndpoints = KmsFunctions.getEkmsPrivateEndpoints(GetEkmsPrivateEndpointsArgs.builder() + * .compartmentId(var_.compartment_id()) + * .build()); + * + * } + * } + * ``` + * + */ + public static Output getEkmsPrivateEndpoints(GetEkmsPrivateEndpointsArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("oci:Kms/getEkmsPrivateEndpoints:getEkmsPrivateEndpoints", TypeShape.of(GetEkmsPrivateEndpointsResult.class), args, Utilities.withVersion(options)); + } + /** + * This data source provides the list of Ekms Private Endpoints in Oracle Cloud Infrastructure Kms service. + * + * Returns a list of all the EKMS private endpoints in the specified compartment. + * + * ## Example Usage + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.oci.Kms.KmsFunctions; + * import com.pulumi.oci.Kms.inputs.GetEkmsPrivateEndpointsArgs; + * 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) { + * final var testEkmsPrivateEndpoints = KmsFunctions.getEkmsPrivateEndpoints(GetEkmsPrivateEndpointsArgs.builder() + * .compartmentId(var_.compartment_id()) + * .build()); + * + * } + * } + * ``` + * + */ + public static CompletableFuture getEkmsPrivateEndpointsPlain(GetEkmsPrivateEndpointsPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("oci:Kms/getEkmsPrivateEndpoints:getEkmsPrivateEndpoints", TypeShape.of(GetEkmsPrivateEndpointsResult.class), args, Utilities.withVersion(options)); + } /** * The `oci.Kms.EncryptedData` data source provides details about a specific EncryptedData * diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/Sign.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/Sign.java index a8ea5c4924..0ff7fa1e4a 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Kms/Sign.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/Sign.java @@ -19,6 +19,7 @@ * Creates a digital signature for a message or message digest by using the private key of a public-private key pair, * also known as an asymmetric key. To verify the generated signature, you can use the [Verify](https://docs.cloud.oracle.com/iaas/api/#/en/key/latest/VerifiedData/Verify) * operation. Or, if you want to validate the signature outside of the service, you can do so by using the public key of the same asymmetric key. + * This operation is not supported for keys having protection mode `EXTERNAL`. * * ## Example Usage * ```java @@ -123,14 +124,14 @@ public Output message() { return this.message; } /** - * Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. + * Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. * */ @Export(name="messageType", refs={String.class}, tree="[0]") private Output messageType; /** - * @return Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. + * @return Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. * */ public Output messageType() { @@ -151,7 +152,7 @@ public Output signature() { return this.signature; } /** - * The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. + * The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. * * ** 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 @@ -161,7 +162,7 @@ public Output signature() { private Output signingAlgorithm; /** - * @return The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. + * @return The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. * * ** 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 diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/SignArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/SignArgs.java index c1ca5d62d9..84c3d5dd56 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Kms/SignArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/SignArgs.java @@ -76,14 +76,14 @@ public Output message() { } /** - * Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. + * Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. * */ @Import(name="messageType") private @Nullable Output messageType; /** - * @return Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. + * @return Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. * */ public Optional> messageType() { @@ -91,7 +91,7 @@ public Optional> messageType() { } /** - * The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. + * The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. * * ** 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 @@ -101,7 +101,7 @@ public Optional> messageType() { private Output signingAlgorithm; /** - * @return The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. + * @return The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. * * ** 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 @@ -225,7 +225,7 @@ public Builder message(String message) { } /** - * @param messageType Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. + * @param messageType Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. * * @return builder * @@ -236,7 +236,7 @@ public Builder messageType(@Nullable Output messageType) { } /** - * @param messageType Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. + * @param messageType Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. * * @return builder * @@ -246,7 +246,7 @@ public Builder messageType(String messageType) { } /** - * @param signingAlgorithm The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. + * @param signingAlgorithm The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. * * ** 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 @@ -260,7 +260,7 @@ public Builder signingAlgorithm(Output signingAlgorithm) { } /** - * @param signingAlgorithm The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. + * @param signingAlgorithm The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. * * ** 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 diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/Vault.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/Vault.java index 08a9af944f..23ac391c3d 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Kms/Vault.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/Vault.java @@ -9,6 +9,8 @@ import com.pulumi.core.internal.Codegen; import com.pulumi.oci.Kms.VaultArgs; import com.pulumi.oci.Kms.inputs.VaultState; +import com.pulumi.oci.Kms.outputs.VaultExternalKeyManagerMetadata; +import com.pulumi.oci.Kms.outputs.VaultExternalKeyManagerMetadataSummary; import com.pulumi.oci.Kms.outputs.VaultReplicaDetail; import com.pulumi.oci.Kms.outputs.VaultRestoreFromFile; import com.pulumi.oci.Kms.outputs.VaultRestoreFromObjectStore; @@ -43,6 +45,8 @@ * import com.pulumi.core.Output; * import com.pulumi.oci.Kms.Vault; * import com.pulumi.oci.Kms.VaultArgs; + * import com.pulumi.oci.Kms.inputs.VaultExternalKeyManagerMetadataArgs; + * import com.pulumi.oci.Kms.inputs.VaultExternalKeyManagerMetadataOauthMetadataArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -61,6 +65,15 @@ * .displayName(var_.vault_display_name()) * .vaultType(var_.vault_vault_type()) * .definedTags(Map.of("Operations.CostCenter", "42")) + * .externalKeyManagerMetadata(VaultExternalKeyManagerMetadataArgs.builder() + * .externalVaultEndpointUrl(var_.vault_external_key_manager_metadata_external_vault_endpoint_url()) + * .oauthMetadata(VaultExternalKeyManagerMetadataOauthMetadataArgs.builder() + * .clientAppId(oci_kms_client_app.test_client_app().id()) + * .clientAppSecret(var_.vault_external_key_manager_metadata_oauth_metadata_client_app_secret()) + * .idcsAccountNameUrl(var_.vault_external_key_manager_metadata_oauth_metadata_idcs_account_name_url()) + * .build()) + * .privateEndpointId(oci_dataflow_private_endpoint.test_private_endpoint().id()) + * .build()) * .freeformTags(Map.of("Department", "Finance")) * .build()); * @@ -135,6 +148,34 @@ public Output> definedTags() { public Output displayName() { return this.displayName; } + /** + * Metadata required for accessing External Key manager + * + */ + @Export(name="externalKeyManagerMetadata", refs={VaultExternalKeyManagerMetadata.class}, tree="[0]") + private Output externalKeyManagerMetadata; + + /** + * @return Metadata required for accessing External Key manager + * + */ + public Output externalKeyManagerMetadata() { + return this.externalKeyManagerMetadata; + } + /** + * Summary about metadata of external key manager to be returned to the customer as a response. + * + */ + @Export(name="externalKeyManagerMetadataSummaries", refs={List.class,VaultExternalKeyManagerMetadataSummary.class}, tree="[0,1]") + private Output> externalKeyManagerMetadataSummaries; + + /** + * @return Summary about metadata of external key manager to be returned to the customer as a response. + * + */ + public Output> externalKeyManagerMetadataSummaries() { + return this.externalKeyManagerMetadataSummaries; + } /** * (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` * @@ -150,14 +191,14 @@ public Output> freeformTags() { return this.freeformTags; } /** - * A boolean that will be true when vault is primary, and will be false when vault is a replica from a primary vault. + * A Boolean value that indicates whether the Vault is primary Vault or replica Vault. * */ @Export(name="isPrimary", refs={Boolean.class}, tree="[0]") private Output isPrimary; /** - * @return A boolean that will be true when vault is primary, and will be false when vault is a replica from a primary vault. + * @return A Boolean value that indicates whether the Vault is primary Vault or replica Vault. * */ public Output isPrimary() { @@ -226,14 +267,14 @@ public Output> restoreTrigger() { return Codegen.optional(this.restoreTrigger); } /** - * The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. + * The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. * */ @Export(name="restoredFromVaultId", refs={String.class}, tree="[0]") private Output restoredFromVaultId; /** - * @return The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. + * @return The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. * */ public Output restoredFromVaultId() { diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/VaultArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/VaultArgs.java index d09fd7ee1c..9b3c950d23 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Kms/VaultArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/VaultArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.oci.Kms.inputs.VaultExternalKeyManagerMetadataArgs; import com.pulumi.oci.Kms.inputs.VaultRestoreFromFileArgs; import com.pulumi.oci.Kms.inputs.VaultRestoreFromObjectStoreArgs; import java.lang.Boolean; @@ -65,6 +66,21 @@ public Output displayName() { return this.displayName; } + /** + * Metadata required for accessing External Key manager + * + */ + @Import(name="externalKeyManagerMetadata") + private @Nullable Output externalKeyManagerMetadata; + + /** + * @return Metadata required for accessing External Key manager + * + */ + public Optional> externalKeyManagerMetadata() { + return Optional.ofNullable(this.externalKeyManagerMetadata); + } + /** * (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` * @@ -159,6 +175,7 @@ private VaultArgs(VaultArgs $) { this.compartmentId = $.compartmentId; this.definedTags = $.definedTags; this.displayName = $.displayName; + this.externalKeyManagerMetadata = $.externalKeyManagerMetadata; this.freeformTags = $.freeformTags; this.restoreFromFile = $.restoreFromFile; this.restoreFromObjectStore = $.restoreFromObjectStore; @@ -248,6 +265,27 @@ public Builder displayName(String displayName) { return displayName(Output.of(displayName)); } + /** + * @param externalKeyManagerMetadata Metadata required for accessing External Key manager + * + * @return builder + * + */ + public Builder externalKeyManagerMetadata(@Nullable Output externalKeyManagerMetadata) { + $.externalKeyManagerMetadata = externalKeyManagerMetadata; + return this; + } + + /** + * @param externalKeyManagerMetadata Metadata required for accessing External Key manager + * + * @return builder + * + */ + public Builder externalKeyManagerMetadata(VaultExternalKeyManagerMetadataArgs externalKeyManagerMetadata) { + return externalKeyManagerMetadata(Output.of(externalKeyManagerMetadata)); + } + /** * @param freeformTags (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` * diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/Verify.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/Verify.java index 36e9bf221c..3bcea30c6e 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Kms/Verify.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/Verify.java @@ -18,8 +18,9 @@ * This resource provides the Verify resource in Oracle Cloud Infrastructure Kms service. * * Verifies a digital signature that was generated by the [Sign](https://docs.cloud.oracle.com/iaas/api/#/en/key/latest/SignedData/Sign) operation - * by using the public key of the same asymmetric key that was used to sign the data. If you want to validate the\ + * by using the public key of the same asymmetric key that was used to sign the data. If you want to validate the * digital signature outside of the service, you can do so by using the public key of the asymmetric key. + * This operation is not supported for keys having protection mode `EXTERNAL`. * * ## Example Usage * ```java @@ -139,14 +140,14 @@ public Output message() { return this.message; } /** - * Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. + * Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. * */ @Export(name="messageType", refs={String.class}, tree="[0]") private Output messageType; /** - * @return Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. + * @return Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. * */ public Output messageType() { @@ -167,7 +168,7 @@ public Output signature() { return this.signature; } /** - * The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. + * The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. * * ** 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 @@ -177,7 +178,7 @@ public Output signature() { private Output signingAlgorithm; /** - * @return The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. + * @return The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. * * ** 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 diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/VerifyArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/VerifyArgs.java index 0ee76d7105..7d2b726a5b 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Kms/VerifyArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/VerifyArgs.java @@ -76,14 +76,14 @@ public Output message() { } /** - * Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. + * Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. * */ @Import(name="messageType") private @Nullable Output messageType; /** - * @return Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. + * @return Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. * */ public Optional> messageType() { @@ -106,7 +106,7 @@ public Output signature() { } /** - * The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. + * The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. * * ** 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 @@ -116,7 +116,7 @@ public Output signature() { private Output signingAlgorithm; /** - * @return The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. + * @return The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. * * ** 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 @@ -241,7 +241,7 @@ public Builder message(String message) { } /** - * @param messageType Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. + * @param messageType Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. * * @return builder * @@ -252,7 +252,7 @@ public Builder messageType(@Nullable Output messageType) { } /** - * @param messageType Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. + * @param messageType Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. * * @return builder * @@ -283,7 +283,7 @@ public Builder signature(String signature) { } /** - * @param signingAlgorithm The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. + * @param signingAlgorithm The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. * * ** 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 @@ -297,7 +297,7 @@ public Builder signingAlgorithm(Output signingAlgorithm) { } /** - * @param signingAlgorithm The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. + * @param signingAlgorithm The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. * * ** 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 diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/EkmsPrivateEndpointState.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/EkmsPrivateEndpointState.java new file mode 100644 index 0000000000..8807bc5910 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/EkmsPrivateEndpointState.java @@ -0,0 +1,542 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Kms.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.Integer; +import java.lang.Object; +import java.lang.String; +import java.util.Map; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class EkmsPrivateEndpointState extends com.pulumi.resources.ResourceArgs { + + public static final EkmsPrivateEndpointState Empty = new EkmsPrivateEndpointState(); + + /** + * CABundle to validate TLS certificate of the external key manager system in PEM format + * + */ + @Import(name="caBundle") + private @Nullable Output caBundle; + + /** + * @return CABundle to validate TLS certificate of the external key manager system in PEM format + * + */ + public Optional> caBundle() { + return Optional.ofNullable(this.caBundle); + } + + /** + * Compartment identifier. + * + */ + @Import(name="compartmentId") + private @Nullable Output compartmentId; + + /** + * @return Compartment identifier. + * + */ + public Optional> compartmentId() { + return Optional.ofNullable(this.compartmentId); + } + + /** + * (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"foo-namespace.bar-key": "value"}` + * + */ + @Import(name="definedTags") + private @Nullable Output> definedTags; + + /** + * @return (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"foo-namespace.bar-key": "value"}` + * + */ + public Optional>> definedTags() { + return Optional.ofNullable(this.definedTags); + } + + /** + * (Updatable) Display name of the EKMS private endpoint resource being created. + * + */ + @Import(name="displayName") + private @Nullable Output displayName; + + /** + * @return (Updatable) Display name of the EKMS private endpoint resource being created. + * + */ + public Optional> displayName() { + return Optional.ofNullable(this.displayName); + } + + /** + * External private IP to connect to from this EKMS private endpoint + * + */ + @Import(name="externalKeyManagerIp") + private @Nullable Output externalKeyManagerIp; + + /** + * @return External private IP to connect to from this EKMS private endpoint + * + */ + public Optional> externalKeyManagerIp() { + return Optional.ofNullable(this.externalKeyManagerIp); + } + + /** + * (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + * + */ + @Import(name="freeformTags") + private @Nullable Output> freeformTags; + + /** + * @return (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + * + */ + public Optional>> freeformTags() { + return Optional.ofNullable(this.freeformTags); + } + + /** + * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state. + * + */ + @Import(name="lifecycleDetails") + private @Nullable Output lifecycleDetails; + + /** + * @return A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state. + * + */ + public Optional> lifecycleDetails() { + return Optional.ofNullable(this.lifecycleDetails); + } + + /** + * The port of the external key manager system + * + */ + @Import(name="port") + private @Nullable Output port; + + /** + * @return The port of the external key manager system + * + */ + public Optional> port() { + return Optional.ofNullable(this.port); + } + + /** + * The IP address in the customer's VCN for the EKMS private endpoint. This is taken from subnet + * + */ + @Import(name="privateEndpointIp") + private @Nullable Output privateEndpointIp; + + /** + * @return The IP address in the customer's VCN for the EKMS private endpoint. This is taken from subnet + * + */ + public Optional> privateEndpointIp() { + return Optional.ofNullable(this.privateEndpointIp); + } + + /** + * The current state of the EKMS private endpoint resource. + * + */ + @Import(name="state") + private @Nullable Output state; + + /** + * @return The current state of the EKMS private endpoint resource. + * + */ + public Optional> state() { + return Optional.ofNullable(this.state); + } + + /** + * The OCID of subnet in which the EKMS private endpoint is to be 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 + * + */ + @Import(name="subnetId") + private @Nullable Output subnetId; + + /** + * @return The OCID of subnet in which the EKMS private endpoint is to be 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 + * + */ + public Optional> subnetId() { + return Optional.ofNullable(this.subnetId); + } + + /** + * The time the EKMS private endpoint was created. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. + * + */ + @Import(name="timeCreated") + private @Nullable Output timeCreated; + + /** + * @return The time the EKMS private endpoint was created. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. + * + */ + public Optional> timeCreated() { + return Optional.ofNullable(this.timeCreated); + } + + /** + * The time the EKMS private endpoint was updated. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. + * + */ + @Import(name="timeUpdated") + private @Nullable Output timeUpdated; + + /** + * @return The time the EKMS private endpoint was updated. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. + * + */ + public Optional> timeUpdated() { + return Optional.ofNullable(this.timeUpdated); + } + + private EkmsPrivateEndpointState() {} + + private EkmsPrivateEndpointState(EkmsPrivateEndpointState $) { + this.caBundle = $.caBundle; + this.compartmentId = $.compartmentId; + this.definedTags = $.definedTags; + this.displayName = $.displayName; + this.externalKeyManagerIp = $.externalKeyManagerIp; + this.freeformTags = $.freeformTags; + this.lifecycleDetails = $.lifecycleDetails; + this.port = $.port; + this.privateEndpointIp = $.privateEndpointIp; + this.state = $.state; + this.subnetId = $.subnetId; + this.timeCreated = $.timeCreated; + this.timeUpdated = $.timeUpdated; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(EkmsPrivateEndpointState defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private EkmsPrivateEndpointState $; + + public Builder() { + $ = new EkmsPrivateEndpointState(); + } + + public Builder(EkmsPrivateEndpointState defaults) { + $ = new EkmsPrivateEndpointState(Objects.requireNonNull(defaults)); + } + + /** + * @param caBundle CABundle to validate TLS certificate of the external key manager system in PEM format + * + * @return builder + * + */ + public Builder caBundle(@Nullable Output caBundle) { + $.caBundle = caBundle; + return this; + } + + /** + * @param caBundle CABundle to validate TLS certificate of the external key manager system in PEM format + * + * @return builder + * + */ + public Builder caBundle(String caBundle) { + return caBundle(Output.of(caBundle)); + } + + /** + * @param compartmentId Compartment identifier. + * + * @return builder + * + */ + public Builder compartmentId(@Nullable Output compartmentId) { + $.compartmentId = compartmentId; + return this; + } + + /** + * @param compartmentId Compartment identifier. + * + * @return builder + * + */ + public Builder compartmentId(String compartmentId) { + return compartmentId(Output.of(compartmentId)); + } + + /** + * @param definedTags (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"foo-namespace.bar-key": "value"}` + * + * @return builder + * + */ + public Builder definedTags(@Nullable Output> definedTags) { + $.definedTags = definedTags; + return this; + } + + /** + * @param definedTags (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"foo-namespace.bar-key": "value"}` + * + * @return builder + * + */ + public Builder definedTags(Map definedTags) { + return definedTags(Output.of(definedTags)); + } + + /** + * @param displayName (Updatable) Display name of the EKMS private endpoint resource being created. + * + * @return builder + * + */ + public Builder displayName(@Nullable Output displayName) { + $.displayName = displayName; + return this; + } + + /** + * @param displayName (Updatable) Display name of the EKMS private endpoint resource being created. + * + * @return builder + * + */ + public Builder displayName(String displayName) { + return displayName(Output.of(displayName)); + } + + /** + * @param externalKeyManagerIp External private IP to connect to from this EKMS private endpoint + * + * @return builder + * + */ + public Builder externalKeyManagerIp(@Nullable Output externalKeyManagerIp) { + $.externalKeyManagerIp = externalKeyManagerIp; + return this; + } + + /** + * @param externalKeyManagerIp External private IP to connect to from this EKMS private endpoint + * + * @return builder + * + */ + public Builder externalKeyManagerIp(String externalKeyManagerIp) { + return externalKeyManagerIp(Output.of(externalKeyManagerIp)); + } + + /** + * @param freeformTags (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + * + * @return builder + * + */ + public Builder freeformTags(@Nullable Output> freeformTags) { + $.freeformTags = freeformTags; + return this; + } + + /** + * @param freeformTags (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + * + * @return builder + * + */ + public Builder freeformTags(Map freeformTags) { + return freeformTags(Output.of(freeformTags)); + } + + /** + * @param lifecycleDetails A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state. + * + * @return builder + * + */ + public Builder lifecycleDetails(@Nullable Output lifecycleDetails) { + $.lifecycleDetails = lifecycleDetails; + return this; + } + + /** + * @param lifecycleDetails A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state. + * + * @return builder + * + */ + public Builder lifecycleDetails(String lifecycleDetails) { + return lifecycleDetails(Output.of(lifecycleDetails)); + } + + /** + * @param port The port of the external key manager system + * + * @return builder + * + */ + public Builder port(@Nullable Output port) { + $.port = port; + return this; + } + + /** + * @param port The port of the external key manager system + * + * @return builder + * + */ + public Builder port(Integer port) { + return port(Output.of(port)); + } + + /** + * @param privateEndpointIp The IP address in the customer's VCN for the EKMS private endpoint. This is taken from subnet + * + * @return builder + * + */ + public Builder privateEndpointIp(@Nullable Output privateEndpointIp) { + $.privateEndpointIp = privateEndpointIp; + return this; + } + + /** + * @param privateEndpointIp The IP address in the customer's VCN for the EKMS private endpoint. This is taken from subnet + * + * @return builder + * + */ + public Builder privateEndpointIp(String privateEndpointIp) { + return privateEndpointIp(Output.of(privateEndpointIp)); + } + + /** + * @param state The current state of the EKMS private endpoint resource. + * + * @return builder + * + */ + public Builder state(@Nullable Output state) { + $.state = state; + return this; + } + + /** + * @param state The current state of the EKMS private endpoint resource. + * + * @return builder + * + */ + public Builder state(String state) { + return state(Output.of(state)); + } + + /** + * @param subnetId The OCID of subnet in which the EKMS private endpoint is to be 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 + * + * @return builder + * + */ + public Builder subnetId(@Nullable Output subnetId) { + $.subnetId = subnetId; + return this; + } + + /** + * @param subnetId The OCID of subnet in which the EKMS private endpoint is to be 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 + * + * @return builder + * + */ + public Builder subnetId(String subnetId) { + return subnetId(Output.of(subnetId)); + } + + /** + * @param timeCreated The time the EKMS private endpoint was created. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. + * + * @return builder + * + */ + public Builder timeCreated(@Nullable Output timeCreated) { + $.timeCreated = timeCreated; + return this; + } + + /** + * @param timeCreated The time the EKMS private endpoint was created. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. + * + * @return builder + * + */ + public Builder timeCreated(String timeCreated) { + return timeCreated(Output.of(timeCreated)); + } + + /** + * @param timeUpdated The time the EKMS private endpoint was updated. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. + * + * @return builder + * + */ + public Builder timeUpdated(@Nullable Output timeUpdated) { + $.timeUpdated = timeUpdated; + return this; + } + + /** + * @param timeUpdated The time the EKMS private endpoint was updated. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. + * + * @return builder + * + */ + public Builder timeUpdated(String timeUpdated) { + return timeUpdated(Output.of(timeUpdated)); + } + + public EkmsPrivateEndpointState build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/EncryptedDataState.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/EncryptedDataState.java index f2dd9ee8a9..517d59ca2c 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/EncryptedDataState.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/EncryptedDataState.java @@ -63,14 +63,14 @@ public Optional> cryptoEndpoint() { } /** - * The encryption algorithm to use to encrypt and decrypt data with a customer-managed key. `AES_256_GCM` indicates that the key is a symmetric key that uses the Advanced Encryption Standard (AES) algorithm and that the mode of encryption is the Galois/Counter Mode (GCM). `RSA_OAEP_SHA_1` indicates that the key is an asymmetric key that uses the RSA encryption algorithm and uses Optimal Asymmetric Encryption Padding (OAEP). `RSA_OAEP_SHA_256` indicates that the key is an asymmetric key that uses the RSA encryption algorithm with a SHA-256 hash and uses OAEP. + * The encryption algorithm to use to encrypt and decrypt data with a customer-managed key. `AES_256_GCM` indicates that the key is a symmetric key that uses the Advanced Encryption Standard (AES) algorithm and that the mode of encryption is the Galois/Counter Mode (GCM). `RSA_OAEP_SHA_1` indicates that the key is an asymmetric key that uses the RSA encryption algorithm and uses Optimal Asymmetric Encryption Padding (OAEP). `RSA_OAEP_SHA_256` indicates that the key is an asymmetric key that uses the RSA encryption algorithm with a SHA-256 hash and uses OAEP. * */ @Import(name="encryptionAlgorithm") private @Nullable Output encryptionAlgorithm; /** - * @return The encryption algorithm to use to encrypt and decrypt data with a customer-managed key. `AES_256_GCM` indicates that the key is a symmetric key that uses the Advanced Encryption Standard (AES) algorithm and that the mode of encryption is the Galois/Counter Mode (GCM). `RSA_OAEP_SHA_1` indicates that the key is an asymmetric key that uses the RSA encryption algorithm and uses Optimal Asymmetric Encryption Padding (OAEP). `RSA_OAEP_SHA_256` indicates that the key is an asymmetric key that uses the RSA encryption algorithm with a SHA-256 hash and uses OAEP. + * @return The encryption algorithm to use to encrypt and decrypt data with a customer-managed key. `AES_256_GCM` indicates that the key is a symmetric key that uses the Advanced Encryption Standard (AES) algorithm and that the mode of encryption is the Galois/Counter Mode (GCM). `RSA_OAEP_SHA_1` indicates that the key is an asymmetric key that uses the RSA encryption algorithm and uses Optimal Asymmetric Encryption Padding (OAEP). `RSA_OAEP_SHA_256` indicates that the key is an asymmetric key that uses the RSA encryption algorithm with a SHA-256 hash and uses OAEP. * */ public Optional> encryptionAlgorithm() { @@ -238,7 +238,7 @@ public Builder cryptoEndpoint(String cryptoEndpoint) { } /** - * @param encryptionAlgorithm The encryption algorithm to use to encrypt and decrypt data with a customer-managed key. `AES_256_GCM` indicates that the key is a symmetric key that uses the Advanced Encryption Standard (AES) algorithm and that the mode of encryption is the Galois/Counter Mode (GCM). `RSA_OAEP_SHA_1` indicates that the key is an asymmetric key that uses the RSA encryption algorithm and uses Optimal Asymmetric Encryption Padding (OAEP). `RSA_OAEP_SHA_256` indicates that the key is an asymmetric key that uses the RSA encryption algorithm with a SHA-256 hash and uses OAEP. + * @param encryptionAlgorithm The encryption algorithm to use to encrypt and decrypt data with a customer-managed key. `AES_256_GCM` indicates that the key is a symmetric key that uses the Advanced Encryption Standard (AES) algorithm and that the mode of encryption is the Galois/Counter Mode (GCM). `RSA_OAEP_SHA_1` indicates that the key is an asymmetric key that uses the RSA encryption algorithm and uses Optimal Asymmetric Encryption Padding (OAEP). `RSA_OAEP_SHA_256` indicates that the key is an asymmetric key that uses the RSA encryption algorithm with a SHA-256 hash and uses OAEP. * * @return builder * @@ -249,7 +249,7 @@ public Builder encryptionAlgorithm(@Nullable Output encryptionAlgorithm) } /** - * @param encryptionAlgorithm The encryption algorithm to use to encrypt and decrypt data with a customer-managed key. `AES_256_GCM` indicates that the key is a symmetric key that uses the Advanced Encryption Standard (AES) algorithm and that the mode of encryption is the Galois/Counter Mode (GCM). `RSA_OAEP_SHA_1` indicates that the key is an asymmetric key that uses the RSA encryption algorithm and uses Optimal Asymmetric Encryption Padding (OAEP). `RSA_OAEP_SHA_256` indicates that the key is an asymmetric key that uses the RSA encryption algorithm with a SHA-256 hash and uses OAEP. + * @param encryptionAlgorithm The encryption algorithm to use to encrypt and decrypt data with a customer-managed key. `AES_256_GCM` indicates that the key is a symmetric key that uses the Advanced Encryption Standard (AES) algorithm and that the mode of encryption is the Galois/Counter Mode (GCM). `RSA_OAEP_SHA_1` indicates that the key is an asymmetric key that uses the RSA encryption algorithm and uses Optimal Asymmetric Encryption Padding (OAEP). `RSA_OAEP_SHA_256` indicates that the key is an asymmetric key that uses the RSA encryption algorithm with a SHA-256 hash and uses OAEP. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/GeneratedKeyKeyShapeArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/GeneratedKeyKeyShapeArgs.java index e014e7a470..1d4a2dd890 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/GeneratedKeyKeyShapeArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/GeneratedKeyKeyShapeArgs.java @@ -17,14 +17,14 @@ public final class GeneratedKeyKeyShapeArgs extends com.pulumi.resources.Resourc public static final GeneratedKeyKeyShapeArgs Empty = new GeneratedKeyKeyShapeArgs(); /** - * The algorithm used by a key's key versions to encrypt or decrypt. + * The algorithm used by a key's key versions to encrypt or decrypt. Only AES algorithm is supported for `External` keys. * */ @Import(name="algorithm", required=true) private Output algorithm; /** - * @return The algorithm used by a key's key versions to encrypt or decrypt. + * @return The algorithm used by a key's key versions to encrypt or decrypt. Only AES algorithm is supported for `External` keys. * */ public Output algorithm() { @@ -94,7 +94,7 @@ public Builder(GeneratedKeyKeyShapeArgs defaults) { } /** - * @param algorithm The algorithm used by a key's key versions to encrypt or decrypt. + * @param algorithm The algorithm used by a key's key versions to encrypt or decrypt. Only AES algorithm is supported for `External` keys. * * @return builder * @@ -105,7 +105,7 @@ public Builder algorithm(Output algorithm) { } /** - * @param algorithm The algorithm used by a key's key versions to encrypt or decrypt. + * @param algorithm The algorithm used by a key's key versions to encrypt or decrypt. Only AES algorithm is supported for `External` keys. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/GetEkmsPrivateEndpointArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/GetEkmsPrivateEndpointArgs.java new file mode 100644 index 0000000000..36e34d322e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/GetEkmsPrivateEndpointArgs.java @@ -0,0 +1,82 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Kms.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; + + +public final class GetEkmsPrivateEndpointArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetEkmsPrivateEndpointArgs Empty = new GetEkmsPrivateEndpointArgs(); + + /** + * Unique EKMS private endpoint identifier. + * + */ + @Import(name="ekmsPrivateEndpointId", required=true) + private Output ekmsPrivateEndpointId; + + /** + * @return Unique EKMS private endpoint identifier. + * + */ + public Output ekmsPrivateEndpointId() { + return this.ekmsPrivateEndpointId; + } + + private GetEkmsPrivateEndpointArgs() {} + + private GetEkmsPrivateEndpointArgs(GetEkmsPrivateEndpointArgs $) { + this.ekmsPrivateEndpointId = $.ekmsPrivateEndpointId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetEkmsPrivateEndpointArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetEkmsPrivateEndpointArgs $; + + public Builder() { + $ = new GetEkmsPrivateEndpointArgs(); + } + + public Builder(GetEkmsPrivateEndpointArgs defaults) { + $ = new GetEkmsPrivateEndpointArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param ekmsPrivateEndpointId Unique EKMS private endpoint identifier. + * + * @return builder + * + */ + public Builder ekmsPrivateEndpointId(Output ekmsPrivateEndpointId) { + $.ekmsPrivateEndpointId = ekmsPrivateEndpointId; + return this; + } + + /** + * @param ekmsPrivateEndpointId Unique EKMS private endpoint identifier. + * + * @return builder + * + */ + public Builder ekmsPrivateEndpointId(String ekmsPrivateEndpointId) { + return ekmsPrivateEndpointId(Output.of(ekmsPrivateEndpointId)); + } + + public GetEkmsPrivateEndpointArgs build() { + $.ekmsPrivateEndpointId = Objects.requireNonNull($.ekmsPrivateEndpointId, "expected parameter 'ekmsPrivateEndpointId' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/GetEkmsPrivateEndpointPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/GetEkmsPrivateEndpointPlainArgs.java new file mode 100644 index 0000000000..9899de4bcb --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/GetEkmsPrivateEndpointPlainArgs.java @@ -0,0 +1,71 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Kms.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; + + +public final class GetEkmsPrivateEndpointPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetEkmsPrivateEndpointPlainArgs Empty = new GetEkmsPrivateEndpointPlainArgs(); + + /** + * Unique EKMS private endpoint identifier. + * + */ + @Import(name="ekmsPrivateEndpointId", required=true) + private String ekmsPrivateEndpointId; + + /** + * @return Unique EKMS private endpoint identifier. + * + */ + public String ekmsPrivateEndpointId() { + return this.ekmsPrivateEndpointId; + } + + private GetEkmsPrivateEndpointPlainArgs() {} + + private GetEkmsPrivateEndpointPlainArgs(GetEkmsPrivateEndpointPlainArgs $) { + this.ekmsPrivateEndpointId = $.ekmsPrivateEndpointId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetEkmsPrivateEndpointPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetEkmsPrivateEndpointPlainArgs $; + + public Builder() { + $ = new GetEkmsPrivateEndpointPlainArgs(); + } + + public Builder(GetEkmsPrivateEndpointPlainArgs defaults) { + $ = new GetEkmsPrivateEndpointPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param ekmsPrivateEndpointId Unique EKMS private endpoint identifier. + * + * @return builder + * + */ + public Builder ekmsPrivateEndpointId(String ekmsPrivateEndpointId) { + $.ekmsPrivateEndpointId = ekmsPrivateEndpointId; + return this; + } + + public GetEkmsPrivateEndpointPlainArgs build() { + $.ekmsPrivateEndpointId = Objects.requireNonNull($.ekmsPrivateEndpointId, "expected parameter 'ekmsPrivateEndpointId' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/GetEkmsPrivateEndpointsArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/GetEkmsPrivateEndpointsArgs.java new file mode 100644 index 0000000000..6b444fb018 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/GetEkmsPrivateEndpointsArgs.java @@ -0,0 +1,107 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Kms.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.oci.Kms.inputs.GetEkmsPrivateEndpointsFilterArgs; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetEkmsPrivateEndpointsArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetEkmsPrivateEndpointsArgs Empty = new GetEkmsPrivateEndpointsArgs(); + + /** + * The OCID of the compartment. + * + */ + @Import(name="compartmentId", required=true) + private Output compartmentId; + + /** + * @return The OCID of the compartment. + * + */ + public Output compartmentId() { + return this.compartmentId; + } + + @Import(name="filters") + private @Nullable Output> filters; + + public Optional>> filters() { + return Optional.ofNullable(this.filters); + } + + private GetEkmsPrivateEndpointsArgs() {} + + private GetEkmsPrivateEndpointsArgs(GetEkmsPrivateEndpointsArgs $) { + this.compartmentId = $.compartmentId; + this.filters = $.filters; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetEkmsPrivateEndpointsArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetEkmsPrivateEndpointsArgs $; + + public Builder() { + $ = new GetEkmsPrivateEndpointsArgs(); + } + + public Builder(GetEkmsPrivateEndpointsArgs defaults) { + $ = new GetEkmsPrivateEndpointsArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param compartmentId The OCID of the compartment. + * + * @return builder + * + */ + public Builder compartmentId(Output compartmentId) { + $.compartmentId = compartmentId; + return this; + } + + /** + * @param compartmentId The OCID of the compartment. + * + * @return builder + * + */ + public Builder compartmentId(String compartmentId) { + return compartmentId(Output.of(compartmentId)); + } + + public Builder filters(@Nullable Output> filters) { + $.filters = filters; + return this; + } + + public Builder filters(List filters) { + return filters(Output.of(filters)); + } + + public Builder filters(GetEkmsPrivateEndpointsFilterArgs... filters) { + return filters(List.of(filters)); + } + + public GetEkmsPrivateEndpointsArgs build() { + $.compartmentId = Objects.requireNonNull($.compartmentId, "expected parameter 'compartmentId' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/GetEkmsPrivateEndpointsFilter.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/GetEkmsPrivateEndpointsFilter.java new file mode 100644 index 0000000000..de633ca9c7 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/GetEkmsPrivateEndpointsFilter.java @@ -0,0 +1,92 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Kms.inputs; + +import com.pulumi.core.annotations.Import; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetEkmsPrivateEndpointsFilter extends com.pulumi.resources.InvokeArgs { + + public static final GetEkmsPrivateEndpointsFilter Empty = new GetEkmsPrivateEndpointsFilter(); + + @Import(name="name", required=true) + private String name; + + public String name() { + return this.name; + } + + @Import(name="regex") + private @Nullable Boolean regex; + + public Optional regex() { + return Optional.ofNullable(this.regex); + } + + @Import(name="values", required=true) + private List values; + + public List values() { + return this.values; + } + + private GetEkmsPrivateEndpointsFilter() {} + + private GetEkmsPrivateEndpointsFilter(GetEkmsPrivateEndpointsFilter $) { + this.name = $.name; + this.regex = $.regex; + this.values = $.values; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetEkmsPrivateEndpointsFilter defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetEkmsPrivateEndpointsFilter $; + + public Builder() { + $ = new GetEkmsPrivateEndpointsFilter(); + } + + public Builder(GetEkmsPrivateEndpointsFilter defaults) { + $ = new GetEkmsPrivateEndpointsFilter(Objects.requireNonNull(defaults)); + } + + public Builder name(String name) { + $.name = name; + return this; + } + + public Builder regex(@Nullable Boolean regex) { + $.regex = regex; + return this; + } + + public Builder values(List values) { + $.values = values; + return this; + } + + public Builder values(String... values) { + return values(List.of(values)); + } + + public GetEkmsPrivateEndpointsFilter build() { + $.name = Objects.requireNonNull($.name, "expected parameter 'name' to be non-null"); + $.values = Objects.requireNonNull($.values, "expected parameter 'values' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/GetEkmsPrivateEndpointsFilterArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/GetEkmsPrivateEndpointsFilterArgs.java new file mode 100644 index 0000000000..6ded6d4275 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/GetEkmsPrivateEndpointsFilterArgs.java @@ -0,0 +1,105 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Kms.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetEkmsPrivateEndpointsFilterArgs extends com.pulumi.resources.ResourceArgs { + + public static final GetEkmsPrivateEndpointsFilterArgs Empty = new GetEkmsPrivateEndpointsFilterArgs(); + + @Import(name="name", required=true) + private Output name; + + public Output name() { + return this.name; + } + + @Import(name="regex") + private @Nullable Output regex; + + public Optional> regex() { + return Optional.ofNullable(this.regex); + } + + @Import(name="values", required=true) + private Output> values; + + public Output> values() { + return this.values; + } + + private GetEkmsPrivateEndpointsFilterArgs() {} + + private GetEkmsPrivateEndpointsFilterArgs(GetEkmsPrivateEndpointsFilterArgs $) { + this.name = $.name; + this.regex = $.regex; + this.values = $.values; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetEkmsPrivateEndpointsFilterArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetEkmsPrivateEndpointsFilterArgs $; + + public Builder() { + $ = new GetEkmsPrivateEndpointsFilterArgs(); + } + + public Builder(GetEkmsPrivateEndpointsFilterArgs defaults) { + $ = new GetEkmsPrivateEndpointsFilterArgs(Objects.requireNonNull(defaults)); + } + + public Builder name(Output name) { + $.name = name; + return this; + } + + public Builder name(String name) { + return name(Output.of(name)); + } + + public Builder regex(@Nullable Output regex) { + $.regex = regex; + return this; + } + + public Builder regex(Boolean regex) { + return regex(Output.of(regex)); + } + + public Builder values(Output> values) { + $.values = values; + return this; + } + + public Builder values(List values) { + return values(Output.of(values)); + } + + public Builder values(String... values) { + return values(List.of(values)); + } + + public GetEkmsPrivateEndpointsFilterArgs build() { + $.name = Objects.requireNonNull($.name, "expected parameter 'name' to be non-null"); + $.values = Objects.requireNonNull($.values, "expected parameter 'values' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/GetEkmsPrivateEndpointsPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/GetEkmsPrivateEndpointsPlainArgs.java new file mode 100644 index 0000000000..9f1fdedc8b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/GetEkmsPrivateEndpointsPlainArgs.java @@ -0,0 +1,92 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Kms.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.oci.Kms.inputs.GetEkmsPrivateEndpointsFilter; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetEkmsPrivateEndpointsPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetEkmsPrivateEndpointsPlainArgs Empty = new GetEkmsPrivateEndpointsPlainArgs(); + + /** + * The OCID of the compartment. + * + */ + @Import(name="compartmentId", required=true) + private String compartmentId; + + /** + * @return The OCID of the compartment. + * + */ + public String compartmentId() { + return this.compartmentId; + } + + @Import(name="filters") + private @Nullable List filters; + + public Optional> filters() { + return Optional.ofNullable(this.filters); + } + + private GetEkmsPrivateEndpointsPlainArgs() {} + + private GetEkmsPrivateEndpointsPlainArgs(GetEkmsPrivateEndpointsPlainArgs $) { + this.compartmentId = $.compartmentId; + this.filters = $.filters; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetEkmsPrivateEndpointsPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetEkmsPrivateEndpointsPlainArgs $; + + public Builder() { + $ = new GetEkmsPrivateEndpointsPlainArgs(); + } + + public Builder(GetEkmsPrivateEndpointsPlainArgs defaults) { + $ = new GetEkmsPrivateEndpointsPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param compartmentId The OCID of the compartment. + * + * @return builder + * + */ + public Builder compartmentId(String compartmentId) { + $.compartmentId = compartmentId; + return this; + } + + public Builder filters(@Nullable List filters) { + $.filters = filters; + return this; + } + + public Builder filters(GetEkmsPrivateEndpointsFilter... filters) { + return filters(List.of(filters)); + } + + public GetEkmsPrivateEndpointsPlainArgs build() { + $.compartmentId = Objects.requireNonNull($.compartmentId, "expected parameter 'compartmentId' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/GetKeysArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/GetKeysArgs.java index 255c869c9d..bc3dbec21d 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/GetKeysArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/GetKeysArgs.java @@ -101,14 +101,14 @@ public Output managementEndpoint() { } /** - * A key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. + * A key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager. * */ @Import(name="protectionMode") private @Nullable Output protectionMode; /** - * @return A key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. + * @return A key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager. * */ public Optional> protectionMode() { @@ -264,7 +264,7 @@ public Builder managementEndpoint(String managementEndpoint) { } /** - * @param protectionMode A key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. + * @param protectionMode A key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager. * * @return builder * @@ -275,7 +275,7 @@ public Builder protectionMode(@Nullable Output protectionMode) { } /** - * @param protectionMode A key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. + * @param protectionMode A key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/GetKeysPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/GetKeysPlainArgs.java index 7578bc7d49..a3104574de 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/GetKeysPlainArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/GetKeysPlainArgs.java @@ -100,14 +100,14 @@ public String managementEndpoint() { } /** - * A key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. + * A key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager. * */ @Import(name="protectionMode") private @Nullable String protectionMode; /** - * @return A key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. + * @return A key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager. * */ public Optional protectionMode() { @@ -209,7 +209,7 @@ public Builder managementEndpoint(String managementEndpoint) { } /** - * @param protectionMode A key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. + * @param protectionMode A key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/KeyExternalKeyReferenceArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/KeyExternalKeyReferenceArgs.java new file mode 100644 index 0000000000..369bd850cb --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/KeyExternalKeyReferenceArgs.java @@ -0,0 +1,82 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Kms.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; + + +public final class KeyExternalKeyReferenceArgs extends com.pulumi.resources.ResourceArgs { + + public static final KeyExternalKeyReferenceArgs Empty = new KeyExternalKeyReferenceArgs(); + + /** + * ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM + * + */ + @Import(name="externalKeyId", required=true) + private Output externalKeyId; + + /** + * @return ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM + * + */ + public Output externalKeyId() { + return this.externalKeyId; + } + + private KeyExternalKeyReferenceArgs() {} + + private KeyExternalKeyReferenceArgs(KeyExternalKeyReferenceArgs $) { + this.externalKeyId = $.externalKeyId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(KeyExternalKeyReferenceArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private KeyExternalKeyReferenceArgs $; + + public Builder() { + $ = new KeyExternalKeyReferenceArgs(); + } + + public Builder(KeyExternalKeyReferenceArgs defaults) { + $ = new KeyExternalKeyReferenceArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param externalKeyId ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM + * + * @return builder + * + */ + public Builder externalKeyId(Output externalKeyId) { + $.externalKeyId = externalKeyId; + return this; + } + + /** + * @param externalKeyId ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM + * + * @return builder + * + */ + public Builder externalKeyId(String externalKeyId) { + return externalKeyId(Output.of(externalKeyId)); + } + + public KeyExternalKeyReferenceArgs build() { + $.externalKeyId = Objects.requireNonNull($.externalKeyId, "expected parameter 'externalKeyId' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/KeyExternalKeyReferenceDetailArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/KeyExternalKeyReferenceDetailArgs.java new file mode 100644 index 0000000000..7ccc2c6fd3 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/KeyExternalKeyReferenceDetailArgs.java @@ -0,0 +1,120 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Kms.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class KeyExternalKeyReferenceDetailArgs extends com.pulumi.resources.ResourceArgs { + + public static final KeyExternalKeyReferenceDetailArgs Empty = new KeyExternalKeyReferenceDetailArgs(); + + /** + * ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM + * + */ + @Import(name="externalKeyId") + private @Nullable Output externalKeyId; + + /** + * @return ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM + * + */ + public Optional> externalKeyId() { + return Optional.ofNullable(this.externalKeyId); + } + + /** + * Key version ID associated with the external key. + * + */ + @Import(name="externalKeyVersionId") + private @Nullable Output externalKeyVersionId; + + /** + * @return Key version ID associated with the external key. + * + */ + public Optional> externalKeyVersionId() { + return Optional.ofNullable(this.externalKeyVersionId); + } + + private KeyExternalKeyReferenceDetailArgs() {} + + private KeyExternalKeyReferenceDetailArgs(KeyExternalKeyReferenceDetailArgs $) { + this.externalKeyId = $.externalKeyId; + this.externalKeyVersionId = $.externalKeyVersionId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(KeyExternalKeyReferenceDetailArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private KeyExternalKeyReferenceDetailArgs $; + + public Builder() { + $ = new KeyExternalKeyReferenceDetailArgs(); + } + + public Builder(KeyExternalKeyReferenceDetailArgs defaults) { + $ = new KeyExternalKeyReferenceDetailArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param externalKeyId ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM + * + * @return builder + * + */ + public Builder externalKeyId(@Nullable Output externalKeyId) { + $.externalKeyId = externalKeyId; + return this; + } + + /** + * @param externalKeyId ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM + * + * @return builder + * + */ + public Builder externalKeyId(String externalKeyId) { + return externalKeyId(Output.of(externalKeyId)); + } + + /** + * @param externalKeyVersionId Key version ID associated with the external key. + * + * @return builder + * + */ + public Builder externalKeyVersionId(@Nullable Output externalKeyVersionId) { + $.externalKeyVersionId = externalKeyVersionId; + return this; + } + + /** + * @param externalKeyVersionId Key version ID associated with the external key. + * + * @return builder + * + */ + public Builder externalKeyVersionId(String externalKeyVersionId) { + return externalKeyVersionId(Output.of(externalKeyVersionId)); + } + + public KeyExternalKeyReferenceDetailArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/KeyKeyShapeArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/KeyKeyShapeArgs.java index a366b80296..a764c0b79e 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/KeyKeyShapeArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/KeyKeyShapeArgs.java @@ -17,14 +17,14 @@ public final class KeyKeyShapeArgs extends com.pulumi.resources.ResourceArgs { public static final KeyKeyShapeArgs Empty = new KeyKeyShapeArgs(); /** - * The algorithm used by a key's key versions to encrypt or decrypt. + * The algorithm used by a key's key versions to encrypt or decrypt. Only AES algorithm is supported for `External` keys. * */ @Import(name="algorithm", required=true) private Output algorithm; /** - * @return The algorithm used by a key's key versions to encrypt or decrypt. + * @return The algorithm used by a key's key versions to encrypt or decrypt. Only AES algorithm is supported for `External` keys. * */ public Output algorithm() { @@ -94,7 +94,7 @@ public Builder(KeyKeyShapeArgs defaults) { } /** - * @param algorithm The algorithm used by a key's key versions to encrypt or decrypt. + * @param algorithm The algorithm used by a key's key versions to encrypt or decrypt. Only AES algorithm is supported for `External` keys. * * @return builder * @@ -105,7 +105,7 @@ public Builder algorithm(Output algorithm) { } /** - * @param algorithm The algorithm used by a key's key versions to encrypt or decrypt. + * @param algorithm The algorithm used by a key's key versions to encrypt or decrypt. Only AES algorithm is supported for `External` keys. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/KeyState.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/KeyState.java index c49a1431ac..94f2d5257f 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/KeyState.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/KeyState.java @@ -5,6 +5,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.oci.Kms.inputs.KeyExternalKeyReferenceArgs; +import com.pulumi.oci.Kms.inputs.KeyExternalKeyReferenceDetailArgs; import com.pulumi.oci.Kms.inputs.KeyKeyShapeArgs; import com.pulumi.oci.Kms.inputs.KeyReplicaDetailArgs; import com.pulumi.oci.Kms.inputs.KeyRestoreFromFileArgs; @@ -98,6 +100,36 @@ public Optional> displayName() { return Optional.ofNullable(this.displayName); } + /** + * A reference to the key on external key manager. + * + */ + @Import(name="externalKeyReference") + private @Nullable Output externalKeyReference; + + /** + * @return A reference to the key on external key manager. + * + */ + public Optional> externalKeyReference() { + return Optional.ofNullable(this.externalKeyReference); + } + + /** + * Key reference data to be returned to the customer as a response. + * + */ + @Import(name="externalKeyReferenceDetails") + private @Nullable Output> externalKeyReferenceDetails; + + /** + * @return Key reference data to be returned to the customer as a response. + * + */ + public Optional>> externalKeyReferenceDetails() { + return Optional.ofNullable(this.externalKeyReferenceDetails); + } + /** * (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` * @@ -114,14 +146,14 @@ public Optional>> freeformTags() { } /** - * A boolean that will be true when key is primary, and will be false when key is a replica from a primary key. + * A Boolean value that indicates whether the Key belongs to primary Vault or replica vault. * */ @Import(name="isPrimary") private @Nullable Output isPrimary; /** - * @return A boolean that will be true when key is primary, and will be false when key is a replica from a primary key. + * @return A Boolean value that indicates whether the Key belongs to primary Vault or replica vault. * */ public Optional> isPrimary() { @@ -159,14 +191,14 @@ public Optional> managementEndpoint() { } /** - * The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. + * The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager. * */ @Import(name="protectionMode") private @Nullable Output protectionMode; /** - * @return The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. + * @return The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager. * */ public Optional> protectionMode() { @@ -322,6 +354,8 @@ private KeyState(KeyState $) { this.definedTags = $.definedTags; this.desiredState = $.desiredState; this.displayName = $.displayName; + this.externalKeyReference = $.externalKeyReference; + this.externalKeyReferenceDetails = $.externalKeyReferenceDetails; this.freeformTags = $.freeformTags; this.isPrimary = $.isPrimary; this.keyShape = $.keyShape; @@ -461,6 +495,58 @@ public Builder displayName(String displayName) { return displayName(Output.of(displayName)); } + /** + * @param externalKeyReference A reference to the key on external key manager. + * + * @return builder + * + */ + public Builder externalKeyReference(@Nullable Output externalKeyReference) { + $.externalKeyReference = externalKeyReference; + return this; + } + + /** + * @param externalKeyReference A reference to the key on external key manager. + * + * @return builder + * + */ + public Builder externalKeyReference(KeyExternalKeyReferenceArgs externalKeyReference) { + return externalKeyReference(Output.of(externalKeyReference)); + } + + /** + * @param externalKeyReferenceDetails Key reference data to be returned to the customer as a response. + * + * @return builder + * + */ + public Builder externalKeyReferenceDetails(@Nullable Output> externalKeyReferenceDetails) { + $.externalKeyReferenceDetails = externalKeyReferenceDetails; + return this; + } + + /** + * @param externalKeyReferenceDetails Key reference data to be returned to the customer as a response. + * + * @return builder + * + */ + public Builder externalKeyReferenceDetails(List externalKeyReferenceDetails) { + return externalKeyReferenceDetails(Output.of(externalKeyReferenceDetails)); + } + + /** + * @param externalKeyReferenceDetails Key reference data to be returned to the customer as a response. + * + * @return builder + * + */ + public Builder externalKeyReferenceDetails(KeyExternalKeyReferenceDetailArgs... externalKeyReferenceDetails) { + return externalKeyReferenceDetails(List.of(externalKeyReferenceDetails)); + } + /** * @param freeformTags (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` * @@ -483,7 +569,7 @@ public Builder freeformTags(Map freeformTags) { } /** - * @param isPrimary A boolean that will be true when key is primary, and will be false when key is a replica from a primary key. + * @param isPrimary A Boolean value that indicates whether the Key belongs to primary Vault or replica vault. * * @return builder * @@ -494,7 +580,7 @@ public Builder isPrimary(@Nullable Output isPrimary) { } /** - * @param isPrimary A boolean that will be true when key is primary, and will be false when key is a replica from a primary key. + * @param isPrimary A Boolean value that indicates whether the Key belongs to primary Vault or replica vault. * * @return builder * @@ -546,7 +632,7 @@ public Builder managementEndpoint(String managementEndpoint) { } /** - * @param protectionMode The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. + * @param protectionMode The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager. * * @return builder * @@ -557,7 +643,7 @@ public Builder protectionMode(@Nullable Output protectionMode) { } /** - * @param protectionMode The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. + * @param protectionMode The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/KeyVersionExternalKeyReferenceDetailArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/KeyVersionExternalKeyReferenceDetailArgs.java new file mode 100644 index 0000000000..699392c98e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/KeyVersionExternalKeyReferenceDetailArgs.java @@ -0,0 +1,120 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Kms.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class KeyVersionExternalKeyReferenceDetailArgs extends com.pulumi.resources.ResourceArgs { + + public static final KeyVersionExternalKeyReferenceDetailArgs Empty = new KeyVersionExternalKeyReferenceDetailArgs(); + + /** + * ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. + * + */ + @Import(name="externalKeyId") + private @Nullable Output externalKeyId; + + /** + * @return ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. + * + */ + public Optional> externalKeyId() { + return Optional.ofNullable(this.externalKeyId); + } + + /** + * Key version ID associated with the external key. + * + */ + @Import(name="externalKeyVersionId") + private @Nullable Output externalKeyVersionId; + + /** + * @return Key version ID associated with the external key. + * + */ + public Optional> externalKeyVersionId() { + return Optional.ofNullable(this.externalKeyVersionId); + } + + private KeyVersionExternalKeyReferenceDetailArgs() {} + + private KeyVersionExternalKeyReferenceDetailArgs(KeyVersionExternalKeyReferenceDetailArgs $) { + this.externalKeyId = $.externalKeyId; + this.externalKeyVersionId = $.externalKeyVersionId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(KeyVersionExternalKeyReferenceDetailArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private KeyVersionExternalKeyReferenceDetailArgs $; + + public Builder() { + $ = new KeyVersionExternalKeyReferenceDetailArgs(); + } + + public Builder(KeyVersionExternalKeyReferenceDetailArgs defaults) { + $ = new KeyVersionExternalKeyReferenceDetailArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param externalKeyId ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. + * + * @return builder + * + */ + public Builder externalKeyId(@Nullable Output externalKeyId) { + $.externalKeyId = externalKeyId; + return this; + } + + /** + * @param externalKeyId ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. + * + * @return builder + * + */ + public Builder externalKeyId(String externalKeyId) { + return externalKeyId(Output.of(externalKeyId)); + } + + /** + * @param externalKeyVersionId Key version ID associated with the external key. + * + * @return builder + * + */ + public Builder externalKeyVersionId(@Nullable Output externalKeyVersionId) { + $.externalKeyVersionId = externalKeyVersionId; + return this; + } + + /** + * @param externalKeyVersionId Key version ID associated with the external key. + * + * @return builder + * + */ + public Builder externalKeyVersionId(String externalKeyVersionId) { + return externalKeyVersionId(Output.of(externalKeyVersionId)); + } + + public KeyVersionExternalKeyReferenceDetailArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/KeyVersionState.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/KeyVersionState.java index 8b13ecd055..59dcf2aa5b 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/KeyVersionState.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/KeyVersionState.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.oci.Kms.inputs.KeyVersionExternalKeyReferenceDetailArgs; import com.pulumi.oci.Kms.inputs.KeyVersionReplicaDetailArgs; import java.lang.Boolean; import java.lang.String; @@ -34,14 +35,44 @@ public Optional> compartmentId() { } /** - * A boolean that will be true when key version is primary, and will be false when key version is a replica from a primary key version. + * Key reference data to be returned to the customer as a response. + * + */ + @Import(name="externalKeyReferenceDetails") + private @Nullable Output> externalKeyReferenceDetails; + + /** + * @return Key reference data to be returned to the customer as a response. + * + */ + public Optional>> externalKeyReferenceDetails() { + return Optional.ofNullable(this.externalKeyReferenceDetails); + } + + /** + * Key version ID associated with the external key. + * + */ + @Import(name="externalKeyVersionId") + private @Nullable Output externalKeyVersionId; + + /** + * @return Key version ID associated with the external key. + * + */ + public Optional> externalKeyVersionId() { + return Optional.ofNullable(this.externalKeyVersionId); + } + + /** + * A Boolean value that indicates whether the KeyVersion belongs to primary Vault or replica Vault. * */ @Import(name="isPrimary") private @Nullable Output isPrimary; /** - * @return A boolean that will be true when key version is primary, and will be false when key version is a replica from a primary key version. + * @return A Boolean value that indicates whether the KeyVersion belongs to primary Vault or replica Vault. * */ public Optional> isPrimary() { @@ -207,6 +238,8 @@ private KeyVersionState() {} private KeyVersionState(KeyVersionState $) { this.compartmentId = $.compartmentId; + this.externalKeyReferenceDetails = $.externalKeyReferenceDetails; + this.externalKeyVersionId = $.externalKeyVersionId; this.isPrimary = $.isPrimary; this.keyId = $.keyId; this.keyVersionId = $.keyVersionId; @@ -261,7 +294,59 @@ public Builder compartmentId(String compartmentId) { } /** - * @param isPrimary A boolean that will be true when key version is primary, and will be false when key version is a replica from a primary key version. + * @param externalKeyReferenceDetails Key reference data to be returned to the customer as a response. + * + * @return builder + * + */ + public Builder externalKeyReferenceDetails(@Nullable Output> externalKeyReferenceDetails) { + $.externalKeyReferenceDetails = externalKeyReferenceDetails; + return this; + } + + /** + * @param externalKeyReferenceDetails Key reference data to be returned to the customer as a response. + * + * @return builder + * + */ + public Builder externalKeyReferenceDetails(List externalKeyReferenceDetails) { + return externalKeyReferenceDetails(Output.of(externalKeyReferenceDetails)); + } + + /** + * @param externalKeyReferenceDetails Key reference data to be returned to the customer as a response. + * + * @return builder + * + */ + public Builder externalKeyReferenceDetails(KeyVersionExternalKeyReferenceDetailArgs... externalKeyReferenceDetails) { + return externalKeyReferenceDetails(List.of(externalKeyReferenceDetails)); + } + + /** + * @param externalKeyVersionId Key version ID associated with the external key. + * + * @return builder + * + */ + public Builder externalKeyVersionId(@Nullable Output externalKeyVersionId) { + $.externalKeyVersionId = externalKeyVersionId; + return this; + } + + /** + * @param externalKeyVersionId Key version ID associated with the external key. + * + * @return builder + * + */ + public Builder externalKeyVersionId(String externalKeyVersionId) { + return externalKeyVersionId(Output.of(externalKeyVersionId)); + } + + /** + * @param isPrimary A Boolean value that indicates whether the KeyVersion belongs to primary Vault or replica Vault. * * @return builder * @@ -272,7 +357,7 @@ public Builder isPrimary(@Nullable Output isPrimary) { } /** - * @param isPrimary A boolean that will be true when key version is primary, and will be false when key version is a replica from a primary key version. + * @param isPrimary A Boolean value that indicates whether the KeyVersion belongs to primary Vault or replica Vault. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/SignState.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/SignState.java index f49fc619d5..9f320f856a 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/SignState.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/SignState.java @@ -76,14 +76,14 @@ public Optional> message() { } /** - * Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. + * Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. * */ @Import(name="messageType") private @Nullable Output messageType; /** - * @return Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. + * @return Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. * */ public Optional> messageType() { @@ -106,7 +106,7 @@ public Optional> signature() { } /** - * The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. + * The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. * * ** 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 @@ -116,7 +116,7 @@ public Optional> signature() { private @Nullable Output signingAlgorithm; /** - * @return The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. + * @return The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. * * ** 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 @@ -241,7 +241,7 @@ public Builder message(String message) { } /** - * @param messageType Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. + * @param messageType Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. * * @return builder * @@ -252,7 +252,7 @@ public Builder messageType(@Nullable Output messageType) { } /** - * @param messageType Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. + * @param messageType Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. * * @return builder * @@ -283,7 +283,7 @@ public Builder signature(String signature) { } /** - * @param signingAlgorithm The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. + * @param signingAlgorithm The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. * * ** 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 @@ -297,7 +297,7 @@ public Builder signingAlgorithm(@Nullable Output signingAlgorithm) { } /** - * @param signingAlgorithm The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. + * @param signingAlgorithm The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. * * ** 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 diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/VaultExternalKeyManagerMetadataArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/VaultExternalKeyManagerMetadataArgs.java new file mode 100644 index 0000000000..5c1563275c --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/VaultExternalKeyManagerMetadataArgs.java @@ -0,0 +1,159 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Kms.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.oci.Kms.inputs.VaultExternalKeyManagerMetadataOauthMetadataArgs; +import java.lang.String; +import java.util.Objects; + + +public final class VaultExternalKeyManagerMetadataArgs extends com.pulumi.resources.ResourceArgs { + + public static final VaultExternalKeyManagerMetadataArgs Empty = new VaultExternalKeyManagerMetadataArgs(); + + /** + * URI of the vault on external key manager. + * + */ + @Import(name="externalVaultEndpointUrl", required=true) + private Output externalVaultEndpointUrl; + + /** + * @return URI of the vault on external key manager. + * + */ + public Output externalVaultEndpointUrl() { + return this.externalVaultEndpointUrl; + } + + /** + * Authorization details required to get access token from IDP for accessing protected resources. + * + */ + @Import(name="oauthMetadata", required=true) + private Output oauthMetadata; + + /** + * @return Authorization details required to get access token from IDP for accessing protected resources. + * + */ + public Output oauthMetadata() { + return this.oauthMetadata; + } + + /** + * OCID of private endpoint created by customer. + * + */ + @Import(name="privateEndpointId", required=true) + private Output privateEndpointId; + + /** + * @return OCID of private endpoint created by customer. + * + */ + public Output privateEndpointId() { + return this.privateEndpointId; + } + + private VaultExternalKeyManagerMetadataArgs() {} + + private VaultExternalKeyManagerMetadataArgs(VaultExternalKeyManagerMetadataArgs $) { + this.externalVaultEndpointUrl = $.externalVaultEndpointUrl; + this.oauthMetadata = $.oauthMetadata; + this.privateEndpointId = $.privateEndpointId; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(VaultExternalKeyManagerMetadataArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private VaultExternalKeyManagerMetadataArgs $; + + public Builder() { + $ = new VaultExternalKeyManagerMetadataArgs(); + } + + public Builder(VaultExternalKeyManagerMetadataArgs defaults) { + $ = new VaultExternalKeyManagerMetadataArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param externalVaultEndpointUrl URI of the vault on external key manager. + * + * @return builder + * + */ + public Builder externalVaultEndpointUrl(Output externalVaultEndpointUrl) { + $.externalVaultEndpointUrl = externalVaultEndpointUrl; + return this; + } + + /** + * @param externalVaultEndpointUrl URI of the vault on external key manager. + * + * @return builder + * + */ + public Builder externalVaultEndpointUrl(String externalVaultEndpointUrl) { + return externalVaultEndpointUrl(Output.of(externalVaultEndpointUrl)); + } + + /** + * @param oauthMetadata Authorization details required to get access token from IDP for accessing protected resources. + * + * @return builder + * + */ + public Builder oauthMetadata(Output oauthMetadata) { + $.oauthMetadata = oauthMetadata; + return this; + } + + /** + * @param oauthMetadata Authorization details required to get access token from IDP for accessing protected resources. + * + * @return builder + * + */ + public Builder oauthMetadata(VaultExternalKeyManagerMetadataOauthMetadataArgs oauthMetadata) { + return oauthMetadata(Output.of(oauthMetadata)); + } + + /** + * @param privateEndpointId OCID of private endpoint created by customer. + * + * @return builder + * + */ + public Builder privateEndpointId(Output privateEndpointId) { + $.privateEndpointId = privateEndpointId; + return this; + } + + /** + * @param privateEndpointId OCID of private endpoint created by customer. + * + * @return builder + * + */ + public Builder privateEndpointId(String privateEndpointId) { + return privateEndpointId(Output.of(privateEndpointId)); + } + + public VaultExternalKeyManagerMetadataArgs build() { + $.externalVaultEndpointUrl = Objects.requireNonNull($.externalVaultEndpointUrl, "expected parameter 'externalVaultEndpointUrl' to be non-null"); + $.oauthMetadata = Objects.requireNonNull($.oauthMetadata, "expected parameter 'oauthMetadata' to be non-null"); + $.privateEndpointId = Objects.requireNonNull($.privateEndpointId, "expected parameter 'privateEndpointId' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/VaultExternalKeyManagerMetadataOauthMetadataArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/VaultExternalKeyManagerMetadataOauthMetadataArgs.java new file mode 100644 index 0000000000..c16b26bd29 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/VaultExternalKeyManagerMetadataOauthMetadataArgs.java @@ -0,0 +1,158 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Kms.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; + + +public final class VaultExternalKeyManagerMetadataOauthMetadataArgs extends com.pulumi.resources.ResourceArgs { + + public static final VaultExternalKeyManagerMetadataOauthMetadataArgs Empty = new VaultExternalKeyManagerMetadataOauthMetadataArgs(); + + /** + * ID of the client app created in IDP. + * + */ + @Import(name="clientAppId", required=true) + private Output clientAppId; + + /** + * @return ID of the client app created in IDP. + * + */ + public Output clientAppId() { + return this.clientAppId; + } + + /** + * Secret of the client app created in IDP. + * + */ + @Import(name="clientAppSecret", required=true) + private Output clientAppSecret; + + /** + * @return Secret of the client app created in IDP. + * + */ + public Output clientAppSecret() { + return this.clientAppSecret; + } + + /** + * Base URL of the IDCS account where confidential client app is created. + * + */ + @Import(name="idcsAccountNameUrl", required=true) + private Output idcsAccountNameUrl; + + /** + * @return Base URL of the IDCS account where confidential client app is created. + * + */ + public Output idcsAccountNameUrl() { + return this.idcsAccountNameUrl; + } + + private VaultExternalKeyManagerMetadataOauthMetadataArgs() {} + + private VaultExternalKeyManagerMetadataOauthMetadataArgs(VaultExternalKeyManagerMetadataOauthMetadataArgs $) { + this.clientAppId = $.clientAppId; + this.clientAppSecret = $.clientAppSecret; + this.idcsAccountNameUrl = $.idcsAccountNameUrl; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(VaultExternalKeyManagerMetadataOauthMetadataArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private VaultExternalKeyManagerMetadataOauthMetadataArgs $; + + public Builder() { + $ = new VaultExternalKeyManagerMetadataOauthMetadataArgs(); + } + + public Builder(VaultExternalKeyManagerMetadataOauthMetadataArgs defaults) { + $ = new VaultExternalKeyManagerMetadataOauthMetadataArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param clientAppId ID of the client app created in IDP. + * + * @return builder + * + */ + public Builder clientAppId(Output clientAppId) { + $.clientAppId = clientAppId; + return this; + } + + /** + * @param clientAppId ID of the client app created in IDP. + * + * @return builder + * + */ + public Builder clientAppId(String clientAppId) { + return clientAppId(Output.of(clientAppId)); + } + + /** + * @param clientAppSecret Secret of the client app created in IDP. + * + * @return builder + * + */ + public Builder clientAppSecret(Output clientAppSecret) { + $.clientAppSecret = clientAppSecret; + return this; + } + + /** + * @param clientAppSecret Secret of the client app created in IDP. + * + * @return builder + * + */ + public Builder clientAppSecret(String clientAppSecret) { + return clientAppSecret(Output.of(clientAppSecret)); + } + + /** + * @param idcsAccountNameUrl Base URL of the IDCS account where confidential client app is created. + * + * @return builder + * + */ + public Builder idcsAccountNameUrl(Output idcsAccountNameUrl) { + $.idcsAccountNameUrl = idcsAccountNameUrl; + return this; + } + + /** + * @param idcsAccountNameUrl Base URL of the IDCS account where confidential client app is created. + * + * @return builder + * + */ + public Builder idcsAccountNameUrl(String idcsAccountNameUrl) { + return idcsAccountNameUrl(Output.of(idcsAccountNameUrl)); + } + + public VaultExternalKeyManagerMetadataOauthMetadataArgs build() { + $.clientAppId = Objects.requireNonNull($.clientAppId, "expected parameter 'clientAppId' to be non-null"); + $.clientAppSecret = Objects.requireNonNull($.clientAppSecret, "expected parameter 'clientAppSecret' to be non-null"); + $.idcsAccountNameUrl = Objects.requireNonNull($.idcsAccountNameUrl, "expected parameter 'idcsAccountNameUrl' to be non-null"); + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/VaultExternalKeyManagerMetadataSummaryArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/VaultExternalKeyManagerMetadataSummaryArgs.java new file mode 100644 index 0000000000..63c7944047 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/VaultExternalKeyManagerMetadataSummaryArgs.java @@ -0,0 +1,206 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Kms.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.oci.Kms.inputs.VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArgs; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class VaultExternalKeyManagerMetadataSummaryArgs extends com.pulumi.resources.ResourceArgs { + + public static final VaultExternalKeyManagerMetadataSummaryArgs Empty = new VaultExternalKeyManagerMetadataSummaryArgs(); + + /** + * URI of the vault on external key manager. + * + */ + @Import(name="externalVaultEndpointUrl") + private @Nullable Output externalVaultEndpointUrl; + + /** + * @return URI of the vault on external key manager. + * + */ + public Optional> externalVaultEndpointUrl() { + return Optional.ofNullable(this.externalVaultEndpointUrl); + } + + /** + * Summary about authorization to be returned to the customer as a response. + * + */ + @Import(name="oauthMetadataSummaries") + private @Nullable Output> oauthMetadataSummaries; + + /** + * @return Summary about authorization to be returned to the customer as a response. + * + */ + public Optional>> oauthMetadataSummaries() { + return Optional.ofNullable(this.oauthMetadataSummaries); + } + + /** + * OCID of private endpoint created by customer. + * + */ + @Import(name="privateEndpointId") + private @Nullable Output privateEndpointId; + + /** + * @return OCID of private endpoint created by customer. + * + */ + public Optional> privateEndpointId() { + return Optional.ofNullable(this.privateEndpointId); + } + + /** + * Vendor of the external key manager. + * + */ + @Import(name="vendor") + private @Nullable Output vendor; + + /** + * @return Vendor of the external key manager. + * + */ + public Optional> vendor() { + return Optional.ofNullable(this.vendor); + } + + private VaultExternalKeyManagerMetadataSummaryArgs() {} + + private VaultExternalKeyManagerMetadataSummaryArgs(VaultExternalKeyManagerMetadataSummaryArgs $) { + this.externalVaultEndpointUrl = $.externalVaultEndpointUrl; + this.oauthMetadataSummaries = $.oauthMetadataSummaries; + this.privateEndpointId = $.privateEndpointId; + this.vendor = $.vendor; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(VaultExternalKeyManagerMetadataSummaryArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private VaultExternalKeyManagerMetadataSummaryArgs $; + + public Builder() { + $ = new VaultExternalKeyManagerMetadataSummaryArgs(); + } + + public Builder(VaultExternalKeyManagerMetadataSummaryArgs defaults) { + $ = new VaultExternalKeyManagerMetadataSummaryArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param externalVaultEndpointUrl URI of the vault on external key manager. + * + * @return builder + * + */ + public Builder externalVaultEndpointUrl(@Nullable Output externalVaultEndpointUrl) { + $.externalVaultEndpointUrl = externalVaultEndpointUrl; + return this; + } + + /** + * @param externalVaultEndpointUrl URI of the vault on external key manager. + * + * @return builder + * + */ + public Builder externalVaultEndpointUrl(String externalVaultEndpointUrl) { + return externalVaultEndpointUrl(Output.of(externalVaultEndpointUrl)); + } + + /** + * @param oauthMetadataSummaries Summary about authorization to be returned to the customer as a response. + * + * @return builder + * + */ + public Builder oauthMetadataSummaries(@Nullable Output> oauthMetadataSummaries) { + $.oauthMetadataSummaries = oauthMetadataSummaries; + return this; + } + + /** + * @param oauthMetadataSummaries Summary about authorization to be returned to the customer as a response. + * + * @return builder + * + */ + public Builder oauthMetadataSummaries(List oauthMetadataSummaries) { + return oauthMetadataSummaries(Output.of(oauthMetadataSummaries)); + } + + /** + * @param oauthMetadataSummaries Summary about authorization to be returned to the customer as a response. + * + * @return builder + * + */ + public Builder oauthMetadataSummaries(VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArgs... oauthMetadataSummaries) { + return oauthMetadataSummaries(List.of(oauthMetadataSummaries)); + } + + /** + * @param privateEndpointId OCID of private endpoint created by customer. + * + * @return builder + * + */ + public Builder privateEndpointId(@Nullable Output privateEndpointId) { + $.privateEndpointId = privateEndpointId; + return this; + } + + /** + * @param privateEndpointId OCID of private endpoint created by customer. + * + * @return builder + * + */ + public Builder privateEndpointId(String privateEndpointId) { + return privateEndpointId(Output.of(privateEndpointId)); + } + + /** + * @param vendor Vendor of the external key manager. + * + * @return builder + * + */ + public Builder vendor(@Nullable Output vendor) { + $.vendor = vendor; + return this; + } + + /** + * @param vendor Vendor of the external key manager. + * + * @return builder + * + */ + public Builder vendor(String vendor) { + return vendor(Output.of(vendor)); + } + + public VaultExternalKeyManagerMetadataSummaryArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArgs.java new file mode 100644 index 0000000000..30aa97f7da --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArgs.java @@ -0,0 +1,120 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Kms.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArgs extends com.pulumi.resources.ResourceArgs { + + public static final VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArgs Empty = new VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArgs(); + + /** + * ID of the client app created in IDP. + * + */ + @Import(name="clientAppId") + private @Nullable Output clientAppId; + + /** + * @return ID of the client app created in IDP. + * + */ + public Optional> clientAppId() { + return Optional.ofNullable(this.clientAppId); + } + + /** + * Base URL of the IDCS account where confidential client app is created. + * + */ + @Import(name="idcsAccountNameUrl") + private @Nullable Output idcsAccountNameUrl; + + /** + * @return Base URL of the IDCS account where confidential client app is created. + * + */ + public Optional> idcsAccountNameUrl() { + return Optional.ofNullable(this.idcsAccountNameUrl); + } + + private VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArgs() {} + + private VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArgs(VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArgs $) { + this.clientAppId = $.clientAppId; + this.idcsAccountNameUrl = $.idcsAccountNameUrl; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArgs $; + + public Builder() { + $ = new VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArgs(); + } + + public Builder(VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArgs defaults) { + $ = new VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param clientAppId ID of the client app created in IDP. + * + * @return builder + * + */ + public Builder clientAppId(@Nullable Output clientAppId) { + $.clientAppId = clientAppId; + return this; + } + + /** + * @param clientAppId ID of the client app created in IDP. + * + * @return builder + * + */ + public Builder clientAppId(String clientAppId) { + return clientAppId(Output.of(clientAppId)); + } + + /** + * @param idcsAccountNameUrl Base URL of the IDCS account where confidential client app is created. + * + * @return builder + * + */ + public Builder idcsAccountNameUrl(@Nullable Output idcsAccountNameUrl) { + $.idcsAccountNameUrl = idcsAccountNameUrl; + return this; + } + + /** + * @param idcsAccountNameUrl Base URL of the IDCS account where confidential client app is created. + * + * @return builder + * + */ + public Builder idcsAccountNameUrl(String idcsAccountNameUrl) { + return idcsAccountNameUrl(Output.of(idcsAccountNameUrl)); + } + + public VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/VaultState.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/VaultState.java index 41e77f9de9..657c64f716 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/VaultState.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/VaultState.java @@ -5,6 +5,8 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.oci.Kms.inputs.VaultExternalKeyManagerMetadataArgs; +import com.pulumi.oci.Kms.inputs.VaultExternalKeyManagerMetadataSummaryArgs; import com.pulumi.oci.Kms.inputs.VaultReplicaDetailArgs; import com.pulumi.oci.Kms.inputs.VaultRestoreFromFileArgs; import com.pulumi.oci.Kms.inputs.VaultRestoreFromObjectStoreArgs; @@ -82,6 +84,36 @@ public Optional> displayName() { return Optional.ofNullable(this.displayName); } + /** + * Metadata required for accessing External Key manager + * + */ + @Import(name="externalKeyManagerMetadata") + private @Nullable Output externalKeyManagerMetadata; + + /** + * @return Metadata required for accessing External Key manager + * + */ + public Optional> externalKeyManagerMetadata() { + return Optional.ofNullable(this.externalKeyManagerMetadata); + } + + /** + * Summary about metadata of external key manager to be returned to the customer as a response. + * + */ + @Import(name="externalKeyManagerMetadataSummaries") + private @Nullable Output> externalKeyManagerMetadataSummaries; + + /** + * @return Summary about metadata of external key manager to be returned to the customer as a response. + * + */ + public Optional>> externalKeyManagerMetadataSummaries() { + return Optional.ofNullable(this.externalKeyManagerMetadataSummaries); + } + /** * (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` * @@ -98,14 +130,14 @@ public Optional>> freeformTags() { } /** - * A boolean that will be true when vault is primary, and will be false when vault is a replica from a primary vault. + * A Boolean value that indicates whether the Vault is primary Vault or replica Vault. * */ @Import(name="isPrimary") private @Nullable Output isPrimary; /** - * @return A boolean that will be true when vault is primary, and will be false when vault is a replica from a primary vault. + * @return A Boolean value that indicates whether the Vault is primary Vault or replica Vault. * */ public Optional> isPrimary() { @@ -180,14 +212,14 @@ public Optional> restoreTrigger() { } /** - * The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. + * The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. * */ @Import(name="restoredFromVaultId") private @Nullable Output restoredFromVaultId; /** - * @return The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. + * @return The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. * */ public Optional> restoredFromVaultId() { @@ -267,6 +299,8 @@ private VaultState(VaultState $) { this.cryptoEndpoint = $.cryptoEndpoint; this.definedTags = $.definedTags; this.displayName = $.displayName; + this.externalKeyManagerMetadata = $.externalKeyManagerMetadata; + this.externalKeyManagerMetadataSummaries = $.externalKeyManagerMetadataSummaries; this.freeformTags = $.freeformTags; this.isPrimary = $.isPrimary; this.managementEndpoint = $.managementEndpoint; @@ -383,6 +417,58 @@ public Builder displayName(String displayName) { return displayName(Output.of(displayName)); } + /** + * @param externalKeyManagerMetadata Metadata required for accessing External Key manager + * + * @return builder + * + */ + public Builder externalKeyManagerMetadata(@Nullable Output externalKeyManagerMetadata) { + $.externalKeyManagerMetadata = externalKeyManagerMetadata; + return this; + } + + /** + * @param externalKeyManagerMetadata Metadata required for accessing External Key manager + * + * @return builder + * + */ + public Builder externalKeyManagerMetadata(VaultExternalKeyManagerMetadataArgs externalKeyManagerMetadata) { + return externalKeyManagerMetadata(Output.of(externalKeyManagerMetadata)); + } + + /** + * @param externalKeyManagerMetadataSummaries Summary about metadata of external key manager to be returned to the customer as a response. + * + * @return builder + * + */ + public Builder externalKeyManagerMetadataSummaries(@Nullable Output> externalKeyManagerMetadataSummaries) { + $.externalKeyManagerMetadataSummaries = externalKeyManagerMetadataSummaries; + return this; + } + + /** + * @param externalKeyManagerMetadataSummaries Summary about metadata of external key manager to be returned to the customer as a response. + * + * @return builder + * + */ + public Builder externalKeyManagerMetadataSummaries(List externalKeyManagerMetadataSummaries) { + return externalKeyManagerMetadataSummaries(Output.of(externalKeyManagerMetadataSummaries)); + } + + /** + * @param externalKeyManagerMetadataSummaries Summary about metadata of external key manager to be returned to the customer as a response. + * + * @return builder + * + */ + public Builder externalKeyManagerMetadataSummaries(VaultExternalKeyManagerMetadataSummaryArgs... externalKeyManagerMetadataSummaries) { + return externalKeyManagerMetadataSummaries(List.of(externalKeyManagerMetadataSummaries)); + } + /** * @param freeformTags (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` * @@ -405,7 +491,7 @@ public Builder freeformTags(Map freeformTags) { } /** - * @param isPrimary A boolean that will be true when vault is primary, and will be false when vault is a replica from a primary vault. + * @param isPrimary A Boolean value that indicates whether the Vault is primary Vault or replica Vault. * * @return builder * @@ -416,7 +502,7 @@ public Builder isPrimary(@Nullable Output isPrimary) { } /** - * @param isPrimary A boolean that will be true when vault is primary, and will be false when vault is a replica from a primary vault. + * @param isPrimary A Boolean value that indicates whether the Vault is primary Vault or replica Vault. * * @return builder * @@ -529,7 +615,7 @@ public Builder restoreTrigger(Boolean restoreTrigger) { } /** - * @param restoredFromVaultId The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. + * @param restoredFromVaultId The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. * * @return builder * @@ -540,7 +626,7 @@ public Builder restoredFromVaultId(@Nullable Output restoredFromVaultId) } /** - * @param restoredFromVaultId The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. + * @param restoredFromVaultId The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/VerifyState.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/VerifyState.java index 2377b2c9c8..1c8874855b 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/VerifyState.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/inputs/VerifyState.java @@ -92,14 +92,14 @@ public Optional> message() { } /** - * Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. + * Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. * */ @Import(name="messageType") private @Nullable Output messageType; /** - * @return Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. + * @return Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. * */ public Optional> messageType() { @@ -122,7 +122,7 @@ public Optional> signature() { } /** - * The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. + * The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. * * ** 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 @@ -132,7 +132,7 @@ public Optional> signature() { private @Nullable Output signingAlgorithm; /** - * @return The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. + * @return The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. * * ** 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 @@ -279,7 +279,7 @@ public Builder message(String message) { } /** - * @param messageType Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. + * @param messageType Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. * * @return builder * @@ -290,7 +290,7 @@ public Builder messageType(@Nullable Output messageType) { } /** - * @param messageType Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. + * @param messageType Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. * * @return builder * @@ -321,7 +321,7 @@ public Builder signature(String signature) { } /** - * @param signingAlgorithm The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. + * @param signingAlgorithm The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. * * ** 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 @@ -335,7 +335,7 @@ public Builder signingAlgorithm(@Nullable Output signingAlgorithm) { } /** - * @param signingAlgorithm The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. + * @param signingAlgorithm The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. * * ** 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 diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GeneratedKeyKeyShape.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GeneratedKeyKeyShape.java index 86ea5035b7..7b905d6d43 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GeneratedKeyKeyShape.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GeneratedKeyKeyShape.java @@ -13,7 +13,7 @@ @CustomType public final class GeneratedKeyKeyShape { /** - * @return The algorithm used by a key's key versions to encrypt or decrypt. + * @return The algorithm used by a key's key versions to encrypt or decrypt. Only AES algorithm is supported for `External` keys. * */ private String algorithm; @@ -33,7 +33,7 @@ public final class GeneratedKeyKeyShape { private GeneratedKeyKeyShape() {} /** - * @return The algorithm used by a key's key versions to encrypt or decrypt. + * @return The algorithm used by a key's key versions to encrypt or decrypt. Only AES algorithm is supported for `External` keys. * */ public String algorithm() { diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetEkmsPrivateEndpointResult.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetEkmsPrivateEndpointResult.java new file mode 100644 index 0000000000..a9cd2d2fd4 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetEkmsPrivateEndpointResult.java @@ -0,0 +1,329 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Kms.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.Integer; +import java.lang.Object; +import java.lang.String; +import java.util.Map; +import java.util.Objects; + +@CustomType +public final class GetEkmsPrivateEndpointResult { + /** + * @return CABundle to validate TLS certificate of the external key manager system in PEM format + * + */ + private String caBundle; + /** + * @return Identifier of the compartment this EKMS private endpoint belongs to + * + */ + private String compartmentId; + /** + * @return Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"foo-namespace.bar-key": "value"}` + * + */ + private Map definedTags; + /** + * @return Mutable name of the EKMS private endpoint + * + */ + private String displayName; + private String ekmsPrivateEndpointId; + /** + * @return Private IP of the external key manager system to connect to from the EKMS private endpoint + * + */ + private String externalKeyManagerIp; + /** + * @return Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + * + */ + private Map freeformTags; + /** + * @return Unique identifier that is immutable + * + */ + private String id; + /** + * @return A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state. + * + */ + private String lifecycleDetails; + /** + * @return The port of the external key manager system + * + */ + private Integer port; + /** + * @return The IP address in the customer's VCN for the EKMS private endpoint. This is taken from subnet + * + */ + private String privateEndpointIp; + /** + * @return The current state of the EKMS private endpoint resource. + * + */ + private String state; + /** + * @return Subnet Identifier + * + */ + private String subnetId; + /** + * @return The time the EKMS private endpoint was created. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. + * + */ + private String timeCreated; + /** + * @return The time the EKMS private endpoint was updated. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. + * + */ + private String timeUpdated; + + private GetEkmsPrivateEndpointResult() {} + /** + * @return CABundle to validate TLS certificate of the external key manager system in PEM format + * + */ + public String caBundle() { + return this.caBundle; + } + /** + * @return Identifier of the compartment this EKMS private endpoint belongs to + * + */ + public String compartmentId() { + return this.compartmentId; + } + /** + * @return Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"foo-namespace.bar-key": "value"}` + * + */ + public Map definedTags() { + return this.definedTags; + } + /** + * @return Mutable name of the EKMS private endpoint + * + */ + public String displayName() { + return this.displayName; + } + public String ekmsPrivateEndpointId() { + return this.ekmsPrivateEndpointId; + } + /** + * @return Private IP of the external key manager system to connect to from the EKMS private endpoint + * + */ + public String externalKeyManagerIp() { + return this.externalKeyManagerIp; + } + /** + * @return Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + * + */ + public Map freeformTags() { + return this.freeformTags; + } + /** + * @return Unique identifier that is immutable + * + */ + public String id() { + return this.id; + } + /** + * @return A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state. + * + */ + public String lifecycleDetails() { + return this.lifecycleDetails; + } + /** + * @return The port of the external key manager system + * + */ + public Integer port() { + return this.port; + } + /** + * @return The IP address in the customer's VCN for the EKMS private endpoint. This is taken from subnet + * + */ + public String privateEndpointIp() { + return this.privateEndpointIp; + } + /** + * @return The current state of the EKMS private endpoint resource. + * + */ + public String state() { + return this.state; + } + /** + * @return Subnet Identifier + * + */ + public String subnetId() { + return this.subnetId; + } + /** + * @return The time the EKMS private endpoint was created. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. + * + */ + public String timeCreated() { + return this.timeCreated; + } + /** + * @return The time the EKMS private endpoint was updated. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. + * + */ + public String timeUpdated() { + return this.timeUpdated; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetEkmsPrivateEndpointResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String caBundle; + private String compartmentId; + private Map definedTags; + private String displayName; + private String ekmsPrivateEndpointId; + private String externalKeyManagerIp; + private Map freeformTags; + private String id; + private String lifecycleDetails; + private Integer port; + private String privateEndpointIp; + private String state; + private String subnetId; + private String timeCreated; + private String timeUpdated; + public Builder() {} + public Builder(GetEkmsPrivateEndpointResult defaults) { + Objects.requireNonNull(defaults); + this.caBundle = defaults.caBundle; + this.compartmentId = defaults.compartmentId; + this.definedTags = defaults.definedTags; + this.displayName = defaults.displayName; + this.ekmsPrivateEndpointId = defaults.ekmsPrivateEndpointId; + this.externalKeyManagerIp = defaults.externalKeyManagerIp; + this.freeformTags = defaults.freeformTags; + this.id = defaults.id; + this.lifecycleDetails = defaults.lifecycleDetails; + this.port = defaults.port; + this.privateEndpointIp = defaults.privateEndpointIp; + this.state = defaults.state; + this.subnetId = defaults.subnetId; + this.timeCreated = defaults.timeCreated; + this.timeUpdated = defaults.timeUpdated; + } + + @CustomType.Setter + public Builder caBundle(String caBundle) { + this.caBundle = Objects.requireNonNull(caBundle); + return this; + } + @CustomType.Setter + public Builder compartmentId(String compartmentId) { + this.compartmentId = Objects.requireNonNull(compartmentId); + return this; + } + @CustomType.Setter + public Builder definedTags(Map definedTags) { + this.definedTags = Objects.requireNonNull(definedTags); + return this; + } + @CustomType.Setter + public Builder displayName(String displayName) { + this.displayName = Objects.requireNonNull(displayName); + return this; + } + @CustomType.Setter + public Builder ekmsPrivateEndpointId(String ekmsPrivateEndpointId) { + this.ekmsPrivateEndpointId = Objects.requireNonNull(ekmsPrivateEndpointId); + return this; + } + @CustomType.Setter + public Builder externalKeyManagerIp(String externalKeyManagerIp) { + this.externalKeyManagerIp = Objects.requireNonNull(externalKeyManagerIp); + return this; + } + @CustomType.Setter + public Builder freeformTags(Map freeformTags) { + this.freeformTags = Objects.requireNonNull(freeformTags); + return this; + } + @CustomType.Setter + public Builder id(String id) { + this.id = Objects.requireNonNull(id); + return this; + } + @CustomType.Setter + public Builder lifecycleDetails(String lifecycleDetails) { + this.lifecycleDetails = Objects.requireNonNull(lifecycleDetails); + return this; + } + @CustomType.Setter + public Builder port(Integer port) { + this.port = Objects.requireNonNull(port); + return this; + } + @CustomType.Setter + public Builder privateEndpointIp(String privateEndpointIp) { + this.privateEndpointIp = Objects.requireNonNull(privateEndpointIp); + return this; + } + @CustomType.Setter + public Builder state(String state) { + this.state = Objects.requireNonNull(state); + return this; + } + @CustomType.Setter + public Builder subnetId(String subnetId) { + this.subnetId = Objects.requireNonNull(subnetId); + return this; + } + @CustomType.Setter + public Builder timeCreated(String timeCreated) { + this.timeCreated = Objects.requireNonNull(timeCreated); + return this; + } + @CustomType.Setter + public Builder timeUpdated(String timeUpdated) { + this.timeUpdated = Objects.requireNonNull(timeUpdated); + return this; + } + public GetEkmsPrivateEndpointResult build() { + final var o = new GetEkmsPrivateEndpointResult(); + o.caBundle = caBundle; + o.compartmentId = compartmentId; + o.definedTags = definedTags; + o.displayName = displayName; + o.ekmsPrivateEndpointId = ekmsPrivateEndpointId; + o.externalKeyManagerIp = externalKeyManagerIp; + o.freeformTags = freeformTags; + o.id = id; + o.lifecycleDetails = lifecycleDetails; + o.port = port; + o.privateEndpointIp = privateEndpointIp; + o.state = state; + o.subnetId = subnetId; + o.timeCreated = timeCreated; + o.timeUpdated = timeUpdated; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetEkmsPrivateEndpointsEkmsPrivateEndpoint.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetEkmsPrivateEndpointsEkmsPrivateEndpoint.java new file mode 100644 index 0000000000..ea13ed3180 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetEkmsPrivateEndpointsEkmsPrivateEndpoint.java @@ -0,0 +1,317 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Kms.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.Integer; +import java.lang.Object; +import java.lang.String; +import java.util.Map; +import java.util.Objects; + +@CustomType +public final class GetEkmsPrivateEndpointsEkmsPrivateEndpoint { + /** + * @return CABundle to validate TLS certificate of the external key manager system in PEM format + * + */ + private String caBundle; + /** + * @return The OCID of the compartment. + * + */ + private String compartmentId; + /** + * @return Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"foo-namespace.bar-key": "value"}` + * + */ + private Map definedTags; + /** + * @return Mutable name of the EKMS private endpoint + * + */ + private String displayName; + /** + * @return Private IP of the external key manager system to connect to from the EKMS private endpoint + * + */ + private String externalKeyManagerIp; + /** + * @return Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + * + */ + private Map freeformTags; + /** + * @return Unique identifier that is immutable + * + */ + private String id; + /** + * @return A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state. + * + */ + private String lifecycleDetails; + /** + * @return The port of the external key manager system + * + */ + private Integer port; + /** + * @return The IP address in the customer's VCN for the EKMS private endpoint. This is taken from subnet + * + */ + private String privateEndpointIp; + /** + * @return The current state of the EKMS private endpoint resource. + * + */ + private String state; + /** + * @return Subnet Identifier + * + */ + private String subnetId; + /** + * @return The time the EKMS private endpoint was created. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. + * + */ + private String timeCreated; + /** + * @return The time the EKMS private endpoint was updated. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. + * + */ + private String timeUpdated; + + private GetEkmsPrivateEndpointsEkmsPrivateEndpoint() {} + /** + * @return CABundle to validate TLS certificate of the external key manager system in PEM format + * + */ + public String caBundle() { + return this.caBundle; + } + /** + * @return The OCID of the compartment. + * + */ + public String compartmentId() { + return this.compartmentId; + } + /** + * @return Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"foo-namespace.bar-key": "value"}` + * + */ + public Map definedTags() { + return this.definedTags; + } + /** + * @return Mutable name of the EKMS private endpoint + * + */ + public String displayName() { + return this.displayName; + } + /** + * @return Private IP of the external key manager system to connect to from the EKMS private endpoint + * + */ + public String externalKeyManagerIp() { + return this.externalKeyManagerIp; + } + /** + * @return Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + * + */ + public Map freeformTags() { + return this.freeformTags; + } + /** + * @return Unique identifier that is immutable + * + */ + public String id() { + return this.id; + } + /** + * @return A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state. + * + */ + public String lifecycleDetails() { + return this.lifecycleDetails; + } + /** + * @return The port of the external key manager system + * + */ + public Integer port() { + return this.port; + } + /** + * @return The IP address in the customer's VCN for the EKMS private endpoint. This is taken from subnet + * + */ + public String privateEndpointIp() { + return this.privateEndpointIp; + } + /** + * @return The current state of the EKMS private endpoint resource. + * + */ + public String state() { + return this.state; + } + /** + * @return Subnet Identifier + * + */ + public String subnetId() { + return this.subnetId; + } + /** + * @return The time the EKMS private endpoint was created. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. + * + */ + public String timeCreated() { + return this.timeCreated; + } + /** + * @return The time the EKMS private endpoint was updated. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. + * + */ + public String timeUpdated() { + return this.timeUpdated; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetEkmsPrivateEndpointsEkmsPrivateEndpoint defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String caBundle; + private String compartmentId; + private Map definedTags; + private String displayName; + private String externalKeyManagerIp; + private Map freeformTags; + private String id; + private String lifecycleDetails; + private Integer port; + private String privateEndpointIp; + private String state; + private String subnetId; + private String timeCreated; + private String timeUpdated; + public Builder() {} + public Builder(GetEkmsPrivateEndpointsEkmsPrivateEndpoint defaults) { + Objects.requireNonNull(defaults); + this.caBundle = defaults.caBundle; + this.compartmentId = defaults.compartmentId; + this.definedTags = defaults.definedTags; + this.displayName = defaults.displayName; + this.externalKeyManagerIp = defaults.externalKeyManagerIp; + this.freeformTags = defaults.freeformTags; + this.id = defaults.id; + this.lifecycleDetails = defaults.lifecycleDetails; + this.port = defaults.port; + this.privateEndpointIp = defaults.privateEndpointIp; + this.state = defaults.state; + this.subnetId = defaults.subnetId; + this.timeCreated = defaults.timeCreated; + this.timeUpdated = defaults.timeUpdated; + } + + @CustomType.Setter + public Builder caBundle(String caBundle) { + this.caBundle = Objects.requireNonNull(caBundle); + return this; + } + @CustomType.Setter + public Builder compartmentId(String compartmentId) { + this.compartmentId = Objects.requireNonNull(compartmentId); + return this; + } + @CustomType.Setter + public Builder definedTags(Map definedTags) { + this.definedTags = Objects.requireNonNull(definedTags); + return this; + } + @CustomType.Setter + public Builder displayName(String displayName) { + this.displayName = Objects.requireNonNull(displayName); + return this; + } + @CustomType.Setter + public Builder externalKeyManagerIp(String externalKeyManagerIp) { + this.externalKeyManagerIp = Objects.requireNonNull(externalKeyManagerIp); + return this; + } + @CustomType.Setter + public Builder freeformTags(Map freeformTags) { + this.freeformTags = Objects.requireNonNull(freeformTags); + return this; + } + @CustomType.Setter + public Builder id(String id) { + this.id = Objects.requireNonNull(id); + return this; + } + @CustomType.Setter + public Builder lifecycleDetails(String lifecycleDetails) { + this.lifecycleDetails = Objects.requireNonNull(lifecycleDetails); + return this; + } + @CustomType.Setter + public Builder port(Integer port) { + this.port = Objects.requireNonNull(port); + return this; + } + @CustomType.Setter + public Builder privateEndpointIp(String privateEndpointIp) { + this.privateEndpointIp = Objects.requireNonNull(privateEndpointIp); + return this; + } + @CustomType.Setter + public Builder state(String state) { + this.state = Objects.requireNonNull(state); + return this; + } + @CustomType.Setter + public Builder subnetId(String subnetId) { + this.subnetId = Objects.requireNonNull(subnetId); + return this; + } + @CustomType.Setter + public Builder timeCreated(String timeCreated) { + this.timeCreated = Objects.requireNonNull(timeCreated); + return this; + } + @CustomType.Setter + public Builder timeUpdated(String timeUpdated) { + this.timeUpdated = Objects.requireNonNull(timeUpdated); + return this; + } + public GetEkmsPrivateEndpointsEkmsPrivateEndpoint build() { + final var o = new GetEkmsPrivateEndpointsEkmsPrivateEndpoint(); + o.caBundle = caBundle; + o.compartmentId = compartmentId; + o.definedTags = definedTags; + o.displayName = displayName; + o.externalKeyManagerIp = externalKeyManagerIp; + o.freeformTags = freeformTags; + o.id = id; + o.lifecycleDetails = lifecycleDetails; + o.port = port; + o.privateEndpointIp = privateEndpointIp; + o.state = state; + o.subnetId = subnetId; + o.timeCreated = timeCreated; + o.timeUpdated = timeUpdated; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetEkmsPrivateEndpointsFilter.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetEkmsPrivateEndpointsFilter.java new file mode 100644 index 0000000000..71e6b57bb9 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetEkmsPrivateEndpointsFilter.java @@ -0,0 +1,77 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Kms.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetEkmsPrivateEndpointsFilter { + private String name; + private @Nullable Boolean regex; + private List values; + + private GetEkmsPrivateEndpointsFilter() {} + public String name() { + return this.name; + } + public Optional regex() { + return Optional.ofNullable(this.regex); + } + public List values() { + return this.values; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetEkmsPrivateEndpointsFilter defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String name; + private @Nullable Boolean regex; + private List values; + public Builder() {} + public Builder(GetEkmsPrivateEndpointsFilter defaults) { + Objects.requireNonNull(defaults); + this.name = defaults.name; + this.regex = defaults.regex; + this.values = defaults.values; + } + + @CustomType.Setter + public Builder name(String name) { + this.name = Objects.requireNonNull(name); + return this; + } + @CustomType.Setter + public Builder regex(@Nullable Boolean regex) { + this.regex = regex; + return this; + } + @CustomType.Setter + public Builder values(List values) { + this.values = Objects.requireNonNull(values); + return this; + } + public Builder values(String... values) { + return values(List.of(values)); + } + public GetEkmsPrivateEndpointsFilter build() { + final var o = new GetEkmsPrivateEndpointsFilter(); + o.name = name; + o.regex = regex; + o.values = values; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetEkmsPrivateEndpointsResult.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetEkmsPrivateEndpointsResult.java new file mode 100644 index 0000000000..e1bc32e8cb --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetEkmsPrivateEndpointsResult.java @@ -0,0 +1,116 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Kms.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.oci.Kms.outputs.GetEkmsPrivateEndpointsEkmsPrivateEndpoint; +import com.pulumi.oci.Kms.outputs.GetEkmsPrivateEndpointsFilter; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import javax.annotation.Nullable; + +@CustomType +public final class GetEkmsPrivateEndpointsResult { + /** + * @return Identifier of the compartment this EKMS private endpoint belongs to + * + */ + private String compartmentId; + /** + * @return The list of ekms_private_endpoints. + * + */ + private List ekmsPrivateEndpoints; + private @Nullable List filters; + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + private String id; + + private GetEkmsPrivateEndpointsResult() {} + /** + * @return Identifier of the compartment this EKMS private endpoint belongs to + * + */ + public String compartmentId() { + return this.compartmentId; + } + /** + * @return The list of ekms_private_endpoints. + * + */ + public List ekmsPrivateEndpoints() { + return this.ekmsPrivateEndpoints; + } + public List filters() { + return this.filters == null ? List.of() : this.filters; + } + /** + * @return The provider-assigned unique ID for this managed resource. + * + */ + public String id() { + return this.id; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetEkmsPrivateEndpointsResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String compartmentId; + private List ekmsPrivateEndpoints; + private @Nullable List filters; + private String id; + public Builder() {} + public Builder(GetEkmsPrivateEndpointsResult defaults) { + Objects.requireNonNull(defaults); + this.compartmentId = defaults.compartmentId; + this.ekmsPrivateEndpoints = defaults.ekmsPrivateEndpoints; + this.filters = defaults.filters; + this.id = defaults.id; + } + + @CustomType.Setter + public Builder compartmentId(String compartmentId) { + this.compartmentId = Objects.requireNonNull(compartmentId); + return this; + } + @CustomType.Setter + public Builder ekmsPrivateEndpoints(List ekmsPrivateEndpoints) { + this.ekmsPrivateEndpoints = Objects.requireNonNull(ekmsPrivateEndpoints); + return this; + } + public Builder ekmsPrivateEndpoints(GetEkmsPrivateEndpointsEkmsPrivateEndpoint... ekmsPrivateEndpoints) { + return ekmsPrivateEndpoints(List.of(ekmsPrivateEndpoints)); + } + @CustomType.Setter + public Builder filters(@Nullable List filters) { + this.filters = filters; + return this; + } + public Builder filters(GetEkmsPrivateEndpointsFilter... filters) { + return filters(List.of(filters)); + } + @CustomType.Setter + public Builder id(String id) { + this.id = Objects.requireNonNull(id); + return this; + } + public GetEkmsPrivateEndpointsResult build() { + final var o = new GetEkmsPrivateEndpointsResult(); + o.compartmentId = compartmentId; + o.ekmsPrivateEndpoints = ekmsPrivateEndpoints; + o.filters = filters; + o.id = id; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetKeyExternalKeyReference.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetKeyExternalKeyReference.java new file mode 100644 index 0000000000..9ff88a7b7f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetKeyExternalKeyReference.java @@ -0,0 +1,54 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Kms.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetKeyExternalKeyReference { + /** + * @return ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. + * + */ + private String externalKeyId; + + private GetKeyExternalKeyReference() {} + /** + * @return ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. + * + */ + public String externalKeyId() { + return this.externalKeyId; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetKeyExternalKeyReference defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String externalKeyId; + public Builder() {} + public Builder(GetKeyExternalKeyReference defaults) { + Objects.requireNonNull(defaults); + this.externalKeyId = defaults.externalKeyId; + } + + @CustomType.Setter + public Builder externalKeyId(String externalKeyId) { + this.externalKeyId = Objects.requireNonNull(externalKeyId); + return this; + } + public GetKeyExternalKeyReference build() { + final var o = new GetKeyExternalKeyReference(); + o.externalKeyId = externalKeyId; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetKeyExternalKeyReferenceDetail.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetKeyExternalKeyReferenceDetail.java new file mode 100644 index 0000000000..eec1d8a0f3 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetKeyExternalKeyReferenceDetail.java @@ -0,0 +1,74 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Kms.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetKeyExternalKeyReferenceDetail { + /** + * @return ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. + * + */ + private String externalKeyId; + /** + * @return Key version ID associated with the external key. + * + */ + private String externalKeyVersionId; + + private GetKeyExternalKeyReferenceDetail() {} + /** + * @return ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. + * + */ + public String externalKeyId() { + return this.externalKeyId; + } + /** + * @return Key version ID associated with the external key. + * + */ + public String externalKeyVersionId() { + return this.externalKeyVersionId; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetKeyExternalKeyReferenceDetail defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String externalKeyId; + private String externalKeyVersionId; + public Builder() {} + public Builder(GetKeyExternalKeyReferenceDetail defaults) { + Objects.requireNonNull(defaults); + this.externalKeyId = defaults.externalKeyId; + this.externalKeyVersionId = defaults.externalKeyVersionId; + } + + @CustomType.Setter + public Builder externalKeyId(String externalKeyId) { + this.externalKeyId = Objects.requireNonNull(externalKeyId); + return this; + } + @CustomType.Setter + public Builder externalKeyVersionId(String externalKeyVersionId) { + this.externalKeyVersionId = Objects.requireNonNull(externalKeyVersionId); + return this; + } + public GetKeyExternalKeyReferenceDetail build() { + final var o = new GetKeyExternalKeyReferenceDetail(); + o.externalKeyId = externalKeyId; + o.externalKeyVersionId = externalKeyVersionId; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetKeyKeyShape.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetKeyKeyShape.java index 4623651f2e..7b4291f5e5 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetKeyKeyShape.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetKeyKeyShape.java @@ -11,7 +11,7 @@ @CustomType public final class GetKeyKeyShape { /** - * @return The algorithm used by a key's key versions to encrypt or decrypt. + * @return The algorithm used by a key's key versions to encrypt or decrypt. Only AES algorithm is supported for `External` keys. * */ private String algorithm; @@ -31,7 +31,7 @@ public final class GetKeyKeyShape { private GetKeyKeyShape() {} /** - * @return The algorithm used by a key's key versions to encrypt or decrypt. + * @return The algorithm used by a key's key versions to encrypt or decrypt. Only AES algorithm is supported for `External` keys. * */ public String algorithm() { diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetKeyResult.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetKeyResult.java index 28a2c46e9f..eceba34406 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetKeyResult.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetKeyResult.java @@ -4,6 +4,8 @@ package com.pulumi.oci.Kms.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.oci.Kms.outputs.GetKeyExternalKeyReference; +import com.pulumi.oci.Kms.outputs.GetKeyExternalKeyReferenceDetail; import com.pulumi.oci.Kms.outputs.GetKeyKeyShape; import com.pulumi.oci.Kms.outputs.GetKeyReplicaDetail; import com.pulumi.oci.Kms.outputs.GetKeyRestoreFromFile; @@ -38,6 +40,12 @@ public final class GetKeyResult { * */ private String displayName; + /** + * @return Key reference data to be returned to the customer as a response. + * + */ + private List externalKeyReferenceDetails; + private List externalKeyReferences; /** * @return 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` * @@ -49,7 +57,7 @@ public final class GetKeyResult { */ private String id; /** - * @return A boolean that will be true when key is primary, and will be false when key is a replica from a primary key. + * @return A Boolean value that indicates whether the Key belongs to primary Vault or replica vault. * */ private Boolean isPrimary; @@ -61,7 +69,7 @@ public final class GetKeyResult { private List keyShapes; private String managementEndpoint; /** - * @return The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. + * @return The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager. * */ private String protectionMode; @@ -143,6 +151,16 @@ public String desiredState() { public String displayName() { return this.displayName; } + /** + * @return Key reference data to be returned to the customer as a response. + * + */ + public List externalKeyReferenceDetails() { + return this.externalKeyReferenceDetails; + } + public List externalKeyReferences() { + return this.externalKeyReferences; + } /** * @return 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` * @@ -158,7 +176,7 @@ public String id() { return this.id; } /** - * @return A boolean that will be true when key is primary, and will be false when key is a replica from a primary key. + * @return A Boolean value that indicates whether the Key belongs to primary Vault or replica vault. * */ public Boolean isPrimary() { @@ -178,7 +196,7 @@ public String managementEndpoint() { return this.managementEndpoint; } /** - * @return The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. + * @return The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager. * */ public String protectionMode() { @@ -262,6 +280,8 @@ public static final class Builder { private Map definedTags; private String desiredState; private String displayName; + private List externalKeyReferenceDetails; + private List externalKeyReferences; private Map freeformTags; private String id; private Boolean isPrimary; @@ -286,6 +306,8 @@ public Builder(GetKeyResult defaults) { this.definedTags = defaults.definedTags; this.desiredState = defaults.desiredState; this.displayName = defaults.displayName; + this.externalKeyReferenceDetails = defaults.externalKeyReferenceDetails; + this.externalKeyReferences = defaults.externalKeyReferences; this.freeformTags = defaults.freeformTags; this.id = defaults.id; this.isPrimary = defaults.isPrimary; @@ -330,6 +352,22 @@ public Builder displayName(String displayName) { return this; } @CustomType.Setter + public Builder externalKeyReferenceDetails(List externalKeyReferenceDetails) { + this.externalKeyReferenceDetails = Objects.requireNonNull(externalKeyReferenceDetails); + return this; + } + public Builder externalKeyReferenceDetails(GetKeyExternalKeyReferenceDetail... externalKeyReferenceDetails) { + return externalKeyReferenceDetails(List.of(externalKeyReferenceDetails)); + } + @CustomType.Setter + public Builder externalKeyReferences(List externalKeyReferences) { + this.externalKeyReferences = Objects.requireNonNull(externalKeyReferences); + return this; + } + public Builder externalKeyReferences(GetKeyExternalKeyReference... externalKeyReferences) { + return externalKeyReferences(List.of(externalKeyReferences)); + } + @CustomType.Setter public Builder freeformTags(Map freeformTags) { this.freeformTags = Objects.requireNonNull(freeformTags); return this; @@ -428,6 +466,8 @@ public GetKeyResult build() { o.definedTags = definedTags; o.desiredState = desiredState; o.displayName = displayName; + o.externalKeyReferenceDetails = externalKeyReferenceDetails; + o.externalKeyReferences = externalKeyReferences; o.freeformTags = freeformTags; o.id = id; o.isPrimary = isPrimary; diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetKeyVersionExternalKeyReferenceDetail.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetKeyVersionExternalKeyReferenceDetail.java new file mode 100644 index 0000000000..40bfbd175b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetKeyVersionExternalKeyReferenceDetail.java @@ -0,0 +1,74 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Kms.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetKeyVersionExternalKeyReferenceDetail { + /** + * @return ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. + * + */ + private String externalKeyId; + /** + * @return Key version ID associated with the external key. + * + */ + private String externalKeyVersionId; + + private GetKeyVersionExternalKeyReferenceDetail() {} + /** + * @return ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. + * + */ + public String externalKeyId() { + return this.externalKeyId; + } + /** + * @return Key version ID associated with the external key. + * + */ + public String externalKeyVersionId() { + return this.externalKeyVersionId; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetKeyVersionExternalKeyReferenceDetail defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String externalKeyId; + private String externalKeyVersionId; + public Builder() {} + public Builder(GetKeyVersionExternalKeyReferenceDetail defaults) { + Objects.requireNonNull(defaults); + this.externalKeyId = defaults.externalKeyId; + this.externalKeyVersionId = defaults.externalKeyVersionId; + } + + @CustomType.Setter + public Builder externalKeyId(String externalKeyId) { + this.externalKeyId = Objects.requireNonNull(externalKeyId); + return this; + } + @CustomType.Setter + public Builder externalKeyVersionId(String externalKeyVersionId) { + this.externalKeyVersionId = Objects.requireNonNull(externalKeyVersionId); + return this; + } + public GetKeyVersionExternalKeyReferenceDetail build() { + final var o = new GetKeyVersionExternalKeyReferenceDetail(); + o.externalKeyId = externalKeyId; + o.externalKeyVersionId = externalKeyVersionId; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetKeyVersionResult.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetKeyVersionResult.java index 504308a191..2f5904ce58 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetKeyVersionResult.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetKeyVersionResult.java @@ -4,6 +4,7 @@ package com.pulumi.oci.Kms.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.oci.Kms.outputs.GetKeyVersionExternalKeyReferenceDetail; import com.pulumi.oci.Kms.outputs.GetKeyVersionReplicaDetail; import java.lang.Boolean; import java.lang.String; @@ -17,13 +18,23 @@ public final class GetKeyVersionResult { * */ private String compartmentId; + /** + * @return Key reference data to be returned to the customer as a response. + * + */ + private List externalKeyReferenceDetails; + /** + * @return Key version ID associated with the external key. + * + */ + private String externalKeyVersionId; /** * @return The OCID of the key version. * */ private String id; /** - * @return A boolean that will be true when key version is primary, and will be false when key version is a replica from a primary key version. + * @return A Boolean value that indicates whether the KeyVersion belongs to primary Vault or replica Vault. * */ private Boolean isPrimary; @@ -83,6 +94,20 @@ private GetKeyVersionResult() {} public String compartmentId() { return this.compartmentId; } + /** + * @return Key reference data to be returned to the customer as a response. + * + */ + public List externalKeyReferenceDetails() { + return this.externalKeyReferenceDetails; + } + /** + * @return Key version ID associated with the external key. + * + */ + public String externalKeyVersionId() { + return this.externalKeyVersionId; + } /** * @return The OCID of the key version. * @@ -91,7 +116,7 @@ public String id() { return this.id; } /** - * @return A boolean that will be true when key version is primary, and will be false when key version is a replica from a primary key version. + * @return A Boolean value that indicates whether the KeyVersion belongs to primary Vault or replica Vault. * */ public Boolean isPrimary() { @@ -177,6 +202,8 @@ public static Builder builder(GetKeyVersionResult defaults) { @CustomType.Builder public static final class Builder { private String compartmentId; + private List externalKeyReferenceDetails; + private String externalKeyVersionId; private String id; private Boolean isPrimary; private String keyId; @@ -194,6 +221,8 @@ public Builder() {} public Builder(GetKeyVersionResult defaults) { Objects.requireNonNull(defaults); this.compartmentId = defaults.compartmentId; + this.externalKeyReferenceDetails = defaults.externalKeyReferenceDetails; + this.externalKeyVersionId = defaults.externalKeyVersionId; this.id = defaults.id; this.isPrimary = defaults.isPrimary; this.keyId = defaults.keyId; @@ -215,6 +244,19 @@ public Builder compartmentId(String compartmentId) { return this; } @CustomType.Setter + public Builder externalKeyReferenceDetails(List externalKeyReferenceDetails) { + this.externalKeyReferenceDetails = Objects.requireNonNull(externalKeyReferenceDetails); + return this; + } + public Builder externalKeyReferenceDetails(GetKeyVersionExternalKeyReferenceDetail... externalKeyReferenceDetails) { + return externalKeyReferenceDetails(List.of(externalKeyReferenceDetails)); + } + @CustomType.Setter + public Builder externalKeyVersionId(String externalKeyVersionId) { + this.externalKeyVersionId = Objects.requireNonNull(externalKeyVersionId); + return this; + } + @CustomType.Setter public Builder id(String id) { this.id = Objects.requireNonNull(id); return this; @@ -285,6 +327,8 @@ public Builder vaultId(String vaultId) { public GetKeyVersionResult build() { final var o = new GetKeyVersionResult(); o.compartmentId = compartmentId; + o.externalKeyReferenceDetails = externalKeyReferenceDetails; + o.externalKeyVersionId = externalKeyVersionId; o.id = id; o.isPrimary = isPrimary; o.keyId = keyId; diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetKeyVersionsKeyVersion.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetKeyVersionsKeyVersion.java index 192e1a0dbe..bf8b6eb687 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetKeyVersionsKeyVersion.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetKeyVersionsKeyVersion.java @@ -4,6 +4,7 @@ package com.pulumi.oci.Kms.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.oci.Kms.outputs.GetKeyVersionsKeyVersionExternalKeyReferenceDetail; import com.pulumi.oci.Kms.outputs.GetKeyVersionsKeyVersionReplicaDetail; import java.lang.Boolean; import java.lang.String; @@ -17,13 +18,23 @@ public final class GetKeyVersionsKeyVersion { * */ private String compartmentId; + /** + * @return Key reference data to be returned to the customer as a response. + * + */ + private List externalKeyReferenceDetails; + /** + * @return Key version ID associated with the external key. + * + */ + private String externalKeyVersionId; /** * @return The OCID of the key version. * */ private String id; /** - * @return A boolean that will be true when key version is primary, and will be false when key version is a replica from a primary key version. + * @return A Boolean value that indicates whether the KeyVersion belongs to primary Vault or replica Vault. * */ private Boolean isPrimary; @@ -87,6 +98,20 @@ private GetKeyVersionsKeyVersion() {} public String compartmentId() { return this.compartmentId; } + /** + * @return Key reference data to be returned to the customer as a response. + * + */ + public List externalKeyReferenceDetails() { + return this.externalKeyReferenceDetails; + } + /** + * @return Key version ID associated with the external key. + * + */ + public String externalKeyVersionId() { + return this.externalKeyVersionId; + } /** * @return The OCID of the key version. * @@ -95,7 +120,7 @@ public String id() { return this.id; } /** - * @return A boolean that will be true when key version is primary, and will be false when key version is a replica from a primary key version. + * @return A Boolean value that indicates whether the KeyVersion belongs to primary Vault or replica Vault. * */ public Boolean isPrimary() { @@ -185,6 +210,8 @@ public static Builder builder(GetKeyVersionsKeyVersion defaults) { @CustomType.Builder public static final class Builder { private String compartmentId; + private List externalKeyReferenceDetails; + private String externalKeyVersionId; private String id; private Boolean isPrimary; private String keyId; @@ -202,6 +229,8 @@ public Builder() {} public Builder(GetKeyVersionsKeyVersion defaults) { Objects.requireNonNull(defaults); this.compartmentId = defaults.compartmentId; + this.externalKeyReferenceDetails = defaults.externalKeyReferenceDetails; + this.externalKeyVersionId = defaults.externalKeyVersionId; this.id = defaults.id; this.isPrimary = defaults.isPrimary; this.keyId = defaults.keyId; @@ -223,6 +252,19 @@ public Builder compartmentId(String compartmentId) { return this; } @CustomType.Setter + public Builder externalKeyReferenceDetails(List externalKeyReferenceDetails) { + this.externalKeyReferenceDetails = Objects.requireNonNull(externalKeyReferenceDetails); + return this; + } + public Builder externalKeyReferenceDetails(GetKeyVersionsKeyVersionExternalKeyReferenceDetail... externalKeyReferenceDetails) { + return externalKeyReferenceDetails(List.of(externalKeyReferenceDetails)); + } + @CustomType.Setter + public Builder externalKeyVersionId(String externalKeyVersionId) { + this.externalKeyVersionId = Objects.requireNonNull(externalKeyVersionId); + return this; + } + @CustomType.Setter public Builder id(String id) { this.id = Objects.requireNonNull(id); return this; @@ -293,6 +335,8 @@ public Builder vaultId(String vaultId) { public GetKeyVersionsKeyVersion build() { final var o = new GetKeyVersionsKeyVersion(); o.compartmentId = compartmentId; + o.externalKeyReferenceDetails = externalKeyReferenceDetails; + o.externalKeyVersionId = externalKeyVersionId; o.id = id; o.isPrimary = isPrimary; o.keyId = keyId; diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetKeyVersionsKeyVersionExternalKeyReferenceDetail.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetKeyVersionsKeyVersionExternalKeyReferenceDetail.java new file mode 100644 index 0000000000..58730286c2 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetKeyVersionsKeyVersionExternalKeyReferenceDetail.java @@ -0,0 +1,74 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Kms.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetKeyVersionsKeyVersionExternalKeyReferenceDetail { + /** + * @return ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. + * + */ + private String externalKeyId; + /** + * @return Key version ID associated with the external key. + * + */ + private String externalKeyVersionId; + + private GetKeyVersionsKeyVersionExternalKeyReferenceDetail() {} + /** + * @return ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. + * + */ + public String externalKeyId() { + return this.externalKeyId; + } + /** + * @return Key version ID associated with the external key. + * + */ + public String externalKeyVersionId() { + return this.externalKeyVersionId; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetKeyVersionsKeyVersionExternalKeyReferenceDetail defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String externalKeyId; + private String externalKeyVersionId; + public Builder() {} + public Builder(GetKeyVersionsKeyVersionExternalKeyReferenceDetail defaults) { + Objects.requireNonNull(defaults); + this.externalKeyId = defaults.externalKeyId; + this.externalKeyVersionId = defaults.externalKeyVersionId; + } + + @CustomType.Setter + public Builder externalKeyId(String externalKeyId) { + this.externalKeyId = Objects.requireNonNull(externalKeyId); + return this; + } + @CustomType.Setter + public Builder externalKeyVersionId(String externalKeyVersionId) { + this.externalKeyVersionId = Objects.requireNonNull(externalKeyVersionId); + return this; + } + public GetKeyVersionsKeyVersionExternalKeyReferenceDetail build() { + final var o = new GetKeyVersionsKeyVersionExternalKeyReferenceDetail(); + o.externalKeyId = externalKeyId; + o.externalKeyVersionId = externalKeyVersionId; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetKeysKey.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetKeysKey.java index 50fe01571f..969ac5f3be 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetKeysKey.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetKeysKey.java @@ -4,6 +4,8 @@ package com.pulumi.oci.Kms.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.oci.Kms.outputs.GetKeysKeyExternalKeyReference; +import com.pulumi.oci.Kms.outputs.GetKeysKeyExternalKeyReferenceDetail; import com.pulumi.oci.Kms.outputs.GetKeysKeyKeyShape; import com.pulumi.oci.Kms.outputs.GetKeysKeyReplicaDetail; import com.pulumi.oci.Kms.outputs.GetKeysKeyRestoreFromFile; @@ -38,6 +40,12 @@ public final class GetKeysKey { * */ private String displayName; + /** + * @return Key reference data to be returned to the customer as a response. + * + */ + private List externalKeyReferenceDetails; + private List externalKeyReferences; /** * @return 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` * @@ -49,7 +57,7 @@ public final class GetKeysKey { */ private String id; /** - * @return A boolean that will be true when key is primary, and will be false when key is a replica from a primary key. + * @return A Boolean value that indicates whether the Key belongs to primary Vault or replica vault. * */ private Boolean isPrimary; @@ -64,7 +72,7 @@ public final class GetKeysKey { */ private String managementEndpoint; /** - * @return A key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. + * @return A key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager. * */ private String protectionMode; @@ -130,6 +138,16 @@ public String desiredState() { public String displayName() { return this.displayName; } + /** + * @return Key reference data to be returned to the customer as a response. + * + */ + public List externalKeyReferenceDetails() { + return this.externalKeyReferenceDetails; + } + public List externalKeyReferences() { + return this.externalKeyReferences; + } /** * @return 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` * @@ -145,7 +163,7 @@ public String id() { return this.id; } /** - * @return A boolean that will be true when key is primary, and will be false when key is a replica from a primary key. + * @return A Boolean value that indicates whether the Key belongs to primary Vault or replica vault. * */ public Boolean isPrimary() { @@ -166,7 +184,7 @@ public String managementEndpoint() { return this.managementEndpoint; } /** - * @return A key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. + * @return A key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager. * */ public String protectionMode() { @@ -234,6 +252,8 @@ public static final class Builder { private Map definedTags; private String desiredState; private String displayName; + private List externalKeyReferenceDetails; + private List externalKeyReferences; private Map freeformTags; private String id; private Boolean isPrimary; @@ -257,6 +277,8 @@ public Builder(GetKeysKey defaults) { this.definedTags = defaults.definedTags; this.desiredState = defaults.desiredState; this.displayName = defaults.displayName; + this.externalKeyReferenceDetails = defaults.externalKeyReferenceDetails; + this.externalKeyReferences = defaults.externalKeyReferences; this.freeformTags = defaults.freeformTags; this.id = defaults.id; this.isPrimary = defaults.isPrimary; @@ -300,6 +322,22 @@ public Builder displayName(String displayName) { return this; } @CustomType.Setter + public Builder externalKeyReferenceDetails(List externalKeyReferenceDetails) { + this.externalKeyReferenceDetails = Objects.requireNonNull(externalKeyReferenceDetails); + return this; + } + public Builder externalKeyReferenceDetails(GetKeysKeyExternalKeyReferenceDetail... externalKeyReferenceDetails) { + return externalKeyReferenceDetails(List.of(externalKeyReferenceDetails)); + } + @CustomType.Setter + public Builder externalKeyReferences(List externalKeyReferences) { + this.externalKeyReferences = Objects.requireNonNull(externalKeyReferences); + return this; + } + public Builder externalKeyReferences(GetKeysKeyExternalKeyReference... externalKeyReferences) { + return externalKeyReferences(List.of(externalKeyReferences)); + } + @CustomType.Setter public Builder freeformTags(Map freeformTags) { this.freeformTags = Objects.requireNonNull(freeformTags); return this; @@ -393,6 +431,8 @@ public GetKeysKey build() { o.definedTags = definedTags; o.desiredState = desiredState; o.displayName = displayName; + o.externalKeyReferenceDetails = externalKeyReferenceDetails; + o.externalKeyReferences = externalKeyReferences; o.freeformTags = freeformTags; o.id = id; o.isPrimary = isPrimary; diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetKeysKeyExternalKeyReference.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetKeysKeyExternalKeyReference.java new file mode 100644 index 0000000000..80c1308e74 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetKeysKeyExternalKeyReference.java @@ -0,0 +1,54 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Kms.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetKeysKeyExternalKeyReference { + /** + * @return ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. + * + */ + private String externalKeyId; + + private GetKeysKeyExternalKeyReference() {} + /** + * @return ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. + * + */ + public String externalKeyId() { + return this.externalKeyId; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetKeysKeyExternalKeyReference defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String externalKeyId; + public Builder() {} + public Builder(GetKeysKeyExternalKeyReference defaults) { + Objects.requireNonNull(defaults); + this.externalKeyId = defaults.externalKeyId; + } + + @CustomType.Setter + public Builder externalKeyId(String externalKeyId) { + this.externalKeyId = Objects.requireNonNull(externalKeyId); + return this; + } + public GetKeysKeyExternalKeyReference build() { + final var o = new GetKeysKeyExternalKeyReference(); + o.externalKeyId = externalKeyId; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetKeysKeyExternalKeyReferenceDetail.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetKeysKeyExternalKeyReferenceDetail.java new file mode 100644 index 0000000000..13cc10519c --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetKeysKeyExternalKeyReferenceDetail.java @@ -0,0 +1,74 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Kms.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetKeysKeyExternalKeyReferenceDetail { + /** + * @return ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. + * + */ + private String externalKeyId; + /** + * @return Key version ID associated with the external key. + * + */ + private String externalKeyVersionId; + + private GetKeysKeyExternalKeyReferenceDetail() {} + /** + * @return ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. + * + */ + public String externalKeyId() { + return this.externalKeyId; + } + /** + * @return Key version ID associated with the external key. + * + */ + public String externalKeyVersionId() { + return this.externalKeyVersionId; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetKeysKeyExternalKeyReferenceDetail defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String externalKeyId; + private String externalKeyVersionId; + public Builder() {} + public Builder(GetKeysKeyExternalKeyReferenceDetail defaults) { + Objects.requireNonNull(defaults); + this.externalKeyId = defaults.externalKeyId; + this.externalKeyVersionId = defaults.externalKeyVersionId; + } + + @CustomType.Setter + public Builder externalKeyId(String externalKeyId) { + this.externalKeyId = Objects.requireNonNull(externalKeyId); + return this; + } + @CustomType.Setter + public Builder externalKeyVersionId(String externalKeyVersionId) { + this.externalKeyVersionId = Objects.requireNonNull(externalKeyVersionId); + return this; + } + public GetKeysKeyExternalKeyReferenceDetail build() { + final var o = new GetKeysKeyExternalKeyReferenceDetail(); + o.externalKeyId = externalKeyId; + o.externalKeyVersionId = externalKeyVersionId; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetKeysResult.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetKeysResult.java index da7716282f..10ef05d3e1 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetKeysResult.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetKeysResult.java @@ -16,7 +16,7 @@ @CustomType public final class GetKeysResult { /** - * @return The algorithm used by a key's key versions to encrypt or decrypt. + * @return The algorithm used by a key's key versions to encrypt or decrypt. Only AES algorithm is supported for `External` keys. * */ private @Nullable String algorithm; @@ -51,14 +51,14 @@ public final class GetKeysResult { private @Nullable Integer length; private String managementEndpoint; /** - * @return The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. + * @return The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager. * */ private @Nullable String protectionMode; private GetKeysResult() {} /** - * @return The algorithm used by a key's key versions to encrypt or decrypt. + * @return The algorithm used by a key's key versions to encrypt or decrypt. Only AES algorithm is supported for `External` keys. * */ public Optional algorithm() { @@ -109,7 +109,7 @@ public String managementEndpoint() { return this.managementEndpoint; } /** - * @return The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. + * @return The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager. * */ public Optional protectionMode() { diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetReplicationStatusResult.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetReplicationStatusResult.java index fb28dc8e01..9c8ceeb443 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetReplicationStatusResult.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetReplicationStatusResult.java @@ -17,6 +17,10 @@ public final class GetReplicationStatusResult { */ private String id; private String managementEndpoint; + /** + * @return Replica Details. + * + */ private List replicaDetails; private String replicationId; @@ -31,6 +35,10 @@ public String id() { public String managementEndpoint() { return this.managementEndpoint; } + /** + * @return Replica Details. + * + */ public List replicaDetails() { return this.replicaDetails; } diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetVaultExternalKeyManagerMetadata.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetVaultExternalKeyManagerMetadata.java new file mode 100644 index 0000000000..b6ced602a4 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetVaultExternalKeyManagerMetadata.java @@ -0,0 +1,91 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Kms.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.oci.Kms.outputs.GetVaultExternalKeyManagerMetadataOauthMetadata; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetVaultExternalKeyManagerMetadata { + /** + * @return URL of the vault on external key manager. + * + */ + private String externalVaultEndpointUrl; + private List oauthMetadatas; + /** + * @return OCID of the private endpoint. + * + */ + private String privateEndpointId; + + private GetVaultExternalKeyManagerMetadata() {} + /** + * @return URL of the vault on external key manager. + * + */ + public String externalVaultEndpointUrl() { + return this.externalVaultEndpointUrl; + } + public List oauthMetadatas() { + return this.oauthMetadatas; + } + /** + * @return OCID of the private endpoint. + * + */ + public String privateEndpointId() { + return this.privateEndpointId; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetVaultExternalKeyManagerMetadata defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String externalVaultEndpointUrl; + private List oauthMetadatas; + private String privateEndpointId; + public Builder() {} + public Builder(GetVaultExternalKeyManagerMetadata defaults) { + Objects.requireNonNull(defaults); + this.externalVaultEndpointUrl = defaults.externalVaultEndpointUrl; + this.oauthMetadatas = defaults.oauthMetadatas; + this.privateEndpointId = defaults.privateEndpointId; + } + + @CustomType.Setter + public Builder externalVaultEndpointUrl(String externalVaultEndpointUrl) { + this.externalVaultEndpointUrl = Objects.requireNonNull(externalVaultEndpointUrl); + return this; + } + @CustomType.Setter + public Builder oauthMetadatas(List oauthMetadatas) { + this.oauthMetadatas = Objects.requireNonNull(oauthMetadatas); + return this; + } + public Builder oauthMetadatas(GetVaultExternalKeyManagerMetadataOauthMetadata... oauthMetadatas) { + return oauthMetadatas(List.of(oauthMetadatas)); + } + @CustomType.Setter + public Builder privateEndpointId(String privateEndpointId) { + this.privateEndpointId = Objects.requireNonNull(privateEndpointId); + return this; + } + public GetVaultExternalKeyManagerMetadata build() { + final var o = new GetVaultExternalKeyManagerMetadata(); + o.externalVaultEndpointUrl = externalVaultEndpointUrl; + o.oauthMetadatas = oauthMetadatas; + o.privateEndpointId = privateEndpointId; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetVaultExternalKeyManagerMetadataOauthMetadata.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetVaultExternalKeyManagerMetadataOauthMetadata.java new file mode 100644 index 0000000000..d8b64ac770 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetVaultExternalKeyManagerMetadataOauthMetadata.java @@ -0,0 +1,86 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Kms.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetVaultExternalKeyManagerMetadataOauthMetadata { + /** + * @return ID of the client app created in IDP. + * + */ + private String clientAppId; + private String clientAppSecret; + /** + * @return Base URL of the IDCS account where confidential client app is created. + * + */ + private String idcsAccountNameUrl; + + private GetVaultExternalKeyManagerMetadataOauthMetadata() {} + /** + * @return ID of the client app created in IDP. + * + */ + public String clientAppId() { + return this.clientAppId; + } + public String clientAppSecret() { + return this.clientAppSecret; + } + /** + * @return Base URL of the IDCS account where confidential client app is created. + * + */ + public String idcsAccountNameUrl() { + return this.idcsAccountNameUrl; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetVaultExternalKeyManagerMetadataOauthMetadata defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String clientAppId; + private String clientAppSecret; + private String idcsAccountNameUrl; + public Builder() {} + public Builder(GetVaultExternalKeyManagerMetadataOauthMetadata defaults) { + Objects.requireNonNull(defaults); + this.clientAppId = defaults.clientAppId; + this.clientAppSecret = defaults.clientAppSecret; + this.idcsAccountNameUrl = defaults.idcsAccountNameUrl; + } + + @CustomType.Setter + public Builder clientAppId(String clientAppId) { + this.clientAppId = Objects.requireNonNull(clientAppId); + return this; + } + @CustomType.Setter + public Builder clientAppSecret(String clientAppSecret) { + this.clientAppSecret = Objects.requireNonNull(clientAppSecret); + return this; + } + @CustomType.Setter + public Builder idcsAccountNameUrl(String idcsAccountNameUrl) { + this.idcsAccountNameUrl = Objects.requireNonNull(idcsAccountNameUrl); + return this; + } + public GetVaultExternalKeyManagerMetadataOauthMetadata build() { + final var o = new GetVaultExternalKeyManagerMetadataOauthMetadata(); + o.clientAppId = clientAppId; + o.clientAppSecret = clientAppSecret; + o.idcsAccountNameUrl = idcsAccountNameUrl; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetVaultExternalKeyManagerMetadataSummary.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetVaultExternalKeyManagerMetadataSummary.java new file mode 100644 index 0000000000..5b395cc1f1 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetVaultExternalKeyManagerMetadataSummary.java @@ -0,0 +1,119 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Kms.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.oci.Kms.outputs.GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetVaultExternalKeyManagerMetadataSummary { + /** + * @return URL of the vault on external key manager. + * + */ + private String externalVaultEndpointUrl; + /** + * @return Summary about authorization to be returned to the customer as a response. + * + */ + private List oauthMetadataSummaries; + /** + * @return OCID of the private endpoint. + * + */ + private String privateEndpointId; + /** + * @return Vendor of the external key manager. + * + */ + private String vendor; + + private GetVaultExternalKeyManagerMetadataSummary() {} + /** + * @return URL of the vault on external key manager. + * + */ + public String externalVaultEndpointUrl() { + return this.externalVaultEndpointUrl; + } + /** + * @return Summary about authorization to be returned to the customer as a response. + * + */ + public List oauthMetadataSummaries() { + return this.oauthMetadataSummaries; + } + /** + * @return OCID of the private endpoint. + * + */ + public String privateEndpointId() { + return this.privateEndpointId; + } + /** + * @return Vendor of the external key manager. + * + */ + public String vendor() { + return this.vendor; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetVaultExternalKeyManagerMetadataSummary defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String externalVaultEndpointUrl; + private List oauthMetadataSummaries; + private String privateEndpointId; + private String vendor; + public Builder() {} + public Builder(GetVaultExternalKeyManagerMetadataSummary defaults) { + Objects.requireNonNull(defaults); + this.externalVaultEndpointUrl = defaults.externalVaultEndpointUrl; + this.oauthMetadataSummaries = defaults.oauthMetadataSummaries; + this.privateEndpointId = defaults.privateEndpointId; + this.vendor = defaults.vendor; + } + + @CustomType.Setter + public Builder externalVaultEndpointUrl(String externalVaultEndpointUrl) { + this.externalVaultEndpointUrl = Objects.requireNonNull(externalVaultEndpointUrl); + return this; + } + @CustomType.Setter + public Builder oauthMetadataSummaries(List oauthMetadataSummaries) { + this.oauthMetadataSummaries = Objects.requireNonNull(oauthMetadataSummaries); + return this; + } + public Builder oauthMetadataSummaries(GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary... oauthMetadataSummaries) { + return oauthMetadataSummaries(List.of(oauthMetadataSummaries)); + } + @CustomType.Setter + public Builder privateEndpointId(String privateEndpointId) { + this.privateEndpointId = Objects.requireNonNull(privateEndpointId); + return this; + } + @CustomType.Setter + public Builder vendor(String vendor) { + this.vendor = Objects.requireNonNull(vendor); + return this; + } + public GetVaultExternalKeyManagerMetadataSummary build() { + final var o = new GetVaultExternalKeyManagerMetadataSummary(); + o.externalVaultEndpointUrl = externalVaultEndpointUrl; + o.oauthMetadataSummaries = oauthMetadataSummaries; + o.privateEndpointId = privateEndpointId; + o.vendor = vendor; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary.java new file mode 100644 index 0000000000..e73bc2bc61 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary.java @@ -0,0 +1,74 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Kms.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary { + /** + * @return ID of the client app created in IDP. + * + */ + private String clientAppId; + /** + * @return Base URL of the IDCS account where confidential client app is created. + * + */ + private String idcsAccountNameUrl; + + private GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary() {} + /** + * @return ID of the client app created in IDP. + * + */ + public String clientAppId() { + return this.clientAppId; + } + /** + * @return Base URL of the IDCS account where confidential client app is created. + * + */ + public String idcsAccountNameUrl() { + return this.idcsAccountNameUrl; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String clientAppId; + private String idcsAccountNameUrl; + public Builder() {} + public Builder(GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary defaults) { + Objects.requireNonNull(defaults); + this.clientAppId = defaults.clientAppId; + this.idcsAccountNameUrl = defaults.idcsAccountNameUrl; + } + + @CustomType.Setter + public Builder clientAppId(String clientAppId) { + this.clientAppId = Objects.requireNonNull(clientAppId); + return this; + } + @CustomType.Setter + public Builder idcsAccountNameUrl(String idcsAccountNameUrl) { + this.idcsAccountNameUrl = Objects.requireNonNull(idcsAccountNameUrl); + return this; + } + public GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary build() { + final var o = new GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary(); + o.clientAppId = clientAppId; + o.idcsAccountNameUrl = idcsAccountNameUrl; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetVaultReplicasVaultReplica.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetVaultReplicasVaultReplica.java index a7880bed6a..2fd8f9ffda 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetVaultReplicasVaultReplica.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetVaultReplicasVaultReplica.java @@ -25,7 +25,7 @@ public final class GetVaultReplicasVaultReplica { */ private String region; /** - * @return The vault replica's status + * @return Status of the Vault * */ private String status; @@ -53,7 +53,7 @@ public String region() { return this.region; } /** - * @return The vault replica's status + * @return Status of the Vault * */ public String status() { diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetVaultResult.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetVaultResult.java index 72bd7cb244..947996dad6 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetVaultResult.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetVaultResult.java @@ -4,6 +4,8 @@ package com.pulumi.oci.Kms.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.oci.Kms.outputs.GetVaultExternalKeyManagerMetadata; +import com.pulumi.oci.Kms.outputs.GetVaultExternalKeyManagerMetadataSummary; import com.pulumi.oci.Kms.outputs.GetVaultReplicaDetail; import com.pulumi.oci.Kms.outputs.GetVaultRestoreFromFile; import com.pulumi.oci.Kms.outputs.GetVaultRestoreFromObjectStore; @@ -36,6 +38,12 @@ public final class GetVaultResult { * */ private String displayName; + /** + * @return Summary about metadata of external key manager to be returned to the customer as a response. + * + */ + private List externalKeyManagerMetadataSummaries; + private List externalKeyManagerMetadatas; /** * @return 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` * @@ -47,7 +55,7 @@ public final class GetVaultResult { */ private String id; /** - * @return A boolean that will be true when vault is primary, and will be false when vault is a replica from a primary vault. + * @return A Boolean value that indicates whether the Vault is primary Vault or replica Vault. * */ private Boolean isPrimary; @@ -77,7 +85,7 @@ public final class GetVaultResult { */ private Boolean restoreTrigger; /** - * @return The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. + * @return The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. * */ private String restoredFromVaultId; @@ -132,6 +140,16 @@ public Map definedTags() { public String displayName() { return this.displayName; } + /** + * @return Summary about metadata of external key manager to be returned to the customer as a response. + * + */ + public List externalKeyManagerMetadataSummaries() { + return this.externalKeyManagerMetadataSummaries; + } + public List externalKeyManagerMetadatas() { + return this.externalKeyManagerMetadatas; + } /** * @return 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` * @@ -147,7 +165,7 @@ public String id() { return this.id; } /** - * @return A boolean that will be true when vault is primary, and will be false when vault is a replica from a primary vault. + * @return A Boolean value that indicates whether the Vault is primary Vault or replica Vault. * */ public Boolean isPrimary() { @@ -189,7 +207,7 @@ public Boolean restoreTrigger() { return this.restoreTrigger; } /** - * @return The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. + * @return The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. * */ public String restoredFromVaultId() { @@ -240,6 +258,8 @@ public static final class Builder { private String cryptoEndpoint; private Map definedTags; private String displayName; + private List externalKeyManagerMetadataSummaries; + private List externalKeyManagerMetadatas; private Map freeformTags; private String id; private Boolean isPrimary; @@ -261,6 +281,8 @@ public Builder(GetVaultResult defaults) { this.cryptoEndpoint = defaults.cryptoEndpoint; this.definedTags = defaults.definedTags; this.displayName = defaults.displayName; + this.externalKeyManagerMetadataSummaries = defaults.externalKeyManagerMetadataSummaries; + this.externalKeyManagerMetadatas = defaults.externalKeyManagerMetadatas; this.freeformTags = defaults.freeformTags; this.id = defaults.id; this.isPrimary = defaults.isPrimary; @@ -298,6 +320,22 @@ public Builder displayName(String displayName) { return this; } @CustomType.Setter + public Builder externalKeyManagerMetadataSummaries(List externalKeyManagerMetadataSummaries) { + this.externalKeyManagerMetadataSummaries = Objects.requireNonNull(externalKeyManagerMetadataSummaries); + return this; + } + public Builder externalKeyManagerMetadataSummaries(GetVaultExternalKeyManagerMetadataSummary... externalKeyManagerMetadataSummaries) { + return externalKeyManagerMetadataSummaries(List.of(externalKeyManagerMetadataSummaries)); + } + @CustomType.Setter + public Builder externalKeyManagerMetadatas(List externalKeyManagerMetadatas) { + this.externalKeyManagerMetadatas = Objects.requireNonNull(externalKeyManagerMetadatas); + return this; + } + public Builder externalKeyManagerMetadatas(GetVaultExternalKeyManagerMetadata... externalKeyManagerMetadatas) { + return externalKeyManagerMetadatas(List.of(externalKeyManagerMetadatas)); + } + @CustomType.Setter public Builder freeformTags(Map freeformTags) { this.freeformTags = Objects.requireNonNull(freeformTags); return this; @@ -382,6 +420,8 @@ public GetVaultResult build() { o.cryptoEndpoint = cryptoEndpoint; o.definedTags = definedTags; o.displayName = displayName; + o.externalKeyManagerMetadataSummaries = externalKeyManagerMetadataSummaries; + o.externalKeyManagerMetadatas = externalKeyManagerMetadatas; o.freeformTags = freeformTags; o.id = id; o.isPrimary = isPrimary; diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetVaultsVault.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetVaultsVault.java index 92f1ee8b2e..c1e5be7d64 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetVaultsVault.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetVaultsVault.java @@ -4,6 +4,8 @@ package com.pulumi.oci.Kms.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.oci.Kms.outputs.GetVaultsVaultExternalKeyManagerMetadata; +import com.pulumi.oci.Kms.outputs.GetVaultsVaultExternalKeyManagerMetadataSummary; import com.pulumi.oci.Kms.outputs.GetVaultsVaultReplicaDetail; import com.pulumi.oci.Kms.outputs.GetVaultsVaultRestoreFromFile; import com.pulumi.oci.Kms.outputs.GetVaultsVaultRestoreFromObjectStore; @@ -36,6 +38,12 @@ public final class GetVaultsVault { * */ private String displayName; + /** + * @return Summary about metadata of external key manager to be returned to the customer as a response. + * + */ + private List externalKeyManagerMetadataSummaries; + private List externalKeyManagerMetadatas; /** * @return 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` * @@ -47,7 +55,7 @@ public final class GetVaultsVault { */ private String id; /** - * @return A boolean that will be true when vault is primary, and will be false when vault is a replica from a primary vault. + * @return A Boolean value that indicates whether the Vault is primary Vault or replica Vault. * */ private Boolean isPrimary; @@ -65,7 +73,7 @@ public final class GetVaultsVault { private List restoreFromObjectStores; private Boolean restoreTrigger; /** - * @return The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. + * @return The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. * */ private String restoredFromVaultId; @@ -119,6 +127,16 @@ public Map definedTags() { public String displayName() { return this.displayName; } + /** + * @return Summary about metadata of external key manager to be returned to the customer as a response. + * + */ + public List externalKeyManagerMetadataSummaries() { + return this.externalKeyManagerMetadataSummaries; + } + public List externalKeyManagerMetadatas() { + return this.externalKeyManagerMetadatas; + } /** * @return 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` * @@ -134,7 +152,7 @@ public String id() { return this.id; } /** - * @return A boolean that will be true when vault is primary, and will be false when vault is a replica from a primary vault. + * @return A Boolean value that indicates whether the Vault is primary Vault or replica Vault. * */ public Boolean isPrimary() { @@ -164,7 +182,7 @@ public Boolean restoreTrigger() { return this.restoreTrigger; } /** - * @return The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. + * @return The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. * */ public String restoredFromVaultId() { @@ -212,6 +230,8 @@ public static final class Builder { private String cryptoEndpoint; private Map definedTags; private String displayName; + private List externalKeyManagerMetadataSummaries; + private List externalKeyManagerMetadatas; private Map freeformTags; private String id; private Boolean isPrimary; @@ -232,6 +252,8 @@ public Builder(GetVaultsVault defaults) { this.cryptoEndpoint = defaults.cryptoEndpoint; this.definedTags = defaults.definedTags; this.displayName = defaults.displayName; + this.externalKeyManagerMetadataSummaries = defaults.externalKeyManagerMetadataSummaries; + this.externalKeyManagerMetadatas = defaults.externalKeyManagerMetadatas; this.freeformTags = defaults.freeformTags; this.id = defaults.id; this.isPrimary = defaults.isPrimary; @@ -268,6 +290,22 @@ public Builder displayName(String displayName) { return this; } @CustomType.Setter + public Builder externalKeyManagerMetadataSummaries(List externalKeyManagerMetadataSummaries) { + this.externalKeyManagerMetadataSummaries = Objects.requireNonNull(externalKeyManagerMetadataSummaries); + return this; + } + public Builder externalKeyManagerMetadataSummaries(GetVaultsVaultExternalKeyManagerMetadataSummary... externalKeyManagerMetadataSummaries) { + return externalKeyManagerMetadataSummaries(List.of(externalKeyManagerMetadataSummaries)); + } + @CustomType.Setter + public Builder externalKeyManagerMetadatas(List externalKeyManagerMetadatas) { + this.externalKeyManagerMetadatas = Objects.requireNonNull(externalKeyManagerMetadatas); + return this; + } + public Builder externalKeyManagerMetadatas(GetVaultsVaultExternalKeyManagerMetadata... externalKeyManagerMetadatas) { + return externalKeyManagerMetadatas(List.of(externalKeyManagerMetadatas)); + } + @CustomType.Setter public Builder freeformTags(Map freeformTags) { this.freeformTags = Objects.requireNonNull(freeformTags); return this; @@ -347,6 +385,8 @@ public GetVaultsVault build() { o.cryptoEndpoint = cryptoEndpoint; o.definedTags = definedTags; o.displayName = displayName; + o.externalKeyManagerMetadataSummaries = externalKeyManagerMetadataSummaries; + o.externalKeyManagerMetadatas = externalKeyManagerMetadatas; o.freeformTags = freeformTags; o.id = id; o.isPrimary = isPrimary; diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetVaultsVaultExternalKeyManagerMetadata.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetVaultsVaultExternalKeyManagerMetadata.java new file mode 100644 index 0000000000..2ceb90ec1e --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetVaultsVaultExternalKeyManagerMetadata.java @@ -0,0 +1,91 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Kms.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.oci.Kms.outputs.GetVaultsVaultExternalKeyManagerMetadataOauthMetadata; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetVaultsVaultExternalKeyManagerMetadata { + /** + * @return URL of the vault on external key manager. + * + */ + private String externalVaultEndpointUrl; + private List oauthMetadatas; + /** + * @return OCID of the private endpoint. + * + */ + private String privateEndpointId; + + private GetVaultsVaultExternalKeyManagerMetadata() {} + /** + * @return URL of the vault on external key manager. + * + */ + public String externalVaultEndpointUrl() { + return this.externalVaultEndpointUrl; + } + public List oauthMetadatas() { + return this.oauthMetadatas; + } + /** + * @return OCID of the private endpoint. + * + */ + public String privateEndpointId() { + return this.privateEndpointId; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetVaultsVaultExternalKeyManagerMetadata defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String externalVaultEndpointUrl; + private List oauthMetadatas; + private String privateEndpointId; + public Builder() {} + public Builder(GetVaultsVaultExternalKeyManagerMetadata defaults) { + Objects.requireNonNull(defaults); + this.externalVaultEndpointUrl = defaults.externalVaultEndpointUrl; + this.oauthMetadatas = defaults.oauthMetadatas; + this.privateEndpointId = defaults.privateEndpointId; + } + + @CustomType.Setter + public Builder externalVaultEndpointUrl(String externalVaultEndpointUrl) { + this.externalVaultEndpointUrl = Objects.requireNonNull(externalVaultEndpointUrl); + return this; + } + @CustomType.Setter + public Builder oauthMetadatas(List oauthMetadatas) { + this.oauthMetadatas = Objects.requireNonNull(oauthMetadatas); + return this; + } + public Builder oauthMetadatas(GetVaultsVaultExternalKeyManagerMetadataOauthMetadata... oauthMetadatas) { + return oauthMetadatas(List.of(oauthMetadatas)); + } + @CustomType.Setter + public Builder privateEndpointId(String privateEndpointId) { + this.privateEndpointId = Objects.requireNonNull(privateEndpointId); + return this; + } + public GetVaultsVaultExternalKeyManagerMetadata build() { + final var o = new GetVaultsVaultExternalKeyManagerMetadata(); + o.externalVaultEndpointUrl = externalVaultEndpointUrl; + o.oauthMetadatas = oauthMetadatas; + o.privateEndpointId = privateEndpointId; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetVaultsVaultExternalKeyManagerMetadataOauthMetadata.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetVaultsVaultExternalKeyManagerMetadataOauthMetadata.java new file mode 100644 index 0000000000..fe2b87911d --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetVaultsVaultExternalKeyManagerMetadataOauthMetadata.java @@ -0,0 +1,86 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Kms.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetVaultsVaultExternalKeyManagerMetadataOauthMetadata { + /** + * @return ID of the client app created in IDP. + * + */ + private String clientAppId; + private String clientAppSecret; + /** + * @return Base URL of the IDCS account where confidential client app is created. + * + */ + private String idcsAccountNameUrl; + + private GetVaultsVaultExternalKeyManagerMetadataOauthMetadata() {} + /** + * @return ID of the client app created in IDP. + * + */ + public String clientAppId() { + return this.clientAppId; + } + public String clientAppSecret() { + return this.clientAppSecret; + } + /** + * @return Base URL of the IDCS account where confidential client app is created. + * + */ + public String idcsAccountNameUrl() { + return this.idcsAccountNameUrl; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetVaultsVaultExternalKeyManagerMetadataOauthMetadata defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String clientAppId; + private String clientAppSecret; + private String idcsAccountNameUrl; + public Builder() {} + public Builder(GetVaultsVaultExternalKeyManagerMetadataOauthMetadata defaults) { + Objects.requireNonNull(defaults); + this.clientAppId = defaults.clientAppId; + this.clientAppSecret = defaults.clientAppSecret; + this.idcsAccountNameUrl = defaults.idcsAccountNameUrl; + } + + @CustomType.Setter + public Builder clientAppId(String clientAppId) { + this.clientAppId = Objects.requireNonNull(clientAppId); + return this; + } + @CustomType.Setter + public Builder clientAppSecret(String clientAppSecret) { + this.clientAppSecret = Objects.requireNonNull(clientAppSecret); + return this; + } + @CustomType.Setter + public Builder idcsAccountNameUrl(String idcsAccountNameUrl) { + this.idcsAccountNameUrl = Objects.requireNonNull(idcsAccountNameUrl); + return this; + } + public GetVaultsVaultExternalKeyManagerMetadataOauthMetadata build() { + final var o = new GetVaultsVaultExternalKeyManagerMetadataOauthMetadata(); + o.clientAppId = clientAppId; + o.clientAppSecret = clientAppSecret; + o.idcsAccountNameUrl = idcsAccountNameUrl; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetVaultsVaultExternalKeyManagerMetadataSummary.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetVaultsVaultExternalKeyManagerMetadataSummary.java new file mode 100644 index 0000000000..a7032d62ac --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetVaultsVaultExternalKeyManagerMetadataSummary.java @@ -0,0 +1,119 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Kms.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.oci.Kms.outputs.GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetVaultsVaultExternalKeyManagerMetadataSummary { + /** + * @return URL of the vault on external key manager. + * + */ + private String externalVaultEndpointUrl; + /** + * @return Summary about authorization to be returned to the customer as a response. + * + */ + private List oauthMetadataSummaries; + /** + * @return OCID of the private endpoint. + * + */ + private String privateEndpointId; + /** + * @return Vendor of the external key manager. + * + */ + private String vendor; + + private GetVaultsVaultExternalKeyManagerMetadataSummary() {} + /** + * @return URL of the vault on external key manager. + * + */ + public String externalVaultEndpointUrl() { + return this.externalVaultEndpointUrl; + } + /** + * @return Summary about authorization to be returned to the customer as a response. + * + */ + public List oauthMetadataSummaries() { + return this.oauthMetadataSummaries; + } + /** + * @return OCID of the private endpoint. + * + */ + public String privateEndpointId() { + return this.privateEndpointId; + } + /** + * @return Vendor of the external key manager. + * + */ + public String vendor() { + return this.vendor; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetVaultsVaultExternalKeyManagerMetadataSummary defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String externalVaultEndpointUrl; + private List oauthMetadataSummaries; + private String privateEndpointId; + private String vendor; + public Builder() {} + public Builder(GetVaultsVaultExternalKeyManagerMetadataSummary defaults) { + Objects.requireNonNull(defaults); + this.externalVaultEndpointUrl = defaults.externalVaultEndpointUrl; + this.oauthMetadataSummaries = defaults.oauthMetadataSummaries; + this.privateEndpointId = defaults.privateEndpointId; + this.vendor = defaults.vendor; + } + + @CustomType.Setter + public Builder externalVaultEndpointUrl(String externalVaultEndpointUrl) { + this.externalVaultEndpointUrl = Objects.requireNonNull(externalVaultEndpointUrl); + return this; + } + @CustomType.Setter + public Builder oauthMetadataSummaries(List oauthMetadataSummaries) { + this.oauthMetadataSummaries = Objects.requireNonNull(oauthMetadataSummaries); + return this; + } + public Builder oauthMetadataSummaries(GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary... oauthMetadataSummaries) { + return oauthMetadataSummaries(List.of(oauthMetadataSummaries)); + } + @CustomType.Setter + public Builder privateEndpointId(String privateEndpointId) { + this.privateEndpointId = Objects.requireNonNull(privateEndpointId); + return this; + } + @CustomType.Setter + public Builder vendor(String vendor) { + this.vendor = Objects.requireNonNull(vendor); + return this; + } + public GetVaultsVaultExternalKeyManagerMetadataSummary build() { + final var o = new GetVaultsVaultExternalKeyManagerMetadataSummary(); + o.externalVaultEndpointUrl = externalVaultEndpointUrl; + o.oauthMetadataSummaries = oauthMetadataSummaries; + o.privateEndpointId = privateEndpointId; + o.vendor = vendor; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary.java new file mode 100644 index 0000000000..0077547e36 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary.java @@ -0,0 +1,74 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Kms.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary { + /** + * @return ID of the client app created in IDP. + * + */ + private String clientAppId; + /** + * @return Base URL of the IDCS account where confidential client app is created. + * + */ + private String idcsAccountNameUrl; + + private GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary() {} + /** + * @return ID of the client app created in IDP. + * + */ + public String clientAppId() { + return this.clientAppId; + } + /** + * @return Base URL of the IDCS account where confidential client app is created. + * + */ + public String idcsAccountNameUrl() { + return this.idcsAccountNameUrl; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String clientAppId; + private String idcsAccountNameUrl; + public Builder() {} + public Builder(GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary defaults) { + Objects.requireNonNull(defaults); + this.clientAppId = defaults.clientAppId; + this.idcsAccountNameUrl = defaults.idcsAccountNameUrl; + } + + @CustomType.Setter + public Builder clientAppId(String clientAppId) { + this.clientAppId = Objects.requireNonNull(clientAppId); + return this; + } + @CustomType.Setter + public Builder idcsAccountNameUrl(String idcsAccountNameUrl) { + this.idcsAccountNameUrl = Objects.requireNonNull(idcsAccountNameUrl); + return this; + } + public GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary build() { + final var o = new GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary(); + o.clientAppId = clientAppId; + o.idcsAccountNameUrl = idcsAccountNameUrl; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/KeyExternalKeyReference.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/KeyExternalKeyReference.java new file mode 100644 index 0000000000..b3b74bac91 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/KeyExternalKeyReference.java @@ -0,0 +1,54 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Kms.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class KeyExternalKeyReference { + /** + * @return ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM + * + */ + private String externalKeyId; + + private KeyExternalKeyReference() {} + /** + * @return ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM + * + */ + public String externalKeyId() { + return this.externalKeyId; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(KeyExternalKeyReference defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String externalKeyId; + public Builder() {} + public Builder(KeyExternalKeyReference defaults) { + Objects.requireNonNull(defaults); + this.externalKeyId = defaults.externalKeyId; + } + + @CustomType.Setter + public Builder externalKeyId(String externalKeyId) { + this.externalKeyId = Objects.requireNonNull(externalKeyId); + return this; + } + public KeyExternalKeyReference build() { + final var o = new KeyExternalKeyReference(); + o.externalKeyId = externalKeyId; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/KeyExternalKeyReferenceDetail.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/KeyExternalKeyReferenceDetail.java new file mode 100644 index 0000000000..691ad66682 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/KeyExternalKeyReferenceDetail.java @@ -0,0 +1,76 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Kms.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class KeyExternalKeyReferenceDetail { + /** + * @return ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM + * + */ + private @Nullable String externalKeyId; + /** + * @return Key version ID associated with the external key. + * + */ + private @Nullable String externalKeyVersionId; + + private KeyExternalKeyReferenceDetail() {} + /** + * @return ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM + * + */ + public Optional externalKeyId() { + return Optional.ofNullable(this.externalKeyId); + } + /** + * @return Key version ID associated with the external key. + * + */ + public Optional externalKeyVersionId() { + return Optional.ofNullable(this.externalKeyVersionId); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(KeyExternalKeyReferenceDetail defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String externalKeyId; + private @Nullable String externalKeyVersionId; + public Builder() {} + public Builder(KeyExternalKeyReferenceDetail defaults) { + Objects.requireNonNull(defaults); + this.externalKeyId = defaults.externalKeyId; + this.externalKeyVersionId = defaults.externalKeyVersionId; + } + + @CustomType.Setter + public Builder externalKeyId(@Nullable String externalKeyId) { + this.externalKeyId = externalKeyId; + return this; + } + @CustomType.Setter + public Builder externalKeyVersionId(@Nullable String externalKeyVersionId) { + this.externalKeyVersionId = externalKeyVersionId; + return this; + } + public KeyExternalKeyReferenceDetail build() { + final var o = new KeyExternalKeyReferenceDetail(); + o.externalKeyId = externalKeyId; + o.externalKeyVersionId = externalKeyVersionId; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/KeyKeyShape.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/KeyKeyShape.java index 53a586d94e..0c1152d4bd 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/KeyKeyShape.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/KeyKeyShape.java @@ -13,7 +13,7 @@ @CustomType public final class KeyKeyShape { /** - * @return The algorithm used by a key's key versions to encrypt or decrypt. + * @return The algorithm used by a key's key versions to encrypt or decrypt. Only AES algorithm is supported for `External` keys. * */ private String algorithm; @@ -33,7 +33,7 @@ public final class KeyKeyShape { private KeyKeyShape() {} /** - * @return The algorithm used by a key's key versions to encrypt or decrypt. + * @return The algorithm used by a key's key versions to encrypt or decrypt. Only AES algorithm is supported for `External` keys. * */ public String algorithm() { diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/KeyVersionExternalKeyReferenceDetail.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/KeyVersionExternalKeyReferenceDetail.java new file mode 100644 index 0000000000..39b35fd2f2 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/KeyVersionExternalKeyReferenceDetail.java @@ -0,0 +1,76 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Kms.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class KeyVersionExternalKeyReferenceDetail { + /** + * @return ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. + * + */ + private @Nullable String externalKeyId; + /** + * @return Key version ID associated with the external key. + * + */ + private @Nullable String externalKeyVersionId; + + private KeyVersionExternalKeyReferenceDetail() {} + /** + * @return ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. + * + */ + public Optional externalKeyId() { + return Optional.ofNullable(this.externalKeyId); + } + /** + * @return Key version ID associated with the external key. + * + */ + public Optional externalKeyVersionId() { + return Optional.ofNullable(this.externalKeyVersionId); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(KeyVersionExternalKeyReferenceDetail defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String externalKeyId; + private @Nullable String externalKeyVersionId; + public Builder() {} + public Builder(KeyVersionExternalKeyReferenceDetail defaults) { + Objects.requireNonNull(defaults); + this.externalKeyId = defaults.externalKeyId; + this.externalKeyVersionId = defaults.externalKeyVersionId; + } + + @CustomType.Setter + public Builder externalKeyId(@Nullable String externalKeyId) { + this.externalKeyId = externalKeyId; + return this; + } + @CustomType.Setter + public Builder externalKeyVersionId(@Nullable String externalKeyVersionId) { + this.externalKeyVersionId = externalKeyVersionId; + return this; + } + public KeyVersionExternalKeyReferenceDetail build() { + final var o = new KeyVersionExternalKeyReferenceDetail(); + o.externalKeyId = externalKeyId; + o.externalKeyVersionId = externalKeyVersionId; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/VaultExternalKeyManagerMetadata.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/VaultExternalKeyManagerMetadata.java new file mode 100644 index 0000000000..4b93ee32ee --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/VaultExternalKeyManagerMetadata.java @@ -0,0 +1,95 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Kms.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.oci.Kms.outputs.VaultExternalKeyManagerMetadataOauthMetadata; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class VaultExternalKeyManagerMetadata { + /** + * @return URI of the vault on external key manager. + * + */ + private String externalVaultEndpointUrl; + /** + * @return Authorization details required to get access token from IDP for accessing protected resources. + * + */ + private VaultExternalKeyManagerMetadataOauthMetadata oauthMetadata; + /** + * @return OCID of private endpoint created by customer. + * + */ + private String privateEndpointId; + + private VaultExternalKeyManagerMetadata() {} + /** + * @return URI of the vault on external key manager. + * + */ + public String externalVaultEndpointUrl() { + return this.externalVaultEndpointUrl; + } + /** + * @return Authorization details required to get access token from IDP for accessing protected resources. + * + */ + public VaultExternalKeyManagerMetadataOauthMetadata oauthMetadata() { + return this.oauthMetadata; + } + /** + * @return OCID of private endpoint created by customer. + * + */ + public String privateEndpointId() { + return this.privateEndpointId; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(VaultExternalKeyManagerMetadata defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String externalVaultEndpointUrl; + private VaultExternalKeyManagerMetadataOauthMetadata oauthMetadata; + private String privateEndpointId; + public Builder() {} + public Builder(VaultExternalKeyManagerMetadata defaults) { + Objects.requireNonNull(defaults); + this.externalVaultEndpointUrl = defaults.externalVaultEndpointUrl; + this.oauthMetadata = defaults.oauthMetadata; + this.privateEndpointId = defaults.privateEndpointId; + } + + @CustomType.Setter + public Builder externalVaultEndpointUrl(String externalVaultEndpointUrl) { + this.externalVaultEndpointUrl = Objects.requireNonNull(externalVaultEndpointUrl); + return this; + } + @CustomType.Setter + public Builder oauthMetadata(VaultExternalKeyManagerMetadataOauthMetadata oauthMetadata) { + this.oauthMetadata = Objects.requireNonNull(oauthMetadata); + return this; + } + @CustomType.Setter + public Builder privateEndpointId(String privateEndpointId) { + this.privateEndpointId = Objects.requireNonNull(privateEndpointId); + return this; + } + public VaultExternalKeyManagerMetadata build() { + final var o = new VaultExternalKeyManagerMetadata(); + o.externalVaultEndpointUrl = externalVaultEndpointUrl; + o.oauthMetadata = oauthMetadata; + o.privateEndpointId = privateEndpointId; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/VaultExternalKeyManagerMetadataOauthMetadata.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/VaultExternalKeyManagerMetadataOauthMetadata.java new file mode 100644 index 0000000000..bd661288c0 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/VaultExternalKeyManagerMetadataOauthMetadata.java @@ -0,0 +1,94 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Kms.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class VaultExternalKeyManagerMetadataOauthMetadata { + /** + * @return ID of the client app created in IDP. + * + */ + private String clientAppId; + /** + * @return Secret of the client app created in IDP. + * + */ + private String clientAppSecret; + /** + * @return Base URL of the IDCS account where confidential client app is created. + * + */ + private String idcsAccountNameUrl; + + private VaultExternalKeyManagerMetadataOauthMetadata() {} + /** + * @return ID of the client app created in IDP. + * + */ + public String clientAppId() { + return this.clientAppId; + } + /** + * @return Secret of the client app created in IDP. + * + */ + public String clientAppSecret() { + return this.clientAppSecret; + } + /** + * @return Base URL of the IDCS account where confidential client app is created. + * + */ + public String idcsAccountNameUrl() { + return this.idcsAccountNameUrl; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(VaultExternalKeyManagerMetadataOauthMetadata defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String clientAppId; + private String clientAppSecret; + private String idcsAccountNameUrl; + public Builder() {} + public Builder(VaultExternalKeyManagerMetadataOauthMetadata defaults) { + Objects.requireNonNull(defaults); + this.clientAppId = defaults.clientAppId; + this.clientAppSecret = defaults.clientAppSecret; + this.idcsAccountNameUrl = defaults.idcsAccountNameUrl; + } + + @CustomType.Setter + public Builder clientAppId(String clientAppId) { + this.clientAppId = Objects.requireNonNull(clientAppId); + return this; + } + @CustomType.Setter + public Builder clientAppSecret(String clientAppSecret) { + this.clientAppSecret = Objects.requireNonNull(clientAppSecret); + return this; + } + @CustomType.Setter + public Builder idcsAccountNameUrl(String idcsAccountNameUrl) { + this.idcsAccountNameUrl = Objects.requireNonNull(idcsAccountNameUrl); + return this; + } + public VaultExternalKeyManagerMetadataOauthMetadata build() { + final var o = new VaultExternalKeyManagerMetadataOauthMetadata(); + o.clientAppId = clientAppId; + o.clientAppSecret = clientAppSecret; + o.idcsAccountNameUrl = idcsAccountNameUrl; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/VaultExternalKeyManagerMetadataSummary.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/VaultExternalKeyManagerMetadataSummary.java new file mode 100644 index 0000000000..eba79193ab --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/VaultExternalKeyManagerMetadataSummary.java @@ -0,0 +1,121 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Kms.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.oci.Kms.outputs.VaultExternalKeyManagerMetadataSummaryOauthMetadataSummary; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class VaultExternalKeyManagerMetadataSummary { + /** + * @return URI of the vault on external key manager. + * + */ + private @Nullable String externalVaultEndpointUrl; + /** + * @return Summary about authorization to be returned to the customer as a response. + * + */ + private @Nullable List oauthMetadataSummaries; + /** + * @return OCID of private endpoint created by customer. + * + */ + private @Nullable String privateEndpointId; + /** + * @return Vendor of the external key manager. + * + */ + private @Nullable String vendor; + + private VaultExternalKeyManagerMetadataSummary() {} + /** + * @return URI of the vault on external key manager. + * + */ + public Optional externalVaultEndpointUrl() { + return Optional.ofNullable(this.externalVaultEndpointUrl); + } + /** + * @return Summary about authorization to be returned to the customer as a response. + * + */ + public List oauthMetadataSummaries() { + return this.oauthMetadataSummaries == null ? List.of() : this.oauthMetadataSummaries; + } + /** + * @return OCID of private endpoint created by customer. + * + */ + public Optional privateEndpointId() { + return Optional.ofNullable(this.privateEndpointId); + } + /** + * @return Vendor of the external key manager. + * + */ + public Optional vendor() { + return Optional.ofNullable(this.vendor); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(VaultExternalKeyManagerMetadataSummary defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String externalVaultEndpointUrl; + private @Nullable List oauthMetadataSummaries; + private @Nullable String privateEndpointId; + private @Nullable String vendor; + public Builder() {} + public Builder(VaultExternalKeyManagerMetadataSummary defaults) { + Objects.requireNonNull(defaults); + this.externalVaultEndpointUrl = defaults.externalVaultEndpointUrl; + this.oauthMetadataSummaries = defaults.oauthMetadataSummaries; + this.privateEndpointId = defaults.privateEndpointId; + this.vendor = defaults.vendor; + } + + @CustomType.Setter + public Builder externalVaultEndpointUrl(@Nullable String externalVaultEndpointUrl) { + this.externalVaultEndpointUrl = externalVaultEndpointUrl; + return this; + } + @CustomType.Setter + public Builder oauthMetadataSummaries(@Nullable List oauthMetadataSummaries) { + this.oauthMetadataSummaries = oauthMetadataSummaries; + return this; + } + public Builder oauthMetadataSummaries(VaultExternalKeyManagerMetadataSummaryOauthMetadataSummary... oauthMetadataSummaries) { + return oauthMetadataSummaries(List.of(oauthMetadataSummaries)); + } + @CustomType.Setter + public Builder privateEndpointId(@Nullable String privateEndpointId) { + this.privateEndpointId = privateEndpointId; + return this; + } + @CustomType.Setter + public Builder vendor(@Nullable String vendor) { + this.vendor = vendor; + return this; + } + public VaultExternalKeyManagerMetadataSummary build() { + final var o = new VaultExternalKeyManagerMetadataSummary(); + o.externalVaultEndpointUrl = externalVaultEndpointUrl; + o.oauthMetadataSummaries = oauthMetadataSummaries; + o.privateEndpointId = privateEndpointId; + o.vendor = vendor; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/VaultExternalKeyManagerMetadataSummaryOauthMetadataSummary.java b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/VaultExternalKeyManagerMetadataSummaryOauthMetadataSummary.java new file mode 100644 index 0000000000..0295903b2a --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Kms/outputs/VaultExternalKeyManagerMetadataSummaryOauthMetadataSummary.java @@ -0,0 +1,76 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Kms.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class VaultExternalKeyManagerMetadataSummaryOauthMetadataSummary { + /** + * @return ID of the client app created in IDP. + * + */ + private @Nullable String clientAppId; + /** + * @return Base URL of the IDCS account where confidential client app is created. + * + */ + private @Nullable String idcsAccountNameUrl; + + private VaultExternalKeyManagerMetadataSummaryOauthMetadataSummary() {} + /** + * @return ID of the client app created in IDP. + * + */ + public Optional clientAppId() { + return Optional.ofNullable(this.clientAppId); + } + /** + * @return Base URL of the IDCS account where confidential client app is created. + * + */ + public Optional idcsAccountNameUrl() { + return Optional.ofNullable(this.idcsAccountNameUrl); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(VaultExternalKeyManagerMetadataSummaryOauthMetadataSummary defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String clientAppId; + private @Nullable String idcsAccountNameUrl; + public Builder() {} + public Builder(VaultExternalKeyManagerMetadataSummaryOauthMetadataSummary defaults) { + Objects.requireNonNull(defaults); + this.clientAppId = defaults.clientAppId; + this.idcsAccountNameUrl = defaults.idcsAccountNameUrl; + } + + @CustomType.Setter + public Builder clientAppId(@Nullable String clientAppId) { + this.clientAppId = clientAppId; + return this; + } + @CustomType.Setter + public Builder idcsAccountNameUrl(@Nullable String idcsAccountNameUrl) { + this.idcsAccountNameUrl = idcsAccountNameUrl; + return this; + } + public VaultExternalKeyManagerMetadataSummaryOauthMetadataSummary build() { + final var o = new VaultExternalKeyManagerMetadataSummaryOauthMetadataSummary(); + o.clientAppId = clientAppId; + o.idcsAccountNameUrl = idcsAccountNameUrl; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/LoadBalancer/SslCipherSuite.java b/sdk/java/src/main/java/com/pulumi/oci/LoadBalancer/SslCipherSuite.java index 35e556a26e..fc631a7323 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/LoadBalancer/SslCipherSuite.java +++ b/sdk/java/src/main/java/com/pulumi/oci/LoadBalancer/SslCipherSuite.java @@ -61,17 +61,9 @@ */ @ResourceType(type="oci:LoadBalancer/sslCipherSuite:SslCipherSuite") public class SslCipherSuite extends com.pulumi.resources.CustomResource { - /** - * A list of SSL ciphers the load balancer must support for HTTPS or SSL connections. - * - */ @Export(name="ciphers", refs={List.class,String.class}, tree="[0,1]") private Output> ciphers; - /** - * @return A list of SSL ciphers the load balancer must support for HTTPS or SSL connections. - * - */ public Output> ciphers() { return this.ciphers; } diff --git a/sdk/java/src/main/java/com/pulumi/oci/LoadBalancer/SslCipherSuiteArgs.java b/sdk/java/src/main/java/com/pulumi/oci/LoadBalancer/SslCipherSuiteArgs.java index 3da4521a72..552fc3be42 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/LoadBalancer/SslCipherSuiteArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/LoadBalancer/SslCipherSuiteArgs.java @@ -16,17 +16,9 @@ public final class SslCipherSuiteArgs extends com.pulumi.resources.ResourceArgs public static final SslCipherSuiteArgs Empty = new SslCipherSuiteArgs(); - /** - * A list of SSL ciphers the load balancer must support for HTTPS or SSL connections. - * - */ @Import(name="ciphers", required=true) private Output> ciphers; - /** - * @return A list of SSL ciphers the load balancer must support for HTTPS or SSL connections. - * - */ public Output> ciphers() { return this.ciphers; } @@ -111,33 +103,15 @@ public Builder(SslCipherSuiteArgs defaults) { $ = new SslCipherSuiteArgs(Objects.requireNonNull(defaults)); } - /** - * @param ciphers A list of SSL ciphers the load balancer must support for HTTPS or SSL connections. - * - * @return builder - * - */ public Builder ciphers(Output> ciphers) { $.ciphers = ciphers; return this; } - /** - * @param ciphers A list of SSL ciphers the load balancer must support for HTTPS or SSL connections. - * - * @return builder - * - */ public Builder ciphers(List ciphers) { return ciphers(Output.of(ciphers)); } - /** - * @param ciphers A list of SSL ciphers the load balancer must support for HTTPS or SSL connections. - * - * @return builder - * - */ public Builder ciphers(String... ciphers) { return ciphers(List.of(ciphers)); } diff --git a/sdk/java/src/main/java/com/pulumi/oci/LoadBalancer/inputs/LoadBalancerIpAddressDetailReservedIpArgs.java b/sdk/java/src/main/java/com/pulumi/oci/LoadBalancer/inputs/LoadBalancerIpAddressDetailReservedIpArgs.java index a54be5eddc..b2b09d1fb5 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/LoadBalancer/inputs/LoadBalancerIpAddressDetailReservedIpArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/LoadBalancer/inputs/LoadBalancerIpAddressDetailReservedIpArgs.java @@ -15,17 +15,9 @@ public final class LoadBalancerIpAddressDetailReservedIpArgs extends com.pulumi. public static final LoadBalancerIpAddressDetailReservedIpArgs Empty = new LoadBalancerIpAddressDetailReservedIpArgs(); - /** - * Ocid of the pre-created public IP. That should be attahed to this load balancer. - * - */ @Import(name="id") private @Nullable Output id; - /** - * @return Ocid of the pre-created public IP. That should be attahed to this load balancer. - * - */ public Optional> id() { return Optional.ofNullable(this.id); } @@ -54,23 +46,11 @@ public Builder(LoadBalancerIpAddressDetailReservedIpArgs defaults) { $ = new LoadBalancerIpAddressDetailReservedIpArgs(Objects.requireNonNull(defaults)); } - /** - * @param id Ocid of the pre-created public IP. That should be attahed to this load balancer. - * - * @return builder - * - */ public Builder id(@Nullable Output id) { $.id = id; return this; } - /** - * @param id Ocid of the pre-created public IP. That should be attahed to this load balancer. - * - * @return builder - * - */ public Builder id(String id) { return id(Output.of(id)); } diff --git a/sdk/java/src/main/java/com/pulumi/oci/LoadBalancer/inputs/LoadBalancerReservedIpArgs.java b/sdk/java/src/main/java/com/pulumi/oci/LoadBalancer/inputs/LoadBalancerReservedIpArgs.java index c0e18bda97..6912b457c3 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/LoadBalancer/inputs/LoadBalancerReservedIpArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/LoadBalancer/inputs/LoadBalancerReservedIpArgs.java @@ -15,17 +15,9 @@ public final class LoadBalancerReservedIpArgs extends com.pulumi.resources.Resou public static final LoadBalancerReservedIpArgs Empty = new LoadBalancerReservedIpArgs(); - /** - * Ocid of the pre-created public IP. That should be attahed to this load balancer. - * - */ @Import(name="id") private @Nullable Output id; - /** - * @return Ocid of the pre-created public IP. That should be attahed to this load balancer. - * - */ public Optional> id() { return Optional.ofNullable(this.id); } @@ -54,23 +46,11 @@ public Builder(LoadBalancerReservedIpArgs defaults) { $ = new LoadBalancerReservedIpArgs(Objects.requireNonNull(defaults)); } - /** - * @param id Ocid of the pre-created public IP. That should be attahed to this load balancer. - * - * @return builder - * - */ public Builder id(@Nullable Output id) { $.id = id; return this; } - /** - * @param id Ocid of the pre-created public IP. That should be attahed to this load balancer. - * - * @return builder - * - */ public Builder id(String id) { return id(Output.of(id)); } diff --git a/sdk/java/src/main/java/com/pulumi/oci/LoadBalancer/inputs/SslCipherSuiteState.java b/sdk/java/src/main/java/com/pulumi/oci/LoadBalancer/inputs/SslCipherSuiteState.java index cc03fef86c..d765405d88 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/LoadBalancer/inputs/SslCipherSuiteState.java +++ b/sdk/java/src/main/java/com/pulumi/oci/LoadBalancer/inputs/SslCipherSuiteState.java @@ -16,17 +16,9 @@ public final class SslCipherSuiteState extends com.pulumi.resources.ResourceArgs public static final SslCipherSuiteState Empty = new SslCipherSuiteState(); - /** - * A list of SSL ciphers the load balancer must support for HTTPS or SSL connections. - * - */ @Import(name="ciphers") private @Nullable Output> ciphers; - /** - * @return A list of SSL ciphers the load balancer must support for HTTPS or SSL connections. - * - */ public Optional>> ciphers() { return Optional.ofNullable(this.ciphers); } @@ -119,33 +111,15 @@ public Builder(SslCipherSuiteState defaults) { $ = new SslCipherSuiteState(Objects.requireNonNull(defaults)); } - /** - * @param ciphers A list of SSL ciphers the load balancer must support for HTTPS or SSL connections. - * - * @return builder - * - */ public Builder ciphers(@Nullable Output> ciphers) { $.ciphers = ciphers; return this; } - /** - * @param ciphers A list of SSL ciphers the load balancer must support for HTTPS or SSL connections. - * - * @return builder - * - */ public Builder ciphers(List ciphers) { return ciphers(Output.of(ciphers)); } - /** - * @param ciphers A list of SSL ciphers the load balancer must support for HTTPS or SSL connections. - * - * @return builder - * - */ public Builder ciphers(String... ciphers) { return ciphers(List.of(ciphers)); } diff --git a/sdk/java/src/main/java/com/pulumi/oci/LoadBalancer/outputs/LoadBalancerIpAddressDetailReservedIp.java b/sdk/java/src/main/java/com/pulumi/oci/LoadBalancer/outputs/LoadBalancerIpAddressDetailReservedIp.java index d6208b330a..fff8c3fff7 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/LoadBalancer/outputs/LoadBalancerIpAddressDetailReservedIp.java +++ b/sdk/java/src/main/java/com/pulumi/oci/LoadBalancer/outputs/LoadBalancerIpAddressDetailReservedIp.java @@ -11,17 +11,9 @@ @CustomType public final class LoadBalancerIpAddressDetailReservedIp { - /** - * @return Ocid of the pre-created public IP. That should be attahed to this load balancer. - * - */ private @Nullable String id; private LoadBalancerIpAddressDetailReservedIp() {} - /** - * @return Ocid of the pre-created public IP. That should be attahed to this load balancer. - * - */ public Optional id() { return Optional.ofNullable(this.id); } diff --git a/sdk/java/src/main/java/com/pulumi/oci/LoadBalancer/outputs/LoadBalancerReservedIp.java b/sdk/java/src/main/java/com/pulumi/oci/LoadBalancer/outputs/LoadBalancerReservedIp.java index d91990e695..a8800c0b72 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/LoadBalancer/outputs/LoadBalancerReservedIp.java +++ b/sdk/java/src/main/java/com/pulumi/oci/LoadBalancer/outputs/LoadBalancerReservedIp.java @@ -11,17 +11,9 @@ @CustomType public final class LoadBalancerReservedIp { - /** - * @return Ocid of the pre-created public IP. That should be attahed to this load balancer. - * - */ private @Nullable String id; private LoadBalancerReservedIp() {} - /** - * @return Ocid of the pre-created public IP. That should be attahed to this load balancer. - * - */ public Optional id() { return Optional.ofNullable(this.id); } diff --git a/sdk/java/src/main/java/com/pulumi/oci/Mysql/MysqlFunctions.java b/sdk/java/src/main/java/com/pulumi/oci/Mysql/MysqlFunctions.java index 57c8e707b8..917c1ccc3e 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Mysql/MysqlFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Mysql/MysqlFunctions.java @@ -1927,8 +1927,10 @@ public static CompletableFuture getReplicaPlain(GetReplicaPlai * public static void stack(Context ctx) { * final var testReplicas = MysqlFunctions.getReplicas(GetReplicasArgs.builder() * .compartmentId(var_.compartment_id()) + * .configurationId(oci_mysql_mysql_configuration.test_mysql_configuration().id()) * .dbSystemId(oci_mysql_mysql_db_system.test_mysql_db_system().id()) * .displayName(var_.replica_display_name()) + * .isUpToDate(var_.replica_is_up_to_date()) * .replicaId(oci_mysql_replica.test_replica().id()) * .state(var_.replica_state()) * .build()); @@ -1970,8 +1972,10 @@ public static Output getReplicas(GetReplicasArgs args) { * public static void stack(Context ctx) { * final var testReplicas = MysqlFunctions.getReplicas(GetReplicasArgs.builder() * .compartmentId(var_.compartment_id()) + * .configurationId(oci_mysql_mysql_configuration.test_mysql_configuration().id()) * .dbSystemId(oci_mysql_mysql_db_system.test_mysql_db_system().id()) * .displayName(var_.replica_display_name()) + * .isUpToDate(var_.replica_is_up_to_date()) * .replicaId(oci_mysql_replica.test_replica().id()) * .state(var_.replica_state()) * .build()); @@ -2013,8 +2017,10 @@ public static CompletableFuture getReplicasPlain(GetReplicasP * public static void stack(Context ctx) { * final var testReplicas = MysqlFunctions.getReplicas(GetReplicasArgs.builder() * .compartmentId(var_.compartment_id()) + * .configurationId(oci_mysql_mysql_configuration.test_mysql_configuration().id()) * .dbSystemId(oci_mysql_mysql_db_system.test_mysql_db_system().id()) * .displayName(var_.replica_display_name()) + * .isUpToDate(var_.replica_is_up_to_date()) * .replicaId(oci_mysql_replica.test_replica().id()) * .state(var_.replica_state()) * .build()); @@ -2056,8 +2062,10 @@ public static Output getReplicas(GetReplicasArgs args, Invoke * public static void stack(Context ctx) { * final var testReplicas = MysqlFunctions.getReplicas(GetReplicasArgs.builder() * .compartmentId(var_.compartment_id()) + * .configurationId(oci_mysql_mysql_configuration.test_mysql_configuration().id()) * .dbSystemId(oci_mysql_mysql_db_system.test_mysql_db_system().id()) * .displayName(var_.replica_display_name()) + * .isUpToDate(var_.replica_is_up_to_date()) * .replicaId(oci_mysql_replica.test_replica().id()) * .state(var_.replica_state()) * .build()); diff --git a/sdk/java/src/main/java/com/pulumi/oci/Mysql/Replica.java b/sdk/java/src/main/java/com/pulumi/oci/Mysql/Replica.java index acf3526c30..20c73ef7f8 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Mysql/Replica.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Mysql/Replica.java @@ -9,6 +9,7 @@ import com.pulumi.core.internal.Codegen; import com.pulumi.oci.Mysql.ReplicaArgs; import com.pulumi.oci.Mysql.inputs.ReplicaState; +import com.pulumi.oci.Mysql.outputs.ReplicaReplicaOverrides; import com.pulumi.oci.Utilities; import java.lang.Boolean; import java.lang.Integer; @@ -31,6 +32,7 @@ * import com.pulumi.core.Output; * import com.pulumi.oci.Mysql.Replica; * import com.pulumi.oci.Mysql.ReplicaArgs; + * import com.pulumi.oci.Mysql.inputs.ReplicaReplicaOverridesArgs; * import java.util.List; * import java.util.ArrayList; * import java.util.Map; @@ -51,6 +53,11 @@ * .displayName(var_.replica_display_name()) * .freeformTags(Map.of("bar-key", "value")) * .isDeleteProtected(var_.replica_is_delete_protected()) + * .replicaOverrides(ReplicaReplicaOverridesArgs.builder() + * .configurationId(oci_mysql_mysql_configuration.test_mysql_configuration().id()) + * .mysqlVersion(var_.replica_replica_overrides_mysql_version()) + * .shapeName(oci_mysql_shape.test_shape().name()) + * .build()) * .build()); * * } @@ -96,6 +103,20 @@ public Output availabilityDomain() { public Output compartmentId() { return this.compartmentId; } + /** + * (Updatable) The OCID of the Configuration to be used by the read replica. + * + */ + @Export(name="configurationId", refs={String.class}, tree="[0]") + private Output configurationId; + + /** + * @return (Updatable) The OCID of the Configuration to be used by the read replica. + * + */ + public Output configurationId() { + return this.configurationId; + } /** * The OCID of the DB System the read replica is associated with. * @@ -197,9 +218,6 @@ public Output ipAddress() { /** * (Updatable) Specifies whether the read replica can be deleted. Set to true to prevent deletion, false (default) to allow. Note that if a read replica is delete protected it also prevents the entire DB System from being deleted. If the DB System is delete protected, read replicas can still be deleted individually if they are not delete protected themselves. * - * ** 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 - * */ @Export(name="isDeleteProtected", refs={Boolean.class}, tree="[0]") private Output isDeleteProtected; @@ -207,9 +225,6 @@ public Output ipAddress() { /** * @return (Updatable) Specifies whether the read replica can be deleted. Set to true to prevent deletion, false (default) to allow. Note that if a read replica is delete protected it also prevents the entire DB System from being deleted. If the DB System is delete protected, read replicas can still be deleted individually if they are not delete protected themselves. * - * ** 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 - * */ public Output isDeleteProtected() { return this.isDeleteProtected; @@ -229,14 +244,14 @@ public Output lifecycleDetails() { return this.lifecycleDetails; } /** - * The MySQL version used by the read replica. + * (Updatable) The MySQL version to be used by the read replica. * */ @Export(name="mysqlVersion", refs={String.class}, tree="[0]") private Output mysqlVersion; /** - * @return The MySQL version used by the read replica. + * @return (Updatable) The MySQL version to be used by the read replica. * */ public Output mysqlVersion() { @@ -270,6 +285,40 @@ public Output port() { public Output portX() { return this.portX; } + /** + * (Updatable) By default a read replica inherits the MySQL version, shape, and configuration of the source DB system. If you want to override any of these, provide values in the properties, mysqlVersion, shapeName, and configurationId. If you set a property value to "", then the value is inherited from its source DB system. + * + */ + @Export(name="replicaOverrides", refs={ReplicaReplicaOverrides.class}, tree="[0]") + private Output replicaOverrides; + + /** + * @return (Updatable) By default a read replica inherits the MySQL version, shape, and configuration of the source DB system. If you want to override any of these, provide values in the properties, mysqlVersion, shapeName, and configurationId. If you set a property value to "", then the value is inherited from its source DB system. + * + */ + public Output replicaOverrides() { + return this.replicaOverrides; + } + /** + * (Updatable) The shape to be used by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. + * + * ** 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 + * + */ + @Export(name="shapeName", refs={String.class}, tree="[0]") + private Output shapeName; + + /** + * @return (Updatable) The shape to be used by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. + * + * ** 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 + * + */ + public Output shapeName() { + return this.shapeName; + } /** * The state of the read replica. * diff --git a/sdk/java/src/main/java/com/pulumi/oci/Mysql/ReplicaArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Mysql/ReplicaArgs.java index a57ff710a1..b2a816e63c 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Mysql/ReplicaArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Mysql/ReplicaArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.oci.Mysql.inputs.ReplicaReplicaOverridesArgs; import java.lang.Boolean; import java.lang.Object; import java.lang.String; @@ -96,9 +97,6 @@ public Optional>> freeformTags() { /** * (Updatable) Specifies whether the read replica can be deleted. Set to true to prevent deletion, false (default) to allow. Note that if a read replica is delete protected it also prevents the entire DB System from being deleted. If the DB System is delete protected, read replicas can still be deleted individually if they are not delete protected themselves. * - * ** 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 - * */ @Import(name="isDeleteProtected") private @Nullable Output isDeleteProtected; @@ -106,14 +104,26 @@ public Optional>> freeformTags() { /** * @return (Updatable) Specifies whether the read replica can be deleted. Set to true to prevent deletion, false (default) to allow. Note that if a read replica is delete protected it also prevents the entire DB System from being deleted. If the DB System is delete protected, read replicas can still be deleted individually if they are not delete protected themselves. * - * ** 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 - * */ public Optional> isDeleteProtected() { return Optional.ofNullable(this.isDeleteProtected); } + /** + * (Updatable) By default a read replica inherits the MySQL version, shape, and configuration of the source DB system. If you want to override any of these, provide values in the properties, mysqlVersion, shapeName, and configurationId. If you set a property value to "", then the value is inherited from its source DB system. + * + */ + @Import(name="replicaOverrides") + private @Nullable Output replicaOverrides; + + /** + * @return (Updatable) By default a read replica inherits the MySQL version, shape, and configuration of the source DB system. If you want to override any of these, provide values in the properties, mysqlVersion, shapeName, and configurationId. If you set a property value to "", then the value is inherited from its source DB system. + * + */ + public Optional> replicaOverrides() { + return Optional.ofNullable(this.replicaOverrides); + } + private ReplicaArgs() {} private ReplicaArgs(ReplicaArgs $) { @@ -123,6 +133,7 @@ private ReplicaArgs(ReplicaArgs $) { this.displayName = $.displayName; this.freeformTags = $.freeformTags; this.isDeleteProtected = $.isDeleteProtected; + this.replicaOverrides = $.replicaOverrides; } public static Builder builder() { @@ -251,9 +262,6 @@ public Builder freeformTags(Map freeformTags) { /** * @param isDeleteProtected (Updatable) Specifies whether the read replica can be deleted. Set to true to prevent deletion, false (default) to allow. Note that if a read replica is delete protected it also prevents the entire DB System from being deleted. If the DB System is delete protected, read replicas can still be deleted individually if they are not delete protected themselves. * - * ** 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 - * * @return builder * */ @@ -265,9 +273,6 @@ public Builder isDeleteProtected(@Nullable Output isDeleteProtected) { /** * @param isDeleteProtected (Updatable) Specifies whether the read replica can be deleted. Set to true to prevent deletion, false (default) to allow. Note that if a read replica is delete protected it also prevents the entire DB System from being deleted. If the DB System is delete protected, read replicas can still be deleted individually if they are not delete protected themselves. * - * ** 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 - * * @return builder * */ @@ -275,6 +280,27 @@ public Builder isDeleteProtected(Boolean isDeleteProtected) { return isDeleteProtected(Output.of(isDeleteProtected)); } + /** + * @param replicaOverrides (Updatable) By default a read replica inherits the MySQL version, shape, and configuration of the source DB system. If you want to override any of these, provide values in the properties, mysqlVersion, shapeName, and configurationId. If you set a property value to "", then the value is inherited from its source DB system. + * + * @return builder + * + */ + public Builder replicaOverrides(@Nullable Output replicaOverrides) { + $.replicaOverrides = replicaOverrides; + return this; + } + + /** + * @param replicaOverrides (Updatable) By default a read replica inherits the MySQL version, shape, and configuration of the source DB system. If you want to override any of these, provide values in the properties, mysqlVersion, shapeName, and configurationId. If you set a property value to "", then the value is inherited from its source DB system. + * + * @return builder + * + */ + public Builder replicaOverrides(ReplicaReplicaOverridesArgs replicaOverrides) { + return replicaOverrides(Output.of(replicaOverrides)); + } + public ReplicaArgs build() { $.dbSystemId = Objects.requireNonNull($.dbSystemId, "expected parameter 'dbSystemId' to be non-null"); return $; diff --git a/sdk/java/src/main/java/com/pulumi/oci/Mysql/inputs/GetReplicasArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Mysql/inputs/GetReplicasArgs.java index 41d004ed69..db65937a4b 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Mysql/inputs/GetReplicasArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Mysql/inputs/GetReplicasArgs.java @@ -6,6 +6,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; import com.pulumi.oci.Mysql.inputs.GetReplicasFilterArgs; +import java.lang.Boolean; import java.lang.String; import java.util.List; import java.util.Objects; @@ -32,6 +33,21 @@ public Output compartmentId() { return this.compartmentId; } + /** + * The requested Configuration instance. + * + */ + @Import(name="configurationId") + private @Nullable Output configurationId; + + /** + * @return The requested Configuration instance. + * + */ + public Optional> configurationId() { + return Optional.ofNullable(this.configurationId); + } + /** * The DB System [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). * @@ -69,6 +85,21 @@ public Optional>> filters() { return Optional.ofNullable(this.filters); } + /** + * Filter instances if they are using the latest revision of the Configuration they are associated with. + * + */ + @Import(name="isUpToDate") + private @Nullable Output isUpToDate; + + /** + * @return Filter instances if they are using the latest revision of the Configuration they are associated with. + * + */ + public Optional> isUpToDate() { + return Optional.ofNullable(this.isUpToDate); + } + /** * The read replica [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). * @@ -103,9 +134,11 @@ private GetReplicasArgs() {} private GetReplicasArgs(GetReplicasArgs $) { this.compartmentId = $.compartmentId; + this.configurationId = $.configurationId; this.dbSystemId = $.dbSystemId; this.displayName = $.displayName; this.filters = $.filters; + this.isUpToDate = $.isUpToDate; this.replicaId = $.replicaId; this.state = $.state; } @@ -149,6 +182,27 @@ public Builder compartmentId(String compartmentId) { return compartmentId(Output.of(compartmentId)); } + /** + * @param configurationId The requested Configuration instance. + * + * @return builder + * + */ + public Builder configurationId(@Nullable Output configurationId) { + $.configurationId = configurationId; + return this; + } + + /** + * @param configurationId The requested Configuration instance. + * + * @return builder + * + */ + public Builder configurationId(String configurationId) { + return configurationId(Output.of(configurationId)); + } + /** * @param dbSystemId The DB System [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). * @@ -204,6 +258,27 @@ public Builder filters(GetReplicasFilterArgs... filters) { return filters(List.of(filters)); } + /** + * @param isUpToDate Filter instances if they are using the latest revision of the Configuration they are associated with. + * + * @return builder + * + */ + public Builder isUpToDate(@Nullable Output isUpToDate) { + $.isUpToDate = isUpToDate; + return this; + } + + /** + * @param isUpToDate Filter instances if they are using the latest revision of the Configuration they are associated with. + * + * @return builder + * + */ + public Builder isUpToDate(Boolean isUpToDate) { + return isUpToDate(Output.of(isUpToDate)); + } + /** * @param replicaId The read replica [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). * diff --git a/sdk/java/src/main/java/com/pulumi/oci/Mysql/inputs/GetReplicasPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Mysql/inputs/GetReplicasPlainArgs.java index 0672f702ed..316cc7f3eb 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Mysql/inputs/GetReplicasPlainArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Mysql/inputs/GetReplicasPlainArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.annotations.Import; import com.pulumi.oci.Mysql.inputs.GetReplicasFilter; +import java.lang.Boolean; import java.lang.String; import java.util.List; import java.util.Objects; @@ -31,6 +32,21 @@ public String compartmentId() { return this.compartmentId; } + /** + * The requested Configuration instance. + * + */ + @Import(name="configurationId") + private @Nullable String configurationId; + + /** + * @return The requested Configuration instance. + * + */ + public Optional configurationId() { + return Optional.ofNullable(this.configurationId); + } + /** * The DB System [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). * @@ -68,6 +84,21 @@ public Optional> filters() { return Optional.ofNullable(this.filters); } + /** + * Filter instances if they are using the latest revision of the Configuration they are associated with. + * + */ + @Import(name="isUpToDate") + private @Nullable Boolean isUpToDate; + + /** + * @return Filter instances if they are using the latest revision of the Configuration they are associated with. + * + */ + public Optional isUpToDate() { + return Optional.ofNullable(this.isUpToDate); + } + /** * The read replica [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). * @@ -102,9 +133,11 @@ private GetReplicasPlainArgs() {} private GetReplicasPlainArgs(GetReplicasPlainArgs $) { this.compartmentId = $.compartmentId; + this.configurationId = $.configurationId; this.dbSystemId = $.dbSystemId; this.displayName = $.displayName; this.filters = $.filters; + this.isUpToDate = $.isUpToDate; this.replicaId = $.replicaId; this.state = $.state; } @@ -138,6 +171,17 @@ public Builder compartmentId(String compartmentId) { return this; } + /** + * @param configurationId The requested Configuration instance. + * + * @return builder + * + */ + public Builder configurationId(@Nullable String configurationId) { + $.configurationId = configurationId; + return this; + } + /** * @param dbSystemId The DB System [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). * @@ -169,6 +213,17 @@ public Builder filters(GetReplicasFilter... filters) { return filters(List.of(filters)); } + /** + * @param isUpToDate Filter instances if they are using the latest revision of the Configuration they are associated with. + * + * @return builder + * + */ + public Builder isUpToDate(@Nullable Boolean isUpToDate) { + $.isUpToDate = isUpToDate; + return this; + } + /** * @param replicaId The read replica [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). * diff --git a/sdk/java/src/main/java/com/pulumi/oci/Mysql/inputs/ReplicaReplicaOverridesArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Mysql/inputs/ReplicaReplicaOverridesArgs.java new file mode 100644 index 0000000000..8ef0306a25 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Mysql/inputs/ReplicaReplicaOverridesArgs.java @@ -0,0 +1,169 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Mysql.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class ReplicaReplicaOverridesArgs extends com.pulumi.resources.ResourceArgs { + + public static final ReplicaReplicaOverridesArgs Empty = new ReplicaReplicaOverridesArgs(); + + /** + * (Updatable) The OCID of the Configuration to be used by the read replica. + * + */ + @Import(name="configurationId") + private @Nullable Output configurationId; + + /** + * @return (Updatable) The OCID of the Configuration to be used by the read replica. + * + */ + public Optional> configurationId() { + return Optional.ofNullable(this.configurationId); + } + + /** + * (Updatable) The MySQL version to be used by the read replica. + * + */ + @Import(name="mysqlVersion") + private @Nullable Output mysqlVersion; + + /** + * @return (Updatable) The MySQL version to be used by the read replica. + * + */ + public Optional> mysqlVersion() { + return Optional.ofNullable(this.mysqlVersion); + } + + /** + * (Updatable) The shape to be used by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. + * + * ** 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 + * + */ + @Import(name="shapeName") + private @Nullable Output shapeName; + + /** + * @return (Updatable) The shape to be used by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. + * + * ** 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 + * + */ + public Optional> shapeName() { + return Optional.ofNullable(this.shapeName); + } + + private ReplicaReplicaOverridesArgs() {} + + private ReplicaReplicaOverridesArgs(ReplicaReplicaOverridesArgs $) { + this.configurationId = $.configurationId; + this.mysqlVersion = $.mysqlVersion; + this.shapeName = $.shapeName; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(ReplicaReplicaOverridesArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private ReplicaReplicaOverridesArgs $; + + public Builder() { + $ = new ReplicaReplicaOverridesArgs(); + } + + public Builder(ReplicaReplicaOverridesArgs defaults) { + $ = new ReplicaReplicaOverridesArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param configurationId (Updatable) The OCID of the Configuration to be used by the read replica. + * + * @return builder + * + */ + public Builder configurationId(@Nullable Output configurationId) { + $.configurationId = configurationId; + return this; + } + + /** + * @param configurationId (Updatable) The OCID of the Configuration to be used by the read replica. + * + * @return builder + * + */ + public Builder configurationId(String configurationId) { + return configurationId(Output.of(configurationId)); + } + + /** + * @param mysqlVersion (Updatable) The MySQL version to be used by the read replica. + * + * @return builder + * + */ + public Builder mysqlVersion(@Nullable Output mysqlVersion) { + $.mysqlVersion = mysqlVersion; + return this; + } + + /** + * @param mysqlVersion (Updatable) The MySQL version to be used by the read replica. + * + * @return builder + * + */ + public Builder mysqlVersion(String mysqlVersion) { + return mysqlVersion(Output.of(mysqlVersion)); + } + + /** + * @param shapeName (Updatable) The shape to be used by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. + * + * ** 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 + * + * @return builder + * + */ + public Builder shapeName(@Nullable Output shapeName) { + $.shapeName = shapeName; + return this; + } + + /** + * @param shapeName (Updatable) The shape to be used by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. + * + * ** 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 + * + * @return builder + * + */ + public Builder shapeName(String shapeName) { + return shapeName(Output.of(shapeName)); + } + + public ReplicaReplicaOverridesArgs build() { + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Mysql/inputs/ReplicaState.java b/sdk/java/src/main/java/com/pulumi/oci/Mysql/inputs/ReplicaState.java index e8c279c93f..c12b97d099 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Mysql/inputs/ReplicaState.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Mysql/inputs/ReplicaState.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import com.pulumi.oci.Mysql.inputs.ReplicaReplicaOverridesArgs; import java.lang.Boolean; import java.lang.Integer; import java.lang.Object; @@ -49,6 +50,21 @@ public Optional> compartmentId() { return Optional.ofNullable(this.compartmentId); } + /** + * (Updatable) The OCID of the Configuration to be used by the read replica. + * + */ + @Import(name="configurationId") + private @Nullable Output configurationId; + + /** + * @return (Updatable) The OCID of the Configuration to be used by the read replica. + * + */ + public Optional> configurationId() { + return Optional.ofNullable(this.configurationId); + } + /** * The OCID of the DB System the read replica is associated with. * @@ -157,9 +173,6 @@ public Optional> ipAddress() { /** * (Updatable) Specifies whether the read replica can be deleted. Set to true to prevent deletion, false (default) to allow. Note that if a read replica is delete protected it also prevents the entire DB System from being deleted. If the DB System is delete protected, read replicas can still be deleted individually if they are not delete protected themselves. * - * ** 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 - * */ @Import(name="isDeleteProtected") private @Nullable Output isDeleteProtected; @@ -167,9 +180,6 @@ public Optional> ipAddress() { /** * @return (Updatable) Specifies whether the read replica can be deleted. Set to true to prevent deletion, false (default) to allow. Note that if a read replica is delete protected it also prevents the entire DB System from being deleted. If the DB System is delete protected, read replicas can still be deleted individually if they are not delete protected themselves. * - * ** 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 - * */ public Optional> isDeleteProtected() { return Optional.ofNullable(this.isDeleteProtected); @@ -191,14 +201,14 @@ public Optional> lifecycleDetails() { } /** - * The MySQL version used by the read replica. + * (Updatable) The MySQL version to be used by the read replica. * */ @Import(name="mysqlVersion") private @Nullable Output mysqlVersion; /** - * @return The MySQL version used by the read replica. + * @return (Updatable) The MySQL version to be used by the read replica. * */ public Optional> mysqlVersion() { @@ -235,6 +245,42 @@ public Optional> portX() { return Optional.ofNullable(this.portX); } + /** + * (Updatable) By default a read replica inherits the MySQL version, shape, and configuration of the source DB system. If you want to override any of these, provide values in the properties, mysqlVersion, shapeName, and configurationId. If you set a property value to "", then the value is inherited from its source DB system. + * + */ + @Import(name="replicaOverrides") + private @Nullable Output replicaOverrides; + + /** + * @return (Updatable) By default a read replica inherits the MySQL version, shape, and configuration of the source DB system. If you want to override any of these, provide values in the properties, mysqlVersion, shapeName, and configurationId. If you set a property value to "", then the value is inherited from its source DB system. + * + */ + public Optional> replicaOverrides() { + return Optional.ofNullable(this.replicaOverrides); + } + + /** + * (Updatable) The shape to be used by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. + * + * ** 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 + * + */ + @Import(name="shapeName") + private @Nullable Output shapeName; + + /** + * @return (Updatable) The shape to be used by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. + * + * ** 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 + * + */ + public Optional> shapeName() { + return Optional.ofNullable(this.shapeName); + } + /** * The state of the read replica. * @@ -285,6 +331,7 @@ private ReplicaState() {} private ReplicaState(ReplicaState $) { this.availabilityDomain = $.availabilityDomain; this.compartmentId = $.compartmentId; + this.configurationId = $.configurationId; this.dbSystemId = $.dbSystemId; this.definedTags = $.definedTags; this.description = $.description; @@ -297,6 +344,8 @@ private ReplicaState(ReplicaState $) { this.mysqlVersion = $.mysqlVersion; this.port = $.port; this.portX = $.portX; + this.replicaOverrides = $.replicaOverrides; + this.shapeName = $.shapeName; this.state = $.state; this.timeCreated = $.timeCreated; this.timeUpdated = $.timeUpdated; @@ -362,6 +411,27 @@ public Builder compartmentId(String compartmentId) { return compartmentId(Output.of(compartmentId)); } + /** + * @param configurationId (Updatable) The OCID of the Configuration to be used by the read replica. + * + * @return builder + * + */ + public Builder configurationId(@Nullable Output configurationId) { + $.configurationId = configurationId; + return this; + } + + /** + * @param configurationId (Updatable) The OCID of the Configuration to be used by the read replica. + * + * @return builder + * + */ + public Builder configurationId(String configurationId) { + return configurationId(Output.of(configurationId)); + } + /** * @param dbSystemId The OCID of the DB System the read replica is associated with. * @@ -512,9 +582,6 @@ public Builder ipAddress(String ipAddress) { /** * @param isDeleteProtected (Updatable) Specifies whether the read replica can be deleted. Set to true to prevent deletion, false (default) to allow. Note that if a read replica is delete protected it also prevents the entire DB System from being deleted. If the DB System is delete protected, read replicas can still be deleted individually if they are not delete protected themselves. * - * ** 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 - * * @return builder * */ @@ -526,9 +593,6 @@ public Builder isDeleteProtected(@Nullable Output isDeleteProtected) { /** * @param isDeleteProtected (Updatable) Specifies whether the read replica can be deleted. Set to true to prevent deletion, false (default) to allow. Note that if a read replica is delete protected it also prevents the entire DB System from being deleted. If the DB System is delete protected, read replicas can still be deleted individually if they are not delete protected themselves. * - * ** 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 - * * @return builder * */ @@ -558,7 +622,7 @@ public Builder lifecycleDetails(String lifecycleDetails) { } /** - * @param mysqlVersion The MySQL version used by the read replica. + * @param mysqlVersion (Updatable) The MySQL version to be used by the read replica. * * @return builder * @@ -569,7 +633,7 @@ public Builder mysqlVersion(@Nullable Output mysqlVersion) { } /** - * @param mysqlVersion The MySQL version used by the read replica. + * @param mysqlVersion (Updatable) The MySQL version to be used by the read replica. * * @return builder * @@ -620,6 +684,54 @@ public Builder portX(Integer portX) { return portX(Output.of(portX)); } + /** + * @param replicaOverrides (Updatable) By default a read replica inherits the MySQL version, shape, and configuration of the source DB system. If you want to override any of these, provide values in the properties, mysqlVersion, shapeName, and configurationId. If you set a property value to "", then the value is inherited from its source DB system. + * + * @return builder + * + */ + public Builder replicaOverrides(@Nullable Output replicaOverrides) { + $.replicaOverrides = replicaOverrides; + return this; + } + + /** + * @param replicaOverrides (Updatable) By default a read replica inherits the MySQL version, shape, and configuration of the source DB system. If you want to override any of these, provide values in the properties, mysqlVersion, shapeName, and configurationId. If you set a property value to "", then the value is inherited from its source DB system. + * + * @return builder + * + */ + public Builder replicaOverrides(ReplicaReplicaOverridesArgs replicaOverrides) { + return replicaOverrides(Output.of(replicaOverrides)); + } + + /** + * @param shapeName (Updatable) The shape to be used by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. + * + * ** 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 + * + * @return builder + * + */ + public Builder shapeName(@Nullable Output shapeName) { + $.shapeName = shapeName; + return this; + } + + /** + * @param shapeName (Updatable) The shape to be used by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. + * + * ** 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 + * + * @return builder + * + */ + public Builder shapeName(String shapeName) { + return shapeName(Output.of(shapeName)); + } + /** * @param state The state of the read replica. * diff --git a/sdk/java/src/main/java/com/pulumi/oci/Mysql/outputs/GetReplicaReplicaOverride.java b/sdk/java/src/main/java/com/pulumi/oci/Mysql/outputs/GetReplicaReplicaOverride.java new file mode 100644 index 0000000000..6fee35a107 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Mysql/outputs/GetReplicaReplicaOverride.java @@ -0,0 +1,94 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Mysql.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetReplicaReplicaOverride { + /** + * @return The OCID of the Configuration to be used by the read replica. + * + */ + private String configurationId; + /** + * @return The MySQL version to be used by the read replica. + * + */ + private String mysqlVersion; + /** + * @return The shape currently in use by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. + * + */ + private String shapeName; + + private GetReplicaReplicaOverride() {} + /** + * @return The OCID of the Configuration to be used by the read replica. + * + */ + public String configurationId() { + return this.configurationId; + } + /** + * @return The MySQL version to be used by the read replica. + * + */ + public String mysqlVersion() { + return this.mysqlVersion; + } + /** + * @return The shape currently in use by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. + * + */ + public String shapeName() { + return this.shapeName; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetReplicaReplicaOverride defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String configurationId; + private String mysqlVersion; + private String shapeName; + public Builder() {} + public Builder(GetReplicaReplicaOverride defaults) { + Objects.requireNonNull(defaults); + this.configurationId = defaults.configurationId; + this.mysqlVersion = defaults.mysqlVersion; + this.shapeName = defaults.shapeName; + } + + @CustomType.Setter + public Builder configurationId(String configurationId) { + this.configurationId = Objects.requireNonNull(configurationId); + return this; + } + @CustomType.Setter + public Builder mysqlVersion(String mysqlVersion) { + this.mysqlVersion = Objects.requireNonNull(mysqlVersion); + return this; + } + @CustomType.Setter + public Builder shapeName(String shapeName) { + this.shapeName = Objects.requireNonNull(shapeName); + return this; + } + public GetReplicaReplicaOverride build() { + final var o = new GetReplicaReplicaOverride(); + o.configurationId = configurationId; + o.mysqlVersion = mysqlVersion; + o.shapeName = shapeName; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Mysql/outputs/GetReplicaResult.java b/sdk/java/src/main/java/com/pulumi/oci/Mysql/outputs/GetReplicaResult.java index d471cdf8cd..7b6d135962 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Mysql/outputs/GetReplicaResult.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Mysql/outputs/GetReplicaResult.java @@ -4,10 +4,12 @@ package com.pulumi.oci.Mysql.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.oci.Mysql.outputs.GetReplicaReplicaOverride; import java.lang.Boolean; import java.lang.Integer; import java.lang.Object; import java.lang.String; +import java.util.List; import java.util.Map; import java.util.Objects; @@ -23,6 +25,11 @@ public final class GetReplicaResult { * */ private String compartmentId; + /** + * @return The OCID of the Configuration to be used by the read replica. + * + */ + private String configurationId; /** * @return The OCID of the DB System the read replica is associated with. * @@ -74,7 +81,7 @@ public final class GetReplicaResult { */ private String lifecycleDetails; /** - * @return The MySQL version used by the read replica. + * @return The MySQL version to be used by the read replica. * */ private String mysqlVersion; @@ -89,6 +96,16 @@ public final class GetReplicaResult { */ private Integer portX; private String replicaId; + /** + * @return By default a read replica inherits the MySQL version, shape, and configuration of the source DB system. If you want to override any of these, provide values in the properties, mysqlVersion, shapeName, and configurationId. If you set a property value to "", then the value is inherited from its source DB system. + * + */ + private List replicaOverrides; + /** + * @return The shape currently in use by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. + * + */ + private String shapeName; /** * @return The state of the read replica. * @@ -120,6 +137,13 @@ public String availabilityDomain() { public String compartmentId() { return this.compartmentId; } + /** + * @return The OCID of the Configuration to be used by the read replica. + * + */ + public String configurationId() { + return this.configurationId; + } /** * @return The OCID of the DB System the read replica is associated with. * @@ -191,7 +215,7 @@ public String lifecycleDetails() { return this.lifecycleDetails; } /** - * @return The MySQL version used by the read replica. + * @return The MySQL version to be used by the read replica. * */ public String mysqlVersion() { @@ -214,6 +238,20 @@ public Integer portX() { public String replicaId() { return this.replicaId; } + /** + * @return By default a read replica inherits the MySQL version, shape, and configuration of the source DB system. If you want to override any of these, provide values in the properties, mysqlVersion, shapeName, and configurationId. If you set a property value to "", then the value is inherited from its source DB system. + * + */ + public List replicaOverrides() { + return this.replicaOverrides; + } + /** + * @return The shape currently in use by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. + * + */ + public String shapeName() { + return this.shapeName; + } /** * @return The state of the read replica. * @@ -247,6 +285,7 @@ public static Builder builder(GetReplicaResult defaults) { public static final class Builder { private String availabilityDomain; private String compartmentId; + private String configurationId; private String dbSystemId; private Map definedTags; private String description; @@ -261,6 +300,8 @@ public static final class Builder { private Integer port; private Integer portX; private String replicaId; + private List replicaOverrides; + private String shapeName; private String state; private String timeCreated; private String timeUpdated; @@ -269,6 +310,7 @@ public Builder(GetReplicaResult defaults) { Objects.requireNonNull(defaults); this.availabilityDomain = defaults.availabilityDomain; this.compartmentId = defaults.compartmentId; + this.configurationId = defaults.configurationId; this.dbSystemId = defaults.dbSystemId; this.definedTags = defaults.definedTags; this.description = defaults.description; @@ -283,6 +325,8 @@ public Builder(GetReplicaResult defaults) { this.port = defaults.port; this.portX = defaults.portX; this.replicaId = defaults.replicaId; + this.replicaOverrides = defaults.replicaOverrides; + this.shapeName = defaults.shapeName; this.state = defaults.state; this.timeCreated = defaults.timeCreated; this.timeUpdated = defaults.timeUpdated; @@ -299,6 +343,11 @@ public Builder compartmentId(String compartmentId) { return this; } @CustomType.Setter + public Builder configurationId(String configurationId) { + this.configurationId = Objects.requireNonNull(configurationId); + return this; + } + @CustomType.Setter public Builder dbSystemId(String dbSystemId) { this.dbSystemId = Objects.requireNonNull(dbSystemId); return this; @@ -369,6 +418,19 @@ public Builder replicaId(String replicaId) { return this; } @CustomType.Setter + public Builder replicaOverrides(List replicaOverrides) { + this.replicaOverrides = Objects.requireNonNull(replicaOverrides); + return this; + } + public Builder replicaOverrides(GetReplicaReplicaOverride... replicaOverrides) { + return replicaOverrides(List.of(replicaOverrides)); + } + @CustomType.Setter + public Builder shapeName(String shapeName) { + this.shapeName = Objects.requireNonNull(shapeName); + return this; + } + @CustomType.Setter public Builder state(String state) { this.state = Objects.requireNonNull(state); return this; @@ -387,6 +449,7 @@ public GetReplicaResult build() { final var o = new GetReplicaResult(); o.availabilityDomain = availabilityDomain; o.compartmentId = compartmentId; + o.configurationId = configurationId; o.dbSystemId = dbSystemId; o.definedTags = definedTags; o.description = description; @@ -401,6 +464,8 @@ public GetReplicaResult build() { o.port = port; o.portX = portX; o.replicaId = replicaId; + o.replicaOverrides = replicaOverrides; + o.shapeName = shapeName; o.state = state; o.timeCreated = timeCreated; o.timeUpdated = timeUpdated; diff --git a/sdk/java/src/main/java/com/pulumi/oci/Mysql/outputs/GetReplicasReplica.java b/sdk/java/src/main/java/com/pulumi/oci/Mysql/outputs/GetReplicasReplica.java index 148636800d..7273597ab4 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Mysql/outputs/GetReplicasReplica.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Mysql/outputs/GetReplicasReplica.java @@ -4,10 +4,12 @@ package com.pulumi.oci.Mysql.outputs; import com.pulumi.core.annotations.CustomType; +import com.pulumi.oci.Mysql.outputs.GetReplicasReplicaReplicaOverride; import java.lang.Boolean; import java.lang.Integer; import java.lang.Object; import java.lang.String; +import java.util.List; import java.util.Map; import java.util.Objects; @@ -23,6 +25,11 @@ public final class GetReplicasReplica { * */ private String compartmentId; + /** + * @return The requested Configuration instance. + * + */ + private String configurationId; /** * @return The DB System [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). * @@ -74,7 +81,7 @@ public final class GetReplicasReplica { */ private String lifecycleDetails; /** - * @return The MySQL version used by the read replica. + * @return The MySQL version to be used by the read replica. * */ private String mysqlVersion; @@ -88,6 +95,16 @@ public final class GetReplicasReplica { * */ private Integer portX; + /** + * @return By default a read replica inherits the MySQL version, shape, and configuration of the source DB system. If you want to override any of these, provide values in the properties, mysqlVersion, shapeName, and configurationId. If you set a property value to "", then the value is inherited from its source DB system. + * + */ + private List replicaOverrides; + /** + * @return The shape currently in use by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. + * + */ + private String shapeName; /** * @return The LifecycleState of the read replica. * @@ -119,6 +136,13 @@ public String availabilityDomain() { public String compartmentId() { return this.compartmentId; } + /** + * @return The requested Configuration instance. + * + */ + public String configurationId() { + return this.configurationId; + } /** * @return The DB System [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). * @@ -190,7 +214,7 @@ public String lifecycleDetails() { return this.lifecycleDetails; } /** - * @return The MySQL version used by the read replica. + * @return The MySQL version to be used by the read replica. * */ public String mysqlVersion() { @@ -210,6 +234,20 @@ public Integer port() { public Integer portX() { return this.portX; } + /** + * @return By default a read replica inherits the MySQL version, shape, and configuration of the source DB system. If you want to override any of these, provide values in the properties, mysqlVersion, shapeName, and configurationId. If you set a property value to "", then the value is inherited from its source DB system. + * + */ + public List replicaOverrides() { + return this.replicaOverrides; + } + /** + * @return The shape currently in use by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. + * + */ + public String shapeName() { + return this.shapeName; + } /** * @return The LifecycleState of the read replica. * @@ -243,6 +281,7 @@ public static Builder builder(GetReplicasReplica defaults) { public static final class Builder { private String availabilityDomain; private String compartmentId; + private String configurationId; private String dbSystemId; private Map definedTags; private String description; @@ -256,6 +295,8 @@ public static final class Builder { private String mysqlVersion; private Integer port; private Integer portX; + private List replicaOverrides; + private String shapeName; private String state; private String timeCreated; private String timeUpdated; @@ -264,6 +305,7 @@ public Builder(GetReplicasReplica defaults) { Objects.requireNonNull(defaults); this.availabilityDomain = defaults.availabilityDomain; this.compartmentId = defaults.compartmentId; + this.configurationId = defaults.configurationId; this.dbSystemId = defaults.dbSystemId; this.definedTags = defaults.definedTags; this.description = defaults.description; @@ -277,6 +319,8 @@ public Builder(GetReplicasReplica defaults) { this.mysqlVersion = defaults.mysqlVersion; this.port = defaults.port; this.portX = defaults.portX; + this.replicaOverrides = defaults.replicaOverrides; + this.shapeName = defaults.shapeName; this.state = defaults.state; this.timeCreated = defaults.timeCreated; this.timeUpdated = defaults.timeUpdated; @@ -293,6 +337,11 @@ public Builder compartmentId(String compartmentId) { return this; } @CustomType.Setter + public Builder configurationId(String configurationId) { + this.configurationId = Objects.requireNonNull(configurationId); + return this; + } + @CustomType.Setter public Builder dbSystemId(String dbSystemId) { this.dbSystemId = Objects.requireNonNull(dbSystemId); return this; @@ -358,6 +407,19 @@ public Builder portX(Integer portX) { return this; } @CustomType.Setter + public Builder replicaOverrides(List replicaOverrides) { + this.replicaOverrides = Objects.requireNonNull(replicaOverrides); + return this; + } + public Builder replicaOverrides(GetReplicasReplicaReplicaOverride... replicaOverrides) { + return replicaOverrides(List.of(replicaOverrides)); + } + @CustomType.Setter + public Builder shapeName(String shapeName) { + this.shapeName = Objects.requireNonNull(shapeName); + return this; + } + @CustomType.Setter public Builder state(String state) { this.state = Objects.requireNonNull(state); return this; @@ -376,6 +438,7 @@ public GetReplicasReplica build() { final var o = new GetReplicasReplica(); o.availabilityDomain = availabilityDomain; o.compartmentId = compartmentId; + o.configurationId = configurationId; o.dbSystemId = dbSystemId; o.definedTags = definedTags; o.description = description; @@ -389,6 +452,8 @@ public GetReplicasReplica build() { o.mysqlVersion = mysqlVersion; o.port = port; o.portX = portX; + o.replicaOverrides = replicaOverrides; + o.shapeName = shapeName; o.state = state; o.timeCreated = timeCreated; o.timeUpdated = timeUpdated; diff --git a/sdk/java/src/main/java/com/pulumi/oci/Mysql/outputs/GetReplicasReplicaReplicaOverride.java b/sdk/java/src/main/java/com/pulumi/oci/Mysql/outputs/GetReplicasReplicaReplicaOverride.java new file mode 100644 index 0000000000..150fe73245 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Mysql/outputs/GetReplicasReplicaReplicaOverride.java @@ -0,0 +1,94 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Mysql.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetReplicasReplicaReplicaOverride { + /** + * @return The requested Configuration instance. + * + */ + private String configurationId; + /** + * @return The MySQL version to be used by the read replica. + * + */ + private String mysqlVersion; + /** + * @return The shape currently in use by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. + * + */ + private String shapeName; + + private GetReplicasReplicaReplicaOverride() {} + /** + * @return The requested Configuration instance. + * + */ + public String configurationId() { + return this.configurationId; + } + /** + * @return The MySQL version to be used by the read replica. + * + */ + public String mysqlVersion() { + return this.mysqlVersion; + } + /** + * @return The shape currently in use by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. + * + */ + public String shapeName() { + return this.shapeName; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetReplicasReplicaReplicaOverride defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private String configurationId; + private String mysqlVersion; + private String shapeName; + public Builder() {} + public Builder(GetReplicasReplicaReplicaOverride defaults) { + Objects.requireNonNull(defaults); + this.configurationId = defaults.configurationId; + this.mysqlVersion = defaults.mysqlVersion; + this.shapeName = defaults.shapeName; + } + + @CustomType.Setter + public Builder configurationId(String configurationId) { + this.configurationId = Objects.requireNonNull(configurationId); + return this; + } + @CustomType.Setter + public Builder mysqlVersion(String mysqlVersion) { + this.mysqlVersion = Objects.requireNonNull(mysqlVersion); + return this; + } + @CustomType.Setter + public Builder shapeName(String shapeName) { + this.shapeName = Objects.requireNonNull(shapeName); + return this; + } + public GetReplicasReplicaReplicaOverride build() { + final var o = new GetReplicasReplicaReplicaOverride(); + o.configurationId = configurationId; + o.mysqlVersion = mysqlVersion; + o.shapeName = shapeName; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Mysql/outputs/GetReplicasResult.java b/sdk/java/src/main/java/com/pulumi/oci/Mysql/outputs/GetReplicasResult.java index 2e3964ad2c..e5af53b72f 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Mysql/outputs/GetReplicasResult.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Mysql/outputs/GetReplicasResult.java @@ -6,6 +6,7 @@ import com.pulumi.core.annotations.CustomType; import com.pulumi.oci.Mysql.outputs.GetReplicasFilter; import com.pulumi.oci.Mysql.outputs.GetReplicasReplica; +import java.lang.Boolean; import java.lang.String; import java.util.List; import java.util.Objects; @@ -19,6 +20,11 @@ public final class GetReplicasResult { * */ private String compartmentId; + /** + * @return The OCID of the Configuration to be used by the read replica. + * + */ + private @Nullable String configurationId; /** * @return The OCID of the DB System the read replica is associated with. * @@ -35,6 +41,7 @@ public final class GetReplicasResult { * */ private String id; + private @Nullable Boolean isUpToDate; private @Nullable String replicaId; /** * @return The list of replicas. @@ -55,6 +62,13 @@ private GetReplicasResult() {} public String compartmentId() { return this.compartmentId; } + /** + * @return The OCID of the Configuration to be used by the read replica. + * + */ + public Optional configurationId() { + return Optional.ofNullable(this.configurationId); + } /** * @return The OCID of the DB System the read replica is associated with. * @@ -79,6 +93,9 @@ public List filters() { public String id() { return this.id; } + public Optional isUpToDate() { + return Optional.ofNullable(this.isUpToDate); + } public Optional replicaId() { return Optional.ofNullable(this.replicaId); } @@ -107,10 +124,12 @@ public static Builder builder(GetReplicasResult defaults) { @CustomType.Builder public static final class Builder { private String compartmentId; + private @Nullable String configurationId; private @Nullable String dbSystemId; private @Nullable String displayName; private @Nullable List filters; private String id; + private @Nullable Boolean isUpToDate; private @Nullable String replicaId; private List replicas; private @Nullable String state; @@ -118,10 +137,12 @@ public Builder() {} public Builder(GetReplicasResult defaults) { Objects.requireNonNull(defaults); this.compartmentId = defaults.compartmentId; + this.configurationId = defaults.configurationId; this.dbSystemId = defaults.dbSystemId; this.displayName = defaults.displayName; this.filters = defaults.filters; this.id = defaults.id; + this.isUpToDate = defaults.isUpToDate; this.replicaId = defaults.replicaId; this.replicas = defaults.replicas; this.state = defaults.state; @@ -133,6 +154,11 @@ public Builder compartmentId(String compartmentId) { return this; } @CustomType.Setter + public Builder configurationId(@Nullable String configurationId) { + this.configurationId = configurationId; + return this; + } + @CustomType.Setter public Builder dbSystemId(@Nullable String dbSystemId) { this.dbSystemId = dbSystemId; return this; @@ -156,6 +182,11 @@ public Builder id(String id) { return this; } @CustomType.Setter + public Builder isUpToDate(@Nullable Boolean isUpToDate) { + this.isUpToDate = isUpToDate; + return this; + } + @CustomType.Setter public Builder replicaId(@Nullable String replicaId) { this.replicaId = replicaId; return this; @@ -176,10 +207,12 @@ public Builder state(@Nullable String state) { public GetReplicasResult build() { final var o = new GetReplicasResult(); o.compartmentId = compartmentId; + o.configurationId = configurationId; o.dbSystemId = dbSystemId; o.displayName = displayName; o.filters = filters; o.id = id; + o.isUpToDate = isUpToDate; o.replicaId = replicaId; o.replicas = replicas; o.state = state; diff --git a/sdk/java/src/main/java/com/pulumi/oci/Mysql/outputs/ReplicaReplicaOverrides.java b/sdk/java/src/main/java/com/pulumi/oci/Mysql/outputs/ReplicaReplicaOverrides.java new file mode 100644 index 0000000000..3e78f2bbee --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/oci/Mysql/outputs/ReplicaReplicaOverrides.java @@ -0,0 +1,102 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.oci.Mysql.outputs; + +import com.pulumi.core.annotations.CustomType; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class ReplicaReplicaOverrides { + /** + * @return (Updatable) The OCID of the Configuration to be used by the read replica. + * + */ + private @Nullable String configurationId; + /** + * @return (Updatable) The MySQL version to be used by the read replica. + * + */ + private @Nullable String mysqlVersion; + /** + * @return (Updatable) The shape to be used by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. + * + * ** 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 + * + */ + private @Nullable String shapeName; + + private ReplicaReplicaOverrides() {} + /** + * @return (Updatable) The OCID of the Configuration to be used by the read replica. + * + */ + public Optional configurationId() { + return Optional.ofNullable(this.configurationId); + } + /** + * @return (Updatable) The MySQL version to be used by the read replica. + * + */ + public Optional mysqlVersion() { + return Optional.ofNullable(this.mysqlVersion); + } + /** + * @return (Updatable) The shape to be used by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. + * + * ** 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 + * + */ + public Optional shapeName() { + return Optional.ofNullable(this.shapeName); + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(ReplicaReplicaOverrides defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String configurationId; + private @Nullable String mysqlVersion; + private @Nullable String shapeName; + public Builder() {} + public Builder(ReplicaReplicaOverrides defaults) { + Objects.requireNonNull(defaults); + this.configurationId = defaults.configurationId; + this.mysqlVersion = defaults.mysqlVersion; + this.shapeName = defaults.shapeName; + } + + @CustomType.Setter + public Builder configurationId(@Nullable String configurationId) { + this.configurationId = configurationId; + return this; + } + @CustomType.Setter + public Builder mysqlVersion(@Nullable String mysqlVersion) { + this.mysqlVersion = mysqlVersion; + return this; + } + @CustomType.Setter + public Builder shapeName(@Nullable String shapeName) { + this.shapeName = shapeName; + return this; + } + public ReplicaReplicaOverrides build() { + final var o = new ReplicaReplicaOverrides(); + o.configurationId = configurationId; + o.mysqlVersion = mysqlVersion; + o.shapeName = shapeName; + return o; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/oci/Ocvp/EsxiHost.java b/sdk/java/src/main/java/com/pulumi/oci/Ocvp/EsxiHost.java index e2cd17be77..cac36c694a 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Ocvp/EsxiHost.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Ocvp/EsxiHost.java @@ -270,17 +270,9 @@ public Output isBillingContinuationInProgress() { public Output isBillingSwappingInProgress() { return this.isBillingSwappingInProgress; } - /** - * The billing option to switch to after the current billing cycle ends. If `nextSku` is null or empty, `currentSku` continues to the next billing cycle. [ListSupportedSkus](https://docs.cloud.oracle.com/iaas/api/#/en/vmware/20200501/SupportedSkuSummary/ListSupportedSkus). - * - */ @Export(name="nextSku", refs={String.class}, tree="[0]") private Output nextSku; - /** - * @return The billing option to switch to after the current billing cycle ends. If `nextSku` is null or empty, `currentSku` continues to the next billing cycle. [ListSupportedSkus](https://docs.cloud.oracle.com/iaas/api/#/en/vmware/20200501/SupportedSkuSummary/ListSupportedSkus). - * - */ public Output nextSku() { return this.nextSku; } diff --git a/sdk/java/src/main/java/com/pulumi/oci/Ocvp/EsxiHostArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Ocvp/EsxiHostArgs.java index 1b76de20e0..0020a33a5d 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Ocvp/EsxiHostArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Ocvp/EsxiHostArgs.java @@ -176,17 +176,9 @@ public Optional> hostShapeName() { return Optional.ofNullable(this.hostShapeName); } - /** - * The billing option to switch to after the current billing cycle ends. If `nextSku` is null or empty, `currentSku` continues to the next billing cycle. [ListSupportedSkus](https://docs.cloud.oracle.com/iaas/api/#/en/vmware/20200501/SupportedSkuSummary/ListSupportedSkus). - * - */ @Import(name="nextSku") private @Nullable Output nextSku; - /** - * @return The billing option to switch to after the current billing cycle ends. If `nextSku` is null or empty, `currentSku` continues to the next billing cycle. [ListSupportedSkus](https://docs.cloud.oracle.com/iaas/api/#/en/vmware/20200501/SupportedSkuSummary/ListSupportedSkus). - * - */ public Optional> nextSku() { return Optional.ofNullable(this.nextSku); } @@ -497,23 +489,11 @@ public Builder hostShapeName(String hostShapeName) { return hostShapeName(Output.of(hostShapeName)); } - /** - * @param nextSku The billing option to switch to after the current billing cycle ends. If `nextSku` is null or empty, `currentSku` continues to the next billing cycle. [ListSupportedSkus](https://docs.cloud.oracle.com/iaas/api/#/en/vmware/20200501/SupportedSkuSummary/ListSupportedSkus). - * - * @return builder - * - */ public Builder nextSku(@Nullable Output nextSku) { $.nextSku = nextSku; return this; } - /** - * @param nextSku The billing option to switch to after the current billing cycle ends. If `nextSku` is null or empty, `currentSku` continues to the next billing cycle. [ListSupportedSkus](https://docs.cloud.oracle.com/iaas/api/#/en/vmware/20200501/SupportedSkuSummary/ListSupportedSkus). - * - * @return builder - * - */ public Builder nextSku(String nextSku) { return nextSku(Output.of(nextSku)); } diff --git a/sdk/java/src/main/java/com/pulumi/oci/Ocvp/inputs/EsxiHostState.java b/sdk/java/src/main/java/com/pulumi/oci/Ocvp/inputs/EsxiHostState.java index 3b772dbeeb..761a7d9f48 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Ocvp/inputs/EsxiHostState.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Ocvp/inputs/EsxiHostState.java @@ -267,17 +267,9 @@ public Optional> isBillingSwappingInProgress() { return Optional.ofNullable(this.isBillingSwappingInProgress); } - /** - * The billing option to switch to after the current billing cycle ends. If `nextSku` is null or empty, `currentSku` continues to the next billing cycle. [ListSupportedSkus](https://docs.cloud.oracle.com/iaas/api/#/en/vmware/20200501/SupportedSkuSummary/ListSupportedSkus). - * - */ @Import(name="nextSku") private @Nullable Output nextSku; - /** - * @return The billing option to switch to after the current billing cycle ends. If `nextSku` is null or empty, `currentSku` continues to the next billing cycle. [ListSupportedSkus](https://docs.cloud.oracle.com/iaas/api/#/en/vmware/20200501/SupportedSkuSummary/ListSupportedSkus). - * - */ public Optional> nextSku() { return Optional.ofNullable(this.nextSku); } @@ -816,23 +808,11 @@ public Builder isBillingSwappingInProgress(Boolean isBillingSwappingInProgress) return isBillingSwappingInProgress(Output.of(isBillingSwappingInProgress)); } - /** - * @param nextSku The billing option to switch to after the current billing cycle ends. If `nextSku` is null or empty, `currentSku` continues to the next billing cycle. [ListSupportedSkus](https://docs.cloud.oracle.com/iaas/api/#/en/vmware/20200501/SupportedSkuSummary/ListSupportedSkus). - * - * @return builder - * - */ public Builder nextSku(@Nullable Output nextSku) { $.nextSku = nextSku; return this; } - /** - * @param nextSku The billing option to switch to after the current billing cycle ends. If `nextSku` is null or empty, `currentSku` continues to the next billing cycle. [ListSupportedSkus](https://docs.cloud.oracle.com/iaas/api/#/en/vmware/20200501/SupportedSkuSummary/ListSupportedSkus). - * - * @return builder - * - */ public Builder nextSku(String nextSku) { return nextSku(Output.of(nextSku)); } diff --git a/sdk/java/src/main/java/com/pulumi/oci/Queue/Queue.java b/sdk/java/src/main/java/com/pulumi/oci/Queue/Queue.java index 13b5653525..7911af7895 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Queue/Queue.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Queue/Queue.java @@ -21,7 +21,7 @@ /** * This resource provides the Queue resource in Oracle Cloud Infrastructure Queue service. * - * Creates a new Queue. + * Creates a new queue. * * ## Example Usage * ```java @@ -48,6 +48,7 @@ * var testQueue = new Queue("testQueue", QueueArgs.builder() * .compartmentId(var_.compartment_id()) * .displayName(var_.queue_display_name()) + * .channelConsumptionLimit(var_.queue_channel_consumption_limit()) * .customEncryptionKeyId(oci_kms_key.test_key().id()) * .deadLetterQueueDeliveryCount(var_.queue_dead_letter_queue_delivery_count()) * .definedTags(Map.of("foo-namespace.bar-key", "value")) @@ -73,28 +74,42 @@ @ResourceType(type="oci:Queue/queue:Queue") public class Queue extends com.pulumi.resources.CustomResource { /** - * (Updatable) Compartment Identifier + * (Updatable) The percentage of allocated queue resources that can be consumed by a single channel. For example, if a queue has a storage limit of 2Gb, and a single channel consumption limit is 0.1 (10%), that means data size of a single channel can't exceed 200Mb. Consumption limit of 100% (default) means that a single channel can consume up-to all allocated queue's resources. + * + */ + @Export(name="channelConsumptionLimit", refs={Integer.class}, tree="[0]") + private Output channelConsumptionLimit; + + /** + * @return (Updatable) The percentage of allocated queue resources that can be consumed by a single channel. For example, if a queue has a storage limit of 2Gb, and a single channel consumption limit is 0.1 (10%), that means data size of a single channel can't exceed 200Mb. Consumption limit of 100% (default) means that a single channel can consume up-to all allocated queue's resources. + * + */ + public Output channelConsumptionLimit() { + return this.channelConsumptionLimit; + } + /** + * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the queue. * */ @Export(name="compartmentId", refs={String.class}, tree="[0]") private Output compartmentId; /** - * @return (Updatable) Compartment Identifier + * @return (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the queue. * */ public Output compartmentId() { return this.compartmentId; } /** - * (Updatable) Id of the custom master encryption key which will be used to encrypt messages content + * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the custom encryption key to be used to encrypt messages content. * */ @Export(name="customEncryptionKeyId", refs={String.class}, tree="[0]") private Output customEncryptionKeyId; /** - * @return (Updatable) Id of the custom master encryption key which will be used to encrypt messages content + * @return (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the custom encryption key to be used to encrypt messages content. * */ public Output customEncryptionKeyId() { @@ -129,14 +144,14 @@ public Output> definedTags() { return this.definedTags; } /** - * (Updatable) Queue Identifier + * (Updatable) The user-friendly name of the queue. * */ @Export(name="displayName", refs={String.class}, tree="[0]") private Output displayName; /** - * @return (Updatable) Queue Identifier + * @return (Updatable) The user-friendly name of the queue. * */ public Output displayName() { @@ -157,14 +172,14 @@ public Output> freeformTags() { return this.freeformTags; } /** - * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. + * Any additional details about the current state of the queue. * */ @Export(name="lifecycleDetails", refs={String.class}, tree="[0]") private Output lifecycleDetails; /** - * @return A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. + * @return Any additional details about the current state of the queue. * */ public Output lifecycleDetails() { @@ -197,28 +212,28 @@ public Output> purgeType() { return Codegen.optional(this.purgeType); } /** - * The retention period of the messages in the queue, in seconds. + * The retention period of messages in the queue, in seconds. * */ @Export(name="retentionInSeconds", refs={Integer.class}, tree="[0]") private Output retentionInSeconds; /** - * @return The retention period of the messages in the queue, in seconds. + * @return The retention period of messages in the queue, in seconds. * */ public Output retentionInSeconds() { return this.retentionInSeconds; } /** - * The current state of the Queue. + * The current state of the queue. * */ @Export(name="state", refs={String.class}, tree="[0]") private Output state; /** - * @return The current state of the Queue. + * @return The current state of the queue. * */ public Output state() { @@ -239,28 +254,28 @@ public Output> systemTags() { return this.systemTags; } /** - * The time the the Queue was created. An RFC3339 formatted datetime string + * The time that the queue was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` * */ @Export(name="timeCreated", refs={String.class}, tree="[0]") private Output timeCreated; /** - * @return The time the the Queue was created. An RFC3339 formatted datetime string + * @return The time that the queue was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` * */ public Output timeCreated() { return this.timeCreated; } /** - * The time the Queue was updated. An RFC3339 formatted datetime string + * The time that the queue was updated, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` * */ @Export(name="timeUpdated", refs={String.class}, tree="[0]") private Output timeUpdated; /** - * @return The time the Queue was updated. An RFC3339 formatted datetime string + * @return The time that the queue was updated, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` * */ public Output timeUpdated() { @@ -281,14 +296,14 @@ public Output timeoutInSeconds() { return this.timeoutInSeconds; } /** - * (Updatable) The default visibility of the messages consumed from the queue. + * (Updatable) The default visibility timeout of the messages consumed from the queue, in seconds. * */ @Export(name="visibilityInSeconds", refs={Integer.class}, tree="[0]") private Output visibilityInSeconds; /** - * @return (Updatable) The default visibility of the messages consumed from the queue. + * @return (Updatable) The default visibility timeout of the messages consumed from the queue, in seconds. * */ public Output visibilityInSeconds() { diff --git a/sdk/java/src/main/java/com/pulumi/oci/Queue/QueueArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Queue/QueueArgs.java index 7f27c2939d..5782f32f7d 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Queue/QueueArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Queue/QueueArgs.java @@ -20,14 +20,29 @@ public final class QueueArgs extends com.pulumi.resources.ResourceArgs { public static final QueueArgs Empty = new QueueArgs(); /** - * (Updatable) Compartment Identifier + * (Updatable) The percentage of allocated queue resources that can be consumed by a single channel. For example, if a queue has a storage limit of 2Gb, and a single channel consumption limit is 0.1 (10%), that means data size of a single channel can't exceed 200Mb. Consumption limit of 100% (default) means that a single channel can consume up-to all allocated queue's resources. + * + */ + @Import(name="channelConsumptionLimit") + private @Nullable Output channelConsumptionLimit; + + /** + * @return (Updatable) The percentage of allocated queue resources that can be consumed by a single channel. For example, if a queue has a storage limit of 2Gb, and a single channel consumption limit is 0.1 (10%), that means data size of a single channel can't exceed 200Mb. Consumption limit of 100% (default) means that a single channel can consume up-to all allocated queue's resources. + * + */ + public Optional> channelConsumptionLimit() { + return Optional.ofNullable(this.channelConsumptionLimit); + } + + /** + * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the queue. * */ @Import(name="compartmentId", required=true) private Output compartmentId; /** - * @return (Updatable) Compartment Identifier + * @return (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the queue. * */ public Output compartmentId() { @@ -35,14 +50,14 @@ public Output compartmentId() { } /** - * (Updatable) Id of the custom master encryption key which will be used to encrypt messages content + * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the custom encryption key to be used to encrypt messages content. * */ @Import(name="customEncryptionKeyId") private @Nullable Output customEncryptionKeyId; /** - * @return (Updatable) Id of the custom master encryption key which will be used to encrypt messages content + * @return (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the custom encryption key to be used to encrypt messages content. * */ public Optional> customEncryptionKeyId() { @@ -80,14 +95,14 @@ public Optional>> definedTags() { } /** - * (Updatable) Queue Identifier + * (Updatable) The user-friendly name of the queue. * */ @Import(name="displayName", required=true) private Output displayName; /** - * @return (Updatable) Queue Identifier + * @return (Updatable) The user-friendly name of the queue. * */ public Output displayName() { @@ -124,14 +139,14 @@ public Optional> purgeType() { } /** - * The retention period of the messages in the queue, in seconds. + * The retention period of messages in the queue, in seconds. * */ @Import(name="retentionInSeconds") private @Nullable Output retentionInSeconds; /** - * @return The retention period of the messages in the queue, in seconds. + * @return The retention period of messages in the queue, in seconds. * */ public Optional> retentionInSeconds() { @@ -154,14 +169,14 @@ public Optional> timeoutInSeconds() { } /** - * (Updatable) The default visibility of the messages consumed from the queue. + * (Updatable) The default visibility timeout of the messages consumed from the queue, in seconds. * */ @Import(name="visibilityInSeconds") private @Nullable Output visibilityInSeconds; /** - * @return (Updatable) The default visibility of the messages consumed from the queue. + * @return (Updatable) The default visibility timeout of the messages consumed from the queue, in seconds. * */ public Optional> visibilityInSeconds() { @@ -171,6 +186,7 @@ public Optional> visibilityInSeconds() { private QueueArgs() {} private QueueArgs(QueueArgs $) { + this.channelConsumptionLimit = $.channelConsumptionLimit; this.compartmentId = $.compartmentId; this.customEncryptionKeyId = $.customEncryptionKeyId; this.deadLetterQueueDeliveryCount = $.deadLetterQueueDeliveryCount; @@ -203,7 +219,28 @@ public Builder(QueueArgs defaults) { } /** - * @param compartmentId (Updatable) Compartment Identifier + * @param channelConsumptionLimit (Updatable) The percentage of allocated queue resources that can be consumed by a single channel. For example, if a queue has a storage limit of 2Gb, and a single channel consumption limit is 0.1 (10%), that means data size of a single channel can't exceed 200Mb. Consumption limit of 100% (default) means that a single channel can consume up-to all allocated queue's resources. + * + * @return builder + * + */ + public Builder channelConsumptionLimit(@Nullable Output channelConsumptionLimit) { + $.channelConsumptionLimit = channelConsumptionLimit; + return this; + } + + /** + * @param channelConsumptionLimit (Updatable) The percentage of allocated queue resources that can be consumed by a single channel. For example, if a queue has a storage limit of 2Gb, and a single channel consumption limit is 0.1 (10%), that means data size of a single channel can't exceed 200Mb. Consumption limit of 100% (default) means that a single channel can consume up-to all allocated queue's resources. + * + * @return builder + * + */ + public Builder channelConsumptionLimit(Integer channelConsumptionLimit) { + return channelConsumptionLimit(Output.of(channelConsumptionLimit)); + } + + /** + * @param compartmentId (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the queue. * * @return builder * @@ -214,7 +251,7 @@ public Builder compartmentId(Output compartmentId) { } /** - * @param compartmentId (Updatable) Compartment Identifier + * @param compartmentId (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the queue. * * @return builder * @@ -224,7 +261,7 @@ public Builder compartmentId(String compartmentId) { } /** - * @param customEncryptionKeyId (Updatable) Id of the custom master encryption key which will be used to encrypt messages content + * @param customEncryptionKeyId (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the custom encryption key to be used to encrypt messages content. * * @return builder * @@ -235,7 +272,7 @@ public Builder customEncryptionKeyId(@Nullable Output customEncryptionKe } /** - * @param customEncryptionKeyId (Updatable) Id of the custom master encryption key which will be used to encrypt messages content + * @param customEncryptionKeyId (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the custom encryption key to be used to encrypt messages content. * * @return builder * @@ -287,7 +324,7 @@ public Builder definedTags(Map definedTags) { } /** - * @param displayName (Updatable) Queue Identifier + * @param displayName (Updatable) The user-friendly name of the queue. * * @return builder * @@ -298,7 +335,7 @@ public Builder displayName(Output displayName) { } /** - * @param displayName (Updatable) Queue Identifier + * @param displayName (Updatable) The user-friendly name of the queue. * * @return builder * @@ -347,7 +384,7 @@ public Builder purgeType(String purgeType) { } /** - * @param retentionInSeconds The retention period of the messages in the queue, in seconds. + * @param retentionInSeconds The retention period of messages in the queue, in seconds. * * @return builder * @@ -358,7 +395,7 @@ public Builder retentionInSeconds(@Nullable Output retentionInSeconds) } /** - * @param retentionInSeconds The retention period of the messages in the queue, in seconds. + * @param retentionInSeconds The retention period of messages in the queue, in seconds. * * @return builder * @@ -389,7 +426,7 @@ public Builder timeoutInSeconds(Integer timeoutInSeconds) { } /** - * @param visibilityInSeconds (Updatable) The default visibility of the messages consumed from the queue. + * @param visibilityInSeconds (Updatable) The default visibility timeout of the messages consumed from the queue, in seconds. * * @return builder * @@ -400,7 +437,7 @@ public Builder visibilityInSeconds(@Nullable Output visibilityInSeconds } /** - * @param visibilityInSeconds (Updatable) The default visibility of the messages consumed from the queue. + * @param visibilityInSeconds (Updatable) The default visibility timeout of the messages consumed from the queue, in seconds. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/oci/Queue/QueueFunctions.java b/sdk/java/src/main/java/com/pulumi/oci/Queue/QueueFunctions.java index 1b57ad5b43..36f2602562 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Queue/QueueFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Queue/QueueFunctions.java @@ -20,7 +20,7 @@ public final class QueueFunctions { /** * This data source provides details about a specific Queue resource in Oracle Cloud Infrastructure Queue service. * - * Gets a Queue by identifier + * Gets a queue by identifier. * * ## Example Usage * ```java @@ -59,7 +59,7 @@ public static Output getQueue(GetQueueArgs args) { /** * This data source provides details about a specific Queue resource in Oracle Cloud Infrastructure Queue service. * - * Gets a Queue by identifier + * Gets a queue by identifier. * * ## Example Usage * ```java @@ -98,7 +98,7 @@ public static CompletableFuture getQueuePlain(GetQueuePlainArgs /** * This data source provides details about a specific Queue resource in Oracle Cloud Infrastructure Queue service. * - * Gets a Queue by identifier + * Gets a queue by identifier. * * ## Example Usage * ```java @@ -137,7 +137,7 @@ public static Output getQueue(GetQueueArgs args, InvokeOptions o /** * This data source provides details about a specific Queue resource in Oracle Cloud Infrastructure Queue service. * - * Gets a Queue by identifier + * Gets a queue by identifier. * * ## Example Usage * ```java @@ -176,7 +176,7 @@ public static CompletableFuture getQueuePlain(GetQueuePlainArgs /** * This data source provides the list of Queues in Oracle Cloud Infrastructure Queue service. * - * Returns a list of Queues. + * Returns a list of queues. * * ## Example Usage * ```java @@ -218,7 +218,7 @@ public static Output getQueues() { /** * This data source provides the list of Queues in Oracle Cloud Infrastructure Queue service. * - * Returns a list of Queues. + * Returns a list of queues. * * ## Example Usage * ```java @@ -260,7 +260,7 @@ public static CompletableFuture getQueuesPlain() { /** * This data source provides the list of Queues in Oracle Cloud Infrastructure Queue service. * - * Returns a list of Queues. + * Returns a list of queues. * * ## Example Usage * ```java @@ -302,7 +302,7 @@ public static Output getQueues(GetQueuesArgs args) { /** * This data source provides the list of Queues in Oracle Cloud Infrastructure Queue service. * - * Returns a list of Queues. + * Returns a list of queues. * * ## Example Usage * ```java @@ -344,7 +344,7 @@ public static CompletableFuture getQueuesPlain(GetQueuesPlainAr /** * This data source provides the list of Queues in Oracle Cloud Infrastructure Queue service. * - * Returns a list of Queues. + * Returns a list of queues. * * ## Example Usage * ```java @@ -386,7 +386,7 @@ public static Output getQueues(GetQueuesArgs args, InvokeOption /** * This data source provides the list of Queues in Oracle Cloud Infrastructure Queue service. * - * Returns a list of Queues. + * Returns a list of queues. * * ## Example Usage * ```java diff --git a/sdk/java/src/main/java/com/pulumi/oci/Queue/inputs/GetQueueArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Queue/inputs/GetQueueArgs.java index 3843560420..b84e8223a4 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Queue/inputs/GetQueueArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Queue/inputs/GetQueueArgs.java @@ -14,14 +14,14 @@ public final class GetQueueArgs extends com.pulumi.resources.InvokeArgs { public static final GetQueueArgs Empty = new GetQueueArgs(); /** - * unique Queue identifier + * The unique queue identifier. * */ @Import(name="queueId", required=true) private Output queueId; /** - * @return unique Queue identifier + * @return The unique queue identifier. * */ public Output queueId() { @@ -53,7 +53,7 @@ public Builder(GetQueueArgs defaults) { } /** - * @param queueId unique Queue identifier + * @param queueId The unique queue identifier. * * @return builder * @@ -64,7 +64,7 @@ public Builder queueId(Output queueId) { } /** - * @param queueId unique Queue identifier + * @param queueId The unique queue identifier. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/oci/Queue/inputs/GetQueuePlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Queue/inputs/GetQueuePlainArgs.java index e94dc45d45..67ad47c185 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Queue/inputs/GetQueuePlainArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Queue/inputs/GetQueuePlainArgs.java @@ -13,14 +13,14 @@ public final class GetQueuePlainArgs extends com.pulumi.resources.InvokeArgs { public static final GetQueuePlainArgs Empty = new GetQueuePlainArgs(); /** - * unique Queue identifier + * The unique queue identifier. * */ @Import(name="queueId", required=true) private String queueId; /** - * @return unique Queue identifier + * @return The unique queue identifier. * */ public String queueId() { @@ -52,7 +52,7 @@ public Builder(GetQueuePlainArgs defaults) { } /** - * @param queueId unique Queue identifier + * @param queueId The unique queue identifier. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/oci/Queue/inputs/GetQueuesArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Queue/inputs/GetQueuesArgs.java index d5881e8e47..806d71b8b8 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Queue/inputs/GetQueuesArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Queue/inputs/GetQueuesArgs.java @@ -18,14 +18,14 @@ public final class GetQueuesArgs extends com.pulumi.resources.InvokeArgs { public static final GetQueuesArgs Empty = new GetQueuesArgs(); /** - * The ID of the compartment in which to list resources. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. * */ @Import(name="compartmentId") private @Nullable Output compartmentId; /** - * @return The ID of the compartment in which to list resources. + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. * */ public Optional> compartmentId() { @@ -55,14 +55,14 @@ public Optional>> filters() { } /** - * unique Queue identifier + * The unique queue identifier. * */ @Import(name="id") private @Nullable Output id; /** - * @return unique Queue identifier + * @return The unique queue identifier. * */ public Optional> id() { @@ -113,7 +113,7 @@ public Builder(GetQueuesArgs defaults) { } /** - * @param compartmentId The ID of the compartment in which to list resources. + * @param compartmentId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. * * @return builder * @@ -124,7 +124,7 @@ public Builder compartmentId(@Nullable Output compartmentId) { } /** - * @param compartmentId The ID of the compartment in which to list resources. + * @param compartmentId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. * * @return builder * @@ -168,7 +168,7 @@ public Builder filters(GetQueuesFilterArgs... filters) { } /** - * @param id unique Queue identifier + * @param id The unique queue identifier. * * @return builder * @@ -179,7 +179,7 @@ public Builder id(@Nullable Output id) { } /** - * @param id unique Queue identifier + * @param id The unique queue identifier. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/oci/Queue/inputs/GetQueuesPlainArgs.java b/sdk/java/src/main/java/com/pulumi/oci/Queue/inputs/GetQueuesPlainArgs.java index f1474843d1..11317761ac 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Queue/inputs/GetQueuesPlainArgs.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Queue/inputs/GetQueuesPlainArgs.java @@ -17,14 +17,14 @@ public final class GetQueuesPlainArgs extends com.pulumi.resources.InvokeArgs { public static final GetQueuesPlainArgs Empty = new GetQueuesPlainArgs(); /** - * The ID of the compartment in which to list resources. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. * */ @Import(name="compartmentId") private @Nullable String compartmentId; /** - * @return The ID of the compartment in which to list resources. + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. * */ public Optional compartmentId() { @@ -54,14 +54,14 @@ public Optional> filters() { } /** - * unique Queue identifier + * The unique queue identifier. * */ @Import(name="id") private @Nullable String id; /** - * @return unique Queue identifier + * @return The unique queue identifier. * */ public Optional id() { @@ -112,7 +112,7 @@ public Builder(GetQueuesPlainArgs defaults) { } /** - * @param compartmentId The ID of the compartment in which to list resources. + * @param compartmentId The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. * * @return builder * @@ -143,7 +143,7 @@ public Builder filters(GetQueuesFilter... filters) { } /** - * @param id unique Queue identifier + * @param id The unique queue identifier. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/oci/Queue/inputs/QueueState.java b/sdk/java/src/main/java/com/pulumi/oci/Queue/inputs/QueueState.java index 4a1b7cefab..6ee731ef80 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Queue/inputs/QueueState.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Queue/inputs/QueueState.java @@ -20,14 +20,29 @@ public final class QueueState extends com.pulumi.resources.ResourceArgs { public static final QueueState Empty = new QueueState(); /** - * (Updatable) Compartment Identifier + * (Updatable) The percentage of allocated queue resources that can be consumed by a single channel. For example, if a queue has a storage limit of 2Gb, and a single channel consumption limit is 0.1 (10%), that means data size of a single channel can't exceed 200Mb. Consumption limit of 100% (default) means that a single channel can consume up-to all allocated queue's resources. + * + */ + @Import(name="channelConsumptionLimit") + private @Nullable Output channelConsumptionLimit; + + /** + * @return (Updatable) The percentage of allocated queue resources that can be consumed by a single channel. For example, if a queue has a storage limit of 2Gb, and a single channel consumption limit is 0.1 (10%), that means data size of a single channel can't exceed 200Mb. Consumption limit of 100% (default) means that a single channel can consume up-to all allocated queue's resources. + * + */ + public Optional> channelConsumptionLimit() { + return Optional.ofNullable(this.channelConsumptionLimit); + } + + /** + * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the queue. * */ @Import(name="compartmentId") private @Nullable Output compartmentId; /** - * @return (Updatable) Compartment Identifier + * @return (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the queue. * */ public Optional> compartmentId() { @@ -35,14 +50,14 @@ public Optional> compartmentId() { } /** - * (Updatable) Id of the custom master encryption key which will be used to encrypt messages content + * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the custom encryption key to be used to encrypt messages content. * */ @Import(name="customEncryptionKeyId") private @Nullable Output customEncryptionKeyId; /** - * @return (Updatable) Id of the custom master encryption key which will be used to encrypt messages content + * @return (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the custom encryption key to be used to encrypt messages content. * */ public Optional> customEncryptionKeyId() { @@ -80,14 +95,14 @@ public Optional>> definedTags() { } /** - * (Updatable) Queue Identifier + * (Updatable) The user-friendly name of the queue. * */ @Import(name="displayName") private @Nullable Output displayName; /** - * @return (Updatable) Queue Identifier + * @return (Updatable) The user-friendly name of the queue. * */ public Optional> displayName() { @@ -110,14 +125,14 @@ public Optional>> freeformTags() { } /** - * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. + * Any additional details about the current state of the queue. * */ @Import(name="lifecycleDetails") private @Nullable Output lifecycleDetails; /** - * @return A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. + * @return Any additional details about the current state of the queue. * */ public Optional> lifecycleDetails() { @@ -154,14 +169,14 @@ public Optional> purgeType() { } /** - * The retention period of the messages in the queue, in seconds. + * The retention period of messages in the queue, in seconds. * */ @Import(name="retentionInSeconds") private @Nullable Output retentionInSeconds; /** - * @return The retention period of the messages in the queue, in seconds. + * @return The retention period of messages in the queue, in seconds. * */ public Optional> retentionInSeconds() { @@ -169,14 +184,14 @@ public Optional> retentionInSeconds() { } /** - * The current state of the Queue. + * The current state of the queue. * */ @Import(name="state") private @Nullable Output state; /** - * @return The current state of the Queue. + * @return The current state of the queue. * */ public Optional> state() { @@ -199,14 +214,14 @@ public Optional>> systemTags() { } /** - * The time the the Queue was created. An RFC3339 formatted datetime string + * The time that the queue was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` * */ @Import(name="timeCreated") private @Nullable Output timeCreated; /** - * @return The time the the Queue was created. An RFC3339 formatted datetime string + * @return The time that the queue was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` * */ public Optional> timeCreated() { @@ -214,14 +229,14 @@ public Optional> timeCreated() { } /** - * The time the Queue was updated. An RFC3339 formatted datetime string + * The time that the queue was updated, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` * */ @Import(name="timeUpdated") private @Nullable Output timeUpdated; /** - * @return The time the Queue was updated. An RFC3339 formatted datetime string + * @return The time that the queue was updated, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` * */ public Optional> timeUpdated() { @@ -244,14 +259,14 @@ public Optional> timeoutInSeconds() { } /** - * (Updatable) The default visibility of the messages consumed from the queue. + * (Updatable) The default visibility timeout of the messages consumed from the queue, in seconds. * */ @Import(name="visibilityInSeconds") private @Nullable Output visibilityInSeconds; /** - * @return (Updatable) The default visibility of the messages consumed from the queue. + * @return (Updatable) The default visibility timeout of the messages consumed from the queue, in seconds. * */ public Optional> visibilityInSeconds() { @@ -261,6 +276,7 @@ public Optional> visibilityInSeconds() { private QueueState() {} private QueueState(QueueState $) { + this.channelConsumptionLimit = $.channelConsumptionLimit; this.compartmentId = $.compartmentId; this.customEncryptionKeyId = $.customEncryptionKeyId; this.deadLetterQueueDeliveryCount = $.deadLetterQueueDeliveryCount; @@ -299,7 +315,28 @@ public Builder(QueueState defaults) { } /** - * @param compartmentId (Updatable) Compartment Identifier + * @param channelConsumptionLimit (Updatable) The percentage of allocated queue resources that can be consumed by a single channel. For example, if a queue has a storage limit of 2Gb, and a single channel consumption limit is 0.1 (10%), that means data size of a single channel can't exceed 200Mb. Consumption limit of 100% (default) means that a single channel can consume up-to all allocated queue's resources. + * + * @return builder + * + */ + public Builder channelConsumptionLimit(@Nullable Output channelConsumptionLimit) { + $.channelConsumptionLimit = channelConsumptionLimit; + return this; + } + + /** + * @param channelConsumptionLimit (Updatable) The percentage of allocated queue resources that can be consumed by a single channel. For example, if a queue has a storage limit of 2Gb, and a single channel consumption limit is 0.1 (10%), that means data size of a single channel can't exceed 200Mb. Consumption limit of 100% (default) means that a single channel can consume up-to all allocated queue's resources. + * + * @return builder + * + */ + public Builder channelConsumptionLimit(Integer channelConsumptionLimit) { + return channelConsumptionLimit(Output.of(channelConsumptionLimit)); + } + + /** + * @param compartmentId (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the queue. * * @return builder * @@ -310,7 +347,7 @@ public Builder compartmentId(@Nullable Output compartmentId) { } /** - * @param compartmentId (Updatable) Compartment Identifier + * @param compartmentId (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the queue. * * @return builder * @@ -320,7 +357,7 @@ public Builder compartmentId(String compartmentId) { } /** - * @param customEncryptionKeyId (Updatable) Id of the custom master encryption key which will be used to encrypt messages content + * @param customEncryptionKeyId (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the custom encryption key to be used to encrypt messages content. * * @return builder * @@ -331,7 +368,7 @@ public Builder customEncryptionKeyId(@Nullable Output customEncryptionKe } /** - * @param customEncryptionKeyId (Updatable) Id of the custom master encryption key which will be used to encrypt messages content + * @param customEncryptionKeyId (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the custom encryption key to be used to encrypt messages content. * * @return builder * @@ -383,7 +420,7 @@ public Builder definedTags(Map definedTags) { } /** - * @param displayName (Updatable) Queue Identifier + * @param displayName (Updatable) The user-friendly name of the queue. * * @return builder * @@ -394,7 +431,7 @@ public Builder displayName(@Nullable Output displayName) { } /** - * @param displayName (Updatable) Queue Identifier + * @param displayName (Updatable) The user-friendly name of the queue. * * @return builder * @@ -425,7 +462,7 @@ public Builder freeformTags(Map freeformTags) { } /** - * @param lifecycleDetails A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. + * @param lifecycleDetails Any additional details about the current state of the queue. * * @return builder * @@ -436,7 +473,7 @@ public Builder lifecycleDetails(@Nullable Output lifecycleDetails) { } /** - * @param lifecycleDetails A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. + * @param lifecycleDetails Any additional details about the current state of the queue. * * @return builder * @@ -485,7 +522,7 @@ public Builder purgeType(String purgeType) { } /** - * @param retentionInSeconds The retention period of the messages in the queue, in seconds. + * @param retentionInSeconds The retention period of messages in the queue, in seconds. * * @return builder * @@ -496,7 +533,7 @@ public Builder retentionInSeconds(@Nullable Output retentionInSeconds) } /** - * @param retentionInSeconds The retention period of the messages in the queue, in seconds. + * @param retentionInSeconds The retention period of messages in the queue, in seconds. * * @return builder * @@ -506,7 +543,7 @@ public Builder retentionInSeconds(Integer retentionInSeconds) { } /** - * @param state The current state of the Queue. + * @param state The current state of the queue. * * @return builder * @@ -517,7 +554,7 @@ public Builder state(@Nullable Output state) { } /** - * @param state The current state of the Queue. + * @param state The current state of the queue. * * @return builder * @@ -548,7 +585,7 @@ public Builder systemTags(Map systemTags) { } /** - * @param timeCreated The time the the Queue was created. An RFC3339 formatted datetime string + * @param timeCreated The time that the queue was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` * * @return builder * @@ -559,7 +596,7 @@ public Builder timeCreated(@Nullable Output timeCreated) { } /** - * @param timeCreated The time the the Queue was created. An RFC3339 formatted datetime string + * @param timeCreated The time that the queue was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` * * @return builder * @@ -569,7 +606,7 @@ public Builder timeCreated(String timeCreated) { } /** - * @param timeUpdated The time the Queue was updated. An RFC3339 formatted datetime string + * @param timeUpdated The time that the queue was updated, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` * * @return builder * @@ -580,7 +617,7 @@ public Builder timeUpdated(@Nullable Output timeUpdated) { } /** - * @param timeUpdated The time the Queue was updated. An RFC3339 formatted datetime string + * @param timeUpdated The time that the queue was updated, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` * * @return builder * @@ -611,7 +648,7 @@ public Builder timeoutInSeconds(Integer timeoutInSeconds) { } /** - * @param visibilityInSeconds (Updatable) The default visibility of the messages consumed from the queue. + * @param visibilityInSeconds (Updatable) The default visibility timeout of the messages consumed from the queue, in seconds. * * @return builder * @@ -622,7 +659,7 @@ public Builder visibilityInSeconds(@Nullable Output visibilityInSeconds } /** - * @param visibilityInSeconds (Updatable) The default visibility of the messages consumed from the queue. + * @param visibilityInSeconds (Updatable) The default visibility timeout of the messages consumed from the queue, in seconds. * * @return builder * diff --git a/sdk/java/src/main/java/com/pulumi/oci/Queue/outputs/GetQueueResult.java b/sdk/java/src/main/java/com/pulumi/oci/Queue/outputs/GetQueueResult.java index d8a3be9a43..e437919fb4 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Queue/outputs/GetQueueResult.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Queue/outputs/GetQueueResult.java @@ -14,12 +14,17 @@ @CustomType public final class GetQueueResult { /** - * @return Compartment Identifier + * @return The percentage of allocated queue resources that can be consumed by a single channel. For example, if a queue has a storage limit of 2Gb, and a single channel consumption limit is 0.1 (10%), that means data size of a single channel can't exceed 200Mb. Consumption limit of 100% (default) means that a single channel can consume up-to all allocated queue's resources. + * + */ + private Integer channelConsumptionLimit; + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the queue. * */ private String compartmentId; /** - * @return Id of the custom master encryption key which will be used to encrypt messages content + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the custom encryption key to be used to encrypt messages content. * */ private String customEncryptionKeyId; @@ -34,7 +39,7 @@ public final class GetQueueResult { */ private Map definedTags; /** - * @return Queue Identifier, can be renamed + * @return A user-friendly name for the queue. Does not have to be unique, and it's changeable. Avoid entering confidential information. * */ private String displayName; @@ -44,12 +49,12 @@ public final class GetQueueResult { */ private Map freeformTags; /** - * @return Unique identifier that is immutable on creation + * @return A unique identifier for the queue that is immutable on creation. * */ private String id; /** - * @return A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. + * @return Any additional details about the current state of the queue. * */ private String lifecycleDetails; @@ -67,7 +72,7 @@ public final class GetQueueResult { */ private Integer retentionInSeconds; /** - * @return The current state of the Queue. + * @return The current state of the queue. * */ private String state; @@ -77,12 +82,12 @@ public final class GetQueueResult { */ private Map systemTags; /** - * @return The time the the Queue was created. An RFC3339 formatted datetime string + * @return The time that the queue was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` * */ private String timeCreated; /** - * @return The time the Queue was updated. An RFC3339 formatted datetime string + * @return The time that the queue was updated, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` * */ private String timeUpdated; @@ -92,21 +97,28 @@ public final class GetQueueResult { */ private Integer timeoutInSeconds; /** - * @return The default visibility of the messages consumed from the queue. + * @return The default visibility timeout of the messages consumed from the queue, in seconds. * */ private Integer visibilityInSeconds; private GetQueueResult() {} /** - * @return Compartment Identifier + * @return The percentage of allocated queue resources that can be consumed by a single channel. For example, if a queue has a storage limit of 2Gb, and a single channel consumption limit is 0.1 (10%), that means data size of a single channel can't exceed 200Mb. Consumption limit of 100% (default) means that a single channel can consume up-to all allocated queue's resources. + * + */ + public Integer channelConsumptionLimit() { + return this.channelConsumptionLimit; + } + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the queue. * */ public String compartmentId() { return this.compartmentId; } /** - * @return Id of the custom master encryption key which will be used to encrypt messages content + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the custom encryption key to be used to encrypt messages content. * */ public String customEncryptionKeyId() { @@ -127,7 +139,7 @@ public Map definedTags() { return this.definedTags; } /** - * @return Queue Identifier, can be renamed + * @return A user-friendly name for the queue. Does not have to be unique, and it's changeable. Avoid entering confidential information. * */ public String displayName() { @@ -141,14 +153,14 @@ public Map freeformTags() { return this.freeformTags; } /** - * @return Unique identifier that is immutable on creation + * @return A unique identifier for the queue that is immutable on creation. * */ public String id() { return this.id; } /** - * @return A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. + * @return Any additional details about the current state of the queue. * */ public String lifecycleDetails() { @@ -178,7 +190,7 @@ public Integer retentionInSeconds() { return this.retentionInSeconds; } /** - * @return The current state of the Queue. + * @return The current state of the queue. * */ public String state() { @@ -192,14 +204,14 @@ public Map systemTags() { return this.systemTags; } /** - * @return The time the the Queue was created. An RFC3339 formatted datetime string + * @return The time that the queue was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` * */ public String timeCreated() { return this.timeCreated; } /** - * @return The time the Queue was updated. An RFC3339 formatted datetime string + * @return The time that the queue was updated, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` * */ public String timeUpdated() { @@ -213,7 +225,7 @@ public Integer timeoutInSeconds() { return this.timeoutInSeconds; } /** - * @return The default visibility of the messages consumed from the queue. + * @return The default visibility timeout of the messages consumed from the queue, in seconds. * */ public Integer visibilityInSeconds() { @@ -229,6 +241,7 @@ public static Builder builder(GetQueueResult defaults) { } @CustomType.Builder public static final class Builder { + private Integer channelConsumptionLimit; private String compartmentId; private String customEncryptionKeyId; private Integer deadLetterQueueDeliveryCount; @@ -251,6 +264,7 @@ public static final class Builder { public Builder() {} public Builder(GetQueueResult defaults) { Objects.requireNonNull(defaults); + this.channelConsumptionLimit = defaults.channelConsumptionLimit; this.compartmentId = defaults.compartmentId; this.customEncryptionKeyId = defaults.customEncryptionKeyId; this.deadLetterQueueDeliveryCount = defaults.deadLetterQueueDeliveryCount; @@ -272,6 +286,11 @@ public Builder(GetQueueResult defaults) { this.visibilityInSeconds = defaults.visibilityInSeconds; } + @CustomType.Setter + public Builder channelConsumptionLimit(Integer channelConsumptionLimit) { + this.channelConsumptionLimit = Objects.requireNonNull(channelConsumptionLimit); + return this; + } @CustomType.Setter public Builder compartmentId(String compartmentId) { this.compartmentId = Objects.requireNonNull(compartmentId); @@ -369,6 +388,7 @@ public Builder visibilityInSeconds(Integer visibilityInSeconds) { } public GetQueueResult build() { final var o = new GetQueueResult(); + o.channelConsumptionLimit = channelConsumptionLimit; o.compartmentId = compartmentId; o.customEncryptionKeyId = customEncryptionKeyId; o.deadLetterQueueDeliveryCount = deadLetterQueueDeliveryCount; diff --git a/sdk/java/src/main/java/com/pulumi/oci/Queue/outputs/GetQueuesQueueCollectionItem.java b/sdk/java/src/main/java/com/pulumi/oci/Queue/outputs/GetQueuesQueueCollectionItem.java index 760590122f..5d3bec3973 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Queue/outputs/GetQueuesQueueCollectionItem.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Queue/outputs/GetQueuesQueueCollectionItem.java @@ -14,12 +14,17 @@ @CustomType public final class GetQueuesQueueCollectionItem { /** - * @return The ID of the compartment in which to list resources. + * @return The percentage of allocated queue resources that can be consumed by a single channel. For example, if a queue has a storage limit of 2Gb, and a single channel consumption limit is 0.1 (10%), that means data size of a single channel can't exceed 200Mb. Consumption limit of 100% (default) means that a single channel can consume up-to all allocated queue's resources. + * + */ + private Integer channelConsumptionLimit; + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. * */ private String compartmentId; /** - * @return Id of the custom master encryption key which will be used to encrypt messages content + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the custom encryption key to be used to encrypt messages content. * */ private String customEncryptionKeyId; @@ -44,12 +49,12 @@ public final class GetQueuesQueueCollectionItem { */ private Map freeformTags; /** - * @return unique Queue identifier + * @return The unique queue identifier. * */ private String id; /** - * @return A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. + * @return Any additional details about the current state of the queue. * */ private String lifecycleDetails; @@ -76,12 +81,12 @@ public final class GetQueuesQueueCollectionItem { */ private Map systemTags; /** - * @return The time the the Queue was created. An RFC3339 formatted datetime string + * @return The time that the queue was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` * */ private String timeCreated; /** - * @return The time the Queue was updated. An RFC3339 formatted datetime string + * @return The time that the queue was updated, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` * */ private String timeUpdated; @@ -91,21 +96,28 @@ public final class GetQueuesQueueCollectionItem { */ private Integer timeoutInSeconds; /** - * @return The default visibility of the messages consumed from the queue. + * @return The default visibility timeout of the messages consumed from the queue, in seconds. * */ private Integer visibilityInSeconds; private GetQueuesQueueCollectionItem() {} /** - * @return The ID of the compartment in which to list resources. + * @return The percentage of allocated queue resources that can be consumed by a single channel. For example, if a queue has a storage limit of 2Gb, and a single channel consumption limit is 0.1 (10%), that means data size of a single channel can't exceed 200Mb. Consumption limit of 100% (default) means that a single channel can consume up-to all allocated queue's resources. + * + */ + public Integer channelConsumptionLimit() { + return this.channelConsumptionLimit; + } + /** + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. * */ public String compartmentId() { return this.compartmentId; } /** - * @return Id of the custom master encryption key which will be used to encrypt messages content + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the custom encryption key to be used to encrypt messages content. * */ public String customEncryptionKeyId() { @@ -140,14 +152,14 @@ public Map freeformTags() { return this.freeformTags; } /** - * @return unique Queue identifier + * @return The unique queue identifier. * */ public String id() { return this.id; } /** - * @return A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. + * @return Any additional details about the current state of the queue. * */ public String lifecycleDetails() { @@ -188,14 +200,14 @@ public Map systemTags() { return this.systemTags; } /** - * @return The time the the Queue was created. An RFC3339 formatted datetime string + * @return The time that the queue was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` * */ public String timeCreated() { return this.timeCreated; } /** - * @return The time the Queue was updated. An RFC3339 formatted datetime string + * @return The time that the queue was updated, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` * */ public String timeUpdated() { @@ -209,7 +221,7 @@ public Integer timeoutInSeconds() { return this.timeoutInSeconds; } /** - * @return The default visibility of the messages consumed from the queue. + * @return The default visibility timeout of the messages consumed from the queue, in seconds. * */ public Integer visibilityInSeconds() { @@ -225,6 +237,7 @@ public static Builder builder(GetQueuesQueueCollectionItem defaults) { } @CustomType.Builder public static final class Builder { + private Integer channelConsumptionLimit; private String compartmentId; private String customEncryptionKeyId; private Integer deadLetterQueueDeliveryCount; @@ -246,6 +259,7 @@ public static final class Builder { public Builder() {} public Builder(GetQueuesQueueCollectionItem defaults) { Objects.requireNonNull(defaults); + this.channelConsumptionLimit = defaults.channelConsumptionLimit; this.compartmentId = defaults.compartmentId; this.customEncryptionKeyId = defaults.customEncryptionKeyId; this.deadLetterQueueDeliveryCount = defaults.deadLetterQueueDeliveryCount; @@ -266,6 +280,11 @@ public Builder(GetQueuesQueueCollectionItem defaults) { this.visibilityInSeconds = defaults.visibilityInSeconds; } + @CustomType.Setter + public Builder channelConsumptionLimit(Integer channelConsumptionLimit) { + this.channelConsumptionLimit = Objects.requireNonNull(channelConsumptionLimit); + return this; + } @CustomType.Setter public Builder compartmentId(String compartmentId) { this.compartmentId = Objects.requireNonNull(compartmentId); @@ -358,6 +377,7 @@ public Builder visibilityInSeconds(Integer visibilityInSeconds) { } public GetQueuesQueueCollectionItem build() { final var o = new GetQueuesQueueCollectionItem(); + o.channelConsumptionLimit = channelConsumptionLimit; o.compartmentId = compartmentId; o.customEncryptionKeyId = customEncryptionKeyId; o.deadLetterQueueDeliveryCount = deadLetterQueueDeliveryCount; diff --git a/sdk/java/src/main/java/com/pulumi/oci/Queue/outputs/GetQueuesResult.java b/sdk/java/src/main/java/com/pulumi/oci/Queue/outputs/GetQueuesResult.java index 9f123fdb49..50894028f6 100644 --- a/sdk/java/src/main/java/com/pulumi/oci/Queue/outputs/GetQueuesResult.java +++ b/sdk/java/src/main/java/com/pulumi/oci/Queue/outputs/GetQueuesResult.java @@ -15,18 +15,18 @@ @CustomType public final class GetQueuesResult { /** - * @return Compartment Identifier + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the queue. * */ private @Nullable String compartmentId; /** - * @return Queue Identifier, can be renamed + * @return A user-friendly name for the queue. Does not have to be unique, and it's changeable. Avoid entering confidential information. * */ private @Nullable String displayName; private @Nullable List filters; /** - * @return Unique identifier that is immutable on creation + * @return A unique identifier for the queue that is immutable on creation. * */ private @Nullable String id; @@ -36,21 +36,21 @@ public final class GetQueuesResult { */ private List queueCollections; /** - * @return The current state of the Queue. + * @return The current state of the queue. * */ private @Nullable String state; private GetQueuesResult() {} /** - * @return Compartment Identifier + * @return The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the queue. * */ public Optional compartmentId() { return Optional.ofNullable(this.compartmentId); } /** - * @return Queue Identifier, can be renamed + * @return A user-friendly name for the queue. Does not have to be unique, and it's changeable. Avoid entering confidential information. * */ public Optional displayName() { @@ -60,7 +60,7 @@ public List filters() { return this.filters == null ? List.of() : this.filters; } /** - * @return Unique identifier that is immutable on creation + * @return A unique identifier for the queue that is immutable on creation. * */ public Optional id() { @@ -74,7 +74,7 @@ public List queueCollections() { return this.queueCollections; } /** - * @return The current state of the Queue. + * @return The current state of the queue. * */ public Optional state() { diff --git a/sdk/nodejs/aidocument/model.ts b/sdk/nodejs/aidocument/model.ts index d5da672080..7ad3403fb4 100644 --- a/sdk/nodejs/aidocument/model.ts +++ b/sdk/nodejs/aidocument/model.ts @@ -97,9 +97,6 @@ export class Model extends pulumi.CustomResource { * Trained Model Metrics. */ public /*out*/ readonly metrics!: pulumi.Output; - /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of active custom Key Value model that need to be composed. - */ public readonly modelId!: pulumi.Output; /** * The type of the Document model. @@ -282,9 +279,6 @@ export interface ModelState { * Trained Model Metrics. */ metrics?: pulumi.Input[]>; - /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of active custom Key Value model that need to be composed. - */ modelId?: pulumi.Input; /** * The type of the Document model. @@ -372,9 +366,6 @@ export interface ModelArgs { * The maximum model training time in hours, expressed as a decimal fraction. */ maxTrainingTimeInHours?: pulumi.Input; - /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of active custom Key Value model that need to be composed. - */ modelId?: pulumi.Input; /** * The type of the Document model. diff --git a/sdk/nodejs/autoscaling/autoScalingConfiguration.ts b/sdk/nodejs/autoscaling/autoScalingConfiguration.ts index 7a48ec0675..ac248c2978 100644 --- a/sdk/nodejs/autoscaling/autoScalingConfiguration.ts +++ b/sdk/nodejs/autoscaling/autoScalingConfiguration.ts @@ -124,9 +124,6 @@ export class AutoScalingConfiguration extends pulumi.CustomResource { * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ public readonly definedTags!: pulumi.Output<{[key: string]: any}>; - /** - * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. - */ public readonly displayName!: pulumi.Output; /** * (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` @@ -229,9 +226,6 @@ export interface AutoScalingConfigurationState { * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ definedTags?: pulumi.Input<{[key: string]: any}>; - /** - * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. - */ displayName?: pulumi.Input; /** * (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` @@ -283,9 +277,6 @@ export interface AutoScalingConfigurationArgs { * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` */ definedTags?: pulumi.Input<{[key: string]: any}>; - /** - * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. - */ displayName?: pulumi.Input; /** * (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` diff --git a/sdk/nodejs/computecloud/atCustomerCccInfrastructure.ts b/sdk/nodejs/computecloud/atCustomerCccInfrastructure.ts new file mode 100644 index 0000000000..a72bb70097 --- /dev/null +++ b/sdk/nodejs/computecloud/atCustomerCccInfrastructure.ts @@ -0,0 +1,363 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../types/input"; +import * as outputs from "../types/output"; +import * as utilities from "../utilities"; + +/** + * This resource provides the Ccc Infrastructure resource in Oracle Cloud Infrastructure Compute Cloud At Customer service. + * + * Creates a Compute Cloud@Customer infrastructure. Once created, Oracle Services + * must connect the rack in the data center to this Oracle Cloud Infrastructure resource. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testCccInfrastructure = new oci.computecloud.AtCustomerCccInfrastructure("testCccInfrastructure", { + * compartmentId: _var.compartment_id, + * displayName: _var.ccc_infrastructure_display_name, + * subnetId: oci_core_subnet.test_subnet.id, + * cccUpgradeScheduleId: oci_compute_cloud_at_customer_ccc_upgrade_schedule.test_ccc_upgrade_schedule.id, + * connectionDetails: _var.ccc_infrastructure_connection_details, + * connectionState: _var.ccc_infrastructure_connection_state, + * definedTags: { + * "foo-namespace.bar-key": "value", + * }, + * description: _var.ccc_infrastructure_description, + * freeformTags: { + * "bar-key": "value", + * }, + * }); + * ``` + * + * ## Import + * + * CccInfrastructures can be imported using the `id`, e.g. + * + * ```sh + * $ pulumi import oci:ComputeCloud/atCustomerCccInfrastructure:AtCustomerCccInfrastructure test_ccc_infrastructure "id" + * ``` + */ +export class AtCustomerCccInfrastructure extends pulumi.CustomResource { + /** + * Get an existing AtCustomerCccInfrastructure resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state Any extra arguments used during the lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, state?: AtCustomerCccInfrastructureState, opts?: pulumi.CustomResourceOptions): AtCustomerCccInfrastructure { + return new AtCustomerCccInfrastructure(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'oci:ComputeCloud/atCustomerCccInfrastructure:AtCustomerCccInfrastructure'; + + /** + * Returns true if the given object is an instance of AtCustomerCccInfrastructure. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is AtCustomerCccInfrastructure { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === AtCustomerCccInfrastructure.__pulumiType; + } + + /** + * (Updatable) Schedule used for upgrades. If no schedule is associated with the infrastructure, it can be upgraded at any time. + */ + public readonly cccUpgradeScheduleId!: pulumi.Output; + /** + * (Updatable) The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with the infrastructure. + */ + public readonly compartmentId!: pulumi.Output; + /** + * (Updatable) A message describing the current connection state in more detail. + */ + public readonly connectionDetails!: pulumi.Output; + /** + * (Updatable) The current connection state of the Compute Cloud@Customer infrastructure. This value will default to REJECT if the value is not provided. The only valid value at creation time is REJECT. + */ + public readonly connectionState!: pulumi.Output; + /** + * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + */ + public readonly definedTags!: pulumi.Output<{[key: string]: any}>; + /** + * (Updatable) A mutable client-meaningful text description of the Compute Cloud@Customer infrastructure. Avoid entering confidential information. + */ + public readonly description!: pulumi.Output; + /** + * (Updatable) The name that will be used to display the Compute Cloud@Customer infrastructure in the Oracle Cloud Infrastructure console. Does not have to be unique and can be changed. Avoid entering confidential information. + */ + public readonly displayName!: pulumi.Output; + /** + * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + */ + public readonly freeformTags!: pulumi.Output<{[key: string]: any}>; + /** + * Inventory for a Compute Cloud@Customer infrastructure. This information cannot be updated and is from the infrastructure. The information will only be available after the connectionState is transitioned to CONNECTED. + */ + public /*out*/ readonly infrastructureInventories!: pulumi.Output; + /** + * Configuration information for the Compute Cloud@Customer infrastructure. This network configuration information cannot be updated and is retrieved from the data center. The information will only be available after the connectionState is transitioned to CONNECTED. + */ + public /*out*/ readonly infrastructureNetworkConfigurations!: pulumi.Output; + /** + * A message describing the current lifecycle state in more detail. For example, this can be used to provide actionable information for a resource that is in a Failed state. + */ + public /*out*/ readonly lifecycleDetails!: pulumi.Output; + /** + * Fingerprint of a Compute Cloud@Customer infrastructure in a data center generated during the initial connection to this resource. The fingerprint should be verified by the administrator when changing the connectionState from REQUEST to READY. + */ + public /*out*/ readonly provisioningFingerprint!: pulumi.Output; + /** + * Code that is required for service personnel to connect a Compute Cloud@Customer infrastructure in a data center to this resource. This code will only be available when the connectionState is REJECT (usually at create time of the Compute Cloud@Customer infrastructure). + */ + public /*out*/ readonly provisioningPin!: pulumi.Output; + /** + * The Compute Cloud@Customer infrastructure short name. This cannot be changed once created. The short name is used to refer to the infrastructure in several contexts and is unique. + */ + public /*out*/ readonly shortName!: pulumi.Output; + /** + * The current state of the Compute Cloud@Customer infrastructure. + */ + public /*out*/ readonly state!: pulumi.Output; + /** + * (Updatable) Identifier for network subnet that will be used to communicate with Compute Cloud@Customer infrastructure. + * + * + * ** 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 + */ + public readonly subnetId!: pulumi.Output; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + */ + public /*out*/ readonly systemTags!: pulumi.Output<{[key: string]: any}>; + /** + * Compute Cloud@Customer infrastructure creation date and time, using an RFC3339 formatted datetime string. + */ + public /*out*/ readonly timeCreated!: pulumi.Output; + /** + * Compute Cloud@Customer infrastructure updated date and time, using an RFC3339 formatted datetime string. + */ + public /*out*/ readonly timeUpdated!: pulumi.Output; + /** + * Upgrade information that relates to a Compute Cloud@Customer infrastructure. This information cannot be updated. + */ + public /*out*/ readonly upgradeInformations!: pulumi.Output; + + /** + * Create a AtCustomerCccInfrastructure resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: AtCustomerCccInfrastructureArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: AtCustomerCccInfrastructureArgs | AtCustomerCccInfrastructureState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as AtCustomerCccInfrastructureState | undefined; + resourceInputs["cccUpgradeScheduleId"] = state ? state.cccUpgradeScheduleId : undefined; + resourceInputs["compartmentId"] = state ? state.compartmentId : undefined; + resourceInputs["connectionDetails"] = state ? state.connectionDetails : undefined; + resourceInputs["connectionState"] = state ? state.connectionState : undefined; + resourceInputs["definedTags"] = state ? state.definedTags : undefined; + resourceInputs["description"] = state ? state.description : undefined; + resourceInputs["displayName"] = state ? state.displayName : undefined; + resourceInputs["freeformTags"] = state ? state.freeformTags : undefined; + resourceInputs["infrastructureInventories"] = state ? state.infrastructureInventories : undefined; + resourceInputs["infrastructureNetworkConfigurations"] = state ? state.infrastructureNetworkConfigurations : undefined; + resourceInputs["lifecycleDetails"] = state ? state.lifecycleDetails : undefined; + resourceInputs["provisioningFingerprint"] = state ? state.provisioningFingerprint : undefined; + resourceInputs["provisioningPin"] = state ? state.provisioningPin : undefined; + resourceInputs["shortName"] = state ? state.shortName : undefined; + resourceInputs["state"] = state ? state.state : undefined; + resourceInputs["subnetId"] = state ? state.subnetId : undefined; + resourceInputs["systemTags"] = state ? state.systemTags : undefined; + resourceInputs["timeCreated"] = state ? state.timeCreated : undefined; + resourceInputs["timeUpdated"] = state ? state.timeUpdated : undefined; + resourceInputs["upgradeInformations"] = state ? state.upgradeInformations : undefined; + } else { + const args = argsOrState as AtCustomerCccInfrastructureArgs | undefined; + if ((!args || args.compartmentId === undefined) && !opts.urn) { + throw new Error("Missing required property 'compartmentId'"); + } + if ((!args || args.displayName === undefined) && !opts.urn) { + throw new Error("Missing required property 'displayName'"); + } + if ((!args || args.subnetId === undefined) && !opts.urn) { + throw new Error("Missing required property 'subnetId'"); + } + resourceInputs["cccUpgradeScheduleId"] = args ? args.cccUpgradeScheduleId : undefined; + resourceInputs["compartmentId"] = args ? args.compartmentId : undefined; + resourceInputs["connectionDetails"] = args ? args.connectionDetails : undefined; + resourceInputs["connectionState"] = args ? args.connectionState : undefined; + resourceInputs["definedTags"] = args ? args.definedTags : undefined; + resourceInputs["description"] = args ? args.description : undefined; + resourceInputs["displayName"] = args ? args.displayName : undefined; + resourceInputs["freeformTags"] = args ? args.freeformTags : undefined; + resourceInputs["subnetId"] = args ? args.subnetId : undefined; + resourceInputs["infrastructureInventories"] = undefined /*out*/; + resourceInputs["infrastructureNetworkConfigurations"] = undefined /*out*/; + resourceInputs["lifecycleDetails"] = undefined /*out*/; + resourceInputs["provisioningFingerprint"] = undefined /*out*/; + resourceInputs["provisioningPin"] = undefined /*out*/; + resourceInputs["shortName"] = undefined /*out*/; + resourceInputs["state"] = undefined /*out*/; + resourceInputs["systemTags"] = undefined /*out*/; + resourceInputs["timeCreated"] = undefined /*out*/; + resourceInputs["timeUpdated"] = undefined /*out*/; + resourceInputs["upgradeInformations"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(AtCustomerCccInfrastructure.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering AtCustomerCccInfrastructure resources. + */ +export interface AtCustomerCccInfrastructureState { + /** + * (Updatable) Schedule used for upgrades. If no schedule is associated with the infrastructure, it can be upgraded at any time. + */ + cccUpgradeScheduleId?: pulumi.Input; + /** + * (Updatable) The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with the infrastructure. + */ + compartmentId?: pulumi.Input; + /** + * (Updatable) A message describing the current connection state in more detail. + */ + connectionDetails?: pulumi.Input; + /** + * (Updatable) The current connection state of the Compute Cloud@Customer infrastructure. This value will default to REJECT if the value is not provided. The only valid value at creation time is REJECT. + */ + connectionState?: pulumi.Input; + /** + * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + */ + definedTags?: pulumi.Input<{[key: string]: any}>; + /** + * (Updatable) A mutable client-meaningful text description of the Compute Cloud@Customer infrastructure. Avoid entering confidential information. + */ + description?: pulumi.Input; + /** + * (Updatable) The name that will be used to display the Compute Cloud@Customer infrastructure in the Oracle Cloud Infrastructure console. Does not have to be unique and can be changed. Avoid entering confidential information. + */ + displayName?: pulumi.Input; + /** + * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + */ + freeformTags?: pulumi.Input<{[key: string]: any}>; + /** + * Inventory for a Compute Cloud@Customer infrastructure. This information cannot be updated and is from the infrastructure. The information will only be available after the connectionState is transitioned to CONNECTED. + */ + infrastructureInventories?: pulumi.Input[]>; + /** + * Configuration information for the Compute Cloud@Customer infrastructure. This network configuration information cannot be updated and is retrieved from the data center. The information will only be available after the connectionState is transitioned to CONNECTED. + */ + infrastructureNetworkConfigurations?: pulumi.Input[]>; + /** + * A message describing the current lifecycle state in more detail. For example, this can be used to provide actionable information for a resource that is in a Failed state. + */ + lifecycleDetails?: pulumi.Input; + /** + * Fingerprint of a Compute Cloud@Customer infrastructure in a data center generated during the initial connection to this resource. The fingerprint should be verified by the administrator when changing the connectionState from REQUEST to READY. + */ + provisioningFingerprint?: pulumi.Input; + /** + * Code that is required for service personnel to connect a Compute Cloud@Customer infrastructure in a data center to this resource. This code will only be available when the connectionState is REJECT (usually at create time of the Compute Cloud@Customer infrastructure). + */ + provisioningPin?: pulumi.Input; + /** + * The Compute Cloud@Customer infrastructure short name. This cannot be changed once created. The short name is used to refer to the infrastructure in several contexts and is unique. + */ + shortName?: pulumi.Input; + /** + * The current state of the Compute Cloud@Customer infrastructure. + */ + state?: pulumi.Input; + /** + * (Updatable) Identifier for network subnet that will be used to communicate with Compute Cloud@Customer infrastructure. + * + * + * ** 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 + */ + subnetId?: pulumi.Input; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + */ + systemTags?: pulumi.Input<{[key: string]: any}>; + /** + * Compute Cloud@Customer infrastructure creation date and time, using an RFC3339 formatted datetime string. + */ + timeCreated?: pulumi.Input; + /** + * Compute Cloud@Customer infrastructure updated date and time, using an RFC3339 formatted datetime string. + */ + timeUpdated?: pulumi.Input; + /** + * Upgrade information that relates to a Compute Cloud@Customer infrastructure. This information cannot be updated. + */ + upgradeInformations?: pulumi.Input[]>; +} + +/** + * The set of arguments for constructing a AtCustomerCccInfrastructure resource. + */ +export interface AtCustomerCccInfrastructureArgs { + /** + * (Updatable) Schedule used for upgrades. If no schedule is associated with the infrastructure, it can be upgraded at any time. + */ + cccUpgradeScheduleId?: pulumi.Input; + /** + * (Updatable) The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with the infrastructure. + */ + compartmentId: pulumi.Input; + /** + * (Updatable) A message describing the current connection state in more detail. + */ + connectionDetails?: pulumi.Input; + /** + * (Updatable) The current connection state of the Compute Cloud@Customer infrastructure. This value will default to REJECT if the value is not provided. The only valid value at creation time is REJECT. + */ + connectionState?: pulumi.Input; + /** + * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + */ + definedTags?: pulumi.Input<{[key: string]: any}>; + /** + * (Updatable) A mutable client-meaningful text description of the Compute Cloud@Customer infrastructure. Avoid entering confidential information. + */ + description?: pulumi.Input; + /** + * (Updatable) The name that will be used to display the Compute Cloud@Customer infrastructure in the Oracle Cloud Infrastructure console. Does not have to be unique and can be changed. Avoid entering confidential information. + */ + displayName: pulumi.Input; + /** + * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + */ + freeformTags?: pulumi.Input<{[key: string]: any}>; + /** + * (Updatable) Identifier for network subnet that will be used to communicate with Compute Cloud@Customer infrastructure. + * + * + * ** 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 + */ + subnetId: pulumi.Input; +} diff --git a/sdk/nodejs/computecloud/atCustomerCccUpgradeSchedule.ts b/sdk/nodejs/computecloud/atCustomerCccUpgradeSchedule.ts new file mode 100644 index 0000000000..09701f6cb0 --- /dev/null +++ b/sdk/nodejs/computecloud/atCustomerCccUpgradeSchedule.ts @@ -0,0 +1,272 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../types/input"; +import * as outputs from "../types/output"; +import * as utilities from "../utilities"; + +/** + * This resource provides the Ccc Upgrade Schedule resource in Oracle Cloud Infrastructure Compute Cloud At Customer service. + * + * Creates a new Compute Cloud@Customer upgrade schedule. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testCccUpgradeSchedule = new oci.computecloud.AtCustomerCccUpgradeSchedule("testCccUpgradeSchedule", { + * compartmentId: _var.compartment_id, + * displayName: _var.ccc_upgrade_schedule_display_name, + * events: [{ + * description: _var.ccc_upgrade_schedule_events_description, + * scheduleEventDuration: _var.ccc_upgrade_schedule_events_schedule_event_duration, + * timeStart: _var.ccc_upgrade_schedule_events_time_start, + * scheduleEventRecurrences: _var.ccc_upgrade_schedule_events_schedule_event_recurrences, + * }], + * definedTags: { + * "foo-namespace.bar-key": "value", + * }, + * description: _var.ccc_upgrade_schedule_description, + * freeformTags: { + * "bar-key": "value", + * }, + * }); + * ``` + * + * ## Import + * + * CccUpgradeSchedules can be imported using the `id`, e.g. + * + * ```sh + * $ pulumi import oci:ComputeCloud/atCustomerCccUpgradeSchedule:AtCustomerCccUpgradeSchedule test_ccc_upgrade_schedule "id" + * ``` + */ +export class AtCustomerCccUpgradeSchedule extends pulumi.CustomResource { + /** + * Get an existing AtCustomerCccUpgradeSchedule resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state Any extra arguments used during the lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, state?: AtCustomerCccUpgradeScheduleState, opts?: pulumi.CustomResourceOptions): AtCustomerCccUpgradeSchedule { + return new AtCustomerCccUpgradeSchedule(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'oci:ComputeCloud/atCustomerCccUpgradeSchedule:AtCustomerCccUpgradeSchedule'; + + /** + * Returns true if the given object is an instance of AtCustomerCccUpgradeSchedule. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is AtCustomerCccUpgradeSchedule { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === AtCustomerCccUpgradeSchedule.__pulumiType; + } + + /** + * (Updatable) Compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Compute Cloud@Customer Upgrade Schedule. + */ + public readonly compartmentId!: pulumi.Output; + /** + * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + */ + public readonly definedTags!: pulumi.Output<{[key: string]: any}>; + /** + * (Updatable) A description of the Compute Cloud@Customer upgrade schedule time block. + */ + public readonly description!: pulumi.Output; + /** + * (Updatable) Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information. + */ + public readonly displayName!: pulumi.Output; + /** + * (Updatable) List of preferred times for Compute Cloud@Customer infrastructure to be upgraded. + */ + public readonly events!: pulumi.Output; + /** + * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + * + * + * ** 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 + */ + public readonly freeformTags!: pulumi.Output<{[key: string]: any}>; + /** + * List of Compute Cloud@Customer infrastructure [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that are using this upgrade schedule. + */ + public /*out*/ readonly infrastructureIds!: pulumi.Output; + /** + * A message describing the current state in more detail. For example, the message can be used to provide actionable information for a resource in a Failed state. + */ + public /*out*/ readonly lifecycleDetails!: pulumi.Output; + /** + * Lifecycle state of the resource. + */ + public /*out*/ readonly state!: pulumi.Output; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + */ + public /*out*/ readonly systemTags!: pulumi.Output<{[key: string]: any}>; + /** + * The time the upgrade schedule was created, using an RFC3339 formatted datetime string. + */ + public /*out*/ readonly timeCreated!: pulumi.Output; + /** + * The time the upgrade schedule was updated, using an RFC3339 formatted datetime string. + */ + public /*out*/ readonly timeUpdated!: pulumi.Output; + + /** + * Create a AtCustomerCccUpgradeSchedule resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: AtCustomerCccUpgradeScheduleArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: AtCustomerCccUpgradeScheduleArgs | AtCustomerCccUpgradeScheduleState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as AtCustomerCccUpgradeScheduleState | undefined; + resourceInputs["compartmentId"] = state ? state.compartmentId : undefined; + resourceInputs["definedTags"] = state ? state.definedTags : undefined; + resourceInputs["description"] = state ? state.description : undefined; + resourceInputs["displayName"] = state ? state.displayName : undefined; + resourceInputs["events"] = state ? state.events : undefined; + resourceInputs["freeformTags"] = state ? state.freeformTags : undefined; + resourceInputs["infrastructureIds"] = state ? state.infrastructureIds : undefined; + resourceInputs["lifecycleDetails"] = state ? state.lifecycleDetails : undefined; + resourceInputs["state"] = state ? state.state : undefined; + resourceInputs["systemTags"] = state ? state.systemTags : undefined; + resourceInputs["timeCreated"] = state ? state.timeCreated : undefined; + resourceInputs["timeUpdated"] = state ? state.timeUpdated : undefined; + } else { + const args = argsOrState as AtCustomerCccUpgradeScheduleArgs | undefined; + if ((!args || args.compartmentId === undefined) && !opts.urn) { + throw new Error("Missing required property 'compartmentId'"); + } + if ((!args || args.displayName === undefined) && !opts.urn) { + throw new Error("Missing required property 'displayName'"); + } + if ((!args || args.events === undefined) && !opts.urn) { + throw new Error("Missing required property 'events'"); + } + resourceInputs["compartmentId"] = args ? args.compartmentId : undefined; + resourceInputs["definedTags"] = args ? args.definedTags : undefined; + resourceInputs["description"] = args ? args.description : undefined; + resourceInputs["displayName"] = args ? args.displayName : undefined; + resourceInputs["events"] = args ? args.events : undefined; + resourceInputs["freeformTags"] = args ? args.freeformTags : undefined; + resourceInputs["infrastructureIds"] = undefined /*out*/; + resourceInputs["lifecycleDetails"] = undefined /*out*/; + resourceInputs["state"] = undefined /*out*/; + resourceInputs["systemTags"] = undefined /*out*/; + resourceInputs["timeCreated"] = undefined /*out*/; + resourceInputs["timeUpdated"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(AtCustomerCccUpgradeSchedule.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering AtCustomerCccUpgradeSchedule resources. + */ +export interface AtCustomerCccUpgradeScheduleState { + /** + * (Updatable) Compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Compute Cloud@Customer Upgrade Schedule. + */ + compartmentId?: pulumi.Input; + /** + * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + */ + definedTags?: pulumi.Input<{[key: string]: any}>; + /** + * (Updatable) A description of the Compute Cloud@Customer upgrade schedule time block. + */ + description?: pulumi.Input; + /** + * (Updatable) Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information. + */ + displayName?: pulumi.Input; + /** + * (Updatable) List of preferred times for Compute Cloud@Customer infrastructure to be upgraded. + */ + events?: pulumi.Input[]>; + /** + * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + * + * + * ** 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 + */ + freeformTags?: pulumi.Input<{[key: string]: any}>; + /** + * List of Compute Cloud@Customer infrastructure [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that are using this upgrade schedule. + */ + infrastructureIds?: pulumi.Input[]>; + /** + * A message describing the current state in more detail. For example, the message can be used to provide actionable information for a resource in a Failed state. + */ + lifecycleDetails?: pulumi.Input; + /** + * Lifecycle state of the resource. + */ + state?: pulumi.Input; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + */ + systemTags?: pulumi.Input<{[key: string]: any}>; + /** + * The time the upgrade schedule was created, using an RFC3339 formatted datetime string. + */ + timeCreated?: pulumi.Input; + /** + * The time the upgrade schedule was updated, using an RFC3339 formatted datetime string. + */ + timeUpdated?: pulumi.Input; +} + +/** + * The set of arguments for constructing a AtCustomerCccUpgradeSchedule resource. + */ +export interface AtCustomerCccUpgradeScheduleArgs { + /** + * (Updatable) Compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Compute Cloud@Customer Upgrade Schedule. + */ + compartmentId: pulumi.Input; + /** + * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + */ + definedTags?: pulumi.Input<{[key: string]: any}>; + /** + * (Updatable) A description of the Compute Cloud@Customer upgrade schedule time block. + */ + description?: pulumi.Input; + /** + * (Updatable) Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information. + */ + displayName: pulumi.Input; + /** + * (Updatable) List of preferred times for Compute Cloud@Customer infrastructure to be upgraded. + */ + events: pulumi.Input[]>; + /** + * (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + * + * + * ** 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 + */ + freeformTags?: pulumi.Input<{[key: string]: any}>; +} diff --git a/sdk/nodejs/computecloud/getAtCustomerCccInfrastructure.ts b/sdk/nodejs/computecloud/getAtCustomerCccInfrastructure.ts new file mode 100644 index 0000000000..293d5d9377 --- /dev/null +++ b/sdk/nodejs/computecloud/getAtCustomerCccInfrastructure.ts @@ -0,0 +1,163 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../types/input"; +import * as outputs from "../types/output"; +import * as utilities from "../utilities"; + +/** + * This data source provides details about a specific Ccc Infrastructure resource in Oracle Cloud Infrastructure Compute Cloud At Customer service. + * + * Gets a Compute Cloud@Customer infrastructure using the infrastructure + * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testCccInfrastructure = oci.ComputeCloud.getAtCustomerCccInfrastructure({ + * cccInfrastructureId: oci_compute_cloud_at_customer_ccc_infrastructure.test_ccc_infrastructure.id, + * }); + * ``` + */ +export function getAtCustomerCccInfrastructure(args: GetAtCustomerCccInfrastructureArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("oci:ComputeCloud/getAtCustomerCccInfrastructure:getAtCustomerCccInfrastructure", { + "cccInfrastructureId": args.cccInfrastructureId, + }, opts); +} + +/** + * A collection of arguments for invoking getAtCustomerCccInfrastructure. + */ +export interface GetAtCustomerCccInfrastructureArgs { + /** + * An [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for a Compute Cloud@Customer Infrastructure. + */ + cccInfrastructureId: string; +} + +/** + * A collection of values returned by getAtCustomerCccInfrastructure. + */ +export interface GetAtCustomerCccInfrastructureResult { + readonly cccInfrastructureId: string; + /** + * Schedule used for upgrades. If no schedule is associated with the infrastructure, it can be updated at any time. + */ + readonly cccUpgradeScheduleId: string; + /** + * The infrastructure compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + */ + readonly compartmentId: string; + /** + * A message describing the current connection state in more detail. + */ + readonly connectionDetails: string; + /** + * The current connection state of the infrastructure. A user can only update it from REQUEST to READY or from any state back to REJECT. The system automatically handles the REJECT to REQUEST, READY to CONNECTED, or CONNECTED to DISCONNECTED transitions. + */ + readonly connectionState: string; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + */ + readonly definedTags: {[key: string]: any}; + /** + * A mutable client-meaningful text description of the Compute Cloud@Customer infrastructure. Avoid entering confidential information. + */ + readonly description: string; + /** + * The name that will be used to display the Compute Cloud@Customer infrastructure in the Oracle Cloud Infrastructure console. Does not have to be unique and can be changed. Avoid entering confidential information. + */ + readonly displayName: string; + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + */ + readonly freeformTags: {[key: string]: any}; + /** + * The Compute Cloud@Customer infrastructure [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). This cannot be changed once created. + */ + readonly id: string; + /** + * Inventory for a Compute Cloud@Customer infrastructure. This information cannot be updated and is from the infrastructure. The information will only be available after the connectionState is transitioned to CONNECTED. + */ + readonly infrastructureInventories: outputs.ComputeCloud.GetAtCustomerCccInfrastructureInfrastructureInventory[]; + /** + * Configuration information for the Compute Cloud@Customer infrastructure. This network configuration information cannot be updated and is retrieved from the data center. The information will only be available after the connectionState is transitioned to CONNECTED. + */ + readonly infrastructureNetworkConfigurations: outputs.ComputeCloud.GetAtCustomerCccInfrastructureInfrastructureNetworkConfiguration[]; + /** + * A message describing the current lifecycle state in more detail. For example, this can be used to provide actionable information for a resource that is in a Failed state. + */ + readonly lifecycleDetails: string; + /** + * Fingerprint of a Compute Cloud@Customer infrastructure in a data center generated during the initial connection to this resource. The fingerprint should be verified by the administrator when changing the connectionState from REQUEST to READY. + */ + readonly provisioningFingerprint: string; + /** + * Code that is required for service personnel to connect a Compute Cloud@Customer infrastructure in a data center to this resource. This code will only be available when the connectionState is REJECT (usually at create time of the Compute Cloud@Customer infrastructure). + */ + readonly provisioningPin: string; + /** + * The Compute Cloud@Customer infrastructure short name. This cannot be changed once created. The short name is used to refer to the infrastructure in several contexts and is unique. + */ + readonly shortName: string; + /** + * The current state of the Compute Cloud@Customer infrastructure. + */ + readonly state: string; + /** + * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the network subnet that is used to communicate with Compute Cloud@Customer infrastructure. + */ + readonly subnetId: string; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + */ + readonly systemTags: {[key: string]: any}; + /** + * Compute Cloud@Customer infrastructure creation date and time, using an RFC3339 formatted datetime string. + */ + readonly timeCreated: string; + /** + * Compute Cloud@Customer infrastructure updated date and time, using an RFC3339 formatted datetime string. + */ + readonly timeUpdated: string; + /** + * Upgrade information that relates to a Compute Cloud@Customer infrastructure. This information cannot be updated. + */ + readonly upgradeInformations: outputs.ComputeCloud.GetAtCustomerCccInfrastructureUpgradeInformation[]; +} +/** + * This data source provides details about a specific Ccc Infrastructure resource in Oracle Cloud Infrastructure Compute Cloud At Customer service. + * + * Gets a Compute Cloud@Customer infrastructure using the infrastructure + * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testCccInfrastructure = oci.ComputeCloud.getAtCustomerCccInfrastructure({ + * cccInfrastructureId: oci_compute_cloud_at_customer_ccc_infrastructure.test_ccc_infrastructure.id, + * }); + * ``` + */ +export function getAtCustomerCccInfrastructureOutput(args: GetAtCustomerCccInfrastructureOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getAtCustomerCccInfrastructure(a, opts)) +} + +/** + * A collection of arguments for invoking getAtCustomerCccInfrastructure. + */ +export interface GetAtCustomerCccInfrastructureOutputArgs { + /** + * An [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for a Compute Cloud@Customer Infrastructure. + */ + cccInfrastructureId: pulumi.Input; +} diff --git a/sdk/nodejs/computecloud/getAtCustomerCccInfrastructures.ts b/sdk/nodejs/computecloud/getAtCustomerCccInfrastructures.ts new file mode 100644 index 0000000000..fd18d079bc --- /dev/null +++ b/sdk/nodejs/computecloud/getAtCustomerCccInfrastructures.ts @@ -0,0 +1,171 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../types/input"; +import * as outputs from "../types/output"; +import * as utilities from "../utilities"; + +/** + * This data source provides the list of Ccc Infrastructures in Oracle Cloud Infrastructure Compute Cloud At Customer service. + * + * Returns a list of Compute Cloud@Customer infrastructures. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testCccInfrastructures = oci.ComputeCloud.getAtCustomerCccInfrastructures({ + * accessLevel: _var.ccc_infrastructure_access_level, + * cccInfrastructureId: oci_compute_cloud_at_customer_ccc_infrastructure.test_ccc_infrastructure.id, + * compartmentId: _var.compartment_id, + * compartmentIdInSubtree: _var.ccc_infrastructure_compartment_id_in_subtree, + * displayName: _var.ccc_infrastructure_display_name, + * displayNameContains: _var.ccc_infrastructure_display_name_contains, + * state: _var.ccc_infrastructure_state, + * }); + * ``` + */ +export function getAtCustomerCccInfrastructures(args?: GetAtCustomerCccInfrastructuresArgs, opts?: pulumi.InvokeOptions): Promise { + args = args || {}; + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("oci:ComputeCloud/getAtCustomerCccInfrastructures:getAtCustomerCccInfrastructures", { + "accessLevel": args.accessLevel, + "cccInfrastructureId": args.cccInfrastructureId, + "compartmentId": args.compartmentId, + "compartmentIdInSubtree": args.compartmentIdInSubtree, + "displayName": args.displayName, + "displayNameContains": args.displayNameContains, + "filters": args.filters, + "state": args.state, + }, opts); +} + +/** + * A collection of arguments for invoking getAtCustomerCccInfrastructures. + */ +export interface GetAtCustomerCccInfrastructuresArgs { + /** + * Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed. + */ + accessLevel?: string; + /** + * An [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for a Compute Cloud@Customer Infrastructure. + */ + cccInfrastructureId?: string; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + */ + compartmentId?: string; + /** + * Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and sub-compartments in the tenancy are returned. Depends on the 'accessLevel' setting. + */ + compartmentIdInSubtree?: boolean; + /** + * A filter to return only resources that match the entire display name given. + */ + displayName?: string; + /** + * A filter to return only resources whose display name contains the substring. + */ + displayNameContains?: string; + filters?: inputs.ComputeCloud.GetAtCustomerCccInfrastructuresFilter[]; + /** + * A filter used to return only resources that match the given lifecycleState. + */ + state?: string; +} + +/** + * A collection of values returned by getAtCustomerCccInfrastructures. + */ +export interface GetAtCustomerCccInfrastructuresResult { + readonly accessLevel?: string; + /** + * The list of ccc_infrastructure_collection. + */ + readonly cccInfrastructureCollections: outputs.ComputeCloud.GetAtCustomerCccInfrastructuresCccInfrastructureCollection[]; + readonly cccInfrastructureId?: string; + /** + * The infrastructure compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + */ + readonly compartmentId?: string; + readonly compartmentIdInSubtree?: boolean; + /** + * The name that will be used to display the Compute Cloud@Customer infrastructure in the Oracle Cloud Infrastructure console. Does not have to be unique and can be changed. Avoid entering confidential information. + */ + readonly displayName?: string; + readonly displayNameContains?: string; + readonly filters?: outputs.ComputeCloud.GetAtCustomerCccInfrastructuresFilter[]; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + /** + * The current state of the Compute Cloud@Customer infrastructure. + */ + readonly state?: string; +} +/** + * This data source provides the list of Ccc Infrastructures in Oracle Cloud Infrastructure Compute Cloud At Customer service. + * + * Returns a list of Compute Cloud@Customer infrastructures. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testCccInfrastructures = oci.ComputeCloud.getAtCustomerCccInfrastructures({ + * accessLevel: _var.ccc_infrastructure_access_level, + * cccInfrastructureId: oci_compute_cloud_at_customer_ccc_infrastructure.test_ccc_infrastructure.id, + * compartmentId: _var.compartment_id, + * compartmentIdInSubtree: _var.ccc_infrastructure_compartment_id_in_subtree, + * displayName: _var.ccc_infrastructure_display_name, + * displayNameContains: _var.ccc_infrastructure_display_name_contains, + * state: _var.ccc_infrastructure_state, + * }); + * ``` + */ +export function getAtCustomerCccInfrastructuresOutput(args?: GetAtCustomerCccInfrastructuresOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getAtCustomerCccInfrastructures(a, opts)) +} + +/** + * A collection of arguments for invoking getAtCustomerCccInfrastructures. + */ +export interface GetAtCustomerCccInfrastructuresOutputArgs { + /** + * Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed. + */ + accessLevel?: pulumi.Input; + /** + * An [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for a Compute Cloud@Customer Infrastructure. + */ + cccInfrastructureId?: pulumi.Input; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + */ + compartmentId?: pulumi.Input; + /** + * Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and sub-compartments in the tenancy are returned. Depends on the 'accessLevel' setting. + */ + compartmentIdInSubtree?: pulumi.Input; + /** + * A filter to return only resources that match the entire display name given. + */ + displayName?: pulumi.Input; + /** + * A filter to return only resources whose display name contains the substring. + */ + displayNameContains?: pulumi.Input; + filters?: pulumi.Input[]>; + /** + * A filter used to return only resources that match the given lifecycleState. + */ + state?: pulumi.Input; +} diff --git a/sdk/nodejs/computecloud/getAtCustomerCccUpgradeSchedule.ts b/sdk/nodejs/computecloud/getAtCustomerCccUpgradeSchedule.ts new file mode 100644 index 0000000000..9052baf67c --- /dev/null +++ b/sdk/nodejs/computecloud/getAtCustomerCccUpgradeSchedule.ts @@ -0,0 +1,131 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../types/input"; +import * as outputs from "../types/output"; +import * as utilities from "../utilities"; + +/** + * This data source provides details about a specific Ccc Upgrade Schedule resource in Oracle Cloud Infrastructure Compute Cloud At Customer service. + * + * Gets a Compute Cloud@Customer upgrade schedule by the specified + * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testCccUpgradeSchedule = oci.ComputeCloud.getAtCustomerCccUpgradeSchedule({ + * cccUpgradeScheduleId: oci_compute_cloud_at_customer_ccc_upgrade_schedule.test_ccc_upgrade_schedule.id, + * }); + * ``` + */ +export function getAtCustomerCccUpgradeSchedule(args: GetAtCustomerCccUpgradeScheduleArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("oci:ComputeCloud/getAtCustomerCccUpgradeSchedule:getAtCustomerCccUpgradeSchedule", { + "cccUpgradeScheduleId": args.cccUpgradeScheduleId, + }, opts); +} + +/** + * A collection of arguments for invoking getAtCustomerCccUpgradeSchedule. + */ +export interface GetAtCustomerCccUpgradeScheduleArgs { + /** + * Compute Cloud@Customer upgrade schedule [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + */ + cccUpgradeScheduleId: string; +} + +/** + * A collection of values returned by getAtCustomerCccUpgradeSchedule. + */ +export interface GetAtCustomerCccUpgradeScheduleResult { + readonly cccUpgradeScheduleId: string; + /** + * Compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Compute Cloud@Customer upgrade schedule. + */ + readonly compartmentId: string; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + */ + readonly definedTags: {[key: string]: any}; + /** + * A description of the Compute Cloud@Customer upgrade schedule time block. + */ + readonly description: string; + /** + * Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information. + */ + readonly displayName: string; + /** + * List of preferred times for Compute Cloud@Customer infrastructures associated with this schedule to be upgraded. + */ + readonly events: outputs.ComputeCloud.GetAtCustomerCccUpgradeScheduleEvent[]; + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + */ + readonly freeformTags: {[key: string]: any}; + /** + * Upgrade schedule [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). This cannot be changed once created. + */ + readonly id: string; + /** + * List of Compute Cloud@Customer infrastructure [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that are using this upgrade schedule. + */ + readonly infrastructureIds: string[]; + /** + * A message describing the current state in more detail. For example, the message can be used to provide actionable information for a resource in a Failed state. + */ + readonly lifecycleDetails: string; + /** + * Lifecycle state of the resource. + */ + readonly state: string; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + */ + readonly systemTags: {[key: string]: any}; + /** + * The time the upgrade schedule was created, using an RFC3339 formatted datetime string. + */ + readonly timeCreated: string; + /** + * The time the upgrade schedule was updated, using an RFC3339 formatted datetime string. + */ + readonly timeUpdated: string; +} +/** + * This data source provides details about a specific Ccc Upgrade Schedule resource in Oracle Cloud Infrastructure Compute Cloud At Customer service. + * + * Gets a Compute Cloud@Customer upgrade schedule by the specified + * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testCccUpgradeSchedule = oci.ComputeCloud.getAtCustomerCccUpgradeSchedule({ + * cccUpgradeScheduleId: oci_compute_cloud_at_customer_ccc_upgrade_schedule.test_ccc_upgrade_schedule.id, + * }); + * ``` + */ +export function getAtCustomerCccUpgradeScheduleOutput(args: GetAtCustomerCccUpgradeScheduleOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getAtCustomerCccUpgradeSchedule(a, opts)) +} + +/** + * A collection of arguments for invoking getAtCustomerCccUpgradeSchedule. + */ +export interface GetAtCustomerCccUpgradeScheduleOutputArgs { + /** + * Compute Cloud@Customer upgrade schedule [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + */ + cccUpgradeScheduleId: pulumi.Input; +} diff --git a/sdk/nodejs/computecloud/getAtCustomerCccUpgradeSchedules.ts b/sdk/nodejs/computecloud/getAtCustomerCccUpgradeSchedules.ts new file mode 100644 index 0000000000..4e947651a6 --- /dev/null +++ b/sdk/nodejs/computecloud/getAtCustomerCccUpgradeSchedules.ts @@ -0,0 +1,171 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../types/input"; +import * as outputs from "../types/output"; +import * as utilities from "../utilities"; + +/** + * This data source provides the list of Ccc Upgrade Schedules in Oracle Cloud Infrastructure Compute Cloud At Customer service. + * + * Returns a list of Compute Cloud@Customer upgrade schedules. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testCccUpgradeSchedules = oci.ComputeCloud.getAtCustomerCccUpgradeSchedules({ + * accessLevel: _var.ccc_upgrade_schedule_access_level, + * cccUpgradeScheduleId: oci_compute_cloud_at_customer_ccc_upgrade_schedule.test_ccc_upgrade_schedule.id, + * compartmentId: _var.compartment_id, + * compartmentIdInSubtree: _var.ccc_upgrade_schedule_compartment_id_in_subtree, + * displayName: _var.ccc_upgrade_schedule_display_name, + * displayNameContains: _var.ccc_upgrade_schedule_display_name_contains, + * state: _var.ccc_upgrade_schedule_state, + * }); + * ``` + */ +export function getAtCustomerCccUpgradeSchedules(args?: GetAtCustomerCccUpgradeSchedulesArgs, opts?: pulumi.InvokeOptions): Promise { + args = args || {}; + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("oci:ComputeCloud/getAtCustomerCccUpgradeSchedules:getAtCustomerCccUpgradeSchedules", { + "accessLevel": args.accessLevel, + "cccUpgradeScheduleId": args.cccUpgradeScheduleId, + "compartmentId": args.compartmentId, + "compartmentIdInSubtree": args.compartmentIdInSubtree, + "displayName": args.displayName, + "displayNameContains": args.displayNameContains, + "filters": args.filters, + "state": args.state, + }, opts); +} + +/** + * A collection of arguments for invoking getAtCustomerCccUpgradeSchedules. + */ +export interface GetAtCustomerCccUpgradeSchedulesArgs { + /** + * Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed. + */ + accessLevel?: string; + /** + * Compute Cloud@Customer upgrade schedule [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + */ + cccUpgradeScheduleId?: string; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + */ + compartmentId?: string; + /** + * Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and sub-compartments in the tenancy are returned. Depends on the 'accessLevel' setting. + */ + compartmentIdInSubtree?: boolean; + /** + * A filter to return only resources that match the entire display name given. + */ + displayName?: string; + /** + * A filter to return only resources whose display name contains the substring. + */ + displayNameContains?: string; + filters?: inputs.ComputeCloud.GetAtCustomerCccUpgradeSchedulesFilter[]; + /** + * A filter to return resources only when their lifecycleState matches the given lifecycleState. + */ + state?: string; +} + +/** + * A collection of values returned by getAtCustomerCccUpgradeSchedules. + */ +export interface GetAtCustomerCccUpgradeSchedulesResult { + readonly accessLevel?: string; + /** + * The list of ccc_upgrade_schedule_collection. + */ + readonly cccUpgradeScheduleCollections: outputs.ComputeCloud.GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollection[]; + readonly cccUpgradeScheduleId?: string; + /** + * Compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Compute Cloud@Customer upgrade schedule. + */ + readonly compartmentId?: string; + readonly compartmentIdInSubtree?: boolean; + /** + * Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information. + */ + readonly displayName?: string; + readonly displayNameContains?: string; + readonly filters?: outputs.ComputeCloud.GetAtCustomerCccUpgradeSchedulesFilter[]; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + /** + * Lifecycle state of the resource. + */ + readonly state?: string; +} +/** + * This data source provides the list of Ccc Upgrade Schedules in Oracle Cloud Infrastructure Compute Cloud At Customer service. + * + * Returns a list of Compute Cloud@Customer upgrade schedules. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testCccUpgradeSchedules = oci.ComputeCloud.getAtCustomerCccUpgradeSchedules({ + * accessLevel: _var.ccc_upgrade_schedule_access_level, + * cccUpgradeScheduleId: oci_compute_cloud_at_customer_ccc_upgrade_schedule.test_ccc_upgrade_schedule.id, + * compartmentId: _var.compartment_id, + * compartmentIdInSubtree: _var.ccc_upgrade_schedule_compartment_id_in_subtree, + * displayName: _var.ccc_upgrade_schedule_display_name, + * displayNameContains: _var.ccc_upgrade_schedule_display_name_contains, + * state: _var.ccc_upgrade_schedule_state, + * }); + * ``` + */ +export function getAtCustomerCccUpgradeSchedulesOutput(args?: GetAtCustomerCccUpgradeSchedulesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getAtCustomerCccUpgradeSchedules(a, opts)) +} + +/** + * A collection of arguments for invoking getAtCustomerCccUpgradeSchedules. + */ +export interface GetAtCustomerCccUpgradeSchedulesOutputArgs { + /** + * Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed. + */ + accessLevel?: pulumi.Input; + /** + * Compute Cloud@Customer upgrade schedule [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + */ + cccUpgradeScheduleId?: pulumi.Input; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + */ + compartmentId?: pulumi.Input; + /** + * Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and sub-compartments in the tenancy are returned. Depends on the 'accessLevel' setting. + */ + compartmentIdInSubtree?: pulumi.Input; + /** + * A filter to return only resources that match the entire display name given. + */ + displayName?: pulumi.Input; + /** + * A filter to return only resources whose display name contains the substring. + */ + displayNameContains?: pulumi.Input; + filters?: pulumi.Input[]>; + /** + * A filter to return resources only when their lifecycleState matches the given lifecycleState. + */ + state?: pulumi.Input; +} diff --git a/sdk/nodejs/computecloud/index.ts b/sdk/nodejs/computecloud/index.ts new file mode 100644 index 0000000000..c9b4557a7c --- /dev/null +++ b/sdk/nodejs/computecloud/index.ts @@ -0,0 +1,53 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as utilities from "../utilities"; + +// Export members: +export { AtCustomerCccInfrastructureArgs, AtCustomerCccInfrastructureState } from "./atCustomerCccInfrastructure"; +export type AtCustomerCccInfrastructure = import("./atCustomerCccInfrastructure").AtCustomerCccInfrastructure; +export const AtCustomerCccInfrastructure: typeof import("./atCustomerCccInfrastructure").AtCustomerCccInfrastructure = null as any; +utilities.lazyLoad(exports, ["AtCustomerCccInfrastructure"], () => require("./atCustomerCccInfrastructure")); + +export { AtCustomerCccUpgradeScheduleArgs, AtCustomerCccUpgradeScheduleState } from "./atCustomerCccUpgradeSchedule"; +export type AtCustomerCccUpgradeSchedule = import("./atCustomerCccUpgradeSchedule").AtCustomerCccUpgradeSchedule; +export const AtCustomerCccUpgradeSchedule: typeof import("./atCustomerCccUpgradeSchedule").AtCustomerCccUpgradeSchedule = null as any; +utilities.lazyLoad(exports, ["AtCustomerCccUpgradeSchedule"], () => require("./atCustomerCccUpgradeSchedule")); + +export { GetAtCustomerCccInfrastructureArgs, GetAtCustomerCccInfrastructureResult, GetAtCustomerCccInfrastructureOutputArgs } from "./getAtCustomerCccInfrastructure"; +export const getAtCustomerCccInfrastructure: typeof import("./getAtCustomerCccInfrastructure").getAtCustomerCccInfrastructure = null as any; +export const getAtCustomerCccInfrastructureOutput: typeof import("./getAtCustomerCccInfrastructure").getAtCustomerCccInfrastructureOutput = null as any; +utilities.lazyLoad(exports, ["getAtCustomerCccInfrastructure","getAtCustomerCccInfrastructureOutput"], () => require("./getAtCustomerCccInfrastructure")); + +export { GetAtCustomerCccInfrastructuresArgs, GetAtCustomerCccInfrastructuresResult, GetAtCustomerCccInfrastructuresOutputArgs } from "./getAtCustomerCccInfrastructures"; +export const getAtCustomerCccInfrastructures: typeof import("./getAtCustomerCccInfrastructures").getAtCustomerCccInfrastructures = null as any; +export const getAtCustomerCccInfrastructuresOutput: typeof import("./getAtCustomerCccInfrastructures").getAtCustomerCccInfrastructuresOutput = null as any; +utilities.lazyLoad(exports, ["getAtCustomerCccInfrastructures","getAtCustomerCccInfrastructuresOutput"], () => require("./getAtCustomerCccInfrastructures")); + +export { GetAtCustomerCccUpgradeScheduleArgs, GetAtCustomerCccUpgradeScheduleResult, GetAtCustomerCccUpgradeScheduleOutputArgs } from "./getAtCustomerCccUpgradeSchedule"; +export const getAtCustomerCccUpgradeSchedule: typeof import("./getAtCustomerCccUpgradeSchedule").getAtCustomerCccUpgradeSchedule = null as any; +export const getAtCustomerCccUpgradeScheduleOutput: typeof import("./getAtCustomerCccUpgradeSchedule").getAtCustomerCccUpgradeScheduleOutput = null as any; +utilities.lazyLoad(exports, ["getAtCustomerCccUpgradeSchedule","getAtCustomerCccUpgradeScheduleOutput"], () => require("./getAtCustomerCccUpgradeSchedule")); + +export { GetAtCustomerCccUpgradeSchedulesArgs, GetAtCustomerCccUpgradeSchedulesResult, GetAtCustomerCccUpgradeSchedulesOutputArgs } from "./getAtCustomerCccUpgradeSchedules"; +export const getAtCustomerCccUpgradeSchedules: typeof import("./getAtCustomerCccUpgradeSchedules").getAtCustomerCccUpgradeSchedules = null as any; +export const getAtCustomerCccUpgradeSchedulesOutput: typeof import("./getAtCustomerCccUpgradeSchedules").getAtCustomerCccUpgradeSchedulesOutput = null as any; +utilities.lazyLoad(exports, ["getAtCustomerCccUpgradeSchedules","getAtCustomerCccUpgradeSchedulesOutput"], () => require("./getAtCustomerCccUpgradeSchedules")); + + +const _module = { + version: utilities.getVersion(), + construct: (name: string, type: string, urn: string): pulumi.Resource => { + switch (type) { + case "oci:ComputeCloud/atCustomerCccInfrastructure:AtCustomerCccInfrastructure": + return new AtCustomerCccInfrastructure(name, undefined, { urn }) + case "oci:ComputeCloud/atCustomerCccUpgradeSchedule:AtCustomerCccUpgradeSchedule": + return new AtCustomerCccUpgradeSchedule(name, undefined, { urn }) + default: + throw new Error(`unknown resource type ${type}`); + } + }, +}; +pulumi.runtime.registerResourceModule("oci", "ComputeCloud/atCustomerCccInfrastructure", _module) +pulumi.runtime.registerResourceModule("oci", "ComputeCloud/atCustomerCccUpgradeSchedule", _module) diff --git a/sdk/nodejs/core/instance.ts b/sdk/nodejs/core/instance.ts index 3dadb1830c..b2bf68a538 100644 --- a/sdk/nodejs/core/instance.ts +++ b/sdk/nodejs/core/instance.ts @@ -134,9 +134,6 @@ export class Instance extends pulumi.CustomResource { * (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. */ public readonly displayName!: pulumi.Output; - /** - * Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the `metadata` object. - */ public readonly extendedMetadata!: pulumi.Output<{[key: string]: any}>; /** * (Updatable) A fault domain is a grouping of hardware and infrastructure within an availability domain. Each availability domain contains three fault domains. Fault domains let you distribute your instances so that they are not on the same physical hardware within a single availability domain. A hardware failure or Compute hardware maintenance that affects one fault domain does not affect instances in other fault domains. @@ -474,9 +471,6 @@ export interface InstanceState { * (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. */ displayName?: pulumi.Input; - /** - * Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the `metadata` object. - */ extendedMetadata?: pulumi.Input<{[key: string]: any}>; /** * (Updatable) A fault domain is a grouping of hardware and infrastructure within an availability domain. Each availability domain contains three fault domains. Fault domains let you distribute your instances so that they are not on the same physical hardware within a single availability domain. A hardware failure or Compute hardware maintenance that affects one fault domain does not affect instances in other fault domains. @@ -704,9 +698,6 @@ export interface InstanceArgs { * (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. */ displayName?: pulumi.Input; - /** - * Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the `metadata` object. - */ extendedMetadata?: pulumi.Input<{[key: string]: any}>; /** * (Updatable) A fault domain is a grouping of hardware and infrastructure within an availability domain. Each availability domain contains three fault domains. Fault domains let you distribute your instances so that they are not on the same physical hardware within a single availability domain. A hardware failure or Compute hardware maintenance that affects one fault domain does not affect instances in other fault domains. diff --git a/sdk/nodejs/core/listingResourceVersionAgreement.ts b/sdk/nodejs/core/listingResourceVersionAgreement.ts index 58eaafe855..cbeae3131f 100644 --- a/sdk/nodejs/core/listingResourceVersionAgreement.ts +++ b/sdk/nodejs/core/listingResourceVersionAgreement.ts @@ -4,6 +4,21 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "../utilities"; +/** + * The `oci.Core.AppCatalogListingResourceVersionAgreement` resource creates AppCatalogListingResourceVersionAgreement for a particular resource version of a listing. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testAppCatalogListingResourceVersionAgreement = new oci.core.AppCatalogListingResourceVersionAgreement("testAppCatalogListingResourceVersionAgreement", { + * listingId: data.oci_core_app_catalog_listing.test_listing.id, + * listingResourceVersion: _var.app_catalog_listing_resource_version_agreement_listing_resource_version, + * }); + * ``` + */ export class ListingResourceVersionAgreement extends pulumi.CustomResource { /** * Get an existing ListingResourceVersionAgreement resource's state with the given name, ID, and optional extra @@ -32,11 +47,29 @@ export class ListingResourceVersionAgreement extends pulumi.CustomResource { return obj['__pulumiType'] === ListingResourceVersionAgreement.__pulumiType; } + /** + * EULA link + */ public /*out*/ readonly eulaLink!: pulumi.Output; + /** + * The OCID of the listing. + */ public readonly listingId!: pulumi.Output; + /** + * Listing Resource Version. + */ public readonly listingResourceVersion!: pulumi.Output; + /** + * Oracle TOU link + */ public /*out*/ readonly oracleTermsOfUseLink!: pulumi.Output; + /** + * A generated signature for this agreement retrieval operation which should be used in the create subscription call. + */ public /*out*/ readonly signature!: pulumi.Output; + /** + * Date and time the agreements were retrieved, in RFC3339 format. Example: `2018-03-20T12:32:53.532Z` + */ public /*out*/ readonly timeRetrieved!: pulumi.Output; /** @@ -82,11 +115,29 @@ export class ListingResourceVersionAgreement extends pulumi.CustomResource { * Input properties used for looking up and filtering ListingResourceVersionAgreement resources. */ export interface ListingResourceVersionAgreementState { + /** + * EULA link + */ eulaLink?: pulumi.Input; + /** + * The OCID of the listing. + */ listingId?: pulumi.Input; + /** + * Listing Resource Version. + */ listingResourceVersion?: pulumi.Input; + /** + * Oracle TOU link + */ oracleTermsOfUseLink?: pulumi.Input; + /** + * A generated signature for this agreement retrieval operation which should be used in the create subscription call. + */ signature?: pulumi.Input; + /** + * Date and time the agreements were retrieved, in RFC3339 format. Example: `2018-03-20T12:32:53.532Z` + */ timeRetrieved?: pulumi.Input; } @@ -94,6 +145,12 @@ export interface ListingResourceVersionAgreementState { * The set of arguments for constructing a ListingResourceVersionAgreement resource. */ export interface ListingResourceVersionAgreementArgs { + /** + * The OCID of the listing. + */ listingId: pulumi.Input; + /** + * Listing Resource Version. + */ listingResourceVersion: pulumi.Input; } diff --git a/sdk/nodejs/database/autonomousDatabase.ts b/sdk/nodejs/database/autonomousDatabase.ts index e2c8c372f5..311f07433f 100644 --- a/sdk/nodejs/database/autonomousDatabase.ts +++ b/sdk/nodejs/database/autonomousDatabase.ts @@ -412,6 +412,8 @@ export class AutonomousDatabase extends pulumi.CustomResource { * Indicates the cross-region disaster recovery (DR) type of the standby Autonomous Database Serverless instance. Autonomous Data Guard (ADG) DR type provides business critical DR with a faster recovery time objective (RTO) during failover or switchover. Backup-based DR type provides lower cost DR with a slower RTO during failover or switchover. */ public readonly remoteDisasterRecoveryType!: pulumi.Output; + public readonly resourcePoolLeaderId!: pulumi.Output; + public readonly resourcePoolSummary!: pulumi.Output; /** * The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled. */ @@ -523,6 +525,7 @@ export class AutonomousDatabase extends pulumi.CustomResource { * The date and time when maintenance will end. */ public /*out*/ readonly timeMaintenanceEnd!: pulumi.Output; + public /*out*/ readonly timeOfJoiningResourcePool!: pulumi.Output; /** * The timestamp of the last failover operation. */ @@ -683,6 +686,8 @@ export class AutonomousDatabase extends pulumi.CustomResource { resourceInputs["refreshableStatus"] = state ? state.refreshableStatus : undefined; resourceInputs["remoteDisasterRecoveryConfigurations"] = state ? state.remoteDisasterRecoveryConfigurations : undefined; resourceInputs["remoteDisasterRecoveryType"] = state ? state.remoteDisasterRecoveryType : undefined; + resourceInputs["resourcePoolLeaderId"] = state ? state.resourcePoolLeaderId : undefined; + resourceInputs["resourcePoolSummary"] = state ? state.resourcePoolSummary : undefined; resourceInputs["role"] = state ? state.role : undefined; resourceInputs["rotateKeyTrigger"] = state ? state.rotateKeyTrigger : undefined; resourceInputs["scheduledOperations"] = state ? state.scheduledOperations : undefined; @@ -706,6 +711,7 @@ export class AutonomousDatabase extends pulumi.CustomResource { resourceInputs["timeLocalDataGuardEnabled"] = state ? state.timeLocalDataGuardEnabled : undefined; resourceInputs["timeMaintenanceBegin"] = state ? state.timeMaintenanceBegin : undefined; resourceInputs["timeMaintenanceEnd"] = state ? state.timeMaintenanceEnd : undefined; + resourceInputs["timeOfJoiningResourcePool"] = state ? state.timeOfJoiningResourcePool : undefined; resourceInputs["timeOfLastFailover"] = state ? state.timeOfLastFailover : undefined; resourceInputs["timeOfLastRefresh"] = state ? state.timeOfLastRefresh : undefined; resourceInputs["timeOfLastRefreshPoint"] = state ? state.timeOfLastRefreshPoint : undefined; @@ -779,6 +785,8 @@ export class AutonomousDatabase extends pulumi.CustomResource { resourceInputs["privateEndpointLabel"] = args ? args.privateEndpointLabel : undefined; resourceInputs["refreshableMode"] = args ? args.refreshableMode : undefined; resourceInputs["remoteDisasterRecoveryType"] = args ? args.remoteDisasterRecoveryType : undefined; + resourceInputs["resourcePoolLeaderId"] = args ? args.resourcePoolLeaderId : undefined; + resourceInputs["resourcePoolSummary"] = args ? args.resourcePoolSummary : undefined; resourceInputs["rotateKeyTrigger"] = args ? args.rotateKeyTrigger : undefined; resourceInputs["scheduledOperations"] = args ? args.scheduledOperations : undefined; resourceInputs["secretId"] = args ? args.secretId : undefined; @@ -837,6 +845,7 @@ export class AutonomousDatabase extends pulumi.CustomResource { resourceInputs["timeLocalDataGuardEnabled"] = undefined /*out*/; resourceInputs["timeMaintenanceBegin"] = undefined /*out*/; resourceInputs["timeMaintenanceEnd"] = undefined /*out*/; + resourceInputs["timeOfJoiningResourcePool"] = undefined /*out*/; resourceInputs["timeOfLastFailover"] = undefined /*out*/; resourceInputs["timeOfLastRefresh"] = undefined /*out*/; resourceInputs["timeOfLastRefreshPoint"] = undefined /*out*/; @@ -1224,6 +1233,8 @@ export interface AutonomousDatabaseState { * Indicates the cross-region disaster recovery (DR) type of the standby Autonomous Database Serverless instance. Autonomous Data Guard (ADG) DR type provides business critical DR with a faster recovery time objective (RTO) during failover or switchover. Backup-based DR type provides lower cost DR with a slower RTO during failover or switchover. */ remoteDisasterRecoveryType?: pulumi.Input; + resourcePoolLeaderId?: pulumi.Input; + resourcePoolSummary?: pulumi.Input; /** * The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled. */ @@ -1335,6 +1346,7 @@ export interface AutonomousDatabaseState { * The date and time when maintenance will end. */ timeMaintenanceEnd?: pulumi.Input; + timeOfJoiningResourcePool?: pulumi.Input; /** * The timestamp of the last failover operation. */ @@ -1646,6 +1658,8 @@ export interface AutonomousDatabaseArgs { * Indicates the cross-region disaster recovery (DR) type of the standby Autonomous Database Serverless instance. Autonomous Data Guard (ADG) DR type provides business critical DR with a faster recovery time objective (RTO) during failover or switchover. Backup-based DR type provides lower cost DR with a slower RTO during failover or switchover. */ remoteDisasterRecoveryType?: pulumi.Input; + resourcePoolLeaderId?: pulumi.Input; + resourcePoolSummary?: pulumi.Input; /** * (Updatable) An optional property when flipped triggers rotation of KMS key. It is only applicable on dedicated databases i.e. where `isDedicated` is true. */ diff --git a/sdk/nodejs/database/getAutonomousDatabase.ts b/sdk/nodejs/database/getAutonomousDatabase.ts index 98ad93222e..ffb477e7bf 100644 --- a/sdk/nodejs/database/getAutonomousDatabase.ts +++ b/sdk/nodejs/database/getAutonomousDatabase.ts @@ -360,6 +360,14 @@ export interface GetAutonomousDatabaseResult { */ readonly remoteDisasterRecoveryConfigurations: outputs.Database.GetAutonomousDatabaseRemoteDisasterRecoveryConfiguration[]; readonly remoteDisasterRecoveryType: string; + /** + * The unique identifier for leader autonomous database OCID [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + */ + readonly resourcePoolLeaderId: string; + /** + * The configuration details for resource pool + */ + readonly resourcePoolSummaries: outputs.Database.GetAutonomousDatabaseResourcePoolSummary[]; /** * The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled. */ @@ -434,6 +442,10 @@ export interface GetAutonomousDatabaseResult { * The date and time when maintenance will end. */ readonly timeMaintenanceEnd: string; + /** + * The time the member joined the resource pool. + */ + readonly timeOfJoiningResourcePool: string; /** * The timestamp of the last failover operation. */ diff --git a/sdk/nodejs/database/getAutonomousDatabases.ts b/sdk/nodejs/database/getAutonomousDatabases.ts index 98b12561a7..98a7dac5d6 100644 --- a/sdk/nodejs/database/getAutonomousDatabases.ts +++ b/sdk/nodejs/database/getAutonomousDatabases.ts @@ -27,6 +27,8 @@ import * as utilities from "../utilities"; * isDataGuardEnabled: _var.autonomous_database_is_data_guard_enabled, * isFreeTier: _var.autonomous_database_is_free_tier, * isRefreshableClone: _var.autonomous_database_is_refreshable_clone, + * isResourcePoolLeader: _var.autonomous_database_is_resource_pool_leader, + * resourcePoolLeaderId: oci_database_resource_pool_leader.test_resource_pool_leader.id, * state: _var.autonomous_database_state, * }); * ``` @@ -45,6 +47,8 @@ export function getAutonomousDatabases(args: GetAutonomousDatabasesArgs, opts?: "isDataGuardEnabled": args.isDataGuardEnabled, "isFreeTier": args.isFreeTier, "isRefreshableClone": args.isRefreshableClone, + "isResourcePoolLeader": args.isResourcePoolLeader, + "resourcePoolLeaderId": args.resourcePoolLeaderId, "state": args.state, }, opts); } @@ -90,6 +94,14 @@ export interface GetAutonomousDatabasesArgs { * Filter on the value of the resource's 'isRefreshableClone' property. A value of `true` returns only refreshable clones. A value of `false` excludes refreshable clones from the returned results. Omitting this parameter returns both refreshable clones and databases that are not refreshable clones. */ isRefreshableClone?: boolean; + /** + * Filter if the resource is the resource pool leader. A value of `true` returns only resource pool leader. + */ + isResourcePoolLeader?: boolean; + /** + * The database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resourcepool Leader Autonomous Database. + */ + resourcePoolLeaderId?: string; /** * A filter to return only resources that match the given lifecycle state exactly. */ @@ -149,6 +161,11 @@ export interface GetAutonomousDatabasesResult { * Indicates if the Autonomous Database is a refreshable clone. */ readonly isRefreshableClone?: boolean; + readonly isResourcePoolLeader?: boolean; + /** + * The unique identifier for leader autonomous database OCID [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + */ + readonly resourcePoolLeaderId?: string; /** * The current state of the Autonomous Database. */ @@ -175,6 +192,8 @@ export interface GetAutonomousDatabasesResult { * isDataGuardEnabled: _var.autonomous_database_is_data_guard_enabled, * isFreeTier: _var.autonomous_database_is_free_tier, * isRefreshableClone: _var.autonomous_database_is_refreshable_clone, + * isResourcePoolLeader: _var.autonomous_database_is_resource_pool_leader, + * resourcePoolLeaderId: oci_database_resource_pool_leader.test_resource_pool_leader.id, * state: _var.autonomous_database_state, * }); * ``` @@ -224,6 +243,14 @@ export interface GetAutonomousDatabasesOutputArgs { * Filter on the value of the resource's 'isRefreshableClone' property. A value of `true` returns only refreshable clones. A value of `false` excludes refreshable clones from the returned results. Omitting this parameter returns both refreshable clones and databases that are not refreshable clones. */ isRefreshableClone?: pulumi.Input; + /** + * Filter if the resource is the resource pool leader. A value of `true` returns only resource pool leader. + */ + isResourcePoolLeader?: pulumi.Input; + /** + * The database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resourcepool Leader Autonomous Database. + */ + resourcePoolLeaderId?: pulumi.Input; /** * A filter to return only resources that match the given lifecycle state exactly. */ diff --git a/sdk/nodejs/databasemigration/getMigration.ts b/sdk/nodejs/databasemigration/getMigration.ts index 6d95c06d53..727ca33faa 100644 --- a/sdk/nodejs/databasemigration/getMigration.ts +++ b/sdk/nodejs/databasemigration/getMigration.ts @@ -65,6 +65,7 @@ export interface GetMigrationResult { * Data Transfer Medium details for the Migration. */ readonly dataTransferMediumDetails: outputs.DatabaseMigration.GetMigrationDataTransferMediumDetail[]; + readonly dataTransferMediumDetailsV2s: outputs.DatabaseMigration.GetMigrationDataTransferMediumDetailsV2[]; /** * Optional settings for Data Pump Export and Import jobs */ diff --git a/sdk/nodejs/databasemigration/migration.ts b/sdk/nodejs/databasemigration/migration.ts index f30db02680..beb3f5b7c5 100644 --- a/sdk/nodejs/databasemigration/migration.ts +++ b/sdk/nodejs/databasemigration/migration.ts @@ -229,6 +229,7 @@ export class Migration extends pulumi.CustomResource { * (Updatable) Data Transfer Medium details for the Migration. If not specified, it will default to Database Link. Only one type of data transfer medium can be specified. */ public readonly dataTransferMediumDetails!: pulumi.Output; + public readonly dataTransferMediumDetailsV2!: pulumi.Output; /** * (Updatable) Optional settings for Data Pump Export and Import jobs */ @@ -337,6 +338,7 @@ export class Migration extends pulumi.CustomResource { resourceInputs["credentialsSecretId"] = state ? state.credentialsSecretId : undefined; resourceInputs["csvText"] = state ? state.csvText : undefined; resourceInputs["dataTransferMediumDetails"] = state ? state.dataTransferMediumDetails : undefined; + resourceInputs["dataTransferMediumDetailsV2"] = state ? state.dataTransferMediumDetailsV2 : undefined; resourceInputs["datapumpSettings"] = state ? state.datapumpSettings : undefined; resourceInputs["definedTags"] = state ? state.definedTags : undefined; resourceInputs["displayName"] = state ? state.displayName : undefined; @@ -378,6 +380,7 @@ export class Migration extends pulumi.CustomResource { resourceInputs["compartmentId"] = args ? args.compartmentId : undefined; resourceInputs["csvText"] = args ? args.csvText : undefined; resourceInputs["dataTransferMediumDetails"] = args ? args.dataTransferMediumDetails : undefined; + resourceInputs["dataTransferMediumDetailsV2"] = args ? args.dataTransferMediumDetailsV2 : undefined; resourceInputs["datapumpSettings"] = args ? args.datapumpSettings : undefined; resourceInputs["definedTags"] = args ? args.definedTags : undefined; resourceInputs["displayName"] = args ? args.displayName : undefined; @@ -435,6 +438,7 @@ export interface MigrationState { * (Updatable) Data Transfer Medium details for the Migration. If not specified, it will default to Database Link. Only one type of data transfer medium can be specified. */ dataTransferMediumDetails?: pulumi.Input; + dataTransferMediumDetailsV2?: pulumi.Input; /** * (Updatable) Optional settings for Data Pump Export and Import jobs */ @@ -549,6 +553,7 @@ export interface MigrationArgs { * (Updatable) Data Transfer Medium details for the Migration. If not specified, it will default to Database Link. Only one type of data transfer medium can be specified. */ dataTransferMediumDetails?: pulumi.Input; + dataTransferMediumDetailsV2?: pulumi.Input; /** * (Updatable) Optional settings for Data Pump Export and Import jobs */ diff --git a/sdk/nodejs/datacatalog/connection.ts b/sdk/nodejs/datacatalog/connection.ts index 61ab984126..e7474d2632 100644 --- a/sdk/nodejs/datacatalog/connection.ts +++ b/sdk/nodejs/datacatalog/connection.ts @@ -99,9 +99,6 @@ export class Connection extends pulumi.CustomResource { * Unique connection key that is immutable. */ public /*out*/ readonly key!: pulumi.Output; - /** - * A map of maps that contains the properties which are specific to the connection type. Each connection type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most connections have required properties within the "default" category. Example: `{"properties": { "default": { "username": "user1"}}}` - */ public readonly properties!: pulumi.Output<{[key: string]: any}>; /** * The current state of the connection. @@ -248,9 +245,6 @@ export interface ConnectionState { * Unique connection key that is immutable. */ key?: pulumi.Input; - /** - * A map of maps that contains the properties which are specific to the connection type. Each connection type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most connections have required properties within the "default" category. Example: `{"properties": { "default": { "username": "user1"}}}` - */ properties?: pulumi.Input<{[key: string]: any}>; /** * The current state of the connection. @@ -314,9 +308,6 @@ export interface ConnectionArgs { * (Updatable) Indicates whether this connection is the default connection. The first connection of a data asset defaults to being the default, subsequent connections default to not being the default. If a default connection already exists, then trying to create a connection as the default will fail. In this case the default connection would need to be updated not to be the default and then the new connection can then be created as the default. */ isDefault?: pulumi.Input; - /** - * A map of maps that contains the properties which are specific to the connection type. Each connection type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most connections have required properties within the "default" category. Example: `{"properties": { "default": { "username": "user1"}}}` - */ properties: pulumi.Input<{[key: string]: any}>; /** * The key of the object type. Type key's can be found via the '/types' endpoint. diff --git a/sdk/nodejs/datacatalog/dataAsset.ts b/sdk/nodejs/datacatalog/dataAsset.ts index ba19191956..30585979ea 100644 --- a/sdk/nodejs/datacatalog/dataAsset.ts +++ b/sdk/nodejs/datacatalog/dataAsset.ts @@ -88,9 +88,6 @@ export class DataAsset extends pulumi.CustomResource { * A message describing the current state in more detail. An object not in ACTIVE state may have functional limitations, see service documentation for details. */ public /*out*/ readonly lifecycleDetails!: pulumi.Output; - /** - * A map of maps that contains the properties which are specific to the asset type. Each data asset type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most data assets have required properties within the "default" category. Example: `{"properties": { "default": { "host": "host1", "port": "1521", "database": "orcl"}}}` - */ public readonly properties!: pulumi.Output<{[key: string]: any}>; /** * The current state of the data asset. @@ -217,9 +214,6 @@ export interface DataAssetState { * A message describing the current state in more detail. An object not in ACTIVE state may have functional limitations, see service documentation for details. */ lifecycleDetails?: pulumi.Input; - /** - * A map of maps that contains the properties which are specific to the asset type. Each data asset type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most data assets have required properties within the "default" category. Example: `{"properties": { "default": { "host": "host1", "port": "1521", "database": "orcl"}}}` - */ properties?: pulumi.Input<{[key: string]: any}>; /** * The current state of the data asset. @@ -271,9 +265,6 @@ export interface DataAssetArgs { * (Updatable) A user-friendly display name. Does not have to be unique, and it's changeable. Avoid entering confidential information. */ displayName: pulumi.Input; - /** - * A map of maps that contains the properties which are specific to the asset type. Each data asset type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most data assets have required properties within the "default" category. Example: `{"properties": { "default": { "host": "host1", "port": "1521", "database": "orcl"}}}` - */ properties?: pulumi.Input<{[key: string]: any}>; /** * The key of the data asset type. This can be obtained via the '/types' endpoint. diff --git a/sdk/nodejs/datascience/getPrivateEndpoint.ts b/sdk/nodejs/datascience/getPrivateEndpoint.ts new file mode 100644 index 0000000000..4fd49ab59b --- /dev/null +++ b/sdk/nodejs/datascience/getPrivateEndpoint.ts @@ -0,0 +1,136 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as utilities from "../utilities"; + +/** + * This data source provides details about a specific Data Science Private Endpoint resource in Oracle Cloud Infrastructure Data Science service. + * + * Retrieves an private endpoint using a `privateEndpointId`. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testDataSciencePrivateEndpoint = oci.DataScience.getPrivateEndpoint({ + * dataSciencePrivateEndpointId: oci_datascience_private_endpoint.test_data_science_private_endpoint.id, + * }); + * ``` + */ +export function getPrivateEndpoint(args: GetPrivateEndpointArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("oci:DataScience/getPrivateEndpoint:getPrivateEndpoint", { + "dataSciencePrivateEndpointId": args.dataSciencePrivateEndpointId, + }, opts); +} + +/** + * A collection of arguments for invoking getPrivateEndpoint. + */ +export interface GetPrivateEndpointArgs { + /** + * The unique ID for a Data Science private endpoint. + */ + dataSciencePrivateEndpointId: string; +} + +/** + * A collection of values returned by getPrivateEndpoint. + */ +export interface GetPrivateEndpointResult { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create private endpoint. + */ + readonly compartmentId: string; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user that created the private endpoint. + */ + readonly createdBy: string; + readonly dataSciencePrivateEndpointId: string; + /** + * Data Science resource type. + */ + readonly dataScienceResourceType: string; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` + */ + readonly definedTags: {[key: string]: any}; + /** + * A user friendly description. Avoid entering confidential information. + */ + readonly description: string; + /** + * A user friendly name. It doesn't have to be unique. Avoid entering confidential information. + */ + readonly displayName: string; + /** + * Accesing the Data Science resource using FQDN. + */ + readonly fqdn: string; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` + */ + readonly freeformTags: {[key: string]: any}; + /** + * The OCID of a private endpoint. + */ + readonly id: string; + /** + * Details of the state of Data Science private endpoint. + */ + readonly lifecycleDetails: string; + /** + * An array of network security group OCIDs. + */ + readonly nsgIds: string[]; + /** + * State of the Data Science private endpoint. + */ + readonly state: string; + readonly subDomain: string; + /** + * The OCID of a subnet. + */ + readonly subnetId: string; + /** + * The date and time that the Data Science private endpoint was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + */ + readonly timeCreated: string; + /** + * The date and time that the Data Science private endpoint was updated expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + */ + readonly timeUpdated: string; +} +/** + * This data source provides details about a specific Data Science Private Endpoint resource in Oracle Cloud Infrastructure Data Science service. + * + * Retrieves an private endpoint using a `privateEndpointId`. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testDataSciencePrivateEndpoint = oci.DataScience.getPrivateEndpoint({ + * dataSciencePrivateEndpointId: oci_datascience_private_endpoint.test_data_science_private_endpoint.id, + * }); + * ``` + */ +export function getPrivateEndpointOutput(args: GetPrivateEndpointOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getPrivateEndpoint(a, opts)) +} + +/** + * A collection of arguments for invoking getPrivateEndpoint. + */ +export interface GetPrivateEndpointOutputArgs { + /** + * The unique ID for a Data Science private endpoint. + */ + dataSciencePrivateEndpointId: pulumi.Input; +} diff --git a/sdk/nodejs/datascience/getPrivateEndpoints.ts b/sdk/nodejs/datascience/getPrivateEndpoints.ts new file mode 100644 index 0000000000..65495dd9ce --- /dev/null +++ b/sdk/nodejs/datascience/getPrivateEndpoints.ts @@ -0,0 +1,152 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../types/input"; +import * as outputs from "../types/output"; +import * as utilities from "../utilities"; + +/** + * This data source provides the list of Data Science Private Endpoints in Oracle Cloud Infrastructure Data Science service. + * + * Lists all Data Science private endpoints in the specified compartment. The query must include compartmentId. The query can also include one other parameter. If the query doesn't include compartmentId, or includes compartmentId with two or more other parameters, then an error is returned. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testDataSciencePrivateEndpoints = oci.DataScience.getPrivateEndpoints({ + * compartmentId: _var.compartment_id, + * createdBy: _var.data_science_private_endpoint_created_by, + * dataScienceResourceType: _var.data_science_private_endpoint_data_science_resource_type, + * displayName: _var.data_science_private_endpoint_display_name, + * state: _var.data_science_private_endpoint_state, + * }); + * ``` + */ +export function getPrivateEndpoints(args: GetPrivateEndpointsArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("oci:DataScience/getPrivateEndpoints:getPrivateEndpoints", { + "compartmentId": args.compartmentId, + "createdBy": args.createdBy, + "dataScienceResourceType": args.dataScienceResourceType, + "displayName": args.displayName, + "filters": args.filters, + "state": args.state, + }, opts); +} + +/** + * A collection of arguments for invoking getPrivateEndpoints. + */ +export interface GetPrivateEndpointsArgs { + /** + * Filter results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + */ + compartmentId: string; + /** + * Filter results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the resource. + */ + createdBy?: string; + /** + * Resource types in the Data Science service such as notebooks. + */ + dataScienceResourceType?: string; + /** + * Filter results by its user-friendly name. + */ + displayName?: string; + filters?: inputs.DataScience.GetPrivateEndpointsFilter[]; + /** + * The lifecycle state of the private endpoint. + */ + state?: string; +} + +/** + * A collection of values returned by getPrivateEndpoints. + */ +export interface GetPrivateEndpointsResult { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create private endpoint. + */ + readonly compartmentId: string; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user that created the private endpoint. + */ + readonly createdBy?: string; + /** + * The list of data_science_private_endpoints. + */ + readonly dataSciencePrivateEndpoints: outputs.DataScience.GetPrivateEndpointsDataSciencePrivateEndpoint[]; + /** + * Data Science resource type. + */ + readonly dataScienceResourceType?: string; + /** + * A user friendly name. It doesn't have to be unique. Avoid entering confidential information. + */ + readonly displayName?: string; + readonly filters?: outputs.DataScience.GetPrivateEndpointsFilter[]; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; + /** + * State of the Data Science private endpoint. + */ + readonly state?: string; +} +/** + * This data source provides the list of Data Science Private Endpoints in Oracle Cloud Infrastructure Data Science service. + * + * Lists all Data Science private endpoints in the specified compartment. The query must include compartmentId. The query can also include one other parameter. If the query doesn't include compartmentId, or includes compartmentId with two or more other parameters, then an error is returned. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testDataSciencePrivateEndpoints = oci.DataScience.getPrivateEndpoints({ + * compartmentId: _var.compartment_id, + * createdBy: _var.data_science_private_endpoint_created_by, + * dataScienceResourceType: _var.data_science_private_endpoint_data_science_resource_type, + * displayName: _var.data_science_private_endpoint_display_name, + * state: _var.data_science_private_endpoint_state, + * }); + * ``` + */ +export function getPrivateEndpointsOutput(args: GetPrivateEndpointsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getPrivateEndpoints(a, opts)) +} + +/** + * A collection of arguments for invoking getPrivateEndpoints. + */ +export interface GetPrivateEndpointsOutputArgs { + /** + * Filter results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + */ + compartmentId: pulumi.Input; + /** + * Filter results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the resource. + */ + createdBy?: pulumi.Input; + /** + * Resource types in the Data Science service such as notebooks. + */ + dataScienceResourceType?: pulumi.Input; + /** + * Filter results by its user-friendly name. + */ + displayName?: pulumi.Input; + filters?: pulumi.Input[]>; + /** + * The lifecycle state of the private endpoint. + */ + state?: pulumi.Input; +} diff --git a/sdk/nodejs/datascience/index.ts b/sdk/nodejs/datascience/index.ts index 97c2790d1f..0a5be858a9 100644 --- a/sdk/nodejs/datascience/index.ts +++ b/sdk/nodejs/datascience/index.ts @@ -110,6 +110,16 @@ export const getPipelines: typeof import("./getPipelines").getPipelines = null a export const getPipelinesOutput: typeof import("./getPipelines").getPipelinesOutput = null as any; utilities.lazyLoad(exports, ["getPipelines","getPipelinesOutput"], () => require("./getPipelines")); +export { GetPrivateEndpointArgs, GetPrivateEndpointResult, GetPrivateEndpointOutputArgs } from "./getPrivateEndpoint"; +export const getPrivateEndpoint: typeof import("./getPrivateEndpoint").getPrivateEndpoint = null as any; +export const getPrivateEndpointOutput: typeof import("./getPrivateEndpoint").getPrivateEndpointOutput = null as any; +utilities.lazyLoad(exports, ["getPrivateEndpoint","getPrivateEndpointOutput"], () => require("./getPrivateEndpoint")); + +export { GetPrivateEndpointsArgs, GetPrivateEndpointsResult, GetPrivateEndpointsOutputArgs } from "./getPrivateEndpoints"; +export const getPrivateEndpoints: typeof import("./getPrivateEndpoints").getPrivateEndpoints = null as any; +export const getPrivateEndpointsOutput: typeof import("./getPrivateEndpoints").getPrivateEndpointsOutput = null as any; +utilities.lazyLoad(exports, ["getPrivateEndpoints","getPrivateEndpointsOutput"], () => require("./getPrivateEndpoints")); + export { GetProjectArgs, GetProjectResult, GetProjectOutputArgs } from "./getProject"; export const getProject: typeof import("./getProject").getProject = null as any; export const getProjectOutput: typeof import("./getProject").getProjectOutput = null as any; @@ -175,6 +185,11 @@ export type PipelineRun = import("./pipelineRun").PipelineRun; export const PipelineRun: typeof import("./pipelineRun").PipelineRun = null as any; utilities.lazyLoad(exports, ["PipelineRun"], () => require("./pipelineRun")); +export { PrivateEndpointArgs, PrivateEndpointState } from "./privateEndpoint"; +export type PrivateEndpoint = import("./privateEndpoint").PrivateEndpoint; +export const PrivateEndpoint: typeof import("./privateEndpoint").PrivateEndpoint = null as any; +utilities.lazyLoad(exports, ["PrivateEndpoint"], () => require("./privateEndpoint")); + export { ProjectArgs, ProjectState } from "./project"; export type Project = import("./project").Project; export const Project: typeof import("./project").Project = null as any; @@ -207,6 +222,8 @@ const _module = { return new Pipeline(name, undefined, { urn }) case "oci:DataScience/pipelineRun:PipelineRun": return new PipelineRun(name, undefined, { urn }) + case "oci:DataScience/privateEndpoint:PrivateEndpoint": + return new PrivateEndpoint(name, undefined, { urn }) case "oci:DataScience/project:Project": return new Project(name, undefined, { urn }) default: @@ -225,4 +242,5 @@ pulumi.runtime.registerResourceModule("oci", "DataScience/modelVersionSet", _mod pulumi.runtime.registerResourceModule("oci", "DataScience/notebookSession", _module) pulumi.runtime.registerResourceModule("oci", "DataScience/pipeline", _module) pulumi.runtime.registerResourceModule("oci", "DataScience/pipelineRun", _module) +pulumi.runtime.registerResourceModule("oci", "DataScience/privateEndpoint", _module) pulumi.runtime.registerResourceModule("oci", "DataScience/project", _module) diff --git a/sdk/nodejs/datascience/notebookSession.ts b/sdk/nodejs/datascience/notebookSession.ts index 897c4791a4..f1a2ea3c77 100644 --- a/sdk/nodejs/datascience/notebookSession.ts +++ b/sdk/nodejs/datascience/notebookSession.ts @@ -34,6 +34,7 @@ import * as utilities from "../utilities"; * memoryInGbs: _var.notebook_session_notebook_session_config_details_notebook_session_shape_config_details_memory_in_gbs, * ocpus: _var.notebook_session_notebook_session_config_details_notebook_session_shape_config_details_ocpus, * }, + * privateEndpointId: oci_dataflow_private_endpoint.test_private_endpoint.id, * subnetId: oci_core_subnet.test_subnet.id, * }, * notebookSessionConfigurationDetails: { @@ -44,6 +45,7 @@ import * as utilities from "../utilities"; * memoryInGbs: _var.notebook_session_notebook_session_configuration_details_notebook_session_shape_config_details_memory_in_gbs, * ocpus: _var.notebook_session_notebook_session_configuration_details_notebook_session_shape_config_details_ocpus, * }, + * privateEndpointId: oci_dataflow_private_endpoint.test_private_endpoint.id, * }, * notebookSessionRuntimeConfigDetails: { * customEnvironmentVariables: _var.notebook_session_notebook_session_runtime_config_details_custom_environment_variables, diff --git a/sdk/nodejs/datascience/privateEndpoint.ts b/sdk/nodejs/datascience/privateEndpoint.ts new file mode 100644 index 0000000000..679f2fbe4d --- /dev/null +++ b/sdk/nodejs/datascience/privateEndpoint.ts @@ -0,0 +1,310 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as utilities from "../utilities"; + +/** + * This resource provides the Data Science Private Endpoint resource in Oracle Cloud Infrastructure Data Science service. + * + * Creates a Data Science private endpoint to be used by a Data Science resource. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testDataSciencePrivateEndpoint = new oci.datascience.PrivateEndpoint("testDataSciencePrivateEndpoint", { + * compartmentId: _var.compartment_id, + * dataScienceResourceType: _var.data_science_private_endpoint_data_science_resource_type, + * subnetId: oci_core_subnet.test_subnet.id, + * definedTags: { + * "Operations.CostCenter": "42", + * }, + * description: _var.data_science_private_endpoint_description, + * displayName: _var.data_science_private_endpoint_display_name, + * freeformTags: { + * Department: "Finance", + * }, + * nsgIds: _var.data_science_private_endpoint_nsg_ids, + * subDomain: _var.data_science_private_endpoint_sub_domain, + * }); + * ``` + * + * ## Import + * + * DataSciencePrivateEndpoints can be imported using the `id`, e.g. + * + * ```sh + * $ pulumi import oci:DataScience/privateEndpoint:PrivateEndpoint test_data_science_private_endpoint "id" + * ``` + */ +export class PrivateEndpoint extends pulumi.CustomResource { + /** + * Get an existing PrivateEndpoint resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state Any extra arguments used during the lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, state?: PrivateEndpointState, opts?: pulumi.CustomResourceOptions): PrivateEndpoint { + return new PrivateEndpoint(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'oci:DataScience/privateEndpoint:PrivateEndpoint'; + + /** + * Returns true if the given object is an instance of PrivateEndpoint. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is PrivateEndpoint { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === PrivateEndpoint.__pulumiType; + } + + /** + * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the private endpoint. + */ + public readonly compartmentId!: pulumi.Output; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user that created the private endpoint. + */ + public /*out*/ readonly createdBy!: pulumi.Output; + /** + * Data Science resource type. + */ + public readonly dataScienceResourceType!: pulumi.Output; + /** + * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` + */ + public readonly definedTags!: pulumi.Output<{[key: string]: any}>; + /** + * (Updatable) A user friendly description. Avoid entering confidential information. + */ + public readonly description!: pulumi.Output; + /** + * (Updatable) A user friendly name. It doesn't have to be unique. Avoid entering confidential information. + */ + public readonly displayName!: pulumi.Output; + /** + * Accesing the Data Science resource using FQDN. + */ + public /*out*/ readonly fqdn!: pulumi.Output; + /** + * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` + */ + public readonly freeformTags!: pulumi.Output<{[key: string]: any}>; + /** + * Details of the state of Data Science private endpoint. + */ + public /*out*/ readonly lifecycleDetails!: pulumi.Output; + /** + * (Updatable) An array of network security group OCIDs. + */ + public readonly nsgIds!: pulumi.Output; + /** + * State of the Data Science private endpoint. + */ + public /*out*/ readonly state!: pulumi.Output; + /** + * Subdomain for a private endpoint FQDN. + */ + public readonly subDomain!: pulumi.Output; + /** + * The OCID of the subnet. + * + * + * ** 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 + */ + public readonly subnetId!: pulumi.Output; + /** + * The date and time that the Data Science private endpoint was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + */ + public /*out*/ readonly timeCreated!: pulumi.Output; + /** + * The date and time that the Data Science private endpoint was updated expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + */ + public /*out*/ readonly timeUpdated!: pulumi.Output; + + /** + * Create a PrivateEndpoint resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: PrivateEndpointArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: PrivateEndpointArgs | PrivateEndpointState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as PrivateEndpointState | undefined; + resourceInputs["compartmentId"] = state ? state.compartmentId : undefined; + resourceInputs["createdBy"] = state ? state.createdBy : undefined; + resourceInputs["dataScienceResourceType"] = state ? state.dataScienceResourceType : undefined; + resourceInputs["definedTags"] = state ? state.definedTags : undefined; + resourceInputs["description"] = state ? state.description : undefined; + resourceInputs["displayName"] = state ? state.displayName : undefined; + resourceInputs["fqdn"] = state ? state.fqdn : undefined; + resourceInputs["freeformTags"] = state ? state.freeformTags : undefined; + resourceInputs["lifecycleDetails"] = state ? state.lifecycleDetails : undefined; + resourceInputs["nsgIds"] = state ? state.nsgIds : undefined; + resourceInputs["state"] = state ? state.state : undefined; + resourceInputs["subDomain"] = state ? state.subDomain : undefined; + resourceInputs["subnetId"] = state ? state.subnetId : undefined; + resourceInputs["timeCreated"] = state ? state.timeCreated : undefined; + resourceInputs["timeUpdated"] = state ? state.timeUpdated : undefined; + } else { + const args = argsOrState as PrivateEndpointArgs | undefined; + if ((!args || args.compartmentId === undefined) && !opts.urn) { + throw new Error("Missing required property 'compartmentId'"); + } + if ((!args || args.dataScienceResourceType === undefined) && !opts.urn) { + throw new Error("Missing required property 'dataScienceResourceType'"); + } + if ((!args || args.subnetId === undefined) && !opts.urn) { + throw new Error("Missing required property 'subnetId'"); + } + resourceInputs["compartmentId"] = args ? args.compartmentId : undefined; + resourceInputs["dataScienceResourceType"] = args ? args.dataScienceResourceType : undefined; + resourceInputs["definedTags"] = args ? args.definedTags : undefined; + resourceInputs["description"] = args ? args.description : undefined; + resourceInputs["displayName"] = args ? args.displayName : undefined; + resourceInputs["freeformTags"] = args ? args.freeformTags : undefined; + resourceInputs["nsgIds"] = args ? args.nsgIds : undefined; + resourceInputs["subDomain"] = args ? args.subDomain : undefined; + resourceInputs["subnetId"] = args ? args.subnetId : undefined; + resourceInputs["createdBy"] = undefined /*out*/; + resourceInputs["fqdn"] = undefined /*out*/; + resourceInputs["lifecycleDetails"] = undefined /*out*/; + resourceInputs["state"] = undefined /*out*/; + resourceInputs["timeCreated"] = undefined /*out*/; + resourceInputs["timeUpdated"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(PrivateEndpoint.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering PrivateEndpoint resources. + */ +export interface PrivateEndpointState { + /** + * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the private endpoint. + */ + compartmentId?: pulumi.Input; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user that created the private endpoint. + */ + createdBy?: pulumi.Input; + /** + * Data Science resource type. + */ + dataScienceResourceType?: pulumi.Input; + /** + * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` + */ + definedTags?: pulumi.Input<{[key: string]: any}>; + /** + * (Updatable) A user friendly description. Avoid entering confidential information. + */ + description?: pulumi.Input; + /** + * (Updatable) A user friendly name. It doesn't have to be unique. Avoid entering confidential information. + */ + displayName?: pulumi.Input; + /** + * Accesing the Data Science resource using FQDN. + */ + fqdn?: pulumi.Input; + /** + * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` + */ + freeformTags?: pulumi.Input<{[key: string]: any}>; + /** + * Details of the state of Data Science private endpoint. + */ + lifecycleDetails?: pulumi.Input; + /** + * (Updatable) An array of network security group OCIDs. + */ + nsgIds?: pulumi.Input[]>; + /** + * State of the Data Science private endpoint. + */ + state?: pulumi.Input; + /** + * Subdomain for a private endpoint FQDN. + */ + subDomain?: pulumi.Input; + /** + * The OCID of the subnet. + * + * + * ** 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 + */ + subnetId?: pulumi.Input; + /** + * The date and time that the Data Science private endpoint was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + */ + timeCreated?: pulumi.Input; + /** + * The date and time that the Data Science private endpoint was updated expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + */ + timeUpdated?: pulumi.Input; +} + +/** + * The set of arguments for constructing a PrivateEndpoint resource. + */ +export interface PrivateEndpointArgs { + /** + * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the private endpoint. + */ + compartmentId: pulumi.Input; + /** + * Data Science resource type. + */ + dataScienceResourceType: pulumi.Input; + /** + * (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` + */ + definedTags?: pulumi.Input<{[key: string]: any}>; + /** + * (Updatable) A user friendly description. Avoid entering confidential information. + */ + description?: pulumi.Input; + /** + * (Updatable) A user friendly name. It doesn't have to be unique. Avoid entering confidential information. + */ + displayName?: pulumi.Input; + /** + * (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` + */ + freeformTags?: pulumi.Input<{[key: string]: any}>; + /** + * (Updatable) An array of network security group OCIDs. + */ + nsgIds?: pulumi.Input[]>; + /** + * Subdomain for a private endpoint FQDN. + */ + subDomain?: pulumi.Input; + /** + * The OCID of the subnet. + * + * + * ** 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 + */ + subnetId: pulumi.Input; +} diff --git a/sdk/nodejs/filestorage/fileSystem.ts b/sdk/nodejs/filestorage/fileSystem.ts index 74037b6f55..ffe7819aee 100644 --- a/sdk/nodejs/filestorage/fileSystem.ts +++ b/sdk/nodejs/filestorage/fileSystem.ts @@ -118,7 +118,7 @@ export class FileSystem extends pulumi.CustomResource { * * May be unset as a blank value. */ - public readonly filesystemSnapshotPolicyId!: pulumi.Output; + public readonly filesystemSnapshotPolicyId!: pulumi.Output; /** * (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ diff --git a/sdk/nodejs/goldengate/deployment.ts b/sdk/nodejs/goldengate/deployment.ts index 390e6b5ff1..b50e0c28e4 100644 --- a/sdk/nodejs/goldengate/deployment.ts +++ b/sdk/nodejs/goldengate/deployment.ts @@ -155,9 +155,6 @@ export class Deployment extends pulumi.CustomResource { * The public IP address representing the access point for the Deployment. */ public /*out*/ readonly publicIpAddress!: pulumi.Output; - /** - * Possible lifecycle states. - */ public readonly state!: pulumi.Output; /** * The amount of storage being utilized (in bytes) @@ -418,9 +415,6 @@ export interface DeploymentState { * The public IP address representing the access point for the Deployment. */ publicIpAddress?: pulumi.Input; - /** - * Possible lifecycle states. - */ state?: pulumi.Input; /** * The amount of storage being utilized (in bytes) @@ -524,9 +518,6 @@ export interface DeploymentArgs { * (Updatable) Deployment Data for creating an OggDeployment */ oggData?: pulumi.Input; - /** - * Possible lifecycle states. - */ state?: pulumi.Input; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet being referenced. diff --git a/sdk/nodejs/index.ts b/sdk/nodejs/index.ts index 500f986a65..27e88a1a43 100644 --- a/sdk/nodejs/index.ts +++ b/sdk/nodejs/index.ts @@ -36,6 +36,7 @@ import * as certificatesmanagement from "./certificatesmanagement"; import * as cloudbridge from "./cloudbridge"; import * as cloudguard from "./cloudguard"; import * as cloudmigrations from "./cloudmigrations"; +import * as computecloud from "./computecloud"; import * as computeinstanceagent from "./computeinstanceagent"; import * as config from "./config"; import * as containerengine from "./containerengine"; @@ -146,6 +147,7 @@ export { cloudbridge, cloudguard, cloudmigrations, + computecloud, computeinstanceagent, config, containerengine, diff --git a/sdk/nodejs/kms/ekmsPrivateEndpoint.ts b/sdk/nodejs/kms/ekmsPrivateEndpoint.ts new file mode 100644 index 0000000000..bc6ed188d4 --- /dev/null +++ b/sdk/nodejs/kms/ekmsPrivateEndpoint.ts @@ -0,0 +1,291 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as utilities from "../utilities"; + +/** + * This resource provides the Ekms Private Endpoint resource in Oracle Cloud Infrastructure Kms service. + * + * Create a new EKMS private endpoint used to connect to external key manager system + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testEkmsPrivateEndpoint = new oci.kms.EkmsPrivateEndpoint("testEkmsPrivateEndpoint", { + * caBundle: _var.ekms_private_endpoint_ca_bundle, + * compartmentId: _var.compartment_id, + * displayName: _var.ekms_private_endpoint_display_name, + * externalKeyManagerIp: _var.ekms_private_endpoint_external_key_manager_ip, + * subnetId: oci_core_subnet.test_subnet.id, + * definedTags: { + * "foo-namespace.bar-key": "value", + * }, + * freeformTags: { + * "bar-key": "value", + * }, + * port: _var.ekms_private_endpoint_port, + * }); + * ``` + * + * ## Import + * + * EkmsPrivateEndpoints can be imported using the `id`, e.g. + * + * ```sh + * $ pulumi import oci:Kms/ekmsPrivateEndpoint:EkmsPrivateEndpoint test_ekms_private_endpoint "id" + * ``` + */ +export class EkmsPrivateEndpoint extends pulumi.CustomResource { + /** + * Get an existing EkmsPrivateEndpoint resource's state with the given name, ID, and optional extra + * properties used to qualify the lookup. + * + * @param name The _unique_ name of the resulting resource. + * @param id The _unique_ provider ID of the resource to lookup. + * @param state Any extra arguments used during the lookup. + * @param opts Optional settings to control the behavior of the CustomResource. + */ + public static get(name: string, id: pulumi.Input, state?: EkmsPrivateEndpointState, opts?: pulumi.CustomResourceOptions): EkmsPrivateEndpoint { + return new EkmsPrivateEndpoint(name, state, { ...opts, id: id }); + } + + /** @internal */ + public static readonly __pulumiType = 'oci:Kms/ekmsPrivateEndpoint:EkmsPrivateEndpoint'; + + /** + * Returns true if the given object is an instance of EkmsPrivateEndpoint. This is designed to work even + * when multiple copies of the Pulumi SDK have been loaded into the same process. + */ + public static isInstance(obj: any): obj is EkmsPrivateEndpoint { + if (obj === undefined || obj === null) { + return false; + } + return obj['__pulumiType'] === EkmsPrivateEndpoint.__pulumiType; + } + + /** + * CABundle to validate TLS certificate of the external key manager system in PEM format + */ + public readonly caBundle!: pulumi.Output; + /** + * Compartment identifier. + */ + public readonly compartmentId!: pulumi.Output; + /** + * (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"foo-namespace.bar-key": "value"}` + */ + public readonly definedTags!: pulumi.Output<{[key: string]: any}>; + /** + * (Updatable) Display name of the EKMS private endpoint resource being created. + */ + public readonly displayName!: pulumi.Output; + /** + * External private IP to connect to from this EKMS private endpoint + */ + public readonly externalKeyManagerIp!: pulumi.Output; + /** + * (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + */ + public readonly freeformTags!: pulumi.Output<{[key: string]: any}>; + /** + * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state. + */ + public /*out*/ readonly lifecycleDetails!: pulumi.Output; + /** + * The port of the external key manager system + */ + public readonly port!: pulumi.Output; + /** + * The IP address in the customer's VCN for the EKMS private endpoint. This is taken from subnet + */ + public /*out*/ readonly privateEndpointIp!: pulumi.Output; + /** + * The current state of the EKMS private endpoint resource. + */ + public /*out*/ readonly state!: pulumi.Output; + /** + * The OCID of subnet in which the EKMS private endpoint is to be 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 + */ + public readonly subnetId!: pulumi.Output; + /** + * The time the EKMS private endpoint was created. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. + */ + public /*out*/ readonly timeCreated!: pulumi.Output; + /** + * The time the EKMS private endpoint was updated. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. + */ + public /*out*/ readonly timeUpdated!: pulumi.Output; + + /** + * Create a EkmsPrivateEndpoint resource with the given unique name, arguments, and options. + * + * @param name The _unique_ name of the resource. + * @param args The arguments to use to populate this resource's properties. + * @param opts A bag of options that control this resource's behavior. + */ + constructor(name: string, args: EkmsPrivateEndpointArgs, opts?: pulumi.CustomResourceOptions) + constructor(name: string, argsOrState?: EkmsPrivateEndpointArgs | EkmsPrivateEndpointState, opts?: pulumi.CustomResourceOptions) { + let resourceInputs: pulumi.Inputs = {}; + opts = opts || {}; + if (opts.id) { + const state = argsOrState as EkmsPrivateEndpointState | undefined; + resourceInputs["caBundle"] = state ? state.caBundle : undefined; + resourceInputs["compartmentId"] = state ? state.compartmentId : undefined; + resourceInputs["definedTags"] = state ? state.definedTags : undefined; + resourceInputs["displayName"] = state ? state.displayName : undefined; + resourceInputs["externalKeyManagerIp"] = state ? state.externalKeyManagerIp : undefined; + resourceInputs["freeformTags"] = state ? state.freeformTags : undefined; + resourceInputs["lifecycleDetails"] = state ? state.lifecycleDetails : undefined; + resourceInputs["port"] = state ? state.port : undefined; + resourceInputs["privateEndpointIp"] = state ? state.privateEndpointIp : undefined; + resourceInputs["state"] = state ? state.state : undefined; + resourceInputs["subnetId"] = state ? state.subnetId : undefined; + resourceInputs["timeCreated"] = state ? state.timeCreated : undefined; + resourceInputs["timeUpdated"] = state ? state.timeUpdated : undefined; + } else { + const args = argsOrState as EkmsPrivateEndpointArgs | undefined; + if ((!args || args.caBundle === undefined) && !opts.urn) { + throw new Error("Missing required property 'caBundle'"); + } + if ((!args || args.compartmentId === undefined) && !opts.urn) { + throw new Error("Missing required property 'compartmentId'"); + } + if ((!args || args.displayName === undefined) && !opts.urn) { + throw new Error("Missing required property 'displayName'"); + } + if ((!args || args.externalKeyManagerIp === undefined) && !opts.urn) { + throw new Error("Missing required property 'externalKeyManagerIp'"); + } + if ((!args || args.subnetId === undefined) && !opts.urn) { + throw new Error("Missing required property 'subnetId'"); + } + resourceInputs["caBundle"] = args ? args.caBundle : undefined; + resourceInputs["compartmentId"] = args ? args.compartmentId : undefined; + resourceInputs["definedTags"] = args ? args.definedTags : undefined; + resourceInputs["displayName"] = args ? args.displayName : undefined; + resourceInputs["externalKeyManagerIp"] = args ? args.externalKeyManagerIp : undefined; + resourceInputs["freeformTags"] = args ? args.freeformTags : undefined; + resourceInputs["port"] = args ? args.port : undefined; + resourceInputs["subnetId"] = args ? args.subnetId : undefined; + resourceInputs["lifecycleDetails"] = undefined /*out*/; + resourceInputs["privateEndpointIp"] = undefined /*out*/; + resourceInputs["state"] = undefined /*out*/; + resourceInputs["timeCreated"] = undefined /*out*/; + resourceInputs["timeUpdated"] = undefined /*out*/; + } + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts); + super(EkmsPrivateEndpoint.__pulumiType, name, resourceInputs, opts); + } +} + +/** + * Input properties used for looking up and filtering EkmsPrivateEndpoint resources. + */ +export interface EkmsPrivateEndpointState { + /** + * CABundle to validate TLS certificate of the external key manager system in PEM format + */ + caBundle?: pulumi.Input; + /** + * Compartment identifier. + */ + compartmentId?: pulumi.Input; + /** + * (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"foo-namespace.bar-key": "value"}` + */ + definedTags?: pulumi.Input<{[key: string]: any}>; + /** + * (Updatable) Display name of the EKMS private endpoint resource being created. + */ + displayName?: pulumi.Input; + /** + * External private IP to connect to from this EKMS private endpoint + */ + externalKeyManagerIp?: pulumi.Input; + /** + * (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + */ + freeformTags?: pulumi.Input<{[key: string]: any}>; + /** + * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state. + */ + lifecycleDetails?: pulumi.Input; + /** + * The port of the external key manager system + */ + port?: pulumi.Input; + /** + * The IP address in the customer's VCN for the EKMS private endpoint. This is taken from subnet + */ + privateEndpointIp?: pulumi.Input; + /** + * The current state of the EKMS private endpoint resource. + */ + state?: pulumi.Input; + /** + * The OCID of subnet in which the EKMS private endpoint is to be 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 + */ + subnetId?: pulumi.Input; + /** + * The time the EKMS private endpoint was created. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. + */ + timeCreated?: pulumi.Input; + /** + * The time the EKMS private endpoint was updated. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. + */ + timeUpdated?: pulumi.Input; +} + +/** + * The set of arguments for constructing a EkmsPrivateEndpoint resource. + */ +export interface EkmsPrivateEndpointArgs { + /** + * CABundle to validate TLS certificate of the external key manager system in PEM format + */ + caBundle: pulumi.Input; + /** + * Compartment identifier. + */ + compartmentId: pulumi.Input; + /** + * (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"foo-namespace.bar-key": "value"}` + */ + definedTags?: pulumi.Input<{[key: string]: any}>; + /** + * (Updatable) Display name of the EKMS private endpoint resource being created. + */ + displayName: pulumi.Input; + /** + * External private IP to connect to from this EKMS private endpoint + */ + externalKeyManagerIp: pulumi.Input; + /** + * (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + */ + freeformTags?: pulumi.Input<{[key: string]: any}>; + /** + * The port of the external key manager system + */ + port?: pulumi.Input; + /** + * The OCID of subnet in which the EKMS private endpoint is to be 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 + */ + subnetId: pulumi.Input; +} diff --git a/sdk/nodejs/kms/encryptedData.ts b/sdk/nodejs/kms/encryptedData.ts index 30333820f5..761181a50f 100644 --- a/sdk/nodejs/kms/encryptedData.ts +++ b/sdk/nodejs/kms/encryptedData.ts @@ -72,7 +72,7 @@ export class EncryptedData extends pulumi.CustomResource { */ public readonly cryptoEndpoint!: pulumi.Output; /** - * The encryption algorithm to use to encrypt and decrypt data with a customer-managed key. `AES_256_GCM` indicates that the key is a symmetric key that uses the Advanced Encryption Standard (AES) algorithm and that the mode of encryption is the Galois/Counter Mode (GCM). `RSA_OAEP_SHA_1` indicates that the key is an asymmetric key that uses the RSA encryption algorithm and uses Optimal Asymmetric Encryption Padding (OAEP). `RSA_OAEP_SHA_256` indicates that the key is an asymmetric key that uses the RSA encryption algorithm with a SHA-256 hash and uses OAEP. + * The encryption algorithm to use to encrypt and decrypt data with a customer-managed key. `AES_256_GCM` indicates that the key is a symmetric key that uses the Advanced Encryption Standard (AES) algorithm and that the mode of encryption is the Galois/Counter Mode (GCM). `RSA_OAEP_SHA_1` indicates that the key is an asymmetric key that uses the RSA encryption algorithm and uses Optimal Asymmetric Encryption Padding (OAEP). `RSA_OAEP_SHA_256` indicates that the key is an asymmetric key that uses the RSA encryption algorithm with a SHA-256 hash and uses OAEP. */ public readonly encryptionAlgorithm!: pulumi.Output; /** @@ -159,7 +159,7 @@ export interface EncryptedDataState { */ cryptoEndpoint?: pulumi.Input; /** - * The encryption algorithm to use to encrypt and decrypt data with a customer-managed key. `AES_256_GCM` indicates that the key is a symmetric key that uses the Advanced Encryption Standard (AES) algorithm and that the mode of encryption is the Galois/Counter Mode (GCM). `RSA_OAEP_SHA_1` indicates that the key is an asymmetric key that uses the RSA encryption algorithm and uses Optimal Asymmetric Encryption Padding (OAEP). `RSA_OAEP_SHA_256` indicates that the key is an asymmetric key that uses the RSA encryption algorithm with a SHA-256 hash and uses OAEP. + * The encryption algorithm to use to encrypt and decrypt data with a customer-managed key. `AES_256_GCM` indicates that the key is a symmetric key that uses the Advanced Encryption Standard (AES) algorithm and that the mode of encryption is the Galois/Counter Mode (GCM). `RSA_OAEP_SHA_1` indicates that the key is an asymmetric key that uses the RSA encryption algorithm and uses Optimal Asymmetric Encryption Padding (OAEP). `RSA_OAEP_SHA_256` indicates that the key is an asymmetric key that uses the RSA encryption algorithm with a SHA-256 hash and uses OAEP. */ encryptionAlgorithm?: pulumi.Input; /** @@ -197,7 +197,7 @@ export interface EncryptedDataArgs { */ cryptoEndpoint: pulumi.Input; /** - * The encryption algorithm to use to encrypt and decrypt data with a customer-managed key. `AES_256_GCM` indicates that the key is a symmetric key that uses the Advanced Encryption Standard (AES) algorithm and that the mode of encryption is the Galois/Counter Mode (GCM). `RSA_OAEP_SHA_1` indicates that the key is an asymmetric key that uses the RSA encryption algorithm and uses Optimal Asymmetric Encryption Padding (OAEP). `RSA_OAEP_SHA_256` indicates that the key is an asymmetric key that uses the RSA encryption algorithm with a SHA-256 hash and uses OAEP. + * The encryption algorithm to use to encrypt and decrypt data with a customer-managed key. `AES_256_GCM` indicates that the key is a symmetric key that uses the Advanced Encryption Standard (AES) algorithm and that the mode of encryption is the Galois/Counter Mode (GCM). `RSA_OAEP_SHA_1` indicates that the key is an asymmetric key that uses the RSA encryption algorithm and uses Optimal Asymmetric Encryption Padding (OAEP). `RSA_OAEP_SHA_256` indicates that the key is an asymmetric key that uses the RSA encryption algorithm with a SHA-256 hash and uses OAEP. */ encryptionAlgorithm?: pulumi.Input; /** diff --git a/sdk/nodejs/kms/getEkmsPrivateEndpoint.ts b/sdk/nodejs/kms/getEkmsPrivateEndpoint.ts new file mode 100644 index 0000000000..8be4ebe4d1 --- /dev/null +++ b/sdk/nodejs/kms/getEkmsPrivateEndpoint.ts @@ -0,0 +1,131 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as utilities from "../utilities"; + +/** + * This data source provides details about a specific Ekms Private Endpoint resource in Oracle Cloud Infrastructure Kms service. + * + * Gets a specific EKMS private by identifier. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testEkmsPrivateEndpoint = oci.Kms.getEkmsPrivateEndpoint({ + * ekmsPrivateEndpointId: oci_kms_ekms_private_endpoint.test_ekms_private_endpoint.id, + * }); + * ``` + */ +export function getEkmsPrivateEndpoint(args: GetEkmsPrivateEndpointArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("oci:Kms/getEkmsPrivateEndpoint:getEkmsPrivateEndpoint", { + "ekmsPrivateEndpointId": args.ekmsPrivateEndpointId, + }, opts); +} + +/** + * A collection of arguments for invoking getEkmsPrivateEndpoint. + */ +export interface GetEkmsPrivateEndpointArgs { + /** + * Unique EKMS private endpoint identifier. + */ + ekmsPrivateEndpointId: string; +} + +/** + * A collection of values returned by getEkmsPrivateEndpoint. + */ +export interface GetEkmsPrivateEndpointResult { + /** + * CABundle to validate TLS certificate of the external key manager system in PEM format + */ + readonly caBundle: string; + /** + * Identifier of the compartment this EKMS private endpoint belongs to + */ + readonly compartmentId: string; + /** + * Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"foo-namespace.bar-key": "value"}` + */ + readonly definedTags: {[key: string]: any}; + /** + * Mutable name of the EKMS private endpoint + */ + readonly displayName: string; + readonly ekmsPrivateEndpointId: string; + /** + * Private IP of the external key manager system to connect to from the EKMS private endpoint + */ + readonly externalKeyManagerIp: string; + /** + * Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + */ + readonly freeformTags: {[key: string]: any}; + /** + * Unique identifier that is immutable + */ + readonly id: string; + /** + * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state. + */ + readonly lifecycleDetails: string; + /** + * The port of the external key manager system + */ + readonly port: number; + /** + * The IP address in the customer's VCN for the EKMS private endpoint. This is taken from subnet + */ + readonly privateEndpointIp: string; + /** + * The current state of the EKMS private endpoint resource. + */ + readonly state: string; + /** + * Subnet Identifier + */ + readonly subnetId: string; + /** + * The time the EKMS private endpoint was created. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. + */ + readonly timeCreated: string; + /** + * The time the EKMS private endpoint was updated. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. + */ + readonly timeUpdated: string; +} +/** + * This data source provides details about a specific Ekms Private Endpoint resource in Oracle Cloud Infrastructure Kms service. + * + * Gets a specific EKMS private by identifier. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testEkmsPrivateEndpoint = oci.Kms.getEkmsPrivateEndpoint({ + * ekmsPrivateEndpointId: oci_kms_ekms_private_endpoint.test_ekms_private_endpoint.id, + * }); + * ``` + */ +export function getEkmsPrivateEndpointOutput(args: GetEkmsPrivateEndpointOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getEkmsPrivateEndpoint(a, opts)) +} + +/** + * A collection of arguments for invoking getEkmsPrivateEndpoint. + */ +export interface GetEkmsPrivateEndpointOutputArgs { + /** + * Unique EKMS private endpoint identifier. + */ + ekmsPrivateEndpointId: pulumi.Input; +} diff --git a/sdk/nodejs/kms/getEkmsPrivateEndpoints.ts b/sdk/nodejs/kms/getEkmsPrivateEndpoints.ts new file mode 100644 index 0000000000..ea284ca068 --- /dev/null +++ b/sdk/nodejs/kms/getEkmsPrivateEndpoints.ts @@ -0,0 +1,92 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../types/input"; +import * as outputs from "../types/output"; +import * as utilities from "../utilities"; + +/** + * This data source provides the list of Ekms Private Endpoints in Oracle Cloud Infrastructure Kms service. + * + * Returns a list of all the EKMS private endpoints in the specified compartment. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testEkmsPrivateEndpoints = oci.Kms.getEkmsPrivateEndpoints({ + * compartmentId: _var.compartment_id, + * }); + * ``` + */ +export function getEkmsPrivateEndpoints(args: GetEkmsPrivateEndpointsArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("oci:Kms/getEkmsPrivateEndpoints:getEkmsPrivateEndpoints", { + "compartmentId": args.compartmentId, + "filters": args.filters, + }, opts); +} + +/** + * A collection of arguments for invoking getEkmsPrivateEndpoints. + */ +export interface GetEkmsPrivateEndpointsArgs { + /** + * The OCID of the compartment. + */ + compartmentId: string; + filters?: inputs.Kms.GetEkmsPrivateEndpointsFilter[]; +} + +/** + * A collection of values returned by getEkmsPrivateEndpoints. + */ +export interface GetEkmsPrivateEndpointsResult { + /** + * Identifier of the compartment this EKMS private endpoint belongs to + */ + readonly compartmentId: string; + /** + * The list of ekms_private_endpoints. + */ + readonly ekmsPrivateEndpoints: outputs.Kms.GetEkmsPrivateEndpointsEkmsPrivateEndpoint[]; + readonly filters?: outputs.Kms.GetEkmsPrivateEndpointsFilter[]; + /** + * The provider-assigned unique ID for this managed resource. + */ + readonly id: string; +} +/** + * This data source provides the list of Ekms Private Endpoints in Oracle Cloud Infrastructure Kms service. + * + * Returns a list of all the EKMS private endpoints in the specified compartment. + * + * ## Example Usage + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as oci from "@pulumi/oci"; + * + * const testEkmsPrivateEndpoints = oci.Kms.getEkmsPrivateEndpoints({ + * compartmentId: _var.compartment_id, + * }); + * ``` + */ +export function getEkmsPrivateEndpointsOutput(args: GetEkmsPrivateEndpointsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getEkmsPrivateEndpoints(a, opts)) +} + +/** + * A collection of arguments for invoking getEkmsPrivateEndpoints. + */ +export interface GetEkmsPrivateEndpointsOutputArgs { + /** + * The OCID of the compartment. + */ + compartmentId: pulumi.Input; + filters?: pulumi.Input[]>; +} diff --git a/sdk/nodejs/kms/getKey.ts b/sdk/nodejs/kms/getKey.ts index 6d7e8942dd..6a071a2113 100644 --- a/sdk/nodejs/kms/getKey.ts +++ b/sdk/nodejs/kms/getKey.ts @@ -72,6 +72,11 @@ export interface GetKeyResult { * A user-friendly name for the key. It does not have to be unique, and it is changeable. Avoid entering confidential information. */ readonly displayName: string; + /** + * Key reference data to be returned to the customer as a response. + */ + readonly externalKeyReferenceDetails: outputs.Kms.GetKeyExternalKeyReferenceDetail[]; + readonly externalKeyReferences: outputs.Kms.GetKeyExternalKeyReference[]; /** * 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ @@ -81,7 +86,7 @@ export interface GetKeyResult { */ readonly id: string; /** - * A boolean that will be true when key is primary, and will be false when key is a replica from a primary key. + * A Boolean value that indicates whether the Key belongs to primary Vault or replica vault. */ readonly isPrimary: boolean; readonly keyId: string; @@ -91,7 +96,7 @@ export interface GetKeyResult { readonly keyShapes: outputs.Kms.GetKeyKeyShape[]; readonly managementEndpoint: string; /** - * The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. + * The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager. */ readonly protectionMode: string; /** diff --git a/sdk/nodejs/kms/getKeyVersion.ts b/sdk/nodejs/kms/getKeyVersion.ts index 37a8067e53..93bc85ece5 100644 --- a/sdk/nodejs/kms/getKeyVersion.ts +++ b/sdk/nodejs/kms/getKeyVersion.ts @@ -65,12 +65,20 @@ export interface GetKeyVersionResult { * The OCID of the compartment that contains this key version. */ readonly compartmentId: string; + /** + * Key reference data to be returned to the customer as a response. + */ + readonly externalKeyReferenceDetails: outputs.Kms.GetKeyVersionExternalKeyReferenceDetail[]; + /** + * Key version ID associated with the external key. + */ + readonly externalKeyVersionId: string; /** * The OCID of the key version. */ readonly id: string; /** - * A boolean that will be true when key version is primary, and will be false when key version is a replica from a primary key version. + * A Boolean value that indicates whether the KeyVersion belongs to primary Vault or replica Vault. */ readonly isPrimary: boolean; /** diff --git a/sdk/nodejs/kms/getKeys.ts b/sdk/nodejs/kms/getKeys.ts index 3b73570dc4..ae88137fc8 100644 --- a/sdk/nodejs/kms/getKeys.ts +++ b/sdk/nodejs/kms/getKeys.ts @@ -72,7 +72,7 @@ export interface GetKeysArgs { */ managementEndpoint: string; /** - * A key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. + * A key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager. */ protectionMode?: string; } @@ -82,7 +82,7 @@ export interface GetKeysArgs { */ export interface GetKeysResult { /** - * The algorithm used by a key's key versions to encrypt or decrypt. + * The algorithm used by a key's key versions to encrypt or decrypt. Only AES algorithm is supported for `External` keys. */ readonly algorithm?: string; /** @@ -111,7 +111,7 @@ export interface GetKeysResult { readonly length?: number; readonly managementEndpoint: string; /** - * The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. + * The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager. */ readonly protectionMode?: string; } @@ -171,7 +171,7 @@ export interface GetKeysOutputArgs { */ managementEndpoint: pulumi.Input; /** - * A key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. + * A key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager. */ protectionMode?: pulumi.Input; } diff --git a/sdk/nodejs/kms/getReplicationStatus.ts b/sdk/nodejs/kms/getReplicationStatus.ts index 343b9b481b..3d82823642 100644 --- a/sdk/nodejs/kms/getReplicationStatus.ts +++ b/sdk/nodejs/kms/getReplicationStatus.ts @@ -58,6 +58,9 @@ export interface GetReplicationStatusResult { */ readonly id: string; readonly managementEndpoint: string; + /** + * Replica Details. + */ readonly replicaDetails: outputs.Kms.GetReplicationStatusReplicaDetail[]; readonly replicationId: string; } diff --git a/sdk/nodejs/kms/getVault.ts b/sdk/nodejs/kms/getVault.ts index b81d2b2ce3..85fc4e3433 100644 --- a/sdk/nodejs/kms/getVault.ts +++ b/sdk/nodejs/kms/getVault.ts @@ -65,6 +65,11 @@ export interface GetVaultResult { * A user-friendly name for the vault. It does not have to be unique, and it is changeable. Avoid entering confidential information. */ readonly displayName: string; + /** + * Summary about metadata of external key manager to be returned to the customer as a response. + */ + readonly externalKeyManagerMetadataSummaries: outputs.Kms.GetVaultExternalKeyManagerMetadataSummary[]; + readonly externalKeyManagerMetadatas: outputs.Kms.GetVaultExternalKeyManagerMetadata[]; /** * 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ @@ -74,7 +79,7 @@ export interface GetVaultResult { */ readonly id: string; /** - * A boolean that will be true when vault is primary, and will be false when vault is a replica from a primary vault. + * A Boolean value that indicates whether the Vault is primary Vault or replica Vault. */ readonly isPrimary: boolean; /** @@ -98,7 +103,7 @@ export interface GetVaultResult { */ readonly restoreTrigger: boolean; /** - * The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. + * The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. */ readonly restoredFromVaultId: string; /** diff --git a/sdk/nodejs/kms/index.ts b/sdk/nodejs/kms/index.ts index f8108b5d60..61a76bb63d 100644 --- a/sdk/nodejs/kms/index.ts +++ b/sdk/nodejs/kms/index.ts @@ -5,6 +5,11 @@ import * as pulumi from "@pulumi/pulumi"; import * as utilities from "../utilities"; // Export members: +export { EkmsPrivateEndpointArgs, EkmsPrivateEndpointState } from "./ekmsPrivateEndpoint"; +export type EkmsPrivateEndpoint = import("./ekmsPrivateEndpoint").EkmsPrivateEndpoint; +export const EkmsPrivateEndpoint: typeof import("./ekmsPrivateEndpoint").EkmsPrivateEndpoint = null as any; +utilities.lazyLoad(exports, ["EkmsPrivateEndpoint"], () => require("./ekmsPrivateEndpoint")); + export { EncryptedDataArgs, EncryptedDataState } from "./encryptedData"; export type EncryptedData = import("./encryptedData").EncryptedData; export const EncryptedData: typeof import("./encryptedData").EncryptedData = null as any; @@ -20,6 +25,16 @@ export const getDecryptedData: typeof import("./getDecryptedData").getDecryptedD export const getDecryptedDataOutput: typeof import("./getDecryptedData").getDecryptedDataOutput = null as any; utilities.lazyLoad(exports, ["getDecryptedData","getDecryptedDataOutput"], () => require("./getDecryptedData")); +export { GetEkmsPrivateEndpointArgs, GetEkmsPrivateEndpointResult, GetEkmsPrivateEndpointOutputArgs } from "./getEkmsPrivateEndpoint"; +export const getEkmsPrivateEndpoint: typeof import("./getEkmsPrivateEndpoint").getEkmsPrivateEndpoint = null as any; +export const getEkmsPrivateEndpointOutput: typeof import("./getEkmsPrivateEndpoint").getEkmsPrivateEndpointOutput = null as any; +utilities.lazyLoad(exports, ["getEkmsPrivateEndpoint","getEkmsPrivateEndpointOutput"], () => require("./getEkmsPrivateEndpoint")); + +export { GetEkmsPrivateEndpointsArgs, GetEkmsPrivateEndpointsResult, GetEkmsPrivateEndpointsOutputArgs } from "./getEkmsPrivateEndpoints"; +export const getEkmsPrivateEndpoints: typeof import("./getEkmsPrivateEndpoints").getEkmsPrivateEndpoints = null as any; +export const getEkmsPrivateEndpointsOutput: typeof import("./getEkmsPrivateEndpoints").getEkmsPrivateEndpointsOutput = null as any; +utilities.lazyLoad(exports, ["getEkmsPrivateEndpoints","getEkmsPrivateEndpointsOutput"], () => require("./getEkmsPrivateEndpoints")); + export { GetEncryptedDataArgs, GetEncryptedDataResult, GetEncryptedDataOutputArgs } from "./getEncryptedData"; export const getEncryptedData: typeof import("./getEncryptedData").getEncryptedData = null as any; export const getEncryptedDataOutput: typeof import("./getEncryptedData").getEncryptedDataOutput = null as any; @@ -105,6 +120,8 @@ const _module = { version: utilities.getVersion(), construct: (name: string, type: string, urn: string): pulumi.Resource => { switch (type) { + case "oci:Kms/ekmsPrivateEndpoint:EkmsPrivateEndpoint": + return new EkmsPrivateEndpoint(name, undefined, { urn }) case "oci:Kms/encryptedData:EncryptedData": return new EncryptedData(name, undefined, { urn }) case "oci:Kms/generatedKey:GeneratedKey": @@ -126,6 +143,7 @@ const _module = { } }, }; +pulumi.runtime.registerResourceModule("oci", "Kms/ekmsPrivateEndpoint", _module) pulumi.runtime.registerResourceModule("oci", "Kms/encryptedData", _module) pulumi.runtime.registerResourceModule("oci", "Kms/generatedKey", _module) pulumi.runtime.registerResourceModule("oci", "Kms/key", _module) diff --git a/sdk/nodejs/kms/key.ts b/sdk/nodejs/kms/key.ts index d8c397fba8..2d81c7d986 100644 --- a/sdk/nodejs/kms/key.ts +++ b/sdk/nodejs/kms/key.ts @@ -16,31 +16,6 @@ import * as utilities from "../utilities"; * to reject an otherwise valid request when the total rate of management write operations exceeds 10 * requests per second for a given tenancy. * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as oci from "@pulumi/oci"; - * - * const testKey = new oci.kms.Key("testKey", { - * compartmentId: _var.compartment_id, - * displayName: _var.key_display_name, - * keyShape: { - * algorithm: _var.key_key_shape_algorithm, - * length: _var.key_key_shape_length, - * curveId: oci_kms_curve.test_curve.id, - * }, - * managementEndpoint: _var.key_management_endpoint, - * definedTags: { - * "Operations.CostCenter": "42", - * }, - * freeformTags: { - * Department: "Finance", - * }, - * protectionMode: _var.key_protection_mode, - * }); - * ``` - * * ## Import * * Keys can be imported using the `id`, e.g. @@ -97,12 +72,20 @@ export class Key extends pulumi.CustomResource { * (Updatable) A user-friendly name for the key. It does not have to be unique, and it is changeable. Avoid entering confidential information. */ public readonly displayName!: pulumi.Output; + /** + * A reference to the key on external key manager. + */ + public readonly externalKeyReference!: pulumi.Output; + /** + * Key reference data to be returned to the customer as a response. + */ + public /*out*/ readonly externalKeyReferenceDetails!: pulumi.Output; /** * (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ public readonly freeformTags!: pulumi.Output<{[key: string]: any}>; /** - * A boolean that will be true when key is primary, and will be false when key is a replica from a primary key. + * A Boolean value that indicates whether the Key belongs to primary Vault or replica vault. */ public /*out*/ readonly isPrimary!: pulumi.Output; /** @@ -114,7 +97,7 @@ export class Key extends pulumi.CustomResource { */ public readonly managementEndpoint!: pulumi.Output; /** - * The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. + * The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager. */ public readonly protectionMode!: pulumi.Output; /** @@ -175,6 +158,8 @@ export class Key extends pulumi.CustomResource { resourceInputs["definedTags"] = state ? state.definedTags : undefined; resourceInputs["desiredState"] = state ? state.desiredState : undefined; resourceInputs["displayName"] = state ? state.displayName : undefined; + resourceInputs["externalKeyReference"] = state ? state.externalKeyReference : undefined; + resourceInputs["externalKeyReferenceDetails"] = state ? state.externalKeyReferenceDetails : undefined; resourceInputs["freeformTags"] = state ? state.freeformTags : undefined; resourceInputs["isPrimary"] = state ? state.isPrimary : undefined; resourceInputs["keyShape"] = state ? state.keyShape : undefined; @@ -207,6 +192,7 @@ export class Key extends pulumi.CustomResource { resourceInputs["definedTags"] = args ? args.definedTags : undefined; resourceInputs["desiredState"] = args ? args.desiredState : undefined; resourceInputs["displayName"] = args ? args.displayName : undefined; + resourceInputs["externalKeyReference"] = args ? args.externalKeyReference : undefined; resourceInputs["freeformTags"] = args ? args.freeformTags : undefined; resourceInputs["keyShape"] = args ? args.keyShape : undefined; resourceInputs["managementEndpoint"] = args ? args.managementEndpoint : undefined; @@ -216,6 +202,7 @@ export class Key extends pulumi.CustomResource { resourceInputs["restoreTrigger"] = args ? args.restoreTrigger : undefined; resourceInputs["timeOfDeletion"] = args ? args.timeOfDeletion : undefined; resourceInputs["currentKeyVersion"] = undefined /*out*/; + resourceInputs["externalKeyReferenceDetails"] = undefined /*out*/; resourceInputs["isPrimary"] = undefined /*out*/; resourceInputs["replicaDetails"] = undefined /*out*/; resourceInputs["restoredFromKeyId"] = undefined /*out*/; @@ -252,12 +239,20 @@ export interface KeyState { * (Updatable) A user-friendly name for the key. It does not have to be unique, and it is changeable. Avoid entering confidential information. */ displayName?: pulumi.Input; + /** + * A reference to the key on external key manager. + */ + externalKeyReference?: pulumi.Input; + /** + * Key reference data to be returned to the customer as a response. + */ + externalKeyReferenceDetails?: pulumi.Input[]>; /** * (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ freeformTags?: pulumi.Input<{[key: string]: any}>; /** - * A boolean that will be true when key is primary, and will be false when key is a replica from a primary key. + * A Boolean value that indicates whether the Key belongs to primary Vault or replica vault. */ isPrimary?: pulumi.Input; /** @@ -269,7 +264,7 @@ export interface KeyState { */ managementEndpoint?: pulumi.Input; /** - * The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. + * The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager. */ protectionMode?: pulumi.Input; /** @@ -333,6 +328,10 @@ export interface KeyArgs { * (Updatable) A user-friendly name for the key. It does not have to be unique, and it is changeable. Avoid entering confidential information. */ displayName: pulumi.Input; + /** + * A reference to the key on external key manager. + */ + externalKeyReference?: pulumi.Input; /** * (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ @@ -346,7 +345,7 @@ export interface KeyArgs { */ managementEndpoint: pulumi.Input; /** - * The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. + * The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager. */ protectionMode?: pulumi.Input; /** diff --git a/sdk/nodejs/kms/keyVersion.ts b/sdk/nodejs/kms/keyVersion.ts index 9c478cdccb..d831c346a3 100644 --- a/sdk/nodejs/kms/keyVersion.ts +++ b/sdk/nodejs/kms/keyVersion.ts @@ -17,18 +17,6 @@ import * as utilities from "../utilities"; * otherwise valid request when the total rate of management write operations exceeds 10 requests per second * for a given tenancy. * - * ## Example Usage - * - * ```typescript - * import * as pulumi from "@pulumi/pulumi"; - * import * as oci from "@pulumi/oci"; - * - * const testKeyVersion = new oci.kms.KeyVersion("testKeyVersion", { - * keyId: oci_kms_key.test_key.id, - * managementEndpoint: _var.key_version_management_endpoint, - * }); - * ``` - * * ## Import * * KeyVersions can be imported using the `id`, e.g. @@ -70,7 +58,15 @@ export class KeyVersion extends pulumi.CustomResource { */ public /*out*/ readonly compartmentId!: pulumi.Output; /** - * A boolean that will be true when key version is primary, and will be false when key version is a replica from a primary key version. + * Key reference data to be returned to the customer as a response. + */ + public /*out*/ readonly externalKeyReferenceDetails!: pulumi.Output; + /** + * Key version ID associated with the external key. + */ + public readonly externalKeyVersionId!: pulumi.Output; + /** + * A Boolean value that indicates whether the KeyVersion belongs to primary Vault or replica Vault. */ public /*out*/ readonly isPrimary!: pulumi.Output; /** @@ -129,6 +125,8 @@ export class KeyVersion extends pulumi.CustomResource { if (opts.id) { const state = argsOrState as KeyVersionState | undefined; resourceInputs["compartmentId"] = state ? state.compartmentId : undefined; + resourceInputs["externalKeyReferenceDetails"] = state ? state.externalKeyReferenceDetails : undefined; + resourceInputs["externalKeyVersionId"] = state ? state.externalKeyVersionId : undefined; resourceInputs["isPrimary"] = state ? state.isPrimary : undefined; resourceInputs["keyId"] = state ? state.keyId : undefined; resourceInputs["keyVersionId"] = state ? state.keyVersionId : undefined; @@ -149,10 +147,12 @@ export class KeyVersion extends pulumi.CustomResource { if ((!args || args.managementEndpoint === undefined) && !opts.urn) { throw new Error("Missing required property 'managementEndpoint'"); } + resourceInputs["externalKeyVersionId"] = args ? args.externalKeyVersionId : undefined; resourceInputs["keyId"] = args ? args.keyId : undefined; resourceInputs["managementEndpoint"] = args ? args.managementEndpoint : undefined; resourceInputs["timeOfDeletion"] = args ? args.timeOfDeletion : undefined; resourceInputs["compartmentId"] = undefined /*out*/; + resourceInputs["externalKeyReferenceDetails"] = undefined /*out*/; resourceInputs["isPrimary"] = undefined /*out*/; resourceInputs["keyVersionId"] = undefined /*out*/; resourceInputs["publicKey"] = undefined /*out*/; @@ -177,7 +177,15 @@ export interface KeyVersionState { */ compartmentId?: pulumi.Input; /** - * A boolean that will be true when key version is primary, and will be false when key version is a replica from a primary key version. + * Key reference data to be returned to the customer as a response. + */ + externalKeyReferenceDetails?: pulumi.Input[]>; + /** + * Key version ID associated with the external key. + */ + externalKeyVersionId?: pulumi.Input; + /** + * A Boolean value that indicates whether the KeyVersion belongs to primary Vault or replica Vault. */ isPrimary?: pulumi.Input; /** @@ -227,6 +235,10 @@ export interface KeyVersionState { * The set of arguments for constructing a KeyVersion resource. */ export interface KeyVersionArgs { + /** + * Key version ID associated with the external key. + */ + externalKeyVersionId?: pulumi.Input; /** * The OCID of the key. */ diff --git a/sdk/nodejs/kms/sign.ts b/sdk/nodejs/kms/sign.ts index 496d353c0f..179bc82670 100644 --- a/sdk/nodejs/kms/sign.ts +++ b/sdk/nodejs/kms/sign.ts @@ -10,6 +10,7 @@ import * as utilities from "../utilities"; * Creates a digital signature for a message or message digest by using the private key of a public-private key pair, * also known as an asymmetric key. To verify the generated signature, you can use the [Verify](https://docs.cloud.oracle.com/iaas/api/#/en/key/latest/VerifiedData/Verify) * operation. Or, if you want to validate the signature outside of the service, you can do so by using the public key of the same asymmetric key. + * This operation is not supported for keys having protection mode `EXTERNAL`. * * ## Example Usage * @@ -80,7 +81,7 @@ export class Sign extends pulumi.CustomResource { */ public readonly message!: pulumi.Output; /** - * Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. + * Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. */ public readonly messageType!: pulumi.Output; /** @@ -88,7 +89,7 @@ export class Sign extends pulumi.CustomResource { */ public /*out*/ readonly signature!: pulumi.Output; /** - * The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. + * The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. * * * ** IMPORTANT ** @@ -164,7 +165,7 @@ export interface SignState { */ message?: pulumi.Input; /** - * Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. + * Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. */ messageType?: pulumi.Input; /** @@ -172,7 +173,7 @@ export interface SignState { */ signature?: pulumi.Input; /** - * The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. + * The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. * * * ** IMPORTANT ** @@ -202,11 +203,11 @@ export interface SignArgs { */ message: pulumi.Input; /** - * Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. + * Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. */ messageType?: pulumi.Input; /** - * The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. + * The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. * * * ** IMPORTANT ** diff --git a/sdk/nodejs/kms/vault.ts b/sdk/nodejs/kms/vault.ts index a93bcbddcb..080792ba2d 100644 --- a/sdk/nodejs/kms/vault.ts +++ b/sdk/nodejs/kms/vault.ts @@ -32,6 +32,15 @@ import * as utilities from "../utilities"; * definedTags: { * "Operations.CostCenter": "42", * }, + * externalKeyManagerMetadata: { + * externalVaultEndpointUrl: _var.vault_external_key_manager_metadata_external_vault_endpoint_url, + * oauthMetadata: { + * clientAppId: oci_kms_client_app.test_client_app.id, + * clientAppSecret: _var.vault_external_key_manager_metadata_oauth_metadata_client_app_secret, + * idcsAccountNameUrl: _var.vault_external_key_manager_metadata_oauth_metadata_idcs_account_name_url, + * }, + * privateEndpointId: oci_dataflow_private_endpoint.test_private_endpoint.id, + * }, * freeformTags: { * Department: "Finance", * }, @@ -90,12 +99,20 @@ export class Vault extends pulumi.CustomResource { * (Updatable) A user-friendly name for the vault. It does not have to be unique, and it is changeable. Avoid entering confidential information. */ public readonly displayName!: pulumi.Output; + /** + * Metadata required for accessing External Key manager + */ + public readonly externalKeyManagerMetadata!: pulumi.Output; + /** + * Summary about metadata of external key manager to be returned to the customer as a response. + */ + public /*out*/ readonly externalKeyManagerMetadataSummaries!: pulumi.Output; /** * (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ public readonly freeformTags!: pulumi.Output<{[key: string]: any}>; /** - * A boolean that will be true when vault is primary, and will be false when vault is a replica from a primary vault. + * A Boolean value that indicates whether the Vault is primary Vault or replica Vault. */ public /*out*/ readonly isPrimary!: pulumi.Output; /** @@ -116,7 +133,7 @@ export class Vault extends pulumi.CustomResource { public readonly restoreFromObjectStore!: pulumi.Output; public readonly restoreTrigger!: pulumi.Output; /** - * The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. + * The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. */ public /*out*/ readonly restoredFromVaultId!: pulumi.Output; /** @@ -156,6 +173,8 @@ export class Vault extends pulumi.CustomResource { resourceInputs["cryptoEndpoint"] = state ? state.cryptoEndpoint : undefined; resourceInputs["definedTags"] = state ? state.definedTags : undefined; resourceInputs["displayName"] = state ? state.displayName : undefined; + resourceInputs["externalKeyManagerMetadata"] = state ? state.externalKeyManagerMetadata : undefined; + resourceInputs["externalKeyManagerMetadataSummaries"] = state ? state.externalKeyManagerMetadataSummaries : undefined; resourceInputs["freeformTags"] = state ? state.freeformTags : undefined; resourceInputs["isPrimary"] = state ? state.isPrimary : undefined; resourceInputs["managementEndpoint"] = state ? state.managementEndpoint : undefined; @@ -182,6 +201,7 @@ export class Vault extends pulumi.CustomResource { resourceInputs["compartmentId"] = args ? args.compartmentId : undefined; resourceInputs["definedTags"] = args ? args.definedTags : undefined; resourceInputs["displayName"] = args ? args.displayName : undefined; + resourceInputs["externalKeyManagerMetadata"] = args ? args.externalKeyManagerMetadata : undefined; resourceInputs["freeformTags"] = args ? args.freeformTags : undefined; resourceInputs["restoreFromFile"] = args ? args.restoreFromFile : undefined; resourceInputs["restoreFromObjectStore"] = args ? args.restoreFromObjectStore : undefined; @@ -189,6 +209,7 @@ export class Vault extends pulumi.CustomResource { resourceInputs["timeOfDeletion"] = args ? args.timeOfDeletion : undefined; resourceInputs["vaultType"] = args ? args.vaultType : undefined; resourceInputs["cryptoEndpoint"] = undefined /*out*/; + resourceInputs["externalKeyManagerMetadataSummaries"] = undefined /*out*/; resourceInputs["isPrimary"] = undefined /*out*/; resourceInputs["managementEndpoint"] = undefined /*out*/; resourceInputs["replicaDetails"] = undefined /*out*/; @@ -221,12 +242,20 @@ export interface VaultState { * (Updatable) A user-friendly name for the vault. It does not have to be unique, and it is changeable. Avoid entering confidential information. */ displayName?: pulumi.Input; + /** + * Metadata required for accessing External Key manager + */ + externalKeyManagerMetadata?: pulumi.Input; + /** + * Summary about metadata of external key manager to be returned to the customer as a response. + */ + externalKeyManagerMetadataSummaries?: pulumi.Input[]>; /** * (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ freeformTags?: pulumi.Input<{[key: string]: any}>; /** - * A boolean that will be true when vault is primary, and will be false when vault is a replica from a primary vault. + * A Boolean value that indicates whether the Vault is primary Vault or replica Vault. */ isPrimary?: pulumi.Input; /** @@ -247,7 +276,7 @@ export interface VaultState { restoreFromObjectStore?: pulumi.Input; restoreTrigger?: pulumi.Input; /** - * The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. + * The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. */ restoredFromVaultId?: pulumi.Input; /** @@ -287,6 +316,10 @@ export interface VaultArgs { * (Updatable) A user-friendly name for the vault. It does not have to be unique, and it is changeable. Avoid entering confidential information. */ displayName: pulumi.Input; + /** + * Metadata required for accessing External Key manager + */ + externalKeyManagerMetadata?: pulumi.Input; /** * (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ diff --git a/sdk/nodejs/kms/verify.ts b/sdk/nodejs/kms/verify.ts index 1bfe2fb514..95d9abf41b 100644 --- a/sdk/nodejs/kms/verify.ts +++ b/sdk/nodejs/kms/verify.ts @@ -8,8 +8,9 @@ import * as utilities from "../utilities"; * This resource provides the Verify resource in Oracle Cloud Infrastructure Kms service. * * Verifies a digital signature that was generated by the [Sign](https://docs.cloud.oracle.com/iaas/api/#/en/key/latest/SignedData/Sign) operation - * by using the public key of the same asymmetric key that was used to sign the data. If you want to validate the\ + * by using the public key of the same asymmetric key that was used to sign the data. If you want to validate the * digital signature outside of the service, you can do so by using the public key of the asymmetric key. + * This operation is not supported for keys having protection mode `EXTERNAL`. * * ## Example Usage * @@ -85,7 +86,7 @@ export class Verify extends pulumi.CustomResource { */ public readonly message!: pulumi.Output; /** - * Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. + * Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. */ public readonly messageType!: pulumi.Output; /** @@ -93,7 +94,7 @@ export class Verify extends pulumi.CustomResource { */ public readonly signature!: pulumi.Output; /** - * The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. + * The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. * * * ** IMPORTANT ** @@ -181,7 +182,7 @@ export interface VerifyState { */ message?: pulumi.Input; /** - * Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. + * Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. */ messageType?: pulumi.Input; /** @@ -189,7 +190,7 @@ export interface VerifyState { */ signature?: pulumi.Input; /** - * The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. + * The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. * * * ** IMPORTANT ** @@ -219,7 +220,7 @@ export interface VerifyArgs { */ message: pulumi.Input; /** - * Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. + * Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. */ messageType?: pulumi.Input; /** @@ -227,7 +228,7 @@ export interface VerifyArgs { */ signature: pulumi.Input; /** - * The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. + * The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. * * * ** IMPORTANT ** diff --git a/sdk/nodejs/loadbalancer/sslCipherSuite.ts b/sdk/nodejs/loadbalancer/sslCipherSuite.ts index 697501dd2e..197184db13 100644 --- a/sdk/nodejs/loadbalancer/sslCipherSuite.ts +++ b/sdk/nodejs/loadbalancer/sslCipherSuite.ts @@ -57,9 +57,6 @@ export class SslCipherSuite extends pulumi.CustomResource { return obj['__pulumiType'] === SslCipherSuite.__pulumiType; } - /** - * A list of SSL ciphers the load balancer must support for HTTPS or SSL connections. - */ public readonly ciphers!: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated load balancer. @@ -123,9 +120,6 @@ export class SslCipherSuite extends pulumi.CustomResource { * Input properties used for looking up and filtering SslCipherSuite resources. */ export interface SslCipherSuiteState { - /** - * A list of SSL ciphers the load balancer must support for HTTPS or SSL connections. - */ ciphers?: pulumi.Input[]>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated load balancer. @@ -155,9 +149,6 @@ export interface SslCipherSuiteState { * The set of arguments for constructing a SslCipherSuite resource. */ export interface SslCipherSuiteArgs { - /** - * A list of SSL ciphers the load balancer must support for HTTPS or SSL connections. - */ ciphers: pulumi.Input[]>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated load balancer. diff --git a/sdk/nodejs/mysql/getReplica.ts b/sdk/nodejs/mysql/getReplica.ts index ac0a24fba4..4560145898 100644 --- a/sdk/nodejs/mysql/getReplica.ts +++ b/sdk/nodejs/mysql/getReplica.ts @@ -2,6 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../types/input"; +import * as outputs from "../types/output"; import * as utilities from "../utilities"; /** @@ -50,6 +52,10 @@ export interface GetReplicaResult { * The OCID of the compartment that contains the read replica. */ readonly compartmentId: string; + /** + * The OCID of the Configuration to be used by the read replica. + */ + readonly configurationId: string; /** * The OCID of the DB System the read replica is associated with. */ @@ -91,7 +97,7 @@ export interface GetReplicaResult { */ readonly lifecycleDetails: string; /** - * The MySQL version used by the read replica. + * The MySQL version to be used by the read replica. */ readonly mysqlVersion: string; /** @@ -103,6 +109,14 @@ export interface GetReplicaResult { */ readonly portX: number; readonly replicaId: string; + /** + * By default a read replica inherits the MySQL version, shape, and configuration of the source DB system. If you want to override any of these, provide values in the properties, mysqlVersion, shapeName, and configurationId. If you set a property value to "", then the value is inherited from its source DB system. + */ + readonly replicaOverrides: outputs.Mysql.GetReplicaReplicaOverride[]; + /** + * The shape currently in use by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. + */ + readonly shapeName: string; /** * The state of the read replica. */ diff --git a/sdk/nodejs/mysql/getReplicas.ts b/sdk/nodejs/mysql/getReplicas.ts index b766dec0b2..2706c3f14f 100644 --- a/sdk/nodejs/mysql/getReplicas.ts +++ b/sdk/nodejs/mysql/getReplicas.ts @@ -19,8 +19,10 @@ import * as utilities from "../utilities"; * * const testReplicas = oci.Mysql.getReplicas({ * compartmentId: _var.compartment_id, + * configurationId: oci_mysql_mysql_configuration.test_mysql_configuration.id, * dbSystemId: oci_mysql_mysql_db_system.test_mysql_db_system.id, * displayName: _var.replica_display_name, + * isUpToDate: _var.replica_is_up_to_date, * replicaId: oci_mysql_replica.test_replica.id, * state: _var.replica_state, * }); @@ -31,9 +33,11 @@ export function getReplicas(args: GetReplicasArgs, opts?: pulumi.InvokeOptions): opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("oci:Mysql/getReplicas:getReplicas", { "compartmentId": args.compartmentId, + "configurationId": args.configurationId, "dbSystemId": args.dbSystemId, "displayName": args.displayName, "filters": args.filters, + "isUpToDate": args.isUpToDate, "replicaId": args.replicaId, "state": args.state, }, opts); @@ -47,6 +51,10 @@ export interface GetReplicasArgs { * The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ compartmentId: string; + /** + * The requested Configuration instance. + */ + configurationId?: string; /** * The DB System [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ @@ -56,6 +64,10 @@ export interface GetReplicasArgs { */ displayName?: string; filters?: inputs.Mysql.GetReplicasFilter[]; + /** + * Filter instances if they are using the latest revision of the Configuration they are associated with. + */ + isUpToDate?: boolean; /** * The read replica [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ @@ -74,6 +86,10 @@ export interface GetReplicasResult { * The OCID of the compartment that contains the read replica. */ readonly compartmentId: string; + /** + * The OCID of the Configuration to be used by the read replica. + */ + readonly configurationId?: string; /** * The OCID of the DB System the read replica is associated with. */ @@ -87,6 +103,7 @@ export interface GetReplicasResult { * The provider-assigned unique ID for this managed resource. */ readonly id: string; + readonly isUpToDate?: boolean; readonly replicaId?: string; /** * The list of replicas. @@ -110,8 +127,10 @@ export interface GetReplicasResult { * * const testReplicas = oci.Mysql.getReplicas({ * compartmentId: _var.compartment_id, + * configurationId: oci_mysql_mysql_configuration.test_mysql_configuration.id, * dbSystemId: oci_mysql_mysql_db_system.test_mysql_db_system.id, * displayName: _var.replica_display_name, + * isUpToDate: _var.replica_is_up_to_date, * replicaId: oci_mysql_replica.test_replica.id, * state: _var.replica_state, * }); @@ -129,6 +148,10 @@ export interface GetReplicasOutputArgs { * The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ compartmentId: pulumi.Input; + /** + * The requested Configuration instance. + */ + configurationId?: pulumi.Input; /** * The DB System [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ @@ -138,6 +161,10 @@ export interface GetReplicasOutputArgs { */ displayName?: pulumi.Input; filters?: pulumi.Input[]>; + /** + * Filter instances if they are using the latest revision of the Configuration they are associated with. + */ + isUpToDate?: pulumi.Input; /** * The read replica [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ diff --git a/sdk/nodejs/mysql/replica.ts b/sdk/nodejs/mysql/replica.ts index 9c7fa2d97f..2f1735dc65 100644 --- a/sdk/nodejs/mysql/replica.ts +++ b/sdk/nodejs/mysql/replica.ts @@ -2,6 +2,8 @@ // *** Do not edit by hand unless you're certain you know what you are doing! *** import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "../types/input"; +import * as outputs from "../types/output"; import * as utilities from "../utilities"; /** @@ -26,6 +28,11 @@ import * as utilities from "../utilities"; * "bar-key": "value", * }, * isDeleteProtected: _var.replica_is_delete_protected, + * replicaOverrides: { + * configurationId: oci_mysql_mysql_configuration.test_mysql_configuration.id, + * mysqlVersion: _var.replica_replica_overrides_mysql_version, + * shapeName: oci_mysql_shape.test_shape.name, + * }, * }); * ``` * @@ -73,6 +80,10 @@ export class Replica extends pulumi.CustomResource { * The OCID of the compartment that contains the read replica. */ public /*out*/ readonly compartmentId!: pulumi.Output; + /** + * (Updatable) The OCID of the Configuration to be used by the read replica. + */ + public /*out*/ readonly configurationId!: pulumi.Output; /** * The OCID of the DB System the read replica is associated with. */ @@ -102,11 +113,7 @@ export class Replica extends pulumi.CustomResource { */ public /*out*/ readonly ipAddress!: pulumi.Output; /** - * (Updatable) Specifies whether the read replica can be deleted. Set to true to prevent deletion, false (default) to allow. Note that if a read replica is delete protected it also prevents the entire DB System from being deleted. If the DB System is delete protected, read replicas can still be deleted individually if they are not delete protected themselves. - * - * - * ** 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 + * (Updatable) Specifies whether the read replica can be deleted. Set to true to prevent deletion, false (default) to allow. Note that if a read replica is delete protected it also prevents the entire DB System from being deleted. If the DB System is delete protected, read replicas can still be deleted individually if they are not delete protected themselves. */ public readonly isDeleteProtected!: pulumi.Output; /** @@ -114,7 +121,7 @@ export class Replica extends pulumi.CustomResource { */ public /*out*/ readonly lifecycleDetails!: pulumi.Output; /** - * The MySQL version used by the read replica. + * (Updatable) The MySQL version to be used by the read replica. */ public /*out*/ readonly mysqlVersion!: pulumi.Output; /** @@ -125,6 +132,18 @@ export class Replica extends pulumi.CustomResource { * The TCP network port on which X Plugin listens for connections. This is the X Plugin equivalent of port. */ public /*out*/ readonly portX!: pulumi.Output; + /** + * (Updatable) By default a read replica inherits the MySQL version, shape, and configuration of the source DB system. If you want to override any of these, provide values in the properties, mysqlVersion, shapeName, and configurationId. If you set a property value to "", then the value is inherited from its source DB system. + */ + public readonly replicaOverrides!: pulumi.Output; + /** + * (Updatable) The shape to be used by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. + * + * + * ** 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 + */ + public /*out*/ readonly shapeName!: pulumi.Output; /** * The state of the read replica. */ @@ -153,6 +172,7 @@ export class Replica extends pulumi.CustomResource { const state = argsOrState as ReplicaState | undefined; resourceInputs["availabilityDomain"] = state ? state.availabilityDomain : undefined; resourceInputs["compartmentId"] = state ? state.compartmentId : undefined; + resourceInputs["configurationId"] = state ? state.configurationId : undefined; resourceInputs["dbSystemId"] = state ? state.dbSystemId : undefined; resourceInputs["definedTags"] = state ? state.definedTags : undefined; resourceInputs["description"] = state ? state.description : undefined; @@ -165,6 +185,8 @@ export class Replica extends pulumi.CustomResource { resourceInputs["mysqlVersion"] = state ? state.mysqlVersion : undefined; resourceInputs["port"] = state ? state.port : undefined; resourceInputs["portX"] = state ? state.portX : undefined; + resourceInputs["replicaOverrides"] = state ? state.replicaOverrides : undefined; + resourceInputs["shapeName"] = state ? state.shapeName : undefined; resourceInputs["state"] = state ? state.state : undefined; resourceInputs["timeCreated"] = state ? state.timeCreated : undefined; resourceInputs["timeUpdated"] = state ? state.timeUpdated : undefined; @@ -179,14 +201,17 @@ export class Replica extends pulumi.CustomResource { resourceInputs["displayName"] = args ? args.displayName : undefined; resourceInputs["freeformTags"] = args ? args.freeformTags : undefined; resourceInputs["isDeleteProtected"] = args ? args.isDeleteProtected : undefined; + resourceInputs["replicaOverrides"] = args ? args.replicaOverrides : undefined; resourceInputs["availabilityDomain"] = undefined /*out*/; resourceInputs["compartmentId"] = undefined /*out*/; + resourceInputs["configurationId"] = undefined /*out*/; resourceInputs["faultDomain"] = undefined /*out*/; resourceInputs["ipAddress"] = undefined /*out*/; resourceInputs["lifecycleDetails"] = undefined /*out*/; resourceInputs["mysqlVersion"] = undefined /*out*/; resourceInputs["port"] = undefined /*out*/; resourceInputs["portX"] = undefined /*out*/; + resourceInputs["shapeName"] = undefined /*out*/; resourceInputs["state"] = undefined /*out*/; resourceInputs["timeCreated"] = undefined /*out*/; resourceInputs["timeUpdated"] = undefined /*out*/; @@ -208,6 +233,10 @@ export interface ReplicaState { * The OCID of the compartment that contains the read replica. */ compartmentId?: pulumi.Input; + /** + * (Updatable) The OCID of the Configuration to be used by the read replica. + */ + configurationId?: pulumi.Input; /** * The OCID of the DB System the read replica is associated with. */ @@ -237,11 +266,7 @@ export interface ReplicaState { */ ipAddress?: pulumi.Input; /** - * (Updatable) Specifies whether the read replica can be deleted. Set to true to prevent deletion, false (default) to allow. Note that if a read replica is delete protected it also prevents the entire DB System from being deleted. If the DB System is delete protected, read replicas can still be deleted individually if they are not delete protected themselves. - * - * - * ** 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 + * (Updatable) Specifies whether the read replica can be deleted. Set to true to prevent deletion, false (default) to allow. Note that if a read replica is delete protected it also prevents the entire DB System from being deleted. If the DB System is delete protected, read replicas can still be deleted individually if they are not delete protected themselves. */ isDeleteProtected?: pulumi.Input; /** @@ -249,7 +274,7 @@ export interface ReplicaState { */ lifecycleDetails?: pulumi.Input; /** - * The MySQL version used by the read replica. + * (Updatable) The MySQL version to be used by the read replica. */ mysqlVersion?: pulumi.Input; /** @@ -260,6 +285,18 @@ export interface ReplicaState { * The TCP network port on which X Plugin listens for connections. This is the X Plugin equivalent of port. */ portX?: pulumi.Input; + /** + * (Updatable) By default a read replica inherits the MySQL version, shape, and configuration of the source DB system. If you want to override any of these, provide values in the properties, mysqlVersion, shapeName, and configurationId. If you set a property value to "", then the value is inherited from its source DB system. + */ + replicaOverrides?: pulumi.Input; + /** + * (Updatable) The shape to be used by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. + * + * + * ** 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 + */ + shapeName?: pulumi.Input; /** * The state of the read replica. */ @@ -299,11 +336,11 @@ export interface ReplicaArgs { */ freeformTags?: pulumi.Input<{[key: string]: any}>; /** - * (Updatable) Specifies whether the read replica can be deleted. Set to true to prevent deletion, false (default) to allow. Note that if a read replica is delete protected it also prevents the entire DB System from being deleted. If the DB System is delete protected, read replicas can still be deleted individually if they are not delete protected themselves. - * - * - * ** 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 + * (Updatable) Specifies whether the read replica can be deleted. Set to true to prevent deletion, false (default) to allow. Note that if a read replica is delete protected it also prevents the entire DB System from being deleted. If the DB System is delete protected, read replicas can still be deleted individually if they are not delete protected themselves. */ isDeleteProtected?: pulumi.Input; + /** + * (Updatable) By default a read replica inherits the MySQL version, shape, and configuration of the source DB system. If you want to override any of these, provide values in the properties, mysqlVersion, shapeName, and configurationId. If you set a property value to "", then the value is inherited from its source DB system. + */ + replicaOverrides?: pulumi.Input; } diff --git a/sdk/nodejs/ocvp/esxiHost.ts b/sdk/nodejs/ocvp/esxiHost.ts index fb47f2a7ed..e57b4f6d3a 100644 --- a/sdk/nodejs/ocvp/esxiHost.ts +++ b/sdk/nodejs/ocvp/esxiHost.ts @@ -118,9 +118,6 @@ export class EsxiHost extends pulumi.CustomResource { * Indicates whether this host is in the progress of swapping billing. */ public /*out*/ readonly isBillingSwappingInProgress!: pulumi.Output; - /** - * The billing option to switch to after the current billing cycle ends. If `nextSku` is null or empty, `currentSku` continues to the next billing cycle. [ListSupportedSkus](https://docs.cloud.oracle.com/iaas/api/#/en/vmware/20200501/SupportedSkuSummary/ListSupportedSkus). - */ public readonly nextSku!: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ESXi host that will be upgraded. This is an optional parameter. If this parameter is specified, an ESXi host with the new software version is created to replace the original one, and the `nonUpgradedEsxiHostId` field is updated in the newly created Esxi host. See [Upgrading VMware Software](https://docs.cloud.oracle.com/iaas/Content/VMware/Concepts/upgrade.htm) for more information. @@ -311,9 +308,6 @@ export interface EsxiHostState { * Indicates whether this host is in the progress of swapping billing. */ isBillingSwappingInProgress?: pulumi.Input; - /** - * The billing option to switch to after the current billing cycle ends. If `nextSku` is null or empty, `currentSku` continues to the next billing cycle. [ListSupportedSkus](https://docs.cloud.oracle.com/iaas/api/#/en/vmware/20200501/SupportedSkuSummary/ListSupportedSkus). - */ nextSku?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ESXi host that will be upgraded. This is an optional parameter. If this parameter is specified, an ESXi host with the new software version is created to replace the original one, and the `nonUpgradedEsxiHostId` field is updated in the newly created Esxi host. See [Upgrading VMware Software](https://docs.cloud.oracle.com/iaas/Content/VMware/Concepts/upgrade.htm) for more information. @@ -405,9 +399,6 @@ export interface EsxiHostArgs { * The compute shape name of the ESXi host. [ListSupportedHostShapes](https://docs.cloud.oracle.com/iaas/api/#/en/vmware/20200501/SupportedHostShapes/ListSupportedHostShapes). */ hostShapeName?: pulumi.Input; - /** - * The billing option to switch to after the current billing cycle ends. If `nextSku` is null or empty, `currentSku` continues to the next billing cycle. [ListSupportedSkus](https://docs.cloud.oracle.com/iaas/api/#/en/vmware/20200501/SupportedSkuSummary/ListSupportedSkus). - */ nextSku?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ESXi host that will be upgraded. This is an optional parameter. If this parameter is specified, an ESXi host with the new software version is created to replace the original one, and the `nonUpgradedEsxiHostId` field is updated in the newly created Esxi host. See [Upgrading VMware Software](https://docs.cloud.oracle.com/iaas/Content/VMware/Concepts/upgrade.htm) for more information. diff --git a/sdk/nodejs/queue/getQueue.ts b/sdk/nodejs/queue/getQueue.ts index 2273138c54..f2db296d72 100644 --- a/sdk/nodejs/queue/getQueue.ts +++ b/sdk/nodejs/queue/getQueue.ts @@ -7,7 +7,7 @@ import * as utilities from "../utilities"; /** * This data source provides details about a specific Queue resource in Oracle Cloud Infrastructure Queue service. * - * Gets a Queue by identifier + * Gets a queue by identifier. * * ## Example Usage * @@ -33,7 +33,7 @@ export function getQueue(args: GetQueueArgs, opts?: pulumi.InvokeOptions): Promi */ export interface GetQueueArgs { /** - * unique Queue identifier + * The unique queue identifier. */ queueId: string; } @@ -43,11 +43,15 @@ export interface GetQueueArgs { */ export interface GetQueueResult { /** - * Compartment Identifier + * The percentage of allocated queue resources that can be consumed by a single channel. For example, if a queue has a storage limit of 2Gb, and a single channel consumption limit is 0.1 (10%), that means data size of a single channel can't exceed 200Mb. Consumption limit of 100% (default) means that a single channel can consume up-to all allocated queue's resources. + */ + readonly channelConsumptionLimit: number; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the queue. */ readonly compartmentId: string; /** - * Id of the custom master encryption key which will be used to encrypt messages content + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the custom encryption key to be used to encrypt messages content. */ readonly customEncryptionKeyId: string; /** @@ -59,7 +63,7 @@ export interface GetQueueResult { */ readonly definedTags: {[key: string]: any}; /** - * Queue Identifier, can be renamed + * A user-friendly name for the queue. Does not have to be unique, and it's changeable. Avoid entering confidential information. */ readonly displayName: string; /** @@ -67,11 +71,11 @@ export interface GetQueueResult { */ readonly freeformTags: {[key: string]: any}; /** - * Unique identifier that is immutable on creation + * A unique identifier for the queue that is immutable on creation. */ readonly id: string; /** - * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. + * Any additional details about the current state of the queue. */ readonly lifecycleDetails: string; /** @@ -86,7 +90,7 @@ export interface GetQueueResult { */ readonly retentionInSeconds: number; /** - * The current state of the Queue. + * The current state of the queue. */ readonly state: string; /** @@ -94,11 +98,11 @@ export interface GetQueueResult { */ readonly systemTags: {[key: string]: any}; /** - * The time the the Queue was created. An RFC3339 formatted datetime string + * The time that the queue was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` */ readonly timeCreated: string; /** - * The time the Queue was updated. An RFC3339 formatted datetime string + * The time that the queue was updated, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` */ readonly timeUpdated: string; /** @@ -106,14 +110,14 @@ export interface GetQueueResult { */ readonly timeoutInSeconds: number; /** - * The default visibility of the messages consumed from the queue. + * The default visibility timeout of the messages consumed from the queue, in seconds. */ readonly visibilityInSeconds: number; } /** * This data source provides details about a specific Queue resource in Oracle Cloud Infrastructure Queue service. * - * Gets a Queue by identifier + * Gets a queue by identifier. * * ## Example Usage * @@ -135,7 +139,7 @@ export function getQueueOutput(args: GetQueueOutputArgs, opts?: pulumi.InvokeOpt */ export interface GetQueueOutputArgs { /** - * unique Queue identifier + * The unique queue identifier. */ queueId: pulumi.Input; } diff --git a/sdk/nodejs/queue/getQueues.ts b/sdk/nodejs/queue/getQueues.ts index dad8d19176..7b29224fb5 100644 --- a/sdk/nodejs/queue/getQueues.ts +++ b/sdk/nodejs/queue/getQueues.ts @@ -9,7 +9,7 @@ import * as utilities from "../utilities"; /** * This data source provides the list of Queues in Oracle Cloud Infrastructure Queue service. * - * Returns a list of Queues. + * Returns a list of queues. * * ## Example Usage * @@ -43,7 +43,7 @@ export function getQueues(args?: GetQueuesArgs, opts?: pulumi.InvokeOptions): Pr */ export interface GetQueuesArgs { /** - * The ID of the compartment in which to list resources. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. */ compartmentId?: string; /** @@ -52,7 +52,7 @@ export interface GetQueuesArgs { displayName?: string; filters?: inputs.Queue.GetQueuesFilter[]; /** - * unique Queue identifier + * The unique queue identifier. */ id?: string; /** @@ -66,16 +66,16 @@ export interface GetQueuesArgs { */ export interface GetQueuesResult { /** - * Compartment Identifier + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the queue. */ readonly compartmentId?: string; /** - * Queue Identifier, can be renamed + * A user-friendly name for the queue. Does not have to be unique, and it's changeable. Avoid entering confidential information. */ readonly displayName?: string; readonly filters?: outputs.Queue.GetQueuesFilter[]; /** - * Unique identifier that is immutable on creation + * A unique identifier for the queue that is immutable on creation. */ readonly id?: string; /** @@ -83,14 +83,14 @@ export interface GetQueuesResult { */ readonly queueCollections: outputs.Queue.GetQueuesQueueCollection[]; /** - * The current state of the Queue. + * The current state of the queue. */ readonly state?: string; } /** * This data source provides the list of Queues in Oracle Cloud Infrastructure Queue service. * - * Returns a list of Queues. + * Returns a list of queues. * * ## Example Usage * @@ -115,7 +115,7 @@ export function getQueuesOutput(args?: GetQueuesOutputArgs, opts?: pulumi.Invoke */ export interface GetQueuesOutputArgs { /** - * The ID of the compartment in which to list resources. + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. */ compartmentId?: pulumi.Input; /** @@ -124,7 +124,7 @@ export interface GetQueuesOutputArgs { displayName?: pulumi.Input; filters?: pulumi.Input[]>; /** - * unique Queue identifier + * The unique queue identifier. */ id?: pulumi.Input; /** diff --git a/sdk/nodejs/queue/queue.ts b/sdk/nodejs/queue/queue.ts index 17917f7f2b..f74549c56e 100644 --- a/sdk/nodejs/queue/queue.ts +++ b/sdk/nodejs/queue/queue.ts @@ -7,7 +7,7 @@ import * as utilities from "../utilities"; /** * This resource provides the Queue resource in Oracle Cloud Infrastructure Queue service. * - * Creates a new Queue. + * Creates a new queue. * * ## Example Usage * @@ -18,6 +18,7 @@ import * as utilities from "../utilities"; * const testQueue = new oci.queue.Queue("testQueue", { * compartmentId: _var.compartment_id, * displayName: _var.queue_display_name, + * channelConsumptionLimit: _var.queue_channel_consumption_limit, * customEncryptionKeyId: oci_kms_key.test_key.id, * deadLetterQueueDeliveryCount: _var.queue_dead_letter_queue_delivery_count, * definedTags: { @@ -69,11 +70,15 @@ export class Queue extends pulumi.CustomResource { } /** - * (Updatable) Compartment Identifier + * (Updatable) The percentage of allocated queue resources that can be consumed by a single channel. For example, if a queue has a storage limit of 2Gb, and a single channel consumption limit is 0.1 (10%), that means data size of a single channel can't exceed 200Mb. Consumption limit of 100% (default) means that a single channel can consume up-to all allocated queue's resources. + */ + public readonly channelConsumptionLimit!: pulumi.Output; + /** + * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the queue. */ public readonly compartmentId!: pulumi.Output; /** - * (Updatable) Id of the custom master encryption key which will be used to encrypt messages content + * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the custom encryption key to be used to encrypt messages content. */ public readonly customEncryptionKeyId!: pulumi.Output; /** @@ -85,7 +90,7 @@ export class Queue extends pulumi.CustomResource { */ public readonly definedTags!: pulumi.Output<{[key: string]: any}>; /** - * (Updatable) Queue Identifier + * (Updatable) The user-friendly name of the queue. */ public readonly displayName!: pulumi.Output; /** @@ -93,7 +98,7 @@ export class Queue extends pulumi.CustomResource { */ public readonly freeformTags!: pulumi.Output<{[key: string]: any}>; /** - * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. + * Any additional details about the current state of the queue. */ public /*out*/ readonly lifecycleDetails!: pulumi.Output; /** @@ -103,11 +108,11 @@ export class Queue extends pulumi.CustomResource { public readonly purgeQueue!: pulumi.Output; public readonly purgeType!: pulumi.Output; /** - * The retention period of the messages in the queue, in seconds. + * The retention period of messages in the queue, in seconds. */ public readonly retentionInSeconds!: pulumi.Output; /** - * The current state of the Queue. + * The current state of the queue. */ public /*out*/ readonly state!: pulumi.Output; /** @@ -115,11 +120,11 @@ export class Queue extends pulumi.CustomResource { */ public /*out*/ readonly systemTags!: pulumi.Output<{[key: string]: any}>; /** - * The time the the Queue was created. An RFC3339 formatted datetime string + * The time that the queue was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` */ public /*out*/ readonly timeCreated!: pulumi.Output; /** - * The time the Queue was updated. An RFC3339 formatted datetime string + * The time that the queue was updated, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` */ public /*out*/ readonly timeUpdated!: pulumi.Output; /** @@ -127,7 +132,7 @@ export class Queue extends pulumi.CustomResource { */ public readonly timeoutInSeconds!: pulumi.Output; /** - * (Updatable) The default visibility of the messages consumed from the queue. + * (Updatable) The default visibility timeout of the messages consumed from the queue, in seconds. */ public readonly visibilityInSeconds!: pulumi.Output; @@ -144,6 +149,7 @@ export class Queue extends pulumi.CustomResource { opts = opts || {}; if (opts.id) { const state = argsOrState as QueueState | undefined; + resourceInputs["channelConsumptionLimit"] = state ? state.channelConsumptionLimit : undefined; resourceInputs["compartmentId"] = state ? state.compartmentId : undefined; resourceInputs["customEncryptionKeyId"] = state ? state.customEncryptionKeyId : undefined; resourceInputs["deadLetterQueueDeliveryCount"] = state ? state.deadLetterQueueDeliveryCount : undefined; @@ -169,6 +175,7 @@ export class Queue extends pulumi.CustomResource { if ((!args || args.displayName === undefined) && !opts.urn) { throw new Error("Missing required property 'displayName'"); } + resourceInputs["channelConsumptionLimit"] = args ? args.channelConsumptionLimit : undefined; resourceInputs["compartmentId"] = args ? args.compartmentId : undefined; resourceInputs["customEncryptionKeyId"] = args ? args.customEncryptionKeyId : undefined; resourceInputs["deadLetterQueueDeliveryCount"] = args ? args.deadLetterQueueDeliveryCount : undefined; @@ -197,11 +204,15 @@ export class Queue extends pulumi.CustomResource { */ export interface QueueState { /** - * (Updatable) Compartment Identifier + * (Updatable) The percentage of allocated queue resources that can be consumed by a single channel. For example, if a queue has a storage limit of 2Gb, and a single channel consumption limit is 0.1 (10%), that means data size of a single channel can't exceed 200Mb. Consumption limit of 100% (default) means that a single channel can consume up-to all allocated queue's resources. + */ + channelConsumptionLimit?: pulumi.Input; + /** + * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the queue. */ compartmentId?: pulumi.Input; /** - * (Updatable) Id of the custom master encryption key which will be used to encrypt messages content + * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the custom encryption key to be used to encrypt messages content. */ customEncryptionKeyId?: pulumi.Input; /** @@ -213,7 +224,7 @@ export interface QueueState { */ definedTags?: pulumi.Input<{[key: string]: any}>; /** - * (Updatable) Queue Identifier + * (Updatable) The user-friendly name of the queue. */ displayName?: pulumi.Input; /** @@ -221,7 +232,7 @@ export interface QueueState { */ freeformTags?: pulumi.Input<{[key: string]: any}>; /** - * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. + * Any additional details about the current state of the queue. */ lifecycleDetails?: pulumi.Input; /** @@ -231,11 +242,11 @@ export interface QueueState { purgeQueue?: pulumi.Input; purgeType?: pulumi.Input; /** - * The retention period of the messages in the queue, in seconds. + * The retention period of messages in the queue, in seconds. */ retentionInSeconds?: pulumi.Input; /** - * The current state of the Queue. + * The current state of the queue. */ state?: pulumi.Input; /** @@ -243,11 +254,11 @@ export interface QueueState { */ systemTags?: pulumi.Input<{[key: string]: any}>; /** - * The time the the Queue was created. An RFC3339 formatted datetime string + * The time that the queue was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` */ timeCreated?: pulumi.Input; /** - * The time the Queue was updated. An RFC3339 formatted datetime string + * The time that the queue was updated, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` */ timeUpdated?: pulumi.Input; /** @@ -255,7 +266,7 @@ export interface QueueState { */ timeoutInSeconds?: pulumi.Input; /** - * (Updatable) The default visibility of the messages consumed from the queue. + * (Updatable) The default visibility timeout of the messages consumed from the queue, in seconds. */ visibilityInSeconds?: pulumi.Input; } @@ -265,11 +276,15 @@ export interface QueueState { */ export interface QueueArgs { /** - * (Updatable) Compartment Identifier + * (Updatable) The percentage of allocated queue resources that can be consumed by a single channel. For example, if a queue has a storage limit of 2Gb, and a single channel consumption limit is 0.1 (10%), that means data size of a single channel can't exceed 200Mb. Consumption limit of 100% (default) means that a single channel can consume up-to all allocated queue's resources. + */ + channelConsumptionLimit?: pulumi.Input; + /** + * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the queue. */ compartmentId: pulumi.Input; /** - * (Updatable) Id of the custom master encryption key which will be used to encrypt messages content + * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the custom encryption key to be used to encrypt messages content. */ customEncryptionKeyId?: pulumi.Input; /** @@ -281,7 +296,7 @@ export interface QueueArgs { */ definedTags?: pulumi.Input<{[key: string]: any}>; /** - * (Updatable) Queue Identifier + * (Updatable) The user-friendly name of the queue. */ displayName: pulumi.Input; /** @@ -291,7 +306,7 @@ export interface QueueArgs { purgeQueue?: pulumi.Input; purgeType?: pulumi.Input; /** - * The retention period of the messages in the queue, in seconds. + * The retention period of messages in the queue, in seconds. */ retentionInSeconds?: pulumi.Input; /** @@ -299,7 +314,7 @@ export interface QueueArgs { */ timeoutInSeconds?: pulumi.Input; /** - * (Updatable) The default visibility of the messages consumed from the queue. + * (Updatable) The default visibility timeout of the messages consumed from the queue, in seconds. */ visibilityInSeconds?: pulumi.Input; } diff --git a/sdk/nodejs/tsconfig.json b/sdk/nodejs/tsconfig.json index a916fb8f7a..5e0fbc314e 100644 --- a/sdk/nodejs/tsconfig.json +++ b/sdk/nodejs/tsconfig.json @@ -293,6 +293,13 @@ "cloudmigrations/migrationPlan.ts", "cloudmigrations/replicationSchedule.ts", "cloudmigrations/targetAsset.ts", + "computecloud/atCustomerCccInfrastructure.ts", + "computecloud/atCustomerCccUpgradeSchedule.ts", + "computecloud/getAtCustomerCccInfrastructure.ts", + "computecloud/getAtCustomerCccInfrastructures.ts", + "computecloud/getAtCustomerCccUpgradeSchedule.ts", + "computecloud/getAtCustomerCccUpgradeSchedules.ts", + "computecloud/index.ts", "computeinstanceagent/getInstanceAgentPlugin.ts", "computeinstanceagent/getInstanceAgentPlugins.ts", "computeinstanceagent/getInstanceAvailablePlugin.ts", @@ -1054,6 +1061,8 @@ "datascience/getPipelineRun.ts", "datascience/getPipelineRuns.ts", "datascience/getPipelines.ts", + "datascience/getPrivateEndpoint.ts", + "datascience/getPrivateEndpoints.ts", "datascience/getProject.ts", "datascience/getProjects.ts", "datascience/index.ts", @@ -1068,6 +1077,7 @@ "datascience/notebookSession.ts", "datascience/pipeline.ts", "datascience/pipelineRun.ts", + "datascience/privateEndpoint.ts", "datascience/project.ts", "devops/buildPipeline.ts", "devops/buildPipelineStage.ts", @@ -1482,9 +1492,12 @@ "jms/getListJreUsage.ts", "jms/getSummarizeResourceInventory.ts", "jms/index.ts", + "kms/ekmsPrivateEndpoint.ts", "kms/encryptedData.ts", "kms/generatedKey.ts", "kms/getDecryptedData.ts", + "kms/getEkmsPrivateEndpoint.ts", + "kms/getEkmsPrivateEndpoints.ts", "kms/getEncryptedData.ts", "kms/getKey.ts", "kms/getKeyVersion.ts", diff --git a/sdk/nodejs/types/input.ts b/sdk/nodejs/types/input.ts index 626555ebaa..55a5c64c5a 100644 --- a/sdk/nodejs/types/input.ts +++ b/sdk/nodejs/types/input.ts @@ -491,9 +491,6 @@ export namespace AiDocument { } export interface ModelComponentModel { - /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of active custom Key Value model that need to be composed. - */ modelId?: pulumi.Input; } @@ -4187,9 +4184,6 @@ export namespace Autoscaling { * The capacity requirements of the autoscaling policy. */ capacity?: pulumi.Input; - /** - * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. - */ displayName?: pulumi.Input; /** * An execution schedule for an autoscaling policy. @@ -4278,9 +4272,6 @@ export namespace Autoscaling { * The action to take when autoscaling is triggered. */ action?: pulumi.Input; - /** - * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. - */ displayName: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource that is managed by the autoscaling configuration. @@ -9574,6 +9565,214 @@ export namespace CloudMigrations { } } +export namespace ComputeCloud { + export interface AtCustomerCccInfrastructureInfrastructureInventory { + /** + * The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for capacity storage. + */ + capacityStorageTrayCount?: pulumi.Input; + /** + * The number of compute nodes that are available and usable on the Compute Cloud@Customer infrastructure rack. There is no distinction of compute node type in this information. + */ + computeNodeCount?: pulumi.Input; + /** + * The number of management nodes that are available and in active use on the Compute Cloud@Customer infrastructure rack. + */ + managementNodeCount?: pulumi.Input; + /** + * The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for performance storage. + */ + performanceStorageTrayCount?: pulumi.Input; + /** + * The serial number of the Compute Cloud@Customer infrastructure rack. + */ + serialNumber?: pulumi.Input; + } + + export interface AtCustomerCccInfrastructureInfrastructureNetworkConfiguration { + /** + * The domain name system (DNS) addresses that the Compute Cloud@Customer infrastructure uses for the data center network. + */ + dnsIps?: pulumi.Input[]>; + /** + * Dynamic routing information for the Compute Cloud@Customer infrastructure. + */ + infrastructureRoutingDynamics?: pulumi.Input[]>; + /** + * Static routing information for a rack. + */ + infrastructureRoutingStatics?: pulumi.Input[]>; + /** + * Information about the management nodes that are provisioned in the Compute Cloud@Customer infrastructure. + */ + managementNodes?: pulumi.Input[]>; + /** + * The hostname corresponding to the virtual IP (VIP) address of the management nodes. + */ + mgmtVipHostname?: pulumi.Input; + /** + * The IP address used as the virtual IP (VIP) address of the management nodes. + */ + mgmtVipIp?: pulumi.Input; + /** + * Addresses of the network spine switches. + */ + spineIps?: pulumi.Input[]>; + /** + * The spine switch public virtual IP (VIP). Traffic routed to the Compute Cloud@Customer infrastructure and and virtual cloud networks (VCNs) should have this address as next hop. + */ + spineVip?: pulumi.Input; + /** + * Domain name to be used as the base domain for the internal network and by public facing services. + */ + uplinkDomain?: pulumi.Input; + /** + * Uplink gateway in the datacenter network that the Compute Cloud@Customer connects to. + */ + uplinkGatewayIp?: pulumi.Input; + /** + * Netmask of the subnet that the Compute Cloud@Customer infrastructure is connected to. + */ + uplinkNetmask?: pulumi.Input; + /** + * Number of uplink ports per spine switch. Connectivity is identical on both spine switches. For example, if input is two 100 gigabyte ports; then port-1 and port-2 on both spines will be configured. + */ + uplinkPortCount?: pulumi.Input; + /** + * The port forward error correction (FEC) setting for the uplink port on the Compute Cloud@Customer infrastructure. + */ + uplinkPortForwardErrorCorrection?: pulumi.Input; + /** + * Uplink port speed defined in gigabytes per second. All uplink ports must have identical speed. + */ + uplinkPortSpeedInGbps?: pulumi.Input; + /** + * The virtual local area network (VLAN) maximum transmission unit (MTU) size for the uplink ports. + */ + uplinkVlanMtu?: pulumi.Input; + } + + export interface AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic { + /** + * The topology in use for the Border Gateway Protocol (BGP) configuration. + */ + bgpTopology?: pulumi.Input; + /** + * The Oracle Autonomous System Number (ASN) to control routing and exchange information within the dynamic routing configuration. + */ + oracleAsn?: pulumi.Input; + /** + * The list of peer devices in the dynamic routing configuration. + */ + peerInformations?: pulumi.Input[]>; + } + + export interface AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation { + /** + * The Autonomous System Number (ASN) of the peer network. + */ + asn?: pulumi.Input; + /** + * Address of the management node. + */ + ip?: pulumi.Input; + } + + export interface AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic { + /** + * The uplink Hot Standby Router Protocol (HSRP) group value for the switch in the Compute Cloud@Customer infrastructure. + */ + uplinkHsrpGroup?: pulumi.Input; + /** + * The virtual local area network (VLAN) identifier used to connect to the uplink (only access mode is supported). + */ + uplinkVlan?: pulumi.Input; + } + + export interface AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode { + /** + * Hostname for interface to the management node. + */ + hostname?: pulumi.Input; + /** + * Address of the management node. + */ + ip?: pulumi.Input; + } + + export interface AtCustomerCccInfrastructureUpgradeInformation { + /** + * The current version of software installed on the Compute Cloud@Customer infrastructure. + */ + currentVersion?: pulumi.Input; + /** + * Indication that the Compute Cloud@Customer infrastructure is in the process of an upgrade or an upgrade activity (such as preloading upgrade images). + */ + isActive?: pulumi.Input; + /** + * Expected duration of Compute Cloud@Customer infrastructure scheduled upgrade. The actual upgrade time might be longer or shorter than this duration depending on rack activity, this is only an estimate. + */ + scheduledUpgradeDuration?: pulumi.Input; + /** + * Compute Cloud@Customer infrastructure next upgrade time. The rack might have performance impacts during this time. + */ + timeOfScheduledUpgrade?: pulumi.Input; + } + + export interface AtCustomerCccUpgradeScheduleEvent { + /** + * (Updatable) A description of the Compute Cloud@Customer upgrade schedule time block. + */ + description: pulumi.Input; + /** + * Generated name associated with the event. + */ + name?: pulumi.Input; + /** + * (Updatable) The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations. + */ + scheduleEventDuration: pulumi.Input; + /** + * (Updatable) Frequency of recurrence of schedule block. When this field is not included, the event is assumed to be a one time occurrence. The frequency field is strictly parsed and must conform to RFC-5545 formatting for recurrences. + */ + scheduleEventRecurrences?: pulumi.Input; + /** + * (Updatable) The date and time when the Compute Cloud@Customer upgrade schedule event starts, inclusive. An RFC3339 formatted UTC datetime string. For an event with recurrences, this is the date that a recurrence can start being applied. + */ + timeStart: pulumi.Input; + } + + export interface GetAtCustomerCccInfrastructuresFilter { + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetAtCustomerCccInfrastructuresFilterArgs { + name: pulumi.Input; + regex?: pulumi.Input; + values: pulumi.Input[]>; + } + + export interface GetAtCustomerCccUpgradeSchedulesFilter { + /** + * Generated name associated with the event. + */ + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetAtCustomerCccUpgradeSchedulesFilterArgs { + /** + * Generated name associated with the event. + */ + name: pulumi.Input; + regex?: pulumi.Input; + values: pulumi.Input[]>; + } +} + export namespace ComputeInstanceAgent { export interface GetInstanceAgentPluginsFilter { /** @@ -18211,6 +18410,18 @@ export namespace DataScience { values: pulumi.Input[]>; } + export interface GetPrivateEndpointsFilter { + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetPrivateEndpointsFilterArgs { + name: pulumi.Input; + regex?: pulumi.Input; + values: pulumi.Input[]>; + } + export interface GetProjectsFilter { name: string; regex?: boolean; @@ -18517,7 +18728,7 @@ export namespace DataScience { export interface ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetails { /** - * (Updatable) The network bandwidth for the model. + * (Updatable) The minimum network bandwidth for the model deployment. */ bandwidthMbps?: pulumi.Input; /** @@ -18576,6 +18787,10 @@ export namespace DataScience { * (Updatable) Details for the notebook session shape configuration. */ notebookSessionShapeConfigDetails?: pulumi.Input; + /** + * (Updatable) The OCID of a Data Science private endpoint. + */ + privateEndpointId?: pulumi.Input; /** * (Updatable) The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint. */ @@ -18606,6 +18821,10 @@ export namespace DataScience { * (Updatable) Details for the notebook session shape configuration. */ notebookSessionShapeConfigDetails?: pulumi.Input; + /** + * (Updatable) The OCID of a Data Science private endpoint. + */ + privateEndpointId?: pulumi.Input; /** * (Updatable) The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint. */ @@ -19343,6 +19562,14 @@ export namespace Database { disasterRecoveryType?: pulumi.Input; } + export interface AutonomousDatabaseResourcePoolSummary { + /** + * Indicates if the long-term backup schedule should be deleted. The default value is `FALSE`. + */ + isDisabled?: pulumi.Input; + poolSize?: pulumi.Input; + } + export interface AutonomousDatabaseScheduledOperation { /** * (Updatable) Day of the week. @@ -24635,6 +24862,32 @@ export namespace DatabaseMigration { namespace: pulumi.Input; } + export interface MigrationDataTransferMediumDetailsV2 { + accessKeyId?: pulumi.Input; + /** + * (Updatable) Name of directory object in database + */ + name?: pulumi.Input; + objectStorageBucket?: pulumi.Input; + region?: pulumi.Input; + secretAccessKey?: pulumi.Input; + /** + * (Updatable) Migration type. + */ + type: pulumi.Input; + } + + export interface MigrationDataTransferMediumDetailsV2ObjectStorageBucket { + /** + * (Updatable) Bucket name. + */ + bucket?: pulumi.Input; + /** + * (Updatable) Namespace name of the object store bucket. + */ + namespace?: pulumi.Input; + } + export interface MigrationDatapumpSettings { /** * (Updatable) Optional parameters for Data Pump Export and Import. Refer to [Configuring Optional Initial Load Advanced Settings](https://docs.us.oracle.com/en/cloud/paas/database-migration/dmsus/working-migration-resources.html#GUID-24BD3054-FDF8-48FF-8492-636C1D4B71ED) @@ -24723,6 +24976,7 @@ export namespace DatabaseMigration { } export interface MigrationDumpTransferDetails { + sharedStorageMountTargetId?: pulumi.Input; /** * (Updatable) Optional additional properties for dump transfer in source or target host. Default kind is CURL */ @@ -50181,7 +50435,7 @@ export namespace Jms { export namespace Kms { export interface GeneratedKeyKeyShape { /** - * The algorithm used by a key's key versions to encrypt or decrypt. + * The algorithm used by a key's key versions to encrypt or decrypt. Only AES algorithm is supported for `External` keys. */ algorithm: pulumi.Input; /** @@ -50197,6 +50451,18 @@ export namespace Kms { length: pulumi.Input; } + export interface GetEkmsPrivateEndpointsFilter { + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetEkmsPrivateEndpointsFilterArgs { + name: pulumi.Input; + regex?: pulumi.Input; + values: pulumi.Input[]>; + } + export interface GetKeyVersionsFilter { name: string; regex?: boolean; @@ -50245,9 +50511,27 @@ export namespace Kms { values: pulumi.Input[]>; } + export interface KeyExternalKeyReference { + /** + * ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM + */ + externalKeyId: pulumi.Input; + } + + export interface KeyExternalKeyReferenceDetail { + /** + * ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM + */ + externalKeyId?: pulumi.Input; + /** + * Key version ID associated with the external key. + */ + externalKeyVersionId?: pulumi.Input; + } + export interface KeyKeyShape { /** - * The algorithm used by a key's key versions to encrypt or decrypt. + * The algorithm used by a key's key versions to encrypt or decrypt. Only AES algorithm is supported for `External` keys. */ algorithm: pulumi.Input; /** @@ -50308,6 +50592,17 @@ export namespace Kms { uri?: pulumi.Input; } + export interface KeyVersionExternalKeyReferenceDetail { + /** + * ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. + */ + externalKeyId?: pulumi.Input; + /** + * Key version ID associated with the external key. + */ + externalKeyVersionId?: pulumi.Input; + } + export interface KeyVersionReplicaDetail { /** * ReplicationId associated with a key version operation @@ -50315,6 +50610,66 @@ export namespace Kms { replicationId?: pulumi.Input; } + export interface VaultExternalKeyManagerMetadata { + /** + * URI of the vault on external key manager. + */ + externalVaultEndpointUrl: pulumi.Input; + /** + * Authorization details required to get access token from IDP for accessing protected resources. + */ + oauthMetadata: pulumi.Input; + /** + * OCID of private endpoint created by customer. + */ + privateEndpointId: pulumi.Input; + } + + export interface VaultExternalKeyManagerMetadataOauthMetadata { + /** + * ID of the client app created in IDP. + */ + clientAppId: pulumi.Input; + /** + * Secret of the client app created in IDP. + */ + clientAppSecret: pulumi.Input; + /** + * Base URL of the IDCS account where confidential client app is created. + */ + idcsAccountNameUrl: pulumi.Input; + } + + export interface VaultExternalKeyManagerMetadataSummary { + /** + * URI of the vault on external key manager. + */ + externalVaultEndpointUrl?: pulumi.Input; + /** + * Summary about authorization to be returned to the customer as a response. + */ + oauthMetadataSummaries?: pulumi.Input[]>; + /** + * OCID of private endpoint created by customer. + */ + privateEndpointId?: pulumi.Input; + /** + * Vendor of the external key manager. + */ + vendor?: pulumi.Input; + } + + export interface VaultExternalKeyManagerMetadataSummaryOauthMetadataSummary { + /** + * ID of the client app created in IDP. + */ + clientAppId?: pulumi.Input; + /** + * Base URL of the IDCS account where confidential client app is created. + */ + idcsAccountNameUrl?: pulumi.Input; + } + export interface VaultReplicaDetail { /** * ReplicationId associated with a vault operation @@ -51052,16 +51407,10 @@ export namespace LoadBalancer { } export interface LoadBalancerIpAddressDetailReservedIp { - /** - * Ocid of the pre-created public IP. That should be attahed to this load balancer. - */ id?: pulumi.Input; } export interface LoadBalancerReservedIp { - /** - * Ocid of the pre-created public IP. That should be attahed to this load balancer. - */ id?: pulumi.Input; } @@ -54425,6 +54774,25 @@ export namespace Mysql { */ sourceUrl?: pulumi.Input; } + + export interface ReplicaReplicaOverrides { + /** + * (Updatable) The OCID of the Configuration to be used by the read replica. + */ + configurationId?: pulumi.Input; + /** + * (Updatable) The MySQL version to be used by the read replica. + */ + mysqlVersion?: pulumi.Input; + /** + * (Updatable) The shape to be used by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. + * + * + * ** 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 + */ + shapeName?: pulumi.Input; + } } export namespace NetworkFirewall { diff --git a/sdk/nodejs/types/output.ts b/sdk/nodejs/types/output.ts index 381d394a91..bf101eb8ce 100644 --- a/sdk/nodejs/types/output.ts +++ b/sdk/nodejs/types/output.ts @@ -2265,9 +2265,6 @@ export namespace AiDocument { } export interface ModelComponentModel { - /** - * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of active custom Key Value model that need to be composed. - */ modelId: string; } @@ -15073,9 +15070,6 @@ export namespace Autoscaling { * The capacity requirements of the autoscaling policy. */ capacity: outputs.Autoscaling.AutoScalingConfigurationPolicyCapacity; - /** - * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. - */ displayName: string; /** * An execution schedule for an autoscaling policy. @@ -15164,9 +15158,6 @@ export namespace Autoscaling { * The action to take when autoscaling is triggered. */ action: outputs.Autoscaling.AutoScalingConfigurationPolicyRuleAction; - /** - * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. - */ displayName: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource that is managed by the autoscaling configuration. @@ -31837,6 +31828,702 @@ export namespace CloudMigrations { } +export namespace ComputeCloud { + export interface AtCustomerCccInfrastructureInfrastructureInventory { + /** + * The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for capacity storage. + */ + capacityStorageTrayCount: number; + /** + * The number of compute nodes that are available and usable on the Compute Cloud@Customer infrastructure rack. There is no distinction of compute node type in this information. + */ + computeNodeCount: number; + /** + * The number of management nodes that are available and in active use on the Compute Cloud@Customer infrastructure rack. + */ + managementNodeCount: number; + /** + * The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for performance storage. + */ + performanceStorageTrayCount: number; + /** + * The serial number of the Compute Cloud@Customer infrastructure rack. + */ + serialNumber: string; + } + + export interface AtCustomerCccInfrastructureInfrastructureNetworkConfiguration { + /** + * The domain name system (DNS) addresses that the Compute Cloud@Customer infrastructure uses for the data center network. + */ + dnsIps: string[]; + /** + * Dynamic routing information for the Compute Cloud@Customer infrastructure. + */ + infrastructureRoutingDynamics: outputs.ComputeCloud.AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic[]; + /** + * Static routing information for a rack. + */ + infrastructureRoutingStatics: outputs.ComputeCloud.AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic[]; + /** + * Information about the management nodes that are provisioned in the Compute Cloud@Customer infrastructure. + */ + managementNodes: outputs.ComputeCloud.AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode[]; + /** + * The hostname corresponding to the virtual IP (VIP) address of the management nodes. + */ + mgmtVipHostname: string; + /** + * The IP address used as the virtual IP (VIP) address of the management nodes. + */ + mgmtVipIp: string; + /** + * Addresses of the network spine switches. + */ + spineIps: string[]; + /** + * The spine switch public virtual IP (VIP). Traffic routed to the Compute Cloud@Customer infrastructure and and virtual cloud networks (VCNs) should have this address as next hop. + */ + spineVip: string; + /** + * Domain name to be used as the base domain for the internal network and by public facing services. + */ + uplinkDomain: string; + /** + * Uplink gateway in the datacenter network that the Compute Cloud@Customer connects to. + */ + uplinkGatewayIp: string; + /** + * Netmask of the subnet that the Compute Cloud@Customer infrastructure is connected to. + */ + uplinkNetmask: string; + /** + * Number of uplink ports per spine switch. Connectivity is identical on both spine switches. For example, if input is two 100 gigabyte ports; then port-1 and port-2 on both spines will be configured. + */ + uplinkPortCount: number; + /** + * The port forward error correction (FEC) setting for the uplink port on the Compute Cloud@Customer infrastructure. + */ + uplinkPortForwardErrorCorrection: string; + /** + * Uplink port speed defined in gigabytes per second. All uplink ports must have identical speed. + */ + uplinkPortSpeedInGbps: number; + /** + * The virtual local area network (VLAN) maximum transmission unit (MTU) size for the uplink ports. + */ + uplinkVlanMtu: number; + } + + export interface AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic { + /** + * The topology in use for the Border Gateway Protocol (BGP) configuration. + */ + bgpTopology: string; + /** + * The Oracle Autonomous System Number (ASN) to control routing and exchange information within the dynamic routing configuration. + */ + oracleAsn: number; + /** + * The list of peer devices in the dynamic routing configuration. + */ + peerInformations: outputs.ComputeCloud.AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation[]; + } + + export interface AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation { + /** + * The Autonomous System Number (ASN) of the peer network. + */ + asn: number; + /** + * Address of the management node. + */ + ip: string; + } + + export interface AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic { + /** + * The uplink Hot Standby Router Protocol (HSRP) group value for the switch in the Compute Cloud@Customer infrastructure. + */ + uplinkHsrpGroup: number; + /** + * The virtual local area network (VLAN) identifier used to connect to the uplink (only access mode is supported). + */ + uplinkVlan: number; + } + + export interface AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode { + /** + * Hostname for interface to the management node. + */ + hostname: string; + /** + * Address of the management node. + */ + ip: string; + } + + export interface AtCustomerCccInfrastructureUpgradeInformation { + /** + * The current version of software installed on the Compute Cloud@Customer infrastructure. + */ + currentVersion: string; + /** + * Indication that the Compute Cloud@Customer infrastructure is in the process of an upgrade or an upgrade activity (such as preloading upgrade images). + */ + isActive: boolean; + /** + * Expected duration of Compute Cloud@Customer infrastructure scheduled upgrade. The actual upgrade time might be longer or shorter than this duration depending on rack activity, this is only an estimate. + */ + scheduledUpgradeDuration: string; + /** + * Compute Cloud@Customer infrastructure next upgrade time. The rack might have performance impacts during this time. + */ + timeOfScheduledUpgrade: string; + } + + export interface AtCustomerCccUpgradeScheduleEvent { + /** + * (Updatable) A description of the Compute Cloud@Customer upgrade schedule time block. + */ + description: string; + /** + * Generated name associated with the event. + */ + name: string; + /** + * (Updatable) The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations. + */ + scheduleEventDuration: string; + /** + * (Updatable) Frequency of recurrence of schedule block. When this field is not included, the event is assumed to be a one time occurrence. The frequency field is strictly parsed and must conform to RFC-5545 formatting for recurrences. + */ + scheduleEventRecurrences: string; + /** + * (Updatable) The date and time when the Compute Cloud@Customer upgrade schedule event starts, inclusive. An RFC3339 formatted UTC datetime string. For an event with recurrences, this is the date that a recurrence can start being applied. + */ + timeStart: string; + } + + export interface GetAtCustomerCccInfrastructureInfrastructureInventory { + /** + * The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for capacity storage. + */ + capacityStorageTrayCount: number; + /** + * The number of compute nodes that are available and usable on the Compute Cloud@Customer infrastructure rack. There is no distinction of compute node type in this information. + */ + computeNodeCount: number; + /** + * The number of management nodes that are available and in active use on the Compute Cloud@Customer infrastructure rack. + */ + managementNodeCount: number; + /** + * The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for performance storage. + */ + performanceStorageTrayCount: number; + /** + * The serial number of the Compute Cloud@Customer infrastructure rack. + */ + serialNumber: string; + } + + export interface GetAtCustomerCccInfrastructureInfrastructureNetworkConfiguration { + /** + * The domain name system (DNS) addresses that the Compute Cloud@Customer infrastructure uses for the data center network. + */ + dnsIps: string[]; + /** + * Dynamic routing information for the Compute Cloud@Customer infrastructure. + */ + infrastructureRoutingDynamics: outputs.ComputeCloud.GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic[]; + /** + * Static routing information for a rack. + */ + infrastructureRoutingStatics: outputs.ComputeCloud.GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic[]; + /** + * Information about the management nodes that are provisioned in the Compute Cloud@Customer infrastructure. + */ + managementNodes: outputs.ComputeCloud.GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode[]; + /** + * The hostname corresponding to the virtual IP (VIP) address of the management nodes. + */ + mgmtVipHostname: string; + /** + * The IP address used as the virtual IP (VIP) address of the management nodes. + */ + mgmtVipIp: string; + /** + * Addresses of the network spine switches. + */ + spineIps: string[]; + /** + * The spine switch public virtual IP (VIP). Traffic routed to the Compute Cloud@Customer infrastructure and and virtual cloud networks (VCNs) should have this address as next hop. + */ + spineVip: string; + /** + * Domain name to be used as the base domain for the internal network and by public facing services. + */ + uplinkDomain: string; + /** + * Uplink gateway in the datacenter network that the Compute Cloud@Customer connects to. + */ + uplinkGatewayIp: string; + /** + * Netmask of the subnet that the Compute Cloud@Customer infrastructure is connected to. + */ + uplinkNetmask: string; + /** + * Number of uplink ports per spine switch. Connectivity is identical on both spine switches. For example, if input is two 100 gigabyte ports; then port-1 and port-2 on both spines will be configured. + */ + uplinkPortCount: number; + /** + * The port forward error correction (FEC) setting for the uplink port on the Compute Cloud@Customer infrastructure. + */ + uplinkPortForwardErrorCorrection: string; + /** + * Uplink port speed defined in gigabytes per second. All uplink ports must have identical speed. + */ + uplinkPortSpeedInGbps: number; + /** + * The virtual local area network (VLAN) maximum transmission unit (MTU) size for the uplink ports. + */ + uplinkVlanMtu: number; + } + + export interface GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic { + /** + * The topology in use for the Border Gateway Protocol (BGP) configuration. + */ + bgpTopology: string; + /** + * The Oracle Autonomous System Number (ASN) to control routing and exchange information within the dynamic routing configuration. + */ + oracleAsn: number; + /** + * The list of peer devices in the dynamic routing configuration. + */ + peerInformations: outputs.ComputeCloud.GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation[]; + } + + export interface GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation { + /** + * The Autonomous System Number (ASN) of the peer network. + */ + asn: number; + /** + * Address of the management node. + */ + ip: string; + } + + export interface GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic { + /** + * The uplink Hot Standby Router Protocol (HSRP) group value for the switch in the Compute Cloud@Customer infrastructure. + */ + uplinkHsrpGroup: number; + /** + * The virtual local area network (VLAN) identifier used to connect to the uplink (only access mode is supported). + */ + uplinkVlan: number; + } + + export interface GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode { + /** + * Hostname for interface to the management node. + */ + hostname: string; + /** + * Address of the management node. + */ + ip: string; + } + + export interface GetAtCustomerCccInfrastructureUpgradeInformation { + /** + * The current version of software installed on the Compute Cloud@Customer infrastructure. + */ + currentVersion: string; + /** + * Indication that the Compute Cloud@Customer infrastructure is in the process of an upgrade or an upgrade activity (such as preloading upgrade images). + */ + isActive: boolean; + /** + * Expected duration of Compute Cloud@Customer infrastructure scheduled upgrade. The actual upgrade time might be longer or shorter than this duration depending on rack activity, this is only an estimate. + */ + scheduledUpgradeDuration: string; + /** + * Compute Cloud@Customer infrastructure next upgrade time. The rack might have performance impacts during this time. + */ + timeOfScheduledUpgrade: string; + } + + export interface GetAtCustomerCccInfrastructuresCccInfrastructureCollection { + items: outputs.ComputeCloud.GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItem[]; + } + + export interface GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItem { + /** + * Schedule used for upgrades. If no schedule is associated with the infrastructure, it can be updated at any time. + */ + cccUpgradeScheduleId: string; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + */ + compartmentId: string; + /** + * A message describing the current connection state in more detail. + */ + connectionDetails: string; + /** + * The current connection state of the infrastructure. A user can only update it from REQUEST to READY or from any state back to REJECT. The system automatically handles the REJECT to REQUEST, READY to CONNECTED, or CONNECTED to DISCONNECTED transitions. + */ + connectionState: string; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + */ + definedTags: {[key: string]: any}; + /** + * A mutable client-meaningful text description of the Compute Cloud@Customer infrastructure. Avoid entering confidential information. + */ + description: string; + /** + * A filter to return only resources that match the entire display name given. + */ + displayName: string; + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + */ + freeformTags: {[key: string]: any}; + /** + * The Compute Cloud@Customer infrastructure [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). This cannot be changed once created. + */ + id: string; + /** + * Inventory for a Compute Cloud@Customer infrastructure. This information cannot be updated and is from the infrastructure. The information will only be available after the connectionState is transitioned to CONNECTED. + */ + infrastructureInventories: outputs.ComputeCloud.GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventory[]; + /** + * Configuration information for the Compute Cloud@Customer infrastructure. This network configuration information cannot be updated and is retrieved from the data center. The information will only be available after the connectionState is transitioned to CONNECTED. + */ + infrastructureNetworkConfigurations: outputs.ComputeCloud.GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfiguration[]; + /** + * A message describing the current lifecycle state in more detail. For example, this can be used to provide actionable information for a resource that is in a Failed state. + */ + lifecycleDetails: string; + /** + * Fingerprint of a Compute Cloud@Customer infrastructure in a data center generated during the initial connection to this resource. The fingerprint should be verified by the administrator when changing the connectionState from REQUEST to READY. + */ + provisioningFingerprint: string; + /** + * Code that is required for service personnel to connect a Compute Cloud@Customer infrastructure in a data center to this resource. This code will only be available when the connectionState is REJECT (usually at create time of the Compute Cloud@Customer infrastructure). + */ + provisioningPin: string; + /** + * The Compute Cloud@Customer infrastructure short name. This cannot be changed once created. The short name is used to refer to the infrastructure in several contexts and is unique. + */ + shortName: string; + /** + * A filter used to return only resources that match the given lifecycleState. + */ + state: string; + /** + * [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the network subnet that is used to communicate with Compute Cloud@Customer infrastructure. + */ + subnetId: string; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + */ + systemTags: {[key: string]: any}; + /** + * Compute Cloud@Customer infrastructure creation date and time, using an RFC3339 formatted datetime string. + */ + timeCreated: string; + /** + * Compute Cloud@Customer infrastructure updated date and time, using an RFC3339 formatted datetime string. + */ + timeUpdated: string; + /** + * Upgrade information that relates to a Compute Cloud@Customer infrastructure. This information cannot be updated. + */ + upgradeInformations: outputs.ComputeCloud.GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformation[]; + } + + export interface GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventory { + /** + * The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for capacity storage. + */ + capacityStorageTrayCount: number; + /** + * The number of compute nodes that are available and usable on the Compute Cloud@Customer infrastructure rack. There is no distinction of compute node type in this information. + */ + computeNodeCount: number; + /** + * The number of management nodes that are available and in active use on the Compute Cloud@Customer infrastructure rack. + */ + managementNodeCount: number; + /** + * The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for performance storage. + */ + performanceStorageTrayCount: number; + /** + * The serial number of the Compute Cloud@Customer infrastructure rack. + */ + serialNumber: string; + } + + export interface GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfiguration { + /** + * The domain name system (DNS) addresses that the Compute Cloud@Customer infrastructure uses for the data center network. + */ + dnsIps: string[]; + /** + * Dynamic routing information for the Compute Cloud@Customer infrastructure. + */ + infrastructureRoutingDynamics: outputs.ComputeCloud.GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamic[]; + /** + * Static routing information for a rack. + */ + infrastructureRoutingStatics: outputs.ComputeCloud.GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStatic[]; + /** + * Information about the management nodes that are provisioned in the Compute Cloud@Customer infrastructure. + */ + managementNodes: outputs.ComputeCloud.GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNode[]; + /** + * The hostname corresponding to the virtual IP (VIP) address of the management nodes. + */ + mgmtVipHostname: string; + /** + * The IP address used as the virtual IP (VIP) address of the management nodes. + */ + mgmtVipIp: string; + /** + * Addresses of the network spine switches. + */ + spineIps: string[]; + /** + * The spine switch public virtual IP (VIP). Traffic routed to the Compute Cloud@Customer infrastructure and and virtual cloud networks (VCNs) should have this address as next hop. + */ + spineVip: string; + /** + * Domain name to be used as the base domain for the internal network and by public facing services. + */ + uplinkDomain: string; + /** + * Uplink gateway in the datacenter network that the Compute Cloud@Customer connects to. + */ + uplinkGatewayIp: string; + /** + * Netmask of the subnet that the Compute Cloud@Customer infrastructure is connected to. + */ + uplinkNetmask: string; + /** + * Number of uplink ports per spine switch. Connectivity is identical on both spine switches. For example, if input is two 100 gigabyte ports; then port-1 and port-2 on both spines will be configured. + */ + uplinkPortCount: number; + /** + * The port forward error correction (FEC) setting for the uplink port on the Compute Cloud@Customer infrastructure. + */ + uplinkPortForwardErrorCorrection: string; + /** + * Uplink port speed defined in gigabytes per second. All uplink ports must have identical speed. + */ + uplinkPortSpeedInGbps: number; + /** + * The virtual local area network (VLAN) maximum transmission unit (MTU) size for the uplink ports. + */ + uplinkVlanMtu: number; + } + + export interface GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamic { + /** + * The topology in use for the Border Gateway Protocol (BGP) configuration. + */ + bgpTopology: string; + /** + * The Oracle Autonomous System Number (ASN) to control routing and exchange information within the dynamic routing configuration. + */ + oracleAsn: number; + /** + * The list of peer devices in the dynamic routing configuration. + */ + peerInformations: outputs.ComputeCloud.GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation[]; + } + + export interface GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation { + /** + * The Autonomous System Number (ASN) of the peer network. + */ + asn: number; + /** + * Address of the management node. + */ + ip: string; + } + + export interface GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStatic { + /** + * The uplink Hot Standby Router Protocol (HSRP) group value for the switch in the Compute Cloud@Customer infrastructure. + */ + uplinkHsrpGroup: number; + /** + * The virtual local area network (VLAN) identifier used to connect to the uplink (only access mode is supported). + */ + uplinkVlan: number; + } + + export interface GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNode { + /** + * Hostname for interface to the management node. + */ + hostname: string; + /** + * Address of the management node. + */ + ip: string; + } + + export interface GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformation { + /** + * The current version of software installed on the Compute Cloud@Customer infrastructure. + */ + currentVersion: string; + /** + * Indication that the Compute Cloud@Customer infrastructure is in the process of an upgrade or an upgrade activity (such as preloading upgrade images). + */ + isActive: boolean; + /** + * Expected duration of Compute Cloud@Customer infrastructure scheduled upgrade. The actual upgrade time might be longer or shorter than this duration depending on rack activity, this is only an estimate. + */ + scheduledUpgradeDuration: string; + /** + * Compute Cloud@Customer infrastructure next upgrade time. The rack might have performance impacts during this time. + */ + timeOfScheduledUpgrade: string; + } + + export interface GetAtCustomerCccInfrastructuresFilter { + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetAtCustomerCccUpgradeScheduleEvent { + /** + * A description of the Compute Cloud@Customer upgrade schedule time block. + */ + description: string; + /** + * Generated name associated with the event. + */ + name: string; + /** + * The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations. + */ + scheduleEventDuration: string; + /** + * Frequency of recurrence of schedule block. When this field is not included, the event is assumed to be a one time occurrence. The frequency field is strictly parsed and must conform to RFC-5545 formatting for recurrences. + */ + scheduleEventRecurrences: string; + /** + * The date and time when the Compute Cloud@Customer upgrade schedule event starts, inclusive. An RFC3339 formatted UTC datetime string. For an event with recurrences, this is the date that a recurrence can start being applied. + */ + timeStart: string; + } + + export interface GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollection { + items: outputs.ComputeCloud.GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItem[]; + } + + export interface GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItem { + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + */ + compartmentId: string; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + */ + definedTags: {[key: string]: any}; + /** + * A description of the Compute Cloud@Customer upgrade schedule time block. + */ + description: string; + /** + * A filter to return only resources that match the entire display name given. + */ + displayName: string; + /** + * List of preferred times for Compute Cloud@Customer infrastructures associated with this schedule to be upgraded. + */ + events: outputs.ComputeCloud.GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEvent[]; + /** + * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + */ + freeformTags: {[key: string]: any}; + /** + * Upgrade schedule [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). This cannot be changed once created. + */ + id: string; + /** + * List of Compute Cloud@Customer infrastructure [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that are using this upgrade schedule. + */ + infrastructureIds: string[]; + /** + * A message describing the current state in more detail. For example, the message can be used to provide actionable information for a resource in a Failed state. + */ + lifecycleDetails: string; + /** + * A filter to return resources only when their lifecycleState matches the given lifecycleState. + */ + state: string; + /** + * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + */ + systemTags: {[key: string]: any}; + /** + * The time the upgrade schedule was created, using an RFC3339 formatted datetime string. + */ + timeCreated: string; + /** + * The time the upgrade schedule was updated, using an RFC3339 formatted datetime string. + */ + timeUpdated: string; + } + + export interface GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEvent { + /** + * A description of the Compute Cloud@Customer upgrade schedule time block. + */ + description: string; + /** + * Generated name associated with the event. + */ + name: string; + /** + * The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations. + */ + scheduleEventDuration: string; + /** + * Frequency of recurrence of schedule block. When this field is not included, the event is assumed to be a one time occurrence. The frequency field is strictly parsed and must conform to RFC-5545 formatting for recurrences. + */ + scheduleEventRecurrences: string; + /** + * The date and time when the Compute Cloud@Customer upgrade schedule event starts, inclusive. An RFC3339 formatted UTC datetime string. For an event with recurrences, this is the date that a recurrence can start being applied. + */ + timeStart: string; + } + + export interface GetAtCustomerCccUpgradeSchedulesFilter { + /** + * Generated name associated with the event. + */ + name: string; + regex?: boolean; + values: string[]; + } + +} + export namespace ComputeInstanceAgent { export interface GetInstanceAgentPluginsFilter { /** @@ -60769,7 +61456,7 @@ export namespace DataScience { export interface GetModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetail { /** - * The network bandwidth for the model. + * The minimum network bandwidth for the model deployment. */ bandwidthMbps: number; /** @@ -60997,7 +61684,7 @@ export namespace DataScience { export interface GetModelDeploymentsModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetail { /** - * The network bandwidth for the model. + * The minimum network bandwidth for the model deployment. */ bandwidthMbps: number; /** @@ -61233,6 +61920,10 @@ export namespace DataScience { * Details for the notebook session shape configuration. */ notebookSessionShapeConfigDetails: outputs.DataScience.GetNotebookSessionNotebookSessionConfigDetailNotebookSessionShapeConfigDetail[]; + /** + * The OCID of a Data Science private endpoint. + */ + privateEndpointId: string; /** * The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint. */ @@ -61263,6 +61954,10 @@ export namespace DataScience { * Details for the notebook session shape configuration. */ notebookSessionShapeConfigDetails: outputs.DataScience.GetNotebookSessionNotebookSessionConfigurationDetailNotebookSessionShapeConfigDetail[]; + /** + * The OCID of a Data Science private endpoint. + */ + privateEndpointId: string; /** * The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint. */ @@ -61411,6 +62106,10 @@ export namespace DataScience { * Details for the notebook session shape configuration. */ notebookSessionShapeConfigDetails: outputs.DataScience.GetNotebookSessionsNotebookSessionNotebookSessionConfigDetailNotebookSessionShapeConfigDetail[]; + /** + * The OCID of a Data Science private endpoint. + */ + privateEndpointId: string; /** * The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint. */ @@ -61441,6 +62140,10 @@ export namespace DataScience { * Details for the notebook session shape configuration. */ notebookSessionShapeConfigDetails: outputs.DataScience.GetNotebookSessionsNotebookSessionNotebookSessionConfigurationDetailNotebookSessionShapeConfigDetail[]; + /** + * The OCID of a Data Science private endpoint. + */ + privateEndpointId: string; /** * The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint. */ @@ -62214,6 +62917,76 @@ export namespace DataScience { ocpus: number; } + export interface GetPrivateEndpointsDataSciencePrivateEndpoint { + /** + * Filter results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + */ + compartmentId: string; + /** + * Filter results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the resource. + */ + createdBy: string; + /** + * Resource types in the Data Science service such as notebooks. + */ + dataScienceResourceType: string; + /** + * Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` + */ + definedTags: {[key: string]: any}; + /** + * A user friendly description. Avoid entering confidential information. + */ + description: string; + /** + * Filter results by its user-friendly name. + */ + displayName: string; + /** + * Accesing the Data Science resource using FQDN. + */ + fqdn: string; + /** + * Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` + */ + freeformTags: {[key: string]: any}; + /** + * The OCID of a private endpoint. + */ + id: string; + /** + * Details of the state of Data Science private endpoint. + */ + lifecycleDetails: string; + /** + * An array of network security group OCIDs. + */ + nsgIds: string[]; + /** + * The lifecycle state of the private endpoint. + */ + state: string; + subDomain: string; + /** + * The OCID of a subnet. + */ + subnetId: string; + /** + * The date and time that the Data Science private endpoint was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + */ + timeCreated: string; + /** + * The date and time that the Data Science private endpoint was updated expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + */ + timeUpdated: string; + } + + export interface GetPrivateEndpointsFilter { + name: string; + regex?: boolean; + values: string[]; + } + export interface GetProjectsFilter { name: string; regex?: boolean; @@ -62553,7 +63326,7 @@ export namespace DataScience { export interface ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetails { /** - * (Updatable) The network bandwidth for the model. + * (Updatable) The minimum network bandwidth for the model deployment. */ bandwidthMbps: number; /** @@ -62612,6 +63385,10 @@ export namespace DataScience { * (Updatable) Details for the notebook session shape configuration. */ notebookSessionShapeConfigDetails: outputs.DataScience.NotebookSessionNotebookSessionConfigDetailsNotebookSessionShapeConfigDetails; + /** + * (Updatable) The OCID of a Data Science private endpoint. + */ + privateEndpointId: string; /** * (Updatable) The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint. */ @@ -62642,6 +63419,10 @@ export namespace DataScience { * (Updatable) Details for the notebook session shape configuration. */ notebookSessionShapeConfigDetails: outputs.DataScience.NotebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetails; + /** + * (Updatable) The OCID of a Data Science private endpoint. + */ + privateEndpointId: string; /** * (Updatable) The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint. */ @@ -63380,6 +64161,14 @@ export namespace Database { disasterRecoveryType: string; } + export interface AutonomousDatabaseResourcePoolSummary { + /** + * Indicates if the long-term backup schedule should be deleted. The default value is `FALSE`. + */ + isDisabled: boolean; + poolSize: number; + } + export interface AutonomousDatabaseScheduledOperation { /** * (Updatable) Day of the week. @@ -66495,7 +67284,7 @@ export namespace Database { export interface GetAutonomousDatabaseLongTermBackupSchedule { /** - * Indicates if the long-term backup schedule should be deleted. The default value is `FALSE`. + * Indicates if the resource pool should be deleted for the Autonomous Database. */ isDisabled: boolean; /** @@ -66540,6 +67329,17 @@ export namespace Database { disasterRecoveryType: string; } + export interface GetAutonomousDatabaseResourcePoolSummary { + /** + * Indicates if the resource pool should be deleted for the Autonomous Database. + */ + isDisabled: boolean; + /** + * Resource pool size. + */ + poolSize: number; + } + export interface GetAutonomousDatabaseScheduledOperation { /** * Day of the week. @@ -66898,6 +67698,14 @@ export namespace Database { */ remoteDisasterRecoveryConfigurations: outputs.Database.GetAutonomousDatabasesAutonomousDatabaseRemoteDisasterRecoveryConfiguration[]; remoteDisasterRecoveryType: string; + /** + * The database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resourcepool Leader Autonomous Database. + */ + resourcePoolLeaderId: string; + /** + * The configuration details for resource pool + */ + resourcePoolSummaries: outputs.Database.GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummary[]; /** * The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled. */ @@ -66972,6 +67780,10 @@ export namespace Database { * The date and time when maintenance will end. */ timeMaintenanceEnd: string; + /** + * The time the member joined the resource pool. + */ + timeOfJoiningResourcePool: string; /** * The timestamp of the last failover operation. */ @@ -67178,7 +67990,7 @@ export namespace Database { export interface GetAutonomousDatabasesAutonomousDatabaseLongTermBackupSchedule { /** - * Indicates if the long-term backup schedule should be deleted. The default value is `FALSE`. + * Indicates if the resource pool should be deleted for the Autonomous Database. */ isDisabled: boolean; /** @@ -67202,6 +68014,17 @@ export namespace Database { disasterRecoveryType: string; } + export interface GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummary { + /** + * Indicates if the resource pool should be deleted for the Autonomous Database. + */ + isDisabled: boolean; + /** + * Resource pool size. + */ + poolSize: number; + } + export interface GetAutonomousDatabasesAutonomousDatabaseScheduledOperation { /** * Day of the week. @@ -67549,6 +68372,14 @@ export namespace Database { * Configurations of a Disaster Recovery. */ remoteDisasterRecoveryConfigurations: outputs.Database.GetAutonomousDatabasesClonesAutonomousDatabaseRemoteDisasterRecoveryConfiguration[]; + /** + * The unique identifier for leader autonomous database OCID [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + */ + resourcePoolLeaderId: string; + /** + * The configuration details for resource pool + */ + resourcePoolSummaries: outputs.Database.GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummary[]; /** * The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled. */ @@ -67617,6 +68448,7 @@ export namespace Database { * The date and time when maintenance will end. */ timeMaintenanceEnd: string; + timeOfJoiningResourcePool: string; /** * The timestamp of the last failover operation. */ @@ -67821,7 +68653,7 @@ export namespace Database { export interface GetAutonomousDatabasesClonesAutonomousDatabaseLongTermBackupSchedule { /** - * Indicates if the long-term backup schedule should be deleted. The default value is `FALSE`. + * Indicates if the resource pool should be deleted for the Autonomous Database. */ isDisabled: boolean; /** @@ -67845,6 +68677,17 @@ export namespace Database { disasterRecoveryType: string; } + export interface GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummary { + /** + * Indicates if the resource pool should be deleted for the Autonomous Database. + */ + isDisabled: boolean; + /** + * Resource pool size. + */ + poolSize: number; + } + export interface GetAutonomousDatabasesClonesAutonomousDatabaseScheduledOperation { /** * Day of the week. @@ -83779,6 +84622,32 @@ export namespace DatabaseMigration { namespace: string; } + export interface GetMigrationDataTransferMediumDetailsV2 { + accessKeyId: string; + /** + * Name of directory object in database + */ + name: string; + objectStorageBuckets: outputs.DatabaseMigration.GetMigrationDataTransferMediumDetailsV2ObjectStorageBucket[]; + region: string; + secretAccessKey: string; + /** + * Migration type. + */ + type: string; + } + + export interface GetMigrationDataTransferMediumDetailsV2ObjectStorageBucket { + /** + * Bucket name. + */ + bucket: string; + /** + * Namespace name of the object store bucket. + */ + namespace: string; + } + export interface GetMigrationDatapumpSetting { /** * Optional parameters for Data Pump Export and Import. Refer to [Configuring Optional Initial Load Advanced Settings](https://docs.us.oracle.com/en/cloud/paas/database-migration/dmsus/working-migration-resources.html#GUID-24BD3054-FDF8-48FF-8492-636C1D4B71ED) @@ -83867,6 +84736,7 @@ export namespace DatabaseMigration { } export interface GetMigrationDumpTransferDetail { + sharedStorageMountTargetId: string; /** * Optional additional properties for dump transfer in source or target host. Default kind is CURL */ @@ -84231,6 +85101,7 @@ export namespace DatabaseMigration { * Data Transfer Medium details for the Migration. */ dataTransferMediumDetails: outputs.DatabaseMigration.GetMigrationsMigrationCollectionItemDataTransferMediumDetail[]; + dataTransferMediumDetailsV2s: outputs.DatabaseMigration.GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2[]; /** * Optional settings for Data Pump Export and Import jobs */ @@ -84380,6 +85251,32 @@ export namespace DatabaseMigration { namespace: string; } + export interface GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2 { + accessKeyId: string; + /** + * Name of directory object in database + */ + name: string; + objectStorageBuckets: outputs.DatabaseMigration.GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucket[]; + region: string; + secretAccessKey: string; + /** + * Migration type. + */ + type: string; + } + + export interface GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucket { + /** + * Bucket name. + */ + bucket: string; + /** + * Namespace name of the object store bucket. + */ + namespace: string; + } + export interface GetMigrationsMigrationCollectionItemDatapumpSetting { /** * Optional parameters for Data Pump Export and Import. Refer to [Configuring Optional Initial Load Advanced Settings](https://docs.us.oracle.com/en/cloud/paas/database-migration/dmsus/working-migration-resources.html#GUID-24BD3054-FDF8-48FF-8492-636C1D4B71ED) @@ -84468,6 +85365,7 @@ export namespace DatabaseMigration { } export interface GetMigrationsMigrationCollectionItemDumpTransferDetail { + sharedStorageMountTargetId: string; /** * Optional additional properties for dump transfer in source or target host. Default kind is CURL */ @@ -84924,6 +85822,32 @@ export namespace DatabaseMigration { namespace: string; } + export interface MigrationDataTransferMediumDetailsV2 { + accessKeyId: string; + /** + * (Updatable) Name of directory object in database + */ + name: string; + objectStorageBucket: outputs.DatabaseMigration.MigrationDataTransferMediumDetailsV2ObjectStorageBucket; + region: string; + secretAccessKey: string; + /** + * (Updatable) Migration type. + */ + type: string; + } + + export interface MigrationDataTransferMediumDetailsV2ObjectStorageBucket { + /** + * (Updatable) Bucket name. + */ + bucket: string; + /** + * (Updatable) Namespace name of the object store bucket. + */ + namespace: string; + } + export interface MigrationDatapumpSettings { /** * (Updatable) Optional parameters for Data Pump Export and Import. Refer to [Configuring Optional Initial Load Advanced Settings](https://docs.us.oracle.com/en/cloud/paas/database-migration/dmsus/working-migration-resources.html#GUID-24BD3054-FDF8-48FF-8492-636C1D4B71ED) @@ -85012,6 +85936,7 @@ export namespace DatabaseMigration { } export interface MigrationDumpTransferDetails { + sharedStorageMountTargetId: string; /** * (Updatable) Optional additional properties for dump transfer in source or target host. Default kind is CURL */ @@ -141883,7 +142808,7 @@ export namespace Jms { export namespace Kms { export interface GeneratedKeyKeyShape { /** - * The algorithm used by a key's key versions to encrypt or decrypt. + * The algorithm used by a key's key versions to encrypt or decrypt. Only AES algorithm is supported for `External` keys. */ algorithm: string; /** @@ -141899,9 +142824,92 @@ export namespace Kms { length: number; } + export interface GetEkmsPrivateEndpointsEkmsPrivateEndpoint { + /** + * CABundle to validate TLS certificate of the external key manager system in PEM format + */ + caBundle: string; + /** + * The OCID of the compartment. + */ + compartmentId: string; + /** + * Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"foo-namespace.bar-key": "value"}` + */ + definedTags: {[key: string]: any}; + /** + * Mutable name of the EKMS private endpoint + */ + displayName: string; + /** + * Private IP of the external key manager system to connect to from the EKMS private endpoint + */ + externalKeyManagerIp: string; + /** + * Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + */ + freeformTags: {[key: string]: any}; + /** + * Unique identifier that is immutable + */ + id: string; + /** + * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state. + */ + lifecycleDetails: string; + /** + * The port of the external key manager system + */ + port: number; + /** + * The IP address in the customer's VCN for the EKMS private endpoint. This is taken from subnet + */ + privateEndpointIp: string; + /** + * The current state of the EKMS private endpoint resource. + */ + state: string; + /** + * Subnet Identifier + */ + subnetId: string; + /** + * The time the EKMS private endpoint was created. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. + */ + timeCreated: string; + /** + * The time the EKMS private endpoint was updated. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. + */ + timeUpdated: string; + } + + export interface GetEkmsPrivateEndpointsFilter { + name: string; + regex?: boolean; + values: string[]; + } + + export interface GetKeyExternalKeyReference { + /** + * ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. + */ + externalKeyId: string; + } + + export interface GetKeyExternalKeyReferenceDetail { + /** + * ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. + */ + externalKeyId: string; + /** + * Key version ID associated with the external key. + */ + externalKeyVersionId: string; + } + export interface GetKeyKeyShape { /** - * The algorithm used by a key's key versions to encrypt or decrypt. + * The algorithm used by a key's key versions to encrypt or decrypt. Only AES algorithm is supported for `External` keys. */ algorithm: string; /** @@ -141962,6 +142970,17 @@ export namespace Kms { uri: string; } + export interface GetKeyVersionExternalKeyReferenceDetail { + /** + * ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. + */ + externalKeyId: string; + /** + * Key version ID associated with the external key. + */ + externalKeyVersionId: string; + } + export interface GetKeyVersionReplicaDetail { /** * ReplicationId associated with a key version operation @@ -141980,12 +142999,20 @@ export namespace Kms { * The OCID of the compartment that contains this key version. */ compartmentId: string; + /** + * Key reference data to be returned to the customer as a response. + */ + externalKeyReferenceDetails: outputs.Kms.GetKeyVersionsKeyVersionExternalKeyReferenceDetail[]; + /** + * Key version ID associated with the external key. + */ + externalKeyVersionId: string; /** * The OCID of the key version. */ id: string; /** - * A boolean that will be true when key version is primary, and will be false when key version is a replica from a primary key version. + * A Boolean value that indicates whether the KeyVersion belongs to primary Vault or replica Vault. */ isPrimary: boolean; /** @@ -142031,6 +143058,17 @@ export namespace Kms { vaultId: string; } + export interface GetKeyVersionsKeyVersionExternalKeyReferenceDetail { + /** + * ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. + */ + externalKeyId: string; + /** + * Key version ID associated with the external key. + */ + externalKeyVersionId: string; + } + export interface GetKeyVersionsKeyVersionReplicaDetail { /** * ReplicationId associated with a key version operation @@ -142062,6 +143100,11 @@ export namespace Kms { * A user-friendly name for the key. It does not have to be unique, and it is changeable. Avoid entering confidential information. */ displayName: string; + /** + * Key reference data to be returned to the customer as a response. + */ + externalKeyReferenceDetails: outputs.Kms.GetKeysKeyExternalKeyReferenceDetail[]; + externalKeyReferences: outputs.Kms.GetKeysKeyExternalKeyReference[]; /** * 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ @@ -142071,7 +143114,7 @@ export namespace Kms { */ id: string; /** - * A boolean that will be true when key is primary, and will be false when key is a replica from a primary key. + * A Boolean value that indicates whether the Key belongs to primary Vault or replica vault. */ isPrimary: boolean; /** @@ -142083,7 +143126,7 @@ export namespace Kms { */ managementEndpoint: string; /** - * A key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. + * A key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager. */ protectionMode: string; /** @@ -142112,6 +143155,24 @@ export namespace Kms { vaultId: string; } + export interface GetKeysKeyExternalKeyReference { + /** + * ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. + */ + externalKeyId: string; + } + + export interface GetKeysKeyExternalKeyReferenceDetail { + /** + * ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. + */ + externalKeyId: string; + /** + * Key version ID associated with the external key. + */ + externalKeyVersionId: string; + } + export interface GetKeysKeyKeyShape { /** * The algorithm used by a key's key versions to encrypt or decrypt data. Currently, support includes AES, RSA, and ECDSA algorithms. @@ -142159,6 +143220,60 @@ export namespace Kms { status: string; } + export interface GetVaultExternalKeyManagerMetadata { + /** + * URL of the vault on external key manager. + */ + externalVaultEndpointUrl: string; + oauthMetadatas: outputs.Kms.GetVaultExternalKeyManagerMetadataOauthMetadata[]; + /** + * OCID of the private endpoint. + */ + privateEndpointId: string; + } + + export interface GetVaultExternalKeyManagerMetadataOauthMetadata { + /** + * ID of the client app created in IDP. + */ + clientAppId: string; + clientAppSecret: string; + /** + * Base URL of the IDCS account where confidential client app is created. + */ + idcsAccountNameUrl: string; + } + + export interface GetVaultExternalKeyManagerMetadataSummary { + /** + * URL of the vault on external key manager. + */ + externalVaultEndpointUrl: string; + /** + * Summary about authorization to be returned to the customer as a response. + */ + oauthMetadataSummaries: outputs.Kms.GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary[]; + /** + * OCID of the private endpoint. + */ + privateEndpointId: string; + /** + * Vendor of the external key manager. + */ + vendor: string; + } + + export interface GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary { + /** + * ID of the client app created in IDP. + */ + clientAppId: string; + /** + * Base URL of the IDCS account where confidential client app is created. + */ + idcsAccountNameUrl: string; + } + export interface GetVaultReplicaDetail { /** * ReplicationId associated with a vault operation @@ -142186,7 +143301,7 @@ export namespace Kms { */ region: string; /** - * The vault replica's status + * Status of the Vault */ status: string; } @@ -142252,6 +143367,11 @@ export namespace Kms { * A user-friendly name for the vault. It does not have to be unique, and it is changeable. Avoid entering confidential information. */ displayName: string; + /** + * Summary about metadata of external key manager to be returned to the customer as a response. + */ + externalKeyManagerMetadataSummaries: outputs.Kms.GetVaultsVaultExternalKeyManagerMetadataSummary[]; + externalKeyManagerMetadatas: outputs.Kms.GetVaultsVaultExternalKeyManagerMetadata[]; /** * 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` */ @@ -142261,7 +143381,7 @@ export namespace Kms { */ id: string; /** - * A boolean that will be true when vault is primary, and will be false when vault is a replica from a primary vault. + * A Boolean value that indicates whether the Vault is primary Vault or replica Vault. */ isPrimary: boolean; /** @@ -142276,7 +143396,7 @@ export namespace Kms { restoreFromObjectStores: outputs.Kms.GetVaultsVaultRestoreFromObjectStore[]; restoreTrigger: boolean; /** - * The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. + * The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. */ restoredFromVaultId: string; /** @@ -142297,6 +143417,60 @@ export namespace Kms { vaultType: string; } + export interface GetVaultsVaultExternalKeyManagerMetadata { + /** + * URL of the vault on external key manager. + */ + externalVaultEndpointUrl: string; + oauthMetadatas: outputs.Kms.GetVaultsVaultExternalKeyManagerMetadataOauthMetadata[]; + /** + * OCID of the private endpoint. + */ + privateEndpointId: string; + } + + export interface GetVaultsVaultExternalKeyManagerMetadataOauthMetadata { + /** + * ID of the client app created in IDP. + */ + clientAppId: string; + clientAppSecret: string; + /** + * Base URL of the IDCS account where confidential client app is created. + */ + idcsAccountNameUrl: string; + } + + export interface GetVaultsVaultExternalKeyManagerMetadataSummary { + /** + * URL of the vault on external key manager. + */ + externalVaultEndpointUrl: string; + /** + * Summary about authorization to be returned to the customer as a response. + */ + oauthMetadataSummaries: outputs.Kms.GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary[]; + /** + * OCID of the private endpoint. + */ + privateEndpointId: string; + /** + * Vendor of the external key manager. + */ + vendor: string; + } + + export interface GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummary { + /** + * ID of the client app created in IDP. + */ + clientAppId: string; + /** + * Base URL of the IDCS account where confidential client app is created. + */ + idcsAccountNameUrl: string; + } + export interface GetVaultsVaultReplicaDetail { /** * ReplicationId associated with a vault operation @@ -142318,9 +143492,27 @@ export namespace Kms { uri: string; } + export interface KeyExternalKeyReference { + /** + * ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM + */ + externalKeyId: string; + } + + export interface KeyExternalKeyReferenceDetail { + /** + * ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM + */ + externalKeyId: string; + /** + * Key version ID associated with the external key. + */ + externalKeyVersionId: string; + } + export interface KeyKeyShape { /** - * The algorithm used by a key's key versions to encrypt or decrypt. + * The algorithm used by a key's key versions to encrypt or decrypt. Only AES algorithm is supported for `External` keys. */ algorithm: string; /** @@ -142381,6 +143573,17 @@ export namespace Kms { uri?: string; } + export interface KeyVersionExternalKeyReferenceDetail { + /** + * ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. + */ + externalKeyId: string; + /** + * Key version ID associated with the external key. + */ + externalKeyVersionId: string; + } + export interface KeyVersionReplicaDetail { /** * ReplicationId associated with a key version operation @@ -142388,6 +143591,66 @@ export namespace Kms { replicationId: string; } + export interface VaultExternalKeyManagerMetadata { + /** + * URI of the vault on external key manager. + */ + externalVaultEndpointUrl: string; + /** + * Authorization details required to get access token from IDP for accessing protected resources. + */ + oauthMetadata: outputs.Kms.VaultExternalKeyManagerMetadataOauthMetadata; + /** + * OCID of private endpoint created by customer. + */ + privateEndpointId: string; + } + + export interface VaultExternalKeyManagerMetadataOauthMetadata { + /** + * ID of the client app created in IDP. + */ + clientAppId: string; + /** + * Secret of the client app created in IDP. + */ + clientAppSecret: string; + /** + * Base URL of the IDCS account where confidential client app is created. + */ + idcsAccountNameUrl: string; + } + + export interface VaultExternalKeyManagerMetadataSummary { + /** + * URI of the vault on external key manager. + */ + externalVaultEndpointUrl: string; + /** + * Summary about authorization to be returned to the customer as a response. + */ + oauthMetadataSummaries: outputs.Kms.VaultExternalKeyManagerMetadataSummaryOauthMetadataSummary[]; + /** + * OCID of private endpoint created by customer. + */ + privateEndpointId: string; + /** + * Vendor of the external key manager. + */ + vendor: string; + } + + export interface VaultExternalKeyManagerMetadataSummaryOauthMetadataSummary { + /** + * ID of the client app created in IDP. + */ + clientAppId: string; + /** + * Base URL of the IDCS account where confidential client app is created. + */ + idcsAccountNameUrl: string; + } + export interface VaultReplicaDetail { /** * ReplicationId associated with a vault operation @@ -144331,16 +145594,10 @@ export namespace LoadBalancer { } export interface LoadBalancerIpAddressDetailReservedIp { - /** - * Ocid of the pre-created public IP. That should be attahed to this load balancer. - */ id: string; } export interface LoadBalancerReservedIp { - /** - * Ocid of the pre-created public IP. That should be attahed to this load balancer. - */ id: string; } @@ -153271,6 +154528,21 @@ export namespace Mysql { version: string; } + export interface GetReplicaReplicaOverride { + /** + * The OCID of the Configuration to be used by the read replica. + */ + configurationId: string; + /** + * The MySQL version to be used by the read replica. + */ + mysqlVersion: string; + /** + * The shape currently in use by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. + */ + shapeName: string; + } + export interface GetReplicasFilter { name: string; regex?: boolean; @@ -153286,6 +154558,10 @@ export namespace Mysql { * The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ compartmentId: string; + /** + * The requested Configuration instance. + */ + configurationId: string; /** * The DB System [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). */ @@ -153327,7 +154603,7 @@ export namespace Mysql { */ lifecycleDetails: string; /** - * The MySQL version used by the read replica. + * The MySQL version to be used by the read replica. */ mysqlVersion: string; /** @@ -153338,6 +154614,14 @@ export namespace Mysql { * The TCP network port on which X Plugin listens for connections. This is the X Plugin equivalent of port. */ portX: number; + /** + * By default a read replica inherits the MySQL version, shape, and configuration of the source DB system. If you want to override any of these, provide values in the properties, mysqlVersion, shapeName, and configurationId. If you set a property value to "", then the value is inherited from its source DB system. + */ + replicaOverrides: outputs.Mysql.GetReplicasReplicaReplicaOverride[]; + /** + * The shape currently in use by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. + */ + shapeName: string; /** * The LifecycleState of the read replica. */ @@ -153352,6 +154636,21 @@ export namespace Mysql { timeUpdated: string; } + export interface GetReplicasReplicaReplicaOverride { + /** + * The requested Configuration instance. + */ + configurationId: string; + /** + * The MySQL version to be used by the read replica. + */ + mysqlVersion: string; + /** + * The shape currently in use by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. + */ + shapeName: string; + } + export interface GetShapesFilter { /** * Name @@ -154384,6 +155683,25 @@ export namespace Mysql { sourceUrl?: string; } + export interface ReplicaReplicaOverrides { + /** + * (Updatable) The OCID of the Configuration to be used by the read replica. + */ + configurationId: string; + /** + * (Updatable) The MySQL version to be used by the read replica. + */ + mysqlVersion: string; + /** + * (Updatable) The shape to be used by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. + * + * + * ** 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 + */ + shapeName: string; + } + } export namespace NetworkFirewall { @@ -169118,11 +170436,15 @@ export namespace Queue { export interface GetQueuesQueueCollectionItem { /** - * The ID of the compartment in which to list resources. + * The percentage of allocated queue resources that can be consumed by a single channel. For example, if a queue has a storage limit of 2Gb, and a single channel consumption limit is 0.1 (10%), that means data size of a single channel can't exceed 200Mb. Consumption limit of 100% (default) means that a single channel can consume up-to all allocated queue's resources. + */ + channelConsumptionLimit: number; + /** + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. */ compartmentId: string; /** - * Id of the custom master encryption key which will be used to encrypt messages content + * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the custom encryption key to be used to encrypt messages content. */ customEncryptionKeyId: string; /** @@ -169142,11 +170464,11 @@ export namespace Queue { */ freeformTags: {[key: string]: any}; /** - * unique Queue identifier + * The unique queue identifier. */ id: string; /** - * A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. + * Any additional details about the current state of the queue. */ lifecycleDetails: string; /** @@ -169168,11 +170490,11 @@ export namespace Queue { */ systemTags: {[key: string]: any}; /** - * The time the the Queue was created. An RFC3339 formatted datetime string + * The time that the queue was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` */ timeCreated: string; /** - * The time the Queue was updated. An RFC3339 formatted datetime string + * The time that the queue was updated, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` */ timeUpdated: string; /** @@ -169180,7 +170502,7 @@ export namespace Queue { */ timeoutInSeconds: number; /** - * The default visibility of the messages consumed from the queue. + * The default visibility timeout of the messages consumed from the queue, in seconds. */ visibilityInSeconds: number; } diff --git a/sdk/python/pulumi_oci/__init__.py b/sdk/python/pulumi_oci/__init__.py index 76fe9eaee1..20183474e2 100644 --- a/sdk/python/pulumi_oci/__init__.py +++ b/sdk/python/pulumi_oci/__init__.py @@ -57,6 +57,8 @@ cloudguard = __cloudguard import pulumi_oci.cloudmigrations as __cloudmigrations cloudmigrations = __cloudmigrations + import pulumi_oci.computecloud as __computecloud + computecloud = __computecloud import pulumi_oci.computeinstanceagent as __computeinstanceagent computeinstanceagent = __computeinstanceagent import pulumi_oci.config as __config @@ -248,6 +250,7 @@ cloudbridge = _utilities.lazy_import('pulumi_oci.cloudbridge') cloudguard = _utilities.lazy_import('pulumi_oci.cloudguard') cloudmigrations = _utilities.lazy_import('pulumi_oci.cloudmigrations') + computecloud = _utilities.lazy_import('pulumi_oci.computecloud') computeinstanceagent = _utilities.lazy_import('pulumi_oci.computeinstanceagent') config = _utilities.lazy_import('pulumi_oci.config') containerengine = _utilities.lazy_import('pulumi_oci.containerengine') @@ -951,6 +954,22 @@ "oci:CloudMigrations/targetAsset:TargetAsset": "TargetAsset" } }, + { + "pkg": "oci", + "mod": "ComputeCloud/atCustomerCccInfrastructure", + "fqn": "pulumi_oci.computecloud", + "classes": { + "oci:ComputeCloud/atCustomerCccInfrastructure:AtCustomerCccInfrastructure": "AtCustomerCccInfrastructure" + } + }, + { + "pkg": "oci", + "mod": "ComputeCloud/atCustomerCccUpgradeSchedule", + "fqn": "pulumi_oci.computecloud", + "classes": { + "oci:ComputeCloud/atCustomerCccUpgradeSchedule:AtCustomerCccUpgradeSchedule": "AtCustomerCccUpgradeSchedule" + } + }, { "pkg": "oci", "mod": "ContainerEngine/addon", @@ -2015,6 +2034,14 @@ "oci:DataScience/pipelineRun:PipelineRun": "PipelineRun" } }, + { + "pkg": "oci", + "mod": "DataScience/privateEndpoint", + "fqn": "pulumi_oci.datascience", + "classes": { + "oci:DataScience/privateEndpoint:PrivateEndpoint": "PrivateEndpoint" + } + }, { "pkg": "oci", "mod": "DataScience/project", @@ -3583,6 +3610,14 @@ "oci:Jms/fleet:Fleet": "Fleet" } }, + { + "pkg": "oci", + "mod": "Kms/ekmsPrivateEndpoint", + "fqn": "pulumi_oci.kms", + "classes": { + "oci:Kms/ekmsPrivateEndpoint:EkmsPrivateEndpoint": "EkmsPrivateEndpoint" + } + }, { "pkg": "oci", "mod": "Kms/encryptedData", diff --git a/sdk/python/pulumi_oci/adm/_inputs.py b/sdk/python/pulumi_oci/adm/_inputs.py index f70bf42c5f..a16eee5c8e 100644 --- a/sdk/python/pulumi_oci/adm/_inputs.py +++ b/sdk/python/pulumi_oci/adm/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -30,10 +30,23 @@ def __init__(__self__, *, :param pulumi.Input[str] node_id: Unique identifier of an Application Dependency, for example nodeId1. The nodeId can be generated by assigning a unique id to each application dependency in the tree of application dependencies. Every node, even those who share the same GAV, should have a different nodeId. The preferred way of constructing a nodeId is to assign incremental integers during a breadth first or depth first search. A nodeId can be reused only it refers to the same subtree of application dependencies. (This is not equivalent to referring to the same GAV, that is, a GAV can have multiple transitive dependencies.) :param pulumi.Input[Sequence[pulumi.Input[str]]] application_dependency_node_ids: List of Application Dependencies on which this Application Dependency depends, each identified by its nodeId. """ - pulumi.set(__self__, "gav", gav) - pulumi.set(__self__, "node_id", node_id) + VulnerabilityAuditApplicationDependencyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + gav=gav, + node_id=node_id, + application_dependency_node_ids=application_dependency_node_ids, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + gav: pulumi.Input[str], + node_id: pulumi.Input[str], + application_dependency_node_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("gav", gav) + _setter("node_id", node_id) if application_dependency_node_ids is not None: - pulumi.set(__self__, "application_dependency_node_ids", application_dependency_node_ids) + _setter("application_dependency_node_ids", application_dependency_node_ids) @property @pulumi.getter @@ -83,12 +96,25 @@ def __init__(__self__, *, :param pulumi.Input[float] max_permissible_cvss_v2score: A vulnerable Application Dependency is ignored if the score of its associated Vulnerability is below maxPermissibleCvssV2Score and below maxPermissibleCvssV3Score. :param pulumi.Input[float] max_permissible_cvss_v3score: A vulnerable Application Dependency is ignored if the score of its associated Vulnerability is below maxPermissibleCvssV2Score and below maxPermissibleCvssV3Score. """ + VulnerabilityAuditConfigurationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + exclusions=exclusions, + max_permissible_cvss_v2score=max_permissible_cvss_v2score, + max_permissible_cvss_v3score=max_permissible_cvss_v3score, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + exclusions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + max_permissible_cvss_v2score: Optional[pulumi.Input[float]] = None, + max_permissible_cvss_v3score: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if exclusions is not None: - pulumi.set(__self__, "exclusions", exclusions) + _setter("exclusions", exclusions) if max_permissible_cvss_v2score is not None: - pulumi.set(__self__, "max_permissible_cvss_v2score", max_permissible_cvss_v2score) + _setter("max_permissible_cvss_v2score", max_permissible_cvss_v2score) if max_permissible_cvss_v3score is not None: - pulumi.set(__self__, "max_permissible_cvss_v3score", max_permissible_cvss_v3score) + _setter("max_permissible_cvss_v3score", max_permissible_cvss_v3score) @property @pulumi.getter @@ -142,11 +168,24 @@ def __init__(__self__, *, :param pulumi.Input[str] description: Description of the external resource source. :param pulumi.Input[str] oci_resource_id: The Oracle Cloud identifier ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the Oracle Cloud Infrastructure resource that triggered the Vulnerability Audit. """ - pulumi.set(__self__, "type", type) + VulnerabilityAuditSourceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + description=description, + oci_resource_id=oci_resource_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + description: Optional[pulumi.Input[str]] = None, + oci_resource_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if oci_resource_id is not None: - pulumi.set(__self__, "oci_resource_id", oci_resource_id) + _setter("oci_resource_id", oci_resource_id) @property @pulumi.getter @@ -202,14 +241,29 @@ def __init__(__self__, *, :param pulumi.Input[str] id: Unique vulnerability identifier, e.g. CVE-1999-0067. :param pulumi.Input[bool] is_ignored: Indicates if the vulnerability was ignored according to the audit configuration. """ + VulnerabilityAuditVulnerabilityArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + cvss_v2score=cvss_v2score, + cvss_v3score=cvss_v3score, + id=id, + is_ignored=is_ignored, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cvss_v2score: Optional[pulumi.Input[float]] = None, + cvss_v3score: Optional[pulumi.Input[float]] = None, + id: Optional[pulumi.Input[str]] = None, + is_ignored: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if cvss_v2score is not None: - pulumi.set(__self__, "cvss_v2score", cvss_v2score) + _setter("cvss_v2score", cvss_v2score) if cvss_v3score is not None: - pulumi.set(__self__, "cvss_v3score", cvss_v3score) + _setter("cvss_v3score", cvss_v3score) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if is_ignored is not None: - pulumi.set(__self__, "is_ignored", is_ignored) + _setter("is_ignored", is_ignored) @property @pulumi.getter(name="cvssV2score") @@ -266,10 +320,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetKnowledgebasesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -305,10 +372,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVulnerabilityAuditApplicationDependencyVulnerabilitiesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -344,10 +424,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVulnerabilityAuditsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/adm/get_knowledgebase.py b/sdk/python/pulumi_oci/adm/get_knowledgebase.py index 6f7322ae20..9a524a17de 100644 --- a/sdk/python/pulumi_oci/adm/get_knowledgebase.py +++ b/sdk/python/pulumi_oci/adm/get_knowledgebase.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/adm/get_knowledgebases.py b/sdk/python/pulumi_oci/adm/get_knowledgebases.py index b7814b6d34..96eac6b8ff 100644 --- a/sdk/python/pulumi_oci/adm/get_knowledgebases.py +++ b/sdk/python/pulumi_oci/adm/get_knowledgebases.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/adm/get_vulnerability_audit.py b/sdk/python/pulumi_oci/adm/get_vulnerability_audit.py index 9bd438eb23..b812c0e4c4 100644 --- a/sdk/python/pulumi_oci/adm/get_vulnerability_audit.py +++ b/sdk/python/pulumi_oci/adm/get_vulnerability_audit.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/adm/get_vulnerability_audit_application_dependency_vulnerabilities.py b/sdk/python/pulumi_oci/adm/get_vulnerability_audit_application_dependency_vulnerabilities.py index dd9ba1df47..8e48a6e781 100644 --- a/sdk/python/pulumi_oci/adm/get_vulnerability_audit_application_dependency_vulnerabilities.py +++ b/sdk/python/pulumi_oci/adm/get_vulnerability_audit_application_dependency_vulnerabilities.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/adm/get_vulnerability_audit_application_dependency_vulnerability.py b/sdk/python/pulumi_oci/adm/get_vulnerability_audit_application_dependency_vulnerability.py index 1b1849a111..a4e82e6950 100644 --- a/sdk/python/pulumi_oci/adm/get_vulnerability_audit_application_dependency_vulnerability.py +++ b/sdk/python/pulumi_oci/adm/get_vulnerability_audit_application_dependency_vulnerability.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/adm/get_vulnerability_audits.py b/sdk/python/pulumi_oci/adm/get_vulnerability_audits.py index 73ddb6593c..403eb5f8f2 100644 --- a/sdk/python/pulumi_oci/adm/get_vulnerability_audits.py +++ b/sdk/python/pulumi_oci/adm/get_vulnerability_audits.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/adm/knowledge_base.py b/sdk/python/pulumi_oci/adm/knowledge_base.py index d0e12732a9..ce4a17e6d6 100644 --- a/sdk/python/pulumi_oci/adm/knowledge_base.py +++ b/sdk/python/pulumi_oci/adm/knowledge_base.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['KnowledgeBaseArgs', 'KnowledgeBase'] @@ -29,13 +29,28 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) + KnowledgeBaseArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="compartmentId") @@ -116,22 +131,45 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The creation date and time of the Knowledge Base (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). :param pulumi.Input[str] time_updated: The date and time the Knowledge Base was last updated (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). """ + _KnowledgeBaseState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -331,6 +369,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + KnowledgeBaseArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/adm/outputs.py b/sdk/python/pulumi_oci/adm/outputs.py index c14a7e2cc4..066a48928e 100644 --- a/sdk/python/pulumi_oci/adm/outputs.py +++ b/sdk/python/pulumi_oci/adm/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -67,10 +67,23 @@ def __init__(__self__, *, :param str node_id: Unique identifier of an Application Dependency, for example nodeId1. The nodeId can be generated by assigning a unique id to each application dependency in the tree of application dependencies. Every node, even those who share the same GAV, should have a different nodeId. The preferred way of constructing a nodeId is to assign incremental integers during a breadth first or depth first search. A nodeId can be reused only it refers to the same subtree of application dependencies. (This is not equivalent to referring to the same GAV, that is, a GAV can have multiple transitive dependencies.) :param Sequence[str] application_dependency_node_ids: List of Application Dependencies on which this Application Dependency depends, each identified by its nodeId. """ - pulumi.set(__self__, "gav", gav) - pulumi.set(__self__, "node_id", node_id) + VulnerabilityAuditApplicationDependency._configure( + lambda key, value: pulumi.set(__self__, key, value), + gav=gav, + node_id=node_id, + application_dependency_node_ids=application_dependency_node_ids, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + gav: str, + node_id: str, + application_dependency_node_ids: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("gav", gav) + _setter("node_id", node_id) if application_dependency_node_ids is not None: - pulumi.set(__self__, "application_dependency_node_ids", application_dependency_node_ids) + _setter("application_dependency_node_ids", application_dependency_node_ids) @property @pulumi.getter @@ -127,12 +140,25 @@ def __init__(__self__, *, :param float max_permissible_cvss_v2score: A vulnerable Application Dependency is ignored if the score of its associated Vulnerability is below maxPermissibleCvssV2Score and below maxPermissibleCvssV3Score. :param float max_permissible_cvss_v3score: A vulnerable Application Dependency is ignored if the score of its associated Vulnerability is below maxPermissibleCvssV2Score and below maxPermissibleCvssV3Score. """ + VulnerabilityAuditConfiguration._configure( + lambda key, value: pulumi.set(__self__, key, value), + exclusions=exclusions, + max_permissible_cvss_v2score=max_permissible_cvss_v2score, + max_permissible_cvss_v3score=max_permissible_cvss_v3score, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + exclusions: Optional[Sequence[str]] = None, + max_permissible_cvss_v2score: Optional[float] = None, + max_permissible_cvss_v3score: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions]=None): if exclusions is not None: - pulumi.set(__self__, "exclusions", exclusions) + _setter("exclusions", exclusions) if max_permissible_cvss_v2score is not None: - pulumi.set(__self__, "max_permissible_cvss_v2score", max_permissible_cvss_v2score) + _setter("max_permissible_cvss_v2score", max_permissible_cvss_v2score) if max_permissible_cvss_v3score is not None: - pulumi.set(__self__, "max_permissible_cvss_v3score", max_permissible_cvss_v3score) + _setter("max_permissible_cvss_v3score", max_permissible_cvss_v3score) @property @pulumi.getter @@ -191,11 +217,24 @@ def __init__(__self__, *, :param str description: Description of the external resource source. :param str oci_resource_id: The Oracle Cloud identifier ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the Oracle Cloud Infrastructure resource that triggered the Vulnerability Audit. """ - pulumi.set(__self__, "type", type) + VulnerabilityAuditSource._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + description=description, + oci_resource_id=oci_resource_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + description: Optional[str] = None, + oci_resource_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if oci_resource_id is not None: - pulumi.set(__self__, "oci_resource_id", oci_resource_id) + _setter("oci_resource_id", oci_resource_id) @property @pulumi.getter @@ -260,14 +299,29 @@ def __init__(__self__, *, :param str id: Unique vulnerability identifier, e.g. CVE-1999-0067. :param bool is_ignored: Indicates if the vulnerability was ignored according to the audit configuration. """ + VulnerabilityAuditVulnerability._configure( + lambda key, value: pulumi.set(__self__, key, value), + cvss_v2score=cvss_v2score, + cvss_v3score=cvss_v3score, + id=id, + is_ignored=is_ignored, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cvss_v2score: Optional[float] = None, + cvss_v3score: Optional[float] = None, + id: Optional[str] = None, + is_ignored: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): if cvss_v2score is not None: - pulumi.set(__self__, "cvss_v2score", cvss_v2score) + _setter("cvss_v2score", cvss_v2score) if cvss_v3score is not None: - pulumi.set(__self__, "cvss_v3score", cvss_v3score) + _setter("cvss_v3score", cvss_v3score) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if is_ignored is not None: - pulumi.set(__self__, "is_ignored", is_ignored) + _setter("is_ignored", is_ignored) @property @pulumi.getter(name="cvssV2score") @@ -308,10 +362,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetKnowledgebasesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -333,7 +400,16 @@ def regex(self) -> Optional[bool]: class GetKnowledgebasesKnowledgeBaseCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetKnowledgebasesKnowledgeBaseCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetKnowledgebasesKnowledgeBaseCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetKnowledgebasesKnowledgeBaseCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -364,15 +440,40 @@ def __init__(__self__, *, :param str time_created: The creation date and time of the Knowledge Base (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). :param str time_updated: The date and time the Knowledge Base was last updated (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetKnowledgebasesKnowledgeBaseCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -453,9 +554,22 @@ def __init__(__self__, *, application_dependency_node_ids: Sequence[str], gav: str, node_id: str): - pulumi.set(__self__, "application_dependency_node_ids", application_dependency_node_ids) - pulumi.set(__self__, "gav", gav) - pulumi.set(__self__, "node_id", node_id) + GetVulnerabilityAuditApplicationDependencyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + application_dependency_node_ids=application_dependency_node_ids, + gav=gav, + node_id=node_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + application_dependency_node_ids: Sequence[str], + gav: str, + node_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("application_dependency_node_ids", application_dependency_node_ids) + _setter("gav", gav) + _setter("node_id", node_id) @property @pulumi.getter(name="applicationDependencyNodeIds") @@ -480,7 +594,16 @@ def __init__(__self__, *, """ :param Sequence['GetVulnerabilityAuditApplicationDependencyVulnerabilitiesApplicationDependencyVulnerabilityCollectionItemArgs'] items: List of Vulnerability Audit summaries. """ - pulumi.set(__self__, "items", items) + GetVulnerabilityAuditApplicationDependencyVulnerabilitiesApplicationDependencyVulnerabilityCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetVulnerabilityAuditApplicationDependencyVulnerabilitiesApplicationDependencyVulnerabilityCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -506,11 +629,28 @@ def __init__(__self__, *, :param str node_id: Unique identifier of an Application Dependency, for example nodeId1. :param Sequence['GetVulnerabilityAuditApplicationDependencyVulnerabilitiesApplicationDependencyVulnerabilityCollectionItemVulnerabilityArgs'] vulnerabilities: List of vulnerabilities for the Application Dependency. """ - pulumi.set(__self__, "application_dependency_node_ids", application_dependency_node_ids) - pulumi.set(__self__, "gav", gav) - pulumi.set(__self__, "is_found_in_knowledge_base", is_found_in_knowledge_base) - pulumi.set(__self__, "node_id", node_id) - pulumi.set(__self__, "vulnerabilities", vulnerabilities) + GetVulnerabilityAuditApplicationDependencyVulnerabilitiesApplicationDependencyVulnerabilityCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + application_dependency_node_ids=application_dependency_node_ids, + gav=gav, + is_found_in_knowledge_base=is_found_in_knowledge_base, + node_id=node_id, + vulnerabilities=vulnerabilities, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + application_dependency_node_ids: Sequence[str], + gav: str, + is_found_in_knowledge_base: bool, + node_id: str, + vulnerabilities: Sequence['outputs.GetVulnerabilityAuditApplicationDependencyVulnerabilitiesApplicationDependencyVulnerabilityCollectionItemVulnerabilityResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("application_dependency_node_ids", application_dependency_node_ids) + _setter("gav", gav) + _setter("is_found_in_knowledge_base", is_found_in_knowledge_base) + _setter("node_id", node_id) + _setter("vulnerabilities", vulnerabilities) @property @pulumi.getter(name="applicationDependencyNodeIds") @@ -566,10 +706,25 @@ def __init__(__self__, *, :param str id: Unique vulnerability identifier, e.g. CVE-1999-0067. :param bool is_ignored: Indicates if the vulnerability was ignored according to the audit configuration. """ - pulumi.set(__self__, "cvss_v2score", cvss_v2score) - pulumi.set(__self__, "cvss_v3score", cvss_v3score) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_ignored", is_ignored) + GetVulnerabilityAuditApplicationDependencyVulnerabilitiesApplicationDependencyVulnerabilityCollectionItemVulnerabilityResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cvss_v2score=cvss_v2score, + cvss_v3score=cvss_v3score, + id=id, + is_ignored=is_ignored, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cvss_v2score: float, + cvss_v3score: float, + id: str, + is_ignored: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cvss_v2score", cvss_v2score) + _setter("cvss_v3score", cvss_v3score) + _setter("id", id) + _setter("is_ignored", is_ignored) @property @pulumi.getter(name="cvssV2score") @@ -610,10 +765,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVulnerabilityAuditApplicationDependencyVulnerabilitiesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -646,11 +814,28 @@ def __init__(__self__, *, :param str node_id: Unique identifier of an Application Dependency, for example nodeId1. :param Sequence['GetVulnerabilityAuditApplicationDependencyVulnerabilityItemVulnerabilityArgs'] vulnerabilities: List of vulnerabilities for the Application Dependency. """ - pulumi.set(__self__, "application_dependency_node_ids", application_dependency_node_ids) - pulumi.set(__self__, "gav", gav) - pulumi.set(__self__, "is_found_in_knowledge_base", is_found_in_knowledge_base) - pulumi.set(__self__, "node_id", node_id) - pulumi.set(__self__, "vulnerabilities", vulnerabilities) + GetVulnerabilityAuditApplicationDependencyVulnerabilityItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + application_dependency_node_ids=application_dependency_node_ids, + gav=gav, + is_found_in_knowledge_base=is_found_in_knowledge_base, + node_id=node_id, + vulnerabilities=vulnerabilities, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + application_dependency_node_ids: Sequence[str], + gav: str, + is_found_in_knowledge_base: bool, + node_id: str, + vulnerabilities: Sequence['outputs.GetVulnerabilityAuditApplicationDependencyVulnerabilityItemVulnerabilityResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("application_dependency_node_ids", application_dependency_node_ids) + _setter("gav", gav) + _setter("is_found_in_knowledge_base", is_found_in_knowledge_base) + _setter("node_id", node_id) + _setter("vulnerabilities", vulnerabilities) @property @pulumi.getter(name="applicationDependencyNodeIds") @@ -706,10 +891,25 @@ def __init__(__self__, *, :param str id: Unique vulnerability identifier, e.g. CVE-1999-0067. :param bool is_ignored: Indicates if the vulnerability was ignored according to the audit configuration. """ - pulumi.set(__self__, "cvss_v2score", cvss_v2score) - pulumi.set(__self__, "cvss_v3score", cvss_v3score) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_ignored", is_ignored) + GetVulnerabilityAuditApplicationDependencyVulnerabilityItemVulnerabilityResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cvss_v2score=cvss_v2score, + cvss_v3score=cvss_v3score, + id=id, + is_ignored=is_ignored, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cvss_v2score: float, + cvss_v3score: float, + id: str, + is_ignored: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cvss_v2score", cvss_v2score) + _setter("cvss_v3score", cvss_v3score) + _setter("id", id) + _setter("is_ignored", is_ignored) @property @pulumi.getter(name="cvssV2score") @@ -755,9 +955,22 @@ def __init__(__self__, *, :param float max_permissible_cvss_v2score: A vulnerable Application Dependency is ignored if the score of its associated Vulnerability is below maxPermissibleCvssV2Score and below maxPermissibleCvssV3Score. :param float max_permissible_cvss_v3score: A vulnerable Application Dependency is ignored if the score of its associated Vulnerability is below maxPermissibleCvssV2Score and below maxPermissibleCvssV3Score. """ - pulumi.set(__self__, "exclusions", exclusions) - pulumi.set(__self__, "max_permissible_cvss_v2score", max_permissible_cvss_v2score) - pulumi.set(__self__, "max_permissible_cvss_v3score", max_permissible_cvss_v3score) + GetVulnerabilityAuditConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + exclusions=exclusions, + max_permissible_cvss_v2score=max_permissible_cvss_v2score, + max_permissible_cvss_v3score=max_permissible_cvss_v3score, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + exclusions: Sequence[str], + max_permissible_cvss_v2score: float, + max_permissible_cvss_v3score: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("exclusions", exclusions) + _setter("max_permissible_cvss_v2score", max_permissible_cvss_v2score) + _setter("max_permissible_cvss_v3score", max_permissible_cvss_v3score) @property @pulumi.getter @@ -795,9 +1008,22 @@ def __init__(__self__, *, :param str oci_resource_id: The Oracle Cloud identifier ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the Oracle Cloud Infrastructure resource that triggered the Vulnerability Audit. :param str type: Source type of the Vulnerability Audit. """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "oci_resource_id", oci_resource_id) - pulumi.set(__self__, "type", type) + GetVulnerabilityAuditSourceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + oci_resource_id=oci_resource_id, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + oci_resource_id: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("oci_resource_id", oci_resource_id) + _setter("type", type) @property @pulumi.getter @@ -837,10 +1063,25 @@ def __init__(__self__, *, :param str id: Unique vulnerability identifier, e.g. CVE-1999-0067. :param bool is_ignored: Indicates if the vulnerability was ignored according to the audit configuration. """ - pulumi.set(__self__, "cvss_v2score", cvss_v2score) - pulumi.set(__self__, "cvss_v3score", cvss_v3score) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_ignored", is_ignored) + GetVulnerabilityAuditVulnerabilityResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cvss_v2score=cvss_v2score, + cvss_v3score=cvss_v3score, + id=id, + is_ignored=is_ignored, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cvss_v2score: float, + cvss_v3score: float, + id: str, + is_ignored: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cvss_v2score", cvss_v2score) + _setter("cvss_v3score", cvss_v3score) + _setter("id", id) + _setter("is_ignored", is_ignored) @property @pulumi.getter(name="cvssV2score") @@ -881,10 +1122,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVulnerabilityAuditsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -906,7 +1160,16 @@ def regex(self) -> Optional[bool]: class GetVulnerabilityAuditsVulnerabilityAuditCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetVulnerabilityAuditsVulnerabilityAuditCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetVulnerabilityAuditsVulnerabilityAuditCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetVulnerabilityAuditsVulnerabilityAuditCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -962,28 +1225,79 @@ def __init__(__self__, *, :param int vulnerable_artifacts_count: Count of non-ignored vulnerable Application Dependencies. :param int vulnerable_artifacts_count_with_ignored: Count of all vulnerable Application Dependencies. """ - pulumi.set(__self__, "application_dependencies", application_dependencies) - pulumi.set(__self__, "build_type", build_type) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "configurations", configurations) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_success", is_success) - pulumi.set(__self__, "knowledge_base_id", knowledge_base_id) - pulumi.set(__self__, "max_observed_cvss_v2score", max_observed_cvss_v2score) - pulumi.set(__self__, "max_observed_cvss_v2score_with_ignored", max_observed_cvss_v2score_with_ignored) - pulumi.set(__self__, "max_observed_cvss_v3score", max_observed_cvss_v3score) - pulumi.set(__self__, "max_observed_cvss_v3score_with_ignored", max_observed_cvss_v3score_with_ignored) - pulumi.set(__self__, "sources", sources) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "vulnerabilities", vulnerabilities) - pulumi.set(__self__, "vulnerable_artifacts_count", vulnerable_artifacts_count) - pulumi.set(__self__, "vulnerable_artifacts_count_with_ignored", vulnerable_artifacts_count_with_ignored) + GetVulnerabilityAuditsVulnerabilityAuditCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + application_dependencies=application_dependencies, + build_type=build_type, + compartment_id=compartment_id, + configurations=configurations, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + is_success=is_success, + knowledge_base_id=knowledge_base_id, + max_observed_cvss_v2score=max_observed_cvss_v2score, + max_observed_cvss_v2score_with_ignored=max_observed_cvss_v2score_with_ignored, + max_observed_cvss_v3score=max_observed_cvss_v3score, + max_observed_cvss_v3score_with_ignored=max_observed_cvss_v3score_with_ignored, + sources=sources, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + vulnerabilities=vulnerabilities, + vulnerable_artifacts_count=vulnerable_artifacts_count, + vulnerable_artifacts_count_with_ignored=vulnerable_artifacts_count_with_ignored, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + application_dependencies: Sequence['outputs.GetVulnerabilityAuditsVulnerabilityAuditCollectionItemApplicationDependencyResult'], + build_type: str, + compartment_id: str, + configurations: Sequence['outputs.GetVulnerabilityAuditsVulnerabilityAuditCollectionItemConfigurationResult'], + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + is_success: bool, + knowledge_base_id: str, + max_observed_cvss_v2score: float, + max_observed_cvss_v2score_with_ignored: float, + max_observed_cvss_v3score: float, + max_observed_cvss_v3score_with_ignored: float, + sources: Sequence['outputs.GetVulnerabilityAuditsVulnerabilityAuditCollectionItemSourceResult'], + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + vulnerabilities: Sequence['outputs.GetVulnerabilityAuditsVulnerabilityAuditCollectionItemVulnerabilityResult'], + vulnerable_artifacts_count: int, + vulnerable_artifacts_count_with_ignored: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("application_dependencies", application_dependencies) + _setter("build_type", build_type) + _setter("compartment_id", compartment_id) + _setter("configurations", configurations) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_success", is_success) + _setter("knowledge_base_id", knowledge_base_id) + _setter("max_observed_cvss_v2score", max_observed_cvss_v2score) + _setter("max_observed_cvss_v2score_with_ignored", max_observed_cvss_v2score_with_ignored) + _setter("max_observed_cvss_v3score", max_observed_cvss_v3score) + _setter("max_observed_cvss_v3score_with_ignored", max_observed_cvss_v3score_with_ignored) + _setter("sources", sources) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("vulnerabilities", vulnerabilities) + _setter("vulnerable_artifacts_count", vulnerable_artifacts_count) + _setter("vulnerable_artifacts_count_with_ignored", vulnerable_artifacts_count_with_ignored) @property @pulumi.getter(name="applicationDependencies") @@ -1165,9 +1479,22 @@ def __init__(__self__, *, application_dependency_node_ids: Sequence[str], gav: str, node_id: str): - pulumi.set(__self__, "application_dependency_node_ids", application_dependency_node_ids) - pulumi.set(__self__, "gav", gav) - pulumi.set(__self__, "node_id", node_id) + GetVulnerabilityAuditsVulnerabilityAuditCollectionItemApplicationDependencyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + application_dependency_node_ids=application_dependency_node_ids, + gav=gav, + node_id=node_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + application_dependency_node_ids: Sequence[str], + gav: str, + node_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("application_dependency_node_ids", application_dependency_node_ids) + _setter("gav", gav) + _setter("node_id", node_id) @property @pulumi.getter(name="applicationDependencyNodeIds") @@ -1196,9 +1523,22 @@ def __init__(__self__, *, :param float max_permissible_cvss_v2score: A vulnerable Application Dependency is ignored if the score of its associated Vulnerability is below maxPermissibleCvssV2Score and below maxPermissibleCvssV3Score. :param float max_permissible_cvss_v3score: A vulnerable Application Dependency is ignored if the score of its associated Vulnerability is below maxPermissibleCvssV2Score and below maxPermissibleCvssV3Score. """ - pulumi.set(__self__, "exclusions", exclusions) - pulumi.set(__self__, "max_permissible_cvss_v2score", max_permissible_cvss_v2score) - pulumi.set(__self__, "max_permissible_cvss_v3score", max_permissible_cvss_v3score) + GetVulnerabilityAuditsVulnerabilityAuditCollectionItemConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + exclusions=exclusions, + max_permissible_cvss_v2score=max_permissible_cvss_v2score, + max_permissible_cvss_v3score=max_permissible_cvss_v3score, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + exclusions: Sequence[str], + max_permissible_cvss_v2score: float, + max_permissible_cvss_v3score: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("exclusions", exclusions) + _setter("max_permissible_cvss_v2score", max_permissible_cvss_v2score) + _setter("max_permissible_cvss_v3score", max_permissible_cvss_v3score) @property @pulumi.getter @@ -1236,9 +1576,22 @@ def __init__(__self__, *, :param str oci_resource_id: The Oracle Cloud identifier ([OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)) of the Oracle Cloud Infrastructure resource that triggered the Vulnerability Audit. :param str type: Source type of the Vulnerability Audit. """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "oci_resource_id", oci_resource_id) - pulumi.set(__self__, "type", type) + GetVulnerabilityAuditsVulnerabilityAuditCollectionItemSourceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + oci_resource_id=oci_resource_id, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + oci_resource_id: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("oci_resource_id", oci_resource_id) + _setter("type", type) @property @pulumi.getter @@ -1278,10 +1631,25 @@ def __init__(__self__, *, :param str id: A filter to return only resources that match the specified identifier. :param bool is_ignored: Indicates if the vulnerability was ignored according to the audit configuration. """ - pulumi.set(__self__, "cvss_v2score", cvss_v2score) - pulumi.set(__self__, "cvss_v3score", cvss_v3score) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_ignored", is_ignored) + GetVulnerabilityAuditsVulnerabilityAuditCollectionItemVulnerabilityResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cvss_v2score=cvss_v2score, + cvss_v3score=cvss_v3score, + id=id, + is_ignored=is_ignored, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cvss_v2score: float, + cvss_v3score: float, + id: str, + is_ignored: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cvss_v2score", cvss_v2score) + _setter("cvss_v3score", cvss_v3score) + _setter("id", id) + _setter("is_ignored", is_ignored) @property @pulumi.getter(name="cvssV2score") diff --git a/sdk/python/pulumi_oci/adm/vulnerability_audit.py b/sdk/python/pulumi_oci/adm/vulnerability_audit.py index a0ae47c512..f3d44d9033 100644 --- a/sdk/python/pulumi_oci/adm/vulnerability_audit.py +++ b/sdk/python/pulumi_oci/adm/vulnerability_audit.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -37,22 +37,47 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` :param pulumi.Input['VulnerabilityAuditSourceArgs'] source: Vulnerability Audit source. """ - pulumi.set(__self__, "build_type", build_type) - pulumi.set(__self__, "knowledge_base_id", knowledge_base_id) + VulnerabilityAuditArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + build_type=build_type, + knowledge_base_id=knowledge_base_id, + application_dependencies=application_dependencies, + compartment_id=compartment_id, + configuration=configuration, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + source=source, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + build_type: pulumi.Input[str], + knowledge_base_id: pulumi.Input[str], + application_dependencies: Optional[pulumi.Input[Sequence[pulumi.Input['VulnerabilityAuditApplicationDependencyArgs']]]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + configuration: Optional[pulumi.Input['VulnerabilityAuditConfigurationArgs']] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + source: Optional[pulumi.Input['VulnerabilityAuditSourceArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("build_type", build_type) + _setter("knowledge_base_id", knowledge_base_id) if application_dependencies is not None: - pulumi.set(__self__, "application_dependencies", application_dependencies) + _setter("application_dependencies", application_dependencies) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if configuration is not None: - pulumi.set(__self__, "configuration", configuration) + _setter("configuration", configuration) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if source is not None: - pulumi.set(__self__, "source", source) + _setter("source", source) @property @pulumi.getter(name="buildType") @@ -211,48 +236,97 @@ def __init__(__self__, *, :param pulumi.Input[int] vulnerable_artifacts_count: Count of non-ignored vulnerable Application Dependencies. :param pulumi.Input[int] vulnerable_artifacts_count_with_ignored: Count of all vulnerable Application Dependencies. """ + _VulnerabilityAuditState._configure( + lambda key, value: pulumi.set(__self__, key, value), + application_dependencies=application_dependencies, + build_type=build_type, + compartment_id=compartment_id, + configuration=configuration, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + is_success=is_success, + knowledge_base_id=knowledge_base_id, + max_observed_cvss_v2score=max_observed_cvss_v2score, + max_observed_cvss_v2score_with_ignored=max_observed_cvss_v2score_with_ignored, + max_observed_cvss_v3score=max_observed_cvss_v3score, + max_observed_cvss_v3score_with_ignored=max_observed_cvss_v3score_with_ignored, + source=source, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + vulnerabilities=vulnerabilities, + vulnerable_artifacts_count=vulnerable_artifacts_count, + vulnerable_artifacts_count_with_ignored=vulnerable_artifacts_count_with_ignored, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + application_dependencies: Optional[pulumi.Input[Sequence[pulumi.Input['VulnerabilityAuditApplicationDependencyArgs']]]] = None, + build_type: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + configuration: Optional[pulumi.Input['VulnerabilityAuditConfigurationArgs']] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_success: Optional[pulumi.Input[bool]] = None, + knowledge_base_id: Optional[pulumi.Input[str]] = None, + max_observed_cvss_v2score: Optional[pulumi.Input[float]] = None, + max_observed_cvss_v2score_with_ignored: Optional[pulumi.Input[float]] = None, + max_observed_cvss_v3score: Optional[pulumi.Input[float]] = None, + max_observed_cvss_v3score_with_ignored: Optional[pulumi.Input[float]] = None, + source: Optional[pulumi.Input['VulnerabilityAuditSourceArgs']] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + vulnerabilities: Optional[pulumi.Input[Sequence[pulumi.Input['VulnerabilityAuditVulnerabilityArgs']]]] = None, + vulnerable_artifacts_count: Optional[pulumi.Input[int]] = None, + vulnerable_artifacts_count_with_ignored: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if application_dependencies is not None: - pulumi.set(__self__, "application_dependencies", application_dependencies) + _setter("application_dependencies", application_dependencies) if build_type is not None: - pulumi.set(__self__, "build_type", build_type) + _setter("build_type", build_type) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if configuration is not None: - pulumi.set(__self__, "configuration", configuration) + _setter("configuration", configuration) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_success is not None: - pulumi.set(__self__, "is_success", is_success) + _setter("is_success", is_success) if knowledge_base_id is not None: - pulumi.set(__self__, "knowledge_base_id", knowledge_base_id) + _setter("knowledge_base_id", knowledge_base_id) if max_observed_cvss_v2score is not None: - pulumi.set(__self__, "max_observed_cvss_v2score", max_observed_cvss_v2score) + _setter("max_observed_cvss_v2score", max_observed_cvss_v2score) if max_observed_cvss_v2score_with_ignored is not None: - pulumi.set(__self__, "max_observed_cvss_v2score_with_ignored", max_observed_cvss_v2score_with_ignored) + _setter("max_observed_cvss_v2score_with_ignored", max_observed_cvss_v2score_with_ignored) if max_observed_cvss_v3score is not None: - pulumi.set(__self__, "max_observed_cvss_v3score", max_observed_cvss_v3score) + _setter("max_observed_cvss_v3score", max_observed_cvss_v3score) if max_observed_cvss_v3score_with_ignored is not None: - pulumi.set(__self__, "max_observed_cvss_v3score_with_ignored", max_observed_cvss_v3score_with_ignored) + _setter("max_observed_cvss_v3score_with_ignored", max_observed_cvss_v3score_with_ignored) if source is not None: - pulumi.set(__self__, "source", source) + _setter("source", source) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if vulnerabilities is not None: - pulumi.set(__self__, "vulnerabilities", vulnerabilities) + _setter("vulnerabilities", vulnerabilities) if vulnerable_artifacts_count is not None: - pulumi.set(__self__, "vulnerable_artifacts_count", vulnerable_artifacts_count) + _setter("vulnerable_artifacts_count", vulnerable_artifacts_count) if vulnerable_artifacts_count_with_ignored is not None: - pulumi.set(__self__, "vulnerable_artifacts_count_with_ignored", vulnerable_artifacts_count_with_ignored) + _setter("vulnerable_artifacts_count_with_ignored", vulnerable_artifacts_count_with_ignored) @property @pulumi.getter(name="applicationDependencies") @@ -644,6 +718,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + VulnerabilityAuditArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -672,6 +750,11 @@ def _internal_init(__self__, raise TypeError("Missing required property 'build_type'") __props__.__dict__["build_type"] = build_type __props__.__dict__["compartment_id"] = compartment_id + if configuration is not None and not isinstance(configuration, VulnerabilityAuditConfigurationArgs): + configuration = configuration or {} + def _setter(key, value): + configuration[key] = value + VulnerabilityAuditConfigurationArgs._configure(_setter, **configuration) __props__.__dict__["configuration"] = configuration __props__.__dict__["defined_tags"] = defined_tags __props__.__dict__["display_name"] = display_name @@ -679,6 +762,11 @@ def _internal_init(__self__, if knowledge_base_id is None and not opts.urn: raise TypeError("Missing required property 'knowledge_base_id'") __props__.__dict__["knowledge_base_id"] = knowledge_base_id + if source is not None and not isinstance(source, VulnerabilityAuditSourceArgs): + source = source or {} + def _setter(key, value): + source[key] = value + VulnerabilityAuditSourceArgs._configure(_setter, **source) __props__.__dict__["source"] = source __props__.__dict__["is_success"] = None __props__.__dict__["max_observed_cvss_v2score"] = None diff --git a/sdk/python/pulumi_oci/aianomalydetection/_inputs.py b/sdk/python/pulumi_oci/aianomalydetection/_inputs.py index d3801ea30d..83c3dfed3c 100644 --- a/sdk/python/pulumi_oci/aianomalydetection/_inputs.py +++ b/sdk/python/pulumi_oci/aianomalydetection/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -72,45 +72,92 @@ def __init__(__self__, *, :param pulumi.Input['DataAssetDataSourceDetailsVersionSpecificDetailsArgs'] version_specific_details: Possible data sources :param pulumi.Input[str] wallet_password_secret_id: wallet password Secret ID in String format """ - pulumi.set(__self__, "data_source_type", data_source_type) + DataAssetDataSourceDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + data_source_type=data_source_type, + atp_password_secret_id=atp_password_secret_id, + atp_user_name=atp_user_name, + bucket=bucket, + cwallet_file_secret_id=cwallet_file_secret_id, + database_name=database_name, + ewallet_file_secret_id=ewallet_file_secret_id, + key_store_file_secret_id=key_store_file_secret_id, + measurement_name=measurement_name, + namespace=namespace, + object=object, + ojdbc_file_secret_id=ojdbc_file_secret_id, + password_secret_id=password_secret_id, + table_name=table_name, + tnsnames_file_secret_id=tnsnames_file_secret_id, + truststore_file_secret_id=truststore_file_secret_id, + url=url, + user_name=user_name, + version_specific_details=version_specific_details, + wallet_password_secret_id=wallet_password_secret_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + data_source_type: pulumi.Input[str], + atp_password_secret_id: Optional[pulumi.Input[str]] = None, + atp_user_name: Optional[pulumi.Input[str]] = None, + bucket: Optional[pulumi.Input[str]] = None, + cwallet_file_secret_id: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + ewallet_file_secret_id: Optional[pulumi.Input[str]] = None, + key_store_file_secret_id: Optional[pulumi.Input[str]] = None, + measurement_name: Optional[pulumi.Input[str]] = None, + namespace: Optional[pulumi.Input[str]] = None, + object: Optional[pulumi.Input[str]] = None, + ojdbc_file_secret_id: Optional[pulumi.Input[str]] = None, + password_secret_id: Optional[pulumi.Input[str]] = None, + table_name: Optional[pulumi.Input[str]] = None, + tnsnames_file_secret_id: Optional[pulumi.Input[str]] = None, + truststore_file_secret_id: Optional[pulumi.Input[str]] = None, + url: Optional[pulumi.Input[str]] = None, + user_name: Optional[pulumi.Input[str]] = None, + version_specific_details: Optional[pulumi.Input['DataAssetDataSourceDetailsVersionSpecificDetailsArgs']] = None, + wallet_password_secret_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("data_source_type", data_source_type) if atp_password_secret_id is not None: - pulumi.set(__self__, "atp_password_secret_id", atp_password_secret_id) + _setter("atp_password_secret_id", atp_password_secret_id) if atp_user_name is not None: - pulumi.set(__self__, "atp_user_name", atp_user_name) + _setter("atp_user_name", atp_user_name) if bucket is not None: - pulumi.set(__self__, "bucket", bucket) + _setter("bucket", bucket) if cwallet_file_secret_id is not None: - pulumi.set(__self__, "cwallet_file_secret_id", cwallet_file_secret_id) + _setter("cwallet_file_secret_id", cwallet_file_secret_id) if database_name is not None: - pulumi.set(__self__, "database_name", database_name) + _setter("database_name", database_name) if ewallet_file_secret_id is not None: - pulumi.set(__self__, "ewallet_file_secret_id", ewallet_file_secret_id) + _setter("ewallet_file_secret_id", ewallet_file_secret_id) if key_store_file_secret_id is not None: - pulumi.set(__self__, "key_store_file_secret_id", key_store_file_secret_id) + _setter("key_store_file_secret_id", key_store_file_secret_id) if measurement_name is not None: - pulumi.set(__self__, "measurement_name", measurement_name) + _setter("measurement_name", measurement_name) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if object is not None: - pulumi.set(__self__, "object", object) + _setter("object", object) if ojdbc_file_secret_id is not None: - pulumi.set(__self__, "ojdbc_file_secret_id", ojdbc_file_secret_id) + _setter("ojdbc_file_secret_id", ojdbc_file_secret_id) if password_secret_id is not None: - pulumi.set(__self__, "password_secret_id", password_secret_id) + _setter("password_secret_id", password_secret_id) if table_name is not None: - pulumi.set(__self__, "table_name", table_name) + _setter("table_name", table_name) if tnsnames_file_secret_id is not None: - pulumi.set(__self__, "tnsnames_file_secret_id", tnsnames_file_secret_id) + _setter("tnsnames_file_secret_id", tnsnames_file_secret_id) if truststore_file_secret_id is not None: - pulumi.set(__self__, "truststore_file_secret_id", truststore_file_secret_id) + _setter("truststore_file_secret_id", truststore_file_secret_id) if url is not None: - pulumi.set(__self__, "url", url) + _setter("url", url) if user_name is not None: - pulumi.set(__self__, "user_name", user_name) + _setter("user_name", user_name) if version_specific_details is not None: - pulumi.set(__self__, "version_specific_details", version_specific_details) + _setter("version_specific_details", version_specific_details) if wallet_password_secret_id is not None: - pulumi.set(__self__, "wallet_password_secret_id", wallet_password_secret_id) + _setter("wallet_password_secret_id", wallet_password_secret_id) @property @pulumi.getter(name="dataSourceType") @@ -368,15 +415,32 @@ def __init__(__self__, *, :param pulumi.Input[str] organization_name: Org name for the influx db :param pulumi.Input[str] retention_policy_name: retention policy is how long the bucket would last """ - pulumi.set(__self__, "influx_version", influx_version) + DataAssetDataSourceDetailsVersionSpecificDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + influx_version=influx_version, + bucket=bucket, + database_name=database_name, + organization_name=organization_name, + retention_policy_name=retention_policy_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + influx_version: pulumi.Input[str], + bucket: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + organization_name: Optional[pulumi.Input[str]] = None, + retention_policy_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("influx_version", influx_version) if bucket is not None: - pulumi.set(__self__, "bucket", bucket) + _setter("bucket", bucket) if database_name is not None: - pulumi.set(__self__, "database_name", database_name) + _setter("database_name", database_name) if organization_name is not None: - pulumi.set(__self__, "organization_name", organization_name) + _setter("organization_name", organization_name) if retention_policy_name is not None: - pulumi.set(__self__, "retention_policy_name", retention_policy_name) + _setter("retention_policy_name", retention_policy_name) @property @pulumi.getter(name="influxVersion") @@ -456,19 +520,40 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['DetectAnomalyJobInputDetailsObjectLocationArgs']]] object_locations: List of ObjectLocations. :param pulumi.Input[Sequence[pulumi.Input[str]]] signal_names: List of signal names. """ - pulumi.set(__self__, "input_type", input_type) + DetectAnomalyJobInputDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + input_type=input_type, + content=content, + content_type=content_type, + datas=datas, + message=message, + object_locations=object_locations, + signal_names=signal_names, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + input_type: pulumi.Input[str], + content: Optional[pulumi.Input[str]] = None, + content_type: Optional[pulumi.Input[str]] = None, + datas: Optional[pulumi.Input[Sequence[pulumi.Input['DetectAnomalyJobInputDetailsDataArgs']]]] = None, + message: Optional[pulumi.Input[str]] = None, + object_locations: Optional[pulumi.Input[Sequence[pulumi.Input['DetectAnomalyJobInputDetailsObjectLocationArgs']]]] = None, + signal_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("input_type", input_type) if content is not None: - pulumi.set(__self__, "content", content) + _setter("content", content) if content_type is not None: - pulumi.set(__self__, "content_type", content_type) + _setter("content_type", content_type) if datas is not None: - pulumi.set(__self__, "datas", datas) + _setter("datas", datas) if message is not None: - pulumi.set(__self__, "message", message) + _setter("message", message) if object_locations is not None: - pulumi.set(__self__, "object_locations", object_locations) + _setter("object_locations", object_locations) if signal_names is not None: - pulumi.set(__self__, "signal_names", signal_names) + _setter("signal_names", signal_names) @property @pulumi.getter(name="inputType") @@ -558,10 +643,21 @@ def __init__(__self__, *, :param pulumi.Input[str] timestamp: Nullable string representing timestamp. :param pulumi.Input[Sequence[pulumi.Input[float]]] values: Array of double precision values. """ + DetectAnomalyJobInputDetailsDataArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + timestamp=timestamp, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + timestamp: Optional[pulumi.Input[str]] = None, + values: Optional[pulumi.Input[Sequence[pulumi.Input[float]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if timestamp is not None: - pulumi.set(__self__, "timestamp", timestamp) + _setter("timestamp", timestamp) if values is not None: - pulumi.set(__self__, "values", values) + _setter("values", values) @property @pulumi.getter @@ -599,12 +695,25 @@ def __init__(__self__, *, :param pulumi.Input[str] namespace: Object Storage namespace. :param pulumi.Input[str] object: Object Storage object name. """ + DetectAnomalyJobInputDetailsObjectLocationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + namespace=namespace, + object=object, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: Optional[pulumi.Input[str]] = None, + namespace: Optional[pulumi.Input[str]] = None, + object: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if bucket is not None: - pulumi.set(__self__, "bucket", bucket) + _setter("bucket", bucket) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if object is not None: - pulumi.set(__self__, "object", object) + _setter("object", object) @property @pulumi.getter @@ -656,11 +765,26 @@ def __init__(__self__, *, :param pulumi.Input[str] output_type: The type of output location. Allowed values are: :param pulumi.Input[str] prefix: Object Storage folder name. """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "output_type", output_type) + DetectAnomalyJobOutputDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + namespace=namespace, + output_type=output_type, + prefix=prefix, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: pulumi.Input[str], + namespace: pulumi.Input[str], + output_type: pulumi.Input[str], + prefix: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("namespace", namespace) + _setter("output_type", output_type) if prefix is not None: - pulumi.set(__self__, "prefix", prefix) + _setter("prefix", prefix) @property @pulumi.getter @@ -726,15 +850,32 @@ def __init__(__self__, *, :param pulumi.Input[float] training_fraction: Fraction of total data that is used for training the model. The remaining is used for validation of the model. :param pulumi.Input[int] window_size: This value would determine the window size of the training algorithm. """ - pulumi.set(__self__, "data_asset_ids", data_asset_ids) + ModelModelTrainingDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + data_asset_ids=data_asset_ids, + algorithm_hint=algorithm_hint, + target_fap=target_fap, + training_fraction=training_fraction, + window_size=window_size, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + data_asset_ids: pulumi.Input[Sequence[pulumi.Input[str]]], + algorithm_hint: Optional[pulumi.Input[str]] = None, + target_fap: Optional[pulumi.Input[float]] = None, + training_fraction: Optional[pulumi.Input[float]] = None, + window_size: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("data_asset_ids", data_asset_ids) if algorithm_hint is not None: - pulumi.set(__self__, "algorithm_hint", algorithm_hint) + _setter("algorithm_hint", algorithm_hint) if target_fap is not None: - pulumi.set(__self__, "target_fap", target_fap) + _setter("target_fap", target_fap) if training_fraction is not None: - pulumi.set(__self__, "training_fraction", training_fraction) + _setter("training_fraction", training_fraction) if window_size is not None: - pulumi.set(__self__, "window_size", window_size) + _setter("window_size", window_size) @property @pulumi.getter(name="dataAssetIds") @@ -819,26 +960,53 @@ def __init__(__self__, *, :param pulumi.Input[str] warning: A warning message to explain the reason when targetFap cannot be achieved for trained model :param pulumi.Input[int] window_size: This value would determine the window size of the training algorithm. """ + ModelModelTrainingResultArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + fap=fap, + is_training_goal_achieved=is_training_goal_achieved, + mae=mae, + max_inference_sync_rows=max_inference_sync_rows, + multivariate_fap=multivariate_fap, + rmse=rmse, + row_reduction_details=row_reduction_details, + signal_details=signal_details, + warning=warning, + window_size=window_size, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + fap: Optional[pulumi.Input[float]] = None, + is_training_goal_achieved: Optional[pulumi.Input[bool]] = None, + mae: Optional[pulumi.Input[float]] = None, + max_inference_sync_rows: Optional[pulumi.Input[int]] = None, + multivariate_fap: Optional[pulumi.Input[float]] = None, + rmse: Optional[pulumi.Input[float]] = None, + row_reduction_details: Optional[pulumi.Input[Sequence[pulumi.Input['ModelModelTrainingResultRowReductionDetailArgs']]]] = None, + signal_details: Optional[pulumi.Input[Sequence[pulumi.Input['ModelModelTrainingResultSignalDetailArgs']]]] = None, + warning: Optional[pulumi.Input[str]] = None, + window_size: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if fap is not None: - pulumi.set(__self__, "fap", fap) + _setter("fap", fap) if is_training_goal_achieved is not None: - pulumi.set(__self__, "is_training_goal_achieved", is_training_goal_achieved) + _setter("is_training_goal_achieved", is_training_goal_achieved) if mae is not None: - pulumi.set(__self__, "mae", mae) + _setter("mae", mae) if max_inference_sync_rows is not None: - pulumi.set(__self__, "max_inference_sync_rows", max_inference_sync_rows) + _setter("max_inference_sync_rows", max_inference_sync_rows) if multivariate_fap is not None: - pulumi.set(__self__, "multivariate_fap", multivariate_fap) + _setter("multivariate_fap", multivariate_fap) if rmse is not None: - pulumi.set(__self__, "rmse", rmse) + _setter("rmse", rmse) if row_reduction_details is not None: - pulumi.set(__self__, "row_reduction_details", row_reduction_details) + _setter("row_reduction_details", row_reduction_details) if signal_details is not None: - pulumi.set(__self__, "signal_details", signal_details) + _setter("signal_details", signal_details) if warning is not None: - pulumi.set(__self__, "warning", warning) + _setter("warning", warning) if window_size is not None: - pulumi.set(__self__, "window_size", window_size) + _setter("window_size", window_size) @property @pulumi.getter @@ -965,12 +1133,25 @@ def __init__(__self__, *, * AVERAGE_ROW - average multiple rows to one row :param pulumi.Input[float] reduction_percentage: A percentage to reduce data size down to on top of original data """ + ModelModelTrainingResultRowReductionDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_reduction_enabled=is_reduction_enabled, + reduction_method=reduction_method, + reduction_percentage=reduction_percentage, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_reduction_enabled: Optional[pulumi.Input[bool]] = None, + reduction_method: Optional[pulumi.Input[str]] = None, + reduction_percentage: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_reduction_enabled is not None: - pulumi.set(__self__, "is_reduction_enabled", is_reduction_enabled) + _setter("is_reduction_enabled", is_reduction_enabled) if reduction_method is not None: - pulumi.set(__self__, "reduction_method", reduction_method) + _setter("reduction_method", reduction_method) if reduction_percentage is not None: - pulumi.set(__self__, "reduction_percentage", reduction_percentage) + _setter("reduction_percentage", reduction_percentage) @property @pulumi.getter(name="isReductionEnabled") @@ -1037,24 +1218,49 @@ def __init__(__self__, *, * OTHER - placeholder for other status :param pulumi.Input[float] std: Standard deviation of values within a signal. """ + ModelModelTrainingResultSignalDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + details=details, + fap=fap, + is_quantized=is_quantized, + max=max, + min=min, + mvi_ratio=mvi_ratio, + signal_name=signal_name, + status=status, + std=std, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + details: Optional[pulumi.Input[str]] = None, + fap: Optional[pulumi.Input[float]] = None, + is_quantized: Optional[pulumi.Input[bool]] = None, + max: Optional[pulumi.Input[float]] = None, + min: Optional[pulumi.Input[float]] = None, + mvi_ratio: Optional[pulumi.Input[float]] = None, + signal_name: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[str]] = None, + std: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if details is not None: - pulumi.set(__self__, "details", details) + _setter("details", details) if fap is not None: - pulumi.set(__self__, "fap", fap) + _setter("fap", fap) if is_quantized is not None: - pulumi.set(__self__, "is_quantized", is_quantized) + _setter("is_quantized", is_quantized) if max is not None: - pulumi.set(__self__, "max", max) + _setter("max", max) if min is not None: - pulumi.set(__self__, "min", min) + _setter("min", min) if mvi_ratio is not None: - pulumi.set(__self__, "mvi_ratio", mvi_ratio) + _setter("mvi_ratio", mvi_ratio) if signal_name is not None: - pulumi.set(__self__, "signal_name", signal_name) + _setter("signal_name", signal_name) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if std is not None: - pulumi.set(__self__, "std", std) + _setter("std", std) @property @pulumi.getter @@ -1174,10 +1380,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAiPrivateEndpointsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1213,10 +1432,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDetectAnomalyJobsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1252,10 +1484,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDetectionDataAssetsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1291,10 +1536,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDetectionModelsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1330,10 +1588,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDetectionProjectsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/aianomalydetection/ai_private_endpoint.py b/sdk/python/pulumi_oci/aianomalydetection/ai_private_endpoint.py index 8c3d38e91e..a571e671e4 100644 --- a/sdk/python/pulumi_oci/aianomalydetection/ai_private_endpoint.py +++ b/sdk/python/pulumi_oci/aianomalydetection/ai_private_endpoint.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['AiPrivateEndpointArgs', 'AiPrivateEndpoint'] @@ -33,15 +33,34 @@ def __init__(__self__, *, :param pulumi.Input[str] display_name: (Updatable) Display name of the private endpoint resource being created. :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "dns_zones", dns_zones) - pulumi.set(__self__, "subnet_id", subnet_id) + AiPrivateEndpointArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + dns_zones=dns_zones, + subnet_id=subnet_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + dns_zones: pulumi.Input[Sequence[pulumi.Input[str]]], + subnet_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("dns_zones", dns_zones) + _setter("subnet_id", subnet_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="compartmentId") @@ -154,30 +173,61 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The time the private endpoint was created. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. :param pulumi.Input[str] time_updated: The time the private endpoint was updated. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. """ + _AiPrivateEndpointState._configure( + lambda key, value: pulumi.set(__self__, key, value), + attached_data_assets=attached_data_assets, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + dns_zones=dns_zones, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + state=state, + subnet_id=subnet_id, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attached_data_assets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + dns_zones: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if attached_data_assets is not None: - pulumi.set(__self__, "attached_data_assets", attached_data_assets) + _setter("attached_data_assets", attached_data_assets) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if dns_zones is not None: - pulumi.set(__self__, "dns_zones", dns_zones) + _setter("dns_zones", dns_zones) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="attachedDataAssets") @@ -433,6 +483,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + AiPrivateEndpointArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/aianomalydetection/data_asset.py b/sdk/python/pulumi_oci/aianomalydetection/data_asset.py index 231bc61995..24253b6760 100644 --- a/sdk/python/pulumi_oci/aianomalydetection/data_asset.py +++ b/sdk/python/pulumi_oci/aianomalydetection/data_asset.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -39,19 +39,42 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` :param pulumi.Input[str] private_endpoint_id: OCID of Private Endpoint. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "data_source_details", data_source_details) - pulumi.set(__self__, "project_id", project_id) + DataAssetArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + data_source_details=data_source_details, + project_id=project_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + private_endpoint_id=private_endpoint_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + data_source_details: pulumi.Input['DataAssetDataSourceDetailsArgs'], + project_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + private_endpoint_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("data_source_details", data_source_details) + _setter("project_id", project_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if private_endpoint_id is not None: - pulumi.set(__self__, "private_endpoint_id", private_endpoint_id) + _setter("private_endpoint_id", private_endpoint_id) @property @pulumi.getter(name="compartmentId") @@ -188,30 +211,61 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The time the the DataAsset was created. An RFC3339 formatted datetime string :param pulumi.Input[str] time_updated: The time the the DataAsset was updated. An RFC3339 formatted datetime string """ + _DataAssetState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + data_source_details=data_source_details, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + private_endpoint_id=private_endpoint_id, + project_id=project_id, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + data_source_details: Optional[pulumi.Input['DataAssetDataSourceDetailsArgs']] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + private_endpoint_id: Optional[pulumi.Input[str]] = None, + project_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if data_source_details is not None: - pulumi.set(__self__, "data_source_details", data_source_details) + _setter("data_source_details", data_source_details) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if private_endpoint_id is not None: - pulumi.set(__self__, "private_endpoint_id", private_endpoint_id) + _setter("private_endpoint_id", private_endpoint_id) if project_id is not None: - pulumi.set(__self__, "project_id", project_id) + _setter("project_id", project_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -529,6 +583,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DataAssetArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -554,6 +612,11 @@ def _internal_init(__self__, if compartment_id is None and not opts.urn: raise TypeError("Missing required property 'compartment_id'") __props__.__dict__["compartment_id"] = compartment_id + if data_source_details is not None and not isinstance(data_source_details, DataAssetDataSourceDetailsArgs): + data_source_details = data_source_details or {} + def _setter(key, value): + data_source_details[key] = value + DataAssetDataSourceDetailsArgs._configure(_setter, **data_source_details) if data_source_details is None and not opts.urn: raise TypeError("Missing required property 'data_source_details'") __props__.__dict__["data_source_details"] = data_source_details diff --git a/sdk/python/pulumi_oci/aianomalydetection/detect_anomaly_job.py b/sdk/python/pulumi_oci/aianomalydetection/detect_anomaly_job.py index 923056540d..096bc763e2 100644 --- a/sdk/python/pulumi_oci/aianomalydetection/detect_anomaly_job.py +++ b/sdk/python/pulumi_oci/aianomalydetection/detect_anomaly_job.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -37,16 +37,37 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "input_details", input_details) - pulumi.set(__self__, "model_id", model_id) - pulumi.set(__self__, "output_details", output_details) + DetectAnomalyJobArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + input_details=input_details, + model_id=model_id, + output_details=output_details, + description=description, + display_name=display_name, + sensitivity=sensitivity, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + input_details: pulumi.Input['DetectAnomalyJobInputDetailsArgs'], + model_id: pulumi.Input[str], + output_details: pulumi.Input['DetectAnomalyJobOutputDetailsArgs'], + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + sensitivity: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("input_details", input_details) + _setter("model_id", model_id) + _setter("output_details", output_details) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if sensitivity is not None: - pulumi.set(__self__, "sensitivity", sensitivity) + _setter("sensitivity", sensitivity) @property @pulumi.getter(name="compartmentId") @@ -179,38 +200,77 @@ def __init__(__self__, *, :param pulumi.Input[str] time_finished: Job finished time :param pulumi.Input[str] time_started: Job started time """ + _DetectAnomalyJobState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + input_details=input_details, + lifecycle_state_details=lifecycle_state_details, + model_id=model_id, + output_details=output_details, + project_id=project_id, + sensitivity=sensitivity, + state=state, + system_tags=system_tags, + time_accepted=time_accepted, + time_finished=time_finished, + time_started=time_started, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + input_details: Optional[pulumi.Input['DetectAnomalyJobInputDetailsArgs']] = None, + lifecycle_state_details: Optional[pulumi.Input[str]] = None, + model_id: Optional[pulumi.Input[str]] = None, + output_details: Optional[pulumi.Input['DetectAnomalyJobOutputDetailsArgs']] = None, + project_id: Optional[pulumi.Input[str]] = None, + sensitivity: Optional[pulumi.Input[float]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_accepted: Optional[pulumi.Input[str]] = None, + time_finished: Optional[pulumi.Input[str]] = None, + time_started: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if input_details is not None: - pulumi.set(__self__, "input_details", input_details) + _setter("input_details", input_details) if lifecycle_state_details is not None: - pulumi.set(__self__, "lifecycle_state_details", lifecycle_state_details) + _setter("lifecycle_state_details", lifecycle_state_details) if model_id is not None: - pulumi.set(__self__, "model_id", model_id) + _setter("model_id", model_id) if output_details is not None: - pulumi.set(__self__, "output_details", output_details) + _setter("output_details", output_details) if project_id is not None: - pulumi.set(__self__, "project_id", project_id) + _setter("project_id", project_id) if sensitivity is not None: - pulumi.set(__self__, "sensitivity", sensitivity) + _setter("sensitivity", sensitivity) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_accepted is not None: - pulumi.set(__self__, "time_accepted", time_accepted) + _setter("time_accepted", time_accepted) if time_finished is not None: - pulumi.set(__self__, "time_finished", time_finished) + _setter("time_finished", time_finished) if time_started is not None: - pulumi.set(__self__, "time_started", time_started) + _setter("time_started", time_started) @property @pulumi.getter(name="compartmentId") @@ -478,6 +538,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DetectAnomalyJobArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -504,12 +568,22 @@ def _internal_init(__self__, __props__.__dict__["compartment_id"] = compartment_id __props__.__dict__["description"] = description __props__.__dict__["display_name"] = display_name + if input_details is not None and not isinstance(input_details, DetectAnomalyJobInputDetailsArgs): + input_details = input_details or {} + def _setter(key, value): + input_details[key] = value + DetectAnomalyJobInputDetailsArgs._configure(_setter, **input_details) if input_details is None and not opts.urn: raise TypeError("Missing required property 'input_details'") __props__.__dict__["input_details"] = input_details if model_id is None and not opts.urn: raise TypeError("Missing required property 'model_id'") __props__.__dict__["model_id"] = model_id + if output_details is not None and not isinstance(output_details, DetectAnomalyJobOutputDetailsArgs): + output_details = output_details or {} + def _setter(key, value): + output_details[key] = value + DetectAnomalyJobOutputDetailsArgs._configure(_setter, **output_details) if output_details is None and not opts.urn: raise TypeError("Missing required property 'output_details'") __props__.__dict__["output_details"] = output_details diff --git a/sdk/python/pulumi_oci/aianomalydetection/get_ai_private_endpoint.py b/sdk/python/pulumi_oci/aianomalydetection/get_ai_private_endpoint.py index b30f097d3a..bb4767370b 100644 --- a/sdk/python/pulumi_oci/aianomalydetection/get_ai_private_endpoint.py +++ b/sdk/python/pulumi_oci/aianomalydetection/get_ai_private_endpoint.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/aianomalydetection/get_ai_private_endpoints.py b/sdk/python/pulumi_oci/aianomalydetection/get_ai_private_endpoints.py index e222d18e50..d05fd12f48 100644 --- a/sdk/python/pulumi_oci/aianomalydetection/get_ai_private_endpoints.py +++ b/sdk/python/pulumi_oci/aianomalydetection/get_ai_private_endpoints.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/aianomalydetection/get_detect_anomaly_job.py b/sdk/python/pulumi_oci/aianomalydetection/get_detect_anomaly_job.py index e40b6c2573..2cc31ee375 100644 --- a/sdk/python/pulumi_oci/aianomalydetection/get_detect_anomaly_job.py +++ b/sdk/python/pulumi_oci/aianomalydetection/get_detect_anomaly_job.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/aianomalydetection/get_detect_anomaly_jobs.py b/sdk/python/pulumi_oci/aianomalydetection/get_detect_anomaly_jobs.py index 4006dc26d4..7e89758e7f 100644 --- a/sdk/python/pulumi_oci/aianomalydetection/get_detect_anomaly_jobs.py +++ b/sdk/python/pulumi_oci/aianomalydetection/get_detect_anomaly_jobs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/aianomalydetection/get_detection_data_asset.py b/sdk/python/pulumi_oci/aianomalydetection/get_detection_data_asset.py index b7b6822c69..178aa9801c 100644 --- a/sdk/python/pulumi_oci/aianomalydetection/get_detection_data_asset.py +++ b/sdk/python/pulumi_oci/aianomalydetection/get_detection_data_asset.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/aianomalydetection/get_detection_data_assets.py b/sdk/python/pulumi_oci/aianomalydetection/get_detection_data_assets.py index 2183cbac0a..e69c019e18 100644 --- a/sdk/python/pulumi_oci/aianomalydetection/get_detection_data_assets.py +++ b/sdk/python/pulumi_oci/aianomalydetection/get_detection_data_assets.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/aianomalydetection/get_detection_model.py b/sdk/python/pulumi_oci/aianomalydetection/get_detection_model.py index 7628336c0e..0a95ea7329 100644 --- a/sdk/python/pulumi_oci/aianomalydetection/get_detection_model.py +++ b/sdk/python/pulumi_oci/aianomalydetection/get_detection_model.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/aianomalydetection/get_detection_models.py b/sdk/python/pulumi_oci/aianomalydetection/get_detection_models.py index 3cfd9a9b69..d39aeb54fd 100644 --- a/sdk/python/pulumi_oci/aianomalydetection/get_detection_models.py +++ b/sdk/python/pulumi_oci/aianomalydetection/get_detection_models.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/aianomalydetection/get_detection_project.py b/sdk/python/pulumi_oci/aianomalydetection/get_detection_project.py index 3451d6a66b..a61ac6776b 100644 --- a/sdk/python/pulumi_oci/aianomalydetection/get_detection_project.py +++ b/sdk/python/pulumi_oci/aianomalydetection/get_detection_project.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/aianomalydetection/get_detection_projects.py b/sdk/python/pulumi_oci/aianomalydetection/get_detection_projects.py index c7d14cf11e..0c155d1a5c 100644 --- a/sdk/python/pulumi_oci/aianomalydetection/get_detection_projects.py +++ b/sdk/python/pulumi_oci/aianomalydetection/get_detection_projects.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/aianomalydetection/model.py b/sdk/python/pulumi_oci/aianomalydetection/model.py index 954b3f6fd8..e8b3667c9b 100644 --- a/sdk/python/pulumi_oci/aianomalydetection/model.py +++ b/sdk/python/pulumi_oci/aianomalydetection/model.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -37,17 +37,38 @@ def __init__(__self__, *, :param pulumi.Input[str] display_name: (Updatable) A user-friendly display name for the resource. It does not have to be unique and can be modified. Avoid entering confidential information. :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "model_training_details", model_training_details) - pulumi.set(__self__, "project_id", project_id) + ModelArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + model_training_details=model_training_details, + project_id=project_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + model_training_details: pulumi.Input['ModelModelTrainingDetailsArgs'], + project_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("model_training_details", model_training_details) + _setter("project_id", project_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="compartmentId") @@ -174,32 +195,65 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The time the the Model was created. An RFC3339 formatted datetime string. :param pulumi.Input[str] time_updated: The time the Model was updated. An RFC3339 formatted datetime string. """ + _ModelState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + model_training_details=model_training_details, + model_training_results=model_training_results, + project_id=project_id, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + model_training_details: Optional[pulumi.Input['ModelModelTrainingDetailsArgs']] = None, + model_training_results: Optional[pulumi.Input[Sequence[pulumi.Input['ModelModelTrainingResultArgs']]]] = None, + project_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if model_training_details is not None: - pulumi.set(__self__, "model_training_details", model_training_details) + _setter("model_training_details", model_training_details) if model_training_results is not None: - pulumi.set(__self__, "model_training_results", model_training_results) + _setter("model_training_results", model_training_results) if project_id is not None: - pulumi.set(__self__, "project_id", project_id) + _setter("project_id", project_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -483,6 +537,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ModelArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -511,6 +569,11 @@ def _internal_init(__self__, __props__.__dict__["description"] = description __props__.__dict__["display_name"] = display_name __props__.__dict__["freeform_tags"] = freeform_tags + if model_training_details is not None and not isinstance(model_training_details, ModelModelTrainingDetailsArgs): + model_training_details = model_training_details or {} + def _setter(key, value): + model_training_details[key] = value + ModelModelTrainingDetailsArgs._configure(_setter, **model_training_details) if model_training_details is None and not opts.urn: raise TypeError("Missing required property 'model_training_details'") __props__.__dict__["model_training_details"] = model_training_details diff --git a/sdk/python/pulumi_oci/aianomalydetection/outputs.py b/sdk/python/pulumi_oci/aianomalydetection/outputs.py index 344638f00e..216bb90a3d 100644 --- a/sdk/python/pulumi_oci/aianomalydetection/outputs.py +++ b/sdk/python/pulumi_oci/aianomalydetection/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -150,45 +150,92 @@ def __init__(__self__, *, :param 'DataAssetDataSourceDetailsVersionSpecificDetailsArgs' version_specific_details: Possible data sources :param str wallet_password_secret_id: wallet password Secret ID in String format """ - pulumi.set(__self__, "data_source_type", data_source_type) + DataAssetDataSourceDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + data_source_type=data_source_type, + atp_password_secret_id=atp_password_secret_id, + atp_user_name=atp_user_name, + bucket=bucket, + cwallet_file_secret_id=cwallet_file_secret_id, + database_name=database_name, + ewallet_file_secret_id=ewallet_file_secret_id, + key_store_file_secret_id=key_store_file_secret_id, + measurement_name=measurement_name, + namespace=namespace, + object=object, + ojdbc_file_secret_id=ojdbc_file_secret_id, + password_secret_id=password_secret_id, + table_name=table_name, + tnsnames_file_secret_id=tnsnames_file_secret_id, + truststore_file_secret_id=truststore_file_secret_id, + url=url, + user_name=user_name, + version_specific_details=version_specific_details, + wallet_password_secret_id=wallet_password_secret_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + data_source_type: str, + atp_password_secret_id: Optional[str] = None, + atp_user_name: Optional[str] = None, + bucket: Optional[str] = None, + cwallet_file_secret_id: Optional[str] = None, + database_name: Optional[str] = None, + ewallet_file_secret_id: Optional[str] = None, + key_store_file_secret_id: Optional[str] = None, + measurement_name: Optional[str] = None, + namespace: Optional[str] = None, + object: Optional[str] = None, + ojdbc_file_secret_id: Optional[str] = None, + password_secret_id: Optional[str] = None, + table_name: Optional[str] = None, + tnsnames_file_secret_id: Optional[str] = None, + truststore_file_secret_id: Optional[str] = None, + url: Optional[str] = None, + user_name: Optional[str] = None, + version_specific_details: Optional['outputs.DataAssetDataSourceDetailsVersionSpecificDetails'] = None, + wallet_password_secret_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("data_source_type", data_source_type) if atp_password_secret_id is not None: - pulumi.set(__self__, "atp_password_secret_id", atp_password_secret_id) + _setter("atp_password_secret_id", atp_password_secret_id) if atp_user_name is not None: - pulumi.set(__self__, "atp_user_name", atp_user_name) + _setter("atp_user_name", atp_user_name) if bucket is not None: - pulumi.set(__self__, "bucket", bucket) + _setter("bucket", bucket) if cwallet_file_secret_id is not None: - pulumi.set(__self__, "cwallet_file_secret_id", cwallet_file_secret_id) + _setter("cwallet_file_secret_id", cwallet_file_secret_id) if database_name is not None: - pulumi.set(__self__, "database_name", database_name) + _setter("database_name", database_name) if ewallet_file_secret_id is not None: - pulumi.set(__self__, "ewallet_file_secret_id", ewallet_file_secret_id) + _setter("ewallet_file_secret_id", ewallet_file_secret_id) if key_store_file_secret_id is not None: - pulumi.set(__self__, "key_store_file_secret_id", key_store_file_secret_id) + _setter("key_store_file_secret_id", key_store_file_secret_id) if measurement_name is not None: - pulumi.set(__self__, "measurement_name", measurement_name) + _setter("measurement_name", measurement_name) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if object is not None: - pulumi.set(__self__, "object", object) + _setter("object", object) if ojdbc_file_secret_id is not None: - pulumi.set(__self__, "ojdbc_file_secret_id", ojdbc_file_secret_id) + _setter("ojdbc_file_secret_id", ojdbc_file_secret_id) if password_secret_id is not None: - pulumi.set(__self__, "password_secret_id", password_secret_id) + _setter("password_secret_id", password_secret_id) if table_name is not None: - pulumi.set(__self__, "table_name", table_name) + _setter("table_name", table_name) if tnsnames_file_secret_id is not None: - pulumi.set(__self__, "tnsnames_file_secret_id", tnsnames_file_secret_id) + _setter("tnsnames_file_secret_id", tnsnames_file_secret_id) if truststore_file_secret_id is not None: - pulumi.set(__self__, "truststore_file_secret_id", truststore_file_secret_id) + _setter("truststore_file_secret_id", truststore_file_secret_id) if url is not None: - pulumi.set(__self__, "url", url) + _setter("url", url) if user_name is not None: - pulumi.set(__self__, "user_name", user_name) + _setter("user_name", user_name) if version_specific_details is not None: - pulumi.set(__self__, "version_specific_details", version_specific_details) + _setter("version_specific_details", version_specific_details) if wallet_password_secret_id is not None: - pulumi.set(__self__, "wallet_password_secret_id", wallet_password_secret_id) + _setter("wallet_password_secret_id", wallet_password_secret_id) @property @pulumi.getter(name="dataSourceType") @@ -389,15 +436,32 @@ def __init__(__self__, *, :param str organization_name: Org name for the influx db :param str retention_policy_name: retention policy is how long the bucket would last """ - pulumi.set(__self__, "influx_version", influx_version) + DataAssetDataSourceDetailsVersionSpecificDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + influx_version=influx_version, + bucket=bucket, + database_name=database_name, + organization_name=organization_name, + retention_policy_name=retention_policy_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + influx_version: str, + bucket: Optional[str] = None, + database_name: Optional[str] = None, + organization_name: Optional[str] = None, + retention_policy_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("influx_version", influx_version) if bucket is not None: - pulumi.set(__self__, "bucket", bucket) + _setter("bucket", bucket) if database_name is not None: - pulumi.set(__self__, "database_name", database_name) + _setter("database_name", database_name) if organization_name is not None: - pulumi.set(__self__, "organization_name", organization_name) + _setter("organization_name", organization_name) if retention_policy_name is not None: - pulumi.set(__self__, "retention_policy_name", retention_policy_name) + _setter("retention_policy_name", retention_policy_name) @property @pulumi.getter(name="influxVersion") @@ -480,19 +544,40 @@ def __init__(__self__, *, :param Sequence['DetectAnomalyJobInputDetailsObjectLocationArgs'] object_locations: List of ObjectLocations. :param Sequence[str] signal_names: List of signal names. """ - pulumi.set(__self__, "input_type", input_type) + DetectAnomalyJobInputDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + input_type=input_type, + content=content, + content_type=content_type, + datas=datas, + message=message, + object_locations=object_locations, + signal_names=signal_names, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + input_type: str, + content: Optional[str] = None, + content_type: Optional[str] = None, + datas: Optional[Sequence['outputs.DetectAnomalyJobInputDetailsData']] = None, + message: Optional[str] = None, + object_locations: Optional[Sequence['outputs.DetectAnomalyJobInputDetailsObjectLocation']] = None, + signal_names: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("input_type", input_type) if content is not None: - pulumi.set(__self__, "content", content) + _setter("content", content) if content_type is not None: - pulumi.set(__self__, "content_type", content_type) + _setter("content_type", content_type) if datas is not None: - pulumi.set(__self__, "datas", datas) + _setter("datas", datas) if message is not None: - pulumi.set(__self__, "message", message) + _setter("message", message) if object_locations is not None: - pulumi.set(__self__, "object_locations", object_locations) + _setter("object_locations", object_locations) if signal_names is not None: - pulumi.set(__self__, "signal_names", signal_names) + _setter("signal_names", signal_names) @property @pulumi.getter(name="inputType") @@ -554,10 +639,21 @@ def __init__(__self__, *, :param str timestamp: Nullable string representing timestamp. :param Sequence[float] values: Array of double precision values. """ + DetectAnomalyJobInputDetailsData._configure( + lambda key, value: pulumi.set(__self__, key, value), + timestamp=timestamp, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + timestamp: Optional[str] = None, + values: Optional[Sequence[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if timestamp is not None: - pulumi.set(__self__, "timestamp", timestamp) + _setter("timestamp", timestamp) if values is not None: - pulumi.set(__self__, "values", values) + _setter("values", values) @property @pulumi.getter @@ -587,12 +683,25 @@ def __init__(__self__, *, :param str namespace: Object Storage namespace. :param str object: Object Storage object name. """ + DetectAnomalyJobInputDetailsObjectLocation._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + namespace=namespace, + object=object, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: Optional[str] = None, + namespace: Optional[str] = None, + object: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if bucket is not None: - pulumi.set(__self__, "bucket", bucket) + _setter("bucket", bucket) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if object is not None: - pulumi.set(__self__, "object", object) + _setter("object", object) @property @pulumi.getter @@ -649,11 +758,26 @@ def __init__(__self__, *, :param str output_type: The type of output location. Allowed values are: :param str prefix: Object Storage folder name. """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "output_type", output_type) + DetectAnomalyJobOutputDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + namespace=namespace, + output_type=output_type, + prefix=prefix, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + namespace: str, + output_type: str, + prefix: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("namespace", namespace) + _setter("output_type", output_type) if prefix is not None: - pulumi.set(__self__, "prefix", prefix) + _setter("prefix", prefix) @property @pulumi.getter @@ -728,15 +852,32 @@ def __init__(__self__, *, :param float training_fraction: Fraction of total data that is used for training the model. The remaining is used for validation of the model. :param int window_size: This value would determine the window size of the training algorithm. """ - pulumi.set(__self__, "data_asset_ids", data_asset_ids) + ModelModelTrainingDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + data_asset_ids=data_asset_ids, + algorithm_hint=algorithm_hint, + target_fap=target_fap, + training_fraction=training_fraction, + window_size=window_size, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + data_asset_ids: Sequence[str], + algorithm_hint: Optional[str] = None, + target_fap: Optional[float] = None, + training_fraction: Optional[float] = None, + window_size: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("data_asset_ids", data_asset_ids) if algorithm_hint is not None: - pulumi.set(__self__, "algorithm_hint", algorithm_hint) + _setter("algorithm_hint", algorithm_hint) if target_fap is not None: - pulumi.set(__self__, "target_fap", target_fap) + _setter("target_fap", target_fap) if training_fraction is not None: - pulumi.set(__self__, "training_fraction", training_fraction) + _setter("training_fraction", training_fraction) if window_size is not None: - pulumi.set(__self__, "window_size", window_size) + _setter("window_size", window_size) @property @pulumi.getter(name="dataAssetIds") @@ -828,26 +969,53 @@ def __init__(__self__, *, :param str warning: A warning message to explain the reason when targetFap cannot be achieved for trained model :param int window_size: This value would determine the window size of the training algorithm. """ + ModelModelTrainingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + fap=fap, + is_training_goal_achieved=is_training_goal_achieved, + mae=mae, + max_inference_sync_rows=max_inference_sync_rows, + multivariate_fap=multivariate_fap, + rmse=rmse, + row_reduction_details=row_reduction_details, + signal_details=signal_details, + warning=warning, + window_size=window_size, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + fap: Optional[float] = None, + is_training_goal_achieved: Optional[bool] = None, + mae: Optional[float] = None, + max_inference_sync_rows: Optional[int] = None, + multivariate_fap: Optional[float] = None, + rmse: Optional[float] = None, + row_reduction_details: Optional[Sequence['outputs.ModelModelTrainingResultRowReductionDetail']] = None, + signal_details: Optional[Sequence['outputs.ModelModelTrainingResultSignalDetail']] = None, + warning: Optional[str] = None, + window_size: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if fap is not None: - pulumi.set(__self__, "fap", fap) + _setter("fap", fap) if is_training_goal_achieved is not None: - pulumi.set(__self__, "is_training_goal_achieved", is_training_goal_achieved) + _setter("is_training_goal_achieved", is_training_goal_achieved) if mae is not None: - pulumi.set(__self__, "mae", mae) + _setter("mae", mae) if max_inference_sync_rows is not None: - pulumi.set(__self__, "max_inference_sync_rows", max_inference_sync_rows) + _setter("max_inference_sync_rows", max_inference_sync_rows) if multivariate_fap is not None: - pulumi.set(__self__, "multivariate_fap", multivariate_fap) + _setter("multivariate_fap", multivariate_fap) if rmse is not None: - pulumi.set(__self__, "rmse", rmse) + _setter("rmse", rmse) if row_reduction_details is not None: - pulumi.set(__self__, "row_reduction_details", row_reduction_details) + _setter("row_reduction_details", row_reduction_details) if signal_details is not None: - pulumi.set(__self__, "signal_details", signal_details) + _setter("signal_details", signal_details) if warning is not None: - pulumi.set(__self__, "warning", warning) + _setter("warning", warning) if window_size is not None: - pulumi.set(__self__, "window_size", window_size) + _setter("window_size", window_size) @property @pulumi.getter @@ -955,12 +1123,25 @@ def __init__(__self__, *, * AVERAGE_ROW - average multiple rows to one row :param float reduction_percentage: A percentage to reduce data size down to on top of original data """ + ModelModelTrainingResultRowReductionDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_reduction_enabled=is_reduction_enabled, + reduction_method=reduction_method, + reduction_percentage=reduction_percentage, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_reduction_enabled: Optional[bool] = None, + reduction_method: Optional[str] = None, + reduction_percentage: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_reduction_enabled is not None: - pulumi.set(__self__, "is_reduction_enabled", is_reduction_enabled) + _setter("is_reduction_enabled", is_reduction_enabled) if reduction_method is not None: - pulumi.set(__self__, "reduction_method", reduction_method) + _setter("reduction_method", reduction_method) if reduction_percentage is not None: - pulumi.set(__self__, "reduction_percentage", reduction_percentage) + _setter("reduction_percentage", reduction_percentage) @property @pulumi.getter(name="isReductionEnabled") @@ -1036,24 +1217,49 @@ def __init__(__self__, *, * OTHER - placeholder for other status :param float std: Standard deviation of values within a signal. """ + ModelModelTrainingResultSignalDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + details=details, + fap=fap, + is_quantized=is_quantized, + max=max, + min=min, + mvi_ratio=mvi_ratio, + signal_name=signal_name, + status=status, + std=std, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + details: Optional[str] = None, + fap: Optional[float] = None, + is_quantized: Optional[bool] = None, + max: Optional[float] = None, + min: Optional[float] = None, + mvi_ratio: Optional[float] = None, + signal_name: Optional[str] = None, + status: Optional[str] = None, + std: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions]=None): if details is not None: - pulumi.set(__self__, "details", details) + _setter("details", details) if fap is not None: - pulumi.set(__self__, "fap", fap) + _setter("fap", fap) if is_quantized is not None: - pulumi.set(__self__, "is_quantized", is_quantized) + _setter("is_quantized", is_quantized) if max is not None: - pulumi.set(__self__, "max", max) + _setter("max", max) if min is not None: - pulumi.set(__self__, "min", min) + _setter("min", min) if mvi_ratio is not None: - pulumi.set(__self__, "mvi_ratio", mvi_ratio) + _setter("mvi_ratio", mvi_ratio) if signal_name is not None: - pulumi.set(__self__, "signal_name", signal_name) + _setter("signal_name", signal_name) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if std is not None: - pulumi.set(__self__, "std", std) + _setter("std", std) @property @pulumi.getter @@ -1135,7 +1341,16 @@ def std(self) -> Optional[float]: class GetAiPrivateEndpointsAiPrivateEndpointCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetAiPrivateEndpointsAiPrivateEndpointCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetAiPrivateEndpointsAiPrivateEndpointCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetAiPrivateEndpointsAiPrivateEndpointCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1174,19 +1389,52 @@ def __init__(__self__, *, :param str time_created: The time the private endpoint was created. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. :param str time_updated: The time the private endpoint was updated. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. """ - pulumi.set(__self__, "attached_data_assets", attached_data_assets) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "dns_zones", dns_zones) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetAiPrivateEndpointsAiPrivateEndpointCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + attached_data_assets=attached_data_assets, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + dns_zones=dns_zones, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + state=state, + subnet_id=subnet_id, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attached_data_assets: Sequence[str], + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + dns_zones: Sequence[str], + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + state: str, + subnet_id: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("attached_data_assets", attached_data_assets) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("dns_zones", dns_zones) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("state", state) + _setter("subnet_id", subnet_id) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="attachedDataAssets") @@ -1299,10 +1547,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAiPrivateEndpointsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1335,13 +1596,34 @@ def __init__(__self__, *, :param str message: Inline input details. :param Sequence['GetDetectAnomalyJobInputDetailObjectLocationArgs'] object_locations: List of ObjectLocations. """ - pulumi.set(__self__, "content", content) - pulumi.set(__self__, "content_type", content_type) - pulumi.set(__self__, "datas", datas) - pulumi.set(__self__, "input_type", input_type) - pulumi.set(__self__, "message", message) - pulumi.set(__self__, "object_locations", object_locations) - pulumi.set(__self__, "signal_names", signal_names) + GetDetectAnomalyJobInputDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + content=content, + content_type=content_type, + datas=datas, + input_type=input_type, + message=message, + object_locations=object_locations, + signal_names=signal_names, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + content: str, + content_type: str, + datas: Sequence['outputs.GetDetectAnomalyJobInputDetailDataResult'], + input_type: str, + message: str, + object_locations: Sequence['outputs.GetDetectAnomalyJobInputDetailObjectLocationResult'], + signal_names: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("content", content) + _setter("content_type", content_type) + _setter("datas", datas) + _setter("input_type", input_type) + _setter("message", message) + _setter("object_locations", object_locations) + _setter("signal_names", signal_names) @property @pulumi.getter @@ -1393,8 +1675,19 @@ class GetDetectAnomalyJobInputDetailDataResult(dict): def __init__(__self__, *, timestamp: str, values: Sequence[float]): - pulumi.set(__self__, "timestamp", timestamp) - pulumi.set(__self__, "values", values) + GetDetectAnomalyJobInputDetailDataResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + timestamp=timestamp, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + timestamp: str, + values: Sequence[float], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("timestamp", timestamp) + _setter("values", values) @property @pulumi.getter @@ -1418,9 +1711,22 @@ def __init__(__self__, *, :param str namespace: Object Storage namespace. :param str object: Object Storage object name. """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "object", object) + GetDetectAnomalyJobInputDetailObjectLocationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + namespace=namespace, + object=object, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + namespace: str, + object: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("namespace", namespace) + _setter("object", object) @property @pulumi.getter @@ -1460,10 +1766,25 @@ def __init__(__self__, *, :param str output_type: The type of output location Allowed values are: :param str prefix: Object Storage folder name. """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "output_type", output_type) - pulumi.set(__self__, "prefix", prefix) + GetDetectAnomalyJobOutputDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + namespace=namespace, + output_type=output_type, + prefix=prefix, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + namespace: str, + output_type: str, + prefix: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("namespace", namespace) + _setter("output_type", output_type) + _setter("prefix", prefix) @property @pulumi.getter @@ -1502,7 +1823,16 @@ def prefix(self) -> str: class GetDetectAnomalyJobsDetectAnomalyJobCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetDetectAnomalyJobsDetectAnomalyJobCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetDetectAnomalyJobsDetectAnomalyJobCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDetectAnomalyJobsDetectAnomalyJobCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1549,23 +1879,64 @@ def __init__(__self__, *, :param str time_finished: Job finished time :param str time_started: Job started time """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "input_details", input_details) - pulumi.set(__self__, "lifecycle_state_details", lifecycle_state_details) - pulumi.set(__self__, "model_id", model_id) - pulumi.set(__self__, "output_details", output_details) - pulumi.set(__self__, "project_id", project_id) - pulumi.set(__self__, "sensitivity", sensitivity) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_accepted", time_accepted) - pulumi.set(__self__, "time_finished", time_finished) - pulumi.set(__self__, "time_started", time_started) + GetDetectAnomalyJobsDetectAnomalyJobCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + input_details=input_details, + lifecycle_state_details=lifecycle_state_details, + model_id=model_id, + output_details=output_details, + project_id=project_id, + sensitivity=sensitivity, + state=state, + system_tags=system_tags, + time_accepted=time_accepted, + time_finished=time_finished, + time_started=time_started, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + input_details: Sequence['outputs.GetDetectAnomalyJobsDetectAnomalyJobCollectionItemInputDetailResult'], + lifecycle_state_details: str, + model_id: str, + output_details: Sequence['outputs.GetDetectAnomalyJobsDetectAnomalyJobCollectionItemOutputDetailResult'], + project_id: str, + sensitivity: float, + state: str, + system_tags: Mapping[str, Any], + time_accepted: str, + time_finished: str, + time_started: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("input_details", input_details) + _setter("lifecycle_state_details", lifecycle_state_details) + _setter("model_id", model_id) + _setter("output_details", output_details) + _setter("project_id", project_id) + _setter("sensitivity", sensitivity) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_accepted", time_accepted) + _setter("time_finished", time_finished) + _setter("time_started", time_started) @property @pulumi.getter(name="compartmentId") @@ -1719,13 +2090,34 @@ def __init__(__self__, *, :param str message: Inline input details. :param Sequence['GetDetectAnomalyJobsDetectAnomalyJobCollectionItemInputDetailObjectLocationArgs'] object_locations: List of ObjectLocations. """ - pulumi.set(__self__, "content", content) - pulumi.set(__self__, "content_type", content_type) - pulumi.set(__self__, "datas", datas) - pulumi.set(__self__, "input_type", input_type) - pulumi.set(__self__, "message", message) - pulumi.set(__self__, "object_locations", object_locations) - pulumi.set(__self__, "signal_names", signal_names) + GetDetectAnomalyJobsDetectAnomalyJobCollectionItemInputDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + content=content, + content_type=content_type, + datas=datas, + input_type=input_type, + message=message, + object_locations=object_locations, + signal_names=signal_names, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + content: str, + content_type: str, + datas: Sequence['outputs.GetDetectAnomalyJobsDetectAnomalyJobCollectionItemInputDetailDataResult'], + input_type: str, + message: str, + object_locations: Sequence['outputs.GetDetectAnomalyJobsDetectAnomalyJobCollectionItemInputDetailObjectLocationResult'], + signal_names: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("content", content) + _setter("content_type", content_type) + _setter("datas", datas) + _setter("input_type", input_type) + _setter("message", message) + _setter("object_locations", object_locations) + _setter("signal_names", signal_names) @property @pulumi.getter @@ -1777,8 +2169,19 @@ class GetDetectAnomalyJobsDetectAnomalyJobCollectionItemInputDetailDataResult(di def __init__(__self__, *, timestamp: str, values: Sequence[float]): - pulumi.set(__self__, "timestamp", timestamp) - pulumi.set(__self__, "values", values) + GetDetectAnomalyJobsDetectAnomalyJobCollectionItemInputDetailDataResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + timestamp=timestamp, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + timestamp: str, + values: Sequence[float], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("timestamp", timestamp) + _setter("values", values) @property @pulumi.getter @@ -1802,9 +2205,22 @@ def __init__(__self__, *, :param str namespace: Object Storage namespace. :param str object: Object Storage object name. """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "object", object) + GetDetectAnomalyJobsDetectAnomalyJobCollectionItemInputDetailObjectLocationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + namespace=namespace, + object=object, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + namespace: str, + object: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("namespace", namespace) + _setter("object", object) @property @pulumi.getter @@ -1844,10 +2260,25 @@ def __init__(__self__, *, :param str output_type: The type of output location Allowed values are: :param str prefix: Object Storage folder name. """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "output_type", output_type) - pulumi.set(__self__, "prefix", prefix) + GetDetectAnomalyJobsDetectAnomalyJobCollectionItemOutputDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + namespace=namespace, + output_type=output_type, + prefix=prefix, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + namespace: str, + output_type: str, + prefix: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("namespace", namespace) + _setter("output_type", output_type) + _setter("prefix", prefix) @property @pulumi.getter @@ -1888,10 +2319,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDetectAnomalyJobsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1954,26 +2398,73 @@ def __init__(__self__, *, :param Sequence['GetDetectionDataAssetDataSourceDetailVersionSpecificDetailArgs'] version_specific_details: Possible data sources :param str wallet_password_secret_id: wallet password Secret ID in String format """ - pulumi.set(__self__, "atp_password_secret_id", atp_password_secret_id) - pulumi.set(__self__, "atp_user_name", atp_user_name) - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "cwallet_file_secret_id", cwallet_file_secret_id) - pulumi.set(__self__, "data_source_type", data_source_type) - pulumi.set(__self__, "database_name", database_name) - pulumi.set(__self__, "ewallet_file_secret_id", ewallet_file_secret_id) - pulumi.set(__self__, "key_store_file_secret_id", key_store_file_secret_id) - pulumi.set(__self__, "measurement_name", measurement_name) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "object", object) - pulumi.set(__self__, "ojdbc_file_secret_id", ojdbc_file_secret_id) - pulumi.set(__self__, "password_secret_id", password_secret_id) - pulumi.set(__self__, "table_name", table_name) - pulumi.set(__self__, "tnsnames_file_secret_id", tnsnames_file_secret_id) - pulumi.set(__self__, "truststore_file_secret_id", truststore_file_secret_id) - pulumi.set(__self__, "url", url) - pulumi.set(__self__, "user_name", user_name) - pulumi.set(__self__, "version_specific_details", version_specific_details) - pulumi.set(__self__, "wallet_password_secret_id", wallet_password_secret_id) + GetDetectionDataAssetDataSourceDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + atp_password_secret_id=atp_password_secret_id, + atp_user_name=atp_user_name, + bucket=bucket, + cwallet_file_secret_id=cwallet_file_secret_id, + data_source_type=data_source_type, + database_name=database_name, + ewallet_file_secret_id=ewallet_file_secret_id, + key_store_file_secret_id=key_store_file_secret_id, + measurement_name=measurement_name, + namespace=namespace, + object=object, + ojdbc_file_secret_id=ojdbc_file_secret_id, + password_secret_id=password_secret_id, + table_name=table_name, + tnsnames_file_secret_id=tnsnames_file_secret_id, + truststore_file_secret_id=truststore_file_secret_id, + url=url, + user_name=user_name, + version_specific_details=version_specific_details, + wallet_password_secret_id=wallet_password_secret_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + atp_password_secret_id: str, + atp_user_name: str, + bucket: str, + cwallet_file_secret_id: str, + data_source_type: str, + database_name: str, + ewallet_file_secret_id: str, + key_store_file_secret_id: str, + measurement_name: str, + namespace: str, + object: str, + ojdbc_file_secret_id: str, + password_secret_id: str, + table_name: str, + tnsnames_file_secret_id: str, + truststore_file_secret_id: str, + url: str, + user_name: str, + version_specific_details: Sequence['outputs.GetDetectionDataAssetDataSourceDetailVersionSpecificDetailResult'], + wallet_password_secret_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("atp_password_secret_id", atp_password_secret_id) + _setter("atp_user_name", atp_user_name) + _setter("bucket", bucket) + _setter("cwallet_file_secret_id", cwallet_file_secret_id) + _setter("data_source_type", data_source_type) + _setter("database_name", database_name) + _setter("ewallet_file_secret_id", ewallet_file_secret_id) + _setter("key_store_file_secret_id", key_store_file_secret_id) + _setter("measurement_name", measurement_name) + _setter("namespace", namespace) + _setter("object", object) + _setter("ojdbc_file_secret_id", ojdbc_file_secret_id) + _setter("password_secret_id", password_secret_id) + _setter("table_name", table_name) + _setter("tnsnames_file_secret_id", tnsnames_file_secret_id) + _setter("truststore_file_secret_id", truststore_file_secret_id) + _setter("url", url) + _setter("user_name", user_name) + _setter("version_specific_details", version_specific_details) + _setter("wallet_password_secret_id", wallet_password_secret_id) @property @pulumi.getter(name="atpPasswordSecretId") @@ -2151,11 +2642,28 @@ def __init__(__self__, *, :param str organization_name: Org name for the influx db :param str retention_policy_name: retention policy is how long the bucket would last """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "database_name", database_name) - pulumi.set(__self__, "influx_version", influx_version) - pulumi.set(__self__, "organization_name", organization_name) - pulumi.set(__self__, "retention_policy_name", retention_policy_name) + GetDetectionDataAssetDataSourceDetailVersionSpecificDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + database_name=database_name, + influx_version=influx_version, + organization_name=organization_name, + retention_policy_name=retention_policy_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + database_name: str, + influx_version: str, + organization_name: str, + retention_policy_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("database_name", database_name) + _setter("influx_version", influx_version) + _setter("organization_name", organization_name) + _setter("retention_policy_name", retention_policy_name) @property @pulumi.getter @@ -2202,7 +2710,16 @@ def retention_policy_name(self) -> str: class GetDetectionDataAssetsDataAssetCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetDetectionDataAssetsDataAssetCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetDetectionDataAssetsDataAssetCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDetectionDataAssetsDataAssetCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -2241,19 +2758,52 @@ def __init__(__self__, *, :param str time_created: The time the the DataAsset was created. An RFC3339 formatted datetime string :param str time_updated: The time the the DataAsset was updated. An RFC3339 formatted datetime string """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "data_source_details", data_source_details) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "private_endpoint_id", private_endpoint_id) - pulumi.set(__self__, "project_id", project_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetDetectionDataAssetsDataAssetCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + data_source_details=data_source_details, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + private_endpoint_id=private_endpoint_id, + project_id=project_id, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + data_source_details: Sequence['outputs.GetDetectionDataAssetsDataAssetCollectionItemDataSourceDetailResult'], + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + private_endpoint_id: str, + project_id: str, + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("data_source_details", data_source_details) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("private_endpoint_id", private_endpoint_id) + _setter("project_id", project_id) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -2405,26 +2955,73 @@ def __init__(__self__, *, :param Sequence['GetDetectionDataAssetsDataAssetCollectionItemDataSourceDetailVersionSpecificDetailArgs'] version_specific_details: Possible data sources :param str wallet_password_secret_id: wallet password Secret ID in String format """ - pulumi.set(__self__, "atp_password_secret_id", atp_password_secret_id) - pulumi.set(__self__, "atp_user_name", atp_user_name) - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "cwallet_file_secret_id", cwallet_file_secret_id) - pulumi.set(__self__, "data_source_type", data_source_type) - pulumi.set(__self__, "database_name", database_name) - pulumi.set(__self__, "ewallet_file_secret_id", ewallet_file_secret_id) - pulumi.set(__self__, "key_store_file_secret_id", key_store_file_secret_id) - pulumi.set(__self__, "measurement_name", measurement_name) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "object", object) - pulumi.set(__self__, "ojdbc_file_secret_id", ojdbc_file_secret_id) - pulumi.set(__self__, "password_secret_id", password_secret_id) - pulumi.set(__self__, "table_name", table_name) - pulumi.set(__self__, "tnsnames_file_secret_id", tnsnames_file_secret_id) - pulumi.set(__self__, "truststore_file_secret_id", truststore_file_secret_id) - pulumi.set(__self__, "url", url) - pulumi.set(__self__, "user_name", user_name) - pulumi.set(__self__, "version_specific_details", version_specific_details) - pulumi.set(__self__, "wallet_password_secret_id", wallet_password_secret_id) + GetDetectionDataAssetsDataAssetCollectionItemDataSourceDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + atp_password_secret_id=atp_password_secret_id, + atp_user_name=atp_user_name, + bucket=bucket, + cwallet_file_secret_id=cwallet_file_secret_id, + data_source_type=data_source_type, + database_name=database_name, + ewallet_file_secret_id=ewallet_file_secret_id, + key_store_file_secret_id=key_store_file_secret_id, + measurement_name=measurement_name, + namespace=namespace, + object=object, + ojdbc_file_secret_id=ojdbc_file_secret_id, + password_secret_id=password_secret_id, + table_name=table_name, + tnsnames_file_secret_id=tnsnames_file_secret_id, + truststore_file_secret_id=truststore_file_secret_id, + url=url, + user_name=user_name, + version_specific_details=version_specific_details, + wallet_password_secret_id=wallet_password_secret_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + atp_password_secret_id: str, + atp_user_name: str, + bucket: str, + cwallet_file_secret_id: str, + data_source_type: str, + database_name: str, + ewallet_file_secret_id: str, + key_store_file_secret_id: str, + measurement_name: str, + namespace: str, + object: str, + ojdbc_file_secret_id: str, + password_secret_id: str, + table_name: str, + tnsnames_file_secret_id: str, + truststore_file_secret_id: str, + url: str, + user_name: str, + version_specific_details: Sequence['outputs.GetDetectionDataAssetsDataAssetCollectionItemDataSourceDetailVersionSpecificDetailResult'], + wallet_password_secret_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("atp_password_secret_id", atp_password_secret_id) + _setter("atp_user_name", atp_user_name) + _setter("bucket", bucket) + _setter("cwallet_file_secret_id", cwallet_file_secret_id) + _setter("data_source_type", data_source_type) + _setter("database_name", database_name) + _setter("ewallet_file_secret_id", ewallet_file_secret_id) + _setter("key_store_file_secret_id", key_store_file_secret_id) + _setter("measurement_name", measurement_name) + _setter("namespace", namespace) + _setter("object", object) + _setter("ojdbc_file_secret_id", ojdbc_file_secret_id) + _setter("password_secret_id", password_secret_id) + _setter("table_name", table_name) + _setter("tnsnames_file_secret_id", tnsnames_file_secret_id) + _setter("truststore_file_secret_id", truststore_file_secret_id) + _setter("url", url) + _setter("user_name", user_name) + _setter("version_specific_details", version_specific_details) + _setter("wallet_password_secret_id", wallet_password_secret_id) @property @pulumi.getter(name="atpPasswordSecretId") @@ -2602,11 +3199,28 @@ def __init__(__self__, *, :param str organization_name: Org name for the influx db :param str retention_policy_name: retention policy is how long the bucket would last """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "database_name", database_name) - pulumi.set(__self__, "influx_version", influx_version) - pulumi.set(__self__, "organization_name", organization_name) - pulumi.set(__self__, "retention_policy_name", retention_policy_name) + GetDetectionDataAssetsDataAssetCollectionItemDataSourceDetailVersionSpecificDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + database_name=database_name, + influx_version=influx_version, + organization_name=organization_name, + retention_policy_name=retention_policy_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + database_name: str, + influx_version: str, + organization_name: str, + retention_policy_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("database_name", database_name) + _setter("influx_version", influx_version) + _setter("organization_name", organization_name) + _setter("retention_policy_name", retention_policy_name) @property @pulumi.getter @@ -2655,10 +3269,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDetectionDataAssetsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2691,11 +3318,28 @@ def __init__(__self__, *, :param float training_fraction: Fraction of total data that is used for training the model. The remaining is used for validation of the model. :param int window_size: Window size defined during training or deduced by the algorithm. """ - pulumi.set(__self__, "algorithm_hint", algorithm_hint) - pulumi.set(__self__, "data_asset_ids", data_asset_ids) - pulumi.set(__self__, "target_fap", target_fap) - pulumi.set(__self__, "training_fraction", training_fraction) - pulumi.set(__self__, "window_size", window_size) + GetDetectionModelModelTrainingDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + algorithm_hint=algorithm_hint, + data_asset_ids=data_asset_ids, + target_fap=target_fap, + training_fraction=training_fraction, + window_size=window_size, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + algorithm_hint: str, + data_asset_ids: Sequence[str], + target_fap: float, + training_fraction: float, + window_size: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("algorithm_hint", algorithm_hint) + _setter("data_asset_ids", data_asset_ids) + _setter("target_fap", target_fap) + _setter("training_fraction", training_fraction) + _setter("window_size", window_size) @property @pulumi.getter(name="algorithmHint") @@ -2760,16 +3404,43 @@ def __init__(__self__, *, :param str warning: A warning message to explain the reason when targetFap cannot be achieved for trained model :param int window_size: Window size defined during training or deduced by the algorithm. """ - pulumi.set(__self__, "fap", fap) - pulumi.set(__self__, "is_training_goal_achieved", is_training_goal_achieved) - pulumi.set(__self__, "mae", mae) - pulumi.set(__self__, "max_inference_sync_rows", max_inference_sync_rows) - pulumi.set(__self__, "multivariate_fap", multivariate_fap) - pulumi.set(__self__, "rmse", rmse) - pulumi.set(__self__, "row_reduction_details", row_reduction_details) - pulumi.set(__self__, "signal_details", signal_details) - pulumi.set(__self__, "warning", warning) - pulumi.set(__self__, "window_size", window_size) + GetDetectionModelModelTrainingResultResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + fap=fap, + is_training_goal_achieved=is_training_goal_achieved, + mae=mae, + max_inference_sync_rows=max_inference_sync_rows, + multivariate_fap=multivariate_fap, + rmse=rmse, + row_reduction_details=row_reduction_details, + signal_details=signal_details, + warning=warning, + window_size=window_size, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + fap: float, + is_training_goal_achieved: bool, + mae: float, + max_inference_sync_rows: int, + multivariate_fap: float, + rmse: float, + row_reduction_details: Sequence['outputs.GetDetectionModelModelTrainingResultRowReductionDetailResult'], + signal_details: Sequence['outputs.GetDetectionModelModelTrainingResultSignalDetailResult'], + warning: str, + window_size: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("fap", fap) + _setter("is_training_goal_achieved", is_training_goal_achieved) + _setter("mae", mae) + _setter("max_inference_sync_rows", max_inference_sync_rows) + _setter("multivariate_fap", multivariate_fap) + _setter("rmse", rmse) + _setter("row_reduction_details", row_reduction_details) + _setter("signal_details", signal_details) + _setter("warning", warning) + _setter("window_size", window_size) @property @pulumi.getter @@ -2856,9 +3527,22 @@ def __init__(__self__, *, * AVERAGE_ROW - average multiple rows to one row :param float reduction_percentage: A percentage to reduce data size down to on top of original data """ - pulumi.set(__self__, "is_reduction_enabled", is_reduction_enabled) - pulumi.set(__self__, "reduction_method", reduction_method) - pulumi.set(__self__, "reduction_percentage", reduction_percentage) + GetDetectionModelModelTrainingResultRowReductionDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_reduction_enabled=is_reduction_enabled, + reduction_method=reduction_method, + reduction_percentage=reduction_percentage, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_reduction_enabled: bool, + reduction_method: str, + reduction_percentage: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_reduction_enabled", is_reduction_enabled) + _setter("reduction_method", reduction_method) + _setter("reduction_percentage", reduction_percentage) @property @pulumi.getter(name="isReductionEnabled") @@ -2913,15 +3597,40 @@ def __init__(__self__, *, * OTHER - placeholder for other status :param float std: Standard deviation of values within a signal. """ - pulumi.set(__self__, "details", details) - pulumi.set(__self__, "fap", fap) - pulumi.set(__self__, "is_quantized", is_quantized) - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "min", min) - pulumi.set(__self__, "mvi_ratio", mvi_ratio) - pulumi.set(__self__, "signal_name", signal_name) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "std", std) + GetDetectionModelModelTrainingResultSignalDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + details=details, + fap=fap, + is_quantized=is_quantized, + max=max, + min=min, + mvi_ratio=mvi_ratio, + signal_name=signal_name, + status=status, + std=std, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + details: str, + fap: float, + is_quantized: bool, + max: float, + min: float, + mvi_ratio: float, + signal_name: str, + status: str, + std: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("details", details) + _setter("fap", fap) + _setter("is_quantized", is_quantized) + _setter("max", max) + _setter("min", min) + _setter("mvi_ratio", mvi_ratio) + _setter("signal_name", signal_name) + _setter("status", status) + _setter("std", std) @property @pulumi.getter @@ -3005,10 +3714,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDetectionModelsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3030,7 +3752,16 @@ def regex(self) -> Optional[bool]: class GetDetectionModelsModelCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetDetectionModelsModelCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetDetectionModelsModelCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDetectionModelsModelCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -3071,20 +3802,55 @@ def __init__(__self__, *, :param str time_created: The time the the Model was created. An RFC3339 formatted datetime string. :param str time_updated: The time the Model was updated. An RFC3339 formatted datetime string. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "model_training_details", model_training_details) - pulumi.set(__self__, "model_training_results", model_training_results) - pulumi.set(__self__, "project_id", project_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetDetectionModelsModelCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + model_training_details=model_training_details, + model_training_results=model_training_results, + project_id=project_id, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + model_training_details: Sequence['outputs.GetDetectionModelsModelCollectionItemModelTrainingDetailResult'], + model_training_results: Sequence['outputs.GetDetectionModelsModelCollectionItemModelTrainingResultResult'], + project_id: str, + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("model_training_details", model_training_details) + _setter("model_training_results", model_training_results) + _setter("project_id", project_id) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -3214,11 +3980,28 @@ def __init__(__self__, *, :param float training_fraction: Fraction of total data that is used for training the model. The remaining is used for validation of the model. :param int window_size: Window size defined during training or deduced by the algorithm. """ - pulumi.set(__self__, "algorithm_hint", algorithm_hint) - pulumi.set(__self__, "data_asset_ids", data_asset_ids) - pulumi.set(__self__, "target_fap", target_fap) - pulumi.set(__self__, "training_fraction", training_fraction) - pulumi.set(__self__, "window_size", window_size) + GetDetectionModelsModelCollectionItemModelTrainingDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + algorithm_hint=algorithm_hint, + data_asset_ids=data_asset_ids, + target_fap=target_fap, + training_fraction=training_fraction, + window_size=window_size, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + algorithm_hint: str, + data_asset_ids: Sequence[str], + target_fap: float, + training_fraction: float, + window_size: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("algorithm_hint", algorithm_hint) + _setter("data_asset_ids", data_asset_ids) + _setter("target_fap", target_fap) + _setter("training_fraction", training_fraction) + _setter("window_size", window_size) @property @pulumi.getter(name="algorithmHint") @@ -3283,16 +4066,43 @@ def __init__(__self__, *, :param str warning: A warning message to explain the reason when targetFap cannot be achieved for trained model :param int window_size: Window size defined during training or deduced by the algorithm. """ - pulumi.set(__self__, "fap", fap) - pulumi.set(__self__, "is_training_goal_achieved", is_training_goal_achieved) - pulumi.set(__self__, "mae", mae) - pulumi.set(__self__, "max_inference_sync_rows", max_inference_sync_rows) - pulumi.set(__self__, "multivariate_fap", multivariate_fap) - pulumi.set(__self__, "rmse", rmse) - pulumi.set(__self__, "row_reduction_details", row_reduction_details) - pulumi.set(__self__, "signal_details", signal_details) - pulumi.set(__self__, "warning", warning) - pulumi.set(__self__, "window_size", window_size) + GetDetectionModelsModelCollectionItemModelTrainingResultResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + fap=fap, + is_training_goal_achieved=is_training_goal_achieved, + mae=mae, + max_inference_sync_rows=max_inference_sync_rows, + multivariate_fap=multivariate_fap, + rmse=rmse, + row_reduction_details=row_reduction_details, + signal_details=signal_details, + warning=warning, + window_size=window_size, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + fap: float, + is_training_goal_achieved: bool, + mae: float, + max_inference_sync_rows: int, + multivariate_fap: float, + rmse: float, + row_reduction_details: Sequence['outputs.GetDetectionModelsModelCollectionItemModelTrainingResultRowReductionDetailResult'], + signal_details: Sequence['outputs.GetDetectionModelsModelCollectionItemModelTrainingResultSignalDetailResult'], + warning: str, + window_size: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("fap", fap) + _setter("is_training_goal_achieved", is_training_goal_achieved) + _setter("mae", mae) + _setter("max_inference_sync_rows", max_inference_sync_rows) + _setter("multivariate_fap", multivariate_fap) + _setter("rmse", rmse) + _setter("row_reduction_details", row_reduction_details) + _setter("signal_details", signal_details) + _setter("warning", warning) + _setter("window_size", window_size) @property @pulumi.getter @@ -3379,9 +4189,22 @@ def __init__(__self__, *, * AVERAGE_ROW - average multiple rows to one row :param float reduction_percentage: A percentage to reduce data size down to on top of original data """ - pulumi.set(__self__, "is_reduction_enabled", is_reduction_enabled) - pulumi.set(__self__, "reduction_method", reduction_method) - pulumi.set(__self__, "reduction_percentage", reduction_percentage) + GetDetectionModelsModelCollectionItemModelTrainingResultRowReductionDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_reduction_enabled=is_reduction_enabled, + reduction_method=reduction_method, + reduction_percentage=reduction_percentage, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_reduction_enabled: bool, + reduction_method: str, + reduction_percentage: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_reduction_enabled", is_reduction_enabled) + _setter("reduction_method", reduction_method) + _setter("reduction_percentage", reduction_percentage) @property @pulumi.getter(name="isReductionEnabled") @@ -3436,15 +4259,40 @@ def __init__(__self__, *, * OTHER - placeholder for other status :param float std: Standard deviation of values within a signal. """ - pulumi.set(__self__, "details", details) - pulumi.set(__self__, "fap", fap) - pulumi.set(__self__, "is_quantized", is_quantized) - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "min", min) - pulumi.set(__self__, "mvi_ratio", mvi_ratio) - pulumi.set(__self__, "signal_name", signal_name) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "std", std) + GetDetectionModelsModelCollectionItemModelTrainingResultSignalDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + details=details, + fap=fap, + is_quantized=is_quantized, + max=max, + min=min, + mvi_ratio=mvi_ratio, + signal_name=signal_name, + status=status, + std=std, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + details: str, + fap: float, + is_quantized: bool, + max: float, + min: float, + mvi_ratio: float, + signal_name: str, + status: str, + std: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("details", details) + _setter("fap", fap) + _setter("is_quantized", is_quantized) + _setter("max", max) + _setter("min", min) + _setter("mvi_ratio", mvi_ratio) + _setter("signal_name", signal_name) + _setter("status", status) + _setter("std", std) @property @pulumi.getter @@ -3528,10 +4376,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDetectionProjectsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3553,7 +4414,16 @@ def regex(self) -> Optional[bool]: class GetDetectionProjectsProjectCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetDetectionProjectsProjectCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetDetectionProjectsProjectCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDetectionProjectsProjectCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -3586,16 +4456,43 @@ def __init__(__self__, *, :param str time_created: The date and time the resource was created in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). :param str time_updated: The date and time the resource was updated in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetDetectionProjectsProjectCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") diff --git a/sdk/python/pulumi_oci/aianomalydetection/project.py b/sdk/python/pulumi_oci/aianomalydetection/project.py index ba6edf1f38..4a98308da5 100644 --- a/sdk/python/pulumi_oci/aianomalydetection/project.py +++ b/sdk/python/pulumi_oci/aianomalydetection/project.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['ProjectArgs', 'Project'] @@ -31,15 +31,32 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) + ProjectArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="compartmentId") @@ -134,24 +151,49 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the resource was created in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). :param pulumi.Input[str] time_updated: The date and time the resource was updated in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). """ + _ProjectState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -367,6 +409,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ProjectArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/aidocument/_inputs.py b/sdk/python/pulumi_oci/aidocument/_inputs.py index fc61a5a7b2..6c118f4398 100644 --- a/sdk/python/pulumi_oci/aidocument/_inputs.py +++ b/sdk/python/pulumi_oci/aidocument/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -33,18 +33,21 @@ class ModelComponentModelArgs: def __init__(__self__, *, model_id: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] model_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of active custom Key Value model that need to be composed. - """ + ModelComponentModelArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + model_id=model_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + model_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if model_id is not None: - pulumi.set(__self__, "model_id", model_id) + _setter("model_id", model_id) @property @pulumi.getter(name="modelId") def model_id(self) -> Optional[pulumi.Input[str]]: - """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of active custom Key Value model that need to be composed. - """ return pulumi.get(self, "model_id") @model_id.setter @@ -65,14 +68,29 @@ def __init__(__self__, *, :param pulumi.Input[str] model_type: The type of the Document model. :param pulumi.Input[Sequence[pulumi.Input['ModelMetricOverallMetricsReportArgs']]] overall_metrics_reports: Overall Metrics report for Document Classification Model. """ + ModelMetricArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + dataset_summaries=dataset_summaries, + label_metrics_reports=label_metrics_reports, + model_type=model_type, + overall_metrics_reports=overall_metrics_reports, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + dataset_summaries: Optional[pulumi.Input[Sequence[pulumi.Input['ModelMetricDatasetSummaryArgs']]]] = None, + label_metrics_reports: Optional[pulumi.Input[Sequence[pulumi.Input['ModelMetricLabelMetricsReportArgs']]]] = None, + model_type: Optional[pulumi.Input[str]] = None, + overall_metrics_reports: Optional[pulumi.Input[Sequence[pulumi.Input['ModelMetricOverallMetricsReportArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if dataset_summaries is not None: - pulumi.set(__self__, "dataset_summaries", dataset_summaries) + _setter("dataset_summaries", dataset_summaries) if label_metrics_reports is not None: - pulumi.set(__self__, "label_metrics_reports", label_metrics_reports) + _setter("label_metrics_reports", label_metrics_reports) if model_type is not None: - pulumi.set(__self__, "model_type", model_type) + _setter("model_type", model_type) if overall_metrics_reports is not None: - pulumi.set(__self__, "overall_metrics_reports", overall_metrics_reports) + _setter("overall_metrics_reports", overall_metrics_reports) @property @pulumi.getter(name="datasetSummaries") @@ -134,12 +152,25 @@ def __init__(__self__, *, :param pulumi.Input[int] training_sample_count: Number of samples used for training the model. :param pulumi.Input[int] validation_sample_count: Number of samples used for validating the model. """ + ModelMetricDatasetSummaryArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + test_sample_count=test_sample_count, + training_sample_count=training_sample_count, + validation_sample_count=validation_sample_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + test_sample_count: Optional[pulumi.Input[int]] = None, + training_sample_count: Optional[pulumi.Input[int]] = None, + validation_sample_count: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if test_sample_count is not None: - pulumi.set(__self__, "test_sample_count", test_sample_count) + _setter("test_sample_count", test_sample_count) if training_sample_count is not None: - pulumi.set(__self__, "training_sample_count", training_sample_count) + _setter("training_sample_count", training_sample_count) if validation_sample_count is not None: - pulumi.set(__self__, "validation_sample_count", validation_sample_count) + _setter("validation_sample_count", validation_sample_count) @property @pulumi.getter(name="testSampleCount") @@ -191,14 +222,29 @@ def __init__(__self__, *, :param pulumi.Input[str] label: Label name :param pulumi.Input[float] mean_average_precision: Mean average precision under different thresholds """ + ModelMetricLabelMetricsReportArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + confidence_entries=confidence_entries, + document_count=document_count, + label=label, + mean_average_precision=mean_average_precision, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + confidence_entries: Optional[pulumi.Input[Sequence[pulumi.Input['ModelMetricLabelMetricsReportConfidenceEntryArgs']]]] = None, + document_count: Optional[pulumi.Input[int]] = None, + label: Optional[pulumi.Input[str]] = None, + mean_average_precision: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if confidence_entries is not None: - pulumi.set(__self__, "confidence_entries", confidence_entries) + _setter("confidence_entries", confidence_entries) if document_count is not None: - pulumi.set(__self__, "document_count", document_count) + _setter("document_count", document_count) if label is not None: - pulumi.set(__self__, "label", label) + _setter("label", label) if mean_average_precision is not None: - pulumi.set(__self__, "mean_average_precision", mean_average_precision) + _setter("mean_average_precision", mean_average_precision) @property @pulumi.getter(name="confidenceEntries") @@ -264,16 +310,33 @@ def __init__(__self__, *, :param pulumi.Input[float] recall: Recall under the threshold :param pulumi.Input[float] threshold: Threshold used to calculate precision and recall. """ + ModelMetricLabelMetricsReportConfidenceEntryArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + accuracy=accuracy, + f1score=f1score, + precision=precision, + recall=recall, + threshold=threshold, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + accuracy: Optional[pulumi.Input[float]] = None, + f1score: Optional[pulumi.Input[float]] = None, + precision: Optional[pulumi.Input[float]] = None, + recall: Optional[pulumi.Input[float]] = None, + threshold: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if accuracy is not None: - pulumi.set(__self__, "accuracy", accuracy) + _setter("accuracy", accuracy) if f1score is not None: - pulumi.set(__self__, "f1score", f1score) + _setter("f1score", f1score) if precision is not None: - pulumi.set(__self__, "precision", precision) + _setter("precision", precision) if recall is not None: - pulumi.set(__self__, "recall", recall) + _setter("recall", recall) if threshold is not None: - pulumi.set(__self__, "threshold", threshold) + _setter("threshold", threshold) @property @pulumi.getter @@ -347,12 +410,25 @@ def __init__(__self__, *, :param pulumi.Input[int] document_count: Total test documents in the label. :param pulumi.Input[float] mean_average_precision: Mean average precision under different thresholds """ + ModelMetricOverallMetricsReportArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + confidence_entries=confidence_entries, + document_count=document_count, + mean_average_precision=mean_average_precision, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + confidence_entries: Optional[pulumi.Input[Sequence[pulumi.Input['ModelMetricOverallMetricsReportConfidenceEntryArgs']]]] = None, + document_count: Optional[pulumi.Input[int]] = None, + mean_average_precision: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if confidence_entries is not None: - pulumi.set(__self__, "confidence_entries", confidence_entries) + _setter("confidence_entries", confidence_entries) if document_count is not None: - pulumi.set(__self__, "document_count", document_count) + _setter("document_count", document_count) if mean_average_precision is not None: - pulumi.set(__self__, "mean_average_precision", mean_average_precision) + _setter("mean_average_precision", mean_average_precision) @property @pulumi.getter(name="confidenceEntries") @@ -406,16 +482,33 @@ def __init__(__self__, *, :param pulumi.Input[float] recall: Recall under the threshold :param pulumi.Input[float] threshold: Threshold used to calculate precision and recall. """ + ModelMetricOverallMetricsReportConfidenceEntryArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + accuracy=accuracy, + f1score=f1score, + precision=precision, + recall=recall, + threshold=threshold, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + accuracy: Optional[pulumi.Input[float]] = None, + f1score: Optional[pulumi.Input[float]] = None, + precision: Optional[pulumi.Input[float]] = None, + recall: Optional[pulumi.Input[float]] = None, + threshold: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if accuracy is not None: - pulumi.set(__self__, "accuracy", accuracy) + _setter("accuracy", accuracy) if f1score is not None: - pulumi.set(__self__, "f1score", f1score) + _setter("f1score", f1score) if precision is not None: - pulumi.set(__self__, "precision", precision) + _setter("precision", precision) if recall is not None: - pulumi.set(__self__, "recall", recall) + _setter("recall", recall) if threshold is not None: - pulumi.set(__self__, "threshold", threshold) + _setter("threshold", threshold) @property @pulumi.getter @@ -497,15 +590,32 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "dataset_type", dataset_type) + ModelTestingDatasetArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + dataset_type=dataset_type, + bucket=bucket, + dataset_id=dataset_id, + namespace=namespace, + object=object, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + dataset_type: pulumi.Input[str], + bucket: Optional[pulumi.Input[str]] = None, + dataset_id: Optional[pulumi.Input[str]] = None, + namespace: Optional[pulumi.Input[str]] = None, + object: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("dataset_type", dataset_type) if bucket is not None: - pulumi.set(__self__, "bucket", bucket) + _setter("bucket", bucket) if dataset_id is not None: - pulumi.set(__self__, "dataset_id", dataset_id) + _setter("dataset_id", dataset_id) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if object is not None: - pulumi.set(__self__, "object", object) + _setter("object", object) @property @pulumi.getter(name="datasetType") @@ -591,15 +701,32 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "dataset_type", dataset_type) + ModelTrainingDatasetArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + dataset_type=dataset_type, + bucket=bucket, + dataset_id=dataset_id, + namespace=namespace, + object=object, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + dataset_type: pulumi.Input[str], + bucket: Optional[pulumi.Input[str]] = None, + dataset_id: Optional[pulumi.Input[str]] = None, + namespace: Optional[pulumi.Input[str]] = None, + object: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("dataset_type", dataset_type) if bucket is not None: - pulumi.set(__self__, "bucket", bucket) + _setter("bucket", bucket) if dataset_id is not None: - pulumi.set(__self__, "dataset_id", dataset_id) + _setter("dataset_id", dataset_id) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if object is not None: - pulumi.set(__self__, "object", object) + _setter("object", object) @property @pulumi.getter(name="datasetType") @@ -685,15 +812,32 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "dataset_type", dataset_type) + ModelValidationDatasetArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + dataset_type=dataset_type, + bucket=bucket, + dataset_id=dataset_id, + namespace=namespace, + object=object, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + dataset_type: pulumi.Input[str], + bucket: Optional[pulumi.Input[str]] = None, + dataset_id: Optional[pulumi.Input[str]] = None, + namespace: Optional[pulumi.Input[str]] = None, + object: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("dataset_type", dataset_type) if bucket is not None: - pulumi.set(__self__, "bucket", bucket) + _setter("bucket", bucket) if dataset_id is not None: - pulumi.set(__self__, "dataset_id", dataset_id) + _setter("dataset_id", dataset_id) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if object is not None: - pulumi.set(__self__, "object", object) + _setter("object", object) @property @pulumi.getter(name="datasetType") @@ -771,11 +915,24 @@ def __init__(__self__, *, :param pulumi.Input[str] data: Raw document data with Base64 encoding. :param pulumi.Input[Sequence[pulumi.Input['ProcessorJobInputLocationObjectLocationArgs']]] object_locations: The list of ObjectLocations. """ - pulumi.set(__self__, "source_type", source_type) + ProcessorJobInputLocationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + source_type=source_type, + data=data, + object_locations=object_locations, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + source_type: pulumi.Input[str], + data: Optional[pulumi.Input[str]] = None, + object_locations: Optional[pulumi.Input[Sequence[pulumi.Input['ProcessorJobInputLocationObjectLocationArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("source_type", source_type) if data is not None: - pulumi.set(__self__, "data", data) + _setter("data", data) if object_locations is not None: - pulumi.set(__self__, "object_locations", object_locations) + _setter("object_locations", object_locations) @property @pulumi.getter(name="sourceType") @@ -825,12 +982,25 @@ def __init__(__self__, *, :param pulumi.Input[str] namespace: The Object Storage namespace. :param pulumi.Input[str] object: The Object Storage object name. """ + ProcessorJobInputLocationObjectLocationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + namespace=namespace, + object=object, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: Optional[pulumi.Input[str]] = None, + namespace: Optional[pulumi.Input[str]] = None, + object: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if bucket is not None: - pulumi.set(__self__, "bucket", bucket) + _setter("bucket", bucket) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if object is not None: - pulumi.set(__self__, "object", object) + _setter("object", object) @property @pulumi.getter @@ -880,9 +1050,22 @@ def __init__(__self__, *, :param pulumi.Input[str] namespace: The Object Storage namespace. :param pulumi.Input[str] prefix: The Object Storage folder name. """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "prefix", prefix) + ProcessorJobOutputLocationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + namespace=namespace, + prefix=prefix, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: pulumi.Input[str], + namespace: pulumi.Input[str], + prefix: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("namespace", namespace) + _setter("prefix", prefix) @property @pulumi.getter @@ -940,14 +1123,31 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_zip_output_enabled: Whether or not to generate a ZIP file containing the results. :param pulumi.Input[str] language: The document language, abbreviated according to the BCP 47 Language-Tag syntax. """ - pulumi.set(__self__, "features", features) - pulumi.set(__self__, "processor_type", processor_type) + ProcessorJobProcessorConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + features=features, + processor_type=processor_type, + document_type=document_type, + is_zip_output_enabled=is_zip_output_enabled, + language=language, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + features: pulumi.Input[Sequence[pulumi.Input['ProcessorJobProcessorConfigFeatureArgs']]], + processor_type: pulumi.Input[str], + document_type: Optional[pulumi.Input[str]] = None, + is_zip_output_enabled: Optional[pulumi.Input[bool]] = None, + language: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("features", features) + _setter("processor_type", processor_type) if document_type is not None: - pulumi.set(__self__, "document_type", document_type) + _setter("document_type", document_type) if is_zip_output_enabled is not None: - pulumi.set(__self__, "is_zip_output_enabled", is_zip_output_enabled) + _setter("is_zip_output_enabled", is_zip_output_enabled) if language is not None: - pulumi.set(__self__, "language", language) + _setter("language", language) @property @pulumi.getter @@ -1029,15 +1229,32 @@ def __init__(__self__, *, :param pulumi.Input[str] model_id: The custom model ID. :param pulumi.Input[str] tenancy_id: The custom model tenancy ID when modelId represents aliasName. """ - pulumi.set(__self__, "feature_type", feature_type) + ProcessorJobProcessorConfigFeatureArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + feature_type=feature_type, + generate_searchable_pdf=generate_searchable_pdf, + max_results=max_results, + model_id=model_id, + tenancy_id=tenancy_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + feature_type: pulumi.Input[str], + generate_searchable_pdf: Optional[pulumi.Input[bool]] = None, + max_results: Optional[pulumi.Input[int]] = None, + model_id: Optional[pulumi.Input[str]] = None, + tenancy_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("feature_type", feature_type) if generate_searchable_pdf is not None: - pulumi.set(__self__, "generate_searchable_pdf", generate_searchable_pdf) + _setter("generate_searchable_pdf", generate_searchable_pdf) if max_results is not None: - pulumi.set(__self__, "max_results", max_results) + _setter("max_results", max_results) if model_id is not None: - pulumi.set(__self__, "model_id", model_id) + _setter("model_id", model_id) if tenancy_id is not None: - pulumi.set(__self__, "tenancy_id", tenancy_id) + _setter("tenancy_id", tenancy_id) @property @pulumi.getter(name="featureType") @@ -1106,10 +1323,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetModelsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1145,10 +1375,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetProjectsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/aidocument/get_model.py b/sdk/python/pulumi_oci/aidocument/get_model.py index dab0ad32a6..c6f0990662 100644 --- a/sdk/python/pulumi_oci/aidocument/get_model.py +++ b/sdk/python/pulumi_oci/aidocument/get_model.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/aidocument/get_models.py b/sdk/python/pulumi_oci/aidocument/get_models.py index 29fc9b6d8a..4cd442cd39 100644 --- a/sdk/python/pulumi_oci/aidocument/get_models.py +++ b/sdk/python/pulumi_oci/aidocument/get_models.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/aidocument/get_processor_job.py b/sdk/python/pulumi_oci/aidocument/get_processor_job.py index cbd30e94e5..43a7f55546 100644 --- a/sdk/python/pulumi_oci/aidocument/get_processor_job.py +++ b/sdk/python/pulumi_oci/aidocument/get_processor_job.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/aidocument/get_project.py b/sdk/python/pulumi_oci/aidocument/get_project.py index 59e7173a1c..d74a8ad94e 100644 --- a/sdk/python/pulumi_oci/aidocument/get_project.py +++ b/sdk/python/pulumi_oci/aidocument/get_project.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/aidocument/get_projects.py b/sdk/python/pulumi_oci/aidocument/get_projects.py index 6cde227a91..ea43b9633d 100644 --- a/sdk/python/pulumi_oci/aidocument/get_projects.py +++ b/sdk/python/pulumi_oci/aidocument/get_projects.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/aidocument/model.py b/sdk/python/pulumi_oci/aidocument/model.py index 02981eb18d..88e0cf73be 100644 --- a/sdk/python/pulumi_oci/aidocument/model.py +++ b/sdk/python/pulumi_oci/aidocument/model.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -43,39 +43,75 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. For example: `{"bar-key": "value"}` :param pulumi.Input[bool] is_quick_mode: Set to true when experimenting with a new model type or dataset, so the model training is quick, with a predefined low number of passes through the training data. :param pulumi.Input[float] max_training_time_in_hours: The maximum model training time in hours, expressed as a decimal fraction. - :param pulumi.Input[str] model_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of active custom Key Value model that need to be composed. :param pulumi.Input[str] model_version: The model version :param pulumi.Input['ModelTestingDatasetArgs'] testing_dataset: The base entity which is the input for creating and training a model. :param pulumi.Input['ModelTrainingDatasetArgs'] training_dataset: The base entity which is the input for creating and training a model. :param pulumi.Input['ModelValidationDatasetArgs'] validation_dataset: The base entity which is the input for creating and training a model. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "model_type", model_type) - pulumi.set(__self__, "project_id", project_id) + ModelArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + model_type=model_type, + project_id=project_id, + component_models=component_models, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + is_quick_mode=is_quick_mode, + max_training_time_in_hours=max_training_time_in_hours, + model_id=model_id, + model_version=model_version, + testing_dataset=testing_dataset, + training_dataset=training_dataset, + validation_dataset=validation_dataset, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + model_type: pulumi.Input[str], + project_id: pulumi.Input[str], + component_models: Optional[pulumi.Input[Sequence[pulumi.Input['ModelComponentModelArgs']]]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_quick_mode: Optional[pulumi.Input[bool]] = None, + max_training_time_in_hours: Optional[pulumi.Input[float]] = None, + model_id: Optional[pulumi.Input[str]] = None, + model_version: Optional[pulumi.Input[str]] = None, + testing_dataset: Optional[pulumi.Input['ModelTestingDatasetArgs']] = None, + training_dataset: Optional[pulumi.Input['ModelTrainingDatasetArgs']] = None, + validation_dataset: Optional[pulumi.Input['ModelValidationDatasetArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("model_type", model_type) + _setter("project_id", project_id) if component_models is not None: - pulumi.set(__self__, "component_models", component_models) + _setter("component_models", component_models) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_quick_mode is not None: - pulumi.set(__self__, "is_quick_mode", is_quick_mode) + _setter("is_quick_mode", is_quick_mode) if max_training_time_in_hours is not None: - pulumi.set(__self__, "max_training_time_in_hours", max_training_time_in_hours) + _setter("max_training_time_in_hours", max_training_time_in_hours) if model_id is not None: - pulumi.set(__self__, "model_id", model_id) + _setter("model_id", model_id) if model_version is not None: - pulumi.set(__self__, "model_version", model_version) + _setter("model_version", model_version) if testing_dataset is not None: - pulumi.set(__self__, "testing_dataset", testing_dataset) + _setter("testing_dataset", testing_dataset) if training_dataset is not None: - pulumi.set(__self__, "training_dataset", training_dataset) + _setter("training_dataset", training_dataset) if validation_dataset is not None: - pulumi.set(__self__, "validation_dataset", validation_dataset) + _setter("validation_dataset", validation_dataset) @property @pulumi.getter(name="compartmentId") @@ -200,9 +236,6 @@ def max_training_time_in_hours(self, value: Optional[pulumi.Input[float]]): @property @pulumi.getter(name="modelId") def model_id(self) -> Optional[pulumi.Input[str]]: - """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of active custom Key Value model that need to be composed. - """ return pulumi.get(self, "model_id") @model_id.setter @@ -300,7 +333,6 @@ def __init__(__self__, *, :param pulumi.Input[str] lifecycle_details: A message describing the current state in more detail, that can provide actionable information if training failed. :param pulumi.Input[float] max_training_time_in_hours: The maximum model training time in hours, expressed as a decimal fraction. :param pulumi.Input[Sequence[pulumi.Input['ModelMetricArgs']]] metrics: Trained Model Metrics. - :param pulumi.Input[str] model_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of active custom Key Value model that need to be composed. :param pulumi.Input[str] model_type: The type of the Document model. :param pulumi.Input[str] model_version: The model version :param pulumi.Input[str] project_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project that contains the model. @@ -314,56 +346,113 @@ def __init__(__self__, *, :param pulumi.Input['ModelTrainingDatasetArgs'] training_dataset: The base entity which is the input for creating and training a model. :param pulumi.Input['ModelValidationDatasetArgs'] validation_dataset: The base entity which is the input for creating and training a model. """ + _ModelState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + component_models=component_models, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + is_composed_model=is_composed_model, + is_quick_mode=is_quick_mode, + labels=labels, + lifecycle_details=lifecycle_details, + max_training_time_in_hours=max_training_time_in_hours, + metrics=metrics, + model_id=model_id, + model_type=model_type, + model_version=model_version, + project_id=project_id, + state=state, + system_tags=system_tags, + tenancy_id=tenancy_id, + testing_dataset=testing_dataset, + time_created=time_created, + time_updated=time_updated, + trained_time_in_hours=trained_time_in_hours, + training_dataset=training_dataset, + validation_dataset=validation_dataset, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + component_models: Optional[pulumi.Input[Sequence[pulumi.Input['ModelComponentModelArgs']]]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_composed_model: Optional[pulumi.Input[bool]] = None, + is_quick_mode: Optional[pulumi.Input[bool]] = None, + labels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + max_training_time_in_hours: Optional[pulumi.Input[float]] = None, + metrics: Optional[pulumi.Input[Sequence[pulumi.Input['ModelMetricArgs']]]] = None, + model_id: Optional[pulumi.Input[str]] = None, + model_type: Optional[pulumi.Input[str]] = None, + model_version: Optional[pulumi.Input[str]] = None, + project_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + tenancy_id: Optional[pulumi.Input[str]] = None, + testing_dataset: Optional[pulumi.Input['ModelTestingDatasetArgs']] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + trained_time_in_hours: Optional[pulumi.Input[float]] = None, + training_dataset: Optional[pulumi.Input['ModelTrainingDatasetArgs']] = None, + validation_dataset: Optional[pulumi.Input['ModelValidationDatasetArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if component_models is not None: - pulumi.set(__self__, "component_models", component_models) + _setter("component_models", component_models) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_composed_model is not None: - pulumi.set(__self__, "is_composed_model", is_composed_model) + _setter("is_composed_model", is_composed_model) if is_quick_mode is not None: - pulumi.set(__self__, "is_quick_mode", is_quick_mode) + _setter("is_quick_mode", is_quick_mode) if labels is not None: - pulumi.set(__self__, "labels", labels) + _setter("labels", labels) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if max_training_time_in_hours is not None: - pulumi.set(__self__, "max_training_time_in_hours", max_training_time_in_hours) + _setter("max_training_time_in_hours", max_training_time_in_hours) if metrics is not None: - pulumi.set(__self__, "metrics", metrics) + _setter("metrics", metrics) if model_id is not None: - pulumi.set(__self__, "model_id", model_id) + _setter("model_id", model_id) if model_type is not None: - pulumi.set(__self__, "model_type", model_type) + _setter("model_type", model_type) if model_version is not None: - pulumi.set(__self__, "model_version", model_version) + _setter("model_version", model_version) if project_id is not None: - pulumi.set(__self__, "project_id", project_id) + _setter("project_id", project_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if tenancy_id is not None: - pulumi.set(__self__, "tenancy_id", tenancy_id) + _setter("tenancy_id", tenancy_id) if testing_dataset is not None: - pulumi.set(__self__, "testing_dataset", testing_dataset) + _setter("testing_dataset", testing_dataset) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if trained_time_in_hours is not None: - pulumi.set(__self__, "trained_time_in_hours", trained_time_in_hours) + _setter("trained_time_in_hours", trained_time_in_hours) if training_dataset is not None: - pulumi.set(__self__, "training_dataset", training_dataset) + _setter("training_dataset", training_dataset) if validation_dataset is not None: - pulumi.set(__self__, "validation_dataset", validation_dataset) + _setter("validation_dataset", validation_dataset) @property @pulumi.getter(name="compartmentId") @@ -512,9 +601,6 @@ def metrics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ModelMetri @property @pulumi.getter(name="modelId") def model_id(self) -> Optional[pulumi.Input[str]]: - """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of active custom Key Value model that need to be composed. - """ return pulumi.get(self, "model_id") @model_id.setter @@ -712,7 +798,6 @@ def __init__(__self__, :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) A simple key-value pair that is applied without any predefined name, type, or scope. It exists for cross-compatibility only. For example: `{"bar-key": "value"}` :param pulumi.Input[bool] is_quick_mode: Set to true when experimenting with a new model type or dataset, so the model training is quick, with a predefined low number of passes through the training data. :param pulumi.Input[float] max_training_time_in_hours: The maximum model training time in hours, expressed as a decimal fraction. - :param pulumi.Input[str] model_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of active custom Key Value model that need to be composed. :param pulumi.Input[str] model_type: The type of the Document model. :param pulumi.Input[str] model_version: The model version :param pulumi.Input[str] project_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project that contains the model. @@ -751,6 +836,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ModelArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -798,8 +887,23 @@ def _internal_init(__self__, if project_id is None and not opts.urn: raise TypeError("Missing required property 'project_id'") __props__.__dict__["project_id"] = project_id + if testing_dataset is not None and not isinstance(testing_dataset, ModelTestingDatasetArgs): + testing_dataset = testing_dataset or {} + def _setter(key, value): + testing_dataset[key] = value + ModelTestingDatasetArgs._configure(_setter, **testing_dataset) __props__.__dict__["testing_dataset"] = testing_dataset + if training_dataset is not None and not isinstance(training_dataset, ModelTrainingDatasetArgs): + training_dataset = training_dataset or {} + def _setter(key, value): + training_dataset[key] = value + ModelTrainingDatasetArgs._configure(_setter, **training_dataset) __props__.__dict__["training_dataset"] = training_dataset + if validation_dataset is not None and not isinstance(validation_dataset, ModelValidationDatasetArgs): + validation_dataset = validation_dataset or {} + def _setter(key, value): + validation_dataset[key] = value + ModelValidationDatasetArgs._configure(_setter, **validation_dataset) __props__.__dict__["validation_dataset"] = validation_dataset __props__.__dict__["is_composed_model"] = None __props__.__dict__["labels"] = None @@ -865,7 +969,6 @@ def get(resource_name: str, :param pulumi.Input[str] lifecycle_details: A message describing the current state in more detail, that can provide actionable information if training failed. :param pulumi.Input[float] max_training_time_in_hours: The maximum model training time in hours, expressed as a decimal fraction. :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['ModelMetricArgs']]]] metrics: Trained Model Metrics. - :param pulumi.Input[str] model_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of active custom Key Value model that need to be composed. :param pulumi.Input[str] model_type: The type of the Document model. :param pulumi.Input[str] model_version: The model version :param pulumi.Input[str] project_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the project that contains the model. @@ -1009,9 +1112,6 @@ def metrics(self) -> pulumi.Output[Sequence['outputs.ModelMetric']]: @property @pulumi.getter(name="modelId") def model_id(self) -> pulumi.Output[Optional[str]]: - """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of active custom Key Value model that need to be composed. - """ return pulumi.get(self, "model_id") @property diff --git a/sdk/python/pulumi_oci/aidocument/outputs.py b/sdk/python/pulumi_oci/aidocument/outputs.py index 252c7affcf..e45a06240f 100644 --- a/sdk/python/pulumi_oci/aidocument/outputs.py +++ b/sdk/python/pulumi_oci/aidocument/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -80,18 +80,21 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, model_id: Optional[str] = None): - """ - :param str model_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of active custom Key Value model that need to be composed. - """ + ModelComponentModel._configure( + lambda key, value: pulumi.set(__self__, key, value), + model_id=model_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + model_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if model_id is not None: - pulumi.set(__self__, "model_id", model_id) + _setter("model_id", model_id) @property @pulumi.getter(name="modelId") def model_id(self) -> Optional[str]: - """ - The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of active custom Key Value model that need to be composed. - """ return pulumi.get(self, "model_id") @@ -131,14 +134,29 @@ def __init__(__self__, *, :param str model_type: The type of the Document model. :param Sequence['ModelMetricOverallMetricsReportArgs'] overall_metrics_reports: Overall Metrics report for Document Classification Model. """ + ModelMetric._configure( + lambda key, value: pulumi.set(__self__, key, value), + dataset_summaries=dataset_summaries, + label_metrics_reports=label_metrics_reports, + model_type=model_type, + overall_metrics_reports=overall_metrics_reports, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + dataset_summaries: Optional[Sequence['outputs.ModelMetricDatasetSummary']] = None, + label_metrics_reports: Optional[Sequence['outputs.ModelMetricLabelMetricsReport']] = None, + model_type: Optional[str] = None, + overall_metrics_reports: Optional[Sequence['outputs.ModelMetricOverallMetricsReport']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if dataset_summaries is not None: - pulumi.set(__self__, "dataset_summaries", dataset_summaries) + _setter("dataset_summaries", dataset_summaries) if label_metrics_reports is not None: - pulumi.set(__self__, "label_metrics_reports", label_metrics_reports) + _setter("label_metrics_reports", label_metrics_reports) if model_type is not None: - pulumi.set(__self__, "model_type", model_type) + _setter("model_type", model_type) if overall_metrics_reports is not None: - pulumi.set(__self__, "overall_metrics_reports", overall_metrics_reports) + _setter("overall_metrics_reports", overall_metrics_reports) @property @pulumi.getter(name="datasetSummaries") @@ -205,12 +223,25 @@ def __init__(__self__, *, :param int training_sample_count: Number of samples used for training the model. :param int validation_sample_count: Number of samples used for validating the model. """ + ModelMetricDatasetSummary._configure( + lambda key, value: pulumi.set(__self__, key, value), + test_sample_count=test_sample_count, + training_sample_count=training_sample_count, + validation_sample_count=validation_sample_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + test_sample_count: Optional[int] = None, + training_sample_count: Optional[int] = None, + validation_sample_count: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if test_sample_count is not None: - pulumi.set(__self__, "test_sample_count", test_sample_count) + _setter("test_sample_count", test_sample_count) if training_sample_count is not None: - pulumi.set(__self__, "training_sample_count", training_sample_count) + _setter("training_sample_count", training_sample_count) if validation_sample_count is not None: - pulumi.set(__self__, "validation_sample_count", validation_sample_count) + _setter("validation_sample_count", validation_sample_count) @property @pulumi.getter(name="testSampleCount") @@ -271,14 +302,29 @@ def __init__(__self__, *, :param str label: Label name :param float mean_average_precision: Mean average precision under different thresholds """ + ModelMetricLabelMetricsReport._configure( + lambda key, value: pulumi.set(__self__, key, value), + confidence_entries=confidence_entries, + document_count=document_count, + label=label, + mean_average_precision=mean_average_precision, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + confidence_entries: Optional[Sequence['outputs.ModelMetricLabelMetricsReportConfidenceEntry']] = None, + document_count: Optional[int] = None, + label: Optional[str] = None, + mean_average_precision: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions]=None): if confidence_entries is not None: - pulumi.set(__self__, "confidence_entries", confidence_entries) + _setter("confidence_entries", confidence_entries) if document_count is not None: - pulumi.set(__self__, "document_count", document_count) + _setter("document_count", document_count) if label is not None: - pulumi.set(__self__, "label", label) + _setter("label", label) if mean_average_precision is not None: - pulumi.set(__self__, "mean_average_precision", mean_average_precision) + _setter("mean_average_precision", mean_average_precision) @property @pulumi.getter(name="confidenceEntries") @@ -328,16 +374,33 @@ def __init__(__self__, *, :param float recall: Recall under the threshold :param float threshold: Threshold used to calculate precision and recall. """ + ModelMetricLabelMetricsReportConfidenceEntry._configure( + lambda key, value: pulumi.set(__self__, key, value), + accuracy=accuracy, + f1score=f1score, + precision=precision, + recall=recall, + threshold=threshold, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + accuracy: Optional[float] = None, + f1score: Optional[float] = None, + precision: Optional[float] = None, + recall: Optional[float] = None, + threshold: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions]=None): if accuracy is not None: - pulumi.set(__self__, "accuracy", accuracy) + _setter("accuracy", accuracy) if f1score is not None: - pulumi.set(__self__, "f1score", f1score) + _setter("f1score", f1score) if precision is not None: - pulumi.set(__self__, "precision", precision) + _setter("precision", precision) if recall is not None: - pulumi.set(__self__, "recall", recall) + _setter("recall", recall) if threshold is not None: - pulumi.set(__self__, "threshold", threshold) + _setter("threshold", threshold) @property @pulumi.getter @@ -412,12 +475,25 @@ def __init__(__self__, *, :param int document_count: Total test documents in the label. :param float mean_average_precision: Mean average precision under different thresholds """ + ModelMetricOverallMetricsReport._configure( + lambda key, value: pulumi.set(__self__, key, value), + confidence_entries=confidence_entries, + document_count=document_count, + mean_average_precision=mean_average_precision, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + confidence_entries: Optional[Sequence['outputs.ModelMetricOverallMetricsReportConfidenceEntry']] = None, + document_count: Optional[int] = None, + mean_average_precision: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions]=None): if confidence_entries is not None: - pulumi.set(__self__, "confidence_entries", confidence_entries) + _setter("confidence_entries", confidence_entries) if document_count is not None: - pulumi.set(__self__, "document_count", document_count) + _setter("document_count", document_count) if mean_average_precision is not None: - pulumi.set(__self__, "mean_average_precision", mean_average_precision) + _setter("mean_average_precision", mean_average_precision) @property @pulumi.getter(name="confidenceEntries") @@ -459,16 +535,33 @@ def __init__(__self__, *, :param float recall: Recall under the threshold :param float threshold: Threshold used to calculate precision and recall. """ + ModelMetricOverallMetricsReportConfidenceEntry._configure( + lambda key, value: pulumi.set(__self__, key, value), + accuracy=accuracy, + f1score=f1score, + precision=precision, + recall=recall, + threshold=threshold, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + accuracy: Optional[float] = None, + f1score: Optional[float] = None, + precision: Optional[float] = None, + recall: Optional[float] = None, + threshold: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions]=None): if accuracy is not None: - pulumi.set(__self__, "accuracy", accuracy) + _setter("accuracy", accuracy) if f1score is not None: - pulumi.set(__self__, "f1score", f1score) + _setter("f1score", f1score) if precision is not None: - pulumi.set(__self__, "precision", precision) + _setter("precision", precision) if recall is not None: - pulumi.set(__self__, "recall", recall) + _setter("recall", recall) if threshold is not None: - pulumi.set(__self__, "threshold", threshold) + _setter("threshold", threshold) @property @pulumi.getter @@ -549,15 +642,32 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "dataset_type", dataset_type) + ModelTestingDataset._configure( + lambda key, value: pulumi.set(__self__, key, value), + dataset_type=dataset_type, + bucket=bucket, + dataset_id=dataset_id, + namespace=namespace, + object=object, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + dataset_type: str, + bucket: Optional[str] = None, + dataset_id: Optional[str] = None, + namespace: Optional[str] = None, + object: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("dataset_type", dataset_type) if bucket is not None: - pulumi.set(__self__, "bucket", bucket) + _setter("bucket", bucket) if dataset_id is not None: - pulumi.set(__self__, "dataset_id", dataset_id) + _setter("dataset_id", dataset_id) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if object is not None: - pulumi.set(__self__, "object", object) + _setter("object", object) @property @pulumi.getter(name="datasetType") @@ -642,15 +752,32 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "dataset_type", dataset_type) + ModelTrainingDataset._configure( + lambda key, value: pulumi.set(__self__, key, value), + dataset_type=dataset_type, + bucket=bucket, + dataset_id=dataset_id, + namespace=namespace, + object=object, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + dataset_type: str, + bucket: Optional[str] = None, + dataset_id: Optional[str] = None, + namespace: Optional[str] = None, + object: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("dataset_type", dataset_type) if bucket is not None: - pulumi.set(__self__, "bucket", bucket) + _setter("bucket", bucket) if dataset_id is not None: - pulumi.set(__self__, "dataset_id", dataset_id) + _setter("dataset_id", dataset_id) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if object is not None: - pulumi.set(__self__, "object", object) + _setter("object", object) @property @pulumi.getter(name="datasetType") @@ -735,15 +862,32 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "dataset_type", dataset_type) + ModelValidationDataset._configure( + lambda key, value: pulumi.set(__self__, key, value), + dataset_type=dataset_type, + bucket=bucket, + dataset_id=dataset_id, + namespace=namespace, + object=object, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + dataset_type: str, + bucket: Optional[str] = None, + dataset_id: Optional[str] = None, + namespace: Optional[str] = None, + object: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("dataset_type", dataset_type) if bucket is not None: - pulumi.set(__self__, "bucket", bucket) + _setter("bucket", bucket) if dataset_id is not None: - pulumi.set(__self__, "dataset_id", dataset_id) + _setter("dataset_id", dataset_id) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if object is not None: - pulumi.set(__self__, "object", object) + _setter("object", object) @property @pulumi.getter(name="datasetType") @@ -820,11 +964,24 @@ def __init__(__self__, *, :param str data: Raw document data with Base64 encoding. :param Sequence['ProcessorJobInputLocationObjectLocationArgs'] object_locations: The list of ObjectLocations. """ - pulumi.set(__self__, "source_type", source_type) + ProcessorJobInputLocation._configure( + lambda key, value: pulumi.set(__self__, key, value), + source_type=source_type, + data=data, + object_locations=object_locations, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + source_type: str, + data: Optional[str] = None, + object_locations: Optional[Sequence['outputs.ProcessorJobInputLocationObjectLocation']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("source_type", source_type) if data is not None: - pulumi.set(__self__, "data", data) + _setter("data", data) if object_locations is not None: - pulumi.set(__self__, "object_locations", object_locations) + _setter("object_locations", object_locations) @property @pulumi.getter(name="sourceType") @@ -862,12 +1019,25 @@ def __init__(__self__, *, :param str namespace: The Object Storage namespace. :param str object: The Object Storage object name. """ + ProcessorJobInputLocationObjectLocation._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + namespace=namespace, + object=object, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: Optional[str] = None, + namespace: Optional[str] = None, + object: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if bucket is not None: - pulumi.set(__self__, "bucket", bucket) + _setter("bucket", bucket) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if object is not None: - pulumi.set(__self__, "object", object) + _setter("object", object) @property @pulumi.getter @@ -905,9 +1075,22 @@ def __init__(__self__, *, :param str namespace: The Object Storage namespace. :param str prefix: The Object Storage folder name. """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "prefix", prefix) + ProcessorJobOutputLocation._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + namespace=namespace, + prefix=prefix, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + namespace: str, + prefix: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("namespace", namespace) + _setter("prefix", prefix) @property @pulumi.getter @@ -974,14 +1157,31 @@ def __init__(__self__, *, :param bool is_zip_output_enabled: Whether or not to generate a ZIP file containing the results. :param str language: The document language, abbreviated according to the BCP 47 Language-Tag syntax. """ - pulumi.set(__self__, "features", features) - pulumi.set(__self__, "processor_type", processor_type) + ProcessorJobProcessorConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + features=features, + processor_type=processor_type, + document_type=document_type, + is_zip_output_enabled=is_zip_output_enabled, + language=language, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + features: Sequence['outputs.ProcessorJobProcessorConfigFeature'], + processor_type: str, + document_type: Optional[str] = None, + is_zip_output_enabled: Optional[bool] = None, + language: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("features", features) + _setter("processor_type", processor_type) if document_type is not None: - pulumi.set(__self__, "document_type", document_type) + _setter("document_type", document_type) if is_zip_output_enabled is not None: - pulumi.set(__self__, "is_zip_output_enabled", is_zip_output_enabled) + _setter("is_zip_output_enabled", is_zip_output_enabled) if language is not None: - pulumi.set(__self__, "language", language) + _setter("language", language) @property @pulumi.getter @@ -1068,15 +1268,32 @@ def __init__(__self__, *, :param str model_id: The custom model ID. :param str tenancy_id: The custom model tenancy ID when modelId represents aliasName. """ - pulumi.set(__self__, "feature_type", feature_type) + ProcessorJobProcessorConfigFeature._configure( + lambda key, value: pulumi.set(__self__, key, value), + feature_type=feature_type, + generate_searchable_pdf=generate_searchable_pdf, + max_results=max_results, + model_id=model_id, + tenancy_id=tenancy_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + feature_type: str, + generate_searchable_pdf: Optional[bool] = None, + max_results: Optional[int] = None, + model_id: Optional[str] = None, + tenancy_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("feature_type", feature_type) if generate_searchable_pdf is not None: - pulumi.set(__self__, "generate_searchable_pdf", generate_searchable_pdf) + _setter("generate_searchable_pdf", generate_searchable_pdf) if max_results is not None: - pulumi.set(__self__, "max_results", max_results) + _setter("max_results", max_results) if model_id is not None: - pulumi.set(__self__, "model_id", model_id) + _setter("model_id", model_id) if tenancy_id is not None: - pulumi.set(__self__, "tenancy_id", tenancy_id) + _setter("tenancy_id", tenancy_id) @property @pulumi.getter(name="featureType") @@ -1126,7 +1343,16 @@ def __init__(__self__, *, """ :param str model_id: A unique model identifier. """ - pulumi.set(__self__, "model_id", model_id) + GetModelComponentModelResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + model_id=model_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + model_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("model_id", model_id) @property @pulumi.getter(name="modelId") @@ -1150,10 +1376,25 @@ def __init__(__self__, *, :param str model_type: The type of the Document model. :param Sequence['GetModelMetricOverallMetricsReportArgs'] overall_metrics_reports: Overall Metrics report for Document Classification Model. """ - pulumi.set(__self__, "dataset_summaries", dataset_summaries) - pulumi.set(__self__, "label_metrics_reports", label_metrics_reports) - pulumi.set(__self__, "model_type", model_type) - pulumi.set(__self__, "overall_metrics_reports", overall_metrics_reports) + GetModelMetricResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + dataset_summaries=dataset_summaries, + label_metrics_reports=label_metrics_reports, + model_type=model_type, + overall_metrics_reports=overall_metrics_reports, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + dataset_summaries: Sequence['outputs.GetModelMetricDatasetSummaryResult'], + label_metrics_reports: Sequence['outputs.GetModelMetricLabelMetricsReportResult'], + model_type: str, + overall_metrics_reports: Sequence['outputs.GetModelMetricOverallMetricsReportResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("dataset_summaries", dataset_summaries) + _setter("label_metrics_reports", label_metrics_reports) + _setter("model_type", model_type) + _setter("overall_metrics_reports", overall_metrics_reports) @property @pulumi.getter(name="datasetSummaries") @@ -1199,9 +1440,22 @@ def __init__(__self__, *, :param int training_sample_count: Number of samples used for training the model. :param int validation_sample_count: Number of samples used for validating the model. """ - pulumi.set(__self__, "test_sample_count", test_sample_count) - pulumi.set(__self__, "training_sample_count", training_sample_count) - pulumi.set(__self__, "validation_sample_count", validation_sample_count) + GetModelMetricDatasetSummaryResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + test_sample_count=test_sample_count, + training_sample_count=training_sample_count, + validation_sample_count=validation_sample_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + test_sample_count: int, + training_sample_count: int, + validation_sample_count: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("test_sample_count", test_sample_count) + _setter("training_sample_count", training_sample_count) + _setter("validation_sample_count", validation_sample_count) @property @pulumi.getter(name="testSampleCount") @@ -1241,10 +1495,25 @@ def __init__(__self__, *, :param str label: Label name :param float mean_average_precision: Mean average precision under different thresholds """ - pulumi.set(__self__, "confidence_entries", confidence_entries) - pulumi.set(__self__, "document_count", document_count) - pulumi.set(__self__, "label", label) - pulumi.set(__self__, "mean_average_precision", mean_average_precision) + GetModelMetricLabelMetricsReportResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + confidence_entries=confidence_entries, + document_count=document_count, + label=label, + mean_average_precision=mean_average_precision, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + confidence_entries: Sequence['outputs.GetModelMetricLabelMetricsReportConfidenceEntryResult'], + document_count: int, + label: str, + mean_average_precision: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("confidence_entries", confidence_entries) + _setter("document_count", document_count) + _setter("label", label) + _setter("mean_average_precision", mean_average_precision) @property @pulumi.getter(name="confidenceEntries") @@ -1294,11 +1563,28 @@ def __init__(__self__, *, :param float recall: Recall under the threshold :param float threshold: Threshold used to calculate precision and recall. """ - pulumi.set(__self__, "accuracy", accuracy) - pulumi.set(__self__, "f1score", f1score) - pulumi.set(__self__, "precision", precision) - pulumi.set(__self__, "recall", recall) - pulumi.set(__self__, "threshold", threshold) + GetModelMetricLabelMetricsReportConfidenceEntryResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + accuracy=accuracy, + f1score=f1score, + precision=precision, + recall=recall, + threshold=threshold, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + accuracy: float, + f1score: float, + precision: float, + recall: float, + threshold: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("accuracy", accuracy) + _setter("f1score", f1score) + _setter("precision", precision) + _setter("recall", recall) + _setter("threshold", threshold) @property @pulumi.getter @@ -1352,9 +1638,22 @@ def __init__(__self__, *, :param int document_count: Total test documents in the label. :param float mean_average_precision: Mean average precision under different thresholds """ - pulumi.set(__self__, "confidence_entries", confidence_entries) - pulumi.set(__self__, "document_count", document_count) - pulumi.set(__self__, "mean_average_precision", mean_average_precision) + GetModelMetricOverallMetricsReportResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + confidence_entries=confidence_entries, + document_count=document_count, + mean_average_precision=mean_average_precision, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + confidence_entries: Sequence['outputs.GetModelMetricOverallMetricsReportConfidenceEntryResult'], + document_count: int, + mean_average_precision: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("confidence_entries", confidence_entries) + _setter("document_count", document_count) + _setter("mean_average_precision", mean_average_precision) @property @pulumi.getter(name="confidenceEntries") @@ -1396,11 +1695,28 @@ def __init__(__self__, *, :param float recall: Recall under the threshold :param float threshold: Threshold used to calculate precision and recall. """ - pulumi.set(__self__, "accuracy", accuracy) - pulumi.set(__self__, "f1score", f1score) - pulumi.set(__self__, "precision", precision) - pulumi.set(__self__, "recall", recall) - pulumi.set(__self__, "threshold", threshold) + GetModelMetricOverallMetricsReportConfidenceEntryResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + accuracy=accuracy, + f1score=f1score, + precision=precision, + recall=recall, + threshold=threshold, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + accuracy: float, + f1score: float, + precision: float, + recall: float, + threshold: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("accuracy", accuracy) + _setter("f1score", f1score) + _setter("precision", precision) + _setter("recall", recall) + _setter("threshold", threshold) @property @pulumi.getter @@ -1458,11 +1774,28 @@ def __init__(__self__, *, :param str namespace: The namespace name of the Object Storage bucket that contains the input data file. :param str object: The object name of the input data file. """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "dataset_id", dataset_id) - pulumi.set(__self__, "dataset_type", dataset_type) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "object", object) + GetModelTestingDatasetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + dataset_id=dataset_id, + dataset_type=dataset_type, + namespace=namespace, + object=object, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + dataset_id: str, + dataset_type: str, + namespace: str, + object: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("dataset_id", dataset_id) + _setter("dataset_type", dataset_type) + _setter("namespace", namespace) + _setter("object", object) @property @pulumi.getter @@ -1520,11 +1853,28 @@ def __init__(__self__, *, :param str namespace: The namespace name of the Object Storage bucket that contains the input data file. :param str object: The object name of the input data file. """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "dataset_id", dataset_id) - pulumi.set(__self__, "dataset_type", dataset_type) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "object", object) + GetModelTrainingDatasetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + dataset_id=dataset_id, + dataset_type=dataset_type, + namespace=namespace, + object=object, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + dataset_id: str, + dataset_type: str, + namespace: str, + object: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("dataset_id", dataset_id) + _setter("dataset_type", dataset_type) + _setter("namespace", namespace) + _setter("object", object) @property @pulumi.getter @@ -1582,11 +1932,28 @@ def __init__(__self__, *, :param str namespace: The namespace name of the Object Storage bucket that contains the input data file. :param str object: The object name of the input data file. """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "dataset_id", dataset_id) - pulumi.set(__self__, "dataset_type", dataset_type) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "object", object) + GetModelValidationDatasetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + dataset_id=dataset_id, + dataset_type=dataset_type, + namespace=namespace, + object=object, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + dataset_id: str, + dataset_type: str, + namespace: str, + object: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("dataset_id", dataset_id) + _setter("dataset_type", dataset_type) + _setter("namespace", namespace) + _setter("object", object) @property @pulumi.getter @@ -1635,10 +2002,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetModelsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1660,7 +2040,16 @@ def regex(self) -> Optional[bool]: class GetModelsModelCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetModelsModelCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetModelsModelCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetModelsModelCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1725,32 +2114,91 @@ def __init__(__self__, *, :param Sequence['GetModelsModelCollectionItemTrainingDatasetArgs'] training_datasets: The base entity which is the input for creating and training a model. :param Sequence['GetModelsModelCollectionItemValidationDatasetArgs'] validation_datasets: The base entity which is the input for creating and training a model. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "component_models", component_models) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_composed_model", is_composed_model) - pulumi.set(__self__, "is_quick_mode", is_quick_mode) - pulumi.set(__self__, "labels", labels) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "max_training_time_in_hours", max_training_time_in_hours) - pulumi.set(__self__, "metrics", metrics) - pulumi.set(__self__, "model_id", model_id) - pulumi.set(__self__, "model_type", model_type) - pulumi.set(__self__, "model_version", model_version) - pulumi.set(__self__, "project_id", project_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "tenancy_id", tenancy_id) - pulumi.set(__self__, "testing_datasets", testing_datasets) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "trained_time_in_hours", trained_time_in_hours) - pulumi.set(__self__, "training_datasets", training_datasets) - pulumi.set(__self__, "validation_datasets", validation_datasets) + GetModelsModelCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + component_models=component_models, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + is_composed_model=is_composed_model, + is_quick_mode=is_quick_mode, + labels=labels, + lifecycle_details=lifecycle_details, + max_training_time_in_hours=max_training_time_in_hours, + metrics=metrics, + model_id=model_id, + model_type=model_type, + model_version=model_version, + project_id=project_id, + state=state, + system_tags=system_tags, + tenancy_id=tenancy_id, + testing_datasets=testing_datasets, + time_created=time_created, + time_updated=time_updated, + trained_time_in_hours=trained_time_in_hours, + training_datasets=training_datasets, + validation_datasets=validation_datasets, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + component_models: Sequence['outputs.GetModelsModelCollectionItemComponentModelResult'], + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + is_composed_model: bool, + is_quick_mode: bool, + labels: Sequence[str], + lifecycle_details: str, + max_training_time_in_hours: float, + metrics: Sequence['outputs.GetModelsModelCollectionItemMetricResult'], + model_id: str, + model_type: str, + model_version: str, + project_id: str, + state: str, + system_tags: Mapping[str, Any], + tenancy_id: str, + testing_datasets: Sequence['outputs.GetModelsModelCollectionItemTestingDatasetResult'], + time_created: str, + time_updated: str, + trained_time_in_hours: float, + training_datasets: Sequence['outputs.GetModelsModelCollectionItemTrainingDatasetResult'], + validation_datasets: Sequence['outputs.GetModelsModelCollectionItemValidationDatasetResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("component_models", component_models) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_composed_model", is_composed_model) + _setter("is_quick_mode", is_quick_mode) + _setter("labels", labels) + _setter("lifecycle_details", lifecycle_details) + _setter("max_training_time_in_hours", max_training_time_in_hours) + _setter("metrics", metrics) + _setter("model_id", model_id) + _setter("model_type", model_type) + _setter("model_version", model_version) + _setter("project_id", project_id) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("tenancy_id", tenancy_id) + _setter("testing_datasets", testing_datasets) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("trained_time_in_hours", trained_time_in_hours) + _setter("training_datasets", training_datasets) + _setter("validation_datasets", validation_datasets) @property @pulumi.getter(name="compartmentId") @@ -1968,7 +2416,16 @@ def __init__(__self__, *, """ :param str model_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of active custom Key Value model that need to be composed. """ - pulumi.set(__self__, "model_id", model_id) + GetModelsModelCollectionItemComponentModelResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + model_id=model_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + model_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("model_id", model_id) @property @pulumi.getter(name="modelId") @@ -1992,10 +2449,25 @@ def __init__(__self__, *, :param str model_type: The type of the Document model. :param Sequence['GetModelsModelCollectionItemMetricOverallMetricsReportArgs'] overall_metrics_reports: Overall Metrics report for Document Classification Model. """ - pulumi.set(__self__, "dataset_summaries", dataset_summaries) - pulumi.set(__self__, "label_metrics_reports", label_metrics_reports) - pulumi.set(__self__, "model_type", model_type) - pulumi.set(__self__, "overall_metrics_reports", overall_metrics_reports) + GetModelsModelCollectionItemMetricResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + dataset_summaries=dataset_summaries, + label_metrics_reports=label_metrics_reports, + model_type=model_type, + overall_metrics_reports=overall_metrics_reports, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + dataset_summaries: Sequence['outputs.GetModelsModelCollectionItemMetricDatasetSummaryResult'], + label_metrics_reports: Sequence['outputs.GetModelsModelCollectionItemMetricLabelMetricsReportResult'], + model_type: str, + overall_metrics_reports: Sequence['outputs.GetModelsModelCollectionItemMetricOverallMetricsReportResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("dataset_summaries", dataset_summaries) + _setter("label_metrics_reports", label_metrics_reports) + _setter("model_type", model_type) + _setter("overall_metrics_reports", overall_metrics_reports) @property @pulumi.getter(name="datasetSummaries") @@ -2041,9 +2513,22 @@ def __init__(__self__, *, :param int training_sample_count: Number of samples used for training the model. :param int validation_sample_count: Number of samples used for validating the model. """ - pulumi.set(__self__, "test_sample_count", test_sample_count) - pulumi.set(__self__, "training_sample_count", training_sample_count) - pulumi.set(__self__, "validation_sample_count", validation_sample_count) + GetModelsModelCollectionItemMetricDatasetSummaryResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + test_sample_count=test_sample_count, + training_sample_count=training_sample_count, + validation_sample_count=validation_sample_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + test_sample_count: int, + training_sample_count: int, + validation_sample_count: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("test_sample_count", test_sample_count) + _setter("training_sample_count", training_sample_count) + _setter("validation_sample_count", validation_sample_count) @property @pulumi.getter(name="testSampleCount") @@ -2083,10 +2568,25 @@ def __init__(__self__, *, :param str label: Label name :param float mean_average_precision: Mean average precision under different thresholds """ - pulumi.set(__self__, "confidence_entries", confidence_entries) - pulumi.set(__self__, "document_count", document_count) - pulumi.set(__self__, "label", label) - pulumi.set(__self__, "mean_average_precision", mean_average_precision) + GetModelsModelCollectionItemMetricLabelMetricsReportResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + confidence_entries=confidence_entries, + document_count=document_count, + label=label, + mean_average_precision=mean_average_precision, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + confidence_entries: Sequence['outputs.GetModelsModelCollectionItemMetricLabelMetricsReportConfidenceEntryResult'], + document_count: int, + label: str, + mean_average_precision: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("confidence_entries", confidence_entries) + _setter("document_count", document_count) + _setter("label", label) + _setter("mean_average_precision", mean_average_precision) @property @pulumi.getter(name="confidenceEntries") @@ -2136,11 +2636,28 @@ def __init__(__self__, *, :param float recall: Recall under the threshold :param float threshold: Threshold used to calculate precision and recall. """ - pulumi.set(__self__, "accuracy", accuracy) - pulumi.set(__self__, "f1score", f1score) - pulumi.set(__self__, "precision", precision) - pulumi.set(__self__, "recall", recall) - pulumi.set(__self__, "threshold", threshold) + GetModelsModelCollectionItemMetricLabelMetricsReportConfidenceEntryResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + accuracy=accuracy, + f1score=f1score, + precision=precision, + recall=recall, + threshold=threshold, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + accuracy: float, + f1score: float, + precision: float, + recall: float, + threshold: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("accuracy", accuracy) + _setter("f1score", f1score) + _setter("precision", precision) + _setter("recall", recall) + _setter("threshold", threshold) @property @pulumi.getter @@ -2194,9 +2711,22 @@ def __init__(__self__, *, :param int document_count: Total test documents in the label. :param float mean_average_precision: Mean average precision under different thresholds """ - pulumi.set(__self__, "confidence_entries", confidence_entries) - pulumi.set(__self__, "document_count", document_count) - pulumi.set(__self__, "mean_average_precision", mean_average_precision) + GetModelsModelCollectionItemMetricOverallMetricsReportResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + confidence_entries=confidence_entries, + document_count=document_count, + mean_average_precision=mean_average_precision, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + confidence_entries: Sequence['outputs.GetModelsModelCollectionItemMetricOverallMetricsReportConfidenceEntryResult'], + document_count: int, + mean_average_precision: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("confidence_entries", confidence_entries) + _setter("document_count", document_count) + _setter("mean_average_precision", mean_average_precision) @property @pulumi.getter(name="confidenceEntries") @@ -2238,11 +2768,28 @@ def __init__(__self__, *, :param float recall: Recall under the threshold :param float threshold: Threshold used to calculate precision and recall. """ - pulumi.set(__self__, "accuracy", accuracy) - pulumi.set(__self__, "f1score", f1score) - pulumi.set(__self__, "precision", precision) - pulumi.set(__self__, "recall", recall) - pulumi.set(__self__, "threshold", threshold) + GetModelsModelCollectionItemMetricOverallMetricsReportConfidenceEntryResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + accuracy=accuracy, + f1score=f1score, + precision=precision, + recall=recall, + threshold=threshold, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + accuracy: float, + f1score: float, + precision: float, + recall: float, + threshold: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("accuracy", accuracy) + _setter("f1score", f1score) + _setter("precision", precision) + _setter("recall", recall) + _setter("threshold", threshold) @property @pulumi.getter @@ -2300,11 +2847,28 @@ def __init__(__self__, *, :param str namespace: The namespace name of the Object Storage bucket that contains the input data file. :param str object: The object name of the input data file. """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "dataset_id", dataset_id) - pulumi.set(__self__, "dataset_type", dataset_type) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "object", object) + GetModelsModelCollectionItemTestingDatasetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + dataset_id=dataset_id, + dataset_type=dataset_type, + namespace=namespace, + object=object, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + dataset_id: str, + dataset_type: str, + namespace: str, + object: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("dataset_id", dataset_id) + _setter("dataset_type", dataset_type) + _setter("namespace", namespace) + _setter("object", object) @property @pulumi.getter @@ -2362,11 +2926,28 @@ def __init__(__self__, *, :param str namespace: The namespace name of the Object Storage bucket that contains the input data file. :param str object: The object name of the input data file. """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "dataset_id", dataset_id) - pulumi.set(__self__, "dataset_type", dataset_type) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "object", object) + GetModelsModelCollectionItemTrainingDatasetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + dataset_id=dataset_id, + dataset_type=dataset_type, + namespace=namespace, + object=object, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + dataset_id: str, + dataset_type: str, + namespace: str, + object: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("dataset_id", dataset_id) + _setter("dataset_type", dataset_type) + _setter("namespace", namespace) + _setter("object", object) @property @pulumi.getter @@ -2424,11 +3005,28 @@ def __init__(__self__, *, :param str namespace: The namespace name of the Object Storage bucket that contains the input data file. :param str object: The object name of the input data file. """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "dataset_id", dataset_id) - pulumi.set(__self__, "dataset_type", dataset_type) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "object", object) + GetModelsModelCollectionItemValidationDatasetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + dataset_id=dataset_id, + dataset_type=dataset_type, + namespace=namespace, + object=object, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + dataset_id: str, + dataset_type: str, + namespace: str, + object: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("dataset_id", dataset_id) + _setter("dataset_type", dataset_type) + _setter("namespace", namespace) + _setter("object", object) @property @pulumi.getter @@ -2482,9 +3080,22 @@ def __init__(__self__, *, :param Sequence['GetProcessorJobInputLocationObjectLocationArgs'] object_locations: The list of ObjectLocations. :param str source_type: The type of input location. The allowed values are: """ - pulumi.set(__self__, "data", data) - pulumi.set(__self__, "object_locations", object_locations) - pulumi.set(__self__, "source_type", source_type) + GetProcessorJobInputLocationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + data=data, + object_locations=object_locations, + source_type=source_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + data: str, + object_locations: Sequence['outputs.GetProcessorJobInputLocationObjectLocationResult'], + source_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("data", data) + _setter("object_locations", object_locations) + _setter("source_type", source_type) @property @pulumi.getter @@ -2522,9 +3133,22 @@ def __init__(__self__, *, :param str namespace: The Object Storage namespace. :param str object: The Object Storage object name. """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "object", object) + GetProcessorJobInputLocationObjectLocationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + namespace=namespace, + object=object, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + namespace: str, + object: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("namespace", namespace) + _setter("object", object) @property @pulumi.getter @@ -2562,9 +3186,22 @@ def __init__(__self__, *, :param str namespace: The Object Storage namespace. :param str prefix: The Object Storage folder name. """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "prefix", prefix) + GetProcessorJobOutputLocationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + namespace=namespace, + prefix=prefix, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + namespace: str, + prefix: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("namespace", namespace) + _setter("prefix", prefix) @property @pulumi.getter @@ -2606,11 +3243,28 @@ def __init__(__self__, *, :param str language: The document language, abbreviated according to the BCP 47 Language-Tag syntax. :param str processor_type: The type of the processor. """ - pulumi.set(__self__, "document_type", document_type) - pulumi.set(__self__, "features", features) - pulumi.set(__self__, "is_zip_output_enabled", is_zip_output_enabled) - pulumi.set(__self__, "language", language) - pulumi.set(__self__, "processor_type", processor_type) + GetProcessorJobProcessorConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + document_type=document_type, + features=features, + is_zip_output_enabled=is_zip_output_enabled, + language=language, + processor_type=processor_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + document_type: str, + features: Sequence['outputs.GetProcessorJobProcessorConfigFeatureResult'], + is_zip_output_enabled: bool, + language: str, + processor_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("document_type", document_type) + _setter("features", features) + _setter("is_zip_output_enabled", is_zip_output_enabled) + _setter("language", language) + _setter("processor_type", processor_type) @property @pulumi.getter(name="documentType") @@ -2668,11 +3322,28 @@ def __init__(__self__, *, :param str model_id: The custom model ID. :param str tenancy_id: The custom model tenancy ID when modelId represents aliasName. """ - pulumi.set(__self__, "feature_type", feature_type) - pulumi.set(__self__, "generate_searchable_pdf", generate_searchable_pdf) - pulumi.set(__self__, "max_results", max_results) - pulumi.set(__self__, "model_id", model_id) - pulumi.set(__self__, "tenancy_id", tenancy_id) + GetProcessorJobProcessorConfigFeatureResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + feature_type=feature_type, + generate_searchable_pdf=generate_searchable_pdf, + max_results=max_results, + model_id=model_id, + tenancy_id=tenancy_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + feature_type: str, + generate_searchable_pdf: bool, + max_results: int, + model_id: str, + tenancy_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("feature_type", feature_type) + _setter("generate_searchable_pdf", generate_searchable_pdf) + _setter("max_results", max_results) + _setter("model_id", model_id) + _setter("tenancy_id", tenancy_id) @property @pulumi.getter(name="featureType") @@ -2721,10 +3392,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetProjectsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2746,7 +3430,16 @@ def regex(self) -> Optional[bool]: class GetProjectsProjectCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetProjectsProjectCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetProjectsProjectCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetProjectsProjectCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -2781,17 +3474,46 @@ def __init__(__self__, *, :param str time_created: When the project was created, as an RFC3339 datetime string. :param str time_updated: When the project was updated, as an RFC3339 datetime string. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetProjectsProjectCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") diff --git a/sdk/python/pulumi_oci/aidocument/processor_job.py b/sdk/python/pulumi_oci/aidocument/processor_job.py index b8ff1663b4..a127011a4e 100644 --- a/sdk/python/pulumi_oci/aidocument/processor_job.py +++ b/sdk/python/pulumi_oci/aidocument/processor_job.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -29,12 +29,29 @@ def __init__(__self__, *, :param pulumi.Input['ProcessorJobProcessorConfigArgs'] processor_config: The configuration of a processor. :param pulumi.Input[str] display_name: The display name of the processor job. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "input_location", input_location) - pulumi.set(__self__, "output_location", output_location) - pulumi.set(__self__, "processor_config", processor_config) + ProcessorJobArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + input_location=input_location, + output_location=output_location, + processor_config=processor_config, + display_name=display_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + input_location: pulumi.Input['ProcessorJobInputLocationArgs'], + output_location: pulumi.Input['ProcessorJobOutputLocationArgs'], + processor_config: pulumi.Input['ProcessorJobProcessorConfigArgs'], + display_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("input_location", input_location) + _setter("output_location", output_location) + _setter("processor_config", processor_config) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) @property @pulumi.getter(name="compartmentId") @@ -125,28 +142,57 @@ def __init__(__self__, *, :param pulumi.Input[str] time_finished: The job finish time. :param pulumi.Input[str] time_started: The job start time. """ + _ProcessorJobState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + input_location=input_location, + lifecycle_details=lifecycle_details, + output_location=output_location, + percent_complete=percent_complete, + processor_config=processor_config, + state=state, + time_accepted=time_accepted, + time_finished=time_finished, + time_started=time_started, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + input_location: Optional[pulumi.Input['ProcessorJobInputLocationArgs']] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + output_location: Optional[pulumi.Input['ProcessorJobOutputLocationArgs']] = None, + percent_complete: Optional[pulumi.Input[float]] = None, + processor_config: Optional[pulumi.Input['ProcessorJobProcessorConfigArgs']] = None, + state: Optional[pulumi.Input[str]] = None, + time_accepted: Optional[pulumi.Input[str]] = None, + time_finished: Optional[pulumi.Input[str]] = None, + time_started: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if input_location is not None: - pulumi.set(__self__, "input_location", input_location) + _setter("input_location", input_location) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if output_location is not None: - pulumi.set(__self__, "output_location", output_location) + _setter("output_location", output_location) if percent_complete is not None: - pulumi.set(__self__, "percent_complete", percent_complete) + _setter("percent_complete", percent_complete) if processor_config is not None: - pulumi.set(__self__, "processor_config", processor_config) + _setter("processor_config", processor_config) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_accepted is not None: - pulumi.set(__self__, "time_accepted", time_accepted) + _setter("time_accepted", time_accepted) if time_finished is not None: - pulumi.set(__self__, "time_finished", time_finished) + _setter("time_finished", time_finished) if time_started is not None: - pulumi.set(__self__, "time_started", time_started) + _setter("time_started", time_started) @property @pulumi.getter(name="compartmentId") @@ -418,6 +464,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ProcessorJobArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -441,12 +491,27 @@ def _internal_init(__self__, raise TypeError("Missing required property 'compartment_id'") __props__.__dict__["compartment_id"] = compartment_id __props__.__dict__["display_name"] = display_name + if input_location is not None and not isinstance(input_location, ProcessorJobInputLocationArgs): + input_location = input_location or {} + def _setter(key, value): + input_location[key] = value + ProcessorJobInputLocationArgs._configure(_setter, **input_location) if input_location is None and not opts.urn: raise TypeError("Missing required property 'input_location'") __props__.__dict__["input_location"] = input_location + if output_location is not None and not isinstance(output_location, ProcessorJobOutputLocationArgs): + output_location = output_location or {} + def _setter(key, value): + output_location[key] = value + ProcessorJobOutputLocationArgs._configure(_setter, **output_location) if output_location is None and not opts.urn: raise TypeError("Missing required property 'output_location'") __props__.__dict__["output_location"] = output_location + if processor_config is not None and not isinstance(processor_config, ProcessorJobProcessorConfigArgs): + processor_config = processor_config or {} + def _setter(key, value): + processor_config[key] = value + ProcessorJobProcessorConfigArgs._configure(_setter, **processor_config) if processor_config is None and not opts.urn: raise TypeError("Missing required property 'processor_config'") __props__.__dict__["processor_config"] = processor_config diff --git a/sdk/python/pulumi_oci/aidocument/project.py b/sdk/python/pulumi_oci/aidocument/project.py index 0a09faa116..091df9adb0 100644 --- a/sdk/python/pulumi_oci/aidocument/project.py +++ b/sdk/python/pulumi_oci/aidocument/project.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['ProjectArgs', 'Project'] @@ -31,15 +31,32 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) + ProjectArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="compartmentId") @@ -136,26 +153,53 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: When the project was created, as an RFC3339 datetime string. :param pulumi.Input[str] time_updated: When the project was updated, as an RFC3339 datetime string. """ + _ProjectState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -375,6 +419,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ProjectArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/ailanguage/_inputs.py b/sdk/python/pulumi_oci/ailanguage/_inputs.py index e150237cd6..d81d455fc6 100644 --- a/sdk/python/pulumi_oci/ailanguage/_inputs.py +++ b/sdk/python/pulumi_oci/ailanguage/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -46,18 +46,37 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['ModelEvaluationResultMetricArgs']]] metrics: Model level named entity recognition metrics :param pulumi.Input[str] model_type: Model type """ + ModelEvaluationResultArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + class_metrics=class_metrics, + confusion_matrix=confusion_matrix, + entity_metrics=entity_metrics, + labels=labels, + metrics=metrics, + model_type=model_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + class_metrics: Optional[pulumi.Input[Sequence[pulumi.Input['ModelEvaluationResultClassMetricArgs']]]] = None, + confusion_matrix: Optional[pulumi.Input[str]] = None, + entity_metrics: Optional[pulumi.Input[Sequence[pulumi.Input['ModelEvaluationResultEntityMetricArgs']]]] = None, + labels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + metrics: Optional[pulumi.Input[Sequence[pulumi.Input['ModelEvaluationResultMetricArgs']]]] = None, + model_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if class_metrics is not None: - pulumi.set(__self__, "class_metrics", class_metrics) + _setter("class_metrics", class_metrics) if confusion_matrix is not None: - pulumi.set(__self__, "confusion_matrix", confusion_matrix) + _setter("confusion_matrix", confusion_matrix) if entity_metrics is not None: - pulumi.set(__self__, "entity_metrics", entity_metrics) + _setter("entity_metrics", entity_metrics) if labels is not None: - pulumi.set(__self__, "labels", labels) + _setter("labels", labels) if metrics is not None: - pulumi.set(__self__, "metrics", metrics) + _setter("metrics", metrics) if model_type is not None: - pulumi.set(__self__, "model_type", model_type) + _setter("model_type", model_type) @property @pulumi.getter(name="classMetrics") @@ -147,16 +166,33 @@ def __init__(__self__, *, :param pulumi.Input[float] recall: Measures the model's ability to predict actual positive classes. It is the ratio between the predicted true positives and what was actually tagged. The recall metric reveals how many of the predicted classes are correct. :param pulumi.Input[float] support: number of samples in the test set """ + ModelEvaluationResultClassMetricArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + f1=f1, + label=label, + precision=precision, + recall=recall, + support=support, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + f1: Optional[pulumi.Input[float]] = None, + label: Optional[pulumi.Input[str]] = None, + precision: Optional[pulumi.Input[float]] = None, + recall: Optional[pulumi.Input[float]] = None, + support: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if f1 is not None: - pulumi.set(__self__, "f1", f1) + _setter("f1", f1) if label is not None: - pulumi.set(__self__, "label", label) + _setter("label", label) if precision is not None: - pulumi.set(__self__, "precision", precision) + _setter("precision", precision) if recall is not None: - pulumi.set(__self__, "recall", recall) + _setter("recall", recall) if support is not None: - pulumi.set(__self__, "support", support) + _setter("support", support) @property @pulumi.getter @@ -232,14 +268,29 @@ def __init__(__self__, *, :param pulumi.Input[float] precision: Precision refers to the number of true positives divided by the total number of positive predictions (i.e., the number of true positives plus the number of false positives) :param pulumi.Input[float] recall: Measures the model's ability to predict actual positive classes. It is the ratio between the predicted true positives and what was actually tagged. The recall metric reveals how many of the predicted classes are correct. """ + ModelEvaluationResultEntityMetricArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + f1=f1, + label=label, + precision=precision, + recall=recall, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + f1: Optional[pulumi.Input[float]] = None, + label: Optional[pulumi.Input[str]] = None, + precision: Optional[pulumi.Input[float]] = None, + recall: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if f1 is not None: - pulumi.set(__self__, "f1", f1) + _setter("f1", f1) if label is not None: - pulumi.set(__self__, "label", label) + _setter("label", label) if precision is not None: - pulumi.set(__self__, "precision", precision) + _setter("precision", precision) if recall is not None: - pulumi.set(__self__, "recall", recall) + _setter("recall", recall) @property @pulumi.getter @@ -315,26 +366,53 @@ def __init__(__self__, *, :param pulumi.Input[float] weighted_precision: Precision refers to the number of true positives divided by the total number of positive predictions (i.e., the number of true positives plus the number of false positives) :param pulumi.Input[float] weighted_recall: Measures the model's ability to predict actual positive classes. It is the ratio between the predicted true positives and what was actually tagged. The recall metric reveals how many of the predicted classes are correct. """ + ModelEvaluationResultMetricArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + accuracy=accuracy, + macro_f1=macro_f1, + macro_precision=macro_precision, + macro_recall=macro_recall, + micro_f1=micro_f1, + micro_precision=micro_precision, + micro_recall=micro_recall, + weighted_f1=weighted_f1, + weighted_precision=weighted_precision, + weighted_recall=weighted_recall, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + accuracy: Optional[pulumi.Input[float]] = None, + macro_f1: Optional[pulumi.Input[float]] = None, + macro_precision: Optional[pulumi.Input[float]] = None, + macro_recall: Optional[pulumi.Input[float]] = None, + micro_f1: Optional[pulumi.Input[float]] = None, + micro_precision: Optional[pulumi.Input[float]] = None, + micro_recall: Optional[pulumi.Input[float]] = None, + weighted_f1: Optional[pulumi.Input[float]] = None, + weighted_precision: Optional[pulumi.Input[float]] = None, + weighted_recall: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if accuracy is not None: - pulumi.set(__self__, "accuracy", accuracy) + _setter("accuracy", accuracy) if macro_f1 is not None: - pulumi.set(__self__, "macro_f1", macro_f1) + _setter("macro_f1", macro_f1) if macro_precision is not None: - pulumi.set(__self__, "macro_precision", macro_precision) + _setter("macro_precision", macro_precision) if macro_recall is not None: - pulumi.set(__self__, "macro_recall", macro_recall) + _setter("macro_recall", macro_recall) if micro_f1 is not None: - pulumi.set(__self__, "micro_f1", micro_f1) + _setter("micro_f1", micro_f1) if micro_precision is not None: - pulumi.set(__self__, "micro_precision", micro_precision) + _setter("micro_precision", micro_precision) if micro_recall is not None: - pulumi.set(__self__, "micro_recall", micro_recall) + _setter("micro_recall", micro_recall) if weighted_f1 is not None: - pulumi.set(__self__, "weighted_f1", weighted_f1) + _setter("weighted_f1", weighted_f1) if weighted_precision is not None: - pulumi.set(__self__, "weighted_precision", weighted_precision) + _setter("weighted_precision", weighted_precision) if weighted_recall is not None: - pulumi.set(__self__, "weighted_recall", weighted_recall) + _setter("weighted_recall", weighted_recall) @property @pulumi.getter @@ -470,13 +548,28 @@ def __init__(__self__, *, :param pulumi.Input[str] language_code: supported language default value is en :param pulumi.Input[str] version: Optional pre trained model version. if nothing specified latest pre trained model will be used. Supported versions can be found at /modelTypes/{modelType} """ - pulumi.set(__self__, "model_type", model_type) + ModelModelDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + model_type=model_type, + classification_mode=classification_mode, + language_code=language_code, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + model_type: pulumi.Input[str], + classification_mode: Optional[pulumi.Input['ModelModelDetailsClassificationModeArgs']] = None, + language_code: Optional[pulumi.Input[str]] = None, + version: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("model_type", model_type) if classification_mode is not None: - pulumi.set(__self__, "classification_mode", classification_mode) + _setter("classification_mode", classification_mode) if language_code is not None: - pulumi.set(__self__, "language_code", language_code) + _setter("language_code", language_code) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter(name="modelType") @@ -536,9 +629,20 @@ def __init__(__self__, *, :param pulumi.Input[str] classification_mode: classification Modes :param pulumi.Input[str] version: Optional pre trained model version. if nothing specified latest pre trained model will be used. Supported versions can be found at /modelTypes/{modelType} """ - pulumi.set(__self__, "classification_mode", classification_mode) + ModelModelDetailsClassificationModeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + classification_mode=classification_mode, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + classification_mode: pulumi.Input[str], + version: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("classification_mode", classification_mode) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter(name="classificationMode") @@ -576,10 +680,23 @@ def __init__(__self__, *, :param pulumi.Input['ModelTestStrategyTestingDatasetArgs'] testing_dataset: Possible data set type :param pulumi.Input['ModelTestStrategyValidationDatasetArgs'] validation_dataset: Possible data set type """ - pulumi.set(__self__, "strategy_type", strategy_type) - pulumi.set(__self__, "testing_dataset", testing_dataset) + ModelTestStrategyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + strategy_type=strategy_type, + testing_dataset=testing_dataset, + validation_dataset=validation_dataset, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + strategy_type: pulumi.Input[str], + testing_dataset: pulumi.Input['ModelTestStrategyTestingDatasetArgs'], + validation_dataset: Optional[pulumi.Input['ModelTestStrategyValidationDatasetArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("strategy_type", strategy_type) + _setter("testing_dataset", testing_dataset) if validation_dataset is not None: - pulumi.set(__self__, "validation_dataset", validation_dataset) + _setter("validation_dataset", validation_dataset) @property @pulumi.getter(name="strategyType") @@ -629,11 +746,24 @@ def __init__(__self__, *, :param pulumi.Input[str] dataset_id: Data Science Labelling Service OCID :param pulumi.Input['ModelTestStrategyTestingDatasetLocationDetailsArgs'] location_details: Possible object storage location types """ - pulumi.set(__self__, "dataset_type", dataset_type) + ModelTestStrategyTestingDatasetArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + dataset_type=dataset_type, + dataset_id=dataset_id, + location_details=location_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + dataset_type: pulumi.Input[str], + dataset_id: Optional[pulumi.Input[str]] = None, + location_details: Optional[pulumi.Input['ModelTestStrategyTestingDatasetLocationDetailsArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("dataset_type", dataset_type) if dataset_id is not None: - pulumi.set(__self__, "dataset_id", dataset_id) + _setter("dataset_id", dataset_id) if location_details is not None: - pulumi.set(__self__, "location_details", location_details) + _setter("location_details", location_details) @property @pulumi.getter(name="datasetType") @@ -689,10 +819,25 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "location_type", location_type) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "object_names", object_names) + ModelTestStrategyTestingDatasetLocationDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + location_type=location_type, + namespace=namespace, + object_names=object_names, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: pulumi.Input[str], + location_type: pulumi.Input[str], + namespace: pulumi.Input[str], + object_names: pulumi.Input[Sequence[pulumi.Input[str]]], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("location_type", location_type) + _setter("namespace", namespace) + _setter("object_names", object_names) @property @pulumi.getter @@ -758,11 +903,24 @@ def __init__(__self__, *, :param pulumi.Input[str] dataset_id: Data Science Labelling Service OCID :param pulumi.Input['ModelTestStrategyValidationDatasetLocationDetailsArgs'] location_details: Possible object storage location types """ - pulumi.set(__self__, "dataset_type", dataset_type) + ModelTestStrategyValidationDatasetArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + dataset_type=dataset_type, + dataset_id=dataset_id, + location_details=location_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + dataset_type: pulumi.Input[str], + dataset_id: Optional[pulumi.Input[str]] = None, + location_details: Optional[pulumi.Input['ModelTestStrategyValidationDatasetLocationDetailsArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("dataset_type", dataset_type) if dataset_id is not None: - pulumi.set(__self__, "dataset_id", dataset_id) + _setter("dataset_id", dataset_id) if location_details is not None: - pulumi.set(__self__, "location_details", location_details) + _setter("location_details", location_details) @property @pulumi.getter(name="datasetType") @@ -818,10 +976,25 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "location_type", location_type) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "object_names", object_names) + ModelTestStrategyValidationDatasetLocationDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + location_type=location_type, + namespace=namespace, + object_names=object_names, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: pulumi.Input[str], + location_type: pulumi.Input[str], + namespace: pulumi.Input[str], + object_names: pulumi.Input[Sequence[pulumi.Input[str]]], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("location_type", location_type) + _setter("namespace", namespace) + _setter("object_names", object_names) @property @pulumi.getter @@ -887,11 +1060,24 @@ def __init__(__self__, *, :param pulumi.Input[str] dataset_id: Data Science Labelling Service OCID :param pulumi.Input['ModelTrainingDatasetLocationDetailsArgs'] location_details: Possible object storage location types """ - pulumi.set(__self__, "dataset_type", dataset_type) + ModelTrainingDatasetArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + dataset_type=dataset_type, + dataset_id=dataset_id, + location_details=location_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + dataset_type: pulumi.Input[str], + dataset_id: Optional[pulumi.Input[str]] = None, + location_details: Optional[pulumi.Input['ModelTrainingDatasetLocationDetailsArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("dataset_type", dataset_type) if dataset_id is not None: - pulumi.set(__self__, "dataset_id", dataset_id) + _setter("dataset_id", dataset_id) if location_details is not None: - pulumi.set(__self__, "location_details", location_details) + _setter("location_details", location_details) @property @pulumi.getter(name="datasetType") @@ -947,10 +1133,25 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "location_type", location_type) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "object_names", object_names) + ModelTrainingDatasetLocationDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + location_type=location_type, + namespace=namespace, + object_names=object_names, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: pulumi.Input[str], + location_type: pulumi.Input[str], + namespace: pulumi.Input[str], + object_names: pulumi.Input[Sequence[pulumi.Input[str]]], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("location_type", location_type) + _setter("namespace", namespace) + _setter("object_names", object_names) @property @pulumi.getter @@ -1011,10 +1212,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetEndpointsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1050,10 +1264,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetModelEvaluationResultsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1089,10 +1316,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetModelsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1128,10 +1368,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetProjectsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/ailanguage/endpoint.py b/sdk/python/pulumi_oci/ailanguage/endpoint.py index 6cc60f6f54..3db8456cff 100644 --- a/sdk/python/pulumi_oci/ailanguage/endpoint.py +++ b/sdk/python/pulumi_oci/ailanguage/endpoint.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['EndpointArgs', 'Endpoint'] @@ -35,18 +35,39 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` :param pulumi.Input[int] inference_units: (Updatable) Number of replicas required for this endpoint. This will be optional parameter. Default will be 1. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "model_id", model_id) + EndpointArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + model_id=model_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + inference_units=inference_units, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + model_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + inference_units: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("model_id", model_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if inference_units is not None: - pulumi.set(__self__, "inference_units", inference_units) + _setter("inference_units", inference_units) @property @pulumi.getter(name="compartmentId") @@ -173,32 +194,65 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The time the the endpoint was created. An RFC3339 formatted datetime string. :param pulumi.Input[str] time_updated: The time the endpoint was updated. An RFC3339 formatted datetime string. """ + _EndpointState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + inference_units=inference_units, + lifecycle_details=lifecycle_details, + model_id=model_id, + project_id=project_id, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + inference_units: Optional[pulumi.Input[int]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + model_id: Optional[pulumi.Input[str]] = None, + project_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if inference_units is not None: - pulumi.set(__self__, "inference_units", inference_units) + _setter("inference_units", inference_units) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if model_id is not None: - pulumi.set(__self__, "model_id", model_id) + _setter("model_id", model_id) if project_id is not None: - pulumi.set(__self__, "project_id", project_id) + _setter("project_id", project_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -470,6 +524,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + EndpointArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/ailanguage/get_endpoint.py b/sdk/python/pulumi_oci/ailanguage/get_endpoint.py index 92382ee83e..6ff26508a7 100644 --- a/sdk/python/pulumi_oci/ailanguage/get_endpoint.py +++ b/sdk/python/pulumi_oci/ailanguage/get_endpoint.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/ailanguage/get_endpoints.py b/sdk/python/pulumi_oci/ailanguage/get_endpoints.py index 8a6e8b76ff..dfa0eea9d4 100644 --- a/sdk/python/pulumi_oci/ailanguage/get_endpoints.py +++ b/sdk/python/pulumi_oci/ailanguage/get_endpoints.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/ailanguage/get_model.py b/sdk/python/pulumi_oci/ailanguage/get_model.py index 80236861fe..cfe78362cd 100644 --- a/sdk/python/pulumi_oci/ailanguage/get_model.py +++ b/sdk/python/pulumi_oci/ailanguage/get_model.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/ailanguage/get_model_evaluation_results.py b/sdk/python/pulumi_oci/ailanguage/get_model_evaluation_results.py index dbfd588d64..af2bbf3e13 100644 --- a/sdk/python/pulumi_oci/ailanguage/get_model_evaluation_results.py +++ b/sdk/python/pulumi_oci/ailanguage/get_model_evaluation_results.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/ailanguage/get_model_type.py b/sdk/python/pulumi_oci/ailanguage/get_model_type.py index 8eb79442ac..6ea1e6cf89 100644 --- a/sdk/python/pulumi_oci/ailanguage/get_model_type.py +++ b/sdk/python/pulumi_oci/ailanguage/get_model_type.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/ailanguage/get_models.py b/sdk/python/pulumi_oci/ailanguage/get_models.py index 36c416ab57..e3b86b84cf 100644 --- a/sdk/python/pulumi_oci/ailanguage/get_models.py +++ b/sdk/python/pulumi_oci/ailanguage/get_models.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/ailanguage/get_project.py b/sdk/python/pulumi_oci/ailanguage/get_project.py index 0ef39bdb15..b899541e0e 100644 --- a/sdk/python/pulumi_oci/ailanguage/get_project.py +++ b/sdk/python/pulumi_oci/ailanguage/get_project.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/ailanguage/get_projects.py b/sdk/python/pulumi_oci/ailanguage/get_projects.py index d2ba53df5d..3f0949d276 100644 --- a/sdk/python/pulumi_oci/ailanguage/get_projects.py +++ b/sdk/python/pulumi_oci/ailanguage/get_projects.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/ailanguage/model.py b/sdk/python/pulumi_oci/ailanguage/model.py index ab4c227096..9d0f19f7dd 100644 --- a/sdk/python/pulumi_oci/ailanguage/model.py +++ b/sdk/python/pulumi_oci/ailanguage/model.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -37,20 +37,45 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` :param pulumi.Input['ModelTestStrategyArgs'] test_strategy: Possible strategy as testing and validation(optional) dataset. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "model_details", model_details) - pulumi.set(__self__, "project_id", project_id) - pulumi.set(__self__, "training_dataset", training_dataset) + ModelArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + model_details=model_details, + project_id=project_id, + training_dataset=training_dataset, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + test_strategy=test_strategy, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + model_details: pulumi.Input['ModelModelDetailsArgs'], + project_id: pulumi.Input[str], + training_dataset: pulumi.Input['ModelTrainingDatasetArgs'], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + test_strategy: Optional[pulumi.Input['ModelTestStrategyArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("model_details", model_details) + _setter("project_id", project_id) + _setter("training_dataset", training_dataset) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if test_strategy is not None: - pulumi.set(__self__, "test_strategy", test_strategy) + _setter("test_strategy", test_strategy) @property @pulumi.getter(name="compartmentId") @@ -199,38 +224,77 @@ def __init__(__self__, *, :param pulumi.Input['ModelTrainingDatasetArgs'] training_dataset: Possible data set type :param pulumi.Input[str] version: Optional pre trained model version. if nothing specified latest pre trained model will be used. Supported versions can be found at /modelTypes/{modelType} """ + _ModelState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + evaluation_results=evaluation_results, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + model_details=model_details, + project_id=project_id, + state=state, + system_tags=system_tags, + test_strategy=test_strategy, + time_created=time_created, + time_updated=time_updated, + training_dataset=training_dataset, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + evaluation_results: Optional[pulumi.Input[Sequence[pulumi.Input['ModelEvaluationResultArgs']]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + model_details: Optional[pulumi.Input['ModelModelDetailsArgs']] = None, + project_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + test_strategy: Optional[pulumi.Input['ModelTestStrategyArgs']] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + training_dataset: Optional[pulumi.Input['ModelTrainingDatasetArgs']] = None, + version: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if evaluation_results is not None: - pulumi.set(__self__, "evaluation_results", evaluation_results) + _setter("evaluation_results", evaluation_results) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if model_details is not None: - pulumi.set(__self__, "model_details", model_details) + _setter("model_details", model_details) if project_id is not None: - pulumi.set(__self__, "project_id", project_id) + _setter("project_id", project_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if test_strategy is not None: - pulumi.set(__self__, "test_strategy", test_strategy) + _setter("test_strategy", test_strategy) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if training_dataset is not None: - pulumi.set(__self__, "training_dataset", training_dataset) + _setter("training_dataset", training_dataset) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter(name="compartmentId") @@ -616,6 +680,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ModelArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -646,13 +714,28 @@ def _internal_init(__self__, __props__.__dict__["description"] = description __props__.__dict__["display_name"] = display_name __props__.__dict__["freeform_tags"] = freeform_tags + if model_details is not None and not isinstance(model_details, ModelModelDetailsArgs): + model_details = model_details or {} + def _setter(key, value): + model_details[key] = value + ModelModelDetailsArgs._configure(_setter, **model_details) if model_details is None and not opts.urn: raise TypeError("Missing required property 'model_details'") __props__.__dict__["model_details"] = model_details if project_id is None and not opts.urn: raise TypeError("Missing required property 'project_id'") __props__.__dict__["project_id"] = project_id + if test_strategy is not None and not isinstance(test_strategy, ModelTestStrategyArgs): + test_strategy = test_strategy or {} + def _setter(key, value): + test_strategy[key] = value + ModelTestStrategyArgs._configure(_setter, **test_strategy) __props__.__dict__["test_strategy"] = test_strategy + if training_dataset is not None and not isinstance(training_dataset, ModelTrainingDatasetArgs): + training_dataset = training_dataset or {} + def _setter(key, value): + training_dataset[key] = value + ModelTrainingDatasetArgs._configure(_setter, **training_dataset) if training_dataset is None and not opts.urn: raise TypeError("Missing required property 'training_dataset'") __props__.__dict__["training_dataset"] = training_dataset diff --git a/sdk/python/pulumi_oci/ailanguage/outputs.py b/sdk/python/pulumi_oci/ailanguage/outputs.py index b79699b426..0eeb191410 100644 --- a/sdk/python/pulumi_oci/ailanguage/outputs.py +++ b/sdk/python/pulumi_oci/ailanguage/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -106,18 +106,37 @@ def __init__(__self__, *, :param Sequence['ModelEvaluationResultMetricArgs'] metrics: Model level named entity recognition metrics :param str model_type: Model type """ + ModelEvaluationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + class_metrics=class_metrics, + confusion_matrix=confusion_matrix, + entity_metrics=entity_metrics, + labels=labels, + metrics=metrics, + model_type=model_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + class_metrics: Optional[Sequence['outputs.ModelEvaluationResultClassMetric']] = None, + confusion_matrix: Optional[str] = None, + entity_metrics: Optional[Sequence['outputs.ModelEvaluationResultEntityMetric']] = None, + labels: Optional[Sequence[str]] = None, + metrics: Optional[Sequence['outputs.ModelEvaluationResultMetric']] = None, + model_type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if class_metrics is not None: - pulumi.set(__self__, "class_metrics", class_metrics) + _setter("class_metrics", class_metrics) if confusion_matrix is not None: - pulumi.set(__self__, "confusion_matrix", confusion_matrix) + _setter("confusion_matrix", confusion_matrix) if entity_metrics is not None: - pulumi.set(__self__, "entity_metrics", entity_metrics) + _setter("entity_metrics", entity_metrics) if labels is not None: - pulumi.set(__self__, "labels", labels) + _setter("labels", labels) if metrics is not None: - pulumi.set(__self__, "metrics", metrics) + _setter("metrics", metrics) if model_type is not None: - pulumi.set(__self__, "model_type", model_type) + _setter("model_type", model_type) @property @pulumi.getter(name="classMetrics") @@ -183,16 +202,33 @@ def __init__(__self__, *, :param float recall: Measures the model's ability to predict actual positive classes. It is the ratio between the predicted true positives and what was actually tagged. The recall metric reveals how many of the predicted classes are correct. :param float support: number of samples in the test set """ + ModelEvaluationResultClassMetric._configure( + lambda key, value: pulumi.set(__self__, key, value), + f1=f1, + label=label, + precision=precision, + recall=recall, + support=support, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + f1: Optional[float] = None, + label: Optional[str] = None, + precision: Optional[float] = None, + recall: Optional[float] = None, + support: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions]=None): if f1 is not None: - pulumi.set(__self__, "f1", f1) + _setter("f1", f1) if label is not None: - pulumi.set(__self__, "label", label) + _setter("label", label) if precision is not None: - pulumi.set(__self__, "precision", precision) + _setter("precision", precision) if recall is not None: - pulumi.set(__self__, "recall", recall) + _setter("recall", recall) if support is not None: - pulumi.set(__self__, "support", support) + _setter("support", support) @property @pulumi.getter @@ -248,14 +284,29 @@ def __init__(__self__, *, :param float precision: Precision refers to the number of true positives divided by the total number of positive predictions (i.e., the number of true positives plus the number of false positives) :param float recall: Measures the model's ability to predict actual positive classes. It is the ratio between the predicted true positives and what was actually tagged. The recall metric reveals how many of the predicted classes are correct. """ + ModelEvaluationResultEntityMetric._configure( + lambda key, value: pulumi.set(__self__, key, value), + f1=f1, + label=label, + precision=precision, + recall=recall, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + f1: Optional[float] = None, + label: Optional[str] = None, + precision: Optional[float] = None, + recall: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions]=None): if f1 is not None: - pulumi.set(__self__, "f1", f1) + _setter("f1", f1) if label is not None: - pulumi.set(__self__, "label", label) + _setter("label", label) if precision is not None: - pulumi.set(__self__, "precision", precision) + _setter("precision", precision) if recall is not None: - pulumi.set(__self__, "recall", recall) + _setter("recall", recall) @property @pulumi.getter @@ -348,26 +399,53 @@ def __init__(__self__, *, :param float weighted_precision: Precision refers to the number of true positives divided by the total number of positive predictions (i.e., the number of true positives plus the number of false positives) :param float weighted_recall: Measures the model's ability to predict actual positive classes. It is the ratio between the predicted true positives and what was actually tagged. The recall metric reveals how many of the predicted classes are correct. """ + ModelEvaluationResultMetric._configure( + lambda key, value: pulumi.set(__self__, key, value), + accuracy=accuracy, + macro_f1=macro_f1, + macro_precision=macro_precision, + macro_recall=macro_recall, + micro_f1=micro_f1, + micro_precision=micro_precision, + micro_recall=micro_recall, + weighted_f1=weighted_f1, + weighted_precision=weighted_precision, + weighted_recall=weighted_recall, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + accuracy: Optional[float] = None, + macro_f1: Optional[float] = None, + macro_precision: Optional[float] = None, + macro_recall: Optional[float] = None, + micro_f1: Optional[float] = None, + micro_precision: Optional[float] = None, + micro_recall: Optional[float] = None, + weighted_f1: Optional[float] = None, + weighted_precision: Optional[float] = None, + weighted_recall: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions]=None): if accuracy is not None: - pulumi.set(__self__, "accuracy", accuracy) + _setter("accuracy", accuracy) if macro_f1 is not None: - pulumi.set(__self__, "macro_f1", macro_f1) + _setter("macro_f1", macro_f1) if macro_precision is not None: - pulumi.set(__self__, "macro_precision", macro_precision) + _setter("macro_precision", macro_precision) if macro_recall is not None: - pulumi.set(__self__, "macro_recall", macro_recall) + _setter("macro_recall", macro_recall) if micro_f1 is not None: - pulumi.set(__self__, "micro_f1", micro_f1) + _setter("micro_f1", micro_f1) if micro_precision is not None: - pulumi.set(__self__, "micro_precision", micro_precision) + _setter("micro_precision", micro_precision) if micro_recall is not None: - pulumi.set(__self__, "micro_recall", micro_recall) + _setter("micro_recall", micro_recall) if weighted_f1 is not None: - pulumi.set(__self__, "weighted_f1", weighted_f1) + _setter("weighted_f1", weighted_f1) if weighted_precision is not None: - pulumi.set(__self__, "weighted_precision", weighted_precision) + _setter("weighted_precision", weighted_precision) if weighted_recall is not None: - pulumi.set(__self__, "weighted_recall", weighted_recall) + _setter("weighted_recall", weighted_recall) @property @pulumi.getter @@ -484,13 +562,28 @@ def __init__(__self__, *, :param str language_code: supported language default value is en :param str version: Optional pre trained model version. if nothing specified latest pre trained model will be used. Supported versions can be found at /modelTypes/{modelType} """ - pulumi.set(__self__, "model_type", model_type) + ModelModelDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + model_type=model_type, + classification_mode=classification_mode, + language_code=language_code, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + model_type: str, + classification_mode: Optional['outputs.ModelModelDetailsClassificationMode'] = None, + language_code: Optional[str] = None, + version: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("model_type", model_type) if classification_mode is not None: - pulumi.set(__self__, "classification_mode", classification_mode) + _setter("classification_mode", classification_mode) if language_code is not None: - pulumi.set(__self__, "language_code", language_code) + _setter("language_code", language_code) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter(name="modelType") @@ -551,9 +644,20 @@ def __init__(__self__, *, :param str classification_mode: classification Modes :param str version: Optional pre trained model version. if nothing specified latest pre trained model will be used. Supported versions can be found at /modelTypes/{modelType} """ - pulumi.set(__self__, "classification_mode", classification_mode) + ModelModelDetailsClassificationMode._configure( + lambda key, value: pulumi.set(__self__, key, value), + classification_mode=classification_mode, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + classification_mode: str, + version: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("classification_mode", classification_mode) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter(name="classificationMode") @@ -604,10 +708,23 @@ def __init__(__self__, *, :param 'ModelTestStrategyTestingDatasetArgs' testing_dataset: Possible data set type :param 'ModelTestStrategyValidationDatasetArgs' validation_dataset: Possible data set type """ - pulumi.set(__self__, "strategy_type", strategy_type) - pulumi.set(__self__, "testing_dataset", testing_dataset) + ModelTestStrategy._configure( + lambda key, value: pulumi.set(__self__, key, value), + strategy_type=strategy_type, + testing_dataset=testing_dataset, + validation_dataset=validation_dataset, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + strategy_type: str, + testing_dataset: 'outputs.ModelTestStrategyTestingDataset', + validation_dataset: Optional['outputs.ModelTestStrategyValidationDataset'] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("strategy_type", strategy_type) + _setter("testing_dataset", testing_dataset) if validation_dataset is not None: - pulumi.set(__self__, "validation_dataset", validation_dataset) + _setter("validation_dataset", validation_dataset) @property @pulumi.getter(name="strategyType") @@ -666,11 +783,24 @@ def __init__(__self__, *, :param str dataset_id: Data Science Labelling Service OCID :param 'ModelTestStrategyTestingDatasetLocationDetailsArgs' location_details: Possible object storage location types """ - pulumi.set(__self__, "dataset_type", dataset_type) + ModelTestStrategyTestingDataset._configure( + lambda key, value: pulumi.set(__self__, key, value), + dataset_type=dataset_type, + dataset_id=dataset_id, + location_details=location_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + dataset_type: str, + dataset_id: Optional[str] = None, + location_details: Optional['outputs.ModelTestStrategyTestingDatasetLocationDetails'] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("dataset_type", dataset_type) if dataset_id is not None: - pulumi.set(__self__, "dataset_id", dataset_id) + _setter("dataset_id", dataset_id) if location_details is not None: - pulumi.set(__self__, "location_details", location_details) + _setter("location_details", location_details) @property @pulumi.getter(name="datasetType") @@ -733,10 +863,25 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "location_type", location_type) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "object_names", object_names) + ModelTestStrategyTestingDatasetLocationDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + location_type=location_type, + namespace=namespace, + object_names=object_names, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + location_type: str, + namespace: str, + object_names: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("location_type", location_type) + _setter("namespace", namespace) + _setter("object_names", object_names) @property @pulumi.getter @@ -807,11 +952,24 @@ def __init__(__self__, *, :param str dataset_id: Data Science Labelling Service OCID :param 'ModelTestStrategyValidationDatasetLocationDetailsArgs' location_details: Possible object storage location types """ - pulumi.set(__self__, "dataset_type", dataset_type) + ModelTestStrategyValidationDataset._configure( + lambda key, value: pulumi.set(__self__, key, value), + dataset_type=dataset_type, + dataset_id=dataset_id, + location_details=location_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + dataset_type: str, + dataset_id: Optional[str] = None, + location_details: Optional['outputs.ModelTestStrategyValidationDatasetLocationDetails'] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("dataset_type", dataset_type) if dataset_id is not None: - pulumi.set(__self__, "dataset_id", dataset_id) + _setter("dataset_id", dataset_id) if location_details is not None: - pulumi.set(__self__, "location_details", location_details) + _setter("location_details", location_details) @property @pulumi.getter(name="datasetType") @@ -874,10 +1032,25 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "location_type", location_type) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "object_names", object_names) + ModelTestStrategyValidationDatasetLocationDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + location_type=location_type, + namespace=namespace, + object_names=object_names, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + location_type: str, + namespace: str, + object_names: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("location_type", location_type) + _setter("namespace", namespace) + _setter("object_names", object_names) @property @pulumi.getter @@ -948,11 +1121,24 @@ def __init__(__self__, *, :param str dataset_id: Data Science Labelling Service OCID :param 'ModelTrainingDatasetLocationDetailsArgs' location_details: Possible object storage location types """ - pulumi.set(__self__, "dataset_type", dataset_type) + ModelTrainingDataset._configure( + lambda key, value: pulumi.set(__self__, key, value), + dataset_type=dataset_type, + dataset_id=dataset_id, + location_details=location_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + dataset_type: str, + dataset_id: Optional[str] = None, + location_details: Optional['outputs.ModelTrainingDatasetLocationDetails'] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("dataset_type", dataset_type) if dataset_id is not None: - pulumi.set(__self__, "dataset_id", dataset_id) + _setter("dataset_id", dataset_id) if location_details is not None: - pulumi.set(__self__, "location_details", location_details) + _setter("location_details", location_details) @property @pulumi.getter(name="datasetType") @@ -1015,10 +1201,25 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "location_type", location_type) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "object_names", object_names) + ModelTrainingDatasetLocationDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + location_type=location_type, + namespace=namespace, + object_names=object_names, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + location_type: str, + namespace: str, + object_names: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("location_type", location_type) + _setter("namespace", namespace) + _setter("object_names", object_names) @property @pulumi.getter @@ -1061,7 +1262,16 @@ def object_names(self) -> Sequence[str]: class GetEndpointsEndpointCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetEndpointsEndpointCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetEndpointsEndpointCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetEndpointsEndpointCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1102,20 +1312,55 @@ def __init__(__self__, *, :param str time_created: The time the the endpoint was created. An RFC3339 formatted datetime string. :param str time_updated: The time the endpoint was updated. An RFC3339 formatted datetime string. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "inference_units", inference_units) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "model_id", model_id) - pulumi.set(__self__, "project_id", project_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetEndpointsEndpointCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + inference_units=inference_units, + lifecycle_details=lifecycle_details, + model_id=model_id, + project_id=project_id, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + inference_units: int, + lifecycle_details: str, + model_id: str, + project_id: str, + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("inference_units", inference_units) + _setter("lifecycle_details", lifecycle_details) + _setter("model_id", model_id) + _setter("project_id", project_id) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -1236,10 +1481,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetEndpointsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1274,12 +1532,31 @@ def __init__(__self__, *, :param Sequence['GetModelEvaluationResultMetricArgs'] metrics: Model level named entity recognition metrics :param str model_type: Model type """ - pulumi.set(__self__, "class_metrics", class_metrics) - pulumi.set(__self__, "confusion_matrix", confusion_matrix) - pulumi.set(__self__, "entity_metrics", entity_metrics) - pulumi.set(__self__, "labels", labels) - pulumi.set(__self__, "metrics", metrics) - pulumi.set(__self__, "model_type", model_type) + GetModelEvaluationResultResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + class_metrics=class_metrics, + confusion_matrix=confusion_matrix, + entity_metrics=entity_metrics, + labels=labels, + metrics=metrics, + model_type=model_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + class_metrics: Sequence['outputs.GetModelEvaluationResultClassMetricResult'], + confusion_matrix: str, + entity_metrics: Sequence['outputs.GetModelEvaluationResultEntityMetricResult'], + labels: Sequence[str], + metrics: Sequence['outputs.GetModelEvaluationResultMetricResult'], + model_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("class_metrics", class_metrics) + _setter("confusion_matrix", confusion_matrix) + _setter("entity_metrics", entity_metrics) + _setter("labels", labels) + _setter("metrics", metrics) + _setter("model_type", model_type) @property @pulumi.getter(name="classMetrics") @@ -1345,11 +1622,28 @@ def __init__(__self__, *, :param float recall: Measures the model's ability to predict actual positive classes. It is the ratio between the predicted true positives and what was actually tagged. The recall metric reveals how many of the predicted classes are correct. :param float support: number of samples in the test set """ - pulumi.set(__self__, "f1", f1) - pulumi.set(__self__, "label", label) - pulumi.set(__self__, "precision", precision) - pulumi.set(__self__, "recall", recall) - pulumi.set(__self__, "support", support) + GetModelEvaluationResultClassMetricResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + f1=f1, + label=label, + precision=precision, + recall=recall, + support=support, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + f1: float, + label: str, + precision: float, + recall: float, + support: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("f1", f1) + _setter("label", label) + _setter("precision", precision) + _setter("recall", recall) + _setter("support", support) @property @pulumi.getter @@ -1405,10 +1699,25 @@ def __init__(__self__, *, :param float precision: Precision refers to the number of true positives divided by the total number of positive predictions (i.e., the number of true positives plus the number of false positives) :param float recall: Measures the model's ability to predict actual positive classes. It is the ratio between the predicted true positives and what was actually tagged. The recall metric reveals how many of the predicted classes are correct. """ - pulumi.set(__self__, "f1", f1) - pulumi.set(__self__, "label", label) - pulumi.set(__self__, "precision", precision) - pulumi.set(__self__, "recall", recall) + GetModelEvaluationResultEntityMetricResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + f1=f1, + label=label, + precision=precision, + recall=recall, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + f1: float, + label: str, + precision: float, + recall: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("f1", f1) + _setter("label", label) + _setter("precision", precision) + _setter("recall", recall) @property @pulumi.getter @@ -1468,16 +1777,43 @@ def __init__(__self__, *, :param float weighted_precision: Precision refers to the number of true positives divided by the total number of positive predictions (i.e., the number of true positives plus the number of false positives) :param float weighted_recall: Measures the model's ability to predict actual positive classes. It is the ratio between the predicted true positives and what was actually tagged. The recall metric reveals how many of the predicted classes are correct. """ - pulumi.set(__self__, "accuracy", accuracy) - pulumi.set(__self__, "macro_f1", macro_f1) - pulumi.set(__self__, "macro_precision", macro_precision) - pulumi.set(__self__, "macro_recall", macro_recall) - pulumi.set(__self__, "micro_f1", micro_f1) - pulumi.set(__self__, "micro_precision", micro_precision) - pulumi.set(__self__, "micro_recall", micro_recall) - pulumi.set(__self__, "weighted_f1", weighted_f1) - pulumi.set(__self__, "weighted_precision", weighted_precision) - pulumi.set(__self__, "weighted_recall", weighted_recall) + GetModelEvaluationResultMetricResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + accuracy=accuracy, + macro_f1=macro_f1, + macro_precision=macro_precision, + macro_recall=macro_recall, + micro_f1=micro_f1, + micro_precision=micro_precision, + micro_recall=micro_recall, + weighted_f1=weighted_f1, + weighted_precision=weighted_precision, + weighted_recall=weighted_recall, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + accuracy: float, + macro_f1: float, + macro_precision: float, + macro_recall: float, + micro_f1: float, + micro_precision: float, + micro_recall: float, + weighted_f1: float, + weighted_precision: float, + weighted_recall: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("accuracy", accuracy) + _setter("macro_f1", macro_f1) + _setter("macro_precision", macro_precision) + _setter("macro_recall", macro_recall) + _setter("micro_f1", micro_f1) + _setter("micro_precision", micro_precision) + _setter("micro_recall", micro_recall) + _setter("weighted_f1", weighted_f1) + _setter("weighted_precision", weighted_precision) + _setter("weighted_recall", weighted_recall) @property @pulumi.getter @@ -1567,7 +1903,16 @@ def __init__(__self__, *, """ :param Sequence['GetModelEvaluationResultsEvaluationResultCollectionItemArgs'] items: List of model evaluation analysis """ - pulumi.set(__self__, "items", items) + GetModelEvaluationResultsEvaluationResultCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetModelEvaluationResultsEvaluationResultCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1601,15 +1946,40 @@ def __init__(__self__, *, :param Sequence['GetModelEvaluationResultsEvaluationResultCollectionItemTrueEntityArgs'] true_entities: List of true(actual) entities in test data for NER model :param Sequence[str] true_labels: List of true(actual) labels in test data for multi class or multi label TextClassification """ - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "model_type", model_type) - pulumi.set(__self__, "predicted_entities", predicted_entities) - pulumi.set(__self__, "predicted_labels", predicted_labels) - pulumi.set(__self__, "record", record) - pulumi.set(__self__, "true_entities", true_entities) - pulumi.set(__self__, "true_labels", true_labels) + GetModelEvaluationResultsEvaluationResultCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + defined_tags=defined_tags, + freeform_tags=freeform_tags, + location=location, + model_type=model_type, + predicted_entities=predicted_entities, + predicted_labels=predicted_labels, + record=record, + true_entities=true_entities, + true_labels=true_labels, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + defined_tags: Mapping[str, Any], + freeform_tags: Mapping[str, Any], + location: str, + model_type: str, + predicted_entities: Sequence['outputs.GetModelEvaluationResultsEvaluationResultCollectionItemPredictedEntityResult'], + predicted_labels: Sequence[str], + record: str, + true_entities: Sequence['outputs.GetModelEvaluationResultsEvaluationResultCollectionItemTrueEntityResult'], + true_labels: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("defined_tags", defined_tags) + _setter("freeform_tags", freeform_tags) + _setter("location", location) + _setter("model_type", model_type) + _setter("predicted_entities", predicted_entities) + _setter("predicted_labels", predicted_labels) + _setter("record", record) + _setter("true_entities", true_entities) + _setter("true_labels", true_labels) @property @pulumi.getter(name="definedTags") @@ -1695,9 +2065,22 @@ def __init__(__self__, *, :param int offset: Starting index on text. :param str type: Type of entity text like PER, LOC, GPE, NOPE etc. """ - pulumi.set(__self__, "length", length) - pulumi.set(__self__, "offset", offset) - pulumi.set(__self__, "type", type) + GetModelEvaluationResultsEvaluationResultCollectionItemPredictedEntityResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + length=length, + offset=offset, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + length: int, + offset: int, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("length", length) + _setter("offset", offset) + _setter("type", type) @property @pulumi.getter @@ -1735,9 +2118,22 @@ def __init__(__self__, *, :param int offset: Starting index on text. :param str type: Type of entity text like PER, LOC, GPE, NOPE etc. """ - pulumi.set(__self__, "length", length) - pulumi.set(__self__, "offset", offset) - pulumi.set(__self__, "type", type) + GetModelEvaluationResultsEvaluationResultCollectionItemTrueEntityResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + length=length, + offset=offset, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + length: int, + offset: int, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("length", length) + _setter("offset", offset) + _setter("type", type) @property @pulumi.getter @@ -1770,10 +2166,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetModelEvaluationResultsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1804,10 +2213,25 @@ def __init__(__self__, *, :param str model_type: Model type :param str version: For pre trained models this will identify model type version used for model creation For custom identifying the model by model id is difficult. This param provides ease of use for end customer. <>::<>_<>::<> ex: ai-lang::NER_V1::CUSTOM-V0 """ - pulumi.set(__self__, "classification_modes", classification_modes) - pulumi.set(__self__, "language_code", language_code) - pulumi.set(__self__, "model_type", model_type) - pulumi.set(__self__, "version", version) + GetModelModelDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + classification_modes=classification_modes, + language_code=language_code, + model_type=model_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + classification_modes: Sequence['outputs.GetModelModelDetailClassificationModeResult'], + language_code: str, + model_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("classification_modes", classification_modes) + _setter("language_code", language_code) + _setter("model_type", model_type) + _setter("version", version) @property @pulumi.getter(name="classificationModes") @@ -1851,8 +2275,19 @@ def __init__(__self__, *, :param str classification_mode: classification Modes :param str version: For pre trained models this will identify model type version used for model creation For custom identifying the model by model id is difficult. This param provides ease of use for end customer. <>::<>_<>::<> ex: ai-lang::NER_V1::CUSTOM-V0 """ - pulumi.set(__self__, "classification_mode", classification_mode) - pulumi.set(__self__, "version", version) + GetModelModelDetailClassificationModeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + classification_mode=classification_mode, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + classification_mode: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("classification_mode", classification_mode) + _setter("version", version) @property @pulumi.getter(name="classificationMode") @@ -1882,9 +2317,22 @@ def __init__(__self__, *, :param Sequence['GetModelTestStrategyTestingDatasetArgs'] testing_datasets: Possible data set type :param Sequence['GetModelTestStrategyValidationDatasetArgs'] validation_datasets: Possible data set type """ - pulumi.set(__self__, "strategy_type", strategy_type) - pulumi.set(__self__, "testing_datasets", testing_datasets) - pulumi.set(__self__, "validation_datasets", validation_datasets) + GetModelTestStrategyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + strategy_type=strategy_type, + testing_datasets=testing_datasets, + validation_datasets=validation_datasets, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + strategy_type: str, + testing_datasets: Sequence['outputs.GetModelTestStrategyTestingDatasetResult'], + validation_datasets: Sequence['outputs.GetModelTestStrategyValidationDatasetResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("strategy_type", strategy_type) + _setter("testing_datasets", testing_datasets) + _setter("validation_datasets", validation_datasets) @property @pulumi.getter(name="strategyType") @@ -1922,9 +2370,22 @@ def __init__(__self__, *, :param str dataset_type: Possible data sets :param Sequence['GetModelTestStrategyTestingDatasetLocationDetailArgs'] location_details: Possible object storage location types """ - pulumi.set(__self__, "dataset_id", dataset_id) - pulumi.set(__self__, "dataset_type", dataset_type) - pulumi.set(__self__, "location_details", location_details) + GetModelTestStrategyTestingDatasetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + dataset_id=dataset_id, + dataset_type=dataset_type, + location_details=location_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + dataset_id: str, + dataset_type: str, + location_details: Sequence['outputs.GetModelTestStrategyTestingDatasetLocationDetailResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("dataset_id", dataset_id) + _setter("dataset_type", dataset_type) + _setter("location_details", location_details) @property @pulumi.getter(name="datasetId") @@ -1964,10 +2425,25 @@ def __init__(__self__, *, :param str namespace: Object storage namespace :param Sequence[str] object_names: Array of files which need to be processed in the bucket """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "location_type", location_type) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "object_names", object_names) + GetModelTestStrategyTestingDatasetLocationDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + location_type=location_type, + namespace=namespace, + object_names=object_names, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + location_type: str, + namespace: str, + object_names: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("location_type", location_type) + _setter("namespace", namespace) + _setter("object_names", object_names) @property @pulumi.getter @@ -2013,9 +2489,22 @@ def __init__(__self__, *, :param str dataset_type: Possible data sets :param Sequence['GetModelTestStrategyValidationDatasetLocationDetailArgs'] location_details: Possible object storage location types """ - pulumi.set(__self__, "dataset_id", dataset_id) - pulumi.set(__self__, "dataset_type", dataset_type) - pulumi.set(__self__, "location_details", location_details) + GetModelTestStrategyValidationDatasetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + dataset_id=dataset_id, + dataset_type=dataset_type, + location_details=location_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + dataset_id: str, + dataset_type: str, + location_details: Sequence['outputs.GetModelTestStrategyValidationDatasetLocationDetailResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("dataset_id", dataset_id) + _setter("dataset_type", dataset_type) + _setter("location_details", location_details) @property @pulumi.getter(name="datasetId") @@ -2055,10 +2544,25 @@ def __init__(__self__, *, :param str namespace: Object storage namespace :param Sequence[str] object_names: Array of files which need to be processed in the bucket """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "location_type", location_type) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "object_names", object_names) + GetModelTestStrategyValidationDatasetLocationDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + location_type=location_type, + namespace=namespace, + object_names=object_names, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + location_type: str, + namespace: str, + object_names: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("location_type", location_type) + _setter("namespace", namespace) + _setter("object_names", object_names) @property @pulumi.getter @@ -2104,9 +2608,22 @@ def __init__(__self__, *, :param str dataset_type: Possible data sets :param Sequence['GetModelTrainingDatasetLocationDetailArgs'] location_details: Possible object storage location types """ - pulumi.set(__self__, "dataset_id", dataset_id) - pulumi.set(__self__, "dataset_type", dataset_type) - pulumi.set(__self__, "location_details", location_details) + GetModelTrainingDatasetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + dataset_id=dataset_id, + dataset_type=dataset_type, + location_details=location_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + dataset_id: str, + dataset_type: str, + location_details: Sequence['outputs.GetModelTrainingDatasetLocationDetailResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("dataset_id", dataset_id) + _setter("dataset_type", dataset_type) + _setter("location_details", location_details) @property @pulumi.getter(name="datasetId") @@ -2146,10 +2663,25 @@ def __init__(__self__, *, :param str namespace: Object storage namespace :param Sequence[str] object_names: Array of files which need to be processed in the bucket """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "location_type", location_type) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "object_names", object_names) + GetModelTrainingDatasetLocationDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + location_type=location_type, + namespace=namespace, + object_names=object_names, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + location_type: str, + namespace: str, + object_names: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("location_type", location_type) + _setter("namespace", namespace) + _setter("object_names", object_names) @property @pulumi.getter @@ -2190,10 +2722,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetModelsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2215,7 +2760,16 @@ def regex(self) -> Optional[bool]: class GetModelsModelCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetModelsModelCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetModelsModelCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetModelsModelCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -2262,23 +2816,64 @@ def __init__(__self__, *, :param Sequence['GetModelsModelCollectionItemTrainingDatasetArgs'] training_datasets: Possible data set type :param str version: For pre trained models this will identify model type version used for model creation For custom identifying the model by model id is difficult. This param provides ease of use for end customer. <>::<>_<>::<> ex: ai-lang::NER_V1::CUSTOM-V0 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "evaluation_results", evaluation_results) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "model_details", model_details) - pulumi.set(__self__, "project_id", project_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "test_strategies", test_strategies) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "training_datasets", training_datasets) - pulumi.set(__self__, "version", version) + GetModelsModelCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + evaluation_results=evaluation_results, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + model_details=model_details, + project_id=project_id, + state=state, + system_tags=system_tags, + test_strategies=test_strategies, + time_created=time_created, + time_updated=time_updated, + training_datasets=training_datasets, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + evaluation_results: Sequence['outputs.GetModelsModelCollectionItemEvaluationResultResult'], + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + model_details: Sequence['outputs.GetModelsModelCollectionItemModelDetailResult'], + project_id: str, + state: str, + system_tags: Mapping[str, Any], + test_strategies: Sequence['outputs.GetModelsModelCollectionItemTestStrategyResult'], + time_created: str, + time_updated: str, + training_datasets: Sequence['outputs.GetModelsModelCollectionItemTrainingDatasetResult'], + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("evaluation_results", evaluation_results) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("model_details", model_details) + _setter("project_id", project_id) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("test_strategies", test_strategies) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("training_datasets", training_datasets) + _setter("version", version) @property @pulumi.getter(name="compartmentId") @@ -2434,12 +3029,31 @@ def __init__(__self__, *, :param Sequence['GetModelsModelCollectionItemEvaluationResultMetricArgs'] metrics: Model level named entity recognition metrics :param str model_type: Model type """ - pulumi.set(__self__, "class_metrics", class_metrics) - pulumi.set(__self__, "confusion_matrix", confusion_matrix) - pulumi.set(__self__, "entity_metrics", entity_metrics) - pulumi.set(__self__, "labels", labels) - pulumi.set(__self__, "metrics", metrics) - pulumi.set(__self__, "model_type", model_type) + GetModelsModelCollectionItemEvaluationResultResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + class_metrics=class_metrics, + confusion_matrix=confusion_matrix, + entity_metrics=entity_metrics, + labels=labels, + metrics=metrics, + model_type=model_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + class_metrics: Sequence['outputs.GetModelsModelCollectionItemEvaluationResultClassMetricResult'], + confusion_matrix: str, + entity_metrics: Sequence['outputs.GetModelsModelCollectionItemEvaluationResultEntityMetricResult'], + labels: Sequence[str], + metrics: Sequence['outputs.GetModelsModelCollectionItemEvaluationResultMetricResult'], + model_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("class_metrics", class_metrics) + _setter("confusion_matrix", confusion_matrix) + _setter("entity_metrics", entity_metrics) + _setter("labels", labels) + _setter("metrics", metrics) + _setter("model_type", model_type) @property @pulumi.getter(name="classMetrics") @@ -2505,11 +3119,28 @@ def __init__(__self__, *, :param float recall: Measures the model's ability to predict actual positive classes. It is the ratio between the predicted true positives and what was actually tagged. The recall metric reveals how many of the predicted classes are correct. :param float support: number of samples in the test set """ - pulumi.set(__self__, "f1", f1) - pulumi.set(__self__, "label", label) - pulumi.set(__self__, "precision", precision) - pulumi.set(__self__, "recall", recall) - pulumi.set(__self__, "support", support) + GetModelsModelCollectionItemEvaluationResultClassMetricResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + f1=f1, + label=label, + precision=precision, + recall=recall, + support=support, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + f1: float, + label: str, + precision: float, + recall: float, + support: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("f1", f1) + _setter("label", label) + _setter("precision", precision) + _setter("recall", recall) + _setter("support", support) @property @pulumi.getter @@ -2565,10 +3196,25 @@ def __init__(__self__, *, :param float precision: Precision refers to the number of true positives divided by the total number of positive predictions (i.e., the number of true positives plus the number of false positives) :param float recall: Measures the model's ability to predict actual positive classes. It is the ratio between the predicted true positives and what was actually tagged. The recall metric reveals how many of the predicted classes are correct. """ - pulumi.set(__self__, "f1", f1) - pulumi.set(__self__, "label", label) - pulumi.set(__self__, "precision", precision) - pulumi.set(__self__, "recall", recall) + GetModelsModelCollectionItemEvaluationResultEntityMetricResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + f1=f1, + label=label, + precision=precision, + recall=recall, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + f1: float, + label: str, + precision: float, + recall: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("f1", f1) + _setter("label", label) + _setter("precision", precision) + _setter("recall", recall) @property @pulumi.getter @@ -2628,16 +3274,43 @@ def __init__(__self__, *, :param float weighted_precision: Precision refers to the number of true positives divided by the total number of positive predictions (i.e., the number of true positives plus the number of false positives) :param float weighted_recall: Measures the model's ability to predict actual positive classes. It is the ratio between the predicted true positives and what was actually tagged. The recall metric reveals how many of the predicted classes are correct. """ - pulumi.set(__self__, "accuracy", accuracy) - pulumi.set(__self__, "macro_f1", macro_f1) - pulumi.set(__self__, "macro_precision", macro_precision) - pulumi.set(__self__, "macro_recall", macro_recall) - pulumi.set(__self__, "micro_f1", micro_f1) - pulumi.set(__self__, "micro_precision", micro_precision) - pulumi.set(__self__, "micro_recall", micro_recall) - pulumi.set(__self__, "weighted_f1", weighted_f1) - pulumi.set(__self__, "weighted_precision", weighted_precision) - pulumi.set(__self__, "weighted_recall", weighted_recall) + GetModelsModelCollectionItemEvaluationResultMetricResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + accuracy=accuracy, + macro_f1=macro_f1, + macro_precision=macro_precision, + macro_recall=macro_recall, + micro_f1=micro_f1, + micro_precision=micro_precision, + micro_recall=micro_recall, + weighted_f1=weighted_f1, + weighted_precision=weighted_precision, + weighted_recall=weighted_recall, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + accuracy: float, + macro_f1: float, + macro_precision: float, + macro_recall: float, + micro_f1: float, + micro_precision: float, + micro_recall: float, + weighted_f1: float, + weighted_precision: float, + weighted_recall: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("accuracy", accuracy) + _setter("macro_f1", macro_f1) + _setter("macro_precision", macro_precision) + _setter("macro_recall", macro_recall) + _setter("micro_f1", micro_f1) + _setter("micro_precision", micro_precision) + _setter("micro_recall", micro_recall) + _setter("weighted_f1", weighted_f1) + _setter("weighted_precision", weighted_precision) + _setter("weighted_recall", weighted_recall) @property @pulumi.getter @@ -2733,10 +3406,25 @@ def __init__(__self__, *, :param str model_type: Model type :param str version: For pre trained models this will identify model type version used for model creation For custom identifying the model by model id is difficult. This param provides ease of use for end customer. <>::<>_<>::<> ex: ai-lang::NER_V1::CUSTOM-V0 """ - pulumi.set(__self__, "classification_modes", classification_modes) - pulumi.set(__self__, "language_code", language_code) - pulumi.set(__self__, "model_type", model_type) - pulumi.set(__self__, "version", version) + GetModelsModelCollectionItemModelDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + classification_modes=classification_modes, + language_code=language_code, + model_type=model_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + classification_modes: Sequence['outputs.GetModelsModelCollectionItemModelDetailClassificationModeResult'], + language_code: str, + model_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("classification_modes", classification_modes) + _setter("language_code", language_code) + _setter("model_type", model_type) + _setter("version", version) @property @pulumi.getter(name="classificationModes") @@ -2780,8 +3468,19 @@ def __init__(__self__, *, :param str classification_mode: classification Modes :param str version: For pre trained models this will identify model type version used for model creation For custom identifying the model by model id is difficult. This param provides ease of use for end customer. <>::<>_<>::<> ex: ai-lang::NER_V1::CUSTOM-V0 """ - pulumi.set(__self__, "classification_mode", classification_mode) - pulumi.set(__self__, "version", version) + GetModelsModelCollectionItemModelDetailClassificationModeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + classification_mode=classification_mode, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + classification_mode: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("classification_mode", classification_mode) + _setter("version", version) @property @pulumi.getter(name="classificationMode") @@ -2811,9 +3510,22 @@ def __init__(__self__, *, :param Sequence['GetModelsModelCollectionItemTestStrategyTestingDatasetArgs'] testing_datasets: Possible data set type :param Sequence['GetModelsModelCollectionItemTestStrategyValidationDatasetArgs'] validation_datasets: Possible data set type """ - pulumi.set(__self__, "strategy_type", strategy_type) - pulumi.set(__self__, "testing_datasets", testing_datasets) - pulumi.set(__self__, "validation_datasets", validation_datasets) + GetModelsModelCollectionItemTestStrategyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + strategy_type=strategy_type, + testing_datasets=testing_datasets, + validation_datasets=validation_datasets, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + strategy_type: str, + testing_datasets: Sequence['outputs.GetModelsModelCollectionItemTestStrategyTestingDatasetResult'], + validation_datasets: Sequence['outputs.GetModelsModelCollectionItemTestStrategyValidationDatasetResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("strategy_type", strategy_type) + _setter("testing_datasets", testing_datasets) + _setter("validation_datasets", validation_datasets) @property @pulumi.getter(name="strategyType") @@ -2851,9 +3563,22 @@ def __init__(__self__, *, :param str dataset_type: Possible data sets :param Sequence['GetModelsModelCollectionItemTestStrategyTestingDatasetLocationDetailArgs'] location_details: Possible object storage location types """ - pulumi.set(__self__, "dataset_id", dataset_id) - pulumi.set(__self__, "dataset_type", dataset_type) - pulumi.set(__self__, "location_details", location_details) + GetModelsModelCollectionItemTestStrategyTestingDatasetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + dataset_id=dataset_id, + dataset_type=dataset_type, + location_details=location_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + dataset_id: str, + dataset_type: str, + location_details: Sequence['outputs.GetModelsModelCollectionItemTestStrategyTestingDatasetLocationDetailResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("dataset_id", dataset_id) + _setter("dataset_type", dataset_type) + _setter("location_details", location_details) @property @pulumi.getter(name="datasetId") @@ -2893,10 +3618,25 @@ def __init__(__self__, *, :param str namespace: Object storage namespace :param Sequence[str] object_names: Array of files which need to be processed in the bucket """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "location_type", location_type) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "object_names", object_names) + GetModelsModelCollectionItemTestStrategyTestingDatasetLocationDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + location_type=location_type, + namespace=namespace, + object_names=object_names, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + location_type: str, + namespace: str, + object_names: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("location_type", location_type) + _setter("namespace", namespace) + _setter("object_names", object_names) @property @pulumi.getter @@ -2942,9 +3682,22 @@ def __init__(__self__, *, :param str dataset_type: Possible data sets :param Sequence['GetModelsModelCollectionItemTestStrategyValidationDatasetLocationDetailArgs'] location_details: Possible object storage location types """ - pulumi.set(__self__, "dataset_id", dataset_id) - pulumi.set(__self__, "dataset_type", dataset_type) - pulumi.set(__self__, "location_details", location_details) + GetModelsModelCollectionItemTestStrategyValidationDatasetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + dataset_id=dataset_id, + dataset_type=dataset_type, + location_details=location_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + dataset_id: str, + dataset_type: str, + location_details: Sequence['outputs.GetModelsModelCollectionItemTestStrategyValidationDatasetLocationDetailResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("dataset_id", dataset_id) + _setter("dataset_type", dataset_type) + _setter("location_details", location_details) @property @pulumi.getter(name="datasetId") @@ -2984,10 +3737,25 @@ def __init__(__self__, *, :param str namespace: Object storage namespace :param Sequence[str] object_names: Array of files which need to be processed in the bucket """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "location_type", location_type) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "object_names", object_names) + GetModelsModelCollectionItemTestStrategyValidationDatasetLocationDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + location_type=location_type, + namespace=namespace, + object_names=object_names, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + location_type: str, + namespace: str, + object_names: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("location_type", location_type) + _setter("namespace", namespace) + _setter("object_names", object_names) @property @pulumi.getter @@ -3033,9 +3801,22 @@ def __init__(__self__, *, :param str dataset_type: Possible data sets :param Sequence['GetModelsModelCollectionItemTrainingDatasetLocationDetailArgs'] location_details: Possible object storage location types """ - pulumi.set(__self__, "dataset_id", dataset_id) - pulumi.set(__self__, "dataset_type", dataset_type) - pulumi.set(__self__, "location_details", location_details) + GetModelsModelCollectionItemTrainingDatasetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + dataset_id=dataset_id, + dataset_type=dataset_type, + location_details=location_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + dataset_id: str, + dataset_type: str, + location_details: Sequence['outputs.GetModelsModelCollectionItemTrainingDatasetLocationDetailResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("dataset_id", dataset_id) + _setter("dataset_type", dataset_type) + _setter("location_details", location_details) @property @pulumi.getter(name="datasetId") @@ -3075,10 +3856,25 @@ def __init__(__self__, *, :param str namespace: Object storage namespace :param Sequence[str] object_names: Array of files which need to be processed in the bucket """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "location_type", location_type) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "object_names", object_names) + GetModelsModelCollectionItemTrainingDatasetLocationDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + location_type=location_type, + namespace=namespace, + object_names=object_names, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + location_type: str, + namespace: str, + object_names: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("location_type", location_type) + _setter("namespace", namespace) + _setter("object_names", object_names) @property @pulumi.getter @@ -3119,10 +3915,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetProjectsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3144,7 +3953,16 @@ def regex(self) -> Optional[bool]: class GetProjectsProjectCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetProjectsProjectCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetProjectsProjectCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetProjectsProjectCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -3179,17 +3997,46 @@ def __init__(__self__, *, :param str time_created: The date and time the resource was created in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). :param str time_updated: The date and time the resource was updated in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetProjectsProjectCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") diff --git a/sdk/python/pulumi_oci/ailanguage/project.py b/sdk/python/pulumi_oci/ailanguage/project.py index bacf9523d6..4d9ab72785 100644 --- a/sdk/python/pulumi_oci/ailanguage/project.py +++ b/sdk/python/pulumi_oci/ailanguage/project.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['ProjectArgs', 'Project'] @@ -31,15 +31,32 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) + ProjectArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="compartmentId") @@ -136,26 +153,53 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the resource was created in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). :param pulumi.Input[str] time_updated: The date and time the resource was updated in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). """ + _ProjectState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -383,6 +427,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ProjectArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/aivision/_inputs.py b/sdk/python/pulumi_oci/aivision/_inputs.py index 382323f1ba..52187db4f6 100644 --- a/sdk/python/pulumi_oci/aivision/_inputs.py +++ b/sdk/python/pulumi_oci/aivision/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -36,15 +36,32 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "dataset_type", dataset_type) + ModelTestingDatasetArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + dataset_type=dataset_type, + bucket=bucket, + dataset_id=dataset_id, + namespace_name=namespace_name, + object=object, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + dataset_type: pulumi.Input[str], + bucket: Optional[pulumi.Input[str]] = None, + dataset_id: Optional[pulumi.Input[str]] = None, + namespace_name: Optional[pulumi.Input[str]] = None, + object: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("dataset_type", dataset_type) if bucket is not None: - pulumi.set(__self__, "bucket", bucket) + _setter("bucket", bucket) if dataset_id is not None: - pulumi.set(__self__, "dataset_id", dataset_id) + _setter("dataset_id", dataset_id) if namespace_name is not None: - pulumi.set(__self__, "namespace_name", namespace_name) + _setter("namespace_name", namespace_name) if object is not None: - pulumi.set(__self__, "object", object) + _setter("object", object) @property @pulumi.getter(name="datasetType") @@ -130,15 +147,32 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "dataset_type", dataset_type) + ModelTrainingDatasetArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + dataset_type=dataset_type, + bucket=bucket, + dataset_id=dataset_id, + namespace_name=namespace_name, + object=object, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + dataset_type: pulumi.Input[str], + bucket: Optional[pulumi.Input[str]] = None, + dataset_id: Optional[pulumi.Input[str]] = None, + namespace_name: Optional[pulumi.Input[str]] = None, + object: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("dataset_type", dataset_type) if bucket is not None: - pulumi.set(__self__, "bucket", bucket) + _setter("bucket", bucket) if dataset_id is not None: - pulumi.set(__self__, "dataset_id", dataset_id) + _setter("dataset_id", dataset_id) if namespace_name is not None: - pulumi.set(__self__, "namespace_name", namespace_name) + _setter("namespace_name", namespace_name) if object is not None: - pulumi.set(__self__, "object", object) + _setter("object", object) @property @pulumi.getter(name="datasetType") @@ -224,15 +258,32 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "dataset_type", dataset_type) + ModelValidationDatasetArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + dataset_type=dataset_type, + bucket=bucket, + dataset_id=dataset_id, + namespace_name=namespace_name, + object=object, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + dataset_type: pulumi.Input[str], + bucket: Optional[pulumi.Input[str]] = None, + dataset_id: Optional[pulumi.Input[str]] = None, + namespace_name: Optional[pulumi.Input[str]] = None, + object: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("dataset_type", dataset_type) if bucket is not None: - pulumi.set(__self__, "bucket", bucket) + _setter("bucket", bucket) if dataset_id is not None: - pulumi.set(__self__, "dataset_id", dataset_id) + _setter("dataset_id", dataset_id) if namespace_name is not None: - pulumi.set(__self__, "namespace_name", namespace_name) + _setter("namespace_name", namespace_name) if object is not None: - pulumi.set(__self__, "object", object) + _setter("object", object) @property @pulumi.getter(name="datasetType") @@ -305,10 +356,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetModelsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -344,10 +408,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetProjectsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/aivision/get_model.py b/sdk/python/pulumi_oci/aivision/get_model.py index eb1d73d774..d6d4129fcc 100644 --- a/sdk/python/pulumi_oci/aivision/get_model.py +++ b/sdk/python/pulumi_oci/aivision/get_model.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/aivision/get_models.py b/sdk/python/pulumi_oci/aivision/get_models.py index 010472d3f6..664f3d4134 100644 --- a/sdk/python/pulumi_oci/aivision/get_models.py +++ b/sdk/python/pulumi_oci/aivision/get_models.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/aivision/get_project.py b/sdk/python/pulumi_oci/aivision/get_project.py index e7e8400f48..1824477802 100644 --- a/sdk/python/pulumi_oci/aivision/get_project.py +++ b/sdk/python/pulumi_oci/aivision/get_project.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/aivision/get_projects.py b/sdk/python/pulumi_oci/aivision/get_projects.py index b9466e8caf..06dfc20f38 100644 --- a/sdk/python/pulumi_oci/aivision/get_projects.py +++ b/sdk/python/pulumi_oci/aivision/get_projects.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/aivision/model.py b/sdk/python/pulumi_oci/aivision/model.py index 70c3c18b51..84c497f775 100644 --- a/sdk/python/pulumi_oci/aivision/model.py +++ b/sdk/python/pulumi_oci/aivision/model.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -45,28 +45,61 @@ def __init__(__self__, *, :param pulumi.Input['ModelTestingDatasetArgs'] testing_dataset: The base entity for a Dataset, which is the input for Model creation. :param pulumi.Input['ModelValidationDatasetArgs'] validation_dataset: The base entity for a Dataset, which is the input for Model creation. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "model_type", model_type) - pulumi.set(__self__, "project_id", project_id) - pulumi.set(__self__, "training_dataset", training_dataset) + ModelArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + model_type=model_type, + project_id=project_id, + training_dataset=training_dataset, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + is_quick_mode=is_quick_mode, + max_training_duration_in_hours=max_training_duration_in_hours, + model_version=model_version, + testing_dataset=testing_dataset, + validation_dataset=validation_dataset, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + model_type: pulumi.Input[str], + project_id: pulumi.Input[str], + training_dataset: pulumi.Input['ModelTrainingDatasetArgs'], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_quick_mode: Optional[pulumi.Input[bool]] = None, + max_training_duration_in_hours: Optional[pulumi.Input[float]] = None, + model_version: Optional[pulumi.Input[str]] = None, + testing_dataset: Optional[pulumi.Input['ModelTestingDatasetArgs']] = None, + validation_dataset: Optional[pulumi.Input['ModelValidationDatasetArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("model_type", model_type) + _setter("project_id", project_id) + _setter("training_dataset", training_dataset) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_quick_mode is not None: - pulumi.set(__self__, "is_quick_mode", is_quick_mode) + _setter("is_quick_mode", is_quick_mode) if max_training_duration_in_hours is not None: - pulumi.set(__self__, "max_training_duration_in_hours", max_training_duration_in_hours) + _setter("max_training_duration_in_hours", max_training_duration_in_hours) if model_version is not None: - pulumi.set(__self__, "model_version", model_version) + _setter("model_version", model_version) if testing_dataset is not None: - pulumi.set(__self__, "testing_dataset", testing_dataset) + _setter("testing_dataset", testing_dataset) if validation_dataset is not None: - pulumi.set(__self__, "validation_dataset", validation_dataset) + _setter("validation_dataset", validation_dataset) @property @pulumi.getter(name="compartmentId") @@ -283,58 +316,117 @@ def __init__(__self__, *, :param pulumi.Input['ModelTrainingDatasetArgs'] training_dataset: The base entity for a Dataset, which is the input for Model creation. :param pulumi.Input['ModelValidationDatasetArgs'] validation_dataset: The base entity for a Dataset, which is the input for Model creation. """ + _ModelState._configure( + lambda key, value: pulumi.set(__self__, key, value), + average_precision=average_precision, + compartment_id=compartment_id, + confidence_threshold=confidence_threshold, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + is_quick_mode=is_quick_mode, + lifecycle_details=lifecycle_details, + max_training_duration_in_hours=max_training_duration_in_hours, + metrics=metrics, + model_type=model_type, + model_version=model_version, + precision=precision, + project_id=project_id, + recall=recall, + state=state, + system_tags=system_tags, + test_image_count=test_image_count, + testing_dataset=testing_dataset, + time_created=time_created, + time_updated=time_updated, + total_image_count=total_image_count, + trained_duration_in_hours=trained_duration_in_hours, + training_dataset=training_dataset, + validation_dataset=validation_dataset, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + average_precision: Optional[pulumi.Input[float]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + confidence_threshold: Optional[pulumi.Input[float]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_quick_mode: Optional[pulumi.Input[bool]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + max_training_duration_in_hours: Optional[pulumi.Input[float]] = None, + metrics: Optional[pulumi.Input[str]] = None, + model_type: Optional[pulumi.Input[str]] = None, + model_version: Optional[pulumi.Input[str]] = None, + precision: Optional[pulumi.Input[float]] = None, + project_id: Optional[pulumi.Input[str]] = None, + recall: Optional[pulumi.Input[float]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + test_image_count: Optional[pulumi.Input[int]] = None, + testing_dataset: Optional[pulumi.Input['ModelTestingDatasetArgs']] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + total_image_count: Optional[pulumi.Input[int]] = None, + trained_duration_in_hours: Optional[pulumi.Input[float]] = None, + training_dataset: Optional[pulumi.Input['ModelTrainingDatasetArgs']] = None, + validation_dataset: Optional[pulumi.Input['ModelValidationDatasetArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if average_precision is not None: - pulumi.set(__self__, "average_precision", average_precision) + _setter("average_precision", average_precision) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if confidence_threshold is not None: - pulumi.set(__self__, "confidence_threshold", confidence_threshold) + _setter("confidence_threshold", confidence_threshold) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_quick_mode is not None: - pulumi.set(__self__, "is_quick_mode", is_quick_mode) + _setter("is_quick_mode", is_quick_mode) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if max_training_duration_in_hours is not None: - pulumi.set(__self__, "max_training_duration_in_hours", max_training_duration_in_hours) + _setter("max_training_duration_in_hours", max_training_duration_in_hours) if metrics is not None: - pulumi.set(__self__, "metrics", metrics) + _setter("metrics", metrics) if model_type is not None: - pulumi.set(__self__, "model_type", model_type) + _setter("model_type", model_type) if model_version is not None: - pulumi.set(__self__, "model_version", model_version) + _setter("model_version", model_version) if precision is not None: - pulumi.set(__self__, "precision", precision) + _setter("precision", precision) if project_id is not None: - pulumi.set(__self__, "project_id", project_id) + _setter("project_id", project_id) if recall is not None: - pulumi.set(__self__, "recall", recall) + _setter("recall", recall) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if test_image_count is not None: - pulumi.set(__self__, "test_image_count", test_image_count) + _setter("test_image_count", test_image_count) if testing_dataset is not None: - pulumi.set(__self__, "testing_dataset", testing_dataset) + _setter("testing_dataset", testing_dataset) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if total_image_count is not None: - pulumi.set(__self__, "total_image_count", total_image_count) + _setter("total_image_count", total_image_count) if trained_duration_in_hours is not None: - pulumi.set(__self__, "trained_duration_in_hours", trained_duration_in_hours) + _setter("trained_duration_in_hours", trained_duration_in_hours) if training_dataset is not None: - pulumi.set(__self__, "training_dataset", training_dataset) + _setter("training_dataset", training_dataset) if validation_dataset is not None: - pulumi.set(__self__, "validation_dataset", validation_dataset) + _setter("validation_dataset", validation_dataset) @property @pulumi.getter(name="averagePrecision") @@ -814,6 +906,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ModelArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -857,10 +953,25 @@ def _internal_init(__self__, if project_id is None and not opts.urn: raise TypeError("Missing required property 'project_id'") __props__.__dict__["project_id"] = project_id + if testing_dataset is not None and not isinstance(testing_dataset, ModelTestingDatasetArgs): + testing_dataset = testing_dataset or {} + def _setter(key, value): + testing_dataset[key] = value + ModelTestingDatasetArgs._configure(_setter, **testing_dataset) __props__.__dict__["testing_dataset"] = testing_dataset + if training_dataset is not None and not isinstance(training_dataset, ModelTrainingDatasetArgs): + training_dataset = training_dataset or {} + def _setter(key, value): + training_dataset[key] = value + ModelTrainingDatasetArgs._configure(_setter, **training_dataset) if training_dataset is None and not opts.urn: raise TypeError("Missing required property 'training_dataset'") __props__.__dict__["training_dataset"] = training_dataset + if validation_dataset is not None and not isinstance(validation_dataset, ModelValidationDatasetArgs): + validation_dataset = validation_dataset or {} + def _setter(key, value): + validation_dataset[key] = value + ModelValidationDatasetArgs._configure(_setter, **validation_dataset) __props__.__dict__["validation_dataset"] = validation_dataset __props__.__dict__["average_precision"] = None __props__.__dict__["confidence_threshold"] = None diff --git a/sdk/python/pulumi_oci/aivision/outputs.py b/sdk/python/pulumi_oci/aivision/outputs.py index f6745cff11..82d92f4947 100644 --- a/sdk/python/pulumi_oci/aivision/outputs.py +++ b/sdk/python/pulumi_oci/aivision/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -68,15 +68,32 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "dataset_type", dataset_type) + ModelTestingDataset._configure( + lambda key, value: pulumi.set(__self__, key, value), + dataset_type=dataset_type, + bucket=bucket, + dataset_id=dataset_id, + namespace_name=namespace_name, + object=object, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + dataset_type: str, + bucket: Optional[str] = None, + dataset_id: Optional[str] = None, + namespace_name: Optional[str] = None, + object: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("dataset_type", dataset_type) if bucket is not None: - pulumi.set(__self__, "bucket", bucket) + _setter("bucket", bucket) if dataset_id is not None: - pulumi.set(__self__, "dataset_id", dataset_id) + _setter("dataset_id", dataset_id) if namespace_name is not None: - pulumi.set(__self__, "namespace_name", namespace_name) + _setter("namespace_name", namespace_name) if object is not None: - pulumi.set(__self__, "object", object) + _setter("object", object) @property @pulumi.getter(name="datasetType") @@ -163,15 +180,32 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "dataset_type", dataset_type) + ModelTrainingDataset._configure( + lambda key, value: pulumi.set(__self__, key, value), + dataset_type=dataset_type, + bucket=bucket, + dataset_id=dataset_id, + namespace_name=namespace_name, + object=object, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + dataset_type: str, + bucket: Optional[str] = None, + dataset_id: Optional[str] = None, + namespace_name: Optional[str] = None, + object: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("dataset_type", dataset_type) if bucket is not None: - pulumi.set(__self__, "bucket", bucket) + _setter("bucket", bucket) if dataset_id is not None: - pulumi.set(__self__, "dataset_id", dataset_id) + _setter("dataset_id", dataset_id) if namespace_name is not None: - pulumi.set(__self__, "namespace_name", namespace_name) + _setter("namespace_name", namespace_name) if object is not None: - pulumi.set(__self__, "object", object) + _setter("object", object) @property @pulumi.getter(name="datasetType") @@ -258,15 +292,32 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "dataset_type", dataset_type) + ModelValidationDataset._configure( + lambda key, value: pulumi.set(__self__, key, value), + dataset_type=dataset_type, + bucket=bucket, + dataset_id=dataset_id, + namespace_name=namespace_name, + object=object, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + dataset_type: str, + bucket: Optional[str] = None, + dataset_id: Optional[str] = None, + namespace_name: Optional[str] = None, + object: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("dataset_type", dataset_type) if bucket is not None: - pulumi.set(__self__, "bucket", bucket) + _setter("bucket", bucket) if dataset_id is not None: - pulumi.set(__self__, "dataset_id", dataset_id) + _setter("dataset_id", dataset_id) if namespace_name is not None: - pulumi.set(__self__, "namespace_name", namespace_name) + _setter("namespace_name", namespace_name) if object is not None: - pulumi.set(__self__, "object", object) + _setter("object", object) @property @pulumi.getter(name="datasetType") @@ -328,11 +379,28 @@ def __init__(__self__, *, :param str namespace_name: The namespace name of the ObjectStorage bucket that contains the input data file. :param str object: The object name of the input data file. """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "dataset_id", dataset_id) - pulumi.set(__self__, "dataset_type", dataset_type) - pulumi.set(__self__, "namespace_name", namespace_name) - pulumi.set(__self__, "object", object) + GetModelTestingDatasetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + dataset_id=dataset_id, + dataset_type=dataset_type, + namespace_name=namespace_name, + object=object, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + dataset_id: str, + dataset_type: str, + namespace_name: str, + object: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("dataset_id", dataset_id) + _setter("dataset_type", dataset_type) + _setter("namespace_name", namespace_name) + _setter("object", object) @property @pulumi.getter @@ -390,11 +458,28 @@ def __init__(__self__, *, :param str namespace_name: The namespace name of the ObjectStorage bucket that contains the input data file. :param str object: The object name of the input data file. """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "dataset_id", dataset_id) - pulumi.set(__self__, "dataset_type", dataset_type) - pulumi.set(__self__, "namespace_name", namespace_name) - pulumi.set(__self__, "object", object) + GetModelTrainingDatasetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + dataset_id=dataset_id, + dataset_type=dataset_type, + namespace_name=namespace_name, + object=object, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + dataset_id: str, + dataset_type: str, + namespace_name: str, + object: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("dataset_id", dataset_id) + _setter("dataset_type", dataset_type) + _setter("namespace_name", namespace_name) + _setter("object", object) @property @pulumi.getter @@ -452,11 +537,28 @@ def __init__(__self__, *, :param str namespace_name: The namespace name of the ObjectStorage bucket that contains the input data file. :param str object: The object name of the input data file. """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "dataset_id", dataset_id) - pulumi.set(__self__, "dataset_type", dataset_type) - pulumi.set(__self__, "namespace_name", namespace_name) - pulumi.set(__self__, "object", object) + GetModelValidationDatasetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + dataset_id=dataset_id, + dataset_type=dataset_type, + namespace_name=namespace_name, + object=object, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + dataset_id: str, + dataset_type: str, + namespace_name: str, + object: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("dataset_id", dataset_id) + _setter("dataset_type", dataset_type) + _setter("namespace_name", namespace_name) + _setter("object", object) @property @pulumi.getter @@ -505,10 +607,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetModelsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -530,7 +645,16 @@ def regex(self) -> Optional[bool]: class GetModelsModelCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetModelsModelCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetModelsModelCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetModelsModelCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -597,33 +721,94 @@ def __init__(__self__, *, :param Sequence['GetModelsModelCollectionItemTrainingDatasetArgs'] training_datasets: The base entity for a Dataset, which is the input for Model creation. :param Sequence['GetModelsModelCollectionItemValidationDatasetArgs'] validation_datasets: The base entity for a Dataset, which is the input for Model creation. """ - pulumi.set(__self__, "average_precision", average_precision) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "confidence_threshold", confidence_threshold) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_quick_mode", is_quick_mode) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "max_training_duration_in_hours", max_training_duration_in_hours) - pulumi.set(__self__, "metrics", metrics) - pulumi.set(__self__, "model_type", model_type) - pulumi.set(__self__, "model_version", model_version) - pulumi.set(__self__, "precision", precision) - pulumi.set(__self__, "project_id", project_id) - pulumi.set(__self__, "recall", recall) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "test_image_count", test_image_count) - pulumi.set(__self__, "testing_datasets", testing_datasets) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "total_image_count", total_image_count) - pulumi.set(__self__, "trained_duration_in_hours", trained_duration_in_hours) - pulumi.set(__self__, "training_datasets", training_datasets) - pulumi.set(__self__, "validation_datasets", validation_datasets) + GetModelsModelCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + average_precision=average_precision, + compartment_id=compartment_id, + confidence_threshold=confidence_threshold, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + is_quick_mode=is_quick_mode, + lifecycle_details=lifecycle_details, + max_training_duration_in_hours=max_training_duration_in_hours, + metrics=metrics, + model_type=model_type, + model_version=model_version, + precision=precision, + project_id=project_id, + recall=recall, + state=state, + system_tags=system_tags, + test_image_count=test_image_count, + testing_datasets=testing_datasets, + time_created=time_created, + time_updated=time_updated, + total_image_count=total_image_count, + trained_duration_in_hours=trained_duration_in_hours, + training_datasets=training_datasets, + validation_datasets=validation_datasets, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + average_precision: float, + compartment_id: str, + confidence_threshold: float, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + is_quick_mode: bool, + lifecycle_details: str, + max_training_duration_in_hours: float, + metrics: str, + model_type: str, + model_version: str, + precision: float, + project_id: str, + recall: float, + state: str, + system_tags: Mapping[str, Any], + test_image_count: int, + testing_datasets: Sequence['outputs.GetModelsModelCollectionItemTestingDatasetResult'], + time_created: str, + time_updated: str, + total_image_count: int, + trained_duration_in_hours: float, + training_datasets: Sequence['outputs.GetModelsModelCollectionItemTrainingDatasetResult'], + validation_datasets: Sequence['outputs.GetModelsModelCollectionItemValidationDatasetResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("average_precision", average_precision) + _setter("compartment_id", compartment_id) + _setter("confidence_threshold", confidence_threshold) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_quick_mode", is_quick_mode) + _setter("lifecycle_details", lifecycle_details) + _setter("max_training_duration_in_hours", max_training_duration_in_hours) + _setter("metrics", metrics) + _setter("model_type", model_type) + _setter("model_version", model_version) + _setter("precision", precision) + _setter("project_id", project_id) + _setter("recall", recall) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("test_image_count", test_image_count) + _setter("testing_datasets", testing_datasets) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("total_image_count", total_image_count) + _setter("trained_duration_in_hours", trained_duration_in_hours) + _setter("training_datasets", training_datasets) + _setter("validation_datasets", validation_datasets) @property @pulumi.getter(name="averagePrecision") @@ -856,11 +1041,28 @@ def __init__(__self__, *, :param str dataset_type: Type of the Dataset. :param str object: The object name of the input data file. """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "dataset_id", dataset_id) - pulumi.set(__self__, "dataset_type", dataset_type) - pulumi.set(__self__, "namespace_name", namespace_name) - pulumi.set(__self__, "object", object) + GetModelsModelCollectionItemTestingDatasetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + dataset_id=dataset_id, + dataset_type=dataset_type, + namespace_name=namespace_name, + object=object, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + dataset_id: str, + dataset_type: str, + namespace_name: str, + object: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("dataset_id", dataset_id) + _setter("dataset_type", dataset_type) + _setter("namespace_name", namespace_name) + _setter("object", object) @property @pulumi.getter @@ -914,11 +1116,28 @@ def __init__(__self__, *, :param str dataset_type: Type of the Dataset. :param str object: The object name of the input data file. """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "dataset_id", dataset_id) - pulumi.set(__self__, "dataset_type", dataset_type) - pulumi.set(__self__, "namespace_name", namespace_name) - pulumi.set(__self__, "object", object) + GetModelsModelCollectionItemTrainingDatasetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + dataset_id=dataset_id, + dataset_type=dataset_type, + namespace_name=namespace_name, + object=object, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + dataset_id: str, + dataset_type: str, + namespace_name: str, + object: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("dataset_id", dataset_id) + _setter("dataset_type", dataset_type) + _setter("namespace_name", namespace_name) + _setter("object", object) @property @pulumi.getter @@ -972,11 +1191,28 @@ def __init__(__self__, *, :param str dataset_type: Type of the Dataset. :param str object: The object name of the input data file. """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "dataset_id", dataset_id) - pulumi.set(__self__, "dataset_type", dataset_type) - pulumi.set(__self__, "namespace_name", namespace_name) - pulumi.set(__self__, "object", object) + GetModelsModelCollectionItemValidationDatasetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + dataset_id=dataset_id, + dataset_type=dataset_type, + namespace_name=namespace_name, + object=object, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + dataset_id: str, + dataset_type: str, + namespace_name: str, + object: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("dataset_id", dataset_id) + _setter("dataset_type", dataset_type) + _setter("namespace_name", namespace_name) + _setter("object", object) @property @pulumi.getter @@ -1022,10 +1258,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetProjectsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1047,7 +1296,16 @@ def regex(self) -> Optional[bool]: class GetProjectsProjectCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetProjectsProjectCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetProjectsProjectCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetProjectsProjectCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1082,17 +1340,46 @@ def __init__(__self__, *, :param str time_created: The time the Project was created. An RFC3339 formatted datetime string :param str time_updated: The time the Project was updated. An RFC3339 formatted datetime string """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetProjectsProjectCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") diff --git a/sdk/python/pulumi_oci/aivision/project.py b/sdk/python/pulumi_oci/aivision/project.py index 14485387dc..b9e5b16664 100644 --- a/sdk/python/pulumi_oci/aivision/project.py +++ b/sdk/python/pulumi_oci/aivision/project.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['ProjectArgs', 'Project'] @@ -31,15 +31,32 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) + ProjectArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="compartmentId") @@ -136,26 +153,53 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The time the Project was created. An RFC3339 formatted datetime string :param pulumi.Input[str] time_updated: The time the Project was updated. An RFC3339 formatted datetime string """ + _ProjectState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -383,6 +427,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ProjectArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/analytics/_inputs.py b/sdk/python/pulumi_oci/analytics/_inputs.py index b710b80f14..85185d7de3 100644 --- a/sdk/python/pulumi_oci/analytics/_inputs.py +++ b/sdk/python/pulumi_oci/analytics/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -27,8 +27,19 @@ def __init__(__self__, *, :param pulumi.Input[str] capacity_type: The capacity model to use. :param pulumi.Input[int] capacity_value: (Updatable) The capacity value selected (OLPU count, number of users, ...etc...). This parameter affects the number of CPUs, amount of memory or other resources allocated to the instance. """ - pulumi.set(__self__, "capacity_type", capacity_type) - pulumi.set(__self__, "capacity_value", capacity_value) + AnalyticsInstanceCapacityArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + capacity_type=capacity_type, + capacity_value=capacity_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + capacity_type: pulumi.Input[str], + capacity_value: pulumi.Input[int], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("capacity_type", capacity_type) + _setter("capacity_value", capacity_value) @property @pulumi.getter(name="capacityType") @@ -74,19 +85,40 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] whitelisted_services: Oracle Cloud Services that are allowed to access this Analytics instance. :param pulumi.Input[Sequence[pulumi.Input['AnalyticsInstanceNetworkEndpointDetailsWhitelistedVcnArgs']]] whitelisted_vcns: Virtual Cloud Networks allowed to access this network endpoint. """ - pulumi.set(__self__, "network_endpoint_type", network_endpoint_type) + AnalyticsInstanceNetworkEndpointDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + network_endpoint_type=network_endpoint_type, + network_security_group_ids=network_security_group_ids, + subnet_id=subnet_id, + vcn_id=vcn_id, + whitelisted_ips=whitelisted_ips, + whitelisted_services=whitelisted_services, + whitelisted_vcns=whitelisted_vcns, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + network_endpoint_type: pulumi.Input[str], + network_security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + vcn_id: Optional[pulumi.Input[str]] = None, + whitelisted_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + whitelisted_services: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + whitelisted_vcns: Optional[pulumi.Input[Sequence[pulumi.Input['AnalyticsInstanceNetworkEndpointDetailsWhitelistedVcnArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("network_endpoint_type", network_endpoint_type) if network_security_group_ids is not None: - pulumi.set(__self__, "network_security_group_ids", network_security_group_ids) + _setter("network_security_group_ids", network_security_group_ids) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) if vcn_id is not None: - pulumi.set(__self__, "vcn_id", vcn_id) + _setter("vcn_id", vcn_id) if whitelisted_ips is not None: - pulumi.set(__self__, "whitelisted_ips", whitelisted_ips) + _setter("whitelisted_ips", whitelisted_ips) if whitelisted_services is not None: - pulumi.set(__self__, "whitelisted_services", whitelisted_services) + _setter("whitelisted_services", whitelisted_services) if whitelisted_vcns is not None: - pulumi.set(__self__, "whitelisted_vcns", whitelisted_vcns) + _setter("whitelisted_vcns", whitelisted_vcns) @property @pulumi.getter(name="networkEndpointType") @@ -182,10 +214,21 @@ def __init__(__self__, *, :param pulumi.Input[str] id: The Virtual Cloud Network OCID. :param pulumi.Input[Sequence[pulumi.Input[str]]] whitelisted_ips: Source IP addresses or IP address ranges in ingress rules. """ + AnalyticsInstanceNetworkEndpointDetailsWhitelistedVcnArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + whitelisted_ips=whitelisted_ips, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: Optional[pulumi.Input[str]] = None, + whitelisted_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if whitelisted_ips is not None: - pulumi.set(__self__, "whitelisted_ips", whitelisted_ips) + _setter("whitelisted_ips", whitelisted_ips) @property @pulumi.getter @@ -221,9 +264,20 @@ def __init__(__self__, *, :param pulumi.Input[str] dns_zone: (Updatable) Private Source DNS Zone. Ex: example-vcn.oraclevcn.com, corp.example.com. :param pulumi.Input[str] description: (Updatable) Description of private source scan host zone. """ - pulumi.set(__self__, "dns_zone", dns_zone) + AnalyticsInstancePrivateAccessChannelPrivateSourceDnsZoneArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + dns_zone=dns_zone, + description=description, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + dns_zone: pulumi.Input[str], + description: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("dns_zone", dns_zone) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) @property @pulumi.getter(name="dnsZone") @@ -261,10 +315,23 @@ def __init__(__self__, *, :param pulumi.Input[int] scan_port: (Updatable) Private Source Scan host port. This is the source port where SCAN protocol will get connected (e.g. 1521). :param pulumi.Input[str] description: (Updatable) Description of private source scan host zone. """ - pulumi.set(__self__, "scan_hostname", scan_hostname) - pulumi.set(__self__, "scan_port", scan_port) + AnalyticsInstancePrivateAccessChannelPrivateSourceScanHostArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + scan_hostname=scan_hostname, + scan_port=scan_port, + description=description, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + scan_hostname: pulumi.Input[str], + scan_port: pulumi.Input[int], + description: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("scan_hostname", scan_hostname) + _setter("scan_port", scan_port) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) @property @pulumi.getter(name="scanHostname") @@ -312,10 +379,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the given name exactly. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAnalyticsInstancesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/analytics/analytics_instance.py b/sdk/python/pulumi_oci/analytics/analytics_instance.py index 25fe9370b8..9624a68e29 100644 --- a/sdk/python/pulumi_oci/analytics/analytics_instance.py +++ b/sdk/python/pulumi_oci/analytics/analytics_instance.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -49,27 +49,60 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "capacity", capacity) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "feature_set", feature_set) - pulumi.set(__self__, "idcs_access_token", idcs_access_token) - pulumi.set(__self__, "license_type", license_type) + AnalyticsInstanceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + capacity=capacity, + compartment_id=compartment_id, + feature_set=feature_set, + idcs_access_token=idcs_access_token, + license_type=license_type, + defined_tags=defined_tags, + description=description, + email_notification=email_notification, + freeform_tags=freeform_tags, + kms_key_id=kms_key_id, + name=name, + network_endpoint_details=network_endpoint_details, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + capacity: pulumi.Input['AnalyticsInstanceCapacityArgs'], + compartment_id: pulumi.Input[str], + feature_set: pulumi.Input[str], + idcs_access_token: pulumi.Input[str], + license_type: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + email_notification: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + kms_key_id: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + network_endpoint_details: Optional[pulumi.Input['AnalyticsInstanceNetworkEndpointDetailsArgs']] = None, + state: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("capacity", capacity) + _setter("compartment_id", compartment_id) + _setter("feature_set", feature_set) + _setter("idcs_access_token", idcs_access_token) + _setter("license_type", license_type) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if email_notification is not None: - pulumi.set(__self__, "email_notification", email_notification) + _setter("email_notification", email_notification) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if network_endpoint_details is not None: - pulumi.set(__self__, "network_endpoint_details", network_endpoint_details) + _setter("network_endpoint_details", network_endpoint_details) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) @property @pulumi.getter @@ -274,38 +307,77 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the instance was created, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z` :param pulumi.Input[str] time_updated: The date and time the instance was last updated (in the format defined by RFC3339). This timestamp represents updates made through this API. External events do not influence it. """ + _AnalyticsInstanceState._configure( + lambda key, value: pulumi.set(__self__, key, value), + capacity=capacity, + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + email_notification=email_notification, + feature_set=feature_set, + freeform_tags=freeform_tags, + idcs_access_token=idcs_access_token, + kms_key_id=kms_key_id, + license_type=license_type, + name=name, + network_endpoint_details=network_endpoint_details, + service_url=service_url, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + capacity: Optional[pulumi.Input['AnalyticsInstanceCapacityArgs']] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + email_notification: Optional[pulumi.Input[str]] = None, + feature_set: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + idcs_access_token: Optional[pulumi.Input[str]] = None, + kms_key_id: Optional[pulumi.Input[str]] = None, + license_type: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + network_endpoint_details: Optional[pulumi.Input['AnalyticsInstanceNetworkEndpointDetailsArgs']] = None, + service_url: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if capacity is not None: - pulumi.set(__self__, "capacity", capacity) + _setter("capacity", capacity) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if email_notification is not None: - pulumi.set(__self__, "email_notification", email_notification) + _setter("email_notification", email_notification) if feature_set is not None: - pulumi.set(__self__, "feature_set", feature_set) + _setter("feature_set", feature_set) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if idcs_access_token is not None: - pulumi.set(__self__, "idcs_access_token", idcs_access_token) + _setter("idcs_access_token", idcs_access_token) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) if license_type is not None: - pulumi.set(__self__, "license_type", license_type) + _setter("license_type", license_type) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if network_endpoint_details is not None: - pulumi.set(__self__, "network_endpoint_details", network_endpoint_details) + _setter("network_endpoint_details", network_endpoint_details) if service_url is not None: - pulumi.set(__self__, "service_url", service_url) + _setter("service_url", service_url) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter @@ -663,6 +735,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + AnalyticsInstanceArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -690,6 +766,11 @@ def _internal_init(__self__, raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = AnalyticsInstanceArgs.__new__(AnalyticsInstanceArgs) + if capacity is not None and not isinstance(capacity, AnalyticsInstanceCapacityArgs): + capacity = capacity or {} + def _setter(key, value): + capacity[key] = value + AnalyticsInstanceCapacityArgs._configure(_setter, **capacity) if capacity is None and not opts.urn: raise TypeError("Missing required property 'capacity'") __props__.__dict__["capacity"] = capacity @@ -711,6 +792,11 @@ def _internal_init(__self__, raise TypeError("Missing required property 'license_type'") __props__.__dict__["license_type"] = license_type __props__.__dict__["name"] = name + if network_endpoint_details is not None and not isinstance(network_endpoint_details, AnalyticsInstanceNetworkEndpointDetailsArgs): + network_endpoint_details = network_endpoint_details or {} + def _setter(key, value): + network_endpoint_details[key] = value + AnalyticsInstanceNetworkEndpointDetailsArgs._configure(_setter, **network_endpoint_details) __props__.__dict__["network_endpoint_details"] = network_endpoint_details __props__.__dict__["state"] = state __props__.__dict__["service_url"] = None diff --git a/sdk/python/pulumi_oci/analytics/analytics_instance_private_access_channel.py b/sdk/python/pulumi_oci/analytics/analytics_instance_private_access_channel.py index a44a6dd4ad..e2cfc00844 100644 --- a/sdk/python/pulumi_oci/analytics/analytics_instance_private_access_channel.py +++ b/sdk/python/pulumi_oci/analytics/analytics_instance_private_access_channel.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -37,15 +37,36 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] network_security_group_ids: (Updatable) Network Security Group OCIDs for an Analytics instance. :param pulumi.Input[Sequence[pulumi.Input['AnalyticsInstancePrivateAccessChannelPrivateSourceScanHostArgs']]] private_source_scan_hosts: (Updatable) List of Private Source DB SCAN hosts registered with Private Access Channel for access from Analytics Instance. """ - pulumi.set(__self__, "analytics_instance_id", analytics_instance_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "private_source_dns_zones", private_source_dns_zones) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "vcn_id", vcn_id) + AnalyticsInstancePrivateAccessChannelArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + analytics_instance_id=analytics_instance_id, + display_name=display_name, + private_source_dns_zones=private_source_dns_zones, + subnet_id=subnet_id, + vcn_id=vcn_id, + network_security_group_ids=network_security_group_ids, + private_source_scan_hosts=private_source_scan_hosts, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + analytics_instance_id: pulumi.Input[str], + display_name: pulumi.Input[str], + private_source_dns_zones: pulumi.Input[Sequence[pulumi.Input['AnalyticsInstancePrivateAccessChannelPrivateSourceDnsZoneArgs']]], + subnet_id: pulumi.Input[str], + vcn_id: pulumi.Input[str], + network_security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + private_source_scan_hosts: Optional[pulumi.Input[Sequence[pulumi.Input['AnalyticsInstancePrivateAccessChannelPrivateSourceScanHostArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("analytics_instance_id", analytics_instance_id) + _setter("display_name", display_name) + _setter("private_source_dns_zones", private_source_dns_zones) + _setter("subnet_id", subnet_id) + _setter("vcn_id", vcn_id) if network_security_group_ids is not None: - pulumi.set(__self__, "network_security_group_ids", network_security_group_ids) + _setter("network_security_group_ids", network_security_group_ids) if private_source_scan_hosts is not None: - pulumi.set(__self__, "private_source_scan_hosts", private_source_scan_hosts) + _setter("private_source_scan_hosts", private_source_scan_hosts) @property @pulumi.getter(name="analyticsInstanceId") @@ -166,26 +187,53 @@ def __init__(__self__, *, ** 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 """ + _AnalyticsInstancePrivateAccessChannelState._configure( + lambda key, value: pulumi.set(__self__, key, value), + analytics_instance_id=analytics_instance_id, + display_name=display_name, + egress_source_ip_addresses=egress_source_ip_addresses, + ip_address=ip_address, + key=key, + network_security_group_ids=network_security_group_ids, + private_source_dns_zones=private_source_dns_zones, + private_source_scan_hosts=private_source_scan_hosts, + subnet_id=subnet_id, + vcn_id=vcn_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + analytics_instance_id: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + egress_source_ip_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + ip_address: Optional[pulumi.Input[str]] = None, + key: Optional[pulumi.Input[str]] = None, + network_security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + private_source_dns_zones: Optional[pulumi.Input[Sequence[pulumi.Input['AnalyticsInstancePrivateAccessChannelPrivateSourceDnsZoneArgs']]]] = None, + private_source_scan_hosts: Optional[pulumi.Input[Sequence[pulumi.Input['AnalyticsInstancePrivateAccessChannelPrivateSourceScanHostArgs']]]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + vcn_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if analytics_instance_id is not None: - pulumi.set(__self__, "analytics_instance_id", analytics_instance_id) + _setter("analytics_instance_id", analytics_instance_id) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if egress_source_ip_addresses is not None: - pulumi.set(__self__, "egress_source_ip_addresses", egress_source_ip_addresses) + _setter("egress_source_ip_addresses", egress_source_ip_addresses) if ip_address is not None: - pulumi.set(__self__, "ip_address", ip_address) + _setter("ip_address", ip_address) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if network_security_group_ids is not None: - pulumi.set(__self__, "network_security_group_ids", network_security_group_ids) + _setter("network_security_group_ids", network_security_group_ids) if private_source_dns_zones is not None: - pulumi.set(__self__, "private_source_dns_zones", private_source_dns_zones) + _setter("private_source_dns_zones", private_source_dns_zones) if private_source_scan_hosts is not None: - pulumi.set(__self__, "private_source_scan_hosts", private_source_scan_hosts) + _setter("private_source_scan_hosts", private_source_scan_hosts) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) if vcn_id is not None: - pulumi.set(__self__, "vcn_id", vcn_id) + _setter("vcn_id", vcn_id) @property @pulumi.getter(name="analyticsInstanceId") @@ -429,6 +477,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + AnalyticsInstancePrivateAccessChannelArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/analytics/analytics_instance_vanity_url.py b/sdk/python/pulumi_oci/analytics/analytics_instance_vanity_url.py index 020d6e8117..b0ac6577d8 100644 --- a/sdk/python/pulumi_oci/analytics/analytics_instance_vanity_url.py +++ b/sdk/python/pulumi_oci/analytics/analytics_instance_vanity_url.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['AnalyticsInstanceVanityUrlArgs', 'AnalyticsInstanceVanityUrl'] @@ -35,15 +35,36 @@ def __init__(__self__, *, :param pulumi.Input[str] description: Optional description. :param pulumi.Input[str] passphrase: (Updatable) Passphrase for the PEM Private key (if any). """ - pulumi.set(__self__, "analytics_instance_id", analytics_instance_id) - pulumi.set(__self__, "ca_certificate", ca_certificate) - pulumi.set(__self__, "hosts", hosts) - pulumi.set(__self__, "private_key", private_key) - pulumi.set(__self__, "public_certificate", public_certificate) + AnalyticsInstanceVanityUrlArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + analytics_instance_id=analytics_instance_id, + ca_certificate=ca_certificate, + hosts=hosts, + private_key=private_key, + public_certificate=public_certificate, + description=description, + passphrase=passphrase, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + analytics_instance_id: pulumi.Input[str], + ca_certificate: pulumi.Input[str], + hosts: pulumi.Input[Sequence[pulumi.Input[str]]], + private_key: pulumi.Input[str], + public_certificate: pulumi.Input[str], + description: Optional[pulumi.Input[str]] = None, + passphrase: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("analytics_instance_id", analytics_instance_id) + _setter("ca_certificate", ca_certificate) + _setter("hosts", hosts) + _setter("private_key", private_key) + _setter("public_certificate", public_certificate) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if passphrase is not None: - pulumi.set(__self__, "passphrase", passphrase) + _setter("passphrase", passphrase) @property @pulumi.getter(name="analyticsInstanceId") @@ -158,20 +179,41 @@ def __init__(__self__, *, ** 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 """ + _AnalyticsInstanceVanityUrlState._configure( + lambda key, value: pulumi.set(__self__, key, value), + analytics_instance_id=analytics_instance_id, + ca_certificate=ca_certificate, + description=description, + hosts=hosts, + passphrase=passphrase, + private_key=private_key, + public_certificate=public_certificate, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + analytics_instance_id: Optional[pulumi.Input[str]] = None, + ca_certificate: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + hosts: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + passphrase: Optional[pulumi.Input[str]] = None, + private_key: Optional[pulumi.Input[str]] = None, + public_certificate: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if analytics_instance_id is not None: - pulumi.set(__self__, "analytics_instance_id", analytics_instance_id) + _setter("analytics_instance_id", analytics_instance_id) if ca_certificate is not None: - pulumi.set(__self__, "ca_certificate", ca_certificate) + _setter("ca_certificate", ca_certificate) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if hosts is not None: - pulumi.set(__self__, "hosts", hosts) + _setter("hosts", hosts) if passphrase is not None: - pulumi.set(__self__, "passphrase", passphrase) + _setter("passphrase", passphrase) if private_key is not None: - pulumi.set(__self__, "private_key", private_key) + _setter("private_key", private_key) if public_certificate is not None: - pulumi.set(__self__, "public_certificate", public_certificate) + _setter("public_certificate", public_certificate) @property @pulumi.getter(name="analyticsInstanceId") @@ -365,6 +407,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + AnalyticsInstanceVanityUrlArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/analytics/get_analytics_instance.py b/sdk/python/pulumi_oci/analytics/get_analytics_instance.py index e6f8a7a1da..b946272e0c 100644 --- a/sdk/python/pulumi_oci/analytics/get_analytics_instance.py +++ b/sdk/python/pulumi_oci/analytics/get_analytics_instance.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/analytics/get_analytics_instance_private_access_channel.py b/sdk/python/pulumi_oci/analytics/get_analytics_instance_private_access_channel.py index b6693c29da..6906e8de84 100644 --- a/sdk/python/pulumi_oci/analytics/get_analytics_instance_private_access_channel.py +++ b/sdk/python/pulumi_oci/analytics/get_analytics_instance_private_access_channel.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/analytics/get_analytics_instances.py b/sdk/python/pulumi_oci/analytics/get_analytics_instances.py index 908ca2cc4b..27f28cbb35 100644 --- a/sdk/python/pulumi_oci/analytics/get_analytics_instances.py +++ b/sdk/python/pulumi_oci/analytics/get_analytics_instances.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/analytics/outputs.py b/sdk/python/pulumi_oci/analytics/outputs.py index aedb666753..0e28318235 100644 --- a/sdk/python/pulumi_oci/analytics/outputs.py +++ b/sdk/python/pulumi_oci/analytics/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -56,8 +56,19 @@ def __init__(__self__, *, :param str capacity_type: The capacity model to use. :param int capacity_value: (Updatable) The capacity value selected (OLPU count, number of users, ...etc...). This parameter affects the number of CPUs, amount of memory or other resources allocated to the instance. """ - pulumi.set(__self__, "capacity_type", capacity_type) - pulumi.set(__self__, "capacity_value", capacity_value) + AnalyticsInstanceCapacity._configure( + lambda key, value: pulumi.set(__self__, key, value), + capacity_type=capacity_type, + capacity_value=capacity_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + capacity_type: str, + capacity_value: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("capacity_type", capacity_type) + _setter("capacity_value", capacity_value) @property @pulumi.getter(name="capacityType") @@ -124,19 +135,40 @@ def __init__(__self__, *, :param Sequence[str] whitelisted_services: Oracle Cloud Services that are allowed to access this Analytics instance. :param Sequence['AnalyticsInstanceNetworkEndpointDetailsWhitelistedVcnArgs'] whitelisted_vcns: Virtual Cloud Networks allowed to access this network endpoint. """ - pulumi.set(__self__, "network_endpoint_type", network_endpoint_type) + AnalyticsInstanceNetworkEndpointDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + network_endpoint_type=network_endpoint_type, + network_security_group_ids=network_security_group_ids, + subnet_id=subnet_id, + vcn_id=vcn_id, + whitelisted_ips=whitelisted_ips, + whitelisted_services=whitelisted_services, + whitelisted_vcns=whitelisted_vcns, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + network_endpoint_type: str, + network_security_group_ids: Optional[Sequence[str]] = None, + subnet_id: Optional[str] = None, + vcn_id: Optional[str] = None, + whitelisted_ips: Optional[Sequence[str]] = None, + whitelisted_services: Optional[Sequence[str]] = None, + whitelisted_vcns: Optional[Sequence['outputs.AnalyticsInstanceNetworkEndpointDetailsWhitelistedVcn']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("network_endpoint_type", network_endpoint_type) if network_security_group_ids is not None: - pulumi.set(__self__, "network_security_group_ids", network_security_group_ids) + _setter("network_security_group_ids", network_security_group_ids) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) if vcn_id is not None: - pulumi.set(__self__, "vcn_id", vcn_id) + _setter("vcn_id", vcn_id) if whitelisted_ips is not None: - pulumi.set(__self__, "whitelisted_ips", whitelisted_ips) + _setter("whitelisted_ips", whitelisted_ips) if whitelisted_services is not None: - pulumi.set(__self__, "whitelisted_services", whitelisted_services) + _setter("whitelisted_services", whitelisted_services) if whitelisted_vcns is not None: - pulumi.set(__self__, "whitelisted_vcns", whitelisted_vcns) + _setter("whitelisted_vcns", whitelisted_vcns) @property @pulumi.getter(name="networkEndpointType") @@ -221,10 +253,21 @@ def __init__(__self__, *, :param str id: The Virtual Cloud Network OCID. :param Sequence[str] whitelisted_ips: Source IP addresses or IP address ranges in ingress rules. """ + AnalyticsInstanceNetworkEndpointDetailsWhitelistedVcn._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + whitelisted_ips=whitelisted_ips, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: Optional[str] = None, + whitelisted_ips: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if whitelisted_ips is not None: - pulumi.set(__self__, "whitelisted_ips", whitelisted_ips) + _setter("whitelisted_ips", whitelisted_ips) @property @pulumi.getter @@ -269,9 +312,20 @@ def __init__(__self__, *, :param str dns_zone: (Updatable) Private Source DNS Zone. Ex: example-vcn.oraclevcn.com, corp.example.com. :param str description: (Updatable) Description of private source scan host zone. """ - pulumi.set(__self__, "dns_zone", dns_zone) + AnalyticsInstancePrivateAccessChannelPrivateSourceDnsZone._configure( + lambda key, value: pulumi.set(__self__, key, value), + dns_zone=dns_zone, + description=description, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + dns_zone: str, + description: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("dns_zone", dns_zone) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) @property @pulumi.getter(name="dnsZone") @@ -320,10 +374,23 @@ def __init__(__self__, *, :param int scan_port: (Updatable) Private Source Scan host port. This is the source port where SCAN protocol will get connected (e.g. 1521). :param str description: (Updatable) Description of private source scan host zone. """ - pulumi.set(__self__, "scan_hostname", scan_hostname) - pulumi.set(__self__, "scan_port", scan_port) + AnalyticsInstancePrivateAccessChannelPrivateSourceScanHost._configure( + lambda key, value: pulumi.set(__self__, key, value), + scan_hostname=scan_hostname, + scan_port=scan_port, + description=description, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + scan_hostname: str, + scan_port: int, + description: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("scan_hostname", scan_hostname) + _setter("scan_port", scan_port) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) @property @pulumi.getter(name="scanHostname") @@ -359,8 +426,19 @@ def __init__(__self__, *, :param str capacity_type: The capacity model to use. :param int capacity_value: The capacity value selected (OLPU count, number of users, ...etc...). This parameter affects the number of CPUs, amount of memory or other resources allocated to the instance. """ - pulumi.set(__self__, "capacity_type", capacity_type) - pulumi.set(__self__, "capacity_value", capacity_value) + GetAnalyticsInstanceCapacityResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + capacity_type=capacity_type, + capacity_value=capacity_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + capacity_type: str, + capacity_value: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("capacity_type", capacity_type) + _setter("capacity_value", capacity_value) @property @pulumi.getter(name="capacityType") @@ -398,13 +476,34 @@ def __init__(__self__, *, :param Sequence[str] whitelisted_services: Oracle Cloud Services that are allowed to access this Analytics instance. :param Sequence['GetAnalyticsInstanceNetworkEndpointDetailWhitelistedVcnArgs'] whitelisted_vcns: Virtual Cloud Networks allowed to access this network endpoint. """ - pulumi.set(__self__, "network_endpoint_type", network_endpoint_type) - pulumi.set(__self__, "network_security_group_ids", network_security_group_ids) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "vcn_id", vcn_id) - pulumi.set(__self__, "whitelisted_ips", whitelisted_ips) - pulumi.set(__self__, "whitelisted_services", whitelisted_services) - pulumi.set(__self__, "whitelisted_vcns", whitelisted_vcns) + GetAnalyticsInstanceNetworkEndpointDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + network_endpoint_type=network_endpoint_type, + network_security_group_ids=network_security_group_ids, + subnet_id=subnet_id, + vcn_id=vcn_id, + whitelisted_ips=whitelisted_ips, + whitelisted_services=whitelisted_services, + whitelisted_vcns=whitelisted_vcns, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + network_endpoint_type: str, + network_security_group_ids: Sequence[str], + subnet_id: str, + vcn_id: str, + whitelisted_ips: Sequence[str], + whitelisted_services: Sequence[str], + whitelisted_vcns: Sequence['outputs.GetAnalyticsInstanceNetworkEndpointDetailWhitelistedVcnResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("network_endpoint_type", network_endpoint_type) + _setter("network_security_group_ids", network_security_group_ids) + _setter("subnet_id", subnet_id) + _setter("vcn_id", vcn_id) + _setter("whitelisted_ips", whitelisted_ips) + _setter("whitelisted_services", whitelisted_services) + _setter("whitelisted_vcns", whitelisted_vcns) @property @pulumi.getter(name="networkEndpointType") @@ -472,8 +571,19 @@ def __init__(__self__, *, :param str id: The Virtual Cloud Network OCID. :param Sequence[str] whitelisted_ips: Source IP addresses or IP address ranges in ingress rules. """ - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "whitelisted_ips", whitelisted_ips) + GetAnalyticsInstanceNetworkEndpointDetailWhitelistedVcnResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + whitelisted_ips=whitelisted_ips, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: str, + whitelisted_ips: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) + _setter("whitelisted_ips", whitelisted_ips) @property @pulumi.getter @@ -501,8 +611,19 @@ def __init__(__self__, *, :param str description: Description of private source scan host zone. :param str dns_zone: Private Source DNS Zone. Ex: example-vcn.oraclevcn.com, corp.example.com. """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "dns_zone", dns_zone) + GetAnalyticsInstancePrivateAccessChannelPrivateSourceDnsZoneResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + dns_zone=dns_zone, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + dns_zone: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("dns_zone", dns_zone) @property @pulumi.getter @@ -532,9 +653,22 @@ def __init__(__self__, *, :param str scan_hostname: Private Source Scan hostname. Ex: db01-scan.corp.example.com, prd-db01-scan.mycompany.com. :param int scan_port: Private Source Scan host port. This is the source port where SCAN protocol will get connected (e.g. 1521). """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "scan_hostname", scan_hostname) - pulumi.set(__self__, "scan_port", scan_port) + GetAnalyticsInstancePrivateAccessChannelPrivateSourceScanHostResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + scan_hostname=scan_hostname, + scan_port=scan_port, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + scan_hostname: str, + scan_port: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("scan_hostname", scan_hostname) + _setter("scan_port", scan_port) @property @pulumi.getter @@ -599,23 +733,64 @@ def __init__(__self__, *, :param str time_created: The date and time the instance was created, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z` :param str time_updated: The date and time the instance was last updated (in the format defined by RFC3339). This timestamp represents updates made through this API. External events do not influence it. """ - pulumi.set(__self__, "capacities", capacities) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "email_notification", email_notification) - pulumi.set(__self__, "feature_set", feature_set) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "idcs_access_token", idcs_access_token) - pulumi.set(__self__, "kms_key_id", kms_key_id) - pulumi.set(__self__, "license_type", license_type) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "network_endpoint_details", network_endpoint_details) - pulumi.set(__self__, "service_url", service_url) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetAnalyticsInstancesAnalyticsInstanceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + capacities=capacities, + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + email_notification=email_notification, + feature_set=feature_set, + freeform_tags=freeform_tags, + id=id, + idcs_access_token=idcs_access_token, + kms_key_id=kms_key_id, + license_type=license_type, + name=name, + network_endpoint_details=network_endpoint_details, + service_url=service_url, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + capacities: Sequence['outputs.GetAnalyticsInstancesAnalyticsInstanceCapacityResult'], + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + email_notification: str, + feature_set: str, + freeform_tags: Mapping[str, Any], + id: str, + idcs_access_token: str, + kms_key_id: str, + license_type: str, + name: str, + network_endpoint_details: Sequence['outputs.GetAnalyticsInstancesAnalyticsInstanceNetworkEndpointDetailResult'], + service_url: str, + state: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("capacities", capacities) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("email_notification", email_notification) + _setter("feature_set", feature_set) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("idcs_access_token", idcs_access_token) + _setter("kms_key_id", kms_key_id) + _setter("license_type", license_type) + _setter("name", name) + _setter("network_endpoint_details", network_endpoint_details) + _setter("service_url", service_url) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter @@ -760,8 +935,19 @@ def __init__(__self__, *, :param str capacity_type: A filter to only return resources matching the capacity type enum. Values are case-insensitive. :param int capacity_value: The capacity value selected (OLPU count, number of users, ...etc...). This parameter affects the number of CPUs, amount of memory or other resources allocated to the instance. """ - pulumi.set(__self__, "capacity_type", capacity_type) - pulumi.set(__self__, "capacity_value", capacity_value) + GetAnalyticsInstancesAnalyticsInstanceCapacityResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + capacity_type=capacity_type, + capacity_value=capacity_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + capacity_type: str, + capacity_value: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("capacity_type", capacity_type) + _setter("capacity_value", capacity_value) @property @pulumi.getter(name="capacityType") @@ -799,13 +985,34 @@ def __init__(__self__, *, :param Sequence[str] whitelisted_services: Oracle Cloud Services that are allowed to access this Analytics instance. :param Sequence['GetAnalyticsInstancesAnalyticsInstanceNetworkEndpointDetailWhitelistedVcnArgs'] whitelisted_vcns: Virtual Cloud Networks allowed to access this network endpoint. """ - pulumi.set(__self__, "network_endpoint_type", network_endpoint_type) - pulumi.set(__self__, "network_security_group_ids", network_security_group_ids) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "vcn_id", vcn_id) - pulumi.set(__self__, "whitelisted_ips", whitelisted_ips) - pulumi.set(__self__, "whitelisted_services", whitelisted_services) - pulumi.set(__self__, "whitelisted_vcns", whitelisted_vcns) + GetAnalyticsInstancesAnalyticsInstanceNetworkEndpointDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + network_endpoint_type=network_endpoint_type, + network_security_group_ids=network_security_group_ids, + subnet_id=subnet_id, + vcn_id=vcn_id, + whitelisted_ips=whitelisted_ips, + whitelisted_services=whitelisted_services, + whitelisted_vcns=whitelisted_vcns, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + network_endpoint_type: str, + network_security_group_ids: Sequence[str], + subnet_id: str, + vcn_id: str, + whitelisted_ips: Sequence[str], + whitelisted_services: Sequence[str], + whitelisted_vcns: Sequence['outputs.GetAnalyticsInstancesAnalyticsInstanceNetworkEndpointDetailWhitelistedVcnResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("network_endpoint_type", network_endpoint_type) + _setter("network_security_group_ids", network_security_group_ids) + _setter("subnet_id", subnet_id) + _setter("vcn_id", vcn_id) + _setter("whitelisted_ips", whitelisted_ips) + _setter("whitelisted_services", whitelisted_services) + _setter("whitelisted_vcns", whitelisted_vcns) @property @pulumi.getter(name="networkEndpointType") @@ -873,8 +1080,19 @@ def __init__(__self__, *, :param str id: The Virtual Cloud Network OCID. :param Sequence[str] whitelisted_ips: Source IP addresses or IP address ranges in ingress rules. """ - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "whitelisted_ips", whitelisted_ips) + GetAnalyticsInstancesAnalyticsInstanceNetworkEndpointDetailWhitelistedVcnResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + whitelisted_ips=whitelisted_ips, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: str, + whitelisted_ips: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) + _setter("whitelisted_ips", whitelisted_ips) @property @pulumi.getter @@ -902,10 +1120,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the given name exactly. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAnalyticsInstancesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/announcementsservice/_inputs.py b/sdk/python/pulumi_oci/announcementsservice/_inputs.py index a09bb61fe9..9327d8f8a9 100644 --- a/sdk/python/pulumi_oci/announcementsservice/_inputs.py +++ b/sdk/python/pulumi_oci/announcementsservice/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -25,9 +25,20 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['AnnouncementSubscriptionFilterGroupsFilterArgs']]] filters: A list of filters against which the Announcements service matches announcements. You cannot have more than one of any given filter type within a filter group. :param pulumi.Input[str] name: The name of the group. The name must be unique and it cannot be changed. Avoid entering confidential information. """ - pulumi.set(__self__, "filters", filters) + AnnouncementSubscriptionFilterGroupsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + filters=filters, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + filters: pulumi.Input[Sequence[pulumi.Input['AnnouncementSubscriptionFilterGroupsFilterArgs']]], + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("filters", filters) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -63,8 +74,19 @@ def __init__(__self__, *, :param pulumi.Input[str] type: The type of filter. :param pulumi.Input[str] value: The value of the filter. """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + AnnouncementSubscriptionFilterGroupsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + value: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -100,8 +122,19 @@ def __init__(__self__, *, :param pulumi.Input[str] type: (Updatable) The type of filter. :param pulumi.Input[str] value: (Updatable) The value of the filter. """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + AnnouncementSubscriptionsFilterGroupFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + value: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -137,10 +170,23 @@ def __init__(__self__, *, """ :param str name: The name of the group. The name must be unique and it cannot be changed. Avoid entering confidential information. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAnnouncementSubscriptionsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/announcementsservice/announcement_subscription.py b/sdk/python/pulumi_oci/announcementsservice/announcement_subscription.py index 23ac26e833..7a65532eba 100644 --- a/sdk/python/pulumi_oci/announcementsservice/announcement_subscription.py +++ b/sdk/python/pulumi_oci/announcementsservice/announcement_subscription.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -41,21 +41,46 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "ons_topic_id", ons_topic_id) + AnnouncementSubscriptionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + ons_topic_id=ons_topic_id, + defined_tags=defined_tags, + description=description, + filter_groups=filter_groups, + freeform_tags=freeform_tags, + preferred_language=preferred_language, + preferred_time_zone=preferred_time_zone, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + ons_topic_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + filter_groups: Optional[pulumi.Input['AnnouncementSubscriptionFilterGroupsArgs']] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + preferred_language: Optional[pulumi.Input[str]] = None, + preferred_time_zone: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) + _setter("ons_topic_id", ons_topic_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if filter_groups is not None: - pulumi.set(__self__, "filter_groups", filter_groups) + _setter("filter_groups", filter_groups) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if preferred_language is not None: - pulumi.set(__self__, "preferred_language", preferred_language) + _setter("preferred_language", preferred_language) if preferred_time_zone is not None: - pulumi.set(__self__, "preferred_time_zone", preferred_time_zone) + _setter("preferred_time_zone", preferred_time_zone) @property @pulumi.getter(name="compartmentId") @@ -208,34 +233,69 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time that the announcement subscription was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. :param pulumi.Input[str] time_updated: The date and time that the announcement subscription was updated, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. """ + _AnnouncementSubscriptionState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + filter_groups=filter_groups, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + ons_topic_id=ons_topic_id, + preferred_language=preferred_language, + preferred_time_zone=preferred_time_zone, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + filter_groups: Optional[pulumi.Input['AnnouncementSubscriptionFilterGroupsArgs']] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + ons_topic_id: Optional[pulumi.Input[str]] = None, + preferred_language: Optional[pulumi.Input[str]] = None, + preferred_time_zone: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if filter_groups is not None: - pulumi.set(__self__, "filter_groups", filter_groups) + _setter("filter_groups", filter_groups) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if ons_topic_id is not None: - pulumi.set(__self__, "ons_topic_id", ons_topic_id) + _setter("ons_topic_id", ons_topic_id) if preferred_language is not None: - pulumi.set(__self__, "preferred_language", preferred_language) + _setter("preferred_language", preferred_language) if preferred_time_zone is not None: - pulumi.set(__self__, "preferred_time_zone", preferred_time_zone) + _setter("preferred_time_zone", preferred_time_zone) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -541,6 +601,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + AnnouncementSubscriptionArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -572,6 +636,11 @@ def _internal_init(__self__, if display_name is None and not opts.urn: raise TypeError("Missing required property 'display_name'") __props__.__dict__["display_name"] = display_name + if filter_groups is not None and not isinstance(filter_groups, AnnouncementSubscriptionFilterGroupsArgs): + filter_groups = filter_groups or {} + def _setter(key, value): + filter_groups[key] = value + AnnouncementSubscriptionFilterGroupsArgs._configure(_setter, **filter_groups) __props__.__dict__["filter_groups"] = filter_groups __props__.__dict__["freeform_tags"] = freeform_tags if ons_topic_id is None and not opts.urn: diff --git a/sdk/python/pulumi_oci/announcementsservice/announcement_subscriptions_actions_change_compartment.py b/sdk/python/pulumi_oci/announcementsservice/announcement_subscriptions_actions_change_compartment.py index 03eb9e5b98..512765bf26 100644 --- a/sdk/python/pulumi_oci/announcementsservice/announcement_subscriptions_actions_change_compartment.py +++ b/sdk/python/pulumi_oci/announcementsservice/announcement_subscriptions_actions_change_compartment.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['AnnouncementSubscriptionsActionsChangeCompartmentArgs', 'AnnouncementSubscriptionsActionsChangeCompartment'] @@ -25,8 +25,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "announcement_subscription_id", announcement_subscription_id) - pulumi.set(__self__, "compartment_id", compartment_id) + AnnouncementSubscriptionsActionsChangeCompartmentArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + announcement_subscription_id=announcement_subscription_id, + compartment_id=compartment_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + announcement_subscription_id: pulumi.Input[str], + compartment_id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("announcement_subscription_id", announcement_subscription_id) + _setter("compartment_id", compartment_id) @property @pulumi.getter(name="announcementSubscriptionId") @@ -71,10 +82,21 @@ def __init__(__self__, *, ** 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 """ + _AnnouncementSubscriptionsActionsChangeCompartmentState._configure( + lambda key, value: pulumi.set(__self__, key, value), + announcement_subscription_id=announcement_subscription_id, + compartment_id=compartment_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + announcement_subscription_id: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if announcement_subscription_id is not None: - pulumi.set(__self__, "announcement_subscription_id", announcement_subscription_id) + _setter("announcement_subscription_id", announcement_subscription_id) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) @property @pulumi.getter(name="announcementSubscriptionId") @@ -190,6 +212,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + AnnouncementSubscriptionsActionsChangeCompartmentArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/announcementsservice/announcement_subscriptions_filter_group.py b/sdk/python/pulumi_oci/announcementsservice/announcement_subscriptions_filter_group.py index bfa4e45cfc..393707d798 100644 --- a/sdk/python/pulumi_oci/announcementsservice/announcement_subscriptions_filter_group.py +++ b/sdk/python/pulumi_oci/announcementsservice/announcement_subscriptions_filter_group.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -29,10 +29,23 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "announcement_subscription_id", announcement_subscription_id) - pulumi.set(__self__, "filters", filters) + AnnouncementSubscriptionsFilterGroupArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + announcement_subscription_id=announcement_subscription_id, + filters=filters, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + announcement_subscription_id: pulumi.Input[str], + filters: pulumi.Input[Sequence[pulumi.Input['AnnouncementSubscriptionsFilterGroupFilterArgs']]], + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("announcement_subscription_id", announcement_subscription_id) + _setter("filters", filters) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter(name="announcementSubscriptionId") @@ -91,12 +104,25 @@ def __init__(__self__, *, ** 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 """ + _AnnouncementSubscriptionsFilterGroupState._configure( + lambda key, value: pulumi.set(__self__, key, value), + announcement_subscription_id=announcement_subscription_id, + filters=filters, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + announcement_subscription_id: Optional[pulumi.Input[str]] = None, + filters: Optional[pulumi.Input[Sequence[pulumi.Input['AnnouncementSubscriptionsFilterGroupFilterArgs']]]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if announcement_subscription_id is not None: - pulumi.set(__self__, "announcement_subscription_id", announcement_subscription_id) + _setter("announcement_subscription_id", announcement_subscription_id) if filters is not None: - pulumi.set(__self__, "filters", filters) + _setter("filters", filters) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter(name="announcementSubscriptionId") @@ -232,6 +258,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + AnnouncementSubscriptionsFilterGroupArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/announcementsservice/get_announcement_subscription.py b/sdk/python/pulumi_oci/announcementsservice/get_announcement_subscription.py index 7ecccc16c1..da64cd1e3c 100644 --- a/sdk/python/pulumi_oci/announcementsservice/get_announcement_subscription.py +++ b/sdk/python/pulumi_oci/announcementsservice/get_announcement_subscription.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/announcementsservice/get_announcement_subscriptions.py b/sdk/python/pulumi_oci/announcementsservice/get_announcement_subscriptions.py index 633c7368a1..3fcd5bfe49 100644 --- a/sdk/python/pulumi_oci/announcementsservice/get_announcement_subscriptions.py +++ b/sdk/python/pulumi_oci/announcementsservice/get_announcement_subscriptions.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/announcementsservice/outputs.py b/sdk/python/pulumi_oci/announcementsservice/outputs.py index d57ee2cda7..856ad13887 100644 --- a/sdk/python/pulumi_oci/announcementsservice/outputs.py +++ b/sdk/python/pulumi_oci/announcementsservice/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -32,9 +32,20 @@ def __init__(__self__, *, :param Sequence['AnnouncementSubscriptionFilterGroupsFilterArgs'] filters: A list of filters against which the Announcements service matches announcements. You cannot have more than one of any given filter type within a filter group. :param str name: The name of the group. The name must be unique and it cannot be changed. Avoid entering confidential information. """ - pulumi.set(__self__, "filters", filters) + AnnouncementSubscriptionFilterGroups._configure( + lambda key, value: pulumi.set(__self__, key, value), + filters=filters, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + filters: Sequence['outputs.AnnouncementSubscriptionFilterGroupsFilter'], + name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("filters", filters) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -62,8 +73,19 @@ def __init__(__self__, *, :param str type: The type of filter. :param str value: The value of the filter. """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + AnnouncementSubscriptionFilterGroupsFilter._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -91,8 +113,19 @@ def __init__(__self__, *, :param str type: (Updatable) The type of filter. :param str value: (Updatable) The value of the filter. """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + AnnouncementSubscriptionsFilterGroupFilter._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -120,8 +153,19 @@ def __init__(__self__, *, :param Sequence['GetAnnouncementSubscriptionFilterGroupFilterArgs'] filters: A list of filters against which the Announcements service matches announcements. You cannot have more than one of any given filter type within a filter group. You also cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. :param str name: The name of the group. The name must be unique and it cannot be changed. Avoid entering confidential information. """ - pulumi.set(__self__, "filters", filters) - pulumi.set(__self__, "name", name) + GetAnnouncementSubscriptionFilterGroupResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + filters=filters, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + filters: Sequence['outputs.GetAnnouncementSubscriptionFilterGroupFilterResult'], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("filters", filters) + _setter("name", name) @property @pulumi.getter @@ -149,8 +193,19 @@ def __init__(__self__, *, :param str type: The type of filter. :param str value: The value of the filter. """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetAnnouncementSubscriptionFilterGroupFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -173,7 +228,16 @@ def value(self) -> str: class GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -216,21 +280,58 @@ def __init__(__self__, *, :param str time_created: The date and time that the announcement subscription was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. :param str time_updated: The date and time that the announcement subscription was updated, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "filter_groups", filter_groups) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "ons_topic_id", ons_topic_id) - pulumi.set(__self__, "preferred_language", preferred_language) - pulumi.set(__self__, "preferred_time_zone", preferred_time_zone) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + filter_groups=filter_groups, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + ons_topic_id=ons_topic_id, + preferred_language=preferred_language, + preferred_time_zone=preferred_time_zone, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + filter_groups: Sequence['outputs.GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemFilterGroupResult'], + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + ons_topic_id: str, + preferred_language: str, + preferred_time_zone: str, + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("filter_groups", filter_groups) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("ons_topic_id", ons_topic_id) + _setter("preferred_language", preferred_language) + _setter("preferred_time_zone", preferred_time_zone) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -362,8 +463,19 @@ def __init__(__self__, *, :param Sequence['GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemFilterGroupFilterArgs'] filters: A list of filters against which the Announcements service matches announcements. You cannot have more than one of any given filter type within a filter group. You also cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. :param str name: The name of the group. The name must be unique and it cannot be changed. Avoid entering confidential information. """ - pulumi.set(__self__, "filters", filters) - pulumi.set(__self__, "name", name) + GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemFilterGroupResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + filters=filters, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + filters: Sequence['outputs.GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemFilterGroupFilterResult'], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("filters", filters) + _setter("name", name) @property @pulumi.getter @@ -391,8 +503,19 @@ def __init__(__self__, *, :param str type: The type of filter. :param str value: The value of the filter. """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetAnnouncementSubscriptionsAnnouncementSubscriptionCollectionItemFilterGroupFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -420,10 +543,23 @@ def __init__(__self__, *, """ :param str name: The name of the group. The name must be unique and it cannot be changed. Avoid entering confidential information. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAnnouncementSubscriptionsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/apigateway/_inputs.py b/sdk/python/pulumi_oci/apigateway/_inputs.py index d76239cd47..5baddd30b2 100644 --- a/sdk/python/pulumi_oci/apigateway/_inputs.py +++ b/sdk/python/pulumi_oci/apigateway/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -134,10 +134,21 @@ def __init__(__self__, *, :param pulumi.Input[str] name: Name of the validation. :param pulumi.Input[str] result: Result of the validation. """ + ApiValidationResultArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + result=result, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[pulumi.Input[str]] = None, + result: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if result is not None: - pulumi.set(__self__, "result", result) + _setter("result", result) @property @pulumi.getter @@ -175,11 +186,24 @@ def __init__(__self__, *, :param pulumi.Input['DeploymentSpecificationLoggingPoliciesArgs'] logging_policies: (Updatable) Policies controlling the pushing of logs to Oracle Cloud Infrastructure Public Logging. :param pulumi.Input['DeploymentSpecificationRequestPoliciesArgs'] request_policies: (Updatable) Behavior applied to any requests received by the API on this route. """ - pulumi.set(__self__, "routes", routes) + DeploymentSpecificationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + routes=routes, + logging_policies=logging_policies, + request_policies=request_policies, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + routes: pulumi.Input[Sequence[pulumi.Input['DeploymentSpecificationRouteArgs']]], + logging_policies: Optional[pulumi.Input['DeploymentSpecificationLoggingPoliciesArgs']] = None, + request_policies: Optional[pulumi.Input['DeploymentSpecificationRequestPoliciesArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("routes", routes) if logging_policies is not None: - pulumi.set(__self__, "logging_policies", logging_policies) + _setter("logging_policies", logging_policies) if request_policies is not None: - pulumi.set(__self__, "request_policies", request_policies) + _setter("request_policies", request_policies) @property @pulumi.getter @@ -227,10 +251,21 @@ def __init__(__self__, *, :param pulumi.Input['DeploymentSpecificationLoggingPoliciesAccessLogArgs'] access_log: (Updatable) Configures the logging policies for the access logs of an API Deployment. :param pulumi.Input['DeploymentSpecificationLoggingPoliciesExecutionLogArgs'] execution_log: (Updatable) Configures the logging policies for the execution logs of an API Deployment. """ + DeploymentSpecificationLoggingPoliciesArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + access_log=access_log, + execution_log=execution_log, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access_log: Optional[pulumi.Input['DeploymentSpecificationLoggingPoliciesAccessLogArgs']] = None, + execution_log: Optional[pulumi.Input['DeploymentSpecificationLoggingPoliciesExecutionLogArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if access_log is not None: - pulumi.set(__self__, "access_log", access_log) + _setter("access_log", access_log) if execution_log is not None: - pulumi.set(__self__, "execution_log", execution_log) + _setter("execution_log", execution_log) @property @pulumi.getter(name="accessLog") @@ -264,8 +299,17 @@ def __init__(__self__, *, """ :param pulumi.Input[bool] is_enabled: (Updatable) Whether this policy is currently enabled. """ + DeploymentSpecificationLoggingPoliciesAccessLogArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) @property @pulumi.getter(name="isEnabled") @@ -289,10 +333,21 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_enabled: (Updatable) Whether this policy is currently enabled. :param pulumi.Input[str] log_level: (Updatable) Specifies the log level used to control logging output of execution logs. Enabling logging at a given level also enables logging at all higher levels. """ + DeploymentSpecificationLoggingPoliciesExecutionLogArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + log_level=log_level, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: Optional[pulumi.Input[bool]] = None, + log_level: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) if log_level is not None: - pulumi.set(__self__, "log_level", log_level) + _setter("log_level", log_level) @property @pulumi.getter(name="isEnabled") @@ -336,18 +391,37 @@ def __init__(__self__, *, :param pulumi.Input['DeploymentSpecificationRequestPoliciesRateLimitingArgs'] rate_limiting: (Updatable) Limit the number of requests that should be handled for the specified window using a specfic key. :param pulumi.Input['DeploymentSpecificationRequestPoliciesUsagePlansArgs'] usage_plans: (Updatable) Usage plan policies for this deployment """ + DeploymentSpecificationRequestPoliciesArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + authentication=authentication, + cors=cors, + dynamic_authentication=dynamic_authentication, + mutual_tls=mutual_tls, + rate_limiting=rate_limiting, + usage_plans=usage_plans, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + authentication: Optional[pulumi.Input['DeploymentSpecificationRequestPoliciesAuthenticationArgs']] = None, + cors: Optional[pulumi.Input['DeploymentSpecificationRequestPoliciesCorsArgs']] = None, + dynamic_authentication: Optional[pulumi.Input['DeploymentSpecificationRequestPoliciesDynamicAuthenticationArgs']] = None, + mutual_tls: Optional[pulumi.Input['DeploymentSpecificationRequestPoliciesMutualTlsArgs']] = None, + rate_limiting: Optional[pulumi.Input['DeploymentSpecificationRequestPoliciesRateLimitingArgs']] = None, + usage_plans: Optional[pulumi.Input['DeploymentSpecificationRequestPoliciesUsagePlansArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if authentication is not None: - pulumi.set(__self__, "authentication", authentication) + _setter("authentication", authentication) if cors is not None: - pulumi.set(__self__, "cors", cors) + _setter("cors", cors) if dynamic_authentication is not None: - pulumi.set(__self__, "dynamic_authentication", dynamic_authentication) + _setter("dynamic_authentication", dynamic_authentication) if mutual_tls is not None: - pulumi.set(__self__, "mutual_tls", mutual_tls) + _setter("mutual_tls", mutual_tls) if rate_limiting is not None: - pulumi.set(__self__, "rate_limiting", rate_limiting) + _setter("rate_limiting", rate_limiting) if usage_plans is not None: - pulumi.set(__self__, "usage_plans", usage_plans) + _setter("usage_plans", usage_plans) @property @pulumi.getter @@ -461,35 +535,72 @@ def __init__(__self__, *, :param pulumi.Input['DeploymentSpecificationRequestPoliciesAuthenticationValidationPolicyArgs'] validation_policy: (Updatable) Authentication Policies for the Token Authentication types. :param pulumi.Input[Sequence[pulumi.Input['DeploymentSpecificationRequestPoliciesAuthenticationVerifyClaimArgs']]] verify_claims: (Updatable) A list of claims which should be validated to consider the token valid. """ - pulumi.set(__self__, "type", type) + DeploymentSpecificationRequestPoliciesAuthenticationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + audiences=audiences, + cache_keys=cache_keys, + function_id=function_id, + is_anonymous_access_allowed=is_anonymous_access_allowed, + issuers=issuers, + max_clock_skew_in_seconds=max_clock_skew_in_seconds, + parameters=parameters, + public_keys=public_keys, + token_auth_scheme=token_auth_scheme, + token_header=token_header, + token_query_param=token_query_param, + validation_failure_policy=validation_failure_policy, + validation_policy=validation_policy, + verify_claims=verify_claims, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + audiences: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + cache_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + function_id: Optional[pulumi.Input[str]] = None, + is_anonymous_access_allowed: Optional[pulumi.Input[bool]] = None, + issuers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + max_clock_skew_in_seconds: Optional[pulumi.Input[float]] = None, + parameters: Optional[pulumi.Input[Mapping[str, Any]]] = None, + public_keys: Optional[pulumi.Input['DeploymentSpecificationRequestPoliciesAuthenticationPublicKeysArgs']] = None, + token_auth_scheme: Optional[pulumi.Input[str]] = None, + token_header: Optional[pulumi.Input[str]] = None, + token_query_param: Optional[pulumi.Input[str]] = None, + validation_failure_policy: Optional[pulumi.Input['DeploymentSpecificationRequestPoliciesAuthenticationValidationFailurePolicyArgs']] = None, + validation_policy: Optional[pulumi.Input['DeploymentSpecificationRequestPoliciesAuthenticationValidationPolicyArgs']] = None, + verify_claims: Optional[pulumi.Input[Sequence[pulumi.Input['DeploymentSpecificationRequestPoliciesAuthenticationVerifyClaimArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if audiences is not None: - pulumi.set(__self__, "audiences", audiences) + _setter("audiences", audiences) if cache_keys is not None: - pulumi.set(__self__, "cache_keys", cache_keys) + _setter("cache_keys", cache_keys) if function_id is not None: - pulumi.set(__self__, "function_id", function_id) + _setter("function_id", function_id) if is_anonymous_access_allowed is not None: - pulumi.set(__self__, "is_anonymous_access_allowed", is_anonymous_access_allowed) + _setter("is_anonymous_access_allowed", is_anonymous_access_allowed) if issuers is not None: - pulumi.set(__self__, "issuers", issuers) + _setter("issuers", issuers) if max_clock_skew_in_seconds is not None: - pulumi.set(__self__, "max_clock_skew_in_seconds", max_clock_skew_in_seconds) + _setter("max_clock_skew_in_seconds", max_clock_skew_in_seconds) if parameters is not None: - pulumi.set(__self__, "parameters", parameters) + _setter("parameters", parameters) if public_keys is not None: - pulumi.set(__self__, "public_keys", public_keys) + _setter("public_keys", public_keys) if token_auth_scheme is not None: - pulumi.set(__self__, "token_auth_scheme", token_auth_scheme) + _setter("token_auth_scheme", token_auth_scheme) if token_header is not None: - pulumi.set(__self__, "token_header", token_header) + _setter("token_header", token_header) if token_query_param is not None: - pulumi.set(__self__, "token_query_param", token_query_param) + _setter("token_query_param", token_query_param) if validation_failure_policy is not None: - pulumi.set(__self__, "validation_failure_policy", validation_failure_policy) + _setter("validation_failure_policy", validation_failure_policy) if validation_policy is not None: - pulumi.set(__self__, "validation_policy", validation_policy) + _setter("validation_policy", validation_policy) if verify_claims is not None: - pulumi.set(__self__, "verify_claims", verify_claims) + _setter("verify_claims", verify_claims) @property @pulumi.getter @@ -695,15 +806,32 @@ def __init__(__self__, *, :param pulumi.Input[int] max_cache_duration_in_hours: (Updatable) The duration for which the introspect URL response should be cached before it is fetched again. :param pulumi.Input[str] uri: (Updatable) The uri from which to retrieve the key. It must be accessible without authentication. """ - pulumi.set(__self__, "type", type) + DeploymentSpecificationRequestPoliciesAuthenticationPublicKeysArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + is_ssl_verify_disabled=is_ssl_verify_disabled, + keys=keys, + max_cache_duration_in_hours=max_cache_duration_in_hours, + uri=uri, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + is_ssl_verify_disabled: Optional[pulumi.Input[bool]] = None, + keys: Optional[pulumi.Input[Sequence[pulumi.Input['DeploymentSpecificationRequestPoliciesAuthenticationPublicKeysKeyArgs']]]] = None, + max_cache_duration_in_hours: Optional[pulumi.Input[int]] = None, + uri: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if is_ssl_verify_disabled is not None: - pulumi.set(__self__, "is_ssl_verify_disabled", is_ssl_verify_disabled) + _setter("is_ssl_verify_disabled", is_ssl_verify_disabled) if keys is not None: - pulumi.set(__self__, "keys", keys) + _setter("keys", keys) if max_cache_duration_in_hours is not None: - pulumi.set(__self__, "max_cache_duration_in_hours", max_cache_duration_in_hours) + _setter("max_cache_duration_in_hours", max_cache_duration_in_hours) if uri is not None: - pulumi.set(__self__, "uri", uri) + _setter("uri", uri) @property @pulumi.getter @@ -793,23 +921,48 @@ def __init__(__self__, *, :param pulumi.Input[str] n: (Updatable) The base64 url encoded modulus of the RSA public key represented by this key. :param pulumi.Input[str] use: (Updatable) The intended use of the public key. """ - pulumi.set(__self__, "format", format) + DeploymentSpecificationRequestPoliciesAuthenticationPublicKeysKeyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + format=format, + alg=alg, + e=e, + key=key, + key_ops=key_ops, + kid=kid, + kty=kty, + n=n, + use=use, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + format: pulumi.Input[str], + alg: Optional[pulumi.Input[str]] = None, + e: Optional[pulumi.Input[str]] = None, + key: Optional[pulumi.Input[str]] = None, + key_ops: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + kid: Optional[pulumi.Input[str]] = None, + kty: Optional[pulumi.Input[str]] = None, + n: Optional[pulumi.Input[str]] = None, + use: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("format", format) if alg is not None: - pulumi.set(__self__, "alg", alg) + _setter("alg", alg) if e is not None: - pulumi.set(__self__, "e", e) + _setter("e", e) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if key_ops is not None: - pulumi.set(__self__, "key_ops", key_ops) + _setter("key_ops", key_ops) if kid is not None: - pulumi.set(__self__, "kid", kid) + _setter("kid", kid) if kty is not None: - pulumi.set(__self__, "kty", kty) + _setter("kty", kty) if n is not None: - pulumi.set(__self__, "n", n) + _setter("n", n) if use is not None: - pulumi.set(__self__, "use", use) + _setter("use", use) @property @pulumi.getter @@ -957,33 +1110,68 @@ def __init__(__self__, *, :param pulumi.Input[bool] use_cookies_for_session: (Updatable) Defines whether or not to use cookies for session maintenance. :param pulumi.Input[bool] use_pkce: (Updatable) Defines whether or not to support PKCE. """ - pulumi.set(__self__, "type", type) + DeploymentSpecificationRequestPoliciesAuthenticationValidationFailurePolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + client_details=client_details, + fallback_redirect_path=fallback_redirect_path, + logout_path=logout_path, + max_expiry_duration_in_hours=max_expiry_duration_in_hours, + response_code=response_code, + response_header_transformations=response_header_transformations, + response_message=response_message, + response_type=response_type, + scopes=scopes, + source_uri_details=source_uri_details, + use_cookies_for_intermediate_steps=use_cookies_for_intermediate_steps, + use_cookies_for_session=use_cookies_for_session, + use_pkce=use_pkce, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + client_details: Optional[pulumi.Input['DeploymentSpecificationRequestPoliciesAuthenticationValidationFailurePolicyClientDetailsArgs']] = None, + fallback_redirect_path: Optional[pulumi.Input[str]] = None, + logout_path: Optional[pulumi.Input[str]] = None, + max_expiry_duration_in_hours: Optional[pulumi.Input[int]] = None, + response_code: Optional[pulumi.Input[str]] = None, + response_header_transformations: Optional[pulumi.Input['DeploymentSpecificationRequestPoliciesAuthenticationValidationFailurePolicyResponseHeaderTransformationsArgs']] = None, + response_message: Optional[pulumi.Input[str]] = None, + response_type: Optional[pulumi.Input[str]] = None, + scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + source_uri_details: Optional[pulumi.Input['DeploymentSpecificationRequestPoliciesAuthenticationValidationFailurePolicySourceUriDetailsArgs']] = None, + use_cookies_for_intermediate_steps: Optional[pulumi.Input[bool]] = None, + use_cookies_for_session: Optional[pulumi.Input[bool]] = None, + use_pkce: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if client_details is not None: - pulumi.set(__self__, "client_details", client_details) + _setter("client_details", client_details) if fallback_redirect_path is not None: - pulumi.set(__self__, "fallback_redirect_path", fallback_redirect_path) + _setter("fallback_redirect_path", fallback_redirect_path) if logout_path is not None: - pulumi.set(__self__, "logout_path", logout_path) + _setter("logout_path", logout_path) if max_expiry_duration_in_hours is not None: - pulumi.set(__self__, "max_expiry_duration_in_hours", max_expiry_duration_in_hours) + _setter("max_expiry_duration_in_hours", max_expiry_duration_in_hours) if response_code is not None: - pulumi.set(__self__, "response_code", response_code) + _setter("response_code", response_code) if response_header_transformations is not None: - pulumi.set(__self__, "response_header_transformations", response_header_transformations) + _setter("response_header_transformations", response_header_transformations) if response_message is not None: - pulumi.set(__self__, "response_message", response_message) + _setter("response_message", response_message) if response_type is not None: - pulumi.set(__self__, "response_type", response_type) + _setter("response_type", response_type) if scopes is not None: - pulumi.set(__self__, "scopes", scopes) + _setter("scopes", scopes) if source_uri_details is not None: - pulumi.set(__self__, "source_uri_details", source_uri_details) + _setter("source_uri_details", source_uri_details) if use_cookies_for_intermediate_steps is not None: - pulumi.set(__self__, "use_cookies_for_intermediate_steps", use_cookies_for_intermediate_steps) + _setter("use_cookies_for_intermediate_steps", use_cookies_for_intermediate_steps) if use_cookies_for_session is not None: - pulumi.set(__self__, "use_cookies_for_session", use_cookies_for_session) + _setter("use_cookies_for_session", use_cookies_for_session) if use_pkce is not None: - pulumi.set(__self__, "use_pkce", use_pkce) + _setter("use_pkce", use_pkce) @property @pulumi.getter @@ -1175,13 +1363,28 @@ def __init__(__self__, *, :param pulumi.Input[str] client_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Vault Service secret resource. :param pulumi.Input[str] client_secret_version_number: (Updatable) The version number of the client secret to use. """ - pulumi.set(__self__, "type", type) + DeploymentSpecificationRequestPoliciesAuthenticationValidationFailurePolicyClientDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + client_id=client_id, + client_secret_id=client_secret_id, + client_secret_version_number=client_secret_version_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + client_id: Optional[pulumi.Input[str]] = None, + client_secret_id: Optional[pulumi.Input[str]] = None, + client_secret_version_number: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if client_id is not None: - pulumi.set(__self__, "client_id", client_id) + _setter("client_id", client_id) if client_secret_id is not None: - pulumi.set(__self__, "client_secret_id", client_secret_id) + _setter("client_secret_id", client_secret_id) if client_secret_version_number is not None: - pulumi.set(__self__, "client_secret_version_number", client_secret_version_number) + _setter("client_secret_version_number", client_secret_version_number) @property @pulumi.getter @@ -1247,12 +1450,25 @@ def __init__(__self__, *, :param pulumi.Input['DeploymentSpecificationRequestPoliciesAuthenticationValidationFailurePolicyResponseHeaderTransformationsRenameHeadersArgs'] rename_headers: (Updatable) Rename HTTP headers as they pass through the gateway. :param pulumi.Input['DeploymentSpecificationRequestPoliciesAuthenticationValidationFailurePolicyResponseHeaderTransformationsSetHeadersArgs'] set_headers: (Updatable) Set HTTP headers as they pass through the gateway. """ + DeploymentSpecificationRequestPoliciesAuthenticationValidationFailurePolicyResponseHeaderTransformationsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + filter_headers=filter_headers, + rename_headers=rename_headers, + set_headers=set_headers, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + filter_headers: Optional[pulumi.Input['DeploymentSpecificationRequestPoliciesAuthenticationValidationFailurePolicyResponseHeaderTransformationsFilterHeadersArgs']] = None, + rename_headers: Optional[pulumi.Input['DeploymentSpecificationRequestPoliciesAuthenticationValidationFailurePolicyResponseHeaderTransformationsRenameHeadersArgs']] = None, + set_headers: Optional[pulumi.Input['DeploymentSpecificationRequestPoliciesAuthenticationValidationFailurePolicyResponseHeaderTransformationsSetHeadersArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if filter_headers is not None: - pulumi.set(__self__, "filter_headers", filter_headers) + _setter("filter_headers", filter_headers) if rename_headers is not None: - pulumi.set(__self__, "rename_headers", rename_headers) + _setter("rename_headers", rename_headers) if set_headers is not None: - pulumi.set(__self__, "set_headers", set_headers) + _setter("set_headers", set_headers) @property @pulumi.getter(name="filterHeaders") @@ -1304,10 +1520,21 @@ def __init__(__self__, *, ** 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 """ + DeploymentSpecificationRequestPoliciesAuthenticationValidationFailurePolicyResponseHeaderTransformationsFilterHeadersArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Optional[pulumi.Input[Sequence[pulumi.Input['DeploymentSpecificationRequestPoliciesAuthenticationValidationFailurePolicyResponseHeaderTransformationsFilterHeadersItemArgs']]]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -1345,8 +1572,17 @@ def __init__(__self__, *, """ :param pulumi.Input[str] name: (Updatable) The case-insensitive name of the header. This name must be unique across transformation policies. """ + DeploymentSpecificationRequestPoliciesAuthenticationValidationFailurePolicyResponseHeaderTransformationsFilterHeadersItemArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -1368,8 +1604,17 @@ def __init__(__self__, *, """ :param pulumi.Input[Sequence[pulumi.Input['DeploymentSpecificationRequestPoliciesAuthenticationValidationFailurePolicyResponseHeaderTransformationsRenameHeadersItemArgs']]] items: (Updatable) The list of headers. """ + DeploymentSpecificationRequestPoliciesAuthenticationValidationFailurePolicyResponseHeaderTransformationsRenameHeadersArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Optional[pulumi.Input[Sequence[pulumi.Input['DeploymentSpecificationRequestPoliciesAuthenticationValidationFailurePolicyResponseHeaderTransformationsRenameHeadersItemArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) @property @pulumi.getter @@ -1393,10 +1638,21 @@ def __init__(__self__, *, :param pulumi.Input[str] from_: (Updatable) The original case-insensitive name of the header. This name must be unique across transformation policies. :param pulumi.Input[str] to: (Updatable) The new name of the header. This name must be unique across transformation policies. """ + DeploymentSpecificationRequestPoliciesAuthenticationValidationFailurePolicyResponseHeaderTransformationsRenameHeadersItemArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + from_=from_, + to=to, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + from_: Optional[pulumi.Input[str]] = None, + to: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if from_ is not None: - pulumi.set(__self__, "from_", from_) + _setter("from_", from_) if to is not None: - pulumi.set(__self__, "to", to) + _setter("to", to) @property @pulumi.getter(name="from") @@ -1430,8 +1686,17 @@ def __init__(__self__, *, """ :param pulumi.Input[Sequence[pulumi.Input['DeploymentSpecificationRequestPoliciesAuthenticationValidationFailurePolicyResponseHeaderTransformationsSetHeadersItemArgs']]] items: (Updatable) The list of headers. """ + DeploymentSpecificationRequestPoliciesAuthenticationValidationFailurePolicyResponseHeaderTransformationsSetHeadersArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Optional[pulumi.Input[Sequence[pulumi.Input['DeploymentSpecificationRequestPoliciesAuthenticationValidationFailurePolicyResponseHeaderTransformationsSetHeadersItemArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) @property @pulumi.getter @@ -1457,12 +1722,25 @@ def __init__(__self__, *, :param pulumi.Input[str] name: (Updatable) The case-insensitive name of the header. This name must be unique across transformation policies. :param pulumi.Input[Sequence[pulumi.Input[str]]] values: (Updatable) A list of new values. Each value can be a constant or may include one or more expressions enclosed within ${} delimiters. """ + DeploymentSpecificationRequestPoliciesAuthenticationValidationFailurePolicyResponseHeaderTransformationsSetHeadersItemArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + if_exists=if_exists, + name=name, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + if_exists: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if if_exists is not None: - pulumi.set(__self__, "if_exists", if_exists) + _setter("if_exists", if_exists) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if values is not None: - pulumi.set(__self__, "values", values) + _setter("values", values) @property @pulumi.getter(name="ifExists") @@ -1514,9 +1792,20 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] uri: (Updatable) The uri from which to retrieve the key. It must be accessible without authentication. """ - pulumi.set(__self__, "type", type) + DeploymentSpecificationRequestPoliciesAuthenticationValidationFailurePolicySourceUriDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + uri=uri, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + uri: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if uri is not None: - pulumi.set(__self__, "uri", uri) + _setter("uri", uri) @property @pulumi.getter @@ -1572,21 +1861,44 @@ def __init__(__self__, *, :param pulumi.Input['DeploymentSpecificationRequestPoliciesAuthenticationValidationPolicySourceUriDetailsArgs'] source_uri_details: (Updatable) Auth endpoint details. :param pulumi.Input[str] uri: (Updatable) The uri from which to retrieve the key. It must be accessible without authentication. """ - pulumi.set(__self__, "type", type) + DeploymentSpecificationRequestPoliciesAuthenticationValidationPolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + additional_validation_policy=additional_validation_policy, + client_details=client_details, + is_ssl_verify_disabled=is_ssl_verify_disabled, + keys=keys, + max_cache_duration_in_hours=max_cache_duration_in_hours, + source_uri_details=source_uri_details, + uri=uri, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + additional_validation_policy: Optional[pulumi.Input['DeploymentSpecificationRequestPoliciesAuthenticationValidationPolicyAdditionalValidationPolicyArgs']] = None, + client_details: Optional[pulumi.Input['DeploymentSpecificationRequestPoliciesAuthenticationValidationPolicyClientDetailsArgs']] = None, + is_ssl_verify_disabled: Optional[pulumi.Input[bool]] = None, + keys: Optional[pulumi.Input[Sequence[pulumi.Input['DeploymentSpecificationRequestPoliciesAuthenticationValidationPolicyKeyArgs']]]] = None, + max_cache_duration_in_hours: Optional[pulumi.Input[int]] = None, + source_uri_details: Optional[pulumi.Input['DeploymentSpecificationRequestPoliciesAuthenticationValidationPolicySourceUriDetailsArgs']] = None, + uri: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if additional_validation_policy is not None: - pulumi.set(__self__, "additional_validation_policy", additional_validation_policy) + _setter("additional_validation_policy", additional_validation_policy) if client_details is not None: - pulumi.set(__self__, "client_details", client_details) + _setter("client_details", client_details) if is_ssl_verify_disabled is not None: - pulumi.set(__self__, "is_ssl_verify_disabled", is_ssl_verify_disabled) + _setter("is_ssl_verify_disabled", is_ssl_verify_disabled) if keys is not None: - pulumi.set(__self__, "keys", keys) + _setter("keys", keys) if max_cache_duration_in_hours is not None: - pulumi.set(__self__, "max_cache_duration_in_hours", max_cache_duration_in_hours) + _setter("max_cache_duration_in_hours", max_cache_duration_in_hours) if source_uri_details is not None: - pulumi.set(__self__, "source_uri_details", source_uri_details) + _setter("source_uri_details", source_uri_details) if uri is not None: - pulumi.set(__self__, "uri", uri) + _setter("uri", uri) @property @pulumi.getter @@ -1700,12 +2012,25 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] issuers: (Updatable) A list of parties that could have issued the token. :param pulumi.Input[Sequence[pulumi.Input['DeploymentSpecificationRequestPoliciesAuthenticationValidationPolicyAdditionalValidationPolicyVerifyClaimArgs']]] verify_claims: (Updatable) A list of claims which should be validated to consider the token valid. """ + DeploymentSpecificationRequestPoliciesAuthenticationValidationPolicyAdditionalValidationPolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + audiences=audiences, + issuers=issuers, + verify_claims=verify_claims, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + audiences: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + issuers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + verify_claims: Optional[pulumi.Input[Sequence[pulumi.Input['DeploymentSpecificationRequestPoliciesAuthenticationValidationPolicyAdditionalValidationPolicyVerifyClaimArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if audiences is not None: - pulumi.set(__self__, "audiences", audiences) + _setter("audiences", audiences) if issuers is not None: - pulumi.set(__self__, "issuers", issuers) + _setter("issuers", issuers) if verify_claims is not None: - pulumi.set(__self__, "verify_claims", verify_claims) + _setter("verify_claims", verify_claims) @property @pulumi.getter @@ -1755,12 +2080,25 @@ def __init__(__self__, *, :param pulumi.Input[str] key: (Updatable) Information around the values for selector of an authentication/ routing branch. :param pulumi.Input[Sequence[pulumi.Input[str]]] values: (Updatable) A list of new values. Each value can be a constant or may include one or more expressions enclosed within ${} delimiters. """ + DeploymentSpecificationRequestPoliciesAuthenticationValidationPolicyAdditionalValidationPolicyVerifyClaimArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_required=is_required, + key=key, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_required: Optional[pulumi.Input[bool]] = None, + key: Optional[pulumi.Input[str]] = None, + values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_required is not None: - pulumi.set(__self__, "is_required", is_required) + _setter("is_required", is_required) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if values is not None: - pulumi.set(__self__, "values", values) + _setter("values", values) @property @pulumi.getter(name="isRequired") @@ -1816,13 +2154,28 @@ def __init__(__self__, *, :param pulumi.Input[str] client_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Vault Service secret resource. :param pulumi.Input[str] client_secret_version_number: (Updatable) The version number of the client secret to use. """ - pulumi.set(__self__, "type", type) + DeploymentSpecificationRequestPoliciesAuthenticationValidationPolicyClientDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + client_id=client_id, + client_secret_id=client_secret_id, + client_secret_version_number=client_secret_version_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + client_id: Optional[pulumi.Input[str]] = None, + client_secret_id: Optional[pulumi.Input[str]] = None, + client_secret_version_number: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if client_id is not None: - pulumi.set(__self__, "client_id", client_id) + _setter("client_id", client_id) if client_secret_id is not None: - pulumi.set(__self__, "client_secret_id", client_secret_id) + _setter("client_secret_id", client_secret_id) if client_secret_version_number is not None: - pulumi.set(__self__, "client_secret_version_number", client_secret_version_number) + _setter("client_secret_version_number", client_secret_version_number) @property @pulumi.getter @@ -1900,23 +2253,48 @@ def __init__(__self__, *, :param pulumi.Input[str] n: (Updatable) The base64 url encoded modulus of the RSA public key represented by this key. :param pulumi.Input[str] use: (Updatable) The intended use of the public key. """ - pulumi.set(__self__, "format", format) + DeploymentSpecificationRequestPoliciesAuthenticationValidationPolicyKeyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + format=format, + alg=alg, + e=e, + key=key, + key_ops=key_ops, + kid=kid, + kty=kty, + n=n, + use=use, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + format: pulumi.Input[str], + alg: Optional[pulumi.Input[str]] = None, + e: Optional[pulumi.Input[str]] = None, + key: Optional[pulumi.Input[str]] = None, + key_ops: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + kid: Optional[pulumi.Input[str]] = None, + kty: Optional[pulumi.Input[str]] = None, + n: Optional[pulumi.Input[str]] = None, + use: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("format", format) if alg is not None: - pulumi.set(__self__, "alg", alg) + _setter("alg", alg) if e is not None: - pulumi.set(__self__, "e", e) + _setter("e", e) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if key_ops is not None: - pulumi.set(__self__, "key_ops", key_ops) + _setter("key_ops", key_ops) if kid is not None: - pulumi.set(__self__, "kid", kid) + _setter("kid", kid) if kty is not None: - pulumi.set(__self__, "kty", kty) + _setter("kty", kty) if n is not None: - pulumi.set(__self__, "n", n) + _setter("n", n) if use is not None: - pulumi.set(__self__, "use", use) + _setter("use", use) @property @pulumi.getter @@ -2040,9 +2418,20 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] uri: (Updatable) The uri from which to retrieve the key. It must be accessible without authentication. """ - pulumi.set(__self__, "type", type) + DeploymentSpecificationRequestPoliciesAuthenticationValidationPolicySourceUriDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + uri=uri, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + uri: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if uri is not None: - pulumi.set(__self__, "uri", uri) + _setter("uri", uri) @property @pulumi.getter @@ -2084,12 +2473,25 @@ def __init__(__self__, *, :param pulumi.Input[str] key: (Updatable) Information around the values for selector of an authentication/ routing branch. :param pulumi.Input[Sequence[pulumi.Input[str]]] values: (Updatable) A list of new values. Each value can be a constant or may include one or more expressions enclosed within ${} delimiters. """ + DeploymentSpecificationRequestPoliciesAuthenticationVerifyClaimArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_required=is_required, + key=key, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_required: Optional[pulumi.Input[bool]] = None, + key: Optional[pulumi.Input[str]] = None, + values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_required is not None: - pulumi.set(__self__, "is_required", is_required) + _setter("is_required", is_required) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if values is not None: - pulumi.set(__self__, "values", values) + _setter("values", values) @property @pulumi.getter(name="isRequired") @@ -2145,17 +2547,36 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_allow_credentials_enabled: (Updatable) Whether to send the Access-Control-Allow-Credentials header to allow CORS requests with cookies. :param pulumi.Input[int] max_age_in_seconds: (Updatable) The time in seconds for the client to cache preflight responses. This is sent as the Access-Control-Max-Age if greater than 0. """ - pulumi.set(__self__, "allowed_origins", allowed_origins) + DeploymentSpecificationRequestPoliciesCorsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_origins=allowed_origins, + allowed_headers=allowed_headers, + allowed_methods=allowed_methods, + exposed_headers=exposed_headers, + is_allow_credentials_enabled=is_allow_credentials_enabled, + max_age_in_seconds=max_age_in_seconds, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_origins: pulumi.Input[Sequence[pulumi.Input[str]]], + allowed_headers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + allowed_methods: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + exposed_headers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + is_allow_credentials_enabled: Optional[pulumi.Input[bool]] = None, + max_age_in_seconds: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allowed_origins", allowed_origins) if allowed_headers is not None: - pulumi.set(__self__, "allowed_headers", allowed_headers) + _setter("allowed_headers", allowed_headers) if allowed_methods is not None: - pulumi.set(__self__, "allowed_methods", allowed_methods) + _setter("allowed_methods", allowed_methods) if exposed_headers is not None: - pulumi.set(__self__, "exposed_headers", exposed_headers) + _setter("exposed_headers", exposed_headers) if is_allow_credentials_enabled is not None: - pulumi.set(__self__, "is_allow_credentials_enabled", is_allow_credentials_enabled) + _setter("is_allow_credentials_enabled", is_allow_credentials_enabled) if max_age_in_seconds is not None: - pulumi.set(__self__, "max_age_in_seconds", max_age_in_seconds) + _setter("max_age_in_seconds", max_age_in_seconds) @property @pulumi.getter(name="allowedOrigins") @@ -2239,8 +2660,19 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerArgs']]] authentication_servers: (Updatable) List of authentication servers to choose from during dynamic authentication. :param pulumi.Input['DeploymentSpecificationRequestPoliciesDynamicAuthenticationSelectionSourceArgs'] selection_source: (Updatable) Information around selector used for branching among routes/ authentication servers while dynamic routing/ authentication. """ - pulumi.set(__self__, "authentication_servers", authentication_servers) - pulumi.set(__self__, "selection_source", selection_source) + DeploymentSpecificationRequestPoliciesDynamicAuthenticationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + authentication_servers=authentication_servers, + selection_source=selection_source, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + authentication_servers: pulumi.Input[Sequence[pulumi.Input['DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerArgs']]], + selection_source: pulumi.Input['DeploymentSpecificationRequestPoliciesDynamicAuthenticationSelectionSourceArgs'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("authentication_servers", authentication_servers) + _setter("selection_source", selection_source) @property @pulumi.getter(name="authenticationServers") @@ -2276,8 +2708,19 @@ def __init__(__self__, *, :param pulumi.Input['DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailArgs'] authentication_server_detail: (Updatable) Information on how to authenticate incoming requests. :param pulumi.Input['DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerKeyArgs'] key: (Updatable) Information around the values for selector of an authentication/ routing branch. """ - pulumi.set(__self__, "authentication_server_detail", authentication_server_detail) - pulumi.set(__self__, "key", key) + DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + authentication_server_detail=authentication_server_detail, + key=key, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + authentication_server_detail: pulumi.Input['DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailArgs'], + key: pulumi.Input['DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerKeyArgs'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("authentication_server_detail", authentication_server_detail) + _setter("key", key) @property @pulumi.getter(name="authenticationServerDetail") @@ -2343,35 +2786,72 @@ def __init__(__self__, *, :param pulumi.Input['DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicyArgs'] validation_policy: (Updatable) Authentication Policies for the Token Authentication types. :param pulumi.Input[Sequence[pulumi.Input['DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailVerifyClaimArgs']]] verify_claims: (Updatable) A list of claims which should be validated to consider the token valid. """ - pulumi.set(__self__, "type", type) + DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + audiences=audiences, + cache_keys=cache_keys, + function_id=function_id, + is_anonymous_access_allowed=is_anonymous_access_allowed, + issuers=issuers, + max_clock_skew_in_seconds=max_clock_skew_in_seconds, + parameters=parameters, + public_keys=public_keys, + token_auth_scheme=token_auth_scheme, + token_header=token_header, + token_query_param=token_query_param, + validation_failure_policy=validation_failure_policy, + validation_policy=validation_policy, + verify_claims=verify_claims, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + audiences: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + cache_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + function_id: Optional[pulumi.Input[str]] = None, + is_anonymous_access_allowed: Optional[pulumi.Input[bool]] = None, + issuers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + max_clock_skew_in_seconds: Optional[pulumi.Input[float]] = None, + parameters: Optional[pulumi.Input[Mapping[str, Any]]] = None, + public_keys: Optional[pulumi.Input['DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailPublicKeysArgs']] = None, + token_auth_scheme: Optional[pulumi.Input[str]] = None, + token_header: Optional[pulumi.Input[str]] = None, + token_query_param: Optional[pulumi.Input[str]] = None, + validation_failure_policy: Optional[pulumi.Input['DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyArgs']] = None, + validation_policy: Optional[pulumi.Input['DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicyArgs']] = None, + verify_claims: Optional[pulumi.Input[Sequence[pulumi.Input['DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailVerifyClaimArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if audiences is not None: - pulumi.set(__self__, "audiences", audiences) + _setter("audiences", audiences) if cache_keys is not None: - pulumi.set(__self__, "cache_keys", cache_keys) + _setter("cache_keys", cache_keys) if function_id is not None: - pulumi.set(__self__, "function_id", function_id) + _setter("function_id", function_id) if is_anonymous_access_allowed is not None: - pulumi.set(__self__, "is_anonymous_access_allowed", is_anonymous_access_allowed) + _setter("is_anonymous_access_allowed", is_anonymous_access_allowed) if issuers is not None: - pulumi.set(__self__, "issuers", issuers) + _setter("issuers", issuers) if max_clock_skew_in_seconds is not None: - pulumi.set(__self__, "max_clock_skew_in_seconds", max_clock_skew_in_seconds) + _setter("max_clock_skew_in_seconds", max_clock_skew_in_seconds) if parameters is not None: - pulumi.set(__self__, "parameters", parameters) + _setter("parameters", parameters) if public_keys is not None: - pulumi.set(__self__, "public_keys", public_keys) + _setter("public_keys", public_keys) if token_auth_scheme is not None: - pulumi.set(__self__, "token_auth_scheme", token_auth_scheme) + _setter("token_auth_scheme", token_auth_scheme) if token_header is not None: - pulumi.set(__self__, "token_header", token_header) + _setter("token_header", token_header) if token_query_param is not None: - pulumi.set(__self__, "token_query_param", token_query_param) + _setter("token_query_param", token_query_param) if validation_failure_policy is not None: - pulumi.set(__self__, "validation_failure_policy", validation_failure_policy) + _setter("validation_failure_policy", validation_failure_policy) if validation_policy is not None: - pulumi.set(__self__, "validation_policy", validation_policy) + _setter("validation_policy", validation_policy) if verify_claims is not None: - pulumi.set(__self__, "verify_claims", verify_claims) + _setter("verify_claims", verify_claims) @property @pulumi.getter @@ -2577,15 +3057,32 @@ def __init__(__self__, *, :param pulumi.Input[int] max_cache_duration_in_hours: (Updatable) The duration for which the introspect URL response should be cached before it is fetched again. :param pulumi.Input[str] uri: (Updatable) The uri from which to retrieve the key. It must be accessible without authentication. """ - pulumi.set(__self__, "type", type) + DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailPublicKeysArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + is_ssl_verify_disabled=is_ssl_verify_disabled, + keys=keys, + max_cache_duration_in_hours=max_cache_duration_in_hours, + uri=uri, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + is_ssl_verify_disabled: Optional[pulumi.Input[bool]] = None, + keys: Optional[pulumi.Input[Sequence[pulumi.Input['DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailPublicKeysKeyArgs']]]] = None, + max_cache_duration_in_hours: Optional[pulumi.Input[int]] = None, + uri: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if is_ssl_verify_disabled is not None: - pulumi.set(__self__, "is_ssl_verify_disabled", is_ssl_verify_disabled) + _setter("is_ssl_verify_disabled", is_ssl_verify_disabled) if keys is not None: - pulumi.set(__self__, "keys", keys) + _setter("keys", keys) if max_cache_duration_in_hours is not None: - pulumi.set(__self__, "max_cache_duration_in_hours", max_cache_duration_in_hours) + _setter("max_cache_duration_in_hours", max_cache_duration_in_hours) if uri is not None: - pulumi.set(__self__, "uri", uri) + _setter("uri", uri) @property @pulumi.getter @@ -2675,23 +3172,48 @@ def __init__(__self__, *, :param pulumi.Input[str] n: (Updatable) The base64 url encoded modulus of the RSA public key represented by this key. :param pulumi.Input[str] use: (Updatable) The intended use of the public key. """ - pulumi.set(__self__, "format", format) + DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailPublicKeysKeyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + format=format, + alg=alg, + e=e, + key=key, + key_ops=key_ops, + kid=kid, + kty=kty, + n=n, + use=use, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + format: pulumi.Input[str], + alg: Optional[pulumi.Input[str]] = None, + e: Optional[pulumi.Input[str]] = None, + key: Optional[pulumi.Input[str]] = None, + key_ops: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + kid: Optional[pulumi.Input[str]] = None, + kty: Optional[pulumi.Input[str]] = None, + n: Optional[pulumi.Input[str]] = None, + use: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("format", format) if alg is not None: - pulumi.set(__self__, "alg", alg) + _setter("alg", alg) if e is not None: - pulumi.set(__self__, "e", e) + _setter("e", e) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if key_ops is not None: - pulumi.set(__self__, "key_ops", key_ops) + _setter("key_ops", key_ops) if kid is not None: - pulumi.set(__self__, "kid", kid) + _setter("kid", kid) if kty is not None: - pulumi.set(__self__, "kty", kty) + _setter("kty", kty) if n is not None: - pulumi.set(__self__, "n", n) + _setter("n", n) if use is not None: - pulumi.set(__self__, "use", use) + _setter("use", use) @property @pulumi.getter @@ -2839,33 +3361,68 @@ def __init__(__self__, *, :param pulumi.Input[bool] use_cookies_for_session: (Updatable) Defines whether or not to use cookies for session maintenance. :param pulumi.Input[bool] use_pkce: (Updatable) Defines whether or not to support PKCE. """ - pulumi.set(__self__, "type", type) + DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + client_details=client_details, + fallback_redirect_path=fallback_redirect_path, + logout_path=logout_path, + max_expiry_duration_in_hours=max_expiry_duration_in_hours, + response_code=response_code, + response_header_transformations=response_header_transformations, + response_message=response_message, + response_type=response_type, + scopes=scopes, + source_uri_details=source_uri_details, + use_cookies_for_intermediate_steps=use_cookies_for_intermediate_steps, + use_cookies_for_session=use_cookies_for_session, + use_pkce=use_pkce, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + client_details: Optional[pulumi.Input['DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyClientDetailsArgs']] = None, + fallback_redirect_path: Optional[pulumi.Input[str]] = None, + logout_path: Optional[pulumi.Input[str]] = None, + max_expiry_duration_in_hours: Optional[pulumi.Input[int]] = None, + response_code: Optional[pulumi.Input[str]] = None, + response_header_transformations: Optional[pulumi.Input['DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationsArgs']] = None, + response_message: Optional[pulumi.Input[str]] = None, + response_type: Optional[pulumi.Input[str]] = None, + scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + source_uri_details: Optional[pulumi.Input['DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicySourceUriDetailsArgs']] = None, + use_cookies_for_intermediate_steps: Optional[pulumi.Input[bool]] = None, + use_cookies_for_session: Optional[pulumi.Input[bool]] = None, + use_pkce: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if client_details is not None: - pulumi.set(__self__, "client_details", client_details) + _setter("client_details", client_details) if fallback_redirect_path is not None: - pulumi.set(__self__, "fallback_redirect_path", fallback_redirect_path) + _setter("fallback_redirect_path", fallback_redirect_path) if logout_path is not None: - pulumi.set(__self__, "logout_path", logout_path) + _setter("logout_path", logout_path) if max_expiry_duration_in_hours is not None: - pulumi.set(__self__, "max_expiry_duration_in_hours", max_expiry_duration_in_hours) + _setter("max_expiry_duration_in_hours", max_expiry_duration_in_hours) if response_code is not None: - pulumi.set(__self__, "response_code", response_code) + _setter("response_code", response_code) if response_header_transformations is not None: - pulumi.set(__self__, "response_header_transformations", response_header_transformations) + _setter("response_header_transformations", response_header_transformations) if response_message is not None: - pulumi.set(__self__, "response_message", response_message) + _setter("response_message", response_message) if response_type is not None: - pulumi.set(__self__, "response_type", response_type) + _setter("response_type", response_type) if scopes is not None: - pulumi.set(__self__, "scopes", scopes) + _setter("scopes", scopes) if source_uri_details is not None: - pulumi.set(__self__, "source_uri_details", source_uri_details) + _setter("source_uri_details", source_uri_details) if use_cookies_for_intermediate_steps is not None: - pulumi.set(__self__, "use_cookies_for_intermediate_steps", use_cookies_for_intermediate_steps) + _setter("use_cookies_for_intermediate_steps", use_cookies_for_intermediate_steps) if use_cookies_for_session is not None: - pulumi.set(__self__, "use_cookies_for_session", use_cookies_for_session) + _setter("use_cookies_for_session", use_cookies_for_session) if use_pkce is not None: - pulumi.set(__self__, "use_pkce", use_pkce) + _setter("use_pkce", use_pkce) @property @pulumi.getter @@ -3057,13 +3614,28 @@ def __init__(__self__, *, :param pulumi.Input[str] client_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Vault Service secret resource. :param pulumi.Input[str] client_secret_version_number: (Updatable) The version number of the client secret to use. """ - pulumi.set(__self__, "type", type) + DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyClientDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + client_id=client_id, + client_secret_id=client_secret_id, + client_secret_version_number=client_secret_version_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + client_id: Optional[pulumi.Input[str]] = None, + client_secret_id: Optional[pulumi.Input[str]] = None, + client_secret_version_number: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if client_id is not None: - pulumi.set(__self__, "client_id", client_id) + _setter("client_id", client_id) if client_secret_id is not None: - pulumi.set(__self__, "client_secret_id", client_secret_id) + _setter("client_secret_id", client_secret_id) if client_secret_version_number is not None: - pulumi.set(__self__, "client_secret_version_number", client_secret_version_number) + _setter("client_secret_version_number", client_secret_version_number) @property @pulumi.getter @@ -3129,12 +3701,25 @@ def __init__(__self__, *, :param pulumi.Input['DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationsRenameHeadersArgs'] rename_headers: (Updatable) Rename HTTP headers as they pass through the gateway. :param pulumi.Input['DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationsSetHeadersArgs'] set_headers: (Updatable) Set HTTP headers as they pass through the gateway. """ + DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + filter_headers=filter_headers, + rename_headers=rename_headers, + set_headers=set_headers, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + filter_headers: Optional[pulumi.Input['DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationsFilterHeadersArgs']] = None, + rename_headers: Optional[pulumi.Input['DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationsRenameHeadersArgs']] = None, + set_headers: Optional[pulumi.Input['DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationsSetHeadersArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if filter_headers is not None: - pulumi.set(__self__, "filter_headers", filter_headers) + _setter("filter_headers", filter_headers) if rename_headers is not None: - pulumi.set(__self__, "rename_headers", rename_headers) + _setter("rename_headers", rename_headers) if set_headers is not None: - pulumi.set(__self__, "set_headers", set_headers) + _setter("set_headers", set_headers) @property @pulumi.getter(name="filterHeaders") @@ -3186,10 +3771,21 @@ def __init__(__self__, *, ** 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 """ + DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationsFilterHeadersArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Optional[pulumi.Input[Sequence[pulumi.Input['DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationsFilterHeadersItemArgs']]]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -3227,8 +3823,17 @@ def __init__(__self__, *, """ :param pulumi.Input[str] name: (Updatable) The case-insensitive name of the header. This name must be unique across transformation policies. """ + DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationsFilterHeadersItemArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -3250,8 +3855,17 @@ def __init__(__self__, *, """ :param pulumi.Input[Sequence[pulumi.Input['DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationsRenameHeadersItemArgs']]] items: (Updatable) The list of headers. """ + DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationsRenameHeadersArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Optional[pulumi.Input[Sequence[pulumi.Input['DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationsRenameHeadersItemArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) @property @pulumi.getter @@ -3275,10 +3889,21 @@ def __init__(__self__, *, :param pulumi.Input[str] from_: (Updatable) The original case-insensitive name of the header. This name must be unique across transformation policies. :param pulumi.Input[str] to: (Updatable) The new name of the header. This name must be unique across transformation policies. """ + DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationsRenameHeadersItemArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + from_=from_, + to=to, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + from_: Optional[pulumi.Input[str]] = None, + to: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if from_ is not None: - pulumi.set(__self__, "from_", from_) + _setter("from_", from_) if to is not None: - pulumi.set(__self__, "to", to) + _setter("to", to) @property @pulumi.getter(name="from") @@ -3312,8 +3937,17 @@ def __init__(__self__, *, """ :param pulumi.Input[Sequence[pulumi.Input['DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationsSetHeadersItemArgs']]] items: (Updatable) The list of headers. """ + DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationsSetHeadersArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Optional[pulumi.Input[Sequence[pulumi.Input['DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationsSetHeadersItemArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) @property @pulumi.getter @@ -3339,12 +3973,25 @@ def __init__(__self__, *, :param pulumi.Input[str] name: (Updatable) The case-insensitive name of the header. This name must be unique across transformation policies. :param pulumi.Input[Sequence[pulumi.Input[str]]] values: (Updatable) A list of new values. Each value can be a constant or may include one or more expressions enclosed within ${} delimiters. """ + DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationsSetHeadersItemArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + if_exists=if_exists, + name=name, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + if_exists: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if if_exists is not None: - pulumi.set(__self__, "if_exists", if_exists) + _setter("if_exists", if_exists) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if values is not None: - pulumi.set(__self__, "values", values) + _setter("values", values) @property @pulumi.getter(name="ifExists") @@ -3396,9 +4043,20 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] uri: (Updatable) The uri from which to retrieve the key. It must be accessible without authentication. """ - pulumi.set(__self__, "type", type) + DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicySourceUriDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + uri=uri, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + uri: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if uri is not None: - pulumi.set(__self__, "uri", uri) + _setter("uri", uri) @property @pulumi.getter @@ -3454,21 +4112,44 @@ def __init__(__self__, *, :param pulumi.Input['DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicySourceUriDetailsArgs'] source_uri_details: (Updatable) Auth endpoint details. :param pulumi.Input[str] uri: (Updatable) The uri from which to retrieve the key. It must be accessible without authentication. """ - pulumi.set(__self__, "type", type) + DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + additional_validation_policy=additional_validation_policy, + client_details=client_details, + is_ssl_verify_disabled=is_ssl_verify_disabled, + keys=keys, + max_cache_duration_in_hours=max_cache_duration_in_hours, + source_uri_details=source_uri_details, + uri=uri, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + additional_validation_policy: Optional[pulumi.Input['DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicyAdditionalValidationPolicyArgs']] = None, + client_details: Optional[pulumi.Input['DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicyClientDetailsArgs']] = None, + is_ssl_verify_disabled: Optional[pulumi.Input[bool]] = None, + keys: Optional[pulumi.Input[Sequence[pulumi.Input['DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicyKeyArgs']]]] = None, + max_cache_duration_in_hours: Optional[pulumi.Input[int]] = None, + source_uri_details: Optional[pulumi.Input['DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicySourceUriDetailsArgs']] = None, + uri: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if additional_validation_policy is not None: - pulumi.set(__self__, "additional_validation_policy", additional_validation_policy) + _setter("additional_validation_policy", additional_validation_policy) if client_details is not None: - pulumi.set(__self__, "client_details", client_details) + _setter("client_details", client_details) if is_ssl_verify_disabled is not None: - pulumi.set(__self__, "is_ssl_verify_disabled", is_ssl_verify_disabled) + _setter("is_ssl_verify_disabled", is_ssl_verify_disabled) if keys is not None: - pulumi.set(__self__, "keys", keys) + _setter("keys", keys) if max_cache_duration_in_hours is not None: - pulumi.set(__self__, "max_cache_duration_in_hours", max_cache_duration_in_hours) + _setter("max_cache_duration_in_hours", max_cache_duration_in_hours) if source_uri_details is not None: - pulumi.set(__self__, "source_uri_details", source_uri_details) + _setter("source_uri_details", source_uri_details) if uri is not None: - pulumi.set(__self__, "uri", uri) + _setter("uri", uri) @property @pulumi.getter @@ -3582,12 +4263,25 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] issuers: (Updatable) A list of parties that could have issued the token. :param pulumi.Input[Sequence[pulumi.Input['DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicyAdditionalValidationPolicyVerifyClaimArgs']]] verify_claims: (Updatable) A list of claims which should be validated to consider the token valid. """ + DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicyAdditionalValidationPolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + audiences=audiences, + issuers=issuers, + verify_claims=verify_claims, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + audiences: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + issuers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + verify_claims: Optional[pulumi.Input[Sequence[pulumi.Input['DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicyAdditionalValidationPolicyVerifyClaimArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if audiences is not None: - pulumi.set(__self__, "audiences", audiences) + _setter("audiences", audiences) if issuers is not None: - pulumi.set(__self__, "issuers", issuers) + _setter("issuers", issuers) if verify_claims is not None: - pulumi.set(__self__, "verify_claims", verify_claims) + _setter("verify_claims", verify_claims) @property @pulumi.getter @@ -3637,12 +4331,25 @@ def __init__(__self__, *, :param pulumi.Input[str] key: (Updatable) Information around the values for selector of an authentication/ routing branch. :param pulumi.Input[Sequence[pulumi.Input[str]]] values: (Updatable) A list of new values. Each value can be a constant or may include one or more expressions enclosed within ${} delimiters. """ + DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicyAdditionalValidationPolicyVerifyClaimArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_required=is_required, + key=key, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_required: Optional[pulumi.Input[bool]] = None, + key: Optional[pulumi.Input[str]] = None, + values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_required is not None: - pulumi.set(__self__, "is_required", is_required) + _setter("is_required", is_required) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if values is not None: - pulumi.set(__self__, "values", values) + _setter("values", values) @property @pulumi.getter(name="isRequired") @@ -3698,13 +4405,28 @@ def __init__(__self__, *, :param pulumi.Input[str] client_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Vault Service secret resource. :param pulumi.Input[str] client_secret_version_number: (Updatable) The version number of the client secret to use. """ - pulumi.set(__self__, "type", type) + DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicyClientDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + client_id=client_id, + client_secret_id=client_secret_id, + client_secret_version_number=client_secret_version_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + client_id: Optional[pulumi.Input[str]] = None, + client_secret_id: Optional[pulumi.Input[str]] = None, + client_secret_version_number: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if client_id is not None: - pulumi.set(__self__, "client_id", client_id) + _setter("client_id", client_id) if client_secret_id is not None: - pulumi.set(__self__, "client_secret_id", client_secret_id) + _setter("client_secret_id", client_secret_id) if client_secret_version_number is not None: - pulumi.set(__self__, "client_secret_version_number", client_secret_version_number) + _setter("client_secret_version_number", client_secret_version_number) @property @pulumi.getter @@ -3782,23 +4504,48 @@ def __init__(__self__, *, :param pulumi.Input[str] n: (Updatable) The base64 url encoded modulus of the RSA public key represented by this key. :param pulumi.Input[str] use: (Updatable) The intended use of the public key. """ - pulumi.set(__self__, "format", format) + DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicyKeyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + format=format, + alg=alg, + e=e, + key=key, + key_ops=key_ops, + kid=kid, + kty=kty, + n=n, + use=use, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + format: pulumi.Input[str], + alg: Optional[pulumi.Input[str]] = None, + e: Optional[pulumi.Input[str]] = None, + key: Optional[pulumi.Input[str]] = None, + key_ops: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + kid: Optional[pulumi.Input[str]] = None, + kty: Optional[pulumi.Input[str]] = None, + n: Optional[pulumi.Input[str]] = None, + use: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("format", format) if alg is not None: - pulumi.set(__self__, "alg", alg) + _setter("alg", alg) if e is not None: - pulumi.set(__self__, "e", e) + _setter("e", e) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if key_ops is not None: - pulumi.set(__self__, "key_ops", key_ops) + _setter("key_ops", key_ops) if kid is not None: - pulumi.set(__self__, "kid", kid) + _setter("kid", kid) if kty is not None: - pulumi.set(__self__, "kty", kty) + _setter("kty", kty) if n is not None: - pulumi.set(__self__, "n", n) + _setter("n", n) if use is not None: - pulumi.set(__self__, "use", use) + _setter("use", use) @property @pulumi.getter @@ -3922,9 +4669,20 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] uri: (Updatable) The uri from which to retrieve the key. It must be accessible without authentication. """ - pulumi.set(__self__, "type", type) + DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicySourceUriDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + uri=uri, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + uri: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if uri is not None: - pulumi.set(__self__, "uri", uri) + _setter("uri", uri) @property @pulumi.getter @@ -3966,12 +4724,25 @@ def __init__(__self__, *, :param pulumi.Input[str] key: (Updatable) Information around the values for selector of an authentication/ routing branch. :param pulumi.Input[Sequence[pulumi.Input[str]]] values: (Updatable) A list of new values. Each value can be a constant or may include one or more expressions enclosed within ${} delimiters. """ + DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailVerifyClaimArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_required=is_required, + key=key, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_required: Optional[pulumi.Input[bool]] = None, + key: Optional[pulumi.Input[str]] = None, + values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_required is not None: - pulumi.set(__self__, "is_required", is_required) + _setter("is_required", is_required) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if values is not None: - pulumi.set(__self__, "values", values) + _setter("values", values) @property @pulumi.getter(name="isRequired") @@ -4029,15 +4800,32 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[Sequence[pulumi.Input[str]]] values: (Updatable) A list of new values. Each value can be a constant or may include one or more expressions enclosed within ${} delimiters. """ - pulumi.set(__self__, "name", name) + DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerKeyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + expression=expression, + is_default=is_default, + type=type, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: pulumi.Input[str], + expression: Optional[pulumi.Input[str]] = None, + is_default: Optional[pulumi.Input[bool]] = None, + type: Optional[pulumi.Input[str]] = None, + values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) if expression is not None: - pulumi.set(__self__, "expression", expression) + _setter("expression", expression) if is_default is not None: - pulumi.set(__self__, "is_default", is_default) + _setter("is_default", is_default) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if values is not None: - pulumi.set(__self__, "values", values) + _setter("values", values) @property @pulumi.getter @@ -4117,8 +4905,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "selector", selector) - pulumi.set(__self__, "type", type) + DeploymentSpecificationRequestPoliciesDynamicAuthenticationSelectionSourceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + selector=selector, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + selector: pulumi.Input[str], + type: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("selector", selector) + _setter("type", type) @property @pulumi.getter @@ -4158,10 +4957,21 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_sans: (Updatable) Allowed list of CN or SAN which will be used for verification of certificate. :param pulumi.Input[bool] is_verified_certificate_required: (Updatable) Determines whether to enable client verification when API Consumer makes connection to the gateway. """ + DeploymentSpecificationRequestPoliciesMutualTlsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_sans=allowed_sans, + is_verified_certificate_required=is_verified_certificate_required, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_sans: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + is_verified_certificate_required: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if allowed_sans is not None: - pulumi.set(__self__, "allowed_sans", allowed_sans) + _setter("allowed_sans", allowed_sans) if is_verified_certificate_required is not None: - pulumi.set(__self__, "is_verified_certificate_required", is_verified_certificate_required) + _setter("is_verified_certificate_required", is_verified_certificate_required) @property @pulumi.getter(name="allowedSans") @@ -4197,8 +5007,19 @@ def __init__(__self__, *, :param pulumi.Input[int] rate_in_requests_per_second: (Updatable) The maximum number of requests per second to allow. :param pulumi.Input[str] rate_key: (Updatable) The key used to group requests together. """ - pulumi.set(__self__, "rate_in_requests_per_second", rate_in_requests_per_second) - pulumi.set(__self__, "rate_key", rate_key) + DeploymentSpecificationRequestPoliciesRateLimitingArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + rate_in_requests_per_second=rate_in_requests_per_second, + rate_key=rate_key, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + rate_in_requests_per_second: pulumi.Input[int], + rate_key: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("rate_in_requests_per_second", rate_in_requests_per_second) + _setter("rate_key", rate_key) @property @pulumi.getter(name="rateInRequestsPerSecond") @@ -4236,7 +5057,16 @@ def __init__(__self__, *, * "request.auth[Token]" * "request.path[TOKEN]" """ - pulumi.set(__self__, "token_locations", token_locations) + DeploymentSpecificationRequestPoliciesUsagePlansArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + token_locations=token_locations, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + token_locations: pulumi.Input[Sequence[pulumi.Input[str]]], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("token_locations", token_locations) @property @pulumi.getter(name="tokenLocations") @@ -4272,16 +5102,35 @@ def __init__(__self__, *, :param pulumi.Input['DeploymentSpecificationRouteRequestPoliciesArgs'] request_policies: (Updatable) Behavior applied to any requests received by the API on this route. :param pulumi.Input['DeploymentSpecificationRouteResponsePoliciesArgs'] response_policies: (Updatable) Behavior applied to any responses sent by the API for requests on this route. """ - pulumi.set(__self__, "backend", backend) - pulumi.set(__self__, "path", path) + DeploymentSpecificationRouteArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + backend=backend, + path=path, + logging_policies=logging_policies, + methods=methods, + request_policies=request_policies, + response_policies=response_policies, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backend: pulumi.Input['DeploymentSpecificationRouteBackendArgs'], + path: pulumi.Input[str], + logging_policies: Optional[pulumi.Input['DeploymentSpecificationRouteLoggingPoliciesArgs']] = None, + methods: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + request_policies: Optional[pulumi.Input['DeploymentSpecificationRouteRequestPoliciesArgs']] = None, + response_policies: Optional[pulumi.Input['DeploymentSpecificationRouteResponsePoliciesArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("backend", backend) + _setter("path", path) if logging_policies is not None: - pulumi.set(__self__, "logging_policies", logging_policies) + _setter("logging_policies", logging_policies) if methods is not None: - pulumi.set(__self__, "methods", methods) + _setter("methods", methods) if request_policies is not None: - pulumi.set(__self__, "request_policies", request_policies) + _setter("request_policies", request_policies) if response_policies is not None: - pulumi.set(__self__, "response_policies", response_policies) + _setter("response_policies", response_policies) @property @pulumi.getter @@ -4393,33 +5242,68 @@ def __init__(__self__, *, :param pulumi.Input[int] status: (Updatable) The status code of the stock response from the mock backend. :param pulumi.Input[str] url: (Updatable) """ - pulumi.set(__self__, "type", type) + DeploymentSpecificationRouteBackendArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + allowed_post_logout_uris=allowed_post_logout_uris, + body=body, + connect_timeout_in_seconds=connect_timeout_in_seconds, + function_id=function_id, + headers=headers, + is_ssl_verify_disabled=is_ssl_verify_disabled, + post_logout_state=post_logout_state, + read_timeout_in_seconds=read_timeout_in_seconds, + routing_backends=routing_backends, + selection_source=selection_source, + send_timeout_in_seconds=send_timeout_in_seconds, + status=status, + url=url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + allowed_post_logout_uris: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + body: Optional[pulumi.Input[str]] = None, + connect_timeout_in_seconds: Optional[pulumi.Input[float]] = None, + function_id: Optional[pulumi.Input[str]] = None, + headers: Optional[pulumi.Input[Sequence[pulumi.Input['DeploymentSpecificationRouteBackendHeaderArgs']]]] = None, + is_ssl_verify_disabled: Optional[pulumi.Input[bool]] = None, + post_logout_state: Optional[pulumi.Input[str]] = None, + read_timeout_in_seconds: Optional[pulumi.Input[float]] = None, + routing_backends: Optional[pulumi.Input[Sequence[pulumi.Input['DeploymentSpecificationRouteBackendRoutingBackendArgs']]]] = None, + selection_source: Optional[pulumi.Input['DeploymentSpecificationRouteBackendSelectionSourceArgs']] = None, + send_timeout_in_seconds: Optional[pulumi.Input[float]] = None, + status: Optional[pulumi.Input[int]] = None, + url: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if allowed_post_logout_uris is not None: - pulumi.set(__self__, "allowed_post_logout_uris", allowed_post_logout_uris) + _setter("allowed_post_logout_uris", allowed_post_logout_uris) if body is not None: - pulumi.set(__self__, "body", body) + _setter("body", body) if connect_timeout_in_seconds is not None: - pulumi.set(__self__, "connect_timeout_in_seconds", connect_timeout_in_seconds) + _setter("connect_timeout_in_seconds", connect_timeout_in_seconds) if function_id is not None: - pulumi.set(__self__, "function_id", function_id) + _setter("function_id", function_id) if headers is not None: - pulumi.set(__self__, "headers", headers) + _setter("headers", headers) if is_ssl_verify_disabled is not None: - pulumi.set(__self__, "is_ssl_verify_disabled", is_ssl_verify_disabled) + _setter("is_ssl_verify_disabled", is_ssl_verify_disabled) if post_logout_state is not None: - pulumi.set(__self__, "post_logout_state", post_logout_state) + _setter("post_logout_state", post_logout_state) if read_timeout_in_seconds is not None: - pulumi.set(__self__, "read_timeout_in_seconds", read_timeout_in_seconds) + _setter("read_timeout_in_seconds", read_timeout_in_seconds) if routing_backends is not None: - pulumi.set(__self__, "routing_backends", routing_backends) + _setter("routing_backends", routing_backends) if selection_source is not None: - pulumi.set(__self__, "selection_source", selection_source) + _setter("selection_source", selection_source) if send_timeout_in_seconds is not None: - pulumi.set(__self__, "send_timeout_in_seconds", send_timeout_in_seconds) + _setter("send_timeout_in_seconds", send_timeout_in_seconds) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if url is not None: - pulumi.set(__self__, "url", url) + _setter("url", url) @property @pulumi.getter @@ -4603,10 +5487,21 @@ def __init__(__self__, *, :param pulumi.Input[str] name: (Updatable) The case-insensitive name of the header. This name must be unique across transformation policies. :param pulumi.Input[str] value: (Updatable) Value of the header. """ + DeploymentSpecificationRouteBackendHeaderArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -4642,10 +5537,21 @@ def __init__(__self__, *, :param pulumi.Input['DeploymentSpecificationRouteBackendRoutingBackendBackendArgs'] backend: (Updatable) The backend to forward requests to. :param pulumi.Input['DeploymentSpecificationRouteBackendRoutingBackendKeyArgs'] key: (Updatable) Information around the values for selector of an authentication/ routing branch. """ + DeploymentSpecificationRouteBackendRoutingBackendArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + backend=backend, + key=key, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backend: Optional[pulumi.Input['DeploymentSpecificationRouteBackendRoutingBackendBackendArgs']] = None, + key: Optional[pulumi.Input['DeploymentSpecificationRouteBackendRoutingBackendKeyArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if backend is not None: - pulumi.set(__self__, "backend", backend) + _setter("backend", backend) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) @property @pulumi.getter @@ -4701,25 +5607,52 @@ def __init__(__self__, *, :param pulumi.Input[int] status: (Updatable) The status code of the stock response from the mock backend. :param pulumi.Input[str] url: (Updatable) """ - pulumi.set(__self__, "type", type) + DeploymentSpecificationRouteBackendRoutingBackendBackendArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + body=body, + connect_timeout_in_seconds=connect_timeout_in_seconds, + function_id=function_id, + headers=headers, + is_ssl_verify_disabled=is_ssl_verify_disabled, + read_timeout_in_seconds=read_timeout_in_seconds, + send_timeout_in_seconds=send_timeout_in_seconds, + status=status, + url=url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + body: Optional[pulumi.Input[str]] = None, + connect_timeout_in_seconds: Optional[pulumi.Input[float]] = None, + function_id: Optional[pulumi.Input[str]] = None, + headers: Optional[pulumi.Input[Sequence[pulumi.Input['DeploymentSpecificationRouteBackendRoutingBackendBackendHeaderArgs']]]] = None, + is_ssl_verify_disabled: Optional[pulumi.Input[bool]] = None, + read_timeout_in_seconds: Optional[pulumi.Input[float]] = None, + send_timeout_in_seconds: Optional[pulumi.Input[float]] = None, + status: Optional[pulumi.Input[int]] = None, + url: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if body is not None: - pulumi.set(__self__, "body", body) + _setter("body", body) if connect_timeout_in_seconds is not None: - pulumi.set(__self__, "connect_timeout_in_seconds", connect_timeout_in_seconds) + _setter("connect_timeout_in_seconds", connect_timeout_in_seconds) if function_id is not None: - pulumi.set(__self__, "function_id", function_id) + _setter("function_id", function_id) if headers is not None: - pulumi.set(__self__, "headers", headers) + _setter("headers", headers) if is_ssl_verify_disabled is not None: - pulumi.set(__self__, "is_ssl_verify_disabled", is_ssl_verify_disabled) + _setter("is_ssl_verify_disabled", is_ssl_verify_disabled) if read_timeout_in_seconds is not None: - pulumi.set(__self__, "read_timeout_in_seconds", read_timeout_in_seconds) + _setter("read_timeout_in_seconds", read_timeout_in_seconds) if send_timeout_in_seconds is not None: - pulumi.set(__self__, "send_timeout_in_seconds", send_timeout_in_seconds) + _setter("send_timeout_in_seconds", send_timeout_in_seconds) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if url is not None: - pulumi.set(__self__, "url", url) + _setter("url", url) @property @pulumi.getter @@ -4855,10 +5788,21 @@ def __init__(__self__, *, :param pulumi.Input[str] name: (Updatable) The case-insensitive name of the header. This name must be unique across transformation policies. :param pulumi.Input[str] value: (Updatable) Value of the header. """ + DeploymentSpecificationRouteBackendRoutingBackendBackendHeaderArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -4904,14 +5848,31 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_default: (Updatable) Information regarding whether this is the default branch. :param pulumi.Input[Sequence[pulumi.Input[str]]] values: (Updatable) A list of new values. Each value can be a constant or may include one or more expressions enclosed within ${} delimiters. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "type", type) + DeploymentSpecificationRouteBackendRoutingBackendKeyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + type=type, + expression=expression, + is_default=is_default, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: pulumi.Input[str], + type: pulumi.Input[str], + expression: Optional[pulumi.Input[str]] = None, + is_default: Optional[pulumi.Input[bool]] = None, + values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("type", type) if expression is not None: - pulumi.set(__self__, "expression", expression) + _setter("expression", expression) if is_default is not None: - pulumi.set(__self__, "is_default", is_default) + _setter("is_default", is_default) if values is not None: - pulumi.set(__self__, "values", values) + _setter("values", values) @property @pulumi.getter @@ -4991,8 +5952,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "selector", selector) - pulumi.set(__self__, "type", type) + DeploymentSpecificationRouteBackendSelectionSourceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + selector=selector, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + selector: pulumi.Input[str], + type: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("selector", selector) + _setter("type", type) @property @pulumi.getter @@ -5032,10 +6004,21 @@ def __init__(__self__, *, :param pulumi.Input['DeploymentSpecificationRouteLoggingPoliciesAccessLogArgs'] access_log: (Updatable) Configures the logging policies for the access logs of an API Deployment. :param pulumi.Input['DeploymentSpecificationRouteLoggingPoliciesExecutionLogArgs'] execution_log: (Updatable) Configures the logging policies for the execution logs of an API Deployment. """ + DeploymentSpecificationRouteLoggingPoliciesArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + access_log=access_log, + execution_log=execution_log, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access_log: Optional[pulumi.Input['DeploymentSpecificationRouteLoggingPoliciesAccessLogArgs']] = None, + execution_log: Optional[pulumi.Input['DeploymentSpecificationRouteLoggingPoliciesExecutionLogArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if access_log is not None: - pulumi.set(__self__, "access_log", access_log) + _setter("access_log", access_log) if execution_log is not None: - pulumi.set(__self__, "execution_log", execution_log) + _setter("execution_log", execution_log) @property @pulumi.getter(name="accessLog") @@ -5069,8 +6052,17 @@ def __init__(__self__, *, """ :param pulumi.Input[bool] is_enabled: (Updatable) Whether this policy is currently enabled. """ + DeploymentSpecificationRouteLoggingPoliciesAccessLogArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) @property @pulumi.getter(name="isEnabled") @@ -5094,10 +6086,21 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_enabled: (Updatable) Whether this policy is currently enabled. :param pulumi.Input[str] log_level: (Updatable) Specifies the log level used to control logging output of execution logs. Enabling logging at a given level also enables logging at all higher levels. """ + DeploymentSpecificationRouteLoggingPoliciesExecutionLogArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + log_level=log_level, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: Optional[pulumi.Input[bool]] = None, + log_level: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) if log_level is not None: - pulumi.set(__self__, "log_level", log_level) + _setter("log_level", log_level) @property @pulumi.getter(name="isEnabled") @@ -5145,22 +6148,45 @@ def __init__(__self__, *, :param pulumi.Input['DeploymentSpecificationRouteRequestPoliciesQueryParameterValidationsArgs'] query_parameter_validations: (Updatable) Validate the URL query parameters on the incoming API requests on a specific route. :param pulumi.Input['DeploymentSpecificationRouteRequestPoliciesResponseCacheLookupArgs'] response_cache_lookup: (Updatable) Base policy for Response Cache lookup. """ + DeploymentSpecificationRouteRequestPoliciesArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + authorization=authorization, + body_validation=body_validation, + cors=cors, + header_transformations=header_transformations, + header_validations=header_validations, + query_parameter_transformations=query_parameter_transformations, + query_parameter_validations=query_parameter_validations, + response_cache_lookup=response_cache_lookup, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + authorization: Optional[pulumi.Input['DeploymentSpecificationRouteRequestPoliciesAuthorizationArgs']] = None, + body_validation: Optional[pulumi.Input['DeploymentSpecificationRouteRequestPoliciesBodyValidationArgs']] = None, + cors: Optional[pulumi.Input['DeploymentSpecificationRouteRequestPoliciesCorsArgs']] = None, + header_transformations: Optional[pulumi.Input['DeploymentSpecificationRouteRequestPoliciesHeaderTransformationsArgs']] = None, + header_validations: Optional[pulumi.Input['DeploymentSpecificationRouteRequestPoliciesHeaderValidationsArgs']] = None, + query_parameter_transformations: Optional[pulumi.Input['DeploymentSpecificationRouteRequestPoliciesQueryParameterTransformationsArgs']] = None, + query_parameter_validations: Optional[pulumi.Input['DeploymentSpecificationRouteRequestPoliciesQueryParameterValidationsArgs']] = None, + response_cache_lookup: Optional[pulumi.Input['DeploymentSpecificationRouteRequestPoliciesResponseCacheLookupArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if authorization is not None: - pulumi.set(__self__, "authorization", authorization) + _setter("authorization", authorization) if body_validation is not None: - pulumi.set(__self__, "body_validation", body_validation) + _setter("body_validation", body_validation) if cors is not None: - pulumi.set(__self__, "cors", cors) + _setter("cors", cors) if header_transformations is not None: - pulumi.set(__self__, "header_transformations", header_transformations) + _setter("header_transformations", header_transformations) if header_validations is not None: - pulumi.set(__self__, "header_validations", header_validations) + _setter("header_validations", header_validations) if query_parameter_transformations is not None: - pulumi.set(__self__, "query_parameter_transformations", query_parameter_transformations) + _setter("query_parameter_transformations", query_parameter_transformations) if query_parameter_validations is not None: - pulumi.set(__self__, "query_parameter_validations", query_parameter_validations) + _setter("query_parameter_validations", query_parameter_validations) if response_cache_lookup is not None: - pulumi.set(__self__, "response_cache_lookup", response_cache_lookup) + _setter("response_cache_lookup", response_cache_lookup) @property @pulumi.getter @@ -5272,10 +6298,21 @@ def __init__(__self__, *, ** 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 """ + DeploymentSpecificationRouteRequestPoliciesAuthorizationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_scopes=allowed_scopes, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if allowed_scopes is not None: - pulumi.set(__self__, "allowed_scopes", allowed_scopes) + _setter("allowed_scopes", allowed_scopes) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter(name="allowedScopes") @@ -5323,12 +6360,25 @@ def __init__(__self__, *, `DISABLED` type turns the validation off. """ + DeploymentSpecificationRouteRequestPoliciesBodyValidationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + contents=contents, + required=required, + validation_mode=validation_mode, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + contents: Optional[pulumi.Input[Sequence[pulumi.Input['DeploymentSpecificationRouteRequestPoliciesBodyValidationContentArgs']]]] = None, + required: Optional[pulumi.Input[bool]] = None, + validation_mode: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if contents is not None: - pulumi.set(__self__, "contents", contents) + _setter("contents", contents) if required is not None: - pulumi.set(__self__, "required", required) + _setter("required", required) if validation_mode is not None: - pulumi.set(__self__, "validation_mode", validation_mode) + _setter("validation_mode", validation_mode) @property @pulumi.getter @@ -5388,8 +6438,19 @@ def __init__(__self__, *, Make the validation to first parse the body as the respective format. """ - pulumi.set(__self__, "media_type", media_type) - pulumi.set(__self__, "validation_type", validation_type) + DeploymentSpecificationRouteRequestPoliciesBodyValidationContentArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + media_type=media_type, + validation_type=validation_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + media_type: pulumi.Input[str], + validation_type: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("media_type", media_type) + _setter("validation_type", validation_type) @property @pulumi.getter(name="mediaType") @@ -5439,17 +6500,36 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_allow_credentials_enabled: (Updatable) Whether to send the Access-Control-Allow-Credentials header to allow CORS requests with cookies. :param pulumi.Input[int] max_age_in_seconds: (Updatable) The time in seconds for the client to cache preflight responses. This is sent as the Access-Control-Max-Age if greater than 0. """ - pulumi.set(__self__, "allowed_origins", allowed_origins) + DeploymentSpecificationRouteRequestPoliciesCorsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_origins=allowed_origins, + allowed_headers=allowed_headers, + allowed_methods=allowed_methods, + exposed_headers=exposed_headers, + is_allow_credentials_enabled=is_allow_credentials_enabled, + max_age_in_seconds=max_age_in_seconds, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_origins: pulumi.Input[Sequence[pulumi.Input[str]]], + allowed_headers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + allowed_methods: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + exposed_headers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + is_allow_credentials_enabled: Optional[pulumi.Input[bool]] = None, + max_age_in_seconds: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allowed_origins", allowed_origins) if allowed_headers is not None: - pulumi.set(__self__, "allowed_headers", allowed_headers) + _setter("allowed_headers", allowed_headers) if allowed_methods is not None: - pulumi.set(__self__, "allowed_methods", allowed_methods) + _setter("allowed_methods", allowed_methods) if exposed_headers is not None: - pulumi.set(__self__, "exposed_headers", exposed_headers) + _setter("exposed_headers", exposed_headers) if is_allow_credentials_enabled is not None: - pulumi.set(__self__, "is_allow_credentials_enabled", is_allow_credentials_enabled) + _setter("is_allow_credentials_enabled", is_allow_credentials_enabled) if max_age_in_seconds is not None: - pulumi.set(__self__, "max_age_in_seconds", max_age_in_seconds) + _setter("max_age_in_seconds", max_age_in_seconds) @property @pulumi.getter(name="allowedOrigins") @@ -5535,12 +6615,25 @@ def __init__(__self__, *, :param pulumi.Input['DeploymentSpecificationRouteRequestPoliciesHeaderTransformationsRenameHeadersArgs'] rename_headers: (Updatable) Rename HTTP headers as they pass through the gateway. :param pulumi.Input['DeploymentSpecificationRouteRequestPoliciesHeaderTransformationsSetHeadersArgs'] set_headers: (Updatable) Set HTTP headers as they pass through the gateway. """ + DeploymentSpecificationRouteRequestPoliciesHeaderTransformationsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + filter_headers=filter_headers, + rename_headers=rename_headers, + set_headers=set_headers, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + filter_headers: Optional[pulumi.Input['DeploymentSpecificationRouteRequestPoliciesHeaderTransformationsFilterHeadersArgs']] = None, + rename_headers: Optional[pulumi.Input['DeploymentSpecificationRouteRequestPoliciesHeaderTransformationsRenameHeadersArgs']] = None, + set_headers: Optional[pulumi.Input['DeploymentSpecificationRouteRequestPoliciesHeaderTransformationsSetHeadersArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if filter_headers is not None: - pulumi.set(__self__, "filter_headers", filter_headers) + _setter("filter_headers", filter_headers) if rename_headers is not None: - pulumi.set(__self__, "rename_headers", rename_headers) + _setter("rename_headers", rename_headers) if set_headers is not None: - pulumi.set(__self__, "set_headers", set_headers) + _setter("set_headers", set_headers) @property @pulumi.getter(name="filterHeaders") @@ -5592,8 +6685,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "items", items) - pulumi.set(__self__, "type", type) + DeploymentSpecificationRouteRequestPoliciesHeaderTransformationsFilterHeadersArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: pulumi.Input[Sequence[pulumi.Input['DeploymentSpecificationRouteRequestPoliciesHeaderTransformationsFilterHeadersItemArgs']]], + type: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) + _setter("type", type) @property @pulumi.getter @@ -5631,7 +6735,16 @@ def __init__(__self__, *, """ :param pulumi.Input[str] name: (Updatable) The case-insensitive name of the header. This name must be unique across transformation policies. """ - pulumi.set(__self__, "name", name) + DeploymentSpecificationRouteRequestPoliciesHeaderTransformationsFilterHeadersItemArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -5653,7 +6766,16 @@ def __init__(__self__, *, """ :param pulumi.Input[Sequence[pulumi.Input['DeploymentSpecificationRouteRequestPoliciesHeaderTransformationsRenameHeadersItemArgs']]] items: (Updatable) The list of headers. """ - pulumi.set(__self__, "items", items) + DeploymentSpecificationRouteRequestPoliciesHeaderTransformationsRenameHeadersArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: pulumi.Input[Sequence[pulumi.Input['DeploymentSpecificationRouteRequestPoliciesHeaderTransformationsRenameHeadersItemArgs']]], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -5677,8 +6799,19 @@ def __init__(__self__, *, :param pulumi.Input[str] from_: (Updatable) The original case-insensitive name of the header. This name must be unique across transformation policies. :param pulumi.Input[str] to: (Updatable) The new name of the header. This name must be unique across transformation policies. """ - pulumi.set(__self__, "from_", from_) - pulumi.set(__self__, "to", to) + DeploymentSpecificationRouteRequestPoliciesHeaderTransformationsRenameHeadersItemArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + from_=from_, + to=to, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + from_: pulumi.Input[str], + to: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("from_", from_) + _setter("to", to) @property @pulumi.getter(name="from") @@ -5712,7 +6845,16 @@ def __init__(__self__, *, """ :param pulumi.Input[Sequence[pulumi.Input['DeploymentSpecificationRouteRequestPoliciesHeaderTransformationsSetHeadersItemArgs']]] items: (Updatable) The list of headers. """ - pulumi.set(__self__, "items", items) + DeploymentSpecificationRouteRequestPoliciesHeaderTransformationsSetHeadersArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: pulumi.Input[Sequence[pulumi.Input['DeploymentSpecificationRouteRequestPoliciesHeaderTransformationsSetHeadersItemArgs']]], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -5738,10 +6880,23 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] values: (Updatable) A list of new values. Each value can be a constant or may include one or more expressions enclosed within ${} delimiters. :param pulumi.Input[str] if_exists: (Updatable) If a header with the same name already exists in the request, OVERWRITE will overwrite the value, APPEND will append to the existing value, or SKIP will keep the existing value. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + DeploymentSpecificationRouteRequestPoliciesHeaderTransformationsSetHeadersItemArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + if_exists=if_exists, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: pulumi.Input[str], + values: pulumi.Input[Sequence[pulumi.Input[str]]], + if_exists: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if if_exists is not None: - pulumi.set(__self__, "if_exists", if_exists) + _setter("if_exists", if_exists) @property @pulumi.getter @@ -5795,10 +6950,21 @@ def __init__(__self__, *, `DISABLED` type turns the validation off. """ + DeploymentSpecificationRouteRequestPoliciesHeaderValidationsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + headers=headers, + validation_mode=validation_mode, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + headers: Optional[pulumi.Input[Sequence[pulumi.Input['DeploymentSpecificationRouteRequestPoliciesHeaderValidationsHeaderArgs']]]] = None, + validation_mode: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if headers is not None: - pulumi.set(__self__, "headers", headers) + _setter("headers", headers) if validation_mode is not None: - pulumi.set(__self__, "validation_mode", validation_mode) + _setter("validation_mode", validation_mode) @property @pulumi.getter @@ -5840,9 +7006,20 @@ def __init__(__self__, *, :param pulumi.Input[str] name: (Updatable) The case-insensitive name of the header. This name must be unique across transformation policies. :param pulumi.Input[bool] required: (Updatable) Determines if the parameter is required in the request. """ - pulumi.set(__self__, "name", name) + DeploymentSpecificationRouteRequestPoliciesHeaderValidationsHeaderArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + required=required, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: pulumi.Input[str], + required: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) if required is not None: - pulumi.set(__self__, "required", required) + _setter("required", required) @property @pulumi.getter @@ -5880,12 +7057,25 @@ def __init__(__self__, *, :param pulumi.Input['DeploymentSpecificationRouteRequestPoliciesQueryParameterTransformationsRenameQueryParametersArgs'] rename_query_parameters: (Updatable) Rename parameters on the query string as they pass through the gateway. :param pulumi.Input['DeploymentSpecificationRouteRequestPoliciesQueryParameterTransformationsSetQueryParametersArgs'] set_query_parameters: (Updatable) Set parameters on the query string as they pass through the gateway. """ + DeploymentSpecificationRouteRequestPoliciesQueryParameterTransformationsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + filter_query_parameters=filter_query_parameters, + rename_query_parameters=rename_query_parameters, + set_query_parameters=set_query_parameters, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + filter_query_parameters: Optional[pulumi.Input['DeploymentSpecificationRouteRequestPoliciesQueryParameterTransformationsFilterQueryParametersArgs']] = None, + rename_query_parameters: Optional[pulumi.Input['DeploymentSpecificationRouteRequestPoliciesQueryParameterTransformationsRenameQueryParametersArgs']] = None, + set_query_parameters: Optional[pulumi.Input['DeploymentSpecificationRouteRequestPoliciesQueryParameterTransformationsSetQueryParametersArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if filter_query_parameters is not None: - pulumi.set(__self__, "filter_query_parameters", filter_query_parameters) + _setter("filter_query_parameters", filter_query_parameters) if rename_query_parameters is not None: - pulumi.set(__self__, "rename_query_parameters", rename_query_parameters) + _setter("rename_query_parameters", rename_query_parameters) if set_query_parameters is not None: - pulumi.set(__self__, "set_query_parameters", set_query_parameters) + _setter("set_query_parameters", set_query_parameters) @property @pulumi.getter(name="filterQueryParameters") @@ -5937,8 +7127,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "items", items) - pulumi.set(__self__, "type", type) + DeploymentSpecificationRouteRequestPoliciesQueryParameterTransformationsFilterQueryParametersArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: pulumi.Input[Sequence[pulumi.Input['DeploymentSpecificationRouteRequestPoliciesQueryParameterTransformationsFilterQueryParametersItemArgs']]], + type: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) + _setter("type", type) @property @pulumi.getter @@ -5976,7 +7177,16 @@ def __init__(__self__, *, """ :param pulumi.Input[str] name: (Updatable) The case-insensitive name of the header. This name must be unique across transformation policies. """ - pulumi.set(__self__, "name", name) + DeploymentSpecificationRouteRequestPoliciesQueryParameterTransformationsFilterQueryParametersItemArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -5998,7 +7208,16 @@ def __init__(__self__, *, """ :param pulumi.Input[Sequence[pulumi.Input['DeploymentSpecificationRouteRequestPoliciesQueryParameterTransformationsRenameQueryParametersItemArgs']]] items: (Updatable) The list of headers. """ - pulumi.set(__self__, "items", items) + DeploymentSpecificationRouteRequestPoliciesQueryParameterTransformationsRenameQueryParametersArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: pulumi.Input[Sequence[pulumi.Input['DeploymentSpecificationRouteRequestPoliciesQueryParameterTransformationsRenameQueryParametersItemArgs']]], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -6022,8 +7241,19 @@ def __init__(__self__, *, :param pulumi.Input[str] from_: (Updatable) The original case-insensitive name of the header. This name must be unique across transformation policies. :param pulumi.Input[str] to: (Updatable) The new name of the header. This name must be unique across transformation policies. """ - pulumi.set(__self__, "from_", from_) - pulumi.set(__self__, "to", to) + DeploymentSpecificationRouteRequestPoliciesQueryParameterTransformationsRenameQueryParametersItemArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + from_=from_, + to=to, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + from_: pulumi.Input[str], + to: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("from_", from_) + _setter("to", to) @property @pulumi.getter(name="from") @@ -6057,7 +7287,16 @@ def __init__(__self__, *, """ :param pulumi.Input[Sequence[pulumi.Input['DeploymentSpecificationRouteRequestPoliciesQueryParameterTransformationsSetQueryParametersItemArgs']]] items: (Updatable) The list of headers. """ - pulumi.set(__self__, "items", items) + DeploymentSpecificationRouteRequestPoliciesQueryParameterTransformationsSetQueryParametersArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: pulumi.Input[Sequence[pulumi.Input['DeploymentSpecificationRouteRequestPoliciesQueryParameterTransformationsSetQueryParametersItemArgs']]], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -6083,10 +7322,23 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] values: (Updatable) A list of new values. Each value can be a constant or may include one or more expressions enclosed within ${} delimiters. :param pulumi.Input[str] if_exists: (Updatable) If a header with the same name already exists in the request, OVERWRITE will overwrite the value, APPEND will append to the existing value, or SKIP will keep the existing value. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + DeploymentSpecificationRouteRequestPoliciesQueryParameterTransformationsSetQueryParametersItemArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + if_exists=if_exists, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: pulumi.Input[str], + values: pulumi.Input[Sequence[pulumi.Input[str]]], + if_exists: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if if_exists is not None: - pulumi.set(__self__, "if_exists", if_exists) + _setter("if_exists", if_exists) @property @pulumi.getter @@ -6140,10 +7392,21 @@ def __init__(__self__, *, `DISABLED` type turns the validation off. """ + DeploymentSpecificationRouteRequestPoliciesQueryParameterValidationsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + parameters=parameters, + validation_mode=validation_mode, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + parameters: Optional[pulumi.Input[Sequence[pulumi.Input['DeploymentSpecificationRouteRequestPoliciesQueryParameterValidationsParameterArgs']]]] = None, + validation_mode: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if parameters is not None: - pulumi.set(__self__, "parameters", parameters) + _setter("parameters", parameters) if validation_mode is not None: - pulumi.set(__self__, "validation_mode", validation_mode) + _setter("validation_mode", validation_mode) @property @pulumi.getter @@ -6185,9 +7448,20 @@ def __init__(__self__, *, :param pulumi.Input[str] name: (Updatable) The case-insensitive name of the header. This name must be unique across transformation policies. :param pulumi.Input[bool] required: (Updatable) Determines if the parameter is required in the request. """ - pulumi.set(__self__, "name", name) + DeploymentSpecificationRouteRequestPoliciesQueryParameterValidationsParameterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + required=required, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: pulumi.Input[str], + required: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) if required is not None: - pulumi.set(__self__, "required", required) + _setter("required", required) @property @pulumi.getter @@ -6235,13 +7509,28 @@ def __init__(__self__, *, If using the CustomAuthenticationPolicy then the tokenHeader/tokenQueryParam are also subject to this check. """ - pulumi.set(__self__, "type", type) + DeploymentSpecificationRouteRequestPoliciesResponseCacheLookupArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + cache_key_additions=cache_key_additions, + is_enabled=is_enabled, + is_private_caching_enabled=is_private_caching_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + cache_key_additions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + is_enabled: Optional[pulumi.Input[bool]] = None, + is_private_caching_enabled: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if cache_key_additions is not None: - pulumi.set(__self__, "cache_key_additions", cache_key_additions) + _setter("cache_key_additions", cache_key_additions) if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) if is_private_caching_enabled is not None: - pulumi.set(__self__, "is_private_caching_enabled", is_private_caching_enabled) + _setter("is_private_caching_enabled", is_private_caching_enabled) @property @pulumi.getter @@ -6309,10 +7598,21 @@ def __init__(__self__, *, :param pulumi.Input['DeploymentSpecificationRouteResponsePoliciesHeaderTransformationsArgs'] header_transformations: (Updatable) A set of transformations to apply to HTTP headers that pass through the gateway. :param pulumi.Input['DeploymentSpecificationRouteResponsePoliciesResponseCacheStoreArgs'] response_cache_store: (Updatable) Base policy for how a response from a backend is cached in the Response Cache. """ + DeploymentSpecificationRouteResponsePoliciesArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + header_transformations=header_transformations, + response_cache_store=response_cache_store, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + header_transformations: Optional[pulumi.Input['DeploymentSpecificationRouteResponsePoliciesHeaderTransformationsArgs']] = None, + response_cache_store: Optional[pulumi.Input['DeploymentSpecificationRouteResponsePoliciesResponseCacheStoreArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if header_transformations is not None: - pulumi.set(__self__, "header_transformations", header_transformations) + _setter("header_transformations", header_transformations) if response_cache_store is not None: - pulumi.set(__self__, "response_cache_store", response_cache_store) + _setter("response_cache_store", response_cache_store) @property @pulumi.getter(name="headerTransformations") @@ -6350,12 +7650,25 @@ def __init__(__self__, *, :param pulumi.Input['DeploymentSpecificationRouteResponsePoliciesHeaderTransformationsRenameHeadersArgs'] rename_headers: (Updatable) Rename HTTP headers as they pass through the gateway. :param pulumi.Input['DeploymentSpecificationRouteResponsePoliciesHeaderTransformationsSetHeadersArgs'] set_headers: (Updatable) Set HTTP headers as they pass through the gateway. """ + DeploymentSpecificationRouteResponsePoliciesHeaderTransformationsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + filter_headers=filter_headers, + rename_headers=rename_headers, + set_headers=set_headers, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + filter_headers: Optional[pulumi.Input['DeploymentSpecificationRouteResponsePoliciesHeaderTransformationsFilterHeadersArgs']] = None, + rename_headers: Optional[pulumi.Input['DeploymentSpecificationRouteResponsePoliciesHeaderTransformationsRenameHeadersArgs']] = None, + set_headers: Optional[pulumi.Input['DeploymentSpecificationRouteResponsePoliciesHeaderTransformationsSetHeadersArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if filter_headers is not None: - pulumi.set(__self__, "filter_headers", filter_headers) + _setter("filter_headers", filter_headers) if rename_headers is not None: - pulumi.set(__self__, "rename_headers", rename_headers) + _setter("rename_headers", rename_headers) if set_headers is not None: - pulumi.set(__self__, "set_headers", set_headers) + _setter("set_headers", set_headers) @property @pulumi.getter(name="filterHeaders") @@ -6407,8 +7720,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "items", items) - pulumi.set(__self__, "type", type) + DeploymentSpecificationRouteResponsePoliciesHeaderTransformationsFilterHeadersArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: pulumi.Input[Sequence[pulumi.Input['DeploymentSpecificationRouteResponsePoliciesHeaderTransformationsFilterHeadersItemArgs']]], + type: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) + _setter("type", type) @property @pulumi.getter @@ -6446,7 +7770,16 @@ def __init__(__self__, *, """ :param pulumi.Input[str] name: (Updatable) The case-insensitive name of the header. This name must be unique across transformation policies. """ - pulumi.set(__self__, "name", name) + DeploymentSpecificationRouteResponsePoliciesHeaderTransformationsFilterHeadersItemArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -6468,7 +7801,16 @@ def __init__(__self__, *, """ :param pulumi.Input[Sequence[pulumi.Input['DeploymentSpecificationRouteResponsePoliciesHeaderTransformationsRenameHeadersItemArgs']]] items: (Updatable) The list of headers. """ - pulumi.set(__self__, "items", items) + DeploymentSpecificationRouteResponsePoliciesHeaderTransformationsRenameHeadersArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: pulumi.Input[Sequence[pulumi.Input['DeploymentSpecificationRouteResponsePoliciesHeaderTransformationsRenameHeadersItemArgs']]], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -6492,8 +7834,19 @@ def __init__(__self__, *, :param pulumi.Input[str] from_: (Updatable) The original case-insensitive name of the header. This name must be unique across transformation policies. :param pulumi.Input[str] to: (Updatable) The new name of the header. This name must be unique across transformation policies. """ - pulumi.set(__self__, "from_", from_) - pulumi.set(__self__, "to", to) + DeploymentSpecificationRouteResponsePoliciesHeaderTransformationsRenameHeadersItemArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + from_=from_, + to=to, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + from_: pulumi.Input[str], + to: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("from_", from_) + _setter("to", to) @property @pulumi.getter(name="from") @@ -6527,7 +7880,16 @@ def __init__(__self__, *, """ :param pulumi.Input[Sequence[pulumi.Input['DeploymentSpecificationRouteResponsePoliciesHeaderTransformationsSetHeadersItemArgs']]] items: (Updatable) The list of headers. """ - pulumi.set(__self__, "items", items) + DeploymentSpecificationRouteResponsePoliciesHeaderTransformationsSetHeadersArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: pulumi.Input[Sequence[pulumi.Input['DeploymentSpecificationRouteResponsePoliciesHeaderTransformationsSetHeadersItemArgs']]], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -6553,10 +7915,23 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] values: (Updatable) A list of new values. Each value can be a constant or may include one or more expressions enclosed within ${} delimiters. :param pulumi.Input[str] if_exists: (Updatable) If a header with the same name already exists in the request, OVERWRITE will overwrite the value, APPEND will append to the existing value, or SKIP will keep the existing value. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + DeploymentSpecificationRouteResponsePoliciesHeaderTransformationsSetHeadersItemArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + if_exists=if_exists, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: pulumi.Input[str], + values: pulumi.Input[Sequence[pulumi.Input[str]]], + if_exists: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if if_exists is not None: - pulumi.set(__self__, "if_exists", if_exists) + _setter("if_exists", if_exists) @property @pulumi.getter @@ -6608,8 +7983,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "time_to_live_in_seconds", time_to_live_in_seconds) - pulumi.set(__self__, "type", type) + DeploymentSpecificationRouteResponsePoliciesResponseCacheStoreArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + time_to_live_in_seconds=time_to_live_in_seconds, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + time_to_live_in_seconds: pulumi.Input[int], + type: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("time_to_live_in_seconds", time_to_live_in_seconds) + _setter("type", type) @property @pulumi.getter(name="timeToLiveInSeconds") @@ -6651,11 +8037,24 @@ def __init__(__self__, *, :param pulumi.Input[str] ca_bundle_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource. :param pulumi.Input[str] certificate_authority_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource. """ - pulumi.set(__self__, "type", type) + GatewayCaBundleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + ca_bundle_id=ca_bundle_id, + certificate_authority_id=certificate_authority_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + ca_bundle_id: Optional[pulumi.Input[str]] = None, + certificate_authority_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if ca_bundle_id is not None: - pulumi.set(__self__, "ca_bundle_id", ca_bundle_id) + _setter("ca_bundle_id", ca_bundle_id) if certificate_authority_id is not None: - pulumi.set(__self__, "certificate_authority_id", certificate_authority_id) + _setter("certificate_authority_id", certificate_authority_id) @property @pulumi.getter @@ -6701,8 +8100,17 @@ def __init__(__self__, *, """ :param pulumi.Input[str] ip_address: An IP address. """ + GatewayIpAddressArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + ip_address=ip_address, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ip_address: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ip_address is not None: - pulumi.set(__self__, "ip_address", ip_address) + _setter("ip_address", ip_address) @property @pulumi.getter(name="ipAddress") @@ -6740,23 +8148,48 @@ def __init__(__self__, *, :param pulumi.Input[int] send_timeout_in_ms: (Updatable) Defines the timeout for transmitting data to the Response Cache. :param pulumi.Input[Sequence[pulumi.Input['GatewayResponseCacheDetailsServerArgs']]] servers: (Updatable) The set of cache store members to connect to. At present only a single server is supported. """ - pulumi.set(__self__, "type", type) + GatewayResponseCacheDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + authentication_secret_id=authentication_secret_id, + authentication_secret_version_number=authentication_secret_version_number, + connect_timeout_in_ms=connect_timeout_in_ms, + is_ssl_enabled=is_ssl_enabled, + is_ssl_verify_disabled=is_ssl_verify_disabled, + read_timeout_in_ms=read_timeout_in_ms, + send_timeout_in_ms=send_timeout_in_ms, + servers=servers, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + authentication_secret_id: Optional[pulumi.Input[str]] = None, + authentication_secret_version_number: Optional[pulumi.Input[str]] = None, + connect_timeout_in_ms: Optional[pulumi.Input[int]] = None, + is_ssl_enabled: Optional[pulumi.Input[bool]] = None, + is_ssl_verify_disabled: Optional[pulumi.Input[bool]] = None, + read_timeout_in_ms: Optional[pulumi.Input[int]] = None, + send_timeout_in_ms: Optional[pulumi.Input[int]] = None, + servers: Optional[pulumi.Input[Sequence[pulumi.Input['GatewayResponseCacheDetailsServerArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if authentication_secret_id is not None: - pulumi.set(__self__, "authentication_secret_id", authentication_secret_id) + _setter("authentication_secret_id", authentication_secret_id) if authentication_secret_version_number is not None: - pulumi.set(__self__, "authentication_secret_version_number", authentication_secret_version_number) + _setter("authentication_secret_version_number", authentication_secret_version_number) if connect_timeout_in_ms is not None: - pulumi.set(__self__, "connect_timeout_in_ms", connect_timeout_in_ms) + _setter("connect_timeout_in_ms", connect_timeout_in_ms) if is_ssl_enabled is not None: - pulumi.set(__self__, "is_ssl_enabled", is_ssl_enabled) + _setter("is_ssl_enabled", is_ssl_enabled) if is_ssl_verify_disabled is not None: - pulumi.set(__self__, "is_ssl_verify_disabled", is_ssl_verify_disabled) + _setter("is_ssl_verify_disabled", is_ssl_verify_disabled) if read_timeout_in_ms is not None: - pulumi.set(__self__, "read_timeout_in_ms", read_timeout_in_ms) + _setter("read_timeout_in_ms", read_timeout_in_ms) if send_timeout_in_ms is not None: - pulumi.set(__self__, "send_timeout_in_ms", send_timeout_in_ms) + _setter("send_timeout_in_ms", send_timeout_in_ms) if servers is not None: - pulumi.set(__self__, "servers", servers) + _setter("servers", servers) @property @pulumi.getter @@ -6876,10 +8309,21 @@ def __init__(__self__, *, :param pulumi.Input[str] host: (Updatable) Hostname or IP address (IPv4 only) where the cache store is running. :param pulumi.Input[int] port: (Updatable) The port the cache store is exposed on. """ + GatewayResponseCacheDetailsServerArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + host=host, + port=port, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host: Optional[pulumi.Input[str]] = None, + port: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if host is not None: - pulumi.set(__self__, "host", host) + _setter("host", host) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) @property @pulumi.getter @@ -6915,8 +8359,19 @@ def __init__(__self__, *, :param pulumi.Input[str] name: (Updatable) The name of the client. Must be unique within a subscriber. :param pulumi.Input[str] token: (Updatable) The token for the client. Must be unique within a tenancy. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "token", token) + SubscriberClientArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + token=token, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: pulumi.Input[str], + token: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("token", token) @property @pulumi.getter @@ -6958,15 +8413,32 @@ def __init__(__self__, *, :param pulumi.Input['UsagePlanEntitlementRateLimitArgs'] rate_limit: (Updatable) Rate-limiting policy for a usage plan. :param pulumi.Input[Sequence[pulumi.Input['UsagePlanEntitlementTargetArgs']]] targets: (Updatable) A collection of targeted deployments that the entitlement will be applied to. """ - pulumi.set(__self__, "name", name) + UsagePlanEntitlementArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + description=description, + quota=quota, + rate_limit=rate_limit, + targets=targets, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: pulumi.Input[str], + description: Optional[pulumi.Input[str]] = None, + quota: Optional[pulumi.Input['UsagePlanEntitlementQuotaArgs']] = None, + rate_limit: Optional[pulumi.Input['UsagePlanEntitlementRateLimitArgs']] = None, + targets: Optional[pulumi.Input[Sequence[pulumi.Input['UsagePlanEntitlementTargetArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if quota is not None: - pulumi.set(__self__, "quota", quota) + _setter("quota", quota) if rate_limit is not None: - pulumi.set(__self__, "rate_limit", rate_limit) + _setter("rate_limit", rate_limit) if targets is not None: - pulumi.set(__self__, "targets", targets) + _setter("targets", targets) @property @pulumi.getter @@ -7042,10 +8514,25 @@ def __init__(__self__, *, :param pulumi.Input[str] unit: (Updatable) The unit of time over which rate limits are calculated. Example: `SECOND` :param pulumi.Input[int] value: (Updatable) The number of requests that can be made per time period. """ - pulumi.set(__self__, "operation_on_breach", operation_on_breach) - pulumi.set(__self__, "reset_policy", reset_policy) - pulumi.set(__self__, "unit", unit) - pulumi.set(__self__, "value", value) + UsagePlanEntitlementQuotaArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + operation_on_breach=operation_on_breach, + reset_policy=reset_policy, + unit=unit, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + operation_on_breach: pulumi.Input[str], + reset_policy: pulumi.Input[str], + unit: pulumi.Input[str], + value: pulumi.Input[int], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("operation_on_breach", operation_on_breach) + _setter("reset_policy", reset_policy) + _setter("unit", unit) + _setter("value", value) @property @pulumi.getter(name="operationOnBreach") @@ -7105,8 +8592,19 @@ def __init__(__self__, *, :param pulumi.Input[str] unit: (Updatable) The unit of time over which rate limits are calculated. Example: `SECOND` :param pulumi.Input[int] value: (Updatable) The number of requests that can be made per time period. """ - pulumi.set(__self__, "unit", unit) - pulumi.set(__self__, "value", value) + UsagePlanEntitlementRateLimitArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + unit=unit, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + unit: pulumi.Input[str], + value: pulumi.Input[int], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("unit", unit) + _setter("value", value) @property @pulumi.getter @@ -7140,7 +8638,16 @@ def __init__(__self__, *, """ :param pulumi.Input[str] deployment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a deployment resource. """ - pulumi.set(__self__, "deployment_id", deployment_id) + UsagePlanEntitlementTargetArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + deployment_id=deployment_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deployment_id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("deployment_id", deployment_id) @property @pulumi.getter(name="deploymentId") @@ -7164,10 +8671,23 @@ def __init__(__self__, *, """ :param str name: Name of the validation. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetApisFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -7206,10 +8726,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetCertificatesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -7249,10 +8782,23 @@ def __init__(__self__, *, :param str name: The case-insensitive name of the header. This name must be unique across transformation policies. :param Sequence[str] values: A list of new values. Each value can be a constant or may include one or more expressions enclosed within ${} delimiters. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDeploymentsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -7294,10 +8840,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetGatewaysFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -7336,10 +8895,23 @@ def __init__(__self__, *, """ :param str name: The name of the client. Must be unique within a subscriber. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSubscribersFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -7381,10 +8953,23 @@ def __init__(__self__, *, """ :param str name: An entitlement name, unique within a usage plan. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetUsagePlansFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/apigateway/api.py b/sdk/python/pulumi_oci/apigateway/api.py index a0cfff214b..87d5de4ade 100644 --- a/sdk/python/pulumi_oci/apigateway/api.py +++ b/sdk/python/pulumi_oci/apigateway/api.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -33,15 +33,32 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) + ApiArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + content=content, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + content: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) if content is not None: - pulumi.set(__self__, "content", content) + _setter("content", content) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="compartmentId") @@ -147,28 +164,57 @@ def __init__(__self__, *, :param pulumi.Input[str] time_updated: The time this resource was last updated. An RFC3339 formatted datetime string. :param pulumi.Input[Sequence[pulumi.Input['ApiValidationResultArgs']]] validation_results: Status of each feature available from the API. """ + _ApiState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + content=content, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + specification_type=specification_type, + state=state, + time_created=time_created, + time_updated=time_updated, + validation_results=validation_results, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + content: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + specification_type: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + validation_results: Optional[pulumi.Input[Sequence[pulumi.Input['ApiValidationResultArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if content is not None: - pulumi.set(__self__, "content", content) + _setter("content", content) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if specification_type is not None: - pulumi.set(__self__, "specification_type", specification_type) + _setter("specification_type", specification_type) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if validation_results is not None: - pulumi.set(__self__, "validation_results", validation_results) + _setter("validation_results", validation_results) @property @pulumi.getter(name="compartmentId") @@ -415,6 +461,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ApiArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/apigateway/certificate.py b/sdk/python/pulumi_oci/apigateway/certificate.py index 92aae9787d..c997147d6a 100644 --- a/sdk/python/pulumi_oci/apigateway/certificate.py +++ b/sdk/python/pulumi_oci/apigateway/certificate.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['CertificateArgs', 'Certificate'] @@ -35,17 +35,38 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] freeform_tags: (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` :param pulumi.Input[str] intermediate_certificates: The intermediate certificate data associated with the certificate in pem format. """ - pulumi.set(__self__, "certificate", certificate) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "private_key", private_key) + CertificateArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + certificate=certificate, + compartment_id=compartment_id, + private_key=private_key, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + intermediate_certificates=intermediate_certificates, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + certificate: pulumi.Input[str], + compartment_id: pulumi.Input[str], + private_key: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + intermediate_certificates: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("certificate", certificate) + _setter("compartment_id", compartment_id) + _setter("private_key", private_key) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if intermediate_certificates is not None: - pulumi.set(__self__, "intermediate_certificates", intermediate_certificates) + _setter("intermediate_certificates", intermediate_certificates) @property @pulumi.getter @@ -172,32 +193,65 @@ def __init__(__self__, *, :param pulumi.Input[str] time_not_valid_after: The date and time the certificate will expire. :param pulumi.Input[str] time_updated: The time this resource was last updated. An RFC3339 formatted datetime string. """ + _CertificateState._configure( + lambda key, value: pulumi.set(__self__, key, value), + certificate=certificate, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + intermediate_certificates=intermediate_certificates, + lifecycle_details=lifecycle_details, + private_key=private_key, + state=state, + subject_names=subject_names, + time_created=time_created, + time_not_valid_after=time_not_valid_after, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + certificate: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + intermediate_certificates: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + private_key: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + subject_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_not_valid_after: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if certificate is not None: - pulumi.set(__self__, "certificate", certificate) + _setter("certificate", certificate) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if intermediate_certificates is not None: - pulumi.set(__self__, "intermediate_certificates", intermediate_certificates) + _setter("intermediate_certificates", intermediate_certificates) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if private_key is not None: - pulumi.set(__self__, "private_key", private_key) + _setter("private_key", private_key) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if subject_names is not None: - pulumi.set(__self__, "subject_names", subject_names) + _setter("subject_names", subject_names) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_not_valid_after is not None: - pulumi.set(__self__, "time_not_valid_after", time_not_valid_after) + _setter("time_not_valid_after", time_not_valid_after) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter @@ -469,6 +523,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + CertificateArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/apigateway/deployment.py b/sdk/python/pulumi_oci/apigateway/deployment.py index a78d2ca7d9..8ac67ad9b4 100644 --- a/sdk/python/pulumi_oci/apigateway/deployment.py +++ b/sdk/python/pulumi_oci/apigateway/deployment.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -33,16 +33,37 @@ def __init__(__self__, *, :param pulumi.Input[str] display_name: (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: `My new resource` :param pulumi.Input[Mapping[str, Any]] freeform_tags: (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "gateway_id", gateway_id) - pulumi.set(__self__, "path_prefix", path_prefix) - pulumi.set(__self__, "specification", specification) + DeploymentArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + gateway_id=gateway_id, + path_prefix=path_prefix, + specification=specification, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + gateway_id: pulumi.Input[str], + path_prefix: pulumi.Input[str], + specification: pulumi.Input['DeploymentSpecificationArgs'], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("gateway_id", gateway_id) + _setter("path_prefix", path_prefix) + _setter("specification", specification) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="compartmentId") @@ -159,30 +180,61 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The time this resource was created. An RFC3339 formatted datetime string. :param pulumi.Input[str] time_updated: The time this resource was last updated. An RFC3339 formatted datetime string. """ + _DeploymentState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + endpoint=endpoint, + freeform_tags=freeform_tags, + gateway_id=gateway_id, + lifecycle_details=lifecycle_details, + path_prefix=path_prefix, + specification=specification, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + endpoint: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + gateway_id: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + path_prefix: Optional[pulumi.Input[str]] = None, + specification: Optional[pulumi.Input['DeploymentSpecificationArgs']] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if endpoint is not None: - pulumi.set(__self__, "endpoint", endpoint) + _setter("endpoint", endpoint) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if gateway_id is not None: - pulumi.set(__self__, "gateway_id", gateway_id) + _setter("gateway_id", gateway_id) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if path_prefix is not None: - pulumi.set(__self__, "path_prefix", path_prefix) + _setter("path_prefix", path_prefix) if specification is not None: - pulumi.set(__self__, "specification", specification) + _setter("specification", specification) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -1320,6 +1372,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DeploymentArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -1353,6 +1409,11 @@ def _internal_init(__self__, if path_prefix is None and not opts.urn: raise TypeError("Missing required property 'path_prefix'") __props__.__dict__["path_prefix"] = path_prefix + if specification is not None and not isinstance(specification, DeploymentSpecificationArgs): + specification = specification or {} + def _setter(key, value): + specification[key] = value + DeploymentSpecificationArgs._configure(_setter, **specification) if specification is None and not opts.urn: raise TypeError("Missing required property 'specification'") __props__.__dict__["specification"] = specification diff --git a/sdk/python/pulumi_oci/apigateway/gateway.py b/sdk/python/pulumi_oci/apigateway/gateway.py index f1c6c62559..dde35d327c 100644 --- a/sdk/python/pulumi_oci/apigateway/gateway.py +++ b/sdk/python/pulumi_oci/apigateway/gateway.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -43,23 +43,50 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] network_security_group_ids: (Updatable) An array of Network Security Groups OCIDs associated with this API Gateway. :param pulumi.Input['GatewayResponseCacheDetailsArgs'] response_cache_details: (Updatable) Base Gateway response cache. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "endpoint_type", endpoint_type) - pulumi.set(__self__, "subnet_id", subnet_id) + GatewayArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + endpoint_type=endpoint_type, + subnet_id=subnet_id, + ca_bundles=ca_bundles, + certificate_id=certificate_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + network_security_group_ids=network_security_group_ids, + response_cache_details=response_cache_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + endpoint_type: pulumi.Input[str], + subnet_id: pulumi.Input[str], + ca_bundles: Optional[pulumi.Input[Sequence[pulumi.Input['GatewayCaBundleArgs']]]] = None, + certificate_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + network_security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + response_cache_details: Optional[pulumi.Input['GatewayResponseCacheDetailsArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("endpoint_type", endpoint_type) + _setter("subnet_id", subnet_id) if ca_bundles is not None: - pulumi.set(__self__, "ca_bundles", ca_bundles) + _setter("ca_bundles", ca_bundles) if certificate_id is not None: - pulumi.set(__self__, "certificate_id", certificate_id) + _setter("certificate_id", certificate_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if network_security_group_ids is not None: - pulumi.set(__self__, "network_security_group_ids", network_security_group_ids) + _setter("network_security_group_ids", network_security_group_ids) if response_cache_details is not None: - pulumi.set(__self__, "response_cache_details", response_cache_details) + _setter("response_cache_details", response_cache_details) @property @pulumi.getter(name="compartmentId") @@ -228,38 +255,77 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The time this resource was created. An RFC3339 formatted datetime string. :param pulumi.Input[str] time_updated: The time this resource was last updated. An RFC3339 formatted datetime string. """ + _GatewayState._configure( + lambda key, value: pulumi.set(__self__, key, value), + ca_bundles=ca_bundles, + certificate_id=certificate_id, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + endpoint_type=endpoint_type, + freeform_tags=freeform_tags, + hostname=hostname, + ip_addresses=ip_addresses, + lifecycle_details=lifecycle_details, + network_security_group_ids=network_security_group_ids, + response_cache_details=response_cache_details, + state=state, + subnet_id=subnet_id, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ca_bundles: Optional[pulumi.Input[Sequence[pulumi.Input['GatewayCaBundleArgs']]]] = None, + certificate_id: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + endpoint_type: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + hostname: Optional[pulumi.Input[str]] = None, + ip_addresses: Optional[pulumi.Input[Sequence[pulumi.Input['GatewayIpAddressArgs']]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + network_security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + response_cache_details: Optional[pulumi.Input['GatewayResponseCacheDetailsArgs']] = None, + state: Optional[pulumi.Input[str]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ca_bundles is not None: - pulumi.set(__self__, "ca_bundles", ca_bundles) + _setter("ca_bundles", ca_bundles) if certificate_id is not None: - pulumi.set(__self__, "certificate_id", certificate_id) + _setter("certificate_id", certificate_id) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if endpoint_type is not None: - pulumi.set(__self__, "endpoint_type", endpoint_type) + _setter("endpoint_type", endpoint_type) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if hostname is not None: - pulumi.set(__self__, "hostname", hostname) + _setter("hostname", hostname) if ip_addresses is not None: - pulumi.set(__self__, "ip_addresses", ip_addresses) + _setter("ip_addresses", ip_addresses) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if network_security_group_ids is not None: - pulumi.set(__self__, "network_security_group_ids", network_security_group_ids) + _setter("network_security_group_ids", network_security_group_ids) if response_cache_details is not None: - pulumi.set(__self__, "response_cache_details", response_cache_details) + _setter("response_cache_details", response_cache_details) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="caBundles") @@ -613,6 +679,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + GatewayArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -649,6 +719,11 @@ def _internal_init(__self__, __props__.__dict__["endpoint_type"] = endpoint_type __props__.__dict__["freeform_tags"] = freeform_tags __props__.__dict__["network_security_group_ids"] = network_security_group_ids + if response_cache_details is not None and not isinstance(response_cache_details, GatewayResponseCacheDetailsArgs): + response_cache_details = response_cache_details or {} + def _setter(key, value): + response_cache_details[key] = value + GatewayResponseCacheDetailsArgs._configure(_setter, **response_cache_details) __props__.__dict__["response_cache_details"] = response_cache_details if subnet_id is None and not opts.urn: raise TypeError("Missing required property 'subnet_id'") diff --git a/sdk/python/pulumi_oci/apigateway/get_api.py b/sdk/python/pulumi_oci/apigateway/get_api.py index c331b17a94..6324bba8e0 100644 --- a/sdk/python/pulumi_oci/apigateway/get_api.py +++ b/sdk/python/pulumi_oci/apigateway/get_api.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/apigateway/get_api_content.py b/sdk/python/pulumi_oci/apigateway/get_api_content.py index bc90763509..fba2a18503 100644 --- a/sdk/python/pulumi_oci/apigateway/get_api_content.py +++ b/sdk/python/pulumi_oci/apigateway/get_api_content.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/apigateway/get_api_deployment_specification.py b/sdk/python/pulumi_oci/apigateway/get_api_deployment_specification.py index 66e4100c08..507d5fbd2d 100644 --- a/sdk/python/pulumi_oci/apigateway/get_api_deployment_specification.py +++ b/sdk/python/pulumi_oci/apigateway/get_api_deployment_specification.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/apigateway/get_api_validation.py b/sdk/python/pulumi_oci/apigateway/get_api_validation.py index d7d1bd914c..d0d35b2be0 100644 --- a/sdk/python/pulumi_oci/apigateway/get_api_validation.py +++ b/sdk/python/pulumi_oci/apigateway/get_api_validation.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/apigateway/get_apis.py b/sdk/python/pulumi_oci/apigateway/get_apis.py index d504a86053..1f0ff59025 100644 --- a/sdk/python/pulumi_oci/apigateway/get_apis.py +++ b/sdk/python/pulumi_oci/apigateway/get_apis.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/apigateway/get_certificate.py b/sdk/python/pulumi_oci/apigateway/get_certificate.py index 6bde88fedc..4d25d85ccf 100644 --- a/sdk/python/pulumi_oci/apigateway/get_certificate.py +++ b/sdk/python/pulumi_oci/apigateway/get_certificate.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/apigateway/get_certificates.py b/sdk/python/pulumi_oci/apigateway/get_certificates.py index 8e2fbe050a..6358c61814 100644 --- a/sdk/python/pulumi_oci/apigateway/get_certificates.py +++ b/sdk/python/pulumi_oci/apigateway/get_certificates.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/apigateway/get_deployment.py b/sdk/python/pulumi_oci/apigateway/get_deployment.py index 7618add471..d692ef825a 100644 --- a/sdk/python/pulumi_oci/apigateway/get_deployment.py +++ b/sdk/python/pulumi_oci/apigateway/get_deployment.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/apigateway/get_deployments.py b/sdk/python/pulumi_oci/apigateway/get_deployments.py index 73a5956b78..7bdb27025c 100644 --- a/sdk/python/pulumi_oci/apigateway/get_deployments.py +++ b/sdk/python/pulumi_oci/apigateway/get_deployments.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/apigateway/get_gateway.py b/sdk/python/pulumi_oci/apigateway/get_gateway.py index 534eff76ec..673b073766 100644 --- a/sdk/python/pulumi_oci/apigateway/get_gateway.py +++ b/sdk/python/pulumi_oci/apigateway/get_gateway.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/apigateway/get_gateways.py b/sdk/python/pulumi_oci/apigateway/get_gateways.py index 88337654d8..891862ab2f 100644 --- a/sdk/python/pulumi_oci/apigateway/get_gateways.py +++ b/sdk/python/pulumi_oci/apigateway/get_gateways.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/apigateway/get_subscriber.py b/sdk/python/pulumi_oci/apigateway/get_subscriber.py index 1f7191a2ce..90f349fed7 100644 --- a/sdk/python/pulumi_oci/apigateway/get_subscriber.py +++ b/sdk/python/pulumi_oci/apigateway/get_subscriber.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/apigateway/get_subscribers.py b/sdk/python/pulumi_oci/apigateway/get_subscribers.py index 3377dce6c8..3bb7ec756b 100644 --- a/sdk/python/pulumi_oci/apigateway/get_subscribers.py +++ b/sdk/python/pulumi_oci/apigateway/get_subscribers.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/apigateway/get_usage_plan.py b/sdk/python/pulumi_oci/apigateway/get_usage_plan.py index 5a65ad12eb..a3cac3cdad 100644 --- a/sdk/python/pulumi_oci/apigateway/get_usage_plan.py +++ b/sdk/python/pulumi_oci/apigateway/get_usage_plan.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/apigateway/get_usage_plans.py b/sdk/python/pulumi_oci/apigateway/get_usage_plans.py index a1dc1502f3..3e6ca09e84 100644 --- a/sdk/python/pulumi_oci/apigateway/get_usage_plans.py +++ b/sdk/python/pulumi_oci/apigateway/get_usage_plans.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/apigateway/outputs.py b/sdk/python/pulumi_oci/apigateway/outputs.py index 16ab98f3de..f9ed370400 100644 --- a/sdk/python/pulumi_oci/apigateway/outputs.py +++ b/sdk/python/pulumi_oci/apigateway/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -458,10 +458,21 @@ def __init__(__self__, *, :param str name: Name of the validation. :param str result: Result of the validation. """ + ApiValidationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + result=result, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[str] = None, + result: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if result is not None: - pulumi.set(__self__, "result", result) + _setter("result", result) @property @pulumi.getter @@ -510,11 +521,24 @@ def __init__(__self__, *, :param 'DeploymentSpecificationLoggingPoliciesArgs' logging_policies: (Updatable) Policies controlling the pushing of logs to Oracle Cloud Infrastructure Public Logging. :param 'DeploymentSpecificationRequestPoliciesArgs' request_policies: (Updatable) Behavior applied to any requests received by the API on this route. """ - pulumi.set(__self__, "routes", routes) + DeploymentSpecification._configure( + lambda key, value: pulumi.set(__self__, key, value), + routes=routes, + logging_policies=logging_policies, + request_policies=request_policies, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + routes: Sequence['outputs.DeploymentSpecificationRoute'], + logging_policies: Optional['outputs.DeploymentSpecificationLoggingPolicies'] = None, + request_policies: Optional['outputs.DeploymentSpecificationRequestPolicies'] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("routes", routes) if logging_policies is not None: - pulumi.set(__self__, "logging_policies", logging_policies) + _setter("logging_policies", logging_policies) if request_policies is not None: - pulumi.set(__self__, "request_policies", request_policies) + _setter("request_policies", request_policies) @property @pulumi.getter @@ -569,10 +593,21 @@ def __init__(__self__, *, :param 'DeploymentSpecificationLoggingPoliciesAccessLogArgs' access_log: (Updatable) Configures the logging policies for the access logs of an API Deployment. :param 'DeploymentSpecificationLoggingPoliciesExecutionLogArgs' execution_log: (Updatable) Configures the logging policies for the execution logs of an API Deployment. """ + DeploymentSpecificationLoggingPolicies._configure( + lambda key, value: pulumi.set(__self__, key, value), + access_log=access_log, + execution_log=execution_log, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access_log: Optional['outputs.DeploymentSpecificationLoggingPoliciesAccessLog'] = None, + execution_log: Optional['outputs.DeploymentSpecificationLoggingPoliciesExecutionLog'] = None, + opts: Optional[pulumi.ResourceOptions]=None): if access_log is not None: - pulumi.set(__self__, "access_log", access_log) + _setter("access_log", access_log) if execution_log is not None: - pulumi.set(__self__, "execution_log", execution_log) + _setter("execution_log", execution_log) @property @pulumi.getter(name="accessLog") @@ -615,8 +650,17 @@ def __init__(__self__, *, """ :param bool is_enabled: (Updatable) Whether this policy is currently enabled. """ + DeploymentSpecificationLoggingPoliciesAccessLog._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) @property @pulumi.getter(name="isEnabled") @@ -655,10 +699,21 @@ def __init__(__self__, *, :param bool is_enabled: (Updatable) Whether this policy is currently enabled. :param str log_level: (Updatable) Specifies the log level used to control logging output of execution logs. Enabling logging at a given level also enables logging at all higher levels. """ + DeploymentSpecificationLoggingPoliciesExecutionLog._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + log_level=log_level, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: Optional[bool] = None, + log_level: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) if log_level is not None: - pulumi.set(__self__, "log_level", log_level) + _setter("log_level", log_level) @property @pulumi.getter(name="isEnabled") @@ -717,18 +772,37 @@ def __init__(__self__, *, :param 'DeploymentSpecificationRequestPoliciesRateLimitingArgs' rate_limiting: (Updatable) Limit the number of requests that should be handled for the specified window using a specfic key. :param 'DeploymentSpecificationRequestPoliciesUsagePlansArgs' usage_plans: (Updatable) Usage plan policies for this deployment """ + DeploymentSpecificationRequestPolicies._configure( + lambda key, value: pulumi.set(__self__, key, value), + authentication=authentication, + cors=cors, + dynamic_authentication=dynamic_authentication, + mutual_tls=mutual_tls, + rate_limiting=rate_limiting, + usage_plans=usage_plans, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + authentication: Optional['outputs.DeploymentSpecificationRequestPoliciesAuthentication'] = None, + cors: Optional['outputs.DeploymentSpecificationRequestPoliciesCors'] = None, + dynamic_authentication: Optional['outputs.DeploymentSpecificationRequestPoliciesDynamicAuthentication'] = None, + mutual_tls: Optional['outputs.DeploymentSpecificationRequestPoliciesMutualTls'] = None, + rate_limiting: Optional['outputs.DeploymentSpecificationRequestPoliciesRateLimiting'] = None, + usage_plans: Optional['outputs.DeploymentSpecificationRequestPoliciesUsagePlans'] = None, + opts: Optional[pulumi.ResourceOptions]=None): if authentication is not None: - pulumi.set(__self__, "authentication", authentication) + _setter("authentication", authentication) if cors is not None: - pulumi.set(__self__, "cors", cors) + _setter("cors", cors) if dynamic_authentication is not None: - pulumi.set(__self__, "dynamic_authentication", dynamic_authentication) + _setter("dynamic_authentication", dynamic_authentication) if mutual_tls is not None: - pulumi.set(__self__, "mutual_tls", mutual_tls) + _setter("mutual_tls", mutual_tls) if rate_limiting is not None: - pulumi.set(__self__, "rate_limiting", rate_limiting) + _setter("rate_limiting", rate_limiting) if usage_plans is not None: - pulumi.set(__self__, "usage_plans", usage_plans) + _setter("usage_plans", usage_plans) @property @pulumi.getter @@ -855,35 +929,72 @@ def __init__(__self__, *, :param 'DeploymentSpecificationRequestPoliciesAuthenticationValidationPolicyArgs' validation_policy: (Updatable) Authentication Policies for the Token Authentication types. :param Sequence['DeploymentSpecificationRequestPoliciesAuthenticationVerifyClaimArgs'] verify_claims: (Updatable) A list of claims which should be validated to consider the token valid. """ - pulumi.set(__self__, "type", type) + DeploymentSpecificationRequestPoliciesAuthentication._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + audiences=audiences, + cache_keys=cache_keys, + function_id=function_id, + is_anonymous_access_allowed=is_anonymous_access_allowed, + issuers=issuers, + max_clock_skew_in_seconds=max_clock_skew_in_seconds, + parameters=parameters, + public_keys=public_keys, + token_auth_scheme=token_auth_scheme, + token_header=token_header, + token_query_param=token_query_param, + validation_failure_policy=validation_failure_policy, + validation_policy=validation_policy, + verify_claims=verify_claims, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + audiences: Optional[Sequence[str]] = None, + cache_keys: Optional[Sequence[str]] = None, + function_id: Optional[str] = None, + is_anonymous_access_allowed: Optional[bool] = None, + issuers: Optional[Sequence[str]] = None, + max_clock_skew_in_seconds: Optional[float] = None, + parameters: Optional[Mapping[str, Any]] = None, + public_keys: Optional['outputs.DeploymentSpecificationRequestPoliciesAuthenticationPublicKeys'] = None, + token_auth_scheme: Optional[str] = None, + token_header: Optional[str] = None, + token_query_param: Optional[str] = None, + validation_failure_policy: Optional['outputs.DeploymentSpecificationRequestPoliciesAuthenticationValidationFailurePolicy'] = None, + validation_policy: Optional['outputs.DeploymentSpecificationRequestPoliciesAuthenticationValidationPolicy'] = None, + verify_claims: Optional[Sequence['outputs.DeploymentSpecificationRequestPoliciesAuthenticationVerifyClaim']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if audiences is not None: - pulumi.set(__self__, "audiences", audiences) + _setter("audiences", audiences) if cache_keys is not None: - pulumi.set(__self__, "cache_keys", cache_keys) + _setter("cache_keys", cache_keys) if function_id is not None: - pulumi.set(__self__, "function_id", function_id) + _setter("function_id", function_id) if is_anonymous_access_allowed is not None: - pulumi.set(__self__, "is_anonymous_access_allowed", is_anonymous_access_allowed) + _setter("is_anonymous_access_allowed", is_anonymous_access_allowed) if issuers is not None: - pulumi.set(__self__, "issuers", issuers) + _setter("issuers", issuers) if max_clock_skew_in_seconds is not None: - pulumi.set(__self__, "max_clock_skew_in_seconds", max_clock_skew_in_seconds) + _setter("max_clock_skew_in_seconds", max_clock_skew_in_seconds) if parameters is not None: - pulumi.set(__self__, "parameters", parameters) + _setter("parameters", parameters) if public_keys is not None: - pulumi.set(__self__, "public_keys", public_keys) + _setter("public_keys", public_keys) if token_auth_scheme is not None: - pulumi.set(__self__, "token_auth_scheme", token_auth_scheme) + _setter("token_auth_scheme", token_auth_scheme) if token_header is not None: - pulumi.set(__self__, "token_header", token_header) + _setter("token_header", token_header) if token_query_param is not None: - pulumi.set(__self__, "token_query_param", token_query_param) + _setter("token_query_param", token_query_param) if validation_failure_policy is not None: - pulumi.set(__self__, "validation_failure_policy", validation_failure_policy) + _setter("validation_failure_policy", validation_failure_policy) if validation_policy is not None: - pulumi.set(__self__, "validation_policy", validation_policy) + _setter("validation_policy", validation_policy) if verify_claims is not None: - pulumi.set(__self__, "verify_claims", verify_claims) + _setter("verify_claims", verify_claims) @property @pulumi.getter @@ -1048,15 +1159,32 @@ def __init__(__self__, *, :param int max_cache_duration_in_hours: (Updatable) The duration for which the introspect URL response should be cached before it is fetched again. :param str uri: (Updatable) The uri from which to retrieve the key. It must be accessible without authentication. """ - pulumi.set(__self__, "type", type) + DeploymentSpecificationRequestPoliciesAuthenticationPublicKeys._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + is_ssl_verify_disabled=is_ssl_verify_disabled, + keys=keys, + max_cache_duration_in_hours=max_cache_duration_in_hours, + uri=uri, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + is_ssl_verify_disabled: Optional[bool] = None, + keys: Optional[Sequence['outputs.DeploymentSpecificationRequestPoliciesAuthenticationPublicKeysKey']] = None, + max_cache_duration_in_hours: Optional[int] = None, + uri: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if is_ssl_verify_disabled is not None: - pulumi.set(__self__, "is_ssl_verify_disabled", is_ssl_verify_disabled) + _setter("is_ssl_verify_disabled", is_ssl_verify_disabled) if keys is not None: - pulumi.set(__self__, "keys", keys) + _setter("keys", keys) if max_cache_duration_in_hours is not None: - pulumi.set(__self__, "max_cache_duration_in_hours", max_cache_duration_in_hours) + _setter("max_cache_duration_in_hours", max_cache_duration_in_hours) if uri is not None: - pulumi.set(__self__, "uri", uri) + _setter("uri", uri) @property @pulumi.getter @@ -1143,23 +1271,48 @@ def __init__(__self__, *, :param str n: (Updatable) The base64 url encoded modulus of the RSA public key represented by this key. :param str use: (Updatable) The intended use of the public key. """ - pulumi.set(__self__, "format", format) + DeploymentSpecificationRequestPoliciesAuthenticationPublicKeysKey._configure( + lambda key, value: pulumi.set(__self__, key, value), + format=format, + alg=alg, + e=e, + key=key, + key_ops=key_ops, + kid=kid, + kty=kty, + n=n, + use=use, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + format: str, + alg: Optional[str] = None, + e: Optional[str] = None, + key: Optional[str] = None, + key_ops: Optional[Sequence[str]] = None, + kid: Optional[str] = None, + kty: Optional[str] = None, + n: Optional[str] = None, + use: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("format", format) if alg is not None: - pulumi.set(__self__, "alg", alg) + _setter("alg", alg) if e is not None: - pulumi.set(__self__, "e", e) + _setter("e", e) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if key_ops is not None: - pulumi.set(__self__, "key_ops", key_ops) + _setter("key_ops", key_ops) if kid is not None: - pulumi.set(__self__, "kid", kid) + _setter("kid", kid) if kty is not None: - pulumi.set(__self__, "kty", kty) + _setter("kty", kty) if n is not None: - pulumi.set(__self__, "n", n) + _setter("n", n) if use is not None: - pulumi.set(__self__, "use", use) + _setter("use", use) @property @pulumi.getter @@ -1310,33 +1463,68 @@ def __init__(__self__, *, :param bool use_cookies_for_session: (Updatable) Defines whether or not to use cookies for session maintenance. :param bool use_pkce: (Updatable) Defines whether or not to support PKCE. """ - pulumi.set(__self__, "type", type) + DeploymentSpecificationRequestPoliciesAuthenticationValidationFailurePolicy._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + client_details=client_details, + fallback_redirect_path=fallback_redirect_path, + logout_path=logout_path, + max_expiry_duration_in_hours=max_expiry_duration_in_hours, + response_code=response_code, + response_header_transformations=response_header_transformations, + response_message=response_message, + response_type=response_type, + scopes=scopes, + source_uri_details=source_uri_details, + use_cookies_for_intermediate_steps=use_cookies_for_intermediate_steps, + use_cookies_for_session=use_cookies_for_session, + use_pkce=use_pkce, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + client_details: Optional['outputs.DeploymentSpecificationRequestPoliciesAuthenticationValidationFailurePolicyClientDetails'] = None, + fallback_redirect_path: Optional[str] = None, + logout_path: Optional[str] = None, + max_expiry_duration_in_hours: Optional[int] = None, + response_code: Optional[str] = None, + response_header_transformations: Optional['outputs.DeploymentSpecificationRequestPoliciesAuthenticationValidationFailurePolicyResponseHeaderTransformations'] = None, + response_message: Optional[str] = None, + response_type: Optional[str] = None, + scopes: Optional[Sequence[str]] = None, + source_uri_details: Optional['outputs.DeploymentSpecificationRequestPoliciesAuthenticationValidationFailurePolicySourceUriDetails'] = None, + use_cookies_for_intermediate_steps: Optional[bool] = None, + use_cookies_for_session: Optional[bool] = None, + use_pkce: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if client_details is not None: - pulumi.set(__self__, "client_details", client_details) + _setter("client_details", client_details) if fallback_redirect_path is not None: - pulumi.set(__self__, "fallback_redirect_path", fallback_redirect_path) + _setter("fallback_redirect_path", fallback_redirect_path) if logout_path is not None: - pulumi.set(__self__, "logout_path", logout_path) + _setter("logout_path", logout_path) if max_expiry_duration_in_hours is not None: - pulumi.set(__self__, "max_expiry_duration_in_hours", max_expiry_duration_in_hours) + _setter("max_expiry_duration_in_hours", max_expiry_duration_in_hours) if response_code is not None: - pulumi.set(__self__, "response_code", response_code) + _setter("response_code", response_code) if response_header_transformations is not None: - pulumi.set(__self__, "response_header_transformations", response_header_transformations) + _setter("response_header_transformations", response_header_transformations) if response_message is not None: - pulumi.set(__self__, "response_message", response_message) + _setter("response_message", response_message) if response_type is not None: - pulumi.set(__self__, "response_type", response_type) + _setter("response_type", response_type) if scopes is not None: - pulumi.set(__self__, "scopes", scopes) + _setter("scopes", scopes) if source_uri_details is not None: - pulumi.set(__self__, "source_uri_details", source_uri_details) + _setter("source_uri_details", source_uri_details) if use_cookies_for_intermediate_steps is not None: - pulumi.set(__self__, "use_cookies_for_intermediate_steps", use_cookies_for_intermediate_steps) + _setter("use_cookies_for_intermediate_steps", use_cookies_for_intermediate_steps) if use_cookies_for_session is not None: - pulumi.set(__self__, "use_cookies_for_session", use_cookies_for_session) + _setter("use_cookies_for_session", use_cookies_for_session) if use_pkce is not None: - pulumi.set(__self__, "use_pkce", use_pkce) + _setter("use_pkce", use_pkce) @property @pulumi.getter @@ -1493,13 +1681,28 @@ def __init__(__self__, *, :param str client_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Vault Service secret resource. :param str client_secret_version_number: (Updatable) The version number of the client secret to use. """ - pulumi.set(__self__, "type", type) + DeploymentSpecificationRequestPoliciesAuthenticationValidationFailurePolicyClientDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + client_id=client_id, + client_secret_id=client_secret_id, + client_secret_version_number=client_secret_version_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + client_id: Optional[str] = None, + client_secret_id: Optional[str] = None, + client_secret_version_number: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if client_id is not None: - pulumi.set(__self__, "client_id", client_id) + _setter("client_id", client_id) if client_secret_id is not None: - pulumi.set(__self__, "client_secret_id", client_secret_id) + _setter("client_secret_id", client_secret_id) if client_secret_version_number is not None: - pulumi.set(__self__, "client_secret_version_number", client_secret_version_number) + _setter("client_secret_version_number", client_secret_version_number) @property @pulumi.getter @@ -1570,12 +1773,25 @@ def __init__(__self__, *, :param 'DeploymentSpecificationRequestPoliciesAuthenticationValidationFailurePolicyResponseHeaderTransformationsRenameHeadersArgs' rename_headers: (Updatable) Rename HTTP headers as they pass through the gateway. :param 'DeploymentSpecificationRequestPoliciesAuthenticationValidationFailurePolicyResponseHeaderTransformationsSetHeadersArgs' set_headers: (Updatable) Set HTTP headers as they pass through the gateway. """ + DeploymentSpecificationRequestPoliciesAuthenticationValidationFailurePolicyResponseHeaderTransformations._configure( + lambda key, value: pulumi.set(__self__, key, value), + filter_headers=filter_headers, + rename_headers=rename_headers, + set_headers=set_headers, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + filter_headers: Optional['outputs.DeploymentSpecificationRequestPoliciesAuthenticationValidationFailurePolicyResponseHeaderTransformationsFilterHeaders'] = None, + rename_headers: Optional['outputs.DeploymentSpecificationRequestPoliciesAuthenticationValidationFailurePolicyResponseHeaderTransformationsRenameHeaders'] = None, + set_headers: Optional['outputs.DeploymentSpecificationRequestPoliciesAuthenticationValidationFailurePolicyResponseHeaderTransformationsSetHeaders'] = None, + opts: Optional[pulumi.ResourceOptions]=None): if filter_headers is not None: - pulumi.set(__self__, "filter_headers", filter_headers) + _setter("filter_headers", filter_headers) if rename_headers is not None: - pulumi.set(__self__, "rename_headers", rename_headers) + _setter("rename_headers", rename_headers) if set_headers is not None: - pulumi.set(__self__, "set_headers", set_headers) + _setter("set_headers", set_headers) @property @pulumi.getter(name="filterHeaders") @@ -1615,10 +1831,21 @@ def __init__(__self__, *, ** 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 """ + DeploymentSpecificationRequestPoliciesAuthenticationValidationFailurePolicyResponseHeaderTransformationsFilterHeaders._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Optional[Sequence['outputs.DeploymentSpecificationRequestPoliciesAuthenticationValidationFailurePolicyResponseHeaderTransformationsFilterHeadersItem']] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -1648,8 +1875,17 @@ def __init__(__self__, *, """ :param str name: (Updatable) The case-insensitive name of the header. This name must be unique across transformation policies. """ + DeploymentSpecificationRequestPoliciesAuthenticationValidationFailurePolicyResponseHeaderTransformationsFilterHeadersItem._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -1667,8 +1903,17 @@ def __init__(__self__, *, """ :param Sequence['DeploymentSpecificationRequestPoliciesAuthenticationValidationFailurePolicyResponseHeaderTransformationsRenameHeadersItemArgs'] items: (Updatable) The list of headers. """ + DeploymentSpecificationRequestPoliciesAuthenticationValidationFailurePolicyResponseHeaderTransformationsRenameHeaders._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Optional[Sequence['outputs.DeploymentSpecificationRequestPoliciesAuthenticationValidationFailurePolicyResponseHeaderTransformationsRenameHeadersItem']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) @property @pulumi.getter @@ -1705,10 +1950,21 @@ def __init__(__self__, *, :param str from_: (Updatable) The original case-insensitive name of the header. This name must be unique across transformation policies. :param str to: (Updatable) The new name of the header. This name must be unique across transformation policies. """ + DeploymentSpecificationRequestPoliciesAuthenticationValidationFailurePolicyResponseHeaderTransformationsRenameHeadersItem._configure( + lambda key, value: pulumi.set(__self__, key, value), + from_=from_, + to=to, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + from_: Optional[str] = None, + to: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if from_ is not None: - pulumi.set(__self__, "from_", from_) + _setter("from_", from_) if to is not None: - pulumi.set(__self__, "to", to) + _setter("to", to) @property @pulumi.getter(name="from") @@ -1734,8 +1990,17 @@ def __init__(__self__, *, """ :param Sequence['DeploymentSpecificationRequestPoliciesAuthenticationValidationFailurePolicyResponseHeaderTransformationsSetHeadersItemArgs'] items: (Updatable) The list of headers. """ + DeploymentSpecificationRequestPoliciesAuthenticationValidationFailurePolicyResponseHeaderTransformationsSetHeaders._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Optional[Sequence['outputs.DeploymentSpecificationRequestPoliciesAuthenticationValidationFailurePolicyResponseHeaderTransformationsSetHeadersItem']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) @property @pulumi.getter @@ -1774,12 +2039,25 @@ def __init__(__self__, *, :param str name: (Updatable) The case-insensitive name of the header. This name must be unique across transformation policies. :param Sequence[str] values: (Updatable) A list of new values. Each value can be a constant or may include one or more expressions enclosed within ${} delimiters. """ + DeploymentSpecificationRequestPoliciesAuthenticationValidationFailurePolicyResponseHeaderTransformationsSetHeadersItem._configure( + lambda key, value: pulumi.set(__self__, key, value), + if_exists=if_exists, + name=name, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + if_exists: Optional[str] = None, + name: Optional[str] = None, + values: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if if_exists is not None: - pulumi.set(__self__, "if_exists", if_exists) + _setter("if_exists", if_exists) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if values is not None: - pulumi.set(__self__, "values", values) + _setter("values", values) @property @pulumi.getter(name="ifExists") @@ -1819,9 +2097,20 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param str uri: (Updatable) The uri from which to retrieve the key. It must be accessible without authentication. """ - pulumi.set(__self__, "type", type) + DeploymentSpecificationRequestPoliciesAuthenticationValidationFailurePolicySourceUriDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + uri=uri, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + uri: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if uri is not None: - pulumi.set(__self__, "uri", uri) + _setter("uri", uri) @property @pulumi.getter @@ -1894,21 +2183,44 @@ def __init__(__self__, *, :param 'DeploymentSpecificationRequestPoliciesAuthenticationValidationPolicySourceUriDetailsArgs' source_uri_details: (Updatable) Auth endpoint details. :param str uri: (Updatable) The uri from which to retrieve the key. It must be accessible without authentication. """ - pulumi.set(__self__, "type", type) + DeploymentSpecificationRequestPoliciesAuthenticationValidationPolicy._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + additional_validation_policy=additional_validation_policy, + client_details=client_details, + is_ssl_verify_disabled=is_ssl_verify_disabled, + keys=keys, + max_cache_duration_in_hours=max_cache_duration_in_hours, + source_uri_details=source_uri_details, + uri=uri, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + additional_validation_policy: Optional['outputs.DeploymentSpecificationRequestPoliciesAuthenticationValidationPolicyAdditionalValidationPolicy'] = None, + client_details: Optional['outputs.DeploymentSpecificationRequestPoliciesAuthenticationValidationPolicyClientDetails'] = None, + is_ssl_verify_disabled: Optional[bool] = None, + keys: Optional[Sequence['outputs.DeploymentSpecificationRequestPoliciesAuthenticationValidationPolicyKey']] = None, + max_cache_duration_in_hours: Optional[int] = None, + source_uri_details: Optional['outputs.DeploymentSpecificationRequestPoliciesAuthenticationValidationPolicySourceUriDetails'] = None, + uri: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if additional_validation_policy is not None: - pulumi.set(__self__, "additional_validation_policy", additional_validation_policy) + _setter("additional_validation_policy", additional_validation_policy) if client_details is not None: - pulumi.set(__self__, "client_details", client_details) + _setter("client_details", client_details) if is_ssl_verify_disabled is not None: - pulumi.set(__self__, "is_ssl_verify_disabled", is_ssl_verify_disabled) + _setter("is_ssl_verify_disabled", is_ssl_verify_disabled) if keys is not None: - pulumi.set(__self__, "keys", keys) + _setter("keys", keys) if max_cache_duration_in_hours is not None: - pulumi.set(__self__, "max_cache_duration_in_hours", max_cache_duration_in_hours) + _setter("max_cache_duration_in_hours", max_cache_duration_in_hours) if source_uri_details is not None: - pulumi.set(__self__, "source_uri_details", source_uri_details) + _setter("source_uri_details", source_uri_details) if uri is not None: - pulumi.set(__self__, "uri", uri) + _setter("uri", uri) @property @pulumi.getter @@ -2007,12 +2319,25 @@ def __init__(__self__, *, :param Sequence[str] issuers: (Updatable) A list of parties that could have issued the token. :param Sequence['DeploymentSpecificationRequestPoliciesAuthenticationValidationPolicyAdditionalValidationPolicyVerifyClaimArgs'] verify_claims: (Updatable) A list of claims which should be validated to consider the token valid. """ + DeploymentSpecificationRequestPoliciesAuthenticationValidationPolicyAdditionalValidationPolicy._configure( + lambda key, value: pulumi.set(__self__, key, value), + audiences=audiences, + issuers=issuers, + verify_claims=verify_claims, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + audiences: Optional[Sequence[str]] = None, + issuers: Optional[Sequence[str]] = None, + verify_claims: Optional[Sequence['outputs.DeploymentSpecificationRequestPoliciesAuthenticationValidationPolicyAdditionalValidationPolicyVerifyClaim']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if audiences is not None: - pulumi.set(__self__, "audiences", audiences) + _setter("audiences", audiences) if issuers is not None: - pulumi.set(__self__, "issuers", issuers) + _setter("issuers", issuers) if verify_claims is not None: - pulumi.set(__self__, "verify_claims", verify_claims) + _setter("verify_claims", verify_claims) @property @pulumi.getter @@ -2067,12 +2392,25 @@ def __init__(__self__, *, :param str key: (Updatable) Information around the values for selector of an authentication/ routing branch. :param Sequence[str] values: (Updatable) A list of new values. Each value can be a constant or may include one or more expressions enclosed within ${} delimiters. """ + DeploymentSpecificationRequestPoliciesAuthenticationValidationPolicyAdditionalValidationPolicyVerifyClaim._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_required=is_required, + key=key, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_required: Optional[bool] = None, + key: Optional[str] = None, + values: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_required is not None: - pulumi.set(__self__, "is_required", is_required) + _setter("is_required", is_required) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if values is not None: - pulumi.set(__self__, "values", values) + _setter("values", values) @property @pulumi.getter(name="isRequired") @@ -2137,13 +2475,28 @@ def __init__(__self__, *, :param str client_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Vault Service secret resource. :param str client_secret_version_number: (Updatable) The version number of the client secret to use. """ - pulumi.set(__self__, "type", type) + DeploymentSpecificationRequestPoliciesAuthenticationValidationPolicyClientDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + client_id=client_id, + client_secret_id=client_secret_id, + client_secret_version_number=client_secret_version_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + client_id: Optional[str] = None, + client_secret_id: Optional[str] = None, + client_secret_version_number: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if client_id is not None: - pulumi.set(__self__, "client_id", client_id) + _setter("client_id", client_id) if client_secret_id is not None: - pulumi.set(__self__, "client_secret_id", client_secret_id) + _setter("client_secret_id", client_secret_id) if client_secret_version_number is not None: - pulumi.set(__self__, "client_secret_version_number", client_secret_version_number) + _setter("client_secret_version_number", client_secret_version_number) @property @pulumi.getter @@ -2222,23 +2575,48 @@ def __init__(__self__, *, :param str n: (Updatable) The base64 url encoded modulus of the RSA public key represented by this key. :param str use: (Updatable) The intended use of the public key. """ - pulumi.set(__self__, "format", format) + DeploymentSpecificationRequestPoliciesAuthenticationValidationPolicyKey._configure( + lambda key, value: pulumi.set(__self__, key, value), + format=format, + alg=alg, + e=e, + key=key, + key_ops=key_ops, + kid=kid, + kty=kty, + n=n, + use=use, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + format: str, + alg: Optional[str] = None, + e: Optional[str] = None, + key: Optional[str] = None, + key_ops: Optional[Sequence[str]] = None, + kid: Optional[str] = None, + kty: Optional[str] = None, + n: Optional[str] = None, + use: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("format", format) if alg is not None: - pulumi.set(__self__, "alg", alg) + _setter("alg", alg) if e is not None: - pulumi.set(__self__, "e", e) + _setter("e", e) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if key_ops is not None: - pulumi.set(__self__, "key_ops", key_ops) + _setter("key_ops", key_ops) if kid is not None: - pulumi.set(__self__, "kid", kid) + _setter("kid", kid) if kty is not None: - pulumi.set(__self__, "kty", kty) + _setter("kty", kty) if n is not None: - pulumi.set(__self__, "n", n) + _setter("n", n) if use is not None: - pulumi.set(__self__, "use", use) + _setter("use", use) @property @pulumi.getter @@ -2326,9 +2704,20 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param str uri: (Updatable) The uri from which to retrieve the key. It must be accessible without authentication. """ - pulumi.set(__self__, "type", type) + DeploymentSpecificationRequestPoliciesAuthenticationValidationPolicySourceUriDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + uri=uri, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + uri: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if uri is not None: - pulumi.set(__self__, "uri", uri) + _setter("uri", uri) @property @pulumi.getter @@ -2379,12 +2768,25 @@ def __init__(__self__, *, :param str key: (Updatable) Information around the values for selector of an authentication/ routing branch. :param Sequence[str] values: (Updatable) A list of new values. Each value can be a constant or may include one or more expressions enclosed within ${} delimiters. """ + DeploymentSpecificationRequestPoliciesAuthenticationVerifyClaim._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_required=is_required, + key=key, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_required: Optional[bool] = None, + key: Optional[str] = None, + values: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_required is not None: - pulumi.set(__self__, "is_required", is_required) + _setter("is_required", is_required) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if values is not None: - pulumi.set(__self__, "values", values) + _setter("values", values) @property @pulumi.getter(name="isRequired") @@ -2455,17 +2857,36 @@ def __init__(__self__, *, :param bool is_allow_credentials_enabled: (Updatable) Whether to send the Access-Control-Allow-Credentials header to allow CORS requests with cookies. :param int max_age_in_seconds: (Updatable) The time in seconds for the client to cache preflight responses. This is sent as the Access-Control-Max-Age if greater than 0. """ - pulumi.set(__self__, "allowed_origins", allowed_origins) + DeploymentSpecificationRequestPoliciesCors._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_origins=allowed_origins, + allowed_headers=allowed_headers, + allowed_methods=allowed_methods, + exposed_headers=exposed_headers, + is_allow_credentials_enabled=is_allow_credentials_enabled, + max_age_in_seconds=max_age_in_seconds, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_origins: Sequence[str], + allowed_headers: Optional[Sequence[str]] = None, + allowed_methods: Optional[Sequence[str]] = None, + exposed_headers: Optional[Sequence[str]] = None, + is_allow_credentials_enabled: Optional[bool] = None, + max_age_in_seconds: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allowed_origins", allowed_origins) if allowed_headers is not None: - pulumi.set(__self__, "allowed_headers", allowed_headers) + _setter("allowed_headers", allowed_headers) if allowed_methods is not None: - pulumi.set(__self__, "allowed_methods", allowed_methods) + _setter("allowed_methods", allowed_methods) if exposed_headers is not None: - pulumi.set(__self__, "exposed_headers", exposed_headers) + _setter("exposed_headers", exposed_headers) if is_allow_credentials_enabled is not None: - pulumi.set(__self__, "is_allow_credentials_enabled", is_allow_credentials_enabled) + _setter("is_allow_credentials_enabled", is_allow_credentials_enabled) if max_age_in_seconds is not None: - pulumi.set(__self__, "max_age_in_seconds", max_age_in_seconds) + _setter("max_age_in_seconds", max_age_in_seconds) @property @pulumi.getter(name="allowedOrigins") @@ -2544,8 +2965,19 @@ def __init__(__self__, *, :param Sequence['DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerArgs'] authentication_servers: (Updatable) List of authentication servers to choose from during dynamic authentication. :param 'DeploymentSpecificationRequestPoliciesDynamicAuthenticationSelectionSourceArgs' selection_source: (Updatable) Information around selector used for branching among routes/ authentication servers while dynamic routing/ authentication. """ - pulumi.set(__self__, "authentication_servers", authentication_servers) - pulumi.set(__self__, "selection_source", selection_source) + DeploymentSpecificationRequestPoliciesDynamicAuthentication._configure( + lambda key, value: pulumi.set(__self__, key, value), + authentication_servers=authentication_servers, + selection_source=selection_source, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + authentication_servers: Sequence['outputs.DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServer'], + selection_source: 'outputs.DeploymentSpecificationRequestPoliciesDynamicAuthenticationSelectionSource', + opts: Optional[pulumi.ResourceOptions]=None): + _setter("authentication_servers", authentication_servers) + _setter("selection_source", selection_source) @property @pulumi.getter(name="authenticationServers") @@ -2590,8 +3022,19 @@ def __init__(__self__, *, :param 'DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailArgs' authentication_server_detail: (Updatable) Information on how to authenticate incoming requests. :param 'DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerKeyArgs' key: (Updatable) Information around the values for selector of an authentication/ routing branch. """ - pulumi.set(__self__, "authentication_server_detail", authentication_server_detail) - pulumi.set(__self__, "key", key) + DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServer._configure( + lambda key, value: pulumi.set(__self__, key, value), + authentication_server_detail=authentication_server_detail, + key=key, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + authentication_server_detail: 'outputs.DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetail', + key: 'outputs.DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerKey', + opts: Optional[pulumi.ResourceOptions]=None): + _setter("authentication_server_detail", authentication_server_detail) + _setter("key", key) @property @pulumi.getter(name="authenticationServerDetail") @@ -2686,35 +3129,72 @@ def __init__(__self__, *, :param 'DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicyArgs' validation_policy: (Updatable) Authentication Policies for the Token Authentication types. :param Sequence['DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailVerifyClaimArgs'] verify_claims: (Updatable) A list of claims which should be validated to consider the token valid. """ - pulumi.set(__self__, "type", type) + DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + audiences=audiences, + cache_keys=cache_keys, + function_id=function_id, + is_anonymous_access_allowed=is_anonymous_access_allowed, + issuers=issuers, + max_clock_skew_in_seconds=max_clock_skew_in_seconds, + parameters=parameters, + public_keys=public_keys, + token_auth_scheme=token_auth_scheme, + token_header=token_header, + token_query_param=token_query_param, + validation_failure_policy=validation_failure_policy, + validation_policy=validation_policy, + verify_claims=verify_claims, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + audiences: Optional[Sequence[str]] = None, + cache_keys: Optional[Sequence[str]] = None, + function_id: Optional[str] = None, + is_anonymous_access_allowed: Optional[bool] = None, + issuers: Optional[Sequence[str]] = None, + max_clock_skew_in_seconds: Optional[float] = None, + parameters: Optional[Mapping[str, Any]] = None, + public_keys: Optional['outputs.DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailPublicKeys'] = None, + token_auth_scheme: Optional[str] = None, + token_header: Optional[str] = None, + token_query_param: Optional[str] = None, + validation_failure_policy: Optional['outputs.DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicy'] = None, + validation_policy: Optional['outputs.DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicy'] = None, + verify_claims: Optional[Sequence['outputs.DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailVerifyClaim']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if audiences is not None: - pulumi.set(__self__, "audiences", audiences) + _setter("audiences", audiences) if cache_keys is not None: - pulumi.set(__self__, "cache_keys", cache_keys) + _setter("cache_keys", cache_keys) if function_id is not None: - pulumi.set(__self__, "function_id", function_id) + _setter("function_id", function_id) if is_anonymous_access_allowed is not None: - pulumi.set(__self__, "is_anonymous_access_allowed", is_anonymous_access_allowed) + _setter("is_anonymous_access_allowed", is_anonymous_access_allowed) if issuers is not None: - pulumi.set(__self__, "issuers", issuers) + _setter("issuers", issuers) if max_clock_skew_in_seconds is not None: - pulumi.set(__self__, "max_clock_skew_in_seconds", max_clock_skew_in_seconds) + _setter("max_clock_skew_in_seconds", max_clock_skew_in_seconds) if parameters is not None: - pulumi.set(__self__, "parameters", parameters) + _setter("parameters", parameters) if public_keys is not None: - pulumi.set(__self__, "public_keys", public_keys) + _setter("public_keys", public_keys) if token_auth_scheme is not None: - pulumi.set(__self__, "token_auth_scheme", token_auth_scheme) + _setter("token_auth_scheme", token_auth_scheme) if token_header is not None: - pulumi.set(__self__, "token_header", token_header) + _setter("token_header", token_header) if token_query_param is not None: - pulumi.set(__self__, "token_query_param", token_query_param) + _setter("token_query_param", token_query_param) if validation_failure_policy is not None: - pulumi.set(__self__, "validation_failure_policy", validation_failure_policy) + _setter("validation_failure_policy", validation_failure_policy) if validation_policy is not None: - pulumi.set(__self__, "validation_policy", validation_policy) + _setter("validation_policy", validation_policy) if verify_claims is not None: - pulumi.set(__self__, "verify_claims", verify_claims) + _setter("verify_claims", verify_claims) @property @pulumi.getter @@ -2879,15 +3359,32 @@ def __init__(__self__, *, :param int max_cache_duration_in_hours: (Updatable) The duration for which the introspect URL response should be cached before it is fetched again. :param str uri: (Updatable) The uri from which to retrieve the key. It must be accessible without authentication. """ - pulumi.set(__self__, "type", type) + DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailPublicKeys._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + is_ssl_verify_disabled=is_ssl_verify_disabled, + keys=keys, + max_cache_duration_in_hours=max_cache_duration_in_hours, + uri=uri, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + is_ssl_verify_disabled: Optional[bool] = None, + keys: Optional[Sequence['outputs.DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailPublicKeysKey']] = None, + max_cache_duration_in_hours: Optional[int] = None, + uri: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if is_ssl_verify_disabled is not None: - pulumi.set(__self__, "is_ssl_verify_disabled", is_ssl_verify_disabled) + _setter("is_ssl_verify_disabled", is_ssl_verify_disabled) if keys is not None: - pulumi.set(__self__, "keys", keys) + _setter("keys", keys) if max_cache_duration_in_hours is not None: - pulumi.set(__self__, "max_cache_duration_in_hours", max_cache_duration_in_hours) + _setter("max_cache_duration_in_hours", max_cache_duration_in_hours) if uri is not None: - pulumi.set(__self__, "uri", uri) + _setter("uri", uri) @property @pulumi.getter @@ -2974,23 +3471,48 @@ def __init__(__self__, *, :param str n: (Updatable) The base64 url encoded modulus of the RSA public key represented by this key. :param str use: (Updatable) The intended use of the public key. """ - pulumi.set(__self__, "format", format) + DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailPublicKeysKey._configure( + lambda key, value: pulumi.set(__self__, key, value), + format=format, + alg=alg, + e=e, + key=key, + key_ops=key_ops, + kid=kid, + kty=kty, + n=n, + use=use, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + format: str, + alg: Optional[str] = None, + e: Optional[str] = None, + key: Optional[str] = None, + key_ops: Optional[Sequence[str]] = None, + kid: Optional[str] = None, + kty: Optional[str] = None, + n: Optional[str] = None, + use: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("format", format) if alg is not None: - pulumi.set(__self__, "alg", alg) + _setter("alg", alg) if e is not None: - pulumi.set(__self__, "e", e) + _setter("e", e) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if key_ops is not None: - pulumi.set(__self__, "key_ops", key_ops) + _setter("key_ops", key_ops) if kid is not None: - pulumi.set(__self__, "kid", kid) + _setter("kid", kid) if kty is not None: - pulumi.set(__self__, "kty", kty) + _setter("kty", kty) if n is not None: - pulumi.set(__self__, "n", n) + _setter("n", n) if use is not None: - pulumi.set(__self__, "use", use) + _setter("use", use) @property @pulumi.getter @@ -3141,33 +3663,68 @@ def __init__(__self__, *, :param bool use_cookies_for_session: (Updatable) Defines whether or not to use cookies for session maintenance. :param bool use_pkce: (Updatable) Defines whether or not to support PKCE. """ - pulumi.set(__self__, "type", type) + DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicy._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + client_details=client_details, + fallback_redirect_path=fallback_redirect_path, + logout_path=logout_path, + max_expiry_duration_in_hours=max_expiry_duration_in_hours, + response_code=response_code, + response_header_transformations=response_header_transformations, + response_message=response_message, + response_type=response_type, + scopes=scopes, + source_uri_details=source_uri_details, + use_cookies_for_intermediate_steps=use_cookies_for_intermediate_steps, + use_cookies_for_session=use_cookies_for_session, + use_pkce=use_pkce, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + client_details: Optional['outputs.DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyClientDetails'] = None, + fallback_redirect_path: Optional[str] = None, + logout_path: Optional[str] = None, + max_expiry_duration_in_hours: Optional[int] = None, + response_code: Optional[str] = None, + response_header_transformations: Optional['outputs.DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformations'] = None, + response_message: Optional[str] = None, + response_type: Optional[str] = None, + scopes: Optional[Sequence[str]] = None, + source_uri_details: Optional['outputs.DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicySourceUriDetails'] = None, + use_cookies_for_intermediate_steps: Optional[bool] = None, + use_cookies_for_session: Optional[bool] = None, + use_pkce: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if client_details is not None: - pulumi.set(__self__, "client_details", client_details) + _setter("client_details", client_details) if fallback_redirect_path is not None: - pulumi.set(__self__, "fallback_redirect_path", fallback_redirect_path) + _setter("fallback_redirect_path", fallback_redirect_path) if logout_path is not None: - pulumi.set(__self__, "logout_path", logout_path) + _setter("logout_path", logout_path) if max_expiry_duration_in_hours is not None: - pulumi.set(__self__, "max_expiry_duration_in_hours", max_expiry_duration_in_hours) + _setter("max_expiry_duration_in_hours", max_expiry_duration_in_hours) if response_code is not None: - pulumi.set(__self__, "response_code", response_code) + _setter("response_code", response_code) if response_header_transformations is not None: - pulumi.set(__self__, "response_header_transformations", response_header_transformations) + _setter("response_header_transformations", response_header_transformations) if response_message is not None: - pulumi.set(__self__, "response_message", response_message) + _setter("response_message", response_message) if response_type is not None: - pulumi.set(__self__, "response_type", response_type) + _setter("response_type", response_type) if scopes is not None: - pulumi.set(__self__, "scopes", scopes) + _setter("scopes", scopes) if source_uri_details is not None: - pulumi.set(__self__, "source_uri_details", source_uri_details) + _setter("source_uri_details", source_uri_details) if use_cookies_for_intermediate_steps is not None: - pulumi.set(__self__, "use_cookies_for_intermediate_steps", use_cookies_for_intermediate_steps) + _setter("use_cookies_for_intermediate_steps", use_cookies_for_intermediate_steps) if use_cookies_for_session is not None: - pulumi.set(__self__, "use_cookies_for_session", use_cookies_for_session) + _setter("use_cookies_for_session", use_cookies_for_session) if use_pkce is not None: - pulumi.set(__self__, "use_pkce", use_pkce) + _setter("use_pkce", use_pkce) @property @pulumi.getter @@ -3324,13 +3881,28 @@ def __init__(__self__, *, :param str client_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Vault Service secret resource. :param str client_secret_version_number: (Updatable) The version number of the client secret to use. """ - pulumi.set(__self__, "type", type) + DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyClientDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + client_id=client_id, + client_secret_id=client_secret_id, + client_secret_version_number=client_secret_version_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + client_id: Optional[str] = None, + client_secret_id: Optional[str] = None, + client_secret_version_number: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if client_id is not None: - pulumi.set(__self__, "client_id", client_id) + _setter("client_id", client_id) if client_secret_id is not None: - pulumi.set(__self__, "client_secret_id", client_secret_id) + _setter("client_secret_id", client_secret_id) if client_secret_version_number is not None: - pulumi.set(__self__, "client_secret_version_number", client_secret_version_number) + _setter("client_secret_version_number", client_secret_version_number) @property @pulumi.getter @@ -3401,12 +3973,25 @@ def __init__(__self__, *, :param 'DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationsRenameHeadersArgs' rename_headers: (Updatable) Rename HTTP headers as they pass through the gateway. :param 'DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationsSetHeadersArgs' set_headers: (Updatable) Set HTTP headers as they pass through the gateway. """ + DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformations._configure( + lambda key, value: pulumi.set(__self__, key, value), + filter_headers=filter_headers, + rename_headers=rename_headers, + set_headers=set_headers, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + filter_headers: Optional['outputs.DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationsFilterHeaders'] = None, + rename_headers: Optional['outputs.DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationsRenameHeaders'] = None, + set_headers: Optional['outputs.DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationsSetHeaders'] = None, + opts: Optional[pulumi.ResourceOptions]=None): if filter_headers is not None: - pulumi.set(__self__, "filter_headers", filter_headers) + _setter("filter_headers", filter_headers) if rename_headers is not None: - pulumi.set(__self__, "rename_headers", rename_headers) + _setter("rename_headers", rename_headers) if set_headers is not None: - pulumi.set(__self__, "set_headers", set_headers) + _setter("set_headers", set_headers) @property @pulumi.getter(name="filterHeaders") @@ -3446,10 +4031,21 @@ def __init__(__self__, *, ** 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 """ + DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationsFilterHeaders._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Optional[Sequence['outputs.DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationsFilterHeadersItem']] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -3479,8 +4075,17 @@ def __init__(__self__, *, """ :param str name: (Updatable) The case-insensitive name of the header. This name must be unique across transformation policies. """ + DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationsFilterHeadersItem._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -3498,8 +4103,17 @@ def __init__(__self__, *, """ :param Sequence['DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationsRenameHeadersItemArgs'] items: (Updatable) The list of headers. """ + DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationsRenameHeaders._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Optional[Sequence['outputs.DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationsRenameHeadersItem']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) @property @pulumi.getter @@ -3536,10 +4150,21 @@ def __init__(__self__, *, :param str from_: (Updatable) The original case-insensitive name of the header. This name must be unique across transformation policies. :param str to: (Updatable) The new name of the header. This name must be unique across transformation policies. """ + DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationsRenameHeadersItem._configure( + lambda key, value: pulumi.set(__self__, key, value), + from_=from_, + to=to, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + from_: Optional[str] = None, + to: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if from_ is not None: - pulumi.set(__self__, "from_", from_) + _setter("from_", from_) if to is not None: - pulumi.set(__self__, "to", to) + _setter("to", to) @property @pulumi.getter(name="from") @@ -3565,8 +4190,17 @@ def __init__(__self__, *, """ :param Sequence['DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationsSetHeadersItemArgs'] items: (Updatable) The list of headers. """ + DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationsSetHeaders._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Optional[Sequence['outputs.DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationsSetHeadersItem']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) @property @pulumi.getter @@ -3605,12 +4239,25 @@ def __init__(__self__, *, :param str name: (Updatable) The case-insensitive name of the header. This name must be unique across transformation policies. :param Sequence[str] values: (Updatable) A list of new values. Each value can be a constant or may include one or more expressions enclosed within ${} delimiters. """ + DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationsSetHeadersItem._configure( + lambda key, value: pulumi.set(__self__, key, value), + if_exists=if_exists, + name=name, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + if_exists: Optional[str] = None, + name: Optional[str] = None, + values: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if if_exists is not None: - pulumi.set(__self__, "if_exists", if_exists) + _setter("if_exists", if_exists) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if values is not None: - pulumi.set(__self__, "values", values) + _setter("values", values) @property @pulumi.getter(name="ifExists") @@ -3650,9 +4297,20 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param str uri: (Updatable) The uri from which to retrieve the key. It must be accessible without authentication. """ - pulumi.set(__self__, "type", type) + DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicySourceUriDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + uri=uri, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + uri: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if uri is not None: - pulumi.set(__self__, "uri", uri) + _setter("uri", uri) @property @pulumi.getter @@ -3725,21 +4383,44 @@ def __init__(__self__, *, :param 'DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicySourceUriDetailsArgs' source_uri_details: (Updatable) Auth endpoint details. :param str uri: (Updatable) The uri from which to retrieve the key. It must be accessible without authentication. """ - pulumi.set(__self__, "type", type) + DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicy._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + additional_validation_policy=additional_validation_policy, + client_details=client_details, + is_ssl_verify_disabled=is_ssl_verify_disabled, + keys=keys, + max_cache_duration_in_hours=max_cache_duration_in_hours, + source_uri_details=source_uri_details, + uri=uri, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + additional_validation_policy: Optional['outputs.DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicyAdditionalValidationPolicy'] = None, + client_details: Optional['outputs.DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicyClientDetails'] = None, + is_ssl_verify_disabled: Optional[bool] = None, + keys: Optional[Sequence['outputs.DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicyKey']] = None, + max_cache_duration_in_hours: Optional[int] = None, + source_uri_details: Optional['outputs.DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicySourceUriDetails'] = None, + uri: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if additional_validation_policy is not None: - pulumi.set(__self__, "additional_validation_policy", additional_validation_policy) + _setter("additional_validation_policy", additional_validation_policy) if client_details is not None: - pulumi.set(__self__, "client_details", client_details) + _setter("client_details", client_details) if is_ssl_verify_disabled is not None: - pulumi.set(__self__, "is_ssl_verify_disabled", is_ssl_verify_disabled) + _setter("is_ssl_verify_disabled", is_ssl_verify_disabled) if keys is not None: - pulumi.set(__self__, "keys", keys) + _setter("keys", keys) if max_cache_duration_in_hours is not None: - pulumi.set(__self__, "max_cache_duration_in_hours", max_cache_duration_in_hours) + _setter("max_cache_duration_in_hours", max_cache_duration_in_hours) if source_uri_details is not None: - pulumi.set(__self__, "source_uri_details", source_uri_details) + _setter("source_uri_details", source_uri_details) if uri is not None: - pulumi.set(__self__, "uri", uri) + _setter("uri", uri) @property @pulumi.getter @@ -3838,12 +4519,25 @@ def __init__(__self__, *, :param Sequence[str] issuers: (Updatable) A list of parties that could have issued the token. :param Sequence['DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicyAdditionalValidationPolicyVerifyClaimArgs'] verify_claims: (Updatable) A list of claims which should be validated to consider the token valid. """ + DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicyAdditionalValidationPolicy._configure( + lambda key, value: pulumi.set(__self__, key, value), + audiences=audiences, + issuers=issuers, + verify_claims=verify_claims, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + audiences: Optional[Sequence[str]] = None, + issuers: Optional[Sequence[str]] = None, + verify_claims: Optional[Sequence['outputs.DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicyAdditionalValidationPolicyVerifyClaim']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if audiences is not None: - pulumi.set(__self__, "audiences", audiences) + _setter("audiences", audiences) if issuers is not None: - pulumi.set(__self__, "issuers", issuers) + _setter("issuers", issuers) if verify_claims is not None: - pulumi.set(__self__, "verify_claims", verify_claims) + _setter("verify_claims", verify_claims) @property @pulumi.getter @@ -3898,12 +4592,25 @@ def __init__(__self__, *, :param str key: (Updatable) Information around the values for selector of an authentication/ routing branch. :param Sequence[str] values: (Updatable) A list of new values. Each value can be a constant or may include one or more expressions enclosed within ${} delimiters. """ + DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicyAdditionalValidationPolicyVerifyClaim._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_required=is_required, + key=key, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_required: Optional[bool] = None, + key: Optional[str] = None, + values: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_required is not None: - pulumi.set(__self__, "is_required", is_required) + _setter("is_required", is_required) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if values is not None: - pulumi.set(__self__, "values", values) + _setter("values", values) @property @pulumi.getter(name="isRequired") @@ -3968,13 +4675,28 @@ def __init__(__self__, *, :param str client_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Vault Service secret resource. :param str client_secret_version_number: (Updatable) The version number of the client secret to use. """ - pulumi.set(__self__, "type", type) + DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicyClientDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + client_id=client_id, + client_secret_id=client_secret_id, + client_secret_version_number=client_secret_version_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + client_id: Optional[str] = None, + client_secret_id: Optional[str] = None, + client_secret_version_number: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if client_id is not None: - pulumi.set(__self__, "client_id", client_id) + _setter("client_id", client_id) if client_secret_id is not None: - pulumi.set(__self__, "client_secret_id", client_secret_id) + _setter("client_secret_id", client_secret_id) if client_secret_version_number is not None: - pulumi.set(__self__, "client_secret_version_number", client_secret_version_number) + _setter("client_secret_version_number", client_secret_version_number) @property @pulumi.getter @@ -4053,23 +4775,48 @@ def __init__(__self__, *, :param str n: (Updatable) The base64 url encoded modulus of the RSA public key represented by this key. :param str use: (Updatable) The intended use of the public key. """ - pulumi.set(__self__, "format", format) + DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicyKey._configure( + lambda key, value: pulumi.set(__self__, key, value), + format=format, + alg=alg, + e=e, + key=key, + key_ops=key_ops, + kid=kid, + kty=kty, + n=n, + use=use, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + format: str, + alg: Optional[str] = None, + e: Optional[str] = None, + key: Optional[str] = None, + key_ops: Optional[Sequence[str]] = None, + kid: Optional[str] = None, + kty: Optional[str] = None, + n: Optional[str] = None, + use: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("format", format) if alg is not None: - pulumi.set(__self__, "alg", alg) + _setter("alg", alg) if e is not None: - pulumi.set(__self__, "e", e) + _setter("e", e) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if key_ops is not None: - pulumi.set(__self__, "key_ops", key_ops) + _setter("key_ops", key_ops) if kid is not None: - pulumi.set(__self__, "kid", kid) + _setter("kid", kid) if kty is not None: - pulumi.set(__self__, "kty", kty) + _setter("kty", kty) if n is not None: - pulumi.set(__self__, "n", n) + _setter("n", n) if use is not None: - pulumi.set(__self__, "use", use) + _setter("use", use) @property @pulumi.getter @@ -4157,9 +4904,20 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param str uri: (Updatable) The uri from which to retrieve the key. It must be accessible without authentication. """ - pulumi.set(__self__, "type", type) + DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicySourceUriDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + uri=uri, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + uri: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if uri is not None: - pulumi.set(__self__, "uri", uri) + _setter("uri", uri) @property @pulumi.getter @@ -4210,12 +4968,25 @@ def __init__(__self__, *, :param str key: (Updatable) Information around the values for selector of an authentication/ routing branch. :param Sequence[str] values: (Updatable) A list of new values. Each value can be a constant or may include one or more expressions enclosed within ${} delimiters. """ + DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerAuthenticationServerDetailVerifyClaim._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_required=is_required, + key=key, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_required: Optional[bool] = None, + key: Optional[str] = None, + values: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_required is not None: - pulumi.set(__self__, "is_required", is_required) + _setter("is_required", is_required) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if values is not None: - pulumi.set(__self__, "values", values) + _setter("values", values) @property @pulumi.getter(name="isRequired") @@ -4278,15 +5049,32 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param Sequence[str] values: (Updatable) A list of new values. Each value can be a constant or may include one or more expressions enclosed within ${} delimiters. """ - pulumi.set(__self__, "name", name) + DeploymentSpecificationRequestPoliciesDynamicAuthenticationAuthenticationServerKey._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + expression=expression, + is_default=is_default, + type=type, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + expression: Optional[str] = None, + is_default: Optional[bool] = None, + type: Optional[str] = None, + values: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) if expression is not None: - pulumi.set(__self__, "expression", expression) + _setter("expression", expression) if is_default is not None: - pulumi.set(__self__, "is_default", is_default) + _setter("is_default", is_default) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if values is not None: - pulumi.set(__self__, "values", values) + _setter("values", values) @property @pulumi.getter @@ -4346,8 +5134,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "selector", selector) - pulumi.set(__self__, "type", type) + DeploymentSpecificationRequestPoliciesDynamicAuthenticationSelectionSource._configure( + lambda key, value: pulumi.set(__self__, key, value), + selector=selector, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + selector: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("selector", selector) + _setter("type", type) @property @pulumi.getter @@ -4398,10 +5197,21 @@ def __init__(__self__, *, :param Sequence[str] allowed_sans: (Updatable) Allowed list of CN or SAN which will be used for verification of certificate. :param bool is_verified_certificate_required: (Updatable) Determines whether to enable client verification when API Consumer makes connection to the gateway. """ + DeploymentSpecificationRequestPoliciesMutualTls._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_sans=allowed_sans, + is_verified_certificate_required=is_verified_certificate_required, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_sans: Optional[Sequence[str]] = None, + is_verified_certificate_required: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): if allowed_sans is not None: - pulumi.set(__self__, "allowed_sans", allowed_sans) + _setter("allowed_sans", allowed_sans) if is_verified_certificate_required is not None: - pulumi.set(__self__, "is_verified_certificate_required", is_verified_certificate_required) + _setter("is_verified_certificate_required", is_verified_certificate_required) @property @pulumi.getter(name="allowedSans") @@ -4448,8 +5258,19 @@ def __init__(__self__, *, :param int rate_in_requests_per_second: (Updatable) The maximum number of requests per second to allow. :param str rate_key: (Updatable) The key used to group requests together. """ - pulumi.set(__self__, "rate_in_requests_per_second", rate_in_requests_per_second) - pulumi.set(__self__, "rate_key", rate_key) + DeploymentSpecificationRequestPoliciesRateLimiting._configure( + lambda key, value: pulumi.set(__self__, key, value), + rate_in_requests_per_second=rate_in_requests_per_second, + rate_key=rate_key, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + rate_in_requests_per_second: int, + rate_key: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("rate_in_requests_per_second", rate_in_requests_per_second) + _setter("rate_key", rate_key) @property @pulumi.getter(name="rateInRequestsPerSecond") @@ -4496,7 +5317,16 @@ def __init__(__self__, *, * "request.auth[Token]" * "request.path[TOKEN]" """ - pulumi.set(__self__, "token_locations", token_locations) + DeploymentSpecificationRequestPoliciesUsagePlans._configure( + lambda key, value: pulumi.set(__self__, key, value), + token_locations=token_locations, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + token_locations: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("token_locations", token_locations) @property @pulumi.getter(name="tokenLocations") @@ -4549,16 +5379,35 @@ def __init__(__self__, *, :param 'DeploymentSpecificationRouteRequestPoliciesArgs' request_policies: (Updatable) Behavior applied to any requests received by the API on this route. :param 'DeploymentSpecificationRouteResponsePoliciesArgs' response_policies: (Updatable) Behavior applied to any responses sent by the API for requests on this route. """ - pulumi.set(__self__, "backend", backend) - pulumi.set(__self__, "path", path) + DeploymentSpecificationRoute._configure( + lambda key, value: pulumi.set(__self__, key, value), + backend=backend, + path=path, + logging_policies=logging_policies, + methods=methods, + request_policies=request_policies, + response_policies=response_policies, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backend: 'outputs.DeploymentSpecificationRouteBackend', + path: str, + logging_policies: Optional['outputs.DeploymentSpecificationRouteLoggingPolicies'] = None, + methods: Optional[Sequence[str]] = None, + request_policies: Optional['outputs.DeploymentSpecificationRouteRequestPolicies'] = None, + response_policies: Optional['outputs.DeploymentSpecificationRouteResponsePolicies'] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("backend", backend) + _setter("path", path) if logging_policies is not None: - pulumi.set(__self__, "logging_policies", logging_policies) + _setter("logging_policies", logging_policies) if methods is not None: - pulumi.set(__self__, "methods", methods) + _setter("methods", methods) if request_policies is not None: - pulumi.set(__self__, "request_policies", request_policies) + _setter("request_policies", request_policies) if response_policies is not None: - pulumi.set(__self__, "response_policies", response_policies) + _setter("response_policies", response_policies) @property @pulumi.getter @@ -4679,33 +5528,68 @@ def __init__(__self__, *, :param int status: (Updatable) The status code of the stock response from the mock backend. :param str url: (Updatable) """ - pulumi.set(__self__, "type", type) + DeploymentSpecificationRouteBackend._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + allowed_post_logout_uris=allowed_post_logout_uris, + body=body, + connect_timeout_in_seconds=connect_timeout_in_seconds, + function_id=function_id, + headers=headers, + is_ssl_verify_disabled=is_ssl_verify_disabled, + post_logout_state=post_logout_state, + read_timeout_in_seconds=read_timeout_in_seconds, + routing_backends=routing_backends, + selection_source=selection_source, + send_timeout_in_seconds=send_timeout_in_seconds, + status=status, + url=url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + allowed_post_logout_uris: Optional[Sequence[str]] = None, + body: Optional[str] = None, + connect_timeout_in_seconds: Optional[float] = None, + function_id: Optional[str] = None, + headers: Optional[Sequence['outputs.DeploymentSpecificationRouteBackendHeader']] = None, + is_ssl_verify_disabled: Optional[bool] = None, + post_logout_state: Optional[str] = None, + read_timeout_in_seconds: Optional[float] = None, + routing_backends: Optional[Sequence['outputs.DeploymentSpecificationRouteBackendRoutingBackend']] = None, + selection_source: Optional['outputs.DeploymentSpecificationRouteBackendSelectionSource'] = None, + send_timeout_in_seconds: Optional[float] = None, + status: Optional[int] = None, + url: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if allowed_post_logout_uris is not None: - pulumi.set(__self__, "allowed_post_logout_uris", allowed_post_logout_uris) + _setter("allowed_post_logout_uris", allowed_post_logout_uris) if body is not None: - pulumi.set(__self__, "body", body) + _setter("body", body) if connect_timeout_in_seconds is not None: - pulumi.set(__self__, "connect_timeout_in_seconds", connect_timeout_in_seconds) + _setter("connect_timeout_in_seconds", connect_timeout_in_seconds) if function_id is not None: - pulumi.set(__self__, "function_id", function_id) + _setter("function_id", function_id) if headers is not None: - pulumi.set(__self__, "headers", headers) + _setter("headers", headers) if is_ssl_verify_disabled is not None: - pulumi.set(__self__, "is_ssl_verify_disabled", is_ssl_verify_disabled) + _setter("is_ssl_verify_disabled", is_ssl_verify_disabled) if post_logout_state is not None: - pulumi.set(__self__, "post_logout_state", post_logout_state) + _setter("post_logout_state", post_logout_state) if read_timeout_in_seconds is not None: - pulumi.set(__self__, "read_timeout_in_seconds", read_timeout_in_seconds) + _setter("read_timeout_in_seconds", read_timeout_in_seconds) if routing_backends is not None: - pulumi.set(__self__, "routing_backends", routing_backends) + _setter("routing_backends", routing_backends) if selection_source is not None: - pulumi.set(__self__, "selection_source", selection_source) + _setter("selection_source", selection_source) if send_timeout_in_seconds is not None: - pulumi.set(__self__, "send_timeout_in_seconds", send_timeout_in_seconds) + _setter("send_timeout_in_seconds", send_timeout_in_seconds) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if url is not None: - pulumi.set(__self__, "url", url) + _setter("url", url) @property @pulumi.getter @@ -4833,10 +5717,21 @@ def __init__(__self__, *, :param str name: (Updatable) The case-insensitive name of the header. This name must be unique across transformation policies. :param str value: (Updatable) Value of the header. """ + DeploymentSpecificationRouteBackendHeader._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -4864,10 +5759,21 @@ def __init__(__self__, *, :param 'DeploymentSpecificationRouteBackendRoutingBackendBackendArgs' backend: (Updatable) The backend to forward requests to. :param 'DeploymentSpecificationRouteBackendRoutingBackendKeyArgs' key: (Updatable) Information around the values for selector of an authentication/ routing branch. """ + DeploymentSpecificationRouteBackendRoutingBackend._configure( + lambda key, value: pulumi.set(__self__, key, value), + backend=backend, + key=key, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backend: Optional['outputs.DeploymentSpecificationRouteBackendRoutingBackendBackend'] = None, + key: Optional['outputs.DeploymentSpecificationRouteBackendRoutingBackendKey'] = None, + opts: Optional[pulumi.ResourceOptions]=None): if backend is not None: - pulumi.set(__self__, "backend", backend) + _setter("backend", backend) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) @property @pulumi.getter @@ -4940,25 +5846,52 @@ def __init__(__self__, *, :param int status: (Updatable) The status code of the stock response from the mock backend. :param str url: (Updatable) """ - pulumi.set(__self__, "type", type) + DeploymentSpecificationRouteBackendRoutingBackendBackend._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + body=body, + connect_timeout_in_seconds=connect_timeout_in_seconds, + function_id=function_id, + headers=headers, + is_ssl_verify_disabled=is_ssl_verify_disabled, + read_timeout_in_seconds=read_timeout_in_seconds, + send_timeout_in_seconds=send_timeout_in_seconds, + status=status, + url=url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + body: Optional[str] = None, + connect_timeout_in_seconds: Optional[float] = None, + function_id: Optional[str] = None, + headers: Optional[Sequence['outputs.DeploymentSpecificationRouteBackendRoutingBackendBackendHeader']] = None, + is_ssl_verify_disabled: Optional[bool] = None, + read_timeout_in_seconds: Optional[float] = None, + send_timeout_in_seconds: Optional[float] = None, + status: Optional[int] = None, + url: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if body is not None: - pulumi.set(__self__, "body", body) + _setter("body", body) if connect_timeout_in_seconds is not None: - pulumi.set(__self__, "connect_timeout_in_seconds", connect_timeout_in_seconds) + _setter("connect_timeout_in_seconds", connect_timeout_in_seconds) if function_id is not None: - pulumi.set(__self__, "function_id", function_id) + _setter("function_id", function_id) if headers is not None: - pulumi.set(__self__, "headers", headers) + _setter("headers", headers) if is_ssl_verify_disabled is not None: - pulumi.set(__self__, "is_ssl_verify_disabled", is_ssl_verify_disabled) + _setter("is_ssl_verify_disabled", is_ssl_verify_disabled) if read_timeout_in_seconds is not None: - pulumi.set(__self__, "read_timeout_in_seconds", read_timeout_in_seconds) + _setter("read_timeout_in_seconds", read_timeout_in_seconds) if send_timeout_in_seconds is not None: - pulumi.set(__self__, "send_timeout_in_seconds", send_timeout_in_seconds) + _setter("send_timeout_in_seconds", send_timeout_in_seconds) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if url is not None: - pulumi.set(__self__, "url", url) + _setter("url", url) @property @pulumi.getter @@ -5054,10 +5987,21 @@ def __init__(__self__, *, :param str name: (Updatable) The case-insensitive name of the header. This name must be unique across transformation policies. :param str value: (Updatable) Value of the header. """ + DeploymentSpecificationRouteBackendRoutingBackendBackendHeader._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -5112,14 +6056,31 @@ def __init__(__self__, *, :param bool is_default: (Updatable) Information regarding whether this is the default branch. :param Sequence[str] values: (Updatable) A list of new values. Each value can be a constant or may include one or more expressions enclosed within ${} delimiters. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "type", type) + DeploymentSpecificationRouteBackendRoutingBackendKey._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + type=type, + expression=expression, + is_default=is_default, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + type: str, + expression: Optional[str] = None, + is_default: Optional[bool] = None, + values: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("type", type) if expression is not None: - pulumi.set(__self__, "expression", expression) + _setter("expression", expression) if is_default is not None: - pulumi.set(__self__, "is_default", is_default) + _setter("is_default", is_default) if values is not None: - pulumi.set(__self__, "values", values) + _setter("values", values) @property @pulumi.getter @@ -5179,8 +6140,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "selector", selector) - pulumi.set(__self__, "type", type) + DeploymentSpecificationRouteBackendSelectionSource._configure( + lambda key, value: pulumi.set(__self__, key, value), + selector=selector, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + selector: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("selector", selector) + _setter("type", type) @property @pulumi.getter @@ -5231,10 +6203,21 @@ def __init__(__self__, *, :param 'DeploymentSpecificationRouteLoggingPoliciesAccessLogArgs' access_log: (Updatable) Configures the logging policies for the access logs of an API Deployment. :param 'DeploymentSpecificationRouteLoggingPoliciesExecutionLogArgs' execution_log: (Updatable) Configures the logging policies for the execution logs of an API Deployment. """ + DeploymentSpecificationRouteLoggingPolicies._configure( + lambda key, value: pulumi.set(__self__, key, value), + access_log=access_log, + execution_log=execution_log, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access_log: Optional['outputs.DeploymentSpecificationRouteLoggingPoliciesAccessLog'] = None, + execution_log: Optional['outputs.DeploymentSpecificationRouteLoggingPoliciesExecutionLog'] = None, + opts: Optional[pulumi.ResourceOptions]=None): if access_log is not None: - pulumi.set(__self__, "access_log", access_log) + _setter("access_log", access_log) if execution_log is not None: - pulumi.set(__self__, "execution_log", execution_log) + _setter("execution_log", execution_log) @property @pulumi.getter(name="accessLog") @@ -5277,8 +6260,17 @@ def __init__(__self__, *, """ :param bool is_enabled: (Updatable) Whether this policy is currently enabled. """ + DeploymentSpecificationRouteLoggingPoliciesAccessLog._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) @property @pulumi.getter(name="isEnabled") @@ -5317,10 +6309,21 @@ def __init__(__self__, *, :param bool is_enabled: (Updatable) Whether this policy is currently enabled. :param str log_level: (Updatable) Specifies the log level used to control logging output of execution logs. Enabling logging at a given level also enables logging at all higher levels. """ + DeploymentSpecificationRouteLoggingPoliciesExecutionLog._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + log_level=log_level, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: Optional[bool] = None, + log_level: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) if log_level is not None: - pulumi.set(__self__, "log_level", log_level) + _setter("log_level", log_level) @property @pulumi.getter(name="isEnabled") @@ -5387,22 +6390,45 @@ def __init__(__self__, *, :param 'DeploymentSpecificationRouteRequestPoliciesQueryParameterValidationsArgs' query_parameter_validations: (Updatable) Validate the URL query parameters on the incoming API requests on a specific route. :param 'DeploymentSpecificationRouteRequestPoliciesResponseCacheLookupArgs' response_cache_lookup: (Updatable) Base policy for Response Cache lookup. """ + DeploymentSpecificationRouteRequestPolicies._configure( + lambda key, value: pulumi.set(__self__, key, value), + authorization=authorization, + body_validation=body_validation, + cors=cors, + header_transformations=header_transformations, + header_validations=header_validations, + query_parameter_transformations=query_parameter_transformations, + query_parameter_validations=query_parameter_validations, + response_cache_lookup=response_cache_lookup, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + authorization: Optional['outputs.DeploymentSpecificationRouteRequestPoliciesAuthorization'] = None, + body_validation: Optional['outputs.DeploymentSpecificationRouteRequestPoliciesBodyValidation'] = None, + cors: Optional['outputs.DeploymentSpecificationRouteRequestPoliciesCors'] = None, + header_transformations: Optional['outputs.DeploymentSpecificationRouteRequestPoliciesHeaderTransformations'] = None, + header_validations: Optional['outputs.DeploymentSpecificationRouteRequestPoliciesHeaderValidations'] = None, + query_parameter_transformations: Optional['outputs.DeploymentSpecificationRouteRequestPoliciesQueryParameterTransformations'] = None, + query_parameter_validations: Optional['outputs.DeploymentSpecificationRouteRequestPoliciesQueryParameterValidations'] = None, + response_cache_lookup: Optional['outputs.DeploymentSpecificationRouteRequestPoliciesResponseCacheLookup'] = None, + opts: Optional[pulumi.ResourceOptions]=None): if authorization is not None: - pulumi.set(__self__, "authorization", authorization) + _setter("authorization", authorization) if body_validation is not None: - pulumi.set(__self__, "body_validation", body_validation) + _setter("body_validation", body_validation) if cors is not None: - pulumi.set(__self__, "cors", cors) + _setter("cors", cors) if header_transformations is not None: - pulumi.set(__self__, "header_transformations", header_transformations) + _setter("header_transformations", header_transformations) if header_validations is not None: - pulumi.set(__self__, "header_validations", header_validations) + _setter("header_validations", header_validations) if query_parameter_transformations is not None: - pulumi.set(__self__, "query_parameter_transformations", query_parameter_transformations) + _setter("query_parameter_transformations", query_parameter_transformations) if query_parameter_validations is not None: - pulumi.set(__self__, "query_parameter_validations", query_parameter_validations) + _setter("query_parameter_validations", query_parameter_validations) if response_cache_lookup is not None: - pulumi.set(__self__, "response_cache_lookup", response_cache_lookup) + _setter("response_cache_lookup", response_cache_lookup) @property @pulumi.getter @@ -5499,10 +6525,21 @@ def __init__(__self__, *, ** 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 """ + DeploymentSpecificationRouteRequestPoliciesAuthorization._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_scopes=allowed_scopes, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_scopes: Optional[Sequence[str]] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if allowed_scopes is not None: - pulumi.set(__self__, "allowed_scopes", allowed_scopes) + _setter("allowed_scopes", allowed_scopes) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter(name="allowedScopes") @@ -5559,12 +6596,25 @@ def __init__(__self__, *, `DISABLED` type turns the validation off. """ + DeploymentSpecificationRouteRequestPoliciesBodyValidation._configure( + lambda key, value: pulumi.set(__self__, key, value), + contents=contents, + required=required, + validation_mode=validation_mode, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + contents: Optional[Sequence['outputs.DeploymentSpecificationRouteRequestPoliciesBodyValidationContent']] = None, + required: Optional[bool] = None, + validation_mode: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if contents is not None: - pulumi.set(__self__, "contents", contents) + _setter("contents", contents) if required is not None: - pulumi.set(__self__, "required", required) + _setter("required", required) if validation_mode is not None: - pulumi.set(__self__, "validation_mode", validation_mode) + _setter("validation_mode", validation_mode) @property @pulumi.getter @@ -5631,8 +6681,19 @@ def __init__(__self__, *, Make the validation to first parse the body as the respective format. """ - pulumi.set(__self__, "media_type", media_type) - pulumi.set(__self__, "validation_type", validation_type) + DeploymentSpecificationRouteRequestPoliciesBodyValidationContent._configure( + lambda key, value: pulumi.set(__self__, key, value), + media_type=media_type, + validation_type=validation_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + media_type: str, + validation_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("media_type", media_type) + _setter("validation_type", validation_type) @property @pulumi.getter(name="mediaType") @@ -5701,17 +6762,36 @@ def __init__(__self__, *, :param bool is_allow_credentials_enabled: (Updatable) Whether to send the Access-Control-Allow-Credentials header to allow CORS requests with cookies. :param int max_age_in_seconds: (Updatable) The time in seconds for the client to cache preflight responses. This is sent as the Access-Control-Max-Age if greater than 0. """ - pulumi.set(__self__, "allowed_origins", allowed_origins) + DeploymentSpecificationRouteRequestPoliciesCors._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_origins=allowed_origins, + allowed_headers=allowed_headers, + allowed_methods=allowed_methods, + exposed_headers=exposed_headers, + is_allow_credentials_enabled=is_allow_credentials_enabled, + max_age_in_seconds=max_age_in_seconds, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_origins: Sequence[str], + allowed_headers: Optional[Sequence[str]] = None, + allowed_methods: Optional[Sequence[str]] = None, + exposed_headers: Optional[Sequence[str]] = None, + is_allow_credentials_enabled: Optional[bool] = None, + max_age_in_seconds: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allowed_origins", allowed_origins) if allowed_headers is not None: - pulumi.set(__self__, "allowed_headers", allowed_headers) + _setter("allowed_headers", allowed_headers) if allowed_methods is not None: - pulumi.set(__self__, "allowed_methods", allowed_methods) + _setter("allowed_methods", allowed_methods) if exposed_headers is not None: - pulumi.set(__self__, "exposed_headers", exposed_headers) + _setter("exposed_headers", exposed_headers) if is_allow_credentials_enabled is not None: - pulumi.set(__self__, "is_allow_credentials_enabled", is_allow_credentials_enabled) + _setter("is_allow_credentials_enabled", is_allow_credentials_enabled) if max_age_in_seconds is not None: - pulumi.set(__self__, "max_age_in_seconds", max_age_in_seconds) + _setter("max_age_in_seconds", max_age_in_seconds) @property @pulumi.getter(name="allowedOrigins") @@ -5794,12 +6874,25 @@ def __init__(__self__, *, :param 'DeploymentSpecificationRouteRequestPoliciesHeaderTransformationsRenameHeadersArgs' rename_headers: (Updatable) Rename HTTP headers as they pass through the gateway. :param 'DeploymentSpecificationRouteRequestPoliciesHeaderTransformationsSetHeadersArgs' set_headers: (Updatable) Set HTTP headers as they pass through the gateway. """ + DeploymentSpecificationRouteRequestPoliciesHeaderTransformations._configure( + lambda key, value: pulumi.set(__self__, key, value), + filter_headers=filter_headers, + rename_headers=rename_headers, + set_headers=set_headers, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + filter_headers: Optional['outputs.DeploymentSpecificationRouteRequestPoliciesHeaderTransformationsFilterHeaders'] = None, + rename_headers: Optional['outputs.DeploymentSpecificationRouteRequestPoliciesHeaderTransformationsRenameHeaders'] = None, + set_headers: Optional['outputs.DeploymentSpecificationRouteRequestPoliciesHeaderTransformationsSetHeaders'] = None, + opts: Optional[pulumi.ResourceOptions]=None): if filter_headers is not None: - pulumi.set(__self__, "filter_headers", filter_headers) + _setter("filter_headers", filter_headers) if rename_headers is not None: - pulumi.set(__self__, "rename_headers", rename_headers) + _setter("rename_headers", rename_headers) if set_headers is not None: - pulumi.set(__self__, "set_headers", set_headers) + _setter("set_headers", set_headers) @property @pulumi.getter(name="filterHeaders") @@ -5839,8 +6932,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "items", items) - pulumi.set(__self__, "type", type) + DeploymentSpecificationRouteRequestPoliciesHeaderTransformationsFilterHeaders._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.DeploymentSpecificationRouteRequestPoliciesHeaderTransformationsFilterHeadersItem'], + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) + _setter("type", type) @property @pulumi.getter @@ -5870,7 +6974,16 @@ def __init__(__self__, *, """ :param str name: (Updatable) The case-insensitive name of the header. This name must be unique across transformation policies. """ - pulumi.set(__self__, "name", name) + DeploymentSpecificationRouteRequestPoliciesHeaderTransformationsFilterHeadersItem._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -5888,7 +7001,16 @@ def __init__(__self__, *, """ :param Sequence['DeploymentSpecificationRouteRequestPoliciesHeaderTransformationsRenameHeadersItemArgs'] items: (Updatable) The list of headers. """ - pulumi.set(__self__, "items", items) + DeploymentSpecificationRouteRequestPoliciesHeaderTransformationsRenameHeaders._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.DeploymentSpecificationRouteRequestPoliciesHeaderTransformationsRenameHeadersItem'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -5925,8 +7047,19 @@ def __init__(__self__, *, :param str from_: (Updatable) The original case-insensitive name of the header. This name must be unique across transformation policies. :param str to: (Updatable) The new name of the header. This name must be unique across transformation policies. """ - pulumi.set(__self__, "from_", from_) - pulumi.set(__self__, "to", to) + DeploymentSpecificationRouteRequestPoliciesHeaderTransformationsRenameHeadersItem._configure( + lambda key, value: pulumi.set(__self__, key, value), + from_=from_, + to=to, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + from_: str, + to: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("from_", from_) + _setter("to", to) @property @pulumi.getter(name="from") @@ -5952,7 +7085,16 @@ def __init__(__self__, *, """ :param Sequence['DeploymentSpecificationRouteRequestPoliciesHeaderTransformationsSetHeadersItemArgs'] items: (Updatable) The list of headers. """ - pulumi.set(__self__, "items", items) + DeploymentSpecificationRouteRequestPoliciesHeaderTransformationsSetHeaders._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.DeploymentSpecificationRouteRequestPoliciesHeaderTransformationsSetHeadersItem'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -5991,10 +7133,23 @@ def __init__(__self__, *, :param Sequence[str] values: (Updatable) A list of new values. Each value can be a constant or may include one or more expressions enclosed within ${} delimiters. :param str if_exists: (Updatable) If a header with the same name already exists in the request, OVERWRITE will overwrite the value, APPEND will append to the existing value, or SKIP will keep the existing value. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + DeploymentSpecificationRouteRequestPoliciesHeaderTransformationsSetHeadersItem._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + if_exists=if_exists, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + if_exists: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if if_exists is not None: - pulumi.set(__self__, "if_exists", if_exists) + _setter("if_exists", if_exists) @property @pulumi.getter @@ -6053,10 +7208,21 @@ def __init__(__self__, *, `DISABLED` type turns the validation off. """ + DeploymentSpecificationRouteRequestPoliciesHeaderValidations._configure( + lambda key, value: pulumi.set(__self__, key, value), + headers=headers, + validation_mode=validation_mode, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + headers: Optional[Sequence['outputs.DeploymentSpecificationRouteRequestPoliciesHeaderValidationsHeader']] = None, + validation_mode: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if headers is not None: - pulumi.set(__self__, "headers", headers) + _setter("headers", headers) if validation_mode is not None: - pulumi.set(__self__, "validation_mode", validation_mode) + _setter("validation_mode", validation_mode) @property @pulumi.getter @@ -6090,9 +7256,20 @@ def __init__(__self__, *, :param str name: (Updatable) The case-insensitive name of the header. This name must be unique across transformation policies. :param bool required: (Updatable) Determines if the parameter is required in the request. """ - pulumi.set(__self__, "name", name) + DeploymentSpecificationRouteRequestPoliciesHeaderValidationsHeader._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + required=required, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + required: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) if required is not None: - pulumi.set(__self__, "required", required) + _setter("required", required) @property @pulumi.getter @@ -6143,12 +7320,25 @@ def __init__(__self__, *, :param 'DeploymentSpecificationRouteRequestPoliciesQueryParameterTransformationsRenameQueryParametersArgs' rename_query_parameters: (Updatable) Rename parameters on the query string as they pass through the gateway. :param 'DeploymentSpecificationRouteRequestPoliciesQueryParameterTransformationsSetQueryParametersArgs' set_query_parameters: (Updatable) Set parameters on the query string as they pass through the gateway. """ + DeploymentSpecificationRouteRequestPoliciesQueryParameterTransformations._configure( + lambda key, value: pulumi.set(__self__, key, value), + filter_query_parameters=filter_query_parameters, + rename_query_parameters=rename_query_parameters, + set_query_parameters=set_query_parameters, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + filter_query_parameters: Optional['outputs.DeploymentSpecificationRouteRequestPoliciesQueryParameterTransformationsFilterQueryParameters'] = None, + rename_query_parameters: Optional['outputs.DeploymentSpecificationRouteRequestPoliciesQueryParameterTransformationsRenameQueryParameters'] = None, + set_query_parameters: Optional['outputs.DeploymentSpecificationRouteRequestPoliciesQueryParameterTransformationsSetQueryParameters'] = None, + opts: Optional[pulumi.ResourceOptions]=None): if filter_query_parameters is not None: - pulumi.set(__self__, "filter_query_parameters", filter_query_parameters) + _setter("filter_query_parameters", filter_query_parameters) if rename_query_parameters is not None: - pulumi.set(__self__, "rename_query_parameters", rename_query_parameters) + _setter("rename_query_parameters", rename_query_parameters) if set_query_parameters is not None: - pulumi.set(__self__, "set_query_parameters", set_query_parameters) + _setter("set_query_parameters", set_query_parameters) @property @pulumi.getter(name="filterQueryParameters") @@ -6188,8 +7378,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "items", items) - pulumi.set(__self__, "type", type) + DeploymentSpecificationRouteRequestPoliciesQueryParameterTransformationsFilterQueryParameters._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.DeploymentSpecificationRouteRequestPoliciesQueryParameterTransformationsFilterQueryParametersItem'], + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) + _setter("type", type) @property @pulumi.getter @@ -6219,7 +7420,16 @@ def __init__(__self__, *, """ :param str name: (Updatable) The case-insensitive name of the header. This name must be unique across transformation policies. """ - pulumi.set(__self__, "name", name) + DeploymentSpecificationRouteRequestPoliciesQueryParameterTransformationsFilterQueryParametersItem._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -6237,7 +7447,16 @@ def __init__(__self__, *, """ :param Sequence['DeploymentSpecificationRouteRequestPoliciesQueryParameterTransformationsRenameQueryParametersItemArgs'] items: (Updatable) The list of headers. """ - pulumi.set(__self__, "items", items) + DeploymentSpecificationRouteRequestPoliciesQueryParameterTransformationsRenameQueryParameters._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.DeploymentSpecificationRouteRequestPoliciesQueryParameterTransformationsRenameQueryParametersItem'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -6274,8 +7493,19 @@ def __init__(__self__, *, :param str from_: (Updatable) The original case-insensitive name of the header. This name must be unique across transformation policies. :param str to: (Updatable) The new name of the header. This name must be unique across transformation policies. """ - pulumi.set(__self__, "from_", from_) - pulumi.set(__self__, "to", to) + DeploymentSpecificationRouteRequestPoliciesQueryParameterTransformationsRenameQueryParametersItem._configure( + lambda key, value: pulumi.set(__self__, key, value), + from_=from_, + to=to, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + from_: str, + to: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("from_", from_) + _setter("to", to) @property @pulumi.getter(name="from") @@ -6301,7 +7531,16 @@ def __init__(__self__, *, """ :param Sequence['DeploymentSpecificationRouteRequestPoliciesQueryParameterTransformationsSetQueryParametersItemArgs'] items: (Updatable) The list of headers. """ - pulumi.set(__self__, "items", items) + DeploymentSpecificationRouteRequestPoliciesQueryParameterTransformationsSetQueryParameters._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.DeploymentSpecificationRouteRequestPoliciesQueryParameterTransformationsSetQueryParametersItem'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -6340,10 +7579,23 @@ def __init__(__self__, *, :param Sequence[str] values: (Updatable) A list of new values. Each value can be a constant or may include one or more expressions enclosed within ${} delimiters. :param str if_exists: (Updatable) If a header with the same name already exists in the request, OVERWRITE will overwrite the value, APPEND will append to the existing value, or SKIP will keep the existing value. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + DeploymentSpecificationRouteRequestPoliciesQueryParameterTransformationsSetQueryParametersItem._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + if_exists=if_exists, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + if_exists: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if if_exists is not None: - pulumi.set(__self__, "if_exists", if_exists) + _setter("if_exists", if_exists) @property @pulumi.getter @@ -6402,10 +7654,21 @@ def __init__(__self__, *, `DISABLED` type turns the validation off. """ + DeploymentSpecificationRouteRequestPoliciesQueryParameterValidations._configure( + lambda key, value: pulumi.set(__self__, key, value), + parameters=parameters, + validation_mode=validation_mode, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + parameters: Optional[Sequence['outputs.DeploymentSpecificationRouteRequestPoliciesQueryParameterValidationsParameter']] = None, + validation_mode: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if parameters is not None: - pulumi.set(__self__, "parameters", parameters) + _setter("parameters", parameters) if validation_mode is not None: - pulumi.set(__self__, "validation_mode", validation_mode) + _setter("validation_mode", validation_mode) @property @pulumi.getter @@ -6439,9 +7702,20 @@ def __init__(__self__, *, :param str name: (Updatable) The case-insensitive name of the header. This name must be unique across transformation policies. :param bool required: (Updatable) Determines if the parameter is required in the request. """ - pulumi.set(__self__, "name", name) + DeploymentSpecificationRouteRequestPoliciesQueryParameterValidationsParameter._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + required=required, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + required: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) if required is not None: - pulumi.set(__self__, "required", required) + _setter("required", required) @property @pulumi.getter @@ -6502,13 +7776,28 @@ def __init__(__self__, *, If using the CustomAuthenticationPolicy then the tokenHeader/tokenQueryParam are also subject to this check. """ - pulumi.set(__self__, "type", type) + DeploymentSpecificationRouteRequestPoliciesResponseCacheLookup._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + cache_key_additions=cache_key_additions, + is_enabled=is_enabled, + is_private_caching_enabled=is_private_caching_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + cache_key_additions: Optional[Sequence[str]] = None, + is_enabled: Optional[bool] = None, + is_private_caching_enabled: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if cache_key_additions is not None: - pulumi.set(__self__, "cache_key_additions", cache_key_additions) + _setter("cache_key_additions", cache_key_additions) if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) if is_private_caching_enabled is not None: - pulumi.set(__self__, "is_private_caching_enabled", is_private_caching_enabled) + _setter("is_private_caching_enabled", is_private_caching_enabled) @property @pulumi.getter @@ -6579,10 +7868,21 @@ def __init__(__self__, *, :param 'DeploymentSpecificationRouteResponsePoliciesHeaderTransformationsArgs' header_transformations: (Updatable) A set of transformations to apply to HTTP headers that pass through the gateway. :param 'DeploymentSpecificationRouteResponsePoliciesResponseCacheStoreArgs' response_cache_store: (Updatable) Base policy for how a response from a backend is cached in the Response Cache. """ + DeploymentSpecificationRouteResponsePolicies._configure( + lambda key, value: pulumi.set(__self__, key, value), + header_transformations=header_transformations, + response_cache_store=response_cache_store, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + header_transformations: Optional['outputs.DeploymentSpecificationRouteResponsePoliciesHeaderTransformations'] = None, + response_cache_store: Optional['outputs.DeploymentSpecificationRouteResponsePoliciesResponseCacheStore'] = None, + opts: Optional[pulumi.ResourceOptions]=None): if header_transformations is not None: - pulumi.set(__self__, "header_transformations", header_transformations) + _setter("header_transformations", header_transformations) if response_cache_store is not None: - pulumi.set(__self__, "response_cache_store", response_cache_store) + _setter("response_cache_store", response_cache_store) @property @pulumi.getter(name="headerTransformations") @@ -6633,12 +7933,25 @@ def __init__(__self__, *, :param 'DeploymentSpecificationRouteResponsePoliciesHeaderTransformationsRenameHeadersArgs' rename_headers: (Updatable) Rename HTTP headers as they pass through the gateway. :param 'DeploymentSpecificationRouteResponsePoliciesHeaderTransformationsSetHeadersArgs' set_headers: (Updatable) Set HTTP headers as they pass through the gateway. """ + DeploymentSpecificationRouteResponsePoliciesHeaderTransformations._configure( + lambda key, value: pulumi.set(__self__, key, value), + filter_headers=filter_headers, + rename_headers=rename_headers, + set_headers=set_headers, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + filter_headers: Optional['outputs.DeploymentSpecificationRouteResponsePoliciesHeaderTransformationsFilterHeaders'] = None, + rename_headers: Optional['outputs.DeploymentSpecificationRouteResponsePoliciesHeaderTransformationsRenameHeaders'] = None, + set_headers: Optional['outputs.DeploymentSpecificationRouteResponsePoliciesHeaderTransformationsSetHeaders'] = None, + opts: Optional[pulumi.ResourceOptions]=None): if filter_headers is not None: - pulumi.set(__self__, "filter_headers", filter_headers) + _setter("filter_headers", filter_headers) if rename_headers is not None: - pulumi.set(__self__, "rename_headers", rename_headers) + _setter("rename_headers", rename_headers) if set_headers is not None: - pulumi.set(__self__, "set_headers", set_headers) + _setter("set_headers", set_headers) @property @pulumi.getter(name="filterHeaders") @@ -6678,8 +7991,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "items", items) - pulumi.set(__self__, "type", type) + DeploymentSpecificationRouteResponsePoliciesHeaderTransformationsFilterHeaders._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.DeploymentSpecificationRouteResponsePoliciesHeaderTransformationsFilterHeadersItem'], + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) + _setter("type", type) @property @pulumi.getter @@ -6709,7 +8033,16 @@ def __init__(__self__, *, """ :param str name: (Updatable) The case-insensitive name of the header. This name must be unique across transformation policies. """ - pulumi.set(__self__, "name", name) + DeploymentSpecificationRouteResponsePoliciesHeaderTransformationsFilterHeadersItem._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -6727,7 +8060,16 @@ def __init__(__self__, *, """ :param Sequence['DeploymentSpecificationRouteResponsePoliciesHeaderTransformationsRenameHeadersItemArgs'] items: (Updatable) The list of headers. """ - pulumi.set(__self__, "items", items) + DeploymentSpecificationRouteResponsePoliciesHeaderTransformationsRenameHeaders._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.DeploymentSpecificationRouteResponsePoliciesHeaderTransformationsRenameHeadersItem'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -6764,8 +8106,19 @@ def __init__(__self__, *, :param str from_: (Updatable) The original case-insensitive name of the header. This name must be unique across transformation policies. :param str to: (Updatable) The new name of the header. This name must be unique across transformation policies. """ - pulumi.set(__self__, "from_", from_) - pulumi.set(__self__, "to", to) + DeploymentSpecificationRouteResponsePoliciesHeaderTransformationsRenameHeadersItem._configure( + lambda key, value: pulumi.set(__self__, key, value), + from_=from_, + to=to, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + from_: str, + to: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("from_", from_) + _setter("to", to) @property @pulumi.getter(name="from") @@ -6791,7 +8144,16 @@ def __init__(__self__, *, """ :param Sequence['DeploymentSpecificationRouteResponsePoliciesHeaderTransformationsSetHeadersItemArgs'] items: (Updatable) The list of headers. """ - pulumi.set(__self__, "items", items) + DeploymentSpecificationRouteResponsePoliciesHeaderTransformationsSetHeaders._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.DeploymentSpecificationRouteResponsePoliciesHeaderTransformationsSetHeadersItem'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -6830,10 +8192,23 @@ def __init__(__self__, *, :param Sequence[str] values: (Updatable) A list of new values. Each value can be a constant or may include one or more expressions enclosed within ${} delimiters. :param str if_exists: (Updatable) If a header with the same name already exists in the request, OVERWRITE will overwrite the value, APPEND will append to the existing value, or SKIP will keep the existing value. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + DeploymentSpecificationRouteResponsePoliciesHeaderTransformationsSetHeadersItem._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + if_exists=if_exists, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + if_exists: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if if_exists is not None: - pulumi.set(__self__, "if_exists", if_exists) + _setter("if_exists", if_exists) @property @pulumi.getter @@ -6890,8 +8265,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "time_to_live_in_seconds", time_to_live_in_seconds) - pulumi.set(__self__, "type", type) + DeploymentSpecificationRouteResponsePoliciesResponseCacheStore._configure( + lambda key, value: pulumi.set(__self__, key, value), + time_to_live_in_seconds=time_to_live_in_seconds, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + time_to_live_in_seconds: int, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("time_to_live_in_seconds", time_to_live_in_seconds) + _setter("type", type) @property @pulumi.getter(name="timeToLiveInSeconds") @@ -6944,11 +8330,24 @@ def __init__(__self__, *, :param str ca_bundle_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource. :param str certificate_authority_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource. """ - pulumi.set(__self__, "type", type) + GatewayCaBundle._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + ca_bundle_id=ca_bundle_id, + certificate_authority_id=certificate_authority_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + ca_bundle_id: Optional[str] = None, + certificate_authority_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if ca_bundle_id is not None: - pulumi.set(__self__, "ca_bundle_id", ca_bundle_id) + _setter("ca_bundle_id", ca_bundle_id) if certificate_authority_id is not None: - pulumi.set(__self__, "certificate_authority_id", certificate_authority_id) + _setter("certificate_authority_id", certificate_authority_id) @property @pulumi.getter @@ -6999,8 +8398,17 @@ def __init__(__self__, *, """ :param str ip_address: An IP address. """ + GatewayIpAddress._configure( + lambda key, value: pulumi.set(__self__, key, value), + ip_address=ip_address, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ip_address: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ip_address is not None: - pulumi.set(__self__, "ip_address", ip_address) + _setter("ip_address", ip_address) @property @pulumi.getter(name="ipAddress") @@ -7063,23 +8471,48 @@ def __init__(__self__, *, :param int send_timeout_in_ms: (Updatable) Defines the timeout for transmitting data to the Response Cache. :param Sequence['GatewayResponseCacheDetailsServerArgs'] servers: (Updatable) The set of cache store members to connect to. At present only a single server is supported. """ - pulumi.set(__self__, "type", type) + GatewayResponseCacheDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + authentication_secret_id=authentication_secret_id, + authentication_secret_version_number=authentication_secret_version_number, + connect_timeout_in_ms=connect_timeout_in_ms, + is_ssl_enabled=is_ssl_enabled, + is_ssl_verify_disabled=is_ssl_verify_disabled, + read_timeout_in_ms=read_timeout_in_ms, + send_timeout_in_ms=send_timeout_in_ms, + servers=servers, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + authentication_secret_id: Optional[str] = None, + authentication_secret_version_number: Optional[str] = None, + connect_timeout_in_ms: Optional[int] = None, + is_ssl_enabled: Optional[bool] = None, + is_ssl_verify_disabled: Optional[bool] = None, + read_timeout_in_ms: Optional[int] = None, + send_timeout_in_ms: Optional[int] = None, + servers: Optional[Sequence['outputs.GatewayResponseCacheDetailsServer']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if authentication_secret_id is not None: - pulumi.set(__self__, "authentication_secret_id", authentication_secret_id) + _setter("authentication_secret_id", authentication_secret_id) if authentication_secret_version_number is not None: - pulumi.set(__self__, "authentication_secret_version_number", authentication_secret_version_number) + _setter("authentication_secret_version_number", authentication_secret_version_number) if connect_timeout_in_ms is not None: - pulumi.set(__self__, "connect_timeout_in_ms", connect_timeout_in_ms) + _setter("connect_timeout_in_ms", connect_timeout_in_ms) if is_ssl_enabled is not None: - pulumi.set(__self__, "is_ssl_enabled", is_ssl_enabled) + _setter("is_ssl_enabled", is_ssl_enabled) if is_ssl_verify_disabled is not None: - pulumi.set(__self__, "is_ssl_verify_disabled", is_ssl_verify_disabled) + _setter("is_ssl_verify_disabled", is_ssl_verify_disabled) if read_timeout_in_ms is not None: - pulumi.set(__self__, "read_timeout_in_ms", read_timeout_in_ms) + _setter("read_timeout_in_ms", read_timeout_in_ms) if send_timeout_in_ms is not None: - pulumi.set(__self__, "send_timeout_in_ms", send_timeout_in_ms) + _setter("send_timeout_in_ms", send_timeout_in_ms) if servers is not None: - pulumi.set(__self__, "servers", servers) + _setter("servers", servers) @property @pulumi.getter @@ -7163,10 +8596,21 @@ def __init__(__self__, *, :param str host: (Updatable) Hostname or IP address (IPv4 only) where the cache store is running. :param int port: (Updatable) The port the cache store is exposed on. """ + GatewayResponseCacheDetailsServer._configure( + lambda key, value: pulumi.set(__self__, key, value), + host=host, + port=port, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host: Optional[str] = None, + port: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if host is not None: - pulumi.set(__self__, "host", host) + _setter("host", host) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) @property @pulumi.getter @@ -7194,8 +8638,19 @@ def __init__(__self__, *, :param str name: (Updatable) The name of the client. Must be unique within a subscriber. :param str token: (Updatable) The token for the client. Must be unique within a tenancy. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "token", token) + SubscriberClient._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + token=token, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + token: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("token", token) @property @pulumi.getter @@ -7246,15 +8701,32 @@ def __init__(__self__, *, :param 'UsagePlanEntitlementRateLimitArgs' rate_limit: (Updatable) Rate-limiting policy for a usage plan. :param Sequence['UsagePlanEntitlementTargetArgs'] targets: (Updatable) A collection of targeted deployments that the entitlement will be applied to. """ - pulumi.set(__self__, "name", name) + UsagePlanEntitlement._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + description=description, + quota=quota, + rate_limit=rate_limit, + targets=targets, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + description: Optional[str] = None, + quota: Optional['outputs.UsagePlanEntitlementQuota'] = None, + rate_limit: Optional['outputs.UsagePlanEntitlementRateLimit'] = None, + targets: Optional[Sequence['outputs.UsagePlanEntitlementTarget']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if quota is not None: - pulumi.set(__self__, "quota", quota) + _setter("quota", quota) if rate_limit is not None: - pulumi.set(__self__, "rate_limit", rate_limit) + _setter("rate_limit", rate_limit) if targets is not None: - pulumi.set(__self__, "targets", targets) + _setter("targets", targets) @property @pulumi.getter @@ -7329,10 +8801,25 @@ def __init__(__self__, *, :param str unit: (Updatable) The unit of time over which rate limits are calculated. Example: `SECOND` :param int value: (Updatable) The number of requests that can be made per time period. """ - pulumi.set(__self__, "operation_on_breach", operation_on_breach) - pulumi.set(__self__, "reset_policy", reset_policy) - pulumi.set(__self__, "unit", unit) - pulumi.set(__self__, "value", value) + UsagePlanEntitlementQuota._configure( + lambda key, value: pulumi.set(__self__, key, value), + operation_on_breach=operation_on_breach, + reset_policy=reset_policy, + unit=unit, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + operation_on_breach: str, + reset_policy: str, + unit: str, + value: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("operation_on_breach", operation_on_breach) + _setter("reset_policy", reset_policy) + _setter("unit", unit) + _setter("value", value) @property @pulumi.getter(name="operationOnBreach") @@ -7376,8 +8863,19 @@ def __init__(__self__, *, :param str unit: (Updatable) The unit of time over which rate limits are calculated. Example: `SECOND` :param int value: (Updatable) The number of requests that can be made per time period. """ - pulumi.set(__self__, "unit", unit) - pulumi.set(__self__, "value", value) + UsagePlanEntitlementRateLimit._configure( + lambda key, value: pulumi.set(__self__, key, value), + unit=unit, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + unit: str, + value: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("unit", unit) + _setter("value", value) @property @pulumi.getter @@ -7420,7 +8918,16 @@ def __init__(__self__, *, """ :param str deployment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a deployment resource. """ - pulumi.set(__self__, "deployment_id", deployment_id) + UsagePlanEntitlementTarget._configure( + lambda key, value: pulumi.set(__self__, key, value), + deployment_id=deployment_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deployment_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("deployment_id", deployment_id) @property @pulumi.getter(name="deploymentId") @@ -7440,8 +8947,19 @@ def __init__(__self__, *, :param Sequence['GetApiDeploymentSpecificationLoggingPolicyAccessLogArgs'] access_logs: Configures the logging policies for the access logs of an API Deployment. :param Sequence['GetApiDeploymentSpecificationLoggingPolicyExecutionLogArgs'] execution_logs: Configures the logging policies for the execution logs of an API Deployment. """ - pulumi.set(__self__, "access_logs", access_logs) - pulumi.set(__self__, "execution_logs", execution_logs) + GetApiDeploymentSpecificationLoggingPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + access_logs=access_logs, + execution_logs=execution_logs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access_logs: Sequence['outputs.GetApiDeploymentSpecificationLoggingPolicyAccessLogResult'], + execution_logs: Sequence['outputs.GetApiDeploymentSpecificationLoggingPolicyExecutionLogResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("access_logs", access_logs) + _setter("execution_logs", execution_logs) @property @pulumi.getter(name="accessLogs") @@ -7467,7 +8985,16 @@ def __init__(__self__, *, """ :param bool is_enabled: Whether this policy is currently enabled. """ - pulumi.set(__self__, "is_enabled", is_enabled) + GetApiDeploymentSpecificationLoggingPolicyAccessLogResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_enabled", is_enabled) @property @pulumi.getter(name="isEnabled") @@ -7487,8 +9014,19 @@ def __init__(__self__, *, :param bool is_enabled: Whether this policy is currently enabled. :param str log_level: Specifies the log level used to control logging output of execution logs. Enabling logging at a given level also enables logging at all higher levels. """ - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "log_level", log_level) + GetApiDeploymentSpecificationLoggingPolicyExecutionLogResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + log_level=log_level, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: bool, + log_level: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_enabled", is_enabled) + _setter("log_level", log_level) @property @pulumi.getter(name="isEnabled") @@ -7524,12 +9062,31 @@ def __init__(__self__, *, :param Sequence['GetApiDeploymentSpecificationRequestPolicyRateLimitingArgs'] rate_limitings: Limit the number of requests that should be handled for the specified window using a specfic key. :param Sequence['GetApiDeploymentSpecificationRequestPolicyUsagePlanArgs'] usage_plans: Usage plan policies for this deployment """ - pulumi.set(__self__, "authentications", authentications) - pulumi.set(__self__, "cors", cors) - pulumi.set(__self__, "dynamic_authentications", dynamic_authentications) - pulumi.set(__self__, "mutual_tls", mutual_tls) - pulumi.set(__self__, "rate_limitings", rate_limitings) - pulumi.set(__self__, "usage_plans", usage_plans) + GetApiDeploymentSpecificationRequestPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + authentications=authentications, + cors=cors, + dynamic_authentications=dynamic_authentications, + mutual_tls=mutual_tls, + rate_limitings=rate_limitings, + usage_plans=usage_plans, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + authentications: Sequence['outputs.GetApiDeploymentSpecificationRequestPolicyAuthenticationResult'], + cors: Sequence['outputs.GetApiDeploymentSpecificationRequestPolicyCorResult'], + dynamic_authentications: Sequence['outputs.GetApiDeploymentSpecificationRequestPolicyDynamicAuthenticationResult'], + mutual_tls: Sequence['outputs.GetApiDeploymentSpecificationRequestPolicyMutualTlResult'], + rate_limitings: Sequence['outputs.GetApiDeploymentSpecificationRequestPolicyRateLimitingResult'], + usage_plans: Sequence['outputs.GetApiDeploymentSpecificationRequestPolicyUsagePlanResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("authentications", authentications) + _setter("cors", cors) + _setter("dynamic_authentications", dynamic_authentications) + _setter("mutual_tls", mutual_tls) + _setter("rate_limitings", rate_limitings) + _setter("usage_plans", usage_plans) @property @pulumi.getter @@ -7614,21 +9171,58 @@ def __init__(__self__, *, :param Sequence['GetApiDeploymentSpecificationRequestPolicyAuthenticationValidationPolicyArgs'] validation_policies: Authentication Policies for the Token Authentication types. :param Sequence['GetApiDeploymentSpecificationRequestPolicyAuthenticationVerifyClaimArgs'] verify_claims: A list of claims which should be validated to consider the token valid. """ - pulumi.set(__self__, "audiences", audiences) - pulumi.set(__self__, "cache_keys", cache_keys) - pulumi.set(__self__, "function_id", function_id) - pulumi.set(__self__, "is_anonymous_access_allowed", is_anonymous_access_allowed) - pulumi.set(__self__, "issuers", issuers) - pulumi.set(__self__, "max_clock_skew_in_seconds", max_clock_skew_in_seconds) - pulumi.set(__self__, "parameters", parameters) - pulumi.set(__self__, "public_keys", public_keys) - pulumi.set(__self__, "token_auth_scheme", token_auth_scheme) - pulumi.set(__self__, "token_header", token_header) - pulumi.set(__self__, "token_query_param", token_query_param) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "validation_failure_policies", validation_failure_policies) - pulumi.set(__self__, "validation_policies", validation_policies) - pulumi.set(__self__, "verify_claims", verify_claims) + GetApiDeploymentSpecificationRequestPolicyAuthenticationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + audiences=audiences, + cache_keys=cache_keys, + function_id=function_id, + is_anonymous_access_allowed=is_anonymous_access_allowed, + issuers=issuers, + max_clock_skew_in_seconds=max_clock_skew_in_seconds, + parameters=parameters, + public_keys=public_keys, + token_auth_scheme=token_auth_scheme, + token_header=token_header, + token_query_param=token_query_param, + type=type, + validation_failure_policies=validation_failure_policies, + validation_policies=validation_policies, + verify_claims=verify_claims, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + audiences: Sequence[str], + cache_keys: Sequence[str], + function_id: str, + is_anonymous_access_allowed: bool, + issuers: Sequence[str], + max_clock_skew_in_seconds: float, + parameters: Mapping[str, Any], + public_keys: Sequence['outputs.GetApiDeploymentSpecificationRequestPolicyAuthenticationPublicKeyResult'], + token_auth_scheme: str, + token_header: str, + token_query_param: str, + type: str, + validation_failure_policies: Sequence['outputs.GetApiDeploymentSpecificationRequestPolicyAuthenticationValidationFailurePolicyResult'], + validation_policies: Sequence['outputs.GetApiDeploymentSpecificationRequestPolicyAuthenticationValidationPolicyResult'], + verify_claims: Sequence['outputs.GetApiDeploymentSpecificationRequestPolicyAuthenticationVerifyClaimResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("audiences", audiences) + _setter("cache_keys", cache_keys) + _setter("function_id", function_id) + _setter("is_anonymous_access_allowed", is_anonymous_access_allowed) + _setter("issuers", issuers) + _setter("max_clock_skew_in_seconds", max_clock_skew_in_seconds) + _setter("parameters", parameters) + _setter("public_keys", public_keys) + _setter("token_auth_scheme", token_auth_scheme) + _setter("token_header", token_header) + _setter("token_query_param", token_query_param) + _setter("type", type) + _setter("validation_failure_policies", validation_failure_policies) + _setter("validation_policies", validation_policies) + _setter("verify_claims", verify_claims) @property @pulumi.getter @@ -7763,11 +9357,28 @@ def __init__(__self__, *, :param str type: Type of the Response Cache Store Policy. :param str uri: The uri from which to retrieve the key. It must be accessible without authentication. """ - pulumi.set(__self__, "is_ssl_verify_disabled", is_ssl_verify_disabled) - pulumi.set(__self__, "keys", keys) - pulumi.set(__self__, "max_cache_duration_in_hours", max_cache_duration_in_hours) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "uri", uri) + GetApiDeploymentSpecificationRequestPolicyAuthenticationPublicKeyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_ssl_verify_disabled=is_ssl_verify_disabled, + keys=keys, + max_cache_duration_in_hours=max_cache_duration_in_hours, + type=type, + uri=uri, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_ssl_verify_disabled: bool, + keys: Sequence['outputs.GetApiDeploymentSpecificationRequestPolicyAuthenticationPublicKeyKeyResult'], + max_cache_duration_in_hours: int, + type: str, + uri: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_ssl_verify_disabled", is_ssl_verify_disabled) + _setter("keys", keys) + _setter("max_cache_duration_in_hours", max_cache_duration_in_hours) + _setter("type", type) + _setter("uri", uri) @property @pulumi.getter(name="isSslVerifyDisabled") @@ -7833,15 +9444,40 @@ def __init__(__self__, *, :param str n: The base64 url encoded modulus of the RSA public key represented by this key. :param str use: The intended use of the public key. """ - pulumi.set(__self__, "alg", alg) - pulumi.set(__self__, "e", e) - pulumi.set(__self__, "format", format) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "key_ops", key_ops) - pulumi.set(__self__, "kid", kid) - pulumi.set(__self__, "kty", kty) - pulumi.set(__self__, "n", n) - pulumi.set(__self__, "use", use) + GetApiDeploymentSpecificationRequestPolicyAuthenticationPublicKeyKeyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + alg=alg, + e=e, + format=format, + key=key, + key_ops=key_ops, + kid=kid, + kty=kty, + n=n, + use=use, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + alg: str, + e: str, + format: str, + key: str, + key_ops: Sequence[str], + kid: str, + kty: str, + n: str, + use: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("alg", alg) + _setter("e", e) + _setter("format", format) + _setter("key", key) + _setter("key_ops", key_ops) + _setter("kid", kid) + _setter("kty", kty) + _setter("n", n) + _setter("use", use) @property @pulumi.getter @@ -7949,20 +9585,55 @@ def __init__(__self__, *, :param bool use_cookies_for_session: Defines whether or not to use cookies for session maintenance. :param bool use_pkce: Defines whether or not to support PKCE. """ - pulumi.set(__self__, "client_details", client_details) - pulumi.set(__self__, "fallback_redirect_path", fallback_redirect_path) - pulumi.set(__self__, "logout_path", logout_path) - pulumi.set(__self__, "max_expiry_duration_in_hours", max_expiry_duration_in_hours) - pulumi.set(__self__, "response_code", response_code) - pulumi.set(__self__, "response_header_transformations", response_header_transformations) - pulumi.set(__self__, "response_message", response_message) - pulumi.set(__self__, "response_type", response_type) - pulumi.set(__self__, "scopes", scopes) - pulumi.set(__self__, "source_uri_details", source_uri_details) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "use_cookies_for_intermediate_steps", use_cookies_for_intermediate_steps) - pulumi.set(__self__, "use_cookies_for_session", use_cookies_for_session) - pulumi.set(__self__, "use_pkce", use_pkce) + GetApiDeploymentSpecificationRequestPolicyAuthenticationValidationFailurePolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + client_details=client_details, + fallback_redirect_path=fallback_redirect_path, + logout_path=logout_path, + max_expiry_duration_in_hours=max_expiry_duration_in_hours, + response_code=response_code, + response_header_transformations=response_header_transformations, + response_message=response_message, + response_type=response_type, + scopes=scopes, + source_uri_details=source_uri_details, + type=type, + use_cookies_for_intermediate_steps=use_cookies_for_intermediate_steps, + use_cookies_for_session=use_cookies_for_session, + use_pkce=use_pkce, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + client_details: Sequence['outputs.GetApiDeploymentSpecificationRequestPolicyAuthenticationValidationFailurePolicyClientDetailResult'], + fallback_redirect_path: str, + logout_path: str, + max_expiry_duration_in_hours: int, + response_code: str, + response_header_transformations: Sequence['outputs.GetApiDeploymentSpecificationRequestPolicyAuthenticationValidationFailurePolicyResponseHeaderTransformationResult'], + response_message: str, + response_type: str, + scopes: Sequence[str], + source_uri_details: Sequence['outputs.GetApiDeploymentSpecificationRequestPolicyAuthenticationValidationFailurePolicySourceUriDetailResult'], + type: str, + use_cookies_for_intermediate_steps: bool, + use_cookies_for_session: bool, + use_pkce: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("client_details", client_details) + _setter("fallback_redirect_path", fallback_redirect_path) + _setter("logout_path", logout_path) + _setter("max_expiry_duration_in_hours", max_expiry_duration_in_hours) + _setter("response_code", response_code) + _setter("response_header_transformations", response_header_transformations) + _setter("response_message", response_message) + _setter("response_type", response_type) + _setter("scopes", scopes) + _setter("source_uri_details", source_uri_details) + _setter("type", type) + _setter("use_cookies_for_intermediate_steps", use_cookies_for_intermediate_steps) + _setter("use_cookies_for_session", use_cookies_for_session) + _setter("use_pkce", use_pkce) @property @pulumi.getter(name="clientDetails") @@ -8090,10 +9761,25 @@ def __init__(__self__, *, :param str client_secret_version_number: The version number of the client secret to use. :param str type: Type of the Response Cache Store Policy. """ - pulumi.set(__self__, "client_id", client_id) - pulumi.set(__self__, "client_secret_id", client_secret_id) - pulumi.set(__self__, "client_secret_version_number", client_secret_version_number) - pulumi.set(__self__, "type", type) + GetApiDeploymentSpecificationRequestPolicyAuthenticationValidationFailurePolicyClientDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + client_id=client_id, + client_secret_id=client_secret_id, + client_secret_version_number=client_secret_version_number, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + client_id: str, + client_secret_id: str, + client_secret_version_number: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("client_id", client_id) + _setter("client_secret_id", client_secret_id) + _setter("client_secret_version_number", client_secret_version_number) + _setter("type", type) @property @pulumi.getter(name="clientId") @@ -8139,9 +9825,22 @@ def __init__(__self__, *, :param Sequence['GetApiDeploymentSpecificationRequestPolicyAuthenticationValidationFailurePolicyResponseHeaderTransformationRenameHeaderArgs'] rename_headers: Rename HTTP headers as they pass through the gateway. :param Sequence['GetApiDeploymentSpecificationRequestPolicyAuthenticationValidationFailurePolicyResponseHeaderTransformationSetHeaderArgs'] set_headers: Set HTTP headers as they pass through the gateway. """ - pulumi.set(__self__, "filter_headers", filter_headers) - pulumi.set(__self__, "rename_headers", rename_headers) - pulumi.set(__self__, "set_headers", set_headers) + GetApiDeploymentSpecificationRequestPolicyAuthenticationValidationFailurePolicyResponseHeaderTransformationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + filter_headers=filter_headers, + rename_headers=rename_headers, + set_headers=set_headers, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + filter_headers: Sequence['outputs.GetApiDeploymentSpecificationRequestPolicyAuthenticationValidationFailurePolicyResponseHeaderTransformationFilterHeaderResult'], + rename_headers: Sequence['outputs.GetApiDeploymentSpecificationRequestPolicyAuthenticationValidationFailurePolicyResponseHeaderTransformationRenameHeaderResult'], + set_headers: Sequence['outputs.GetApiDeploymentSpecificationRequestPolicyAuthenticationValidationFailurePolicyResponseHeaderTransformationSetHeaderResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("filter_headers", filter_headers) + _setter("rename_headers", rename_headers) + _setter("set_headers", set_headers) @property @pulumi.getter(name="filterHeaders") @@ -8177,8 +9876,19 @@ def __init__(__self__, *, :param Sequence['GetApiDeploymentSpecificationRequestPolicyAuthenticationValidationFailurePolicyResponseHeaderTransformationFilterHeaderItemArgs'] items: The list of headers. :param str type: Type of the Response Cache Store Policy. """ - pulumi.set(__self__, "items", items) - pulumi.set(__self__, "type", type) + GetApiDeploymentSpecificationRequestPolicyAuthenticationValidationFailurePolicyResponseHeaderTransformationFilterHeaderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetApiDeploymentSpecificationRequestPolicyAuthenticationValidationFailurePolicyResponseHeaderTransformationFilterHeaderItemResult'], + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) + _setter("type", type) @property @pulumi.getter @@ -8204,7 +9914,16 @@ def __init__(__self__, *, """ :param str name: The case-insensitive name of the header. This name must be unique across transformation policies. """ - pulumi.set(__self__, "name", name) + GetApiDeploymentSpecificationRequestPolicyAuthenticationValidationFailurePolicyResponseHeaderTransformationFilterHeaderItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -8222,7 +9941,16 @@ def __init__(__self__, *, """ :param Sequence['GetApiDeploymentSpecificationRequestPolicyAuthenticationValidationFailurePolicyResponseHeaderTransformationRenameHeaderItemArgs'] items: The list of headers. """ - pulumi.set(__self__, "items", items) + GetApiDeploymentSpecificationRequestPolicyAuthenticationValidationFailurePolicyResponseHeaderTransformationRenameHeaderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetApiDeploymentSpecificationRequestPolicyAuthenticationValidationFailurePolicyResponseHeaderTransformationRenameHeaderItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -8242,8 +9970,19 @@ def __init__(__self__, *, :param str from_: The original case-insensitive name of the header. This name must be unique across transformation policies. :param str to: The new name of the header. This name must be unique across transformation policies. """ - pulumi.set(__self__, "from_", from_) - pulumi.set(__self__, "to", to) + GetApiDeploymentSpecificationRequestPolicyAuthenticationValidationFailurePolicyResponseHeaderTransformationRenameHeaderItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + from_=from_, + to=to, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + from_: str, + to: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("from_", from_) + _setter("to", to) @property @pulumi.getter(name="from") @@ -8269,7 +10008,16 @@ def __init__(__self__, *, """ :param Sequence['GetApiDeploymentSpecificationRequestPolicyAuthenticationValidationFailurePolicyResponseHeaderTransformationSetHeaderItemArgs'] items: The list of headers. """ - pulumi.set(__self__, "items", items) + GetApiDeploymentSpecificationRequestPolicyAuthenticationValidationFailurePolicyResponseHeaderTransformationSetHeaderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetApiDeploymentSpecificationRequestPolicyAuthenticationValidationFailurePolicyResponseHeaderTransformationSetHeaderItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -8291,9 +10039,22 @@ def __init__(__self__, *, :param str name: The case-insensitive name of the header. This name must be unique across transformation policies. :param Sequence[str] values: A list of new values. Each value can be a constant or may include one or more expressions enclosed within ${} delimiters. """ - pulumi.set(__self__, "if_exists", if_exists) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetApiDeploymentSpecificationRequestPolicyAuthenticationValidationFailurePolicyResponseHeaderTransformationSetHeaderItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + if_exists=if_exists, + name=name, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + if_exists: str, + name: str, + values: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("if_exists", if_exists) + _setter("name", name) + _setter("values", values) @property @pulumi.getter(name="ifExists") @@ -8329,8 +10090,19 @@ def __init__(__self__, *, :param str type: Type of the Response Cache Store Policy. :param str uri: The uri from which to retrieve the key. It must be accessible without authentication. """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "uri", uri) + GetApiDeploymentSpecificationRequestPolicyAuthenticationValidationFailurePolicySourceUriDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + uri=uri, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + uri: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("uri", uri) @property @pulumi.getter @@ -8370,14 +10142,37 @@ def __init__(__self__, *, :param str type: Type of the Response Cache Store Policy. :param str uri: The uri from which to retrieve the key. It must be accessible without authentication. """ - pulumi.set(__self__, "additional_validation_policies", additional_validation_policies) - pulumi.set(__self__, "client_details", client_details) - pulumi.set(__self__, "is_ssl_verify_disabled", is_ssl_verify_disabled) - pulumi.set(__self__, "keys", keys) - pulumi.set(__self__, "max_cache_duration_in_hours", max_cache_duration_in_hours) - pulumi.set(__self__, "source_uri_details", source_uri_details) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "uri", uri) + GetApiDeploymentSpecificationRequestPolicyAuthenticationValidationPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + additional_validation_policies=additional_validation_policies, + client_details=client_details, + is_ssl_verify_disabled=is_ssl_verify_disabled, + keys=keys, + max_cache_duration_in_hours=max_cache_duration_in_hours, + source_uri_details=source_uri_details, + type=type, + uri=uri, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + additional_validation_policies: Sequence['outputs.GetApiDeploymentSpecificationRequestPolicyAuthenticationValidationPolicyAdditionalValidationPolicyResult'], + client_details: Sequence['outputs.GetApiDeploymentSpecificationRequestPolicyAuthenticationValidationPolicyClientDetailResult'], + is_ssl_verify_disabled: bool, + keys: Sequence['outputs.GetApiDeploymentSpecificationRequestPolicyAuthenticationValidationPolicyKeyResult'], + max_cache_duration_in_hours: int, + source_uri_details: Sequence['outputs.GetApiDeploymentSpecificationRequestPolicyAuthenticationValidationPolicySourceUriDetailResult'], + type: str, + uri: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("additional_validation_policies", additional_validation_policies) + _setter("client_details", client_details) + _setter("is_ssl_verify_disabled", is_ssl_verify_disabled) + _setter("keys", keys) + _setter("max_cache_duration_in_hours", max_cache_duration_in_hours) + _setter("source_uri_details", source_uri_details) + _setter("type", type) + _setter("uri", uri) @property @pulumi.getter(name="additionalValidationPolicies") @@ -8455,9 +10250,22 @@ def __init__(__self__, *, :param Sequence[str] issuers: A list of parties that could have issued the token. :param Sequence['GetApiDeploymentSpecificationRequestPolicyAuthenticationValidationPolicyAdditionalValidationPolicyVerifyClaimArgs'] verify_claims: A list of claims which should be validated to consider the token valid. """ - pulumi.set(__self__, "audiences", audiences) - pulumi.set(__self__, "issuers", issuers) - pulumi.set(__self__, "verify_claims", verify_claims) + GetApiDeploymentSpecificationRequestPolicyAuthenticationValidationPolicyAdditionalValidationPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + audiences=audiences, + issuers=issuers, + verify_claims=verify_claims, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + audiences: Sequence[str], + issuers: Sequence[str], + verify_claims: Sequence['outputs.GetApiDeploymentSpecificationRequestPolicyAuthenticationValidationPolicyAdditionalValidationPolicyVerifyClaimResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("audiences", audiences) + _setter("issuers", issuers) + _setter("verify_claims", verify_claims) @property @pulumi.getter @@ -8495,9 +10303,22 @@ def __init__(__self__, *, :param str key: Information around the values for selector of an authentication/ routing branch. :param Sequence[str] values: A list of new values. Each value can be a constant or may include one or more expressions enclosed within ${} delimiters. """ - pulumi.set(__self__, "is_required", is_required) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "values", values) + GetApiDeploymentSpecificationRequestPolicyAuthenticationValidationPolicyAdditionalValidationPolicyVerifyClaimResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_required=is_required, + key=key, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_required: bool, + key: str, + values: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_required", is_required) + _setter("key", key) + _setter("values", values) @property @pulumi.getter(name="isRequired") @@ -8537,10 +10358,25 @@ def __init__(__self__, *, :param str client_secret_version_number: The version number of the client secret to use. :param str type: Type of the Response Cache Store Policy. """ - pulumi.set(__self__, "client_id", client_id) - pulumi.set(__self__, "client_secret_id", client_secret_id) - pulumi.set(__self__, "client_secret_version_number", client_secret_version_number) - pulumi.set(__self__, "type", type) + GetApiDeploymentSpecificationRequestPolicyAuthenticationValidationPolicyClientDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + client_id=client_id, + client_secret_id=client_secret_id, + client_secret_version_number=client_secret_version_number, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + client_id: str, + client_secret_id: str, + client_secret_version_number: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("client_id", client_id) + _setter("client_secret_id", client_secret_id) + _setter("client_secret_version_number", client_secret_version_number) + _setter("type", type) @property @pulumi.getter(name="clientId") @@ -8598,15 +10434,40 @@ def __init__(__self__, *, :param str n: The base64 url encoded modulus of the RSA public key represented by this key. :param str use: The intended use of the public key. """ - pulumi.set(__self__, "alg", alg) - pulumi.set(__self__, "e", e) - pulumi.set(__self__, "format", format) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "key_ops", key_ops) - pulumi.set(__self__, "kid", kid) - pulumi.set(__self__, "kty", kty) - pulumi.set(__self__, "n", n) - pulumi.set(__self__, "use", use) + GetApiDeploymentSpecificationRequestPolicyAuthenticationValidationPolicyKeyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + alg=alg, + e=e, + format=format, + key=key, + key_ops=key_ops, + kid=kid, + kty=kty, + n=n, + use=use, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + alg: str, + e: str, + format: str, + key: str, + key_ops: Sequence[str], + kid: str, + kty: str, + n: str, + use: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("alg", alg) + _setter("e", e) + _setter("format", format) + _setter("key", key) + _setter("key_ops", key_ops) + _setter("kid", kid) + _setter("kty", kty) + _setter("n", n) + _setter("use", use) @property @pulumi.getter @@ -8690,8 +10551,19 @@ def __init__(__self__, *, :param str type: Type of the Response Cache Store Policy. :param str uri: The uri from which to retrieve the key. It must be accessible without authentication. """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "uri", uri) + GetApiDeploymentSpecificationRequestPolicyAuthenticationValidationPolicySourceUriDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + uri=uri, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + uri: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("uri", uri) @property @pulumi.getter @@ -8721,9 +10593,22 @@ def __init__(__self__, *, :param str key: Information around the values for selector of an authentication/ routing branch. :param Sequence[str] values: A list of new values. Each value can be a constant or may include one or more expressions enclosed within ${} delimiters. """ - pulumi.set(__self__, "is_required", is_required) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "values", values) + GetApiDeploymentSpecificationRequestPolicyAuthenticationVerifyClaimResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_required=is_required, + key=key, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_required: bool, + key: str, + values: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_required", is_required) + _setter("key", key) + _setter("values", values) @property @pulumi.getter(name="isRequired") @@ -8767,12 +10652,31 @@ def __init__(__self__, *, :param bool is_allow_credentials_enabled: Whether to send the Access-Control-Allow-Credentials header to allow CORS requests with cookies. :param int max_age_in_seconds: The time in seconds for the client to cache preflight responses. This is sent as the Access-Control-Max-Age if greater than 0. """ - pulumi.set(__self__, "allowed_headers", allowed_headers) - pulumi.set(__self__, "allowed_methods", allowed_methods) - pulumi.set(__self__, "allowed_origins", allowed_origins) - pulumi.set(__self__, "exposed_headers", exposed_headers) - pulumi.set(__self__, "is_allow_credentials_enabled", is_allow_credentials_enabled) - pulumi.set(__self__, "max_age_in_seconds", max_age_in_seconds) + GetApiDeploymentSpecificationRequestPolicyCorResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_headers=allowed_headers, + allowed_methods=allowed_methods, + allowed_origins=allowed_origins, + exposed_headers=exposed_headers, + is_allow_credentials_enabled=is_allow_credentials_enabled, + max_age_in_seconds=max_age_in_seconds, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_headers: Sequence[str], + allowed_methods: Sequence[str], + allowed_origins: Sequence[str], + exposed_headers: Sequence[str], + is_allow_credentials_enabled: bool, + max_age_in_seconds: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allowed_headers", allowed_headers) + _setter("allowed_methods", allowed_methods) + _setter("allowed_origins", allowed_origins) + _setter("exposed_headers", exposed_headers) + _setter("is_allow_credentials_enabled", is_allow_credentials_enabled) + _setter("max_age_in_seconds", max_age_in_seconds) @property @pulumi.getter(name="allowedHeaders") @@ -8832,8 +10736,19 @@ def __init__(__self__, *, :param Sequence['GetApiDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerArgs'] authentication_servers: List of authentication servers to choose from during dynamic authentication. :param Sequence['GetApiDeploymentSpecificationRequestPolicyDynamicAuthenticationSelectionSourceArgs'] selection_sources: Information around selector used for branching among routes/ authentication servers while dynamic routing/ authentication. """ - pulumi.set(__self__, "authentication_servers", authentication_servers) - pulumi.set(__self__, "selection_sources", selection_sources) + GetApiDeploymentSpecificationRequestPolicyDynamicAuthenticationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + authentication_servers=authentication_servers, + selection_sources=selection_sources, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + authentication_servers: Sequence['outputs.GetApiDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerResult'], + selection_sources: Sequence['outputs.GetApiDeploymentSpecificationRequestPolicyDynamicAuthenticationSelectionSourceResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("authentication_servers", authentication_servers) + _setter("selection_sources", selection_sources) @property @pulumi.getter(name="authenticationServers") @@ -8861,8 +10776,19 @@ def __init__(__self__, *, :param Sequence['GetApiDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailArgs'] authentication_server_details: Information on how to authenticate incoming requests. :param Sequence['GetApiDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerKeyArgs'] keys: Information around the values for selector of an authentication/ routing branch. """ - pulumi.set(__self__, "authentication_server_details", authentication_server_details) - pulumi.set(__self__, "keys", keys) + GetApiDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + authentication_server_details=authentication_server_details, + keys=keys, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + authentication_server_details: Sequence['outputs.GetApiDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailResult'], + keys: Sequence['outputs.GetApiDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerKeyResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("authentication_server_details", authentication_server_details) + _setter("keys", keys) @property @pulumi.getter(name="authenticationServerDetails") @@ -8915,21 +10841,58 @@ def __init__(__self__, *, :param Sequence['GetApiDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicyArgs'] validation_policies: Authentication Policies for the Token Authentication types. :param Sequence['GetApiDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailVerifyClaimArgs'] verify_claims: A list of claims which should be validated to consider the token valid. """ - pulumi.set(__self__, "audiences", audiences) - pulumi.set(__self__, "cache_keys", cache_keys) - pulumi.set(__self__, "function_id", function_id) - pulumi.set(__self__, "is_anonymous_access_allowed", is_anonymous_access_allowed) - pulumi.set(__self__, "issuers", issuers) - pulumi.set(__self__, "max_clock_skew_in_seconds", max_clock_skew_in_seconds) - pulumi.set(__self__, "parameters", parameters) - pulumi.set(__self__, "public_keys", public_keys) - pulumi.set(__self__, "token_auth_scheme", token_auth_scheme) - pulumi.set(__self__, "token_header", token_header) - pulumi.set(__self__, "token_query_param", token_query_param) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "validation_failure_policies", validation_failure_policies) - pulumi.set(__self__, "validation_policies", validation_policies) - pulumi.set(__self__, "verify_claims", verify_claims) + GetApiDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + audiences=audiences, + cache_keys=cache_keys, + function_id=function_id, + is_anonymous_access_allowed=is_anonymous_access_allowed, + issuers=issuers, + max_clock_skew_in_seconds=max_clock_skew_in_seconds, + parameters=parameters, + public_keys=public_keys, + token_auth_scheme=token_auth_scheme, + token_header=token_header, + token_query_param=token_query_param, + type=type, + validation_failure_policies=validation_failure_policies, + validation_policies=validation_policies, + verify_claims=verify_claims, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + audiences: Sequence[str], + cache_keys: Sequence[str], + function_id: str, + is_anonymous_access_allowed: bool, + issuers: Sequence[str], + max_clock_skew_in_seconds: float, + parameters: Mapping[str, Any], + public_keys: Sequence['outputs.GetApiDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailPublicKeyResult'], + token_auth_scheme: str, + token_header: str, + token_query_param: str, + type: str, + validation_failure_policies: Sequence['outputs.GetApiDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResult'], + validation_policies: Sequence['outputs.GetApiDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicyResult'], + verify_claims: Sequence['outputs.GetApiDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailVerifyClaimResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("audiences", audiences) + _setter("cache_keys", cache_keys) + _setter("function_id", function_id) + _setter("is_anonymous_access_allowed", is_anonymous_access_allowed) + _setter("issuers", issuers) + _setter("max_clock_skew_in_seconds", max_clock_skew_in_seconds) + _setter("parameters", parameters) + _setter("public_keys", public_keys) + _setter("token_auth_scheme", token_auth_scheme) + _setter("token_header", token_header) + _setter("token_query_param", token_query_param) + _setter("type", type) + _setter("validation_failure_policies", validation_failure_policies) + _setter("validation_policies", validation_policies) + _setter("verify_claims", verify_claims) @property @pulumi.getter @@ -9064,11 +11027,28 @@ def __init__(__self__, *, :param str type: Type of the Response Cache Store Policy. :param str uri: The uri from which to retrieve the key. It must be accessible without authentication. """ - pulumi.set(__self__, "is_ssl_verify_disabled", is_ssl_verify_disabled) - pulumi.set(__self__, "keys", keys) - pulumi.set(__self__, "max_cache_duration_in_hours", max_cache_duration_in_hours) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "uri", uri) + GetApiDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailPublicKeyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_ssl_verify_disabled=is_ssl_verify_disabled, + keys=keys, + max_cache_duration_in_hours=max_cache_duration_in_hours, + type=type, + uri=uri, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_ssl_verify_disabled: bool, + keys: Sequence['outputs.GetApiDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailPublicKeyKeyResult'], + max_cache_duration_in_hours: int, + type: str, + uri: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_ssl_verify_disabled", is_ssl_verify_disabled) + _setter("keys", keys) + _setter("max_cache_duration_in_hours", max_cache_duration_in_hours) + _setter("type", type) + _setter("uri", uri) @property @pulumi.getter(name="isSslVerifyDisabled") @@ -9134,15 +11114,40 @@ def __init__(__self__, *, :param str n: The base64 url encoded modulus of the RSA public key represented by this key. :param str use: The intended use of the public key. """ - pulumi.set(__self__, "alg", alg) - pulumi.set(__self__, "e", e) - pulumi.set(__self__, "format", format) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "key_ops", key_ops) - pulumi.set(__self__, "kid", kid) - pulumi.set(__self__, "kty", kty) - pulumi.set(__self__, "n", n) - pulumi.set(__self__, "use", use) + GetApiDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailPublicKeyKeyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + alg=alg, + e=e, + format=format, + key=key, + key_ops=key_ops, + kid=kid, + kty=kty, + n=n, + use=use, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + alg: str, + e: str, + format: str, + key: str, + key_ops: Sequence[str], + kid: str, + kty: str, + n: str, + use: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("alg", alg) + _setter("e", e) + _setter("format", format) + _setter("key", key) + _setter("key_ops", key_ops) + _setter("kid", kid) + _setter("kty", kty) + _setter("n", n) + _setter("use", use) @property @pulumi.getter @@ -9250,20 +11255,55 @@ def __init__(__self__, *, :param bool use_cookies_for_session: Defines whether or not to use cookies for session maintenance. :param bool use_pkce: Defines whether or not to support PKCE. """ - pulumi.set(__self__, "client_details", client_details) - pulumi.set(__self__, "fallback_redirect_path", fallback_redirect_path) - pulumi.set(__self__, "logout_path", logout_path) - pulumi.set(__self__, "max_expiry_duration_in_hours", max_expiry_duration_in_hours) - pulumi.set(__self__, "response_code", response_code) - pulumi.set(__self__, "response_header_transformations", response_header_transformations) - pulumi.set(__self__, "response_message", response_message) - pulumi.set(__self__, "response_type", response_type) - pulumi.set(__self__, "scopes", scopes) - pulumi.set(__self__, "source_uri_details", source_uri_details) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "use_cookies_for_intermediate_steps", use_cookies_for_intermediate_steps) - pulumi.set(__self__, "use_cookies_for_session", use_cookies_for_session) - pulumi.set(__self__, "use_pkce", use_pkce) + GetApiDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + client_details=client_details, + fallback_redirect_path=fallback_redirect_path, + logout_path=logout_path, + max_expiry_duration_in_hours=max_expiry_duration_in_hours, + response_code=response_code, + response_header_transformations=response_header_transformations, + response_message=response_message, + response_type=response_type, + scopes=scopes, + source_uri_details=source_uri_details, + type=type, + use_cookies_for_intermediate_steps=use_cookies_for_intermediate_steps, + use_cookies_for_session=use_cookies_for_session, + use_pkce=use_pkce, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + client_details: Sequence['outputs.GetApiDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyClientDetailResult'], + fallback_redirect_path: str, + logout_path: str, + max_expiry_duration_in_hours: int, + response_code: str, + response_header_transformations: Sequence['outputs.GetApiDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationResult'], + response_message: str, + response_type: str, + scopes: Sequence[str], + source_uri_details: Sequence['outputs.GetApiDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicySourceUriDetailResult'], + type: str, + use_cookies_for_intermediate_steps: bool, + use_cookies_for_session: bool, + use_pkce: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("client_details", client_details) + _setter("fallback_redirect_path", fallback_redirect_path) + _setter("logout_path", logout_path) + _setter("max_expiry_duration_in_hours", max_expiry_duration_in_hours) + _setter("response_code", response_code) + _setter("response_header_transformations", response_header_transformations) + _setter("response_message", response_message) + _setter("response_type", response_type) + _setter("scopes", scopes) + _setter("source_uri_details", source_uri_details) + _setter("type", type) + _setter("use_cookies_for_intermediate_steps", use_cookies_for_intermediate_steps) + _setter("use_cookies_for_session", use_cookies_for_session) + _setter("use_pkce", use_pkce) @property @pulumi.getter(name="clientDetails") @@ -9391,10 +11431,25 @@ def __init__(__self__, *, :param str client_secret_version_number: The version number of the client secret to use. :param str type: Type of the Response Cache Store Policy. """ - pulumi.set(__self__, "client_id", client_id) - pulumi.set(__self__, "client_secret_id", client_secret_id) - pulumi.set(__self__, "client_secret_version_number", client_secret_version_number) - pulumi.set(__self__, "type", type) + GetApiDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyClientDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + client_id=client_id, + client_secret_id=client_secret_id, + client_secret_version_number=client_secret_version_number, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + client_id: str, + client_secret_id: str, + client_secret_version_number: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("client_id", client_id) + _setter("client_secret_id", client_secret_id) + _setter("client_secret_version_number", client_secret_version_number) + _setter("type", type) @property @pulumi.getter(name="clientId") @@ -9440,9 +11495,22 @@ def __init__(__self__, *, :param Sequence['GetApiDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationRenameHeaderArgs'] rename_headers: Rename HTTP headers as they pass through the gateway. :param Sequence['GetApiDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationSetHeaderArgs'] set_headers: Set HTTP headers as they pass through the gateway. """ - pulumi.set(__self__, "filter_headers", filter_headers) - pulumi.set(__self__, "rename_headers", rename_headers) - pulumi.set(__self__, "set_headers", set_headers) + GetApiDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + filter_headers=filter_headers, + rename_headers=rename_headers, + set_headers=set_headers, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + filter_headers: Sequence['outputs.GetApiDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationFilterHeaderResult'], + rename_headers: Sequence['outputs.GetApiDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationRenameHeaderResult'], + set_headers: Sequence['outputs.GetApiDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationSetHeaderResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("filter_headers", filter_headers) + _setter("rename_headers", rename_headers) + _setter("set_headers", set_headers) @property @pulumi.getter(name="filterHeaders") @@ -9478,8 +11546,19 @@ def __init__(__self__, *, :param Sequence['GetApiDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationFilterHeaderItemArgs'] items: The list of headers. :param str type: Type of the Response Cache Store Policy. """ - pulumi.set(__self__, "items", items) - pulumi.set(__self__, "type", type) + GetApiDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationFilterHeaderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetApiDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationFilterHeaderItemResult'], + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) + _setter("type", type) @property @pulumi.getter @@ -9505,7 +11584,16 @@ def __init__(__self__, *, """ :param str name: The case-insensitive name of the header. This name must be unique across transformation policies. """ - pulumi.set(__self__, "name", name) + GetApiDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationFilterHeaderItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -9523,7 +11611,16 @@ def __init__(__self__, *, """ :param Sequence['GetApiDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationRenameHeaderItemArgs'] items: The list of headers. """ - pulumi.set(__self__, "items", items) + GetApiDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationRenameHeaderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetApiDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationRenameHeaderItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -9543,8 +11640,19 @@ def __init__(__self__, *, :param str from_: The original case-insensitive name of the header. This name must be unique across transformation policies. :param str to: The new name of the header. This name must be unique across transformation policies. """ - pulumi.set(__self__, "from_", from_) - pulumi.set(__self__, "to", to) + GetApiDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationRenameHeaderItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + from_=from_, + to=to, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + from_: str, + to: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("from_", from_) + _setter("to", to) @property @pulumi.getter(name="from") @@ -9570,7 +11678,16 @@ def __init__(__self__, *, """ :param Sequence['GetApiDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationSetHeaderItemArgs'] items: The list of headers. """ - pulumi.set(__self__, "items", items) + GetApiDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationSetHeaderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetApiDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationSetHeaderItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -9592,9 +11709,22 @@ def __init__(__self__, *, :param str name: The case-insensitive name of the header. This name must be unique across transformation policies. :param Sequence[str] values: A list of new values. Each value can be a constant or may include one or more expressions enclosed within ${} delimiters. """ - pulumi.set(__self__, "if_exists", if_exists) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetApiDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationSetHeaderItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + if_exists=if_exists, + name=name, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + if_exists: str, + name: str, + values: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("if_exists", if_exists) + _setter("name", name) + _setter("values", values) @property @pulumi.getter(name="ifExists") @@ -9630,8 +11760,19 @@ def __init__(__self__, *, :param str type: Type of the Response Cache Store Policy. :param str uri: The uri from which to retrieve the key. It must be accessible without authentication. """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "uri", uri) + GetApiDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicySourceUriDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + uri=uri, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + uri: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("uri", uri) @property @pulumi.getter @@ -9671,14 +11812,37 @@ def __init__(__self__, *, :param str type: Type of the Response Cache Store Policy. :param str uri: The uri from which to retrieve the key. It must be accessible without authentication. """ - pulumi.set(__self__, "additional_validation_policies", additional_validation_policies) - pulumi.set(__self__, "client_details", client_details) - pulumi.set(__self__, "is_ssl_verify_disabled", is_ssl_verify_disabled) - pulumi.set(__self__, "keys", keys) - pulumi.set(__self__, "max_cache_duration_in_hours", max_cache_duration_in_hours) - pulumi.set(__self__, "source_uri_details", source_uri_details) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "uri", uri) + GetApiDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + additional_validation_policies=additional_validation_policies, + client_details=client_details, + is_ssl_verify_disabled=is_ssl_verify_disabled, + keys=keys, + max_cache_duration_in_hours=max_cache_duration_in_hours, + source_uri_details=source_uri_details, + type=type, + uri=uri, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + additional_validation_policies: Sequence['outputs.GetApiDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicyAdditionalValidationPolicyResult'], + client_details: Sequence['outputs.GetApiDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicyClientDetailResult'], + is_ssl_verify_disabled: bool, + keys: Sequence['outputs.GetApiDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicyKeyResult'], + max_cache_duration_in_hours: int, + source_uri_details: Sequence['outputs.GetApiDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicySourceUriDetailResult'], + type: str, + uri: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("additional_validation_policies", additional_validation_policies) + _setter("client_details", client_details) + _setter("is_ssl_verify_disabled", is_ssl_verify_disabled) + _setter("keys", keys) + _setter("max_cache_duration_in_hours", max_cache_duration_in_hours) + _setter("source_uri_details", source_uri_details) + _setter("type", type) + _setter("uri", uri) @property @pulumi.getter(name="additionalValidationPolicies") @@ -9756,9 +11920,22 @@ def __init__(__self__, *, :param Sequence[str] issuers: A list of parties that could have issued the token. :param Sequence['GetApiDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicyAdditionalValidationPolicyVerifyClaimArgs'] verify_claims: A list of claims which should be validated to consider the token valid. """ - pulumi.set(__self__, "audiences", audiences) - pulumi.set(__self__, "issuers", issuers) - pulumi.set(__self__, "verify_claims", verify_claims) + GetApiDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicyAdditionalValidationPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + audiences=audiences, + issuers=issuers, + verify_claims=verify_claims, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + audiences: Sequence[str], + issuers: Sequence[str], + verify_claims: Sequence['outputs.GetApiDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicyAdditionalValidationPolicyVerifyClaimResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("audiences", audiences) + _setter("issuers", issuers) + _setter("verify_claims", verify_claims) @property @pulumi.getter @@ -9796,9 +11973,22 @@ def __init__(__self__, *, :param str key: Information around the values for selector of an authentication/ routing branch. :param Sequence[str] values: A list of new values. Each value can be a constant or may include one or more expressions enclosed within ${} delimiters. """ - pulumi.set(__self__, "is_required", is_required) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "values", values) + GetApiDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicyAdditionalValidationPolicyVerifyClaimResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_required=is_required, + key=key, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_required: bool, + key: str, + values: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_required", is_required) + _setter("key", key) + _setter("values", values) @property @pulumi.getter(name="isRequired") @@ -9838,10 +12028,25 @@ def __init__(__self__, *, :param str client_secret_version_number: The version number of the client secret to use. :param str type: Type of the Response Cache Store Policy. """ - pulumi.set(__self__, "client_id", client_id) - pulumi.set(__self__, "client_secret_id", client_secret_id) - pulumi.set(__self__, "client_secret_version_number", client_secret_version_number) - pulumi.set(__self__, "type", type) + GetApiDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicyClientDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + client_id=client_id, + client_secret_id=client_secret_id, + client_secret_version_number=client_secret_version_number, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + client_id: str, + client_secret_id: str, + client_secret_version_number: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("client_id", client_id) + _setter("client_secret_id", client_secret_id) + _setter("client_secret_version_number", client_secret_version_number) + _setter("type", type) @property @pulumi.getter(name="clientId") @@ -9899,15 +12104,40 @@ def __init__(__self__, *, :param str n: The base64 url encoded modulus of the RSA public key represented by this key. :param str use: The intended use of the public key. """ - pulumi.set(__self__, "alg", alg) - pulumi.set(__self__, "e", e) - pulumi.set(__self__, "format", format) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "key_ops", key_ops) - pulumi.set(__self__, "kid", kid) - pulumi.set(__self__, "kty", kty) - pulumi.set(__self__, "n", n) - pulumi.set(__self__, "use", use) + GetApiDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicyKeyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + alg=alg, + e=e, + format=format, + key=key, + key_ops=key_ops, + kid=kid, + kty=kty, + n=n, + use=use, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + alg: str, + e: str, + format: str, + key: str, + key_ops: Sequence[str], + kid: str, + kty: str, + n: str, + use: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("alg", alg) + _setter("e", e) + _setter("format", format) + _setter("key", key) + _setter("key_ops", key_ops) + _setter("kid", kid) + _setter("kty", kty) + _setter("n", n) + _setter("use", use) @property @pulumi.getter @@ -9991,8 +12221,19 @@ def __init__(__self__, *, :param str type: Type of the Response Cache Store Policy. :param str uri: The uri from which to retrieve the key. It must be accessible without authentication. """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "uri", uri) + GetApiDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicySourceUriDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + uri=uri, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + uri: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("uri", uri) @property @pulumi.getter @@ -10022,9 +12263,22 @@ def __init__(__self__, *, :param str key: Information around the values for selector of an authentication/ routing branch. :param Sequence[str] values: A list of new values. Each value can be a constant or may include one or more expressions enclosed within ${} delimiters. """ - pulumi.set(__self__, "is_required", is_required) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "values", values) + GetApiDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailVerifyClaimResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_required=is_required, + key=key, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_required: bool, + key: str, + values: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_required", is_required) + _setter("key", key) + _setter("values", values) @property @pulumi.getter(name="isRequired") @@ -10066,11 +12320,28 @@ def __init__(__self__, *, :param str type: Type of the Response Cache Store Policy. :param Sequence[str] values: A list of new values. Each value can be a constant or may include one or more expressions enclosed within ${} delimiters. """ - pulumi.set(__self__, "expression", expression) - pulumi.set(__self__, "is_default", is_default) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "values", values) + GetApiDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerKeyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + expression=expression, + is_default=is_default, + name=name, + type=type, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + expression: str, + is_default: bool, + name: str, + type: str, + values: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("expression", expression) + _setter("is_default", is_default) + _setter("name", name) + _setter("type", type) + _setter("values", values) @property @pulumi.getter @@ -10122,8 +12393,19 @@ def __init__(__self__, *, :param str selector: String describing the context variable used as selector. :param str type: Type of the Response Cache Store Policy. """ - pulumi.set(__self__, "selector", selector) - pulumi.set(__self__, "type", type) + GetApiDeploymentSpecificationRequestPolicyDynamicAuthenticationSelectionSourceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + selector=selector, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + selector: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("selector", selector) + _setter("type", type) @property @pulumi.getter @@ -10151,8 +12433,19 @@ def __init__(__self__, *, :param Sequence[str] allowed_sans: Allowed list of CN or SAN which will be used for verification of certificate. :param bool is_verified_certificate_required: Determines whether to enable client verification when API Consumer makes connection to the gateway. """ - pulumi.set(__self__, "allowed_sans", allowed_sans) - pulumi.set(__self__, "is_verified_certificate_required", is_verified_certificate_required) + GetApiDeploymentSpecificationRequestPolicyMutualTlResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_sans=allowed_sans, + is_verified_certificate_required=is_verified_certificate_required, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_sans: Sequence[str], + is_verified_certificate_required: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allowed_sans", allowed_sans) + _setter("is_verified_certificate_required", is_verified_certificate_required) @property @pulumi.getter(name="allowedSans") @@ -10180,8 +12473,19 @@ def __init__(__self__, *, :param int rate_in_requests_per_second: The maximum number of requests per second to allow. :param str rate_key: The key used to group requests together. """ - pulumi.set(__self__, "rate_in_requests_per_second", rate_in_requests_per_second) - pulumi.set(__self__, "rate_key", rate_key) + GetApiDeploymentSpecificationRequestPolicyRateLimitingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + rate_in_requests_per_second=rate_in_requests_per_second, + rate_key=rate_key, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + rate_in_requests_per_second: int, + rate_key: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("rate_in_requests_per_second", rate_in_requests_per_second) + _setter("rate_key", rate_key) @property @pulumi.getter(name="rateInRequestsPerSecond") @@ -10211,7 +12515,16 @@ def __init__(__self__, *, * "request.auth[Token]" * "request.path[TOKEN]" """ - pulumi.set(__self__, "token_locations", token_locations) + GetApiDeploymentSpecificationRequestPolicyUsagePlanResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + token_locations=token_locations, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + token_locations: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("token_locations", token_locations) @property @pulumi.getter(name="tokenLocations") @@ -10243,12 +12556,31 @@ def __init__(__self__, *, :param Sequence['GetApiDeploymentSpecificationRouteRequestPolicyArgs'] request_policies: Behavior applied to any requests received by the API on this route. :param Sequence['GetApiDeploymentSpecificationRouteResponsePolicyArgs'] response_policies: Behavior applied to any responses sent by the API for requests on this route. """ - pulumi.set(__self__, "backends", backends) - pulumi.set(__self__, "logging_policies", logging_policies) - pulumi.set(__self__, "methods", methods) - pulumi.set(__self__, "path", path) - pulumi.set(__self__, "request_policies", request_policies) - pulumi.set(__self__, "response_policies", response_policies) + GetApiDeploymentSpecificationRouteResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + backends=backends, + logging_policies=logging_policies, + methods=methods, + path=path, + request_policies=request_policies, + response_policies=response_policies, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backends: Sequence['outputs.GetApiDeploymentSpecificationRouteBackendResult'], + logging_policies: Sequence['outputs.GetApiDeploymentSpecificationRouteLoggingPolicyResult'], + methods: Sequence[str], + path: str, + request_policies: Sequence['outputs.GetApiDeploymentSpecificationRouteRequestPolicyResult'], + response_policies: Sequence['outputs.GetApiDeploymentSpecificationRouteResponsePolicyResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("backends", backends) + _setter("logging_policies", logging_policies) + _setter("methods", methods) + _setter("path", path) + _setter("request_policies", request_policies) + _setter("response_policies", response_policies) @property @pulumi.getter @@ -10329,20 +12661,55 @@ def __init__(__self__, *, :param int status: The status code of the stock response from the mock backend. :param str type: Type of the Response Cache Store Policy. """ - pulumi.set(__self__, "allowed_post_logout_uris", allowed_post_logout_uris) - pulumi.set(__self__, "body", body) - pulumi.set(__self__, "connect_timeout_in_seconds", connect_timeout_in_seconds) - pulumi.set(__self__, "function_id", function_id) - pulumi.set(__self__, "headers", headers) - pulumi.set(__self__, "is_ssl_verify_disabled", is_ssl_verify_disabled) - pulumi.set(__self__, "post_logout_state", post_logout_state) - pulumi.set(__self__, "read_timeout_in_seconds", read_timeout_in_seconds) - pulumi.set(__self__, "routing_backends", routing_backends) - pulumi.set(__self__, "selection_sources", selection_sources) - pulumi.set(__self__, "send_timeout_in_seconds", send_timeout_in_seconds) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "url", url) + GetApiDeploymentSpecificationRouteBackendResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_post_logout_uris=allowed_post_logout_uris, + body=body, + connect_timeout_in_seconds=connect_timeout_in_seconds, + function_id=function_id, + headers=headers, + is_ssl_verify_disabled=is_ssl_verify_disabled, + post_logout_state=post_logout_state, + read_timeout_in_seconds=read_timeout_in_seconds, + routing_backends=routing_backends, + selection_sources=selection_sources, + send_timeout_in_seconds=send_timeout_in_seconds, + status=status, + type=type, + url=url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_post_logout_uris: Sequence[str], + body: str, + connect_timeout_in_seconds: float, + function_id: str, + headers: Sequence['outputs.GetApiDeploymentSpecificationRouteBackendHeaderResult'], + is_ssl_verify_disabled: bool, + post_logout_state: str, + read_timeout_in_seconds: float, + routing_backends: Sequence['outputs.GetApiDeploymentSpecificationRouteBackendRoutingBackendResult'], + selection_sources: Sequence['outputs.GetApiDeploymentSpecificationRouteBackendSelectionSourceResult'], + send_timeout_in_seconds: float, + status: int, + type: str, + url: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allowed_post_logout_uris", allowed_post_logout_uris) + _setter("body", body) + _setter("connect_timeout_in_seconds", connect_timeout_in_seconds) + _setter("function_id", function_id) + _setter("headers", headers) + _setter("is_ssl_verify_disabled", is_ssl_verify_disabled) + _setter("post_logout_state", post_logout_state) + _setter("read_timeout_in_seconds", read_timeout_in_seconds) + _setter("routing_backends", routing_backends) + _setter("selection_sources", selection_sources) + _setter("send_timeout_in_seconds", send_timeout_in_seconds) + _setter("status", status) + _setter("type", type) + _setter("url", url) @property @pulumi.getter(name="allowedPostLogoutUris") @@ -10457,8 +12824,19 @@ def __init__(__self__, *, :param str name: The case-insensitive name of the header. This name must be unique across transformation policies. :param str value: Value of the header. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + GetApiDeploymentSpecificationRouteBackendHeaderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("value", value) @property @pulumi.getter @@ -10486,8 +12864,19 @@ def __init__(__self__, *, :param Sequence['GetApiDeploymentSpecificationRouteBackendRoutingBackendBackendArgs'] backends: The backend to forward requests to. :param Sequence['GetApiDeploymentSpecificationRouteBackendRoutingBackendKeyArgs'] keys: Information around the values for selector of an authentication/ routing branch. """ - pulumi.set(__self__, "backends", backends) - pulumi.set(__self__, "keys", keys) + GetApiDeploymentSpecificationRouteBackendRoutingBackendResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + backends=backends, + keys=keys, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backends: Sequence['outputs.GetApiDeploymentSpecificationRouteBackendRoutingBackendBackendResult'], + keys: Sequence['outputs.GetApiDeploymentSpecificationRouteBackendRoutingBackendKeyResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("backends", backends) + _setter("keys", keys) @property @pulumi.getter @@ -10529,16 +12918,43 @@ def __init__(__self__, *, :param int status: The status code of the stock response from the mock backend. :param str type: Type of the Response Cache Store Policy. """ - pulumi.set(__self__, "body", body) - pulumi.set(__self__, "connect_timeout_in_seconds", connect_timeout_in_seconds) - pulumi.set(__self__, "function_id", function_id) - pulumi.set(__self__, "headers", headers) - pulumi.set(__self__, "is_ssl_verify_disabled", is_ssl_verify_disabled) - pulumi.set(__self__, "read_timeout_in_seconds", read_timeout_in_seconds) - pulumi.set(__self__, "send_timeout_in_seconds", send_timeout_in_seconds) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "url", url) + GetApiDeploymentSpecificationRouteBackendRoutingBackendBackendResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + body=body, + connect_timeout_in_seconds=connect_timeout_in_seconds, + function_id=function_id, + headers=headers, + is_ssl_verify_disabled=is_ssl_verify_disabled, + read_timeout_in_seconds=read_timeout_in_seconds, + send_timeout_in_seconds=send_timeout_in_seconds, + status=status, + type=type, + url=url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + body: str, + connect_timeout_in_seconds: float, + function_id: str, + headers: Sequence['outputs.GetApiDeploymentSpecificationRouteBackendRoutingBackendBackendHeaderResult'], + is_ssl_verify_disabled: bool, + read_timeout_in_seconds: float, + send_timeout_in_seconds: float, + status: int, + type: str, + url: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("body", body) + _setter("connect_timeout_in_seconds", connect_timeout_in_seconds) + _setter("function_id", function_id) + _setter("headers", headers) + _setter("is_ssl_verify_disabled", is_ssl_verify_disabled) + _setter("read_timeout_in_seconds", read_timeout_in_seconds) + _setter("send_timeout_in_seconds", send_timeout_in_seconds) + _setter("status", status) + _setter("type", type) + _setter("url", url) @property @pulumi.getter @@ -10624,8 +13040,19 @@ def __init__(__self__, *, :param str name: The case-insensitive name of the header. This name must be unique across transformation policies. :param str value: Value of the header. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + GetApiDeploymentSpecificationRouteBackendRoutingBackendBackendHeaderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("value", value) @property @pulumi.getter @@ -10659,11 +13086,28 @@ def __init__(__self__, *, :param str type: Type of the Response Cache Store Policy. :param Sequence[str] values: A list of new values. Each value can be a constant or may include one or more expressions enclosed within ${} delimiters. """ - pulumi.set(__self__, "expression", expression) - pulumi.set(__self__, "is_default", is_default) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "values", values) + GetApiDeploymentSpecificationRouteBackendRoutingBackendKeyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + expression=expression, + is_default=is_default, + name=name, + type=type, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + expression: str, + is_default: bool, + name: str, + type: str, + values: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("expression", expression) + _setter("is_default", is_default) + _setter("name", name) + _setter("type", type) + _setter("values", values) @property @pulumi.getter @@ -10715,8 +13159,19 @@ def __init__(__self__, *, :param str selector: String describing the context variable used as selector. :param str type: Type of the Response Cache Store Policy. """ - pulumi.set(__self__, "selector", selector) - pulumi.set(__self__, "type", type) + GetApiDeploymentSpecificationRouteBackendSelectionSourceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + selector=selector, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + selector: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("selector", selector) + _setter("type", type) @property @pulumi.getter @@ -10744,8 +13199,19 @@ def __init__(__self__, *, :param Sequence['GetApiDeploymentSpecificationRouteLoggingPolicyAccessLogArgs'] access_logs: Configures the logging policies for the access logs of an API Deployment. :param Sequence['GetApiDeploymentSpecificationRouteLoggingPolicyExecutionLogArgs'] execution_logs: Configures the logging policies for the execution logs of an API Deployment. """ - pulumi.set(__self__, "access_logs", access_logs) - pulumi.set(__self__, "execution_logs", execution_logs) + GetApiDeploymentSpecificationRouteLoggingPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + access_logs=access_logs, + execution_logs=execution_logs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access_logs: Sequence['outputs.GetApiDeploymentSpecificationRouteLoggingPolicyAccessLogResult'], + execution_logs: Sequence['outputs.GetApiDeploymentSpecificationRouteLoggingPolicyExecutionLogResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("access_logs", access_logs) + _setter("execution_logs", execution_logs) @property @pulumi.getter(name="accessLogs") @@ -10771,7 +13237,16 @@ def __init__(__self__, *, """ :param bool is_enabled: Whether this policy is currently enabled. """ - pulumi.set(__self__, "is_enabled", is_enabled) + GetApiDeploymentSpecificationRouteLoggingPolicyAccessLogResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_enabled", is_enabled) @property @pulumi.getter(name="isEnabled") @@ -10791,8 +13266,19 @@ def __init__(__self__, *, :param bool is_enabled: Whether this policy is currently enabled. :param str log_level: Specifies the log level used to control logging output of execution logs. Enabling logging at a given level also enables logging at all higher levels. """ - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "log_level", log_level) + GetApiDeploymentSpecificationRouteLoggingPolicyExecutionLogResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + log_level=log_level, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: bool, + log_level: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_enabled", is_enabled) + _setter("log_level", log_level) @property @pulumi.getter(name="isEnabled") @@ -10832,14 +13318,37 @@ def __init__(__self__, *, :param Sequence['GetApiDeploymentSpecificationRouteRequestPolicyQueryParameterValidationArgs'] query_parameter_validations: Validate the URL query parameters on the incoming API requests on a specific route. :param Sequence['GetApiDeploymentSpecificationRouteRequestPolicyResponseCacheLookupArgs'] response_cache_lookups: Base policy for Response Cache lookup. """ - pulumi.set(__self__, "authorizations", authorizations) - pulumi.set(__self__, "body_validations", body_validations) - pulumi.set(__self__, "cors", cors) - pulumi.set(__self__, "header_transformations", header_transformations) - pulumi.set(__self__, "header_validations", header_validations) - pulumi.set(__self__, "query_parameter_transformations", query_parameter_transformations) - pulumi.set(__self__, "query_parameter_validations", query_parameter_validations) - pulumi.set(__self__, "response_cache_lookups", response_cache_lookups) + GetApiDeploymentSpecificationRouteRequestPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + authorizations=authorizations, + body_validations=body_validations, + cors=cors, + header_transformations=header_transformations, + header_validations=header_validations, + query_parameter_transformations=query_parameter_transformations, + query_parameter_validations=query_parameter_validations, + response_cache_lookups=response_cache_lookups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + authorizations: Sequence['outputs.GetApiDeploymentSpecificationRouteRequestPolicyAuthorizationResult'], + body_validations: Sequence['outputs.GetApiDeploymentSpecificationRouteRequestPolicyBodyValidationResult'], + cors: Sequence['outputs.GetApiDeploymentSpecificationRouteRequestPolicyCorResult'], + header_transformations: Sequence['outputs.GetApiDeploymentSpecificationRouteRequestPolicyHeaderTransformationResult'], + header_validations: Sequence['outputs.GetApiDeploymentSpecificationRouteRequestPolicyHeaderValidationResult'], + query_parameter_transformations: Sequence['outputs.GetApiDeploymentSpecificationRouteRequestPolicyQueryParameterTransformationResult'], + query_parameter_validations: Sequence['outputs.GetApiDeploymentSpecificationRouteRequestPolicyQueryParameterValidationResult'], + response_cache_lookups: Sequence['outputs.GetApiDeploymentSpecificationRouteRequestPolicyResponseCacheLookupResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("authorizations", authorizations) + _setter("body_validations", body_validations) + _setter("cors", cors) + _setter("header_transformations", header_transformations) + _setter("header_validations", header_validations) + _setter("query_parameter_transformations", query_parameter_transformations) + _setter("query_parameter_validations", query_parameter_validations) + _setter("response_cache_lookups", response_cache_lookups) @property @pulumi.getter @@ -10915,8 +13424,19 @@ def __init__(__self__, *, :param Sequence[str] allowed_scopes: A user whose scope includes any of these access ranges is allowed on this route. Access ranges are case-sensitive. :param str type: Type of the Response Cache Store Policy. """ - pulumi.set(__self__, "allowed_scopes", allowed_scopes) - pulumi.set(__self__, "type", type) + GetApiDeploymentSpecificationRouteRequestPolicyAuthorizationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_scopes=allowed_scopes, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_scopes: Sequence[str], + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allowed_scopes", allowed_scopes) + _setter("type", type) @property @pulumi.getter(name="allowedScopes") @@ -10946,9 +13466,22 @@ def __init__(__self__, *, :param bool required: Determines if the parameter is required in the request. :param str validation_mode: Validation behavior mode. """ - pulumi.set(__self__, "contents", contents) - pulumi.set(__self__, "required", required) - pulumi.set(__self__, "validation_mode", validation_mode) + GetApiDeploymentSpecificationRouteRequestPolicyBodyValidationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + contents=contents, + required=required, + validation_mode=validation_mode, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + contents: Sequence['outputs.GetApiDeploymentSpecificationRouteRequestPolicyBodyValidationContentResult'], + required: bool, + validation_mode: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("contents", contents) + _setter("required", required) + _setter("validation_mode", validation_mode) @property @pulumi.getter @@ -10984,8 +13517,19 @@ def __init__(__self__, *, :param str media_type: The media type is a [media type range](https://tools.ietf.org/html/rfc7231#appendix-D) subset restricted to the following schema :param str validation_type: Validation type defines the content validation method. """ - pulumi.set(__self__, "media_type", media_type) - pulumi.set(__self__, "validation_type", validation_type) + GetApiDeploymentSpecificationRouteRequestPolicyBodyValidationContentResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + media_type=media_type, + validation_type=validation_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + media_type: str, + validation_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("media_type", media_type) + _setter("validation_type", validation_type) @property @pulumi.getter(name="mediaType") @@ -11021,12 +13565,31 @@ def __init__(__self__, *, :param bool is_allow_credentials_enabled: Whether to send the Access-Control-Allow-Credentials header to allow CORS requests with cookies. :param int max_age_in_seconds: The time in seconds for the client to cache preflight responses. This is sent as the Access-Control-Max-Age if greater than 0. """ - pulumi.set(__self__, "allowed_headers", allowed_headers) - pulumi.set(__self__, "allowed_methods", allowed_methods) - pulumi.set(__self__, "allowed_origins", allowed_origins) - pulumi.set(__self__, "exposed_headers", exposed_headers) - pulumi.set(__self__, "is_allow_credentials_enabled", is_allow_credentials_enabled) - pulumi.set(__self__, "max_age_in_seconds", max_age_in_seconds) + GetApiDeploymentSpecificationRouteRequestPolicyCorResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_headers=allowed_headers, + allowed_methods=allowed_methods, + allowed_origins=allowed_origins, + exposed_headers=exposed_headers, + is_allow_credentials_enabled=is_allow_credentials_enabled, + max_age_in_seconds=max_age_in_seconds, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_headers: Sequence[str], + allowed_methods: Sequence[str], + allowed_origins: Sequence[str], + exposed_headers: Sequence[str], + is_allow_credentials_enabled: bool, + max_age_in_seconds: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allowed_headers", allowed_headers) + _setter("allowed_methods", allowed_methods) + _setter("allowed_origins", allowed_origins) + _setter("exposed_headers", exposed_headers) + _setter("is_allow_credentials_enabled", is_allow_credentials_enabled) + _setter("max_age_in_seconds", max_age_in_seconds) @property @pulumi.getter(name="allowedHeaders") @@ -11088,9 +13651,22 @@ def __init__(__self__, *, :param Sequence['GetApiDeploymentSpecificationRouteRequestPolicyHeaderTransformationRenameHeaderArgs'] rename_headers: Rename HTTP headers as they pass through the gateway. :param Sequence['GetApiDeploymentSpecificationRouteRequestPolicyHeaderTransformationSetHeaderArgs'] set_headers: Set HTTP headers as they pass through the gateway. """ - pulumi.set(__self__, "filter_headers", filter_headers) - pulumi.set(__self__, "rename_headers", rename_headers) - pulumi.set(__self__, "set_headers", set_headers) + GetApiDeploymentSpecificationRouteRequestPolicyHeaderTransformationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + filter_headers=filter_headers, + rename_headers=rename_headers, + set_headers=set_headers, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + filter_headers: Sequence['outputs.GetApiDeploymentSpecificationRouteRequestPolicyHeaderTransformationFilterHeaderResult'], + rename_headers: Sequence['outputs.GetApiDeploymentSpecificationRouteRequestPolicyHeaderTransformationRenameHeaderResult'], + set_headers: Sequence['outputs.GetApiDeploymentSpecificationRouteRequestPolicyHeaderTransformationSetHeaderResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("filter_headers", filter_headers) + _setter("rename_headers", rename_headers) + _setter("set_headers", set_headers) @property @pulumi.getter(name="filterHeaders") @@ -11126,8 +13702,19 @@ def __init__(__self__, *, :param Sequence['GetApiDeploymentSpecificationRouteRequestPolicyHeaderTransformationFilterHeaderItemArgs'] items: The list of headers. :param str type: Type of the Response Cache Store Policy. """ - pulumi.set(__self__, "items", items) - pulumi.set(__self__, "type", type) + GetApiDeploymentSpecificationRouteRequestPolicyHeaderTransformationFilterHeaderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetApiDeploymentSpecificationRouteRequestPolicyHeaderTransformationFilterHeaderItemResult'], + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) + _setter("type", type) @property @pulumi.getter @@ -11153,7 +13740,16 @@ def __init__(__self__, *, """ :param str name: The case-insensitive name of the header. This name must be unique across transformation policies. """ - pulumi.set(__self__, "name", name) + GetApiDeploymentSpecificationRouteRequestPolicyHeaderTransformationFilterHeaderItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -11171,7 +13767,16 @@ def __init__(__self__, *, """ :param Sequence['GetApiDeploymentSpecificationRouteRequestPolicyHeaderTransformationRenameHeaderItemArgs'] items: The list of headers. """ - pulumi.set(__self__, "items", items) + GetApiDeploymentSpecificationRouteRequestPolicyHeaderTransformationRenameHeaderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetApiDeploymentSpecificationRouteRequestPolicyHeaderTransformationRenameHeaderItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -11191,8 +13796,19 @@ def __init__(__self__, *, :param str from_: The original case-insensitive name of the header. This name must be unique across transformation policies. :param str to: The new name of the header. This name must be unique across transformation policies. """ - pulumi.set(__self__, "from_", from_) - pulumi.set(__self__, "to", to) + GetApiDeploymentSpecificationRouteRequestPolicyHeaderTransformationRenameHeaderItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + from_=from_, + to=to, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + from_: str, + to: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("from_", from_) + _setter("to", to) @property @pulumi.getter(name="from") @@ -11218,7 +13834,16 @@ def __init__(__self__, *, """ :param Sequence['GetApiDeploymentSpecificationRouteRequestPolicyHeaderTransformationSetHeaderItemArgs'] items: The list of headers. """ - pulumi.set(__self__, "items", items) + GetApiDeploymentSpecificationRouteRequestPolicyHeaderTransformationSetHeaderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetApiDeploymentSpecificationRouteRequestPolicyHeaderTransformationSetHeaderItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -11240,9 +13865,22 @@ def __init__(__self__, *, :param str name: The case-insensitive name of the header. This name must be unique across transformation policies. :param Sequence[str] values: A list of new values. Each value can be a constant or may include one or more expressions enclosed within ${} delimiters. """ - pulumi.set(__self__, "if_exists", if_exists) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetApiDeploymentSpecificationRouteRequestPolicyHeaderTransformationSetHeaderItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + if_exists=if_exists, + name=name, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + if_exists: str, + name: str, + values: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("if_exists", if_exists) + _setter("name", name) + _setter("values", values) @property @pulumi.getter(name="ifExists") @@ -11277,8 +13915,19 @@ def __init__(__self__, *, """ :param str validation_mode: Validation behavior mode. """ - pulumi.set(__self__, "headers", headers) - pulumi.set(__self__, "validation_mode", validation_mode) + GetApiDeploymentSpecificationRouteRequestPolicyHeaderValidationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + headers=headers, + validation_mode=validation_mode, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + headers: Sequence['outputs.GetApiDeploymentSpecificationRouteRequestPolicyHeaderValidationHeaderResult'], + validation_mode: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("headers", headers) + _setter("validation_mode", validation_mode) @property @pulumi.getter @@ -11303,8 +13952,19 @@ def __init__(__self__, *, :param str name: The case-insensitive name of the header. This name must be unique across transformation policies. :param bool required: Determines if the parameter is required in the request. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "required", required) + GetApiDeploymentSpecificationRouteRequestPolicyHeaderValidationHeaderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + required=required, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + required: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("required", required) @property @pulumi.getter @@ -11334,9 +13994,22 @@ def __init__(__self__, *, :param Sequence['GetApiDeploymentSpecificationRouteRequestPolicyQueryParameterTransformationRenameQueryParameterArgs'] rename_query_parameters: Rename parameters on the query string as they pass through the gateway. :param Sequence['GetApiDeploymentSpecificationRouteRequestPolicyQueryParameterTransformationSetQueryParameterArgs'] set_query_parameters: Set parameters on the query string as they pass through the gateway. """ - pulumi.set(__self__, "filter_query_parameters", filter_query_parameters) - pulumi.set(__self__, "rename_query_parameters", rename_query_parameters) - pulumi.set(__self__, "set_query_parameters", set_query_parameters) + GetApiDeploymentSpecificationRouteRequestPolicyQueryParameterTransformationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + filter_query_parameters=filter_query_parameters, + rename_query_parameters=rename_query_parameters, + set_query_parameters=set_query_parameters, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + filter_query_parameters: Sequence['outputs.GetApiDeploymentSpecificationRouteRequestPolicyQueryParameterTransformationFilterQueryParameterResult'], + rename_query_parameters: Sequence['outputs.GetApiDeploymentSpecificationRouteRequestPolicyQueryParameterTransformationRenameQueryParameterResult'], + set_query_parameters: Sequence['outputs.GetApiDeploymentSpecificationRouteRequestPolicyQueryParameterTransformationSetQueryParameterResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("filter_query_parameters", filter_query_parameters) + _setter("rename_query_parameters", rename_query_parameters) + _setter("set_query_parameters", set_query_parameters) @property @pulumi.getter(name="filterQueryParameters") @@ -11372,8 +14045,19 @@ def __init__(__self__, *, :param Sequence['GetApiDeploymentSpecificationRouteRequestPolicyQueryParameterTransformationFilterQueryParameterItemArgs'] items: The list of headers. :param str type: Type of the Response Cache Store Policy. """ - pulumi.set(__self__, "items", items) - pulumi.set(__self__, "type", type) + GetApiDeploymentSpecificationRouteRequestPolicyQueryParameterTransformationFilterQueryParameterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetApiDeploymentSpecificationRouteRequestPolicyQueryParameterTransformationFilterQueryParameterItemResult'], + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) + _setter("type", type) @property @pulumi.getter @@ -11399,7 +14083,16 @@ def __init__(__self__, *, """ :param str name: The case-insensitive name of the header. This name must be unique across transformation policies. """ - pulumi.set(__self__, "name", name) + GetApiDeploymentSpecificationRouteRequestPolicyQueryParameterTransformationFilterQueryParameterItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -11417,7 +14110,16 @@ def __init__(__self__, *, """ :param Sequence['GetApiDeploymentSpecificationRouteRequestPolicyQueryParameterTransformationRenameQueryParameterItemArgs'] items: The list of headers. """ - pulumi.set(__self__, "items", items) + GetApiDeploymentSpecificationRouteRequestPolicyQueryParameterTransformationRenameQueryParameterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetApiDeploymentSpecificationRouteRequestPolicyQueryParameterTransformationRenameQueryParameterItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -11437,8 +14139,19 @@ def __init__(__self__, *, :param str from_: The original case-insensitive name of the header. This name must be unique across transformation policies. :param str to: The new name of the header. This name must be unique across transformation policies. """ - pulumi.set(__self__, "from_", from_) - pulumi.set(__self__, "to", to) + GetApiDeploymentSpecificationRouteRequestPolicyQueryParameterTransformationRenameQueryParameterItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + from_=from_, + to=to, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + from_: str, + to: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("from_", from_) + _setter("to", to) @property @pulumi.getter(name="from") @@ -11464,7 +14177,16 @@ def __init__(__self__, *, """ :param Sequence['GetApiDeploymentSpecificationRouteRequestPolicyQueryParameterTransformationSetQueryParameterItemArgs'] items: The list of headers. """ - pulumi.set(__self__, "items", items) + GetApiDeploymentSpecificationRouteRequestPolicyQueryParameterTransformationSetQueryParameterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetApiDeploymentSpecificationRouteRequestPolicyQueryParameterTransformationSetQueryParameterItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -11486,9 +14208,22 @@ def __init__(__self__, *, :param str name: The case-insensitive name of the header. This name must be unique across transformation policies. :param Sequence[str] values: A list of new values. Each value can be a constant or may include one or more expressions enclosed within ${} delimiters. """ - pulumi.set(__self__, "if_exists", if_exists) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetApiDeploymentSpecificationRouteRequestPolicyQueryParameterTransformationSetQueryParameterItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + if_exists=if_exists, + name=name, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + if_exists: str, + name: str, + values: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("if_exists", if_exists) + _setter("name", name) + _setter("values", values) @property @pulumi.getter(name="ifExists") @@ -11523,8 +14258,19 @@ def __init__(__self__, *, """ :param str validation_mode: Validation behavior mode. """ - pulumi.set(__self__, "parameters", parameters) - pulumi.set(__self__, "validation_mode", validation_mode) + GetApiDeploymentSpecificationRouteRequestPolicyQueryParameterValidationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + parameters=parameters, + validation_mode=validation_mode, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + parameters: Sequence['outputs.GetApiDeploymentSpecificationRouteRequestPolicyQueryParameterValidationParameterResult'], + validation_mode: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("parameters", parameters) + _setter("validation_mode", validation_mode) @property @pulumi.getter @@ -11549,8 +14295,19 @@ def __init__(__self__, *, :param str name: The case-insensitive name of the header. This name must be unique across transformation policies. :param bool required: Determines if the parameter is required in the request. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "required", required) + GetApiDeploymentSpecificationRouteRequestPolicyQueryParameterValidationParameterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + required=required, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + required: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("required", required) @property @pulumi.getter @@ -11582,10 +14339,25 @@ def __init__(__self__, *, :param bool is_private_caching_enabled: Set true to allow caching responses where the request has an Authorization header. Ensure you have configured your cache key additions to get the level of isolation across authenticated requests that you require. :param str type: Type of the Response Cache Store Policy. """ - pulumi.set(__self__, "cache_key_additions", cache_key_additions) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "is_private_caching_enabled", is_private_caching_enabled) - pulumi.set(__self__, "type", type) + GetApiDeploymentSpecificationRouteRequestPolicyResponseCacheLookupResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cache_key_additions=cache_key_additions, + is_enabled=is_enabled, + is_private_caching_enabled=is_private_caching_enabled, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cache_key_additions: Sequence[str], + is_enabled: bool, + is_private_caching_enabled: bool, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cache_key_additions", cache_key_additions) + _setter("is_enabled", is_enabled) + _setter("is_private_caching_enabled", is_private_caching_enabled) + _setter("type", type) @property @pulumi.getter(name="cacheKeyAdditions") @@ -11629,8 +14401,19 @@ def __init__(__self__, *, :param Sequence['GetApiDeploymentSpecificationRouteResponsePolicyHeaderTransformationArgs'] header_transformations: A set of transformations to apply to HTTP headers that pass through the gateway. :param Sequence['GetApiDeploymentSpecificationRouteResponsePolicyResponseCacheStoreArgs'] response_cache_stores: Base policy for how a response from a backend is cached in the Response Cache. """ - pulumi.set(__self__, "header_transformations", header_transformations) - pulumi.set(__self__, "response_cache_stores", response_cache_stores) + GetApiDeploymentSpecificationRouteResponsePolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + header_transformations=header_transformations, + response_cache_stores=response_cache_stores, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + header_transformations: Sequence['outputs.GetApiDeploymentSpecificationRouteResponsePolicyHeaderTransformationResult'], + response_cache_stores: Sequence['outputs.GetApiDeploymentSpecificationRouteResponsePolicyResponseCacheStoreResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("header_transformations", header_transformations) + _setter("response_cache_stores", response_cache_stores) @property @pulumi.getter(name="headerTransformations") @@ -11660,9 +14443,22 @@ def __init__(__self__, *, :param Sequence['GetApiDeploymentSpecificationRouteResponsePolicyHeaderTransformationRenameHeaderArgs'] rename_headers: Rename HTTP headers as they pass through the gateway. :param Sequence['GetApiDeploymentSpecificationRouteResponsePolicyHeaderTransformationSetHeaderArgs'] set_headers: Set HTTP headers as they pass through the gateway. """ - pulumi.set(__self__, "filter_headers", filter_headers) - pulumi.set(__self__, "rename_headers", rename_headers) - pulumi.set(__self__, "set_headers", set_headers) + GetApiDeploymentSpecificationRouteResponsePolicyHeaderTransformationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + filter_headers=filter_headers, + rename_headers=rename_headers, + set_headers=set_headers, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + filter_headers: Sequence['outputs.GetApiDeploymentSpecificationRouteResponsePolicyHeaderTransformationFilterHeaderResult'], + rename_headers: Sequence['outputs.GetApiDeploymentSpecificationRouteResponsePolicyHeaderTransformationRenameHeaderResult'], + set_headers: Sequence['outputs.GetApiDeploymentSpecificationRouteResponsePolicyHeaderTransformationSetHeaderResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("filter_headers", filter_headers) + _setter("rename_headers", rename_headers) + _setter("set_headers", set_headers) @property @pulumi.getter(name="filterHeaders") @@ -11698,8 +14494,19 @@ def __init__(__self__, *, :param Sequence['GetApiDeploymentSpecificationRouteResponsePolicyHeaderTransformationFilterHeaderItemArgs'] items: The list of headers. :param str type: Type of the Response Cache Store Policy. """ - pulumi.set(__self__, "items", items) - pulumi.set(__self__, "type", type) + GetApiDeploymentSpecificationRouteResponsePolicyHeaderTransformationFilterHeaderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetApiDeploymentSpecificationRouteResponsePolicyHeaderTransformationFilterHeaderItemResult'], + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) + _setter("type", type) @property @pulumi.getter @@ -11725,7 +14532,16 @@ def __init__(__self__, *, """ :param str name: The case-insensitive name of the header. This name must be unique across transformation policies. """ - pulumi.set(__self__, "name", name) + GetApiDeploymentSpecificationRouteResponsePolicyHeaderTransformationFilterHeaderItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -11743,7 +14559,16 @@ def __init__(__self__, *, """ :param Sequence['GetApiDeploymentSpecificationRouteResponsePolicyHeaderTransformationRenameHeaderItemArgs'] items: The list of headers. """ - pulumi.set(__self__, "items", items) + GetApiDeploymentSpecificationRouteResponsePolicyHeaderTransformationRenameHeaderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetApiDeploymentSpecificationRouteResponsePolicyHeaderTransformationRenameHeaderItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -11763,8 +14588,19 @@ def __init__(__self__, *, :param str from_: The original case-insensitive name of the header. This name must be unique across transformation policies. :param str to: The new name of the header. This name must be unique across transformation policies. """ - pulumi.set(__self__, "from_", from_) - pulumi.set(__self__, "to", to) + GetApiDeploymentSpecificationRouteResponsePolicyHeaderTransformationRenameHeaderItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + from_=from_, + to=to, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + from_: str, + to: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("from_", from_) + _setter("to", to) @property @pulumi.getter(name="from") @@ -11790,7 +14626,16 @@ def __init__(__self__, *, """ :param Sequence['GetApiDeploymentSpecificationRouteResponsePolicyHeaderTransformationSetHeaderItemArgs'] items: The list of headers. """ - pulumi.set(__self__, "items", items) + GetApiDeploymentSpecificationRouteResponsePolicyHeaderTransformationSetHeaderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetApiDeploymentSpecificationRouteResponsePolicyHeaderTransformationSetHeaderItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -11812,9 +14657,22 @@ def __init__(__self__, *, :param str name: The case-insensitive name of the header. This name must be unique across transformation policies. :param Sequence[str] values: A list of new values. Each value can be a constant or may include one or more expressions enclosed within ${} delimiters. """ - pulumi.set(__self__, "if_exists", if_exists) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetApiDeploymentSpecificationRouteResponsePolicyHeaderTransformationSetHeaderItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + if_exists=if_exists, + name=name, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + if_exists: str, + name: str, + values: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("if_exists", if_exists) + _setter("name", name) + _setter("values", values) @property @pulumi.getter(name="ifExists") @@ -11850,8 +14708,19 @@ def __init__(__self__, *, :param int time_to_live_in_seconds: Sets the number of seconds for a response from a backend being stored in the Response Cache before it expires. :param str type: Type of the Response Cache Store Policy. """ - pulumi.set(__self__, "time_to_live_in_seconds", time_to_live_in_seconds) - pulumi.set(__self__, "type", type) + GetApiDeploymentSpecificationRouteResponsePolicyResponseCacheStoreResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + time_to_live_in_seconds=time_to_live_in_seconds, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + time_to_live_in_seconds: int, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("time_to_live_in_seconds", time_to_live_in_seconds) + _setter("type", type) @property @pulumi.getter(name="timeToLiveInSeconds") @@ -11879,8 +14748,19 @@ def __init__(__self__, *, :param str name: Name of the validation. :param str result: Result of the validation. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "result", result) + GetApiValidationResultResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + result=result, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + result: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("result", result) @property @pulumi.getter @@ -11910,9 +14790,22 @@ def __init__(__self__, *, :param str name: Name of the validation. :param str result: Result of the validation. """ - pulumi.set(__self__, "details", details) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "result", result) + GetApiValidationValidationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + details=details, + name=name, + result=result, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + details: Sequence['outputs.GetApiValidationValidationDetailResult'], + name: str, + result: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("details", details) + _setter("name", name) + _setter("result", result) @property @pulumi.getter @@ -11950,9 +14843,22 @@ def __init__(__self__, *, :param str severity: Severity of the issue. :param Sequence['GetApiValidationValidationDetailSrcArgs'] srcs: Position of the issue in the specification file (line, column). """ - pulumi.set(__self__, "msg", msg) - pulumi.set(__self__, "severity", severity) - pulumi.set(__self__, "srcs", srcs) + GetApiValidationValidationDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + msg=msg, + severity=severity, + srcs=srcs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + msg: str, + severity: str, + srcs: Sequence['outputs.GetApiValidationValidationDetailSrcResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("msg", msg) + _setter("severity", severity) + _setter("srcs", srcs) @property @pulumi.getter @@ -11983,7 +14889,16 @@ def srcs(self) -> Sequence['outputs.GetApiValidationValidationDetailSrcResult']: class GetApiValidationValidationDetailSrcResult(dict): def __init__(__self__, *, items: Sequence[Any]): - pulumi.set(__self__, "items", items) + GetApiValidationValidationDetailSrcResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence[Any], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -11995,7 +14910,16 @@ def items(self) -> Sequence[Any]: class GetApisApiCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetApisApiCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetApisApiCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetApisApiCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -12038,18 +14962,49 @@ def __init__(__self__, *, :param str time_updated: The time this resource was last updated. An RFC3339 formatted datetime string. :param Sequence['GetApisApiCollectionItemValidationResultArgs'] validation_results: Status of each feature available from the API. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "content", content) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "specification_type", specification_type) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "validation_results", validation_results) + GetApisApiCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + content=content, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + specification_type=specification_type, + state=state, + time_created=time_created, + time_updated=time_updated, + validation_results=validation_results, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + content: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + specification_type: str, + state: str, + time_created: str, + time_updated: str, + validation_results: Sequence['outputs.GetApisApiCollectionItemValidationResultResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("content", content) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("specification_type", specification_type) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("validation_results", validation_results) @property @pulumi.getter(name="compartmentId") @@ -12161,8 +15116,19 @@ def __init__(__self__, *, :param str name: Name of the validation. :param str result: Result of the validation. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "result", result) + GetApisApiCollectionItemValidationResultResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + result=result, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + result: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("result", result) @property @pulumi.getter @@ -12190,10 +15156,23 @@ def __init__(__self__, *, """ :param str name: Name of the validation. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetApisFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -12218,7 +15197,16 @@ def regex(self) -> Optional[bool]: class GetCertificatesCertificateCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetCertificatesCertificateCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetCertificatesCertificateCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetCertificatesCertificateCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -12258,20 +15246,55 @@ def __init__(__self__, *, :param str time_not_valid_after: The date and time the certificate will expire. :param str time_updated: The time this resource was last updated. An RFC3339 formatted datetime string. """ - pulumi.set(__self__, "certificate", certificate) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "intermediate_certificates", intermediate_certificates) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "private_key", private_key) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "subject_names", subject_names) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_not_valid_after", time_not_valid_after) - pulumi.set(__self__, "time_updated", time_updated) + GetCertificatesCertificateCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + certificate=certificate, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + intermediate_certificates=intermediate_certificates, + lifecycle_details=lifecycle_details, + private_key=private_key, + state=state, + subject_names=subject_names, + time_created=time_created, + time_not_valid_after=time_not_valid_after, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + certificate: str, + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + intermediate_certificates: str, + lifecycle_details: str, + private_key: str, + state: str, + subject_names: Sequence[str], + time_created: str, + time_not_valid_after: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("certificate", certificate) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("intermediate_certificates", intermediate_certificates) + _setter("lifecycle_details", lifecycle_details) + _setter("private_key", private_key) + _setter("state", state) + _setter("subject_names", subject_names) + _setter("time_created", time_created) + _setter("time_not_valid_after", time_not_valid_after) + _setter("time_updated", time_updated) @property @pulumi.getter @@ -12389,10 +15412,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetCertificatesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -12421,9 +15457,22 @@ def __init__(__self__, *, :param Sequence['GetDeploymentSpecificationRequestPolicyArgs'] request_policies: Behavior applied to any requests received by the API on this route. :param Sequence['GetDeploymentSpecificationRouteArgs'] routes: A list of routes that this API exposes. """ - pulumi.set(__self__, "logging_policies", logging_policies) - pulumi.set(__self__, "request_policies", request_policies) - pulumi.set(__self__, "routes", routes) + GetDeploymentSpecificationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + logging_policies=logging_policies, + request_policies=request_policies, + routes=routes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + logging_policies: Sequence['outputs.GetDeploymentSpecificationLoggingPolicyResult'], + request_policies: Sequence['outputs.GetDeploymentSpecificationRequestPolicyResult'], + routes: Sequence['outputs.GetDeploymentSpecificationRouteResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("logging_policies", logging_policies) + _setter("request_policies", request_policies) + _setter("routes", routes) @property @pulumi.getter(name="loggingPolicies") @@ -12459,8 +15508,19 @@ def __init__(__self__, *, :param Sequence['GetDeploymentSpecificationLoggingPolicyAccessLogArgs'] access_logs: Configures the logging policies for the access logs of an API Deployment. :param Sequence['GetDeploymentSpecificationLoggingPolicyExecutionLogArgs'] execution_logs: Configures the logging policies for the execution logs of an API Deployment. """ - pulumi.set(__self__, "access_logs", access_logs) - pulumi.set(__self__, "execution_logs", execution_logs) + GetDeploymentSpecificationLoggingPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + access_logs=access_logs, + execution_logs=execution_logs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access_logs: Sequence['outputs.GetDeploymentSpecificationLoggingPolicyAccessLogResult'], + execution_logs: Sequence['outputs.GetDeploymentSpecificationLoggingPolicyExecutionLogResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("access_logs", access_logs) + _setter("execution_logs", execution_logs) @property @pulumi.getter(name="accessLogs") @@ -12486,7 +15546,16 @@ def __init__(__self__, *, """ :param bool is_enabled: Whether this policy is currently enabled. """ - pulumi.set(__self__, "is_enabled", is_enabled) + GetDeploymentSpecificationLoggingPolicyAccessLogResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_enabled", is_enabled) @property @pulumi.getter(name="isEnabled") @@ -12506,8 +15575,19 @@ def __init__(__self__, *, :param bool is_enabled: Whether this policy is currently enabled. :param str log_level: Specifies the log level used to control logging output of execution logs. Enabling logging at a given level also enables logging at all higher levels. """ - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "log_level", log_level) + GetDeploymentSpecificationLoggingPolicyExecutionLogResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + log_level=log_level, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: bool, + log_level: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_enabled", is_enabled) + _setter("log_level", log_level) @property @pulumi.getter(name="isEnabled") @@ -12543,12 +15623,31 @@ def __init__(__self__, *, :param Sequence['GetDeploymentSpecificationRequestPolicyRateLimitingArgs'] rate_limitings: Limit the number of requests that should be handled for the specified window using a specfic key. :param Sequence['GetDeploymentSpecificationRequestPolicyUsagePlanArgs'] usage_plans: Usage plan policies for this deployment """ - pulumi.set(__self__, "authentications", authentications) - pulumi.set(__self__, "cors", cors) - pulumi.set(__self__, "dynamic_authentications", dynamic_authentications) - pulumi.set(__self__, "mutual_tls", mutual_tls) - pulumi.set(__self__, "rate_limitings", rate_limitings) - pulumi.set(__self__, "usage_plans", usage_plans) + GetDeploymentSpecificationRequestPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + authentications=authentications, + cors=cors, + dynamic_authentications=dynamic_authentications, + mutual_tls=mutual_tls, + rate_limitings=rate_limitings, + usage_plans=usage_plans, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + authentications: Sequence['outputs.GetDeploymentSpecificationRequestPolicyAuthenticationResult'], + cors: Sequence['outputs.GetDeploymentSpecificationRequestPolicyCorResult'], + dynamic_authentications: Sequence['outputs.GetDeploymentSpecificationRequestPolicyDynamicAuthenticationResult'], + mutual_tls: Sequence['outputs.GetDeploymentSpecificationRequestPolicyMutualTlResult'], + rate_limitings: Sequence['outputs.GetDeploymentSpecificationRequestPolicyRateLimitingResult'], + usage_plans: Sequence['outputs.GetDeploymentSpecificationRequestPolicyUsagePlanResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("authentications", authentications) + _setter("cors", cors) + _setter("dynamic_authentications", dynamic_authentications) + _setter("mutual_tls", mutual_tls) + _setter("rate_limitings", rate_limitings) + _setter("usage_plans", usage_plans) @property @pulumi.getter @@ -12633,21 +15732,58 @@ def __init__(__self__, *, :param Sequence['GetDeploymentSpecificationRequestPolicyAuthenticationValidationPolicyArgs'] validation_policies: Authentication Policies for the Token Authentication types. :param Sequence['GetDeploymentSpecificationRequestPolicyAuthenticationVerifyClaimArgs'] verify_claims: A list of claims which should be validated to consider the token valid. """ - pulumi.set(__self__, "audiences", audiences) - pulumi.set(__self__, "cache_keys", cache_keys) - pulumi.set(__self__, "function_id", function_id) - pulumi.set(__self__, "is_anonymous_access_allowed", is_anonymous_access_allowed) - pulumi.set(__self__, "issuers", issuers) - pulumi.set(__self__, "max_clock_skew_in_seconds", max_clock_skew_in_seconds) - pulumi.set(__self__, "parameters", parameters) - pulumi.set(__self__, "public_keys", public_keys) - pulumi.set(__self__, "token_auth_scheme", token_auth_scheme) - pulumi.set(__self__, "token_header", token_header) - pulumi.set(__self__, "token_query_param", token_query_param) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "validation_failure_policies", validation_failure_policies) - pulumi.set(__self__, "validation_policies", validation_policies) - pulumi.set(__self__, "verify_claims", verify_claims) + GetDeploymentSpecificationRequestPolicyAuthenticationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + audiences=audiences, + cache_keys=cache_keys, + function_id=function_id, + is_anonymous_access_allowed=is_anonymous_access_allowed, + issuers=issuers, + max_clock_skew_in_seconds=max_clock_skew_in_seconds, + parameters=parameters, + public_keys=public_keys, + token_auth_scheme=token_auth_scheme, + token_header=token_header, + token_query_param=token_query_param, + type=type, + validation_failure_policies=validation_failure_policies, + validation_policies=validation_policies, + verify_claims=verify_claims, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + audiences: Sequence[str], + cache_keys: Sequence[str], + function_id: str, + is_anonymous_access_allowed: bool, + issuers: Sequence[str], + max_clock_skew_in_seconds: float, + parameters: Mapping[str, Any], + public_keys: Sequence['outputs.GetDeploymentSpecificationRequestPolicyAuthenticationPublicKeyResult'], + token_auth_scheme: str, + token_header: str, + token_query_param: str, + type: str, + validation_failure_policies: Sequence['outputs.GetDeploymentSpecificationRequestPolicyAuthenticationValidationFailurePolicyResult'], + validation_policies: Sequence['outputs.GetDeploymentSpecificationRequestPolicyAuthenticationValidationPolicyResult'], + verify_claims: Sequence['outputs.GetDeploymentSpecificationRequestPolicyAuthenticationVerifyClaimResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("audiences", audiences) + _setter("cache_keys", cache_keys) + _setter("function_id", function_id) + _setter("is_anonymous_access_allowed", is_anonymous_access_allowed) + _setter("issuers", issuers) + _setter("max_clock_skew_in_seconds", max_clock_skew_in_seconds) + _setter("parameters", parameters) + _setter("public_keys", public_keys) + _setter("token_auth_scheme", token_auth_scheme) + _setter("token_header", token_header) + _setter("token_query_param", token_query_param) + _setter("type", type) + _setter("validation_failure_policies", validation_failure_policies) + _setter("validation_policies", validation_policies) + _setter("verify_claims", verify_claims) @property @pulumi.getter @@ -12782,11 +15918,28 @@ def __init__(__self__, *, :param str type: Type of the Response Cache Store Policy. :param str uri: The uri from which to retrieve the key. It must be accessible without authentication. """ - pulumi.set(__self__, "is_ssl_verify_disabled", is_ssl_verify_disabled) - pulumi.set(__self__, "keys", keys) - pulumi.set(__self__, "max_cache_duration_in_hours", max_cache_duration_in_hours) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "uri", uri) + GetDeploymentSpecificationRequestPolicyAuthenticationPublicKeyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_ssl_verify_disabled=is_ssl_verify_disabled, + keys=keys, + max_cache_duration_in_hours=max_cache_duration_in_hours, + type=type, + uri=uri, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_ssl_verify_disabled: bool, + keys: Sequence['outputs.GetDeploymentSpecificationRequestPolicyAuthenticationPublicKeyKeyResult'], + max_cache_duration_in_hours: int, + type: str, + uri: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_ssl_verify_disabled", is_ssl_verify_disabled) + _setter("keys", keys) + _setter("max_cache_duration_in_hours", max_cache_duration_in_hours) + _setter("type", type) + _setter("uri", uri) @property @pulumi.getter(name="isSslVerifyDisabled") @@ -12852,15 +16005,40 @@ def __init__(__self__, *, :param str n: The base64 url encoded modulus of the RSA public key represented by this key. :param str use: The intended use of the public key. """ - pulumi.set(__self__, "alg", alg) - pulumi.set(__self__, "e", e) - pulumi.set(__self__, "format", format) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "key_ops", key_ops) - pulumi.set(__self__, "kid", kid) - pulumi.set(__self__, "kty", kty) - pulumi.set(__self__, "n", n) - pulumi.set(__self__, "use", use) + GetDeploymentSpecificationRequestPolicyAuthenticationPublicKeyKeyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + alg=alg, + e=e, + format=format, + key=key, + key_ops=key_ops, + kid=kid, + kty=kty, + n=n, + use=use, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + alg: str, + e: str, + format: str, + key: str, + key_ops: Sequence[str], + kid: str, + kty: str, + n: str, + use: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("alg", alg) + _setter("e", e) + _setter("format", format) + _setter("key", key) + _setter("key_ops", key_ops) + _setter("kid", kid) + _setter("kty", kty) + _setter("n", n) + _setter("use", use) @property @pulumi.getter @@ -12968,20 +16146,55 @@ def __init__(__self__, *, :param bool use_cookies_for_session: Defines whether or not to use cookies for session maintenance. :param bool use_pkce: Defines whether or not to support PKCE. """ - pulumi.set(__self__, "client_details", client_details) - pulumi.set(__self__, "fallback_redirect_path", fallback_redirect_path) - pulumi.set(__self__, "logout_path", logout_path) - pulumi.set(__self__, "max_expiry_duration_in_hours", max_expiry_duration_in_hours) - pulumi.set(__self__, "response_code", response_code) - pulumi.set(__self__, "response_header_transformations", response_header_transformations) - pulumi.set(__self__, "response_message", response_message) - pulumi.set(__self__, "response_type", response_type) - pulumi.set(__self__, "scopes", scopes) - pulumi.set(__self__, "source_uri_details", source_uri_details) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "use_cookies_for_intermediate_steps", use_cookies_for_intermediate_steps) - pulumi.set(__self__, "use_cookies_for_session", use_cookies_for_session) - pulumi.set(__self__, "use_pkce", use_pkce) + GetDeploymentSpecificationRequestPolicyAuthenticationValidationFailurePolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + client_details=client_details, + fallback_redirect_path=fallback_redirect_path, + logout_path=logout_path, + max_expiry_duration_in_hours=max_expiry_duration_in_hours, + response_code=response_code, + response_header_transformations=response_header_transformations, + response_message=response_message, + response_type=response_type, + scopes=scopes, + source_uri_details=source_uri_details, + type=type, + use_cookies_for_intermediate_steps=use_cookies_for_intermediate_steps, + use_cookies_for_session=use_cookies_for_session, + use_pkce=use_pkce, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + client_details: Sequence['outputs.GetDeploymentSpecificationRequestPolicyAuthenticationValidationFailurePolicyClientDetailResult'], + fallback_redirect_path: str, + logout_path: str, + max_expiry_duration_in_hours: int, + response_code: str, + response_header_transformations: Sequence['outputs.GetDeploymentSpecificationRequestPolicyAuthenticationValidationFailurePolicyResponseHeaderTransformationResult'], + response_message: str, + response_type: str, + scopes: Sequence[str], + source_uri_details: Sequence['outputs.GetDeploymentSpecificationRequestPolicyAuthenticationValidationFailurePolicySourceUriDetailResult'], + type: str, + use_cookies_for_intermediate_steps: bool, + use_cookies_for_session: bool, + use_pkce: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("client_details", client_details) + _setter("fallback_redirect_path", fallback_redirect_path) + _setter("logout_path", logout_path) + _setter("max_expiry_duration_in_hours", max_expiry_duration_in_hours) + _setter("response_code", response_code) + _setter("response_header_transformations", response_header_transformations) + _setter("response_message", response_message) + _setter("response_type", response_type) + _setter("scopes", scopes) + _setter("source_uri_details", source_uri_details) + _setter("type", type) + _setter("use_cookies_for_intermediate_steps", use_cookies_for_intermediate_steps) + _setter("use_cookies_for_session", use_cookies_for_session) + _setter("use_pkce", use_pkce) @property @pulumi.getter(name="clientDetails") @@ -13109,10 +16322,25 @@ def __init__(__self__, *, :param str client_secret_version_number: The version number of the client secret to use. :param str type: Type of the Response Cache Store Policy. """ - pulumi.set(__self__, "client_id", client_id) - pulumi.set(__self__, "client_secret_id", client_secret_id) - pulumi.set(__self__, "client_secret_version_number", client_secret_version_number) - pulumi.set(__self__, "type", type) + GetDeploymentSpecificationRequestPolicyAuthenticationValidationFailurePolicyClientDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + client_id=client_id, + client_secret_id=client_secret_id, + client_secret_version_number=client_secret_version_number, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + client_id: str, + client_secret_id: str, + client_secret_version_number: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("client_id", client_id) + _setter("client_secret_id", client_secret_id) + _setter("client_secret_version_number", client_secret_version_number) + _setter("type", type) @property @pulumi.getter(name="clientId") @@ -13158,9 +16386,22 @@ def __init__(__self__, *, :param Sequence['GetDeploymentSpecificationRequestPolicyAuthenticationValidationFailurePolicyResponseHeaderTransformationRenameHeaderArgs'] rename_headers: Rename HTTP headers as they pass through the gateway. :param Sequence['GetDeploymentSpecificationRequestPolicyAuthenticationValidationFailurePolicyResponseHeaderTransformationSetHeaderArgs'] set_headers: Set HTTP headers as they pass through the gateway. """ - pulumi.set(__self__, "filter_headers", filter_headers) - pulumi.set(__self__, "rename_headers", rename_headers) - pulumi.set(__self__, "set_headers", set_headers) + GetDeploymentSpecificationRequestPolicyAuthenticationValidationFailurePolicyResponseHeaderTransformationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + filter_headers=filter_headers, + rename_headers=rename_headers, + set_headers=set_headers, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + filter_headers: Sequence['outputs.GetDeploymentSpecificationRequestPolicyAuthenticationValidationFailurePolicyResponseHeaderTransformationFilterHeaderResult'], + rename_headers: Sequence['outputs.GetDeploymentSpecificationRequestPolicyAuthenticationValidationFailurePolicyResponseHeaderTransformationRenameHeaderResult'], + set_headers: Sequence['outputs.GetDeploymentSpecificationRequestPolicyAuthenticationValidationFailurePolicyResponseHeaderTransformationSetHeaderResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("filter_headers", filter_headers) + _setter("rename_headers", rename_headers) + _setter("set_headers", set_headers) @property @pulumi.getter(name="filterHeaders") @@ -13196,8 +16437,19 @@ def __init__(__self__, *, :param Sequence['GetDeploymentSpecificationRequestPolicyAuthenticationValidationFailurePolicyResponseHeaderTransformationFilterHeaderItemArgs'] items: The list of headers. :param str type: Type of the Response Cache Store Policy. """ - pulumi.set(__self__, "items", items) - pulumi.set(__self__, "type", type) + GetDeploymentSpecificationRequestPolicyAuthenticationValidationFailurePolicyResponseHeaderTransformationFilterHeaderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeploymentSpecificationRequestPolicyAuthenticationValidationFailurePolicyResponseHeaderTransformationFilterHeaderItemResult'], + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) + _setter("type", type) @property @pulumi.getter @@ -13223,7 +16475,16 @@ def __init__(__self__, *, """ :param str name: The case-insensitive name of the header. This name must be unique across transformation policies. """ - pulumi.set(__self__, "name", name) + GetDeploymentSpecificationRequestPolicyAuthenticationValidationFailurePolicyResponseHeaderTransformationFilterHeaderItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -13241,7 +16502,16 @@ def __init__(__self__, *, """ :param Sequence['GetDeploymentSpecificationRequestPolicyAuthenticationValidationFailurePolicyResponseHeaderTransformationRenameHeaderItemArgs'] items: The list of headers. """ - pulumi.set(__self__, "items", items) + GetDeploymentSpecificationRequestPolicyAuthenticationValidationFailurePolicyResponseHeaderTransformationRenameHeaderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeploymentSpecificationRequestPolicyAuthenticationValidationFailurePolicyResponseHeaderTransformationRenameHeaderItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -13261,8 +16531,19 @@ def __init__(__self__, *, :param str from_: The original case-insensitive name of the header. This name must be unique across transformation policies. :param str to: The new name of the header. This name must be unique across transformation policies. """ - pulumi.set(__self__, "from_", from_) - pulumi.set(__self__, "to", to) + GetDeploymentSpecificationRequestPolicyAuthenticationValidationFailurePolicyResponseHeaderTransformationRenameHeaderItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + from_=from_, + to=to, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + from_: str, + to: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("from_", from_) + _setter("to", to) @property @pulumi.getter(name="from") @@ -13288,7 +16569,16 @@ def __init__(__self__, *, """ :param Sequence['GetDeploymentSpecificationRequestPolicyAuthenticationValidationFailurePolicyResponseHeaderTransformationSetHeaderItemArgs'] items: The list of headers. """ - pulumi.set(__self__, "items", items) + GetDeploymentSpecificationRequestPolicyAuthenticationValidationFailurePolicyResponseHeaderTransformationSetHeaderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeploymentSpecificationRequestPolicyAuthenticationValidationFailurePolicyResponseHeaderTransformationSetHeaderItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -13310,9 +16600,22 @@ def __init__(__self__, *, :param str name: The case-insensitive name of the header. This name must be unique across transformation policies. :param Sequence[str] values: A list of new values. Each value can be a constant or may include one or more expressions enclosed within ${} delimiters. """ - pulumi.set(__self__, "if_exists", if_exists) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDeploymentSpecificationRequestPolicyAuthenticationValidationFailurePolicyResponseHeaderTransformationSetHeaderItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + if_exists=if_exists, + name=name, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + if_exists: str, + name: str, + values: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("if_exists", if_exists) + _setter("name", name) + _setter("values", values) @property @pulumi.getter(name="ifExists") @@ -13348,8 +16651,19 @@ def __init__(__self__, *, :param str type: Type of the Response Cache Store Policy. :param str uri: The uri from which to retrieve the key. It must be accessible without authentication. """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "uri", uri) + GetDeploymentSpecificationRequestPolicyAuthenticationValidationFailurePolicySourceUriDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + uri=uri, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + uri: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("uri", uri) @property @pulumi.getter @@ -13389,14 +16703,37 @@ def __init__(__self__, *, :param str type: Type of the Response Cache Store Policy. :param str uri: The uri from which to retrieve the key. It must be accessible without authentication. """ - pulumi.set(__self__, "additional_validation_policies", additional_validation_policies) - pulumi.set(__self__, "client_details", client_details) - pulumi.set(__self__, "is_ssl_verify_disabled", is_ssl_verify_disabled) - pulumi.set(__self__, "keys", keys) - pulumi.set(__self__, "max_cache_duration_in_hours", max_cache_duration_in_hours) - pulumi.set(__self__, "source_uri_details", source_uri_details) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "uri", uri) + GetDeploymentSpecificationRequestPolicyAuthenticationValidationPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + additional_validation_policies=additional_validation_policies, + client_details=client_details, + is_ssl_verify_disabled=is_ssl_verify_disabled, + keys=keys, + max_cache_duration_in_hours=max_cache_duration_in_hours, + source_uri_details=source_uri_details, + type=type, + uri=uri, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + additional_validation_policies: Sequence['outputs.GetDeploymentSpecificationRequestPolicyAuthenticationValidationPolicyAdditionalValidationPolicyResult'], + client_details: Sequence['outputs.GetDeploymentSpecificationRequestPolicyAuthenticationValidationPolicyClientDetailResult'], + is_ssl_verify_disabled: bool, + keys: Sequence['outputs.GetDeploymentSpecificationRequestPolicyAuthenticationValidationPolicyKeyResult'], + max_cache_duration_in_hours: int, + source_uri_details: Sequence['outputs.GetDeploymentSpecificationRequestPolicyAuthenticationValidationPolicySourceUriDetailResult'], + type: str, + uri: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("additional_validation_policies", additional_validation_policies) + _setter("client_details", client_details) + _setter("is_ssl_verify_disabled", is_ssl_verify_disabled) + _setter("keys", keys) + _setter("max_cache_duration_in_hours", max_cache_duration_in_hours) + _setter("source_uri_details", source_uri_details) + _setter("type", type) + _setter("uri", uri) @property @pulumi.getter(name="additionalValidationPolicies") @@ -13474,9 +16811,22 @@ def __init__(__self__, *, :param Sequence[str] issuers: A list of parties that could have issued the token. :param Sequence['GetDeploymentSpecificationRequestPolicyAuthenticationValidationPolicyAdditionalValidationPolicyVerifyClaimArgs'] verify_claims: A list of claims which should be validated to consider the token valid. """ - pulumi.set(__self__, "audiences", audiences) - pulumi.set(__self__, "issuers", issuers) - pulumi.set(__self__, "verify_claims", verify_claims) + GetDeploymentSpecificationRequestPolicyAuthenticationValidationPolicyAdditionalValidationPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + audiences=audiences, + issuers=issuers, + verify_claims=verify_claims, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + audiences: Sequence[str], + issuers: Sequence[str], + verify_claims: Sequence['outputs.GetDeploymentSpecificationRequestPolicyAuthenticationValidationPolicyAdditionalValidationPolicyVerifyClaimResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("audiences", audiences) + _setter("issuers", issuers) + _setter("verify_claims", verify_claims) @property @pulumi.getter @@ -13514,9 +16864,22 @@ def __init__(__self__, *, :param str key: Information around the values for selector of an authentication/ routing branch. :param Sequence[str] values: A list of new values. Each value can be a constant or may include one or more expressions enclosed within ${} delimiters. """ - pulumi.set(__self__, "is_required", is_required) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "values", values) + GetDeploymentSpecificationRequestPolicyAuthenticationValidationPolicyAdditionalValidationPolicyVerifyClaimResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_required=is_required, + key=key, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_required: bool, + key: str, + values: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_required", is_required) + _setter("key", key) + _setter("values", values) @property @pulumi.getter(name="isRequired") @@ -13556,10 +16919,25 @@ def __init__(__self__, *, :param str client_secret_version_number: The version number of the client secret to use. :param str type: Type of the Response Cache Store Policy. """ - pulumi.set(__self__, "client_id", client_id) - pulumi.set(__self__, "client_secret_id", client_secret_id) - pulumi.set(__self__, "client_secret_version_number", client_secret_version_number) - pulumi.set(__self__, "type", type) + GetDeploymentSpecificationRequestPolicyAuthenticationValidationPolicyClientDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + client_id=client_id, + client_secret_id=client_secret_id, + client_secret_version_number=client_secret_version_number, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + client_id: str, + client_secret_id: str, + client_secret_version_number: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("client_id", client_id) + _setter("client_secret_id", client_secret_id) + _setter("client_secret_version_number", client_secret_version_number) + _setter("type", type) @property @pulumi.getter(name="clientId") @@ -13617,15 +16995,40 @@ def __init__(__self__, *, :param str n: The base64 url encoded modulus of the RSA public key represented by this key. :param str use: The intended use of the public key. """ - pulumi.set(__self__, "alg", alg) - pulumi.set(__self__, "e", e) - pulumi.set(__self__, "format", format) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "key_ops", key_ops) - pulumi.set(__self__, "kid", kid) - pulumi.set(__self__, "kty", kty) - pulumi.set(__self__, "n", n) - pulumi.set(__self__, "use", use) + GetDeploymentSpecificationRequestPolicyAuthenticationValidationPolicyKeyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + alg=alg, + e=e, + format=format, + key=key, + key_ops=key_ops, + kid=kid, + kty=kty, + n=n, + use=use, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + alg: str, + e: str, + format: str, + key: str, + key_ops: Sequence[str], + kid: str, + kty: str, + n: str, + use: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("alg", alg) + _setter("e", e) + _setter("format", format) + _setter("key", key) + _setter("key_ops", key_ops) + _setter("kid", kid) + _setter("kty", kty) + _setter("n", n) + _setter("use", use) @property @pulumi.getter @@ -13709,8 +17112,19 @@ def __init__(__self__, *, :param str type: Type of the Response Cache Store Policy. :param str uri: The uri from which to retrieve the key. It must be accessible without authentication. """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "uri", uri) + GetDeploymentSpecificationRequestPolicyAuthenticationValidationPolicySourceUriDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + uri=uri, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + uri: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("uri", uri) @property @pulumi.getter @@ -13740,9 +17154,22 @@ def __init__(__self__, *, :param str key: Information around the values for selector of an authentication/ routing branch. :param Sequence[str] values: A list of new values. Each value can be a constant or may include one or more expressions enclosed within ${} delimiters. """ - pulumi.set(__self__, "is_required", is_required) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "values", values) + GetDeploymentSpecificationRequestPolicyAuthenticationVerifyClaimResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_required=is_required, + key=key, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_required: bool, + key: str, + values: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_required", is_required) + _setter("key", key) + _setter("values", values) @property @pulumi.getter(name="isRequired") @@ -13786,12 +17213,31 @@ def __init__(__self__, *, :param bool is_allow_credentials_enabled: Whether to send the Access-Control-Allow-Credentials header to allow CORS requests with cookies. :param int max_age_in_seconds: The time in seconds for the client to cache preflight responses. This is sent as the Access-Control-Max-Age if greater than 0. """ - pulumi.set(__self__, "allowed_headers", allowed_headers) - pulumi.set(__self__, "allowed_methods", allowed_methods) - pulumi.set(__self__, "allowed_origins", allowed_origins) - pulumi.set(__self__, "exposed_headers", exposed_headers) - pulumi.set(__self__, "is_allow_credentials_enabled", is_allow_credentials_enabled) - pulumi.set(__self__, "max_age_in_seconds", max_age_in_seconds) + GetDeploymentSpecificationRequestPolicyCorResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_headers=allowed_headers, + allowed_methods=allowed_methods, + allowed_origins=allowed_origins, + exposed_headers=exposed_headers, + is_allow_credentials_enabled=is_allow_credentials_enabled, + max_age_in_seconds=max_age_in_seconds, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_headers: Sequence[str], + allowed_methods: Sequence[str], + allowed_origins: Sequence[str], + exposed_headers: Sequence[str], + is_allow_credentials_enabled: bool, + max_age_in_seconds: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allowed_headers", allowed_headers) + _setter("allowed_methods", allowed_methods) + _setter("allowed_origins", allowed_origins) + _setter("exposed_headers", exposed_headers) + _setter("is_allow_credentials_enabled", is_allow_credentials_enabled) + _setter("max_age_in_seconds", max_age_in_seconds) @property @pulumi.getter(name="allowedHeaders") @@ -13851,8 +17297,19 @@ def __init__(__self__, *, :param Sequence['GetDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerArgs'] authentication_servers: List of authentication servers to choose from during dynamic authentication. :param Sequence['GetDeploymentSpecificationRequestPolicyDynamicAuthenticationSelectionSourceArgs'] selection_sources: Information around selector used for branching among routes/ authentication servers while dynamic routing/ authentication. """ - pulumi.set(__self__, "authentication_servers", authentication_servers) - pulumi.set(__self__, "selection_sources", selection_sources) + GetDeploymentSpecificationRequestPolicyDynamicAuthenticationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + authentication_servers=authentication_servers, + selection_sources=selection_sources, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + authentication_servers: Sequence['outputs.GetDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerResult'], + selection_sources: Sequence['outputs.GetDeploymentSpecificationRequestPolicyDynamicAuthenticationSelectionSourceResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("authentication_servers", authentication_servers) + _setter("selection_sources", selection_sources) @property @pulumi.getter(name="authenticationServers") @@ -13880,8 +17337,19 @@ def __init__(__self__, *, :param Sequence['GetDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailArgs'] authentication_server_details: Information on how to authenticate incoming requests. :param Sequence['GetDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerKeyArgs'] keys: Information around the values for selector of an authentication/ routing branch. """ - pulumi.set(__self__, "authentication_server_details", authentication_server_details) - pulumi.set(__self__, "keys", keys) + GetDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + authentication_server_details=authentication_server_details, + keys=keys, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + authentication_server_details: Sequence['outputs.GetDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailResult'], + keys: Sequence['outputs.GetDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerKeyResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("authentication_server_details", authentication_server_details) + _setter("keys", keys) @property @pulumi.getter(name="authenticationServerDetails") @@ -13934,21 +17402,58 @@ def __init__(__self__, *, :param Sequence['GetDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicyArgs'] validation_policies: Authentication Policies for the Token Authentication types. :param Sequence['GetDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailVerifyClaimArgs'] verify_claims: A list of claims which should be validated to consider the token valid. """ - pulumi.set(__self__, "audiences", audiences) - pulumi.set(__self__, "cache_keys", cache_keys) - pulumi.set(__self__, "function_id", function_id) - pulumi.set(__self__, "is_anonymous_access_allowed", is_anonymous_access_allowed) - pulumi.set(__self__, "issuers", issuers) - pulumi.set(__self__, "max_clock_skew_in_seconds", max_clock_skew_in_seconds) - pulumi.set(__self__, "parameters", parameters) - pulumi.set(__self__, "public_keys", public_keys) - pulumi.set(__self__, "token_auth_scheme", token_auth_scheme) - pulumi.set(__self__, "token_header", token_header) - pulumi.set(__self__, "token_query_param", token_query_param) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "validation_failure_policies", validation_failure_policies) - pulumi.set(__self__, "validation_policies", validation_policies) - pulumi.set(__self__, "verify_claims", verify_claims) + GetDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + audiences=audiences, + cache_keys=cache_keys, + function_id=function_id, + is_anonymous_access_allowed=is_anonymous_access_allowed, + issuers=issuers, + max_clock_skew_in_seconds=max_clock_skew_in_seconds, + parameters=parameters, + public_keys=public_keys, + token_auth_scheme=token_auth_scheme, + token_header=token_header, + token_query_param=token_query_param, + type=type, + validation_failure_policies=validation_failure_policies, + validation_policies=validation_policies, + verify_claims=verify_claims, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + audiences: Sequence[str], + cache_keys: Sequence[str], + function_id: str, + is_anonymous_access_allowed: bool, + issuers: Sequence[str], + max_clock_skew_in_seconds: float, + parameters: Mapping[str, Any], + public_keys: Sequence['outputs.GetDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailPublicKeyResult'], + token_auth_scheme: str, + token_header: str, + token_query_param: str, + type: str, + validation_failure_policies: Sequence['outputs.GetDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResult'], + validation_policies: Sequence['outputs.GetDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicyResult'], + verify_claims: Sequence['outputs.GetDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailVerifyClaimResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("audiences", audiences) + _setter("cache_keys", cache_keys) + _setter("function_id", function_id) + _setter("is_anonymous_access_allowed", is_anonymous_access_allowed) + _setter("issuers", issuers) + _setter("max_clock_skew_in_seconds", max_clock_skew_in_seconds) + _setter("parameters", parameters) + _setter("public_keys", public_keys) + _setter("token_auth_scheme", token_auth_scheme) + _setter("token_header", token_header) + _setter("token_query_param", token_query_param) + _setter("type", type) + _setter("validation_failure_policies", validation_failure_policies) + _setter("validation_policies", validation_policies) + _setter("verify_claims", verify_claims) @property @pulumi.getter @@ -14083,11 +17588,28 @@ def __init__(__self__, *, :param str type: Type of the Response Cache Store Policy. :param str uri: The uri from which to retrieve the key. It must be accessible without authentication. """ - pulumi.set(__self__, "is_ssl_verify_disabled", is_ssl_verify_disabled) - pulumi.set(__self__, "keys", keys) - pulumi.set(__self__, "max_cache_duration_in_hours", max_cache_duration_in_hours) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "uri", uri) + GetDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailPublicKeyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_ssl_verify_disabled=is_ssl_verify_disabled, + keys=keys, + max_cache_duration_in_hours=max_cache_duration_in_hours, + type=type, + uri=uri, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_ssl_verify_disabled: bool, + keys: Sequence['outputs.GetDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailPublicKeyKeyResult'], + max_cache_duration_in_hours: int, + type: str, + uri: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_ssl_verify_disabled", is_ssl_verify_disabled) + _setter("keys", keys) + _setter("max_cache_duration_in_hours", max_cache_duration_in_hours) + _setter("type", type) + _setter("uri", uri) @property @pulumi.getter(name="isSslVerifyDisabled") @@ -14153,15 +17675,40 @@ def __init__(__self__, *, :param str n: The base64 url encoded modulus of the RSA public key represented by this key. :param str use: The intended use of the public key. """ - pulumi.set(__self__, "alg", alg) - pulumi.set(__self__, "e", e) - pulumi.set(__self__, "format", format) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "key_ops", key_ops) - pulumi.set(__self__, "kid", kid) - pulumi.set(__self__, "kty", kty) - pulumi.set(__self__, "n", n) - pulumi.set(__self__, "use", use) + GetDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailPublicKeyKeyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + alg=alg, + e=e, + format=format, + key=key, + key_ops=key_ops, + kid=kid, + kty=kty, + n=n, + use=use, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + alg: str, + e: str, + format: str, + key: str, + key_ops: Sequence[str], + kid: str, + kty: str, + n: str, + use: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("alg", alg) + _setter("e", e) + _setter("format", format) + _setter("key", key) + _setter("key_ops", key_ops) + _setter("kid", kid) + _setter("kty", kty) + _setter("n", n) + _setter("use", use) @property @pulumi.getter @@ -14269,20 +17816,55 @@ def __init__(__self__, *, :param bool use_cookies_for_session: Defines whether or not to use cookies for session maintenance. :param bool use_pkce: Defines whether or not to support PKCE. """ - pulumi.set(__self__, "client_details", client_details) - pulumi.set(__self__, "fallback_redirect_path", fallback_redirect_path) - pulumi.set(__self__, "logout_path", logout_path) - pulumi.set(__self__, "max_expiry_duration_in_hours", max_expiry_duration_in_hours) - pulumi.set(__self__, "response_code", response_code) - pulumi.set(__self__, "response_header_transformations", response_header_transformations) - pulumi.set(__self__, "response_message", response_message) - pulumi.set(__self__, "response_type", response_type) - pulumi.set(__self__, "scopes", scopes) - pulumi.set(__self__, "source_uri_details", source_uri_details) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "use_cookies_for_intermediate_steps", use_cookies_for_intermediate_steps) - pulumi.set(__self__, "use_cookies_for_session", use_cookies_for_session) - pulumi.set(__self__, "use_pkce", use_pkce) + GetDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + client_details=client_details, + fallback_redirect_path=fallback_redirect_path, + logout_path=logout_path, + max_expiry_duration_in_hours=max_expiry_duration_in_hours, + response_code=response_code, + response_header_transformations=response_header_transformations, + response_message=response_message, + response_type=response_type, + scopes=scopes, + source_uri_details=source_uri_details, + type=type, + use_cookies_for_intermediate_steps=use_cookies_for_intermediate_steps, + use_cookies_for_session=use_cookies_for_session, + use_pkce=use_pkce, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + client_details: Sequence['outputs.GetDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyClientDetailResult'], + fallback_redirect_path: str, + logout_path: str, + max_expiry_duration_in_hours: int, + response_code: str, + response_header_transformations: Sequence['outputs.GetDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationResult'], + response_message: str, + response_type: str, + scopes: Sequence[str], + source_uri_details: Sequence['outputs.GetDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicySourceUriDetailResult'], + type: str, + use_cookies_for_intermediate_steps: bool, + use_cookies_for_session: bool, + use_pkce: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("client_details", client_details) + _setter("fallback_redirect_path", fallback_redirect_path) + _setter("logout_path", logout_path) + _setter("max_expiry_duration_in_hours", max_expiry_duration_in_hours) + _setter("response_code", response_code) + _setter("response_header_transformations", response_header_transformations) + _setter("response_message", response_message) + _setter("response_type", response_type) + _setter("scopes", scopes) + _setter("source_uri_details", source_uri_details) + _setter("type", type) + _setter("use_cookies_for_intermediate_steps", use_cookies_for_intermediate_steps) + _setter("use_cookies_for_session", use_cookies_for_session) + _setter("use_pkce", use_pkce) @property @pulumi.getter(name="clientDetails") @@ -14410,10 +17992,25 @@ def __init__(__self__, *, :param str client_secret_version_number: The version number of the client secret to use. :param str type: Type of the Response Cache Store Policy. """ - pulumi.set(__self__, "client_id", client_id) - pulumi.set(__self__, "client_secret_id", client_secret_id) - pulumi.set(__self__, "client_secret_version_number", client_secret_version_number) - pulumi.set(__self__, "type", type) + GetDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyClientDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + client_id=client_id, + client_secret_id=client_secret_id, + client_secret_version_number=client_secret_version_number, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + client_id: str, + client_secret_id: str, + client_secret_version_number: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("client_id", client_id) + _setter("client_secret_id", client_secret_id) + _setter("client_secret_version_number", client_secret_version_number) + _setter("type", type) @property @pulumi.getter(name="clientId") @@ -14459,9 +18056,22 @@ def __init__(__self__, *, :param Sequence['GetDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationRenameHeaderArgs'] rename_headers: Rename HTTP headers as they pass through the gateway. :param Sequence['GetDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationSetHeaderArgs'] set_headers: Set HTTP headers as they pass through the gateway. """ - pulumi.set(__self__, "filter_headers", filter_headers) - pulumi.set(__self__, "rename_headers", rename_headers) - pulumi.set(__self__, "set_headers", set_headers) + GetDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + filter_headers=filter_headers, + rename_headers=rename_headers, + set_headers=set_headers, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + filter_headers: Sequence['outputs.GetDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationFilterHeaderResult'], + rename_headers: Sequence['outputs.GetDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationRenameHeaderResult'], + set_headers: Sequence['outputs.GetDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationSetHeaderResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("filter_headers", filter_headers) + _setter("rename_headers", rename_headers) + _setter("set_headers", set_headers) @property @pulumi.getter(name="filterHeaders") @@ -14497,8 +18107,19 @@ def __init__(__self__, *, :param Sequence['GetDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationFilterHeaderItemArgs'] items: The list of headers. :param str type: Type of the Response Cache Store Policy. """ - pulumi.set(__self__, "items", items) - pulumi.set(__self__, "type", type) + GetDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationFilterHeaderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationFilterHeaderItemResult'], + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) + _setter("type", type) @property @pulumi.getter @@ -14524,7 +18145,16 @@ def __init__(__self__, *, """ :param str name: The case-insensitive name of the header. This name must be unique across transformation policies. """ - pulumi.set(__self__, "name", name) + GetDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationFilterHeaderItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -14542,7 +18172,16 @@ def __init__(__self__, *, """ :param Sequence['GetDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationRenameHeaderItemArgs'] items: The list of headers. """ - pulumi.set(__self__, "items", items) + GetDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationRenameHeaderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationRenameHeaderItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -14562,8 +18201,19 @@ def __init__(__self__, *, :param str from_: The original case-insensitive name of the header. This name must be unique across transformation policies. :param str to: The new name of the header. This name must be unique across transformation policies. """ - pulumi.set(__self__, "from_", from_) - pulumi.set(__self__, "to", to) + GetDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationRenameHeaderItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + from_=from_, + to=to, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + from_: str, + to: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("from_", from_) + _setter("to", to) @property @pulumi.getter(name="from") @@ -14589,7 +18239,16 @@ def __init__(__self__, *, """ :param Sequence['GetDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationSetHeaderItemArgs'] items: The list of headers. """ - pulumi.set(__self__, "items", items) + GetDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationSetHeaderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationSetHeaderItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -14611,9 +18270,22 @@ def __init__(__self__, *, :param str name: The case-insensitive name of the header. This name must be unique across transformation policies. :param Sequence[str] values: A list of new values. Each value can be a constant or may include one or more expressions enclosed within ${} delimiters. """ - pulumi.set(__self__, "if_exists", if_exists) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationSetHeaderItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + if_exists=if_exists, + name=name, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + if_exists: str, + name: str, + values: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("if_exists", if_exists) + _setter("name", name) + _setter("values", values) @property @pulumi.getter(name="ifExists") @@ -14649,8 +18321,19 @@ def __init__(__self__, *, :param str type: Type of the Response Cache Store Policy. :param str uri: The uri from which to retrieve the key. It must be accessible without authentication. """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "uri", uri) + GetDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicySourceUriDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + uri=uri, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + uri: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("uri", uri) @property @pulumi.getter @@ -14690,14 +18373,37 @@ def __init__(__self__, *, :param str type: Type of the Response Cache Store Policy. :param str uri: The uri from which to retrieve the key. It must be accessible without authentication. """ - pulumi.set(__self__, "additional_validation_policies", additional_validation_policies) - pulumi.set(__self__, "client_details", client_details) - pulumi.set(__self__, "is_ssl_verify_disabled", is_ssl_verify_disabled) - pulumi.set(__self__, "keys", keys) - pulumi.set(__self__, "max_cache_duration_in_hours", max_cache_duration_in_hours) - pulumi.set(__self__, "source_uri_details", source_uri_details) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "uri", uri) + GetDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + additional_validation_policies=additional_validation_policies, + client_details=client_details, + is_ssl_verify_disabled=is_ssl_verify_disabled, + keys=keys, + max_cache_duration_in_hours=max_cache_duration_in_hours, + source_uri_details=source_uri_details, + type=type, + uri=uri, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + additional_validation_policies: Sequence['outputs.GetDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicyAdditionalValidationPolicyResult'], + client_details: Sequence['outputs.GetDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicyClientDetailResult'], + is_ssl_verify_disabled: bool, + keys: Sequence['outputs.GetDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicyKeyResult'], + max_cache_duration_in_hours: int, + source_uri_details: Sequence['outputs.GetDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicySourceUriDetailResult'], + type: str, + uri: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("additional_validation_policies", additional_validation_policies) + _setter("client_details", client_details) + _setter("is_ssl_verify_disabled", is_ssl_verify_disabled) + _setter("keys", keys) + _setter("max_cache_duration_in_hours", max_cache_duration_in_hours) + _setter("source_uri_details", source_uri_details) + _setter("type", type) + _setter("uri", uri) @property @pulumi.getter(name="additionalValidationPolicies") @@ -14775,9 +18481,22 @@ def __init__(__self__, *, :param Sequence[str] issuers: A list of parties that could have issued the token. :param Sequence['GetDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicyAdditionalValidationPolicyVerifyClaimArgs'] verify_claims: A list of claims which should be validated to consider the token valid. """ - pulumi.set(__self__, "audiences", audiences) - pulumi.set(__self__, "issuers", issuers) - pulumi.set(__self__, "verify_claims", verify_claims) + GetDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicyAdditionalValidationPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + audiences=audiences, + issuers=issuers, + verify_claims=verify_claims, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + audiences: Sequence[str], + issuers: Sequence[str], + verify_claims: Sequence['outputs.GetDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicyAdditionalValidationPolicyVerifyClaimResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("audiences", audiences) + _setter("issuers", issuers) + _setter("verify_claims", verify_claims) @property @pulumi.getter @@ -14815,9 +18534,22 @@ def __init__(__self__, *, :param str key: Information around the values for selector of an authentication/ routing branch. :param Sequence[str] values: A list of new values. Each value can be a constant or may include one or more expressions enclosed within ${} delimiters. """ - pulumi.set(__self__, "is_required", is_required) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "values", values) + GetDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicyAdditionalValidationPolicyVerifyClaimResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_required=is_required, + key=key, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_required: bool, + key: str, + values: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_required", is_required) + _setter("key", key) + _setter("values", values) @property @pulumi.getter(name="isRequired") @@ -14857,10 +18589,25 @@ def __init__(__self__, *, :param str client_secret_version_number: The version number of the client secret to use. :param str type: Type of the Response Cache Store Policy. """ - pulumi.set(__self__, "client_id", client_id) - pulumi.set(__self__, "client_secret_id", client_secret_id) - pulumi.set(__self__, "client_secret_version_number", client_secret_version_number) - pulumi.set(__self__, "type", type) + GetDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicyClientDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + client_id=client_id, + client_secret_id=client_secret_id, + client_secret_version_number=client_secret_version_number, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + client_id: str, + client_secret_id: str, + client_secret_version_number: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("client_id", client_id) + _setter("client_secret_id", client_secret_id) + _setter("client_secret_version_number", client_secret_version_number) + _setter("type", type) @property @pulumi.getter(name="clientId") @@ -14918,15 +18665,40 @@ def __init__(__self__, *, :param str n: The base64 url encoded modulus of the RSA public key represented by this key. :param str use: The intended use of the public key. """ - pulumi.set(__self__, "alg", alg) - pulumi.set(__self__, "e", e) - pulumi.set(__self__, "format", format) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "key_ops", key_ops) - pulumi.set(__self__, "kid", kid) - pulumi.set(__self__, "kty", kty) - pulumi.set(__self__, "n", n) - pulumi.set(__self__, "use", use) + GetDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicyKeyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + alg=alg, + e=e, + format=format, + key=key, + key_ops=key_ops, + kid=kid, + kty=kty, + n=n, + use=use, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + alg: str, + e: str, + format: str, + key: str, + key_ops: Sequence[str], + kid: str, + kty: str, + n: str, + use: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("alg", alg) + _setter("e", e) + _setter("format", format) + _setter("key", key) + _setter("key_ops", key_ops) + _setter("kid", kid) + _setter("kty", kty) + _setter("n", n) + _setter("use", use) @property @pulumi.getter @@ -15010,8 +18782,19 @@ def __init__(__self__, *, :param str type: Type of the Response Cache Store Policy. :param str uri: The uri from which to retrieve the key. It must be accessible without authentication. """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "uri", uri) + GetDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicySourceUriDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + uri=uri, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + uri: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("uri", uri) @property @pulumi.getter @@ -15041,9 +18824,22 @@ def __init__(__self__, *, :param str key: Information around the values for selector of an authentication/ routing branch. :param Sequence[str] values: A list of new values. Each value can be a constant or may include one or more expressions enclosed within ${} delimiters. """ - pulumi.set(__self__, "is_required", is_required) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "values", values) + GetDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailVerifyClaimResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_required=is_required, + key=key, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_required: bool, + key: str, + values: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_required", is_required) + _setter("key", key) + _setter("values", values) @property @pulumi.getter(name="isRequired") @@ -15085,11 +18881,28 @@ def __init__(__self__, *, :param str type: Type of the Response Cache Store Policy. :param Sequence[str] values: A list of new values. Each value can be a constant or may include one or more expressions enclosed within ${} delimiters. """ - pulumi.set(__self__, "expression", expression) - pulumi.set(__self__, "is_default", is_default) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "values", values) + GetDeploymentSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerKeyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + expression=expression, + is_default=is_default, + name=name, + type=type, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + expression: str, + is_default: bool, + name: str, + type: str, + values: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("expression", expression) + _setter("is_default", is_default) + _setter("name", name) + _setter("type", type) + _setter("values", values) @property @pulumi.getter @@ -15141,8 +18954,19 @@ def __init__(__self__, *, :param str selector: String describing the context variable used as selector. :param str type: Type of the Response Cache Store Policy. """ - pulumi.set(__self__, "selector", selector) - pulumi.set(__self__, "type", type) + GetDeploymentSpecificationRequestPolicyDynamicAuthenticationSelectionSourceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + selector=selector, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + selector: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("selector", selector) + _setter("type", type) @property @pulumi.getter @@ -15170,8 +18994,19 @@ def __init__(__self__, *, :param Sequence[str] allowed_sans: Allowed list of CN or SAN which will be used for verification of certificate. :param bool is_verified_certificate_required: Determines whether to enable client verification when API Consumer makes connection to the gateway. """ - pulumi.set(__self__, "allowed_sans", allowed_sans) - pulumi.set(__self__, "is_verified_certificate_required", is_verified_certificate_required) + GetDeploymentSpecificationRequestPolicyMutualTlResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_sans=allowed_sans, + is_verified_certificate_required=is_verified_certificate_required, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_sans: Sequence[str], + is_verified_certificate_required: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allowed_sans", allowed_sans) + _setter("is_verified_certificate_required", is_verified_certificate_required) @property @pulumi.getter(name="allowedSans") @@ -15199,8 +19034,19 @@ def __init__(__self__, *, :param int rate_in_requests_per_second: The maximum number of requests per second to allow. :param str rate_key: The key used to group requests together. """ - pulumi.set(__self__, "rate_in_requests_per_second", rate_in_requests_per_second) - pulumi.set(__self__, "rate_key", rate_key) + GetDeploymentSpecificationRequestPolicyRateLimitingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + rate_in_requests_per_second=rate_in_requests_per_second, + rate_key=rate_key, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + rate_in_requests_per_second: int, + rate_key: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("rate_in_requests_per_second", rate_in_requests_per_second) + _setter("rate_key", rate_key) @property @pulumi.getter(name="rateInRequestsPerSecond") @@ -15230,7 +19076,16 @@ def __init__(__self__, *, * "request.auth[Token]" * "request.path[TOKEN]" """ - pulumi.set(__self__, "token_locations", token_locations) + GetDeploymentSpecificationRequestPolicyUsagePlanResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + token_locations=token_locations, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + token_locations: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("token_locations", token_locations) @property @pulumi.getter(name="tokenLocations") @@ -15262,12 +19117,31 @@ def __init__(__self__, *, :param Sequence['GetDeploymentSpecificationRouteRequestPolicyArgs'] request_policies: Behavior applied to any requests received by the API on this route. :param Sequence['GetDeploymentSpecificationRouteResponsePolicyArgs'] response_policies: Behavior applied to any responses sent by the API for requests on this route. """ - pulumi.set(__self__, "backends", backends) - pulumi.set(__self__, "logging_policies", logging_policies) - pulumi.set(__self__, "methods", methods) - pulumi.set(__self__, "path", path) - pulumi.set(__self__, "request_policies", request_policies) - pulumi.set(__self__, "response_policies", response_policies) + GetDeploymentSpecificationRouteResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + backends=backends, + logging_policies=logging_policies, + methods=methods, + path=path, + request_policies=request_policies, + response_policies=response_policies, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backends: Sequence['outputs.GetDeploymentSpecificationRouteBackendResult'], + logging_policies: Sequence['outputs.GetDeploymentSpecificationRouteLoggingPolicyResult'], + methods: Sequence[str], + path: str, + request_policies: Sequence['outputs.GetDeploymentSpecificationRouteRequestPolicyResult'], + response_policies: Sequence['outputs.GetDeploymentSpecificationRouteResponsePolicyResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("backends", backends) + _setter("logging_policies", logging_policies) + _setter("methods", methods) + _setter("path", path) + _setter("request_policies", request_policies) + _setter("response_policies", response_policies) @property @pulumi.getter @@ -15348,20 +19222,55 @@ def __init__(__self__, *, :param int status: The status code of the stock response from the mock backend. :param str type: Type of the Response Cache Store Policy. """ - pulumi.set(__self__, "allowed_post_logout_uris", allowed_post_logout_uris) - pulumi.set(__self__, "body", body) - pulumi.set(__self__, "connect_timeout_in_seconds", connect_timeout_in_seconds) - pulumi.set(__self__, "function_id", function_id) - pulumi.set(__self__, "headers", headers) - pulumi.set(__self__, "is_ssl_verify_disabled", is_ssl_verify_disabled) - pulumi.set(__self__, "post_logout_state", post_logout_state) - pulumi.set(__self__, "read_timeout_in_seconds", read_timeout_in_seconds) - pulumi.set(__self__, "routing_backends", routing_backends) - pulumi.set(__self__, "selection_sources", selection_sources) - pulumi.set(__self__, "send_timeout_in_seconds", send_timeout_in_seconds) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "url", url) + GetDeploymentSpecificationRouteBackendResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_post_logout_uris=allowed_post_logout_uris, + body=body, + connect_timeout_in_seconds=connect_timeout_in_seconds, + function_id=function_id, + headers=headers, + is_ssl_verify_disabled=is_ssl_verify_disabled, + post_logout_state=post_logout_state, + read_timeout_in_seconds=read_timeout_in_seconds, + routing_backends=routing_backends, + selection_sources=selection_sources, + send_timeout_in_seconds=send_timeout_in_seconds, + status=status, + type=type, + url=url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_post_logout_uris: Sequence[str], + body: str, + connect_timeout_in_seconds: float, + function_id: str, + headers: Sequence['outputs.GetDeploymentSpecificationRouteBackendHeaderResult'], + is_ssl_verify_disabled: bool, + post_logout_state: str, + read_timeout_in_seconds: float, + routing_backends: Sequence['outputs.GetDeploymentSpecificationRouteBackendRoutingBackendResult'], + selection_sources: Sequence['outputs.GetDeploymentSpecificationRouteBackendSelectionSourceResult'], + send_timeout_in_seconds: float, + status: int, + type: str, + url: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allowed_post_logout_uris", allowed_post_logout_uris) + _setter("body", body) + _setter("connect_timeout_in_seconds", connect_timeout_in_seconds) + _setter("function_id", function_id) + _setter("headers", headers) + _setter("is_ssl_verify_disabled", is_ssl_verify_disabled) + _setter("post_logout_state", post_logout_state) + _setter("read_timeout_in_seconds", read_timeout_in_seconds) + _setter("routing_backends", routing_backends) + _setter("selection_sources", selection_sources) + _setter("send_timeout_in_seconds", send_timeout_in_seconds) + _setter("status", status) + _setter("type", type) + _setter("url", url) @property @pulumi.getter(name="allowedPostLogoutUris") @@ -15476,8 +19385,19 @@ def __init__(__self__, *, :param str name: The case-insensitive name of the header. This name must be unique across transformation policies. :param str value: Value of the header. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + GetDeploymentSpecificationRouteBackendHeaderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("value", value) @property @pulumi.getter @@ -15505,8 +19425,19 @@ def __init__(__self__, *, :param Sequence['GetDeploymentSpecificationRouteBackendRoutingBackendBackendArgs'] backends: The backend to forward requests to. :param Sequence['GetDeploymentSpecificationRouteBackendRoutingBackendKeyArgs'] keys: Information around the values for selector of an authentication/ routing branch. """ - pulumi.set(__self__, "backends", backends) - pulumi.set(__self__, "keys", keys) + GetDeploymentSpecificationRouteBackendRoutingBackendResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + backends=backends, + keys=keys, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backends: Sequence['outputs.GetDeploymentSpecificationRouteBackendRoutingBackendBackendResult'], + keys: Sequence['outputs.GetDeploymentSpecificationRouteBackendRoutingBackendKeyResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("backends", backends) + _setter("keys", keys) @property @pulumi.getter @@ -15548,16 +19479,43 @@ def __init__(__self__, *, :param int status: The status code of the stock response from the mock backend. :param str type: Type of the Response Cache Store Policy. """ - pulumi.set(__self__, "body", body) - pulumi.set(__self__, "connect_timeout_in_seconds", connect_timeout_in_seconds) - pulumi.set(__self__, "function_id", function_id) - pulumi.set(__self__, "headers", headers) - pulumi.set(__self__, "is_ssl_verify_disabled", is_ssl_verify_disabled) - pulumi.set(__self__, "read_timeout_in_seconds", read_timeout_in_seconds) - pulumi.set(__self__, "send_timeout_in_seconds", send_timeout_in_seconds) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "url", url) + GetDeploymentSpecificationRouteBackendRoutingBackendBackendResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + body=body, + connect_timeout_in_seconds=connect_timeout_in_seconds, + function_id=function_id, + headers=headers, + is_ssl_verify_disabled=is_ssl_verify_disabled, + read_timeout_in_seconds=read_timeout_in_seconds, + send_timeout_in_seconds=send_timeout_in_seconds, + status=status, + type=type, + url=url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + body: str, + connect_timeout_in_seconds: float, + function_id: str, + headers: Sequence['outputs.GetDeploymentSpecificationRouteBackendRoutingBackendBackendHeaderResult'], + is_ssl_verify_disabled: bool, + read_timeout_in_seconds: float, + send_timeout_in_seconds: float, + status: int, + type: str, + url: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("body", body) + _setter("connect_timeout_in_seconds", connect_timeout_in_seconds) + _setter("function_id", function_id) + _setter("headers", headers) + _setter("is_ssl_verify_disabled", is_ssl_verify_disabled) + _setter("read_timeout_in_seconds", read_timeout_in_seconds) + _setter("send_timeout_in_seconds", send_timeout_in_seconds) + _setter("status", status) + _setter("type", type) + _setter("url", url) @property @pulumi.getter @@ -15643,8 +19601,19 @@ def __init__(__self__, *, :param str name: The case-insensitive name of the header. This name must be unique across transformation policies. :param str value: Value of the header. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + GetDeploymentSpecificationRouteBackendRoutingBackendBackendHeaderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("value", value) @property @pulumi.getter @@ -15678,11 +19647,28 @@ def __init__(__self__, *, :param str type: Type of the Response Cache Store Policy. :param Sequence[str] values: A list of new values. Each value can be a constant or may include one or more expressions enclosed within ${} delimiters. """ - pulumi.set(__self__, "expression", expression) - pulumi.set(__self__, "is_default", is_default) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "values", values) + GetDeploymentSpecificationRouteBackendRoutingBackendKeyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + expression=expression, + is_default=is_default, + name=name, + type=type, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + expression: str, + is_default: bool, + name: str, + type: str, + values: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("expression", expression) + _setter("is_default", is_default) + _setter("name", name) + _setter("type", type) + _setter("values", values) @property @pulumi.getter @@ -15734,8 +19720,19 @@ def __init__(__self__, *, :param str selector: String describing the context variable used as selector. :param str type: Type of the Response Cache Store Policy. """ - pulumi.set(__self__, "selector", selector) - pulumi.set(__self__, "type", type) + GetDeploymentSpecificationRouteBackendSelectionSourceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + selector=selector, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + selector: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("selector", selector) + _setter("type", type) @property @pulumi.getter @@ -15763,8 +19760,19 @@ def __init__(__self__, *, :param Sequence['GetDeploymentSpecificationRouteLoggingPolicyAccessLogArgs'] access_logs: Configures the logging policies for the access logs of an API Deployment. :param Sequence['GetDeploymentSpecificationRouteLoggingPolicyExecutionLogArgs'] execution_logs: Configures the logging policies for the execution logs of an API Deployment. """ - pulumi.set(__self__, "access_logs", access_logs) - pulumi.set(__self__, "execution_logs", execution_logs) + GetDeploymentSpecificationRouteLoggingPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + access_logs=access_logs, + execution_logs=execution_logs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access_logs: Sequence['outputs.GetDeploymentSpecificationRouteLoggingPolicyAccessLogResult'], + execution_logs: Sequence['outputs.GetDeploymentSpecificationRouteLoggingPolicyExecutionLogResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("access_logs", access_logs) + _setter("execution_logs", execution_logs) @property @pulumi.getter(name="accessLogs") @@ -15790,7 +19798,16 @@ def __init__(__self__, *, """ :param bool is_enabled: Whether this policy is currently enabled. """ - pulumi.set(__self__, "is_enabled", is_enabled) + GetDeploymentSpecificationRouteLoggingPolicyAccessLogResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_enabled", is_enabled) @property @pulumi.getter(name="isEnabled") @@ -15810,8 +19827,19 @@ def __init__(__self__, *, :param bool is_enabled: Whether this policy is currently enabled. :param str log_level: Specifies the log level used to control logging output of execution logs. Enabling logging at a given level also enables logging at all higher levels. """ - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "log_level", log_level) + GetDeploymentSpecificationRouteLoggingPolicyExecutionLogResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + log_level=log_level, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: bool, + log_level: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_enabled", is_enabled) + _setter("log_level", log_level) @property @pulumi.getter(name="isEnabled") @@ -15851,14 +19879,37 @@ def __init__(__self__, *, :param Sequence['GetDeploymentSpecificationRouteRequestPolicyQueryParameterValidationArgs'] query_parameter_validations: Validate the URL query parameters on the incoming API requests on a specific route. :param Sequence['GetDeploymentSpecificationRouteRequestPolicyResponseCacheLookupArgs'] response_cache_lookups: Base policy for Response Cache lookup. """ - pulumi.set(__self__, "authorizations", authorizations) - pulumi.set(__self__, "body_validations", body_validations) - pulumi.set(__self__, "cors", cors) - pulumi.set(__self__, "header_transformations", header_transformations) - pulumi.set(__self__, "header_validations", header_validations) - pulumi.set(__self__, "query_parameter_transformations", query_parameter_transformations) - pulumi.set(__self__, "query_parameter_validations", query_parameter_validations) - pulumi.set(__self__, "response_cache_lookups", response_cache_lookups) + GetDeploymentSpecificationRouteRequestPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + authorizations=authorizations, + body_validations=body_validations, + cors=cors, + header_transformations=header_transformations, + header_validations=header_validations, + query_parameter_transformations=query_parameter_transformations, + query_parameter_validations=query_parameter_validations, + response_cache_lookups=response_cache_lookups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + authorizations: Sequence['outputs.GetDeploymentSpecificationRouteRequestPolicyAuthorizationResult'], + body_validations: Sequence['outputs.GetDeploymentSpecificationRouteRequestPolicyBodyValidationResult'], + cors: Sequence['outputs.GetDeploymentSpecificationRouteRequestPolicyCorResult'], + header_transformations: Sequence['outputs.GetDeploymentSpecificationRouteRequestPolicyHeaderTransformationResult'], + header_validations: Sequence['outputs.GetDeploymentSpecificationRouteRequestPolicyHeaderValidationResult'], + query_parameter_transformations: Sequence['outputs.GetDeploymentSpecificationRouteRequestPolicyQueryParameterTransformationResult'], + query_parameter_validations: Sequence['outputs.GetDeploymentSpecificationRouteRequestPolicyQueryParameterValidationResult'], + response_cache_lookups: Sequence['outputs.GetDeploymentSpecificationRouteRequestPolicyResponseCacheLookupResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("authorizations", authorizations) + _setter("body_validations", body_validations) + _setter("cors", cors) + _setter("header_transformations", header_transformations) + _setter("header_validations", header_validations) + _setter("query_parameter_transformations", query_parameter_transformations) + _setter("query_parameter_validations", query_parameter_validations) + _setter("response_cache_lookups", response_cache_lookups) @property @pulumi.getter @@ -15934,8 +19985,19 @@ def __init__(__self__, *, :param Sequence[str] allowed_scopes: A user whose scope includes any of these access ranges is allowed on this route. Access ranges are case-sensitive. :param str type: Type of the Response Cache Store Policy. """ - pulumi.set(__self__, "allowed_scopes", allowed_scopes) - pulumi.set(__self__, "type", type) + GetDeploymentSpecificationRouteRequestPolicyAuthorizationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_scopes=allowed_scopes, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_scopes: Sequence[str], + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allowed_scopes", allowed_scopes) + _setter("type", type) @property @pulumi.getter(name="allowedScopes") @@ -15965,9 +20027,22 @@ def __init__(__self__, *, :param bool required: Determines if the parameter is required in the request. :param str validation_mode: Validation behavior mode. """ - pulumi.set(__self__, "contents", contents) - pulumi.set(__self__, "required", required) - pulumi.set(__self__, "validation_mode", validation_mode) + GetDeploymentSpecificationRouteRequestPolicyBodyValidationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + contents=contents, + required=required, + validation_mode=validation_mode, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + contents: Sequence['outputs.GetDeploymentSpecificationRouteRequestPolicyBodyValidationContentResult'], + required: bool, + validation_mode: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("contents", contents) + _setter("required", required) + _setter("validation_mode", validation_mode) @property @pulumi.getter @@ -16003,8 +20078,19 @@ def __init__(__self__, *, :param str media_type: The media type is a [media type range](https://tools.ietf.org/html/rfc7231#appendix-D) subset restricted to the following schema :param str validation_type: Validation type defines the content validation method. """ - pulumi.set(__self__, "media_type", media_type) - pulumi.set(__self__, "validation_type", validation_type) + GetDeploymentSpecificationRouteRequestPolicyBodyValidationContentResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + media_type=media_type, + validation_type=validation_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + media_type: str, + validation_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("media_type", media_type) + _setter("validation_type", validation_type) @property @pulumi.getter(name="mediaType") @@ -16040,12 +20126,31 @@ def __init__(__self__, *, :param bool is_allow_credentials_enabled: Whether to send the Access-Control-Allow-Credentials header to allow CORS requests with cookies. :param int max_age_in_seconds: The time in seconds for the client to cache preflight responses. This is sent as the Access-Control-Max-Age if greater than 0. """ - pulumi.set(__self__, "allowed_headers", allowed_headers) - pulumi.set(__self__, "allowed_methods", allowed_methods) - pulumi.set(__self__, "allowed_origins", allowed_origins) - pulumi.set(__self__, "exposed_headers", exposed_headers) - pulumi.set(__self__, "is_allow_credentials_enabled", is_allow_credentials_enabled) - pulumi.set(__self__, "max_age_in_seconds", max_age_in_seconds) + GetDeploymentSpecificationRouteRequestPolicyCorResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_headers=allowed_headers, + allowed_methods=allowed_methods, + allowed_origins=allowed_origins, + exposed_headers=exposed_headers, + is_allow_credentials_enabled=is_allow_credentials_enabled, + max_age_in_seconds=max_age_in_seconds, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_headers: Sequence[str], + allowed_methods: Sequence[str], + allowed_origins: Sequence[str], + exposed_headers: Sequence[str], + is_allow_credentials_enabled: bool, + max_age_in_seconds: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allowed_headers", allowed_headers) + _setter("allowed_methods", allowed_methods) + _setter("allowed_origins", allowed_origins) + _setter("exposed_headers", exposed_headers) + _setter("is_allow_credentials_enabled", is_allow_credentials_enabled) + _setter("max_age_in_seconds", max_age_in_seconds) @property @pulumi.getter(name="allowedHeaders") @@ -16107,9 +20212,22 @@ def __init__(__self__, *, :param Sequence['GetDeploymentSpecificationRouteRequestPolicyHeaderTransformationRenameHeaderArgs'] rename_headers: Rename HTTP headers as they pass through the gateway. :param Sequence['GetDeploymentSpecificationRouteRequestPolicyHeaderTransformationSetHeaderArgs'] set_headers: Set HTTP headers as they pass through the gateway. """ - pulumi.set(__self__, "filter_headers", filter_headers) - pulumi.set(__self__, "rename_headers", rename_headers) - pulumi.set(__self__, "set_headers", set_headers) + GetDeploymentSpecificationRouteRequestPolicyHeaderTransformationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + filter_headers=filter_headers, + rename_headers=rename_headers, + set_headers=set_headers, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + filter_headers: Sequence['outputs.GetDeploymentSpecificationRouteRequestPolicyHeaderTransformationFilterHeaderResult'], + rename_headers: Sequence['outputs.GetDeploymentSpecificationRouteRequestPolicyHeaderTransformationRenameHeaderResult'], + set_headers: Sequence['outputs.GetDeploymentSpecificationRouteRequestPolicyHeaderTransformationSetHeaderResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("filter_headers", filter_headers) + _setter("rename_headers", rename_headers) + _setter("set_headers", set_headers) @property @pulumi.getter(name="filterHeaders") @@ -16145,8 +20263,19 @@ def __init__(__self__, *, :param Sequence['GetDeploymentSpecificationRouteRequestPolicyHeaderTransformationFilterHeaderItemArgs'] items: The list of headers. :param str type: Type of the Response Cache Store Policy. """ - pulumi.set(__self__, "items", items) - pulumi.set(__self__, "type", type) + GetDeploymentSpecificationRouteRequestPolicyHeaderTransformationFilterHeaderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeploymentSpecificationRouteRequestPolicyHeaderTransformationFilterHeaderItemResult'], + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) + _setter("type", type) @property @pulumi.getter @@ -16172,7 +20301,16 @@ def __init__(__self__, *, """ :param str name: The case-insensitive name of the header. This name must be unique across transformation policies. """ - pulumi.set(__self__, "name", name) + GetDeploymentSpecificationRouteRequestPolicyHeaderTransformationFilterHeaderItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -16190,7 +20328,16 @@ def __init__(__self__, *, """ :param Sequence['GetDeploymentSpecificationRouteRequestPolicyHeaderTransformationRenameHeaderItemArgs'] items: The list of headers. """ - pulumi.set(__self__, "items", items) + GetDeploymentSpecificationRouteRequestPolicyHeaderTransformationRenameHeaderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeploymentSpecificationRouteRequestPolicyHeaderTransformationRenameHeaderItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -16210,8 +20357,19 @@ def __init__(__self__, *, :param str from_: The original case-insensitive name of the header. This name must be unique across transformation policies. :param str to: The new name of the header. This name must be unique across transformation policies. """ - pulumi.set(__self__, "from_", from_) - pulumi.set(__self__, "to", to) + GetDeploymentSpecificationRouteRequestPolicyHeaderTransformationRenameHeaderItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + from_=from_, + to=to, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + from_: str, + to: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("from_", from_) + _setter("to", to) @property @pulumi.getter(name="from") @@ -16237,7 +20395,16 @@ def __init__(__self__, *, """ :param Sequence['GetDeploymentSpecificationRouteRequestPolicyHeaderTransformationSetHeaderItemArgs'] items: The list of headers. """ - pulumi.set(__self__, "items", items) + GetDeploymentSpecificationRouteRequestPolicyHeaderTransformationSetHeaderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeploymentSpecificationRouteRequestPolicyHeaderTransformationSetHeaderItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -16259,9 +20426,22 @@ def __init__(__self__, *, :param str name: The case-insensitive name of the header. This name must be unique across transformation policies. :param Sequence[str] values: A list of new values. Each value can be a constant or may include one or more expressions enclosed within ${} delimiters. """ - pulumi.set(__self__, "if_exists", if_exists) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDeploymentSpecificationRouteRequestPolicyHeaderTransformationSetHeaderItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + if_exists=if_exists, + name=name, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + if_exists: str, + name: str, + values: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("if_exists", if_exists) + _setter("name", name) + _setter("values", values) @property @pulumi.getter(name="ifExists") @@ -16296,8 +20476,19 @@ def __init__(__self__, *, """ :param str validation_mode: Validation behavior mode. """ - pulumi.set(__self__, "headers", headers) - pulumi.set(__self__, "validation_mode", validation_mode) + GetDeploymentSpecificationRouteRequestPolicyHeaderValidationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + headers=headers, + validation_mode=validation_mode, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + headers: Sequence['outputs.GetDeploymentSpecificationRouteRequestPolicyHeaderValidationHeaderResult'], + validation_mode: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("headers", headers) + _setter("validation_mode", validation_mode) @property @pulumi.getter @@ -16322,8 +20513,19 @@ def __init__(__self__, *, :param str name: The case-insensitive name of the header. This name must be unique across transformation policies. :param bool required: Determines if the parameter is required in the request. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "required", required) + GetDeploymentSpecificationRouteRequestPolicyHeaderValidationHeaderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + required=required, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + required: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("required", required) @property @pulumi.getter @@ -16353,9 +20555,22 @@ def __init__(__self__, *, :param Sequence['GetDeploymentSpecificationRouteRequestPolicyQueryParameterTransformationRenameQueryParameterArgs'] rename_query_parameters: Rename parameters on the query string as they pass through the gateway. :param Sequence['GetDeploymentSpecificationRouteRequestPolicyQueryParameterTransformationSetQueryParameterArgs'] set_query_parameters: Set parameters on the query string as they pass through the gateway. """ - pulumi.set(__self__, "filter_query_parameters", filter_query_parameters) - pulumi.set(__self__, "rename_query_parameters", rename_query_parameters) - pulumi.set(__self__, "set_query_parameters", set_query_parameters) + GetDeploymentSpecificationRouteRequestPolicyQueryParameterTransformationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + filter_query_parameters=filter_query_parameters, + rename_query_parameters=rename_query_parameters, + set_query_parameters=set_query_parameters, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + filter_query_parameters: Sequence['outputs.GetDeploymentSpecificationRouteRequestPolicyQueryParameterTransformationFilterQueryParameterResult'], + rename_query_parameters: Sequence['outputs.GetDeploymentSpecificationRouteRequestPolicyQueryParameterTransformationRenameQueryParameterResult'], + set_query_parameters: Sequence['outputs.GetDeploymentSpecificationRouteRequestPolicyQueryParameterTransformationSetQueryParameterResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("filter_query_parameters", filter_query_parameters) + _setter("rename_query_parameters", rename_query_parameters) + _setter("set_query_parameters", set_query_parameters) @property @pulumi.getter(name="filterQueryParameters") @@ -16391,8 +20606,19 @@ def __init__(__self__, *, :param Sequence['GetDeploymentSpecificationRouteRequestPolicyQueryParameterTransformationFilterQueryParameterItemArgs'] items: The list of headers. :param str type: Type of the Response Cache Store Policy. """ - pulumi.set(__self__, "items", items) - pulumi.set(__self__, "type", type) + GetDeploymentSpecificationRouteRequestPolicyQueryParameterTransformationFilterQueryParameterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeploymentSpecificationRouteRequestPolicyQueryParameterTransformationFilterQueryParameterItemResult'], + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) + _setter("type", type) @property @pulumi.getter @@ -16418,7 +20644,16 @@ def __init__(__self__, *, """ :param str name: The case-insensitive name of the header. This name must be unique across transformation policies. """ - pulumi.set(__self__, "name", name) + GetDeploymentSpecificationRouteRequestPolicyQueryParameterTransformationFilterQueryParameterItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -16436,7 +20671,16 @@ def __init__(__self__, *, """ :param Sequence['GetDeploymentSpecificationRouteRequestPolicyQueryParameterTransformationRenameQueryParameterItemArgs'] items: The list of headers. """ - pulumi.set(__self__, "items", items) + GetDeploymentSpecificationRouteRequestPolicyQueryParameterTransformationRenameQueryParameterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeploymentSpecificationRouteRequestPolicyQueryParameterTransformationRenameQueryParameterItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -16456,8 +20700,19 @@ def __init__(__self__, *, :param str from_: The original case-insensitive name of the header. This name must be unique across transformation policies. :param str to: The new name of the header. This name must be unique across transformation policies. """ - pulumi.set(__self__, "from_", from_) - pulumi.set(__self__, "to", to) + GetDeploymentSpecificationRouteRequestPolicyQueryParameterTransformationRenameQueryParameterItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + from_=from_, + to=to, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + from_: str, + to: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("from_", from_) + _setter("to", to) @property @pulumi.getter(name="from") @@ -16483,7 +20738,16 @@ def __init__(__self__, *, """ :param Sequence['GetDeploymentSpecificationRouteRequestPolicyQueryParameterTransformationSetQueryParameterItemArgs'] items: The list of headers. """ - pulumi.set(__self__, "items", items) + GetDeploymentSpecificationRouteRequestPolicyQueryParameterTransformationSetQueryParameterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeploymentSpecificationRouteRequestPolicyQueryParameterTransformationSetQueryParameterItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -16505,9 +20769,22 @@ def __init__(__self__, *, :param str name: The case-insensitive name of the header. This name must be unique across transformation policies. :param Sequence[str] values: A list of new values. Each value can be a constant or may include one or more expressions enclosed within ${} delimiters. """ - pulumi.set(__self__, "if_exists", if_exists) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDeploymentSpecificationRouteRequestPolicyQueryParameterTransformationSetQueryParameterItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + if_exists=if_exists, + name=name, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + if_exists: str, + name: str, + values: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("if_exists", if_exists) + _setter("name", name) + _setter("values", values) @property @pulumi.getter(name="ifExists") @@ -16542,8 +20819,19 @@ def __init__(__self__, *, """ :param str validation_mode: Validation behavior mode. """ - pulumi.set(__self__, "parameters", parameters) - pulumi.set(__self__, "validation_mode", validation_mode) + GetDeploymentSpecificationRouteRequestPolicyQueryParameterValidationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + parameters=parameters, + validation_mode=validation_mode, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + parameters: Sequence['outputs.GetDeploymentSpecificationRouteRequestPolicyQueryParameterValidationParameterResult'], + validation_mode: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("parameters", parameters) + _setter("validation_mode", validation_mode) @property @pulumi.getter @@ -16568,8 +20856,19 @@ def __init__(__self__, *, :param str name: The case-insensitive name of the header. This name must be unique across transformation policies. :param bool required: Determines if the parameter is required in the request. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "required", required) + GetDeploymentSpecificationRouteRequestPolicyQueryParameterValidationParameterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + required=required, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + required: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("required", required) @property @pulumi.getter @@ -16601,10 +20900,25 @@ def __init__(__self__, *, :param bool is_private_caching_enabled: Set true to allow caching responses where the request has an Authorization header. Ensure you have configured your cache key additions to get the level of isolation across authenticated requests that you require. :param str type: Type of the Response Cache Store Policy. """ - pulumi.set(__self__, "cache_key_additions", cache_key_additions) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "is_private_caching_enabled", is_private_caching_enabled) - pulumi.set(__self__, "type", type) + GetDeploymentSpecificationRouteRequestPolicyResponseCacheLookupResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cache_key_additions=cache_key_additions, + is_enabled=is_enabled, + is_private_caching_enabled=is_private_caching_enabled, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cache_key_additions: Sequence[str], + is_enabled: bool, + is_private_caching_enabled: bool, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cache_key_additions", cache_key_additions) + _setter("is_enabled", is_enabled) + _setter("is_private_caching_enabled", is_private_caching_enabled) + _setter("type", type) @property @pulumi.getter(name="cacheKeyAdditions") @@ -16648,8 +20962,19 @@ def __init__(__self__, *, :param Sequence['GetDeploymentSpecificationRouteResponsePolicyHeaderTransformationArgs'] header_transformations: A set of transformations to apply to HTTP headers that pass through the gateway. :param Sequence['GetDeploymentSpecificationRouteResponsePolicyResponseCacheStoreArgs'] response_cache_stores: Base policy for how a response from a backend is cached in the Response Cache. """ - pulumi.set(__self__, "header_transformations", header_transformations) - pulumi.set(__self__, "response_cache_stores", response_cache_stores) + GetDeploymentSpecificationRouteResponsePolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + header_transformations=header_transformations, + response_cache_stores=response_cache_stores, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + header_transformations: Sequence['outputs.GetDeploymentSpecificationRouteResponsePolicyHeaderTransformationResult'], + response_cache_stores: Sequence['outputs.GetDeploymentSpecificationRouteResponsePolicyResponseCacheStoreResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("header_transformations", header_transformations) + _setter("response_cache_stores", response_cache_stores) @property @pulumi.getter(name="headerTransformations") @@ -16679,9 +21004,22 @@ def __init__(__self__, *, :param Sequence['GetDeploymentSpecificationRouteResponsePolicyHeaderTransformationRenameHeaderArgs'] rename_headers: Rename HTTP headers as they pass through the gateway. :param Sequence['GetDeploymentSpecificationRouteResponsePolicyHeaderTransformationSetHeaderArgs'] set_headers: Set HTTP headers as they pass through the gateway. """ - pulumi.set(__self__, "filter_headers", filter_headers) - pulumi.set(__self__, "rename_headers", rename_headers) - pulumi.set(__self__, "set_headers", set_headers) + GetDeploymentSpecificationRouteResponsePolicyHeaderTransformationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + filter_headers=filter_headers, + rename_headers=rename_headers, + set_headers=set_headers, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + filter_headers: Sequence['outputs.GetDeploymentSpecificationRouteResponsePolicyHeaderTransformationFilterHeaderResult'], + rename_headers: Sequence['outputs.GetDeploymentSpecificationRouteResponsePolicyHeaderTransformationRenameHeaderResult'], + set_headers: Sequence['outputs.GetDeploymentSpecificationRouteResponsePolicyHeaderTransformationSetHeaderResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("filter_headers", filter_headers) + _setter("rename_headers", rename_headers) + _setter("set_headers", set_headers) @property @pulumi.getter(name="filterHeaders") @@ -16717,8 +21055,19 @@ def __init__(__self__, *, :param Sequence['GetDeploymentSpecificationRouteResponsePolicyHeaderTransformationFilterHeaderItemArgs'] items: The list of headers. :param str type: Type of the Response Cache Store Policy. """ - pulumi.set(__self__, "items", items) - pulumi.set(__self__, "type", type) + GetDeploymentSpecificationRouteResponsePolicyHeaderTransformationFilterHeaderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeploymentSpecificationRouteResponsePolicyHeaderTransformationFilterHeaderItemResult'], + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) + _setter("type", type) @property @pulumi.getter @@ -16744,7 +21093,16 @@ def __init__(__self__, *, """ :param str name: The case-insensitive name of the header. This name must be unique across transformation policies. """ - pulumi.set(__self__, "name", name) + GetDeploymentSpecificationRouteResponsePolicyHeaderTransformationFilterHeaderItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -16762,7 +21120,16 @@ def __init__(__self__, *, """ :param Sequence['GetDeploymentSpecificationRouteResponsePolicyHeaderTransformationRenameHeaderItemArgs'] items: The list of headers. """ - pulumi.set(__self__, "items", items) + GetDeploymentSpecificationRouteResponsePolicyHeaderTransformationRenameHeaderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeploymentSpecificationRouteResponsePolicyHeaderTransformationRenameHeaderItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -16782,8 +21149,19 @@ def __init__(__self__, *, :param str from_: The original case-insensitive name of the header. This name must be unique across transformation policies. :param str to: The new name of the header. This name must be unique across transformation policies. """ - pulumi.set(__self__, "from_", from_) - pulumi.set(__self__, "to", to) + GetDeploymentSpecificationRouteResponsePolicyHeaderTransformationRenameHeaderItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + from_=from_, + to=to, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + from_: str, + to: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("from_", from_) + _setter("to", to) @property @pulumi.getter(name="from") @@ -16809,7 +21187,16 @@ def __init__(__self__, *, """ :param Sequence['GetDeploymentSpecificationRouteResponsePolicyHeaderTransformationSetHeaderItemArgs'] items: The list of headers. """ - pulumi.set(__self__, "items", items) + GetDeploymentSpecificationRouteResponsePolicyHeaderTransformationSetHeaderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeploymentSpecificationRouteResponsePolicyHeaderTransformationSetHeaderItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -16831,9 +21218,22 @@ def __init__(__self__, *, :param str name: The case-insensitive name of the header. This name must be unique across transformation policies. :param Sequence[str] values: A list of new values. Each value can be a constant or may include one or more expressions enclosed within ${} delimiters. """ - pulumi.set(__self__, "if_exists", if_exists) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDeploymentSpecificationRouteResponsePolicyHeaderTransformationSetHeaderItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + if_exists=if_exists, + name=name, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + if_exists: str, + name: str, + values: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("if_exists", if_exists) + _setter("name", name) + _setter("values", values) @property @pulumi.getter(name="ifExists") @@ -16869,8 +21269,19 @@ def __init__(__self__, *, :param int time_to_live_in_seconds: Sets the number of seconds for a response from a backend being stored in the Response Cache before it expires. :param str type: Type of the Response Cache Store Policy. """ - pulumi.set(__self__, "time_to_live_in_seconds", time_to_live_in_seconds) - pulumi.set(__self__, "type", type) + GetDeploymentSpecificationRouteResponsePolicyResponseCacheStoreResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + time_to_live_in_seconds=time_to_live_in_seconds, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + time_to_live_in_seconds: int, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("time_to_live_in_seconds", time_to_live_in_seconds) + _setter("type", type) @property @pulumi.getter(name="timeToLiveInSeconds") @@ -16920,19 +21331,52 @@ def __init__(__self__, *, :param str time_created: The time this resource was created. An RFC3339 formatted datetime string. :param str time_updated: The time this resource was last updated. An RFC3339 formatted datetime string. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "endpoint", endpoint) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "gateway_id", gateway_id) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "path_prefix", path_prefix) - pulumi.set(__self__, "specifications", specifications) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetDeploymentsDeploymentCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + endpoint=endpoint, + freeform_tags=freeform_tags, + gateway_id=gateway_id, + id=id, + lifecycle_details=lifecycle_details, + path_prefix=path_prefix, + specifications=specifications, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + endpoint: str, + freeform_tags: Mapping[str, Any], + gateway_id: str, + id: str, + lifecycle_details: str, + path_prefix: str, + specifications: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationResult'], + state: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("endpoint", endpoint) + _setter("freeform_tags", freeform_tags) + _setter("gateway_id", gateway_id) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("path_prefix", path_prefix) + _setter("specifications", specifications) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -17050,9 +21494,22 @@ def __init__(__self__, *, :param Sequence['GetDeploymentsDeploymentCollectionSpecificationRequestPolicyArgs'] request_policies: Behavior applied to any requests received by the API on this route. :param Sequence['GetDeploymentsDeploymentCollectionSpecificationRouteArgs'] routes: A list of routes that this API exposes. """ - pulumi.set(__self__, "logging_policies", logging_policies) - pulumi.set(__self__, "request_policies", request_policies) - pulumi.set(__self__, "routes", routes) + GetDeploymentsDeploymentCollectionSpecificationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + logging_policies=logging_policies, + request_policies=request_policies, + routes=routes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + logging_policies: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationLoggingPolicyResult'], + request_policies: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRequestPolicyResult'], + routes: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRouteResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("logging_policies", logging_policies) + _setter("request_policies", request_policies) + _setter("routes", routes) @property @pulumi.getter(name="loggingPolicies") @@ -17088,8 +21545,19 @@ def __init__(__self__, *, :param Sequence['GetDeploymentsDeploymentCollectionSpecificationLoggingPolicyAccessLogArgs'] access_logs: Configures the logging policies for the access logs of an API Deployment. :param Sequence['GetDeploymentsDeploymentCollectionSpecificationLoggingPolicyExecutionLogArgs'] execution_logs: Configures the logging policies for the execution logs of an API Deployment. """ - pulumi.set(__self__, "access_logs", access_logs) - pulumi.set(__self__, "execution_logs", execution_logs) + GetDeploymentsDeploymentCollectionSpecificationLoggingPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + access_logs=access_logs, + execution_logs=execution_logs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access_logs: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationLoggingPolicyAccessLogResult'], + execution_logs: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationLoggingPolicyExecutionLogResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("access_logs", access_logs) + _setter("execution_logs", execution_logs) @property @pulumi.getter(name="accessLogs") @@ -17115,7 +21583,16 @@ def __init__(__self__, *, """ :param bool is_enabled: Whether this policy is currently enabled. """ - pulumi.set(__self__, "is_enabled", is_enabled) + GetDeploymentsDeploymentCollectionSpecificationLoggingPolicyAccessLogResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_enabled", is_enabled) @property @pulumi.getter(name="isEnabled") @@ -17135,8 +21612,19 @@ def __init__(__self__, *, :param bool is_enabled: Whether this policy is currently enabled. :param str log_level: Specifies the log level used to control logging output of execution logs. Enabling logging at a given level also enables logging at all higher levels. """ - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "log_level", log_level) + GetDeploymentsDeploymentCollectionSpecificationLoggingPolicyExecutionLogResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + log_level=log_level, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: bool, + log_level: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_enabled", is_enabled) + _setter("log_level", log_level) @property @pulumi.getter(name="isEnabled") @@ -17172,12 +21660,31 @@ def __init__(__self__, *, :param Sequence['GetDeploymentsDeploymentCollectionSpecificationRequestPolicyRateLimitingArgs'] rate_limitings: Limit the number of requests that should be handled for the specified window using a specfic key. :param Sequence['GetDeploymentsDeploymentCollectionSpecificationRequestPolicyUsagePlanArgs'] usage_plans: Usage plan policies for this deployment """ - pulumi.set(__self__, "authentications", authentications) - pulumi.set(__self__, "cors", cors) - pulumi.set(__self__, "dynamic_authentications", dynamic_authentications) - pulumi.set(__self__, "mutual_tls", mutual_tls) - pulumi.set(__self__, "rate_limitings", rate_limitings) - pulumi.set(__self__, "usage_plans", usage_plans) + GetDeploymentsDeploymentCollectionSpecificationRequestPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + authentications=authentications, + cors=cors, + dynamic_authentications=dynamic_authentications, + mutual_tls=mutual_tls, + rate_limitings=rate_limitings, + usage_plans=usage_plans, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + authentications: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRequestPolicyAuthenticationResult'], + cors: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRequestPolicyCorResult'], + dynamic_authentications: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRequestPolicyDynamicAuthenticationResult'], + mutual_tls: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRequestPolicyMutualTlResult'], + rate_limitings: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRequestPolicyRateLimitingResult'], + usage_plans: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRequestPolicyUsagePlanResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("authentications", authentications) + _setter("cors", cors) + _setter("dynamic_authentications", dynamic_authentications) + _setter("mutual_tls", mutual_tls) + _setter("rate_limitings", rate_limitings) + _setter("usage_plans", usage_plans) @property @pulumi.getter @@ -17262,21 +21769,58 @@ def __init__(__self__, *, :param Sequence['GetDeploymentsDeploymentCollectionSpecificationRequestPolicyAuthenticationValidationPolicyArgs'] validation_policies: Authentication Policies for the Token Authentication types. :param Sequence['GetDeploymentsDeploymentCollectionSpecificationRequestPolicyAuthenticationVerifyClaimArgs'] verify_claims: A list of claims which should be validated to consider the token valid. """ - pulumi.set(__self__, "audiences", audiences) - pulumi.set(__self__, "cache_keys", cache_keys) - pulumi.set(__self__, "function_id", function_id) - pulumi.set(__self__, "is_anonymous_access_allowed", is_anonymous_access_allowed) - pulumi.set(__self__, "issuers", issuers) - pulumi.set(__self__, "max_clock_skew_in_seconds", max_clock_skew_in_seconds) - pulumi.set(__self__, "parameters", parameters) - pulumi.set(__self__, "public_keys", public_keys) - pulumi.set(__self__, "token_auth_scheme", token_auth_scheme) - pulumi.set(__self__, "token_header", token_header) - pulumi.set(__self__, "token_query_param", token_query_param) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "validation_failure_policies", validation_failure_policies) - pulumi.set(__self__, "validation_policies", validation_policies) - pulumi.set(__self__, "verify_claims", verify_claims) + GetDeploymentsDeploymentCollectionSpecificationRequestPolicyAuthenticationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + audiences=audiences, + cache_keys=cache_keys, + function_id=function_id, + is_anonymous_access_allowed=is_anonymous_access_allowed, + issuers=issuers, + max_clock_skew_in_seconds=max_clock_skew_in_seconds, + parameters=parameters, + public_keys=public_keys, + token_auth_scheme=token_auth_scheme, + token_header=token_header, + token_query_param=token_query_param, + type=type, + validation_failure_policies=validation_failure_policies, + validation_policies=validation_policies, + verify_claims=verify_claims, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + audiences: Sequence[str], + cache_keys: Sequence[str], + function_id: str, + is_anonymous_access_allowed: bool, + issuers: Sequence[str], + max_clock_skew_in_seconds: float, + parameters: Mapping[str, Any], + public_keys: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRequestPolicyAuthenticationPublicKeyResult'], + token_auth_scheme: str, + token_header: str, + token_query_param: str, + type: str, + validation_failure_policies: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRequestPolicyAuthenticationValidationFailurePolicyResult'], + validation_policies: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRequestPolicyAuthenticationValidationPolicyResult'], + verify_claims: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRequestPolicyAuthenticationVerifyClaimResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("audiences", audiences) + _setter("cache_keys", cache_keys) + _setter("function_id", function_id) + _setter("is_anonymous_access_allowed", is_anonymous_access_allowed) + _setter("issuers", issuers) + _setter("max_clock_skew_in_seconds", max_clock_skew_in_seconds) + _setter("parameters", parameters) + _setter("public_keys", public_keys) + _setter("token_auth_scheme", token_auth_scheme) + _setter("token_header", token_header) + _setter("token_query_param", token_query_param) + _setter("type", type) + _setter("validation_failure_policies", validation_failure_policies) + _setter("validation_policies", validation_policies) + _setter("verify_claims", verify_claims) @property @pulumi.getter @@ -17411,11 +21955,28 @@ def __init__(__self__, *, :param str type: Type of the Response Cache Store Policy. :param str uri: The uri from which to retrieve the key. It must be accessible without authentication. """ - pulumi.set(__self__, "is_ssl_verify_disabled", is_ssl_verify_disabled) - pulumi.set(__self__, "keys", keys) - pulumi.set(__self__, "max_cache_duration_in_hours", max_cache_duration_in_hours) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "uri", uri) + GetDeploymentsDeploymentCollectionSpecificationRequestPolicyAuthenticationPublicKeyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_ssl_verify_disabled=is_ssl_verify_disabled, + keys=keys, + max_cache_duration_in_hours=max_cache_duration_in_hours, + type=type, + uri=uri, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_ssl_verify_disabled: bool, + keys: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRequestPolicyAuthenticationPublicKeyKeyResult'], + max_cache_duration_in_hours: int, + type: str, + uri: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_ssl_verify_disabled", is_ssl_verify_disabled) + _setter("keys", keys) + _setter("max_cache_duration_in_hours", max_cache_duration_in_hours) + _setter("type", type) + _setter("uri", uri) @property @pulumi.getter(name="isSslVerifyDisabled") @@ -17481,15 +22042,40 @@ def __init__(__self__, *, :param str n: The base64 url encoded modulus of the RSA public key represented by this key. :param str use: The intended use of the public key. """ - pulumi.set(__self__, "alg", alg) - pulumi.set(__self__, "e", e) - pulumi.set(__self__, "format", format) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "key_ops", key_ops) - pulumi.set(__self__, "kid", kid) - pulumi.set(__self__, "kty", kty) - pulumi.set(__self__, "n", n) - pulumi.set(__self__, "use", use) + GetDeploymentsDeploymentCollectionSpecificationRequestPolicyAuthenticationPublicKeyKeyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + alg=alg, + e=e, + format=format, + key=key, + key_ops=key_ops, + kid=kid, + kty=kty, + n=n, + use=use, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + alg: str, + e: str, + format: str, + key: str, + key_ops: Sequence[str], + kid: str, + kty: str, + n: str, + use: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("alg", alg) + _setter("e", e) + _setter("format", format) + _setter("key", key) + _setter("key_ops", key_ops) + _setter("kid", kid) + _setter("kty", kty) + _setter("n", n) + _setter("use", use) @property @pulumi.getter @@ -17597,20 +22183,55 @@ def __init__(__self__, *, :param bool use_cookies_for_session: Defines whether or not to use cookies for session maintenance. :param bool use_pkce: Defines whether or not to support PKCE. """ - pulumi.set(__self__, "client_details", client_details) - pulumi.set(__self__, "fallback_redirect_path", fallback_redirect_path) - pulumi.set(__self__, "logout_path", logout_path) - pulumi.set(__self__, "max_expiry_duration_in_hours", max_expiry_duration_in_hours) - pulumi.set(__self__, "response_code", response_code) - pulumi.set(__self__, "response_header_transformations", response_header_transformations) - pulumi.set(__self__, "response_message", response_message) - pulumi.set(__self__, "response_type", response_type) - pulumi.set(__self__, "scopes", scopes) - pulumi.set(__self__, "source_uri_details", source_uri_details) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "use_cookies_for_intermediate_steps", use_cookies_for_intermediate_steps) - pulumi.set(__self__, "use_cookies_for_session", use_cookies_for_session) - pulumi.set(__self__, "use_pkce", use_pkce) + GetDeploymentsDeploymentCollectionSpecificationRequestPolicyAuthenticationValidationFailurePolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + client_details=client_details, + fallback_redirect_path=fallback_redirect_path, + logout_path=logout_path, + max_expiry_duration_in_hours=max_expiry_duration_in_hours, + response_code=response_code, + response_header_transformations=response_header_transformations, + response_message=response_message, + response_type=response_type, + scopes=scopes, + source_uri_details=source_uri_details, + type=type, + use_cookies_for_intermediate_steps=use_cookies_for_intermediate_steps, + use_cookies_for_session=use_cookies_for_session, + use_pkce=use_pkce, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + client_details: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRequestPolicyAuthenticationValidationFailurePolicyClientDetailResult'], + fallback_redirect_path: str, + logout_path: str, + max_expiry_duration_in_hours: int, + response_code: str, + response_header_transformations: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRequestPolicyAuthenticationValidationFailurePolicyResponseHeaderTransformationResult'], + response_message: str, + response_type: str, + scopes: Sequence[str], + source_uri_details: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRequestPolicyAuthenticationValidationFailurePolicySourceUriDetailResult'], + type: str, + use_cookies_for_intermediate_steps: bool, + use_cookies_for_session: bool, + use_pkce: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("client_details", client_details) + _setter("fallback_redirect_path", fallback_redirect_path) + _setter("logout_path", logout_path) + _setter("max_expiry_duration_in_hours", max_expiry_duration_in_hours) + _setter("response_code", response_code) + _setter("response_header_transformations", response_header_transformations) + _setter("response_message", response_message) + _setter("response_type", response_type) + _setter("scopes", scopes) + _setter("source_uri_details", source_uri_details) + _setter("type", type) + _setter("use_cookies_for_intermediate_steps", use_cookies_for_intermediate_steps) + _setter("use_cookies_for_session", use_cookies_for_session) + _setter("use_pkce", use_pkce) @property @pulumi.getter(name="clientDetails") @@ -17738,10 +22359,25 @@ def __init__(__self__, *, :param str client_secret_version_number: The version number of the client secret to use. :param str type: Type of the Response Cache Store Policy. """ - pulumi.set(__self__, "client_id", client_id) - pulumi.set(__self__, "client_secret_id", client_secret_id) - pulumi.set(__self__, "client_secret_version_number", client_secret_version_number) - pulumi.set(__self__, "type", type) + GetDeploymentsDeploymentCollectionSpecificationRequestPolicyAuthenticationValidationFailurePolicyClientDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + client_id=client_id, + client_secret_id=client_secret_id, + client_secret_version_number=client_secret_version_number, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + client_id: str, + client_secret_id: str, + client_secret_version_number: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("client_id", client_id) + _setter("client_secret_id", client_secret_id) + _setter("client_secret_version_number", client_secret_version_number) + _setter("type", type) @property @pulumi.getter(name="clientId") @@ -17787,9 +22423,22 @@ def __init__(__self__, *, :param Sequence['GetDeploymentsDeploymentCollectionSpecificationRequestPolicyAuthenticationValidationFailurePolicyResponseHeaderTransformationRenameHeaderArgs'] rename_headers: Rename HTTP headers as they pass through the gateway. :param Sequence['GetDeploymentsDeploymentCollectionSpecificationRequestPolicyAuthenticationValidationFailurePolicyResponseHeaderTransformationSetHeaderArgs'] set_headers: Set HTTP headers as they pass through the gateway. """ - pulumi.set(__self__, "filter_headers", filter_headers) - pulumi.set(__self__, "rename_headers", rename_headers) - pulumi.set(__self__, "set_headers", set_headers) + GetDeploymentsDeploymentCollectionSpecificationRequestPolicyAuthenticationValidationFailurePolicyResponseHeaderTransformationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + filter_headers=filter_headers, + rename_headers=rename_headers, + set_headers=set_headers, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + filter_headers: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRequestPolicyAuthenticationValidationFailurePolicyResponseHeaderTransformationFilterHeaderResult'], + rename_headers: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRequestPolicyAuthenticationValidationFailurePolicyResponseHeaderTransformationRenameHeaderResult'], + set_headers: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRequestPolicyAuthenticationValidationFailurePolicyResponseHeaderTransformationSetHeaderResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("filter_headers", filter_headers) + _setter("rename_headers", rename_headers) + _setter("set_headers", set_headers) @property @pulumi.getter(name="filterHeaders") @@ -17825,8 +22474,19 @@ def __init__(__self__, *, :param Sequence['GetDeploymentsDeploymentCollectionSpecificationRequestPolicyAuthenticationValidationFailurePolicyResponseHeaderTransformationFilterHeaderItemArgs'] items: The list of headers. :param str type: Type of the Response Cache Store Policy. """ - pulumi.set(__self__, "items", items) - pulumi.set(__self__, "type", type) + GetDeploymentsDeploymentCollectionSpecificationRequestPolicyAuthenticationValidationFailurePolicyResponseHeaderTransformationFilterHeaderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRequestPolicyAuthenticationValidationFailurePolicyResponseHeaderTransformationFilterHeaderItemResult'], + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) + _setter("type", type) @property @pulumi.getter @@ -17852,7 +22512,16 @@ def __init__(__self__, *, """ :param str name: The case-insensitive name of the header. This name must be unique across transformation policies. """ - pulumi.set(__self__, "name", name) + GetDeploymentsDeploymentCollectionSpecificationRequestPolicyAuthenticationValidationFailurePolicyResponseHeaderTransformationFilterHeaderItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -17870,7 +22539,16 @@ def __init__(__self__, *, """ :param Sequence['GetDeploymentsDeploymentCollectionSpecificationRequestPolicyAuthenticationValidationFailurePolicyResponseHeaderTransformationRenameHeaderItemArgs'] items: The list of headers. """ - pulumi.set(__self__, "items", items) + GetDeploymentsDeploymentCollectionSpecificationRequestPolicyAuthenticationValidationFailurePolicyResponseHeaderTransformationRenameHeaderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRequestPolicyAuthenticationValidationFailurePolicyResponseHeaderTransformationRenameHeaderItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -17890,8 +22568,19 @@ def __init__(__self__, *, :param str from_: The original case-insensitive name of the header. This name must be unique across transformation policies. :param str to: The new name of the header. This name must be unique across transformation policies. """ - pulumi.set(__self__, "from_", from_) - pulumi.set(__self__, "to", to) + GetDeploymentsDeploymentCollectionSpecificationRequestPolicyAuthenticationValidationFailurePolicyResponseHeaderTransformationRenameHeaderItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + from_=from_, + to=to, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + from_: str, + to: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("from_", from_) + _setter("to", to) @property @pulumi.getter(name="from") @@ -17917,7 +22606,16 @@ def __init__(__self__, *, """ :param Sequence['GetDeploymentsDeploymentCollectionSpecificationRequestPolicyAuthenticationValidationFailurePolicyResponseHeaderTransformationSetHeaderItemArgs'] items: The list of headers. """ - pulumi.set(__self__, "items", items) + GetDeploymentsDeploymentCollectionSpecificationRequestPolicyAuthenticationValidationFailurePolicyResponseHeaderTransformationSetHeaderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRequestPolicyAuthenticationValidationFailurePolicyResponseHeaderTransformationSetHeaderItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -17939,9 +22637,22 @@ def __init__(__self__, *, :param str name: The case-insensitive name of the header. This name must be unique across transformation policies. :param Sequence[str] values: A list of new values. Each value can be a constant or may include one or more expressions enclosed within ${} delimiters. """ - pulumi.set(__self__, "if_exists", if_exists) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDeploymentsDeploymentCollectionSpecificationRequestPolicyAuthenticationValidationFailurePolicyResponseHeaderTransformationSetHeaderItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + if_exists=if_exists, + name=name, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + if_exists: str, + name: str, + values: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("if_exists", if_exists) + _setter("name", name) + _setter("values", values) @property @pulumi.getter(name="ifExists") @@ -17977,8 +22688,19 @@ def __init__(__self__, *, :param str type: Type of the Response Cache Store Policy. :param str uri: The uri from which to retrieve the key. It must be accessible without authentication. """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "uri", uri) + GetDeploymentsDeploymentCollectionSpecificationRequestPolicyAuthenticationValidationFailurePolicySourceUriDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + uri=uri, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + uri: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("uri", uri) @property @pulumi.getter @@ -18018,14 +22740,37 @@ def __init__(__self__, *, :param str type: Type of the Response Cache Store Policy. :param str uri: The uri from which to retrieve the key. It must be accessible without authentication. """ - pulumi.set(__self__, "additional_validation_policies", additional_validation_policies) - pulumi.set(__self__, "client_details", client_details) - pulumi.set(__self__, "is_ssl_verify_disabled", is_ssl_verify_disabled) - pulumi.set(__self__, "keys", keys) - pulumi.set(__self__, "max_cache_duration_in_hours", max_cache_duration_in_hours) - pulumi.set(__self__, "source_uri_details", source_uri_details) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "uri", uri) + GetDeploymentsDeploymentCollectionSpecificationRequestPolicyAuthenticationValidationPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + additional_validation_policies=additional_validation_policies, + client_details=client_details, + is_ssl_verify_disabled=is_ssl_verify_disabled, + keys=keys, + max_cache_duration_in_hours=max_cache_duration_in_hours, + source_uri_details=source_uri_details, + type=type, + uri=uri, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + additional_validation_policies: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRequestPolicyAuthenticationValidationPolicyAdditionalValidationPolicyResult'], + client_details: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRequestPolicyAuthenticationValidationPolicyClientDetailResult'], + is_ssl_verify_disabled: bool, + keys: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRequestPolicyAuthenticationValidationPolicyKeyResult'], + max_cache_duration_in_hours: int, + source_uri_details: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRequestPolicyAuthenticationValidationPolicySourceUriDetailResult'], + type: str, + uri: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("additional_validation_policies", additional_validation_policies) + _setter("client_details", client_details) + _setter("is_ssl_verify_disabled", is_ssl_verify_disabled) + _setter("keys", keys) + _setter("max_cache_duration_in_hours", max_cache_duration_in_hours) + _setter("source_uri_details", source_uri_details) + _setter("type", type) + _setter("uri", uri) @property @pulumi.getter(name="additionalValidationPolicies") @@ -18103,9 +22848,22 @@ def __init__(__self__, *, :param Sequence[str] issuers: A list of parties that could have issued the token. :param Sequence['GetDeploymentsDeploymentCollectionSpecificationRequestPolicyAuthenticationValidationPolicyAdditionalValidationPolicyVerifyClaimArgs'] verify_claims: A list of claims which should be validated to consider the token valid. """ - pulumi.set(__self__, "audiences", audiences) - pulumi.set(__self__, "issuers", issuers) - pulumi.set(__self__, "verify_claims", verify_claims) + GetDeploymentsDeploymentCollectionSpecificationRequestPolicyAuthenticationValidationPolicyAdditionalValidationPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + audiences=audiences, + issuers=issuers, + verify_claims=verify_claims, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + audiences: Sequence[str], + issuers: Sequence[str], + verify_claims: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRequestPolicyAuthenticationValidationPolicyAdditionalValidationPolicyVerifyClaimResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("audiences", audiences) + _setter("issuers", issuers) + _setter("verify_claims", verify_claims) @property @pulumi.getter @@ -18143,9 +22901,22 @@ def __init__(__self__, *, :param str key: Information around the values for selector of an authentication/ routing branch. :param Sequence[str] values: A list of new values. Each value can be a constant or may include one or more expressions enclosed within ${} delimiters. """ - pulumi.set(__self__, "is_required", is_required) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "values", values) + GetDeploymentsDeploymentCollectionSpecificationRequestPolicyAuthenticationValidationPolicyAdditionalValidationPolicyVerifyClaimResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_required=is_required, + key=key, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_required: bool, + key: str, + values: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_required", is_required) + _setter("key", key) + _setter("values", values) @property @pulumi.getter(name="isRequired") @@ -18185,10 +22956,25 @@ def __init__(__self__, *, :param str client_secret_version_number: The version number of the client secret to use. :param str type: Type of the Response Cache Store Policy. """ - pulumi.set(__self__, "client_id", client_id) - pulumi.set(__self__, "client_secret_id", client_secret_id) - pulumi.set(__self__, "client_secret_version_number", client_secret_version_number) - pulumi.set(__self__, "type", type) + GetDeploymentsDeploymentCollectionSpecificationRequestPolicyAuthenticationValidationPolicyClientDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + client_id=client_id, + client_secret_id=client_secret_id, + client_secret_version_number=client_secret_version_number, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + client_id: str, + client_secret_id: str, + client_secret_version_number: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("client_id", client_id) + _setter("client_secret_id", client_secret_id) + _setter("client_secret_version_number", client_secret_version_number) + _setter("type", type) @property @pulumi.getter(name="clientId") @@ -18246,15 +23032,40 @@ def __init__(__self__, *, :param str n: The base64 url encoded modulus of the RSA public key represented by this key. :param str use: The intended use of the public key. """ - pulumi.set(__self__, "alg", alg) - pulumi.set(__self__, "e", e) - pulumi.set(__self__, "format", format) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "key_ops", key_ops) - pulumi.set(__self__, "kid", kid) - pulumi.set(__self__, "kty", kty) - pulumi.set(__self__, "n", n) - pulumi.set(__self__, "use", use) + GetDeploymentsDeploymentCollectionSpecificationRequestPolicyAuthenticationValidationPolicyKeyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + alg=alg, + e=e, + format=format, + key=key, + key_ops=key_ops, + kid=kid, + kty=kty, + n=n, + use=use, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + alg: str, + e: str, + format: str, + key: str, + key_ops: Sequence[str], + kid: str, + kty: str, + n: str, + use: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("alg", alg) + _setter("e", e) + _setter("format", format) + _setter("key", key) + _setter("key_ops", key_ops) + _setter("kid", kid) + _setter("kty", kty) + _setter("n", n) + _setter("use", use) @property @pulumi.getter @@ -18338,8 +23149,19 @@ def __init__(__self__, *, :param str type: Type of the Response Cache Store Policy. :param str uri: The uri from which to retrieve the key. It must be accessible without authentication. """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "uri", uri) + GetDeploymentsDeploymentCollectionSpecificationRequestPolicyAuthenticationValidationPolicySourceUriDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + uri=uri, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + uri: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("uri", uri) @property @pulumi.getter @@ -18369,9 +23191,22 @@ def __init__(__self__, *, :param str key: Information around the values for selector of an authentication/ routing branch. :param Sequence[str] values: A list of new values. Each value can be a constant or may include one or more expressions enclosed within ${} delimiters. """ - pulumi.set(__self__, "is_required", is_required) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "values", values) + GetDeploymentsDeploymentCollectionSpecificationRequestPolicyAuthenticationVerifyClaimResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_required=is_required, + key=key, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_required: bool, + key: str, + values: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_required", is_required) + _setter("key", key) + _setter("values", values) @property @pulumi.getter(name="isRequired") @@ -18415,12 +23250,31 @@ def __init__(__self__, *, :param bool is_allow_credentials_enabled: Whether to send the Access-Control-Allow-Credentials header to allow CORS requests with cookies. :param int max_age_in_seconds: The time in seconds for the client to cache preflight responses. This is sent as the Access-Control-Max-Age if greater than 0. """ - pulumi.set(__self__, "allowed_headers", allowed_headers) - pulumi.set(__self__, "allowed_methods", allowed_methods) - pulumi.set(__self__, "allowed_origins", allowed_origins) - pulumi.set(__self__, "exposed_headers", exposed_headers) - pulumi.set(__self__, "is_allow_credentials_enabled", is_allow_credentials_enabled) - pulumi.set(__self__, "max_age_in_seconds", max_age_in_seconds) + GetDeploymentsDeploymentCollectionSpecificationRequestPolicyCorResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_headers=allowed_headers, + allowed_methods=allowed_methods, + allowed_origins=allowed_origins, + exposed_headers=exposed_headers, + is_allow_credentials_enabled=is_allow_credentials_enabled, + max_age_in_seconds=max_age_in_seconds, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_headers: Sequence[str], + allowed_methods: Sequence[str], + allowed_origins: Sequence[str], + exposed_headers: Sequence[str], + is_allow_credentials_enabled: bool, + max_age_in_seconds: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allowed_headers", allowed_headers) + _setter("allowed_methods", allowed_methods) + _setter("allowed_origins", allowed_origins) + _setter("exposed_headers", exposed_headers) + _setter("is_allow_credentials_enabled", is_allow_credentials_enabled) + _setter("max_age_in_seconds", max_age_in_seconds) @property @pulumi.getter(name="allowedHeaders") @@ -18480,8 +23334,19 @@ def __init__(__self__, *, :param Sequence['GetDeploymentsDeploymentCollectionSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerArgs'] authentication_servers: List of authentication servers to choose from during dynamic authentication. :param Sequence['GetDeploymentsDeploymentCollectionSpecificationRequestPolicyDynamicAuthenticationSelectionSourceArgs'] selection_sources: Information around selector used for branching among routes/ authentication servers while dynamic routing/ authentication. """ - pulumi.set(__self__, "authentication_servers", authentication_servers) - pulumi.set(__self__, "selection_sources", selection_sources) + GetDeploymentsDeploymentCollectionSpecificationRequestPolicyDynamicAuthenticationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + authentication_servers=authentication_servers, + selection_sources=selection_sources, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + authentication_servers: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerResult'], + selection_sources: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRequestPolicyDynamicAuthenticationSelectionSourceResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("authentication_servers", authentication_servers) + _setter("selection_sources", selection_sources) @property @pulumi.getter(name="authenticationServers") @@ -18509,8 +23374,19 @@ def __init__(__self__, *, :param Sequence['GetDeploymentsDeploymentCollectionSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailArgs'] authentication_server_details: Information on how to authenticate incoming requests. :param Sequence['GetDeploymentsDeploymentCollectionSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerKeyArgs'] keys: Information around the values for selector of an authentication/ routing branch. """ - pulumi.set(__self__, "authentication_server_details", authentication_server_details) - pulumi.set(__self__, "keys", keys) + GetDeploymentsDeploymentCollectionSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + authentication_server_details=authentication_server_details, + keys=keys, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + authentication_server_details: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailResult'], + keys: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerKeyResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("authentication_server_details", authentication_server_details) + _setter("keys", keys) @property @pulumi.getter(name="authenticationServerDetails") @@ -18563,21 +23439,58 @@ def __init__(__self__, *, :param Sequence['GetDeploymentsDeploymentCollectionSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicyArgs'] validation_policies: Authentication Policies for the Token Authentication types. :param Sequence['GetDeploymentsDeploymentCollectionSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailVerifyClaimArgs'] verify_claims: A list of claims which should be validated to consider the token valid. """ - pulumi.set(__self__, "audiences", audiences) - pulumi.set(__self__, "cache_keys", cache_keys) - pulumi.set(__self__, "function_id", function_id) - pulumi.set(__self__, "is_anonymous_access_allowed", is_anonymous_access_allowed) - pulumi.set(__self__, "issuers", issuers) - pulumi.set(__self__, "max_clock_skew_in_seconds", max_clock_skew_in_seconds) - pulumi.set(__self__, "parameters", parameters) - pulumi.set(__self__, "public_keys", public_keys) - pulumi.set(__self__, "token_auth_scheme", token_auth_scheme) - pulumi.set(__self__, "token_header", token_header) - pulumi.set(__self__, "token_query_param", token_query_param) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "validation_failure_policies", validation_failure_policies) - pulumi.set(__self__, "validation_policies", validation_policies) - pulumi.set(__self__, "verify_claims", verify_claims) + GetDeploymentsDeploymentCollectionSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + audiences=audiences, + cache_keys=cache_keys, + function_id=function_id, + is_anonymous_access_allowed=is_anonymous_access_allowed, + issuers=issuers, + max_clock_skew_in_seconds=max_clock_skew_in_seconds, + parameters=parameters, + public_keys=public_keys, + token_auth_scheme=token_auth_scheme, + token_header=token_header, + token_query_param=token_query_param, + type=type, + validation_failure_policies=validation_failure_policies, + validation_policies=validation_policies, + verify_claims=verify_claims, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + audiences: Sequence[str], + cache_keys: Sequence[str], + function_id: str, + is_anonymous_access_allowed: bool, + issuers: Sequence[str], + max_clock_skew_in_seconds: float, + parameters: Mapping[str, Any], + public_keys: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailPublicKeyResult'], + token_auth_scheme: str, + token_header: str, + token_query_param: str, + type: str, + validation_failure_policies: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResult'], + validation_policies: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicyResult'], + verify_claims: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailVerifyClaimResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("audiences", audiences) + _setter("cache_keys", cache_keys) + _setter("function_id", function_id) + _setter("is_anonymous_access_allowed", is_anonymous_access_allowed) + _setter("issuers", issuers) + _setter("max_clock_skew_in_seconds", max_clock_skew_in_seconds) + _setter("parameters", parameters) + _setter("public_keys", public_keys) + _setter("token_auth_scheme", token_auth_scheme) + _setter("token_header", token_header) + _setter("token_query_param", token_query_param) + _setter("type", type) + _setter("validation_failure_policies", validation_failure_policies) + _setter("validation_policies", validation_policies) + _setter("verify_claims", verify_claims) @property @pulumi.getter @@ -18712,11 +23625,28 @@ def __init__(__self__, *, :param str type: Type of the Response Cache Store Policy. :param str uri: The uri from which to retrieve the key. It must be accessible without authentication. """ - pulumi.set(__self__, "is_ssl_verify_disabled", is_ssl_verify_disabled) - pulumi.set(__self__, "keys", keys) - pulumi.set(__self__, "max_cache_duration_in_hours", max_cache_duration_in_hours) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "uri", uri) + GetDeploymentsDeploymentCollectionSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailPublicKeyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_ssl_verify_disabled=is_ssl_verify_disabled, + keys=keys, + max_cache_duration_in_hours=max_cache_duration_in_hours, + type=type, + uri=uri, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_ssl_verify_disabled: bool, + keys: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailPublicKeyKeyResult'], + max_cache_duration_in_hours: int, + type: str, + uri: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_ssl_verify_disabled", is_ssl_verify_disabled) + _setter("keys", keys) + _setter("max_cache_duration_in_hours", max_cache_duration_in_hours) + _setter("type", type) + _setter("uri", uri) @property @pulumi.getter(name="isSslVerifyDisabled") @@ -18782,15 +23712,40 @@ def __init__(__self__, *, :param str n: The base64 url encoded modulus of the RSA public key represented by this key. :param str use: The intended use of the public key. """ - pulumi.set(__self__, "alg", alg) - pulumi.set(__self__, "e", e) - pulumi.set(__self__, "format", format) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "key_ops", key_ops) - pulumi.set(__self__, "kid", kid) - pulumi.set(__self__, "kty", kty) - pulumi.set(__self__, "n", n) - pulumi.set(__self__, "use", use) + GetDeploymentsDeploymentCollectionSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailPublicKeyKeyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + alg=alg, + e=e, + format=format, + key=key, + key_ops=key_ops, + kid=kid, + kty=kty, + n=n, + use=use, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + alg: str, + e: str, + format: str, + key: str, + key_ops: Sequence[str], + kid: str, + kty: str, + n: str, + use: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("alg", alg) + _setter("e", e) + _setter("format", format) + _setter("key", key) + _setter("key_ops", key_ops) + _setter("kid", kid) + _setter("kty", kty) + _setter("n", n) + _setter("use", use) @property @pulumi.getter @@ -18898,20 +23853,55 @@ def __init__(__self__, *, :param bool use_cookies_for_session: Defines whether or not to use cookies for session maintenance. :param bool use_pkce: Defines whether or not to support PKCE. """ - pulumi.set(__self__, "client_details", client_details) - pulumi.set(__self__, "fallback_redirect_path", fallback_redirect_path) - pulumi.set(__self__, "logout_path", logout_path) - pulumi.set(__self__, "max_expiry_duration_in_hours", max_expiry_duration_in_hours) - pulumi.set(__self__, "response_code", response_code) - pulumi.set(__self__, "response_header_transformations", response_header_transformations) - pulumi.set(__self__, "response_message", response_message) - pulumi.set(__self__, "response_type", response_type) - pulumi.set(__self__, "scopes", scopes) - pulumi.set(__self__, "source_uri_details", source_uri_details) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "use_cookies_for_intermediate_steps", use_cookies_for_intermediate_steps) - pulumi.set(__self__, "use_cookies_for_session", use_cookies_for_session) - pulumi.set(__self__, "use_pkce", use_pkce) + GetDeploymentsDeploymentCollectionSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + client_details=client_details, + fallback_redirect_path=fallback_redirect_path, + logout_path=logout_path, + max_expiry_duration_in_hours=max_expiry_duration_in_hours, + response_code=response_code, + response_header_transformations=response_header_transformations, + response_message=response_message, + response_type=response_type, + scopes=scopes, + source_uri_details=source_uri_details, + type=type, + use_cookies_for_intermediate_steps=use_cookies_for_intermediate_steps, + use_cookies_for_session=use_cookies_for_session, + use_pkce=use_pkce, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + client_details: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyClientDetailResult'], + fallback_redirect_path: str, + logout_path: str, + max_expiry_duration_in_hours: int, + response_code: str, + response_header_transformations: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationResult'], + response_message: str, + response_type: str, + scopes: Sequence[str], + source_uri_details: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicySourceUriDetailResult'], + type: str, + use_cookies_for_intermediate_steps: bool, + use_cookies_for_session: bool, + use_pkce: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("client_details", client_details) + _setter("fallback_redirect_path", fallback_redirect_path) + _setter("logout_path", logout_path) + _setter("max_expiry_duration_in_hours", max_expiry_duration_in_hours) + _setter("response_code", response_code) + _setter("response_header_transformations", response_header_transformations) + _setter("response_message", response_message) + _setter("response_type", response_type) + _setter("scopes", scopes) + _setter("source_uri_details", source_uri_details) + _setter("type", type) + _setter("use_cookies_for_intermediate_steps", use_cookies_for_intermediate_steps) + _setter("use_cookies_for_session", use_cookies_for_session) + _setter("use_pkce", use_pkce) @property @pulumi.getter(name="clientDetails") @@ -19039,10 +24029,25 @@ def __init__(__self__, *, :param str client_secret_version_number: The version number of the client secret to use. :param str type: Type of the Response Cache Store Policy. """ - pulumi.set(__self__, "client_id", client_id) - pulumi.set(__self__, "client_secret_id", client_secret_id) - pulumi.set(__self__, "client_secret_version_number", client_secret_version_number) - pulumi.set(__self__, "type", type) + GetDeploymentsDeploymentCollectionSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyClientDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + client_id=client_id, + client_secret_id=client_secret_id, + client_secret_version_number=client_secret_version_number, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + client_id: str, + client_secret_id: str, + client_secret_version_number: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("client_id", client_id) + _setter("client_secret_id", client_secret_id) + _setter("client_secret_version_number", client_secret_version_number) + _setter("type", type) @property @pulumi.getter(name="clientId") @@ -19088,9 +24093,22 @@ def __init__(__self__, *, :param Sequence['GetDeploymentsDeploymentCollectionSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationRenameHeaderArgs'] rename_headers: Rename HTTP headers as they pass through the gateway. :param Sequence['GetDeploymentsDeploymentCollectionSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationSetHeaderArgs'] set_headers: Set HTTP headers as they pass through the gateway. """ - pulumi.set(__self__, "filter_headers", filter_headers) - pulumi.set(__self__, "rename_headers", rename_headers) - pulumi.set(__self__, "set_headers", set_headers) + GetDeploymentsDeploymentCollectionSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + filter_headers=filter_headers, + rename_headers=rename_headers, + set_headers=set_headers, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + filter_headers: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationFilterHeaderResult'], + rename_headers: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationRenameHeaderResult'], + set_headers: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationSetHeaderResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("filter_headers", filter_headers) + _setter("rename_headers", rename_headers) + _setter("set_headers", set_headers) @property @pulumi.getter(name="filterHeaders") @@ -19126,8 +24144,19 @@ def __init__(__self__, *, :param Sequence['GetDeploymentsDeploymentCollectionSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationFilterHeaderItemArgs'] items: The list of headers. :param str type: Type of the Response Cache Store Policy. """ - pulumi.set(__self__, "items", items) - pulumi.set(__self__, "type", type) + GetDeploymentsDeploymentCollectionSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationFilterHeaderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationFilterHeaderItemResult'], + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) + _setter("type", type) @property @pulumi.getter @@ -19153,7 +24182,16 @@ def __init__(__self__, *, """ :param str name: The case-insensitive name of the header. This name must be unique across transformation policies. """ - pulumi.set(__self__, "name", name) + GetDeploymentsDeploymentCollectionSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationFilterHeaderItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -19171,7 +24209,16 @@ def __init__(__self__, *, """ :param Sequence['GetDeploymentsDeploymentCollectionSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationRenameHeaderItemArgs'] items: The list of headers. """ - pulumi.set(__self__, "items", items) + GetDeploymentsDeploymentCollectionSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationRenameHeaderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationRenameHeaderItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -19191,8 +24238,19 @@ def __init__(__self__, *, :param str from_: The original case-insensitive name of the header. This name must be unique across transformation policies. :param str to: The new name of the header. This name must be unique across transformation policies. """ - pulumi.set(__self__, "from_", from_) - pulumi.set(__self__, "to", to) + GetDeploymentsDeploymentCollectionSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationRenameHeaderItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + from_=from_, + to=to, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + from_: str, + to: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("from_", from_) + _setter("to", to) @property @pulumi.getter(name="from") @@ -19218,7 +24276,16 @@ def __init__(__self__, *, """ :param Sequence['GetDeploymentsDeploymentCollectionSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationSetHeaderItemArgs'] items: The list of headers. """ - pulumi.set(__self__, "items", items) + GetDeploymentsDeploymentCollectionSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationSetHeaderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationSetHeaderItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -19240,9 +24307,22 @@ def __init__(__self__, *, :param str name: The case-insensitive name of the header. This name must be unique across transformation policies. :param Sequence[str] values: A list of new values. Each value can be a constant or may include one or more expressions enclosed within ${} delimiters. """ - pulumi.set(__self__, "if_exists", if_exists) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDeploymentsDeploymentCollectionSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicyResponseHeaderTransformationSetHeaderItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + if_exists=if_exists, + name=name, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + if_exists: str, + name: str, + values: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("if_exists", if_exists) + _setter("name", name) + _setter("values", values) @property @pulumi.getter(name="ifExists") @@ -19278,8 +24358,19 @@ def __init__(__self__, *, :param str type: Type of the Response Cache Store Policy. :param str uri: The uri from which to retrieve the key. It must be accessible without authentication. """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "uri", uri) + GetDeploymentsDeploymentCollectionSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationFailurePolicySourceUriDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + uri=uri, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + uri: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("uri", uri) @property @pulumi.getter @@ -19319,14 +24410,37 @@ def __init__(__self__, *, :param str type: Type of the Response Cache Store Policy. :param str uri: The uri from which to retrieve the key. It must be accessible without authentication. """ - pulumi.set(__self__, "additional_validation_policies", additional_validation_policies) - pulumi.set(__self__, "client_details", client_details) - pulumi.set(__self__, "is_ssl_verify_disabled", is_ssl_verify_disabled) - pulumi.set(__self__, "keys", keys) - pulumi.set(__self__, "max_cache_duration_in_hours", max_cache_duration_in_hours) - pulumi.set(__self__, "source_uri_details", source_uri_details) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "uri", uri) + GetDeploymentsDeploymentCollectionSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + additional_validation_policies=additional_validation_policies, + client_details=client_details, + is_ssl_verify_disabled=is_ssl_verify_disabled, + keys=keys, + max_cache_duration_in_hours=max_cache_duration_in_hours, + source_uri_details=source_uri_details, + type=type, + uri=uri, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + additional_validation_policies: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicyAdditionalValidationPolicyResult'], + client_details: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicyClientDetailResult'], + is_ssl_verify_disabled: bool, + keys: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicyKeyResult'], + max_cache_duration_in_hours: int, + source_uri_details: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicySourceUriDetailResult'], + type: str, + uri: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("additional_validation_policies", additional_validation_policies) + _setter("client_details", client_details) + _setter("is_ssl_verify_disabled", is_ssl_verify_disabled) + _setter("keys", keys) + _setter("max_cache_duration_in_hours", max_cache_duration_in_hours) + _setter("source_uri_details", source_uri_details) + _setter("type", type) + _setter("uri", uri) @property @pulumi.getter(name="additionalValidationPolicies") @@ -19404,9 +24518,22 @@ def __init__(__self__, *, :param Sequence[str] issuers: A list of parties that could have issued the token. :param Sequence['GetDeploymentsDeploymentCollectionSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicyAdditionalValidationPolicyVerifyClaimArgs'] verify_claims: A list of claims which should be validated to consider the token valid. """ - pulumi.set(__self__, "audiences", audiences) - pulumi.set(__self__, "issuers", issuers) - pulumi.set(__self__, "verify_claims", verify_claims) + GetDeploymentsDeploymentCollectionSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicyAdditionalValidationPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + audiences=audiences, + issuers=issuers, + verify_claims=verify_claims, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + audiences: Sequence[str], + issuers: Sequence[str], + verify_claims: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicyAdditionalValidationPolicyVerifyClaimResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("audiences", audiences) + _setter("issuers", issuers) + _setter("verify_claims", verify_claims) @property @pulumi.getter @@ -19444,9 +24571,22 @@ def __init__(__self__, *, :param str key: Information around the values for selector of an authentication/ routing branch. :param Sequence[str] values: A list of new values. Each value can be a constant or may include one or more expressions enclosed within ${} delimiters. """ - pulumi.set(__self__, "is_required", is_required) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "values", values) + GetDeploymentsDeploymentCollectionSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicyAdditionalValidationPolicyVerifyClaimResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_required=is_required, + key=key, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_required: bool, + key: str, + values: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_required", is_required) + _setter("key", key) + _setter("values", values) @property @pulumi.getter(name="isRequired") @@ -19486,10 +24626,25 @@ def __init__(__self__, *, :param str client_secret_version_number: The version number of the client secret to use. :param str type: Type of the Response Cache Store Policy. """ - pulumi.set(__self__, "client_id", client_id) - pulumi.set(__self__, "client_secret_id", client_secret_id) - pulumi.set(__self__, "client_secret_version_number", client_secret_version_number) - pulumi.set(__self__, "type", type) + GetDeploymentsDeploymentCollectionSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicyClientDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + client_id=client_id, + client_secret_id=client_secret_id, + client_secret_version_number=client_secret_version_number, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + client_id: str, + client_secret_id: str, + client_secret_version_number: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("client_id", client_id) + _setter("client_secret_id", client_secret_id) + _setter("client_secret_version_number", client_secret_version_number) + _setter("type", type) @property @pulumi.getter(name="clientId") @@ -19547,15 +24702,40 @@ def __init__(__self__, *, :param str n: The base64 url encoded modulus of the RSA public key represented by this key. :param str use: The intended use of the public key. """ - pulumi.set(__self__, "alg", alg) - pulumi.set(__self__, "e", e) - pulumi.set(__self__, "format", format) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "key_ops", key_ops) - pulumi.set(__self__, "kid", kid) - pulumi.set(__self__, "kty", kty) - pulumi.set(__self__, "n", n) - pulumi.set(__self__, "use", use) + GetDeploymentsDeploymentCollectionSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicyKeyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + alg=alg, + e=e, + format=format, + key=key, + key_ops=key_ops, + kid=kid, + kty=kty, + n=n, + use=use, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + alg: str, + e: str, + format: str, + key: str, + key_ops: Sequence[str], + kid: str, + kty: str, + n: str, + use: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("alg", alg) + _setter("e", e) + _setter("format", format) + _setter("key", key) + _setter("key_ops", key_ops) + _setter("kid", kid) + _setter("kty", kty) + _setter("n", n) + _setter("use", use) @property @pulumi.getter @@ -19639,8 +24819,19 @@ def __init__(__self__, *, :param str type: Type of the Response Cache Store Policy. :param str uri: The uri from which to retrieve the key. It must be accessible without authentication. """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "uri", uri) + GetDeploymentsDeploymentCollectionSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailValidationPolicySourceUriDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + uri=uri, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + uri: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("uri", uri) @property @pulumi.getter @@ -19670,9 +24861,22 @@ def __init__(__self__, *, :param str key: Information around the values for selector of an authentication/ routing branch. :param Sequence[str] values: A list of new values. Each value can be a constant or may include one or more expressions enclosed within ${} delimiters. """ - pulumi.set(__self__, "is_required", is_required) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "values", values) + GetDeploymentsDeploymentCollectionSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerAuthenticationServerDetailVerifyClaimResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_required=is_required, + key=key, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_required: bool, + key: str, + values: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_required", is_required) + _setter("key", key) + _setter("values", values) @property @pulumi.getter(name="isRequired") @@ -19714,11 +24918,28 @@ def __init__(__self__, *, :param str type: Type of the Response Cache Store Policy. :param Sequence[str] values: A list of new values. Each value can be a constant or may include one or more expressions enclosed within ${} delimiters. """ - pulumi.set(__self__, "expression", expression) - pulumi.set(__self__, "is_default", is_default) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "values", values) + GetDeploymentsDeploymentCollectionSpecificationRequestPolicyDynamicAuthenticationAuthenticationServerKeyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + expression=expression, + is_default=is_default, + name=name, + type=type, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + expression: str, + is_default: bool, + name: str, + type: str, + values: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("expression", expression) + _setter("is_default", is_default) + _setter("name", name) + _setter("type", type) + _setter("values", values) @property @pulumi.getter @@ -19770,8 +24991,19 @@ def __init__(__self__, *, :param str selector: String describing the context variable used as selector. :param str type: Type of the Response Cache Store Policy. """ - pulumi.set(__self__, "selector", selector) - pulumi.set(__self__, "type", type) + GetDeploymentsDeploymentCollectionSpecificationRequestPolicyDynamicAuthenticationSelectionSourceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + selector=selector, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + selector: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("selector", selector) + _setter("type", type) @property @pulumi.getter @@ -19799,8 +25031,19 @@ def __init__(__self__, *, :param Sequence[str] allowed_sans: Allowed list of CN or SAN which will be used for verification of certificate. :param bool is_verified_certificate_required: Determines whether to enable client verification when API Consumer makes connection to the gateway. """ - pulumi.set(__self__, "allowed_sans", allowed_sans) - pulumi.set(__self__, "is_verified_certificate_required", is_verified_certificate_required) + GetDeploymentsDeploymentCollectionSpecificationRequestPolicyMutualTlResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_sans=allowed_sans, + is_verified_certificate_required=is_verified_certificate_required, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_sans: Sequence[str], + is_verified_certificate_required: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allowed_sans", allowed_sans) + _setter("is_verified_certificate_required", is_verified_certificate_required) @property @pulumi.getter(name="allowedSans") @@ -19828,8 +25071,19 @@ def __init__(__self__, *, :param int rate_in_requests_per_second: The maximum number of requests per second to allow. :param str rate_key: The key used to group requests together. """ - pulumi.set(__self__, "rate_in_requests_per_second", rate_in_requests_per_second) - pulumi.set(__self__, "rate_key", rate_key) + GetDeploymentsDeploymentCollectionSpecificationRequestPolicyRateLimitingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + rate_in_requests_per_second=rate_in_requests_per_second, + rate_key=rate_key, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + rate_in_requests_per_second: int, + rate_key: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("rate_in_requests_per_second", rate_in_requests_per_second) + _setter("rate_key", rate_key) @property @pulumi.getter(name="rateInRequestsPerSecond") @@ -19859,7 +25113,16 @@ def __init__(__self__, *, * "request.auth[Token]" * "request.path[TOKEN]" """ - pulumi.set(__self__, "token_locations", token_locations) + GetDeploymentsDeploymentCollectionSpecificationRequestPolicyUsagePlanResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + token_locations=token_locations, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + token_locations: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("token_locations", token_locations) @property @pulumi.getter(name="tokenLocations") @@ -19891,12 +25154,31 @@ def __init__(__self__, *, :param Sequence['GetDeploymentsDeploymentCollectionSpecificationRouteRequestPolicyArgs'] request_policies: Behavior applied to any requests received by the API on this route. :param Sequence['GetDeploymentsDeploymentCollectionSpecificationRouteResponsePolicyArgs'] response_policies: Behavior applied to any responses sent by the API for requests on this route. """ - pulumi.set(__self__, "backends", backends) - pulumi.set(__self__, "logging_policies", logging_policies) - pulumi.set(__self__, "methods", methods) - pulumi.set(__self__, "path", path) - pulumi.set(__self__, "request_policies", request_policies) - pulumi.set(__self__, "response_policies", response_policies) + GetDeploymentsDeploymentCollectionSpecificationRouteResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + backends=backends, + logging_policies=logging_policies, + methods=methods, + path=path, + request_policies=request_policies, + response_policies=response_policies, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backends: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRouteBackendResult'], + logging_policies: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRouteLoggingPolicyResult'], + methods: Sequence[str], + path: str, + request_policies: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRouteRequestPolicyResult'], + response_policies: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRouteResponsePolicyResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("backends", backends) + _setter("logging_policies", logging_policies) + _setter("methods", methods) + _setter("path", path) + _setter("request_policies", request_policies) + _setter("response_policies", response_policies) @property @pulumi.getter @@ -19977,20 +25259,55 @@ def __init__(__self__, *, :param int status: The status code of the stock response from the mock backend. :param str type: Type of the Response Cache Store Policy. """ - pulumi.set(__self__, "allowed_post_logout_uris", allowed_post_logout_uris) - pulumi.set(__self__, "body", body) - pulumi.set(__self__, "connect_timeout_in_seconds", connect_timeout_in_seconds) - pulumi.set(__self__, "function_id", function_id) - pulumi.set(__self__, "headers", headers) - pulumi.set(__self__, "is_ssl_verify_disabled", is_ssl_verify_disabled) - pulumi.set(__self__, "post_logout_state", post_logout_state) - pulumi.set(__self__, "read_timeout_in_seconds", read_timeout_in_seconds) - pulumi.set(__self__, "routing_backends", routing_backends) - pulumi.set(__self__, "selection_sources", selection_sources) - pulumi.set(__self__, "send_timeout_in_seconds", send_timeout_in_seconds) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "url", url) + GetDeploymentsDeploymentCollectionSpecificationRouteBackendResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_post_logout_uris=allowed_post_logout_uris, + body=body, + connect_timeout_in_seconds=connect_timeout_in_seconds, + function_id=function_id, + headers=headers, + is_ssl_verify_disabled=is_ssl_verify_disabled, + post_logout_state=post_logout_state, + read_timeout_in_seconds=read_timeout_in_seconds, + routing_backends=routing_backends, + selection_sources=selection_sources, + send_timeout_in_seconds=send_timeout_in_seconds, + status=status, + type=type, + url=url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_post_logout_uris: Sequence[str], + body: str, + connect_timeout_in_seconds: float, + function_id: str, + headers: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRouteBackendHeaderResult'], + is_ssl_verify_disabled: bool, + post_logout_state: str, + read_timeout_in_seconds: float, + routing_backends: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRouteBackendRoutingBackendResult'], + selection_sources: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRouteBackendSelectionSourceResult'], + send_timeout_in_seconds: float, + status: int, + type: str, + url: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allowed_post_logout_uris", allowed_post_logout_uris) + _setter("body", body) + _setter("connect_timeout_in_seconds", connect_timeout_in_seconds) + _setter("function_id", function_id) + _setter("headers", headers) + _setter("is_ssl_verify_disabled", is_ssl_verify_disabled) + _setter("post_logout_state", post_logout_state) + _setter("read_timeout_in_seconds", read_timeout_in_seconds) + _setter("routing_backends", routing_backends) + _setter("selection_sources", selection_sources) + _setter("send_timeout_in_seconds", send_timeout_in_seconds) + _setter("status", status) + _setter("type", type) + _setter("url", url) @property @pulumi.getter(name="allowedPostLogoutUris") @@ -20105,8 +25422,19 @@ def __init__(__self__, *, :param str name: The case-insensitive name of the header. This name must be unique across transformation policies. :param str value: Value of the header. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + GetDeploymentsDeploymentCollectionSpecificationRouteBackendHeaderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("value", value) @property @pulumi.getter @@ -20134,8 +25462,19 @@ def __init__(__self__, *, :param Sequence['GetDeploymentsDeploymentCollectionSpecificationRouteBackendRoutingBackendBackendArgs'] backends: The backend to forward requests to. :param Sequence['GetDeploymentsDeploymentCollectionSpecificationRouteBackendRoutingBackendKeyArgs'] keys: Information around the values for selector of an authentication/ routing branch. """ - pulumi.set(__self__, "backends", backends) - pulumi.set(__self__, "keys", keys) + GetDeploymentsDeploymentCollectionSpecificationRouteBackendRoutingBackendResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + backends=backends, + keys=keys, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backends: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRouteBackendRoutingBackendBackendResult'], + keys: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRouteBackendRoutingBackendKeyResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("backends", backends) + _setter("keys", keys) @property @pulumi.getter @@ -20177,16 +25516,43 @@ def __init__(__self__, *, :param int status: The status code of the stock response from the mock backend. :param str type: Type of the Response Cache Store Policy. """ - pulumi.set(__self__, "body", body) - pulumi.set(__self__, "connect_timeout_in_seconds", connect_timeout_in_seconds) - pulumi.set(__self__, "function_id", function_id) - pulumi.set(__self__, "headers", headers) - pulumi.set(__self__, "is_ssl_verify_disabled", is_ssl_verify_disabled) - pulumi.set(__self__, "read_timeout_in_seconds", read_timeout_in_seconds) - pulumi.set(__self__, "send_timeout_in_seconds", send_timeout_in_seconds) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "url", url) + GetDeploymentsDeploymentCollectionSpecificationRouteBackendRoutingBackendBackendResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + body=body, + connect_timeout_in_seconds=connect_timeout_in_seconds, + function_id=function_id, + headers=headers, + is_ssl_verify_disabled=is_ssl_verify_disabled, + read_timeout_in_seconds=read_timeout_in_seconds, + send_timeout_in_seconds=send_timeout_in_seconds, + status=status, + type=type, + url=url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + body: str, + connect_timeout_in_seconds: float, + function_id: str, + headers: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRouteBackendRoutingBackendBackendHeaderResult'], + is_ssl_verify_disabled: bool, + read_timeout_in_seconds: float, + send_timeout_in_seconds: float, + status: int, + type: str, + url: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("body", body) + _setter("connect_timeout_in_seconds", connect_timeout_in_seconds) + _setter("function_id", function_id) + _setter("headers", headers) + _setter("is_ssl_verify_disabled", is_ssl_verify_disabled) + _setter("read_timeout_in_seconds", read_timeout_in_seconds) + _setter("send_timeout_in_seconds", send_timeout_in_seconds) + _setter("status", status) + _setter("type", type) + _setter("url", url) @property @pulumi.getter @@ -20272,8 +25638,19 @@ def __init__(__self__, *, :param str name: The case-insensitive name of the header. This name must be unique across transformation policies. :param str value: Value of the header. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + GetDeploymentsDeploymentCollectionSpecificationRouteBackendRoutingBackendBackendHeaderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("value", value) @property @pulumi.getter @@ -20307,11 +25684,28 @@ def __init__(__self__, *, :param str type: Type of the Response Cache Store Policy. :param Sequence[str] values: A list of new values. Each value can be a constant or may include one or more expressions enclosed within ${} delimiters. """ - pulumi.set(__self__, "expression", expression) - pulumi.set(__self__, "is_default", is_default) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "values", values) + GetDeploymentsDeploymentCollectionSpecificationRouteBackendRoutingBackendKeyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + expression=expression, + is_default=is_default, + name=name, + type=type, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + expression: str, + is_default: bool, + name: str, + type: str, + values: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("expression", expression) + _setter("is_default", is_default) + _setter("name", name) + _setter("type", type) + _setter("values", values) @property @pulumi.getter @@ -20363,8 +25757,19 @@ def __init__(__self__, *, :param str selector: String describing the context variable used as selector. :param str type: Type of the Response Cache Store Policy. """ - pulumi.set(__self__, "selector", selector) - pulumi.set(__self__, "type", type) + GetDeploymentsDeploymentCollectionSpecificationRouteBackendSelectionSourceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + selector=selector, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + selector: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("selector", selector) + _setter("type", type) @property @pulumi.getter @@ -20392,8 +25797,19 @@ def __init__(__self__, *, :param Sequence['GetDeploymentsDeploymentCollectionSpecificationRouteLoggingPolicyAccessLogArgs'] access_logs: Configures the logging policies for the access logs of an API Deployment. :param Sequence['GetDeploymentsDeploymentCollectionSpecificationRouteLoggingPolicyExecutionLogArgs'] execution_logs: Configures the logging policies for the execution logs of an API Deployment. """ - pulumi.set(__self__, "access_logs", access_logs) - pulumi.set(__self__, "execution_logs", execution_logs) + GetDeploymentsDeploymentCollectionSpecificationRouteLoggingPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + access_logs=access_logs, + execution_logs=execution_logs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access_logs: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRouteLoggingPolicyAccessLogResult'], + execution_logs: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRouteLoggingPolicyExecutionLogResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("access_logs", access_logs) + _setter("execution_logs", execution_logs) @property @pulumi.getter(name="accessLogs") @@ -20419,7 +25835,16 @@ def __init__(__self__, *, """ :param bool is_enabled: Whether this policy is currently enabled. """ - pulumi.set(__self__, "is_enabled", is_enabled) + GetDeploymentsDeploymentCollectionSpecificationRouteLoggingPolicyAccessLogResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_enabled", is_enabled) @property @pulumi.getter(name="isEnabled") @@ -20439,8 +25864,19 @@ def __init__(__self__, *, :param bool is_enabled: Whether this policy is currently enabled. :param str log_level: Specifies the log level used to control logging output of execution logs. Enabling logging at a given level also enables logging at all higher levels. """ - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "log_level", log_level) + GetDeploymentsDeploymentCollectionSpecificationRouteLoggingPolicyExecutionLogResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + log_level=log_level, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: bool, + log_level: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_enabled", is_enabled) + _setter("log_level", log_level) @property @pulumi.getter(name="isEnabled") @@ -20480,14 +25916,37 @@ def __init__(__self__, *, :param Sequence['GetDeploymentsDeploymentCollectionSpecificationRouteRequestPolicyQueryParameterValidationArgs'] query_parameter_validations: Validate the URL query parameters on the incoming API requests on a specific route. :param Sequence['GetDeploymentsDeploymentCollectionSpecificationRouteRequestPolicyResponseCacheLookupArgs'] response_cache_lookups: Base policy for Response Cache lookup. """ - pulumi.set(__self__, "authorizations", authorizations) - pulumi.set(__self__, "body_validations", body_validations) - pulumi.set(__self__, "cors", cors) - pulumi.set(__self__, "header_transformations", header_transformations) - pulumi.set(__self__, "header_validations", header_validations) - pulumi.set(__self__, "query_parameter_transformations", query_parameter_transformations) - pulumi.set(__self__, "query_parameter_validations", query_parameter_validations) - pulumi.set(__self__, "response_cache_lookups", response_cache_lookups) + GetDeploymentsDeploymentCollectionSpecificationRouteRequestPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + authorizations=authorizations, + body_validations=body_validations, + cors=cors, + header_transformations=header_transformations, + header_validations=header_validations, + query_parameter_transformations=query_parameter_transformations, + query_parameter_validations=query_parameter_validations, + response_cache_lookups=response_cache_lookups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + authorizations: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRouteRequestPolicyAuthorizationResult'], + body_validations: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRouteRequestPolicyBodyValidationResult'], + cors: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRouteRequestPolicyCorResult'], + header_transformations: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRouteRequestPolicyHeaderTransformationResult'], + header_validations: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRouteRequestPolicyHeaderValidationResult'], + query_parameter_transformations: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRouteRequestPolicyQueryParameterTransformationResult'], + query_parameter_validations: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRouteRequestPolicyQueryParameterValidationResult'], + response_cache_lookups: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRouteRequestPolicyResponseCacheLookupResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("authorizations", authorizations) + _setter("body_validations", body_validations) + _setter("cors", cors) + _setter("header_transformations", header_transformations) + _setter("header_validations", header_validations) + _setter("query_parameter_transformations", query_parameter_transformations) + _setter("query_parameter_validations", query_parameter_validations) + _setter("response_cache_lookups", response_cache_lookups) @property @pulumi.getter @@ -20563,8 +26022,19 @@ def __init__(__self__, *, :param Sequence[str] allowed_scopes: A user whose scope includes any of these access ranges is allowed on this route. Access ranges are case-sensitive. :param str type: Type of the Response Cache Store Policy. """ - pulumi.set(__self__, "allowed_scopes", allowed_scopes) - pulumi.set(__self__, "type", type) + GetDeploymentsDeploymentCollectionSpecificationRouteRequestPolicyAuthorizationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_scopes=allowed_scopes, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_scopes: Sequence[str], + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allowed_scopes", allowed_scopes) + _setter("type", type) @property @pulumi.getter(name="allowedScopes") @@ -20594,9 +26064,22 @@ def __init__(__self__, *, :param bool required: Determines if the parameter is required in the request. :param str validation_mode: Validation behavior mode. """ - pulumi.set(__self__, "contents", contents) - pulumi.set(__self__, "required", required) - pulumi.set(__self__, "validation_mode", validation_mode) + GetDeploymentsDeploymentCollectionSpecificationRouteRequestPolicyBodyValidationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + contents=contents, + required=required, + validation_mode=validation_mode, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + contents: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRouteRequestPolicyBodyValidationContentResult'], + required: bool, + validation_mode: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("contents", contents) + _setter("required", required) + _setter("validation_mode", validation_mode) @property @pulumi.getter @@ -20632,8 +26115,19 @@ def __init__(__self__, *, :param str media_type: The key is a [media type range](https://tools.ietf.org/html/rfc7231#appendix-D) subset restricted to the following schema :param str validation_type: Validation type defines the content validation method. """ - pulumi.set(__self__, "media_type", media_type) - pulumi.set(__self__, "validation_type", validation_type) + GetDeploymentsDeploymentCollectionSpecificationRouteRequestPolicyBodyValidationContentResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + media_type=media_type, + validation_type=validation_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + media_type: str, + validation_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("media_type", media_type) + _setter("validation_type", validation_type) @property @pulumi.getter(name="mediaType") @@ -20669,12 +26163,31 @@ def __init__(__self__, *, :param bool is_allow_credentials_enabled: Whether to send the Access-Control-Allow-Credentials header to allow CORS requests with cookies. :param int max_age_in_seconds: The time in seconds for the client to cache preflight responses. This is sent as the Access-Control-Max-Age if greater than 0. """ - pulumi.set(__self__, "allowed_headers", allowed_headers) - pulumi.set(__self__, "allowed_methods", allowed_methods) - pulumi.set(__self__, "allowed_origins", allowed_origins) - pulumi.set(__self__, "exposed_headers", exposed_headers) - pulumi.set(__self__, "is_allow_credentials_enabled", is_allow_credentials_enabled) - pulumi.set(__self__, "max_age_in_seconds", max_age_in_seconds) + GetDeploymentsDeploymentCollectionSpecificationRouteRequestPolicyCorResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_headers=allowed_headers, + allowed_methods=allowed_methods, + allowed_origins=allowed_origins, + exposed_headers=exposed_headers, + is_allow_credentials_enabled=is_allow_credentials_enabled, + max_age_in_seconds=max_age_in_seconds, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_headers: Sequence[str], + allowed_methods: Sequence[str], + allowed_origins: Sequence[str], + exposed_headers: Sequence[str], + is_allow_credentials_enabled: bool, + max_age_in_seconds: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allowed_headers", allowed_headers) + _setter("allowed_methods", allowed_methods) + _setter("allowed_origins", allowed_origins) + _setter("exposed_headers", exposed_headers) + _setter("is_allow_credentials_enabled", is_allow_credentials_enabled) + _setter("max_age_in_seconds", max_age_in_seconds) @property @pulumi.getter(name="allowedHeaders") @@ -20736,9 +26249,22 @@ def __init__(__self__, *, :param Sequence['GetDeploymentsDeploymentCollectionSpecificationRouteRequestPolicyHeaderTransformationRenameHeaderArgs'] rename_headers: Rename HTTP headers as they pass through the gateway. :param Sequence['GetDeploymentsDeploymentCollectionSpecificationRouteRequestPolicyHeaderTransformationSetHeaderArgs'] set_headers: Set HTTP headers as they pass through the gateway. """ - pulumi.set(__self__, "filter_headers", filter_headers) - pulumi.set(__self__, "rename_headers", rename_headers) - pulumi.set(__self__, "set_headers", set_headers) + GetDeploymentsDeploymentCollectionSpecificationRouteRequestPolicyHeaderTransformationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + filter_headers=filter_headers, + rename_headers=rename_headers, + set_headers=set_headers, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + filter_headers: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRouteRequestPolicyHeaderTransformationFilterHeaderResult'], + rename_headers: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRouteRequestPolicyHeaderTransformationRenameHeaderResult'], + set_headers: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRouteRequestPolicyHeaderTransformationSetHeaderResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("filter_headers", filter_headers) + _setter("rename_headers", rename_headers) + _setter("set_headers", set_headers) @property @pulumi.getter(name="filterHeaders") @@ -20774,8 +26300,19 @@ def __init__(__self__, *, :param Sequence['GetDeploymentsDeploymentCollectionSpecificationRouteRequestPolicyHeaderTransformationFilterHeaderItemArgs'] items: The list of headers. :param str type: Type of the Response Cache Store Policy. """ - pulumi.set(__self__, "items", items) - pulumi.set(__self__, "type", type) + GetDeploymentsDeploymentCollectionSpecificationRouteRequestPolicyHeaderTransformationFilterHeaderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRouteRequestPolicyHeaderTransformationFilterHeaderItemResult'], + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) + _setter("type", type) @property @pulumi.getter @@ -20801,7 +26338,16 @@ def __init__(__self__, *, """ :param str name: The case-insensitive name of the header. This name must be unique across transformation policies. """ - pulumi.set(__self__, "name", name) + GetDeploymentsDeploymentCollectionSpecificationRouteRequestPolicyHeaderTransformationFilterHeaderItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -20819,7 +26365,16 @@ def __init__(__self__, *, """ :param Sequence['GetDeploymentsDeploymentCollectionSpecificationRouteRequestPolicyHeaderTransformationRenameHeaderItemArgs'] items: The list of headers. """ - pulumi.set(__self__, "items", items) + GetDeploymentsDeploymentCollectionSpecificationRouteRequestPolicyHeaderTransformationRenameHeaderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRouteRequestPolicyHeaderTransformationRenameHeaderItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -20839,8 +26394,19 @@ def __init__(__self__, *, :param str from_: The original case-insensitive name of the header. This name must be unique across transformation policies. :param str to: The new name of the header. This name must be unique across transformation policies. """ - pulumi.set(__self__, "from_", from_) - pulumi.set(__self__, "to", to) + GetDeploymentsDeploymentCollectionSpecificationRouteRequestPolicyHeaderTransformationRenameHeaderItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + from_=from_, + to=to, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + from_: str, + to: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("from_", from_) + _setter("to", to) @property @pulumi.getter(name="from") @@ -20866,7 +26432,16 @@ def __init__(__self__, *, """ :param Sequence['GetDeploymentsDeploymentCollectionSpecificationRouteRequestPolicyHeaderTransformationSetHeaderItemArgs'] items: The list of headers. """ - pulumi.set(__self__, "items", items) + GetDeploymentsDeploymentCollectionSpecificationRouteRequestPolicyHeaderTransformationSetHeaderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRouteRequestPolicyHeaderTransformationSetHeaderItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -20888,9 +26463,22 @@ def __init__(__self__, *, :param str name: The case-insensitive name of the header. This name must be unique across transformation policies. :param Sequence[str] values: A list of new values. Each value can be a constant or may include one or more expressions enclosed within ${} delimiters. """ - pulumi.set(__self__, "if_exists", if_exists) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDeploymentsDeploymentCollectionSpecificationRouteRequestPolicyHeaderTransformationSetHeaderItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + if_exists=if_exists, + name=name, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + if_exists: str, + name: str, + values: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("if_exists", if_exists) + _setter("name", name) + _setter("values", values) @property @pulumi.getter(name="ifExists") @@ -20925,8 +26513,19 @@ def __init__(__self__, *, """ :param str validation_mode: Validation behavior mode. """ - pulumi.set(__self__, "headers", headers) - pulumi.set(__self__, "validation_mode", validation_mode) + GetDeploymentsDeploymentCollectionSpecificationRouteRequestPolicyHeaderValidationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + headers=headers, + validation_mode=validation_mode, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + headers: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRouteRequestPolicyHeaderValidationHeaderResult'], + validation_mode: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("headers", headers) + _setter("validation_mode", validation_mode) @property @pulumi.getter @@ -20951,8 +26550,19 @@ def __init__(__self__, *, :param str name: The case-insensitive name of the header. This name must be unique across transformation policies. :param bool required: Determines if the parameter is required in the request. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "required", required) + GetDeploymentsDeploymentCollectionSpecificationRouteRequestPolicyHeaderValidationHeaderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + required=required, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + required: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("required", required) @property @pulumi.getter @@ -20982,9 +26592,22 @@ def __init__(__self__, *, :param Sequence['GetDeploymentsDeploymentCollectionSpecificationRouteRequestPolicyQueryParameterTransformationRenameQueryParameterArgs'] rename_query_parameters: Rename parameters on the query string as they pass through the gateway. :param Sequence['GetDeploymentsDeploymentCollectionSpecificationRouteRequestPolicyQueryParameterTransformationSetQueryParameterArgs'] set_query_parameters: Set parameters on the query string as they pass through the gateway. """ - pulumi.set(__self__, "filter_query_parameters", filter_query_parameters) - pulumi.set(__self__, "rename_query_parameters", rename_query_parameters) - pulumi.set(__self__, "set_query_parameters", set_query_parameters) + GetDeploymentsDeploymentCollectionSpecificationRouteRequestPolicyQueryParameterTransformationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + filter_query_parameters=filter_query_parameters, + rename_query_parameters=rename_query_parameters, + set_query_parameters=set_query_parameters, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + filter_query_parameters: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRouteRequestPolicyQueryParameterTransformationFilterQueryParameterResult'], + rename_query_parameters: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRouteRequestPolicyQueryParameterTransformationRenameQueryParameterResult'], + set_query_parameters: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRouteRequestPolicyQueryParameterTransformationSetQueryParameterResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("filter_query_parameters", filter_query_parameters) + _setter("rename_query_parameters", rename_query_parameters) + _setter("set_query_parameters", set_query_parameters) @property @pulumi.getter(name="filterQueryParameters") @@ -21020,8 +26643,19 @@ def __init__(__self__, *, :param Sequence['GetDeploymentsDeploymentCollectionSpecificationRouteRequestPolicyQueryParameterTransformationFilterQueryParameterItemArgs'] items: The list of headers. :param str type: Type of the Response Cache Store Policy. """ - pulumi.set(__self__, "items", items) - pulumi.set(__self__, "type", type) + GetDeploymentsDeploymentCollectionSpecificationRouteRequestPolicyQueryParameterTransformationFilterQueryParameterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRouteRequestPolicyQueryParameterTransformationFilterQueryParameterItemResult'], + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) + _setter("type", type) @property @pulumi.getter @@ -21047,7 +26681,16 @@ def __init__(__self__, *, """ :param str name: The case-insensitive name of the header. This name must be unique across transformation policies. """ - pulumi.set(__self__, "name", name) + GetDeploymentsDeploymentCollectionSpecificationRouteRequestPolicyQueryParameterTransformationFilterQueryParameterItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -21065,7 +26708,16 @@ def __init__(__self__, *, """ :param Sequence['GetDeploymentsDeploymentCollectionSpecificationRouteRequestPolicyQueryParameterTransformationRenameQueryParameterItemArgs'] items: The list of headers. """ - pulumi.set(__self__, "items", items) + GetDeploymentsDeploymentCollectionSpecificationRouteRequestPolicyQueryParameterTransformationRenameQueryParameterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRouteRequestPolicyQueryParameterTransformationRenameQueryParameterItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -21085,8 +26737,19 @@ def __init__(__self__, *, :param str from_: The original case-insensitive name of the header. This name must be unique across transformation policies. :param str to: The new name of the header. This name must be unique across transformation policies. """ - pulumi.set(__self__, "from_", from_) - pulumi.set(__self__, "to", to) + GetDeploymentsDeploymentCollectionSpecificationRouteRequestPolicyQueryParameterTransformationRenameQueryParameterItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + from_=from_, + to=to, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + from_: str, + to: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("from_", from_) + _setter("to", to) @property @pulumi.getter(name="from") @@ -21112,7 +26775,16 @@ def __init__(__self__, *, """ :param Sequence['GetDeploymentsDeploymentCollectionSpecificationRouteRequestPolicyQueryParameterTransformationSetQueryParameterItemArgs'] items: The list of headers. """ - pulumi.set(__self__, "items", items) + GetDeploymentsDeploymentCollectionSpecificationRouteRequestPolicyQueryParameterTransformationSetQueryParameterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRouteRequestPolicyQueryParameterTransformationSetQueryParameterItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -21134,9 +26806,22 @@ def __init__(__self__, *, :param str name: The case-insensitive name of the header. This name must be unique across transformation policies. :param Sequence[str] values: A list of new values. Each value can be a constant or may include one or more expressions enclosed within ${} delimiters. """ - pulumi.set(__self__, "if_exists", if_exists) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDeploymentsDeploymentCollectionSpecificationRouteRequestPolicyQueryParameterTransformationSetQueryParameterItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + if_exists=if_exists, + name=name, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + if_exists: str, + name: str, + values: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("if_exists", if_exists) + _setter("name", name) + _setter("values", values) @property @pulumi.getter(name="ifExists") @@ -21171,8 +26856,19 @@ def __init__(__self__, *, """ :param str validation_mode: Validation behavior mode. """ - pulumi.set(__self__, "parameters", parameters) - pulumi.set(__self__, "validation_mode", validation_mode) + GetDeploymentsDeploymentCollectionSpecificationRouteRequestPolicyQueryParameterValidationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + parameters=parameters, + validation_mode=validation_mode, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + parameters: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRouteRequestPolicyQueryParameterValidationParameterResult'], + validation_mode: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("parameters", parameters) + _setter("validation_mode", validation_mode) @property @pulumi.getter @@ -21197,8 +26893,19 @@ def __init__(__self__, *, :param str name: The case-insensitive name of the header. This name must be unique across transformation policies. :param bool required: Determines if the parameter is required in the request. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "required", required) + GetDeploymentsDeploymentCollectionSpecificationRouteRequestPolicyQueryParameterValidationParameterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + required=required, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + required: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("required", required) @property @pulumi.getter @@ -21230,10 +26937,25 @@ def __init__(__self__, *, :param bool is_private_caching_enabled: Set true to allow caching responses where the request has an Authorization header. Ensure you have configured your cache key additions to get the level of isolation across authenticated requests that you require. :param str type: Type of the Response Cache Store Policy. """ - pulumi.set(__self__, "cache_key_additions", cache_key_additions) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "is_private_caching_enabled", is_private_caching_enabled) - pulumi.set(__self__, "type", type) + GetDeploymentsDeploymentCollectionSpecificationRouteRequestPolicyResponseCacheLookupResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cache_key_additions=cache_key_additions, + is_enabled=is_enabled, + is_private_caching_enabled=is_private_caching_enabled, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cache_key_additions: Sequence[str], + is_enabled: bool, + is_private_caching_enabled: bool, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cache_key_additions", cache_key_additions) + _setter("is_enabled", is_enabled) + _setter("is_private_caching_enabled", is_private_caching_enabled) + _setter("type", type) @property @pulumi.getter(name="cacheKeyAdditions") @@ -21277,8 +26999,19 @@ def __init__(__self__, *, :param Sequence['GetDeploymentsDeploymentCollectionSpecificationRouteResponsePolicyHeaderTransformationArgs'] header_transformations: A set of transformations to apply to HTTP headers that pass through the gateway. :param Sequence['GetDeploymentsDeploymentCollectionSpecificationRouteResponsePolicyResponseCacheStoreArgs'] response_cache_stores: Base policy for how a response from a backend is cached in the Response Cache. """ - pulumi.set(__self__, "header_transformations", header_transformations) - pulumi.set(__self__, "response_cache_stores", response_cache_stores) + GetDeploymentsDeploymentCollectionSpecificationRouteResponsePolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + header_transformations=header_transformations, + response_cache_stores=response_cache_stores, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + header_transformations: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRouteResponsePolicyHeaderTransformationResult'], + response_cache_stores: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRouteResponsePolicyResponseCacheStoreResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("header_transformations", header_transformations) + _setter("response_cache_stores", response_cache_stores) @property @pulumi.getter(name="headerTransformations") @@ -21308,9 +27041,22 @@ def __init__(__self__, *, :param Sequence['GetDeploymentsDeploymentCollectionSpecificationRouteResponsePolicyHeaderTransformationRenameHeaderArgs'] rename_headers: Rename HTTP headers as they pass through the gateway. :param Sequence['GetDeploymentsDeploymentCollectionSpecificationRouteResponsePolicyHeaderTransformationSetHeaderArgs'] set_headers: Set HTTP headers as they pass through the gateway. """ - pulumi.set(__self__, "filter_headers", filter_headers) - pulumi.set(__self__, "rename_headers", rename_headers) - pulumi.set(__self__, "set_headers", set_headers) + GetDeploymentsDeploymentCollectionSpecificationRouteResponsePolicyHeaderTransformationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + filter_headers=filter_headers, + rename_headers=rename_headers, + set_headers=set_headers, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + filter_headers: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRouteResponsePolicyHeaderTransformationFilterHeaderResult'], + rename_headers: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRouteResponsePolicyHeaderTransformationRenameHeaderResult'], + set_headers: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRouteResponsePolicyHeaderTransformationSetHeaderResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("filter_headers", filter_headers) + _setter("rename_headers", rename_headers) + _setter("set_headers", set_headers) @property @pulumi.getter(name="filterHeaders") @@ -21346,8 +27092,19 @@ def __init__(__self__, *, :param Sequence['GetDeploymentsDeploymentCollectionSpecificationRouteResponsePolicyHeaderTransformationFilterHeaderItemArgs'] items: The list of headers. :param str type: Type of the Response Cache Store Policy. """ - pulumi.set(__self__, "items", items) - pulumi.set(__self__, "type", type) + GetDeploymentsDeploymentCollectionSpecificationRouteResponsePolicyHeaderTransformationFilterHeaderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRouteResponsePolicyHeaderTransformationFilterHeaderItemResult'], + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) + _setter("type", type) @property @pulumi.getter @@ -21373,7 +27130,16 @@ def __init__(__self__, *, """ :param str name: The case-insensitive name of the header. This name must be unique across transformation policies. """ - pulumi.set(__self__, "name", name) + GetDeploymentsDeploymentCollectionSpecificationRouteResponsePolicyHeaderTransformationFilterHeaderItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -21391,7 +27157,16 @@ def __init__(__self__, *, """ :param Sequence['GetDeploymentsDeploymentCollectionSpecificationRouteResponsePolicyHeaderTransformationRenameHeaderItemArgs'] items: The list of headers. """ - pulumi.set(__self__, "items", items) + GetDeploymentsDeploymentCollectionSpecificationRouteResponsePolicyHeaderTransformationRenameHeaderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRouteResponsePolicyHeaderTransformationRenameHeaderItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -21411,8 +27186,19 @@ def __init__(__self__, *, :param str from_: The original case-insensitive name of the header. This name must be unique across transformation policies. :param str to: The new name of the header. This name must be unique across transformation policies. """ - pulumi.set(__self__, "from_", from_) - pulumi.set(__self__, "to", to) + GetDeploymentsDeploymentCollectionSpecificationRouteResponsePolicyHeaderTransformationRenameHeaderItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + from_=from_, + to=to, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + from_: str, + to: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("from_", from_) + _setter("to", to) @property @pulumi.getter(name="from") @@ -21438,7 +27224,16 @@ def __init__(__self__, *, """ :param Sequence['GetDeploymentsDeploymentCollectionSpecificationRouteResponsePolicyHeaderTransformationSetHeaderItemArgs'] items: The list of headers. """ - pulumi.set(__self__, "items", items) + GetDeploymentsDeploymentCollectionSpecificationRouteResponsePolicyHeaderTransformationSetHeaderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeploymentsDeploymentCollectionSpecificationRouteResponsePolicyHeaderTransformationSetHeaderItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -21460,9 +27255,22 @@ def __init__(__self__, *, :param str name: The case-insensitive name of the header. This name must be unique across transformation policies. :param Sequence[str] values: A list of new values. Each value can be a constant or may include one or more expressions enclosed within ${} delimiters. """ - pulumi.set(__self__, "if_exists", if_exists) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDeploymentsDeploymentCollectionSpecificationRouteResponsePolicyHeaderTransformationSetHeaderItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + if_exists=if_exists, + name=name, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + if_exists: str, + name: str, + values: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("if_exists", if_exists) + _setter("name", name) + _setter("values", values) @property @pulumi.getter(name="ifExists") @@ -21498,8 +27306,19 @@ def __init__(__self__, *, :param int time_to_live_in_seconds: Sets the number of seconds for a response from a backend being stored in the Response Cache before it expires. :param str type: Type of the Response Cache Store Policy. """ - pulumi.set(__self__, "time_to_live_in_seconds", time_to_live_in_seconds) - pulumi.set(__self__, "type", type) + GetDeploymentsDeploymentCollectionSpecificationRouteResponsePolicyResponseCacheStoreResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + time_to_live_in_seconds=time_to_live_in_seconds, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + time_to_live_in_seconds: int, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("time_to_live_in_seconds", time_to_live_in_seconds) + _setter("type", type) @property @pulumi.getter(name="timeToLiveInSeconds") @@ -21528,10 +27347,23 @@ def __init__(__self__, *, :param str name: The case-insensitive name of the header. This name must be unique across transformation policies. :param Sequence[str] values: A list of new values. Each value can be a constant or may include one or more expressions enclosed within ${} delimiters. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDeploymentsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -21566,9 +27398,22 @@ def __init__(__self__, *, :param str certificate_authority_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource. :param str type: Type of the Response Cache. """ - pulumi.set(__self__, "ca_bundle_id", ca_bundle_id) - pulumi.set(__self__, "certificate_authority_id", certificate_authority_id) - pulumi.set(__self__, "type", type) + GetGatewayCaBundleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ca_bundle_id=ca_bundle_id, + certificate_authority_id=certificate_authority_id, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ca_bundle_id: str, + certificate_authority_id: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ca_bundle_id", ca_bundle_id) + _setter("certificate_authority_id", certificate_authority_id) + _setter("type", type) @property @pulumi.getter(name="caBundleId") @@ -21602,7 +27447,16 @@ def __init__(__self__, *, """ :param str ip_address: An IP address. """ - pulumi.set(__self__, "ip_address", ip_address) + GetGatewayIpAddressResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ip_address=ip_address, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ip_address: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ip_address", ip_address) @property @pulumi.getter(name="ipAddress") @@ -21636,15 +27490,40 @@ def __init__(__self__, *, :param Sequence['GetGatewayResponseCacheDetailServerArgs'] servers: The set of cache store members to connect to. At present only a single server is supported. :param str type: Type of the Response Cache. """ - pulumi.set(__self__, "authentication_secret_id", authentication_secret_id) - pulumi.set(__self__, "authentication_secret_version_number", authentication_secret_version_number) - pulumi.set(__self__, "connect_timeout_in_ms", connect_timeout_in_ms) - pulumi.set(__self__, "is_ssl_enabled", is_ssl_enabled) - pulumi.set(__self__, "is_ssl_verify_disabled", is_ssl_verify_disabled) - pulumi.set(__self__, "read_timeout_in_ms", read_timeout_in_ms) - pulumi.set(__self__, "send_timeout_in_ms", send_timeout_in_ms) - pulumi.set(__self__, "servers", servers) - pulumi.set(__self__, "type", type) + GetGatewayResponseCacheDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + authentication_secret_id=authentication_secret_id, + authentication_secret_version_number=authentication_secret_version_number, + connect_timeout_in_ms=connect_timeout_in_ms, + is_ssl_enabled=is_ssl_enabled, + is_ssl_verify_disabled=is_ssl_verify_disabled, + read_timeout_in_ms=read_timeout_in_ms, + send_timeout_in_ms=send_timeout_in_ms, + servers=servers, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + authentication_secret_id: str, + authentication_secret_version_number: str, + connect_timeout_in_ms: int, + is_ssl_enabled: bool, + is_ssl_verify_disabled: bool, + read_timeout_in_ms: int, + send_timeout_in_ms: int, + servers: Sequence['outputs.GetGatewayResponseCacheDetailServerResult'], + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("authentication_secret_id", authentication_secret_id) + _setter("authentication_secret_version_number", authentication_secret_version_number) + _setter("connect_timeout_in_ms", connect_timeout_in_ms) + _setter("is_ssl_enabled", is_ssl_enabled) + _setter("is_ssl_verify_disabled", is_ssl_verify_disabled) + _setter("read_timeout_in_ms", read_timeout_in_ms) + _setter("send_timeout_in_ms", send_timeout_in_ms) + _setter("servers", servers) + _setter("type", type) @property @pulumi.getter(name="authenticationSecretId") @@ -21728,8 +27607,19 @@ def __init__(__self__, *, :param str host: Hostname or IP address (IPv4 only) where the cache store is running. :param int port: The port the cache store is exposed on. """ - pulumi.set(__self__, "host", host) - pulumi.set(__self__, "port", port) + GetGatewayResponseCacheDetailServerResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + host=host, + port=port, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host: str, + port: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("host", host) + _setter("port", port) @property @pulumi.getter @@ -21754,10 +27644,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetGatewaysFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -21814,23 +27717,64 @@ def __init__(__self__, *, :param str time_created: The time this resource was created. An RFC3339 formatted datetime string. :param str time_updated: The time this resource was last updated. An RFC3339 formatted datetime string. """ - pulumi.set(__self__, "ca_bundles", ca_bundles) - pulumi.set(__self__, "certificate_id", certificate_id) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "endpoint_type", endpoint_type) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "hostname", hostname) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "ip_addresses", ip_addresses) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "network_security_group_ids", network_security_group_ids) - pulumi.set(__self__, "response_cache_details", response_cache_details) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetGatewaysGatewayCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ca_bundles=ca_bundles, + certificate_id=certificate_id, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + endpoint_type=endpoint_type, + freeform_tags=freeform_tags, + hostname=hostname, + id=id, + ip_addresses=ip_addresses, + lifecycle_details=lifecycle_details, + network_security_group_ids=network_security_group_ids, + response_cache_details=response_cache_details, + state=state, + subnet_id=subnet_id, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ca_bundles: Sequence['outputs.GetGatewaysGatewayCollectionCaBundleResult'], + certificate_id: str, + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + endpoint_type: str, + freeform_tags: Mapping[str, Any], + hostname: str, + id: str, + ip_addresses: Sequence['outputs.GetGatewaysGatewayCollectionIpAddressResult'], + lifecycle_details: str, + network_security_group_ids: Sequence[str], + response_cache_details: Sequence['outputs.GetGatewaysGatewayCollectionResponseCacheDetailResult'], + state: str, + subnet_id: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ca_bundles", ca_bundles) + _setter("certificate_id", certificate_id) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("endpoint_type", endpoint_type) + _setter("freeform_tags", freeform_tags) + _setter("hostname", hostname) + _setter("id", id) + _setter("ip_addresses", ip_addresses) + _setter("lifecycle_details", lifecycle_details) + _setter("network_security_group_ids", network_security_group_ids) + _setter("response_cache_details", response_cache_details) + _setter("state", state) + _setter("subnet_id", subnet_id) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="caBundles") @@ -21980,9 +27924,22 @@ def __init__(__self__, *, :param str certificate_authority_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource. :param str type: Type of the Response Cache. """ - pulumi.set(__self__, "ca_bundle_id", ca_bundle_id) - pulumi.set(__self__, "certificate_authority_id", certificate_authority_id) - pulumi.set(__self__, "type", type) + GetGatewaysGatewayCollectionCaBundleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ca_bundle_id=ca_bundle_id, + certificate_authority_id=certificate_authority_id, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ca_bundle_id: str, + certificate_authority_id: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ca_bundle_id", ca_bundle_id) + _setter("certificate_authority_id", certificate_authority_id) + _setter("type", type) @property @pulumi.getter(name="caBundleId") @@ -22016,7 +27973,16 @@ def __init__(__self__, *, """ :param str ip_address: An IP address. """ - pulumi.set(__self__, "ip_address", ip_address) + GetGatewaysGatewayCollectionIpAddressResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ip_address=ip_address, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ip_address: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ip_address", ip_address) @property @pulumi.getter(name="ipAddress") @@ -22050,15 +28016,40 @@ def __init__(__self__, *, :param Sequence['GetGatewaysGatewayCollectionResponseCacheDetailServerArgs'] servers: The set of cache store members to connect to. At present only a single server is supported. :param str type: Type of the Response Cache. """ - pulumi.set(__self__, "authentication_secret_id", authentication_secret_id) - pulumi.set(__self__, "authentication_secret_version_number", authentication_secret_version_number) - pulumi.set(__self__, "connect_timeout_in_ms", connect_timeout_in_ms) - pulumi.set(__self__, "is_ssl_enabled", is_ssl_enabled) - pulumi.set(__self__, "is_ssl_verify_disabled", is_ssl_verify_disabled) - pulumi.set(__self__, "read_timeout_in_ms", read_timeout_in_ms) - pulumi.set(__self__, "send_timeout_in_ms", send_timeout_in_ms) - pulumi.set(__self__, "servers", servers) - pulumi.set(__self__, "type", type) + GetGatewaysGatewayCollectionResponseCacheDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + authentication_secret_id=authentication_secret_id, + authentication_secret_version_number=authentication_secret_version_number, + connect_timeout_in_ms=connect_timeout_in_ms, + is_ssl_enabled=is_ssl_enabled, + is_ssl_verify_disabled=is_ssl_verify_disabled, + read_timeout_in_ms=read_timeout_in_ms, + send_timeout_in_ms=send_timeout_in_ms, + servers=servers, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + authentication_secret_id: str, + authentication_secret_version_number: str, + connect_timeout_in_ms: int, + is_ssl_enabled: bool, + is_ssl_verify_disabled: bool, + read_timeout_in_ms: int, + send_timeout_in_ms: int, + servers: Sequence['outputs.GetGatewaysGatewayCollectionResponseCacheDetailServerResult'], + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("authentication_secret_id", authentication_secret_id) + _setter("authentication_secret_version_number", authentication_secret_version_number) + _setter("connect_timeout_in_ms", connect_timeout_in_ms) + _setter("is_ssl_enabled", is_ssl_enabled) + _setter("is_ssl_verify_disabled", is_ssl_verify_disabled) + _setter("read_timeout_in_ms", read_timeout_in_ms) + _setter("send_timeout_in_ms", send_timeout_in_ms) + _setter("servers", servers) + _setter("type", type) @property @pulumi.getter(name="authenticationSecretId") @@ -22142,8 +28133,19 @@ def __init__(__self__, *, :param str host: Hostname or IP address (IPv4 only) where the cache store is running. :param int port: The port the cache store is exposed on. """ - pulumi.set(__self__, "host", host) - pulumi.set(__self__, "port", port) + GetGatewaysGatewayCollectionResponseCacheDetailServerResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + host=host, + port=port, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host: str, + port: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("host", host) + _setter("port", port) @property @pulumi.getter @@ -22171,8 +28173,19 @@ def __init__(__self__, *, :param str name: The name of the client. Must be unique within a subscriber. :param str token: The token for the client. Must be unique within a tenancy. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "token", token) + GetSubscriberClientResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + token=token, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + token: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("token", token) @property @pulumi.getter @@ -22200,10 +28213,23 @@ def __init__(__self__, *, """ :param str name: The name of the client. Must be unique within a subscriber. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSubscribersFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -22228,7 +28254,16 @@ def regex(self) -> Optional[bool]: class GetSubscribersSubscriberCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetSubscribersSubscriberCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetSubscribersSubscriberCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetSubscribersSubscriberCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -22263,17 +28298,46 @@ def __init__(__self__, *, :param str time_updated: The time this resource was last updated. An RFC3339 formatted datetime string. :param Sequence[str] usage_plans: An array of [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)s of usage plan resources. """ - pulumi.set(__self__, "clients", clients) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "usage_plans", usage_plans) + GetSubscribersSubscriberCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + clients=clients, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + state=state, + time_created=time_created, + time_updated=time_updated, + usage_plans=usage_plans, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + clients: Sequence['outputs.GetSubscribersSubscriberCollectionItemClientResult'], + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + state: str, + time_created: str, + time_updated: str, + usage_plans: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("clients", clients) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("usage_plans", usage_plans) @property @pulumi.getter @@ -22373,8 +28437,19 @@ def __init__(__self__, *, :param str name: The name of the client. Must be unique within a subscriber. :param str token: The token for the client. Must be unique within a tenancy. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "token", token) + GetSubscribersSubscriberCollectionItemClientResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + token=token, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + token: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("token", token) @property @pulumi.getter @@ -22408,11 +28483,28 @@ def __init__(__self__, *, :param Sequence['GetUsagePlanEntitlementRateLimitArgs'] rate_limits: Rate-limiting policy for a usage plan. :param Sequence['GetUsagePlanEntitlementTargetArgs'] targets: A collection of targeted deployments that the entitlement will be applied to. """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "quotas", quotas) - pulumi.set(__self__, "rate_limits", rate_limits) - pulumi.set(__self__, "targets", targets) + GetUsagePlanEntitlementResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + name=name, + quotas=quotas, + rate_limits=rate_limits, + targets=targets, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + name: str, + quotas: Sequence['outputs.GetUsagePlanEntitlementQuotaResult'], + rate_limits: Sequence['outputs.GetUsagePlanEntitlementRateLimitResult'], + targets: Sequence['outputs.GetUsagePlanEntitlementTargetResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("name", name) + _setter("quotas", quotas) + _setter("rate_limits", rate_limits) + _setter("targets", targets) @property @pulumi.getter @@ -22468,10 +28560,25 @@ def __init__(__self__, *, :param str unit: The unit of time over which rate limits are calculated. Example: `SECOND` :param int value: The number of requests that can be made per time period. """ - pulumi.set(__self__, "operation_on_breach", operation_on_breach) - pulumi.set(__self__, "reset_policy", reset_policy) - pulumi.set(__self__, "unit", unit) - pulumi.set(__self__, "value", value) + GetUsagePlanEntitlementQuotaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + operation_on_breach=operation_on_breach, + reset_policy=reset_policy, + unit=unit, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + operation_on_breach: str, + reset_policy: str, + unit: str, + value: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("operation_on_breach", operation_on_breach) + _setter("reset_policy", reset_policy) + _setter("unit", unit) + _setter("value", value) @property @pulumi.getter(name="operationOnBreach") @@ -22515,8 +28622,19 @@ def __init__(__self__, *, :param str unit: The unit of time over which rate limits are calculated. Example: `SECOND` :param int value: The number of requests that can be made per time period. """ - pulumi.set(__self__, "unit", unit) - pulumi.set(__self__, "value", value) + GetUsagePlanEntitlementRateLimitResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + unit=unit, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + unit: str, + value: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("unit", unit) + _setter("value", value) @property @pulumi.getter @@ -22542,7 +28660,16 @@ def __init__(__self__, *, """ :param str deployment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a deployment resource. """ - pulumi.set(__self__, "deployment_id", deployment_id) + GetUsagePlanEntitlementTargetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + deployment_id=deployment_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deployment_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("deployment_id", deployment_id) @property @pulumi.getter(name="deploymentId") @@ -22562,10 +28689,23 @@ def __init__(__self__, *, """ :param str name: An entitlement name, unique within a usage plan. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetUsagePlansFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -22590,7 +28730,16 @@ def regex(self) -> Optional[bool]: class GetUsagePlansUsagePlanCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetUsagePlansUsagePlanCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetUsagePlansUsagePlanCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetUsagePlansUsagePlanCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -22623,16 +28772,43 @@ def __init__(__self__, *, :param str time_created: The time this resource was created. An RFC3339 formatted datetime string. :param str time_updated: The time this resource was last updated. An RFC3339 formatted datetime string. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "entitlements", entitlements) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetUsagePlansUsagePlanCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + entitlements=entitlements, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + entitlements: Sequence['outputs.GetUsagePlansUsagePlanCollectionItemEntitlementResult'], + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + state: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("entitlements", entitlements) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -22730,11 +28906,28 @@ def __init__(__self__, *, :param Sequence['GetUsagePlansUsagePlanCollectionItemEntitlementRateLimitArgs'] rate_limits: Rate-limiting policy for a usage plan. :param Sequence['GetUsagePlansUsagePlanCollectionItemEntitlementTargetArgs'] targets: A collection of targeted deployments that the entitlement will be applied to. """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "quotas", quotas) - pulumi.set(__self__, "rate_limits", rate_limits) - pulumi.set(__self__, "targets", targets) + GetUsagePlansUsagePlanCollectionItemEntitlementResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + name=name, + quotas=quotas, + rate_limits=rate_limits, + targets=targets, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + name: str, + quotas: Sequence['outputs.GetUsagePlansUsagePlanCollectionItemEntitlementQuotaResult'], + rate_limits: Sequence['outputs.GetUsagePlansUsagePlanCollectionItemEntitlementRateLimitResult'], + targets: Sequence['outputs.GetUsagePlansUsagePlanCollectionItemEntitlementTargetResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("name", name) + _setter("quotas", quotas) + _setter("rate_limits", rate_limits) + _setter("targets", targets) @property @pulumi.getter @@ -22790,10 +28983,25 @@ def __init__(__self__, *, :param str unit: The unit of time over which rate limits are calculated. Example: `SECOND` :param int value: The number of requests that can be made per time period. """ - pulumi.set(__self__, "operation_on_breach", operation_on_breach) - pulumi.set(__self__, "reset_policy", reset_policy) - pulumi.set(__self__, "unit", unit) - pulumi.set(__self__, "value", value) + GetUsagePlansUsagePlanCollectionItemEntitlementQuotaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + operation_on_breach=operation_on_breach, + reset_policy=reset_policy, + unit=unit, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + operation_on_breach: str, + reset_policy: str, + unit: str, + value: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("operation_on_breach", operation_on_breach) + _setter("reset_policy", reset_policy) + _setter("unit", unit) + _setter("value", value) @property @pulumi.getter(name="operationOnBreach") @@ -22837,8 +29045,19 @@ def __init__(__self__, *, :param str unit: The unit of time over which rate limits are calculated. Example: `SECOND` :param int value: The number of requests that can be made per time period. """ - pulumi.set(__self__, "unit", unit) - pulumi.set(__self__, "value", value) + GetUsagePlansUsagePlanCollectionItemEntitlementRateLimitResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + unit=unit, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + unit: str, + value: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("unit", unit) + _setter("value", value) @property @pulumi.getter @@ -22864,7 +29083,16 @@ def __init__(__self__, *, """ :param str deployment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a deployment resource. """ - pulumi.set(__self__, "deployment_id", deployment_id) + GetUsagePlansUsagePlanCollectionItemEntitlementTargetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + deployment_id=deployment_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deployment_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("deployment_id", deployment_id) @property @pulumi.getter(name="deploymentId") diff --git a/sdk/python/pulumi_oci/apigateway/subscriber.py b/sdk/python/pulumi_oci/apigateway/subscriber.py index 48db997915..7f6b6345ab 100644 --- a/sdk/python/pulumi_oci/apigateway/subscriber.py +++ b/sdk/python/pulumi_oci/apigateway/subscriber.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -35,15 +35,34 @@ def __init__(__self__, *, :param pulumi.Input[str] display_name: (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. Example: `My new resource` :param pulumi.Input[Mapping[str, Any]] freeform_tags: (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` """ - pulumi.set(__self__, "clients", clients) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "usage_plans", usage_plans) + SubscriberArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + clients=clients, + compartment_id=compartment_id, + usage_plans=usage_plans, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + clients: pulumi.Input[Sequence[pulumi.Input['SubscriberClientArgs']]], + compartment_id: pulumi.Input[str], + usage_plans: pulumi.Input[Sequence[pulumi.Input[str]]], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("clients", clients) + _setter("compartment_id", compartment_id) + _setter("usage_plans", usage_plans) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter @@ -152,26 +171,53 @@ def __init__(__self__, *, ** 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 """ + _SubscriberState._configure( + lambda key, value: pulumi.set(__self__, key, value), + clients=clients, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + state=state, + time_created=time_created, + time_updated=time_updated, + usage_plans=usage_plans, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + clients: Optional[pulumi.Input[Sequence[pulumi.Input['SubscriberClientArgs']]]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + usage_plans: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if clients is not None: - pulumi.set(__self__, "clients", clients) + _setter("clients", clients) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if usage_plans is not None: - pulumi.set(__self__, "usage_plans", usage_plans) + _setter("usage_plans", usage_plans) @property @pulumi.getter @@ -409,6 +455,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + SubscriberArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/apigateway/usage_plan.py b/sdk/python/pulumi_oci/apigateway/usage_plan.py index add0b239ee..26c8646ecc 100644 --- a/sdk/python/pulumi_oci/apigateway/usage_plan.py +++ b/sdk/python/pulumi_oci/apigateway/usage_plan.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -33,14 +33,31 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "entitlements", entitlements) + UsagePlanArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + entitlements=entitlements, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + entitlements: pulumi.Input[Sequence[pulumi.Input['UsagePlanEntitlementArgs']]], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("entitlements", entitlements) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="compartmentId") @@ -135,24 +152,49 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The time this resource was created. An RFC3339 formatted datetime string. :param pulumi.Input[str] time_updated: The time this resource was last updated. An RFC3339 formatted datetime string. """ + _UsagePlanState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + entitlements=entitlements, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + entitlements: Optional[pulumi.Input[Sequence[pulumi.Input['UsagePlanEntitlementArgs']]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if entitlements is not None: - pulumi.set(__self__, "entitlements", entitlements) + _setter("entitlements", entitlements) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -400,6 +442,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + UsagePlanArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/apm/_inputs.py b/sdk/python/pulumi_oci/apm/_inputs.py index d8cf4d6606..a2c42ed778 100644 --- a/sdk/python/pulumi_oci/apm/_inputs.py +++ b/sdk/python/pulumi_oci/apm/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -20,10 +20,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetApmDomainsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -62,10 +75,23 @@ def __init__(__self__, *, """ :param str name: Name of the Data Key. The name uniquely identifies a Data Key within an APM domain. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDataKeysFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/apm/apm_domain.py b/sdk/python/pulumi_oci/apm/apm_domain.py index 09e9fb65c2..efccb53ea5 100644 --- a/sdk/python/pulumi_oci/apm/apm_domain.py +++ b/sdk/python/pulumi_oci/apm/apm_domain.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['ApmDomainArgs', 'ApmDomain'] @@ -33,16 +33,35 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) + ApmDomainArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + is_free_tier=is_free_tier, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_free_tier: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_free_tier is not None: - pulumi.set(__self__, "is_free_tier", is_free_tier) + _setter("is_free_tier", is_free_tier) @property @pulumi.getter(name="compartmentId") @@ -151,26 +170,53 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The time the APM domain was created, expressed in RFC 3339 timestamp format. :param pulumi.Input[str] time_updated: The time the APM domain was updated, expressed in RFC 3339 timestamp format. """ + _ApmDomainState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + data_upload_endpoint=data_upload_endpoint, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + is_free_tier=is_free_tier, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + data_upload_endpoint: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_free_tier: Optional[pulumi.Input[bool]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if data_upload_endpoint is not None: - pulumi.set(__self__, "data_upload_endpoint", data_upload_endpoint) + _setter("data_upload_endpoint", data_upload_endpoint) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_free_tier is not None: - pulumi.set(__self__, "is_free_tier", is_free_tier) + _setter("is_free_tier", is_free_tier) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -402,6 +448,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ApmDomainArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/apm/get_apm_domain.py b/sdk/python/pulumi_oci/apm/get_apm_domain.py index 04e704a16d..7018f3f62a 100644 --- a/sdk/python/pulumi_oci/apm/get_apm_domain.py +++ b/sdk/python/pulumi_oci/apm/get_apm_domain.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/apm/get_apm_domains.py b/sdk/python/pulumi_oci/apm/get_apm_domains.py index 94c539dcb2..c31274a995 100644 --- a/sdk/python/pulumi_oci/apm/get_apm_domains.py +++ b/sdk/python/pulumi_oci/apm/get_apm_domains.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/apm/get_data_keys.py b/sdk/python/pulumi_oci/apm/get_data_keys.py index 4820250da1..e5d8cbccdb 100644 --- a/sdk/python/pulumi_oci/apm/get_data_keys.py +++ b/sdk/python/pulumi_oci/apm/get_data_keys.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/apm/outputs.py b/sdk/python/pulumi_oci/apm/outputs.py index 2f9183d9cc..57e2f5ea40 100644 --- a/sdk/python/pulumi_oci/apm/outputs.py +++ b/sdk/python/pulumi_oci/apm/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -43,17 +43,46 @@ def __init__(__self__, *, :param str time_created: The time the APM domain was created, expressed in RFC 3339 timestamp format. :param str time_updated: The time the APM domain was updated, expressed in RFC 3339 timestamp format. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "data_upload_endpoint", data_upload_endpoint) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_free_tier", is_free_tier) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetApmDomainsApmDomainResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + data_upload_endpoint=data_upload_endpoint, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + is_free_tier=is_free_tier, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + data_upload_endpoint: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + is_free_tier: bool, + state: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("data_upload_endpoint", data_upload_endpoint) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_free_tier", is_free_tier) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -150,10 +179,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetApmDomainsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -182,9 +224,22 @@ def __init__(__self__, *, :param str type: Type of the Data Key. :param str value: Value of the Data Key. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDataKeysDataKeyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -220,10 +275,23 @@ def __init__(__self__, *, """ :param str name: Name of the Data Key. The name uniquely identifies a Data Key within an APM domain. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDataKeysFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/apmconfig/_inputs.py b/sdk/python/pulumi_oci/apmconfig/_inputs.py index 35f3d6ecf5..213b0807a7 100644 --- a/sdk/python/pulumi_oci/apmconfig/_inputs.py +++ b/sdk/python/pulumi_oci/apmconfig/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -26,10 +26,21 @@ def __init__(__self__, *, :param pulumi.Input[str] name: (Updatable) The name of the metric. This must be a known metric name. :param pulumi.Input[str] value_source: (Updatable) This must not be set. """ + ConfigDimensionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value_source=value_source, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[pulumi.Input[str]] = None, + value_source: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if value_source is not None: - pulumi.set(__self__, "value_source", value_source) + _setter("value_source", value_source) @property @pulumi.getter @@ -69,14 +80,29 @@ def __init__(__self__, *, :param pulumi.Input[str] id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the configuration item. An OCID is generated when the item is created. :param pulumi.Input[str] options_group: A string that specifies the group that an OPTIONS item belongs to. """ + ConfigInUseByArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + config_type=config_type, + display_name=display_name, + id=id, + options_group=options_group, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + config_type: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + id: Optional[pulumi.Input[str]] = None, + options_group: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if config_type is not None: - pulumi.set(__self__, "config_type", config_type) + _setter("config_type", config_type) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if options_group is not None: - pulumi.set(__self__, "options_group", options_group) + _setter("options_group", options_group) @property @pulumi.getter(name="configType") @@ -140,14 +166,29 @@ def __init__(__self__, *, :param pulumi.Input[str] unit: (Updatable) The unit of the metric. :param pulumi.Input[str] value_source: (Updatable) This must not be set. """ + ConfigMetricArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + name=name, + unit=unit, + value_source=value_source, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + unit: Optional[pulumi.Input[str]] = None, + value_source: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if unit is not None: - pulumi.set(__self__, "unit", unit) + _setter("unit", unit) if value_source is not None: - pulumi.set(__self__, "value_source", value_source) + _setter("value_source", value_source) @property @pulumi.getter @@ -221,20 +262,41 @@ def __init__(__self__, *, ** 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 """ + ConfigRuleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + filter_text=filter_text, + is_apply_to_error_spans=is_apply_to_error_spans, + is_enabled=is_enabled, + priority=priority, + satisfied_response_time=satisfied_response_time, + tolerating_response_time=tolerating_response_time, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: Optional[pulumi.Input[str]] = None, + filter_text: Optional[pulumi.Input[str]] = None, + is_apply_to_error_spans: Optional[pulumi.Input[bool]] = None, + is_enabled: Optional[pulumi.Input[bool]] = None, + priority: Optional[pulumi.Input[int]] = None, + satisfied_response_time: Optional[pulumi.Input[int]] = None, + tolerating_response_time: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if filter_text is not None: - pulumi.set(__self__, "filter_text", filter_text) + _setter("filter_text", filter_text) if is_apply_to_error_spans is not None: - pulumi.set(__self__, "is_apply_to_error_spans", is_apply_to_error_spans) + _setter("is_apply_to_error_spans", is_apply_to_error_spans) if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) if priority is not None: - pulumi.set(__self__, "priority", priority) + _setter("priority", priority) if satisfied_response_time is not None: - pulumi.set(__self__, "satisfied_response_time", satisfied_response_time) + _setter("satisfied_response_time", satisfied_response_time) if tolerating_response_time is not None: - pulumi.set(__self__, "tolerating_response_time", tolerating_response_time) + _setter("tolerating_response_time", tolerating_response_time) @property @pulumi.getter(name="displayName") @@ -334,10 +396,23 @@ def __init__(__self__, *, """ :param str name: The name of the metric. This must be a known metric name. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetConfigsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/apmconfig/config.py b/sdk/python/pulumi_oci/apmconfig/config.py index 7112af0b0e..501e1f843b 100644 --- a/sdk/python/pulumi_oci/apmconfig/config.py +++ b/sdk/python/pulumi_oci/apmconfig/config.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -51,35 +51,74 @@ def __init__(__self__, *, :param pulumi.Input[str] options: (Updatable) The options are stored here as JSON. :param pulumi.Input[Sequence[pulumi.Input['ConfigRuleArgs']]] rules: (Updatable) """ - pulumi.set(__self__, "apm_domain_id", apm_domain_id) - pulumi.set(__self__, "config_type", config_type) - pulumi.set(__self__, "display_name", display_name) + ConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + apm_domain_id=apm_domain_id, + config_type=config_type, + display_name=display_name, + defined_tags=defined_tags, + description=description, + dimensions=dimensions, + filter_id=filter_id, + filter_text=filter_text, + freeform_tags=freeform_tags, + group=group, + in_use_bies=in_use_bies, + metrics=metrics, + namespace=namespace, + opc_dry_run=opc_dry_run, + options=options, + rules=rules, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + apm_domain_id: pulumi.Input[str], + config_type: pulumi.Input[str], + display_name: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + dimensions: Optional[pulumi.Input[Sequence[pulumi.Input['ConfigDimensionArgs']]]] = None, + filter_id: Optional[pulumi.Input[str]] = None, + filter_text: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + group: Optional[pulumi.Input[str]] = None, + in_use_bies: Optional[pulumi.Input[Sequence[pulumi.Input['ConfigInUseByArgs']]]] = None, + metrics: Optional[pulumi.Input[Sequence[pulumi.Input['ConfigMetricArgs']]]] = None, + namespace: Optional[pulumi.Input[str]] = None, + opc_dry_run: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input[str]] = None, + rules: Optional[pulumi.Input[Sequence[pulumi.Input['ConfigRuleArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("apm_domain_id", apm_domain_id) + _setter("config_type", config_type) + _setter("display_name", display_name) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if dimensions is not None: - pulumi.set(__self__, "dimensions", dimensions) + _setter("dimensions", dimensions) if filter_id is not None: - pulumi.set(__self__, "filter_id", filter_id) + _setter("filter_id", filter_id) if filter_text is not None: - pulumi.set(__self__, "filter_text", filter_text) + _setter("filter_text", filter_text) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if group is not None: - pulumi.set(__self__, "group", group) + _setter("group", group) if in_use_bies is not None: - pulumi.set(__self__, "in_use_bies", in_use_bies) + _setter("in_use_bies", in_use_bies) if metrics is not None: - pulumi.set(__self__, "metrics", metrics) + _setter("metrics", metrics) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if opc_dry_run is not None: - pulumi.set(__self__, "opc_dry_run", opc_dry_run) + _setter("opc_dry_run", opc_dry_run) if options is not None: - pulumi.set(__self__, "options", options) + _setter("options", options) if rules is not None: - pulumi.set(__self__, "rules", rules) + _setter("rules", rules) @property @pulumi.getter(name="apmDomainId") @@ -322,48 +361,97 @@ def __init__(__self__, *, :param pulumi.Input[str] time_updated: The time the resource was updated, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2020-02-13T22:47:12.613Z` :param pulumi.Input[str] updated_by: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a user. """ + _ConfigState._configure( + lambda key, value: pulumi.set(__self__, key, value), + apm_domain_id=apm_domain_id, + config_type=config_type, + created_by=created_by, + defined_tags=defined_tags, + description=description, + dimensions=dimensions, + display_name=display_name, + etag=etag, + filter_id=filter_id, + filter_text=filter_text, + freeform_tags=freeform_tags, + group=group, + in_use_bies=in_use_bies, + metrics=metrics, + namespace=namespace, + opc_dry_run=opc_dry_run, + options=options, + rules=rules, + time_created=time_created, + time_updated=time_updated, + updated_by=updated_by, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + apm_domain_id: Optional[pulumi.Input[str]] = None, + config_type: Optional[pulumi.Input[str]] = None, + created_by: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + dimensions: Optional[pulumi.Input[Sequence[pulumi.Input['ConfigDimensionArgs']]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + etag: Optional[pulumi.Input[str]] = None, + filter_id: Optional[pulumi.Input[str]] = None, + filter_text: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + group: Optional[pulumi.Input[str]] = None, + in_use_bies: Optional[pulumi.Input[Sequence[pulumi.Input['ConfigInUseByArgs']]]] = None, + metrics: Optional[pulumi.Input[Sequence[pulumi.Input['ConfigMetricArgs']]]] = None, + namespace: Optional[pulumi.Input[str]] = None, + opc_dry_run: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input[str]] = None, + rules: Optional[pulumi.Input[Sequence[pulumi.Input['ConfigRuleArgs']]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + updated_by: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if apm_domain_id is not None: - pulumi.set(__self__, "apm_domain_id", apm_domain_id) + _setter("apm_domain_id", apm_domain_id) if config_type is not None: - pulumi.set(__self__, "config_type", config_type) + _setter("config_type", config_type) if created_by is not None: - pulumi.set(__self__, "created_by", created_by) + _setter("created_by", created_by) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if dimensions is not None: - pulumi.set(__self__, "dimensions", dimensions) + _setter("dimensions", dimensions) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if etag is not None: - pulumi.set(__self__, "etag", etag) + _setter("etag", etag) if filter_id is not None: - pulumi.set(__self__, "filter_id", filter_id) + _setter("filter_id", filter_id) if filter_text is not None: - pulumi.set(__self__, "filter_text", filter_text) + _setter("filter_text", filter_text) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if group is not None: - pulumi.set(__self__, "group", group) + _setter("group", group) if in_use_bies is not None: - pulumi.set(__self__, "in_use_bies", in_use_bies) + _setter("in_use_bies", in_use_bies) if metrics is not None: - pulumi.set(__self__, "metrics", metrics) + _setter("metrics", metrics) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if opc_dry_run is not None: - pulumi.set(__self__, "opc_dry_run", opc_dry_run) + _setter("opc_dry_run", opc_dry_run) if options is not None: - pulumi.set(__self__, "options", options) + _setter("options", options) if rules is not None: - pulumi.set(__self__, "rules", rules) + _setter("rules", rules) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if updated_by is not None: - pulumi.set(__self__, "updated_by", updated_by) + _setter("updated_by", updated_by) @property @pulumi.getter(name="apmDomainId") @@ -789,6 +877,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ConfigArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/apmconfig/get_config.py b/sdk/python/pulumi_oci/apmconfig/get_config.py index 8bdf5046b1..db14b05842 100644 --- a/sdk/python/pulumi_oci/apmconfig/get_config.py +++ b/sdk/python/pulumi_oci/apmconfig/get_config.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/apmconfig/get_configs.py b/sdk/python/pulumi_oci/apmconfig/get_configs.py index b5d18def46..1fdc07dac0 100644 --- a/sdk/python/pulumi_oci/apmconfig/get_configs.py +++ b/sdk/python/pulumi_oci/apmconfig/get_configs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/apmconfig/outputs.py b/sdk/python/pulumi_oci/apmconfig/outputs.py index 5a8213c465..c67c71ff47 100644 --- a/sdk/python/pulumi_oci/apmconfig/outputs.py +++ b/sdk/python/pulumi_oci/apmconfig/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -54,10 +54,21 @@ def __init__(__self__, *, :param str name: (Updatable) The name of the metric. This must be a known metric name. :param str value_source: (Updatable) This must not be set. """ + ConfigDimension._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value_source=value_source, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[str] = None, + value_source: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if value_source is not None: - pulumi.set(__self__, "value_source", value_source) + _setter("value_source", value_source) @property @pulumi.getter @@ -110,14 +121,29 @@ def __init__(__self__, *, :param str id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the configuration item. An OCID is generated when the item is created. :param str options_group: A string that specifies the group that an OPTIONS item belongs to. """ + ConfigInUseBy._configure( + lambda key, value: pulumi.set(__self__, key, value), + config_type=config_type, + display_name=display_name, + id=id, + options_group=options_group, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + config_type: Optional[str] = None, + display_name: Optional[str] = None, + id: Optional[str] = None, + options_group: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if config_type is not None: - pulumi.set(__self__, "config_type", config_type) + _setter("config_type", config_type) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if options_group is not None: - pulumi.set(__self__, "options_group", options_group) + _setter("options_group", options_group) @property @pulumi.getter(name="configType") @@ -182,14 +208,29 @@ def __init__(__self__, *, :param str unit: (Updatable) The unit of the metric. :param str value_source: (Updatable) This must not be set. """ + ConfigMetric._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + name=name, + unit=unit, + value_source=value_source, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: Optional[str] = None, + name: Optional[str] = None, + unit: Optional[str] = None, + value_source: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if unit is not None: - pulumi.set(__self__, "unit", unit) + _setter("unit", unit) if value_source is not None: - pulumi.set(__self__, "value_source", value_source) + _setter("value_source", value_source) @property @pulumi.getter @@ -274,20 +315,41 @@ def __init__(__self__, *, ** 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 """ + ConfigRule._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + filter_text=filter_text, + is_apply_to_error_spans=is_apply_to_error_spans, + is_enabled=is_enabled, + priority=priority, + satisfied_response_time=satisfied_response_time, + tolerating_response_time=tolerating_response_time, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: Optional[str] = None, + filter_text: Optional[str] = None, + is_apply_to_error_spans: Optional[bool] = None, + is_enabled: Optional[bool] = None, + priority: Optional[int] = None, + satisfied_response_time: Optional[int] = None, + tolerating_response_time: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if filter_text is not None: - pulumi.set(__self__, "filter_text", filter_text) + _setter("filter_text", filter_text) if is_apply_to_error_spans is not None: - pulumi.set(__self__, "is_apply_to_error_spans", is_apply_to_error_spans) + _setter("is_apply_to_error_spans", is_apply_to_error_spans) if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) if priority is not None: - pulumi.set(__self__, "priority", priority) + _setter("priority", priority) if satisfied_response_time is not None: - pulumi.set(__self__, "satisfied_response_time", satisfied_response_time) + _setter("satisfied_response_time", satisfied_response_time) if tolerating_response_time is not None: - pulumi.set(__self__, "tolerating_response_time", tolerating_response_time) + _setter("tolerating_response_time", tolerating_response_time) @property @pulumi.getter(name="displayName") @@ -359,8 +421,19 @@ def __init__(__self__, *, :param str name: The name of the metric. This must be a known metric name. :param str value_source: This must not be set. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value_source", value_source) + GetConfigDimensionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value_source=value_source, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + value_source: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("value_source", value_source) @property @pulumi.getter @@ -392,10 +465,25 @@ def __init__(__self__, *, :param str id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the configuration item. An OCID is generated when the item is created. :param str options_group: A string that specifies the group that an OPTIONS item belongs to. """ - pulumi.set(__self__, "config_type", config_type) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "options_group", options_group) + GetConfigInUseByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + config_type=config_type, + display_name=display_name, + id=id, + options_group=options_group, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + config_type: str, + display_name: str, + id: str, + options_group: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("config_type", config_type) + _setter("display_name", display_name) + _setter("id", id) + _setter("options_group", options_group) @property @pulumi.getter(name="configType") @@ -443,10 +531,25 @@ def __init__(__self__, *, :param str unit: The unit of the metric. :param str value_source: This must not be set. """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "unit", unit) - pulumi.set(__self__, "value_source", value_source) + GetConfigMetricResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + name=name, + unit=unit, + value_source=value_source, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + name: str, + unit: str, + value_source: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("name", name) + _setter("unit", unit) + _setter("value_source", value_source) @property @pulumi.getter @@ -500,13 +603,34 @@ def __init__(__self__, *, :param int satisfied_response_time: The maximum response time in milliseconds that is considered "satisfactory" for the end user. :param int tolerating_response_time: The maximum response time in milliseconds that is considered "tolerable" for the end user. A response time beyond this threshold is considered "frustrating". This value cannot be lower than "satisfiedResponseTime". """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "filter_text", filter_text) - pulumi.set(__self__, "is_apply_to_error_spans", is_apply_to_error_spans) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "priority", priority) - pulumi.set(__self__, "satisfied_response_time", satisfied_response_time) - pulumi.set(__self__, "tolerating_response_time", tolerating_response_time) + GetConfigRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + filter_text=filter_text, + is_apply_to_error_spans=is_apply_to_error_spans, + is_enabled=is_enabled, + priority=priority, + satisfied_response_time=satisfied_response_time, + tolerating_response_time=tolerating_response_time, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + filter_text: str, + is_apply_to_error_spans: bool, + is_enabled: bool, + priority: int, + satisfied_response_time: int, + tolerating_response_time: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("filter_text", filter_text) + _setter("is_apply_to_error_spans", is_apply_to_error_spans) + _setter("is_enabled", is_enabled) + _setter("priority", priority) + _setter("satisfied_response_time", satisfied_response_time) + _setter("tolerating_response_time", tolerating_response_time) @property @pulumi.getter(name="displayName") @@ -569,7 +693,16 @@ def tolerating_response_time(self) -> int: class GetConfigsConfigCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetConfigsConfigCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetConfigsConfigCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetConfigsConfigCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -624,28 +757,79 @@ def __init__(__self__, *, :param str time_updated: The time the resource was updated, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2020-02-13T22:47:12.613Z` :param str updated_by: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a user. """ - pulumi.set(__self__, "apm_domain_id", apm_domain_id) - pulumi.set(__self__, "config_type", config_type) - pulumi.set(__self__, "created_by", created_by) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "dimensions", dimensions) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "etag", etag) - pulumi.set(__self__, "filter_id", filter_id) - pulumi.set(__self__, "filter_text", filter_text) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "group", group) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "in_use_bies", in_use_bies) - pulumi.set(__self__, "metrics", metrics) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "opc_dry_run", opc_dry_run) - pulumi.set(__self__, "options", options) - pulumi.set(__self__, "rules", rules) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "updated_by", updated_by) + GetConfigsConfigCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + apm_domain_id=apm_domain_id, + config_type=config_type, + created_by=created_by, + defined_tags=defined_tags, + description=description, + dimensions=dimensions, + display_name=display_name, + etag=etag, + filter_id=filter_id, + filter_text=filter_text, + freeform_tags=freeform_tags, + group=group, + id=id, + in_use_bies=in_use_bies, + metrics=metrics, + namespace=namespace, + opc_dry_run=opc_dry_run, + options=options, + rules=rules, + time_created=time_created, + time_updated=time_updated, + updated_by=updated_by, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + apm_domain_id: str, + config_type: str, + created_by: str, + defined_tags: Mapping[str, Any], + description: str, + dimensions: Sequence['outputs.GetConfigsConfigCollectionItemDimensionResult'], + display_name: str, + etag: str, + filter_id: str, + filter_text: str, + freeform_tags: Mapping[str, Any], + group: str, + id: str, + in_use_bies: Sequence['outputs.GetConfigsConfigCollectionItemInUseByResult'], + metrics: Sequence['outputs.GetConfigsConfigCollectionItemMetricResult'], + namespace: str, + opc_dry_run: str, + options: str, + rules: Sequence['outputs.GetConfigsConfigCollectionItemRuleResult'], + time_created: str, + time_updated: str, + updated_by: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("apm_domain_id", apm_domain_id) + _setter("config_type", config_type) + _setter("created_by", created_by) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("dimensions", dimensions) + _setter("display_name", display_name) + _setter("etag", etag) + _setter("filter_id", filter_id) + _setter("filter_text", filter_text) + _setter("freeform_tags", freeform_tags) + _setter("group", group) + _setter("id", id) + _setter("in_use_bies", in_use_bies) + _setter("metrics", metrics) + _setter("namespace", namespace) + _setter("opc_dry_run", opc_dry_run) + _setter("options", options) + _setter("rules", rules) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("updated_by", updated_by) @property @pulumi.getter(name="apmDomainId") @@ -827,8 +1011,19 @@ def __init__(__self__, *, :param str name: The name of the metric. This must be a known metric name. :param str value_source: This must not be set. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value_source", value_source) + GetConfigsConfigCollectionItemDimensionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value_source=value_source, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + value_source: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("value_source", value_source) @property @pulumi.getter @@ -860,10 +1055,25 @@ def __init__(__self__, *, :param str id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the configuration item. An OCID is generated when the item is created. :param str options_group: A filter to return OPTIONS resources that match the given group. """ - pulumi.set(__self__, "config_type", config_type) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "options_group", options_group) + GetConfigsConfigCollectionItemInUseByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + config_type=config_type, + display_name=display_name, + id=id, + options_group=options_group, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + config_type: str, + display_name: str, + id: str, + options_group: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("config_type", config_type) + _setter("display_name", display_name) + _setter("id", id) + _setter("options_group", options_group) @property @pulumi.getter(name="configType") @@ -911,10 +1121,25 @@ def __init__(__self__, *, :param str unit: The unit of the metric. :param str value_source: This must not be set. """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "unit", unit) - pulumi.set(__self__, "value_source", value_source) + GetConfigsConfigCollectionItemMetricResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + name=name, + unit=unit, + value_source=value_source, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + name: str, + unit: str, + value_source: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("name", name) + _setter("unit", unit) + _setter("value_source", value_source) @property @pulumi.getter @@ -968,13 +1193,34 @@ def __init__(__self__, *, :param int satisfied_response_time: The maximum response time in milliseconds that is considered "satisfactory" for the end user. :param int tolerating_response_time: The maximum response time in milliseconds that is considered "tolerable" for the end user. A response time beyond this threshold is considered "frustrating". This value cannot be lower than "satisfiedResponseTime". """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "filter_text", filter_text) - pulumi.set(__self__, "is_apply_to_error_spans", is_apply_to_error_spans) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "priority", priority) - pulumi.set(__self__, "satisfied_response_time", satisfied_response_time) - pulumi.set(__self__, "tolerating_response_time", tolerating_response_time) + GetConfigsConfigCollectionItemRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + filter_text=filter_text, + is_apply_to_error_spans=is_apply_to_error_spans, + is_enabled=is_enabled, + priority=priority, + satisfied_response_time=satisfied_response_time, + tolerating_response_time=tolerating_response_time, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + filter_text: str, + is_apply_to_error_spans: bool, + is_enabled: bool, + priority: int, + satisfied_response_time: int, + tolerating_response_time: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("filter_text", filter_text) + _setter("is_apply_to_error_spans", is_apply_to_error_spans) + _setter("is_enabled", is_enabled) + _setter("priority", priority) + _setter("satisfied_response_time", satisfied_response_time) + _setter("tolerating_response_time", tolerating_response_time) @property @pulumi.getter(name="displayName") @@ -1042,10 +1288,23 @@ def __init__(__self__, *, """ :param str name: The name of the metric. This must be a known metric name. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetConfigsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/apmsynthetics/_inputs.py b/sdk/python/pulumi_oci/apmsynthetics/_inputs.py index d15a94b95d..745ce8ea7c 100644 --- a/sdk/python/pulumi_oci/apmsynthetics/_inputs.py +++ b/sdk/python/pulumi_oci/apmsynthetics/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -46,10 +46,21 @@ def __init__(__self__, *, :param pulumi.Input[int] max_allowed_failures_per_interval: (Updatable) Intervals with failed runs more than this value will be classified as UNAVAILABLE. :param pulumi.Input[int] min_allowed_runs_per_interval: (Updatable) Intervals with runs less than this value will be classified as UNKNOWN and excluded from the availability calculations. """ + ConfigAvailabilityConfigurationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + max_allowed_failures_per_interval=max_allowed_failures_per_interval, + min_allowed_runs_per_interval=min_allowed_runs_per_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max_allowed_failures_per_interval: Optional[pulumi.Input[int]] = None, + min_allowed_runs_per_interval: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if max_allowed_failures_per_interval is not None: - pulumi.set(__self__, "max_allowed_failures_per_interval", max_allowed_failures_per_interval) + _setter("max_allowed_failures_per_interval", max_allowed_failures_per_interval) if min_allowed_runs_per_interval is not None: - pulumi.set(__self__, "min_allowed_runs_per_interval", min_allowed_runs_per_interval) + _setter("min_allowed_runs_per_interval", min_allowed_runs_per_interval) @property @pulumi.getter(name="maxAllowedFailuresPerInterval") @@ -115,40 +126,81 @@ def __init__(__self__, *, :param pulumi.Input[str] verify_response_content: (Updatable) Verify response content against regular expression based string. If response content does not match the verifyResponseContent value, then it will be considered a failure. :param pulumi.Input[Sequence[pulumi.Input['ConfigConfigurationVerifyTextArgs']]] verify_texts: (Updatable) Verifies all the search strings present in the response. If any search string is not present in the response, then it will be considered as a failure. """ + ConfigConfigurationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + client_certificate_details=client_certificate_details, + config_type=config_type, + dns_configuration=dns_configuration, + is_certificate_validation_enabled=is_certificate_validation_enabled, + is_default_snapshot_enabled=is_default_snapshot_enabled, + is_failure_retried=is_failure_retried, + is_redirection_enabled=is_redirection_enabled, + network_configuration=network_configuration, + req_authentication_details=req_authentication_details, + req_authentication_scheme=req_authentication_scheme, + request_headers=request_headers, + request_method=request_method, + request_post_body=request_post_body, + request_query_params=request_query_params, + verify_response_codes=verify_response_codes, + verify_response_content=verify_response_content, + verify_texts=verify_texts, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + client_certificate_details: Optional[pulumi.Input['ConfigConfigurationClientCertificateDetailsArgs']] = None, + config_type: Optional[pulumi.Input[str]] = None, + dns_configuration: Optional[pulumi.Input['ConfigConfigurationDnsConfigurationArgs']] = None, + is_certificate_validation_enabled: Optional[pulumi.Input[bool]] = None, + is_default_snapshot_enabled: Optional[pulumi.Input[bool]] = None, + is_failure_retried: Optional[pulumi.Input[bool]] = None, + is_redirection_enabled: Optional[pulumi.Input[bool]] = None, + network_configuration: Optional[pulumi.Input['ConfigConfigurationNetworkConfigurationArgs']] = None, + req_authentication_details: Optional[pulumi.Input['ConfigConfigurationReqAuthenticationDetailsArgs']] = None, + req_authentication_scheme: Optional[pulumi.Input[str]] = None, + request_headers: Optional[pulumi.Input[Sequence[pulumi.Input['ConfigConfigurationRequestHeaderArgs']]]] = None, + request_method: Optional[pulumi.Input[str]] = None, + request_post_body: Optional[pulumi.Input[str]] = None, + request_query_params: Optional[pulumi.Input[Sequence[pulumi.Input['ConfigConfigurationRequestQueryParamArgs']]]] = None, + verify_response_codes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + verify_response_content: Optional[pulumi.Input[str]] = None, + verify_texts: Optional[pulumi.Input[Sequence[pulumi.Input['ConfigConfigurationVerifyTextArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if client_certificate_details is not None: - pulumi.set(__self__, "client_certificate_details", client_certificate_details) + _setter("client_certificate_details", client_certificate_details) if config_type is not None: - pulumi.set(__self__, "config_type", config_type) + _setter("config_type", config_type) if dns_configuration is not None: - pulumi.set(__self__, "dns_configuration", dns_configuration) + _setter("dns_configuration", dns_configuration) if is_certificate_validation_enabled is not None: - pulumi.set(__self__, "is_certificate_validation_enabled", is_certificate_validation_enabled) + _setter("is_certificate_validation_enabled", is_certificate_validation_enabled) if is_default_snapshot_enabled is not None: - pulumi.set(__self__, "is_default_snapshot_enabled", is_default_snapshot_enabled) + _setter("is_default_snapshot_enabled", is_default_snapshot_enabled) if is_failure_retried is not None: - pulumi.set(__self__, "is_failure_retried", is_failure_retried) + _setter("is_failure_retried", is_failure_retried) if is_redirection_enabled is not None: - pulumi.set(__self__, "is_redirection_enabled", is_redirection_enabled) + _setter("is_redirection_enabled", is_redirection_enabled) if network_configuration is not None: - pulumi.set(__self__, "network_configuration", network_configuration) + _setter("network_configuration", network_configuration) if req_authentication_details is not None: - pulumi.set(__self__, "req_authentication_details", req_authentication_details) + _setter("req_authentication_details", req_authentication_details) if req_authentication_scheme is not None: - pulumi.set(__self__, "req_authentication_scheme", req_authentication_scheme) + _setter("req_authentication_scheme", req_authentication_scheme) if request_headers is not None: - pulumi.set(__self__, "request_headers", request_headers) + _setter("request_headers", request_headers) if request_method is not None: - pulumi.set(__self__, "request_method", request_method) + _setter("request_method", request_method) if request_post_body is not None: - pulumi.set(__self__, "request_post_body", request_post_body) + _setter("request_post_body", request_post_body) if request_query_params is not None: - pulumi.set(__self__, "request_query_params", request_query_params) + _setter("request_query_params", request_query_params) if verify_response_codes is not None: - pulumi.set(__self__, "verify_response_codes", verify_response_codes) + _setter("verify_response_codes", verify_response_codes) if verify_response_content is not None: - pulumi.set(__self__, "verify_response_content", verify_response_content) + _setter("verify_response_content", verify_response_content) if verify_texts is not None: - pulumi.set(__self__, "verify_texts", verify_texts) + _setter("verify_texts", verify_texts) @property @pulumi.getter(name="clientCertificateDetails") @@ -364,10 +416,21 @@ def __init__(__self__, *, :param pulumi.Input['ConfigConfigurationClientCertificateDetailsClientCertificateArgs'] client_certificate: (Updatable) Client certificate in PEM format. :param pulumi.Input['ConfigConfigurationClientCertificateDetailsPrivateKeyArgs'] private_key: (Updatable) The private key associated with the client certificate in PEM format. """ + ConfigConfigurationClientCertificateDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + client_certificate=client_certificate, + private_key=private_key, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + client_certificate: Optional[pulumi.Input['ConfigConfigurationClientCertificateDetailsClientCertificateArgs']] = None, + private_key: Optional[pulumi.Input['ConfigConfigurationClientCertificateDetailsPrivateKeyArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if client_certificate is not None: - pulumi.set(__self__, "client_certificate", client_certificate) + _setter("client_certificate", client_certificate) if private_key is not None: - pulumi.set(__self__, "private_key", private_key) + _setter("private_key", private_key) @property @pulumi.getter(name="clientCertificate") @@ -403,10 +466,21 @@ def __init__(__self__, *, :param pulumi.Input[str] content: (Updatable) Content of the private key file. :param pulumi.Input[str] file_name: (Updatable) Name of the private key file. """ + ConfigConfigurationClientCertificateDetailsClientCertificateArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + content=content, + file_name=file_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + content: Optional[pulumi.Input[str]] = None, + file_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if content is not None: - pulumi.set(__self__, "content", content) + _setter("content", content) if file_name is not None: - pulumi.set(__self__, "file_name", file_name) + _setter("file_name", file_name) @property @pulumi.getter @@ -442,10 +516,21 @@ def __init__(__self__, *, :param pulumi.Input[str] content: (Updatable) Content of the private key file. :param pulumi.Input[str] file_name: (Updatable) Name of the private key file. """ + ConfigConfigurationClientCertificateDetailsPrivateKeyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + content=content, + file_name=file_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + content: Optional[pulumi.Input[str]] = None, + file_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if content is not None: - pulumi.set(__self__, "content", content) + _setter("content", content) if file_name is not None: - pulumi.set(__self__, "file_name", file_name) + _setter("file_name", file_name) @property @pulumi.getter @@ -481,10 +566,21 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_override_dns: (Updatable) If isOverrideDns is true, then DNS settings will be overridden. :param pulumi.Input[str] override_dns_ip: (Updatable) Attribute to override the DNS IP value. This value will be honored only if isOverrideDns is set to true. """ + ConfigConfigurationDnsConfigurationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_override_dns=is_override_dns, + override_dns_ip=override_dns_ip, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_override_dns: Optional[pulumi.Input[bool]] = None, + override_dns_ip: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_override_dns is not None: - pulumi.set(__self__, "is_override_dns", is_override_dns) + _setter("is_override_dns", is_override_dns) if override_dns_ip is not None: - pulumi.set(__self__, "override_dns_ip", override_dns_ip) + _setter("override_dns_ip", override_dns_ip) @property @pulumi.getter(name="isOverrideDns") @@ -526,16 +622,33 @@ def __init__(__self__, *, :param pulumi.Input[str] protocol: (Updatable) Type of protocol. :param pulumi.Input[int] transmission_rate: (Updatable) Number of probe packets sent out simultaneously. """ + ConfigConfigurationNetworkConfigurationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + number_of_hops=number_of_hops, + probe_mode=probe_mode, + probe_per_hop=probe_per_hop, + protocol=protocol, + transmission_rate=transmission_rate, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + number_of_hops: Optional[pulumi.Input[int]] = None, + probe_mode: Optional[pulumi.Input[str]] = None, + probe_per_hop: Optional[pulumi.Input[int]] = None, + protocol: Optional[pulumi.Input[str]] = None, + transmission_rate: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if number_of_hops is not None: - pulumi.set(__self__, "number_of_hops", number_of_hops) + _setter("number_of_hops", number_of_hops) if probe_mode is not None: - pulumi.set(__self__, "probe_mode", probe_mode) + _setter("probe_mode", probe_mode) if probe_per_hop is not None: - pulumi.set(__self__, "probe_per_hop", probe_per_hop) + _setter("probe_per_hop", probe_per_hop) if protocol is not None: - pulumi.set(__self__, "protocol", protocol) + _setter("protocol", protocol) if transmission_rate is not None: - pulumi.set(__self__, "transmission_rate", transmission_rate) + _setter("transmission_rate", transmission_rate) @property @pulumi.getter(name="numberOfHops") @@ -619,22 +732,45 @@ def __init__(__self__, *, :param pulumi.Input[str] auth_user_password: (Updatable) User password for authentication. :param pulumi.Input[str] oauth_scheme: (Updatable) Request HTTP OAuth scheme. """ + ConfigConfigurationReqAuthenticationDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + auth_headers=auth_headers, + auth_request_method=auth_request_method, + auth_request_post_body=auth_request_post_body, + auth_token=auth_token, + auth_url=auth_url, + auth_user_name=auth_user_name, + auth_user_password=auth_user_password, + oauth_scheme=oauth_scheme, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + auth_headers: Optional[pulumi.Input[Sequence[pulumi.Input['ConfigConfigurationReqAuthenticationDetailsAuthHeaderArgs']]]] = None, + auth_request_method: Optional[pulumi.Input[str]] = None, + auth_request_post_body: Optional[pulumi.Input[str]] = None, + auth_token: Optional[pulumi.Input[str]] = None, + auth_url: Optional[pulumi.Input[str]] = None, + auth_user_name: Optional[pulumi.Input[str]] = None, + auth_user_password: Optional[pulumi.Input[str]] = None, + oauth_scheme: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if auth_headers is not None: - pulumi.set(__self__, "auth_headers", auth_headers) + _setter("auth_headers", auth_headers) if auth_request_method is not None: - pulumi.set(__self__, "auth_request_method", auth_request_method) + _setter("auth_request_method", auth_request_method) if auth_request_post_body is not None: - pulumi.set(__self__, "auth_request_post_body", auth_request_post_body) + _setter("auth_request_post_body", auth_request_post_body) if auth_token is not None: - pulumi.set(__self__, "auth_token", auth_token) + _setter("auth_token", auth_token) if auth_url is not None: - pulumi.set(__self__, "auth_url", auth_url) + _setter("auth_url", auth_url) if auth_user_name is not None: - pulumi.set(__self__, "auth_user_name", auth_user_name) + _setter("auth_user_name", auth_user_name) if auth_user_password is not None: - pulumi.set(__self__, "auth_user_password", auth_user_password) + _setter("auth_user_password", auth_user_password) if oauth_scheme is not None: - pulumi.set(__self__, "oauth_scheme", oauth_scheme) + _setter("oauth_scheme", oauth_scheme) @property @pulumi.getter(name="authHeaders") @@ -742,10 +878,21 @@ def __init__(__self__, *, :param pulumi.Input[str] header_name: (Updatable) Name of the header. :param pulumi.Input[str] header_value: (Updatable) Value of the header. """ + ConfigConfigurationReqAuthenticationDetailsAuthHeaderArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + header_name=header_name, + header_value=header_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + header_name: Optional[pulumi.Input[str]] = None, + header_value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if header_name is not None: - pulumi.set(__self__, "header_name", header_name) + _setter("header_name", header_name) if header_value is not None: - pulumi.set(__self__, "header_value", header_value) + _setter("header_value", header_value) @property @pulumi.getter(name="headerName") @@ -781,10 +928,21 @@ def __init__(__self__, *, :param pulumi.Input[str] header_name: (Updatable) Name of the header. :param pulumi.Input[str] header_value: (Updatable) Value of the header. """ + ConfigConfigurationRequestHeaderArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + header_name=header_name, + header_value=header_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + header_name: Optional[pulumi.Input[str]] = None, + header_value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if header_name is not None: - pulumi.set(__self__, "header_name", header_name) + _setter("header_name", header_name) if header_value is not None: - pulumi.set(__self__, "header_value", header_value) + _setter("header_value", header_value) @property @pulumi.getter(name="headerName") @@ -820,10 +978,21 @@ def __init__(__self__, *, :param pulumi.Input[str] param_name: (Updatable) Name of the parameter. :param pulumi.Input[str] param_value: (Updatable) Value of the parameter. """ + ConfigConfigurationRequestQueryParamArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + param_name=param_name, + param_value=param_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + param_name: Optional[pulumi.Input[str]] = None, + param_value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if param_name is not None: - pulumi.set(__self__, "param_name", param_name) + _setter("param_name", param_name) if param_value is not None: - pulumi.set(__self__, "param_value", param_value) + _setter("param_value", param_value) @property @pulumi.getter(name="paramName") @@ -857,8 +1026,17 @@ def __init__(__self__, *, """ :param pulumi.Input[str] text: (Updatable) Verification text in the response. """ + ConfigConfigurationVerifyTextArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + text=text, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + text: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if text is not None: - pulumi.set(__self__, "text", text) + _setter("text", text) @property @pulumi.getter @@ -882,10 +1060,21 @@ def __init__(__self__, *, :param pulumi.Input[str] time_ended: (Updatable) End time of the maintenance window, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2020-02-12T22:47:12.613Z` :param pulumi.Input[str] time_started: (Updatable) Start time of the maintenance window, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2020-02-12T22:47:12.613Z` """ + ConfigMaintenanceWindowScheduleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + time_ended=time_ended, + time_started=time_started, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + time_ended: Optional[pulumi.Input[str]] = None, + time_started: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if time_ended is not None: - pulumi.set(__self__, "time_ended", time_ended) + _setter("time_ended", time_ended) if time_started is not None: - pulumi.set(__self__, "time_started", time_started) + _setter("time_started", time_started) @property @pulumi.getter(name="timeEnded") @@ -927,14 +1116,31 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_secret: Describes if the parameter value is secret and should be kept confidential. isSecret is specified in either CreateScript or UpdateScript API. :param pulumi.Input[Sequence[pulumi.Input['ConfigScriptParameterMonitorScriptParameterArgs']]] monitor_script_parameters: Details of the script parameter that can be used to overwrite the parameter present in the script. """ - pulumi.set(__self__, "param_name", param_name) - pulumi.set(__self__, "param_value", param_value) + ConfigScriptParameterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + param_name=param_name, + param_value=param_value, + is_overwritten=is_overwritten, + is_secret=is_secret, + monitor_script_parameters=monitor_script_parameters, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + param_name: pulumi.Input[str], + param_value: pulumi.Input[str], + is_overwritten: Optional[pulumi.Input[bool]] = None, + is_secret: Optional[pulumi.Input[bool]] = None, + monitor_script_parameters: Optional[pulumi.Input[Sequence[pulumi.Input['ConfigScriptParameterMonitorScriptParameterArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("param_name", param_name) + _setter("param_value", param_value) if is_overwritten is not None: - pulumi.set(__self__, "is_overwritten", is_overwritten) + _setter("is_overwritten", is_overwritten) if is_secret is not None: - pulumi.set(__self__, "is_secret", is_secret) + _setter("is_secret", is_secret) if monitor_script_parameters is not None: - pulumi.set(__self__, "monitor_script_parameters", monitor_script_parameters) + _setter("monitor_script_parameters", monitor_script_parameters) @property @pulumi.getter(name="paramName") @@ -1006,10 +1212,21 @@ def __init__(__self__, *, :param pulumi.Input[str] param_name: (Updatable) Name of the parameter. :param pulumi.Input[str] param_value: (Updatable) Value of the parameter. """ + ConfigScriptParameterMonitorScriptParameterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + param_name=param_name, + param_value=param_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + param_name: Optional[pulumi.Input[str]] = None, + param_value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if param_name is not None: - pulumi.set(__self__, "param_name", param_name) + _setter("param_name", param_name) if param_value is not None: - pulumi.set(__self__, "param_value", param_value) + _setter("param_value", param_value) @property @pulumi.getter(name="paramName") @@ -1045,9 +1262,20 @@ def __init__(__self__, *, :param pulumi.Input[str] name: Name of the vantage point. :param pulumi.Input[str] display_name: Unique name that can be edited. The name should not contain any confidential information. """ - pulumi.set(__self__, "name", name) + ConfigVantagePointArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + display_name=display_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: pulumi.Input[str], + display_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) @property @pulumi.getter @@ -1087,10 +1315,25 @@ def __init__(__self__, *, :param pulumi.Input[str] dvp_stream_id: (Updatable) Stream [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Resource Manager stack for dedicated vantage point. :param pulumi.Input[str] dvp_version: (Updatable) Version of the dedicated vantage point. """ - pulumi.set(__self__, "dvp_stack_id", dvp_stack_id) - pulumi.set(__self__, "dvp_stack_type", dvp_stack_type) - pulumi.set(__self__, "dvp_stream_id", dvp_stream_id) - pulumi.set(__self__, "dvp_version", dvp_version) + DedicatedVantagePointDvpStackDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + dvp_stack_id=dvp_stack_id, + dvp_stack_type=dvp_stack_type, + dvp_stream_id=dvp_stream_id, + dvp_version=dvp_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + dvp_stack_id: pulumi.Input[str], + dvp_stack_type: pulumi.Input[str], + dvp_stream_id: pulumi.Input[str], + dvp_version: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("dvp_stack_id", dvp_stack_id) + _setter("dvp_stack_type", dvp_stack_type) + _setter("dvp_stream_id", dvp_stream_id) + _setter("dvp_version", dvp_version) @property @pulumi.getter(name="dvpStackId") @@ -1154,14 +1397,29 @@ def __init__(__self__, *, :param pulumi.Input[int] invalid: Number of invalid monitors using the script. :param pulumi.Input[int] total: Total number of monitors using the script. """ + DedicatedVantagePointMonitorStatusCountMapArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + disabled=disabled, + enabled=enabled, + invalid=invalid, + total=total, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + disabled: Optional[pulumi.Input[int]] = None, + enabled: Optional[pulumi.Input[int]] = None, + invalid: Optional[pulumi.Input[int]] = None, + total: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if disabled is not None: - pulumi.set(__self__, "disabled", disabled) + _setter("disabled", disabled) if enabled is not None: - pulumi.set(__self__, "enabled", enabled) + _setter("enabled", enabled) if invalid is not None: - pulumi.set(__self__, "invalid", invalid) + _setter("invalid", invalid) if total is not None: - pulumi.set(__self__, "total", total) + _setter("total", total) @property @pulumi.getter @@ -1225,14 +1483,29 @@ def __init__(__self__, *, :param pulumi.Input[int] invalid: Number of invalid monitors using the script. :param pulumi.Input[int] total: Total number of monitors using the script. """ + ScriptMonitorStatusCountMapArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + disabled=disabled, + enabled=enabled, + invalid=invalid, + total=total, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + disabled: Optional[pulumi.Input[int]] = None, + enabled: Optional[pulumi.Input[int]] = None, + invalid: Optional[pulumi.Input[int]] = None, + total: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if disabled is not None: - pulumi.set(__self__, "disabled", disabled) + _setter("disabled", disabled) if enabled is not None: - pulumi.set(__self__, "enabled", enabled) + _setter("enabled", enabled) if invalid is not None: - pulumi.set(__self__, "invalid", invalid) + _setter("invalid", invalid) if total is not None: - pulumi.set(__self__, "total", total) + _setter("total", total) @property @pulumi.getter @@ -1302,15 +1575,32 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[Sequence[pulumi.Input['ScriptParameterScriptParameterArgs']]] script_parameters: Details of the script parameters, paramName must be from the script content and these details can be used to overwrite the default parameter present in the script content. """ - pulumi.set(__self__, "param_name", param_name) + ScriptParameterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + param_name=param_name, + is_overwritten=is_overwritten, + is_secret=is_secret, + param_value=param_value, + script_parameters=script_parameters, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + param_name: pulumi.Input[str], + is_overwritten: Optional[pulumi.Input[bool]] = None, + is_secret: Optional[pulumi.Input[bool]] = None, + param_value: Optional[pulumi.Input[str]] = None, + script_parameters: Optional[pulumi.Input[Sequence[pulumi.Input['ScriptParameterScriptParameterArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("param_name", param_name) if is_overwritten is not None: - pulumi.set(__self__, "is_overwritten", is_overwritten) + _setter("is_overwritten", is_overwritten) if is_secret is not None: - pulumi.set(__self__, "is_secret", is_secret) + _setter("is_secret", is_secret) if param_value is not None: - pulumi.set(__self__, "param_value", param_value) + _setter("param_value", param_value) if script_parameters is not None: - pulumi.set(__self__, "script_parameters", script_parameters) + _setter("script_parameters", script_parameters) @property @pulumi.getter(name="paramName") @@ -1392,12 +1682,25 @@ def __init__(__self__, *, ** 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 """ + ScriptParameterScriptParameterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_secret=is_secret, + param_name=param_name, + param_value=param_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_secret: Optional[pulumi.Input[bool]] = None, + param_name: Optional[pulumi.Input[str]] = None, + param_value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_secret is not None: - pulumi.set(__self__, "is_secret", is_secret) + _setter("is_secret", is_secret) if param_name is not None: - pulumi.set(__self__, "param_name", param_name) + _setter("param_name", param_name) if param_value is not None: - pulumi.set(__self__, "param_value", param_value) + _setter("param_value", param_value) @property @pulumi.getter(name="isSecret") @@ -1449,10 +1752,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only the resources that match the entire name. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDedicatedVantagePointsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1494,10 +1810,23 @@ def __init__(__self__, *, """ :param str name: Name of the vantage point. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetMonitorsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1536,10 +1865,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetScriptsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1578,10 +1920,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only the resources that match the entire name. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVantagePointsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/apmsynthetics/config.py b/sdk/python/pulumi_oci/apmsynthetics/config.py index 6297ef4037..73e7c87754 100644 --- a/sdk/python/pulumi_oci/apmsynthetics/config.py +++ b/sdk/python/pulumi_oci/apmsynthetics/config.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -63,41 +63,88 @@ def __init__(__self__, *, :param pulumi.Input[str] target: (Updatable) Specify the endpoint on which to run the monitor. For BROWSER and REST monitor types, target is mandatory. If target is specified in the SCRIPTED_BROWSER monitor type, then the monitor will run the selected script (specified by scriptId in monitor) against the specified target endpoint. If target is not specified in the SCRIPTED_BROWSER monitor type, then the monitor will run the selected script as it is. For NETWORK monitor with TCP protocol, a port needs to be provided along with target. Example: 192.168.0.1:80 :param pulumi.Input[int] timeout_in_seconds: (Updatable) Timeout in seconds. If isFailureRetried is true, then timeout cannot be more than 30% of repeatIntervalInSeconds time for monitors. If isFailureRetried is false, then timeout cannot be more than 50% of repeatIntervalInSeconds time for monitors. Also, timeoutInSeconds should be a multiple of 60 for Scripted REST, Scripted Browser and Browser monitors. Monitor will be allowed to run only for timeoutInSeconds time. It would be terminated after that. """ - pulumi.set(__self__, "apm_domain_id", apm_domain_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "monitor_type", monitor_type) - pulumi.set(__self__, "repeat_interval_in_seconds", repeat_interval_in_seconds) - pulumi.set(__self__, "vantage_points", vantage_points) + ConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + apm_domain_id=apm_domain_id, + display_name=display_name, + monitor_type=monitor_type, + repeat_interval_in_seconds=repeat_interval_in_seconds, + vantage_points=vantage_points, + availability_configuration=availability_configuration, + batch_interval_in_seconds=batch_interval_in_seconds, + configuration=configuration, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + is_run_now=is_run_now, + is_run_once=is_run_once, + maintenance_window_schedule=maintenance_window_schedule, + scheduling_policy=scheduling_policy, + script_id=script_id, + script_name=script_name, + script_parameters=script_parameters, + status=status, + target=target, + timeout_in_seconds=timeout_in_seconds, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + apm_domain_id: pulumi.Input[str], + display_name: pulumi.Input[str], + monitor_type: pulumi.Input[str], + repeat_interval_in_seconds: pulumi.Input[int], + vantage_points: pulumi.Input[Sequence[pulumi.Input['ConfigVantagePointArgs']]], + availability_configuration: Optional[pulumi.Input['ConfigAvailabilityConfigurationArgs']] = None, + batch_interval_in_seconds: Optional[pulumi.Input[int]] = None, + configuration: Optional[pulumi.Input['ConfigConfigurationArgs']] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_run_now: Optional[pulumi.Input[bool]] = None, + is_run_once: Optional[pulumi.Input[bool]] = None, + maintenance_window_schedule: Optional[pulumi.Input['ConfigMaintenanceWindowScheduleArgs']] = None, + scheduling_policy: Optional[pulumi.Input[str]] = None, + script_id: Optional[pulumi.Input[str]] = None, + script_name: Optional[pulumi.Input[str]] = None, + script_parameters: Optional[pulumi.Input[Sequence[pulumi.Input['ConfigScriptParameterArgs']]]] = None, + status: Optional[pulumi.Input[str]] = None, + target: Optional[pulumi.Input[str]] = None, + timeout_in_seconds: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("apm_domain_id", apm_domain_id) + _setter("display_name", display_name) + _setter("monitor_type", monitor_type) + _setter("repeat_interval_in_seconds", repeat_interval_in_seconds) + _setter("vantage_points", vantage_points) if availability_configuration is not None: - pulumi.set(__self__, "availability_configuration", availability_configuration) + _setter("availability_configuration", availability_configuration) if batch_interval_in_seconds is not None: - pulumi.set(__self__, "batch_interval_in_seconds", batch_interval_in_seconds) + _setter("batch_interval_in_seconds", batch_interval_in_seconds) if configuration is not None: - pulumi.set(__self__, "configuration", configuration) + _setter("configuration", configuration) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_run_now is not None: - pulumi.set(__self__, "is_run_now", is_run_now) + _setter("is_run_now", is_run_now) if is_run_once is not None: - pulumi.set(__self__, "is_run_once", is_run_once) + _setter("is_run_once", is_run_once) if maintenance_window_schedule is not None: - pulumi.set(__self__, "maintenance_window_schedule", maintenance_window_schedule) + _setter("maintenance_window_schedule", maintenance_window_schedule) if scheduling_policy is not None: - pulumi.set(__self__, "scheduling_policy", scheduling_policy) + _setter("scheduling_policy", scheduling_policy) if script_id is not None: - pulumi.set(__self__, "script_id", script_id) + _setter("script_id", script_id) if script_name is not None: - pulumi.set(__self__, "script_name", script_name) + _setter("script_name", script_name) if script_parameters is not None: - pulumi.set(__self__, "script_parameters", script_parameters) + _setter("script_parameters", script_parameters) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if target is not None: - pulumi.set(__self__, "target", target) + _setter("target", target) if timeout_in_seconds is not None: - pulumi.set(__self__, "timeout_in_seconds", timeout_in_seconds) + _setter("timeout_in_seconds", timeout_in_seconds) @property @pulumi.getter(name="apmDomainId") @@ -400,52 +447,105 @@ def __init__(__self__, *, ** 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 """ + _ConfigState._configure( + lambda key, value: pulumi.set(__self__, key, value), + apm_domain_id=apm_domain_id, + availability_configuration=availability_configuration, + batch_interval_in_seconds=batch_interval_in_seconds, + configuration=configuration, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + is_run_now=is_run_now, + is_run_once=is_run_once, + maintenance_window_schedule=maintenance_window_schedule, + monitor_type=monitor_type, + repeat_interval_in_seconds=repeat_interval_in_seconds, + scheduling_policy=scheduling_policy, + script_id=script_id, + script_name=script_name, + script_parameters=script_parameters, + status=status, + target=target, + time_created=time_created, + time_updated=time_updated, + timeout_in_seconds=timeout_in_seconds, + vantage_point_count=vantage_point_count, + vantage_points=vantage_points, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + apm_domain_id: Optional[pulumi.Input[str]] = None, + availability_configuration: Optional[pulumi.Input['ConfigAvailabilityConfigurationArgs']] = None, + batch_interval_in_seconds: Optional[pulumi.Input[int]] = None, + configuration: Optional[pulumi.Input['ConfigConfigurationArgs']] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_run_now: Optional[pulumi.Input[bool]] = None, + is_run_once: Optional[pulumi.Input[bool]] = None, + maintenance_window_schedule: Optional[pulumi.Input['ConfigMaintenanceWindowScheduleArgs']] = None, + monitor_type: Optional[pulumi.Input[str]] = None, + repeat_interval_in_seconds: Optional[pulumi.Input[int]] = None, + scheduling_policy: Optional[pulumi.Input[str]] = None, + script_id: Optional[pulumi.Input[str]] = None, + script_name: Optional[pulumi.Input[str]] = None, + script_parameters: Optional[pulumi.Input[Sequence[pulumi.Input['ConfigScriptParameterArgs']]]] = None, + status: Optional[pulumi.Input[str]] = None, + target: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + timeout_in_seconds: Optional[pulumi.Input[int]] = None, + vantage_point_count: Optional[pulumi.Input[int]] = None, + vantage_points: Optional[pulumi.Input[Sequence[pulumi.Input['ConfigVantagePointArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if apm_domain_id is not None: - pulumi.set(__self__, "apm_domain_id", apm_domain_id) + _setter("apm_domain_id", apm_domain_id) if availability_configuration is not None: - pulumi.set(__self__, "availability_configuration", availability_configuration) + _setter("availability_configuration", availability_configuration) if batch_interval_in_seconds is not None: - pulumi.set(__self__, "batch_interval_in_seconds", batch_interval_in_seconds) + _setter("batch_interval_in_seconds", batch_interval_in_seconds) if configuration is not None: - pulumi.set(__self__, "configuration", configuration) + _setter("configuration", configuration) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_run_now is not None: - pulumi.set(__self__, "is_run_now", is_run_now) + _setter("is_run_now", is_run_now) if is_run_once is not None: - pulumi.set(__self__, "is_run_once", is_run_once) + _setter("is_run_once", is_run_once) if maintenance_window_schedule is not None: - pulumi.set(__self__, "maintenance_window_schedule", maintenance_window_schedule) + _setter("maintenance_window_schedule", maintenance_window_schedule) if monitor_type is not None: - pulumi.set(__self__, "monitor_type", monitor_type) + _setter("monitor_type", monitor_type) if repeat_interval_in_seconds is not None: - pulumi.set(__self__, "repeat_interval_in_seconds", repeat_interval_in_seconds) + _setter("repeat_interval_in_seconds", repeat_interval_in_seconds) if scheduling_policy is not None: - pulumi.set(__self__, "scheduling_policy", scheduling_policy) + _setter("scheduling_policy", scheduling_policy) if script_id is not None: - pulumi.set(__self__, "script_id", script_id) + _setter("script_id", script_id) if script_name is not None: - pulumi.set(__self__, "script_name", script_name) + _setter("script_name", script_name) if script_parameters is not None: - pulumi.set(__self__, "script_parameters", script_parameters) + _setter("script_parameters", script_parameters) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if target is not None: - pulumi.set(__self__, "target", target) + _setter("target", target) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if timeout_in_seconds is not None: - pulumi.set(__self__, "timeout_in_seconds", timeout_in_seconds) + _setter("timeout_in_seconds", timeout_in_seconds) if vantage_point_count is not None: - pulumi.set(__self__, "vantage_point_count", vantage_point_count) + _setter("vantage_point_count", vantage_point_count) if vantage_points is not None: - pulumi.set(__self__, "vantage_points", vantage_points) + _setter("vantage_points", vantage_points) @property @pulumi.getter(name="apmDomainId") @@ -1023,6 +1123,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ConfigArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -1060,8 +1164,18 @@ def _internal_init(__self__, if apm_domain_id is None and not opts.urn: raise TypeError("Missing required property 'apm_domain_id'") __props__.__dict__["apm_domain_id"] = apm_domain_id + if availability_configuration is not None and not isinstance(availability_configuration, ConfigAvailabilityConfigurationArgs): + availability_configuration = availability_configuration or {} + def _setter(key, value): + availability_configuration[key] = value + ConfigAvailabilityConfigurationArgs._configure(_setter, **availability_configuration) __props__.__dict__["availability_configuration"] = availability_configuration __props__.__dict__["batch_interval_in_seconds"] = batch_interval_in_seconds + if configuration is not None and not isinstance(configuration, ConfigConfigurationArgs): + configuration = configuration or {} + def _setter(key, value): + configuration[key] = value + ConfigConfigurationArgs._configure(_setter, **configuration) __props__.__dict__["configuration"] = configuration __props__.__dict__["defined_tags"] = defined_tags if display_name is None and not opts.urn: @@ -1070,6 +1184,11 @@ def _internal_init(__self__, __props__.__dict__["freeform_tags"] = freeform_tags __props__.__dict__["is_run_now"] = is_run_now __props__.__dict__["is_run_once"] = is_run_once + if maintenance_window_schedule is not None and not isinstance(maintenance_window_schedule, ConfigMaintenanceWindowScheduleArgs): + maintenance_window_schedule = maintenance_window_schedule or {} + def _setter(key, value): + maintenance_window_schedule[key] = value + ConfigMaintenanceWindowScheduleArgs._configure(_setter, **maintenance_window_schedule) __props__.__dict__["maintenance_window_schedule"] = maintenance_window_schedule if monitor_type is None and not opts.urn: raise TypeError("Missing required property 'monitor_type'") diff --git a/sdk/python/pulumi_oci/apmsynthetics/dedicated_vantage_point.py b/sdk/python/pulumi_oci/apmsynthetics/dedicated_vantage_point.py index c811052ce9..38959d7613 100644 --- a/sdk/python/pulumi_oci/apmsynthetics/dedicated_vantage_point.py +++ b/sdk/python/pulumi_oci/apmsynthetics/dedicated_vantage_point.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -37,16 +37,37 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "apm_domain_id", apm_domain_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "dvp_stack_details", dvp_stack_details) - pulumi.set(__self__, "region", region) + DedicatedVantagePointArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + apm_domain_id=apm_domain_id, + display_name=display_name, + dvp_stack_details=dvp_stack_details, + region=region, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + status=status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + apm_domain_id: pulumi.Input[str], + display_name: pulumi.Input[str], + dvp_stack_details: pulumi.Input['DedicatedVantagePointDvpStackDetailsArgs'], + region: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + status: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("apm_domain_id", apm_domain_id) + _setter("display_name", display_name) + _setter("dvp_stack_details", dvp_stack_details) + _setter("region", region) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) @property @pulumi.getter(name="apmDomainId") @@ -169,28 +190,57 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The time the resource was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2020-02-12T22:47:12.613Z` :param pulumi.Input[str] time_updated: The time the resource was updated, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2020-02-13T22:47:12.613Z` """ + _DedicatedVantagePointState._configure( + lambda key, value: pulumi.set(__self__, key, value), + apm_domain_id=apm_domain_id, + defined_tags=defined_tags, + display_name=display_name, + dvp_stack_details=dvp_stack_details, + freeform_tags=freeform_tags, + monitor_status_count_maps=monitor_status_count_maps, + name=name, + region=region, + status=status, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + apm_domain_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + dvp_stack_details: Optional[pulumi.Input['DedicatedVantagePointDvpStackDetailsArgs']] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + monitor_status_count_maps: Optional[pulumi.Input[Sequence[pulumi.Input['DedicatedVantagePointMonitorStatusCountMapArgs']]]] = None, + name: Optional[pulumi.Input[str]] = None, + region: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if apm_domain_id is not None: - pulumi.set(__self__, "apm_domain_id", apm_domain_id) + _setter("apm_domain_id", apm_domain_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if dvp_stack_details is not None: - pulumi.set(__self__, "dvp_stack_details", dvp_stack_details) + _setter("dvp_stack_details", dvp_stack_details) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if monitor_status_count_maps is not None: - pulumi.set(__self__, "monitor_status_count_maps", monitor_status_count_maps) + _setter("monitor_status_count_maps", monitor_status_count_maps) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if region is not None: - pulumi.set(__self__, "region", region) + _setter("region", region) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="apmDomainId") @@ -448,6 +498,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DedicatedVantagePointArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -476,6 +530,11 @@ def _internal_init(__self__, if display_name is None and not opts.urn: raise TypeError("Missing required property 'display_name'") __props__.__dict__["display_name"] = display_name + if dvp_stack_details is not None and not isinstance(dvp_stack_details, DedicatedVantagePointDvpStackDetailsArgs): + dvp_stack_details = dvp_stack_details or {} + def _setter(key, value): + dvp_stack_details[key] = value + DedicatedVantagePointDvpStackDetailsArgs._configure(_setter, **dvp_stack_details) if dvp_stack_details is None and not opts.urn: raise TypeError("Missing required property 'dvp_stack_details'") __props__.__dict__["dvp_stack_details"] = dvp_stack_details diff --git a/sdk/python/pulumi_oci/apmsynthetics/get_dedicated_vantage_point.py b/sdk/python/pulumi_oci/apmsynthetics/get_dedicated_vantage_point.py index 17a0e1bb9d..09aef38cc0 100644 --- a/sdk/python/pulumi_oci/apmsynthetics/get_dedicated_vantage_point.py +++ b/sdk/python/pulumi_oci/apmsynthetics/get_dedicated_vantage_point.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/apmsynthetics/get_dedicated_vantage_points.py b/sdk/python/pulumi_oci/apmsynthetics/get_dedicated_vantage_points.py index 408e6d9ff3..8df4e49d23 100644 --- a/sdk/python/pulumi_oci/apmsynthetics/get_dedicated_vantage_points.py +++ b/sdk/python/pulumi_oci/apmsynthetics/get_dedicated_vantage_points.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/apmsynthetics/get_monitor.py b/sdk/python/pulumi_oci/apmsynthetics/get_monitor.py index ae2a1078ab..7a93d4f798 100644 --- a/sdk/python/pulumi_oci/apmsynthetics/get_monitor.py +++ b/sdk/python/pulumi_oci/apmsynthetics/get_monitor.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/apmsynthetics/get_monitors.py b/sdk/python/pulumi_oci/apmsynthetics/get_monitors.py index b3c6e11511..0a64c48341 100644 --- a/sdk/python/pulumi_oci/apmsynthetics/get_monitors.py +++ b/sdk/python/pulumi_oci/apmsynthetics/get_monitors.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/apmsynthetics/get_result.py b/sdk/python/pulumi_oci/apmsynthetics/get_result.py index 792997ee0c..67470d1005 100644 --- a/sdk/python/pulumi_oci/apmsynthetics/get_result.py +++ b/sdk/python/pulumi_oci/apmsynthetics/get_result.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/apmsynthetics/get_script.py b/sdk/python/pulumi_oci/apmsynthetics/get_script.py index 50cb33516e..78aad961c9 100644 --- a/sdk/python/pulumi_oci/apmsynthetics/get_script.py +++ b/sdk/python/pulumi_oci/apmsynthetics/get_script.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/apmsynthetics/get_scripts.py b/sdk/python/pulumi_oci/apmsynthetics/get_scripts.py index 10a6a77b55..544fccf8ca 100644 --- a/sdk/python/pulumi_oci/apmsynthetics/get_scripts.py +++ b/sdk/python/pulumi_oci/apmsynthetics/get_scripts.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/apmsynthetics/get_vantage_point.py b/sdk/python/pulumi_oci/apmsynthetics/get_vantage_point.py index 03a432829c..09de116905 100644 --- a/sdk/python/pulumi_oci/apmsynthetics/get_vantage_point.py +++ b/sdk/python/pulumi_oci/apmsynthetics/get_vantage_point.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/apmsynthetics/get_vantage_points.py b/sdk/python/pulumi_oci/apmsynthetics/get_vantage_points.py index da89a29d5b..3748a32aa2 100644 --- a/sdk/python/pulumi_oci/apmsynthetics/get_vantage_points.py +++ b/sdk/python/pulumi_oci/apmsynthetics/get_vantage_points.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/apmsynthetics/outputs.py b/sdk/python/pulumi_oci/apmsynthetics/outputs.py index d9241572bb..71ef9a8301 100644 --- a/sdk/python/pulumi_oci/apmsynthetics/outputs.py +++ b/sdk/python/pulumi_oci/apmsynthetics/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -120,10 +120,21 @@ def __init__(__self__, *, :param int max_allowed_failures_per_interval: (Updatable) Intervals with failed runs more than this value will be classified as UNAVAILABLE. :param int min_allowed_runs_per_interval: (Updatable) Intervals with runs less than this value will be classified as UNKNOWN and excluded from the availability calculations. """ + ConfigAvailabilityConfiguration._configure( + lambda key, value: pulumi.set(__self__, key, value), + max_allowed_failures_per_interval=max_allowed_failures_per_interval, + min_allowed_runs_per_interval=min_allowed_runs_per_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max_allowed_failures_per_interval: Optional[int] = None, + min_allowed_runs_per_interval: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if max_allowed_failures_per_interval is not None: - pulumi.set(__self__, "max_allowed_failures_per_interval", max_allowed_failures_per_interval) + _setter("max_allowed_failures_per_interval", max_allowed_failures_per_interval) if min_allowed_runs_per_interval is not None: - pulumi.set(__self__, "min_allowed_runs_per_interval", min_allowed_runs_per_interval) + _setter("min_allowed_runs_per_interval", min_allowed_runs_per_interval) @property @pulumi.getter(name="maxAllowedFailuresPerInterval") @@ -230,40 +241,81 @@ def __init__(__self__, *, :param str verify_response_content: (Updatable) Verify response content against regular expression based string. If response content does not match the verifyResponseContent value, then it will be considered a failure. :param Sequence['ConfigConfigurationVerifyTextArgs'] verify_texts: (Updatable) Verifies all the search strings present in the response. If any search string is not present in the response, then it will be considered as a failure. """ + ConfigConfiguration._configure( + lambda key, value: pulumi.set(__self__, key, value), + client_certificate_details=client_certificate_details, + config_type=config_type, + dns_configuration=dns_configuration, + is_certificate_validation_enabled=is_certificate_validation_enabled, + is_default_snapshot_enabled=is_default_snapshot_enabled, + is_failure_retried=is_failure_retried, + is_redirection_enabled=is_redirection_enabled, + network_configuration=network_configuration, + req_authentication_details=req_authentication_details, + req_authentication_scheme=req_authentication_scheme, + request_headers=request_headers, + request_method=request_method, + request_post_body=request_post_body, + request_query_params=request_query_params, + verify_response_codes=verify_response_codes, + verify_response_content=verify_response_content, + verify_texts=verify_texts, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + client_certificate_details: Optional['outputs.ConfigConfigurationClientCertificateDetails'] = None, + config_type: Optional[str] = None, + dns_configuration: Optional['outputs.ConfigConfigurationDnsConfiguration'] = None, + is_certificate_validation_enabled: Optional[bool] = None, + is_default_snapshot_enabled: Optional[bool] = None, + is_failure_retried: Optional[bool] = None, + is_redirection_enabled: Optional[bool] = None, + network_configuration: Optional['outputs.ConfigConfigurationNetworkConfiguration'] = None, + req_authentication_details: Optional['outputs.ConfigConfigurationReqAuthenticationDetails'] = None, + req_authentication_scheme: Optional[str] = None, + request_headers: Optional[Sequence['outputs.ConfigConfigurationRequestHeader']] = None, + request_method: Optional[str] = None, + request_post_body: Optional[str] = None, + request_query_params: Optional[Sequence['outputs.ConfigConfigurationRequestQueryParam']] = None, + verify_response_codes: Optional[Sequence[str]] = None, + verify_response_content: Optional[str] = None, + verify_texts: Optional[Sequence['outputs.ConfigConfigurationVerifyText']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if client_certificate_details is not None: - pulumi.set(__self__, "client_certificate_details", client_certificate_details) + _setter("client_certificate_details", client_certificate_details) if config_type is not None: - pulumi.set(__self__, "config_type", config_type) + _setter("config_type", config_type) if dns_configuration is not None: - pulumi.set(__self__, "dns_configuration", dns_configuration) + _setter("dns_configuration", dns_configuration) if is_certificate_validation_enabled is not None: - pulumi.set(__self__, "is_certificate_validation_enabled", is_certificate_validation_enabled) + _setter("is_certificate_validation_enabled", is_certificate_validation_enabled) if is_default_snapshot_enabled is not None: - pulumi.set(__self__, "is_default_snapshot_enabled", is_default_snapshot_enabled) + _setter("is_default_snapshot_enabled", is_default_snapshot_enabled) if is_failure_retried is not None: - pulumi.set(__self__, "is_failure_retried", is_failure_retried) + _setter("is_failure_retried", is_failure_retried) if is_redirection_enabled is not None: - pulumi.set(__self__, "is_redirection_enabled", is_redirection_enabled) + _setter("is_redirection_enabled", is_redirection_enabled) if network_configuration is not None: - pulumi.set(__self__, "network_configuration", network_configuration) + _setter("network_configuration", network_configuration) if req_authentication_details is not None: - pulumi.set(__self__, "req_authentication_details", req_authentication_details) + _setter("req_authentication_details", req_authentication_details) if req_authentication_scheme is not None: - pulumi.set(__self__, "req_authentication_scheme", req_authentication_scheme) + _setter("req_authentication_scheme", req_authentication_scheme) if request_headers is not None: - pulumi.set(__self__, "request_headers", request_headers) + _setter("request_headers", request_headers) if request_method is not None: - pulumi.set(__self__, "request_method", request_method) + _setter("request_method", request_method) if request_post_body is not None: - pulumi.set(__self__, "request_post_body", request_post_body) + _setter("request_post_body", request_post_body) if request_query_params is not None: - pulumi.set(__self__, "request_query_params", request_query_params) + _setter("request_query_params", request_query_params) if verify_response_codes is not None: - pulumi.set(__self__, "verify_response_codes", verify_response_codes) + _setter("verify_response_codes", verify_response_codes) if verify_response_content is not None: - pulumi.set(__self__, "verify_response_content", verify_response_content) + _setter("verify_response_content", verify_response_content) if verify_texts is not None: - pulumi.set(__self__, "verify_texts", verify_texts) + _setter("verify_texts", verify_texts) @property @pulumi.getter(name="clientCertificateDetails") @@ -430,10 +482,21 @@ def __init__(__self__, *, :param 'ConfigConfigurationClientCertificateDetailsClientCertificateArgs' client_certificate: (Updatable) Client certificate in PEM format. :param 'ConfigConfigurationClientCertificateDetailsPrivateKeyArgs' private_key: (Updatable) The private key associated with the client certificate in PEM format. """ + ConfigConfigurationClientCertificateDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + client_certificate=client_certificate, + private_key=private_key, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + client_certificate: Optional['outputs.ConfigConfigurationClientCertificateDetailsClientCertificate'] = None, + private_key: Optional['outputs.ConfigConfigurationClientCertificateDetailsPrivateKey'] = None, + opts: Optional[pulumi.ResourceOptions]=None): if client_certificate is not None: - pulumi.set(__self__, "client_certificate", client_certificate) + _setter("client_certificate", client_certificate) if private_key is not None: - pulumi.set(__self__, "private_key", private_key) + _setter("private_key", private_key) @property @pulumi.getter(name="clientCertificate") @@ -478,10 +541,21 @@ def __init__(__self__, *, :param str content: (Updatable) Content of the private key file. :param str file_name: (Updatable) Name of the private key file. """ + ConfigConfigurationClientCertificateDetailsClientCertificate._configure( + lambda key, value: pulumi.set(__self__, key, value), + content=content, + file_name=file_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + content: Optional[str] = None, + file_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if content is not None: - pulumi.set(__self__, "content", content) + _setter("content", content) if file_name is not None: - pulumi.set(__self__, "file_name", file_name) + _setter("file_name", file_name) @property @pulumi.getter @@ -526,10 +600,21 @@ def __init__(__self__, *, :param str content: (Updatable) Content of the private key file. :param str file_name: (Updatable) Name of the private key file. """ + ConfigConfigurationClientCertificateDetailsPrivateKey._configure( + lambda key, value: pulumi.set(__self__, key, value), + content=content, + file_name=file_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + content: Optional[str] = None, + file_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if content is not None: - pulumi.set(__self__, "content", content) + _setter("content", content) if file_name is not None: - pulumi.set(__self__, "file_name", file_name) + _setter("file_name", file_name) @property @pulumi.getter @@ -576,10 +661,21 @@ def __init__(__self__, *, :param bool is_override_dns: (Updatable) If isOverrideDns is true, then DNS settings will be overridden. :param str override_dns_ip: (Updatable) Attribute to override the DNS IP value. This value will be honored only if isOverrideDns is set to true. """ + ConfigConfigurationDnsConfiguration._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_override_dns=is_override_dns, + override_dns_ip=override_dns_ip, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_override_dns: Optional[bool] = None, + override_dns_ip: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_override_dns is not None: - pulumi.set(__self__, "is_override_dns", is_override_dns) + _setter("is_override_dns", is_override_dns) if override_dns_ip is not None: - pulumi.set(__self__, "override_dns_ip", override_dns_ip) + _setter("override_dns_ip", override_dns_ip) @property @pulumi.getter(name="isOverrideDns") @@ -636,16 +732,33 @@ def __init__(__self__, *, :param str protocol: (Updatable) Type of protocol. :param int transmission_rate: (Updatable) Number of probe packets sent out simultaneously. """ + ConfigConfigurationNetworkConfiguration._configure( + lambda key, value: pulumi.set(__self__, key, value), + number_of_hops=number_of_hops, + probe_mode=probe_mode, + probe_per_hop=probe_per_hop, + protocol=protocol, + transmission_rate=transmission_rate, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + number_of_hops: Optional[int] = None, + probe_mode: Optional[str] = None, + probe_per_hop: Optional[int] = None, + protocol: Optional[str] = None, + transmission_rate: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if number_of_hops is not None: - pulumi.set(__self__, "number_of_hops", number_of_hops) + _setter("number_of_hops", number_of_hops) if probe_mode is not None: - pulumi.set(__self__, "probe_mode", probe_mode) + _setter("probe_mode", probe_mode) if probe_per_hop is not None: - pulumi.set(__self__, "probe_per_hop", probe_per_hop) + _setter("probe_per_hop", probe_per_hop) if protocol is not None: - pulumi.set(__self__, "protocol", protocol) + _setter("protocol", protocol) if transmission_rate is not None: - pulumi.set(__self__, "transmission_rate", transmission_rate) + _setter("transmission_rate", transmission_rate) @property @pulumi.getter(name="numberOfHops") @@ -740,22 +853,45 @@ def __init__(__self__, *, :param str auth_user_password: (Updatable) User password for authentication. :param str oauth_scheme: (Updatable) Request HTTP OAuth scheme. """ + ConfigConfigurationReqAuthenticationDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + auth_headers=auth_headers, + auth_request_method=auth_request_method, + auth_request_post_body=auth_request_post_body, + auth_token=auth_token, + auth_url=auth_url, + auth_user_name=auth_user_name, + auth_user_password=auth_user_password, + oauth_scheme=oauth_scheme, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + auth_headers: Optional[Sequence['outputs.ConfigConfigurationReqAuthenticationDetailsAuthHeader']] = None, + auth_request_method: Optional[str] = None, + auth_request_post_body: Optional[str] = None, + auth_token: Optional[str] = None, + auth_url: Optional[str] = None, + auth_user_name: Optional[str] = None, + auth_user_password: Optional[str] = None, + oauth_scheme: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if auth_headers is not None: - pulumi.set(__self__, "auth_headers", auth_headers) + _setter("auth_headers", auth_headers) if auth_request_method is not None: - pulumi.set(__self__, "auth_request_method", auth_request_method) + _setter("auth_request_method", auth_request_method) if auth_request_post_body is not None: - pulumi.set(__self__, "auth_request_post_body", auth_request_post_body) + _setter("auth_request_post_body", auth_request_post_body) if auth_token is not None: - pulumi.set(__self__, "auth_token", auth_token) + _setter("auth_token", auth_token) if auth_url is not None: - pulumi.set(__self__, "auth_url", auth_url) + _setter("auth_url", auth_url) if auth_user_name is not None: - pulumi.set(__self__, "auth_user_name", auth_user_name) + _setter("auth_user_name", auth_user_name) if auth_user_password is not None: - pulumi.set(__self__, "auth_user_password", auth_user_password) + _setter("auth_user_password", auth_user_password) if oauth_scheme is not None: - pulumi.set(__self__, "oauth_scheme", oauth_scheme) + _setter("oauth_scheme", oauth_scheme) @property @pulumi.getter(name="authHeaders") @@ -850,10 +986,21 @@ def __init__(__self__, *, :param str header_name: (Updatable) Name of the header. :param str header_value: (Updatable) Value of the header. """ + ConfigConfigurationReqAuthenticationDetailsAuthHeader._configure( + lambda key, value: pulumi.set(__self__, key, value), + header_name=header_name, + header_value=header_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + header_name: Optional[str] = None, + header_value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if header_name is not None: - pulumi.set(__self__, "header_name", header_name) + _setter("header_name", header_name) if header_value is not None: - pulumi.set(__self__, "header_value", header_value) + _setter("header_value", header_value) @property @pulumi.getter(name="headerName") @@ -900,10 +1047,21 @@ def __init__(__self__, *, :param str header_name: (Updatable) Name of the header. :param str header_value: (Updatable) Value of the header. """ + ConfigConfigurationRequestHeader._configure( + lambda key, value: pulumi.set(__self__, key, value), + header_name=header_name, + header_value=header_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + header_name: Optional[str] = None, + header_value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if header_name is not None: - pulumi.set(__self__, "header_name", header_name) + _setter("header_name", header_name) if header_value is not None: - pulumi.set(__self__, "header_value", header_value) + _setter("header_value", header_value) @property @pulumi.getter(name="headerName") @@ -950,10 +1108,21 @@ def __init__(__self__, *, :param str param_name: (Updatable) Name of the parameter. :param str param_value: (Updatable) Value of the parameter. """ + ConfigConfigurationRequestQueryParam._configure( + lambda key, value: pulumi.set(__self__, key, value), + param_name=param_name, + param_value=param_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + param_name: Optional[str] = None, + param_value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if param_name is not None: - pulumi.set(__self__, "param_name", param_name) + _setter("param_name", param_name) if param_value is not None: - pulumi.set(__self__, "param_value", param_value) + _setter("param_value", param_value) @property @pulumi.getter(name="paramName") @@ -979,8 +1148,17 @@ def __init__(__self__, *, """ :param str text: (Updatable) Verification text in the response. """ + ConfigConfigurationVerifyText._configure( + lambda key, value: pulumi.set(__self__, key, value), + text=text, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + text: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if text is not None: - pulumi.set(__self__, "text", text) + _setter("text", text) @property @pulumi.getter @@ -1019,10 +1197,21 @@ def __init__(__self__, *, :param str time_ended: (Updatable) End time of the maintenance window, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2020-02-12T22:47:12.613Z` :param str time_started: (Updatable) Start time of the maintenance window, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2020-02-12T22:47:12.613Z` """ + ConfigMaintenanceWindowSchedule._configure( + lambda key, value: pulumi.set(__self__, key, value), + time_ended=time_ended, + time_started=time_started, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + time_ended: Optional[str] = None, + time_started: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if time_ended is not None: - pulumi.set(__self__, "time_ended", time_ended) + _setter("time_ended", time_ended) if time_started is not None: - pulumi.set(__self__, "time_started", time_started) + _setter("time_started", time_started) @property @pulumi.getter(name="timeEnded") @@ -1081,14 +1270,31 @@ def __init__(__self__, *, :param bool is_secret: Describes if the parameter value is secret and should be kept confidential. isSecret is specified in either CreateScript or UpdateScript API. :param Sequence['ConfigScriptParameterMonitorScriptParameterArgs'] monitor_script_parameters: Details of the script parameter that can be used to overwrite the parameter present in the script. """ - pulumi.set(__self__, "param_name", param_name) - pulumi.set(__self__, "param_value", param_value) + ConfigScriptParameter._configure( + lambda key, value: pulumi.set(__self__, key, value), + param_name=param_name, + param_value=param_value, + is_overwritten=is_overwritten, + is_secret=is_secret, + monitor_script_parameters=monitor_script_parameters, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + param_name: str, + param_value: str, + is_overwritten: Optional[bool] = None, + is_secret: Optional[bool] = None, + monitor_script_parameters: Optional[Sequence['outputs.ConfigScriptParameterMonitorScriptParameter']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("param_name", param_name) + _setter("param_value", param_value) if is_overwritten is not None: - pulumi.set(__self__, "is_overwritten", is_overwritten) + _setter("is_overwritten", is_overwritten) if is_secret is not None: - pulumi.set(__self__, "is_secret", is_secret) + _setter("is_secret", is_secret) if monitor_script_parameters is not None: - pulumi.set(__self__, "monitor_script_parameters", monitor_script_parameters) + _setter("monitor_script_parameters", monitor_script_parameters) @property @pulumi.getter(name="paramName") @@ -1159,10 +1365,21 @@ def __init__(__self__, *, :param str param_name: (Updatable) Name of the parameter. :param str param_value: (Updatable) Value of the parameter. """ + ConfigScriptParameterMonitorScriptParameter._configure( + lambda key, value: pulumi.set(__self__, key, value), + param_name=param_name, + param_value=param_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + param_name: Optional[str] = None, + param_value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if param_name is not None: - pulumi.set(__self__, "param_name", param_name) + _setter("param_name", param_name) if param_value is not None: - pulumi.set(__self__, "param_value", param_value) + _setter("param_value", param_value) @property @pulumi.getter(name="paramName") @@ -1207,9 +1424,20 @@ def __init__(__self__, *, :param str name: Name of the vantage point. :param str display_name: Unique name that can be edited. The name should not contain any confidential information. """ - pulumi.set(__self__, "name", name) + ConfigVantagePoint._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + display_name=display_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + display_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) @property @pulumi.getter @@ -1264,10 +1492,25 @@ def __init__(__self__, *, :param str dvp_stream_id: (Updatable) Stream [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Resource Manager stack for dedicated vantage point. :param str dvp_version: (Updatable) Version of the dedicated vantage point. """ - pulumi.set(__self__, "dvp_stack_id", dvp_stack_id) - pulumi.set(__self__, "dvp_stack_type", dvp_stack_type) - pulumi.set(__self__, "dvp_stream_id", dvp_stream_id) - pulumi.set(__self__, "dvp_version", dvp_version) + DedicatedVantagePointDvpStackDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + dvp_stack_id=dvp_stack_id, + dvp_stack_type=dvp_stack_type, + dvp_stream_id=dvp_stream_id, + dvp_version=dvp_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + dvp_stack_id: str, + dvp_stack_type: str, + dvp_stream_id: str, + dvp_version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("dvp_stack_id", dvp_stack_id) + _setter("dvp_stack_type", dvp_stack_type) + _setter("dvp_stream_id", dvp_stream_id) + _setter("dvp_version", dvp_version) @property @pulumi.getter(name="dvpStackId") @@ -1315,14 +1558,29 @@ def __init__(__self__, *, :param int invalid: Number of invalid monitors using the script. :param int total: Total number of monitors using the script. """ + DedicatedVantagePointMonitorStatusCountMap._configure( + lambda key, value: pulumi.set(__self__, key, value), + disabled=disabled, + enabled=enabled, + invalid=invalid, + total=total, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + disabled: Optional[int] = None, + enabled: Optional[int] = None, + invalid: Optional[int] = None, + total: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if disabled is not None: - pulumi.set(__self__, "disabled", disabled) + _setter("disabled", disabled) if enabled is not None: - pulumi.set(__self__, "enabled", enabled) + _setter("enabled", enabled) if invalid is not None: - pulumi.set(__self__, "invalid", invalid) + _setter("invalid", invalid) if total is not None: - pulumi.set(__self__, "total", total) + _setter("total", total) @property @pulumi.getter @@ -1370,14 +1628,29 @@ def __init__(__self__, *, :param int invalid: Number of invalid monitors using the script. :param int total: Total number of monitors using the script. """ + ScriptMonitorStatusCountMap._configure( + lambda key, value: pulumi.set(__self__, key, value), + disabled=disabled, + enabled=enabled, + invalid=invalid, + total=total, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + disabled: Optional[int] = None, + enabled: Optional[int] = None, + invalid: Optional[int] = None, + total: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if disabled is not None: - pulumi.set(__self__, "disabled", disabled) + _setter("disabled", disabled) if enabled is not None: - pulumi.set(__self__, "enabled", enabled) + _setter("enabled", enabled) if invalid is not None: - pulumi.set(__self__, "invalid", invalid) + _setter("invalid", invalid) if total is not None: - pulumi.set(__self__, "total", total) + _setter("total", total) @property @pulumi.getter @@ -1456,15 +1729,32 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param Sequence['ScriptParameterScriptParameterArgs'] script_parameters: Details of the script parameters, paramName must be from the script content and these details can be used to overwrite the default parameter present in the script content. """ - pulumi.set(__self__, "param_name", param_name) + ScriptParameter._configure( + lambda key, value: pulumi.set(__self__, key, value), + param_name=param_name, + is_overwritten=is_overwritten, + is_secret=is_secret, + param_value=param_value, + script_parameters=script_parameters, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + param_name: str, + is_overwritten: Optional[bool] = None, + is_secret: Optional[bool] = None, + param_value: Optional[str] = None, + script_parameters: Optional[Sequence['outputs.ScriptParameterScriptParameter']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("param_name", param_name) if is_overwritten is not None: - pulumi.set(__self__, "is_overwritten", is_overwritten) + _setter("is_overwritten", is_overwritten) if is_secret is not None: - pulumi.set(__self__, "is_secret", is_secret) + _setter("is_secret", is_secret) if param_value is not None: - pulumi.set(__self__, "param_value", param_value) + _setter("param_value", param_value) if script_parameters is not None: - pulumi.set(__self__, "script_parameters", script_parameters) + _setter("script_parameters", script_parameters) @property @pulumi.getter(name="paramName") @@ -1547,12 +1837,25 @@ def __init__(__self__, *, ** 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 """ + ScriptParameterScriptParameter._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_secret=is_secret, + param_name=param_name, + param_value=param_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_secret: Optional[bool] = None, + param_name: Optional[str] = None, + param_value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_secret is not None: - pulumi.set(__self__, "is_secret", is_secret) + _setter("is_secret", is_secret) if param_name is not None: - pulumi.set(__self__, "param_name", param_name) + _setter("param_name", param_name) if param_value is not None: - pulumi.set(__self__, "param_value", param_value) + _setter("param_value", param_value) @property @pulumi.getter(name="isSecret") @@ -1596,10 +1899,25 @@ def __init__(__self__, *, :param str dvp_stream_id: Stream [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Resource Manager stack for dedicated vantage point. :param str dvp_version: Version of the dedicated vantage point. """ - pulumi.set(__self__, "dvp_stack_id", dvp_stack_id) - pulumi.set(__self__, "dvp_stack_type", dvp_stack_type) - pulumi.set(__self__, "dvp_stream_id", dvp_stream_id) - pulumi.set(__self__, "dvp_version", dvp_version) + GetDedicatedVantagePointDvpStackDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + dvp_stack_id=dvp_stack_id, + dvp_stack_type=dvp_stack_type, + dvp_stream_id=dvp_stream_id, + dvp_version=dvp_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + dvp_stack_id: str, + dvp_stack_type: str, + dvp_stream_id: str, + dvp_version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("dvp_stack_id", dvp_stack_id) + _setter("dvp_stack_type", dvp_stack_type) + _setter("dvp_stream_id", dvp_stream_id) + _setter("dvp_version", dvp_version) @property @pulumi.getter(name="dvpStackId") @@ -1647,10 +1965,25 @@ def __init__(__self__, *, :param int invalid: Number of invalid monitors using the script. :param int total: Total number of monitors using the script. """ - pulumi.set(__self__, "disabled", disabled) - pulumi.set(__self__, "enabled", enabled) - pulumi.set(__self__, "invalid", invalid) - pulumi.set(__self__, "total", total) + GetDedicatedVantagePointMonitorStatusCountMapResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + disabled=disabled, + enabled=enabled, + invalid=invalid, + total=total, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + disabled: int, + enabled: int, + invalid: int, + total: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("disabled", disabled) + _setter("enabled", enabled) + _setter("invalid", invalid) + _setter("total", total) @property @pulumi.getter @@ -1689,7 +2022,16 @@ def total(self) -> int: class GetDedicatedVantagePointsDedicatedVantagePointCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetDedicatedVantagePointsDedicatedVantagePointCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetDedicatedVantagePointsDedicatedVantagePointCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDedicatedVantagePointsDedicatedVantagePointCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1726,18 +2068,49 @@ def __init__(__self__, *, :param str time_created: The time the resource was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2020-02-12T22:47:12.613Z` :param str time_updated: The time the resource was updated, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2020-02-13T22:47:12.613Z` """ - pulumi.set(__self__, "apm_domain_id", apm_domain_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "dvp_stack_details", dvp_stack_details) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "monitor_status_count_maps", monitor_status_count_maps) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "region", region) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetDedicatedVantagePointsDedicatedVantagePointCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + apm_domain_id=apm_domain_id, + defined_tags=defined_tags, + display_name=display_name, + dvp_stack_details=dvp_stack_details, + freeform_tags=freeform_tags, + id=id, + monitor_status_count_maps=monitor_status_count_maps, + name=name, + region=region, + status=status, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + apm_domain_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + dvp_stack_details: Sequence['outputs.GetDedicatedVantagePointsDedicatedVantagePointCollectionItemDvpStackDetailResult'], + freeform_tags: Mapping[str, Any], + id: str, + monitor_status_count_maps: Sequence['outputs.GetDedicatedVantagePointsDedicatedVantagePointCollectionItemMonitorStatusCountMapResult'], + name: str, + region: str, + status: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("apm_domain_id", apm_domain_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("dvp_stack_details", dvp_stack_details) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("monitor_status_count_maps", monitor_status_count_maps) + _setter("name", name) + _setter("region", region) + _setter("status", status) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="apmDomainId") @@ -1849,10 +2222,25 @@ def __init__(__self__, *, :param str dvp_stream_id: Stream [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Resource Manager stack for dedicated vantage point. :param str dvp_version: Version of the dedicated vantage point. """ - pulumi.set(__self__, "dvp_stack_id", dvp_stack_id) - pulumi.set(__self__, "dvp_stack_type", dvp_stack_type) - pulumi.set(__self__, "dvp_stream_id", dvp_stream_id) - pulumi.set(__self__, "dvp_version", dvp_version) + GetDedicatedVantagePointsDedicatedVantagePointCollectionItemDvpStackDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + dvp_stack_id=dvp_stack_id, + dvp_stack_type=dvp_stack_type, + dvp_stream_id=dvp_stream_id, + dvp_version=dvp_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + dvp_stack_id: str, + dvp_stack_type: str, + dvp_stream_id: str, + dvp_version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("dvp_stack_id", dvp_stack_id) + _setter("dvp_stack_type", dvp_stack_type) + _setter("dvp_stream_id", dvp_stream_id) + _setter("dvp_version", dvp_version) @property @pulumi.getter(name="dvpStackId") @@ -1900,10 +2288,25 @@ def __init__(__self__, *, :param int invalid: Number of invalid monitors using the script. :param int total: Total number of monitors using the script. """ - pulumi.set(__self__, "disabled", disabled) - pulumi.set(__self__, "enabled", enabled) - pulumi.set(__self__, "invalid", invalid) - pulumi.set(__self__, "total", total) + GetDedicatedVantagePointsDedicatedVantagePointCollectionItemMonitorStatusCountMapResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + disabled=disabled, + enabled=enabled, + invalid=invalid, + total=total, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + disabled: int, + enabled: int, + invalid: int, + total: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("disabled", disabled) + _setter("enabled", enabled) + _setter("invalid", invalid) + _setter("total", total) @property @pulumi.getter @@ -1947,10 +2350,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only the resources that match the entire name. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDedicatedVantagePointsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1980,8 +2396,19 @@ def __init__(__self__, *, :param int max_allowed_failures_per_interval: Maximum number of failed runs allowed in an interval. If an interval has more failed runs than the specified value, then the interval will be classified as UNAVAILABLE. :param int min_allowed_runs_per_interval: Minimum number of runs allowed in an interval. If an interval has fewer runs than the specified value, then the interval will be classified as UNKNOWN and will be excluded from the availability calculations. """ - pulumi.set(__self__, "max_allowed_failures_per_interval", max_allowed_failures_per_interval) - pulumi.set(__self__, "min_allowed_runs_per_interval", min_allowed_runs_per_interval) + GetMonitorAvailabilityConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + max_allowed_failures_per_interval=max_allowed_failures_per_interval, + min_allowed_runs_per_interval=min_allowed_runs_per_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max_allowed_failures_per_interval: int, + min_allowed_runs_per_interval: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max_allowed_failures_per_interval", max_allowed_failures_per_interval) + _setter("min_allowed_runs_per_interval", min_allowed_runs_per_interval) @property @pulumi.getter(name="maxAllowedFailuresPerInterval") @@ -2039,23 +2466,64 @@ def __init__(__self__, *, :param str verify_response_content: Verify response content against regular expression based string. If response content does not match the verifyResponseContent value, then it will be considered a failure. :param Sequence['GetMonitorConfigurationVerifyTextArgs'] verify_texts: Verifies all the search strings present in the response. If any search string is not present in the response, then it will be considered as a failure. """ - pulumi.set(__self__, "client_certificate_details", client_certificate_details) - pulumi.set(__self__, "config_type", config_type) - pulumi.set(__self__, "dns_configurations", dns_configurations) - pulumi.set(__self__, "is_certificate_validation_enabled", is_certificate_validation_enabled) - pulumi.set(__self__, "is_default_snapshot_enabled", is_default_snapshot_enabled) - pulumi.set(__self__, "is_failure_retried", is_failure_retried) - pulumi.set(__self__, "is_redirection_enabled", is_redirection_enabled) - pulumi.set(__self__, "network_configurations", network_configurations) - pulumi.set(__self__, "req_authentication_details", req_authentication_details) - pulumi.set(__self__, "req_authentication_scheme", req_authentication_scheme) - pulumi.set(__self__, "request_headers", request_headers) - pulumi.set(__self__, "request_method", request_method) - pulumi.set(__self__, "request_post_body", request_post_body) - pulumi.set(__self__, "request_query_params", request_query_params) - pulumi.set(__self__, "verify_response_codes", verify_response_codes) - pulumi.set(__self__, "verify_response_content", verify_response_content) - pulumi.set(__self__, "verify_texts", verify_texts) + GetMonitorConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + client_certificate_details=client_certificate_details, + config_type=config_type, + dns_configurations=dns_configurations, + is_certificate_validation_enabled=is_certificate_validation_enabled, + is_default_snapshot_enabled=is_default_snapshot_enabled, + is_failure_retried=is_failure_retried, + is_redirection_enabled=is_redirection_enabled, + network_configurations=network_configurations, + req_authentication_details=req_authentication_details, + req_authentication_scheme=req_authentication_scheme, + request_headers=request_headers, + request_method=request_method, + request_post_body=request_post_body, + request_query_params=request_query_params, + verify_response_codes=verify_response_codes, + verify_response_content=verify_response_content, + verify_texts=verify_texts, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + client_certificate_details: Sequence['outputs.GetMonitorConfigurationClientCertificateDetailResult'], + config_type: str, + dns_configurations: Sequence['outputs.GetMonitorConfigurationDnsConfigurationResult'], + is_certificate_validation_enabled: bool, + is_default_snapshot_enabled: bool, + is_failure_retried: bool, + is_redirection_enabled: bool, + network_configurations: Sequence['outputs.GetMonitorConfigurationNetworkConfigurationResult'], + req_authentication_details: Sequence['outputs.GetMonitorConfigurationReqAuthenticationDetailResult'], + req_authentication_scheme: str, + request_headers: Sequence['outputs.GetMonitorConfigurationRequestHeaderResult'], + request_method: str, + request_post_body: str, + request_query_params: Sequence['outputs.GetMonitorConfigurationRequestQueryParamResult'], + verify_response_codes: Sequence[str], + verify_response_content: str, + verify_texts: Sequence['outputs.GetMonitorConfigurationVerifyTextResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("client_certificate_details", client_certificate_details) + _setter("config_type", config_type) + _setter("dns_configurations", dns_configurations) + _setter("is_certificate_validation_enabled", is_certificate_validation_enabled) + _setter("is_default_snapshot_enabled", is_default_snapshot_enabled) + _setter("is_failure_retried", is_failure_retried) + _setter("is_redirection_enabled", is_redirection_enabled) + _setter("network_configurations", network_configurations) + _setter("req_authentication_details", req_authentication_details) + _setter("req_authentication_scheme", req_authentication_scheme) + _setter("request_headers", request_headers) + _setter("request_method", request_method) + _setter("request_post_body", request_post_body) + _setter("request_query_params", request_query_params) + _setter("verify_response_codes", verify_response_codes) + _setter("verify_response_content", verify_response_content) + _setter("verify_texts", verify_texts) @property @pulumi.getter(name="clientCertificateDetails") @@ -2203,8 +2671,19 @@ def __init__(__self__, *, :param Sequence['GetMonitorConfigurationClientCertificateDetailClientCertificateArgs'] client_certificates: Client certificate in PEM format. :param Sequence['GetMonitorConfigurationClientCertificateDetailPrivateKeyArgs'] private_keys: The private key associated with the client certificate in PEM format. """ - pulumi.set(__self__, "client_certificates", client_certificates) - pulumi.set(__self__, "private_keys", private_keys) + GetMonitorConfigurationClientCertificateDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + client_certificates=client_certificates, + private_keys=private_keys, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + client_certificates: Sequence['outputs.GetMonitorConfigurationClientCertificateDetailClientCertificateResult'], + private_keys: Sequence['outputs.GetMonitorConfigurationClientCertificateDetailPrivateKeyResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("client_certificates", client_certificates) + _setter("private_keys", private_keys) @property @pulumi.getter(name="clientCertificates") @@ -2232,8 +2711,19 @@ def __init__(__self__, *, :param str content: Content of the private key file. :param str file_name: Name of the private key file. """ - pulumi.set(__self__, "content", content) - pulumi.set(__self__, "file_name", file_name) + GetMonitorConfigurationClientCertificateDetailClientCertificateResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + content=content, + file_name=file_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + content: str, + file_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("content", content) + _setter("file_name", file_name) @property @pulumi.getter @@ -2261,8 +2751,19 @@ def __init__(__self__, *, :param str content: Content of the private key file. :param str file_name: Name of the private key file. """ - pulumi.set(__self__, "content", content) - pulumi.set(__self__, "file_name", file_name) + GetMonitorConfigurationClientCertificateDetailPrivateKeyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + content=content, + file_name=file_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + content: str, + file_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("content", content) + _setter("file_name", file_name) @property @pulumi.getter @@ -2290,8 +2791,19 @@ def __init__(__self__, *, :param bool is_override_dns: If isOverrideDns is true, then DNS settings will be overridden. :param str override_dns_ip: Attribute to override the DNS IP value. This value will be honored only if isOverrideDns is set to true. """ - pulumi.set(__self__, "is_override_dns", is_override_dns) - pulumi.set(__self__, "override_dns_ip", override_dns_ip) + GetMonitorConfigurationDnsConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_override_dns=is_override_dns, + override_dns_ip=override_dns_ip, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_override_dns: bool, + override_dns_ip: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_override_dns", is_override_dns) + _setter("override_dns_ip", override_dns_ip) @property @pulumi.getter(name="isOverrideDns") @@ -2325,11 +2837,28 @@ def __init__(__self__, *, :param str protocol: Type of protocol. :param int transmission_rate: Number of probe packets sent out simultaneously. """ - pulumi.set(__self__, "number_of_hops", number_of_hops) - pulumi.set(__self__, "probe_mode", probe_mode) - pulumi.set(__self__, "probe_per_hop", probe_per_hop) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "transmission_rate", transmission_rate) + GetMonitorConfigurationNetworkConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + number_of_hops=number_of_hops, + probe_mode=probe_mode, + probe_per_hop=probe_per_hop, + protocol=protocol, + transmission_rate=transmission_rate, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + number_of_hops: int, + probe_mode: str, + probe_per_hop: int, + protocol: str, + transmission_rate: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("number_of_hops", number_of_hops) + _setter("probe_mode", probe_mode) + _setter("probe_per_hop", probe_per_hop) + _setter("protocol", protocol) + _setter("transmission_rate", transmission_rate) @property @pulumi.getter(name="numberOfHops") @@ -2393,14 +2922,37 @@ def __init__(__self__, *, :param str auth_user_password: User password for authentication. :param str oauth_scheme: Request HTTP OAuth scheme. """ - pulumi.set(__self__, "auth_headers", auth_headers) - pulumi.set(__self__, "auth_request_method", auth_request_method) - pulumi.set(__self__, "auth_request_post_body", auth_request_post_body) - pulumi.set(__self__, "auth_token", auth_token) - pulumi.set(__self__, "auth_url", auth_url) - pulumi.set(__self__, "auth_user_name", auth_user_name) - pulumi.set(__self__, "auth_user_password", auth_user_password) - pulumi.set(__self__, "oauth_scheme", oauth_scheme) + GetMonitorConfigurationReqAuthenticationDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + auth_headers=auth_headers, + auth_request_method=auth_request_method, + auth_request_post_body=auth_request_post_body, + auth_token=auth_token, + auth_url=auth_url, + auth_user_name=auth_user_name, + auth_user_password=auth_user_password, + oauth_scheme=oauth_scheme, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + auth_headers: Sequence['outputs.GetMonitorConfigurationReqAuthenticationDetailAuthHeaderResult'], + auth_request_method: str, + auth_request_post_body: str, + auth_token: str, + auth_url: str, + auth_user_name: str, + auth_user_password: str, + oauth_scheme: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("auth_headers", auth_headers) + _setter("auth_request_method", auth_request_method) + _setter("auth_request_post_body", auth_request_post_body) + _setter("auth_token", auth_token) + _setter("auth_url", auth_url) + _setter("auth_user_name", auth_user_name) + _setter("auth_user_password", auth_user_password) + _setter("oauth_scheme", oauth_scheme) @property @pulumi.getter(name="authHeaders") @@ -2476,8 +3028,19 @@ def __init__(__self__, *, :param str header_name: Name of the header. :param str header_value: Value of the header. """ - pulumi.set(__self__, "header_name", header_name) - pulumi.set(__self__, "header_value", header_value) + GetMonitorConfigurationReqAuthenticationDetailAuthHeaderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + header_name=header_name, + header_value=header_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + header_name: str, + header_value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("header_name", header_name) + _setter("header_value", header_value) @property @pulumi.getter(name="headerName") @@ -2505,8 +3068,19 @@ def __init__(__self__, *, :param str header_name: Name of the header. :param str header_value: Value of the header. """ - pulumi.set(__self__, "header_name", header_name) - pulumi.set(__self__, "header_value", header_value) + GetMonitorConfigurationRequestHeaderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + header_name=header_name, + header_value=header_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + header_name: str, + header_value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("header_name", header_name) + _setter("header_value", header_value) @property @pulumi.getter(name="headerName") @@ -2534,8 +3108,19 @@ def __init__(__self__, *, :param str param_name: Name of the parameter. :param str param_value: Value of the parameter. """ - pulumi.set(__self__, "param_name", param_name) - pulumi.set(__self__, "param_value", param_value) + GetMonitorConfigurationRequestQueryParamResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + param_name=param_name, + param_value=param_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + param_name: str, + param_value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("param_name", param_name) + _setter("param_value", param_value) @property @pulumi.getter(name="paramName") @@ -2561,7 +3146,16 @@ def __init__(__self__, *, """ :param str text: Verification text in the response. """ - pulumi.set(__self__, "text", text) + GetMonitorConfigurationVerifyTextResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + text=text, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + text: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("text", text) @property @pulumi.getter @@ -2581,8 +3175,19 @@ def __init__(__self__, *, :param str time_ended: End time of the maintenance window, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2020-02-12T22:47:12.613Z` :param str time_started: Start time of the maintenance window, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2020-02-12T22:47:12.613Z` """ - pulumi.set(__self__, "time_ended", time_ended) - pulumi.set(__self__, "time_started", time_started) + GetMonitorMaintenanceWindowScheduleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + time_ended=time_ended, + time_started=time_started, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + time_ended: str, + time_started: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("time_ended", time_ended) + _setter("time_started", time_started) @property @pulumi.getter(name="timeEnded") @@ -2616,11 +3221,28 @@ def __init__(__self__, *, :param str param_name: Name of the parameter. :param str param_value: Value of the parameter. """ - pulumi.set(__self__, "is_overwritten", is_overwritten) - pulumi.set(__self__, "is_secret", is_secret) - pulumi.set(__self__, "monitor_script_parameters", monitor_script_parameters) - pulumi.set(__self__, "param_name", param_name) - pulumi.set(__self__, "param_value", param_value) + GetMonitorScriptParameterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_overwritten=is_overwritten, + is_secret=is_secret, + monitor_script_parameters=monitor_script_parameters, + param_name=param_name, + param_value=param_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_overwritten: bool, + is_secret: bool, + monitor_script_parameters: Sequence['outputs.GetMonitorScriptParameterMonitorScriptParameterResult'], + param_name: str, + param_value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_overwritten", is_overwritten) + _setter("is_secret", is_secret) + _setter("monitor_script_parameters", monitor_script_parameters) + _setter("param_name", param_name) + _setter("param_value", param_value) @property @pulumi.getter(name="isOverwritten") @@ -2672,8 +3294,19 @@ def __init__(__self__, *, :param str param_name: Name of the parameter. :param str param_value: Value of the parameter. """ - pulumi.set(__self__, "param_name", param_name) - pulumi.set(__self__, "param_value", param_value) + GetMonitorScriptParameterMonitorScriptParameterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + param_name=param_name, + param_value=param_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + param_name: str, + param_value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("param_name", param_name) + _setter("param_value", param_value) @property @pulumi.getter(name="paramName") @@ -2701,8 +3334,19 @@ def __init__(__self__, *, :param str display_name: Unique name that can be edited. The name should not contain any confidential information. :param str name: Name of the vantage point. """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "name", name) + GetMonitorVantagePointResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("name", name) @property @pulumi.getter(name="displayName") @@ -2730,10 +3374,23 @@ def __init__(__self__, *, """ :param str name: Name of the vantage point. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetMonitorsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2758,7 +3415,16 @@ def regex(self) -> Optional[bool]: class GetMonitorsMonitorCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetMonitorsMonitorCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetMonitorsMonitorCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetMonitorsMonitorCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -2819,30 +3485,85 @@ def __init__(__self__, *, :param int vantage_point_count: Number of vantage points where monitor is running. :param Sequence['GetMonitorsMonitorCollectionItemVantagePointArgs'] vantage_points: List of public and dedicated vantage points where the monitor is running. """ - pulumi.set(__self__, "apm_domain_id", apm_domain_id) - pulumi.set(__self__, "availability_configurations", availability_configurations) - pulumi.set(__self__, "batch_interval_in_seconds", batch_interval_in_seconds) - pulumi.set(__self__, "configurations", configurations) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_run_now", is_run_now) - pulumi.set(__self__, "is_run_once", is_run_once) - pulumi.set(__self__, "maintenance_window_schedules", maintenance_window_schedules) - pulumi.set(__self__, "monitor_type", monitor_type) - pulumi.set(__self__, "repeat_interval_in_seconds", repeat_interval_in_seconds) - pulumi.set(__self__, "scheduling_policy", scheduling_policy) - pulumi.set(__self__, "script_id", script_id) - pulumi.set(__self__, "script_name", script_name) - pulumi.set(__self__, "script_parameters", script_parameters) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "target", target) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "timeout_in_seconds", timeout_in_seconds) - pulumi.set(__self__, "vantage_point_count", vantage_point_count) - pulumi.set(__self__, "vantage_points", vantage_points) + GetMonitorsMonitorCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + apm_domain_id=apm_domain_id, + availability_configurations=availability_configurations, + batch_interval_in_seconds=batch_interval_in_seconds, + configurations=configurations, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + is_run_now=is_run_now, + is_run_once=is_run_once, + maintenance_window_schedules=maintenance_window_schedules, + monitor_type=monitor_type, + repeat_interval_in_seconds=repeat_interval_in_seconds, + scheduling_policy=scheduling_policy, + script_id=script_id, + script_name=script_name, + script_parameters=script_parameters, + status=status, + target=target, + time_created=time_created, + time_updated=time_updated, + timeout_in_seconds=timeout_in_seconds, + vantage_point_count=vantage_point_count, + vantage_points=vantage_points, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + apm_domain_id: str, + availability_configurations: Sequence['outputs.GetMonitorsMonitorCollectionItemAvailabilityConfigurationResult'], + batch_interval_in_seconds: int, + configurations: Sequence['outputs.GetMonitorsMonitorCollectionItemConfigurationResult'], + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + is_run_now: bool, + is_run_once: bool, + maintenance_window_schedules: Sequence['outputs.GetMonitorsMonitorCollectionItemMaintenanceWindowScheduleResult'], + monitor_type: str, + repeat_interval_in_seconds: int, + scheduling_policy: str, + script_id: str, + script_name: str, + script_parameters: Sequence['outputs.GetMonitorsMonitorCollectionItemScriptParameterResult'], + status: str, + target: str, + time_created: str, + time_updated: str, + timeout_in_seconds: int, + vantage_point_count: int, + vantage_points: Sequence['outputs.GetMonitorsMonitorCollectionItemVantagePointResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("apm_domain_id", apm_domain_id) + _setter("availability_configurations", availability_configurations) + _setter("batch_interval_in_seconds", batch_interval_in_seconds) + _setter("configurations", configurations) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_run_now", is_run_now) + _setter("is_run_once", is_run_once) + _setter("maintenance_window_schedules", maintenance_window_schedules) + _setter("monitor_type", monitor_type) + _setter("repeat_interval_in_seconds", repeat_interval_in_seconds) + _setter("scheduling_policy", scheduling_policy) + _setter("script_id", script_id) + _setter("script_name", script_name) + _setter("script_parameters", script_parameters) + _setter("status", status) + _setter("target", target) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("timeout_in_seconds", timeout_in_seconds) + _setter("vantage_point_count", vantage_point_count) + _setter("vantage_points", vantage_points) @property @pulumi.getter(name="apmDomainId") @@ -3046,8 +3767,19 @@ def __init__(__self__, *, :param int max_allowed_failures_per_interval: Maximum number of failed runs allowed in an interval. If an interval has more failed runs than the specified value, then the interval will be classified as UNAVAILABLE. :param int min_allowed_runs_per_interval: Minimum number of runs allowed in an interval. If an interval has fewer runs than the specified value, then the interval will be classified as UNKNOWN and will be excluded from the availability calculations. """ - pulumi.set(__self__, "max_allowed_failures_per_interval", max_allowed_failures_per_interval) - pulumi.set(__self__, "min_allowed_runs_per_interval", min_allowed_runs_per_interval) + GetMonitorsMonitorCollectionItemAvailabilityConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + max_allowed_failures_per_interval=max_allowed_failures_per_interval, + min_allowed_runs_per_interval=min_allowed_runs_per_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max_allowed_failures_per_interval: int, + min_allowed_runs_per_interval: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max_allowed_failures_per_interval", max_allowed_failures_per_interval) + _setter("min_allowed_runs_per_interval", min_allowed_runs_per_interval) @property @pulumi.getter(name="maxAllowedFailuresPerInterval") @@ -3105,23 +3837,64 @@ def __init__(__self__, *, :param str verify_response_content: Verify response content against regular expression based string. If response content does not match the verifyResponseContent value, then it will be considered a failure. :param Sequence['GetMonitorsMonitorCollectionItemConfigurationVerifyTextArgs'] verify_texts: Verifies all the search strings present in the response. If any search string is not present in the response, then it will be considered as a failure. """ - pulumi.set(__self__, "client_certificate_details", client_certificate_details) - pulumi.set(__self__, "config_type", config_type) - pulumi.set(__self__, "dns_configurations", dns_configurations) - pulumi.set(__self__, "is_certificate_validation_enabled", is_certificate_validation_enabled) - pulumi.set(__self__, "is_default_snapshot_enabled", is_default_snapshot_enabled) - pulumi.set(__self__, "is_failure_retried", is_failure_retried) - pulumi.set(__self__, "is_redirection_enabled", is_redirection_enabled) - pulumi.set(__self__, "network_configurations", network_configurations) - pulumi.set(__self__, "req_authentication_details", req_authentication_details) - pulumi.set(__self__, "req_authentication_scheme", req_authentication_scheme) - pulumi.set(__self__, "request_headers", request_headers) - pulumi.set(__self__, "request_method", request_method) - pulumi.set(__self__, "request_post_body", request_post_body) - pulumi.set(__self__, "request_query_params", request_query_params) - pulumi.set(__self__, "verify_response_codes", verify_response_codes) - pulumi.set(__self__, "verify_response_content", verify_response_content) - pulumi.set(__self__, "verify_texts", verify_texts) + GetMonitorsMonitorCollectionItemConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + client_certificate_details=client_certificate_details, + config_type=config_type, + dns_configurations=dns_configurations, + is_certificate_validation_enabled=is_certificate_validation_enabled, + is_default_snapshot_enabled=is_default_snapshot_enabled, + is_failure_retried=is_failure_retried, + is_redirection_enabled=is_redirection_enabled, + network_configurations=network_configurations, + req_authentication_details=req_authentication_details, + req_authentication_scheme=req_authentication_scheme, + request_headers=request_headers, + request_method=request_method, + request_post_body=request_post_body, + request_query_params=request_query_params, + verify_response_codes=verify_response_codes, + verify_response_content=verify_response_content, + verify_texts=verify_texts, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + client_certificate_details: Sequence['outputs.GetMonitorsMonitorCollectionItemConfigurationClientCertificateDetailResult'], + config_type: str, + dns_configurations: Sequence['outputs.GetMonitorsMonitorCollectionItemConfigurationDnsConfigurationResult'], + is_certificate_validation_enabled: bool, + is_default_snapshot_enabled: bool, + is_failure_retried: bool, + is_redirection_enabled: bool, + network_configurations: Sequence['outputs.GetMonitorsMonitorCollectionItemConfigurationNetworkConfigurationResult'], + req_authentication_details: Sequence['outputs.GetMonitorsMonitorCollectionItemConfigurationReqAuthenticationDetailResult'], + req_authentication_scheme: str, + request_headers: Sequence['outputs.GetMonitorsMonitorCollectionItemConfigurationRequestHeaderResult'], + request_method: str, + request_post_body: str, + request_query_params: Sequence['outputs.GetMonitorsMonitorCollectionItemConfigurationRequestQueryParamResult'], + verify_response_codes: Sequence[str], + verify_response_content: str, + verify_texts: Sequence['outputs.GetMonitorsMonitorCollectionItemConfigurationVerifyTextResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("client_certificate_details", client_certificate_details) + _setter("config_type", config_type) + _setter("dns_configurations", dns_configurations) + _setter("is_certificate_validation_enabled", is_certificate_validation_enabled) + _setter("is_default_snapshot_enabled", is_default_snapshot_enabled) + _setter("is_failure_retried", is_failure_retried) + _setter("is_redirection_enabled", is_redirection_enabled) + _setter("network_configurations", network_configurations) + _setter("req_authentication_details", req_authentication_details) + _setter("req_authentication_scheme", req_authentication_scheme) + _setter("request_headers", request_headers) + _setter("request_method", request_method) + _setter("request_post_body", request_post_body) + _setter("request_query_params", request_query_params) + _setter("verify_response_codes", verify_response_codes) + _setter("verify_response_content", verify_response_content) + _setter("verify_texts", verify_texts) @property @pulumi.getter(name="clientCertificateDetails") @@ -3269,8 +4042,19 @@ def __init__(__self__, *, :param Sequence['GetMonitorsMonitorCollectionItemConfigurationClientCertificateDetailClientCertificateArgs'] client_certificates: Client certificate in PEM format. :param Sequence['GetMonitorsMonitorCollectionItemConfigurationClientCertificateDetailPrivateKeyArgs'] private_keys: The private key associated with the client certificate in PEM format. """ - pulumi.set(__self__, "client_certificates", client_certificates) - pulumi.set(__self__, "private_keys", private_keys) + GetMonitorsMonitorCollectionItemConfigurationClientCertificateDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + client_certificates=client_certificates, + private_keys=private_keys, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + client_certificates: Sequence['outputs.GetMonitorsMonitorCollectionItemConfigurationClientCertificateDetailClientCertificateResult'], + private_keys: Sequence['outputs.GetMonitorsMonitorCollectionItemConfigurationClientCertificateDetailPrivateKeyResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("client_certificates", client_certificates) + _setter("private_keys", private_keys) @property @pulumi.getter(name="clientCertificates") @@ -3298,8 +4082,19 @@ def __init__(__self__, *, :param str content: Content of the private key file. :param str file_name: Name of the private key file. """ - pulumi.set(__self__, "content", content) - pulumi.set(__self__, "file_name", file_name) + GetMonitorsMonitorCollectionItemConfigurationClientCertificateDetailClientCertificateResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + content=content, + file_name=file_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + content: str, + file_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("content", content) + _setter("file_name", file_name) @property @pulumi.getter @@ -3327,8 +4122,19 @@ def __init__(__self__, *, :param str content: Content of the private key file. :param str file_name: Name of the private key file. """ - pulumi.set(__self__, "content", content) - pulumi.set(__self__, "file_name", file_name) + GetMonitorsMonitorCollectionItemConfigurationClientCertificateDetailPrivateKeyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + content=content, + file_name=file_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + content: str, + file_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("content", content) + _setter("file_name", file_name) @property @pulumi.getter @@ -3356,8 +4162,19 @@ def __init__(__self__, *, :param bool is_override_dns: If isOverrideDns is true, then DNS settings will be overridden. :param str override_dns_ip: Attribute to override the DNS IP value. This value will be honored only if isOverrideDns is set to true. """ - pulumi.set(__self__, "is_override_dns", is_override_dns) - pulumi.set(__self__, "override_dns_ip", override_dns_ip) + GetMonitorsMonitorCollectionItemConfigurationDnsConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_override_dns=is_override_dns, + override_dns_ip=override_dns_ip, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_override_dns: bool, + override_dns_ip: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_override_dns", is_override_dns) + _setter("override_dns_ip", override_dns_ip) @property @pulumi.getter(name="isOverrideDns") @@ -3391,11 +4208,28 @@ def __init__(__self__, *, :param str protocol: Type of protocol. :param int transmission_rate: Number of probe packets sent out simultaneously. """ - pulumi.set(__self__, "number_of_hops", number_of_hops) - pulumi.set(__self__, "probe_mode", probe_mode) - pulumi.set(__self__, "probe_per_hop", probe_per_hop) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "transmission_rate", transmission_rate) + GetMonitorsMonitorCollectionItemConfigurationNetworkConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + number_of_hops=number_of_hops, + probe_mode=probe_mode, + probe_per_hop=probe_per_hop, + protocol=protocol, + transmission_rate=transmission_rate, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + number_of_hops: int, + probe_mode: str, + probe_per_hop: int, + protocol: str, + transmission_rate: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("number_of_hops", number_of_hops) + _setter("probe_mode", probe_mode) + _setter("probe_per_hop", probe_per_hop) + _setter("protocol", protocol) + _setter("transmission_rate", transmission_rate) @property @pulumi.getter(name="numberOfHops") @@ -3459,14 +4293,37 @@ def __init__(__self__, *, :param str auth_user_password: User password for authentication. :param str oauth_scheme: Request HTTP OAuth scheme. """ - pulumi.set(__self__, "auth_headers", auth_headers) - pulumi.set(__self__, "auth_request_method", auth_request_method) - pulumi.set(__self__, "auth_request_post_body", auth_request_post_body) - pulumi.set(__self__, "auth_token", auth_token) - pulumi.set(__self__, "auth_url", auth_url) - pulumi.set(__self__, "auth_user_name", auth_user_name) - pulumi.set(__self__, "auth_user_password", auth_user_password) - pulumi.set(__self__, "oauth_scheme", oauth_scheme) + GetMonitorsMonitorCollectionItemConfigurationReqAuthenticationDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + auth_headers=auth_headers, + auth_request_method=auth_request_method, + auth_request_post_body=auth_request_post_body, + auth_token=auth_token, + auth_url=auth_url, + auth_user_name=auth_user_name, + auth_user_password=auth_user_password, + oauth_scheme=oauth_scheme, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + auth_headers: Sequence['outputs.GetMonitorsMonitorCollectionItemConfigurationReqAuthenticationDetailAuthHeaderResult'], + auth_request_method: str, + auth_request_post_body: str, + auth_token: str, + auth_url: str, + auth_user_name: str, + auth_user_password: str, + oauth_scheme: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("auth_headers", auth_headers) + _setter("auth_request_method", auth_request_method) + _setter("auth_request_post_body", auth_request_post_body) + _setter("auth_token", auth_token) + _setter("auth_url", auth_url) + _setter("auth_user_name", auth_user_name) + _setter("auth_user_password", auth_user_password) + _setter("oauth_scheme", oauth_scheme) @property @pulumi.getter(name="authHeaders") @@ -3542,8 +4399,19 @@ def __init__(__self__, *, :param str header_name: Name of the header. :param str header_value: Value of the header. """ - pulumi.set(__self__, "header_name", header_name) - pulumi.set(__self__, "header_value", header_value) + GetMonitorsMonitorCollectionItemConfigurationReqAuthenticationDetailAuthHeaderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + header_name=header_name, + header_value=header_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + header_name: str, + header_value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("header_name", header_name) + _setter("header_value", header_value) @property @pulumi.getter(name="headerName") @@ -3571,8 +4439,19 @@ def __init__(__self__, *, :param str header_name: Name of the header. :param str header_value: Value of the header. """ - pulumi.set(__self__, "header_name", header_name) - pulumi.set(__self__, "header_value", header_value) + GetMonitorsMonitorCollectionItemConfigurationRequestHeaderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + header_name=header_name, + header_value=header_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + header_name: str, + header_value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("header_name", header_name) + _setter("header_value", header_value) @property @pulumi.getter(name="headerName") @@ -3600,8 +4479,19 @@ def __init__(__self__, *, :param str param_name: Name of the parameter. :param str param_value: Value of the parameter. """ - pulumi.set(__self__, "param_name", param_name) - pulumi.set(__self__, "param_value", param_value) + GetMonitorsMonitorCollectionItemConfigurationRequestQueryParamResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + param_name=param_name, + param_value=param_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + param_name: str, + param_value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("param_name", param_name) + _setter("param_value", param_value) @property @pulumi.getter(name="paramName") @@ -3627,7 +4517,16 @@ def __init__(__self__, *, """ :param str text: Verification text in the response. """ - pulumi.set(__self__, "text", text) + GetMonitorsMonitorCollectionItemConfigurationVerifyTextResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + text=text, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + text: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("text", text) @property @pulumi.getter @@ -3647,8 +4546,19 @@ def __init__(__self__, *, :param str time_ended: End time of the maintenance window, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2020-02-12T22:47:12.613Z` :param str time_started: Start time of the maintenance window, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2020-02-12T22:47:12.613Z` """ - pulumi.set(__self__, "time_ended", time_ended) - pulumi.set(__self__, "time_started", time_started) + GetMonitorsMonitorCollectionItemMaintenanceWindowScheduleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + time_ended=time_ended, + time_started=time_started, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + time_ended: str, + time_started: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("time_ended", time_ended) + _setter("time_started", time_started) @property @pulumi.getter(name="timeEnded") @@ -3682,11 +4592,28 @@ def __init__(__self__, *, :param str param_name: Name of the parameter. :param str param_value: Value of the parameter. """ - pulumi.set(__self__, "is_overwritten", is_overwritten) - pulumi.set(__self__, "is_secret", is_secret) - pulumi.set(__self__, "monitor_script_parameters", monitor_script_parameters) - pulumi.set(__self__, "param_name", param_name) - pulumi.set(__self__, "param_value", param_value) + GetMonitorsMonitorCollectionItemScriptParameterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_overwritten=is_overwritten, + is_secret=is_secret, + monitor_script_parameters=monitor_script_parameters, + param_name=param_name, + param_value=param_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_overwritten: bool, + is_secret: bool, + monitor_script_parameters: Sequence['outputs.GetMonitorsMonitorCollectionItemScriptParameterMonitorScriptParameterResult'], + param_name: str, + param_value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_overwritten", is_overwritten) + _setter("is_secret", is_secret) + _setter("monitor_script_parameters", monitor_script_parameters) + _setter("param_name", param_name) + _setter("param_value", param_value) @property @pulumi.getter(name="isOverwritten") @@ -3738,8 +4665,19 @@ def __init__(__self__, *, :param str param_name: Name of the parameter. :param str param_value: Value of the parameter. """ - pulumi.set(__self__, "param_name", param_name) - pulumi.set(__self__, "param_value", param_value) + GetMonitorsMonitorCollectionItemScriptParameterMonitorScriptParameterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + param_name=param_name, + param_value=param_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + param_name: str, + param_value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("param_name", param_name) + _setter("param_value", param_value) @property @pulumi.getter(name="paramName") @@ -3767,8 +4705,19 @@ def __init__(__self__, *, :param str display_name: A filter to return only the resources that match the entire display name. :param str name: Name of the vantage point. """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "name", name) + GetMonitorsMonitorCollectionItemVantagePointResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("name", name) @property @pulumi.getter(name="displayName") @@ -3800,10 +4749,25 @@ def __init__(__self__, *, :param str string_content: Data content in string format. Example: HAR. :param str timestamp: The time when the data was generated, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2020-02-13T22:47:12.613Z` """ - pulumi.set(__self__, "byte_content", byte_content) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "string_content", string_content) - pulumi.set(__self__, "timestamp", timestamp) + GetResultResultDataSetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + byte_content=byte_content, + name=name, + string_content=string_content, + timestamp=timestamp, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + byte_content: str, + name: str, + string_content: str, + timestamp: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("byte_content", byte_content) + _setter("name", name) + _setter("string_content", string_content) + _setter("timestamp", timestamp) @property @pulumi.getter(name="byteContent") @@ -3851,10 +4815,25 @@ def __init__(__self__, *, :param int invalid: Number of invalid monitors using the script. :param int total: Total number of monitors using the script. """ - pulumi.set(__self__, "disabled", disabled) - pulumi.set(__self__, "enabled", enabled) - pulumi.set(__self__, "invalid", invalid) - pulumi.set(__self__, "total", total) + GetScriptMonitorStatusCountMapResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + disabled=disabled, + enabled=enabled, + invalid=invalid, + total=total, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + disabled: int, + enabled: int, + invalid: int, + total: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("disabled", disabled) + _setter("enabled", enabled) + _setter("invalid", invalid) + _setter("total", total) @property @pulumi.getter @@ -3904,11 +4883,28 @@ def __init__(__self__, *, :param str param_value: Value of the parameter. :param Sequence['GetScriptParameterScriptParameterArgs'] script_parameters: Details of the script parameters, paramName must be from the script content and these details can be used to overwrite the default parameter present in the script content. """ - pulumi.set(__self__, "is_overwritten", is_overwritten) - pulumi.set(__self__, "is_secret", is_secret) - pulumi.set(__self__, "param_name", param_name) - pulumi.set(__self__, "param_value", param_value) - pulumi.set(__self__, "script_parameters", script_parameters) + GetScriptParameterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_overwritten=is_overwritten, + is_secret=is_secret, + param_name=param_name, + param_value=param_value, + script_parameters=script_parameters, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_overwritten: bool, + is_secret: bool, + param_name: str, + param_value: str, + script_parameters: Sequence['outputs.GetScriptParameterScriptParameterResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_overwritten", is_overwritten) + _setter("is_secret", is_secret) + _setter("param_name", param_name) + _setter("param_value", param_value) + _setter("script_parameters", script_parameters) @property @pulumi.getter(name="isOverwritten") @@ -3962,9 +4958,22 @@ def __init__(__self__, *, :param str param_name: Name of the parameter. :param str param_value: Value of the parameter. """ - pulumi.set(__self__, "is_secret", is_secret) - pulumi.set(__self__, "param_name", param_name) - pulumi.set(__self__, "param_value", param_value) + GetScriptParameterScriptParameterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_secret=is_secret, + param_name=param_name, + param_value=param_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_secret: bool, + param_name: str, + param_value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_secret", is_secret) + _setter("param_name", param_name) + _setter("param_value", param_value) @property @pulumi.getter(name="isSecret") @@ -3997,10 +5006,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetScriptsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4022,7 +5044,16 @@ def regex(self) -> Optional[bool]: class GetScriptsScriptCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetScriptsScriptCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetScriptsScriptCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetScriptsScriptCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -4063,20 +5094,55 @@ def __init__(__self__, *, :param str time_updated: The time the resource was updated, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2020-02-13T22:47:12.613Z` :param str time_uploaded: The time the script was uploaded. """ - pulumi.set(__self__, "apm_domain_id", apm_domain_id) - pulumi.set(__self__, "content", content) - pulumi.set(__self__, "content_file_name", content_file_name) - pulumi.set(__self__, "content_size_in_bytes", content_size_in_bytes) - pulumi.set(__self__, "content_type", content_type) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "monitor_status_count_maps", monitor_status_count_maps) - pulumi.set(__self__, "parameters", parameters) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "time_uploaded", time_uploaded) + GetScriptsScriptCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + apm_domain_id=apm_domain_id, + content=content, + content_file_name=content_file_name, + content_size_in_bytes=content_size_in_bytes, + content_type=content_type, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + monitor_status_count_maps=monitor_status_count_maps, + parameters=parameters, + time_created=time_created, + time_updated=time_updated, + time_uploaded=time_uploaded, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + apm_domain_id: str, + content: str, + content_file_name: str, + content_size_in_bytes: int, + content_type: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + monitor_status_count_maps: Sequence['outputs.GetScriptsScriptCollectionItemMonitorStatusCountMapResult'], + parameters: Sequence['outputs.GetScriptsScriptCollectionItemParameterResult'], + time_created: str, + time_updated: str, + time_uploaded: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("apm_domain_id", apm_domain_id) + _setter("content", content) + _setter("content_file_name", content_file_name) + _setter("content_size_in_bytes", content_size_in_bytes) + _setter("content_type", content_type) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("monitor_status_count_maps", monitor_status_count_maps) + _setter("parameters", parameters) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("time_uploaded", time_uploaded) @property @pulumi.getter(name="apmDomainId") @@ -4204,10 +5270,25 @@ def __init__(__self__, *, :param int invalid: Number of invalid monitors using the script. :param int total: Total number of monitors using the script. """ - pulumi.set(__self__, "disabled", disabled) - pulumi.set(__self__, "enabled", enabled) - pulumi.set(__self__, "invalid", invalid) - pulumi.set(__self__, "total", total) + GetScriptsScriptCollectionItemMonitorStatusCountMapResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + disabled=disabled, + enabled=enabled, + invalid=invalid, + total=total, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + disabled: int, + enabled: int, + invalid: int, + total: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("disabled", disabled) + _setter("enabled", enabled) + _setter("invalid", invalid) + _setter("total", total) @property @pulumi.getter @@ -4257,11 +5338,28 @@ def __init__(__self__, *, :param str param_value: Value of the parameter. :param Sequence['GetScriptsScriptCollectionItemParameterScriptParameterArgs'] script_parameters: Details of the script parameters, paramName must be from the script content and these details can be used to overwrite the default parameter present in the script content. """ - pulumi.set(__self__, "is_overwritten", is_overwritten) - pulumi.set(__self__, "is_secret", is_secret) - pulumi.set(__self__, "param_name", param_name) - pulumi.set(__self__, "param_value", param_value) - pulumi.set(__self__, "script_parameters", script_parameters) + GetScriptsScriptCollectionItemParameterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_overwritten=is_overwritten, + is_secret=is_secret, + param_name=param_name, + param_value=param_value, + script_parameters=script_parameters, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_overwritten: bool, + is_secret: bool, + param_name: str, + param_value: str, + script_parameters: Sequence['outputs.GetScriptsScriptCollectionItemParameterScriptParameterResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_overwritten", is_overwritten) + _setter("is_secret", is_secret) + _setter("param_name", param_name) + _setter("param_value", param_value) + _setter("script_parameters", script_parameters) @property @pulumi.getter(name="isOverwritten") @@ -4315,9 +5413,22 @@ def __init__(__self__, *, :param str param_name: Name of the parameter. :param str param_value: Value of the parameter. """ - pulumi.set(__self__, "is_secret", is_secret) - pulumi.set(__self__, "param_name", param_name) - pulumi.set(__self__, "param_value", param_value) + GetScriptsScriptCollectionItemParameterScriptParameterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_secret=is_secret, + param_name=param_name, + param_value=param_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_secret: bool, + param_name: str, + param_value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_secret", is_secret) + _setter("param_name", param_name) + _setter("param_value", param_value) @property @pulumi.getter(name="isSecret") @@ -4355,9 +5466,22 @@ def __init__(__self__, *, :param Sequence['GetVantagePointItemGeoArgs'] geos: Geographic summary of a vantage point. :param str name: A filter to return only the resources that match the entire name. """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "geos", geos) - pulumi.set(__self__, "name", name) + GetVantagePointItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + geos=geos, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + geos: Sequence['outputs.GetVantagePointItemGeoResult'], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("geos", geos) + _setter("name", name) @property @pulumi.getter(name="displayName") @@ -4401,12 +5525,31 @@ def __init__(__self__, *, :param float latitude: Degrees north of the Equator. :param float longitude: Degrees east of the prime meridian. """ - pulumi.set(__self__, "admin_div_code", admin_div_code) - pulumi.set(__self__, "city_name", city_name) - pulumi.set(__self__, "country_code", country_code) - pulumi.set(__self__, "country_name", country_name) - pulumi.set(__self__, "latitude", latitude) - pulumi.set(__self__, "longitude", longitude) + GetVantagePointItemGeoResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + admin_div_code=admin_div_code, + city_name=city_name, + country_code=country_code, + country_name=country_name, + latitude=latitude, + longitude=longitude, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + admin_div_code: str, + city_name: str, + country_code: str, + country_name: str, + latitude: float, + longitude: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("admin_div_code", admin_div_code) + _setter("city_name", city_name) + _setter("country_code", country_code) + _setter("country_name", country_name) + _setter("latitude", latitude) + _setter("longitude", longitude) @property @pulumi.getter(name="adminDivCode") @@ -4466,10 +5609,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only the resources that match the entire name. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVantagePointsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4497,7 +5653,16 @@ def __init__(__self__, *, """ :param Sequence['GetVantagePointsPublicVantagePointCollectionItemArgs'] items: List of PublicVantagePointSummary items. """ - pulumi.set(__self__, "items", items) + GetVantagePointsPublicVantagePointCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetVantagePointsPublicVantagePointCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -4519,9 +5684,22 @@ def __init__(__self__, *, :param Sequence['GetVantagePointsPublicVantagePointCollectionItemGeoArgs'] geos: Geographic summary of a vantage point. :param str name: A filter to return only the resources that match the entire name. """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "geos", geos) - pulumi.set(__self__, "name", name) + GetVantagePointsPublicVantagePointCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + geos=geos, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + geos: Sequence['outputs.GetVantagePointsPublicVantagePointCollectionItemGeoResult'], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("geos", geos) + _setter("name", name) @property @pulumi.getter(name="displayName") @@ -4565,12 +5743,31 @@ def __init__(__self__, *, :param float latitude: Degrees north of the equator. :param float longitude: Degrees east of the prime meridian. """ - pulumi.set(__self__, "admin_div_code", admin_div_code) - pulumi.set(__self__, "city_name", city_name) - pulumi.set(__self__, "country_code", country_code) - pulumi.set(__self__, "country_name", country_name) - pulumi.set(__self__, "latitude", latitude) - pulumi.set(__self__, "longitude", longitude) + GetVantagePointsPublicVantagePointCollectionItemGeoResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + admin_div_code=admin_div_code, + city_name=city_name, + country_code=country_code, + country_name=country_name, + latitude=latitude, + longitude=longitude, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + admin_div_code: str, + city_name: str, + country_code: str, + country_name: str, + latitude: float, + longitude: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("admin_div_code", admin_div_code) + _setter("city_name", city_name) + _setter("country_code", country_code) + _setter("country_name", country_name) + _setter("latitude", latitude) + _setter("longitude", longitude) @property @pulumi.getter(name="adminDivCode") diff --git a/sdk/python/pulumi_oci/apmsynthetics/script.py b/sdk/python/pulumi_oci/apmsynthetics/script.py index 9ac327a3e0..ac2c95fa8c 100644 --- a/sdk/python/pulumi_oci/apmsynthetics/script.py +++ b/sdk/python/pulumi_oci/apmsynthetics/script.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -35,18 +35,41 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` :param pulumi.Input[Sequence[pulumi.Input['ScriptParameterArgs']]] parameters: (Updatable) List of script parameters. Example: `[{"paramName": "userid", "paramValue":"testuser", "isSecret": false}]` """ - pulumi.set(__self__, "apm_domain_id", apm_domain_id) - pulumi.set(__self__, "content", content) - pulumi.set(__self__, "content_type", content_type) - pulumi.set(__self__, "display_name", display_name) + ScriptArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + apm_domain_id=apm_domain_id, + content=content, + content_type=content_type, + display_name=display_name, + content_file_name=content_file_name, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + parameters=parameters, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + apm_domain_id: pulumi.Input[str], + content: pulumi.Input[str], + content_type: pulumi.Input[str], + display_name: pulumi.Input[str], + content_file_name: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + parameters: Optional[pulumi.Input[Sequence[pulumi.Input['ScriptParameterArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("apm_domain_id", apm_domain_id) + _setter("content", content) + _setter("content_type", content_type) + _setter("display_name", display_name) if content_file_name is not None: - pulumi.set(__self__, "content_file_name", content_file_name) + _setter("content_file_name", content_file_name) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if parameters is not None: - pulumi.set(__self__, "parameters", parameters) + _setter("parameters", parameters) @property @pulumi.getter(name="apmDomainId") @@ -177,32 +200,65 @@ def __init__(__self__, *, :param pulumi.Input[str] time_updated: The time the resource was updated, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2020-02-13T22:47:12.613Z` :param pulumi.Input[str] time_uploaded: The time the script was uploaded. """ + _ScriptState._configure( + lambda key, value: pulumi.set(__self__, key, value), + apm_domain_id=apm_domain_id, + content=content, + content_file_name=content_file_name, + content_size_in_bytes=content_size_in_bytes, + content_type=content_type, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + monitor_status_count_maps=monitor_status_count_maps, + parameters=parameters, + time_created=time_created, + time_updated=time_updated, + time_uploaded=time_uploaded, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + apm_domain_id: Optional[pulumi.Input[str]] = None, + content: Optional[pulumi.Input[str]] = None, + content_file_name: Optional[pulumi.Input[str]] = None, + content_size_in_bytes: Optional[pulumi.Input[int]] = None, + content_type: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + monitor_status_count_maps: Optional[pulumi.Input[Sequence[pulumi.Input['ScriptMonitorStatusCountMapArgs']]]] = None, + parameters: Optional[pulumi.Input[Sequence[pulumi.Input['ScriptParameterArgs']]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + time_uploaded: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if apm_domain_id is not None: - pulumi.set(__self__, "apm_domain_id", apm_domain_id) + _setter("apm_domain_id", apm_domain_id) if content is not None: - pulumi.set(__self__, "content", content) + _setter("content", content) if content_file_name is not None: - pulumi.set(__self__, "content_file_name", content_file_name) + _setter("content_file_name", content_file_name) if content_size_in_bytes is not None: - pulumi.set(__self__, "content_size_in_bytes", content_size_in_bytes) + _setter("content_size_in_bytes", content_size_in_bytes) if content_type is not None: - pulumi.set(__self__, "content_type", content_type) + _setter("content_type", content_type) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if monitor_status_count_maps is not None: - pulumi.set(__self__, "monitor_status_count_maps", monitor_status_count_maps) + _setter("monitor_status_count_maps", monitor_status_count_maps) if parameters is not None: - pulumi.set(__self__, "parameters", parameters) + _setter("parameters", parameters) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if time_uploaded is not None: - pulumi.set(__self__, "time_uploaded", time_uploaded) + _setter("time_uploaded", time_uploaded) @property @pulumi.getter(name="apmDomainId") @@ -478,6 +534,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ScriptArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/apmtraces/_inputs.py b/sdk/python/pulumi_oci/apmtraces/_inputs.py index 49c6d94bbd..8f20d04ad8 100644 --- a/sdk/python/pulumi_oci/apmtraces/_inputs.py +++ b/sdk/python/pulumi_oci/apmtraces/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -19,10 +19,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetQueryQuickPicksFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/apmtraces/get_query_quick_picks.py b/sdk/python/pulumi_oci/apmtraces/get_query_quick_picks.py index e66018e246..5c4c211730 100644 --- a/sdk/python/pulumi_oci/apmtraces/get_query_quick_picks.py +++ b/sdk/python/pulumi_oci/apmtraces/get_query_quick_picks.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/apmtraces/get_trace.py b/sdk/python/pulumi_oci/apmtraces/get_trace.py index fb8e04f87e..5aa0f24fbd 100644 --- a/sdk/python/pulumi_oci/apmtraces/get_trace.py +++ b/sdk/python/pulumi_oci/apmtraces/get_trace.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/apmtraces/get_trace_aggregated_snapshot_data.py b/sdk/python/pulumi_oci/apmtraces/get_trace_aggregated_snapshot_data.py index f343ed46c6..772c8b39f1 100644 --- a/sdk/python/pulumi_oci/apmtraces/get_trace_aggregated_snapshot_data.py +++ b/sdk/python/pulumi_oci/apmtraces/get_trace_aggregated_snapshot_data.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/apmtraces/get_trace_snapshot_data.py b/sdk/python/pulumi_oci/apmtraces/get_trace_snapshot_data.py index dba3df70d5..8a634fd804 100644 --- a/sdk/python/pulumi_oci/apmtraces/get_trace_snapshot_data.py +++ b/sdk/python/pulumi_oci/apmtraces/get_trace_snapshot_data.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/apmtraces/outputs.py b/sdk/python/pulumi_oci/apmtraces/outputs.py index c20d89abe0..75260ed586 100644 --- a/sdk/python/pulumi_oci/apmtraces/outputs.py +++ b/sdk/python/pulumi_oci/apmtraces/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -30,10 +30,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetQueryQuickPicksFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -60,8 +73,19 @@ def __init__(__self__, *, :param str quick_pick_name: Quick Pick name for the query. :param str quick_pick_query: Query for the Quick Pick. """ - pulumi.set(__self__, "quick_pick_name", quick_pick_name) - pulumi.set(__self__, "quick_pick_query", quick_pick_query) + GetQueryQuickPicksQuickPickResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + quick_pick_name=quick_pick_name, + quick_pick_query=quick_pick_query, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + quick_pick_name: str, + quick_pick_query: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("quick_pick_name", quick_pick_name) + _setter("quick_pick_query", quick_pick_query) @property @pulumi.getter(name="quickPickName") @@ -89,8 +113,19 @@ def __init__(__self__, *, :param str key: Name of the property. :param str value: Value of the property. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetTraceAggregatedSnapshotDataDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -120,9 +155,22 @@ def __init__(__self__, *, :param str span_service_name: Name associated with the service. :param str total_spans: Number of spans for serviceName in the trace. """ - pulumi.set(__self__, "error_spans", error_spans) - pulumi.set(__self__, "span_service_name", span_service_name) - pulumi.set(__self__, "total_spans", total_spans) + GetTraceServiceSummaryResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + error_spans=error_spans, + span_service_name=span_service_name, + total_spans=total_spans, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + error_spans: str, + span_service_name: str, + total_spans: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("error_spans", error_spans) + _setter("span_service_name", span_service_name) + _setter("total_spans", total_spans) @property @pulumi.getter(name="errorSpans") @@ -158,8 +206,19 @@ def __init__(__self__, *, :param str key: Name of the property. :param str value: Value of the property. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetTraceSnapshotDataTraceSnapshotDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -207,18 +266,49 @@ def __init__(__self__, *, :param str time_started: Span start time. Timestamp when the span was started. :param str trace_key: Unique Application Performance Monitoring trace identifier (traceId). """ - pulumi.set(__self__, "duration_in_ms", duration_in_ms) - pulumi.set(__self__, "is_error", is_error) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "kind", kind) - pulumi.set(__self__, "logs", logs) - pulumi.set(__self__, "operation_name", operation_name) - pulumi.set(__self__, "parent_span_key", parent_span_key) - pulumi.set(__self__, "service_name", service_name) - pulumi.set(__self__, "tags", tags) - pulumi.set(__self__, "time_ended", time_ended) - pulumi.set(__self__, "time_started", time_started) - pulumi.set(__self__, "trace_key", trace_key) + GetTraceSpanResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + duration_in_ms=duration_in_ms, + is_error=is_error, + key=key, + kind=kind, + logs=logs, + operation_name=operation_name, + parent_span_key=parent_span_key, + service_name=service_name, + tags=tags, + time_ended=time_ended, + time_started=time_started, + trace_key=trace_key, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + duration_in_ms: str, + is_error: bool, + key: str, + kind: str, + logs: Sequence['outputs.GetTraceSpanLogResult'], + operation_name: str, + parent_span_key: str, + service_name: str, + tags: Sequence['outputs.GetTraceSpanTagResult'], + time_ended: str, + time_started: str, + trace_key: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("duration_in_ms", duration_in_ms) + _setter("is_error", is_error) + _setter("key", key) + _setter("kind", kind) + _setter("logs", logs) + _setter("operation_name", operation_name) + _setter("parent_span_key", parent_span_key) + _setter("service_name", service_name) + _setter("tags", tags) + _setter("time_ended", time_ended) + _setter("time_started", time_started) + _setter("trace_key", trace_key) @property @pulumi.getter(name="durationInMs") @@ -326,8 +416,19 @@ def __init__(__self__, *, :param Sequence['GetTraceSpanLogSpanLogArgs'] span_logs: List of logs associated with the span at the given timestamp. :param str time_created: Timestamp at which the log is created. """ - pulumi.set(__self__, "span_logs", span_logs) - pulumi.set(__self__, "time_created", time_created) + GetTraceSpanLogResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + span_logs=span_logs, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + span_logs: Sequence['outputs.GetTraceSpanLogSpanLogResult'], + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("span_logs", span_logs) + _setter("time_created", time_created) @property @pulumi.getter(name="spanLogs") @@ -355,8 +456,19 @@ def __init__(__self__, *, :param str log_key: Key that specifies the log name. :param str log_value: Value associated with the log key. """ - pulumi.set(__self__, "log_key", log_key) - pulumi.set(__self__, "log_value", log_value) + GetTraceSpanLogSpanLogResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + log_key=log_key, + log_value=log_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + log_key: str, + log_value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("log_key", log_key) + _setter("log_value", log_value) @property @pulumi.getter(name="logKey") @@ -412,22 +524,61 @@ def __init__(__self__, *, :param str trace_error_type: Error type of the trace. :param str trace_status: The status of the trace. The trace statuses are defined as follows: complete - a root span has been recorded, but there is no information on the errors. success - a complete root span is recorded there is a successful error type and error code - HTTP 200. incomplete - the root span has not yet been received. error - the root span returned with an error. There may or may not be an associated error code or error type. """ - pulumi.set(__self__, "error_span_count", error_span_count) - pulumi.set(__self__, "is_fault", is_fault) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "root_span_duration_in_ms", root_span_duration_in_ms) - pulumi.set(__self__, "root_span_operation_name", root_span_operation_name) - pulumi.set(__self__, "root_span_service_name", root_span_service_name) - pulumi.set(__self__, "service_summaries", service_summaries) - pulumi.set(__self__, "span_count", span_count) - pulumi.set(__self__, "time_earliest_span_started", time_earliest_span_started) - pulumi.set(__self__, "time_latest_span_ended", time_latest_span_ended) - pulumi.set(__self__, "time_root_span_ended", time_root_span_ended) - pulumi.set(__self__, "time_root_span_started", time_root_span_started) - pulumi.set(__self__, "trace_duration_in_ms", trace_duration_in_ms) - pulumi.set(__self__, "trace_error_code", trace_error_code) - pulumi.set(__self__, "trace_error_type", trace_error_type) - pulumi.set(__self__, "trace_status", trace_status) + GetTraceSpanSummaryResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + error_span_count=error_span_count, + is_fault=is_fault, + key=key, + root_span_duration_in_ms=root_span_duration_in_ms, + root_span_operation_name=root_span_operation_name, + root_span_service_name=root_span_service_name, + service_summaries=service_summaries, + span_count=span_count, + time_earliest_span_started=time_earliest_span_started, + time_latest_span_ended=time_latest_span_ended, + time_root_span_ended=time_root_span_ended, + time_root_span_started=time_root_span_started, + trace_duration_in_ms=trace_duration_in_ms, + trace_error_code=trace_error_code, + trace_error_type=trace_error_type, + trace_status=trace_status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + error_span_count: int, + is_fault: bool, + key: str, + root_span_duration_in_ms: int, + root_span_operation_name: str, + root_span_service_name: str, + service_summaries: Sequence['outputs.GetTraceSpanSummaryServiceSummaryResult'], + span_count: int, + time_earliest_span_started: str, + time_latest_span_ended: str, + time_root_span_ended: str, + time_root_span_started: str, + trace_duration_in_ms: int, + trace_error_code: str, + trace_error_type: str, + trace_status: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("error_span_count", error_span_count) + _setter("is_fault", is_fault) + _setter("key", key) + _setter("root_span_duration_in_ms", root_span_duration_in_ms) + _setter("root_span_operation_name", root_span_operation_name) + _setter("root_span_service_name", root_span_service_name) + _setter("service_summaries", service_summaries) + _setter("span_count", span_count) + _setter("time_earliest_span_started", time_earliest_span_started) + _setter("time_latest_span_ended", time_latest_span_ended) + _setter("time_root_span_ended", time_root_span_ended) + _setter("time_root_span_started", time_root_span_started) + _setter("trace_duration_in_ms", trace_duration_in_ms) + _setter("trace_error_code", trace_error_code) + _setter("trace_error_type", trace_error_type) + _setter("trace_status", trace_status) @property @pulumi.getter(name="errorSpanCount") @@ -569,9 +720,22 @@ def __init__(__self__, *, :param str span_service_name: Name associated with the service. :param str total_spans: Number of spans for serviceName in the trace. """ - pulumi.set(__self__, "error_spans", error_spans) - pulumi.set(__self__, "span_service_name", span_service_name) - pulumi.set(__self__, "total_spans", total_spans) + GetTraceSpanSummaryServiceSummaryResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + error_spans=error_spans, + span_service_name=span_service_name, + total_spans=total_spans, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + error_spans: str, + span_service_name: str, + total_spans: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("error_spans", error_spans) + _setter("span_service_name", span_service_name) + _setter("total_spans", total_spans) @property @pulumi.getter(name="errorSpans") @@ -607,8 +771,19 @@ def __init__(__self__, *, :param str tag_name: Key that specifies the tag name. :param str tag_value: Value associated with the tag key. """ - pulumi.set(__self__, "tag_name", tag_name) - pulumi.set(__self__, "tag_value", tag_value) + GetTraceSpanTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + tag_name=tag_name, + tag_value=tag_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + tag_name: str, + tag_value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("tag_name", tag_name) + _setter("tag_value", tag_value) @property @pulumi.getter(name="tagName") diff --git a/sdk/python/pulumi_oci/appmgmtcontrol/_inputs.py b/sdk/python/pulumi_oci/appmgmtcontrol/_inputs.py index 9adebcd9a2..7f6e0a98d2 100644 --- a/sdk/python/pulumi_oci/appmgmtcontrol/_inputs.py +++ b/sdk/python/pulumi_oci/appmgmtcontrol/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -19,10 +19,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetMonitoredInstancesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/appmgmtcontrol/get_monitored_instance.py b/sdk/python/pulumi_oci/appmgmtcontrol/get_monitored_instance.py index 1367fdb76b..912a15a1af 100644 --- a/sdk/python/pulumi_oci/appmgmtcontrol/get_monitored_instance.py +++ b/sdk/python/pulumi_oci/appmgmtcontrol/get_monitored_instance.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/appmgmtcontrol/get_monitored_instances.py b/sdk/python/pulumi_oci/appmgmtcontrol/get_monitored_instances.py index 841713b3c2..4223c01949 100644 --- a/sdk/python/pulumi_oci/appmgmtcontrol/get_monitored_instances.py +++ b/sdk/python/pulumi_oci/appmgmtcontrol/get_monitored_instances.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/appmgmtcontrol/monitor_plugin_management.py b/sdk/python/pulumi_oci/appmgmtcontrol/monitor_plugin_management.py index d36fd81b60..e25e01d10b 100644 --- a/sdk/python/pulumi_oci/appmgmtcontrol/monitor_plugin_management.py +++ b/sdk/python/pulumi_oci/appmgmtcontrol/monitor_plugin_management.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['MonitorPluginManagementArgs', 'MonitorPluginManagement'] @@ -23,7 +23,16 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "monitored_instance_id", monitored_instance_id) + MonitorPluginManagementArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + monitored_instance_id=monitored_instance_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + monitored_instance_id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("monitored_instance_id", monitored_instance_id) @property @pulumi.getter(name="monitoredInstanceId") @@ -59,18 +68,37 @@ def __init__(__self__, *, ** 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 """ + _MonitorPluginManagementState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + monitored_instance_description=monitored_instance_description, + monitored_instance_display_name=monitored_instance_display_name, + monitored_instance_id=monitored_instance_id, + monitored_instance_management_agent_id=monitored_instance_management_agent_id, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + monitored_instance_description: Optional[pulumi.Input[str]] = None, + monitored_instance_display_name: Optional[pulumi.Input[str]] = None, + monitored_instance_id: Optional[pulumi.Input[str]] = None, + monitored_instance_management_agent_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if monitored_instance_description is not None: - pulumi.set(__self__, "monitored_instance_description", monitored_instance_description) + _setter("monitored_instance_description", monitored_instance_description) if monitored_instance_display_name is not None: - pulumi.set(__self__, "monitored_instance_display_name", monitored_instance_display_name) + _setter("monitored_instance_display_name", monitored_instance_display_name) if monitored_instance_id is not None: - pulumi.set(__self__, "monitored_instance_id", monitored_instance_id) + _setter("monitored_instance_id", monitored_instance_id) if monitored_instance_management_agent_id is not None: - pulumi.set(__self__, "monitored_instance_management_agent_id", monitored_instance_management_agent_id) + _setter("monitored_instance_management_agent_id", monitored_instance_management_agent_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) @property @pulumi.getter(name="compartmentId") @@ -205,6 +233,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + MonitorPluginManagementArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/appmgmtcontrol/outputs.py b/sdk/python/pulumi_oci/appmgmtcontrol/outputs.py index b0aa89c8d1..781579970c 100644 --- a/sdk/python/pulumi_oci/appmgmtcontrol/outputs.py +++ b/sdk/python/pulumi_oci/appmgmtcontrol/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -22,10 +22,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetMonitoredInstancesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -47,7 +60,16 @@ def regex(self) -> Optional[bool]: class GetMonitoredInstancesMonitoredInstanceCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetMonitoredInstancesMonitoredInstanceCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetMonitoredInstancesMonitoredInstanceCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetMonitoredInstancesMonitoredInstanceCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -78,15 +100,40 @@ def __init__(__self__, *, :param str time_created: The time the MonitoredInstance was created. An RFC3339 formatted datetime string :param str time_updated: The time the MonitoredInstance was updated. An RFC3339 formatted datetime string """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "instance_id", instance_id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "management_agent_id", management_agent_id) - pulumi.set(__self__, "monitoring_state", monitoring_state) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetMonitoredInstancesMonitoredInstanceCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + instance_id=instance_id, + lifecycle_details=lifecycle_details, + management_agent_id=management_agent_id, + monitoring_state=monitoring_state, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + display_name: str, + instance_id: str, + lifecycle_details: str, + management_agent_id: str, + monitoring_state: str, + state: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) + _setter("instance_id", instance_id) + _setter("lifecycle_details", lifecycle_details) + _setter("management_agent_id", management_agent_id) + _setter("monitoring_state", monitoring_state) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") diff --git a/sdk/python/pulumi_oci/artifacts/_inputs.py b/sdk/python/pulumi_oci/artifacts/_inputs.py index bcf20f4590..8c9135da2d 100644 --- a/sdk/python/pulumi_oci/artifacts/_inputs.py +++ b/sdk/python/pulumi_oci/artifacts/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -31,8 +31,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "content", content) - pulumi.set(__self__, "format", format) + ContainerRepositoryReadmeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + content=content, + format=format, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + content: pulumi.Input[str], + format: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("content", content) + _setter("format", format) @property @pulumi.getter @@ -69,10 +80,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetContainerImagesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -108,10 +132,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetContainerRepositoriesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -147,10 +184,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetContainerSignaturesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -186,10 +236,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetGenericArtifactsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -225,10 +288,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetRepositoriesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/artifacts/container_configuration.py b/sdk/python/pulumi_oci/artifacts/container_configuration.py index 0d1c5e2a02..1988d9874f 100644 --- a/sdk/python/pulumi_oci/artifacts/container_configuration.py +++ b/sdk/python/pulumi_oci/artifacts/container_configuration.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['ContainerConfigurationArgs', 'ContainerConfiguration'] @@ -20,8 +20,19 @@ def __init__(__self__, *, The set of arguments for constructing a ContainerConfiguration resource. :param pulumi.Input[bool] is_repository_created_on_first_push: Whether to create a new container repository when a container is pushed to a new repository path. Repositories created in this way belong to the root compartment. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "is_repository_created_on_first_push", is_repository_created_on_first_push) + ContainerConfigurationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + is_repository_created_on_first_push=is_repository_created_on_first_push, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + is_repository_created_on_first_push: pulumi.Input[bool], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("is_repository_created_on_first_push", is_repository_created_on_first_push) @property @pulumi.getter(name="compartmentId") @@ -56,12 +67,25 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_repository_created_on_first_push: Whether to create a new container repository when a container is pushed to a new repository path. Repositories created in this way belong to the root compartment. :param pulumi.Input[str] namespace: The tenancy namespace used in the container repository path. """ + _ContainerConfigurationState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + is_repository_created_on_first_push=is_repository_created_on_first_push, + namespace=namespace, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + is_repository_created_on_first_push: Optional[pulumi.Input[bool]] = None, + namespace: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if is_repository_created_on_first_push is not None: - pulumi.set(__self__, "is_repository_created_on_first_push", is_repository_created_on_first_push) + _setter("is_repository_created_on_first_push", is_repository_created_on_first_push) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) @property @pulumi.getter(name="compartmentId") @@ -165,6 +189,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ContainerConfigurationArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/artifacts/container_image_signature.py b/sdk/python/pulumi_oci/artifacts/container_image_signature.py index 1a2c535fd2..d7b1c073ef 100644 --- a/sdk/python/pulumi_oci/artifacts/container_image_signature.py +++ b/sdk/python/pulumi_oci/artifacts/container_image_signature.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['ContainerImageSignatureArgs', 'ContainerImageSignature'] @@ -39,17 +39,42 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` :param pulumi.Input[Mapping[str, Any]] freeform_tags: (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "image_id", image_id) - pulumi.set(__self__, "kms_key_id", kms_key_id) - pulumi.set(__self__, "kms_key_version_id", kms_key_version_id) - pulumi.set(__self__, "message", message) - pulumi.set(__self__, "signature", signature) - pulumi.set(__self__, "signing_algorithm", signing_algorithm) + ContainerImageSignatureArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + image_id=image_id, + kms_key_id=kms_key_id, + kms_key_version_id=kms_key_version_id, + message=message, + signature=signature, + signing_algorithm=signing_algorithm, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + image_id: pulumi.Input[str], + kms_key_id: pulumi.Input[str], + kms_key_version_id: pulumi.Input[str], + message: pulumi.Input[str], + signature: pulumi.Input[str], + signing_algorithm: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("image_id", image_id) + _setter("kms_key_id", kms_key_id) + _setter("kms_key_version_id", kms_key_version_id) + _setter("message", message) + _setter("signature", signature) + _setter("signing_algorithm", signing_algorithm) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="compartmentId") @@ -202,34 +227,69 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] system_tags: The system tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` :param pulumi.Input[str] time_created: An RFC 3339 timestamp indicating when the image was created. """ + _ContainerImageSignatureState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + created_by=created_by, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + image_id=image_id, + kms_key_id=kms_key_id, + kms_key_version_id=kms_key_version_id, + message=message, + signature=signature, + signing_algorithm=signing_algorithm, + state=state, + system_tags=system_tags, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + created_by: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + image_id: Optional[pulumi.Input[str]] = None, + kms_key_id: Optional[pulumi.Input[str]] = None, + kms_key_version_id: Optional[pulumi.Input[str]] = None, + message: Optional[pulumi.Input[str]] = None, + signature: Optional[pulumi.Input[str]] = None, + signing_algorithm: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if created_by is not None: - pulumi.set(__self__, "created_by", created_by) + _setter("created_by", created_by) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if image_id is not None: - pulumi.set(__self__, "image_id", image_id) + _setter("image_id", image_id) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) if kms_key_version_id is not None: - pulumi.set(__self__, "kms_key_version_id", kms_key_version_id) + _setter("kms_key_version_id", kms_key_version_id) if message is not None: - pulumi.set(__self__, "message", message) + _setter("message", message) if signature is not None: - pulumi.set(__self__, "signature", signature) + _setter("signature", signature) if signing_algorithm is not None: - pulumi.set(__self__, "signing_algorithm", signing_algorithm) + _setter("signing_algorithm", signing_algorithm) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -521,6 +581,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ContainerImageSignatureArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/artifacts/container_repository.py b/sdk/python/pulumi_oci/artifacts/container_repository.py index 83360fca6c..163ba37ccc 100644 --- a/sdk/python/pulumi_oci/artifacts/container_repository.py +++ b/sdk/python/pulumi_oci/artifacts/container_repository.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -33,18 +33,39 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_public: (Updatable) Whether the repository is public. A public repository allows unauthenticated access. :param pulumi.Input['ContainerRepositoryReadmeArgs'] readme: (Updatable) Container repository readme. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) + ContainerRepositoryArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + is_immutable=is_immutable, + is_public=is_public, + readme=readme, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_immutable: Optional[pulumi.Input[bool]] = None, + is_public: Optional[pulumi.Input[bool]] = None, + readme: Optional[pulumi.Input['ContainerRepositoryReadmeArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_immutable is not None: - pulumi.set(__self__, "is_immutable", is_immutable) + _setter("is_immutable", is_immutable) if is_public is not None: - pulumi.set(__self__, "is_public", is_public) + _setter("is_public", is_public) if readme is not None: - pulumi.set(__self__, "readme", readme) + _setter("readme", readme) @property @pulumi.getter(name="compartmentId") @@ -171,40 +192,81 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: An RFC 3339 timestamp indicating when the repository was created. :param pulumi.Input[str] time_last_pushed: An RFC 3339 timestamp indicating when an image was last pushed to the repository. """ + _ContainerRepositoryState._configure( + lambda key, value: pulumi.set(__self__, key, value), + billable_size_in_gbs=billable_size_in_gbs, + compartment_id=compartment_id, + created_by=created_by, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + image_count=image_count, + is_immutable=is_immutable, + is_public=is_public, + layer_count=layer_count, + layers_size_in_bytes=layers_size_in_bytes, + namespace=namespace, + readme=readme, + state=state, + system_tags=system_tags, + time_created=time_created, + time_last_pushed=time_last_pushed, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + billable_size_in_gbs: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + created_by: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + image_count: Optional[pulumi.Input[int]] = None, + is_immutable: Optional[pulumi.Input[bool]] = None, + is_public: Optional[pulumi.Input[bool]] = None, + layer_count: Optional[pulumi.Input[int]] = None, + layers_size_in_bytes: Optional[pulumi.Input[str]] = None, + namespace: Optional[pulumi.Input[str]] = None, + readme: Optional[pulumi.Input['ContainerRepositoryReadmeArgs']] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_last_pushed: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if billable_size_in_gbs is not None: - pulumi.set(__self__, "billable_size_in_gbs", billable_size_in_gbs) + _setter("billable_size_in_gbs", billable_size_in_gbs) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if created_by is not None: - pulumi.set(__self__, "created_by", created_by) + _setter("created_by", created_by) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if image_count is not None: - pulumi.set(__self__, "image_count", image_count) + _setter("image_count", image_count) if is_immutable is not None: - pulumi.set(__self__, "is_immutable", is_immutable) + _setter("is_immutable", is_immutable) if is_public is not None: - pulumi.set(__self__, "is_public", is_public) + _setter("is_public", is_public) if layer_count is not None: - pulumi.set(__self__, "layer_count", layer_count) + _setter("layer_count", layer_count) if layers_size_in_bytes is not None: - pulumi.set(__self__, "layers_size_in_bytes", layers_size_in_bytes) + _setter("layers_size_in_bytes", layers_size_in_bytes) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if readme is not None: - pulumi.set(__self__, "readme", readme) + _setter("readme", readme) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_last_pushed is not None: - pulumi.set(__self__, "time_last_pushed", time_last_pushed) + _setter("time_last_pushed", time_last_pushed) @property @pulumi.getter(name="billableSizeInGbs") @@ -522,6 +584,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ContainerRepositoryArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -553,6 +619,11 @@ def _internal_init(__self__, __props__.__dict__["freeform_tags"] = freeform_tags __props__.__dict__["is_immutable"] = is_immutable __props__.__dict__["is_public"] = is_public + if readme is not None and not isinstance(readme, ContainerRepositoryReadmeArgs): + readme = readme or {} + def _setter(key, value): + readme[key] = value + ContainerRepositoryReadmeArgs._configure(_setter, **readme) __props__.__dict__["readme"] = readme __props__.__dict__["billable_size_in_gbs"] = None __props__.__dict__["created_by"] = None diff --git a/sdk/python/pulumi_oci/artifacts/generic_artifact.py b/sdk/python/pulumi_oci/artifacts/generic_artifact.py index d0b2460b54..746d66426e 100644 --- a/sdk/python/pulumi_oci/artifacts/generic_artifact.py +++ b/sdk/python/pulumi_oci/artifacts/generic_artifact.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['GenericArtifactArgs', 'GenericArtifact'] @@ -27,11 +27,24 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "artifact_id", artifact_id) + GenericArtifactArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + artifact_id=artifact_id, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + artifact_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("artifact_id", artifact_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="artifactId") @@ -108,30 +121,61 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: An RFC 3339 timestamp indicating when the repository was created. :param pulumi.Input[str] version: A user-defined string to describe the artifact version. Example: `1.1.0` or `1.2-beta-2` """ + _GenericArtifactState._configure( + lambda key, value: pulumi.set(__self__, key, value), + artifact_id=artifact_id, + artifact_path=artifact_path, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + repository_id=repository_id, + sha256=sha256, + size_in_bytes=size_in_bytes, + state=state, + time_created=time_created, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + artifact_id: Optional[pulumi.Input[str]] = None, + artifact_path: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + repository_id: Optional[pulumi.Input[str]] = None, + sha256: Optional[pulumi.Input[str]] = None, + size_in_bytes: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + version: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if artifact_id is not None: - pulumi.set(__self__, "artifact_id", artifact_id) + _setter("artifact_id", artifact_id) if artifact_path is not None: - pulumi.set(__self__, "artifact_path", artifact_path) + _setter("artifact_path", artifact_path) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if repository_id is not None: - pulumi.set(__self__, "repository_id", repository_id) + _setter("repository_id", repository_id) if sha256 is not None: - pulumi.set(__self__, "sha256", sha256) + _setter("sha256", sha256) if size_in_bytes is not None: - pulumi.set(__self__, "size_in_bytes", size_in_bytes) + _setter("size_in_bytes", size_in_bytes) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter(name="artifactId") @@ -371,6 +415,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + GenericArtifactArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/artifacts/get_container_configuration.py b/sdk/python/pulumi_oci/artifacts/get_container_configuration.py index b25d4cb561..4468477b97 100644 --- a/sdk/python/pulumi_oci/artifacts/get_container_configuration.py +++ b/sdk/python/pulumi_oci/artifacts/get_container_configuration.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/artifacts/get_container_image.py b/sdk/python/pulumi_oci/artifacts/get_container_image.py index d664d1607d..90e6cf7aa4 100644 --- a/sdk/python/pulumi_oci/artifacts/get_container_image.py +++ b/sdk/python/pulumi_oci/artifacts/get_container_image.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/artifacts/get_container_image_signature.py b/sdk/python/pulumi_oci/artifacts/get_container_image_signature.py index 32302f6e05..7564471c8e 100644 --- a/sdk/python/pulumi_oci/artifacts/get_container_image_signature.py +++ b/sdk/python/pulumi_oci/artifacts/get_container_image_signature.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/artifacts/get_container_images.py b/sdk/python/pulumi_oci/artifacts/get_container_images.py index 709a3cf453..3ba0043722 100644 --- a/sdk/python/pulumi_oci/artifacts/get_container_images.py +++ b/sdk/python/pulumi_oci/artifacts/get_container_images.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/artifacts/get_container_repositories.py b/sdk/python/pulumi_oci/artifacts/get_container_repositories.py index e8d8c9a275..ffb6c7b592 100644 --- a/sdk/python/pulumi_oci/artifacts/get_container_repositories.py +++ b/sdk/python/pulumi_oci/artifacts/get_container_repositories.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/artifacts/get_container_repository.py b/sdk/python/pulumi_oci/artifacts/get_container_repository.py index 44b463891f..f2675ec888 100644 --- a/sdk/python/pulumi_oci/artifacts/get_container_repository.py +++ b/sdk/python/pulumi_oci/artifacts/get_container_repository.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/artifacts/get_container_signatures.py b/sdk/python/pulumi_oci/artifacts/get_container_signatures.py index 6fca065a1b..5fcdb21d6f 100644 --- a/sdk/python/pulumi_oci/artifacts/get_container_signatures.py +++ b/sdk/python/pulumi_oci/artifacts/get_container_signatures.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/artifacts/get_generic_artifact.py b/sdk/python/pulumi_oci/artifacts/get_generic_artifact.py index c58fd4cc2e..4185ca5efb 100644 --- a/sdk/python/pulumi_oci/artifacts/get_generic_artifact.py +++ b/sdk/python/pulumi_oci/artifacts/get_generic_artifact.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/artifacts/get_generic_artifacts.py b/sdk/python/pulumi_oci/artifacts/get_generic_artifacts.py index bb59526256..64d1ebb6d0 100644 --- a/sdk/python/pulumi_oci/artifacts/get_generic_artifacts.py +++ b/sdk/python/pulumi_oci/artifacts/get_generic_artifacts.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/artifacts/get_repositories.py b/sdk/python/pulumi_oci/artifacts/get_repositories.py index 46adc78120..a07ebba94a 100644 --- a/sdk/python/pulumi_oci/artifacts/get_repositories.py +++ b/sdk/python/pulumi_oci/artifacts/get_repositories.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/artifacts/get_repository.py b/sdk/python/pulumi_oci/artifacts/get_repository.py index 586219504a..aeae680ba4 100644 --- a/sdk/python/pulumi_oci/artifacts/get_repository.py +++ b/sdk/python/pulumi_oci/artifacts/get_repository.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/artifacts/outputs.py b/sdk/python/pulumi_oci/artifacts/outputs.py index e48d3374e8..151b077f0c 100644 --- a/sdk/python/pulumi_oci/artifacts/outputs.py +++ b/sdk/python/pulumi_oci/artifacts/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -48,8 +48,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "content", content) - pulumi.set(__self__, "format", format) + ContainerRepositoryReadme._configure( + lambda key, value: pulumi.set(__self__, key, value), + content=content, + format=format, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + content: str, + format: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("content", content) + _setter("format", format) @property @pulumi.getter @@ -83,9 +94,22 @@ def __init__(__self__, *, :param str size_in_bytes: The size of the layer in bytes. :param str time_created: The creation time of the version. """ - pulumi.set(__self__, "digest", digest) - pulumi.set(__self__, "size_in_bytes", size_in_bytes) - pulumi.set(__self__, "time_created", time_created) + GetContainerImageLayerResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + digest=digest, + size_in_bytes=size_in_bytes, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + digest: str, + size_in_bytes: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("digest", digest) + _setter("size_in_bytes", size_in_bytes) + _setter("time_created", time_created) @property @pulumi.getter @@ -123,9 +147,22 @@ def __init__(__self__, *, :param str time_created: The creation time of the version. :param str version: The version name. """ - pulumi.set(__self__, "created_by", created_by) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "version", version) + GetContainerImageVersionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created_by=created_by, + time_created=time_created, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created_by: str, + time_created: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created_by", created_by) + _setter("time_created", time_created) + _setter("version", version) @property @pulumi.getter(name="createdBy") @@ -157,8 +194,19 @@ class GetContainerImagesContainerImageCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetContainerImagesContainerImageCollectionItemResult'], remaining_items_count: int): - pulumi.set(__self__, "items", items) - pulumi.set(__self__, "remaining_items_count", remaining_items_count) + GetContainerImagesContainerImageCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + remaining_items_count=remaining_items_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetContainerImagesContainerImageCollectionItemResult'], + remaining_items_count: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) + _setter("remaining_items_count", remaining_items_count) @property @pulumi.getter @@ -214,25 +262,70 @@ def __init__(__self__, *, :param str version: A filter to return container images that match the version. Example: `foo` or `foo*` :param Sequence['GetContainerImagesContainerImageCollectionItemVersionArgs'] versions: The versions associated with this image. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "created_by", created_by) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "digest", digest) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "layers", layers) - pulumi.set(__self__, "layers_size_in_bytes", layers_size_in_bytes) - pulumi.set(__self__, "manifest_size_in_bytes", manifest_size_in_bytes) - pulumi.set(__self__, "pull_count", pull_count) - pulumi.set(__self__, "repository_id", repository_id) - pulumi.set(__self__, "repository_name", repository_name) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_last_pulled", time_last_pulled) - pulumi.set(__self__, "version", version) - pulumi.set(__self__, "versions", versions) + GetContainerImagesContainerImageCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + created_by=created_by, + defined_tags=defined_tags, + digest=digest, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + layers=layers, + layers_size_in_bytes=layers_size_in_bytes, + manifest_size_in_bytes=manifest_size_in_bytes, + pull_count=pull_count, + repository_id=repository_id, + repository_name=repository_name, + state=state, + system_tags=system_tags, + time_created=time_created, + time_last_pulled=time_last_pulled, + version=version, + versions=versions, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + created_by: str, + defined_tags: Mapping[str, Any], + digest: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + layers: Sequence['outputs.GetContainerImagesContainerImageCollectionItemLayerResult'], + layers_size_in_bytes: str, + manifest_size_in_bytes: int, + pull_count: str, + repository_id: str, + repository_name: str, + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_last_pulled: str, + version: str, + versions: Sequence['outputs.GetContainerImagesContainerImageCollectionItemVersionResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("created_by", created_by) + _setter("defined_tags", defined_tags) + _setter("digest", digest) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("layers", layers) + _setter("layers_size_in_bytes", layers_size_in_bytes) + _setter("manifest_size_in_bytes", manifest_size_in_bytes) + _setter("pull_count", pull_count) + _setter("repository_id", repository_id) + _setter("repository_name", repository_name) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_last_pulled", time_last_pulled) + _setter("version", version) + _setter("versions", versions) @property @pulumi.getter(name="compartmentId") @@ -398,9 +491,22 @@ def __init__(__self__, *, :param str size_in_bytes: The size of the layer in bytes. :param str time_created: The creation time of the version. """ - pulumi.set(__self__, "digest", digest) - pulumi.set(__self__, "size_in_bytes", size_in_bytes) - pulumi.set(__self__, "time_created", time_created) + GetContainerImagesContainerImageCollectionItemLayerResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + digest=digest, + size_in_bytes=size_in_bytes, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + digest: str, + size_in_bytes: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("digest", digest) + _setter("size_in_bytes", size_in_bytes) + _setter("time_created", time_created) @property @pulumi.getter @@ -438,9 +544,22 @@ def __init__(__self__, *, :param str time_created: The creation time of the version. :param str version: A filter to return container images that match the version. Example: `foo` or `foo*` """ - pulumi.set(__self__, "created_by", created_by) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "version", version) + GetContainerImagesContainerImageCollectionItemVersionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created_by=created_by, + time_created=time_created, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created_by: str, + time_created: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created_by", created_by) + _setter("time_created", time_created) + _setter("version", version) @property @pulumi.getter(name="createdBy") @@ -473,10 +592,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetContainerImagesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -508,12 +640,31 @@ def __init__(__self__, *, :param int layer_count: Total number of layers. :param str layers_size_in_bytes: Total storage in bytes consumed by layers. """ - pulumi.set(__self__, "image_count", image_count) - pulumi.set(__self__, "items", items) - pulumi.set(__self__, "layer_count", layer_count) - pulumi.set(__self__, "layers_size_in_bytes", layers_size_in_bytes) - pulumi.set(__self__, "remaining_items_count", remaining_items_count) - pulumi.set(__self__, "repository_count", repository_count) + GetContainerRepositoriesContainerRepositoryCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + image_count=image_count, + items=items, + layer_count=layer_count, + layers_size_in_bytes=layers_size_in_bytes, + remaining_items_count=remaining_items_count, + repository_count=repository_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + image_count: int, + items: Sequence['outputs.GetContainerRepositoriesContainerRepositoryCollectionItemResult'], + layer_count: int, + layers_size_in_bytes: str, + remaining_items_count: int, + repository_count: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("image_count", image_count) + _setter("items", items) + _setter("layer_count", layer_count) + _setter("layers_size_in_bytes", layers_size_in_bytes) + _setter("remaining_items_count", remaining_items_count) + _setter("repository_count", repository_count) @property @pulumi.getter(name="imageCount") @@ -596,24 +747,67 @@ def __init__(__self__, *, :param str time_created: An RFC 3339 timestamp indicating when the repository was created. :param str time_last_pushed: An RFC 3339 timestamp indicating when an image was last pushed to the repository. """ - pulumi.set(__self__, "billable_size_in_gbs", billable_size_in_gbs) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "created_by", created_by) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "image_count", image_count) - pulumi.set(__self__, "is_immutable", is_immutable) - pulumi.set(__self__, "is_public", is_public) - pulumi.set(__self__, "layer_count", layer_count) - pulumi.set(__self__, "layers_size_in_bytes", layers_size_in_bytes) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "readmes", readmes) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_last_pushed", time_last_pushed) + GetContainerRepositoriesContainerRepositoryCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + billable_size_in_gbs=billable_size_in_gbs, + compartment_id=compartment_id, + created_by=created_by, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + image_count=image_count, + is_immutable=is_immutable, + is_public=is_public, + layer_count=layer_count, + layers_size_in_bytes=layers_size_in_bytes, + namespace=namespace, + readmes=readmes, + state=state, + system_tags=system_tags, + time_created=time_created, + time_last_pushed=time_last_pushed, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + billable_size_in_gbs: str, + compartment_id: str, + created_by: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + image_count: int, + is_immutable: bool, + is_public: bool, + layer_count: int, + layers_size_in_bytes: str, + namespace: str, + readmes: Sequence['outputs.GetContainerRepositoriesContainerRepositoryCollectionItemReadmeResult'], + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_last_pushed: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("billable_size_in_gbs", billable_size_in_gbs) + _setter("compartment_id", compartment_id) + _setter("created_by", created_by) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("image_count", image_count) + _setter("is_immutable", is_immutable) + _setter("is_public", is_public) + _setter("layer_count", layer_count) + _setter("layers_size_in_bytes", layers_size_in_bytes) + _setter("namespace", namespace) + _setter("readmes", readmes) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_last_pushed", time_last_pushed) @property @pulumi.getter(name="billableSizeInGbs") @@ -769,8 +963,19 @@ def __init__(__self__, *, :param str content: Readme content. Avoid entering confidential information. :param str format: Readme format. Supported formats are text/plain and text/markdown. """ - pulumi.set(__self__, "content", content) - pulumi.set(__self__, "format", format) + GetContainerRepositoriesContainerRepositoryCollectionItemReadmeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + content=content, + format=format, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + content: str, + format: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("content", content) + _setter("format", format) @property @pulumi.getter @@ -795,10 +1000,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetContainerRepositoriesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -825,8 +1043,19 @@ def __init__(__self__, *, :param str content: Readme content. Avoid entering confidential information. :param str format: Readme format. Supported formats are text/plain and text/markdown. """ - pulumi.set(__self__, "content", content) - pulumi.set(__self__, "format", format) + GetContainerRepositoryReadmeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + content=content, + format=format, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + content: str, + format: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("content", content) + _setter("format", format) @property @pulumi.getter @@ -850,8 +1079,19 @@ class GetContainerSignaturesContainerImageSignatureCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetContainerSignaturesContainerImageSignatureCollectionItemResult'], remaining_items_count: int): - pulumi.set(__self__, "items", items) - pulumi.set(__self__, "remaining_items_count", remaining_items_count) + GetContainerSignaturesContainerImageSignatureCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + remaining_items_count=remaining_items_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetContainerSignaturesContainerImageSignatureCollectionItemResult'], + remaining_items_count: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) + _setter("remaining_items_count", remaining_items_count) @property @pulumi.getter @@ -899,21 +1139,58 @@ def __init__(__self__, *, :param Mapping[str, Any] system_tags: The system tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` :param str time_created: An RFC 3339 timestamp indicating when the image was created. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "created_by", created_by) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "image_id", image_id) - pulumi.set(__self__, "kms_key_id", kms_key_id) - pulumi.set(__self__, "kms_key_version_id", kms_key_version_id) - pulumi.set(__self__, "message", message) - pulumi.set(__self__, "signature", signature) - pulumi.set(__self__, "signing_algorithm", signing_algorithm) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) + GetContainerSignaturesContainerImageSignatureCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + created_by=created_by, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + image_id=image_id, + kms_key_id=kms_key_id, + kms_key_version_id=kms_key_version_id, + message=message, + signature=signature, + signing_algorithm=signing_algorithm, + state=state, + system_tags=system_tags, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + created_by: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + image_id: str, + kms_key_id: str, + kms_key_version_id: str, + message: str, + signature: str, + signing_algorithm: str, + state: str, + system_tags: Mapping[str, Any], + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("created_by", created_by) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("image_id", image_id) + _setter("kms_key_id", kms_key_id) + _setter("kms_key_version_id", kms_key_version_id) + _setter("message", message) + _setter("signature", signature) + _setter("signing_algorithm", signing_algorithm) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -1042,10 +1319,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetContainerSignaturesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1069,10 +1359,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetGenericArtifactsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1094,7 +1397,16 @@ def regex(self) -> Optional[bool]: class GetGenericArtifactsGenericArtifactCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetGenericArtifactsGenericArtifactCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetGenericArtifactsGenericArtifactCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetGenericArtifactsGenericArtifactCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1132,19 +1444,52 @@ def __init__(__self__, *, :param str time_created: An RFC 3339 timestamp indicating when the repository was created. :param str version: Filter results by a prefix for `version` and return artifacts that that begin with the specified prefix in their version. """ - pulumi.set(__self__, "artifact_id", artifact_id) - pulumi.set(__self__, "artifact_path", artifact_path) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "repository_id", repository_id) - pulumi.set(__self__, "sha256", sha256) - pulumi.set(__self__, "size_in_bytes", size_in_bytes) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "version", version) + GetGenericArtifactsGenericArtifactCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + artifact_id=artifact_id, + artifact_path=artifact_path, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + repository_id=repository_id, + sha256=sha256, + size_in_bytes=size_in_bytes, + state=state, + time_created=time_created, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + artifact_id: str, + artifact_path: str, + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + repository_id: str, + sha256: str, + size_in_bytes: str, + state: str, + time_created: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("artifact_id", artifact_id) + _setter("artifact_path", artifact_path) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("repository_id", repository_id) + _setter("sha256", sha256) + _setter("size_in_bytes", size_in_bytes) + _setter("state", state) + _setter("time_created", time_created) + _setter("version", version) @property @pulumi.getter(name="artifactId") @@ -1254,10 +1599,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetRepositoriesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1279,7 +1637,16 @@ def regex(self) -> Optional[bool]: class GetRepositoriesRepositoryCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetRepositoriesRepositoryCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetRepositoriesRepositoryCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetRepositoriesRepositoryCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1312,16 +1679,43 @@ def __init__(__self__, *, :param str state: A filter to return only resources that match the given lifecycle state name exactly. :param str time_created: An RFC 3339 timestamp indicating when the repository was created. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_immutable", is_immutable) - pulumi.set(__self__, "repository_type", repository_type) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) + GetRepositoriesRepositoryCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + is_immutable=is_immutable, + repository_type=repository_type, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + is_immutable: bool, + repository_type: str, + state: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_immutable", is_immutable) + _setter("repository_type", repository_type) + _setter("state", state) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") diff --git a/sdk/python/pulumi_oci/artifacts/repository.py b/sdk/python/pulumi_oci/artifacts/repository.py index 9c42446453..72ae11c85c 100644 --- a/sdk/python/pulumi_oci/artifacts/repository.py +++ b/sdk/python/pulumi_oci/artifacts/repository.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['RepositoryArgs', 'Repository'] @@ -35,17 +35,38 @@ def __init__(__self__, *, :param pulumi.Input[str] display_name: (Updatable) A user-friendly display name for the repository. If not present, will be auto-generated. It can be modified later. Avoid entering confidential information. :param pulumi.Input[Mapping[str, Any]] freeform_tags: (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "is_immutable", is_immutable) - pulumi.set(__self__, "repository_type", repository_type) + RepositoryArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + is_immutable=is_immutable, + repository_type=repository_type, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + is_immutable: pulumi.Input[bool], + repository_type: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("is_immutable", is_immutable) + _setter("repository_type", repository_type) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="compartmentId") @@ -164,24 +185,49 @@ def __init__(__self__, *, :param pulumi.Input[str] state: The current state of the repository. :param pulumi.Input[str] time_created: An RFC 3339 timestamp indicating when the repository was created. """ + _RepositoryState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + is_immutable=is_immutable, + repository_type=repository_type, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_immutable: Optional[pulumi.Input[bool]] = None, + repository_type: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_immutable is not None: - pulumi.set(__self__, "is_immutable", is_immutable) + _setter("is_immutable", is_immutable) if repository_type is not None: - pulumi.set(__self__, "repository_type", repository_type) + _setter("repository_type", repository_type) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -405,6 +451,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + RepositoryArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/audit/_inputs.py b/sdk/python/pulumi_oci/audit/_inputs.py index 8529b731c4..33e5c0c495 100644 --- a/sdk/python/pulumi_oci/audit/_inputs.py +++ b/sdk/python/pulumi_oci/audit/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -19,10 +19,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetEventsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/audit/configuration.py b/sdk/python/pulumi_oci/audit/configuration.py index af84d36a5d..c2ef700cdb 100644 --- a/sdk/python/pulumi_oci/audit/configuration.py +++ b/sdk/python/pulumi_oci/audit/configuration.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['ConfigurationArgs', 'Configuration'] @@ -25,8 +25,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "retention_period_days", retention_period_days) + ConfigurationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + retention_period_days=retention_period_days, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + retention_period_days: pulumi.Input[int], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("retention_period_days", retention_period_days) @property @pulumi.getter(name="compartmentId") @@ -71,10 +82,21 @@ def __init__(__self__, *, ** 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 """ + _ConfigurationState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + retention_period_days=retention_period_days, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + retention_period_days: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if retention_period_days is not None: - pulumi.set(__self__, "retention_period_days", retention_period_days) + _setter("retention_period_days", retention_period_days) @property @pulumi.getter(name="compartmentId") @@ -174,6 +196,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ConfigurationArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/audit/get_configuration.py b/sdk/python/pulumi_oci/audit/get_configuration.py index f73576a7ff..89f8df9793 100644 --- a/sdk/python/pulumi_oci/audit/get_configuration.py +++ b/sdk/python/pulumi_oci/audit/get_configuration.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/audit/get_events.py b/sdk/python/pulumi_oci/audit/get_events.py index 4939a3d43e..6ac5b95883 100644 --- a/sdk/python/pulumi_oci/audit/get_events.py +++ b/sdk/python/pulumi_oci/audit/get_events.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/audit/outputs.py b/sdk/python/pulumi_oci/audit/outputs.py index 4179fc787b..3e2725f8a6 100644 --- a/sdk/python/pulumi_oci/audit/outputs.py +++ b/sdk/python/pulumi_oci/audit/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -41,14 +41,37 @@ def __init__(__self__, *, :param str event_type_version: The version of the event type. This version applies to the payload of the event, not the envelope. Use `cloudEventsVersion` to determine the version of the envelope. Example: `2.0` :param str source: The source of the event. Example: `ComputeApi` """ - pulumi.set(__self__, "cloud_events_version", cloud_events_version) - pulumi.set(__self__, "content_type", content_type) - pulumi.set(__self__, "datas", datas) - pulumi.set(__self__, "event_id", event_id) - pulumi.set(__self__, "event_time", event_time) - pulumi.set(__self__, "event_type", event_type) - pulumi.set(__self__, "event_type_version", event_type_version) - pulumi.set(__self__, "source", source) + GetEventsAuditEventResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cloud_events_version=cloud_events_version, + content_type=content_type, + datas=datas, + event_id=event_id, + event_time=event_time, + event_type=event_type, + event_type_version=event_type_version, + source=source, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cloud_events_version: str, + content_type: str, + datas: Sequence['outputs.GetEventsAuditEventDataResult'], + event_id: str, + event_time: str, + event_type: str, + event_type_version: str, + source: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cloud_events_version", cloud_events_version) + _setter("content_type", content_type) + _setter("datas", datas) + _setter("event_id", event_id) + _setter("event_time", event_time) + _setter("event_type", event_type) + _setter("event_type_version", event_type_version) + _setter("source", source) @property @pulumi.getter(name="cloudEventsVersion") @@ -148,20 +171,55 @@ def __init__(__self__, *, :param Sequence['GetEventsAuditEventDataResponseArgs'] responses: A container object for response attributes. :param Sequence['GetEventsAuditEventDataStateChangeArgs'] state_changes: A container object for state change attributes. """ - pulumi.set(__self__, "additional_details", additional_details) - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "compartment_name", compartment_name) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "event_grouping_id", event_grouping_id) - pulumi.set(__self__, "event_name", event_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "identities", identities) - pulumi.set(__self__, "requests", requests) - pulumi.set(__self__, "resource_id", resource_id) - pulumi.set(__self__, "resource_name", resource_name) - pulumi.set(__self__, "responses", responses) - pulumi.set(__self__, "state_changes", state_changes) + GetEventsAuditEventDataResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + additional_details=additional_details, + availability_domain=availability_domain, + compartment_id=compartment_id, + compartment_name=compartment_name, + defined_tags=defined_tags, + event_grouping_id=event_grouping_id, + event_name=event_name, + freeform_tags=freeform_tags, + identities=identities, + requests=requests, + resource_id=resource_id, + resource_name=resource_name, + responses=responses, + state_changes=state_changes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + additional_details: Mapping[str, Any], + availability_domain: str, + compartment_id: str, + compartment_name: str, + defined_tags: Mapping[str, Any], + event_grouping_id: str, + event_name: str, + freeform_tags: Mapping[str, Any], + identities: Sequence['outputs.GetEventsAuditEventDataIdentityResult'], + requests: Sequence['outputs.GetEventsAuditEventDataRequestResult'], + resource_id: str, + resource_name: str, + responses: Sequence['outputs.GetEventsAuditEventDataResponseResult'], + state_changes: Sequence['outputs.GetEventsAuditEventDataStateChangeResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("additional_details", additional_details) + _setter("availability_domain", availability_domain) + _setter("compartment_id", compartment_id) + _setter("compartment_name", compartment_name) + _setter("defined_tags", defined_tags) + _setter("event_grouping_id", event_grouping_id) + _setter("event_name", event_name) + _setter("freeform_tags", freeform_tags) + _setter("identities", identities) + _setter("requests", requests) + _setter("resource_id", resource_id) + _setter("resource_name", resource_name) + _setter("responses", responses) + _setter("state_changes", state_changes) @property @pulumi.getter(name="additionalDetails") @@ -301,16 +359,43 @@ def __init__(__self__, *, :param str tenant_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the tenant. :param str user_agent: The user agent of the client that made the request. Example: `Jersey/2.23 (HttpUrlConnection 1.8.0_212)` """ - pulumi.set(__self__, "auth_type", auth_type) - pulumi.set(__self__, "caller_id", caller_id) - pulumi.set(__self__, "caller_name", caller_name) - pulumi.set(__self__, "console_session_id", console_session_id) - pulumi.set(__self__, "credentials", credentials) - pulumi.set(__self__, "ip_address", ip_address) - pulumi.set(__self__, "principal_id", principal_id) - pulumi.set(__self__, "principal_name", principal_name) - pulumi.set(__self__, "tenant_id", tenant_id) - pulumi.set(__self__, "user_agent", user_agent) + GetEventsAuditEventDataIdentityResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + auth_type=auth_type, + caller_id=caller_id, + caller_name=caller_name, + console_session_id=console_session_id, + credentials=credentials, + ip_address=ip_address, + principal_id=principal_id, + principal_name=principal_name, + tenant_id=tenant_id, + user_agent=user_agent, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + auth_type: str, + caller_id: str, + caller_name: str, + console_session_id: str, + credentials: str, + ip_address: str, + principal_id: str, + principal_name: str, + tenant_id: str, + user_agent: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("auth_type", auth_type) + _setter("caller_id", caller_id) + _setter("caller_name", caller_name) + _setter("console_session_id", console_session_id) + _setter("credentials", credentials) + _setter("ip_address", ip_address) + _setter("principal_id", principal_id) + _setter("principal_name", principal_name) + _setter("tenant_id", tenant_id) + _setter("user_agent", user_agent) @property @pulumi.getter(name="authType") @@ -408,11 +493,28 @@ def __init__(__self__, *, :param Mapping[str, Any] parameters: The parameters supplied by the caller during this operation. :param str path: The full path of the API request. Example: `/20160918/instances/ocid1.instance.oc1.phx.` """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "headers", headers) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "parameters", parameters) - pulumi.set(__self__, "path", path) + GetEventsAuditEventDataRequestResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + headers=headers, + id=id, + parameters=parameters, + path=path, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: str, + headers: Mapping[str, Any], + id: str, + parameters: Mapping[str, Any], + path: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("headers", headers) + _setter("id", id) + _setter("parameters", parameters) + _setter("path", path) @property @pulumi.getter @@ -470,11 +572,28 @@ def __init__(__self__, *, :param str response_time: The time of the response to the audited request, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-09-18T00:10:59.278Z` :param str status: The status code of the response. Example: `200` """ - pulumi.set(__self__, "headers", headers) - pulumi.set(__self__, "message", message) - pulumi.set(__self__, "payload", payload) - pulumi.set(__self__, "response_time", response_time) - pulumi.set(__self__, "status", status) + GetEventsAuditEventDataResponseResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + headers=headers, + message=message, + payload=payload, + response_time=response_time, + status=status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + headers: Mapping[str, Any], + message: str, + payload: Mapping[str, Any], + response_time: str, + status: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("headers", headers) + _setter("message", message) + _setter("payload", payload) + _setter("response_time", response_time) + _setter("status", status) @property @pulumi.getter @@ -526,8 +645,19 @@ def __init__(__self__, *, :param Mapping[str, Any] current: Provides the current state of fields that may have changed during an operation. To determine how the current operation changed a resource, compare the information in this attribute to `previous`. :param Mapping[str, Any] previous: Provides the previous state of fields that may have changed during an operation. To determine how the current operation changed a resource, compare the information in this attribute to `current`. """ - pulumi.set(__self__, "current", current) - pulumi.set(__self__, "previous", previous) + GetEventsAuditEventDataStateChangeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + current=current, + previous=previous, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + current: Mapping[str, Any], + previous: Mapping[str, Any], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("current", current) + _setter("previous", previous) @property @pulumi.getter @@ -552,10 +682,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetEventsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/autoscaling/_inputs.py b/sdk/python/pulumi_oci/autoscaling/_inputs.py index d03fe8e992..6c0d27b39d 100644 --- a/sdk/python/pulumi_oci/autoscaling/_inputs.py +++ b/sdk/python/pulumi_oci/autoscaling/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -31,8 +31,19 @@ def __init__(__self__, *, :param pulumi.Input[str] id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource that is managed by the autoscaling configuration. :param pulumi.Input[str] type: The type of action to take. """ - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "type", type) + AutoScalingConfigurationAutoScalingResourcesArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: pulumi.Input[str], + type: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) + _setter("type", type) @property @pulumi.getter @@ -74,30 +85,54 @@ def __init__(__self__, *, """ :param pulumi.Input[str] policy_type: The type of autoscaling policy. :param pulumi.Input['AutoScalingConfigurationPolicyCapacityArgs'] capacity: The capacity requirements of the autoscaling policy. - :param pulumi.Input[str] display_name: A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. :param pulumi.Input['AutoScalingConfigurationPolicyExecutionScheduleArgs'] execution_schedule: An execution schedule for an autoscaling policy. :param pulumi.Input[str] id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource that is managed by the autoscaling configuration. :param pulumi.Input[bool] is_enabled: Whether the autoscaling policy is enabled. :param pulumi.Input['AutoScalingConfigurationPolicyResourceActionArgs'] resource_action: An action that can be executed against a resource. :param pulumi.Input[str] time_created: The date and time the autoscaling configuration was created, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z` """ - pulumi.set(__self__, "policy_type", policy_type) + AutoScalingConfigurationPolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + policy_type=policy_type, + capacity=capacity, + display_name=display_name, + execution_schedule=execution_schedule, + id=id, + is_enabled=is_enabled, + resource_action=resource_action, + rules=rules, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + policy_type: pulumi.Input[str], + capacity: Optional[pulumi.Input['AutoScalingConfigurationPolicyCapacityArgs']] = None, + display_name: Optional[pulumi.Input[str]] = None, + execution_schedule: Optional[pulumi.Input['AutoScalingConfigurationPolicyExecutionScheduleArgs']] = None, + id: Optional[pulumi.Input[str]] = None, + is_enabled: Optional[pulumi.Input[bool]] = None, + resource_action: Optional[pulumi.Input['AutoScalingConfigurationPolicyResourceActionArgs']] = None, + rules: Optional[pulumi.Input[Sequence[pulumi.Input['AutoScalingConfigurationPolicyRuleArgs']]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("policy_type", policy_type) if capacity is not None: - pulumi.set(__self__, "capacity", capacity) + _setter("capacity", capacity) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if execution_schedule is not None: - pulumi.set(__self__, "execution_schedule", execution_schedule) + _setter("execution_schedule", execution_schedule) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) if resource_action is not None: - pulumi.set(__self__, "resource_action", resource_action) + _setter("resource_action", resource_action) if rules is not None: - pulumi.set(__self__, "rules", rules) + _setter("rules", rules) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="policyType") @@ -126,9 +161,6 @@ def capacity(self, value: Optional[pulumi.Input['AutoScalingConfigurationPolicyC @property @pulumi.getter(name="displayName") def display_name(self) -> Optional[pulumi.Input[str]]: - """ - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. - """ return pulumi.get(self, "display_name") @display_name.setter @@ -222,12 +254,25 @@ def __init__(__self__, *, For a schedule-based autoscaling policy, this value is not used. """ + AutoScalingConfigurationPolicyCapacityArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + initial=initial, + max=max, + min=min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + initial: Optional[pulumi.Input[int]] = None, + max: Optional[pulumi.Input[int]] = None, + min: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if initial is not None: - pulumi.set(__self__, "initial", initial) + _setter("initial", initial) if max is not None: - pulumi.set(__self__, "max", max) + _setter("max", max) if min is not None: - pulumi.set(__self__, "min", min) + _setter("min", min) @property @pulumi.getter @@ -291,9 +336,22 @@ def __init__(__self__, *, :param pulumi.Input[str] timezone: The time zone for the execution schedule. :param pulumi.Input[str] type: The type of action to take. """ - pulumi.set(__self__, "expression", expression) - pulumi.set(__self__, "timezone", timezone) - pulumi.set(__self__, "type", type) + AutoScalingConfigurationPolicyExecutionScheduleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + expression=expression, + timezone=timezone, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + expression: pulumi.Input[str], + timezone: pulumi.Input[str], + type: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("expression", expression) + _setter("timezone", timezone) + _setter("type", type) @property @pulumi.getter @@ -349,8 +407,19 @@ def __init__(__self__, *, :param pulumi.Input[str] action: The action to take when autoscaling is triggered. :param pulumi.Input[str] action_type: The type of resource action. """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "action_type", action_type) + AutoScalingConfigurationPolicyResourceActionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + action_type=action_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: pulumi.Input[str], + action_type: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("action_type", action_type) @property @pulumi.getter @@ -385,25 +454,36 @@ def __init__(__self__, *, id: Optional[pulumi.Input[str]] = None, metric: Optional[pulumi.Input['AutoScalingConfigurationPolicyRuleMetricArgs']] = None): """ - :param pulumi.Input[str] display_name: A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. :param pulumi.Input['AutoScalingConfigurationPolicyRuleActionArgs'] action: The action to take when autoscaling is triggered. :param pulumi.Input[str] id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource that is managed by the autoscaling configuration. :param pulumi.Input['AutoScalingConfigurationPolicyRuleMetricArgs'] metric: Metric and threshold details for triggering an autoscaling action. """ - pulumi.set(__self__, "display_name", display_name) + AutoScalingConfigurationPolicyRuleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + action=action, + id=id, + metric=metric, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: pulumi.Input[str], + action: Optional[pulumi.Input['AutoScalingConfigurationPolicyRuleActionArgs']] = None, + id: Optional[pulumi.Input[str]] = None, + metric: Optional[pulumi.Input['AutoScalingConfigurationPolicyRuleMetricArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) if action is not None: - pulumi.set(__self__, "action", action) + _setter("action", action) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if metric is not None: - pulumi.set(__self__, "metric", metric) + _setter("metric", metric) @property @pulumi.getter(name="displayName") def display_name(self) -> pulumi.Input[str]: - """ - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. - """ return pulumi.get(self, "display_name") @display_name.setter @@ -457,10 +537,21 @@ def __init__(__self__, *, :param pulumi.Input[int] value: ** 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 """ + AutoScalingConfigurationPolicyRuleActionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -493,10 +584,21 @@ class AutoScalingConfigurationPolicyRuleMetricArgs: def __init__(__self__, *, metric_type: Optional[pulumi.Input[str]] = None, threshold: Optional[pulumi.Input['AutoScalingConfigurationPolicyRuleMetricThresholdArgs']] = None): + AutoScalingConfigurationPolicyRuleMetricArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metric_type=metric_type, + threshold=threshold, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metric_type: Optional[pulumi.Input[str]] = None, + threshold: Optional[pulumi.Input['AutoScalingConfigurationPolicyRuleMetricThresholdArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metric_type is not None: - pulumi.set(__self__, "metric_type", metric_type) + _setter("metric_type", metric_type) if threshold is not None: - pulumi.set(__self__, "threshold", threshold) + _setter("threshold", threshold) @property @pulumi.getter(name="metricType") @@ -527,10 +629,21 @@ def __init__(__self__, *, :param pulumi.Input[int] value: ** 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 """ + AutoScalingConfigurationPolicyRuleMetricThresholdArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + operator=operator, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + operator: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if operator is not None: - pulumi.set(__self__, "operator", operator) + _setter("operator", operator) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -564,10 +677,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAutoScalingConfigurationsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/autoscaling/auto_scaling_configuration.py b/sdk/python/pulumi_oci/autoscaling/auto_scaling_configuration.py index 4437bbf764..ac0d9e8a26 100644 --- a/sdk/python/pulumi_oci/autoscaling/auto_scaling_configuration.py +++ b/sdk/python/pulumi_oci/autoscaling/auto_scaling_configuration.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -35,23 +35,45 @@ def __init__(__self__, *, For schedule-based autoscaling policies, this value is not used. :param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` - :param pulumi.Input[str] display_name: A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. :param pulumi.Input[Mapping[str, Any]] freeform_tags: (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` :param pulumi.Input[bool] is_enabled: Whether the autoscaling policy is enabled. """ - pulumi.set(__self__, "auto_scaling_resources", auto_scaling_resources) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "policies", policies) + AutoScalingConfigurationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + auto_scaling_resources=auto_scaling_resources, + compartment_id=compartment_id, + policies=policies, + cool_down_in_seconds=cool_down_in_seconds, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + is_enabled=is_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + auto_scaling_resources: pulumi.Input['AutoScalingConfigurationAutoScalingResourcesArgs'], + compartment_id: pulumi.Input[str], + policies: pulumi.Input[Sequence[pulumi.Input['AutoScalingConfigurationPolicyArgs']]], + cool_down_in_seconds: Optional[pulumi.Input[int]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_enabled: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("auto_scaling_resources", auto_scaling_resources) + _setter("compartment_id", compartment_id) + _setter("policies", policies) if cool_down_in_seconds is not None: - pulumi.set(__self__, "cool_down_in_seconds", cool_down_in_seconds) + _setter("cool_down_in_seconds", cool_down_in_seconds) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) @property @pulumi.getter(name="autoScalingResources") @@ -120,9 +142,6 @@ def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): @property @pulumi.getter(name="displayName") def display_name(self) -> Optional[pulumi.Input[str]]: - """ - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. - """ return pulumi.get(self, "display_name") @display_name.setter @@ -178,7 +197,6 @@ def __init__(__self__, *, For schedule-based autoscaling policies, this value is not used. :param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` - :param pulumi.Input[str] display_name: A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. :param pulumi.Input[Mapping[str, Any]] freeform_tags: (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` :param pulumi.Input[bool] is_enabled: Whether the autoscaling policy is enabled. :param pulumi.Input[int] max_resource_count: The maximum number of resources to scale out to. @@ -186,28 +204,57 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['AutoScalingConfigurationPolicyArgs']]] policies: Autoscaling policy definitions for the autoscaling configuration. An autoscaling policy defines the criteria that trigger autoscaling actions and the actions to take. :param pulumi.Input[str] time_created: The date and time the autoscaling configuration was created, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z` """ + _AutoScalingConfigurationState._configure( + lambda key, value: pulumi.set(__self__, key, value), + auto_scaling_resources=auto_scaling_resources, + compartment_id=compartment_id, + cool_down_in_seconds=cool_down_in_seconds, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + is_enabled=is_enabled, + max_resource_count=max_resource_count, + min_resource_count=min_resource_count, + policies=policies, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + auto_scaling_resources: Optional[pulumi.Input['AutoScalingConfigurationAutoScalingResourcesArgs']] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + cool_down_in_seconds: Optional[pulumi.Input[int]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_enabled: Optional[pulumi.Input[bool]] = None, + max_resource_count: Optional[pulumi.Input[int]] = None, + min_resource_count: Optional[pulumi.Input[int]] = None, + policies: Optional[pulumi.Input[Sequence[pulumi.Input['AutoScalingConfigurationPolicyArgs']]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if auto_scaling_resources is not None: - pulumi.set(__self__, "auto_scaling_resources", auto_scaling_resources) + _setter("auto_scaling_resources", auto_scaling_resources) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if cool_down_in_seconds is not None: - pulumi.set(__self__, "cool_down_in_seconds", cool_down_in_seconds) + _setter("cool_down_in_seconds", cool_down_in_seconds) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) if max_resource_count is not None: - pulumi.set(__self__, "max_resource_count", max_resource_count) + _setter("max_resource_count", max_resource_count) if min_resource_count is not None: - pulumi.set(__self__, "min_resource_count", min_resource_count) + _setter("min_resource_count", min_resource_count) if policies is not None: - pulumi.set(__self__, "policies", policies) + _setter("policies", policies) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="autoScalingResources") @@ -264,9 +311,6 @@ def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): @property @pulumi.getter(name="displayName") def display_name(self) -> Optional[pulumi.Input[str]]: - """ - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. - """ return pulumi.get(self, "display_name") @display_name.setter @@ -439,7 +483,6 @@ def __init__(__self__, For schedule-based autoscaling policies, this value is not used. :param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` - :param pulumi.Input[str] display_name: A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. :param pulumi.Input[Mapping[str, Any]] freeform_tags: (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` :param pulumi.Input[bool] is_enabled: Whether the autoscaling policy is enabled. :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['AutoScalingConfigurationPolicyArgs']]]] policies: Autoscaling policy definitions for the autoscaling configuration. An autoscaling policy defines the criteria that trigger autoscaling actions and the actions to take. @@ -529,6 +572,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + AutoScalingConfigurationArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -551,6 +598,11 @@ def _internal_init(__self__, raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = AutoScalingConfigurationArgs.__new__(AutoScalingConfigurationArgs) + if auto_scaling_resources is not None and not isinstance(auto_scaling_resources, AutoScalingConfigurationAutoScalingResourcesArgs): + auto_scaling_resources = auto_scaling_resources or {} + def _setter(key, value): + auto_scaling_resources[key] = value + AutoScalingConfigurationAutoScalingResourcesArgs._configure(_setter, **auto_scaling_resources) if auto_scaling_resources is None and not opts.urn: raise TypeError("Missing required property 'auto_scaling_resources'") __props__.__dict__["auto_scaling_resources"] = auto_scaling_resources @@ -604,7 +656,6 @@ def get(resource_name: str, For schedule-based autoscaling policies, this value is not used. :param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` - :param pulumi.Input[str] display_name: A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. :param pulumi.Input[Mapping[str, Any]] freeform_tags: (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` :param pulumi.Input[bool] is_enabled: Whether the autoscaling policy is enabled. :param pulumi.Input[int] max_resource_count: The maximum number of resources to scale out to. @@ -668,9 +719,6 @@ def defined_tags(self) -> pulumi.Output[Mapping[str, Any]]: @property @pulumi.getter(name="displayName") def display_name(self) -> pulumi.Output[str]: - """ - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. - """ return pulumi.get(self, "display_name") @property diff --git a/sdk/python/pulumi_oci/autoscaling/get_auto_scaling_configuration.py b/sdk/python/pulumi_oci/autoscaling/get_auto_scaling_configuration.py index acf61546a3..51dc03bd78 100644 --- a/sdk/python/pulumi_oci/autoscaling/get_auto_scaling_configuration.py +++ b/sdk/python/pulumi_oci/autoscaling/get_auto_scaling_configuration.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/autoscaling/get_auto_scaling_configurations.py b/sdk/python/pulumi_oci/autoscaling/get_auto_scaling_configurations.py index 2c7721ad24..54b8cbd64a 100644 --- a/sdk/python/pulumi_oci/autoscaling/get_auto_scaling_configurations.py +++ b/sdk/python/pulumi_oci/autoscaling/get_auto_scaling_configurations.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/autoscaling/outputs.py b/sdk/python/pulumi_oci/autoscaling/outputs.py index 6563e17bbb..07bedacc72 100644 --- a/sdk/python/pulumi_oci/autoscaling/outputs.py +++ b/sdk/python/pulumi_oci/autoscaling/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -51,8 +51,19 @@ def __init__(__self__, *, :param str id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource that is managed by the autoscaling configuration. :param str type: The type of action to take. """ - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "type", type) + AutoScalingConfigurationAutoScalingResources._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) + _setter("type", type) @property @pulumi.getter @@ -113,30 +124,54 @@ def __init__(__self__, *, """ :param str policy_type: The type of autoscaling policy. :param 'AutoScalingConfigurationPolicyCapacityArgs' capacity: The capacity requirements of the autoscaling policy. - :param str display_name: A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. :param 'AutoScalingConfigurationPolicyExecutionScheduleArgs' execution_schedule: An execution schedule for an autoscaling policy. :param str id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource that is managed by the autoscaling configuration. :param bool is_enabled: Whether the autoscaling policy is enabled. :param 'AutoScalingConfigurationPolicyResourceActionArgs' resource_action: An action that can be executed against a resource. :param str time_created: The date and time the autoscaling configuration was created, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z` """ - pulumi.set(__self__, "policy_type", policy_type) + AutoScalingConfigurationPolicy._configure( + lambda key, value: pulumi.set(__self__, key, value), + policy_type=policy_type, + capacity=capacity, + display_name=display_name, + execution_schedule=execution_schedule, + id=id, + is_enabled=is_enabled, + resource_action=resource_action, + rules=rules, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + policy_type: str, + capacity: Optional['outputs.AutoScalingConfigurationPolicyCapacity'] = None, + display_name: Optional[str] = None, + execution_schedule: Optional['outputs.AutoScalingConfigurationPolicyExecutionSchedule'] = None, + id: Optional[str] = None, + is_enabled: Optional[bool] = None, + resource_action: Optional['outputs.AutoScalingConfigurationPolicyResourceAction'] = None, + rules: Optional[Sequence['outputs.AutoScalingConfigurationPolicyRule']] = None, + time_created: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("policy_type", policy_type) if capacity is not None: - pulumi.set(__self__, "capacity", capacity) + _setter("capacity", capacity) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if execution_schedule is not None: - pulumi.set(__self__, "execution_schedule", execution_schedule) + _setter("execution_schedule", execution_schedule) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) if resource_action is not None: - pulumi.set(__self__, "resource_action", resource_action) + _setter("resource_action", resource_action) if rules is not None: - pulumi.set(__self__, "rules", rules) + _setter("rules", rules) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="policyType") @@ -157,9 +192,6 @@ def capacity(self) -> Optional['outputs.AutoScalingConfigurationPolicyCapacity'] @property @pulumi.getter(name="displayName") def display_name(self) -> Optional[str]: - """ - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. - """ return pulumi.get(self, "display_name") @property @@ -225,12 +257,25 @@ def __init__(__self__, *, For a schedule-based autoscaling policy, this value is not used. """ + AutoScalingConfigurationPolicyCapacity._configure( + lambda key, value: pulumi.set(__self__, key, value), + initial=initial, + max=max, + min=min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + initial: Optional[int] = None, + max: Optional[int] = None, + min: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if initial is not None: - pulumi.set(__self__, "initial", initial) + _setter("initial", initial) if max is not None: - pulumi.set(__self__, "max", max) + _setter("max", max) if min is not None: - pulumi.set(__self__, "min", min) + _setter("min", min) @property @pulumi.getter @@ -282,9 +327,22 @@ def __init__(__self__, *, :param str timezone: The time zone for the execution schedule. :param str type: The type of action to take. """ - pulumi.set(__self__, "expression", expression) - pulumi.set(__self__, "timezone", timezone) - pulumi.set(__self__, "type", type) + AutoScalingConfigurationPolicyExecutionSchedule._configure( + lambda key, value: pulumi.set(__self__, key, value), + expression=expression, + timezone=timezone, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + expression: str, + timezone: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("expression", expression) + _setter("timezone", timezone) + _setter("type", type) @property @pulumi.getter @@ -345,8 +403,19 @@ def __init__(__self__, *, :param str action: The action to take when autoscaling is triggered. :param str action_type: The type of resource action. """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "action_type", action_type) + AutoScalingConfigurationPolicyResourceAction._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + action_type=action_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: str, + action_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("action_type", action_type) @property @pulumi.getter @@ -390,25 +459,36 @@ def __init__(__self__, *, id: Optional[str] = None, metric: Optional['outputs.AutoScalingConfigurationPolicyRuleMetric'] = None): """ - :param str display_name: A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. :param 'AutoScalingConfigurationPolicyRuleActionArgs' action: The action to take when autoscaling is triggered. :param str id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resource that is managed by the autoscaling configuration. :param 'AutoScalingConfigurationPolicyRuleMetricArgs' metric: Metric and threshold details for triggering an autoscaling action. """ - pulumi.set(__self__, "display_name", display_name) + AutoScalingConfigurationPolicyRule._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + action=action, + id=id, + metric=metric, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + action: Optional['outputs.AutoScalingConfigurationPolicyRuleAction'] = None, + id: Optional[str] = None, + metric: Optional['outputs.AutoScalingConfigurationPolicyRuleMetric'] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) if action is not None: - pulumi.set(__self__, "action", action) + _setter("action", action) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if metric is not None: - pulumi.set(__self__, "metric", metric) + _setter("metric", metric) @property @pulumi.getter(name="displayName") def display_name(self) -> str: - """ - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. - """ return pulumi.get(self, "display_name") @property @@ -446,10 +526,21 @@ def __init__(__self__, *, :param int value: ** 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 """ + AutoScalingConfigurationPolicyRuleAction._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: Optional[str] = None, + value: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -491,10 +582,21 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, metric_type: Optional[str] = None, threshold: Optional['outputs.AutoScalingConfigurationPolicyRuleMetricThreshold'] = None): + AutoScalingConfigurationPolicyRuleMetric._configure( + lambda key, value: pulumi.set(__self__, key, value), + metric_type=metric_type, + threshold=threshold, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metric_type: Optional[str] = None, + threshold: Optional['outputs.AutoScalingConfigurationPolicyRuleMetricThreshold'] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metric_type is not None: - pulumi.set(__self__, "metric_type", metric_type) + _setter("metric_type", metric_type) if threshold is not None: - pulumi.set(__self__, "threshold", threshold) + _setter("threshold", threshold) @property @pulumi.getter(name="metricType") @@ -517,10 +619,21 @@ def __init__(__self__, *, :param int value: ** 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 """ + AutoScalingConfigurationPolicyRuleMetricThreshold._configure( + lambda key, value: pulumi.set(__self__, key, value), + operator=operator, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + operator: Optional[str] = None, + value: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if operator is not None: - pulumi.set(__self__, "operator", operator) + _setter("operator", operator) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -549,8 +662,19 @@ def __init__(__self__, *, :param str id: ID of the condition that is assigned after creation. :param str type: The type of action to take. """ - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "type", type) + GetAutoScalingConfigurationAutoScalingResourceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) + _setter("type", type) @property @pulumi.getter @@ -591,15 +715,40 @@ def __init__(__self__, *, :param Sequence['GetAutoScalingConfigurationPolicyResourceActionArgs'] resource_actions: An action that can be executed against a resource. :param str time_created: The date and time the autoscaling configuration was created, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z` """ - pulumi.set(__self__, "capacities", capacities) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "execution_schedules", execution_schedules) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "policy_type", policy_type) - pulumi.set(__self__, "resource_actions", resource_actions) - pulumi.set(__self__, "rules", rules) - pulumi.set(__self__, "time_created", time_created) + GetAutoScalingConfigurationPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + capacities=capacities, + display_name=display_name, + execution_schedules=execution_schedules, + id=id, + is_enabled=is_enabled, + policy_type=policy_type, + resource_actions=resource_actions, + rules=rules, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + capacities: Sequence['outputs.GetAutoScalingConfigurationPolicyCapacityResult'], + display_name: str, + execution_schedules: Sequence['outputs.GetAutoScalingConfigurationPolicyExecutionScheduleResult'], + id: str, + is_enabled: bool, + policy_type: str, + resource_actions: Sequence['outputs.GetAutoScalingConfigurationPolicyResourceActionResult'], + rules: Sequence['outputs.GetAutoScalingConfigurationPolicyRuleResult'], + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("capacities", capacities) + _setter("display_name", display_name) + _setter("execution_schedules", execution_schedules) + _setter("id", id) + _setter("is_enabled", is_enabled) + _setter("policy_type", policy_type) + _setter("resource_actions", resource_actions) + _setter("rules", rules) + _setter("time_created", time_created) @property @pulumi.getter @@ -682,9 +831,22 @@ def __init__(__self__, *, :param int max: For a threshold-based autoscaling policy, this value is the maximum number of instances the instance pool is allowed to increase to (scale out). :param int min: For a threshold-based autoscaling policy, this value is the minimum number of instances the instance pool is allowed to decrease to (scale in). """ - pulumi.set(__self__, "initial", initial) - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "min", min) + GetAutoScalingConfigurationPolicyCapacityResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + initial=initial, + max=max, + min=min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + initial: int, + max: int, + min: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("initial", initial) + _setter("max", max) + _setter("min", min) @property @pulumi.getter @@ -722,9 +884,22 @@ def __init__(__self__, *, :param str timezone: The time zone for the execution schedule. :param str type: The type of action to take. """ - pulumi.set(__self__, "expression", expression) - pulumi.set(__self__, "timezone", timezone) - pulumi.set(__self__, "type", type) + GetAutoScalingConfigurationPolicyExecutionScheduleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + expression=expression, + timezone=timezone, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + expression: str, + timezone: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("expression", expression) + _setter("timezone", timezone) + _setter("type", type) @property @pulumi.getter @@ -760,8 +935,19 @@ def __init__(__self__, *, :param str action: The action to take when autoscaling is triggered. :param str action_type: The type of resource action. """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "action_type", action_type) + GetAutoScalingConfigurationPolicyResourceActionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + action_type=action_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: str, + action_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("action_type", action_type) @property @pulumi.getter @@ -793,10 +979,25 @@ def __init__(__self__, *, :param str id: ID of the condition that is assigned after creation. :param Sequence['GetAutoScalingConfigurationPolicyRuleMetricArgs'] metrics: Metric and threshold details for triggering an autoscaling action. """ - pulumi.set(__self__, "actions", actions) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "metrics", metrics) + GetAutoScalingConfigurationPolicyRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + actions=actions, + display_name=display_name, + id=id, + metrics=metrics, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + actions: Sequence['outputs.GetAutoScalingConfigurationPolicyRuleActionResult'], + display_name: str, + id: str, + metrics: Sequence['outputs.GetAutoScalingConfigurationPolicyRuleMetricResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("actions", actions) + _setter("display_name", display_name) + _setter("id", id) + _setter("metrics", metrics) @property @pulumi.getter @@ -839,8 +1040,19 @@ def __init__(__self__, *, """ :param str type: The type of action to take. """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetAutoScalingConfigurationPolicyRuleActionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + value: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -861,8 +1073,19 @@ class GetAutoScalingConfigurationPolicyRuleMetricResult(dict): def __init__(__self__, *, metric_type: str, thresholds: Sequence['outputs.GetAutoScalingConfigurationPolicyRuleMetricThresholdResult']): - pulumi.set(__self__, "metric_type", metric_type) - pulumi.set(__self__, "thresholds", thresholds) + GetAutoScalingConfigurationPolicyRuleMetricResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + metric_type=metric_type, + thresholds=thresholds, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metric_type: str, + thresholds: Sequence['outputs.GetAutoScalingConfigurationPolicyRuleMetricThresholdResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("metric_type", metric_type) + _setter("thresholds", thresholds) @property @pulumi.getter(name="metricType") @@ -883,8 +1106,19 @@ def __init__(__self__, *, """ :param str operator: The comparison operator to use. Options are greater than (`GT`), greater than or equal to (`GTE`), less than (`LT`), and less than or equal to (`LTE`). """ - pulumi.set(__self__, "operator", operator) - pulumi.set(__self__, "value", value) + GetAutoScalingConfigurationPolicyRuleMetricThresholdResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + operator=operator, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + operator: str, + value: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("operator", operator) + _setter("value", value) @property @pulumi.getter @@ -929,18 +1163,49 @@ def __init__(__self__, *, :param Sequence['GetAutoScalingConfigurationsAutoScalingConfigurationPolicyArgs'] policies: Autoscaling policy definitions for the autoscaling configuration. An autoscaling policy defines the criteria that trigger autoscaling actions and the actions to take. :param str time_created: The date and time the autoscaling configuration was created, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z` """ - pulumi.set(__self__, "auto_scaling_resources", auto_scaling_resources) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "cool_down_in_seconds", cool_down_in_seconds) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "max_resource_count", max_resource_count) - pulumi.set(__self__, "min_resource_count", min_resource_count) - pulumi.set(__self__, "policies", policies) - pulumi.set(__self__, "time_created", time_created) + GetAutoScalingConfigurationsAutoScalingConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + auto_scaling_resources=auto_scaling_resources, + compartment_id=compartment_id, + cool_down_in_seconds=cool_down_in_seconds, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + is_enabled=is_enabled, + max_resource_count=max_resource_count, + min_resource_count=min_resource_count, + policies=policies, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + auto_scaling_resources: Sequence['outputs.GetAutoScalingConfigurationsAutoScalingConfigurationAutoScalingResourceResult'], + compartment_id: str, + cool_down_in_seconds: int, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + is_enabled: bool, + max_resource_count: int, + min_resource_count: int, + policies: Sequence['outputs.GetAutoScalingConfigurationsAutoScalingConfigurationPolicyResult'], + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("auto_scaling_resources", auto_scaling_resources) + _setter("compartment_id", compartment_id) + _setter("cool_down_in_seconds", cool_down_in_seconds) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_enabled", is_enabled) + _setter("max_resource_count", max_resource_count) + _setter("min_resource_count", min_resource_count) + _setter("policies", policies) + _setter("time_created", time_created) @property @pulumi.getter(name="autoScalingResources") @@ -1048,8 +1313,19 @@ def __init__(__self__, *, :param str id: ID of the condition that is assigned after creation. :param str type: The type of action to take. """ - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "type", type) + GetAutoScalingConfigurationsAutoScalingConfigurationAutoScalingResourceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) + _setter("type", type) @property @pulumi.getter @@ -1090,15 +1366,40 @@ def __init__(__self__, *, :param Sequence['GetAutoScalingConfigurationsAutoScalingConfigurationPolicyResourceActionArgs'] resource_actions: An action that can be executed against a resource. :param str time_created: The date and time the autoscaling configuration was created, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z` """ - pulumi.set(__self__, "capacities", capacities) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "execution_schedules", execution_schedules) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "policy_type", policy_type) - pulumi.set(__self__, "resource_actions", resource_actions) - pulumi.set(__self__, "rules", rules) - pulumi.set(__self__, "time_created", time_created) + GetAutoScalingConfigurationsAutoScalingConfigurationPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + capacities=capacities, + display_name=display_name, + execution_schedules=execution_schedules, + id=id, + is_enabled=is_enabled, + policy_type=policy_type, + resource_actions=resource_actions, + rules=rules, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + capacities: Sequence['outputs.GetAutoScalingConfigurationsAutoScalingConfigurationPolicyCapacityResult'], + display_name: str, + execution_schedules: Sequence['outputs.GetAutoScalingConfigurationsAutoScalingConfigurationPolicyExecutionScheduleResult'], + id: str, + is_enabled: bool, + policy_type: str, + resource_actions: Sequence['outputs.GetAutoScalingConfigurationsAutoScalingConfigurationPolicyResourceActionResult'], + rules: Sequence['outputs.GetAutoScalingConfigurationsAutoScalingConfigurationPolicyRuleResult'], + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("capacities", capacities) + _setter("display_name", display_name) + _setter("execution_schedules", execution_schedules) + _setter("id", id) + _setter("is_enabled", is_enabled) + _setter("policy_type", policy_type) + _setter("resource_actions", resource_actions) + _setter("rules", rules) + _setter("time_created", time_created) @property @pulumi.getter @@ -1181,9 +1482,22 @@ def __init__(__self__, *, :param int max: For a threshold-based autoscaling policy, this value is the maximum number of instances the instance pool is allowed to increase to (scale out). :param int min: For a threshold-based autoscaling policy, this value is the minimum number of instances the instance pool is allowed to decrease to (scale in). """ - pulumi.set(__self__, "initial", initial) - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "min", min) + GetAutoScalingConfigurationsAutoScalingConfigurationPolicyCapacityResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + initial=initial, + max=max, + min=min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + initial: int, + max: int, + min: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("initial", initial) + _setter("max", max) + _setter("min", min) @property @pulumi.getter @@ -1221,9 +1535,22 @@ def __init__(__self__, *, :param str timezone: The time zone for the execution schedule. :param str type: The type of action to take. """ - pulumi.set(__self__, "expression", expression) - pulumi.set(__self__, "timezone", timezone) - pulumi.set(__self__, "type", type) + GetAutoScalingConfigurationsAutoScalingConfigurationPolicyExecutionScheduleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + expression=expression, + timezone=timezone, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + expression: str, + timezone: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("expression", expression) + _setter("timezone", timezone) + _setter("type", type) @property @pulumi.getter @@ -1259,8 +1586,19 @@ def __init__(__self__, *, :param str action: The action to take when autoscaling is triggered. :param str action_type: The type of resource action. """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "action_type", action_type) + GetAutoScalingConfigurationsAutoScalingConfigurationPolicyResourceActionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + action_type=action_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: str, + action_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("action_type", action_type) @property @pulumi.getter @@ -1292,10 +1630,25 @@ def __init__(__self__, *, :param str id: ID of the condition that is assigned after creation. :param Sequence['GetAutoScalingConfigurationsAutoScalingConfigurationPolicyRuleMetricArgs'] metrics: Metric and threshold details for triggering an autoscaling action. """ - pulumi.set(__self__, "actions", actions) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "metrics", metrics) + GetAutoScalingConfigurationsAutoScalingConfigurationPolicyRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + actions=actions, + display_name=display_name, + id=id, + metrics=metrics, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + actions: Sequence['outputs.GetAutoScalingConfigurationsAutoScalingConfigurationPolicyRuleActionResult'], + display_name: str, + id: str, + metrics: Sequence['outputs.GetAutoScalingConfigurationsAutoScalingConfigurationPolicyRuleMetricResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("actions", actions) + _setter("display_name", display_name) + _setter("id", id) + _setter("metrics", metrics) @property @pulumi.getter @@ -1338,8 +1691,19 @@ def __init__(__self__, *, """ :param str type: The type of action to take. """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetAutoScalingConfigurationsAutoScalingConfigurationPolicyRuleActionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + value: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -1360,8 +1724,19 @@ class GetAutoScalingConfigurationsAutoScalingConfigurationPolicyRuleMetricResult def __init__(__self__, *, metric_type: str, thresholds: Sequence['outputs.GetAutoScalingConfigurationsAutoScalingConfigurationPolicyRuleMetricThresholdResult']): - pulumi.set(__self__, "metric_type", metric_type) - pulumi.set(__self__, "thresholds", thresholds) + GetAutoScalingConfigurationsAutoScalingConfigurationPolicyRuleMetricResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + metric_type=metric_type, + thresholds=thresholds, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metric_type: str, + thresholds: Sequence['outputs.GetAutoScalingConfigurationsAutoScalingConfigurationPolicyRuleMetricThresholdResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("metric_type", metric_type) + _setter("thresholds", thresholds) @property @pulumi.getter(name="metricType") @@ -1382,8 +1757,19 @@ def __init__(__self__, *, """ :param str operator: The comparison operator to use. Options are greater than (`GT`), greater than or equal to (`GTE`), less than (`LT`), and less than or equal to (`LTE`). """ - pulumi.set(__self__, "operator", operator) - pulumi.set(__self__, "value", value) + GetAutoScalingConfigurationsAutoScalingConfigurationPolicyRuleMetricThresholdResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + operator=operator, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + operator: str, + value: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("operator", operator) + _setter("value", value) @property @pulumi.getter @@ -1405,10 +1791,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAutoScalingConfigurationsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/bastion/_inputs.py b/sdk/python/pulumi_oci/bastion/_inputs.py index 08ff6bc378..5ba0359838 100644 --- a/sdk/python/pulumi_oci/bastion/_inputs.py +++ b/sdk/python/pulumi_oci/bastion/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -23,7 +23,16 @@ def __init__(__self__, *, """ :param pulumi.Input[str] public_key_content: The public key in OpenSSH format of the SSH key pair for the session. When you connect to the session, you must provide the private key of the same SSH key pair. """ - pulumi.set(__self__, "public_key_content", public_key_content) + SessionKeyDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + public_key_content=public_key_content, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + public_key_content: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("public_key_content", public_key_content) @property @pulumi.getter(name="publicKeyContent") @@ -61,19 +70,40 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "session_type", session_type) + SessionTargetResourceDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + session_type=session_type, + target_resource_display_name=target_resource_display_name, + target_resource_fqdn=target_resource_fqdn, + target_resource_id=target_resource_id, + target_resource_operating_system_user_name=target_resource_operating_system_user_name, + target_resource_port=target_resource_port, + target_resource_private_ip_address=target_resource_private_ip_address, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + session_type: pulumi.Input[str], + target_resource_display_name: Optional[pulumi.Input[str]] = None, + target_resource_fqdn: Optional[pulumi.Input[str]] = None, + target_resource_id: Optional[pulumi.Input[str]] = None, + target_resource_operating_system_user_name: Optional[pulumi.Input[str]] = None, + target_resource_port: Optional[pulumi.Input[int]] = None, + target_resource_private_ip_address: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("session_type", session_type) if target_resource_display_name is not None: - pulumi.set(__self__, "target_resource_display_name", target_resource_display_name) + _setter("target_resource_display_name", target_resource_display_name) if target_resource_fqdn is not None: - pulumi.set(__self__, "target_resource_fqdn", target_resource_fqdn) + _setter("target_resource_fqdn", target_resource_fqdn) if target_resource_id is not None: - pulumi.set(__self__, "target_resource_id", target_resource_id) + _setter("target_resource_id", target_resource_id) if target_resource_operating_system_user_name is not None: - pulumi.set(__self__, "target_resource_operating_system_user_name", target_resource_operating_system_user_name) + _setter("target_resource_operating_system_user_name", target_resource_operating_system_user_name) if target_resource_port is not None: - pulumi.set(__self__, "target_resource_port", target_resource_port) + _setter("target_resource_port", target_resource_port) if target_resource_private_ip_address is not None: - pulumi.set(__self__, "target_resource_private_ip_address", target_resource_private_ip_address) + _setter("target_resource_private_ip_address", target_resource_private_ip_address) @property @pulumi.getter(name="sessionType") @@ -173,10 +203,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the entire name given. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetBastionsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -215,10 +258,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSessionsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/bastion/bastion.py b/sdk/python/pulumi_oci/bastion/bastion.py index 23a67f76ce..5dce335189 100644 --- a/sdk/python/pulumi_oci/bastion/bastion.py +++ b/sdk/python/pulumi_oci/bastion/bastion.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['BastionArgs', 'Bastion'] @@ -43,25 +43,54 @@ def __init__(__self__, *, :param pulumi.Input[str] phone_book_entry: The phonebook entry of the customer's team, which can't be changed after creation. Not applicable to `standard` bastions. :param pulumi.Input[Sequence[pulumi.Input[str]]] static_jump_host_ip_addresses: (Updatable) A list of IP addresses of the hosts that the bastion has access to. Not applicable to `standard` bastions. """ - pulumi.set(__self__, "bastion_type", bastion_type) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "target_subnet_id", target_subnet_id) + BastionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + bastion_type=bastion_type, + compartment_id=compartment_id, + target_subnet_id=target_subnet_id, + client_cidr_block_allow_lists=client_cidr_block_allow_lists, + defined_tags=defined_tags, + dns_proxy_status=dns_proxy_status, + freeform_tags=freeform_tags, + max_session_ttl_in_seconds=max_session_ttl_in_seconds, + name=name, + phone_book_entry=phone_book_entry, + static_jump_host_ip_addresses=static_jump_host_ip_addresses, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bastion_type: pulumi.Input[str], + compartment_id: pulumi.Input[str], + target_subnet_id: pulumi.Input[str], + client_cidr_block_allow_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + dns_proxy_status: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + max_session_ttl_in_seconds: Optional[pulumi.Input[int]] = None, + name: Optional[pulumi.Input[str]] = None, + phone_book_entry: Optional[pulumi.Input[str]] = None, + static_jump_host_ip_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bastion_type", bastion_type) + _setter("compartment_id", compartment_id) + _setter("target_subnet_id", target_subnet_id) if client_cidr_block_allow_lists is not None: - pulumi.set(__self__, "client_cidr_block_allow_lists", client_cidr_block_allow_lists) + _setter("client_cidr_block_allow_lists", client_cidr_block_allow_lists) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if dns_proxy_status is not None: - pulumi.set(__self__, "dns_proxy_status", dns_proxy_status) + _setter("dns_proxy_status", dns_proxy_status) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if max_session_ttl_in_seconds is not None: - pulumi.set(__self__, "max_session_ttl_in_seconds", max_session_ttl_in_seconds) + _setter("max_session_ttl_in_seconds", max_session_ttl_in_seconds) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if phone_book_entry is not None: - pulumi.set(__self__, "phone_book_entry", phone_book_entry) + _setter("phone_book_entry", phone_book_entry) if static_jump_host_ip_addresses is not None: - pulumi.set(__self__, "static_jump_host_ip_addresses", static_jump_host_ip_addresses) + _setter("static_jump_host_ip_addresses", static_jump_host_ip_addresses) @property @pulumi.getter(name="bastionType") @@ -248,44 +277,89 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The time the bastion was created. Format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2020-01-25T21:10:29.600Z` :param pulumi.Input[str] time_updated: The time the bastion was updated. Format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2020-01-25T21:10:29.600Z` """ + _BastionState._configure( + lambda key, value: pulumi.set(__self__, key, value), + bastion_type=bastion_type, + client_cidr_block_allow_lists=client_cidr_block_allow_lists, + compartment_id=compartment_id, + defined_tags=defined_tags, + dns_proxy_status=dns_proxy_status, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + max_session_ttl_in_seconds=max_session_ttl_in_seconds, + max_sessions_allowed=max_sessions_allowed, + name=name, + phone_book_entry=phone_book_entry, + private_endpoint_ip_address=private_endpoint_ip_address, + state=state, + static_jump_host_ip_addresses=static_jump_host_ip_addresses, + system_tags=system_tags, + target_subnet_id=target_subnet_id, + target_vcn_id=target_vcn_id, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bastion_type: Optional[pulumi.Input[str]] = None, + client_cidr_block_allow_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + dns_proxy_status: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + max_session_ttl_in_seconds: Optional[pulumi.Input[int]] = None, + max_sessions_allowed: Optional[pulumi.Input[int]] = None, + name: Optional[pulumi.Input[str]] = None, + phone_book_entry: Optional[pulumi.Input[str]] = None, + private_endpoint_ip_address: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + static_jump_host_ip_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + target_subnet_id: Optional[pulumi.Input[str]] = None, + target_vcn_id: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if bastion_type is not None: - pulumi.set(__self__, "bastion_type", bastion_type) + _setter("bastion_type", bastion_type) if client_cidr_block_allow_lists is not None: - pulumi.set(__self__, "client_cidr_block_allow_lists", client_cidr_block_allow_lists) + _setter("client_cidr_block_allow_lists", client_cidr_block_allow_lists) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if dns_proxy_status is not None: - pulumi.set(__self__, "dns_proxy_status", dns_proxy_status) + _setter("dns_proxy_status", dns_proxy_status) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if max_session_ttl_in_seconds is not None: - pulumi.set(__self__, "max_session_ttl_in_seconds", max_session_ttl_in_seconds) + _setter("max_session_ttl_in_seconds", max_session_ttl_in_seconds) if max_sessions_allowed is not None: - pulumi.set(__self__, "max_sessions_allowed", max_sessions_allowed) + _setter("max_sessions_allowed", max_sessions_allowed) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if phone_book_entry is not None: - pulumi.set(__self__, "phone_book_entry", phone_book_entry) + _setter("phone_book_entry", phone_book_entry) if private_endpoint_ip_address is not None: - pulumi.set(__self__, "private_endpoint_ip_address", private_endpoint_ip_address) + _setter("private_endpoint_ip_address", private_endpoint_ip_address) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if static_jump_host_ip_addresses is not None: - pulumi.set(__self__, "static_jump_host_ip_addresses", static_jump_host_ip_addresses) + _setter("static_jump_host_ip_addresses", static_jump_host_ip_addresses) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if target_subnet_id is not None: - pulumi.set(__self__, "target_subnet_id", target_subnet_id) + _setter("target_subnet_id", target_subnet_id) if target_vcn_id is not None: - pulumi.set(__self__, "target_vcn_id", target_vcn_id) + _setter("target_vcn_id", target_vcn_id) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="bastionType") @@ -643,6 +717,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + BastionArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/bastion/get_bastion.py b/sdk/python/pulumi_oci/bastion/get_bastion.py index 789d4f3e18..815525d0ab 100644 --- a/sdk/python/pulumi_oci/bastion/get_bastion.py +++ b/sdk/python/pulumi_oci/bastion/get_bastion.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/bastion/get_bastions.py b/sdk/python/pulumi_oci/bastion/get_bastions.py index bad3667d00..9bf813c60c 100644 --- a/sdk/python/pulumi_oci/bastion/get_bastions.py +++ b/sdk/python/pulumi_oci/bastion/get_bastions.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/bastion/get_session.py b/sdk/python/pulumi_oci/bastion/get_session.py index e5ecd73707..82d28ef5e6 100644 --- a/sdk/python/pulumi_oci/bastion/get_session.py +++ b/sdk/python/pulumi_oci/bastion/get_session.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/bastion/get_sessions.py b/sdk/python/pulumi_oci/bastion/get_sessions.py index e1762ed0e7..d97eaf1205 100644 --- a/sdk/python/pulumi_oci/bastion/get_sessions.py +++ b/sdk/python/pulumi_oci/bastion/get_sessions.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/bastion/outputs.py b/sdk/python/pulumi_oci/bastion/outputs.py index cffb18dba3..0b3242dd8c 100644 --- a/sdk/python/pulumi_oci/bastion/outputs.py +++ b/sdk/python/pulumi_oci/bastion/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -47,7 +47,16 @@ def __init__(__self__, *, """ :param str public_key_content: The public key in OpenSSH format of the SSH key pair for the session. When you connect to the session, you must provide the private key of the same SSH key pair. """ - pulumi.set(__self__, "public_key_content", public_key_content) + SessionKeyDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + public_key_content=public_key_content, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + public_key_content: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("public_key_content", public_key_content) @property @pulumi.getter(name="publicKeyContent") @@ -110,19 +119,40 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "session_type", session_type) + SessionTargetResourceDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + session_type=session_type, + target_resource_display_name=target_resource_display_name, + target_resource_fqdn=target_resource_fqdn, + target_resource_id=target_resource_id, + target_resource_operating_system_user_name=target_resource_operating_system_user_name, + target_resource_port=target_resource_port, + target_resource_private_ip_address=target_resource_private_ip_address, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + session_type: str, + target_resource_display_name: Optional[str] = None, + target_resource_fqdn: Optional[str] = None, + target_resource_id: Optional[str] = None, + target_resource_operating_system_user_name: Optional[str] = None, + target_resource_port: Optional[int] = None, + target_resource_private_ip_address: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("session_type", session_type) if target_resource_display_name is not None: - pulumi.set(__self__, "target_resource_display_name", target_resource_display_name) + _setter("target_resource_display_name", target_resource_display_name) if target_resource_fqdn is not None: - pulumi.set(__self__, "target_resource_fqdn", target_resource_fqdn) + _setter("target_resource_fqdn", target_resource_fqdn) if target_resource_id is not None: - pulumi.set(__self__, "target_resource_id", target_resource_id) + _setter("target_resource_id", target_resource_id) if target_resource_operating_system_user_name is not None: - pulumi.set(__self__, "target_resource_operating_system_user_name", target_resource_operating_system_user_name) + _setter("target_resource_operating_system_user_name", target_resource_operating_system_user_name) if target_resource_port is not None: - pulumi.set(__self__, "target_resource_port", target_resource_port) + _setter("target_resource_port", target_resource_port) if target_resource_private_ip_address is not None: - pulumi.set(__self__, "target_resource_private_ip_address", target_resource_private_ip_address) + _setter("target_resource_private_ip_address", target_resource_private_ip_address) @property @pulumi.getter(name="sessionType") @@ -230,26 +260,73 @@ def __init__(__self__, *, :param str time_created: The time the bastion was created. Format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2020-01-25T21:10:29.600Z` :param str time_updated: The time the bastion was updated. Format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2020-01-25T21:10:29.600Z` """ - pulumi.set(__self__, "bastion_type", bastion_type) - pulumi.set(__self__, "client_cidr_block_allow_lists", client_cidr_block_allow_lists) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "dns_proxy_status", dns_proxy_status) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "max_session_ttl_in_seconds", max_session_ttl_in_seconds) - pulumi.set(__self__, "max_sessions_allowed", max_sessions_allowed) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "phone_book_entry", phone_book_entry) - pulumi.set(__self__, "private_endpoint_ip_address", private_endpoint_ip_address) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "static_jump_host_ip_addresses", static_jump_host_ip_addresses) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "target_subnet_id", target_subnet_id) - pulumi.set(__self__, "target_vcn_id", target_vcn_id) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetBastionsBastionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bastion_type=bastion_type, + client_cidr_block_allow_lists=client_cidr_block_allow_lists, + compartment_id=compartment_id, + defined_tags=defined_tags, + dns_proxy_status=dns_proxy_status, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + max_session_ttl_in_seconds=max_session_ttl_in_seconds, + max_sessions_allowed=max_sessions_allowed, + name=name, + phone_book_entry=phone_book_entry, + private_endpoint_ip_address=private_endpoint_ip_address, + state=state, + static_jump_host_ip_addresses=static_jump_host_ip_addresses, + system_tags=system_tags, + target_subnet_id=target_subnet_id, + target_vcn_id=target_vcn_id, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bastion_type: str, + client_cidr_block_allow_lists: Sequence[str], + compartment_id: str, + defined_tags: Mapping[str, Any], + dns_proxy_status: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + max_session_ttl_in_seconds: int, + max_sessions_allowed: int, + name: str, + phone_book_entry: str, + private_endpoint_ip_address: str, + state: str, + static_jump_host_ip_addresses: Sequence[str], + system_tags: Mapping[str, Any], + target_subnet_id: str, + target_vcn_id: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bastion_type", bastion_type) + _setter("client_cidr_block_allow_lists", client_cidr_block_allow_lists) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("dns_proxy_status", dns_proxy_status) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("max_session_ttl_in_seconds", max_session_ttl_in_seconds) + _setter("max_sessions_allowed", max_sessions_allowed) + _setter("name", name) + _setter("phone_book_entry", phone_book_entry) + _setter("private_endpoint_ip_address", private_endpoint_ip_address) + _setter("state", state) + _setter("static_jump_host_ip_addresses", static_jump_host_ip_addresses) + _setter("system_tags", system_tags) + _setter("target_subnet_id", target_subnet_id) + _setter("target_vcn_id", target_vcn_id) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="bastionType") @@ -421,10 +498,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the entire name given. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetBastionsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -452,7 +542,16 @@ def __init__(__self__, *, """ :param str public_key_content: The public key in OpenSSH format of the SSH key pair for the session. When you connect to the session, you must provide the private key of the same SSH key pair. """ - pulumi.set(__self__, "public_key_content", public_key_content) + GetSessionKeyDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + public_key_content=public_key_content, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + public_key_content: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("public_key_content", public_key_content) @property @pulumi.getter(name="publicKeyContent") @@ -482,13 +581,34 @@ def __init__(__self__, *, :param int target_resource_port: The port number to connect to on the target resource. :param str target_resource_private_ip_address: The private IP address of the target resource that the session connects to. """ - pulumi.set(__self__, "session_type", session_type) - pulumi.set(__self__, "target_resource_display_name", target_resource_display_name) - pulumi.set(__self__, "target_resource_fqdn", target_resource_fqdn) - pulumi.set(__self__, "target_resource_id", target_resource_id) - pulumi.set(__self__, "target_resource_operating_system_user_name", target_resource_operating_system_user_name) - pulumi.set(__self__, "target_resource_port", target_resource_port) - pulumi.set(__self__, "target_resource_private_ip_address", target_resource_private_ip_address) + GetSessionTargetResourceDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + session_type=session_type, + target_resource_display_name=target_resource_display_name, + target_resource_fqdn=target_resource_fqdn, + target_resource_id=target_resource_id, + target_resource_operating_system_user_name=target_resource_operating_system_user_name, + target_resource_port=target_resource_port, + target_resource_private_ip_address=target_resource_private_ip_address, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + session_type: str, + target_resource_display_name: str, + target_resource_fqdn: str, + target_resource_id: str, + target_resource_operating_system_user_name: str, + target_resource_port: int, + target_resource_private_ip_address: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("session_type", session_type) + _setter("target_resource_display_name", target_resource_display_name) + _setter("target_resource_fqdn", target_resource_fqdn) + _setter("target_resource_id", target_resource_id) + _setter("target_resource_operating_system_user_name", target_resource_operating_system_user_name) + _setter("target_resource_port", target_resource_port) + _setter("target_resource_private_ip_address", target_resource_private_ip_address) @property @pulumi.getter(name="sessionType") @@ -553,10 +673,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSessionsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -609,21 +742,58 @@ def __init__(__self__, *, :param str time_created: The time the session was created. Format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2020-01-25T21:10:29.600Z` :param str time_updated: The time the session was updated. Format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2020-01-25T21:10:29.600Z` """ - pulumi.set(__self__, "bastion_id", bastion_id) - pulumi.set(__self__, "bastion_name", bastion_name) - pulumi.set(__self__, "bastion_public_host_key_info", bastion_public_host_key_info) - pulumi.set(__self__, "bastion_user_name", bastion_user_name) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "key_details", key_details) - pulumi.set(__self__, "key_type", key_type) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "session_ttl_in_seconds", session_ttl_in_seconds) - pulumi.set(__self__, "ssh_metadata", ssh_metadata) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "target_resource_details", target_resource_details) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetSessionsSessionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bastion_id=bastion_id, + bastion_name=bastion_name, + bastion_public_host_key_info=bastion_public_host_key_info, + bastion_user_name=bastion_user_name, + display_name=display_name, + id=id, + key_details=key_details, + key_type=key_type, + lifecycle_details=lifecycle_details, + session_ttl_in_seconds=session_ttl_in_seconds, + ssh_metadata=ssh_metadata, + state=state, + target_resource_details=target_resource_details, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bastion_id: str, + bastion_name: str, + bastion_public_host_key_info: str, + bastion_user_name: str, + display_name: str, + id: str, + key_details: Sequence['outputs.GetSessionsSessionKeyDetailResult'], + key_type: str, + lifecycle_details: str, + session_ttl_in_seconds: int, + ssh_metadata: Mapping[str, Any], + state: str, + target_resource_details: Sequence['outputs.GetSessionsSessionTargetResourceDetailResult'], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bastion_id", bastion_id) + _setter("bastion_name", bastion_name) + _setter("bastion_public_host_key_info", bastion_public_host_key_info) + _setter("bastion_user_name", bastion_user_name) + _setter("display_name", display_name) + _setter("id", id) + _setter("key_details", key_details) + _setter("key_type", key_type) + _setter("lifecycle_details", lifecycle_details) + _setter("session_ttl_in_seconds", session_ttl_in_seconds) + _setter("ssh_metadata", ssh_metadata) + _setter("state", state) + _setter("target_resource_details", target_resource_details) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="bastionId") @@ -753,7 +923,16 @@ def __init__(__self__, *, """ :param str public_key_content: The public key in OpenSSH format of the SSH key pair for the session. When you connect to the session, you must provide the private key of the same SSH key pair. """ - pulumi.set(__self__, "public_key_content", public_key_content) + GetSessionsSessionKeyDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + public_key_content=public_key_content, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + public_key_content: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("public_key_content", public_key_content) @property @pulumi.getter(name="publicKeyContent") @@ -783,13 +962,34 @@ def __init__(__self__, *, :param int target_resource_port: The port number to connect to on the target resource. :param str target_resource_private_ip_address: The private IP address of the target resource that the session connects to. """ - pulumi.set(__self__, "session_type", session_type) - pulumi.set(__self__, "target_resource_display_name", target_resource_display_name) - pulumi.set(__self__, "target_resource_fqdn", target_resource_fqdn) - pulumi.set(__self__, "target_resource_id", target_resource_id) - pulumi.set(__self__, "target_resource_operating_system_user_name", target_resource_operating_system_user_name) - pulumi.set(__self__, "target_resource_port", target_resource_port) - pulumi.set(__self__, "target_resource_private_ip_address", target_resource_private_ip_address) + GetSessionsSessionTargetResourceDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + session_type=session_type, + target_resource_display_name=target_resource_display_name, + target_resource_fqdn=target_resource_fqdn, + target_resource_id=target_resource_id, + target_resource_operating_system_user_name=target_resource_operating_system_user_name, + target_resource_port=target_resource_port, + target_resource_private_ip_address=target_resource_private_ip_address, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + session_type: str, + target_resource_display_name: str, + target_resource_fqdn: str, + target_resource_id: str, + target_resource_operating_system_user_name: str, + target_resource_port: int, + target_resource_private_ip_address: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("session_type", session_type) + _setter("target_resource_display_name", target_resource_display_name) + _setter("target_resource_fqdn", target_resource_fqdn) + _setter("target_resource_id", target_resource_id) + _setter("target_resource_operating_system_user_name", target_resource_operating_system_user_name) + _setter("target_resource_port", target_resource_port) + _setter("target_resource_private_ip_address", target_resource_private_ip_address) @property @pulumi.getter(name="sessionType") diff --git a/sdk/python/pulumi_oci/bastion/session.py b/sdk/python/pulumi_oci/bastion/session.py index 0417762f0f..ca9290e951 100644 --- a/sdk/python/pulumi_oci/bastion/session.py +++ b/sdk/python/pulumi_oci/bastion/session.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -31,15 +31,34 @@ def __init__(__self__, *, :param pulumi.Input[str] key_type: The type of the key used to connect to the session. PUB is a standard public key in OpenSSH format. :param pulumi.Input[int] session_ttl_in_seconds: The amount of time the session can remain active. """ - pulumi.set(__self__, "bastion_id", bastion_id) - pulumi.set(__self__, "key_details", key_details) - pulumi.set(__self__, "target_resource_details", target_resource_details) + SessionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + bastion_id=bastion_id, + key_details=key_details, + target_resource_details=target_resource_details, + display_name=display_name, + key_type=key_type, + session_ttl_in_seconds=session_ttl_in_seconds, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bastion_id: pulumi.Input[str], + key_details: pulumi.Input['SessionKeyDetailsArgs'], + target_resource_details: pulumi.Input['SessionTargetResourceDetailsArgs'], + display_name: Optional[pulumi.Input[str]] = None, + key_type: Optional[pulumi.Input[str]] = None, + session_ttl_in_seconds: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bastion_id", bastion_id) + _setter("key_details", key_details) + _setter("target_resource_details", target_resource_details) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if key_type is not None: - pulumi.set(__self__, "key_type", key_type) + _setter("key_type", key_type) if session_ttl_in_seconds is not None: - pulumi.set(__self__, "session_ttl_in_seconds", session_ttl_in_seconds) + _setter("session_ttl_in_seconds", session_ttl_in_seconds) @property @pulumi.getter(name="bastionId") @@ -148,34 +167,69 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The time the session was created. Format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2020-01-25T21:10:29.600Z` :param pulumi.Input[str] time_updated: The time the session was updated. Format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2020-01-25T21:10:29.600Z` """ + _SessionState._configure( + lambda key, value: pulumi.set(__self__, key, value), + bastion_id=bastion_id, + bastion_name=bastion_name, + bastion_public_host_key_info=bastion_public_host_key_info, + bastion_user_name=bastion_user_name, + display_name=display_name, + key_details=key_details, + key_type=key_type, + lifecycle_details=lifecycle_details, + session_ttl_in_seconds=session_ttl_in_seconds, + ssh_metadata=ssh_metadata, + state=state, + target_resource_details=target_resource_details, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bastion_id: Optional[pulumi.Input[str]] = None, + bastion_name: Optional[pulumi.Input[str]] = None, + bastion_public_host_key_info: Optional[pulumi.Input[str]] = None, + bastion_user_name: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + key_details: Optional[pulumi.Input['SessionKeyDetailsArgs']] = None, + key_type: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + session_ttl_in_seconds: Optional[pulumi.Input[int]] = None, + ssh_metadata: Optional[pulumi.Input[Mapping[str, Any]]] = None, + state: Optional[pulumi.Input[str]] = None, + target_resource_details: Optional[pulumi.Input['SessionTargetResourceDetailsArgs']] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if bastion_id is not None: - pulumi.set(__self__, "bastion_id", bastion_id) + _setter("bastion_id", bastion_id) if bastion_name is not None: - pulumi.set(__self__, "bastion_name", bastion_name) + _setter("bastion_name", bastion_name) if bastion_public_host_key_info is not None: - pulumi.set(__self__, "bastion_public_host_key_info", bastion_public_host_key_info) + _setter("bastion_public_host_key_info", bastion_public_host_key_info) if bastion_user_name is not None: - pulumi.set(__self__, "bastion_user_name", bastion_user_name) + _setter("bastion_user_name", bastion_user_name) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if key_details is not None: - pulumi.set(__self__, "key_details", key_details) + _setter("key_details", key_details) if key_type is not None: - pulumi.set(__self__, "key_type", key_type) + _setter("key_type", key_type) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if session_ttl_in_seconds is not None: - pulumi.set(__self__, "session_ttl_in_seconds", session_ttl_in_seconds) + _setter("session_ttl_in_seconds", session_ttl_in_seconds) if ssh_metadata is not None: - pulumi.set(__self__, "ssh_metadata", ssh_metadata) + _setter("ssh_metadata", ssh_metadata) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if target_resource_details is not None: - pulumi.set(__self__, "target_resource_details", target_resource_details) + _setter("target_resource_details", target_resource_details) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="bastionId") @@ -457,6 +511,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + SessionArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -481,11 +539,21 @@ def _internal_init(__self__, raise TypeError("Missing required property 'bastion_id'") __props__.__dict__["bastion_id"] = bastion_id __props__.__dict__["display_name"] = display_name + if key_details is not None and not isinstance(key_details, SessionKeyDetailsArgs): + key_details = key_details or {} + def _setter(key, value): + key_details[key] = value + SessionKeyDetailsArgs._configure(_setter, **key_details) if key_details is None and not opts.urn: raise TypeError("Missing required property 'key_details'") __props__.__dict__["key_details"] = key_details __props__.__dict__["key_type"] = key_type __props__.__dict__["session_ttl_in_seconds"] = session_ttl_in_seconds + if target_resource_details is not None and not isinstance(target_resource_details, SessionTargetResourceDetailsArgs): + target_resource_details = target_resource_details or {} + def _setter(key, value): + target_resource_details[key] = value + SessionTargetResourceDetailsArgs._configure(_setter, **target_resource_details) if target_resource_details is None and not opts.urn: raise TypeError("Missing required property 'target_resource_details'") __props__.__dict__["target_resource_details"] = target_resource_details diff --git a/sdk/python/pulumi_oci/bigdataservice/_inputs.py b/sdk/python/pulumi_oci/bigdataservice/_inputs.py index 0e9edc5fce..2d83360ee8 100644 --- a/sdk/python/pulumi_oci/bigdataservice/_inputs.py +++ b/sdk/python/pulumi_oci/bigdataservice/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -67,8 +67,19 @@ def __init__(__self__, *, :param pulumi.Input[str] policy_type: Type of autoscaling policy. :param pulumi.Input[Sequence[pulumi.Input['AutoScalingConfigurationPolicyRuleArgs']]] rules: (Updatable) The list of rules for autoscaling. If an action has multiple rules, the last rule in the array will be applied. """ - pulumi.set(__self__, "policy_type", policy_type) - pulumi.set(__self__, "rules", rules) + AutoScalingConfigurationPolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + policy_type=policy_type, + rules=rules, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + policy_type: pulumi.Input[str], + rules: pulumi.Input[Sequence[pulumi.Input['AutoScalingConfigurationPolicyRuleArgs']]], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("policy_type", policy_type) + _setter("rules", rules) @property @pulumi.getter(name="policyType") @@ -122,23 +133,48 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] trigger_type: The type of autoscaling trigger. """ - pulumi.set(__self__, "policy_type", policy_type) + AutoScalingConfigurationPolicyDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + policy_type=policy_type, + action_type=action_type, + scale_down_config=scale_down_config, + scale_in_config=scale_in_config, + scale_out_config=scale_out_config, + scale_up_config=scale_up_config, + schedule_details=schedule_details, + timezone=timezone, + trigger_type=trigger_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + policy_type: pulumi.Input[str], + action_type: Optional[pulumi.Input[str]] = None, + scale_down_config: Optional[pulumi.Input['AutoScalingConfigurationPolicyDetailsScaleDownConfigArgs']] = None, + scale_in_config: Optional[pulumi.Input['AutoScalingConfigurationPolicyDetailsScaleInConfigArgs']] = None, + scale_out_config: Optional[pulumi.Input['AutoScalingConfigurationPolicyDetailsScaleOutConfigArgs']] = None, + scale_up_config: Optional[pulumi.Input['AutoScalingConfigurationPolicyDetailsScaleUpConfigArgs']] = None, + schedule_details: Optional[pulumi.Input[Sequence[pulumi.Input['AutoScalingConfigurationPolicyDetailsScheduleDetailArgs']]]] = None, + timezone: Optional[pulumi.Input[str]] = None, + trigger_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("policy_type", policy_type) if action_type is not None: - pulumi.set(__self__, "action_type", action_type) + _setter("action_type", action_type) if scale_down_config is not None: - pulumi.set(__self__, "scale_down_config", scale_down_config) + _setter("scale_down_config", scale_down_config) if scale_in_config is not None: - pulumi.set(__self__, "scale_in_config", scale_in_config) + _setter("scale_in_config", scale_in_config) if scale_out_config is not None: - pulumi.set(__self__, "scale_out_config", scale_out_config) + _setter("scale_out_config", scale_out_config) if scale_up_config is not None: - pulumi.set(__self__, "scale_up_config", scale_up_config) + _setter("scale_up_config", scale_up_config) if schedule_details is not None: - pulumi.set(__self__, "schedule_details", schedule_details) + _setter("schedule_details", schedule_details) if timezone is not None: - pulumi.set(__self__, "timezone", timezone) + _setter("timezone", timezone) if trigger_type is not None: - pulumi.set(__self__, "trigger_type", trigger_type) + _setter("trigger_type", trigger_type) @property @pulumi.getter(name="policyType") @@ -268,16 +304,33 @@ def __init__(__self__, *, :param pulumi.Input[int] min_ocpus_per_node: (Updatable) For nodes with [flexible compute shapes](https://docs.cloud.oracle.com/iaas/Content/bigdata/create-cluster.htm#cluster-plan-shape), this value is the minimum number of OCPUs each node can be scaled-down to. This value is not used for nodes with fixed compute shapes. :param pulumi.Input[int] ocpu_step_size: (Updatable) For nodes with [flexible compute shapes](https://docs.cloud.oracle.com/iaas/Content/bigdata/create-cluster.htm#cluster-plan-shape), this value is the number of OCPUs to add to each node during a scale-up event. This value is not used for nodes with fixed compute shapes. """ + AutoScalingConfigurationPolicyDetailsScaleDownConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_step_size=memory_step_size, + metric=metric, + min_memory_per_node=min_memory_per_node, + min_ocpus_per_node=min_ocpus_per_node, + ocpu_step_size=ocpu_step_size, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_step_size: Optional[pulumi.Input[int]] = None, + metric: Optional[pulumi.Input['AutoScalingConfigurationPolicyDetailsScaleDownConfigMetricArgs']] = None, + min_memory_per_node: Optional[pulumi.Input[int]] = None, + min_ocpus_per_node: Optional[pulumi.Input[int]] = None, + ocpu_step_size: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if memory_step_size is not None: - pulumi.set(__self__, "memory_step_size", memory_step_size) + _setter("memory_step_size", memory_step_size) if metric is not None: - pulumi.set(__self__, "metric", metric) + _setter("metric", metric) if min_memory_per_node is not None: - pulumi.set(__self__, "min_memory_per_node", min_memory_per_node) + _setter("min_memory_per_node", min_memory_per_node) if min_ocpus_per_node is not None: - pulumi.set(__self__, "min_ocpus_per_node", min_ocpus_per_node) + _setter("min_ocpus_per_node", min_ocpus_per_node) if ocpu_step_size is not None: - pulumi.set(__self__, "ocpu_step_size", ocpu_step_size) + _setter("ocpu_step_size", ocpu_step_size) @property @pulumi.getter(name="memoryStepSize") @@ -349,10 +402,21 @@ def __init__(__self__, *, :param pulumi.Input[str] metric_type: (Updatable) Allowed value is CPU_UTILIZATION. :param pulumi.Input['AutoScalingConfigurationPolicyDetailsScaleDownConfigMetricThresholdArgs'] threshold: (Updatable) An autoscale action is triggered when a performance metric exceeds a threshold. """ + AutoScalingConfigurationPolicyDetailsScaleDownConfigMetricArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metric_type=metric_type, + threshold=threshold, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metric_type: Optional[pulumi.Input[str]] = None, + threshold: Optional[pulumi.Input['AutoScalingConfigurationPolicyDetailsScaleDownConfigMetricThresholdArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metric_type is not None: - pulumi.set(__self__, "metric_type", metric_type) + _setter("metric_type", metric_type) if threshold is not None: - pulumi.set(__self__, "threshold", threshold) + _setter("threshold", threshold) @property @pulumi.getter(name="metricType") @@ -390,12 +454,25 @@ def __init__(__self__, *, :param pulumi.Input[str] operator: (Updatable) The comparison operator to use. Options are greater than (GT) or less than (LT). :param pulumi.Input[int] value: (Updatable) Integer non-negative value. 0 < value < 100 """ + AutoScalingConfigurationPolicyDetailsScaleDownConfigMetricThresholdArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + duration_in_minutes=duration_in_minutes, + operator=operator, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + duration_in_minutes: Optional[pulumi.Input[int]] = None, + operator: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if duration_in_minutes is not None: - pulumi.set(__self__, "duration_in_minutes", duration_in_minutes) + _setter("duration_in_minutes", duration_in_minutes) if operator is not None: - pulumi.set(__self__, "operator", operator) + _setter("operator", operator) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter(name="durationInMinutes") @@ -445,12 +522,25 @@ def __init__(__self__, *, :param pulumi.Input[int] min_node_count: (Updatable) This value is the minimum number of nodes the cluster can be scaled-in to. :param pulumi.Input[int] step_size: (Updatable) This value is the number of nodes to add during a scale-out event. """ + AutoScalingConfigurationPolicyDetailsScaleInConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metric=metric, + min_node_count=min_node_count, + step_size=step_size, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metric: Optional[pulumi.Input['AutoScalingConfigurationPolicyDetailsScaleInConfigMetricArgs']] = None, + min_node_count: Optional[pulumi.Input[int]] = None, + step_size: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metric is not None: - pulumi.set(__self__, "metric", metric) + _setter("metric", metric) if min_node_count is not None: - pulumi.set(__self__, "min_node_count", min_node_count) + _setter("min_node_count", min_node_count) if step_size is not None: - pulumi.set(__self__, "step_size", step_size) + _setter("step_size", step_size) @property @pulumi.getter @@ -498,10 +588,21 @@ def __init__(__self__, *, :param pulumi.Input[str] metric_type: (Updatable) Allowed value is CPU_UTILIZATION. :param pulumi.Input['AutoScalingConfigurationPolicyDetailsScaleInConfigMetricThresholdArgs'] threshold: (Updatable) An autoscale action is triggered when a performance metric exceeds a threshold. """ + AutoScalingConfigurationPolicyDetailsScaleInConfigMetricArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metric_type=metric_type, + threshold=threshold, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metric_type: Optional[pulumi.Input[str]] = None, + threshold: Optional[pulumi.Input['AutoScalingConfigurationPolicyDetailsScaleInConfigMetricThresholdArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metric_type is not None: - pulumi.set(__self__, "metric_type", metric_type) + _setter("metric_type", metric_type) if threshold is not None: - pulumi.set(__self__, "threshold", threshold) + _setter("threshold", threshold) @property @pulumi.getter(name="metricType") @@ -539,12 +640,25 @@ def __init__(__self__, *, :param pulumi.Input[str] operator: (Updatable) The comparison operator to use. Options are greater than (GT) or less than (LT). :param pulumi.Input[int] value: (Updatable) Integer non-negative value. 0 < value < 100 """ + AutoScalingConfigurationPolicyDetailsScaleInConfigMetricThresholdArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + duration_in_minutes=duration_in_minutes, + operator=operator, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + duration_in_minutes: Optional[pulumi.Input[int]] = None, + operator: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if duration_in_minutes is not None: - pulumi.set(__self__, "duration_in_minutes", duration_in_minutes) + _setter("duration_in_minutes", duration_in_minutes) if operator is not None: - pulumi.set(__self__, "operator", operator) + _setter("operator", operator) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter(name="durationInMinutes") @@ -594,12 +708,25 @@ def __init__(__self__, *, :param pulumi.Input['AutoScalingConfigurationPolicyDetailsScaleOutConfigMetricArgs'] metric: (Updatable) Metric and threshold details for triggering an autoscale action. :param pulumi.Input[int] step_size: (Updatable) This value is the number of nodes to add during a scale-out event. """ + AutoScalingConfigurationPolicyDetailsScaleOutConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + max_node_count=max_node_count, + metric=metric, + step_size=step_size, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max_node_count: Optional[pulumi.Input[int]] = None, + metric: Optional[pulumi.Input['AutoScalingConfigurationPolicyDetailsScaleOutConfigMetricArgs']] = None, + step_size: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if max_node_count is not None: - pulumi.set(__self__, "max_node_count", max_node_count) + _setter("max_node_count", max_node_count) if metric is not None: - pulumi.set(__self__, "metric", metric) + _setter("metric", metric) if step_size is not None: - pulumi.set(__self__, "step_size", step_size) + _setter("step_size", step_size) @property @pulumi.getter(name="maxNodeCount") @@ -647,10 +774,21 @@ def __init__(__self__, *, :param pulumi.Input[str] metric_type: (Updatable) Allowed value is CPU_UTILIZATION. :param pulumi.Input['AutoScalingConfigurationPolicyDetailsScaleOutConfigMetricThresholdArgs'] threshold: (Updatable) An autoscale action is triggered when a performance metric exceeds a threshold. """ + AutoScalingConfigurationPolicyDetailsScaleOutConfigMetricArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metric_type=metric_type, + threshold=threshold, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metric_type: Optional[pulumi.Input[str]] = None, + threshold: Optional[pulumi.Input['AutoScalingConfigurationPolicyDetailsScaleOutConfigMetricThresholdArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metric_type is not None: - pulumi.set(__self__, "metric_type", metric_type) + _setter("metric_type", metric_type) if threshold is not None: - pulumi.set(__self__, "threshold", threshold) + _setter("threshold", threshold) @property @pulumi.getter(name="metricType") @@ -688,12 +826,25 @@ def __init__(__self__, *, :param pulumi.Input[str] operator: (Updatable) The comparison operator to use. Options are greater than (GT) or less than (LT). :param pulumi.Input[int] value: (Updatable) Integer non-negative value. 0 < value < 100 """ + AutoScalingConfigurationPolicyDetailsScaleOutConfigMetricThresholdArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + duration_in_minutes=duration_in_minutes, + operator=operator, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + duration_in_minutes: Optional[pulumi.Input[int]] = None, + operator: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if duration_in_minutes is not None: - pulumi.set(__self__, "duration_in_minutes", duration_in_minutes) + _setter("duration_in_minutes", duration_in_minutes) if operator is not None: - pulumi.set(__self__, "operator", operator) + _setter("operator", operator) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter(name="durationInMinutes") @@ -747,16 +898,33 @@ def __init__(__self__, *, :param pulumi.Input['AutoScalingConfigurationPolicyDetailsScaleUpConfigMetricArgs'] metric: (Updatable) Metric and threshold details for triggering an autoscale action. :param pulumi.Input[int] ocpu_step_size: (Updatable) For nodes with [flexible compute shapes](https://docs.cloud.oracle.com/iaas/Content/bigdata/create-cluster.htm#cluster-plan-shape), this value is the number of OCPUs to add to each node during a scale-up event. This value is not used for nodes with fixed compute shapes. """ + AutoScalingConfigurationPolicyDetailsScaleUpConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + max_memory_per_node=max_memory_per_node, + max_ocpus_per_node=max_ocpus_per_node, + memory_step_size=memory_step_size, + metric=metric, + ocpu_step_size=ocpu_step_size, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max_memory_per_node: Optional[pulumi.Input[int]] = None, + max_ocpus_per_node: Optional[pulumi.Input[int]] = None, + memory_step_size: Optional[pulumi.Input[int]] = None, + metric: Optional[pulumi.Input['AutoScalingConfigurationPolicyDetailsScaleUpConfigMetricArgs']] = None, + ocpu_step_size: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if max_memory_per_node is not None: - pulumi.set(__self__, "max_memory_per_node", max_memory_per_node) + _setter("max_memory_per_node", max_memory_per_node) if max_ocpus_per_node is not None: - pulumi.set(__self__, "max_ocpus_per_node", max_ocpus_per_node) + _setter("max_ocpus_per_node", max_ocpus_per_node) if memory_step_size is not None: - pulumi.set(__self__, "memory_step_size", memory_step_size) + _setter("memory_step_size", memory_step_size) if metric is not None: - pulumi.set(__self__, "metric", metric) + _setter("metric", metric) if ocpu_step_size is not None: - pulumi.set(__self__, "ocpu_step_size", ocpu_step_size) + _setter("ocpu_step_size", ocpu_step_size) @property @pulumi.getter(name="maxMemoryPerNode") @@ -828,10 +996,21 @@ def __init__(__self__, *, :param pulumi.Input[str] metric_type: (Updatable) Allowed value is CPU_UTILIZATION. :param pulumi.Input['AutoScalingConfigurationPolicyDetailsScaleUpConfigMetricThresholdArgs'] threshold: (Updatable) An autoscale action is triggered when a performance metric exceeds a threshold. """ + AutoScalingConfigurationPolicyDetailsScaleUpConfigMetricArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metric_type=metric_type, + threshold=threshold, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metric_type: Optional[pulumi.Input[str]] = None, + threshold: Optional[pulumi.Input['AutoScalingConfigurationPolicyDetailsScaleUpConfigMetricThresholdArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metric_type is not None: - pulumi.set(__self__, "metric_type", metric_type) + _setter("metric_type", metric_type) if threshold is not None: - pulumi.set(__self__, "threshold", threshold) + _setter("threshold", threshold) @property @pulumi.getter(name="metricType") @@ -869,12 +1048,25 @@ def __init__(__self__, *, :param pulumi.Input[str] operator: (Updatable) The comparison operator to use. Options are greater than (GT) or less than (LT). :param pulumi.Input[int] value: (Updatable) Integer non-negative value. 0 < value < 100 """ + AutoScalingConfigurationPolicyDetailsScaleUpConfigMetricThresholdArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + duration_in_minutes=duration_in_minutes, + operator=operator, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + duration_in_minutes: Optional[pulumi.Input[int]] = None, + operator: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if duration_in_minutes is not None: - pulumi.set(__self__, "duration_in_minutes", duration_in_minutes) + _setter("duration_in_minutes", duration_in_minutes) if operator is not None: - pulumi.set(__self__, "operator", operator) + _setter("operator", operator) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter(name="durationInMinutes") @@ -924,12 +1116,25 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['AutoScalingConfigurationPolicyDetailsScheduleDetailTimeAndHorizontalScalingConfigArgs']]] time_and_horizontal_scaling_configs: (Updatable) Time of day and horizontal scaling configuration. :param pulumi.Input[Sequence[pulumi.Input['AutoScalingConfigurationPolicyDetailsScheduleDetailTimeAndVerticalScalingConfigArgs']]] time_and_vertical_scaling_configs: (Updatable) Time of day and vertical scaling configuration """ + AutoScalingConfigurationPolicyDetailsScheduleDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + schedule_type=schedule_type, + time_and_horizontal_scaling_configs=time_and_horizontal_scaling_configs, + time_and_vertical_scaling_configs=time_and_vertical_scaling_configs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + schedule_type: Optional[pulumi.Input[str]] = None, + time_and_horizontal_scaling_configs: Optional[pulumi.Input[Sequence[pulumi.Input['AutoScalingConfigurationPolicyDetailsScheduleDetailTimeAndHorizontalScalingConfigArgs']]]] = None, + time_and_vertical_scaling_configs: Optional[pulumi.Input[Sequence[pulumi.Input['AutoScalingConfigurationPolicyDetailsScheduleDetailTimeAndVerticalScalingConfigArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if schedule_type is not None: - pulumi.set(__self__, "schedule_type", schedule_type) + _setter("schedule_type", schedule_type) if time_and_horizontal_scaling_configs is not None: - pulumi.set(__self__, "time_and_horizontal_scaling_configs", time_and_horizontal_scaling_configs) + _setter("time_and_horizontal_scaling_configs", time_and_horizontal_scaling_configs) if time_and_vertical_scaling_configs is not None: - pulumi.set(__self__, "time_and_vertical_scaling_configs", time_and_vertical_scaling_configs) + _setter("time_and_vertical_scaling_configs", time_and_vertical_scaling_configs) @property @pulumi.getter(name="scheduleType") @@ -977,10 +1182,21 @@ def __init__(__self__, *, :param pulumi.Input[int] target_node_count: (Updatable) This value is the desired number of nodes in the cluster. :param pulumi.Input[str] time_recurrence: (Updatable) Day/time recurrence (specified following RFC 5545) at which to trigger autoscaling action. Currently only WEEKLY frequency is supported. Days of the week are specified using BYDAY field. Time of the day is specified using BYHOUR and BYMINUTE fields. Other fields are not supported. """ + AutoScalingConfigurationPolicyDetailsScheduleDetailTimeAndHorizontalScalingConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + target_node_count=target_node_count, + time_recurrence=time_recurrence, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + target_node_count: Optional[pulumi.Input[int]] = None, + time_recurrence: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if target_node_count is not None: - pulumi.set(__self__, "target_node_count", target_node_count) + _setter("target_node_count", target_node_count) if time_recurrence is not None: - pulumi.set(__self__, "time_recurrence", time_recurrence) + _setter("time_recurrence", time_recurrence) @property @pulumi.getter(name="targetNodeCount") @@ -1020,14 +1236,29 @@ def __init__(__self__, *, :param pulumi.Input[str] target_shape: (Updatable) For nodes with [fixed compute shapes](https://docs.cloud.oracle.com/iaas/Content/bigdata/create-cluster.htm#cluster-plan-shape), this value is the desired shape of each node. This value is not used for nodes with flexible compute shapes. :param pulumi.Input[str] time_recurrence: (Updatable) Day/time recurrence (specified following RFC 5545) at which to trigger autoscaling action. Currently only WEEKLY frequency is supported. Days of the week are specified using BYDAY field. Time of the day is specified using BYHOUR and BYMINUTE fields. Other fields are not supported. """ + AutoScalingConfigurationPolicyDetailsScheduleDetailTimeAndVerticalScalingConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + target_memory_per_node=target_memory_per_node, + target_ocpus_per_node=target_ocpus_per_node, + target_shape=target_shape, + time_recurrence=time_recurrence, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + target_memory_per_node: Optional[pulumi.Input[int]] = None, + target_ocpus_per_node: Optional[pulumi.Input[int]] = None, + target_shape: Optional[pulumi.Input[str]] = None, + time_recurrence: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if target_memory_per_node is not None: - pulumi.set(__self__, "target_memory_per_node", target_memory_per_node) + _setter("target_memory_per_node", target_memory_per_node) if target_ocpus_per_node is not None: - pulumi.set(__self__, "target_ocpus_per_node", target_ocpus_per_node) + _setter("target_ocpus_per_node", target_ocpus_per_node) if target_shape is not None: - pulumi.set(__self__, "target_shape", target_shape) + _setter("target_shape", target_shape) if time_recurrence is not None: - pulumi.set(__self__, "time_recurrence", time_recurrence) + _setter("time_recurrence", time_recurrence) @property @pulumi.getter(name="targetMemoryPerNode") @@ -1087,8 +1318,19 @@ def __init__(__self__, *, :param pulumi.Input[str] action: (Updatable) The valid value are CHANGE_SHAPE_SCALE_UP or CHANGE_SHAPE_SCALE_DOWN. :param pulumi.Input['AutoScalingConfigurationPolicyRuleMetricArgs'] metric: (Updatable) Metric and threshold details for triggering an autoscale action. """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "metric", metric) + AutoScalingConfigurationPolicyRuleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + metric=metric, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: pulumi.Input[str], + metric: pulumi.Input['AutoScalingConfigurationPolicyRuleMetricArgs'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("metric", metric) @property @pulumi.getter @@ -1124,8 +1366,19 @@ def __init__(__self__, *, :param pulumi.Input[str] metric_type: (Updatable) Allowed value is CPU_UTILIZATION. :param pulumi.Input['AutoScalingConfigurationPolicyRuleMetricThresholdArgs'] threshold: (Updatable) An autoscale action is triggered when a performance metric exceeds a threshold. """ - pulumi.set(__self__, "metric_type", metric_type) - pulumi.set(__self__, "threshold", threshold) + AutoScalingConfigurationPolicyRuleMetricArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metric_type=metric_type, + threshold=threshold, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metric_type: pulumi.Input[str], + threshold: pulumi.Input['AutoScalingConfigurationPolicyRuleMetricThresholdArgs'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("metric_type", metric_type) + _setter("threshold", threshold) @property @pulumi.getter(name="metricType") @@ -1163,9 +1416,22 @@ def __init__(__self__, *, :param pulumi.Input[str] operator: (Updatable) The comparison operator to use. Options are greater than (GT) or less than (LT). :param pulumi.Input[int] value: (Updatable) Integer non-negative value. 0 < value < 100 """ - pulumi.set(__self__, "duration_in_minutes", duration_in_minutes) - pulumi.set(__self__, "operator", operator) - pulumi.set(__self__, "value", value) + AutoScalingConfigurationPolicyRuleMetricThresholdArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + duration_in_minutes=duration_in_minutes, + operator=operator, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + duration_in_minutes: pulumi.Input[int], + operator: pulumi.Input[str], + value: pulumi.Input[int], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("duration_in_minutes", duration_in_minutes) + _setter("operator", operator) + _setter("value", value) @property @pulumi.getter(name="durationInMinutes") @@ -1227,21 +1493,44 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "shape", shape) + BdsInstanceCloudSqlDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + shape=shape, + block_volume_size_in_gbs=block_volume_size_in_gbs, + ip_address=ip_address, + is_kerberos_mapped_to_database_users=is_kerberos_mapped_to_database_users, + kerberos_details=kerberos_details, + memory_in_gbs=memory_in_gbs, + nvmes=nvmes, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + shape: pulumi.Input[str], + block_volume_size_in_gbs: Optional[pulumi.Input[str]] = None, + ip_address: Optional[pulumi.Input[str]] = None, + is_kerberos_mapped_to_database_users: Optional[pulumi.Input[bool]] = None, + kerberos_details: Optional[pulumi.Input[Sequence[pulumi.Input['BdsInstanceCloudSqlDetailKerberosDetailArgs']]]] = None, + memory_in_gbs: Optional[pulumi.Input[int]] = None, + nvmes: Optional[pulumi.Input[int]] = None, + ocpus: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("shape", shape) if block_volume_size_in_gbs is not None: - pulumi.set(__self__, "block_volume_size_in_gbs", block_volume_size_in_gbs) + _setter("block_volume_size_in_gbs", block_volume_size_in_gbs) if ip_address is not None: - pulumi.set(__self__, "ip_address", ip_address) + _setter("ip_address", ip_address) if is_kerberos_mapped_to_database_users is not None: - pulumi.set(__self__, "is_kerberos_mapped_to_database_users", is_kerberos_mapped_to_database_users) + _setter("is_kerberos_mapped_to_database_users", is_kerberos_mapped_to_database_users) if kerberos_details is not None: - pulumi.set(__self__, "kerberos_details", kerberos_details) + _setter("kerberos_details", kerberos_details) if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) if nvmes is not None: - pulumi.set(__self__, "nvmes", nvmes) + _setter("nvmes", nvmes) if ocpus is not None: - pulumi.set(__self__, "ocpus", ocpus) + _setter("ocpus", ocpus) @property @pulumi.getter @@ -1351,10 +1640,21 @@ def __init__(__self__, *, :param pulumi.Input[str] keytab_file: Location of the keytab file :param pulumi.Input[str] principal_name: Name of the Kerberos principal """ + BdsInstanceCloudSqlDetailKerberosDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + keytab_file=keytab_file, + principal_name=principal_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + keytab_file: Optional[pulumi.Input[str]] = None, + principal_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if keytab_file is not None: - pulumi.set(__self__, "keytab_file", keytab_file) + _setter("keytab_file", keytab_file) if principal_name is not None: - pulumi.set(__self__, "principal_name", principal_name) + _setter("principal_name", principal_name) @property @pulumi.getter(name="keytabFile") @@ -1416,36 +1716,73 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The time the BDS instance was created. An RFC3339 formatted datetime string :param pulumi.Input[str] time_refreshed: The time the cluster was automatically or manually refreshed, shown as an RFC 3339 formatted datetime string. """ + BdsInstanceClusterDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + ambari_url=ambari_url, + bd_cell_version=bd_cell_version, + bda_version=bda_version, + bdm_version=bdm_version, + bds_version=bds_version, + big_data_manager_url=big_data_manager_url, + cloudera_manager_url=cloudera_manager_url, + csql_cell_version=csql_cell_version, + db_version=db_version, + hue_server_url=hue_server_url, + jupyter_hub_url=jupyter_hub_url, + odh_version=odh_version, + os_version=os_version, + time_created=time_created, + time_refreshed=time_refreshed, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ambari_url: Optional[pulumi.Input[str]] = None, + bd_cell_version: Optional[pulumi.Input[str]] = None, + bda_version: Optional[pulumi.Input[str]] = None, + bdm_version: Optional[pulumi.Input[str]] = None, + bds_version: Optional[pulumi.Input[str]] = None, + big_data_manager_url: Optional[pulumi.Input[str]] = None, + cloudera_manager_url: Optional[pulumi.Input[str]] = None, + csql_cell_version: Optional[pulumi.Input[str]] = None, + db_version: Optional[pulumi.Input[str]] = None, + hue_server_url: Optional[pulumi.Input[str]] = None, + jupyter_hub_url: Optional[pulumi.Input[str]] = None, + odh_version: Optional[pulumi.Input[str]] = None, + os_version: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_refreshed: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ambari_url is not None: - pulumi.set(__self__, "ambari_url", ambari_url) + _setter("ambari_url", ambari_url) if bd_cell_version is not None: - pulumi.set(__self__, "bd_cell_version", bd_cell_version) + _setter("bd_cell_version", bd_cell_version) if bda_version is not None: - pulumi.set(__self__, "bda_version", bda_version) + _setter("bda_version", bda_version) if bdm_version is not None: - pulumi.set(__self__, "bdm_version", bdm_version) + _setter("bdm_version", bdm_version) if bds_version is not None: - pulumi.set(__self__, "bds_version", bds_version) + _setter("bds_version", bds_version) if big_data_manager_url is not None: - pulumi.set(__self__, "big_data_manager_url", big_data_manager_url) + _setter("big_data_manager_url", big_data_manager_url) if cloudera_manager_url is not None: - pulumi.set(__self__, "cloudera_manager_url", cloudera_manager_url) + _setter("cloudera_manager_url", cloudera_manager_url) if csql_cell_version is not None: - pulumi.set(__self__, "csql_cell_version", csql_cell_version) + _setter("csql_cell_version", csql_cell_version) if db_version is not None: - pulumi.set(__self__, "db_version", db_version) + _setter("db_version", db_version) if hue_server_url is not None: - pulumi.set(__self__, "hue_server_url", hue_server_url) + _setter("hue_server_url", hue_server_url) if jupyter_hub_url is not None: - pulumi.set(__self__, "jupyter_hub_url", jupyter_hub_url) + _setter("jupyter_hub_url", jupyter_hub_url) if odh_version is not None: - pulumi.set(__self__, "odh_version", odh_version) + _setter("odh_version", odh_version) if os_version is not None: - pulumi.set(__self__, "os_version", os_version) + _setter("os_version", os_version) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_refreshed is not None: - pulumi.set(__self__, "time_refreshed", time_refreshed) + _setter("time_refreshed", time_refreshed) @property @pulumi.getter(name="ambariUrl") @@ -1643,13 +1980,30 @@ def __init__(__self__, *, :param pulumi.Input[str] block_volume_size_in_gbs: The size of block volume in GB that needs to be attached to a given node. All the necessary details needed for attachment are managed by service itself. :param pulumi.Input['BdsInstanceComputeOnlyWorkerNodeShapeConfigArgs'] shape_config: The shape configuration requested for the node. """ - pulumi.set(__self__, "number_of_nodes", number_of_nodes) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "subnet_id", subnet_id) + BdsInstanceComputeOnlyWorkerNodeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + number_of_nodes=number_of_nodes, + shape=shape, + subnet_id=subnet_id, + block_volume_size_in_gbs=block_volume_size_in_gbs, + shape_config=shape_config, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + number_of_nodes: pulumi.Input[int], + shape: pulumi.Input[str], + subnet_id: pulumi.Input[str], + block_volume_size_in_gbs: Optional[pulumi.Input[str]] = None, + shape_config: Optional[pulumi.Input['BdsInstanceComputeOnlyWorkerNodeShapeConfigArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("number_of_nodes", number_of_nodes) + _setter("shape", shape) + _setter("subnet_id", subnet_id) if block_volume_size_in_gbs is not None: - pulumi.set(__self__, "block_volume_size_in_gbs", block_volume_size_in_gbs) + _setter("block_volume_size_in_gbs", block_volume_size_in_gbs) if shape_config is not None: - pulumi.set(__self__, "shape_config", shape_config) + _setter("shape_config", shape_config) @property @pulumi.getter(name="numberOfNodes") @@ -1725,12 +2079,25 @@ def __init__(__self__, *, ** 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 """ + BdsInstanceComputeOnlyWorkerNodeShapeConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + nvmes=nvmes, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: Optional[pulumi.Input[int]] = None, + nvmes: Optional[pulumi.Input[int]] = None, + ocpus: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) if nvmes is not None: - pulumi.set(__self__, "nvmes", nvmes) + _setter("nvmes", nvmes) if ocpus is not None: - pulumi.set(__self__, "ocpus", ocpus) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -1786,13 +2153,30 @@ def __init__(__self__, *, :param pulumi.Input[str] block_volume_size_in_gbs: The size of block volume in GB that needs to be attached to a given node. All the necessary details needed for attachment are managed by service itself. :param pulumi.Input['BdsInstanceEdgeNodeShapeConfigArgs'] shape_config: The shape configuration requested for the node. """ - pulumi.set(__self__, "number_of_nodes", number_of_nodes) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "subnet_id", subnet_id) + BdsInstanceEdgeNodeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + number_of_nodes=number_of_nodes, + shape=shape, + subnet_id=subnet_id, + block_volume_size_in_gbs=block_volume_size_in_gbs, + shape_config=shape_config, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + number_of_nodes: pulumi.Input[int], + shape: pulumi.Input[str], + subnet_id: pulumi.Input[str], + block_volume_size_in_gbs: Optional[pulumi.Input[str]] = None, + shape_config: Optional[pulumi.Input['BdsInstanceEdgeNodeShapeConfigArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("number_of_nodes", number_of_nodes) + _setter("shape", shape) + _setter("subnet_id", subnet_id) if block_volume_size_in_gbs is not None: - pulumi.set(__self__, "block_volume_size_in_gbs", block_volume_size_in_gbs) + _setter("block_volume_size_in_gbs", block_volume_size_in_gbs) if shape_config is not None: - pulumi.set(__self__, "shape_config", shape_config) + _setter("shape_config", shape_config) @property @pulumi.getter(name="numberOfNodes") @@ -1868,12 +2252,25 @@ def __init__(__self__, *, ** 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 """ + BdsInstanceEdgeNodeShapeConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + nvmes=nvmes, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: Optional[pulumi.Input[int]] = None, + nvmes: Optional[pulumi.Input[int]] = None, + ocpus: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) if nvmes is not None: - pulumi.set(__self__, "nvmes", nvmes) + _setter("nvmes", nvmes) if ocpus is not None: - pulumi.set(__self__, "ocpus", ocpus) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -1928,13 +2325,30 @@ def __init__(__self__, *, :param pulumi.Input[str] block_volume_size_in_gbs: The size of block volume in GB that needs to be attached to a given node. All the necessary details needed for attachment are managed by service itself. :param pulumi.Input['BdsInstanceKafkaBrokerNodeShapeConfigArgs'] shape_config: The shape configuration requested for the node. """ - pulumi.set(__self__, "number_of_kafka_nodes", number_of_kafka_nodes) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "subnet_id", subnet_id) + BdsInstanceKafkaBrokerNodeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + number_of_kafka_nodes=number_of_kafka_nodes, + shape=shape, + subnet_id=subnet_id, + block_volume_size_in_gbs=block_volume_size_in_gbs, + shape_config=shape_config, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + number_of_kafka_nodes: pulumi.Input[int], + shape: pulumi.Input[str], + subnet_id: pulumi.Input[str], + block_volume_size_in_gbs: Optional[pulumi.Input[str]] = None, + shape_config: Optional[pulumi.Input['BdsInstanceKafkaBrokerNodeShapeConfigArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("number_of_kafka_nodes", number_of_kafka_nodes) + _setter("shape", shape) + _setter("subnet_id", subnet_id) if block_volume_size_in_gbs is not None: - pulumi.set(__self__, "block_volume_size_in_gbs", block_volume_size_in_gbs) + _setter("block_volume_size_in_gbs", block_volume_size_in_gbs) if shape_config is not None: - pulumi.set(__self__, "shape_config", shape_config) + _setter("shape_config", shape_config) @property @pulumi.getter(name="numberOfKafkaNodes") @@ -2007,12 +2421,25 @@ def __init__(__self__, *, ** 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 """ + BdsInstanceKafkaBrokerNodeShapeConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + nvmes=nvmes, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: Optional[pulumi.Input[int]] = None, + nvmes: Optional[pulumi.Input[int]] = None, + ocpus: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) if nvmes is not None: - pulumi.set(__self__, "nvmes", nvmes) + _setter("nvmes", nvmes) if ocpus is not None: - pulumi.set(__self__, "ocpus", ocpus) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -2068,13 +2495,30 @@ def __init__(__self__, *, :param pulumi.Input[str] block_volume_size_in_gbs: The size of block volume in GB that needs to be attached to a given node. All the necessary details needed for attachment are managed by service itself. :param pulumi.Input['BdsInstanceMasterNodeShapeConfigArgs'] shape_config: The shape configuration requested for the node. """ - pulumi.set(__self__, "number_of_nodes", number_of_nodes) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "subnet_id", subnet_id) + BdsInstanceMasterNodeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + number_of_nodes=number_of_nodes, + shape=shape, + subnet_id=subnet_id, + block_volume_size_in_gbs=block_volume_size_in_gbs, + shape_config=shape_config, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + number_of_nodes: pulumi.Input[int], + shape: pulumi.Input[str], + subnet_id: pulumi.Input[str], + block_volume_size_in_gbs: Optional[pulumi.Input[str]] = None, + shape_config: Optional[pulumi.Input['BdsInstanceMasterNodeShapeConfigArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("number_of_nodes", number_of_nodes) + _setter("shape", shape) + _setter("subnet_id", subnet_id) if block_volume_size_in_gbs is not None: - pulumi.set(__self__, "block_volume_size_in_gbs", block_volume_size_in_gbs) + _setter("block_volume_size_in_gbs", block_volume_size_in_gbs) if shape_config is not None: - pulumi.set(__self__, "shape_config", shape_config) + _setter("shape_config", shape_config) @property @pulumi.getter(name="numberOfNodes") @@ -2150,12 +2594,25 @@ def __init__(__self__, *, ** 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 """ + BdsInstanceMasterNodeShapeConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + nvmes=nvmes, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: Optional[pulumi.Input[int]] = None, + nvmes: Optional[pulumi.Input[int]] = None, + ocpus: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) if nvmes is not None: - pulumi.set(__self__, "nvmes", nvmes) + _setter("nvmes", nvmes) if ocpus is not None: - pulumi.set(__self__, "ocpus", ocpus) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -2205,10 +2662,21 @@ def __init__(__self__, *, :param pulumi.Input[str] cidr_block: The CIDR IP address block of the VCN. :param pulumi.Input[bool] is_nat_gateway_required: A boolean flag whether to configure a NAT gateway. """ + BdsInstanceNetworkConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + cidr_block=cidr_block, + is_nat_gateway_required=is_nat_gateway_required, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cidr_block: Optional[pulumi.Input[str]] = None, + is_nat_gateway_required: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if cidr_block is not None: - pulumi.set(__self__, "cidr_block", cidr_block) + _setter("cidr_block", cidr_block) if is_nat_gateway_required is not None: - pulumi.set(__self__, "is_nat_gateway_required", is_nat_gateway_required) + _setter("is_nat_gateway_required", is_nat_gateway_required) @property @pulumi.getter(name="cidrBlock") @@ -2276,40 +2744,81 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The time the BDS instance was created. An RFC3339 formatted datetime string :param pulumi.Input[str] time_maintenance_reboot_due: The date and time the instance is expected to be stopped / started, in the format defined by RFC3339. """ + BdsInstanceNodeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + attached_block_volumes=attached_block_volumes, + availability_domain=availability_domain, + display_name=display_name, + fault_domain=fault_domain, + hostname=hostname, + image_id=image_id, + instance_id=instance_id, + ip_address=ip_address, + memory_in_gbs=memory_in_gbs, + node_type=node_type, + ocpus=ocpus, + shape=shape, + ssh_fingerprint=ssh_fingerprint, + state=state, + subnet_id=subnet_id, + time_created=time_created, + time_maintenance_reboot_due=time_maintenance_reboot_due, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attached_block_volumes: Optional[pulumi.Input[Sequence[pulumi.Input['BdsInstanceNodeAttachedBlockVolumeArgs']]]] = None, + availability_domain: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + fault_domain: Optional[pulumi.Input[str]] = None, + hostname: Optional[pulumi.Input[str]] = None, + image_id: Optional[pulumi.Input[str]] = None, + instance_id: Optional[pulumi.Input[str]] = None, + ip_address: Optional[pulumi.Input[str]] = None, + memory_in_gbs: Optional[pulumi.Input[int]] = None, + node_type: Optional[pulumi.Input[str]] = None, + ocpus: Optional[pulumi.Input[int]] = None, + shape: Optional[pulumi.Input[str]] = None, + ssh_fingerprint: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_maintenance_reboot_due: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if attached_block_volumes is not None: - pulumi.set(__self__, "attached_block_volumes", attached_block_volumes) + _setter("attached_block_volumes", attached_block_volumes) if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if fault_domain is not None: - pulumi.set(__self__, "fault_domain", fault_domain) + _setter("fault_domain", fault_domain) if hostname is not None: - pulumi.set(__self__, "hostname", hostname) + _setter("hostname", hostname) if image_id is not None: - pulumi.set(__self__, "image_id", image_id) + _setter("image_id", image_id) if instance_id is not None: - pulumi.set(__self__, "instance_id", instance_id) + _setter("instance_id", instance_id) if ip_address is not None: - pulumi.set(__self__, "ip_address", ip_address) + _setter("ip_address", ip_address) if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) if node_type is not None: - pulumi.set(__self__, "node_type", node_type) + _setter("node_type", node_type) if ocpus is not None: - pulumi.set(__self__, "ocpus", ocpus) + _setter("ocpus", ocpus) if shape is not None: - pulumi.set(__self__, "shape", shape) + _setter("shape", shape) if ssh_fingerprint is not None: - pulumi.set(__self__, "ssh_fingerprint", ssh_fingerprint) + _setter("ssh_fingerprint", ssh_fingerprint) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_maintenance_reboot_due is not None: - pulumi.set(__self__, "time_maintenance_reboot_due", time_maintenance_reboot_due) + _setter("time_maintenance_reboot_due", time_maintenance_reboot_due) @property @pulumi.getter(name="attachedBlockVolumes") @@ -2527,10 +3036,21 @@ def __init__(__self__, *, :param pulumi.Input[str] volume_attachment_id: The OCID of the volume attachment. :param pulumi.Input[str] volume_size_in_gbs: The size of the volume in GBs. """ + BdsInstanceNodeAttachedBlockVolumeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + volume_attachment_id=volume_attachment_id, + volume_size_in_gbs=volume_size_in_gbs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + volume_attachment_id: Optional[pulumi.Input[str]] = None, + volume_size_in_gbs: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if volume_attachment_id is not None: - pulumi.set(__self__, "volume_attachment_id", volume_attachment_id) + _setter("volume_attachment_id", volume_attachment_id) if volume_size_in_gbs is not None: - pulumi.set(__self__, "volume_size_in_gbs", volume_size_in_gbs) + _setter("volume_size_in_gbs", volume_size_in_gbs) @property @pulumi.getter(name="volumeAttachmentId") @@ -2572,13 +3092,30 @@ def __init__(__self__, *, :param pulumi.Input[str] block_volume_size_in_gbs: The size of block volume in GB that needs to be attached to a given node. All the necessary details needed for attachment are managed by service itself. :param pulumi.Input['BdsInstanceUtilNodeShapeConfigArgs'] shape_config: The shape configuration requested for the node. """ - pulumi.set(__self__, "number_of_nodes", number_of_nodes) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "subnet_id", subnet_id) + BdsInstanceUtilNodeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + number_of_nodes=number_of_nodes, + shape=shape, + subnet_id=subnet_id, + block_volume_size_in_gbs=block_volume_size_in_gbs, + shape_config=shape_config, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + number_of_nodes: pulumi.Input[int], + shape: pulumi.Input[str], + subnet_id: pulumi.Input[str], + block_volume_size_in_gbs: Optional[pulumi.Input[str]] = None, + shape_config: Optional[pulumi.Input['BdsInstanceUtilNodeShapeConfigArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("number_of_nodes", number_of_nodes) + _setter("shape", shape) + _setter("subnet_id", subnet_id) if block_volume_size_in_gbs is not None: - pulumi.set(__self__, "block_volume_size_in_gbs", block_volume_size_in_gbs) + _setter("block_volume_size_in_gbs", block_volume_size_in_gbs) if shape_config is not None: - pulumi.set(__self__, "shape_config", shape_config) + _setter("shape_config", shape_config) @property @pulumi.getter(name="numberOfNodes") @@ -2654,12 +3191,25 @@ def __init__(__self__, *, ** 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 """ + BdsInstanceUtilNodeShapeConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + nvmes=nvmes, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: Optional[pulumi.Input[int]] = None, + nvmes: Optional[pulumi.Input[int]] = None, + ocpus: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) if nvmes is not None: - pulumi.set(__self__, "nvmes", nvmes) + _setter("nvmes", nvmes) if ocpus is not None: - pulumi.set(__self__, "ocpus", ocpus) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -2715,13 +3265,30 @@ def __init__(__self__, *, :param pulumi.Input[str] block_volume_size_in_gbs: The size of block volume in GB that needs to be attached to a given node. All the necessary details needed for attachment are managed by service itself. :param pulumi.Input['BdsInstanceWorkerNodeShapeConfigArgs'] shape_config: The shape configuration requested for the node. """ - pulumi.set(__self__, "number_of_nodes", number_of_nodes) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "subnet_id", subnet_id) + BdsInstanceWorkerNodeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + number_of_nodes=number_of_nodes, + shape=shape, + subnet_id=subnet_id, + block_volume_size_in_gbs=block_volume_size_in_gbs, + shape_config=shape_config, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + number_of_nodes: pulumi.Input[int], + shape: pulumi.Input[str], + subnet_id: pulumi.Input[str], + block_volume_size_in_gbs: Optional[pulumi.Input[str]] = None, + shape_config: Optional[pulumi.Input['BdsInstanceWorkerNodeShapeConfigArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("number_of_nodes", number_of_nodes) + _setter("shape", shape) + _setter("subnet_id", subnet_id) if block_volume_size_in_gbs is not None: - pulumi.set(__self__, "block_volume_size_in_gbs", block_volume_size_in_gbs) + _setter("block_volume_size_in_gbs", block_volume_size_in_gbs) if shape_config is not None: - pulumi.set(__self__, "shape_config", shape_config) + _setter("shape_config", shape_config) @property @pulumi.getter(name="numberOfNodes") @@ -2797,12 +3364,25 @@ def __init__(__self__, *, ** 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 """ + BdsInstanceWorkerNodeShapeConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + nvmes=nvmes, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: Optional[pulumi.Input[int]] = None, + nvmes: Optional[pulumi.Input[int]] = None, + ocpus: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) if nvmes is not None: - pulumi.set(__self__, "nvmes", nvmes) + _setter("nvmes", nvmes) if ocpus is not None: - pulumi.set(__self__, "ocpus", ocpus) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -2849,10 +3429,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAutoScalingConfigurationsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2888,10 +3481,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetBdsInstanceApiKeysFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2927,10 +3533,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetBdsInstanceGetOsPatchFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2966,10 +3585,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetBdsInstanceListOsPatchesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3005,10 +3637,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetBdsInstanceMetastoreConfigsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3044,10 +3689,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetBdsInstancePatchHistoriesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3083,10 +3741,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetBdsInstancePatchesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3122,10 +3793,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetBdsInstancesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/bigdataservice/auto_scaling_configuration.py b/sdk/python/pulumi_oci/bigdataservice/auto_scaling_configuration.py index abc4defff0..1974b160fc 100644 --- a/sdk/python/pulumi_oci/bigdataservice/auto_scaling_configuration.py +++ b/sdk/python/pulumi_oci/bigdataservice/auto_scaling_configuration.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -43,16 +43,37 @@ def __init__(__self__, *, An autoscaling configuration can have one of above supported policies. """ - pulumi.set(__self__, "bds_instance_id", bds_instance_id) - pulumi.set(__self__, "cluster_admin_password", cluster_admin_password) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "node_type", node_type) + AutoScalingConfigurationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + bds_instance_id=bds_instance_id, + cluster_admin_password=cluster_admin_password, + is_enabled=is_enabled, + node_type=node_type, + display_name=display_name, + policy=policy, + policy_details=policy_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bds_instance_id: pulumi.Input[str], + cluster_admin_password: pulumi.Input[str], + is_enabled: pulumi.Input[bool], + node_type: pulumi.Input[str], + display_name: Optional[pulumi.Input[str]] = None, + policy: Optional[pulumi.Input['AutoScalingConfigurationPolicyArgs']] = None, + policy_details: Optional[pulumi.Input['AutoScalingConfigurationPolicyDetailsArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bds_instance_id", bds_instance_id) + _setter("cluster_admin_password", cluster_admin_password) + _setter("is_enabled", is_enabled) + _setter("node_type", node_type) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if policy is not None: - pulumi.set(__self__, "policy", policy) + _setter("policy", policy) if policy_details is not None: - pulumi.set(__self__, "policy_details", policy_details) + _setter("policy_details", policy_details) @property @pulumi.getter(name="bdsInstanceId") @@ -185,26 +206,53 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The time the cluster was created, shown as an RFC 3339 formatted datetime string. :param pulumi.Input[str] time_updated: The time the autoscale configuration was updated, shown as an RFC 3339 formatted datetime string. """ + _AutoScalingConfigurationState._configure( + lambda key, value: pulumi.set(__self__, key, value), + bds_instance_id=bds_instance_id, + cluster_admin_password=cluster_admin_password, + display_name=display_name, + is_enabled=is_enabled, + node_type=node_type, + policy=policy, + policy_details=policy_details, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bds_instance_id: Optional[pulumi.Input[str]] = None, + cluster_admin_password: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + is_enabled: Optional[pulumi.Input[bool]] = None, + node_type: Optional[pulumi.Input[str]] = None, + policy: Optional[pulumi.Input['AutoScalingConfigurationPolicyArgs']] = None, + policy_details: Optional[pulumi.Input['AutoScalingConfigurationPolicyDetailsArgs']] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if bds_instance_id is not None: - pulumi.set(__self__, "bds_instance_id", bds_instance_id) + _setter("bds_instance_id", bds_instance_id) if cluster_admin_password is not None: - pulumi.set(__self__, "cluster_admin_password", cluster_admin_password) + _setter("cluster_admin_password", cluster_admin_password) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) if node_type is not None: - pulumi.set(__self__, "node_type", node_type) + _setter("node_type", node_type) if policy is not None: - pulumi.set(__self__, "policy", policy) + _setter("policy", policy) if policy_details is not None: - pulumi.set(__self__, "policy_details", policy_details) + _setter("policy_details", policy_details) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="bdsInstanceId") @@ -502,6 +550,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + AutoScalingConfigurationArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -536,7 +588,17 @@ def _internal_init(__self__, if node_type is None and not opts.urn: raise TypeError("Missing required property 'node_type'") __props__.__dict__["node_type"] = node_type + if policy is not None and not isinstance(policy, AutoScalingConfigurationPolicyArgs): + policy = policy or {} + def _setter(key, value): + policy[key] = value + AutoScalingConfigurationPolicyArgs._configure(_setter, **policy) __props__.__dict__["policy"] = policy + if policy_details is not None and not isinstance(policy_details, AutoScalingConfigurationPolicyDetailsArgs): + policy_details = policy_details or {} + def _setter(key, value): + policy_details[key] = value + AutoScalingConfigurationPolicyDetailsArgs._configure(_setter, **policy_details) __props__.__dict__["policy_details"] = policy_details __props__.__dict__["state"] = None __props__.__dict__["time_created"] = None diff --git a/sdk/python/pulumi_oci/bigdataservice/bds_instance.py b/sdk/python/pulumi_oci/bigdataservice/bds_instance.py index f9305e3491..ffaf95a8b8 100644 --- a/sdk/python/pulumi_oci/bigdataservice/bds_instance.py +++ b/sdk/python/pulumi_oci/bigdataservice/bds_instance.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -68,48 +68,107 @@ def __init__(__self__, *, :param pulumi.Input[str] os_patch_version: (Updatable) The version of the patch to be upated. :param pulumi.Input[str] state: (Updatable) The target state for the Bds Instance. Could be set to `ACTIVE` or `INACTIVE` to start/stop the bds instance. """ - pulumi.set(__self__, "cluster_admin_password", cluster_admin_password) - pulumi.set(__self__, "cluster_public_key", cluster_public_key) - pulumi.set(__self__, "cluster_version", cluster_version) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "is_high_availability", is_high_availability) - pulumi.set(__self__, "is_secure", is_secure) - pulumi.set(__self__, "master_node", master_node) - pulumi.set(__self__, "util_node", util_node) - pulumi.set(__self__, "worker_node", worker_node) + BdsInstanceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + cluster_admin_password=cluster_admin_password, + cluster_public_key=cluster_public_key, + cluster_version=cluster_version, + compartment_id=compartment_id, + display_name=display_name, + is_high_availability=is_high_availability, + is_secure=is_secure, + master_node=master_node, + util_node=util_node, + worker_node=worker_node, + bootstrap_script_url=bootstrap_script_url, + cloud_sql_details=cloud_sql_details, + cluster_profile=cluster_profile, + compute_only_worker_node=compute_only_worker_node, + defined_tags=defined_tags, + edge_node=edge_node, + freeform_tags=freeform_tags, + is_cloud_sql_configured=is_cloud_sql_configured, + is_force_stop_jobs=is_force_stop_jobs, + is_kafka_configured=is_kafka_configured, + kafka_broker_node=kafka_broker_node, + kerberos_realm_name=kerberos_realm_name, + kms_key_id=kms_key_id, + network_config=network_config, + os_patch_version=os_patch_version, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cluster_admin_password: pulumi.Input[str], + cluster_public_key: pulumi.Input[str], + cluster_version: pulumi.Input[str], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + is_high_availability: pulumi.Input[bool], + is_secure: pulumi.Input[bool], + master_node: pulumi.Input['BdsInstanceMasterNodeArgs'], + util_node: pulumi.Input['BdsInstanceUtilNodeArgs'], + worker_node: pulumi.Input['BdsInstanceWorkerNodeArgs'], + bootstrap_script_url: Optional[pulumi.Input[str]] = None, + cloud_sql_details: Optional[pulumi.Input[Sequence[pulumi.Input['BdsInstanceCloudSqlDetailArgs']]]] = None, + cluster_profile: Optional[pulumi.Input[str]] = None, + compute_only_worker_node: Optional[pulumi.Input['BdsInstanceComputeOnlyWorkerNodeArgs']] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + edge_node: Optional[pulumi.Input['BdsInstanceEdgeNodeArgs']] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_cloud_sql_configured: Optional[pulumi.Input[bool]] = None, + is_force_stop_jobs: Optional[pulumi.Input[bool]] = None, + is_kafka_configured: Optional[pulumi.Input[bool]] = None, + kafka_broker_node: Optional[pulumi.Input['BdsInstanceKafkaBrokerNodeArgs']] = None, + kerberos_realm_name: Optional[pulumi.Input[str]] = None, + kms_key_id: Optional[pulumi.Input[str]] = None, + network_config: Optional[pulumi.Input['BdsInstanceNetworkConfigArgs']] = None, + os_patch_version: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cluster_admin_password", cluster_admin_password) + _setter("cluster_public_key", cluster_public_key) + _setter("cluster_version", cluster_version) + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) + _setter("is_high_availability", is_high_availability) + _setter("is_secure", is_secure) + _setter("master_node", master_node) + _setter("util_node", util_node) + _setter("worker_node", worker_node) if bootstrap_script_url is not None: - pulumi.set(__self__, "bootstrap_script_url", bootstrap_script_url) + _setter("bootstrap_script_url", bootstrap_script_url) if cloud_sql_details is not None: - pulumi.set(__self__, "cloud_sql_details", cloud_sql_details) + _setter("cloud_sql_details", cloud_sql_details) if cluster_profile is not None: - pulumi.set(__self__, "cluster_profile", cluster_profile) + _setter("cluster_profile", cluster_profile) if compute_only_worker_node is not None: - pulumi.set(__self__, "compute_only_worker_node", compute_only_worker_node) + _setter("compute_only_worker_node", compute_only_worker_node) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if edge_node is not None: - pulumi.set(__self__, "edge_node", edge_node) + _setter("edge_node", edge_node) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_cloud_sql_configured is not None: - pulumi.set(__self__, "is_cloud_sql_configured", is_cloud_sql_configured) + _setter("is_cloud_sql_configured", is_cloud_sql_configured) if is_force_stop_jobs is not None: - pulumi.set(__self__, "is_force_stop_jobs", is_force_stop_jobs) + _setter("is_force_stop_jobs", is_force_stop_jobs) if is_kafka_configured is not None: - pulumi.set(__self__, "is_kafka_configured", is_kafka_configured) + _setter("is_kafka_configured", is_kafka_configured) if kafka_broker_node is not None: - pulumi.set(__self__, "kafka_broker_node", kafka_broker_node) + _setter("kafka_broker_node", kafka_broker_node) if kerberos_realm_name is not None: - pulumi.set(__self__, "kerberos_realm_name", kerberos_realm_name) + _setter("kerberos_realm_name", kerberos_realm_name) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) if network_config is not None: - pulumi.set(__self__, "network_config", network_config) + _setter("network_config", network_config) if os_patch_version is not None: - pulumi.set(__self__, "os_patch_version", os_patch_version) + _setter("os_patch_version", os_patch_version) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) @property @pulumi.getter(name="clusterAdminPassword") @@ -484,72 +543,145 @@ def __init__(__self__, *, :param pulumi.Input[str] time_updated: The time the BDS instance was updated. An RFC3339 formatted datetime string :param pulumi.Input['BdsInstanceUtilNodeArgs'] util_node: The utility node in the BDS instance """ + _BdsInstanceState._configure( + lambda key, value: pulumi.set(__self__, key, value), + bootstrap_script_url=bootstrap_script_url, + cloud_sql_details=cloud_sql_details, + cluster_admin_password=cluster_admin_password, + cluster_details=cluster_details, + cluster_profile=cluster_profile, + cluster_public_key=cluster_public_key, + cluster_version=cluster_version, + compartment_id=compartment_id, + compute_only_worker_node=compute_only_worker_node, + created_by=created_by, + defined_tags=defined_tags, + display_name=display_name, + edge_node=edge_node, + freeform_tags=freeform_tags, + is_cloud_sql_configured=is_cloud_sql_configured, + is_force_stop_jobs=is_force_stop_jobs, + is_high_availability=is_high_availability, + is_kafka_configured=is_kafka_configured, + is_secure=is_secure, + kafka_broker_node=kafka_broker_node, + kerberos_realm_name=kerberos_realm_name, + kms_key_id=kms_key_id, + master_node=master_node, + network_config=network_config, + nodes=nodes, + number_of_nodes=number_of_nodes, + number_of_nodes_requiring_maintenance_reboot=number_of_nodes_requiring_maintenance_reboot, + os_patch_version=os_patch_version, + state=state, + time_created=time_created, + time_updated=time_updated, + util_node=util_node, + worker_node=worker_node, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bootstrap_script_url: Optional[pulumi.Input[str]] = None, + cloud_sql_details: Optional[pulumi.Input[Sequence[pulumi.Input['BdsInstanceCloudSqlDetailArgs']]]] = None, + cluster_admin_password: Optional[pulumi.Input[str]] = None, + cluster_details: Optional[pulumi.Input[Sequence[pulumi.Input['BdsInstanceClusterDetailArgs']]]] = None, + cluster_profile: Optional[pulumi.Input[str]] = None, + cluster_public_key: Optional[pulumi.Input[str]] = None, + cluster_version: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + compute_only_worker_node: Optional[pulumi.Input['BdsInstanceComputeOnlyWorkerNodeArgs']] = None, + created_by: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + edge_node: Optional[pulumi.Input['BdsInstanceEdgeNodeArgs']] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_cloud_sql_configured: Optional[pulumi.Input[bool]] = None, + is_force_stop_jobs: Optional[pulumi.Input[bool]] = None, + is_high_availability: Optional[pulumi.Input[bool]] = None, + is_kafka_configured: Optional[pulumi.Input[bool]] = None, + is_secure: Optional[pulumi.Input[bool]] = None, + kafka_broker_node: Optional[pulumi.Input['BdsInstanceKafkaBrokerNodeArgs']] = None, + kerberos_realm_name: Optional[pulumi.Input[str]] = None, + kms_key_id: Optional[pulumi.Input[str]] = None, + master_node: Optional[pulumi.Input['BdsInstanceMasterNodeArgs']] = None, + network_config: Optional[pulumi.Input['BdsInstanceNetworkConfigArgs']] = None, + nodes: Optional[pulumi.Input[Sequence[pulumi.Input['BdsInstanceNodeArgs']]]] = None, + number_of_nodes: Optional[pulumi.Input[int]] = None, + number_of_nodes_requiring_maintenance_reboot: Optional[pulumi.Input[int]] = None, + os_patch_version: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + util_node: Optional[pulumi.Input['BdsInstanceUtilNodeArgs']] = None, + worker_node: Optional[pulumi.Input['BdsInstanceWorkerNodeArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if bootstrap_script_url is not None: - pulumi.set(__self__, "bootstrap_script_url", bootstrap_script_url) + _setter("bootstrap_script_url", bootstrap_script_url) if cloud_sql_details is not None: - pulumi.set(__self__, "cloud_sql_details", cloud_sql_details) + _setter("cloud_sql_details", cloud_sql_details) if cluster_admin_password is not None: - pulumi.set(__self__, "cluster_admin_password", cluster_admin_password) + _setter("cluster_admin_password", cluster_admin_password) if cluster_details is not None: - pulumi.set(__self__, "cluster_details", cluster_details) + _setter("cluster_details", cluster_details) if cluster_profile is not None: - pulumi.set(__self__, "cluster_profile", cluster_profile) + _setter("cluster_profile", cluster_profile) if cluster_public_key is not None: - pulumi.set(__self__, "cluster_public_key", cluster_public_key) + _setter("cluster_public_key", cluster_public_key) if cluster_version is not None: - pulumi.set(__self__, "cluster_version", cluster_version) + _setter("cluster_version", cluster_version) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if compute_only_worker_node is not None: - pulumi.set(__self__, "compute_only_worker_node", compute_only_worker_node) + _setter("compute_only_worker_node", compute_only_worker_node) if created_by is not None: - pulumi.set(__self__, "created_by", created_by) + _setter("created_by", created_by) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if edge_node is not None: - pulumi.set(__self__, "edge_node", edge_node) + _setter("edge_node", edge_node) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_cloud_sql_configured is not None: - pulumi.set(__self__, "is_cloud_sql_configured", is_cloud_sql_configured) + _setter("is_cloud_sql_configured", is_cloud_sql_configured) if is_force_stop_jobs is not None: - pulumi.set(__self__, "is_force_stop_jobs", is_force_stop_jobs) + _setter("is_force_stop_jobs", is_force_stop_jobs) if is_high_availability is not None: - pulumi.set(__self__, "is_high_availability", is_high_availability) + _setter("is_high_availability", is_high_availability) if is_kafka_configured is not None: - pulumi.set(__self__, "is_kafka_configured", is_kafka_configured) + _setter("is_kafka_configured", is_kafka_configured) if is_secure is not None: - pulumi.set(__self__, "is_secure", is_secure) + _setter("is_secure", is_secure) if kafka_broker_node is not None: - pulumi.set(__self__, "kafka_broker_node", kafka_broker_node) + _setter("kafka_broker_node", kafka_broker_node) if kerberos_realm_name is not None: - pulumi.set(__self__, "kerberos_realm_name", kerberos_realm_name) + _setter("kerberos_realm_name", kerberos_realm_name) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) if master_node is not None: - pulumi.set(__self__, "master_node", master_node) + _setter("master_node", master_node) if network_config is not None: - pulumi.set(__self__, "network_config", network_config) + _setter("network_config", network_config) if nodes is not None: - pulumi.set(__self__, "nodes", nodes) + _setter("nodes", nodes) if number_of_nodes is not None: - pulumi.set(__self__, "number_of_nodes", number_of_nodes) + _setter("number_of_nodes", number_of_nodes) if number_of_nodes_requiring_maintenance_reboot is not None: - pulumi.set(__self__, "number_of_nodes_requiring_maintenance_reboot", number_of_nodes_requiring_maintenance_reboot) + _setter("number_of_nodes_requiring_maintenance_reboot", number_of_nodes_requiring_maintenance_reboot) if os_patch_version is not None: - pulumi.set(__self__, "os_patch_version", os_patch_version) + _setter("os_patch_version", os_patch_version) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if util_node is not None: - pulumi.set(__self__, "util_node", util_node) + _setter("util_node", util_node) if worker_node is not None: - pulumi.set(__self__, "worker_node", worker_node) + _setter("worker_node", worker_node) @property @pulumi.getter(name="bootstrapScriptUrl") @@ -1039,6 +1171,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + BdsInstanceArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -1094,11 +1230,21 @@ def _internal_init(__self__, if compartment_id is None and not opts.urn: raise TypeError("Missing required property 'compartment_id'") __props__.__dict__["compartment_id"] = compartment_id + if compute_only_worker_node is not None and not isinstance(compute_only_worker_node, BdsInstanceComputeOnlyWorkerNodeArgs): + compute_only_worker_node = compute_only_worker_node or {} + def _setter(key, value): + compute_only_worker_node[key] = value + BdsInstanceComputeOnlyWorkerNodeArgs._configure(_setter, **compute_only_worker_node) __props__.__dict__["compute_only_worker_node"] = compute_only_worker_node __props__.__dict__["defined_tags"] = defined_tags if display_name is None and not opts.urn: raise TypeError("Missing required property 'display_name'") __props__.__dict__["display_name"] = display_name + if edge_node is not None and not isinstance(edge_node, BdsInstanceEdgeNodeArgs): + edge_node = edge_node or {} + def _setter(key, value): + edge_node[key] = value + BdsInstanceEdgeNodeArgs._configure(_setter, **edge_node) __props__.__dict__["edge_node"] = edge_node __props__.__dict__["freeform_tags"] = freeform_tags __props__.__dict__["is_cloud_sql_configured"] = is_cloud_sql_configured @@ -1110,18 +1256,43 @@ def _internal_init(__self__, if is_secure is None and not opts.urn: raise TypeError("Missing required property 'is_secure'") __props__.__dict__["is_secure"] = is_secure + if kafka_broker_node is not None and not isinstance(kafka_broker_node, BdsInstanceKafkaBrokerNodeArgs): + kafka_broker_node = kafka_broker_node or {} + def _setter(key, value): + kafka_broker_node[key] = value + BdsInstanceKafkaBrokerNodeArgs._configure(_setter, **kafka_broker_node) __props__.__dict__["kafka_broker_node"] = kafka_broker_node __props__.__dict__["kerberos_realm_name"] = kerberos_realm_name __props__.__dict__["kms_key_id"] = kms_key_id + if master_node is not None and not isinstance(master_node, BdsInstanceMasterNodeArgs): + master_node = master_node or {} + def _setter(key, value): + master_node[key] = value + BdsInstanceMasterNodeArgs._configure(_setter, **master_node) if master_node is None and not opts.urn: raise TypeError("Missing required property 'master_node'") __props__.__dict__["master_node"] = master_node + if network_config is not None and not isinstance(network_config, BdsInstanceNetworkConfigArgs): + network_config = network_config or {} + def _setter(key, value): + network_config[key] = value + BdsInstanceNetworkConfigArgs._configure(_setter, **network_config) __props__.__dict__["network_config"] = network_config __props__.__dict__["os_patch_version"] = os_patch_version __props__.__dict__["state"] = state + if util_node is not None and not isinstance(util_node, BdsInstanceUtilNodeArgs): + util_node = util_node or {} + def _setter(key, value): + util_node[key] = value + BdsInstanceUtilNodeArgs._configure(_setter, **util_node) if util_node is None and not opts.urn: raise TypeError("Missing required property 'util_node'") __props__.__dict__["util_node"] = util_node + if worker_node is not None and not isinstance(worker_node, BdsInstanceWorkerNodeArgs): + worker_node = worker_node or {} + def _setter(key, value): + worker_node[key] = value + BdsInstanceWorkerNodeArgs._configure(_setter, **worker_node) if worker_node is None and not opts.urn: raise TypeError("Missing required property 'worker_node'") __props__.__dict__["worker_node"] = worker_node diff --git a/sdk/python/pulumi_oci/bigdataservice/bds_instance_api_key.py b/sdk/python/pulumi_oci/bigdataservice/bds_instance_api_key.py index 92d723d3fc..9d20515573 100644 --- a/sdk/python/pulumi_oci/bigdataservice/bds_instance_api_key.py +++ b/sdk/python/pulumi_oci/bigdataservice/bds_instance_api_key.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['BdsInstanceApiKeyArgs', 'BdsInstanceApiKey'] @@ -31,12 +31,29 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] default_region: The name of the region to establish the Object Storage endpoint. See https://docs.oracle.com/en-us/iaas/api/#/en/identity/20160918/Region/ for additional information. """ - pulumi.set(__self__, "bds_instance_id", bds_instance_id) - pulumi.set(__self__, "key_alias", key_alias) - pulumi.set(__self__, "passphrase", passphrase) - pulumi.set(__self__, "user_id", user_id) + BdsInstanceApiKeyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + bds_instance_id=bds_instance_id, + key_alias=key_alias, + passphrase=passphrase, + user_id=user_id, + default_region=default_region, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bds_instance_id: pulumi.Input[str], + key_alias: pulumi.Input[str], + passphrase: pulumi.Input[str], + user_id: pulumi.Input[str], + default_region: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bds_instance_id", bds_instance_id) + _setter("key_alias", key_alias) + _setter("passphrase", passphrase) + _setter("user_id", user_id) if default_region is not None: - pulumi.set(__self__, "default_region", default_region) + _setter("default_region", default_region) @property @pulumi.getter(name="bdsInstanceId") @@ -133,26 +150,53 @@ def __init__(__self__, *, ** 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 """ + _BdsInstanceApiKeyState._configure( + lambda key, value: pulumi.set(__self__, key, value), + bds_instance_id=bds_instance_id, + default_region=default_region, + fingerprint=fingerprint, + key_alias=key_alias, + passphrase=passphrase, + pemfilepath=pemfilepath, + state=state, + tenant_id=tenant_id, + time_created=time_created, + user_id=user_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bds_instance_id: Optional[pulumi.Input[str]] = None, + default_region: Optional[pulumi.Input[str]] = None, + fingerprint: Optional[pulumi.Input[str]] = None, + key_alias: Optional[pulumi.Input[str]] = None, + passphrase: Optional[pulumi.Input[str]] = None, + pemfilepath: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + tenant_id: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + user_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if bds_instance_id is not None: - pulumi.set(__self__, "bds_instance_id", bds_instance_id) + _setter("bds_instance_id", bds_instance_id) if default_region is not None: - pulumi.set(__self__, "default_region", default_region) + _setter("default_region", default_region) if fingerprint is not None: - pulumi.set(__self__, "fingerprint", fingerprint) + _setter("fingerprint", fingerprint) if key_alias is not None: - pulumi.set(__self__, "key_alias", key_alias) + _setter("key_alias", key_alias) if passphrase is not None: - pulumi.set(__self__, "passphrase", passphrase) + _setter("passphrase", passphrase) if pemfilepath is not None: - pulumi.set(__self__, "pemfilepath", pemfilepath) + _setter("pemfilepath", pemfilepath) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if tenant_id is not None: - pulumi.set(__self__, "tenant_id", tenant_id) + _setter("tenant_id", tenant_id) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if user_id is not None: - pulumi.set(__self__, "user_id", user_id) + _setter("user_id", user_id) @property @pulumi.getter(name="bdsInstanceId") @@ -372,6 +416,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + BdsInstanceApiKeyArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/bigdataservice/bds_instance_metastore_config.py b/sdk/python/pulumi_oci/bigdataservice/bds_instance_metastore_config.py index 39edec6e1f..952c64c4e3 100644 --- a/sdk/python/pulumi_oci/bigdataservice/bds_instance_metastore_config.py +++ b/sdk/python/pulumi_oci/bigdataservice/bds_instance_metastore_config.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['BdsInstanceMetastoreConfigArgs', 'BdsInstanceMetastoreConfig'] @@ -35,15 +35,36 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] display_name: (Updatable) The display name of the metastore configuration """ - pulumi.set(__self__, "bds_api_key_id", bds_api_key_id) - pulumi.set(__self__, "bds_api_key_passphrase", bds_api_key_passphrase) - pulumi.set(__self__, "bds_instance_id", bds_instance_id) - pulumi.set(__self__, "cluster_admin_password", cluster_admin_password) - pulumi.set(__self__, "metastore_id", metastore_id) + BdsInstanceMetastoreConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + bds_api_key_id=bds_api_key_id, + bds_api_key_passphrase=bds_api_key_passphrase, + bds_instance_id=bds_instance_id, + cluster_admin_password=cluster_admin_password, + metastore_id=metastore_id, + activate_trigger=activate_trigger, + display_name=display_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bds_api_key_id: pulumi.Input[str], + bds_api_key_passphrase: pulumi.Input[str], + bds_instance_id: pulumi.Input[str], + cluster_admin_password: pulumi.Input[str], + metastore_id: pulumi.Input[str], + activate_trigger: Optional[pulumi.Input[int]] = None, + display_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bds_api_key_id", bds_api_key_id) + _setter("bds_api_key_passphrase", bds_api_key_passphrase) + _setter("bds_instance_id", bds_instance_id) + _setter("cluster_admin_password", cluster_admin_password) + _setter("metastore_id", metastore_id) if activate_trigger is not None: - pulumi.set(__self__, "activate_trigger", activate_trigger) + _setter("activate_trigger", activate_trigger) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) @property @pulumi.getter(name="bdsApiKeyId") @@ -166,28 +187,57 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The time when the configuration was created, shown as an RFC 3339 formatted datetime string. :param pulumi.Input[str] time_updated: The time when the configuration was updated, shown as an RFC 3339 formatted datetime string. """ + _BdsInstanceMetastoreConfigState._configure( + lambda key, value: pulumi.set(__self__, key, value), + activate_trigger=activate_trigger, + bds_api_key_id=bds_api_key_id, + bds_api_key_passphrase=bds_api_key_passphrase, + bds_instance_id=bds_instance_id, + cluster_admin_password=cluster_admin_password, + display_name=display_name, + metastore_id=metastore_id, + metastore_type=metastore_type, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + activate_trigger: Optional[pulumi.Input[int]] = None, + bds_api_key_id: Optional[pulumi.Input[str]] = None, + bds_api_key_passphrase: Optional[pulumi.Input[str]] = None, + bds_instance_id: Optional[pulumi.Input[str]] = None, + cluster_admin_password: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + metastore_id: Optional[pulumi.Input[str]] = None, + metastore_type: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if activate_trigger is not None: - pulumi.set(__self__, "activate_trigger", activate_trigger) + _setter("activate_trigger", activate_trigger) if bds_api_key_id is not None: - pulumi.set(__self__, "bds_api_key_id", bds_api_key_id) + _setter("bds_api_key_id", bds_api_key_id) if bds_api_key_passphrase is not None: - pulumi.set(__self__, "bds_api_key_passphrase", bds_api_key_passphrase) + _setter("bds_api_key_passphrase", bds_api_key_passphrase) if bds_instance_id is not None: - pulumi.set(__self__, "bds_instance_id", bds_instance_id) + _setter("bds_instance_id", bds_instance_id) if cluster_admin_password is not None: - pulumi.set(__self__, "cluster_admin_password", cluster_admin_password) + _setter("cluster_admin_password", cluster_admin_password) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if metastore_id is not None: - pulumi.set(__self__, "metastore_id", metastore_id) + _setter("metastore_id", metastore_id) if metastore_type is not None: - pulumi.set(__self__, "metastore_type", metastore_type) + _setter("metastore_type", metastore_type) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="activateTrigger") @@ -425,6 +475,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + BdsInstanceMetastoreConfigArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/bigdataservice/bds_instance_patch_action.py b/sdk/python/pulumi_oci/bigdataservice/bds_instance_patch_action.py index 359ac66353..1efe2d940d 100644 --- a/sdk/python/pulumi_oci/bigdataservice/bds_instance_patch_action.py +++ b/sdk/python/pulumi_oci/bigdataservice/bds_instance_patch_action.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['BdsInstancePatchActionArgs', 'BdsInstancePatchAction'] @@ -27,9 +27,22 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "bds_instance_id", bds_instance_id) - pulumi.set(__self__, "cluster_admin_password", cluster_admin_password) - pulumi.set(__self__, "version", version) + BdsInstancePatchActionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + bds_instance_id=bds_instance_id, + cluster_admin_password=cluster_admin_password, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bds_instance_id: pulumi.Input[str], + cluster_admin_password: pulumi.Input[str], + version: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bds_instance_id", bds_instance_id) + _setter("cluster_admin_password", cluster_admin_password) + _setter("version", version) @property @pulumi.getter(name="bdsInstanceId") @@ -88,12 +101,25 @@ def __init__(__self__, *, ** 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 """ + _BdsInstancePatchActionState._configure( + lambda key, value: pulumi.set(__self__, key, value), + bds_instance_id=bds_instance_id, + cluster_admin_password=cluster_admin_password, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bds_instance_id: Optional[pulumi.Input[str]] = None, + cluster_admin_password: Optional[pulumi.Input[str]] = None, + version: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if bds_instance_id is not None: - pulumi.set(__self__, "bds_instance_id", bds_instance_id) + _setter("bds_instance_id", bds_instance_id) if cluster_admin_password is not None: - pulumi.set(__self__, "cluster_admin_password", cluster_admin_password) + _setter("cluster_admin_password", cluster_admin_password) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter(name="bdsInstanceId") @@ -213,6 +239,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + BdsInstancePatchActionArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/bigdataservice/get_auto_scaling_configuration.py b/sdk/python/pulumi_oci/bigdataservice/get_auto_scaling_configuration.py index 40614a9ab9..d3ab6b3f0b 100644 --- a/sdk/python/pulumi_oci/bigdataservice/get_auto_scaling_configuration.py +++ b/sdk/python/pulumi_oci/bigdataservice/get_auto_scaling_configuration.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/bigdataservice/get_auto_scaling_configurations.py b/sdk/python/pulumi_oci/bigdataservice/get_auto_scaling_configurations.py index 51f004e619..4b70ce7603 100644 --- a/sdk/python/pulumi_oci/bigdataservice/get_auto_scaling_configurations.py +++ b/sdk/python/pulumi_oci/bigdataservice/get_auto_scaling_configurations.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/bigdataservice/get_bds_instance.py b/sdk/python/pulumi_oci/bigdataservice/get_bds_instance.py index e814b65a14..95f319bcdf 100644 --- a/sdk/python/pulumi_oci/bigdataservice/get_bds_instance.py +++ b/sdk/python/pulumi_oci/bigdataservice/get_bds_instance.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/bigdataservice/get_bds_instance_api_key.py b/sdk/python/pulumi_oci/bigdataservice/get_bds_instance_api_key.py index 53271fd606..3750ffd5f2 100644 --- a/sdk/python/pulumi_oci/bigdataservice/get_bds_instance_api_key.py +++ b/sdk/python/pulumi_oci/bigdataservice/get_bds_instance_api_key.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/bigdataservice/get_bds_instance_api_keys.py b/sdk/python/pulumi_oci/bigdataservice/get_bds_instance_api_keys.py index 02ddb3889d..6648846b3b 100644 --- a/sdk/python/pulumi_oci/bigdataservice/get_bds_instance_api_keys.py +++ b/sdk/python/pulumi_oci/bigdataservice/get_bds_instance_api_keys.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/bigdataservice/get_bds_instance_get_os_patch.py b/sdk/python/pulumi_oci/bigdataservice/get_bds_instance_get_os_patch.py index cafeef8dbb..4e7be232b2 100644 --- a/sdk/python/pulumi_oci/bigdataservice/get_bds_instance_get_os_patch.py +++ b/sdk/python/pulumi_oci/bigdataservice/get_bds_instance_get_os_patch.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/bigdataservice/get_bds_instance_list_os_patches.py b/sdk/python/pulumi_oci/bigdataservice/get_bds_instance_list_os_patches.py index 551091a994..c90289a0ad 100644 --- a/sdk/python/pulumi_oci/bigdataservice/get_bds_instance_list_os_patches.py +++ b/sdk/python/pulumi_oci/bigdataservice/get_bds_instance_list_os_patches.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/bigdataservice/get_bds_instance_metastore_config.py b/sdk/python/pulumi_oci/bigdataservice/get_bds_instance_metastore_config.py index 191da54def..d8804349c3 100644 --- a/sdk/python/pulumi_oci/bigdataservice/get_bds_instance_metastore_config.py +++ b/sdk/python/pulumi_oci/bigdataservice/get_bds_instance_metastore_config.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/bigdataservice/get_bds_instance_metastore_configs.py b/sdk/python/pulumi_oci/bigdataservice/get_bds_instance_metastore_configs.py index 5611b74a8d..aa6a061ef9 100644 --- a/sdk/python/pulumi_oci/bigdataservice/get_bds_instance_metastore_configs.py +++ b/sdk/python/pulumi_oci/bigdataservice/get_bds_instance_metastore_configs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/bigdataservice/get_bds_instance_patch_histories.py b/sdk/python/pulumi_oci/bigdataservice/get_bds_instance_patch_histories.py index 065f8f1542..fdfe79df95 100644 --- a/sdk/python/pulumi_oci/bigdataservice/get_bds_instance_patch_histories.py +++ b/sdk/python/pulumi_oci/bigdataservice/get_bds_instance_patch_histories.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/bigdataservice/get_bds_instance_patches.py b/sdk/python/pulumi_oci/bigdataservice/get_bds_instance_patches.py index fa11538cdd..3d8ac64635 100644 --- a/sdk/python/pulumi_oci/bigdataservice/get_bds_instance_patches.py +++ b/sdk/python/pulumi_oci/bigdataservice/get_bds_instance_patches.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/bigdataservice/get_bds_instances.py b/sdk/python/pulumi_oci/bigdataservice/get_bds_instances.py index c56441d8e5..476e898683 100644 --- a/sdk/python/pulumi_oci/bigdataservice/get_bds_instances.py +++ b/sdk/python/pulumi_oci/bigdataservice/get_bds_instances.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/bigdataservice/outputs.py b/sdk/python/pulumi_oci/bigdataservice/outputs.py index 0d274a8adf..98b3356d68 100644 --- a/sdk/python/pulumi_oci/bigdataservice/outputs.py +++ b/sdk/python/pulumi_oci/bigdataservice/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -169,8 +169,19 @@ def __init__(__self__, *, :param str policy_type: Type of autoscaling policy. :param Sequence['AutoScalingConfigurationPolicyRuleArgs'] rules: (Updatable) The list of rules for autoscaling. If an action has multiple rules, the last rule in the array will be applied. """ - pulumi.set(__self__, "policy_type", policy_type) - pulumi.set(__self__, "rules", rules) + AutoScalingConfigurationPolicy._configure( + lambda key, value: pulumi.set(__self__, key, value), + policy_type=policy_type, + rules=rules, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + policy_type: str, + rules: Sequence['outputs.AutoScalingConfigurationPolicyRule'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("policy_type", policy_type) + _setter("rules", rules) @property @pulumi.getter(name="policyType") @@ -247,23 +258,48 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param str trigger_type: The type of autoscaling trigger. """ - pulumi.set(__self__, "policy_type", policy_type) + AutoScalingConfigurationPolicyDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + policy_type=policy_type, + action_type=action_type, + scale_down_config=scale_down_config, + scale_in_config=scale_in_config, + scale_out_config=scale_out_config, + scale_up_config=scale_up_config, + schedule_details=schedule_details, + timezone=timezone, + trigger_type=trigger_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + policy_type: str, + action_type: Optional[str] = None, + scale_down_config: Optional['outputs.AutoScalingConfigurationPolicyDetailsScaleDownConfig'] = None, + scale_in_config: Optional['outputs.AutoScalingConfigurationPolicyDetailsScaleInConfig'] = None, + scale_out_config: Optional['outputs.AutoScalingConfigurationPolicyDetailsScaleOutConfig'] = None, + scale_up_config: Optional['outputs.AutoScalingConfigurationPolicyDetailsScaleUpConfig'] = None, + schedule_details: Optional[Sequence['outputs.AutoScalingConfigurationPolicyDetailsScheduleDetail']] = None, + timezone: Optional[str] = None, + trigger_type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("policy_type", policy_type) if action_type is not None: - pulumi.set(__self__, "action_type", action_type) + _setter("action_type", action_type) if scale_down_config is not None: - pulumi.set(__self__, "scale_down_config", scale_down_config) + _setter("scale_down_config", scale_down_config) if scale_in_config is not None: - pulumi.set(__self__, "scale_in_config", scale_in_config) + _setter("scale_in_config", scale_in_config) if scale_out_config is not None: - pulumi.set(__self__, "scale_out_config", scale_out_config) + _setter("scale_out_config", scale_out_config) if scale_up_config is not None: - pulumi.set(__self__, "scale_up_config", scale_up_config) + _setter("scale_up_config", scale_up_config) if schedule_details is not None: - pulumi.set(__self__, "schedule_details", schedule_details) + _setter("schedule_details", schedule_details) if timezone is not None: - pulumi.set(__self__, "timezone", timezone) + _setter("timezone", timezone) if trigger_type is not None: - pulumi.set(__self__, "trigger_type", trigger_type) + _setter("trigger_type", trigger_type) @property @pulumi.getter(name="policyType") @@ -380,16 +416,33 @@ def __init__(__self__, *, :param int min_ocpus_per_node: (Updatable) For nodes with [flexible compute shapes](https://docs.cloud.oracle.com/iaas/Content/bigdata/create-cluster.htm#cluster-plan-shape), this value is the minimum number of OCPUs each node can be scaled-down to. This value is not used for nodes with fixed compute shapes. :param int ocpu_step_size: (Updatable) For nodes with [flexible compute shapes](https://docs.cloud.oracle.com/iaas/Content/bigdata/create-cluster.htm#cluster-plan-shape), this value is the number of OCPUs to add to each node during a scale-up event. This value is not used for nodes with fixed compute shapes. """ + AutoScalingConfigurationPolicyDetailsScaleDownConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_step_size=memory_step_size, + metric=metric, + min_memory_per_node=min_memory_per_node, + min_ocpus_per_node=min_ocpus_per_node, + ocpu_step_size=ocpu_step_size, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_step_size: Optional[int] = None, + metric: Optional['outputs.AutoScalingConfigurationPolicyDetailsScaleDownConfigMetric'] = None, + min_memory_per_node: Optional[int] = None, + min_ocpus_per_node: Optional[int] = None, + ocpu_step_size: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if memory_step_size is not None: - pulumi.set(__self__, "memory_step_size", memory_step_size) + _setter("memory_step_size", memory_step_size) if metric is not None: - pulumi.set(__self__, "metric", metric) + _setter("metric", metric) if min_memory_per_node is not None: - pulumi.set(__self__, "min_memory_per_node", min_memory_per_node) + _setter("min_memory_per_node", min_memory_per_node) if min_ocpus_per_node is not None: - pulumi.set(__self__, "min_ocpus_per_node", min_ocpus_per_node) + _setter("min_ocpus_per_node", min_ocpus_per_node) if ocpu_step_size is not None: - pulumi.set(__self__, "ocpu_step_size", ocpu_step_size) + _setter("ocpu_step_size", ocpu_step_size) @property @pulumi.getter(name="memoryStepSize") @@ -458,10 +511,21 @@ def __init__(__self__, *, :param str metric_type: (Updatable) Allowed value is CPU_UTILIZATION. :param 'AutoScalingConfigurationPolicyDetailsScaleDownConfigMetricThresholdArgs' threshold: (Updatable) An autoscale action is triggered when a performance metric exceeds a threshold. """ + AutoScalingConfigurationPolicyDetailsScaleDownConfigMetric._configure( + lambda key, value: pulumi.set(__self__, key, value), + metric_type=metric_type, + threshold=threshold, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metric_type: Optional[str] = None, + threshold: Optional['outputs.AutoScalingConfigurationPolicyDetailsScaleDownConfigMetricThreshold'] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metric_type is not None: - pulumi.set(__self__, "metric_type", metric_type) + _setter("metric_type", metric_type) if threshold is not None: - pulumi.set(__self__, "threshold", threshold) + _setter("threshold", threshold) @property @pulumi.getter(name="metricType") @@ -508,12 +572,25 @@ def __init__(__self__, *, :param str operator: (Updatable) The comparison operator to use. Options are greater than (GT) or less than (LT). :param int value: (Updatable) Integer non-negative value. 0 < value < 100 """ + AutoScalingConfigurationPolicyDetailsScaleDownConfigMetricThreshold._configure( + lambda key, value: pulumi.set(__self__, key, value), + duration_in_minutes=duration_in_minutes, + operator=operator, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + duration_in_minutes: Optional[int] = None, + operator: Optional[str] = None, + value: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if duration_in_minutes is not None: - pulumi.set(__self__, "duration_in_minutes", duration_in_minutes) + _setter("duration_in_minutes", duration_in_minutes) if operator is not None: - pulumi.set(__self__, "operator", operator) + _setter("operator", operator) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter(name="durationInMinutes") @@ -570,12 +647,25 @@ def __init__(__self__, *, :param int min_node_count: (Updatable) This value is the minimum number of nodes the cluster can be scaled-in to. :param int step_size: (Updatable) This value is the number of nodes to add during a scale-out event. """ + AutoScalingConfigurationPolicyDetailsScaleInConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + metric=metric, + min_node_count=min_node_count, + step_size=step_size, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metric: Optional['outputs.AutoScalingConfigurationPolicyDetailsScaleInConfigMetric'] = None, + min_node_count: Optional[int] = None, + step_size: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metric is not None: - pulumi.set(__self__, "metric", metric) + _setter("metric", metric) if min_node_count is not None: - pulumi.set(__self__, "min_node_count", min_node_count) + _setter("min_node_count", min_node_count) if step_size is not None: - pulumi.set(__self__, "step_size", step_size) + _setter("step_size", step_size) @property @pulumi.getter @@ -628,10 +718,21 @@ def __init__(__self__, *, :param str metric_type: (Updatable) Allowed value is CPU_UTILIZATION. :param 'AutoScalingConfigurationPolicyDetailsScaleInConfigMetricThresholdArgs' threshold: (Updatable) An autoscale action is triggered when a performance metric exceeds a threshold. """ + AutoScalingConfigurationPolicyDetailsScaleInConfigMetric._configure( + lambda key, value: pulumi.set(__self__, key, value), + metric_type=metric_type, + threshold=threshold, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metric_type: Optional[str] = None, + threshold: Optional['outputs.AutoScalingConfigurationPolicyDetailsScaleInConfigMetricThreshold'] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metric_type is not None: - pulumi.set(__self__, "metric_type", metric_type) + _setter("metric_type", metric_type) if threshold is not None: - pulumi.set(__self__, "threshold", threshold) + _setter("threshold", threshold) @property @pulumi.getter(name="metricType") @@ -678,12 +779,25 @@ def __init__(__self__, *, :param str operator: (Updatable) The comparison operator to use. Options are greater than (GT) or less than (LT). :param int value: (Updatable) Integer non-negative value. 0 < value < 100 """ + AutoScalingConfigurationPolicyDetailsScaleInConfigMetricThreshold._configure( + lambda key, value: pulumi.set(__self__, key, value), + duration_in_minutes=duration_in_minutes, + operator=operator, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + duration_in_minutes: Optional[int] = None, + operator: Optional[str] = None, + value: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if duration_in_minutes is not None: - pulumi.set(__self__, "duration_in_minutes", duration_in_minutes) + _setter("duration_in_minutes", duration_in_minutes) if operator is not None: - pulumi.set(__self__, "operator", operator) + _setter("operator", operator) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter(name="durationInMinutes") @@ -740,12 +854,25 @@ def __init__(__self__, *, :param 'AutoScalingConfigurationPolicyDetailsScaleOutConfigMetricArgs' metric: (Updatable) Metric and threshold details for triggering an autoscale action. :param int step_size: (Updatable) This value is the number of nodes to add during a scale-out event. """ + AutoScalingConfigurationPolicyDetailsScaleOutConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + max_node_count=max_node_count, + metric=metric, + step_size=step_size, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max_node_count: Optional[int] = None, + metric: Optional['outputs.AutoScalingConfigurationPolicyDetailsScaleOutConfigMetric'] = None, + step_size: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if max_node_count is not None: - pulumi.set(__self__, "max_node_count", max_node_count) + _setter("max_node_count", max_node_count) if metric is not None: - pulumi.set(__self__, "metric", metric) + _setter("metric", metric) if step_size is not None: - pulumi.set(__self__, "step_size", step_size) + _setter("step_size", step_size) @property @pulumi.getter(name="maxNodeCount") @@ -798,10 +925,21 @@ def __init__(__self__, *, :param str metric_type: (Updatable) Allowed value is CPU_UTILIZATION. :param 'AutoScalingConfigurationPolicyDetailsScaleOutConfigMetricThresholdArgs' threshold: (Updatable) An autoscale action is triggered when a performance metric exceeds a threshold. """ + AutoScalingConfigurationPolicyDetailsScaleOutConfigMetric._configure( + lambda key, value: pulumi.set(__self__, key, value), + metric_type=metric_type, + threshold=threshold, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metric_type: Optional[str] = None, + threshold: Optional['outputs.AutoScalingConfigurationPolicyDetailsScaleOutConfigMetricThreshold'] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metric_type is not None: - pulumi.set(__self__, "metric_type", metric_type) + _setter("metric_type", metric_type) if threshold is not None: - pulumi.set(__self__, "threshold", threshold) + _setter("threshold", threshold) @property @pulumi.getter(name="metricType") @@ -848,12 +986,25 @@ def __init__(__self__, *, :param str operator: (Updatable) The comparison operator to use. Options are greater than (GT) or less than (LT). :param int value: (Updatable) Integer non-negative value. 0 < value < 100 """ + AutoScalingConfigurationPolicyDetailsScaleOutConfigMetricThreshold._configure( + lambda key, value: pulumi.set(__self__, key, value), + duration_in_minutes=duration_in_minutes, + operator=operator, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + duration_in_minutes: Optional[int] = None, + operator: Optional[str] = None, + value: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if duration_in_minutes is not None: - pulumi.set(__self__, "duration_in_minutes", duration_in_minutes) + _setter("duration_in_minutes", duration_in_minutes) if operator is not None: - pulumi.set(__self__, "operator", operator) + _setter("operator", operator) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter(name="durationInMinutes") @@ -918,16 +1069,33 @@ def __init__(__self__, *, :param 'AutoScalingConfigurationPolicyDetailsScaleUpConfigMetricArgs' metric: (Updatable) Metric and threshold details for triggering an autoscale action. :param int ocpu_step_size: (Updatable) For nodes with [flexible compute shapes](https://docs.cloud.oracle.com/iaas/Content/bigdata/create-cluster.htm#cluster-plan-shape), this value is the number of OCPUs to add to each node during a scale-up event. This value is not used for nodes with fixed compute shapes. """ + AutoScalingConfigurationPolicyDetailsScaleUpConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + max_memory_per_node=max_memory_per_node, + max_ocpus_per_node=max_ocpus_per_node, + memory_step_size=memory_step_size, + metric=metric, + ocpu_step_size=ocpu_step_size, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max_memory_per_node: Optional[int] = None, + max_ocpus_per_node: Optional[int] = None, + memory_step_size: Optional[int] = None, + metric: Optional['outputs.AutoScalingConfigurationPolicyDetailsScaleUpConfigMetric'] = None, + ocpu_step_size: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if max_memory_per_node is not None: - pulumi.set(__self__, "max_memory_per_node", max_memory_per_node) + _setter("max_memory_per_node", max_memory_per_node) if max_ocpus_per_node is not None: - pulumi.set(__self__, "max_ocpus_per_node", max_ocpus_per_node) + _setter("max_ocpus_per_node", max_ocpus_per_node) if memory_step_size is not None: - pulumi.set(__self__, "memory_step_size", memory_step_size) + _setter("memory_step_size", memory_step_size) if metric is not None: - pulumi.set(__self__, "metric", metric) + _setter("metric", metric) if ocpu_step_size is not None: - pulumi.set(__self__, "ocpu_step_size", ocpu_step_size) + _setter("ocpu_step_size", ocpu_step_size) @property @pulumi.getter(name="maxMemoryPerNode") @@ -996,10 +1164,21 @@ def __init__(__self__, *, :param str metric_type: (Updatable) Allowed value is CPU_UTILIZATION. :param 'AutoScalingConfigurationPolicyDetailsScaleUpConfigMetricThresholdArgs' threshold: (Updatable) An autoscale action is triggered when a performance metric exceeds a threshold. """ + AutoScalingConfigurationPolicyDetailsScaleUpConfigMetric._configure( + lambda key, value: pulumi.set(__self__, key, value), + metric_type=metric_type, + threshold=threshold, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metric_type: Optional[str] = None, + threshold: Optional['outputs.AutoScalingConfigurationPolicyDetailsScaleUpConfigMetricThreshold'] = None, + opts: Optional[pulumi.ResourceOptions]=None): if metric_type is not None: - pulumi.set(__self__, "metric_type", metric_type) + _setter("metric_type", metric_type) if threshold is not None: - pulumi.set(__self__, "threshold", threshold) + _setter("threshold", threshold) @property @pulumi.getter(name="metricType") @@ -1046,12 +1225,25 @@ def __init__(__self__, *, :param str operator: (Updatable) The comparison operator to use. Options are greater than (GT) or less than (LT). :param int value: (Updatable) Integer non-negative value. 0 < value < 100 """ + AutoScalingConfigurationPolicyDetailsScaleUpConfigMetricThreshold._configure( + lambda key, value: pulumi.set(__self__, key, value), + duration_in_minutes=duration_in_minutes, + operator=operator, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + duration_in_minutes: Optional[int] = None, + operator: Optional[str] = None, + value: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if duration_in_minutes is not None: - pulumi.set(__self__, "duration_in_minutes", duration_in_minutes) + _setter("duration_in_minutes", duration_in_minutes) if operator is not None: - pulumi.set(__self__, "operator", operator) + _setter("operator", operator) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter(name="durationInMinutes") @@ -1110,12 +1302,25 @@ def __init__(__self__, *, :param Sequence['AutoScalingConfigurationPolicyDetailsScheduleDetailTimeAndHorizontalScalingConfigArgs'] time_and_horizontal_scaling_configs: (Updatable) Time of day and horizontal scaling configuration. :param Sequence['AutoScalingConfigurationPolicyDetailsScheduleDetailTimeAndVerticalScalingConfigArgs'] time_and_vertical_scaling_configs: (Updatable) Time of day and vertical scaling configuration """ + AutoScalingConfigurationPolicyDetailsScheduleDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + schedule_type=schedule_type, + time_and_horizontal_scaling_configs=time_and_horizontal_scaling_configs, + time_and_vertical_scaling_configs=time_and_vertical_scaling_configs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + schedule_type: Optional[str] = None, + time_and_horizontal_scaling_configs: Optional[Sequence['outputs.AutoScalingConfigurationPolicyDetailsScheduleDetailTimeAndHorizontalScalingConfig']] = None, + time_and_vertical_scaling_configs: Optional[Sequence['outputs.AutoScalingConfigurationPolicyDetailsScheduleDetailTimeAndVerticalScalingConfig']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if schedule_type is not None: - pulumi.set(__self__, "schedule_type", schedule_type) + _setter("schedule_type", schedule_type) if time_and_horizontal_scaling_configs is not None: - pulumi.set(__self__, "time_and_horizontal_scaling_configs", time_and_horizontal_scaling_configs) + _setter("time_and_horizontal_scaling_configs", time_and_horizontal_scaling_configs) if time_and_vertical_scaling_configs is not None: - pulumi.set(__self__, "time_and_vertical_scaling_configs", time_and_vertical_scaling_configs) + _setter("time_and_vertical_scaling_configs", time_and_vertical_scaling_configs) @property @pulumi.getter(name="scheduleType") @@ -1170,10 +1375,21 @@ def __init__(__self__, *, :param int target_node_count: (Updatable) This value is the desired number of nodes in the cluster. :param str time_recurrence: (Updatable) Day/time recurrence (specified following RFC 5545) at which to trigger autoscaling action. Currently only WEEKLY frequency is supported. Days of the week are specified using BYDAY field. Time of the day is specified using BYHOUR and BYMINUTE fields. Other fields are not supported. """ + AutoScalingConfigurationPolicyDetailsScheduleDetailTimeAndHorizontalScalingConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + target_node_count=target_node_count, + time_recurrence=time_recurrence, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + target_node_count: Optional[int] = None, + time_recurrence: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if target_node_count is not None: - pulumi.set(__self__, "target_node_count", target_node_count) + _setter("target_node_count", target_node_count) if time_recurrence is not None: - pulumi.set(__self__, "time_recurrence", time_recurrence) + _setter("time_recurrence", time_recurrence) @property @pulumi.getter(name="targetNodeCount") @@ -1228,14 +1444,29 @@ def __init__(__self__, *, :param str target_shape: (Updatable) For nodes with [fixed compute shapes](https://docs.cloud.oracle.com/iaas/Content/bigdata/create-cluster.htm#cluster-plan-shape), this value is the desired shape of each node. This value is not used for nodes with flexible compute shapes. :param str time_recurrence: (Updatable) Day/time recurrence (specified following RFC 5545) at which to trigger autoscaling action. Currently only WEEKLY frequency is supported. Days of the week are specified using BYDAY field. Time of the day is specified using BYHOUR and BYMINUTE fields. Other fields are not supported. """ + AutoScalingConfigurationPolicyDetailsScheduleDetailTimeAndVerticalScalingConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + target_memory_per_node=target_memory_per_node, + target_ocpus_per_node=target_ocpus_per_node, + target_shape=target_shape, + time_recurrence=time_recurrence, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + target_memory_per_node: Optional[int] = None, + target_ocpus_per_node: Optional[int] = None, + target_shape: Optional[str] = None, + time_recurrence: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if target_memory_per_node is not None: - pulumi.set(__self__, "target_memory_per_node", target_memory_per_node) + _setter("target_memory_per_node", target_memory_per_node) if target_ocpus_per_node is not None: - pulumi.set(__self__, "target_ocpus_per_node", target_ocpus_per_node) + _setter("target_ocpus_per_node", target_ocpus_per_node) if target_shape is not None: - pulumi.set(__self__, "target_shape", target_shape) + _setter("target_shape", target_shape) if time_recurrence is not None: - pulumi.set(__self__, "time_recurrence", time_recurrence) + _setter("time_recurrence", time_recurrence) @property @pulumi.getter(name="targetMemoryPerNode") @@ -1279,8 +1510,19 @@ def __init__(__self__, *, :param str action: (Updatable) The valid value are CHANGE_SHAPE_SCALE_UP or CHANGE_SHAPE_SCALE_DOWN. :param 'AutoScalingConfigurationPolicyRuleMetricArgs' metric: (Updatable) Metric and threshold details for triggering an autoscale action. """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "metric", metric) + AutoScalingConfigurationPolicyRule._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + metric=metric, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: str, + metric: 'outputs.AutoScalingConfigurationPolicyRuleMetric', + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("metric", metric) @property @pulumi.getter @@ -1325,8 +1567,19 @@ def __init__(__self__, *, :param str metric_type: (Updatable) Allowed value is CPU_UTILIZATION. :param 'AutoScalingConfigurationPolicyRuleMetricThresholdArgs' threshold: (Updatable) An autoscale action is triggered when a performance metric exceeds a threshold. """ - pulumi.set(__self__, "metric_type", metric_type) - pulumi.set(__self__, "threshold", threshold) + AutoScalingConfigurationPolicyRuleMetric._configure( + lambda key, value: pulumi.set(__self__, key, value), + metric_type=metric_type, + threshold=threshold, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metric_type: str, + threshold: 'outputs.AutoScalingConfigurationPolicyRuleMetricThreshold', + opts: Optional[pulumi.ResourceOptions]=None): + _setter("metric_type", metric_type) + _setter("threshold", threshold) @property @pulumi.getter(name="metricType") @@ -1373,9 +1626,22 @@ def __init__(__self__, *, :param str operator: (Updatable) The comparison operator to use. Options are greater than (GT) or less than (LT). :param int value: (Updatable) Integer non-negative value. 0 < value < 100 """ - pulumi.set(__self__, "duration_in_minutes", duration_in_minutes) - pulumi.set(__self__, "operator", operator) - pulumi.set(__self__, "value", value) + AutoScalingConfigurationPolicyRuleMetricThreshold._configure( + lambda key, value: pulumi.set(__self__, key, value), + duration_in_minutes=duration_in_minutes, + operator=operator, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + duration_in_minutes: int, + operator: str, + value: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("duration_in_minutes", duration_in_minutes) + _setter("operator", operator) + _setter("value", value) @property @pulumi.getter(name="durationInMinutes") @@ -1450,21 +1716,44 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "shape", shape) + BdsInstanceCloudSqlDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + shape=shape, + block_volume_size_in_gbs=block_volume_size_in_gbs, + ip_address=ip_address, + is_kerberos_mapped_to_database_users=is_kerberos_mapped_to_database_users, + kerberos_details=kerberos_details, + memory_in_gbs=memory_in_gbs, + nvmes=nvmes, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + shape: str, + block_volume_size_in_gbs: Optional[str] = None, + ip_address: Optional[str] = None, + is_kerberos_mapped_to_database_users: Optional[bool] = None, + kerberos_details: Optional[Sequence['outputs.BdsInstanceCloudSqlDetailKerberosDetail']] = None, + memory_in_gbs: Optional[int] = None, + nvmes: Optional[int] = None, + ocpus: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("shape", shape) if block_volume_size_in_gbs is not None: - pulumi.set(__self__, "block_volume_size_in_gbs", block_volume_size_in_gbs) + _setter("block_volume_size_in_gbs", block_volume_size_in_gbs) if ip_address is not None: - pulumi.set(__self__, "ip_address", ip_address) + _setter("ip_address", ip_address) if is_kerberos_mapped_to_database_users is not None: - pulumi.set(__self__, "is_kerberos_mapped_to_database_users", is_kerberos_mapped_to_database_users) + _setter("is_kerberos_mapped_to_database_users", is_kerberos_mapped_to_database_users) if kerberos_details is not None: - pulumi.set(__self__, "kerberos_details", kerberos_details) + _setter("kerberos_details", kerberos_details) if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) if nvmes is not None: - pulumi.set(__self__, "nvmes", nvmes) + _setter("nvmes", nvmes) if ocpus is not None: - pulumi.set(__self__, "ocpus", ocpus) + _setter("ocpus", ocpus) @property @pulumi.getter @@ -1561,10 +1850,21 @@ def __init__(__self__, *, :param str keytab_file: Location of the keytab file :param str principal_name: Name of the Kerberos principal """ + BdsInstanceCloudSqlDetailKerberosDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + keytab_file=keytab_file, + principal_name=principal_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + keytab_file: Optional[str] = None, + principal_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if keytab_file is not None: - pulumi.set(__self__, "keytab_file", keytab_file) + _setter("keytab_file", keytab_file) if principal_name is not None: - pulumi.set(__self__, "principal_name", principal_name) + _setter("principal_name", principal_name) @property @pulumi.getter(name="keytabFile") @@ -1663,36 +1963,73 @@ def __init__(__self__, *, :param str time_created: The time the BDS instance was created. An RFC3339 formatted datetime string :param str time_refreshed: The time the cluster was automatically or manually refreshed, shown as an RFC 3339 formatted datetime string. """ + BdsInstanceClusterDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + ambari_url=ambari_url, + bd_cell_version=bd_cell_version, + bda_version=bda_version, + bdm_version=bdm_version, + bds_version=bds_version, + big_data_manager_url=big_data_manager_url, + cloudera_manager_url=cloudera_manager_url, + csql_cell_version=csql_cell_version, + db_version=db_version, + hue_server_url=hue_server_url, + jupyter_hub_url=jupyter_hub_url, + odh_version=odh_version, + os_version=os_version, + time_created=time_created, + time_refreshed=time_refreshed, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ambari_url: Optional[str] = None, + bd_cell_version: Optional[str] = None, + bda_version: Optional[str] = None, + bdm_version: Optional[str] = None, + bds_version: Optional[str] = None, + big_data_manager_url: Optional[str] = None, + cloudera_manager_url: Optional[str] = None, + csql_cell_version: Optional[str] = None, + db_version: Optional[str] = None, + hue_server_url: Optional[str] = None, + jupyter_hub_url: Optional[str] = None, + odh_version: Optional[str] = None, + os_version: Optional[str] = None, + time_created: Optional[str] = None, + time_refreshed: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ambari_url is not None: - pulumi.set(__self__, "ambari_url", ambari_url) + _setter("ambari_url", ambari_url) if bd_cell_version is not None: - pulumi.set(__self__, "bd_cell_version", bd_cell_version) + _setter("bd_cell_version", bd_cell_version) if bda_version is not None: - pulumi.set(__self__, "bda_version", bda_version) + _setter("bda_version", bda_version) if bdm_version is not None: - pulumi.set(__self__, "bdm_version", bdm_version) + _setter("bdm_version", bdm_version) if bds_version is not None: - pulumi.set(__self__, "bds_version", bds_version) + _setter("bds_version", bds_version) if big_data_manager_url is not None: - pulumi.set(__self__, "big_data_manager_url", big_data_manager_url) + _setter("big_data_manager_url", big_data_manager_url) if cloudera_manager_url is not None: - pulumi.set(__self__, "cloudera_manager_url", cloudera_manager_url) + _setter("cloudera_manager_url", cloudera_manager_url) if csql_cell_version is not None: - pulumi.set(__self__, "csql_cell_version", csql_cell_version) + _setter("csql_cell_version", csql_cell_version) if db_version is not None: - pulumi.set(__self__, "db_version", db_version) + _setter("db_version", db_version) if hue_server_url is not None: - pulumi.set(__self__, "hue_server_url", hue_server_url) + _setter("hue_server_url", hue_server_url) if jupyter_hub_url is not None: - pulumi.set(__self__, "jupyter_hub_url", jupyter_hub_url) + _setter("jupyter_hub_url", jupyter_hub_url) if odh_version is not None: - pulumi.set(__self__, "odh_version", odh_version) + _setter("odh_version", odh_version) if os_version is not None: - pulumi.set(__self__, "os_version", os_version) + _setter("os_version", os_version) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_refreshed is not None: - pulumi.set(__self__, "time_refreshed", time_refreshed) + _setter("time_refreshed", time_refreshed) @property @pulumi.getter(name="ambariUrl") @@ -1853,13 +2190,30 @@ def __init__(__self__, *, :param str block_volume_size_in_gbs: The size of block volume in GB that needs to be attached to a given node. All the necessary details needed for attachment are managed by service itself. :param 'BdsInstanceComputeOnlyWorkerNodeShapeConfigArgs' shape_config: The shape configuration requested for the node. """ - pulumi.set(__self__, "number_of_nodes", number_of_nodes) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "subnet_id", subnet_id) + BdsInstanceComputeOnlyWorkerNode._configure( + lambda key, value: pulumi.set(__self__, key, value), + number_of_nodes=number_of_nodes, + shape=shape, + subnet_id=subnet_id, + block_volume_size_in_gbs=block_volume_size_in_gbs, + shape_config=shape_config, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + number_of_nodes: int, + shape: str, + subnet_id: str, + block_volume_size_in_gbs: Optional[str] = None, + shape_config: Optional['outputs.BdsInstanceComputeOnlyWorkerNodeShapeConfig'] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("number_of_nodes", number_of_nodes) + _setter("shape", shape) + _setter("subnet_id", subnet_id) if block_volume_size_in_gbs is not None: - pulumi.set(__self__, "block_volume_size_in_gbs", block_volume_size_in_gbs) + _setter("block_volume_size_in_gbs", block_volume_size_in_gbs) if shape_config is not None: - pulumi.set(__self__, "shape_config", shape_config) + _setter("shape_config", shape_config) @property @pulumi.getter(name="numberOfNodes") @@ -1932,12 +2286,25 @@ def __init__(__self__, *, ** 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 """ + BdsInstanceComputeOnlyWorkerNodeShapeConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + nvmes=nvmes, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: Optional[int] = None, + nvmes: Optional[int] = None, + ocpus: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) if nvmes is not None: - pulumi.set(__self__, "nvmes", nvmes) + _setter("nvmes", nvmes) if ocpus is not None: - pulumi.set(__self__, "ocpus", ocpus) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -2004,13 +2371,30 @@ def __init__(__self__, *, :param str block_volume_size_in_gbs: The size of block volume in GB that needs to be attached to a given node. All the necessary details needed for attachment are managed by service itself. :param 'BdsInstanceEdgeNodeShapeConfigArgs' shape_config: The shape configuration requested for the node. """ - pulumi.set(__self__, "number_of_nodes", number_of_nodes) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "subnet_id", subnet_id) + BdsInstanceEdgeNode._configure( + lambda key, value: pulumi.set(__self__, key, value), + number_of_nodes=number_of_nodes, + shape=shape, + subnet_id=subnet_id, + block_volume_size_in_gbs=block_volume_size_in_gbs, + shape_config=shape_config, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + number_of_nodes: int, + shape: str, + subnet_id: str, + block_volume_size_in_gbs: Optional[str] = None, + shape_config: Optional['outputs.BdsInstanceEdgeNodeShapeConfig'] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("number_of_nodes", number_of_nodes) + _setter("shape", shape) + _setter("subnet_id", subnet_id) if block_volume_size_in_gbs is not None: - pulumi.set(__self__, "block_volume_size_in_gbs", block_volume_size_in_gbs) + _setter("block_volume_size_in_gbs", block_volume_size_in_gbs) if shape_config is not None: - pulumi.set(__self__, "shape_config", shape_config) + _setter("shape_config", shape_config) @property @pulumi.getter(name="numberOfNodes") @@ -2083,12 +2467,25 @@ def __init__(__self__, *, ** 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 """ + BdsInstanceEdgeNodeShapeConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + nvmes=nvmes, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: Optional[int] = None, + nvmes: Optional[int] = None, + ocpus: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) if nvmes is not None: - pulumi.set(__self__, "nvmes", nvmes) + _setter("nvmes", nvmes) if ocpus is not None: - pulumi.set(__self__, "ocpus", ocpus) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -2154,13 +2551,30 @@ def __init__(__self__, *, :param str block_volume_size_in_gbs: The size of block volume in GB that needs to be attached to a given node. All the necessary details needed for attachment are managed by service itself. :param 'BdsInstanceKafkaBrokerNodeShapeConfigArgs' shape_config: The shape configuration requested for the node. """ - pulumi.set(__self__, "number_of_kafka_nodes", number_of_kafka_nodes) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "subnet_id", subnet_id) + BdsInstanceKafkaBrokerNode._configure( + lambda key, value: pulumi.set(__self__, key, value), + number_of_kafka_nodes=number_of_kafka_nodes, + shape=shape, + subnet_id=subnet_id, + block_volume_size_in_gbs=block_volume_size_in_gbs, + shape_config=shape_config, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + number_of_kafka_nodes: int, + shape: str, + subnet_id: str, + block_volume_size_in_gbs: Optional[str] = None, + shape_config: Optional['outputs.BdsInstanceKafkaBrokerNodeShapeConfig'] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("number_of_kafka_nodes", number_of_kafka_nodes) + _setter("shape", shape) + _setter("subnet_id", subnet_id) if block_volume_size_in_gbs is not None: - pulumi.set(__self__, "block_volume_size_in_gbs", block_volume_size_in_gbs) + _setter("block_volume_size_in_gbs", block_volume_size_in_gbs) if shape_config is not None: - pulumi.set(__self__, "shape_config", shape_config) + _setter("shape_config", shape_config) @property @pulumi.getter(name="numberOfKafkaNodes") @@ -2230,12 +2644,25 @@ def __init__(__self__, *, ** 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 """ + BdsInstanceKafkaBrokerNodeShapeConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + nvmes=nvmes, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: Optional[int] = None, + nvmes: Optional[int] = None, + ocpus: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) if nvmes is not None: - pulumi.set(__self__, "nvmes", nvmes) + _setter("nvmes", nvmes) if ocpus is not None: - pulumi.set(__self__, "ocpus", ocpus) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -2302,13 +2729,30 @@ def __init__(__self__, *, :param str block_volume_size_in_gbs: The size of block volume in GB that needs to be attached to a given node. All the necessary details needed for attachment are managed by service itself. :param 'BdsInstanceMasterNodeShapeConfigArgs' shape_config: The shape configuration requested for the node. """ - pulumi.set(__self__, "number_of_nodes", number_of_nodes) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "subnet_id", subnet_id) + BdsInstanceMasterNode._configure( + lambda key, value: pulumi.set(__self__, key, value), + number_of_nodes=number_of_nodes, + shape=shape, + subnet_id=subnet_id, + block_volume_size_in_gbs=block_volume_size_in_gbs, + shape_config=shape_config, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + number_of_nodes: int, + shape: str, + subnet_id: str, + block_volume_size_in_gbs: Optional[str] = None, + shape_config: Optional['outputs.BdsInstanceMasterNodeShapeConfig'] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("number_of_nodes", number_of_nodes) + _setter("shape", shape) + _setter("subnet_id", subnet_id) if block_volume_size_in_gbs is not None: - pulumi.set(__self__, "block_volume_size_in_gbs", block_volume_size_in_gbs) + _setter("block_volume_size_in_gbs", block_volume_size_in_gbs) if shape_config is not None: - pulumi.set(__self__, "shape_config", shape_config) + _setter("shape_config", shape_config) @property @pulumi.getter(name="numberOfNodes") @@ -2381,12 +2825,25 @@ def __init__(__self__, *, ** 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 """ + BdsInstanceMasterNodeShapeConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + nvmes=nvmes, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: Optional[int] = None, + nvmes: Optional[int] = None, + ocpus: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) if nvmes is not None: - pulumi.set(__self__, "nvmes", nvmes) + _setter("nvmes", nvmes) if ocpus is not None: - pulumi.set(__self__, "ocpus", ocpus) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -2443,10 +2900,21 @@ def __init__(__self__, *, :param str cidr_block: The CIDR IP address block of the VCN. :param bool is_nat_gateway_required: A boolean flag whether to configure a NAT gateway. """ + BdsInstanceNetworkConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + cidr_block=cidr_block, + is_nat_gateway_required=is_nat_gateway_required, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cidr_block: Optional[str] = None, + is_nat_gateway_required: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): if cidr_block is not None: - pulumi.set(__self__, "cidr_block", cidr_block) + _setter("cidr_block", cidr_block) if is_nat_gateway_required is not None: - pulumi.set(__self__, "is_nat_gateway_required", is_nat_gateway_required) + _setter("is_nat_gateway_required", is_nat_gateway_required) @property @pulumi.getter(name="cidrBlock") @@ -2547,40 +3015,81 @@ def __init__(__self__, *, :param str time_created: The time the BDS instance was created. An RFC3339 formatted datetime string :param str time_maintenance_reboot_due: The date and time the instance is expected to be stopped / started, in the format defined by RFC3339. """ + BdsInstanceNode._configure( + lambda key, value: pulumi.set(__self__, key, value), + attached_block_volumes=attached_block_volumes, + availability_domain=availability_domain, + display_name=display_name, + fault_domain=fault_domain, + hostname=hostname, + image_id=image_id, + instance_id=instance_id, + ip_address=ip_address, + memory_in_gbs=memory_in_gbs, + node_type=node_type, + ocpus=ocpus, + shape=shape, + ssh_fingerprint=ssh_fingerprint, + state=state, + subnet_id=subnet_id, + time_created=time_created, + time_maintenance_reboot_due=time_maintenance_reboot_due, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attached_block_volumes: Optional[Sequence['outputs.BdsInstanceNodeAttachedBlockVolume']] = None, + availability_domain: Optional[str] = None, + display_name: Optional[str] = None, + fault_domain: Optional[str] = None, + hostname: Optional[str] = None, + image_id: Optional[str] = None, + instance_id: Optional[str] = None, + ip_address: Optional[str] = None, + memory_in_gbs: Optional[int] = None, + node_type: Optional[str] = None, + ocpus: Optional[int] = None, + shape: Optional[str] = None, + ssh_fingerprint: Optional[str] = None, + state: Optional[str] = None, + subnet_id: Optional[str] = None, + time_created: Optional[str] = None, + time_maintenance_reboot_due: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if attached_block_volumes is not None: - pulumi.set(__self__, "attached_block_volumes", attached_block_volumes) + _setter("attached_block_volumes", attached_block_volumes) if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if fault_domain is not None: - pulumi.set(__self__, "fault_domain", fault_domain) + _setter("fault_domain", fault_domain) if hostname is not None: - pulumi.set(__self__, "hostname", hostname) + _setter("hostname", hostname) if image_id is not None: - pulumi.set(__self__, "image_id", image_id) + _setter("image_id", image_id) if instance_id is not None: - pulumi.set(__self__, "instance_id", instance_id) + _setter("instance_id", instance_id) if ip_address is not None: - pulumi.set(__self__, "ip_address", ip_address) + _setter("ip_address", ip_address) if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) if node_type is not None: - pulumi.set(__self__, "node_type", node_type) + _setter("node_type", node_type) if ocpus is not None: - pulumi.set(__self__, "ocpus", ocpus) + _setter("ocpus", ocpus) if shape is not None: - pulumi.set(__self__, "shape", shape) + _setter("shape", shape) if ssh_fingerprint is not None: - pulumi.set(__self__, "ssh_fingerprint", ssh_fingerprint) + _setter("ssh_fingerprint", ssh_fingerprint) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_maintenance_reboot_due is not None: - pulumi.set(__self__, "time_maintenance_reboot_due", time_maintenance_reboot_due) + _setter("time_maintenance_reboot_due", time_maintenance_reboot_due) @property @pulumi.getter(name="attachedBlockVolumes") @@ -2749,10 +3258,21 @@ def __init__(__self__, *, :param str volume_attachment_id: The OCID of the volume attachment. :param str volume_size_in_gbs: The size of the volume in GBs. """ + BdsInstanceNodeAttachedBlockVolume._configure( + lambda key, value: pulumi.set(__self__, key, value), + volume_attachment_id=volume_attachment_id, + volume_size_in_gbs=volume_size_in_gbs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + volume_attachment_id: Optional[str] = None, + volume_size_in_gbs: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if volume_attachment_id is not None: - pulumi.set(__self__, "volume_attachment_id", volume_attachment_id) + _setter("volume_attachment_id", volume_attachment_id) if volume_size_in_gbs is not None: - pulumi.set(__self__, "volume_size_in_gbs", volume_size_in_gbs) + _setter("volume_size_in_gbs", volume_size_in_gbs) @property @pulumi.getter(name="volumeAttachmentId") @@ -2809,13 +3329,30 @@ def __init__(__self__, *, :param str block_volume_size_in_gbs: The size of block volume in GB that needs to be attached to a given node. All the necessary details needed for attachment are managed by service itself. :param 'BdsInstanceUtilNodeShapeConfigArgs' shape_config: The shape configuration requested for the node. """ - pulumi.set(__self__, "number_of_nodes", number_of_nodes) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "subnet_id", subnet_id) + BdsInstanceUtilNode._configure( + lambda key, value: pulumi.set(__self__, key, value), + number_of_nodes=number_of_nodes, + shape=shape, + subnet_id=subnet_id, + block_volume_size_in_gbs=block_volume_size_in_gbs, + shape_config=shape_config, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + number_of_nodes: int, + shape: str, + subnet_id: str, + block_volume_size_in_gbs: Optional[str] = None, + shape_config: Optional['outputs.BdsInstanceUtilNodeShapeConfig'] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("number_of_nodes", number_of_nodes) + _setter("shape", shape) + _setter("subnet_id", subnet_id) if block_volume_size_in_gbs is not None: - pulumi.set(__self__, "block_volume_size_in_gbs", block_volume_size_in_gbs) + _setter("block_volume_size_in_gbs", block_volume_size_in_gbs) if shape_config is not None: - pulumi.set(__self__, "shape_config", shape_config) + _setter("shape_config", shape_config) @property @pulumi.getter(name="numberOfNodes") @@ -2888,12 +3425,25 @@ def __init__(__self__, *, ** 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 """ + BdsInstanceUtilNodeShapeConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + nvmes=nvmes, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: Optional[int] = None, + nvmes: Optional[int] = None, + ocpus: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) if nvmes is not None: - pulumi.set(__self__, "nvmes", nvmes) + _setter("nvmes", nvmes) if ocpus is not None: - pulumi.set(__self__, "ocpus", ocpus) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -2960,13 +3510,30 @@ def __init__(__self__, *, :param str block_volume_size_in_gbs: The size of block volume in GB that needs to be attached to a given node. All the necessary details needed for attachment are managed by service itself. :param 'BdsInstanceWorkerNodeShapeConfigArgs' shape_config: The shape configuration requested for the node. """ - pulumi.set(__self__, "number_of_nodes", number_of_nodes) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "subnet_id", subnet_id) + BdsInstanceWorkerNode._configure( + lambda key, value: pulumi.set(__self__, key, value), + number_of_nodes=number_of_nodes, + shape=shape, + subnet_id=subnet_id, + block_volume_size_in_gbs=block_volume_size_in_gbs, + shape_config=shape_config, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + number_of_nodes: int, + shape: str, + subnet_id: str, + block_volume_size_in_gbs: Optional[str] = None, + shape_config: Optional['outputs.BdsInstanceWorkerNodeShapeConfig'] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("number_of_nodes", number_of_nodes) + _setter("shape", shape) + _setter("subnet_id", subnet_id) if block_volume_size_in_gbs is not None: - pulumi.set(__self__, "block_volume_size_in_gbs", block_volume_size_in_gbs) + _setter("block_volume_size_in_gbs", block_volume_size_in_gbs) if shape_config is not None: - pulumi.set(__self__, "shape_config", shape_config) + _setter("shape_config", shape_config) @property @pulumi.getter(name="numberOfNodes") @@ -3039,12 +3606,25 @@ def __init__(__self__, *, ** 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 """ + BdsInstanceWorkerNodeShapeConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + nvmes=nvmes, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: Optional[int] = None, + nvmes: Optional[int] = None, + ocpus: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) if nvmes is not None: - pulumi.set(__self__, "nvmes", nvmes) + _setter("nvmes", nvmes) if ocpus is not None: - pulumi.set(__self__, "ocpus", ocpus) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -3082,8 +3662,19 @@ def __init__(__self__, *, :param str policy_type: Type of autoscaling policy. :param Sequence['GetAutoScalingConfigurationPolicyRuleArgs'] rules: The list of rules for autoscaling. If an action has multiple rules, the last rule in the array will be applied. """ - pulumi.set(__self__, "policy_type", policy_type) - pulumi.set(__self__, "rules", rules) + GetAutoScalingConfigurationPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + policy_type=policy_type, + rules=rules, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + policy_type: str, + rules: Sequence['outputs.GetAutoScalingConfigurationPolicyRuleResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("policy_type", policy_type) + _setter("rules", rules) @property @pulumi.getter(name="policyType") @@ -3125,15 +3716,40 @@ def __init__(__self__, *, :param str timezone: The time zone of the execution schedule, in IANA time zone database name format :param str trigger_type: The type of autoscaling trigger. """ - pulumi.set(__self__, "action_type", action_type) - pulumi.set(__self__, "policy_type", policy_type) - pulumi.set(__self__, "scale_down_configs", scale_down_configs) - pulumi.set(__self__, "scale_in_configs", scale_in_configs) - pulumi.set(__self__, "scale_out_configs", scale_out_configs) - pulumi.set(__self__, "scale_up_configs", scale_up_configs) - pulumi.set(__self__, "schedule_details", schedule_details) - pulumi.set(__self__, "timezone", timezone) - pulumi.set(__self__, "trigger_type", trigger_type) + GetAutoScalingConfigurationPolicyDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action_type=action_type, + policy_type=policy_type, + scale_down_configs=scale_down_configs, + scale_in_configs=scale_in_configs, + scale_out_configs=scale_out_configs, + scale_up_configs=scale_up_configs, + schedule_details=schedule_details, + timezone=timezone, + trigger_type=trigger_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action_type: str, + policy_type: str, + scale_down_configs: Sequence['outputs.GetAutoScalingConfigurationPolicyDetailScaleDownConfigResult'], + scale_in_configs: Sequence['outputs.GetAutoScalingConfigurationPolicyDetailScaleInConfigResult'], + scale_out_configs: Sequence['outputs.GetAutoScalingConfigurationPolicyDetailScaleOutConfigResult'], + scale_up_configs: Sequence['outputs.GetAutoScalingConfigurationPolicyDetailScaleUpConfigResult'], + schedule_details: Sequence['outputs.GetAutoScalingConfigurationPolicyDetailScheduleDetailResult'], + timezone: str, + trigger_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action_type", action_type) + _setter("policy_type", policy_type) + _setter("scale_down_configs", scale_down_configs) + _setter("scale_in_configs", scale_in_configs) + _setter("scale_out_configs", scale_out_configs) + _setter("scale_up_configs", scale_up_configs) + _setter("schedule_details", schedule_details) + _setter("timezone", timezone) + _setter("trigger_type", trigger_type) @property @pulumi.getter(name="actionType") @@ -3223,11 +3839,28 @@ def __init__(__self__, *, :param int min_ocpus_per_node: For nodes with [flexible compute shapes](https://docs.cloud.oracle.com/iaas/Content/bigdata/create-cluster.htm#cluster-plan-shape), this value is the minimum number of OCPUs each node can be scaled-down to. This value is not used for nodes with fixed compute shapes. :param int ocpu_step_size: For nodes with [flexible compute shapes](https://docs.cloud.oracle.com/iaas/Content/bigdata/create-cluster.htm#cluster-plan-shape), this value is the number of OCPUs to add to each node during a scale-up event. This value is not used for nodes with fixed compute shapes. """ - pulumi.set(__self__, "memory_step_size", memory_step_size) - pulumi.set(__self__, "metrics", metrics) - pulumi.set(__self__, "min_memory_per_node", min_memory_per_node) - pulumi.set(__self__, "min_ocpus_per_node", min_ocpus_per_node) - pulumi.set(__self__, "ocpu_step_size", ocpu_step_size) + GetAutoScalingConfigurationPolicyDetailScaleDownConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_step_size=memory_step_size, + metrics=metrics, + min_memory_per_node=min_memory_per_node, + min_ocpus_per_node=min_ocpus_per_node, + ocpu_step_size=ocpu_step_size, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_step_size: int, + metrics: Sequence['outputs.GetAutoScalingConfigurationPolicyDetailScaleDownConfigMetricResult'], + min_memory_per_node: int, + min_ocpus_per_node: int, + ocpu_step_size: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("memory_step_size", memory_step_size) + _setter("metrics", metrics) + _setter("min_memory_per_node", min_memory_per_node) + _setter("min_ocpus_per_node", min_ocpus_per_node) + _setter("ocpu_step_size", ocpu_step_size) @property @pulumi.getter(name="memoryStepSize") @@ -3279,8 +3912,19 @@ def __init__(__self__, *, :param str metric_type: Allowed value is CPU_UTILIZATION. :param Sequence['GetAutoScalingConfigurationPolicyDetailScaleDownConfigMetricThresholdArgs'] thresholds: An autoscale action is triggered when a performance metric exceeds a threshold. """ - pulumi.set(__self__, "metric_type", metric_type) - pulumi.set(__self__, "thresholds", thresholds) + GetAutoScalingConfigurationPolicyDetailScaleDownConfigMetricResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + metric_type=metric_type, + thresholds=thresholds, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metric_type: str, + thresholds: Sequence['outputs.GetAutoScalingConfigurationPolicyDetailScaleDownConfigMetricThresholdResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("metric_type", metric_type) + _setter("thresholds", thresholds) @property @pulumi.getter(name="metricType") @@ -3310,9 +3954,22 @@ def __init__(__self__, *, :param str operator: The comparison operator to use. Options are greater than (GT) or less than (LT). :param int value: Integer non-negative value. 0 < value < 100 """ - pulumi.set(__self__, "duration_in_minutes", duration_in_minutes) - pulumi.set(__self__, "operator", operator) - pulumi.set(__self__, "value", value) + GetAutoScalingConfigurationPolicyDetailScaleDownConfigMetricThresholdResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + duration_in_minutes=duration_in_minutes, + operator=operator, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + duration_in_minutes: int, + operator: str, + value: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("duration_in_minutes", duration_in_minutes) + _setter("operator", operator) + _setter("value", value) @property @pulumi.getter(name="durationInMinutes") @@ -3350,9 +4007,22 @@ def __init__(__self__, *, :param int min_node_count: This value is the minimum number of nodes the cluster can be scaled-in to. :param int step_size: This value is the number of nodes to add during a scale-out event. """ - pulumi.set(__self__, "metrics", metrics) - pulumi.set(__self__, "min_node_count", min_node_count) - pulumi.set(__self__, "step_size", step_size) + GetAutoScalingConfigurationPolicyDetailScaleInConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics=metrics, + min_node_count=min_node_count, + step_size=step_size, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics: Sequence['outputs.GetAutoScalingConfigurationPolicyDetailScaleInConfigMetricResult'], + min_node_count: int, + step_size: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("metrics", metrics) + _setter("min_node_count", min_node_count) + _setter("step_size", step_size) @property @pulumi.getter @@ -3388,8 +4058,19 @@ def __init__(__self__, *, :param str metric_type: Allowed value is CPU_UTILIZATION. :param Sequence['GetAutoScalingConfigurationPolicyDetailScaleInConfigMetricThresholdArgs'] thresholds: An autoscale action is triggered when a performance metric exceeds a threshold. """ - pulumi.set(__self__, "metric_type", metric_type) - pulumi.set(__self__, "thresholds", thresholds) + GetAutoScalingConfigurationPolicyDetailScaleInConfigMetricResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + metric_type=metric_type, + thresholds=thresholds, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metric_type: str, + thresholds: Sequence['outputs.GetAutoScalingConfigurationPolicyDetailScaleInConfigMetricThresholdResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("metric_type", metric_type) + _setter("thresholds", thresholds) @property @pulumi.getter(name="metricType") @@ -3419,9 +4100,22 @@ def __init__(__self__, *, :param str operator: The comparison operator to use. Options are greater than (GT) or less than (LT). :param int value: Integer non-negative value. 0 < value < 100 """ - pulumi.set(__self__, "duration_in_minutes", duration_in_minutes) - pulumi.set(__self__, "operator", operator) - pulumi.set(__self__, "value", value) + GetAutoScalingConfigurationPolicyDetailScaleInConfigMetricThresholdResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + duration_in_minutes=duration_in_minutes, + operator=operator, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + duration_in_minutes: int, + operator: str, + value: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("duration_in_minutes", duration_in_minutes) + _setter("operator", operator) + _setter("value", value) @property @pulumi.getter(name="durationInMinutes") @@ -3459,9 +4153,22 @@ def __init__(__self__, *, :param Sequence['GetAutoScalingConfigurationPolicyDetailScaleOutConfigMetricArgs'] metrics: Metric and threshold details for triggering an autoscale action. :param int step_size: This value is the number of nodes to add during a scale-out event. """ - pulumi.set(__self__, "max_node_count", max_node_count) - pulumi.set(__self__, "metrics", metrics) - pulumi.set(__self__, "step_size", step_size) + GetAutoScalingConfigurationPolicyDetailScaleOutConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + max_node_count=max_node_count, + metrics=metrics, + step_size=step_size, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max_node_count: int, + metrics: Sequence['outputs.GetAutoScalingConfigurationPolicyDetailScaleOutConfigMetricResult'], + step_size: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max_node_count", max_node_count) + _setter("metrics", metrics) + _setter("step_size", step_size) @property @pulumi.getter(name="maxNodeCount") @@ -3497,8 +4204,19 @@ def __init__(__self__, *, :param str metric_type: Allowed value is CPU_UTILIZATION. :param Sequence['GetAutoScalingConfigurationPolicyDetailScaleOutConfigMetricThresholdArgs'] thresholds: An autoscale action is triggered when a performance metric exceeds a threshold. """ - pulumi.set(__self__, "metric_type", metric_type) - pulumi.set(__self__, "thresholds", thresholds) + GetAutoScalingConfigurationPolicyDetailScaleOutConfigMetricResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + metric_type=metric_type, + thresholds=thresholds, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metric_type: str, + thresholds: Sequence['outputs.GetAutoScalingConfigurationPolicyDetailScaleOutConfigMetricThresholdResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("metric_type", metric_type) + _setter("thresholds", thresholds) @property @pulumi.getter(name="metricType") @@ -3528,9 +4246,22 @@ def __init__(__self__, *, :param str operator: The comparison operator to use. Options are greater than (GT) or less than (LT). :param int value: Integer non-negative value. 0 < value < 100 """ - pulumi.set(__self__, "duration_in_minutes", duration_in_minutes) - pulumi.set(__self__, "operator", operator) - pulumi.set(__self__, "value", value) + GetAutoScalingConfigurationPolicyDetailScaleOutConfigMetricThresholdResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + duration_in_minutes=duration_in_minutes, + operator=operator, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + duration_in_minutes: int, + operator: str, + value: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("duration_in_minutes", duration_in_minutes) + _setter("operator", operator) + _setter("value", value) @property @pulumi.getter(name="durationInMinutes") @@ -3572,11 +4303,28 @@ def __init__(__self__, *, :param Sequence['GetAutoScalingConfigurationPolicyDetailScaleUpConfigMetricArgs'] metrics: Metric and threshold details for triggering an autoscale action. :param int ocpu_step_size: For nodes with [flexible compute shapes](https://docs.cloud.oracle.com/iaas/Content/bigdata/create-cluster.htm#cluster-plan-shape), this value is the number of OCPUs to add to each node during a scale-up event. This value is not used for nodes with fixed compute shapes. """ - pulumi.set(__self__, "max_memory_per_node", max_memory_per_node) - pulumi.set(__self__, "max_ocpus_per_node", max_ocpus_per_node) - pulumi.set(__self__, "memory_step_size", memory_step_size) - pulumi.set(__self__, "metrics", metrics) - pulumi.set(__self__, "ocpu_step_size", ocpu_step_size) + GetAutoScalingConfigurationPolicyDetailScaleUpConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + max_memory_per_node=max_memory_per_node, + max_ocpus_per_node=max_ocpus_per_node, + memory_step_size=memory_step_size, + metrics=metrics, + ocpu_step_size=ocpu_step_size, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max_memory_per_node: int, + max_ocpus_per_node: int, + memory_step_size: int, + metrics: Sequence['outputs.GetAutoScalingConfigurationPolicyDetailScaleUpConfigMetricResult'], + ocpu_step_size: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max_memory_per_node", max_memory_per_node) + _setter("max_ocpus_per_node", max_ocpus_per_node) + _setter("memory_step_size", memory_step_size) + _setter("metrics", metrics) + _setter("ocpu_step_size", ocpu_step_size) @property @pulumi.getter(name="maxMemoryPerNode") @@ -3628,8 +4376,19 @@ def __init__(__self__, *, :param str metric_type: Allowed value is CPU_UTILIZATION. :param Sequence['GetAutoScalingConfigurationPolicyDetailScaleUpConfigMetricThresholdArgs'] thresholds: An autoscale action is triggered when a performance metric exceeds a threshold. """ - pulumi.set(__self__, "metric_type", metric_type) - pulumi.set(__self__, "thresholds", thresholds) + GetAutoScalingConfigurationPolicyDetailScaleUpConfigMetricResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + metric_type=metric_type, + thresholds=thresholds, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metric_type: str, + thresholds: Sequence['outputs.GetAutoScalingConfigurationPolicyDetailScaleUpConfigMetricThresholdResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("metric_type", metric_type) + _setter("thresholds", thresholds) @property @pulumi.getter(name="metricType") @@ -3659,9 +4418,22 @@ def __init__(__self__, *, :param str operator: The comparison operator to use. Options are greater than (GT) or less than (LT). :param int value: Integer non-negative value. 0 < value < 100 """ - pulumi.set(__self__, "duration_in_minutes", duration_in_minutes) - pulumi.set(__self__, "operator", operator) - pulumi.set(__self__, "value", value) + GetAutoScalingConfigurationPolicyDetailScaleUpConfigMetricThresholdResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + duration_in_minutes=duration_in_minutes, + operator=operator, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + duration_in_minutes: int, + operator: str, + value: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("duration_in_minutes", duration_in_minutes) + _setter("operator", operator) + _setter("value", value) @property @pulumi.getter(name="durationInMinutes") @@ -3699,9 +4471,22 @@ def __init__(__self__, *, :param Sequence['GetAutoScalingConfigurationPolicyDetailScheduleDetailTimeAndHorizontalScalingConfigArgs'] time_and_horizontal_scaling_configs: Time of day and horizontal scaling configuration. :param Sequence['GetAutoScalingConfigurationPolicyDetailScheduleDetailTimeAndVerticalScalingConfigArgs'] time_and_vertical_scaling_configs: Time of day and vertical scaling configuration """ - pulumi.set(__self__, "schedule_type", schedule_type) - pulumi.set(__self__, "time_and_horizontal_scaling_configs", time_and_horizontal_scaling_configs) - pulumi.set(__self__, "time_and_vertical_scaling_configs", time_and_vertical_scaling_configs) + GetAutoScalingConfigurationPolicyDetailScheduleDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + schedule_type=schedule_type, + time_and_horizontal_scaling_configs=time_and_horizontal_scaling_configs, + time_and_vertical_scaling_configs=time_and_vertical_scaling_configs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + schedule_type: str, + time_and_horizontal_scaling_configs: Sequence['outputs.GetAutoScalingConfigurationPolicyDetailScheduleDetailTimeAndHorizontalScalingConfigResult'], + time_and_vertical_scaling_configs: Sequence['outputs.GetAutoScalingConfigurationPolicyDetailScheduleDetailTimeAndVerticalScalingConfigResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("schedule_type", schedule_type) + _setter("time_and_horizontal_scaling_configs", time_and_horizontal_scaling_configs) + _setter("time_and_vertical_scaling_configs", time_and_vertical_scaling_configs) @property @pulumi.getter(name="scheduleType") @@ -3737,8 +4522,19 @@ def __init__(__self__, *, :param int target_node_count: This value is the desired number of nodes in the cluster. :param str time_recurrence: Day/time recurrence (specified following RFC 5545) at which to trigger autoscaling action. Currently only WEEKLY frequency is supported. Days of the week are specified using BYDAY field. Time of the day is specified using BYHOUR and BYMINUTE fields. Other fields are not supported. """ - pulumi.set(__self__, "target_node_count", target_node_count) - pulumi.set(__self__, "time_recurrence", time_recurrence) + GetAutoScalingConfigurationPolicyDetailScheduleDetailTimeAndHorizontalScalingConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + target_node_count=target_node_count, + time_recurrence=time_recurrence, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + target_node_count: int, + time_recurrence: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("target_node_count", target_node_count) + _setter("time_recurrence", time_recurrence) @property @pulumi.getter(name="targetNodeCount") @@ -3770,10 +4566,25 @@ def __init__(__self__, *, :param str target_shape: For nodes with [fixed compute shapes](https://docs.cloud.oracle.com/iaas/Content/bigdata/create-cluster.htm#cluster-plan-shape), this value is the desired shape of each node. This value is not used for nodes with flexible compute shapes. :param str time_recurrence: Day/time recurrence (specified following RFC 5545) at which to trigger autoscaling action. Currently only WEEKLY frequency is supported. Days of the week are specified using BYDAY field. Time of the day is specified using BYHOUR and BYMINUTE fields. Other fields are not supported. """ - pulumi.set(__self__, "target_memory_per_node", target_memory_per_node) - pulumi.set(__self__, "target_ocpus_per_node", target_ocpus_per_node) - pulumi.set(__self__, "target_shape", target_shape) - pulumi.set(__self__, "time_recurrence", time_recurrence) + GetAutoScalingConfigurationPolicyDetailScheduleDetailTimeAndVerticalScalingConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + target_memory_per_node=target_memory_per_node, + target_ocpus_per_node=target_ocpus_per_node, + target_shape=target_shape, + time_recurrence=time_recurrence, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + target_memory_per_node: int, + target_ocpus_per_node: int, + target_shape: str, + time_recurrence: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("target_memory_per_node", target_memory_per_node) + _setter("target_ocpus_per_node", target_ocpus_per_node) + _setter("target_shape", target_shape) + _setter("time_recurrence", time_recurrence) @property @pulumi.getter(name="targetMemoryPerNode") @@ -3817,8 +4628,19 @@ def __init__(__self__, *, :param str action: The valid value are CHANGE_SHAPE_SCALE_UP or CHANGE_SHAPE_SCALE_DOWN. :param Sequence['GetAutoScalingConfigurationPolicyRuleMetricArgs'] metrics: Metric and threshold details for triggering an autoscale action. """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "metrics", metrics) + GetAutoScalingConfigurationPolicyRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + metrics=metrics, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: str, + metrics: Sequence['outputs.GetAutoScalingConfigurationPolicyRuleMetricResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("metrics", metrics) @property @pulumi.getter @@ -3846,8 +4668,19 @@ def __init__(__self__, *, :param str metric_type: Allowed value is CPU_UTILIZATION. :param Sequence['GetAutoScalingConfigurationPolicyRuleMetricThresholdArgs'] thresholds: An autoscale action is triggered when a performance metric exceeds a threshold. """ - pulumi.set(__self__, "metric_type", metric_type) - pulumi.set(__self__, "thresholds", thresholds) + GetAutoScalingConfigurationPolicyRuleMetricResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + metric_type=metric_type, + thresholds=thresholds, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metric_type: str, + thresholds: Sequence['outputs.GetAutoScalingConfigurationPolicyRuleMetricThresholdResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("metric_type", metric_type) + _setter("thresholds", thresholds) @property @pulumi.getter(name="metricType") @@ -3877,9 +4710,22 @@ def __init__(__self__, *, :param str operator: The comparison operator to use. Options are greater than (GT) or less than (LT). :param int value: Integer non-negative value. 0 < value < 100 """ - pulumi.set(__self__, "duration_in_minutes", duration_in_minutes) - pulumi.set(__self__, "operator", operator) - pulumi.set(__self__, "value", value) + GetAutoScalingConfigurationPolicyRuleMetricThresholdResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + duration_in_minutes=duration_in_minutes, + operator=operator, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + duration_in_minutes: int, + operator: str, + value: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("duration_in_minutes", duration_in_minutes) + _setter("operator", operator) + _setter("value", value) @property @pulumi.getter(name="durationInMinutes") @@ -3920,17 +4766,46 @@ def __init__(__self__, *, state: str, time_created: str, time_updated: str): - pulumi.set(__self__, "bds_instance_id", bds_instance_id) - pulumi.set(__self__, "cluster_admin_password", cluster_admin_password) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "node_type", node_type) - pulumi.set(__self__, "policies", policies) - pulumi.set(__self__, "policy_details", policy_details) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetAutoScalingConfigurationsAutoScalingConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bds_instance_id=bds_instance_id, + cluster_admin_password=cluster_admin_password, + display_name=display_name, + id=id, + is_enabled=is_enabled, + node_type=node_type, + policies=policies, + policy_details=policy_details, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bds_instance_id: str, + cluster_admin_password: str, + display_name: str, + id: str, + is_enabled: bool, + node_type: str, + policies: Sequence['outputs.GetAutoScalingConfigurationsAutoScalingConfigurationPolicyResult'], + policy_details: Sequence['outputs.GetAutoScalingConfigurationsAutoScalingConfigurationPolicyDetailResult'], + state: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bds_instance_id", bds_instance_id) + _setter("cluster_admin_password", cluster_admin_password) + _setter("display_name", display_name) + _setter("id", id) + _setter("is_enabled", is_enabled) + _setter("node_type", node_type) + _setter("policies", policies) + _setter("policy_details", policy_details) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="bdsInstanceId") @@ -3993,8 +4868,19 @@ class GetAutoScalingConfigurationsAutoScalingConfigurationPolicyResult(dict): def __init__(__self__, *, policy_type: str, rules: Sequence['outputs.GetAutoScalingConfigurationsAutoScalingConfigurationPolicyRuleResult']): - pulumi.set(__self__, "policy_type", policy_type) - pulumi.set(__self__, "rules", rules) + GetAutoScalingConfigurationsAutoScalingConfigurationPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + policy_type=policy_type, + rules=rules, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + policy_type: str, + rules: Sequence['outputs.GetAutoScalingConfigurationsAutoScalingConfigurationPolicyRuleResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("policy_type", policy_type) + _setter("rules", rules) @property @pulumi.getter(name="policyType") @@ -4019,15 +4905,40 @@ def __init__(__self__, *, schedule_details: Sequence['outputs.GetAutoScalingConfigurationsAutoScalingConfigurationPolicyDetailScheduleDetailResult'], timezone: str, trigger_type: str): - pulumi.set(__self__, "action_type", action_type) - pulumi.set(__self__, "policy_type", policy_type) - pulumi.set(__self__, "scale_down_configs", scale_down_configs) - pulumi.set(__self__, "scale_in_configs", scale_in_configs) - pulumi.set(__self__, "scale_out_configs", scale_out_configs) - pulumi.set(__self__, "scale_up_configs", scale_up_configs) - pulumi.set(__self__, "schedule_details", schedule_details) - pulumi.set(__self__, "timezone", timezone) - pulumi.set(__self__, "trigger_type", trigger_type) + GetAutoScalingConfigurationsAutoScalingConfigurationPolicyDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action_type=action_type, + policy_type=policy_type, + scale_down_configs=scale_down_configs, + scale_in_configs=scale_in_configs, + scale_out_configs=scale_out_configs, + scale_up_configs=scale_up_configs, + schedule_details=schedule_details, + timezone=timezone, + trigger_type=trigger_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action_type: str, + policy_type: str, + scale_down_configs: Sequence['outputs.GetAutoScalingConfigurationsAutoScalingConfigurationPolicyDetailScaleDownConfigResult'], + scale_in_configs: Sequence['outputs.GetAutoScalingConfigurationsAutoScalingConfigurationPolicyDetailScaleInConfigResult'], + scale_out_configs: Sequence['outputs.GetAutoScalingConfigurationsAutoScalingConfigurationPolicyDetailScaleOutConfigResult'], + scale_up_configs: Sequence['outputs.GetAutoScalingConfigurationsAutoScalingConfigurationPolicyDetailScaleUpConfigResult'], + schedule_details: Sequence['outputs.GetAutoScalingConfigurationsAutoScalingConfigurationPolicyDetailScheduleDetailResult'], + timezone: str, + trigger_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action_type", action_type) + _setter("policy_type", policy_type) + _setter("scale_down_configs", scale_down_configs) + _setter("scale_in_configs", scale_in_configs) + _setter("scale_out_configs", scale_out_configs) + _setter("scale_up_configs", scale_up_configs) + _setter("schedule_details", schedule_details) + _setter("timezone", timezone) + _setter("trigger_type", trigger_type) @property @pulumi.getter(name="actionType") @@ -4083,11 +4994,28 @@ def __init__(__self__, *, min_memory_per_node: int, min_ocpus_per_node: int, ocpu_step_size: int): - pulumi.set(__self__, "memory_step_size", memory_step_size) - pulumi.set(__self__, "metrics", metrics) - pulumi.set(__self__, "min_memory_per_node", min_memory_per_node) - pulumi.set(__self__, "min_ocpus_per_node", min_ocpus_per_node) - pulumi.set(__self__, "ocpu_step_size", ocpu_step_size) + GetAutoScalingConfigurationsAutoScalingConfigurationPolicyDetailScaleDownConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_step_size=memory_step_size, + metrics=metrics, + min_memory_per_node=min_memory_per_node, + min_ocpus_per_node=min_ocpus_per_node, + ocpu_step_size=ocpu_step_size, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_step_size: int, + metrics: Sequence['outputs.GetAutoScalingConfigurationsAutoScalingConfigurationPolicyDetailScaleDownConfigMetricResult'], + min_memory_per_node: int, + min_ocpus_per_node: int, + ocpu_step_size: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("memory_step_size", memory_step_size) + _setter("metrics", metrics) + _setter("min_memory_per_node", min_memory_per_node) + _setter("min_ocpus_per_node", min_ocpus_per_node) + _setter("ocpu_step_size", ocpu_step_size) @property @pulumi.getter(name="memoryStepSize") @@ -4120,8 +5048,19 @@ class GetAutoScalingConfigurationsAutoScalingConfigurationPolicyDetailScaleDownC def __init__(__self__, *, metric_type: str, thresholds: Sequence['outputs.GetAutoScalingConfigurationsAutoScalingConfigurationPolicyDetailScaleDownConfigMetricThresholdResult']): - pulumi.set(__self__, "metric_type", metric_type) - pulumi.set(__self__, "thresholds", thresholds) + GetAutoScalingConfigurationsAutoScalingConfigurationPolicyDetailScaleDownConfigMetricResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + metric_type=metric_type, + thresholds=thresholds, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metric_type: str, + thresholds: Sequence['outputs.GetAutoScalingConfigurationsAutoScalingConfigurationPolicyDetailScaleDownConfigMetricThresholdResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("metric_type", metric_type) + _setter("thresholds", thresholds) @property @pulumi.getter(name="metricType") @@ -4140,9 +5079,22 @@ def __init__(__self__, *, duration_in_minutes: int, operator: str, value: int): - pulumi.set(__self__, "duration_in_minutes", duration_in_minutes) - pulumi.set(__self__, "operator", operator) - pulumi.set(__self__, "value", value) + GetAutoScalingConfigurationsAutoScalingConfigurationPolicyDetailScaleDownConfigMetricThresholdResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + duration_in_minutes=duration_in_minutes, + operator=operator, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + duration_in_minutes: int, + operator: str, + value: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("duration_in_minutes", duration_in_minutes) + _setter("operator", operator) + _setter("value", value) @property @pulumi.getter(name="durationInMinutes") @@ -4166,9 +5118,22 @@ def __init__(__self__, *, metrics: Sequence['outputs.GetAutoScalingConfigurationsAutoScalingConfigurationPolicyDetailScaleInConfigMetricResult'], min_node_count: int, step_size: int): - pulumi.set(__self__, "metrics", metrics) - pulumi.set(__self__, "min_node_count", min_node_count) - pulumi.set(__self__, "step_size", step_size) + GetAutoScalingConfigurationsAutoScalingConfigurationPolicyDetailScaleInConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics=metrics, + min_node_count=min_node_count, + step_size=step_size, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics: Sequence['outputs.GetAutoScalingConfigurationsAutoScalingConfigurationPolicyDetailScaleInConfigMetricResult'], + min_node_count: int, + step_size: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("metrics", metrics) + _setter("min_node_count", min_node_count) + _setter("step_size", step_size) @property @pulumi.getter @@ -4191,8 +5156,19 @@ class GetAutoScalingConfigurationsAutoScalingConfigurationPolicyDetailScaleInCon def __init__(__self__, *, metric_type: str, thresholds: Sequence['outputs.GetAutoScalingConfigurationsAutoScalingConfigurationPolicyDetailScaleInConfigMetricThresholdResult']): - pulumi.set(__self__, "metric_type", metric_type) - pulumi.set(__self__, "thresholds", thresholds) + GetAutoScalingConfigurationsAutoScalingConfigurationPolicyDetailScaleInConfigMetricResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + metric_type=metric_type, + thresholds=thresholds, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metric_type: str, + thresholds: Sequence['outputs.GetAutoScalingConfigurationsAutoScalingConfigurationPolicyDetailScaleInConfigMetricThresholdResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("metric_type", metric_type) + _setter("thresholds", thresholds) @property @pulumi.getter(name="metricType") @@ -4211,9 +5187,22 @@ def __init__(__self__, *, duration_in_minutes: int, operator: str, value: int): - pulumi.set(__self__, "duration_in_minutes", duration_in_minutes) - pulumi.set(__self__, "operator", operator) - pulumi.set(__self__, "value", value) + GetAutoScalingConfigurationsAutoScalingConfigurationPolicyDetailScaleInConfigMetricThresholdResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + duration_in_minutes=duration_in_minutes, + operator=operator, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + duration_in_minutes: int, + operator: str, + value: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("duration_in_minutes", duration_in_minutes) + _setter("operator", operator) + _setter("value", value) @property @pulumi.getter(name="durationInMinutes") @@ -4237,9 +5226,22 @@ def __init__(__self__, *, max_node_count: int, metrics: Sequence['outputs.GetAutoScalingConfigurationsAutoScalingConfigurationPolicyDetailScaleOutConfigMetricResult'], step_size: int): - pulumi.set(__self__, "max_node_count", max_node_count) - pulumi.set(__self__, "metrics", metrics) - pulumi.set(__self__, "step_size", step_size) + GetAutoScalingConfigurationsAutoScalingConfigurationPolicyDetailScaleOutConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + max_node_count=max_node_count, + metrics=metrics, + step_size=step_size, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max_node_count: int, + metrics: Sequence['outputs.GetAutoScalingConfigurationsAutoScalingConfigurationPolicyDetailScaleOutConfigMetricResult'], + step_size: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max_node_count", max_node_count) + _setter("metrics", metrics) + _setter("step_size", step_size) @property @pulumi.getter(name="maxNodeCount") @@ -4262,8 +5264,19 @@ class GetAutoScalingConfigurationsAutoScalingConfigurationPolicyDetailScaleOutCo def __init__(__self__, *, metric_type: str, thresholds: Sequence['outputs.GetAutoScalingConfigurationsAutoScalingConfigurationPolicyDetailScaleOutConfigMetricThresholdResult']): - pulumi.set(__self__, "metric_type", metric_type) - pulumi.set(__self__, "thresholds", thresholds) + GetAutoScalingConfigurationsAutoScalingConfigurationPolicyDetailScaleOutConfigMetricResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + metric_type=metric_type, + thresholds=thresholds, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metric_type: str, + thresholds: Sequence['outputs.GetAutoScalingConfigurationsAutoScalingConfigurationPolicyDetailScaleOutConfigMetricThresholdResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("metric_type", metric_type) + _setter("thresholds", thresholds) @property @pulumi.getter(name="metricType") @@ -4282,9 +5295,22 @@ def __init__(__self__, *, duration_in_minutes: int, operator: str, value: int): - pulumi.set(__self__, "duration_in_minutes", duration_in_minutes) - pulumi.set(__self__, "operator", operator) - pulumi.set(__self__, "value", value) + GetAutoScalingConfigurationsAutoScalingConfigurationPolicyDetailScaleOutConfigMetricThresholdResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + duration_in_minutes=duration_in_minutes, + operator=operator, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + duration_in_minutes: int, + operator: str, + value: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("duration_in_minutes", duration_in_minutes) + _setter("operator", operator) + _setter("value", value) @property @pulumi.getter(name="durationInMinutes") @@ -4310,11 +5336,28 @@ def __init__(__self__, *, memory_step_size: int, metrics: Sequence['outputs.GetAutoScalingConfigurationsAutoScalingConfigurationPolicyDetailScaleUpConfigMetricResult'], ocpu_step_size: int): - pulumi.set(__self__, "max_memory_per_node", max_memory_per_node) - pulumi.set(__self__, "max_ocpus_per_node", max_ocpus_per_node) - pulumi.set(__self__, "memory_step_size", memory_step_size) - pulumi.set(__self__, "metrics", metrics) - pulumi.set(__self__, "ocpu_step_size", ocpu_step_size) + GetAutoScalingConfigurationsAutoScalingConfigurationPolicyDetailScaleUpConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + max_memory_per_node=max_memory_per_node, + max_ocpus_per_node=max_ocpus_per_node, + memory_step_size=memory_step_size, + metrics=metrics, + ocpu_step_size=ocpu_step_size, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max_memory_per_node: int, + max_ocpus_per_node: int, + memory_step_size: int, + metrics: Sequence['outputs.GetAutoScalingConfigurationsAutoScalingConfigurationPolicyDetailScaleUpConfigMetricResult'], + ocpu_step_size: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max_memory_per_node", max_memory_per_node) + _setter("max_ocpus_per_node", max_ocpus_per_node) + _setter("memory_step_size", memory_step_size) + _setter("metrics", metrics) + _setter("ocpu_step_size", ocpu_step_size) @property @pulumi.getter(name="maxMemoryPerNode") @@ -4347,8 +5390,19 @@ class GetAutoScalingConfigurationsAutoScalingConfigurationPolicyDetailScaleUpCon def __init__(__self__, *, metric_type: str, thresholds: Sequence['outputs.GetAutoScalingConfigurationsAutoScalingConfigurationPolicyDetailScaleUpConfigMetricThresholdResult']): - pulumi.set(__self__, "metric_type", metric_type) - pulumi.set(__self__, "thresholds", thresholds) + GetAutoScalingConfigurationsAutoScalingConfigurationPolicyDetailScaleUpConfigMetricResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + metric_type=metric_type, + thresholds=thresholds, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metric_type: str, + thresholds: Sequence['outputs.GetAutoScalingConfigurationsAutoScalingConfigurationPolicyDetailScaleUpConfigMetricThresholdResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("metric_type", metric_type) + _setter("thresholds", thresholds) @property @pulumi.getter(name="metricType") @@ -4367,9 +5421,22 @@ def __init__(__self__, *, duration_in_minutes: int, operator: str, value: int): - pulumi.set(__self__, "duration_in_minutes", duration_in_minutes) - pulumi.set(__self__, "operator", operator) - pulumi.set(__self__, "value", value) + GetAutoScalingConfigurationsAutoScalingConfigurationPolicyDetailScaleUpConfigMetricThresholdResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + duration_in_minutes=duration_in_minutes, + operator=operator, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + duration_in_minutes: int, + operator: str, + value: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("duration_in_minutes", duration_in_minutes) + _setter("operator", operator) + _setter("value", value) @property @pulumi.getter(name="durationInMinutes") @@ -4393,9 +5460,22 @@ def __init__(__self__, *, schedule_type: str, time_and_horizontal_scaling_configs: Sequence['outputs.GetAutoScalingConfigurationsAutoScalingConfigurationPolicyDetailScheduleDetailTimeAndHorizontalScalingConfigResult'], time_and_vertical_scaling_configs: Sequence['outputs.GetAutoScalingConfigurationsAutoScalingConfigurationPolicyDetailScheduleDetailTimeAndVerticalScalingConfigResult']): - pulumi.set(__self__, "schedule_type", schedule_type) - pulumi.set(__self__, "time_and_horizontal_scaling_configs", time_and_horizontal_scaling_configs) - pulumi.set(__self__, "time_and_vertical_scaling_configs", time_and_vertical_scaling_configs) + GetAutoScalingConfigurationsAutoScalingConfigurationPolicyDetailScheduleDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + schedule_type=schedule_type, + time_and_horizontal_scaling_configs=time_and_horizontal_scaling_configs, + time_and_vertical_scaling_configs=time_and_vertical_scaling_configs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + schedule_type: str, + time_and_horizontal_scaling_configs: Sequence['outputs.GetAutoScalingConfigurationsAutoScalingConfigurationPolicyDetailScheduleDetailTimeAndHorizontalScalingConfigResult'], + time_and_vertical_scaling_configs: Sequence['outputs.GetAutoScalingConfigurationsAutoScalingConfigurationPolicyDetailScheduleDetailTimeAndVerticalScalingConfigResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("schedule_type", schedule_type) + _setter("time_and_horizontal_scaling_configs", time_and_horizontal_scaling_configs) + _setter("time_and_vertical_scaling_configs", time_and_vertical_scaling_configs) @property @pulumi.getter(name="scheduleType") @@ -4418,8 +5498,19 @@ class GetAutoScalingConfigurationsAutoScalingConfigurationPolicyDetailScheduleDe def __init__(__self__, *, target_node_count: int, time_recurrence: str): - pulumi.set(__self__, "target_node_count", target_node_count) - pulumi.set(__self__, "time_recurrence", time_recurrence) + GetAutoScalingConfigurationsAutoScalingConfigurationPolicyDetailScheduleDetailTimeAndHorizontalScalingConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + target_node_count=target_node_count, + time_recurrence=time_recurrence, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + target_node_count: int, + time_recurrence: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("target_node_count", target_node_count) + _setter("time_recurrence", time_recurrence) @property @pulumi.getter(name="targetNodeCount") @@ -4439,10 +5530,25 @@ def __init__(__self__, *, target_ocpus_per_node: int, target_shape: str, time_recurrence: str): - pulumi.set(__self__, "target_memory_per_node", target_memory_per_node) - pulumi.set(__self__, "target_ocpus_per_node", target_ocpus_per_node) - pulumi.set(__self__, "target_shape", target_shape) - pulumi.set(__self__, "time_recurrence", time_recurrence) + GetAutoScalingConfigurationsAutoScalingConfigurationPolicyDetailScheduleDetailTimeAndVerticalScalingConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + target_memory_per_node=target_memory_per_node, + target_ocpus_per_node=target_ocpus_per_node, + target_shape=target_shape, + time_recurrence=time_recurrence, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + target_memory_per_node: int, + target_ocpus_per_node: int, + target_shape: str, + time_recurrence: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("target_memory_per_node", target_memory_per_node) + _setter("target_ocpus_per_node", target_ocpus_per_node) + _setter("target_shape", target_shape) + _setter("time_recurrence", time_recurrence) @property @pulumi.getter(name="targetMemoryPerNode") @@ -4470,8 +5576,19 @@ class GetAutoScalingConfigurationsAutoScalingConfigurationPolicyRuleResult(dict) def __init__(__self__, *, action: str, metrics: Sequence['outputs.GetAutoScalingConfigurationsAutoScalingConfigurationPolicyRuleMetricResult']): - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "metrics", metrics) + GetAutoScalingConfigurationsAutoScalingConfigurationPolicyRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + metrics=metrics, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: str, + metrics: Sequence['outputs.GetAutoScalingConfigurationsAutoScalingConfigurationPolicyRuleMetricResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("metrics", metrics) @property @pulumi.getter @@ -4489,8 +5606,19 @@ class GetAutoScalingConfigurationsAutoScalingConfigurationPolicyRuleMetricResult def __init__(__self__, *, metric_type: str, thresholds: Sequence['outputs.GetAutoScalingConfigurationsAutoScalingConfigurationPolicyRuleMetricThresholdResult']): - pulumi.set(__self__, "metric_type", metric_type) - pulumi.set(__self__, "thresholds", thresholds) + GetAutoScalingConfigurationsAutoScalingConfigurationPolicyRuleMetricResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + metric_type=metric_type, + thresholds=thresholds, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metric_type: str, + thresholds: Sequence['outputs.GetAutoScalingConfigurationsAutoScalingConfigurationPolicyRuleMetricThresholdResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("metric_type", metric_type) + _setter("thresholds", thresholds) @property @pulumi.getter(name="metricType") @@ -4509,9 +5637,22 @@ def __init__(__self__, *, duration_in_minutes: int, operator: str, value: int): - pulumi.set(__self__, "duration_in_minutes", duration_in_minutes) - pulumi.set(__self__, "operator", operator) - pulumi.set(__self__, "value", value) + GetAutoScalingConfigurationsAutoScalingConfigurationPolicyRuleMetricThresholdResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + duration_in_minutes=duration_in_minutes, + operator=operator, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + duration_in_minutes: int, + operator: str, + value: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("duration_in_minutes", duration_in_minutes) + _setter("operator", operator) + _setter("value", value) @property @pulumi.getter(name="durationInMinutes") @@ -4535,10 +5676,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAutoScalingConfigurationsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4582,17 +5736,46 @@ def __init__(__self__, *, :param str time_created: The time the API key was created, shown as an RFC 3339 formatted datetime string. :param str user_id: The user OCID for which this API key was created. """ - pulumi.set(__self__, "bds_instance_id", bds_instance_id) - pulumi.set(__self__, "default_region", default_region) - pulumi.set(__self__, "fingerprint", fingerprint) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "key_alias", key_alias) - pulumi.set(__self__, "passphrase", passphrase) - pulumi.set(__self__, "pemfilepath", pemfilepath) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "tenant_id", tenant_id) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "user_id", user_id) + GetBdsInstanceApiKeysBdsApiKeyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bds_instance_id=bds_instance_id, + default_region=default_region, + fingerprint=fingerprint, + id=id, + key_alias=key_alias, + passphrase=passphrase, + pemfilepath=pemfilepath, + state=state, + tenant_id=tenant_id, + time_created=time_created, + user_id=user_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bds_instance_id: str, + default_region: str, + fingerprint: str, + id: str, + key_alias: str, + passphrase: str, + pemfilepath: str, + state: str, + tenant_id: str, + time_created: str, + user_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bds_instance_id", bds_instance_id) + _setter("default_region", default_region) + _setter("fingerprint", fingerprint) + _setter("id", id) + _setter("key_alias", key_alias) + _setter("passphrase", passphrase) + _setter("pemfilepath", pemfilepath) + _setter("state", state) + _setter("tenant_id", tenant_id) + _setter("time_created", time_created) + _setter("user_id", user_id) @property @pulumi.getter(name="bdsInstanceId") @@ -4686,10 +5869,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetBdsInstanceApiKeysFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4728,14 +5924,37 @@ def __init__(__self__, *, :param int ocpus: The total number of OCPUs available to the node. :param str shape: Shape of the node. """ - pulumi.set(__self__, "block_volume_size_in_gbs", block_volume_size_in_gbs) - pulumi.set(__self__, "ip_address", ip_address) - pulumi.set(__self__, "is_kerberos_mapped_to_database_users", is_kerberos_mapped_to_database_users) - pulumi.set(__self__, "kerberos_details", kerberos_details) - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "nvmes", nvmes) - pulumi.set(__self__, "ocpus", ocpus) - pulumi.set(__self__, "shape", shape) + GetBdsInstanceCloudSqlDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + block_volume_size_in_gbs=block_volume_size_in_gbs, + ip_address=ip_address, + is_kerberos_mapped_to_database_users=is_kerberos_mapped_to_database_users, + kerberos_details=kerberos_details, + memory_in_gbs=memory_in_gbs, + nvmes=nvmes, + ocpus=ocpus, + shape=shape, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + block_volume_size_in_gbs: str, + ip_address: str, + is_kerberos_mapped_to_database_users: bool, + kerberos_details: Sequence['outputs.GetBdsInstanceCloudSqlDetailKerberosDetailResult'], + memory_in_gbs: int, + nvmes: int, + ocpus: int, + shape: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("block_volume_size_in_gbs", block_volume_size_in_gbs) + _setter("ip_address", ip_address) + _setter("is_kerberos_mapped_to_database_users", is_kerberos_mapped_to_database_users) + _setter("kerberos_details", kerberos_details) + _setter("memory_in_gbs", memory_in_gbs) + _setter("nvmes", nvmes) + _setter("ocpus", ocpus) + _setter("shape", shape) @property @pulumi.getter(name="blockVolumeSizeInGbs") @@ -4811,8 +6030,19 @@ def __init__(__self__, *, :param str keytab_file: Location of the keytab file :param str principal_name: Name of the Kerberos principal. """ - pulumi.set(__self__, "keytab_file", keytab_file) - pulumi.set(__self__, "principal_name", principal_name) + GetBdsInstanceCloudSqlDetailKerberosDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + keytab_file=keytab_file, + principal_name=principal_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + keytab_file: str, + principal_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("keytab_file", keytab_file) + _setter("principal_name", principal_name) @property @pulumi.getter(name="keytabFile") @@ -4866,21 +6096,58 @@ def __init__(__self__, *, :param str time_created: The time the cluster was created, shown as an RFC 3339 formatted datetime string. :param str time_refreshed: The time the cluster was automatically or manually refreshed, shown as an RFC 3339 formatted datetime string. """ - pulumi.set(__self__, "ambari_url", ambari_url) - pulumi.set(__self__, "bd_cell_version", bd_cell_version) - pulumi.set(__self__, "bda_version", bda_version) - pulumi.set(__self__, "bdm_version", bdm_version) - pulumi.set(__self__, "bds_version", bds_version) - pulumi.set(__self__, "big_data_manager_url", big_data_manager_url) - pulumi.set(__self__, "cloudera_manager_url", cloudera_manager_url) - pulumi.set(__self__, "csql_cell_version", csql_cell_version) - pulumi.set(__self__, "db_version", db_version) - pulumi.set(__self__, "hue_server_url", hue_server_url) - pulumi.set(__self__, "jupyter_hub_url", jupyter_hub_url) - pulumi.set(__self__, "odh_version", odh_version) - pulumi.set(__self__, "os_version", os_version) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_refreshed", time_refreshed) + GetBdsInstanceClusterDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ambari_url=ambari_url, + bd_cell_version=bd_cell_version, + bda_version=bda_version, + bdm_version=bdm_version, + bds_version=bds_version, + big_data_manager_url=big_data_manager_url, + cloudera_manager_url=cloudera_manager_url, + csql_cell_version=csql_cell_version, + db_version=db_version, + hue_server_url=hue_server_url, + jupyter_hub_url=jupyter_hub_url, + odh_version=odh_version, + os_version=os_version, + time_created=time_created, + time_refreshed=time_refreshed, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ambari_url: str, + bd_cell_version: str, + bda_version: str, + bdm_version: str, + bds_version: str, + big_data_manager_url: str, + cloudera_manager_url: str, + csql_cell_version: str, + db_version: str, + hue_server_url: str, + jupyter_hub_url: str, + odh_version: str, + os_version: str, + time_created: str, + time_refreshed: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ambari_url", ambari_url) + _setter("bd_cell_version", bd_cell_version) + _setter("bda_version", bda_version) + _setter("bdm_version", bdm_version) + _setter("bds_version", bds_version) + _setter("big_data_manager_url", big_data_manager_url) + _setter("cloudera_manager_url", cloudera_manager_url) + _setter("csql_cell_version", csql_cell_version) + _setter("db_version", db_version) + _setter("hue_server_url", hue_server_url) + _setter("jupyter_hub_url", jupyter_hub_url) + _setter("odh_version", odh_version) + _setter("os_version", os_version) + _setter("time_created", time_created) + _setter("time_refreshed", time_refreshed) @property @pulumi.getter(name="ambariUrl") @@ -5017,11 +6284,28 @@ def __init__(__self__, *, :param str shape: Shape of the node. :param str subnet_id: The OCID of the subnet in which the node is to be created. """ - pulumi.set(__self__, "block_volume_size_in_gbs", block_volume_size_in_gbs) - pulumi.set(__self__, "number_of_nodes", number_of_nodes) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "shape_configs", shape_configs) - pulumi.set(__self__, "subnet_id", subnet_id) + GetBdsInstanceComputeOnlyWorkerNodeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + block_volume_size_in_gbs=block_volume_size_in_gbs, + number_of_nodes=number_of_nodes, + shape=shape, + shape_configs=shape_configs, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + block_volume_size_in_gbs: str, + number_of_nodes: int, + shape: str, + shape_configs: Sequence['outputs.GetBdsInstanceComputeOnlyWorkerNodeShapeConfigResult'], + subnet_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("block_volume_size_in_gbs", block_volume_size_in_gbs) + _setter("number_of_nodes", number_of_nodes) + _setter("shape", shape) + _setter("shape_configs", shape_configs) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="blockVolumeSizeInGbs") @@ -5072,9 +6356,22 @@ def __init__(__self__, *, :param int nvmes: The number of NVMe drives to be used for storage. A single drive has 6.8 TB available. :param int ocpus: The total number of OCPUs available to the node. """ - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "nvmes", nvmes) - pulumi.set(__self__, "ocpus", ocpus) + GetBdsInstanceComputeOnlyWorkerNodeShapeConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + nvmes=nvmes, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: int, + nvmes: int, + ocpus: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("memory_in_gbs", memory_in_gbs) + _setter("nvmes", nvmes) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -5115,11 +6412,28 @@ def __init__(__self__, *, :param str shape: Shape of the node. :param str subnet_id: The OCID of the subnet in which the node is to be created. """ - pulumi.set(__self__, "block_volume_size_in_gbs", block_volume_size_in_gbs) - pulumi.set(__self__, "number_of_nodes", number_of_nodes) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "shape_configs", shape_configs) - pulumi.set(__self__, "subnet_id", subnet_id) + GetBdsInstanceEdgeNodeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + block_volume_size_in_gbs=block_volume_size_in_gbs, + number_of_nodes=number_of_nodes, + shape=shape, + shape_configs=shape_configs, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + block_volume_size_in_gbs: str, + number_of_nodes: int, + shape: str, + shape_configs: Sequence['outputs.GetBdsInstanceEdgeNodeShapeConfigResult'], + subnet_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("block_volume_size_in_gbs", block_volume_size_in_gbs) + _setter("number_of_nodes", number_of_nodes) + _setter("shape", shape) + _setter("shape_configs", shape_configs) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="blockVolumeSizeInGbs") @@ -5170,9 +6484,22 @@ def __init__(__self__, *, :param int nvmes: The number of NVMe drives to be used for storage. A single drive has 6.8 TB available. :param int ocpus: The total number of OCPUs available to the node. """ - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "nvmes", nvmes) - pulumi.set(__self__, "ocpus", ocpus) + GetBdsInstanceEdgeNodeShapeConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + nvmes=nvmes, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: int, + nvmes: int, + ocpus: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("memory_in_gbs", memory_in_gbs) + _setter("nvmes", nvmes) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -5205,10 +6532,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetBdsInstanceGetOsPatchFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5239,10 +6579,25 @@ def __init__(__self__, *, :param str target_version: The target version of the package. :param str update_type: The action that current package will be executed on the cluster. """ - pulumi.set(__self__, "package_name", package_name) - pulumi.set(__self__, "related_cv_es", related_cv_es) - pulumi.set(__self__, "target_version", target_version) - pulumi.set(__self__, "update_type", update_type) + GetBdsInstanceGetOsPatchTargetPackageResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + package_name=package_name, + related_cv_es=related_cv_es, + target_version=target_version, + update_type=update_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + package_name: str, + related_cv_es: Sequence[str], + target_version: str, + update_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("package_name", package_name) + _setter("related_cv_es", related_cv_es) + _setter("target_version", target_version) + _setter("update_type", update_type) @property @pulumi.getter(name="packageName") @@ -5290,11 +6645,28 @@ def __init__(__self__, *, :param str shape: Shape of the node. :param str subnet_id: The OCID of the subnet in which the node is to be created. """ - pulumi.set(__self__, "block_volume_size_in_gbs", block_volume_size_in_gbs) - pulumi.set(__self__, "number_of_kafka_nodes", number_of_kafka_nodes) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "shape_configs", shape_configs) - pulumi.set(__self__, "subnet_id", subnet_id) + GetBdsInstanceKafkaBrokerNodeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + block_volume_size_in_gbs=block_volume_size_in_gbs, + number_of_kafka_nodes=number_of_kafka_nodes, + shape=shape, + shape_configs=shape_configs, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + block_volume_size_in_gbs: str, + number_of_kafka_nodes: int, + shape: str, + shape_configs: Sequence['outputs.GetBdsInstanceKafkaBrokerNodeShapeConfigResult'], + subnet_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("block_volume_size_in_gbs", block_volume_size_in_gbs) + _setter("number_of_kafka_nodes", number_of_kafka_nodes) + _setter("shape", shape) + _setter("shape_configs", shape_configs) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="blockVolumeSizeInGbs") @@ -5342,9 +6714,22 @@ def __init__(__self__, *, :param int nvmes: The number of NVMe drives to be used for storage. A single drive has 6.8 TB available. :param int ocpus: The total number of OCPUs available to the node. """ - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "nvmes", nvmes) - pulumi.set(__self__, "ocpus", ocpus) + GetBdsInstanceKafkaBrokerNodeShapeConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + nvmes=nvmes, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: int, + nvmes: int, + ocpus: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("memory_in_gbs", memory_in_gbs) + _setter("nvmes", nvmes) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -5377,10 +6762,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetBdsInstanceListOsPatchesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5409,9 +6807,22 @@ def __init__(__self__, *, :param str os_patch_version: Patch version of the os patch. :param str release_date: The time when the OS patch was released. """ - pulumi.set(__self__, "bds_instance_id", bds_instance_id) - pulumi.set(__self__, "os_patch_version", os_patch_version) - pulumi.set(__self__, "release_date", release_date) + GetBdsInstanceListOsPatchesOsPatchResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bds_instance_id=bds_instance_id, + os_patch_version=os_patch_version, + release_date=release_date, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bds_instance_id: str, + os_patch_version: str, + release_date: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bds_instance_id", bds_instance_id) + _setter("os_patch_version", os_patch_version) + _setter("release_date", release_date) @property @pulumi.getter(name="bdsInstanceId") @@ -5452,11 +6863,28 @@ def __init__(__self__, *, :param str shape: Shape of the node. :param str subnet_id: The OCID of the subnet in which the node is to be created. """ - pulumi.set(__self__, "block_volume_size_in_gbs", block_volume_size_in_gbs) - pulumi.set(__self__, "number_of_nodes", number_of_nodes) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "shape_configs", shape_configs) - pulumi.set(__self__, "subnet_id", subnet_id) + GetBdsInstanceMasterNodeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + block_volume_size_in_gbs=block_volume_size_in_gbs, + number_of_nodes=number_of_nodes, + shape=shape, + shape_configs=shape_configs, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + block_volume_size_in_gbs: str, + number_of_nodes: int, + shape: str, + shape_configs: Sequence['outputs.GetBdsInstanceMasterNodeShapeConfigResult'], + subnet_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("block_volume_size_in_gbs", block_volume_size_in_gbs) + _setter("number_of_nodes", number_of_nodes) + _setter("shape", shape) + _setter("shape_configs", shape_configs) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="blockVolumeSizeInGbs") @@ -5507,9 +6935,22 @@ def __init__(__self__, *, :param int nvmes: The number of NVMe drives to be used for storage. A single drive has 6.8 TB available. :param int ocpus: The total number of OCPUs available to the node. """ - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "nvmes", nvmes) - pulumi.set(__self__, "ocpus", ocpus) + GetBdsInstanceMasterNodeShapeConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + nvmes=nvmes, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: int, + nvmes: int, + ocpus: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("memory_in_gbs", memory_in_gbs) + _setter("nvmes", nvmes) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -5562,18 +7003,49 @@ def __init__(__self__, *, :param str time_created: The time when the configuration was created, shown as an RFC 3339 formatted datetime string. :param str time_updated: The time when the configuration was updated, shown as an RFC 3339 formatted datetime string. """ - pulumi.set(__self__, "activate_trigger", activate_trigger) - pulumi.set(__self__, "bds_api_key_id", bds_api_key_id) - pulumi.set(__self__, "bds_api_key_passphrase", bds_api_key_passphrase) - pulumi.set(__self__, "bds_instance_id", bds_instance_id) - pulumi.set(__self__, "cluster_admin_password", cluster_admin_password) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "metastore_id", metastore_id) - pulumi.set(__self__, "metastore_type", metastore_type) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetBdsInstanceMetastoreConfigsBdsMetastoreConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + activate_trigger=activate_trigger, + bds_api_key_id=bds_api_key_id, + bds_api_key_passphrase=bds_api_key_passphrase, + bds_instance_id=bds_instance_id, + cluster_admin_password=cluster_admin_password, + display_name=display_name, + id=id, + metastore_id=metastore_id, + metastore_type=metastore_type, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + activate_trigger: int, + bds_api_key_id: str, + bds_api_key_passphrase: str, + bds_instance_id: str, + cluster_admin_password: str, + display_name: str, + id: str, + metastore_id: str, + metastore_type: str, + state: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("activate_trigger", activate_trigger) + _setter("bds_api_key_id", bds_api_key_id) + _setter("bds_api_key_passphrase", bds_api_key_passphrase) + _setter("bds_instance_id", bds_instance_id) + _setter("cluster_admin_password", cluster_admin_password) + _setter("display_name", display_name) + _setter("id", id) + _setter("metastore_id", metastore_id) + _setter("metastore_type", metastore_type) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="activateTrigger") @@ -5669,10 +7141,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetBdsInstanceMetastoreConfigsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5699,8 +7184,19 @@ def __init__(__self__, *, :param str cidr_block: The CIDR IP address block of the VCN. :param bool is_nat_gateway_required: A boolean flag whether to configure a NAT gateway. """ - pulumi.set(__self__, "cidr_block", cidr_block) - pulumi.set(__self__, "is_nat_gateway_required", is_nat_gateway_required) + GetBdsInstanceNetworkConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cidr_block=cidr_block, + is_nat_gateway_required=is_nat_gateway_required, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cidr_block: str, + is_nat_gateway_required: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cidr_block", cidr_block) + _setter("is_nat_gateway_required", is_nat_gateway_required) @property @pulumi.getter(name="cidrBlock") @@ -5758,23 +7254,64 @@ def __init__(__self__, *, :param str time_created: The time the cluster was created, shown as an RFC 3339 formatted datetime string. :param str time_maintenance_reboot_due: The date and time the instance is expected to be stopped / started, in the format defined by RFC3339. """ - pulumi.set(__self__, "attached_block_volumes", attached_block_volumes) - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "fault_domain", fault_domain) - pulumi.set(__self__, "hostname", hostname) - pulumi.set(__self__, "image_id", image_id) - pulumi.set(__self__, "instance_id", instance_id) - pulumi.set(__self__, "ip_address", ip_address) - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "node_type", node_type) - pulumi.set(__self__, "ocpus", ocpus) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "ssh_fingerprint", ssh_fingerprint) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_maintenance_reboot_due", time_maintenance_reboot_due) + GetBdsInstanceNodeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + attached_block_volumes=attached_block_volumes, + availability_domain=availability_domain, + display_name=display_name, + fault_domain=fault_domain, + hostname=hostname, + image_id=image_id, + instance_id=instance_id, + ip_address=ip_address, + memory_in_gbs=memory_in_gbs, + node_type=node_type, + ocpus=ocpus, + shape=shape, + ssh_fingerprint=ssh_fingerprint, + state=state, + subnet_id=subnet_id, + time_created=time_created, + time_maintenance_reboot_due=time_maintenance_reboot_due, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attached_block_volumes: Sequence['outputs.GetBdsInstanceNodeAttachedBlockVolumeResult'], + availability_domain: str, + display_name: str, + fault_domain: str, + hostname: str, + image_id: str, + instance_id: str, + ip_address: str, + memory_in_gbs: int, + node_type: str, + ocpus: int, + shape: str, + ssh_fingerprint: str, + state: str, + subnet_id: str, + time_created: str, + time_maintenance_reboot_due: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("attached_block_volumes", attached_block_volumes) + _setter("availability_domain", availability_domain) + _setter("display_name", display_name) + _setter("fault_domain", fault_domain) + _setter("hostname", hostname) + _setter("image_id", image_id) + _setter("instance_id", instance_id) + _setter("ip_address", ip_address) + _setter("memory_in_gbs", memory_in_gbs) + _setter("node_type", node_type) + _setter("ocpus", ocpus) + _setter("shape", shape) + _setter("ssh_fingerprint", ssh_fingerprint) + _setter("state", state) + _setter("subnet_id", subnet_id) + _setter("time_created", time_created) + _setter("time_maintenance_reboot_due", time_maintenance_reboot_due) @property @pulumi.getter(name="attachedBlockVolumes") @@ -5922,8 +7459,19 @@ def __init__(__self__, *, :param str volume_attachment_id: The OCID of the volume attachment. :param str volume_size_in_gbs: The size of the volume in GBs. """ - pulumi.set(__self__, "volume_attachment_id", volume_attachment_id) - pulumi.set(__self__, "volume_size_in_gbs", volume_size_in_gbs) + GetBdsInstanceNodeAttachedBlockVolumeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + volume_attachment_id=volume_attachment_id, + volume_size_in_gbs=volume_size_in_gbs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + volume_attachment_id: str, + volume_size_in_gbs: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("volume_attachment_id", volume_attachment_id) + _setter("volume_size_in_gbs", volume_size_in_gbs) @property @pulumi.getter(name="volumeAttachmentId") @@ -5948,10 +7496,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetBdsInstancePatchHistoriesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5982,10 +7543,25 @@ def __init__(__self__, *, :param str time_updated: The time when the patch history was last updated. :param str version: The version of the patch. """ - pulumi.set(__self__, "patch_type", patch_type) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "version", version) + GetBdsInstancePatchHistoriesPatchHistoryResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + patch_type=patch_type, + state=state, + time_updated=time_updated, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + patch_type: str, + state: str, + time_updated: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("patch_type", patch_type) + _setter("state", state) + _setter("time_updated", time_updated) + _setter("version", version) @property @pulumi.getter(name="patchType") @@ -6026,10 +7602,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetBdsInstancePatchesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -6056,8 +7645,19 @@ def __init__(__self__, *, :param str time_released: The time when the patch was released. :param str version: The version of the patch. """ - pulumi.set(__self__, "time_released", time_released) - pulumi.set(__self__, "version", version) + GetBdsInstancePatchesPatchResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + time_released=time_released, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + time_released: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("time_released", time_released) + _setter("version", version) @property @pulumi.getter(name="timeReleased") @@ -6090,11 +7690,28 @@ def __init__(__self__, *, :param str shape: Shape of the node. :param str subnet_id: The OCID of the subnet in which the node is to be created. """ - pulumi.set(__self__, "block_volume_size_in_gbs", block_volume_size_in_gbs) - pulumi.set(__self__, "number_of_nodes", number_of_nodes) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "shape_configs", shape_configs) - pulumi.set(__self__, "subnet_id", subnet_id) + GetBdsInstanceUtilNodeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + block_volume_size_in_gbs=block_volume_size_in_gbs, + number_of_nodes=number_of_nodes, + shape=shape, + shape_configs=shape_configs, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + block_volume_size_in_gbs: str, + number_of_nodes: int, + shape: str, + shape_configs: Sequence['outputs.GetBdsInstanceUtilNodeShapeConfigResult'], + subnet_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("block_volume_size_in_gbs", block_volume_size_in_gbs) + _setter("number_of_nodes", number_of_nodes) + _setter("shape", shape) + _setter("shape_configs", shape_configs) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="blockVolumeSizeInGbs") @@ -6145,9 +7762,22 @@ def __init__(__self__, *, :param int nvmes: The number of NVMe drives to be used for storage. A single drive has 6.8 TB available. :param int ocpus: The total number of OCPUs available to the node. """ - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "nvmes", nvmes) - pulumi.set(__self__, "ocpus", ocpus) + GetBdsInstanceUtilNodeShapeConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + nvmes=nvmes, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: int, + nvmes: int, + ocpus: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("memory_in_gbs", memory_in_gbs) + _setter("nvmes", nvmes) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -6188,11 +7818,28 @@ def __init__(__self__, *, :param str shape: Shape of the node. :param str subnet_id: The OCID of the subnet in which the node is to be created. """ - pulumi.set(__self__, "block_volume_size_in_gbs", block_volume_size_in_gbs) - pulumi.set(__self__, "number_of_nodes", number_of_nodes) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "shape_configs", shape_configs) - pulumi.set(__self__, "subnet_id", subnet_id) + GetBdsInstanceWorkerNodeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + block_volume_size_in_gbs=block_volume_size_in_gbs, + number_of_nodes=number_of_nodes, + shape=shape, + shape_configs=shape_configs, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + block_volume_size_in_gbs: str, + number_of_nodes: int, + shape: str, + shape_configs: Sequence['outputs.GetBdsInstanceWorkerNodeShapeConfigResult'], + subnet_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("block_volume_size_in_gbs", block_volume_size_in_gbs) + _setter("number_of_nodes", number_of_nodes) + _setter("shape", shape) + _setter("shape_configs", shape_configs) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="blockVolumeSizeInGbs") @@ -6243,9 +7890,22 @@ def __init__(__self__, *, :param int nvmes: The number of NVMe drives to be used for storage. A single drive has 6.8 TB available. :param int ocpus: The total number of OCPUs available to the node. """ - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "nvmes", nvmes) - pulumi.set(__self__, "ocpus", ocpus) + GetBdsInstanceWorkerNodeShapeConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + nvmes=nvmes, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: int, + nvmes: int, + ocpus: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("memory_in_gbs", memory_in_gbs) + _setter("nvmes", nvmes) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -6334,40 +7994,115 @@ def __init__(__self__, *, :param str time_created: The time the cluster was created, shown as an RFC 3339 formatted datetime string. :param str time_updated: The time the cluster was updated, shown as an RFC 3339 formatted datetime string. """ - pulumi.set(__self__, "bootstrap_script_url", bootstrap_script_url) - pulumi.set(__self__, "cloud_sql_details", cloud_sql_details) - pulumi.set(__self__, "cluster_admin_password", cluster_admin_password) - pulumi.set(__self__, "cluster_details", cluster_details) - pulumi.set(__self__, "cluster_profile", cluster_profile) - pulumi.set(__self__, "cluster_public_key", cluster_public_key) - pulumi.set(__self__, "cluster_version", cluster_version) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "compute_only_worker_nodes", compute_only_worker_nodes) - pulumi.set(__self__, "created_by", created_by) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "edge_nodes", edge_nodes) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_cloud_sql_configured", is_cloud_sql_configured) - pulumi.set(__self__, "is_force_stop_jobs", is_force_stop_jobs) - pulumi.set(__self__, "is_high_availability", is_high_availability) - pulumi.set(__self__, "is_kafka_configured", is_kafka_configured) - pulumi.set(__self__, "is_secure", is_secure) - pulumi.set(__self__, "kafka_broker_nodes", kafka_broker_nodes) - pulumi.set(__self__, "kerberos_realm_name", kerberos_realm_name) - pulumi.set(__self__, "kms_key_id", kms_key_id) - pulumi.set(__self__, "master_nodes", master_nodes) - pulumi.set(__self__, "network_configs", network_configs) - pulumi.set(__self__, "nodes", nodes) - pulumi.set(__self__, "number_of_nodes", number_of_nodes) - pulumi.set(__self__, "number_of_nodes_requiring_maintenance_reboot", number_of_nodes_requiring_maintenance_reboot) - pulumi.set(__self__, "os_patch_version", os_patch_version) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "util_nodes", util_nodes) - pulumi.set(__self__, "worker_nodes", worker_nodes) + GetBdsInstancesBdsInstanceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bootstrap_script_url=bootstrap_script_url, + cloud_sql_details=cloud_sql_details, + cluster_admin_password=cluster_admin_password, + cluster_details=cluster_details, + cluster_profile=cluster_profile, + cluster_public_key=cluster_public_key, + cluster_version=cluster_version, + compartment_id=compartment_id, + compute_only_worker_nodes=compute_only_worker_nodes, + created_by=created_by, + defined_tags=defined_tags, + display_name=display_name, + edge_nodes=edge_nodes, + freeform_tags=freeform_tags, + id=id, + is_cloud_sql_configured=is_cloud_sql_configured, + is_force_stop_jobs=is_force_stop_jobs, + is_high_availability=is_high_availability, + is_kafka_configured=is_kafka_configured, + is_secure=is_secure, + kafka_broker_nodes=kafka_broker_nodes, + kerberos_realm_name=kerberos_realm_name, + kms_key_id=kms_key_id, + master_nodes=master_nodes, + network_configs=network_configs, + nodes=nodes, + number_of_nodes=number_of_nodes, + number_of_nodes_requiring_maintenance_reboot=number_of_nodes_requiring_maintenance_reboot, + os_patch_version=os_patch_version, + state=state, + time_created=time_created, + time_updated=time_updated, + util_nodes=util_nodes, + worker_nodes=worker_nodes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bootstrap_script_url: str, + cloud_sql_details: Sequence['outputs.GetBdsInstancesBdsInstanceCloudSqlDetailResult'], + cluster_admin_password: str, + cluster_details: Sequence['outputs.GetBdsInstancesBdsInstanceClusterDetailResult'], + cluster_profile: str, + cluster_public_key: str, + cluster_version: str, + compartment_id: str, + compute_only_worker_nodes: Sequence['outputs.GetBdsInstancesBdsInstanceComputeOnlyWorkerNodeResult'], + created_by: str, + defined_tags: Mapping[str, Any], + display_name: str, + edge_nodes: Sequence['outputs.GetBdsInstancesBdsInstanceEdgeNodeResult'], + freeform_tags: Mapping[str, Any], + id: str, + is_cloud_sql_configured: bool, + is_force_stop_jobs: bool, + is_high_availability: bool, + is_kafka_configured: bool, + is_secure: bool, + kafka_broker_nodes: Sequence['outputs.GetBdsInstancesBdsInstanceKafkaBrokerNodeResult'], + kerberos_realm_name: str, + kms_key_id: str, + master_nodes: Sequence['outputs.GetBdsInstancesBdsInstanceMasterNodeResult'], + network_configs: Sequence['outputs.GetBdsInstancesBdsInstanceNetworkConfigResult'], + nodes: Sequence['outputs.GetBdsInstancesBdsInstanceNodeResult'], + number_of_nodes: int, + number_of_nodes_requiring_maintenance_reboot: int, + os_patch_version: str, + state: str, + time_created: str, + time_updated: str, + util_nodes: Sequence['outputs.GetBdsInstancesBdsInstanceUtilNodeResult'], + worker_nodes: Sequence['outputs.GetBdsInstancesBdsInstanceWorkerNodeResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bootstrap_script_url", bootstrap_script_url) + _setter("cloud_sql_details", cloud_sql_details) + _setter("cluster_admin_password", cluster_admin_password) + _setter("cluster_details", cluster_details) + _setter("cluster_profile", cluster_profile) + _setter("cluster_public_key", cluster_public_key) + _setter("cluster_version", cluster_version) + _setter("compartment_id", compartment_id) + _setter("compute_only_worker_nodes", compute_only_worker_nodes) + _setter("created_by", created_by) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("edge_nodes", edge_nodes) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_cloud_sql_configured", is_cloud_sql_configured) + _setter("is_force_stop_jobs", is_force_stop_jobs) + _setter("is_high_availability", is_high_availability) + _setter("is_kafka_configured", is_kafka_configured) + _setter("is_secure", is_secure) + _setter("kafka_broker_nodes", kafka_broker_nodes) + _setter("kerberos_realm_name", kerberos_realm_name) + _setter("kms_key_id", kms_key_id) + _setter("master_nodes", master_nodes) + _setter("network_configs", network_configs) + _setter("nodes", nodes) + _setter("number_of_nodes", number_of_nodes) + _setter("number_of_nodes_requiring_maintenance_reboot", number_of_nodes_requiring_maintenance_reboot) + _setter("os_patch_version", os_patch_version) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("util_nodes", util_nodes) + _setter("worker_nodes", worker_nodes) @property @pulumi.getter(name="bootstrapScriptUrl") @@ -6630,14 +8365,37 @@ def __init__(__self__, *, :param int ocpus: The total number of OCPUs available to the node. :param str shape: Shape of the node. """ - pulumi.set(__self__, "block_volume_size_in_gbs", block_volume_size_in_gbs) - pulumi.set(__self__, "ip_address", ip_address) - pulumi.set(__self__, "is_kerberos_mapped_to_database_users", is_kerberos_mapped_to_database_users) - pulumi.set(__self__, "kerberos_details", kerberos_details) - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "nvmes", nvmes) - pulumi.set(__self__, "ocpus", ocpus) - pulumi.set(__self__, "shape", shape) + GetBdsInstancesBdsInstanceCloudSqlDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + block_volume_size_in_gbs=block_volume_size_in_gbs, + ip_address=ip_address, + is_kerberos_mapped_to_database_users=is_kerberos_mapped_to_database_users, + kerberos_details=kerberos_details, + memory_in_gbs=memory_in_gbs, + nvmes=nvmes, + ocpus=ocpus, + shape=shape, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + block_volume_size_in_gbs: str, + ip_address: str, + is_kerberos_mapped_to_database_users: bool, + kerberos_details: Sequence['outputs.GetBdsInstancesBdsInstanceCloudSqlDetailKerberosDetailResult'], + memory_in_gbs: int, + nvmes: int, + ocpus: int, + shape: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("block_volume_size_in_gbs", block_volume_size_in_gbs) + _setter("ip_address", ip_address) + _setter("is_kerberos_mapped_to_database_users", is_kerberos_mapped_to_database_users) + _setter("kerberos_details", kerberos_details) + _setter("memory_in_gbs", memory_in_gbs) + _setter("nvmes", nvmes) + _setter("ocpus", ocpus) + _setter("shape", shape) @property @pulumi.getter(name="blockVolumeSizeInGbs") @@ -6713,8 +8471,19 @@ def __init__(__self__, *, :param str keytab_file: Location of the keytab file :param str principal_name: Name of the Kerberos principal. """ - pulumi.set(__self__, "keytab_file", keytab_file) - pulumi.set(__self__, "principal_name", principal_name) + GetBdsInstancesBdsInstanceCloudSqlDetailKerberosDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + keytab_file=keytab_file, + principal_name=principal_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + keytab_file: str, + principal_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("keytab_file", keytab_file) + _setter("principal_name", principal_name) @property @pulumi.getter(name="keytabFile") @@ -6768,21 +8537,58 @@ def __init__(__self__, *, :param str time_created: The time the cluster was created, shown as an RFC 3339 formatted datetime string. :param str time_refreshed: The time the cluster was automatically or manually refreshed, shown as an RFC 3339 formatted datetime string. """ - pulumi.set(__self__, "ambari_url", ambari_url) - pulumi.set(__self__, "bd_cell_version", bd_cell_version) - pulumi.set(__self__, "bda_version", bda_version) - pulumi.set(__self__, "bdm_version", bdm_version) - pulumi.set(__self__, "bds_version", bds_version) - pulumi.set(__self__, "big_data_manager_url", big_data_manager_url) - pulumi.set(__self__, "cloudera_manager_url", cloudera_manager_url) - pulumi.set(__self__, "csql_cell_version", csql_cell_version) - pulumi.set(__self__, "db_version", db_version) - pulumi.set(__self__, "hue_server_url", hue_server_url) - pulumi.set(__self__, "jupyter_hub_url", jupyter_hub_url) - pulumi.set(__self__, "odh_version", odh_version) - pulumi.set(__self__, "os_version", os_version) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_refreshed", time_refreshed) + GetBdsInstancesBdsInstanceClusterDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ambari_url=ambari_url, + bd_cell_version=bd_cell_version, + bda_version=bda_version, + bdm_version=bdm_version, + bds_version=bds_version, + big_data_manager_url=big_data_manager_url, + cloudera_manager_url=cloudera_manager_url, + csql_cell_version=csql_cell_version, + db_version=db_version, + hue_server_url=hue_server_url, + jupyter_hub_url=jupyter_hub_url, + odh_version=odh_version, + os_version=os_version, + time_created=time_created, + time_refreshed=time_refreshed, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ambari_url: str, + bd_cell_version: str, + bda_version: str, + bdm_version: str, + bds_version: str, + big_data_manager_url: str, + cloudera_manager_url: str, + csql_cell_version: str, + db_version: str, + hue_server_url: str, + jupyter_hub_url: str, + odh_version: str, + os_version: str, + time_created: str, + time_refreshed: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ambari_url", ambari_url) + _setter("bd_cell_version", bd_cell_version) + _setter("bda_version", bda_version) + _setter("bdm_version", bdm_version) + _setter("bds_version", bds_version) + _setter("big_data_manager_url", big_data_manager_url) + _setter("cloudera_manager_url", cloudera_manager_url) + _setter("csql_cell_version", csql_cell_version) + _setter("db_version", db_version) + _setter("hue_server_url", hue_server_url) + _setter("jupyter_hub_url", jupyter_hub_url) + _setter("odh_version", odh_version) + _setter("os_version", os_version) + _setter("time_created", time_created) + _setter("time_refreshed", time_refreshed) @property @pulumi.getter(name="ambariUrl") @@ -6919,11 +8725,28 @@ def __init__(__self__, *, :param str shape: Shape of the node. :param str subnet_id: The OCID of the subnet in which the node is to be created. """ - pulumi.set(__self__, "block_volume_size_in_gbs", block_volume_size_in_gbs) - pulumi.set(__self__, "number_of_nodes", number_of_nodes) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "shape_configs", shape_configs) - pulumi.set(__self__, "subnet_id", subnet_id) + GetBdsInstancesBdsInstanceComputeOnlyWorkerNodeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + block_volume_size_in_gbs=block_volume_size_in_gbs, + number_of_nodes=number_of_nodes, + shape=shape, + shape_configs=shape_configs, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + block_volume_size_in_gbs: str, + number_of_nodes: int, + shape: str, + shape_configs: Sequence['outputs.GetBdsInstancesBdsInstanceComputeOnlyWorkerNodeShapeConfigResult'], + subnet_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("block_volume_size_in_gbs", block_volume_size_in_gbs) + _setter("number_of_nodes", number_of_nodes) + _setter("shape", shape) + _setter("shape_configs", shape_configs) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="blockVolumeSizeInGbs") @@ -6974,9 +8797,22 @@ def __init__(__self__, *, :param int nvmes: The number of NVMe drives to be used for storage. A single drive has 6.8 TB available. :param int ocpus: The total number of OCPUs available to the node. """ - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "nvmes", nvmes) - pulumi.set(__self__, "ocpus", ocpus) + GetBdsInstancesBdsInstanceComputeOnlyWorkerNodeShapeConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + nvmes=nvmes, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: int, + nvmes: int, + ocpus: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("memory_in_gbs", memory_in_gbs) + _setter("nvmes", nvmes) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -7017,11 +8853,28 @@ def __init__(__self__, *, :param str shape: Shape of the node. :param str subnet_id: The OCID of the subnet in which the node is to be created. """ - pulumi.set(__self__, "block_volume_size_in_gbs", block_volume_size_in_gbs) - pulumi.set(__self__, "number_of_nodes", number_of_nodes) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "shape_configs", shape_configs) - pulumi.set(__self__, "subnet_id", subnet_id) + GetBdsInstancesBdsInstanceEdgeNodeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + block_volume_size_in_gbs=block_volume_size_in_gbs, + number_of_nodes=number_of_nodes, + shape=shape, + shape_configs=shape_configs, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + block_volume_size_in_gbs: str, + number_of_nodes: int, + shape: str, + shape_configs: Sequence['outputs.GetBdsInstancesBdsInstanceEdgeNodeShapeConfigResult'], + subnet_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("block_volume_size_in_gbs", block_volume_size_in_gbs) + _setter("number_of_nodes", number_of_nodes) + _setter("shape", shape) + _setter("shape_configs", shape_configs) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="blockVolumeSizeInGbs") @@ -7072,9 +8925,22 @@ def __init__(__self__, *, :param int nvmes: The number of NVMe drives to be used for storage. A single drive has 6.8 TB available. :param int ocpus: The total number of OCPUs available to the node. """ - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "nvmes", nvmes) - pulumi.set(__self__, "ocpus", ocpus) + GetBdsInstancesBdsInstanceEdgeNodeShapeConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + nvmes=nvmes, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: int, + nvmes: int, + ocpus: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("memory_in_gbs", memory_in_gbs) + _setter("nvmes", nvmes) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -7114,11 +8980,28 @@ def __init__(__self__, *, :param str shape: Shape of the node. :param str subnet_id: The OCID of the subnet in which the node is to be created. """ - pulumi.set(__self__, "block_volume_size_in_gbs", block_volume_size_in_gbs) - pulumi.set(__self__, "number_of_kafka_nodes", number_of_kafka_nodes) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "shape_configs", shape_configs) - pulumi.set(__self__, "subnet_id", subnet_id) + GetBdsInstancesBdsInstanceKafkaBrokerNodeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + block_volume_size_in_gbs=block_volume_size_in_gbs, + number_of_kafka_nodes=number_of_kafka_nodes, + shape=shape, + shape_configs=shape_configs, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + block_volume_size_in_gbs: str, + number_of_kafka_nodes: int, + shape: str, + shape_configs: Sequence['outputs.GetBdsInstancesBdsInstanceKafkaBrokerNodeShapeConfigResult'], + subnet_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("block_volume_size_in_gbs", block_volume_size_in_gbs) + _setter("number_of_kafka_nodes", number_of_kafka_nodes) + _setter("shape", shape) + _setter("shape_configs", shape_configs) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="blockVolumeSizeInGbs") @@ -7166,9 +9049,22 @@ def __init__(__self__, *, :param int nvmes: The number of NVMe drives to be used for storage. A single drive has 6.8 TB available. :param int ocpus: The total number of OCPUs available to the node. """ - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "nvmes", nvmes) - pulumi.set(__self__, "ocpus", ocpus) + GetBdsInstancesBdsInstanceKafkaBrokerNodeShapeConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + nvmes=nvmes, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: int, + nvmes: int, + ocpus: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("memory_in_gbs", memory_in_gbs) + _setter("nvmes", nvmes) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -7209,11 +9105,28 @@ def __init__(__self__, *, :param str shape: Shape of the node. :param str subnet_id: The OCID of the subnet in which the node is to be created. """ - pulumi.set(__self__, "block_volume_size_in_gbs", block_volume_size_in_gbs) - pulumi.set(__self__, "number_of_nodes", number_of_nodes) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "shape_configs", shape_configs) - pulumi.set(__self__, "subnet_id", subnet_id) + GetBdsInstancesBdsInstanceMasterNodeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + block_volume_size_in_gbs=block_volume_size_in_gbs, + number_of_nodes=number_of_nodes, + shape=shape, + shape_configs=shape_configs, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + block_volume_size_in_gbs: str, + number_of_nodes: int, + shape: str, + shape_configs: Sequence['outputs.GetBdsInstancesBdsInstanceMasterNodeShapeConfigResult'], + subnet_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("block_volume_size_in_gbs", block_volume_size_in_gbs) + _setter("number_of_nodes", number_of_nodes) + _setter("shape", shape) + _setter("shape_configs", shape_configs) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="blockVolumeSizeInGbs") @@ -7264,9 +9177,22 @@ def __init__(__self__, *, :param int nvmes: The number of NVMe drives to be used for storage. A single drive has 6.8 TB available. :param int ocpus: The total number of OCPUs available to the node. """ - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "nvmes", nvmes) - pulumi.set(__self__, "ocpus", ocpus) + GetBdsInstancesBdsInstanceMasterNodeShapeConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + nvmes=nvmes, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: int, + nvmes: int, + ocpus: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("memory_in_gbs", memory_in_gbs) + _setter("nvmes", nvmes) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -7302,8 +9228,19 @@ def __init__(__self__, *, :param str cidr_block: The CIDR IP address block of the VCN. :param bool is_nat_gateway_required: A boolean flag whether to configure a NAT gateway. """ - pulumi.set(__self__, "cidr_block", cidr_block) - pulumi.set(__self__, "is_nat_gateway_required", is_nat_gateway_required) + GetBdsInstancesBdsInstanceNetworkConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cidr_block=cidr_block, + is_nat_gateway_required=is_nat_gateway_required, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cidr_block: str, + is_nat_gateway_required: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cidr_block", cidr_block) + _setter("is_nat_gateway_required", is_nat_gateway_required) @property @pulumi.getter(name="cidrBlock") @@ -7361,23 +9298,64 @@ def __init__(__self__, *, :param str time_created: The time the cluster was created, shown as an RFC 3339 formatted datetime string. :param str time_maintenance_reboot_due: The date and time the instance is expected to be stopped / started, in the format defined by RFC3339. """ - pulumi.set(__self__, "attached_block_volumes", attached_block_volumes) - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "fault_domain", fault_domain) - pulumi.set(__self__, "hostname", hostname) - pulumi.set(__self__, "image_id", image_id) - pulumi.set(__self__, "instance_id", instance_id) - pulumi.set(__self__, "ip_address", ip_address) - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "node_type", node_type) - pulumi.set(__self__, "ocpus", ocpus) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "ssh_fingerprint", ssh_fingerprint) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_maintenance_reboot_due", time_maintenance_reboot_due) + GetBdsInstancesBdsInstanceNodeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + attached_block_volumes=attached_block_volumes, + availability_domain=availability_domain, + display_name=display_name, + fault_domain=fault_domain, + hostname=hostname, + image_id=image_id, + instance_id=instance_id, + ip_address=ip_address, + memory_in_gbs=memory_in_gbs, + node_type=node_type, + ocpus=ocpus, + shape=shape, + ssh_fingerprint=ssh_fingerprint, + state=state, + subnet_id=subnet_id, + time_created=time_created, + time_maintenance_reboot_due=time_maintenance_reboot_due, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attached_block_volumes: Sequence['outputs.GetBdsInstancesBdsInstanceNodeAttachedBlockVolumeResult'], + availability_domain: str, + display_name: str, + fault_domain: str, + hostname: str, + image_id: str, + instance_id: str, + ip_address: str, + memory_in_gbs: int, + node_type: str, + ocpus: int, + shape: str, + ssh_fingerprint: str, + state: str, + subnet_id: str, + time_created: str, + time_maintenance_reboot_due: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("attached_block_volumes", attached_block_volumes) + _setter("availability_domain", availability_domain) + _setter("display_name", display_name) + _setter("fault_domain", fault_domain) + _setter("hostname", hostname) + _setter("image_id", image_id) + _setter("instance_id", instance_id) + _setter("ip_address", ip_address) + _setter("memory_in_gbs", memory_in_gbs) + _setter("node_type", node_type) + _setter("ocpus", ocpus) + _setter("shape", shape) + _setter("ssh_fingerprint", ssh_fingerprint) + _setter("state", state) + _setter("subnet_id", subnet_id) + _setter("time_created", time_created) + _setter("time_maintenance_reboot_due", time_maintenance_reboot_due) @property @pulumi.getter(name="attachedBlockVolumes") @@ -7525,8 +9503,19 @@ def __init__(__self__, *, :param str volume_attachment_id: The OCID of the volume attachment. :param str volume_size_in_gbs: The size of the volume in GBs. """ - pulumi.set(__self__, "volume_attachment_id", volume_attachment_id) - pulumi.set(__self__, "volume_size_in_gbs", volume_size_in_gbs) + GetBdsInstancesBdsInstanceNodeAttachedBlockVolumeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + volume_attachment_id=volume_attachment_id, + volume_size_in_gbs=volume_size_in_gbs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + volume_attachment_id: str, + volume_size_in_gbs: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("volume_attachment_id", volume_attachment_id) + _setter("volume_size_in_gbs", volume_size_in_gbs) @property @pulumi.getter(name="volumeAttachmentId") @@ -7559,11 +9548,28 @@ def __init__(__self__, *, :param str shape: Shape of the node. :param str subnet_id: The OCID of the subnet in which the node is to be created. """ - pulumi.set(__self__, "block_volume_size_in_gbs", block_volume_size_in_gbs) - pulumi.set(__self__, "number_of_nodes", number_of_nodes) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "shape_configs", shape_configs) - pulumi.set(__self__, "subnet_id", subnet_id) + GetBdsInstancesBdsInstanceUtilNodeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + block_volume_size_in_gbs=block_volume_size_in_gbs, + number_of_nodes=number_of_nodes, + shape=shape, + shape_configs=shape_configs, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + block_volume_size_in_gbs: str, + number_of_nodes: int, + shape: str, + shape_configs: Sequence['outputs.GetBdsInstancesBdsInstanceUtilNodeShapeConfigResult'], + subnet_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("block_volume_size_in_gbs", block_volume_size_in_gbs) + _setter("number_of_nodes", number_of_nodes) + _setter("shape", shape) + _setter("shape_configs", shape_configs) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="blockVolumeSizeInGbs") @@ -7614,9 +9620,22 @@ def __init__(__self__, *, :param int nvmes: The number of NVMe drives to be used for storage. A single drive has 6.8 TB available. :param int ocpus: The total number of OCPUs available to the node. """ - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "nvmes", nvmes) - pulumi.set(__self__, "ocpus", ocpus) + GetBdsInstancesBdsInstanceUtilNodeShapeConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + nvmes=nvmes, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: int, + nvmes: int, + ocpus: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("memory_in_gbs", memory_in_gbs) + _setter("nvmes", nvmes) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -7657,11 +9676,28 @@ def __init__(__self__, *, :param str shape: Shape of the node. :param str subnet_id: The OCID of the subnet in which the node is to be created. """ - pulumi.set(__self__, "block_volume_size_in_gbs", block_volume_size_in_gbs) - pulumi.set(__self__, "number_of_nodes", number_of_nodes) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "shape_configs", shape_configs) - pulumi.set(__self__, "subnet_id", subnet_id) + GetBdsInstancesBdsInstanceWorkerNodeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + block_volume_size_in_gbs=block_volume_size_in_gbs, + number_of_nodes=number_of_nodes, + shape=shape, + shape_configs=shape_configs, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + block_volume_size_in_gbs: str, + number_of_nodes: int, + shape: str, + shape_configs: Sequence['outputs.GetBdsInstancesBdsInstanceWorkerNodeShapeConfigResult'], + subnet_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("block_volume_size_in_gbs", block_volume_size_in_gbs) + _setter("number_of_nodes", number_of_nodes) + _setter("shape", shape) + _setter("shape_configs", shape_configs) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="blockVolumeSizeInGbs") @@ -7712,9 +9748,22 @@ def __init__(__self__, *, :param int nvmes: The number of NVMe drives to be used for storage. A single drive has 6.8 TB available. :param int ocpus: The total number of OCPUs available to the node. """ - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "nvmes", nvmes) - pulumi.set(__self__, "ocpus", ocpus) + GetBdsInstancesBdsInstanceWorkerNodeShapeConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + nvmes=nvmes, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: int, + nvmes: int, + ocpus: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("memory_in_gbs", memory_in_gbs) + _setter("nvmes", nvmes) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -7747,10 +9796,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetBdsInstancesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/blockchain/_inputs.py b/sdk/python/pulumi_oci/blockchain/_inputs.py index 9d9d6e00d5..d99269df64 100644 --- a/sdk/python/pulumi_oci/blockchain/_inputs.py +++ b/sdk/python/pulumi_oci/blockchain/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -34,10 +34,21 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['BlockchainPlatformComponentDetailOsnArgs']]] osns: List of OSNs :param pulumi.Input[Sequence[pulumi.Input['BlockchainPlatformComponentDetailPeerArgs']]] peers: List of Peers """ + BlockchainPlatformComponentDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + osns=osns, + peers=peers, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + osns: Optional[pulumi.Input[Sequence[pulumi.Input['BlockchainPlatformComponentDetailOsnArgs']]]] = None, + peers: Optional[pulumi.Input[Sequence[pulumi.Input['BlockchainPlatformComponentDetailPeerArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if osns is not None: - pulumi.set(__self__, "osns", osns) + _setter("osns", osns) if peers is not None: - pulumi.set(__self__, "peers", peers) + _setter("peers", peers) @property @pulumi.getter @@ -77,14 +88,29 @@ def __init__(__self__, *, :param pulumi.Input[str] osn_key: OSN identifier :param pulumi.Input[str] state: The current state of the Platform Instance. """ + BlockchainPlatformComponentDetailOsnArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + ad=ad, + ocpu_allocation_params=ocpu_allocation_params, + osn_key=osn_key, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ad: Optional[pulumi.Input[str]] = None, + ocpu_allocation_params: Optional[pulumi.Input[Sequence[pulumi.Input['BlockchainPlatformComponentDetailOsnOcpuAllocationParamArgs']]]] = None, + osn_key: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ad is not None: - pulumi.set(__self__, "ad", ad) + _setter("ad", ad) if ocpu_allocation_params is not None: - pulumi.set(__self__, "ocpu_allocation_params", ocpu_allocation_params) + _setter("ocpu_allocation_params", ocpu_allocation_params) if osn_key is not None: - pulumi.set(__self__, "osn_key", osn_key) + _setter("osn_key", osn_key) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) @property @pulumi.getter @@ -142,8 +168,17 @@ def __init__(__self__, *, """ :param pulumi.Input[float] ocpu_allocation_number: Number of OCPU allocation """ + BlockchainPlatformComponentDetailOsnOcpuAllocationParamArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + ocpu_allocation_number=ocpu_allocation_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ocpu_allocation_number: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ocpu_allocation_number is not None: - pulumi.set(__self__, "ocpu_allocation_number", ocpu_allocation_number) + _setter("ocpu_allocation_number", ocpu_allocation_number) @property @pulumi.getter(name="ocpuAllocationNumber") @@ -177,20 +212,41 @@ def __init__(__self__, *, :param pulumi.Input[str] role: Peer role :param pulumi.Input[str] state: The current state of the Platform Instance. """ + BlockchainPlatformComponentDetailPeerArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + ad=ad, + alias=alias, + host=host, + ocpu_allocation_params=ocpu_allocation_params, + peer_key=peer_key, + role=role, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ad: Optional[pulumi.Input[str]] = None, + alias: Optional[pulumi.Input[str]] = None, + host: Optional[pulumi.Input[str]] = None, + ocpu_allocation_params: Optional[pulumi.Input[Sequence[pulumi.Input['BlockchainPlatformComponentDetailPeerOcpuAllocationParamArgs']]]] = None, + peer_key: Optional[pulumi.Input[str]] = None, + role: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ad is not None: - pulumi.set(__self__, "ad", ad) + _setter("ad", ad) if alias is not None: - pulumi.set(__self__, "alias", alias) + _setter("alias", alias) if host is not None: - pulumi.set(__self__, "host", host) + _setter("host", host) if ocpu_allocation_params is not None: - pulumi.set(__self__, "ocpu_allocation_params", ocpu_allocation_params) + _setter("ocpu_allocation_params", ocpu_allocation_params) if peer_key is not None: - pulumi.set(__self__, "peer_key", peer_key) + _setter("peer_key", peer_key) if role is not None: - pulumi.set(__self__, "role", role) + _setter("role", role) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) @property @pulumi.getter @@ -284,8 +340,17 @@ def __init__(__self__, *, """ :param pulumi.Input[float] ocpu_allocation_number: Number of OCPU allocation """ + BlockchainPlatformComponentDetailPeerOcpuAllocationParamArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + ocpu_allocation_number=ocpu_allocation_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ocpu_allocation_number: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ocpu_allocation_number is not None: - pulumi.set(__self__, "ocpu_allocation_number", ocpu_allocation_number) + _setter("ocpu_allocation_number", ocpu_allocation_number) @property @pulumi.getter(name="ocpuAllocationNumber") @@ -311,12 +376,25 @@ def __init__(__self__, *, :param pulumi.Input[float] ocpu_capacity_number: Number of total OCPU capacity on the host :param pulumi.Input[float] ocpu_utilization_number: Number of OCPU utilized """ + BlockchainPlatformHostOcpuUtilizationInfoArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + host=host, + ocpu_capacity_number=ocpu_capacity_number, + ocpu_utilization_number=ocpu_utilization_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host: Optional[pulumi.Input[str]] = None, + ocpu_capacity_number: Optional[pulumi.Input[float]] = None, + ocpu_utilization_number: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if host is not None: - pulumi.set(__self__, "host", host) + _setter("host", host) if ocpu_capacity_number is not None: - pulumi.set(__self__, "ocpu_capacity_number", ocpu_capacity_number) + _setter("ocpu_capacity_number", ocpu_capacity_number) if ocpu_utilization_number is not None: - pulumi.set(__self__, "ocpu_utilization_number", ocpu_utilization_number) + _setter("ocpu_utilization_number", ocpu_utilization_number) @property @pulumi.getter @@ -366,12 +444,25 @@ def __init__(__self__, *, :param pulumi.Input[int] console_count: Number of console replicas :param pulumi.Input[int] proxy_count: Number of REST proxy replicas """ + BlockchainPlatformReplicasArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + ca_count=ca_count, + console_count=console_count, + proxy_count=proxy_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ca_count: Optional[pulumi.Input[int]] = None, + console_count: Optional[pulumi.Input[int]] = None, + proxy_count: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ca_count is not None: - pulumi.set(__self__, "ca_count", ca_count) + _setter("ca_count", ca_count) if console_count is not None: - pulumi.set(__self__, "console_count", console_count) + _setter("console_count", console_count) if proxy_count is not None: - pulumi.set(__self__, "proxy_count", proxy_count) + _setter("proxy_count", proxy_count) @property @pulumi.getter(name="caCount") @@ -421,7 +512,16 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "ocpu_allocation_number", ocpu_allocation_number) + OsnOcpuAllocationParamArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + ocpu_allocation_number=ocpu_allocation_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ocpu_allocation_number: pulumi.Input[float], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ocpu_allocation_number", ocpu_allocation_number) @property @pulumi.getter(name="ocpuAllocationNumber") @@ -447,7 +547,16 @@ def __init__(__self__, *, """ :param pulumi.Input[float] ocpu_allocation_number: (Updatable) Number of OCPU allocation """ - pulumi.set(__self__, "ocpu_allocation_number", ocpu_allocation_number) + PeerOcpuAllocationParamArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + ocpu_allocation_number=ocpu_allocation_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ocpu_allocation_number: pulumi.Input[float], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ocpu_allocation_number", ocpu_allocation_number) @property @pulumi.getter(name="ocpuAllocationNumber") @@ -468,10 +577,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetBlockchainPlatformPatchesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -507,10 +629,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetBlockchainPlatformsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -546,10 +681,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetOsnsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -585,10 +733,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetPeersFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/blockchain/blockchain_platform.py b/sdk/python/pulumi_oci/blockchain/blockchain_platform.py index 7d5cb4422b..27bce4c793 100644 --- a/sdk/python/pulumi_oci/blockchain/blockchain_platform.py +++ b/sdk/python/pulumi_oci/blockchain/blockchain_platform.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -55,33 +55,72 @@ def __init__(__self__, *, :param pulumi.Input[float] storage_size_in_tbs: Storage size in TBs :param pulumi.Input[int] total_ocpu_capacity: Number of total OCPUs allocated to the platform cluster """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "compute_shape", compute_shape) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "idcs_access_token", idcs_access_token) - pulumi.set(__self__, "platform_role", platform_role) + BlockchainPlatformArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + compute_shape=compute_shape, + display_name=display_name, + idcs_access_token=idcs_access_token, + platform_role=platform_role, + ca_cert_archive_text=ca_cert_archive_text, + defined_tags=defined_tags, + description=description, + federated_user_id=federated_user_id, + freeform_tags=freeform_tags, + is_byol=is_byol, + load_balancer_shape=load_balancer_shape, + platform_version=platform_version, + replicas=replicas, + storage_size_in_tbs=storage_size_in_tbs, + total_ocpu_capacity=total_ocpu_capacity, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + compute_shape: pulumi.Input[str], + display_name: pulumi.Input[str], + idcs_access_token: pulumi.Input[str], + platform_role: pulumi.Input[str], + ca_cert_archive_text: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + federated_user_id: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_byol: Optional[pulumi.Input[bool]] = None, + load_balancer_shape: Optional[pulumi.Input[str]] = None, + platform_version: Optional[pulumi.Input[str]] = None, + replicas: Optional[pulumi.Input['BlockchainPlatformReplicasArgs']] = None, + storage_size_in_tbs: Optional[pulumi.Input[float]] = None, + total_ocpu_capacity: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("compute_shape", compute_shape) + _setter("display_name", display_name) + _setter("idcs_access_token", idcs_access_token) + _setter("platform_role", platform_role) if ca_cert_archive_text is not None: - pulumi.set(__self__, "ca_cert_archive_text", ca_cert_archive_text) + _setter("ca_cert_archive_text", ca_cert_archive_text) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if federated_user_id is not None: - pulumi.set(__self__, "federated_user_id", federated_user_id) + _setter("federated_user_id", federated_user_id) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_byol is not None: - pulumi.set(__self__, "is_byol", is_byol) + _setter("is_byol", is_byol) if load_balancer_shape is not None: - pulumi.set(__self__, "load_balancer_shape", load_balancer_shape) + _setter("load_balancer_shape", load_balancer_shape) if platform_version is not None: - pulumi.set(__self__, "platform_version", platform_version) + _setter("platform_version", platform_version) if replicas is not None: - pulumi.set(__self__, "replicas", replicas) + _setter("replicas", replicas) if storage_size_in_tbs is not None: - pulumi.set(__self__, "storage_size_in_tbs", storage_size_in_tbs) + _setter("storage_size_in_tbs", storage_size_in_tbs) if total_ocpu_capacity is not None: - pulumi.set(__self__, "total_ocpu_capacity", total_ocpu_capacity) + _setter("total_ocpu_capacity", total_ocpu_capacity) @property @pulumi.getter(name="compartmentId") @@ -344,60 +383,121 @@ def __init__(__self__, *, :param pulumi.Input[str] time_updated: The time the Platform Instance was updated. An RFC3339 formatted datetime string :param pulumi.Input[int] total_ocpu_capacity: Number of total OCPUs allocated to the platform cluster """ + _BlockchainPlatformState._configure( + lambda key, value: pulumi.set(__self__, key, value), + ca_cert_archive_text=ca_cert_archive_text, + compartment_id=compartment_id, + component_details=component_details, + compute_shape=compute_shape, + defined_tags=defined_tags, + description=description, + display_name=display_name, + federated_user_id=federated_user_id, + freeform_tags=freeform_tags, + host_ocpu_utilization_infos=host_ocpu_utilization_infos, + idcs_access_token=idcs_access_token, + is_byol=is_byol, + is_multi_ad=is_multi_ad, + lifecycle_details=lifecycle_details, + load_balancer_shape=load_balancer_shape, + platform_role=platform_role, + platform_shape_type=platform_shape_type, + platform_version=platform_version, + replicas=replicas, + service_endpoint=service_endpoint, + service_version=service_version, + state=state, + storage_size_in_tbs=storage_size_in_tbs, + storage_used_in_tbs=storage_used_in_tbs, + time_created=time_created, + time_updated=time_updated, + total_ocpu_capacity=total_ocpu_capacity, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ca_cert_archive_text: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + component_details: Optional[pulumi.Input[Sequence[pulumi.Input['BlockchainPlatformComponentDetailArgs']]]] = None, + compute_shape: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + federated_user_id: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + host_ocpu_utilization_infos: Optional[pulumi.Input[Sequence[pulumi.Input['BlockchainPlatformHostOcpuUtilizationInfoArgs']]]] = None, + idcs_access_token: Optional[pulumi.Input[str]] = None, + is_byol: Optional[pulumi.Input[bool]] = None, + is_multi_ad: Optional[pulumi.Input[bool]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + load_balancer_shape: Optional[pulumi.Input[str]] = None, + platform_role: Optional[pulumi.Input[str]] = None, + platform_shape_type: Optional[pulumi.Input[str]] = None, + platform_version: Optional[pulumi.Input[str]] = None, + replicas: Optional[pulumi.Input['BlockchainPlatformReplicasArgs']] = None, + service_endpoint: Optional[pulumi.Input[str]] = None, + service_version: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + storage_size_in_tbs: Optional[pulumi.Input[float]] = None, + storage_used_in_tbs: Optional[pulumi.Input[float]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + total_ocpu_capacity: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ca_cert_archive_text is not None: - pulumi.set(__self__, "ca_cert_archive_text", ca_cert_archive_text) + _setter("ca_cert_archive_text", ca_cert_archive_text) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if component_details is not None: - pulumi.set(__self__, "component_details", component_details) + _setter("component_details", component_details) if compute_shape is not None: - pulumi.set(__self__, "compute_shape", compute_shape) + _setter("compute_shape", compute_shape) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if federated_user_id is not None: - pulumi.set(__self__, "federated_user_id", federated_user_id) + _setter("federated_user_id", federated_user_id) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if host_ocpu_utilization_infos is not None: - pulumi.set(__self__, "host_ocpu_utilization_infos", host_ocpu_utilization_infos) + _setter("host_ocpu_utilization_infos", host_ocpu_utilization_infos) if idcs_access_token is not None: - pulumi.set(__self__, "idcs_access_token", idcs_access_token) + _setter("idcs_access_token", idcs_access_token) if is_byol is not None: - pulumi.set(__self__, "is_byol", is_byol) + _setter("is_byol", is_byol) if is_multi_ad is not None: - pulumi.set(__self__, "is_multi_ad", is_multi_ad) + _setter("is_multi_ad", is_multi_ad) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if load_balancer_shape is not None: - pulumi.set(__self__, "load_balancer_shape", load_balancer_shape) + _setter("load_balancer_shape", load_balancer_shape) if platform_role is not None: - pulumi.set(__self__, "platform_role", platform_role) + _setter("platform_role", platform_role) if platform_shape_type is not None: - pulumi.set(__self__, "platform_shape_type", platform_shape_type) + _setter("platform_shape_type", platform_shape_type) if platform_version is not None: - pulumi.set(__self__, "platform_version", platform_version) + _setter("platform_version", platform_version) if replicas is not None: - pulumi.set(__self__, "replicas", replicas) + _setter("replicas", replicas) if service_endpoint is not None: - pulumi.set(__self__, "service_endpoint", service_endpoint) + _setter("service_endpoint", service_endpoint) if service_version is not None: - pulumi.set(__self__, "service_version", service_version) + _setter("service_version", service_version) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if storage_size_in_tbs is not None: - pulumi.set(__self__, "storage_size_in_tbs", storage_size_in_tbs) + _setter("storage_size_in_tbs", storage_size_in_tbs) if storage_used_in_tbs is not None: - pulumi.set(__self__, "storage_used_in_tbs", storage_used_in_tbs) + _setter("storage_used_in_tbs", storage_used_in_tbs) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if total_ocpu_capacity is not None: - pulumi.set(__self__, "total_ocpu_capacity", total_ocpu_capacity) + _setter("total_ocpu_capacity", total_ocpu_capacity) @property @pulumi.getter(name="caCertArchiveText") @@ -865,6 +965,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + BlockchainPlatformArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -918,6 +1022,11 @@ def _internal_init(__self__, raise TypeError("Missing required property 'platform_role'") __props__.__dict__["platform_role"] = platform_role __props__.__dict__["platform_version"] = platform_version + if replicas is not None and not isinstance(replicas, BlockchainPlatformReplicasArgs): + replicas = replicas or {} + def _setter(key, value): + replicas[key] = value + BlockchainPlatformReplicasArgs._configure(_setter, **replicas) __props__.__dict__["replicas"] = replicas __props__.__dict__["storage_size_in_tbs"] = storage_size_in_tbs __props__.__dict__["total_ocpu_capacity"] = total_ocpu_capacity diff --git a/sdk/python/pulumi_oci/blockchain/get_blockchain_platform.py b/sdk/python/pulumi_oci/blockchain/get_blockchain_platform.py index 0bc59cdaef..1db918d06d 100644 --- a/sdk/python/pulumi_oci/blockchain/get_blockchain_platform.py +++ b/sdk/python/pulumi_oci/blockchain/get_blockchain_platform.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/blockchain/get_blockchain_platform_patches.py b/sdk/python/pulumi_oci/blockchain/get_blockchain_platform_patches.py index 70d3a102b5..4fcb3d783e 100644 --- a/sdk/python/pulumi_oci/blockchain/get_blockchain_platform_patches.py +++ b/sdk/python/pulumi_oci/blockchain/get_blockchain_platform_patches.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/blockchain/get_blockchain_platforms.py b/sdk/python/pulumi_oci/blockchain/get_blockchain_platforms.py index a2143fd3ce..27c467167b 100644 --- a/sdk/python/pulumi_oci/blockchain/get_blockchain_platforms.py +++ b/sdk/python/pulumi_oci/blockchain/get_blockchain_platforms.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/blockchain/get_osn.py b/sdk/python/pulumi_oci/blockchain/get_osn.py index 673b818ad9..abe13b567b 100644 --- a/sdk/python/pulumi_oci/blockchain/get_osn.py +++ b/sdk/python/pulumi_oci/blockchain/get_osn.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/blockchain/get_osns.py b/sdk/python/pulumi_oci/blockchain/get_osns.py index 80b3fdad46..66042cf0f3 100644 --- a/sdk/python/pulumi_oci/blockchain/get_osns.py +++ b/sdk/python/pulumi_oci/blockchain/get_osns.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/blockchain/get_peer.py b/sdk/python/pulumi_oci/blockchain/get_peer.py index 9d108cdd2d..7a1e0d84e4 100644 --- a/sdk/python/pulumi_oci/blockchain/get_peer.py +++ b/sdk/python/pulumi_oci/blockchain/get_peer.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/blockchain/get_peers.py b/sdk/python/pulumi_oci/blockchain/get_peers.py index 2da44e53e9..c2a2fbc02c 100644 --- a/sdk/python/pulumi_oci/blockchain/get_peers.py +++ b/sdk/python/pulumi_oci/blockchain/get_peers.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/blockchain/osn.py b/sdk/python/pulumi_oci/blockchain/osn.py index cd9afc1d70..fb908111a8 100644 --- a/sdk/python/pulumi_oci/blockchain/osn.py +++ b/sdk/python/pulumi_oci/blockchain/osn.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -25,10 +25,23 @@ def __init__(__self__, *, :param pulumi.Input[str] blockchain_platform_id: Unique service identifier. :param pulumi.Input['OsnOcpuAllocationParamArgs'] ocpu_allocation_param: (Updatable) OCPU allocation parameter """ - pulumi.set(__self__, "ad", ad) - pulumi.set(__self__, "blockchain_platform_id", blockchain_platform_id) + OsnArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + ad=ad, + blockchain_platform_id=blockchain_platform_id, + ocpu_allocation_param=ocpu_allocation_param, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ad: pulumi.Input[str], + blockchain_platform_id: pulumi.Input[str], + ocpu_allocation_param: Optional[pulumi.Input['OsnOcpuAllocationParamArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ad", ad) + _setter("blockchain_platform_id", blockchain_platform_id) if ocpu_allocation_param is not None: - pulumi.set(__self__, "ocpu_allocation_param", ocpu_allocation_param) + _setter("ocpu_allocation_param", ocpu_allocation_param) @property @pulumi.getter @@ -83,16 +96,33 @@ def __init__(__self__, *, :param pulumi.Input[str] osn_key: OSN identifier :param pulumi.Input[str] state: The current state of the OSN. """ + _OsnState._configure( + lambda key, value: pulumi.set(__self__, key, value), + ad=ad, + blockchain_platform_id=blockchain_platform_id, + ocpu_allocation_param=ocpu_allocation_param, + osn_key=osn_key, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ad: Optional[pulumi.Input[str]] = None, + blockchain_platform_id: Optional[pulumi.Input[str]] = None, + ocpu_allocation_param: Optional[pulumi.Input['OsnOcpuAllocationParamArgs']] = None, + osn_key: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ad is not None: - pulumi.set(__self__, "ad", ad) + _setter("ad", ad) if blockchain_platform_id is not None: - pulumi.set(__self__, "blockchain_platform_id", blockchain_platform_id) + _setter("blockchain_platform_id", blockchain_platform_id) if ocpu_allocation_param is not None: - pulumi.set(__self__, "ocpu_allocation_param", ocpu_allocation_param) + _setter("ocpu_allocation_param", ocpu_allocation_param) if osn_key is not None: - pulumi.set(__self__, "osn_key", osn_key) + _setter("osn_key", osn_key) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) @property @pulumi.getter @@ -240,6 +270,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + OsnArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -263,6 +297,11 @@ def _internal_init(__self__, if blockchain_platform_id is None and not opts.urn: raise TypeError("Missing required property 'blockchain_platform_id'") __props__.__dict__["blockchain_platform_id"] = blockchain_platform_id + if ocpu_allocation_param is not None and not isinstance(ocpu_allocation_param, OsnOcpuAllocationParamArgs): + ocpu_allocation_param = ocpu_allocation_param or {} + def _setter(key, value): + ocpu_allocation_param[key] = value + OsnOcpuAllocationParamArgs._configure(_setter, **ocpu_allocation_param) __props__.__dict__["ocpu_allocation_param"] = ocpu_allocation_param __props__.__dict__["osn_key"] = None __props__.__dict__["state"] = None diff --git a/sdk/python/pulumi_oci/blockchain/outputs.py b/sdk/python/pulumi_oci/blockchain/outputs.py index c11c4ae7c6..90e27c1d0b 100644 --- a/sdk/python/pulumi_oci/blockchain/outputs.py +++ b/sdk/python/pulumi_oci/blockchain/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -62,10 +62,21 @@ def __init__(__self__, *, :param Sequence['BlockchainPlatformComponentDetailOsnArgs'] osns: List of OSNs :param Sequence['BlockchainPlatformComponentDetailPeerArgs'] peers: List of Peers """ + BlockchainPlatformComponentDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + osns=osns, + peers=peers, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + osns: Optional[Sequence['outputs.BlockchainPlatformComponentDetailOsn']] = None, + peers: Optional[Sequence['outputs.BlockchainPlatformComponentDetailPeer']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if osns is not None: - pulumi.set(__self__, "osns", osns) + _setter("osns", osns) if peers is not None: - pulumi.set(__self__, "peers", peers) + _setter("peers", peers) @property @pulumi.getter @@ -116,14 +127,29 @@ def __init__(__self__, *, :param str osn_key: OSN identifier :param str state: The current state of the Platform Instance. """ + BlockchainPlatformComponentDetailOsn._configure( + lambda key, value: pulumi.set(__self__, key, value), + ad=ad, + ocpu_allocation_params=ocpu_allocation_params, + osn_key=osn_key, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ad: Optional[str] = None, + ocpu_allocation_params: Optional[Sequence['outputs.BlockchainPlatformComponentDetailOsnOcpuAllocationParam']] = None, + osn_key: Optional[str] = None, + state: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ad is not None: - pulumi.set(__self__, "ad", ad) + _setter("ad", ad) if ocpu_allocation_params is not None: - pulumi.set(__self__, "ocpu_allocation_params", ocpu_allocation_params) + _setter("ocpu_allocation_params", ocpu_allocation_params) if osn_key is not None: - pulumi.set(__self__, "osn_key", osn_key) + _setter("osn_key", osn_key) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) @property @pulumi.getter @@ -182,8 +208,17 @@ def __init__(__self__, *, """ :param float ocpu_allocation_number: Number of OCPU allocation """ + BlockchainPlatformComponentDetailOsnOcpuAllocationParam._configure( + lambda key, value: pulumi.set(__self__, key, value), + ocpu_allocation_number=ocpu_allocation_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ocpu_allocation_number: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ocpu_allocation_number is not None: - pulumi.set(__self__, "ocpu_allocation_number", ocpu_allocation_number) + _setter("ocpu_allocation_number", ocpu_allocation_number) @property @pulumi.getter(name="ocpuAllocationNumber") @@ -232,20 +267,41 @@ def __init__(__self__, *, :param str role: Peer role :param str state: The current state of the Platform Instance. """ + BlockchainPlatformComponentDetailPeer._configure( + lambda key, value: pulumi.set(__self__, key, value), + ad=ad, + alias=alias, + host=host, + ocpu_allocation_params=ocpu_allocation_params, + peer_key=peer_key, + role=role, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ad: Optional[str] = None, + alias: Optional[str] = None, + host: Optional[str] = None, + ocpu_allocation_params: Optional[Sequence['outputs.BlockchainPlatformComponentDetailPeerOcpuAllocationParam']] = None, + peer_key: Optional[str] = None, + role: Optional[str] = None, + state: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ad is not None: - pulumi.set(__self__, "ad", ad) + _setter("ad", ad) if alias is not None: - pulumi.set(__self__, "alias", alias) + _setter("alias", alias) if host is not None: - pulumi.set(__self__, "host", host) + _setter("host", host) if ocpu_allocation_params is not None: - pulumi.set(__self__, "ocpu_allocation_params", ocpu_allocation_params) + _setter("ocpu_allocation_params", ocpu_allocation_params) if peer_key is not None: - pulumi.set(__self__, "peer_key", peer_key) + _setter("peer_key", peer_key) if role is not None: - pulumi.set(__self__, "role", role) + _setter("role", role) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) @property @pulumi.getter @@ -328,8 +384,17 @@ def __init__(__self__, *, """ :param float ocpu_allocation_number: Number of OCPU allocation """ + BlockchainPlatformComponentDetailPeerOcpuAllocationParam._configure( + lambda key, value: pulumi.set(__self__, key, value), + ocpu_allocation_number=ocpu_allocation_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ocpu_allocation_number: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ocpu_allocation_number is not None: - pulumi.set(__self__, "ocpu_allocation_number", ocpu_allocation_number) + _setter("ocpu_allocation_number", ocpu_allocation_number) @property @pulumi.getter(name="ocpuAllocationNumber") @@ -370,12 +435,25 @@ def __init__(__self__, *, :param float ocpu_capacity_number: Number of total OCPU capacity on the host :param float ocpu_utilization_number: Number of OCPU utilized """ + BlockchainPlatformHostOcpuUtilizationInfo._configure( + lambda key, value: pulumi.set(__self__, key, value), + host=host, + ocpu_capacity_number=ocpu_capacity_number, + ocpu_utilization_number=ocpu_utilization_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host: Optional[str] = None, + ocpu_capacity_number: Optional[float] = None, + ocpu_utilization_number: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions]=None): if host is not None: - pulumi.set(__self__, "host", host) + _setter("host", host) if ocpu_capacity_number is not None: - pulumi.set(__self__, "ocpu_capacity_number", ocpu_capacity_number) + _setter("ocpu_capacity_number", ocpu_capacity_number) if ocpu_utilization_number is not None: - pulumi.set(__self__, "ocpu_utilization_number", ocpu_utilization_number) + _setter("ocpu_utilization_number", ocpu_utilization_number) @property @pulumi.getter @@ -434,12 +512,25 @@ def __init__(__self__, *, :param int console_count: Number of console replicas :param int proxy_count: Number of REST proxy replicas """ + BlockchainPlatformReplicas._configure( + lambda key, value: pulumi.set(__self__, key, value), + ca_count=ca_count, + console_count=console_count, + proxy_count=proxy_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ca_count: Optional[int] = None, + console_count: Optional[int] = None, + proxy_count: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ca_count is not None: - pulumi.set(__self__, "ca_count", ca_count) + _setter("ca_count", ca_count) if console_count is not None: - pulumi.set(__self__, "console_count", console_count) + _setter("console_count", console_count) if proxy_count is not None: - pulumi.set(__self__, "proxy_count", proxy_count) + _setter("proxy_count", proxy_count) @property @pulumi.getter(name="caCount") @@ -494,7 +585,16 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "ocpu_allocation_number", ocpu_allocation_number) + OsnOcpuAllocationParam._configure( + lambda key, value: pulumi.set(__self__, key, value), + ocpu_allocation_number=ocpu_allocation_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ocpu_allocation_number: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ocpu_allocation_number", ocpu_allocation_number) @property @pulumi.getter(name="ocpuAllocationNumber") @@ -533,7 +633,16 @@ def __init__(__self__, *, """ :param float ocpu_allocation_number: (Updatable) Number of OCPU allocation """ - pulumi.set(__self__, "ocpu_allocation_number", ocpu_allocation_number) + PeerOcpuAllocationParam._configure( + lambda key, value: pulumi.set(__self__, key, value), + ocpu_allocation_number=ocpu_allocation_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ocpu_allocation_number: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ocpu_allocation_number", ocpu_allocation_number) @property @pulumi.getter(name="ocpuAllocationNumber") @@ -553,8 +662,19 @@ def __init__(__self__, *, :param Sequence['GetBlockchainPlatformComponentDetailOsnArgs'] osns: List of OSNs :param Sequence['GetBlockchainPlatformComponentDetailPeerArgs'] peers: List of Peers """ - pulumi.set(__self__, "osns", osns) - pulumi.set(__self__, "peers", peers) + GetBlockchainPlatformComponentDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + osns=osns, + peers=peers, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + osns: Sequence['outputs.GetBlockchainPlatformComponentDetailOsnResult'], + peers: Sequence['outputs.GetBlockchainPlatformComponentDetailPeerResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("osns", osns) + _setter("peers", peers) @property @pulumi.getter @@ -586,10 +706,25 @@ def __init__(__self__, *, :param str osn_key: OSN identifier :param str state: The current state of the Platform Instance. """ - pulumi.set(__self__, "ad", ad) - pulumi.set(__self__, "ocpu_allocation_params", ocpu_allocation_params) - pulumi.set(__self__, "osn_key", osn_key) - pulumi.set(__self__, "state", state) + GetBlockchainPlatformComponentDetailOsnResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ad=ad, + ocpu_allocation_params=ocpu_allocation_params, + osn_key=osn_key, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ad: str, + ocpu_allocation_params: Sequence['outputs.GetBlockchainPlatformComponentDetailOsnOcpuAllocationParamResult'], + osn_key: str, + state: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ad", ad) + _setter("ocpu_allocation_params", ocpu_allocation_params) + _setter("osn_key", osn_key) + _setter("state", state) @property @pulumi.getter @@ -631,7 +766,16 @@ def __init__(__self__, *, """ :param float ocpu_allocation_number: Number of OCPU allocation """ - pulumi.set(__self__, "ocpu_allocation_number", ocpu_allocation_number) + GetBlockchainPlatformComponentDetailOsnOcpuAllocationParamResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ocpu_allocation_number=ocpu_allocation_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ocpu_allocation_number: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ocpu_allocation_number", ocpu_allocation_number) @property @pulumi.getter(name="ocpuAllocationNumber") @@ -661,13 +805,34 @@ def __init__(__self__, *, :param str role: Peer role :param str state: The current state of the Platform Instance. """ - pulumi.set(__self__, "ad", ad) - pulumi.set(__self__, "alias", alias) - pulumi.set(__self__, "host", host) - pulumi.set(__self__, "ocpu_allocation_params", ocpu_allocation_params) - pulumi.set(__self__, "peer_key", peer_key) - pulumi.set(__self__, "role", role) - pulumi.set(__self__, "state", state) + GetBlockchainPlatformComponentDetailPeerResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ad=ad, + alias=alias, + host=host, + ocpu_allocation_params=ocpu_allocation_params, + peer_key=peer_key, + role=role, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ad: str, + alias: str, + host: str, + ocpu_allocation_params: Sequence['outputs.GetBlockchainPlatformComponentDetailPeerOcpuAllocationParamResult'], + peer_key: str, + role: str, + state: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ad", ad) + _setter("alias", alias) + _setter("host", host) + _setter("ocpu_allocation_params", ocpu_allocation_params) + _setter("peer_key", peer_key) + _setter("role", role) + _setter("state", state) @property @pulumi.getter @@ -733,7 +898,16 @@ def __init__(__self__, *, """ :param float ocpu_allocation_number: Number of OCPU allocation """ - pulumi.set(__self__, "ocpu_allocation_number", ocpu_allocation_number) + GetBlockchainPlatformComponentDetailPeerOcpuAllocationParamResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ocpu_allocation_number=ocpu_allocation_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ocpu_allocation_number: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ocpu_allocation_number", ocpu_allocation_number) @property @pulumi.getter(name="ocpuAllocationNumber") @@ -755,9 +929,22 @@ def __init__(__self__, *, :param float ocpu_capacity_number: Number of total OCPU capacity on the host :param float ocpu_utilization_number: Number of OCPU utilized """ - pulumi.set(__self__, "host", host) - pulumi.set(__self__, "ocpu_capacity_number", ocpu_capacity_number) - pulumi.set(__self__, "ocpu_utilization_number", ocpu_utilization_number) + GetBlockchainPlatformHostOcpuUtilizationInfoResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + host=host, + ocpu_capacity_number=ocpu_capacity_number, + ocpu_utilization_number=ocpu_utilization_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host: str, + ocpu_capacity_number: float, + ocpu_utilization_number: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("host", host) + _setter("ocpu_capacity_number", ocpu_capacity_number) + _setter("ocpu_utilization_number", ocpu_utilization_number) @property @pulumi.getter @@ -791,7 +978,16 @@ def __init__(__self__, *, """ :param Sequence['GetBlockchainPlatformPatchesBlockchainPlatformPatchCollectionItemArgs'] items: Collection of PatchSummary """ - pulumi.set(__self__, "items", items) + GetBlockchainPlatformPatchesBlockchainPlatformPatchCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetBlockchainPlatformPatchesBlockchainPlatformPatchCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -809,7 +1005,16 @@ def __init__(__self__, *, """ :param Sequence['GetBlockchainPlatformPatchesBlockchainPlatformPatchCollectionItemItemArgs'] items: Collection of PatchSummary """ - pulumi.set(__self__, "items", items) + GetBlockchainPlatformPatchesBlockchainPlatformPatchCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetBlockchainPlatformPatchesBlockchainPlatformPatchCollectionItemItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -833,10 +1038,25 @@ def __init__(__self__, *, :param str service_version: patch service version :param str time_patch_due: patch due date for customer initiated patching """ - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "patch_info_url", patch_info_url) - pulumi.set(__self__, "service_version", service_version) - pulumi.set(__self__, "time_patch_due", time_patch_due) + GetBlockchainPlatformPatchesBlockchainPlatformPatchCollectionItemItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + patch_info_url=patch_info_url, + service_version=service_version, + time_patch_due=time_patch_due, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: str, + patch_info_url: str, + service_version: str, + time_patch_due: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) + _setter("patch_info_url", patch_info_url) + _setter("service_version", service_version) + _setter("time_patch_due", time_patch_due) @property @pulumi.getter @@ -877,10 +1097,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetBlockchainPlatformPatchesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -909,9 +1142,22 @@ def __init__(__self__, *, :param int console_count: Number of console replicas :param int proxy_count: Number of REST proxy replicas """ - pulumi.set(__self__, "ca_count", ca_count) - pulumi.set(__self__, "console_count", console_count) - pulumi.set(__self__, "proxy_count", proxy_count) + GetBlockchainPlatformReplicaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ca_count=ca_count, + console_count=console_count, + proxy_count=proxy_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ca_count: int, + console_count: int, + proxy_count: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ca_count", ca_count) + _setter("console_count", console_count) + _setter("proxy_count", proxy_count) @property @pulumi.getter(name="caCount") @@ -942,7 +1188,16 @@ def proxy_count(self) -> int: class GetBlockchainPlatformsBlockchainPlatformCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetBlockchainPlatformsBlockchainPlatformCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetBlockchainPlatformsBlockchainPlatformCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetBlockchainPlatformsBlockchainPlatformCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1008,34 +1263,97 @@ def __init__(__self__, *, :param str time_updated: The time the Platform Instance was updated. An RFC3339 formatted datetime string :param int total_ocpu_capacity: Number of total OCPUs allocated to the platform cluster """ - pulumi.set(__self__, "ca_cert_archive_text", ca_cert_archive_text) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "component_details", component_details) - pulumi.set(__self__, "compute_shape", compute_shape) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "federated_user_id", federated_user_id) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "host_ocpu_utilization_infos", host_ocpu_utilization_infos) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "idcs_access_token", idcs_access_token) - pulumi.set(__self__, "is_byol", is_byol) - pulumi.set(__self__, "is_multi_ad", is_multi_ad) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "load_balancer_shape", load_balancer_shape) - pulumi.set(__self__, "platform_role", platform_role) - pulumi.set(__self__, "platform_shape_type", platform_shape_type) - pulumi.set(__self__, "platform_version", platform_version) - pulumi.set(__self__, "replicas", replicas) - pulumi.set(__self__, "service_endpoint", service_endpoint) - pulumi.set(__self__, "service_version", service_version) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "storage_size_in_tbs", storage_size_in_tbs) - pulumi.set(__self__, "storage_used_in_tbs", storage_used_in_tbs) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "total_ocpu_capacity", total_ocpu_capacity) + GetBlockchainPlatformsBlockchainPlatformCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ca_cert_archive_text=ca_cert_archive_text, + compartment_id=compartment_id, + component_details=component_details, + compute_shape=compute_shape, + defined_tags=defined_tags, + description=description, + display_name=display_name, + federated_user_id=federated_user_id, + freeform_tags=freeform_tags, + host_ocpu_utilization_infos=host_ocpu_utilization_infos, + id=id, + idcs_access_token=idcs_access_token, + is_byol=is_byol, + is_multi_ad=is_multi_ad, + lifecycle_details=lifecycle_details, + load_balancer_shape=load_balancer_shape, + platform_role=platform_role, + platform_shape_type=platform_shape_type, + platform_version=platform_version, + replicas=replicas, + service_endpoint=service_endpoint, + service_version=service_version, + state=state, + storage_size_in_tbs=storage_size_in_tbs, + storage_used_in_tbs=storage_used_in_tbs, + time_created=time_created, + time_updated=time_updated, + total_ocpu_capacity=total_ocpu_capacity, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ca_cert_archive_text: str, + compartment_id: str, + component_details: Sequence['outputs.GetBlockchainPlatformsBlockchainPlatformCollectionItemComponentDetailResult'], + compute_shape: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + federated_user_id: str, + freeform_tags: Mapping[str, Any], + host_ocpu_utilization_infos: Sequence['outputs.GetBlockchainPlatformsBlockchainPlatformCollectionItemHostOcpuUtilizationInfoResult'], + id: str, + idcs_access_token: str, + is_byol: bool, + is_multi_ad: bool, + lifecycle_details: str, + load_balancer_shape: str, + platform_role: str, + platform_shape_type: str, + platform_version: str, + replicas: Sequence['outputs.GetBlockchainPlatformsBlockchainPlatformCollectionItemReplicaResult'], + service_endpoint: str, + service_version: str, + state: str, + storage_size_in_tbs: float, + storage_used_in_tbs: float, + time_created: str, + time_updated: str, + total_ocpu_capacity: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ca_cert_archive_text", ca_cert_archive_text) + _setter("compartment_id", compartment_id) + _setter("component_details", component_details) + _setter("compute_shape", compute_shape) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("federated_user_id", federated_user_id) + _setter("freeform_tags", freeform_tags) + _setter("host_ocpu_utilization_infos", host_ocpu_utilization_infos) + _setter("id", id) + _setter("idcs_access_token", idcs_access_token) + _setter("is_byol", is_byol) + _setter("is_multi_ad", is_multi_ad) + _setter("lifecycle_details", lifecycle_details) + _setter("load_balancer_shape", load_balancer_shape) + _setter("platform_role", platform_role) + _setter("platform_shape_type", platform_shape_type) + _setter("platform_version", platform_version) + _setter("replicas", replicas) + _setter("service_endpoint", service_endpoint) + _setter("service_version", service_version) + _setter("state", state) + _setter("storage_size_in_tbs", storage_size_in_tbs) + _setter("storage_used_in_tbs", storage_used_in_tbs) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("total_ocpu_capacity", total_ocpu_capacity) @property @pulumi.getter(name="caCertArchiveText") @@ -1262,8 +1580,19 @@ def __init__(__self__, *, :param Sequence['GetBlockchainPlatformsBlockchainPlatformCollectionItemComponentDetailOsnArgs'] osns: List of OSNs :param Sequence['GetBlockchainPlatformsBlockchainPlatformCollectionItemComponentDetailPeerArgs'] peers: List of Peers """ - pulumi.set(__self__, "osns", osns) - pulumi.set(__self__, "peers", peers) + GetBlockchainPlatformsBlockchainPlatformCollectionItemComponentDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + osns=osns, + peers=peers, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + osns: Sequence['outputs.GetBlockchainPlatformsBlockchainPlatformCollectionItemComponentDetailOsnResult'], + peers: Sequence['outputs.GetBlockchainPlatformsBlockchainPlatformCollectionItemComponentDetailPeerResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("osns", osns) + _setter("peers", peers) @property @pulumi.getter @@ -1295,10 +1624,25 @@ def __init__(__self__, *, :param str osn_key: OSN identifier :param str state: A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. """ - pulumi.set(__self__, "ad", ad) - pulumi.set(__self__, "ocpu_allocation_params", ocpu_allocation_params) - pulumi.set(__self__, "osn_key", osn_key) - pulumi.set(__self__, "state", state) + GetBlockchainPlatformsBlockchainPlatformCollectionItemComponentDetailOsnResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ad=ad, + ocpu_allocation_params=ocpu_allocation_params, + osn_key=osn_key, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ad: str, + ocpu_allocation_params: Sequence['outputs.GetBlockchainPlatformsBlockchainPlatformCollectionItemComponentDetailOsnOcpuAllocationParamResult'], + osn_key: str, + state: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ad", ad) + _setter("ocpu_allocation_params", ocpu_allocation_params) + _setter("osn_key", osn_key) + _setter("state", state) @property @pulumi.getter @@ -1340,7 +1684,16 @@ def __init__(__self__, *, """ :param float ocpu_allocation_number: Number of OCPU allocation """ - pulumi.set(__self__, "ocpu_allocation_number", ocpu_allocation_number) + GetBlockchainPlatformsBlockchainPlatformCollectionItemComponentDetailOsnOcpuAllocationParamResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ocpu_allocation_number=ocpu_allocation_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ocpu_allocation_number: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ocpu_allocation_number", ocpu_allocation_number) @property @pulumi.getter(name="ocpuAllocationNumber") @@ -1370,13 +1723,34 @@ def __init__(__self__, *, :param str role: Peer role :param str state: A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. """ - pulumi.set(__self__, "ad", ad) - pulumi.set(__self__, "alias", alias) - pulumi.set(__self__, "host", host) - pulumi.set(__self__, "ocpu_allocation_params", ocpu_allocation_params) - pulumi.set(__self__, "peer_key", peer_key) - pulumi.set(__self__, "role", role) - pulumi.set(__self__, "state", state) + GetBlockchainPlatformsBlockchainPlatformCollectionItemComponentDetailPeerResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ad=ad, + alias=alias, + host=host, + ocpu_allocation_params=ocpu_allocation_params, + peer_key=peer_key, + role=role, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ad: str, + alias: str, + host: str, + ocpu_allocation_params: Sequence['outputs.GetBlockchainPlatformsBlockchainPlatformCollectionItemComponentDetailPeerOcpuAllocationParamResult'], + peer_key: str, + role: str, + state: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ad", ad) + _setter("alias", alias) + _setter("host", host) + _setter("ocpu_allocation_params", ocpu_allocation_params) + _setter("peer_key", peer_key) + _setter("role", role) + _setter("state", state) @property @pulumi.getter @@ -1442,7 +1816,16 @@ def __init__(__self__, *, """ :param float ocpu_allocation_number: Number of OCPU allocation """ - pulumi.set(__self__, "ocpu_allocation_number", ocpu_allocation_number) + GetBlockchainPlatformsBlockchainPlatformCollectionItemComponentDetailPeerOcpuAllocationParamResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ocpu_allocation_number=ocpu_allocation_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ocpu_allocation_number: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ocpu_allocation_number", ocpu_allocation_number) @property @pulumi.getter(name="ocpuAllocationNumber") @@ -1464,9 +1847,22 @@ def __init__(__self__, *, :param float ocpu_capacity_number: Number of total OCPU capacity on the host :param float ocpu_utilization_number: Number of OCPU utilized """ - pulumi.set(__self__, "host", host) - pulumi.set(__self__, "ocpu_capacity_number", ocpu_capacity_number) - pulumi.set(__self__, "ocpu_utilization_number", ocpu_utilization_number) + GetBlockchainPlatformsBlockchainPlatformCollectionItemHostOcpuUtilizationInfoResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + host=host, + ocpu_capacity_number=ocpu_capacity_number, + ocpu_utilization_number=ocpu_utilization_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host: str, + ocpu_capacity_number: float, + ocpu_utilization_number: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("host", host) + _setter("ocpu_capacity_number", ocpu_capacity_number) + _setter("ocpu_utilization_number", ocpu_utilization_number) @property @pulumi.getter @@ -1504,9 +1900,22 @@ def __init__(__self__, *, :param int console_count: Number of console replicas :param int proxy_count: Number of REST proxy replicas """ - pulumi.set(__self__, "ca_count", ca_count) - pulumi.set(__self__, "console_count", console_count) - pulumi.set(__self__, "proxy_count", proxy_count) + GetBlockchainPlatformsBlockchainPlatformCollectionItemReplicaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ca_count=ca_count, + console_count=console_count, + proxy_count=proxy_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ca_count: int, + console_count: int, + proxy_count: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ca_count", ca_count) + _setter("console_count", console_count) + _setter("proxy_count", proxy_count) @property @pulumi.getter(name="caCount") @@ -1539,10 +1948,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetBlockchainPlatformsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1567,7 +1989,16 @@ def __init__(__self__, *, """ :param float ocpu_allocation_number: Number of OCPU allocation """ - pulumi.set(__self__, "ocpu_allocation_number", ocpu_allocation_number) + GetOsnOcpuAllocationParamResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ocpu_allocation_number=ocpu_allocation_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ocpu_allocation_number: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ocpu_allocation_number", ocpu_allocation_number) @property @pulumi.getter(name="ocpuAllocationNumber") @@ -1584,10 +2015,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetOsnsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1609,7 +2053,16 @@ def regex(self) -> Optional[bool]: class GetOsnsOsnCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetOsnsOsnCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetOsnsOsnCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetOsnsOsnCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1632,11 +2085,28 @@ def __init__(__self__, *, :param str osn_key: OSN identifier :param str state: The current state of the OSN. """ - pulumi.set(__self__, "ad", ad) - pulumi.set(__self__, "blockchain_platform_id", blockchain_platform_id) - pulumi.set(__self__, "ocpu_allocation_param", ocpu_allocation_param) - pulumi.set(__self__, "osn_key", osn_key) - pulumi.set(__self__, "state", state) + GetOsnsOsnCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ad=ad, + blockchain_platform_id=blockchain_platform_id, + ocpu_allocation_param=ocpu_allocation_param, + osn_key=osn_key, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ad: str, + blockchain_platform_id: str, + ocpu_allocation_param: 'outputs.GetOsnsOsnCollectionItemOcpuAllocationParamResult', + osn_key: str, + state: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ad", ad) + _setter("blockchain_platform_id", blockchain_platform_id) + _setter("ocpu_allocation_param", ocpu_allocation_param) + _setter("osn_key", osn_key) + _setter("state", state) @property @pulumi.getter @@ -1686,7 +2156,16 @@ def __init__(__self__, *, """ :param float ocpu_allocation_number: Number of OCPU allocation """ - pulumi.set(__self__, "ocpu_allocation_number", ocpu_allocation_number) + GetOsnsOsnCollectionItemOcpuAllocationParamResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ocpu_allocation_number=ocpu_allocation_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ocpu_allocation_number: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ocpu_allocation_number", ocpu_allocation_number) @property @pulumi.getter(name="ocpuAllocationNumber") @@ -1704,7 +2183,16 @@ def __init__(__self__, *, """ :param float ocpu_allocation_number: Number of OCPU allocation """ - pulumi.set(__self__, "ocpu_allocation_number", ocpu_allocation_number) + GetPeerOcpuAllocationParamResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ocpu_allocation_number=ocpu_allocation_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ocpu_allocation_number: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ocpu_allocation_number", ocpu_allocation_number) @property @pulumi.getter(name="ocpuAllocationNumber") @@ -1721,10 +2209,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetPeersFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1746,7 +2247,16 @@ def regex(self) -> Optional[bool]: class GetPeersPeerCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetPeersPeerCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetPeersPeerCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetPeersPeerCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1775,14 +2285,37 @@ def __init__(__self__, *, :param str role: Peer role :param str state: The current state of the peer. """ - pulumi.set(__self__, "ad", ad) - pulumi.set(__self__, "alias", alias) - pulumi.set(__self__, "blockchain_platform_id", blockchain_platform_id) - pulumi.set(__self__, "host", host) - pulumi.set(__self__, "ocpu_allocation_param", ocpu_allocation_param) - pulumi.set(__self__, "peer_key", peer_key) - pulumi.set(__self__, "role", role) - pulumi.set(__self__, "state", state) + GetPeersPeerCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ad=ad, + alias=alias, + blockchain_platform_id=blockchain_platform_id, + host=host, + ocpu_allocation_param=ocpu_allocation_param, + peer_key=peer_key, + role=role, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ad: str, + alias: str, + blockchain_platform_id: str, + host: str, + ocpu_allocation_param: 'outputs.GetPeersPeerCollectionItemOcpuAllocationParamResult', + peer_key: str, + role: str, + state: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ad", ad) + _setter("alias", alias) + _setter("blockchain_platform_id", blockchain_platform_id) + _setter("host", host) + _setter("ocpu_allocation_param", ocpu_allocation_param) + _setter("peer_key", peer_key) + _setter("role", role) + _setter("state", state) @property @pulumi.getter @@ -1856,7 +2389,16 @@ def __init__(__self__, *, """ :param float ocpu_allocation_number: Number of OCPU allocation """ - pulumi.set(__self__, "ocpu_allocation_number", ocpu_allocation_number) + GetPeersPeerCollectionItemOcpuAllocationParamResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ocpu_allocation_number=ocpu_allocation_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ocpu_allocation_number: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ocpu_allocation_number", ocpu_allocation_number) @property @pulumi.getter(name="ocpuAllocationNumber") diff --git a/sdk/python/pulumi_oci/blockchain/peer.py b/sdk/python/pulumi_oci/blockchain/peer.py index 51ae605f0c..b3ab57563a 100644 --- a/sdk/python/pulumi_oci/blockchain/peer.py +++ b/sdk/python/pulumi_oci/blockchain/peer.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -33,12 +33,29 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] alias: peer alias """ - pulumi.set(__self__, "ad", ad) - pulumi.set(__self__, "blockchain_platform_id", blockchain_platform_id) - pulumi.set(__self__, "ocpu_allocation_param", ocpu_allocation_param) - pulumi.set(__self__, "role", role) + PeerArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + ad=ad, + blockchain_platform_id=blockchain_platform_id, + ocpu_allocation_param=ocpu_allocation_param, + role=role, + alias=alias, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ad: pulumi.Input[str], + blockchain_platform_id: pulumi.Input[str], + ocpu_allocation_param: pulumi.Input['PeerOcpuAllocationParamArgs'], + role: pulumi.Input[str], + alias: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ad", ad) + _setter("blockchain_platform_id", blockchain_platform_id) + _setter("ocpu_allocation_param", ocpu_allocation_param) + _setter("role", role) if alias is not None: - pulumi.set(__self__, "alias", alias) + _setter("alias", alias) @property @pulumi.getter @@ -131,22 +148,45 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] state: The current state of the peer. """ + _PeerState._configure( + lambda key, value: pulumi.set(__self__, key, value), + ad=ad, + alias=alias, + blockchain_platform_id=blockchain_platform_id, + host=host, + ocpu_allocation_param=ocpu_allocation_param, + peer_key=peer_key, + role=role, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ad: Optional[pulumi.Input[str]] = None, + alias: Optional[pulumi.Input[str]] = None, + blockchain_platform_id: Optional[pulumi.Input[str]] = None, + host: Optional[pulumi.Input[str]] = None, + ocpu_allocation_param: Optional[pulumi.Input['PeerOcpuAllocationParamArgs']] = None, + peer_key: Optional[pulumi.Input[str]] = None, + role: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ad is not None: - pulumi.set(__self__, "ad", ad) + _setter("ad", ad) if alias is not None: - pulumi.set(__self__, "alias", alias) + _setter("alias", alias) if blockchain_platform_id is not None: - pulumi.set(__self__, "blockchain_platform_id", blockchain_platform_id) + _setter("blockchain_platform_id", blockchain_platform_id) if host is not None: - pulumi.set(__self__, "host", host) + _setter("host", host) if ocpu_allocation_param is not None: - pulumi.set(__self__, "ocpu_allocation_param", ocpu_allocation_param) + _setter("ocpu_allocation_param", ocpu_allocation_param) if peer_key is not None: - pulumi.set(__self__, "peer_key", peer_key) + _setter("peer_key", peer_key) if role is not None: - pulumi.set(__self__, "role", role) + _setter("role", role) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) @property @pulumi.getter @@ -346,6 +386,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + PeerArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -372,6 +416,11 @@ def _internal_init(__self__, if blockchain_platform_id is None and not opts.urn: raise TypeError("Missing required property 'blockchain_platform_id'") __props__.__dict__["blockchain_platform_id"] = blockchain_platform_id + if ocpu_allocation_param is not None and not isinstance(ocpu_allocation_param, PeerOcpuAllocationParamArgs): + ocpu_allocation_param = ocpu_allocation_param or {} + def _setter(key, value): + ocpu_allocation_param[key] = value + PeerOcpuAllocationParamArgs._configure(_setter, **ocpu_allocation_param) if ocpu_allocation_param is None and not opts.urn: raise TypeError("Missing required property 'ocpu_allocation_param'") __props__.__dict__["ocpu_allocation_param"] = ocpu_allocation_param diff --git a/sdk/python/pulumi_oci/budget/_inputs.py b/sdk/python/pulumi_oci/budget/_inputs.py index be1c62fc07..110a0b1a9f 100644 --- a/sdk/python/pulumi_oci/budget/_inputs.py +++ b/sdk/python/pulumi_oci/budget/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -20,10 +20,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAlertRulesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -59,10 +72,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetBudgetsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/budget/budget.py b/sdk/python/pulumi_oci/budget/budget.py index 62dd5e6dab..ccc7230876 100644 --- a/sdk/python/pulumi_oci/budget/budget.py +++ b/sdk/python/pulumi_oci/budget/budget.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['BudgetArgs', 'Budget'] @@ -49,34 +49,69 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "amount", amount) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "reset_period", reset_period) + BudgetArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + amount=amount, + compartment_id=compartment_id, + reset_period=reset_period, + budget_processing_period_start_offset=budget_processing_period_start_offset, + defined_tags=defined_tags, + description=description, + display_name=display_name, + end_date=end_date, + freeform_tags=freeform_tags, + processing_period_type=processing_period_type, + start_date=start_date, + target_compartment_id=target_compartment_id, + target_type=target_type, + targets=targets, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + amount: pulumi.Input[int], + compartment_id: pulumi.Input[str], + reset_period: pulumi.Input[str], + budget_processing_period_start_offset: Optional[pulumi.Input[int]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + end_date: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + processing_period_type: Optional[pulumi.Input[str]] = None, + start_date: Optional[pulumi.Input[str]] = None, + target_compartment_id: Optional[pulumi.Input[str]] = None, + target_type: Optional[pulumi.Input[str]] = None, + targets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("amount", amount) + _setter("compartment_id", compartment_id) + _setter("reset_period", reset_period) if budget_processing_period_start_offset is not None: - pulumi.set(__self__, "budget_processing_period_start_offset", budget_processing_period_start_offset) + _setter("budget_processing_period_start_offset", budget_processing_period_start_offset) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if end_date is not None: - pulumi.set(__self__, "end_date", end_date) + _setter("end_date", end_date) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if processing_period_type is not None: - pulumi.set(__self__, "processing_period_type", processing_period_type) + _setter("processing_period_type", processing_period_type) if start_date is not None: - pulumi.set(__self__, "start_date", start_date) + _setter("start_date", start_date) if target_compartment_id is not None: warnings.warn("""The 'target_compartment_id' field has been deprecated. Please use 'targets' instead.""", DeprecationWarning) pulumi.log.warn("""target_compartment_id is deprecated: The 'target_compartment_id' field has been deprecated. Please use 'targets' instead.""") if target_compartment_id is not None: - pulumi.set(__self__, "target_compartment_id", target_compartment_id) + _setter("target_compartment_id", target_compartment_id) if target_type is not None: - pulumi.set(__self__, "target_type", target_type) + _setter("target_type", target_type) if targets is not None: - pulumi.set(__self__, "targets", targets) + _setter("targets", targets) @property @pulumi.getter @@ -308,53 +343,104 @@ def __init__(__self__, *, :param pulumi.Input[str] time_updated: The time that the budget was updated. :param pulumi.Input[int] version: The version of the budget. Starts from 1 and increments by 1. """ + _BudgetState._configure( + lambda key, value: pulumi.set(__self__, key, value), + actual_spend=actual_spend, + alert_rule_count=alert_rule_count, + amount=amount, + budget_processing_period_start_offset=budget_processing_period_start_offset, + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + end_date=end_date, + forecasted_spend=forecasted_spend, + freeform_tags=freeform_tags, + processing_period_type=processing_period_type, + reset_period=reset_period, + start_date=start_date, + state=state, + target_compartment_id=target_compartment_id, + target_type=target_type, + targets=targets, + time_created=time_created, + time_spend_computed=time_spend_computed, + time_updated=time_updated, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + actual_spend: Optional[pulumi.Input[float]] = None, + alert_rule_count: Optional[pulumi.Input[int]] = None, + amount: Optional[pulumi.Input[int]] = None, + budget_processing_period_start_offset: Optional[pulumi.Input[int]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + end_date: Optional[pulumi.Input[str]] = None, + forecasted_spend: Optional[pulumi.Input[float]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + processing_period_type: Optional[pulumi.Input[str]] = None, + reset_period: Optional[pulumi.Input[str]] = None, + start_date: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + target_compartment_id: Optional[pulumi.Input[str]] = None, + target_type: Optional[pulumi.Input[str]] = None, + targets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_spend_computed: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + version: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if actual_spend is not None: - pulumi.set(__self__, "actual_spend", actual_spend) + _setter("actual_spend", actual_spend) if alert_rule_count is not None: - pulumi.set(__self__, "alert_rule_count", alert_rule_count) + _setter("alert_rule_count", alert_rule_count) if amount is not None: - pulumi.set(__self__, "amount", amount) + _setter("amount", amount) if budget_processing_period_start_offset is not None: - pulumi.set(__self__, "budget_processing_period_start_offset", budget_processing_period_start_offset) + _setter("budget_processing_period_start_offset", budget_processing_period_start_offset) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if end_date is not None: - pulumi.set(__self__, "end_date", end_date) + _setter("end_date", end_date) if forecasted_spend is not None: - pulumi.set(__self__, "forecasted_spend", forecasted_spend) + _setter("forecasted_spend", forecasted_spend) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if processing_period_type is not None: - pulumi.set(__self__, "processing_period_type", processing_period_type) + _setter("processing_period_type", processing_period_type) if reset_period is not None: - pulumi.set(__self__, "reset_period", reset_period) + _setter("reset_period", reset_period) if start_date is not None: - pulumi.set(__self__, "start_date", start_date) + _setter("start_date", start_date) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if target_compartment_id is not None: warnings.warn("""The 'target_compartment_id' field has been deprecated. Please use 'targets' instead.""", DeprecationWarning) pulumi.log.warn("""target_compartment_id is deprecated: The 'target_compartment_id' field has been deprecated. Please use 'targets' instead.""") if target_compartment_id is not None: - pulumi.set(__self__, "target_compartment_id", target_compartment_id) + _setter("target_compartment_id", target_compartment_id) if target_type is not None: - pulumi.set(__self__, "target_type", target_type) + _setter("target_type", target_type) if targets is not None: - pulumi.set(__self__, "targets", targets) + _setter("targets", targets) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_spend_computed is not None: - pulumi.set(__self__, "time_spend_computed", time_spend_computed) + _setter("time_spend_computed", time_spend_computed) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter(name="actualSpend") @@ -765,6 +851,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + BudgetArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -810,9 +900,6 @@ def _internal_init(__self__, raise TypeError("Missing required property 'reset_period'") __props__.__dict__["reset_period"] = reset_period __props__.__dict__["start_date"] = start_date - if target_compartment_id is not None and not opts.urn: - warnings.warn("""The 'target_compartment_id' field has been deprecated. Please use 'targets' instead.""", DeprecationWarning) - pulumi.log.warn("""target_compartment_id is deprecated: The 'target_compartment_id' field has been deprecated. Please use 'targets' instead.""") __props__.__dict__["target_compartment_id"] = target_compartment_id __props__.__dict__["target_type"] = target_type __props__.__dict__["targets"] = targets diff --git a/sdk/python/pulumi_oci/budget/get_alert_rule.py b/sdk/python/pulumi_oci/budget/get_alert_rule.py index 825b0e1935..e4bce63af9 100644 --- a/sdk/python/pulumi_oci/budget/get_alert_rule.py +++ b/sdk/python/pulumi_oci/budget/get_alert_rule.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/budget/get_alert_rules.py b/sdk/python/pulumi_oci/budget/get_alert_rules.py index 11a633f042..04b6f6149a 100644 --- a/sdk/python/pulumi_oci/budget/get_alert_rules.py +++ b/sdk/python/pulumi_oci/budget/get_alert_rules.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/budget/get_budget.py b/sdk/python/pulumi_oci/budget/get_budget.py index a689b53f4d..08730e412a 100644 --- a/sdk/python/pulumi_oci/budget/get_budget.py +++ b/sdk/python/pulumi_oci/budget/get_budget.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/budget/get_budgets.py b/sdk/python/pulumi_oci/budget/get_budgets.py index 2d36906537..602a8f5f56 100644 --- a/sdk/python/pulumi_oci/budget/get_budgets.py +++ b/sdk/python/pulumi_oci/budget/get_budgets.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/budget/outputs.py b/sdk/python/pulumi_oci/budget/outputs.py index b862afb917..1162409f58 100644 --- a/sdk/python/pulumi_oci/budget/outputs.py +++ b/sdk/python/pulumi_oci/budget/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -51,21 +51,58 @@ def __init__(__self__, *, :param str type: The type of the alert. Valid values are ACTUAL (the alert triggers based on actual usage), or FORECAST (the alert triggers based on predicted usage). :param int version: The version of the alert rule. Starts from 1 and increments by 1. """ - pulumi.set(__self__, "budget_id", budget_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "message", message) - pulumi.set(__self__, "recipients", recipients) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "threshold", threshold) - pulumi.set(__self__, "threshold_type", threshold_type) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "version", version) + GetAlertRulesAlertRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + budget_id=budget_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + message=message, + recipients=recipients, + state=state, + threshold=threshold, + threshold_type=threshold_type, + time_created=time_created, + time_updated=time_updated, + type=type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + budget_id: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + message: str, + recipients: str, + state: str, + threshold: float, + threshold_type: str, + time_created: str, + time_updated: str, + type: str, + version: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("budget_id", budget_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("message", message) + _setter("recipients", recipients) + _setter("state", state) + _setter("threshold", threshold) + _setter("threshold_type", threshold_type) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("type", type) + _setter("version", version) @property @pulumi.getter(name="budgetId") @@ -194,10 +231,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAlertRulesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -269,29 +319,82 @@ def __init__(__self__, *, :param str time_updated: The time that the budget was updated. :param int version: The version of the budget. Starts from 1 and increments by 1. """ - pulumi.set(__self__, "actual_spend", actual_spend) - pulumi.set(__self__, "alert_rule_count", alert_rule_count) - pulumi.set(__self__, "amount", amount) - pulumi.set(__self__, "budget_processing_period_start_offset", budget_processing_period_start_offset) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "end_date", end_date) - pulumi.set(__self__, "forecasted_spend", forecasted_spend) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "processing_period_type", processing_period_type) - pulumi.set(__self__, "reset_period", reset_period) - pulumi.set(__self__, "start_date", start_date) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "target_compartment_id", target_compartment_id) - pulumi.set(__self__, "target_type", target_type) - pulumi.set(__self__, "targets", targets) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_spend_computed", time_spend_computed) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "version", version) + GetBudgetsBudgetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + actual_spend=actual_spend, + alert_rule_count=alert_rule_count, + amount=amount, + budget_processing_period_start_offset=budget_processing_period_start_offset, + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + end_date=end_date, + forecasted_spend=forecasted_spend, + freeform_tags=freeform_tags, + id=id, + processing_period_type=processing_period_type, + reset_period=reset_period, + start_date=start_date, + state=state, + target_compartment_id=target_compartment_id, + target_type=target_type, + targets=targets, + time_created=time_created, + time_spend_computed=time_spend_computed, + time_updated=time_updated, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + actual_spend: float, + alert_rule_count: int, + amount: int, + budget_processing_period_start_offset: int, + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + end_date: str, + forecasted_spend: float, + freeform_tags: Mapping[str, Any], + id: str, + processing_period_type: str, + reset_period: str, + start_date: str, + state: str, + target_compartment_id: str, + target_type: str, + targets: Sequence[str], + time_created: str, + time_spend_computed: str, + time_updated: str, + version: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("actual_spend", actual_spend) + _setter("alert_rule_count", alert_rule_count) + _setter("amount", amount) + _setter("budget_processing_period_start_offset", budget_processing_period_start_offset) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("end_date", end_date) + _setter("forecasted_spend", forecasted_spend) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("processing_period_type", processing_period_type) + _setter("reset_period", reset_period) + _setter("start_date", start_date) + _setter("state", state) + _setter("target_compartment_id", target_compartment_id) + _setter("target_type", target_type) + _setter("targets", targets) + _setter("time_created", time_created) + _setter("time_spend_computed", time_spend_computed) + _setter("time_updated", time_updated) + _setter("version", version) @property @pulumi.getter(name="actualSpend") @@ -490,10 +593,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetBudgetsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/budget/rule.py b/sdk/python/pulumi_oci/budget/rule.py index a343d18ca2..f072c6e435 100644 --- a/sdk/python/pulumi_oci/budget/rule.py +++ b/sdk/python/pulumi_oci/budget/rule.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['RuleArgs', 'Rule'] @@ -41,22 +41,49 @@ def __init__(__self__, *, :param pulumi.Input[str] message: (Updatable) The message to be sent to the recipients when the alert rule is triggered. :param pulumi.Input[str] recipients: (Updatable) The audience that receives the alert when it triggers. An empty string is interpreted as null. """ - pulumi.set(__self__, "budget_id", budget_id) - pulumi.set(__self__, "threshold", threshold) - pulumi.set(__self__, "threshold_type", threshold_type) - pulumi.set(__self__, "type", type) + RuleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + budget_id=budget_id, + threshold=threshold, + threshold_type=threshold_type, + type=type, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + message=message, + recipients=recipients, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + budget_id: pulumi.Input[str], + threshold: pulumi.Input[float], + threshold_type: pulumi.Input[str], + type: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + message: Optional[pulumi.Input[str]] = None, + recipients: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("budget_id", budget_id) + _setter("threshold", threshold) + _setter("threshold_type", threshold_type) + _setter("type", type) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if message is not None: - pulumi.set(__self__, "message", message) + _setter("message", message) if recipients is not None: - pulumi.set(__self__, "recipients", recipients) + _setter("recipients", recipients) @property @pulumi.getter(name="budgetId") @@ -221,34 +248,69 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[int] version: The version of the alert rule. Starts from 1 and increments by 1. """ + _RuleState._configure( + lambda key, value: pulumi.set(__self__, key, value), + budget_id=budget_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + message=message, + recipients=recipients, + state=state, + threshold=threshold, + threshold_type=threshold_type, + time_created=time_created, + time_updated=time_updated, + type=type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + budget_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + message: Optional[pulumi.Input[str]] = None, + recipients: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + threshold: Optional[pulumi.Input[float]] = None, + threshold_type: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + version: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if budget_id is not None: - pulumi.set(__self__, "budget_id", budget_id) + _setter("budget_id", budget_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if message is not None: - pulumi.set(__self__, "message", message) + _setter("message", message) if recipients is not None: - pulumi.set(__self__, "recipients", recipients) + _setter("recipients", recipients) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if threshold is not None: - pulumi.set(__self__, "threshold", threshold) + _setter("threshold", threshold) if threshold_type is not None: - pulumi.set(__self__, "threshold_type", threshold_type) + _setter("threshold_type", threshold_type) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter(name="budgetId") @@ -544,6 +606,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + RuleArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/certificatesmanagement/_inputs.py b/sdk/python/pulumi_oci/certificatesmanagement/_inputs.py index 7bd143872b..68028f5c89 100644 --- a/sdk/python/pulumi_oci/certificatesmanagement/_inputs.py +++ b/sdk/python/pulumi_oci/certificatesmanagement/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -57,16 +57,35 @@ def __init__(__self__, *, :param pulumi.Input['CertificateAuthorityCertificateAuthorityConfigValidityArgs'] validity: (Updatable) An object that describes a period of time during which an entity is valid. If this is not provided when you create a certificate, the validity of the issuing CA is used. :param pulumi.Input[str] version_name: (Updatable) The name of the CA version. When the value is not null, a name is unique across versions of a given CA. """ - pulumi.set(__self__, "config_type", config_type) - pulumi.set(__self__, "subject", subject) + CertificateAuthorityCertificateAuthorityConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + config_type=config_type, + subject=subject, + issuer_certificate_authority_id=issuer_certificate_authority_id, + signing_algorithm=signing_algorithm, + validity=validity, + version_name=version_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + config_type: pulumi.Input[str], + subject: pulumi.Input['CertificateAuthorityCertificateAuthorityConfigSubjectArgs'], + issuer_certificate_authority_id: Optional[pulumi.Input[str]] = None, + signing_algorithm: Optional[pulumi.Input[str]] = None, + validity: Optional[pulumi.Input['CertificateAuthorityCertificateAuthorityConfigValidityArgs']] = None, + version_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("config_type", config_type) + _setter("subject", subject) if issuer_certificate_authority_id is not None: - pulumi.set(__self__, "issuer_certificate_authority_id", issuer_certificate_authority_id) + _setter("issuer_certificate_authority_id", issuer_certificate_authority_id) if signing_algorithm is not None: - pulumi.set(__self__, "signing_algorithm", signing_algorithm) + _setter("signing_algorithm", signing_algorithm) if validity is not None: - pulumi.set(__self__, "validity", validity) + _setter("validity", validity) if version_name is not None: - pulumi.set(__self__, "version_name", version_name) + _setter("version_name", version_name) @property @pulumi.getter(name="configType") @@ -180,39 +199,80 @@ def __init__(__self__, *, :param pulumi.Input[str] title: Title (RDN T or TITLE). :param pulumi.Input[str] user_id: User ID (RDN UID). """ - pulumi.set(__self__, "common_name", common_name) + CertificateAuthorityCertificateAuthorityConfigSubjectArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + common_name=common_name, + country=country, + distinguished_name_qualifier=distinguished_name_qualifier, + domain_component=domain_component, + generation_qualifier=generation_qualifier, + given_name=given_name, + initials=initials, + locality_name=locality_name, + organization=organization, + organizational_unit=organizational_unit, + pseudonym=pseudonym, + serial_number=serial_number, + state_or_province_name=state_or_province_name, + street=street, + surname=surname, + title=title, + user_id=user_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + common_name: pulumi.Input[str], + country: Optional[pulumi.Input[str]] = None, + distinguished_name_qualifier: Optional[pulumi.Input[str]] = None, + domain_component: Optional[pulumi.Input[str]] = None, + generation_qualifier: Optional[pulumi.Input[str]] = None, + given_name: Optional[pulumi.Input[str]] = None, + initials: Optional[pulumi.Input[str]] = None, + locality_name: Optional[pulumi.Input[str]] = None, + organization: Optional[pulumi.Input[str]] = None, + organizational_unit: Optional[pulumi.Input[str]] = None, + pseudonym: Optional[pulumi.Input[str]] = None, + serial_number: Optional[pulumi.Input[str]] = None, + state_or_province_name: Optional[pulumi.Input[str]] = None, + street: Optional[pulumi.Input[str]] = None, + surname: Optional[pulumi.Input[str]] = None, + title: Optional[pulumi.Input[str]] = None, + user_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("common_name", common_name) if country is not None: - pulumi.set(__self__, "country", country) + _setter("country", country) if distinguished_name_qualifier is not None: - pulumi.set(__self__, "distinguished_name_qualifier", distinguished_name_qualifier) + _setter("distinguished_name_qualifier", distinguished_name_qualifier) if domain_component is not None: - pulumi.set(__self__, "domain_component", domain_component) + _setter("domain_component", domain_component) if generation_qualifier is not None: - pulumi.set(__self__, "generation_qualifier", generation_qualifier) + _setter("generation_qualifier", generation_qualifier) if given_name is not None: - pulumi.set(__self__, "given_name", given_name) + _setter("given_name", given_name) if initials is not None: - pulumi.set(__self__, "initials", initials) + _setter("initials", initials) if locality_name is not None: - pulumi.set(__self__, "locality_name", locality_name) + _setter("locality_name", locality_name) if organization is not None: - pulumi.set(__self__, "organization", organization) + _setter("organization", organization) if organizational_unit is not None: - pulumi.set(__self__, "organizational_unit", organizational_unit) + _setter("organizational_unit", organizational_unit) if pseudonym is not None: - pulumi.set(__self__, "pseudonym", pseudonym) + _setter("pseudonym", pseudonym) if serial_number is not None: - pulumi.set(__self__, "serial_number", serial_number) + _setter("serial_number", serial_number) if state_or_province_name is not None: - pulumi.set(__self__, "state_or_province_name", state_or_province_name) + _setter("state_or_province_name", state_or_province_name) if street is not None: - pulumi.set(__self__, "street", street) + _setter("street", street) if surname is not None: - pulumi.set(__self__, "surname", surname) + _setter("surname", surname) if title is not None: - pulumi.set(__self__, "title", title) + _setter("title", title) if user_id is not None: - pulumi.set(__self__, "user_id", user_id) + _setter("user_id", user_id) @property @pulumi.getter(name="commonName") @@ -428,9 +488,20 @@ def __init__(__self__, *, :param pulumi.Input[str] time_of_validity_not_after: (Updatable) The date on which the certificate validity period ends, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` :param pulumi.Input[str] time_of_validity_not_before: (Updatable) The date on which the certificate validity period begins, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` """ - pulumi.set(__self__, "time_of_validity_not_after", time_of_validity_not_after) + CertificateAuthorityCertificateAuthorityConfigValidityArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + time_of_validity_not_after=time_of_validity_not_after, + time_of_validity_not_before=time_of_validity_not_before, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + time_of_validity_not_after: pulumi.Input[str], + time_of_validity_not_before: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("time_of_validity_not_after", time_of_validity_not_after) if time_of_validity_not_before is not None: - pulumi.set(__self__, "time_of_validity_not_before", time_of_validity_not_before) + _setter("time_of_validity_not_before", time_of_validity_not_before) @property @pulumi.getter(name="timeOfValidityNotAfter") @@ -468,11 +539,24 @@ def __init__(__self__, *, :param pulumi.Input[str] certificate_authority_max_validity_duration: (Updatable) A property indicating the maximum validity duration, in days, of subordinate CA's issued by this CA. Expressed in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Time_intervals) format. :param pulumi.Input[str] leaf_certificate_max_validity_duration: (Updatable) A property indicating the maximum validity duration, in days, of leaf certificates issued by this CA. Expressed in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Time_intervals) format. """ - pulumi.set(__self__, "rule_type", rule_type) + CertificateAuthorityCertificateAuthorityRuleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + rule_type=rule_type, + certificate_authority_max_validity_duration=certificate_authority_max_validity_duration, + leaf_certificate_max_validity_duration=leaf_certificate_max_validity_duration, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + rule_type: pulumi.Input[str], + certificate_authority_max_validity_duration: Optional[pulumi.Input[str]] = None, + leaf_certificate_max_validity_duration: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("rule_type", rule_type) if certificate_authority_max_validity_duration is not None: - pulumi.set(__self__, "certificate_authority_max_validity_duration", certificate_authority_max_validity_duration) + _setter("certificate_authority_max_validity_duration", certificate_authority_max_validity_duration) if leaf_certificate_max_validity_duration is not None: - pulumi.set(__self__, "leaf_certificate_max_validity_duration", leaf_certificate_max_validity_duration) + _setter("leaf_certificate_max_validity_duration", leaf_certificate_max_validity_duration) @property @pulumi.getter(name="ruleType") @@ -520,9 +604,20 @@ def __init__(__self__, *, :param pulumi.Input['CertificateAuthorityCertificateRevocationListDetailsObjectStorageConfigArgs'] object_storage_config: (Updatable) The details of the Object Storage bucket configured to store the certificate revocation list (CRL). :param pulumi.Input[Sequence[pulumi.Input[str]]] custom_formatted_urls: (Updatable) Optional CRL access points, expressed using a format where the version number of the issuing CA is inserted wherever you include a pair of curly braces. This versioning scheme helps avoid collisions when new CA versions are created. For example, myCrlFileIssuedFromCAVersion{}.crl becomes myCrlFileIssuedFromCAVersion2.crl for CA version 2. """ - pulumi.set(__self__, "object_storage_config", object_storage_config) + CertificateAuthorityCertificateRevocationListDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + object_storage_config=object_storage_config, + custom_formatted_urls=custom_formatted_urls, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + object_storage_config: pulumi.Input['CertificateAuthorityCertificateRevocationListDetailsObjectStorageConfigArgs'], + custom_formatted_urls: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("object_storage_config", object_storage_config) if custom_formatted_urls is not None: - pulumi.set(__self__, "custom_formatted_urls", custom_formatted_urls) + _setter("custom_formatted_urls", custom_formatted_urls) @property @pulumi.getter(name="objectStorageConfig") @@ -560,10 +655,23 @@ def __init__(__self__, *, :param pulumi.Input[str] object_storage_object_name_format: (Updatable) The object name in the bucket where the CRL is stored, expressed using a format where the version number of the issuing CA is inserted as part of the Object Storage object name wherever you include a pair of curly braces. This versioning scheme helps avoid collisions when new CA versions are created. For example, myCrlFileIssuedFromCAVersion{}.crl becomes myCrlFileIssuedFromCAVersion2.crl for CA version 2. :param pulumi.Input[str] object_storage_namespace: (Updatable) The tenancy of the bucket where the CRL is stored. """ - pulumi.set(__self__, "object_storage_bucket_name", object_storage_bucket_name) - pulumi.set(__self__, "object_storage_object_name_format", object_storage_object_name_format) + CertificateAuthorityCertificateRevocationListDetailsObjectStorageConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + object_storage_bucket_name=object_storage_bucket_name, + object_storage_object_name_format=object_storage_object_name_format, + object_storage_namespace=object_storage_namespace, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + object_storage_bucket_name: pulumi.Input[str], + object_storage_object_name_format: pulumi.Input[str], + object_storage_namespace: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("object_storage_bucket_name", object_storage_bucket_name) + _setter("object_storage_object_name_format", object_storage_object_name_format) if object_storage_namespace is not None: - pulumi.set(__self__, "object_storage_namespace", object_storage_namespace) + _setter("object_storage_namespace", object_storage_namespace) @property @pulumi.getter(name="objectStorageBucketName") @@ -627,26 +735,53 @@ def __init__(__self__, *, :param pulumi.Input[str] version_name: (Updatable) The name of the CA version. When the value is not null, a name is unique across versions of a given CA. :param pulumi.Input[str] version_number: The version number of the CA. """ + CertificateAuthorityCurrentVersionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + certificate_authority_id=certificate_authority_id, + issuer_ca_version_number=issuer_ca_version_number, + revocation_statuses=revocation_statuses, + serial_number=serial_number, + stages=stages, + time_created=time_created, + time_of_deletion=time_of_deletion, + validities=validities, + version_name=version_name, + version_number=version_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + certificate_authority_id: Optional[pulumi.Input[str]] = None, + issuer_ca_version_number: Optional[pulumi.Input[str]] = None, + revocation_statuses: Optional[pulumi.Input[Sequence[pulumi.Input['CertificateAuthorityCurrentVersionRevocationStatusArgs']]]] = None, + serial_number: Optional[pulumi.Input[str]] = None, + stages: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_of_deletion: Optional[pulumi.Input[str]] = None, + validities: Optional[pulumi.Input[Sequence[pulumi.Input['CertificateAuthorityCurrentVersionValidityArgs']]]] = None, + version_name: Optional[pulumi.Input[str]] = None, + version_number: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if certificate_authority_id is not None: - pulumi.set(__self__, "certificate_authority_id", certificate_authority_id) + _setter("certificate_authority_id", certificate_authority_id) if issuer_ca_version_number is not None: - pulumi.set(__self__, "issuer_ca_version_number", issuer_ca_version_number) + _setter("issuer_ca_version_number", issuer_ca_version_number) if revocation_statuses is not None: - pulumi.set(__self__, "revocation_statuses", revocation_statuses) + _setter("revocation_statuses", revocation_statuses) if serial_number is not None: - pulumi.set(__self__, "serial_number", serial_number) + _setter("serial_number", serial_number) if stages is not None: - pulumi.set(__self__, "stages", stages) + _setter("stages", stages) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_of_deletion is not None: - pulumi.set(__self__, "time_of_deletion", time_of_deletion) + _setter("time_of_deletion", time_of_deletion) if validities is not None: - pulumi.set(__self__, "validities", validities) + _setter("validities", validities) if version_name is not None: - pulumi.set(__self__, "version_name", version_name) + _setter("version_name", version_name) if version_number is not None: - pulumi.set(__self__, "version_number", version_number) + _setter("version_number", version_number) @property @pulumi.getter(name="certificateAuthorityId") @@ -778,10 +913,21 @@ def __init__(__self__, *, :param pulumi.Input[str] revocation_reason: The reason the certificate or certificate authority (CA) was revoked. :param pulumi.Input[str] time_of_revocation: The time when the entity was revoked, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` """ + CertificateAuthorityCurrentVersionRevocationStatusArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + revocation_reason=revocation_reason, + time_of_revocation=time_of_revocation, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + revocation_reason: Optional[pulumi.Input[str]] = None, + time_of_revocation: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if revocation_reason is not None: - pulumi.set(__self__, "revocation_reason", revocation_reason) + _setter("revocation_reason", revocation_reason) if time_of_revocation is not None: - pulumi.set(__self__, "time_of_revocation", time_of_revocation) + _setter("time_of_revocation", time_of_revocation) @property @pulumi.getter(name="revocationReason") @@ -817,10 +963,21 @@ def __init__(__self__, *, :param pulumi.Input[str] time_of_validity_not_after: (Updatable) The date on which the certificate validity period ends, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` :param pulumi.Input[str] time_of_validity_not_before: (Updatable) The date on which the certificate validity period begins, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` """ + CertificateAuthorityCurrentVersionValidityArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + time_of_validity_not_after=time_of_validity_not_after, + time_of_validity_not_before=time_of_validity_not_before, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + time_of_validity_not_after: Optional[pulumi.Input[str]] = None, + time_of_validity_not_before: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if time_of_validity_not_after is not None: - pulumi.set(__self__, "time_of_validity_not_after", time_of_validity_not_after) + _setter("time_of_validity_not_after", time_of_validity_not_after) if time_of_validity_not_before is not None: - pulumi.set(__self__, "time_of_validity_not_before", time_of_validity_not_before) + _setter("time_of_validity_not_before", time_of_validity_not_before) @property @pulumi.getter(name="timeOfValidityNotAfter") @@ -886,40 +1043,81 @@ def __init__(__self__, *, :param pulumi.Input[str] title: Title (RDN T or TITLE). :param pulumi.Input[str] user_id: User ID (RDN UID). """ + CertificateAuthoritySubjectArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + common_name=common_name, + country=country, + distinguished_name_qualifier=distinguished_name_qualifier, + domain_component=domain_component, + generation_qualifier=generation_qualifier, + given_name=given_name, + initials=initials, + locality_name=locality_name, + organization=organization, + organizational_unit=organizational_unit, + pseudonym=pseudonym, + serial_number=serial_number, + state_or_province_name=state_or_province_name, + street=street, + surname=surname, + title=title, + user_id=user_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + common_name: Optional[pulumi.Input[str]] = None, + country: Optional[pulumi.Input[str]] = None, + distinguished_name_qualifier: Optional[pulumi.Input[str]] = None, + domain_component: Optional[pulumi.Input[str]] = None, + generation_qualifier: Optional[pulumi.Input[str]] = None, + given_name: Optional[pulumi.Input[str]] = None, + initials: Optional[pulumi.Input[str]] = None, + locality_name: Optional[pulumi.Input[str]] = None, + organization: Optional[pulumi.Input[str]] = None, + organizational_unit: Optional[pulumi.Input[str]] = None, + pseudonym: Optional[pulumi.Input[str]] = None, + serial_number: Optional[pulumi.Input[str]] = None, + state_or_province_name: Optional[pulumi.Input[str]] = None, + street: Optional[pulumi.Input[str]] = None, + surname: Optional[pulumi.Input[str]] = None, + title: Optional[pulumi.Input[str]] = None, + user_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if common_name is not None: - pulumi.set(__self__, "common_name", common_name) + _setter("common_name", common_name) if country is not None: - pulumi.set(__self__, "country", country) + _setter("country", country) if distinguished_name_qualifier is not None: - pulumi.set(__self__, "distinguished_name_qualifier", distinguished_name_qualifier) + _setter("distinguished_name_qualifier", distinguished_name_qualifier) if domain_component is not None: - pulumi.set(__self__, "domain_component", domain_component) + _setter("domain_component", domain_component) if generation_qualifier is not None: - pulumi.set(__self__, "generation_qualifier", generation_qualifier) + _setter("generation_qualifier", generation_qualifier) if given_name is not None: - pulumi.set(__self__, "given_name", given_name) + _setter("given_name", given_name) if initials is not None: - pulumi.set(__self__, "initials", initials) + _setter("initials", initials) if locality_name is not None: - pulumi.set(__self__, "locality_name", locality_name) + _setter("locality_name", locality_name) if organization is not None: - pulumi.set(__self__, "organization", organization) + _setter("organization", organization) if organizational_unit is not None: - pulumi.set(__self__, "organizational_unit", organizational_unit) + _setter("organizational_unit", organizational_unit) if pseudonym is not None: - pulumi.set(__self__, "pseudonym", pseudonym) + _setter("pseudonym", pseudonym) if serial_number is not None: - pulumi.set(__self__, "serial_number", serial_number) + _setter("serial_number", serial_number) if state_or_province_name is not None: - pulumi.set(__self__, "state_or_province_name", state_or_province_name) + _setter("state_or_province_name", state_or_province_name) if street is not None: - pulumi.set(__self__, "street", street) + _setter("street", street) if surname is not None: - pulumi.set(__self__, "surname", surname) + _setter("surname", surname) if title is not None: - pulumi.set(__self__, "title", title) + _setter("title", title) if user_id is not None: - pulumi.set(__self__, "user_id", user_id) + _setter("user_id", user_id) @property @pulumi.getter(name="commonName") @@ -1151,25 +1349,52 @@ def __init__(__self__, *, :param pulumi.Input['CertificateCertificateConfigValidityArgs'] validity: (Updatable) An object that describes a period of time during which an entity is valid. If this is not provided when you create a certificate, the validity of the issuing CA is used. :param pulumi.Input[str] version_name: (Updatable) A name for the certificate. When the value is not null, a name is unique across versions of a given certificate. """ - pulumi.set(__self__, "config_type", config_type) + CertificateCertificateConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + config_type=config_type, + certificate_profile_type=certificate_profile_type, + csr_pem=csr_pem, + issuer_certificate_authority_id=issuer_certificate_authority_id, + key_algorithm=key_algorithm, + signature_algorithm=signature_algorithm, + subject=subject, + subject_alternative_names=subject_alternative_names, + validity=validity, + version_name=version_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + config_type: pulumi.Input[str], + certificate_profile_type: Optional[pulumi.Input[str]] = None, + csr_pem: Optional[pulumi.Input[str]] = None, + issuer_certificate_authority_id: Optional[pulumi.Input[str]] = None, + key_algorithm: Optional[pulumi.Input[str]] = None, + signature_algorithm: Optional[pulumi.Input[str]] = None, + subject: Optional[pulumi.Input['CertificateCertificateConfigSubjectArgs']] = None, + subject_alternative_names: Optional[pulumi.Input[Sequence[pulumi.Input['CertificateCertificateConfigSubjectAlternativeNameArgs']]]] = None, + validity: Optional[pulumi.Input['CertificateCertificateConfigValidityArgs']] = None, + version_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("config_type", config_type) if certificate_profile_type is not None: - pulumi.set(__self__, "certificate_profile_type", certificate_profile_type) + _setter("certificate_profile_type", certificate_profile_type) if csr_pem is not None: - pulumi.set(__self__, "csr_pem", csr_pem) + _setter("csr_pem", csr_pem) if issuer_certificate_authority_id is not None: - pulumi.set(__self__, "issuer_certificate_authority_id", issuer_certificate_authority_id) + _setter("issuer_certificate_authority_id", issuer_certificate_authority_id) if key_algorithm is not None: - pulumi.set(__self__, "key_algorithm", key_algorithm) + _setter("key_algorithm", key_algorithm) if signature_algorithm is not None: - pulumi.set(__self__, "signature_algorithm", signature_algorithm) + _setter("signature_algorithm", signature_algorithm) if subject is not None: - pulumi.set(__self__, "subject", subject) + _setter("subject", subject) if subject_alternative_names is not None: - pulumi.set(__self__, "subject_alternative_names", subject_alternative_names) + _setter("subject_alternative_names", subject_alternative_names) if validity is not None: - pulumi.set(__self__, "validity", validity) + _setter("validity", validity) if version_name is not None: - pulumi.set(__self__, "version_name", version_name) + _setter("version_name", version_name) @property @pulumi.getter(name="configType") @@ -1331,39 +1556,80 @@ def __init__(__self__, *, :param pulumi.Input[str] title: Title (RDN T or TITLE). :param pulumi.Input[str] user_id: User ID (RDN UID). """ - pulumi.set(__self__, "common_name", common_name) + CertificateCertificateConfigSubjectArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + common_name=common_name, + country=country, + distinguished_name_qualifier=distinguished_name_qualifier, + domain_component=domain_component, + generation_qualifier=generation_qualifier, + given_name=given_name, + initials=initials, + locality_name=locality_name, + organization=organization, + organizational_unit=organizational_unit, + pseudonym=pseudonym, + serial_number=serial_number, + state_or_province_name=state_or_province_name, + street=street, + surname=surname, + title=title, + user_id=user_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + common_name: pulumi.Input[str], + country: Optional[pulumi.Input[str]] = None, + distinguished_name_qualifier: Optional[pulumi.Input[str]] = None, + domain_component: Optional[pulumi.Input[str]] = None, + generation_qualifier: Optional[pulumi.Input[str]] = None, + given_name: Optional[pulumi.Input[str]] = None, + initials: Optional[pulumi.Input[str]] = None, + locality_name: Optional[pulumi.Input[str]] = None, + organization: Optional[pulumi.Input[str]] = None, + organizational_unit: Optional[pulumi.Input[str]] = None, + pseudonym: Optional[pulumi.Input[str]] = None, + serial_number: Optional[pulumi.Input[str]] = None, + state_or_province_name: Optional[pulumi.Input[str]] = None, + street: Optional[pulumi.Input[str]] = None, + surname: Optional[pulumi.Input[str]] = None, + title: Optional[pulumi.Input[str]] = None, + user_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("common_name", common_name) if country is not None: - pulumi.set(__self__, "country", country) + _setter("country", country) if distinguished_name_qualifier is not None: - pulumi.set(__self__, "distinguished_name_qualifier", distinguished_name_qualifier) + _setter("distinguished_name_qualifier", distinguished_name_qualifier) if domain_component is not None: - pulumi.set(__self__, "domain_component", domain_component) + _setter("domain_component", domain_component) if generation_qualifier is not None: - pulumi.set(__self__, "generation_qualifier", generation_qualifier) + _setter("generation_qualifier", generation_qualifier) if given_name is not None: - pulumi.set(__self__, "given_name", given_name) + _setter("given_name", given_name) if initials is not None: - pulumi.set(__self__, "initials", initials) + _setter("initials", initials) if locality_name is not None: - pulumi.set(__self__, "locality_name", locality_name) + _setter("locality_name", locality_name) if organization is not None: - pulumi.set(__self__, "organization", organization) + _setter("organization", organization) if organizational_unit is not None: - pulumi.set(__self__, "organizational_unit", organizational_unit) + _setter("organizational_unit", organizational_unit) if pseudonym is not None: - pulumi.set(__self__, "pseudonym", pseudonym) + _setter("pseudonym", pseudonym) if serial_number is not None: - pulumi.set(__self__, "serial_number", serial_number) + _setter("serial_number", serial_number) if state_or_province_name is not None: - pulumi.set(__self__, "state_or_province_name", state_or_province_name) + _setter("state_or_province_name", state_or_province_name) if street is not None: - pulumi.set(__self__, "street", street) + _setter("street", street) if surname is not None: - pulumi.set(__self__, "surname", surname) + _setter("surname", surname) if title is not None: - pulumi.set(__self__, "title", title) + _setter("title", title) if user_id is not None: - pulumi.set(__self__, "user_id", user_id) + _setter("user_id", user_id) @property @pulumi.getter(name="commonName") @@ -1579,8 +1845,19 @@ def __init__(__self__, *, :param pulumi.Input[str] type: The subject alternative name type. Currently only DNS domain or host names and IP addresses are supported. :param pulumi.Input[str] value: The subject alternative name. """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + CertificateCertificateConfigSubjectAlternativeNameArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + value: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -1616,9 +1893,20 @@ def __init__(__self__, *, :param pulumi.Input[str] time_of_validity_not_after: (Updatable) The date on which the certificate validity period ends, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` :param pulumi.Input[str] time_of_validity_not_before: (Updatable) The date on which the certificate validity period begins, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` """ - pulumi.set(__self__, "time_of_validity_not_after", time_of_validity_not_after) + CertificateCertificateConfigValidityArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + time_of_validity_not_after=time_of_validity_not_after, + time_of_validity_not_before=time_of_validity_not_before, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + time_of_validity_not_after: pulumi.Input[str], + time_of_validity_not_before: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("time_of_validity_not_after", time_of_validity_not_after) if time_of_validity_not_before is not None: - pulumi.set(__self__, "time_of_validity_not_before", time_of_validity_not_before) + _setter("time_of_validity_not_before", time_of_validity_not_before) @property @pulumi.getter(name="timeOfValidityNotAfter") @@ -1654,10 +1942,21 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] custom_formatted_urls: Optional CRL access points, expressed using a format where the version number of the issuing CA is inserted wherever you include a pair of curly braces. This versioning scheme helps avoid collisions when new CA versions are created. For example, myCrlFileIssuedFromCAVersion{}.crl becomes myCrlFileIssuedFromCAVersion2.crl for CA version 2. :param pulumi.Input[Sequence[pulumi.Input['CertificateCertificateRevocationListDetailObjectStorageConfigArgs']]] object_storage_configs: The details of the Object Storage bucket configured to store the certificate revocation list (CRL). """ + CertificateCertificateRevocationListDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_formatted_urls=custom_formatted_urls, + object_storage_configs=object_storage_configs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_formatted_urls: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + object_storage_configs: Optional[pulumi.Input[Sequence[pulumi.Input['CertificateCertificateRevocationListDetailObjectStorageConfigArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if custom_formatted_urls is not None: - pulumi.set(__self__, "custom_formatted_urls", custom_formatted_urls) + _setter("custom_formatted_urls", custom_formatted_urls) if object_storage_configs is not None: - pulumi.set(__self__, "object_storage_configs", object_storage_configs) + _setter("object_storage_configs", object_storage_configs) @property @pulumi.getter(name="customFormattedUrls") @@ -1695,12 +1994,25 @@ def __init__(__self__, *, :param pulumi.Input[str] object_storage_namespace: The tenancy of the bucket where the CRL is stored. :param pulumi.Input[str] object_storage_object_name_format: The object name in the bucket where the CRL is stored, expressed using a format where the version number of the issuing CA is inserted as part of the Object Storage object name wherever you include a pair of curly braces. This versioning scheme helps avoid collisions when new CA versions are created. For example, myCrlFileIssuedFromCAVersion{}.crl becomes myCrlFileIssuedFromCAVersion2.crl for CA version 2. """ + CertificateCertificateRevocationListDetailObjectStorageConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + object_storage_bucket_name=object_storage_bucket_name, + object_storage_namespace=object_storage_namespace, + object_storage_object_name_format=object_storage_object_name_format, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + object_storage_bucket_name: Optional[pulumi.Input[str]] = None, + object_storage_namespace: Optional[pulumi.Input[str]] = None, + object_storage_object_name_format: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if object_storage_bucket_name is not None: - pulumi.set(__self__, "object_storage_bucket_name", object_storage_bucket_name) + _setter("object_storage_bucket_name", object_storage_bucket_name) if object_storage_namespace is not None: - pulumi.set(__self__, "object_storage_namespace", object_storage_namespace) + _setter("object_storage_namespace", object_storage_namespace) if object_storage_object_name_format is not None: - pulumi.set(__self__, "object_storage_object_name_format", object_storage_object_name_format) + _setter("object_storage_object_name_format", object_storage_object_name_format) @property @pulumi.getter(name="objectStorageBucketName") @@ -1750,9 +2062,22 @@ def __init__(__self__, *, :param pulumi.Input[str] renewal_interval: (Updatable) A property specifying how often, in days, a certificate should be renewed. Expressed in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Time_intervals) format. :param pulumi.Input[str] rule_type: (Updatable) The type of rule. """ - pulumi.set(__self__, "advance_renewal_period", advance_renewal_period) - pulumi.set(__self__, "renewal_interval", renewal_interval) - pulumi.set(__self__, "rule_type", rule_type) + CertificateCertificateRuleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + advance_renewal_period=advance_renewal_period, + renewal_interval=renewal_interval, + rule_type=rule_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + advance_renewal_period: pulumi.Input[str], + renewal_interval: pulumi.Input[str], + rule_type: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("advance_renewal_period", advance_renewal_period) + _setter("renewal_interval", renewal_interval) + _setter("rule_type", rule_type) @property @pulumi.getter(name="advanceRenewalPeriod") @@ -1818,28 +2143,57 @@ def __init__(__self__, *, :param pulumi.Input[str] version_name: (Updatable) A name for the certificate. When the value is not null, a name is unique across versions of a given certificate. :param pulumi.Input[str] version_number: The version number of the certificate. """ + CertificateCurrentVersionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + certificate_id=certificate_id, + issuer_ca_version_number=issuer_ca_version_number, + revocation_statuses=revocation_statuses, + serial_number=serial_number, + stages=stages, + subject_alternative_names=subject_alternative_names, + time_created=time_created, + time_of_deletion=time_of_deletion, + validities=validities, + version_name=version_name, + version_number=version_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + certificate_id: Optional[pulumi.Input[str]] = None, + issuer_ca_version_number: Optional[pulumi.Input[str]] = None, + revocation_statuses: Optional[pulumi.Input[Sequence[pulumi.Input['CertificateCurrentVersionRevocationStatusArgs']]]] = None, + serial_number: Optional[pulumi.Input[str]] = None, + stages: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + subject_alternative_names: Optional[pulumi.Input[Sequence[pulumi.Input['CertificateCurrentVersionSubjectAlternativeNameArgs']]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_of_deletion: Optional[pulumi.Input[str]] = None, + validities: Optional[pulumi.Input[Sequence[pulumi.Input['CertificateCurrentVersionValidityArgs']]]] = None, + version_name: Optional[pulumi.Input[str]] = None, + version_number: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if certificate_id is not None: - pulumi.set(__self__, "certificate_id", certificate_id) + _setter("certificate_id", certificate_id) if issuer_ca_version_number is not None: - pulumi.set(__self__, "issuer_ca_version_number", issuer_ca_version_number) + _setter("issuer_ca_version_number", issuer_ca_version_number) if revocation_statuses is not None: - pulumi.set(__self__, "revocation_statuses", revocation_statuses) + _setter("revocation_statuses", revocation_statuses) if serial_number is not None: - pulumi.set(__self__, "serial_number", serial_number) + _setter("serial_number", serial_number) if stages is not None: - pulumi.set(__self__, "stages", stages) + _setter("stages", stages) if subject_alternative_names is not None: - pulumi.set(__self__, "subject_alternative_names", subject_alternative_names) + _setter("subject_alternative_names", subject_alternative_names) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_of_deletion is not None: - pulumi.set(__self__, "time_of_deletion", time_of_deletion) + _setter("time_of_deletion", time_of_deletion) if validities is not None: - pulumi.set(__self__, "validities", validities) + _setter("validities", validities) if version_name is not None: - pulumi.set(__self__, "version_name", version_name) + _setter("version_name", version_name) if version_number is not None: - pulumi.set(__self__, "version_number", version_number) + _setter("version_number", version_number) @property @pulumi.getter(name="certificateId") @@ -1983,10 +2337,21 @@ def __init__(__self__, *, :param pulumi.Input[str] revocation_reason: The reason the certificate or certificate authority (CA) was revoked. :param pulumi.Input[str] time_of_revocation: The time when the entity was revoked, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` """ + CertificateCurrentVersionRevocationStatusArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + revocation_reason=revocation_reason, + time_of_revocation=time_of_revocation, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + revocation_reason: Optional[pulumi.Input[str]] = None, + time_of_revocation: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if revocation_reason is not None: - pulumi.set(__self__, "revocation_reason", revocation_reason) + _setter("revocation_reason", revocation_reason) if time_of_revocation is not None: - pulumi.set(__self__, "time_of_revocation", time_of_revocation) + _setter("time_of_revocation", time_of_revocation) @property @pulumi.getter(name="revocationReason") @@ -2022,10 +2387,21 @@ def __init__(__self__, *, :param pulumi.Input[str] type: The subject alternative name type. Currently only DNS domain or host names and IP addresses are supported. :param pulumi.Input[str] value: The subject alternative name. """ + CertificateCurrentVersionSubjectAlternativeNameArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -2061,10 +2437,21 @@ def __init__(__self__, *, :param pulumi.Input[str] time_of_validity_not_after: (Updatable) The date on which the certificate validity period ends, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` :param pulumi.Input[str] time_of_validity_not_before: (Updatable) The date on which the certificate validity period begins, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` """ + CertificateCurrentVersionValidityArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + time_of_validity_not_after=time_of_validity_not_after, + time_of_validity_not_before=time_of_validity_not_before, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + time_of_validity_not_after: Optional[pulumi.Input[str]] = None, + time_of_validity_not_before: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if time_of_validity_not_after is not None: - pulumi.set(__self__, "time_of_validity_not_after", time_of_validity_not_after) + _setter("time_of_validity_not_after", time_of_validity_not_after) if time_of_validity_not_before is not None: - pulumi.set(__self__, "time_of_validity_not_before", time_of_validity_not_before) + _setter("time_of_validity_not_before", time_of_validity_not_before) @property @pulumi.getter(name="timeOfValidityNotAfter") @@ -2130,40 +2517,81 @@ def __init__(__self__, *, :param pulumi.Input[str] title: Title (RDN T or TITLE). :param pulumi.Input[str] user_id: User ID (RDN UID). """ + CertificateSubjectArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + common_name=common_name, + country=country, + distinguished_name_qualifier=distinguished_name_qualifier, + domain_component=domain_component, + generation_qualifier=generation_qualifier, + given_name=given_name, + initials=initials, + locality_name=locality_name, + organization=organization, + organizational_unit=organizational_unit, + pseudonym=pseudonym, + serial_number=serial_number, + state_or_province_name=state_or_province_name, + street=street, + surname=surname, + title=title, + user_id=user_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + common_name: Optional[pulumi.Input[str]] = None, + country: Optional[pulumi.Input[str]] = None, + distinguished_name_qualifier: Optional[pulumi.Input[str]] = None, + domain_component: Optional[pulumi.Input[str]] = None, + generation_qualifier: Optional[pulumi.Input[str]] = None, + given_name: Optional[pulumi.Input[str]] = None, + initials: Optional[pulumi.Input[str]] = None, + locality_name: Optional[pulumi.Input[str]] = None, + organization: Optional[pulumi.Input[str]] = None, + organizational_unit: Optional[pulumi.Input[str]] = None, + pseudonym: Optional[pulumi.Input[str]] = None, + serial_number: Optional[pulumi.Input[str]] = None, + state_or_province_name: Optional[pulumi.Input[str]] = None, + street: Optional[pulumi.Input[str]] = None, + surname: Optional[pulumi.Input[str]] = None, + title: Optional[pulumi.Input[str]] = None, + user_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if common_name is not None: - pulumi.set(__self__, "common_name", common_name) + _setter("common_name", common_name) if country is not None: - pulumi.set(__self__, "country", country) + _setter("country", country) if distinguished_name_qualifier is not None: - pulumi.set(__self__, "distinguished_name_qualifier", distinguished_name_qualifier) + _setter("distinguished_name_qualifier", distinguished_name_qualifier) if domain_component is not None: - pulumi.set(__self__, "domain_component", domain_component) + _setter("domain_component", domain_component) if generation_qualifier is not None: - pulumi.set(__self__, "generation_qualifier", generation_qualifier) + _setter("generation_qualifier", generation_qualifier) if given_name is not None: - pulumi.set(__self__, "given_name", given_name) + _setter("given_name", given_name) if initials is not None: - pulumi.set(__self__, "initials", initials) + _setter("initials", initials) if locality_name is not None: - pulumi.set(__self__, "locality_name", locality_name) + _setter("locality_name", locality_name) if organization is not None: - pulumi.set(__self__, "organization", organization) + _setter("organization", organization) if organizational_unit is not None: - pulumi.set(__self__, "organizational_unit", organizational_unit) + _setter("organizational_unit", organizational_unit) if pseudonym is not None: - pulumi.set(__self__, "pseudonym", pseudonym) + _setter("pseudonym", pseudonym) if serial_number is not None: - pulumi.set(__self__, "serial_number", serial_number) + _setter("serial_number", serial_number) if state_or_province_name is not None: - pulumi.set(__self__, "state_or_province_name", state_or_province_name) + _setter("state_or_province_name", state_or_province_name) if street is not None: - pulumi.set(__self__, "street", street) + _setter("street", street) if surname is not None: - pulumi.set(__self__, "surname", surname) + _setter("surname", surname) if title is not None: - pulumi.set(__self__, "title", title) + _setter("title", title) if user_id is not None: - pulumi.set(__self__, "user_id", user_id) + _setter("user_id", user_id) @property @pulumi.getter(name="commonName") @@ -2379,10 +2807,23 @@ def __init__(__self__, *, """ :param str name: A filter that returns only resources that match the specified name. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAssociationsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2424,10 +2865,23 @@ def __init__(__self__, *, """ :param str name: A filter that returns only resources that match the specified name. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetCaBundlesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2469,10 +2923,23 @@ def __init__(__self__, *, """ :param str name: A filter that returns only resources that match the specified name. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetCertificateAuthoritiesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2511,10 +2978,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetCertificateAuthorityVersionsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2550,10 +3030,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetCertificateVersionsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2592,10 +3085,23 @@ def __init__(__self__, *, """ :param str name: A filter that returns only resources that match the specified name. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetCertificatesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/certificatesmanagement/ca_bundle.py b/sdk/python/pulumi_oci/certificatesmanagement/ca_bundle.py index 3d055657d5..7e81cf752a 100644 --- a/sdk/python/pulumi_oci/certificatesmanagement/ca_bundle.py +++ b/sdk/python/pulumi_oci/certificatesmanagement/ca_bundle.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['CaBundleArgs', 'CaBundle'] @@ -33,16 +33,35 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "ca_bundle_pem", ca_bundle_pem) - pulumi.set(__self__, "compartment_id", compartment_id) + CaBundleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + ca_bundle_pem=ca_bundle_pem, + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ca_bundle_pem: pulumi.Input[str], + compartment_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ca_bundle_pem", ca_bundle_pem) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter(name="caBundlePem") @@ -149,24 +168,49 @@ def __init__(__self__, *, :param pulumi.Input[str] state: The current lifecycle state of the CA bundle. :param pulumi.Input[str] time_created: A property indicating when the CA bundle was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` """ + _CaBundleState._configure( + lambda key, value: pulumi.set(__self__, key, value), + ca_bundle_pem=ca_bundle_pem, + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + name=name, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ca_bundle_pem: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ca_bundle_pem is not None: - pulumi.set(__self__, "ca_bundle_pem", ca_bundle_pem) + _setter("ca_bundle_pem", ca_bundle_pem) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="caBundlePem") @@ -384,6 +428,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + CaBundleArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/certificatesmanagement/certificate.py b/sdk/python/pulumi_oci/certificatesmanagement/certificate.py index 198f2f12bc..81924fd3e0 100644 --- a/sdk/python/pulumi_oci/certificatesmanagement/certificate.py +++ b/sdk/python/pulumi_oci/certificatesmanagement/certificate.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -37,18 +37,39 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "certificate_config", certificate_config) - pulumi.set(__self__, "compartment_id", compartment_id) + CertificateArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + certificate_config=certificate_config, + compartment_id=compartment_id, + certificate_rules=certificate_rules, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + certificate_config: pulumi.Input['CertificateCertificateConfigArgs'], + compartment_id: pulumi.Input[str], + certificate_rules: Optional[pulumi.Input[Sequence[pulumi.Input['CertificateCertificateRuleArgs']]]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("certificate_config", certificate_config) + _setter("compartment_id", compartment_id) if certificate_rules is not None: - pulumi.set(__self__, "certificate_rules", certificate_rules) + _setter("certificate_rules", certificate_rules) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter(name="certificateConfig") @@ -187,44 +208,89 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: A property indicating when the certificate was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` :param pulumi.Input[str] time_of_deletion: An optional property indicating when to delete the certificate version, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` """ + _CertificateState._configure( + lambda key, value: pulumi.set(__self__, key, value), + certificate_config=certificate_config, + certificate_profile_type=certificate_profile_type, + certificate_revocation_list_details=certificate_revocation_list_details, + certificate_rules=certificate_rules, + compartment_id=compartment_id, + config_type=config_type, + current_versions=current_versions, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + issuer_certificate_authority_id=issuer_certificate_authority_id, + key_algorithm=key_algorithm, + lifecycle_details=lifecycle_details, + name=name, + signature_algorithm=signature_algorithm, + state=state, + subjects=subjects, + time_created=time_created, + time_of_deletion=time_of_deletion, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + certificate_config: Optional[pulumi.Input['CertificateCertificateConfigArgs']] = None, + certificate_profile_type: Optional[pulumi.Input[str]] = None, + certificate_revocation_list_details: Optional[pulumi.Input[Sequence[pulumi.Input['CertificateCertificateRevocationListDetailArgs']]]] = None, + certificate_rules: Optional[pulumi.Input[Sequence[pulumi.Input['CertificateCertificateRuleArgs']]]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + config_type: Optional[pulumi.Input[str]] = None, + current_versions: Optional[pulumi.Input[Sequence[pulumi.Input['CertificateCurrentVersionArgs']]]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + issuer_certificate_authority_id: Optional[pulumi.Input[str]] = None, + key_algorithm: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + signature_algorithm: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + subjects: Optional[pulumi.Input[Sequence[pulumi.Input['CertificateSubjectArgs']]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_of_deletion: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if certificate_config is not None: - pulumi.set(__self__, "certificate_config", certificate_config) + _setter("certificate_config", certificate_config) if certificate_profile_type is not None: - pulumi.set(__self__, "certificate_profile_type", certificate_profile_type) + _setter("certificate_profile_type", certificate_profile_type) if certificate_revocation_list_details is not None: - pulumi.set(__self__, "certificate_revocation_list_details", certificate_revocation_list_details) + _setter("certificate_revocation_list_details", certificate_revocation_list_details) if certificate_rules is not None: - pulumi.set(__self__, "certificate_rules", certificate_rules) + _setter("certificate_rules", certificate_rules) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if config_type is not None: - pulumi.set(__self__, "config_type", config_type) + _setter("config_type", config_type) if current_versions is not None: - pulumi.set(__self__, "current_versions", current_versions) + _setter("current_versions", current_versions) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if issuer_certificate_authority_id is not None: - pulumi.set(__self__, "issuer_certificate_authority_id", issuer_certificate_authority_id) + _setter("issuer_certificate_authority_id", issuer_certificate_authority_id) if key_algorithm is not None: - pulumi.set(__self__, "key_algorithm", key_algorithm) + _setter("key_algorithm", key_algorithm) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if signature_algorithm is not None: - pulumi.set(__self__, "signature_algorithm", signature_algorithm) + _setter("signature_algorithm", signature_algorithm) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if subjects is not None: - pulumi.set(__self__, "subjects", subjects) + _setter("subjects", subjects) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_of_deletion is not None: - pulumi.set(__self__, "time_of_deletion", time_of_deletion) + _setter("time_of_deletion", time_of_deletion) @property @pulumi.getter(name="certificateConfig") @@ -528,6 +594,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + CertificateArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -549,6 +619,11 @@ def _internal_init(__self__, raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = CertificateArgs.__new__(CertificateArgs) + if certificate_config is not None and not isinstance(certificate_config, CertificateCertificateConfigArgs): + certificate_config = certificate_config or {} + def _setter(key, value): + certificate_config[key] = value + CertificateCertificateConfigArgs._configure(_setter, **certificate_config) if certificate_config is None and not opts.urn: raise TypeError("Missing required property 'certificate_config'") __props__.__dict__["certificate_config"] = certificate_config diff --git a/sdk/python/pulumi_oci/certificatesmanagement/certificate_authority.py b/sdk/python/pulumi_oci/certificatesmanagement/certificate_authority.py index d7d76ca7f1..78f8c97d0c 100644 --- a/sdk/python/pulumi_oci/certificatesmanagement/certificate_authority.py +++ b/sdk/python/pulumi_oci/certificatesmanagement/certificate_authority.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -41,21 +41,46 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "certificate_authority_config", certificate_authority_config) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "kms_key_id", kms_key_id) + CertificateAuthorityArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + certificate_authority_config=certificate_authority_config, + compartment_id=compartment_id, + kms_key_id=kms_key_id, + certificate_authority_rules=certificate_authority_rules, + certificate_revocation_list_details=certificate_revocation_list_details, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + certificate_authority_config: pulumi.Input['CertificateAuthorityCertificateAuthorityConfigArgs'], + compartment_id: pulumi.Input[str], + kms_key_id: pulumi.Input[str], + certificate_authority_rules: Optional[pulumi.Input[Sequence[pulumi.Input['CertificateAuthorityCertificateAuthorityRuleArgs']]]] = None, + certificate_revocation_list_details: Optional[pulumi.Input['CertificateAuthorityCertificateRevocationListDetailsArgs']] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("certificate_authority_config", certificate_authority_config) + _setter("compartment_id", compartment_id) + _setter("kms_key_id", kms_key_id) if certificate_authority_rules is not None: - pulumi.set(__self__, "certificate_authority_rules", certificate_authority_rules) + _setter("certificate_authority_rules", certificate_authority_rules) if certificate_revocation_list_details is not None: - pulumi.set(__self__, "certificate_revocation_list_details", certificate_revocation_list_details) + _setter("certificate_revocation_list_details", certificate_revocation_list_details) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter(name="certificateAuthorityConfig") @@ -216,42 +241,85 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: A property indicating when the CA was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` :param pulumi.Input[str] time_of_deletion: An optional property indicating when to delete the CA version, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` """ + _CertificateAuthorityState._configure( + lambda key, value: pulumi.set(__self__, key, value), + certificate_authority_config=certificate_authority_config, + certificate_authority_rules=certificate_authority_rules, + certificate_revocation_list_details=certificate_revocation_list_details, + compartment_id=compartment_id, + config_type=config_type, + current_versions=current_versions, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + issuer_certificate_authority_id=issuer_certificate_authority_id, + kms_key_id=kms_key_id, + lifecycle_details=lifecycle_details, + name=name, + signing_algorithm=signing_algorithm, + state=state, + subjects=subjects, + time_created=time_created, + time_of_deletion=time_of_deletion, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + certificate_authority_config: Optional[pulumi.Input['CertificateAuthorityCertificateAuthorityConfigArgs']] = None, + certificate_authority_rules: Optional[pulumi.Input[Sequence[pulumi.Input['CertificateAuthorityCertificateAuthorityRuleArgs']]]] = None, + certificate_revocation_list_details: Optional[pulumi.Input['CertificateAuthorityCertificateRevocationListDetailsArgs']] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + config_type: Optional[pulumi.Input[str]] = None, + current_versions: Optional[pulumi.Input[Sequence[pulumi.Input['CertificateAuthorityCurrentVersionArgs']]]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + issuer_certificate_authority_id: Optional[pulumi.Input[str]] = None, + kms_key_id: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + signing_algorithm: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + subjects: Optional[pulumi.Input[Sequence[pulumi.Input['CertificateAuthoritySubjectArgs']]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_of_deletion: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if certificate_authority_config is not None: - pulumi.set(__self__, "certificate_authority_config", certificate_authority_config) + _setter("certificate_authority_config", certificate_authority_config) if certificate_authority_rules is not None: - pulumi.set(__self__, "certificate_authority_rules", certificate_authority_rules) + _setter("certificate_authority_rules", certificate_authority_rules) if certificate_revocation_list_details is not None: - pulumi.set(__self__, "certificate_revocation_list_details", certificate_revocation_list_details) + _setter("certificate_revocation_list_details", certificate_revocation_list_details) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if config_type is not None: - pulumi.set(__self__, "config_type", config_type) + _setter("config_type", config_type) if current_versions is not None: - pulumi.set(__self__, "current_versions", current_versions) + _setter("current_versions", current_versions) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if issuer_certificate_authority_id is not None: - pulumi.set(__self__, "issuer_certificate_authority_id", issuer_certificate_authority_id) + _setter("issuer_certificate_authority_id", issuer_certificate_authority_id) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if signing_algorithm is not None: - pulumi.set(__self__, "signing_algorithm", signing_algorithm) + _setter("signing_algorithm", signing_algorithm) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if subjects is not None: - pulumi.set(__self__, "subjects", subjects) + _setter("subjects", subjects) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_of_deletion is not None: - pulumi.set(__self__, "time_of_deletion", time_of_deletion) + _setter("time_of_deletion", time_of_deletion) @property @pulumi.getter(name="certificateAuthorityConfig") @@ -547,6 +615,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + CertificateAuthorityArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -570,10 +642,20 @@ def _internal_init(__self__, raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = CertificateAuthorityArgs.__new__(CertificateAuthorityArgs) + if certificate_authority_config is not None and not isinstance(certificate_authority_config, CertificateAuthorityCertificateAuthorityConfigArgs): + certificate_authority_config = certificate_authority_config or {} + def _setter(key, value): + certificate_authority_config[key] = value + CertificateAuthorityCertificateAuthorityConfigArgs._configure(_setter, **certificate_authority_config) if certificate_authority_config is None and not opts.urn: raise TypeError("Missing required property 'certificate_authority_config'") __props__.__dict__["certificate_authority_config"] = certificate_authority_config __props__.__dict__["certificate_authority_rules"] = certificate_authority_rules + if certificate_revocation_list_details is not None and not isinstance(certificate_revocation_list_details, CertificateAuthorityCertificateRevocationListDetailsArgs): + certificate_revocation_list_details = certificate_revocation_list_details or {} + def _setter(key, value): + certificate_revocation_list_details[key] = value + CertificateAuthorityCertificateRevocationListDetailsArgs._configure(_setter, **certificate_revocation_list_details) __props__.__dict__["certificate_revocation_list_details"] = certificate_revocation_list_details if compartment_id is None and not opts.urn: raise TypeError("Missing required property 'compartment_id'") diff --git a/sdk/python/pulumi_oci/certificatesmanagement/get_association.py b/sdk/python/pulumi_oci/certificatesmanagement/get_association.py index f85796d45f..2d8db48584 100644 --- a/sdk/python/pulumi_oci/certificatesmanagement/get_association.py +++ b/sdk/python/pulumi_oci/certificatesmanagement/get_association.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/certificatesmanagement/get_associations.py b/sdk/python/pulumi_oci/certificatesmanagement/get_associations.py index b5633d1c7b..84036d08ae 100644 --- a/sdk/python/pulumi_oci/certificatesmanagement/get_associations.py +++ b/sdk/python/pulumi_oci/certificatesmanagement/get_associations.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/certificatesmanagement/get_ca_bundle.py b/sdk/python/pulumi_oci/certificatesmanagement/get_ca_bundle.py index fd1890cfd9..280e14c142 100644 --- a/sdk/python/pulumi_oci/certificatesmanagement/get_ca_bundle.py +++ b/sdk/python/pulumi_oci/certificatesmanagement/get_ca_bundle.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/certificatesmanagement/get_ca_bundles.py b/sdk/python/pulumi_oci/certificatesmanagement/get_ca_bundles.py index 157098072d..7d3ba23554 100644 --- a/sdk/python/pulumi_oci/certificatesmanagement/get_ca_bundles.py +++ b/sdk/python/pulumi_oci/certificatesmanagement/get_ca_bundles.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/certificatesmanagement/get_certificate.py b/sdk/python/pulumi_oci/certificatesmanagement/get_certificate.py index f1b2764a45..3863fe5f33 100644 --- a/sdk/python/pulumi_oci/certificatesmanagement/get_certificate.py +++ b/sdk/python/pulumi_oci/certificatesmanagement/get_certificate.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/certificatesmanagement/get_certificate_authorities.py b/sdk/python/pulumi_oci/certificatesmanagement/get_certificate_authorities.py index 8c2a0babb2..384be6fc24 100644 --- a/sdk/python/pulumi_oci/certificatesmanagement/get_certificate_authorities.py +++ b/sdk/python/pulumi_oci/certificatesmanagement/get_certificate_authorities.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/certificatesmanagement/get_certificate_authority.py b/sdk/python/pulumi_oci/certificatesmanagement/get_certificate_authority.py index 96f0fc4da2..03d94e46f4 100644 --- a/sdk/python/pulumi_oci/certificatesmanagement/get_certificate_authority.py +++ b/sdk/python/pulumi_oci/certificatesmanagement/get_certificate_authority.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/certificatesmanagement/get_certificate_authority_version.py b/sdk/python/pulumi_oci/certificatesmanagement/get_certificate_authority_version.py index 0c80db9fca..bba3e170be 100644 --- a/sdk/python/pulumi_oci/certificatesmanagement/get_certificate_authority_version.py +++ b/sdk/python/pulumi_oci/certificatesmanagement/get_certificate_authority_version.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/certificatesmanagement/get_certificate_authority_versions.py b/sdk/python/pulumi_oci/certificatesmanagement/get_certificate_authority_versions.py index ad211a4c74..9a06058283 100644 --- a/sdk/python/pulumi_oci/certificatesmanagement/get_certificate_authority_versions.py +++ b/sdk/python/pulumi_oci/certificatesmanagement/get_certificate_authority_versions.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/certificatesmanagement/get_certificate_version.py b/sdk/python/pulumi_oci/certificatesmanagement/get_certificate_version.py index 7d0c899593..f167458360 100644 --- a/sdk/python/pulumi_oci/certificatesmanagement/get_certificate_version.py +++ b/sdk/python/pulumi_oci/certificatesmanagement/get_certificate_version.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/certificatesmanagement/get_certificate_versions.py b/sdk/python/pulumi_oci/certificatesmanagement/get_certificate_versions.py index 9b95389f93..62de5f29c1 100644 --- a/sdk/python/pulumi_oci/certificatesmanagement/get_certificate_versions.py +++ b/sdk/python/pulumi_oci/certificatesmanagement/get_certificate_versions.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/certificatesmanagement/get_certificates.py b/sdk/python/pulumi_oci/certificatesmanagement/get_certificates.py index 11edece145..6dd11cea97 100644 --- a/sdk/python/pulumi_oci/certificatesmanagement/get_certificates.py +++ b/sdk/python/pulumi_oci/certificatesmanagement/get_certificates.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/certificatesmanagement/outputs.py b/sdk/python/pulumi_oci/certificatesmanagement/outputs.py index 675c147acb..412f223aeb 100644 --- a/sdk/python/pulumi_oci/certificatesmanagement/outputs.py +++ b/sdk/python/pulumi_oci/certificatesmanagement/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -148,16 +148,35 @@ def __init__(__self__, *, :param 'CertificateAuthorityCertificateAuthorityConfigValidityArgs' validity: (Updatable) An object that describes a period of time during which an entity is valid. If this is not provided when you create a certificate, the validity of the issuing CA is used. :param str version_name: (Updatable) The name of the CA version. When the value is not null, a name is unique across versions of a given CA. """ - pulumi.set(__self__, "config_type", config_type) - pulumi.set(__self__, "subject", subject) + CertificateAuthorityCertificateAuthorityConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + config_type=config_type, + subject=subject, + issuer_certificate_authority_id=issuer_certificate_authority_id, + signing_algorithm=signing_algorithm, + validity=validity, + version_name=version_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + config_type: str, + subject: 'outputs.CertificateAuthorityCertificateAuthorityConfigSubject', + issuer_certificate_authority_id: Optional[str] = None, + signing_algorithm: Optional[str] = None, + validity: Optional['outputs.CertificateAuthorityCertificateAuthorityConfigValidity'] = None, + version_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("config_type", config_type) + _setter("subject", subject) if issuer_certificate_authority_id is not None: - pulumi.set(__self__, "issuer_certificate_authority_id", issuer_certificate_authority_id) + _setter("issuer_certificate_authority_id", issuer_certificate_authority_id) if signing_algorithm is not None: - pulumi.set(__self__, "signing_algorithm", signing_algorithm) + _setter("signing_algorithm", signing_algorithm) if validity is not None: - pulumi.set(__self__, "validity", validity) + _setter("validity", validity) if version_name is not None: - pulumi.set(__self__, "version_name", version_name) + _setter("version_name", version_name) @property @pulumi.getter(name="configType") @@ -282,39 +301,80 @@ def __init__(__self__, *, :param str title: Title (RDN T or TITLE). :param str user_id: User ID (RDN UID). """ - pulumi.set(__self__, "common_name", common_name) + CertificateAuthorityCertificateAuthorityConfigSubject._configure( + lambda key, value: pulumi.set(__self__, key, value), + common_name=common_name, + country=country, + distinguished_name_qualifier=distinguished_name_qualifier, + domain_component=domain_component, + generation_qualifier=generation_qualifier, + given_name=given_name, + initials=initials, + locality_name=locality_name, + organization=organization, + organizational_unit=organizational_unit, + pseudonym=pseudonym, + serial_number=serial_number, + state_or_province_name=state_or_province_name, + street=street, + surname=surname, + title=title, + user_id=user_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + common_name: str, + country: Optional[str] = None, + distinguished_name_qualifier: Optional[str] = None, + domain_component: Optional[str] = None, + generation_qualifier: Optional[str] = None, + given_name: Optional[str] = None, + initials: Optional[str] = None, + locality_name: Optional[str] = None, + organization: Optional[str] = None, + organizational_unit: Optional[str] = None, + pseudonym: Optional[str] = None, + serial_number: Optional[str] = None, + state_or_province_name: Optional[str] = None, + street: Optional[str] = None, + surname: Optional[str] = None, + title: Optional[str] = None, + user_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("common_name", common_name) if country is not None: - pulumi.set(__self__, "country", country) + _setter("country", country) if distinguished_name_qualifier is not None: - pulumi.set(__self__, "distinguished_name_qualifier", distinguished_name_qualifier) + _setter("distinguished_name_qualifier", distinguished_name_qualifier) if domain_component is not None: - pulumi.set(__self__, "domain_component", domain_component) + _setter("domain_component", domain_component) if generation_qualifier is not None: - pulumi.set(__self__, "generation_qualifier", generation_qualifier) + _setter("generation_qualifier", generation_qualifier) if given_name is not None: - pulumi.set(__self__, "given_name", given_name) + _setter("given_name", given_name) if initials is not None: - pulumi.set(__self__, "initials", initials) + _setter("initials", initials) if locality_name is not None: - pulumi.set(__self__, "locality_name", locality_name) + _setter("locality_name", locality_name) if organization is not None: - pulumi.set(__self__, "organization", organization) + _setter("organization", organization) if organizational_unit is not None: - pulumi.set(__self__, "organizational_unit", organizational_unit) + _setter("organizational_unit", organizational_unit) if pseudonym is not None: - pulumi.set(__self__, "pseudonym", pseudonym) + _setter("pseudonym", pseudonym) if serial_number is not None: - pulumi.set(__self__, "serial_number", serial_number) + _setter("serial_number", serial_number) if state_or_province_name is not None: - pulumi.set(__self__, "state_or_province_name", state_or_province_name) + _setter("state_or_province_name", state_or_province_name) if street is not None: - pulumi.set(__self__, "street", street) + _setter("street", street) if surname is not None: - pulumi.set(__self__, "surname", surname) + _setter("surname", surname) if title is not None: - pulumi.set(__self__, "title", title) + _setter("title", title) if user_id is not None: - pulumi.set(__self__, "user_id", user_id) + _setter("user_id", user_id) @property @pulumi.getter(name="commonName") @@ -481,9 +541,20 @@ def __init__(__self__, *, :param str time_of_validity_not_after: (Updatable) The date on which the certificate validity period ends, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` :param str time_of_validity_not_before: (Updatable) The date on which the certificate validity period begins, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` """ - pulumi.set(__self__, "time_of_validity_not_after", time_of_validity_not_after) + CertificateAuthorityCertificateAuthorityConfigValidity._configure( + lambda key, value: pulumi.set(__self__, key, value), + time_of_validity_not_after=time_of_validity_not_after, + time_of_validity_not_before=time_of_validity_not_before, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + time_of_validity_not_after: str, + time_of_validity_not_before: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("time_of_validity_not_after", time_of_validity_not_after) if time_of_validity_not_before is not None: - pulumi.set(__self__, "time_of_validity_not_before", time_of_validity_not_before) + _setter("time_of_validity_not_before", time_of_validity_not_before) @property @pulumi.getter(name="timeOfValidityNotAfter") @@ -534,11 +605,24 @@ def __init__(__self__, *, :param str certificate_authority_max_validity_duration: (Updatable) A property indicating the maximum validity duration, in days, of subordinate CA's issued by this CA. Expressed in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Time_intervals) format. :param str leaf_certificate_max_validity_duration: (Updatable) A property indicating the maximum validity duration, in days, of leaf certificates issued by this CA. Expressed in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Time_intervals) format. """ - pulumi.set(__self__, "rule_type", rule_type) + CertificateAuthorityCertificateAuthorityRule._configure( + lambda key, value: pulumi.set(__self__, key, value), + rule_type=rule_type, + certificate_authority_max_validity_duration=certificate_authority_max_validity_duration, + leaf_certificate_max_validity_duration=leaf_certificate_max_validity_duration, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + rule_type: str, + certificate_authority_max_validity_duration: Optional[str] = None, + leaf_certificate_max_validity_duration: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("rule_type", rule_type) if certificate_authority_max_validity_duration is not None: - pulumi.set(__self__, "certificate_authority_max_validity_duration", certificate_authority_max_validity_duration) + _setter("certificate_authority_max_validity_duration", certificate_authority_max_validity_duration) if leaf_certificate_max_validity_duration is not None: - pulumi.set(__self__, "leaf_certificate_max_validity_duration", leaf_certificate_max_validity_duration) + _setter("leaf_certificate_max_validity_duration", leaf_certificate_max_validity_duration) @property @pulumi.getter(name="ruleType") @@ -593,9 +677,20 @@ def __init__(__self__, *, :param 'CertificateAuthorityCertificateRevocationListDetailsObjectStorageConfigArgs' object_storage_config: (Updatable) The details of the Object Storage bucket configured to store the certificate revocation list (CRL). :param Sequence[str] custom_formatted_urls: (Updatable) Optional CRL access points, expressed using a format where the version number of the issuing CA is inserted wherever you include a pair of curly braces. This versioning scheme helps avoid collisions when new CA versions are created. For example, myCrlFileIssuedFromCAVersion{}.crl becomes myCrlFileIssuedFromCAVersion2.crl for CA version 2. """ - pulumi.set(__self__, "object_storage_config", object_storage_config) + CertificateAuthorityCertificateRevocationListDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + object_storage_config=object_storage_config, + custom_formatted_urls=custom_formatted_urls, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + object_storage_config: 'outputs.CertificateAuthorityCertificateRevocationListDetailsObjectStorageConfig', + custom_formatted_urls: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("object_storage_config", object_storage_config) if custom_formatted_urls is not None: - pulumi.set(__self__, "custom_formatted_urls", custom_formatted_urls) + _setter("custom_formatted_urls", custom_formatted_urls) @property @pulumi.getter(name="objectStorageConfig") @@ -646,10 +741,23 @@ def __init__(__self__, *, :param str object_storage_object_name_format: (Updatable) The object name in the bucket where the CRL is stored, expressed using a format where the version number of the issuing CA is inserted as part of the Object Storage object name wherever you include a pair of curly braces. This versioning scheme helps avoid collisions when new CA versions are created. For example, myCrlFileIssuedFromCAVersion{}.crl becomes myCrlFileIssuedFromCAVersion2.crl for CA version 2. :param str object_storage_namespace: (Updatable) The tenancy of the bucket where the CRL is stored. """ - pulumi.set(__self__, "object_storage_bucket_name", object_storage_bucket_name) - pulumi.set(__self__, "object_storage_object_name_format", object_storage_object_name_format) + CertificateAuthorityCertificateRevocationListDetailsObjectStorageConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + object_storage_bucket_name=object_storage_bucket_name, + object_storage_object_name_format=object_storage_object_name_format, + object_storage_namespace=object_storage_namespace, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + object_storage_bucket_name: str, + object_storage_object_name_format: str, + object_storage_namespace: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("object_storage_bucket_name", object_storage_bucket_name) + _setter("object_storage_object_name_format", object_storage_object_name_format) if object_storage_namespace is not None: - pulumi.set(__self__, "object_storage_namespace", object_storage_namespace) + _setter("object_storage_namespace", object_storage_namespace) @property @pulumi.getter(name="objectStorageBucketName") @@ -732,26 +840,53 @@ def __init__(__self__, *, :param str version_name: (Updatable) The name of the CA version. When the value is not null, a name is unique across versions of a given CA. :param str version_number: The version number of the CA. """ + CertificateAuthorityCurrentVersion._configure( + lambda key, value: pulumi.set(__self__, key, value), + certificate_authority_id=certificate_authority_id, + issuer_ca_version_number=issuer_ca_version_number, + revocation_statuses=revocation_statuses, + serial_number=serial_number, + stages=stages, + time_created=time_created, + time_of_deletion=time_of_deletion, + validities=validities, + version_name=version_name, + version_number=version_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + certificate_authority_id: Optional[str] = None, + issuer_ca_version_number: Optional[str] = None, + revocation_statuses: Optional[Sequence['outputs.CertificateAuthorityCurrentVersionRevocationStatus']] = None, + serial_number: Optional[str] = None, + stages: Optional[Sequence[str]] = None, + time_created: Optional[str] = None, + time_of_deletion: Optional[str] = None, + validities: Optional[Sequence['outputs.CertificateAuthorityCurrentVersionValidity']] = None, + version_name: Optional[str] = None, + version_number: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if certificate_authority_id is not None: - pulumi.set(__self__, "certificate_authority_id", certificate_authority_id) + _setter("certificate_authority_id", certificate_authority_id) if issuer_ca_version_number is not None: - pulumi.set(__self__, "issuer_ca_version_number", issuer_ca_version_number) + _setter("issuer_ca_version_number", issuer_ca_version_number) if revocation_statuses is not None: - pulumi.set(__self__, "revocation_statuses", revocation_statuses) + _setter("revocation_statuses", revocation_statuses) if serial_number is not None: - pulumi.set(__self__, "serial_number", serial_number) + _setter("serial_number", serial_number) if stages is not None: - pulumi.set(__self__, "stages", stages) + _setter("stages", stages) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_of_deletion is not None: - pulumi.set(__self__, "time_of_deletion", time_of_deletion) + _setter("time_of_deletion", time_of_deletion) if validities is not None: - pulumi.set(__self__, "validities", validities) + _setter("validities", validities) if version_name is not None: - pulumi.set(__self__, "version_name", version_name) + _setter("version_name", version_name) if version_number is not None: - pulumi.set(__self__, "version_number", version_number) + _setter("version_number", version_number) @property @pulumi.getter(name="certificateAuthorityId") @@ -862,10 +997,21 @@ def __init__(__self__, *, :param str revocation_reason: The reason the certificate or certificate authority (CA) was revoked. :param str time_of_revocation: The time when the entity was revoked, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` """ + CertificateAuthorityCurrentVersionRevocationStatus._configure( + lambda key, value: pulumi.set(__self__, key, value), + revocation_reason=revocation_reason, + time_of_revocation=time_of_revocation, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + revocation_reason: Optional[str] = None, + time_of_revocation: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if revocation_reason is not None: - pulumi.set(__self__, "revocation_reason", revocation_reason) + _setter("revocation_reason", revocation_reason) if time_of_revocation is not None: - pulumi.set(__self__, "time_of_revocation", time_of_revocation) + _setter("time_of_revocation", time_of_revocation) @property @pulumi.getter(name="revocationReason") @@ -912,10 +1058,21 @@ def __init__(__self__, *, :param str time_of_validity_not_after: (Updatable) The date on which the certificate validity period ends, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` :param str time_of_validity_not_before: (Updatable) The date on which the certificate validity period begins, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` """ + CertificateAuthorityCurrentVersionValidity._configure( + lambda key, value: pulumi.set(__self__, key, value), + time_of_validity_not_after=time_of_validity_not_after, + time_of_validity_not_before=time_of_validity_not_before, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + time_of_validity_not_after: Optional[str] = None, + time_of_validity_not_before: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if time_of_validity_not_after is not None: - pulumi.set(__self__, "time_of_validity_not_after", time_of_validity_not_after) + _setter("time_of_validity_not_after", time_of_validity_not_after) if time_of_validity_not_before is not None: - pulumi.set(__self__, "time_of_validity_not_before", time_of_validity_not_before) + _setter("time_of_validity_not_before", time_of_validity_not_before) @property @pulumi.getter(name="timeOfValidityNotAfter") @@ -1008,40 +1165,81 @@ def __init__(__self__, *, :param str title: Title (RDN T or TITLE). :param str user_id: User ID (RDN UID). """ + CertificateAuthoritySubject._configure( + lambda key, value: pulumi.set(__self__, key, value), + common_name=common_name, + country=country, + distinguished_name_qualifier=distinguished_name_qualifier, + domain_component=domain_component, + generation_qualifier=generation_qualifier, + given_name=given_name, + initials=initials, + locality_name=locality_name, + organization=organization, + organizational_unit=organizational_unit, + pseudonym=pseudonym, + serial_number=serial_number, + state_or_province_name=state_or_province_name, + street=street, + surname=surname, + title=title, + user_id=user_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + common_name: Optional[str] = None, + country: Optional[str] = None, + distinguished_name_qualifier: Optional[str] = None, + domain_component: Optional[str] = None, + generation_qualifier: Optional[str] = None, + given_name: Optional[str] = None, + initials: Optional[str] = None, + locality_name: Optional[str] = None, + organization: Optional[str] = None, + organizational_unit: Optional[str] = None, + pseudonym: Optional[str] = None, + serial_number: Optional[str] = None, + state_or_province_name: Optional[str] = None, + street: Optional[str] = None, + surname: Optional[str] = None, + title: Optional[str] = None, + user_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if common_name is not None: - pulumi.set(__self__, "common_name", common_name) + _setter("common_name", common_name) if country is not None: - pulumi.set(__self__, "country", country) + _setter("country", country) if distinguished_name_qualifier is not None: - pulumi.set(__self__, "distinguished_name_qualifier", distinguished_name_qualifier) + _setter("distinguished_name_qualifier", distinguished_name_qualifier) if domain_component is not None: - pulumi.set(__self__, "domain_component", domain_component) + _setter("domain_component", domain_component) if generation_qualifier is not None: - pulumi.set(__self__, "generation_qualifier", generation_qualifier) + _setter("generation_qualifier", generation_qualifier) if given_name is not None: - pulumi.set(__self__, "given_name", given_name) + _setter("given_name", given_name) if initials is not None: - pulumi.set(__self__, "initials", initials) + _setter("initials", initials) if locality_name is not None: - pulumi.set(__self__, "locality_name", locality_name) + _setter("locality_name", locality_name) if organization is not None: - pulumi.set(__self__, "organization", organization) + _setter("organization", organization) if organizational_unit is not None: - pulumi.set(__self__, "organizational_unit", organizational_unit) + _setter("organizational_unit", organizational_unit) if pseudonym is not None: - pulumi.set(__self__, "pseudonym", pseudonym) + _setter("pseudonym", pseudonym) if serial_number is not None: - pulumi.set(__self__, "serial_number", serial_number) + _setter("serial_number", serial_number) if state_or_province_name is not None: - pulumi.set(__self__, "state_or_province_name", state_or_province_name) + _setter("state_or_province_name", state_or_province_name) if street is not None: - pulumi.set(__self__, "street", street) + _setter("street", street) if surname is not None: - pulumi.set(__self__, "surname", surname) + _setter("surname", surname) if title is not None: - pulumi.set(__self__, "title", title) + _setter("title", title) if user_id is not None: - pulumi.set(__self__, "user_id", user_id) + _setter("user_id", user_id) @property @pulumi.getter(name="commonName") @@ -1236,25 +1434,52 @@ def __init__(__self__, *, :param 'CertificateCertificateConfigValidityArgs' validity: (Updatable) An object that describes a period of time during which an entity is valid. If this is not provided when you create a certificate, the validity of the issuing CA is used. :param str version_name: (Updatable) A name for the certificate. When the value is not null, a name is unique across versions of a given certificate. """ - pulumi.set(__self__, "config_type", config_type) + CertificateCertificateConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + config_type=config_type, + certificate_profile_type=certificate_profile_type, + csr_pem=csr_pem, + issuer_certificate_authority_id=issuer_certificate_authority_id, + key_algorithm=key_algorithm, + signature_algorithm=signature_algorithm, + subject=subject, + subject_alternative_names=subject_alternative_names, + validity=validity, + version_name=version_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + config_type: str, + certificate_profile_type: Optional[str] = None, + csr_pem: Optional[str] = None, + issuer_certificate_authority_id: Optional[str] = None, + key_algorithm: Optional[str] = None, + signature_algorithm: Optional[str] = None, + subject: Optional['outputs.CertificateCertificateConfigSubject'] = None, + subject_alternative_names: Optional[Sequence['outputs.CertificateCertificateConfigSubjectAlternativeName']] = None, + validity: Optional['outputs.CertificateCertificateConfigValidity'] = None, + version_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("config_type", config_type) if certificate_profile_type is not None: - pulumi.set(__self__, "certificate_profile_type", certificate_profile_type) + _setter("certificate_profile_type", certificate_profile_type) if csr_pem is not None: - pulumi.set(__self__, "csr_pem", csr_pem) + _setter("csr_pem", csr_pem) if issuer_certificate_authority_id is not None: - pulumi.set(__self__, "issuer_certificate_authority_id", issuer_certificate_authority_id) + _setter("issuer_certificate_authority_id", issuer_certificate_authority_id) if key_algorithm is not None: - pulumi.set(__self__, "key_algorithm", key_algorithm) + _setter("key_algorithm", key_algorithm) if signature_algorithm is not None: - pulumi.set(__self__, "signature_algorithm", signature_algorithm) + _setter("signature_algorithm", signature_algorithm) if subject is not None: - pulumi.set(__self__, "subject", subject) + _setter("subject", subject) if subject_alternative_names is not None: - pulumi.set(__self__, "subject_alternative_names", subject_alternative_names) + _setter("subject_alternative_names", subject_alternative_names) if validity is not None: - pulumi.set(__self__, "validity", validity) + _setter("validity", validity) if version_name is not None: - pulumi.set(__self__, "version_name", version_name) + _setter("version_name", version_name) @property @pulumi.getter(name="configType") @@ -1411,39 +1636,80 @@ def __init__(__self__, *, :param str title: Title (RDN T or TITLE). :param str user_id: User ID (RDN UID). """ - pulumi.set(__self__, "common_name", common_name) + CertificateCertificateConfigSubject._configure( + lambda key, value: pulumi.set(__self__, key, value), + common_name=common_name, + country=country, + distinguished_name_qualifier=distinguished_name_qualifier, + domain_component=domain_component, + generation_qualifier=generation_qualifier, + given_name=given_name, + initials=initials, + locality_name=locality_name, + organization=organization, + organizational_unit=organizational_unit, + pseudonym=pseudonym, + serial_number=serial_number, + state_or_province_name=state_or_province_name, + street=street, + surname=surname, + title=title, + user_id=user_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + common_name: str, + country: Optional[str] = None, + distinguished_name_qualifier: Optional[str] = None, + domain_component: Optional[str] = None, + generation_qualifier: Optional[str] = None, + given_name: Optional[str] = None, + initials: Optional[str] = None, + locality_name: Optional[str] = None, + organization: Optional[str] = None, + organizational_unit: Optional[str] = None, + pseudonym: Optional[str] = None, + serial_number: Optional[str] = None, + state_or_province_name: Optional[str] = None, + street: Optional[str] = None, + surname: Optional[str] = None, + title: Optional[str] = None, + user_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("common_name", common_name) if country is not None: - pulumi.set(__self__, "country", country) + _setter("country", country) if distinguished_name_qualifier is not None: - pulumi.set(__self__, "distinguished_name_qualifier", distinguished_name_qualifier) + _setter("distinguished_name_qualifier", distinguished_name_qualifier) if domain_component is not None: - pulumi.set(__self__, "domain_component", domain_component) + _setter("domain_component", domain_component) if generation_qualifier is not None: - pulumi.set(__self__, "generation_qualifier", generation_qualifier) + _setter("generation_qualifier", generation_qualifier) if given_name is not None: - pulumi.set(__self__, "given_name", given_name) + _setter("given_name", given_name) if initials is not None: - pulumi.set(__self__, "initials", initials) + _setter("initials", initials) if locality_name is not None: - pulumi.set(__self__, "locality_name", locality_name) + _setter("locality_name", locality_name) if organization is not None: - pulumi.set(__self__, "organization", organization) + _setter("organization", organization) if organizational_unit is not None: - pulumi.set(__self__, "organizational_unit", organizational_unit) + _setter("organizational_unit", organizational_unit) if pseudonym is not None: - pulumi.set(__self__, "pseudonym", pseudonym) + _setter("pseudonym", pseudonym) if serial_number is not None: - pulumi.set(__self__, "serial_number", serial_number) + _setter("serial_number", serial_number) if state_or_province_name is not None: - pulumi.set(__self__, "state_or_province_name", state_or_province_name) + _setter("state_or_province_name", state_or_province_name) if street is not None: - pulumi.set(__self__, "street", street) + _setter("street", street) if surname is not None: - pulumi.set(__self__, "surname", surname) + _setter("surname", surname) if title is not None: - pulumi.set(__self__, "title", title) + _setter("title", title) if user_id is not None: - pulumi.set(__self__, "user_id", user_id) + _setter("user_id", user_id) @property @pulumi.getter(name="commonName") @@ -1591,8 +1857,19 @@ def __init__(__self__, *, :param str type: The subject alternative name type. Currently only DNS domain or host names and IP addresses are supported. :param str value: The subject alternative name. """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + CertificateCertificateConfigSubjectAlternativeName._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -1639,9 +1916,20 @@ def __init__(__self__, *, :param str time_of_validity_not_after: (Updatable) The date on which the certificate validity period ends, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` :param str time_of_validity_not_before: (Updatable) The date on which the certificate validity period begins, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` """ - pulumi.set(__self__, "time_of_validity_not_after", time_of_validity_not_after) + CertificateCertificateConfigValidity._configure( + lambda key, value: pulumi.set(__self__, key, value), + time_of_validity_not_after=time_of_validity_not_after, + time_of_validity_not_before=time_of_validity_not_before, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + time_of_validity_not_after: str, + time_of_validity_not_before: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("time_of_validity_not_after", time_of_validity_not_after) if time_of_validity_not_before is not None: - pulumi.set(__self__, "time_of_validity_not_before", time_of_validity_not_before) + _setter("time_of_validity_not_before", time_of_validity_not_before) @property @pulumi.getter(name="timeOfValidityNotAfter") @@ -1688,10 +1976,21 @@ def __init__(__self__, *, :param Sequence[str] custom_formatted_urls: Optional CRL access points, expressed using a format where the version number of the issuing CA is inserted wherever you include a pair of curly braces. This versioning scheme helps avoid collisions when new CA versions are created. For example, myCrlFileIssuedFromCAVersion{}.crl becomes myCrlFileIssuedFromCAVersion2.crl for CA version 2. :param Sequence['CertificateCertificateRevocationListDetailObjectStorageConfigArgs'] object_storage_configs: The details of the Object Storage bucket configured to store the certificate revocation list (CRL). """ + CertificateCertificateRevocationListDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_formatted_urls=custom_formatted_urls, + object_storage_configs=object_storage_configs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_formatted_urls: Optional[Sequence[str]] = None, + object_storage_configs: Optional[Sequence['outputs.CertificateCertificateRevocationListDetailObjectStorageConfig']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if custom_formatted_urls is not None: - pulumi.set(__self__, "custom_formatted_urls", custom_formatted_urls) + _setter("custom_formatted_urls", custom_formatted_urls) if object_storage_configs is not None: - pulumi.set(__self__, "object_storage_configs", object_storage_configs) + _setter("object_storage_configs", object_storage_configs) @property @pulumi.getter(name="customFormattedUrls") @@ -1742,12 +2041,25 @@ def __init__(__self__, *, :param str object_storage_namespace: The tenancy of the bucket where the CRL is stored. :param str object_storage_object_name_format: The object name in the bucket where the CRL is stored, expressed using a format where the version number of the issuing CA is inserted as part of the Object Storage object name wherever you include a pair of curly braces. This versioning scheme helps avoid collisions when new CA versions are created. For example, myCrlFileIssuedFromCAVersion{}.crl becomes myCrlFileIssuedFromCAVersion2.crl for CA version 2. """ + CertificateCertificateRevocationListDetailObjectStorageConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + object_storage_bucket_name=object_storage_bucket_name, + object_storage_namespace=object_storage_namespace, + object_storage_object_name_format=object_storage_object_name_format, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + object_storage_bucket_name: Optional[str] = None, + object_storage_namespace: Optional[str] = None, + object_storage_object_name_format: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if object_storage_bucket_name is not None: - pulumi.set(__self__, "object_storage_bucket_name", object_storage_bucket_name) + _setter("object_storage_bucket_name", object_storage_bucket_name) if object_storage_namespace is not None: - pulumi.set(__self__, "object_storage_namespace", object_storage_namespace) + _setter("object_storage_namespace", object_storage_namespace) if object_storage_object_name_format is not None: - pulumi.set(__self__, "object_storage_object_name_format", object_storage_object_name_format) + _setter("object_storage_object_name_format", object_storage_object_name_format) @property @pulumi.getter(name="objectStorageBucketName") @@ -1806,9 +2118,22 @@ def __init__(__self__, *, :param str renewal_interval: (Updatable) A property specifying how often, in days, a certificate should be renewed. Expressed in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Time_intervals) format. :param str rule_type: (Updatable) The type of rule. """ - pulumi.set(__self__, "advance_renewal_period", advance_renewal_period) - pulumi.set(__self__, "renewal_interval", renewal_interval) - pulumi.set(__self__, "rule_type", rule_type) + CertificateCertificateRule._configure( + lambda key, value: pulumi.set(__self__, key, value), + advance_renewal_period=advance_renewal_period, + renewal_interval=renewal_interval, + rule_type=rule_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + advance_renewal_period: str, + renewal_interval: str, + rule_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("advance_renewal_period", advance_renewal_period) + _setter("renewal_interval", renewal_interval) + _setter("rule_type", rule_type) @property @pulumi.getter(name="advanceRenewalPeriod") @@ -1895,28 +2220,57 @@ def __init__(__self__, *, :param str version_name: (Updatable) A name for the certificate. When the value is not null, a name is unique across versions of a given certificate. :param str version_number: The version number of the certificate. """ + CertificateCurrentVersion._configure( + lambda key, value: pulumi.set(__self__, key, value), + certificate_id=certificate_id, + issuer_ca_version_number=issuer_ca_version_number, + revocation_statuses=revocation_statuses, + serial_number=serial_number, + stages=stages, + subject_alternative_names=subject_alternative_names, + time_created=time_created, + time_of_deletion=time_of_deletion, + validities=validities, + version_name=version_name, + version_number=version_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + certificate_id: Optional[str] = None, + issuer_ca_version_number: Optional[str] = None, + revocation_statuses: Optional[Sequence['outputs.CertificateCurrentVersionRevocationStatus']] = None, + serial_number: Optional[str] = None, + stages: Optional[Sequence[str]] = None, + subject_alternative_names: Optional[Sequence['outputs.CertificateCurrentVersionSubjectAlternativeName']] = None, + time_created: Optional[str] = None, + time_of_deletion: Optional[str] = None, + validities: Optional[Sequence['outputs.CertificateCurrentVersionValidity']] = None, + version_name: Optional[str] = None, + version_number: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if certificate_id is not None: - pulumi.set(__self__, "certificate_id", certificate_id) + _setter("certificate_id", certificate_id) if issuer_ca_version_number is not None: - pulumi.set(__self__, "issuer_ca_version_number", issuer_ca_version_number) + _setter("issuer_ca_version_number", issuer_ca_version_number) if revocation_statuses is not None: - pulumi.set(__self__, "revocation_statuses", revocation_statuses) + _setter("revocation_statuses", revocation_statuses) if serial_number is not None: - pulumi.set(__self__, "serial_number", serial_number) + _setter("serial_number", serial_number) if stages is not None: - pulumi.set(__self__, "stages", stages) + _setter("stages", stages) if subject_alternative_names is not None: - pulumi.set(__self__, "subject_alternative_names", subject_alternative_names) + _setter("subject_alternative_names", subject_alternative_names) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_of_deletion is not None: - pulumi.set(__self__, "time_of_deletion", time_of_deletion) + _setter("time_of_deletion", time_of_deletion) if validities is not None: - pulumi.set(__self__, "validities", validities) + _setter("validities", validities) if version_name is not None: - pulumi.set(__self__, "version_name", version_name) + _setter("version_name", version_name) if version_number is not None: - pulumi.set(__self__, "version_number", version_number) + _setter("version_number", version_number) @property @pulumi.getter(name="certificateId") @@ -2035,10 +2389,21 @@ def __init__(__self__, *, :param str revocation_reason: The reason the certificate or certificate authority (CA) was revoked. :param str time_of_revocation: The time when the entity was revoked, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` """ + CertificateCurrentVersionRevocationStatus._configure( + lambda key, value: pulumi.set(__self__, key, value), + revocation_reason=revocation_reason, + time_of_revocation=time_of_revocation, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + revocation_reason: Optional[str] = None, + time_of_revocation: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if revocation_reason is not None: - pulumi.set(__self__, "revocation_reason", revocation_reason) + _setter("revocation_reason", revocation_reason) if time_of_revocation is not None: - pulumi.set(__self__, "time_of_revocation", time_of_revocation) + _setter("time_of_revocation", time_of_revocation) @property @pulumi.getter(name="revocationReason") @@ -2066,10 +2431,21 @@ def __init__(__self__, *, :param str type: The subject alternative name type. Currently only DNS domain or host names and IP addresses are supported. :param str value: The subject alternative name. """ + CertificateCurrentVersionSubjectAlternativeName._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -2116,10 +2492,21 @@ def __init__(__self__, *, :param str time_of_validity_not_after: (Updatable) The date on which the certificate validity period ends, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` :param str time_of_validity_not_before: (Updatable) The date on which the certificate validity period begins, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` """ + CertificateCurrentVersionValidity._configure( + lambda key, value: pulumi.set(__self__, key, value), + time_of_validity_not_after=time_of_validity_not_after, + time_of_validity_not_before=time_of_validity_not_before, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + time_of_validity_not_after: Optional[str] = None, + time_of_validity_not_before: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if time_of_validity_not_after is not None: - pulumi.set(__self__, "time_of_validity_not_after", time_of_validity_not_after) + _setter("time_of_validity_not_after", time_of_validity_not_after) if time_of_validity_not_before is not None: - pulumi.set(__self__, "time_of_validity_not_before", time_of_validity_not_before) + _setter("time_of_validity_not_before", time_of_validity_not_before) @property @pulumi.getter(name="timeOfValidityNotAfter") @@ -2212,40 +2599,81 @@ def __init__(__self__, *, :param str title: Title (RDN T or TITLE). :param str user_id: User ID (RDN UID). """ + CertificateSubject._configure( + lambda key, value: pulumi.set(__self__, key, value), + common_name=common_name, + country=country, + distinguished_name_qualifier=distinguished_name_qualifier, + domain_component=domain_component, + generation_qualifier=generation_qualifier, + given_name=given_name, + initials=initials, + locality_name=locality_name, + organization=organization, + organizational_unit=organizational_unit, + pseudonym=pseudonym, + serial_number=serial_number, + state_or_province_name=state_or_province_name, + street=street, + surname=surname, + title=title, + user_id=user_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + common_name: Optional[str] = None, + country: Optional[str] = None, + distinguished_name_qualifier: Optional[str] = None, + domain_component: Optional[str] = None, + generation_qualifier: Optional[str] = None, + given_name: Optional[str] = None, + initials: Optional[str] = None, + locality_name: Optional[str] = None, + organization: Optional[str] = None, + organizational_unit: Optional[str] = None, + pseudonym: Optional[str] = None, + serial_number: Optional[str] = None, + state_or_province_name: Optional[str] = None, + street: Optional[str] = None, + surname: Optional[str] = None, + title: Optional[str] = None, + user_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if common_name is not None: - pulumi.set(__self__, "common_name", common_name) + _setter("common_name", common_name) if country is not None: - pulumi.set(__self__, "country", country) + _setter("country", country) if distinguished_name_qualifier is not None: - pulumi.set(__self__, "distinguished_name_qualifier", distinguished_name_qualifier) + _setter("distinguished_name_qualifier", distinguished_name_qualifier) if domain_component is not None: - pulumi.set(__self__, "domain_component", domain_component) + _setter("domain_component", domain_component) if generation_qualifier is not None: - pulumi.set(__self__, "generation_qualifier", generation_qualifier) + _setter("generation_qualifier", generation_qualifier) if given_name is not None: - pulumi.set(__self__, "given_name", given_name) + _setter("given_name", given_name) if initials is not None: - pulumi.set(__self__, "initials", initials) + _setter("initials", initials) if locality_name is not None: - pulumi.set(__self__, "locality_name", locality_name) + _setter("locality_name", locality_name) if organization is not None: - pulumi.set(__self__, "organization", organization) + _setter("organization", organization) if organizational_unit is not None: - pulumi.set(__self__, "organizational_unit", organizational_unit) + _setter("organizational_unit", organizational_unit) if pseudonym is not None: - pulumi.set(__self__, "pseudonym", pseudonym) + _setter("pseudonym", pseudonym) if serial_number is not None: - pulumi.set(__self__, "serial_number", serial_number) + _setter("serial_number", serial_number) if state_or_province_name is not None: - pulumi.set(__self__, "state_or_province_name", state_or_province_name) + _setter("state_or_province_name", state_or_province_name) if street is not None: - pulumi.set(__self__, "street", street) + _setter("street", street) if surname is not None: - pulumi.set(__self__, "surname", surname) + _setter("surname", surname) if title is not None: - pulumi.set(__self__, "title", title) + _setter("title", title) if user_id is not None: - pulumi.set(__self__, "user_id", user_id) + _setter("user_id", user_id) @property @pulumi.getter(name="commonName") @@ -2388,7 +2816,16 @@ def user_id(self) -> Optional[str]: class GetAssociationsAssociationCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetAssociationsAssociationCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetAssociationsAssociationCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetAssociationsAssociationCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -2417,14 +2854,37 @@ def __init__(__self__, *, :param str state: The current lifecycle state of the association. :param str time_created: A property indicating when the association was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` """ - pulumi.set(__self__, "associated_resource_id", associated_resource_id) - pulumi.set(__self__, "association_type", association_type) - pulumi.set(__self__, "certificates_resource_id", certificates_resource_id) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) + GetAssociationsAssociationCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + associated_resource_id=associated_resource_id, + association_type=association_type, + certificates_resource_id=certificates_resource_id, + compartment_id=compartment_id, + id=id, + name=name, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + associated_resource_id: str, + association_type: str, + certificates_resource_id: str, + compartment_id: str, + id: str, + name: str, + state: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("associated_resource_id", associated_resource_id) + _setter("association_type", association_type) + _setter("certificates_resource_id", certificates_resource_id) + _setter("compartment_id", compartment_id) + _setter("id", id) + _setter("name", name) + _setter("state", state) + _setter("time_created", time_created) @property @pulumi.getter(name="associatedResourceId") @@ -2500,10 +2960,23 @@ def __init__(__self__, *, """ :param str name: A filter that returns only resources that match the specified name. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAssociationsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2528,7 +3001,16 @@ def regex(self) -> Optional[bool]: class GetCaBundlesCaBundleCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetCaBundlesCaBundleCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetCaBundlesCaBundleCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetCaBundlesCaBundleCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -2560,16 +3042,43 @@ def __init__(__self__, *, :param str state: A filter that returns only resources that match the given lifecycle state. The state value is case-insensitive. :param str time_created: A property indicating when the CA bundle was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` """ - pulumi.set(__self__, "ca_bundle_pem", ca_bundle_pem) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) + GetCaBundlesCaBundleCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ca_bundle_pem=ca_bundle_pem, + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + name=name, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ca_bundle_pem: str, + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + name: str, + state: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ca_bundle_pem", ca_bundle_pem) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("name", name) + _setter("state", state) + _setter("time_created", time_created) @property @pulumi.getter(name="caBundlePem") @@ -2658,10 +3167,23 @@ def __init__(__self__, *, """ :param str name: A filter that returns only resources that match the specified name. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetCaBundlesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2686,7 +3208,16 @@ def regex(self) -> Optional[bool]: class GetCertificateAuthoritiesCertificateAuthorityCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetCertificateAuthoritiesCertificateAuthorityCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetCertificateAuthoritiesCertificateAuthorityCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetCertificateAuthoritiesCertificateAuthorityCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -2736,25 +3267,70 @@ def __init__(__self__, *, :param str time_created: A property indicating when the CA was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` :param str time_of_deletion: An optional property indicating when to delete the CA version, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` """ - pulumi.set(__self__, "certificate_authority_configs", certificate_authority_configs) - pulumi.set(__self__, "certificate_authority_rules", certificate_authority_rules) - pulumi.set(__self__, "certificate_revocation_list_details", certificate_revocation_list_details) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "config_type", config_type) - pulumi.set(__self__, "current_versions", current_versions) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "issuer_certificate_authority_id", issuer_certificate_authority_id) - pulumi.set(__self__, "kms_key_id", kms_key_id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "signing_algorithm", signing_algorithm) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "subjects", subjects) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_of_deletion", time_of_deletion) + GetCertificateAuthoritiesCertificateAuthorityCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + certificate_authority_configs=certificate_authority_configs, + certificate_authority_rules=certificate_authority_rules, + certificate_revocation_list_details=certificate_revocation_list_details, + compartment_id=compartment_id, + config_type=config_type, + current_versions=current_versions, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + id=id, + issuer_certificate_authority_id=issuer_certificate_authority_id, + kms_key_id=kms_key_id, + lifecycle_details=lifecycle_details, + name=name, + signing_algorithm=signing_algorithm, + state=state, + subjects=subjects, + time_created=time_created, + time_of_deletion=time_of_deletion, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + certificate_authority_configs: Sequence['outputs.GetCertificateAuthoritiesCertificateAuthorityCollectionItemCertificateAuthorityConfigResult'], + certificate_authority_rules: Sequence['outputs.GetCertificateAuthoritiesCertificateAuthorityCollectionItemCertificateAuthorityRuleResult'], + certificate_revocation_list_details: Sequence['outputs.GetCertificateAuthoritiesCertificateAuthorityCollectionItemCertificateRevocationListDetailResult'], + compartment_id: str, + config_type: str, + current_versions: Sequence['outputs.GetCertificateAuthoritiesCertificateAuthorityCollectionItemCurrentVersionResult'], + defined_tags: Mapping[str, Any], + description: str, + freeform_tags: Mapping[str, Any], + id: str, + issuer_certificate_authority_id: str, + kms_key_id: str, + lifecycle_details: str, + name: str, + signing_algorithm: str, + state: str, + subjects: Sequence['outputs.GetCertificateAuthoritiesCertificateAuthorityCollectionItemSubjectResult'], + time_created: str, + time_of_deletion: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("certificate_authority_configs", certificate_authority_configs) + _setter("certificate_authority_rules", certificate_authority_rules) + _setter("certificate_revocation_list_details", certificate_revocation_list_details) + _setter("compartment_id", compartment_id) + _setter("config_type", config_type) + _setter("current_versions", current_versions) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("issuer_certificate_authority_id", issuer_certificate_authority_id) + _setter("kms_key_id", kms_key_id) + _setter("lifecycle_details", lifecycle_details) + _setter("name", name) + _setter("signing_algorithm", signing_algorithm) + _setter("state", state) + _setter("subjects", subjects) + _setter("time_created", time_created) + _setter("time_of_deletion", time_of_deletion) @property @pulumi.getter(name="certificateAuthorityConfigs") @@ -2923,12 +3499,31 @@ def __init__(__self__, *, :param Sequence['GetCertificateAuthoritiesCertificateAuthorityCollectionItemCertificateAuthorityConfigValidityArgs'] validities: An object that describes a period of time during which an entity is valid. If this is not provided when you create a certificate, the validity of the issuing CA is used. :param str version_name: The name of the CA version. When this value is not null, the name is unique across CA versions for a given CA. """ - pulumi.set(__self__, "config_type", config_type) - pulumi.set(__self__, "issuer_certificate_authority_id", issuer_certificate_authority_id) - pulumi.set(__self__, "signing_algorithm", signing_algorithm) - pulumi.set(__self__, "subjects", subjects) - pulumi.set(__self__, "validities", validities) - pulumi.set(__self__, "version_name", version_name) + GetCertificateAuthoritiesCertificateAuthorityCollectionItemCertificateAuthorityConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + config_type=config_type, + issuer_certificate_authority_id=issuer_certificate_authority_id, + signing_algorithm=signing_algorithm, + subjects=subjects, + validities=validities, + version_name=version_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + config_type: str, + issuer_certificate_authority_id: str, + signing_algorithm: str, + subjects: Sequence['outputs.GetCertificateAuthoritiesCertificateAuthorityCollectionItemCertificateAuthorityConfigSubjectResult'], + validities: Sequence['outputs.GetCertificateAuthoritiesCertificateAuthorityCollectionItemCertificateAuthorityConfigValidityResult'], + version_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("config_type", config_type) + _setter("issuer_certificate_authority_id", issuer_certificate_authority_id) + _setter("signing_algorithm", signing_algorithm) + _setter("subjects", subjects) + _setter("validities", validities) + _setter("version_name", version_name) @property @pulumi.getter(name="configType") @@ -3018,23 +3613,64 @@ def __init__(__self__, *, :param str title: Title (RDN T or TITLE). :param str user_id: User ID (RDN UID). """ - pulumi.set(__self__, "common_name", common_name) - pulumi.set(__self__, "country", country) - pulumi.set(__self__, "distinguished_name_qualifier", distinguished_name_qualifier) - pulumi.set(__self__, "domain_component", domain_component) - pulumi.set(__self__, "generation_qualifier", generation_qualifier) - pulumi.set(__self__, "given_name", given_name) - pulumi.set(__self__, "initials", initials) - pulumi.set(__self__, "locality_name", locality_name) - pulumi.set(__self__, "organization", organization) - pulumi.set(__self__, "organizational_unit", organizational_unit) - pulumi.set(__self__, "pseudonym", pseudonym) - pulumi.set(__self__, "serial_number", serial_number) - pulumi.set(__self__, "state_or_province_name", state_or_province_name) - pulumi.set(__self__, "street", street) - pulumi.set(__self__, "surname", surname) - pulumi.set(__self__, "title", title) - pulumi.set(__self__, "user_id", user_id) + GetCertificateAuthoritiesCertificateAuthorityCollectionItemCertificateAuthorityConfigSubjectResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + common_name=common_name, + country=country, + distinguished_name_qualifier=distinguished_name_qualifier, + domain_component=domain_component, + generation_qualifier=generation_qualifier, + given_name=given_name, + initials=initials, + locality_name=locality_name, + organization=organization, + organizational_unit=organizational_unit, + pseudonym=pseudonym, + serial_number=serial_number, + state_or_province_name=state_or_province_name, + street=street, + surname=surname, + title=title, + user_id=user_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + common_name: str, + country: str, + distinguished_name_qualifier: str, + domain_component: str, + generation_qualifier: str, + given_name: str, + initials: str, + locality_name: str, + organization: str, + organizational_unit: str, + pseudonym: str, + serial_number: str, + state_or_province_name: str, + street: str, + surname: str, + title: str, + user_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("common_name", common_name) + _setter("country", country) + _setter("distinguished_name_qualifier", distinguished_name_qualifier) + _setter("domain_component", domain_component) + _setter("generation_qualifier", generation_qualifier) + _setter("given_name", given_name) + _setter("initials", initials) + _setter("locality_name", locality_name) + _setter("organization", organization) + _setter("organizational_unit", organizational_unit) + _setter("pseudonym", pseudonym) + _setter("serial_number", serial_number) + _setter("state_or_province_name", state_or_province_name) + _setter("street", street) + _setter("surname", surname) + _setter("title", title) + _setter("user_id", user_id) @property @pulumi.getter(name="commonName") @@ -3182,8 +3818,19 @@ def __init__(__self__, *, :param str time_of_validity_not_after: The date on which the certificate validity period ends, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` :param str time_of_validity_not_before: The date on which the certificate validity period begins, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` """ - pulumi.set(__self__, "time_of_validity_not_after", time_of_validity_not_after) - pulumi.set(__self__, "time_of_validity_not_before", time_of_validity_not_before) + GetCertificateAuthoritiesCertificateAuthorityCollectionItemCertificateAuthorityConfigValidityResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + time_of_validity_not_after=time_of_validity_not_after, + time_of_validity_not_before=time_of_validity_not_before, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + time_of_validity_not_after: str, + time_of_validity_not_before: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("time_of_validity_not_after", time_of_validity_not_after) + _setter("time_of_validity_not_before", time_of_validity_not_before) @property @pulumi.getter(name="timeOfValidityNotAfter") @@ -3213,9 +3860,22 @@ def __init__(__self__, *, :param str leaf_certificate_max_validity_duration: A property indicating the maximum validity duration, in days, of leaf certificates issued by this CA. Expressed in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Time_intervals) format. :param str rule_type: The type of rule, whether a renewal rule regarding when to renew the CA or an issuance expiry rule that governs how long the certificates and CAs issued by the CA are valid. (For internal use only) An internal issuance rule defines the number and type of certificates that the CA can issue. """ - pulumi.set(__self__, "certificate_authority_max_validity_duration", certificate_authority_max_validity_duration) - pulumi.set(__self__, "leaf_certificate_max_validity_duration", leaf_certificate_max_validity_duration) - pulumi.set(__self__, "rule_type", rule_type) + GetCertificateAuthoritiesCertificateAuthorityCollectionItemCertificateAuthorityRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + certificate_authority_max_validity_duration=certificate_authority_max_validity_duration, + leaf_certificate_max_validity_duration=leaf_certificate_max_validity_duration, + rule_type=rule_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + certificate_authority_max_validity_duration: str, + leaf_certificate_max_validity_duration: str, + rule_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("certificate_authority_max_validity_duration", certificate_authority_max_validity_duration) + _setter("leaf_certificate_max_validity_duration", leaf_certificate_max_validity_duration) + _setter("rule_type", rule_type) @property @pulumi.getter(name="certificateAuthorityMaxValidityDuration") @@ -3251,8 +3911,19 @@ def __init__(__self__, *, :param Sequence[str] custom_formatted_urls: Optional CRL access points, expressed using a format where the version number of the issuing CA is inserted wherever you include a pair of curly braces. This versioning scheme helps avoid collisions when new CA versions are created. For example, myCrlFileIssuedFromCAVersion{}.crl becomes myCrlFileIssuedFromCAVersion2.crl for CA version 2. :param Sequence['GetCertificateAuthoritiesCertificateAuthorityCollectionItemCertificateRevocationListDetailObjectStorageConfigArgs'] object_storage_configs: The details of the Object Storage bucket configured to store the certificate revocation list (CRL). """ - pulumi.set(__self__, "custom_formatted_urls", custom_formatted_urls) - pulumi.set(__self__, "object_storage_configs", object_storage_configs) + GetCertificateAuthoritiesCertificateAuthorityCollectionItemCertificateRevocationListDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_formatted_urls=custom_formatted_urls, + object_storage_configs=object_storage_configs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_formatted_urls: Sequence[str], + object_storage_configs: Sequence['outputs.GetCertificateAuthoritiesCertificateAuthorityCollectionItemCertificateRevocationListDetailObjectStorageConfigResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("custom_formatted_urls", custom_formatted_urls) + _setter("object_storage_configs", object_storage_configs) @property @pulumi.getter(name="customFormattedUrls") @@ -3282,9 +3953,22 @@ def __init__(__self__, *, :param str object_storage_namespace: The tenancy of the bucket where the CRL is stored. :param str object_storage_object_name_format: The object name in the bucket where the CRL is stored, expressed using a format where the version number of the issuing CA is inserted as part of the Object Storage object name wherever you include a pair of curly braces. This versioning scheme helps avoid collisions when new CA versions are created. For example, myCrlFileIssuedFromCAVersion{}.crl becomes myCrlFileIssuedFromCAVersion2.crl for CA version 2. """ - pulumi.set(__self__, "object_storage_bucket_name", object_storage_bucket_name) - pulumi.set(__self__, "object_storage_namespace", object_storage_namespace) - pulumi.set(__self__, "object_storage_object_name_format", object_storage_object_name_format) + GetCertificateAuthoritiesCertificateAuthorityCollectionItemCertificateRevocationListDetailObjectStorageConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + object_storage_bucket_name=object_storage_bucket_name, + object_storage_namespace=object_storage_namespace, + object_storage_object_name_format=object_storage_object_name_format, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + object_storage_bucket_name: str, + object_storage_namespace: str, + object_storage_object_name_format: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("object_storage_bucket_name", object_storage_bucket_name) + _setter("object_storage_namespace", object_storage_namespace) + _setter("object_storage_object_name_format", object_storage_object_name_format) @property @pulumi.getter(name="objectStorageBucketName") @@ -3336,16 +4020,43 @@ def __init__(__self__, *, :param str version_name: The name of the CA version. When this value is not null, the name is unique across CA versions for a given CA. :param str version_number: The version number of the CA. """ - pulumi.set(__self__, "certificate_authority_id", certificate_authority_id) - pulumi.set(__self__, "issuer_ca_version_number", issuer_ca_version_number) - pulumi.set(__self__, "revocation_statuses", revocation_statuses) - pulumi.set(__self__, "serial_number", serial_number) - pulumi.set(__self__, "stages", stages) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_of_deletion", time_of_deletion) - pulumi.set(__self__, "validities", validities) - pulumi.set(__self__, "version_name", version_name) - pulumi.set(__self__, "version_number", version_number) + GetCertificateAuthoritiesCertificateAuthorityCollectionItemCurrentVersionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + certificate_authority_id=certificate_authority_id, + issuer_ca_version_number=issuer_ca_version_number, + revocation_statuses=revocation_statuses, + serial_number=serial_number, + stages=stages, + time_created=time_created, + time_of_deletion=time_of_deletion, + validities=validities, + version_name=version_name, + version_number=version_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + certificate_authority_id: str, + issuer_ca_version_number: str, + revocation_statuses: Sequence['outputs.GetCertificateAuthoritiesCertificateAuthorityCollectionItemCurrentVersionRevocationStatusResult'], + serial_number: str, + stages: Sequence[str], + time_created: str, + time_of_deletion: str, + validities: Sequence['outputs.GetCertificateAuthoritiesCertificateAuthorityCollectionItemCurrentVersionValidityResult'], + version_name: str, + version_number: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("certificate_authority_id", certificate_authority_id) + _setter("issuer_ca_version_number", issuer_ca_version_number) + _setter("revocation_statuses", revocation_statuses) + _setter("serial_number", serial_number) + _setter("stages", stages) + _setter("time_created", time_created) + _setter("time_of_deletion", time_of_deletion) + _setter("validities", validities) + _setter("version_name", version_name) + _setter("version_number", version_number) @property @pulumi.getter(name="certificateAuthorityId") @@ -3437,8 +4148,19 @@ def __init__(__self__, *, :param str revocation_reason: The reason the certificate or certificate authority (CA) was revoked. :param str time_of_revocation: The time when the entity was revoked, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` """ - pulumi.set(__self__, "revocation_reason", revocation_reason) - pulumi.set(__self__, "time_of_revocation", time_of_revocation) + GetCertificateAuthoritiesCertificateAuthorityCollectionItemCurrentVersionRevocationStatusResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + revocation_reason=revocation_reason, + time_of_revocation=time_of_revocation, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + revocation_reason: str, + time_of_revocation: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("revocation_reason", revocation_reason) + _setter("time_of_revocation", time_of_revocation) @property @pulumi.getter(name="revocationReason") @@ -3466,8 +4188,19 @@ def __init__(__self__, *, :param str time_of_validity_not_after: The date on which the certificate validity period ends, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` :param str time_of_validity_not_before: The date on which the certificate validity period begins, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` """ - pulumi.set(__self__, "time_of_validity_not_after", time_of_validity_not_after) - pulumi.set(__self__, "time_of_validity_not_before", time_of_validity_not_before) + GetCertificateAuthoritiesCertificateAuthorityCollectionItemCurrentVersionValidityResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + time_of_validity_not_after=time_of_validity_not_after, + time_of_validity_not_before=time_of_validity_not_before, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + time_of_validity_not_after: str, + time_of_validity_not_before: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("time_of_validity_not_after", time_of_validity_not_after) + _setter("time_of_validity_not_before", time_of_validity_not_before) @property @pulumi.getter(name="timeOfValidityNotAfter") @@ -3525,23 +4258,64 @@ def __init__(__self__, *, :param str title: Title (RDN T or TITLE). :param str user_id: User ID (RDN UID). """ - pulumi.set(__self__, "common_name", common_name) - pulumi.set(__self__, "country", country) - pulumi.set(__self__, "distinguished_name_qualifier", distinguished_name_qualifier) - pulumi.set(__self__, "domain_component", domain_component) - pulumi.set(__self__, "generation_qualifier", generation_qualifier) - pulumi.set(__self__, "given_name", given_name) - pulumi.set(__self__, "initials", initials) - pulumi.set(__self__, "locality_name", locality_name) - pulumi.set(__self__, "organization", organization) - pulumi.set(__self__, "organizational_unit", organizational_unit) - pulumi.set(__self__, "pseudonym", pseudonym) - pulumi.set(__self__, "serial_number", serial_number) - pulumi.set(__self__, "state_or_province_name", state_or_province_name) - pulumi.set(__self__, "street", street) - pulumi.set(__self__, "surname", surname) - pulumi.set(__self__, "title", title) - pulumi.set(__self__, "user_id", user_id) + GetCertificateAuthoritiesCertificateAuthorityCollectionItemSubjectResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + common_name=common_name, + country=country, + distinguished_name_qualifier=distinguished_name_qualifier, + domain_component=domain_component, + generation_qualifier=generation_qualifier, + given_name=given_name, + initials=initials, + locality_name=locality_name, + organization=organization, + organizational_unit=organizational_unit, + pseudonym=pseudonym, + serial_number=serial_number, + state_or_province_name=state_or_province_name, + street=street, + surname=surname, + title=title, + user_id=user_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + common_name: str, + country: str, + distinguished_name_qualifier: str, + domain_component: str, + generation_qualifier: str, + given_name: str, + initials: str, + locality_name: str, + organization: str, + organizational_unit: str, + pseudonym: str, + serial_number: str, + state_or_province_name: str, + street: str, + surname: str, + title: str, + user_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("common_name", common_name) + _setter("country", country) + _setter("distinguished_name_qualifier", distinguished_name_qualifier) + _setter("domain_component", domain_component) + _setter("generation_qualifier", generation_qualifier) + _setter("given_name", given_name) + _setter("initials", initials) + _setter("locality_name", locality_name) + _setter("organization", organization) + _setter("organizational_unit", organizational_unit) + _setter("pseudonym", pseudonym) + _setter("serial_number", serial_number) + _setter("state_or_province_name", state_or_province_name) + _setter("street", street) + _setter("surname", surname) + _setter("title", title) + _setter("user_id", user_id) @property @pulumi.getter(name="commonName") @@ -3689,10 +4463,23 @@ def __init__(__self__, *, """ :param str name: A filter that returns only resources that match the specified name. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetCertificateAuthoritiesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3730,12 +4517,31 @@ def __init__(__self__, *, :param Sequence['GetCertificateAuthorityCertificateAuthorityConfigValidityArgs'] validities: An object that describes a period of time during which an entity is valid. If this is not provided when you create a certificate, the validity of the issuing CA is used. :param str version_name: The name of the CA version. When this value is not null, the name is unique across CA versions for a given CA. """ - pulumi.set(__self__, "config_type", config_type) - pulumi.set(__self__, "issuer_certificate_authority_id", issuer_certificate_authority_id) - pulumi.set(__self__, "signing_algorithm", signing_algorithm) - pulumi.set(__self__, "subjects", subjects) - pulumi.set(__self__, "validities", validities) - pulumi.set(__self__, "version_name", version_name) + GetCertificateAuthorityCertificateAuthorityConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + config_type=config_type, + issuer_certificate_authority_id=issuer_certificate_authority_id, + signing_algorithm=signing_algorithm, + subjects=subjects, + validities=validities, + version_name=version_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + config_type: str, + issuer_certificate_authority_id: str, + signing_algorithm: str, + subjects: Sequence['outputs.GetCertificateAuthorityCertificateAuthorityConfigSubjectResult'], + validities: Sequence['outputs.GetCertificateAuthorityCertificateAuthorityConfigValidityResult'], + version_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("config_type", config_type) + _setter("issuer_certificate_authority_id", issuer_certificate_authority_id) + _setter("signing_algorithm", signing_algorithm) + _setter("subjects", subjects) + _setter("validities", validities) + _setter("version_name", version_name) @property @pulumi.getter(name="configType") @@ -3825,23 +4631,64 @@ def __init__(__self__, *, :param str title: Title (RDN T or TITLE). :param str user_id: User ID (RDN UID). """ - pulumi.set(__self__, "common_name", common_name) - pulumi.set(__self__, "country", country) - pulumi.set(__self__, "distinguished_name_qualifier", distinguished_name_qualifier) - pulumi.set(__self__, "domain_component", domain_component) - pulumi.set(__self__, "generation_qualifier", generation_qualifier) - pulumi.set(__self__, "given_name", given_name) - pulumi.set(__self__, "initials", initials) - pulumi.set(__self__, "locality_name", locality_name) - pulumi.set(__self__, "organization", organization) - pulumi.set(__self__, "organizational_unit", organizational_unit) - pulumi.set(__self__, "pseudonym", pseudonym) - pulumi.set(__self__, "serial_number", serial_number) - pulumi.set(__self__, "state_or_province_name", state_or_province_name) - pulumi.set(__self__, "street", street) - pulumi.set(__self__, "surname", surname) - pulumi.set(__self__, "title", title) - pulumi.set(__self__, "user_id", user_id) + GetCertificateAuthorityCertificateAuthorityConfigSubjectResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + common_name=common_name, + country=country, + distinguished_name_qualifier=distinguished_name_qualifier, + domain_component=domain_component, + generation_qualifier=generation_qualifier, + given_name=given_name, + initials=initials, + locality_name=locality_name, + organization=organization, + organizational_unit=organizational_unit, + pseudonym=pseudonym, + serial_number=serial_number, + state_or_province_name=state_or_province_name, + street=street, + surname=surname, + title=title, + user_id=user_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + common_name: str, + country: str, + distinguished_name_qualifier: str, + domain_component: str, + generation_qualifier: str, + given_name: str, + initials: str, + locality_name: str, + organization: str, + organizational_unit: str, + pseudonym: str, + serial_number: str, + state_or_province_name: str, + street: str, + surname: str, + title: str, + user_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("common_name", common_name) + _setter("country", country) + _setter("distinguished_name_qualifier", distinguished_name_qualifier) + _setter("domain_component", domain_component) + _setter("generation_qualifier", generation_qualifier) + _setter("given_name", given_name) + _setter("initials", initials) + _setter("locality_name", locality_name) + _setter("organization", organization) + _setter("organizational_unit", organizational_unit) + _setter("pseudonym", pseudonym) + _setter("serial_number", serial_number) + _setter("state_or_province_name", state_or_province_name) + _setter("street", street) + _setter("surname", surname) + _setter("title", title) + _setter("user_id", user_id) @property @pulumi.getter(name="commonName") @@ -3989,8 +4836,19 @@ def __init__(__self__, *, :param str time_of_validity_not_after: The date on which the certificate validity period ends, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` :param str time_of_validity_not_before: The date on which the certificate validity period begins, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` """ - pulumi.set(__self__, "time_of_validity_not_after", time_of_validity_not_after) - pulumi.set(__self__, "time_of_validity_not_before", time_of_validity_not_before) + GetCertificateAuthorityCertificateAuthorityConfigValidityResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + time_of_validity_not_after=time_of_validity_not_after, + time_of_validity_not_before=time_of_validity_not_before, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + time_of_validity_not_after: str, + time_of_validity_not_before: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("time_of_validity_not_after", time_of_validity_not_after) + _setter("time_of_validity_not_before", time_of_validity_not_before) @property @pulumi.getter(name="timeOfValidityNotAfter") @@ -4020,9 +4878,22 @@ def __init__(__self__, *, :param str leaf_certificate_max_validity_duration: A property indicating the maximum validity duration, in days, of leaf certificates issued by this CA. Expressed in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Time_intervals) format. :param str rule_type: The type of rule, whether a renewal rule regarding when to renew the CA or an issuance expiry rule that governs how long the certificates and CAs issued by the CA are valid. (For internal use only) An internal issuance rule defines the number and type of certificates that the CA can issue. """ - pulumi.set(__self__, "certificate_authority_max_validity_duration", certificate_authority_max_validity_duration) - pulumi.set(__self__, "leaf_certificate_max_validity_duration", leaf_certificate_max_validity_duration) - pulumi.set(__self__, "rule_type", rule_type) + GetCertificateAuthorityCertificateAuthorityRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + certificate_authority_max_validity_duration=certificate_authority_max_validity_duration, + leaf_certificate_max_validity_duration=leaf_certificate_max_validity_duration, + rule_type=rule_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + certificate_authority_max_validity_duration: str, + leaf_certificate_max_validity_duration: str, + rule_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("certificate_authority_max_validity_duration", certificate_authority_max_validity_duration) + _setter("leaf_certificate_max_validity_duration", leaf_certificate_max_validity_duration) + _setter("rule_type", rule_type) @property @pulumi.getter(name="certificateAuthorityMaxValidityDuration") @@ -4058,8 +4929,19 @@ def __init__(__self__, *, :param Sequence[str] custom_formatted_urls: Optional CRL access points, expressed using a format where the version number of the issuing CA is inserted wherever you include a pair of curly braces. This versioning scheme helps avoid collisions when new CA versions are created. For example, myCrlFileIssuedFromCAVersion{}.crl becomes myCrlFileIssuedFromCAVersion2.crl for CA version 2. :param Sequence['GetCertificateAuthorityCertificateRevocationListDetailObjectStorageConfigArgs'] object_storage_configs: The details of the Object Storage bucket configured to store the certificate revocation list (CRL). """ - pulumi.set(__self__, "custom_formatted_urls", custom_formatted_urls) - pulumi.set(__self__, "object_storage_configs", object_storage_configs) + GetCertificateAuthorityCertificateRevocationListDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_formatted_urls=custom_formatted_urls, + object_storage_configs=object_storage_configs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_formatted_urls: Sequence[str], + object_storage_configs: Sequence['outputs.GetCertificateAuthorityCertificateRevocationListDetailObjectStorageConfigResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("custom_formatted_urls", custom_formatted_urls) + _setter("object_storage_configs", object_storage_configs) @property @pulumi.getter(name="customFormattedUrls") @@ -4089,9 +4971,22 @@ def __init__(__self__, *, :param str object_storage_namespace: The tenancy of the bucket where the CRL is stored. :param str object_storage_object_name_format: The object name in the bucket where the CRL is stored, expressed using a format where the version number of the issuing CA is inserted as part of the Object Storage object name wherever you include a pair of curly braces. This versioning scheme helps avoid collisions when new CA versions are created. For example, myCrlFileIssuedFromCAVersion{}.crl becomes myCrlFileIssuedFromCAVersion2.crl for CA version 2. """ - pulumi.set(__self__, "object_storage_bucket_name", object_storage_bucket_name) - pulumi.set(__self__, "object_storage_namespace", object_storage_namespace) - pulumi.set(__self__, "object_storage_object_name_format", object_storage_object_name_format) + GetCertificateAuthorityCertificateRevocationListDetailObjectStorageConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + object_storage_bucket_name=object_storage_bucket_name, + object_storage_namespace=object_storage_namespace, + object_storage_object_name_format=object_storage_object_name_format, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + object_storage_bucket_name: str, + object_storage_namespace: str, + object_storage_object_name_format: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("object_storage_bucket_name", object_storage_bucket_name) + _setter("object_storage_namespace", object_storage_namespace) + _setter("object_storage_object_name_format", object_storage_object_name_format) @property @pulumi.getter(name="objectStorageBucketName") @@ -4143,16 +5038,43 @@ def __init__(__self__, *, :param str version_name: The name of the CA version. When this value is not null, the name is unique across CA versions for a given CA. :param str version_number: The version number of the CA. """ - pulumi.set(__self__, "certificate_authority_id", certificate_authority_id) - pulumi.set(__self__, "issuer_ca_version_number", issuer_ca_version_number) - pulumi.set(__self__, "revocation_statuses", revocation_statuses) - pulumi.set(__self__, "serial_number", serial_number) - pulumi.set(__self__, "stages", stages) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_of_deletion", time_of_deletion) - pulumi.set(__self__, "validities", validities) - pulumi.set(__self__, "version_name", version_name) - pulumi.set(__self__, "version_number", version_number) + GetCertificateAuthorityCurrentVersionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + certificate_authority_id=certificate_authority_id, + issuer_ca_version_number=issuer_ca_version_number, + revocation_statuses=revocation_statuses, + serial_number=serial_number, + stages=stages, + time_created=time_created, + time_of_deletion=time_of_deletion, + validities=validities, + version_name=version_name, + version_number=version_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + certificate_authority_id: str, + issuer_ca_version_number: str, + revocation_statuses: Sequence['outputs.GetCertificateAuthorityCurrentVersionRevocationStatusResult'], + serial_number: str, + stages: Sequence[str], + time_created: str, + time_of_deletion: str, + validities: Sequence['outputs.GetCertificateAuthorityCurrentVersionValidityResult'], + version_name: str, + version_number: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("certificate_authority_id", certificate_authority_id) + _setter("issuer_ca_version_number", issuer_ca_version_number) + _setter("revocation_statuses", revocation_statuses) + _setter("serial_number", serial_number) + _setter("stages", stages) + _setter("time_created", time_created) + _setter("time_of_deletion", time_of_deletion) + _setter("validities", validities) + _setter("version_name", version_name) + _setter("version_number", version_number) @property @pulumi.getter(name="certificateAuthorityId") @@ -4244,8 +5166,19 @@ def __init__(__self__, *, :param str revocation_reason: The reason the certificate or certificate authority (CA) was revoked. :param str time_of_revocation: The time when the entity was revoked, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` """ - pulumi.set(__self__, "revocation_reason", revocation_reason) - pulumi.set(__self__, "time_of_revocation", time_of_revocation) + GetCertificateAuthorityCurrentVersionRevocationStatusResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + revocation_reason=revocation_reason, + time_of_revocation=time_of_revocation, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + revocation_reason: str, + time_of_revocation: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("revocation_reason", revocation_reason) + _setter("time_of_revocation", time_of_revocation) @property @pulumi.getter(name="revocationReason") @@ -4273,8 +5206,19 @@ def __init__(__self__, *, :param str time_of_validity_not_after: The date on which the certificate validity period ends, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` :param str time_of_validity_not_before: The date on which the certificate validity period begins, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` """ - pulumi.set(__self__, "time_of_validity_not_after", time_of_validity_not_after) - pulumi.set(__self__, "time_of_validity_not_before", time_of_validity_not_before) + GetCertificateAuthorityCurrentVersionValidityResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + time_of_validity_not_after=time_of_validity_not_after, + time_of_validity_not_before=time_of_validity_not_before, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + time_of_validity_not_after: str, + time_of_validity_not_before: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("time_of_validity_not_after", time_of_validity_not_after) + _setter("time_of_validity_not_before", time_of_validity_not_before) @property @pulumi.getter(name="timeOfValidityNotAfter") @@ -4332,23 +5276,64 @@ def __init__(__self__, *, :param str title: Title (RDN T or TITLE). :param str user_id: User ID (RDN UID). """ - pulumi.set(__self__, "common_name", common_name) - pulumi.set(__self__, "country", country) - pulumi.set(__self__, "distinguished_name_qualifier", distinguished_name_qualifier) - pulumi.set(__self__, "domain_component", domain_component) - pulumi.set(__self__, "generation_qualifier", generation_qualifier) - pulumi.set(__self__, "given_name", given_name) - pulumi.set(__self__, "initials", initials) - pulumi.set(__self__, "locality_name", locality_name) - pulumi.set(__self__, "organization", organization) - pulumi.set(__self__, "organizational_unit", organizational_unit) - pulumi.set(__self__, "pseudonym", pseudonym) - pulumi.set(__self__, "serial_number", serial_number) - pulumi.set(__self__, "state_or_province_name", state_or_province_name) - pulumi.set(__self__, "street", street) - pulumi.set(__self__, "surname", surname) - pulumi.set(__self__, "title", title) - pulumi.set(__self__, "user_id", user_id) + GetCertificateAuthoritySubjectResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + common_name=common_name, + country=country, + distinguished_name_qualifier=distinguished_name_qualifier, + domain_component=domain_component, + generation_qualifier=generation_qualifier, + given_name=given_name, + initials=initials, + locality_name=locality_name, + organization=organization, + organizational_unit=organizational_unit, + pseudonym=pseudonym, + serial_number=serial_number, + state_or_province_name=state_or_province_name, + street=street, + surname=surname, + title=title, + user_id=user_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + common_name: str, + country: str, + distinguished_name_qualifier: str, + domain_component: str, + generation_qualifier: str, + given_name: str, + initials: str, + locality_name: str, + organization: str, + organizational_unit: str, + pseudonym: str, + serial_number: str, + state_or_province_name: str, + street: str, + surname: str, + title: str, + user_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("common_name", common_name) + _setter("country", country) + _setter("distinguished_name_qualifier", distinguished_name_qualifier) + _setter("domain_component", domain_component) + _setter("generation_qualifier", generation_qualifier) + _setter("given_name", given_name) + _setter("initials", initials) + _setter("locality_name", locality_name) + _setter("organization", organization) + _setter("organizational_unit", organizational_unit) + _setter("pseudonym", pseudonym) + _setter("serial_number", serial_number) + _setter("state_or_province_name", state_or_province_name) + _setter("street", street) + _setter("surname", surname) + _setter("title", title) + _setter("user_id", user_id) @property @pulumi.getter(name="commonName") @@ -4496,8 +5481,19 @@ def __init__(__self__, *, :param str revocation_reason: The reason the certificate or certificate authority (CA) was revoked. :param str time_of_revocation: The time when the entity was revoked, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` """ - pulumi.set(__self__, "revocation_reason", revocation_reason) - pulumi.set(__self__, "time_of_revocation", time_of_revocation) + GetCertificateAuthorityVersionRevocationStatusResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + revocation_reason=revocation_reason, + time_of_revocation=time_of_revocation, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + revocation_reason: str, + time_of_revocation: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("revocation_reason", revocation_reason) + _setter("time_of_revocation", time_of_revocation) @property @pulumi.getter(name="revocationReason") @@ -4521,8 +5517,19 @@ class GetCertificateAuthorityVersionSubjectAlternativeNameResult(dict): def __init__(__self__, *, type: str, value: str): - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetCertificateAuthorityVersionSubjectAlternativeNameResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -4544,8 +5551,19 @@ def __init__(__self__, *, :param str time_of_validity_not_after: The date on which the certificate validity period ends, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` :param str time_of_validity_not_before: The date on which the certificate validity period begins, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` """ - pulumi.set(__self__, "time_of_validity_not_after", time_of_validity_not_after) - pulumi.set(__self__, "time_of_validity_not_before", time_of_validity_not_before) + GetCertificateAuthorityVersionValidityResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + time_of_validity_not_after=time_of_validity_not_after, + time_of_validity_not_before=time_of_validity_not_before, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + time_of_validity_not_after: str, + time_of_validity_not_before: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("time_of_validity_not_after", time_of_validity_not_after) + _setter("time_of_validity_not_before", time_of_validity_not_before) @property @pulumi.getter(name="timeOfValidityNotAfter") @@ -4571,7 +5589,16 @@ def __init__(__self__, *, """ :param Sequence['GetCertificateAuthorityVersionsCertificateAuthorityVersionCollectionItemArgs'] items: A list of certificate authority version summary objects. """ - pulumi.set(__self__, "items", items) + GetCertificateAuthorityVersionsCertificateAuthorityVersionCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetCertificateAuthorityVersionsCertificateAuthorityVersionCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -4607,16 +5634,43 @@ def __init__(__self__, *, :param str version_name: The name of the CA version. When this value is not null, the name is unique across CA versions for a given CA. :param str version_number: A filter that returns only resources that match the specified version number. The default value is 0, which means that this filter is not applied. """ - pulumi.set(__self__, "certificate_authority_id", certificate_authority_id) - pulumi.set(__self__, "issuer_ca_version_number", issuer_ca_version_number) - pulumi.set(__self__, "revocation_statuses", revocation_statuses) - pulumi.set(__self__, "serial_number", serial_number) - pulumi.set(__self__, "stages", stages) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_of_deletion", time_of_deletion) - pulumi.set(__self__, "validities", validities) - pulumi.set(__self__, "version_name", version_name) - pulumi.set(__self__, "version_number", version_number) + GetCertificateAuthorityVersionsCertificateAuthorityVersionCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + certificate_authority_id=certificate_authority_id, + issuer_ca_version_number=issuer_ca_version_number, + revocation_statuses=revocation_statuses, + serial_number=serial_number, + stages=stages, + time_created=time_created, + time_of_deletion=time_of_deletion, + validities=validities, + version_name=version_name, + version_number=version_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + certificate_authority_id: str, + issuer_ca_version_number: str, + revocation_statuses: Sequence['outputs.GetCertificateAuthorityVersionsCertificateAuthorityVersionCollectionItemRevocationStatusResult'], + serial_number: str, + stages: Sequence[str], + time_created: str, + time_of_deletion: str, + validities: Sequence['outputs.GetCertificateAuthorityVersionsCertificateAuthorityVersionCollectionItemValidityResult'], + version_name: str, + version_number: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("certificate_authority_id", certificate_authority_id) + _setter("issuer_ca_version_number", issuer_ca_version_number) + _setter("revocation_statuses", revocation_statuses) + _setter("serial_number", serial_number) + _setter("stages", stages) + _setter("time_created", time_created) + _setter("time_of_deletion", time_of_deletion) + _setter("validities", validities) + _setter("version_name", version_name) + _setter("version_number", version_number) @property @pulumi.getter(name="certificateAuthorityId") @@ -4708,8 +5762,19 @@ def __init__(__self__, *, :param str revocation_reason: The reason the certificate or certificate authority (CA) was revoked. :param str time_of_revocation: The time when the entity was revoked, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` """ - pulumi.set(__self__, "revocation_reason", revocation_reason) - pulumi.set(__self__, "time_of_revocation", time_of_revocation) + GetCertificateAuthorityVersionsCertificateAuthorityVersionCollectionItemRevocationStatusResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + revocation_reason=revocation_reason, + time_of_revocation=time_of_revocation, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + revocation_reason: str, + time_of_revocation: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("revocation_reason", revocation_reason) + _setter("time_of_revocation", time_of_revocation) @property @pulumi.getter(name="revocationReason") @@ -4737,8 +5802,19 @@ def __init__(__self__, *, :param str time_of_validity_not_after: The date on which the certificate validity period ends, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` :param str time_of_validity_not_before: The date on which the certificate validity period begins, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` """ - pulumi.set(__self__, "time_of_validity_not_after", time_of_validity_not_after) - pulumi.set(__self__, "time_of_validity_not_before", time_of_validity_not_before) + GetCertificateAuthorityVersionsCertificateAuthorityVersionCollectionItemValidityResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + time_of_validity_not_after=time_of_validity_not_after, + time_of_validity_not_before=time_of_validity_not_before, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + time_of_validity_not_after: str, + time_of_validity_not_before: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("time_of_validity_not_after", time_of_validity_not_after) + _setter("time_of_validity_not_before", time_of_validity_not_before) @property @pulumi.getter(name="timeOfValidityNotAfter") @@ -4763,10 +5839,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetCertificateAuthorityVersionsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4808,16 +5897,43 @@ def __init__(__self__, *, :param Sequence['GetCertificateCertificateConfigValidityArgs'] validities: An object that describes a period of time during which an entity is valid. If this is not provided when you create a certificate, the validity of the issuing CA is used. :param str version_name: The name of the certificate version. When the value is not null, a name is unique across versions of a given certificate. """ - pulumi.set(__self__, "certificate_profile_type", certificate_profile_type) - pulumi.set(__self__, "config_type", config_type) - pulumi.set(__self__, "csr_pem", csr_pem) - pulumi.set(__self__, "issuer_certificate_authority_id", issuer_certificate_authority_id) - pulumi.set(__self__, "key_algorithm", key_algorithm) - pulumi.set(__self__, "signature_algorithm", signature_algorithm) - pulumi.set(__self__, "subject_alternative_names", subject_alternative_names) - pulumi.set(__self__, "subjects", subjects) - pulumi.set(__self__, "validities", validities) - pulumi.set(__self__, "version_name", version_name) + GetCertificateCertificateConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + certificate_profile_type=certificate_profile_type, + config_type=config_type, + csr_pem=csr_pem, + issuer_certificate_authority_id=issuer_certificate_authority_id, + key_algorithm=key_algorithm, + signature_algorithm=signature_algorithm, + subject_alternative_names=subject_alternative_names, + subjects=subjects, + validities=validities, + version_name=version_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + certificate_profile_type: str, + config_type: str, + csr_pem: str, + issuer_certificate_authority_id: str, + key_algorithm: str, + signature_algorithm: str, + subject_alternative_names: Sequence['outputs.GetCertificateCertificateConfigSubjectAlternativeNameResult'], + subjects: Sequence['outputs.GetCertificateCertificateConfigSubjectResult'], + validities: Sequence['outputs.GetCertificateCertificateConfigValidityResult'], + version_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("certificate_profile_type", certificate_profile_type) + _setter("config_type", config_type) + _setter("csr_pem", csr_pem) + _setter("issuer_certificate_authority_id", issuer_certificate_authority_id) + _setter("key_algorithm", key_algorithm) + _setter("signature_algorithm", signature_algorithm) + _setter("subject_alternative_names", subject_alternative_names) + _setter("subjects", subjects) + _setter("validities", validities) + _setter("version_name", version_name) @property @pulumi.getter(name="certificateProfileType") @@ -4936,23 +6052,64 @@ def __init__(__self__, *, :param str title: Title (RDN T or TITLE). :param str user_id: User ID (RDN UID). """ - pulumi.set(__self__, "common_name", common_name) - pulumi.set(__self__, "country", country) - pulumi.set(__self__, "distinguished_name_qualifier", distinguished_name_qualifier) - pulumi.set(__self__, "domain_component", domain_component) - pulumi.set(__self__, "generation_qualifier", generation_qualifier) - pulumi.set(__self__, "given_name", given_name) - pulumi.set(__self__, "initials", initials) - pulumi.set(__self__, "locality_name", locality_name) - pulumi.set(__self__, "organization", organization) - pulumi.set(__self__, "organizational_unit", organizational_unit) - pulumi.set(__self__, "pseudonym", pseudonym) - pulumi.set(__self__, "serial_number", serial_number) - pulumi.set(__self__, "state_or_province_name", state_or_province_name) - pulumi.set(__self__, "street", street) - pulumi.set(__self__, "surname", surname) - pulumi.set(__self__, "title", title) - pulumi.set(__self__, "user_id", user_id) + GetCertificateCertificateConfigSubjectResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + common_name=common_name, + country=country, + distinguished_name_qualifier=distinguished_name_qualifier, + domain_component=domain_component, + generation_qualifier=generation_qualifier, + given_name=given_name, + initials=initials, + locality_name=locality_name, + organization=organization, + organizational_unit=organizational_unit, + pseudonym=pseudonym, + serial_number=serial_number, + state_or_province_name=state_or_province_name, + street=street, + surname=surname, + title=title, + user_id=user_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + common_name: str, + country: str, + distinguished_name_qualifier: str, + domain_component: str, + generation_qualifier: str, + given_name: str, + initials: str, + locality_name: str, + organization: str, + organizational_unit: str, + pseudonym: str, + serial_number: str, + state_or_province_name: str, + street: str, + surname: str, + title: str, + user_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("common_name", common_name) + _setter("country", country) + _setter("distinguished_name_qualifier", distinguished_name_qualifier) + _setter("domain_component", domain_component) + _setter("generation_qualifier", generation_qualifier) + _setter("given_name", given_name) + _setter("initials", initials) + _setter("locality_name", locality_name) + _setter("organization", organization) + _setter("organizational_unit", organizational_unit) + _setter("pseudonym", pseudonym) + _setter("serial_number", serial_number) + _setter("state_or_province_name", state_or_province_name) + _setter("street", street) + _setter("surname", surname) + _setter("title", title) + _setter("user_id", user_id) @property @pulumi.getter(name="commonName") @@ -5100,8 +6257,19 @@ def __init__(__self__, *, :param str type: The subject alternative name type. Currently only DNS domain or host names and IP addresses are supported. :param str value: The subject alternative name. """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetCertificateCertificateConfigSubjectAlternativeNameResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -5129,8 +6297,19 @@ def __init__(__self__, *, :param str time_of_validity_not_after: The date on which the certificate validity period ends, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` :param str time_of_validity_not_before: The date on which the certificate validity period begins, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` """ - pulumi.set(__self__, "time_of_validity_not_after", time_of_validity_not_after) - pulumi.set(__self__, "time_of_validity_not_before", time_of_validity_not_before) + GetCertificateCertificateConfigValidityResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + time_of_validity_not_after=time_of_validity_not_after, + time_of_validity_not_before=time_of_validity_not_before, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + time_of_validity_not_after: str, + time_of_validity_not_before: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("time_of_validity_not_after", time_of_validity_not_after) + _setter("time_of_validity_not_before", time_of_validity_not_before) @property @pulumi.getter(name="timeOfValidityNotAfter") @@ -5158,8 +6337,19 @@ def __init__(__self__, *, :param Sequence[str] custom_formatted_urls: Optional CRL access points, expressed using a format where the version number of the issuing CA is inserted wherever you include a pair of curly braces. This versioning scheme helps avoid collisions when new CA versions are created. For example, myCrlFileIssuedFromCAVersion{}.crl becomes myCrlFileIssuedFromCAVersion2.crl for CA version 2. :param Sequence['GetCertificateCertificateRevocationListDetailObjectStorageConfigArgs'] object_storage_configs: The details of the Object Storage bucket configured to store the certificate revocation list (CRL). """ - pulumi.set(__self__, "custom_formatted_urls", custom_formatted_urls) - pulumi.set(__self__, "object_storage_configs", object_storage_configs) + GetCertificateCertificateRevocationListDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_formatted_urls=custom_formatted_urls, + object_storage_configs=object_storage_configs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_formatted_urls: Sequence[str], + object_storage_configs: Sequence['outputs.GetCertificateCertificateRevocationListDetailObjectStorageConfigResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("custom_formatted_urls", custom_formatted_urls) + _setter("object_storage_configs", object_storage_configs) @property @pulumi.getter(name="customFormattedUrls") @@ -5189,9 +6379,22 @@ def __init__(__self__, *, :param str object_storage_namespace: The tenancy of the bucket where the CRL is stored. :param str object_storage_object_name_format: The object name in the bucket where the CRL is stored, expressed using a format where the version number of the issuing CA is inserted as part of the Object Storage object name wherever you include a pair of curly braces. This versioning scheme helps avoid collisions when new CA versions are created. For example, myCrlFileIssuedFromCAVersion{}.crl becomes myCrlFileIssuedFromCAVersion2.crl for CA version 2. """ - pulumi.set(__self__, "object_storage_bucket_name", object_storage_bucket_name) - pulumi.set(__self__, "object_storage_namespace", object_storage_namespace) - pulumi.set(__self__, "object_storage_object_name_format", object_storage_object_name_format) + GetCertificateCertificateRevocationListDetailObjectStorageConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + object_storage_bucket_name=object_storage_bucket_name, + object_storage_namespace=object_storage_namespace, + object_storage_object_name_format=object_storage_object_name_format, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + object_storage_bucket_name: str, + object_storage_namespace: str, + object_storage_object_name_format: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("object_storage_bucket_name", object_storage_bucket_name) + _setter("object_storage_namespace", object_storage_namespace) + _setter("object_storage_object_name_format", object_storage_object_name_format) @property @pulumi.getter(name="objectStorageBucketName") @@ -5229,9 +6432,22 @@ def __init__(__self__, *, :param str renewal_interval: A property specifying how often, in days, a certificate should be renewed. Expressed in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Time_intervals) format. :param str rule_type: The type of rule. """ - pulumi.set(__self__, "advance_renewal_period", advance_renewal_period) - pulumi.set(__self__, "renewal_interval", renewal_interval) - pulumi.set(__self__, "rule_type", rule_type) + GetCertificateCertificateRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + advance_renewal_period=advance_renewal_period, + renewal_interval=renewal_interval, + rule_type=rule_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + advance_renewal_period: str, + renewal_interval: str, + rule_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("advance_renewal_period", advance_renewal_period) + _setter("renewal_interval", renewal_interval) + _setter("rule_type", rule_type) @property @pulumi.getter(name="advanceRenewalPeriod") @@ -5285,17 +6501,46 @@ def __init__(__self__, *, :param str version_name: The name of the certificate version. When the value is not null, a name is unique across versions of a given certificate. :param str version_number: The version number of the certificate. """ - pulumi.set(__self__, "certificate_id", certificate_id) - pulumi.set(__self__, "issuer_ca_version_number", issuer_ca_version_number) - pulumi.set(__self__, "revocation_statuses", revocation_statuses) - pulumi.set(__self__, "serial_number", serial_number) - pulumi.set(__self__, "stages", stages) - pulumi.set(__self__, "subject_alternative_names", subject_alternative_names) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_of_deletion", time_of_deletion) - pulumi.set(__self__, "validities", validities) - pulumi.set(__self__, "version_name", version_name) - pulumi.set(__self__, "version_number", version_number) + GetCertificateCurrentVersionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + certificate_id=certificate_id, + issuer_ca_version_number=issuer_ca_version_number, + revocation_statuses=revocation_statuses, + serial_number=serial_number, + stages=stages, + subject_alternative_names=subject_alternative_names, + time_created=time_created, + time_of_deletion=time_of_deletion, + validities=validities, + version_name=version_name, + version_number=version_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + certificate_id: str, + issuer_ca_version_number: str, + revocation_statuses: Sequence['outputs.GetCertificateCurrentVersionRevocationStatusResult'], + serial_number: str, + stages: Sequence[str], + subject_alternative_names: Sequence['outputs.GetCertificateCurrentVersionSubjectAlternativeNameResult'], + time_created: str, + time_of_deletion: str, + validities: Sequence['outputs.GetCertificateCurrentVersionValidityResult'], + version_name: str, + version_number: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("certificate_id", certificate_id) + _setter("issuer_ca_version_number", issuer_ca_version_number) + _setter("revocation_statuses", revocation_statuses) + _setter("serial_number", serial_number) + _setter("stages", stages) + _setter("subject_alternative_names", subject_alternative_names) + _setter("time_created", time_created) + _setter("time_of_deletion", time_of_deletion) + _setter("validities", validities) + _setter("version_name", version_name) + _setter("version_number", version_number) @property @pulumi.getter(name="certificateId") @@ -5395,8 +6640,19 @@ def __init__(__self__, *, :param str revocation_reason: The reason the certificate or certificate authority (CA) was revoked. :param str time_of_revocation: The time when the entity was revoked, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` """ - pulumi.set(__self__, "revocation_reason", revocation_reason) - pulumi.set(__self__, "time_of_revocation", time_of_revocation) + GetCertificateCurrentVersionRevocationStatusResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + revocation_reason=revocation_reason, + time_of_revocation=time_of_revocation, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + revocation_reason: str, + time_of_revocation: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("revocation_reason", revocation_reason) + _setter("time_of_revocation", time_of_revocation) @property @pulumi.getter(name="revocationReason") @@ -5424,8 +6680,19 @@ def __init__(__self__, *, :param str type: The subject alternative name type. Currently only DNS domain or host names and IP addresses are supported. :param str value: The subject alternative name. """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetCertificateCurrentVersionSubjectAlternativeNameResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -5453,8 +6720,19 @@ def __init__(__self__, *, :param str time_of_validity_not_after: The date on which the certificate validity period ends, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` :param str time_of_validity_not_before: The date on which the certificate validity period begins, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` """ - pulumi.set(__self__, "time_of_validity_not_after", time_of_validity_not_after) - pulumi.set(__self__, "time_of_validity_not_before", time_of_validity_not_before) + GetCertificateCurrentVersionValidityResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + time_of_validity_not_after=time_of_validity_not_after, + time_of_validity_not_before=time_of_validity_not_before, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + time_of_validity_not_after: str, + time_of_validity_not_before: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("time_of_validity_not_after", time_of_validity_not_after) + _setter("time_of_validity_not_before", time_of_validity_not_before) @property @pulumi.getter(name="timeOfValidityNotAfter") @@ -5512,23 +6790,64 @@ def __init__(__self__, *, :param str title: Title (RDN T or TITLE). :param str user_id: User ID (RDN UID). """ - pulumi.set(__self__, "common_name", common_name) - pulumi.set(__self__, "country", country) - pulumi.set(__self__, "distinguished_name_qualifier", distinguished_name_qualifier) - pulumi.set(__self__, "domain_component", domain_component) - pulumi.set(__self__, "generation_qualifier", generation_qualifier) - pulumi.set(__self__, "given_name", given_name) - pulumi.set(__self__, "initials", initials) - pulumi.set(__self__, "locality_name", locality_name) - pulumi.set(__self__, "organization", organization) - pulumi.set(__self__, "organizational_unit", organizational_unit) - pulumi.set(__self__, "pseudonym", pseudonym) - pulumi.set(__self__, "serial_number", serial_number) - pulumi.set(__self__, "state_or_province_name", state_or_province_name) - pulumi.set(__self__, "street", street) - pulumi.set(__self__, "surname", surname) - pulumi.set(__self__, "title", title) - pulumi.set(__self__, "user_id", user_id) + GetCertificateSubjectResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + common_name=common_name, + country=country, + distinguished_name_qualifier=distinguished_name_qualifier, + domain_component=domain_component, + generation_qualifier=generation_qualifier, + given_name=given_name, + initials=initials, + locality_name=locality_name, + organization=organization, + organizational_unit=organizational_unit, + pseudonym=pseudonym, + serial_number=serial_number, + state_or_province_name=state_or_province_name, + street=street, + surname=surname, + title=title, + user_id=user_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + common_name: str, + country: str, + distinguished_name_qualifier: str, + domain_component: str, + generation_qualifier: str, + given_name: str, + initials: str, + locality_name: str, + organization: str, + organizational_unit: str, + pseudonym: str, + serial_number: str, + state_or_province_name: str, + street: str, + surname: str, + title: str, + user_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("common_name", common_name) + _setter("country", country) + _setter("distinguished_name_qualifier", distinguished_name_qualifier) + _setter("domain_component", domain_component) + _setter("generation_qualifier", generation_qualifier) + _setter("given_name", given_name) + _setter("initials", initials) + _setter("locality_name", locality_name) + _setter("organization", organization) + _setter("organizational_unit", organizational_unit) + _setter("pseudonym", pseudonym) + _setter("serial_number", serial_number) + _setter("state_or_province_name", state_or_province_name) + _setter("street", street) + _setter("surname", surname) + _setter("title", title) + _setter("user_id", user_id) @property @pulumi.getter(name="commonName") @@ -5676,8 +6995,19 @@ def __init__(__self__, *, :param str revocation_reason: The reason the certificate or certificate authority (CA) was revoked. :param str time_of_revocation: The time when the entity was revoked, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` """ - pulumi.set(__self__, "revocation_reason", revocation_reason) - pulumi.set(__self__, "time_of_revocation", time_of_revocation) + GetCertificateVersionRevocationStatusResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + revocation_reason=revocation_reason, + time_of_revocation=time_of_revocation, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + revocation_reason: str, + time_of_revocation: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("revocation_reason", revocation_reason) + _setter("time_of_revocation", time_of_revocation) @property @pulumi.getter(name="revocationReason") @@ -5705,8 +7035,19 @@ def __init__(__self__, *, :param str type: The subject alternative name type. Currently only DNS domain or host names and IP addresses are supported. :param str value: The subject alternative name. """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetCertificateVersionSubjectAlternativeNameResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -5734,8 +7075,19 @@ def __init__(__self__, *, :param str time_of_validity_not_after: The date on which the certificate validity period ends, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` :param str time_of_validity_not_before: The date on which the certificate validity period begins, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` """ - pulumi.set(__self__, "time_of_validity_not_after", time_of_validity_not_after) - pulumi.set(__self__, "time_of_validity_not_before", time_of_validity_not_before) + GetCertificateVersionValidityResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + time_of_validity_not_after=time_of_validity_not_after, + time_of_validity_not_before=time_of_validity_not_before, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + time_of_validity_not_after: str, + time_of_validity_not_before: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("time_of_validity_not_after", time_of_validity_not_after) + _setter("time_of_validity_not_before", time_of_validity_not_before) @property @pulumi.getter(name="timeOfValidityNotAfter") @@ -5761,7 +7113,16 @@ def __init__(__self__, *, """ :param Sequence['GetCertificateVersionsCertificateVersionCollectionItemArgs'] items: A list of certificate version summary objects. """ - pulumi.set(__self__, "items", items) + GetCertificateVersionsCertificateVersionCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetCertificateVersionsCertificateVersionCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -5799,17 +7160,46 @@ def __init__(__self__, *, :param str version_name: The name of the certificate version. When the value is not null, a name is unique across versions of a given certificate. :param str version_number: A filter that returns only resources that match the specified version number. The default value is 0, which means that this filter is not applied. """ - pulumi.set(__self__, "certificate_id", certificate_id) - pulumi.set(__self__, "issuer_ca_version_number", issuer_ca_version_number) - pulumi.set(__self__, "revocation_statuses", revocation_statuses) - pulumi.set(__self__, "serial_number", serial_number) - pulumi.set(__self__, "stages", stages) - pulumi.set(__self__, "subject_alternative_names", subject_alternative_names) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_of_deletion", time_of_deletion) - pulumi.set(__self__, "validities", validities) - pulumi.set(__self__, "version_name", version_name) - pulumi.set(__self__, "version_number", version_number) + GetCertificateVersionsCertificateVersionCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + certificate_id=certificate_id, + issuer_ca_version_number=issuer_ca_version_number, + revocation_statuses=revocation_statuses, + serial_number=serial_number, + stages=stages, + subject_alternative_names=subject_alternative_names, + time_created=time_created, + time_of_deletion=time_of_deletion, + validities=validities, + version_name=version_name, + version_number=version_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + certificate_id: str, + issuer_ca_version_number: str, + revocation_statuses: Sequence['outputs.GetCertificateVersionsCertificateVersionCollectionItemRevocationStatusResult'], + serial_number: str, + stages: Sequence[str], + subject_alternative_names: Sequence['outputs.GetCertificateVersionsCertificateVersionCollectionItemSubjectAlternativeNameResult'], + time_created: str, + time_of_deletion: str, + validities: Sequence['outputs.GetCertificateVersionsCertificateVersionCollectionItemValidityResult'], + version_name: str, + version_number: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("certificate_id", certificate_id) + _setter("issuer_ca_version_number", issuer_ca_version_number) + _setter("revocation_statuses", revocation_statuses) + _setter("serial_number", serial_number) + _setter("stages", stages) + _setter("subject_alternative_names", subject_alternative_names) + _setter("time_created", time_created) + _setter("time_of_deletion", time_of_deletion) + _setter("validities", validities) + _setter("version_name", version_name) + _setter("version_number", version_number) @property @pulumi.getter(name="certificateId") @@ -5909,8 +7299,19 @@ def __init__(__self__, *, :param str revocation_reason: The reason the certificate or certificate authority (CA) was revoked. :param str time_of_revocation: The time when the entity was revoked, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` """ - pulumi.set(__self__, "revocation_reason", revocation_reason) - pulumi.set(__self__, "time_of_revocation", time_of_revocation) + GetCertificateVersionsCertificateVersionCollectionItemRevocationStatusResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + revocation_reason=revocation_reason, + time_of_revocation=time_of_revocation, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + revocation_reason: str, + time_of_revocation: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("revocation_reason", revocation_reason) + _setter("time_of_revocation", time_of_revocation) @property @pulumi.getter(name="revocationReason") @@ -5938,8 +7339,19 @@ def __init__(__self__, *, :param str type: The subject alternative name type. Currently only DNS domain or host names and IP addresses are supported. :param str value: The subject alternative name. """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetCertificateVersionsCertificateVersionCollectionItemSubjectAlternativeNameResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -5967,8 +7379,19 @@ def __init__(__self__, *, :param str time_of_validity_not_after: The date on which the certificate validity period ends, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` :param str time_of_validity_not_before: The date on which the certificate validity period begins, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` """ - pulumi.set(__self__, "time_of_validity_not_after", time_of_validity_not_after) - pulumi.set(__self__, "time_of_validity_not_before", time_of_validity_not_before) + GetCertificateVersionsCertificateVersionCollectionItemValidityResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + time_of_validity_not_after=time_of_validity_not_after, + time_of_validity_not_before=time_of_validity_not_before, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + time_of_validity_not_after: str, + time_of_validity_not_before: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("time_of_validity_not_after", time_of_validity_not_after) + _setter("time_of_validity_not_before", time_of_validity_not_before) @property @pulumi.getter(name="timeOfValidityNotAfter") @@ -5993,10 +7416,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetCertificateVersionsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -6018,7 +7454,16 @@ def regex(self) -> Optional[bool]: class GetCertificatesCertificateCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetCertificatesCertificateCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetCertificatesCertificateCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetCertificatesCertificateCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -6070,26 +7515,73 @@ def __init__(__self__, *, :param str time_created: A property indicating when the certificate was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` :param str time_of_deletion: An optional property indicating when to delete the certificate version, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` """ - pulumi.set(__self__, "certificate_configs", certificate_configs) - pulumi.set(__self__, "certificate_profile_type", certificate_profile_type) - pulumi.set(__self__, "certificate_revocation_list_details", certificate_revocation_list_details) - pulumi.set(__self__, "certificate_rules", certificate_rules) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "config_type", config_type) - pulumi.set(__self__, "current_versions", current_versions) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "issuer_certificate_authority_id", issuer_certificate_authority_id) - pulumi.set(__self__, "key_algorithm", key_algorithm) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "signature_algorithm", signature_algorithm) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "subjects", subjects) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_of_deletion", time_of_deletion) + GetCertificatesCertificateCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + certificate_configs=certificate_configs, + certificate_profile_type=certificate_profile_type, + certificate_revocation_list_details=certificate_revocation_list_details, + certificate_rules=certificate_rules, + compartment_id=compartment_id, + config_type=config_type, + current_versions=current_versions, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + id=id, + issuer_certificate_authority_id=issuer_certificate_authority_id, + key_algorithm=key_algorithm, + lifecycle_details=lifecycle_details, + name=name, + signature_algorithm=signature_algorithm, + state=state, + subjects=subjects, + time_created=time_created, + time_of_deletion=time_of_deletion, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + certificate_configs: Sequence['outputs.GetCertificatesCertificateCollectionItemCertificateConfigResult'], + certificate_profile_type: str, + certificate_revocation_list_details: Sequence['outputs.GetCertificatesCertificateCollectionItemCertificateRevocationListDetailResult'], + certificate_rules: Sequence['outputs.GetCertificatesCertificateCollectionItemCertificateRuleResult'], + compartment_id: str, + config_type: str, + current_versions: Sequence['outputs.GetCertificatesCertificateCollectionItemCurrentVersionResult'], + defined_tags: Mapping[str, Any], + description: str, + freeform_tags: Mapping[str, Any], + id: str, + issuer_certificate_authority_id: str, + key_algorithm: str, + lifecycle_details: str, + name: str, + signature_algorithm: str, + state: str, + subjects: Sequence['outputs.GetCertificatesCertificateCollectionItemSubjectResult'], + time_created: str, + time_of_deletion: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("certificate_configs", certificate_configs) + _setter("certificate_profile_type", certificate_profile_type) + _setter("certificate_revocation_list_details", certificate_revocation_list_details) + _setter("certificate_rules", certificate_rules) + _setter("compartment_id", compartment_id) + _setter("config_type", config_type) + _setter("current_versions", current_versions) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("issuer_certificate_authority_id", issuer_certificate_authority_id) + _setter("key_algorithm", key_algorithm) + _setter("lifecycle_details", lifecycle_details) + _setter("name", name) + _setter("signature_algorithm", signature_algorithm) + _setter("state", state) + _setter("subjects", subjects) + _setter("time_created", time_created) + _setter("time_of_deletion", time_of_deletion) @property @pulumi.getter(name="certificateConfigs") @@ -6273,16 +7765,43 @@ def __init__(__self__, *, :param Sequence['GetCertificatesCertificateCollectionItemCertificateConfigValidityArgs'] validities: An object that describes a period of time during which an entity is valid. If this is not provided when you create a certificate, the validity of the issuing CA is used. :param str version_name: The name of the certificate version. When the value is not null, a name is unique across versions of a given certificate. """ - pulumi.set(__self__, "certificate_profile_type", certificate_profile_type) - pulumi.set(__self__, "config_type", config_type) - pulumi.set(__self__, "csr_pem", csr_pem) - pulumi.set(__self__, "issuer_certificate_authority_id", issuer_certificate_authority_id) - pulumi.set(__self__, "key_algorithm", key_algorithm) - pulumi.set(__self__, "signature_algorithm", signature_algorithm) - pulumi.set(__self__, "subject_alternative_names", subject_alternative_names) - pulumi.set(__self__, "subjects", subjects) - pulumi.set(__self__, "validities", validities) - pulumi.set(__self__, "version_name", version_name) + GetCertificatesCertificateCollectionItemCertificateConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + certificate_profile_type=certificate_profile_type, + config_type=config_type, + csr_pem=csr_pem, + issuer_certificate_authority_id=issuer_certificate_authority_id, + key_algorithm=key_algorithm, + signature_algorithm=signature_algorithm, + subject_alternative_names=subject_alternative_names, + subjects=subjects, + validities=validities, + version_name=version_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + certificate_profile_type: str, + config_type: str, + csr_pem: str, + issuer_certificate_authority_id: str, + key_algorithm: str, + signature_algorithm: str, + subject_alternative_names: Sequence['outputs.GetCertificatesCertificateCollectionItemCertificateConfigSubjectAlternativeNameResult'], + subjects: Sequence['outputs.GetCertificatesCertificateCollectionItemCertificateConfigSubjectResult'], + validities: Sequence['outputs.GetCertificatesCertificateCollectionItemCertificateConfigValidityResult'], + version_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("certificate_profile_type", certificate_profile_type) + _setter("config_type", config_type) + _setter("csr_pem", csr_pem) + _setter("issuer_certificate_authority_id", issuer_certificate_authority_id) + _setter("key_algorithm", key_algorithm) + _setter("signature_algorithm", signature_algorithm) + _setter("subject_alternative_names", subject_alternative_names) + _setter("subjects", subjects) + _setter("validities", validities) + _setter("version_name", version_name) @property @pulumi.getter(name="certificateProfileType") @@ -6401,23 +7920,64 @@ def __init__(__self__, *, :param str title: Title (RDN T or TITLE). :param str user_id: User ID (RDN UID). """ - pulumi.set(__self__, "common_name", common_name) - pulumi.set(__self__, "country", country) - pulumi.set(__self__, "distinguished_name_qualifier", distinguished_name_qualifier) - pulumi.set(__self__, "domain_component", domain_component) - pulumi.set(__self__, "generation_qualifier", generation_qualifier) - pulumi.set(__self__, "given_name", given_name) - pulumi.set(__self__, "initials", initials) - pulumi.set(__self__, "locality_name", locality_name) - pulumi.set(__self__, "organization", organization) - pulumi.set(__self__, "organizational_unit", organizational_unit) - pulumi.set(__self__, "pseudonym", pseudonym) - pulumi.set(__self__, "serial_number", serial_number) - pulumi.set(__self__, "state_or_province_name", state_or_province_name) - pulumi.set(__self__, "street", street) - pulumi.set(__self__, "surname", surname) - pulumi.set(__self__, "title", title) - pulumi.set(__self__, "user_id", user_id) + GetCertificatesCertificateCollectionItemCertificateConfigSubjectResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + common_name=common_name, + country=country, + distinguished_name_qualifier=distinguished_name_qualifier, + domain_component=domain_component, + generation_qualifier=generation_qualifier, + given_name=given_name, + initials=initials, + locality_name=locality_name, + organization=organization, + organizational_unit=organizational_unit, + pseudonym=pseudonym, + serial_number=serial_number, + state_or_province_name=state_or_province_name, + street=street, + surname=surname, + title=title, + user_id=user_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + common_name: str, + country: str, + distinguished_name_qualifier: str, + domain_component: str, + generation_qualifier: str, + given_name: str, + initials: str, + locality_name: str, + organization: str, + organizational_unit: str, + pseudonym: str, + serial_number: str, + state_or_province_name: str, + street: str, + surname: str, + title: str, + user_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("common_name", common_name) + _setter("country", country) + _setter("distinguished_name_qualifier", distinguished_name_qualifier) + _setter("domain_component", domain_component) + _setter("generation_qualifier", generation_qualifier) + _setter("given_name", given_name) + _setter("initials", initials) + _setter("locality_name", locality_name) + _setter("organization", organization) + _setter("organizational_unit", organizational_unit) + _setter("pseudonym", pseudonym) + _setter("serial_number", serial_number) + _setter("state_or_province_name", state_or_province_name) + _setter("street", street) + _setter("surname", surname) + _setter("title", title) + _setter("user_id", user_id) @property @pulumi.getter(name="commonName") @@ -6565,8 +8125,19 @@ def __init__(__self__, *, :param str type: The subject alternative name type. Currently only DNS domain or host names and IP addresses are supported. :param str value: The subject alternative name. """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetCertificatesCertificateCollectionItemCertificateConfigSubjectAlternativeNameResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -6594,8 +8165,19 @@ def __init__(__self__, *, :param str time_of_validity_not_after: The date on which the certificate validity period ends, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` :param str time_of_validity_not_before: The date on which the certificate validity period begins, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` """ - pulumi.set(__self__, "time_of_validity_not_after", time_of_validity_not_after) - pulumi.set(__self__, "time_of_validity_not_before", time_of_validity_not_before) + GetCertificatesCertificateCollectionItemCertificateConfigValidityResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + time_of_validity_not_after=time_of_validity_not_after, + time_of_validity_not_before=time_of_validity_not_before, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + time_of_validity_not_after: str, + time_of_validity_not_before: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("time_of_validity_not_after", time_of_validity_not_after) + _setter("time_of_validity_not_before", time_of_validity_not_before) @property @pulumi.getter(name="timeOfValidityNotAfter") @@ -6623,8 +8205,19 @@ def __init__(__self__, *, :param Sequence[str] custom_formatted_urls: Optional CRL access points, expressed using a format where the version number of the issuing CA is inserted wherever you include a pair of curly braces. This versioning scheme helps avoid collisions when new CA versions are created. For example, myCrlFileIssuedFromCAVersion{}.crl becomes myCrlFileIssuedFromCAVersion2.crl for CA version 2. :param Sequence['GetCertificatesCertificateCollectionItemCertificateRevocationListDetailObjectStorageConfigArgs'] object_storage_configs: The details of the Object Storage bucket configured to store the certificate revocation list (CRL). """ - pulumi.set(__self__, "custom_formatted_urls", custom_formatted_urls) - pulumi.set(__self__, "object_storage_configs", object_storage_configs) + GetCertificatesCertificateCollectionItemCertificateRevocationListDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_formatted_urls=custom_formatted_urls, + object_storage_configs=object_storage_configs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_formatted_urls: Sequence[str], + object_storage_configs: Sequence['outputs.GetCertificatesCertificateCollectionItemCertificateRevocationListDetailObjectStorageConfigResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("custom_formatted_urls", custom_formatted_urls) + _setter("object_storage_configs", object_storage_configs) @property @pulumi.getter(name="customFormattedUrls") @@ -6654,9 +8247,22 @@ def __init__(__self__, *, :param str object_storage_namespace: The tenancy of the bucket where the CRL is stored. :param str object_storage_object_name_format: The object name in the bucket where the CRL is stored, expressed using a format where the version number of the issuing CA is inserted as part of the Object Storage object name wherever you include a pair of curly braces. This versioning scheme helps avoid collisions when new CA versions are created. For example, myCrlFileIssuedFromCAVersion{}.crl becomes myCrlFileIssuedFromCAVersion2.crl for CA version 2. """ - pulumi.set(__self__, "object_storage_bucket_name", object_storage_bucket_name) - pulumi.set(__self__, "object_storage_namespace", object_storage_namespace) - pulumi.set(__self__, "object_storage_object_name_format", object_storage_object_name_format) + GetCertificatesCertificateCollectionItemCertificateRevocationListDetailObjectStorageConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + object_storage_bucket_name=object_storage_bucket_name, + object_storage_namespace=object_storage_namespace, + object_storage_object_name_format=object_storage_object_name_format, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + object_storage_bucket_name: str, + object_storage_namespace: str, + object_storage_object_name_format: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("object_storage_bucket_name", object_storage_bucket_name) + _setter("object_storage_namespace", object_storage_namespace) + _setter("object_storage_object_name_format", object_storage_object_name_format) @property @pulumi.getter(name="objectStorageBucketName") @@ -6694,9 +8300,22 @@ def __init__(__self__, *, :param str renewal_interval: A property specifying how often, in days, a certificate should be renewed. Expressed in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Time_intervals) format. :param str rule_type: The type of rule. """ - pulumi.set(__self__, "advance_renewal_period", advance_renewal_period) - pulumi.set(__self__, "renewal_interval", renewal_interval) - pulumi.set(__self__, "rule_type", rule_type) + GetCertificatesCertificateCollectionItemCertificateRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + advance_renewal_period=advance_renewal_period, + renewal_interval=renewal_interval, + rule_type=rule_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + advance_renewal_period: str, + renewal_interval: str, + rule_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("advance_renewal_period", advance_renewal_period) + _setter("renewal_interval", renewal_interval) + _setter("rule_type", rule_type) @property @pulumi.getter(name="advanceRenewalPeriod") @@ -6750,17 +8369,46 @@ def __init__(__self__, *, :param str version_name: The name of the certificate version. When the value is not null, a name is unique across versions of a given certificate. :param str version_number: The version number of the certificate. """ - pulumi.set(__self__, "certificate_id", certificate_id) - pulumi.set(__self__, "issuer_ca_version_number", issuer_ca_version_number) - pulumi.set(__self__, "revocation_statuses", revocation_statuses) - pulumi.set(__self__, "serial_number", serial_number) - pulumi.set(__self__, "stages", stages) - pulumi.set(__self__, "subject_alternative_names", subject_alternative_names) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_of_deletion", time_of_deletion) - pulumi.set(__self__, "validities", validities) - pulumi.set(__self__, "version_name", version_name) - pulumi.set(__self__, "version_number", version_number) + GetCertificatesCertificateCollectionItemCurrentVersionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + certificate_id=certificate_id, + issuer_ca_version_number=issuer_ca_version_number, + revocation_statuses=revocation_statuses, + serial_number=serial_number, + stages=stages, + subject_alternative_names=subject_alternative_names, + time_created=time_created, + time_of_deletion=time_of_deletion, + validities=validities, + version_name=version_name, + version_number=version_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + certificate_id: str, + issuer_ca_version_number: str, + revocation_statuses: Sequence['outputs.GetCertificatesCertificateCollectionItemCurrentVersionRevocationStatusResult'], + serial_number: str, + stages: Sequence[str], + subject_alternative_names: Sequence['outputs.GetCertificatesCertificateCollectionItemCurrentVersionSubjectAlternativeNameResult'], + time_created: str, + time_of_deletion: str, + validities: Sequence['outputs.GetCertificatesCertificateCollectionItemCurrentVersionValidityResult'], + version_name: str, + version_number: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("certificate_id", certificate_id) + _setter("issuer_ca_version_number", issuer_ca_version_number) + _setter("revocation_statuses", revocation_statuses) + _setter("serial_number", serial_number) + _setter("stages", stages) + _setter("subject_alternative_names", subject_alternative_names) + _setter("time_created", time_created) + _setter("time_of_deletion", time_of_deletion) + _setter("validities", validities) + _setter("version_name", version_name) + _setter("version_number", version_number) @property @pulumi.getter(name="certificateId") @@ -6860,8 +8508,19 @@ def __init__(__self__, *, :param str revocation_reason: The reason the certificate or certificate authority (CA) was revoked. :param str time_of_revocation: The time when the entity was revoked, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` """ - pulumi.set(__self__, "revocation_reason", revocation_reason) - pulumi.set(__self__, "time_of_revocation", time_of_revocation) + GetCertificatesCertificateCollectionItemCurrentVersionRevocationStatusResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + revocation_reason=revocation_reason, + time_of_revocation=time_of_revocation, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + revocation_reason: str, + time_of_revocation: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("revocation_reason", revocation_reason) + _setter("time_of_revocation", time_of_revocation) @property @pulumi.getter(name="revocationReason") @@ -6889,8 +8548,19 @@ def __init__(__self__, *, :param str type: The subject alternative name type. Currently only DNS domain or host names and IP addresses are supported. :param str value: The subject alternative name. """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetCertificatesCertificateCollectionItemCurrentVersionSubjectAlternativeNameResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -6918,8 +8588,19 @@ def __init__(__self__, *, :param str time_of_validity_not_after: The date on which the certificate validity period ends, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` :param str time_of_validity_not_before: The date on which the certificate validity period begins, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` """ - pulumi.set(__self__, "time_of_validity_not_after", time_of_validity_not_after) - pulumi.set(__self__, "time_of_validity_not_before", time_of_validity_not_before) + GetCertificatesCertificateCollectionItemCurrentVersionValidityResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + time_of_validity_not_after=time_of_validity_not_after, + time_of_validity_not_before=time_of_validity_not_before, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + time_of_validity_not_after: str, + time_of_validity_not_before: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("time_of_validity_not_after", time_of_validity_not_after) + _setter("time_of_validity_not_before", time_of_validity_not_before) @property @pulumi.getter(name="timeOfValidityNotAfter") @@ -6977,23 +8658,64 @@ def __init__(__self__, *, :param str title: Title (RDN T or TITLE). :param str user_id: User ID (RDN UID). """ - pulumi.set(__self__, "common_name", common_name) - pulumi.set(__self__, "country", country) - pulumi.set(__self__, "distinguished_name_qualifier", distinguished_name_qualifier) - pulumi.set(__self__, "domain_component", domain_component) - pulumi.set(__self__, "generation_qualifier", generation_qualifier) - pulumi.set(__self__, "given_name", given_name) - pulumi.set(__self__, "initials", initials) - pulumi.set(__self__, "locality_name", locality_name) - pulumi.set(__self__, "organization", organization) - pulumi.set(__self__, "organizational_unit", organizational_unit) - pulumi.set(__self__, "pseudonym", pseudonym) - pulumi.set(__self__, "serial_number", serial_number) - pulumi.set(__self__, "state_or_province_name", state_or_province_name) - pulumi.set(__self__, "street", street) - pulumi.set(__self__, "surname", surname) - pulumi.set(__self__, "title", title) - pulumi.set(__self__, "user_id", user_id) + GetCertificatesCertificateCollectionItemSubjectResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + common_name=common_name, + country=country, + distinguished_name_qualifier=distinguished_name_qualifier, + domain_component=domain_component, + generation_qualifier=generation_qualifier, + given_name=given_name, + initials=initials, + locality_name=locality_name, + organization=organization, + organizational_unit=organizational_unit, + pseudonym=pseudonym, + serial_number=serial_number, + state_or_province_name=state_or_province_name, + street=street, + surname=surname, + title=title, + user_id=user_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + common_name: str, + country: str, + distinguished_name_qualifier: str, + domain_component: str, + generation_qualifier: str, + given_name: str, + initials: str, + locality_name: str, + organization: str, + organizational_unit: str, + pseudonym: str, + serial_number: str, + state_or_province_name: str, + street: str, + surname: str, + title: str, + user_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("common_name", common_name) + _setter("country", country) + _setter("distinguished_name_qualifier", distinguished_name_qualifier) + _setter("domain_component", domain_component) + _setter("generation_qualifier", generation_qualifier) + _setter("given_name", given_name) + _setter("initials", initials) + _setter("locality_name", locality_name) + _setter("organization", organization) + _setter("organizational_unit", organizational_unit) + _setter("pseudonym", pseudonym) + _setter("serial_number", serial_number) + _setter("state_or_province_name", state_or_province_name) + _setter("street", street) + _setter("surname", surname) + _setter("title", title) + _setter("user_id", user_id) @property @pulumi.getter(name="commonName") @@ -7141,10 +8863,23 @@ def __init__(__self__, *, """ :param str name: A filter that returns only resources that match the specified name. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetCertificatesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/cloudbridge/_inputs.py b/sdk/python/pulumi_oci/cloudbridge/_inputs.py index 402f910090..c0477e7c0c 100644 --- a/sdk/python/pulumi_oci/cloudbridge/_inputs.py +++ b/sdk/python/pulumi_oci/cloudbridge/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -57,24 +57,49 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The time when the Agent was created. An RFC3339 formatted datetime string. :param pulumi.Input[str] time_updated: The time when the Agent was updated. An RFC3339 formatted datetime string. """ + AgentPluginListArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + agent_id=agent_id, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + name=name, + plugin_version=plugin_version, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agent_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + plugin_version: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if agent_id is not None: - pulumi.set(__self__, "agent_id", agent_id) + _setter("agent_id", agent_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if plugin_version is not None: - pulumi.set(__self__, "plugin_version", plugin_version) + _setter("plugin_version", plugin_version) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="agentId") @@ -248,64 +273,129 @@ def __init__(__self__, *, :param pulumi.Input[str] storage_provisioned_in_mbs: (Updatable) Provision storage size in MBs. :param pulumi.Input[int] threads_per_core_count: (Updatable) Number of threads per core. """ + AssetComputeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + connected_networks=connected_networks, + cores_count=cores_count, + cpu_model=cpu_model, + description=description, + disks=disks, + disks_count=disks_count, + dns_name=dns_name, + firmware=firmware, + gpu_devices=gpu_devices, + gpu_devices_count=gpu_devices_count, + guest_state=guest_state, + hardware_version=hardware_version, + host_name=host_name, + is_pmem_enabled=is_pmem_enabled, + is_tpm_enabled=is_tpm_enabled, + latency_sensitivity=latency_sensitivity, + memory_in_mbs=memory_in_mbs, + nics=nics, + nics_count=nics_count, + nvdimm_controller=nvdimm_controller, + nvdimms=nvdimms, + operating_system=operating_system, + operating_system_version=operating_system_version, + pmem_in_mbs=pmem_in_mbs, + power_state=power_state, + primary_ip=primary_ip, + scsi_controller=scsi_controller, + storage_provisioned_in_mbs=storage_provisioned_in_mbs, + threads_per_core_count=threads_per_core_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + connected_networks: Optional[pulumi.Input[int]] = None, + cores_count: Optional[pulumi.Input[int]] = None, + cpu_model: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + disks: Optional[pulumi.Input[Sequence[pulumi.Input['AssetComputeDiskArgs']]]] = None, + disks_count: Optional[pulumi.Input[int]] = None, + dns_name: Optional[pulumi.Input[str]] = None, + firmware: Optional[pulumi.Input[str]] = None, + gpu_devices: Optional[pulumi.Input[Sequence[pulumi.Input['AssetComputeGpuDeviceArgs']]]] = None, + gpu_devices_count: Optional[pulumi.Input[int]] = None, + guest_state: Optional[pulumi.Input[str]] = None, + hardware_version: Optional[pulumi.Input[str]] = None, + host_name: Optional[pulumi.Input[str]] = None, + is_pmem_enabled: Optional[pulumi.Input[bool]] = None, + is_tpm_enabled: Optional[pulumi.Input[bool]] = None, + latency_sensitivity: Optional[pulumi.Input[str]] = None, + memory_in_mbs: Optional[pulumi.Input[str]] = None, + nics: Optional[pulumi.Input[Sequence[pulumi.Input['AssetComputeNicArgs']]]] = None, + nics_count: Optional[pulumi.Input[int]] = None, + nvdimm_controller: Optional[pulumi.Input['AssetComputeNvdimmControllerArgs']] = None, + nvdimms: Optional[pulumi.Input[Sequence[pulumi.Input['AssetComputeNvdimmArgs']]]] = None, + operating_system: Optional[pulumi.Input[str]] = None, + operating_system_version: Optional[pulumi.Input[str]] = None, + pmem_in_mbs: Optional[pulumi.Input[str]] = None, + power_state: Optional[pulumi.Input[str]] = None, + primary_ip: Optional[pulumi.Input[str]] = None, + scsi_controller: Optional[pulumi.Input['AssetComputeScsiControllerArgs']] = None, + storage_provisioned_in_mbs: Optional[pulumi.Input[str]] = None, + threads_per_core_count: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if connected_networks is not None: - pulumi.set(__self__, "connected_networks", connected_networks) + _setter("connected_networks", connected_networks) if cores_count is not None: - pulumi.set(__self__, "cores_count", cores_count) + _setter("cores_count", cores_count) if cpu_model is not None: - pulumi.set(__self__, "cpu_model", cpu_model) + _setter("cpu_model", cpu_model) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if disks is not None: - pulumi.set(__self__, "disks", disks) + _setter("disks", disks) if disks_count is not None: - pulumi.set(__self__, "disks_count", disks_count) + _setter("disks_count", disks_count) if dns_name is not None: - pulumi.set(__self__, "dns_name", dns_name) + _setter("dns_name", dns_name) if firmware is not None: - pulumi.set(__self__, "firmware", firmware) + _setter("firmware", firmware) if gpu_devices is not None: - pulumi.set(__self__, "gpu_devices", gpu_devices) + _setter("gpu_devices", gpu_devices) if gpu_devices_count is not None: - pulumi.set(__self__, "gpu_devices_count", gpu_devices_count) + _setter("gpu_devices_count", gpu_devices_count) if guest_state is not None: - pulumi.set(__self__, "guest_state", guest_state) + _setter("guest_state", guest_state) if hardware_version is not None: - pulumi.set(__self__, "hardware_version", hardware_version) + _setter("hardware_version", hardware_version) if host_name is not None: - pulumi.set(__self__, "host_name", host_name) + _setter("host_name", host_name) if is_pmem_enabled is not None: - pulumi.set(__self__, "is_pmem_enabled", is_pmem_enabled) + _setter("is_pmem_enabled", is_pmem_enabled) if is_tpm_enabled is not None: - pulumi.set(__self__, "is_tpm_enabled", is_tpm_enabled) + _setter("is_tpm_enabled", is_tpm_enabled) if latency_sensitivity is not None: - pulumi.set(__self__, "latency_sensitivity", latency_sensitivity) + _setter("latency_sensitivity", latency_sensitivity) if memory_in_mbs is not None: - pulumi.set(__self__, "memory_in_mbs", memory_in_mbs) + _setter("memory_in_mbs", memory_in_mbs) if nics is not None: - pulumi.set(__self__, "nics", nics) + _setter("nics", nics) if nics_count is not None: - pulumi.set(__self__, "nics_count", nics_count) + _setter("nics_count", nics_count) if nvdimm_controller is not None: - pulumi.set(__self__, "nvdimm_controller", nvdimm_controller) + _setter("nvdimm_controller", nvdimm_controller) if nvdimms is not None: - pulumi.set(__self__, "nvdimms", nvdimms) + _setter("nvdimms", nvdimms) if operating_system is not None: - pulumi.set(__self__, "operating_system", operating_system) + _setter("operating_system", operating_system) if operating_system_version is not None: - pulumi.set(__self__, "operating_system_version", operating_system_version) + _setter("operating_system_version", operating_system_version) if pmem_in_mbs is not None: - pulumi.set(__self__, "pmem_in_mbs", pmem_in_mbs) + _setter("pmem_in_mbs", pmem_in_mbs) if power_state is not None: - pulumi.set(__self__, "power_state", power_state) + _setter("power_state", power_state) if primary_ip is not None: - pulumi.set(__self__, "primary_ip", primary_ip) + _setter("primary_ip", primary_ip) if scsi_controller is not None: - pulumi.set(__self__, "scsi_controller", scsi_controller) + _setter("scsi_controller", scsi_controller) if storage_provisioned_in_mbs is not None: - pulumi.set(__self__, "storage_provisioned_in_mbs", storage_provisioned_in_mbs) + _setter("storage_provisioned_in_mbs", storage_provisioned_in_mbs) if threads_per_core_count is not None: - pulumi.set(__self__, "threads_per_core_count", threads_per_core_count) + _setter("threads_per_core_count", threads_per_core_count) @property @pulumi.getter(name="connectedNetworks") @@ -675,20 +765,41 @@ def __init__(__self__, *, :param pulumi.Input[str] uuid: (Updatable) Disk UUID for the virtual disk, if available. :param pulumi.Input[str] uuid_lun: (Updatable) Disk UUID LUN for the virtual disk, if available. """ + AssetComputeDiskArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + boot_order=boot_order, + location=location, + name=name, + persistent_mode=persistent_mode, + size_in_mbs=size_in_mbs, + uuid=uuid, + uuid_lun=uuid_lun, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + boot_order: Optional[pulumi.Input[int]] = None, + location: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + persistent_mode: Optional[pulumi.Input[str]] = None, + size_in_mbs: Optional[pulumi.Input[str]] = None, + uuid: Optional[pulumi.Input[str]] = None, + uuid_lun: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if boot_order is not None: - pulumi.set(__self__, "boot_order", boot_order) + _setter("boot_order", boot_order) if location is not None: - pulumi.set(__self__, "location", location) + _setter("location", location) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if persistent_mode is not None: - pulumi.set(__self__, "persistent_mode", persistent_mode) + _setter("persistent_mode", persistent_mode) if size_in_mbs is not None: - pulumi.set(__self__, "size_in_mbs", size_in_mbs) + _setter("size_in_mbs", size_in_mbs) if uuid is not None: - pulumi.set(__self__, "uuid", uuid) + _setter("uuid", uuid) if uuid_lun is not None: - pulumi.set(__self__, "uuid_lun", uuid_lun) + _setter("uuid_lun", uuid_lun) @property @pulumi.getter(name="bootOrder") @@ -790,16 +901,33 @@ def __init__(__self__, *, :param pulumi.Input[str] memory_in_mbs: (Updatable) Memory size in MBs. :param pulumi.Input[str] name: (Updatable) The tag name. """ + AssetComputeGpuDeviceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + cores_count=cores_count, + description=description, + manufacturer=manufacturer, + memory_in_mbs=memory_in_mbs, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cores_count: Optional[pulumi.Input[int]] = None, + description: Optional[pulumi.Input[str]] = None, + manufacturer: Optional[pulumi.Input[str]] = None, + memory_in_mbs: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if cores_count is not None: - pulumi.set(__self__, "cores_count", cores_count) + _setter("cores_count", cores_count) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if manufacturer is not None: - pulumi.set(__self__, "manufacturer", manufacturer) + _setter("manufacturer", manufacturer) if memory_in_mbs is not None: - pulumi.set(__self__, "memory_in_mbs", memory_in_mbs) + _setter("memory_in_mbs", memory_in_mbs) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter(name="coresCount") @@ -879,18 +1007,37 @@ def __init__(__self__, *, :param pulumi.Input[str] network_name: (Updatable) Network name. :param pulumi.Input[str] switch_name: (Updatable) Switch name. """ + AssetComputeNicArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + ip_addresses=ip_addresses, + label=label, + mac_address=mac_address, + mac_address_type=mac_address_type, + network_name=network_name, + switch_name=switch_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ip_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + label: Optional[pulumi.Input[str]] = None, + mac_address: Optional[pulumi.Input[str]] = None, + mac_address_type: Optional[pulumi.Input[str]] = None, + network_name: Optional[pulumi.Input[str]] = None, + switch_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ip_addresses is not None: - pulumi.set(__self__, "ip_addresses", ip_addresses) + _setter("ip_addresses", ip_addresses) if label is not None: - pulumi.set(__self__, "label", label) + _setter("label", label) if mac_address is not None: - pulumi.set(__self__, "mac_address", mac_address) + _setter("mac_address", mac_address) if mac_address_type is not None: - pulumi.set(__self__, "mac_address_type", mac_address_type) + _setter("mac_address_type", mac_address_type) if network_name is not None: - pulumi.set(__self__, "network_name", network_name) + _setter("network_name", network_name) if switch_name is not None: - pulumi.set(__self__, "switch_name", switch_name) + _setter("switch_name", switch_name) @property @pulumi.getter(name="ipAddresses") @@ -976,12 +1123,25 @@ def __init__(__self__, *, :param pulumi.Input[str] label: (Updatable) Provides a label and summary information for the device. :param pulumi.Input[int] unit_number: (Updatable) The unit number of the SCSI controller. """ + AssetComputeNvdimmArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + controller_key=controller_key, + label=label, + unit_number=unit_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + controller_key: Optional[pulumi.Input[int]] = None, + label: Optional[pulumi.Input[str]] = None, + unit_number: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if controller_key is not None: - pulumi.set(__self__, "controller_key", controller_key) + _setter("controller_key", controller_key) if label is not None: - pulumi.set(__self__, "label", label) + _setter("label", label) if unit_number is not None: - pulumi.set(__self__, "unit_number", unit_number) + _setter("unit_number", unit_number) @property @pulumi.getter(name="controllerKey") @@ -1029,10 +1189,21 @@ def __init__(__self__, *, :param pulumi.Input[int] bus_number: (Updatable) Bus number. :param pulumi.Input[str] label: (Updatable) Provides a label and summary information for the device. """ + AssetComputeNvdimmControllerArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + bus_number=bus_number, + label=label, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bus_number: Optional[pulumi.Input[int]] = None, + label: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if bus_number is not None: - pulumi.set(__self__, "bus_number", bus_number) + _setter("bus_number", bus_number) if label is not None: - pulumi.set(__self__, "label", label) + _setter("label", label) @property @pulumi.getter(name="busNumber") @@ -1070,12 +1241,25 @@ def __init__(__self__, *, :param pulumi.Input[str] shared_bus: (Updatable) Shared bus. :param pulumi.Input[int] unit_number: (Updatable) The unit number of the SCSI controller. """ + AssetComputeScsiControllerArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + label=label, + shared_bus=shared_bus, + unit_number=unit_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + label: Optional[pulumi.Input[str]] = None, + shared_bus: Optional[pulumi.Input[str]] = None, + unit_number: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if label is not None: - pulumi.set(__self__, "label", label) + _setter("label", label) if shared_bus is not None: - pulumi.set(__self__, "shared_bus", shared_bus) + _setter("shared_bus", shared_bus) if unit_number is not None: - pulumi.set(__self__, "unit_number", unit_number) + _setter("unit_number", unit_number) @property @pulumi.getter @@ -1123,8 +1307,19 @@ def __init__(__self__, *, :param pulumi.Input[str] secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret in a vault. If the the type of the credentials is BASIC`, the secret must contain the username and password in JSON format, which is in the form of `{ "username": "", "password": "" }`. :param pulumi.Input[str] type: (Updatable) Asset source type. """ - pulumi.set(__self__, "secret_id", secret_id) - pulumi.set(__self__, "type", type) + AssetSourceDiscoveryCredentialsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + secret_id=secret_id, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + secret_id: pulumi.Input[str], + type: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("secret_id", secret_id) + _setter("type", type) @property @pulumi.getter(name="secretId") @@ -1160,8 +1355,19 @@ def __init__(__self__, *, :param pulumi.Input[str] secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret in a vault. If the the type of the credentials is BASIC`, the secret must contain the username and password in JSON format, which is in the form of `{ "username": "", "password": "" }`. :param pulumi.Input[str] type: (Updatable) Asset source type. """ - pulumi.set(__self__, "secret_id", secret_id) - pulumi.set(__self__, "type", type) + AssetSourceReplicationCredentialsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + secret_id=secret_id, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + secret_id: pulumi.Input[str], + type: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("secret_id", secret_id) + _setter("type", type) @property @pulumi.getter(name="secretId") @@ -1199,12 +1405,25 @@ def __init__(__self__, *, :param pulumi.Input[str] hypervisor_vendor: (Updatable) Hypervisor vendor. :param pulumi.Input[str] hypervisor_version: (Updatable) Hypervisor version. """ + AssetVmArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + hypervisor_host=hypervisor_host, + hypervisor_vendor=hypervisor_vendor, + hypervisor_version=hypervisor_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hypervisor_host: Optional[pulumi.Input[str]] = None, + hypervisor_vendor: Optional[pulumi.Input[str]] = None, + hypervisor_version: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if hypervisor_host is not None: - pulumi.set(__self__, "hypervisor_host", hypervisor_host) + _setter("hypervisor_host", hypervisor_host) if hypervisor_vendor is not None: - pulumi.set(__self__, "hypervisor_vendor", hypervisor_vendor) + _setter("hypervisor_vendor", hypervisor_vendor) if hypervisor_version is not None: - pulumi.set(__self__, "hypervisor_version", hypervisor_version) + _setter("hypervisor_version", hypervisor_version) @property @pulumi.getter(name="hypervisorHost") @@ -1254,12 +1473,25 @@ def __init__(__self__, *, :param pulumi.Input[str] vcenter_key: (Updatable) vCenter unique key. :param pulumi.Input[str] vcenter_version: (Updatable) Dot-separated version string. """ + AssetVmwareVcenterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + data_center=data_center, + vcenter_key=vcenter_key, + vcenter_version=vcenter_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + data_center: Optional[pulumi.Input[str]] = None, + vcenter_key: Optional[pulumi.Input[str]] = None, + vcenter_version: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if data_center is not None: - pulumi.set(__self__, "data_center", data_center) + _setter("data_center", data_center) if vcenter_key is not None: - pulumi.set(__self__, "vcenter_key", vcenter_key) + _setter("vcenter_key", vcenter_key) if vcenter_version is not None: - pulumi.set(__self__, "vcenter_version", vcenter_version) + _setter("vcenter_version", vcenter_version) @property @pulumi.getter(name="dataCenter") @@ -1329,28 +1561,57 @@ def __init__(__self__, *, ** 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 """ + AssetVmwareVmArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + cluster=cluster, + customer_fields=customer_fields, + customer_tags=customer_tags, + fault_tolerance_bandwidth=fault_tolerance_bandwidth, + fault_tolerance_secondary_latency=fault_tolerance_secondary_latency, + fault_tolerance_state=fault_tolerance_state, + instance_uuid=instance_uuid, + is_disks_cbt_enabled=is_disks_cbt_enabled, + is_disks_uuid_enabled=is_disks_uuid_enabled, + path=path, + vmware_tools_status=vmware_tools_status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cluster: Optional[pulumi.Input[str]] = None, + customer_fields: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + customer_tags: Optional[pulumi.Input[Sequence[pulumi.Input['AssetVmwareVmCustomerTagArgs']]]] = None, + fault_tolerance_bandwidth: Optional[pulumi.Input[int]] = None, + fault_tolerance_secondary_latency: Optional[pulumi.Input[int]] = None, + fault_tolerance_state: Optional[pulumi.Input[str]] = None, + instance_uuid: Optional[pulumi.Input[str]] = None, + is_disks_cbt_enabled: Optional[pulumi.Input[bool]] = None, + is_disks_uuid_enabled: Optional[pulumi.Input[bool]] = None, + path: Optional[pulumi.Input[str]] = None, + vmware_tools_status: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if cluster is not None: - pulumi.set(__self__, "cluster", cluster) + _setter("cluster", cluster) if customer_fields is not None: - pulumi.set(__self__, "customer_fields", customer_fields) + _setter("customer_fields", customer_fields) if customer_tags is not None: - pulumi.set(__self__, "customer_tags", customer_tags) + _setter("customer_tags", customer_tags) if fault_tolerance_bandwidth is not None: - pulumi.set(__self__, "fault_tolerance_bandwidth", fault_tolerance_bandwidth) + _setter("fault_tolerance_bandwidth", fault_tolerance_bandwidth) if fault_tolerance_secondary_latency is not None: - pulumi.set(__self__, "fault_tolerance_secondary_latency", fault_tolerance_secondary_latency) + _setter("fault_tolerance_secondary_latency", fault_tolerance_secondary_latency) if fault_tolerance_state is not None: - pulumi.set(__self__, "fault_tolerance_state", fault_tolerance_state) + _setter("fault_tolerance_state", fault_tolerance_state) if instance_uuid is not None: - pulumi.set(__self__, "instance_uuid", instance_uuid) + _setter("instance_uuid", instance_uuid) if is_disks_cbt_enabled is not None: - pulumi.set(__self__, "is_disks_cbt_enabled", is_disks_cbt_enabled) + _setter("is_disks_cbt_enabled", is_disks_cbt_enabled) if is_disks_uuid_enabled is not None: - pulumi.set(__self__, "is_disks_uuid_enabled", is_disks_uuid_enabled) + _setter("is_disks_uuid_enabled", is_disks_uuid_enabled) if path is not None: - pulumi.set(__self__, "path", path) + _setter("path", path) if vmware_tools_status is not None: - pulumi.set(__self__, "vmware_tools_status", vmware_tools_status) + _setter("vmware_tools_status", vmware_tools_status) @property @pulumi.getter @@ -1498,10 +1759,21 @@ def __init__(__self__, *, :param pulumi.Input[str] description: (Updatable) The tag description. :param pulumi.Input[str] name: (Updatable) The tag name. """ + AssetVmwareVmCustomerTagArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -1534,10 +1806,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAgentDependenciesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1576,10 +1861,23 @@ def __init__(__self__, *, """ :param str name: Plugin identifier, which can be renamed. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAgentsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1618,10 +1916,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetApplianceImagesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1657,10 +1968,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAssetSourcesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1699,10 +2023,23 @@ def __init__(__self__, *, """ :param str name: The tag name. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAssetsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1741,10 +2078,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDiscoverySchedulesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1780,10 +2130,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetEnvironmentsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1819,10 +2182,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetInventoriesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/cloudbridge/agent.py b/sdk/python/pulumi_oci/cloudbridge/agent.py index 7e808b3562..247fb635c7 100644 --- a/sdk/python/pulumi_oci/cloudbridge/agent.py +++ b/sdk/python/pulumi_oci/cloudbridge/agent.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -39,16 +39,39 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) The defined tags associated with this resource, if any. Each key is predefined and scoped to namespaces. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace/scope. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` """ - pulumi.set(__self__, "agent_type", agent_type) - pulumi.set(__self__, "agent_version", agent_version) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "environment_id", environment_id) - pulumi.set(__self__, "os_version", os_version) + AgentArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + agent_type=agent_type, + agent_version=agent_version, + compartment_id=compartment_id, + display_name=display_name, + environment_id=environment_id, + os_version=os_version, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agent_type: pulumi.Input[str], + agent_version: pulumi.Input[str], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + environment_id: pulumi.Input[str], + os_version: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("agent_type", agent_type) + _setter("agent_version", agent_version) + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) + _setter("environment_id", environment_id) + _setter("os_version", os_version) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="agentType") @@ -197,42 +220,85 @@ def __init__(__self__, *, :param pulumi.Input[str] time_last_sync_received: The time when the last heartbeat of the Agent was noted. An RFC3339 formatted datetime string. :param pulumi.Input[str] time_updated: The time when the Agent was updated. An RFC3339 formatted datetime string. """ + _AgentState._configure( + lambda key, value: pulumi.set(__self__, key, value), + agent_pub_key=agent_pub_key, + agent_type=agent_type, + agent_version=agent_version, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + environment_id=environment_id, + freeform_tags=freeform_tags, + heart_beat_status=heart_beat_status, + lifecycle_details=lifecycle_details, + os_version=os_version, + plugin_lists=plugin_lists, + state=state, + system_tags=system_tags, + time_created=time_created, + time_expire_agent_key_in_ms=time_expire_agent_key_in_ms, + time_last_sync_received=time_last_sync_received, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agent_pub_key: Optional[pulumi.Input[str]] = None, + agent_type: Optional[pulumi.Input[str]] = None, + agent_version: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + environment_id: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + heart_beat_status: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + os_version: Optional[pulumi.Input[str]] = None, + plugin_lists: Optional[pulumi.Input[Sequence[pulumi.Input['AgentPluginListArgs']]]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_expire_agent_key_in_ms: Optional[pulumi.Input[str]] = None, + time_last_sync_received: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if agent_pub_key is not None: - pulumi.set(__self__, "agent_pub_key", agent_pub_key) + _setter("agent_pub_key", agent_pub_key) if agent_type is not None: - pulumi.set(__self__, "agent_type", agent_type) + _setter("agent_type", agent_type) if agent_version is not None: - pulumi.set(__self__, "agent_version", agent_version) + _setter("agent_version", agent_version) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if environment_id is not None: - pulumi.set(__self__, "environment_id", environment_id) + _setter("environment_id", environment_id) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if heart_beat_status is not None: - pulumi.set(__self__, "heart_beat_status", heart_beat_status) + _setter("heart_beat_status", heart_beat_status) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if os_version is not None: - pulumi.set(__self__, "os_version", os_version) + _setter("os_version", os_version) if plugin_lists is not None: - pulumi.set(__self__, "plugin_lists", plugin_lists) + _setter("plugin_lists", plugin_lists) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_expire_agent_key_in_ms is not None: - pulumi.set(__self__, "time_expire_agent_key_in_ms", time_expire_agent_key_in_ms) + _setter("time_expire_agent_key_in_ms", time_expire_agent_key_in_ms) if time_last_sync_received is not None: - pulumi.set(__self__, "time_last_sync_received", time_last_sync_received) + _setter("time_last_sync_received", time_last_sync_received) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="agentPubKey") @@ -568,6 +634,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + AgentArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/cloudbridge/agent_dependency.py b/sdk/python/pulumi_oci/cloudbridge/agent_dependency.py index 27e796d8c9..19c2e1cc89 100644 --- a/sdk/python/pulumi_oci/cloudbridge/agent_dependency.py +++ b/sdk/python/pulumi_oci/cloudbridge/agent_dependency.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['AgentDependencyArgs', 'AgentDependency'] @@ -43,22 +43,51 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "dependency_name", dependency_name) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "object", object) + AgentDependencyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + compartment_id=compartment_id, + dependency_name=dependency_name, + display_name=display_name, + namespace=namespace, + object=object, + defined_tags=defined_tags, + dependency_version=dependency_version, + description=description, + freeform_tags=freeform_tags, + system_tags=system_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: pulumi.Input[str], + compartment_id: pulumi.Input[str], + dependency_name: pulumi.Input[str], + display_name: pulumi.Input[str], + namespace: pulumi.Input[str], + object: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + dependency_version: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("compartment_id", compartment_id) + _setter("dependency_name", dependency_name) + _setter("display_name", display_name) + _setter("namespace", namespace) + _setter("object", object) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if dependency_version is not None: - pulumi.set(__self__, "dependency_version", dependency_version) + _setter("dependency_version", dependency_version) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) @property @pulumi.getter @@ -239,38 +268,77 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] time_created: The time when the AgentDependency was created. An RFC3339 formatted datetime string. """ + _AgentDependencyState._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + checksum=checksum, + compartment_id=compartment_id, + defined_tags=defined_tags, + dependency_name=dependency_name, + dependency_version=dependency_version, + description=description, + display_name=display_name, + e_tag=e_tag, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + namespace=namespace, + object=object, + state=state, + system_tags=system_tags, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: Optional[pulumi.Input[str]] = None, + checksum: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + dependency_name: Optional[pulumi.Input[str]] = None, + dependency_version: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + e_tag: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + namespace: Optional[pulumi.Input[str]] = None, + object: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if bucket is not None: - pulumi.set(__self__, "bucket", bucket) + _setter("bucket", bucket) if checksum is not None: - pulumi.set(__self__, "checksum", checksum) + _setter("checksum", checksum) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if dependency_name is not None: - pulumi.set(__self__, "dependency_name", dependency_name) + _setter("dependency_name", dependency_name) if dependency_version is not None: - pulumi.set(__self__, "dependency_version", dependency_version) + _setter("dependency_version", dependency_version) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if e_tag is not None: - pulumi.set(__self__, "e_tag", e_tag) + _setter("e_tag", e_tag) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if object is not None: - pulumi.set(__self__, "object", object) + _setter("object", object) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter @@ -594,6 +662,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + AgentDependencyArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/cloudbridge/agent_plugin.py b/sdk/python/pulumi_oci/cloudbridge/agent_plugin.py index 604aa04958..722e6abf81 100644 --- a/sdk/python/pulumi_oci/cloudbridge/agent_plugin.py +++ b/sdk/python/pulumi_oci/cloudbridge/agent_plugin.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['AgentPluginArgs', 'AgentPlugin'] @@ -27,10 +27,23 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] desired_state: (Updatable) State to which the customer wants the plugin to move to. """ - pulumi.set(__self__, "agent_id", agent_id) - pulumi.set(__self__, "plugin_name", plugin_name) + AgentPluginArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + agent_id=agent_id, + plugin_name=plugin_name, + desired_state=desired_state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agent_id: pulumi.Input[str], + plugin_name: pulumi.Input[str], + desired_state: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("agent_id", agent_id) + _setter("plugin_name", plugin_name) if desired_state is not None: - pulumi.set(__self__, "desired_state", desired_state) + _setter("desired_state", desired_state) @property @pulumi.getter(name="agentId") @@ -107,30 +120,61 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The time when the Agent was created. An RFC3339 formatted datetime string. :param pulumi.Input[str] time_updated: The time when the Agent was updated. An RFC3339 formatted datetime string. """ + _AgentPluginState._configure( + lambda key, value: pulumi.set(__self__, key, value), + agent_id=agent_id, + defined_tags=defined_tags, + desired_state=desired_state, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + name=name, + plugin_name=plugin_name, + plugin_version=plugin_version, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agent_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + desired_state: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + plugin_name: Optional[pulumi.Input[str]] = None, + plugin_version: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if agent_id is not None: - pulumi.set(__self__, "agent_id", agent_id) + _setter("agent_id", agent_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if desired_state is not None: - pulumi.set(__self__, "desired_state", desired_state) + _setter("desired_state", desired_state) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if plugin_name is not None: - pulumi.set(__self__, "plugin_name", plugin_name) + _setter("plugin_name", plugin_name) if plugin_version is not None: - pulumi.set(__self__, "plugin_version", plugin_version) + _setter("plugin_version", plugin_version) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="agentId") @@ -366,6 +410,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + AgentPluginArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/cloudbridge/asset.py b/sdk/python/pulumi_oci/cloudbridge/asset.py index 6a7e6354a2..410bfa3f96 100644 --- a/sdk/python/pulumi_oci/cloudbridge/asset.py +++ b/sdk/python/pulumi_oci/cloudbridge/asset.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -45,27 +45,60 @@ def __init__(__self__, *, :param pulumi.Input['AssetVmwareVcenterArgs'] vmware_vcenter: (Updatable) VMware vCenter related properties. :param pulumi.Input['AssetVmwareVmArgs'] vmware_vm: (Updatable) VMware virtual machine related properties. """ - pulumi.set(__self__, "asset_type", asset_type) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "external_asset_key", external_asset_key) - pulumi.set(__self__, "inventory_id", inventory_id) - pulumi.set(__self__, "source_key", source_key) + AssetArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + asset_type=asset_type, + compartment_id=compartment_id, + external_asset_key=external_asset_key, + inventory_id=inventory_id, + source_key=source_key, + asset_source_ids=asset_source_ids, + compute=compute, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + vm=vm, + vmware_vcenter=vmware_vcenter, + vmware_vm=vmware_vm, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + asset_type: pulumi.Input[str], + compartment_id: pulumi.Input[str], + external_asset_key: pulumi.Input[str], + inventory_id: pulumi.Input[str], + source_key: pulumi.Input[str], + asset_source_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + compute: Optional[pulumi.Input['AssetComputeArgs']] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + vm: Optional[pulumi.Input['AssetVmArgs']] = None, + vmware_vcenter: Optional[pulumi.Input['AssetVmwareVcenterArgs']] = None, + vmware_vm: Optional[pulumi.Input['AssetVmwareVmArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("asset_type", asset_type) + _setter("compartment_id", compartment_id) + _setter("external_asset_key", external_asset_key) + _setter("inventory_id", inventory_id) + _setter("source_key", source_key) if asset_source_ids is not None: - pulumi.set(__self__, "asset_source_ids", asset_source_ids) + _setter("asset_source_ids", asset_source_ids) if compute is not None: - pulumi.set(__self__, "compute", compute) + _setter("compute", compute) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if vm is not None: - pulumi.set(__self__, "vm", vm) + _setter("vm", vm) if vmware_vcenter is not None: - pulumi.set(__self__, "vmware_vcenter", vmware_vcenter) + _setter("vmware_vcenter", vmware_vcenter) if vmware_vm is not None: - pulumi.set(__self__, "vmware_vm", vmware_vm) + _setter("vmware_vm", vmware_vm) @property @pulumi.getter(name="assetType") @@ -264,40 +297,81 @@ def __init__(__self__, *, :param pulumi.Input['AssetVmwareVcenterArgs'] vmware_vcenter: (Updatable) VMware vCenter related properties. :param pulumi.Input['AssetVmwareVmArgs'] vmware_vm: (Updatable) VMware virtual machine related properties. """ + _AssetState._configure( + lambda key, value: pulumi.set(__self__, key, value), + asset_source_ids=asset_source_ids, + asset_type=asset_type, + compartment_id=compartment_id, + compute=compute, + defined_tags=defined_tags, + display_name=display_name, + external_asset_key=external_asset_key, + freeform_tags=freeform_tags, + inventory_id=inventory_id, + source_key=source_key, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + vm=vm, + vmware_vcenter=vmware_vcenter, + vmware_vm=vmware_vm, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + asset_source_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + asset_type: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + compute: Optional[pulumi.Input['AssetComputeArgs']] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + external_asset_key: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + inventory_id: Optional[pulumi.Input[str]] = None, + source_key: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + vm: Optional[pulumi.Input['AssetVmArgs']] = None, + vmware_vcenter: Optional[pulumi.Input['AssetVmwareVcenterArgs']] = None, + vmware_vm: Optional[pulumi.Input['AssetVmwareVmArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if asset_source_ids is not None: - pulumi.set(__self__, "asset_source_ids", asset_source_ids) + _setter("asset_source_ids", asset_source_ids) if asset_type is not None: - pulumi.set(__self__, "asset_type", asset_type) + _setter("asset_type", asset_type) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if compute is not None: - pulumi.set(__self__, "compute", compute) + _setter("compute", compute) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if external_asset_key is not None: - pulumi.set(__self__, "external_asset_key", external_asset_key) + _setter("external_asset_key", external_asset_key) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if inventory_id is not None: - pulumi.set(__self__, "inventory_id", inventory_id) + _setter("inventory_id", inventory_id) if source_key is not None: - pulumi.set(__self__, "source_key", source_key) + _setter("source_key", source_key) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if vm is not None: - pulumi.set(__self__, "vm", vm) + _setter("vm", vm) if vmware_vcenter is not None: - pulumi.set(__self__, "vmware_vcenter", vmware_vcenter) + _setter("vmware_vcenter", vmware_vcenter) if vmware_vm is not None: - pulumi.set(__self__, "vmware_vm", vmware_vm) + _setter("vmware_vm", vmware_vm) @property @pulumi.getter(name="assetSourceIds") @@ -803,6 +877,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + AssetArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -837,6 +915,11 @@ def _internal_init(__self__, if compartment_id is None and not opts.urn: raise TypeError("Missing required property 'compartment_id'") __props__.__dict__["compartment_id"] = compartment_id + if compute is not None and not isinstance(compute, AssetComputeArgs): + compute = compute or {} + def _setter(key, value): + compute[key] = value + AssetComputeArgs._configure(_setter, **compute) __props__.__dict__["compute"] = compute __props__.__dict__["defined_tags"] = defined_tags __props__.__dict__["display_name"] = display_name @@ -850,8 +933,23 @@ def _internal_init(__self__, if source_key is None and not opts.urn: raise TypeError("Missing required property 'source_key'") __props__.__dict__["source_key"] = source_key + if vm is not None and not isinstance(vm, AssetVmArgs): + vm = vm or {} + def _setter(key, value): + vm[key] = value + AssetVmArgs._configure(_setter, **vm) __props__.__dict__["vm"] = vm + if vmware_vcenter is not None and not isinstance(vmware_vcenter, AssetVmwareVcenterArgs): + vmware_vcenter = vmware_vcenter or {} + def _setter(key, value): + vmware_vcenter[key] = value + AssetVmwareVcenterArgs._configure(_setter, **vmware_vcenter) __props__.__dict__["vmware_vcenter"] = vmware_vcenter + if vmware_vm is not None and not isinstance(vmware_vm, AssetVmwareVmArgs): + vmware_vm = vmware_vm or {} + def _setter(key, value): + vmware_vm[key] = value + AssetVmwareVmArgs._configure(_setter, **vmware_vm) __props__.__dict__["vmware_vm"] = vmware_vm __props__.__dict__["state"] = None __props__.__dict__["system_tags"] = None diff --git a/sdk/python/pulumi_oci/cloudbridge/asset_source.py b/sdk/python/pulumi_oci/cloudbridge/asset_source.py index 5e9bf77bb5..2fe744f761 100644 --- a/sdk/python/pulumi_oci/cloudbridge/asset_source.py +++ b/sdk/python/pulumi_oci/cloudbridge/asset_source.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -53,29 +53,66 @@ def __init__(__self__, *, :param pulumi.Input['AssetSourceReplicationCredentialsArgs'] replication_credentials: (Updatable) Credentials for an asset source. :param pulumi.Input[Mapping[str, Any]] system_tags: (Updatable) The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{orcl-cloud: {free-tier-retain: true}}` """ - pulumi.set(__self__, "assets_compartment_id", assets_compartment_id) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "discovery_credentials", discovery_credentials) - pulumi.set(__self__, "environment_id", environment_id) - pulumi.set(__self__, "inventory_id", inventory_id) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "vcenter_endpoint", vcenter_endpoint) + AssetSourceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + assets_compartment_id=assets_compartment_id, + compartment_id=compartment_id, + discovery_credentials=discovery_credentials, + environment_id=environment_id, + inventory_id=inventory_id, + type=type, + vcenter_endpoint=vcenter_endpoint, + are_historical_metrics_collected=are_historical_metrics_collected, + are_realtime_metrics_collected=are_realtime_metrics_collected, + defined_tags=defined_tags, + discovery_schedule_id=discovery_schedule_id, + display_name=display_name, + freeform_tags=freeform_tags, + replication_credentials=replication_credentials, + system_tags=system_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + assets_compartment_id: pulumi.Input[str], + compartment_id: pulumi.Input[str], + discovery_credentials: pulumi.Input['AssetSourceDiscoveryCredentialsArgs'], + environment_id: pulumi.Input[str], + inventory_id: pulumi.Input[str], + type: pulumi.Input[str], + vcenter_endpoint: pulumi.Input[str], + are_historical_metrics_collected: Optional[pulumi.Input[bool]] = None, + are_realtime_metrics_collected: Optional[pulumi.Input[bool]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + discovery_schedule_id: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + replication_credentials: Optional[pulumi.Input['AssetSourceReplicationCredentialsArgs']] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("assets_compartment_id", assets_compartment_id) + _setter("compartment_id", compartment_id) + _setter("discovery_credentials", discovery_credentials) + _setter("environment_id", environment_id) + _setter("inventory_id", inventory_id) + _setter("type", type) + _setter("vcenter_endpoint", vcenter_endpoint) if are_historical_metrics_collected is not None: - pulumi.set(__self__, "are_historical_metrics_collected", are_historical_metrics_collected) + _setter("are_historical_metrics_collected", are_historical_metrics_collected) if are_realtime_metrics_collected is not None: - pulumi.set(__self__, "are_realtime_metrics_collected", are_realtime_metrics_collected) + _setter("are_realtime_metrics_collected", are_realtime_metrics_collected) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if discovery_schedule_id is not None: - pulumi.set(__self__, "discovery_schedule_id", discovery_schedule_id) + _setter("discovery_schedule_id", discovery_schedule_id) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if replication_credentials is not None: - pulumi.set(__self__, "replication_credentials", replication_credentials) + _setter("replication_credentials", replication_credentials) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) @property @pulumi.getter(name="assetsCompartmentId") @@ -310,44 +347,89 @@ def __init__(__self__, *, ** 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 """ + _AssetSourceState._configure( + lambda key, value: pulumi.set(__self__, key, value), + are_historical_metrics_collected=are_historical_metrics_collected, + are_realtime_metrics_collected=are_realtime_metrics_collected, + assets_compartment_id=assets_compartment_id, + compartment_id=compartment_id, + defined_tags=defined_tags, + discovery_credentials=discovery_credentials, + discovery_schedule_id=discovery_schedule_id, + display_name=display_name, + environment_id=environment_id, + freeform_tags=freeform_tags, + inventory_id=inventory_id, + lifecycle_details=lifecycle_details, + replication_credentials=replication_credentials, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + type=type, + vcenter_endpoint=vcenter_endpoint, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + are_historical_metrics_collected: Optional[pulumi.Input[bool]] = None, + are_realtime_metrics_collected: Optional[pulumi.Input[bool]] = None, + assets_compartment_id: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + discovery_credentials: Optional[pulumi.Input['AssetSourceDiscoveryCredentialsArgs']] = None, + discovery_schedule_id: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + environment_id: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + inventory_id: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + replication_credentials: Optional[pulumi.Input['AssetSourceReplicationCredentialsArgs']] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + vcenter_endpoint: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if are_historical_metrics_collected is not None: - pulumi.set(__self__, "are_historical_metrics_collected", are_historical_metrics_collected) + _setter("are_historical_metrics_collected", are_historical_metrics_collected) if are_realtime_metrics_collected is not None: - pulumi.set(__self__, "are_realtime_metrics_collected", are_realtime_metrics_collected) + _setter("are_realtime_metrics_collected", are_realtime_metrics_collected) if assets_compartment_id is not None: - pulumi.set(__self__, "assets_compartment_id", assets_compartment_id) + _setter("assets_compartment_id", assets_compartment_id) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if discovery_credentials is not None: - pulumi.set(__self__, "discovery_credentials", discovery_credentials) + _setter("discovery_credentials", discovery_credentials) if discovery_schedule_id is not None: - pulumi.set(__self__, "discovery_schedule_id", discovery_schedule_id) + _setter("discovery_schedule_id", discovery_schedule_id) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if environment_id is not None: - pulumi.set(__self__, "environment_id", environment_id) + _setter("environment_id", environment_id) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if inventory_id is not None: - pulumi.set(__self__, "inventory_id", inventory_id) + _setter("inventory_id", inventory_id) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if replication_credentials is not None: - pulumi.set(__self__, "replication_credentials", replication_credentials) + _setter("replication_credentials", replication_credentials) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if vcenter_endpoint is not None: - pulumi.set(__self__, "vcenter_endpoint", vcenter_endpoint) + _setter("vcenter_endpoint", vcenter_endpoint) @property @pulumi.getter(name="areHistoricalMetricsCollected") @@ -735,6 +817,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + AssetSourceArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -773,6 +859,11 @@ def _internal_init(__self__, raise TypeError("Missing required property 'compartment_id'") __props__.__dict__["compartment_id"] = compartment_id __props__.__dict__["defined_tags"] = defined_tags + if discovery_credentials is not None and not isinstance(discovery_credentials, AssetSourceDiscoveryCredentialsArgs): + discovery_credentials = discovery_credentials or {} + def _setter(key, value): + discovery_credentials[key] = value + AssetSourceDiscoveryCredentialsArgs._configure(_setter, **discovery_credentials) if discovery_credentials is None and not opts.urn: raise TypeError("Missing required property 'discovery_credentials'") __props__.__dict__["discovery_credentials"] = discovery_credentials @@ -785,6 +876,11 @@ def _internal_init(__self__, if inventory_id is None and not opts.urn: raise TypeError("Missing required property 'inventory_id'") __props__.__dict__["inventory_id"] = inventory_id + if replication_credentials is not None and not isinstance(replication_credentials, AssetSourceReplicationCredentialsArgs): + replication_credentials = replication_credentials or {} + def _setter(key, value): + replication_credentials[key] = value + AssetSourceReplicationCredentialsArgs._configure(_setter, **replication_credentials) __props__.__dict__["replication_credentials"] = replication_credentials __props__.__dict__["system_tags"] = system_tags if type is None and not opts.urn: diff --git a/sdk/python/pulumi_oci/cloudbridge/discovery_schedule.py b/sdk/python/pulumi_oci/cloudbridge/discovery_schedule.py index 754849347c..2b4e348797 100644 --- a/sdk/python/pulumi_oci/cloudbridge/discovery_schedule.py +++ b/sdk/python/pulumi_oci/cloudbridge/discovery_schedule.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['DiscoveryScheduleArgs', 'DiscoverySchedule'] @@ -31,14 +31,31 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "execution_recurrences", execution_recurrences) + DiscoveryScheduleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + execution_recurrences=execution_recurrences, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + execution_recurrences: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("execution_recurrences", execution_recurrences) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="compartmentId") @@ -135,26 +152,53 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The time when the discovery schedule was created in RFC3339 format. :param pulumi.Input[str] time_updated: The time when the discovery schedule was last updated in RFC3339 format. """ + _DiscoveryScheduleState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + execution_recurrences=execution_recurrences, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + execution_recurrences: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if execution_recurrences is not None: - pulumi.set(__self__, "execution_recurrences", execution_recurrences) + _setter("execution_recurrences", execution_recurrences) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -382,6 +426,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DiscoveryScheduleArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/cloudbridge/environment.py b/sdk/python/pulumi_oci/cloudbridge/environment.py index e46b7d6f47..e15bd97934 100644 --- a/sdk/python/pulumi_oci/cloudbridge/environment.py +++ b/sdk/python/pulumi_oci/cloudbridge/environment.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['EnvironmentArgs', 'Environment'] @@ -29,13 +29,28 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) + EnvironmentArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="compartmentId") @@ -118,24 +133,49 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The time when the source environment was created. An RFC3339 formatted datetime string. :param pulumi.Input[str] time_updated: The time when the source environment was updated. An RFC3339 formatted datetime string. """ + _EnvironmentState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -347,6 +387,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + EnvironmentArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/cloudbridge/get_agent.py b/sdk/python/pulumi_oci/cloudbridge/get_agent.py index 5b204e7947..493df570c3 100644 --- a/sdk/python/pulumi_oci/cloudbridge/get_agent.py +++ b/sdk/python/pulumi_oci/cloudbridge/get_agent.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/cloudbridge/get_agent_dependencies.py b/sdk/python/pulumi_oci/cloudbridge/get_agent_dependencies.py index 0c83b192dc..bcf88b7099 100644 --- a/sdk/python/pulumi_oci/cloudbridge/get_agent_dependencies.py +++ b/sdk/python/pulumi_oci/cloudbridge/get_agent_dependencies.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/cloudbridge/get_agent_dependency.py b/sdk/python/pulumi_oci/cloudbridge/get_agent_dependency.py index 3d10435607..9f0eb813da 100644 --- a/sdk/python/pulumi_oci/cloudbridge/get_agent_dependency.py +++ b/sdk/python/pulumi_oci/cloudbridge/get_agent_dependency.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/cloudbridge/get_agent_plugin.py b/sdk/python/pulumi_oci/cloudbridge/get_agent_plugin.py index 6033e9ed6a..7ccdde8bf3 100644 --- a/sdk/python/pulumi_oci/cloudbridge/get_agent_plugin.py +++ b/sdk/python/pulumi_oci/cloudbridge/get_agent_plugin.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/cloudbridge/get_agents.py b/sdk/python/pulumi_oci/cloudbridge/get_agents.py index 8f11c1f470..a55f20bc0f 100644 --- a/sdk/python/pulumi_oci/cloudbridge/get_agents.py +++ b/sdk/python/pulumi_oci/cloudbridge/get_agents.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/cloudbridge/get_appliance_image.py b/sdk/python/pulumi_oci/cloudbridge/get_appliance_image.py index d3e248cd48..68a4e06716 100644 --- a/sdk/python/pulumi_oci/cloudbridge/get_appliance_image.py +++ b/sdk/python/pulumi_oci/cloudbridge/get_appliance_image.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/cloudbridge/get_appliance_images.py b/sdk/python/pulumi_oci/cloudbridge/get_appliance_images.py index c98f0fc13f..31859924fe 100644 --- a/sdk/python/pulumi_oci/cloudbridge/get_appliance_images.py +++ b/sdk/python/pulumi_oci/cloudbridge/get_appliance_images.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/cloudbridge/get_asset.py b/sdk/python/pulumi_oci/cloudbridge/get_asset.py index 6c0e021522..ed1ff7c697 100644 --- a/sdk/python/pulumi_oci/cloudbridge/get_asset.py +++ b/sdk/python/pulumi_oci/cloudbridge/get_asset.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/cloudbridge/get_asset_source.py b/sdk/python/pulumi_oci/cloudbridge/get_asset_source.py index 94af5cbd13..664f84c01e 100644 --- a/sdk/python/pulumi_oci/cloudbridge/get_asset_source.py +++ b/sdk/python/pulumi_oci/cloudbridge/get_asset_source.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/cloudbridge/get_asset_sources.py b/sdk/python/pulumi_oci/cloudbridge/get_asset_sources.py index 1d0e7d3cfa..76896f5d98 100644 --- a/sdk/python/pulumi_oci/cloudbridge/get_asset_sources.py +++ b/sdk/python/pulumi_oci/cloudbridge/get_asset_sources.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/cloudbridge/get_assets.py b/sdk/python/pulumi_oci/cloudbridge/get_assets.py index ac9397f7bd..c980c97c37 100644 --- a/sdk/python/pulumi_oci/cloudbridge/get_assets.py +++ b/sdk/python/pulumi_oci/cloudbridge/get_assets.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/cloudbridge/get_discovery_schedule.py b/sdk/python/pulumi_oci/cloudbridge/get_discovery_schedule.py index 823507a4d1..6c1c59693c 100644 --- a/sdk/python/pulumi_oci/cloudbridge/get_discovery_schedule.py +++ b/sdk/python/pulumi_oci/cloudbridge/get_discovery_schedule.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/cloudbridge/get_discovery_schedules.py b/sdk/python/pulumi_oci/cloudbridge/get_discovery_schedules.py index 4fcee6b03c..25942c7832 100644 --- a/sdk/python/pulumi_oci/cloudbridge/get_discovery_schedules.py +++ b/sdk/python/pulumi_oci/cloudbridge/get_discovery_schedules.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/cloudbridge/get_environment.py b/sdk/python/pulumi_oci/cloudbridge/get_environment.py index 06aad0d4f2..e34cbb4c76 100644 --- a/sdk/python/pulumi_oci/cloudbridge/get_environment.py +++ b/sdk/python/pulumi_oci/cloudbridge/get_environment.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/cloudbridge/get_environments.py b/sdk/python/pulumi_oci/cloudbridge/get_environments.py index 9cfcee8533..3df5cf350a 100644 --- a/sdk/python/pulumi_oci/cloudbridge/get_environments.py +++ b/sdk/python/pulumi_oci/cloudbridge/get_environments.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/cloudbridge/get_inventories.py b/sdk/python/pulumi_oci/cloudbridge/get_inventories.py index 192787d091..dc5d68249d 100644 --- a/sdk/python/pulumi_oci/cloudbridge/get_inventories.py +++ b/sdk/python/pulumi_oci/cloudbridge/get_inventories.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/cloudbridge/get_inventory.py b/sdk/python/pulumi_oci/cloudbridge/get_inventory.py index e2a531696a..72a700b3ea 100644 --- a/sdk/python/pulumi_oci/cloudbridge/get_inventory.py +++ b/sdk/python/pulumi_oci/cloudbridge/get_inventory.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/cloudbridge/inventory.py b/sdk/python/pulumi_oci/cloudbridge/inventory.py index 6a2cfcac86..5ff497649a 100644 --- a/sdk/python/pulumi_oci/cloudbridge/inventory.py +++ b/sdk/python/pulumi_oci/cloudbridge/inventory.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['InventoryArgs', 'Inventory'] @@ -29,12 +29,27 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) + InventoryArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="compartmentId") @@ -117,24 +132,49 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The time when the inventory was created. An RFC3339 formatted datetime string. :param pulumi.Input[str] time_updated: The time when the inventory was updated. An RFC3339 formatted datetime string. """ + _InventoryState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -346,6 +386,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + InventoryArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/cloudbridge/outputs.py b/sdk/python/pulumi_oci/cloudbridge/outputs.py index 86044bfdad..7c34adbd54 100644 --- a/sdk/python/pulumi_oci/cloudbridge/outputs.py +++ b/sdk/python/pulumi_oci/cloudbridge/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -132,24 +132,49 @@ def __init__(__self__, *, :param str time_created: The time when the Agent was created. An RFC3339 formatted datetime string. :param str time_updated: The time when the Agent was updated. An RFC3339 formatted datetime string. """ + AgentPluginList._configure( + lambda key, value: pulumi.set(__self__, key, value), + agent_id=agent_id, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + name=name, + plugin_version=plugin_version, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agent_id: Optional[str] = None, + defined_tags: Optional[Mapping[str, Any]] = None, + freeform_tags: Optional[Mapping[str, Any]] = None, + lifecycle_details: Optional[str] = None, + name: Optional[str] = None, + plugin_version: Optional[str] = None, + state: Optional[str] = None, + time_created: Optional[str] = None, + time_updated: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if agent_id is not None: - pulumi.set(__self__, "agent_id", agent_id) + _setter("agent_id", agent_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if plugin_version is not None: - pulumi.set(__self__, "plugin_version", plugin_version) + _setter("plugin_version", plugin_version) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="agentId") @@ -350,64 +375,129 @@ def __init__(__self__, *, :param str storage_provisioned_in_mbs: (Updatable) Provision storage size in MBs. :param int threads_per_core_count: (Updatable) Number of threads per core. """ + AssetCompute._configure( + lambda key, value: pulumi.set(__self__, key, value), + connected_networks=connected_networks, + cores_count=cores_count, + cpu_model=cpu_model, + description=description, + disks=disks, + disks_count=disks_count, + dns_name=dns_name, + firmware=firmware, + gpu_devices=gpu_devices, + gpu_devices_count=gpu_devices_count, + guest_state=guest_state, + hardware_version=hardware_version, + host_name=host_name, + is_pmem_enabled=is_pmem_enabled, + is_tpm_enabled=is_tpm_enabled, + latency_sensitivity=latency_sensitivity, + memory_in_mbs=memory_in_mbs, + nics=nics, + nics_count=nics_count, + nvdimm_controller=nvdimm_controller, + nvdimms=nvdimms, + operating_system=operating_system, + operating_system_version=operating_system_version, + pmem_in_mbs=pmem_in_mbs, + power_state=power_state, + primary_ip=primary_ip, + scsi_controller=scsi_controller, + storage_provisioned_in_mbs=storage_provisioned_in_mbs, + threads_per_core_count=threads_per_core_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + connected_networks: Optional[int] = None, + cores_count: Optional[int] = None, + cpu_model: Optional[str] = None, + description: Optional[str] = None, + disks: Optional[Sequence['outputs.AssetComputeDisk']] = None, + disks_count: Optional[int] = None, + dns_name: Optional[str] = None, + firmware: Optional[str] = None, + gpu_devices: Optional[Sequence['outputs.AssetComputeGpuDevice']] = None, + gpu_devices_count: Optional[int] = None, + guest_state: Optional[str] = None, + hardware_version: Optional[str] = None, + host_name: Optional[str] = None, + is_pmem_enabled: Optional[bool] = None, + is_tpm_enabled: Optional[bool] = None, + latency_sensitivity: Optional[str] = None, + memory_in_mbs: Optional[str] = None, + nics: Optional[Sequence['outputs.AssetComputeNic']] = None, + nics_count: Optional[int] = None, + nvdimm_controller: Optional['outputs.AssetComputeNvdimmController'] = None, + nvdimms: Optional[Sequence['outputs.AssetComputeNvdimm']] = None, + operating_system: Optional[str] = None, + operating_system_version: Optional[str] = None, + pmem_in_mbs: Optional[str] = None, + power_state: Optional[str] = None, + primary_ip: Optional[str] = None, + scsi_controller: Optional['outputs.AssetComputeScsiController'] = None, + storage_provisioned_in_mbs: Optional[str] = None, + threads_per_core_count: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if connected_networks is not None: - pulumi.set(__self__, "connected_networks", connected_networks) + _setter("connected_networks", connected_networks) if cores_count is not None: - pulumi.set(__self__, "cores_count", cores_count) + _setter("cores_count", cores_count) if cpu_model is not None: - pulumi.set(__self__, "cpu_model", cpu_model) + _setter("cpu_model", cpu_model) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if disks is not None: - pulumi.set(__self__, "disks", disks) + _setter("disks", disks) if disks_count is not None: - pulumi.set(__self__, "disks_count", disks_count) + _setter("disks_count", disks_count) if dns_name is not None: - pulumi.set(__self__, "dns_name", dns_name) + _setter("dns_name", dns_name) if firmware is not None: - pulumi.set(__self__, "firmware", firmware) + _setter("firmware", firmware) if gpu_devices is not None: - pulumi.set(__self__, "gpu_devices", gpu_devices) + _setter("gpu_devices", gpu_devices) if gpu_devices_count is not None: - pulumi.set(__self__, "gpu_devices_count", gpu_devices_count) + _setter("gpu_devices_count", gpu_devices_count) if guest_state is not None: - pulumi.set(__self__, "guest_state", guest_state) + _setter("guest_state", guest_state) if hardware_version is not None: - pulumi.set(__self__, "hardware_version", hardware_version) + _setter("hardware_version", hardware_version) if host_name is not None: - pulumi.set(__self__, "host_name", host_name) + _setter("host_name", host_name) if is_pmem_enabled is not None: - pulumi.set(__self__, "is_pmem_enabled", is_pmem_enabled) + _setter("is_pmem_enabled", is_pmem_enabled) if is_tpm_enabled is not None: - pulumi.set(__self__, "is_tpm_enabled", is_tpm_enabled) + _setter("is_tpm_enabled", is_tpm_enabled) if latency_sensitivity is not None: - pulumi.set(__self__, "latency_sensitivity", latency_sensitivity) + _setter("latency_sensitivity", latency_sensitivity) if memory_in_mbs is not None: - pulumi.set(__self__, "memory_in_mbs", memory_in_mbs) + _setter("memory_in_mbs", memory_in_mbs) if nics is not None: - pulumi.set(__self__, "nics", nics) + _setter("nics", nics) if nics_count is not None: - pulumi.set(__self__, "nics_count", nics_count) + _setter("nics_count", nics_count) if nvdimm_controller is not None: - pulumi.set(__self__, "nvdimm_controller", nvdimm_controller) + _setter("nvdimm_controller", nvdimm_controller) if nvdimms is not None: - pulumi.set(__self__, "nvdimms", nvdimms) + _setter("nvdimms", nvdimms) if operating_system is not None: - pulumi.set(__self__, "operating_system", operating_system) + _setter("operating_system", operating_system) if operating_system_version is not None: - pulumi.set(__self__, "operating_system_version", operating_system_version) + _setter("operating_system_version", operating_system_version) if pmem_in_mbs is not None: - pulumi.set(__self__, "pmem_in_mbs", pmem_in_mbs) + _setter("pmem_in_mbs", pmem_in_mbs) if power_state is not None: - pulumi.set(__self__, "power_state", power_state) + _setter("power_state", power_state) if primary_ip is not None: - pulumi.set(__self__, "primary_ip", primary_ip) + _setter("primary_ip", primary_ip) if scsi_controller is not None: - pulumi.set(__self__, "scsi_controller", scsi_controller) + _setter("scsi_controller", scsi_controller) if storage_provisioned_in_mbs is not None: - pulumi.set(__self__, "storage_provisioned_in_mbs", storage_provisioned_in_mbs) + _setter("storage_provisioned_in_mbs", storage_provisioned_in_mbs) if threads_per_core_count is not None: - pulumi.set(__self__, "threads_per_core_count", threads_per_core_count) + _setter("threads_per_core_count", threads_per_core_count) @property @pulumi.getter(name="connectedNetworks") @@ -684,20 +774,41 @@ def __init__(__self__, *, :param str uuid: (Updatable) Disk UUID for the virtual disk, if available. :param str uuid_lun: (Updatable) Disk UUID LUN for the virtual disk, if available. """ + AssetComputeDisk._configure( + lambda key, value: pulumi.set(__self__, key, value), + boot_order=boot_order, + location=location, + name=name, + persistent_mode=persistent_mode, + size_in_mbs=size_in_mbs, + uuid=uuid, + uuid_lun=uuid_lun, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + boot_order: Optional[int] = None, + location: Optional[str] = None, + name: Optional[str] = None, + persistent_mode: Optional[str] = None, + size_in_mbs: Optional[str] = None, + uuid: Optional[str] = None, + uuid_lun: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if boot_order is not None: - pulumi.set(__self__, "boot_order", boot_order) + _setter("boot_order", boot_order) if location is not None: - pulumi.set(__self__, "location", location) + _setter("location", location) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if persistent_mode is not None: - pulumi.set(__self__, "persistent_mode", persistent_mode) + _setter("persistent_mode", persistent_mode) if size_in_mbs is not None: - pulumi.set(__self__, "size_in_mbs", size_in_mbs) + _setter("size_in_mbs", size_in_mbs) if uuid is not None: - pulumi.set(__self__, "uuid", uuid) + _setter("uuid", uuid) if uuid_lun is not None: - pulumi.set(__self__, "uuid_lun", uuid_lun) + _setter("uuid_lun", uuid_lun) @property @pulumi.getter(name="bootOrder") @@ -790,16 +901,33 @@ def __init__(__self__, *, :param str memory_in_mbs: (Updatable) Memory size in MBs. :param str name: (Updatable) The tag name. """ + AssetComputeGpuDevice._configure( + lambda key, value: pulumi.set(__self__, key, value), + cores_count=cores_count, + description=description, + manufacturer=manufacturer, + memory_in_mbs=memory_in_mbs, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cores_count: Optional[int] = None, + description: Optional[str] = None, + manufacturer: Optional[str] = None, + memory_in_mbs: Optional[str] = None, + name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if cores_count is not None: - pulumi.set(__self__, "cores_count", cores_count) + _setter("cores_count", cores_count) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if manufacturer is not None: - pulumi.set(__self__, "manufacturer", manufacturer) + _setter("manufacturer", manufacturer) if memory_in_mbs is not None: - pulumi.set(__self__, "memory_in_mbs", memory_in_mbs) + _setter("memory_in_mbs", memory_in_mbs) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter(name="coresCount") @@ -884,18 +1012,37 @@ def __init__(__self__, *, :param str network_name: (Updatable) Network name. :param str switch_name: (Updatable) Switch name. """ + AssetComputeNic._configure( + lambda key, value: pulumi.set(__self__, key, value), + ip_addresses=ip_addresses, + label=label, + mac_address=mac_address, + mac_address_type=mac_address_type, + network_name=network_name, + switch_name=switch_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ip_addresses: Optional[Sequence[str]] = None, + label: Optional[str] = None, + mac_address: Optional[str] = None, + mac_address_type: Optional[str] = None, + network_name: Optional[str] = None, + switch_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ip_addresses is not None: - pulumi.set(__self__, "ip_addresses", ip_addresses) + _setter("ip_addresses", ip_addresses) if label is not None: - pulumi.set(__self__, "label", label) + _setter("label", label) if mac_address is not None: - pulumi.set(__self__, "mac_address", mac_address) + _setter("mac_address", mac_address) if mac_address_type is not None: - pulumi.set(__self__, "mac_address_type", mac_address_type) + _setter("mac_address_type", mac_address_type) if network_name is not None: - pulumi.set(__self__, "network_name", network_name) + _setter("network_name", network_name) if switch_name is not None: - pulumi.set(__self__, "switch_name", switch_name) + _setter("switch_name", switch_name) @property @pulumi.getter(name="ipAddresses") @@ -976,12 +1123,25 @@ def __init__(__self__, *, :param str label: (Updatable) Provides a label and summary information for the device. :param int unit_number: (Updatable) The unit number of the SCSI controller. """ + AssetComputeNvdimm._configure( + lambda key, value: pulumi.set(__self__, key, value), + controller_key=controller_key, + label=label, + unit_number=unit_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + controller_key: Optional[int] = None, + label: Optional[str] = None, + unit_number: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if controller_key is not None: - pulumi.set(__self__, "controller_key", controller_key) + _setter("controller_key", controller_key) if label is not None: - pulumi.set(__self__, "label", label) + _setter("label", label) if unit_number is not None: - pulumi.set(__self__, "unit_number", unit_number) + _setter("unit_number", unit_number) @property @pulumi.getter(name="controllerKey") @@ -1034,10 +1194,21 @@ def __init__(__self__, *, :param int bus_number: (Updatable) Bus number. :param str label: (Updatable) Provides a label and summary information for the device. """ + AssetComputeNvdimmController._configure( + lambda key, value: pulumi.set(__self__, key, value), + bus_number=bus_number, + label=label, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bus_number: Optional[int] = None, + label: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if bus_number is not None: - pulumi.set(__self__, "bus_number", bus_number) + _setter("bus_number", bus_number) if label is not None: - pulumi.set(__self__, "label", label) + _setter("label", label) @property @pulumi.getter(name="busNumber") @@ -1086,12 +1257,25 @@ def __init__(__self__, *, :param str shared_bus: (Updatable) Shared bus. :param int unit_number: (Updatable) The unit number of the SCSI controller. """ + AssetComputeScsiController._configure( + lambda key, value: pulumi.set(__self__, key, value), + label=label, + shared_bus=shared_bus, + unit_number=unit_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + label: Optional[str] = None, + shared_bus: Optional[str] = None, + unit_number: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if label is not None: - pulumi.set(__self__, "label", label) + _setter("label", label) if shared_bus is not None: - pulumi.set(__self__, "shared_bus", shared_bus) + _setter("shared_bus", shared_bus) if unit_number is not None: - pulumi.set(__self__, "unit_number", unit_number) + _setter("unit_number", unit_number) @property @pulumi.getter @@ -1144,8 +1328,19 @@ def __init__(__self__, *, :param str secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret in a vault. If the the type of the credentials is BASIC`, the secret must contain the username and password in JSON format, which is in the form of `{ "username": "", "password": "" }`. :param str type: (Updatable) Asset source type. """ - pulumi.set(__self__, "secret_id", secret_id) - pulumi.set(__self__, "type", type) + AssetSourceDiscoveryCredentials._configure( + lambda key, value: pulumi.set(__self__, key, value), + secret_id=secret_id, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + secret_id: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("secret_id", secret_id) + _setter("type", type) @property @pulumi.getter(name="secretId") @@ -1190,8 +1385,19 @@ def __init__(__self__, *, :param str secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret in a vault. If the the type of the credentials is BASIC`, the secret must contain the username and password in JSON format, which is in the form of `{ "username": "", "password": "" }`. :param str type: (Updatable) Asset source type. """ - pulumi.set(__self__, "secret_id", secret_id) - pulumi.set(__self__, "type", type) + AssetSourceReplicationCredentials._configure( + lambda key, value: pulumi.set(__self__, key, value), + secret_id=secret_id, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + secret_id: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("secret_id", secret_id) + _setter("type", type) @property @pulumi.getter(name="secretId") @@ -1242,12 +1448,25 @@ def __init__(__self__, *, :param str hypervisor_vendor: (Updatable) Hypervisor vendor. :param str hypervisor_version: (Updatable) Hypervisor version. """ + AssetVm._configure( + lambda key, value: pulumi.set(__self__, key, value), + hypervisor_host=hypervisor_host, + hypervisor_vendor=hypervisor_vendor, + hypervisor_version=hypervisor_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hypervisor_host: Optional[str] = None, + hypervisor_vendor: Optional[str] = None, + hypervisor_version: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if hypervisor_host is not None: - pulumi.set(__self__, "hypervisor_host", hypervisor_host) + _setter("hypervisor_host", hypervisor_host) if hypervisor_vendor is not None: - pulumi.set(__self__, "hypervisor_vendor", hypervisor_vendor) + _setter("hypervisor_vendor", hypervisor_vendor) if hypervisor_version is not None: - pulumi.set(__self__, "hypervisor_version", hypervisor_version) + _setter("hypervisor_version", hypervisor_version) @property @pulumi.getter(name="hypervisorHost") @@ -1306,12 +1525,25 @@ def __init__(__self__, *, :param str vcenter_key: (Updatable) vCenter unique key. :param str vcenter_version: (Updatable) Dot-separated version string. """ + AssetVmwareVcenter._configure( + lambda key, value: pulumi.set(__self__, key, value), + data_center=data_center, + vcenter_key=vcenter_key, + vcenter_version=vcenter_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + data_center: Optional[str] = None, + vcenter_key: Optional[str] = None, + vcenter_version: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if data_center is not None: - pulumi.set(__self__, "data_center", data_center) + _setter("data_center", data_center) if vcenter_key is not None: - pulumi.set(__self__, "vcenter_key", vcenter_key) + _setter("vcenter_key", vcenter_key) if vcenter_version is not None: - pulumi.set(__self__, "vcenter_version", vcenter_version) + _setter("vcenter_version", vcenter_version) @property @pulumi.getter(name="dataCenter") @@ -1402,28 +1634,57 @@ def __init__(__self__, *, ** 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 """ + AssetVmwareVm._configure( + lambda key, value: pulumi.set(__self__, key, value), + cluster=cluster, + customer_fields=customer_fields, + customer_tags=customer_tags, + fault_tolerance_bandwidth=fault_tolerance_bandwidth, + fault_tolerance_secondary_latency=fault_tolerance_secondary_latency, + fault_tolerance_state=fault_tolerance_state, + instance_uuid=instance_uuid, + is_disks_cbt_enabled=is_disks_cbt_enabled, + is_disks_uuid_enabled=is_disks_uuid_enabled, + path=path, + vmware_tools_status=vmware_tools_status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cluster: Optional[str] = None, + customer_fields: Optional[Sequence[str]] = None, + customer_tags: Optional[Sequence['outputs.AssetVmwareVmCustomerTag']] = None, + fault_tolerance_bandwidth: Optional[int] = None, + fault_tolerance_secondary_latency: Optional[int] = None, + fault_tolerance_state: Optional[str] = None, + instance_uuid: Optional[str] = None, + is_disks_cbt_enabled: Optional[bool] = None, + is_disks_uuid_enabled: Optional[bool] = None, + path: Optional[str] = None, + vmware_tools_status: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if cluster is not None: - pulumi.set(__self__, "cluster", cluster) + _setter("cluster", cluster) if customer_fields is not None: - pulumi.set(__self__, "customer_fields", customer_fields) + _setter("customer_fields", customer_fields) if customer_tags is not None: - pulumi.set(__self__, "customer_tags", customer_tags) + _setter("customer_tags", customer_tags) if fault_tolerance_bandwidth is not None: - pulumi.set(__self__, "fault_tolerance_bandwidth", fault_tolerance_bandwidth) + _setter("fault_tolerance_bandwidth", fault_tolerance_bandwidth) if fault_tolerance_secondary_latency is not None: - pulumi.set(__self__, "fault_tolerance_secondary_latency", fault_tolerance_secondary_latency) + _setter("fault_tolerance_secondary_latency", fault_tolerance_secondary_latency) if fault_tolerance_state is not None: - pulumi.set(__self__, "fault_tolerance_state", fault_tolerance_state) + _setter("fault_tolerance_state", fault_tolerance_state) if instance_uuid is not None: - pulumi.set(__self__, "instance_uuid", instance_uuid) + _setter("instance_uuid", instance_uuid) if is_disks_cbt_enabled is not None: - pulumi.set(__self__, "is_disks_cbt_enabled", is_disks_cbt_enabled) + _setter("is_disks_cbt_enabled", is_disks_cbt_enabled) if is_disks_uuid_enabled is not None: - pulumi.set(__self__, "is_disks_uuid_enabled", is_disks_uuid_enabled) + _setter("is_disks_uuid_enabled", is_disks_uuid_enabled) if path is not None: - pulumi.set(__self__, "path", path) + _setter("path", path) if vmware_tools_status is not None: - pulumi.set(__self__, "vmware_tools_status", vmware_tools_status) + _setter("vmware_tools_status", vmware_tools_status) @property @pulumi.getter @@ -1527,10 +1788,21 @@ def __init__(__self__, *, :param str description: (Updatable) The tag description. :param str name: (Updatable) The tag name. """ + AssetVmwareVmCustomerTag._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: Optional[str] = None, + name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -1553,7 +1825,16 @@ def name(self) -> Optional[str]: class GetAgentDependenciesAgentDependencyCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetAgentDependenciesAgentDependencyCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetAgentDependenciesAgentDependencyCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetAgentDependenciesAgentDependencyCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1600,23 +1881,64 @@ def __init__(__self__, *, :param Mapping[str, Any] system_tags: The system tags associated with this resource, if any. The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{orcl-cloud: {free-tier-retain: true}}` :param str time_created: The time when the AgentDependency was created. An RFC3339 formatted datetime string. """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "checksum", checksum) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "dependency_name", dependency_name) - pulumi.set(__self__, "dependency_version", dependency_version) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "e_tag", e_tag) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "object", object) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) + GetAgentDependenciesAgentDependencyCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + checksum=checksum, + compartment_id=compartment_id, + defined_tags=defined_tags, + dependency_name=dependency_name, + dependency_version=dependency_version, + description=description, + display_name=display_name, + e_tag=e_tag, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + namespace=namespace, + object=object, + state=state, + system_tags=system_tags, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + checksum: str, + compartment_id: str, + defined_tags: Mapping[str, Any], + dependency_name: str, + dependency_version: str, + description: str, + display_name: str, + e_tag: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + namespace: str, + object: str, + state: str, + system_tags: Mapping[str, Any], + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("checksum", checksum) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("dependency_name", dependency_name) + _setter("dependency_version", dependency_version) + _setter("description", description) + _setter("display_name", display_name) + _setter("e_tag", e_tag) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("namespace", namespace) + _setter("object", object) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) @property @pulumi.getter @@ -1761,10 +2083,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAgentDependenciesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1805,15 +2140,40 @@ def __init__(__self__, *, :param str time_created: The time when the Agent was created. An RFC3339 formatted datetime string. :param str time_updated: The time when the Agent was updated. An RFC3339 formatted datetime string. """ - pulumi.set(__self__, "agent_id", agent_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "plugin_version", plugin_version) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetAgentPluginListResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + agent_id=agent_id, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + name=name, + plugin_version=plugin_version, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agent_id: str, + defined_tags: Mapping[str, Any], + freeform_tags: Mapping[str, Any], + lifecycle_details: str, + name: str, + plugin_version: str, + state: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("agent_id", agent_id) + _setter("defined_tags", defined_tags) + _setter("freeform_tags", freeform_tags) + _setter("lifecycle_details", lifecycle_details) + _setter("name", name) + _setter("plugin_version", plugin_version) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="agentId") @@ -1892,7 +2252,16 @@ def time_updated(self) -> str: class GetAgentsAgentCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetAgentsAgentCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetAgentsAgentCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetAgentsAgentCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1943,25 +2312,70 @@ def __init__(__self__, *, :param str time_last_sync_received: The time when the last heartbeat of the Agent was noted. An RFC3339 formatted datetime string. :param str time_updated: The time when the Agent was updated. An RFC3339 formatted datetime string. """ - pulumi.set(__self__, "agent_pub_key", agent_pub_key) - pulumi.set(__self__, "agent_type", agent_type) - pulumi.set(__self__, "agent_version", agent_version) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "environment_id", environment_id) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "heart_beat_status", heart_beat_status) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "os_version", os_version) - pulumi.set(__self__, "plugin_lists", plugin_lists) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_expire_agent_key_in_ms", time_expire_agent_key_in_ms) - pulumi.set(__self__, "time_last_sync_received", time_last_sync_received) - pulumi.set(__self__, "time_updated", time_updated) + GetAgentsAgentCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + agent_pub_key=agent_pub_key, + agent_type=agent_type, + agent_version=agent_version, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + environment_id=environment_id, + freeform_tags=freeform_tags, + heart_beat_status=heart_beat_status, + id=id, + lifecycle_details=lifecycle_details, + os_version=os_version, + plugin_lists=plugin_lists, + state=state, + system_tags=system_tags, + time_created=time_created, + time_expire_agent_key_in_ms=time_expire_agent_key_in_ms, + time_last_sync_received=time_last_sync_received, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agent_pub_key: str, + agent_type: str, + agent_version: str, + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + environment_id: str, + freeform_tags: Mapping[str, Any], + heart_beat_status: str, + id: str, + lifecycle_details: str, + os_version: str, + plugin_lists: Sequence['outputs.GetAgentsAgentCollectionItemPluginListResult'], + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_expire_agent_key_in_ms: str, + time_last_sync_received: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("agent_pub_key", agent_pub_key) + _setter("agent_type", agent_type) + _setter("agent_version", agent_version) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("environment_id", environment_id) + _setter("freeform_tags", freeform_tags) + _setter("heart_beat_status", heart_beat_status) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("os_version", os_version) + _setter("plugin_lists", plugin_lists) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_expire_agent_key_in_ms", time_expire_agent_key_in_ms) + _setter("time_last_sync_received", time_last_sync_received) + _setter("time_updated", time_updated) @property @pulumi.getter(name="agentPubKey") @@ -2139,15 +2553,40 @@ def __init__(__self__, *, :param str time_created: The time when the Agent was created. An RFC3339 formatted datetime string. :param str time_updated: The time when the Agent was updated. An RFC3339 formatted datetime string. """ - pulumi.set(__self__, "agent_id", agent_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "plugin_version", plugin_version) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetAgentsAgentCollectionItemPluginListResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + agent_id=agent_id, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + name=name, + plugin_version=plugin_version, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agent_id: str, + defined_tags: Mapping[str, Any], + freeform_tags: Mapping[str, Any], + lifecycle_details: str, + name: str, + plugin_version: str, + state: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("agent_id", agent_id) + _setter("defined_tags", defined_tags) + _setter("freeform_tags", freeform_tags) + _setter("lifecycle_details", lifecycle_details) + _setter("name", name) + _setter("plugin_version", plugin_version) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="agentId") @@ -2231,10 +2670,23 @@ def __init__(__self__, *, """ :param str name: Plugin identifier, which can be renamed. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAgentsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2288,20 +2740,55 @@ def __init__(__self__, *, :param str time_updated: The time when the appliance image was last updated. An RFC3339 formatted datetime string. :param str version: The version of the image file. """ - pulumi.set(__self__, "checksum", checksum) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "download_url", download_url) - pulumi.set(__self__, "file_name", file_name) - pulumi.set(__self__, "format", format) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "platform", platform) - pulumi.set(__self__, "size_in_mbs", size_in_mbs) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "version", version) + GetApplianceImageItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + checksum=checksum, + defined_tags=defined_tags, + display_name=display_name, + download_url=download_url, + file_name=file_name, + format=format, + freeform_tags=freeform_tags, + id=id, + platform=platform, + size_in_mbs=size_in_mbs, + state=state, + time_created=time_created, + time_updated=time_updated, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + checksum: str, + defined_tags: Mapping[str, Any], + display_name: str, + download_url: str, + file_name: str, + format: str, + freeform_tags: Mapping[str, Any], + id: str, + platform: str, + size_in_mbs: str, + state: str, + time_created: str, + time_updated: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("checksum", checksum) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("download_url", download_url) + _setter("file_name", file_name) + _setter("format", format) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("platform", platform) + _setter("size_in_mbs", size_in_mbs) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("version", version) @property @pulumi.getter @@ -2423,7 +2910,16 @@ def __init__(__self__, *, """ :param Sequence['GetApplianceImagesApplianceImageCollectionItemArgs'] items: List of appliance images. """ - pulumi.set(__self__, "items", items) + GetApplianceImagesApplianceImageCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetApplianceImagesApplianceImageCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -2467,20 +2963,55 @@ def __init__(__self__, *, :param str time_updated: The time when the appliance image was last updated. An RFC3339 formatted datetime string. :param str version: The version of the image file. """ - pulumi.set(__self__, "checksum", checksum) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "download_url", download_url) - pulumi.set(__self__, "file_name", file_name) - pulumi.set(__self__, "format", format) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "platform", platform) - pulumi.set(__self__, "size_in_mbs", size_in_mbs) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "version", version) + GetApplianceImagesApplianceImageCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + checksum=checksum, + defined_tags=defined_tags, + display_name=display_name, + download_url=download_url, + file_name=file_name, + format=format, + freeform_tags=freeform_tags, + id=id, + platform=platform, + size_in_mbs=size_in_mbs, + state=state, + time_created=time_created, + time_updated=time_updated, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + checksum: str, + defined_tags: Mapping[str, Any], + display_name: str, + download_url: str, + file_name: str, + format: str, + freeform_tags: Mapping[str, Any], + id: str, + platform: str, + size_in_mbs: str, + state: str, + time_created: str, + time_updated: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("checksum", checksum) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("download_url", download_url) + _setter("file_name", file_name) + _setter("format", format) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("platform", platform) + _setter("size_in_mbs", size_in_mbs) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("version", version) @property @pulumi.getter @@ -2601,10 +3132,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetApplianceImagesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2685,35 +3229,100 @@ def __init__(__self__, *, :param str storage_provisioned_in_mbs: Provision storage size in MBs. :param int threads_per_core_count: Number of threads per core. """ - pulumi.set(__self__, "connected_networks", connected_networks) - pulumi.set(__self__, "cores_count", cores_count) - pulumi.set(__self__, "cpu_model", cpu_model) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "disks", disks) - pulumi.set(__self__, "disks_count", disks_count) - pulumi.set(__self__, "dns_name", dns_name) - pulumi.set(__self__, "firmware", firmware) - pulumi.set(__self__, "gpu_devices", gpu_devices) - pulumi.set(__self__, "gpu_devices_count", gpu_devices_count) - pulumi.set(__self__, "guest_state", guest_state) - pulumi.set(__self__, "hardware_version", hardware_version) - pulumi.set(__self__, "host_name", host_name) - pulumi.set(__self__, "is_pmem_enabled", is_pmem_enabled) - pulumi.set(__self__, "is_tpm_enabled", is_tpm_enabled) - pulumi.set(__self__, "latency_sensitivity", latency_sensitivity) - pulumi.set(__self__, "memory_in_mbs", memory_in_mbs) - pulumi.set(__self__, "nics", nics) - pulumi.set(__self__, "nics_count", nics_count) - pulumi.set(__self__, "nvdimm_controllers", nvdimm_controllers) - pulumi.set(__self__, "nvdimms", nvdimms) - pulumi.set(__self__, "operating_system", operating_system) - pulumi.set(__self__, "operating_system_version", operating_system_version) - pulumi.set(__self__, "pmem_in_mbs", pmem_in_mbs) - pulumi.set(__self__, "power_state", power_state) - pulumi.set(__self__, "primary_ip", primary_ip) - pulumi.set(__self__, "scsi_controllers", scsi_controllers) - pulumi.set(__self__, "storage_provisioned_in_mbs", storage_provisioned_in_mbs) - pulumi.set(__self__, "threads_per_core_count", threads_per_core_count) + GetAssetComputeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + connected_networks=connected_networks, + cores_count=cores_count, + cpu_model=cpu_model, + description=description, + disks=disks, + disks_count=disks_count, + dns_name=dns_name, + firmware=firmware, + gpu_devices=gpu_devices, + gpu_devices_count=gpu_devices_count, + guest_state=guest_state, + hardware_version=hardware_version, + host_name=host_name, + is_pmem_enabled=is_pmem_enabled, + is_tpm_enabled=is_tpm_enabled, + latency_sensitivity=latency_sensitivity, + memory_in_mbs=memory_in_mbs, + nics=nics, + nics_count=nics_count, + nvdimm_controllers=nvdimm_controllers, + nvdimms=nvdimms, + operating_system=operating_system, + operating_system_version=operating_system_version, + pmem_in_mbs=pmem_in_mbs, + power_state=power_state, + primary_ip=primary_ip, + scsi_controllers=scsi_controllers, + storage_provisioned_in_mbs=storage_provisioned_in_mbs, + threads_per_core_count=threads_per_core_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + connected_networks: int, + cores_count: int, + cpu_model: str, + description: str, + disks: Sequence['outputs.GetAssetComputeDiskResult'], + disks_count: int, + dns_name: str, + firmware: str, + gpu_devices: Sequence['outputs.GetAssetComputeGpuDeviceResult'], + gpu_devices_count: int, + guest_state: str, + hardware_version: str, + host_name: str, + is_pmem_enabled: bool, + is_tpm_enabled: bool, + latency_sensitivity: str, + memory_in_mbs: str, + nics: Sequence['outputs.GetAssetComputeNicResult'], + nics_count: int, + nvdimm_controllers: Sequence['outputs.GetAssetComputeNvdimmControllerResult'], + nvdimms: Sequence['outputs.GetAssetComputeNvdimmResult'], + operating_system: str, + operating_system_version: str, + pmem_in_mbs: str, + power_state: str, + primary_ip: str, + scsi_controllers: Sequence['outputs.GetAssetComputeScsiControllerResult'], + storage_provisioned_in_mbs: str, + threads_per_core_count: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("connected_networks", connected_networks) + _setter("cores_count", cores_count) + _setter("cpu_model", cpu_model) + _setter("description", description) + _setter("disks", disks) + _setter("disks_count", disks_count) + _setter("dns_name", dns_name) + _setter("firmware", firmware) + _setter("gpu_devices", gpu_devices) + _setter("gpu_devices_count", gpu_devices_count) + _setter("guest_state", guest_state) + _setter("hardware_version", hardware_version) + _setter("host_name", host_name) + _setter("is_pmem_enabled", is_pmem_enabled) + _setter("is_tpm_enabled", is_tpm_enabled) + _setter("latency_sensitivity", latency_sensitivity) + _setter("memory_in_mbs", memory_in_mbs) + _setter("nics", nics) + _setter("nics_count", nics_count) + _setter("nvdimm_controllers", nvdimm_controllers) + _setter("nvdimms", nvdimms) + _setter("operating_system", operating_system) + _setter("operating_system_version", operating_system_version) + _setter("pmem_in_mbs", pmem_in_mbs) + _setter("power_state", power_state) + _setter("primary_ip", primary_ip) + _setter("scsi_controllers", scsi_controllers) + _setter("storage_provisioned_in_mbs", storage_provisioned_in_mbs) + _setter("threads_per_core_count", threads_per_core_count) @property @pulumi.getter(name="connectedNetworks") @@ -2967,13 +3576,34 @@ def __init__(__self__, *, :param str uuid: Disk UUID for the virtual disk, if available. :param str uuid_lun: Disk UUID LUN for the virtual disk, if available. """ - pulumi.set(__self__, "boot_order", boot_order) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "persistent_mode", persistent_mode) - pulumi.set(__self__, "size_in_mbs", size_in_mbs) - pulumi.set(__self__, "uuid", uuid) - pulumi.set(__self__, "uuid_lun", uuid_lun) + GetAssetComputeDiskResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + boot_order=boot_order, + location=location, + name=name, + persistent_mode=persistent_mode, + size_in_mbs=size_in_mbs, + uuid=uuid, + uuid_lun=uuid_lun, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + boot_order: int, + location: str, + name: str, + persistent_mode: str, + size_in_mbs: str, + uuid: str, + uuid_lun: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("boot_order", boot_order) + _setter("location", location) + _setter("name", name) + _setter("persistent_mode", persistent_mode) + _setter("size_in_mbs", size_in_mbs) + _setter("uuid", uuid) + _setter("uuid_lun", uuid_lun) @property @pulumi.getter(name="bootOrder") @@ -3047,11 +3677,28 @@ def __init__(__self__, *, :param str memory_in_mbs: Memory size in MBs. :param str name: The tag name. """ - pulumi.set(__self__, "cores_count", cores_count) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "manufacturer", manufacturer) - pulumi.set(__self__, "memory_in_mbs", memory_in_mbs) - pulumi.set(__self__, "name", name) + GetAssetComputeGpuDeviceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cores_count=cores_count, + description=description, + manufacturer=manufacturer, + memory_in_mbs=memory_in_mbs, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cores_count: int, + description: str, + manufacturer: str, + memory_in_mbs: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cores_count", cores_count) + _setter("description", description) + _setter("manufacturer", manufacturer) + _setter("memory_in_mbs", memory_in_mbs) + _setter("name", name) @property @pulumi.getter(name="coresCount") @@ -3111,12 +3758,31 @@ def __init__(__self__, *, :param str network_name: Network name. :param str switch_name: Switch name. """ - pulumi.set(__self__, "ip_addresses", ip_addresses) - pulumi.set(__self__, "label", label) - pulumi.set(__self__, "mac_address", mac_address) - pulumi.set(__self__, "mac_address_type", mac_address_type) - pulumi.set(__self__, "network_name", network_name) - pulumi.set(__self__, "switch_name", switch_name) + GetAssetComputeNicResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ip_addresses=ip_addresses, + label=label, + mac_address=mac_address, + mac_address_type=mac_address_type, + network_name=network_name, + switch_name=switch_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ip_addresses: Sequence[str], + label: str, + mac_address: str, + mac_address_type: str, + network_name: str, + switch_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ip_addresses", ip_addresses) + _setter("label", label) + _setter("mac_address", mac_address) + _setter("mac_address_type", mac_address_type) + _setter("network_name", network_name) + _setter("switch_name", switch_name) @property @pulumi.getter(name="ipAddresses") @@ -3178,9 +3844,22 @@ def __init__(__self__, *, :param str label: Provides a label and summary information for the device. :param int unit_number: The unit number of the SCSI controller. """ - pulumi.set(__self__, "controller_key", controller_key) - pulumi.set(__self__, "label", label) - pulumi.set(__self__, "unit_number", unit_number) + GetAssetComputeNvdimmResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + controller_key=controller_key, + label=label, + unit_number=unit_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + controller_key: int, + label: str, + unit_number: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("controller_key", controller_key) + _setter("label", label) + _setter("unit_number", unit_number) @property @pulumi.getter(name="controllerKey") @@ -3216,8 +3895,19 @@ def __init__(__self__, *, :param int bus_number: Bus number. :param str label: Provides a label and summary information for the device. """ - pulumi.set(__self__, "bus_number", bus_number) - pulumi.set(__self__, "label", label) + GetAssetComputeNvdimmControllerResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bus_number=bus_number, + label=label, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bus_number: int, + label: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bus_number", bus_number) + _setter("label", label) @property @pulumi.getter(name="busNumber") @@ -3247,9 +3937,22 @@ def __init__(__self__, *, :param str shared_bus: Shared bus. :param int unit_number: The unit number of the SCSI controller. """ - pulumi.set(__self__, "label", label) - pulumi.set(__self__, "shared_bus", shared_bus) - pulumi.set(__self__, "unit_number", unit_number) + GetAssetComputeScsiControllerResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + label=label, + shared_bus=shared_bus, + unit_number=unit_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + label: str, + shared_bus: str, + unit_number: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("label", label) + _setter("shared_bus", shared_bus) + _setter("unit_number", unit_number) @property @pulumi.getter @@ -3285,8 +3988,19 @@ def __init__(__self__, *, :param str secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret in a vault. If the the type of the credentials is BASIC`, the secret must contain the username and password in JSON format, which is in the form of `{ "username": "", "password": "" }`. :param str type: The type of asset source. Indicates external origin of the assets that are read by assigning this asset source. """ - pulumi.set(__self__, "secret_id", secret_id) - pulumi.set(__self__, "type", type) + GetAssetSourceDiscoveryCredentialResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + secret_id=secret_id, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + secret_id: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("secret_id", secret_id) + _setter("type", type) @property @pulumi.getter(name="secretId") @@ -3314,8 +4028,19 @@ def __init__(__self__, *, :param str secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret in a vault. If the the type of the credentials is BASIC`, the secret must contain the username and password in JSON format, which is in the form of `{ "username": "", "password": "" }`. :param str type: The type of asset source. Indicates external origin of the assets that are read by assigning this asset source. """ - pulumi.set(__self__, "secret_id", secret_id) - pulumi.set(__self__, "type", type) + GetAssetSourceReplicationCredentialResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + secret_id=secret_id, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + secret_id: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("secret_id", secret_id) + _setter("type", type) @property @pulumi.getter(name="secretId") @@ -3338,7 +4063,16 @@ def type(self) -> str: class GetAssetSourcesAssetSourceCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetAssetSourcesAssetSourceCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetAssetSourcesAssetSourceCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetAssetSourcesAssetSourceCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -3391,26 +4125,73 @@ def __init__(__self__, *, :param str type: The type of asset source. Indicates external origin of the assets that are read by assigning this asset source. :param str vcenter_endpoint: Endpoint for VMware asset discovery and replication in the form of ```https://:/sdk``` """ - pulumi.set(__self__, "are_historical_metrics_collected", are_historical_metrics_collected) - pulumi.set(__self__, "are_realtime_metrics_collected", are_realtime_metrics_collected) - pulumi.set(__self__, "assets_compartment_id", assets_compartment_id) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "discovery_credentials", discovery_credentials) - pulumi.set(__self__, "discovery_schedule_id", discovery_schedule_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "environment_id", environment_id) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "inventory_id", inventory_id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "replication_credentials", replication_credentials) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "vcenter_endpoint", vcenter_endpoint) + GetAssetSourcesAssetSourceCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + are_historical_metrics_collected=are_historical_metrics_collected, + are_realtime_metrics_collected=are_realtime_metrics_collected, + assets_compartment_id=assets_compartment_id, + compartment_id=compartment_id, + defined_tags=defined_tags, + discovery_credentials=discovery_credentials, + discovery_schedule_id=discovery_schedule_id, + display_name=display_name, + environment_id=environment_id, + freeform_tags=freeform_tags, + id=id, + inventory_id=inventory_id, + lifecycle_details=lifecycle_details, + replication_credentials=replication_credentials, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + type=type, + vcenter_endpoint=vcenter_endpoint, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + are_historical_metrics_collected: bool, + are_realtime_metrics_collected: bool, + assets_compartment_id: str, + compartment_id: str, + defined_tags: Mapping[str, Any], + discovery_credentials: Sequence['outputs.GetAssetSourcesAssetSourceCollectionItemDiscoveryCredentialResult'], + discovery_schedule_id: str, + display_name: str, + environment_id: str, + freeform_tags: Mapping[str, Any], + id: str, + inventory_id: str, + lifecycle_details: str, + replication_credentials: Sequence['outputs.GetAssetSourcesAssetSourceCollectionItemReplicationCredentialResult'], + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + type: str, + vcenter_endpoint: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("are_historical_metrics_collected", are_historical_metrics_collected) + _setter("are_realtime_metrics_collected", are_realtime_metrics_collected) + _setter("assets_compartment_id", assets_compartment_id) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("discovery_credentials", discovery_credentials) + _setter("discovery_schedule_id", discovery_schedule_id) + _setter("display_name", display_name) + _setter("environment_id", environment_id) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("inventory_id", inventory_id) + _setter("lifecycle_details", lifecycle_details) + _setter("replication_credentials", replication_credentials) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("type", type) + _setter("vcenter_endpoint", vcenter_endpoint) @property @pulumi.getter(name="areHistoricalMetricsCollected") @@ -3582,8 +4363,19 @@ def __init__(__self__, *, :param str secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret in a vault. If the the type of the credentials is BASIC`, the secret must contain the username and password in JSON format, which is in the form of `{ "username": "", "password": "" }`. :param str type: The type of asset source. Indicates external origin of the assets that are read by assigning this asset source. """ - pulumi.set(__self__, "secret_id", secret_id) - pulumi.set(__self__, "type", type) + GetAssetSourcesAssetSourceCollectionItemDiscoveryCredentialResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + secret_id=secret_id, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + secret_id: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("secret_id", secret_id) + _setter("type", type) @property @pulumi.getter(name="secretId") @@ -3611,8 +4403,19 @@ def __init__(__self__, *, :param str secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret in a vault. If the the type of the credentials is BASIC`, the secret must contain the username and password in JSON format, which is in the form of `{ "username": "", "password": "" }`. :param str type: The type of asset source. Indicates external origin of the assets that are read by assigning this asset source. """ - pulumi.set(__self__, "secret_id", secret_id) - pulumi.set(__self__, "type", type) + GetAssetSourcesAssetSourceCollectionItemReplicationCredentialResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + secret_id=secret_id, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + secret_id: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("secret_id", secret_id) + _setter("type", type) @property @pulumi.getter(name="secretId") @@ -3637,10 +4440,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAssetSourcesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3669,9 +4485,22 @@ def __init__(__self__, *, :param str hypervisor_vendor: Hypervisor vendor. :param str hypervisor_version: Hypervisor version. """ - pulumi.set(__self__, "hypervisor_host", hypervisor_host) - pulumi.set(__self__, "hypervisor_vendor", hypervisor_vendor) - pulumi.set(__self__, "hypervisor_version", hypervisor_version) + GetAssetVmResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + hypervisor_host=hypervisor_host, + hypervisor_vendor=hypervisor_vendor, + hypervisor_version=hypervisor_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hypervisor_host: str, + hypervisor_vendor: str, + hypervisor_version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("hypervisor_host", hypervisor_host) + _setter("hypervisor_vendor", hypervisor_vendor) + _setter("hypervisor_version", hypervisor_version) @property @pulumi.getter(name="hypervisorHost") @@ -3709,9 +4538,22 @@ def __init__(__self__, *, :param str vcenter_key: vCenter unique key. :param str vcenter_version: Dot-separated version string. """ - pulumi.set(__self__, "data_center", data_center) - pulumi.set(__self__, "vcenter_key", vcenter_key) - pulumi.set(__self__, "vcenter_version", vcenter_version) + GetAssetVmwareVcenterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + data_center=data_center, + vcenter_key=vcenter_key, + vcenter_version=vcenter_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + data_center: str, + vcenter_key: str, + vcenter_version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("data_center", data_center) + _setter("vcenter_key", vcenter_key) + _setter("vcenter_version", vcenter_version) @property @pulumi.getter(name="dataCenter") @@ -3765,17 +4607,46 @@ def __init__(__self__, *, :param str path: Path directory of the asset. :param str vmware_tools_status: VMware tools status. """ - pulumi.set(__self__, "cluster", cluster) - pulumi.set(__self__, "customer_fields", customer_fields) - pulumi.set(__self__, "customer_tags", customer_tags) - pulumi.set(__self__, "fault_tolerance_bandwidth", fault_tolerance_bandwidth) - pulumi.set(__self__, "fault_tolerance_secondary_latency", fault_tolerance_secondary_latency) - pulumi.set(__self__, "fault_tolerance_state", fault_tolerance_state) - pulumi.set(__self__, "instance_uuid", instance_uuid) - pulumi.set(__self__, "is_disks_cbt_enabled", is_disks_cbt_enabled) - pulumi.set(__self__, "is_disks_uuid_enabled", is_disks_uuid_enabled) - pulumi.set(__self__, "path", path) - pulumi.set(__self__, "vmware_tools_status", vmware_tools_status) + GetAssetVmwareVmResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cluster=cluster, + customer_fields=customer_fields, + customer_tags=customer_tags, + fault_tolerance_bandwidth=fault_tolerance_bandwidth, + fault_tolerance_secondary_latency=fault_tolerance_secondary_latency, + fault_tolerance_state=fault_tolerance_state, + instance_uuid=instance_uuid, + is_disks_cbt_enabled=is_disks_cbt_enabled, + is_disks_uuid_enabled=is_disks_uuid_enabled, + path=path, + vmware_tools_status=vmware_tools_status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cluster: str, + customer_fields: Sequence[str], + customer_tags: Sequence['outputs.GetAssetVmwareVmCustomerTagResult'], + fault_tolerance_bandwidth: int, + fault_tolerance_secondary_latency: int, + fault_tolerance_state: str, + instance_uuid: str, + is_disks_cbt_enabled: bool, + is_disks_uuid_enabled: bool, + path: str, + vmware_tools_status: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cluster", cluster) + _setter("customer_fields", customer_fields) + _setter("customer_tags", customer_tags) + _setter("fault_tolerance_bandwidth", fault_tolerance_bandwidth) + _setter("fault_tolerance_secondary_latency", fault_tolerance_secondary_latency) + _setter("fault_tolerance_state", fault_tolerance_state) + _setter("instance_uuid", instance_uuid) + _setter("is_disks_cbt_enabled", is_disks_cbt_enabled) + _setter("is_disks_uuid_enabled", is_disks_uuid_enabled) + _setter("path", path) + _setter("vmware_tools_status", vmware_tools_status) @property @pulumi.getter @@ -3875,8 +4746,19 @@ def __init__(__self__, *, :param str description: The tag description. :param str name: The tag name. """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "name", name) + GetAssetVmwareVmCustomerTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("name", name) @property @pulumi.getter @@ -3899,7 +4781,16 @@ def name(self) -> str: class GetAssetsAssetCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetAssetsAssetCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetAssetsAssetCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetAssetsAssetCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -3948,24 +4839,67 @@ def __init__(__self__, *, :param Sequence['GetAssetsAssetCollectionItemVmwareVcenterArgs'] vmware_vcenters: VMware vCenter related properties. :param Sequence['GetAssetsAssetCollectionItemVmwareVmArgs'] vmware_vms: VMware virtual machine related properties. """ - pulumi.set(__self__, "asset_source_ids", asset_source_ids) - pulumi.set(__self__, "asset_type", asset_type) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "computes", computes) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "external_asset_key", external_asset_key) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "inventory_id", inventory_id) - pulumi.set(__self__, "source_key", source_key) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "vms", vms) - pulumi.set(__self__, "vmware_vcenters", vmware_vcenters) - pulumi.set(__self__, "vmware_vms", vmware_vms) + GetAssetsAssetCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + asset_source_ids=asset_source_ids, + asset_type=asset_type, + compartment_id=compartment_id, + computes=computes, + defined_tags=defined_tags, + display_name=display_name, + external_asset_key=external_asset_key, + freeform_tags=freeform_tags, + id=id, + inventory_id=inventory_id, + source_key=source_key, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + vms=vms, + vmware_vcenters=vmware_vcenters, + vmware_vms=vmware_vms, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + asset_source_ids: Sequence[str], + asset_type: str, + compartment_id: str, + computes: Sequence['outputs.GetAssetsAssetCollectionItemComputeResult'], + defined_tags: Mapping[str, Any], + display_name: str, + external_asset_key: str, + freeform_tags: Mapping[str, Any], + id: str, + inventory_id: str, + source_key: str, + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + vms: Sequence['outputs.GetAssetsAssetCollectionItemVmResult'], + vmware_vcenters: Sequence['outputs.GetAssetsAssetCollectionItemVmwareVcenterResult'], + vmware_vms: Sequence['outputs.GetAssetsAssetCollectionItemVmwareVmResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("asset_source_ids", asset_source_ids) + _setter("asset_type", asset_type) + _setter("compartment_id", compartment_id) + _setter("computes", computes) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("external_asset_key", external_asset_key) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("inventory_id", inventory_id) + _setter("source_key", source_key) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("vms", vms) + _setter("vmware_vcenters", vmware_vcenters) + _setter("vmware_vms", vmware_vms) @property @pulumi.getter(name="assetSourceIds") @@ -4175,35 +5109,100 @@ def __init__(__self__, *, :param str storage_provisioned_in_mbs: Provision storage size in MBs. :param int threads_per_core_count: Number of threads per core. """ - pulumi.set(__self__, "connected_networks", connected_networks) - pulumi.set(__self__, "cores_count", cores_count) - pulumi.set(__self__, "cpu_model", cpu_model) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "disks", disks) - pulumi.set(__self__, "disks_count", disks_count) - pulumi.set(__self__, "dns_name", dns_name) - pulumi.set(__self__, "firmware", firmware) - pulumi.set(__self__, "gpu_devices", gpu_devices) - pulumi.set(__self__, "gpu_devices_count", gpu_devices_count) - pulumi.set(__self__, "guest_state", guest_state) - pulumi.set(__self__, "hardware_version", hardware_version) - pulumi.set(__self__, "host_name", host_name) - pulumi.set(__self__, "is_pmem_enabled", is_pmem_enabled) - pulumi.set(__self__, "is_tpm_enabled", is_tpm_enabled) - pulumi.set(__self__, "latency_sensitivity", latency_sensitivity) - pulumi.set(__self__, "memory_in_mbs", memory_in_mbs) - pulumi.set(__self__, "nics", nics) - pulumi.set(__self__, "nics_count", nics_count) - pulumi.set(__self__, "nvdimm_controllers", nvdimm_controllers) - pulumi.set(__self__, "nvdimms", nvdimms) - pulumi.set(__self__, "operating_system", operating_system) - pulumi.set(__self__, "operating_system_version", operating_system_version) - pulumi.set(__self__, "pmem_in_mbs", pmem_in_mbs) - pulumi.set(__self__, "power_state", power_state) - pulumi.set(__self__, "primary_ip", primary_ip) - pulumi.set(__self__, "scsi_controllers", scsi_controllers) - pulumi.set(__self__, "storage_provisioned_in_mbs", storage_provisioned_in_mbs) - pulumi.set(__self__, "threads_per_core_count", threads_per_core_count) + GetAssetsAssetCollectionItemComputeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + connected_networks=connected_networks, + cores_count=cores_count, + cpu_model=cpu_model, + description=description, + disks=disks, + disks_count=disks_count, + dns_name=dns_name, + firmware=firmware, + gpu_devices=gpu_devices, + gpu_devices_count=gpu_devices_count, + guest_state=guest_state, + hardware_version=hardware_version, + host_name=host_name, + is_pmem_enabled=is_pmem_enabled, + is_tpm_enabled=is_tpm_enabled, + latency_sensitivity=latency_sensitivity, + memory_in_mbs=memory_in_mbs, + nics=nics, + nics_count=nics_count, + nvdimm_controllers=nvdimm_controllers, + nvdimms=nvdimms, + operating_system=operating_system, + operating_system_version=operating_system_version, + pmem_in_mbs=pmem_in_mbs, + power_state=power_state, + primary_ip=primary_ip, + scsi_controllers=scsi_controllers, + storage_provisioned_in_mbs=storage_provisioned_in_mbs, + threads_per_core_count=threads_per_core_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + connected_networks: int, + cores_count: int, + cpu_model: str, + description: str, + disks: Sequence['outputs.GetAssetsAssetCollectionItemComputeDiskResult'], + disks_count: int, + dns_name: str, + firmware: str, + gpu_devices: Sequence['outputs.GetAssetsAssetCollectionItemComputeGpuDeviceResult'], + gpu_devices_count: int, + guest_state: str, + hardware_version: str, + host_name: str, + is_pmem_enabled: bool, + is_tpm_enabled: bool, + latency_sensitivity: str, + memory_in_mbs: str, + nics: Sequence['outputs.GetAssetsAssetCollectionItemComputeNicResult'], + nics_count: int, + nvdimm_controllers: Sequence['outputs.GetAssetsAssetCollectionItemComputeNvdimmControllerResult'], + nvdimms: Sequence['outputs.GetAssetsAssetCollectionItemComputeNvdimmResult'], + operating_system: str, + operating_system_version: str, + pmem_in_mbs: str, + power_state: str, + primary_ip: str, + scsi_controllers: Sequence['outputs.GetAssetsAssetCollectionItemComputeScsiControllerResult'], + storage_provisioned_in_mbs: str, + threads_per_core_count: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("connected_networks", connected_networks) + _setter("cores_count", cores_count) + _setter("cpu_model", cpu_model) + _setter("description", description) + _setter("disks", disks) + _setter("disks_count", disks_count) + _setter("dns_name", dns_name) + _setter("firmware", firmware) + _setter("gpu_devices", gpu_devices) + _setter("gpu_devices_count", gpu_devices_count) + _setter("guest_state", guest_state) + _setter("hardware_version", hardware_version) + _setter("host_name", host_name) + _setter("is_pmem_enabled", is_pmem_enabled) + _setter("is_tpm_enabled", is_tpm_enabled) + _setter("latency_sensitivity", latency_sensitivity) + _setter("memory_in_mbs", memory_in_mbs) + _setter("nics", nics) + _setter("nics_count", nics_count) + _setter("nvdimm_controllers", nvdimm_controllers) + _setter("nvdimms", nvdimms) + _setter("operating_system", operating_system) + _setter("operating_system_version", operating_system_version) + _setter("pmem_in_mbs", pmem_in_mbs) + _setter("power_state", power_state) + _setter("primary_ip", primary_ip) + _setter("scsi_controllers", scsi_controllers) + _setter("storage_provisioned_in_mbs", storage_provisioned_in_mbs) + _setter("threads_per_core_count", threads_per_core_count) @property @pulumi.getter(name="connectedNetworks") @@ -4457,13 +5456,34 @@ def __init__(__self__, *, :param str uuid: Disk UUID for the virtual disk, if available. :param str uuid_lun: Disk UUID LUN for the virtual disk, if available. """ - pulumi.set(__self__, "boot_order", boot_order) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "persistent_mode", persistent_mode) - pulumi.set(__self__, "size_in_mbs", size_in_mbs) - pulumi.set(__self__, "uuid", uuid) - pulumi.set(__self__, "uuid_lun", uuid_lun) + GetAssetsAssetCollectionItemComputeDiskResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + boot_order=boot_order, + location=location, + name=name, + persistent_mode=persistent_mode, + size_in_mbs=size_in_mbs, + uuid=uuid, + uuid_lun=uuid_lun, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + boot_order: int, + location: str, + name: str, + persistent_mode: str, + size_in_mbs: str, + uuid: str, + uuid_lun: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("boot_order", boot_order) + _setter("location", location) + _setter("name", name) + _setter("persistent_mode", persistent_mode) + _setter("size_in_mbs", size_in_mbs) + _setter("uuid", uuid) + _setter("uuid_lun", uuid_lun) @property @pulumi.getter(name="bootOrder") @@ -4537,11 +5557,28 @@ def __init__(__self__, *, :param str memory_in_mbs: Memory size in MBs. :param str name: The tag name. """ - pulumi.set(__self__, "cores_count", cores_count) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "manufacturer", manufacturer) - pulumi.set(__self__, "memory_in_mbs", memory_in_mbs) - pulumi.set(__self__, "name", name) + GetAssetsAssetCollectionItemComputeGpuDeviceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cores_count=cores_count, + description=description, + manufacturer=manufacturer, + memory_in_mbs=memory_in_mbs, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cores_count: int, + description: str, + manufacturer: str, + memory_in_mbs: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cores_count", cores_count) + _setter("description", description) + _setter("manufacturer", manufacturer) + _setter("memory_in_mbs", memory_in_mbs) + _setter("name", name) @property @pulumi.getter(name="coresCount") @@ -4601,12 +5638,31 @@ def __init__(__self__, *, :param str network_name: Network name. :param str switch_name: Switch name. """ - pulumi.set(__self__, "ip_addresses", ip_addresses) - pulumi.set(__self__, "label", label) - pulumi.set(__self__, "mac_address", mac_address) - pulumi.set(__self__, "mac_address_type", mac_address_type) - pulumi.set(__self__, "network_name", network_name) - pulumi.set(__self__, "switch_name", switch_name) + GetAssetsAssetCollectionItemComputeNicResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ip_addresses=ip_addresses, + label=label, + mac_address=mac_address, + mac_address_type=mac_address_type, + network_name=network_name, + switch_name=switch_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ip_addresses: Sequence[str], + label: str, + mac_address: str, + mac_address_type: str, + network_name: str, + switch_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ip_addresses", ip_addresses) + _setter("label", label) + _setter("mac_address", mac_address) + _setter("mac_address_type", mac_address_type) + _setter("network_name", network_name) + _setter("switch_name", switch_name) @property @pulumi.getter(name="ipAddresses") @@ -4668,9 +5724,22 @@ def __init__(__self__, *, :param str label: Provides a label and summary information for the device. :param int unit_number: The unit number of the SCSI controller. """ - pulumi.set(__self__, "controller_key", controller_key) - pulumi.set(__self__, "label", label) - pulumi.set(__self__, "unit_number", unit_number) + GetAssetsAssetCollectionItemComputeNvdimmResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + controller_key=controller_key, + label=label, + unit_number=unit_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + controller_key: int, + label: str, + unit_number: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("controller_key", controller_key) + _setter("label", label) + _setter("unit_number", unit_number) @property @pulumi.getter(name="controllerKey") @@ -4706,8 +5775,19 @@ def __init__(__self__, *, :param int bus_number: Bus number. :param str label: Provides a label and summary information for the device. """ - pulumi.set(__self__, "bus_number", bus_number) - pulumi.set(__self__, "label", label) + GetAssetsAssetCollectionItemComputeNvdimmControllerResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bus_number=bus_number, + label=label, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bus_number: int, + label: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bus_number", bus_number) + _setter("label", label) @property @pulumi.getter(name="busNumber") @@ -4737,9 +5817,22 @@ def __init__(__self__, *, :param str shared_bus: Shared bus. :param int unit_number: The unit number of the SCSI controller. """ - pulumi.set(__self__, "label", label) - pulumi.set(__self__, "shared_bus", shared_bus) - pulumi.set(__self__, "unit_number", unit_number) + GetAssetsAssetCollectionItemComputeScsiControllerResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + label=label, + shared_bus=shared_bus, + unit_number=unit_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + label: str, + shared_bus: str, + unit_number: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("label", label) + _setter("shared_bus", shared_bus) + _setter("unit_number", unit_number) @property @pulumi.getter @@ -4777,9 +5870,22 @@ def __init__(__self__, *, :param str hypervisor_vendor: Hypervisor vendor. :param str hypervisor_version: Hypervisor version. """ - pulumi.set(__self__, "hypervisor_host", hypervisor_host) - pulumi.set(__self__, "hypervisor_vendor", hypervisor_vendor) - pulumi.set(__self__, "hypervisor_version", hypervisor_version) + GetAssetsAssetCollectionItemVmResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + hypervisor_host=hypervisor_host, + hypervisor_vendor=hypervisor_vendor, + hypervisor_version=hypervisor_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hypervisor_host: str, + hypervisor_vendor: str, + hypervisor_version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("hypervisor_host", hypervisor_host) + _setter("hypervisor_vendor", hypervisor_vendor) + _setter("hypervisor_version", hypervisor_version) @property @pulumi.getter(name="hypervisorHost") @@ -4817,9 +5923,22 @@ def __init__(__self__, *, :param str vcenter_key: vCenter unique key. :param str vcenter_version: Dot-separated version string. """ - pulumi.set(__self__, "data_center", data_center) - pulumi.set(__self__, "vcenter_key", vcenter_key) - pulumi.set(__self__, "vcenter_version", vcenter_version) + GetAssetsAssetCollectionItemVmwareVcenterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + data_center=data_center, + vcenter_key=vcenter_key, + vcenter_version=vcenter_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + data_center: str, + vcenter_key: str, + vcenter_version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("data_center", data_center) + _setter("vcenter_key", vcenter_key) + _setter("vcenter_version", vcenter_version) @property @pulumi.getter(name="dataCenter") @@ -4873,17 +5992,46 @@ def __init__(__self__, *, :param str path: Path directory of the asset. :param str vmware_tools_status: VMware tools status. """ - pulumi.set(__self__, "cluster", cluster) - pulumi.set(__self__, "customer_fields", customer_fields) - pulumi.set(__self__, "customer_tags", customer_tags) - pulumi.set(__self__, "fault_tolerance_bandwidth", fault_tolerance_bandwidth) - pulumi.set(__self__, "fault_tolerance_secondary_latency", fault_tolerance_secondary_latency) - pulumi.set(__self__, "fault_tolerance_state", fault_tolerance_state) - pulumi.set(__self__, "instance_uuid", instance_uuid) - pulumi.set(__self__, "is_disks_cbt_enabled", is_disks_cbt_enabled) - pulumi.set(__self__, "is_disks_uuid_enabled", is_disks_uuid_enabled) - pulumi.set(__self__, "path", path) - pulumi.set(__self__, "vmware_tools_status", vmware_tools_status) + GetAssetsAssetCollectionItemVmwareVmResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cluster=cluster, + customer_fields=customer_fields, + customer_tags=customer_tags, + fault_tolerance_bandwidth=fault_tolerance_bandwidth, + fault_tolerance_secondary_latency=fault_tolerance_secondary_latency, + fault_tolerance_state=fault_tolerance_state, + instance_uuid=instance_uuid, + is_disks_cbt_enabled=is_disks_cbt_enabled, + is_disks_uuid_enabled=is_disks_uuid_enabled, + path=path, + vmware_tools_status=vmware_tools_status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cluster: str, + customer_fields: Sequence[str], + customer_tags: Sequence['outputs.GetAssetsAssetCollectionItemVmwareVmCustomerTagResult'], + fault_tolerance_bandwidth: int, + fault_tolerance_secondary_latency: int, + fault_tolerance_state: str, + instance_uuid: str, + is_disks_cbt_enabled: bool, + is_disks_uuid_enabled: bool, + path: str, + vmware_tools_status: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cluster", cluster) + _setter("customer_fields", customer_fields) + _setter("customer_tags", customer_tags) + _setter("fault_tolerance_bandwidth", fault_tolerance_bandwidth) + _setter("fault_tolerance_secondary_latency", fault_tolerance_secondary_latency) + _setter("fault_tolerance_state", fault_tolerance_state) + _setter("instance_uuid", instance_uuid) + _setter("is_disks_cbt_enabled", is_disks_cbt_enabled) + _setter("is_disks_uuid_enabled", is_disks_uuid_enabled) + _setter("path", path) + _setter("vmware_tools_status", vmware_tools_status) @property @pulumi.getter @@ -4983,8 +6131,19 @@ def __init__(__self__, *, :param str description: The tag description. :param str name: The tag name. """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "name", name) + GetAssetsAssetCollectionItemVmwareVmCustomerTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("name", name) @property @pulumi.getter @@ -5012,10 +6171,23 @@ def __init__(__self__, *, """ :param str name: The tag name. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAssetsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5040,7 +6212,16 @@ def regex(self) -> Optional[bool]: class GetDiscoverySchedulesDiscoveryScheduleCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetDiscoverySchedulesDiscoveryScheduleCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetDiscoverySchedulesDiscoveryScheduleCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDiscoverySchedulesDiscoveryScheduleCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -5075,17 +6256,46 @@ def __init__(__self__, *, :param str time_created: The time when the discovery schedule was created in RFC3339 format. :param str time_updated: The time when the discovery schedule was last updated in RFC3339 format. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "execution_recurrences", execution_recurrences) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetDiscoverySchedulesDiscoveryScheduleCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + execution_recurrences=execution_recurrences, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + execution_recurrences: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("execution_recurrences", execution_recurrences) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -5182,10 +6392,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDiscoverySchedulesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5207,7 +6430,16 @@ def regex(self) -> Optional[bool]: class GetEnvironmentsEnvironmentCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetEnvironmentsEnvironmentCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetEnvironmentsEnvironmentCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetEnvironmentsEnvironmentCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -5240,16 +6472,43 @@ def __init__(__self__, *, :param str time_created: The time when the source environment was created. An RFC3339 formatted datetime string. :param str time_updated: The time when the source environment was updated. An RFC3339 formatted datetime string. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetEnvironmentsEnvironmentCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -5338,10 +6597,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetEnvironmentsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5365,10 +6637,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetInventoriesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5390,7 +6675,16 @@ def regex(self) -> Optional[bool]: class GetInventoriesInventoryCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetInventoriesInventoryCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetInventoriesInventoryCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetInventoriesInventoryCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -5423,16 +6717,43 @@ def __init__(__self__, *, :param str time_created: The time when the inventory was created. An RFC3339 formatted datetime string. :param str time_updated: The time when the inventory was updated. An RFC3339 formatted datetime string. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetInventoriesInventoryCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") diff --git a/sdk/python/pulumi_oci/cloudguard/_inputs.py b/sdk/python/pulumi_oci/cloudguard/_inputs.py index 7c6486104d..083a247a9e 100644 --- a/sdk/python/pulumi_oci/cloudguard/_inputs.py +++ b/sdk/python/pulumi_oci/cloudguard/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -95,25 +95,52 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] regions: (Updatable) Logging Query regions :param pulumi.Input[int] threshold: (Updatable) The integer value that must be exceeded, fall below or equal to (depending on the operator), the query result to trigger an event. """ - pulumi.set(__self__, "data_source_feed_provider", data_source_feed_provider) + CloudGuardDataSourceDataSourceDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + data_source_feed_provider=data_source_feed_provider, + additional_entities_count=additional_entities_count, + interval_in_minutes=interval_in_minutes, + logging_query_details=logging_query_details, + logging_query_type=logging_query_type, + operator=operator, + query=query, + query_start_time=query_start_time, + regions=regions, + threshold=threshold, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + data_source_feed_provider: pulumi.Input[str], + additional_entities_count: Optional[pulumi.Input[int]] = None, + interval_in_minutes: Optional[pulumi.Input[int]] = None, + logging_query_details: Optional[pulumi.Input['CloudGuardDataSourceDataSourceDetailsLoggingQueryDetailsArgs']] = None, + logging_query_type: Optional[pulumi.Input[str]] = None, + operator: Optional[pulumi.Input[str]] = None, + query: Optional[pulumi.Input[str]] = None, + query_start_time: Optional[pulumi.Input['CloudGuardDataSourceDataSourceDetailsQueryStartTimeArgs']] = None, + regions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + threshold: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("data_source_feed_provider", data_source_feed_provider) if additional_entities_count is not None: - pulumi.set(__self__, "additional_entities_count", additional_entities_count) + _setter("additional_entities_count", additional_entities_count) if interval_in_minutes is not None: - pulumi.set(__self__, "interval_in_minutes", interval_in_minutes) + _setter("interval_in_minutes", interval_in_minutes) if logging_query_details is not None: - pulumi.set(__self__, "logging_query_details", logging_query_details) + _setter("logging_query_details", logging_query_details) if logging_query_type is not None: - pulumi.set(__self__, "logging_query_type", logging_query_type) + _setter("logging_query_type", logging_query_type) if operator is not None: - pulumi.set(__self__, "operator", operator) + _setter("operator", operator) if query is not None: - pulumi.set(__self__, "query", query) + _setter("query", query) if query_start_time is not None: - pulumi.set(__self__, "query_start_time", query_start_time) + _setter("query_start_time", query_start_time) if regions is not None: - pulumi.set(__self__, "regions", regions) + _setter("regions", regions) if threshold is not None: - pulumi.set(__self__, "threshold", threshold) + _setter("threshold", threshold) @property @pulumi.getter(name="dataSourceFeedProvider") @@ -245,9 +272,20 @@ def __init__(__self__, *, :param pulumi.Input[str] logging_query_type: (Updatable) Logging query type for data source (Sighting/Insight) :param pulumi.Input[int] key_entities_count: (Updatable) The key entities count used for data source query """ - pulumi.set(__self__, "logging_query_type", logging_query_type) + CloudGuardDataSourceDataSourceDetailsLoggingQueryDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + logging_query_type=logging_query_type, + key_entities_count=key_entities_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + logging_query_type: pulumi.Input[str], + key_entities_count: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("logging_query_type", logging_query_type) if key_entities_count is not None: - pulumi.set(__self__, "key_entities_count", key_entities_count) + _setter("key_entities_count", key_entities_count) @property @pulumi.getter(name="loggingQueryType") @@ -283,9 +321,20 @@ def __init__(__self__, *, :param pulumi.Input[str] start_policy_type: (Updatable) policy used for deciding the query start time :param pulumi.Input[str] query_start_time: (Updatable) Time when the query can start, if not specified it can start immediately. """ - pulumi.set(__self__, "start_policy_type", start_policy_type) + CloudGuardDataSourceDataSourceDetailsQueryStartTimeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + start_policy_type=start_policy_type, + query_start_time=query_start_time, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + start_policy_type: pulumi.Input[str], + query_start_time: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("start_policy_type", start_policy_type) if query_start_time is not None: - pulumi.set(__self__, "query_start_time", query_start_time) + _setter("query_start_time", query_start_time) @property @pulumi.getter(name="startPolicyType") @@ -321,10 +370,21 @@ def __init__(__self__, *, :param pulumi.Input[str] detector_recipe_id: Id of the attached detectorRecipeId to the Data Source. :param pulumi.Input[str] detector_rule_id: Id of the attached detectorRuleId to the Data Source. """ + CloudGuardDataSourceDataSourceDetectorMappingInfoArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + detector_recipe_id=detector_recipe_id, + detector_rule_id=detector_rule_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + detector_recipe_id: Optional[pulumi.Input[str]] = None, + detector_rule_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if detector_recipe_id is not None: - pulumi.set(__self__, "detector_recipe_id", detector_recipe_id) + _setter("detector_recipe_id", detector_recipe_id) if detector_rule_id is not None: - pulumi.set(__self__, "detector_rule_id", detector_rule_id) + _setter("detector_rule_id", detector_rule_id) @property @pulumi.getter(name="detectorRecipeId") @@ -360,10 +420,21 @@ def __init__(__self__, *, :param pulumi.Input[str] region: Data Source replication region. :param pulumi.Input[str] status: Status of data Source """ + CloudGuardDataSourceRegionStatusDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + region=region, + status=status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + region: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if region is not None: - pulumi.set(__self__, "region", region) + _setter("region", region) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) @property @pulumi.getter @@ -403,9 +474,20 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "kind", kind) + DataMaskRuleTargetSelectedArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + kind=kind, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + kind: pulumi.Input[str], + values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("kind", kind) if values is not None: - pulumi.set(__self__, "values", values) + _setter("values", values) @property @pulumi.getter @@ -475,36 +557,75 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the detector recipe was created. Format defined by RFC3339. :param pulumi.Input[str] time_updated: The date and time the detector recipe was updated. Format defined by RFC3339. """ - pulumi.set(__self__, "details", details) - pulumi.set(__self__, "detector_rule_id", detector_rule_id) + DetectorRecipeDetectorRuleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + details=details, + detector_rule_id=detector_rule_id, + candidate_responder_rules=candidate_responder_rules, + data_source_id=data_source_id, + description=description, + detector=detector, + display_name=display_name, + entities_mappings=entities_mappings, + lifecycle_details=lifecycle_details, + managed_list_types=managed_list_types, + recommendation=recommendation, + resource_type=resource_type, + service_type=service_type, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + details: pulumi.Input['DetectorRecipeDetectorRuleDetailsArgs'], + detector_rule_id: pulumi.Input[str], + candidate_responder_rules: Optional[pulumi.Input[Sequence[pulumi.Input['DetectorRecipeDetectorRuleCandidateResponderRuleArgs']]]] = None, + data_source_id: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + detector: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + entities_mappings: Optional[pulumi.Input[Sequence[pulumi.Input['DetectorRecipeDetectorRuleEntitiesMappingArgs']]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + managed_list_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + recommendation: Optional[pulumi.Input[str]] = None, + resource_type: Optional[pulumi.Input[str]] = None, + service_type: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("details", details) + _setter("detector_rule_id", detector_rule_id) if candidate_responder_rules is not None: - pulumi.set(__self__, "candidate_responder_rules", candidate_responder_rules) + _setter("candidate_responder_rules", candidate_responder_rules) if data_source_id is not None: - pulumi.set(__self__, "data_source_id", data_source_id) + _setter("data_source_id", data_source_id) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if detector is not None: - pulumi.set(__self__, "detector", detector) + _setter("detector", detector) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if entities_mappings is not None: - pulumi.set(__self__, "entities_mappings", entities_mappings) + _setter("entities_mappings", entities_mappings) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if managed_list_types is not None: - pulumi.set(__self__, "managed_list_types", managed_list_types) + _setter("managed_list_types", managed_list_types) if recommendation is not None: - pulumi.set(__self__, "recommendation", recommendation) + _setter("recommendation", recommendation) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if service_type is not None: - pulumi.set(__self__, "service_type", service_type) + _setter("service_type", service_type) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter @@ -714,12 +835,25 @@ def __init__(__self__, *, :param pulumi.Input[str] id: Ocid for detector recipe :param pulumi.Input[bool] is_preferred: Preferred state """ + DetectorRecipeDetectorRuleCandidateResponderRuleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + id=id, + is_preferred=is_preferred, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: Optional[pulumi.Input[str]] = None, + id: Optional[pulumi.Input[str]] = None, + is_preferred: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if is_preferred is not None: - pulumi.set(__self__, "is_preferred", is_preferred) + _setter("is_preferred", is_preferred) @property @pulumi.getter(name="displayName") @@ -785,24 +919,51 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] labels: (Updatable) user defined labels for a detector rule :param pulumi.Input[str] recommendation: (Updatable) Recommendation for DetectorRecipeDetectorRule """ - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "risk_level", risk_level) + DetectorRecipeDetectorRuleDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + risk_level=risk_level, + condition=condition, + configurations=configurations, + data_source_id=data_source_id, + description=description, + entities_mappings=entities_mappings, + is_configuration_allowed=is_configuration_allowed, + labels=labels, + recommendation=recommendation, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: pulumi.Input[bool], + risk_level: pulumi.Input[str], + condition: Optional[pulumi.Input[str]] = None, + configurations: Optional[pulumi.Input[Sequence[pulumi.Input['DetectorRecipeDetectorRuleDetailsConfigurationArgs']]]] = None, + data_source_id: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + entities_mappings: Optional[pulumi.Input[Sequence[pulumi.Input['DetectorRecipeDetectorRuleDetailsEntitiesMappingArgs']]]] = None, + is_configuration_allowed: Optional[pulumi.Input[bool]] = None, + labels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + recommendation: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_enabled", is_enabled) + _setter("risk_level", risk_level) if condition is not None: - pulumi.set(__self__, "condition", condition) + _setter("condition", condition) if configurations is not None: - pulumi.set(__self__, "configurations", configurations) + _setter("configurations", configurations) if data_source_id is not None: - pulumi.set(__self__, "data_source_id", data_source_id) + _setter("data_source_id", data_source_id) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if entities_mappings is not None: - pulumi.set(__self__, "entities_mappings", entities_mappings) + _setter("entities_mappings", entities_mappings) if is_configuration_allowed is not None: - pulumi.set(__self__, "is_configuration_allowed", is_configuration_allowed) + _setter("is_configuration_allowed", is_configuration_allowed) if labels is not None: - pulumi.set(__self__, "labels", labels) + _setter("labels", labels) if recommendation is not None: - pulumi.set(__self__, "recommendation", recommendation) + _setter("recommendation", recommendation) @property @pulumi.getter(name="isEnabled") @@ -940,14 +1101,31 @@ def __init__(__self__, *, :param pulumi.Input[str] value: (Updatable) configuration value :param pulumi.Input[Sequence[pulumi.Input['DetectorRecipeDetectorRuleDetailsConfigurationValueArgs']]] values: (Updatable) List of configuration values """ - pulumi.set(__self__, "config_key", config_key) - pulumi.set(__self__, "name", name) + DetectorRecipeDetectorRuleDetailsConfigurationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + config_key=config_key, + name=name, + data_type=data_type, + value=value, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + config_key: pulumi.Input[str], + name: pulumi.Input[str], + data_type: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + values: Optional[pulumi.Input[Sequence[pulumi.Input['DetectorRecipeDetectorRuleDetailsConfigurationValueArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("config_key", config_key) + _setter("name", name) if data_type is not None: - pulumi.set(__self__, "data_type", data_type) + _setter("data_type", data_type) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) if values is not None: - pulumi.set(__self__, "values", values) + _setter("values", values) @property @pulumi.getter(name="configKey") @@ -1021,9 +1199,22 @@ def __init__(__self__, *, :param pulumi.Input[str] managed_list_type: (Updatable) type of the managed list :param pulumi.Input[str] value: (Updatable) configuration value """ - pulumi.set(__self__, "list_type", list_type) - pulumi.set(__self__, "managed_list_type", managed_list_type) - pulumi.set(__self__, "value", value) + DetectorRecipeDetectorRuleDetailsConfigurationValueArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + list_type=list_type, + managed_list_type=managed_list_type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + list_type: pulumi.Input[str], + managed_list_type: pulumi.Input[str], + value: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("list_type", list_type) + _setter("managed_list_type", managed_list_type) + _setter("value", value) @property @pulumi.getter(name="listType") @@ -1075,11 +1266,24 @@ def __init__(__self__, *, Avoid entering confidential information. :param pulumi.Input[str] entity_type: (Updatable) Possible type of entity """ - pulumi.set(__self__, "query_field", query_field) + DetectorRecipeDetectorRuleDetailsEntitiesMappingArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + query_field=query_field, + display_name=display_name, + entity_type=entity_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + query_field: pulumi.Input[str], + display_name: Optional[pulumi.Input[str]] = None, + entity_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("query_field", query_field) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if entity_type is not None: - pulumi.set(__self__, "entity_type", entity_type) + _setter("entity_type", entity_type) @property @pulumi.getter(name="queryField") @@ -1133,12 +1337,25 @@ def __init__(__self__, *, :param pulumi.Input[str] entity_type: (Updatable) Possible type of entity :param pulumi.Input[str] query_field: (Updatable) The entity value mapped to a data source query """ + DetectorRecipeDetectorRuleEntitiesMappingArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + entity_type=entity_type, + query_field=query_field, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: Optional[pulumi.Input[str]] = None, + entity_type: Optional[pulumi.Input[str]] = None, + query_field: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if entity_type is not None: - pulumi.set(__self__, "entity_type", entity_type) + _setter("entity_type", entity_type) if query_field is not None: - pulumi.set(__self__, "query_field", query_field) + _setter("query_field", query_field) @property @pulumi.getter(name="displayName") @@ -1218,38 +1435,77 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the detector recipe was created. Format defined by RFC3339. :param pulumi.Input[str] time_updated: The date and time the detector recipe was updated. Format defined by RFC3339. """ + DetectorRecipeEffectiveDetectorRuleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + candidate_responder_rules=candidate_responder_rules, + data_source_id=data_source_id, + description=description, + details=details, + detector=detector, + detector_rule_id=detector_rule_id, + display_name=display_name, + entities_mappings=entities_mappings, + lifecycle_details=lifecycle_details, + managed_list_types=managed_list_types, + recommendation=recommendation, + resource_type=resource_type, + service_type=service_type, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + candidate_responder_rules: Optional[pulumi.Input[Sequence[pulumi.Input['DetectorRecipeEffectiveDetectorRuleCandidateResponderRuleArgs']]]] = None, + data_source_id: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + details: Optional[pulumi.Input[Sequence[pulumi.Input['DetectorRecipeEffectiveDetectorRuleDetailArgs']]]] = None, + detector: Optional[pulumi.Input[str]] = None, + detector_rule_id: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + entities_mappings: Optional[pulumi.Input[Sequence[pulumi.Input['DetectorRecipeEffectiveDetectorRuleEntitiesMappingArgs']]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + managed_list_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + recommendation: Optional[pulumi.Input[str]] = None, + resource_type: Optional[pulumi.Input[str]] = None, + service_type: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if candidate_responder_rules is not None: - pulumi.set(__self__, "candidate_responder_rules", candidate_responder_rules) + _setter("candidate_responder_rules", candidate_responder_rules) if data_source_id is not None: - pulumi.set(__self__, "data_source_id", data_source_id) + _setter("data_source_id", data_source_id) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if details is not None: - pulumi.set(__self__, "details", details) + _setter("details", details) if detector is not None: - pulumi.set(__self__, "detector", detector) + _setter("detector", detector) if detector_rule_id is not None: - pulumi.set(__self__, "detector_rule_id", detector_rule_id) + _setter("detector_rule_id", detector_rule_id) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if entities_mappings is not None: - pulumi.set(__self__, "entities_mappings", entities_mappings) + _setter("entities_mappings", entities_mappings) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if managed_list_types is not None: - pulumi.set(__self__, "managed_list_types", managed_list_types) + _setter("managed_list_types", managed_list_types) if recommendation is not None: - pulumi.set(__self__, "recommendation", recommendation) + _setter("recommendation", recommendation) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if service_type is not None: - pulumi.set(__self__, "service_type", service_type) + _setter("service_type", service_type) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="candidateResponderRules") @@ -1459,12 +1715,25 @@ def __init__(__self__, *, :param pulumi.Input[str] id: Ocid for detector recipe :param pulumi.Input[bool] is_preferred: Preferred state """ + DetectorRecipeEffectiveDetectorRuleCandidateResponderRuleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + id=id, + is_preferred=is_preferred, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: Optional[pulumi.Input[str]] = None, + id: Optional[pulumi.Input[str]] = None, + is_preferred: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if is_preferred is not None: - pulumi.set(__self__, "is_preferred", is_preferred) + _setter("is_preferred", is_preferred) @property @pulumi.getter(name="displayName") @@ -1522,18 +1791,37 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] labels: (Updatable) user defined labels for a detector rule :param pulumi.Input[str] risk_level: (Updatable) The Risk Level """ + DetectorRecipeEffectiveDetectorRuleDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + condition=condition, + configurations=configurations, + is_configuration_allowed=is_configuration_allowed, + is_enabled=is_enabled, + labels=labels, + risk_level=risk_level, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + condition: Optional[pulumi.Input[str]] = None, + configurations: Optional[pulumi.Input[Sequence[pulumi.Input['DetectorRecipeEffectiveDetectorRuleDetailConfigurationArgs']]]] = None, + is_configuration_allowed: Optional[pulumi.Input[bool]] = None, + is_enabled: Optional[pulumi.Input[bool]] = None, + labels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + risk_level: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if condition is not None: - pulumi.set(__self__, "condition", condition) + _setter("condition", condition) if configurations is not None: - pulumi.set(__self__, "configurations", configurations) + _setter("configurations", configurations) if is_configuration_allowed is not None: - pulumi.set(__self__, "is_configuration_allowed", is_configuration_allowed) + _setter("is_configuration_allowed", is_configuration_allowed) if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) if labels is not None: - pulumi.set(__self__, "labels", labels) + _setter("labels", labels) if risk_level is not None: - pulumi.set(__self__, "risk_level", risk_level) + _setter("risk_level", risk_level) @property @pulumi.getter @@ -1623,16 +1911,33 @@ def __init__(__self__, *, :param pulumi.Input[str] value: (Updatable) configuration value :param pulumi.Input[Sequence[pulumi.Input['DetectorRecipeEffectiveDetectorRuleDetailConfigurationValueArgs']]] values: (Updatable) List of configuration values """ + DetectorRecipeEffectiveDetectorRuleDetailConfigurationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + config_key=config_key, + data_type=data_type, + name=name, + value=value, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + config_key: Optional[pulumi.Input[str]] = None, + data_type: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + values: Optional[pulumi.Input[Sequence[pulumi.Input['DetectorRecipeEffectiveDetectorRuleDetailConfigurationValueArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if config_key is not None: - pulumi.set(__self__, "config_key", config_key) + _setter("config_key", config_key) if data_type is not None: - pulumi.set(__self__, "data_type", data_type) + _setter("data_type", data_type) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) if values is not None: - pulumi.set(__self__, "values", values) + _setter("values", values) @property @pulumi.getter(name="configKey") @@ -1706,12 +2011,25 @@ def __init__(__self__, *, :param pulumi.Input[str] managed_list_type: (Updatable) type of the managed list :param pulumi.Input[str] value: (Updatable) configuration value """ + DetectorRecipeEffectiveDetectorRuleDetailConfigurationValueArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + list_type=list_type, + managed_list_type=managed_list_type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + list_type: Optional[pulumi.Input[str]] = None, + managed_list_type: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if list_type is not None: - pulumi.set(__self__, "list_type", list_type) + _setter("list_type", list_type) if managed_list_type is not None: - pulumi.set(__self__, "managed_list_type", managed_list_type) + _setter("managed_list_type", managed_list_type) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter(name="listType") @@ -1763,12 +2081,25 @@ def __init__(__self__, *, :param pulumi.Input[str] entity_type: (Updatable) Possible type of entity :param pulumi.Input[str] query_field: (Updatable) The entity value mapped to a data source query """ + DetectorRecipeEffectiveDetectorRuleEntitiesMappingArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + entity_type=entity_type, + query_field=query_field, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: Optional[pulumi.Input[str]] = None, + entity_type: Optional[pulumi.Input[str]] = None, + query_field: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if entity_type is not None: - pulumi.set(__self__, "entity_type", entity_type) + _setter("entity_type", entity_type) if query_field is not None: - pulumi.set(__self__, "query_field", query_field) + _setter("query_field", query_field) @property @pulumi.getter(name="displayName") @@ -1842,30 +2173,61 @@ def __init__(__self__, *, :param pulumi.Input[str] time_updated: The date and time the responder recipe was updated. Format defined by RFC3339. :param pulumi.Input[str] type: Type of Responder """ + ResponderRecipeEffectiveResponderRuleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + description=description, + details=details, + display_name=display_name, + lifecycle_details=lifecycle_details, + policies=policies, + responder_rule_id=responder_rule_id, + state=state, + supported_modes=supported_modes, + time_created=time_created, + time_updated=time_updated, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + details: Optional[pulumi.Input[Sequence[pulumi.Input['ResponderRecipeEffectiveResponderRuleDetailArgs']]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + policies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + responder_rule_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + supported_modes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if details is not None: - pulumi.set(__self__, "details", details) + _setter("details", details) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if policies is not None: - pulumi.set(__self__, "policies", policies) + _setter("policies", policies) if responder_rule_id is not None: - pulumi.set(__self__, "responder_rule_id", responder_rule_id) + _setter("responder_rule_id", responder_rule_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if supported_modes is not None: - pulumi.set(__self__, "supported_modes", supported_modes) + _setter("supported_modes", supported_modes) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter(name="compartmentId") @@ -2029,14 +2391,29 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_enabled: (Updatable) Identifies state for ResponderRule :param pulumi.Input[str] mode: Execution Mode for ResponderRule """ + ResponderRecipeEffectiveResponderRuleDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + condition=condition, + configurations=configurations, + is_enabled=is_enabled, + mode=mode, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + condition: Optional[pulumi.Input[str]] = None, + configurations: Optional[pulumi.Input[Sequence[pulumi.Input['ResponderRecipeEffectiveResponderRuleDetailConfigurationArgs']]]] = None, + is_enabled: Optional[pulumi.Input[bool]] = None, + mode: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if condition is not None: - pulumi.set(__self__, "condition", condition) + _setter("condition", condition) if configurations is not None: - pulumi.set(__self__, "configurations", configurations) + _setter("configurations", configurations) if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) if mode is not None: - pulumi.set(__self__, "mode", mode) + _setter("mode", mode) @property @pulumi.getter @@ -2098,12 +2475,25 @@ def __init__(__self__, *, :param pulumi.Input[str] name: configuration name :param pulumi.Input[str] value: configuration value """ + ResponderRecipeEffectiveResponderRuleDetailConfigurationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + config_key=config_key, + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + config_key: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if config_key is not None: - pulumi.set(__self__, "config_key", config_key) + _setter("config_key", config_key) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter(name="configKey") @@ -2175,28 +2565,59 @@ def __init__(__self__, *, :param pulumi.Input[str] time_updated: The date and time the responder recipe was updated. Format defined by RFC3339. :param pulumi.Input[str] type: Type of Responder """ - pulumi.set(__self__, "details", details) - pulumi.set(__self__, "responder_rule_id", responder_rule_id) + ResponderRecipeResponderRuleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + details=details, + responder_rule_id=responder_rule_id, + compartment_id=compartment_id, + description=description, + display_name=display_name, + lifecycle_details=lifecycle_details, + policies=policies, + state=state, + supported_modes=supported_modes, + time_created=time_created, + time_updated=time_updated, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + details: pulumi.Input['ResponderRecipeResponderRuleDetailsArgs'], + responder_rule_id: pulumi.Input[str], + compartment_id: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + policies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + state: Optional[pulumi.Input[str]] = None, + supported_modes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("details", details) + _setter("responder_rule_id", responder_rule_id) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if policies is not None: - pulumi.set(__self__, "policies", policies) + _setter("policies", policies) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if supported_modes is not None: - pulumi.set(__self__, "supported_modes", supported_modes) + _setter("supported_modes", supported_modes) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -2360,13 +2781,28 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['ResponderRecipeResponderRuleDetailsConfigurationArgs']]] configurations: ResponderRule configurations :param pulumi.Input[str] mode: Execution Mode for ResponderRule """ - pulumi.set(__self__, "is_enabled", is_enabled) + ResponderRecipeResponderRuleDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + condition=condition, + configurations=configurations, + mode=mode, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: pulumi.Input[bool], + condition: Optional[pulumi.Input[str]] = None, + configurations: Optional[pulumi.Input[Sequence[pulumi.Input['ResponderRecipeResponderRuleDetailsConfigurationArgs']]]] = None, + mode: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_enabled", is_enabled) if condition is not None: - pulumi.set(__self__, "condition", condition) + _setter("condition", condition) if configurations is not None: - pulumi.set(__self__, "configurations", configurations) + _setter("configurations", configurations) if mode is not None: - pulumi.set(__self__, "mode", mode) + _setter("mode", mode) @property @pulumi.getter(name="isEnabled") @@ -2428,12 +2864,25 @@ def __init__(__self__, *, :param pulumi.Input[str] name: configuration name :param pulumi.Input[str] value: configuration value """ + ResponderRecipeResponderRuleDetailsConfigurationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + config_key=config_key, + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + config_key: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if config_key is not None: - pulumi.set(__self__, "config_key", config_key) + _setter("config_key", config_key) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter(name="configKey") @@ -2485,14 +2934,29 @@ def __init__(__self__, *, :param pulumi.Input[str] target_resource_type: possible type of targets(COMPARTMENT/FACLOUD) :param pulumi.Input[Sequence[pulumi.Input['TargetTargetDetailTargetSecurityZoneRecipeArgs']]] target_security_zone_recipes: The list of security zone recipes to associate this compartment with. """ + TargetTargetDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + security_zone_display_name=security_zone_display_name, + security_zone_id=security_zone_id, + target_resource_type=target_resource_type, + target_security_zone_recipes=target_security_zone_recipes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + security_zone_display_name: Optional[pulumi.Input[str]] = None, + security_zone_id: Optional[pulumi.Input[str]] = None, + target_resource_type: Optional[pulumi.Input[str]] = None, + target_security_zone_recipes: Optional[pulumi.Input[Sequence[pulumi.Input['TargetTargetDetailTargetSecurityZoneRecipeArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if security_zone_display_name is not None: - pulumi.set(__self__, "security_zone_display_name", security_zone_display_name) + _setter("security_zone_display_name", security_zone_display_name) if security_zone_id is not None: - pulumi.set(__self__, "security_zone_id", security_zone_id) + _setter("security_zone_id", security_zone_id) if target_resource_type is not None: - pulumi.set(__self__, "target_resource_type", target_resource_type) + _setter("target_resource_type", target_resource_type) if target_security_zone_recipes is not None: - pulumi.set(__self__, "target_security_zone_recipes", target_security_zone_recipes) + _setter("target_security_zone_recipes", target_security_zone_recipes) @property @pulumi.getter(name="securityZoneDisplayName") @@ -2580,32 +3044,65 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the target was created. Format defined by RFC3339. :param pulumi.Input[str] time_updated: The date and time the target was updated. Format defined by RFC3339. """ + TargetTargetDetailTargetSecurityZoneRecipeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + owner=owner, + security_policies=security_policies, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + id: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + owner: Optional[pulumi.Input[str]] = None, + security_policies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if owner is not None: - pulumi.set(__self__, "owner", owner) + _setter("owner", owner) if security_policies is not None: - pulumi.set(__self__, "security_policies", security_policies) + _setter("security_policies", security_policies) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -2803,29 +3300,60 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the target was created. Format defined by RFC3339. :param pulumi.Input[str] time_updated: The date and time the target was updated. Format defined by RFC3339. """ - pulumi.set(__self__, "detector_recipe_id", detector_recipe_id) + TargetTargetDetectorRecipeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + detector_recipe_id=detector_recipe_id, + compartment_id=compartment_id, + description=description, + detector=detector, + detector_rules=detector_rules, + display_name=display_name, + effective_detector_rules=effective_detector_rules, + id=id, + owner=owner, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + detector_recipe_id: pulumi.Input[str], + compartment_id: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + detector: Optional[pulumi.Input[str]] = None, + detector_rules: Optional[pulumi.Input[Sequence[pulumi.Input['TargetTargetDetectorRecipeDetectorRuleArgs']]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + effective_detector_rules: Optional[pulumi.Input[Sequence[pulumi.Input['TargetTargetDetectorRecipeEffectiveDetectorRuleArgs']]]] = None, + id: Optional[pulumi.Input[str]] = None, + owner: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("detector_recipe_id", detector_recipe_id) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if detector is not None: - pulumi.set(__self__, "detector", detector) + _setter("detector", detector) if detector_rules is not None: - pulumi.set(__self__, "detector_rules", detector_rules) + _setter("detector_rules", detector_rules) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if effective_detector_rules is not None: - pulumi.set(__self__, "effective_detector_rules", effective_detector_rules) + _setter("effective_detector_rules", effective_detector_rules) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if owner is not None: - pulumi.set(__self__, "owner", owner) + _setter("owner", owner) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="detectorRecipeId") @@ -3015,34 +3543,71 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the target was created. Format defined by RFC3339. :param pulumi.Input[str] time_updated: The date and time the target was updated. Format defined by RFC3339. """ - pulumi.set(__self__, "details", details) - pulumi.set(__self__, "detector_rule_id", detector_rule_id) + TargetTargetDetectorRecipeDetectorRuleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + details=details, + detector_rule_id=detector_rule_id, + data_source_id=data_source_id, + description=description, + detector=detector, + display_name=display_name, + entities_mappings=entities_mappings, + lifecycle_details=lifecycle_details, + managed_list_types=managed_list_types, + recommendation=recommendation, + resource_type=resource_type, + service_type=service_type, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + details: pulumi.Input['TargetTargetDetectorRecipeDetectorRuleDetailsArgs'], + detector_rule_id: pulumi.Input[str], + data_source_id: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + detector: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + entities_mappings: Optional[pulumi.Input[Sequence[pulumi.Input['TargetTargetDetectorRecipeDetectorRuleEntitiesMappingArgs']]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + managed_list_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + recommendation: Optional[pulumi.Input[str]] = None, + resource_type: Optional[pulumi.Input[str]] = None, + service_type: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("details", details) + _setter("detector_rule_id", detector_rule_id) if data_source_id is not None: - pulumi.set(__self__, "data_source_id", data_source_id) + _setter("data_source_id", data_source_id) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if detector is not None: - pulumi.set(__self__, "detector", detector) + _setter("detector", detector) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if entities_mappings is not None: - pulumi.set(__self__, "entities_mappings", entities_mappings) + _setter("entities_mappings", entities_mappings) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if managed_list_types is not None: - pulumi.set(__self__, "managed_list_types", managed_list_types) + _setter("managed_list_types", managed_list_types) if recommendation is not None: - pulumi.set(__self__, "recommendation", recommendation) + _setter("recommendation", recommendation) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if service_type is not None: - pulumi.set(__self__, "service_type", service_type) + _setter("service_type", service_type) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter @@ -3246,18 +3811,37 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] labels: user defined labels for a detector rule :param pulumi.Input[str] risk_level: The Risk Level """ + TargetTargetDetectorRecipeDetectorRuleDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + condition_groups=condition_groups, + configurations=configurations, + is_configuration_allowed=is_configuration_allowed, + is_enabled=is_enabled, + labels=labels, + risk_level=risk_level, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + condition_groups: Optional[pulumi.Input[Sequence[pulumi.Input['TargetTargetDetectorRecipeDetectorRuleDetailsConditionGroupArgs']]]] = None, + configurations: Optional[pulumi.Input[Sequence[pulumi.Input['TargetTargetDetectorRecipeDetectorRuleDetailsConfigurationArgs']]]] = None, + is_configuration_allowed: Optional[pulumi.Input[bool]] = None, + is_enabled: Optional[pulumi.Input[bool]] = None, + labels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + risk_level: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if condition_groups is not None: - pulumi.set(__self__, "condition_groups", condition_groups) + _setter("condition_groups", condition_groups) if configurations is not None: - pulumi.set(__self__, "configurations", configurations) + _setter("configurations", configurations) if is_configuration_allowed is not None: - pulumi.set(__self__, "is_configuration_allowed", is_configuration_allowed) + _setter("is_configuration_allowed", is_configuration_allowed) if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) if labels is not None: - pulumi.set(__self__, "labels", labels) + _setter("labels", labels) if risk_level is not None: - pulumi.set(__self__, "risk_level", risk_level) + _setter("risk_level", risk_level) @property @pulumi.getter(name="conditionGroups") @@ -3341,8 +3925,19 @@ def __init__(__self__, *, :param pulumi.Input[str] compartment_id: (Updatable) compartment associated with condition :param pulumi.Input[str] condition: (Updatable) Base condition object """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "condition", condition) + TargetTargetDetectorRecipeDetectorRuleDetailsConditionGroupArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + condition=condition, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + condition: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("condition", condition) @property @pulumi.getter(name="compartmentId") @@ -3384,16 +3979,33 @@ def __init__(__self__, *, :param pulumi.Input[str] value: (Updatable) configuration value :param pulumi.Input[Sequence[pulumi.Input['TargetTargetDetectorRecipeDetectorRuleDetailsConfigurationValueArgs']]] values: List of configuration values """ + TargetTargetDetectorRecipeDetectorRuleDetailsConfigurationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + config_key=config_key, + data_type=data_type, + name=name, + value=value, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + config_key: Optional[pulumi.Input[str]] = None, + data_type: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + values: Optional[pulumi.Input[Sequence[pulumi.Input['TargetTargetDetectorRecipeDetectorRuleDetailsConfigurationValueArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if config_key is not None: - pulumi.set(__self__, "config_key", config_key) + _setter("config_key", config_key) if data_type is not None: - pulumi.set(__self__, "data_type", data_type) + _setter("data_type", data_type) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) if values is not None: - pulumi.set(__self__, "values", values) + _setter("values", values) @property @pulumi.getter(name="configKey") @@ -3467,12 +4079,25 @@ def __init__(__self__, *, :param pulumi.Input[str] managed_list_type: type of the managed list :param pulumi.Input[str] value: (Updatable) configuration value """ + TargetTargetDetectorRecipeDetectorRuleDetailsConfigurationValueArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + list_type=list_type, + managed_list_type=managed_list_type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + list_type: Optional[pulumi.Input[str]] = None, + managed_list_type: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if list_type is not None: - pulumi.set(__self__, "list_type", list_type) + _setter("list_type", list_type) if managed_list_type is not None: - pulumi.set(__self__, "managed_list_type", managed_list_type) + _setter("managed_list_type", managed_list_type) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter(name="listType") @@ -3524,12 +4149,25 @@ def __init__(__self__, *, :param pulumi.Input[str] entity_type: Possible type of entity :param pulumi.Input[str] query_field: The entity value mapped to a data source query """ + TargetTargetDetectorRecipeDetectorRuleEntitiesMappingArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + entity_type=entity_type, + query_field=query_field, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: Optional[pulumi.Input[str]] = None, + entity_type: Optional[pulumi.Input[str]] = None, + query_field: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if entity_type is not None: - pulumi.set(__self__, "entity_type", entity_type) + _setter("entity_type", entity_type) if query_field is not None: - pulumi.set(__self__, "query_field", query_field) + _setter("query_field", query_field) @property @pulumi.getter(name="displayName") @@ -3609,36 +4247,73 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the target was created. Format defined by RFC3339. :param pulumi.Input[str] time_updated: The date and time the target was updated. Format defined by RFC3339. """ + TargetTargetDetectorRecipeEffectiveDetectorRuleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + data_source_id=data_source_id, + description=description, + details=details, + detector=detector, + detector_rule_id=detector_rule_id, + display_name=display_name, + entities_mappings=entities_mappings, + lifecycle_details=lifecycle_details, + managed_list_types=managed_list_types, + recommendation=recommendation, + resource_type=resource_type, + service_type=service_type, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + data_source_id: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + details: Optional[pulumi.Input[Sequence[pulumi.Input['TargetTargetDetectorRecipeEffectiveDetectorRuleDetailArgs']]]] = None, + detector: Optional[pulumi.Input[str]] = None, + detector_rule_id: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + entities_mappings: Optional[pulumi.Input[Sequence[pulumi.Input['TargetTargetDetectorRecipeEffectiveDetectorRuleEntitiesMappingArgs']]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + managed_list_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + recommendation: Optional[pulumi.Input[str]] = None, + resource_type: Optional[pulumi.Input[str]] = None, + service_type: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if data_source_id is not None: - pulumi.set(__self__, "data_source_id", data_source_id) + _setter("data_source_id", data_source_id) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if details is not None: - pulumi.set(__self__, "details", details) + _setter("details", details) if detector is not None: - pulumi.set(__self__, "detector", detector) + _setter("detector", detector) if detector_rule_id is not None: - pulumi.set(__self__, "detector_rule_id", detector_rule_id) + _setter("detector_rule_id", detector_rule_id) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if entities_mappings is not None: - pulumi.set(__self__, "entities_mappings", entities_mappings) + _setter("entities_mappings", entities_mappings) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if managed_list_types is not None: - pulumi.set(__self__, "managed_list_types", managed_list_types) + _setter("managed_list_types", managed_list_types) if recommendation is not None: - pulumi.set(__self__, "recommendation", recommendation) + _setter("recommendation", recommendation) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if service_type is not None: - pulumi.set(__self__, "service_type", service_type) + _setter("service_type", service_type) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="dataSourceId") @@ -3842,18 +4517,37 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] labels: user defined labels for a detector rule :param pulumi.Input[str] risk_level: The Risk Level """ + TargetTargetDetectorRecipeEffectiveDetectorRuleDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + condition_groups=condition_groups, + configurations=configurations, + is_configuration_allowed=is_configuration_allowed, + is_enabled=is_enabled, + labels=labels, + risk_level=risk_level, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + condition_groups: Optional[pulumi.Input[Sequence[pulumi.Input['TargetTargetDetectorRecipeEffectiveDetectorRuleDetailConditionGroupArgs']]]] = None, + configurations: Optional[pulumi.Input[Sequence[pulumi.Input['TargetTargetDetectorRecipeEffectiveDetectorRuleDetailConfigurationArgs']]]] = None, + is_configuration_allowed: Optional[pulumi.Input[bool]] = None, + is_enabled: Optional[pulumi.Input[bool]] = None, + labels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + risk_level: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if condition_groups is not None: - pulumi.set(__self__, "condition_groups", condition_groups) + _setter("condition_groups", condition_groups) if configurations is not None: - pulumi.set(__self__, "configurations", configurations) + _setter("configurations", configurations) if is_configuration_allowed is not None: - pulumi.set(__self__, "is_configuration_allowed", is_configuration_allowed) + _setter("is_configuration_allowed", is_configuration_allowed) if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) if labels is not None: - pulumi.set(__self__, "labels", labels) + _setter("labels", labels) if risk_level is not None: - pulumi.set(__self__, "risk_level", risk_level) + _setter("risk_level", risk_level) @property @pulumi.getter(name="conditionGroups") @@ -3937,10 +4631,21 @@ def __init__(__self__, *, :param pulumi.Input[str] compartment_id: (Updatable) compartment associated with condition :param pulumi.Input[str] condition: (Updatable) Base condition object """ + TargetTargetDetectorRecipeEffectiveDetectorRuleDetailConditionGroupArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + condition=condition, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + condition: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if condition is not None: - pulumi.set(__self__, "condition", condition) + _setter("condition", condition) @property @pulumi.getter(name="compartmentId") @@ -3982,16 +4687,33 @@ def __init__(__self__, *, :param pulumi.Input[str] value: (Updatable) configuration value :param pulumi.Input[Sequence[pulumi.Input['TargetTargetDetectorRecipeEffectiveDetectorRuleDetailConfigurationValueArgs']]] values: List of configuration values """ + TargetTargetDetectorRecipeEffectiveDetectorRuleDetailConfigurationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + config_key=config_key, + data_type=data_type, + name=name, + value=value, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + config_key: Optional[pulumi.Input[str]] = None, + data_type: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + values: Optional[pulumi.Input[Sequence[pulumi.Input['TargetTargetDetectorRecipeEffectiveDetectorRuleDetailConfigurationValueArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if config_key is not None: - pulumi.set(__self__, "config_key", config_key) + _setter("config_key", config_key) if data_type is not None: - pulumi.set(__self__, "data_type", data_type) + _setter("data_type", data_type) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) if values is not None: - pulumi.set(__self__, "values", values) + _setter("values", values) @property @pulumi.getter(name="configKey") @@ -4065,12 +4787,25 @@ def __init__(__self__, *, :param pulumi.Input[str] managed_list_type: type of the managed list :param pulumi.Input[str] value: (Updatable) configuration value """ + TargetTargetDetectorRecipeEffectiveDetectorRuleDetailConfigurationValueArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + list_type=list_type, + managed_list_type=managed_list_type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + list_type: Optional[pulumi.Input[str]] = None, + managed_list_type: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if list_type is not None: - pulumi.set(__self__, "list_type", list_type) + _setter("list_type", list_type) if managed_list_type is not None: - pulumi.set(__self__, "managed_list_type", managed_list_type) + _setter("managed_list_type", managed_list_type) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter(name="listType") @@ -4122,12 +4857,25 @@ def __init__(__self__, *, :param pulumi.Input[str] entity_type: Possible type of entity :param pulumi.Input[str] query_field: The entity value mapped to a data source query """ + TargetTargetDetectorRecipeEffectiveDetectorRuleEntitiesMappingArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + entity_type=entity_type, + query_field=query_field, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: Optional[pulumi.Input[str]] = None, + entity_type: Optional[pulumi.Input[str]] = None, + query_field: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if entity_type is not None: - pulumi.set(__self__, "entity_type", entity_type) + _setter("entity_type", entity_type) if query_field is not None: - pulumi.set(__self__, "query_field", query_field) + _setter("query_field", query_field) @property @pulumi.getter(name="displayName") @@ -4197,25 +4945,52 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the target was created. Format defined by RFC3339. :param pulumi.Input[str] time_updated: The date and time the target was updated. Format defined by RFC3339. """ - pulumi.set(__self__, "responder_recipe_id", responder_recipe_id) + TargetTargetResponderRecipeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + responder_recipe_id=responder_recipe_id, + compartment_id=compartment_id, + description=description, + display_name=display_name, + effective_responder_rules=effective_responder_rules, + id=id, + owner=owner, + responder_rules=responder_rules, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + responder_recipe_id: pulumi.Input[str], + compartment_id: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + effective_responder_rules: Optional[pulumi.Input[Sequence[pulumi.Input['TargetTargetResponderRecipeEffectiveResponderRuleArgs']]]] = None, + id: Optional[pulumi.Input[str]] = None, + owner: Optional[pulumi.Input[str]] = None, + responder_rules: Optional[pulumi.Input[Sequence[pulumi.Input['TargetTargetResponderRecipeResponderRuleArgs']]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("responder_recipe_id", responder_recipe_id) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if effective_responder_rules is not None: - pulumi.set(__self__, "effective_responder_rules", effective_responder_rules) + _setter("effective_responder_rules", effective_responder_rules) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if owner is not None: - pulumi.set(__self__, "owner", owner) + _setter("owner", owner) if responder_rules is not None: - pulumi.set(__self__, "responder_rules", responder_rules) + _setter("responder_rules", responder_rules) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="responderRecipeId") @@ -4379,30 +5154,61 @@ def __init__(__self__, *, :param pulumi.Input[str] time_updated: The date and time the target was updated. Format defined by RFC3339. :param pulumi.Input[str] type: Type of Responder """ + TargetTargetResponderRecipeEffectiveResponderRuleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + description=description, + details=details, + display_name=display_name, + lifecycle_details=lifecycle_details, + policies=policies, + responder_rule_id=responder_rule_id, + state=state, + supported_modes=supported_modes, + time_created=time_created, + time_updated=time_updated, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + details: Optional[pulumi.Input[Sequence[pulumi.Input['TargetTargetResponderRecipeEffectiveResponderRuleDetailArgs']]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + policies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + responder_rule_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + supported_modes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if details is not None: - pulumi.set(__self__, "details", details) + _setter("details", details) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if policies is not None: - pulumi.set(__self__, "policies", policies) + _setter("policies", policies) if responder_rule_id is not None: - pulumi.set(__self__, "responder_rule_id", responder_rule_id) + _setter("responder_rule_id", responder_rule_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if supported_modes is not None: - pulumi.set(__self__, "supported_modes", supported_modes) + _setter("supported_modes", supported_modes) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter(name="compartmentId") @@ -4570,14 +5376,29 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_enabled: Identifies state for ResponderRule :param pulumi.Input[str] mode: (Updatable) Execution Mode for ResponderRule """ + TargetTargetResponderRecipeEffectiveResponderRuleDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + condition=condition, + configurations=configurations, + is_enabled=is_enabled, + mode=mode, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + condition: Optional[pulumi.Input[str]] = None, + configurations: Optional[pulumi.Input[Sequence[pulumi.Input['TargetTargetResponderRecipeEffectiveResponderRuleDetailConfigurationArgs']]]] = None, + is_enabled: Optional[pulumi.Input[bool]] = None, + mode: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if condition is not None: - pulumi.set(__self__, "condition", condition) + _setter("condition", condition) if configurations is not None: - pulumi.set(__self__, "configurations", configurations) + _setter("configurations", configurations) if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) if mode is not None: - pulumi.set(__self__, "mode", mode) + _setter("mode", mode) @property @pulumi.getter @@ -4639,12 +5460,25 @@ def __init__(__self__, *, :param pulumi.Input[str] name: (Updatable) configuration name :param pulumi.Input[str] value: (Updatable) configuration value """ + TargetTargetResponderRecipeEffectiveResponderRuleDetailConfigurationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + config_key=config_key, + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + config_key: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if config_key is not None: - pulumi.set(__self__, "config_key", config_key) + _setter("config_key", config_key) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter(name="configKey") @@ -4720,28 +5554,59 @@ def __init__(__self__, *, :param pulumi.Input[str] time_updated: The date and time the target was updated. Format defined by RFC3339. :param pulumi.Input[str] type: Type of Responder """ - pulumi.set(__self__, "details", details) - pulumi.set(__self__, "responder_rule_id", responder_rule_id) + TargetTargetResponderRecipeResponderRuleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + details=details, + responder_rule_id=responder_rule_id, + compartment_id=compartment_id, + description=description, + display_name=display_name, + lifecycle_details=lifecycle_details, + policies=policies, + state=state, + supported_modes=supported_modes, + time_created=time_created, + time_updated=time_updated, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + details: pulumi.Input['TargetTargetResponderRecipeResponderRuleDetailsArgs'], + responder_rule_id: pulumi.Input[str], + compartment_id: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + policies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + state: Optional[pulumi.Input[str]] = None, + supported_modes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("details", details) + _setter("responder_rule_id", responder_rule_id) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if policies is not None: - pulumi.set(__self__, "policies", policies) + _setter("policies", policies) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if supported_modes is not None: - pulumi.set(__self__, "supported_modes", supported_modes) + _setter("supported_modes", supported_modes) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -4909,14 +5774,29 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_enabled: Identifies state for ResponderRule :param pulumi.Input[str] mode: (Updatable) Execution Mode for ResponderRule """ + TargetTargetResponderRecipeResponderRuleDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + condition=condition, + configurations=configurations, + is_enabled=is_enabled, + mode=mode, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + condition: Optional[pulumi.Input[str]] = None, + configurations: Optional[pulumi.Input[Sequence[pulumi.Input['TargetTargetResponderRecipeResponderRuleDetailsConfigurationArgs']]]] = None, + is_enabled: Optional[pulumi.Input[bool]] = None, + mode: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if condition is not None: - pulumi.set(__self__, "condition", condition) + _setter("condition", condition) if configurations is not None: - pulumi.set(__self__, "configurations", configurations) + _setter("configurations", configurations) if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) if mode is not None: - pulumi.set(__self__, "mode", mode) + _setter("mode", mode) @property @pulumi.getter @@ -4978,9 +5858,22 @@ def __init__(__self__, *, :param pulumi.Input[str] name: (Updatable) configuration name :param pulumi.Input[str] value: (Updatable) configuration value """ - pulumi.set(__self__, "config_key", config_key) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + TargetTargetResponderRecipeResponderRuleDetailsConfigurationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + config_key=config_key, + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + config_key: pulumi.Input[str], + name: pulumi.Input[str], + value: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("config_key", config_key) + _setter("name", name) + _setter("value", value) @property @pulumi.getter(name="configKey") @@ -5028,10 +5921,23 @@ def __init__(__self__, *, """ :param Sequence[str] values: Types of Targets """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDataMaskRulesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5070,10 +5976,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDataSourceEventsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5109,10 +6028,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDataSourcesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5152,10 +6084,23 @@ def __init__(__self__, *, :param str name: configuration name :param Sequence[str] values: List of configuration values """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDetectorRecipesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5201,10 +6146,23 @@ def __init__(__self__, *, :param str name: configuration name :param Sequence[str] values: List of configuration values """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetGuardTargetsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5246,10 +6204,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagedListsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5285,10 +6256,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetProblemEntitiesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5327,10 +6311,23 @@ def __init__(__self__, *, """ :param str name: configuration name """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetResponderRecipesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5369,10 +6366,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSecurityPoliciesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5408,10 +6418,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSecurityRecipesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5447,10 +6470,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSecurityZonesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/cloudguard/cloud_guard_configuration.py b/sdk/python/pulumi_oci/cloudguard/cloud_guard_configuration.py index 46398371cf..ea4bea25c2 100644 --- a/sdk/python/pulumi_oci/cloudguard/cloud_guard_configuration.py +++ b/sdk/python/pulumi_oci/cloudguard/cloud_guard_configuration.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['CloudGuardConfigurationArgs', 'CloudGuardConfiguration'] @@ -29,11 +29,26 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[bool] self_manage_resources: (Updatable) Identifies if Oracle managed resources will be created by customers. If no value is specified false is the default. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "reporting_region", reporting_region) - pulumi.set(__self__, "status", status) + CloudGuardConfigurationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + reporting_region=reporting_region, + status=status, + self_manage_resources=self_manage_resources, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + reporting_region: pulumi.Input[str], + status: pulumi.Input[str], + self_manage_resources: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("reporting_region", reporting_region) + _setter("status", status) if self_manage_resources is not None: - pulumi.set(__self__, "self_manage_resources", self_manage_resources) + _setter("self_manage_resources", self_manage_resources) @property @pulumi.getter(name="compartmentId") @@ -106,14 +121,29 @@ def __init__(__self__, *, ** 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 """ + _CloudGuardConfigurationState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + reporting_region=reporting_region, + self_manage_resources=self_manage_resources, + status=status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + reporting_region: Optional[pulumi.Input[str]] = None, + self_manage_resources: Optional[pulumi.Input[bool]] = None, + status: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if reporting_region is not None: - pulumi.set(__self__, "reporting_region", reporting_region) + _setter("reporting_region", reporting_region) if self_manage_resources is not None: - pulumi.set(__self__, "self_manage_resources", self_manage_resources) + _setter("self_manage_resources", self_manage_resources) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) @property @pulumi.getter(name="compartmentId") @@ -249,6 +279,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + CloudGuardConfigurationArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/cloudguard/cloud_guard_data_source.py b/sdk/python/pulumi_oci/cloudguard/cloud_guard_data_source.py index 90cb6df49e..e694b2a283 100644 --- a/sdk/python/pulumi_oci/cloudguard/cloud_guard_data_source.py +++ b/sdk/python/pulumi_oci/cloudguard/cloud_guard_data_source.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -37,15 +37,34 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "data_source_feed_provider", data_source_feed_provider) - pulumi.set(__self__, "display_name", display_name) + CloudGuardDataSourceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + data_source_feed_provider=data_source_feed_provider, + display_name=display_name, + data_source_details=data_source_details, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + data_source_feed_provider: pulumi.Input[str], + display_name: pulumi.Input[str], + data_source_details: Optional[pulumi.Input['CloudGuardDataSourceDataSourceDetailsArgs']] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("data_source_feed_provider", data_source_feed_provider) + _setter("display_name", display_name) if data_source_details is not None: - pulumi.set(__self__, "data_source_details", data_source_details) + _setter("data_source_details", data_source_details) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="compartmentId") @@ -164,32 +183,65 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the Data source was created. Format defined by RFC3339. :param pulumi.Input[str] time_updated: The date and time the Data source was updated. Format defined by RFC3339. """ + _CloudGuardDataSourceState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + data_source_details=data_source_details, + data_source_detector_mapping_infos=data_source_detector_mapping_infos, + data_source_feed_provider=data_source_feed_provider, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + region_status_details=region_status_details, + state=state, + status=status, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + data_source_details: Optional[pulumi.Input['CloudGuardDataSourceDataSourceDetailsArgs']] = None, + data_source_detector_mapping_infos: Optional[pulumi.Input[Sequence[pulumi.Input['CloudGuardDataSourceDataSourceDetectorMappingInfoArgs']]]] = None, + data_source_feed_provider: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + region_status_details: Optional[pulumi.Input[Sequence[pulumi.Input['CloudGuardDataSourceRegionStatusDetailArgs']]]] = None, + state: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if data_source_details is not None: - pulumi.set(__self__, "data_source_details", data_source_details) + _setter("data_source_details", data_source_details) if data_source_detector_mapping_infos is not None: - pulumi.set(__self__, "data_source_detector_mapping_infos", data_source_detector_mapping_infos) + _setter("data_source_detector_mapping_infos", data_source_detector_mapping_infos) if data_source_feed_provider is not None: - pulumi.set(__self__, "data_source_feed_provider", data_source_feed_provider) + _setter("data_source_feed_provider", data_source_feed_provider) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if region_status_details is not None: - pulumi.set(__self__, "region_status_details", region_status_details) + _setter("region_status_details", region_status_details) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -495,6 +547,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + CloudGuardDataSourceArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -518,6 +574,11 @@ def _internal_init(__self__, if compartment_id is None and not opts.urn: raise TypeError("Missing required property 'compartment_id'") __props__.__dict__["compartment_id"] = compartment_id + if data_source_details is not None and not isinstance(data_source_details, CloudGuardDataSourceDataSourceDetailsArgs): + data_source_details = data_source_details or {} + def _setter(key, value): + data_source_details[key] = value + CloudGuardDataSourceDataSourceDetailsArgs._configure(_setter, **data_source_details) __props__.__dict__["data_source_details"] = data_source_details if data_source_feed_provider is None and not opts.urn: raise TypeError("Missing required property 'data_source_feed_provider'") diff --git a/sdk/python/pulumi_oci/cloudguard/data_mask_rule.py b/sdk/python/pulumi_oci/cloudguard/data_mask_rule.py index 9a7d9b32d6..f620ace021 100644 --- a/sdk/python/pulumi_oci/cloudguard/data_mask_rule.py +++ b/sdk/python/pulumi_oci/cloudguard/data_mask_rule.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -43,21 +43,48 @@ def __init__(__self__, *, Avoid entering confidential information. :param pulumi.Input[str] state: The current state of the DataMaskRule. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "data_mask_categories", data_mask_categories) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "iam_group_id", iam_group_id) - pulumi.set(__self__, "target_selected", target_selected) + DataMaskRuleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + data_mask_categories=data_mask_categories, + display_name=display_name, + iam_group_id=iam_group_id, + target_selected=target_selected, + data_mask_rule_status=data_mask_rule_status, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + data_mask_categories: pulumi.Input[Sequence[pulumi.Input[str]]], + display_name: pulumi.Input[str], + iam_group_id: pulumi.Input[str], + target_selected: pulumi.Input['DataMaskRuleTargetSelectedArgs'], + data_mask_rule_status: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + state: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("data_mask_categories", data_mask_categories) + _setter("display_name", display_name) + _setter("iam_group_id", iam_group_id) + _setter("target_selected", target_selected) if data_mask_rule_status is not None: - pulumi.set(__self__, "data_mask_rule_status", data_mask_rule_status) + _setter("data_mask_rule_status", data_mask_rule_status) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) @property @pulumi.getter(name="compartmentId") @@ -222,34 +249,69 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the target was created. Format defined by RFC3339. :param pulumi.Input[str] time_updated: The date and time the target was updated. Format defined by RFC3339. """ + _DataMaskRuleState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + data_mask_categories=data_mask_categories, + data_mask_rule_status=data_mask_rule_status, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + iam_group_id=iam_group_id, + lifecyle_details=lifecyle_details, + state=state, + system_tags=system_tags, + target_selected=target_selected, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + data_mask_categories: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + data_mask_rule_status: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + iam_group_id: Optional[pulumi.Input[str]] = None, + lifecyle_details: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + target_selected: Optional[pulumi.Input['DataMaskRuleTargetSelectedArgs']] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if data_mask_categories is not None: - pulumi.set(__self__, "data_mask_categories", data_mask_categories) + _setter("data_mask_categories", data_mask_categories) if data_mask_rule_status is not None: - pulumi.set(__self__, "data_mask_rule_status", data_mask_rule_status) + _setter("data_mask_rule_status", data_mask_rule_status) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if iam_group_id is not None: - pulumi.set(__self__, "iam_group_id", iam_group_id) + _setter("iam_group_id", iam_group_id) if lifecyle_details is not None: - pulumi.set(__self__, "lifecyle_details", lifecyle_details) + _setter("lifecyle_details", lifecyle_details) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if target_selected is not None: - pulumi.set(__self__, "target_selected", target_selected) + _setter("target_selected", target_selected) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -551,6 +613,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DataMaskRuleArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -592,6 +658,11 @@ def _internal_init(__self__, raise TypeError("Missing required property 'iam_group_id'") __props__.__dict__["iam_group_id"] = iam_group_id __props__.__dict__["state"] = state + if target_selected is not None and not isinstance(target_selected, DataMaskRuleTargetSelectedArgs): + target_selected = target_selected or {} + def _setter(key, value): + target_selected[key] = value + DataMaskRuleTargetSelectedArgs._configure(_setter, **target_selected) if target_selected is None and not opts.urn: raise TypeError("Missing required property 'target_selected'") __props__.__dict__["target_selected"] = target_selected diff --git a/sdk/python/pulumi_oci/cloudguard/detector_recipe.py b/sdk/python/pulumi_oci/cloudguard/detector_recipe.py index b393fbd6c8..34b5cde961 100644 --- a/sdk/python/pulumi_oci/cloudguard/detector_recipe.py +++ b/sdk/python/pulumi_oci/cloudguard/detector_recipe.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -43,20 +43,43 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) + DetectorRecipeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + defined_tags=defined_tags, + description=description, + detector=detector, + detector_rules=detector_rules, + freeform_tags=freeform_tags, + source_detector_recipe_id=source_detector_recipe_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + detector: Optional[pulumi.Input[str]] = None, + detector_rules: Optional[pulumi.Input[Sequence[pulumi.Input['DetectorRecipeDetectorRuleArgs']]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + source_detector_recipe_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if detector is not None: - pulumi.set(__self__, "detector", detector) + _setter("detector", detector) if detector_rules is not None: - pulumi.set(__self__, "detector_rules", detector_rules) + _setter("detector_rules", detector_rules) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if source_detector_recipe_id is not None: - pulumi.set(__self__, "source_detector_recipe_id", source_detector_recipe_id) + _setter("source_detector_recipe_id", source_detector_recipe_id) @property @pulumi.getter(name="compartmentId") @@ -207,36 +230,73 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the detector recipe was created. Format defined by RFC3339. :param pulumi.Input[str] time_updated: The date and time the detector recipe was updated. Format defined by RFC3339. """ + _DetectorRecipeState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + detector=detector, + detector_rules=detector_rules, + display_name=display_name, + effective_detector_rules=effective_detector_rules, + freeform_tags=freeform_tags, + owner=owner, + source_detector_recipe_id=source_detector_recipe_id, + state=state, + system_tags=system_tags, + target_ids=target_ids, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + detector: Optional[pulumi.Input[str]] = None, + detector_rules: Optional[pulumi.Input[Sequence[pulumi.Input['DetectorRecipeDetectorRuleArgs']]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + effective_detector_rules: Optional[pulumi.Input[Sequence[pulumi.Input['DetectorRecipeEffectiveDetectorRuleArgs']]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + owner: Optional[pulumi.Input[str]] = None, + source_detector_recipe_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + target_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if detector is not None: - pulumi.set(__self__, "detector", detector) + _setter("detector", detector) if detector_rules is not None: - pulumi.set(__self__, "detector_rules", detector_rules) + _setter("detector_rules", detector_rules) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if effective_detector_rules is not None: - pulumi.set(__self__, "effective_detector_rules", effective_detector_rules) + _setter("effective_detector_rules", effective_detector_rules) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if owner is not None: - pulumi.set(__self__, "owner", owner) + _setter("owner", owner) if source_detector_recipe_id is not None: - pulumi.set(__self__, "source_detector_recipe_id", source_detector_recipe_id) + _setter("source_detector_recipe_id", source_detector_recipe_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if target_ids is not None: - pulumi.set(__self__, "target_ids", target_ids) + _setter("target_ids", target_ids) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -502,6 +562,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DetectorRecipeArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/cloudguard/get_cloud_guard_configuration.py b/sdk/python/pulumi_oci/cloudguard/get_cloud_guard_configuration.py index 85c4a7c202..160694880a 100644 --- a/sdk/python/pulumi_oci/cloudguard/get_cloud_guard_configuration.py +++ b/sdk/python/pulumi_oci/cloudguard/get_cloud_guard_configuration.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/cloudguard/get_data_mask_rule.py b/sdk/python/pulumi_oci/cloudguard/get_data_mask_rule.py index 3689d50371..c4435f1416 100644 --- a/sdk/python/pulumi_oci/cloudguard/get_data_mask_rule.py +++ b/sdk/python/pulumi_oci/cloudguard/get_data_mask_rule.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/cloudguard/get_data_mask_rules.py b/sdk/python/pulumi_oci/cloudguard/get_data_mask_rules.py index ed7841a518..7579b8ae33 100644 --- a/sdk/python/pulumi_oci/cloudguard/get_data_mask_rules.py +++ b/sdk/python/pulumi_oci/cloudguard/get_data_mask_rules.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/cloudguard/get_data_source.py b/sdk/python/pulumi_oci/cloudguard/get_data_source.py index 13501fda0b..63554b546a 100644 --- a/sdk/python/pulumi_oci/cloudguard/get_data_source.py +++ b/sdk/python/pulumi_oci/cloudguard/get_data_source.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/cloudguard/get_data_source_event.py b/sdk/python/pulumi_oci/cloudguard/get_data_source_event.py index f2d4904c0d..4a0ad19913 100644 --- a/sdk/python/pulumi_oci/cloudguard/get_data_source_event.py +++ b/sdk/python/pulumi_oci/cloudguard/get_data_source_event.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/cloudguard/get_data_source_events.py b/sdk/python/pulumi_oci/cloudguard/get_data_source_events.py index 061ba2a8da..a68208c171 100644 --- a/sdk/python/pulumi_oci/cloudguard/get_data_source_events.py +++ b/sdk/python/pulumi_oci/cloudguard/get_data_source_events.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/cloudguard/get_data_sources.py b/sdk/python/pulumi_oci/cloudguard/get_data_sources.py index cc69286fda..e9e3022ae8 100644 --- a/sdk/python/pulumi_oci/cloudguard/get_data_sources.py +++ b/sdk/python/pulumi_oci/cloudguard/get_data_sources.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/cloudguard/get_detector_recipe.py b/sdk/python/pulumi_oci/cloudguard/get_detector_recipe.py index 89ca6812ce..dba7e242d6 100644 --- a/sdk/python/pulumi_oci/cloudguard/get_detector_recipe.py +++ b/sdk/python/pulumi_oci/cloudguard/get_detector_recipe.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/cloudguard/get_detector_recipes.py b/sdk/python/pulumi_oci/cloudguard/get_detector_recipes.py index 4675cde3f9..6f005d8985 100644 --- a/sdk/python/pulumi_oci/cloudguard/get_detector_recipes.py +++ b/sdk/python/pulumi_oci/cloudguard/get_detector_recipes.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/cloudguard/get_guard_target.py b/sdk/python/pulumi_oci/cloudguard/get_guard_target.py index 57dfd8ed9c..0d346acf57 100644 --- a/sdk/python/pulumi_oci/cloudguard/get_guard_target.py +++ b/sdk/python/pulumi_oci/cloudguard/get_guard_target.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/cloudguard/get_guard_targets.py b/sdk/python/pulumi_oci/cloudguard/get_guard_targets.py index d63aad3091..6236fdf32c 100644 --- a/sdk/python/pulumi_oci/cloudguard/get_guard_targets.py +++ b/sdk/python/pulumi_oci/cloudguard/get_guard_targets.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/cloudguard/get_managed_list.py b/sdk/python/pulumi_oci/cloudguard/get_managed_list.py index f775fb773a..e725c4e712 100644 --- a/sdk/python/pulumi_oci/cloudguard/get_managed_list.py +++ b/sdk/python/pulumi_oci/cloudguard/get_managed_list.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/cloudguard/get_managed_lists.py b/sdk/python/pulumi_oci/cloudguard/get_managed_lists.py index 9bb3612766..d4f511d6b1 100644 --- a/sdk/python/pulumi_oci/cloudguard/get_managed_lists.py +++ b/sdk/python/pulumi_oci/cloudguard/get_managed_lists.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/cloudguard/get_problem_entities.py b/sdk/python/pulumi_oci/cloudguard/get_problem_entities.py index f29b024e05..a6569781e0 100644 --- a/sdk/python/pulumi_oci/cloudguard/get_problem_entities.py +++ b/sdk/python/pulumi_oci/cloudguard/get_problem_entities.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/cloudguard/get_problem_entity.py b/sdk/python/pulumi_oci/cloudguard/get_problem_entity.py index b3b0890917..885a61596f 100644 --- a/sdk/python/pulumi_oci/cloudguard/get_problem_entity.py +++ b/sdk/python/pulumi_oci/cloudguard/get_problem_entity.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/cloudguard/get_responder_recipe.py b/sdk/python/pulumi_oci/cloudguard/get_responder_recipe.py index a4315087a7..425e3024cf 100644 --- a/sdk/python/pulumi_oci/cloudguard/get_responder_recipe.py +++ b/sdk/python/pulumi_oci/cloudguard/get_responder_recipe.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/cloudguard/get_responder_recipes.py b/sdk/python/pulumi_oci/cloudguard/get_responder_recipes.py index d73196cdde..7d5eaaea79 100644 --- a/sdk/python/pulumi_oci/cloudguard/get_responder_recipes.py +++ b/sdk/python/pulumi_oci/cloudguard/get_responder_recipes.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/cloudguard/get_security_policies.py b/sdk/python/pulumi_oci/cloudguard/get_security_policies.py index 2a88564e5f..1a3ed2d738 100644 --- a/sdk/python/pulumi_oci/cloudguard/get_security_policies.py +++ b/sdk/python/pulumi_oci/cloudguard/get_security_policies.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/cloudguard/get_security_policy.py b/sdk/python/pulumi_oci/cloudguard/get_security_policy.py index 567d94ac33..e3d20754d5 100644 --- a/sdk/python/pulumi_oci/cloudguard/get_security_policy.py +++ b/sdk/python/pulumi_oci/cloudguard/get_security_policy.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/cloudguard/get_security_recipe.py b/sdk/python/pulumi_oci/cloudguard/get_security_recipe.py index 7f5334481c..e110232b0b 100644 --- a/sdk/python/pulumi_oci/cloudguard/get_security_recipe.py +++ b/sdk/python/pulumi_oci/cloudguard/get_security_recipe.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/cloudguard/get_security_recipes.py b/sdk/python/pulumi_oci/cloudguard/get_security_recipes.py index 5b49ac53d5..b2ec1bc350 100644 --- a/sdk/python/pulumi_oci/cloudguard/get_security_recipes.py +++ b/sdk/python/pulumi_oci/cloudguard/get_security_recipes.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/cloudguard/get_security_zone.py b/sdk/python/pulumi_oci/cloudguard/get_security_zone.py index c4d770fc22..ec7cccc4e3 100644 --- a/sdk/python/pulumi_oci/cloudguard/get_security_zone.py +++ b/sdk/python/pulumi_oci/cloudguard/get_security_zone.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/cloudguard/get_security_zones.py b/sdk/python/pulumi_oci/cloudguard/get_security_zones.py index d7c43f2663..afc31baee7 100644 --- a/sdk/python/pulumi_oci/cloudguard/get_security_zones.py +++ b/sdk/python/pulumi_oci/cloudguard/get_security_zones.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/cloudguard/managed_list.py b/sdk/python/pulumi_oci/cloudguard/managed_list.py index 6ce11199ed..e1b7080ead 100644 --- a/sdk/python/pulumi_oci/cloudguard/managed_list.py +++ b/sdk/python/pulumi_oci/cloudguard/managed_list.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['ManagedListArgs', 'ManagedList'] @@ -43,20 +43,43 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) + ManagedListArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + list_items=list_items, + list_type=list_type, + source_managed_list_id=source_managed_list_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + list_items: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + list_type: Optional[pulumi.Input[str]] = None, + source_managed_list_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if list_items is not None: - pulumi.set(__self__, "list_items", list_items) + _setter("list_items", list_items) if list_type is not None: - pulumi.set(__self__, "list_type", list_type) + _setter("list_type", list_type) if source_managed_list_id is not None: - pulumi.set(__self__, "source_managed_list_id", source_managed_list_id) + _setter("source_managed_list_id", source_managed_list_id) @property @pulumi.getter(name="compartmentId") @@ -211,36 +234,73 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the managed list was created. Format defined by RFC3339. :param pulumi.Input[str] time_updated: The date and time the managed list was updated. Format defined by RFC3339. """ + _ManagedListState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + feed_provider=feed_provider, + freeform_tags=freeform_tags, + is_editable=is_editable, + lifecyle_details=lifecyle_details, + list_items=list_items, + list_type=list_type, + source_managed_list_id=source_managed_list_id, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + feed_provider: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_editable: Optional[pulumi.Input[bool]] = None, + lifecyle_details: Optional[pulumi.Input[str]] = None, + list_items: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + list_type: Optional[pulumi.Input[str]] = None, + source_managed_list_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if feed_provider is not None: - pulumi.set(__self__, "feed_provider", feed_provider) + _setter("feed_provider", feed_provider) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_editable is not None: - pulumi.set(__self__, "is_editable", is_editable) + _setter("is_editable", is_editable) if lifecyle_details is not None: - pulumi.set(__self__, "lifecyle_details", lifecyle_details) + _setter("lifecyle_details", lifecyle_details) if list_items is not None: - pulumi.set(__self__, "list_items", list_items) + _setter("list_items", list_items) if list_type is not None: - pulumi.set(__self__, "list_type", list_type) + _setter("list_type", list_type) if source_managed_list_id is not None: - pulumi.set(__self__, "source_managed_list_id", source_managed_list_id) + _setter("source_managed_list_id", source_managed_list_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -510,6 +570,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ManagedListArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/cloudguard/outputs.py b/sdk/python/pulumi_oci/cloudguard/outputs.py index 3f73135bd9..5d2fe3dfd5 100644 --- a/sdk/python/pulumi_oci/cloudguard/outputs.py +++ b/sdk/python/pulumi_oci/cloudguard/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -245,25 +245,52 @@ def __init__(__self__, *, :param Sequence[str] regions: (Updatable) Logging Query regions :param int threshold: (Updatable) The integer value that must be exceeded, fall below or equal to (depending on the operator), the query result to trigger an event. """ - pulumi.set(__self__, "data_source_feed_provider", data_source_feed_provider) + CloudGuardDataSourceDataSourceDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + data_source_feed_provider=data_source_feed_provider, + additional_entities_count=additional_entities_count, + interval_in_minutes=interval_in_minutes, + logging_query_details=logging_query_details, + logging_query_type=logging_query_type, + operator=operator, + query=query, + query_start_time=query_start_time, + regions=regions, + threshold=threshold, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + data_source_feed_provider: str, + additional_entities_count: Optional[int] = None, + interval_in_minutes: Optional[int] = None, + logging_query_details: Optional['outputs.CloudGuardDataSourceDataSourceDetailsLoggingQueryDetails'] = None, + logging_query_type: Optional[str] = None, + operator: Optional[str] = None, + query: Optional[str] = None, + query_start_time: Optional['outputs.CloudGuardDataSourceDataSourceDetailsQueryStartTime'] = None, + regions: Optional[Sequence[str]] = None, + threshold: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("data_source_feed_provider", data_source_feed_provider) if additional_entities_count is not None: - pulumi.set(__self__, "additional_entities_count", additional_entities_count) + _setter("additional_entities_count", additional_entities_count) if interval_in_minutes is not None: - pulumi.set(__self__, "interval_in_minutes", interval_in_minutes) + _setter("interval_in_minutes", interval_in_minutes) if logging_query_details is not None: - pulumi.set(__self__, "logging_query_details", logging_query_details) + _setter("logging_query_details", logging_query_details) if logging_query_type is not None: - pulumi.set(__self__, "logging_query_type", logging_query_type) + _setter("logging_query_type", logging_query_type) if operator is not None: - pulumi.set(__self__, "operator", operator) + _setter("operator", operator) if query is not None: - pulumi.set(__self__, "query", query) + _setter("query", query) if query_start_time is not None: - pulumi.set(__self__, "query_start_time", query_start_time) + _setter("query_start_time", query_start_time) if regions is not None: - pulumi.set(__self__, "regions", regions) + _setter("regions", regions) if threshold is not None: - pulumi.set(__self__, "threshold", threshold) + _setter("threshold", threshold) @property @pulumi.getter(name="dataSourceFeedProvider") @@ -374,9 +401,20 @@ def __init__(__self__, *, :param str logging_query_type: (Updatable) Logging query type for data source (Sighting/Insight) :param int key_entities_count: (Updatable) The key entities count used for data source query """ - pulumi.set(__self__, "logging_query_type", logging_query_type) + CloudGuardDataSourceDataSourceDetailsLoggingQueryDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + logging_query_type=logging_query_type, + key_entities_count=key_entities_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + logging_query_type: str, + key_entities_count: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("logging_query_type", logging_query_type) if key_entities_count is not None: - pulumi.set(__self__, "key_entities_count", key_entities_count) + _setter("key_entities_count", key_entities_count) @property @pulumi.getter(name="loggingQueryType") @@ -423,9 +461,20 @@ def __init__(__self__, *, :param str start_policy_type: (Updatable) policy used for deciding the query start time :param str query_start_time: (Updatable) Time when the query can start, if not specified it can start immediately. """ - pulumi.set(__self__, "start_policy_type", start_policy_type) + CloudGuardDataSourceDataSourceDetailsQueryStartTime._configure( + lambda key, value: pulumi.set(__self__, key, value), + start_policy_type=start_policy_type, + query_start_time=query_start_time, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + start_policy_type: str, + query_start_time: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("start_policy_type", start_policy_type) if query_start_time is not None: - pulumi.set(__self__, "query_start_time", query_start_time) + _setter("query_start_time", query_start_time) @property @pulumi.getter(name="startPolicyType") @@ -472,10 +521,21 @@ def __init__(__self__, *, :param str detector_recipe_id: Id of the attached detectorRecipeId to the Data Source. :param str detector_rule_id: Id of the attached detectorRuleId to the Data Source. """ + CloudGuardDataSourceDataSourceDetectorMappingInfo._configure( + lambda key, value: pulumi.set(__self__, key, value), + detector_recipe_id=detector_recipe_id, + detector_rule_id=detector_rule_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + detector_recipe_id: Optional[str] = None, + detector_rule_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if detector_recipe_id is not None: - pulumi.set(__self__, "detector_recipe_id", detector_recipe_id) + _setter("detector_recipe_id", detector_recipe_id) if detector_rule_id is not None: - pulumi.set(__self__, "detector_rule_id", detector_rule_id) + _setter("detector_rule_id", detector_rule_id) @property @pulumi.getter(name="detectorRecipeId") @@ -503,10 +563,21 @@ def __init__(__self__, *, :param str region: Data Source replication region. :param str status: Status of data Source """ + CloudGuardDataSourceRegionStatusDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + region=region, + status=status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + region: Optional[str] = None, + status: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if region is not None: - pulumi.set(__self__, "region", region) + _setter("region", region) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) @property @pulumi.getter @@ -538,9 +609,20 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "kind", kind) + DataMaskRuleTargetSelected._configure( + lambda key, value: pulumi.set(__self__, key, value), + kind=kind, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + kind: str, + values: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("kind", kind) if values is not None: - pulumi.set(__self__, "values", values) + _setter("values", values) @property @pulumi.getter @@ -639,36 +721,75 @@ def __init__(__self__, *, :param str time_created: The date and time the detector recipe was created. Format defined by RFC3339. :param str time_updated: The date and time the detector recipe was updated. Format defined by RFC3339. """ - pulumi.set(__self__, "details", details) - pulumi.set(__self__, "detector_rule_id", detector_rule_id) + DetectorRecipeDetectorRule._configure( + lambda key, value: pulumi.set(__self__, key, value), + details=details, + detector_rule_id=detector_rule_id, + candidate_responder_rules=candidate_responder_rules, + data_source_id=data_source_id, + description=description, + detector=detector, + display_name=display_name, + entities_mappings=entities_mappings, + lifecycle_details=lifecycle_details, + managed_list_types=managed_list_types, + recommendation=recommendation, + resource_type=resource_type, + service_type=service_type, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + details: 'outputs.DetectorRecipeDetectorRuleDetails', + detector_rule_id: str, + candidate_responder_rules: Optional[Sequence['outputs.DetectorRecipeDetectorRuleCandidateResponderRule']] = None, + data_source_id: Optional[str] = None, + description: Optional[str] = None, + detector: Optional[str] = None, + display_name: Optional[str] = None, + entities_mappings: Optional[Sequence['outputs.DetectorRecipeDetectorRuleEntitiesMapping']] = None, + lifecycle_details: Optional[str] = None, + managed_list_types: Optional[Sequence[str]] = None, + recommendation: Optional[str] = None, + resource_type: Optional[str] = None, + service_type: Optional[str] = None, + state: Optional[str] = None, + time_created: Optional[str] = None, + time_updated: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("details", details) + _setter("detector_rule_id", detector_rule_id) if candidate_responder_rules is not None: - pulumi.set(__self__, "candidate_responder_rules", candidate_responder_rules) + _setter("candidate_responder_rules", candidate_responder_rules) if data_source_id is not None: - pulumi.set(__self__, "data_source_id", data_source_id) + _setter("data_source_id", data_source_id) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if detector is not None: - pulumi.set(__self__, "detector", detector) + _setter("detector", detector) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if entities_mappings is not None: - pulumi.set(__self__, "entities_mappings", entities_mappings) + _setter("entities_mappings", entities_mappings) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if managed_list_types is not None: - pulumi.set(__self__, "managed_list_types", managed_list_types) + _setter("managed_list_types", managed_list_types) if recommendation is not None: - pulumi.set(__self__, "recommendation", recommendation) + _setter("recommendation", recommendation) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if service_type is not None: - pulumi.set(__self__, "service_type", service_type) + _setter("service_type", service_type) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter @@ -833,12 +954,25 @@ def __init__(__self__, *, :param str id: Ocid for detector recipe :param bool is_preferred: Preferred state """ + DetectorRecipeDetectorRuleCandidateResponderRule._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + id=id, + is_preferred=is_preferred, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: Optional[str] = None, + id: Optional[str] = None, + is_preferred: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if is_preferred is not None: - pulumi.set(__self__, "is_preferred", is_preferred) + _setter("is_preferred", is_preferred) @property @pulumi.getter(name="displayName") @@ -917,24 +1051,51 @@ def __init__(__self__, *, :param Sequence[str] labels: (Updatable) user defined labels for a detector rule :param str recommendation: (Updatable) Recommendation for DetectorRecipeDetectorRule """ - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "risk_level", risk_level) + DetectorRecipeDetectorRuleDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + risk_level=risk_level, + condition=condition, + configurations=configurations, + data_source_id=data_source_id, + description=description, + entities_mappings=entities_mappings, + is_configuration_allowed=is_configuration_allowed, + labels=labels, + recommendation=recommendation, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: bool, + risk_level: str, + condition: Optional[str] = None, + configurations: Optional[Sequence['outputs.DetectorRecipeDetectorRuleDetailsConfiguration']] = None, + data_source_id: Optional[str] = None, + description: Optional[str] = None, + entities_mappings: Optional[Sequence['outputs.DetectorRecipeDetectorRuleDetailsEntitiesMapping']] = None, + is_configuration_allowed: Optional[bool] = None, + labels: Optional[Sequence[str]] = None, + recommendation: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_enabled", is_enabled) + _setter("risk_level", risk_level) if condition is not None: - pulumi.set(__self__, "condition", condition) + _setter("condition", condition) if configurations is not None: - pulumi.set(__self__, "configurations", configurations) + _setter("configurations", configurations) if data_source_id is not None: - pulumi.set(__self__, "data_source_id", data_source_id) + _setter("data_source_id", data_source_id) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if entities_mappings is not None: - pulumi.set(__self__, "entities_mappings", entities_mappings) + _setter("entities_mappings", entities_mappings) if is_configuration_allowed is not None: - pulumi.set(__self__, "is_configuration_allowed", is_configuration_allowed) + _setter("is_configuration_allowed", is_configuration_allowed) if labels is not None: - pulumi.set(__self__, "labels", labels) + _setter("labels", labels) if recommendation is not None: - pulumi.set(__self__, "recommendation", recommendation) + _setter("recommendation", recommendation) @property @pulumi.getter(name="isEnabled") @@ -1051,14 +1212,31 @@ def __init__(__self__, *, :param str value: (Updatable) configuration value :param Sequence['DetectorRecipeDetectorRuleDetailsConfigurationValueArgs'] values: (Updatable) List of configuration values """ - pulumi.set(__self__, "config_key", config_key) - pulumi.set(__self__, "name", name) + DetectorRecipeDetectorRuleDetailsConfiguration._configure( + lambda key, value: pulumi.set(__self__, key, value), + config_key=config_key, + name=name, + data_type=data_type, + value=value, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + config_key: str, + name: str, + data_type: Optional[str] = None, + value: Optional[str] = None, + values: Optional[Sequence['outputs.DetectorRecipeDetectorRuleDetailsConfigurationValue']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("config_key", config_key) + _setter("name", name) if data_type is not None: - pulumi.set(__self__, "data_type", data_type) + _setter("data_type", data_type) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) if values is not None: - pulumi.set(__self__, "values", values) + _setter("values", values) @property @pulumi.getter(name="configKey") @@ -1131,9 +1309,22 @@ def __init__(__self__, *, :param str managed_list_type: (Updatable) type of the managed list :param str value: (Updatable) configuration value """ - pulumi.set(__self__, "list_type", list_type) - pulumi.set(__self__, "managed_list_type", managed_list_type) - pulumi.set(__self__, "value", value) + DetectorRecipeDetectorRuleDetailsConfigurationValue._configure( + lambda key, value: pulumi.set(__self__, key, value), + list_type=list_type, + managed_list_type=managed_list_type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + list_type: str, + managed_list_type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("list_type", list_type) + _setter("managed_list_type", managed_list_type) + _setter("value", value) @property @pulumi.getter(name="listType") @@ -1194,11 +1385,24 @@ def __init__(__self__, *, Avoid entering confidential information. :param str entity_type: (Updatable) Possible type of entity """ - pulumi.set(__self__, "query_field", query_field) + DetectorRecipeDetectorRuleDetailsEntitiesMapping._configure( + lambda key, value: pulumi.set(__self__, key, value), + query_field=query_field, + display_name=display_name, + entity_type=entity_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + query_field: str, + display_name: Optional[str] = None, + entity_type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("query_field", query_field) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if entity_type is not None: - pulumi.set(__self__, "entity_type", entity_type) + _setter("entity_type", entity_type) @property @pulumi.getter(name="queryField") @@ -1261,12 +1465,25 @@ def __init__(__self__, *, :param str entity_type: (Updatable) Possible type of entity :param str query_field: (Updatable) The entity value mapped to a data source query """ + DetectorRecipeDetectorRuleEntitiesMapping._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + entity_type=entity_type, + query_field=query_field, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: Optional[str] = None, + entity_type: Optional[str] = None, + query_field: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if entity_type is not None: - pulumi.set(__self__, "entity_type", entity_type) + _setter("entity_type", entity_type) if query_field is not None: - pulumi.set(__self__, "query_field", query_field) + _setter("query_field", query_field) @property @pulumi.getter(name="displayName") @@ -1371,38 +1588,77 @@ def __init__(__self__, *, :param str time_created: The date and time the detector recipe was created. Format defined by RFC3339. :param str time_updated: The date and time the detector recipe was updated. Format defined by RFC3339. """ + DetectorRecipeEffectiveDetectorRule._configure( + lambda key, value: pulumi.set(__self__, key, value), + candidate_responder_rules=candidate_responder_rules, + data_source_id=data_source_id, + description=description, + details=details, + detector=detector, + detector_rule_id=detector_rule_id, + display_name=display_name, + entities_mappings=entities_mappings, + lifecycle_details=lifecycle_details, + managed_list_types=managed_list_types, + recommendation=recommendation, + resource_type=resource_type, + service_type=service_type, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + candidate_responder_rules: Optional[Sequence['outputs.DetectorRecipeEffectiveDetectorRuleCandidateResponderRule']] = None, + data_source_id: Optional[str] = None, + description: Optional[str] = None, + details: Optional[Sequence['outputs.DetectorRecipeEffectiveDetectorRuleDetail']] = None, + detector: Optional[str] = None, + detector_rule_id: Optional[str] = None, + display_name: Optional[str] = None, + entities_mappings: Optional[Sequence['outputs.DetectorRecipeEffectiveDetectorRuleEntitiesMapping']] = None, + lifecycle_details: Optional[str] = None, + managed_list_types: Optional[Sequence[str]] = None, + recommendation: Optional[str] = None, + resource_type: Optional[str] = None, + service_type: Optional[str] = None, + state: Optional[str] = None, + time_created: Optional[str] = None, + time_updated: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if candidate_responder_rules is not None: - pulumi.set(__self__, "candidate_responder_rules", candidate_responder_rules) + _setter("candidate_responder_rules", candidate_responder_rules) if data_source_id is not None: - pulumi.set(__self__, "data_source_id", data_source_id) + _setter("data_source_id", data_source_id) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if details is not None: - pulumi.set(__self__, "details", details) + _setter("details", details) if detector is not None: - pulumi.set(__self__, "detector", detector) + _setter("detector", detector) if detector_rule_id is not None: - pulumi.set(__self__, "detector_rule_id", detector_rule_id) + _setter("detector_rule_id", detector_rule_id) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if entities_mappings is not None: - pulumi.set(__self__, "entities_mappings", entities_mappings) + _setter("entities_mappings", entities_mappings) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if managed_list_types is not None: - pulumi.set(__self__, "managed_list_types", managed_list_types) + _setter("managed_list_types", managed_list_types) if recommendation is not None: - pulumi.set(__self__, "recommendation", recommendation) + _setter("recommendation", recommendation) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if service_type is not None: - pulumi.set(__self__, "service_type", service_type) + _setter("service_type", service_type) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="candidateResponderRules") @@ -1567,12 +1823,25 @@ def __init__(__self__, *, :param str id: Ocid for detector recipe :param bool is_preferred: Preferred state """ + DetectorRecipeEffectiveDetectorRuleCandidateResponderRule._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + id=id, + is_preferred=is_preferred, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: Optional[str] = None, + id: Optional[str] = None, + is_preferred: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if is_preferred is not None: - pulumi.set(__self__, "is_preferred", is_preferred) + _setter("is_preferred", is_preferred) @property @pulumi.getter(name="displayName") @@ -1639,18 +1908,37 @@ def __init__(__self__, *, :param Sequence[str] labels: (Updatable) user defined labels for a detector rule :param str risk_level: (Updatable) The Risk Level """ + DetectorRecipeEffectiveDetectorRuleDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + condition=condition, + configurations=configurations, + is_configuration_allowed=is_configuration_allowed, + is_enabled=is_enabled, + labels=labels, + risk_level=risk_level, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + condition: Optional[str] = None, + configurations: Optional[Sequence['outputs.DetectorRecipeEffectiveDetectorRuleDetailConfiguration']] = None, + is_configuration_allowed: Optional[bool] = None, + is_enabled: Optional[bool] = None, + labels: Optional[Sequence[str]] = None, + risk_level: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if condition is not None: - pulumi.set(__self__, "condition", condition) + _setter("condition", condition) if configurations is not None: - pulumi.set(__self__, "configurations", configurations) + _setter("configurations", configurations) if is_configuration_allowed is not None: - pulumi.set(__self__, "is_configuration_allowed", is_configuration_allowed) + _setter("is_configuration_allowed", is_configuration_allowed) if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) if labels is not None: - pulumi.set(__self__, "labels", labels) + _setter("labels", labels) if risk_level is not None: - pulumi.set(__self__, "risk_level", risk_level) + _setter("risk_level", risk_level) @property @pulumi.getter @@ -1735,16 +2023,33 @@ def __init__(__self__, *, :param str value: (Updatable) configuration value :param Sequence['DetectorRecipeEffectiveDetectorRuleDetailConfigurationValueArgs'] values: (Updatable) List of configuration values """ + DetectorRecipeEffectiveDetectorRuleDetailConfiguration._configure( + lambda key, value: pulumi.set(__self__, key, value), + config_key=config_key, + data_type=data_type, + name=name, + value=value, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + config_key: Optional[str] = None, + data_type: Optional[str] = None, + name: Optional[str] = None, + value: Optional[str] = None, + values: Optional[Sequence['outputs.DetectorRecipeEffectiveDetectorRuleDetailConfigurationValue']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if config_key is not None: - pulumi.set(__self__, "config_key", config_key) + _setter("config_key", config_key) if data_type is not None: - pulumi.set(__self__, "data_type", data_type) + _setter("data_type", data_type) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) if values is not None: - pulumi.set(__self__, "values", values) + _setter("values", values) @property @pulumi.getter(name="configKey") @@ -1817,12 +2122,25 @@ def __init__(__self__, *, :param str managed_list_type: (Updatable) type of the managed list :param str value: (Updatable) configuration value """ + DetectorRecipeEffectiveDetectorRuleDetailConfigurationValue._configure( + lambda key, value: pulumi.set(__self__, key, value), + list_type=list_type, + managed_list_type=managed_list_type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + list_type: Optional[str] = None, + managed_list_type: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if list_type is not None: - pulumi.set(__self__, "list_type", list_type) + _setter("list_type", list_type) if managed_list_type is not None: - pulumi.set(__self__, "managed_list_type", managed_list_type) + _setter("managed_list_type", managed_list_type) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter(name="listType") @@ -1883,12 +2201,25 @@ def __init__(__self__, *, :param str entity_type: (Updatable) Possible type of entity :param str query_field: (Updatable) The entity value mapped to a data source query """ + DetectorRecipeEffectiveDetectorRuleEntitiesMapping._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + entity_type=entity_type, + query_field=query_field, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: Optional[str] = None, + entity_type: Optional[str] = None, + query_field: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if entity_type is not None: - pulumi.set(__self__, "entity_type", entity_type) + _setter("entity_type", entity_type) if query_field is not None: - pulumi.set(__self__, "query_field", query_field) + _setter("query_field", query_field) @property @pulumi.getter(name="displayName") @@ -1979,30 +2310,61 @@ def __init__(__self__, *, :param str time_updated: The date and time the responder recipe was updated. Format defined by RFC3339. :param str type: Type of Responder """ + ResponderRecipeEffectiveResponderRule._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + description=description, + details=details, + display_name=display_name, + lifecycle_details=lifecycle_details, + policies=policies, + responder_rule_id=responder_rule_id, + state=state, + supported_modes=supported_modes, + time_created=time_created, + time_updated=time_updated, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[str] = None, + description: Optional[str] = None, + details: Optional[Sequence['outputs.ResponderRecipeEffectiveResponderRuleDetail']] = None, + display_name: Optional[str] = None, + lifecycle_details: Optional[str] = None, + policies: Optional[Sequence[str]] = None, + responder_rule_id: Optional[str] = None, + state: Optional[str] = None, + supported_modes: Optional[Sequence[str]] = None, + time_created: Optional[str] = None, + time_updated: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if details is not None: - pulumi.set(__self__, "details", details) + _setter("details", details) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if policies is not None: - pulumi.set(__self__, "policies", policies) + _setter("policies", policies) if responder_rule_id is not None: - pulumi.set(__self__, "responder_rule_id", responder_rule_id) + _setter("responder_rule_id", responder_rule_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if supported_modes is not None: - pulumi.set(__self__, "supported_modes", supported_modes) + _setter("supported_modes", supported_modes) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter(name="compartmentId") @@ -2135,14 +2497,29 @@ def __init__(__self__, *, :param bool is_enabled: (Updatable) Identifies state for ResponderRule :param str mode: Execution Mode for ResponderRule """ + ResponderRecipeEffectiveResponderRuleDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + condition=condition, + configurations=configurations, + is_enabled=is_enabled, + mode=mode, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + condition: Optional[str] = None, + configurations: Optional[Sequence['outputs.ResponderRecipeEffectiveResponderRuleDetailConfiguration']] = None, + is_enabled: Optional[bool] = None, + mode: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if condition is not None: - pulumi.set(__self__, "condition", condition) + _setter("condition", condition) if configurations is not None: - pulumi.set(__self__, "configurations", configurations) + _setter("configurations", configurations) if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) if mode is not None: - pulumi.set(__self__, "mode", mode) + _setter("mode", mode) @property @pulumi.getter @@ -2205,12 +2582,25 @@ def __init__(__self__, *, :param str name: configuration name :param str value: configuration value """ + ResponderRecipeEffectiveResponderRuleDetailConfiguration._configure( + lambda key, value: pulumi.set(__self__, key, value), + config_key=config_key, + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + config_key: Optional[str] = None, + name: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if config_key is not None: - pulumi.set(__self__, "config_key", config_key) + _setter("config_key", config_key) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter(name="configKey") @@ -2299,28 +2689,59 @@ def __init__(__self__, *, :param str time_updated: The date and time the responder recipe was updated. Format defined by RFC3339. :param str type: Type of Responder """ - pulumi.set(__self__, "details", details) - pulumi.set(__self__, "responder_rule_id", responder_rule_id) + ResponderRecipeResponderRule._configure( + lambda key, value: pulumi.set(__self__, key, value), + details=details, + responder_rule_id=responder_rule_id, + compartment_id=compartment_id, + description=description, + display_name=display_name, + lifecycle_details=lifecycle_details, + policies=policies, + state=state, + supported_modes=supported_modes, + time_created=time_created, + time_updated=time_updated, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + details: 'outputs.ResponderRecipeResponderRuleDetails', + responder_rule_id: str, + compartment_id: Optional[str] = None, + description: Optional[str] = None, + display_name: Optional[str] = None, + lifecycle_details: Optional[str] = None, + policies: Optional[Sequence[str]] = None, + state: Optional[str] = None, + supported_modes: Optional[Sequence[str]] = None, + time_created: Optional[str] = None, + time_updated: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("details", details) + _setter("responder_rule_id", responder_rule_id) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if policies is not None: - pulumi.set(__self__, "policies", policies) + _setter("policies", policies) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if supported_modes is not None: - pulumi.set(__self__, "supported_modes", supported_modes) + _setter("supported_modes", supported_modes) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -2453,13 +2874,28 @@ def __init__(__self__, *, :param Sequence['ResponderRecipeResponderRuleDetailsConfigurationArgs'] configurations: ResponderRule configurations :param str mode: Execution Mode for ResponderRule """ - pulumi.set(__self__, "is_enabled", is_enabled) + ResponderRecipeResponderRuleDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + condition=condition, + configurations=configurations, + mode=mode, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: bool, + condition: Optional[str] = None, + configurations: Optional[Sequence['outputs.ResponderRecipeResponderRuleDetailsConfiguration']] = None, + mode: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_enabled", is_enabled) if condition is not None: - pulumi.set(__self__, "condition", condition) + _setter("condition", condition) if configurations is not None: - pulumi.set(__self__, "configurations", configurations) + _setter("configurations", configurations) if mode is not None: - pulumi.set(__self__, "mode", mode) + _setter("mode", mode) @property @pulumi.getter(name="isEnabled") @@ -2522,12 +2958,25 @@ def __init__(__self__, *, :param str name: configuration name :param str value: configuration value """ + ResponderRecipeResponderRuleDetailsConfiguration._configure( + lambda key, value: pulumi.set(__self__, key, value), + config_key=config_key, + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + config_key: Optional[str] = None, + name: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if config_key is not None: - pulumi.set(__self__, "config_key", config_key) + _setter("config_key", config_key) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter(name="configKey") @@ -2590,14 +3039,29 @@ def __init__(__self__, *, :param str target_resource_type: possible type of targets(COMPARTMENT/FACLOUD) :param Sequence['TargetTargetDetailTargetSecurityZoneRecipeArgs'] target_security_zone_recipes: The list of security zone recipes to associate this compartment with. """ + TargetTargetDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + security_zone_display_name=security_zone_display_name, + security_zone_id=security_zone_id, + target_resource_type=target_resource_type, + target_security_zone_recipes=target_security_zone_recipes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + security_zone_display_name: Optional[str] = None, + security_zone_id: Optional[str] = None, + target_resource_type: Optional[str] = None, + target_security_zone_recipes: Optional[Sequence['outputs.TargetTargetDetailTargetSecurityZoneRecipe']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if security_zone_display_name is not None: - pulumi.set(__self__, "security_zone_display_name", security_zone_display_name) + _setter("security_zone_display_name", security_zone_display_name) if security_zone_id is not None: - pulumi.set(__self__, "security_zone_id", security_zone_id) + _setter("security_zone_id", security_zone_id) if target_resource_type is not None: - pulumi.set(__self__, "target_resource_type", target_resource_type) + _setter("target_resource_type", target_resource_type) if target_security_zone_recipes is not None: - pulumi.set(__self__, "target_security_zone_recipes", target_security_zone_recipes) + _setter("target_security_zone_recipes", target_security_zone_recipes) @property @pulumi.getter(name="securityZoneDisplayName") @@ -2702,32 +3166,65 @@ def __init__(__self__, *, :param str time_created: The date and time the target was created. Format defined by RFC3339. :param str time_updated: The date and time the target was updated. Format defined by RFC3339. """ + TargetTargetDetailTargetSecurityZoneRecipe._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + owner=owner, + security_policies=security_policies, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[str] = None, + defined_tags: Optional[Mapping[str, Any]] = None, + description: Optional[str] = None, + display_name: Optional[str] = None, + freeform_tags: Optional[Mapping[str, Any]] = None, + id: Optional[str] = None, + lifecycle_details: Optional[str] = None, + owner: Optional[str] = None, + security_policies: Optional[Sequence[str]] = None, + state: Optional[str] = None, + system_tags: Optional[Mapping[str, Any]] = None, + time_created: Optional[str] = None, + time_updated: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if owner is not None: - pulumi.set(__self__, "owner", owner) + _setter("owner", owner) if security_policies is not None: - pulumi.set(__self__, "security_policies", security_policies) + _setter("security_policies", security_policies) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -2902,29 +3399,60 @@ def __init__(__self__, *, :param str time_created: The date and time the target was created. Format defined by RFC3339. :param str time_updated: The date and time the target was updated. Format defined by RFC3339. """ - pulumi.set(__self__, "detector_recipe_id", detector_recipe_id) + TargetTargetDetectorRecipe._configure( + lambda key, value: pulumi.set(__self__, key, value), + detector_recipe_id=detector_recipe_id, + compartment_id=compartment_id, + description=description, + detector=detector, + detector_rules=detector_rules, + display_name=display_name, + effective_detector_rules=effective_detector_rules, + id=id, + owner=owner, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + detector_recipe_id: str, + compartment_id: Optional[str] = None, + description: Optional[str] = None, + detector: Optional[str] = None, + detector_rules: Optional[Sequence['outputs.TargetTargetDetectorRecipeDetectorRule']] = None, + display_name: Optional[str] = None, + effective_detector_rules: Optional[Sequence['outputs.TargetTargetDetectorRecipeEffectiveDetectorRule']] = None, + id: Optional[str] = None, + owner: Optional[str] = None, + state: Optional[str] = None, + time_created: Optional[str] = None, + time_updated: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("detector_recipe_id", detector_recipe_id) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if detector is not None: - pulumi.set(__self__, "detector", detector) + _setter("detector", detector) if detector_rules is not None: - pulumi.set(__self__, "detector_rules", detector_rules) + _setter("detector_rules", detector_rules) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if effective_detector_rules is not None: - pulumi.set(__self__, "effective_detector_rules", effective_detector_rules) + _setter("effective_detector_rules", effective_detector_rules) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if owner is not None: - pulumi.set(__self__, "owner", owner) + _setter("owner", owner) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="detectorRecipeId") @@ -3101,34 +3629,71 @@ def __init__(__self__, *, :param str time_created: The date and time the target was created. Format defined by RFC3339. :param str time_updated: The date and time the target was updated. Format defined by RFC3339. """ - pulumi.set(__self__, "details", details) - pulumi.set(__self__, "detector_rule_id", detector_rule_id) + TargetTargetDetectorRecipeDetectorRule._configure( + lambda key, value: pulumi.set(__self__, key, value), + details=details, + detector_rule_id=detector_rule_id, + data_source_id=data_source_id, + description=description, + detector=detector, + display_name=display_name, + entities_mappings=entities_mappings, + lifecycle_details=lifecycle_details, + managed_list_types=managed_list_types, + recommendation=recommendation, + resource_type=resource_type, + service_type=service_type, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + details: 'outputs.TargetTargetDetectorRecipeDetectorRuleDetails', + detector_rule_id: str, + data_source_id: Optional[str] = None, + description: Optional[str] = None, + detector: Optional[str] = None, + display_name: Optional[str] = None, + entities_mappings: Optional[Sequence['outputs.TargetTargetDetectorRecipeDetectorRuleEntitiesMapping']] = None, + lifecycle_details: Optional[str] = None, + managed_list_types: Optional[Sequence[str]] = None, + recommendation: Optional[str] = None, + resource_type: Optional[str] = None, + service_type: Optional[str] = None, + state: Optional[str] = None, + time_created: Optional[str] = None, + time_updated: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("details", details) + _setter("detector_rule_id", detector_rule_id) if data_source_id is not None: - pulumi.set(__self__, "data_source_id", data_source_id) + _setter("data_source_id", data_source_id) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if detector is not None: - pulumi.set(__self__, "detector", detector) + _setter("detector", detector) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if entities_mappings is not None: - pulumi.set(__self__, "entities_mappings", entities_mappings) + _setter("entities_mappings", entities_mappings) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if managed_list_types is not None: - pulumi.set(__self__, "managed_list_types", managed_list_types) + _setter("managed_list_types", managed_list_types) if recommendation is not None: - pulumi.set(__self__, "recommendation", recommendation) + _setter("recommendation", recommendation) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if service_type is not None: - pulumi.set(__self__, "service_type", service_type) + _setter("service_type", service_type) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter @@ -3295,18 +3860,37 @@ def __init__(__self__, *, :param Sequence[str] labels: user defined labels for a detector rule :param str risk_level: The Risk Level """ + TargetTargetDetectorRecipeDetectorRuleDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + condition_groups=condition_groups, + configurations=configurations, + is_configuration_allowed=is_configuration_allowed, + is_enabled=is_enabled, + labels=labels, + risk_level=risk_level, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + condition_groups: Optional[Sequence['outputs.TargetTargetDetectorRecipeDetectorRuleDetailsConditionGroup']] = None, + configurations: Optional[Sequence['outputs.TargetTargetDetectorRecipeDetectorRuleDetailsConfiguration']] = None, + is_configuration_allowed: Optional[bool] = None, + is_enabled: Optional[bool] = None, + labels: Optional[Sequence[str]] = None, + risk_level: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if condition_groups is not None: - pulumi.set(__self__, "condition_groups", condition_groups) + _setter("condition_groups", condition_groups) if configurations is not None: - pulumi.set(__self__, "configurations", configurations) + _setter("configurations", configurations) if is_configuration_allowed is not None: - pulumi.set(__self__, "is_configuration_allowed", is_configuration_allowed) + _setter("is_configuration_allowed", is_configuration_allowed) if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) if labels is not None: - pulumi.set(__self__, "labels", labels) + _setter("labels", labels) if risk_level is not None: - pulumi.set(__self__, "risk_level", risk_level) + _setter("risk_level", risk_level) @property @pulumi.getter(name="conditionGroups") @@ -3383,8 +3967,19 @@ def __init__(__self__, *, :param str compartment_id: (Updatable) compartment associated with condition :param str condition: (Updatable) Base condition object """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "condition", condition) + TargetTargetDetectorRecipeDetectorRuleDetailsConditionGroup._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + condition=condition, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + condition: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("condition", condition) @property @pulumi.getter(name="compartmentId") @@ -3437,16 +4032,33 @@ def __init__(__self__, *, :param str value: (Updatable) configuration value :param Sequence['TargetTargetDetectorRecipeDetectorRuleDetailsConfigurationValueArgs'] values: List of configuration values """ + TargetTargetDetectorRecipeDetectorRuleDetailsConfiguration._configure( + lambda key, value: pulumi.set(__self__, key, value), + config_key=config_key, + data_type=data_type, + name=name, + value=value, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + config_key: Optional[str] = None, + data_type: Optional[str] = None, + name: Optional[str] = None, + value: Optional[str] = None, + values: Optional[Sequence['outputs.TargetTargetDetectorRecipeDetectorRuleDetailsConfigurationValue']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if config_key is not None: - pulumi.set(__self__, "config_key", config_key) + _setter("config_key", config_key) if data_type is not None: - pulumi.set(__self__, "data_type", data_type) + _setter("data_type", data_type) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) if values is not None: - pulumi.set(__self__, "values", values) + _setter("values", values) @property @pulumi.getter(name="configKey") @@ -3519,12 +4131,25 @@ def __init__(__self__, *, :param str managed_list_type: type of the managed list :param str value: (Updatable) configuration value """ + TargetTargetDetectorRecipeDetectorRuleDetailsConfigurationValue._configure( + lambda key, value: pulumi.set(__self__, key, value), + list_type=list_type, + managed_list_type=managed_list_type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + list_type: Optional[str] = None, + managed_list_type: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if list_type is not None: - pulumi.set(__self__, "list_type", list_type) + _setter("list_type", list_type) if managed_list_type is not None: - pulumi.set(__self__, "managed_list_type", managed_list_type) + _setter("managed_list_type", managed_list_type) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter(name="listType") @@ -3585,12 +4210,25 @@ def __init__(__self__, *, :param str entity_type: Possible type of entity :param str query_field: The entity value mapped to a data source query """ + TargetTargetDetectorRecipeDetectorRuleEntitiesMapping._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + entity_type=entity_type, + query_field=query_field, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: Optional[str] = None, + entity_type: Optional[str] = None, + query_field: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if entity_type is not None: - pulumi.set(__self__, "entity_type", entity_type) + _setter("entity_type", entity_type) if query_field is not None: - pulumi.set(__self__, "query_field", query_field) + _setter("query_field", query_field) @property @pulumi.getter(name="displayName") @@ -3693,36 +4331,73 @@ def __init__(__self__, *, :param str time_created: The date and time the target was created. Format defined by RFC3339. :param str time_updated: The date and time the target was updated. Format defined by RFC3339. """ + TargetTargetDetectorRecipeEffectiveDetectorRule._configure( + lambda key, value: pulumi.set(__self__, key, value), + data_source_id=data_source_id, + description=description, + details=details, + detector=detector, + detector_rule_id=detector_rule_id, + display_name=display_name, + entities_mappings=entities_mappings, + lifecycle_details=lifecycle_details, + managed_list_types=managed_list_types, + recommendation=recommendation, + resource_type=resource_type, + service_type=service_type, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + data_source_id: Optional[str] = None, + description: Optional[str] = None, + details: Optional[Sequence['outputs.TargetTargetDetectorRecipeEffectiveDetectorRuleDetail']] = None, + detector: Optional[str] = None, + detector_rule_id: Optional[str] = None, + display_name: Optional[str] = None, + entities_mappings: Optional[Sequence['outputs.TargetTargetDetectorRecipeEffectiveDetectorRuleEntitiesMapping']] = None, + lifecycle_details: Optional[str] = None, + managed_list_types: Optional[Sequence[str]] = None, + recommendation: Optional[str] = None, + resource_type: Optional[str] = None, + service_type: Optional[str] = None, + state: Optional[str] = None, + time_created: Optional[str] = None, + time_updated: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if data_source_id is not None: - pulumi.set(__self__, "data_source_id", data_source_id) + _setter("data_source_id", data_source_id) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if details is not None: - pulumi.set(__self__, "details", details) + _setter("details", details) if detector is not None: - pulumi.set(__self__, "detector", detector) + _setter("detector", detector) if detector_rule_id is not None: - pulumi.set(__self__, "detector_rule_id", detector_rule_id) + _setter("detector_rule_id", detector_rule_id) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if entities_mappings is not None: - pulumi.set(__self__, "entities_mappings", entities_mappings) + _setter("entities_mappings", entities_mappings) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if managed_list_types is not None: - pulumi.set(__self__, "managed_list_types", managed_list_types) + _setter("managed_list_types", managed_list_types) if recommendation is not None: - pulumi.set(__self__, "recommendation", recommendation) + _setter("recommendation", recommendation) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if service_type is not None: - pulumi.set(__self__, "service_type", service_type) + _setter("service_type", service_type) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="dataSourceId") @@ -3889,18 +4564,37 @@ def __init__(__self__, *, :param Sequence[str] labels: user defined labels for a detector rule :param str risk_level: The Risk Level """ + TargetTargetDetectorRecipeEffectiveDetectorRuleDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + condition_groups=condition_groups, + configurations=configurations, + is_configuration_allowed=is_configuration_allowed, + is_enabled=is_enabled, + labels=labels, + risk_level=risk_level, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + condition_groups: Optional[Sequence['outputs.TargetTargetDetectorRecipeEffectiveDetectorRuleDetailConditionGroup']] = None, + configurations: Optional[Sequence['outputs.TargetTargetDetectorRecipeEffectiveDetectorRuleDetailConfiguration']] = None, + is_configuration_allowed: Optional[bool] = None, + is_enabled: Optional[bool] = None, + labels: Optional[Sequence[str]] = None, + risk_level: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if condition_groups is not None: - pulumi.set(__self__, "condition_groups", condition_groups) + _setter("condition_groups", condition_groups) if configurations is not None: - pulumi.set(__self__, "configurations", configurations) + _setter("configurations", configurations) if is_configuration_allowed is not None: - pulumi.set(__self__, "is_configuration_allowed", is_configuration_allowed) + _setter("is_configuration_allowed", is_configuration_allowed) if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) if labels is not None: - pulumi.set(__self__, "labels", labels) + _setter("labels", labels) if risk_level is not None: - pulumi.set(__self__, "risk_level", risk_level) + _setter("risk_level", risk_level) @property @pulumi.getter(name="conditionGroups") @@ -3977,10 +4671,21 @@ def __init__(__self__, *, :param str compartment_id: (Updatable) compartment associated with condition :param str condition: (Updatable) Base condition object """ + TargetTargetDetectorRecipeEffectiveDetectorRuleDetailConditionGroup._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + condition=condition, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[str] = None, + condition: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if condition is not None: - pulumi.set(__self__, "condition", condition) + _setter("condition", condition) @property @pulumi.getter(name="compartmentId") @@ -4033,16 +4738,33 @@ def __init__(__self__, *, :param str value: (Updatable) configuration value :param Sequence['TargetTargetDetectorRecipeEffectiveDetectorRuleDetailConfigurationValueArgs'] values: List of configuration values """ + TargetTargetDetectorRecipeEffectiveDetectorRuleDetailConfiguration._configure( + lambda key, value: pulumi.set(__self__, key, value), + config_key=config_key, + data_type=data_type, + name=name, + value=value, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + config_key: Optional[str] = None, + data_type: Optional[str] = None, + name: Optional[str] = None, + value: Optional[str] = None, + values: Optional[Sequence['outputs.TargetTargetDetectorRecipeEffectiveDetectorRuleDetailConfigurationValue']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if config_key is not None: - pulumi.set(__self__, "config_key", config_key) + _setter("config_key", config_key) if data_type is not None: - pulumi.set(__self__, "data_type", data_type) + _setter("data_type", data_type) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) if values is not None: - pulumi.set(__self__, "values", values) + _setter("values", values) @property @pulumi.getter(name="configKey") @@ -4115,12 +4837,25 @@ def __init__(__self__, *, :param str managed_list_type: type of the managed list :param str value: (Updatable) configuration value """ + TargetTargetDetectorRecipeEffectiveDetectorRuleDetailConfigurationValue._configure( + lambda key, value: pulumi.set(__self__, key, value), + list_type=list_type, + managed_list_type=managed_list_type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + list_type: Optional[str] = None, + managed_list_type: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if list_type is not None: - pulumi.set(__self__, "list_type", list_type) + _setter("list_type", list_type) if managed_list_type is not None: - pulumi.set(__self__, "managed_list_type", managed_list_type) + _setter("managed_list_type", managed_list_type) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter(name="listType") @@ -4181,12 +4916,25 @@ def __init__(__self__, *, :param str entity_type: Possible type of entity :param str query_field: The entity value mapped to a data source query """ + TargetTargetDetectorRecipeEffectiveDetectorRuleEntitiesMapping._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + entity_type=entity_type, + query_field=query_field, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: Optional[str] = None, + entity_type: Optional[str] = None, + query_field: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if entity_type is not None: - pulumi.set(__self__, "entity_type", entity_type) + _setter("entity_type", entity_type) if query_field is not None: - pulumi.set(__self__, "query_field", query_field) + _setter("query_field", query_field) @property @pulumi.getter(name="displayName") @@ -4273,25 +5021,52 @@ def __init__(__self__, *, :param str time_created: The date and time the target was created. Format defined by RFC3339. :param str time_updated: The date and time the target was updated. Format defined by RFC3339. """ - pulumi.set(__self__, "responder_recipe_id", responder_recipe_id) + TargetTargetResponderRecipe._configure( + lambda key, value: pulumi.set(__self__, key, value), + responder_recipe_id=responder_recipe_id, + compartment_id=compartment_id, + description=description, + display_name=display_name, + effective_responder_rules=effective_responder_rules, + id=id, + owner=owner, + responder_rules=responder_rules, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + responder_recipe_id: str, + compartment_id: Optional[str] = None, + description: Optional[str] = None, + display_name: Optional[str] = None, + effective_responder_rules: Optional[Sequence['outputs.TargetTargetResponderRecipeEffectiveResponderRule']] = None, + id: Optional[str] = None, + owner: Optional[str] = None, + responder_rules: Optional[Sequence['outputs.TargetTargetResponderRecipeResponderRule']] = None, + time_created: Optional[str] = None, + time_updated: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("responder_recipe_id", responder_recipe_id) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if effective_responder_rules is not None: - pulumi.set(__self__, "effective_responder_rules", effective_responder_rules) + _setter("effective_responder_rules", effective_responder_rules) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if owner is not None: - pulumi.set(__self__, "owner", owner) + _setter("owner", owner) if responder_rules is not None: - pulumi.set(__self__, "responder_rules", responder_rules) + _setter("responder_rules", responder_rules) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="responderRecipeId") @@ -4444,30 +5219,61 @@ def __init__(__self__, *, :param str time_updated: The date and time the target was updated. Format defined by RFC3339. :param str type: Type of Responder """ + TargetTargetResponderRecipeEffectiveResponderRule._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + description=description, + details=details, + display_name=display_name, + lifecycle_details=lifecycle_details, + policies=policies, + responder_rule_id=responder_rule_id, + state=state, + supported_modes=supported_modes, + time_created=time_created, + time_updated=time_updated, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[str] = None, + description: Optional[str] = None, + details: Optional[Sequence['outputs.TargetTargetResponderRecipeEffectiveResponderRuleDetail']] = None, + display_name: Optional[str] = None, + lifecycle_details: Optional[str] = None, + policies: Optional[Sequence[str]] = None, + responder_rule_id: Optional[str] = None, + state: Optional[str] = None, + supported_modes: Optional[Sequence[str]] = None, + time_created: Optional[str] = None, + time_updated: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if details is not None: - pulumi.set(__self__, "details", details) + _setter("details", details) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if policies is not None: - pulumi.set(__self__, "policies", policies) + _setter("policies", policies) if responder_rule_id is not None: - pulumi.set(__self__, "responder_rule_id", responder_rule_id) + _setter("responder_rule_id", responder_rule_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if supported_modes is not None: - pulumi.set(__self__, "supported_modes", supported_modes) + _setter("supported_modes", supported_modes) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter(name="compartmentId") @@ -4604,14 +5410,29 @@ def __init__(__self__, *, :param bool is_enabled: Identifies state for ResponderRule :param str mode: (Updatable) Execution Mode for ResponderRule """ + TargetTargetResponderRecipeEffectiveResponderRuleDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + condition=condition, + configurations=configurations, + is_enabled=is_enabled, + mode=mode, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + condition: Optional[str] = None, + configurations: Optional[Sequence['outputs.TargetTargetResponderRecipeEffectiveResponderRuleDetailConfiguration']] = None, + is_enabled: Optional[bool] = None, + mode: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if condition is not None: - pulumi.set(__self__, "condition", condition) + _setter("condition", condition) if configurations is not None: - pulumi.set(__self__, "configurations", configurations) + _setter("configurations", configurations) if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) if mode is not None: - pulumi.set(__self__, "mode", mode) + _setter("mode", mode) @property @pulumi.getter @@ -4674,12 +5495,25 @@ def __init__(__self__, *, :param str name: (Updatable) configuration name :param str value: (Updatable) configuration value """ + TargetTargetResponderRecipeEffectiveResponderRuleDetailConfiguration._configure( + lambda key, value: pulumi.set(__self__, key, value), + config_key=config_key, + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + config_key: Optional[str] = None, + name: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if config_key is not None: - pulumi.set(__self__, "config_key", config_key) + _setter("config_key", config_key) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter(name="configKey") @@ -4772,28 +5606,59 @@ def __init__(__self__, *, :param str time_updated: The date and time the target was updated. Format defined by RFC3339. :param str type: Type of Responder """ - pulumi.set(__self__, "details", details) - pulumi.set(__self__, "responder_rule_id", responder_rule_id) + TargetTargetResponderRecipeResponderRule._configure( + lambda key, value: pulumi.set(__self__, key, value), + details=details, + responder_rule_id=responder_rule_id, + compartment_id=compartment_id, + description=description, + display_name=display_name, + lifecycle_details=lifecycle_details, + policies=policies, + state=state, + supported_modes=supported_modes, + time_created=time_created, + time_updated=time_updated, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + details: 'outputs.TargetTargetResponderRecipeResponderRuleDetails', + responder_rule_id: str, + compartment_id: Optional[str] = None, + description: Optional[str] = None, + display_name: Optional[str] = None, + lifecycle_details: Optional[str] = None, + policies: Optional[Sequence[str]] = None, + state: Optional[str] = None, + supported_modes: Optional[Sequence[str]] = None, + time_created: Optional[str] = None, + time_updated: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("details", details) + _setter("responder_rule_id", responder_rule_id) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if policies is not None: - pulumi.set(__self__, "policies", policies) + _setter("policies", policies) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if supported_modes is not None: - pulumi.set(__self__, "supported_modes", supported_modes) + _setter("supported_modes", supported_modes) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -4930,14 +5795,29 @@ def __init__(__self__, *, :param bool is_enabled: Identifies state for ResponderRule :param str mode: (Updatable) Execution Mode for ResponderRule """ + TargetTargetResponderRecipeResponderRuleDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + condition=condition, + configurations=configurations, + is_enabled=is_enabled, + mode=mode, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + condition: Optional[str] = None, + configurations: Optional[Sequence['outputs.TargetTargetResponderRecipeResponderRuleDetailsConfiguration']] = None, + is_enabled: Optional[bool] = None, + mode: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if condition is not None: - pulumi.set(__self__, "condition", condition) + _setter("condition", condition) if configurations is not None: - pulumi.set(__self__, "configurations", configurations) + _setter("configurations", configurations) if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) if mode is not None: - pulumi.set(__self__, "mode", mode) + _setter("mode", mode) @property @pulumi.getter @@ -5000,9 +5880,22 @@ def __init__(__self__, *, :param str name: (Updatable) configuration name :param str value: (Updatable) configuration value """ - pulumi.set(__self__, "config_key", config_key) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + TargetTargetResponderRecipeResponderRuleDetailsConfiguration._configure( + lambda key, value: pulumi.set(__self__, key, value), + config_key=config_key, + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + config_key: str, + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("config_key", config_key) + _setter("name", name) + _setter("value", value) @property @pulumi.getter(name="configKey") @@ -5038,8 +5931,19 @@ def __init__(__self__, *, :param str kind: Target selection. :param Sequence[str] values: Types of Targets """ - pulumi.set(__self__, "kind", kind) - pulumi.set(__self__, "values", values) + GetDataMaskRuleTargetSelectedResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + kind=kind, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + kind: str, + values: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("kind", kind) + _setter("values", values) @property @pulumi.getter @@ -5062,7 +5966,16 @@ def values(self) -> Sequence[str]: class GetDataMaskRulesDataMaskRuleCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetDataMaskRulesDataMaskRuleCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetDataMaskRulesDataMaskRuleCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDataMaskRulesDataMaskRuleCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -5105,21 +6018,58 @@ def __init__(__self__, *, :param str time_created: The date and time the target was created. Format defined by RFC3339. :param str time_updated: The date and time the target was updated. Format defined by RFC3339. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "data_mask_categories", data_mask_categories) - pulumi.set(__self__, "data_mask_rule_status", data_mask_rule_status) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "iam_group_id", iam_group_id) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecyle_details", lifecyle_details) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "target_selecteds", target_selecteds) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetDataMaskRulesDataMaskRuleCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + data_mask_categories=data_mask_categories, + data_mask_rule_status=data_mask_rule_status, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + iam_group_id=iam_group_id, + id=id, + lifecyle_details=lifecyle_details, + state=state, + system_tags=system_tags, + target_selecteds=target_selecteds, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + data_mask_categories: Sequence[str], + data_mask_rule_status: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + iam_group_id: str, + id: str, + lifecyle_details: str, + state: str, + system_tags: Mapping[str, Any], + target_selecteds: Sequence['outputs.GetDataMaskRulesDataMaskRuleCollectionItemTargetSelectedResult'], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("data_mask_categories", data_mask_categories) + _setter("data_mask_rule_status", data_mask_rule_status) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("iam_group_id", iam_group_id) + _setter("id", id) + _setter("lifecyle_details", lifecyle_details) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("target_selecteds", target_selecteds) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -5251,8 +6201,19 @@ def __init__(__self__, *, :param str kind: Target selection. :param Sequence[str] values: Types of Targets """ - pulumi.set(__self__, "kind", kind) - pulumi.set(__self__, "values", values) + GetDataMaskRulesDataMaskRuleCollectionItemTargetSelectedResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + kind=kind, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + kind: str, + values: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("kind", kind) + _setter("values", values) @property @pulumi.getter @@ -5280,10 +6241,23 @@ def __init__(__self__, *, """ :param Sequence[str] values: Types of Targets """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDataMaskRulesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5329,16 +6303,43 @@ def __init__(__self__, *, :param Sequence[str] regions: Logging Query regions :param int threshold: The integer value that must be exceeded, fall below or equal to (depending on the operator), the query result to trigger an event. """ - pulumi.set(__self__, "additional_entities_count", additional_entities_count) - pulumi.set(__self__, "data_source_feed_provider", data_source_feed_provider) - pulumi.set(__self__, "interval_in_minutes", interval_in_minutes) - pulumi.set(__self__, "logging_query_details", logging_query_details) - pulumi.set(__self__, "logging_query_type", logging_query_type) - pulumi.set(__self__, "operator", operator) - pulumi.set(__self__, "query", query) - pulumi.set(__self__, "query_start_times", query_start_times) - pulumi.set(__self__, "regions", regions) - pulumi.set(__self__, "threshold", threshold) + GetDataSourceDataSourceDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + additional_entities_count=additional_entities_count, + data_source_feed_provider=data_source_feed_provider, + interval_in_minutes=interval_in_minutes, + logging_query_details=logging_query_details, + logging_query_type=logging_query_type, + operator=operator, + query=query, + query_start_times=query_start_times, + regions=regions, + threshold=threshold, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + additional_entities_count: int, + data_source_feed_provider: str, + interval_in_minutes: int, + logging_query_details: Sequence['outputs.GetDataSourceDataSourceDetailLoggingQueryDetailResult'], + logging_query_type: str, + operator: str, + query: str, + query_start_times: Sequence['outputs.GetDataSourceDataSourceDetailQueryStartTimeResult'], + regions: Sequence[str], + threshold: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("additional_entities_count", additional_entities_count) + _setter("data_source_feed_provider", data_source_feed_provider) + _setter("interval_in_minutes", interval_in_minutes) + _setter("logging_query_details", logging_query_details) + _setter("logging_query_type", logging_query_type) + _setter("operator", operator) + _setter("query", query) + _setter("query_start_times", query_start_times) + _setter("regions", regions) + _setter("threshold", threshold) @property @pulumi.getter(name="additionalEntitiesCount") @@ -5430,8 +6431,19 @@ def __init__(__self__, *, :param int key_entities_count: The key entities count used for data source query :param str logging_query_type: Logging query type for data source (Sighting/Insight) """ - pulumi.set(__self__, "key_entities_count", key_entities_count) - pulumi.set(__self__, "logging_query_type", logging_query_type) + GetDataSourceDataSourceDetailLoggingQueryDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key_entities_count=key_entities_count, + logging_query_type=logging_query_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key_entities_count: int, + logging_query_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key_entities_count", key_entities_count) + _setter("logging_query_type", logging_query_type) @property @pulumi.getter(name="keyEntitiesCount") @@ -5459,8 +6471,19 @@ def __init__(__self__, *, :param str query_start_time: Time when the query can start, if not specified it can start immediately. :param str start_policy_type: policy used for deciding the query start time """ - pulumi.set(__self__, "query_start_time", query_start_time) - pulumi.set(__self__, "start_policy_type", start_policy_type) + GetDataSourceDataSourceDetailQueryStartTimeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + query_start_time=query_start_time, + start_policy_type=start_policy_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + query_start_time: str, + start_policy_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("query_start_time", query_start_time) + _setter("start_policy_type", start_policy_type) @property @pulumi.getter(name="queryStartTime") @@ -5488,8 +6511,19 @@ def __init__(__self__, *, :param str detector_recipe_id: Id of the attached detectorRecipeId to the Data Source. :param str detector_rule_id: Id of the attached detectorRuleId to the Data Source. """ - pulumi.set(__self__, "detector_recipe_id", detector_recipe_id) - pulumi.set(__self__, "detector_rule_id", detector_rule_id) + GetDataSourceDataSourceDetectorMappingInfoResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + detector_recipe_id=detector_recipe_id, + detector_rule_id=detector_rule_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + detector_recipe_id: str, + detector_rule_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("detector_recipe_id", detector_recipe_id) + _setter("detector_rule_id", detector_rule_id) @property @pulumi.getter(name="detectorRecipeId") @@ -5527,13 +6561,34 @@ def __init__(__self__, *, :param str status: Current data source event info status :param str time_created: Data source event created time """ - pulumi.set(__self__, "comments", comments) - pulumi.set(__self__, "data_source_id", data_source_id) - pulumi.set(__self__, "event_date", event_date) - pulumi.set(__self__, "event_infos", event_infos) - pulumi.set(__self__, "region", region) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "time_created", time_created) + GetDataSourceEventItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + comments=comments, + data_source_id=data_source_id, + event_date=event_date, + event_infos=event_infos, + region=region, + status=status, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + comments: str, + data_source_id: str, + event_date: str, + event_infos: Sequence['outputs.GetDataSourceEventItemEventInfoResult'], + region: str, + status: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("comments", comments) + _setter("data_source_id", data_source_id) + _setter("event_date", event_date) + _setter("event_infos", event_infos) + _setter("region", region) + _setter("status", status) + _setter("time_created", time_created) @property @pulumi.getter @@ -5603,11 +6658,28 @@ def __init__(__self__, *, """ :param str data_source_feed_provider: Possible type of dataSourceFeed Provider(LoggingQuery) """ - pulumi.set(__self__, "data_source_feed_provider", data_source_feed_provider) - pulumi.set(__self__, "log_result", log_result) - pulumi.set(__self__, "observed_value", observed_value) - pulumi.set(__self__, "operator", operator) - pulumi.set(__self__, "trigger_value", trigger_value) + GetDataSourceEventItemEventInfoResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + data_source_feed_provider=data_source_feed_provider, + log_result=log_result, + observed_value=observed_value, + operator=operator, + trigger_value=trigger_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + data_source_feed_provider: str, + log_result: str, + observed_value: str, + operator: str, + trigger_value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("data_source_feed_provider", data_source_feed_provider) + _setter("log_result", log_result) + _setter("observed_value", observed_value) + _setter("operator", operator) + _setter("trigger_value", trigger_value) @property @pulumi.getter(name="dataSourceFeedProvider") @@ -5645,7 +6717,16 @@ def __init__(__self__, *, """ :param Sequence['GetDataSourceEventsDataSourceEventCollectionItemArgs'] items: List of event related to a DataSource """ - pulumi.set(__self__, "items", items) + GetDataSourceEventsDataSourceEventCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDataSourceEventsDataSourceEventCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -5675,13 +6756,34 @@ def __init__(__self__, *, :param str status: Current data source event info status :param str time_created: Data source event created time """ - pulumi.set(__self__, "comments", comments) - pulumi.set(__self__, "data_source_id", data_source_id) - pulumi.set(__self__, "event_date", event_date) - pulumi.set(__self__, "event_infos", event_infos) - pulumi.set(__self__, "region", region) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "time_created", time_created) + GetDataSourceEventsDataSourceEventCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + comments=comments, + data_source_id=data_source_id, + event_date=event_date, + event_infos=event_infos, + region=region, + status=status, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + comments: str, + data_source_id: str, + event_date: str, + event_infos: Sequence['outputs.GetDataSourceEventsDataSourceEventCollectionItemEventInfoResult'], + region: str, + status: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("comments", comments) + _setter("data_source_id", data_source_id) + _setter("event_date", event_date) + _setter("event_infos", event_infos) + _setter("region", region) + _setter("status", status) + _setter("time_created", time_created) @property @pulumi.getter @@ -5751,11 +6853,28 @@ def __init__(__self__, *, """ :param str data_source_feed_provider: Possible type of dataSourceFeed Provider(LoggingQuery) """ - pulumi.set(__self__, "data_source_feed_provider", data_source_feed_provider) - pulumi.set(__self__, "log_result", log_result) - pulumi.set(__self__, "observed_value", observed_value) - pulumi.set(__self__, "operator", operator) - pulumi.set(__self__, "trigger_value", trigger_value) + GetDataSourceEventsDataSourceEventCollectionItemEventInfoResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + data_source_feed_provider=data_source_feed_provider, + log_result=log_result, + observed_value=observed_value, + operator=operator, + trigger_value=trigger_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + data_source_feed_provider: str, + log_result: str, + observed_value: str, + operator: str, + trigger_value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("data_source_feed_provider", data_source_feed_provider) + _setter("log_result", log_result) + _setter("observed_value", observed_value) + _setter("operator", operator) + _setter("trigger_value", trigger_value) @property @pulumi.getter(name="dataSourceFeedProvider") @@ -5792,10 +6911,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDataSourceEventsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5822,8 +6954,19 @@ def __init__(__self__, *, :param str region: Data Source replication region. :param str status: Status of data Source """ - pulumi.set(__self__, "region", region) - pulumi.set(__self__, "status", status) + GetDataSourceRegionStatusDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + region=region, + status=status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + region: str, + status: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("region", region) + _setter("status", status) @property @pulumi.getter @@ -5846,7 +6989,16 @@ def status(self) -> str: class GetDataSourcesDataSourceCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetDataSourcesDataSourceCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetDataSourcesDataSourceCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDataSourcesDataSourceCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -5887,20 +7039,55 @@ def __init__(__self__, *, :param str time_created: The date and time the Data source was created. Format defined by RFC3339. :param str time_updated: The date and time the Data source was updated. Format defined by RFC3339. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "data_source_details", data_source_details) - pulumi.set(__self__, "data_source_detector_mapping_infos", data_source_detector_mapping_infos) - pulumi.set(__self__, "data_source_feed_provider", data_source_feed_provider) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "region_status_details", region_status_details) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetDataSourcesDataSourceCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + data_source_details=data_source_details, + data_source_detector_mapping_infos=data_source_detector_mapping_infos, + data_source_feed_provider=data_source_feed_provider, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + region_status_details=region_status_details, + state=state, + status=status, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + data_source_details: Sequence['outputs.GetDataSourcesDataSourceCollectionItemDataSourceDetailResult'], + data_source_detector_mapping_infos: Sequence['outputs.GetDataSourcesDataSourceCollectionItemDataSourceDetectorMappingInfoResult'], + data_source_feed_provider: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + region_status_details: Sequence['outputs.GetDataSourcesDataSourceCollectionItemRegionStatusDetailResult'], + state: str, + status: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("data_source_details", data_source_details) + _setter("data_source_detector_mapping_infos", data_source_detector_mapping_infos) + _setter("data_source_feed_provider", data_source_feed_provider) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("region_status_details", region_status_details) + _setter("state", state) + _setter("status", status) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -6040,16 +7227,43 @@ def __init__(__self__, *, :param Sequence[str] regions: Logging Query regions :param int threshold: The integer value that must be exceeded, fall below or equal to (depending on the operator), the query result to trigger an event. """ - pulumi.set(__self__, "additional_entities_count", additional_entities_count) - pulumi.set(__self__, "data_source_feed_provider", data_source_feed_provider) - pulumi.set(__self__, "interval_in_minutes", interval_in_minutes) - pulumi.set(__self__, "logging_query_details", logging_query_details) - pulumi.set(__self__, "logging_query_type", logging_query_type) - pulumi.set(__self__, "operator", operator) - pulumi.set(__self__, "query", query) - pulumi.set(__self__, "query_start_times", query_start_times) - pulumi.set(__self__, "regions", regions) - pulumi.set(__self__, "threshold", threshold) + GetDataSourcesDataSourceCollectionItemDataSourceDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + additional_entities_count=additional_entities_count, + data_source_feed_provider=data_source_feed_provider, + interval_in_minutes=interval_in_minutes, + logging_query_details=logging_query_details, + logging_query_type=logging_query_type, + operator=operator, + query=query, + query_start_times=query_start_times, + regions=regions, + threshold=threshold, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + additional_entities_count: int, + data_source_feed_provider: str, + interval_in_minutes: int, + logging_query_details: Sequence['outputs.GetDataSourcesDataSourceCollectionItemDataSourceDetailLoggingQueryDetailResult'], + logging_query_type: str, + operator: str, + query: str, + query_start_times: Sequence['outputs.GetDataSourcesDataSourceCollectionItemDataSourceDetailQueryStartTimeResult'], + regions: Sequence[str], + threshold: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("additional_entities_count", additional_entities_count) + _setter("data_source_feed_provider", data_source_feed_provider) + _setter("interval_in_minutes", interval_in_minutes) + _setter("logging_query_details", logging_query_details) + _setter("logging_query_type", logging_query_type) + _setter("operator", operator) + _setter("query", query) + _setter("query_start_times", query_start_times) + _setter("regions", regions) + _setter("threshold", threshold) @property @pulumi.getter(name="additionalEntitiesCount") @@ -6141,8 +7355,19 @@ def __init__(__self__, *, :param int key_entities_count: The key entities count used for data source query :param str logging_query_type: A filter to return only resources their query type matches the given LoggingQueryType. """ - pulumi.set(__self__, "key_entities_count", key_entities_count) - pulumi.set(__self__, "logging_query_type", logging_query_type) + GetDataSourcesDataSourceCollectionItemDataSourceDetailLoggingQueryDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key_entities_count=key_entities_count, + logging_query_type=logging_query_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key_entities_count: int, + logging_query_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key_entities_count", key_entities_count) + _setter("logging_query_type", logging_query_type) @property @pulumi.getter(name="keyEntitiesCount") @@ -6170,8 +7395,19 @@ def __init__(__self__, *, :param str query_start_time: Time when the query can start, if not specified it can start immediately. :param str start_policy_type: policy used for deciding the query start time """ - pulumi.set(__self__, "query_start_time", query_start_time) - pulumi.set(__self__, "start_policy_type", start_policy_type) + GetDataSourcesDataSourceCollectionItemDataSourceDetailQueryStartTimeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + query_start_time=query_start_time, + start_policy_type=start_policy_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + query_start_time: str, + start_policy_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("query_start_time", query_start_time) + _setter("start_policy_type", start_policy_type) @property @pulumi.getter(name="queryStartTime") @@ -6199,8 +7435,19 @@ def __init__(__self__, *, :param str detector_recipe_id: Id of the attached detectorRecipeId to the Data Source. :param str detector_rule_id: Id of the attached detectorRuleId to the Data Source. """ - pulumi.set(__self__, "detector_recipe_id", detector_recipe_id) - pulumi.set(__self__, "detector_rule_id", detector_rule_id) + GetDataSourcesDataSourceCollectionItemDataSourceDetectorMappingInfoResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + detector_recipe_id=detector_recipe_id, + detector_rule_id=detector_rule_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + detector_recipe_id: str, + detector_rule_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("detector_recipe_id", detector_recipe_id) + _setter("detector_rule_id", detector_rule_id) @property @pulumi.getter(name="detectorRecipeId") @@ -6228,8 +7475,19 @@ def __init__(__self__, *, :param str region: Data Source replication region. :param str status: Status of data Source """ - pulumi.set(__self__, "region", region) - pulumi.set(__self__, "status", status) + GetDataSourcesDataSourceCollectionItemRegionStatusDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + region=region, + status=status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + region: str, + status: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("region", region) + _setter("status", status) @property @pulumi.getter @@ -6254,10 +7512,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDataSourcesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -6312,22 +7583,61 @@ def __init__(__self__, *, :param str time_created: The date and time the detector recipe was created. Format defined by RFC3339. :param str time_updated: The date and time the detector recipe was updated. Format defined by RFC3339. """ - pulumi.set(__self__, "candidate_responder_rules", candidate_responder_rules) - pulumi.set(__self__, "data_source_id", data_source_id) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "details", details) - pulumi.set(__self__, "detector", detector) - pulumi.set(__self__, "detector_rule_id", detector_rule_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "entities_mappings", entities_mappings) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "managed_list_types", managed_list_types) - pulumi.set(__self__, "recommendation", recommendation) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "service_type", service_type) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetDetectorRecipeDetectorRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + candidate_responder_rules=candidate_responder_rules, + data_source_id=data_source_id, + description=description, + details=details, + detector=detector, + detector_rule_id=detector_rule_id, + display_name=display_name, + entities_mappings=entities_mappings, + lifecycle_details=lifecycle_details, + managed_list_types=managed_list_types, + recommendation=recommendation, + resource_type=resource_type, + service_type=service_type, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + candidate_responder_rules: Sequence['outputs.GetDetectorRecipeDetectorRuleCandidateResponderRuleResult'], + data_source_id: str, + description: str, + details: Sequence['outputs.GetDetectorRecipeDetectorRuleDetailResult'], + detector: str, + detector_rule_id: str, + display_name: str, + entities_mappings: Sequence['outputs.GetDetectorRecipeDetectorRuleEntitiesMappingResult'], + lifecycle_details: str, + managed_list_types: Sequence[str], + recommendation: str, + resource_type: str, + service_type: str, + state: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("candidate_responder_rules", candidate_responder_rules) + _setter("data_source_id", data_source_id) + _setter("description", description) + _setter("details", details) + _setter("detector", detector) + _setter("detector_rule_id", detector_rule_id) + _setter("display_name", display_name) + _setter("entities_mappings", entities_mappings) + _setter("lifecycle_details", lifecycle_details) + _setter("managed_list_types", managed_list_types) + _setter("recommendation", recommendation) + _setter("resource_type", resource_type) + _setter("service_type", service_type) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="candidateResponderRules") @@ -6469,9 +7779,22 @@ def __init__(__self__, *, :param str id: Ocid for detector recipe :param bool is_preferred: Preferred state """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_preferred", is_preferred) + GetDetectorRecipeDetectorRuleCandidateResponderRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + id=id, + is_preferred=is_preferred, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + id: str, + is_preferred: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("id", id) + _setter("is_preferred", is_preferred) @property @pulumi.getter(name="displayName") @@ -6523,16 +7846,43 @@ def __init__(__self__, *, :param str recommendation: Recommendation for DetectorRecipeDetectorRule :param str risk_level: The Risk Level """ - pulumi.set(__self__, "condition", condition) - pulumi.set(__self__, "configurations", configurations) - pulumi.set(__self__, "data_source_id", data_source_id) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "entities_mappings", entities_mappings) - pulumi.set(__self__, "is_configuration_allowed", is_configuration_allowed) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "labels", labels) - pulumi.set(__self__, "recommendation", recommendation) - pulumi.set(__self__, "risk_level", risk_level) + GetDetectorRecipeDetectorRuleDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + condition=condition, + configurations=configurations, + data_source_id=data_source_id, + description=description, + entities_mappings=entities_mappings, + is_configuration_allowed=is_configuration_allowed, + is_enabled=is_enabled, + labels=labels, + recommendation=recommendation, + risk_level=risk_level, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + condition: str, + configurations: Sequence['outputs.GetDetectorRecipeDetectorRuleDetailConfigurationResult'], + data_source_id: str, + description: str, + entities_mappings: Sequence['outputs.GetDetectorRecipeDetectorRuleDetailEntitiesMappingResult'], + is_configuration_allowed: bool, + is_enabled: bool, + labels: Sequence[str], + recommendation: str, + risk_level: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("condition", condition) + _setter("configurations", configurations) + _setter("data_source_id", data_source_id) + _setter("description", description) + _setter("entities_mappings", entities_mappings) + _setter("is_configuration_allowed", is_configuration_allowed) + _setter("is_enabled", is_enabled) + _setter("labels", labels) + _setter("recommendation", recommendation) + _setter("risk_level", risk_level) @property @pulumi.getter @@ -6630,11 +7980,28 @@ def __init__(__self__, *, :param str value: configuration value :param Sequence['GetDetectorRecipeDetectorRuleDetailConfigurationValueArgs'] values: List of configuration values """ - pulumi.set(__self__, "config_key", config_key) - pulumi.set(__self__, "data_type", data_type) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) - pulumi.set(__self__, "values", values) + GetDetectorRecipeDetectorRuleDetailConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + config_key=config_key, + data_type=data_type, + name=name, + value=value, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + config_key: str, + data_type: str, + name: str, + value: str, + values: Sequence['outputs.GetDetectorRecipeDetectorRuleDetailConfigurationValueResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("config_key", config_key) + _setter("data_type", data_type) + _setter("name", name) + _setter("value", value) + _setter("values", values) @property @pulumi.getter(name="configKey") @@ -6688,9 +8055,22 @@ def __init__(__self__, *, :param str managed_list_type: type of the managed list :param str value: configuration value """ - pulumi.set(__self__, "list_type", list_type) - pulumi.set(__self__, "managed_list_type", managed_list_type) - pulumi.set(__self__, "value", value) + GetDetectorRecipeDetectorRuleDetailConfigurationValueResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + list_type=list_type, + managed_list_type=managed_list_type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + list_type: str, + managed_list_type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("list_type", list_type) + _setter("managed_list_type", managed_list_type) + _setter("value", value) @property @pulumi.getter(name="listType") @@ -6728,9 +8108,22 @@ def __init__(__self__, *, :param str entity_type: Possible type of entity :param str query_field: The entity value mapped to a data source query """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "entity_type", entity_type) - pulumi.set(__self__, "query_field", query_field) + GetDetectorRecipeDetectorRuleDetailEntitiesMappingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + entity_type=entity_type, + query_field=query_field, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + entity_type: str, + query_field: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("entity_type", entity_type) + _setter("query_field", query_field) @property @pulumi.getter(name="displayName") @@ -6768,9 +8161,22 @@ def __init__(__self__, *, :param str entity_type: Possible type of entity :param str query_field: The entity value mapped to a data source query """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "entity_type", entity_type) - pulumi.set(__self__, "query_field", query_field) + GetDetectorRecipeDetectorRuleEntitiesMappingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + entity_type=entity_type, + query_field=query_field, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + entity_type: str, + query_field: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("entity_type", entity_type) + _setter("query_field", query_field) @property @pulumi.getter(name="displayName") @@ -6834,22 +8240,61 @@ def __init__(__self__, *, :param str time_created: The date and time the detector recipe was created. Format defined by RFC3339. :param str time_updated: The date and time the detector recipe was updated. Format defined by RFC3339. """ - pulumi.set(__self__, "candidate_responder_rules", candidate_responder_rules) - pulumi.set(__self__, "data_source_id", data_source_id) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "details", details) - pulumi.set(__self__, "detector", detector) - pulumi.set(__self__, "detector_rule_id", detector_rule_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "entities_mappings", entities_mappings) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "managed_list_types", managed_list_types) - pulumi.set(__self__, "recommendation", recommendation) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "service_type", service_type) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetDetectorRecipeEffectiveDetectorRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + candidate_responder_rules=candidate_responder_rules, + data_source_id=data_source_id, + description=description, + details=details, + detector=detector, + detector_rule_id=detector_rule_id, + display_name=display_name, + entities_mappings=entities_mappings, + lifecycle_details=lifecycle_details, + managed_list_types=managed_list_types, + recommendation=recommendation, + resource_type=resource_type, + service_type=service_type, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + candidate_responder_rules: Sequence['outputs.GetDetectorRecipeEffectiveDetectorRuleCandidateResponderRuleResult'], + data_source_id: str, + description: str, + details: Sequence['outputs.GetDetectorRecipeEffectiveDetectorRuleDetailResult'], + detector: str, + detector_rule_id: str, + display_name: str, + entities_mappings: Sequence['outputs.GetDetectorRecipeEffectiveDetectorRuleEntitiesMappingResult'], + lifecycle_details: str, + managed_list_types: Sequence[str], + recommendation: str, + resource_type: str, + service_type: str, + state: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("candidate_responder_rules", candidate_responder_rules) + _setter("data_source_id", data_source_id) + _setter("description", description) + _setter("details", details) + _setter("detector", detector) + _setter("detector_rule_id", detector_rule_id) + _setter("display_name", display_name) + _setter("entities_mappings", entities_mappings) + _setter("lifecycle_details", lifecycle_details) + _setter("managed_list_types", managed_list_types) + _setter("recommendation", recommendation) + _setter("resource_type", resource_type) + _setter("service_type", service_type) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="candidateResponderRules") @@ -6991,9 +8436,22 @@ def __init__(__self__, *, :param str id: Ocid for detector recipe :param bool is_preferred: Preferred state """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_preferred", is_preferred) + GetDetectorRecipeEffectiveDetectorRuleCandidateResponderRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + id=id, + is_preferred=is_preferred, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + id: str, + is_preferred: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("id", id) + _setter("is_preferred", is_preferred) @property @pulumi.getter(name="displayName") @@ -7037,12 +8495,31 @@ def __init__(__self__, *, :param Sequence[str] labels: user defined labels for a detector rule :param str risk_level: The Risk Level """ - pulumi.set(__self__, "condition", condition) - pulumi.set(__self__, "configurations", configurations) - pulumi.set(__self__, "is_configuration_allowed", is_configuration_allowed) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "labels", labels) - pulumi.set(__self__, "risk_level", risk_level) + GetDetectorRecipeEffectiveDetectorRuleDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + condition=condition, + configurations=configurations, + is_configuration_allowed=is_configuration_allowed, + is_enabled=is_enabled, + labels=labels, + risk_level=risk_level, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + condition: str, + configurations: Sequence['outputs.GetDetectorRecipeEffectiveDetectorRuleDetailConfigurationResult'], + is_configuration_allowed: bool, + is_enabled: bool, + labels: Sequence[str], + risk_level: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("condition", condition) + _setter("configurations", configurations) + _setter("is_configuration_allowed", is_configuration_allowed) + _setter("is_enabled", is_enabled) + _setter("labels", labels) + _setter("risk_level", risk_level) @property @pulumi.getter @@ -7108,11 +8585,28 @@ def __init__(__self__, *, :param str value: configuration value :param Sequence['GetDetectorRecipeEffectiveDetectorRuleDetailConfigurationValueArgs'] values: List of configuration values """ - pulumi.set(__self__, "config_key", config_key) - pulumi.set(__self__, "data_type", data_type) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) - pulumi.set(__self__, "values", values) + GetDetectorRecipeEffectiveDetectorRuleDetailConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + config_key=config_key, + data_type=data_type, + name=name, + value=value, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + config_key: str, + data_type: str, + name: str, + value: str, + values: Sequence['outputs.GetDetectorRecipeEffectiveDetectorRuleDetailConfigurationValueResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("config_key", config_key) + _setter("data_type", data_type) + _setter("name", name) + _setter("value", value) + _setter("values", values) @property @pulumi.getter(name="configKey") @@ -7166,9 +8660,22 @@ def __init__(__self__, *, :param str managed_list_type: type of the managed list :param str value: configuration value """ - pulumi.set(__self__, "list_type", list_type) - pulumi.set(__self__, "managed_list_type", managed_list_type) - pulumi.set(__self__, "value", value) + GetDetectorRecipeEffectiveDetectorRuleDetailConfigurationValueResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + list_type=list_type, + managed_list_type=managed_list_type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + list_type: str, + managed_list_type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("list_type", list_type) + _setter("managed_list_type", managed_list_type) + _setter("value", value) @property @pulumi.getter(name="listType") @@ -7206,9 +8713,22 @@ def __init__(__self__, *, :param str entity_type: Possible type of entity :param str query_field: The entity value mapped to a data source query """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "entity_type", entity_type) - pulumi.set(__self__, "query_field", query_field) + GetDetectorRecipeEffectiveDetectorRuleEntitiesMappingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + entity_type=entity_type, + query_field=query_field, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + entity_type: str, + query_field: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("entity_type", entity_type) + _setter("query_field", query_field) @property @pulumi.getter(name="displayName") @@ -7239,7 +8759,16 @@ def query_field(self) -> str: class GetDetectorRecipesDetectorRecipeCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetDetectorRecipesDetectorRecipeCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetDetectorRecipesDetectorRecipeCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDetectorRecipesDetectorRecipeCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -7284,22 +8813,61 @@ def __init__(__self__, *, :param str time_created: The date and time the detector recipe was created. Format defined by RFC3339. :param str time_updated: The date and time the detector recipe was updated. Format defined by RFC3339. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "detector", detector) - pulumi.set(__self__, "detector_rules", detector_rules) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "effective_detector_rules", effective_detector_rules) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "owner", owner) - pulumi.set(__self__, "source_detector_recipe_id", source_detector_recipe_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "target_ids", target_ids) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetDetectorRecipesDetectorRecipeCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + detector=detector, + detector_rules=detector_rules, + display_name=display_name, + effective_detector_rules=effective_detector_rules, + freeform_tags=freeform_tags, + id=id, + owner=owner, + source_detector_recipe_id=source_detector_recipe_id, + state=state, + system_tags=system_tags, + target_ids=target_ids, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + detector: str, + detector_rules: Sequence['outputs.GetDetectorRecipesDetectorRecipeCollectionItemDetectorRuleResult'], + display_name: str, + effective_detector_rules: Sequence['outputs.GetDetectorRecipesDetectorRecipeCollectionItemEffectiveDetectorRuleResult'], + freeform_tags: Mapping[str, Any], + id: str, + owner: str, + source_detector_recipe_id: str, + state: str, + system_tags: Mapping[str, Any], + target_ids: Sequence[str], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("detector", detector) + _setter("detector_rules", detector_rules) + _setter("display_name", display_name) + _setter("effective_detector_rules", effective_detector_rules) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("owner", owner) + _setter("source_detector_recipe_id", source_detector_recipe_id) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("target_ids", target_ids) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -7467,22 +9035,61 @@ def __init__(__self__, *, :param str time_created: The date and time the detector recipe was created. Format defined by RFC3339. :param str time_updated: The date and time the detector recipe was updated. Format defined by RFC3339. """ - pulumi.set(__self__, "candidate_responder_rules", candidate_responder_rules) - pulumi.set(__self__, "data_source_id", data_source_id) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "details", details) - pulumi.set(__self__, "detector", detector) - pulumi.set(__self__, "detector_rule_id", detector_rule_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "entities_mappings", entities_mappings) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "managed_list_types", managed_list_types) - pulumi.set(__self__, "recommendation", recommendation) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "service_type", service_type) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetDetectorRecipesDetectorRecipeCollectionItemDetectorRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + candidate_responder_rules=candidate_responder_rules, + data_source_id=data_source_id, + description=description, + details=details, + detector=detector, + detector_rule_id=detector_rule_id, + display_name=display_name, + entities_mappings=entities_mappings, + lifecycle_details=lifecycle_details, + managed_list_types=managed_list_types, + recommendation=recommendation, + resource_type=resource_type, + service_type=service_type, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + candidate_responder_rules: Sequence['outputs.GetDetectorRecipesDetectorRecipeCollectionItemDetectorRuleCandidateResponderRuleResult'], + data_source_id: str, + description: str, + details: Sequence['outputs.GetDetectorRecipesDetectorRecipeCollectionItemDetectorRuleDetailResult'], + detector: str, + detector_rule_id: str, + display_name: str, + entities_mappings: Sequence['outputs.GetDetectorRecipesDetectorRecipeCollectionItemDetectorRuleEntitiesMappingResult'], + lifecycle_details: str, + managed_list_types: Sequence[str], + recommendation: str, + resource_type: str, + service_type: str, + state: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("candidate_responder_rules", candidate_responder_rules) + _setter("data_source_id", data_source_id) + _setter("description", description) + _setter("details", details) + _setter("detector", detector) + _setter("detector_rule_id", detector_rule_id) + _setter("display_name", display_name) + _setter("entities_mappings", entities_mappings) + _setter("lifecycle_details", lifecycle_details) + _setter("managed_list_types", managed_list_types) + _setter("recommendation", recommendation) + _setter("resource_type", resource_type) + _setter("service_type", service_type) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="candidateResponderRules") @@ -7624,9 +9231,22 @@ def __init__(__self__, *, :param str id: Ocid for detector recipe :param bool is_preferred: Preferred state """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_preferred", is_preferred) + GetDetectorRecipesDetectorRecipeCollectionItemDetectorRuleCandidateResponderRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + id=id, + is_preferred=is_preferred, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + id: str, + is_preferred: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("id", id) + _setter("is_preferred", is_preferred) @property @pulumi.getter(name="displayName") @@ -7678,16 +9298,43 @@ def __init__(__self__, *, :param str recommendation: Recommendation for DetectorRecipeDetectorRule :param str risk_level: The Risk Level """ - pulumi.set(__self__, "condition", condition) - pulumi.set(__self__, "configurations", configurations) - pulumi.set(__self__, "data_source_id", data_source_id) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "entities_mappings", entities_mappings) - pulumi.set(__self__, "is_configuration_allowed", is_configuration_allowed) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "labels", labels) - pulumi.set(__self__, "recommendation", recommendation) - pulumi.set(__self__, "risk_level", risk_level) + GetDetectorRecipesDetectorRecipeCollectionItemDetectorRuleDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + condition=condition, + configurations=configurations, + data_source_id=data_source_id, + description=description, + entities_mappings=entities_mappings, + is_configuration_allowed=is_configuration_allowed, + is_enabled=is_enabled, + labels=labels, + recommendation=recommendation, + risk_level=risk_level, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + condition: str, + configurations: Sequence['outputs.GetDetectorRecipesDetectorRecipeCollectionItemDetectorRuleDetailConfigurationResult'], + data_source_id: str, + description: str, + entities_mappings: Sequence['outputs.GetDetectorRecipesDetectorRecipeCollectionItemDetectorRuleDetailEntitiesMappingResult'], + is_configuration_allowed: bool, + is_enabled: bool, + labels: Sequence[str], + recommendation: str, + risk_level: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("condition", condition) + _setter("configurations", configurations) + _setter("data_source_id", data_source_id) + _setter("description", description) + _setter("entities_mappings", entities_mappings) + _setter("is_configuration_allowed", is_configuration_allowed) + _setter("is_enabled", is_enabled) + _setter("labels", labels) + _setter("recommendation", recommendation) + _setter("risk_level", risk_level) @property @pulumi.getter @@ -7785,11 +9432,28 @@ def __init__(__self__, *, :param str value: configuration value :param Sequence['GetDetectorRecipesDetectorRecipeCollectionItemDetectorRuleDetailConfigurationValueArgs'] values: List of configuration values """ - pulumi.set(__self__, "config_key", config_key) - pulumi.set(__self__, "data_type", data_type) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) - pulumi.set(__self__, "values", values) + GetDetectorRecipesDetectorRecipeCollectionItemDetectorRuleDetailConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + config_key=config_key, + data_type=data_type, + name=name, + value=value, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + config_key: str, + data_type: str, + name: str, + value: str, + values: Sequence['outputs.GetDetectorRecipesDetectorRecipeCollectionItemDetectorRuleDetailConfigurationValueResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("config_key", config_key) + _setter("data_type", data_type) + _setter("name", name) + _setter("value", value) + _setter("values", values) @property @pulumi.getter(name="configKey") @@ -7843,9 +9507,22 @@ def __init__(__self__, *, :param str managed_list_type: type of the managed list :param str value: configuration value """ - pulumi.set(__self__, "list_type", list_type) - pulumi.set(__self__, "managed_list_type", managed_list_type) - pulumi.set(__self__, "value", value) + GetDetectorRecipesDetectorRecipeCollectionItemDetectorRuleDetailConfigurationValueResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + list_type=list_type, + managed_list_type=managed_list_type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + list_type: str, + managed_list_type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("list_type", list_type) + _setter("managed_list_type", managed_list_type) + _setter("value", value) @property @pulumi.getter(name="listType") @@ -7883,9 +9560,22 @@ def __init__(__self__, *, :param str entity_type: Possible type of entity :param str query_field: The entity value mapped to a data source query """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "entity_type", entity_type) - pulumi.set(__self__, "query_field", query_field) + GetDetectorRecipesDetectorRecipeCollectionItemDetectorRuleDetailEntitiesMappingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + entity_type=entity_type, + query_field=query_field, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + entity_type: str, + query_field: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("entity_type", entity_type) + _setter("query_field", query_field) @property @pulumi.getter(name="displayName") @@ -7923,9 +9613,22 @@ def __init__(__self__, *, :param str entity_type: Possible type of entity :param str query_field: The entity value mapped to a data source query """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "entity_type", entity_type) - pulumi.set(__self__, "query_field", query_field) + GetDetectorRecipesDetectorRecipeCollectionItemDetectorRuleEntitiesMappingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + entity_type=entity_type, + query_field=query_field, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + entity_type: str, + query_field: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("entity_type", entity_type) + _setter("query_field", query_field) @property @pulumi.getter(name="displayName") @@ -7989,22 +9692,61 @@ def __init__(__self__, *, :param str time_created: The date and time the detector recipe was created. Format defined by RFC3339. :param str time_updated: The date and time the detector recipe was updated. Format defined by RFC3339. """ - pulumi.set(__self__, "candidate_responder_rules", candidate_responder_rules) - pulumi.set(__self__, "data_source_id", data_source_id) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "details", details) - pulumi.set(__self__, "detector", detector) - pulumi.set(__self__, "detector_rule_id", detector_rule_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "entities_mappings", entities_mappings) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "managed_list_types", managed_list_types) - pulumi.set(__self__, "recommendation", recommendation) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "service_type", service_type) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetDetectorRecipesDetectorRecipeCollectionItemEffectiveDetectorRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + candidate_responder_rules=candidate_responder_rules, + data_source_id=data_source_id, + description=description, + details=details, + detector=detector, + detector_rule_id=detector_rule_id, + display_name=display_name, + entities_mappings=entities_mappings, + lifecycle_details=lifecycle_details, + managed_list_types=managed_list_types, + recommendation=recommendation, + resource_type=resource_type, + service_type=service_type, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + candidate_responder_rules: Sequence['outputs.GetDetectorRecipesDetectorRecipeCollectionItemEffectiveDetectorRuleCandidateResponderRuleResult'], + data_source_id: str, + description: str, + details: Sequence['outputs.GetDetectorRecipesDetectorRecipeCollectionItemEffectiveDetectorRuleDetailResult'], + detector: str, + detector_rule_id: str, + display_name: str, + entities_mappings: Sequence['outputs.GetDetectorRecipesDetectorRecipeCollectionItemEffectiveDetectorRuleEntitiesMappingResult'], + lifecycle_details: str, + managed_list_types: Sequence[str], + recommendation: str, + resource_type: str, + service_type: str, + state: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("candidate_responder_rules", candidate_responder_rules) + _setter("data_source_id", data_source_id) + _setter("description", description) + _setter("details", details) + _setter("detector", detector) + _setter("detector_rule_id", detector_rule_id) + _setter("display_name", display_name) + _setter("entities_mappings", entities_mappings) + _setter("lifecycle_details", lifecycle_details) + _setter("managed_list_types", managed_list_types) + _setter("recommendation", recommendation) + _setter("resource_type", resource_type) + _setter("service_type", service_type) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="candidateResponderRules") @@ -8146,9 +9888,22 @@ def __init__(__self__, *, :param str id: Ocid for detector recipe :param bool is_preferred: Preferred state """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_preferred", is_preferred) + GetDetectorRecipesDetectorRecipeCollectionItemEffectiveDetectorRuleCandidateResponderRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + id=id, + is_preferred=is_preferred, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + id: str, + is_preferred: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("id", id) + _setter("is_preferred", is_preferred) @property @pulumi.getter(name="displayName") @@ -8192,12 +9947,31 @@ def __init__(__self__, *, :param Sequence[str] labels: user defined labels for a detector rule :param str risk_level: The Risk Level """ - pulumi.set(__self__, "condition", condition) - pulumi.set(__self__, "configurations", configurations) - pulumi.set(__self__, "is_configuration_allowed", is_configuration_allowed) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "labels", labels) - pulumi.set(__self__, "risk_level", risk_level) + GetDetectorRecipesDetectorRecipeCollectionItemEffectiveDetectorRuleDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + condition=condition, + configurations=configurations, + is_configuration_allowed=is_configuration_allowed, + is_enabled=is_enabled, + labels=labels, + risk_level=risk_level, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + condition: str, + configurations: Sequence['outputs.GetDetectorRecipesDetectorRecipeCollectionItemEffectiveDetectorRuleDetailConfigurationResult'], + is_configuration_allowed: bool, + is_enabled: bool, + labels: Sequence[str], + risk_level: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("condition", condition) + _setter("configurations", configurations) + _setter("is_configuration_allowed", is_configuration_allowed) + _setter("is_enabled", is_enabled) + _setter("labels", labels) + _setter("risk_level", risk_level) @property @pulumi.getter @@ -8263,11 +10037,28 @@ def __init__(__self__, *, :param str value: configuration value :param Sequence['GetDetectorRecipesDetectorRecipeCollectionItemEffectiveDetectorRuleDetailConfigurationValueArgs'] values: List of configuration values """ - pulumi.set(__self__, "config_key", config_key) - pulumi.set(__self__, "data_type", data_type) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) - pulumi.set(__self__, "values", values) + GetDetectorRecipesDetectorRecipeCollectionItemEffectiveDetectorRuleDetailConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + config_key=config_key, + data_type=data_type, + name=name, + value=value, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + config_key: str, + data_type: str, + name: str, + value: str, + values: Sequence['outputs.GetDetectorRecipesDetectorRecipeCollectionItemEffectiveDetectorRuleDetailConfigurationValueResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("config_key", config_key) + _setter("data_type", data_type) + _setter("name", name) + _setter("value", value) + _setter("values", values) @property @pulumi.getter(name="configKey") @@ -8321,9 +10112,22 @@ def __init__(__self__, *, :param str managed_list_type: type of the managed list :param str value: configuration value """ - pulumi.set(__self__, "list_type", list_type) - pulumi.set(__self__, "managed_list_type", managed_list_type) - pulumi.set(__self__, "value", value) + GetDetectorRecipesDetectorRecipeCollectionItemEffectiveDetectorRuleDetailConfigurationValueResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + list_type=list_type, + managed_list_type=managed_list_type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + list_type: str, + managed_list_type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("list_type", list_type) + _setter("managed_list_type", managed_list_type) + _setter("value", value) @property @pulumi.getter(name="listType") @@ -8361,9 +10165,22 @@ def __init__(__self__, *, :param str entity_type: Possible type of entity :param str query_field: The entity value mapped to a data source query """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "entity_type", entity_type) - pulumi.set(__self__, "query_field", query_field) + GetDetectorRecipesDetectorRecipeCollectionItemEffectiveDetectorRuleEntitiesMappingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + entity_type=entity_type, + query_field=query_field, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + entity_type: str, + query_field: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("entity_type", entity_type) + _setter("query_field", query_field) @property @pulumi.getter(name="displayName") @@ -8400,10 +10217,23 @@ def __init__(__self__, *, :param str name: configuration name :param Sequence[str] values: List of configuration values """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDetectorRecipesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -8440,10 +10270,25 @@ def __init__(__self__, *, :param str target_resource_type: possible type of targets :param Sequence['GetGuardTargetTargetDetailTargetSecurityZoneRecipeArgs'] target_security_zone_recipes: The list of security zone recipes to associate this compartment with. """ - pulumi.set(__self__, "security_zone_display_name", security_zone_display_name) - pulumi.set(__self__, "security_zone_id", security_zone_id) - pulumi.set(__self__, "target_resource_type", target_resource_type) - pulumi.set(__self__, "target_security_zone_recipes", target_security_zone_recipes) + GetGuardTargetTargetDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + security_zone_display_name=security_zone_display_name, + security_zone_id=security_zone_id, + target_resource_type=target_resource_type, + target_security_zone_recipes=target_security_zone_recipes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + security_zone_display_name: str, + security_zone_id: str, + target_resource_type: str, + target_security_zone_recipes: Sequence['outputs.GetGuardTargetTargetDetailTargetSecurityZoneRecipeResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("security_zone_display_name", security_zone_display_name) + _setter("security_zone_id", security_zone_id) + _setter("target_resource_type", target_resource_type) + _setter("target_security_zone_recipes", target_security_zone_recipes) @property @pulumi.getter(name="securityZoneDisplayName") @@ -8509,19 +10354,52 @@ def __init__(__self__, *, :param str time_created: The date and time the target was created. Format defined by RFC3339. :param str time_updated: The date and time the target was updated. Format defined by RFC3339. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "owner", owner) - pulumi.set(__self__, "security_policies", security_policies) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetGuardTargetTargetDetailTargetSecurityZoneRecipeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + owner=owner, + security_policies=security_policies, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + owner: str, + security_policies: Sequence[str], + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("owner", owner) + _setter("security_policies", security_policies) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -8657,18 +10535,49 @@ def __init__(__self__, *, :param str time_created: The date and time the target was created. Format defined by RFC3339. :param str time_updated: The date and time the target was updated. Format defined by RFC3339. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "detector", detector) - pulumi.set(__self__, "detector_recipe_id", detector_recipe_id) - pulumi.set(__self__, "detector_rules", detector_rules) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "effective_detector_rules", effective_detector_rules) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "owner", owner) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetGuardTargetTargetDetectorRecipeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + description=description, + detector=detector, + detector_recipe_id=detector_recipe_id, + detector_rules=detector_rules, + display_name=display_name, + effective_detector_rules=effective_detector_rules, + id=id, + owner=owner, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + description: str, + detector: str, + detector_recipe_id: str, + detector_rules: Sequence['outputs.GetGuardTargetTargetDetectorRecipeDetectorRuleResult'], + display_name: str, + effective_detector_rules: Sequence['outputs.GetGuardTargetTargetDetectorRecipeEffectiveDetectorRuleResult'], + id: str, + owner: str, + state: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("description", description) + _setter("detector", detector) + _setter("detector_recipe_id", detector_recipe_id) + _setter("detector_rules", detector_rules) + _setter("display_name", display_name) + _setter("effective_detector_rules", effective_detector_rules) + _setter("id", id) + _setter("owner", owner) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -8802,21 +10711,58 @@ def __init__(__self__, *, :param str time_created: The date and time the target was created. Format defined by RFC3339. :param str time_updated: The date and time the target was updated. Format defined by RFC3339. """ - pulumi.set(__self__, "data_source_id", data_source_id) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "details", details) - pulumi.set(__self__, "detector", detector) - pulumi.set(__self__, "detector_rule_id", detector_rule_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "entities_mappings", entities_mappings) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "managed_list_types", managed_list_types) - pulumi.set(__self__, "recommendation", recommendation) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "service_type", service_type) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetGuardTargetTargetDetectorRecipeDetectorRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + data_source_id=data_source_id, + description=description, + details=details, + detector=detector, + detector_rule_id=detector_rule_id, + display_name=display_name, + entities_mappings=entities_mappings, + lifecycle_details=lifecycle_details, + managed_list_types=managed_list_types, + recommendation=recommendation, + resource_type=resource_type, + service_type=service_type, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + data_source_id: str, + description: str, + details: Sequence['outputs.GetGuardTargetTargetDetectorRecipeDetectorRuleDetailResult'], + detector: str, + detector_rule_id: str, + display_name: str, + entities_mappings: Sequence['outputs.GetGuardTargetTargetDetectorRecipeDetectorRuleEntitiesMappingResult'], + lifecycle_details: str, + managed_list_types: Sequence[str], + recommendation: str, + resource_type: str, + service_type: str, + state: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("data_source_id", data_source_id) + _setter("description", description) + _setter("details", details) + _setter("detector", detector) + _setter("detector_rule_id", detector_rule_id) + _setter("display_name", display_name) + _setter("entities_mappings", entities_mappings) + _setter("lifecycle_details", lifecycle_details) + _setter("managed_list_types", managed_list_types) + _setter("recommendation", recommendation) + _setter("resource_type", resource_type) + _setter("service_type", service_type) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="dataSourceId") @@ -8956,12 +10902,31 @@ def __init__(__self__, *, :param Sequence[str] labels: user defined labels for a detector rule :param str risk_level: The Risk Level """ - pulumi.set(__self__, "condition_groups", condition_groups) - pulumi.set(__self__, "configurations", configurations) - pulumi.set(__self__, "is_configuration_allowed", is_configuration_allowed) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "labels", labels) - pulumi.set(__self__, "risk_level", risk_level) + GetGuardTargetTargetDetectorRecipeDetectorRuleDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + condition_groups=condition_groups, + configurations=configurations, + is_configuration_allowed=is_configuration_allowed, + is_enabled=is_enabled, + labels=labels, + risk_level=risk_level, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + condition_groups: Sequence['outputs.GetGuardTargetTargetDetectorRecipeDetectorRuleDetailConditionGroupResult'], + configurations: Sequence['outputs.GetGuardTargetTargetDetectorRecipeDetectorRuleDetailConfigurationResult'], + is_configuration_allowed: bool, + is_enabled: bool, + labels: Sequence[str], + risk_level: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("condition_groups", condition_groups) + _setter("configurations", configurations) + _setter("is_configuration_allowed", is_configuration_allowed) + _setter("is_enabled", is_enabled) + _setter("labels", labels) + _setter("risk_level", risk_level) @property @pulumi.getter(name="conditionGroups") @@ -9021,8 +10986,19 @@ def __init__(__self__, *, :param str compartment_id: Compartment Identifier :param str condition: Base condition object """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "condition", condition) + GetGuardTargetTargetDetectorRecipeDetectorRuleDetailConditionGroupResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + condition=condition, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + condition: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("condition", condition) @property @pulumi.getter(name="compartmentId") @@ -9056,11 +11032,28 @@ def __init__(__self__, *, :param str value: configuration value :param Sequence['GetGuardTargetTargetDetectorRecipeDetectorRuleDetailConfigurationValueArgs'] values: List of configuration values """ - pulumi.set(__self__, "config_key", config_key) - pulumi.set(__self__, "data_type", data_type) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) - pulumi.set(__self__, "values", values) + GetGuardTargetTargetDetectorRecipeDetectorRuleDetailConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + config_key=config_key, + data_type=data_type, + name=name, + value=value, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + config_key: str, + data_type: str, + name: str, + value: str, + values: Sequence['outputs.GetGuardTargetTargetDetectorRecipeDetectorRuleDetailConfigurationValueResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("config_key", config_key) + _setter("data_type", data_type) + _setter("name", name) + _setter("value", value) + _setter("values", values) @property @pulumi.getter(name="configKey") @@ -9114,9 +11107,22 @@ def __init__(__self__, *, :param str managed_list_type: type of the managed list :param str value: configuration value """ - pulumi.set(__self__, "list_type", list_type) - pulumi.set(__self__, "managed_list_type", managed_list_type) - pulumi.set(__self__, "value", value) + GetGuardTargetTargetDetectorRecipeDetectorRuleDetailConfigurationValueResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + list_type=list_type, + managed_list_type=managed_list_type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + list_type: str, + managed_list_type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("list_type", list_type) + _setter("managed_list_type", managed_list_type) + _setter("value", value) @property @pulumi.getter(name="listType") @@ -9154,9 +11160,22 @@ def __init__(__self__, *, :param str entity_type: Possible type of entity :param str query_field: The entity value mapped to a data source query """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "entity_type", entity_type) - pulumi.set(__self__, "query_field", query_field) + GetGuardTargetTargetDetectorRecipeDetectorRuleEntitiesMappingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + entity_type=entity_type, + query_field=query_field, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + entity_type: str, + query_field: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("entity_type", entity_type) + _setter("query_field", query_field) @property @pulumi.getter(name="displayName") @@ -9218,21 +11237,58 @@ def __init__(__self__, *, :param str time_created: The date and time the target was created. Format defined by RFC3339. :param str time_updated: The date and time the target was updated. Format defined by RFC3339. """ - pulumi.set(__self__, "data_source_id", data_source_id) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "details", details) - pulumi.set(__self__, "detector", detector) - pulumi.set(__self__, "detector_rule_id", detector_rule_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "entities_mappings", entities_mappings) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "managed_list_types", managed_list_types) - pulumi.set(__self__, "recommendation", recommendation) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "service_type", service_type) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetGuardTargetTargetDetectorRecipeEffectiveDetectorRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + data_source_id=data_source_id, + description=description, + details=details, + detector=detector, + detector_rule_id=detector_rule_id, + display_name=display_name, + entities_mappings=entities_mappings, + lifecycle_details=lifecycle_details, + managed_list_types=managed_list_types, + recommendation=recommendation, + resource_type=resource_type, + service_type=service_type, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + data_source_id: str, + description: str, + details: Sequence['outputs.GetGuardTargetTargetDetectorRecipeEffectiveDetectorRuleDetailResult'], + detector: str, + detector_rule_id: str, + display_name: str, + entities_mappings: Sequence['outputs.GetGuardTargetTargetDetectorRecipeEffectiveDetectorRuleEntitiesMappingResult'], + lifecycle_details: str, + managed_list_types: Sequence[str], + recommendation: str, + resource_type: str, + service_type: str, + state: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("data_source_id", data_source_id) + _setter("description", description) + _setter("details", details) + _setter("detector", detector) + _setter("detector_rule_id", detector_rule_id) + _setter("display_name", display_name) + _setter("entities_mappings", entities_mappings) + _setter("lifecycle_details", lifecycle_details) + _setter("managed_list_types", managed_list_types) + _setter("recommendation", recommendation) + _setter("resource_type", resource_type) + _setter("service_type", service_type) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="dataSourceId") @@ -9372,12 +11428,31 @@ def __init__(__self__, *, :param Sequence[str] labels: user defined labels for a detector rule :param str risk_level: The Risk Level """ - pulumi.set(__self__, "condition_groups", condition_groups) - pulumi.set(__self__, "configurations", configurations) - pulumi.set(__self__, "is_configuration_allowed", is_configuration_allowed) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "labels", labels) - pulumi.set(__self__, "risk_level", risk_level) + GetGuardTargetTargetDetectorRecipeEffectiveDetectorRuleDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + condition_groups=condition_groups, + configurations=configurations, + is_configuration_allowed=is_configuration_allowed, + is_enabled=is_enabled, + labels=labels, + risk_level=risk_level, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + condition_groups: Sequence['outputs.GetGuardTargetTargetDetectorRecipeEffectiveDetectorRuleDetailConditionGroupResult'], + configurations: Sequence['outputs.GetGuardTargetTargetDetectorRecipeEffectiveDetectorRuleDetailConfigurationResult'], + is_configuration_allowed: bool, + is_enabled: bool, + labels: Sequence[str], + risk_level: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("condition_groups", condition_groups) + _setter("configurations", configurations) + _setter("is_configuration_allowed", is_configuration_allowed) + _setter("is_enabled", is_enabled) + _setter("labels", labels) + _setter("risk_level", risk_level) @property @pulumi.getter(name="conditionGroups") @@ -9437,8 +11512,19 @@ def __init__(__self__, *, :param str compartment_id: Compartment Identifier :param str condition: Base condition object """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "condition", condition) + GetGuardTargetTargetDetectorRecipeEffectiveDetectorRuleDetailConditionGroupResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + condition=condition, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + condition: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("condition", condition) @property @pulumi.getter(name="compartmentId") @@ -9472,11 +11558,28 @@ def __init__(__self__, *, :param str value: configuration value :param Sequence['GetGuardTargetTargetDetectorRecipeEffectiveDetectorRuleDetailConfigurationValueArgs'] values: List of configuration values """ - pulumi.set(__self__, "config_key", config_key) - pulumi.set(__self__, "data_type", data_type) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) - pulumi.set(__self__, "values", values) + GetGuardTargetTargetDetectorRecipeEffectiveDetectorRuleDetailConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + config_key=config_key, + data_type=data_type, + name=name, + value=value, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + config_key: str, + data_type: str, + name: str, + value: str, + values: Sequence['outputs.GetGuardTargetTargetDetectorRecipeEffectiveDetectorRuleDetailConfigurationValueResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("config_key", config_key) + _setter("data_type", data_type) + _setter("name", name) + _setter("value", value) + _setter("values", values) @property @pulumi.getter(name="configKey") @@ -9530,9 +11633,22 @@ def __init__(__self__, *, :param str managed_list_type: type of the managed list :param str value: configuration value """ - pulumi.set(__self__, "list_type", list_type) - pulumi.set(__self__, "managed_list_type", managed_list_type) - pulumi.set(__self__, "value", value) + GetGuardTargetTargetDetectorRecipeEffectiveDetectorRuleDetailConfigurationValueResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + list_type=list_type, + managed_list_type=managed_list_type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + list_type: str, + managed_list_type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("list_type", list_type) + _setter("managed_list_type", managed_list_type) + _setter("value", value) @property @pulumi.getter(name="listType") @@ -9570,9 +11686,22 @@ def __init__(__self__, *, :param str entity_type: Possible type of entity :param str query_field: The entity value mapped to a data source query """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "entity_type", entity_type) - pulumi.set(__self__, "query_field", query_field) + GetGuardTargetTargetDetectorRecipeEffectiveDetectorRuleEntitiesMappingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + entity_type=entity_type, + query_field=query_field, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + entity_type: str, + query_field: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("entity_type", entity_type) + _setter("query_field", query_field) @property @pulumi.getter(name="displayName") @@ -9624,16 +11753,43 @@ def __init__(__self__, *, :param str time_created: The date and time the target was created. Format defined by RFC3339. :param str time_updated: The date and time the target was updated. Format defined by RFC3339. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "effective_responder_rules", effective_responder_rules) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "owner", owner) - pulumi.set(__self__, "responder_recipe_id", responder_recipe_id) - pulumi.set(__self__, "responder_rules", responder_rules) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetGuardTargetTargetResponderRecipeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + description=description, + display_name=display_name, + effective_responder_rules=effective_responder_rules, + id=id, + owner=owner, + responder_recipe_id=responder_recipe_id, + responder_rules=responder_rules, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + description: str, + display_name: str, + effective_responder_rules: Sequence['outputs.GetGuardTargetTargetResponderRecipeEffectiveResponderRuleResult'], + id: str, + owner: str, + responder_recipe_id: str, + responder_rules: Sequence['outputs.GetGuardTargetTargetResponderRecipeResponderRuleResult'], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("description", description) + _setter("display_name", display_name) + _setter("effective_responder_rules", effective_responder_rules) + _setter("id", id) + _setter("owner", owner) + _setter("responder_recipe_id", responder_recipe_id) + _setter("responder_rules", responder_rules) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -9745,18 +11901,49 @@ def __init__(__self__, *, :param str time_updated: The date and time the target was updated. Format defined by RFC3339. :param str type: Type of Responder """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "details", details) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "policies", policies) - pulumi.set(__self__, "responder_rule_id", responder_rule_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "supported_modes", supported_modes) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "type", type) + GetGuardTargetTargetResponderRecipeEffectiveResponderRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + description=description, + details=details, + display_name=display_name, + lifecycle_details=lifecycle_details, + policies=policies, + responder_rule_id=responder_rule_id, + state=state, + supported_modes=supported_modes, + time_created=time_created, + time_updated=time_updated, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + description: str, + details: Sequence['outputs.GetGuardTargetTargetResponderRecipeEffectiveResponderRuleDetailResult'], + display_name: str, + lifecycle_details: str, + policies: Sequence[str], + responder_rule_id: str, + state: str, + supported_modes: Sequence[str], + time_created: str, + time_updated: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("description", description) + _setter("details", details) + _setter("display_name", display_name) + _setter("lifecycle_details", lifecycle_details) + _setter("policies", policies) + _setter("responder_rule_id", responder_rule_id) + _setter("state", state) + _setter("supported_modes", supported_modes) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("type", type) @property @pulumi.getter(name="compartmentId") @@ -9868,10 +12055,25 @@ def __init__(__self__, *, :param bool is_enabled: Identifies state for ResponderRule :param str mode: Execution Mode for ResponderRule """ - pulumi.set(__self__, "condition", condition) - pulumi.set(__self__, "configurations", configurations) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "mode", mode) + GetGuardTargetTargetResponderRecipeEffectiveResponderRuleDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + condition=condition, + configurations=configurations, + is_enabled=is_enabled, + mode=mode, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + condition: str, + configurations: Sequence['outputs.GetGuardTargetTargetResponderRecipeEffectiveResponderRuleDetailConfigurationResult'], + is_enabled: bool, + mode: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("condition", condition) + _setter("configurations", configurations) + _setter("is_enabled", is_enabled) + _setter("mode", mode) @property @pulumi.getter @@ -9917,9 +12119,22 @@ def __init__(__self__, *, :param str name: configuration name :param str value: configuration value """ - pulumi.set(__self__, "config_key", config_key) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + GetGuardTargetTargetResponderRecipeEffectiveResponderRuleDetailConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + config_key=config_key, + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + config_key: str, + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("config_key", config_key) + _setter("name", name) + _setter("value", value) @property @pulumi.getter(name="configKey") @@ -9975,18 +12190,49 @@ def __init__(__self__, *, :param str time_updated: The date and time the target was updated. Format defined by RFC3339. :param str type: Type of Responder """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "details", details) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "policies", policies) - pulumi.set(__self__, "responder_rule_id", responder_rule_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "supported_modes", supported_modes) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "type", type) + GetGuardTargetTargetResponderRecipeResponderRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + description=description, + details=details, + display_name=display_name, + lifecycle_details=lifecycle_details, + policies=policies, + responder_rule_id=responder_rule_id, + state=state, + supported_modes=supported_modes, + time_created=time_created, + time_updated=time_updated, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + description: str, + details: Sequence['outputs.GetGuardTargetTargetResponderRecipeResponderRuleDetailResult'], + display_name: str, + lifecycle_details: str, + policies: Sequence[str], + responder_rule_id: str, + state: str, + supported_modes: Sequence[str], + time_created: str, + time_updated: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("description", description) + _setter("details", details) + _setter("display_name", display_name) + _setter("lifecycle_details", lifecycle_details) + _setter("policies", policies) + _setter("responder_rule_id", responder_rule_id) + _setter("state", state) + _setter("supported_modes", supported_modes) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("type", type) @property @pulumi.getter(name="compartmentId") @@ -10098,10 +12344,25 @@ def __init__(__self__, *, :param bool is_enabled: Identifies state for ResponderRule :param str mode: Execution Mode for ResponderRule """ - pulumi.set(__self__, "condition", condition) - pulumi.set(__self__, "configurations", configurations) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "mode", mode) + GetGuardTargetTargetResponderRecipeResponderRuleDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + condition=condition, + configurations=configurations, + is_enabled=is_enabled, + mode=mode, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + condition: str, + configurations: Sequence['outputs.GetGuardTargetTargetResponderRecipeResponderRuleDetailConfigurationResult'], + is_enabled: bool, + mode: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("condition", condition) + _setter("configurations", configurations) + _setter("is_enabled", is_enabled) + _setter("mode", mode) @property @pulumi.getter @@ -10147,9 +12408,22 @@ def __init__(__self__, *, :param str name: configuration name :param str value: configuration value """ - pulumi.set(__self__, "config_key", config_key) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + GetGuardTargetTargetResponderRecipeResponderRuleDetailConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + config_key=config_key, + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + config_key: str, + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("config_key", config_key) + _setter("name", name) + _setter("value", value) @property @pulumi.getter(name="configKey") @@ -10186,10 +12460,23 @@ def __init__(__self__, *, :param str name: configuration name :param Sequence[str] values: List of configuration values """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetGuardTargetsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -10217,7 +12504,16 @@ def regex(self) -> Optional[bool]: class GetGuardTargetsTargetCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetGuardTargetsTargetCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetGuardTargetsTargetCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetGuardTargetsTargetCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -10266,24 +12562,67 @@ def __init__(__self__, *, :param str time_created: The date and time the target was created. Format defined by RFC3339. :param str time_updated: The date and time the target was updated. Format defined by RFC3339. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "inherited_by_compartments", inherited_by_compartments) - pulumi.set(__self__, "lifecyle_details", lifecyle_details) - pulumi.set(__self__, "recipe_count", recipe_count) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "target_details", target_details) - pulumi.set(__self__, "target_detector_recipes", target_detector_recipes) - pulumi.set(__self__, "target_resource_id", target_resource_id) - pulumi.set(__self__, "target_resource_type", target_resource_type) - pulumi.set(__self__, "target_responder_recipes", target_responder_recipes) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetGuardTargetsTargetCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + inherited_by_compartments=inherited_by_compartments, + lifecyle_details=lifecyle_details, + recipe_count=recipe_count, + state=state, + system_tags=system_tags, + target_details=target_details, + target_detector_recipes=target_detector_recipes, + target_resource_id=target_resource_id, + target_resource_type=target_resource_type, + target_responder_recipes=target_responder_recipes, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + inherited_by_compartments: Sequence[str], + lifecyle_details: str, + recipe_count: int, + state: str, + system_tags: Mapping[str, Any], + target_details: Sequence['outputs.GetGuardTargetsTargetCollectionItemTargetDetailResult'], + target_detector_recipes: Sequence['outputs.GetGuardTargetsTargetCollectionItemTargetDetectorRecipeResult'], + target_resource_id: str, + target_resource_type: str, + target_responder_recipes: Sequence['outputs.GetGuardTargetsTargetCollectionItemTargetResponderRecipeResult'], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("inherited_by_compartments", inherited_by_compartments) + _setter("lifecyle_details", lifecyle_details) + _setter("recipe_count", recipe_count) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("target_details", target_details) + _setter("target_detector_recipes", target_detector_recipes) + _setter("target_resource_id", target_resource_id) + _setter("target_resource_type", target_resource_type) + _setter("target_responder_recipes", target_responder_recipes) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -10443,10 +12782,25 @@ def __init__(__self__, *, :param str target_resource_type: possible type of targets :param Sequence['GetGuardTargetsTargetCollectionItemTargetDetailTargetSecurityZoneRecipeArgs'] target_security_zone_recipes: The list of security zone recipes to associate this compartment with. """ - pulumi.set(__self__, "security_zone_display_name", security_zone_display_name) - pulumi.set(__self__, "security_zone_id", security_zone_id) - pulumi.set(__self__, "target_resource_type", target_resource_type) - pulumi.set(__self__, "target_security_zone_recipes", target_security_zone_recipes) + GetGuardTargetsTargetCollectionItemTargetDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + security_zone_display_name=security_zone_display_name, + security_zone_id=security_zone_id, + target_resource_type=target_resource_type, + target_security_zone_recipes=target_security_zone_recipes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + security_zone_display_name: str, + security_zone_id: str, + target_resource_type: str, + target_security_zone_recipes: Sequence['outputs.GetGuardTargetsTargetCollectionItemTargetDetailTargetSecurityZoneRecipeResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("security_zone_display_name", security_zone_display_name) + _setter("security_zone_id", security_zone_id) + _setter("target_resource_type", target_resource_type) + _setter("target_security_zone_recipes", target_security_zone_recipes) @property @pulumi.getter(name="securityZoneDisplayName") @@ -10512,19 +12866,52 @@ def __init__(__self__, *, :param str time_created: The date and time the target was created. Format defined by RFC3339. :param str time_updated: The date and time the target was updated. Format defined by RFC3339. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "owner", owner) - pulumi.set(__self__, "security_policies", security_policies) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetGuardTargetsTargetCollectionItemTargetDetailTargetSecurityZoneRecipeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + owner=owner, + security_policies=security_policies, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + owner: str, + security_policies: Sequence[str], + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("owner", owner) + _setter("security_policies", security_policies) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -10660,18 +13047,49 @@ def __init__(__self__, *, :param str time_created: The date and time the target was created. Format defined by RFC3339. :param str time_updated: The date and time the target was updated. Format defined by RFC3339. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "detector", detector) - pulumi.set(__self__, "detector_recipe_id", detector_recipe_id) - pulumi.set(__self__, "detector_rules", detector_rules) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "effective_detector_rules", effective_detector_rules) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "owner", owner) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetGuardTargetsTargetCollectionItemTargetDetectorRecipeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + description=description, + detector=detector, + detector_recipe_id=detector_recipe_id, + detector_rules=detector_rules, + display_name=display_name, + effective_detector_rules=effective_detector_rules, + id=id, + owner=owner, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + description: str, + detector: str, + detector_recipe_id: str, + detector_rules: Sequence['outputs.GetGuardTargetsTargetCollectionItemTargetDetectorRecipeDetectorRuleResult'], + display_name: str, + effective_detector_rules: Sequence['outputs.GetGuardTargetsTargetCollectionItemTargetDetectorRecipeEffectiveDetectorRuleResult'], + id: str, + owner: str, + state: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("description", description) + _setter("detector", detector) + _setter("detector_recipe_id", detector_recipe_id) + _setter("detector_rules", detector_rules) + _setter("display_name", display_name) + _setter("effective_detector_rules", effective_detector_rules) + _setter("id", id) + _setter("owner", owner) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -10805,21 +13223,58 @@ def __init__(__self__, *, :param str time_created: The date and time the target was created. Format defined by RFC3339. :param str time_updated: The date and time the target was updated. Format defined by RFC3339. """ - pulumi.set(__self__, "data_source_id", data_source_id) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "details", details) - pulumi.set(__self__, "detector", detector) - pulumi.set(__self__, "detector_rule_id", detector_rule_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "entities_mappings", entities_mappings) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "managed_list_types", managed_list_types) - pulumi.set(__self__, "recommendation", recommendation) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "service_type", service_type) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetGuardTargetsTargetCollectionItemTargetDetectorRecipeDetectorRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + data_source_id=data_source_id, + description=description, + details=details, + detector=detector, + detector_rule_id=detector_rule_id, + display_name=display_name, + entities_mappings=entities_mappings, + lifecycle_details=lifecycle_details, + managed_list_types=managed_list_types, + recommendation=recommendation, + resource_type=resource_type, + service_type=service_type, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + data_source_id: str, + description: str, + details: Sequence['outputs.GetGuardTargetsTargetCollectionItemTargetDetectorRecipeDetectorRuleDetailResult'], + detector: str, + detector_rule_id: str, + display_name: str, + entities_mappings: Sequence['outputs.GetGuardTargetsTargetCollectionItemTargetDetectorRecipeDetectorRuleEntitiesMappingResult'], + lifecycle_details: str, + managed_list_types: Sequence[str], + recommendation: str, + resource_type: str, + service_type: str, + state: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("data_source_id", data_source_id) + _setter("description", description) + _setter("details", details) + _setter("detector", detector) + _setter("detector_rule_id", detector_rule_id) + _setter("display_name", display_name) + _setter("entities_mappings", entities_mappings) + _setter("lifecycle_details", lifecycle_details) + _setter("managed_list_types", managed_list_types) + _setter("recommendation", recommendation) + _setter("resource_type", resource_type) + _setter("service_type", service_type) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="dataSourceId") @@ -10959,12 +13414,31 @@ def __init__(__self__, *, :param Sequence[str] labels: user defined labels for a detector rule :param str risk_level: The Risk Level """ - pulumi.set(__self__, "condition_groups", condition_groups) - pulumi.set(__self__, "configurations", configurations) - pulumi.set(__self__, "is_configuration_allowed", is_configuration_allowed) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "labels", labels) - pulumi.set(__self__, "risk_level", risk_level) + GetGuardTargetsTargetCollectionItemTargetDetectorRecipeDetectorRuleDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + condition_groups=condition_groups, + configurations=configurations, + is_configuration_allowed=is_configuration_allowed, + is_enabled=is_enabled, + labels=labels, + risk_level=risk_level, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + condition_groups: Sequence['outputs.GetGuardTargetsTargetCollectionItemTargetDetectorRecipeDetectorRuleDetailConditionGroupResult'], + configurations: Sequence['outputs.GetGuardTargetsTargetCollectionItemTargetDetectorRecipeDetectorRuleDetailConfigurationResult'], + is_configuration_allowed: bool, + is_enabled: bool, + labels: Sequence[str], + risk_level: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("condition_groups", condition_groups) + _setter("configurations", configurations) + _setter("is_configuration_allowed", is_configuration_allowed) + _setter("is_enabled", is_enabled) + _setter("labels", labels) + _setter("risk_level", risk_level) @property @pulumi.getter(name="conditionGroups") @@ -11024,8 +13498,19 @@ def __init__(__self__, *, :param str compartment_id: The ID of the compartment in which to list resources. :param str condition: Base condition object """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "condition", condition) + GetGuardTargetsTargetCollectionItemTargetDetectorRecipeDetectorRuleDetailConditionGroupResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + condition=condition, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + condition: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("condition", condition) @property @pulumi.getter(name="compartmentId") @@ -11059,11 +13544,28 @@ def __init__(__self__, *, :param str value: configuration value :param Sequence['GetGuardTargetsTargetCollectionItemTargetDetectorRecipeDetectorRuleDetailConfigurationValueArgs'] values: List of configuration values """ - pulumi.set(__self__, "config_key", config_key) - pulumi.set(__self__, "data_type", data_type) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) - pulumi.set(__self__, "values", values) + GetGuardTargetsTargetCollectionItemTargetDetectorRecipeDetectorRuleDetailConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + config_key=config_key, + data_type=data_type, + name=name, + value=value, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + config_key: str, + data_type: str, + name: str, + value: str, + values: Sequence['outputs.GetGuardTargetsTargetCollectionItemTargetDetectorRecipeDetectorRuleDetailConfigurationValueResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("config_key", config_key) + _setter("data_type", data_type) + _setter("name", name) + _setter("value", value) + _setter("values", values) @property @pulumi.getter(name="configKey") @@ -11117,9 +13619,22 @@ def __init__(__self__, *, :param str managed_list_type: type of the managed list :param str value: configuration value """ - pulumi.set(__self__, "list_type", list_type) - pulumi.set(__self__, "managed_list_type", managed_list_type) - pulumi.set(__self__, "value", value) + GetGuardTargetsTargetCollectionItemTargetDetectorRecipeDetectorRuleDetailConfigurationValueResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + list_type=list_type, + managed_list_type=managed_list_type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + list_type: str, + managed_list_type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("list_type", list_type) + _setter("managed_list_type", managed_list_type) + _setter("value", value) @property @pulumi.getter(name="listType") @@ -11157,9 +13672,22 @@ def __init__(__self__, *, :param str entity_type: Possible type of entity :param str query_field: The entity value mapped to a data source query """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "entity_type", entity_type) - pulumi.set(__self__, "query_field", query_field) + GetGuardTargetsTargetCollectionItemTargetDetectorRecipeDetectorRuleEntitiesMappingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + entity_type=entity_type, + query_field=query_field, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + entity_type: str, + query_field: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("entity_type", entity_type) + _setter("query_field", query_field) @property @pulumi.getter(name="displayName") @@ -11221,21 +13749,58 @@ def __init__(__self__, *, :param str time_created: The date and time the target was created. Format defined by RFC3339. :param str time_updated: The date and time the target was updated. Format defined by RFC3339. """ - pulumi.set(__self__, "data_source_id", data_source_id) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "details", details) - pulumi.set(__self__, "detector", detector) - pulumi.set(__self__, "detector_rule_id", detector_rule_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "entities_mappings", entities_mappings) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "managed_list_types", managed_list_types) - pulumi.set(__self__, "recommendation", recommendation) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "service_type", service_type) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetGuardTargetsTargetCollectionItemTargetDetectorRecipeEffectiveDetectorRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + data_source_id=data_source_id, + description=description, + details=details, + detector=detector, + detector_rule_id=detector_rule_id, + display_name=display_name, + entities_mappings=entities_mappings, + lifecycle_details=lifecycle_details, + managed_list_types=managed_list_types, + recommendation=recommendation, + resource_type=resource_type, + service_type=service_type, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + data_source_id: str, + description: str, + details: Sequence['outputs.GetGuardTargetsTargetCollectionItemTargetDetectorRecipeEffectiveDetectorRuleDetailResult'], + detector: str, + detector_rule_id: str, + display_name: str, + entities_mappings: Sequence['outputs.GetGuardTargetsTargetCollectionItemTargetDetectorRecipeEffectiveDetectorRuleEntitiesMappingResult'], + lifecycle_details: str, + managed_list_types: Sequence[str], + recommendation: str, + resource_type: str, + service_type: str, + state: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("data_source_id", data_source_id) + _setter("description", description) + _setter("details", details) + _setter("detector", detector) + _setter("detector_rule_id", detector_rule_id) + _setter("display_name", display_name) + _setter("entities_mappings", entities_mappings) + _setter("lifecycle_details", lifecycle_details) + _setter("managed_list_types", managed_list_types) + _setter("recommendation", recommendation) + _setter("resource_type", resource_type) + _setter("service_type", service_type) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="dataSourceId") @@ -11375,12 +13940,31 @@ def __init__(__self__, *, :param Sequence[str] labels: user defined labels for a detector rule :param str risk_level: The Risk Level """ - pulumi.set(__self__, "condition_groups", condition_groups) - pulumi.set(__self__, "configurations", configurations) - pulumi.set(__self__, "is_configuration_allowed", is_configuration_allowed) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "labels", labels) - pulumi.set(__self__, "risk_level", risk_level) + GetGuardTargetsTargetCollectionItemTargetDetectorRecipeEffectiveDetectorRuleDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + condition_groups=condition_groups, + configurations=configurations, + is_configuration_allowed=is_configuration_allowed, + is_enabled=is_enabled, + labels=labels, + risk_level=risk_level, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + condition_groups: Sequence['outputs.GetGuardTargetsTargetCollectionItemTargetDetectorRecipeEffectiveDetectorRuleDetailConditionGroupResult'], + configurations: Sequence['outputs.GetGuardTargetsTargetCollectionItemTargetDetectorRecipeEffectiveDetectorRuleDetailConfigurationResult'], + is_configuration_allowed: bool, + is_enabled: bool, + labels: Sequence[str], + risk_level: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("condition_groups", condition_groups) + _setter("configurations", configurations) + _setter("is_configuration_allowed", is_configuration_allowed) + _setter("is_enabled", is_enabled) + _setter("labels", labels) + _setter("risk_level", risk_level) @property @pulumi.getter(name="conditionGroups") @@ -11440,8 +14024,19 @@ def __init__(__self__, *, :param str compartment_id: The ID of the compartment in which to list resources. :param str condition: Base condition object """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "condition", condition) + GetGuardTargetsTargetCollectionItemTargetDetectorRecipeEffectiveDetectorRuleDetailConditionGroupResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + condition=condition, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + condition: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("condition", condition) @property @pulumi.getter(name="compartmentId") @@ -11475,11 +14070,28 @@ def __init__(__self__, *, :param str value: configuration value :param Sequence['GetGuardTargetsTargetCollectionItemTargetDetectorRecipeEffectiveDetectorRuleDetailConfigurationValueArgs'] values: List of configuration values """ - pulumi.set(__self__, "config_key", config_key) - pulumi.set(__self__, "data_type", data_type) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) - pulumi.set(__self__, "values", values) + GetGuardTargetsTargetCollectionItemTargetDetectorRecipeEffectiveDetectorRuleDetailConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + config_key=config_key, + data_type=data_type, + name=name, + value=value, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + config_key: str, + data_type: str, + name: str, + value: str, + values: Sequence['outputs.GetGuardTargetsTargetCollectionItemTargetDetectorRecipeEffectiveDetectorRuleDetailConfigurationValueResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("config_key", config_key) + _setter("data_type", data_type) + _setter("name", name) + _setter("value", value) + _setter("values", values) @property @pulumi.getter(name="configKey") @@ -11533,9 +14145,22 @@ def __init__(__self__, *, :param str managed_list_type: type of the managed list :param str value: configuration value """ - pulumi.set(__self__, "list_type", list_type) - pulumi.set(__self__, "managed_list_type", managed_list_type) - pulumi.set(__self__, "value", value) + GetGuardTargetsTargetCollectionItemTargetDetectorRecipeEffectiveDetectorRuleDetailConfigurationValueResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + list_type=list_type, + managed_list_type=managed_list_type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + list_type: str, + managed_list_type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("list_type", list_type) + _setter("managed_list_type", managed_list_type) + _setter("value", value) @property @pulumi.getter(name="listType") @@ -11573,9 +14198,22 @@ def __init__(__self__, *, :param str entity_type: Possible type of entity :param str query_field: The entity value mapped to a data source query """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "entity_type", entity_type) - pulumi.set(__self__, "query_field", query_field) + GetGuardTargetsTargetCollectionItemTargetDetectorRecipeEffectiveDetectorRuleEntitiesMappingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + entity_type=entity_type, + query_field=query_field, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + entity_type: str, + query_field: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("entity_type", entity_type) + _setter("query_field", query_field) @property @pulumi.getter(name="displayName") @@ -11627,16 +14265,43 @@ def __init__(__self__, *, :param str time_created: The date and time the target was created. Format defined by RFC3339. :param str time_updated: The date and time the target was updated. Format defined by RFC3339. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "effective_responder_rules", effective_responder_rules) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "owner", owner) - pulumi.set(__self__, "responder_recipe_id", responder_recipe_id) - pulumi.set(__self__, "responder_rules", responder_rules) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetGuardTargetsTargetCollectionItemTargetResponderRecipeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + description=description, + display_name=display_name, + effective_responder_rules=effective_responder_rules, + id=id, + owner=owner, + responder_recipe_id=responder_recipe_id, + responder_rules=responder_rules, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + description: str, + display_name: str, + effective_responder_rules: Sequence['outputs.GetGuardTargetsTargetCollectionItemTargetResponderRecipeEffectiveResponderRuleResult'], + id: str, + owner: str, + responder_recipe_id: str, + responder_rules: Sequence['outputs.GetGuardTargetsTargetCollectionItemTargetResponderRecipeResponderRuleResult'], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("description", description) + _setter("display_name", display_name) + _setter("effective_responder_rules", effective_responder_rules) + _setter("id", id) + _setter("owner", owner) + _setter("responder_recipe_id", responder_recipe_id) + _setter("responder_rules", responder_rules) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -11748,18 +14413,49 @@ def __init__(__self__, *, :param str time_updated: The date and time the target was updated. Format defined by RFC3339. :param str type: Type of Responder """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "details", details) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "policies", policies) - pulumi.set(__self__, "responder_rule_id", responder_rule_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "supported_modes", supported_modes) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "type", type) + GetGuardTargetsTargetCollectionItemTargetResponderRecipeEffectiveResponderRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + description=description, + details=details, + display_name=display_name, + lifecycle_details=lifecycle_details, + policies=policies, + responder_rule_id=responder_rule_id, + state=state, + supported_modes=supported_modes, + time_created=time_created, + time_updated=time_updated, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + description: str, + details: Sequence['outputs.GetGuardTargetsTargetCollectionItemTargetResponderRecipeEffectiveResponderRuleDetailResult'], + display_name: str, + lifecycle_details: str, + policies: Sequence[str], + responder_rule_id: str, + state: str, + supported_modes: Sequence[str], + time_created: str, + time_updated: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("description", description) + _setter("details", details) + _setter("display_name", display_name) + _setter("lifecycle_details", lifecycle_details) + _setter("policies", policies) + _setter("responder_rule_id", responder_rule_id) + _setter("state", state) + _setter("supported_modes", supported_modes) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("type", type) @property @pulumi.getter(name="compartmentId") @@ -11871,10 +14567,25 @@ def __init__(__self__, *, :param bool is_enabled: Identifies state for ResponderRule :param str mode: Execution Mode for ResponderRule """ - pulumi.set(__self__, "condition", condition) - pulumi.set(__self__, "configurations", configurations) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "mode", mode) + GetGuardTargetsTargetCollectionItemTargetResponderRecipeEffectiveResponderRuleDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + condition=condition, + configurations=configurations, + is_enabled=is_enabled, + mode=mode, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + condition: str, + configurations: Sequence['outputs.GetGuardTargetsTargetCollectionItemTargetResponderRecipeEffectiveResponderRuleDetailConfigurationResult'], + is_enabled: bool, + mode: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("condition", condition) + _setter("configurations", configurations) + _setter("is_enabled", is_enabled) + _setter("mode", mode) @property @pulumi.getter @@ -11920,9 +14631,22 @@ def __init__(__self__, *, :param str name: configuration name :param str value: configuration value """ - pulumi.set(__self__, "config_key", config_key) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + GetGuardTargetsTargetCollectionItemTargetResponderRecipeEffectiveResponderRuleDetailConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + config_key=config_key, + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + config_key: str, + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("config_key", config_key) + _setter("name", name) + _setter("value", value) @property @pulumi.getter(name="configKey") @@ -11978,18 +14702,49 @@ def __init__(__self__, *, :param str time_updated: The date and time the target was updated. Format defined by RFC3339. :param str type: Type of Responder """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "details", details) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "policies", policies) - pulumi.set(__self__, "responder_rule_id", responder_rule_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "supported_modes", supported_modes) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "type", type) + GetGuardTargetsTargetCollectionItemTargetResponderRecipeResponderRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + description=description, + details=details, + display_name=display_name, + lifecycle_details=lifecycle_details, + policies=policies, + responder_rule_id=responder_rule_id, + state=state, + supported_modes=supported_modes, + time_created=time_created, + time_updated=time_updated, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + description: str, + details: Sequence['outputs.GetGuardTargetsTargetCollectionItemTargetResponderRecipeResponderRuleDetailResult'], + display_name: str, + lifecycle_details: str, + policies: Sequence[str], + responder_rule_id: str, + state: str, + supported_modes: Sequence[str], + time_created: str, + time_updated: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("description", description) + _setter("details", details) + _setter("display_name", display_name) + _setter("lifecycle_details", lifecycle_details) + _setter("policies", policies) + _setter("responder_rule_id", responder_rule_id) + _setter("state", state) + _setter("supported_modes", supported_modes) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("type", type) @property @pulumi.getter(name="compartmentId") @@ -12101,10 +14856,25 @@ def __init__(__self__, *, :param bool is_enabled: Identifies state for ResponderRule :param str mode: Execution Mode for ResponderRule """ - pulumi.set(__self__, "condition", condition) - pulumi.set(__self__, "configurations", configurations) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "mode", mode) + GetGuardTargetsTargetCollectionItemTargetResponderRecipeResponderRuleDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + condition=condition, + configurations=configurations, + is_enabled=is_enabled, + mode=mode, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + condition: str, + configurations: Sequence['outputs.GetGuardTargetsTargetCollectionItemTargetResponderRecipeResponderRuleDetailConfigurationResult'], + is_enabled: bool, + mode: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("condition", condition) + _setter("configurations", configurations) + _setter("is_enabled", is_enabled) + _setter("mode", mode) @property @pulumi.getter @@ -12150,9 +14920,22 @@ def __init__(__self__, *, :param str name: configuration name :param str value: configuration value """ - pulumi.set(__self__, "config_key", config_key) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + GetGuardTargetsTargetCollectionItemTargetResponderRecipeResponderRuleDetailConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + config_key=config_key, + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + config_key: str, + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("config_key", config_key) + _setter("name", name) + _setter("value", value) @property @pulumi.getter(name="configKey") @@ -12185,10 +14968,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagedListsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -12210,7 +15006,16 @@ def regex(self) -> Optional[bool]: class GetManagedListsManagedListCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetManagedListsManagedListCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetManagedListsManagedListCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetManagedListsManagedListCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -12255,22 +15060,61 @@ def __init__(__self__, *, :param str time_created: The date and time the managed list was created. Format defined by RFC3339. :param str time_updated: The date and time the managed list was updated. Format defined by RFC3339. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "feed_provider", feed_provider) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_editable", is_editable) - pulumi.set(__self__, "lifecyle_details", lifecyle_details) - pulumi.set(__self__, "list_items", list_items) - pulumi.set(__self__, "list_type", list_type) - pulumi.set(__self__, "source_managed_list_id", source_managed_list_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetManagedListsManagedListCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + feed_provider=feed_provider, + freeform_tags=freeform_tags, + id=id, + is_editable=is_editable, + lifecyle_details=lifecyle_details, + list_items=list_items, + list_type=list_type, + source_managed_list_id=source_managed_list_id, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + feed_provider: str, + freeform_tags: Mapping[str, Any], + id: str, + is_editable: bool, + lifecyle_details: str, + list_items: Sequence[str], + list_type: str, + source_managed_list_id: str, + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("feed_provider", feed_provider) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_editable", is_editable) + _setter("lifecyle_details", lifecyle_details) + _setter("list_items", list_items) + _setter("list_type", list_type) + _setter("source_managed_list_id", source_managed_list_id) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -12407,10 +15251,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetProblemEntitiesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -12435,7 +15292,16 @@ def __init__(__self__, *, """ :param Sequence['GetProblemEntitiesProblemEntityCollectionItemArgs'] items: List of problem entities summaries related to a data source. """ - pulumi.set(__self__, "items", items) + GetProblemEntitiesProblemEntityCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetProblemEntitiesProblemEntityCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -12463,12 +15329,31 @@ def __init__(__self__, *, :param str time_first_detected: Data source problem entities first detected time :param str time_last_detected: Data source problem entities last detected time """ - pulumi.set(__self__, "entity_details", entity_details) - pulumi.set(__self__, "problem_id", problem_id) - pulumi.set(__self__, "regions", regions) - pulumi.set(__self__, "result_url", result_url) - pulumi.set(__self__, "time_first_detected", time_first_detected) - pulumi.set(__self__, "time_last_detected", time_last_detected) + GetProblemEntitiesProblemEntityCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + entity_details=entity_details, + problem_id=problem_id, + regions=regions, + result_url=result_url, + time_first_detected=time_first_detected, + time_last_detected=time_last_detected, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + entity_details: Sequence['outputs.GetProblemEntitiesProblemEntityCollectionItemEntityDetailResult'], + problem_id: str, + regions: Sequence[str], + result_url: str, + time_first_detected: str, + time_last_detected: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("entity_details", entity_details) + _setter("problem_id", problem_id) + _setter("regions", regions) + _setter("result_url", result_url) + _setter("time_first_detected", time_first_detected) + _setter("time_last_detected", time_last_detected) @property @pulumi.getter(name="entityDetails") @@ -12530,9 +15415,22 @@ def __init__(__self__, *, :param str type: Type of entity :param str value: The entity value """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetProblemEntitiesProblemEntityCollectionItemEntityDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("type", type) + _setter("value", value) @property @pulumi.getter(name="displayName") @@ -12576,12 +15474,31 @@ def __init__(__self__, *, :param str time_first_detected: Data source problem entities first detected time :param str time_last_detected: Data source problem entities last detected time """ - pulumi.set(__self__, "entity_details", entity_details) - pulumi.set(__self__, "problem_id", problem_id) - pulumi.set(__self__, "regions", regions) - pulumi.set(__self__, "result_url", result_url) - pulumi.set(__self__, "time_first_detected", time_first_detected) - pulumi.set(__self__, "time_last_detected", time_last_detected) + GetProblemEntityItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + entity_details=entity_details, + problem_id=problem_id, + regions=regions, + result_url=result_url, + time_first_detected=time_first_detected, + time_last_detected=time_last_detected, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + entity_details: Sequence['outputs.GetProblemEntityItemEntityDetailResult'], + problem_id: str, + regions: Sequence[str], + result_url: str, + time_first_detected: str, + time_last_detected: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("entity_details", entity_details) + _setter("problem_id", problem_id) + _setter("regions", regions) + _setter("result_url", result_url) + _setter("time_first_detected", time_first_detected) + _setter("time_last_detected", time_last_detected) @property @pulumi.getter(name="entityDetails") @@ -12643,9 +15560,22 @@ def __init__(__self__, *, :param str type: Type of entity :param str value: The entity value """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetProblemEntityItemEntityDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("type", type) + _setter("value", value) @property @pulumi.getter(name="displayName") @@ -12701,18 +15631,49 @@ def __init__(__self__, *, :param str time_updated: The date and time the responder recipe was updated. Format defined by RFC3339. :param str type: Type of Responder """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "details", details) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "policies", policies) - pulumi.set(__self__, "responder_rule_id", responder_rule_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "supported_modes", supported_modes) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "type", type) + GetResponderRecipeEffectiveResponderRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + description=description, + details=details, + display_name=display_name, + lifecycle_details=lifecycle_details, + policies=policies, + responder_rule_id=responder_rule_id, + state=state, + supported_modes=supported_modes, + time_created=time_created, + time_updated=time_updated, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + description: str, + details: Sequence['outputs.GetResponderRecipeEffectiveResponderRuleDetailResult'], + display_name: str, + lifecycle_details: str, + policies: Sequence[str], + responder_rule_id: str, + state: str, + supported_modes: Sequence[str], + time_created: str, + time_updated: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("description", description) + _setter("details", details) + _setter("display_name", display_name) + _setter("lifecycle_details", lifecycle_details) + _setter("policies", policies) + _setter("responder_rule_id", responder_rule_id) + _setter("state", state) + _setter("supported_modes", supported_modes) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("type", type) @property @pulumi.getter(name="compartmentId") @@ -12824,10 +15785,25 @@ def __init__(__self__, *, :param bool is_enabled: Identifies state for ResponderRule :param str mode: Execution Mode for ResponderRule """ - pulumi.set(__self__, "condition", condition) - pulumi.set(__self__, "configurations", configurations) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "mode", mode) + GetResponderRecipeEffectiveResponderRuleDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + condition=condition, + configurations=configurations, + is_enabled=is_enabled, + mode=mode, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + condition: str, + configurations: Sequence['outputs.GetResponderRecipeEffectiveResponderRuleDetailConfigurationResult'], + is_enabled: bool, + mode: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("condition", condition) + _setter("configurations", configurations) + _setter("is_enabled", is_enabled) + _setter("mode", mode) @property @pulumi.getter @@ -12873,9 +15849,22 @@ def __init__(__self__, *, :param str name: configuration name :param str value: configuration value """ - pulumi.set(__self__, "config_key", config_key) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + GetResponderRecipeEffectiveResponderRuleDetailConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + config_key=config_key, + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + config_key: str, + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("config_key", config_key) + _setter("name", name) + _setter("value", value) @property @pulumi.getter(name="configKey") @@ -12931,18 +15920,49 @@ def __init__(__self__, *, :param str time_updated: The date and time the responder recipe was updated. Format defined by RFC3339. :param str type: Type of Responder """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "details", details) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "policies", policies) - pulumi.set(__self__, "responder_rule_id", responder_rule_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "supported_modes", supported_modes) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "type", type) + GetResponderRecipeResponderRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + description=description, + details=details, + display_name=display_name, + lifecycle_details=lifecycle_details, + policies=policies, + responder_rule_id=responder_rule_id, + state=state, + supported_modes=supported_modes, + time_created=time_created, + time_updated=time_updated, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + description: str, + details: Sequence['outputs.GetResponderRecipeResponderRuleDetailResult'], + display_name: str, + lifecycle_details: str, + policies: Sequence[str], + responder_rule_id: str, + state: str, + supported_modes: Sequence[str], + time_created: str, + time_updated: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("description", description) + _setter("details", details) + _setter("display_name", display_name) + _setter("lifecycle_details", lifecycle_details) + _setter("policies", policies) + _setter("responder_rule_id", responder_rule_id) + _setter("state", state) + _setter("supported_modes", supported_modes) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("type", type) @property @pulumi.getter(name="compartmentId") @@ -13054,10 +16074,25 @@ def __init__(__self__, *, :param bool is_enabled: Identifies state for ResponderRule :param str mode: Execution Mode for ResponderRule """ - pulumi.set(__self__, "condition", condition) - pulumi.set(__self__, "configurations", configurations) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "mode", mode) + GetResponderRecipeResponderRuleDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + condition=condition, + configurations=configurations, + is_enabled=is_enabled, + mode=mode, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + condition: str, + configurations: Sequence['outputs.GetResponderRecipeResponderRuleDetailConfigurationResult'], + is_enabled: bool, + mode: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("condition", condition) + _setter("configurations", configurations) + _setter("is_enabled", is_enabled) + _setter("mode", mode) @property @pulumi.getter @@ -13103,9 +16138,22 @@ def __init__(__self__, *, :param str name: configuration name :param str value: configuration value """ - pulumi.set(__self__, "config_key", config_key) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + GetResponderRecipeResponderRuleDetailConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + config_key=config_key, + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + config_key: str, + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("config_key", config_key) + _setter("name", name) + _setter("value", value) @property @pulumi.getter(name="configKey") @@ -13141,10 +16189,23 @@ def __init__(__self__, *, """ :param str name: configuration name """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetResponderRecipesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -13169,7 +16230,16 @@ def regex(self) -> Optional[bool]: class GetResponderRecipesResponderRecipeCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetResponderRecipesResponderRecipeCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetResponderRecipesResponderRecipeCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetResponderRecipesResponderRecipeCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -13212,21 +16282,58 @@ def __init__(__self__, *, :param str time_created: The date and time the responder recipe was created. Format defined by RFC3339. :param str time_updated: The date and time the responder recipe was updated. Format defined by RFC3339. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "effective_responder_rules", effective_responder_rules) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "owner", owner) - pulumi.set(__self__, "responder_rules", responder_rules) - pulumi.set(__self__, "source_responder_recipe_id", source_responder_recipe_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetResponderRecipesResponderRecipeCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + effective_responder_rules=effective_responder_rules, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + owner=owner, + responder_rules=responder_rules, + source_responder_recipe_id=source_responder_recipe_id, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + effective_responder_rules: Sequence['outputs.GetResponderRecipesResponderRecipeCollectionItemEffectiveResponderRuleResult'], + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + owner: str, + responder_rules: Sequence['outputs.GetResponderRecipesResponderRecipeCollectionItemResponderRuleResult'], + source_responder_recipe_id: str, + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("effective_responder_rules", effective_responder_rules) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("owner", owner) + _setter("responder_rules", responder_rules) + _setter("source_responder_recipe_id", source_responder_recipe_id) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -13378,18 +16485,49 @@ def __init__(__self__, *, :param str time_updated: The date and time the responder recipe was updated. Format defined by RFC3339. :param str type: Type of Responder """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "details", details) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "policies", policies) - pulumi.set(__self__, "responder_rule_id", responder_rule_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "supported_modes", supported_modes) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "type", type) + GetResponderRecipesResponderRecipeCollectionItemEffectiveResponderRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + description=description, + details=details, + display_name=display_name, + lifecycle_details=lifecycle_details, + policies=policies, + responder_rule_id=responder_rule_id, + state=state, + supported_modes=supported_modes, + time_created=time_created, + time_updated=time_updated, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + description: str, + details: Sequence['outputs.GetResponderRecipesResponderRecipeCollectionItemEffectiveResponderRuleDetailResult'], + display_name: str, + lifecycle_details: str, + policies: Sequence[str], + responder_rule_id: str, + state: str, + supported_modes: Sequence[str], + time_created: str, + time_updated: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("description", description) + _setter("details", details) + _setter("display_name", display_name) + _setter("lifecycle_details", lifecycle_details) + _setter("policies", policies) + _setter("responder_rule_id", responder_rule_id) + _setter("state", state) + _setter("supported_modes", supported_modes) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("type", type) @property @pulumi.getter(name="compartmentId") @@ -13501,10 +16639,25 @@ def __init__(__self__, *, :param bool is_enabled: Identifies state for ResponderRule :param str mode: Execution Mode for ResponderRule """ - pulumi.set(__self__, "condition", condition) - pulumi.set(__self__, "configurations", configurations) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "mode", mode) + GetResponderRecipesResponderRecipeCollectionItemEffectiveResponderRuleDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + condition=condition, + configurations=configurations, + is_enabled=is_enabled, + mode=mode, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + condition: str, + configurations: Sequence['outputs.GetResponderRecipesResponderRecipeCollectionItemEffectiveResponderRuleDetailConfigurationResult'], + is_enabled: bool, + mode: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("condition", condition) + _setter("configurations", configurations) + _setter("is_enabled", is_enabled) + _setter("mode", mode) @property @pulumi.getter @@ -13550,9 +16703,22 @@ def __init__(__self__, *, :param str name: configuration name :param str value: configuration value """ - pulumi.set(__self__, "config_key", config_key) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + GetResponderRecipesResponderRecipeCollectionItemEffectiveResponderRuleDetailConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + config_key=config_key, + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + config_key: str, + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("config_key", config_key) + _setter("name", name) + _setter("value", value) @property @pulumi.getter(name="configKey") @@ -13608,18 +16774,49 @@ def __init__(__self__, *, :param str time_updated: The date and time the responder recipe was updated. Format defined by RFC3339. :param str type: Type of Responder """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "details", details) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "policies", policies) - pulumi.set(__self__, "responder_rule_id", responder_rule_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "supported_modes", supported_modes) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "type", type) + GetResponderRecipesResponderRecipeCollectionItemResponderRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + description=description, + details=details, + display_name=display_name, + lifecycle_details=lifecycle_details, + policies=policies, + responder_rule_id=responder_rule_id, + state=state, + supported_modes=supported_modes, + time_created=time_created, + time_updated=time_updated, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + description: str, + details: Sequence['outputs.GetResponderRecipesResponderRecipeCollectionItemResponderRuleDetailResult'], + display_name: str, + lifecycle_details: str, + policies: Sequence[str], + responder_rule_id: str, + state: str, + supported_modes: Sequence[str], + time_created: str, + time_updated: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("description", description) + _setter("details", details) + _setter("display_name", display_name) + _setter("lifecycle_details", lifecycle_details) + _setter("policies", policies) + _setter("responder_rule_id", responder_rule_id) + _setter("state", state) + _setter("supported_modes", supported_modes) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("type", type) @property @pulumi.getter(name="compartmentId") @@ -13731,10 +16928,25 @@ def __init__(__self__, *, :param bool is_enabled: Identifies state for ResponderRule :param str mode: Execution Mode for ResponderRule """ - pulumi.set(__self__, "condition", condition) - pulumi.set(__self__, "configurations", configurations) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "mode", mode) + GetResponderRecipesResponderRecipeCollectionItemResponderRuleDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + condition=condition, + configurations=configurations, + is_enabled=is_enabled, + mode=mode, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + condition: str, + configurations: Sequence['outputs.GetResponderRecipesResponderRecipeCollectionItemResponderRuleDetailConfigurationResult'], + is_enabled: bool, + mode: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("condition", condition) + _setter("configurations", configurations) + _setter("is_enabled", is_enabled) + _setter("mode", mode) @property @pulumi.getter @@ -13780,9 +16992,22 @@ def __init__(__self__, *, :param str name: configuration name :param str value: configuration value """ - pulumi.set(__self__, "config_key", config_key) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + GetResponderRecipesResponderRecipeCollectionItemResponderRuleDetailConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + config_key=config_key, + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + config_key: str, + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("config_key", config_key) + _setter("name", name) + _setter("value", value) @property @pulumi.getter(name="configKey") @@ -13815,10 +17040,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSecurityPoliciesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -13840,7 +17078,16 @@ def regex(self) -> Optional[bool]: class GetSecurityPoliciesSecurityPolicyCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetSecurityPoliciesSecurityPolicyCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetSecurityPoliciesSecurityPolicyCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetSecurityPoliciesSecurityPolicyCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -13881,20 +17128,55 @@ def __init__(__self__, *, :param str time_created: The time the security policy was created. An RFC3339 formatted datetime string. :param str time_updated: The time the security policy was last updated. An RFC3339 formatted datetime string. """ - pulumi.set(__self__, "category", category) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "friendly_name", friendly_name) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "owner", owner) - pulumi.set(__self__, "services", services) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetSecurityPoliciesSecurityPolicyCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + category=category, + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + friendly_name=friendly_name, + id=id, + lifecycle_details=lifecycle_details, + owner=owner, + services=services, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + category: str, + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + friendly_name: str, + id: str, + lifecycle_details: str, + owner: str, + services: Sequence[str], + state: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("category", category) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("friendly_name", friendly_name) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("owner", owner) + _setter("services", services) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter @@ -14015,10 +17297,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSecurityRecipesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -14040,7 +17335,16 @@ def regex(self) -> Optional[bool]: class GetSecurityRecipesSecurityRecipeCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetSecurityRecipesSecurityRecipeCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetSecurityRecipesSecurityRecipeCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetSecurityRecipesSecurityRecipeCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -14077,18 +17381,49 @@ def __init__(__self__, *, :param str time_created: The time the recipe was created. An RFC3339 formatted datetime string. :param str time_updated: The time the recipe was last updated. An RFC3339 formatted datetime string. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "owner", owner) - pulumi.set(__self__, "security_policies", security_policies) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetSecurityRecipesSecurityRecipeCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + owner=owner, + security_policies=security_policies, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + owner: str, + security_policies: Sequence[str], + state: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("owner", owner) + _setter("security_policies", security_policies) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -14193,10 +17528,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSecurityZonesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -14218,7 +17566,16 @@ def regex(self) -> Optional[bool]: class GetSecurityZonesSecurityZoneCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetSecurityZonesSecurityZoneCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetSecurityZonesSecurityZoneCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetSecurityZonesSecurityZoneCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -14257,19 +17614,52 @@ def __init__(__self__, *, :param str time_created: The time the security zone was created. An RFC3339 formatted datetime string. :param str time_updated: The time the security zone was last updated. An RFC3339 formatted datetime string. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "inherited_by_compartments", inherited_by_compartments) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "security_zone_recipe_id", security_zone_recipe_id) - pulumi.set(__self__, "security_zone_target_id", security_zone_target_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetSecurityZonesSecurityZoneCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + inherited_by_compartments=inherited_by_compartments, + lifecycle_details=lifecycle_details, + security_zone_recipe_id=security_zone_recipe_id, + security_zone_target_id=security_zone_target_id, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + inherited_by_compartments: Sequence[str], + lifecycle_details: str, + security_zone_recipe_id: str, + security_zone_target_id: str, + state: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("inherited_by_compartments", inherited_by_compartments) + _setter("lifecycle_details", lifecycle_details) + _setter("security_zone_recipe_id", security_zone_recipe_id) + _setter("security_zone_target_id", security_zone_target_id) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") diff --git a/sdk/python/pulumi_oci/cloudguard/responder_recipe.py b/sdk/python/pulumi_oci/cloudguard/responder_recipe.py index 0436601077..0169682440 100644 --- a/sdk/python/pulumi_oci/cloudguard/responder_recipe.py +++ b/sdk/python/pulumi_oci/cloudguard/responder_recipe.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -43,17 +43,38 @@ def __init__(__self__, *, Avoid entering confidential information. :param pulumi.Input[Sequence[pulumi.Input['ResponderRecipeResponderRuleArgs']]] responder_rules: (Updatable) Responder Rules to override from source responder recipe """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "source_responder_recipe_id", source_responder_recipe_id) + ResponderRecipeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + source_responder_recipe_id=source_responder_recipe_id, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + responder_rules=responder_rules, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + source_responder_recipe_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + responder_rules: Optional[pulumi.Input[Sequence[pulumi.Input['ResponderRecipeResponderRuleArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) + _setter("source_responder_recipe_id", source_responder_recipe_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if responder_rules is not None: - pulumi.set(__self__, "responder_rules", responder_rules) + _setter("responder_rules", responder_rules) @property @pulumi.getter(name="compartmentId") @@ -194,34 +215,69 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the responder recipe was created. Format defined by RFC3339. :param pulumi.Input[str] time_updated: The date and time the responder recipe was updated. Format defined by RFC3339. """ + _ResponderRecipeState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + effective_responder_rules=effective_responder_rules, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + owner=owner, + responder_rules=responder_rules, + source_responder_recipe_id=source_responder_recipe_id, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + effective_responder_rules: Optional[pulumi.Input[Sequence[pulumi.Input['ResponderRecipeEffectiveResponderRuleArgs']]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + owner: Optional[pulumi.Input[str]] = None, + responder_rules: Optional[pulumi.Input[Sequence[pulumi.Input['ResponderRecipeResponderRuleArgs']]]] = None, + source_responder_recipe_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if effective_responder_rules is not None: - pulumi.set(__self__, "effective_responder_rules", effective_responder_rules) + _setter("effective_responder_rules", effective_responder_rules) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if owner is not None: - pulumi.set(__self__, "owner", owner) + _setter("owner", owner) if responder_rules is not None: - pulumi.set(__self__, "responder_rules", responder_rules) + _setter("responder_rules", responder_rules) if source_responder_recipe_id is not None: - pulumi.set(__self__, "source_responder_recipe_id", source_responder_recipe_id) + _setter("source_responder_recipe_id", source_responder_recipe_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -477,6 +533,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ResponderRecipeArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/cloudguard/security_recipe.py b/sdk/python/pulumi_oci/cloudguard/security_recipe.py index a44e8c1b9a..e658358e6a 100644 --- a/sdk/python/pulumi_oci/cloudguard/security_recipe.py +++ b/sdk/python/pulumi_oci/cloudguard/security_recipe.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['SecurityRecipeArgs', 'SecurityRecipe'] @@ -35,15 +35,34 @@ def __init__(__self__, *, Avoid entering confidential information. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "security_policies", security_policies) + SecurityRecipeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + security_policies=security_policies, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + security_policies: pulumi.Input[Sequence[pulumi.Input[str]]], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) + _setter("security_policies", security_policies) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="compartmentId") @@ -158,28 +177,57 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The time the recipe was created. An RFC3339 formatted datetime string. :param pulumi.Input[str] time_updated: The time the recipe was last updated. An RFC3339 formatted datetime string. """ + _SecurityRecipeState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + owner=owner, + security_policies=security_policies, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + owner: Optional[pulumi.Input[str]] = None, + security_policies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if owner is not None: - pulumi.set(__self__, "owner", owner) + _setter("owner", owner) if security_policies is not None: - pulumi.set(__self__, "security_policies", security_policies) + _setter("security_policies", security_policies) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -427,6 +475,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + SecurityRecipeArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/cloudguard/security_zone.py b/sdk/python/pulumi_oci/cloudguard/security_zone.py index 9dee6b0448..29c0e5aae5 100644 --- a/sdk/python/pulumi_oci/cloudguard/security_zone.py +++ b/sdk/python/pulumi_oci/cloudguard/security_zone.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['SecurityZoneArgs', 'SecurityZone'] @@ -35,15 +35,34 @@ def __init__(__self__, *, Avoid entering confidential information. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "security_zone_recipe_id", security_zone_recipe_id) + SecurityZoneArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + security_zone_recipe_id=security_zone_recipe_id, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + security_zone_recipe_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) + _setter("security_zone_recipe_id", security_zone_recipe_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="compartmentId") @@ -160,30 +179,61 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The time the security zone was created. An RFC3339 formatted datetime string. :param pulumi.Input[str] time_updated: The time the security zone was last updated. An RFC3339 formatted datetime string. """ + _SecurityZoneState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + inherited_by_compartments=inherited_by_compartments, + lifecycle_details=lifecycle_details, + security_zone_recipe_id=security_zone_recipe_id, + security_zone_target_id=security_zone_target_id, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + inherited_by_compartments: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + security_zone_recipe_id: Optional[pulumi.Input[str]] = None, + security_zone_target_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if inherited_by_compartments is not None: - pulumi.set(__self__, "inherited_by_compartments", inherited_by_compartments) + _setter("inherited_by_compartments", inherited_by_compartments) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if security_zone_recipe_id is not None: - pulumi.set(__self__, "security_zone_recipe_id", security_zone_recipe_id) + _setter("security_zone_recipe_id", security_zone_recipe_id) if security_zone_target_id is not None: - pulumi.set(__self__, "security_zone_target_id", security_zone_target_id) + _setter("security_zone_target_id", security_zone_target_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -443,6 +493,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + SecurityZoneArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/cloudguard/target.py b/sdk/python/pulumi_oci/cloudguard/target.py index 456385de9d..239e7e464f 100644 --- a/sdk/python/pulumi_oci/cloudguard/target.py +++ b/sdk/python/pulumi_oci/cloudguard/target.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -45,22 +45,49 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['TargetTargetDetectorRecipeArgs']]] target_detector_recipes: (Updatable) List of detector recipes to associate with target :param pulumi.Input[Sequence[pulumi.Input['TargetTargetResponderRecipeArgs']]] target_responder_recipes: (Updatable) List of responder recipes to associate with target """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "target_resource_id", target_resource_id) - pulumi.set(__self__, "target_resource_type", target_resource_type) + TargetArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + target_resource_id=target_resource_id, + target_resource_type=target_resource_type, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + state=state, + target_detector_recipes=target_detector_recipes, + target_responder_recipes=target_responder_recipes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + target_resource_id: pulumi.Input[str], + target_resource_type: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + state: Optional[pulumi.Input[str]] = None, + target_detector_recipes: Optional[pulumi.Input[Sequence[pulumi.Input['TargetTargetDetectorRecipeArgs']]]] = None, + target_responder_recipes: Optional[pulumi.Input[Sequence[pulumi.Input['TargetTargetResponderRecipeArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) + _setter("target_resource_id", target_resource_id) + _setter("target_resource_type", target_resource_type) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if target_detector_recipes is not None: - pulumi.set(__self__, "target_detector_recipes", target_detector_recipes) + _setter("target_detector_recipes", target_detector_recipes) if target_responder_recipes is not None: - pulumi.set(__self__, "target_responder_recipes", target_responder_recipes) + _setter("target_responder_recipes", target_responder_recipes) @property @pulumi.getter(name="compartmentId") @@ -235,40 +262,81 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the target was created. Format defined by RFC3339. :param pulumi.Input[str] time_updated: The date and time the target was updated. Format defined by RFC3339. """ + _TargetState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + inherited_by_compartments=inherited_by_compartments, + lifecyle_details=lifecyle_details, + recipe_count=recipe_count, + state=state, + system_tags=system_tags, + target_details=target_details, + target_detector_recipes=target_detector_recipes, + target_resource_id=target_resource_id, + target_resource_type=target_resource_type, + target_responder_recipes=target_responder_recipes, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + inherited_by_compartments: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + lifecyle_details: Optional[pulumi.Input[str]] = None, + recipe_count: Optional[pulumi.Input[int]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + target_details: Optional[pulumi.Input[Sequence[pulumi.Input['TargetTargetDetailArgs']]]] = None, + target_detector_recipes: Optional[pulumi.Input[Sequence[pulumi.Input['TargetTargetDetectorRecipeArgs']]]] = None, + target_resource_id: Optional[pulumi.Input[str]] = None, + target_resource_type: Optional[pulumi.Input[str]] = None, + target_responder_recipes: Optional[pulumi.Input[Sequence[pulumi.Input['TargetTargetResponderRecipeArgs']]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if inherited_by_compartments is not None: - pulumi.set(__self__, "inherited_by_compartments", inherited_by_compartments) + _setter("inherited_by_compartments", inherited_by_compartments) if lifecyle_details is not None: - pulumi.set(__self__, "lifecyle_details", lifecyle_details) + _setter("lifecyle_details", lifecyle_details) if recipe_count is not None: - pulumi.set(__self__, "recipe_count", recipe_count) + _setter("recipe_count", recipe_count) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if target_details is not None: - pulumi.set(__self__, "target_details", target_details) + _setter("target_details", target_details) if target_detector_recipes is not None: - pulumi.set(__self__, "target_detector_recipes", target_detector_recipes) + _setter("target_detector_recipes", target_detector_recipes) if target_resource_id is not None: - pulumi.set(__self__, "target_resource_id", target_resource_id) + _setter("target_resource_id", target_resource_id) if target_resource_type is not None: - pulumi.set(__self__, "target_resource_type", target_resource_type) + _setter("target_resource_type", target_resource_type) if target_responder_recipes is not None: - pulumi.set(__self__, "target_responder_recipes", target_responder_recipes) + _setter("target_responder_recipes", target_responder_recipes) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -654,6 +722,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + TargetArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/cloudmigrations/_inputs.py b/sdk/python/pulumi_oci/cloudmigrations/_inputs.py index 083aeed438..a093a410da 100644 --- a/sdk/python/pulumi_oci/cloudmigrations/_inputs.py +++ b/sdk/python/pulumi_oci/cloudmigrations/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -71,12 +71,25 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['MigrationPlanMigrationPlanStatTotalEstimatedCostArgs']]] total_estimated_costs: Cost estimation description :param pulumi.Input[int] vm_count: The total count of VMs in migration """ + MigrationPlanMigrationPlanStatArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + time_updated=time_updated, + total_estimated_costs=total_estimated_costs, + vm_count=vm_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + time_updated: Optional[pulumi.Input[str]] = None, + total_estimated_costs: Optional[pulumi.Input[Sequence[pulumi.Input['MigrationPlanMigrationPlanStatTotalEstimatedCostArgs']]]] = None, + vm_count: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if total_estimated_costs is not None: - pulumi.set(__self__, "total_estimated_costs", total_estimated_costs) + _setter("total_estimated_costs", total_estimated_costs) if vm_count is not None: - pulumi.set(__self__, "vm_count", vm_count) + _setter("vm_count", vm_count) @property @pulumi.getter(name="timeUpdated") @@ -134,20 +147,41 @@ def __init__(__self__, *, :param pulumi.Input[float] total_estimation_per_month: Total estimation per month :param pulumi.Input[float] total_estimation_per_month_by_subscription: Total estimation per month by subscription. """ + MigrationPlanMigrationPlanStatTotalEstimatedCostArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + computes=computes, + currency_code=currency_code, + os_images=os_images, + storages=storages, + subscription_id=subscription_id, + total_estimation_per_month=total_estimation_per_month, + total_estimation_per_month_by_subscription=total_estimation_per_month_by_subscription, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + computes: Optional[pulumi.Input[Sequence[pulumi.Input['MigrationPlanMigrationPlanStatTotalEstimatedCostComputeArgs']]]] = None, + currency_code: Optional[pulumi.Input[str]] = None, + os_images: Optional[pulumi.Input[Sequence[pulumi.Input['MigrationPlanMigrationPlanStatTotalEstimatedCostOsImageArgs']]]] = None, + storages: Optional[pulumi.Input[Sequence[pulumi.Input['MigrationPlanMigrationPlanStatTotalEstimatedCostStorageArgs']]]] = None, + subscription_id: Optional[pulumi.Input[str]] = None, + total_estimation_per_month: Optional[pulumi.Input[float]] = None, + total_estimation_per_month_by_subscription: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if computes is not None: - pulumi.set(__self__, "computes", computes) + _setter("computes", computes) if currency_code is not None: - pulumi.set(__self__, "currency_code", currency_code) + _setter("currency_code", currency_code) if os_images is not None: - pulumi.set(__self__, "os_images", os_images) + _setter("os_images", os_images) if storages is not None: - pulumi.set(__self__, "storages", storages) + _setter("storages", storages) if subscription_id is not None: - pulumi.set(__self__, "subscription_id", subscription_id) + _setter("subscription_id", subscription_id) if total_estimation_per_month is not None: - pulumi.set(__self__, "total_estimation_per_month", total_estimation_per_month) + _setter("total_estimation_per_month", total_estimation_per_month) if total_estimation_per_month_by_subscription is not None: - pulumi.set(__self__, "total_estimation_per_month_by_subscription", total_estimation_per_month_by_subscription) + _setter("total_estimation_per_month_by_subscription", total_estimation_per_month_by_subscription) @property @pulumi.getter @@ -261,28 +295,57 @@ def __init__(__self__, *, :param pulumi.Input[float] total_per_hour: Total price per hour :param pulumi.Input[float] total_per_hour_by_subscription: Total price per hour by subscription """ + MigrationPlanMigrationPlanStatTotalEstimatedCostComputeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + gpu_count=gpu_count, + gpu_per_hour=gpu_per_hour, + gpu_per_hour_by_subscription=gpu_per_hour_by_subscription, + memory_amount_gb=memory_amount_gb, + memory_gb_per_hour=memory_gb_per_hour, + memory_gb_per_hour_by_subscription=memory_gb_per_hour_by_subscription, + ocpu_count=ocpu_count, + ocpu_per_hour=ocpu_per_hour, + ocpu_per_hour_by_subscription=ocpu_per_hour_by_subscription, + total_per_hour=total_per_hour, + total_per_hour_by_subscription=total_per_hour_by_subscription, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + gpu_count: Optional[pulumi.Input[float]] = None, + gpu_per_hour: Optional[pulumi.Input[float]] = None, + gpu_per_hour_by_subscription: Optional[pulumi.Input[float]] = None, + memory_amount_gb: Optional[pulumi.Input[float]] = None, + memory_gb_per_hour: Optional[pulumi.Input[float]] = None, + memory_gb_per_hour_by_subscription: Optional[pulumi.Input[float]] = None, + ocpu_count: Optional[pulumi.Input[float]] = None, + ocpu_per_hour: Optional[pulumi.Input[float]] = None, + ocpu_per_hour_by_subscription: Optional[pulumi.Input[float]] = None, + total_per_hour: Optional[pulumi.Input[float]] = None, + total_per_hour_by_subscription: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if gpu_count is not None: - pulumi.set(__self__, "gpu_count", gpu_count) + _setter("gpu_count", gpu_count) if gpu_per_hour is not None: - pulumi.set(__self__, "gpu_per_hour", gpu_per_hour) + _setter("gpu_per_hour", gpu_per_hour) if gpu_per_hour_by_subscription is not None: - pulumi.set(__self__, "gpu_per_hour_by_subscription", gpu_per_hour_by_subscription) + _setter("gpu_per_hour_by_subscription", gpu_per_hour_by_subscription) if memory_amount_gb is not None: - pulumi.set(__self__, "memory_amount_gb", memory_amount_gb) + _setter("memory_amount_gb", memory_amount_gb) if memory_gb_per_hour is not None: - pulumi.set(__self__, "memory_gb_per_hour", memory_gb_per_hour) + _setter("memory_gb_per_hour", memory_gb_per_hour) if memory_gb_per_hour_by_subscription is not None: - pulumi.set(__self__, "memory_gb_per_hour_by_subscription", memory_gb_per_hour_by_subscription) + _setter("memory_gb_per_hour_by_subscription", memory_gb_per_hour_by_subscription) if ocpu_count is not None: - pulumi.set(__self__, "ocpu_count", ocpu_count) + _setter("ocpu_count", ocpu_count) if ocpu_per_hour is not None: - pulumi.set(__self__, "ocpu_per_hour", ocpu_per_hour) + _setter("ocpu_per_hour", ocpu_per_hour) if ocpu_per_hour_by_subscription is not None: - pulumi.set(__self__, "ocpu_per_hour_by_subscription", ocpu_per_hour_by_subscription) + _setter("ocpu_per_hour_by_subscription", ocpu_per_hour_by_subscription) if total_per_hour is not None: - pulumi.set(__self__, "total_per_hour", total_per_hour) + _setter("total_per_hour", total_per_hour) if total_per_hour_by_subscription is not None: - pulumi.set(__self__, "total_per_hour_by_subscription", total_per_hour_by_subscription) + _setter("total_per_hour_by_subscription", total_per_hour_by_subscription) @property @pulumi.getter(name="gpuCount") @@ -426,10 +489,21 @@ def __init__(__self__, *, :param pulumi.Input[float] total_per_hour: Total price per hour :param pulumi.Input[float] total_per_hour_by_subscription: Total price per hour by subscription """ + MigrationPlanMigrationPlanStatTotalEstimatedCostOsImageArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + total_per_hour=total_per_hour, + total_per_hour_by_subscription=total_per_hour_by_subscription, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + total_per_hour: Optional[pulumi.Input[float]] = None, + total_per_hour_by_subscription: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if total_per_hour is not None: - pulumi.set(__self__, "total_per_hour", total_per_hour) + _setter("total_per_hour", total_per_hour) if total_per_hour_by_subscription is not None: - pulumi.set(__self__, "total_per_hour_by_subscription", total_per_hour_by_subscription) + _setter("total_per_hour_by_subscription", total_per_hour_by_subscription) @property @pulumi.getter(name="totalPerHour") @@ -467,12 +541,25 @@ def __init__(__self__, *, :param pulumi.Input[float] total_gb_per_month_by_subscription: Gigabyte storage capacity per month by subscription :param pulumi.Input[Sequence[pulumi.Input['MigrationPlanMigrationPlanStatTotalEstimatedCostStorageVolumeArgs']]] volumes: Volume estimation """ + MigrationPlanMigrationPlanStatTotalEstimatedCostStorageArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + total_gb_per_month=total_gb_per_month, + total_gb_per_month_by_subscription=total_gb_per_month_by_subscription, + volumes=volumes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + total_gb_per_month: Optional[pulumi.Input[float]] = None, + total_gb_per_month_by_subscription: Optional[pulumi.Input[float]] = None, + volumes: Optional[pulumi.Input[Sequence[pulumi.Input['MigrationPlanMigrationPlanStatTotalEstimatedCostStorageVolumeArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if total_gb_per_month is not None: - pulumi.set(__self__, "total_gb_per_month", total_gb_per_month) + _setter("total_gb_per_month", total_gb_per_month) if total_gb_per_month_by_subscription is not None: - pulumi.set(__self__, "total_gb_per_month_by_subscription", total_gb_per_month_by_subscription) + _setter("total_gb_per_month_by_subscription", total_gb_per_month_by_subscription) if volumes is not None: - pulumi.set(__self__, "volumes", volumes) + _setter("volumes", volumes) @property @pulumi.getter(name="totalGbPerMonth") @@ -524,14 +611,29 @@ def __init__(__self__, *, :param pulumi.Input[float] total_gb_per_month: Gigabyte storage capacity per month. :param pulumi.Input[float] total_gb_per_month_by_subscription: Gigabyte storage capacity per month by subscription """ + MigrationPlanMigrationPlanStatTotalEstimatedCostStorageVolumeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + capacity_gb=capacity_gb, + description=description, + total_gb_per_month=total_gb_per_month, + total_gb_per_month_by_subscription=total_gb_per_month_by_subscription, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + capacity_gb: Optional[pulumi.Input[float]] = None, + description: Optional[pulumi.Input[str]] = None, + total_gb_per_month: Optional[pulumi.Input[float]] = None, + total_gb_per_month_by_subscription: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if capacity_gb is not None: - pulumi.set(__self__, "capacity_gb", capacity_gb) + _setter("capacity_gb", capacity_gb) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if total_gb_per_month is not None: - pulumi.set(__self__, "total_gb_per_month", total_gb_per_month) + _setter("total_gb_per_month", total_gb_per_month) if total_gb_per_month_by_subscription is not None: - pulumi.set(__self__, "total_gb_per_month_by_subscription", total_gb_per_month_by_subscription) + _setter("total_gb_per_month_by_subscription", total_gb_per_month_by_subscription) @property @pulumi.getter(name="capacityGb") @@ -599,16 +701,35 @@ def __init__(__self__, *, :param pulumi.Input[str] metric_type: (Updatable) The current state of the migration plan. :param pulumi.Input[str] percentile: (Updatable) Percentile value """ - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "strategy_type", strategy_type) + MigrationPlanStrategyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + resource_type=resource_type, + strategy_type=strategy_type, + adjustment_multiplier=adjustment_multiplier, + metric_time_window=metric_time_window, + metric_type=metric_type, + percentile=percentile, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + resource_type: pulumi.Input[str], + strategy_type: pulumi.Input[str], + adjustment_multiplier: Optional[pulumi.Input[float]] = None, + metric_time_window: Optional[pulumi.Input[str]] = None, + metric_type: Optional[pulumi.Input[str]] = None, + percentile: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("resource_type", resource_type) + _setter("strategy_type", strategy_type) if adjustment_multiplier is not None: - pulumi.set(__self__, "adjustment_multiplier", adjustment_multiplier) + _setter("adjustment_multiplier", adjustment_multiplier) if metric_time_window is not None: - pulumi.set(__self__, "metric_time_window", metric_time_window) + _setter("metric_time_window", metric_time_window) if metric_type is not None: - pulumi.set(__self__, "metric_type", metric_type) + _setter("metric_type", metric_type) if percentile is not None: - pulumi.set(__self__, "percentile", percentile) + _setter("percentile", percentile) @property @pulumi.getter(name="resourceType") @@ -710,21 +831,46 @@ def __init__(__self__, *, :param pulumi.Input[str] preferred_shape_type: (Updatable) Preferred VM shape type provided by the customer. :param pulumi.Input[str] target_compartment_id: (Updatable) Target compartment identifier """ - pulumi.set(__self__, "subnet", subnet) - pulumi.set(__self__, "target_environment_type", target_environment_type) - pulumi.set(__self__, "vcn", vcn) + MigrationPlanTargetEnvironmentArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + subnet=subnet, + target_environment_type=target_environment_type, + vcn=vcn, + availability_domain=availability_domain, + dedicated_vm_host=dedicated_vm_host, + fault_domain=fault_domain, + ms_license=ms_license, + preferred_shape_type=preferred_shape_type, + target_compartment_id=target_compartment_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + subnet: pulumi.Input[str], + target_environment_type: pulumi.Input[str], + vcn: pulumi.Input[str], + availability_domain: Optional[pulumi.Input[str]] = None, + dedicated_vm_host: Optional[pulumi.Input[str]] = None, + fault_domain: Optional[pulumi.Input[str]] = None, + ms_license: Optional[pulumi.Input[str]] = None, + preferred_shape_type: Optional[pulumi.Input[str]] = None, + target_compartment_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("subnet", subnet) + _setter("target_environment_type", target_environment_type) + _setter("vcn", vcn) if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if dedicated_vm_host is not None: - pulumi.set(__self__, "dedicated_vm_host", dedicated_vm_host) + _setter("dedicated_vm_host", dedicated_vm_host) if fault_domain is not None: - pulumi.set(__self__, "fault_domain", fault_domain) + _setter("fault_domain", fault_domain) if ms_license is not None: - pulumi.set(__self__, "ms_license", ms_license) + _setter("ms_license", ms_license) if preferred_shape_type is not None: - pulumi.set(__self__, "preferred_shape_type", preferred_shape_type) + _setter("preferred_shape_type", preferred_shape_type) if target_compartment_id is not None: - pulumi.set(__self__, "target_compartment_id", target_compartment_id) + _setter("target_compartment_id", target_compartment_id) @property @pulumi.getter @@ -850,12 +996,25 @@ def __init__(__self__, *, :param pulumi.Input[str] name: (Updatable) The plugin name. To get a list of available plugins, use the [ListInstanceagentAvailablePlugins](https://docs.cloud.oracle.com/iaas/api/#/en/instanceagent/20180530/Plugin/ListInstanceagentAvailablePlugins) operation in the Oracle Cloud Agent API. For more information about the available plugins, see [Managing Plugins with Oracle Cloud Agent](https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/manage-plugins.htm). :param pulumi.Input[str] severity: Severity level of the compatibility issue. """ + TargetAssetCompatibilityMessageArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + message=message, + name=name, + severity=severity, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + message: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + severity: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if message is not None: - pulumi.set(__self__, "message", message) + _setter("message", message) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if severity is not None: - pulumi.set(__self__, "severity", severity) + _setter("severity", severity) @property @pulumi.getter @@ -913,20 +1072,41 @@ def __init__(__self__, *, :param pulumi.Input[float] total_estimation_per_month: Total estimation per month :param pulumi.Input[float] total_estimation_per_month_by_subscription: Total estimation per month by subscription. """ + TargetAssetEstimatedCostArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + computes=computes, + currency_code=currency_code, + os_images=os_images, + storages=storages, + subscription_id=subscription_id, + total_estimation_per_month=total_estimation_per_month, + total_estimation_per_month_by_subscription=total_estimation_per_month_by_subscription, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + computes: Optional[pulumi.Input[Sequence[pulumi.Input['TargetAssetEstimatedCostComputeArgs']]]] = None, + currency_code: Optional[pulumi.Input[str]] = None, + os_images: Optional[pulumi.Input[Sequence[pulumi.Input['TargetAssetEstimatedCostOsImageArgs']]]] = None, + storages: Optional[pulumi.Input[Sequence[pulumi.Input['TargetAssetEstimatedCostStorageArgs']]]] = None, + subscription_id: Optional[pulumi.Input[str]] = None, + total_estimation_per_month: Optional[pulumi.Input[float]] = None, + total_estimation_per_month_by_subscription: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if computes is not None: - pulumi.set(__self__, "computes", computes) + _setter("computes", computes) if currency_code is not None: - pulumi.set(__self__, "currency_code", currency_code) + _setter("currency_code", currency_code) if os_images is not None: - pulumi.set(__self__, "os_images", os_images) + _setter("os_images", os_images) if storages is not None: - pulumi.set(__self__, "storages", storages) + _setter("storages", storages) if subscription_id is not None: - pulumi.set(__self__, "subscription_id", subscription_id) + _setter("subscription_id", subscription_id) if total_estimation_per_month is not None: - pulumi.set(__self__, "total_estimation_per_month", total_estimation_per_month) + _setter("total_estimation_per_month", total_estimation_per_month) if total_estimation_per_month_by_subscription is not None: - pulumi.set(__self__, "total_estimation_per_month_by_subscription", total_estimation_per_month_by_subscription) + _setter("total_estimation_per_month_by_subscription", total_estimation_per_month_by_subscription) @property @pulumi.getter @@ -1040,28 +1220,57 @@ def __init__(__self__, *, :param pulumi.Input[float] total_per_hour: Total price per hour :param pulumi.Input[float] total_per_hour_by_subscription: Total price per hour by subscription """ + TargetAssetEstimatedCostComputeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + gpu_count=gpu_count, + gpu_per_hour=gpu_per_hour, + gpu_per_hour_by_subscription=gpu_per_hour_by_subscription, + memory_amount_gb=memory_amount_gb, + memory_gb_per_hour=memory_gb_per_hour, + memory_gb_per_hour_by_subscription=memory_gb_per_hour_by_subscription, + ocpu_count=ocpu_count, + ocpu_per_hour=ocpu_per_hour, + ocpu_per_hour_by_subscription=ocpu_per_hour_by_subscription, + total_per_hour=total_per_hour, + total_per_hour_by_subscription=total_per_hour_by_subscription, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + gpu_count: Optional[pulumi.Input[float]] = None, + gpu_per_hour: Optional[pulumi.Input[float]] = None, + gpu_per_hour_by_subscription: Optional[pulumi.Input[float]] = None, + memory_amount_gb: Optional[pulumi.Input[float]] = None, + memory_gb_per_hour: Optional[pulumi.Input[float]] = None, + memory_gb_per_hour_by_subscription: Optional[pulumi.Input[float]] = None, + ocpu_count: Optional[pulumi.Input[float]] = None, + ocpu_per_hour: Optional[pulumi.Input[float]] = None, + ocpu_per_hour_by_subscription: Optional[pulumi.Input[float]] = None, + total_per_hour: Optional[pulumi.Input[float]] = None, + total_per_hour_by_subscription: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if gpu_count is not None: - pulumi.set(__self__, "gpu_count", gpu_count) + _setter("gpu_count", gpu_count) if gpu_per_hour is not None: - pulumi.set(__self__, "gpu_per_hour", gpu_per_hour) + _setter("gpu_per_hour", gpu_per_hour) if gpu_per_hour_by_subscription is not None: - pulumi.set(__self__, "gpu_per_hour_by_subscription", gpu_per_hour_by_subscription) + _setter("gpu_per_hour_by_subscription", gpu_per_hour_by_subscription) if memory_amount_gb is not None: - pulumi.set(__self__, "memory_amount_gb", memory_amount_gb) + _setter("memory_amount_gb", memory_amount_gb) if memory_gb_per_hour is not None: - pulumi.set(__self__, "memory_gb_per_hour", memory_gb_per_hour) + _setter("memory_gb_per_hour", memory_gb_per_hour) if memory_gb_per_hour_by_subscription is not None: - pulumi.set(__self__, "memory_gb_per_hour_by_subscription", memory_gb_per_hour_by_subscription) + _setter("memory_gb_per_hour_by_subscription", memory_gb_per_hour_by_subscription) if ocpu_count is not None: - pulumi.set(__self__, "ocpu_count", ocpu_count) + _setter("ocpu_count", ocpu_count) if ocpu_per_hour is not None: - pulumi.set(__self__, "ocpu_per_hour", ocpu_per_hour) + _setter("ocpu_per_hour", ocpu_per_hour) if ocpu_per_hour_by_subscription is not None: - pulumi.set(__self__, "ocpu_per_hour_by_subscription", ocpu_per_hour_by_subscription) + _setter("ocpu_per_hour_by_subscription", ocpu_per_hour_by_subscription) if total_per_hour is not None: - pulumi.set(__self__, "total_per_hour", total_per_hour) + _setter("total_per_hour", total_per_hour) if total_per_hour_by_subscription is not None: - pulumi.set(__self__, "total_per_hour_by_subscription", total_per_hour_by_subscription) + _setter("total_per_hour_by_subscription", total_per_hour_by_subscription) @property @pulumi.getter(name="gpuCount") @@ -1205,10 +1414,21 @@ def __init__(__self__, *, :param pulumi.Input[float] total_per_hour: Total price per hour :param pulumi.Input[float] total_per_hour_by_subscription: Total price per hour by subscription """ + TargetAssetEstimatedCostOsImageArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + total_per_hour=total_per_hour, + total_per_hour_by_subscription=total_per_hour_by_subscription, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + total_per_hour: Optional[pulumi.Input[float]] = None, + total_per_hour_by_subscription: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if total_per_hour is not None: - pulumi.set(__self__, "total_per_hour", total_per_hour) + _setter("total_per_hour", total_per_hour) if total_per_hour_by_subscription is not None: - pulumi.set(__self__, "total_per_hour_by_subscription", total_per_hour_by_subscription) + _setter("total_per_hour_by_subscription", total_per_hour_by_subscription) @property @pulumi.getter(name="totalPerHour") @@ -1246,12 +1466,25 @@ def __init__(__self__, *, :param pulumi.Input[float] total_gb_per_month_by_subscription: Gigabyte storage capacity per month by subscription :param pulumi.Input[Sequence[pulumi.Input['TargetAssetEstimatedCostStorageVolumeArgs']]] volumes: Volume estimation """ + TargetAssetEstimatedCostStorageArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + total_gb_per_month=total_gb_per_month, + total_gb_per_month_by_subscription=total_gb_per_month_by_subscription, + volumes=volumes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + total_gb_per_month: Optional[pulumi.Input[float]] = None, + total_gb_per_month_by_subscription: Optional[pulumi.Input[float]] = None, + volumes: Optional[pulumi.Input[Sequence[pulumi.Input['TargetAssetEstimatedCostStorageVolumeArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if total_gb_per_month is not None: - pulumi.set(__self__, "total_gb_per_month", total_gb_per_month) + _setter("total_gb_per_month", total_gb_per_month) if total_gb_per_month_by_subscription is not None: - pulumi.set(__self__, "total_gb_per_month_by_subscription", total_gb_per_month_by_subscription) + _setter("total_gb_per_month_by_subscription", total_gb_per_month_by_subscription) if volumes is not None: - pulumi.set(__self__, "volumes", volumes) + _setter("volumes", volumes) @property @pulumi.getter(name="totalGbPerMonth") @@ -1303,14 +1536,29 @@ def __init__(__self__, *, :param pulumi.Input[float] total_gb_per_month: Gigabyte storage capacity per month. :param pulumi.Input[float] total_gb_per_month_by_subscription: Gigabyte storage capacity per month by subscription """ + TargetAssetEstimatedCostStorageVolumeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + capacity_gb=capacity_gb, + description=description, + total_gb_per_month=total_gb_per_month, + total_gb_per_month_by_subscription=total_gb_per_month_by_subscription, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + capacity_gb: Optional[pulumi.Input[float]] = None, + description: Optional[pulumi.Input[str]] = None, + total_gb_per_month: Optional[pulumi.Input[float]] = None, + total_gb_per_month_by_subscription: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if capacity_gb is not None: - pulumi.set(__self__, "capacity_gb", capacity_gb) + _setter("capacity_gb", capacity_gb) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if total_gb_per_month is not None: - pulumi.set(__self__, "total_gb_per_month", total_gb_per_month) + _setter("total_gb_per_month", total_gb_per_month) if total_gb_per_month_by_subscription is not None: - pulumi.set(__self__, "total_gb_per_month_by_subscription", total_gb_per_month_by_subscription) + _setter("total_gb_per_month_by_subscription", total_gb_per_month_by_subscription) @property @pulumi.getter(name="capacityGb") @@ -1408,48 +1656,97 @@ def __init__(__self__, *, :param pulumi.Input[str] time_updated: The time when the target asset was updated. An RFC3339 formatted datetime string. :param pulumi.Input[str] type: (Updatable) The type of action to run when the instance is interrupted for eviction. """ + TargetAssetMigrationAssetArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + compartment_id=compartment_id, + depended_on_bies=depended_on_bies, + depends_ons=depends_ons, + display_name=display_name, + id=id, + lifecycle_details=lifecycle_details, + migration_id=migration_id, + notifications=notifications, + parent_snapshot=parent_snapshot, + replication_compartment_id=replication_compartment_id, + replication_schedule_id=replication_schedule_id, + snap_shot_bucket_name=snap_shot_bucket_name, + snapshots=snapshots, + source_asset_data=source_asset_data, + source_asset_id=source_asset_id, + state=state, + tenancy_id=tenancy_id, + time_created=time_created, + time_updated=time_updated, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + depended_on_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + depends_ons: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + id: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + migration_id: Optional[pulumi.Input[str]] = None, + notifications: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + parent_snapshot: Optional[pulumi.Input[str]] = None, + replication_compartment_id: Optional[pulumi.Input[str]] = None, + replication_schedule_id: Optional[pulumi.Input[str]] = None, + snap_shot_bucket_name: Optional[pulumi.Input[str]] = None, + snapshots: Optional[pulumi.Input[Mapping[str, Any]]] = None, + source_asset_data: Optional[pulumi.Input[Mapping[str, Any]]] = None, + source_asset_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + tenancy_id: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if depended_on_bies is not None: - pulumi.set(__self__, "depended_on_bies", depended_on_bies) + _setter("depended_on_bies", depended_on_bies) if depends_ons is not None: - pulumi.set(__self__, "depends_ons", depends_ons) + _setter("depends_ons", depends_ons) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if migration_id is not None: - pulumi.set(__self__, "migration_id", migration_id) + _setter("migration_id", migration_id) if notifications is not None: - pulumi.set(__self__, "notifications", notifications) + _setter("notifications", notifications) if parent_snapshot is not None: - pulumi.set(__self__, "parent_snapshot", parent_snapshot) + _setter("parent_snapshot", parent_snapshot) if replication_compartment_id is not None: - pulumi.set(__self__, "replication_compartment_id", replication_compartment_id) + _setter("replication_compartment_id", replication_compartment_id) if replication_schedule_id is not None: - pulumi.set(__self__, "replication_schedule_id", replication_schedule_id) + _setter("replication_schedule_id", replication_schedule_id) if snap_shot_bucket_name is not None: - pulumi.set(__self__, "snap_shot_bucket_name", snap_shot_bucket_name) + _setter("snap_shot_bucket_name", snap_shot_bucket_name) if snapshots is not None: - pulumi.set(__self__, "snapshots", snapshots) + _setter("snapshots", snapshots) if source_asset_data is not None: - pulumi.set(__self__, "source_asset_data", source_asset_data) + _setter("source_asset_data", source_asset_data) if source_asset_id is not None: - pulumi.set(__self__, "source_asset_id", source_asset_id) + _setter("source_asset_id", source_asset_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if tenancy_id is not None: - pulumi.set(__self__, "tenancy_id", tenancy_id) + _setter("tenancy_id", tenancy_id) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter(name="availabilityDomain") @@ -1769,42 +2066,85 @@ def __init__(__self__, *, Each shape only supports certain configurable values. If the values that you provide are not valid for the specified `shape`, an error is returned. :param pulumi.Input[Sequence[pulumi.Input['TargetAssetRecommendedSpecSourceDetailArgs']]] source_details: (Updatable) """ + TargetAssetRecommendedSpecArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + agent_configs=agent_configs, + availability_domain=availability_domain, + capacity_reservation_id=capacity_reservation_id, + compartment_id=compartment_id, + create_vnic_details=create_vnic_details, + dedicated_vm_host_id=dedicated_vm_host_id, + defined_tags=defined_tags, + display_name=display_name, + fault_domain=fault_domain, + freeform_tags=freeform_tags, + hostname_label=hostname_label, + instance_options=instance_options, + ipxe_script=ipxe_script, + is_pv_encryption_in_transit_enabled=is_pv_encryption_in_transit_enabled, + preemptible_instance_configs=preemptible_instance_configs, + shape=shape, + shape_configs=shape_configs, + source_details=source_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agent_configs: Optional[pulumi.Input[Sequence[pulumi.Input['TargetAssetRecommendedSpecAgentConfigArgs']]]] = None, + availability_domain: Optional[pulumi.Input[str]] = None, + capacity_reservation_id: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + create_vnic_details: Optional[pulumi.Input[Sequence[pulumi.Input['TargetAssetRecommendedSpecCreateVnicDetailArgs']]]] = None, + dedicated_vm_host_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + fault_domain: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + hostname_label: Optional[pulumi.Input[str]] = None, + instance_options: Optional[pulumi.Input[Sequence[pulumi.Input['TargetAssetRecommendedSpecInstanceOptionArgs']]]] = None, + ipxe_script: Optional[pulumi.Input[str]] = None, + is_pv_encryption_in_transit_enabled: Optional[pulumi.Input[bool]] = None, + preemptible_instance_configs: Optional[pulumi.Input[Sequence[pulumi.Input['TargetAssetRecommendedSpecPreemptibleInstanceConfigArgs']]]] = None, + shape: Optional[pulumi.Input[str]] = None, + shape_configs: Optional[pulumi.Input[Sequence[pulumi.Input['TargetAssetRecommendedSpecShapeConfigArgs']]]] = None, + source_details: Optional[pulumi.Input[Sequence[pulumi.Input['TargetAssetRecommendedSpecSourceDetailArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if agent_configs is not None: - pulumi.set(__self__, "agent_configs", agent_configs) + _setter("agent_configs", agent_configs) if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if capacity_reservation_id is not None: - pulumi.set(__self__, "capacity_reservation_id", capacity_reservation_id) + _setter("capacity_reservation_id", capacity_reservation_id) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if create_vnic_details is not None: - pulumi.set(__self__, "create_vnic_details", create_vnic_details) + _setter("create_vnic_details", create_vnic_details) if dedicated_vm_host_id is not None: - pulumi.set(__self__, "dedicated_vm_host_id", dedicated_vm_host_id) + _setter("dedicated_vm_host_id", dedicated_vm_host_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if fault_domain is not None: - pulumi.set(__self__, "fault_domain", fault_domain) + _setter("fault_domain", fault_domain) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if hostname_label is not None: - pulumi.set(__self__, "hostname_label", hostname_label) + _setter("hostname_label", hostname_label) if instance_options is not None: - pulumi.set(__self__, "instance_options", instance_options) + _setter("instance_options", instance_options) if ipxe_script is not None: - pulumi.set(__self__, "ipxe_script", ipxe_script) + _setter("ipxe_script", ipxe_script) if is_pv_encryption_in_transit_enabled is not None: - pulumi.set(__self__, "is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) + _setter("is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) if preemptible_instance_configs is not None: - pulumi.set(__self__, "preemptible_instance_configs", preemptible_instance_configs) + _setter("preemptible_instance_configs", preemptible_instance_configs) if shape is not None: - pulumi.set(__self__, "shape", shape) + _setter("shape", shape) if shape_configs is not None: - pulumi.set(__self__, "shape_configs", shape_configs) + _setter("shape_configs", shape_configs) if source_details is not None: - pulumi.set(__self__, "source_details", source_details) + _setter("source_details", source_details) @property @pulumi.getter(name="agentConfigs") @@ -2074,14 +2414,29 @@ def __init__(__self__, *, * If `isMonitoringDisabled` is false, all the monitoring plugins are enabled. You can optionally disable individual monitoring plugins by providing a value in the `pluginsConfig` object. :param pulumi.Input[Sequence[pulumi.Input['TargetAssetRecommendedSpecAgentConfigPluginsConfigArgs']]] plugins_configs: (Updatable) The configuration of plugins associated with this instance. """ + TargetAssetRecommendedSpecAgentConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + are_all_plugins_disabled=are_all_plugins_disabled, + is_management_disabled=is_management_disabled, + is_monitoring_disabled=is_monitoring_disabled, + plugins_configs=plugins_configs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + are_all_plugins_disabled: Optional[pulumi.Input[bool]] = None, + is_management_disabled: Optional[pulumi.Input[bool]] = None, + is_monitoring_disabled: Optional[pulumi.Input[bool]] = None, + plugins_configs: Optional[pulumi.Input[Sequence[pulumi.Input['TargetAssetRecommendedSpecAgentConfigPluginsConfigArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if are_all_plugins_disabled is not None: - pulumi.set(__self__, "are_all_plugins_disabled", are_all_plugins_disabled) + _setter("are_all_plugins_disabled", are_all_plugins_disabled) if is_management_disabled is not None: - pulumi.set(__self__, "is_management_disabled", is_management_disabled) + _setter("is_management_disabled", is_management_disabled) if is_monitoring_disabled is not None: - pulumi.set(__self__, "is_monitoring_disabled", is_monitoring_disabled) + _setter("is_monitoring_disabled", is_monitoring_disabled) if plugins_configs is not None: - pulumi.set(__self__, "plugins_configs", plugins_configs) + _setter("plugins_configs", plugins_configs) @property @pulumi.getter(name="areAllPluginsDisabled") @@ -2157,10 +2512,21 @@ def __init__(__self__, *, To enable the monitoring and management plugins, the `isMonitoringDisabled` and `isManagementDisabled` attributes must also be set to false. :param pulumi.Input[str] name: (Updatable) The plugin name. To get a list of available plugins, use the [ListInstanceagentAvailablePlugins](https://docs.cloud.oracle.com/iaas/api/#/en/instanceagent/20180530/Plugin/ListInstanceagentAvailablePlugins) operation in the Oracle Cloud Agent API. For more information about the available plugins, see [Managing Plugins with Oracle Cloud Agent](https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/manage-plugins.htm). """ + TargetAssetRecommendedSpecAgentConfigPluginsConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + desired_state=desired_state, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + desired_state: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if desired_state is not None: - pulumi.set(__self__, "desired_state", desired_state) + _setter("desired_state", desired_state) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter(name="desiredState") @@ -2240,28 +2606,57 @@ def __init__(__self__, *, Provide a `vlanId` instead of a `subnetId`. If you provide both `vlanId` and `subnetId`, the request fails. """ + TargetAssetRecommendedSpecCreateVnicDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + assign_private_dns_record=assign_private_dns_record, + assign_public_ip=assign_public_ip, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + hostname_label=hostname_label, + nsg_ids=nsg_ids, + private_ip=private_ip, + skip_source_dest_check=skip_source_dest_check, + subnet_id=subnet_id, + vlan_id=vlan_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + assign_private_dns_record: Optional[pulumi.Input[bool]] = None, + assign_public_ip: Optional[pulumi.Input[bool]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + hostname_label: Optional[pulumi.Input[str]] = None, + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + private_ip: Optional[pulumi.Input[str]] = None, + skip_source_dest_check: Optional[pulumi.Input[bool]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + vlan_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if assign_private_dns_record is not None: - pulumi.set(__self__, "assign_private_dns_record", assign_private_dns_record) + _setter("assign_private_dns_record", assign_private_dns_record) if assign_public_ip is not None: - pulumi.set(__self__, "assign_public_ip", assign_public_ip) + _setter("assign_public_ip", assign_public_ip) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if hostname_label is not None: - pulumi.set(__self__, "hostname_label", hostname_label) + _setter("hostname_label", hostname_label) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) if private_ip is not None: - pulumi.set(__self__, "private_ip", private_ip) + _setter("private_ip", private_ip) if skip_source_dest_check is not None: - pulumi.set(__self__, "skip_source_dest_check", skip_source_dest_check) + _setter("skip_source_dest_check", skip_source_dest_check) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) if vlan_id is not None: - pulumi.set(__self__, "vlan_id", vlan_id) + _setter("vlan_id", vlan_id) @property @pulumi.getter(name="assignPrivateDnsRecord") @@ -2427,8 +2822,17 @@ def __init__(__self__, *, """ :param pulumi.Input[bool] are_legacy_imds_endpoints_disabled: (Updatable) Whether to disable the legacy (/v1) instance metadata service endpoints. Customers who have migrated to /v2 should set this to true for added security. Default is false. """ + TargetAssetRecommendedSpecInstanceOptionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + are_legacy_imds_endpoints_disabled=are_legacy_imds_endpoints_disabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + are_legacy_imds_endpoints_disabled: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if are_legacy_imds_endpoints_disabled is not None: - pulumi.set(__self__, "are_legacy_imds_endpoints_disabled", are_legacy_imds_endpoints_disabled) + _setter("are_legacy_imds_endpoints_disabled", are_legacy_imds_endpoints_disabled) @property @pulumi.getter(name="areLegacyImdsEndpointsDisabled") @@ -2450,8 +2854,17 @@ def __init__(__self__, *, """ :param pulumi.Input[Sequence[pulumi.Input['TargetAssetRecommendedSpecPreemptibleInstanceConfigPreemptionActionArgs']]] preemption_actions: (Updatable) The action to run when the preemptible instance is interrupted for eviction. """ + TargetAssetRecommendedSpecPreemptibleInstanceConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + preemption_actions=preemption_actions, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + preemption_actions: Optional[pulumi.Input[Sequence[pulumi.Input['TargetAssetRecommendedSpecPreemptibleInstanceConfigPreemptionActionArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if preemption_actions is not None: - pulumi.set(__self__, "preemption_actions", preemption_actions) + _setter("preemption_actions", preemption_actions) @property @pulumi.getter(name="preemptionActions") @@ -2475,10 +2888,21 @@ def __init__(__self__, *, :param pulumi.Input[bool] preserve_boot_volume: (Updatable) Whether to preserve the boot volume that was used to launch the preemptible instance when the instance is terminated. By default, it is false if not specified. :param pulumi.Input[str] type: (Updatable) The type of action to run when the instance is interrupted for eviction. """ + TargetAssetRecommendedSpecPreemptibleInstanceConfigPreemptionActionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + preserve_boot_volume=preserve_boot_volume, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + preserve_boot_volume: Optional[pulumi.Input[bool]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if preserve_boot_volume is not None: - pulumi.set(__self__, "preserve_boot_volume", preserve_boot_volume) + _setter("preserve_boot_volume", preserve_boot_volume) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter(name="preserveBootVolume") @@ -2518,12 +2942,25 @@ def __init__(__self__, *, :param pulumi.Input[float] memory_in_gbs: (Updatable) The total amount of memory in gigabytes that is available to the instance. :param pulumi.Input[float] ocpus: (Updatable) The total number of OCPUs available to the instance. """ + TargetAssetRecommendedSpecShapeConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + baseline_ocpu_utilization=baseline_ocpu_utilization, + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + baseline_ocpu_utilization: Optional[pulumi.Input[str]] = None, + memory_in_gbs: Optional[pulumi.Input[float]] = None, + ocpus: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if baseline_ocpu_utilization is not None: - pulumi.set(__self__, "baseline_ocpu_utilization", baseline_ocpu_utilization) + _setter("baseline_ocpu_utilization", baseline_ocpu_utilization) if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) if ocpus is not None: - pulumi.set(__self__, "ocpus", ocpus) + _setter("ocpus", ocpus) @property @pulumi.getter(name="baselineOcpuUtilization") @@ -2587,18 +3024,37 @@ def __init__(__self__, *, ** 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 """ + TargetAssetRecommendedSpecSourceDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + boot_volume_id=boot_volume_id, + boot_volume_size_in_gbs=boot_volume_size_in_gbs, + boot_volume_vpus_per_gb=boot_volume_vpus_per_gb, + image_id=image_id, + kms_key_id=kms_key_id, + source_type=source_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + boot_volume_id: Optional[pulumi.Input[str]] = None, + boot_volume_size_in_gbs: Optional[pulumi.Input[str]] = None, + boot_volume_vpus_per_gb: Optional[pulumi.Input[str]] = None, + image_id: Optional[pulumi.Input[str]] = None, + kms_key_id: Optional[pulumi.Input[str]] = None, + source_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if boot_volume_id is not None: - pulumi.set(__self__, "boot_volume_id", boot_volume_id) + _setter("boot_volume_id", boot_volume_id) if boot_volume_size_in_gbs is not None: - pulumi.set(__self__, "boot_volume_size_in_gbs", boot_volume_size_in_gbs) + _setter("boot_volume_size_in_gbs", boot_volume_size_in_gbs) if boot_volume_vpus_per_gb is not None: - pulumi.set(__self__, "boot_volume_vpus_per_gb", boot_volume_vpus_per_gb) + _setter("boot_volume_vpus_per_gb", boot_volume_vpus_per_gb) if image_id is not None: - pulumi.set(__self__, "image_id", image_id) + _setter("image_id", image_id) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) if source_type is not None: - pulumi.set(__self__, "source_type", source_type) + _setter("source_type", source_type) @property @pulumi.getter(name="bootVolumeId") @@ -2744,42 +3200,85 @@ def __init__(__self__, *, Each shape only supports certain configurable values. If the values that you provide are not valid for the specified `shape`, an error is returned. :param pulumi.Input[Sequence[pulumi.Input['TargetAssetTestSpecSourceDetailArgs']]] source_details: (Updatable) """ + TargetAssetTestSpecArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + agent_configs=agent_configs, + availability_domain=availability_domain, + capacity_reservation_id=capacity_reservation_id, + compartment_id=compartment_id, + create_vnic_details=create_vnic_details, + dedicated_vm_host_id=dedicated_vm_host_id, + defined_tags=defined_tags, + display_name=display_name, + fault_domain=fault_domain, + freeform_tags=freeform_tags, + hostname_label=hostname_label, + instance_options=instance_options, + ipxe_script=ipxe_script, + is_pv_encryption_in_transit_enabled=is_pv_encryption_in_transit_enabled, + preemptible_instance_configs=preemptible_instance_configs, + shape=shape, + shape_configs=shape_configs, + source_details=source_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agent_configs: Optional[pulumi.Input[Sequence[pulumi.Input['TargetAssetTestSpecAgentConfigArgs']]]] = None, + availability_domain: Optional[pulumi.Input[str]] = None, + capacity_reservation_id: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + create_vnic_details: Optional[pulumi.Input[Sequence[pulumi.Input['TargetAssetTestSpecCreateVnicDetailArgs']]]] = None, + dedicated_vm_host_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + fault_domain: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + hostname_label: Optional[pulumi.Input[str]] = None, + instance_options: Optional[pulumi.Input[Sequence[pulumi.Input['TargetAssetTestSpecInstanceOptionArgs']]]] = None, + ipxe_script: Optional[pulumi.Input[str]] = None, + is_pv_encryption_in_transit_enabled: Optional[pulumi.Input[bool]] = None, + preemptible_instance_configs: Optional[pulumi.Input[Sequence[pulumi.Input['TargetAssetTestSpecPreemptibleInstanceConfigArgs']]]] = None, + shape: Optional[pulumi.Input[str]] = None, + shape_configs: Optional[pulumi.Input[Sequence[pulumi.Input['TargetAssetTestSpecShapeConfigArgs']]]] = None, + source_details: Optional[pulumi.Input[Sequence[pulumi.Input['TargetAssetTestSpecSourceDetailArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if agent_configs is not None: - pulumi.set(__self__, "agent_configs", agent_configs) + _setter("agent_configs", agent_configs) if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if capacity_reservation_id is not None: - pulumi.set(__self__, "capacity_reservation_id", capacity_reservation_id) + _setter("capacity_reservation_id", capacity_reservation_id) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if create_vnic_details is not None: - pulumi.set(__self__, "create_vnic_details", create_vnic_details) + _setter("create_vnic_details", create_vnic_details) if dedicated_vm_host_id is not None: - pulumi.set(__self__, "dedicated_vm_host_id", dedicated_vm_host_id) + _setter("dedicated_vm_host_id", dedicated_vm_host_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if fault_domain is not None: - pulumi.set(__self__, "fault_domain", fault_domain) + _setter("fault_domain", fault_domain) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if hostname_label is not None: - pulumi.set(__self__, "hostname_label", hostname_label) + _setter("hostname_label", hostname_label) if instance_options is not None: - pulumi.set(__self__, "instance_options", instance_options) + _setter("instance_options", instance_options) if ipxe_script is not None: - pulumi.set(__self__, "ipxe_script", ipxe_script) + _setter("ipxe_script", ipxe_script) if is_pv_encryption_in_transit_enabled is not None: - pulumi.set(__self__, "is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) + _setter("is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) if preemptible_instance_configs is not None: - pulumi.set(__self__, "preemptible_instance_configs", preemptible_instance_configs) + _setter("preemptible_instance_configs", preemptible_instance_configs) if shape is not None: - pulumi.set(__self__, "shape", shape) + _setter("shape", shape) if shape_configs is not None: - pulumi.set(__self__, "shape_configs", shape_configs) + _setter("shape_configs", shape_configs) if source_details is not None: - pulumi.set(__self__, "source_details", source_details) + _setter("source_details", source_details) @property @pulumi.getter(name="agentConfigs") @@ -3049,14 +3548,29 @@ def __init__(__self__, *, * If `isMonitoringDisabled` is false, all the monitoring plugins are enabled. You can optionally disable individual monitoring plugins by providing a value in the `pluginsConfig` object. :param pulumi.Input[Sequence[pulumi.Input['TargetAssetTestSpecAgentConfigPluginsConfigArgs']]] plugins_configs: (Updatable) The configuration of plugins associated with this instance. """ + TargetAssetTestSpecAgentConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + are_all_plugins_disabled=are_all_plugins_disabled, + is_management_disabled=is_management_disabled, + is_monitoring_disabled=is_monitoring_disabled, + plugins_configs=plugins_configs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + are_all_plugins_disabled: Optional[pulumi.Input[bool]] = None, + is_management_disabled: Optional[pulumi.Input[bool]] = None, + is_monitoring_disabled: Optional[pulumi.Input[bool]] = None, + plugins_configs: Optional[pulumi.Input[Sequence[pulumi.Input['TargetAssetTestSpecAgentConfigPluginsConfigArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if are_all_plugins_disabled is not None: - pulumi.set(__self__, "are_all_plugins_disabled", are_all_plugins_disabled) + _setter("are_all_plugins_disabled", are_all_plugins_disabled) if is_management_disabled is not None: - pulumi.set(__self__, "is_management_disabled", is_management_disabled) + _setter("is_management_disabled", is_management_disabled) if is_monitoring_disabled is not None: - pulumi.set(__self__, "is_monitoring_disabled", is_monitoring_disabled) + _setter("is_monitoring_disabled", is_monitoring_disabled) if plugins_configs is not None: - pulumi.set(__self__, "plugins_configs", plugins_configs) + _setter("plugins_configs", plugins_configs) @property @pulumi.getter(name="areAllPluginsDisabled") @@ -3132,10 +3646,21 @@ def __init__(__self__, *, To enable the monitoring and management plugins, the `isMonitoringDisabled` and `isManagementDisabled` attributes must also be set to false. :param pulumi.Input[str] name: (Updatable) The plugin name. To get a list of available plugins, use the [ListInstanceagentAvailablePlugins](https://docs.cloud.oracle.com/iaas/api/#/en/instanceagent/20180530/Plugin/ListInstanceagentAvailablePlugins) operation in the Oracle Cloud Agent API. For more information about the available plugins, see [Managing Plugins with Oracle Cloud Agent](https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/manage-plugins.htm). """ + TargetAssetTestSpecAgentConfigPluginsConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + desired_state=desired_state, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + desired_state: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if desired_state is not None: - pulumi.set(__self__, "desired_state", desired_state) + _setter("desired_state", desired_state) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter(name="desiredState") @@ -3215,28 +3740,57 @@ def __init__(__self__, *, Provide a `vlanId` instead of a `subnetId`. If you provide both `vlanId` and `subnetId`, the request fails. """ + TargetAssetTestSpecCreateVnicDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + assign_private_dns_record=assign_private_dns_record, + assign_public_ip=assign_public_ip, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + hostname_label=hostname_label, + nsg_ids=nsg_ids, + private_ip=private_ip, + skip_source_dest_check=skip_source_dest_check, + subnet_id=subnet_id, + vlan_id=vlan_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + assign_private_dns_record: Optional[pulumi.Input[bool]] = None, + assign_public_ip: Optional[pulumi.Input[bool]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + hostname_label: Optional[pulumi.Input[str]] = None, + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + private_ip: Optional[pulumi.Input[str]] = None, + skip_source_dest_check: Optional[pulumi.Input[bool]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + vlan_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if assign_private_dns_record is not None: - pulumi.set(__self__, "assign_private_dns_record", assign_private_dns_record) + _setter("assign_private_dns_record", assign_private_dns_record) if assign_public_ip is not None: - pulumi.set(__self__, "assign_public_ip", assign_public_ip) + _setter("assign_public_ip", assign_public_ip) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if hostname_label is not None: - pulumi.set(__self__, "hostname_label", hostname_label) + _setter("hostname_label", hostname_label) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) if private_ip is not None: - pulumi.set(__self__, "private_ip", private_ip) + _setter("private_ip", private_ip) if skip_source_dest_check is not None: - pulumi.set(__self__, "skip_source_dest_check", skip_source_dest_check) + _setter("skip_source_dest_check", skip_source_dest_check) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) if vlan_id is not None: - pulumi.set(__self__, "vlan_id", vlan_id) + _setter("vlan_id", vlan_id) @property @pulumi.getter(name="assignPrivateDnsRecord") @@ -3402,8 +3956,17 @@ def __init__(__self__, *, """ :param pulumi.Input[bool] are_legacy_imds_endpoints_disabled: (Updatable) Whether to disable the legacy (/v1) instance metadata service endpoints. Customers who have migrated to /v2 should set this to true for added security. Default is false. """ + TargetAssetTestSpecInstanceOptionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + are_legacy_imds_endpoints_disabled=are_legacy_imds_endpoints_disabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + are_legacy_imds_endpoints_disabled: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if are_legacy_imds_endpoints_disabled is not None: - pulumi.set(__self__, "are_legacy_imds_endpoints_disabled", are_legacy_imds_endpoints_disabled) + _setter("are_legacy_imds_endpoints_disabled", are_legacy_imds_endpoints_disabled) @property @pulumi.getter(name="areLegacyImdsEndpointsDisabled") @@ -3425,8 +3988,17 @@ def __init__(__self__, *, """ :param pulumi.Input[Sequence[pulumi.Input['TargetAssetTestSpecPreemptibleInstanceConfigPreemptionActionArgs']]] preemption_actions: (Updatable) The action to run when the preemptible instance is interrupted for eviction. """ + TargetAssetTestSpecPreemptibleInstanceConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + preemption_actions=preemption_actions, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + preemption_actions: Optional[pulumi.Input[Sequence[pulumi.Input['TargetAssetTestSpecPreemptibleInstanceConfigPreemptionActionArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if preemption_actions is not None: - pulumi.set(__self__, "preemption_actions", preemption_actions) + _setter("preemption_actions", preemption_actions) @property @pulumi.getter(name="preemptionActions") @@ -3450,10 +4022,21 @@ def __init__(__self__, *, :param pulumi.Input[bool] preserve_boot_volume: (Updatable) Whether to preserve the boot volume that was used to launch the preemptible instance when the instance is terminated. By default, it is false if not specified. :param pulumi.Input[str] type: (Updatable) The type of action to run when the instance is interrupted for eviction. """ + TargetAssetTestSpecPreemptibleInstanceConfigPreemptionActionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + preserve_boot_volume=preserve_boot_volume, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + preserve_boot_volume: Optional[pulumi.Input[bool]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if preserve_boot_volume is not None: - pulumi.set(__self__, "preserve_boot_volume", preserve_boot_volume) + _setter("preserve_boot_volume", preserve_boot_volume) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter(name="preserveBootVolume") @@ -3493,12 +4076,25 @@ def __init__(__self__, *, :param pulumi.Input[float] memory_in_gbs: (Updatable) The total amount of memory in gigabytes that is available to the instance. :param pulumi.Input[float] ocpus: (Updatable) The total number of OCPUs available to the instance. """ + TargetAssetTestSpecShapeConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + baseline_ocpu_utilization=baseline_ocpu_utilization, + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + baseline_ocpu_utilization: Optional[pulumi.Input[str]] = None, + memory_in_gbs: Optional[pulumi.Input[float]] = None, + ocpus: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if baseline_ocpu_utilization is not None: - pulumi.set(__self__, "baseline_ocpu_utilization", baseline_ocpu_utilization) + _setter("baseline_ocpu_utilization", baseline_ocpu_utilization) if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) if ocpus is not None: - pulumi.set(__self__, "ocpus", ocpus) + _setter("ocpus", ocpus) @property @pulumi.getter(name="baselineOcpuUtilization") @@ -3562,18 +4158,37 @@ def __init__(__self__, *, ** 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 """ + TargetAssetTestSpecSourceDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + boot_volume_id=boot_volume_id, + boot_volume_size_in_gbs=boot_volume_size_in_gbs, + boot_volume_vpus_per_gb=boot_volume_vpus_per_gb, + image_id=image_id, + kms_key_id=kms_key_id, + source_type=source_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + boot_volume_id: Optional[pulumi.Input[str]] = None, + boot_volume_size_in_gbs: Optional[pulumi.Input[str]] = None, + boot_volume_vpus_per_gb: Optional[pulumi.Input[str]] = None, + image_id: Optional[pulumi.Input[str]] = None, + kms_key_id: Optional[pulumi.Input[str]] = None, + source_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if boot_volume_id is not None: - pulumi.set(__self__, "boot_volume_id", boot_volume_id) + _setter("boot_volume_id", boot_volume_id) if boot_volume_size_in_gbs is not None: - pulumi.set(__self__, "boot_volume_size_in_gbs", boot_volume_size_in_gbs) + _setter("boot_volume_size_in_gbs", boot_volume_size_in_gbs) if boot_volume_vpus_per_gb is not None: - pulumi.set(__self__, "boot_volume_vpus_per_gb", boot_volume_vpus_per_gb) + _setter("boot_volume_vpus_per_gb", boot_volume_vpus_per_gb) if image_id is not None: - pulumi.set(__self__, "image_id", image_id) + _setter("image_id", image_id) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) if source_type is not None: - pulumi.set(__self__, "source_type", source_type) + _setter("source_type", source_type) @property @pulumi.getter(name="bootVolumeId") @@ -3719,42 +4334,85 @@ def __init__(__self__, *, Each shape only supports certain configurable values. If the values that you provide are not valid for the specified `shape`, an error is returned. :param pulumi.Input['TargetAssetUserSpecSourceDetailsArgs'] source_details: (Updatable) """ + TargetAssetUserSpecArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + agent_config=agent_config, + availability_domain=availability_domain, + capacity_reservation_id=capacity_reservation_id, + compartment_id=compartment_id, + create_vnic_details=create_vnic_details, + dedicated_vm_host_id=dedicated_vm_host_id, + defined_tags=defined_tags, + display_name=display_name, + fault_domain=fault_domain, + freeform_tags=freeform_tags, + hostname_label=hostname_label, + instance_options=instance_options, + ipxe_script=ipxe_script, + is_pv_encryption_in_transit_enabled=is_pv_encryption_in_transit_enabled, + preemptible_instance_config=preemptible_instance_config, + shape=shape, + shape_config=shape_config, + source_details=source_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agent_config: Optional[pulumi.Input['TargetAssetUserSpecAgentConfigArgs']] = None, + availability_domain: Optional[pulumi.Input[str]] = None, + capacity_reservation_id: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + create_vnic_details: Optional[pulumi.Input['TargetAssetUserSpecCreateVnicDetailsArgs']] = None, + dedicated_vm_host_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + fault_domain: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + hostname_label: Optional[pulumi.Input[str]] = None, + instance_options: Optional[pulumi.Input['TargetAssetUserSpecInstanceOptionsArgs']] = None, + ipxe_script: Optional[pulumi.Input[str]] = None, + is_pv_encryption_in_transit_enabled: Optional[pulumi.Input[bool]] = None, + preemptible_instance_config: Optional[pulumi.Input['TargetAssetUserSpecPreemptibleInstanceConfigArgs']] = None, + shape: Optional[pulumi.Input[str]] = None, + shape_config: Optional[pulumi.Input['TargetAssetUserSpecShapeConfigArgs']] = None, + source_details: Optional[pulumi.Input['TargetAssetUserSpecSourceDetailsArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if agent_config is not None: - pulumi.set(__self__, "agent_config", agent_config) + _setter("agent_config", agent_config) if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if capacity_reservation_id is not None: - pulumi.set(__self__, "capacity_reservation_id", capacity_reservation_id) + _setter("capacity_reservation_id", capacity_reservation_id) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if create_vnic_details is not None: - pulumi.set(__self__, "create_vnic_details", create_vnic_details) + _setter("create_vnic_details", create_vnic_details) if dedicated_vm_host_id is not None: - pulumi.set(__self__, "dedicated_vm_host_id", dedicated_vm_host_id) + _setter("dedicated_vm_host_id", dedicated_vm_host_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if fault_domain is not None: - pulumi.set(__self__, "fault_domain", fault_domain) + _setter("fault_domain", fault_domain) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if hostname_label is not None: - pulumi.set(__self__, "hostname_label", hostname_label) + _setter("hostname_label", hostname_label) if instance_options is not None: - pulumi.set(__self__, "instance_options", instance_options) + _setter("instance_options", instance_options) if ipxe_script is not None: - pulumi.set(__self__, "ipxe_script", ipxe_script) + _setter("ipxe_script", ipxe_script) if is_pv_encryption_in_transit_enabled is not None: - pulumi.set(__self__, "is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) + _setter("is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) if preemptible_instance_config is not None: - pulumi.set(__self__, "preemptible_instance_config", preemptible_instance_config) + _setter("preemptible_instance_config", preemptible_instance_config) if shape is not None: - pulumi.set(__self__, "shape", shape) + _setter("shape", shape) if shape_config is not None: - pulumi.set(__self__, "shape_config", shape_config) + _setter("shape_config", shape_config) if source_details is not None: - pulumi.set(__self__, "source_details", source_details) + _setter("source_details", source_details) @property @pulumi.getter(name="agentConfig") @@ -4024,14 +4682,29 @@ def __init__(__self__, *, * If `isMonitoringDisabled` is false, all the monitoring plugins are enabled. You can optionally disable individual monitoring plugins by providing a value in the `pluginsConfig` object. :param pulumi.Input[Sequence[pulumi.Input['TargetAssetUserSpecAgentConfigPluginsConfigArgs']]] plugins_configs: (Updatable) The configuration of plugins associated with this instance. """ + TargetAssetUserSpecAgentConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + are_all_plugins_disabled=are_all_plugins_disabled, + is_management_disabled=is_management_disabled, + is_monitoring_disabled=is_monitoring_disabled, + plugins_configs=plugins_configs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + are_all_plugins_disabled: Optional[pulumi.Input[bool]] = None, + is_management_disabled: Optional[pulumi.Input[bool]] = None, + is_monitoring_disabled: Optional[pulumi.Input[bool]] = None, + plugins_configs: Optional[pulumi.Input[Sequence[pulumi.Input['TargetAssetUserSpecAgentConfigPluginsConfigArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if are_all_plugins_disabled is not None: - pulumi.set(__self__, "are_all_plugins_disabled", are_all_plugins_disabled) + _setter("are_all_plugins_disabled", are_all_plugins_disabled) if is_management_disabled is not None: - pulumi.set(__self__, "is_management_disabled", is_management_disabled) + _setter("is_management_disabled", is_management_disabled) if is_monitoring_disabled is not None: - pulumi.set(__self__, "is_monitoring_disabled", is_monitoring_disabled) + _setter("is_monitoring_disabled", is_monitoring_disabled) if plugins_configs is not None: - pulumi.set(__self__, "plugins_configs", plugins_configs) + _setter("plugins_configs", plugins_configs) @property @pulumi.getter(name="areAllPluginsDisabled") @@ -4107,8 +4780,19 @@ def __init__(__self__, *, To enable the monitoring and management plugins, the `isMonitoringDisabled` and `isManagementDisabled` attributes must also be set to false. :param pulumi.Input[str] name: (Updatable) The plugin name. To get a list of available plugins, use the [ListInstanceagentAvailablePlugins](https://docs.cloud.oracle.com/iaas/api/#/en/instanceagent/20180530/Plugin/ListInstanceagentAvailablePlugins) operation in the Oracle Cloud Agent API. For more information about the available plugins, see [Managing Plugins with Oracle Cloud Agent](https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/manage-plugins.htm). """ - pulumi.set(__self__, "desired_state", desired_state) - pulumi.set(__self__, "name", name) + TargetAssetUserSpecAgentConfigPluginsConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + desired_state=desired_state, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + desired_state: pulumi.Input[str], + name: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("desired_state", desired_state) + _setter("name", name) @property @pulumi.getter(name="desiredState") @@ -4188,28 +4872,57 @@ def __init__(__self__, *, Provide a `vlanId` instead of a `subnetId`. If you provide both `vlanId` and `subnetId`, the request fails. """ + TargetAssetUserSpecCreateVnicDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + assign_private_dns_record=assign_private_dns_record, + assign_public_ip=assign_public_ip, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + hostname_label=hostname_label, + nsg_ids=nsg_ids, + private_ip=private_ip, + skip_source_dest_check=skip_source_dest_check, + subnet_id=subnet_id, + vlan_id=vlan_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + assign_private_dns_record: Optional[pulumi.Input[bool]] = None, + assign_public_ip: Optional[pulumi.Input[bool]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + hostname_label: Optional[pulumi.Input[str]] = None, + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + private_ip: Optional[pulumi.Input[str]] = None, + skip_source_dest_check: Optional[pulumi.Input[bool]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + vlan_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if assign_private_dns_record is not None: - pulumi.set(__self__, "assign_private_dns_record", assign_private_dns_record) + _setter("assign_private_dns_record", assign_private_dns_record) if assign_public_ip is not None: - pulumi.set(__self__, "assign_public_ip", assign_public_ip) + _setter("assign_public_ip", assign_public_ip) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if hostname_label is not None: - pulumi.set(__self__, "hostname_label", hostname_label) + _setter("hostname_label", hostname_label) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) if private_ip is not None: - pulumi.set(__self__, "private_ip", private_ip) + _setter("private_ip", private_ip) if skip_source_dest_check is not None: - pulumi.set(__self__, "skip_source_dest_check", skip_source_dest_check) + _setter("skip_source_dest_check", skip_source_dest_check) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) if vlan_id is not None: - pulumi.set(__self__, "vlan_id", vlan_id) + _setter("vlan_id", vlan_id) @property @pulumi.getter(name="assignPrivateDnsRecord") @@ -4375,8 +5088,17 @@ def __init__(__self__, *, """ :param pulumi.Input[bool] are_legacy_imds_endpoints_disabled: (Updatable) Whether to disable the legacy (/v1) instance metadata service endpoints. Customers who have migrated to /v2 should set this to true for added security. Default is false. """ + TargetAssetUserSpecInstanceOptionsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + are_legacy_imds_endpoints_disabled=are_legacy_imds_endpoints_disabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + are_legacy_imds_endpoints_disabled: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if are_legacy_imds_endpoints_disabled is not None: - pulumi.set(__self__, "are_legacy_imds_endpoints_disabled", are_legacy_imds_endpoints_disabled) + _setter("are_legacy_imds_endpoints_disabled", are_legacy_imds_endpoints_disabled) @property @pulumi.getter(name="areLegacyImdsEndpointsDisabled") @@ -4398,7 +5120,16 @@ def __init__(__self__, *, """ :param pulumi.Input['TargetAssetUserSpecPreemptibleInstanceConfigPreemptionActionArgs'] preemption_action: (Updatable) The action to run when the preemptible instance is interrupted for eviction. """ - pulumi.set(__self__, "preemption_action", preemption_action) + TargetAssetUserSpecPreemptibleInstanceConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + preemption_action=preemption_action, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + preemption_action: pulumi.Input['TargetAssetUserSpecPreemptibleInstanceConfigPreemptionActionArgs'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("preemption_action", preemption_action) @property @pulumi.getter(name="preemptionAction") @@ -4422,9 +5153,20 @@ def __init__(__self__, *, :param pulumi.Input[str] type: (Updatable) The type of action to run when the instance is interrupted for eviction. :param pulumi.Input[bool] preserve_boot_volume: (Updatable) Whether to preserve the boot volume that was used to launch the preemptible instance when the instance is terminated. By default, it is false if not specified. """ - pulumi.set(__self__, "type", type) + TargetAssetUserSpecPreemptibleInstanceConfigPreemptionActionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + preserve_boot_volume=preserve_boot_volume, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + preserve_boot_volume: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if preserve_boot_volume is not None: - pulumi.set(__self__, "preserve_boot_volume", preserve_boot_volume) + _setter("preserve_boot_volume", preserve_boot_volume) @property @pulumi.getter @@ -4464,12 +5206,25 @@ def __init__(__self__, *, :param pulumi.Input[float] memory_in_gbs: (Updatable) The total amount of memory in gigabytes that is available to the instance. :param pulumi.Input[float] ocpus: (Updatable) The total number of OCPUs available to the instance. """ + TargetAssetUserSpecShapeConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + baseline_ocpu_utilization=baseline_ocpu_utilization, + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + baseline_ocpu_utilization: Optional[pulumi.Input[str]] = None, + memory_in_gbs: Optional[pulumi.Input[float]] = None, + ocpus: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if baseline_ocpu_utilization is not None: - pulumi.set(__self__, "baseline_ocpu_utilization", baseline_ocpu_utilization) + _setter("baseline_ocpu_utilization", baseline_ocpu_utilization) if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) if ocpus is not None: - pulumi.set(__self__, "ocpus", ocpus) + _setter("ocpus", ocpus) @property @pulumi.getter(name="baselineOcpuUtilization") @@ -4533,17 +5288,36 @@ def __init__(__self__, *, :param pulumi.Input[str] image_id: (Updatable) The OCID of the image used to boot the instance. :param pulumi.Input[str] kms_key_id: (Updatable) The OCID of the key management key to assign as the master encryption key for the boot volume. """ - pulumi.set(__self__, "source_type", source_type) + TargetAssetUserSpecSourceDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + source_type=source_type, + boot_volume_id=boot_volume_id, + boot_volume_size_in_gbs=boot_volume_size_in_gbs, + boot_volume_vpus_per_gb=boot_volume_vpus_per_gb, + image_id=image_id, + kms_key_id=kms_key_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + source_type: pulumi.Input[str], + boot_volume_id: Optional[pulumi.Input[str]] = None, + boot_volume_size_in_gbs: Optional[pulumi.Input[str]] = None, + boot_volume_vpus_per_gb: Optional[pulumi.Input[str]] = None, + image_id: Optional[pulumi.Input[str]] = None, + kms_key_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("source_type", source_type) if boot_volume_id is not None: - pulumi.set(__self__, "boot_volume_id", boot_volume_id) + _setter("boot_volume_id", boot_volume_id) if boot_volume_size_in_gbs is not None: - pulumi.set(__self__, "boot_volume_size_in_gbs", boot_volume_size_in_gbs) + _setter("boot_volume_size_in_gbs", boot_volume_size_in_gbs) if boot_volume_vpus_per_gb is not None: - pulumi.set(__self__, "boot_volume_vpus_per_gb", boot_volume_vpus_per_gb) + _setter("boot_volume_vpus_per_gb", boot_volume_vpus_per_gb) if image_id is not None: - pulumi.set(__self__, "image_id", image_id) + _setter("image_id", image_id) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) @property @pulumi.getter(name="sourceType") @@ -4630,10 +5404,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetMigrationAssetsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4669,10 +5456,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetMigrationPlanAvailableShapesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4708,10 +5508,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetMigrationPlansFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4747,10 +5560,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetMigrationsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4786,10 +5612,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetReplicationSchedulesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4828,10 +5667,23 @@ def __init__(__self__, *, """ :param str name: The plugin name. To get a list of available plugins, use the [ListInstanceagentAvailablePlugins](https://docs.cloud.oracle.com/iaas/api/#/en/instanceagent/20180530/Plugin/ListInstanceagentAvailablePlugins) operation in the Oracle Cloud Agent API. For more information about the available plugins, see [Managing Plugins with Oracle Cloud Agent](https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/manage-plugins.htm). """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetTargetAssetsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/cloudmigrations/get_migration.py b/sdk/python/pulumi_oci/cloudmigrations/get_migration.py index be6e1ae718..d42a2c7415 100644 --- a/sdk/python/pulumi_oci/cloudmigrations/get_migration.py +++ b/sdk/python/pulumi_oci/cloudmigrations/get_migration.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/cloudmigrations/get_migration_asset.py b/sdk/python/pulumi_oci/cloudmigrations/get_migration_asset.py index 0544353334..e86bacb5cf 100644 --- a/sdk/python/pulumi_oci/cloudmigrations/get_migration_asset.py +++ b/sdk/python/pulumi_oci/cloudmigrations/get_migration_asset.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/cloudmigrations/get_migration_assets.py b/sdk/python/pulumi_oci/cloudmigrations/get_migration_assets.py index fa49172193..f0b0e8e6c3 100644 --- a/sdk/python/pulumi_oci/cloudmigrations/get_migration_assets.py +++ b/sdk/python/pulumi_oci/cloudmigrations/get_migration_assets.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/cloudmigrations/get_migration_plan.py b/sdk/python/pulumi_oci/cloudmigrations/get_migration_plan.py index 25066a4ada..d3877e7d11 100644 --- a/sdk/python/pulumi_oci/cloudmigrations/get_migration_plan.py +++ b/sdk/python/pulumi_oci/cloudmigrations/get_migration_plan.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/cloudmigrations/get_migration_plan_available_shape.py b/sdk/python/pulumi_oci/cloudmigrations/get_migration_plan_available_shape.py index 42f1163d47..4f77d96caf 100644 --- a/sdk/python/pulumi_oci/cloudmigrations/get_migration_plan_available_shape.py +++ b/sdk/python/pulumi_oci/cloudmigrations/get_migration_plan_available_shape.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/cloudmigrations/get_migration_plan_available_shapes.py b/sdk/python/pulumi_oci/cloudmigrations/get_migration_plan_available_shapes.py index 92b64e7cbf..c4ed150cc3 100644 --- a/sdk/python/pulumi_oci/cloudmigrations/get_migration_plan_available_shapes.py +++ b/sdk/python/pulumi_oci/cloudmigrations/get_migration_plan_available_shapes.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/cloudmigrations/get_migration_plans.py b/sdk/python/pulumi_oci/cloudmigrations/get_migration_plans.py index b99a3e3cb7..c0997d526c 100644 --- a/sdk/python/pulumi_oci/cloudmigrations/get_migration_plans.py +++ b/sdk/python/pulumi_oci/cloudmigrations/get_migration_plans.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/cloudmigrations/get_migrations.py b/sdk/python/pulumi_oci/cloudmigrations/get_migrations.py index c8c3273d3d..854430139e 100644 --- a/sdk/python/pulumi_oci/cloudmigrations/get_migrations.py +++ b/sdk/python/pulumi_oci/cloudmigrations/get_migrations.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/cloudmigrations/get_replication_schedule.py b/sdk/python/pulumi_oci/cloudmigrations/get_replication_schedule.py index 8947393abb..e4eef2ba94 100644 --- a/sdk/python/pulumi_oci/cloudmigrations/get_replication_schedule.py +++ b/sdk/python/pulumi_oci/cloudmigrations/get_replication_schedule.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/cloudmigrations/get_replication_schedules.py b/sdk/python/pulumi_oci/cloudmigrations/get_replication_schedules.py index b444916d09..6e8f1a045e 100644 --- a/sdk/python/pulumi_oci/cloudmigrations/get_replication_schedules.py +++ b/sdk/python/pulumi_oci/cloudmigrations/get_replication_schedules.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/cloudmigrations/get_target_asset.py b/sdk/python/pulumi_oci/cloudmigrations/get_target_asset.py index f623ab2b0e..70bd5047ac 100644 --- a/sdk/python/pulumi_oci/cloudmigrations/get_target_asset.py +++ b/sdk/python/pulumi_oci/cloudmigrations/get_target_asset.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/cloudmigrations/get_target_assets.py b/sdk/python/pulumi_oci/cloudmigrations/get_target_assets.py index 9b6129783d..217d06e488 100644 --- a/sdk/python/pulumi_oci/cloudmigrations/get_target_assets.py +++ b/sdk/python/pulumi_oci/cloudmigrations/get_target_assets.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/cloudmigrations/migration.py b/sdk/python/pulumi_oci/cloudmigrations/migration.py index c1827d0bd0..5643c9323a 100644 --- a/sdk/python/pulumi_oci/cloudmigrations/migration.py +++ b/sdk/python/pulumi_oci/cloudmigrations/migration.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['MigrationArgs', 'Migration'] @@ -33,16 +33,35 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) + MigrationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + is_completed=is_completed, + replication_schedule_id=replication_schedule_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_completed: Optional[pulumi.Input[bool]] = None, + replication_schedule_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_completed is not None: - pulumi.set(__self__, "is_completed", is_completed) + _setter("is_completed", is_completed) if replication_schedule_id is not None: - pulumi.set(__self__, "replication_schedule_id", replication_schedule_id) + _setter("replication_schedule_id", replication_schedule_id) @property @pulumi.getter(name="compartmentId") @@ -153,28 +172,57 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The time when the migration project was created. An RFC3339 formatted datetime string :param pulumi.Input[str] time_updated: The time when the migration project was updated. An RFC3339 formatted datetime string """ + _MigrationState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + is_completed=is_completed, + lifecycle_details=lifecycle_details, + replication_schedule_id=replication_schedule_id, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_completed: Optional[pulumi.Input[bool]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + replication_schedule_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_completed is not None: - pulumi.set(__self__, "is_completed", is_completed) + _setter("is_completed", is_completed) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if replication_schedule_id is not None: - pulumi.set(__self__, "replication_schedule_id", replication_schedule_id) + _setter("replication_schedule_id", replication_schedule_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -418,6 +466,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + MigrationArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/cloudmigrations/migration_asset.py b/sdk/python/pulumi_oci/cloudmigrations/migration_asset.py index 6de98b1c59..515a294148 100644 --- a/sdk/python/pulumi_oci/cloudmigrations/migration_asset.py +++ b/sdk/python/pulumi_oci/cloudmigrations/migration_asset.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['MigrationAssetArgs', 'MigrationAsset'] @@ -36,17 +36,40 @@ def __init__(__self__, *, :param pulumi.Input[str] display_name: (Updatable) A user-friendly name. If empty, then source asset name will be used. Does not have to be unique, and it's changeable. Avoid entering confidential information. :param pulumi.Input[str] replication_schedule_id: (Updatable) Replication schedule identifier """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "inventory_asset_id", inventory_asset_id) - pulumi.set(__self__, "migration_id", migration_id) - pulumi.set(__self__, "replication_compartment_id", replication_compartment_id) - pulumi.set(__self__, "snap_shot_bucket_name", snap_shot_bucket_name) + MigrationAssetArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + inventory_asset_id=inventory_asset_id, + migration_id=migration_id, + replication_compartment_id=replication_compartment_id, + snap_shot_bucket_name=snap_shot_bucket_name, + display_name=display_name, + migration_asset_depends_ons=migration_asset_depends_ons, + replication_schedule_id=replication_schedule_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: pulumi.Input[str], + inventory_asset_id: pulumi.Input[str], + migration_id: pulumi.Input[str], + replication_compartment_id: pulumi.Input[str], + snap_shot_bucket_name: pulumi.Input[str], + display_name: Optional[pulumi.Input[str]] = None, + migration_asset_depends_ons: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + replication_schedule_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("inventory_asset_id", inventory_asset_id) + _setter("migration_id", migration_id) + _setter("replication_compartment_id", replication_compartment_id) + _setter("snap_shot_bucket_name", snap_shot_bucket_name) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if migration_asset_depends_ons is not None: - pulumi.set(__self__, "migration_asset_depends_ons", migration_asset_depends_ons) + _setter("migration_asset_depends_ons", migration_asset_depends_ons) if replication_schedule_id is not None: - pulumi.set(__self__, "replication_schedule_id", replication_schedule_id) + _setter("replication_schedule_id", replication_schedule_id) @property @pulumi.getter(name="availabilityDomain") @@ -195,46 +218,93 @@ def __init__(__self__, *, :param pulumi.Input[str] time_updated: The time when the migration asset was updated. An RFC3339 formatted datetime string. :param pulumi.Input[str] type: The type of asset referenced for inventory. """ + _MigrationAssetState._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + compartment_id=compartment_id, + depended_on_bies=depended_on_bies, + display_name=display_name, + inventory_asset_id=inventory_asset_id, + lifecycle_details=lifecycle_details, + migration_asset_depends_ons=migration_asset_depends_ons, + migration_id=migration_id, + notifications=notifications, + parent_snapshot=parent_snapshot, + replication_compartment_id=replication_compartment_id, + replication_schedule_id=replication_schedule_id, + snap_shot_bucket_name=snap_shot_bucket_name, + snapshots=snapshots, + source_asset_id=source_asset_id, + state=state, + tenancy_id=tenancy_id, + time_created=time_created, + time_updated=time_updated, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + depended_on_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + inventory_asset_id: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + migration_asset_depends_ons: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + migration_id: Optional[pulumi.Input[str]] = None, + notifications: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + parent_snapshot: Optional[pulumi.Input[str]] = None, + replication_compartment_id: Optional[pulumi.Input[str]] = None, + replication_schedule_id: Optional[pulumi.Input[str]] = None, + snap_shot_bucket_name: Optional[pulumi.Input[str]] = None, + snapshots: Optional[pulumi.Input[Mapping[str, Any]]] = None, + source_asset_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + tenancy_id: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if depended_on_bies is not None: - pulumi.set(__self__, "depended_on_bies", depended_on_bies) + _setter("depended_on_bies", depended_on_bies) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if inventory_asset_id is not None: - pulumi.set(__self__, "inventory_asset_id", inventory_asset_id) + _setter("inventory_asset_id", inventory_asset_id) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if migration_asset_depends_ons is not None: - pulumi.set(__self__, "migration_asset_depends_ons", migration_asset_depends_ons) + _setter("migration_asset_depends_ons", migration_asset_depends_ons) if migration_id is not None: - pulumi.set(__self__, "migration_id", migration_id) + _setter("migration_id", migration_id) if notifications is not None: - pulumi.set(__self__, "notifications", notifications) + _setter("notifications", notifications) if parent_snapshot is not None: - pulumi.set(__self__, "parent_snapshot", parent_snapshot) + _setter("parent_snapshot", parent_snapshot) if replication_compartment_id is not None: - pulumi.set(__self__, "replication_compartment_id", replication_compartment_id) + _setter("replication_compartment_id", replication_compartment_id) if replication_schedule_id is not None: - pulumi.set(__self__, "replication_schedule_id", replication_schedule_id) + _setter("replication_schedule_id", replication_schedule_id) if snap_shot_bucket_name is not None: - pulumi.set(__self__, "snap_shot_bucket_name", snap_shot_bucket_name) + _setter("snap_shot_bucket_name", snap_shot_bucket_name) if snapshots is not None: - pulumi.set(__self__, "snapshots", snapshots) + _setter("snapshots", snapshots) if source_asset_id is not None: - pulumi.set(__self__, "source_asset_id", source_asset_id) + _setter("source_asset_id", source_asset_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if tenancy_id is not None: - pulumi.set(__self__, "tenancy_id", tenancy_id) + _setter("tenancy_id", tenancy_id) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter(name="availabilityDomain") @@ -582,6 +652,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + MigrationAssetArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/cloudmigrations/migration_plan.py b/sdk/python/pulumi_oci/cloudmigrations/migration_plan.py index 7b3533df55..8c3b751138 100644 --- a/sdk/python/pulumi_oci/cloudmigrations/migration_plan.py +++ b/sdk/python/pulumi_oci/cloudmigrations/migration_plan.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -35,19 +35,42 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['MigrationPlanStrategyArgs']]] strategies: (Updatable) List of strategies for the resources to be migrated. :param pulumi.Input[Sequence[pulumi.Input['MigrationPlanTargetEnvironmentArgs']]] target_environments: (Updatable) List of target environments. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "migration_id", migration_id) + MigrationPlanArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + migration_id=migration_id, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + source_migration_plan_id=source_migration_plan_id, + strategies=strategies, + target_environments=target_environments, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + migration_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + source_migration_plan_id: Optional[pulumi.Input[str]] = None, + strategies: Optional[pulumi.Input[Sequence[pulumi.Input['MigrationPlanStrategyArgs']]]] = None, + target_environments: Optional[pulumi.Input[Sequence[pulumi.Input['MigrationPlanTargetEnvironmentArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) + _setter("migration_id", migration_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if source_migration_plan_id is not None: - pulumi.set(__self__, "source_migration_plan_id", source_migration_plan_id) + _setter("source_migration_plan_id", source_migration_plan_id) if strategies is not None: - pulumi.set(__self__, "strategies", strategies) + _setter("strategies", strategies) if target_environments is not None: - pulumi.set(__self__, "target_environments", target_environments) + _setter("target_environments", target_environments) @property @pulumi.getter(name="compartmentId") @@ -184,38 +207,77 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The time when the migration plan was created. An RFC3339 formatted datetime string. :param pulumi.Input[str] time_updated: The time when the migration plan was updated. An RFC3339 formatted datetime string. """ + _MigrationPlanState._configure( + lambda key, value: pulumi.set(__self__, key, value), + calculated_limits=calculated_limits, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + migration_id=migration_id, + migration_plan_stats=migration_plan_stats, + reference_to_rms_stack=reference_to_rms_stack, + source_migration_plan_id=source_migration_plan_id, + state=state, + strategies=strategies, + system_tags=system_tags, + target_environments=target_environments, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + calculated_limits: Optional[pulumi.Input[Mapping[str, Any]]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + migration_id: Optional[pulumi.Input[str]] = None, + migration_plan_stats: Optional[pulumi.Input[Sequence[pulumi.Input['MigrationPlanMigrationPlanStatArgs']]]] = None, + reference_to_rms_stack: Optional[pulumi.Input[str]] = None, + source_migration_plan_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + strategies: Optional[pulumi.Input[Sequence[pulumi.Input['MigrationPlanStrategyArgs']]]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + target_environments: Optional[pulumi.Input[Sequence[pulumi.Input['MigrationPlanTargetEnvironmentArgs']]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if calculated_limits is not None: - pulumi.set(__self__, "calculated_limits", calculated_limits) + _setter("calculated_limits", calculated_limits) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if migration_id is not None: - pulumi.set(__self__, "migration_id", migration_id) + _setter("migration_id", migration_id) if migration_plan_stats is not None: - pulumi.set(__self__, "migration_plan_stats", migration_plan_stats) + _setter("migration_plan_stats", migration_plan_stats) if reference_to_rms_stack is not None: - pulumi.set(__self__, "reference_to_rms_stack", reference_to_rms_stack) + _setter("reference_to_rms_stack", reference_to_rms_stack) if source_migration_plan_id is not None: - pulumi.set(__self__, "source_migration_plan_id", source_migration_plan_id) + _setter("source_migration_plan_id", source_migration_plan_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if strategies is not None: - pulumi.set(__self__, "strategies", strategies) + _setter("strategies", strategies) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if target_environments is not None: - pulumi.set(__self__, "target_environments", target_environments) + _setter("target_environments", target_environments) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="calculatedLimits") @@ -477,6 +539,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + MigrationPlanArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/cloudmigrations/outputs.py b/sdk/python/pulumi_oci/cloudmigrations/outputs.py index 1bab90a4b7..d5ed040a71 100644 --- a/sdk/python/pulumi_oci/cloudmigrations/outputs.py +++ b/sdk/python/pulumi_oci/cloudmigrations/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -190,12 +190,25 @@ def __init__(__self__, *, :param Sequence['MigrationPlanMigrationPlanStatTotalEstimatedCostArgs'] total_estimated_costs: Cost estimation description :param int vm_count: The total count of VMs in migration """ + MigrationPlanMigrationPlanStat._configure( + lambda key, value: pulumi.set(__self__, key, value), + time_updated=time_updated, + total_estimated_costs=total_estimated_costs, + vm_count=vm_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + time_updated: Optional[str] = None, + total_estimated_costs: Optional[Sequence['outputs.MigrationPlanMigrationPlanStatTotalEstimatedCost']] = None, + vm_count: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if total_estimated_costs is not None: - pulumi.set(__self__, "total_estimated_costs", total_estimated_costs) + _setter("total_estimated_costs", total_estimated_costs) if vm_count is not None: - pulumi.set(__self__, "vm_count", vm_count) + _setter("vm_count", vm_count) @property @pulumi.getter(name="timeUpdated") @@ -266,20 +279,41 @@ def __init__(__self__, *, :param float total_estimation_per_month: Total estimation per month :param float total_estimation_per_month_by_subscription: Total estimation per month by subscription. """ + MigrationPlanMigrationPlanStatTotalEstimatedCost._configure( + lambda key, value: pulumi.set(__self__, key, value), + computes=computes, + currency_code=currency_code, + os_images=os_images, + storages=storages, + subscription_id=subscription_id, + total_estimation_per_month=total_estimation_per_month, + total_estimation_per_month_by_subscription=total_estimation_per_month_by_subscription, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + computes: Optional[Sequence['outputs.MigrationPlanMigrationPlanStatTotalEstimatedCostCompute']] = None, + currency_code: Optional[str] = None, + os_images: Optional[Sequence['outputs.MigrationPlanMigrationPlanStatTotalEstimatedCostOsImage']] = None, + storages: Optional[Sequence['outputs.MigrationPlanMigrationPlanStatTotalEstimatedCostStorage']] = None, + subscription_id: Optional[str] = None, + total_estimation_per_month: Optional[float] = None, + total_estimation_per_month_by_subscription: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions]=None): if computes is not None: - pulumi.set(__self__, "computes", computes) + _setter("computes", computes) if currency_code is not None: - pulumi.set(__self__, "currency_code", currency_code) + _setter("currency_code", currency_code) if os_images is not None: - pulumi.set(__self__, "os_images", os_images) + _setter("os_images", os_images) if storages is not None: - pulumi.set(__self__, "storages", storages) + _setter("storages", storages) if subscription_id is not None: - pulumi.set(__self__, "subscription_id", subscription_id) + _setter("subscription_id", subscription_id) if total_estimation_per_month is not None: - pulumi.set(__self__, "total_estimation_per_month", total_estimation_per_month) + _setter("total_estimation_per_month", total_estimation_per_month) if total_estimation_per_month_by_subscription is not None: - pulumi.set(__self__, "total_estimation_per_month_by_subscription", total_estimation_per_month_by_subscription) + _setter("total_estimation_per_month_by_subscription", total_estimation_per_month_by_subscription) @property @pulumi.getter @@ -402,28 +436,57 @@ def __init__(__self__, *, :param float total_per_hour: Total price per hour :param float total_per_hour_by_subscription: Total price per hour by subscription """ + MigrationPlanMigrationPlanStatTotalEstimatedCostCompute._configure( + lambda key, value: pulumi.set(__self__, key, value), + gpu_count=gpu_count, + gpu_per_hour=gpu_per_hour, + gpu_per_hour_by_subscription=gpu_per_hour_by_subscription, + memory_amount_gb=memory_amount_gb, + memory_gb_per_hour=memory_gb_per_hour, + memory_gb_per_hour_by_subscription=memory_gb_per_hour_by_subscription, + ocpu_count=ocpu_count, + ocpu_per_hour=ocpu_per_hour, + ocpu_per_hour_by_subscription=ocpu_per_hour_by_subscription, + total_per_hour=total_per_hour, + total_per_hour_by_subscription=total_per_hour_by_subscription, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + gpu_count: Optional[float] = None, + gpu_per_hour: Optional[float] = None, + gpu_per_hour_by_subscription: Optional[float] = None, + memory_amount_gb: Optional[float] = None, + memory_gb_per_hour: Optional[float] = None, + memory_gb_per_hour_by_subscription: Optional[float] = None, + ocpu_count: Optional[float] = None, + ocpu_per_hour: Optional[float] = None, + ocpu_per_hour_by_subscription: Optional[float] = None, + total_per_hour: Optional[float] = None, + total_per_hour_by_subscription: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions]=None): if gpu_count is not None: - pulumi.set(__self__, "gpu_count", gpu_count) + _setter("gpu_count", gpu_count) if gpu_per_hour is not None: - pulumi.set(__self__, "gpu_per_hour", gpu_per_hour) + _setter("gpu_per_hour", gpu_per_hour) if gpu_per_hour_by_subscription is not None: - pulumi.set(__self__, "gpu_per_hour_by_subscription", gpu_per_hour_by_subscription) + _setter("gpu_per_hour_by_subscription", gpu_per_hour_by_subscription) if memory_amount_gb is not None: - pulumi.set(__self__, "memory_amount_gb", memory_amount_gb) + _setter("memory_amount_gb", memory_amount_gb) if memory_gb_per_hour is not None: - pulumi.set(__self__, "memory_gb_per_hour", memory_gb_per_hour) + _setter("memory_gb_per_hour", memory_gb_per_hour) if memory_gb_per_hour_by_subscription is not None: - pulumi.set(__self__, "memory_gb_per_hour_by_subscription", memory_gb_per_hour_by_subscription) + _setter("memory_gb_per_hour_by_subscription", memory_gb_per_hour_by_subscription) if ocpu_count is not None: - pulumi.set(__self__, "ocpu_count", ocpu_count) + _setter("ocpu_count", ocpu_count) if ocpu_per_hour is not None: - pulumi.set(__self__, "ocpu_per_hour", ocpu_per_hour) + _setter("ocpu_per_hour", ocpu_per_hour) if ocpu_per_hour_by_subscription is not None: - pulumi.set(__self__, "ocpu_per_hour_by_subscription", ocpu_per_hour_by_subscription) + _setter("ocpu_per_hour_by_subscription", ocpu_per_hour_by_subscription) if total_per_hour is not None: - pulumi.set(__self__, "total_per_hour", total_per_hour) + _setter("total_per_hour", total_per_hour) if total_per_hour_by_subscription is not None: - pulumi.set(__self__, "total_per_hour_by_subscription", total_per_hour_by_subscription) + _setter("total_per_hour_by_subscription", total_per_hour_by_subscription) @property @pulumi.getter(name="gpuCount") @@ -542,10 +605,21 @@ def __init__(__self__, *, :param float total_per_hour: Total price per hour :param float total_per_hour_by_subscription: Total price per hour by subscription """ + MigrationPlanMigrationPlanStatTotalEstimatedCostOsImage._configure( + lambda key, value: pulumi.set(__self__, key, value), + total_per_hour=total_per_hour, + total_per_hour_by_subscription=total_per_hour_by_subscription, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + total_per_hour: Optional[float] = None, + total_per_hour_by_subscription: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions]=None): if total_per_hour is not None: - pulumi.set(__self__, "total_per_hour", total_per_hour) + _setter("total_per_hour", total_per_hour) if total_per_hour_by_subscription is not None: - pulumi.set(__self__, "total_per_hour_by_subscription", total_per_hour_by_subscription) + _setter("total_per_hour_by_subscription", total_per_hour_by_subscription) @property @pulumi.getter(name="totalPerHour") @@ -594,12 +668,25 @@ def __init__(__self__, *, :param float total_gb_per_month_by_subscription: Gigabyte storage capacity per month by subscription :param Sequence['MigrationPlanMigrationPlanStatTotalEstimatedCostStorageVolumeArgs'] volumes: Volume estimation """ + MigrationPlanMigrationPlanStatTotalEstimatedCostStorage._configure( + lambda key, value: pulumi.set(__self__, key, value), + total_gb_per_month=total_gb_per_month, + total_gb_per_month_by_subscription=total_gb_per_month_by_subscription, + volumes=volumes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + total_gb_per_month: Optional[float] = None, + total_gb_per_month_by_subscription: Optional[float] = None, + volumes: Optional[Sequence['outputs.MigrationPlanMigrationPlanStatTotalEstimatedCostStorageVolume']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if total_gb_per_month is not None: - pulumi.set(__self__, "total_gb_per_month", total_gb_per_month) + _setter("total_gb_per_month", total_gb_per_month) if total_gb_per_month_by_subscription is not None: - pulumi.set(__self__, "total_gb_per_month_by_subscription", total_gb_per_month_by_subscription) + _setter("total_gb_per_month_by_subscription", total_gb_per_month_by_subscription) if volumes is not None: - pulumi.set(__self__, "volumes", volumes) + _setter("volumes", volumes) @property @pulumi.getter(name="totalGbPerMonth") @@ -660,14 +747,29 @@ def __init__(__self__, *, :param float total_gb_per_month: Gigabyte storage capacity per month. :param float total_gb_per_month_by_subscription: Gigabyte storage capacity per month by subscription """ + MigrationPlanMigrationPlanStatTotalEstimatedCostStorageVolume._configure( + lambda key, value: pulumi.set(__self__, key, value), + capacity_gb=capacity_gb, + description=description, + total_gb_per_month=total_gb_per_month, + total_gb_per_month_by_subscription=total_gb_per_month_by_subscription, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + capacity_gb: Optional[float] = None, + description: Optional[str] = None, + total_gb_per_month: Optional[float] = None, + total_gb_per_month_by_subscription: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions]=None): if capacity_gb is not None: - pulumi.set(__self__, "capacity_gb", capacity_gb) + _setter("capacity_gb", capacity_gb) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if total_gb_per_month is not None: - pulumi.set(__self__, "total_gb_per_month", total_gb_per_month) + _setter("total_gb_per_month", total_gb_per_month) if total_gb_per_month_by_subscription is not None: - pulumi.set(__self__, "total_gb_per_month_by_subscription", total_gb_per_month_by_subscription) + _setter("total_gb_per_month_by_subscription", total_gb_per_month_by_subscription) @property @pulumi.getter(name="capacityGb") @@ -744,16 +846,35 @@ def __init__(__self__, *, :param str metric_type: (Updatable) The current state of the migration plan. :param str percentile: (Updatable) Percentile value """ - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "strategy_type", strategy_type) + MigrationPlanStrategy._configure( + lambda key, value: pulumi.set(__self__, key, value), + resource_type=resource_type, + strategy_type=strategy_type, + adjustment_multiplier=adjustment_multiplier, + metric_time_window=metric_time_window, + metric_type=metric_type, + percentile=percentile, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + resource_type: str, + strategy_type: str, + adjustment_multiplier: Optional[float] = None, + metric_time_window: Optional[str] = None, + metric_type: Optional[str] = None, + percentile: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("resource_type", resource_type) + _setter("strategy_type", strategy_type) if adjustment_multiplier is not None: - pulumi.set(__self__, "adjustment_multiplier", adjustment_multiplier) + _setter("adjustment_multiplier", adjustment_multiplier) if metric_time_window is not None: - pulumi.set(__self__, "metric_time_window", metric_time_window) + _setter("metric_time_window", metric_time_window) if metric_type is not None: - pulumi.set(__self__, "metric_type", metric_type) + _setter("metric_type", metric_type) if percentile is not None: - pulumi.set(__self__, "percentile", percentile) + _setter("percentile", percentile) @property @pulumi.getter(name="resourceType") @@ -860,21 +981,46 @@ def __init__(__self__, *, :param str preferred_shape_type: (Updatable) Preferred VM shape type provided by the customer. :param str target_compartment_id: (Updatable) Target compartment identifier """ - pulumi.set(__self__, "subnet", subnet) - pulumi.set(__self__, "target_environment_type", target_environment_type) - pulumi.set(__self__, "vcn", vcn) + MigrationPlanTargetEnvironment._configure( + lambda key, value: pulumi.set(__self__, key, value), + subnet=subnet, + target_environment_type=target_environment_type, + vcn=vcn, + availability_domain=availability_domain, + dedicated_vm_host=dedicated_vm_host, + fault_domain=fault_domain, + ms_license=ms_license, + preferred_shape_type=preferred_shape_type, + target_compartment_id=target_compartment_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + subnet: str, + target_environment_type: str, + vcn: str, + availability_domain: Optional[str] = None, + dedicated_vm_host: Optional[str] = None, + fault_domain: Optional[str] = None, + ms_license: Optional[str] = None, + preferred_shape_type: Optional[str] = None, + target_compartment_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("subnet", subnet) + _setter("target_environment_type", target_environment_type) + _setter("vcn", vcn) if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if dedicated_vm_host is not None: - pulumi.set(__self__, "dedicated_vm_host", dedicated_vm_host) + _setter("dedicated_vm_host", dedicated_vm_host) if fault_domain is not None: - pulumi.set(__self__, "fault_domain", fault_domain) + _setter("fault_domain", fault_domain) if ms_license is not None: - pulumi.set(__self__, "ms_license", ms_license) + _setter("ms_license", ms_license) if preferred_shape_type is not None: - pulumi.set(__self__, "preferred_shape_type", preferred_shape_type) + _setter("preferred_shape_type", preferred_shape_type) if target_compartment_id is not None: - pulumi.set(__self__, "target_compartment_id", target_compartment_id) + _setter("target_compartment_id", target_compartment_id) @property @pulumi.getter @@ -964,12 +1110,25 @@ def __init__(__self__, *, :param str name: (Updatable) The plugin name. To get a list of available plugins, use the [ListInstanceagentAvailablePlugins](https://docs.cloud.oracle.com/iaas/api/#/en/instanceagent/20180530/Plugin/ListInstanceagentAvailablePlugins) operation in the Oracle Cloud Agent API. For more information about the available plugins, see [Managing Plugins with Oracle Cloud Agent](https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/manage-plugins.htm). :param str severity: Severity level of the compatibility issue. """ + TargetAssetCompatibilityMessage._configure( + lambda key, value: pulumi.set(__self__, key, value), + message=message, + name=name, + severity=severity, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + message: Optional[str] = None, + name: Optional[str] = None, + severity: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if message is not None: - pulumi.set(__self__, "message", message) + _setter("message", message) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if severity is not None: - pulumi.set(__self__, "severity", severity) + _setter("severity", severity) @property @pulumi.getter @@ -1040,20 +1199,41 @@ def __init__(__self__, *, :param float total_estimation_per_month: Total estimation per month :param float total_estimation_per_month_by_subscription: Total estimation per month by subscription. """ + TargetAssetEstimatedCost._configure( + lambda key, value: pulumi.set(__self__, key, value), + computes=computes, + currency_code=currency_code, + os_images=os_images, + storages=storages, + subscription_id=subscription_id, + total_estimation_per_month=total_estimation_per_month, + total_estimation_per_month_by_subscription=total_estimation_per_month_by_subscription, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + computes: Optional[Sequence['outputs.TargetAssetEstimatedCostCompute']] = None, + currency_code: Optional[str] = None, + os_images: Optional[Sequence['outputs.TargetAssetEstimatedCostOsImage']] = None, + storages: Optional[Sequence['outputs.TargetAssetEstimatedCostStorage']] = None, + subscription_id: Optional[str] = None, + total_estimation_per_month: Optional[float] = None, + total_estimation_per_month_by_subscription: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions]=None): if computes is not None: - pulumi.set(__self__, "computes", computes) + _setter("computes", computes) if currency_code is not None: - pulumi.set(__self__, "currency_code", currency_code) + _setter("currency_code", currency_code) if os_images is not None: - pulumi.set(__self__, "os_images", os_images) + _setter("os_images", os_images) if storages is not None: - pulumi.set(__self__, "storages", storages) + _setter("storages", storages) if subscription_id is not None: - pulumi.set(__self__, "subscription_id", subscription_id) + _setter("subscription_id", subscription_id) if total_estimation_per_month is not None: - pulumi.set(__self__, "total_estimation_per_month", total_estimation_per_month) + _setter("total_estimation_per_month", total_estimation_per_month) if total_estimation_per_month_by_subscription is not None: - pulumi.set(__self__, "total_estimation_per_month_by_subscription", total_estimation_per_month_by_subscription) + _setter("total_estimation_per_month_by_subscription", total_estimation_per_month_by_subscription) @property @pulumi.getter @@ -1176,28 +1356,57 @@ def __init__(__self__, *, :param float total_per_hour: Total price per hour :param float total_per_hour_by_subscription: Total price per hour by subscription """ + TargetAssetEstimatedCostCompute._configure( + lambda key, value: pulumi.set(__self__, key, value), + gpu_count=gpu_count, + gpu_per_hour=gpu_per_hour, + gpu_per_hour_by_subscription=gpu_per_hour_by_subscription, + memory_amount_gb=memory_amount_gb, + memory_gb_per_hour=memory_gb_per_hour, + memory_gb_per_hour_by_subscription=memory_gb_per_hour_by_subscription, + ocpu_count=ocpu_count, + ocpu_per_hour=ocpu_per_hour, + ocpu_per_hour_by_subscription=ocpu_per_hour_by_subscription, + total_per_hour=total_per_hour, + total_per_hour_by_subscription=total_per_hour_by_subscription, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + gpu_count: Optional[float] = None, + gpu_per_hour: Optional[float] = None, + gpu_per_hour_by_subscription: Optional[float] = None, + memory_amount_gb: Optional[float] = None, + memory_gb_per_hour: Optional[float] = None, + memory_gb_per_hour_by_subscription: Optional[float] = None, + ocpu_count: Optional[float] = None, + ocpu_per_hour: Optional[float] = None, + ocpu_per_hour_by_subscription: Optional[float] = None, + total_per_hour: Optional[float] = None, + total_per_hour_by_subscription: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions]=None): if gpu_count is not None: - pulumi.set(__self__, "gpu_count", gpu_count) + _setter("gpu_count", gpu_count) if gpu_per_hour is not None: - pulumi.set(__self__, "gpu_per_hour", gpu_per_hour) + _setter("gpu_per_hour", gpu_per_hour) if gpu_per_hour_by_subscription is not None: - pulumi.set(__self__, "gpu_per_hour_by_subscription", gpu_per_hour_by_subscription) + _setter("gpu_per_hour_by_subscription", gpu_per_hour_by_subscription) if memory_amount_gb is not None: - pulumi.set(__self__, "memory_amount_gb", memory_amount_gb) + _setter("memory_amount_gb", memory_amount_gb) if memory_gb_per_hour is not None: - pulumi.set(__self__, "memory_gb_per_hour", memory_gb_per_hour) + _setter("memory_gb_per_hour", memory_gb_per_hour) if memory_gb_per_hour_by_subscription is not None: - pulumi.set(__self__, "memory_gb_per_hour_by_subscription", memory_gb_per_hour_by_subscription) + _setter("memory_gb_per_hour_by_subscription", memory_gb_per_hour_by_subscription) if ocpu_count is not None: - pulumi.set(__self__, "ocpu_count", ocpu_count) + _setter("ocpu_count", ocpu_count) if ocpu_per_hour is not None: - pulumi.set(__self__, "ocpu_per_hour", ocpu_per_hour) + _setter("ocpu_per_hour", ocpu_per_hour) if ocpu_per_hour_by_subscription is not None: - pulumi.set(__self__, "ocpu_per_hour_by_subscription", ocpu_per_hour_by_subscription) + _setter("ocpu_per_hour_by_subscription", ocpu_per_hour_by_subscription) if total_per_hour is not None: - pulumi.set(__self__, "total_per_hour", total_per_hour) + _setter("total_per_hour", total_per_hour) if total_per_hour_by_subscription is not None: - pulumi.set(__self__, "total_per_hour_by_subscription", total_per_hour_by_subscription) + _setter("total_per_hour_by_subscription", total_per_hour_by_subscription) @property @pulumi.getter(name="gpuCount") @@ -1316,10 +1525,21 @@ def __init__(__self__, *, :param float total_per_hour: Total price per hour :param float total_per_hour_by_subscription: Total price per hour by subscription """ + TargetAssetEstimatedCostOsImage._configure( + lambda key, value: pulumi.set(__self__, key, value), + total_per_hour=total_per_hour, + total_per_hour_by_subscription=total_per_hour_by_subscription, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + total_per_hour: Optional[float] = None, + total_per_hour_by_subscription: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions]=None): if total_per_hour is not None: - pulumi.set(__self__, "total_per_hour", total_per_hour) + _setter("total_per_hour", total_per_hour) if total_per_hour_by_subscription is not None: - pulumi.set(__self__, "total_per_hour_by_subscription", total_per_hour_by_subscription) + _setter("total_per_hour_by_subscription", total_per_hour_by_subscription) @property @pulumi.getter(name="totalPerHour") @@ -1368,12 +1588,25 @@ def __init__(__self__, *, :param float total_gb_per_month_by_subscription: Gigabyte storage capacity per month by subscription :param Sequence['TargetAssetEstimatedCostStorageVolumeArgs'] volumes: Volume estimation """ + TargetAssetEstimatedCostStorage._configure( + lambda key, value: pulumi.set(__self__, key, value), + total_gb_per_month=total_gb_per_month, + total_gb_per_month_by_subscription=total_gb_per_month_by_subscription, + volumes=volumes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + total_gb_per_month: Optional[float] = None, + total_gb_per_month_by_subscription: Optional[float] = None, + volumes: Optional[Sequence['outputs.TargetAssetEstimatedCostStorageVolume']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if total_gb_per_month is not None: - pulumi.set(__self__, "total_gb_per_month", total_gb_per_month) + _setter("total_gb_per_month", total_gb_per_month) if total_gb_per_month_by_subscription is not None: - pulumi.set(__self__, "total_gb_per_month_by_subscription", total_gb_per_month_by_subscription) + _setter("total_gb_per_month_by_subscription", total_gb_per_month_by_subscription) if volumes is not None: - pulumi.set(__self__, "volumes", volumes) + _setter("volumes", volumes) @property @pulumi.getter(name="totalGbPerMonth") @@ -1434,14 +1667,29 @@ def __init__(__self__, *, :param float total_gb_per_month: Gigabyte storage capacity per month. :param float total_gb_per_month_by_subscription: Gigabyte storage capacity per month by subscription """ + TargetAssetEstimatedCostStorageVolume._configure( + lambda key, value: pulumi.set(__self__, key, value), + capacity_gb=capacity_gb, + description=description, + total_gb_per_month=total_gb_per_month, + total_gb_per_month_by_subscription=total_gb_per_month_by_subscription, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + capacity_gb: Optional[float] = None, + description: Optional[str] = None, + total_gb_per_month: Optional[float] = None, + total_gb_per_month_by_subscription: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions]=None): if capacity_gb is not None: - pulumi.set(__self__, "capacity_gb", capacity_gb) + _setter("capacity_gb", capacity_gb) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if total_gb_per_month is not None: - pulumi.set(__self__, "total_gb_per_month", total_gb_per_month) + _setter("total_gb_per_month", total_gb_per_month) if total_gb_per_month_by_subscription is not None: - pulumi.set(__self__, "total_gb_per_month_by_subscription", total_gb_per_month_by_subscription) + _setter("total_gb_per_month_by_subscription", total_gb_per_month_by_subscription) @property @pulumi.getter(name="capacityGb") @@ -1570,48 +1818,97 @@ def __init__(__self__, *, :param str time_updated: The time when the target asset was updated. An RFC3339 formatted datetime string. :param str type: (Updatable) The type of action to run when the instance is interrupted for eviction. """ + TargetAssetMigrationAsset._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + compartment_id=compartment_id, + depended_on_bies=depended_on_bies, + depends_ons=depends_ons, + display_name=display_name, + id=id, + lifecycle_details=lifecycle_details, + migration_id=migration_id, + notifications=notifications, + parent_snapshot=parent_snapshot, + replication_compartment_id=replication_compartment_id, + replication_schedule_id=replication_schedule_id, + snap_shot_bucket_name=snap_shot_bucket_name, + snapshots=snapshots, + source_asset_data=source_asset_data, + source_asset_id=source_asset_id, + state=state, + tenancy_id=tenancy_id, + time_created=time_created, + time_updated=time_updated, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: Optional[str] = None, + compartment_id: Optional[str] = None, + depended_on_bies: Optional[Sequence[str]] = None, + depends_ons: Optional[Sequence[str]] = None, + display_name: Optional[str] = None, + id: Optional[str] = None, + lifecycle_details: Optional[str] = None, + migration_id: Optional[str] = None, + notifications: Optional[Sequence[str]] = None, + parent_snapshot: Optional[str] = None, + replication_compartment_id: Optional[str] = None, + replication_schedule_id: Optional[str] = None, + snap_shot_bucket_name: Optional[str] = None, + snapshots: Optional[Mapping[str, Any]] = None, + source_asset_data: Optional[Mapping[str, Any]] = None, + source_asset_id: Optional[str] = None, + state: Optional[str] = None, + tenancy_id: Optional[str] = None, + time_created: Optional[str] = None, + time_updated: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if depended_on_bies is not None: - pulumi.set(__self__, "depended_on_bies", depended_on_bies) + _setter("depended_on_bies", depended_on_bies) if depends_ons is not None: - pulumi.set(__self__, "depends_ons", depends_ons) + _setter("depends_ons", depends_ons) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if migration_id is not None: - pulumi.set(__self__, "migration_id", migration_id) + _setter("migration_id", migration_id) if notifications is not None: - pulumi.set(__self__, "notifications", notifications) + _setter("notifications", notifications) if parent_snapshot is not None: - pulumi.set(__self__, "parent_snapshot", parent_snapshot) + _setter("parent_snapshot", parent_snapshot) if replication_compartment_id is not None: - pulumi.set(__self__, "replication_compartment_id", replication_compartment_id) + _setter("replication_compartment_id", replication_compartment_id) if replication_schedule_id is not None: - pulumi.set(__self__, "replication_schedule_id", replication_schedule_id) + _setter("replication_schedule_id", replication_schedule_id) if snap_shot_bucket_name is not None: - pulumi.set(__self__, "snap_shot_bucket_name", snap_shot_bucket_name) + _setter("snap_shot_bucket_name", snap_shot_bucket_name) if snapshots is not None: - pulumi.set(__self__, "snapshots", snapshots) + _setter("snapshots", snapshots) if source_asset_data is not None: - pulumi.set(__self__, "source_asset_data", source_asset_data) + _setter("source_asset_data", source_asset_data) if source_asset_id is not None: - pulumi.set(__self__, "source_asset_id", source_asset_id) + _setter("source_asset_id", source_asset_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if tenancy_id is not None: - pulumi.set(__self__, "tenancy_id", tenancy_id) + _setter("tenancy_id", tenancy_id) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter(name="availabilityDomain") @@ -1896,42 +2193,85 @@ def __init__(__self__, *, Each shape only supports certain configurable values. If the values that you provide are not valid for the specified `shape`, an error is returned. :param Sequence['TargetAssetRecommendedSpecSourceDetailArgs'] source_details: (Updatable) """ + TargetAssetRecommendedSpec._configure( + lambda key, value: pulumi.set(__self__, key, value), + agent_configs=agent_configs, + availability_domain=availability_domain, + capacity_reservation_id=capacity_reservation_id, + compartment_id=compartment_id, + create_vnic_details=create_vnic_details, + dedicated_vm_host_id=dedicated_vm_host_id, + defined_tags=defined_tags, + display_name=display_name, + fault_domain=fault_domain, + freeform_tags=freeform_tags, + hostname_label=hostname_label, + instance_options=instance_options, + ipxe_script=ipxe_script, + is_pv_encryption_in_transit_enabled=is_pv_encryption_in_transit_enabled, + preemptible_instance_configs=preemptible_instance_configs, + shape=shape, + shape_configs=shape_configs, + source_details=source_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agent_configs: Optional[Sequence['outputs.TargetAssetRecommendedSpecAgentConfig']] = None, + availability_domain: Optional[str] = None, + capacity_reservation_id: Optional[str] = None, + compartment_id: Optional[str] = None, + create_vnic_details: Optional[Sequence['outputs.TargetAssetRecommendedSpecCreateVnicDetail']] = None, + dedicated_vm_host_id: Optional[str] = None, + defined_tags: Optional[Mapping[str, Any]] = None, + display_name: Optional[str] = None, + fault_domain: Optional[str] = None, + freeform_tags: Optional[Mapping[str, Any]] = None, + hostname_label: Optional[str] = None, + instance_options: Optional[Sequence['outputs.TargetAssetRecommendedSpecInstanceOption']] = None, + ipxe_script: Optional[str] = None, + is_pv_encryption_in_transit_enabled: Optional[bool] = None, + preemptible_instance_configs: Optional[Sequence['outputs.TargetAssetRecommendedSpecPreemptibleInstanceConfig']] = None, + shape: Optional[str] = None, + shape_configs: Optional[Sequence['outputs.TargetAssetRecommendedSpecShapeConfig']] = None, + source_details: Optional[Sequence['outputs.TargetAssetRecommendedSpecSourceDetail']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if agent_configs is not None: - pulumi.set(__self__, "agent_configs", agent_configs) + _setter("agent_configs", agent_configs) if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if capacity_reservation_id is not None: - pulumi.set(__self__, "capacity_reservation_id", capacity_reservation_id) + _setter("capacity_reservation_id", capacity_reservation_id) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if create_vnic_details is not None: - pulumi.set(__self__, "create_vnic_details", create_vnic_details) + _setter("create_vnic_details", create_vnic_details) if dedicated_vm_host_id is not None: - pulumi.set(__self__, "dedicated_vm_host_id", dedicated_vm_host_id) + _setter("dedicated_vm_host_id", dedicated_vm_host_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if fault_domain is not None: - pulumi.set(__self__, "fault_domain", fault_domain) + _setter("fault_domain", fault_domain) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if hostname_label is not None: - pulumi.set(__self__, "hostname_label", hostname_label) + _setter("hostname_label", hostname_label) if instance_options is not None: - pulumi.set(__self__, "instance_options", instance_options) + _setter("instance_options", instance_options) if ipxe_script is not None: - pulumi.set(__self__, "ipxe_script", ipxe_script) + _setter("ipxe_script", ipxe_script) if is_pv_encryption_in_transit_enabled is not None: - pulumi.set(__self__, "is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) + _setter("is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) if preemptible_instance_configs is not None: - pulumi.set(__self__, "preemptible_instance_configs", preemptible_instance_configs) + _setter("preemptible_instance_configs", preemptible_instance_configs) if shape is not None: - pulumi.set(__self__, "shape", shape) + _setter("shape", shape) if shape_configs is not None: - pulumi.set(__self__, "shape_configs", shape_configs) + _setter("shape_configs", shape_configs) if source_details is not None: - pulumi.set(__self__, "source_details", source_details) + _setter("source_details", source_details) @property @pulumi.getter(name="agentConfigs") @@ -2152,14 +2492,29 @@ def __init__(__self__, *, * If `isMonitoringDisabled` is false, all the monitoring plugins are enabled. You can optionally disable individual monitoring plugins by providing a value in the `pluginsConfig` object. :param Sequence['TargetAssetRecommendedSpecAgentConfigPluginsConfigArgs'] plugins_configs: (Updatable) The configuration of plugins associated with this instance. """ + TargetAssetRecommendedSpecAgentConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + are_all_plugins_disabled=are_all_plugins_disabled, + is_management_disabled=is_management_disabled, + is_monitoring_disabled=is_monitoring_disabled, + plugins_configs=plugins_configs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + are_all_plugins_disabled: Optional[bool] = None, + is_management_disabled: Optional[bool] = None, + is_monitoring_disabled: Optional[bool] = None, + plugins_configs: Optional[Sequence['outputs.TargetAssetRecommendedSpecAgentConfigPluginsConfig']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if are_all_plugins_disabled is not None: - pulumi.set(__self__, "are_all_plugins_disabled", are_all_plugins_disabled) + _setter("are_all_plugins_disabled", are_all_plugins_disabled) if is_management_disabled is not None: - pulumi.set(__self__, "is_management_disabled", is_management_disabled) + _setter("is_management_disabled", is_management_disabled) if is_monitoring_disabled is not None: - pulumi.set(__self__, "is_monitoring_disabled", is_monitoring_disabled) + _setter("is_monitoring_disabled", is_monitoring_disabled) if plugins_configs is not None: - pulumi.set(__self__, "plugins_configs", plugins_configs) + _setter("plugins_configs", plugins_configs) @property @pulumi.getter(name="areAllPluginsDisabled") @@ -2236,10 +2591,21 @@ def __init__(__self__, *, To enable the monitoring and management plugins, the `isMonitoringDisabled` and `isManagementDisabled` attributes must also be set to false. :param str name: (Updatable) The plugin name. To get a list of available plugins, use the [ListInstanceagentAvailablePlugins](https://docs.cloud.oracle.com/iaas/api/#/en/instanceagent/20180530/Plugin/ListInstanceagentAvailablePlugins) operation in the Oracle Cloud Agent API. For more information about the available plugins, see [Managing Plugins with Oracle Cloud Agent](https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/manage-plugins.htm). """ + TargetAssetRecommendedSpecAgentConfigPluginsConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + desired_state=desired_state, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + desired_state: Optional[str] = None, + name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if desired_state is not None: - pulumi.set(__self__, "desired_state", desired_state) + _setter("desired_state", desired_state) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter(name="desiredState") @@ -2348,28 +2714,57 @@ def __init__(__self__, *, Provide a `vlanId` instead of a `subnetId`. If you provide both `vlanId` and `subnetId`, the request fails. """ + TargetAssetRecommendedSpecCreateVnicDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + assign_private_dns_record=assign_private_dns_record, + assign_public_ip=assign_public_ip, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + hostname_label=hostname_label, + nsg_ids=nsg_ids, + private_ip=private_ip, + skip_source_dest_check=skip_source_dest_check, + subnet_id=subnet_id, + vlan_id=vlan_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + assign_private_dns_record: Optional[bool] = None, + assign_public_ip: Optional[bool] = None, + defined_tags: Optional[Mapping[str, Any]] = None, + display_name: Optional[str] = None, + freeform_tags: Optional[Mapping[str, Any]] = None, + hostname_label: Optional[str] = None, + nsg_ids: Optional[Sequence[str]] = None, + private_ip: Optional[str] = None, + skip_source_dest_check: Optional[bool] = None, + subnet_id: Optional[str] = None, + vlan_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if assign_private_dns_record is not None: - pulumi.set(__self__, "assign_private_dns_record", assign_private_dns_record) + _setter("assign_private_dns_record", assign_private_dns_record) if assign_public_ip is not None: - pulumi.set(__self__, "assign_public_ip", assign_public_ip) + _setter("assign_public_ip", assign_public_ip) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if hostname_label is not None: - pulumi.set(__self__, "hostname_label", hostname_label) + _setter("hostname_label", hostname_label) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) if private_ip is not None: - pulumi.set(__self__, "private_ip", private_ip) + _setter("private_ip", private_ip) if skip_source_dest_check is not None: - pulumi.set(__self__, "skip_source_dest_check", skip_source_dest_check) + _setter("skip_source_dest_check", skip_source_dest_check) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) if vlan_id is not None: - pulumi.set(__self__, "vlan_id", vlan_id) + _setter("vlan_id", vlan_id) @property @pulumi.getter(name="assignPrivateDnsRecord") @@ -2508,8 +2903,17 @@ def __init__(__self__, *, """ :param bool are_legacy_imds_endpoints_disabled: (Updatable) Whether to disable the legacy (/v1) instance metadata service endpoints. Customers who have migrated to /v2 should set this to true for added security. Default is false. """ + TargetAssetRecommendedSpecInstanceOption._configure( + lambda key, value: pulumi.set(__self__, key, value), + are_legacy_imds_endpoints_disabled=are_legacy_imds_endpoints_disabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + are_legacy_imds_endpoints_disabled: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): if are_legacy_imds_endpoints_disabled is not None: - pulumi.set(__self__, "are_legacy_imds_endpoints_disabled", are_legacy_imds_endpoints_disabled) + _setter("are_legacy_imds_endpoints_disabled", are_legacy_imds_endpoints_disabled) @property @pulumi.getter(name="areLegacyImdsEndpointsDisabled") @@ -2544,8 +2948,17 @@ def __init__(__self__, *, """ :param Sequence['TargetAssetRecommendedSpecPreemptibleInstanceConfigPreemptionActionArgs'] preemption_actions: (Updatable) The action to run when the preemptible instance is interrupted for eviction. """ + TargetAssetRecommendedSpecPreemptibleInstanceConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + preemption_actions=preemption_actions, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + preemption_actions: Optional[Sequence['outputs.TargetAssetRecommendedSpecPreemptibleInstanceConfigPreemptionAction']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if preemption_actions is not None: - pulumi.set(__self__, "preemption_actions", preemption_actions) + _setter("preemption_actions", preemption_actions) @property @pulumi.getter(name="preemptionActions") @@ -2582,10 +2995,21 @@ def __init__(__self__, *, :param bool preserve_boot_volume: (Updatable) Whether to preserve the boot volume that was used to launch the preemptible instance when the instance is terminated. By default, it is false if not specified. :param str type: (Updatable) The type of action to run when the instance is interrupted for eviction. """ + TargetAssetRecommendedSpecPreemptibleInstanceConfigPreemptionAction._configure( + lambda key, value: pulumi.set(__self__, key, value), + preserve_boot_volume=preserve_boot_volume, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + preserve_boot_volume: Optional[bool] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if preserve_boot_volume is not None: - pulumi.set(__self__, "preserve_boot_volume", preserve_boot_volume) + _setter("preserve_boot_volume", preserve_boot_volume) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter(name="preserveBootVolume") @@ -2636,12 +3060,25 @@ def __init__(__self__, *, :param float memory_in_gbs: (Updatable) The total amount of memory in gigabytes that is available to the instance. :param float ocpus: (Updatable) The total number of OCPUs available to the instance. """ + TargetAssetRecommendedSpecShapeConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + baseline_ocpu_utilization=baseline_ocpu_utilization, + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + baseline_ocpu_utilization: Optional[str] = None, + memory_in_gbs: Optional[float] = None, + ocpus: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions]=None): if baseline_ocpu_utilization is not None: - pulumi.set(__self__, "baseline_ocpu_utilization", baseline_ocpu_utilization) + _setter("baseline_ocpu_utilization", baseline_ocpu_utilization) if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) if ocpus is not None: - pulumi.set(__self__, "ocpus", ocpus) + _setter("ocpus", ocpus) @property @pulumi.getter(name="baselineOcpuUtilization") @@ -2720,18 +3157,37 @@ def __init__(__self__, *, ** 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 """ + TargetAssetRecommendedSpecSourceDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + boot_volume_id=boot_volume_id, + boot_volume_size_in_gbs=boot_volume_size_in_gbs, + boot_volume_vpus_per_gb=boot_volume_vpus_per_gb, + image_id=image_id, + kms_key_id=kms_key_id, + source_type=source_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + boot_volume_id: Optional[str] = None, + boot_volume_size_in_gbs: Optional[str] = None, + boot_volume_vpus_per_gb: Optional[str] = None, + image_id: Optional[str] = None, + kms_key_id: Optional[str] = None, + source_type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if boot_volume_id is not None: - pulumi.set(__self__, "boot_volume_id", boot_volume_id) + _setter("boot_volume_id", boot_volume_id) if boot_volume_size_in_gbs is not None: - pulumi.set(__self__, "boot_volume_size_in_gbs", boot_volume_size_in_gbs) + _setter("boot_volume_size_in_gbs", boot_volume_size_in_gbs) if boot_volume_vpus_per_gb is not None: - pulumi.set(__self__, "boot_volume_vpus_per_gb", boot_volume_vpus_per_gb) + _setter("boot_volume_vpus_per_gb", boot_volume_vpus_per_gb) if image_id is not None: - pulumi.set(__self__, "image_id", image_id) + _setter("image_id", image_id) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) if source_type is not None: - pulumi.set(__self__, "source_type", source_type) + _setter("source_type", source_type) @property @pulumi.getter(name="bootVolumeId") @@ -2902,42 +3358,85 @@ def __init__(__self__, *, Each shape only supports certain configurable values. If the values that you provide are not valid for the specified `shape`, an error is returned. :param Sequence['TargetAssetTestSpecSourceDetailArgs'] source_details: (Updatable) """ + TargetAssetTestSpec._configure( + lambda key, value: pulumi.set(__self__, key, value), + agent_configs=agent_configs, + availability_domain=availability_domain, + capacity_reservation_id=capacity_reservation_id, + compartment_id=compartment_id, + create_vnic_details=create_vnic_details, + dedicated_vm_host_id=dedicated_vm_host_id, + defined_tags=defined_tags, + display_name=display_name, + fault_domain=fault_domain, + freeform_tags=freeform_tags, + hostname_label=hostname_label, + instance_options=instance_options, + ipxe_script=ipxe_script, + is_pv_encryption_in_transit_enabled=is_pv_encryption_in_transit_enabled, + preemptible_instance_configs=preemptible_instance_configs, + shape=shape, + shape_configs=shape_configs, + source_details=source_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agent_configs: Optional[Sequence['outputs.TargetAssetTestSpecAgentConfig']] = None, + availability_domain: Optional[str] = None, + capacity_reservation_id: Optional[str] = None, + compartment_id: Optional[str] = None, + create_vnic_details: Optional[Sequence['outputs.TargetAssetTestSpecCreateVnicDetail']] = None, + dedicated_vm_host_id: Optional[str] = None, + defined_tags: Optional[Mapping[str, Any]] = None, + display_name: Optional[str] = None, + fault_domain: Optional[str] = None, + freeform_tags: Optional[Mapping[str, Any]] = None, + hostname_label: Optional[str] = None, + instance_options: Optional[Sequence['outputs.TargetAssetTestSpecInstanceOption']] = None, + ipxe_script: Optional[str] = None, + is_pv_encryption_in_transit_enabled: Optional[bool] = None, + preemptible_instance_configs: Optional[Sequence['outputs.TargetAssetTestSpecPreemptibleInstanceConfig']] = None, + shape: Optional[str] = None, + shape_configs: Optional[Sequence['outputs.TargetAssetTestSpecShapeConfig']] = None, + source_details: Optional[Sequence['outputs.TargetAssetTestSpecSourceDetail']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if agent_configs is not None: - pulumi.set(__self__, "agent_configs", agent_configs) + _setter("agent_configs", agent_configs) if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if capacity_reservation_id is not None: - pulumi.set(__self__, "capacity_reservation_id", capacity_reservation_id) + _setter("capacity_reservation_id", capacity_reservation_id) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if create_vnic_details is not None: - pulumi.set(__self__, "create_vnic_details", create_vnic_details) + _setter("create_vnic_details", create_vnic_details) if dedicated_vm_host_id is not None: - pulumi.set(__self__, "dedicated_vm_host_id", dedicated_vm_host_id) + _setter("dedicated_vm_host_id", dedicated_vm_host_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if fault_domain is not None: - pulumi.set(__self__, "fault_domain", fault_domain) + _setter("fault_domain", fault_domain) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if hostname_label is not None: - pulumi.set(__self__, "hostname_label", hostname_label) + _setter("hostname_label", hostname_label) if instance_options is not None: - pulumi.set(__self__, "instance_options", instance_options) + _setter("instance_options", instance_options) if ipxe_script is not None: - pulumi.set(__self__, "ipxe_script", ipxe_script) + _setter("ipxe_script", ipxe_script) if is_pv_encryption_in_transit_enabled is not None: - pulumi.set(__self__, "is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) + _setter("is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) if preemptible_instance_configs is not None: - pulumi.set(__self__, "preemptible_instance_configs", preemptible_instance_configs) + _setter("preemptible_instance_configs", preemptible_instance_configs) if shape is not None: - pulumi.set(__self__, "shape", shape) + _setter("shape", shape) if shape_configs is not None: - pulumi.set(__self__, "shape_configs", shape_configs) + _setter("shape_configs", shape_configs) if source_details is not None: - pulumi.set(__self__, "source_details", source_details) + _setter("source_details", source_details) @property @pulumi.getter(name="agentConfigs") @@ -3158,14 +3657,29 @@ def __init__(__self__, *, * If `isMonitoringDisabled` is false, all the monitoring plugins are enabled. You can optionally disable individual monitoring plugins by providing a value in the `pluginsConfig` object. :param Sequence['TargetAssetTestSpecAgentConfigPluginsConfigArgs'] plugins_configs: (Updatable) The configuration of plugins associated with this instance. """ + TargetAssetTestSpecAgentConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + are_all_plugins_disabled=are_all_plugins_disabled, + is_management_disabled=is_management_disabled, + is_monitoring_disabled=is_monitoring_disabled, + plugins_configs=plugins_configs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + are_all_plugins_disabled: Optional[bool] = None, + is_management_disabled: Optional[bool] = None, + is_monitoring_disabled: Optional[bool] = None, + plugins_configs: Optional[Sequence['outputs.TargetAssetTestSpecAgentConfigPluginsConfig']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if are_all_plugins_disabled is not None: - pulumi.set(__self__, "are_all_plugins_disabled", are_all_plugins_disabled) + _setter("are_all_plugins_disabled", are_all_plugins_disabled) if is_management_disabled is not None: - pulumi.set(__self__, "is_management_disabled", is_management_disabled) + _setter("is_management_disabled", is_management_disabled) if is_monitoring_disabled is not None: - pulumi.set(__self__, "is_monitoring_disabled", is_monitoring_disabled) + _setter("is_monitoring_disabled", is_monitoring_disabled) if plugins_configs is not None: - pulumi.set(__self__, "plugins_configs", plugins_configs) + _setter("plugins_configs", plugins_configs) @property @pulumi.getter(name="areAllPluginsDisabled") @@ -3242,10 +3756,21 @@ def __init__(__self__, *, To enable the monitoring and management plugins, the `isMonitoringDisabled` and `isManagementDisabled` attributes must also be set to false. :param str name: (Updatable) The plugin name. To get a list of available plugins, use the [ListInstanceagentAvailablePlugins](https://docs.cloud.oracle.com/iaas/api/#/en/instanceagent/20180530/Plugin/ListInstanceagentAvailablePlugins) operation in the Oracle Cloud Agent API. For more information about the available plugins, see [Managing Plugins with Oracle Cloud Agent](https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/manage-plugins.htm). """ + TargetAssetTestSpecAgentConfigPluginsConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + desired_state=desired_state, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + desired_state: Optional[str] = None, + name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if desired_state is not None: - pulumi.set(__self__, "desired_state", desired_state) + _setter("desired_state", desired_state) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter(name="desiredState") @@ -3354,28 +3879,57 @@ def __init__(__self__, *, Provide a `vlanId` instead of a `subnetId`. If you provide both `vlanId` and `subnetId`, the request fails. """ + TargetAssetTestSpecCreateVnicDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + assign_private_dns_record=assign_private_dns_record, + assign_public_ip=assign_public_ip, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + hostname_label=hostname_label, + nsg_ids=nsg_ids, + private_ip=private_ip, + skip_source_dest_check=skip_source_dest_check, + subnet_id=subnet_id, + vlan_id=vlan_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + assign_private_dns_record: Optional[bool] = None, + assign_public_ip: Optional[bool] = None, + defined_tags: Optional[Mapping[str, Any]] = None, + display_name: Optional[str] = None, + freeform_tags: Optional[Mapping[str, Any]] = None, + hostname_label: Optional[str] = None, + nsg_ids: Optional[Sequence[str]] = None, + private_ip: Optional[str] = None, + skip_source_dest_check: Optional[bool] = None, + subnet_id: Optional[str] = None, + vlan_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if assign_private_dns_record is not None: - pulumi.set(__self__, "assign_private_dns_record", assign_private_dns_record) + _setter("assign_private_dns_record", assign_private_dns_record) if assign_public_ip is not None: - pulumi.set(__self__, "assign_public_ip", assign_public_ip) + _setter("assign_public_ip", assign_public_ip) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if hostname_label is not None: - pulumi.set(__self__, "hostname_label", hostname_label) + _setter("hostname_label", hostname_label) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) if private_ip is not None: - pulumi.set(__self__, "private_ip", private_ip) + _setter("private_ip", private_ip) if skip_source_dest_check is not None: - pulumi.set(__self__, "skip_source_dest_check", skip_source_dest_check) + _setter("skip_source_dest_check", skip_source_dest_check) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) if vlan_id is not None: - pulumi.set(__self__, "vlan_id", vlan_id) + _setter("vlan_id", vlan_id) @property @pulumi.getter(name="assignPrivateDnsRecord") @@ -3514,8 +4068,17 @@ def __init__(__self__, *, """ :param bool are_legacy_imds_endpoints_disabled: (Updatable) Whether to disable the legacy (/v1) instance metadata service endpoints. Customers who have migrated to /v2 should set this to true for added security. Default is false. """ + TargetAssetTestSpecInstanceOption._configure( + lambda key, value: pulumi.set(__self__, key, value), + are_legacy_imds_endpoints_disabled=are_legacy_imds_endpoints_disabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + are_legacy_imds_endpoints_disabled: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): if are_legacy_imds_endpoints_disabled is not None: - pulumi.set(__self__, "are_legacy_imds_endpoints_disabled", are_legacy_imds_endpoints_disabled) + _setter("are_legacy_imds_endpoints_disabled", are_legacy_imds_endpoints_disabled) @property @pulumi.getter(name="areLegacyImdsEndpointsDisabled") @@ -3550,8 +4113,17 @@ def __init__(__self__, *, """ :param Sequence['TargetAssetTestSpecPreemptibleInstanceConfigPreemptionActionArgs'] preemption_actions: (Updatable) The action to run when the preemptible instance is interrupted for eviction. """ + TargetAssetTestSpecPreemptibleInstanceConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + preemption_actions=preemption_actions, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + preemption_actions: Optional[Sequence['outputs.TargetAssetTestSpecPreemptibleInstanceConfigPreemptionAction']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if preemption_actions is not None: - pulumi.set(__self__, "preemption_actions", preemption_actions) + _setter("preemption_actions", preemption_actions) @property @pulumi.getter(name="preemptionActions") @@ -3588,10 +4160,21 @@ def __init__(__self__, *, :param bool preserve_boot_volume: (Updatable) Whether to preserve the boot volume that was used to launch the preemptible instance when the instance is terminated. By default, it is false if not specified. :param str type: (Updatable) The type of action to run when the instance is interrupted for eviction. """ + TargetAssetTestSpecPreemptibleInstanceConfigPreemptionAction._configure( + lambda key, value: pulumi.set(__self__, key, value), + preserve_boot_volume=preserve_boot_volume, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + preserve_boot_volume: Optional[bool] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if preserve_boot_volume is not None: - pulumi.set(__self__, "preserve_boot_volume", preserve_boot_volume) + _setter("preserve_boot_volume", preserve_boot_volume) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter(name="preserveBootVolume") @@ -3642,12 +4225,25 @@ def __init__(__self__, *, :param float memory_in_gbs: (Updatable) The total amount of memory in gigabytes that is available to the instance. :param float ocpus: (Updatable) The total number of OCPUs available to the instance. """ + TargetAssetTestSpecShapeConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + baseline_ocpu_utilization=baseline_ocpu_utilization, + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + baseline_ocpu_utilization: Optional[str] = None, + memory_in_gbs: Optional[float] = None, + ocpus: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions]=None): if baseline_ocpu_utilization is not None: - pulumi.set(__self__, "baseline_ocpu_utilization", baseline_ocpu_utilization) + _setter("baseline_ocpu_utilization", baseline_ocpu_utilization) if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) if ocpus is not None: - pulumi.set(__self__, "ocpus", ocpus) + _setter("ocpus", ocpus) @property @pulumi.getter(name="baselineOcpuUtilization") @@ -3726,18 +4322,37 @@ def __init__(__self__, *, ** 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 """ + TargetAssetTestSpecSourceDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + boot_volume_id=boot_volume_id, + boot_volume_size_in_gbs=boot_volume_size_in_gbs, + boot_volume_vpus_per_gb=boot_volume_vpus_per_gb, + image_id=image_id, + kms_key_id=kms_key_id, + source_type=source_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + boot_volume_id: Optional[str] = None, + boot_volume_size_in_gbs: Optional[str] = None, + boot_volume_vpus_per_gb: Optional[str] = None, + image_id: Optional[str] = None, + kms_key_id: Optional[str] = None, + source_type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if boot_volume_id is not None: - pulumi.set(__self__, "boot_volume_id", boot_volume_id) + _setter("boot_volume_id", boot_volume_id) if boot_volume_size_in_gbs is not None: - pulumi.set(__self__, "boot_volume_size_in_gbs", boot_volume_size_in_gbs) + _setter("boot_volume_size_in_gbs", boot_volume_size_in_gbs) if boot_volume_vpus_per_gb is not None: - pulumi.set(__self__, "boot_volume_vpus_per_gb", boot_volume_vpus_per_gb) + _setter("boot_volume_vpus_per_gb", boot_volume_vpus_per_gb) if image_id is not None: - pulumi.set(__self__, "image_id", image_id) + _setter("image_id", image_id) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) if source_type is not None: - pulumi.set(__self__, "source_type", source_type) + _setter("source_type", source_type) @property @pulumi.getter(name="bootVolumeId") @@ -3908,42 +4523,85 @@ def __init__(__self__, *, Each shape only supports certain configurable values. If the values that you provide are not valid for the specified `shape`, an error is returned. :param 'TargetAssetUserSpecSourceDetailsArgs' source_details: (Updatable) """ + TargetAssetUserSpec._configure( + lambda key, value: pulumi.set(__self__, key, value), + agent_config=agent_config, + availability_domain=availability_domain, + capacity_reservation_id=capacity_reservation_id, + compartment_id=compartment_id, + create_vnic_details=create_vnic_details, + dedicated_vm_host_id=dedicated_vm_host_id, + defined_tags=defined_tags, + display_name=display_name, + fault_domain=fault_domain, + freeform_tags=freeform_tags, + hostname_label=hostname_label, + instance_options=instance_options, + ipxe_script=ipxe_script, + is_pv_encryption_in_transit_enabled=is_pv_encryption_in_transit_enabled, + preemptible_instance_config=preemptible_instance_config, + shape=shape, + shape_config=shape_config, + source_details=source_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agent_config: Optional['outputs.TargetAssetUserSpecAgentConfig'] = None, + availability_domain: Optional[str] = None, + capacity_reservation_id: Optional[str] = None, + compartment_id: Optional[str] = None, + create_vnic_details: Optional['outputs.TargetAssetUserSpecCreateVnicDetails'] = None, + dedicated_vm_host_id: Optional[str] = None, + defined_tags: Optional[Mapping[str, Any]] = None, + display_name: Optional[str] = None, + fault_domain: Optional[str] = None, + freeform_tags: Optional[Mapping[str, Any]] = None, + hostname_label: Optional[str] = None, + instance_options: Optional['outputs.TargetAssetUserSpecInstanceOptions'] = None, + ipxe_script: Optional[str] = None, + is_pv_encryption_in_transit_enabled: Optional[bool] = None, + preemptible_instance_config: Optional['outputs.TargetAssetUserSpecPreemptibleInstanceConfig'] = None, + shape: Optional[str] = None, + shape_config: Optional['outputs.TargetAssetUserSpecShapeConfig'] = None, + source_details: Optional['outputs.TargetAssetUserSpecSourceDetails'] = None, + opts: Optional[pulumi.ResourceOptions]=None): if agent_config is not None: - pulumi.set(__self__, "agent_config", agent_config) + _setter("agent_config", agent_config) if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if capacity_reservation_id is not None: - pulumi.set(__self__, "capacity_reservation_id", capacity_reservation_id) + _setter("capacity_reservation_id", capacity_reservation_id) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if create_vnic_details is not None: - pulumi.set(__self__, "create_vnic_details", create_vnic_details) + _setter("create_vnic_details", create_vnic_details) if dedicated_vm_host_id is not None: - pulumi.set(__self__, "dedicated_vm_host_id", dedicated_vm_host_id) + _setter("dedicated_vm_host_id", dedicated_vm_host_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if fault_domain is not None: - pulumi.set(__self__, "fault_domain", fault_domain) + _setter("fault_domain", fault_domain) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if hostname_label is not None: - pulumi.set(__self__, "hostname_label", hostname_label) + _setter("hostname_label", hostname_label) if instance_options is not None: - pulumi.set(__self__, "instance_options", instance_options) + _setter("instance_options", instance_options) if ipxe_script is not None: - pulumi.set(__self__, "ipxe_script", ipxe_script) + _setter("ipxe_script", ipxe_script) if is_pv_encryption_in_transit_enabled is not None: - pulumi.set(__self__, "is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) + _setter("is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) if preemptible_instance_config is not None: - pulumi.set(__self__, "preemptible_instance_config", preemptible_instance_config) + _setter("preemptible_instance_config", preemptible_instance_config) if shape is not None: - pulumi.set(__self__, "shape", shape) + _setter("shape", shape) if shape_config is not None: - pulumi.set(__self__, "shape_config", shape_config) + _setter("shape_config", shape_config) if source_details is not None: - pulumi.set(__self__, "source_details", source_details) + _setter("source_details", source_details) @property @pulumi.getter(name="agentConfig") @@ -4164,14 +4822,29 @@ def __init__(__self__, *, * If `isMonitoringDisabled` is false, all the monitoring plugins are enabled. You can optionally disable individual monitoring plugins by providing a value in the `pluginsConfig` object. :param Sequence['TargetAssetUserSpecAgentConfigPluginsConfigArgs'] plugins_configs: (Updatable) The configuration of plugins associated with this instance. """ + TargetAssetUserSpecAgentConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + are_all_plugins_disabled=are_all_plugins_disabled, + is_management_disabled=is_management_disabled, + is_monitoring_disabled=is_monitoring_disabled, + plugins_configs=plugins_configs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + are_all_plugins_disabled: Optional[bool] = None, + is_management_disabled: Optional[bool] = None, + is_monitoring_disabled: Optional[bool] = None, + plugins_configs: Optional[Sequence['outputs.TargetAssetUserSpecAgentConfigPluginsConfig']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if are_all_plugins_disabled is not None: - pulumi.set(__self__, "are_all_plugins_disabled", are_all_plugins_disabled) + _setter("are_all_plugins_disabled", are_all_plugins_disabled) if is_management_disabled is not None: - pulumi.set(__self__, "is_management_disabled", is_management_disabled) + _setter("is_management_disabled", is_management_disabled) if is_monitoring_disabled is not None: - pulumi.set(__self__, "is_monitoring_disabled", is_monitoring_disabled) + _setter("is_monitoring_disabled", is_monitoring_disabled) if plugins_configs is not None: - pulumi.set(__self__, "plugins_configs", plugins_configs) + _setter("plugins_configs", plugins_configs) @property @pulumi.getter(name="areAllPluginsDisabled") @@ -4248,8 +4921,19 @@ def __init__(__self__, *, To enable the monitoring and management plugins, the `isMonitoringDisabled` and `isManagementDisabled` attributes must also be set to false. :param str name: (Updatable) The plugin name. To get a list of available plugins, use the [ListInstanceagentAvailablePlugins](https://docs.cloud.oracle.com/iaas/api/#/en/instanceagent/20180530/Plugin/ListInstanceagentAvailablePlugins) operation in the Oracle Cloud Agent API. For more information about the available plugins, see [Managing Plugins with Oracle Cloud Agent](https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/manage-plugins.htm). """ - pulumi.set(__self__, "desired_state", desired_state) - pulumi.set(__self__, "name", name) + TargetAssetUserSpecAgentConfigPluginsConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + desired_state=desired_state, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + desired_state: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("desired_state", desired_state) + _setter("name", name) @property @pulumi.getter(name="desiredState") @@ -4358,28 +5042,57 @@ def __init__(__self__, *, Provide a `vlanId` instead of a `subnetId`. If you provide both `vlanId` and `subnetId`, the request fails. """ + TargetAssetUserSpecCreateVnicDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + assign_private_dns_record=assign_private_dns_record, + assign_public_ip=assign_public_ip, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + hostname_label=hostname_label, + nsg_ids=nsg_ids, + private_ip=private_ip, + skip_source_dest_check=skip_source_dest_check, + subnet_id=subnet_id, + vlan_id=vlan_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + assign_private_dns_record: Optional[bool] = None, + assign_public_ip: Optional[bool] = None, + defined_tags: Optional[Mapping[str, Any]] = None, + display_name: Optional[str] = None, + freeform_tags: Optional[Mapping[str, Any]] = None, + hostname_label: Optional[str] = None, + nsg_ids: Optional[Sequence[str]] = None, + private_ip: Optional[str] = None, + skip_source_dest_check: Optional[bool] = None, + subnet_id: Optional[str] = None, + vlan_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if assign_private_dns_record is not None: - pulumi.set(__self__, "assign_private_dns_record", assign_private_dns_record) + _setter("assign_private_dns_record", assign_private_dns_record) if assign_public_ip is not None: - pulumi.set(__self__, "assign_public_ip", assign_public_ip) + _setter("assign_public_ip", assign_public_ip) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if hostname_label is not None: - pulumi.set(__self__, "hostname_label", hostname_label) + _setter("hostname_label", hostname_label) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) if private_ip is not None: - pulumi.set(__self__, "private_ip", private_ip) + _setter("private_ip", private_ip) if skip_source_dest_check is not None: - pulumi.set(__self__, "skip_source_dest_check", skip_source_dest_check) + _setter("skip_source_dest_check", skip_source_dest_check) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) if vlan_id is not None: - pulumi.set(__self__, "vlan_id", vlan_id) + _setter("vlan_id", vlan_id) @property @pulumi.getter(name="assignPrivateDnsRecord") @@ -4518,8 +5231,17 @@ def __init__(__self__, *, """ :param bool are_legacy_imds_endpoints_disabled: (Updatable) Whether to disable the legacy (/v1) instance metadata service endpoints. Customers who have migrated to /v2 should set this to true for added security. Default is false. """ + TargetAssetUserSpecInstanceOptions._configure( + lambda key, value: pulumi.set(__self__, key, value), + are_legacy_imds_endpoints_disabled=are_legacy_imds_endpoints_disabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + are_legacy_imds_endpoints_disabled: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): if are_legacy_imds_endpoints_disabled is not None: - pulumi.set(__self__, "are_legacy_imds_endpoints_disabled", are_legacy_imds_endpoints_disabled) + _setter("are_legacy_imds_endpoints_disabled", are_legacy_imds_endpoints_disabled) @property @pulumi.getter(name="areLegacyImdsEndpointsDisabled") @@ -4554,7 +5276,16 @@ def __init__(__self__, *, """ :param 'TargetAssetUserSpecPreemptibleInstanceConfigPreemptionActionArgs' preemption_action: (Updatable) The action to run when the preemptible instance is interrupted for eviction. """ - pulumi.set(__self__, "preemption_action", preemption_action) + TargetAssetUserSpecPreemptibleInstanceConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + preemption_action=preemption_action, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + preemption_action: 'outputs.TargetAssetUserSpecPreemptibleInstanceConfigPreemptionAction', + opts: Optional[pulumi.ResourceOptions]=None): + _setter("preemption_action", preemption_action) @property @pulumi.getter(name="preemptionAction") @@ -4591,9 +5322,20 @@ def __init__(__self__, *, :param str type: (Updatable) The type of action to run when the instance is interrupted for eviction. :param bool preserve_boot_volume: (Updatable) Whether to preserve the boot volume that was used to launch the preemptible instance when the instance is terminated. By default, it is false if not specified. """ - pulumi.set(__self__, "type", type) + TargetAssetUserSpecPreemptibleInstanceConfigPreemptionAction._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + preserve_boot_volume=preserve_boot_volume, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + preserve_boot_volume: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if preserve_boot_volume is not None: - pulumi.set(__self__, "preserve_boot_volume", preserve_boot_volume) + _setter("preserve_boot_volume", preserve_boot_volume) @property @pulumi.getter @@ -4644,12 +5386,25 @@ def __init__(__self__, *, :param float memory_in_gbs: (Updatable) The total amount of memory in gigabytes that is available to the instance. :param float ocpus: (Updatable) The total number of OCPUs available to the instance. """ + TargetAssetUserSpecShapeConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + baseline_ocpu_utilization=baseline_ocpu_utilization, + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + baseline_ocpu_utilization: Optional[str] = None, + memory_in_gbs: Optional[float] = None, + ocpus: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions]=None): if baseline_ocpu_utilization is not None: - pulumi.set(__self__, "baseline_ocpu_utilization", baseline_ocpu_utilization) + _setter("baseline_ocpu_utilization", baseline_ocpu_utilization) if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) if ocpus is not None: - pulumi.set(__self__, "ocpus", ocpus) + _setter("ocpus", ocpus) @property @pulumi.getter(name="baselineOcpuUtilization") @@ -4728,17 +5483,36 @@ def __init__(__self__, *, :param str image_id: (Updatable) The OCID of the image used to boot the instance. :param str kms_key_id: (Updatable) The OCID of the key management key to assign as the master encryption key for the boot volume. """ - pulumi.set(__self__, "source_type", source_type) + TargetAssetUserSpecSourceDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + source_type=source_type, + boot_volume_id=boot_volume_id, + boot_volume_size_in_gbs=boot_volume_size_in_gbs, + boot_volume_vpus_per_gb=boot_volume_vpus_per_gb, + image_id=image_id, + kms_key_id=kms_key_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + source_type: str, + boot_volume_id: Optional[str] = None, + boot_volume_size_in_gbs: Optional[str] = None, + boot_volume_vpus_per_gb: Optional[str] = None, + image_id: Optional[str] = None, + kms_key_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("source_type", source_type) if boot_volume_id is not None: - pulumi.set(__self__, "boot_volume_id", boot_volume_id) + _setter("boot_volume_id", boot_volume_id) if boot_volume_size_in_gbs is not None: - pulumi.set(__self__, "boot_volume_size_in_gbs", boot_volume_size_in_gbs) + _setter("boot_volume_size_in_gbs", boot_volume_size_in_gbs) if boot_volume_vpus_per_gb is not None: - pulumi.set(__self__, "boot_volume_vpus_per_gb", boot_volume_vpus_per_gb) + _setter("boot_volume_vpus_per_gb", boot_volume_vpus_per_gb) if image_id is not None: - pulumi.set(__self__, "image_id", image_id) + _setter("image_id", image_id) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) @property @pulumi.getter(name="sourceType") @@ -4801,10 +5575,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetMigrationAssetsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4826,7 +5613,16 @@ def regex(self) -> Optional[bool]: class GetMigrationAssetsMigrationAssetCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetMigrationAssetsMigrationAssetCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetMigrationAssetsMigrationAssetCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetMigrationAssetsMigrationAssetCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -4879,27 +5675,76 @@ def __init__(__self__, *, :param str time_updated: The time when the migration asset was updated. An RFC3339 formatted datetime string. :param str type: The type of asset referenced for inventory. """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "depended_on_bies", depended_on_bies) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "inventory_asset_id", inventory_asset_id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "migration_asset_depends_ons", migration_asset_depends_ons) - pulumi.set(__self__, "migration_id", migration_id) - pulumi.set(__self__, "notifications", notifications) - pulumi.set(__self__, "parent_snapshot", parent_snapshot) - pulumi.set(__self__, "replication_compartment_id", replication_compartment_id) - pulumi.set(__self__, "replication_schedule_id", replication_schedule_id) - pulumi.set(__self__, "snap_shot_bucket_name", snap_shot_bucket_name) - pulumi.set(__self__, "snapshots", snapshots) - pulumi.set(__self__, "source_asset_id", source_asset_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "tenancy_id", tenancy_id) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "type", type) + GetMigrationAssetsMigrationAssetCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + compartment_id=compartment_id, + depended_on_bies=depended_on_bies, + display_name=display_name, + id=id, + inventory_asset_id=inventory_asset_id, + lifecycle_details=lifecycle_details, + migration_asset_depends_ons=migration_asset_depends_ons, + migration_id=migration_id, + notifications=notifications, + parent_snapshot=parent_snapshot, + replication_compartment_id=replication_compartment_id, + replication_schedule_id=replication_schedule_id, + snap_shot_bucket_name=snap_shot_bucket_name, + snapshots=snapshots, + source_asset_id=source_asset_id, + state=state, + tenancy_id=tenancy_id, + time_created=time_created, + time_updated=time_updated, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + compartment_id: str, + depended_on_bies: Sequence[str], + display_name: str, + id: str, + inventory_asset_id: str, + lifecycle_details: str, + migration_asset_depends_ons: Sequence[str], + migration_id: str, + notifications: Sequence[str], + parent_snapshot: str, + replication_compartment_id: str, + replication_schedule_id: str, + snap_shot_bucket_name: str, + snapshots: Mapping[str, Any], + source_asset_id: str, + state: str, + tenancy_id: str, + time_created: str, + time_updated: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("compartment_id", compartment_id) + _setter("depended_on_bies", depended_on_bies) + _setter("display_name", display_name) + _setter("id", id) + _setter("inventory_asset_id", inventory_asset_id) + _setter("lifecycle_details", lifecycle_details) + _setter("migration_asset_depends_ons", migration_asset_depends_ons) + _setter("migration_id", migration_id) + _setter("notifications", notifications) + _setter("parent_snapshot", parent_snapshot) + _setter("replication_compartment_id", replication_compartment_id) + _setter("replication_schedule_id", replication_schedule_id) + _setter("snap_shot_bucket_name", snap_shot_bucket_name) + _setter("snapshots", snapshots) + _setter("source_asset_id", source_asset_id) + _setter("state", state) + _setter("tenancy_id", tenancy_id) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("type", type) @property @pulumi.getter(name="availabilityDomain") @@ -5103,23 +5948,64 @@ def __init__(__self__, *, :param str shape: Name of the shape. :param Mapping[str, Any] system_tags: Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "gpu_description", gpu_description) - pulumi.set(__self__, "gpus", gpus) - pulumi.set(__self__, "local_disk_description", local_disk_description) - pulumi.set(__self__, "local_disks", local_disks) - pulumi.set(__self__, "local_disks_total_size_in_gbs", local_disks_total_size_in_gbs) - pulumi.set(__self__, "max_vnic_attachments", max_vnic_attachments) - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "min_total_baseline_ocpus_required", min_total_baseline_ocpus_required) - pulumi.set(__self__, "networking_bandwidth_in_gbps", networking_bandwidth_in_gbps) - pulumi.set(__self__, "ocpus", ocpus) - pulumi.set(__self__, "pagination_token", pagination_token) - pulumi.set(__self__, "processor_description", processor_description) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "system_tags", system_tags) + GetMigrationPlanAvailableShapeItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + gpu_description=gpu_description, + gpus=gpus, + local_disk_description=local_disk_description, + local_disks=local_disks, + local_disks_total_size_in_gbs=local_disks_total_size_in_gbs, + max_vnic_attachments=max_vnic_attachments, + memory_in_gbs=memory_in_gbs, + min_total_baseline_ocpus_required=min_total_baseline_ocpus_required, + networking_bandwidth_in_gbps=networking_bandwidth_in_gbps, + ocpus=ocpus, + pagination_token=pagination_token, + processor_description=processor_description, + shape=shape, + system_tags=system_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + defined_tags: Mapping[str, Any], + freeform_tags: Mapping[str, Any], + gpu_description: str, + gpus: int, + local_disk_description: str, + local_disks: int, + local_disks_total_size_in_gbs: float, + max_vnic_attachments: int, + memory_in_gbs: float, + min_total_baseline_ocpus_required: float, + networking_bandwidth_in_gbps: float, + ocpus: float, + pagination_token: str, + processor_description: str, + shape: str, + system_tags: Mapping[str, Any], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("defined_tags", defined_tags) + _setter("freeform_tags", freeform_tags) + _setter("gpu_description", gpu_description) + _setter("gpus", gpus) + _setter("local_disk_description", local_disk_description) + _setter("local_disks", local_disks) + _setter("local_disks_total_size_in_gbs", local_disks_total_size_in_gbs) + _setter("max_vnic_attachments", max_vnic_attachments) + _setter("memory_in_gbs", memory_in_gbs) + _setter("min_total_baseline_ocpus_required", min_total_baseline_ocpus_required) + _setter("networking_bandwidth_in_gbps", networking_bandwidth_in_gbps) + _setter("ocpus", ocpus) + _setter("pagination_token", pagination_token) + _setter("processor_description", processor_description) + _setter("shape", shape) + _setter("system_tags", system_tags) @property @pulumi.getter(name="availabilityDomain") @@ -5265,7 +6151,16 @@ def __init__(__self__, *, """ :param Sequence['GetMigrationPlanAvailableShapesAvailableShapesCollectionItemArgs'] items: Available shapes list. """ - pulumi.set(__self__, "items", items) + GetMigrationPlanAvailableShapesAvailableShapesCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetMigrationPlanAvailableShapesAvailableShapesCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -5315,23 +6210,64 @@ def __init__(__self__, *, :param str shape: Name of the shape. :param Mapping[str, Any] system_tags: Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "gpu_description", gpu_description) - pulumi.set(__self__, "gpus", gpus) - pulumi.set(__self__, "local_disk_description", local_disk_description) - pulumi.set(__self__, "local_disks", local_disks) - pulumi.set(__self__, "local_disks_total_size_in_gbs", local_disks_total_size_in_gbs) - pulumi.set(__self__, "max_vnic_attachments", max_vnic_attachments) - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "min_total_baseline_ocpus_required", min_total_baseline_ocpus_required) - pulumi.set(__self__, "networking_bandwidth_in_gbps", networking_bandwidth_in_gbps) - pulumi.set(__self__, "ocpus", ocpus) - pulumi.set(__self__, "pagination_token", pagination_token) - pulumi.set(__self__, "processor_description", processor_description) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "system_tags", system_tags) + GetMigrationPlanAvailableShapesAvailableShapesCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + gpu_description=gpu_description, + gpus=gpus, + local_disk_description=local_disk_description, + local_disks=local_disks, + local_disks_total_size_in_gbs=local_disks_total_size_in_gbs, + max_vnic_attachments=max_vnic_attachments, + memory_in_gbs=memory_in_gbs, + min_total_baseline_ocpus_required=min_total_baseline_ocpus_required, + networking_bandwidth_in_gbps=networking_bandwidth_in_gbps, + ocpus=ocpus, + pagination_token=pagination_token, + processor_description=processor_description, + shape=shape, + system_tags=system_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + defined_tags: Mapping[str, Any], + freeform_tags: Mapping[str, Any], + gpu_description: str, + gpus: int, + local_disk_description: str, + local_disks: int, + local_disks_total_size_in_gbs: float, + max_vnic_attachments: int, + memory_in_gbs: float, + min_total_baseline_ocpus_required: float, + networking_bandwidth_in_gbps: float, + ocpus: float, + pagination_token: str, + processor_description: str, + shape: str, + system_tags: Mapping[str, Any], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("defined_tags", defined_tags) + _setter("freeform_tags", freeform_tags) + _setter("gpu_description", gpu_description) + _setter("gpus", gpus) + _setter("local_disk_description", local_disk_description) + _setter("local_disks", local_disks) + _setter("local_disks_total_size_in_gbs", local_disks_total_size_in_gbs) + _setter("max_vnic_attachments", max_vnic_attachments) + _setter("memory_in_gbs", memory_in_gbs) + _setter("min_total_baseline_ocpus_required", min_total_baseline_ocpus_required) + _setter("networking_bandwidth_in_gbps", networking_bandwidth_in_gbps) + _setter("ocpus", ocpus) + _setter("pagination_token", pagination_token) + _setter("processor_description", processor_description) + _setter("shape", shape) + _setter("system_tags", system_tags) @property @pulumi.getter(name="availabilityDomain") @@ -5476,10 +6412,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetMigrationPlanAvailableShapesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5508,9 +6457,22 @@ def __init__(__self__, *, :param Sequence['GetMigrationPlanMigrationPlanStatTotalEstimatedCostArgs'] total_estimated_costs: Cost estimation description :param int vm_count: The total count of VMs in migration """ - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "total_estimated_costs", total_estimated_costs) - pulumi.set(__self__, "vm_count", vm_count) + GetMigrationPlanMigrationPlanStatResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + time_updated=time_updated, + total_estimated_costs=total_estimated_costs, + vm_count=vm_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + time_updated: str, + total_estimated_costs: Sequence['outputs.GetMigrationPlanMigrationPlanStatTotalEstimatedCostResult'], + vm_count: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("time_updated", time_updated) + _setter("total_estimated_costs", total_estimated_costs) + _setter("vm_count", vm_count) @property @pulumi.getter(name="timeUpdated") @@ -5556,13 +6518,34 @@ def __init__(__self__, *, :param float total_estimation_per_month: Total estimation per month :param float total_estimation_per_month_by_subscription: Total estimation per month by subscription. """ - pulumi.set(__self__, "computes", computes) - pulumi.set(__self__, "currency_code", currency_code) - pulumi.set(__self__, "os_images", os_images) - pulumi.set(__self__, "storages", storages) - pulumi.set(__self__, "subscription_id", subscription_id) - pulumi.set(__self__, "total_estimation_per_month", total_estimation_per_month) - pulumi.set(__self__, "total_estimation_per_month_by_subscription", total_estimation_per_month_by_subscription) + GetMigrationPlanMigrationPlanStatTotalEstimatedCostResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + computes=computes, + currency_code=currency_code, + os_images=os_images, + storages=storages, + subscription_id=subscription_id, + total_estimation_per_month=total_estimation_per_month, + total_estimation_per_month_by_subscription=total_estimation_per_month_by_subscription, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + computes: Sequence['outputs.GetMigrationPlanMigrationPlanStatTotalEstimatedCostComputeResult'], + currency_code: str, + os_images: Sequence['outputs.GetMigrationPlanMigrationPlanStatTotalEstimatedCostOsImageResult'], + storages: Sequence['outputs.GetMigrationPlanMigrationPlanStatTotalEstimatedCostStorageResult'], + subscription_id: str, + total_estimation_per_month: float, + total_estimation_per_month_by_subscription: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("computes", computes) + _setter("currency_code", currency_code) + _setter("os_images", os_images) + _setter("storages", storages) + _setter("subscription_id", subscription_id) + _setter("total_estimation_per_month", total_estimation_per_month) + _setter("total_estimation_per_month_by_subscription", total_estimation_per_month_by_subscription) @property @pulumi.getter @@ -5648,17 +6631,46 @@ def __init__(__self__, *, :param float total_per_hour: Total price per hour :param float total_per_hour_by_subscription: Total price per hour by subscription """ - pulumi.set(__self__, "gpu_count", gpu_count) - pulumi.set(__self__, "gpu_per_hour", gpu_per_hour) - pulumi.set(__self__, "gpu_per_hour_by_subscription", gpu_per_hour_by_subscription) - pulumi.set(__self__, "memory_amount_gb", memory_amount_gb) - pulumi.set(__self__, "memory_gb_per_hour", memory_gb_per_hour) - pulumi.set(__self__, "memory_gb_per_hour_by_subscription", memory_gb_per_hour_by_subscription) - pulumi.set(__self__, "ocpu_count", ocpu_count) - pulumi.set(__self__, "ocpu_per_hour", ocpu_per_hour) - pulumi.set(__self__, "ocpu_per_hour_by_subscription", ocpu_per_hour_by_subscription) - pulumi.set(__self__, "total_per_hour", total_per_hour) - pulumi.set(__self__, "total_per_hour_by_subscription", total_per_hour_by_subscription) + GetMigrationPlanMigrationPlanStatTotalEstimatedCostComputeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + gpu_count=gpu_count, + gpu_per_hour=gpu_per_hour, + gpu_per_hour_by_subscription=gpu_per_hour_by_subscription, + memory_amount_gb=memory_amount_gb, + memory_gb_per_hour=memory_gb_per_hour, + memory_gb_per_hour_by_subscription=memory_gb_per_hour_by_subscription, + ocpu_count=ocpu_count, + ocpu_per_hour=ocpu_per_hour, + ocpu_per_hour_by_subscription=ocpu_per_hour_by_subscription, + total_per_hour=total_per_hour, + total_per_hour_by_subscription=total_per_hour_by_subscription, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + gpu_count: float, + gpu_per_hour: float, + gpu_per_hour_by_subscription: float, + memory_amount_gb: float, + memory_gb_per_hour: float, + memory_gb_per_hour_by_subscription: float, + ocpu_count: float, + ocpu_per_hour: float, + ocpu_per_hour_by_subscription: float, + total_per_hour: float, + total_per_hour_by_subscription: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("gpu_count", gpu_count) + _setter("gpu_per_hour", gpu_per_hour) + _setter("gpu_per_hour_by_subscription", gpu_per_hour_by_subscription) + _setter("memory_amount_gb", memory_amount_gb) + _setter("memory_gb_per_hour", memory_gb_per_hour) + _setter("memory_gb_per_hour_by_subscription", memory_gb_per_hour_by_subscription) + _setter("ocpu_count", ocpu_count) + _setter("ocpu_per_hour", ocpu_per_hour) + _setter("ocpu_per_hour_by_subscription", ocpu_per_hour_by_subscription) + _setter("total_per_hour", total_per_hour) + _setter("total_per_hour_by_subscription", total_per_hour_by_subscription) @property @pulumi.getter(name="gpuCount") @@ -5758,8 +6770,19 @@ def __init__(__self__, *, :param float total_per_hour: Total price per hour :param float total_per_hour_by_subscription: Total price per hour by subscription """ - pulumi.set(__self__, "total_per_hour", total_per_hour) - pulumi.set(__self__, "total_per_hour_by_subscription", total_per_hour_by_subscription) + GetMigrationPlanMigrationPlanStatTotalEstimatedCostOsImageResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + total_per_hour=total_per_hour, + total_per_hour_by_subscription=total_per_hour_by_subscription, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + total_per_hour: float, + total_per_hour_by_subscription: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("total_per_hour", total_per_hour) + _setter("total_per_hour_by_subscription", total_per_hour_by_subscription) @property @pulumi.getter(name="totalPerHour") @@ -5789,9 +6812,22 @@ def __init__(__self__, *, :param float total_gb_per_month_by_subscription: Gigabyte storage capacity per month by subscription :param Sequence['GetMigrationPlanMigrationPlanStatTotalEstimatedCostStorageVolumeArgs'] volumes: Volume estimation """ - pulumi.set(__self__, "total_gb_per_month", total_gb_per_month) - pulumi.set(__self__, "total_gb_per_month_by_subscription", total_gb_per_month_by_subscription) - pulumi.set(__self__, "volumes", volumes) + GetMigrationPlanMigrationPlanStatTotalEstimatedCostStorageResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + total_gb_per_month=total_gb_per_month, + total_gb_per_month_by_subscription=total_gb_per_month_by_subscription, + volumes=volumes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + total_gb_per_month: float, + total_gb_per_month_by_subscription: float, + volumes: Sequence['outputs.GetMigrationPlanMigrationPlanStatTotalEstimatedCostStorageVolumeResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("total_gb_per_month", total_gb_per_month) + _setter("total_gb_per_month_by_subscription", total_gb_per_month_by_subscription) + _setter("volumes", volumes) @property @pulumi.getter(name="totalGbPerMonth") @@ -5831,10 +6867,25 @@ def __init__(__self__, *, :param float total_gb_per_month: Gigabyte storage capacity per month. :param float total_gb_per_month_by_subscription: Gigabyte storage capacity per month by subscription """ - pulumi.set(__self__, "capacity_gb", capacity_gb) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "total_gb_per_month", total_gb_per_month) - pulumi.set(__self__, "total_gb_per_month_by_subscription", total_gb_per_month_by_subscription) + GetMigrationPlanMigrationPlanStatTotalEstimatedCostStorageVolumeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + capacity_gb=capacity_gb, + description=description, + total_gb_per_month=total_gb_per_month, + total_gb_per_month_by_subscription=total_gb_per_month_by_subscription, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + capacity_gb: float, + description: str, + total_gb_per_month: float, + total_gb_per_month_by_subscription: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("capacity_gb", capacity_gb) + _setter("description", description) + _setter("total_gb_per_month", total_gb_per_month) + _setter("total_gb_per_month_by_subscription", total_gb_per_month_by_subscription) @property @pulumi.getter(name="capacityGb") @@ -5886,12 +6937,31 @@ def __init__(__self__, *, :param str resource_type: The type of resource. :param str strategy_type: The type of strategy used for migration. """ - pulumi.set(__self__, "adjustment_multiplier", adjustment_multiplier) - pulumi.set(__self__, "metric_time_window", metric_time_window) - pulumi.set(__self__, "metric_type", metric_type) - pulumi.set(__self__, "percentile", percentile) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "strategy_type", strategy_type) + GetMigrationPlanStrategyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + adjustment_multiplier=adjustment_multiplier, + metric_time_window=metric_time_window, + metric_type=metric_type, + percentile=percentile, + resource_type=resource_type, + strategy_type=strategy_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + adjustment_multiplier: float, + metric_time_window: str, + metric_type: str, + percentile: str, + resource_type: str, + strategy_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("adjustment_multiplier", adjustment_multiplier) + _setter("metric_time_window", metric_time_window) + _setter("metric_type", metric_type) + _setter("percentile", percentile) + _setter("resource_type", resource_type) + _setter("strategy_type", strategy_type) @property @pulumi.getter(name="adjustmentMultiplier") @@ -5965,15 +7035,40 @@ def __init__(__self__, *, :param str target_environment_type: The type of target environment. :param str vcn: OCID of the VM configuration VCN. """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "dedicated_vm_host", dedicated_vm_host) - pulumi.set(__self__, "fault_domain", fault_domain) - pulumi.set(__self__, "ms_license", ms_license) - pulumi.set(__self__, "preferred_shape_type", preferred_shape_type) - pulumi.set(__self__, "subnet", subnet) - pulumi.set(__self__, "target_compartment_id", target_compartment_id) - pulumi.set(__self__, "target_environment_type", target_environment_type) - pulumi.set(__self__, "vcn", vcn) + GetMigrationPlanTargetEnvironmentResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + dedicated_vm_host=dedicated_vm_host, + fault_domain=fault_domain, + ms_license=ms_license, + preferred_shape_type=preferred_shape_type, + subnet=subnet, + target_compartment_id=target_compartment_id, + target_environment_type=target_environment_type, + vcn=vcn, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + dedicated_vm_host: str, + fault_domain: str, + ms_license: str, + preferred_shape_type: str, + subnet: str, + target_compartment_id: str, + target_environment_type: str, + vcn: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("dedicated_vm_host", dedicated_vm_host) + _setter("fault_domain", fault_domain) + _setter("ms_license", ms_license) + _setter("preferred_shape_type", preferred_shape_type) + _setter("subnet", subnet) + _setter("target_compartment_id", target_compartment_id) + _setter("target_environment_type", target_environment_type) + _setter("vcn", vcn) @property @pulumi.getter(name="availabilityDomain") @@ -6054,10 +7149,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetMigrationPlansFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -6079,7 +7187,16 @@ def regex(self) -> Optional[bool]: class GetMigrationPlansMigrationPlanCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetMigrationPlansMigrationPlanCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetMigrationPlansMigrationPlanCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetMigrationPlansMigrationPlanCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -6126,23 +7243,64 @@ def __init__(__self__, *, :param str time_created: The time when the migration plan was created. An RFC3339 formatted datetime string. :param str time_updated: The time when the migration plan was updated. An RFC3339 formatted datetime string. """ - pulumi.set(__self__, "calculated_limits", calculated_limits) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "migration_id", migration_id) - pulumi.set(__self__, "migration_plan_stats", migration_plan_stats) - pulumi.set(__self__, "reference_to_rms_stack", reference_to_rms_stack) - pulumi.set(__self__, "source_migration_plan_id", source_migration_plan_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "strategies", strategies) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "target_environments", target_environments) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetMigrationPlansMigrationPlanCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + calculated_limits=calculated_limits, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + migration_id=migration_id, + migration_plan_stats=migration_plan_stats, + reference_to_rms_stack=reference_to_rms_stack, + source_migration_plan_id=source_migration_plan_id, + state=state, + strategies=strategies, + system_tags=system_tags, + target_environments=target_environments, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + calculated_limits: Mapping[str, Any], + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + migration_id: str, + migration_plan_stats: Sequence['outputs.GetMigrationPlansMigrationPlanCollectionItemMigrationPlanStatResult'], + reference_to_rms_stack: str, + source_migration_plan_id: str, + state: str, + strategies: Sequence['outputs.GetMigrationPlansMigrationPlanCollectionItemStrategyResult'], + system_tags: Mapping[str, Any], + target_environments: Sequence['outputs.GetMigrationPlansMigrationPlanCollectionItemTargetEnvironmentResult'], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("calculated_limits", calculated_limits) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("migration_id", migration_id) + _setter("migration_plan_stats", migration_plan_stats) + _setter("reference_to_rms_stack", reference_to_rms_stack) + _setter("source_migration_plan_id", source_migration_plan_id) + _setter("state", state) + _setter("strategies", strategies) + _setter("system_tags", system_tags) + _setter("target_environments", target_environments) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="calculatedLimits") @@ -6292,9 +7450,22 @@ def __init__(__self__, *, :param Sequence['GetMigrationPlansMigrationPlanCollectionItemMigrationPlanStatTotalEstimatedCostArgs'] total_estimated_costs: Cost estimation description :param int vm_count: The total count of VMs in migration """ - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "total_estimated_costs", total_estimated_costs) - pulumi.set(__self__, "vm_count", vm_count) + GetMigrationPlansMigrationPlanCollectionItemMigrationPlanStatResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + time_updated=time_updated, + total_estimated_costs=total_estimated_costs, + vm_count=vm_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + time_updated: str, + total_estimated_costs: Sequence['outputs.GetMigrationPlansMigrationPlanCollectionItemMigrationPlanStatTotalEstimatedCostResult'], + vm_count: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("time_updated", time_updated) + _setter("total_estimated_costs", total_estimated_costs) + _setter("vm_count", vm_count) @property @pulumi.getter(name="timeUpdated") @@ -6340,13 +7511,34 @@ def __init__(__self__, *, :param float total_estimation_per_month: Total estimation per month :param float total_estimation_per_month_by_subscription: Total estimation per month by subscription. """ - pulumi.set(__self__, "computes", computes) - pulumi.set(__self__, "currency_code", currency_code) - pulumi.set(__self__, "os_images", os_images) - pulumi.set(__self__, "storages", storages) - pulumi.set(__self__, "subscription_id", subscription_id) - pulumi.set(__self__, "total_estimation_per_month", total_estimation_per_month) - pulumi.set(__self__, "total_estimation_per_month_by_subscription", total_estimation_per_month_by_subscription) + GetMigrationPlansMigrationPlanCollectionItemMigrationPlanStatTotalEstimatedCostResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + computes=computes, + currency_code=currency_code, + os_images=os_images, + storages=storages, + subscription_id=subscription_id, + total_estimation_per_month=total_estimation_per_month, + total_estimation_per_month_by_subscription=total_estimation_per_month_by_subscription, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + computes: Sequence['outputs.GetMigrationPlansMigrationPlanCollectionItemMigrationPlanStatTotalEstimatedCostComputeResult'], + currency_code: str, + os_images: Sequence['outputs.GetMigrationPlansMigrationPlanCollectionItemMigrationPlanStatTotalEstimatedCostOsImageResult'], + storages: Sequence['outputs.GetMigrationPlansMigrationPlanCollectionItemMigrationPlanStatTotalEstimatedCostStorageResult'], + subscription_id: str, + total_estimation_per_month: float, + total_estimation_per_month_by_subscription: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("computes", computes) + _setter("currency_code", currency_code) + _setter("os_images", os_images) + _setter("storages", storages) + _setter("subscription_id", subscription_id) + _setter("total_estimation_per_month", total_estimation_per_month) + _setter("total_estimation_per_month_by_subscription", total_estimation_per_month_by_subscription) @property @pulumi.getter @@ -6432,17 +7624,46 @@ def __init__(__self__, *, :param float total_per_hour: Total price per hour :param float total_per_hour_by_subscription: Total price per hour by subscription """ - pulumi.set(__self__, "gpu_count", gpu_count) - pulumi.set(__self__, "gpu_per_hour", gpu_per_hour) - pulumi.set(__self__, "gpu_per_hour_by_subscription", gpu_per_hour_by_subscription) - pulumi.set(__self__, "memory_amount_gb", memory_amount_gb) - pulumi.set(__self__, "memory_gb_per_hour", memory_gb_per_hour) - pulumi.set(__self__, "memory_gb_per_hour_by_subscription", memory_gb_per_hour_by_subscription) - pulumi.set(__self__, "ocpu_count", ocpu_count) - pulumi.set(__self__, "ocpu_per_hour", ocpu_per_hour) - pulumi.set(__self__, "ocpu_per_hour_by_subscription", ocpu_per_hour_by_subscription) - pulumi.set(__self__, "total_per_hour", total_per_hour) - pulumi.set(__self__, "total_per_hour_by_subscription", total_per_hour_by_subscription) + GetMigrationPlansMigrationPlanCollectionItemMigrationPlanStatTotalEstimatedCostComputeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + gpu_count=gpu_count, + gpu_per_hour=gpu_per_hour, + gpu_per_hour_by_subscription=gpu_per_hour_by_subscription, + memory_amount_gb=memory_amount_gb, + memory_gb_per_hour=memory_gb_per_hour, + memory_gb_per_hour_by_subscription=memory_gb_per_hour_by_subscription, + ocpu_count=ocpu_count, + ocpu_per_hour=ocpu_per_hour, + ocpu_per_hour_by_subscription=ocpu_per_hour_by_subscription, + total_per_hour=total_per_hour, + total_per_hour_by_subscription=total_per_hour_by_subscription, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + gpu_count: float, + gpu_per_hour: float, + gpu_per_hour_by_subscription: float, + memory_amount_gb: float, + memory_gb_per_hour: float, + memory_gb_per_hour_by_subscription: float, + ocpu_count: float, + ocpu_per_hour: float, + ocpu_per_hour_by_subscription: float, + total_per_hour: float, + total_per_hour_by_subscription: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("gpu_count", gpu_count) + _setter("gpu_per_hour", gpu_per_hour) + _setter("gpu_per_hour_by_subscription", gpu_per_hour_by_subscription) + _setter("memory_amount_gb", memory_amount_gb) + _setter("memory_gb_per_hour", memory_gb_per_hour) + _setter("memory_gb_per_hour_by_subscription", memory_gb_per_hour_by_subscription) + _setter("ocpu_count", ocpu_count) + _setter("ocpu_per_hour", ocpu_per_hour) + _setter("ocpu_per_hour_by_subscription", ocpu_per_hour_by_subscription) + _setter("total_per_hour", total_per_hour) + _setter("total_per_hour_by_subscription", total_per_hour_by_subscription) @property @pulumi.getter(name="gpuCount") @@ -6542,8 +7763,19 @@ def __init__(__self__, *, :param float total_per_hour: Total price per hour :param float total_per_hour_by_subscription: Total price per hour by subscription """ - pulumi.set(__self__, "total_per_hour", total_per_hour) - pulumi.set(__self__, "total_per_hour_by_subscription", total_per_hour_by_subscription) + GetMigrationPlansMigrationPlanCollectionItemMigrationPlanStatTotalEstimatedCostOsImageResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + total_per_hour=total_per_hour, + total_per_hour_by_subscription=total_per_hour_by_subscription, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + total_per_hour: float, + total_per_hour_by_subscription: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("total_per_hour", total_per_hour) + _setter("total_per_hour_by_subscription", total_per_hour_by_subscription) @property @pulumi.getter(name="totalPerHour") @@ -6573,9 +7805,22 @@ def __init__(__self__, *, :param float total_gb_per_month_by_subscription: Gigabyte storage capacity per month by subscription :param Sequence['GetMigrationPlansMigrationPlanCollectionItemMigrationPlanStatTotalEstimatedCostStorageVolumeArgs'] volumes: Volume estimation """ - pulumi.set(__self__, "total_gb_per_month", total_gb_per_month) - pulumi.set(__self__, "total_gb_per_month_by_subscription", total_gb_per_month_by_subscription) - pulumi.set(__self__, "volumes", volumes) + GetMigrationPlansMigrationPlanCollectionItemMigrationPlanStatTotalEstimatedCostStorageResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + total_gb_per_month=total_gb_per_month, + total_gb_per_month_by_subscription=total_gb_per_month_by_subscription, + volumes=volumes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + total_gb_per_month: float, + total_gb_per_month_by_subscription: float, + volumes: Sequence['outputs.GetMigrationPlansMigrationPlanCollectionItemMigrationPlanStatTotalEstimatedCostStorageVolumeResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("total_gb_per_month", total_gb_per_month) + _setter("total_gb_per_month_by_subscription", total_gb_per_month_by_subscription) + _setter("volumes", volumes) @property @pulumi.getter(name="totalGbPerMonth") @@ -6615,10 +7860,25 @@ def __init__(__self__, *, :param float total_gb_per_month: Gigabyte storage capacity per month. :param float total_gb_per_month_by_subscription: Gigabyte storage capacity per month by subscription """ - pulumi.set(__self__, "capacity_gb", capacity_gb) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "total_gb_per_month", total_gb_per_month) - pulumi.set(__self__, "total_gb_per_month_by_subscription", total_gb_per_month_by_subscription) + GetMigrationPlansMigrationPlanCollectionItemMigrationPlanStatTotalEstimatedCostStorageVolumeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + capacity_gb=capacity_gb, + description=description, + total_gb_per_month=total_gb_per_month, + total_gb_per_month_by_subscription=total_gb_per_month_by_subscription, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + capacity_gb: float, + description: str, + total_gb_per_month: float, + total_gb_per_month_by_subscription: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("capacity_gb", capacity_gb) + _setter("description", description) + _setter("total_gb_per_month", total_gb_per_month) + _setter("total_gb_per_month_by_subscription", total_gb_per_month_by_subscription) @property @pulumi.getter(name="capacityGb") @@ -6670,12 +7930,31 @@ def __init__(__self__, *, :param str resource_type: The type of resource. :param str strategy_type: The type of strategy used for migration. """ - pulumi.set(__self__, "adjustment_multiplier", adjustment_multiplier) - pulumi.set(__self__, "metric_time_window", metric_time_window) - pulumi.set(__self__, "metric_type", metric_type) - pulumi.set(__self__, "percentile", percentile) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "strategy_type", strategy_type) + GetMigrationPlansMigrationPlanCollectionItemStrategyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + adjustment_multiplier=adjustment_multiplier, + metric_time_window=metric_time_window, + metric_type=metric_type, + percentile=percentile, + resource_type=resource_type, + strategy_type=strategy_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + adjustment_multiplier: float, + metric_time_window: str, + metric_type: str, + percentile: str, + resource_type: str, + strategy_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("adjustment_multiplier", adjustment_multiplier) + _setter("metric_time_window", metric_time_window) + _setter("metric_type", metric_type) + _setter("percentile", percentile) + _setter("resource_type", resource_type) + _setter("strategy_type", strategy_type) @property @pulumi.getter(name="adjustmentMultiplier") @@ -6749,15 +8028,40 @@ def __init__(__self__, *, :param str target_environment_type: The type of target environment. :param str vcn: OCID of the VM configuration VCN. """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "dedicated_vm_host", dedicated_vm_host) - pulumi.set(__self__, "fault_domain", fault_domain) - pulumi.set(__self__, "ms_license", ms_license) - pulumi.set(__self__, "preferred_shape_type", preferred_shape_type) - pulumi.set(__self__, "subnet", subnet) - pulumi.set(__self__, "target_compartment_id", target_compartment_id) - pulumi.set(__self__, "target_environment_type", target_environment_type) - pulumi.set(__self__, "vcn", vcn) + GetMigrationPlansMigrationPlanCollectionItemTargetEnvironmentResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + dedicated_vm_host=dedicated_vm_host, + fault_domain=fault_domain, + ms_license=ms_license, + preferred_shape_type=preferred_shape_type, + subnet=subnet, + target_compartment_id=target_compartment_id, + target_environment_type=target_environment_type, + vcn=vcn, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + dedicated_vm_host: str, + fault_domain: str, + ms_license: str, + preferred_shape_type: str, + subnet: str, + target_compartment_id: str, + target_environment_type: str, + vcn: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("dedicated_vm_host", dedicated_vm_host) + _setter("fault_domain", fault_domain) + _setter("ms_license", ms_license) + _setter("preferred_shape_type", preferred_shape_type) + _setter("subnet", subnet) + _setter("target_compartment_id", target_compartment_id) + _setter("target_environment_type", target_environment_type) + _setter("vcn", vcn) @property @pulumi.getter(name="availabilityDomain") @@ -6838,10 +8142,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetMigrationsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -6863,7 +8180,16 @@ def regex(self) -> Optional[bool]: class GetMigrationsMigrationCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetMigrationsMigrationCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetMigrationsMigrationCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetMigrationsMigrationCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -6900,18 +8226,49 @@ def __init__(__self__, *, :param str time_created: The time when the migration project was created. An RFC3339 formatted datetime string :param str time_updated: The time when the migration project was updated. An RFC3339 formatted datetime string """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_completed", is_completed) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "replication_schedule_id", replication_schedule_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetMigrationsMigrationCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + is_completed=is_completed, + lifecycle_details=lifecycle_details, + replication_schedule_id=replication_schedule_id, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + is_completed: bool, + lifecycle_details: str, + replication_schedule_id: str, + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_completed", is_completed) + _setter("lifecycle_details", lifecycle_details) + _setter("replication_schedule_id", replication_schedule_id) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -7016,10 +8373,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetReplicationSchedulesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -7041,7 +8411,16 @@ def regex(self) -> Optional[bool]: class GetReplicationSchedulesReplicationScheduleCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetReplicationSchedulesReplicationScheduleCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetReplicationSchedulesReplicationScheduleCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetReplicationSchedulesReplicationScheduleCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -7076,17 +8455,46 @@ def __init__(__self__, *, :param str time_created: The time when the replication schedule was created in RFC3339 format. :param str time_updated: The time when the replication schedule was last updated in RFC3339 format. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "execution_recurrences", execution_recurrences) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetReplicationSchedulesReplicationScheduleCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + execution_recurrences=execution_recurrences, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + execution_recurrences: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("execution_recurrences", execution_recurrences) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -7188,9 +8596,22 @@ def __init__(__self__, *, :param str name: The plugin name. To get a list of available plugins, use the [ListInstanceagentAvailablePlugins](https://docs.cloud.oracle.com/iaas/api/#/en/instanceagent/20180530/Plugin/ListInstanceagentAvailablePlugins) operation in the Oracle Cloud Agent API. For more information about the available plugins, see [Managing Plugins with Oracle Cloud Agent](https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/manage-plugins.htm). :param str severity: Severity level of the compatibility issue. """ - pulumi.set(__self__, "message", message) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "severity", severity) + GetTargetAssetCompatibilityMessageResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + message=message, + name=name, + severity=severity, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + message: str, + name: str, + severity: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("message", message) + _setter("name", name) + _setter("severity", severity) @property @pulumi.getter @@ -7236,13 +8657,34 @@ def __init__(__self__, *, :param float total_estimation_per_month: Total estimation per month :param float total_estimation_per_month_by_subscription: Total estimation per month by subscription. """ - pulumi.set(__self__, "computes", computes) - pulumi.set(__self__, "currency_code", currency_code) - pulumi.set(__self__, "os_images", os_images) - pulumi.set(__self__, "storages", storages) - pulumi.set(__self__, "subscription_id", subscription_id) - pulumi.set(__self__, "total_estimation_per_month", total_estimation_per_month) - pulumi.set(__self__, "total_estimation_per_month_by_subscription", total_estimation_per_month_by_subscription) + GetTargetAssetEstimatedCostResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + computes=computes, + currency_code=currency_code, + os_images=os_images, + storages=storages, + subscription_id=subscription_id, + total_estimation_per_month=total_estimation_per_month, + total_estimation_per_month_by_subscription=total_estimation_per_month_by_subscription, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + computes: Sequence['outputs.GetTargetAssetEstimatedCostComputeResult'], + currency_code: str, + os_images: Sequence['outputs.GetTargetAssetEstimatedCostOsImageResult'], + storages: Sequence['outputs.GetTargetAssetEstimatedCostStorageResult'], + subscription_id: str, + total_estimation_per_month: float, + total_estimation_per_month_by_subscription: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("computes", computes) + _setter("currency_code", currency_code) + _setter("os_images", os_images) + _setter("storages", storages) + _setter("subscription_id", subscription_id) + _setter("total_estimation_per_month", total_estimation_per_month) + _setter("total_estimation_per_month_by_subscription", total_estimation_per_month_by_subscription) @property @pulumi.getter @@ -7328,17 +8770,46 @@ def __init__(__self__, *, :param float total_per_hour: Total price per hour :param float total_per_hour_by_subscription: Total price per hour by subscription """ - pulumi.set(__self__, "gpu_count", gpu_count) - pulumi.set(__self__, "gpu_per_hour", gpu_per_hour) - pulumi.set(__self__, "gpu_per_hour_by_subscription", gpu_per_hour_by_subscription) - pulumi.set(__self__, "memory_amount_gb", memory_amount_gb) - pulumi.set(__self__, "memory_gb_per_hour", memory_gb_per_hour) - pulumi.set(__self__, "memory_gb_per_hour_by_subscription", memory_gb_per_hour_by_subscription) - pulumi.set(__self__, "ocpu_count", ocpu_count) - pulumi.set(__self__, "ocpu_per_hour", ocpu_per_hour) - pulumi.set(__self__, "ocpu_per_hour_by_subscription", ocpu_per_hour_by_subscription) - pulumi.set(__self__, "total_per_hour", total_per_hour) - pulumi.set(__self__, "total_per_hour_by_subscription", total_per_hour_by_subscription) + GetTargetAssetEstimatedCostComputeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + gpu_count=gpu_count, + gpu_per_hour=gpu_per_hour, + gpu_per_hour_by_subscription=gpu_per_hour_by_subscription, + memory_amount_gb=memory_amount_gb, + memory_gb_per_hour=memory_gb_per_hour, + memory_gb_per_hour_by_subscription=memory_gb_per_hour_by_subscription, + ocpu_count=ocpu_count, + ocpu_per_hour=ocpu_per_hour, + ocpu_per_hour_by_subscription=ocpu_per_hour_by_subscription, + total_per_hour=total_per_hour, + total_per_hour_by_subscription=total_per_hour_by_subscription, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + gpu_count: float, + gpu_per_hour: float, + gpu_per_hour_by_subscription: float, + memory_amount_gb: float, + memory_gb_per_hour: float, + memory_gb_per_hour_by_subscription: float, + ocpu_count: float, + ocpu_per_hour: float, + ocpu_per_hour_by_subscription: float, + total_per_hour: float, + total_per_hour_by_subscription: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("gpu_count", gpu_count) + _setter("gpu_per_hour", gpu_per_hour) + _setter("gpu_per_hour_by_subscription", gpu_per_hour_by_subscription) + _setter("memory_amount_gb", memory_amount_gb) + _setter("memory_gb_per_hour", memory_gb_per_hour) + _setter("memory_gb_per_hour_by_subscription", memory_gb_per_hour_by_subscription) + _setter("ocpu_count", ocpu_count) + _setter("ocpu_per_hour", ocpu_per_hour) + _setter("ocpu_per_hour_by_subscription", ocpu_per_hour_by_subscription) + _setter("total_per_hour", total_per_hour) + _setter("total_per_hour_by_subscription", total_per_hour_by_subscription) @property @pulumi.getter(name="gpuCount") @@ -7438,8 +8909,19 @@ def __init__(__self__, *, :param float total_per_hour: Total price per hour :param float total_per_hour_by_subscription: Total price per hour by subscription """ - pulumi.set(__self__, "total_per_hour", total_per_hour) - pulumi.set(__self__, "total_per_hour_by_subscription", total_per_hour_by_subscription) + GetTargetAssetEstimatedCostOsImageResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + total_per_hour=total_per_hour, + total_per_hour_by_subscription=total_per_hour_by_subscription, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + total_per_hour: float, + total_per_hour_by_subscription: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("total_per_hour", total_per_hour) + _setter("total_per_hour_by_subscription", total_per_hour_by_subscription) @property @pulumi.getter(name="totalPerHour") @@ -7469,9 +8951,22 @@ def __init__(__self__, *, :param float total_gb_per_month_by_subscription: Gigabyte storage capacity per month by subscription :param Sequence['GetTargetAssetEstimatedCostStorageVolumeArgs'] volumes: Volume estimation """ - pulumi.set(__self__, "total_gb_per_month", total_gb_per_month) - pulumi.set(__self__, "total_gb_per_month_by_subscription", total_gb_per_month_by_subscription) - pulumi.set(__self__, "volumes", volumes) + GetTargetAssetEstimatedCostStorageResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + total_gb_per_month=total_gb_per_month, + total_gb_per_month_by_subscription=total_gb_per_month_by_subscription, + volumes=volumes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + total_gb_per_month: float, + total_gb_per_month_by_subscription: float, + volumes: Sequence['outputs.GetTargetAssetEstimatedCostStorageVolumeResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("total_gb_per_month", total_gb_per_month) + _setter("total_gb_per_month_by_subscription", total_gb_per_month_by_subscription) + _setter("volumes", volumes) @property @pulumi.getter(name="totalGbPerMonth") @@ -7511,10 +9006,25 @@ def __init__(__self__, *, :param float total_gb_per_month: Gigabyte storage capacity per month. :param float total_gb_per_month_by_subscription: Gigabyte storage capacity per month by subscription """ - pulumi.set(__self__, "capacity_gb", capacity_gb) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "total_gb_per_month", total_gb_per_month) - pulumi.set(__self__, "total_gb_per_month_by_subscription", total_gb_per_month_by_subscription) + GetTargetAssetEstimatedCostStorageVolumeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + capacity_gb=capacity_gb, + description=description, + total_gb_per_month=total_gb_per_month, + total_gb_per_month_by_subscription=total_gb_per_month_by_subscription, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + capacity_gb: float, + description: str, + total_gb_per_month: float, + total_gb_per_month_by_subscription: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("capacity_gb", capacity_gb) + _setter("description", description) + _setter("total_gb_per_month", total_gb_per_month) + _setter("total_gb_per_month_by_subscription", total_gb_per_month_by_subscription) @property @pulumi.getter(name="capacityGb") @@ -7596,27 +9106,76 @@ def __init__(__self__, *, :param str time_updated: The time when the target asset was updated. An RFC3339 formatted datetime string. :param str type: The type of action to run when the instance is interrupted for eviction. """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "depended_on_bies", depended_on_bies) - pulumi.set(__self__, "depends_ons", depends_ons) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "migration_id", migration_id) - pulumi.set(__self__, "notifications", notifications) - pulumi.set(__self__, "parent_snapshot", parent_snapshot) - pulumi.set(__self__, "replication_compartment_id", replication_compartment_id) - pulumi.set(__self__, "replication_schedule_id", replication_schedule_id) - pulumi.set(__self__, "snap_shot_bucket_name", snap_shot_bucket_name) - pulumi.set(__self__, "snapshots", snapshots) - pulumi.set(__self__, "source_asset_data", source_asset_data) - pulumi.set(__self__, "source_asset_id", source_asset_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "tenancy_id", tenancy_id) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "type", type) + GetTargetAssetMigrationAssetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + compartment_id=compartment_id, + depended_on_bies=depended_on_bies, + depends_ons=depends_ons, + display_name=display_name, + id=id, + lifecycle_details=lifecycle_details, + migration_id=migration_id, + notifications=notifications, + parent_snapshot=parent_snapshot, + replication_compartment_id=replication_compartment_id, + replication_schedule_id=replication_schedule_id, + snap_shot_bucket_name=snap_shot_bucket_name, + snapshots=snapshots, + source_asset_data=source_asset_data, + source_asset_id=source_asset_id, + state=state, + tenancy_id=tenancy_id, + time_created=time_created, + time_updated=time_updated, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + compartment_id: str, + depended_on_bies: Sequence[str], + depends_ons: Sequence[str], + display_name: str, + id: str, + lifecycle_details: str, + migration_id: str, + notifications: Sequence[str], + parent_snapshot: str, + replication_compartment_id: str, + replication_schedule_id: str, + snap_shot_bucket_name: str, + snapshots: Mapping[str, Any], + source_asset_data: Mapping[str, Any], + source_asset_id: str, + state: str, + tenancy_id: str, + time_created: str, + time_updated: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("compartment_id", compartment_id) + _setter("depended_on_bies", depended_on_bies) + _setter("depends_ons", depends_ons) + _setter("display_name", display_name) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("migration_id", migration_id) + _setter("notifications", notifications) + _setter("parent_snapshot", parent_snapshot) + _setter("replication_compartment_id", replication_compartment_id) + _setter("replication_schedule_id", replication_schedule_id) + _setter("snap_shot_bucket_name", snap_shot_bucket_name) + _setter("snapshots", snapshots) + _setter("source_asset_data", source_asset_data) + _setter("source_asset_id", source_asset_id) + _setter("state", state) + _setter("tenancy_id", tenancy_id) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("type", type) @property @pulumi.getter(name="availabilityDomain") @@ -7827,24 +9386,67 @@ def __init__(__self__, *, :param str shape: The shape of an instance. The shape determines the number of CPUs, amount of memory, and other resources allocated to the instance. :param Sequence['GetTargetAssetRecommendedSpecShapeConfigArgs'] shape_configs: The shape configuration requested for the instance. """ - pulumi.set(__self__, "agent_configs", agent_configs) - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "capacity_reservation_id", capacity_reservation_id) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "create_vnic_details", create_vnic_details) - pulumi.set(__self__, "dedicated_vm_host_id", dedicated_vm_host_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "fault_domain", fault_domain) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "hostname_label", hostname_label) - pulumi.set(__self__, "instance_options", instance_options) - pulumi.set(__self__, "ipxe_script", ipxe_script) - pulumi.set(__self__, "is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) - pulumi.set(__self__, "preemptible_instance_configs", preemptible_instance_configs) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "shape_configs", shape_configs) - pulumi.set(__self__, "source_details", source_details) + GetTargetAssetRecommendedSpecResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + agent_configs=agent_configs, + availability_domain=availability_domain, + capacity_reservation_id=capacity_reservation_id, + compartment_id=compartment_id, + create_vnic_details=create_vnic_details, + dedicated_vm_host_id=dedicated_vm_host_id, + defined_tags=defined_tags, + display_name=display_name, + fault_domain=fault_domain, + freeform_tags=freeform_tags, + hostname_label=hostname_label, + instance_options=instance_options, + ipxe_script=ipxe_script, + is_pv_encryption_in_transit_enabled=is_pv_encryption_in_transit_enabled, + preemptible_instance_configs=preemptible_instance_configs, + shape=shape, + shape_configs=shape_configs, + source_details=source_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agent_configs: Sequence['outputs.GetTargetAssetRecommendedSpecAgentConfigResult'], + availability_domain: str, + capacity_reservation_id: str, + compartment_id: str, + create_vnic_details: Sequence['outputs.GetTargetAssetRecommendedSpecCreateVnicDetailResult'], + dedicated_vm_host_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + fault_domain: str, + freeform_tags: Mapping[str, Any], + hostname_label: str, + instance_options: Sequence['outputs.GetTargetAssetRecommendedSpecInstanceOptionResult'], + ipxe_script: str, + is_pv_encryption_in_transit_enabled: bool, + preemptible_instance_configs: Sequence['outputs.GetTargetAssetRecommendedSpecPreemptibleInstanceConfigResult'], + shape: str, + shape_configs: Sequence['outputs.GetTargetAssetRecommendedSpecShapeConfigResult'], + source_details: Sequence['outputs.GetTargetAssetRecommendedSpecSourceDetailResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("agent_configs", agent_configs) + _setter("availability_domain", availability_domain) + _setter("capacity_reservation_id", capacity_reservation_id) + _setter("compartment_id", compartment_id) + _setter("create_vnic_details", create_vnic_details) + _setter("dedicated_vm_host_id", dedicated_vm_host_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("fault_domain", fault_domain) + _setter("freeform_tags", freeform_tags) + _setter("hostname_label", hostname_label) + _setter("instance_options", instance_options) + _setter("ipxe_script", ipxe_script) + _setter("is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) + _setter("preemptible_instance_configs", preemptible_instance_configs) + _setter("shape", shape) + _setter("shape_configs", shape_configs) + _setter("source_details", source_details) @property @pulumi.getter(name="agentConfigs") @@ -8001,10 +9603,25 @@ def __init__(__self__, *, :param bool is_monitoring_disabled: Whether Oracle Cloud Agent can gather performance metrics and monitor the instance using the monitoring plugins. By default, the value is false (monitoring plugins are enabled). :param Sequence['GetTargetAssetRecommendedSpecAgentConfigPluginsConfigArgs'] plugins_configs: The configuration of plugins associated with this instance. """ - pulumi.set(__self__, "are_all_plugins_disabled", are_all_plugins_disabled) - pulumi.set(__self__, "is_management_disabled", is_management_disabled) - pulumi.set(__self__, "is_monitoring_disabled", is_monitoring_disabled) - pulumi.set(__self__, "plugins_configs", plugins_configs) + GetTargetAssetRecommendedSpecAgentConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + are_all_plugins_disabled=are_all_plugins_disabled, + is_management_disabled=is_management_disabled, + is_monitoring_disabled=is_monitoring_disabled, + plugins_configs=plugins_configs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + are_all_plugins_disabled: bool, + is_management_disabled: bool, + is_monitoring_disabled: bool, + plugins_configs: Sequence['outputs.GetTargetAssetRecommendedSpecAgentConfigPluginsConfigResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("are_all_plugins_disabled", are_all_plugins_disabled) + _setter("is_management_disabled", is_management_disabled) + _setter("is_monitoring_disabled", is_monitoring_disabled) + _setter("plugins_configs", plugins_configs) @property @pulumi.getter(name="areAllPluginsDisabled") @@ -8048,8 +9665,19 @@ def __init__(__self__, *, :param str desired_state: Whether the plugin should be enabled or disabled. :param str name: The plugin name. To get a list of available plugins, use the [ListInstanceagentAvailablePlugins](https://docs.cloud.oracle.com/iaas/api/#/en/instanceagent/20180530/Plugin/ListInstanceagentAvailablePlugins) operation in the Oracle Cloud Agent API. For more information about the available plugins, see [Managing Plugins with Oracle Cloud Agent](https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/manage-plugins.htm). """ - pulumi.set(__self__, "desired_state", desired_state) - pulumi.set(__self__, "name", name) + GetTargetAssetRecommendedSpecAgentConfigPluginsConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + desired_state=desired_state, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + desired_state: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("desired_state", desired_state) + _setter("name", name) @property @pulumi.getter(name="desiredState") @@ -8095,17 +9723,46 @@ def __init__(__self__, *, :param str subnet_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet to create the VNIC. When launching an instance, use this `subnetId` instead of the deprecated `subnetId` in [LaunchInstanceDetails](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/requests/LaunchInstanceDetails). At least one of them is required; if you provide both, the values must match. :param str vlan_id: Provide this attribute only if you are an Oracle Cloud VMware Solution customer and creating a secondary VNIC in a VLAN. The value is the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VLAN. See [Vlan](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/Vlan). """ - pulumi.set(__self__, "assign_private_dns_record", assign_private_dns_record) - pulumi.set(__self__, "assign_public_ip", assign_public_ip) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "hostname_label", hostname_label) - pulumi.set(__self__, "nsg_ids", nsg_ids) - pulumi.set(__self__, "private_ip", private_ip) - pulumi.set(__self__, "skip_source_dest_check", skip_source_dest_check) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "vlan_id", vlan_id) + GetTargetAssetRecommendedSpecCreateVnicDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + assign_private_dns_record=assign_private_dns_record, + assign_public_ip=assign_public_ip, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + hostname_label=hostname_label, + nsg_ids=nsg_ids, + private_ip=private_ip, + skip_source_dest_check=skip_source_dest_check, + subnet_id=subnet_id, + vlan_id=vlan_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + assign_private_dns_record: bool, + assign_public_ip: bool, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + hostname_label: str, + nsg_ids: Sequence[str], + private_ip: str, + skip_source_dest_check: bool, + subnet_id: str, + vlan_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("assign_private_dns_record", assign_private_dns_record) + _setter("assign_public_ip", assign_public_ip) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("hostname_label", hostname_label) + _setter("nsg_ids", nsg_ids) + _setter("private_ip", private_ip) + _setter("skip_source_dest_check", skip_source_dest_check) + _setter("subnet_id", subnet_id) + _setter("vlan_id", vlan_id) @property @pulumi.getter(name="assignPrivateDnsRecord") @@ -8203,7 +9860,16 @@ def __init__(__self__, *, """ :param bool are_legacy_imds_endpoints_disabled: Whether to disable the legacy (/v1) instance metadata service endpoints. Customers who have migrated to /v2 should set this to true for added security. Default is false. """ - pulumi.set(__self__, "are_legacy_imds_endpoints_disabled", are_legacy_imds_endpoints_disabled) + GetTargetAssetRecommendedSpecInstanceOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + are_legacy_imds_endpoints_disabled=are_legacy_imds_endpoints_disabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + are_legacy_imds_endpoints_disabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("are_legacy_imds_endpoints_disabled", are_legacy_imds_endpoints_disabled) @property @pulumi.getter(name="areLegacyImdsEndpointsDisabled") @@ -8221,7 +9887,16 @@ def __init__(__self__, *, """ :param Sequence['GetTargetAssetRecommendedSpecPreemptibleInstanceConfigPreemptionActionArgs'] preemption_actions: The action to run when the preemptible instance is interrupted for eviction. """ - pulumi.set(__self__, "preemption_actions", preemption_actions) + GetTargetAssetRecommendedSpecPreemptibleInstanceConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + preemption_actions=preemption_actions, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + preemption_actions: Sequence['outputs.GetTargetAssetRecommendedSpecPreemptibleInstanceConfigPreemptionActionResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("preemption_actions", preemption_actions) @property @pulumi.getter(name="preemptionActions") @@ -8241,8 +9916,19 @@ def __init__(__self__, *, :param bool preserve_boot_volume: Whether to preserve the boot volume that was used to launch the preemptible instance when the instance is terminated. By default, it is false if not specified. :param str type: The type of action to run when the instance is interrupted for eviction. """ - pulumi.set(__self__, "preserve_boot_volume", preserve_boot_volume) - pulumi.set(__self__, "type", type) + GetTargetAssetRecommendedSpecPreemptibleInstanceConfigPreemptionActionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + preserve_boot_volume=preserve_boot_volume, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + preserve_boot_volume: bool, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("preserve_boot_volume", preserve_boot_volume) + _setter("type", type) @property @pulumi.getter(name="preserveBootVolume") @@ -8272,9 +9958,22 @@ def __init__(__self__, *, :param float memory_in_gbs: The total amount of memory in gigabytes that is available to the instance. :param float ocpus: The total number of OCPUs available to the instance. """ - pulumi.set(__self__, "baseline_ocpu_utilization", baseline_ocpu_utilization) - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "ocpus", ocpus) + GetTargetAssetRecommendedSpecShapeConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + baseline_ocpu_utilization=baseline_ocpu_utilization, + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + baseline_ocpu_utilization: str, + memory_in_gbs: float, + ocpus: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("baseline_ocpu_utilization", baseline_ocpu_utilization) + _setter("memory_in_gbs", memory_in_gbs) + _setter("ocpus", ocpus) @property @pulumi.getter(name="baselineOcpuUtilization") @@ -8318,12 +10017,31 @@ def __init__(__self__, *, :param str kms_key_id: The OCID of the key management key to assign as the master encryption key for the boot volume. :param str source_type: The source type for the instance. Use `image` when specifying the image OCID. Use `bootVolume` when specifying the boot volume OCID. """ - pulumi.set(__self__, "boot_volume_id", boot_volume_id) - pulumi.set(__self__, "boot_volume_size_in_gbs", boot_volume_size_in_gbs) - pulumi.set(__self__, "boot_volume_vpus_per_gb", boot_volume_vpus_per_gb) - pulumi.set(__self__, "image_id", image_id) - pulumi.set(__self__, "kms_key_id", kms_key_id) - pulumi.set(__self__, "source_type", source_type) + GetTargetAssetRecommendedSpecSourceDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + boot_volume_id=boot_volume_id, + boot_volume_size_in_gbs=boot_volume_size_in_gbs, + boot_volume_vpus_per_gb=boot_volume_vpus_per_gb, + image_id=image_id, + kms_key_id=kms_key_id, + source_type=source_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + boot_volume_id: str, + boot_volume_size_in_gbs: str, + boot_volume_vpus_per_gb: str, + image_id: str, + kms_key_id: str, + source_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("boot_volume_id", boot_volume_id) + _setter("boot_volume_size_in_gbs", boot_volume_size_in_gbs) + _setter("boot_volume_vpus_per_gb", boot_volume_vpus_per_gb) + _setter("image_id", image_id) + _setter("kms_key_id", kms_key_id) + _setter("source_type", source_type) @property @pulumi.getter(name="bootVolumeId") @@ -8414,24 +10132,67 @@ def __init__(__self__, *, :param str shape: The shape of an instance. The shape determines the number of CPUs, amount of memory, and other resources allocated to the instance. :param Sequence['GetTargetAssetTestSpecShapeConfigArgs'] shape_configs: The shape configuration requested for the instance. """ - pulumi.set(__self__, "agent_configs", agent_configs) - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "capacity_reservation_id", capacity_reservation_id) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "create_vnic_details", create_vnic_details) - pulumi.set(__self__, "dedicated_vm_host_id", dedicated_vm_host_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "fault_domain", fault_domain) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "hostname_label", hostname_label) - pulumi.set(__self__, "instance_options", instance_options) - pulumi.set(__self__, "ipxe_script", ipxe_script) - pulumi.set(__self__, "is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) - pulumi.set(__self__, "preemptible_instance_configs", preemptible_instance_configs) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "shape_configs", shape_configs) - pulumi.set(__self__, "source_details", source_details) + GetTargetAssetTestSpecResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + agent_configs=agent_configs, + availability_domain=availability_domain, + capacity_reservation_id=capacity_reservation_id, + compartment_id=compartment_id, + create_vnic_details=create_vnic_details, + dedicated_vm_host_id=dedicated_vm_host_id, + defined_tags=defined_tags, + display_name=display_name, + fault_domain=fault_domain, + freeform_tags=freeform_tags, + hostname_label=hostname_label, + instance_options=instance_options, + ipxe_script=ipxe_script, + is_pv_encryption_in_transit_enabled=is_pv_encryption_in_transit_enabled, + preemptible_instance_configs=preemptible_instance_configs, + shape=shape, + shape_configs=shape_configs, + source_details=source_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agent_configs: Sequence['outputs.GetTargetAssetTestSpecAgentConfigResult'], + availability_domain: str, + capacity_reservation_id: str, + compartment_id: str, + create_vnic_details: Sequence['outputs.GetTargetAssetTestSpecCreateVnicDetailResult'], + dedicated_vm_host_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + fault_domain: str, + freeform_tags: Mapping[str, Any], + hostname_label: str, + instance_options: Sequence['outputs.GetTargetAssetTestSpecInstanceOptionResult'], + ipxe_script: str, + is_pv_encryption_in_transit_enabled: bool, + preemptible_instance_configs: Sequence['outputs.GetTargetAssetTestSpecPreemptibleInstanceConfigResult'], + shape: str, + shape_configs: Sequence['outputs.GetTargetAssetTestSpecShapeConfigResult'], + source_details: Sequence['outputs.GetTargetAssetTestSpecSourceDetailResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("agent_configs", agent_configs) + _setter("availability_domain", availability_domain) + _setter("capacity_reservation_id", capacity_reservation_id) + _setter("compartment_id", compartment_id) + _setter("create_vnic_details", create_vnic_details) + _setter("dedicated_vm_host_id", dedicated_vm_host_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("fault_domain", fault_domain) + _setter("freeform_tags", freeform_tags) + _setter("hostname_label", hostname_label) + _setter("instance_options", instance_options) + _setter("ipxe_script", ipxe_script) + _setter("is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) + _setter("preemptible_instance_configs", preemptible_instance_configs) + _setter("shape", shape) + _setter("shape_configs", shape_configs) + _setter("source_details", source_details) @property @pulumi.getter(name="agentConfigs") @@ -8588,10 +10349,25 @@ def __init__(__self__, *, :param bool is_monitoring_disabled: Whether Oracle Cloud Agent can gather performance metrics and monitor the instance using the monitoring plugins. By default, the value is false (monitoring plugins are enabled). :param Sequence['GetTargetAssetTestSpecAgentConfigPluginsConfigArgs'] plugins_configs: The configuration of plugins associated with this instance. """ - pulumi.set(__self__, "are_all_plugins_disabled", are_all_plugins_disabled) - pulumi.set(__self__, "is_management_disabled", is_management_disabled) - pulumi.set(__self__, "is_monitoring_disabled", is_monitoring_disabled) - pulumi.set(__self__, "plugins_configs", plugins_configs) + GetTargetAssetTestSpecAgentConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + are_all_plugins_disabled=are_all_plugins_disabled, + is_management_disabled=is_management_disabled, + is_monitoring_disabled=is_monitoring_disabled, + plugins_configs=plugins_configs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + are_all_plugins_disabled: bool, + is_management_disabled: bool, + is_monitoring_disabled: bool, + plugins_configs: Sequence['outputs.GetTargetAssetTestSpecAgentConfigPluginsConfigResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("are_all_plugins_disabled", are_all_plugins_disabled) + _setter("is_management_disabled", is_management_disabled) + _setter("is_monitoring_disabled", is_monitoring_disabled) + _setter("plugins_configs", plugins_configs) @property @pulumi.getter(name="areAllPluginsDisabled") @@ -8635,8 +10411,19 @@ def __init__(__self__, *, :param str desired_state: Whether the plugin should be enabled or disabled. :param str name: The plugin name. To get a list of available plugins, use the [ListInstanceagentAvailablePlugins](https://docs.cloud.oracle.com/iaas/api/#/en/instanceagent/20180530/Plugin/ListInstanceagentAvailablePlugins) operation in the Oracle Cloud Agent API. For more information about the available plugins, see [Managing Plugins with Oracle Cloud Agent](https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/manage-plugins.htm). """ - pulumi.set(__self__, "desired_state", desired_state) - pulumi.set(__self__, "name", name) + GetTargetAssetTestSpecAgentConfigPluginsConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + desired_state=desired_state, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + desired_state: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("desired_state", desired_state) + _setter("name", name) @property @pulumi.getter(name="desiredState") @@ -8682,17 +10469,46 @@ def __init__(__self__, *, :param str subnet_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet to create the VNIC. When launching an instance, use this `subnetId` instead of the deprecated `subnetId` in [LaunchInstanceDetails](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/requests/LaunchInstanceDetails). At least one of them is required; if you provide both, the values must match. :param str vlan_id: Provide this attribute only if you are an Oracle Cloud VMware Solution customer and creating a secondary VNIC in a VLAN. The value is the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VLAN. See [Vlan](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/Vlan). """ - pulumi.set(__self__, "assign_private_dns_record", assign_private_dns_record) - pulumi.set(__self__, "assign_public_ip", assign_public_ip) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "hostname_label", hostname_label) - pulumi.set(__self__, "nsg_ids", nsg_ids) - pulumi.set(__self__, "private_ip", private_ip) - pulumi.set(__self__, "skip_source_dest_check", skip_source_dest_check) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "vlan_id", vlan_id) + GetTargetAssetTestSpecCreateVnicDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + assign_private_dns_record=assign_private_dns_record, + assign_public_ip=assign_public_ip, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + hostname_label=hostname_label, + nsg_ids=nsg_ids, + private_ip=private_ip, + skip_source_dest_check=skip_source_dest_check, + subnet_id=subnet_id, + vlan_id=vlan_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + assign_private_dns_record: bool, + assign_public_ip: bool, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + hostname_label: str, + nsg_ids: Sequence[str], + private_ip: str, + skip_source_dest_check: bool, + subnet_id: str, + vlan_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("assign_private_dns_record", assign_private_dns_record) + _setter("assign_public_ip", assign_public_ip) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("hostname_label", hostname_label) + _setter("nsg_ids", nsg_ids) + _setter("private_ip", private_ip) + _setter("skip_source_dest_check", skip_source_dest_check) + _setter("subnet_id", subnet_id) + _setter("vlan_id", vlan_id) @property @pulumi.getter(name="assignPrivateDnsRecord") @@ -8790,7 +10606,16 @@ def __init__(__self__, *, """ :param bool are_legacy_imds_endpoints_disabled: Whether to disable the legacy (/v1) instance metadata service endpoints. Customers who have migrated to /v2 should set this to true for added security. Default is false. """ - pulumi.set(__self__, "are_legacy_imds_endpoints_disabled", are_legacy_imds_endpoints_disabled) + GetTargetAssetTestSpecInstanceOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + are_legacy_imds_endpoints_disabled=are_legacy_imds_endpoints_disabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + are_legacy_imds_endpoints_disabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("are_legacy_imds_endpoints_disabled", are_legacy_imds_endpoints_disabled) @property @pulumi.getter(name="areLegacyImdsEndpointsDisabled") @@ -8808,7 +10633,16 @@ def __init__(__self__, *, """ :param Sequence['GetTargetAssetTestSpecPreemptibleInstanceConfigPreemptionActionArgs'] preemption_actions: The action to run when the preemptible instance is interrupted for eviction. """ - pulumi.set(__self__, "preemption_actions", preemption_actions) + GetTargetAssetTestSpecPreemptibleInstanceConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + preemption_actions=preemption_actions, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + preemption_actions: Sequence['outputs.GetTargetAssetTestSpecPreemptibleInstanceConfigPreemptionActionResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("preemption_actions", preemption_actions) @property @pulumi.getter(name="preemptionActions") @@ -8828,8 +10662,19 @@ def __init__(__self__, *, :param bool preserve_boot_volume: Whether to preserve the boot volume that was used to launch the preemptible instance when the instance is terminated. By default, it is false if not specified. :param str type: The type of action to run when the instance is interrupted for eviction. """ - pulumi.set(__self__, "preserve_boot_volume", preserve_boot_volume) - pulumi.set(__self__, "type", type) + GetTargetAssetTestSpecPreemptibleInstanceConfigPreemptionActionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + preserve_boot_volume=preserve_boot_volume, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + preserve_boot_volume: bool, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("preserve_boot_volume", preserve_boot_volume) + _setter("type", type) @property @pulumi.getter(name="preserveBootVolume") @@ -8859,9 +10704,22 @@ def __init__(__self__, *, :param float memory_in_gbs: The total amount of memory in gigabytes that is available to the instance. :param float ocpus: The total number of OCPUs available to the instance. """ - pulumi.set(__self__, "baseline_ocpu_utilization", baseline_ocpu_utilization) - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "ocpus", ocpus) + GetTargetAssetTestSpecShapeConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + baseline_ocpu_utilization=baseline_ocpu_utilization, + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + baseline_ocpu_utilization: str, + memory_in_gbs: float, + ocpus: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("baseline_ocpu_utilization", baseline_ocpu_utilization) + _setter("memory_in_gbs", memory_in_gbs) + _setter("ocpus", ocpus) @property @pulumi.getter(name="baselineOcpuUtilization") @@ -8905,12 +10763,31 @@ def __init__(__self__, *, :param str kms_key_id: The OCID of the key management key to assign as the master encryption key for the boot volume. :param str source_type: The source type for the instance. Use `image` when specifying the image OCID. Use `bootVolume` when specifying the boot volume OCID. """ - pulumi.set(__self__, "boot_volume_id", boot_volume_id) - pulumi.set(__self__, "boot_volume_size_in_gbs", boot_volume_size_in_gbs) - pulumi.set(__self__, "boot_volume_vpus_per_gb", boot_volume_vpus_per_gb) - pulumi.set(__self__, "image_id", image_id) - pulumi.set(__self__, "kms_key_id", kms_key_id) - pulumi.set(__self__, "source_type", source_type) + GetTargetAssetTestSpecSourceDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + boot_volume_id=boot_volume_id, + boot_volume_size_in_gbs=boot_volume_size_in_gbs, + boot_volume_vpus_per_gb=boot_volume_vpus_per_gb, + image_id=image_id, + kms_key_id=kms_key_id, + source_type=source_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + boot_volume_id: str, + boot_volume_size_in_gbs: str, + boot_volume_vpus_per_gb: str, + image_id: str, + kms_key_id: str, + source_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("boot_volume_id", boot_volume_id) + _setter("boot_volume_size_in_gbs", boot_volume_size_in_gbs) + _setter("boot_volume_vpus_per_gb", boot_volume_vpus_per_gb) + _setter("image_id", image_id) + _setter("kms_key_id", kms_key_id) + _setter("source_type", source_type) @property @pulumi.getter(name="bootVolumeId") @@ -9001,24 +10878,67 @@ def __init__(__self__, *, :param str shape: The shape of an instance. The shape determines the number of CPUs, amount of memory, and other resources allocated to the instance. :param Sequence['GetTargetAssetUserSpecShapeConfigArgs'] shape_configs: The shape configuration requested for the instance. """ - pulumi.set(__self__, "agent_configs", agent_configs) - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "capacity_reservation_id", capacity_reservation_id) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "create_vnic_details", create_vnic_details) - pulumi.set(__self__, "dedicated_vm_host_id", dedicated_vm_host_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "fault_domain", fault_domain) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "hostname_label", hostname_label) - pulumi.set(__self__, "instance_options", instance_options) - pulumi.set(__self__, "ipxe_script", ipxe_script) - pulumi.set(__self__, "is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) - pulumi.set(__self__, "preemptible_instance_configs", preemptible_instance_configs) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "shape_configs", shape_configs) - pulumi.set(__self__, "source_details", source_details) + GetTargetAssetUserSpecResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + agent_configs=agent_configs, + availability_domain=availability_domain, + capacity_reservation_id=capacity_reservation_id, + compartment_id=compartment_id, + create_vnic_details=create_vnic_details, + dedicated_vm_host_id=dedicated_vm_host_id, + defined_tags=defined_tags, + display_name=display_name, + fault_domain=fault_domain, + freeform_tags=freeform_tags, + hostname_label=hostname_label, + instance_options=instance_options, + ipxe_script=ipxe_script, + is_pv_encryption_in_transit_enabled=is_pv_encryption_in_transit_enabled, + preemptible_instance_configs=preemptible_instance_configs, + shape=shape, + shape_configs=shape_configs, + source_details=source_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agent_configs: Sequence['outputs.GetTargetAssetUserSpecAgentConfigResult'], + availability_domain: str, + capacity_reservation_id: str, + compartment_id: str, + create_vnic_details: Sequence['outputs.GetTargetAssetUserSpecCreateVnicDetailResult'], + dedicated_vm_host_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + fault_domain: str, + freeform_tags: Mapping[str, Any], + hostname_label: str, + instance_options: Sequence['outputs.GetTargetAssetUserSpecInstanceOptionResult'], + ipxe_script: str, + is_pv_encryption_in_transit_enabled: bool, + preemptible_instance_configs: Sequence['outputs.GetTargetAssetUserSpecPreemptibleInstanceConfigResult'], + shape: str, + shape_configs: Sequence['outputs.GetTargetAssetUserSpecShapeConfigResult'], + source_details: Sequence['outputs.GetTargetAssetUserSpecSourceDetailResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("agent_configs", agent_configs) + _setter("availability_domain", availability_domain) + _setter("capacity_reservation_id", capacity_reservation_id) + _setter("compartment_id", compartment_id) + _setter("create_vnic_details", create_vnic_details) + _setter("dedicated_vm_host_id", dedicated_vm_host_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("fault_domain", fault_domain) + _setter("freeform_tags", freeform_tags) + _setter("hostname_label", hostname_label) + _setter("instance_options", instance_options) + _setter("ipxe_script", ipxe_script) + _setter("is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) + _setter("preemptible_instance_configs", preemptible_instance_configs) + _setter("shape", shape) + _setter("shape_configs", shape_configs) + _setter("source_details", source_details) @property @pulumi.getter(name="agentConfigs") @@ -9175,10 +11095,25 @@ def __init__(__self__, *, :param bool is_monitoring_disabled: Whether Oracle Cloud Agent can gather performance metrics and monitor the instance using the monitoring plugins. By default, the value is false (monitoring plugins are enabled). :param Sequence['GetTargetAssetUserSpecAgentConfigPluginsConfigArgs'] plugins_configs: The configuration of plugins associated with this instance. """ - pulumi.set(__self__, "are_all_plugins_disabled", are_all_plugins_disabled) - pulumi.set(__self__, "is_management_disabled", is_management_disabled) - pulumi.set(__self__, "is_monitoring_disabled", is_monitoring_disabled) - pulumi.set(__self__, "plugins_configs", plugins_configs) + GetTargetAssetUserSpecAgentConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + are_all_plugins_disabled=are_all_plugins_disabled, + is_management_disabled=is_management_disabled, + is_monitoring_disabled=is_monitoring_disabled, + plugins_configs=plugins_configs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + are_all_plugins_disabled: bool, + is_management_disabled: bool, + is_monitoring_disabled: bool, + plugins_configs: Sequence['outputs.GetTargetAssetUserSpecAgentConfigPluginsConfigResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("are_all_plugins_disabled", are_all_plugins_disabled) + _setter("is_management_disabled", is_management_disabled) + _setter("is_monitoring_disabled", is_monitoring_disabled) + _setter("plugins_configs", plugins_configs) @property @pulumi.getter(name="areAllPluginsDisabled") @@ -9222,8 +11157,19 @@ def __init__(__self__, *, :param str desired_state: Whether the plugin should be enabled or disabled. :param str name: The plugin name. To get a list of available plugins, use the [ListInstanceagentAvailablePlugins](https://docs.cloud.oracle.com/iaas/api/#/en/instanceagent/20180530/Plugin/ListInstanceagentAvailablePlugins) operation in the Oracle Cloud Agent API. For more information about the available plugins, see [Managing Plugins with Oracle Cloud Agent](https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/manage-plugins.htm). """ - pulumi.set(__self__, "desired_state", desired_state) - pulumi.set(__self__, "name", name) + GetTargetAssetUserSpecAgentConfigPluginsConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + desired_state=desired_state, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + desired_state: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("desired_state", desired_state) + _setter("name", name) @property @pulumi.getter(name="desiredState") @@ -9269,17 +11215,46 @@ def __init__(__self__, *, :param str subnet_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet to create the VNIC. When launching an instance, use this `subnetId` instead of the deprecated `subnetId` in [LaunchInstanceDetails](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/requests/LaunchInstanceDetails). At least one of them is required; if you provide both, the values must match. :param str vlan_id: Provide this attribute only if you are an Oracle Cloud VMware Solution customer and creating a secondary VNIC in a VLAN. The value is the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VLAN. See [Vlan](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/Vlan). """ - pulumi.set(__self__, "assign_private_dns_record", assign_private_dns_record) - pulumi.set(__self__, "assign_public_ip", assign_public_ip) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "hostname_label", hostname_label) - pulumi.set(__self__, "nsg_ids", nsg_ids) - pulumi.set(__self__, "private_ip", private_ip) - pulumi.set(__self__, "skip_source_dest_check", skip_source_dest_check) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "vlan_id", vlan_id) + GetTargetAssetUserSpecCreateVnicDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + assign_private_dns_record=assign_private_dns_record, + assign_public_ip=assign_public_ip, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + hostname_label=hostname_label, + nsg_ids=nsg_ids, + private_ip=private_ip, + skip_source_dest_check=skip_source_dest_check, + subnet_id=subnet_id, + vlan_id=vlan_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + assign_private_dns_record: bool, + assign_public_ip: bool, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + hostname_label: str, + nsg_ids: Sequence[str], + private_ip: str, + skip_source_dest_check: bool, + subnet_id: str, + vlan_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("assign_private_dns_record", assign_private_dns_record) + _setter("assign_public_ip", assign_public_ip) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("hostname_label", hostname_label) + _setter("nsg_ids", nsg_ids) + _setter("private_ip", private_ip) + _setter("skip_source_dest_check", skip_source_dest_check) + _setter("subnet_id", subnet_id) + _setter("vlan_id", vlan_id) @property @pulumi.getter(name="assignPrivateDnsRecord") @@ -9377,7 +11352,16 @@ def __init__(__self__, *, """ :param bool are_legacy_imds_endpoints_disabled: Whether to disable the legacy (/v1) instance metadata service endpoints. Customers who have migrated to /v2 should set this to true for added security. Default is false. """ - pulumi.set(__self__, "are_legacy_imds_endpoints_disabled", are_legacy_imds_endpoints_disabled) + GetTargetAssetUserSpecInstanceOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + are_legacy_imds_endpoints_disabled=are_legacy_imds_endpoints_disabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + are_legacy_imds_endpoints_disabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("are_legacy_imds_endpoints_disabled", are_legacy_imds_endpoints_disabled) @property @pulumi.getter(name="areLegacyImdsEndpointsDisabled") @@ -9395,7 +11379,16 @@ def __init__(__self__, *, """ :param Sequence['GetTargetAssetUserSpecPreemptibleInstanceConfigPreemptionActionArgs'] preemption_actions: The action to run when the preemptible instance is interrupted for eviction. """ - pulumi.set(__self__, "preemption_actions", preemption_actions) + GetTargetAssetUserSpecPreemptibleInstanceConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + preemption_actions=preemption_actions, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + preemption_actions: Sequence['outputs.GetTargetAssetUserSpecPreemptibleInstanceConfigPreemptionActionResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("preemption_actions", preemption_actions) @property @pulumi.getter(name="preemptionActions") @@ -9415,8 +11408,19 @@ def __init__(__self__, *, :param bool preserve_boot_volume: Whether to preserve the boot volume that was used to launch the preemptible instance when the instance is terminated. By default, it is false if not specified. :param str type: The type of action to run when the instance is interrupted for eviction. """ - pulumi.set(__self__, "preserve_boot_volume", preserve_boot_volume) - pulumi.set(__self__, "type", type) + GetTargetAssetUserSpecPreemptibleInstanceConfigPreemptionActionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + preserve_boot_volume=preserve_boot_volume, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + preserve_boot_volume: bool, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("preserve_boot_volume", preserve_boot_volume) + _setter("type", type) @property @pulumi.getter(name="preserveBootVolume") @@ -9446,9 +11450,22 @@ def __init__(__self__, *, :param float memory_in_gbs: The total amount of memory in gigabytes that is available to the instance. :param float ocpus: The total number of OCPUs available to the instance. """ - pulumi.set(__self__, "baseline_ocpu_utilization", baseline_ocpu_utilization) - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "ocpus", ocpus) + GetTargetAssetUserSpecShapeConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + baseline_ocpu_utilization=baseline_ocpu_utilization, + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + baseline_ocpu_utilization: str, + memory_in_gbs: float, + ocpus: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("baseline_ocpu_utilization", baseline_ocpu_utilization) + _setter("memory_in_gbs", memory_in_gbs) + _setter("ocpus", ocpus) @property @pulumi.getter(name="baselineOcpuUtilization") @@ -9492,12 +11509,31 @@ def __init__(__self__, *, :param str kms_key_id: The OCID of the key management key to assign as the master encryption key for the boot volume. :param str source_type: The source type for the instance. Use `image` when specifying the image OCID. Use `bootVolume` when specifying the boot volume OCID. """ - pulumi.set(__self__, "boot_volume_id", boot_volume_id) - pulumi.set(__self__, "boot_volume_size_in_gbs", boot_volume_size_in_gbs) - pulumi.set(__self__, "boot_volume_vpus_per_gb", boot_volume_vpus_per_gb) - pulumi.set(__self__, "image_id", image_id) - pulumi.set(__self__, "kms_key_id", kms_key_id) - pulumi.set(__self__, "source_type", source_type) + GetTargetAssetUserSpecSourceDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + boot_volume_id=boot_volume_id, + boot_volume_size_in_gbs=boot_volume_size_in_gbs, + boot_volume_vpus_per_gb=boot_volume_vpus_per_gb, + image_id=image_id, + kms_key_id=kms_key_id, + source_type=source_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + boot_volume_id: str, + boot_volume_size_in_gbs: str, + boot_volume_vpus_per_gb: str, + image_id: str, + kms_key_id: str, + source_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("boot_volume_id", boot_volume_id) + _setter("boot_volume_size_in_gbs", boot_volume_size_in_gbs) + _setter("boot_volume_vpus_per_gb", boot_volume_vpus_per_gb) + _setter("image_id", image_id) + _setter("kms_key_id", kms_key_id) + _setter("source_type", source_type) @property @pulumi.getter(name="bootVolumeId") @@ -9557,10 +11593,23 @@ def __init__(__self__, *, """ :param str name: The plugin name. To get a list of available plugins, use the [ListInstanceagentAvailablePlugins](https://docs.cloud.oracle.com/iaas/api/#/en/instanceagent/20180530/Plugin/ListInstanceagentAvailablePlugins) operation in the Oracle Cloud Agent API. For more information about the available plugins, see [Managing Plugins with Oracle Cloud Agent](https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/manage-plugins.htm). """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetTargetAssetsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -9585,7 +11634,16 @@ def regex(self) -> Optional[bool]: class GetTargetAssetsTargetAssetCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetTargetAssetsTargetAssetCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetTargetAssetsTargetAssetCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetTargetAssetsTargetAssetCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -9640,27 +11698,76 @@ def __init__(__self__, *, :param str type: The type of action to run when the instance is interrupted for eviction. :param Sequence['GetTargetAssetsTargetAssetCollectionItemUserSpecArgs'] user_specs: Instance launch details. Use the `sourceDetails` parameter to specify whether a boot volume or an image should be used to launch a new instance. """ - pulumi.set(__self__, "block_volumes_performance", block_volumes_performance) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "compatibility_messages", compatibility_messages) - pulumi.set(__self__, "created_resource_id", created_resource_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "estimated_costs", estimated_costs) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_excluded_from_execution", is_excluded_from_execution) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "migration_assets", migration_assets) - pulumi.set(__self__, "migration_plan_id", migration_plan_id) - pulumi.set(__self__, "ms_license", ms_license) - pulumi.set(__self__, "preferred_shape_type", preferred_shape_type) - pulumi.set(__self__, "recommended_specs", recommended_specs) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "test_specs", test_specs) - pulumi.set(__self__, "time_assessed", time_assessed) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "user_specs", user_specs) + GetTargetAssetsTargetAssetCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + block_volumes_performance=block_volumes_performance, + compartment_id=compartment_id, + compatibility_messages=compatibility_messages, + created_resource_id=created_resource_id, + display_name=display_name, + estimated_costs=estimated_costs, + id=id, + is_excluded_from_execution=is_excluded_from_execution, + lifecycle_details=lifecycle_details, + migration_assets=migration_assets, + migration_plan_id=migration_plan_id, + ms_license=ms_license, + preferred_shape_type=preferred_shape_type, + recommended_specs=recommended_specs, + state=state, + test_specs=test_specs, + time_assessed=time_assessed, + time_created=time_created, + time_updated=time_updated, + type=type, + user_specs=user_specs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + block_volumes_performance: int, + compartment_id: str, + compatibility_messages: Sequence['outputs.GetTargetAssetsTargetAssetCollectionItemCompatibilityMessageResult'], + created_resource_id: str, + display_name: str, + estimated_costs: Sequence['outputs.GetTargetAssetsTargetAssetCollectionItemEstimatedCostResult'], + id: str, + is_excluded_from_execution: bool, + lifecycle_details: str, + migration_assets: Sequence['outputs.GetTargetAssetsTargetAssetCollectionItemMigrationAssetResult'], + migration_plan_id: str, + ms_license: str, + preferred_shape_type: str, + recommended_specs: Sequence['outputs.GetTargetAssetsTargetAssetCollectionItemRecommendedSpecResult'], + state: str, + test_specs: Sequence['outputs.GetTargetAssetsTargetAssetCollectionItemTestSpecResult'], + time_assessed: str, + time_created: str, + time_updated: str, + type: str, + user_specs: Sequence['outputs.GetTargetAssetsTargetAssetCollectionItemUserSpecResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("block_volumes_performance", block_volumes_performance) + _setter("compartment_id", compartment_id) + _setter("compatibility_messages", compatibility_messages) + _setter("created_resource_id", created_resource_id) + _setter("display_name", display_name) + _setter("estimated_costs", estimated_costs) + _setter("id", id) + _setter("is_excluded_from_execution", is_excluded_from_execution) + _setter("lifecycle_details", lifecycle_details) + _setter("migration_assets", migration_assets) + _setter("migration_plan_id", migration_plan_id) + _setter("ms_license", ms_license) + _setter("preferred_shape_type", preferred_shape_type) + _setter("recommended_specs", recommended_specs) + _setter("state", state) + _setter("test_specs", test_specs) + _setter("time_assessed", time_assessed) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("type", type) + _setter("user_specs", user_specs) @property @pulumi.getter(name="blockVolumesPerformance") @@ -9842,9 +11949,22 @@ def __init__(__self__, *, :param str name: The plugin name. To get a list of available plugins, use the [ListInstanceagentAvailablePlugins](https://docs.cloud.oracle.com/iaas/api/#/en/instanceagent/20180530/Plugin/ListInstanceagentAvailablePlugins) operation in the Oracle Cloud Agent API. For more information about the available plugins, see [Managing Plugins with Oracle Cloud Agent](https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/manage-plugins.htm). :param str severity: Severity level of the compatibility issue. """ - pulumi.set(__self__, "message", message) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "severity", severity) + GetTargetAssetsTargetAssetCollectionItemCompatibilityMessageResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + message=message, + name=name, + severity=severity, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + message: str, + name: str, + severity: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("message", message) + _setter("name", name) + _setter("severity", severity) @property @pulumi.getter @@ -9890,13 +12010,34 @@ def __init__(__self__, *, :param float total_estimation_per_month: Total estimation per month :param float total_estimation_per_month_by_subscription: Total estimation per month by subscription. """ - pulumi.set(__self__, "computes", computes) - pulumi.set(__self__, "currency_code", currency_code) - pulumi.set(__self__, "os_images", os_images) - pulumi.set(__self__, "storages", storages) - pulumi.set(__self__, "subscription_id", subscription_id) - pulumi.set(__self__, "total_estimation_per_month", total_estimation_per_month) - pulumi.set(__self__, "total_estimation_per_month_by_subscription", total_estimation_per_month_by_subscription) + GetTargetAssetsTargetAssetCollectionItemEstimatedCostResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + computes=computes, + currency_code=currency_code, + os_images=os_images, + storages=storages, + subscription_id=subscription_id, + total_estimation_per_month=total_estimation_per_month, + total_estimation_per_month_by_subscription=total_estimation_per_month_by_subscription, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + computes: Sequence['outputs.GetTargetAssetsTargetAssetCollectionItemEstimatedCostComputeResult'], + currency_code: str, + os_images: Sequence['outputs.GetTargetAssetsTargetAssetCollectionItemEstimatedCostOsImageResult'], + storages: Sequence['outputs.GetTargetAssetsTargetAssetCollectionItemEstimatedCostStorageResult'], + subscription_id: str, + total_estimation_per_month: float, + total_estimation_per_month_by_subscription: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("computes", computes) + _setter("currency_code", currency_code) + _setter("os_images", os_images) + _setter("storages", storages) + _setter("subscription_id", subscription_id) + _setter("total_estimation_per_month", total_estimation_per_month) + _setter("total_estimation_per_month_by_subscription", total_estimation_per_month_by_subscription) @property @pulumi.getter @@ -9982,17 +12123,46 @@ def __init__(__self__, *, :param float total_per_hour: Total price per hour :param float total_per_hour_by_subscription: Total price per hour by subscription """ - pulumi.set(__self__, "gpu_count", gpu_count) - pulumi.set(__self__, "gpu_per_hour", gpu_per_hour) - pulumi.set(__self__, "gpu_per_hour_by_subscription", gpu_per_hour_by_subscription) - pulumi.set(__self__, "memory_amount_gb", memory_amount_gb) - pulumi.set(__self__, "memory_gb_per_hour", memory_gb_per_hour) - pulumi.set(__self__, "memory_gb_per_hour_by_subscription", memory_gb_per_hour_by_subscription) - pulumi.set(__self__, "ocpu_count", ocpu_count) - pulumi.set(__self__, "ocpu_per_hour", ocpu_per_hour) - pulumi.set(__self__, "ocpu_per_hour_by_subscription", ocpu_per_hour_by_subscription) - pulumi.set(__self__, "total_per_hour", total_per_hour) - pulumi.set(__self__, "total_per_hour_by_subscription", total_per_hour_by_subscription) + GetTargetAssetsTargetAssetCollectionItemEstimatedCostComputeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + gpu_count=gpu_count, + gpu_per_hour=gpu_per_hour, + gpu_per_hour_by_subscription=gpu_per_hour_by_subscription, + memory_amount_gb=memory_amount_gb, + memory_gb_per_hour=memory_gb_per_hour, + memory_gb_per_hour_by_subscription=memory_gb_per_hour_by_subscription, + ocpu_count=ocpu_count, + ocpu_per_hour=ocpu_per_hour, + ocpu_per_hour_by_subscription=ocpu_per_hour_by_subscription, + total_per_hour=total_per_hour, + total_per_hour_by_subscription=total_per_hour_by_subscription, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + gpu_count: float, + gpu_per_hour: float, + gpu_per_hour_by_subscription: float, + memory_amount_gb: float, + memory_gb_per_hour: float, + memory_gb_per_hour_by_subscription: float, + ocpu_count: float, + ocpu_per_hour: float, + ocpu_per_hour_by_subscription: float, + total_per_hour: float, + total_per_hour_by_subscription: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("gpu_count", gpu_count) + _setter("gpu_per_hour", gpu_per_hour) + _setter("gpu_per_hour_by_subscription", gpu_per_hour_by_subscription) + _setter("memory_amount_gb", memory_amount_gb) + _setter("memory_gb_per_hour", memory_gb_per_hour) + _setter("memory_gb_per_hour_by_subscription", memory_gb_per_hour_by_subscription) + _setter("ocpu_count", ocpu_count) + _setter("ocpu_per_hour", ocpu_per_hour) + _setter("ocpu_per_hour_by_subscription", ocpu_per_hour_by_subscription) + _setter("total_per_hour", total_per_hour) + _setter("total_per_hour_by_subscription", total_per_hour_by_subscription) @property @pulumi.getter(name="gpuCount") @@ -10092,8 +12262,19 @@ def __init__(__self__, *, :param float total_per_hour: Total price per hour :param float total_per_hour_by_subscription: Total price per hour by subscription """ - pulumi.set(__self__, "total_per_hour", total_per_hour) - pulumi.set(__self__, "total_per_hour_by_subscription", total_per_hour_by_subscription) + GetTargetAssetsTargetAssetCollectionItemEstimatedCostOsImageResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + total_per_hour=total_per_hour, + total_per_hour_by_subscription=total_per_hour_by_subscription, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + total_per_hour: float, + total_per_hour_by_subscription: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("total_per_hour", total_per_hour) + _setter("total_per_hour_by_subscription", total_per_hour_by_subscription) @property @pulumi.getter(name="totalPerHour") @@ -10123,9 +12304,22 @@ def __init__(__self__, *, :param float total_gb_per_month_by_subscription: Gigabyte storage capacity per month by subscription :param Sequence['GetTargetAssetsTargetAssetCollectionItemEstimatedCostStorageVolumeArgs'] volumes: Volume estimation """ - pulumi.set(__self__, "total_gb_per_month", total_gb_per_month) - pulumi.set(__self__, "total_gb_per_month_by_subscription", total_gb_per_month_by_subscription) - pulumi.set(__self__, "volumes", volumes) + GetTargetAssetsTargetAssetCollectionItemEstimatedCostStorageResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + total_gb_per_month=total_gb_per_month, + total_gb_per_month_by_subscription=total_gb_per_month_by_subscription, + volumes=volumes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + total_gb_per_month: float, + total_gb_per_month_by_subscription: float, + volumes: Sequence['outputs.GetTargetAssetsTargetAssetCollectionItemEstimatedCostStorageVolumeResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("total_gb_per_month", total_gb_per_month) + _setter("total_gb_per_month_by_subscription", total_gb_per_month_by_subscription) + _setter("volumes", volumes) @property @pulumi.getter(name="totalGbPerMonth") @@ -10165,10 +12359,25 @@ def __init__(__self__, *, :param float total_gb_per_month: Gigabyte storage capacity per month. :param float total_gb_per_month_by_subscription: Gigabyte storage capacity per month by subscription """ - pulumi.set(__self__, "capacity_gb", capacity_gb) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "total_gb_per_month", total_gb_per_month) - pulumi.set(__self__, "total_gb_per_month_by_subscription", total_gb_per_month_by_subscription) + GetTargetAssetsTargetAssetCollectionItemEstimatedCostStorageVolumeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + capacity_gb=capacity_gb, + description=description, + total_gb_per_month=total_gb_per_month, + total_gb_per_month_by_subscription=total_gb_per_month_by_subscription, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + capacity_gb: float, + description: str, + total_gb_per_month: float, + total_gb_per_month_by_subscription: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("capacity_gb", capacity_gb) + _setter("description", description) + _setter("total_gb_per_month", total_gb_per_month) + _setter("total_gb_per_month_by_subscription", total_gb_per_month_by_subscription) @property @pulumi.getter(name="capacityGb") @@ -10250,27 +12459,76 @@ def __init__(__self__, *, :param str time_updated: The time when the target asset was updated. An RFC3339 formatted datetime string. :param str type: The type of action to run when the instance is interrupted for eviction. """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "depended_on_bies", depended_on_bies) - pulumi.set(__self__, "depends_ons", depends_ons) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "migration_id", migration_id) - pulumi.set(__self__, "notifications", notifications) - pulumi.set(__self__, "parent_snapshot", parent_snapshot) - pulumi.set(__self__, "replication_compartment_id", replication_compartment_id) - pulumi.set(__self__, "replication_schedule_id", replication_schedule_id) - pulumi.set(__self__, "snap_shot_bucket_name", snap_shot_bucket_name) - pulumi.set(__self__, "snapshots", snapshots) - pulumi.set(__self__, "source_asset_data", source_asset_data) - pulumi.set(__self__, "source_asset_id", source_asset_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "tenancy_id", tenancy_id) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "type", type) + GetTargetAssetsTargetAssetCollectionItemMigrationAssetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + compartment_id=compartment_id, + depended_on_bies=depended_on_bies, + depends_ons=depends_ons, + display_name=display_name, + id=id, + lifecycle_details=lifecycle_details, + migration_id=migration_id, + notifications=notifications, + parent_snapshot=parent_snapshot, + replication_compartment_id=replication_compartment_id, + replication_schedule_id=replication_schedule_id, + snap_shot_bucket_name=snap_shot_bucket_name, + snapshots=snapshots, + source_asset_data=source_asset_data, + source_asset_id=source_asset_id, + state=state, + tenancy_id=tenancy_id, + time_created=time_created, + time_updated=time_updated, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + compartment_id: str, + depended_on_bies: Sequence[str], + depends_ons: Sequence[str], + display_name: str, + id: str, + lifecycle_details: str, + migration_id: str, + notifications: Sequence[str], + parent_snapshot: str, + replication_compartment_id: str, + replication_schedule_id: str, + snap_shot_bucket_name: str, + snapshots: Mapping[str, Any], + source_asset_data: Mapping[str, Any], + source_asset_id: str, + state: str, + tenancy_id: str, + time_created: str, + time_updated: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("compartment_id", compartment_id) + _setter("depended_on_bies", depended_on_bies) + _setter("depends_ons", depends_ons) + _setter("display_name", display_name) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("migration_id", migration_id) + _setter("notifications", notifications) + _setter("parent_snapshot", parent_snapshot) + _setter("replication_compartment_id", replication_compartment_id) + _setter("replication_schedule_id", replication_schedule_id) + _setter("snap_shot_bucket_name", snap_shot_bucket_name) + _setter("snapshots", snapshots) + _setter("source_asset_data", source_asset_data) + _setter("source_asset_id", source_asset_id) + _setter("state", state) + _setter("tenancy_id", tenancy_id) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("type", type) @property @pulumi.getter(name="availabilityDomain") @@ -10481,24 +12739,67 @@ def __init__(__self__, *, :param str shape: The shape of an instance. The shape determines the number of CPUs, amount of memory, and other resources allocated to the instance. :param Sequence['GetTargetAssetsTargetAssetCollectionItemRecommendedSpecShapeConfigArgs'] shape_configs: The shape configuration requested for the instance. """ - pulumi.set(__self__, "agent_configs", agent_configs) - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "capacity_reservation_id", capacity_reservation_id) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "create_vnic_details", create_vnic_details) - pulumi.set(__self__, "dedicated_vm_host_id", dedicated_vm_host_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "fault_domain", fault_domain) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "hostname_label", hostname_label) - pulumi.set(__self__, "instance_options", instance_options) - pulumi.set(__self__, "ipxe_script", ipxe_script) - pulumi.set(__self__, "is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) - pulumi.set(__self__, "preemptible_instance_configs", preemptible_instance_configs) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "shape_configs", shape_configs) - pulumi.set(__self__, "source_details", source_details) + GetTargetAssetsTargetAssetCollectionItemRecommendedSpecResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + agent_configs=agent_configs, + availability_domain=availability_domain, + capacity_reservation_id=capacity_reservation_id, + compartment_id=compartment_id, + create_vnic_details=create_vnic_details, + dedicated_vm_host_id=dedicated_vm_host_id, + defined_tags=defined_tags, + display_name=display_name, + fault_domain=fault_domain, + freeform_tags=freeform_tags, + hostname_label=hostname_label, + instance_options=instance_options, + ipxe_script=ipxe_script, + is_pv_encryption_in_transit_enabled=is_pv_encryption_in_transit_enabled, + preemptible_instance_configs=preemptible_instance_configs, + shape=shape, + shape_configs=shape_configs, + source_details=source_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agent_configs: Sequence['outputs.GetTargetAssetsTargetAssetCollectionItemRecommendedSpecAgentConfigResult'], + availability_domain: str, + capacity_reservation_id: str, + compartment_id: str, + create_vnic_details: Sequence['outputs.GetTargetAssetsTargetAssetCollectionItemRecommendedSpecCreateVnicDetailResult'], + dedicated_vm_host_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + fault_domain: str, + freeform_tags: Mapping[str, Any], + hostname_label: str, + instance_options: Sequence['outputs.GetTargetAssetsTargetAssetCollectionItemRecommendedSpecInstanceOptionResult'], + ipxe_script: str, + is_pv_encryption_in_transit_enabled: bool, + preemptible_instance_configs: Sequence['outputs.GetTargetAssetsTargetAssetCollectionItemRecommendedSpecPreemptibleInstanceConfigResult'], + shape: str, + shape_configs: Sequence['outputs.GetTargetAssetsTargetAssetCollectionItemRecommendedSpecShapeConfigResult'], + source_details: Sequence['outputs.GetTargetAssetsTargetAssetCollectionItemRecommendedSpecSourceDetailResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("agent_configs", agent_configs) + _setter("availability_domain", availability_domain) + _setter("capacity_reservation_id", capacity_reservation_id) + _setter("compartment_id", compartment_id) + _setter("create_vnic_details", create_vnic_details) + _setter("dedicated_vm_host_id", dedicated_vm_host_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("fault_domain", fault_domain) + _setter("freeform_tags", freeform_tags) + _setter("hostname_label", hostname_label) + _setter("instance_options", instance_options) + _setter("ipxe_script", ipxe_script) + _setter("is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) + _setter("preemptible_instance_configs", preemptible_instance_configs) + _setter("shape", shape) + _setter("shape_configs", shape_configs) + _setter("source_details", source_details) @property @pulumi.getter(name="agentConfigs") @@ -10655,10 +12956,25 @@ def __init__(__self__, *, :param bool is_monitoring_disabled: Whether Oracle Cloud Agent can gather performance metrics and monitor the instance using the monitoring plugins. By default, the value is false (monitoring plugins are enabled). :param Sequence['GetTargetAssetsTargetAssetCollectionItemRecommendedSpecAgentConfigPluginsConfigArgs'] plugins_configs: The configuration of plugins associated with this instance. """ - pulumi.set(__self__, "are_all_plugins_disabled", are_all_plugins_disabled) - pulumi.set(__self__, "is_management_disabled", is_management_disabled) - pulumi.set(__self__, "is_monitoring_disabled", is_monitoring_disabled) - pulumi.set(__self__, "plugins_configs", plugins_configs) + GetTargetAssetsTargetAssetCollectionItemRecommendedSpecAgentConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + are_all_plugins_disabled=are_all_plugins_disabled, + is_management_disabled=is_management_disabled, + is_monitoring_disabled=is_monitoring_disabled, + plugins_configs=plugins_configs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + are_all_plugins_disabled: bool, + is_management_disabled: bool, + is_monitoring_disabled: bool, + plugins_configs: Sequence['outputs.GetTargetAssetsTargetAssetCollectionItemRecommendedSpecAgentConfigPluginsConfigResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("are_all_plugins_disabled", are_all_plugins_disabled) + _setter("is_management_disabled", is_management_disabled) + _setter("is_monitoring_disabled", is_monitoring_disabled) + _setter("plugins_configs", plugins_configs) @property @pulumi.getter(name="areAllPluginsDisabled") @@ -10702,8 +13018,19 @@ def __init__(__self__, *, :param str desired_state: Whether the plugin should be enabled or disabled. :param str name: The plugin name. To get a list of available plugins, use the [ListInstanceagentAvailablePlugins](https://docs.cloud.oracle.com/iaas/api/#/en/instanceagent/20180530/Plugin/ListInstanceagentAvailablePlugins) operation in the Oracle Cloud Agent API. For more information about the available plugins, see [Managing Plugins with Oracle Cloud Agent](https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/manage-plugins.htm). """ - pulumi.set(__self__, "desired_state", desired_state) - pulumi.set(__self__, "name", name) + GetTargetAssetsTargetAssetCollectionItemRecommendedSpecAgentConfigPluginsConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + desired_state=desired_state, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + desired_state: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("desired_state", desired_state) + _setter("name", name) @property @pulumi.getter(name="desiredState") @@ -10749,17 +13076,46 @@ def __init__(__self__, *, :param str subnet_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet to create the VNIC. When launching an instance, use this `subnetId` instead of the deprecated `subnetId` in [LaunchInstanceDetails](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/requests/LaunchInstanceDetails). At least one of them is required; if you provide both, the values must match. :param str vlan_id: Provide this attribute only if you are an Oracle Cloud VMware Solution customer and creating a secondary VNIC in a VLAN. The value is the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VLAN. See [Vlan](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/Vlan). """ - pulumi.set(__self__, "assign_private_dns_record", assign_private_dns_record) - pulumi.set(__self__, "assign_public_ip", assign_public_ip) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "hostname_label", hostname_label) - pulumi.set(__self__, "nsg_ids", nsg_ids) - pulumi.set(__self__, "private_ip", private_ip) - pulumi.set(__self__, "skip_source_dest_check", skip_source_dest_check) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "vlan_id", vlan_id) + GetTargetAssetsTargetAssetCollectionItemRecommendedSpecCreateVnicDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + assign_private_dns_record=assign_private_dns_record, + assign_public_ip=assign_public_ip, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + hostname_label=hostname_label, + nsg_ids=nsg_ids, + private_ip=private_ip, + skip_source_dest_check=skip_source_dest_check, + subnet_id=subnet_id, + vlan_id=vlan_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + assign_private_dns_record: bool, + assign_public_ip: bool, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + hostname_label: str, + nsg_ids: Sequence[str], + private_ip: str, + skip_source_dest_check: bool, + subnet_id: str, + vlan_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("assign_private_dns_record", assign_private_dns_record) + _setter("assign_public_ip", assign_public_ip) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("hostname_label", hostname_label) + _setter("nsg_ids", nsg_ids) + _setter("private_ip", private_ip) + _setter("skip_source_dest_check", skip_source_dest_check) + _setter("subnet_id", subnet_id) + _setter("vlan_id", vlan_id) @property @pulumi.getter(name="assignPrivateDnsRecord") @@ -10857,7 +13213,16 @@ def __init__(__self__, *, """ :param bool are_legacy_imds_endpoints_disabled: Whether to disable the legacy (/v1) instance metadata service endpoints. Customers who have migrated to /v2 should set this to true for added security. Default is false. """ - pulumi.set(__self__, "are_legacy_imds_endpoints_disabled", are_legacy_imds_endpoints_disabled) + GetTargetAssetsTargetAssetCollectionItemRecommendedSpecInstanceOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + are_legacy_imds_endpoints_disabled=are_legacy_imds_endpoints_disabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + are_legacy_imds_endpoints_disabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("are_legacy_imds_endpoints_disabled", are_legacy_imds_endpoints_disabled) @property @pulumi.getter(name="areLegacyImdsEndpointsDisabled") @@ -10875,7 +13240,16 @@ def __init__(__self__, *, """ :param Sequence['GetTargetAssetsTargetAssetCollectionItemRecommendedSpecPreemptibleInstanceConfigPreemptionActionArgs'] preemption_actions: The action to run when the preemptible instance is interrupted for eviction. """ - pulumi.set(__self__, "preemption_actions", preemption_actions) + GetTargetAssetsTargetAssetCollectionItemRecommendedSpecPreemptibleInstanceConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + preemption_actions=preemption_actions, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + preemption_actions: Sequence['outputs.GetTargetAssetsTargetAssetCollectionItemRecommendedSpecPreemptibleInstanceConfigPreemptionActionResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("preemption_actions", preemption_actions) @property @pulumi.getter(name="preemptionActions") @@ -10895,8 +13269,19 @@ def __init__(__self__, *, :param bool preserve_boot_volume: Whether to preserve the boot volume that was used to launch the preemptible instance when the instance is terminated. By default, it is false if not specified. :param str type: The type of action to run when the instance is interrupted for eviction. """ - pulumi.set(__self__, "preserve_boot_volume", preserve_boot_volume) - pulumi.set(__self__, "type", type) + GetTargetAssetsTargetAssetCollectionItemRecommendedSpecPreemptibleInstanceConfigPreemptionActionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + preserve_boot_volume=preserve_boot_volume, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + preserve_boot_volume: bool, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("preserve_boot_volume", preserve_boot_volume) + _setter("type", type) @property @pulumi.getter(name="preserveBootVolume") @@ -10926,9 +13311,22 @@ def __init__(__self__, *, :param float memory_in_gbs: The total amount of memory in gigabytes that is available to the instance. :param float ocpus: The total number of OCPUs available to the instance. """ - pulumi.set(__self__, "baseline_ocpu_utilization", baseline_ocpu_utilization) - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "ocpus", ocpus) + GetTargetAssetsTargetAssetCollectionItemRecommendedSpecShapeConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + baseline_ocpu_utilization=baseline_ocpu_utilization, + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + baseline_ocpu_utilization: str, + memory_in_gbs: float, + ocpus: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("baseline_ocpu_utilization", baseline_ocpu_utilization) + _setter("memory_in_gbs", memory_in_gbs) + _setter("ocpus", ocpus) @property @pulumi.getter(name="baselineOcpuUtilization") @@ -10972,12 +13370,31 @@ def __init__(__self__, *, :param str kms_key_id: The OCID of the key management key to assign as the master encryption key for the boot volume. :param str source_type: The source type for the instance. Use `image` when specifying the image OCID. Use `bootVolume` when specifying the boot volume OCID. """ - pulumi.set(__self__, "boot_volume_id", boot_volume_id) - pulumi.set(__self__, "boot_volume_size_in_gbs", boot_volume_size_in_gbs) - pulumi.set(__self__, "boot_volume_vpus_per_gb", boot_volume_vpus_per_gb) - pulumi.set(__self__, "image_id", image_id) - pulumi.set(__self__, "kms_key_id", kms_key_id) - pulumi.set(__self__, "source_type", source_type) + GetTargetAssetsTargetAssetCollectionItemRecommendedSpecSourceDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + boot_volume_id=boot_volume_id, + boot_volume_size_in_gbs=boot_volume_size_in_gbs, + boot_volume_vpus_per_gb=boot_volume_vpus_per_gb, + image_id=image_id, + kms_key_id=kms_key_id, + source_type=source_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + boot_volume_id: str, + boot_volume_size_in_gbs: str, + boot_volume_vpus_per_gb: str, + image_id: str, + kms_key_id: str, + source_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("boot_volume_id", boot_volume_id) + _setter("boot_volume_size_in_gbs", boot_volume_size_in_gbs) + _setter("boot_volume_vpus_per_gb", boot_volume_vpus_per_gb) + _setter("image_id", image_id) + _setter("kms_key_id", kms_key_id) + _setter("source_type", source_type) @property @pulumi.getter(name="bootVolumeId") @@ -11068,24 +13485,67 @@ def __init__(__self__, *, :param str shape: The shape of an instance. The shape determines the number of CPUs, amount of memory, and other resources allocated to the instance. :param Sequence['GetTargetAssetsTargetAssetCollectionItemTestSpecShapeConfigArgs'] shape_configs: The shape configuration requested for the instance. """ - pulumi.set(__self__, "agent_configs", agent_configs) - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "capacity_reservation_id", capacity_reservation_id) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "create_vnic_details", create_vnic_details) - pulumi.set(__self__, "dedicated_vm_host_id", dedicated_vm_host_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "fault_domain", fault_domain) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "hostname_label", hostname_label) - pulumi.set(__self__, "instance_options", instance_options) - pulumi.set(__self__, "ipxe_script", ipxe_script) - pulumi.set(__self__, "is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) - pulumi.set(__self__, "preemptible_instance_configs", preemptible_instance_configs) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "shape_configs", shape_configs) - pulumi.set(__self__, "source_details", source_details) + GetTargetAssetsTargetAssetCollectionItemTestSpecResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + agent_configs=agent_configs, + availability_domain=availability_domain, + capacity_reservation_id=capacity_reservation_id, + compartment_id=compartment_id, + create_vnic_details=create_vnic_details, + dedicated_vm_host_id=dedicated_vm_host_id, + defined_tags=defined_tags, + display_name=display_name, + fault_domain=fault_domain, + freeform_tags=freeform_tags, + hostname_label=hostname_label, + instance_options=instance_options, + ipxe_script=ipxe_script, + is_pv_encryption_in_transit_enabled=is_pv_encryption_in_transit_enabled, + preemptible_instance_configs=preemptible_instance_configs, + shape=shape, + shape_configs=shape_configs, + source_details=source_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agent_configs: Sequence['outputs.GetTargetAssetsTargetAssetCollectionItemTestSpecAgentConfigResult'], + availability_domain: str, + capacity_reservation_id: str, + compartment_id: str, + create_vnic_details: Sequence['outputs.GetTargetAssetsTargetAssetCollectionItemTestSpecCreateVnicDetailResult'], + dedicated_vm_host_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + fault_domain: str, + freeform_tags: Mapping[str, Any], + hostname_label: str, + instance_options: Sequence['outputs.GetTargetAssetsTargetAssetCollectionItemTestSpecInstanceOptionResult'], + ipxe_script: str, + is_pv_encryption_in_transit_enabled: bool, + preemptible_instance_configs: Sequence['outputs.GetTargetAssetsTargetAssetCollectionItemTestSpecPreemptibleInstanceConfigResult'], + shape: str, + shape_configs: Sequence['outputs.GetTargetAssetsTargetAssetCollectionItemTestSpecShapeConfigResult'], + source_details: Sequence['outputs.GetTargetAssetsTargetAssetCollectionItemTestSpecSourceDetailResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("agent_configs", agent_configs) + _setter("availability_domain", availability_domain) + _setter("capacity_reservation_id", capacity_reservation_id) + _setter("compartment_id", compartment_id) + _setter("create_vnic_details", create_vnic_details) + _setter("dedicated_vm_host_id", dedicated_vm_host_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("fault_domain", fault_domain) + _setter("freeform_tags", freeform_tags) + _setter("hostname_label", hostname_label) + _setter("instance_options", instance_options) + _setter("ipxe_script", ipxe_script) + _setter("is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) + _setter("preemptible_instance_configs", preemptible_instance_configs) + _setter("shape", shape) + _setter("shape_configs", shape_configs) + _setter("source_details", source_details) @property @pulumi.getter(name="agentConfigs") @@ -11242,10 +13702,25 @@ def __init__(__self__, *, :param bool is_monitoring_disabled: Whether Oracle Cloud Agent can gather performance metrics and monitor the instance using the monitoring plugins. By default, the value is false (monitoring plugins are enabled). :param Sequence['GetTargetAssetsTargetAssetCollectionItemTestSpecAgentConfigPluginsConfigArgs'] plugins_configs: The configuration of plugins associated with this instance. """ - pulumi.set(__self__, "are_all_plugins_disabled", are_all_plugins_disabled) - pulumi.set(__self__, "is_management_disabled", is_management_disabled) - pulumi.set(__self__, "is_monitoring_disabled", is_monitoring_disabled) - pulumi.set(__self__, "plugins_configs", plugins_configs) + GetTargetAssetsTargetAssetCollectionItemTestSpecAgentConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + are_all_plugins_disabled=are_all_plugins_disabled, + is_management_disabled=is_management_disabled, + is_monitoring_disabled=is_monitoring_disabled, + plugins_configs=plugins_configs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + are_all_plugins_disabled: bool, + is_management_disabled: bool, + is_monitoring_disabled: bool, + plugins_configs: Sequence['outputs.GetTargetAssetsTargetAssetCollectionItemTestSpecAgentConfigPluginsConfigResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("are_all_plugins_disabled", are_all_plugins_disabled) + _setter("is_management_disabled", is_management_disabled) + _setter("is_monitoring_disabled", is_monitoring_disabled) + _setter("plugins_configs", plugins_configs) @property @pulumi.getter(name="areAllPluginsDisabled") @@ -11289,8 +13764,19 @@ def __init__(__self__, *, :param str desired_state: Whether the plugin should be enabled or disabled. :param str name: The plugin name. To get a list of available plugins, use the [ListInstanceagentAvailablePlugins](https://docs.cloud.oracle.com/iaas/api/#/en/instanceagent/20180530/Plugin/ListInstanceagentAvailablePlugins) operation in the Oracle Cloud Agent API. For more information about the available plugins, see [Managing Plugins with Oracle Cloud Agent](https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/manage-plugins.htm). """ - pulumi.set(__self__, "desired_state", desired_state) - pulumi.set(__self__, "name", name) + GetTargetAssetsTargetAssetCollectionItemTestSpecAgentConfigPluginsConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + desired_state=desired_state, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + desired_state: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("desired_state", desired_state) + _setter("name", name) @property @pulumi.getter(name="desiredState") @@ -11336,17 +13822,46 @@ def __init__(__self__, *, :param str subnet_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet to create the VNIC. When launching an instance, use this `subnetId` instead of the deprecated `subnetId` in [LaunchInstanceDetails](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/requests/LaunchInstanceDetails). At least one of them is required; if you provide both, the values must match. :param str vlan_id: Provide this attribute only if you are an Oracle Cloud VMware Solution customer and creating a secondary VNIC in a VLAN. The value is the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VLAN. See [Vlan](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/Vlan). """ - pulumi.set(__self__, "assign_private_dns_record", assign_private_dns_record) - pulumi.set(__self__, "assign_public_ip", assign_public_ip) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "hostname_label", hostname_label) - pulumi.set(__self__, "nsg_ids", nsg_ids) - pulumi.set(__self__, "private_ip", private_ip) - pulumi.set(__self__, "skip_source_dest_check", skip_source_dest_check) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "vlan_id", vlan_id) + GetTargetAssetsTargetAssetCollectionItemTestSpecCreateVnicDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + assign_private_dns_record=assign_private_dns_record, + assign_public_ip=assign_public_ip, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + hostname_label=hostname_label, + nsg_ids=nsg_ids, + private_ip=private_ip, + skip_source_dest_check=skip_source_dest_check, + subnet_id=subnet_id, + vlan_id=vlan_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + assign_private_dns_record: bool, + assign_public_ip: bool, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + hostname_label: str, + nsg_ids: Sequence[str], + private_ip: str, + skip_source_dest_check: bool, + subnet_id: str, + vlan_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("assign_private_dns_record", assign_private_dns_record) + _setter("assign_public_ip", assign_public_ip) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("hostname_label", hostname_label) + _setter("nsg_ids", nsg_ids) + _setter("private_ip", private_ip) + _setter("skip_source_dest_check", skip_source_dest_check) + _setter("subnet_id", subnet_id) + _setter("vlan_id", vlan_id) @property @pulumi.getter(name="assignPrivateDnsRecord") @@ -11444,7 +13959,16 @@ def __init__(__self__, *, """ :param bool are_legacy_imds_endpoints_disabled: Whether to disable the legacy (/v1) instance metadata service endpoints. Customers who have migrated to /v2 should set this to true for added security. Default is false. """ - pulumi.set(__self__, "are_legacy_imds_endpoints_disabled", are_legacy_imds_endpoints_disabled) + GetTargetAssetsTargetAssetCollectionItemTestSpecInstanceOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + are_legacy_imds_endpoints_disabled=are_legacy_imds_endpoints_disabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + are_legacy_imds_endpoints_disabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("are_legacy_imds_endpoints_disabled", are_legacy_imds_endpoints_disabled) @property @pulumi.getter(name="areLegacyImdsEndpointsDisabled") @@ -11462,7 +13986,16 @@ def __init__(__self__, *, """ :param Sequence['GetTargetAssetsTargetAssetCollectionItemTestSpecPreemptibleInstanceConfigPreemptionActionArgs'] preemption_actions: The action to run when the preemptible instance is interrupted for eviction. """ - pulumi.set(__self__, "preemption_actions", preemption_actions) + GetTargetAssetsTargetAssetCollectionItemTestSpecPreemptibleInstanceConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + preemption_actions=preemption_actions, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + preemption_actions: Sequence['outputs.GetTargetAssetsTargetAssetCollectionItemTestSpecPreemptibleInstanceConfigPreemptionActionResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("preemption_actions", preemption_actions) @property @pulumi.getter(name="preemptionActions") @@ -11482,8 +14015,19 @@ def __init__(__self__, *, :param bool preserve_boot_volume: Whether to preserve the boot volume that was used to launch the preemptible instance when the instance is terminated. By default, it is false if not specified. :param str type: The type of action to run when the instance is interrupted for eviction. """ - pulumi.set(__self__, "preserve_boot_volume", preserve_boot_volume) - pulumi.set(__self__, "type", type) + GetTargetAssetsTargetAssetCollectionItemTestSpecPreemptibleInstanceConfigPreemptionActionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + preserve_boot_volume=preserve_boot_volume, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + preserve_boot_volume: bool, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("preserve_boot_volume", preserve_boot_volume) + _setter("type", type) @property @pulumi.getter(name="preserveBootVolume") @@ -11513,9 +14057,22 @@ def __init__(__self__, *, :param float memory_in_gbs: The total amount of memory in gigabytes that is available to the instance. :param float ocpus: The total number of OCPUs available to the instance. """ - pulumi.set(__self__, "baseline_ocpu_utilization", baseline_ocpu_utilization) - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "ocpus", ocpus) + GetTargetAssetsTargetAssetCollectionItemTestSpecShapeConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + baseline_ocpu_utilization=baseline_ocpu_utilization, + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + baseline_ocpu_utilization: str, + memory_in_gbs: float, + ocpus: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("baseline_ocpu_utilization", baseline_ocpu_utilization) + _setter("memory_in_gbs", memory_in_gbs) + _setter("ocpus", ocpus) @property @pulumi.getter(name="baselineOcpuUtilization") @@ -11559,12 +14116,31 @@ def __init__(__self__, *, :param str kms_key_id: The OCID of the key management key to assign as the master encryption key for the boot volume. :param str source_type: The source type for the instance. Use `image` when specifying the image OCID. Use `bootVolume` when specifying the boot volume OCID. """ - pulumi.set(__self__, "boot_volume_id", boot_volume_id) - pulumi.set(__self__, "boot_volume_size_in_gbs", boot_volume_size_in_gbs) - pulumi.set(__self__, "boot_volume_vpus_per_gb", boot_volume_vpus_per_gb) - pulumi.set(__self__, "image_id", image_id) - pulumi.set(__self__, "kms_key_id", kms_key_id) - pulumi.set(__self__, "source_type", source_type) + GetTargetAssetsTargetAssetCollectionItemTestSpecSourceDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + boot_volume_id=boot_volume_id, + boot_volume_size_in_gbs=boot_volume_size_in_gbs, + boot_volume_vpus_per_gb=boot_volume_vpus_per_gb, + image_id=image_id, + kms_key_id=kms_key_id, + source_type=source_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + boot_volume_id: str, + boot_volume_size_in_gbs: str, + boot_volume_vpus_per_gb: str, + image_id: str, + kms_key_id: str, + source_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("boot_volume_id", boot_volume_id) + _setter("boot_volume_size_in_gbs", boot_volume_size_in_gbs) + _setter("boot_volume_vpus_per_gb", boot_volume_vpus_per_gb) + _setter("image_id", image_id) + _setter("kms_key_id", kms_key_id) + _setter("source_type", source_type) @property @pulumi.getter(name="bootVolumeId") @@ -11655,24 +14231,67 @@ def __init__(__self__, *, :param str shape: The shape of an instance. The shape determines the number of CPUs, amount of memory, and other resources allocated to the instance. :param Sequence['GetTargetAssetsTargetAssetCollectionItemUserSpecShapeConfigArgs'] shape_configs: The shape configuration requested for the instance. """ - pulumi.set(__self__, "agent_configs", agent_configs) - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "capacity_reservation_id", capacity_reservation_id) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "create_vnic_details", create_vnic_details) - pulumi.set(__self__, "dedicated_vm_host_id", dedicated_vm_host_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "fault_domain", fault_domain) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "hostname_label", hostname_label) - pulumi.set(__self__, "instance_options", instance_options) - pulumi.set(__self__, "ipxe_script", ipxe_script) - pulumi.set(__self__, "is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) - pulumi.set(__self__, "preemptible_instance_configs", preemptible_instance_configs) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "shape_configs", shape_configs) - pulumi.set(__self__, "source_details", source_details) + GetTargetAssetsTargetAssetCollectionItemUserSpecResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + agent_configs=agent_configs, + availability_domain=availability_domain, + capacity_reservation_id=capacity_reservation_id, + compartment_id=compartment_id, + create_vnic_details=create_vnic_details, + dedicated_vm_host_id=dedicated_vm_host_id, + defined_tags=defined_tags, + display_name=display_name, + fault_domain=fault_domain, + freeform_tags=freeform_tags, + hostname_label=hostname_label, + instance_options=instance_options, + ipxe_script=ipxe_script, + is_pv_encryption_in_transit_enabled=is_pv_encryption_in_transit_enabled, + preemptible_instance_configs=preemptible_instance_configs, + shape=shape, + shape_configs=shape_configs, + source_details=source_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agent_configs: Sequence['outputs.GetTargetAssetsTargetAssetCollectionItemUserSpecAgentConfigResult'], + availability_domain: str, + capacity_reservation_id: str, + compartment_id: str, + create_vnic_details: Sequence['outputs.GetTargetAssetsTargetAssetCollectionItemUserSpecCreateVnicDetailResult'], + dedicated_vm_host_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + fault_domain: str, + freeform_tags: Mapping[str, Any], + hostname_label: str, + instance_options: Sequence['outputs.GetTargetAssetsTargetAssetCollectionItemUserSpecInstanceOptionResult'], + ipxe_script: str, + is_pv_encryption_in_transit_enabled: bool, + preemptible_instance_configs: Sequence['outputs.GetTargetAssetsTargetAssetCollectionItemUserSpecPreemptibleInstanceConfigResult'], + shape: str, + shape_configs: Sequence['outputs.GetTargetAssetsTargetAssetCollectionItemUserSpecShapeConfigResult'], + source_details: Sequence['outputs.GetTargetAssetsTargetAssetCollectionItemUserSpecSourceDetailResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("agent_configs", agent_configs) + _setter("availability_domain", availability_domain) + _setter("capacity_reservation_id", capacity_reservation_id) + _setter("compartment_id", compartment_id) + _setter("create_vnic_details", create_vnic_details) + _setter("dedicated_vm_host_id", dedicated_vm_host_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("fault_domain", fault_domain) + _setter("freeform_tags", freeform_tags) + _setter("hostname_label", hostname_label) + _setter("instance_options", instance_options) + _setter("ipxe_script", ipxe_script) + _setter("is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) + _setter("preemptible_instance_configs", preemptible_instance_configs) + _setter("shape", shape) + _setter("shape_configs", shape_configs) + _setter("source_details", source_details) @property @pulumi.getter(name="agentConfigs") @@ -11829,10 +14448,25 @@ def __init__(__self__, *, :param bool is_monitoring_disabled: Whether Oracle Cloud Agent can gather performance metrics and monitor the instance using the monitoring plugins. By default, the value is false (monitoring plugins are enabled). :param Sequence['GetTargetAssetsTargetAssetCollectionItemUserSpecAgentConfigPluginsConfigArgs'] plugins_configs: The configuration of plugins associated with this instance. """ - pulumi.set(__self__, "are_all_plugins_disabled", are_all_plugins_disabled) - pulumi.set(__self__, "is_management_disabled", is_management_disabled) - pulumi.set(__self__, "is_monitoring_disabled", is_monitoring_disabled) - pulumi.set(__self__, "plugins_configs", plugins_configs) + GetTargetAssetsTargetAssetCollectionItemUserSpecAgentConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + are_all_plugins_disabled=are_all_plugins_disabled, + is_management_disabled=is_management_disabled, + is_monitoring_disabled=is_monitoring_disabled, + plugins_configs=plugins_configs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + are_all_plugins_disabled: bool, + is_management_disabled: bool, + is_monitoring_disabled: bool, + plugins_configs: Sequence['outputs.GetTargetAssetsTargetAssetCollectionItemUserSpecAgentConfigPluginsConfigResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("are_all_plugins_disabled", are_all_plugins_disabled) + _setter("is_management_disabled", is_management_disabled) + _setter("is_monitoring_disabled", is_monitoring_disabled) + _setter("plugins_configs", plugins_configs) @property @pulumi.getter(name="areAllPluginsDisabled") @@ -11876,8 +14510,19 @@ def __init__(__self__, *, :param str desired_state: Whether the plugin should be enabled or disabled. :param str name: The plugin name. To get a list of available plugins, use the [ListInstanceagentAvailablePlugins](https://docs.cloud.oracle.com/iaas/api/#/en/instanceagent/20180530/Plugin/ListInstanceagentAvailablePlugins) operation in the Oracle Cloud Agent API. For more information about the available plugins, see [Managing Plugins with Oracle Cloud Agent](https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/manage-plugins.htm). """ - pulumi.set(__self__, "desired_state", desired_state) - pulumi.set(__self__, "name", name) + GetTargetAssetsTargetAssetCollectionItemUserSpecAgentConfigPluginsConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + desired_state=desired_state, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + desired_state: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("desired_state", desired_state) + _setter("name", name) @property @pulumi.getter(name="desiredState") @@ -11923,17 +14568,46 @@ def __init__(__self__, *, :param str subnet_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet to create the VNIC. When launching an instance, use this `subnetId` instead of the deprecated `subnetId` in [LaunchInstanceDetails](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/requests/LaunchInstanceDetails). At least one of them is required; if you provide both, the values must match. :param str vlan_id: Provide this attribute only if you are an Oracle Cloud VMware Solution customer and creating a secondary VNIC in a VLAN. The value is the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VLAN. See [Vlan](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/Vlan). """ - pulumi.set(__self__, "assign_private_dns_record", assign_private_dns_record) - pulumi.set(__self__, "assign_public_ip", assign_public_ip) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "hostname_label", hostname_label) - pulumi.set(__self__, "nsg_ids", nsg_ids) - pulumi.set(__self__, "private_ip", private_ip) - pulumi.set(__self__, "skip_source_dest_check", skip_source_dest_check) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "vlan_id", vlan_id) + GetTargetAssetsTargetAssetCollectionItemUserSpecCreateVnicDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + assign_private_dns_record=assign_private_dns_record, + assign_public_ip=assign_public_ip, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + hostname_label=hostname_label, + nsg_ids=nsg_ids, + private_ip=private_ip, + skip_source_dest_check=skip_source_dest_check, + subnet_id=subnet_id, + vlan_id=vlan_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + assign_private_dns_record: bool, + assign_public_ip: bool, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + hostname_label: str, + nsg_ids: Sequence[str], + private_ip: str, + skip_source_dest_check: bool, + subnet_id: str, + vlan_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("assign_private_dns_record", assign_private_dns_record) + _setter("assign_public_ip", assign_public_ip) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("hostname_label", hostname_label) + _setter("nsg_ids", nsg_ids) + _setter("private_ip", private_ip) + _setter("skip_source_dest_check", skip_source_dest_check) + _setter("subnet_id", subnet_id) + _setter("vlan_id", vlan_id) @property @pulumi.getter(name="assignPrivateDnsRecord") @@ -12031,7 +14705,16 @@ def __init__(__self__, *, """ :param bool are_legacy_imds_endpoints_disabled: Whether to disable the legacy (/v1) instance metadata service endpoints. Customers who have migrated to /v2 should set this to true for added security. Default is false. """ - pulumi.set(__self__, "are_legacy_imds_endpoints_disabled", are_legacy_imds_endpoints_disabled) + GetTargetAssetsTargetAssetCollectionItemUserSpecInstanceOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + are_legacy_imds_endpoints_disabled=are_legacy_imds_endpoints_disabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + are_legacy_imds_endpoints_disabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("are_legacy_imds_endpoints_disabled", are_legacy_imds_endpoints_disabled) @property @pulumi.getter(name="areLegacyImdsEndpointsDisabled") @@ -12049,7 +14732,16 @@ def __init__(__self__, *, """ :param Sequence['GetTargetAssetsTargetAssetCollectionItemUserSpecPreemptibleInstanceConfigPreemptionActionArgs'] preemption_actions: The action to run when the preemptible instance is interrupted for eviction. """ - pulumi.set(__self__, "preemption_actions", preemption_actions) + GetTargetAssetsTargetAssetCollectionItemUserSpecPreemptibleInstanceConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + preemption_actions=preemption_actions, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + preemption_actions: Sequence['outputs.GetTargetAssetsTargetAssetCollectionItemUserSpecPreemptibleInstanceConfigPreemptionActionResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("preemption_actions", preemption_actions) @property @pulumi.getter(name="preemptionActions") @@ -12069,8 +14761,19 @@ def __init__(__self__, *, :param bool preserve_boot_volume: Whether to preserve the boot volume that was used to launch the preemptible instance when the instance is terminated. By default, it is false if not specified. :param str type: The type of action to run when the instance is interrupted for eviction. """ - pulumi.set(__self__, "preserve_boot_volume", preserve_boot_volume) - pulumi.set(__self__, "type", type) + GetTargetAssetsTargetAssetCollectionItemUserSpecPreemptibleInstanceConfigPreemptionActionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + preserve_boot_volume=preserve_boot_volume, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + preserve_boot_volume: bool, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("preserve_boot_volume", preserve_boot_volume) + _setter("type", type) @property @pulumi.getter(name="preserveBootVolume") @@ -12100,9 +14803,22 @@ def __init__(__self__, *, :param float memory_in_gbs: The total amount of memory in gigabytes that is available to the instance. :param float ocpus: The total number of OCPUs available to the instance. """ - pulumi.set(__self__, "baseline_ocpu_utilization", baseline_ocpu_utilization) - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "ocpus", ocpus) + GetTargetAssetsTargetAssetCollectionItemUserSpecShapeConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + baseline_ocpu_utilization=baseline_ocpu_utilization, + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + baseline_ocpu_utilization: str, + memory_in_gbs: float, + ocpus: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("baseline_ocpu_utilization", baseline_ocpu_utilization) + _setter("memory_in_gbs", memory_in_gbs) + _setter("ocpus", ocpus) @property @pulumi.getter(name="baselineOcpuUtilization") @@ -12146,12 +14862,31 @@ def __init__(__self__, *, :param str kms_key_id: The OCID of the key management key to assign as the master encryption key for the boot volume. :param str source_type: The source type for the instance. Use `image` when specifying the image OCID. Use `bootVolume` when specifying the boot volume OCID. """ - pulumi.set(__self__, "boot_volume_id", boot_volume_id) - pulumi.set(__self__, "boot_volume_size_in_gbs", boot_volume_size_in_gbs) - pulumi.set(__self__, "boot_volume_vpus_per_gb", boot_volume_vpus_per_gb) - pulumi.set(__self__, "image_id", image_id) - pulumi.set(__self__, "kms_key_id", kms_key_id) - pulumi.set(__self__, "source_type", source_type) + GetTargetAssetsTargetAssetCollectionItemUserSpecSourceDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + boot_volume_id=boot_volume_id, + boot_volume_size_in_gbs=boot_volume_size_in_gbs, + boot_volume_vpus_per_gb=boot_volume_vpus_per_gb, + image_id=image_id, + kms_key_id=kms_key_id, + source_type=source_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + boot_volume_id: str, + boot_volume_size_in_gbs: str, + boot_volume_vpus_per_gb: str, + image_id: str, + kms_key_id: str, + source_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("boot_volume_id", boot_volume_id) + _setter("boot_volume_size_in_gbs", boot_volume_size_in_gbs) + _setter("boot_volume_vpus_per_gb", boot_volume_vpus_per_gb) + _setter("image_id", image_id) + _setter("kms_key_id", kms_key_id) + _setter("source_type", source_type) @property @pulumi.getter(name="bootVolumeId") diff --git a/sdk/python/pulumi_oci/cloudmigrations/replication_schedule.py b/sdk/python/pulumi_oci/cloudmigrations/replication_schedule.py index 7ae8daaf29..b57e9930b9 100644 --- a/sdk/python/pulumi_oci/cloudmigrations/replication_schedule.py +++ b/sdk/python/pulumi_oci/cloudmigrations/replication_schedule.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['ReplicationScheduleArgs', 'ReplicationSchedule'] @@ -31,13 +31,30 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "execution_recurrences", execution_recurrences) + ReplicationScheduleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + execution_recurrences=execution_recurrences, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + execution_recurrences: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) + _setter("execution_recurrences", execution_recurrences) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="compartmentId") @@ -134,26 +151,53 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The time when the replication schedule was created in RFC3339 format. :param pulumi.Input[str] time_updated: The time when the replication schedule was last updated in RFC3339 format. """ + _ReplicationScheduleState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + execution_recurrences=execution_recurrences, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + execution_recurrences: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if execution_recurrences is not None: - pulumi.set(__self__, "execution_recurrences", execution_recurrences) + _setter("execution_recurrences", execution_recurrences) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -381,6 +425,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ReplicationScheduleArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/cloudmigrations/target_asset.py b/sdk/python/pulumi_oci/cloudmigrations/target_asset.py index b39c6773af..cc01ecf9be 100644 --- a/sdk/python/pulumi_oci/cloudmigrations/target_asset.py +++ b/sdk/python/pulumi_oci/cloudmigrations/target_asset.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -33,15 +33,36 @@ def __init__(__self__, *, :param pulumi.Input[int] block_volumes_performance: (Updatable) Performance of the block volumes. :param pulumi.Input[str] ms_license: (Updatable) Microsoft license for the VM configuration. """ - pulumi.set(__self__, "is_excluded_from_execution", is_excluded_from_execution) - pulumi.set(__self__, "migration_plan_id", migration_plan_id) - pulumi.set(__self__, "preferred_shape_type", preferred_shape_type) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "user_spec", user_spec) + TargetAssetArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_excluded_from_execution=is_excluded_from_execution, + migration_plan_id=migration_plan_id, + preferred_shape_type=preferred_shape_type, + type=type, + user_spec=user_spec, + block_volumes_performance=block_volumes_performance, + ms_license=ms_license, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_excluded_from_execution: pulumi.Input[bool], + migration_plan_id: pulumi.Input[str], + preferred_shape_type: pulumi.Input[str], + type: pulumi.Input[str], + user_spec: pulumi.Input['TargetAssetUserSpecArgs'], + block_volumes_performance: Optional[pulumi.Input[int]] = None, + ms_license: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_excluded_from_execution", is_excluded_from_execution) + _setter("migration_plan_id", migration_plan_id) + _setter("preferred_shape_type", preferred_shape_type) + _setter("type", type) + _setter("user_spec", user_spec) if block_volumes_performance is not None: - pulumi.set(__self__, "block_volumes_performance", block_volumes_performance) + _setter("block_volumes_performance", block_volumes_performance) if ms_license is not None: - pulumi.set(__self__, "ms_license", ms_license) + _setter("ms_license", ms_license) @property @pulumi.getter(name="isExcludedFromExecution") @@ -174,46 +195,93 @@ def __init__(__self__, *, :param pulumi.Input[str] type: (Updatable) The type of action to run when the instance is interrupted for eviction. :param pulumi.Input['TargetAssetUserSpecArgs'] user_spec: (Updatable) Instance launch details. Use the `sourceDetails` parameter to specify whether a boot volume or an image should be used to launch a new instance. """ + _TargetAssetState._configure( + lambda key, value: pulumi.set(__self__, key, value), + block_volumes_performance=block_volumes_performance, + compartment_id=compartment_id, + compatibility_messages=compatibility_messages, + created_resource_id=created_resource_id, + display_name=display_name, + estimated_costs=estimated_costs, + is_excluded_from_execution=is_excluded_from_execution, + lifecycle_details=lifecycle_details, + migration_assets=migration_assets, + migration_plan_id=migration_plan_id, + ms_license=ms_license, + preferred_shape_type=preferred_shape_type, + recommended_specs=recommended_specs, + state=state, + test_specs=test_specs, + time_assessed=time_assessed, + time_created=time_created, + time_updated=time_updated, + type=type, + user_spec=user_spec, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + block_volumes_performance: Optional[pulumi.Input[int]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + compatibility_messages: Optional[pulumi.Input[Sequence[pulumi.Input['TargetAssetCompatibilityMessageArgs']]]] = None, + created_resource_id: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + estimated_costs: Optional[pulumi.Input[Sequence[pulumi.Input['TargetAssetEstimatedCostArgs']]]] = None, + is_excluded_from_execution: Optional[pulumi.Input[bool]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + migration_assets: Optional[pulumi.Input[Sequence[pulumi.Input['TargetAssetMigrationAssetArgs']]]] = None, + migration_plan_id: Optional[pulumi.Input[str]] = None, + ms_license: Optional[pulumi.Input[str]] = None, + preferred_shape_type: Optional[pulumi.Input[str]] = None, + recommended_specs: Optional[pulumi.Input[Sequence[pulumi.Input['TargetAssetRecommendedSpecArgs']]]] = None, + state: Optional[pulumi.Input[str]] = None, + test_specs: Optional[pulumi.Input[Sequence[pulumi.Input['TargetAssetTestSpecArgs']]]] = None, + time_assessed: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + user_spec: Optional[pulumi.Input['TargetAssetUserSpecArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if block_volumes_performance is not None: - pulumi.set(__self__, "block_volumes_performance", block_volumes_performance) + _setter("block_volumes_performance", block_volumes_performance) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if compatibility_messages is not None: - pulumi.set(__self__, "compatibility_messages", compatibility_messages) + _setter("compatibility_messages", compatibility_messages) if created_resource_id is not None: - pulumi.set(__self__, "created_resource_id", created_resource_id) + _setter("created_resource_id", created_resource_id) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if estimated_costs is not None: - pulumi.set(__self__, "estimated_costs", estimated_costs) + _setter("estimated_costs", estimated_costs) if is_excluded_from_execution is not None: - pulumi.set(__self__, "is_excluded_from_execution", is_excluded_from_execution) + _setter("is_excluded_from_execution", is_excluded_from_execution) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if migration_assets is not None: - pulumi.set(__self__, "migration_assets", migration_assets) + _setter("migration_assets", migration_assets) if migration_plan_id is not None: - pulumi.set(__self__, "migration_plan_id", migration_plan_id) + _setter("migration_plan_id", migration_plan_id) if ms_license is not None: - pulumi.set(__self__, "ms_license", ms_license) + _setter("ms_license", ms_license) if preferred_shape_type is not None: - pulumi.set(__self__, "preferred_shape_type", preferred_shape_type) + _setter("preferred_shape_type", preferred_shape_type) if recommended_specs is not None: - pulumi.set(__self__, "recommended_specs", recommended_specs) + _setter("recommended_specs", recommended_specs) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if test_specs is not None: - pulumi.set(__self__, "test_specs", test_specs) + _setter("test_specs", test_specs) if time_assessed is not None: - pulumi.set(__self__, "time_assessed", time_assessed) + _setter("time_assessed", time_assessed) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if user_spec is not None: - pulumi.set(__self__, "user_spec", user_spec) + _setter("user_spec", user_spec) @property @pulumi.getter(name="blockVolumesPerformance") @@ -683,6 +751,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + TargetAssetArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -718,6 +790,11 @@ def _internal_init(__self__, if type is None and not opts.urn: raise TypeError("Missing required property 'type'") __props__.__dict__["type"] = type + if user_spec is not None and not isinstance(user_spec, TargetAssetUserSpecArgs): + user_spec = user_spec or {} + def _setter(key, value): + user_spec[key] = value + TargetAssetUserSpecArgs._configure(_setter, **user_spec) if user_spec is None and not opts.urn: raise TypeError("Missing required property 'user_spec'") __props__.__dict__["user_spec"] = user_spec diff --git a/sdk/python/pulumi_oci/computecloud/__init__.py b/sdk/python/pulumi_oci/computecloud/__init__.py new file mode 100644 index 0000000000..01491b1a51 --- /dev/null +++ b/sdk/python/pulumi_oci/computecloud/__init__.py @@ -0,0 +1,15 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +from .. import _utilities +import typing +# Export this package's modules as members: +from .at_customer_ccc_infrastructure import * +from .at_customer_ccc_upgrade_schedule import * +from .get_at_customer_ccc_infrastructure import * +from .get_at_customer_ccc_infrastructures import * +from .get_at_customer_ccc_upgrade_schedule import * +from .get_at_customer_ccc_upgrade_schedules import * +from ._inputs import * +from . import outputs diff --git a/sdk/python/pulumi_oci/computecloud/_inputs.py b/sdk/python/pulumi_oci/computecloud/_inputs.py new file mode 100644 index 0000000000..ed8e9e3fef --- /dev/null +++ b/sdk/python/pulumi_oci/computecloud/_inputs.py @@ -0,0 +1,927 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from .. import _utilities + +__all__ = [ + 'AtCustomerCccInfrastructureInfrastructureInventoryArgs', + 'AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArgs', + 'AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArgs', + 'AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArgs', + 'AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArgs', + 'AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArgs', + 'AtCustomerCccInfrastructureUpgradeInformationArgs', + 'AtCustomerCccUpgradeScheduleEventArgs', + 'GetAtCustomerCccInfrastructuresFilterArgs', + 'GetAtCustomerCccUpgradeSchedulesFilterArgs', +] + +@pulumi.input_type +class AtCustomerCccInfrastructureInfrastructureInventoryArgs: + def __init__(__self__, *, + capacity_storage_tray_count: Optional[pulumi.Input[int]] = None, + compute_node_count: Optional[pulumi.Input[int]] = None, + management_node_count: Optional[pulumi.Input[int]] = None, + performance_storage_tray_count: Optional[pulumi.Input[int]] = None, + serial_number: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[int] capacity_storage_tray_count: The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for capacity storage. + :param pulumi.Input[int] compute_node_count: The number of compute nodes that are available and usable on the Compute Cloud@Customer infrastructure rack. There is no distinction of compute node type in this information. + :param pulumi.Input[int] management_node_count: The number of management nodes that are available and in active use on the Compute Cloud@Customer infrastructure rack. + :param pulumi.Input[int] performance_storage_tray_count: The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for performance storage. + :param pulumi.Input[str] serial_number: The serial number of the Compute Cloud@Customer infrastructure rack. + """ + AtCustomerCccInfrastructureInfrastructureInventoryArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + capacity_storage_tray_count=capacity_storage_tray_count, + compute_node_count=compute_node_count, + management_node_count=management_node_count, + performance_storage_tray_count=performance_storage_tray_count, + serial_number=serial_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + capacity_storage_tray_count: Optional[pulumi.Input[int]] = None, + compute_node_count: Optional[pulumi.Input[int]] = None, + management_node_count: Optional[pulumi.Input[int]] = None, + performance_storage_tray_count: Optional[pulumi.Input[int]] = None, + serial_number: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if capacity_storage_tray_count is not None: + _setter("capacity_storage_tray_count", capacity_storage_tray_count) + if compute_node_count is not None: + _setter("compute_node_count", compute_node_count) + if management_node_count is not None: + _setter("management_node_count", management_node_count) + if performance_storage_tray_count is not None: + _setter("performance_storage_tray_count", performance_storage_tray_count) + if serial_number is not None: + _setter("serial_number", serial_number) + + @property + @pulumi.getter(name="capacityStorageTrayCount") + def capacity_storage_tray_count(self) -> Optional[pulumi.Input[int]]: + """ + The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for capacity storage. + """ + return pulumi.get(self, "capacity_storage_tray_count") + + @capacity_storage_tray_count.setter + def capacity_storage_tray_count(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "capacity_storage_tray_count", value) + + @property + @pulumi.getter(name="computeNodeCount") + def compute_node_count(self) -> Optional[pulumi.Input[int]]: + """ + The number of compute nodes that are available and usable on the Compute Cloud@Customer infrastructure rack. There is no distinction of compute node type in this information. + """ + return pulumi.get(self, "compute_node_count") + + @compute_node_count.setter + def compute_node_count(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "compute_node_count", value) + + @property + @pulumi.getter(name="managementNodeCount") + def management_node_count(self) -> Optional[pulumi.Input[int]]: + """ + The number of management nodes that are available and in active use on the Compute Cloud@Customer infrastructure rack. + """ + return pulumi.get(self, "management_node_count") + + @management_node_count.setter + def management_node_count(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "management_node_count", value) + + @property + @pulumi.getter(name="performanceStorageTrayCount") + def performance_storage_tray_count(self) -> Optional[pulumi.Input[int]]: + """ + The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for performance storage. + """ + return pulumi.get(self, "performance_storage_tray_count") + + @performance_storage_tray_count.setter + def performance_storage_tray_count(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "performance_storage_tray_count", value) + + @property + @pulumi.getter(name="serialNumber") + def serial_number(self) -> Optional[pulumi.Input[str]]: + """ + The serial number of the Compute Cloud@Customer infrastructure rack. + """ + return pulumi.get(self, "serial_number") + + @serial_number.setter + def serial_number(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "serial_number", value) + + +@pulumi.input_type +class AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArgs: + def __init__(__self__, *, + dns_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + infrastructure_routing_dynamics: Optional[pulumi.Input[Sequence[pulumi.Input['AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArgs']]]] = None, + infrastructure_routing_statics: Optional[pulumi.Input[Sequence[pulumi.Input['AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArgs']]]] = None, + management_nodes: Optional[pulumi.Input[Sequence[pulumi.Input['AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArgs']]]] = None, + mgmt_vip_hostname: Optional[pulumi.Input[str]] = None, + mgmt_vip_ip: Optional[pulumi.Input[str]] = None, + spine_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + spine_vip: Optional[pulumi.Input[str]] = None, + uplink_domain: Optional[pulumi.Input[str]] = None, + uplink_gateway_ip: Optional[pulumi.Input[str]] = None, + uplink_netmask: Optional[pulumi.Input[str]] = None, + uplink_port_count: Optional[pulumi.Input[int]] = None, + uplink_port_forward_error_correction: Optional[pulumi.Input[str]] = None, + uplink_port_speed_in_gbps: Optional[pulumi.Input[int]] = None, + uplink_vlan_mtu: Optional[pulumi.Input[int]] = None): + """ + :param pulumi.Input[Sequence[pulumi.Input[str]]] dns_ips: The domain name system (DNS) addresses that the Compute Cloud@Customer infrastructure uses for the data center network. + :param pulumi.Input[Sequence[pulumi.Input['AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArgs']]] infrastructure_routing_dynamics: Dynamic routing information for the Compute Cloud@Customer infrastructure. + :param pulumi.Input[Sequence[pulumi.Input['AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArgs']]] infrastructure_routing_statics: Static routing information for a rack. + :param pulumi.Input[Sequence[pulumi.Input['AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArgs']]] management_nodes: Information about the management nodes that are provisioned in the Compute Cloud@Customer infrastructure. + :param pulumi.Input[str] mgmt_vip_hostname: The hostname corresponding to the virtual IP (VIP) address of the management nodes. + :param pulumi.Input[str] mgmt_vip_ip: The IP address used as the virtual IP (VIP) address of the management nodes. + :param pulumi.Input[Sequence[pulumi.Input[str]]] spine_ips: Addresses of the network spine switches. + :param pulumi.Input[str] spine_vip: The spine switch public virtual IP (VIP). Traffic routed to the Compute Cloud@Customer infrastructure and and virtual cloud networks (VCNs) should have this address as next hop. + :param pulumi.Input[str] uplink_domain: Domain name to be used as the base domain for the internal network and by public facing services. + :param pulumi.Input[str] uplink_gateway_ip: Uplink gateway in the datacenter network that the Compute Cloud@Customer connects to. + :param pulumi.Input[str] uplink_netmask: Netmask of the subnet that the Compute Cloud@Customer infrastructure is connected to. + :param pulumi.Input[int] uplink_port_count: Number of uplink ports per spine switch. Connectivity is identical on both spine switches. For example, if input is two 100 gigabyte ports; then port-1 and port-2 on both spines will be configured. + :param pulumi.Input[str] uplink_port_forward_error_correction: The port forward error correction (FEC) setting for the uplink port on the Compute Cloud@Customer infrastructure. + :param pulumi.Input[int] uplink_port_speed_in_gbps: Uplink port speed defined in gigabytes per second. All uplink ports must have identical speed. + :param pulumi.Input[int] uplink_vlan_mtu: The virtual local area network (VLAN) maximum transmission unit (MTU) size for the uplink ports. + """ + AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + dns_ips=dns_ips, + infrastructure_routing_dynamics=infrastructure_routing_dynamics, + infrastructure_routing_statics=infrastructure_routing_statics, + management_nodes=management_nodes, + mgmt_vip_hostname=mgmt_vip_hostname, + mgmt_vip_ip=mgmt_vip_ip, + spine_ips=spine_ips, + spine_vip=spine_vip, + uplink_domain=uplink_domain, + uplink_gateway_ip=uplink_gateway_ip, + uplink_netmask=uplink_netmask, + uplink_port_count=uplink_port_count, + uplink_port_forward_error_correction=uplink_port_forward_error_correction, + uplink_port_speed_in_gbps=uplink_port_speed_in_gbps, + uplink_vlan_mtu=uplink_vlan_mtu, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + dns_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + infrastructure_routing_dynamics: Optional[pulumi.Input[Sequence[pulumi.Input['AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArgs']]]] = None, + infrastructure_routing_statics: Optional[pulumi.Input[Sequence[pulumi.Input['AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArgs']]]] = None, + management_nodes: Optional[pulumi.Input[Sequence[pulumi.Input['AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArgs']]]] = None, + mgmt_vip_hostname: Optional[pulumi.Input[str]] = None, + mgmt_vip_ip: Optional[pulumi.Input[str]] = None, + spine_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + spine_vip: Optional[pulumi.Input[str]] = None, + uplink_domain: Optional[pulumi.Input[str]] = None, + uplink_gateway_ip: Optional[pulumi.Input[str]] = None, + uplink_netmask: Optional[pulumi.Input[str]] = None, + uplink_port_count: Optional[pulumi.Input[int]] = None, + uplink_port_forward_error_correction: Optional[pulumi.Input[str]] = None, + uplink_port_speed_in_gbps: Optional[pulumi.Input[int]] = None, + uplink_vlan_mtu: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if dns_ips is not None: + _setter("dns_ips", dns_ips) + if infrastructure_routing_dynamics is not None: + _setter("infrastructure_routing_dynamics", infrastructure_routing_dynamics) + if infrastructure_routing_statics is not None: + _setter("infrastructure_routing_statics", infrastructure_routing_statics) + if management_nodes is not None: + _setter("management_nodes", management_nodes) + if mgmt_vip_hostname is not None: + _setter("mgmt_vip_hostname", mgmt_vip_hostname) + if mgmt_vip_ip is not None: + _setter("mgmt_vip_ip", mgmt_vip_ip) + if spine_ips is not None: + _setter("spine_ips", spine_ips) + if spine_vip is not None: + _setter("spine_vip", spine_vip) + if uplink_domain is not None: + _setter("uplink_domain", uplink_domain) + if uplink_gateway_ip is not None: + _setter("uplink_gateway_ip", uplink_gateway_ip) + if uplink_netmask is not None: + _setter("uplink_netmask", uplink_netmask) + if uplink_port_count is not None: + _setter("uplink_port_count", uplink_port_count) + if uplink_port_forward_error_correction is not None: + _setter("uplink_port_forward_error_correction", uplink_port_forward_error_correction) + if uplink_port_speed_in_gbps is not None: + _setter("uplink_port_speed_in_gbps", uplink_port_speed_in_gbps) + if uplink_vlan_mtu is not None: + _setter("uplink_vlan_mtu", uplink_vlan_mtu) + + @property + @pulumi.getter(name="dnsIps") + def dns_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + The domain name system (DNS) addresses that the Compute Cloud@Customer infrastructure uses for the data center network. + """ + return pulumi.get(self, "dns_ips") + + @dns_ips.setter + def dns_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "dns_ips", value) + + @property + @pulumi.getter(name="infrastructureRoutingDynamics") + def infrastructure_routing_dynamics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArgs']]]]: + """ + Dynamic routing information for the Compute Cloud@Customer infrastructure. + """ + return pulumi.get(self, "infrastructure_routing_dynamics") + + @infrastructure_routing_dynamics.setter + def infrastructure_routing_dynamics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArgs']]]]): + pulumi.set(self, "infrastructure_routing_dynamics", value) + + @property + @pulumi.getter(name="infrastructureRoutingStatics") + def infrastructure_routing_statics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArgs']]]]: + """ + Static routing information for a rack. + """ + return pulumi.get(self, "infrastructure_routing_statics") + + @infrastructure_routing_statics.setter + def infrastructure_routing_statics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArgs']]]]): + pulumi.set(self, "infrastructure_routing_statics", value) + + @property + @pulumi.getter(name="managementNodes") + def management_nodes(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArgs']]]]: + """ + Information about the management nodes that are provisioned in the Compute Cloud@Customer infrastructure. + """ + return pulumi.get(self, "management_nodes") + + @management_nodes.setter + def management_nodes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArgs']]]]): + pulumi.set(self, "management_nodes", value) + + @property + @pulumi.getter(name="mgmtVipHostname") + def mgmt_vip_hostname(self) -> Optional[pulumi.Input[str]]: + """ + The hostname corresponding to the virtual IP (VIP) address of the management nodes. + """ + return pulumi.get(self, "mgmt_vip_hostname") + + @mgmt_vip_hostname.setter + def mgmt_vip_hostname(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "mgmt_vip_hostname", value) + + @property + @pulumi.getter(name="mgmtVipIp") + def mgmt_vip_ip(self) -> Optional[pulumi.Input[str]]: + """ + The IP address used as the virtual IP (VIP) address of the management nodes. + """ + return pulumi.get(self, "mgmt_vip_ip") + + @mgmt_vip_ip.setter + def mgmt_vip_ip(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "mgmt_vip_ip", value) + + @property + @pulumi.getter(name="spineIps") + def spine_ips(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + Addresses of the network spine switches. + """ + return pulumi.get(self, "spine_ips") + + @spine_ips.setter + def spine_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "spine_ips", value) + + @property + @pulumi.getter(name="spineVip") + def spine_vip(self) -> Optional[pulumi.Input[str]]: + """ + The spine switch public virtual IP (VIP). Traffic routed to the Compute Cloud@Customer infrastructure and and virtual cloud networks (VCNs) should have this address as next hop. + """ + return pulumi.get(self, "spine_vip") + + @spine_vip.setter + def spine_vip(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "spine_vip", value) + + @property + @pulumi.getter(name="uplinkDomain") + def uplink_domain(self) -> Optional[pulumi.Input[str]]: + """ + Domain name to be used as the base domain for the internal network and by public facing services. + """ + return pulumi.get(self, "uplink_domain") + + @uplink_domain.setter + def uplink_domain(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "uplink_domain", value) + + @property + @pulumi.getter(name="uplinkGatewayIp") + def uplink_gateway_ip(self) -> Optional[pulumi.Input[str]]: + """ + Uplink gateway in the datacenter network that the Compute Cloud@Customer connects to. + """ + return pulumi.get(self, "uplink_gateway_ip") + + @uplink_gateway_ip.setter + def uplink_gateway_ip(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "uplink_gateway_ip", value) + + @property + @pulumi.getter(name="uplinkNetmask") + def uplink_netmask(self) -> Optional[pulumi.Input[str]]: + """ + Netmask of the subnet that the Compute Cloud@Customer infrastructure is connected to. + """ + return pulumi.get(self, "uplink_netmask") + + @uplink_netmask.setter + def uplink_netmask(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "uplink_netmask", value) + + @property + @pulumi.getter(name="uplinkPortCount") + def uplink_port_count(self) -> Optional[pulumi.Input[int]]: + """ + Number of uplink ports per spine switch. Connectivity is identical on both spine switches. For example, if input is two 100 gigabyte ports; then port-1 and port-2 on both spines will be configured. + """ + return pulumi.get(self, "uplink_port_count") + + @uplink_port_count.setter + def uplink_port_count(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "uplink_port_count", value) + + @property + @pulumi.getter(name="uplinkPortForwardErrorCorrection") + def uplink_port_forward_error_correction(self) -> Optional[pulumi.Input[str]]: + """ + The port forward error correction (FEC) setting for the uplink port on the Compute Cloud@Customer infrastructure. + """ + return pulumi.get(self, "uplink_port_forward_error_correction") + + @uplink_port_forward_error_correction.setter + def uplink_port_forward_error_correction(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "uplink_port_forward_error_correction", value) + + @property + @pulumi.getter(name="uplinkPortSpeedInGbps") + def uplink_port_speed_in_gbps(self) -> Optional[pulumi.Input[int]]: + """ + Uplink port speed defined in gigabytes per second. All uplink ports must have identical speed. + """ + return pulumi.get(self, "uplink_port_speed_in_gbps") + + @uplink_port_speed_in_gbps.setter + def uplink_port_speed_in_gbps(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "uplink_port_speed_in_gbps", value) + + @property + @pulumi.getter(name="uplinkVlanMtu") + def uplink_vlan_mtu(self) -> Optional[pulumi.Input[int]]: + """ + The virtual local area network (VLAN) maximum transmission unit (MTU) size for the uplink ports. + """ + return pulumi.get(self, "uplink_vlan_mtu") + + @uplink_vlan_mtu.setter + def uplink_vlan_mtu(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "uplink_vlan_mtu", value) + + +@pulumi.input_type +class AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArgs: + def __init__(__self__, *, + bgp_topology: Optional[pulumi.Input[str]] = None, + oracle_asn: Optional[pulumi.Input[int]] = None, + peer_informations: Optional[pulumi.Input[Sequence[pulumi.Input['AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArgs']]]] = None): + """ + :param pulumi.Input[str] bgp_topology: The topology in use for the Border Gateway Protocol (BGP) configuration. + :param pulumi.Input[int] oracle_asn: The Oracle Autonomous System Number (ASN) to control routing and exchange information within the dynamic routing configuration. + :param pulumi.Input[Sequence[pulumi.Input['AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArgs']]] peer_informations: The list of peer devices in the dynamic routing configuration. + """ + AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + bgp_topology=bgp_topology, + oracle_asn=oracle_asn, + peer_informations=peer_informations, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bgp_topology: Optional[pulumi.Input[str]] = None, + oracle_asn: Optional[pulumi.Input[int]] = None, + peer_informations: Optional[pulumi.Input[Sequence[pulumi.Input['AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if bgp_topology is not None: + _setter("bgp_topology", bgp_topology) + if oracle_asn is not None: + _setter("oracle_asn", oracle_asn) + if peer_informations is not None: + _setter("peer_informations", peer_informations) + + @property + @pulumi.getter(name="bgpTopology") + def bgp_topology(self) -> Optional[pulumi.Input[str]]: + """ + The topology in use for the Border Gateway Protocol (BGP) configuration. + """ + return pulumi.get(self, "bgp_topology") + + @bgp_topology.setter + def bgp_topology(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "bgp_topology", value) + + @property + @pulumi.getter(name="oracleAsn") + def oracle_asn(self) -> Optional[pulumi.Input[int]]: + """ + The Oracle Autonomous System Number (ASN) to control routing and exchange information within the dynamic routing configuration. + """ + return pulumi.get(self, "oracle_asn") + + @oracle_asn.setter + def oracle_asn(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "oracle_asn", value) + + @property + @pulumi.getter(name="peerInformations") + def peer_informations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArgs']]]]: + """ + The list of peer devices in the dynamic routing configuration. + """ + return pulumi.get(self, "peer_informations") + + @peer_informations.setter + def peer_informations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArgs']]]]): + pulumi.set(self, "peer_informations", value) + + +@pulumi.input_type +class AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArgs: + def __init__(__self__, *, + asn: Optional[pulumi.Input[int]] = None, + ip: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[int] asn: The Autonomous System Number (ASN) of the peer network. + :param pulumi.Input[str] ip: Address of the management node. + """ + AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + asn=asn, + ip=ip, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + asn: Optional[pulumi.Input[int]] = None, + ip: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if asn is not None: + _setter("asn", asn) + if ip is not None: + _setter("ip", ip) + + @property + @pulumi.getter + def asn(self) -> Optional[pulumi.Input[int]]: + """ + The Autonomous System Number (ASN) of the peer network. + """ + return pulumi.get(self, "asn") + + @asn.setter + def asn(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "asn", value) + + @property + @pulumi.getter + def ip(self) -> Optional[pulumi.Input[str]]: + """ + Address of the management node. + """ + return pulumi.get(self, "ip") + + @ip.setter + def ip(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "ip", value) + + +@pulumi.input_type +class AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArgs: + def __init__(__self__, *, + uplink_hsrp_group: Optional[pulumi.Input[int]] = None, + uplink_vlan: Optional[pulumi.Input[int]] = None): + """ + :param pulumi.Input[int] uplink_hsrp_group: The uplink Hot Standby Router Protocol (HSRP) group value for the switch in the Compute Cloud@Customer infrastructure. + :param pulumi.Input[int] uplink_vlan: The virtual local area network (VLAN) identifier used to connect to the uplink (only access mode is supported). + """ + AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + uplink_hsrp_group=uplink_hsrp_group, + uplink_vlan=uplink_vlan, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + uplink_hsrp_group: Optional[pulumi.Input[int]] = None, + uplink_vlan: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if uplink_hsrp_group is not None: + _setter("uplink_hsrp_group", uplink_hsrp_group) + if uplink_vlan is not None: + _setter("uplink_vlan", uplink_vlan) + + @property + @pulumi.getter(name="uplinkHsrpGroup") + def uplink_hsrp_group(self) -> Optional[pulumi.Input[int]]: + """ + The uplink Hot Standby Router Protocol (HSRP) group value for the switch in the Compute Cloud@Customer infrastructure. + """ + return pulumi.get(self, "uplink_hsrp_group") + + @uplink_hsrp_group.setter + def uplink_hsrp_group(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "uplink_hsrp_group", value) + + @property + @pulumi.getter(name="uplinkVlan") + def uplink_vlan(self) -> Optional[pulumi.Input[int]]: + """ + The virtual local area network (VLAN) identifier used to connect to the uplink (only access mode is supported). + """ + return pulumi.get(self, "uplink_vlan") + + @uplink_vlan.setter + def uplink_vlan(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "uplink_vlan", value) + + +@pulumi.input_type +class AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArgs: + def __init__(__self__, *, + hostname: Optional[pulumi.Input[str]] = None, + ip: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] hostname: Hostname for interface to the management node. + :param pulumi.Input[str] ip: Address of the management node. + """ + AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + hostname=hostname, + ip=ip, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hostname: Optional[pulumi.Input[str]] = None, + ip: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if hostname is not None: + _setter("hostname", hostname) + if ip is not None: + _setter("ip", ip) + + @property + @pulumi.getter + def hostname(self) -> Optional[pulumi.Input[str]]: + """ + Hostname for interface to the management node. + """ + return pulumi.get(self, "hostname") + + @hostname.setter + def hostname(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "hostname", value) + + @property + @pulumi.getter + def ip(self) -> Optional[pulumi.Input[str]]: + """ + Address of the management node. + """ + return pulumi.get(self, "ip") + + @ip.setter + def ip(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "ip", value) + + +@pulumi.input_type +class AtCustomerCccInfrastructureUpgradeInformationArgs: + def __init__(__self__, *, + current_version: Optional[pulumi.Input[str]] = None, + is_active: Optional[pulumi.Input[bool]] = None, + scheduled_upgrade_duration: Optional[pulumi.Input[str]] = None, + time_of_scheduled_upgrade: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] current_version: The current version of software installed on the Compute Cloud@Customer infrastructure. + :param pulumi.Input[bool] is_active: Indication that the Compute Cloud@Customer infrastructure is in the process of an upgrade or an upgrade activity (such as preloading upgrade images). + :param pulumi.Input[str] scheduled_upgrade_duration: Expected duration of Compute Cloud@Customer infrastructure scheduled upgrade. The actual upgrade time might be longer or shorter than this duration depending on rack activity, this is only an estimate. + :param pulumi.Input[str] time_of_scheduled_upgrade: Compute Cloud@Customer infrastructure next upgrade time. The rack might have performance impacts during this time. + """ + AtCustomerCccInfrastructureUpgradeInformationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + current_version=current_version, + is_active=is_active, + scheduled_upgrade_duration=scheduled_upgrade_duration, + time_of_scheduled_upgrade=time_of_scheduled_upgrade, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + current_version: Optional[pulumi.Input[str]] = None, + is_active: Optional[pulumi.Input[bool]] = None, + scheduled_upgrade_duration: Optional[pulumi.Input[str]] = None, + time_of_scheduled_upgrade: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if current_version is not None: + _setter("current_version", current_version) + if is_active is not None: + _setter("is_active", is_active) + if scheduled_upgrade_duration is not None: + _setter("scheduled_upgrade_duration", scheduled_upgrade_duration) + if time_of_scheduled_upgrade is not None: + _setter("time_of_scheduled_upgrade", time_of_scheduled_upgrade) + + @property + @pulumi.getter(name="currentVersion") + def current_version(self) -> Optional[pulumi.Input[str]]: + """ + The current version of software installed on the Compute Cloud@Customer infrastructure. + """ + return pulumi.get(self, "current_version") + + @current_version.setter + def current_version(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "current_version", value) + + @property + @pulumi.getter(name="isActive") + def is_active(self) -> Optional[pulumi.Input[bool]]: + """ + Indication that the Compute Cloud@Customer infrastructure is in the process of an upgrade or an upgrade activity (such as preloading upgrade images). + """ + return pulumi.get(self, "is_active") + + @is_active.setter + def is_active(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_active", value) + + @property + @pulumi.getter(name="scheduledUpgradeDuration") + def scheduled_upgrade_duration(self) -> Optional[pulumi.Input[str]]: + """ + Expected duration of Compute Cloud@Customer infrastructure scheduled upgrade. The actual upgrade time might be longer or shorter than this duration depending on rack activity, this is only an estimate. + """ + return pulumi.get(self, "scheduled_upgrade_duration") + + @scheduled_upgrade_duration.setter + def scheduled_upgrade_duration(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "scheduled_upgrade_duration", value) + + @property + @pulumi.getter(name="timeOfScheduledUpgrade") + def time_of_scheduled_upgrade(self) -> Optional[pulumi.Input[str]]: + """ + Compute Cloud@Customer infrastructure next upgrade time. The rack might have performance impacts during this time. + """ + return pulumi.get(self, "time_of_scheduled_upgrade") + + @time_of_scheduled_upgrade.setter + def time_of_scheduled_upgrade(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "time_of_scheduled_upgrade", value) + + +@pulumi.input_type +class AtCustomerCccUpgradeScheduleEventArgs: + def __init__(__self__, *, + description: pulumi.Input[str], + schedule_event_duration: pulumi.Input[str], + time_start: pulumi.Input[str], + name: Optional[pulumi.Input[str]] = None, + schedule_event_recurrences: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] description: (Updatable) A description of the Compute Cloud@Customer upgrade schedule time block. + :param pulumi.Input[str] schedule_event_duration: (Updatable) The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations. + :param pulumi.Input[str] time_start: (Updatable) The date and time when the Compute Cloud@Customer upgrade schedule event starts, inclusive. An RFC3339 formatted UTC datetime string. For an event with recurrences, this is the date that a recurrence can start being applied. + :param pulumi.Input[str] name: Generated name associated with the event. + :param pulumi.Input[str] schedule_event_recurrences: (Updatable) Frequency of recurrence of schedule block. When this field is not included, the event is assumed to be a one time occurrence. The frequency field is strictly parsed and must conform to RFC-5545 formatting for recurrences. + """ + AtCustomerCccUpgradeScheduleEventArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + schedule_event_duration=schedule_event_duration, + time_start=time_start, + name=name, + schedule_event_recurrences=schedule_event_recurrences, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: pulumi.Input[str], + schedule_event_duration: pulumi.Input[str], + time_start: pulumi.Input[str], + name: Optional[pulumi.Input[str]] = None, + schedule_event_recurrences: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("schedule_event_duration", schedule_event_duration) + _setter("time_start", time_start) + if name is not None: + _setter("name", name) + if schedule_event_recurrences is not None: + _setter("schedule_event_recurrences", schedule_event_recurrences) + + @property + @pulumi.getter + def description(self) -> pulumi.Input[str]: + """ + (Updatable) A description of the Compute Cloud@Customer upgrade schedule time block. + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: pulumi.Input[str]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter(name="scheduleEventDuration") + def schedule_event_duration(self) -> pulumi.Input[str]: + """ + (Updatable) The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations. + """ + return pulumi.get(self, "schedule_event_duration") + + @schedule_event_duration.setter + def schedule_event_duration(self, value: pulumi.Input[str]): + pulumi.set(self, "schedule_event_duration", value) + + @property + @pulumi.getter(name="timeStart") + def time_start(self) -> pulumi.Input[str]: + """ + (Updatable) The date and time when the Compute Cloud@Customer upgrade schedule event starts, inclusive. An RFC3339 formatted UTC datetime string. For an event with recurrences, this is the date that a recurrence can start being applied. + """ + return pulumi.get(self, "time_start") + + @time_start.setter + def time_start(self, value: pulumi.Input[str]): + pulumi.set(self, "time_start", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + Generated name associated with the event. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter(name="scheduleEventRecurrences") + def schedule_event_recurrences(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) Frequency of recurrence of schedule block. When this field is not included, the event is assumed to be a one time occurrence. The frequency field is strictly parsed and must conform to RFC-5545 formatting for recurrences. + """ + return pulumi.get(self, "schedule_event_recurrences") + + @schedule_event_recurrences.setter + def schedule_event_recurrences(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "schedule_event_recurrences", value) + + +@pulumi.input_type +class GetAtCustomerCccInfrastructuresFilterArgs: + def __init__(__self__, *, + name: str, + values: Sequence[str], + regex: Optional[bool] = None): + GetAtCustomerCccInfrastructuresFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) + if regex is not None: + _setter("regex", regex) + + @property + @pulumi.getter + def name(self) -> str: + return pulumi.get(self, "name") + + @name.setter + def name(self, value: str): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def values(self) -> Sequence[str]: + return pulumi.get(self, "values") + + @values.setter + def values(self, value: Sequence[str]): + pulumi.set(self, "values", value) + + @property + @pulumi.getter + def regex(self) -> Optional[bool]: + return pulumi.get(self, "regex") + + @regex.setter + def regex(self, value: Optional[bool]): + pulumi.set(self, "regex", value) + + +@pulumi.input_type +class GetAtCustomerCccUpgradeSchedulesFilterArgs: + def __init__(__self__, *, + name: str, + values: Sequence[str], + regex: Optional[bool] = None): + """ + :param str name: Generated name associated with the event. + """ + GetAtCustomerCccUpgradeSchedulesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) + if regex is not None: + _setter("regex", regex) + + @property + @pulumi.getter + def name(self) -> str: + """ + Generated name associated with the event. + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: str): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def values(self) -> Sequence[str]: + return pulumi.get(self, "values") + + @values.setter + def values(self, value: Sequence[str]): + pulumi.set(self, "values", value) + + @property + @pulumi.getter + def regex(self) -> Optional[bool]: + return pulumi.get(self, "regex") + + @regex.setter + def regex(self, value: Optional[bool]): + pulumi.set(self, "regex", value) + + diff --git a/sdk/python/pulumi_oci/computecloud/at_customer_ccc_infrastructure.py b/sdk/python/pulumi_oci/computecloud/at_customer_ccc_infrastructure.py new file mode 100644 index 0000000000..d676e86484 --- /dev/null +++ b/sdk/python/pulumi_oci/computecloud/at_customer_ccc_infrastructure.py @@ -0,0 +1,1004 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['AtCustomerCccInfrastructureArgs', 'AtCustomerCccInfrastructure'] + +@pulumi.input_type +class AtCustomerCccInfrastructureArgs: + def __init__(__self__, *, + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + subnet_id: pulumi.Input[str], + ccc_upgrade_schedule_id: Optional[pulumi.Input[str]] = None, + connection_details: Optional[pulumi.Input[str]] = None, + connection_state: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None): + """ + The set of arguments for constructing a AtCustomerCccInfrastructure resource. + :param pulumi.Input[str] compartment_id: (Updatable) The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with the infrastructure. + :param pulumi.Input[str] display_name: (Updatable) The name that will be used to display the Compute Cloud@Customer infrastructure in the Oracle Cloud Infrastructure console. Does not have to be unique and can be changed. Avoid entering confidential information. + :param pulumi.Input[str] subnet_id: (Updatable) Identifier for network subnet that will be used to communicate with Compute Cloud@Customer infrastructure. + + + ** 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 + :param pulumi.Input[str] ccc_upgrade_schedule_id: (Updatable) Schedule used for upgrades. If no schedule is associated with the infrastructure, it can be upgraded at any time. + :param pulumi.Input[str] connection_details: (Updatable) A message describing the current connection state in more detail. + :param pulumi.Input[str] connection_state: (Updatable) The current connection state of the Compute Cloud@Customer infrastructure. This value will default to REJECT if the value is not provided. The only valid value at creation time is REJECT. + :param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + :param pulumi.Input[str] description: (Updatable) A mutable client-meaningful text description of the Compute Cloud@Customer infrastructure. Avoid entering confidential information. + :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + """ + AtCustomerCccInfrastructureArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + subnet_id=subnet_id, + ccc_upgrade_schedule_id=ccc_upgrade_schedule_id, + connection_details=connection_details, + connection_state=connection_state, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + subnet_id: pulumi.Input[str], + ccc_upgrade_schedule_id: Optional[pulumi.Input[str]] = None, + connection_details: Optional[pulumi.Input[str]] = None, + connection_state: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) + _setter("subnet_id", subnet_id) + if ccc_upgrade_schedule_id is not None: + _setter("ccc_upgrade_schedule_id", ccc_upgrade_schedule_id) + if connection_details is not None: + _setter("connection_details", connection_details) + if connection_state is not None: + _setter("connection_state", connection_state) + if defined_tags is not None: + _setter("defined_tags", defined_tags) + if description is not None: + _setter("description", description) + if freeform_tags is not None: + _setter("freeform_tags", freeform_tags) + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> pulumi.Input[str]: + """ + (Updatable) The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with the infrastructure. + """ + return pulumi.get(self, "compartment_id") + + @compartment_id.setter + def compartment_id(self, value: pulumi.Input[str]): + pulumi.set(self, "compartment_id", value) + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> pulumi.Input[str]: + """ + (Updatable) The name that will be used to display the Compute Cloud@Customer infrastructure in the Oracle Cloud Infrastructure console. Does not have to be unique and can be changed. Avoid entering confidential information. + """ + return pulumi.get(self, "display_name") + + @display_name.setter + def display_name(self, value: pulumi.Input[str]): + pulumi.set(self, "display_name", value) + + @property + @pulumi.getter(name="subnetId") + def subnet_id(self) -> pulumi.Input[str]: + """ + (Updatable) Identifier for network subnet that will be used to communicate with Compute Cloud@Customer infrastructure. + + + ** 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 + """ + return pulumi.get(self, "subnet_id") + + @subnet_id.setter + def subnet_id(self, value: pulumi.Input[str]): + pulumi.set(self, "subnet_id", value) + + @property + @pulumi.getter(name="cccUpgradeScheduleId") + def ccc_upgrade_schedule_id(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) Schedule used for upgrades. If no schedule is associated with the infrastructure, it can be upgraded at any time. + """ + return pulumi.get(self, "ccc_upgrade_schedule_id") + + @ccc_upgrade_schedule_id.setter + def ccc_upgrade_schedule_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "ccc_upgrade_schedule_id", value) + + @property + @pulumi.getter(name="connectionDetails") + def connection_details(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) A message describing the current connection state in more detail. + """ + return pulumi.get(self, "connection_details") + + @connection_details.setter + def connection_details(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "connection_details", value) + + @property + @pulumi.getter(name="connectionState") + def connection_state(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) The current connection state of the Compute Cloud@Customer infrastructure. This value will default to REJECT if the value is not provided. The only valid value at creation time is REJECT. + """ + return pulumi.get(self, "connection_state") + + @connection_state.setter + def connection_state(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "connection_state", value) + + @property + @pulumi.getter(name="definedTags") + def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + """ + (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + """ + return pulumi.get(self, "defined_tags") + + @defined_tags.setter + def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + pulumi.set(self, "defined_tags", value) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) A mutable client-meaningful text description of the Compute Cloud@Customer infrastructure. Avoid entering confidential information. + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter(name="freeformTags") + def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + """ + (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + """ + return pulumi.get(self, "freeform_tags") + + @freeform_tags.setter + def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + pulumi.set(self, "freeform_tags", value) + + +@pulumi.input_type +class _AtCustomerCccInfrastructureState: + def __init__(__self__, *, + ccc_upgrade_schedule_id: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + connection_details: Optional[pulumi.Input[str]] = None, + connection_state: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + infrastructure_inventories: Optional[pulumi.Input[Sequence[pulumi.Input['AtCustomerCccInfrastructureInfrastructureInventoryArgs']]]] = None, + infrastructure_network_configurations: Optional[pulumi.Input[Sequence[pulumi.Input['AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArgs']]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + provisioning_fingerprint: Optional[pulumi.Input[str]] = None, + provisioning_pin: Optional[pulumi.Input[str]] = None, + short_name: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + upgrade_informations: Optional[pulumi.Input[Sequence[pulumi.Input['AtCustomerCccInfrastructureUpgradeInformationArgs']]]] = None): + """ + Input properties used for looking up and filtering AtCustomerCccInfrastructure resources. + :param pulumi.Input[str] ccc_upgrade_schedule_id: (Updatable) Schedule used for upgrades. If no schedule is associated with the infrastructure, it can be upgraded at any time. + :param pulumi.Input[str] compartment_id: (Updatable) The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with the infrastructure. + :param pulumi.Input[str] connection_details: (Updatable) A message describing the current connection state in more detail. + :param pulumi.Input[str] connection_state: (Updatable) The current connection state of the Compute Cloud@Customer infrastructure. This value will default to REJECT if the value is not provided. The only valid value at creation time is REJECT. + :param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + :param pulumi.Input[str] description: (Updatable) A mutable client-meaningful text description of the Compute Cloud@Customer infrastructure. Avoid entering confidential information. + :param pulumi.Input[str] display_name: (Updatable) The name that will be used to display the Compute Cloud@Customer infrastructure in the Oracle Cloud Infrastructure console. Does not have to be unique and can be changed. Avoid entering confidential information. + :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + :param pulumi.Input[Sequence[pulumi.Input['AtCustomerCccInfrastructureInfrastructureInventoryArgs']]] infrastructure_inventories: Inventory for a Compute Cloud@Customer infrastructure. This information cannot be updated and is from the infrastructure. The information will only be available after the connectionState is transitioned to CONNECTED. + :param pulumi.Input[Sequence[pulumi.Input['AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArgs']]] infrastructure_network_configurations: Configuration information for the Compute Cloud@Customer infrastructure. This network configuration information cannot be updated and is retrieved from the data center. The information will only be available after the connectionState is transitioned to CONNECTED. + :param pulumi.Input[str] lifecycle_details: A message describing the current lifecycle state in more detail. For example, this can be used to provide actionable information for a resource that is in a Failed state. + :param pulumi.Input[str] provisioning_fingerprint: Fingerprint of a Compute Cloud@Customer infrastructure in a data center generated during the initial connection to this resource. The fingerprint should be verified by the administrator when changing the connectionState from REQUEST to READY. + :param pulumi.Input[str] provisioning_pin: Code that is required for service personnel to connect a Compute Cloud@Customer infrastructure in a data center to this resource. This code will only be available when the connectionState is REJECT (usually at create time of the Compute Cloud@Customer infrastructure). + :param pulumi.Input[str] short_name: The Compute Cloud@Customer infrastructure short name. This cannot be changed once created. The short name is used to refer to the infrastructure in several contexts and is unique. + :param pulumi.Input[str] state: The current state of the Compute Cloud@Customer infrastructure. + :param pulumi.Input[str] subnet_id: (Updatable) Identifier for network subnet that will be used to communicate with Compute Cloud@Customer infrastructure. + + + ** 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 + :param pulumi.Input[Mapping[str, Any]] system_tags: System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + :param pulumi.Input[str] time_created: Compute Cloud@Customer infrastructure creation date and time, using an RFC3339 formatted datetime string. + :param pulumi.Input[str] time_updated: Compute Cloud@Customer infrastructure updated date and time, using an RFC3339 formatted datetime string. + :param pulumi.Input[Sequence[pulumi.Input['AtCustomerCccInfrastructureUpgradeInformationArgs']]] upgrade_informations: Upgrade information that relates to a Compute Cloud@Customer infrastructure. This information cannot be updated. + """ + _AtCustomerCccInfrastructureState._configure( + lambda key, value: pulumi.set(__self__, key, value), + ccc_upgrade_schedule_id=ccc_upgrade_schedule_id, + compartment_id=compartment_id, + connection_details=connection_details, + connection_state=connection_state, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + infrastructure_inventories=infrastructure_inventories, + infrastructure_network_configurations=infrastructure_network_configurations, + lifecycle_details=lifecycle_details, + provisioning_fingerprint=provisioning_fingerprint, + provisioning_pin=provisioning_pin, + short_name=short_name, + state=state, + subnet_id=subnet_id, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + upgrade_informations=upgrade_informations, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ccc_upgrade_schedule_id: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + connection_details: Optional[pulumi.Input[str]] = None, + connection_state: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + infrastructure_inventories: Optional[pulumi.Input[Sequence[pulumi.Input['AtCustomerCccInfrastructureInfrastructureInventoryArgs']]]] = None, + infrastructure_network_configurations: Optional[pulumi.Input[Sequence[pulumi.Input['AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArgs']]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + provisioning_fingerprint: Optional[pulumi.Input[str]] = None, + provisioning_pin: Optional[pulumi.Input[str]] = None, + short_name: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + upgrade_informations: Optional[pulumi.Input[Sequence[pulumi.Input['AtCustomerCccInfrastructureUpgradeInformationArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if ccc_upgrade_schedule_id is not None: + _setter("ccc_upgrade_schedule_id", ccc_upgrade_schedule_id) + if compartment_id is not None: + _setter("compartment_id", compartment_id) + if connection_details is not None: + _setter("connection_details", connection_details) + if connection_state is not None: + _setter("connection_state", connection_state) + if defined_tags is not None: + _setter("defined_tags", defined_tags) + if description is not None: + _setter("description", description) + if display_name is not None: + _setter("display_name", display_name) + if freeform_tags is not None: + _setter("freeform_tags", freeform_tags) + if infrastructure_inventories is not None: + _setter("infrastructure_inventories", infrastructure_inventories) + if infrastructure_network_configurations is not None: + _setter("infrastructure_network_configurations", infrastructure_network_configurations) + if lifecycle_details is not None: + _setter("lifecycle_details", lifecycle_details) + if provisioning_fingerprint is not None: + _setter("provisioning_fingerprint", provisioning_fingerprint) + if provisioning_pin is not None: + _setter("provisioning_pin", provisioning_pin) + if short_name is not None: + _setter("short_name", short_name) + if state is not None: + _setter("state", state) + if subnet_id is not None: + _setter("subnet_id", subnet_id) + if system_tags is not None: + _setter("system_tags", system_tags) + if time_created is not None: + _setter("time_created", time_created) + if time_updated is not None: + _setter("time_updated", time_updated) + if upgrade_informations is not None: + _setter("upgrade_informations", upgrade_informations) + + @property + @pulumi.getter(name="cccUpgradeScheduleId") + def ccc_upgrade_schedule_id(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) Schedule used for upgrades. If no schedule is associated with the infrastructure, it can be upgraded at any time. + """ + return pulumi.get(self, "ccc_upgrade_schedule_id") + + @ccc_upgrade_schedule_id.setter + def ccc_upgrade_schedule_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "ccc_upgrade_schedule_id", value) + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with the infrastructure. + """ + return pulumi.get(self, "compartment_id") + + @compartment_id.setter + def compartment_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "compartment_id", value) + + @property + @pulumi.getter(name="connectionDetails") + def connection_details(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) A message describing the current connection state in more detail. + """ + return pulumi.get(self, "connection_details") + + @connection_details.setter + def connection_details(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "connection_details", value) + + @property + @pulumi.getter(name="connectionState") + def connection_state(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) The current connection state of the Compute Cloud@Customer infrastructure. This value will default to REJECT if the value is not provided. The only valid value at creation time is REJECT. + """ + return pulumi.get(self, "connection_state") + + @connection_state.setter + def connection_state(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "connection_state", value) + + @property + @pulumi.getter(name="definedTags") + def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + """ + (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + """ + return pulumi.get(self, "defined_tags") + + @defined_tags.setter + def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + pulumi.set(self, "defined_tags", value) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) A mutable client-meaningful text description of the Compute Cloud@Customer infrastructure. Avoid entering confidential information. + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) The name that will be used to display the Compute Cloud@Customer infrastructure in the Oracle Cloud Infrastructure console. Does not have to be unique and can be changed. Avoid entering confidential information. + """ + return pulumi.get(self, "display_name") + + @display_name.setter + def display_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "display_name", value) + + @property + @pulumi.getter(name="freeformTags") + def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + """ + (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + """ + return pulumi.get(self, "freeform_tags") + + @freeform_tags.setter + def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + pulumi.set(self, "freeform_tags", value) + + @property + @pulumi.getter(name="infrastructureInventories") + def infrastructure_inventories(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AtCustomerCccInfrastructureInfrastructureInventoryArgs']]]]: + """ + Inventory for a Compute Cloud@Customer infrastructure. This information cannot be updated and is from the infrastructure. The information will only be available after the connectionState is transitioned to CONNECTED. + """ + return pulumi.get(self, "infrastructure_inventories") + + @infrastructure_inventories.setter + def infrastructure_inventories(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AtCustomerCccInfrastructureInfrastructureInventoryArgs']]]]): + pulumi.set(self, "infrastructure_inventories", value) + + @property + @pulumi.getter(name="infrastructureNetworkConfigurations") + def infrastructure_network_configurations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArgs']]]]: + """ + Configuration information for the Compute Cloud@Customer infrastructure. This network configuration information cannot be updated and is retrieved from the data center. The information will only be available after the connectionState is transitioned to CONNECTED. + """ + return pulumi.get(self, "infrastructure_network_configurations") + + @infrastructure_network_configurations.setter + def infrastructure_network_configurations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArgs']]]]): + pulumi.set(self, "infrastructure_network_configurations", value) + + @property + @pulumi.getter(name="lifecycleDetails") + def lifecycle_details(self) -> Optional[pulumi.Input[str]]: + """ + A message describing the current lifecycle state in more detail. For example, this can be used to provide actionable information for a resource that is in a Failed state. + """ + return pulumi.get(self, "lifecycle_details") + + @lifecycle_details.setter + def lifecycle_details(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "lifecycle_details", value) + + @property + @pulumi.getter(name="provisioningFingerprint") + def provisioning_fingerprint(self) -> Optional[pulumi.Input[str]]: + """ + Fingerprint of a Compute Cloud@Customer infrastructure in a data center generated during the initial connection to this resource. The fingerprint should be verified by the administrator when changing the connectionState from REQUEST to READY. + """ + return pulumi.get(self, "provisioning_fingerprint") + + @provisioning_fingerprint.setter + def provisioning_fingerprint(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "provisioning_fingerprint", value) + + @property + @pulumi.getter(name="provisioningPin") + def provisioning_pin(self) -> Optional[pulumi.Input[str]]: + """ + Code that is required for service personnel to connect a Compute Cloud@Customer infrastructure in a data center to this resource. This code will only be available when the connectionState is REJECT (usually at create time of the Compute Cloud@Customer infrastructure). + """ + return pulumi.get(self, "provisioning_pin") + + @provisioning_pin.setter + def provisioning_pin(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "provisioning_pin", value) + + @property + @pulumi.getter(name="shortName") + def short_name(self) -> Optional[pulumi.Input[str]]: + """ + The Compute Cloud@Customer infrastructure short name. This cannot be changed once created. The short name is used to refer to the infrastructure in several contexts and is unique. + """ + return pulumi.get(self, "short_name") + + @short_name.setter + def short_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "short_name", value) + + @property + @pulumi.getter + def state(self) -> Optional[pulumi.Input[str]]: + """ + The current state of the Compute Cloud@Customer infrastructure. + """ + return pulumi.get(self, "state") + + @state.setter + def state(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "state", value) + + @property + @pulumi.getter(name="subnetId") + def subnet_id(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) Identifier for network subnet that will be used to communicate with Compute Cloud@Customer infrastructure. + + + ** 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 + """ + return pulumi.get(self, "subnet_id") + + @subnet_id.setter + def subnet_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "subnet_id", value) + + @property + @pulumi.getter(name="systemTags") + def system_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + """ + System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + """ + return pulumi.get(self, "system_tags") + + @system_tags.setter + def system_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + pulumi.set(self, "system_tags", value) + + @property + @pulumi.getter(name="timeCreated") + def time_created(self) -> Optional[pulumi.Input[str]]: + """ + Compute Cloud@Customer infrastructure creation date and time, using an RFC3339 formatted datetime string. + """ + return pulumi.get(self, "time_created") + + @time_created.setter + def time_created(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "time_created", value) + + @property + @pulumi.getter(name="timeUpdated") + def time_updated(self) -> Optional[pulumi.Input[str]]: + """ + Compute Cloud@Customer infrastructure updated date and time, using an RFC3339 formatted datetime string. + """ + return pulumi.get(self, "time_updated") + + @time_updated.setter + def time_updated(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "time_updated", value) + + @property + @pulumi.getter(name="upgradeInformations") + def upgrade_informations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AtCustomerCccInfrastructureUpgradeInformationArgs']]]]: + """ + Upgrade information that relates to a Compute Cloud@Customer infrastructure. This information cannot be updated. + """ + return pulumi.get(self, "upgrade_informations") + + @upgrade_informations.setter + def upgrade_informations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AtCustomerCccInfrastructureUpgradeInformationArgs']]]]): + pulumi.set(self, "upgrade_informations", value) + + +class AtCustomerCccInfrastructure(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + ccc_upgrade_schedule_id: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + connection_details: Optional[pulumi.Input[str]] = None, + connection_state: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + This resource provides the Ccc Infrastructure resource in Oracle Cloud Infrastructure Compute Cloud At Customer service. + + Creates a Compute Cloud@Customer infrastructure. Once created, Oracle Services + must connect the rack in the data center to this Oracle Cloud Infrastructure resource. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_ccc_infrastructure = oci.compute_cloud.AtCustomerCccInfrastructure("testCccInfrastructure", + compartment_id=var["compartment_id"], + display_name=var["ccc_infrastructure_display_name"], + subnet_id=oci_core_subnet["test_subnet"]["id"], + ccc_upgrade_schedule_id=oci_compute_cloud_at_customer_ccc_upgrade_schedule["test_ccc_upgrade_schedule"]["id"], + connection_details=var["ccc_infrastructure_connection_details"], + connection_state=var["ccc_infrastructure_connection_state"], + defined_tags={ + "foo-namespace.bar-key": "value", + }, + description=var["ccc_infrastructure_description"], + freeform_tags={ + "bar-key": "value", + }) + ``` + + ## Import + + CccInfrastructures can be imported using the `id`, e.g. + + ```sh + $ pulumi import oci:ComputeCloud/atCustomerCccInfrastructure:AtCustomerCccInfrastructure test_ccc_infrastructure "id" + ``` + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] ccc_upgrade_schedule_id: (Updatable) Schedule used for upgrades. If no schedule is associated with the infrastructure, it can be upgraded at any time. + :param pulumi.Input[str] compartment_id: (Updatable) The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with the infrastructure. + :param pulumi.Input[str] connection_details: (Updatable) A message describing the current connection state in more detail. + :param pulumi.Input[str] connection_state: (Updatable) The current connection state of the Compute Cloud@Customer infrastructure. This value will default to REJECT if the value is not provided. The only valid value at creation time is REJECT. + :param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + :param pulumi.Input[str] description: (Updatable) A mutable client-meaningful text description of the Compute Cloud@Customer infrastructure. Avoid entering confidential information. + :param pulumi.Input[str] display_name: (Updatable) The name that will be used to display the Compute Cloud@Customer infrastructure in the Oracle Cloud Infrastructure console. Does not have to be unique and can be changed. Avoid entering confidential information. + :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + :param pulumi.Input[str] subnet_id: (Updatable) Identifier for network subnet that will be used to communicate with Compute Cloud@Customer infrastructure. + + + ** 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 + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: AtCustomerCccInfrastructureArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + This resource provides the Ccc Infrastructure resource in Oracle Cloud Infrastructure Compute Cloud At Customer service. + + Creates a Compute Cloud@Customer infrastructure. Once created, Oracle Services + must connect the rack in the data center to this Oracle Cloud Infrastructure resource. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_ccc_infrastructure = oci.compute_cloud.AtCustomerCccInfrastructure("testCccInfrastructure", + compartment_id=var["compartment_id"], + display_name=var["ccc_infrastructure_display_name"], + subnet_id=oci_core_subnet["test_subnet"]["id"], + ccc_upgrade_schedule_id=oci_compute_cloud_at_customer_ccc_upgrade_schedule["test_ccc_upgrade_schedule"]["id"], + connection_details=var["ccc_infrastructure_connection_details"], + connection_state=var["ccc_infrastructure_connection_state"], + defined_tags={ + "foo-namespace.bar-key": "value", + }, + description=var["ccc_infrastructure_description"], + freeform_tags={ + "bar-key": "value", + }) + ``` + + ## Import + + CccInfrastructures can be imported using the `id`, e.g. + + ```sh + $ pulumi import oci:ComputeCloud/atCustomerCccInfrastructure:AtCustomerCccInfrastructure test_ccc_infrastructure "id" + ``` + + :param str resource_name: The name of the resource. + :param AtCustomerCccInfrastructureArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(AtCustomerCccInfrastructureArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + AtCustomerCccInfrastructureArgs._configure(_setter, **kwargs) + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + ccc_upgrade_schedule_id: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + connection_details: Optional[pulumi.Input[str]] = None, + connection_state: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = AtCustomerCccInfrastructureArgs.__new__(AtCustomerCccInfrastructureArgs) + + __props__.__dict__["ccc_upgrade_schedule_id"] = ccc_upgrade_schedule_id + if compartment_id is None and not opts.urn: + raise TypeError("Missing required property 'compartment_id'") + __props__.__dict__["compartment_id"] = compartment_id + __props__.__dict__["connection_details"] = connection_details + __props__.__dict__["connection_state"] = connection_state + __props__.__dict__["defined_tags"] = defined_tags + __props__.__dict__["description"] = description + if display_name is None and not opts.urn: + raise TypeError("Missing required property 'display_name'") + __props__.__dict__["display_name"] = display_name + __props__.__dict__["freeform_tags"] = freeform_tags + if subnet_id is None and not opts.urn: + raise TypeError("Missing required property 'subnet_id'") + __props__.__dict__["subnet_id"] = subnet_id + __props__.__dict__["infrastructure_inventories"] = None + __props__.__dict__["infrastructure_network_configurations"] = None + __props__.__dict__["lifecycle_details"] = None + __props__.__dict__["provisioning_fingerprint"] = None + __props__.__dict__["provisioning_pin"] = None + __props__.__dict__["short_name"] = None + __props__.__dict__["state"] = None + __props__.__dict__["system_tags"] = None + __props__.__dict__["time_created"] = None + __props__.__dict__["time_updated"] = None + __props__.__dict__["upgrade_informations"] = None + super(AtCustomerCccInfrastructure, __self__).__init__( + 'oci:ComputeCloud/atCustomerCccInfrastructure:AtCustomerCccInfrastructure', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + ccc_upgrade_schedule_id: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + connection_details: Optional[pulumi.Input[str]] = None, + connection_state: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + infrastructure_inventories: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['AtCustomerCccInfrastructureInfrastructureInventoryArgs']]]]] = None, + infrastructure_network_configurations: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArgs']]]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + provisioning_fingerprint: Optional[pulumi.Input[str]] = None, + provisioning_pin: Optional[pulumi.Input[str]] = None, + short_name: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + upgrade_informations: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['AtCustomerCccInfrastructureUpgradeInformationArgs']]]]] = None) -> 'AtCustomerCccInfrastructure': + """ + Get an existing AtCustomerCccInfrastructure resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] ccc_upgrade_schedule_id: (Updatable) Schedule used for upgrades. If no schedule is associated with the infrastructure, it can be upgraded at any time. + :param pulumi.Input[str] compartment_id: (Updatable) The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with the infrastructure. + :param pulumi.Input[str] connection_details: (Updatable) A message describing the current connection state in more detail. + :param pulumi.Input[str] connection_state: (Updatable) The current connection state of the Compute Cloud@Customer infrastructure. This value will default to REJECT if the value is not provided. The only valid value at creation time is REJECT. + :param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + :param pulumi.Input[str] description: (Updatable) A mutable client-meaningful text description of the Compute Cloud@Customer infrastructure. Avoid entering confidential information. + :param pulumi.Input[str] display_name: (Updatable) The name that will be used to display the Compute Cloud@Customer infrastructure in the Oracle Cloud Infrastructure console. Does not have to be unique and can be changed. Avoid entering confidential information. + :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['AtCustomerCccInfrastructureInfrastructureInventoryArgs']]]] infrastructure_inventories: Inventory for a Compute Cloud@Customer infrastructure. This information cannot be updated and is from the infrastructure. The information will only be available after the connectionState is transitioned to CONNECTED. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['AtCustomerCccInfrastructureInfrastructureNetworkConfigurationArgs']]]] infrastructure_network_configurations: Configuration information for the Compute Cloud@Customer infrastructure. This network configuration information cannot be updated and is retrieved from the data center. The information will only be available after the connectionState is transitioned to CONNECTED. + :param pulumi.Input[str] lifecycle_details: A message describing the current lifecycle state in more detail. For example, this can be used to provide actionable information for a resource that is in a Failed state. + :param pulumi.Input[str] provisioning_fingerprint: Fingerprint of a Compute Cloud@Customer infrastructure in a data center generated during the initial connection to this resource. The fingerprint should be verified by the administrator when changing the connectionState from REQUEST to READY. + :param pulumi.Input[str] provisioning_pin: Code that is required for service personnel to connect a Compute Cloud@Customer infrastructure in a data center to this resource. This code will only be available when the connectionState is REJECT (usually at create time of the Compute Cloud@Customer infrastructure). + :param pulumi.Input[str] short_name: The Compute Cloud@Customer infrastructure short name. This cannot be changed once created. The short name is used to refer to the infrastructure in several contexts and is unique. + :param pulumi.Input[str] state: The current state of the Compute Cloud@Customer infrastructure. + :param pulumi.Input[str] subnet_id: (Updatable) Identifier for network subnet that will be used to communicate with Compute Cloud@Customer infrastructure. + + + ** 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 + :param pulumi.Input[Mapping[str, Any]] system_tags: System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + :param pulumi.Input[str] time_created: Compute Cloud@Customer infrastructure creation date and time, using an RFC3339 formatted datetime string. + :param pulumi.Input[str] time_updated: Compute Cloud@Customer infrastructure updated date and time, using an RFC3339 formatted datetime string. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['AtCustomerCccInfrastructureUpgradeInformationArgs']]]] upgrade_informations: Upgrade information that relates to a Compute Cloud@Customer infrastructure. This information cannot be updated. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _AtCustomerCccInfrastructureState.__new__(_AtCustomerCccInfrastructureState) + + __props__.__dict__["ccc_upgrade_schedule_id"] = ccc_upgrade_schedule_id + __props__.__dict__["compartment_id"] = compartment_id + __props__.__dict__["connection_details"] = connection_details + __props__.__dict__["connection_state"] = connection_state + __props__.__dict__["defined_tags"] = defined_tags + __props__.__dict__["description"] = description + __props__.__dict__["display_name"] = display_name + __props__.__dict__["freeform_tags"] = freeform_tags + __props__.__dict__["infrastructure_inventories"] = infrastructure_inventories + __props__.__dict__["infrastructure_network_configurations"] = infrastructure_network_configurations + __props__.__dict__["lifecycle_details"] = lifecycle_details + __props__.__dict__["provisioning_fingerprint"] = provisioning_fingerprint + __props__.__dict__["provisioning_pin"] = provisioning_pin + __props__.__dict__["short_name"] = short_name + __props__.__dict__["state"] = state + __props__.__dict__["subnet_id"] = subnet_id + __props__.__dict__["system_tags"] = system_tags + __props__.__dict__["time_created"] = time_created + __props__.__dict__["time_updated"] = time_updated + __props__.__dict__["upgrade_informations"] = upgrade_informations + return AtCustomerCccInfrastructure(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="cccUpgradeScheduleId") + def ccc_upgrade_schedule_id(self) -> pulumi.Output[str]: + """ + (Updatable) Schedule used for upgrades. If no schedule is associated with the infrastructure, it can be upgraded at any time. + """ + return pulumi.get(self, "ccc_upgrade_schedule_id") + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> pulumi.Output[str]: + """ + (Updatable) The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with the infrastructure. + """ + return pulumi.get(self, "compartment_id") + + @property + @pulumi.getter(name="connectionDetails") + def connection_details(self) -> pulumi.Output[str]: + """ + (Updatable) A message describing the current connection state in more detail. + """ + return pulumi.get(self, "connection_details") + + @property + @pulumi.getter(name="connectionState") + def connection_state(self) -> pulumi.Output[str]: + """ + (Updatable) The current connection state of the Compute Cloud@Customer infrastructure. This value will default to REJECT if the value is not provided. The only valid value at creation time is REJECT. + """ + return pulumi.get(self, "connection_state") + + @property + @pulumi.getter(name="definedTags") + def defined_tags(self) -> pulumi.Output[Mapping[str, Any]]: + """ + (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + """ + return pulumi.get(self, "defined_tags") + + @property + @pulumi.getter + def description(self) -> pulumi.Output[str]: + """ + (Updatable) A mutable client-meaningful text description of the Compute Cloud@Customer infrastructure. Avoid entering confidential information. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> pulumi.Output[str]: + """ + (Updatable) The name that will be used to display the Compute Cloud@Customer infrastructure in the Oracle Cloud Infrastructure console. Does not have to be unique and can be changed. Avoid entering confidential information. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter(name="freeformTags") + def freeform_tags(self) -> pulumi.Output[Mapping[str, Any]]: + """ + (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + """ + return pulumi.get(self, "freeform_tags") + + @property + @pulumi.getter(name="infrastructureInventories") + def infrastructure_inventories(self) -> pulumi.Output[Sequence['outputs.AtCustomerCccInfrastructureInfrastructureInventory']]: + """ + Inventory for a Compute Cloud@Customer infrastructure. This information cannot be updated and is from the infrastructure. The information will only be available after the connectionState is transitioned to CONNECTED. + """ + return pulumi.get(self, "infrastructure_inventories") + + @property + @pulumi.getter(name="infrastructureNetworkConfigurations") + def infrastructure_network_configurations(self) -> pulumi.Output[Sequence['outputs.AtCustomerCccInfrastructureInfrastructureNetworkConfiguration']]: + """ + Configuration information for the Compute Cloud@Customer infrastructure. This network configuration information cannot be updated and is retrieved from the data center. The information will only be available after the connectionState is transitioned to CONNECTED. + """ + return pulumi.get(self, "infrastructure_network_configurations") + + @property + @pulumi.getter(name="lifecycleDetails") + def lifecycle_details(self) -> pulumi.Output[str]: + """ + A message describing the current lifecycle state in more detail. For example, this can be used to provide actionable information for a resource that is in a Failed state. + """ + return pulumi.get(self, "lifecycle_details") + + @property + @pulumi.getter(name="provisioningFingerprint") + def provisioning_fingerprint(self) -> pulumi.Output[str]: + """ + Fingerprint of a Compute Cloud@Customer infrastructure in a data center generated during the initial connection to this resource. The fingerprint should be verified by the administrator when changing the connectionState from REQUEST to READY. + """ + return pulumi.get(self, "provisioning_fingerprint") + + @property + @pulumi.getter(name="provisioningPin") + def provisioning_pin(self) -> pulumi.Output[str]: + """ + Code that is required for service personnel to connect a Compute Cloud@Customer infrastructure in a data center to this resource. This code will only be available when the connectionState is REJECT (usually at create time of the Compute Cloud@Customer infrastructure). + """ + return pulumi.get(self, "provisioning_pin") + + @property + @pulumi.getter(name="shortName") + def short_name(self) -> pulumi.Output[str]: + """ + The Compute Cloud@Customer infrastructure short name. This cannot be changed once created. The short name is used to refer to the infrastructure in several contexts and is unique. + """ + return pulumi.get(self, "short_name") + + @property + @pulumi.getter + def state(self) -> pulumi.Output[str]: + """ + The current state of the Compute Cloud@Customer infrastructure. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter(name="subnetId") + def subnet_id(self) -> pulumi.Output[str]: + """ + (Updatable) Identifier for network subnet that will be used to communicate with Compute Cloud@Customer infrastructure. + + + ** 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 + """ + return pulumi.get(self, "subnet_id") + + @property + @pulumi.getter(name="systemTags") + def system_tags(self) -> pulumi.Output[Mapping[str, Any]]: + """ + System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + """ + return pulumi.get(self, "system_tags") + + @property + @pulumi.getter(name="timeCreated") + def time_created(self) -> pulumi.Output[str]: + """ + Compute Cloud@Customer infrastructure creation date and time, using an RFC3339 formatted datetime string. + """ + return pulumi.get(self, "time_created") + + @property + @pulumi.getter(name="timeUpdated") + def time_updated(self) -> pulumi.Output[str]: + """ + Compute Cloud@Customer infrastructure updated date and time, using an RFC3339 formatted datetime string. + """ + return pulumi.get(self, "time_updated") + + @property + @pulumi.getter(name="upgradeInformations") + def upgrade_informations(self) -> pulumi.Output[Sequence['outputs.AtCustomerCccInfrastructureUpgradeInformation']]: + """ + Upgrade information that relates to a Compute Cloud@Customer infrastructure. This information cannot be updated. + """ + return pulumi.get(self, "upgrade_informations") + diff --git a/sdk/python/pulumi_oci/computecloud/at_customer_ccc_upgrade_schedule.py b/sdk/python/pulumi_oci/computecloud/at_customer_ccc_upgrade_schedule.py new file mode 100644 index 0000000000..1186a53cce --- /dev/null +++ b/sdk/python/pulumi_oci/computecloud/at_customer_ccc_upgrade_schedule.py @@ -0,0 +1,703 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs +from ._inputs import * + +__all__ = ['AtCustomerCccUpgradeScheduleArgs', 'AtCustomerCccUpgradeSchedule'] + +@pulumi.input_type +class AtCustomerCccUpgradeScheduleArgs: + def __init__(__self__, *, + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + events: pulumi.Input[Sequence[pulumi.Input['AtCustomerCccUpgradeScheduleEventArgs']]], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None): + """ + The set of arguments for constructing a AtCustomerCccUpgradeSchedule resource. + :param pulumi.Input[str] compartment_id: (Updatable) Compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Compute Cloud@Customer Upgrade Schedule. + :param pulumi.Input[str] display_name: (Updatable) Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information. + :param pulumi.Input[Sequence[pulumi.Input['AtCustomerCccUpgradeScheduleEventArgs']]] events: (Updatable) List of preferred times for Compute Cloud@Customer infrastructure to be upgraded. + :param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + :param pulumi.Input[str] description: (Updatable) A description of the Compute Cloud@Customer upgrade schedule time block. + :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + + + ** 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 + """ + AtCustomerCccUpgradeScheduleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + events=events, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + events: pulumi.Input[Sequence[pulumi.Input['AtCustomerCccUpgradeScheduleEventArgs']]], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) + _setter("events", events) + if defined_tags is not None: + _setter("defined_tags", defined_tags) + if description is not None: + _setter("description", description) + if freeform_tags is not None: + _setter("freeform_tags", freeform_tags) + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> pulumi.Input[str]: + """ + (Updatable) Compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Compute Cloud@Customer Upgrade Schedule. + """ + return pulumi.get(self, "compartment_id") + + @compartment_id.setter + def compartment_id(self, value: pulumi.Input[str]): + pulumi.set(self, "compartment_id", value) + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> pulumi.Input[str]: + """ + (Updatable) Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information. + """ + return pulumi.get(self, "display_name") + + @display_name.setter + def display_name(self, value: pulumi.Input[str]): + pulumi.set(self, "display_name", value) + + @property + @pulumi.getter + def events(self) -> pulumi.Input[Sequence[pulumi.Input['AtCustomerCccUpgradeScheduleEventArgs']]]: + """ + (Updatable) List of preferred times for Compute Cloud@Customer infrastructure to be upgraded. + """ + return pulumi.get(self, "events") + + @events.setter + def events(self, value: pulumi.Input[Sequence[pulumi.Input['AtCustomerCccUpgradeScheduleEventArgs']]]): + pulumi.set(self, "events", value) + + @property + @pulumi.getter(name="definedTags") + def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + """ + (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + """ + return pulumi.get(self, "defined_tags") + + @defined_tags.setter + def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + pulumi.set(self, "defined_tags", value) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) A description of the Compute Cloud@Customer upgrade schedule time block. + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter(name="freeformTags") + def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + """ + (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + + + ** 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 + """ + return pulumi.get(self, "freeform_tags") + + @freeform_tags.setter + def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + pulumi.set(self, "freeform_tags", value) + + +@pulumi.input_type +class _AtCustomerCccUpgradeScheduleState: + def __init__(__self__, *, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + events: Optional[pulumi.Input[Sequence[pulumi.Input['AtCustomerCccUpgradeScheduleEventArgs']]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + infrastructure_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None): + """ + Input properties used for looking up and filtering AtCustomerCccUpgradeSchedule resources. + :param pulumi.Input[str] compartment_id: (Updatable) Compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Compute Cloud@Customer Upgrade Schedule. + :param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + :param pulumi.Input[str] description: (Updatable) A description of the Compute Cloud@Customer upgrade schedule time block. + :param pulumi.Input[str] display_name: (Updatable) Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information. + :param pulumi.Input[Sequence[pulumi.Input['AtCustomerCccUpgradeScheduleEventArgs']]] events: (Updatable) List of preferred times for Compute Cloud@Customer infrastructure to be upgraded. + :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + + + ** 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 + :param pulumi.Input[Sequence[pulumi.Input[str]]] infrastructure_ids: List of Compute Cloud@Customer infrastructure [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that are using this upgrade schedule. + :param pulumi.Input[str] lifecycle_details: A message describing the current state in more detail. For example, the message can be used to provide actionable information for a resource in a Failed state. + :param pulumi.Input[str] state: Lifecycle state of the resource. + :param pulumi.Input[Mapping[str, Any]] system_tags: System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + :param pulumi.Input[str] time_created: The time the upgrade schedule was created, using an RFC3339 formatted datetime string. + :param pulumi.Input[str] time_updated: The time the upgrade schedule was updated, using an RFC3339 formatted datetime string. + """ + _AtCustomerCccUpgradeScheduleState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + events=events, + freeform_tags=freeform_tags, + infrastructure_ids=infrastructure_ids, + lifecycle_details=lifecycle_details, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + events: Optional[pulumi.Input[Sequence[pulumi.Input['AtCustomerCccUpgradeScheduleEventArgs']]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + infrastructure_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if compartment_id is not None: + _setter("compartment_id", compartment_id) + if defined_tags is not None: + _setter("defined_tags", defined_tags) + if description is not None: + _setter("description", description) + if display_name is not None: + _setter("display_name", display_name) + if events is not None: + _setter("events", events) + if freeform_tags is not None: + _setter("freeform_tags", freeform_tags) + if infrastructure_ids is not None: + _setter("infrastructure_ids", infrastructure_ids) + if lifecycle_details is not None: + _setter("lifecycle_details", lifecycle_details) + if state is not None: + _setter("state", state) + if system_tags is not None: + _setter("system_tags", system_tags) + if time_created is not None: + _setter("time_created", time_created) + if time_updated is not None: + _setter("time_updated", time_updated) + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) Compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Compute Cloud@Customer Upgrade Schedule. + """ + return pulumi.get(self, "compartment_id") + + @compartment_id.setter + def compartment_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "compartment_id", value) + + @property + @pulumi.getter(name="definedTags") + def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + """ + (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + """ + return pulumi.get(self, "defined_tags") + + @defined_tags.setter + def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + pulumi.set(self, "defined_tags", value) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) A description of the Compute Cloud@Customer upgrade schedule time block. + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information. + """ + return pulumi.get(self, "display_name") + + @display_name.setter + def display_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "display_name", value) + + @property + @pulumi.getter + def events(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['AtCustomerCccUpgradeScheduleEventArgs']]]]: + """ + (Updatable) List of preferred times for Compute Cloud@Customer infrastructure to be upgraded. + """ + return pulumi.get(self, "events") + + @events.setter + def events(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['AtCustomerCccUpgradeScheduleEventArgs']]]]): + pulumi.set(self, "events", value) + + @property + @pulumi.getter(name="freeformTags") + def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + """ + (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + + + ** 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 + """ + return pulumi.get(self, "freeform_tags") + + @freeform_tags.setter + def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + pulumi.set(self, "freeform_tags", value) + + @property + @pulumi.getter(name="infrastructureIds") + def infrastructure_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + List of Compute Cloud@Customer infrastructure [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that are using this upgrade schedule. + """ + return pulumi.get(self, "infrastructure_ids") + + @infrastructure_ids.setter + def infrastructure_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "infrastructure_ids", value) + + @property + @pulumi.getter(name="lifecycleDetails") + def lifecycle_details(self) -> Optional[pulumi.Input[str]]: + """ + A message describing the current state in more detail. For example, the message can be used to provide actionable information for a resource in a Failed state. + """ + return pulumi.get(self, "lifecycle_details") + + @lifecycle_details.setter + def lifecycle_details(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "lifecycle_details", value) + + @property + @pulumi.getter + def state(self) -> Optional[pulumi.Input[str]]: + """ + Lifecycle state of the resource. + """ + return pulumi.get(self, "state") + + @state.setter + def state(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "state", value) + + @property + @pulumi.getter(name="systemTags") + def system_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + """ + System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + """ + return pulumi.get(self, "system_tags") + + @system_tags.setter + def system_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + pulumi.set(self, "system_tags", value) + + @property + @pulumi.getter(name="timeCreated") + def time_created(self) -> Optional[pulumi.Input[str]]: + """ + The time the upgrade schedule was created, using an RFC3339 formatted datetime string. + """ + return pulumi.get(self, "time_created") + + @time_created.setter + def time_created(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "time_created", value) + + @property + @pulumi.getter(name="timeUpdated") + def time_updated(self) -> Optional[pulumi.Input[str]]: + """ + The time the upgrade schedule was updated, using an RFC3339 formatted datetime string. + """ + return pulumi.get(self, "time_updated") + + @time_updated.setter + def time_updated(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "time_updated", value) + + +class AtCustomerCccUpgradeSchedule(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + events: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['AtCustomerCccUpgradeScheduleEventArgs']]]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + __props__=None): + """ + This resource provides the Ccc Upgrade Schedule resource in Oracle Cloud Infrastructure Compute Cloud At Customer service. + + Creates a new Compute Cloud@Customer upgrade schedule. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_ccc_upgrade_schedule = oci.compute_cloud.AtCustomerCccUpgradeSchedule("testCccUpgradeSchedule", + compartment_id=var["compartment_id"], + display_name=var["ccc_upgrade_schedule_display_name"], + events=[oci.compute_cloud.AtCustomerCccUpgradeScheduleEventArgs( + description=var["ccc_upgrade_schedule_events_description"], + schedule_event_duration=var["ccc_upgrade_schedule_events_schedule_event_duration"], + time_start=var["ccc_upgrade_schedule_events_time_start"], + schedule_event_recurrences=var["ccc_upgrade_schedule_events_schedule_event_recurrences"], + )], + defined_tags={ + "foo-namespace.bar-key": "value", + }, + description=var["ccc_upgrade_schedule_description"], + freeform_tags={ + "bar-key": "value", + }) + ``` + + ## Import + + CccUpgradeSchedules can be imported using the `id`, e.g. + + ```sh + $ pulumi import oci:ComputeCloud/atCustomerCccUpgradeSchedule:AtCustomerCccUpgradeSchedule test_ccc_upgrade_schedule "id" + ``` + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] compartment_id: (Updatable) Compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Compute Cloud@Customer Upgrade Schedule. + :param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + :param pulumi.Input[str] description: (Updatable) A description of the Compute Cloud@Customer upgrade schedule time block. + :param pulumi.Input[str] display_name: (Updatable) Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['AtCustomerCccUpgradeScheduleEventArgs']]]] events: (Updatable) List of preferred times for Compute Cloud@Customer infrastructure to be upgraded. + :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + + + ** 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 + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: AtCustomerCccUpgradeScheduleArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + This resource provides the Ccc Upgrade Schedule resource in Oracle Cloud Infrastructure Compute Cloud At Customer service. + + Creates a new Compute Cloud@Customer upgrade schedule. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_ccc_upgrade_schedule = oci.compute_cloud.AtCustomerCccUpgradeSchedule("testCccUpgradeSchedule", + compartment_id=var["compartment_id"], + display_name=var["ccc_upgrade_schedule_display_name"], + events=[oci.compute_cloud.AtCustomerCccUpgradeScheduleEventArgs( + description=var["ccc_upgrade_schedule_events_description"], + schedule_event_duration=var["ccc_upgrade_schedule_events_schedule_event_duration"], + time_start=var["ccc_upgrade_schedule_events_time_start"], + schedule_event_recurrences=var["ccc_upgrade_schedule_events_schedule_event_recurrences"], + )], + defined_tags={ + "foo-namespace.bar-key": "value", + }, + description=var["ccc_upgrade_schedule_description"], + freeform_tags={ + "bar-key": "value", + }) + ``` + + ## Import + + CccUpgradeSchedules can be imported using the `id`, e.g. + + ```sh + $ pulumi import oci:ComputeCloud/atCustomerCccUpgradeSchedule:AtCustomerCccUpgradeSchedule test_ccc_upgrade_schedule "id" + ``` + + :param str resource_name: The name of the resource. + :param AtCustomerCccUpgradeScheduleArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(AtCustomerCccUpgradeScheduleArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + AtCustomerCccUpgradeScheduleArgs._configure(_setter, **kwargs) + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + events: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['AtCustomerCccUpgradeScheduleEventArgs']]]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = AtCustomerCccUpgradeScheduleArgs.__new__(AtCustomerCccUpgradeScheduleArgs) + + if compartment_id is None and not opts.urn: + raise TypeError("Missing required property 'compartment_id'") + __props__.__dict__["compartment_id"] = compartment_id + __props__.__dict__["defined_tags"] = defined_tags + __props__.__dict__["description"] = description + if display_name is None and not opts.urn: + raise TypeError("Missing required property 'display_name'") + __props__.__dict__["display_name"] = display_name + if events is None and not opts.urn: + raise TypeError("Missing required property 'events'") + __props__.__dict__["events"] = events + __props__.__dict__["freeform_tags"] = freeform_tags + __props__.__dict__["infrastructure_ids"] = None + __props__.__dict__["lifecycle_details"] = None + __props__.__dict__["state"] = None + __props__.__dict__["system_tags"] = None + __props__.__dict__["time_created"] = None + __props__.__dict__["time_updated"] = None + super(AtCustomerCccUpgradeSchedule, __self__).__init__( + 'oci:ComputeCloud/atCustomerCccUpgradeSchedule:AtCustomerCccUpgradeSchedule', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + events: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['AtCustomerCccUpgradeScheduleEventArgs']]]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + infrastructure_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None) -> 'AtCustomerCccUpgradeSchedule': + """ + Get an existing AtCustomerCccUpgradeSchedule resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] compartment_id: (Updatable) Compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Compute Cloud@Customer Upgrade Schedule. + :param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + :param pulumi.Input[str] description: (Updatable) A description of the Compute Cloud@Customer upgrade schedule time block. + :param pulumi.Input[str] display_name: (Updatable) Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['AtCustomerCccUpgradeScheduleEventArgs']]]] events: (Updatable) List of preferred times for Compute Cloud@Customer infrastructure to be upgraded. + :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + + + ** 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 + :param pulumi.Input[Sequence[pulumi.Input[str]]] infrastructure_ids: List of Compute Cloud@Customer infrastructure [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that are using this upgrade schedule. + :param pulumi.Input[str] lifecycle_details: A message describing the current state in more detail. For example, the message can be used to provide actionable information for a resource in a Failed state. + :param pulumi.Input[str] state: Lifecycle state of the resource. + :param pulumi.Input[Mapping[str, Any]] system_tags: System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + :param pulumi.Input[str] time_created: The time the upgrade schedule was created, using an RFC3339 formatted datetime string. + :param pulumi.Input[str] time_updated: The time the upgrade schedule was updated, using an RFC3339 formatted datetime string. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _AtCustomerCccUpgradeScheduleState.__new__(_AtCustomerCccUpgradeScheduleState) + + __props__.__dict__["compartment_id"] = compartment_id + __props__.__dict__["defined_tags"] = defined_tags + __props__.__dict__["description"] = description + __props__.__dict__["display_name"] = display_name + __props__.__dict__["events"] = events + __props__.__dict__["freeform_tags"] = freeform_tags + __props__.__dict__["infrastructure_ids"] = infrastructure_ids + __props__.__dict__["lifecycle_details"] = lifecycle_details + __props__.__dict__["state"] = state + __props__.__dict__["system_tags"] = system_tags + __props__.__dict__["time_created"] = time_created + __props__.__dict__["time_updated"] = time_updated + return AtCustomerCccUpgradeSchedule(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> pulumi.Output[str]: + """ + (Updatable) Compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Compute Cloud@Customer Upgrade Schedule. + """ + return pulumi.get(self, "compartment_id") + + @property + @pulumi.getter(name="definedTags") + def defined_tags(self) -> pulumi.Output[Mapping[str, Any]]: + """ + (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + """ + return pulumi.get(self, "defined_tags") + + @property + @pulumi.getter + def description(self) -> pulumi.Output[str]: + """ + (Updatable) A description of the Compute Cloud@Customer upgrade schedule time block. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> pulumi.Output[str]: + """ + (Updatable) Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter + def events(self) -> pulumi.Output[Sequence['outputs.AtCustomerCccUpgradeScheduleEvent']]: + """ + (Updatable) List of preferred times for Compute Cloud@Customer infrastructure to be upgraded. + """ + return pulumi.get(self, "events") + + @property + @pulumi.getter(name="freeformTags") + def freeform_tags(self) -> pulumi.Output[Mapping[str, Any]]: + """ + (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + + + ** 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 + """ + return pulumi.get(self, "freeform_tags") + + @property + @pulumi.getter(name="infrastructureIds") + def infrastructure_ids(self) -> pulumi.Output[Sequence[str]]: + """ + List of Compute Cloud@Customer infrastructure [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that are using this upgrade schedule. + """ + return pulumi.get(self, "infrastructure_ids") + + @property + @pulumi.getter(name="lifecycleDetails") + def lifecycle_details(self) -> pulumi.Output[str]: + """ + A message describing the current state in more detail. For example, the message can be used to provide actionable information for a resource in a Failed state. + """ + return pulumi.get(self, "lifecycle_details") + + @property + @pulumi.getter + def state(self) -> pulumi.Output[str]: + """ + Lifecycle state of the resource. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter(name="systemTags") + def system_tags(self) -> pulumi.Output[Mapping[str, Any]]: + """ + System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + """ + return pulumi.get(self, "system_tags") + + @property + @pulumi.getter(name="timeCreated") + def time_created(self) -> pulumi.Output[str]: + """ + The time the upgrade schedule was created, using an RFC3339 formatted datetime string. + """ + return pulumi.get(self, "time_created") + + @property + @pulumi.getter(name="timeUpdated") + def time_updated(self) -> pulumi.Output[str]: + """ + The time the upgrade schedule was updated, using an RFC3339 formatted datetime string. + """ + return pulumi.get(self, "time_updated") + diff --git a/sdk/python/pulumi_oci/computecloud/get_at_customer_ccc_infrastructure.py b/sdk/python/pulumi_oci/computecloud/get_at_customer_ccc_infrastructure.py new file mode 100644 index 0000000000..c87614edc8 --- /dev/null +++ b/sdk/python/pulumi_oci/computecloud/get_at_customer_ccc_infrastructure.py @@ -0,0 +1,368 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs + +__all__ = [ + 'GetAtCustomerCccInfrastructureResult', + 'AwaitableGetAtCustomerCccInfrastructureResult', + 'get_at_customer_ccc_infrastructure', + 'get_at_customer_ccc_infrastructure_output', +] + +@pulumi.output_type +class GetAtCustomerCccInfrastructureResult: + """ + A collection of values returned by getAtCustomerCccInfrastructure. + """ + def __init__(__self__, ccc_infrastructure_id=None, ccc_upgrade_schedule_id=None, compartment_id=None, connection_details=None, connection_state=None, defined_tags=None, description=None, display_name=None, freeform_tags=None, id=None, infrastructure_inventories=None, infrastructure_network_configurations=None, lifecycle_details=None, provisioning_fingerprint=None, provisioning_pin=None, short_name=None, state=None, subnet_id=None, system_tags=None, time_created=None, time_updated=None, upgrade_informations=None): + if ccc_infrastructure_id and not isinstance(ccc_infrastructure_id, str): + raise TypeError("Expected argument 'ccc_infrastructure_id' to be a str") + pulumi.set(__self__, "ccc_infrastructure_id", ccc_infrastructure_id) + if ccc_upgrade_schedule_id and not isinstance(ccc_upgrade_schedule_id, str): + raise TypeError("Expected argument 'ccc_upgrade_schedule_id' to be a str") + pulumi.set(__self__, "ccc_upgrade_schedule_id", ccc_upgrade_schedule_id) + if compartment_id and not isinstance(compartment_id, str): + raise TypeError("Expected argument 'compartment_id' to be a str") + pulumi.set(__self__, "compartment_id", compartment_id) + if connection_details and not isinstance(connection_details, str): + raise TypeError("Expected argument 'connection_details' to be a str") + pulumi.set(__self__, "connection_details", connection_details) + if connection_state and not isinstance(connection_state, str): + raise TypeError("Expected argument 'connection_state' to be a str") + pulumi.set(__self__, "connection_state", connection_state) + if defined_tags and not isinstance(defined_tags, dict): + raise TypeError("Expected argument 'defined_tags' to be a dict") + pulumi.set(__self__, "defined_tags", defined_tags) + if description and not isinstance(description, str): + raise TypeError("Expected argument 'description' to be a str") + pulumi.set(__self__, "description", description) + if display_name and not isinstance(display_name, str): + raise TypeError("Expected argument 'display_name' to be a str") + pulumi.set(__self__, "display_name", display_name) + if freeform_tags and not isinstance(freeform_tags, dict): + raise TypeError("Expected argument 'freeform_tags' to be a dict") + pulumi.set(__self__, "freeform_tags", freeform_tags) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if infrastructure_inventories and not isinstance(infrastructure_inventories, list): + raise TypeError("Expected argument 'infrastructure_inventories' to be a list") + pulumi.set(__self__, "infrastructure_inventories", infrastructure_inventories) + if infrastructure_network_configurations and not isinstance(infrastructure_network_configurations, list): + raise TypeError("Expected argument 'infrastructure_network_configurations' to be a list") + pulumi.set(__self__, "infrastructure_network_configurations", infrastructure_network_configurations) + if lifecycle_details and not isinstance(lifecycle_details, str): + raise TypeError("Expected argument 'lifecycle_details' to be a str") + pulumi.set(__self__, "lifecycle_details", lifecycle_details) + if provisioning_fingerprint and not isinstance(provisioning_fingerprint, str): + raise TypeError("Expected argument 'provisioning_fingerprint' to be a str") + pulumi.set(__self__, "provisioning_fingerprint", provisioning_fingerprint) + if provisioning_pin and not isinstance(provisioning_pin, str): + raise TypeError("Expected argument 'provisioning_pin' to be a str") + pulumi.set(__self__, "provisioning_pin", provisioning_pin) + if short_name and not isinstance(short_name, str): + raise TypeError("Expected argument 'short_name' to be a str") + pulumi.set(__self__, "short_name", short_name) + if state and not isinstance(state, str): + raise TypeError("Expected argument 'state' to be a str") + pulumi.set(__self__, "state", state) + if subnet_id and not isinstance(subnet_id, str): + raise TypeError("Expected argument 'subnet_id' to be a str") + pulumi.set(__self__, "subnet_id", subnet_id) + if system_tags and not isinstance(system_tags, dict): + raise TypeError("Expected argument 'system_tags' to be a dict") + pulumi.set(__self__, "system_tags", system_tags) + if time_created and not isinstance(time_created, str): + raise TypeError("Expected argument 'time_created' to be a str") + pulumi.set(__self__, "time_created", time_created) + if time_updated and not isinstance(time_updated, str): + raise TypeError("Expected argument 'time_updated' to be a str") + pulumi.set(__self__, "time_updated", time_updated) + if upgrade_informations and not isinstance(upgrade_informations, list): + raise TypeError("Expected argument 'upgrade_informations' to be a list") + pulumi.set(__self__, "upgrade_informations", upgrade_informations) + + @property + @pulumi.getter(name="cccInfrastructureId") + def ccc_infrastructure_id(self) -> str: + return pulumi.get(self, "ccc_infrastructure_id") + + @property + @pulumi.getter(name="cccUpgradeScheduleId") + def ccc_upgrade_schedule_id(self) -> str: + """ + Schedule used for upgrades. If no schedule is associated with the infrastructure, it can be updated at any time. + """ + return pulumi.get(self, "ccc_upgrade_schedule_id") + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> str: + """ + The infrastructure compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + """ + return pulumi.get(self, "compartment_id") + + @property + @pulumi.getter(name="connectionDetails") + def connection_details(self) -> str: + """ + A message describing the current connection state in more detail. + """ + return pulumi.get(self, "connection_details") + + @property + @pulumi.getter(name="connectionState") + def connection_state(self) -> str: + """ + The current connection state of the infrastructure. A user can only update it from REQUEST to READY or from any state back to REJECT. The system automatically handles the REJECT to REQUEST, READY to CONNECTED, or CONNECTED to DISCONNECTED transitions. + """ + return pulumi.get(self, "connection_state") + + @property + @pulumi.getter(name="definedTags") + def defined_tags(self) -> Mapping[str, Any]: + """ + Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + """ + return pulumi.get(self, "defined_tags") + + @property + @pulumi.getter + def description(self) -> str: + """ + A mutable client-meaningful text description of the Compute Cloud@Customer infrastructure. Avoid entering confidential information. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> str: + """ + The name that will be used to display the Compute Cloud@Customer infrastructure in the Oracle Cloud Infrastructure console. Does not have to be unique and can be changed. Avoid entering confidential information. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter(name="freeformTags") + def freeform_tags(self) -> Mapping[str, Any]: + """ + Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + """ + return pulumi.get(self, "freeform_tags") + + @property + @pulumi.getter + def id(self) -> str: + """ + The Compute Cloud@Customer infrastructure [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). This cannot be changed once created. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="infrastructureInventories") + def infrastructure_inventories(self) -> Sequence['outputs.GetAtCustomerCccInfrastructureInfrastructureInventoryResult']: + """ + Inventory for a Compute Cloud@Customer infrastructure. This information cannot be updated and is from the infrastructure. The information will only be available after the connectionState is transitioned to CONNECTED. + """ + return pulumi.get(self, "infrastructure_inventories") + + @property + @pulumi.getter(name="infrastructureNetworkConfigurations") + def infrastructure_network_configurations(self) -> Sequence['outputs.GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationResult']: + """ + Configuration information for the Compute Cloud@Customer infrastructure. This network configuration information cannot be updated and is retrieved from the data center. The information will only be available after the connectionState is transitioned to CONNECTED. + """ + return pulumi.get(self, "infrastructure_network_configurations") + + @property + @pulumi.getter(name="lifecycleDetails") + def lifecycle_details(self) -> str: + """ + A message describing the current lifecycle state in more detail. For example, this can be used to provide actionable information for a resource that is in a Failed state. + """ + return pulumi.get(self, "lifecycle_details") + + @property + @pulumi.getter(name="provisioningFingerprint") + def provisioning_fingerprint(self) -> str: + """ + Fingerprint of a Compute Cloud@Customer infrastructure in a data center generated during the initial connection to this resource. The fingerprint should be verified by the administrator when changing the connectionState from REQUEST to READY. + """ + return pulumi.get(self, "provisioning_fingerprint") + + @property + @pulumi.getter(name="provisioningPin") + def provisioning_pin(self) -> str: + """ + Code that is required for service personnel to connect a Compute Cloud@Customer infrastructure in a data center to this resource. This code will only be available when the connectionState is REJECT (usually at create time of the Compute Cloud@Customer infrastructure). + """ + return pulumi.get(self, "provisioning_pin") + + @property + @pulumi.getter(name="shortName") + def short_name(self) -> str: + """ + The Compute Cloud@Customer infrastructure short name. This cannot be changed once created. The short name is used to refer to the infrastructure in several contexts and is unique. + """ + return pulumi.get(self, "short_name") + + @property + @pulumi.getter + def state(self) -> str: + """ + The current state of the Compute Cloud@Customer infrastructure. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter(name="subnetId") + def subnet_id(self) -> str: + """ + [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the network subnet that is used to communicate with Compute Cloud@Customer infrastructure. + """ + return pulumi.get(self, "subnet_id") + + @property + @pulumi.getter(name="systemTags") + def system_tags(self) -> Mapping[str, Any]: + """ + System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + """ + return pulumi.get(self, "system_tags") + + @property + @pulumi.getter(name="timeCreated") + def time_created(self) -> str: + """ + Compute Cloud@Customer infrastructure creation date and time, using an RFC3339 formatted datetime string. + """ + return pulumi.get(self, "time_created") + + @property + @pulumi.getter(name="timeUpdated") + def time_updated(self) -> str: + """ + Compute Cloud@Customer infrastructure updated date and time, using an RFC3339 formatted datetime string. + """ + return pulumi.get(self, "time_updated") + + @property + @pulumi.getter(name="upgradeInformations") + def upgrade_informations(self) -> Sequence['outputs.GetAtCustomerCccInfrastructureUpgradeInformationResult']: + """ + Upgrade information that relates to a Compute Cloud@Customer infrastructure. This information cannot be updated. + """ + return pulumi.get(self, "upgrade_informations") + + +class AwaitableGetAtCustomerCccInfrastructureResult(GetAtCustomerCccInfrastructureResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetAtCustomerCccInfrastructureResult( + ccc_infrastructure_id=self.ccc_infrastructure_id, + ccc_upgrade_schedule_id=self.ccc_upgrade_schedule_id, + compartment_id=self.compartment_id, + connection_details=self.connection_details, + connection_state=self.connection_state, + defined_tags=self.defined_tags, + description=self.description, + display_name=self.display_name, + freeform_tags=self.freeform_tags, + id=self.id, + infrastructure_inventories=self.infrastructure_inventories, + infrastructure_network_configurations=self.infrastructure_network_configurations, + lifecycle_details=self.lifecycle_details, + provisioning_fingerprint=self.provisioning_fingerprint, + provisioning_pin=self.provisioning_pin, + short_name=self.short_name, + state=self.state, + subnet_id=self.subnet_id, + system_tags=self.system_tags, + time_created=self.time_created, + time_updated=self.time_updated, + upgrade_informations=self.upgrade_informations) + + +def get_at_customer_ccc_infrastructure(ccc_infrastructure_id: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAtCustomerCccInfrastructureResult: + """ + This data source provides details about a specific Ccc Infrastructure resource in Oracle Cloud Infrastructure Compute Cloud At Customer service. + + Gets a Compute Cloud@Customer infrastructure using the infrastructure + [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_ccc_infrastructure = oci.ComputeCloud.get_at_customer_ccc_infrastructure(ccc_infrastructure_id=oci_compute_cloud_at_customer_ccc_infrastructure["test_ccc_infrastructure"]["id"]) + ``` + + + :param str ccc_infrastructure_id: An [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for a Compute Cloud@Customer Infrastructure. + """ + __args__ = dict() + __args__['cccInfrastructureId'] = ccc_infrastructure_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('oci:ComputeCloud/getAtCustomerCccInfrastructure:getAtCustomerCccInfrastructure', __args__, opts=opts, typ=GetAtCustomerCccInfrastructureResult).value + + return AwaitableGetAtCustomerCccInfrastructureResult( + ccc_infrastructure_id=pulumi.get(__ret__, 'ccc_infrastructure_id'), + ccc_upgrade_schedule_id=pulumi.get(__ret__, 'ccc_upgrade_schedule_id'), + compartment_id=pulumi.get(__ret__, 'compartment_id'), + connection_details=pulumi.get(__ret__, 'connection_details'), + connection_state=pulumi.get(__ret__, 'connection_state'), + defined_tags=pulumi.get(__ret__, 'defined_tags'), + description=pulumi.get(__ret__, 'description'), + display_name=pulumi.get(__ret__, 'display_name'), + freeform_tags=pulumi.get(__ret__, 'freeform_tags'), + id=pulumi.get(__ret__, 'id'), + infrastructure_inventories=pulumi.get(__ret__, 'infrastructure_inventories'), + infrastructure_network_configurations=pulumi.get(__ret__, 'infrastructure_network_configurations'), + lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'), + provisioning_fingerprint=pulumi.get(__ret__, 'provisioning_fingerprint'), + provisioning_pin=pulumi.get(__ret__, 'provisioning_pin'), + short_name=pulumi.get(__ret__, 'short_name'), + state=pulumi.get(__ret__, 'state'), + subnet_id=pulumi.get(__ret__, 'subnet_id'), + system_tags=pulumi.get(__ret__, 'system_tags'), + time_created=pulumi.get(__ret__, 'time_created'), + time_updated=pulumi.get(__ret__, 'time_updated'), + upgrade_informations=pulumi.get(__ret__, 'upgrade_informations')) + + +@_utilities.lift_output_func(get_at_customer_ccc_infrastructure) +def get_at_customer_ccc_infrastructure_output(ccc_infrastructure_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAtCustomerCccInfrastructureResult]: + """ + This data source provides details about a specific Ccc Infrastructure resource in Oracle Cloud Infrastructure Compute Cloud At Customer service. + + Gets a Compute Cloud@Customer infrastructure using the infrastructure + [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_ccc_infrastructure = oci.ComputeCloud.get_at_customer_ccc_infrastructure(ccc_infrastructure_id=oci_compute_cloud_at_customer_ccc_infrastructure["test_ccc_infrastructure"]["id"]) + ``` + + + :param str ccc_infrastructure_id: An [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for a Compute Cloud@Customer Infrastructure. + """ + ... diff --git a/sdk/python/pulumi_oci/computecloud/get_at_customer_ccc_infrastructures.py b/sdk/python/pulumi_oci/computecloud/get_at_customer_ccc_infrastructures.py new file mode 100644 index 0000000000..315fad1a62 --- /dev/null +++ b/sdk/python/pulumi_oci/computecloud/get_at_customer_ccc_infrastructures.py @@ -0,0 +1,244 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs +from ._inputs import * + +__all__ = [ + 'GetAtCustomerCccInfrastructuresResult', + 'AwaitableGetAtCustomerCccInfrastructuresResult', + 'get_at_customer_ccc_infrastructures', + 'get_at_customer_ccc_infrastructures_output', +] + +@pulumi.output_type +class GetAtCustomerCccInfrastructuresResult: + """ + A collection of values returned by getAtCustomerCccInfrastructures. + """ + def __init__(__self__, access_level=None, ccc_infrastructure_collections=None, ccc_infrastructure_id=None, compartment_id=None, compartment_id_in_subtree=None, display_name=None, display_name_contains=None, filters=None, id=None, state=None): + if access_level and not isinstance(access_level, str): + raise TypeError("Expected argument 'access_level' to be a str") + pulumi.set(__self__, "access_level", access_level) + if ccc_infrastructure_collections and not isinstance(ccc_infrastructure_collections, list): + raise TypeError("Expected argument 'ccc_infrastructure_collections' to be a list") + pulumi.set(__self__, "ccc_infrastructure_collections", ccc_infrastructure_collections) + if ccc_infrastructure_id and not isinstance(ccc_infrastructure_id, str): + raise TypeError("Expected argument 'ccc_infrastructure_id' to be a str") + pulumi.set(__self__, "ccc_infrastructure_id", ccc_infrastructure_id) + if compartment_id and not isinstance(compartment_id, str): + raise TypeError("Expected argument 'compartment_id' to be a str") + pulumi.set(__self__, "compartment_id", compartment_id) + if compartment_id_in_subtree and not isinstance(compartment_id_in_subtree, bool): + raise TypeError("Expected argument 'compartment_id_in_subtree' to be a bool") + pulumi.set(__self__, "compartment_id_in_subtree", compartment_id_in_subtree) + if display_name and not isinstance(display_name, str): + raise TypeError("Expected argument 'display_name' to be a str") + pulumi.set(__self__, "display_name", display_name) + if display_name_contains and not isinstance(display_name_contains, str): + raise TypeError("Expected argument 'display_name_contains' to be a str") + pulumi.set(__self__, "display_name_contains", display_name_contains) + if filters and not isinstance(filters, list): + raise TypeError("Expected argument 'filters' to be a list") + pulumi.set(__self__, "filters", filters) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if state and not isinstance(state, str): + raise TypeError("Expected argument 'state' to be a str") + pulumi.set(__self__, "state", state) + + @property + @pulumi.getter(name="accessLevel") + def access_level(self) -> Optional[str]: + return pulumi.get(self, "access_level") + + @property + @pulumi.getter(name="cccInfrastructureCollections") + def ccc_infrastructure_collections(self) -> Sequence['outputs.GetAtCustomerCccInfrastructuresCccInfrastructureCollectionResult']: + """ + The list of ccc_infrastructure_collection. + """ + return pulumi.get(self, "ccc_infrastructure_collections") + + @property + @pulumi.getter(name="cccInfrastructureId") + def ccc_infrastructure_id(self) -> Optional[str]: + return pulumi.get(self, "ccc_infrastructure_id") + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> Optional[str]: + """ + The infrastructure compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + """ + return pulumi.get(self, "compartment_id") + + @property + @pulumi.getter(name="compartmentIdInSubtree") + def compartment_id_in_subtree(self) -> Optional[bool]: + return pulumi.get(self, "compartment_id_in_subtree") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> Optional[str]: + """ + The name that will be used to display the Compute Cloud@Customer infrastructure in the Oracle Cloud Infrastructure console. Does not have to be unique and can be changed. Avoid entering confidential information. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter(name="displayNameContains") + def display_name_contains(self) -> Optional[str]: + return pulumi.get(self, "display_name_contains") + + @property + @pulumi.getter + def filters(self) -> Optional[Sequence['outputs.GetAtCustomerCccInfrastructuresFilterResult']]: + return pulumi.get(self, "filters") + + @property + @pulumi.getter + def id(self) -> str: + """ + The provider-assigned unique ID for this managed resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def state(self) -> Optional[str]: + """ + The current state of the Compute Cloud@Customer infrastructure. + """ + return pulumi.get(self, "state") + + +class AwaitableGetAtCustomerCccInfrastructuresResult(GetAtCustomerCccInfrastructuresResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetAtCustomerCccInfrastructuresResult( + access_level=self.access_level, + ccc_infrastructure_collections=self.ccc_infrastructure_collections, + ccc_infrastructure_id=self.ccc_infrastructure_id, + compartment_id=self.compartment_id, + compartment_id_in_subtree=self.compartment_id_in_subtree, + display_name=self.display_name, + display_name_contains=self.display_name_contains, + filters=self.filters, + id=self.id, + state=self.state) + + +def get_at_customer_ccc_infrastructures(access_level: Optional[str] = None, + ccc_infrastructure_id: Optional[str] = None, + compartment_id: Optional[str] = None, + compartment_id_in_subtree: Optional[bool] = None, + display_name: Optional[str] = None, + display_name_contains: Optional[str] = None, + filters: Optional[Sequence[pulumi.InputType['GetAtCustomerCccInfrastructuresFilterArgs']]] = None, + state: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAtCustomerCccInfrastructuresResult: + """ + This data source provides the list of Ccc Infrastructures in Oracle Cloud Infrastructure Compute Cloud At Customer service. + + Returns a list of Compute Cloud@Customer infrastructures. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_ccc_infrastructures = oci.ComputeCloud.get_at_customer_ccc_infrastructures(access_level=var["ccc_infrastructure_access_level"], + ccc_infrastructure_id=oci_compute_cloud_at_customer_ccc_infrastructure["test_ccc_infrastructure"]["id"], + compartment_id=var["compartment_id"], + compartment_id_in_subtree=var["ccc_infrastructure_compartment_id_in_subtree"], + display_name=var["ccc_infrastructure_display_name"], + display_name_contains=var["ccc_infrastructure_display_name_contains"], + state=var["ccc_infrastructure_state"]) + ``` + + + :param str access_level: Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed. + :param str ccc_infrastructure_id: An [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for a Compute Cloud@Customer Infrastructure. + :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + :param bool compartment_id_in_subtree: Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and sub-compartments in the tenancy are returned. Depends on the 'accessLevel' setting. + :param str display_name: A filter to return only resources that match the entire display name given. + :param str display_name_contains: A filter to return only resources whose display name contains the substring. + :param str state: A filter used to return only resources that match the given lifecycleState. + """ + __args__ = dict() + __args__['accessLevel'] = access_level + __args__['cccInfrastructureId'] = ccc_infrastructure_id + __args__['compartmentId'] = compartment_id + __args__['compartmentIdInSubtree'] = compartment_id_in_subtree + __args__['displayName'] = display_name + __args__['displayNameContains'] = display_name_contains + __args__['filters'] = filters + __args__['state'] = state + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('oci:ComputeCloud/getAtCustomerCccInfrastructures:getAtCustomerCccInfrastructures', __args__, opts=opts, typ=GetAtCustomerCccInfrastructuresResult).value + + return AwaitableGetAtCustomerCccInfrastructuresResult( + access_level=pulumi.get(__ret__, 'access_level'), + ccc_infrastructure_collections=pulumi.get(__ret__, 'ccc_infrastructure_collections'), + ccc_infrastructure_id=pulumi.get(__ret__, 'ccc_infrastructure_id'), + compartment_id=pulumi.get(__ret__, 'compartment_id'), + compartment_id_in_subtree=pulumi.get(__ret__, 'compartment_id_in_subtree'), + display_name=pulumi.get(__ret__, 'display_name'), + display_name_contains=pulumi.get(__ret__, 'display_name_contains'), + filters=pulumi.get(__ret__, 'filters'), + id=pulumi.get(__ret__, 'id'), + state=pulumi.get(__ret__, 'state')) + + +@_utilities.lift_output_func(get_at_customer_ccc_infrastructures) +def get_at_customer_ccc_infrastructures_output(access_level: Optional[pulumi.Input[Optional[str]]] = None, + ccc_infrastructure_id: Optional[pulumi.Input[Optional[str]]] = None, + compartment_id: Optional[pulumi.Input[Optional[str]]] = None, + compartment_id_in_subtree: Optional[pulumi.Input[Optional[bool]]] = None, + display_name: Optional[pulumi.Input[Optional[str]]] = None, + display_name_contains: Optional[pulumi.Input[Optional[str]]] = None, + filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetAtCustomerCccInfrastructuresFilterArgs']]]]] = None, + state: Optional[pulumi.Input[Optional[str]]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAtCustomerCccInfrastructuresResult]: + """ + This data source provides the list of Ccc Infrastructures in Oracle Cloud Infrastructure Compute Cloud At Customer service. + + Returns a list of Compute Cloud@Customer infrastructures. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_ccc_infrastructures = oci.ComputeCloud.get_at_customer_ccc_infrastructures(access_level=var["ccc_infrastructure_access_level"], + ccc_infrastructure_id=oci_compute_cloud_at_customer_ccc_infrastructure["test_ccc_infrastructure"]["id"], + compartment_id=var["compartment_id"], + compartment_id_in_subtree=var["ccc_infrastructure_compartment_id_in_subtree"], + display_name=var["ccc_infrastructure_display_name"], + display_name_contains=var["ccc_infrastructure_display_name_contains"], + state=var["ccc_infrastructure_state"]) + ``` + + + :param str access_level: Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed. + :param str ccc_infrastructure_id: An [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for a Compute Cloud@Customer Infrastructure. + :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + :param bool compartment_id_in_subtree: Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and sub-compartments in the tenancy are returned. Depends on the 'accessLevel' setting. + :param str display_name: A filter to return only resources that match the entire display name given. + :param str display_name_contains: A filter to return only resources whose display name contains the substring. + :param str state: A filter used to return only resources that match the given lifecycleState. + """ + ... diff --git a/sdk/python/pulumi_oci/computecloud/get_at_customer_ccc_upgrade_schedule.py b/sdk/python/pulumi_oci/computecloud/get_at_customer_ccc_upgrade_schedule.py new file mode 100644 index 0000000000..d61a4e4ffa --- /dev/null +++ b/sdk/python/pulumi_oci/computecloud/get_at_customer_ccc_upgrade_schedule.py @@ -0,0 +1,264 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs + +__all__ = [ + 'GetAtCustomerCccUpgradeScheduleResult', + 'AwaitableGetAtCustomerCccUpgradeScheduleResult', + 'get_at_customer_ccc_upgrade_schedule', + 'get_at_customer_ccc_upgrade_schedule_output', +] + +@pulumi.output_type +class GetAtCustomerCccUpgradeScheduleResult: + """ + A collection of values returned by getAtCustomerCccUpgradeSchedule. + """ + def __init__(__self__, ccc_upgrade_schedule_id=None, compartment_id=None, defined_tags=None, description=None, display_name=None, events=None, freeform_tags=None, id=None, infrastructure_ids=None, lifecycle_details=None, state=None, system_tags=None, time_created=None, time_updated=None): + if ccc_upgrade_schedule_id and not isinstance(ccc_upgrade_schedule_id, str): + raise TypeError("Expected argument 'ccc_upgrade_schedule_id' to be a str") + pulumi.set(__self__, "ccc_upgrade_schedule_id", ccc_upgrade_schedule_id) + if compartment_id and not isinstance(compartment_id, str): + raise TypeError("Expected argument 'compartment_id' to be a str") + pulumi.set(__self__, "compartment_id", compartment_id) + if defined_tags and not isinstance(defined_tags, dict): + raise TypeError("Expected argument 'defined_tags' to be a dict") + pulumi.set(__self__, "defined_tags", defined_tags) + if description and not isinstance(description, str): + raise TypeError("Expected argument 'description' to be a str") + pulumi.set(__self__, "description", description) + if display_name and not isinstance(display_name, str): + raise TypeError("Expected argument 'display_name' to be a str") + pulumi.set(__self__, "display_name", display_name) + if events and not isinstance(events, list): + raise TypeError("Expected argument 'events' to be a list") + pulumi.set(__self__, "events", events) + if freeform_tags and not isinstance(freeform_tags, dict): + raise TypeError("Expected argument 'freeform_tags' to be a dict") + pulumi.set(__self__, "freeform_tags", freeform_tags) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if infrastructure_ids and not isinstance(infrastructure_ids, list): + raise TypeError("Expected argument 'infrastructure_ids' to be a list") + pulumi.set(__self__, "infrastructure_ids", infrastructure_ids) + if lifecycle_details and not isinstance(lifecycle_details, str): + raise TypeError("Expected argument 'lifecycle_details' to be a str") + pulumi.set(__self__, "lifecycle_details", lifecycle_details) + if state and not isinstance(state, str): + raise TypeError("Expected argument 'state' to be a str") + pulumi.set(__self__, "state", state) + if system_tags and not isinstance(system_tags, dict): + raise TypeError("Expected argument 'system_tags' to be a dict") + pulumi.set(__self__, "system_tags", system_tags) + if time_created and not isinstance(time_created, str): + raise TypeError("Expected argument 'time_created' to be a str") + pulumi.set(__self__, "time_created", time_created) + if time_updated and not isinstance(time_updated, str): + raise TypeError("Expected argument 'time_updated' to be a str") + pulumi.set(__self__, "time_updated", time_updated) + + @property + @pulumi.getter(name="cccUpgradeScheduleId") + def ccc_upgrade_schedule_id(self) -> str: + return pulumi.get(self, "ccc_upgrade_schedule_id") + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> str: + """ + Compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Compute Cloud@Customer upgrade schedule. + """ + return pulumi.get(self, "compartment_id") + + @property + @pulumi.getter(name="definedTags") + def defined_tags(self) -> Mapping[str, Any]: + """ + Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + """ + return pulumi.get(self, "defined_tags") + + @property + @pulumi.getter + def description(self) -> str: + """ + A description of the Compute Cloud@Customer upgrade schedule time block. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> str: + """ + Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter + def events(self) -> Sequence['outputs.GetAtCustomerCccUpgradeScheduleEventResult']: + """ + List of preferred times for Compute Cloud@Customer infrastructures associated with this schedule to be upgraded. + """ + return pulumi.get(self, "events") + + @property + @pulumi.getter(name="freeformTags") + def freeform_tags(self) -> Mapping[str, Any]: + """ + Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + """ + return pulumi.get(self, "freeform_tags") + + @property + @pulumi.getter + def id(self) -> str: + """ + Upgrade schedule [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). This cannot be changed once created. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="infrastructureIds") + def infrastructure_ids(self) -> Sequence[str]: + """ + List of Compute Cloud@Customer infrastructure [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that are using this upgrade schedule. + """ + return pulumi.get(self, "infrastructure_ids") + + @property + @pulumi.getter(name="lifecycleDetails") + def lifecycle_details(self) -> str: + """ + A message describing the current state in more detail. For example, the message can be used to provide actionable information for a resource in a Failed state. + """ + return pulumi.get(self, "lifecycle_details") + + @property + @pulumi.getter + def state(self) -> str: + """ + Lifecycle state of the resource. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter(name="systemTags") + def system_tags(self) -> Mapping[str, Any]: + """ + System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + """ + return pulumi.get(self, "system_tags") + + @property + @pulumi.getter(name="timeCreated") + def time_created(self) -> str: + """ + The time the upgrade schedule was created, using an RFC3339 formatted datetime string. + """ + return pulumi.get(self, "time_created") + + @property + @pulumi.getter(name="timeUpdated") + def time_updated(self) -> str: + """ + The time the upgrade schedule was updated, using an RFC3339 formatted datetime string. + """ + return pulumi.get(self, "time_updated") + + +class AwaitableGetAtCustomerCccUpgradeScheduleResult(GetAtCustomerCccUpgradeScheduleResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetAtCustomerCccUpgradeScheduleResult( + ccc_upgrade_schedule_id=self.ccc_upgrade_schedule_id, + compartment_id=self.compartment_id, + defined_tags=self.defined_tags, + description=self.description, + display_name=self.display_name, + events=self.events, + freeform_tags=self.freeform_tags, + id=self.id, + infrastructure_ids=self.infrastructure_ids, + lifecycle_details=self.lifecycle_details, + state=self.state, + system_tags=self.system_tags, + time_created=self.time_created, + time_updated=self.time_updated) + + +def get_at_customer_ccc_upgrade_schedule(ccc_upgrade_schedule_id: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAtCustomerCccUpgradeScheduleResult: + """ + This data source provides details about a specific Ccc Upgrade Schedule resource in Oracle Cloud Infrastructure Compute Cloud At Customer service. + + Gets a Compute Cloud@Customer upgrade schedule by the specified + [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_ccc_upgrade_schedule = oci.ComputeCloud.get_at_customer_ccc_upgrade_schedule(ccc_upgrade_schedule_id=oci_compute_cloud_at_customer_ccc_upgrade_schedule["test_ccc_upgrade_schedule"]["id"]) + ``` + + + :param str ccc_upgrade_schedule_id: Compute Cloud@Customer upgrade schedule [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + """ + __args__ = dict() + __args__['cccUpgradeScheduleId'] = ccc_upgrade_schedule_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('oci:ComputeCloud/getAtCustomerCccUpgradeSchedule:getAtCustomerCccUpgradeSchedule', __args__, opts=opts, typ=GetAtCustomerCccUpgradeScheduleResult).value + + return AwaitableGetAtCustomerCccUpgradeScheduleResult( + ccc_upgrade_schedule_id=pulumi.get(__ret__, 'ccc_upgrade_schedule_id'), + compartment_id=pulumi.get(__ret__, 'compartment_id'), + defined_tags=pulumi.get(__ret__, 'defined_tags'), + description=pulumi.get(__ret__, 'description'), + display_name=pulumi.get(__ret__, 'display_name'), + events=pulumi.get(__ret__, 'events'), + freeform_tags=pulumi.get(__ret__, 'freeform_tags'), + id=pulumi.get(__ret__, 'id'), + infrastructure_ids=pulumi.get(__ret__, 'infrastructure_ids'), + lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'), + state=pulumi.get(__ret__, 'state'), + system_tags=pulumi.get(__ret__, 'system_tags'), + time_created=pulumi.get(__ret__, 'time_created'), + time_updated=pulumi.get(__ret__, 'time_updated')) + + +@_utilities.lift_output_func(get_at_customer_ccc_upgrade_schedule) +def get_at_customer_ccc_upgrade_schedule_output(ccc_upgrade_schedule_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAtCustomerCccUpgradeScheduleResult]: + """ + This data source provides details about a specific Ccc Upgrade Schedule resource in Oracle Cloud Infrastructure Compute Cloud At Customer service. + + Gets a Compute Cloud@Customer upgrade schedule by the specified + [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_ccc_upgrade_schedule = oci.ComputeCloud.get_at_customer_ccc_upgrade_schedule(ccc_upgrade_schedule_id=oci_compute_cloud_at_customer_ccc_upgrade_schedule["test_ccc_upgrade_schedule"]["id"]) + ``` + + + :param str ccc_upgrade_schedule_id: Compute Cloud@Customer upgrade schedule [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + """ + ... diff --git a/sdk/python/pulumi_oci/computecloud/get_at_customer_ccc_upgrade_schedules.py b/sdk/python/pulumi_oci/computecloud/get_at_customer_ccc_upgrade_schedules.py new file mode 100644 index 0000000000..024ad7b9c0 --- /dev/null +++ b/sdk/python/pulumi_oci/computecloud/get_at_customer_ccc_upgrade_schedules.py @@ -0,0 +1,244 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs +from ._inputs import * + +__all__ = [ + 'GetAtCustomerCccUpgradeSchedulesResult', + 'AwaitableGetAtCustomerCccUpgradeSchedulesResult', + 'get_at_customer_ccc_upgrade_schedules', + 'get_at_customer_ccc_upgrade_schedules_output', +] + +@pulumi.output_type +class GetAtCustomerCccUpgradeSchedulesResult: + """ + A collection of values returned by getAtCustomerCccUpgradeSchedules. + """ + def __init__(__self__, access_level=None, ccc_upgrade_schedule_collections=None, ccc_upgrade_schedule_id=None, compartment_id=None, compartment_id_in_subtree=None, display_name=None, display_name_contains=None, filters=None, id=None, state=None): + if access_level and not isinstance(access_level, str): + raise TypeError("Expected argument 'access_level' to be a str") + pulumi.set(__self__, "access_level", access_level) + if ccc_upgrade_schedule_collections and not isinstance(ccc_upgrade_schedule_collections, list): + raise TypeError("Expected argument 'ccc_upgrade_schedule_collections' to be a list") + pulumi.set(__self__, "ccc_upgrade_schedule_collections", ccc_upgrade_schedule_collections) + if ccc_upgrade_schedule_id and not isinstance(ccc_upgrade_schedule_id, str): + raise TypeError("Expected argument 'ccc_upgrade_schedule_id' to be a str") + pulumi.set(__self__, "ccc_upgrade_schedule_id", ccc_upgrade_schedule_id) + if compartment_id and not isinstance(compartment_id, str): + raise TypeError("Expected argument 'compartment_id' to be a str") + pulumi.set(__self__, "compartment_id", compartment_id) + if compartment_id_in_subtree and not isinstance(compartment_id_in_subtree, bool): + raise TypeError("Expected argument 'compartment_id_in_subtree' to be a bool") + pulumi.set(__self__, "compartment_id_in_subtree", compartment_id_in_subtree) + if display_name and not isinstance(display_name, str): + raise TypeError("Expected argument 'display_name' to be a str") + pulumi.set(__self__, "display_name", display_name) + if display_name_contains and not isinstance(display_name_contains, str): + raise TypeError("Expected argument 'display_name_contains' to be a str") + pulumi.set(__self__, "display_name_contains", display_name_contains) + if filters and not isinstance(filters, list): + raise TypeError("Expected argument 'filters' to be a list") + pulumi.set(__self__, "filters", filters) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if state and not isinstance(state, str): + raise TypeError("Expected argument 'state' to be a str") + pulumi.set(__self__, "state", state) + + @property + @pulumi.getter(name="accessLevel") + def access_level(self) -> Optional[str]: + return pulumi.get(self, "access_level") + + @property + @pulumi.getter(name="cccUpgradeScheduleCollections") + def ccc_upgrade_schedule_collections(self) -> Sequence['outputs.GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionResult']: + """ + The list of ccc_upgrade_schedule_collection. + """ + return pulumi.get(self, "ccc_upgrade_schedule_collections") + + @property + @pulumi.getter(name="cccUpgradeScheduleId") + def ccc_upgrade_schedule_id(self) -> Optional[str]: + return pulumi.get(self, "ccc_upgrade_schedule_id") + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> Optional[str]: + """ + Compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the Compute Cloud@Customer upgrade schedule. + """ + return pulumi.get(self, "compartment_id") + + @property + @pulumi.getter(name="compartmentIdInSubtree") + def compartment_id_in_subtree(self) -> Optional[bool]: + return pulumi.get(self, "compartment_id_in_subtree") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> Optional[str]: + """ + Compute Cloud@Customer upgrade schedule display name. Avoid entering confidential information. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter(name="displayNameContains") + def display_name_contains(self) -> Optional[str]: + return pulumi.get(self, "display_name_contains") + + @property + @pulumi.getter + def filters(self) -> Optional[Sequence['outputs.GetAtCustomerCccUpgradeSchedulesFilterResult']]: + return pulumi.get(self, "filters") + + @property + @pulumi.getter + def id(self) -> str: + """ + The provider-assigned unique ID for this managed resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def state(self) -> Optional[str]: + """ + Lifecycle state of the resource. + """ + return pulumi.get(self, "state") + + +class AwaitableGetAtCustomerCccUpgradeSchedulesResult(GetAtCustomerCccUpgradeSchedulesResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetAtCustomerCccUpgradeSchedulesResult( + access_level=self.access_level, + ccc_upgrade_schedule_collections=self.ccc_upgrade_schedule_collections, + ccc_upgrade_schedule_id=self.ccc_upgrade_schedule_id, + compartment_id=self.compartment_id, + compartment_id_in_subtree=self.compartment_id_in_subtree, + display_name=self.display_name, + display_name_contains=self.display_name_contains, + filters=self.filters, + id=self.id, + state=self.state) + + +def get_at_customer_ccc_upgrade_schedules(access_level: Optional[str] = None, + ccc_upgrade_schedule_id: Optional[str] = None, + compartment_id: Optional[str] = None, + compartment_id_in_subtree: Optional[bool] = None, + display_name: Optional[str] = None, + display_name_contains: Optional[str] = None, + filters: Optional[Sequence[pulumi.InputType['GetAtCustomerCccUpgradeSchedulesFilterArgs']]] = None, + state: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAtCustomerCccUpgradeSchedulesResult: + """ + This data source provides the list of Ccc Upgrade Schedules in Oracle Cloud Infrastructure Compute Cloud At Customer service. + + Returns a list of Compute Cloud@Customer upgrade schedules. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_ccc_upgrade_schedules = oci.ComputeCloud.get_at_customer_ccc_upgrade_schedules(access_level=var["ccc_upgrade_schedule_access_level"], + ccc_upgrade_schedule_id=oci_compute_cloud_at_customer_ccc_upgrade_schedule["test_ccc_upgrade_schedule"]["id"], + compartment_id=var["compartment_id"], + compartment_id_in_subtree=var["ccc_upgrade_schedule_compartment_id_in_subtree"], + display_name=var["ccc_upgrade_schedule_display_name"], + display_name_contains=var["ccc_upgrade_schedule_display_name_contains"], + state=var["ccc_upgrade_schedule_state"]) + ``` + + + :param str access_level: Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed. + :param str ccc_upgrade_schedule_id: Compute Cloud@Customer upgrade schedule [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + :param bool compartment_id_in_subtree: Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and sub-compartments in the tenancy are returned. Depends on the 'accessLevel' setting. + :param str display_name: A filter to return only resources that match the entire display name given. + :param str display_name_contains: A filter to return only resources whose display name contains the substring. + :param str state: A filter to return resources only when their lifecycleState matches the given lifecycleState. + """ + __args__ = dict() + __args__['accessLevel'] = access_level + __args__['cccUpgradeScheduleId'] = ccc_upgrade_schedule_id + __args__['compartmentId'] = compartment_id + __args__['compartmentIdInSubtree'] = compartment_id_in_subtree + __args__['displayName'] = display_name + __args__['displayNameContains'] = display_name_contains + __args__['filters'] = filters + __args__['state'] = state + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('oci:ComputeCloud/getAtCustomerCccUpgradeSchedules:getAtCustomerCccUpgradeSchedules', __args__, opts=opts, typ=GetAtCustomerCccUpgradeSchedulesResult).value + + return AwaitableGetAtCustomerCccUpgradeSchedulesResult( + access_level=pulumi.get(__ret__, 'access_level'), + ccc_upgrade_schedule_collections=pulumi.get(__ret__, 'ccc_upgrade_schedule_collections'), + ccc_upgrade_schedule_id=pulumi.get(__ret__, 'ccc_upgrade_schedule_id'), + compartment_id=pulumi.get(__ret__, 'compartment_id'), + compartment_id_in_subtree=pulumi.get(__ret__, 'compartment_id_in_subtree'), + display_name=pulumi.get(__ret__, 'display_name'), + display_name_contains=pulumi.get(__ret__, 'display_name_contains'), + filters=pulumi.get(__ret__, 'filters'), + id=pulumi.get(__ret__, 'id'), + state=pulumi.get(__ret__, 'state')) + + +@_utilities.lift_output_func(get_at_customer_ccc_upgrade_schedules) +def get_at_customer_ccc_upgrade_schedules_output(access_level: Optional[pulumi.Input[Optional[str]]] = None, + ccc_upgrade_schedule_id: Optional[pulumi.Input[Optional[str]]] = None, + compartment_id: Optional[pulumi.Input[Optional[str]]] = None, + compartment_id_in_subtree: Optional[pulumi.Input[Optional[bool]]] = None, + display_name: Optional[pulumi.Input[Optional[str]]] = None, + display_name_contains: Optional[pulumi.Input[Optional[str]]] = None, + filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetAtCustomerCccUpgradeSchedulesFilterArgs']]]]] = None, + state: Optional[pulumi.Input[Optional[str]]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAtCustomerCccUpgradeSchedulesResult]: + """ + This data source provides the list of Ccc Upgrade Schedules in Oracle Cloud Infrastructure Compute Cloud At Customer service. + + Returns a list of Compute Cloud@Customer upgrade schedules. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_ccc_upgrade_schedules = oci.ComputeCloud.get_at_customer_ccc_upgrade_schedules(access_level=var["ccc_upgrade_schedule_access_level"], + ccc_upgrade_schedule_id=oci_compute_cloud_at_customer_ccc_upgrade_schedule["test_ccc_upgrade_schedule"]["id"], + compartment_id=var["compartment_id"], + compartment_id_in_subtree=var["ccc_upgrade_schedule_compartment_id_in_subtree"], + display_name=var["ccc_upgrade_schedule_display_name"], + display_name_contains=var["ccc_upgrade_schedule_display_name_contains"], + state=var["ccc_upgrade_schedule_state"]) + ``` + + + :param str access_level: Valid values are RESTRICTED and ACCESSIBLE. Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed. + :param str ccc_upgrade_schedule_id: Compute Cloud@Customer upgrade schedule [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + :param bool compartment_id_in_subtree: Default is false. When set to true, the hierarchy of compartments is traversed and all compartments and sub-compartments in the tenancy are returned. Depends on the 'accessLevel' setting. + :param str display_name: A filter to return only resources that match the entire display name given. + :param str display_name_contains: A filter to return only resources whose display name contains the substring. + :param str state: A filter to return resources only when their lifecycleState matches the given lifecycleState. + """ + ... diff --git a/sdk/python/pulumi_oci/computecloud/outputs.py b/sdk/python/pulumi_oci/computecloud/outputs.py new file mode 100644 index 0000000000..f33c7d41ed --- /dev/null +++ b/sdk/python/pulumi_oci/computecloud/outputs.py @@ -0,0 +1,2650 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs + +__all__ = [ + 'AtCustomerCccInfrastructureInfrastructureInventory', + 'AtCustomerCccInfrastructureInfrastructureNetworkConfiguration', + 'AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic', + 'AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation', + 'AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic', + 'AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode', + 'AtCustomerCccInfrastructureUpgradeInformation', + 'AtCustomerCccUpgradeScheduleEvent', + 'GetAtCustomerCccInfrastructureInfrastructureInventoryResult', + 'GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationResult', + 'GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicResult', + 'GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationResult', + 'GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticResult', + 'GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeResult', + 'GetAtCustomerCccInfrastructureUpgradeInformationResult', + 'GetAtCustomerCccInfrastructuresCccInfrastructureCollectionResult', + 'GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemResult', + 'GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryResult', + 'GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationResult', + 'GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicResult', + 'GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationResult', + 'GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticResult', + 'GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeResult', + 'GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationResult', + 'GetAtCustomerCccInfrastructuresFilterResult', + 'GetAtCustomerCccUpgradeScheduleEventResult', + 'GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionResult', + 'GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemResult', + 'GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventResult', + 'GetAtCustomerCccUpgradeSchedulesFilterResult', +] + +@pulumi.output_type +class AtCustomerCccInfrastructureInfrastructureInventory(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "capacityStorageTrayCount": + suggest = "capacity_storage_tray_count" + elif key == "computeNodeCount": + suggest = "compute_node_count" + elif key == "managementNodeCount": + suggest = "management_node_count" + elif key == "performanceStorageTrayCount": + suggest = "performance_storage_tray_count" + elif key == "serialNumber": + suggest = "serial_number" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AtCustomerCccInfrastructureInfrastructureInventory. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AtCustomerCccInfrastructureInfrastructureInventory.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AtCustomerCccInfrastructureInfrastructureInventory.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + capacity_storage_tray_count: Optional[int] = None, + compute_node_count: Optional[int] = None, + management_node_count: Optional[int] = None, + performance_storage_tray_count: Optional[int] = None, + serial_number: Optional[str] = None): + """ + :param int capacity_storage_tray_count: The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for capacity storage. + :param int compute_node_count: The number of compute nodes that are available and usable on the Compute Cloud@Customer infrastructure rack. There is no distinction of compute node type in this information. + :param int management_node_count: The number of management nodes that are available and in active use on the Compute Cloud@Customer infrastructure rack. + :param int performance_storage_tray_count: The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for performance storage. + :param str serial_number: The serial number of the Compute Cloud@Customer infrastructure rack. + """ + AtCustomerCccInfrastructureInfrastructureInventory._configure( + lambda key, value: pulumi.set(__self__, key, value), + capacity_storage_tray_count=capacity_storage_tray_count, + compute_node_count=compute_node_count, + management_node_count=management_node_count, + performance_storage_tray_count=performance_storage_tray_count, + serial_number=serial_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + capacity_storage_tray_count: Optional[int] = None, + compute_node_count: Optional[int] = None, + management_node_count: Optional[int] = None, + performance_storage_tray_count: Optional[int] = None, + serial_number: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if capacity_storage_tray_count is not None: + _setter("capacity_storage_tray_count", capacity_storage_tray_count) + if compute_node_count is not None: + _setter("compute_node_count", compute_node_count) + if management_node_count is not None: + _setter("management_node_count", management_node_count) + if performance_storage_tray_count is not None: + _setter("performance_storage_tray_count", performance_storage_tray_count) + if serial_number is not None: + _setter("serial_number", serial_number) + + @property + @pulumi.getter(name="capacityStorageTrayCount") + def capacity_storage_tray_count(self) -> Optional[int]: + """ + The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for capacity storage. + """ + return pulumi.get(self, "capacity_storage_tray_count") + + @property + @pulumi.getter(name="computeNodeCount") + def compute_node_count(self) -> Optional[int]: + """ + The number of compute nodes that are available and usable on the Compute Cloud@Customer infrastructure rack. There is no distinction of compute node type in this information. + """ + return pulumi.get(self, "compute_node_count") + + @property + @pulumi.getter(name="managementNodeCount") + def management_node_count(self) -> Optional[int]: + """ + The number of management nodes that are available and in active use on the Compute Cloud@Customer infrastructure rack. + """ + return pulumi.get(self, "management_node_count") + + @property + @pulumi.getter(name="performanceStorageTrayCount") + def performance_storage_tray_count(self) -> Optional[int]: + """ + The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for performance storage. + """ + return pulumi.get(self, "performance_storage_tray_count") + + @property + @pulumi.getter(name="serialNumber") + def serial_number(self) -> Optional[str]: + """ + The serial number of the Compute Cloud@Customer infrastructure rack. + """ + return pulumi.get(self, "serial_number") + + +@pulumi.output_type +class AtCustomerCccInfrastructureInfrastructureNetworkConfiguration(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "dnsIps": + suggest = "dns_ips" + elif key == "infrastructureRoutingDynamics": + suggest = "infrastructure_routing_dynamics" + elif key == "infrastructureRoutingStatics": + suggest = "infrastructure_routing_statics" + elif key == "managementNodes": + suggest = "management_nodes" + elif key == "mgmtVipHostname": + suggest = "mgmt_vip_hostname" + elif key == "mgmtVipIp": + suggest = "mgmt_vip_ip" + elif key == "spineIps": + suggest = "spine_ips" + elif key == "spineVip": + suggest = "spine_vip" + elif key == "uplinkDomain": + suggest = "uplink_domain" + elif key == "uplinkGatewayIp": + suggest = "uplink_gateway_ip" + elif key == "uplinkNetmask": + suggest = "uplink_netmask" + elif key == "uplinkPortCount": + suggest = "uplink_port_count" + elif key == "uplinkPortForwardErrorCorrection": + suggest = "uplink_port_forward_error_correction" + elif key == "uplinkPortSpeedInGbps": + suggest = "uplink_port_speed_in_gbps" + elif key == "uplinkVlanMtu": + suggest = "uplink_vlan_mtu" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AtCustomerCccInfrastructureInfrastructureNetworkConfiguration. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AtCustomerCccInfrastructureInfrastructureNetworkConfiguration.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AtCustomerCccInfrastructureInfrastructureNetworkConfiguration.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + dns_ips: Optional[Sequence[str]] = None, + infrastructure_routing_dynamics: Optional[Sequence['outputs.AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic']] = None, + infrastructure_routing_statics: Optional[Sequence['outputs.AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic']] = None, + management_nodes: Optional[Sequence['outputs.AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode']] = None, + mgmt_vip_hostname: Optional[str] = None, + mgmt_vip_ip: Optional[str] = None, + spine_ips: Optional[Sequence[str]] = None, + spine_vip: Optional[str] = None, + uplink_domain: Optional[str] = None, + uplink_gateway_ip: Optional[str] = None, + uplink_netmask: Optional[str] = None, + uplink_port_count: Optional[int] = None, + uplink_port_forward_error_correction: Optional[str] = None, + uplink_port_speed_in_gbps: Optional[int] = None, + uplink_vlan_mtu: Optional[int] = None): + """ + :param Sequence[str] dns_ips: The domain name system (DNS) addresses that the Compute Cloud@Customer infrastructure uses for the data center network. + :param Sequence['AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArgs'] infrastructure_routing_dynamics: Dynamic routing information for the Compute Cloud@Customer infrastructure. + :param Sequence['AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArgs'] infrastructure_routing_statics: Static routing information for a rack. + :param Sequence['AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArgs'] management_nodes: Information about the management nodes that are provisioned in the Compute Cloud@Customer infrastructure. + :param str mgmt_vip_hostname: The hostname corresponding to the virtual IP (VIP) address of the management nodes. + :param str mgmt_vip_ip: The IP address used as the virtual IP (VIP) address of the management nodes. + :param Sequence[str] spine_ips: Addresses of the network spine switches. + :param str spine_vip: The spine switch public virtual IP (VIP). Traffic routed to the Compute Cloud@Customer infrastructure and and virtual cloud networks (VCNs) should have this address as next hop. + :param str uplink_domain: Domain name to be used as the base domain for the internal network and by public facing services. + :param str uplink_gateway_ip: Uplink gateway in the datacenter network that the Compute Cloud@Customer connects to. + :param str uplink_netmask: Netmask of the subnet that the Compute Cloud@Customer infrastructure is connected to. + :param int uplink_port_count: Number of uplink ports per spine switch. Connectivity is identical on both spine switches. For example, if input is two 100 gigabyte ports; then port-1 and port-2 on both spines will be configured. + :param str uplink_port_forward_error_correction: The port forward error correction (FEC) setting for the uplink port on the Compute Cloud@Customer infrastructure. + :param int uplink_port_speed_in_gbps: Uplink port speed defined in gigabytes per second. All uplink ports must have identical speed. + :param int uplink_vlan_mtu: The virtual local area network (VLAN) maximum transmission unit (MTU) size for the uplink ports. + """ + AtCustomerCccInfrastructureInfrastructureNetworkConfiguration._configure( + lambda key, value: pulumi.set(__self__, key, value), + dns_ips=dns_ips, + infrastructure_routing_dynamics=infrastructure_routing_dynamics, + infrastructure_routing_statics=infrastructure_routing_statics, + management_nodes=management_nodes, + mgmt_vip_hostname=mgmt_vip_hostname, + mgmt_vip_ip=mgmt_vip_ip, + spine_ips=spine_ips, + spine_vip=spine_vip, + uplink_domain=uplink_domain, + uplink_gateway_ip=uplink_gateway_ip, + uplink_netmask=uplink_netmask, + uplink_port_count=uplink_port_count, + uplink_port_forward_error_correction=uplink_port_forward_error_correction, + uplink_port_speed_in_gbps=uplink_port_speed_in_gbps, + uplink_vlan_mtu=uplink_vlan_mtu, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + dns_ips: Optional[Sequence[str]] = None, + infrastructure_routing_dynamics: Optional[Sequence['outputs.AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic']] = None, + infrastructure_routing_statics: Optional[Sequence['outputs.AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic']] = None, + management_nodes: Optional[Sequence['outputs.AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode']] = None, + mgmt_vip_hostname: Optional[str] = None, + mgmt_vip_ip: Optional[str] = None, + spine_ips: Optional[Sequence[str]] = None, + spine_vip: Optional[str] = None, + uplink_domain: Optional[str] = None, + uplink_gateway_ip: Optional[str] = None, + uplink_netmask: Optional[str] = None, + uplink_port_count: Optional[int] = None, + uplink_port_forward_error_correction: Optional[str] = None, + uplink_port_speed_in_gbps: Optional[int] = None, + uplink_vlan_mtu: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if dns_ips is not None: + _setter("dns_ips", dns_ips) + if infrastructure_routing_dynamics is not None: + _setter("infrastructure_routing_dynamics", infrastructure_routing_dynamics) + if infrastructure_routing_statics is not None: + _setter("infrastructure_routing_statics", infrastructure_routing_statics) + if management_nodes is not None: + _setter("management_nodes", management_nodes) + if mgmt_vip_hostname is not None: + _setter("mgmt_vip_hostname", mgmt_vip_hostname) + if mgmt_vip_ip is not None: + _setter("mgmt_vip_ip", mgmt_vip_ip) + if spine_ips is not None: + _setter("spine_ips", spine_ips) + if spine_vip is not None: + _setter("spine_vip", spine_vip) + if uplink_domain is not None: + _setter("uplink_domain", uplink_domain) + if uplink_gateway_ip is not None: + _setter("uplink_gateway_ip", uplink_gateway_ip) + if uplink_netmask is not None: + _setter("uplink_netmask", uplink_netmask) + if uplink_port_count is not None: + _setter("uplink_port_count", uplink_port_count) + if uplink_port_forward_error_correction is not None: + _setter("uplink_port_forward_error_correction", uplink_port_forward_error_correction) + if uplink_port_speed_in_gbps is not None: + _setter("uplink_port_speed_in_gbps", uplink_port_speed_in_gbps) + if uplink_vlan_mtu is not None: + _setter("uplink_vlan_mtu", uplink_vlan_mtu) + + @property + @pulumi.getter(name="dnsIps") + def dns_ips(self) -> Optional[Sequence[str]]: + """ + The domain name system (DNS) addresses that the Compute Cloud@Customer infrastructure uses for the data center network. + """ + return pulumi.get(self, "dns_ips") + + @property + @pulumi.getter(name="infrastructureRoutingDynamics") + def infrastructure_routing_dynamics(self) -> Optional[Sequence['outputs.AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic']]: + """ + Dynamic routing information for the Compute Cloud@Customer infrastructure. + """ + return pulumi.get(self, "infrastructure_routing_dynamics") + + @property + @pulumi.getter(name="infrastructureRoutingStatics") + def infrastructure_routing_statics(self) -> Optional[Sequence['outputs.AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic']]: + """ + Static routing information for a rack. + """ + return pulumi.get(self, "infrastructure_routing_statics") + + @property + @pulumi.getter(name="managementNodes") + def management_nodes(self) -> Optional[Sequence['outputs.AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode']]: + """ + Information about the management nodes that are provisioned in the Compute Cloud@Customer infrastructure. + """ + return pulumi.get(self, "management_nodes") + + @property + @pulumi.getter(name="mgmtVipHostname") + def mgmt_vip_hostname(self) -> Optional[str]: + """ + The hostname corresponding to the virtual IP (VIP) address of the management nodes. + """ + return pulumi.get(self, "mgmt_vip_hostname") + + @property + @pulumi.getter(name="mgmtVipIp") + def mgmt_vip_ip(self) -> Optional[str]: + """ + The IP address used as the virtual IP (VIP) address of the management nodes. + """ + return pulumi.get(self, "mgmt_vip_ip") + + @property + @pulumi.getter(name="spineIps") + def spine_ips(self) -> Optional[Sequence[str]]: + """ + Addresses of the network spine switches. + """ + return pulumi.get(self, "spine_ips") + + @property + @pulumi.getter(name="spineVip") + def spine_vip(self) -> Optional[str]: + """ + The spine switch public virtual IP (VIP). Traffic routed to the Compute Cloud@Customer infrastructure and and virtual cloud networks (VCNs) should have this address as next hop. + """ + return pulumi.get(self, "spine_vip") + + @property + @pulumi.getter(name="uplinkDomain") + def uplink_domain(self) -> Optional[str]: + """ + Domain name to be used as the base domain for the internal network and by public facing services. + """ + return pulumi.get(self, "uplink_domain") + + @property + @pulumi.getter(name="uplinkGatewayIp") + def uplink_gateway_ip(self) -> Optional[str]: + """ + Uplink gateway in the datacenter network that the Compute Cloud@Customer connects to. + """ + return pulumi.get(self, "uplink_gateway_ip") + + @property + @pulumi.getter(name="uplinkNetmask") + def uplink_netmask(self) -> Optional[str]: + """ + Netmask of the subnet that the Compute Cloud@Customer infrastructure is connected to. + """ + return pulumi.get(self, "uplink_netmask") + + @property + @pulumi.getter(name="uplinkPortCount") + def uplink_port_count(self) -> Optional[int]: + """ + Number of uplink ports per spine switch. Connectivity is identical on both spine switches. For example, if input is two 100 gigabyte ports; then port-1 and port-2 on both spines will be configured. + """ + return pulumi.get(self, "uplink_port_count") + + @property + @pulumi.getter(name="uplinkPortForwardErrorCorrection") + def uplink_port_forward_error_correction(self) -> Optional[str]: + """ + The port forward error correction (FEC) setting for the uplink port on the Compute Cloud@Customer infrastructure. + """ + return pulumi.get(self, "uplink_port_forward_error_correction") + + @property + @pulumi.getter(name="uplinkPortSpeedInGbps") + def uplink_port_speed_in_gbps(self) -> Optional[int]: + """ + Uplink port speed defined in gigabytes per second. All uplink ports must have identical speed. + """ + return pulumi.get(self, "uplink_port_speed_in_gbps") + + @property + @pulumi.getter(name="uplinkVlanMtu") + def uplink_vlan_mtu(self) -> Optional[int]: + """ + The virtual local area network (VLAN) maximum transmission unit (MTU) size for the uplink ports. + """ + return pulumi.get(self, "uplink_vlan_mtu") + + +@pulumi.output_type +class AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "bgpTopology": + suggest = "bgp_topology" + elif key == "oracleAsn": + suggest = "oracle_asn" + elif key == "peerInformations": + suggest = "peer_informations" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + bgp_topology: Optional[str] = None, + oracle_asn: Optional[int] = None, + peer_informations: Optional[Sequence['outputs.AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation']] = None): + """ + :param str bgp_topology: The topology in use for the Border Gateway Protocol (BGP) configuration. + :param int oracle_asn: The Oracle Autonomous System Number (ASN) to control routing and exchange information within the dynamic routing configuration. + :param Sequence['AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArgs'] peer_informations: The list of peer devices in the dynamic routing configuration. + """ + AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamic._configure( + lambda key, value: pulumi.set(__self__, key, value), + bgp_topology=bgp_topology, + oracle_asn=oracle_asn, + peer_informations=peer_informations, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bgp_topology: Optional[str] = None, + oracle_asn: Optional[int] = None, + peer_informations: Optional[Sequence['outputs.AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if bgp_topology is not None: + _setter("bgp_topology", bgp_topology) + if oracle_asn is not None: + _setter("oracle_asn", oracle_asn) + if peer_informations is not None: + _setter("peer_informations", peer_informations) + + @property + @pulumi.getter(name="bgpTopology") + def bgp_topology(self) -> Optional[str]: + """ + The topology in use for the Border Gateway Protocol (BGP) configuration. + """ + return pulumi.get(self, "bgp_topology") + + @property + @pulumi.getter(name="oracleAsn") + def oracle_asn(self) -> Optional[int]: + """ + The Oracle Autonomous System Number (ASN) to control routing and exchange information within the dynamic routing configuration. + """ + return pulumi.get(self, "oracle_asn") + + @property + @pulumi.getter(name="peerInformations") + def peer_informations(self) -> Optional[Sequence['outputs.AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation']]: + """ + The list of peer devices in the dynamic routing configuration. + """ + return pulumi.get(self, "peer_informations") + + +@pulumi.output_type +class AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation(dict): + def __init__(__self__, *, + asn: Optional[int] = None, + ip: Optional[str] = None): + """ + :param int asn: The Autonomous System Number (ASN) of the peer network. + :param str ip: Address of the management node. + """ + AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformation._configure( + lambda key, value: pulumi.set(__self__, key, value), + asn=asn, + ip=ip, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + asn: Optional[int] = None, + ip: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if asn is not None: + _setter("asn", asn) + if ip is not None: + _setter("ip", ip) + + @property + @pulumi.getter + def asn(self) -> Optional[int]: + """ + The Autonomous System Number (ASN) of the peer network. + """ + return pulumi.get(self, "asn") + + @property + @pulumi.getter + def ip(self) -> Optional[str]: + """ + Address of the management node. + """ + return pulumi.get(self, "ip") + + +@pulumi.output_type +class AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "uplinkHsrpGroup": + suggest = "uplink_hsrp_group" + elif key == "uplinkVlan": + suggest = "uplink_vlan" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + uplink_hsrp_group: Optional[int] = None, + uplink_vlan: Optional[int] = None): + """ + :param int uplink_hsrp_group: The uplink Hot Standby Router Protocol (HSRP) group value for the switch in the Compute Cloud@Customer infrastructure. + :param int uplink_vlan: The virtual local area network (VLAN) identifier used to connect to the uplink (only access mode is supported). + """ + AtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStatic._configure( + lambda key, value: pulumi.set(__self__, key, value), + uplink_hsrp_group=uplink_hsrp_group, + uplink_vlan=uplink_vlan, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + uplink_hsrp_group: Optional[int] = None, + uplink_vlan: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if uplink_hsrp_group is not None: + _setter("uplink_hsrp_group", uplink_hsrp_group) + if uplink_vlan is not None: + _setter("uplink_vlan", uplink_vlan) + + @property + @pulumi.getter(name="uplinkHsrpGroup") + def uplink_hsrp_group(self) -> Optional[int]: + """ + The uplink Hot Standby Router Protocol (HSRP) group value for the switch in the Compute Cloud@Customer infrastructure. + """ + return pulumi.get(self, "uplink_hsrp_group") + + @property + @pulumi.getter(name="uplinkVlan") + def uplink_vlan(self) -> Optional[int]: + """ + The virtual local area network (VLAN) identifier used to connect to the uplink (only access mode is supported). + """ + return pulumi.get(self, "uplink_vlan") + + +@pulumi.output_type +class AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode(dict): + def __init__(__self__, *, + hostname: Optional[str] = None, + ip: Optional[str] = None): + """ + :param str hostname: Hostname for interface to the management node. + :param str ip: Address of the management node. + """ + AtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNode._configure( + lambda key, value: pulumi.set(__self__, key, value), + hostname=hostname, + ip=ip, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hostname: Optional[str] = None, + ip: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if hostname is not None: + _setter("hostname", hostname) + if ip is not None: + _setter("ip", ip) + + @property + @pulumi.getter + def hostname(self) -> Optional[str]: + """ + Hostname for interface to the management node. + """ + return pulumi.get(self, "hostname") + + @property + @pulumi.getter + def ip(self) -> Optional[str]: + """ + Address of the management node. + """ + return pulumi.get(self, "ip") + + +@pulumi.output_type +class AtCustomerCccInfrastructureUpgradeInformation(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "currentVersion": + suggest = "current_version" + elif key == "isActive": + suggest = "is_active" + elif key == "scheduledUpgradeDuration": + suggest = "scheduled_upgrade_duration" + elif key == "timeOfScheduledUpgrade": + suggest = "time_of_scheduled_upgrade" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AtCustomerCccInfrastructureUpgradeInformation. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AtCustomerCccInfrastructureUpgradeInformation.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AtCustomerCccInfrastructureUpgradeInformation.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + current_version: Optional[str] = None, + is_active: Optional[bool] = None, + scheduled_upgrade_duration: Optional[str] = None, + time_of_scheduled_upgrade: Optional[str] = None): + """ + :param str current_version: The current version of software installed on the Compute Cloud@Customer infrastructure. + :param bool is_active: Indication that the Compute Cloud@Customer infrastructure is in the process of an upgrade or an upgrade activity (such as preloading upgrade images). + :param str scheduled_upgrade_duration: Expected duration of Compute Cloud@Customer infrastructure scheduled upgrade. The actual upgrade time might be longer or shorter than this duration depending on rack activity, this is only an estimate. + :param str time_of_scheduled_upgrade: Compute Cloud@Customer infrastructure next upgrade time. The rack might have performance impacts during this time. + """ + AtCustomerCccInfrastructureUpgradeInformation._configure( + lambda key, value: pulumi.set(__self__, key, value), + current_version=current_version, + is_active=is_active, + scheduled_upgrade_duration=scheduled_upgrade_duration, + time_of_scheduled_upgrade=time_of_scheduled_upgrade, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + current_version: Optional[str] = None, + is_active: Optional[bool] = None, + scheduled_upgrade_duration: Optional[str] = None, + time_of_scheduled_upgrade: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if current_version is not None: + _setter("current_version", current_version) + if is_active is not None: + _setter("is_active", is_active) + if scheduled_upgrade_duration is not None: + _setter("scheduled_upgrade_duration", scheduled_upgrade_duration) + if time_of_scheduled_upgrade is not None: + _setter("time_of_scheduled_upgrade", time_of_scheduled_upgrade) + + @property + @pulumi.getter(name="currentVersion") + def current_version(self) -> Optional[str]: + """ + The current version of software installed on the Compute Cloud@Customer infrastructure. + """ + return pulumi.get(self, "current_version") + + @property + @pulumi.getter(name="isActive") + def is_active(self) -> Optional[bool]: + """ + Indication that the Compute Cloud@Customer infrastructure is in the process of an upgrade or an upgrade activity (such as preloading upgrade images). + """ + return pulumi.get(self, "is_active") + + @property + @pulumi.getter(name="scheduledUpgradeDuration") + def scheduled_upgrade_duration(self) -> Optional[str]: + """ + Expected duration of Compute Cloud@Customer infrastructure scheduled upgrade. The actual upgrade time might be longer or shorter than this duration depending on rack activity, this is only an estimate. + """ + return pulumi.get(self, "scheduled_upgrade_duration") + + @property + @pulumi.getter(name="timeOfScheduledUpgrade") + def time_of_scheduled_upgrade(self) -> Optional[str]: + """ + Compute Cloud@Customer infrastructure next upgrade time. The rack might have performance impacts during this time. + """ + return pulumi.get(self, "time_of_scheduled_upgrade") + + +@pulumi.output_type +class AtCustomerCccUpgradeScheduleEvent(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "scheduleEventDuration": + suggest = "schedule_event_duration" + elif key == "timeStart": + suggest = "time_start" + elif key == "scheduleEventRecurrences": + suggest = "schedule_event_recurrences" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AtCustomerCccUpgradeScheduleEvent. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AtCustomerCccUpgradeScheduleEvent.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AtCustomerCccUpgradeScheduleEvent.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + description: str, + schedule_event_duration: str, + time_start: str, + name: Optional[str] = None, + schedule_event_recurrences: Optional[str] = None): + """ + :param str description: (Updatable) A description of the Compute Cloud@Customer upgrade schedule time block. + :param str schedule_event_duration: (Updatable) The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations. + :param str time_start: (Updatable) The date and time when the Compute Cloud@Customer upgrade schedule event starts, inclusive. An RFC3339 formatted UTC datetime string. For an event with recurrences, this is the date that a recurrence can start being applied. + :param str name: Generated name associated with the event. + :param str schedule_event_recurrences: (Updatable) Frequency of recurrence of schedule block. When this field is not included, the event is assumed to be a one time occurrence. The frequency field is strictly parsed and must conform to RFC-5545 formatting for recurrences. + """ + AtCustomerCccUpgradeScheduleEvent._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + schedule_event_duration=schedule_event_duration, + time_start=time_start, + name=name, + schedule_event_recurrences=schedule_event_recurrences, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + schedule_event_duration: str, + time_start: str, + name: Optional[str] = None, + schedule_event_recurrences: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("schedule_event_duration", schedule_event_duration) + _setter("time_start", time_start) + if name is not None: + _setter("name", name) + if schedule_event_recurrences is not None: + _setter("schedule_event_recurrences", schedule_event_recurrences) + + @property + @pulumi.getter + def description(self) -> str: + """ + (Updatable) A description of the Compute Cloud@Customer upgrade schedule time block. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="scheduleEventDuration") + def schedule_event_duration(self) -> str: + """ + (Updatable) The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations. + """ + return pulumi.get(self, "schedule_event_duration") + + @property + @pulumi.getter(name="timeStart") + def time_start(self) -> str: + """ + (Updatable) The date and time when the Compute Cloud@Customer upgrade schedule event starts, inclusive. An RFC3339 formatted UTC datetime string. For an event with recurrences, this is the date that a recurrence can start being applied. + """ + return pulumi.get(self, "time_start") + + @property + @pulumi.getter + def name(self) -> Optional[str]: + """ + Generated name associated with the event. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="scheduleEventRecurrences") + def schedule_event_recurrences(self) -> Optional[str]: + """ + (Updatable) Frequency of recurrence of schedule block. When this field is not included, the event is assumed to be a one time occurrence. The frequency field is strictly parsed and must conform to RFC-5545 formatting for recurrences. + """ + return pulumi.get(self, "schedule_event_recurrences") + + +@pulumi.output_type +class GetAtCustomerCccInfrastructureInfrastructureInventoryResult(dict): + def __init__(__self__, *, + capacity_storage_tray_count: int, + compute_node_count: int, + management_node_count: int, + performance_storage_tray_count: int, + serial_number: str): + """ + :param int capacity_storage_tray_count: The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for capacity storage. + :param int compute_node_count: The number of compute nodes that are available and usable on the Compute Cloud@Customer infrastructure rack. There is no distinction of compute node type in this information. + :param int management_node_count: The number of management nodes that are available and in active use on the Compute Cloud@Customer infrastructure rack. + :param int performance_storage_tray_count: The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for performance storage. + :param str serial_number: The serial number of the Compute Cloud@Customer infrastructure rack. + """ + GetAtCustomerCccInfrastructureInfrastructureInventoryResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + capacity_storage_tray_count=capacity_storage_tray_count, + compute_node_count=compute_node_count, + management_node_count=management_node_count, + performance_storage_tray_count=performance_storage_tray_count, + serial_number=serial_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + capacity_storage_tray_count: int, + compute_node_count: int, + management_node_count: int, + performance_storage_tray_count: int, + serial_number: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("capacity_storage_tray_count", capacity_storage_tray_count) + _setter("compute_node_count", compute_node_count) + _setter("management_node_count", management_node_count) + _setter("performance_storage_tray_count", performance_storage_tray_count) + _setter("serial_number", serial_number) + + @property + @pulumi.getter(name="capacityStorageTrayCount") + def capacity_storage_tray_count(self) -> int: + """ + The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for capacity storage. + """ + return pulumi.get(self, "capacity_storage_tray_count") + + @property + @pulumi.getter(name="computeNodeCount") + def compute_node_count(self) -> int: + """ + The number of compute nodes that are available and usable on the Compute Cloud@Customer infrastructure rack. There is no distinction of compute node type in this information. + """ + return pulumi.get(self, "compute_node_count") + + @property + @pulumi.getter(name="managementNodeCount") + def management_node_count(self) -> int: + """ + The number of management nodes that are available and in active use on the Compute Cloud@Customer infrastructure rack. + """ + return pulumi.get(self, "management_node_count") + + @property + @pulumi.getter(name="performanceStorageTrayCount") + def performance_storage_tray_count(self) -> int: + """ + The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for performance storage. + """ + return pulumi.get(self, "performance_storage_tray_count") + + @property + @pulumi.getter(name="serialNumber") + def serial_number(self) -> str: + """ + The serial number of the Compute Cloud@Customer infrastructure rack. + """ + return pulumi.get(self, "serial_number") + + +@pulumi.output_type +class GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationResult(dict): + def __init__(__self__, *, + dns_ips: Sequence[str], + infrastructure_routing_dynamics: Sequence['outputs.GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicResult'], + infrastructure_routing_statics: Sequence['outputs.GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticResult'], + management_nodes: Sequence['outputs.GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeResult'], + mgmt_vip_hostname: str, + mgmt_vip_ip: str, + spine_ips: Sequence[str], + spine_vip: str, + uplink_domain: str, + uplink_gateway_ip: str, + uplink_netmask: str, + uplink_port_count: int, + uplink_port_forward_error_correction: str, + uplink_port_speed_in_gbps: int, + uplink_vlan_mtu: int): + """ + :param Sequence[str] dns_ips: The domain name system (DNS) addresses that the Compute Cloud@Customer infrastructure uses for the data center network. + :param Sequence['GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArgs'] infrastructure_routing_dynamics: Dynamic routing information for the Compute Cloud@Customer infrastructure. + :param Sequence['GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticArgs'] infrastructure_routing_statics: Static routing information for a rack. + :param Sequence['GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeArgs'] management_nodes: Information about the management nodes that are provisioned in the Compute Cloud@Customer infrastructure. + :param str mgmt_vip_hostname: The hostname corresponding to the virtual IP (VIP) address of the management nodes. + :param str mgmt_vip_ip: The IP address used as the virtual IP (VIP) address of the management nodes. + :param Sequence[str] spine_ips: Addresses of the network spine switches. + :param str spine_vip: The spine switch public virtual IP (VIP). Traffic routed to the Compute Cloud@Customer infrastructure and and virtual cloud networks (VCNs) should have this address as next hop. + :param str uplink_domain: Domain name to be used as the base domain for the internal network and by public facing services. + :param str uplink_gateway_ip: Uplink gateway in the datacenter network that the Compute Cloud@Customer connects to. + :param str uplink_netmask: Netmask of the subnet that the Compute Cloud@Customer infrastructure is connected to. + :param int uplink_port_count: Number of uplink ports per spine switch. Connectivity is identical on both spine switches. For example, if input is two 100 gigabyte ports; then port-1 and port-2 on both spines will be configured. + :param str uplink_port_forward_error_correction: The port forward error correction (FEC) setting for the uplink port on the Compute Cloud@Customer infrastructure. + :param int uplink_port_speed_in_gbps: Uplink port speed defined in gigabytes per second. All uplink ports must have identical speed. + :param int uplink_vlan_mtu: The virtual local area network (VLAN) maximum transmission unit (MTU) size for the uplink ports. + """ + GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + dns_ips=dns_ips, + infrastructure_routing_dynamics=infrastructure_routing_dynamics, + infrastructure_routing_statics=infrastructure_routing_statics, + management_nodes=management_nodes, + mgmt_vip_hostname=mgmt_vip_hostname, + mgmt_vip_ip=mgmt_vip_ip, + spine_ips=spine_ips, + spine_vip=spine_vip, + uplink_domain=uplink_domain, + uplink_gateway_ip=uplink_gateway_ip, + uplink_netmask=uplink_netmask, + uplink_port_count=uplink_port_count, + uplink_port_forward_error_correction=uplink_port_forward_error_correction, + uplink_port_speed_in_gbps=uplink_port_speed_in_gbps, + uplink_vlan_mtu=uplink_vlan_mtu, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + dns_ips: Sequence[str], + infrastructure_routing_dynamics: Sequence['outputs.GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicResult'], + infrastructure_routing_statics: Sequence['outputs.GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticResult'], + management_nodes: Sequence['outputs.GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeResult'], + mgmt_vip_hostname: str, + mgmt_vip_ip: str, + spine_ips: Sequence[str], + spine_vip: str, + uplink_domain: str, + uplink_gateway_ip: str, + uplink_netmask: str, + uplink_port_count: int, + uplink_port_forward_error_correction: str, + uplink_port_speed_in_gbps: int, + uplink_vlan_mtu: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("dns_ips", dns_ips) + _setter("infrastructure_routing_dynamics", infrastructure_routing_dynamics) + _setter("infrastructure_routing_statics", infrastructure_routing_statics) + _setter("management_nodes", management_nodes) + _setter("mgmt_vip_hostname", mgmt_vip_hostname) + _setter("mgmt_vip_ip", mgmt_vip_ip) + _setter("spine_ips", spine_ips) + _setter("spine_vip", spine_vip) + _setter("uplink_domain", uplink_domain) + _setter("uplink_gateway_ip", uplink_gateway_ip) + _setter("uplink_netmask", uplink_netmask) + _setter("uplink_port_count", uplink_port_count) + _setter("uplink_port_forward_error_correction", uplink_port_forward_error_correction) + _setter("uplink_port_speed_in_gbps", uplink_port_speed_in_gbps) + _setter("uplink_vlan_mtu", uplink_vlan_mtu) + + @property + @pulumi.getter(name="dnsIps") + def dns_ips(self) -> Sequence[str]: + """ + The domain name system (DNS) addresses that the Compute Cloud@Customer infrastructure uses for the data center network. + """ + return pulumi.get(self, "dns_ips") + + @property + @pulumi.getter(name="infrastructureRoutingDynamics") + def infrastructure_routing_dynamics(self) -> Sequence['outputs.GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicResult']: + """ + Dynamic routing information for the Compute Cloud@Customer infrastructure. + """ + return pulumi.get(self, "infrastructure_routing_dynamics") + + @property + @pulumi.getter(name="infrastructureRoutingStatics") + def infrastructure_routing_statics(self) -> Sequence['outputs.GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticResult']: + """ + Static routing information for a rack. + """ + return pulumi.get(self, "infrastructure_routing_statics") + + @property + @pulumi.getter(name="managementNodes") + def management_nodes(self) -> Sequence['outputs.GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeResult']: + """ + Information about the management nodes that are provisioned in the Compute Cloud@Customer infrastructure. + """ + return pulumi.get(self, "management_nodes") + + @property + @pulumi.getter(name="mgmtVipHostname") + def mgmt_vip_hostname(self) -> str: + """ + The hostname corresponding to the virtual IP (VIP) address of the management nodes. + """ + return pulumi.get(self, "mgmt_vip_hostname") + + @property + @pulumi.getter(name="mgmtVipIp") + def mgmt_vip_ip(self) -> str: + """ + The IP address used as the virtual IP (VIP) address of the management nodes. + """ + return pulumi.get(self, "mgmt_vip_ip") + + @property + @pulumi.getter(name="spineIps") + def spine_ips(self) -> Sequence[str]: + """ + Addresses of the network spine switches. + """ + return pulumi.get(self, "spine_ips") + + @property + @pulumi.getter(name="spineVip") + def spine_vip(self) -> str: + """ + The spine switch public virtual IP (VIP). Traffic routed to the Compute Cloud@Customer infrastructure and and virtual cloud networks (VCNs) should have this address as next hop. + """ + return pulumi.get(self, "spine_vip") + + @property + @pulumi.getter(name="uplinkDomain") + def uplink_domain(self) -> str: + """ + Domain name to be used as the base domain for the internal network and by public facing services. + """ + return pulumi.get(self, "uplink_domain") + + @property + @pulumi.getter(name="uplinkGatewayIp") + def uplink_gateway_ip(self) -> str: + """ + Uplink gateway in the datacenter network that the Compute Cloud@Customer connects to. + """ + return pulumi.get(self, "uplink_gateway_ip") + + @property + @pulumi.getter(name="uplinkNetmask") + def uplink_netmask(self) -> str: + """ + Netmask of the subnet that the Compute Cloud@Customer infrastructure is connected to. + """ + return pulumi.get(self, "uplink_netmask") + + @property + @pulumi.getter(name="uplinkPortCount") + def uplink_port_count(self) -> int: + """ + Number of uplink ports per spine switch. Connectivity is identical on both spine switches. For example, if input is two 100 gigabyte ports; then port-1 and port-2 on both spines will be configured. + """ + return pulumi.get(self, "uplink_port_count") + + @property + @pulumi.getter(name="uplinkPortForwardErrorCorrection") + def uplink_port_forward_error_correction(self) -> str: + """ + The port forward error correction (FEC) setting for the uplink port on the Compute Cloud@Customer infrastructure. + """ + return pulumi.get(self, "uplink_port_forward_error_correction") + + @property + @pulumi.getter(name="uplinkPortSpeedInGbps") + def uplink_port_speed_in_gbps(self) -> int: + """ + Uplink port speed defined in gigabytes per second. All uplink ports must have identical speed. + """ + return pulumi.get(self, "uplink_port_speed_in_gbps") + + @property + @pulumi.getter(name="uplinkVlanMtu") + def uplink_vlan_mtu(self) -> int: + """ + The virtual local area network (VLAN) maximum transmission unit (MTU) size for the uplink ports. + """ + return pulumi.get(self, "uplink_vlan_mtu") + + +@pulumi.output_type +class GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicResult(dict): + def __init__(__self__, *, + bgp_topology: str, + oracle_asn: int, + peer_informations: Sequence['outputs.GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationResult']): + """ + :param str bgp_topology: The topology in use for the Border Gateway Protocol (BGP) configuration. + :param int oracle_asn: The Oracle Autonomous System Number (ASN) to control routing and exchange information within the dynamic routing configuration. + :param Sequence['GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArgs'] peer_informations: The list of peer devices in the dynamic routing configuration. + """ + GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bgp_topology=bgp_topology, + oracle_asn=oracle_asn, + peer_informations=peer_informations, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bgp_topology: str, + oracle_asn: int, + peer_informations: Sequence['outputs.GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bgp_topology", bgp_topology) + _setter("oracle_asn", oracle_asn) + _setter("peer_informations", peer_informations) + + @property + @pulumi.getter(name="bgpTopology") + def bgp_topology(self) -> str: + """ + The topology in use for the Border Gateway Protocol (BGP) configuration. + """ + return pulumi.get(self, "bgp_topology") + + @property + @pulumi.getter(name="oracleAsn") + def oracle_asn(self) -> int: + """ + The Oracle Autonomous System Number (ASN) to control routing and exchange information within the dynamic routing configuration. + """ + return pulumi.get(self, "oracle_asn") + + @property + @pulumi.getter(name="peerInformations") + def peer_informations(self) -> Sequence['outputs.GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationResult']: + """ + The list of peer devices in the dynamic routing configuration. + """ + return pulumi.get(self, "peer_informations") + + +@pulumi.output_type +class GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationResult(dict): + def __init__(__self__, *, + asn: int, + ip: str): + """ + :param int asn: The Autonomous System Number (ASN) of the peer network. + :param str ip: Address of the management node. + """ + GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + asn=asn, + ip=ip, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + asn: int, + ip: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("asn", asn) + _setter("ip", ip) + + @property + @pulumi.getter + def asn(self) -> int: + """ + The Autonomous System Number (ASN) of the peer network. + """ + return pulumi.get(self, "asn") + + @property + @pulumi.getter + def ip(self) -> str: + """ + Address of the management node. + """ + return pulumi.get(self, "ip") + + +@pulumi.output_type +class GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticResult(dict): + def __init__(__self__, *, + uplink_hsrp_group: int, + uplink_vlan: int): + """ + :param int uplink_hsrp_group: The uplink Hot Standby Router Protocol (HSRP) group value for the switch in the Compute Cloud@Customer infrastructure. + :param int uplink_vlan: The virtual local area network (VLAN) identifier used to connect to the uplink (only access mode is supported). + """ + GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationInfrastructureRoutingStaticResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + uplink_hsrp_group=uplink_hsrp_group, + uplink_vlan=uplink_vlan, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + uplink_hsrp_group: int, + uplink_vlan: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("uplink_hsrp_group", uplink_hsrp_group) + _setter("uplink_vlan", uplink_vlan) + + @property + @pulumi.getter(name="uplinkHsrpGroup") + def uplink_hsrp_group(self) -> int: + """ + The uplink Hot Standby Router Protocol (HSRP) group value for the switch in the Compute Cloud@Customer infrastructure. + """ + return pulumi.get(self, "uplink_hsrp_group") + + @property + @pulumi.getter(name="uplinkVlan") + def uplink_vlan(self) -> int: + """ + The virtual local area network (VLAN) identifier used to connect to the uplink (only access mode is supported). + """ + return pulumi.get(self, "uplink_vlan") + + +@pulumi.output_type +class GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeResult(dict): + def __init__(__self__, *, + hostname: str, + ip: str): + """ + :param str hostname: Hostname for interface to the management node. + :param str ip: Address of the management node. + """ + GetAtCustomerCccInfrastructureInfrastructureNetworkConfigurationManagementNodeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + hostname=hostname, + ip=ip, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hostname: str, + ip: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("hostname", hostname) + _setter("ip", ip) + + @property + @pulumi.getter + def hostname(self) -> str: + """ + Hostname for interface to the management node. + """ + return pulumi.get(self, "hostname") + + @property + @pulumi.getter + def ip(self) -> str: + """ + Address of the management node. + """ + return pulumi.get(self, "ip") + + +@pulumi.output_type +class GetAtCustomerCccInfrastructureUpgradeInformationResult(dict): + def __init__(__self__, *, + current_version: str, + is_active: bool, + scheduled_upgrade_duration: str, + time_of_scheduled_upgrade: str): + """ + :param str current_version: The current version of software installed on the Compute Cloud@Customer infrastructure. + :param bool is_active: Indication that the Compute Cloud@Customer infrastructure is in the process of an upgrade or an upgrade activity (such as preloading upgrade images). + :param str scheduled_upgrade_duration: Expected duration of Compute Cloud@Customer infrastructure scheduled upgrade. The actual upgrade time might be longer or shorter than this duration depending on rack activity, this is only an estimate. + :param str time_of_scheduled_upgrade: Compute Cloud@Customer infrastructure next upgrade time. The rack might have performance impacts during this time. + """ + GetAtCustomerCccInfrastructureUpgradeInformationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + current_version=current_version, + is_active=is_active, + scheduled_upgrade_duration=scheduled_upgrade_duration, + time_of_scheduled_upgrade=time_of_scheduled_upgrade, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + current_version: str, + is_active: bool, + scheduled_upgrade_duration: str, + time_of_scheduled_upgrade: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("current_version", current_version) + _setter("is_active", is_active) + _setter("scheduled_upgrade_duration", scheduled_upgrade_duration) + _setter("time_of_scheduled_upgrade", time_of_scheduled_upgrade) + + @property + @pulumi.getter(name="currentVersion") + def current_version(self) -> str: + """ + The current version of software installed on the Compute Cloud@Customer infrastructure. + """ + return pulumi.get(self, "current_version") + + @property + @pulumi.getter(name="isActive") + def is_active(self) -> bool: + """ + Indication that the Compute Cloud@Customer infrastructure is in the process of an upgrade or an upgrade activity (such as preloading upgrade images). + """ + return pulumi.get(self, "is_active") + + @property + @pulumi.getter(name="scheduledUpgradeDuration") + def scheduled_upgrade_duration(self) -> str: + """ + Expected duration of Compute Cloud@Customer infrastructure scheduled upgrade. The actual upgrade time might be longer or shorter than this duration depending on rack activity, this is only an estimate. + """ + return pulumi.get(self, "scheduled_upgrade_duration") + + @property + @pulumi.getter(name="timeOfScheduledUpgrade") + def time_of_scheduled_upgrade(self) -> str: + """ + Compute Cloud@Customer infrastructure next upgrade time. The rack might have performance impacts during this time. + """ + return pulumi.get(self, "time_of_scheduled_upgrade") + + +@pulumi.output_type +class GetAtCustomerCccInfrastructuresCccInfrastructureCollectionResult(dict): + def __init__(__self__, *, + items: Sequence['outputs.GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemResult']): + GetAtCustomerCccInfrastructuresCccInfrastructureCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) + + @property + @pulumi.getter + def items(self) -> Sequence['outputs.GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemResult']: + return pulumi.get(self, "items") + + +@pulumi.output_type +class GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemResult(dict): + def __init__(__self__, *, + ccc_upgrade_schedule_id: str, + compartment_id: str, + connection_details: str, + connection_state: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + infrastructure_inventories: Sequence['outputs.GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryResult'], + infrastructure_network_configurations: Sequence['outputs.GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationResult'], + lifecycle_details: str, + provisioning_fingerprint: str, + provisioning_pin: str, + short_name: str, + state: str, + subnet_id: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + upgrade_informations: Sequence['outputs.GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationResult']): + """ + :param str ccc_upgrade_schedule_id: Schedule used for upgrades. If no schedule is associated with the infrastructure, it can be updated at any time. + :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + :param str connection_details: A message describing the current connection state in more detail. + :param str connection_state: The current connection state of the infrastructure. A user can only update it from REQUEST to READY or from any state back to REJECT. The system automatically handles the REJECT to REQUEST, READY to CONNECTED, or CONNECTED to DISCONNECTED transitions. + :param Mapping[str, Any] defined_tags: Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + :param str description: A mutable client-meaningful text description of the Compute Cloud@Customer infrastructure. Avoid entering confidential information. + :param str display_name: A filter to return only resources that match the entire display name given. + :param Mapping[str, Any] freeform_tags: Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + :param str id: The Compute Cloud@Customer infrastructure [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). This cannot be changed once created. + :param Sequence['GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryArgs'] infrastructure_inventories: Inventory for a Compute Cloud@Customer infrastructure. This information cannot be updated and is from the infrastructure. The information will only be available after the connectionState is transitioned to CONNECTED. + :param Sequence['GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationArgs'] infrastructure_network_configurations: Configuration information for the Compute Cloud@Customer infrastructure. This network configuration information cannot be updated and is retrieved from the data center. The information will only be available after the connectionState is transitioned to CONNECTED. + :param str lifecycle_details: A message describing the current lifecycle state in more detail. For example, this can be used to provide actionable information for a resource that is in a Failed state. + :param str provisioning_fingerprint: Fingerprint of a Compute Cloud@Customer infrastructure in a data center generated during the initial connection to this resource. The fingerprint should be verified by the administrator when changing the connectionState from REQUEST to READY. + :param str provisioning_pin: Code that is required for service personnel to connect a Compute Cloud@Customer infrastructure in a data center to this resource. This code will only be available when the connectionState is REJECT (usually at create time of the Compute Cloud@Customer infrastructure). + :param str short_name: The Compute Cloud@Customer infrastructure short name. This cannot be changed once created. The short name is used to refer to the infrastructure in several contexts and is unique. + :param str state: A filter used to return only resources that match the given lifecycleState. + :param str subnet_id: [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the network subnet that is used to communicate with Compute Cloud@Customer infrastructure. + :param Mapping[str, Any] system_tags: System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + :param str time_created: Compute Cloud@Customer infrastructure creation date and time, using an RFC3339 formatted datetime string. + :param str time_updated: Compute Cloud@Customer infrastructure updated date and time, using an RFC3339 formatted datetime string. + :param Sequence['GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationArgs'] upgrade_informations: Upgrade information that relates to a Compute Cloud@Customer infrastructure. This information cannot be updated. + """ + GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ccc_upgrade_schedule_id=ccc_upgrade_schedule_id, + compartment_id=compartment_id, + connection_details=connection_details, + connection_state=connection_state, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + infrastructure_inventories=infrastructure_inventories, + infrastructure_network_configurations=infrastructure_network_configurations, + lifecycle_details=lifecycle_details, + provisioning_fingerprint=provisioning_fingerprint, + provisioning_pin=provisioning_pin, + short_name=short_name, + state=state, + subnet_id=subnet_id, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + upgrade_informations=upgrade_informations, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ccc_upgrade_schedule_id: str, + compartment_id: str, + connection_details: str, + connection_state: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + infrastructure_inventories: Sequence['outputs.GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryResult'], + infrastructure_network_configurations: Sequence['outputs.GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationResult'], + lifecycle_details: str, + provisioning_fingerprint: str, + provisioning_pin: str, + short_name: str, + state: str, + subnet_id: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + upgrade_informations: Sequence['outputs.GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ccc_upgrade_schedule_id", ccc_upgrade_schedule_id) + _setter("compartment_id", compartment_id) + _setter("connection_details", connection_details) + _setter("connection_state", connection_state) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("infrastructure_inventories", infrastructure_inventories) + _setter("infrastructure_network_configurations", infrastructure_network_configurations) + _setter("lifecycle_details", lifecycle_details) + _setter("provisioning_fingerprint", provisioning_fingerprint) + _setter("provisioning_pin", provisioning_pin) + _setter("short_name", short_name) + _setter("state", state) + _setter("subnet_id", subnet_id) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("upgrade_informations", upgrade_informations) + + @property + @pulumi.getter(name="cccUpgradeScheduleId") + def ccc_upgrade_schedule_id(self) -> str: + """ + Schedule used for upgrades. If no schedule is associated with the infrastructure, it can be updated at any time. + """ + return pulumi.get(self, "ccc_upgrade_schedule_id") + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> str: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + """ + return pulumi.get(self, "compartment_id") + + @property + @pulumi.getter(name="connectionDetails") + def connection_details(self) -> str: + """ + A message describing the current connection state in more detail. + """ + return pulumi.get(self, "connection_details") + + @property + @pulumi.getter(name="connectionState") + def connection_state(self) -> str: + """ + The current connection state of the infrastructure. A user can only update it from REQUEST to READY or from any state back to REJECT. The system automatically handles the REJECT to REQUEST, READY to CONNECTED, or CONNECTED to DISCONNECTED transitions. + """ + return pulumi.get(self, "connection_state") + + @property + @pulumi.getter(name="definedTags") + def defined_tags(self) -> Mapping[str, Any]: + """ + Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + """ + return pulumi.get(self, "defined_tags") + + @property + @pulumi.getter + def description(self) -> str: + """ + A mutable client-meaningful text description of the Compute Cloud@Customer infrastructure. Avoid entering confidential information. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> str: + """ + A filter to return only resources that match the entire display name given. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter(name="freeformTags") + def freeform_tags(self) -> Mapping[str, Any]: + """ + Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + """ + return pulumi.get(self, "freeform_tags") + + @property + @pulumi.getter + def id(self) -> str: + """ + The Compute Cloud@Customer infrastructure [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). This cannot be changed once created. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="infrastructureInventories") + def infrastructure_inventories(self) -> Sequence['outputs.GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryResult']: + """ + Inventory for a Compute Cloud@Customer infrastructure. This information cannot be updated and is from the infrastructure. The information will only be available after the connectionState is transitioned to CONNECTED. + """ + return pulumi.get(self, "infrastructure_inventories") + + @property + @pulumi.getter(name="infrastructureNetworkConfigurations") + def infrastructure_network_configurations(self) -> Sequence['outputs.GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationResult']: + """ + Configuration information for the Compute Cloud@Customer infrastructure. This network configuration information cannot be updated and is retrieved from the data center. The information will only be available after the connectionState is transitioned to CONNECTED. + """ + return pulumi.get(self, "infrastructure_network_configurations") + + @property + @pulumi.getter(name="lifecycleDetails") + def lifecycle_details(self) -> str: + """ + A message describing the current lifecycle state in more detail. For example, this can be used to provide actionable information for a resource that is in a Failed state. + """ + return pulumi.get(self, "lifecycle_details") + + @property + @pulumi.getter(name="provisioningFingerprint") + def provisioning_fingerprint(self) -> str: + """ + Fingerprint of a Compute Cloud@Customer infrastructure in a data center generated during the initial connection to this resource. The fingerprint should be verified by the administrator when changing the connectionState from REQUEST to READY. + """ + return pulumi.get(self, "provisioning_fingerprint") + + @property + @pulumi.getter(name="provisioningPin") + def provisioning_pin(self) -> str: + """ + Code that is required for service personnel to connect a Compute Cloud@Customer infrastructure in a data center to this resource. This code will only be available when the connectionState is REJECT (usually at create time of the Compute Cloud@Customer infrastructure). + """ + return pulumi.get(self, "provisioning_pin") + + @property + @pulumi.getter(name="shortName") + def short_name(self) -> str: + """ + The Compute Cloud@Customer infrastructure short name. This cannot be changed once created. The short name is used to refer to the infrastructure in several contexts and is unique. + """ + return pulumi.get(self, "short_name") + + @property + @pulumi.getter + def state(self) -> str: + """ + A filter used to return only resources that match the given lifecycleState. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter(name="subnetId") + def subnet_id(self) -> str: + """ + [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the network subnet that is used to communicate with Compute Cloud@Customer infrastructure. + """ + return pulumi.get(self, "subnet_id") + + @property + @pulumi.getter(name="systemTags") + def system_tags(self) -> Mapping[str, Any]: + """ + System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + """ + return pulumi.get(self, "system_tags") + + @property + @pulumi.getter(name="timeCreated") + def time_created(self) -> str: + """ + Compute Cloud@Customer infrastructure creation date and time, using an RFC3339 formatted datetime string. + """ + return pulumi.get(self, "time_created") + + @property + @pulumi.getter(name="timeUpdated") + def time_updated(self) -> str: + """ + Compute Cloud@Customer infrastructure updated date and time, using an RFC3339 formatted datetime string. + """ + return pulumi.get(self, "time_updated") + + @property + @pulumi.getter(name="upgradeInformations") + def upgrade_informations(self) -> Sequence['outputs.GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationResult']: + """ + Upgrade information that relates to a Compute Cloud@Customer infrastructure. This information cannot be updated. + """ + return pulumi.get(self, "upgrade_informations") + + +@pulumi.output_type +class GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryResult(dict): + def __init__(__self__, *, + capacity_storage_tray_count: int, + compute_node_count: int, + management_node_count: int, + performance_storage_tray_count: int, + serial_number: str): + """ + :param int capacity_storage_tray_count: The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for capacity storage. + :param int compute_node_count: The number of compute nodes that are available and usable on the Compute Cloud@Customer infrastructure rack. There is no distinction of compute node type in this information. + :param int management_node_count: The number of management nodes that are available and in active use on the Compute Cloud@Customer infrastructure rack. + :param int performance_storage_tray_count: The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for performance storage. + :param str serial_number: The serial number of the Compute Cloud@Customer infrastructure rack. + """ + GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureInventoryResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + capacity_storage_tray_count=capacity_storage_tray_count, + compute_node_count=compute_node_count, + management_node_count=management_node_count, + performance_storage_tray_count=performance_storage_tray_count, + serial_number=serial_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + capacity_storage_tray_count: int, + compute_node_count: int, + management_node_count: int, + performance_storage_tray_count: int, + serial_number: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("capacity_storage_tray_count", capacity_storage_tray_count) + _setter("compute_node_count", compute_node_count) + _setter("management_node_count", management_node_count) + _setter("performance_storage_tray_count", performance_storage_tray_count) + _setter("serial_number", serial_number) + + @property + @pulumi.getter(name="capacityStorageTrayCount") + def capacity_storage_tray_count(self) -> int: + """ + The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for capacity storage. + """ + return pulumi.get(self, "capacity_storage_tray_count") + + @property + @pulumi.getter(name="computeNodeCount") + def compute_node_count(self) -> int: + """ + The number of compute nodes that are available and usable on the Compute Cloud@Customer infrastructure rack. There is no distinction of compute node type in this information. + """ + return pulumi.get(self, "compute_node_count") + + @property + @pulumi.getter(name="managementNodeCount") + def management_node_count(self) -> int: + """ + The number of management nodes that are available and in active use on the Compute Cloud@Customer infrastructure rack. + """ + return pulumi.get(self, "management_node_count") + + @property + @pulumi.getter(name="performanceStorageTrayCount") + def performance_storage_tray_count(self) -> int: + """ + The number of storage trays in the Compute Cloud@Customer infrastructure rack that are designated for performance storage. + """ + return pulumi.get(self, "performance_storage_tray_count") + + @property + @pulumi.getter(name="serialNumber") + def serial_number(self) -> str: + """ + The serial number of the Compute Cloud@Customer infrastructure rack. + """ + return pulumi.get(self, "serial_number") + + +@pulumi.output_type +class GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationResult(dict): + def __init__(__self__, *, + dns_ips: Sequence[str], + infrastructure_routing_dynamics: Sequence['outputs.GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicResult'], + infrastructure_routing_statics: Sequence['outputs.GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticResult'], + management_nodes: Sequence['outputs.GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeResult'], + mgmt_vip_hostname: str, + mgmt_vip_ip: str, + spine_ips: Sequence[str], + spine_vip: str, + uplink_domain: str, + uplink_gateway_ip: str, + uplink_netmask: str, + uplink_port_count: int, + uplink_port_forward_error_correction: str, + uplink_port_speed_in_gbps: int, + uplink_vlan_mtu: int): + """ + :param Sequence[str] dns_ips: The domain name system (DNS) addresses that the Compute Cloud@Customer infrastructure uses for the data center network. + :param Sequence['GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicArgs'] infrastructure_routing_dynamics: Dynamic routing information for the Compute Cloud@Customer infrastructure. + :param Sequence['GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticArgs'] infrastructure_routing_statics: Static routing information for a rack. + :param Sequence['GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeArgs'] management_nodes: Information about the management nodes that are provisioned in the Compute Cloud@Customer infrastructure. + :param str mgmt_vip_hostname: The hostname corresponding to the virtual IP (VIP) address of the management nodes. + :param str mgmt_vip_ip: The IP address used as the virtual IP (VIP) address of the management nodes. + :param Sequence[str] spine_ips: Addresses of the network spine switches. + :param str spine_vip: The spine switch public virtual IP (VIP). Traffic routed to the Compute Cloud@Customer infrastructure and and virtual cloud networks (VCNs) should have this address as next hop. + :param str uplink_domain: Domain name to be used as the base domain for the internal network and by public facing services. + :param str uplink_gateway_ip: Uplink gateway in the datacenter network that the Compute Cloud@Customer connects to. + :param str uplink_netmask: Netmask of the subnet that the Compute Cloud@Customer infrastructure is connected to. + :param int uplink_port_count: Number of uplink ports per spine switch. Connectivity is identical on both spine switches. For example, if input is two 100 gigabyte ports; then port-1 and port-2 on both spines will be configured. + :param str uplink_port_forward_error_correction: The port forward error correction (FEC) setting for the uplink port on the Compute Cloud@Customer infrastructure. + :param int uplink_port_speed_in_gbps: Uplink port speed defined in gigabytes per second. All uplink ports must have identical speed. + :param int uplink_vlan_mtu: The virtual local area network (VLAN) maximum transmission unit (MTU) size for the uplink ports. + """ + GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + dns_ips=dns_ips, + infrastructure_routing_dynamics=infrastructure_routing_dynamics, + infrastructure_routing_statics=infrastructure_routing_statics, + management_nodes=management_nodes, + mgmt_vip_hostname=mgmt_vip_hostname, + mgmt_vip_ip=mgmt_vip_ip, + spine_ips=spine_ips, + spine_vip=spine_vip, + uplink_domain=uplink_domain, + uplink_gateway_ip=uplink_gateway_ip, + uplink_netmask=uplink_netmask, + uplink_port_count=uplink_port_count, + uplink_port_forward_error_correction=uplink_port_forward_error_correction, + uplink_port_speed_in_gbps=uplink_port_speed_in_gbps, + uplink_vlan_mtu=uplink_vlan_mtu, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + dns_ips: Sequence[str], + infrastructure_routing_dynamics: Sequence['outputs.GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicResult'], + infrastructure_routing_statics: Sequence['outputs.GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticResult'], + management_nodes: Sequence['outputs.GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeResult'], + mgmt_vip_hostname: str, + mgmt_vip_ip: str, + spine_ips: Sequence[str], + spine_vip: str, + uplink_domain: str, + uplink_gateway_ip: str, + uplink_netmask: str, + uplink_port_count: int, + uplink_port_forward_error_correction: str, + uplink_port_speed_in_gbps: int, + uplink_vlan_mtu: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("dns_ips", dns_ips) + _setter("infrastructure_routing_dynamics", infrastructure_routing_dynamics) + _setter("infrastructure_routing_statics", infrastructure_routing_statics) + _setter("management_nodes", management_nodes) + _setter("mgmt_vip_hostname", mgmt_vip_hostname) + _setter("mgmt_vip_ip", mgmt_vip_ip) + _setter("spine_ips", spine_ips) + _setter("spine_vip", spine_vip) + _setter("uplink_domain", uplink_domain) + _setter("uplink_gateway_ip", uplink_gateway_ip) + _setter("uplink_netmask", uplink_netmask) + _setter("uplink_port_count", uplink_port_count) + _setter("uplink_port_forward_error_correction", uplink_port_forward_error_correction) + _setter("uplink_port_speed_in_gbps", uplink_port_speed_in_gbps) + _setter("uplink_vlan_mtu", uplink_vlan_mtu) + + @property + @pulumi.getter(name="dnsIps") + def dns_ips(self) -> Sequence[str]: + """ + The domain name system (DNS) addresses that the Compute Cloud@Customer infrastructure uses for the data center network. + """ + return pulumi.get(self, "dns_ips") + + @property + @pulumi.getter(name="infrastructureRoutingDynamics") + def infrastructure_routing_dynamics(self) -> Sequence['outputs.GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicResult']: + """ + Dynamic routing information for the Compute Cloud@Customer infrastructure. + """ + return pulumi.get(self, "infrastructure_routing_dynamics") + + @property + @pulumi.getter(name="infrastructureRoutingStatics") + def infrastructure_routing_statics(self) -> Sequence['outputs.GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticResult']: + """ + Static routing information for a rack. + """ + return pulumi.get(self, "infrastructure_routing_statics") + + @property + @pulumi.getter(name="managementNodes") + def management_nodes(self) -> Sequence['outputs.GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeResult']: + """ + Information about the management nodes that are provisioned in the Compute Cloud@Customer infrastructure. + """ + return pulumi.get(self, "management_nodes") + + @property + @pulumi.getter(name="mgmtVipHostname") + def mgmt_vip_hostname(self) -> str: + """ + The hostname corresponding to the virtual IP (VIP) address of the management nodes. + """ + return pulumi.get(self, "mgmt_vip_hostname") + + @property + @pulumi.getter(name="mgmtVipIp") + def mgmt_vip_ip(self) -> str: + """ + The IP address used as the virtual IP (VIP) address of the management nodes. + """ + return pulumi.get(self, "mgmt_vip_ip") + + @property + @pulumi.getter(name="spineIps") + def spine_ips(self) -> Sequence[str]: + """ + Addresses of the network spine switches. + """ + return pulumi.get(self, "spine_ips") + + @property + @pulumi.getter(name="spineVip") + def spine_vip(self) -> str: + """ + The spine switch public virtual IP (VIP). Traffic routed to the Compute Cloud@Customer infrastructure and and virtual cloud networks (VCNs) should have this address as next hop. + """ + return pulumi.get(self, "spine_vip") + + @property + @pulumi.getter(name="uplinkDomain") + def uplink_domain(self) -> str: + """ + Domain name to be used as the base domain for the internal network and by public facing services. + """ + return pulumi.get(self, "uplink_domain") + + @property + @pulumi.getter(name="uplinkGatewayIp") + def uplink_gateway_ip(self) -> str: + """ + Uplink gateway in the datacenter network that the Compute Cloud@Customer connects to. + """ + return pulumi.get(self, "uplink_gateway_ip") + + @property + @pulumi.getter(name="uplinkNetmask") + def uplink_netmask(self) -> str: + """ + Netmask of the subnet that the Compute Cloud@Customer infrastructure is connected to. + """ + return pulumi.get(self, "uplink_netmask") + + @property + @pulumi.getter(name="uplinkPortCount") + def uplink_port_count(self) -> int: + """ + Number of uplink ports per spine switch. Connectivity is identical on both spine switches. For example, if input is two 100 gigabyte ports; then port-1 and port-2 on both spines will be configured. + """ + return pulumi.get(self, "uplink_port_count") + + @property + @pulumi.getter(name="uplinkPortForwardErrorCorrection") + def uplink_port_forward_error_correction(self) -> str: + """ + The port forward error correction (FEC) setting for the uplink port on the Compute Cloud@Customer infrastructure. + """ + return pulumi.get(self, "uplink_port_forward_error_correction") + + @property + @pulumi.getter(name="uplinkPortSpeedInGbps") + def uplink_port_speed_in_gbps(self) -> int: + """ + Uplink port speed defined in gigabytes per second. All uplink ports must have identical speed. + """ + return pulumi.get(self, "uplink_port_speed_in_gbps") + + @property + @pulumi.getter(name="uplinkVlanMtu") + def uplink_vlan_mtu(self) -> int: + """ + The virtual local area network (VLAN) maximum transmission unit (MTU) size for the uplink ports. + """ + return pulumi.get(self, "uplink_vlan_mtu") + + +@pulumi.output_type +class GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicResult(dict): + def __init__(__self__, *, + bgp_topology: str, + oracle_asn: int, + peer_informations: Sequence['outputs.GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationResult']): + """ + :param str bgp_topology: The topology in use for the Border Gateway Protocol (BGP) configuration. + :param int oracle_asn: The Oracle Autonomous System Number (ASN) to control routing and exchange information within the dynamic routing configuration. + :param Sequence['GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationArgs'] peer_informations: The list of peer devices in the dynamic routing configuration. + """ + GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bgp_topology=bgp_topology, + oracle_asn=oracle_asn, + peer_informations=peer_informations, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bgp_topology: str, + oracle_asn: int, + peer_informations: Sequence['outputs.GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bgp_topology", bgp_topology) + _setter("oracle_asn", oracle_asn) + _setter("peer_informations", peer_informations) + + @property + @pulumi.getter(name="bgpTopology") + def bgp_topology(self) -> str: + """ + The topology in use for the Border Gateway Protocol (BGP) configuration. + """ + return pulumi.get(self, "bgp_topology") + + @property + @pulumi.getter(name="oracleAsn") + def oracle_asn(self) -> int: + """ + The Oracle Autonomous System Number (ASN) to control routing and exchange information within the dynamic routing configuration. + """ + return pulumi.get(self, "oracle_asn") + + @property + @pulumi.getter(name="peerInformations") + def peer_informations(self) -> Sequence['outputs.GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationResult']: + """ + The list of peer devices in the dynamic routing configuration. + """ + return pulumi.get(self, "peer_informations") + + +@pulumi.output_type +class GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationResult(dict): + def __init__(__self__, *, + asn: int, + ip: str): + """ + :param int asn: The Autonomous System Number (ASN) of the peer network. + :param str ip: Address of the management node. + """ + GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingDynamicPeerInformationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + asn=asn, + ip=ip, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + asn: int, + ip: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("asn", asn) + _setter("ip", ip) + + @property + @pulumi.getter + def asn(self) -> int: + """ + The Autonomous System Number (ASN) of the peer network. + """ + return pulumi.get(self, "asn") + + @property + @pulumi.getter + def ip(self) -> str: + """ + Address of the management node. + """ + return pulumi.get(self, "ip") + + +@pulumi.output_type +class GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticResult(dict): + def __init__(__self__, *, + uplink_hsrp_group: int, + uplink_vlan: int): + """ + :param int uplink_hsrp_group: The uplink Hot Standby Router Protocol (HSRP) group value for the switch in the Compute Cloud@Customer infrastructure. + :param int uplink_vlan: The virtual local area network (VLAN) identifier used to connect to the uplink (only access mode is supported). + """ + GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationInfrastructureRoutingStaticResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + uplink_hsrp_group=uplink_hsrp_group, + uplink_vlan=uplink_vlan, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + uplink_hsrp_group: int, + uplink_vlan: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("uplink_hsrp_group", uplink_hsrp_group) + _setter("uplink_vlan", uplink_vlan) + + @property + @pulumi.getter(name="uplinkHsrpGroup") + def uplink_hsrp_group(self) -> int: + """ + The uplink Hot Standby Router Protocol (HSRP) group value for the switch in the Compute Cloud@Customer infrastructure. + """ + return pulumi.get(self, "uplink_hsrp_group") + + @property + @pulumi.getter(name="uplinkVlan") + def uplink_vlan(self) -> int: + """ + The virtual local area network (VLAN) identifier used to connect to the uplink (only access mode is supported). + """ + return pulumi.get(self, "uplink_vlan") + + +@pulumi.output_type +class GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeResult(dict): + def __init__(__self__, *, + hostname: str, + ip: str): + """ + :param str hostname: Hostname for interface to the management node. + :param str ip: Address of the management node. + """ + GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemInfrastructureNetworkConfigurationManagementNodeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + hostname=hostname, + ip=ip, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hostname: str, + ip: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("hostname", hostname) + _setter("ip", ip) + + @property + @pulumi.getter + def hostname(self) -> str: + """ + Hostname for interface to the management node. + """ + return pulumi.get(self, "hostname") + + @property + @pulumi.getter + def ip(self) -> str: + """ + Address of the management node. + """ + return pulumi.get(self, "ip") + + +@pulumi.output_type +class GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationResult(dict): + def __init__(__self__, *, + current_version: str, + is_active: bool, + scheduled_upgrade_duration: str, + time_of_scheduled_upgrade: str): + """ + :param str current_version: The current version of software installed on the Compute Cloud@Customer infrastructure. + :param bool is_active: Indication that the Compute Cloud@Customer infrastructure is in the process of an upgrade or an upgrade activity (such as preloading upgrade images). + :param str scheduled_upgrade_duration: Expected duration of Compute Cloud@Customer infrastructure scheduled upgrade. The actual upgrade time might be longer or shorter than this duration depending on rack activity, this is only an estimate. + :param str time_of_scheduled_upgrade: Compute Cloud@Customer infrastructure next upgrade time. The rack might have performance impacts during this time. + """ + GetAtCustomerCccInfrastructuresCccInfrastructureCollectionItemUpgradeInformationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + current_version=current_version, + is_active=is_active, + scheduled_upgrade_duration=scheduled_upgrade_duration, + time_of_scheduled_upgrade=time_of_scheduled_upgrade, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + current_version: str, + is_active: bool, + scheduled_upgrade_duration: str, + time_of_scheduled_upgrade: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("current_version", current_version) + _setter("is_active", is_active) + _setter("scheduled_upgrade_duration", scheduled_upgrade_duration) + _setter("time_of_scheduled_upgrade", time_of_scheduled_upgrade) + + @property + @pulumi.getter(name="currentVersion") + def current_version(self) -> str: + """ + The current version of software installed on the Compute Cloud@Customer infrastructure. + """ + return pulumi.get(self, "current_version") + + @property + @pulumi.getter(name="isActive") + def is_active(self) -> bool: + """ + Indication that the Compute Cloud@Customer infrastructure is in the process of an upgrade or an upgrade activity (such as preloading upgrade images). + """ + return pulumi.get(self, "is_active") + + @property + @pulumi.getter(name="scheduledUpgradeDuration") + def scheduled_upgrade_duration(self) -> str: + """ + Expected duration of Compute Cloud@Customer infrastructure scheduled upgrade. The actual upgrade time might be longer or shorter than this duration depending on rack activity, this is only an estimate. + """ + return pulumi.get(self, "scheduled_upgrade_duration") + + @property + @pulumi.getter(name="timeOfScheduledUpgrade") + def time_of_scheduled_upgrade(self) -> str: + """ + Compute Cloud@Customer infrastructure next upgrade time. The rack might have performance impacts during this time. + """ + return pulumi.get(self, "time_of_scheduled_upgrade") + + +@pulumi.output_type +class GetAtCustomerCccInfrastructuresFilterResult(dict): + def __init__(__self__, *, + name: str, + values: Sequence[str], + regex: Optional[bool] = None): + GetAtCustomerCccInfrastructuresFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) + if regex is not None: + _setter("regex", regex) + + @property + @pulumi.getter + def name(self) -> str: + return pulumi.get(self, "name") + + @property + @pulumi.getter + def values(self) -> Sequence[str]: + return pulumi.get(self, "values") + + @property + @pulumi.getter + def regex(self) -> Optional[bool]: + return pulumi.get(self, "regex") + + +@pulumi.output_type +class GetAtCustomerCccUpgradeScheduleEventResult(dict): + def __init__(__self__, *, + description: str, + name: str, + schedule_event_duration: str, + schedule_event_recurrences: str, + time_start: str): + """ + :param str description: A description of the Compute Cloud@Customer upgrade schedule time block. + :param str name: Generated name associated with the event. + :param str schedule_event_duration: The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations. + :param str schedule_event_recurrences: Frequency of recurrence of schedule block. When this field is not included, the event is assumed to be a one time occurrence. The frequency field is strictly parsed and must conform to RFC-5545 formatting for recurrences. + :param str time_start: The date and time when the Compute Cloud@Customer upgrade schedule event starts, inclusive. An RFC3339 formatted UTC datetime string. For an event with recurrences, this is the date that a recurrence can start being applied. + """ + GetAtCustomerCccUpgradeScheduleEventResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + name=name, + schedule_event_duration=schedule_event_duration, + schedule_event_recurrences=schedule_event_recurrences, + time_start=time_start, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + name: str, + schedule_event_duration: str, + schedule_event_recurrences: str, + time_start: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("name", name) + _setter("schedule_event_duration", schedule_event_duration) + _setter("schedule_event_recurrences", schedule_event_recurrences) + _setter("time_start", time_start) + + @property + @pulumi.getter + def description(self) -> str: + """ + A description of the Compute Cloud@Customer upgrade schedule time block. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter + def name(self) -> str: + """ + Generated name associated with the event. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="scheduleEventDuration") + def schedule_event_duration(self) -> str: + """ + The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations. + """ + return pulumi.get(self, "schedule_event_duration") + + @property + @pulumi.getter(name="scheduleEventRecurrences") + def schedule_event_recurrences(self) -> str: + """ + Frequency of recurrence of schedule block. When this field is not included, the event is assumed to be a one time occurrence. The frequency field is strictly parsed and must conform to RFC-5545 formatting for recurrences. + """ + return pulumi.get(self, "schedule_event_recurrences") + + @property + @pulumi.getter(name="timeStart") + def time_start(self) -> str: + """ + The date and time when the Compute Cloud@Customer upgrade schedule event starts, inclusive. An RFC3339 formatted UTC datetime string. For an event with recurrences, this is the date that a recurrence can start being applied. + """ + return pulumi.get(self, "time_start") + + +@pulumi.output_type +class GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionResult(dict): + def __init__(__self__, *, + items: Sequence['outputs.GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemResult']): + GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) + + @property + @pulumi.getter + def items(self) -> Sequence['outputs.GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemResult']: + return pulumi.get(self, "items") + + +@pulumi.output_type +class GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemResult(dict): + def __init__(__self__, *, + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + events: Sequence['outputs.GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventResult'], + freeform_tags: Mapping[str, Any], + id: str, + infrastructure_ids: Sequence[str], + lifecycle_details: str, + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str): + """ + :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + :param Mapping[str, Any] defined_tags: Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + :param str description: A description of the Compute Cloud@Customer upgrade schedule time block. + :param str display_name: A filter to return only resources that match the entire display name given. + :param Sequence['GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventArgs'] events: List of preferred times for Compute Cloud@Customer infrastructures associated with this schedule to be upgraded. + :param Mapping[str, Any] freeform_tags: Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + :param str id: Upgrade schedule [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). This cannot be changed once created. + :param Sequence[str] infrastructure_ids: List of Compute Cloud@Customer infrastructure [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that are using this upgrade schedule. + :param str lifecycle_details: A message describing the current state in more detail. For example, the message can be used to provide actionable information for a resource in a Failed state. + :param str state: A filter to return resources only when their lifecycleState matches the given lifecycleState. + :param Mapping[str, Any] system_tags: System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + :param str time_created: The time the upgrade schedule was created, using an RFC3339 formatted datetime string. + :param str time_updated: The time the upgrade schedule was updated, using an RFC3339 formatted datetime string. + """ + GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + events=events, + freeform_tags=freeform_tags, + id=id, + infrastructure_ids=infrastructure_ids, + lifecycle_details=lifecycle_details, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + events: Sequence['outputs.GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventResult'], + freeform_tags: Mapping[str, Any], + id: str, + infrastructure_ids: Sequence[str], + lifecycle_details: str, + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("events", events) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("infrastructure_ids", infrastructure_ids) + _setter("lifecycle_details", lifecycle_details) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> str: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + """ + return pulumi.get(self, "compartment_id") + + @property + @pulumi.getter(name="definedTags") + def defined_tags(self) -> Mapping[str, Any]: + """ + Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` + """ + return pulumi.get(self, "defined_tags") + + @property + @pulumi.getter + def description(self) -> str: + """ + A description of the Compute Cloud@Customer upgrade schedule time block. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> str: + """ + A filter to return only resources that match the entire display name given. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter + def events(self) -> Sequence['outputs.GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventResult']: + """ + List of preferred times for Compute Cloud@Customer infrastructures associated with this schedule to be upgraded. + """ + return pulumi.get(self, "events") + + @property + @pulumi.getter(name="freeformTags") + def freeform_tags(self) -> Mapping[str, Any]: + """ + Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + """ + return pulumi.get(self, "freeform_tags") + + @property + @pulumi.getter + def id(self) -> str: + """ + Upgrade schedule [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). This cannot be changed once created. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="infrastructureIds") + def infrastructure_ids(self) -> Sequence[str]: + """ + List of Compute Cloud@Customer infrastructure [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) that are using this upgrade schedule. + """ + return pulumi.get(self, "infrastructure_ids") + + @property + @pulumi.getter(name="lifecycleDetails") + def lifecycle_details(self) -> str: + """ + A message describing the current state in more detail. For example, the message can be used to provide actionable information for a resource in a Failed state. + """ + return pulumi.get(self, "lifecycle_details") + + @property + @pulumi.getter + def state(self) -> str: + """ + A filter to return resources only when their lifecycleState matches the given lifecycleState. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter(name="systemTags") + def system_tags(self) -> Mapping[str, Any]: + """ + System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` + """ + return pulumi.get(self, "system_tags") + + @property + @pulumi.getter(name="timeCreated") + def time_created(self) -> str: + """ + The time the upgrade schedule was created, using an RFC3339 formatted datetime string. + """ + return pulumi.get(self, "time_created") + + @property + @pulumi.getter(name="timeUpdated") + def time_updated(self) -> str: + """ + The time the upgrade schedule was updated, using an RFC3339 formatted datetime string. + """ + return pulumi.get(self, "time_updated") + + +@pulumi.output_type +class GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventResult(dict): + def __init__(__self__, *, + description: str, + name: str, + schedule_event_duration: str, + schedule_event_recurrences: str, + time_start: str): + """ + :param str description: A description of the Compute Cloud@Customer upgrade schedule time block. + :param str name: Generated name associated with the event. + :param str schedule_event_duration: The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations. + :param str schedule_event_recurrences: Frequency of recurrence of schedule block. When this field is not included, the event is assumed to be a one time occurrence. The frequency field is strictly parsed and must conform to RFC-5545 formatting for recurrences. + :param str time_start: The date and time when the Compute Cloud@Customer upgrade schedule event starts, inclusive. An RFC3339 formatted UTC datetime string. For an event with recurrences, this is the date that a recurrence can start being applied. + """ + GetAtCustomerCccUpgradeSchedulesCccUpgradeScheduleCollectionItemEventResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + name=name, + schedule_event_duration=schedule_event_duration, + schedule_event_recurrences=schedule_event_recurrences, + time_start=time_start, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + name: str, + schedule_event_duration: str, + schedule_event_recurrences: str, + time_start: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("name", name) + _setter("schedule_event_duration", schedule_event_duration) + _setter("schedule_event_recurrences", schedule_event_recurrences) + _setter("time_start", time_start) + + @property + @pulumi.getter + def description(self) -> str: + """ + A description of the Compute Cloud@Customer upgrade schedule time block. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter + def name(self) -> str: + """ + Generated name associated with the event. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="scheduleEventDuration") + def schedule_event_duration(self) -> str: + """ + The duration of this block of time. The duration must be specified and be of the ISO-8601 format for durations. + """ + return pulumi.get(self, "schedule_event_duration") + + @property + @pulumi.getter(name="scheduleEventRecurrences") + def schedule_event_recurrences(self) -> str: + """ + Frequency of recurrence of schedule block. When this field is not included, the event is assumed to be a one time occurrence. The frequency field is strictly parsed and must conform to RFC-5545 formatting for recurrences. + """ + return pulumi.get(self, "schedule_event_recurrences") + + @property + @pulumi.getter(name="timeStart") + def time_start(self) -> str: + """ + The date and time when the Compute Cloud@Customer upgrade schedule event starts, inclusive. An RFC3339 formatted UTC datetime string. For an event with recurrences, this is the date that a recurrence can start being applied. + """ + return pulumi.get(self, "time_start") + + +@pulumi.output_type +class GetAtCustomerCccUpgradeSchedulesFilterResult(dict): + def __init__(__self__, *, + name: str, + values: Sequence[str], + regex: Optional[bool] = None): + """ + :param str name: Generated name associated with the event. + """ + GetAtCustomerCccUpgradeSchedulesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) + if regex is not None: + _setter("regex", regex) + + @property + @pulumi.getter + def name(self) -> str: + """ + Generated name associated with the event. + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter + def values(self) -> Sequence[str]: + return pulumi.get(self, "values") + + @property + @pulumi.getter + def regex(self) -> Optional[bool]: + return pulumi.get(self, "regex") + + diff --git a/sdk/python/pulumi_oci/computeinstanceagent/_inputs.py b/sdk/python/pulumi_oci/computeinstanceagent/_inputs.py index b32aaca376..43a38bd148 100644 --- a/sdk/python/pulumi_oci/computeinstanceagent/_inputs.py +++ b/sdk/python/pulumi_oci/computeinstanceagent/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -23,10 +23,23 @@ def __init__(__self__, *, """ :param str name: The plugin name """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetInstanceAgentPluginsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -68,10 +81,23 @@ def __init__(__self__, *, """ :param str name: The plugin name """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetInstanceAvailablePluginFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/computeinstanceagent/get_instance_agent_plugin.py b/sdk/python/pulumi_oci/computeinstanceagent/get_instance_agent_plugin.py index f058a81410..f19437d8eb 100644 --- a/sdk/python/pulumi_oci/computeinstanceagent/get_instance_agent_plugin.py +++ b/sdk/python/pulumi_oci/computeinstanceagent/get_instance_agent_plugin.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/computeinstanceagent/get_instance_agent_plugins.py b/sdk/python/pulumi_oci/computeinstanceagent/get_instance_agent_plugins.py index 459da5d388..cfc04244c3 100644 --- a/sdk/python/pulumi_oci/computeinstanceagent/get_instance_agent_plugins.py +++ b/sdk/python/pulumi_oci/computeinstanceagent/get_instance_agent_plugins.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/computeinstanceagent/get_instance_available_plugin.py b/sdk/python/pulumi_oci/computeinstanceagent/get_instance_available_plugin.py index 9545bb8049..93e36fee08 100644 --- a/sdk/python/pulumi_oci/computeinstanceagent/get_instance_available_plugin.py +++ b/sdk/python/pulumi_oci/computeinstanceagent/get_instance_available_plugin.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/computeinstanceagent/outputs.py b/sdk/python/pulumi_oci/computeinstanceagent/outputs.py index a8a06a802f..f7dc6b9627 100644 --- a/sdk/python/pulumi_oci/computeinstanceagent/outputs.py +++ b/sdk/python/pulumi_oci/computeinstanceagent/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -25,10 +25,23 @@ def __init__(__self__, *, """ :param str name: The plugin name """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetInstanceAgentPluginsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -62,10 +75,25 @@ def __init__(__self__, *, :param str status: The plugin status :param str time_last_updated_utc: The last update time of the plugin in UTC """ - pulumi.set(__self__, "message", message) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "time_last_updated_utc", time_last_updated_utc) + GetInstanceAgentPluginsInstanceAgentPluginResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + message=message, + name=name, + status=status, + time_last_updated_utc=time_last_updated_utc, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + message: str, + name: str, + status: str, + time_last_updated_utc: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("message", message) + _setter("name", name) + _setter("status", status) + _setter("time_last_updated_utc", time_last_updated_utc) @property @pulumi.getter @@ -113,10 +141,25 @@ def __init__(__self__, *, :param str name: The plugin name :param str summary: A brief description of the plugin functionality """ - pulumi.set(__self__, "is_enabled_by_default", is_enabled_by_default) - pulumi.set(__self__, "is_supported", is_supported) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "summary", summary) + GetInstanceAvailablePluginAvailablePluginResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled_by_default=is_enabled_by_default, + is_supported=is_supported, + name=name, + summary=summary, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled_by_default: bool, + is_supported: bool, + name: str, + summary: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_enabled_by_default", is_enabled_by_default) + _setter("is_supported", is_supported) + _setter("name", name) + _setter("summary", summary) @property @pulumi.getter(name="isEnabledByDefault") @@ -160,10 +203,23 @@ def __init__(__self__, *, """ :param str name: The plugin name """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetInstanceAvailablePluginFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/config/__init__.pyi b/sdk/python/pulumi_oci/config/__init__.pyi index fb2678158a..fd80a9ad64 100644 --- a/sdk/python/pulumi_oci/config/__init__.pyi +++ b/sdk/python/pulumi_oci/config/__init__.pyi @@ -6,7 +6,7 @@ import copy import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities auth: Optional[str] diff --git a/sdk/python/pulumi_oci/config/vars.py b/sdk/python/pulumi_oci/config/vars.py index 83fe2484e9..9670c4bb90 100644 --- a/sdk/python/pulumi_oci/config/vars.py +++ b/sdk/python/pulumi_oci/config/vars.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities import types diff --git a/sdk/python/pulumi_oci/containerengine/_inputs.py b/sdk/python/pulumi_oci/containerengine/_inputs.py index 703ca09f45..04dd284164 100644 --- a/sdk/python/pulumi_oci/containerengine/_inputs.py +++ b/sdk/python/pulumi_oci/containerengine/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -77,12 +77,25 @@ def __init__(__self__, *, :param pulumi.Input[str] message: A human-readable error string of the upstream error. :param pulumi.Input[str] status: The status of the HTTP response encountered in the upstream error. """ + AddonAddonErrorArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + code=code, + message=message, + status=status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + code: Optional[pulumi.Input[str]] = None, + message: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if code is not None: - pulumi.set(__self__, "code", code) + _setter("code", code) if message is not None: - pulumi.set(__self__, "message", message) + _setter("message", message) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) @property @pulumi.getter @@ -130,10 +143,21 @@ def __init__(__self__, *, :param pulumi.Input[str] key: (Updatable) configuration key name :param pulumi.Input[str] value: (Updatable) configuration value name """ + AddonConfigurationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -167,7 +191,16 @@ def __init__(__self__, *, """ :param pulumi.Input[str] cni_type: The CNI used by the node pools of this cluster """ - pulumi.set(__self__, "cni_type", cni_type) + ClusterClusterPodNetworkOptionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + cni_type=cni_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cni_type: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cni_type", cni_type) @property @pulumi.getter(name="cniType") @@ -195,14 +228,29 @@ def __init__(__self__, *, :param pulumi.Input[str] public_endpoint: The public native networking Kubernetes API server endpoint, if one was requested. :param pulumi.Input[str] vcn_hostname_endpoint: The FQDN assigned to the Kubernetes API private endpoint. Example: 'https://yourVcnHostnameEndpoint' """ + ClusterEndpointArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + kubernetes=kubernetes, + private_endpoint=private_endpoint, + public_endpoint=public_endpoint, + vcn_hostname_endpoint=vcn_hostname_endpoint, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + kubernetes: Optional[pulumi.Input[str]] = None, + private_endpoint: Optional[pulumi.Input[str]] = None, + public_endpoint: Optional[pulumi.Input[str]] = None, + vcn_hostname_endpoint: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if kubernetes is not None: - pulumi.set(__self__, "kubernetes", kubernetes) + _setter("kubernetes", kubernetes) if private_endpoint is not None: - pulumi.set(__self__, "private_endpoint", private_endpoint) + _setter("private_endpoint", private_endpoint) if public_endpoint is not None: - pulumi.set(__self__, "public_endpoint", public_endpoint) + _setter("public_endpoint", public_endpoint) if vcn_hostname_endpoint is not None: - pulumi.set(__self__, "vcn_hostname_endpoint", vcn_hostname_endpoint) + _setter("vcn_hostname_endpoint", vcn_hostname_endpoint) @property @pulumi.getter @@ -264,11 +312,24 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_public_ip_enabled: Whether the cluster should be assigned a public IP address. Defaults to false. If set to true on a private subnet, the cluster provisioning will fail. :param pulumi.Input[Sequence[pulumi.Input[str]]] nsg_ids: A list of the OCIDs of the network security groups (NSGs) to apply to the cluster endpoint. For more information about NSGs, see [NetworkSecurityGroup](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/20160918/NetworkSecurityGroup/). """ - pulumi.set(__self__, "subnet_id", subnet_id) + ClusterEndpointConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + subnet_id=subnet_id, + is_public_ip_enabled=is_public_ip_enabled, + nsg_ids=nsg_ids, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + subnet_id: pulumi.Input[str], + is_public_ip_enabled: Optional[pulumi.Input[bool]] = None, + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("subnet_id", subnet_id) if is_public_ip_enabled is not None: - pulumi.set(__self__, "is_public_ip_enabled", is_public_ip_enabled) + _setter("is_public_ip_enabled", is_public_ip_enabled) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) @property @pulumi.getter(name="subnetId") @@ -316,10 +377,21 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_policy_enabled: (Updatable) Whether the image verification policy is enabled. Defaults to false. If set to true, the images will be verified against the policy at runtime. :param pulumi.Input[Sequence[pulumi.Input['ClusterImagePolicyConfigKeyDetailArgs']]] key_details: (Updatable) A list of KMS key details. """ + ClusterImagePolicyConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_policy_enabled=is_policy_enabled, + key_details=key_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_policy_enabled: Optional[pulumi.Input[bool]] = None, + key_details: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterImagePolicyConfigKeyDetailArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_policy_enabled is not None: - pulumi.set(__self__, "is_policy_enabled", is_policy_enabled) + _setter("is_policy_enabled", is_policy_enabled) if key_details is not None: - pulumi.set(__self__, "key_details", key_details) + _setter("key_details", key_details) @property @pulumi.getter(name="isPolicyEnabled") @@ -353,8 +425,17 @@ def __init__(__self__, *, """ :param pulumi.Input[str] kms_key_id: The OCID of the KMS key to be used as the master encryption key for Kubernetes secret encryption. When used, `kubernetesVersion` must be at least `v1.13.0`. """ + ClusterImagePolicyConfigKeyDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + kms_key_id=kms_key_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + kms_key_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) @property @pulumi.getter(name="kmsKeyId") @@ -394,26 +475,53 @@ def __init__(__self__, *, :param pulumi.Input[str] updated_by_user_id: The user who updated the cluster. :param pulumi.Input[str] updated_by_work_request_id: The OCID of the work request which updated the cluster. """ + ClusterMetadataArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + created_by_user_id=created_by_user_id, + created_by_work_request_id=created_by_work_request_id, + deleted_by_user_id=deleted_by_user_id, + deleted_by_work_request_id=deleted_by_work_request_id, + time_created=time_created, + time_credential_expiration=time_credential_expiration, + time_deleted=time_deleted, + time_updated=time_updated, + updated_by_user_id=updated_by_user_id, + updated_by_work_request_id=updated_by_work_request_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created_by_user_id: Optional[pulumi.Input[str]] = None, + created_by_work_request_id: Optional[pulumi.Input[str]] = None, + deleted_by_user_id: Optional[pulumi.Input[str]] = None, + deleted_by_work_request_id: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_credential_expiration: Optional[pulumi.Input[str]] = None, + time_deleted: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + updated_by_user_id: Optional[pulumi.Input[str]] = None, + updated_by_work_request_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if created_by_user_id is not None: - pulumi.set(__self__, "created_by_user_id", created_by_user_id) + _setter("created_by_user_id", created_by_user_id) if created_by_work_request_id is not None: - pulumi.set(__self__, "created_by_work_request_id", created_by_work_request_id) + _setter("created_by_work_request_id", created_by_work_request_id) if deleted_by_user_id is not None: - pulumi.set(__self__, "deleted_by_user_id", deleted_by_user_id) + _setter("deleted_by_user_id", deleted_by_user_id) if deleted_by_work_request_id is not None: - pulumi.set(__self__, "deleted_by_work_request_id", deleted_by_work_request_id) + _setter("deleted_by_work_request_id", deleted_by_work_request_id) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_credential_expiration is not None: - pulumi.set(__self__, "time_credential_expiration", time_credential_expiration) + _setter("time_credential_expiration", time_credential_expiration) if time_deleted is not None: - pulumi.set(__self__, "time_deleted", time_deleted) + _setter("time_deleted", time_deleted) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if updated_by_user_id is not None: - pulumi.set(__self__, "updated_by_user_id", updated_by_user_id) + _setter("updated_by_user_id", updated_by_user_id) if updated_by_work_request_id is not None: - pulumi.set(__self__, "updated_by_work_request_id", updated_by_work_request_id) + _setter("updated_by_work_request_id", updated_by_work_request_id) @property @pulumi.getter(name="createdByUserId") @@ -553,18 +661,37 @@ def __init__(__self__, *, :param pulumi.Input['ClusterOptionsServiceLbConfigArgs'] service_lb_config: (Updatable) Configuration to be applied to load balancers created by Kubernetes services :param pulumi.Input[Sequence[pulumi.Input[str]]] service_lb_subnet_ids: The OCIDs of the subnets used for Kubernetes services load balancers. """ + ClusterOptionsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + add_ons=add_ons, + admission_controller_options=admission_controller_options, + kubernetes_network_config=kubernetes_network_config, + persistent_volume_config=persistent_volume_config, + service_lb_config=service_lb_config, + service_lb_subnet_ids=service_lb_subnet_ids, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + add_ons: Optional[pulumi.Input['ClusterOptionsAddOnsArgs']] = None, + admission_controller_options: Optional[pulumi.Input['ClusterOptionsAdmissionControllerOptionsArgs']] = None, + kubernetes_network_config: Optional[pulumi.Input['ClusterOptionsKubernetesNetworkConfigArgs']] = None, + persistent_volume_config: Optional[pulumi.Input['ClusterOptionsPersistentVolumeConfigArgs']] = None, + service_lb_config: Optional[pulumi.Input['ClusterOptionsServiceLbConfigArgs']] = None, + service_lb_subnet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if add_ons is not None: - pulumi.set(__self__, "add_ons", add_ons) + _setter("add_ons", add_ons) if admission_controller_options is not None: - pulumi.set(__self__, "admission_controller_options", admission_controller_options) + _setter("admission_controller_options", admission_controller_options) if kubernetes_network_config is not None: - pulumi.set(__self__, "kubernetes_network_config", kubernetes_network_config) + _setter("kubernetes_network_config", kubernetes_network_config) if persistent_volume_config is not None: - pulumi.set(__self__, "persistent_volume_config", persistent_volume_config) + _setter("persistent_volume_config", persistent_volume_config) if service_lb_config is not None: - pulumi.set(__self__, "service_lb_config", service_lb_config) + _setter("service_lb_config", service_lb_config) if service_lb_subnet_ids is not None: - pulumi.set(__self__, "service_lb_subnet_ids", service_lb_subnet_ids) + _setter("service_lb_subnet_ids", service_lb_subnet_ids) @property @pulumi.getter(name="addOns") @@ -648,10 +775,21 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_kubernetes_dashboard_enabled: Whether or not to enable the Kubernetes Dashboard add-on. :param pulumi.Input[bool] is_tiller_enabled: Whether or not to enable the Tiller add-on. """ + ClusterOptionsAddOnsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_kubernetes_dashboard_enabled=is_kubernetes_dashboard_enabled, + is_tiller_enabled=is_tiller_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_kubernetes_dashboard_enabled: Optional[pulumi.Input[bool]] = None, + is_tiller_enabled: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_kubernetes_dashboard_enabled is not None: - pulumi.set(__self__, "is_kubernetes_dashboard_enabled", is_kubernetes_dashboard_enabled) + _setter("is_kubernetes_dashboard_enabled", is_kubernetes_dashboard_enabled) if is_tiller_enabled is not None: - pulumi.set(__self__, "is_tiller_enabled", is_tiller_enabled) + _setter("is_tiller_enabled", is_tiller_enabled) @property @pulumi.getter(name="isKubernetesDashboardEnabled") @@ -685,8 +823,17 @@ def __init__(__self__, *, """ :param pulumi.Input[bool] is_pod_security_policy_enabled: (Updatable) Whether or not to enable the Pod Security Policy admission controller. """ + ClusterOptionsAdmissionControllerOptionsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_pod_security_policy_enabled=is_pod_security_policy_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_pod_security_policy_enabled: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_pod_security_policy_enabled is not None: - pulumi.set(__self__, "is_pod_security_policy_enabled", is_pod_security_policy_enabled) + _setter("is_pod_security_policy_enabled", is_pod_security_policy_enabled) @property @pulumi.getter(name="isPodSecurityPolicyEnabled") @@ -710,10 +857,21 @@ def __init__(__self__, *, :param pulumi.Input[str] pods_cidr: The CIDR block for Kubernetes pods. Optional, defaults to 10.244.0.0/16. :param pulumi.Input[str] services_cidr: The CIDR block for Kubernetes services. Optional, defaults to 10.96.0.0/16. """ + ClusterOptionsKubernetesNetworkConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + pods_cidr=pods_cidr, + services_cidr=services_cidr, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + pods_cidr: Optional[pulumi.Input[str]] = None, + services_cidr: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if pods_cidr is not None: - pulumi.set(__self__, "pods_cidr", pods_cidr) + _setter("pods_cidr", pods_cidr) if services_cidr is not None: - pulumi.set(__self__, "services_cidr", services_cidr) + _setter("services_cidr", services_cidr) @property @pulumi.getter(name="podsCidr") @@ -749,10 +907,21 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` :param pulumi.Input[Mapping[str, Any]] freeform_tags: (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` """ + ClusterOptionsPersistentVolumeConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + defined_tags=defined_tags, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="definedTags") @@ -788,10 +957,21 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` :param pulumi.Input[Mapping[str, Any]] freeform_tags: (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` """ + ClusterOptionsServiceLbConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + defined_tags=defined_tags, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="definedTags") @@ -886,55 +1066,112 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['ContainerInstanceContainerVolumeMountArgs']]] volume_mounts: List of the volume mounts. :param pulumi.Input[str] working_directory: The working directory within the container's filesystem for the container process. If not specified, the default working directory from the image is used. """ - pulumi.set(__self__, "image_url", image_url) + ContainerInstanceContainerArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + image_url=image_url, + arguments=arguments, + availability_domain=availability_domain, + commands=commands, + compartment_id=compartment_id, + container_id=container_id, + container_instance_id=container_instance_id, + defined_tags=defined_tags, + display_name=display_name, + environment_variables=environment_variables, + exit_code=exit_code, + fault_domain=fault_domain, + freeform_tags=freeform_tags, + health_checks=health_checks, + is_resource_principal_disabled=is_resource_principal_disabled, + lifecycle_details=lifecycle_details, + resource_config=resource_config, + security_context=security_context, + state=state, + system_tags=system_tags, + time_created=time_created, + time_terminated=time_terminated, + time_updated=time_updated, + volume_mounts=volume_mounts, + working_directory=working_directory, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + image_url: pulumi.Input[str], + arguments: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + availability_domain: Optional[pulumi.Input[str]] = None, + commands: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + container_id: Optional[pulumi.Input[str]] = None, + container_instance_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + environment_variables: Optional[pulumi.Input[Mapping[str, Any]]] = None, + exit_code: Optional[pulumi.Input[int]] = None, + fault_domain: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + health_checks: Optional[pulumi.Input[Sequence[pulumi.Input['ContainerInstanceContainerHealthCheckArgs']]]] = None, + is_resource_principal_disabled: Optional[pulumi.Input[bool]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + resource_config: Optional[pulumi.Input['ContainerInstanceContainerResourceConfigArgs']] = None, + security_context: Optional[pulumi.Input['ContainerInstanceContainerSecurityContextArgs']] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_terminated: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + volume_mounts: Optional[pulumi.Input[Sequence[pulumi.Input['ContainerInstanceContainerVolumeMountArgs']]]] = None, + working_directory: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("image_url", image_url) if arguments is not None: - pulumi.set(__self__, "arguments", arguments) + _setter("arguments", arguments) if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if commands is not None: - pulumi.set(__self__, "commands", commands) + _setter("commands", commands) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if container_id is not None: - pulumi.set(__self__, "container_id", container_id) + _setter("container_id", container_id) if container_instance_id is not None: - pulumi.set(__self__, "container_instance_id", container_instance_id) + _setter("container_instance_id", container_instance_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if environment_variables is not None: - pulumi.set(__self__, "environment_variables", environment_variables) + _setter("environment_variables", environment_variables) if exit_code is not None: - pulumi.set(__self__, "exit_code", exit_code) + _setter("exit_code", exit_code) if fault_domain is not None: - pulumi.set(__self__, "fault_domain", fault_domain) + _setter("fault_domain", fault_domain) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if health_checks is not None: - pulumi.set(__self__, "health_checks", health_checks) + _setter("health_checks", health_checks) if is_resource_principal_disabled is not None: - pulumi.set(__self__, "is_resource_principal_disabled", is_resource_principal_disabled) + _setter("is_resource_principal_disabled", is_resource_principal_disabled) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if resource_config is not None: - pulumi.set(__self__, "resource_config", resource_config) + _setter("resource_config", resource_config) if security_context is not None: - pulumi.set(__self__, "security_context", security_context) + _setter("security_context", security_context) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_terminated is not None: - pulumi.set(__self__, "time_terminated", time_terminated) + _setter("time_terminated", time_terminated) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if volume_mounts is not None: - pulumi.set(__self__, "volume_mounts", volume_mounts) + _setter("volume_mounts", volume_mounts) if working_directory is not None: - pulumi.set(__self__, "working_directory", working_directory) + _setter("working_directory", working_directory) @property @pulumi.getter(name="imageUrl") @@ -1275,33 +1512,68 @@ def __init__(__self__, *, :param pulumi.Input[int] success_threshold: Number of consecutive successes at which we consider the check succeeded again after it was in failure state. :param pulumi.Input[int] timeout_in_seconds: Length of waiting time in seconds before marking health check failed. """ - pulumi.set(__self__, "health_check_type", health_check_type) + ContainerInstanceContainerHealthCheckArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + health_check_type=health_check_type, + commands=commands, + failure_action=failure_action, + failure_threshold=failure_threshold, + headers=headers, + initial_delay_in_seconds=initial_delay_in_seconds, + interval_in_seconds=interval_in_seconds, + name=name, + path=path, + port=port, + status=status, + status_details=status_details, + success_threshold=success_threshold, + timeout_in_seconds=timeout_in_seconds, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + health_check_type: pulumi.Input[str], + commands: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + failure_action: Optional[pulumi.Input[str]] = None, + failure_threshold: Optional[pulumi.Input[int]] = None, + headers: Optional[pulumi.Input[Sequence[pulumi.Input['ContainerInstanceContainerHealthCheckHeaderArgs']]]] = None, + initial_delay_in_seconds: Optional[pulumi.Input[int]] = None, + interval_in_seconds: Optional[pulumi.Input[int]] = None, + name: Optional[pulumi.Input[str]] = None, + path: Optional[pulumi.Input[str]] = None, + port: Optional[pulumi.Input[int]] = None, + status: Optional[pulumi.Input[str]] = None, + status_details: Optional[pulumi.Input[str]] = None, + success_threshold: Optional[pulumi.Input[int]] = None, + timeout_in_seconds: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("health_check_type", health_check_type) if commands is not None: - pulumi.set(__self__, "commands", commands) + _setter("commands", commands) if failure_action is not None: - pulumi.set(__self__, "failure_action", failure_action) + _setter("failure_action", failure_action) if failure_threshold is not None: - pulumi.set(__self__, "failure_threshold", failure_threshold) + _setter("failure_threshold", failure_threshold) if headers is not None: - pulumi.set(__self__, "headers", headers) + _setter("headers", headers) if initial_delay_in_seconds is not None: - pulumi.set(__self__, "initial_delay_in_seconds", initial_delay_in_seconds) + _setter("initial_delay_in_seconds", initial_delay_in_seconds) if interval_in_seconds is not None: - pulumi.set(__self__, "interval_in_seconds", interval_in_seconds) + _setter("interval_in_seconds", interval_in_seconds) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if path is not None: - pulumi.set(__self__, "path", path) + _setter("path", path) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if status_details is not None: - pulumi.set(__self__, "status_details", status_details) + _setter("status_details", status_details) if success_threshold is not None: - pulumi.set(__self__, "success_threshold", success_threshold) + _setter("success_threshold", success_threshold) if timeout_in_seconds is not None: - pulumi.set(__self__, "timeout_in_seconds", timeout_in_seconds) + _setter("timeout_in_seconds", timeout_in_seconds) @property @pulumi.getter(name="healthCheckType") @@ -1475,10 +1747,21 @@ def __init__(__self__, *, :param pulumi.Input[str] name: The name of the volume. This must be unique within a single container instance. :param pulumi.Input[str] value: Container HTTP header value. """ + ContainerInstanceContainerHealthCheckHeaderArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -1522,10 +1805,21 @@ def __init__(__self__, *, A container with a 2.0 vcpusLimit could consume up to 100% of the CPU resources available on the container instance. Values can be fractional. A value of "1.5" means that the container can consume at most the equivalent of 1 and a half logical CPUs worth of CPU capacity. """ + ContainerInstanceContainerResourceConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_limit_in_gbs=memory_limit_in_gbs, + vcpus_limit=vcpus_limit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_limit_in_gbs: Optional[pulumi.Input[float]] = None, + vcpus_limit: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if memory_limit_in_gbs is not None: - pulumi.set(__self__, "memory_limit_in_gbs", memory_limit_in_gbs) + _setter("memory_limit_in_gbs", memory_limit_in_gbs) if vcpus_limit is not None: - pulumi.set(__self__, "vcpus_limit", vcpus_limit) + _setter("vcpus_limit", vcpus_limit) @property @pulumi.getter(name="memoryLimitInGbs") @@ -1575,16 +1869,33 @@ def __init__(__self__, *, :param pulumi.Input[int] run_as_user: The user ID (UID) to run the entrypoint process of the container. Defaults to user specified UID in container image metadata if not provided. This must be provided if runAsGroup is provided. :param pulumi.Input[str] security_context_type: The type of security context """ + ContainerInstanceContainerSecurityContextArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_non_root_user_check_enabled=is_non_root_user_check_enabled, + is_root_file_system_readonly=is_root_file_system_readonly, + run_as_group=run_as_group, + run_as_user=run_as_user, + security_context_type=security_context_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_non_root_user_check_enabled: Optional[pulumi.Input[bool]] = None, + is_root_file_system_readonly: Optional[pulumi.Input[bool]] = None, + run_as_group: Optional[pulumi.Input[int]] = None, + run_as_user: Optional[pulumi.Input[int]] = None, + security_context_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_non_root_user_check_enabled is not None: - pulumi.set(__self__, "is_non_root_user_check_enabled", is_non_root_user_check_enabled) + _setter("is_non_root_user_check_enabled", is_non_root_user_check_enabled) if is_root_file_system_readonly is not None: - pulumi.set(__self__, "is_root_file_system_readonly", is_root_file_system_readonly) + _setter("is_root_file_system_readonly", is_root_file_system_readonly) if run_as_group is not None: - pulumi.set(__self__, "run_as_group", run_as_group) + _setter("run_as_group", run_as_group) if run_as_user is not None: - pulumi.set(__self__, "run_as_user", run_as_user) + _setter("run_as_user", run_as_user) if security_context_type is not None: - pulumi.set(__self__, "security_context_type", security_context_type) + _setter("security_context_type", security_context_type) @property @pulumi.getter(name="isNonRootUserCheckEnabled") @@ -1662,14 +1973,31 @@ def __init__(__self__, *, :param pulumi.Input[int] partition: If there is more than one partition in the volume, reference this number of partitions. Here is an example: Number Start End Size File system Name Flags 1 1049kB 106MB 105MB fat16 EFI System Partition boot, esp 2 106MB 1180MB 1074MB xfs 3 1180MB 50.0GB 48.8GB lvm :param pulumi.Input[str] sub_path: A subpath inside the referenced volume. """ - pulumi.set(__self__, "mount_path", mount_path) - pulumi.set(__self__, "volume_name", volume_name) + ContainerInstanceContainerVolumeMountArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + mount_path=mount_path, + volume_name=volume_name, + is_read_only=is_read_only, + partition=partition, + sub_path=sub_path, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + mount_path: pulumi.Input[str], + volume_name: pulumi.Input[str], + is_read_only: Optional[pulumi.Input[bool]] = None, + partition: Optional[pulumi.Input[int]] = None, + sub_path: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("mount_path", mount_path) + _setter("volume_name", volume_name) if is_read_only is not None: - pulumi.set(__self__, "is_read_only", is_read_only) + _setter("is_read_only", is_read_only) if partition is not None: - pulumi.set(__self__, "partition", partition) + _setter("partition", partition) if sub_path is not None: - pulumi.set(__self__, "sub_path", sub_path) + _setter("sub_path", sub_path) @property @pulumi.getter(name="mountPath") @@ -1743,12 +2071,25 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] options: Options allows certain internal resolver variables to be modified. Options are a list of objects in https://man7.org/linux/man-pages/man5/resolv.conf.5.html. Examples: ["ndots:n", "edns0"]. :param pulumi.Input[Sequence[pulumi.Input[str]]] searches: Search list for host-name lookup. If null, we will use searches from subnet dhcpDnsOptios. """ + ContainerInstanceDnsConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + nameservers=nameservers, + options=options, + searches=searches, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + nameservers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + options: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + searches: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if nameservers is not None: - pulumi.set(__self__, "nameservers", nameservers) + _setter("nameservers", nameservers) if options is not None: - pulumi.set(__self__, "options", options) + _setter("options", options) if searches is not None: - pulumi.set(__self__, "searches", searches) + _setter("searches", searches) @property @pulumi.getter @@ -1802,14 +2143,31 @@ def __init__(__self__, *, :param pulumi.Input[str] secret_id: The OCID of the secret for registry credentials. :param pulumi.Input[str] username: The username which should be used with the registry for authentication. The value is expected in base64 format. """ - pulumi.set(__self__, "registry_endpoint", registry_endpoint) - pulumi.set(__self__, "secret_type", secret_type) + ContainerInstanceImagePullSecretArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + registry_endpoint=registry_endpoint, + secret_type=secret_type, + password=password, + secret_id=secret_id, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + registry_endpoint: pulumi.Input[str], + secret_type: pulumi.Input[str], + password: Optional[pulumi.Input[str]] = None, + secret_id: Optional[pulumi.Input[str]] = None, + username: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("registry_endpoint", registry_endpoint) + _setter("secret_type", secret_type) if password is not None: - pulumi.set(__self__, "password", password) + _setter("password", password) if secret_id is not None: - pulumi.set(__self__, "secret_id", secret_id) + _setter("secret_id", secret_id) if username is not None: - pulumi.set(__self__, "username", username) + _setter("username", username) @property @pulumi.getter(name="registryEndpoint") @@ -1885,13 +2243,28 @@ def __init__(__self__, *, :param pulumi.Input[float] networking_bandwidth_in_gbps: The networking bandwidth available to the container instance, in gigabits per second. :param pulumi.Input[str] processor_description: A short description of the container instance's processor (CPU). """ - pulumi.set(__self__, "ocpus", ocpus) + ContainerInstanceShapeConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + ocpus=ocpus, + memory_in_gbs=memory_in_gbs, + networking_bandwidth_in_gbps=networking_bandwidth_in_gbps, + processor_description=processor_description, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ocpus: pulumi.Input[float], + memory_in_gbs: Optional[pulumi.Input[float]] = None, + networking_bandwidth_in_gbps: Optional[pulumi.Input[float]] = None, + processor_description: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ocpus", ocpus) if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) if networking_bandwidth_in_gbps is not None: - pulumi.set(__self__, "networking_bandwidth_in_gbps", networking_bandwidth_in_gbps) + _setter("networking_bandwidth_in_gbps", networking_bandwidth_in_gbps) if processor_description is not None: - pulumi.set(__self__, "processor_description", processor_description) + _setter("processor_description", processor_description) @property @pulumi.getter @@ -1967,25 +2340,52 @@ def __init__(__self__, *, :param pulumi.Input[bool] skip_source_dest_check: Whether the source/destination check is disabled on the VNIC. :param pulumi.Input[str] vnic_id: The identifier of the virtual network interface card (VNIC) over which the containers accessing this network can communicate with the larger virtual cloud network. """ - pulumi.set(__self__, "subnet_id", subnet_id) + ContainerInstanceVnicArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + subnet_id=subnet_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + hostname_label=hostname_label, + is_public_ip_assigned=is_public_ip_assigned, + nsg_ids=nsg_ids, + private_ip=private_ip, + skip_source_dest_check=skip_source_dest_check, + vnic_id=vnic_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + subnet_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + hostname_label: Optional[pulumi.Input[str]] = None, + is_public_ip_assigned: Optional[pulumi.Input[bool]] = None, + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + private_ip: Optional[pulumi.Input[str]] = None, + skip_source_dest_check: Optional[pulumi.Input[bool]] = None, + vnic_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("subnet_id", subnet_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if hostname_label is not None: - pulumi.set(__self__, "hostname_label", hostname_label) + _setter("hostname_label", hostname_label) if is_public_ip_assigned is not None: - pulumi.set(__self__, "is_public_ip_assigned", is_public_ip_assigned) + _setter("is_public_ip_assigned", is_public_ip_assigned) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) if private_ip is not None: - pulumi.set(__self__, "private_ip", private_ip) + _setter("private_ip", private_ip) if skip_source_dest_check is not None: - pulumi.set(__self__, "skip_source_dest_check", skip_source_dest_check) + _setter("skip_source_dest_check", skip_source_dest_check) if vnic_id is not None: - pulumi.set(__self__, "vnic_id", vnic_id) + _setter("vnic_id", vnic_id) @property @pulumi.getter(name="subnetId") @@ -2121,12 +2521,27 @@ def __init__(__self__, *, :param pulumi.Input[str] backing_store: The volume type of the empty directory, can be either File Storage or Memory. :param pulumi.Input[Sequence[pulumi.Input['ContainerInstanceVolumeConfigArgs']]] configs: Contains key value pairs which can be mounted as individual files inside the container. The value needs to be base64 encoded. It is decoded to plain text before the mount. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "volume_type", volume_type) + ContainerInstanceVolumeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + volume_type=volume_type, + backing_store=backing_store, + configs=configs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: pulumi.Input[str], + volume_type: pulumi.Input[str], + backing_store: Optional[pulumi.Input[str]] = None, + configs: Optional[pulumi.Input[Sequence[pulumi.Input['ContainerInstanceVolumeConfigArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("volume_type", volume_type) if backing_store is not None: - pulumi.set(__self__, "backing_store", backing_store) + _setter("backing_store", backing_store) if configs is not None: - pulumi.set(__self__, "configs", configs) + _setter("configs", configs) @property @pulumi.getter @@ -2188,12 +2603,25 @@ def __init__(__self__, *, :param pulumi.Input[str] file_name: The name of the file. The fileName should be unique across the volume. :param pulumi.Input[str] path: (Optional) Relative path for this file inside the volume mount directory. By default, the file is presented at the root of the volume mount path. """ + ContainerInstanceVolumeConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + data=data, + file_name=file_name, + path=path, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + data: Optional[pulumi.Input[str]] = None, + file_name: Optional[pulumi.Input[str]] = None, + path: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if data is not None: - pulumi.set(__self__, "data", data) + _setter("data", data) if file_name is not None: - pulumi.set(__self__, "file_name", file_name) + _setter("file_name", file_name) if path is not None: - pulumi.set(__self__, "path", path) + _setter("path", path) @property @pulumi.getter @@ -2241,10 +2669,21 @@ def __init__(__self__, *, :param pulumi.Input[str] key: (Updatable) The key of the pair. :param pulumi.Input[str] value: (Updatable) The value of the pair. """ + NodePoolInitialNodeLabelArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -2304,34 +2743,69 @@ def __init__(__self__, *, :param pulumi.Input[str] state: The state of the nodepool. :param pulumi.Input[str] subnet_id: (Updatable) The OCID of the subnet in which to place nodes. """ + NodePoolNodeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + defined_tags=defined_tags, + errors=errors, + fault_domain=fault_domain, + freeform_tags=freeform_tags, + id=id, + kubernetes_version=kubernetes_version, + lifecycle_details=lifecycle_details, + name=name, + node_pool_id=node_pool_id, + private_ip=private_ip, + public_ip=public_ip, + state=state, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + errors: Optional[pulumi.Input[Sequence[pulumi.Input['NodePoolNodeErrorArgs']]]] = None, + fault_domain: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + id: Optional[pulumi.Input[str]] = None, + kubernetes_version: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + node_pool_id: Optional[pulumi.Input[str]] = None, + private_ip: Optional[pulumi.Input[str]] = None, + public_ip: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if errors is not None: - pulumi.set(__self__, "errors", errors) + _setter("errors", errors) if fault_domain is not None: - pulumi.set(__self__, "fault_domain", fault_domain) + _setter("fault_domain", fault_domain) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if kubernetes_version is not None: - pulumi.set(__self__, "kubernetes_version", kubernetes_version) + _setter("kubernetes_version", kubernetes_version) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if node_pool_id is not None: - pulumi.set(__self__, "node_pool_id", node_pool_id) + _setter("node_pool_id", node_pool_id) if private_ip is not None: - pulumi.set(__self__, "private_ip", private_ip) + _setter("private_ip", private_ip) if public_ip is not None: - pulumi.set(__self__, "public_ip", public_ip) + _setter("public_ip", public_ip) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="availabilityDomain") @@ -2525,20 +2999,43 @@ def __init__(__self__, *, :param pulumi.Input['NodePoolNodeConfigDetailsNodePoolPodNetworkOptionDetailsArgs'] node_pool_pod_network_option_details: (Updatable) The CNI related configuration of pods in the node pool. :param pulumi.Input[Sequence[pulumi.Input[str]]] nsg_ids: (Updatable) The OCIDs of the Network Security Group(s) to associate nodes for this node pool with. For more information about NSGs, see [NetworkSecurityGroup](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/20160918/NetworkSecurityGroup/). """ - pulumi.set(__self__, "placement_configs", placement_configs) - pulumi.set(__self__, "size", size) + NodePoolNodeConfigDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + placement_configs=placement_configs, + size=size, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + is_pv_encryption_in_transit_enabled=is_pv_encryption_in_transit_enabled, + kms_key_id=kms_key_id, + node_pool_pod_network_option_details=node_pool_pod_network_option_details, + nsg_ids=nsg_ids, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + placement_configs: pulumi.Input[Sequence[pulumi.Input['NodePoolNodeConfigDetailsPlacementConfigArgs']]], + size: pulumi.Input[int], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_pv_encryption_in_transit_enabled: Optional[pulumi.Input[bool]] = None, + kms_key_id: Optional[pulumi.Input[str]] = None, + node_pool_pod_network_option_details: Optional[pulumi.Input['NodePoolNodeConfigDetailsNodePoolPodNetworkOptionDetailsArgs']] = None, + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("placement_configs", placement_configs) + _setter("size", size) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_pv_encryption_in_transit_enabled is not None: - pulumi.set(__self__, "is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) + _setter("is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) if node_pool_pod_network_option_details is not None: - pulumi.set(__self__, "node_pool_pod_network_option_details", node_pool_pod_network_option_details) + _setter("node_pool_pod_network_option_details", node_pool_pod_network_option_details) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) @property @pulumi.getter(name="placementConfigs") @@ -2652,13 +3149,28 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] pod_nsg_ids: (Updatable) The OCIDs of the Network Security Group(s) to associate pods for this node pool with. For more information about NSGs, see [NetworkSecurityGroup](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/20160918/NetworkSecurityGroup/). :param pulumi.Input[Sequence[pulumi.Input[str]]] pod_subnet_ids: (Updatable) The OCIDs of the subnets in which to place pods for this node pool. This can be one of the node pool subnet IDs """ - pulumi.set(__self__, "cni_type", cni_type) + NodePoolNodeConfigDetailsNodePoolPodNetworkOptionDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + cni_type=cni_type, + max_pods_per_node=max_pods_per_node, + pod_nsg_ids=pod_nsg_ids, + pod_subnet_ids=pod_subnet_ids, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cni_type: pulumi.Input[str], + max_pods_per_node: Optional[pulumi.Input[int]] = None, + pod_nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + pod_subnet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cni_type", cni_type) if max_pods_per_node is not None: - pulumi.set(__self__, "max_pods_per_node", max_pods_per_node) + _setter("max_pods_per_node", max_pods_per_node) if pod_nsg_ids is not None: - pulumi.set(__self__, "pod_nsg_ids", pod_nsg_ids) + _setter("pod_nsg_ids", pod_nsg_ids) if pod_subnet_ids is not None: - pulumi.set(__self__, "pod_subnet_ids", pod_subnet_ids) + _setter("pod_subnet_ids", pod_subnet_ids) @property @pulumi.getter(name="cniType") @@ -2724,14 +3236,31 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] fault_domains: (Updatable) A list of fault domains in which to place nodes. :param pulumi.Input['NodePoolNodeConfigDetailsPlacementConfigPreemptibleNodeConfigArgs'] preemptible_node_config: (Updatable) Configuration options for preemptible nodes. """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "subnet_id", subnet_id) + NodePoolNodeConfigDetailsPlacementConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + subnet_id=subnet_id, + capacity_reservation_id=capacity_reservation_id, + fault_domains=fault_domains, + preemptible_node_config=preemptible_node_config, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: pulumi.Input[str], + subnet_id: pulumi.Input[str], + capacity_reservation_id: Optional[pulumi.Input[str]] = None, + fault_domains: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + preemptible_node_config: Optional[pulumi.Input['NodePoolNodeConfigDetailsPlacementConfigPreemptibleNodeConfigArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("subnet_id", subnet_id) if capacity_reservation_id is not None: - pulumi.set(__self__, "capacity_reservation_id", capacity_reservation_id) + _setter("capacity_reservation_id", capacity_reservation_id) if fault_domains is not None: - pulumi.set(__self__, "fault_domains", fault_domains) + _setter("fault_domains", fault_domains) if preemptible_node_config is not None: - pulumi.set(__self__, "preemptible_node_config", preemptible_node_config) + _setter("preemptible_node_config", preemptible_node_config) @property @pulumi.getter(name="availabilityDomain") @@ -2801,7 +3330,16 @@ def __init__(__self__, *, """ :param pulumi.Input['NodePoolNodeConfigDetailsPlacementConfigPreemptibleNodeConfigPreemptionActionArgs'] preemption_action: (Updatable) The action to run when the preemptible node is interrupted for eviction. """ - pulumi.set(__self__, "preemption_action", preemption_action) + NodePoolNodeConfigDetailsPlacementConfigPreemptibleNodeConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + preemption_action=preemption_action, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + preemption_action: pulumi.Input['NodePoolNodeConfigDetailsPlacementConfigPreemptibleNodeConfigPreemptionActionArgs'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("preemption_action", preemption_action) @property @pulumi.getter(name="preemptionAction") @@ -2825,9 +3363,20 @@ def __init__(__self__, *, :param pulumi.Input[str] type: (Updatable) The type of action to run when the instance is interrupted for eviction. :param pulumi.Input[bool] is_preserve_boot_volume: (Updatable) Whether to preserve the boot volume that was used to launch the preemptible instance when the instance is terminated. Defaults to false if not specified. """ - pulumi.set(__self__, "type", type) + NodePoolNodeConfigDetailsPlacementConfigPreemptibleNodeConfigPreemptionActionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + is_preserve_boot_volume=is_preserve_boot_volume, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + is_preserve_boot_volume: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if is_preserve_boot_volume is not None: - pulumi.set(__self__, "is_preserve_boot_volume", is_preserve_boot_volume) + _setter("is_preserve_boot_volume", is_preserve_boot_volume) @property @pulumi.getter @@ -2865,12 +3414,25 @@ def __init__(__self__, *, :param pulumi.Input[str] message: A human-readable error string of the upstream error. :param pulumi.Input[str] status: The status of the HTTP response encountered in the upstream error. """ + NodePoolNodeErrorArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + code=code, + message=message, + status=status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + code: Optional[pulumi.Input[str]] = None, + message: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if code is not None: - pulumi.set(__self__, "code", code) + _setter("code", code) if message is not None: - pulumi.set(__self__, "message", message) + _setter("message", message) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) @property @pulumi.getter @@ -2918,10 +3480,21 @@ def __init__(__self__, *, :param pulumi.Input[str] eviction_grace_duration: (Updatable) Duration after which OKE will give up eviction of the pods on the node. PT0M will indicate you want to delete the node without cordon and drain. Default PT60M, Min PT0M, Max: PT60M. Format ISO 8601 e.g PT30M :param pulumi.Input[bool] is_force_delete_after_grace_duration: (Updatable) If the underlying compute instance should be deleted if you cannot evict all the pods in grace period """ + NodePoolNodeEvictionNodePoolSettingsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + eviction_grace_duration=eviction_grace_duration, + is_force_delete_after_grace_duration=is_force_delete_after_grace_duration, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + eviction_grace_duration: Optional[pulumi.Input[str]] = None, + is_force_delete_after_grace_duration: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if eviction_grace_duration is not None: - pulumi.set(__self__, "eviction_grace_duration", eviction_grace_duration) + _setter("eviction_grace_duration", eviction_grace_duration) if is_force_delete_after_grace_duration is not None: - pulumi.set(__self__, "is_force_delete_after_grace_duration", is_force_delete_after_grace_duration) + _setter("is_force_delete_after_grace_duration", is_force_delete_after_grace_duration) @property @pulumi.getter(name="evictionGraceDuration") @@ -2959,12 +3532,25 @@ def __init__(__self__, *, :param pulumi.Input[str] maximum_surge: (Updatable) Maximum additional new compute instances that would be temporarily created and added to nodepool during the cycling nodepool process. OKE supports both integer and percentage input. Defaults to 1, Ranges from 0 to Nodepool size or 0% to 100% :param pulumi.Input[str] maximum_unavailable: (Updatable) Maximum active nodes that would be terminated from nodepool during the cycling nodepool process. OKE supports both integer and percentage input. Defaults to 0, Ranges from 0 to Nodepool size or 0% to 100% """ + NodePoolNodePoolCyclingDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_node_cycling_enabled=is_node_cycling_enabled, + maximum_surge=maximum_surge, + maximum_unavailable=maximum_unavailable, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_node_cycling_enabled: Optional[pulumi.Input[bool]] = None, + maximum_surge: Optional[pulumi.Input[str]] = None, + maximum_unavailable: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_node_cycling_enabled is not None: - pulumi.set(__self__, "is_node_cycling_enabled", is_node_cycling_enabled) + _setter("is_node_cycling_enabled", is_node_cycling_enabled) if maximum_surge is not None: - pulumi.set(__self__, "maximum_surge", maximum_surge) + _setter("maximum_surge", maximum_surge) if maximum_unavailable is not None: - pulumi.set(__self__, "maximum_unavailable", maximum_unavailable) + _setter("maximum_unavailable", maximum_unavailable) @property @pulumi.getter(name="isNodeCyclingEnabled") @@ -3012,10 +3598,21 @@ def __init__(__self__, *, :param pulumi.Input[float] memory_in_gbs: (Updatable) The total amount of memory available to each node, in gigabytes. :param pulumi.Input[float] ocpus: (Updatable) The total number of OCPUs available to each node in the node pool. See [here](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/Shape/) for details. """ + NodePoolNodeShapeConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: Optional[pulumi.Input[float]] = None, + ocpus: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) if ocpus is not None: - pulumi.set(__self__, "ocpus", ocpus) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -3053,12 +3650,25 @@ def __init__(__self__, *, :param pulumi.Input[str] source_name: The user-friendly name of the entity corresponding to the OCID. :param pulumi.Input[str] source_type: (Updatable) The source type for the node. Use `IMAGE` when specifying an OCID of an image. """ + NodePoolNodeSourceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + image_id=image_id, + source_name=source_name, + source_type=source_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + image_id: Optional[pulumi.Input[str]] = None, + source_name: Optional[pulumi.Input[str]] = None, + source_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if image_id is not None: - pulumi.set(__self__, "image_id", image_id) + _setter("image_id", image_id) if source_name is not None: - pulumi.set(__self__, "source_name", source_name) + _setter("source_name", source_name) if source_type is not None: - pulumi.set(__self__, "source_type", source_type) + _setter("source_type", source_type) @property @pulumi.getter(name="imageId") @@ -3108,10 +3718,23 @@ def __init__(__self__, *, :param pulumi.Input[str] source_type: (Updatable) The source type for the node. Use `IMAGE` when specifying an OCID of an image. :param pulumi.Input[str] boot_volume_size_in_gbs: (Updatable) The size of the boot volume in GBs. Minimum value is 50 GB. See [here](https://docs.cloud.oracle.com/en-us/iaas/Content/Block/Concepts/bootvolumes.htm) for max custom boot volume sizing and OS-specific requirements. """ - pulumi.set(__self__, "image_id", image_id) - pulumi.set(__self__, "source_type", source_type) + NodePoolNodeSourceDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + image_id=image_id, + source_type=source_type, + boot_volume_size_in_gbs=boot_volume_size_in_gbs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + image_id: pulumi.Input[str], + source_type: pulumi.Input[str], + boot_volume_size_in_gbs: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("image_id", image_id) + _setter("source_type", source_type) if boot_volume_size_in_gbs is not None: - pulumi.set(__self__, "boot_volume_size_in_gbs", boot_volume_size_in_gbs) + _setter("boot_volume_size_in_gbs", boot_volume_size_in_gbs) @property @pulumi.getter(name="imageId") @@ -3159,10 +3782,21 @@ def __init__(__self__, *, :param pulumi.Input[str] key: (Updatable) The key of the pair. :param pulumi.Input[str] value: (Updatable) The value of the pair. """ + VirtualNodePoolInitialVirtualNodeLabelArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -3200,9 +3834,22 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] fault_domains: (Updatable) The fault domain of this virtual node. :param pulumi.Input[str] subnet_id: (Updatable) The regional subnet where pods' VNIC will be placed. """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "fault_domains", fault_domains) - pulumi.set(__self__, "subnet_id", subnet_id) + VirtualNodePoolPlacementConfigurationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + fault_domains=fault_domains, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: pulumi.Input[str], + fault_domains: pulumi.Input[Sequence[pulumi.Input[str]]], + subnet_id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("fault_domains", fault_domains) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="availabilityDomain") @@ -3252,10 +3899,23 @@ def __init__(__self__, *, :param pulumi.Input[str] subnet_id: (Updatable) The regional subnet where pods' VNIC will be placed. :param pulumi.Input[Sequence[pulumi.Input[str]]] nsg_ids: (Updatable) List of network security group IDs applied to the Pod VNIC. """ - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "subnet_id", subnet_id) + VirtualNodePoolPodConfigurationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + shape=shape, + subnet_id=subnet_id, + nsg_ids=nsg_ids, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + shape: pulumi.Input[str], + subnet_id: pulumi.Input[str], + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("shape", shape) + _setter("subnet_id", subnet_id) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) @property @pulumi.getter @@ -3305,12 +3965,25 @@ def __init__(__self__, *, :param pulumi.Input[str] key: (Updatable) The key of the pair. :param pulumi.Input[str] value: (Updatable) The value of the pair. """ + VirtualNodePoolTaintArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + effect=effect, + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + effect: Optional[pulumi.Input[str]] = None, + key: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if effect is not None: - pulumi.set(__self__, "effect", effect) + _setter("effect", effect) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -3362,10 +4035,21 @@ def __init__(__self__, *, ** 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 """ + VirtualNodePoolVirtualNodeTagsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + defined_tags=defined_tags, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="definedTags") @@ -3405,10 +4089,23 @@ def __init__(__self__, *, """ :param str name: Name of the addon and it would be unique. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAddonOptionsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3447,10 +4144,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAddonsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3486,10 +4196,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetClusterWorkloadMappingsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3528,10 +4251,23 @@ def __init__(__self__, *, """ :param str name: The name to filter on. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetClustersFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3573,10 +4309,23 @@ def __init__(__self__, *, """ :param str name: The name to filter on. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetNodePoolsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3618,10 +4367,23 @@ def __init__(__self__, *, """ :param str name: The name to filter on. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetPodShapesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3663,10 +4425,23 @@ def __init__(__self__, *, """ :param str name: The name to filter on. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVirtualNodePoolsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3705,10 +4480,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetWorkRequestErrorsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3744,10 +4532,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetWorkRequestLogEntriesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3783,10 +4584,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetWorkRequestsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/containerengine/addon.py b/sdk/python/pulumi_oci/containerengine/addon.py index e886c7ff45..18b785b168 100644 --- a/sdk/python/pulumi_oci/containerengine/addon.py +++ b/sdk/python/pulumi_oci/containerengine/addon.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -33,13 +33,30 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "addon_name", addon_name) - pulumi.set(__self__, "cluster_id", cluster_id) - pulumi.set(__self__, "remove_addon_resources_on_delete", remove_addon_resources_on_delete) + AddonArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + addon_name=addon_name, + cluster_id=cluster_id, + remove_addon_resources_on_delete=remove_addon_resources_on_delete, + configurations=configurations, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + addon_name: pulumi.Input[str], + cluster_id: pulumi.Input[str], + remove_addon_resources_on_delete: pulumi.Input[bool], + configurations: Optional[pulumi.Input[Sequence[pulumi.Input['AddonConfigurationArgs']]]] = None, + version: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("addon_name", addon_name) + _setter("cluster_id", cluster_id) + _setter("remove_addon_resources_on_delete", remove_addon_resources_on_delete) if configurations is not None: - pulumi.set(__self__, "configurations", configurations) + _setter("configurations", configurations) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter(name="addonName") @@ -134,24 +151,49 @@ def __init__(__self__, *, ** 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 """ + _AddonState._configure( + lambda key, value: pulumi.set(__self__, key, value), + addon_errors=addon_errors, + addon_name=addon_name, + cluster_id=cluster_id, + configurations=configurations, + current_installed_version=current_installed_version, + remove_addon_resources_on_delete=remove_addon_resources_on_delete, + state=state, + time_created=time_created, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + addon_errors: Optional[pulumi.Input[Sequence[pulumi.Input['AddonAddonErrorArgs']]]] = None, + addon_name: Optional[pulumi.Input[str]] = None, + cluster_id: Optional[pulumi.Input[str]] = None, + configurations: Optional[pulumi.Input[Sequence[pulumi.Input['AddonConfigurationArgs']]]] = None, + current_installed_version: Optional[pulumi.Input[str]] = None, + remove_addon_resources_on_delete: Optional[pulumi.Input[bool]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + version: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if addon_errors is not None: - pulumi.set(__self__, "addon_errors", addon_errors) + _setter("addon_errors", addon_errors) if addon_name is not None: - pulumi.set(__self__, "addon_name", addon_name) + _setter("addon_name", addon_name) if cluster_id is not None: - pulumi.set(__self__, "cluster_id", cluster_id) + _setter("cluster_id", cluster_id) if configurations is not None: - pulumi.set(__self__, "configurations", configurations) + _setter("configurations", configurations) if current_installed_version is not None: - pulumi.set(__self__, "current_installed_version", current_installed_version) + _setter("current_installed_version", current_installed_version) if remove_addon_resources_on_delete is not None: - pulumi.set(__self__, "remove_addon_resources_on_delete", remove_addon_resources_on_delete) + _setter("remove_addon_resources_on_delete", remove_addon_resources_on_delete) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter(name="addonErrors") @@ -331,6 +373,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + AddonArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/containerengine/cluster.py b/sdk/python/pulumi_oci/containerengine/cluster.py index fc9a279d4a..ac13586a91 100644 --- a/sdk/python/pulumi_oci/containerengine/cluster.py +++ b/sdk/python/pulumi_oci/containerengine/cluster.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -47,27 +47,58 @@ def __init__(__self__, *, :param pulumi.Input['ClusterOptionsArgs'] options: (Updatable) Optional attributes for the cluster. :param pulumi.Input[str] type: (Updatable) Type of cluster """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "kubernetes_version", kubernetes_version) - pulumi.set(__self__, "vcn_id", vcn_id) + ClusterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + kubernetes_version=kubernetes_version, + vcn_id=vcn_id, + cluster_pod_network_options=cluster_pod_network_options, + defined_tags=defined_tags, + endpoint_config=endpoint_config, + freeform_tags=freeform_tags, + image_policy_config=image_policy_config, + kms_key_id=kms_key_id, + name=name, + options=options, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + kubernetes_version: pulumi.Input[str], + vcn_id: pulumi.Input[str], + cluster_pod_network_options: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterClusterPodNetworkOptionArgs']]]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + endpoint_config: Optional[pulumi.Input['ClusterEndpointConfigArgs']] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + image_policy_config: Optional[pulumi.Input['ClusterImagePolicyConfigArgs']] = None, + kms_key_id: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input['ClusterOptionsArgs']] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("kubernetes_version", kubernetes_version) + _setter("vcn_id", vcn_id) if cluster_pod_network_options is not None: - pulumi.set(__self__, "cluster_pod_network_options", cluster_pod_network_options) + _setter("cluster_pod_network_options", cluster_pod_network_options) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if endpoint_config is not None: - pulumi.set(__self__, "endpoint_config", endpoint_config) + _setter("endpoint_config", endpoint_config) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if image_policy_config is not None: - pulumi.set(__self__, "image_policy_config", image_policy_config) + _setter("image_policy_config", image_policy_config) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if options is not None: - pulumi.set(__self__, "options", options) + _setter("options", options) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter(name="compartmentId") @@ -262,40 +293,81 @@ def __init__(__self__, *, ** 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 """ + _ClusterState._configure( + lambda key, value: pulumi.set(__self__, key, value), + available_kubernetes_upgrades=available_kubernetes_upgrades, + cluster_pod_network_options=cluster_pod_network_options, + compartment_id=compartment_id, + defined_tags=defined_tags, + endpoint_config=endpoint_config, + endpoints=endpoints, + freeform_tags=freeform_tags, + image_policy_config=image_policy_config, + kms_key_id=kms_key_id, + kubernetes_version=kubernetes_version, + lifecycle_details=lifecycle_details, + metadatas=metadatas, + name=name, + options=options, + state=state, + type=type, + vcn_id=vcn_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + available_kubernetes_upgrades: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + cluster_pod_network_options: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterClusterPodNetworkOptionArgs']]]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + endpoint_config: Optional[pulumi.Input['ClusterEndpointConfigArgs']] = None, + endpoints: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterEndpointArgs']]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + image_policy_config: Optional[pulumi.Input['ClusterImagePolicyConfigArgs']] = None, + kms_key_id: Optional[pulumi.Input[str]] = None, + kubernetes_version: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + metadatas: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterMetadataArgs']]]] = None, + name: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input['ClusterOptionsArgs']] = None, + state: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + vcn_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if available_kubernetes_upgrades is not None: - pulumi.set(__self__, "available_kubernetes_upgrades", available_kubernetes_upgrades) + _setter("available_kubernetes_upgrades", available_kubernetes_upgrades) if cluster_pod_network_options is not None: - pulumi.set(__self__, "cluster_pod_network_options", cluster_pod_network_options) + _setter("cluster_pod_network_options", cluster_pod_network_options) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if endpoint_config is not None: - pulumi.set(__self__, "endpoint_config", endpoint_config) + _setter("endpoint_config", endpoint_config) if endpoints is not None: - pulumi.set(__self__, "endpoints", endpoints) + _setter("endpoints", endpoints) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if image_policy_config is not None: - pulumi.set(__self__, "image_policy_config", image_policy_config) + _setter("image_policy_config", image_policy_config) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) if kubernetes_version is not None: - pulumi.set(__self__, "kubernetes_version", kubernetes_version) + _setter("kubernetes_version", kubernetes_version) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if metadatas is not None: - pulumi.set(__self__, "metadatas", metadatas) + _setter("metadatas", metadatas) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if options is not None: - pulumi.set(__self__, "options", options) + _setter("options", options) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if vcn_id is not None: - pulumi.set(__self__, "vcn_id", vcn_id) + _setter("vcn_id", vcn_id) @property @pulumi.getter(name="availableKubernetesUpgrades") @@ -585,6 +657,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ClusterArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -616,14 +692,29 @@ def _internal_init(__self__, raise TypeError("Missing required property 'compartment_id'") __props__.__dict__["compartment_id"] = compartment_id __props__.__dict__["defined_tags"] = defined_tags + if endpoint_config is not None and not isinstance(endpoint_config, ClusterEndpointConfigArgs): + endpoint_config = endpoint_config or {} + def _setter(key, value): + endpoint_config[key] = value + ClusterEndpointConfigArgs._configure(_setter, **endpoint_config) __props__.__dict__["endpoint_config"] = endpoint_config __props__.__dict__["freeform_tags"] = freeform_tags + if image_policy_config is not None and not isinstance(image_policy_config, ClusterImagePolicyConfigArgs): + image_policy_config = image_policy_config or {} + def _setter(key, value): + image_policy_config[key] = value + ClusterImagePolicyConfigArgs._configure(_setter, **image_policy_config) __props__.__dict__["image_policy_config"] = image_policy_config __props__.__dict__["kms_key_id"] = kms_key_id if kubernetes_version is None and not opts.urn: raise TypeError("Missing required property 'kubernetes_version'") __props__.__dict__["kubernetes_version"] = kubernetes_version __props__.__dict__["name"] = name + if options is not None and not isinstance(options, ClusterOptionsArgs): + options = options or {} + def _setter(key, value): + options[key] = value + ClusterOptionsArgs._configure(_setter, **options) __props__.__dict__["options"] = options __props__.__dict__["type"] = type if vcn_id is None and not opts.urn: diff --git a/sdk/python/pulumi_oci/containerengine/cluster_complete_credential_rotation_management.py b/sdk/python/pulumi_oci/containerengine/cluster_complete_credential_rotation_management.py index 611639bc63..03d7aa428a 100644 --- a/sdk/python/pulumi_oci/containerengine/cluster_complete_credential_rotation_management.py +++ b/sdk/python/pulumi_oci/containerengine/cluster_complete_credential_rotation_management.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['ClusterCompleteCredentialRotationManagementArgs', 'ClusterCompleteCredentialRotationManagement'] @@ -23,7 +23,16 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "cluster_id", cluster_id) + ClusterCompleteCredentialRotationManagementArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + cluster_id=cluster_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cluster_id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cluster_id", cluster_id) @property @pulumi.getter(name="clusterId") @@ -54,8 +63,17 @@ def __init__(__self__, *, ** 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 """ + _ClusterCompleteCredentialRotationManagementState._configure( + lambda key, value: pulumi.set(__self__, key, value), + cluster_id=cluster_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cluster_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if cluster_id is not None: - pulumi.set(__self__, "cluster_id", cluster_id) + _setter("cluster_id", cluster_id) @property @pulumi.getter(name="clusterId") @@ -143,6 +161,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ClusterCompleteCredentialRotationManagementArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/containerengine/cluster_start_credential_rotation_management.py b/sdk/python/pulumi_oci/containerengine/cluster_start_credential_rotation_management.py index 4454dcfb61..b2cf72045b 100644 --- a/sdk/python/pulumi_oci/containerengine/cluster_start_credential_rotation_management.py +++ b/sdk/python/pulumi_oci/containerengine/cluster_start_credential_rotation_management.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['ClusterStartCredentialRotationManagementArgs', 'ClusterStartCredentialRotationManagement'] @@ -25,8 +25,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "auto_completion_delay_duration", auto_completion_delay_duration) - pulumi.set(__self__, "cluster_id", cluster_id) + ClusterStartCredentialRotationManagementArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + auto_completion_delay_duration=auto_completion_delay_duration, + cluster_id=cluster_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + auto_completion_delay_duration: pulumi.Input[str], + cluster_id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("auto_completion_delay_duration", auto_completion_delay_duration) + _setter("cluster_id", cluster_id) @property @pulumi.getter(name="autoCompletionDelayDuration") @@ -71,10 +82,21 @@ def __init__(__self__, *, ** 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 """ + _ClusterStartCredentialRotationManagementState._configure( + lambda key, value: pulumi.set(__self__, key, value), + auto_completion_delay_duration=auto_completion_delay_duration, + cluster_id=cluster_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + auto_completion_delay_duration: Optional[pulumi.Input[str]] = None, + cluster_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if auto_completion_delay_duration is not None: - pulumi.set(__self__, "auto_completion_delay_duration", auto_completion_delay_duration) + _setter("auto_completion_delay_duration", auto_completion_delay_duration) if cluster_id is not None: - pulumi.set(__self__, "cluster_id", cluster_id) + _setter("cluster_id", cluster_id) @property @pulumi.getter(name="autoCompletionDelayDuration") @@ -178,6 +200,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ClusterStartCredentialRotationManagementArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/containerengine/cluster_workload_mapping.py b/sdk/python/pulumi_oci/containerengine/cluster_workload_mapping.py index 795742998b..9ae1100ade 100644 --- a/sdk/python/pulumi_oci/containerengine/cluster_workload_mapping.py +++ b/sdk/python/pulumi_oci/containerengine/cluster_workload_mapping.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['ClusterWorkloadMappingArgs', 'ClusterWorkloadMapping'] @@ -31,13 +31,30 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` :param pulumi.Input[Mapping[str, Any]] freeform_tags: (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` """ - pulumi.set(__self__, "cluster_id", cluster_id) - pulumi.set(__self__, "mapped_compartment_id", mapped_compartment_id) - pulumi.set(__self__, "namespace", namespace) + ClusterWorkloadMappingArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + cluster_id=cluster_id, + mapped_compartment_id=mapped_compartment_id, + namespace=namespace, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cluster_id: pulumi.Input[str], + mapped_compartment_id: pulumi.Input[str], + namespace: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cluster_id", cluster_id) + _setter("mapped_compartment_id", mapped_compartment_id) + _setter("namespace", namespace) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="clusterId") @@ -130,22 +147,45 @@ def __init__(__self__, *, :param pulumi.Input[str] state: The state of the workloadMapping. :param pulumi.Input[str] time_created: The time the cluster was created. """ + _ClusterWorkloadMappingState._configure( + lambda key, value: pulumi.set(__self__, key, value), + cluster_id=cluster_id, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + mapped_compartment_id=mapped_compartment_id, + mapped_tenancy_id=mapped_tenancy_id, + namespace=namespace, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cluster_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + mapped_compartment_id: Optional[pulumi.Input[str]] = None, + mapped_tenancy_id: Optional[pulumi.Input[str]] = None, + namespace: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if cluster_id is not None: - pulumi.set(__self__, "cluster_id", cluster_id) + _setter("cluster_id", cluster_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if mapped_compartment_id is not None: - pulumi.set(__self__, "mapped_compartment_id", mapped_compartment_id) + _setter("mapped_compartment_id", mapped_compartment_id) if mapped_tenancy_id is not None: - pulumi.set(__self__, "mapped_tenancy_id", mapped_tenancy_id) + _setter("mapped_tenancy_id", mapped_tenancy_id) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="clusterId") @@ -349,6 +389,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ClusterWorkloadMappingArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/containerengine/container_instance.py b/sdk/python/pulumi_oci/containerengine/container_instance.py index ac65667429..ce1c7a153b 100644 --- a/sdk/python/pulumi_oci/containerengine/container_instance.py +++ b/sdk/python/pulumi_oci/containerengine/container_instance.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -57,32 +57,71 @@ def __init__(__self__, *, You can attach up to 32 volumes to single container instance. """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "containers", containers) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "shape_config", shape_config) - pulumi.set(__self__, "vnics", vnics) + ContainerInstanceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + compartment_id=compartment_id, + containers=containers, + shape=shape, + shape_config=shape_config, + vnics=vnics, + container_restart_policy=container_restart_policy, + defined_tags=defined_tags, + display_name=display_name, + dns_config=dns_config, + fault_domain=fault_domain, + freeform_tags=freeform_tags, + graceful_shutdown_timeout_in_seconds=graceful_shutdown_timeout_in_seconds, + image_pull_secrets=image_pull_secrets, + state=state, + volumes=volumes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: pulumi.Input[str], + compartment_id: pulumi.Input[str], + containers: pulumi.Input[Sequence[pulumi.Input['ContainerInstanceContainerArgs']]], + shape: pulumi.Input[str], + shape_config: pulumi.Input['ContainerInstanceShapeConfigArgs'], + vnics: pulumi.Input[Sequence[pulumi.Input['ContainerInstanceVnicArgs']]], + container_restart_policy: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + dns_config: Optional[pulumi.Input['ContainerInstanceDnsConfigArgs']] = None, + fault_domain: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + graceful_shutdown_timeout_in_seconds: Optional[pulumi.Input[str]] = None, + image_pull_secrets: Optional[pulumi.Input[Sequence[pulumi.Input['ContainerInstanceImagePullSecretArgs']]]] = None, + state: Optional[pulumi.Input[str]] = None, + volumes: Optional[pulumi.Input[Sequence[pulumi.Input['ContainerInstanceVolumeArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("compartment_id", compartment_id) + _setter("containers", containers) + _setter("shape", shape) + _setter("shape_config", shape_config) + _setter("vnics", vnics) if container_restart_policy is not None: - pulumi.set(__self__, "container_restart_policy", container_restart_policy) + _setter("container_restart_policy", container_restart_policy) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if dns_config is not None: - pulumi.set(__self__, "dns_config", dns_config) + _setter("dns_config", dns_config) if fault_domain is not None: - pulumi.set(__self__, "fault_domain", fault_domain) + _setter("fault_domain", fault_domain) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if graceful_shutdown_timeout_in_seconds is not None: - pulumi.set(__self__, "graceful_shutdown_timeout_in_seconds", graceful_shutdown_timeout_in_seconds) + _setter("graceful_shutdown_timeout_in_seconds", graceful_shutdown_timeout_in_seconds) if image_pull_secrets is not None: - pulumi.set(__self__, "image_pull_secrets", image_pull_secrets) + _setter("image_pull_secrets", image_pull_secrets) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if volumes is not None: - pulumi.set(__self__, "volumes", volumes) + _setter("volumes", volumes) @property @pulumi.getter(name="availabilityDomain") @@ -339,50 +378,101 @@ def __init__(__self__, *, You can attach up to 32 volumes to single container instance. """ + _ContainerInstanceState._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + compartment_id=compartment_id, + container_count=container_count, + container_restart_policy=container_restart_policy, + containers=containers, + defined_tags=defined_tags, + display_name=display_name, + dns_config=dns_config, + fault_domain=fault_domain, + freeform_tags=freeform_tags, + graceful_shutdown_timeout_in_seconds=graceful_shutdown_timeout_in_seconds, + image_pull_secrets=image_pull_secrets, + lifecycle_details=lifecycle_details, + shape=shape, + shape_config=shape_config, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + vnics=vnics, + volume_count=volume_count, + volumes=volumes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + container_count: Optional[pulumi.Input[int]] = None, + container_restart_policy: Optional[pulumi.Input[str]] = None, + containers: Optional[pulumi.Input[Sequence[pulumi.Input['ContainerInstanceContainerArgs']]]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + dns_config: Optional[pulumi.Input['ContainerInstanceDnsConfigArgs']] = None, + fault_domain: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + graceful_shutdown_timeout_in_seconds: Optional[pulumi.Input[str]] = None, + image_pull_secrets: Optional[pulumi.Input[Sequence[pulumi.Input['ContainerInstanceImagePullSecretArgs']]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + shape: Optional[pulumi.Input[str]] = None, + shape_config: Optional[pulumi.Input['ContainerInstanceShapeConfigArgs']] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + vnics: Optional[pulumi.Input[Sequence[pulumi.Input['ContainerInstanceVnicArgs']]]] = None, + volume_count: Optional[pulumi.Input[int]] = None, + volumes: Optional[pulumi.Input[Sequence[pulumi.Input['ContainerInstanceVolumeArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if container_count is not None: - pulumi.set(__self__, "container_count", container_count) + _setter("container_count", container_count) if container_restart_policy is not None: - pulumi.set(__self__, "container_restart_policy", container_restart_policy) + _setter("container_restart_policy", container_restart_policy) if containers is not None: - pulumi.set(__self__, "containers", containers) + _setter("containers", containers) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if dns_config is not None: - pulumi.set(__self__, "dns_config", dns_config) + _setter("dns_config", dns_config) if fault_domain is not None: - pulumi.set(__self__, "fault_domain", fault_domain) + _setter("fault_domain", fault_domain) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if graceful_shutdown_timeout_in_seconds is not None: - pulumi.set(__self__, "graceful_shutdown_timeout_in_seconds", graceful_shutdown_timeout_in_seconds) + _setter("graceful_shutdown_timeout_in_seconds", graceful_shutdown_timeout_in_seconds) if image_pull_secrets is not None: - pulumi.set(__self__, "image_pull_secrets", image_pull_secrets) + _setter("image_pull_secrets", image_pull_secrets) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if shape is not None: - pulumi.set(__self__, "shape", shape) + _setter("shape", shape) if shape_config is not None: - pulumi.set(__self__, "shape_config", shape_config) + _setter("shape_config", shape_config) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if vnics is not None: - pulumi.set(__self__, "vnics", vnics) + _setter("vnics", vnics) if volume_count is not None: - pulumi.set(__self__, "volume_count", volume_count) + _setter("volume_count", volume_count) if volumes is not None: - pulumi.set(__self__, "volumes", volumes) + _setter("volumes", volumes) @property @pulumi.getter(name="availabilityDomain") @@ -954,6 +1044,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ContainerInstanceArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -996,6 +1090,11 @@ def _internal_init(__self__, __props__.__dict__["containers"] = containers __props__.__dict__["defined_tags"] = defined_tags __props__.__dict__["display_name"] = display_name + if dns_config is not None and not isinstance(dns_config, ContainerInstanceDnsConfigArgs): + dns_config = dns_config or {} + def _setter(key, value): + dns_config[key] = value + ContainerInstanceDnsConfigArgs._configure(_setter, **dns_config) __props__.__dict__["dns_config"] = dns_config __props__.__dict__["fault_domain"] = fault_domain __props__.__dict__["freeform_tags"] = freeform_tags @@ -1004,6 +1103,11 @@ def _internal_init(__self__, if shape is None and not opts.urn: raise TypeError("Missing required property 'shape'") __props__.__dict__["shape"] = shape + if shape_config is not None and not isinstance(shape_config, ContainerInstanceShapeConfigArgs): + shape_config = shape_config or {} + def _setter(key, value): + shape_config[key] = value + ContainerInstanceShapeConfigArgs._configure(_setter, **shape_config) if shape_config is None and not opts.urn: raise TypeError("Missing required property 'shape_config'") __props__.__dict__["shape_config"] = shape_config diff --git a/sdk/python/pulumi_oci/containerengine/get_addon.py b/sdk/python/pulumi_oci/containerengine/get_addon.py index a777a3f070..150b0988f0 100644 --- a/sdk/python/pulumi_oci/containerengine/get_addon.py +++ b/sdk/python/pulumi_oci/containerengine/get_addon.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/containerengine/get_addon_options.py b/sdk/python/pulumi_oci/containerengine/get_addon_options.py index 55229bda00..b2a64428a1 100644 --- a/sdk/python/pulumi_oci/containerengine/get_addon_options.py +++ b/sdk/python/pulumi_oci/containerengine/get_addon_options.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/containerengine/get_addons.py b/sdk/python/pulumi_oci/containerengine/get_addons.py index f0ea66d6d3..4bc246eb66 100644 --- a/sdk/python/pulumi_oci/containerengine/get_addons.py +++ b/sdk/python/pulumi_oci/containerengine/get_addons.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/containerengine/get_cluster_credential_rotation_status.py b/sdk/python/pulumi_oci/containerengine/get_cluster_credential_rotation_status.py index cdc4c62b00..1b89180888 100644 --- a/sdk/python/pulumi_oci/containerengine/get_cluster_credential_rotation_status.py +++ b/sdk/python/pulumi_oci/containerengine/get_cluster_credential_rotation_status.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/containerengine/get_cluster_kube_config.py b/sdk/python/pulumi_oci/containerengine/get_cluster_kube_config.py index 9f3c4dace1..b4ab2d42e2 100644 --- a/sdk/python/pulumi_oci/containerengine/get_cluster_kube_config.py +++ b/sdk/python/pulumi_oci/containerengine/get_cluster_kube_config.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/containerengine/get_cluster_option.py b/sdk/python/pulumi_oci/containerengine/get_cluster_option.py index b35c1855ec..57e768eeb6 100644 --- a/sdk/python/pulumi_oci/containerengine/get_cluster_option.py +++ b/sdk/python/pulumi_oci/containerengine/get_cluster_option.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/containerengine/get_cluster_workload_mapping.py b/sdk/python/pulumi_oci/containerengine/get_cluster_workload_mapping.py index 59b7ce9828..5e6f02d2d6 100644 --- a/sdk/python/pulumi_oci/containerengine/get_cluster_workload_mapping.py +++ b/sdk/python/pulumi_oci/containerengine/get_cluster_workload_mapping.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/containerengine/get_cluster_workload_mappings.py b/sdk/python/pulumi_oci/containerengine/get_cluster_workload_mappings.py index 9cfe4b4b07..76841c25c5 100644 --- a/sdk/python/pulumi_oci/containerengine/get_cluster_workload_mappings.py +++ b/sdk/python/pulumi_oci/containerengine/get_cluster_workload_mappings.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/containerengine/get_clusters.py b/sdk/python/pulumi_oci/containerengine/get_clusters.py index d5ce775c7e..da9495d6b8 100644 --- a/sdk/python/pulumi_oci/containerengine/get_clusters.py +++ b/sdk/python/pulumi_oci/containerengine/get_clusters.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/containerengine/get_migrate_to_native_vcn_status.py b/sdk/python/pulumi_oci/containerengine/get_migrate_to_native_vcn_status.py index c57c060991..1913eff70f 100644 --- a/sdk/python/pulumi_oci/containerengine/get_migrate_to_native_vcn_status.py +++ b/sdk/python/pulumi_oci/containerengine/get_migrate_to_native_vcn_status.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/containerengine/get_node_pool.py b/sdk/python/pulumi_oci/containerengine/get_node_pool.py index d878ef7d5f..c6a7ff8478 100644 --- a/sdk/python/pulumi_oci/containerengine/get_node_pool.py +++ b/sdk/python/pulumi_oci/containerengine/get_node_pool.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/containerengine/get_node_pool_option.py b/sdk/python/pulumi_oci/containerengine/get_node_pool_option.py index 3ff7e776a1..e3802a41db 100644 --- a/sdk/python/pulumi_oci/containerengine/get_node_pool_option.py +++ b/sdk/python/pulumi_oci/containerengine/get_node_pool_option.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/containerengine/get_node_pools.py b/sdk/python/pulumi_oci/containerengine/get_node_pools.py index a23e291560..34ded8960a 100644 --- a/sdk/python/pulumi_oci/containerengine/get_node_pools.py +++ b/sdk/python/pulumi_oci/containerengine/get_node_pools.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/containerengine/get_pod_shapes.py b/sdk/python/pulumi_oci/containerengine/get_pod_shapes.py index d4fb7845b7..698ad11b07 100644 --- a/sdk/python/pulumi_oci/containerengine/get_pod_shapes.py +++ b/sdk/python/pulumi_oci/containerengine/get_pod_shapes.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/containerengine/get_virtual_node_pool.py b/sdk/python/pulumi_oci/containerengine/get_virtual_node_pool.py index a7a0ab5286..b63f773d0f 100644 --- a/sdk/python/pulumi_oci/containerengine/get_virtual_node_pool.py +++ b/sdk/python/pulumi_oci/containerengine/get_virtual_node_pool.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/containerengine/get_virtual_node_pools.py b/sdk/python/pulumi_oci/containerengine/get_virtual_node_pools.py index c4c2f439af..de80a1aa3c 100644 --- a/sdk/python/pulumi_oci/containerengine/get_virtual_node_pools.py +++ b/sdk/python/pulumi_oci/containerengine/get_virtual_node_pools.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/containerengine/get_work_request_errors.py b/sdk/python/pulumi_oci/containerengine/get_work_request_errors.py index 7778a1f2c9..e186d6ffd3 100644 --- a/sdk/python/pulumi_oci/containerengine/get_work_request_errors.py +++ b/sdk/python/pulumi_oci/containerengine/get_work_request_errors.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/containerengine/get_work_request_log_entries.py b/sdk/python/pulumi_oci/containerengine/get_work_request_log_entries.py index 8b6fca2c7f..350a978823 100644 --- a/sdk/python/pulumi_oci/containerengine/get_work_request_log_entries.py +++ b/sdk/python/pulumi_oci/containerengine/get_work_request_log_entries.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/containerengine/get_work_requests.py b/sdk/python/pulumi_oci/containerengine/get_work_requests.py index 6e93aae677..0e16f14d89 100644 --- a/sdk/python/pulumi_oci/containerengine/get_work_requests.py +++ b/sdk/python/pulumi_oci/containerengine/get_work_requests.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/containerengine/node_pool.py b/sdk/python/pulumi_oci/containerengine/node_pool.py index 5aee15fa4a..8943407883 100644 --- a/sdk/python/pulumi_oci/containerengine/node_pool.py +++ b/sdk/python/pulumi_oci/containerengine/node_pool.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -61,47 +61,92 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "cluster_id", cluster_id) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "node_shape", node_shape) + NodePoolArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + cluster_id=cluster_id, + compartment_id=compartment_id, + node_shape=node_shape, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + initial_node_labels=initial_node_labels, + kubernetes_version=kubernetes_version, + name=name, + node_config_details=node_config_details, + node_eviction_node_pool_settings=node_eviction_node_pool_settings, + node_image_id=node_image_id, + node_image_name=node_image_name, + node_metadata=node_metadata, + node_pool_cycling_details=node_pool_cycling_details, + node_shape_config=node_shape_config, + node_source_details=node_source_details, + quantity_per_subnet=quantity_per_subnet, + ssh_public_key=ssh_public_key, + subnet_ids=subnet_ids, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cluster_id: pulumi.Input[str], + compartment_id: pulumi.Input[str], + node_shape: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + initial_node_labels: Optional[pulumi.Input[Sequence[pulumi.Input['NodePoolInitialNodeLabelArgs']]]] = None, + kubernetes_version: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + node_config_details: Optional[pulumi.Input['NodePoolNodeConfigDetailsArgs']] = None, + node_eviction_node_pool_settings: Optional[pulumi.Input['NodePoolNodeEvictionNodePoolSettingsArgs']] = None, + node_image_id: Optional[pulumi.Input[str]] = None, + node_image_name: Optional[pulumi.Input[str]] = None, + node_metadata: Optional[pulumi.Input[Mapping[str, Any]]] = None, + node_pool_cycling_details: Optional[pulumi.Input['NodePoolNodePoolCyclingDetailsArgs']] = None, + node_shape_config: Optional[pulumi.Input['NodePoolNodeShapeConfigArgs']] = None, + node_source_details: Optional[pulumi.Input['NodePoolNodeSourceDetailsArgs']] = None, + quantity_per_subnet: Optional[pulumi.Input[int]] = None, + ssh_public_key: Optional[pulumi.Input[str]] = None, + subnet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cluster_id", cluster_id) + _setter("compartment_id", compartment_id) + _setter("node_shape", node_shape) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if initial_node_labels is not None: - pulumi.set(__self__, "initial_node_labels", initial_node_labels) + _setter("initial_node_labels", initial_node_labels) if kubernetes_version is not None: - pulumi.set(__self__, "kubernetes_version", kubernetes_version) + _setter("kubernetes_version", kubernetes_version) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if node_config_details is not None: - pulumi.set(__self__, "node_config_details", node_config_details) + _setter("node_config_details", node_config_details) if node_eviction_node_pool_settings is not None: - pulumi.set(__self__, "node_eviction_node_pool_settings", node_eviction_node_pool_settings) + _setter("node_eviction_node_pool_settings", node_eviction_node_pool_settings) if node_image_id is not None: warnings.warn("""The 'node_image_id' field has been deprecated. Please use 'node_source_details' instead. If both fields are specified, then 'node_source_details' will be used.""", DeprecationWarning) pulumi.log.warn("""node_image_id is deprecated: The 'node_image_id' field has been deprecated. Please use 'node_source_details' instead. If both fields are specified, then 'node_source_details' will be used.""") if node_image_id is not None: - pulumi.set(__self__, "node_image_id", node_image_id) + _setter("node_image_id", node_image_id) if node_image_name is not None: warnings.warn("""The 'node_image_name' field has been deprecated. Please use 'node_source_details' instead. If both fields are specified, then 'node_source_details' will be used.""", DeprecationWarning) pulumi.log.warn("""node_image_name is deprecated: The 'node_image_name' field has been deprecated. Please use 'node_source_details' instead. If both fields are specified, then 'node_source_details' will be used.""") if node_image_name is not None: - pulumi.set(__self__, "node_image_name", node_image_name) + _setter("node_image_name", node_image_name) if node_metadata is not None: - pulumi.set(__self__, "node_metadata", node_metadata) + _setter("node_metadata", node_metadata) if node_pool_cycling_details is not None: - pulumi.set(__self__, "node_pool_cycling_details", node_pool_cycling_details) + _setter("node_pool_cycling_details", node_pool_cycling_details) if node_shape_config is not None: - pulumi.set(__self__, "node_shape_config", node_shape_config) + _setter("node_shape_config", node_shape_config) if node_source_details is not None: - pulumi.set(__self__, "node_source_details", node_source_details) + _setter("node_source_details", node_source_details) if quantity_per_subnet is not None: - pulumi.set(__self__, "quantity_per_subnet", quantity_per_subnet) + _setter("quantity_per_subnet", quantity_per_subnet) if ssh_public_key is not None: - pulumi.set(__self__, "ssh_public_key", ssh_public_key) + _setter("ssh_public_key", ssh_public_key) if subnet_ids is not None: - pulumi.set(__self__, "subnet_ids", subnet_ids) + _setter("subnet_ids", subnet_ids) @property @pulumi.getter(name="clusterId") @@ -398,58 +443,111 @@ def __init__(__self__, *, ** 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 """ + _NodePoolState._configure( + lambda key, value: pulumi.set(__self__, key, value), + cluster_id=cluster_id, + compartment_id=compartment_id, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + initial_node_labels=initial_node_labels, + kubernetes_version=kubernetes_version, + lifecycle_details=lifecycle_details, + name=name, + node_config_details=node_config_details, + node_eviction_node_pool_settings=node_eviction_node_pool_settings, + node_image_id=node_image_id, + node_image_name=node_image_name, + node_metadata=node_metadata, + node_pool_cycling_details=node_pool_cycling_details, + node_shape=node_shape, + node_shape_config=node_shape_config, + node_source_details=node_source_details, + node_sources=node_sources, + nodes=nodes, + quantity_per_subnet=quantity_per_subnet, + ssh_public_key=ssh_public_key, + state=state, + subnet_ids=subnet_ids, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cluster_id: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + initial_node_labels: Optional[pulumi.Input[Sequence[pulumi.Input['NodePoolInitialNodeLabelArgs']]]] = None, + kubernetes_version: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + node_config_details: Optional[pulumi.Input['NodePoolNodeConfigDetailsArgs']] = None, + node_eviction_node_pool_settings: Optional[pulumi.Input['NodePoolNodeEvictionNodePoolSettingsArgs']] = None, + node_image_id: Optional[pulumi.Input[str]] = None, + node_image_name: Optional[pulumi.Input[str]] = None, + node_metadata: Optional[pulumi.Input[Mapping[str, Any]]] = None, + node_pool_cycling_details: Optional[pulumi.Input['NodePoolNodePoolCyclingDetailsArgs']] = None, + node_shape: Optional[pulumi.Input[str]] = None, + node_shape_config: Optional[pulumi.Input['NodePoolNodeShapeConfigArgs']] = None, + node_source_details: Optional[pulumi.Input['NodePoolNodeSourceDetailsArgs']] = None, + node_sources: Optional[pulumi.Input[Sequence[pulumi.Input['NodePoolNodeSourceArgs']]]] = None, + nodes: Optional[pulumi.Input[Sequence[pulumi.Input['NodePoolNodeArgs']]]] = None, + quantity_per_subnet: Optional[pulumi.Input[int]] = None, + ssh_public_key: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + subnet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if cluster_id is not None: - pulumi.set(__self__, "cluster_id", cluster_id) + _setter("cluster_id", cluster_id) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if initial_node_labels is not None: - pulumi.set(__self__, "initial_node_labels", initial_node_labels) + _setter("initial_node_labels", initial_node_labels) if kubernetes_version is not None: - pulumi.set(__self__, "kubernetes_version", kubernetes_version) + _setter("kubernetes_version", kubernetes_version) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if node_config_details is not None: - pulumi.set(__self__, "node_config_details", node_config_details) + _setter("node_config_details", node_config_details) if node_eviction_node_pool_settings is not None: - pulumi.set(__self__, "node_eviction_node_pool_settings", node_eviction_node_pool_settings) + _setter("node_eviction_node_pool_settings", node_eviction_node_pool_settings) if node_image_id is not None: warnings.warn("""The 'node_image_id' field has been deprecated. Please use 'node_source_details' instead. If both fields are specified, then 'node_source_details' will be used.""", DeprecationWarning) pulumi.log.warn("""node_image_id is deprecated: The 'node_image_id' field has been deprecated. Please use 'node_source_details' instead. If both fields are specified, then 'node_source_details' will be used.""") if node_image_id is not None: - pulumi.set(__self__, "node_image_id", node_image_id) + _setter("node_image_id", node_image_id) if node_image_name is not None: warnings.warn("""The 'node_image_name' field has been deprecated. Please use 'node_source_details' instead. If both fields are specified, then 'node_source_details' will be used.""", DeprecationWarning) pulumi.log.warn("""node_image_name is deprecated: The 'node_image_name' field has been deprecated. Please use 'node_source_details' instead. If both fields are specified, then 'node_source_details' will be used.""") if node_image_name is not None: - pulumi.set(__self__, "node_image_name", node_image_name) + _setter("node_image_name", node_image_name) if node_metadata is not None: - pulumi.set(__self__, "node_metadata", node_metadata) + _setter("node_metadata", node_metadata) if node_pool_cycling_details is not None: - pulumi.set(__self__, "node_pool_cycling_details", node_pool_cycling_details) + _setter("node_pool_cycling_details", node_pool_cycling_details) if node_shape is not None: - pulumi.set(__self__, "node_shape", node_shape) + _setter("node_shape", node_shape) if node_shape_config is not None: - pulumi.set(__self__, "node_shape_config", node_shape_config) + _setter("node_shape_config", node_shape_config) if node_source_details is not None: - pulumi.set(__self__, "node_source_details", node_source_details) + _setter("node_source_details", node_source_details) if node_sources is not None: - pulumi.set(__self__, "node_sources", node_sources) + _setter("node_sources", node_sources) if nodes is not None: - pulumi.set(__self__, "nodes", nodes) + _setter("nodes", nodes) if quantity_per_subnet is not None: - pulumi.set(__self__, "quantity_per_subnet", quantity_per_subnet) + _setter("quantity_per_subnet", quantity_per_subnet) if ssh_public_key is not None: - pulumi.set(__self__, "ssh_public_key", ssh_public_key) + _setter("ssh_public_key", ssh_public_key) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if subnet_ids is not None: - pulumi.set(__self__, "subnet_ids", subnet_ids) + _setter("subnet_ids", subnet_ids) @property @pulumi.getter(name="clusterId") @@ -983,6 +1081,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + NodePoolArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -1027,22 +1129,41 @@ def _internal_init(__self__, __props__.__dict__["initial_node_labels"] = initial_node_labels __props__.__dict__["kubernetes_version"] = kubernetes_version __props__.__dict__["name"] = name + if node_config_details is not None and not isinstance(node_config_details, NodePoolNodeConfigDetailsArgs): + node_config_details = node_config_details or {} + def _setter(key, value): + node_config_details[key] = value + NodePoolNodeConfigDetailsArgs._configure(_setter, **node_config_details) __props__.__dict__["node_config_details"] = node_config_details + if node_eviction_node_pool_settings is not None and not isinstance(node_eviction_node_pool_settings, NodePoolNodeEvictionNodePoolSettingsArgs): + node_eviction_node_pool_settings = node_eviction_node_pool_settings or {} + def _setter(key, value): + node_eviction_node_pool_settings[key] = value + NodePoolNodeEvictionNodePoolSettingsArgs._configure(_setter, **node_eviction_node_pool_settings) __props__.__dict__["node_eviction_node_pool_settings"] = node_eviction_node_pool_settings - if node_image_id is not None and not opts.urn: - warnings.warn("""The 'node_image_id' field has been deprecated. Please use 'node_source_details' instead. If both fields are specified, then 'node_source_details' will be used.""", DeprecationWarning) - pulumi.log.warn("""node_image_id is deprecated: The 'node_image_id' field has been deprecated. Please use 'node_source_details' instead. If both fields are specified, then 'node_source_details' will be used.""") __props__.__dict__["node_image_id"] = node_image_id - if node_image_name is not None and not opts.urn: - warnings.warn("""The 'node_image_name' field has been deprecated. Please use 'node_source_details' instead. If both fields are specified, then 'node_source_details' will be used.""", DeprecationWarning) - pulumi.log.warn("""node_image_name is deprecated: The 'node_image_name' field has been deprecated. Please use 'node_source_details' instead. If both fields are specified, then 'node_source_details' will be used.""") __props__.__dict__["node_image_name"] = node_image_name __props__.__dict__["node_metadata"] = node_metadata + if node_pool_cycling_details is not None and not isinstance(node_pool_cycling_details, NodePoolNodePoolCyclingDetailsArgs): + node_pool_cycling_details = node_pool_cycling_details or {} + def _setter(key, value): + node_pool_cycling_details[key] = value + NodePoolNodePoolCyclingDetailsArgs._configure(_setter, **node_pool_cycling_details) __props__.__dict__["node_pool_cycling_details"] = node_pool_cycling_details if node_shape is None and not opts.urn: raise TypeError("Missing required property 'node_shape'") __props__.__dict__["node_shape"] = node_shape + if node_shape_config is not None and not isinstance(node_shape_config, NodePoolNodeShapeConfigArgs): + node_shape_config = node_shape_config or {} + def _setter(key, value): + node_shape_config[key] = value + NodePoolNodeShapeConfigArgs._configure(_setter, **node_shape_config) __props__.__dict__["node_shape_config"] = node_shape_config + if node_source_details is not None and not isinstance(node_source_details, NodePoolNodeSourceDetailsArgs): + node_source_details = node_source_details or {} + def _setter(key, value): + node_source_details[key] = value + NodePoolNodeSourceDetailsArgs._configure(_setter, **node_source_details) __props__.__dict__["node_source_details"] = node_source_details __props__.__dict__["quantity_per_subnet"] = quantity_per_subnet __props__.__dict__["ssh_public_key"] = ssh_public_key diff --git a/sdk/python/pulumi_oci/containerengine/outputs.py b/sdk/python/pulumi_oci/containerengine/outputs.py index 897b17d6d6..8af17e4095 100644 --- a/sdk/python/pulumi_oci/containerengine/outputs.py +++ b/sdk/python/pulumi_oci/containerengine/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -149,12 +149,25 @@ def __init__(__self__, *, :param str message: A human-readable error string of the upstream error. :param str status: The status of the HTTP response encountered in the upstream error. """ + AddonAddonError._configure( + lambda key, value: pulumi.set(__self__, key, value), + code=code, + message=message, + status=status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + code: Optional[str] = None, + message: Optional[str] = None, + status: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if code is not None: - pulumi.set(__self__, "code", code) + _setter("code", code) if message is not None: - pulumi.set(__self__, "message", message) + _setter("message", message) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) @property @pulumi.getter @@ -190,10 +203,21 @@ def __init__(__self__, *, :param str key: (Updatable) configuration key name :param str value: (Updatable) configuration value name """ + AddonConfiguration._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -236,7 +260,16 @@ def __init__(__self__, *, """ :param str cni_type: The CNI used by the node pools of this cluster """ - pulumi.set(__self__, "cni_type", cni_type) + ClusterClusterPodNetworkOption._configure( + lambda key, value: pulumi.set(__self__, key, value), + cni_type=cni_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cni_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cni_type", cni_type) @property @pulumi.getter(name="cniType") @@ -281,14 +314,29 @@ def __init__(__self__, *, :param str public_endpoint: The public native networking Kubernetes API server endpoint, if one was requested. :param str vcn_hostname_endpoint: The FQDN assigned to the Kubernetes API private endpoint. Example: 'https://yourVcnHostnameEndpoint' """ + ClusterEndpoint._configure( + lambda key, value: pulumi.set(__self__, key, value), + kubernetes=kubernetes, + private_endpoint=private_endpoint, + public_endpoint=public_endpoint, + vcn_hostname_endpoint=vcn_hostname_endpoint, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + kubernetes: Optional[str] = None, + private_endpoint: Optional[str] = None, + public_endpoint: Optional[str] = None, + vcn_hostname_endpoint: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if kubernetes is not None: - pulumi.set(__self__, "kubernetes", kubernetes) + _setter("kubernetes", kubernetes) if private_endpoint is not None: - pulumi.set(__self__, "private_endpoint", private_endpoint) + _setter("private_endpoint", private_endpoint) if public_endpoint is not None: - pulumi.set(__self__, "public_endpoint", public_endpoint) + _setter("public_endpoint", public_endpoint) if vcn_hostname_endpoint is not None: - pulumi.set(__self__, "vcn_hostname_endpoint", vcn_hostname_endpoint) + _setter("vcn_hostname_endpoint", vcn_hostname_endpoint) @property @pulumi.getter @@ -355,11 +403,24 @@ def __init__(__self__, *, :param bool is_public_ip_enabled: Whether the cluster should be assigned a public IP address. Defaults to false. If set to true on a private subnet, the cluster provisioning will fail. :param Sequence[str] nsg_ids: A list of the OCIDs of the network security groups (NSGs) to apply to the cluster endpoint. For more information about NSGs, see [NetworkSecurityGroup](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/20160918/NetworkSecurityGroup/). """ - pulumi.set(__self__, "subnet_id", subnet_id) + ClusterEndpointConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + subnet_id=subnet_id, + is_public_ip_enabled=is_public_ip_enabled, + nsg_ids=nsg_ids, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + subnet_id: str, + is_public_ip_enabled: Optional[bool] = None, + nsg_ids: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("subnet_id", subnet_id) if is_public_ip_enabled is not None: - pulumi.set(__self__, "is_public_ip_enabled", is_public_ip_enabled) + _setter("is_public_ip_enabled", is_public_ip_enabled) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) @property @pulumi.getter(name="subnetId") @@ -414,10 +475,21 @@ def __init__(__self__, *, :param bool is_policy_enabled: (Updatable) Whether the image verification policy is enabled. Defaults to false. If set to true, the images will be verified against the policy at runtime. :param Sequence['ClusterImagePolicyConfigKeyDetailArgs'] key_details: (Updatable) A list of KMS key details. """ + ClusterImagePolicyConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_policy_enabled=is_policy_enabled, + key_details=key_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_policy_enabled: Optional[bool] = None, + key_details: Optional[Sequence['outputs.ClusterImagePolicyConfigKeyDetail']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_policy_enabled is not None: - pulumi.set(__self__, "is_policy_enabled", is_policy_enabled) + _setter("is_policy_enabled", is_policy_enabled) if key_details is not None: - pulumi.set(__self__, "key_details", key_details) + _setter("key_details", key_details) @property @pulumi.getter(name="isPolicyEnabled") @@ -460,8 +532,17 @@ def __init__(__self__, *, """ :param str kms_key_id: The OCID of the KMS key to be used as the master encryption key for Kubernetes secret encryption. When used, `kubernetesVersion` must be at least `v1.13.0`. """ + ClusterImagePolicyConfigKeyDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + kms_key_id=kms_key_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + kms_key_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) @property @pulumi.getter(name="kmsKeyId") @@ -532,26 +613,53 @@ def __init__(__self__, *, :param str updated_by_user_id: The user who updated the cluster. :param str updated_by_work_request_id: The OCID of the work request which updated the cluster. """ + ClusterMetadata._configure( + lambda key, value: pulumi.set(__self__, key, value), + created_by_user_id=created_by_user_id, + created_by_work_request_id=created_by_work_request_id, + deleted_by_user_id=deleted_by_user_id, + deleted_by_work_request_id=deleted_by_work_request_id, + time_created=time_created, + time_credential_expiration=time_credential_expiration, + time_deleted=time_deleted, + time_updated=time_updated, + updated_by_user_id=updated_by_user_id, + updated_by_work_request_id=updated_by_work_request_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created_by_user_id: Optional[str] = None, + created_by_work_request_id: Optional[str] = None, + deleted_by_user_id: Optional[str] = None, + deleted_by_work_request_id: Optional[str] = None, + time_created: Optional[str] = None, + time_credential_expiration: Optional[str] = None, + time_deleted: Optional[str] = None, + time_updated: Optional[str] = None, + updated_by_user_id: Optional[str] = None, + updated_by_work_request_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if created_by_user_id is not None: - pulumi.set(__self__, "created_by_user_id", created_by_user_id) + _setter("created_by_user_id", created_by_user_id) if created_by_work_request_id is not None: - pulumi.set(__self__, "created_by_work_request_id", created_by_work_request_id) + _setter("created_by_work_request_id", created_by_work_request_id) if deleted_by_user_id is not None: - pulumi.set(__self__, "deleted_by_user_id", deleted_by_user_id) + _setter("deleted_by_user_id", deleted_by_user_id) if deleted_by_work_request_id is not None: - pulumi.set(__self__, "deleted_by_work_request_id", deleted_by_work_request_id) + _setter("deleted_by_work_request_id", deleted_by_work_request_id) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_credential_expiration is not None: - pulumi.set(__self__, "time_credential_expiration", time_credential_expiration) + _setter("time_credential_expiration", time_credential_expiration) if time_deleted is not None: - pulumi.set(__self__, "time_deleted", time_deleted) + _setter("time_deleted", time_deleted) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if updated_by_user_id is not None: - pulumi.set(__self__, "updated_by_user_id", updated_by_user_id) + _setter("updated_by_user_id", updated_by_user_id) if updated_by_work_request_id is not None: - pulumi.set(__self__, "updated_by_work_request_id", updated_by_work_request_id) + _setter("updated_by_work_request_id", updated_by_work_request_id) @property @pulumi.getter(name="createdByUserId") @@ -678,18 +786,37 @@ def __init__(__self__, *, :param 'ClusterOptionsServiceLbConfigArgs' service_lb_config: (Updatable) Configuration to be applied to load balancers created by Kubernetes services :param Sequence[str] service_lb_subnet_ids: The OCIDs of the subnets used for Kubernetes services load balancers. """ + ClusterOptions._configure( + lambda key, value: pulumi.set(__self__, key, value), + add_ons=add_ons, + admission_controller_options=admission_controller_options, + kubernetes_network_config=kubernetes_network_config, + persistent_volume_config=persistent_volume_config, + service_lb_config=service_lb_config, + service_lb_subnet_ids=service_lb_subnet_ids, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + add_ons: Optional['outputs.ClusterOptionsAddOns'] = None, + admission_controller_options: Optional['outputs.ClusterOptionsAdmissionControllerOptions'] = None, + kubernetes_network_config: Optional['outputs.ClusterOptionsKubernetesNetworkConfig'] = None, + persistent_volume_config: Optional['outputs.ClusterOptionsPersistentVolumeConfig'] = None, + service_lb_config: Optional['outputs.ClusterOptionsServiceLbConfig'] = None, + service_lb_subnet_ids: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if add_ons is not None: - pulumi.set(__self__, "add_ons", add_ons) + _setter("add_ons", add_ons) if admission_controller_options is not None: - pulumi.set(__self__, "admission_controller_options", admission_controller_options) + _setter("admission_controller_options", admission_controller_options) if kubernetes_network_config is not None: - pulumi.set(__self__, "kubernetes_network_config", kubernetes_network_config) + _setter("kubernetes_network_config", kubernetes_network_config) if persistent_volume_config is not None: - pulumi.set(__self__, "persistent_volume_config", persistent_volume_config) + _setter("persistent_volume_config", persistent_volume_config) if service_lb_config is not None: - pulumi.set(__self__, "service_lb_config", service_lb_config) + _setter("service_lb_config", service_lb_config) if service_lb_subnet_ids is not None: - pulumi.set(__self__, "service_lb_subnet_ids", service_lb_subnet_ids) + _setter("service_lb_subnet_ids", service_lb_subnet_ids) @property @pulumi.getter(name="addOns") @@ -768,10 +895,21 @@ def __init__(__self__, *, :param bool is_kubernetes_dashboard_enabled: Whether or not to enable the Kubernetes Dashboard add-on. :param bool is_tiller_enabled: Whether or not to enable the Tiller add-on. """ + ClusterOptionsAddOns._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_kubernetes_dashboard_enabled=is_kubernetes_dashboard_enabled, + is_tiller_enabled=is_tiller_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_kubernetes_dashboard_enabled: Optional[bool] = None, + is_tiller_enabled: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_kubernetes_dashboard_enabled is not None: - pulumi.set(__self__, "is_kubernetes_dashboard_enabled", is_kubernetes_dashboard_enabled) + _setter("is_kubernetes_dashboard_enabled", is_kubernetes_dashboard_enabled) if is_tiller_enabled is not None: - pulumi.set(__self__, "is_tiller_enabled", is_tiller_enabled) + _setter("is_tiller_enabled", is_tiller_enabled) @property @pulumi.getter(name="isKubernetesDashboardEnabled") @@ -814,8 +952,17 @@ def __init__(__self__, *, """ :param bool is_pod_security_policy_enabled: (Updatable) Whether or not to enable the Pod Security Policy admission controller. """ + ClusterOptionsAdmissionControllerOptions._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_pod_security_policy_enabled=is_pod_security_policy_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_pod_security_policy_enabled: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_pod_security_policy_enabled is not None: - pulumi.set(__self__, "is_pod_security_policy_enabled", is_pod_security_policy_enabled) + _setter("is_pod_security_policy_enabled", is_pod_security_policy_enabled) @property @pulumi.getter(name="isPodSecurityPolicyEnabled") @@ -854,10 +1001,21 @@ def __init__(__self__, *, :param str pods_cidr: The CIDR block for Kubernetes pods. Optional, defaults to 10.244.0.0/16. :param str services_cidr: The CIDR block for Kubernetes services. Optional, defaults to 10.96.0.0/16. """ + ClusterOptionsKubernetesNetworkConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + pods_cidr=pods_cidr, + services_cidr=services_cidr, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + pods_cidr: Optional[str] = None, + services_cidr: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if pods_cidr is not None: - pulumi.set(__self__, "pods_cidr", pods_cidr) + _setter("pods_cidr", pods_cidr) if services_cidr is not None: - pulumi.set(__self__, "services_cidr", services_cidr) + _setter("services_cidr", services_cidr) @property @pulumi.getter(name="podsCidr") @@ -904,10 +1062,21 @@ def __init__(__self__, *, :param Mapping[str, Any] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` :param Mapping[str, Any] freeform_tags: (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` """ + ClusterOptionsPersistentVolumeConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + defined_tags=defined_tags, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + defined_tags: Optional[Mapping[str, Any]] = None, + freeform_tags: Optional[Mapping[str, Any]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="definedTags") @@ -954,10 +1123,21 @@ def __init__(__self__, *, :param Mapping[str, Any] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` :param Mapping[str, Any] freeform_tags: (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` """ + ClusterOptionsServiceLbConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + defined_tags=defined_tags, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + defined_tags: Optional[Mapping[str, Any]] = None, + freeform_tags: Optional[Mapping[str, Any]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="definedTags") @@ -1103,55 +1283,112 @@ def __init__(__self__, *, :param Sequence['ContainerInstanceContainerVolumeMountArgs'] volume_mounts: List of the volume mounts. :param str working_directory: The working directory within the container's filesystem for the container process. If not specified, the default working directory from the image is used. """ - pulumi.set(__self__, "image_url", image_url) + ContainerInstanceContainer._configure( + lambda key, value: pulumi.set(__self__, key, value), + image_url=image_url, + arguments=arguments, + availability_domain=availability_domain, + commands=commands, + compartment_id=compartment_id, + container_id=container_id, + container_instance_id=container_instance_id, + defined_tags=defined_tags, + display_name=display_name, + environment_variables=environment_variables, + exit_code=exit_code, + fault_domain=fault_domain, + freeform_tags=freeform_tags, + health_checks=health_checks, + is_resource_principal_disabled=is_resource_principal_disabled, + lifecycle_details=lifecycle_details, + resource_config=resource_config, + security_context=security_context, + state=state, + system_tags=system_tags, + time_created=time_created, + time_terminated=time_terminated, + time_updated=time_updated, + volume_mounts=volume_mounts, + working_directory=working_directory, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + image_url: str, + arguments: Optional[Sequence[str]] = None, + availability_domain: Optional[str] = None, + commands: Optional[Sequence[str]] = None, + compartment_id: Optional[str] = None, + container_id: Optional[str] = None, + container_instance_id: Optional[str] = None, + defined_tags: Optional[Mapping[str, Any]] = None, + display_name: Optional[str] = None, + environment_variables: Optional[Mapping[str, Any]] = None, + exit_code: Optional[int] = None, + fault_domain: Optional[str] = None, + freeform_tags: Optional[Mapping[str, Any]] = None, + health_checks: Optional[Sequence['outputs.ContainerInstanceContainerHealthCheck']] = None, + is_resource_principal_disabled: Optional[bool] = None, + lifecycle_details: Optional[str] = None, + resource_config: Optional['outputs.ContainerInstanceContainerResourceConfig'] = None, + security_context: Optional['outputs.ContainerInstanceContainerSecurityContext'] = None, + state: Optional[str] = None, + system_tags: Optional[Mapping[str, Any]] = None, + time_created: Optional[str] = None, + time_terminated: Optional[str] = None, + time_updated: Optional[str] = None, + volume_mounts: Optional[Sequence['outputs.ContainerInstanceContainerVolumeMount']] = None, + working_directory: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("image_url", image_url) if arguments is not None: - pulumi.set(__self__, "arguments", arguments) + _setter("arguments", arguments) if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if commands is not None: - pulumi.set(__self__, "commands", commands) + _setter("commands", commands) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if container_id is not None: - pulumi.set(__self__, "container_id", container_id) + _setter("container_id", container_id) if container_instance_id is not None: - pulumi.set(__self__, "container_instance_id", container_instance_id) + _setter("container_instance_id", container_instance_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if environment_variables is not None: - pulumi.set(__self__, "environment_variables", environment_variables) + _setter("environment_variables", environment_variables) if exit_code is not None: - pulumi.set(__self__, "exit_code", exit_code) + _setter("exit_code", exit_code) if fault_domain is not None: - pulumi.set(__self__, "fault_domain", fault_domain) + _setter("fault_domain", fault_domain) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if health_checks is not None: - pulumi.set(__self__, "health_checks", health_checks) + _setter("health_checks", health_checks) if is_resource_principal_disabled is not None: - pulumi.set(__self__, "is_resource_principal_disabled", is_resource_principal_disabled) + _setter("is_resource_principal_disabled", is_resource_principal_disabled) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if resource_config is not None: - pulumi.set(__self__, "resource_config", resource_config) + _setter("resource_config", resource_config) if security_context is not None: - pulumi.set(__self__, "security_context", security_context) + _setter("security_context", security_context) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_terminated is not None: - pulumi.set(__self__, "time_terminated", time_terminated) + _setter("time_terminated", time_terminated) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if volume_mounts is not None: - pulumi.set(__self__, "volume_mounts", volume_mounts) + _setter("volume_mounts", volume_mounts) if working_directory is not None: - pulumi.set(__self__, "working_directory", working_directory) + _setter("working_directory", working_directory) @property @pulumi.getter(name="imageUrl") @@ -1423,33 +1660,68 @@ def __init__(__self__, *, :param int success_threshold: Number of consecutive successes at which we consider the check succeeded again after it was in failure state. :param int timeout_in_seconds: Length of waiting time in seconds before marking health check failed. """ - pulumi.set(__self__, "health_check_type", health_check_type) + ContainerInstanceContainerHealthCheck._configure( + lambda key, value: pulumi.set(__self__, key, value), + health_check_type=health_check_type, + commands=commands, + failure_action=failure_action, + failure_threshold=failure_threshold, + headers=headers, + initial_delay_in_seconds=initial_delay_in_seconds, + interval_in_seconds=interval_in_seconds, + name=name, + path=path, + port=port, + status=status, + status_details=status_details, + success_threshold=success_threshold, + timeout_in_seconds=timeout_in_seconds, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + health_check_type: str, + commands: Optional[Sequence[str]] = None, + failure_action: Optional[str] = None, + failure_threshold: Optional[int] = None, + headers: Optional[Sequence['outputs.ContainerInstanceContainerHealthCheckHeader']] = None, + initial_delay_in_seconds: Optional[int] = None, + interval_in_seconds: Optional[int] = None, + name: Optional[str] = None, + path: Optional[str] = None, + port: Optional[int] = None, + status: Optional[str] = None, + status_details: Optional[str] = None, + success_threshold: Optional[int] = None, + timeout_in_seconds: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("health_check_type", health_check_type) if commands is not None: - pulumi.set(__self__, "commands", commands) + _setter("commands", commands) if failure_action is not None: - pulumi.set(__self__, "failure_action", failure_action) + _setter("failure_action", failure_action) if failure_threshold is not None: - pulumi.set(__self__, "failure_threshold", failure_threshold) + _setter("failure_threshold", failure_threshold) if headers is not None: - pulumi.set(__self__, "headers", headers) + _setter("headers", headers) if initial_delay_in_seconds is not None: - pulumi.set(__self__, "initial_delay_in_seconds", initial_delay_in_seconds) + _setter("initial_delay_in_seconds", initial_delay_in_seconds) if interval_in_seconds is not None: - pulumi.set(__self__, "interval_in_seconds", interval_in_seconds) + _setter("interval_in_seconds", interval_in_seconds) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if path is not None: - pulumi.set(__self__, "path", path) + _setter("path", path) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if status_details is not None: - pulumi.set(__self__, "status_details", status_details) + _setter("status_details", status_details) if success_threshold is not None: - pulumi.set(__self__, "success_threshold", success_threshold) + _setter("success_threshold", success_threshold) if timeout_in_seconds is not None: - pulumi.set(__self__, "timeout_in_seconds", timeout_in_seconds) + _setter("timeout_in_seconds", timeout_in_seconds) @property @pulumi.getter(name="healthCheckType") @@ -1567,10 +1839,21 @@ def __init__(__self__, *, :param str name: The name of the volume. This must be unique within a single container instance. :param str value: Container HTTP header value. """ + ContainerInstanceContainerHealthCheckHeader._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -1625,10 +1908,21 @@ def __init__(__self__, *, A container with a 2.0 vcpusLimit could consume up to 100% of the CPU resources available on the container instance. Values can be fractional. A value of "1.5" means that the container can consume at most the equivalent of 1 and a half logical CPUs worth of CPU capacity. """ + ContainerInstanceContainerResourceConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_limit_in_gbs=memory_limit_in_gbs, + vcpus_limit=vcpus_limit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_limit_in_gbs: Optional[float] = None, + vcpus_limit: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions]=None): if memory_limit_in_gbs is not None: - pulumi.set(__self__, "memory_limit_in_gbs", memory_limit_in_gbs) + _setter("memory_limit_in_gbs", memory_limit_in_gbs) if vcpus_limit is not None: - pulumi.set(__self__, "vcpus_limit", vcpus_limit) + _setter("vcpus_limit", vcpus_limit) @property @pulumi.getter(name="memoryLimitInGbs") @@ -1695,16 +1989,33 @@ def __init__(__self__, *, :param int run_as_user: The user ID (UID) to run the entrypoint process of the container. Defaults to user specified UID in container image metadata if not provided. This must be provided if runAsGroup is provided. :param str security_context_type: The type of security context """ + ContainerInstanceContainerSecurityContext._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_non_root_user_check_enabled=is_non_root_user_check_enabled, + is_root_file_system_readonly=is_root_file_system_readonly, + run_as_group=run_as_group, + run_as_user=run_as_user, + security_context_type=security_context_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_non_root_user_check_enabled: Optional[bool] = None, + is_root_file_system_readonly: Optional[bool] = None, + run_as_group: Optional[int] = None, + run_as_user: Optional[int] = None, + security_context_type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_non_root_user_check_enabled is not None: - pulumi.set(__self__, "is_non_root_user_check_enabled", is_non_root_user_check_enabled) + _setter("is_non_root_user_check_enabled", is_non_root_user_check_enabled) if is_root_file_system_readonly is not None: - pulumi.set(__self__, "is_root_file_system_readonly", is_root_file_system_readonly) + _setter("is_root_file_system_readonly", is_root_file_system_readonly) if run_as_group is not None: - pulumi.set(__self__, "run_as_group", run_as_group) + _setter("run_as_group", run_as_group) if run_as_user is not None: - pulumi.set(__self__, "run_as_user", run_as_user) + _setter("run_as_user", run_as_user) if security_context_type is not None: - pulumi.set(__self__, "security_context_type", security_context_type) + _setter("security_context_type", security_context_type) @property @pulumi.getter(name="isNonRootUserCheckEnabled") @@ -1785,14 +2096,31 @@ def __init__(__self__, *, :param int partition: If there is more than one partition in the volume, reference this number of partitions. Here is an example: Number Start End Size File system Name Flags 1 1049kB 106MB 105MB fat16 EFI System Partition boot, esp 2 106MB 1180MB 1074MB xfs 3 1180MB 50.0GB 48.8GB lvm :param str sub_path: A subpath inside the referenced volume. """ - pulumi.set(__self__, "mount_path", mount_path) - pulumi.set(__self__, "volume_name", volume_name) + ContainerInstanceContainerVolumeMount._configure( + lambda key, value: pulumi.set(__self__, key, value), + mount_path=mount_path, + volume_name=volume_name, + is_read_only=is_read_only, + partition=partition, + sub_path=sub_path, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + mount_path: str, + volume_name: str, + is_read_only: Optional[bool] = None, + partition: Optional[int] = None, + sub_path: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("mount_path", mount_path) + _setter("volume_name", volume_name) if is_read_only is not None: - pulumi.set(__self__, "is_read_only", is_read_only) + _setter("is_read_only", is_read_only) if partition is not None: - pulumi.set(__self__, "partition", partition) + _setter("partition", partition) if sub_path is not None: - pulumi.set(__self__, "sub_path", sub_path) + _setter("sub_path", sub_path) @property @pulumi.getter(name="mountPath") @@ -1846,12 +2174,25 @@ def __init__(__self__, *, :param Sequence[str] options: Options allows certain internal resolver variables to be modified. Options are a list of objects in https://man7.org/linux/man-pages/man5/resolv.conf.5.html. Examples: ["ndots:n", "edns0"]. :param Sequence[str] searches: Search list for host-name lookup. If null, we will use searches from subnet dhcpDnsOptios. """ + ContainerInstanceDnsConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + nameservers=nameservers, + options=options, + searches=searches, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + nameservers: Optional[Sequence[str]] = None, + options: Optional[Sequence[str]] = None, + searches: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if nameservers is not None: - pulumi.set(__self__, "nameservers", nameservers) + _setter("nameservers", nameservers) if options is not None: - pulumi.set(__self__, "options", options) + _setter("options", options) if searches is not None: - pulumi.set(__self__, "searches", searches) + _setter("searches", searches) @property @pulumi.getter @@ -1914,14 +2255,31 @@ def __init__(__self__, *, :param str secret_id: The OCID of the secret for registry credentials. :param str username: The username which should be used with the registry for authentication. The value is expected in base64 format. """ - pulumi.set(__self__, "registry_endpoint", registry_endpoint) - pulumi.set(__self__, "secret_type", secret_type) + ContainerInstanceImagePullSecret._configure( + lambda key, value: pulumi.set(__self__, key, value), + registry_endpoint=registry_endpoint, + secret_type=secret_type, + password=password, + secret_id=secret_id, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + registry_endpoint: str, + secret_type: str, + password: Optional[str] = None, + secret_id: Optional[str] = None, + username: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("registry_endpoint", registry_endpoint) + _setter("secret_type", secret_type) if password is not None: - pulumi.set(__self__, "password", password) + _setter("password", password) if secret_id is not None: - pulumi.set(__self__, "secret_id", secret_id) + _setter("secret_id", secret_id) if username is not None: - pulumi.set(__self__, "username", username) + _setter("username", username) @property @pulumi.getter(name="registryEndpoint") @@ -1998,13 +2356,28 @@ def __init__(__self__, *, :param float networking_bandwidth_in_gbps: The networking bandwidth available to the container instance, in gigabits per second. :param str processor_description: A short description of the container instance's processor (CPU). """ - pulumi.set(__self__, "ocpus", ocpus) + ContainerInstanceShapeConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + ocpus=ocpus, + memory_in_gbs=memory_in_gbs, + networking_bandwidth_in_gbps=networking_bandwidth_in_gbps, + processor_description=processor_description, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ocpus: float, + memory_in_gbs: Optional[float] = None, + networking_bandwidth_in_gbps: Optional[float] = None, + processor_description: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ocpus", ocpus) if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) if networking_bandwidth_in_gbps is not None: - pulumi.set(__self__, "networking_bandwidth_in_gbps", networking_bandwidth_in_gbps) + _setter("networking_bandwidth_in_gbps", networking_bandwidth_in_gbps) if processor_description is not None: - pulumi.set(__self__, "processor_description", processor_description) + _setter("processor_description", processor_description) @property @pulumi.getter @@ -2099,25 +2472,52 @@ def __init__(__self__, *, :param bool skip_source_dest_check: Whether the source/destination check is disabled on the VNIC. :param str vnic_id: The identifier of the virtual network interface card (VNIC) over which the containers accessing this network can communicate with the larger virtual cloud network. """ - pulumi.set(__self__, "subnet_id", subnet_id) + ContainerInstanceVnic._configure( + lambda key, value: pulumi.set(__self__, key, value), + subnet_id=subnet_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + hostname_label=hostname_label, + is_public_ip_assigned=is_public_ip_assigned, + nsg_ids=nsg_ids, + private_ip=private_ip, + skip_source_dest_check=skip_source_dest_check, + vnic_id=vnic_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + subnet_id: str, + defined_tags: Optional[Mapping[str, Any]] = None, + display_name: Optional[str] = None, + freeform_tags: Optional[Mapping[str, Any]] = None, + hostname_label: Optional[str] = None, + is_public_ip_assigned: Optional[bool] = None, + nsg_ids: Optional[Sequence[str]] = None, + private_ip: Optional[str] = None, + skip_source_dest_check: Optional[bool] = None, + vnic_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("subnet_id", subnet_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if hostname_label is not None: - pulumi.set(__self__, "hostname_label", hostname_label) + _setter("hostname_label", hostname_label) if is_public_ip_assigned is not None: - pulumi.set(__self__, "is_public_ip_assigned", is_public_ip_assigned) + _setter("is_public_ip_assigned", is_public_ip_assigned) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) if private_ip is not None: - pulumi.set(__self__, "private_ip", private_ip) + _setter("private_ip", private_ip) if skip_source_dest_check is not None: - pulumi.set(__self__, "skip_source_dest_check", skip_source_dest_check) + _setter("skip_source_dest_check", skip_source_dest_check) if vnic_id is not None: - pulumi.set(__self__, "vnic_id", vnic_id) + _setter("vnic_id", vnic_id) @property @pulumi.getter(name="subnetId") @@ -2232,12 +2632,27 @@ def __init__(__self__, *, :param str backing_store: The volume type of the empty directory, can be either File Storage or Memory. :param Sequence['ContainerInstanceVolumeConfigArgs'] configs: Contains key value pairs which can be mounted as individual files inside the container. The value needs to be base64 encoded. It is decoded to plain text before the mount. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "volume_type", volume_type) + ContainerInstanceVolume._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + volume_type=volume_type, + backing_store=backing_store, + configs=configs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + volume_type: str, + backing_store: Optional[str] = None, + configs: Optional[Sequence['outputs.ContainerInstanceVolumeConfig']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("volume_type", volume_type) if backing_store is not None: - pulumi.set(__self__, "backing_store", backing_store) + _setter("backing_store", backing_store) if configs is not None: - pulumi.set(__self__, "configs", configs) + _setter("configs", configs) @property @pulumi.getter @@ -2300,12 +2715,25 @@ def __init__(__self__, *, :param str file_name: The name of the file. The fileName should be unique across the volume. :param str path: (Optional) Relative path for this file inside the volume mount directory. By default, the file is presented at the root of the volume mount path. """ + ContainerInstanceVolumeConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + data=data, + file_name=file_name, + path=path, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + data: Optional[str] = None, + file_name: Optional[str] = None, + path: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if data is not None: - pulumi.set(__self__, "data", data) + _setter("data", data) if file_name is not None: - pulumi.set(__self__, "file_name", file_name) + _setter("file_name", file_name) if path is not None: - pulumi.set(__self__, "path", path) + _setter("path", path) @property @pulumi.getter @@ -2341,10 +2769,21 @@ def __init__(__self__, *, :param str key: (Updatable) The key of the pair. :param str value: (Updatable) The value of the pair. """ + NodePoolInitialNodeLabel._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -2431,34 +2870,69 @@ def __init__(__self__, *, :param str state: The state of the nodepool. :param str subnet_id: (Updatable) The OCID of the subnet in which to place nodes. """ + NodePoolNode._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + defined_tags=defined_tags, + errors=errors, + fault_domain=fault_domain, + freeform_tags=freeform_tags, + id=id, + kubernetes_version=kubernetes_version, + lifecycle_details=lifecycle_details, + name=name, + node_pool_id=node_pool_id, + private_ip=private_ip, + public_ip=public_ip, + state=state, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: Optional[str] = None, + defined_tags: Optional[Mapping[str, Any]] = None, + errors: Optional[Sequence['outputs.NodePoolNodeError']] = None, + fault_domain: Optional[str] = None, + freeform_tags: Optional[Mapping[str, Any]] = None, + id: Optional[str] = None, + kubernetes_version: Optional[str] = None, + lifecycle_details: Optional[str] = None, + name: Optional[str] = None, + node_pool_id: Optional[str] = None, + private_ip: Optional[str] = None, + public_ip: Optional[str] = None, + state: Optional[str] = None, + subnet_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if errors is not None: - pulumi.set(__self__, "errors", errors) + _setter("errors", errors) if fault_domain is not None: - pulumi.set(__self__, "fault_domain", fault_domain) + _setter("fault_domain", fault_domain) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if kubernetes_version is not None: - pulumi.set(__self__, "kubernetes_version", kubernetes_version) + _setter("kubernetes_version", kubernetes_version) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if node_pool_id is not None: - pulumi.set(__self__, "node_pool_id", node_pool_id) + _setter("node_pool_id", node_pool_id) if private_ip is not None: - pulumi.set(__self__, "private_ip", private_ip) + _setter("private_ip", private_ip) if public_ip is not None: - pulumi.set(__self__, "public_ip", public_ip) + _setter("public_ip", public_ip) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="availabilityDomain") @@ -2625,20 +3099,43 @@ def __init__(__self__, *, :param 'NodePoolNodeConfigDetailsNodePoolPodNetworkOptionDetailsArgs' node_pool_pod_network_option_details: (Updatable) The CNI related configuration of pods in the node pool. :param Sequence[str] nsg_ids: (Updatable) The OCIDs of the Network Security Group(s) to associate nodes for this node pool with. For more information about NSGs, see [NetworkSecurityGroup](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/20160918/NetworkSecurityGroup/). """ - pulumi.set(__self__, "placement_configs", placement_configs) - pulumi.set(__self__, "size", size) + NodePoolNodeConfigDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + placement_configs=placement_configs, + size=size, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + is_pv_encryption_in_transit_enabled=is_pv_encryption_in_transit_enabled, + kms_key_id=kms_key_id, + node_pool_pod_network_option_details=node_pool_pod_network_option_details, + nsg_ids=nsg_ids, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + placement_configs: Sequence['outputs.NodePoolNodeConfigDetailsPlacementConfig'], + size: int, + defined_tags: Optional[Mapping[str, Any]] = None, + freeform_tags: Optional[Mapping[str, Any]] = None, + is_pv_encryption_in_transit_enabled: Optional[bool] = None, + kms_key_id: Optional[str] = None, + node_pool_pod_network_option_details: Optional['outputs.NodePoolNodeConfigDetailsNodePoolPodNetworkOptionDetails'] = None, + nsg_ids: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("placement_configs", placement_configs) + _setter("size", size) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_pv_encryption_in_transit_enabled is not None: - pulumi.set(__self__, "is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) + _setter("is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) if node_pool_pod_network_option_details is not None: - pulumi.set(__self__, "node_pool_pod_network_option_details", node_pool_pod_network_option_details) + _setter("node_pool_pod_network_option_details", node_pool_pod_network_option_details) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) @property @pulumi.getter(name="placementConfigs") @@ -2743,13 +3240,28 @@ def __init__(__self__, *, :param Sequence[str] pod_nsg_ids: (Updatable) The OCIDs of the Network Security Group(s) to associate pods for this node pool with. For more information about NSGs, see [NetworkSecurityGroup](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/20160918/NetworkSecurityGroup/). :param Sequence[str] pod_subnet_ids: (Updatable) The OCIDs of the subnets in which to place pods for this node pool. This can be one of the node pool subnet IDs """ - pulumi.set(__self__, "cni_type", cni_type) + NodePoolNodeConfigDetailsNodePoolPodNetworkOptionDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + cni_type=cni_type, + max_pods_per_node=max_pods_per_node, + pod_nsg_ids=pod_nsg_ids, + pod_subnet_ids=pod_subnet_ids, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cni_type: str, + max_pods_per_node: Optional[int] = None, + pod_nsg_ids: Optional[Sequence[str]] = None, + pod_subnet_ids: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cni_type", cni_type) if max_pods_per_node is not None: - pulumi.set(__self__, "max_pods_per_node", max_pods_per_node) + _setter("max_pods_per_node", max_pods_per_node) if pod_nsg_ids is not None: - pulumi.set(__self__, "pod_nsg_ids", pod_nsg_ids) + _setter("pod_nsg_ids", pod_nsg_ids) if pod_subnet_ids is not None: - pulumi.set(__self__, "pod_subnet_ids", pod_subnet_ids) + _setter("pod_subnet_ids", pod_subnet_ids) @property @pulumi.getter(name="cniType") @@ -2824,14 +3336,31 @@ def __init__(__self__, *, :param Sequence[str] fault_domains: (Updatable) A list of fault domains in which to place nodes. :param 'NodePoolNodeConfigDetailsPlacementConfigPreemptibleNodeConfigArgs' preemptible_node_config: (Updatable) Configuration options for preemptible nodes. """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "subnet_id", subnet_id) + NodePoolNodeConfigDetailsPlacementConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + subnet_id=subnet_id, + capacity_reservation_id=capacity_reservation_id, + fault_domains=fault_domains, + preemptible_node_config=preemptible_node_config, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + subnet_id: str, + capacity_reservation_id: Optional[str] = None, + fault_domains: Optional[Sequence[str]] = None, + preemptible_node_config: Optional['outputs.NodePoolNodeConfigDetailsPlacementConfigPreemptibleNodeConfig'] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("subnet_id", subnet_id) if capacity_reservation_id is not None: - pulumi.set(__self__, "capacity_reservation_id", capacity_reservation_id) + _setter("capacity_reservation_id", capacity_reservation_id) if fault_domains is not None: - pulumi.set(__self__, "fault_domains", fault_domains) + _setter("fault_domains", fault_domains) if preemptible_node_config is not None: - pulumi.set(__self__, "preemptible_node_config", preemptible_node_config) + _setter("preemptible_node_config", preemptible_node_config) @property @pulumi.getter(name="availabilityDomain") @@ -2898,7 +3427,16 @@ def __init__(__self__, *, """ :param 'NodePoolNodeConfigDetailsPlacementConfigPreemptibleNodeConfigPreemptionActionArgs' preemption_action: (Updatable) The action to run when the preemptible node is interrupted for eviction. """ - pulumi.set(__self__, "preemption_action", preemption_action) + NodePoolNodeConfigDetailsPlacementConfigPreemptibleNodeConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + preemption_action=preemption_action, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + preemption_action: 'outputs.NodePoolNodeConfigDetailsPlacementConfigPreemptibleNodeConfigPreemptionAction', + opts: Optional[pulumi.ResourceOptions]=None): + _setter("preemption_action", preemption_action) @property @pulumi.getter(name="preemptionAction") @@ -2935,9 +3473,20 @@ def __init__(__self__, *, :param str type: (Updatable) The type of action to run when the instance is interrupted for eviction. :param bool is_preserve_boot_volume: (Updatable) Whether to preserve the boot volume that was used to launch the preemptible instance when the instance is terminated. Defaults to false if not specified. """ - pulumi.set(__self__, "type", type) + NodePoolNodeConfigDetailsPlacementConfigPreemptibleNodeConfigPreemptionAction._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + is_preserve_boot_volume=is_preserve_boot_volume, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + is_preserve_boot_volume: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if is_preserve_boot_volume is not None: - pulumi.set(__self__, "is_preserve_boot_volume", is_preserve_boot_volume) + _setter("is_preserve_boot_volume", is_preserve_boot_volume) @property @pulumi.getter @@ -2967,12 +3516,25 @@ def __init__(__self__, *, :param str message: A human-readable error string of the upstream error. :param str status: The status of the HTTP response encountered in the upstream error. """ + NodePoolNodeError._configure( + lambda key, value: pulumi.set(__self__, key, value), + code=code, + message=message, + status=status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + code: Optional[str] = None, + message: Optional[str] = None, + status: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if code is not None: - pulumi.set(__self__, "code", code) + _setter("code", code) if message is not None: - pulumi.set(__self__, "message", message) + _setter("message", message) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) @property @pulumi.getter @@ -3027,10 +3589,21 @@ def __init__(__self__, *, :param str eviction_grace_duration: (Updatable) Duration after which OKE will give up eviction of the pods on the node. PT0M will indicate you want to delete the node without cordon and drain. Default PT60M, Min PT0M, Max: PT60M. Format ISO 8601 e.g PT30M :param bool is_force_delete_after_grace_duration: (Updatable) If the underlying compute instance should be deleted if you cannot evict all the pods in grace period """ + NodePoolNodeEvictionNodePoolSettings._configure( + lambda key, value: pulumi.set(__self__, key, value), + eviction_grace_duration=eviction_grace_duration, + is_force_delete_after_grace_duration=is_force_delete_after_grace_duration, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + eviction_grace_duration: Optional[str] = None, + is_force_delete_after_grace_duration: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): if eviction_grace_duration is not None: - pulumi.set(__self__, "eviction_grace_duration", eviction_grace_duration) + _setter("eviction_grace_duration", eviction_grace_duration) if is_force_delete_after_grace_duration is not None: - pulumi.set(__self__, "is_force_delete_after_grace_duration", is_force_delete_after_grace_duration) + _setter("is_force_delete_after_grace_duration", is_force_delete_after_grace_duration) @property @pulumi.getter(name="evictionGraceDuration") @@ -3081,12 +3654,25 @@ def __init__(__self__, *, :param str maximum_surge: (Updatable) Maximum additional new compute instances that would be temporarily created and added to nodepool during the cycling nodepool process. OKE supports both integer and percentage input. Defaults to 1, Ranges from 0 to Nodepool size or 0% to 100% :param str maximum_unavailable: (Updatable) Maximum active nodes that would be terminated from nodepool during the cycling nodepool process. OKE supports both integer and percentage input. Defaults to 0, Ranges from 0 to Nodepool size or 0% to 100% """ + NodePoolNodePoolCyclingDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_node_cycling_enabled=is_node_cycling_enabled, + maximum_surge=maximum_surge, + maximum_unavailable=maximum_unavailable, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_node_cycling_enabled: Optional[bool] = None, + maximum_surge: Optional[str] = None, + maximum_unavailable: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_node_cycling_enabled is not None: - pulumi.set(__self__, "is_node_cycling_enabled", is_node_cycling_enabled) + _setter("is_node_cycling_enabled", is_node_cycling_enabled) if maximum_surge is not None: - pulumi.set(__self__, "maximum_surge", maximum_surge) + _setter("maximum_surge", maximum_surge) if maximum_unavailable is not None: - pulumi.set(__self__, "maximum_unavailable", maximum_unavailable) + _setter("maximum_unavailable", maximum_unavailable) @property @pulumi.getter(name="isNodeCyclingEnabled") @@ -3139,10 +3725,21 @@ def __init__(__self__, *, :param float memory_in_gbs: (Updatable) The total amount of memory available to each node, in gigabytes. :param float ocpus: (Updatable) The total number of OCPUs available to each node in the node pool. See [here](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/Shape/) for details. """ + NodePoolNodeShapeConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: Optional[float] = None, + ocpus: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions]=None): if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) if ocpus is not None: - pulumi.set(__self__, "ocpus", ocpus) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -3193,12 +3790,25 @@ def __init__(__self__, *, :param str source_name: The user-friendly name of the entity corresponding to the OCID. :param str source_type: (Updatable) The source type for the node. Use `IMAGE` when specifying an OCID of an image. """ + NodePoolNodeSource._configure( + lambda key, value: pulumi.set(__self__, key, value), + image_id=image_id, + source_name=source_name, + source_type=source_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + image_id: Optional[str] = None, + source_name: Optional[str] = None, + source_type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if image_id is not None: - pulumi.set(__self__, "image_id", image_id) + _setter("image_id", image_id) if source_name is not None: - pulumi.set(__self__, "source_name", source_name) + _setter("source_name", source_name) if source_type is not None: - pulumi.set(__self__, "source_type", source_type) + _setter("source_type", source_type) @property @pulumi.getter(name="imageId") @@ -3257,10 +3867,23 @@ def __init__(__self__, *, :param str source_type: (Updatable) The source type for the node. Use `IMAGE` when specifying an OCID of an image. :param str boot_volume_size_in_gbs: (Updatable) The size of the boot volume in GBs. Minimum value is 50 GB. See [here](https://docs.cloud.oracle.com/en-us/iaas/Content/Block/Concepts/bootvolumes.htm) for max custom boot volume sizing and OS-specific requirements. """ - pulumi.set(__self__, "image_id", image_id) - pulumi.set(__self__, "source_type", source_type) + NodePoolNodeSourceDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + image_id=image_id, + source_type=source_type, + boot_volume_size_in_gbs=boot_volume_size_in_gbs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + image_id: str, + source_type: str, + boot_volume_size_in_gbs: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("image_id", image_id) + _setter("source_type", source_type) if boot_volume_size_in_gbs is not None: - pulumi.set(__self__, "boot_volume_size_in_gbs", boot_volume_size_in_gbs) + _setter("boot_volume_size_in_gbs", boot_volume_size_in_gbs) @property @pulumi.getter(name="imageId") @@ -3296,10 +3919,21 @@ def __init__(__self__, *, :param str key: (Updatable) The key of the pair. :param str value: (Updatable) The value of the pair. """ + VirtualNodePoolInitialVirtualNodeLabel._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -3350,9 +3984,22 @@ def __init__(__self__, *, :param Sequence[str] fault_domains: (Updatable) The fault domain of this virtual node. :param str subnet_id: (Updatable) The regional subnet where pods' VNIC will be placed. """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "fault_domains", fault_domains) - pulumi.set(__self__, "subnet_id", subnet_id) + VirtualNodePoolPlacementConfiguration._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + fault_domains=fault_domains, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + fault_domains: Sequence[str], + subnet_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("fault_domains", fault_domains) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="availabilityDomain") @@ -3409,10 +4056,23 @@ def __init__(__self__, *, :param str subnet_id: (Updatable) The regional subnet where pods' VNIC will be placed. :param Sequence[str] nsg_ids: (Updatable) List of network security group IDs applied to the Pod VNIC. """ - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "subnet_id", subnet_id) + VirtualNodePoolPodConfiguration._configure( + lambda key, value: pulumi.set(__self__, key, value), + shape=shape, + subnet_id=subnet_id, + nsg_ids=nsg_ids, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + shape: str, + subnet_id: str, + nsg_ids: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("shape", shape) + _setter("subnet_id", subnet_id) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) @property @pulumi.getter @@ -3450,12 +4110,25 @@ def __init__(__self__, *, :param str key: (Updatable) The key of the pair. :param str value: (Updatable) The value of the pair. """ + VirtualNodePoolTaint._configure( + lambda key, value: pulumi.set(__self__, key, value), + effect=effect, + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + effect: Optional[str] = None, + key: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if effect is not None: - pulumi.set(__self__, "effect", effect) + _setter("effect", effect) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -3514,10 +4187,21 @@ def __init__(__self__, *, ** 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 """ + VirtualNodePoolVirtualNodeTags._configure( + lambda key, value: pulumi.set(__self__, key, value), + defined_tags=defined_tags, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + defined_tags: Optional[Mapping[str, Any]] = None, + freeform_tags: Optional[Mapping[str, Any]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="definedTags") @@ -3551,9 +4235,22 @@ def __init__(__self__, *, :param str message: A human-readable error string of the upstream error. :param str status: The status of the HTTP response encountered in the upstream error. """ - pulumi.set(__self__, "code", code) - pulumi.set(__self__, "message", message) - pulumi.set(__self__, "status", status) + GetAddonAddonErrorResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + code=code, + message=message, + status=status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + code: str, + message: str, + status: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("code", code) + _setter("message", message) + _setter("status", status) @property @pulumi.getter @@ -3589,8 +4286,19 @@ def __init__(__self__, *, :param str key: configuration key name :param str value: configuration value name """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetAddonConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -3636,17 +4344,46 @@ def __init__(__self__, *, :param str time_created: The time the work request was created. :param Sequence['GetAddonOptionsAddonOptionVersionArgs'] versions: The resources this work request affects. """ - pulumi.set(__self__, "addon_group", addon_group) - pulumi.set(__self__, "addon_schema_version", addon_schema_version) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "is_essential", is_essential) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "versions", versions) + GetAddonOptionsAddonOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + addon_group=addon_group, + addon_schema_version=addon_schema_version, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + is_essential=is_essential, + name=name, + state=state, + system_tags=system_tags, + time_created=time_created, + versions=versions, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + addon_group: str, + addon_schema_version: str, + defined_tags: Mapping[str, Any], + description: str, + freeform_tags: Mapping[str, Any], + is_essential: bool, + name: str, + state: str, + system_tags: Mapping[str, Any], + time_created: str, + versions: Sequence['outputs.GetAddonOptionsAddonOptionVersionResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("addon_group", addon_group) + _setter("addon_schema_version", addon_schema_version) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("freeform_tags", freeform_tags) + _setter("is_essential", is_essential) + _setter("name", name) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("versions", versions) @property @pulumi.getter(name="addonGroup") @@ -3752,11 +4489,28 @@ def __init__(__self__, *, :param str status: Current state of the addon, only active will be visible to customer, visibility of versions in other status will be filtered based on limits property. :param str version_number: Version number, need be comparable within an addon. """ - pulumi.set(__self__, "configurations", configurations) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "kubernetes_version_filters", kubernetes_version_filters) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "version_number", version_number) + GetAddonOptionsAddonOptionVersionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + configurations=configurations, + description=description, + kubernetes_version_filters=kubernetes_version_filters, + status=status, + version_number=version_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + configurations: Sequence['outputs.GetAddonOptionsAddonOptionVersionConfigurationResult'], + description: str, + kubernetes_version_filters: Sequence['outputs.GetAddonOptionsAddonOptionVersionKubernetesVersionFilterResult'], + status: str, + version_number: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("configurations", configurations) + _setter("description", description) + _setter("kubernetes_version_filters", kubernetes_version_filters) + _setter("status", status) + _setter("version_number", version_number) @property @pulumi.getter @@ -3814,11 +4568,28 @@ def __init__(__self__, *, :param str key: Addon configuration key :param str value: Addon configuration value """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "is_required", is_required) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetAddonOptionsAddonOptionVersionConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + display_name=display_name, + is_required=is_required, + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + display_name: str, + is_required: bool, + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("display_name", display_name) + _setter("is_required", is_required) + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -3872,9 +4643,22 @@ def __init__(__self__, *, :param str maximum_version: The latest kubernetes version. :param str minimal_version: The earliest kubernetes version. """ - pulumi.set(__self__, "exact_kubernetes_versions", exact_kubernetes_versions) - pulumi.set(__self__, "maximum_version", maximum_version) - pulumi.set(__self__, "minimal_version", minimal_version) + GetAddonOptionsAddonOptionVersionKubernetesVersionFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + exact_kubernetes_versions=exact_kubernetes_versions, + maximum_version=maximum_version, + minimal_version=minimal_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + exact_kubernetes_versions: Sequence[str], + maximum_version: str, + minimal_version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("exact_kubernetes_versions", exact_kubernetes_versions) + _setter("maximum_version", maximum_version) + _setter("minimal_version", minimal_version) @property @pulumi.getter(name="exactKubernetesVersions") @@ -3910,10 +4694,23 @@ def __init__(__self__, *, """ :param str name: Name of the addon and it would be unique. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAddonOptionsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3956,15 +4753,40 @@ def __init__(__self__, *, :param str time_created: The time the cluster was created. :param str version: selected addon version, or null indicates autoUpdate """ - pulumi.set(__self__, "addon_errors", addon_errors) - pulumi.set(__self__, "addon_name", addon_name) - pulumi.set(__self__, "cluster_id", cluster_id) - pulumi.set(__self__, "configurations", configurations) - pulumi.set(__self__, "current_installed_version", current_installed_version) - pulumi.set(__self__, "remove_addon_resources_on_delete", remove_addon_resources_on_delete) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "version", version) + GetAddonsAddonResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + addon_errors=addon_errors, + addon_name=addon_name, + cluster_id=cluster_id, + configurations=configurations, + current_installed_version=current_installed_version, + remove_addon_resources_on_delete=remove_addon_resources_on_delete, + state=state, + time_created=time_created, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + addon_errors: Sequence['outputs.GetAddonsAddonAddonErrorResult'], + addon_name: str, + cluster_id: str, + configurations: Sequence['outputs.GetAddonsAddonConfigurationResult'], + current_installed_version: str, + remove_addon_resources_on_delete: bool, + state: str, + time_created: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("addon_errors", addon_errors) + _setter("addon_name", addon_name) + _setter("cluster_id", cluster_id) + _setter("configurations", configurations) + _setter("current_installed_version", current_installed_version) + _setter("remove_addon_resources_on_delete", remove_addon_resources_on_delete) + _setter("state", state) + _setter("time_created", time_created) + _setter("version", version) @property @pulumi.getter(name="addonErrors") @@ -4047,9 +4869,22 @@ def __init__(__self__, *, :param str message: A human-readable error string of the upstream error. :param str status: The status of the HTTP response encountered in the upstream error. """ - pulumi.set(__self__, "code", code) - pulumi.set(__self__, "message", message) - pulumi.set(__self__, "status", status) + GetAddonsAddonAddonErrorResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + code=code, + message=message, + status=status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + code: str, + message: str, + status: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("code", code) + _setter("message", message) + _setter("status", status) @property @pulumi.getter @@ -4085,8 +4920,19 @@ def __init__(__self__, *, :param str key: configuration key name :param str value: configuration value name """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetAddonsAddonConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -4111,10 +4957,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAddonsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4139,7 +4998,16 @@ def __init__(__self__, *, """ :param str cni_type: The CNI used by the node pools of this cluster """ - pulumi.set(__self__, "cni_type", cni_type) + GetClusterOptionClusterPodNetworkOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cni_type=cni_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cni_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cni_type", cni_type) @property @pulumi.getter(name="cniType") @@ -4156,10 +5024,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetClusterWorkloadMappingsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4200,15 +5081,40 @@ def __init__(__self__, *, :param str state: The state of the workloadMapping. :param str time_created: The time the cluster was created. """ - pulumi.set(__self__, "cluster_id", cluster_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "mapped_compartment_id", mapped_compartment_id) - pulumi.set(__self__, "mapped_tenancy_id", mapped_tenancy_id) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) + GetClusterWorkloadMappingsWorkloadMappingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cluster_id=cluster_id, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + id=id, + mapped_compartment_id=mapped_compartment_id, + mapped_tenancy_id=mapped_tenancy_id, + namespace=namespace, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cluster_id: str, + defined_tags: Mapping[str, Any], + freeform_tags: Mapping[str, Any], + id: str, + mapped_compartment_id: str, + mapped_tenancy_id: str, + namespace: str, + state: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cluster_id", cluster_id) + _setter("defined_tags", defined_tags) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("mapped_compartment_id", mapped_compartment_id) + _setter("mapped_tenancy_id", mapped_tenancy_id) + _setter("namespace", namespace) + _setter("state", state) + _setter("time_created", time_created) @property @pulumi.getter(name="clusterId") @@ -4324,24 +5230,67 @@ def __init__(__self__, *, :param str type: Type of cluster. Values can be BASIC_CLUSTER or ENHANCED_CLUSTER. For more information, see [Cluster Types](https://docs.cloud.oracle.com/iaas/Content/ContEng/Tasks/contengcomparingenhancedwithbasicclusters_topic.htm) :param str vcn_id: The OCID of the virtual cloud network (VCN) in which the cluster exists. """ - pulumi.set(__self__, "available_kubernetes_upgrades", available_kubernetes_upgrades) - pulumi.set(__self__, "cluster_pod_network_options", cluster_pod_network_options) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "endpoint_configs", endpoint_configs) - pulumi.set(__self__, "endpoints", endpoints) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "image_policy_configs", image_policy_configs) - pulumi.set(__self__, "kms_key_id", kms_key_id) - pulumi.set(__self__, "kubernetes_version", kubernetes_version) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "metadatas", metadatas) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "options", options) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "vcn_id", vcn_id) + GetClustersClusterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + available_kubernetes_upgrades=available_kubernetes_upgrades, + cluster_pod_network_options=cluster_pod_network_options, + compartment_id=compartment_id, + defined_tags=defined_tags, + endpoint_configs=endpoint_configs, + endpoints=endpoints, + freeform_tags=freeform_tags, + id=id, + image_policy_configs=image_policy_configs, + kms_key_id=kms_key_id, + kubernetes_version=kubernetes_version, + lifecycle_details=lifecycle_details, + metadatas=metadatas, + name=name, + options=options, + state=state, + type=type, + vcn_id=vcn_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + available_kubernetes_upgrades: Sequence[str], + cluster_pod_network_options: Sequence['outputs.GetClustersClusterClusterPodNetworkOptionResult'], + compartment_id: str, + defined_tags: Mapping[str, Any], + endpoint_configs: Sequence['outputs.GetClustersClusterEndpointConfigResult'], + endpoints: Sequence['outputs.GetClustersClusterEndpointResult'], + freeform_tags: Mapping[str, Any], + id: str, + image_policy_configs: Sequence['outputs.GetClustersClusterImagePolicyConfigResult'], + kms_key_id: str, + kubernetes_version: str, + lifecycle_details: str, + metadatas: Sequence['outputs.GetClustersClusterMetadataResult'], + name: str, + options: Sequence['outputs.GetClustersClusterOptionResult'], + state: str, + type: str, + vcn_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("available_kubernetes_upgrades", available_kubernetes_upgrades) + _setter("cluster_pod_network_options", cluster_pod_network_options) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("endpoint_configs", endpoint_configs) + _setter("endpoints", endpoints) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("image_policy_configs", image_policy_configs) + _setter("kms_key_id", kms_key_id) + _setter("kubernetes_version", kubernetes_version) + _setter("lifecycle_details", lifecycle_details) + _setter("metadatas", metadatas) + _setter("name", name) + _setter("options", options) + _setter("state", state) + _setter("type", type) + _setter("vcn_id", vcn_id) @property @pulumi.getter(name="availableKubernetesUpgrades") @@ -4495,7 +5444,16 @@ def __init__(__self__, *, """ :param str cni_type: The CNI used by the node pools of this cluster """ - pulumi.set(__self__, "cni_type", cni_type) + GetClustersClusterClusterPodNetworkOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cni_type=cni_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cni_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cni_type", cni_type) @property @pulumi.getter(name="cniType") @@ -4519,10 +5477,25 @@ def __init__(__self__, *, :param str public_endpoint: The public native networking Kubernetes API server endpoint, if one was requested. :param str vcn_hostname_endpoint: The FQDN assigned to the Kubernetes API private endpoint. Example: 'https://yourVcnHostnameEndpoint' """ - pulumi.set(__self__, "kubernetes", kubernetes) - pulumi.set(__self__, "private_endpoint", private_endpoint) - pulumi.set(__self__, "public_endpoint", public_endpoint) - pulumi.set(__self__, "vcn_hostname_endpoint", vcn_hostname_endpoint) + GetClustersClusterEndpointResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + kubernetes=kubernetes, + private_endpoint=private_endpoint, + public_endpoint=public_endpoint, + vcn_hostname_endpoint=vcn_hostname_endpoint, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + kubernetes: str, + private_endpoint: str, + public_endpoint: str, + vcn_hostname_endpoint: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("kubernetes", kubernetes) + _setter("private_endpoint", private_endpoint) + _setter("public_endpoint", public_endpoint) + _setter("vcn_hostname_endpoint", vcn_hostname_endpoint) @property @pulumi.getter @@ -4568,9 +5541,22 @@ def __init__(__self__, *, :param Sequence[str] nsg_ids: A list of the OCIDs of the network security groups (NSGs) to apply to the cluster endpoint. For more information about NSGs, see [NetworkSecurityGroup](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/20160918/NetworkSecurityGroup/). :param str subnet_id: The OCID of the regional subnet in which to place the Cluster endpoint. """ - pulumi.set(__self__, "is_public_ip_enabled", is_public_ip_enabled) - pulumi.set(__self__, "nsg_ids", nsg_ids) - pulumi.set(__self__, "subnet_id", subnet_id) + GetClustersClusterEndpointConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_public_ip_enabled=is_public_ip_enabled, + nsg_ids=nsg_ids, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_public_ip_enabled: bool, + nsg_ids: Sequence[str], + subnet_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_public_ip_enabled", is_public_ip_enabled) + _setter("nsg_ids", nsg_ids) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="isPublicIpEnabled") @@ -4606,8 +5592,19 @@ def __init__(__self__, *, :param bool is_policy_enabled: Whether the image verification policy is enabled. Defaults to false. If set to true, the images will be verified against the policy at runtime. :param Sequence['GetClustersClusterImagePolicyConfigKeyDetailArgs'] key_details: A list of KMS key details. """ - pulumi.set(__self__, "is_policy_enabled", is_policy_enabled) - pulumi.set(__self__, "key_details", key_details) + GetClustersClusterImagePolicyConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_policy_enabled=is_policy_enabled, + key_details=key_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_policy_enabled: bool, + key_details: Sequence['outputs.GetClustersClusterImagePolicyConfigKeyDetailResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_policy_enabled", is_policy_enabled) + _setter("key_details", key_details) @property @pulumi.getter(name="isPolicyEnabled") @@ -4633,7 +5630,16 @@ def __init__(__self__, *, """ :param str kms_key_id: The OCID of the KMS key to be used as the master encryption key for Kubernetes secret encryption. """ - pulumi.set(__self__, "kms_key_id", kms_key_id) + GetClustersClusterImagePolicyConfigKeyDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + kms_key_id=kms_key_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + kms_key_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("kms_key_id", kms_key_id) @property @pulumi.getter(name="kmsKeyId") @@ -4669,16 +5675,43 @@ def __init__(__self__, *, :param str updated_by_user_id: The user who updated the cluster. :param str updated_by_work_request_id: The OCID of the work request which updated the cluster. """ - pulumi.set(__self__, "created_by_user_id", created_by_user_id) - pulumi.set(__self__, "created_by_work_request_id", created_by_work_request_id) - pulumi.set(__self__, "deleted_by_user_id", deleted_by_user_id) - pulumi.set(__self__, "deleted_by_work_request_id", deleted_by_work_request_id) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_credential_expiration", time_credential_expiration) - pulumi.set(__self__, "time_deleted", time_deleted) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "updated_by_user_id", updated_by_user_id) - pulumi.set(__self__, "updated_by_work_request_id", updated_by_work_request_id) + GetClustersClusterMetadataResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created_by_user_id=created_by_user_id, + created_by_work_request_id=created_by_work_request_id, + deleted_by_user_id=deleted_by_user_id, + deleted_by_work_request_id=deleted_by_work_request_id, + time_created=time_created, + time_credential_expiration=time_credential_expiration, + time_deleted=time_deleted, + time_updated=time_updated, + updated_by_user_id=updated_by_user_id, + updated_by_work_request_id=updated_by_work_request_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created_by_user_id: str, + created_by_work_request_id: str, + deleted_by_user_id: str, + deleted_by_work_request_id: str, + time_created: str, + time_credential_expiration: str, + time_deleted: str, + time_updated: str, + updated_by_user_id: str, + updated_by_work_request_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created_by_user_id", created_by_user_id) + _setter("created_by_work_request_id", created_by_work_request_id) + _setter("deleted_by_user_id", deleted_by_user_id) + _setter("deleted_by_work_request_id", deleted_by_work_request_id) + _setter("time_created", time_created) + _setter("time_credential_expiration", time_credential_expiration) + _setter("time_deleted", time_deleted) + _setter("time_updated", time_updated) + _setter("updated_by_user_id", updated_by_user_id) + _setter("updated_by_work_request_id", updated_by_work_request_id) @property @pulumi.getter(name="createdByUserId") @@ -4778,12 +5811,31 @@ def __init__(__self__, *, :param Sequence['GetClustersClusterOptionServiceLbConfigArgs'] service_lb_configs: Configuration to be applied to load balancers created by Kubernetes services :param Sequence[str] service_lb_subnet_ids: The OCIDs of the subnets used for Kubernetes services load balancers. """ - pulumi.set(__self__, "add_ons", add_ons) - pulumi.set(__self__, "admission_controller_options", admission_controller_options) - pulumi.set(__self__, "kubernetes_network_configs", kubernetes_network_configs) - pulumi.set(__self__, "persistent_volume_configs", persistent_volume_configs) - pulumi.set(__self__, "service_lb_configs", service_lb_configs) - pulumi.set(__self__, "service_lb_subnet_ids", service_lb_subnet_ids) + GetClustersClusterOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + add_ons=add_ons, + admission_controller_options=admission_controller_options, + kubernetes_network_configs=kubernetes_network_configs, + persistent_volume_configs=persistent_volume_configs, + service_lb_configs=service_lb_configs, + service_lb_subnet_ids=service_lb_subnet_ids, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + add_ons: Sequence['outputs.GetClustersClusterOptionAddOnResult'], + admission_controller_options: Sequence['outputs.GetClustersClusterOptionAdmissionControllerOptionResult'], + kubernetes_network_configs: Sequence['outputs.GetClustersClusterOptionKubernetesNetworkConfigResult'], + persistent_volume_configs: Sequence['outputs.GetClustersClusterOptionPersistentVolumeConfigResult'], + service_lb_configs: Sequence['outputs.GetClustersClusterOptionServiceLbConfigResult'], + service_lb_subnet_ids: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("add_ons", add_ons) + _setter("admission_controller_options", admission_controller_options) + _setter("kubernetes_network_configs", kubernetes_network_configs) + _setter("persistent_volume_configs", persistent_volume_configs) + _setter("service_lb_configs", service_lb_configs) + _setter("service_lb_subnet_ids", service_lb_subnet_ids) @property @pulumi.getter(name="addOns") @@ -4843,8 +5895,19 @@ def __init__(__self__, *, :param bool is_kubernetes_dashboard_enabled: Whether or not to enable the Kubernetes Dashboard add-on. :param bool is_tiller_enabled: Whether or not to enable the Tiller add-on. """ - pulumi.set(__self__, "is_kubernetes_dashboard_enabled", is_kubernetes_dashboard_enabled) - pulumi.set(__self__, "is_tiller_enabled", is_tiller_enabled) + GetClustersClusterOptionAddOnResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_kubernetes_dashboard_enabled=is_kubernetes_dashboard_enabled, + is_tiller_enabled=is_tiller_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_kubernetes_dashboard_enabled: bool, + is_tiller_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_kubernetes_dashboard_enabled", is_kubernetes_dashboard_enabled) + _setter("is_tiller_enabled", is_tiller_enabled) @property @pulumi.getter(name="isKubernetesDashboardEnabled") @@ -4870,7 +5933,16 @@ def __init__(__self__, *, """ :param bool is_pod_security_policy_enabled: Whether or not to enable the Pod Security Policy admission controller. """ - pulumi.set(__self__, "is_pod_security_policy_enabled", is_pod_security_policy_enabled) + GetClustersClusterOptionAdmissionControllerOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_pod_security_policy_enabled=is_pod_security_policy_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_pod_security_policy_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_pod_security_policy_enabled", is_pod_security_policy_enabled) @property @pulumi.getter(name="isPodSecurityPolicyEnabled") @@ -4890,8 +5962,19 @@ def __init__(__self__, *, :param str pods_cidr: The CIDR block for Kubernetes pods. Optional, defaults to 10.244.0.0/16. :param str services_cidr: The CIDR block for Kubernetes services. Optional, defaults to 10.96.0.0/16. """ - pulumi.set(__self__, "pods_cidr", pods_cidr) - pulumi.set(__self__, "services_cidr", services_cidr) + GetClustersClusterOptionKubernetesNetworkConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + pods_cidr=pods_cidr, + services_cidr=services_cidr, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + pods_cidr: str, + services_cidr: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("pods_cidr", pods_cidr) + _setter("services_cidr", services_cidr) @property @pulumi.getter(name="podsCidr") @@ -4919,8 +6002,19 @@ def __init__(__self__, *, :param Mapping[str, Any] defined_tags: Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` :param Mapping[str, Any] freeform_tags: 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` """ - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "freeform_tags", freeform_tags) + GetClustersClusterOptionPersistentVolumeConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + defined_tags=defined_tags, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + defined_tags: Mapping[str, Any], + freeform_tags: Mapping[str, Any], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("defined_tags", defined_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="definedTags") @@ -4948,8 +6042,19 @@ def __init__(__self__, *, :param Mapping[str, Any] defined_tags: Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` :param Mapping[str, Any] freeform_tags: 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` """ - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "freeform_tags", freeform_tags) + GetClustersClusterOptionServiceLbConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + defined_tags=defined_tags, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + defined_tags: Mapping[str, Any], + freeform_tags: Mapping[str, Any], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("defined_tags", defined_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="definedTags") @@ -4977,10 +6082,23 @@ def __init__(__self__, *, """ :param str name: The name to filter on. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetClustersFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5010,8 +6128,19 @@ def __init__(__self__, *, :param str key: The key of the pair. :param str value: The value of the pair. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetNodePoolInitialNodeLabelResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -5063,20 +6192,55 @@ def __init__(__self__, *, :param str state: The state of the nodepool. :param str subnet_id: The OCID of the subnet in which this node is placed. """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "errors", errors) - pulumi.set(__self__, "fault_domain", fault_domain) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "kubernetes_version", kubernetes_version) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "node_pool_id", node_pool_id) - pulumi.set(__self__, "private_ip", private_ip) - pulumi.set(__self__, "public_ip", public_ip) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "subnet_id", subnet_id) + GetNodePoolNodeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + defined_tags=defined_tags, + errors=errors, + fault_domain=fault_domain, + freeform_tags=freeform_tags, + id=id, + kubernetes_version=kubernetes_version, + lifecycle_details=lifecycle_details, + name=name, + node_pool_id=node_pool_id, + private_ip=private_ip, + public_ip=public_ip, + state=state, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + defined_tags: Mapping[str, Any], + errors: Sequence['outputs.GetNodePoolNodeErrorResult'], + fault_domain: str, + freeform_tags: Mapping[str, Any], + id: str, + kubernetes_version: str, + lifecycle_details: str, + name: str, + node_pool_id: str, + private_ip: str, + public_ip: str, + state: str, + subnet_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("defined_tags", defined_tags) + _setter("errors", errors) + _setter("fault_domain", fault_domain) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("kubernetes_version", kubernetes_version) + _setter("lifecycle_details", lifecycle_details) + _setter("name", name) + _setter("node_pool_id", node_pool_id) + _setter("private_ip", private_ip) + _setter("public_ip", public_ip) + _setter("state", state) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="availabilityDomain") @@ -5212,14 +6376,37 @@ def __init__(__self__, *, :param Sequence['GetNodePoolNodeConfigDetailPlacementConfigArgs'] placement_configs: The placement configurations for the node pool. Provide one placement configuration for each availability domain in which you intend to launch a node. :param int size: The number of nodes in the node pool. """ - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) - pulumi.set(__self__, "kms_key_id", kms_key_id) - pulumi.set(__self__, "node_pool_pod_network_option_details", node_pool_pod_network_option_details) - pulumi.set(__self__, "nsg_ids", nsg_ids) - pulumi.set(__self__, "placement_configs", placement_configs) - pulumi.set(__self__, "size", size) + GetNodePoolNodeConfigDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + defined_tags=defined_tags, + freeform_tags=freeform_tags, + is_pv_encryption_in_transit_enabled=is_pv_encryption_in_transit_enabled, + kms_key_id=kms_key_id, + node_pool_pod_network_option_details=node_pool_pod_network_option_details, + nsg_ids=nsg_ids, + placement_configs=placement_configs, + size=size, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + defined_tags: Mapping[str, Any], + freeform_tags: Mapping[str, Any], + is_pv_encryption_in_transit_enabled: bool, + kms_key_id: str, + node_pool_pod_network_option_details: Sequence['outputs.GetNodePoolNodeConfigDetailNodePoolPodNetworkOptionDetailResult'], + nsg_ids: Sequence[str], + placement_configs: Sequence['outputs.GetNodePoolNodeConfigDetailPlacementConfigResult'], + size: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("defined_tags", defined_tags) + _setter("freeform_tags", freeform_tags) + _setter("is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) + _setter("kms_key_id", kms_key_id) + _setter("node_pool_pod_network_option_details", node_pool_pod_network_option_details) + _setter("nsg_ids", nsg_ids) + _setter("placement_configs", placement_configs) + _setter("size", size) @property @pulumi.getter(name="definedTags") @@ -5299,10 +6486,25 @@ def __init__(__self__, *, :param Sequence[str] pod_nsg_ids: The OCIDs of the Network Security Group(s) to associate pods for this node pool with. For more information about NSGs, see [NetworkSecurityGroup](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/20160918/NetworkSecurityGroup/). :param Sequence[str] pod_subnet_ids: The OCIDs of the subnets in which to place pods for this node pool. This can be one of the node pool subnet IDs """ - pulumi.set(__self__, "cni_type", cni_type) - pulumi.set(__self__, "max_pods_per_node", max_pods_per_node) - pulumi.set(__self__, "pod_nsg_ids", pod_nsg_ids) - pulumi.set(__self__, "pod_subnet_ids", pod_subnet_ids) + GetNodePoolNodeConfigDetailNodePoolPodNetworkOptionDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cni_type=cni_type, + max_pods_per_node=max_pods_per_node, + pod_nsg_ids=pod_nsg_ids, + pod_subnet_ids=pod_subnet_ids, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cni_type: str, + max_pods_per_node: int, + pod_nsg_ids: Sequence[str], + pod_subnet_ids: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cni_type", cni_type) + _setter("max_pods_per_node", max_pods_per_node) + _setter("pod_nsg_ids", pod_nsg_ids) + _setter("pod_subnet_ids", pod_subnet_ids) @property @pulumi.getter(name="cniType") @@ -5352,11 +6554,28 @@ def __init__(__self__, *, :param Sequence['GetNodePoolNodeConfigDetailPlacementConfigPreemptibleNodeConfigArgs'] preemptible_node_configs: Configuration options for preemptible nodes. :param str subnet_id: The OCID of the subnet in which this node is placed. """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "capacity_reservation_id", capacity_reservation_id) - pulumi.set(__self__, "fault_domains", fault_domains) - pulumi.set(__self__, "preemptible_node_configs", preemptible_node_configs) - pulumi.set(__self__, "subnet_id", subnet_id) + GetNodePoolNodeConfigDetailPlacementConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + capacity_reservation_id=capacity_reservation_id, + fault_domains=fault_domains, + preemptible_node_configs=preemptible_node_configs, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + capacity_reservation_id: str, + fault_domains: Sequence[str], + preemptible_node_configs: Sequence['outputs.GetNodePoolNodeConfigDetailPlacementConfigPreemptibleNodeConfigResult'], + subnet_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("capacity_reservation_id", capacity_reservation_id) + _setter("fault_domains", fault_domains) + _setter("preemptible_node_configs", preemptible_node_configs) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="availabilityDomain") @@ -5406,7 +6625,16 @@ def __init__(__self__, *, """ :param Sequence['GetNodePoolNodeConfigDetailPlacementConfigPreemptibleNodeConfigPreemptionActionArgs'] preemption_actions: The action to run when the preemptible node is interrupted for eviction. """ - pulumi.set(__self__, "preemption_actions", preemption_actions) + GetNodePoolNodeConfigDetailPlacementConfigPreemptibleNodeConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + preemption_actions=preemption_actions, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + preemption_actions: Sequence['outputs.GetNodePoolNodeConfigDetailPlacementConfigPreemptibleNodeConfigPreemptionActionResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("preemption_actions", preemption_actions) @property @pulumi.getter(name="preemptionActions") @@ -5426,8 +6654,19 @@ def __init__(__self__, *, :param bool is_preserve_boot_volume: Whether to preserve the boot volume that was used to launch the preemptible instance when the instance is terminated. Defaults to false if not specified. :param str type: The type of action to run when the instance is interrupted for eviction. """ - pulumi.set(__self__, "is_preserve_boot_volume", is_preserve_boot_volume) - pulumi.set(__self__, "type", type) + GetNodePoolNodeConfigDetailPlacementConfigPreemptibleNodeConfigPreemptionActionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_preserve_boot_volume=is_preserve_boot_volume, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_preserve_boot_volume: bool, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_preserve_boot_volume", is_preserve_boot_volume) + _setter("type", type) @property @pulumi.getter(name="isPreserveBootVolume") @@ -5457,9 +6696,22 @@ def __init__(__self__, *, :param str message: A human-readable error string of the upstream error. :param str status: The status of the HTTP response encountered in the upstream error. """ - pulumi.set(__self__, "code", code) - pulumi.set(__self__, "message", message) - pulumi.set(__self__, "status", status) + GetNodePoolNodeErrorResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + code=code, + message=message, + status=status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + code: str, + message: str, + status: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("code", code) + _setter("message", message) + _setter("status", status) @property @pulumi.getter @@ -5495,8 +6747,19 @@ def __init__(__self__, *, :param str eviction_grace_duration: Duration after which OKE will give up eviction of the pods on the node. PT0M will indicate you want to delete the node without cordon and drain. Default PT60M, Min PT0M, Max: PT60M. Format ISO 8601 e.g PT30M :param bool is_force_delete_after_grace_duration: If the underlying compute instance should be deleted if you cannot evict all the pods in grace period """ - pulumi.set(__self__, "eviction_grace_duration", eviction_grace_duration) - pulumi.set(__self__, "is_force_delete_after_grace_duration", is_force_delete_after_grace_duration) + GetNodePoolNodeEvictionNodePoolSettingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + eviction_grace_duration=eviction_grace_duration, + is_force_delete_after_grace_duration=is_force_delete_after_grace_duration, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + eviction_grace_duration: str, + is_force_delete_after_grace_duration: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("eviction_grace_duration", eviction_grace_duration) + _setter("is_force_delete_after_grace_duration", is_force_delete_after_grace_duration) @property @pulumi.getter(name="evictionGraceDuration") @@ -5526,9 +6789,22 @@ def __init__(__self__, *, :param str maximum_surge: Maximum additional new compute instances that would be temporarily created and added to nodepool during the cycling nodepool process. OKE supports both integer and percentage input. Defaults to 1, Ranges from 0 to Nodepool size or 0% to 100% :param str maximum_unavailable: Maximum active nodes that would be terminated from nodepool during the cycling nodepool process. OKE supports both integer and percentage input. Defaults to 0, Ranges from 0 to Nodepool size or 0% to 100% """ - pulumi.set(__self__, "is_node_cycling_enabled", is_node_cycling_enabled) - pulumi.set(__self__, "maximum_surge", maximum_surge) - pulumi.set(__self__, "maximum_unavailable", maximum_unavailable) + GetNodePoolNodePoolCyclingDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_node_cycling_enabled=is_node_cycling_enabled, + maximum_surge=maximum_surge, + maximum_unavailable=maximum_unavailable, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_node_cycling_enabled: bool, + maximum_surge: str, + maximum_unavailable: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_node_cycling_enabled", is_node_cycling_enabled) + _setter("maximum_surge", maximum_surge) + _setter("maximum_unavailable", maximum_unavailable) @property @pulumi.getter(name="isNodeCyclingEnabled") @@ -5564,8 +6840,19 @@ def __init__(__self__, *, :param float memory_in_gbs: The total amount of memory available to each node, in gigabytes. :param float ocpus: The total number of OCPUs available to each node in the node pool. See [here](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/Shape/) for details. """ - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "ocpus", ocpus) + GetNodePoolNodeShapeConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: float, + ocpus: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("memory_in_gbs", memory_in_gbs) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -5595,9 +6882,22 @@ def __init__(__self__, *, :param str source_name: The user-friendly name of the entity corresponding to the OCID. :param str source_type: The source type for the node. Use `IMAGE` when specifying an OCID of an image. """ - pulumi.set(__self__, "image_id", image_id) - pulumi.set(__self__, "source_name", source_name) - pulumi.set(__self__, "source_type", source_type) + GetNodePoolNodeSourceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + image_id=image_id, + source_name=source_name, + source_type=source_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + image_id: str, + source_name: str, + source_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("image_id", image_id) + _setter("source_name", source_name) + _setter("source_type", source_type) @property @pulumi.getter(name="imageId") @@ -5635,9 +6935,22 @@ def __init__(__self__, *, :param str image_id: The OCID of the image used to boot the node. :param str source_type: The source type for the node. Use `IMAGE` when specifying an OCID of an image. """ - pulumi.set(__self__, "boot_volume_size_in_gbs", boot_volume_size_in_gbs) - pulumi.set(__self__, "image_id", image_id) - pulumi.set(__self__, "source_type", source_type) + GetNodePoolNodeSourceDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + boot_volume_size_in_gbs=boot_volume_size_in_gbs, + image_id=image_id, + source_type=source_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + boot_volume_size_in_gbs: str, + image_id: str, + source_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("boot_volume_size_in_gbs", boot_volume_size_in_gbs) + _setter("image_id", image_id) + _setter("source_type", source_type) @property @pulumi.getter(name="bootVolumeSizeInGbs") @@ -5675,9 +6988,22 @@ def __init__(__self__, *, :param str source_name: The user-friendly name of the entity corresponding to the OCID. :param str source_type: The source type of this option. `IMAGE` means the OCID is of an image. """ - pulumi.set(__self__, "image_id", image_id) - pulumi.set(__self__, "source_name", source_name) - pulumi.set(__self__, "source_type", source_type) + GetNodePoolOptionSourceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + image_id=image_id, + source_name=source_name, + source_type=source_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + image_id: str, + source_name: str, + source_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("image_id", image_id) + _setter("source_name", source_name) + _setter("source_type", source_type) @property @pulumi.getter(name="imageId") @@ -5713,10 +7039,23 @@ def __init__(__self__, *, """ :param str name: The name to filter on. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetNodePoolsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5790,31 +7129,88 @@ def __init__(__self__, *, :param str state: A list of nodepool lifecycle states on which to filter on, matching any of the list items (OR logic). eg. [ACTIVE, DELETING] :param Sequence[str] subnet_ids: The OCIDs of the subnets in which to place nodes for this node pool. """ - pulumi.set(__self__, "cluster_id", cluster_id) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "initial_node_labels", initial_node_labels) - pulumi.set(__self__, "kubernetes_version", kubernetes_version) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "node_config_details", node_config_details) - pulumi.set(__self__, "node_eviction_node_pool_settings", node_eviction_node_pool_settings) - pulumi.set(__self__, "node_image_id", node_image_id) - pulumi.set(__self__, "node_image_name", node_image_name) - pulumi.set(__self__, "node_metadata", node_metadata) - pulumi.set(__self__, "node_pool_cycling_details", node_pool_cycling_details) - pulumi.set(__self__, "node_pool_id", node_pool_id) - pulumi.set(__self__, "node_shape", node_shape) - pulumi.set(__self__, "node_shape_configs", node_shape_configs) - pulumi.set(__self__, "node_source_details", node_source_details) - pulumi.set(__self__, "node_sources", node_sources) - pulumi.set(__self__, "nodes", nodes) - pulumi.set(__self__, "quantity_per_subnet", quantity_per_subnet) - pulumi.set(__self__, "ssh_public_key", ssh_public_key) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "subnet_ids", subnet_ids) + GetNodePoolsNodePoolResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cluster_id=cluster_id, + compartment_id=compartment_id, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + id=id, + initial_node_labels=initial_node_labels, + kubernetes_version=kubernetes_version, + lifecycle_details=lifecycle_details, + name=name, + node_config_details=node_config_details, + node_eviction_node_pool_settings=node_eviction_node_pool_settings, + node_image_id=node_image_id, + node_image_name=node_image_name, + node_metadata=node_metadata, + node_pool_cycling_details=node_pool_cycling_details, + node_pool_id=node_pool_id, + node_shape=node_shape, + node_shape_configs=node_shape_configs, + node_source_details=node_source_details, + node_sources=node_sources, + nodes=nodes, + quantity_per_subnet=quantity_per_subnet, + ssh_public_key=ssh_public_key, + state=state, + subnet_ids=subnet_ids, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cluster_id: str, + compartment_id: str, + defined_tags: Mapping[str, Any], + freeform_tags: Mapping[str, Any], + id: str, + initial_node_labels: Sequence['outputs.GetNodePoolsNodePoolInitialNodeLabelResult'], + kubernetes_version: str, + lifecycle_details: str, + name: str, + node_config_details: Sequence['outputs.GetNodePoolsNodePoolNodeConfigDetailResult'], + node_eviction_node_pool_settings: Sequence['outputs.GetNodePoolsNodePoolNodeEvictionNodePoolSettingResult'], + node_image_id: str, + node_image_name: str, + node_metadata: Mapping[str, Any], + node_pool_cycling_details: Sequence['outputs.GetNodePoolsNodePoolNodePoolCyclingDetailResult'], + node_pool_id: str, + node_shape: str, + node_shape_configs: Sequence['outputs.GetNodePoolsNodePoolNodeShapeConfigResult'], + node_source_details: Sequence['outputs.GetNodePoolsNodePoolNodeSourceDetailResult'], + node_sources: Sequence['outputs.GetNodePoolsNodePoolNodeSourceResult'], + nodes: Sequence['outputs.GetNodePoolsNodePoolNodeResult'], + quantity_per_subnet: int, + ssh_public_key: str, + state: str, + subnet_ids: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cluster_id", cluster_id) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("initial_node_labels", initial_node_labels) + _setter("kubernetes_version", kubernetes_version) + _setter("lifecycle_details", lifecycle_details) + _setter("name", name) + _setter("node_config_details", node_config_details) + _setter("node_eviction_node_pool_settings", node_eviction_node_pool_settings) + _setter("node_image_id", node_image_id) + _setter("node_image_name", node_image_name) + _setter("node_metadata", node_metadata) + _setter("node_pool_cycling_details", node_pool_cycling_details) + _setter("node_pool_id", node_pool_id) + _setter("node_shape", node_shape) + _setter("node_shape_configs", node_shape_configs) + _setter("node_source_details", node_source_details) + _setter("node_sources", node_sources) + _setter("nodes", nodes) + _setter("quantity_per_subnet", quantity_per_subnet) + _setter("ssh_public_key", ssh_public_key) + _setter("state", state) + _setter("subnet_ids", subnet_ids) @property @pulumi.getter(name="clusterId") @@ -6026,8 +7422,19 @@ def __init__(__self__, *, :param str key: The key of the pair. :param str value: The value of the pair. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetNodePoolsNodePoolInitialNodeLabelResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -6074,20 +7481,55 @@ def __init__(__self__, *, :param str state: A list of nodepool lifecycle states on which to filter on, matching any of the list items (OR logic). eg. [ACTIVE, DELETING] :param str subnet_id: The OCID of the subnet in which to place nodes. """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "errors", errors) - pulumi.set(__self__, "fault_domain", fault_domain) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "kubernetes_version", kubernetes_version) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "node_pool_id", node_pool_id) - pulumi.set(__self__, "private_ip", private_ip) - pulumi.set(__self__, "public_ip", public_ip) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "subnet_id", subnet_id) + GetNodePoolsNodePoolNodeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + defined_tags=defined_tags, + errors=errors, + fault_domain=fault_domain, + freeform_tags=freeform_tags, + id=id, + kubernetes_version=kubernetes_version, + lifecycle_details=lifecycle_details, + name=name, + node_pool_id=node_pool_id, + private_ip=private_ip, + public_ip=public_ip, + state=state, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + defined_tags: Mapping[str, Any], + errors: Sequence['outputs.GetNodePoolsNodePoolNodeErrorResult'], + fault_domain: str, + freeform_tags: Mapping[str, Any], + id: str, + kubernetes_version: str, + lifecycle_details: str, + name: str, + node_pool_id: str, + private_ip: str, + public_ip: str, + state: str, + subnet_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("defined_tags", defined_tags) + _setter("errors", errors) + _setter("fault_domain", fault_domain) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("kubernetes_version", kubernetes_version) + _setter("lifecycle_details", lifecycle_details) + _setter("name", name) + _setter("node_pool_id", node_pool_id) + _setter("private_ip", private_ip) + _setter("public_ip", public_ip) + _setter("state", state) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="availabilityDomain") @@ -6208,14 +7650,37 @@ def __init__(__self__, *, :param Sequence['GetNodePoolsNodePoolNodeConfigDetailPlacementConfigArgs'] placement_configs: The placement configurations for the node pool. Provide one placement configuration for each availability domain in which you intend to launch a node. :param int size: The number of nodes in the node pool. """ - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) - pulumi.set(__self__, "kms_key_id", kms_key_id) - pulumi.set(__self__, "node_pool_pod_network_option_details", node_pool_pod_network_option_details) - pulumi.set(__self__, "nsg_ids", nsg_ids) - pulumi.set(__self__, "placement_configs", placement_configs) - pulumi.set(__self__, "size", size) + GetNodePoolsNodePoolNodeConfigDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + defined_tags=defined_tags, + freeform_tags=freeform_tags, + is_pv_encryption_in_transit_enabled=is_pv_encryption_in_transit_enabled, + kms_key_id=kms_key_id, + node_pool_pod_network_option_details=node_pool_pod_network_option_details, + nsg_ids=nsg_ids, + placement_configs=placement_configs, + size=size, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + defined_tags: Mapping[str, Any], + freeform_tags: Mapping[str, Any], + is_pv_encryption_in_transit_enabled: bool, + kms_key_id: str, + node_pool_pod_network_option_details: Sequence['outputs.GetNodePoolsNodePoolNodeConfigDetailNodePoolPodNetworkOptionDetailResult'], + nsg_ids: Sequence[str], + placement_configs: Sequence['outputs.GetNodePoolsNodePoolNodeConfigDetailPlacementConfigResult'], + size: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("defined_tags", defined_tags) + _setter("freeform_tags", freeform_tags) + _setter("is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) + _setter("kms_key_id", kms_key_id) + _setter("node_pool_pod_network_option_details", node_pool_pod_network_option_details) + _setter("nsg_ids", nsg_ids) + _setter("placement_configs", placement_configs) + _setter("size", size) @property @pulumi.getter(name="definedTags") @@ -6295,10 +7760,25 @@ def __init__(__self__, *, :param Sequence[str] pod_nsg_ids: The OCIDs of the Network Security Group(s) to associate pods for this node pool with. For more information about NSGs, see [NetworkSecurityGroup](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/20160918/NetworkSecurityGroup/). :param Sequence[str] pod_subnet_ids: The OCIDs of the subnets in which to place pods for this node pool. This can be one of the node pool subnet IDs """ - pulumi.set(__self__, "cni_type", cni_type) - pulumi.set(__self__, "max_pods_per_node", max_pods_per_node) - pulumi.set(__self__, "pod_nsg_ids", pod_nsg_ids) - pulumi.set(__self__, "pod_subnet_ids", pod_subnet_ids) + GetNodePoolsNodePoolNodeConfigDetailNodePoolPodNetworkOptionDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cni_type=cni_type, + max_pods_per_node=max_pods_per_node, + pod_nsg_ids=pod_nsg_ids, + pod_subnet_ids=pod_subnet_ids, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cni_type: str, + max_pods_per_node: int, + pod_nsg_ids: Sequence[str], + pod_subnet_ids: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cni_type", cni_type) + _setter("max_pods_per_node", max_pods_per_node) + _setter("pod_nsg_ids", pod_nsg_ids) + _setter("pod_subnet_ids", pod_subnet_ids) @property @pulumi.getter(name="cniType") @@ -6348,11 +7828,28 @@ def __init__(__self__, *, :param Sequence['GetNodePoolsNodePoolNodeConfigDetailPlacementConfigPreemptibleNodeConfigArgs'] preemptible_node_configs: Configuration options for preemptible nodes. :param str subnet_id: The OCID of the subnet in which to place nodes. """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "capacity_reservation_id", capacity_reservation_id) - pulumi.set(__self__, "fault_domains", fault_domains) - pulumi.set(__self__, "preemptible_node_configs", preemptible_node_configs) - pulumi.set(__self__, "subnet_id", subnet_id) + GetNodePoolsNodePoolNodeConfigDetailPlacementConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + capacity_reservation_id=capacity_reservation_id, + fault_domains=fault_domains, + preemptible_node_configs=preemptible_node_configs, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + capacity_reservation_id: str, + fault_domains: Sequence[str], + preemptible_node_configs: Sequence['outputs.GetNodePoolsNodePoolNodeConfigDetailPlacementConfigPreemptibleNodeConfigResult'], + subnet_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("capacity_reservation_id", capacity_reservation_id) + _setter("fault_domains", fault_domains) + _setter("preemptible_node_configs", preemptible_node_configs) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="availabilityDomain") @@ -6402,7 +7899,16 @@ def __init__(__self__, *, """ :param Sequence['GetNodePoolsNodePoolNodeConfigDetailPlacementConfigPreemptibleNodeConfigPreemptionActionArgs'] preemption_actions: The action to run when the preemptible node is interrupted for eviction. """ - pulumi.set(__self__, "preemption_actions", preemption_actions) + GetNodePoolsNodePoolNodeConfigDetailPlacementConfigPreemptibleNodeConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + preemption_actions=preemption_actions, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + preemption_actions: Sequence['outputs.GetNodePoolsNodePoolNodeConfigDetailPlacementConfigPreemptibleNodeConfigPreemptionActionResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("preemption_actions", preemption_actions) @property @pulumi.getter(name="preemptionActions") @@ -6422,8 +7928,19 @@ def __init__(__self__, *, :param bool is_preserve_boot_volume: Whether to preserve the boot volume that was used to launch the preemptible instance when the instance is terminated. Defaults to false if not specified. :param str type: The type of action to run when the instance is interrupted for eviction. """ - pulumi.set(__self__, "is_preserve_boot_volume", is_preserve_boot_volume) - pulumi.set(__self__, "type", type) + GetNodePoolsNodePoolNodeConfigDetailPlacementConfigPreemptibleNodeConfigPreemptionActionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_preserve_boot_volume=is_preserve_boot_volume, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_preserve_boot_volume: bool, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_preserve_boot_volume", is_preserve_boot_volume) + _setter("type", type) @property @pulumi.getter(name="isPreserveBootVolume") @@ -6448,9 +7965,22 @@ def __init__(__self__, *, code: str, message: str, status: str): - pulumi.set(__self__, "code", code) - pulumi.set(__self__, "message", message) - pulumi.set(__self__, "status", status) + GetNodePoolsNodePoolNodeErrorResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + code=code, + message=message, + status=status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + code: str, + message: str, + status: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("code", code) + _setter("message", message) + _setter("status", status) @property @pulumi.getter @@ -6477,8 +8007,19 @@ def __init__(__self__, *, :param str eviction_grace_duration: Duration after which OKE will give up eviction of the pods on the node. PT0M will indicate you want to delete the node without cordon and drain. Default PT60M, Min PT0M, Max: PT60M. Format ISO 8601 e.g PT30M :param bool is_force_delete_after_grace_duration: If the underlying compute instance should be deleted if you cannot evict all the pods in grace period """ - pulumi.set(__self__, "eviction_grace_duration", eviction_grace_duration) - pulumi.set(__self__, "is_force_delete_after_grace_duration", is_force_delete_after_grace_duration) + GetNodePoolsNodePoolNodeEvictionNodePoolSettingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + eviction_grace_duration=eviction_grace_duration, + is_force_delete_after_grace_duration=is_force_delete_after_grace_duration, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + eviction_grace_duration: str, + is_force_delete_after_grace_duration: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("eviction_grace_duration", eviction_grace_duration) + _setter("is_force_delete_after_grace_duration", is_force_delete_after_grace_duration) @property @pulumi.getter(name="evictionGraceDuration") @@ -6508,9 +8049,22 @@ def __init__(__self__, *, :param str maximum_surge: Maximum additional new compute instances that would be temporarily created and added to nodepool during the cycling nodepool process. OKE supports both integer and percentage input. Defaults to 1, Ranges from 0 to Nodepool size or 0% to 100% :param str maximum_unavailable: Maximum active nodes that would be terminated from nodepool during the cycling nodepool process. OKE supports both integer and percentage input. Defaults to 0, Ranges from 0 to Nodepool size or 0% to 100% """ - pulumi.set(__self__, "is_node_cycling_enabled", is_node_cycling_enabled) - pulumi.set(__self__, "maximum_surge", maximum_surge) - pulumi.set(__self__, "maximum_unavailable", maximum_unavailable) + GetNodePoolsNodePoolNodePoolCyclingDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_node_cycling_enabled=is_node_cycling_enabled, + maximum_surge=maximum_surge, + maximum_unavailable=maximum_unavailable, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_node_cycling_enabled: bool, + maximum_surge: str, + maximum_unavailable: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_node_cycling_enabled", is_node_cycling_enabled) + _setter("maximum_surge", maximum_surge) + _setter("maximum_unavailable", maximum_unavailable) @property @pulumi.getter(name="isNodeCyclingEnabled") @@ -6546,8 +8100,19 @@ def __init__(__self__, *, :param float memory_in_gbs: The total amount of memory available to each node, in gigabytes. :param float ocpus: The total number of OCPUs available to each node in the node pool. See [here](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/Shape/) for details. """ - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "ocpus", ocpus) + GetNodePoolsNodePoolNodeShapeConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: float, + ocpus: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("memory_in_gbs", memory_in_gbs) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -6577,9 +8142,22 @@ def __init__(__self__, *, :param str source_name: The user-friendly name of the entity corresponding to the OCID. :param str source_type: The source type for the node. Use `IMAGE` when specifying an OCID of an image. """ - pulumi.set(__self__, "image_id", image_id) - pulumi.set(__self__, "source_name", source_name) - pulumi.set(__self__, "source_type", source_type) + GetNodePoolsNodePoolNodeSourceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + image_id=image_id, + source_name=source_name, + source_type=source_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + image_id: str, + source_name: str, + source_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("image_id", image_id) + _setter("source_name", source_name) + _setter("source_type", source_type) @property @pulumi.getter(name="imageId") @@ -6617,9 +8195,22 @@ def __init__(__self__, *, :param str image_id: The OCID of the image used to boot the node. :param str source_type: The source type for the node. Use `IMAGE` when specifying an OCID of an image. """ - pulumi.set(__self__, "boot_volume_size_in_gbs", boot_volume_size_in_gbs) - pulumi.set(__self__, "image_id", image_id) - pulumi.set(__self__, "source_type", source_type) + GetNodePoolsNodePoolNodeSourceDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + boot_volume_size_in_gbs=boot_volume_size_in_gbs, + image_id=image_id, + source_type=source_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + boot_volume_size_in_gbs: str, + image_id: str, + source_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("boot_volume_size_in_gbs", boot_volume_size_in_gbs) + _setter("image_id", image_id) + _setter("source_type", source_type) @property @pulumi.getter(name="bootVolumeSizeInGbs") @@ -6655,10 +8246,23 @@ def __init__(__self__, *, """ :param str name: The name to filter on. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetPodShapesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -6694,11 +8298,28 @@ def __init__(__self__, *, :param Sequence['GetPodShapesPodShapeOcpuOptionArgs'] ocpu_options: Options for OCPU shape. :param str processor_description: A short description of the VM's processor (CPU). """ - pulumi.set(__self__, "memory_options", memory_options) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "network_bandwidth_options", network_bandwidth_options) - pulumi.set(__self__, "ocpu_options", ocpu_options) - pulumi.set(__self__, "processor_description", processor_description) + GetPodShapesPodShapeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_options=memory_options, + name=name, + network_bandwidth_options=network_bandwidth_options, + ocpu_options=ocpu_options, + processor_description=processor_description, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_options: Sequence['outputs.GetPodShapesPodShapeMemoryOptionResult'], + name: str, + network_bandwidth_options: Sequence['outputs.GetPodShapesPodShapeNetworkBandwidthOptionResult'], + ocpu_options: Sequence['outputs.GetPodShapesPodShapeOcpuOptionResult'], + processor_description: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("memory_options", memory_options) + _setter("name", name) + _setter("network_bandwidth_options", network_bandwidth_options) + _setter("ocpu_options", ocpu_options) + _setter("processor_description", processor_description) @property @pulumi.getter(name="memoryOptions") @@ -6756,11 +8377,28 @@ def __init__(__self__, *, :param float min_in_gbs: The minimum amount of memory, in gigabytes. :param float min_per_ocpu_in_gbs: The minimum amount of memory per OCPU available for this shape, in gigabytes. """ - pulumi.set(__self__, "default_per_ocpu_in_gbs", default_per_ocpu_in_gbs) - pulumi.set(__self__, "max_in_gbs", max_in_gbs) - pulumi.set(__self__, "max_per_ocpu_in_gbs", max_per_ocpu_in_gbs) - pulumi.set(__self__, "min_in_gbs", min_in_gbs) - pulumi.set(__self__, "min_per_ocpu_in_gbs", min_per_ocpu_in_gbs) + GetPodShapesPodShapeMemoryOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + default_per_ocpu_in_gbs=default_per_ocpu_in_gbs, + max_in_gbs=max_in_gbs, + max_per_ocpu_in_gbs=max_per_ocpu_in_gbs, + min_in_gbs=min_in_gbs, + min_per_ocpu_in_gbs=min_per_ocpu_in_gbs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + default_per_ocpu_in_gbs: float, + max_in_gbs: float, + max_per_ocpu_in_gbs: float, + min_in_gbs: float, + min_per_ocpu_in_gbs: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("default_per_ocpu_in_gbs", default_per_ocpu_in_gbs) + _setter("max_in_gbs", max_in_gbs) + _setter("max_per_ocpu_in_gbs", max_per_ocpu_in_gbs) + _setter("min_in_gbs", min_in_gbs) + _setter("min_per_ocpu_in_gbs", min_per_ocpu_in_gbs) @property @pulumi.getter(name="defaultPerOcpuInGbs") @@ -6814,9 +8452,22 @@ def __init__(__self__, *, :param float max_in_gbps: The maximum amount of networking bandwidth, in gigabits per second. :param float min_in_gbps: The minimum amount of networking bandwidth, in gigabits per second. """ - pulumi.set(__self__, "default_per_ocpu_in_gbps", default_per_ocpu_in_gbps) - pulumi.set(__self__, "max_in_gbps", max_in_gbps) - pulumi.set(__self__, "min_in_gbps", min_in_gbps) + GetPodShapesPodShapeNetworkBandwidthOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + default_per_ocpu_in_gbps=default_per_ocpu_in_gbps, + max_in_gbps=max_in_gbps, + min_in_gbps=min_in_gbps, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + default_per_ocpu_in_gbps: float, + max_in_gbps: float, + min_in_gbps: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("default_per_ocpu_in_gbps", default_per_ocpu_in_gbps) + _setter("max_in_gbps", max_in_gbps) + _setter("min_in_gbps", min_in_gbps) @property @pulumi.getter(name="defaultPerOcpuInGbps") @@ -6852,8 +8503,19 @@ def __init__(__self__, *, :param float max: The maximum number of OCPUs. :param float min: The minimum number of OCPUs. """ - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "min", min) + GetPodShapesPodShapeOcpuOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: float, + min: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max", max) + _setter("min", min) @property @pulumi.getter @@ -6881,8 +8543,19 @@ def __init__(__self__, *, :param str key: The key of the pair. :param str value: The value of the pair. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetVirtualNodePoolInitialVirtualNodeLabelResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -6912,9 +8585,22 @@ def __init__(__self__, *, :param Sequence[str] fault_domains: The fault domain of this virtual node. :param str subnet_id: The regional subnet where pods' VNIC will be placed. """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "fault_domains", fault_domains) - pulumi.set(__self__, "subnet_id", subnet_id) + GetVirtualNodePoolPlacementConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + fault_domains=fault_domains, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + fault_domains: Sequence[str], + subnet_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("fault_domains", fault_domains) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="availabilityDomain") @@ -6952,9 +8638,22 @@ def __init__(__self__, *, :param str shape: Shape of the pods. :param str subnet_id: The regional subnet where pods' VNIC will be placed. """ - pulumi.set(__self__, "nsg_ids", nsg_ids) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "subnet_id", subnet_id) + GetVirtualNodePoolPodConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + nsg_ids=nsg_ids, + shape=shape, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + nsg_ids: Sequence[str], + shape: str, + subnet_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("nsg_ids", nsg_ids) + _setter("shape", shape) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="nsgIds") @@ -6992,9 +8691,22 @@ def __init__(__self__, *, :param str key: The key of the pair. :param str value: The value of the pair. """ - pulumi.set(__self__, "effect", effect) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetVirtualNodePoolTaintResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + effect=effect, + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + effect: str, + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("effect", effect) + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -7030,8 +8742,19 @@ def __init__(__self__, *, :param Mapping[str, Any] defined_tags: Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` :param Mapping[str, Any] freeform_tags: 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` """ - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "freeform_tags", freeform_tags) + GetVirtualNodePoolVirtualNodeTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + defined_tags=defined_tags, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + defined_tags: Mapping[str, Any], + freeform_tags: Mapping[str, Any], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("defined_tags", defined_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="definedTags") @@ -7059,10 +8782,23 @@ def __init__(__self__, *, """ :param str name: The name to filter on. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVirtualNodePoolsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -7127,26 +8863,73 @@ def __init__(__self__, *, :param str time_updated: The time the virtual node pool was updated. :param Sequence['GetVirtualNodePoolsVirtualNodePoolVirtualNodeTagArgs'] virtual_node_tags: The tags associated to the virtual nodes in this virtual node pool. """ - pulumi.set(__self__, "cluster_id", cluster_id) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "initial_virtual_node_labels", initial_virtual_node_labels) - pulumi.set(__self__, "kubernetes_version", kubernetes_version) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "nsg_ids", nsg_ids) - pulumi.set(__self__, "placement_configurations", placement_configurations) - pulumi.set(__self__, "pod_configurations", pod_configurations) - pulumi.set(__self__, "size", size) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "taints", taints) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "virtual_node_pool_id", virtual_node_pool_id) - pulumi.set(__self__, "virtual_node_tags", virtual_node_tags) + GetVirtualNodePoolsVirtualNodePoolResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cluster_id=cluster_id, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + initial_virtual_node_labels=initial_virtual_node_labels, + kubernetes_version=kubernetes_version, + lifecycle_details=lifecycle_details, + nsg_ids=nsg_ids, + placement_configurations=placement_configurations, + pod_configurations=pod_configurations, + size=size, + state=state, + system_tags=system_tags, + taints=taints, + time_created=time_created, + time_updated=time_updated, + virtual_node_pool_id=virtual_node_pool_id, + virtual_node_tags=virtual_node_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cluster_id: str, + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + initial_virtual_node_labels: Sequence['outputs.GetVirtualNodePoolsVirtualNodePoolInitialVirtualNodeLabelResult'], + kubernetes_version: str, + lifecycle_details: str, + nsg_ids: Sequence[str], + placement_configurations: Sequence['outputs.GetVirtualNodePoolsVirtualNodePoolPlacementConfigurationResult'], + pod_configurations: Sequence['outputs.GetVirtualNodePoolsVirtualNodePoolPodConfigurationResult'], + size: int, + state: str, + system_tags: Mapping[str, Any], + taints: Sequence['outputs.GetVirtualNodePoolsVirtualNodePoolTaintResult'], + time_created: str, + time_updated: str, + virtual_node_pool_id: str, + virtual_node_tags: Sequence['outputs.GetVirtualNodePoolsVirtualNodePoolVirtualNodeTagResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cluster_id", cluster_id) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("initial_virtual_node_labels", initial_virtual_node_labels) + _setter("kubernetes_version", kubernetes_version) + _setter("lifecycle_details", lifecycle_details) + _setter("nsg_ids", nsg_ids) + _setter("placement_configurations", placement_configurations) + _setter("pod_configurations", pod_configurations) + _setter("size", size) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("taints", taints) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("virtual_node_pool_id", virtual_node_pool_id) + _setter("virtual_node_tags", virtual_node_tags) @property @pulumi.getter(name="clusterId") @@ -7315,8 +9098,19 @@ def __init__(__self__, *, :param str key: The key of the pair. :param str value: The value of the pair. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetVirtualNodePoolsVirtualNodePoolInitialVirtualNodeLabelResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -7346,9 +9140,22 @@ def __init__(__self__, *, :param Sequence[str] fault_domains: The fault domain of this virtual node. :param str subnet_id: The regional subnet where pods' VNIC will be placed. """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "fault_domains", fault_domains) - pulumi.set(__self__, "subnet_id", subnet_id) + GetVirtualNodePoolsVirtualNodePoolPlacementConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + fault_domains=fault_domains, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + fault_domains: Sequence[str], + subnet_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("fault_domains", fault_domains) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="availabilityDomain") @@ -7386,9 +9193,22 @@ def __init__(__self__, *, :param str shape: Shape of the pods. :param str subnet_id: The regional subnet where pods' VNIC will be placed. """ - pulumi.set(__self__, "nsg_ids", nsg_ids) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "subnet_id", subnet_id) + GetVirtualNodePoolsVirtualNodePoolPodConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + nsg_ids=nsg_ids, + shape=shape, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + nsg_ids: Sequence[str], + shape: str, + subnet_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("nsg_ids", nsg_ids) + _setter("shape", shape) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="nsgIds") @@ -7426,9 +9246,22 @@ def __init__(__self__, *, :param str key: The key of the pair. :param str value: The value of the pair. """ - pulumi.set(__self__, "effect", effect) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetVirtualNodePoolsVirtualNodePoolTaintResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + effect=effect, + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + effect: str, + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("effect", effect) + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -7464,8 +9297,19 @@ def __init__(__self__, *, :param Mapping[str, Any] defined_tags: Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` :param Mapping[str, Any] freeform_tags: 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` """ - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "freeform_tags", freeform_tags) + GetVirtualNodePoolsVirtualNodePoolVirtualNodeTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + defined_tags=defined_tags, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + defined_tags: Mapping[str, Any], + freeform_tags: Mapping[str, Any], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("defined_tags", defined_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="definedTags") @@ -7490,10 +9334,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetWorkRequestErrorsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -7522,9 +9379,22 @@ def __init__(__self__, *, :param str message: A human-readable error string. :param str timestamp: The date and time the error occurred. """ - pulumi.set(__self__, "code", code) - pulumi.set(__self__, "message", message) - pulumi.set(__self__, "timestamp", timestamp) + GetWorkRequestErrorsWorkRequestErrorResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + code=code, + message=message, + timestamp=timestamp, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + code: str, + message: str, + timestamp: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("code", code) + _setter("message", message) + _setter("timestamp", timestamp) @property @pulumi.getter @@ -7557,10 +9427,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetWorkRequestLogEntriesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -7587,8 +9470,19 @@ def __init__(__self__, *, :param str message: The description of an action that occurred. :param str timestamp: The date and time the log entry occurred. """ - pulumi.set(__self__, "message", message) - pulumi.set(__self__, "timestamp", timestamp) + GetWorkRequestLogEntriesWorkRequestLogEntryResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + message=message, + timestamp=timestamp, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + message: str, + timestamp: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("message", message) + _setter("timestamp", timestamp) @property @pulumi.getter @@ -7613,10 +9507,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetWorkRequestsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -7655,14 +9562,37 @@ def __init__(__self__, *, :param str time_finished: The time the work request was finished. :param str time_started: The time the work request was started. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "operation_type", operation_type) - pulumi.set(__self__, "resources", resources) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "time_accepted", time_accepted) - pulumi.set(__self__, "time_finished", time_finished) - pulumi.set(__self__, "time_started", time_started) + GetWorkRequestsWorkRequestResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + id=id, + operation_type=operation_type, + resources=resources, + status=status, + time_accepted=time_accepted, + time_finished=time_finished, + time_started=time_started, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + id: str, + operation_type: str, + resources: Sequence['outputs.GetWorkRequestsWorkRequestResourceResult'], + status: str, + time_accepted: str, + time_finished: str, + time_started: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("id", id) + _setter("operation_type", operation_type) + _setter("resources", resources) + _setter("status", status) + _setter("time_accepted", time_accepted) + _setter("time_finished", time_finished) + _setter("time_started", time_started) @property @pulumi.getter(name="compartmentId") @@ -7742,10 +9672,25 @@ def __init__(__self__, *, :param str entity_uri: The URI path on which the user can issue a GET request to access the resource metadata. :param str identifier: The OCID of the resource the work request affects. """ - pulumi.set(__self__, "action_type", action_type) - pulumi.set(__self__, "entity_type", entity_type) - pulumi.set(__self__, "entity_uri", entity_uri) - pulumi.set(__self__, "identifier", identifier) + GetWorkRequestsWorkRequestResourceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action_type=action_type, + entity_type=entity_type, + entity_uri=entity_uri, + identifier=identifier, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action_type: str, + entity_type: str, + entity_uri: str, + identifier: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action_type", action_type) + _setter("entity_type", entity_type) + _setter("entity_uri", entity_uri) + _setter("identifier", identifier) @property @pulumi.getter(name="actionType") diff --git a/sdk/python/pulumi_oci/containerengine/virtual_node_pool.py b/sdk/python/pulumi_oci/containerengine/virtual_node_pool.py index 3854ff224f..55d43f9df7 100644 --- a/sdk/python/pulumi_oci/containerengine/virtual_node_pool.py +++ b/sdk/python/pulumi_oci/containerengine/virtual_node_pool.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -47,24 +47,55 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['VirtualNodePoolTaintArgs']]] taints: (Updatable) A taint is a collection of . These taints will be applied to the Virtual Nodes of this Virtual Node Pool for Kubernetes scheduling. :param pulumi.Input['VirtualNodePoolVirtualNodeTagsArgs'] virtual_node_tags: (Updatable) The tags associated to the virtual nodes in this virtual node pool. """ - pulumi.set(__self__, "cluster_id", cluster_id) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "placement_configurations", placement_configurations) - pulumi.set(__self__, "pod_configuration", pod_configuration) - pulumi.set(__self__, "size", size) + VirtualNodePoolArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + cluster_id=cluster_id, + compartment_id=compartment_id, + display_name=display_name, + placement_configurations=placement_configurations, + pod_configuration=pod_configuration, + size=size, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + initial_virtual_node_labels=initial_virtual_node_labels, + nsg_ids=nsg_ids, + taints=taints, + virtual_node_tags=virtual_node_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cluster_id: pulumi.Input[str], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + placement_configurations: pulumi.Input[Sequence[pulumi.Input['VirtualNodePoolPlacementConfigurationArgs']]], + pod_configuration: pulumi.Input['VirtualNodePoolPodConfigurationArgs'], + size: pulumi.Input[int], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + initial_virtual_node_labels: Optional[pulumi.Input[Sequence[pulumi.Input['VirtualNodePoolInitialVirtualNodeLabelArgs']]]] = None, + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + taints: Optional[pulumi.Input[Sequence[pulumi.Input['VirtualNodePoolTaintArgs']]]] = None, + virtual_node_tags: Optional[pulumi.Input['VirtualNodePoolVirtualNodeTagsArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cluster_id", cluster_id) + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) + _setter("placement_configurations", placement_configurations) + _setter("pod_configuration", pod_configuration) + _setter("size", size) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if initial_virtual_node_labels is not None: - pulumi.set(__self__, "initial_virtual_node_labels", initial_virtual_node_labels) + _setter("initial_virtual_node_labels", initial_virtual_node_labels) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) if taints is not None: - pulumi.set(__self__, "taints", taints) + _setter("taints", taints) if virtual_node_tags is not None: - pulumi.set(__self__, "virtual_node_tags", virtual_node_tags) + _setter("virtual_node_tags", virtual_node_tags) @property @pulumi.getter(name="clusterId") @@ -261,42 +292,85 @@ def __init__(__self__, *, :param pulumi.Input[str] time_updated: The time the virtual node pool was updated. :param pulumi.Input['VirtualNodePoolVirtualNodeTagsArgs'] virtual_node_tags: (Updatable) The tags associated to the virtual nodes in this virtual node pool. """ + _VirtualNodePoolState._configure( + lambda key, value: pulumi.set(__self__, key, value), + cluster_id=cluster_id, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + initial_virtual_node_labels=initial_virtual_node_labels, + kubernetes_version=kubernetes_version, + lifecycle_details=lifecycle_details, + nsg_ids=nsg_ids, + placement_configurations=placement_configurations, + pod_configuration=pod_configuration, + size=size, + state=state, + system_tags=system_tags, + taints=taints, + time_created=time_created, + time_updated=time_updated, + virtual_node_tags=virtual_node_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cluster_id: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + initial_virtual_node_labels: Optional[pulumi.Input[Sequence[pulumi.Input['VirtualNodePoolInitialVirtualNodeLabelArgs']]]] = None, + kubernetes_version: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + placement_configurations: Optional[pulumi.Input[Sequence[pulumi.Input['VirtualNodePoolPlacementConfigurationArgs']]]] = None, + pod_configuration: Optional[pulumi.Input['VirtualNodePoolPodConfigurationArgs']] = None, + size: Optional[pulumi.Input[int]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + taints: Optional[pulumi.Input[Sequence[pulumi.Input['VirtualNodePoolTaintArgs']]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + virtual_node_tags: Optional[pulumi.Input['VirtualNodePoolVirtualNodeTagsArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if cluster_id is not None: - pulumi.set(__self__, "cluster_id", cluster_id) + _setter("cluster_id", cluster_id) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if initial_virtual_node_labels is not None: - pulumi.set(__self__, "initial_virtual_node_labels", initial_virtual_node_labels) + _setter("initial_virtual_node_labels", initial_virtual_node_labels) if kubernetes_version is not None: - pulumi.set(__self__, "kubernetes_version", kubernetes_version) + _setter("kubernetes_version", kubernetes_version) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) if placement_configurations is not None: - pulumi.set(__self__, "placement_configurations", placement_configurations) + _setter("placement_configurations", placement_configurations) if pod_configuration is not None: - pulumi.set(__self__, "pod_configuration", pod_configuration) + _setter("pod_configuration", pod_configuration) if size is not None: - pulumi.set(__self__, "size", size) + _setter("size", size) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if taints is not None: - pulumi.set(__self__, "taints", taints) + _setter("taints", taints) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if virtual_node_tags is not None: - pulumi.set(__self__, "virtual_node_tags", virtual_node_tags) + _setter("virtual_node_tags", virtual_node_tags) @property @pulumi.getter(name="clusterId") @@ -692,6 +766,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + VirtualNodePoolArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -734,6 +812,11 @@ def _internal_init(__self__, if placement_configurations is None and not opts.urn: raise TypeError("Missing required property 'placement_configurations'") __props__.__dict__["placement_configurations"] = placement_configurations + if pod_configuration is not None and not isinstance(pod_configuration, VirtualNodePoolPodConfigurationArgs): + pod_configuration = pod_configuration or {} + def _setter(key, value): + pod_configuration[key] = value + VirtualNodePoolPodConfigurationArgs._configure(_setter, **pod_configuration) if pod_configuration is None and not opts.urn: raise TypeError("Missing required property 'pod_configuration'") __props__.__dict__["pod_configuration"] = pod_configuration @@ -741,6 +824,11 @@ def _internal_init(__self__, raise TypeError("Missing required property 'size'") __props__.__dict__["size"] = size __props__.__dict__["taints"] = taints + if virtual_node_tags is not None and not isinstance(virtual_node_tags, VirtualNodePoolVirtualNodeTagsArgs): + virtual_node_tags = virtual_node_tags or {} + def _setter(key, value): + virtual_node_tags[key] = value + VirtualNodePoolVirtualNodeTagsArgs._configure(_setter, **virtual_node_tags) __props__.__dict__["virtual_node_tags"] = virtual_node_tags __props__.__dict__["kubernetes_version"] = None __props__.__dict__["lifecycle_details"] = None diff --git a/sdk/python/pulumi_oci/containerinstances/_inputs.py b/sdk/python/pulumi_oci/containerinstances/_inputs.py index 15f34b0f05..401bf09b31 100644 --- a/sdk/python/pulumi_oci/containerinstances/_inputs.py +++ b/sdk/python/pulumi_oci/containerinstances/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -23,10 +23,23 @@ def __init__(__self__, *, """ :param str name: The name identifying the shape. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetContainerInstanceShapesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -68,10 +81,23 @@ def __init__(__self__, *, """ :param str name: The name of the volume. This must be unique within a single container instance. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetContainerInstancesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/containerinstances/get_container_instance.py b/sdk/python/pulumi_oci/containerinstances/get_container_instance.py index f2b102ad68..0aac6fb821 100644 --- a/sdk/python/pulumi_oci/containerinstances/get_container_instance.py +++ b/sdk/python/pulumi_oci/containerinstances/get_container_instance.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/containerinstances/get_container_instance_shape.py b/sdk/python/pulumi_oci/containerinstances/get_container_instance_shape.py index cbda721bb6..e1bfb43a66 100644 --- a/sdk/python/pulumi_oci/containerinstances/get_container_instance_shape.py +++ b/sdk/python/pulumi_oci/containerinstances/get_container_instance_shape.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/containerinstances/get_container_instance_shapes.py b/sdk/python/pulumi_oci/containerinstances/get_container_instance_shapes.py index ae956c5c22..3a19eebaa4 100644 --- a/sdk/python/pulumi_oci/containerinstances/get_container_instance_shapes.py +++ b/sdk/python/pulumi_oci/containerinstances/get_container_instance_shapes.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/containerinstances/get_container_instances.py b/sdk/python/pulumi_oci/containerinstances/get_container_instances.py index a564fcf587..68dea17fc3 100644 --- a/sdk/python/pulumi_oci/containerinstances/get_container_instances.py +++ b/sdk/python/pulumi_oci/containerinstances/get_container_instances.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/containerinstances/outputs.py b/sdk/python/pulumi_oci/containerinstances/outputs.py index f080639c11..0d72f29eff 100644 --- a/sdk/python/pulumi_oci/containerinstances/outputs.py +++ b/sdk/python/pulumi_oci/containerinstances/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -93,31 +93,88 @@ def __init__(__self__, *, :param str time_created: The time the container instance was created, in the format defined by [RFC 3339](https://tools.ietf.org/rfc/rfc3339). :param str time_updated: The time the container instance was updated, in the format defined by [RFC 3339](https://tools.ietf.org/rfc/rfc3339). """ - pulumi.set(__self__, "arguments", arguments) - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "commands", commands) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "container_id", container_id) - pulumi.set(__self__, "container_instance_id", container_instance_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "environment_variables", environment_variables) - pulumi.set(__self__, "exit_code", exit_code) - pulumi.set(__self__, "fault_domain", fault_domain) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "health_checks", health_checks) - pulumi.set(__self__, "image_url", image_url) - pulumi.set(__self__, "is_resource_principal_disabled", is_resource_principal_disabled) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "resource_configs", resource_configs) - pulumi.set(__self__, "security_contexts", security_contexts) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_terminated", time_terminated) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "volume_mounts", volume_mounts) - pulumi.set(__self__, "working_directory", working_directory) + GetContainerInstanceContainerResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + arguments=arguments, + availability_domain=availability_domain, + commands=commands, + compartment_id=compartment_id, + container_id=container_id, + container_instance_id=container_instance_id, + defined_tags=defined_tags, + display_name=display_name, + environment_variables=environment_variables, + exit_code=exit_code, + fault_domain=fault_domain, + freeform_tags=freeform_tags, + health_checks=health_checks, + image_url=image_url, + is_resource_principal_disabled=is_resource_principal_disabled, + lifecycle_details=lifecycle_details, + resource_configs=resource_configs, + security_contexts=security_contexts, + state=state, + system_tags=system_tags, + time_created=time_created, + time_terminated=time_terminated, + time_updated=time_updated, + volume_mounts=volume_mounts, + working_directory=working_directory, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + arguments: Sequence[str], + availability_domain: str, + commands: Sequence[str], + compartment_id: str, + container_id: str, + container_instance_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + environment_variables: Mapping[str, Any], + exit_code: int, + fault_domain: str, + freeform_tags: Mapping[str, Any], + health_checks: Sequence['outputs.GetContainerInstanceContainerHealthCheckResult'], + image_url: str, + is_resource_principal_disabled: bool, + lifecycle_details: str, + resource_configs: Sequence['outputs.GetContainerInstanceContainerResourceConfigResult'], + security_contexts: Sequence['outputs.GetContainerInstanceContainerSecurityContextResult'], + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_terminated: str, + time_updated: str, + volume_mounts: Sequence['outputs.GetContainerInstanceContainerVolumeMountResult'], + working_directory: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("arguments", arguments) + _setter("availability_domain", availability_domain) + _setter("commands", commands) + _setter("compartment_id", compartment_id) + _setter("container_id", container_id) + _setter("container_instance_id", container_instance_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("environment_variables", environment_variables) + _setter("exit_code", exit_code) + _setter("fault_domain", fault_domain) + _setter("freeform_tags", freeform_tags) + _setter("health_checks", health_checks) + _setter("image_url", image_url) + _setter("is_resource_principal_disabled", is_resource_principal_disabled) + _setter("lifecycle_details", lifecycle_details) + _setter("resource_configs", resource_configs) + _setter("security_contexts", security_contexts) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_terminated", time_terminated) + _setter("time_updated", time_updated) + _setter("volume_mounts", volume_mounts) + _setter("working_directory", working_directory) @property @pulumi.getter @@ -305,20 +362,55 @@ def __init__(__self__, *, :param str name: The name of the volume. This must be unique within a single container instance. :param str path: (Optional) Relative path for this file inside the volume mount directory. By default, the file is presented at the root of the volume mount path. """ - pulumi.set(__self__, "commands", commands) - pulumi.set(__self__, "failure_action", failure_action) - pulumi.set(__self__, "failure_threshold", failure_threshold) - pulumi.set(__self__, "headers", headers) - pulumi.set(__self__, "health_check_type", health_check_type) - pulumi.set(__self__, "initial_delay_in_seconds", initial_delay_in_seconds) - pulumi.set(__self__, "interval_in_seconds", interval_in_seconds) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "path", path) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "status_details", status_details) - pulumi.set(__self__, "success_threshold", success_threshold) - pulumi.set(__self__, "timeout_in_seconds", timeout_in_seconds) + GetContainerInstanceContainerHealthCheckResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + commands=commands, + failure_action=failure_action, + failure_threshold=failure_threshold, + headers=headers, + health_check_type=health_check_type, + initial_delay_in_seconds=initial_delay_in_seconds, + interval_in_seconds=interval_in_seconds, + name=name, + path=path, + port=port, + status=status, + status_details=status_details, + success_threshold=success_threshold, + timeout_in_seconds=timeout_in_seconds, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + commands: Sequence[str], + failure_action: str, + failure_threshold: int, + headers: Sequence['outputs.GetContainerInstanceContainerHealthCheckHeaderResult'], + health_check_type: str, + initial_delay_in_seconds: int, + interval_in_seconds: int, + name: str, + path: str, + port: int, + status: str, + status_details: str, + success_threshold: int, + timeout_in_seconds: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("commands", commands) + _setter("failure_action", failure_action) + _setter("failure_threshold", failure_threshold) + _setter("headers", headers) + _setter("health_check_type", health_check_type) + _setter("initial_delay_in_seconds", initial_delay_in_seconds) + _setter("interval_in_seconds", interval_in_seconds) + _setter("name", name) + _setter("path", path) + _setter("port", port) + _setter("status", status) + _setter("status_details", status_details) + _setter("success_threshold", success_threshold) + _setter("timeout_in_seconds", timeout_in_seconds) @property @pulumi.getter @@ -405,8 +497,19 @@ def __init__(__self__, *, """ :param str name: The name of the volume. This must be unique within a single container instance. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + GetContainerInstanceContainerHealthCheckHeaderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("value", value) @property @pulumi.getter @@ -427,8 +530,19 @@ class GetContainerInstanceContainerResourceConfigResult(dict): def __init__(__self__, *, memory_limit_in_gbs: float, vcpus_limit: float): - pulumi.set(__self__, "memory_limit_in_gbs", memory_limit_in_gbs) - pulumi.set(__self__, "vcpus_limit", vcpus_limit) + GetContainerInstanceContainerResourceConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_limit_in_gbs=memory_limit_in_gbs, + vcpus_limit=vcpus_limit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_limit_in_gbs: float, + vcpus_limit: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("memory_limit_in_gbs", memory_limit_in_gbs) + _setter("vcpus_limit", vcpus_limit) @property @pulumi.getter(name="memoryLimitInGbs") @@ -449,11 +563,28 @@ def __init__(__self__, *, run_as_group: int, run_as_user: int, security_context_type: str): - pulumi.set(__self__, "is_non_root_user_check_enabled", is_non_root_user_check_enabled) - pulumi.set(__self__, "is_root_file_system_readonly", is_root_file_system_readonly) - pulumi.set(__self__, "run_as_group", run_as_group) - pulumi.set(__self__, "run_as_user", run_as_user) - pulumi.set(__self__, "security_context_type", security_context_type) + GetContainerInstanceContainerSecurityContextResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_non_root_user_check_enabled=is_non_root_user_check_enabled, + is_root_file_system_readonly=is_root_file_system_readonly, + run_as_group=run_as_group, + run_as_user=run_as_user, + security_context_type=security_context_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_non_root_user_check_enabled: bool, + is_root_file_system_readonly: bool, + run_as_group: int, + run_as_user: int, + security_context_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_non_root_user_check_enabled", is_non_root_user_check_enabled) + _setter("is_root_file_system_readonly", is_root_file_system_readonly) + _setter("run_as_group", run_as_group) + _setter("run_as_user", run_as_user) + _setter("security_context_type", security_context_type) @property @pulumi.getter(name="isNonRootUserCheckEnabled") @@ -489,11 +620,28 @@ def __init__(__self__, *, partition: int, sub_path: str, volume_name: str): - pulumi.set(__self__, "is_read_only", is_read_only) - pulumi.set(__self__, "mount_path", mount_path) - pulumi.set(__self__, "partition", partition) - pulumi.set(__self__, "sub_path", sub_path) - pulumi.set(__self__, "volume_name", volume_name) + GetContainerInstanceContainerVolumeMountResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_read_only=is_read_only, + mount_path=mount_path, + partition=partition, + sub_path=sub_path, + volume_name=volume_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_read_only: bool, + mount_path: str, + partition: int, + sub_path: str, + volume_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_read_only", is_read_only) + _setter("mount_path", mount_path) + _setter("partition", partition) + _setter("sub_path", sub_path) + _setter("volume_name", volume_name) @property @pulumi.getter(name="isReadOnly") @@ -532,9 +680,22 @@ def __init__(__self__, *, :param Sequence[str] options: Options allows certain internal resolver variables to be modified. :param Sequence[str] searches: Search list for hostname lookup. """ - pulumi.set(__self__, "nameservers", nameservers) - pulumi.set(__self__, "options", options) - pulumi.set(__self__, "searches", searches) + GetContainerInstanceDnsConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + nameservers=nameservers, + options=options, + searches=searches, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + nameservers: Sequence[str], + options: Sequence[str], + searches: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("nameservers", nameservers) + _setter("options", options) + _setter("searches", searches) @property @pulumi.getter @@ -574,11 +735,28 @@ def __init__(__self__, *, :param str secret_id: The OCID of the secret for registry credentials. :param str secret_type: The type of ImagePullSecret. """ - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "registry_endpoint", registry_endpoint) - pulumi.set(__self__, "secret_id", secret_id) - pulumi.set(__self__, "secret_type", secret_type) - pulumi.set(__self__, "username", username) + GetContainerInstanceImagePullSecretResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + password=password, + registry_endpoint=registry_endpoint, + secret_id=secret_id, + secret_type=secret_type, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + password: str, + registry_endpoint: str, + secret_id: str, + secret_type: str, + username: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("password", password) + _setter("registry_endpoint", registry_endpoint) + _setter("secret_id", secret_id) + _setter("secret_type", secret_type) + _setter("username", username) @property @pulumi.getter @@ -628,10 +806,25 @@ def __init__(__self__, *, :param float ocpus: The total number of OCPUs available to the container instance. :param str processor_description: A short description of the container instance's processor (CPU). """ - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "networking_bandwidth_in_gbps", networking_bandwidth_in_gbps) - pulumi.set(__self__, "ocpus", ocpus) - pulumi.set(__self__, "processor_description", processor_description) + GetContainerInstanceShapeConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + networking_bandwidth_in_gbps=networking_bandwidth_in_gbps, + ocpus=ocpus, + processor_description=processor_description, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: float, + networking_bandwidth_in_gbps: float, + ocpus: float, + processor_description: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("memory_in_gbs", memory_in_gbs) + _setter("networking_bandwidth_in_gbps", networking_bandwidth_in_gbps) + _setter("ocpus", ocpus) + _setter("processor_description", processor_description) @property @pulumi.getter(name="memoryInGbs") @@ -681,11 +874,28 @@ def __init__(__self__, *, :param Sequence['GetContainerInstanceShapeItemOcpuOptionArgs'] ocpu_options: For a flexible shape, the number of OCPUs available for instances that use this shape. :param str processor_description: A short description of the Instance's processor (CPU). """ - pulumi.set(__self__, "memory_options", memory_options) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "networking_bandwidth_options", networking_bandwidth_options) - pulumi.set(__self__, "ocpu_options", ocpu_options) - pulumi.set(__self__, "processor_description", processor_description) + GetContainerInstanceShapeItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_options=memory_options, + name=name, + networking_bandwidth_options=networking_bandwidth_options, + ocpu_options=ocpu_options, + processor_description=processor_description, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_options: Sequence['outputs.GetContainerInstanceShapeItemMemoryOptionResult'], + name: str, + networking_bandwidth_options: Sequence['outputs.GetContainerInstanceShapeItemNetworkingBandwidthOptionResult'], + ocpu_options: Sequence['outputs.GetContainerInstanceShapeItemOcpuOptionResult'], + processor_description: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("memory_options", memory_options) + _setter("name", name) + _setter("networking_bandwidth_options", networking_bandwidth_options) + _setter("ocpu_options", ocpu_options) + _setter("processor_description", processor_description) @property @pulumi.getter(name="memoryOptions") @@ -743,11 +953,28 @@ def __init__(__self__, *, :param float min_in_gbs: The minimum amount of memory, in gigabytes. :param float min_per_ocpu_in_gbs: The minimum amount of memory per OCPU available for this shape, in gigabytes. """ - pulumi.set(__self__, "default_per_ocpu_in_gbs", default_per_ocpu_in_gbs) - pulumi.set(__self__, "max_in_gbs", max_in_gbs) - pulumi.set(__self__, "max_per_ocpu_in_gbs", max_per_ocpu_in_gbs) - pulumi.set(__self__, "min_in_gbs", min_in_gbs) - pulumi.set(__self__, "min_per_ocpu_in_gbs", min_per_ocpu_in_gbs) + GetContainerInstanceShapeItemMemoryOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + default_per_ocpu_in_gbs=default_per_ocpu_in_gbs, + max_in_gbs=max_in_gbs, + max_per_ocpu_in_gbs=max_per_ocpu_in_gbs, + min_in_gbs=min_in_gbs, + min_per_ocpu_in_gbs=min_per_ocpu_in_gbs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + default_per_ocpu_in_gbs: float, + max_in_gbs: float, + max_per_ocpu_in_gbs: float, + min_in_gbs: float, + min_per_ocpu_in_gbs: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("default_per_ocpu_in_gbs", default_per_ocpu_in_gbs) + _setter("max_in_gbs", max_in_gbs) + _setter("max_per_ocpu_in_gbs", max_per_ocpu_in_gbs) + _setter("min_in_gbs", min_in_gbs) + _setter("min_per_ocpu_in_gbs", min_per_ocpu_in_gbs) @property @pulumi.getter(name="defaultPerOcpuInGbs") @@ -801,9 +1028,22 @@ def __init__(__self__, *, :param float max_in_gbps: The maximum amount of networking bandwidth, in gigabits per second. :param float min_in_gbps: The minimum amount of networking bandwidth, in gigabits per second. """ - pulumi.set(__self__, "default_per_ocpu_in_gbps", default_per_ocpu_in_gbps) - pulumi.set(__self__, "max_in_gbps", max_in_gbps) - pulumi.set(__self__, "min_in_gbps", min_in_gbps) + GetContainerInstanceShapeItemNetworkingBandwidthOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + default_per_ocpu_in_gbps=default_per_ocpu_in_gbps, + max_in_gbps=max_in_gbps, + min_in_gbps=min_in_gbps, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + default_per_ocpu_in_gbps: float, + max_in_gbps: float, + min_in_gbps: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("default_per_ocpu_in_gbps", default_per_ocpu_in_gbps) + _setter("max_in_gbps", max_in_gbps) + _setter("min_in_gbps", min_in_gbps) @property @pulumi.getter(name="defaultPerOcpuInGbps") @@ -839,8 +1079,19 @@ def __init__(__self__, *, :param float max: The maximum number of OCPUs. :param float min: The minimum number of OCPUs. """ - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "min", min) + GetContainerInstanceShapeItemOcpuOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: float, + min: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max", max) + _setter("min", min) @property @pulumi.getter @@ -866,7 +1117,16 @@ def __init__(__self__, *, """ :param Sequence['GetContainerInstanceShapesContainerInstanceShapeCollectionItemArgs'] items: A list of shapes. """ - pulumi.set(__self__, "items", items) + GetContainerInstanceShapesContainerInstanceShapeCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetContainerInstanceShapesContainerInstanceShapeCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -892,11 +1152,28 @@ def __init__(__self__, *, :param Sequence['GetContainerInstanceShapesContainerInstanceShapeCollectionItemOcpuOptionArgs'] ocpu_options: For a flexible shape, the number of OCPUs available for container instances that use this shape. :param str processor_description: A short description of the container instance's processor (CPU). """ - pulumi.set(__self__, "memory_options", memory_options) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "networking_bandwidth_options", networking_bandwidth_options) - pulumi.set(__self__, "ocpu_options", ocpu_options) - pulumi.set(__self__, "processor_description", processor_description) + GetContainerInstanceShapesContainerInstanceShapeCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_options=memory_options, + name=name, + networking_bandwidth_options=networking_bandwidth_options, + ocpu_options=ocpu_options, + processor_description=processor_description, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_options: Sequence['outputs.GetContainerInstanceShapesContainerInstanceShapeCollectionItemMemoryOptionResult'], + name: str, + networking_bandwidth_options: Sequence['outputs.GetContainerInstanceShapesContainerInstanceShapeCollectionItemNetworkingBandwidthOptionResult'], + ocpu_options: Sequence['outputs.GetContainerInstanceShapesContainerInstanceShapeCollectionItemOcpuOptionResult'], + processor_description: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("memory_options", memory_options) + _setter("name", name) + _setter("networking_bandwidth_options", networking_bandwidth_options) + _setter("ocpu_options", ocpu_options) + _setter("processor_description", processor_description) @property @pulumi.getter(name="memoryOptions") @@ -954,11 +1231,28 @@ def __init__(__self__, *, :param float min_in_gbs: The minimum amount of memory (GB). :param float min_per_ocpu_in_gbs: The minimum amount of memory per OCPU available for this shape (GB). """ - pulumi.set(__self__, "default_per_ocpu_in_gbs", default_per_ocpu_in_gbs) - pulumi.set(__self__, "max_in_gbs", max_in_gbs) - pulumi.set(__self__, "max_per_ocpu_in_gbs", max_per_ocpu_in_gbs) - pulumi.set(__self__, "min_in_gbs", min_in_gbs) - pulumi.set(__self__, "min_per_ocpu_in_gbs", min_per_ocpu_in_gbs) + GetContainerInstanceShapesContainerInstanceShapeCollectionItemMemoryOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + default_per_ocpu_in_gbs=default_per_ocpu_in_gbs, + max_in_gbs=max_in_gbs, + max_per_ocpu_in_gbs=max_per_ocpu_in_gbs, + min_in_gbs=min_in_gbs, + min_per_ocpu_in_gbs=min_per_ocpu_in_gbs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + default_per_ocpu_in_gbs: float, + max_in_gbs: float, + max_per_ocpu_in_gbs: float, + min_in_gbs: float, + min_per_ocpu_in_gbs: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("default_per_ocpu_in_gbs", default_per_ocpu_in_gbs) + _setter("max_in_gbs", max_in_gbs) + _setter("max_per_ocpu_in_gbs", max_per_ocpu_in_gbs) + _setter("min_in_gbs", min_in_gbs) + _setter("min_per_ocpu_in_gbs", min_per_ocpu_in_gbs) @property @pulumi.getter(name="defaultPerOcpuInGbs") @@ -1012,9 +1306,22 @@ def __init__(__self__, *, :param float max_in_gbps: The maximum amount of networking bandwidth, in gigabits per second. :param float min_in_gbps: The minimum amount of networking bandwidth, in gigabits per second. """ - pulumi.set(__self__, "default_per_ocpu_in_gbps", default_per_ocpu_in_gbps) - pulumi.set(__self__, "max_in_gbps", max_in_gbps) - pulumi.set(__self__, "min_in_gbps", min_in_gbps) + GetContainerInstanceShapesContainerInstanceShapeCollectionItemNetworkingBandwidthOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + default_per_ocpu_in_gbps=default_per_ocpu_in_gbps, + max_in_gbps=max_in_gbps, + min_in_gbps=min_in_gbps, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + default_per_ocpu_in_gbps: float, + max_in_gbps: float, + min_in_gbps: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("default_per_ocpu_in_gbps", default_per_ocpu_in_gbps) + _setter("max_in_gbps", max_in_gbps) + _setter("min_in_gbps", min_in_gbps) @property @pulumi.getter(name="defaultPerOcpuInGbps") @@ -1050,8 +1357,19 @@ def __init__(__self__, *, :param float max: The maximum number of OCPUs. :param float min: The minimum number of OCPUs. """ - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "min", min) + GetContainerInstanceShapesContainerInstanceShapeCollectionItemOcpuOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: float, + min: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max", max) + _setter("min", min) @property @pulumi.getter @@ -1079,10 +1397,23 @@ def __init__(__self__, *, """ :param str name: The name identifying the shape. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetContainerInstanceShapesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1122,16 +1453,43 @@ def __init__(__self__, *, :param Mapping[str, Any] freeform_tags: Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` :param str vnic_id: The identifier of the virtual network interface card (VNIC) over which the containers accessing this network can communicate with the larger virtual cloud network. """ - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "hostname_label", hostname_label) - pulumi.set(__self__, "is_public_ip_assigned", is_public_ip_assigned) - pulumi.set(__self__, "nsg_ids", nsg_ids) - pulumi.set(__self__, "private_ip", private_ip) - pulumi.set(__self__, "skip_source_dest_check", skip_source_dest_check) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "vnic_id", vnic_id) + GetContainerInstanceVnicResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + hostname_label=hostname_label, + is_public_ip_assigned=is_public_ip_assigned, + nsg_ids=nsg_ids, + private_ip=private_ip, + skip_source_dest_check=skip_source_dest_check, + subnet_id=subnet_id, + vnic_id=vnic_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + hostname_label: str, + is_public_ip_assigned: bool, + nsg_ids: Sequence[str], + private_ip: str, + skip_source_dest_check: bool, + subnet_id: str, + vnic_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("hostname_label", hostname_label) + _setter("is_public_ip_assigned", is_public_ip_assigned) + _setter("nsg_ids", nsg_ids) + _setter("private_ip", private_ip) + _setter("skip_source_dest_check", skip_source_dest_check) + _setter("subnet_id", subnet_id) + _setter("vnic_id", vnic_id) @property @pulumi.getter(name="definedTags") @@ -1209,10 +1567,25 @@ def __init__(__self__, *, :param str name: The name of the volume. This must be unique within a single container instance. :param str volume_type: The type of volume. """ - pulumi.set(__self__, "backing_store", backing_store) - pulumi.set(__self__, "configs", configs) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "volume_type", volume_type) + GetContainerInstanceVolumeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + backing_store=backing_store, + configs=configs, + name=name, + volume_type=volume_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backing_store: str, + configs: Sequence['outputs.GetContainerInstanceVolumeConfigResult'], + name: str, + volume_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("backing_store", backing_store) + _setter("configs", configs) + _setter("name", name) + _setter("volume_type", volume_type) @property @pulumi.getter(name="backingStore") @@ -1258,9 +1631,22 @@ def __init__(__self__, *, :param str file_name: The name of the file. The fileName should be unique across the volume. :param str path: (Optional) Relative path for this file inside the volume mount directory. By default, the file is presented at the root of the volume mount path. """ - pulumi.set(__self__, "data", data) - pulumi.set(__self__, "file_name", file_name) - pulumi.set(__self__, "path", path) + GetContainerInstanceVolumeConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + data=data, + file_name=file_name, + path=path, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + data: str, + file_name: str, + path: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("data", data) + _setter("file_name", file_name) + _setter("path", path) @property @pulumi.getter @@ -1291,7 +1677,16 @@ def path(self) -> str: class GetContainerInstancesContainerInstanceCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetContainerInstancesContainerInstanceCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetContainerInstancesContainerInstanceCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetContainerInstancesContainerInstanceCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1350,29 +1745,82 @@ def __init__(__self__, *, :param int volume_count: The number of volumes that are attached to the container instance. :param Sequence['GetContainerInstancesContainerInstanceCollectionItemVolumeArgs'] volumes: A volume is a directory with data that is accessible across multiple containers in a container instance. """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "container_count", container_count) - pulumi.set(__self__, "container_restart_policy", container_restart_policy) - pulumi.set(__self__, "containers", containers) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "dns_configs", dns_configs) - pulumi.set(__self__, "fault_domain", fault_domain) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "graceful_shutdown_timeout_in_seconds", graceful_shutdown_timeout_in_seconds) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "image_pull_secrets", image_pull_secrets) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "shape_configs", shape_configs) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "vnics", vnics) - pulumi.set(__self__, "volume_count", volume_count) - pulumi.set(__self__, "volumes", volumes) + GetContainerInstancesContainerInstanceCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + compartment_id=compartment_id, + container_count=container_count, + container_restart_policy=container_restart_policy, + containers=containers, + defined_tags=defined_tags, + display_name=display_name, + dns_configs=dns_configs, + fault_domain=fault_domain, + freeform_tags=freeform_tags, + graceful_shutdown_timeout_in_seconds=graceful_shutdown_timeout_in_seconds, + id=id, + image_pull_secrets=image_pull_secrets, + lifecycle_details=lifecycle_details, + shape=shape, + shape_configs=shape_configs, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + vnics=vnics, + volume_count=volume_count, + volumes=volumes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + compartment_id: str, + container_count: int, + container_restart_policy: str, + containers: Sequence['outputs.GetContainerInstancesContainerInstanceCollectionItemContainerResult'], + defined_tags: Mapping[str, Any], + display_name: str, + dns_configs: Sequence['outputs.GetContainerInstancesContainerInstanceCollectionItemDnsConfigResult'], + fault_domain: str, + freeform_tags: Mapping[str, Any], + graceful_shutdown_timeout_in_seconds: str, + id: str, + image_pull_secrets: Sequence['outputs.GetContainerInstancesContainerInstanceCollectionItemImagePullSecretResult'], + lifecycle_details: str, + shape: str, + shape_configs: Sequence['outputs.GetContainerInstancesContainerInstanceCollectionItemShapeConfigResult'], + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + vnics: Sequence['outputs.GetContainerInstancesContainerInstanceCollectionItemVnicResult'], + volume_count: int, + volumes: Sequence['outputs.GetContainerInstancesContainerInstanceCollectionItemVolumeResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("compartment_id", compartment_id) + _setter("container_count", container_count) + _setter("container_restart_policy", container_restart_policy) + _setter("containers", containers) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("dns_configs", dns_configs) + _setter("fault_domain", fault_domain) + _setter("freeform_tags", freeform_tags) + _setter("graceful_shutdown_timeout_in_seconds", graceful_shutdown_timeout_in_seconds) + _setter("id", id) + _setter("image_pull_secrets", image_pull_secrets) + _setter("lifecycle_details", lifecycle_details) + _setter("shape", shape) + _setter("shape_configs", shape_configs) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("vnics", vnics) + _setter("volume_count", volume_count) + _setter("volumes", volumes) @property @pulumi.getter(name="availabilityDomain") @@ -1601,31 +2049,88 @@ def __init__(__self__, *, :param str time_created: The time the container instance was created, in the format defined by [RFC 3339](https://tools.ietf.org/rfc/rfc3339). :param str time_updated: The time the container instance was updated, in the format defined by [RFC 3339](https://tools.ietf.org/rfc/rfc3339). """ - pulumi.set(__self__, "arguments", arguments) - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "commands", commands) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "container_id", container_id) - pulumi.set(__self__, "container_instance_id", container_instance_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "environment_variables", environment_variables) - pulumi.set(__self__, "exit_code", exit_code) - pulumi.set(__self__, "fault_domain", fault_domain) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "health_checks", health_checks) - pulumi.set(__self__, "image_url", image_url) - pulumi.set(__self__, "is_resource_principal_disabled", is_resource_principal_disabled) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "resource_configs", resource_configs) - pulumi.set(__self__, "security_contexts", security_contexts) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_terminated", time_terminated) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "volume_mounts", volume_mounts) - pulumi.set(__self__, "working_directory", working_directory) + GetContainerInstancesContainerInstanceCollectionItemContainerResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + arguments=arguments, + availability_domain=availability_domain, + commands=commands, + compartment_id=compartment_id, + container_id=container_id, + container_instance_id=container_instance_id, + defined_tags=defined_tags, + display_name=display_name, + environment_variables=environment_variables, + exit_code=exit_code, + fault_domain=fault_domain, + freeform_tags=freeform_tags, + health_checks=health_checks, + image_url=image_url, + is_resource_principal_disabled=is_resource_principal_disabled, + lifecycle_details=lifecycle_details, + resource_configs=resource_configs, + security_contexts=security_contexts, + state=state, + system_tags=system_tags, + time_created=time_created, + time_terminated=time_terminated, + time_updated=time_updated, + volume_mounts=volume_mounts, + working_directory=working_directory, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + arguments: Sequence[str], + availability_domain: str, + commands: Sequence[str], + compartment_id: str, + container_id: str, + container_instance_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + environment_variables: Mapping[str, Any], + exit_code: int, + fault_domain: str, + freeform_tags: Mapping[str, Any], + health_checks: Sequence['outputs.GetContainerInstancesContainerInstanceCollectionItemContainerHealthCheckResult'], + image_url: str, + is_resource_principal_disabled: bool, + lifecycle_details: str, + resource_configs: Sequence['outputs.GetContainerInstancesContainerInstanceCollectionItemContainerResourceConfigResult'], + security_contexts: Sequence['outputs.GetContainerInstancesContainerInstanceCollectionItemContainerSecurityContextResult'], + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_terminated: str, + time_updated: str, + volume_mounts: Sequence['outputs.GetContainerInstancesContainerInstanceCollectionItemContainerVolumeMountResult'], + working_directory: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("arguments", arguments) + _setter("availability_domain", availability_domain) + _setter("commands", commands) + _setter("compartment_id", compartment_id) + _setter("container_id", container_id) + _setter("container_instance_id", container_instance_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("environment_variables", environment_variables) + _setter("exit_code", exit_code) + _setter("fault_domain", fault_domain) + _setter("freeform_tags", freeform_tags) + _setter("health_checks", health_checks) + _setter("image_url", image_url) + _setter("is_resource_principal_disabled", is_resource_principal_disabled) + _setter("lifecycle_details", lifecycle_details) + _setter("resource_configs", resource_configs) + _setter("security_contexts", security_contexts) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_terminated", time_terminated) + _setter("time_updated", time_updated) + _setter("volume_mounts", volume_mounts) + _setter("working_directory", working_directory) @property @pulumi.getter @@ -1810,20 +2315,55 @@ def __init__(__self__, *, :param str name: The name of the volume. This must be unique within a single container instance. :param str path: (Optional) Relative path for this file inside the volume mount directory. By default, the file is presented at the root of the volume mount path. """ - pulumi.set(__self__, "commands", commands) - pulumi.set(__self__, "failure_action", failure_action) - pulumi.set(__self__, "failure_threshold", failure_threshold) - pulumi.set(__self__, "headers", headers) - pulumi.set(__self__, "health_check_type", health_check_type) - pulumi.set(__self__, "initial_delay_in_seconds", initial_delay_in_seconds) - pulumi.set(__self__, "interval_in_seconds", interval_in_seconds) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "path", path) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "status_details", status_details) - pulumi.set(__self__, "success_threshold", success_threshold) - pulumi.set(__self__, "timeout_in_seconds", timeout_in_seconds) + GetContainerInstancesContainerInstanceCollectionItemContainerHealthCheckResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + commands=commands, + failure_action=failure_action, + failure_threshold=failure_threshold, + headers=headers, + health_check_type=health_check_type, + initial_delay_in_seconds=initial_delay_in_seconds, + interval_in_seconds=interval_in_seconds, + name=name, + path=path, + port=port, + status=status, + status_details=status_details, + success_threshold=success_threshold, + timeout_in_seconds=timeout_in_seconds, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + commands: Sequence[str], + failure_action: str, + failure_threshold: int, + headers: Sequence['outputs.GetContainerInstancesContainerInstanceCollectionItemContainerHealthCheckHeaderResult'], + health_check_type: str, + initial_delay_in_seconds: int, + interval_in_seconds: int, + name: str, + path: str, + port: int, + status: str, + status_details: str, + success_threshold: int, + timeout_in_seconds: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("commands", commands) + _setter("failure_action", failure_action) + _setter("failure_threshold", failure_threshold) + _setter("headers", headers) + _setter("health_check_type", health_check_type) + _setter("initial_delay_in_seconds", initial_delay_in_seconds) + _setter("interval_in_seconds", interval_in_seconds) + _setter("name", name) + _setter("path", path) + _setter("port", port) + _setter("status", status) + _setter("status_details", status_details) + _setter("success_threshold", success_threshold) + _setter("timeout_in_seconds", timeout_in_seconds) @property @pulumi.getter @@ -1910,8 +2450,19 @@ def __init__(__self__, *, """ :param str name: The name of the volume. This must be unique within a single container instance. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + GetContainerInstancesContainerInstanceCollectionItemContainerHealthCheckHeaderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("value", value) @property @pulumi.getter @@ -1932,8 +2483,19 @@ class GetContainerInstancesContainerInstanceCollectionItemContainerResourceConfi def __init__(__self__, *, memory_limit_in_gbs: float, vcpus_limit: float): - pulumi.set(__self__, "memory_limit_in_gbs", memory_limit_in_gbs) - pulumi.set(__self__, "vcpus_limit", vcpus_limit) + GetContainerInstancesContainerInstanceCollectionItemContainerResourceConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_limit_in_gbs=memory_limit_in_gbs, + vcpus_limit=vcpus_limit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_limit_in_gbs: float, + vcpus_limit: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("memory_limit_in_gbs", memory_limit_in_gbs) + _setter("vcpus_limit", vcpus_limit) @property @pulumi.getter(name="memoryLimitInGbs") @@ -1954,11 +2516,28 @@ def __init__(__self__, *, run_as_group: int, run_as_user: int, security_context_type: str): - pulumi.set(__self__, "is_non_root_user_check_enabled", is_non_root_user_check_enabled) - pulumi.set(__self__, "is_root_file_system_readonly", is_root_file_system_readonly) - pulumi.set(__self__, "run_as_group", run_as_group) - pulumi.set(__self__, "run_as_user", run_as_user) - pulumi.set(__self__, "security_context_type", security_context_type) + GetContainerInstancesContainerInstanceCollectionItemContainerSecurityContextResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_non_root_user_check_enabled=is_non_root_user_check_enabled, + is_root_file_system_readonly=is_root_file_system_readonly, + run_as_group=run_as_group, + run_as_user=run_as_user, + security_context_type=security_context_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_non_root_user_check_enabled: bool, + is_root_file_system_readonly: bool, + run_as_group: int, + run_as_user: int, + security_context_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_non_root_user_check_enabled", is_non_root_user_check_enabled) + _setter("is_root_file_system_readonly", is_root_file_system_readonly) + _setter("run_as_group", run_as_group) + _setter("run_as_user", run_as_user) + _setter("security_context_type", security_context_type) @property @pulumi.getter(name="isNonRootUserCheckEnabled") @@ -1994,11 +2573,28 @@ def __init__(__self__, *, partition: int, sub_path: str, volume_name: str): - pulumi.set(__self__, "is_read_only", is_read_only) - pulumi.set(__self__, "mount_path", mount_path) - pulumi.set(__self__, "partition", partition) - pulumi.set(__self__, "sub_path", sub_path) - pulumi.set(__self__, "volume_name", volume_name) + GetContainerInstancesContainerInstanceCollectionItemContainerVolumeMountResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_read_only=is_read_only, + mount_path=mount_path, + partition=partition, + sub_path=sub_path, + volume_name=volume_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_read_only: bool, + mount_path: str, + partition: int, + sub_path: str, + volume_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_read_only", is_read_only) + _setter("mount_path", mount_path) + _setter("partition", partition) + _setter("sub_path", sub_path) + _setter("volume_name", volume_name) @property @pulumi.getter(name="isReadOnly") @@ -2037,9 +2633,22 @@ def __init__(__self__, *, :param Sequence[str] options: Options allows certain internal resolver variables to be modified. :param Sequence[str] searches: Search list for hostname lookup. """ - pulumi.set(__self__, "nameservers", nameservers) - pulumi.set(__self__, "options", options) - pulumi.set(__self__, "searches", searches) + GetContainerInstancesContainerInstanceCollectionItemDnsConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + nameservers=nameservers, + options=options, + searches=searches, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + nameservers: Sequence[str], + options: Sequence[str], + searches: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("nameservers", nameservers) + _setter("options", options) + _setter("searches", searches) @property @pulumi.getter @@ -2079,11 +2688,28 @@ def __init__(__self__, *, :param str secret_id: The OCID of the secret for registry credentials. :param str secret_type: The type of ImagePullSecret. """ - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "registry_endpoint", registry_endpoint) - pulumi.set(__self__, "secret_id", secret_id) - pulumi.set(__self__, "secret_type", secret_type) - pulumi.set(__self__, "username", username) + GetContainerInstancesContainerInstanceCollectionItemImagePullSecretResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + password=password, + registry_endpoint=registry_endpoint, + secret_id=secret_id, + secret_type=secret_type, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + password: str, + registry_endpoint: str, + secret_id: str, + secret_type: str, + username: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("password", password) + _setter("registry_endpoint", registry_endpoint) + _setter("secret_id", secret_id) + _setter("secret_type", secret_type) + _setter("username", username) @property @pulumi.getter @@ -2133,10 +2759,25 @@ def __init__(__self__, *, :param float ocpus: The total number of OCPUs available to the container instance. :param str processor_description: A short description of the container instance's processor (CPU). """ - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "networking_bandwidth_in_gbps", networking_bandwidth_in_gbps) - pulumi.set(__self__, "ocpus", ocpus) - pulumi.set(__self__, "processor_description", processor_description) + GetContainerInstancesContainerInstanceCollectionItemShapeConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + networking_bandwidth_in_gbps=networking_bandwidth_in_gbps, + ocpus=ocpus, + processor_description=processor_description, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: float, + networking_bandwidth_in_gbps: float, + ocpus: float, + processor_description: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("memory_in_gbs", memory_in_gbs) + _setter("networking_bandwidth_in_gbps", networking_bandwidth_in_gbps) + _setter("ocpus", ocpus) + _setter("processor_description", processor_description) @property @pulumi.getter(name="memoryInGbs") @@ -2190,16 +2831,43 @@ def __init__(__self__, *, :param Mapping[str, Any] freeform_tags: Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` :param str vnic_id: The identifier of the virtual network interface card (VNIC) over which the containers accessing this network can communicate with the larger virtual cloud network. """ - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "hostname_label", hostname_label) - pulumi.set(__self__, "is_public_ip_assigned", is_public_ip_assigned) - pulumi.set(__self__, "nsg_ids", nsg_ids) - pulumi.set(__self__, "private_ip", private_ip) - pulumi.set(__self__, "skip_source_dest_check", skip_source_dest_check) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "vnic_id", vnic_id) + GetContainerInstancesContainerInstanceCollectionItemVnicResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + hostname_label=hostname_label, + is_public_ip_assigned=is_public_ip_assigned, + nsg_ids=nsg_ids, + private_ip=private_ip, + skip_source_dest_check=skip_source_dest_check, + subnet_id=subnet_id, + vnic_id=vnic_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + hostname_label: str, + is_public_ip_assigned: bool, + nsg_ids: Sequence[str], + private_ip: str, + skip_source_dest_check: bool, + subnet_id: str, + vnic_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("hostname_label", hostname_label) + _setter("is_public_ip_assigned", is_public_ip_assigned) + _setter("nsg_ids", nsg_ids) + _setter("private_ip", private_ip) + _setter("skip_source_dest_check", skip_source_dest_check) + _setter("subnet_id", subnet_id) + _setter("vnic_id", vnic_id) @property @pulumi.getter(name="definedTags") @@ -2277,10 +2945,25 @@ def __init__(__self__, *, :param str name: The name of the volume. This must be unique within a single container instance. :param str volume_type: The type of volume. """ - pulumi.set(__self__, "backing_store", backing_store) - pulumi.set(__self__, "configs", configs) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "volume_type", volume_type) + GetContainerInstancesContainerInstanceCollectionItemVolumeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + backing_store=backing_store, + configs=configs, + name=name, + volume_type=volume_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backing_store: str, + configs: Sequence['outputs.GetContainerInstancesContainerInstanceCollectionItemVolumeConfigResult'], + name: str, + volume_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("backing_store", backing_store) + _setter("configs", configs) + _setter("name", name) + _setter("volume_type", volume_type) @property @pulumi.getter(name="backingStore") @@ -2326,9 +3009,22 @@ def __init__(__self__, *, :param str file_name: The name of the file. The fileName should be unique across the volume. :param str path: (Optional) Relative path for this file inside the volume mount directory. By default, the file is presented at the root of the volume mount path. """ - pulumi.set(__self__, "data", data) - pulumi.set(__self__, "file_name", file_name) - pulumi.set(__self__, "path", path) + GetContainerInstancesContainerInstanceCollectionItemVolumeConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + data=data, + file_name=file_name, + path=path, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + data: str, + file_name: str, + path: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("data", data) + _setter("file_name", file_name) + _setter("path", path) @property @pulumi.getter @@ -2364,10 +3060,23 @@ def __init__(__self__, *, """ :param str name: The name of the volume. This must be unique within a single container instance. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetContainerInstancesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/core/_inputs.py b/sdk/python/pulumi_oci/core/_inputs.py index 92823d6daa..9acf64ce86 100644 --- a/sdk/python/pulumi_oci/core/_inputs.py +++ b/sdk/python/pulumi_oci/core/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -277,9 +277,20 @@ def __init__(__self__, *, :param pulumi.Input[str] autotune_type: (Updatable) This specifies the type of autotunes supported by OCI. :param pulumi.Input[str] max_vpus_per_gb: (Updatable) This will be the maximum VPUs/GB performance level that the volume will be auto-tuned temporarily based on performance monitoring. """ - pulumi.set(__self__, "autotune_type", autotune_type) + BootVolumeAutotunePolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + autotune_type=autotune_type, + max_vpus_per_gb=max_vpus_per_gb, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + autotune_type: pulumi.Input[str], + max_vpus_per_gb: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("autotune_type", autotune_type) if max_vpus_per_gb is not None: - pulumi.set(__self__, "max_vpus_per_gb", max_vpus_per_gb) + _setter("max_vpus_per_gb", max_vpus_per_gb) @property @pulumi.getter(name="autotuneType") @@ -316,10 +327,23 @@ def __init__(__self__, *, :param pulumi.Input[str] region: The region of the volume backup source. :param pulumi.Input[str] kms_key_id: The OCID of the KMS key in the destination region which will be the master encryption key for the copied volume backup. """ - pulumi.set(__self__, "boot_volume_backup_id", boot_volume_backup_id) - pulumi.set(__self__, "region", region) + BootVolumeBackupSourceDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + boot_volume_backup_id=boot_volume_backup_id, + region=region, + kms_key_id=kms_key_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + boot_volume_backup_id: pulumi.Input[str], + region: pulumi.Input[str], + kms_key_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("boot_volume_backup_id", boot_volume_backup_id) + _setter("region", region) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) @property @pulumi.getter(name="bootVolumeBackupId") @@ -366,11 +390,24 @@ def __init__(__self__, *, :param pulumi.Input[str] boot_volume_replica_id: The boot volume replica's Oracle ID (OCID). :param pulumi.Input[str] display_name: (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. """ - pulumi.set(__self__, "availability_domain", availability_domain) + BootVolumeBootVolumeReplicaArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + boot_volume_replica_id=boot_volume_replica_id, + display_name=display_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: pulumi.Input[str], + boot_volume_replica_id: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) if boot_volume_replica_id is not None: - pulumi.set(__self__, "boot_volume_replica_id", boot_volume_replica_id) + _setter("boot_volume_replica_id", boot_volume_replica_id) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) @property @pulumi.getter(name="availabilityDomain") @@ -418,8 +455,19 @@ def __init__(__self__, *, :param pulumi.Input[str] id: The OCID of the boot volume replica. :param pulumi.Input[str] type: The type can be one of these values: `bootVolume`, `bootVolumeBackup`, `bootVolumeReplica` """ - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "type", type) + BootVolumeSourceDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: pulumi.Input[str], + type: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) + _setter("type", type) @property @pulumi.getter @@ -474,21 +522,44 @@ def __init__(__self__, *, :param pulumi.Input['CaptureFilterVtapCaptureFilterRuleTcpOptionsArgs'] tcp_options: (Updatable) Optional and valid only for TCP. Use to specify particular destination ports for TCP rules. If you specify TCP as the protocol but omit this object, then all destination ports are allowed. :param pulumi.Input['CaptureFilterVtapCaptureFilterRuleUdpOptionsArgs'] udp_options: (Updatable) Optional and valid only for UDP. Use to specify particular destination ports for UDP rules. If you specify UDP as the protocol but omit this object, then all destination ports are allowed. """ - pulumi.set(__self__, "traffic_direction", traffic_direction) + CaptureFilterVtapCaptureFilterRuleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + traffic_direction=traffic_direction, + destination_cidr=destination_cidr, + icmp_options=icmp_options, + protocol=protocol, + rule_action=rule_action, + source_cidr=source_cidr, + tcp_options=tcp_options, + udp_options=udp_options, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + traffic_direction: pulumi.Input[str], + destination_cidr: Optional[pulumi.Input[str]] = None, + icmp_options: Optional[pulumi.Input['CaptureFilterVtapCaptureFilterRuleIcmpOptionsArgs']] = None, + protocol: Optional[pulumi.Input[str]] = None, + rule_action: Optional[pulumi.Input[str]] = None, + source_cidr: Optional[pulumi.Input[str]] = None, + tcp_options: Optional[pulumi.Input['CaptureFilterVtapCaptureFilterRuleTcpOptionsArgs']] = None, + udp_options: Optional[pulumi.Input['CaptureFilterVtapCaptureFilterRuleUdpOptionsArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("traffic_direction", traffic_direction) if destination_cidr is not None: - pulumi.set(__self__, "destination_cidr", destination_cidr) + _setter("destination_cidr", destination_cidr) if icmp_options is not None: - pulumi.set(__self__, "icmp_options", icmp_options) + _setter("icmp_options", icmp_options) if protocol is not None: - pulumi.set(__self__, "protocol", protocol) + _setter("protocol", protocol) if rule_action is not None: - pulumi.set(__self__, "rule_action", rule_action) + _setter("rule_action", rule_action) if source_cidr is not None: - pulumi.set(__self__, "source_cidr", source_cidr) + _setter("source_cidr", source_cidr) if tcp_options is not None: - pulumi.set(__self__, "tcp_options", tcp_options) + _setter("tcp_options", tcp_options) if udp_options is not None: - pulumi.set(__self__, "udp_options", udp_options) + _setter("udp_options", udp_options) @property @pulumi.getter(name="trafficDirection") @@ -603,9 +674,20 @@ def __init__(__self__, *, :param pulumi.Input[int] type: (Updatable) The ICMP type. :param pulumi.Input[int] code: (Updatable) The ICMP code (optional). """ - pulumi.set(__self__, "type", type) + CaptureFilterVtapCaptureFilterRuleIcmpOptionsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + code=code, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[int], + code: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if code is not None: - pulumi.set(__self__, "code", code) + _setter("code", code) @property @pulumi.getter @@ -641,10 +723,21 @@ def __init__(__self__, *, :param pulumi.Input['CaptureFilterVtapCaptureFilterRuleTcpOptionsDestinationPortRangeArgs'] destination_port_range: (Updatable) :param pulumi.Input['CaptureFilterVtapCaptureFilterRuleTcpOptionsSourcePortRangeArgs'] source_port_range: (Updatable) """ + CaptureFilterVtapCaptureFilterRuleTcpOptionsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + destination_port_range=destination_port_range, + source_port_range=source_port_range, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + destination_port_range: Optional[pulumi.Input['CaptureFilterVtapCaptureFilterRuleTcpOptionsDestinationPortRangeArgs']] = None, + source_port_range: Optional[pulumi.Input['CaptureFilterVtapCaptureFilterRuleTcpOptionsSourcePortRangeArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if destination_port_range is not None: - pulumi.set(__self__, "destination_port_range", destination_port_range) + _setter("destination_port_range", destination_port_range) if source_port_range is not None: - pulumi.set(__self__, "source_port_range", source_port_range) + _setter("source_port_range", source_port_range) @property @pulumi.getter(name="destinationPortRange") @@ -684,8 +777,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "min", min) + CaptureFilterVtapCaptureFilterRuleTcpOptionsDestinationPortRangeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: pulumi.Input[int], + min: pulumi.Input[int], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max", max) + _setter("min", min) @property @pulumi.getter @@ -729,8 +833,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "min", min) + CaptureFilterVtapCaptureFilterRuleTcpOptionsSourcePortRangeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: pulumi.Input[int], + min: pulumi.Input[int], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max", max) + _setter("min", min) @property @pulumi.getter @@ -770,10 +885,21 @@ def __init__(__self__, *, :param pulumi.Input['CaptureFilterVtapCaptureFilterRuleUdpOptionsDestinationPortRangeArgs'] destination_port_range: (Updatable) :param pulumi.Input['CaptureFilterVtapCaptureFilterRuleUdpOptionsSourcePortRangeArgs'] source_port_range: (Updatable) """ + CaptureFilterVtapCaptureFilterRuleUdpOptionsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + destination_port_range=destination_port_range, + source_port_range=source_port_range, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + destination_port_range: Optional[pulumi.Input['CaptureFilterVtapCaptureFilterRuleUdpOptionsDestinationPortRangeArgs']] = None, + source_port_range: Optional[pulumi.Input['CaptureFilterVtapCaptureFilterRuleUdpOptionsSourcePortRangeArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if destination_port_range is not None: - pulumi.set(__self__, "destination_port_range", destination_port_range) + _setter("destination_port_range", destination_port_range) if source_port_range is not None: - pulumi.set(__self__, "source_port_range", source_port_range) + _setter("source_port_range", source_port_range) @property @pulumi.getter(name="destinationPortRange") @@ -813,8 +939,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "min", min) + CaptureFilterVtapCaptureFilterRuleUdpOptionsDestinationPortRangeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: pulumi.Input[int], + min: pulumi.Input[int], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max", max) + _setter("min", min) @property @pulumi.getter @@ -858,8 +995,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "min", min) + CaptureFilterVtapCaptureFilterRuleUdpOptionsSourcePortRangeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: pulumi.Input[int], + min: pulumi.Input[int], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max", max) + _setter("min", min) @property @pulumi.getter @@ -899,9 +1047,20 @@ def __init__(__self__, *, :param pulumi.Input[str] hpc_island_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the HPC island. :param pulumi.Input[Sequence[pulumi.Input[str]]] network_block_ids: The list of network block OCIDs. """ - pulumi.set(__self__, "hpc_island_id", hpc_island_id) + ClusterNetworkClusterConfigurationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + hpc_island_id=hpc_island_id, + network_block_ids=network_block_ids, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hpc_island_id: pulumi.Input[str], + network_block_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("hpc_island_id", hpc_island_id) if network_block_ids is not None: - pulumi.set(__self__, "network_block_ids", network_block_ids) + _setter("network_block_ids", network_block_ids) @property @pulumi.getter(name="hpcIslandId") @@ -957,30 +1116,63 @@ def __init__(__self__, *, :param pulumi.Input[str] state: The current state of the cluster network. :param pulumi.Input[str] time_created: The date and time the resource was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` """ - pulumi.set(__self__, "instance_configuration_id", instance_configuration_id) - pulumi.set(__self__, "size", size) + ClusterNetworkInstancePoolArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + instance_configuration_id=instance_configuration_id, + size=size, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + instance_display_name_formatter=instance_display_name_formatter, + instance_hostname_formatter=instance_hostname_formatter, + load_balancers=load_balancers, + placement_configurations=placement_configurations, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + instance_configuration_id: pulumi.Input[str], + size: pulumi.Input[int], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + id: Optional[pulumi.Input[str]] = None, + instance_display_name_formatter: Optional[pulumi.Input[str]] = None, + instance_hostname_formatter: Optional[pulumi.Input[str]] = None, + load_balancers: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterNetworkInstancePoolLoadBalancerArgs']]]] = None, + placement_configurations: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterNetworkInstancePoolPlacementConfigurationArgs']]]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("instance_configuration_id", instance_configuration_id) + _setter("size", size) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if instance_display_name_formatter is not None: - pulumi.set(__self__, "instance_display_name_formatter", instance_display_name_formatter) + _setter("instance_display_name_formatter", instance_display_name_formatter) if instance_hostname_formatter is not None: - pulumi.set(__self__, "instance_hostname_formatter", instance_hostname_formatter) + _setter("instance_hostname_formatter", instance_hostname_formatter) if load_balancers is not None: - pulumi.set(__self__, "load_balancers", load_balancers) + _setter("load_balancers", load_balancers) if placement_configurations is not None: - pulumi.set(__self__, "placement_configurations", placement_configurations) + _setter("placement_configurations", placement_configurations) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="instanceConfigurationId") @@ -1152,20 +1344,41 @@ def __init__(__self__, *, :param pulumi.Input[str] state: The current state of the cluster network. :param pulumi.Input[str] vnic_selection: Indicates which VNIC on each instance in the instance pool should be used to associate with the load balancer. Possible values are "PrimaryVnic" or the displayName of one of the secondary VNICs on the instance configuration that is associated with the instance pool. """ + ClusterNetworkInstancePoolLoadBalancerArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + backend_set_name=backend_set_name, + id=id, + instance_pool_id=instance_pool_id, + load_balancer_id=load_balancer_id, + port=port, + state=state, + vnic_selection=vnic_selection, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backend_set_name: Optional[pulumi.Input[str]] = None, + id: Optional[pulumi.Input[str]] = None, + instance_pool_id: Optional[pulumi.Input[str]] = None, + load_balancer_id: Optional[pulumi.Input[str]] = None, + port: Optional[pulumi.Input[int]] = None, + state: Optional[pulumi.Input[str]] = None, + vnic_selection: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if backend_set_name is not None: - pulumi.set(__self__, "backend_set_name", backend_set_name) + _setter("backend_set_name", backend_set_name) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if instance_pool_id is not None: - pulumi.set(__self__, "instance_pool_id", instance_pool_id) + _setter("instance_pool_id", instance_pool_id) if load_balancer_id is not None: - pulumi.set(__self__, "load_balancer_id", load_balancer_id) + _setter("load_balancer_id", load_balancer_id) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if vnic_selection is not None: - pulumi.set(__self__, "vnic_selection", vnic_selection) + _setter("vnic_selection", vnic_selection) @property @pulumi.getter(name="backendSetName") @@ -1267,16 +1480,33 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['ClusterNetworkInstancePoolPlacementConfigurationPrimaryVnicSubnetArgs']]] primary_vnic_subnets: Details about the IPv6 primary subnet. :param pulumi.Input[Sequence[pulumi.Input['ClusterNetworkInstancePoolPlacementConfigurationSecondaryVnicSubnetArgs']]] secondary_vnic_subnets: The set of secondary VNIC data for instances in the pool. """ + ClusterNetworkInstancePoolPlacementConfigurationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + fault_domains=fault_domains, + primary_subnet_id=primary_subnet_id, + primary_vnic_subnets=primary_vnic_subnets, + secondary_vnic_subnets=secondary_vnic_subnets, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: Optional[pulumi.Input[str]] = None, + fault_domains: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + primary_subnet_id: Optional[pulumi.Input[str]] = None, + primary_vnic_subnets: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterNetworkInstancePoolPlacementConfigurationPrimaryVnicSubnetArgs']]]] = None, + secondary_vnic_subnets: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterNetworkInstancePoolPlacementConfigurationSecondaryVnicSubnetArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if fault_domains is not None: - pulumi.set(__self__, "fault_domains", fault_domains) + _setter("fault_domains", fault_domains) if primary_subnet_id is not None: - pulumi.set(__self__, "primary_subnet_id", primary_subnet_id) + _setter("primary_subnet_id", primary_subnet_id) if primary_vnic_subnets is not None: - pulumi.set(__self__, "primary_vnic_subnets", primary_vnic_subnets) + _setter("primary_vnic_subnets", primary_vnic_subnets) if secondary_vnic_subnets is not None: - pulumi.set(__self__, "secondary_vnic_subnets", secondary_vnic_subnets) + _setter("secondary_vnic_subnets", secondary_vnic_subnets) @property @pulumi.getter(name="availabilityDomain") @@ -1354,12 +1584,25 @@ def __init__(__self__, *, ** 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 """ + ClusterNetworkInstancePoolPlacementConfigurationPrimaryVnicSubnetArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + ipv6address_ipv6subnet_cidr_pair_details=ipv6address_ipv6subnet_cidr_pair_details, + is_assign_ipv6ip=is_assign_ipv6ip, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ipv6address_ipv6subnet_cidr_pair_details: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterNetworkInstancePoolPlacementConfigurationPrimaryVnicSubnetIpv6addressIpv6subnetCidrPairDetailArgs']]]] = None, + is_assign_ipv6ip: Optional[pulumi.Input[bool]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ipv6address_ipv6subnet_cidr_pair_details is not None: - pulumi.set(__self__, "ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) + _setter("ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) if is_assign_ipv6ip is not None: - pulumi.set(__self__, "is_assign_ipv6ip", is_assign_ipv6ip) + _setter("is_assign_ipv6ip", is_assign_ipv6ip) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="ipv6addressIpv6subnetCidrPairDetails") @@ -1409,8 +1652,17 @@ def __init__(__self__, *, """ :param pulumi.Input[str] ipv6subnet_cidr: Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation. """ + ClusterNetworkInstancePoolPlacementConfigurationPrimaryVnicSubnetIpv6addressIpv6subnetCidrPairDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + ipv6subnet_cidr=ipv6subnet_cidr, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ipv6subnet_cidr: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ipv6subnet_cidr is not None: - pulumi.set(__self__, "ipv6subnet_cidr", ipv6subnet_cidr) + _setter("ipv6subnet_cidr", ipv6subnet_cidr) @property @pulumi.getter(name="ipv6subnetCidr") @@ -1442,14 +1694,29 @@ def __init__(__self__, *, ** 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 """ + ClusterNetworkInstancePoolPlacementConfigurationSecondaryVnicSubnetArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + ipv6address_ipv6subnet_cidr_pair_details=ipv6address_ipv6subnet_cidr_pair_details, + is_assign_ipv6ip=is_assign_ipv6ip, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: Optional[pulumi.Input[str]] = None, + ipv6address_ipv6subnet_cidr_pair_details: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterNetworkInstancePoolPlacementConfigurationSecondaryVnicSubnetIpv6addressIpv6subnetCidrPairDetailArgs']]]] = None, + is_assign_ipv6ip: Optional[pulumi.Input[bool]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if ipv6address_ipv6subnet_cidr_pair_details is not None: - pulumi.set(__self__, "ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) + _setter("ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) if is_assign_ipv6ip is not None: - pulumi.set(__self__, "is_assign_ipv6ip", is_assign_ipv6ip) + _setter("is_assign_ipv6ip", is_assign_ipv6ip) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="displayName") @@ -1511,8 +1778,17 @@ def __init__(__self__, *, """ :param pulumi.Input[str] ipv6subnet_cidr: Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation. """ + ClusterNetworkInstancePoolPlacementConfigurationSecondaryVnicSubnetIpv6addressIpv6subnetCidrPairDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + ipv6subnet_cidr=ipv6subnet_cidr, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ipv6subnet_cidr: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ipv6subnet_cidr is not None: - pulumi.set(__self__, "ipv6subnet_cidr", ipv6subnet_cidr) + _setter("ipv6subnet_cidr", ipv6subnet_cidr) @property @pulumi.getter(name="ipv6subnetCidr") @@ -1541,15 +1817,32 @@ def __init__(__self__, *, :param pulumi.Input['ClusterNetworkPlacementConfigurationPrimaryVnicSubnetsArgs'] primary_vnic_subnets: Details about the IPv6 primary subnet. :param pulumi.Input[Sequence[pulumi.Input['ClusterNetworkPlacementConfigurationSecondaryVnicSubnetArgs']]] secondary_vnic_subnets: The set of secondary VNIC data for instances in the pool. """ - pulumi.set(__self__, "availability_domain", availability_domain) + ClusterNetworkPlacementConfigurationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + placement_constraint=placement_constraint, + primary_subnet_id=primary_subnet_id, + primary_vnic_subnets=primary_vnic_subnets, + secondary_vnic_subnets=secondary_vnic_subnets, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: pulumi.Input[str], + placement_constraint: Optional[pulumi.Input[str]] = None, + primary_subnet_id: Optional[pulumi.Input[str]] = None, + primary_vnic_subnets: Optional[pulumi.Input['ClusterNetworkPlacementConfigurationPrimaryVnicSubnetsArgs']] = None, + secondary_vnic_subnets: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterNetworkPlacementConfigurationSecondaryVnicSubnetArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) if placement_constraint is not None: - pulumi.set(__self__, "placement_constraint", placement_constraint) + _setter("placement_constraint", placement_constraint) if primary_subnet_id is not None: - pulumi.set(__self__, "primary_subnet_id", primary_subnet_id) + _setter("primary_subnet_id", primary_subnet_id) if primary_vnic_subnets is not None: - pulumi.set(__self__, "primary_vnic_subnets", primary_vnic_subnets) + _setter("primary_vnic_subnets", primary_vnic_subnets) if secondary_vnic_subnets is not None: - pulumi.set(__self__, "secondary_vnic_subnets", secondary_vnic_subnets) + _setter("secondary_vnic_subnets", secondary_vnic_subnets) @property @pulumi.getter(name="availabilityDomain") @@ -1624,11 +1917,24 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['ClusterNetworkPlacementConfigurationPrimaryVnicSubnetsIpv6addressIpv6subnetCidrPairDetailArgs']]] ipv6address_ipv6subnet_cidr_pair_details: A list of IPv6 prefix ranges from which the VNIC should be assigned an IPv6 address. You can provide only the prefix ranges and Oracle Cloud Infrastructure will select an available address from the range. You can optionally choose to leave the prefix range empty and instead provide the specific IPv6 address that should be used from within that range. :param pulumi.Input[bool] is_assign_ipv6ip: Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled subnet. Default: False. When provided you may optionally provide an IPv6 prefix (`ipv6SubnetCidr`) of your choice to assign the IPv6 address from. If `ipv6SubnetCidr` is not provided then an IPv6 prefix is chosen for you. """ - pulumi.set(__self__, "subnet_id", subnet_id) + ClusterNetworkPlacementConfigurationPrimaryVnicSubnetsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + subnet_id=subnet_id, + ipv6address_ipv6subnet_cidr_pair_details=ipv6address_ipv6subnet_cidr_pair_details, + is_assign_ipv6ip=is_assign_ipv6ip, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + subnet_id: pulumi.Input[str], + ipv6address_ipv6subnet_cidr_pair_details: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterNetworkPlacementConfigurationPrimaryVnicSubnetsIpv6addressIpv6subnetCidrPairDetailArgs']]]] = None, + is_assign_ipv6ip: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("subnet_id", subnet_id) if ipv6address_ipv6subnet_cidr_pair_details is not None: - pulumi.set(__self__, "ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) + _setter("ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) if is_assign_ipv6ip is not None: - pulumi.set(__self__, "is_assign_ipv6ip", is_assign_ipv6ip) + _setter("is_assign_ipv6ip", is_assign_ipv6ip) @property @pulumi.getter(name="subnetId") @@ -1678,8 +1984,17 @@ def __init__(__self__, *, """ :param pulumi.Input[str] ipv6subnet_cidr: Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation. """ + ClusterNetworkPlacementConfigurationPrimaryVnicSubnetsIpv6addressIpv6subnetCidrPairDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + ipv6subnet_cidr=ipv6subnet_cidr, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ipv6subnet_cidr: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ipv6subnet_cidr is not None: - pulumi.set(__self__, "ipv6subnet_cidr", ipv6subnet_cidr) + _setter("ipv6subnet_cidr", ipv6subnet_cidr) @property @pulumi.getter(name="ipv6subnetCidr") @@ -1711,13 +2026,28 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['ClusterNetworkPlacementConfigurationSecondaryVnicSubnetIpv6addressIpv6subnetCidrPairDetailArgs']]] ipv6address_ipv6subnet_cidr_pair_details: A list of IPv6 prefix ranges from which the VNIC should be assigned an IPv6 address. You can provide only the prefix ranges and Oracle Cloud Infrastructure will select an available address from the range. You can optionally choose to leave the prefix range empty and instead provide the specific IPv6 address that should be used from within that range. :param pulumi.Input[bool] is_assign_ipv6ip: Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled subnet. Default: False. When provided you may optionally provide an IPv6 prefix (`ipv6SubnetCidr`) of your choice to assign the IPv6 address from. If `ipv6SubnetCidr` is not provided then an IPv6 prefix is chosen for you. """ - pulumi.set(__self__, "subnet_id", subnet_id) + ClusterNetworkPlacementConfigurationSecondaryVnicSubnetArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + subnet_id=subnet_id, + display_name=display_name, + ipv6address_ipv6subnet_cidr_pair_details=ipv6address_ipv6subnet_cidr_pair_details, + is_assign_ipv6ip=is_assign_ipv6ip, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + subnet_id: pulumi.Input[str], + display_name: Optional[pulumi.Input[str]] = None, + ipv6address_ipv6subnet_cidr_pair_details: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterNetworkPlacementConfigurationSecondaryVnicSubnetIpv6addressIpv6subnetCidrPairDetailArgs']]]] = None, + is_assign_ipv6ip: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("subnet_id", subnet_id) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if ipv6address_ipv6subnet_cidr_pair_details is not None: - pulumi.set(__self__, "ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) + _setter("ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) if is_assign_ipv6ip is not None: - pulumi.set(__self__, "is_assign_ipv6ip", is_assign_ipv6ip) + _setter("is_assign_ipv6ip", is_assign_ipv6ip) @property @pulumi.getter(name="subnetId") @@ -1779,8 +2109,17 @@ def __init__(__self__, *, """ :param pulumi.Input[str] ipv6subnet_cidr: Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation. """ + ClusterNetworkPlacementConfigurationSecondaryVnicSubnetIpv6addressIpv6subnetCidrPairDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + ipv6subnet_cidr=ipv6subnet_cidr, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ipv6subnet_cidr: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ipv6subnet_cidr is not None: - pulumi.set(__self__, "ipv6subnet_cidr", ipv6subnet_cidr) + _setter("ipv6subnet_cidr", ipv6subnet_cidr) @property @pulumi.getter(name="ipv6subnetCidr") @@ -1812,15 +2151,32 @@ def __init__(__self__, *, If you do not specify a fault domain, the capacity report includes information about all fault domains. :param pulumi.Input['ComputeCapacityReportShapeAvailabilityInstanceShapeConfigArgs'] instance_shape_config: The shape configuration for a shape in a capacity report. """ - pulumi.set(__self__, "instance_shape", instance_shape) + ComputeCapacityReportShapeAvailabilityArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + instance_shape=instance_shape, + availability_status=availability_status, + available_count=available_count, + fault_domain=fault_domain, + instance_shape_config=instance_shape_config, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + instance_shape: pulumi.Input[str], + availability_status: Optional[pulumi.Input[str]] = None, + available_count: Optional[pulumi.Input[str]] = None, + fault_domain: Optional[pulumi.Input[str]] = None, + instance_shape_config: Optional[pulumi.Input['ComputeCapacityReportShapeAvailabilityInstanceShapeConfigArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("instance_shape", instance_shape) if availability_status is not None: - pulumi.set(__self__, "availability_status", availability_status) + _setter("availability_status", availability_status) if available_count is not None: - pulumi.set(__self__, "available_count", available_count) + _setter("available_count", available_count) if fault_domain is not None: - pulumi.set(__self__, "fault_domain", fault_domain) + _setter("fault_domain", fault_domain) if instance_shape_config is not None: - pulumi.set(__self__, "instance_shape_config", instance_shape_config) + _setter("instance_shape_config", instance_shape_config) @property @pulumi.getter(name="instanceShape") @@ -1900,12 +2256,25 @@ def __init__(__self__, *, ** 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 """ + ComputeCapacityReportShapeAvailabilityInstanceShapeConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + nvmes=nvmes, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: Optional[pulumi.Input[float]] = None, + nvmes: Optional[pulumi.Input[int]] = None, + ocpus: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) if nvmes is not None: - pulumi.set(__self__, "nvmes", nvmes) + _setter("nvmes", nvmes) if ocpus is not None: - pulumi.set(__self__, "ocpus", ocpus) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -1977,16 +2346,35 @@ def __init__(__self__, *, For more information about customizing the resources that are allocated to flexible shapes, see [Flexible Shapes](https://docs.cloud.oracle.com/iaas/Content/Compute/References/computeshapes.htm#flexible). :param pulumi.Input[str] used_count: The amount of capacity in use out of the total capacity reserved in this capacity configuration. """ - pulumi.set(__self__, "instance_shape", instance_shape) - pulumi.set(__self__, "reserved_count", reserved_count) + ComputeCapacityReservationInstanceReservationConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + instance_shape=instance_shape, + reserved_count=reserved_count, + cluster_config=cluster_config, + fault_domain=fault_domain, + instance_shape_config=instance_shape_config, + used_count=used_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + instance_shape: pulumi.Input[str], + reserved_count: pulumi.Input[str], + cluster_config: Optional[pulumi.Input['ComputeCapacityReservationInstanceReservationConfigClusterConfigArgs']] = None, + fault_domain: Optional[pulumi.Input[str]] = None, + instance_shape_config: Optional[pulumi.Input['ComputeCapacityReservationInstanceReservationConfigInstanceShapeConfigArgs']] = None, + used_count: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("instance_shape", instance_shape) + _setter("reserved_count", reserved_count) if cluster_config is not None: - pulumi.set(__self__, "cluster_config", cluster_config) + _setter("cluster_config", cluster_config) if fault_domain is not None: - pulumi.set(__self__, "fault_domain", fault_domain) + _setter("fault_domain", fault_domain) if instance_shape_config is not None: - pulumi.set(__self__, "instance_shape_config", instance_shape_config) + _setter("instance_shape_config", instance_shape_config) if used_count is not None: - pulumi.set(__self__, "used_count", used_count) + _setter("used_count", used_count) @property @pulumi.getter(name="instanceShape") @@ -2082,9 +2470,20 @@ def __init__(__self__, *, :param pulumi.Input[str] hpc_island_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the HPC island. :param pulumi.Input[Sequence[pulumi.Input[str]]] network_block_ids: (Updatable) The list of OCIDs of the network blocks. """ - pulumi.set(__self__, "hpc_island_id", hpc_island_id) + ComputeCapacityReservationInstanceReservationConfigClusterConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + hpc_island_id=hpc_island_id, + network_block_ids=network_block_ids, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hpc_island_id: pulumi.Input[str], + network_block_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("hpc_island_id", hpc_island_id) if network_block_ids is not None: - pulumi.set(__self__, "network_block_ids", network_block_ids) + _setter("network_block_ids", network_block_ids) @property @pulumi.getter(name="hpcIslandId") @@ -2120,10 +2519,21 @@ def __init__(__self__, *, :param pulumi.Input[float] memory_in_gbs: (Updatable) The total amount of memory available to the instance, in gigabytes. :param pulumi.Input[float] ocpus: (Updatable) The total number of OCPUs available to the instance. """ + ComputeCapacityReservationInstanceReservationConfigInstanceShapeConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: Optional[pulumi.Input[float]] = None, + ocpus: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) if ocpus is not None: - pulumi.set(__self__, "ocpus", ocpus) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -2167,13 +2577,28 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_unprotected_traffic_allowed: (Updatable) Indicates whether unencrypted traffic is allowed if MACsec Key Agreement protocol (MKA) fails. :param pulumi.Input['CrossConnectGroupMacsecPropertiesPrimaryKeyArgs'] primary_key: (Updatable) Defines the secret [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)s held in Vault that represent the MACsec key. """ - pulumi.set(__self__, "state", state) + CrossConnectGroupMacsecPropertiesArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + state=state, + encryption_cipher=encryption_cipher, + is_unprotected_traffic_allowed=is_unprotected_traffic_allowed, + primary_key=primary_key, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + state: pulumi.Input[str], + encryption_cipher: Optional[pulumi.Input[str]] = None, + is_unprotected_traffic_allowed: Optional[pulumi.Input[bool]] = None, + primary_key: Optional[pulumi.Input['CrossConnectGroupMacsecPropertiesPrimaryKeyArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("state", state) if encryption_cipher is not None: - pulumi.set(__self__, "encryption_cipher", encryption_cipher) + _setter("encryption_cipher", encryption_cipher) if is_unprotected_traffic_allowed is not None: - pulumi.set(__self__, "is_unprotected_traffic_allowed", is_unprotected_traffic_allowed) + _setter("is_unprotected_traffic_allowed", is_unprotected_traffic_allowed) if primary_key is not None: - pulumi.set(__self__, "primary_key", primary_key) + _setter("primary_key", primary_key) @property @pulumi.getter @@ -2245,12 +2670,27 @@ def __init__(__self__, *, :param pulumi.Input[str] connectivity_association_key_secret_version: The secret version of the `connectivityAssociationKey` secret in Vault. :param pulumi.Input[str] connectivity_association_name_secret_version: The secret version of the connectivity association name secret in Vault. """ - pulumi.set(__self__, "connectivity_association_key_secret_id", connectivity_association_key_secret_id) - pulumi.set(__self__, "connectivity_association_name_secret_id", connectivity_association_name_secret_id) + CrossConnectGroupMacsecPropertiesPrimaryKeyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + connectivity_association_key_secret_id=connectivity_association_key_secret_id, + connectivity_association_name_secret_id=connectivity_association_name_secret_id, + connectivity_association_key_secret_version=connectivity_association_key_secret_version, + connectivity_association_name_secret_version=connectivity_association_name_secret_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + connectivity_association_key_secret_id: pulumi.Input[str], + connectivity_association_name_secret_id: pulumi.Input[str], + connectivity_association_key_secret_version: Optional[pulumi.Input[str]] = None, + connectivity_association_name_secret_version: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("connectivity_association_key_secret_id", connectivity_association_key_secret_id) + _setter("connectivity_association_name_secret_id", connectivity_association_name_secret_id) if connectivity_association_key_secret_version is not None: - pulumi.set(__self__, "connectivity_association_key_secret_version", connectivity_association_key_secret_version) + _setter("connectivity_association_key_secret_version", connectivity_association_key_secret_version) if connectivity_association_name_secret_version is not None: - pulumi.set(__self__, "connectivity_association_name_secret_version", connectivity_association_name_secret_version) + _setter("connectivity_association_name_secret_version", connectivity_association_name_secret_version) @property @pulumi.getter(name="connectivityAssociationKeySecretId") @@ -2318,13 +2758,28 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_unprotected_traffic_allowed: (Updatable) Indicates whether unencrypted traffic is allowed if MACsec Key Agreement protocol (MKA) fails. :param pulumi.Input['CrossConnectMacsecPropertiesPrimaryKeyArgs'] primary_key: (Updatable) Defines the secret [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)s held in Vault that represent the MACsec key. """ - pulumi.set(__self__, "state", state) + CrossConnectMacsecPropertiesArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + state=state, + encryption_cipher=encryption_cipher, + is_unprotected_traffic_allowed=is_unprotected_traffic_allowed, + primary_key=primary_key, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + state: pulumi.Input[str], + encryption_cipher: Optional[pulumi.Input[str]] = None, + is_unprotected_traffic_allowed: Optional[pulumi.Input[bool]] = None, + primary_key: Optional[pulumi.Input['CrossConnectMacsecPropertiesPrimaryKeyArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("state", state) if encryption_cipher is not None: - pulumi.set(__self__, "encryption_cipher", encryption_cipher) + _setter("encryption_cipher", encryption_cipher) if is_unprotected_traffic_allowed is not None: - pulumi.set(__self__, "is_unprotected_traffic_allowed", is_unprotected_traffic_allowed) + _setter("is_unprotected_traffic_allowed", is_unprotected_traffic_allowed) if primary_key is not None: - pulumi.set(__self__, "primary_key", primary_key) + _setter("primary_key", primary_key) @property @pulumi.getter @@ -2392,12 +2847,27 @@ def __init__(__self__, *, :param pulumi.Input[str] connectivity_association_key_secret_version: The secret version of the `connectivityAssociationKey` secret in Vault. :param pulumi.Input[str] connectivity_association_name_secret_version: The secret version of the connectivity association name secret in Vault. """ - pulumi.set(__self__, "connectivity_association_key_secret_id", connectivity_association_key_secret_id) - pulumi.set(__self__, "connectivity_association_name_secret_id", connectivity_association_name_secret_id) + CrossConnectMacsecPropertiesPrimaryKeyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + connectivity_association_key_secret_id=connectivity_association_key_secret_id, + connectivity_association_name_secret_id=connectivity_association_name_secret_id, + connectivity_association_key_secret_version=connectivity_association_key_secret_version, + connectivity_association_name_secret_version=connectivity_association_name_secret_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + connectivity_association_key_secret_id: pulumi.Input[str], + connectivity_association_name_secret_id: pulumi.Input[str], + connectivity_association_key_secret_version: Optional[pulumi.Input[str]] = None, + connectivity_association_name_secret_version: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("connectivity_association_key_secret_id", connectivity_association_key_secret_id) + _setter("connectivity_association_name_secret_id", connectivity_association_name_secret_id) if connectivity_association_key_secret_version is not None: - pulumi.set(__self__, "connectivity_association_key_secret_version", connectivity_association_key_secret_version) + _setter("connectivity_association_key_secret_version", connectivity_association_key_secret_version) if connectivity_association_name_secret_version is not None: - pulumi.set(__self__, "connectivity_association_name_secret_version", connectivity_association_name_secret_version) + _setter("connectivity_association_name_secret_version", connectivity_association_name_secret_version) @property @pulumi.getter(name="connectivityAssociationKeySecretId") @@ -2459,13 +2929,28 @@ def __init__(__self__, *, custom_dns_servers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, search_domain_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, server_type: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "type", type) + DefaultDhcpOptionsOptionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + custom_dns_servers=custom_dns_servers, + search_domain_names=search_domain_names, + server_type=server_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + custom_dns_servers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + search_domain_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + server_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if custom_dns_servers is not None: - pulumi.set(__self__, "custom_dns_servers", custom_dns_servers) + _setter("custom_dns_servers", custom_dns_servers) if search_domain_names is not None: - pulumi.set(__self__, "search_domain_names", search_domain_names) + _setter("search_domain_names", search_domain_names) if server_type is not None: - pulumi.set(__self__, "server_type", server_type) + _setter("server_type", server_type) @property @pulumi.getter @@ -2513,20 +2998,39 @@ def __init__(__self__, *, destination: Optional[pulumi.Input[str]] = None, destination_type: Optional[pulumi.Input[str]] = None, route_type: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "network_entity_id", network_entity_id) + DefaultRouteTableRouteRuleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + network_entity_id=network_entity_id, + cidr_block=cidr_block, + description=description, + destination=destination, + destination_type=destination_type, + route_type=route_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + network_entity_id: pulumi.Input[str], + cidr_block: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + destination: Optional[pulumi.Input[str]] = None, + destination_type: Optional[pulumi.Input[str]] = None, + route_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("network_entity_id", network_entity_id) if cidr_block is not None: warnings.warn("""The 'cidr_block' field has been deprecated. Please use 'destination' instead.""", DeprecationWarning) pulumi.log.warn("""cidr_block is deprecated: The 'cidr_block' field has been deprecated. Please use 'destination' instead.""") if cidr_block is not None: - pulumi.set(__self__, "cidr_block", cidr_block) + _setter("cidr_block", cidr_block) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if destination is not None: - pulumi.set(__self__, "destination", destination) + _setter("destination", destination) if destination_type is not None: - pulumi.set(__self__, "destination_type", destination_type) + _setter("destination_type", destination_type) if route_type is not None: - pulumi.set(__self__, "route_type", route_type) + _setter("route_type", route_type) @property @pulumi.getter(name="networkEntityId") @@ -2597,20 +3101,43 @@ def __init__(__self__, *, stateless: Optional[pulumi.Input[bool]] = None, tcp_options: Optional[pulumi.Input['DefaultSecurityListEgressSecurityRuleTcpOptionsArgs']] = None, udp_options: Optional[pulumi.Input['DefaultSecurityListEgressSecurityRuleUdpOptionsArgs']] = None): - pulumi.set(__self__, "destination", destination) - pulumi.set(__self__, "protocol", protocol) + DefaultSecurityListEgressSecurityRuleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + destination=destination, + protocol=protocol, + description=description, + destination_type=destination_type, + icmp_options=icmp_options, + stateless=stateless, + tcp_options=tcp_options, + udp_options=udp_options, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + destination: pulumi.Input[str], + protocol: pulumi.Input[str], + description: Optional[pulumi.Input[str]] = None, + destination_type: Optional[pulumi.Input[str]] = None, + icmp_options: Optional[pulumi.Input['DefaultSecurityListEgressSecurityRuleIcmpOptionsArgs']] = None, + stateless: Optional[pulumi.Input[bool]] = None, + tcp_options: Optional[pulumi.Input['DefaultSecurityListEgressSecurityRuleTcpOptionsArgs']] = None, + udp_options: Optional[pulumi.Input['DefaultSecurityListEgressSecurityRuleUdpOptionsArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("destination", destination) + _setter("protocol", protocol) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if destination_type is not None: - pulumi.set(__self__, "destination_type", destination_type) + _setter("destination_type", destination_type) if icmp_options is not None: - pulumi.set(__self__, "icmp_options", icmp_options) + _setter("icmp_options", icmp_options) if stateless is not None: - pulumi.set(__self__, "stateless", stateless) + _setter("stateless", stateless) if tcp_options is not None: - pulumi.set(__self__, "tcp_options", tcp_options) + _setter("tcp_options", tcp_options) if udp_options is not None: - pulumi.set(__self__, "udp_options", udp_options) + _setter("udp_options", udp_options) @property @pulumi.getter @@ -2690,9 +3217,20 @@ class DefaultSecurityListEgressSecurityRuleIcmpOptionsArgs: def __init__(__self__, *, type: pulumi.Input[int], code: Optional[pulumi.Input[int]] = None): - pulumi.set(__self__, "type", type) + DefaultSecurityListEgressSecurityRuleIcmpOptionsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + code=code, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[int], + code: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if code is not None: - pulumi.set(__self__, "code", code) + _setter("code", code) @property @pulumi.getter @@ -2719,12 +3257,25 @@ def __init__(__self__, *, max: Optional[pulumi.Input[int]] = None, min: Optional[pulumi.Input[int]] = None, source_port_range: Optional[pulumi.Input['DefaultSecurityListEgressSecurityRuleTcpOptionsSourcePortRangeArgs']] = None): + DefaultSecurityListEgressSecurityRuleTcpOptionsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + source_port_range=source_port_range, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: Optional[pulumi.Input[int]] = None, + min: Optional[pulumi.Input[int]] = None, + source_port_range: Optional[pulumi.Input['DefaultSecurityListEgressSecurityRuleTcpOptionsSourcePortRangeArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if max is not None: - pulumi.set(__self__, "max", max) + _setter("max", max) if min is not None: - pulumi.set(__self__, "min", min) + _setter("min", min) if source_port_range is not None: - pulumi.set(__self__, "source_port_range", source_port_range) + _setter("source_port_range", source_port_range) @property @pulumi.getter @@ -2759,8 +3310,19 @@ class DefaultSecurityListEgressSecurityRuleTcpOptionsSourcePortRangeArgs: def __init__(__self__, *, max: pulumi.Input[int], min: pulumi.Input[int]): - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "min", min) + DefaultSecurityListEgressSecurityRuleTcpOptionsSourcePortRangeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: pulumi.Input[int], + min: pulumi.Input[int], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max", max) + _setter("min", min) @property @pulumi.getter @@ -2787,12 +3349,25 @@ def __init__(__self__, *, max: Optional[pulumi.Input[int]] = None, min: Optional[pulumi.Input[int]] = None, source_port_range: Optional[pulumi.Input['DefaultSecurityListEgressSecurityRuleUdpOptionsSourcePortRangeArgs']] = None): + DefaultSecurityListEgressSecurityRuleUdpOptionsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + source_port_range=source_port_range, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: Optional[pulumi.Input[int]] = None, + min: Optional[pulumi.Input[int]] = None, + source_port_range: Optional[pulumi.Input['DefaultSecurityListEgressSecurityRuleUdpOptionsSourcePortRangeArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if max is not None: - pulumi.set(__self__, "max", max) + _setter("max", max) if min is not None: - pulumi.set(__self__, "min", min) + _setter("min", min) if source_port_range is not None: - pulumi.set(__self__, "source_port_range", source_port_range) + _setter("source_port_range", source_port_range) @property @pulumi.getter @@ -2827,8 +3402,19 @@ class DefaultSecurityListEgressSecurityRuleUdpOptionsSourcePortRangeArgs: def __init__(__self__, *, max: pulumi.Input[int], min: pulumi.Input[int]): - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "min", min) + DefaultSecurityListEgressSecurityRuleUdpOptionsSourcePortRangeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: pulumi.Input[int], + min: pulumi.Input[int], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max", max) + _setter("min", min) @property @pulumi.getter @@ -2860,20 +3446,43 @@ def __init__(__self__, *, stateless: Optional[pulumi.Input[bool]] = None, tcp_options: Optional[pulumi.Input['DefaultSecurityListIngressSecurityRuleTcpOptionsArgs']] = None, udp_options: Optional[pulumi.Input['DefaultSecurityListIngressSecurityRuleUdpOptionsArgs']] = None): - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "source", source) + DefaultSecurityListIngressSecurityRuleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + protocol=protocol, + source=source, + description=description, + icmp_options=icmp_options, + source_type=source_type, + stateless=stateless, + tcp_options=tcp_options, + udp_options=udp_options, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + protocol: pulumi.Input[str], + source: pulumi.Input[str], + description: Optional[pulumi.Input[str]] = None, + icmp_options: Optional[pulumi.Input['DefaultSecurityListIngressSecurityRuleIcmpOptionsArgs']] = None, + source_type: Optional[pulumi.Input[str]] = None, + stateless: Optional[pulumi.Input[bool]] = None, + tcp_options: Optional[pulumi.Input['DefaultSecurityListIngressSecurityRuleTcpOptionsArgs']] = None, + udp_options: Optional[pulumi.Input['DefaultSecurityListIngressSecurityRuleUdpOptionsArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("protocol", protocol) + _setter("source", source) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if icmp_options is not None: - pulumi.set(__self__, "icmp_options", icmp_options) + _setter("icmp_options", icmp_options) if source_type is not None: - pulumi.set(__self__, "source_type", source_type) + _setter("source_type", source_type) if stateless is not None: - pulumi.set(__self__, "stateless", stateless) + _setter("stateless", stateless) if tcp_options is not None: - pulumi.set(__self__, "tcp_options", tcp_options) + _setter("tcp_options", tcp_options) if udp_options is not None: - pulumi.set(__self__, "udp_options", udp_options) + _setter("udp_options", udp_options) @property @pulumi.getter @@ -2953,9 +3562,20 @@ class DefaultSecurityListIngressSecurityRuleIcmpOptionsArgs: def __init__(__self__, *, type: pulumi.Input[int], code: Optional[pulumi.Input[int]] = None): - pulumi.set(__self__, "type", type) + DefaultSecurityListIngressSecurityRuleIcmpOptionsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + code=code, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[int], + code: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if code is not None: - pulumi.set(__self__, "code", code) + _setter("code", code) @property @pulumi.getter @@ -2982,12 +3602,25 @@ def __init__(__self__, *, max: Optional[pulumi.Input[int]] = None, min: Optional[pulumi.Input[int]] = None, source_port_range: Optional[pulumi.Input['DefaultSecurityListIngressSecurityRuleTcpOptionsSourcePortRangeArgs']] = None): + DefaultSecurityListIngressSecurityRuleTcpOptionsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + source_port_range=source_port_range, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: Optional[pulumi.Input[int]] = None, + min: Optional[pulumi.Input[int]] = None, + source_port_range: Optional[pulumi.Input['DefaultSecurityListIngressSecurityRuleTcpOptionsSourcePortRangeArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if max is not None: - pulumi.set(__self__, "max", max) + _setter("max", max) if min is not None: - pulumi.set(__self__, "min", min) + _setter("min", min) if source_port_range is not None: - pulumi.set(__self__, "source_port_range", source_port_range) + _setter("source_port_range", source_port_range) @property @pulumi.getter @@ -3022,8 +3655,19 @@ class DefaultSecurityListIngressSecurityRuleTcpOptionsSourcePortRangeArgs: def __init__(__self__, *, max: pulumi.Input[int], min: pulumi.Input[int]): - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "min", min) + DefaultSecurityListIngressSecurityRuleTcpOptionsSourcePortRangeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: pulumi.Input[int], + min: pulumi.Input[int], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max", max) + _setter("min", min) @property @pulumi.getter @@ -3050,12 +3694,25 @@ def __init__(__self__, *, max: Optional[pulumi.Input[int]] = None, min: Optional[pulumi.Input[int]] = None, source_port_range: Optional[pulumi.Input['DefaultSecurityListIngressSecurityRuleUdpOptionsSourcePortRangeArgs']] = None): + DefaultSecurityListIngressSecurityRuleUdpOptionsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + source_port_range=source_port_range, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: Optional[pulumi.Input[int]] = None, + min: Optional[pulumi.Input[int]] = None, + source_port_range: Optional[pulumi.Input['DefaultSecurityListIngressSecurityRuleUdpOptionsSourcePortRangeArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if max is not None: - pulumi.set(__self__, "max", max) + _setter("max", max) if min is not None: - pulumi.set(__self__, "min", min) + _setter("min", min) if source_port_range is not None: - pulumi.set(__self__, "source_port_range", source_port_range) + _setter("source_port_range", source_port_range) @property @pulumi.getter @@ -3090,8 +3747,19 @@ class DefaultSecurityListIngressSecurityRuleUdpOptionsSourcePortRangeArgs: def __init__(__self__, *, max: pulumi.Input[int], min: pulumi.Input[int]): - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "min", min) + DefaultSecurityListIngressSecurityRuleUdpOptionsSourcePortRangeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: pulumi.Input[int], + min: pulumi.Input[int], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max", max) + _setter("min", min) @property @pulumi.getter @@ -3132,13 +3800,28 @@ def __init__(__self__, *, * **VcnLocalPlusInternet:** Also referred to as "Internet and VCN Resolver". Instances can resolve internet hostnames (no internet gateway is required), and can resolve hostnames of instances in the VCN. This is the default value in the default set of DHCP options in the VCN. For the Internet and VCN Resolver to work across the VCN, there must also be a DNS label set for the VCN, a DNS label set for each subnet, and a hostname for each instance. The Internet and VCN Resolver also enables reverse DNS lookup, which lets you determine the hostname corresponding to the private IP address. For more information, see [DNS in Your Virtual Cloud Network](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm). * **CustomDnsServer:** Instances use a DNS server of your choice (three maximum). """ - pulumi.set(__self__, "type", type) + DhcpOptionsOptionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + custom_dns_servers=custom_dns_servers, + search_domain_names=search_domain_names, + server_type=server_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + custom_dns_servers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + search_domain_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + server_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if custom_dns_servers is not None: - pulumi.set(__self__, "custom_dns_servers", custom_dns_servers) + _setter("custom_dns_servers", custom_dns_servers) if search_domain_names is not None: - pulumi.set(__self__, "search_domain_names", search_domain_names) + _setter("search_domain_names", search_domain_names) if server_type is not None: - pulumi.set(__self__, "server_type", server_type) + _setter("server_type", server_type) @property @pulumi.getter @@ -3213,12 +3896,27 @@ def __init__(__self__, *, * [Transit Routing: Access to Multiple VCNs in Same Region](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm) * [Transit Routing: Private Access to Oracle Services](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm) This field is deprecated. Instead, use the `networkDetails` field to view the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the attached resource. """ - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "type", type) + DrgAttachmentManagementNetworkDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + type=type, + ipsec_connection_id=ipsec_connection_id, + route_table_id=route_table_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: pulumi.Input[str], + type: pulumi.Input[str], + ipsec_connection_id: Optional[pulumi.Input[str]] = None, + route_table_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) + _setter("type", type) if ipsec_connection_id is not None: - pulumi.set(__self__, "ipsec_connection_id", ipsec_connection_id) + _setter("ipsec_connection_id", ipsec_connection_id) if route_table_id is not None: - pulumi.set(__self__, "route_table_id", route_table_id) + _setter("route_table_id", route_table_id) @property @pulumi.getter @@ -3299,21 +3997,44 @@ def __init__(__self__, *, :param pulumi.Input[bool] transport_only_mode: Boolean flag that determines wether all traffic over the virtual circuits is encrypted. Example: `true` :param pulumi.Input[str] vcn_route_type: (Updatable) Indicates whether the VCN CIDRs or the individual subnet CIDRs are imported from the attachment. Routes from the VCN ingress route table are always imported. """ - pulumi.set(__self__, "type", type) + DrgAttachmentNetworkDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + id=id, + ids=ids, + ipsec_connection_id=ipsec_connection_id, + route_table_id=route_table_id, + transport_attachment_id=transport_attachment_id, + transport_only_mode=transport_only_mode, + vcn_route_type=vcn_route_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + id: Optional[pulumi.Input[str]] = None, + ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + ipsec_connection_id: Optional[pulumi.Input[str]] = None, + route_table_id: Optional[pulumi.Input[str]] = None, + transport_attachment_id: Optional[pulumi.Input[str]] = None, + transport_only_mode: Optional[pulumi.Input[bool]] = None, + vcn_route_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if ids is not None: - pulumi.set(__self__, "ids", ids) + _setter("ids", ids) if ipsec_connection_id is not None: - pulumi.set(__self__, "ipsec_connection_id", ipsec_connection_id) + _setter("ipsec_connection_id", ipsec_connection_id) if route_table_id is not None: - pulumi.set(__self__, "route_table_id", route_table_id) + _setter("route_table_id", route_table_id) if transport_attachment_id is not None: - pulumi.set(__self__, "transport_attachment_id", transport_attachment_id) + _setter("transport_attachment_id", transport_attachment_id) if transport_only_mode is not None: - pulumi.set(__self__, "transport_only_mode", transport_only_mode) + _setter("transport_only_mode", transport_only_mode) if vcn_route_type is not None: - pulumi.set(__self__, "vcn_route_type", vcn_route_type) + _setter("vcn_route_type", vcn_route_type) @property @pulumi.getter @@ -3424,8 +4145,17 @@ def __init__(__self__, *, """ :param pulumi.Input[str] id: The Oracle-assigned ID of the DRG attachment """ + DrgAttachmentsListDrgAllAttachmentArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) @property @pulumi.getter @@ -3453,14 +4183,29 @@ def __init__(__self__, *, :param pulumi.Input[str] vcn: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the default DRG route table to be assigned to DRG attachments of type VCN on creation. :param pulumi.Input[str] virtual_circuit: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the default DRG route table to be assigned to DRG attachments of type VIRTUAL_CIRCUIT on creation. """ + DrgDefaultDrgRouteTableArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + ipsec_tunnel=ipsec_tunnel, + remote_peering_connection=remote_peering_connection, + vcn=vcn, + virtual_circuit=virtual_circuit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ipsec_tunnel: Optional[pulumi.Input[str]] = None, + remote_peering_connection: Optional[pulumi.Input[str]] = None, + vcn: Optional[pulumi.Input[str]] = None, + virtual_circuit: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ipsec_tunnel is not None: - pulumi.set(__self__, "ipsec_tunnel", ipsec_tunnel) + _setter("ipsec_tunnel", ipsec_tunnel) if remote_peering_connection is not None: - pulumi.set(__self__, "remote_peering_connection", remote_peering_connection) + _setter("remote_peering_connection", remote_peering_connection) if vcn is not None: - pulumi.set(__self__, "vcn", vcn) + _setter("vcn", vcn) if virtual_circuit is not None: - pulumi.set(__self__, "virtual_circuit", virtual_circuit) + _setter("virtual_circuit", virtual_circuit) @property @pulumi.getter(name="ipsecTunnel") @@ -3522,12 +4267,25 @@ def __init__(__self__, *, :param pulumi.Input[str] drg_attachment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG attachment. :param pulumi.Input[str] match_type: (Updatable) The type of the match criteria for a route distribution statement. """ + DrgRouteDistributionStatementMatchCriteriaArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + attachment_type=attachment_type, + drg_attachment_id=drg_attachment_id, + match_type=match_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attachment_type: Optional[pulumi.Input[str]] = None, + drg_attachment_id: Optional[pulumi.Input[str]] = None, + match_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if attachment_type is not None: - pulumi.set(__self__, "attachment_type", attachment_type) + _setter("attachment_type", attachment_type) if drg_attachment_id is not None: - pulumi.set(__self__, "drg_attachment_id", drg_attachment_id) + _setter("drg_attachment_id", drg_attachment_id) if match_type is not None: - pulumi.set(__self__, "match_type", match_type) + _setter("match_type", match_type) @property @pulumi.getter(name="attachmentType") @@ -3575,10 +4333,21 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_management_supported: This attribute is not used. :param pulumi.Input[bool] is_monitoring_supported: This attribute is not used. """ + ImageAgentFeatureArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_management_supported=is_management_supported, + is_monitoring_supported=is_monitoring_supported, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_management_supported: Optional[pulumi.Input[bool]] = None, + is_monitoring_supported: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_management_supported is not None: - pulumi.set(__self__, "is_management_supported", is_management_supported) + _setter("is_management_supported", is_management_supported) if is_monitoring_supported is not None: - pulumi.set(__self__, "is_monitoring_supported", is_monitoring_supported) + _setter("is_monitoring_supported", is_monitoring_supported) @property @pulumi.getter(name="isManagementSupported") @@ -3626,21 +4395,44 @@ def __init__(__self__, *, :param pulumi.Input[str] source_image_type: The format of the image to be imported. Only monolithic images are supported. This attribute is not used for exported Oracle images with the Oracle Cloud Infrastructure image format. Allowed values are: :param pulumi.Input[str] source_uri: The Object Storage URL for the image. """ - pulumi.set(__self__, "source_type", source_type) + ImageImageSourceDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + source_type=source_type, + bucket_name=bucket_name, + namespace_name=namespace_name, + object_name=object_name, + operating_system=operating_system, + operating_system_version=operating_system_version, + source_image_type=source_image_type, + source_uri=source_uri, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + source_type: pulumi.Input[str], + bucket_name: Optional[pulumi.Input[str]] = None, + namespace_name: Optional[pulumi.Input[str]] = None, + object_name: Optional[pulumi.Input[str]] = None, + operating_system: Optional[pulumi.Input[str]] = None, + operating_system_version: Optional[pulumi.Input[str]] = None, + source_image_type: Optional[pulumi.Input[str]] = None, + source_uri: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("source_type", source_type) if bucket_name is not None: - pulumi.set(__self__, "bucket_name", bucket_name) + _setter("bucket_name", bucket_name) if namespace_name is not None: - pulumi.set(__self__, "namespace_name", namespace_name) + _setter("namespace_name", namespace_name) if object_name is not None: - pulumi.set(__self__, "object_name", object_name) + _setter("object_name", object_name) if operating_system is not None: - pulumi.set(__self__, "operating_system", operating_system) + _setter("operating_system", operating_system) if operating_system_version is not None: - pulumi.set(__self__, "operating_system_version", operating_system_version) + _setter("operating_system_version", operating_system_version) if source_image_type is not None: - pulumi.set(__self__, "source_image_type", source_image_type) + _setter("source_image_type", source_image_type) if source_uri is not None: - pulumi.set(__self__, "source_uri", source_uri) + _setter("source_uri", source_uri) @property @pulumi.getter(name="sourceType") @@ -3756,18 +4548,37 @@ def __init__(__self__, *, :param pulumi.Input[str] network_type: Emulation type for the physical network interface card (NIC). :param pulumi.Input[str] remote_data_volume_type: Emulation type for volume. """ + ImageLaunchOptionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + boot_volume_type=boot_volume_type, + firmware=firmware, + is_consistent_volume_naming_enabled=is_consistent_volume_naming_enabled, + is_pv_encryption_in_transit_enabled=is_pv_encryption_in_transit_enabled, + network_type=network_type, + remote_data_volume_type=remote_data_volume_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + boot_volume_type: Optional[pulumi.Input[str]] = None, + firmware: Optional[pulumi.Input[str]] = None, + is_consistent_volume_naming_enabled: Optional[pulumi.Input[bool]] = None, + is_pv_encryption_in_transit_enabled: Optional[pulumi.Input[bool]] = None, + network_type: Optional[pulumi.Input[str]] = None, + remote_data_volume_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if boot_volume_type is not None: - pulumi.set(__self__, "boot_volume_type", boot_volume_type) + _setter("boot_volume_type", boot_volume_type) if firmware is not None: - pulumi.set(__self__, "firmware", firmware) + _setter("firmware", firmware) if is_consistent_volume_naming_enabled is not None: - pulumi.set(__self__, "is_consistent_volume_naming_enabled", is_consistent_volume_naming_enabled) + _setter("is_consistent_volume_naming_enabled", is_consistent_volume_naming_enabled) if is_pv_encryption_in_transit_enabled is not None: - pulumi.set(__self__, "is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) + _setter("is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) if network_type is not None: - pulumi.set(__self__, "network_type", network_type) + _setter("network_type", network_type) if remote_data_volume_type is not None: - pulumi.set(__self__, "remote_data_volume_type", remote_data_volume_type) + _setter("remote_data_volume_type", remote_data_volume_type) @property @pulumi.getter(name="bootVolumeType") @@ -3869,14 +4680,29 @@ def __init__(__self__, *, * If `isMonitoringDisabled` is false, all of the monitoring plugins are enabled. You can optionally disable individual monitoring plugins by providing a value in the `pluginsConfig` object. :param pulumi.Input[Sequence[pulumi.Input['InstanceAgentConfigPluginsConfigArgs']]] plugins_configs: (Updatable) The configuration of plugins associated with this instance. """ + InstanceAgentConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + are_all_plugins_disabled=are_all_plugins_disabled, + is_management_disabled=is_management_disabled, + is_monitoring_disabled=is_monitoring_disabled, + plugins_configs=plugins_configs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + are_all_plugins_disabled: Optional[pulumi.Input[bool]] = None, + is_management_disabled: Optional[pulumi.Input[bool]] = None, + is_monitoring_disabled: Optional[pulumi.Input[bool]] = None, + plugins_configs: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceAgentConfigPluginsConfigArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if are_all_plugins_disabled is not None: - pulumi.set(__self__, "are_all_plugins_disabled", are_all_plugins_disabled) + _setter("are_all_plugins_disabled", are_all_plugins_disabled) if is_management_disabled is not None: - pulumi.set(__self__, "is_management_disabled", is_management_disabled) + _setter("is_management_disabled", is_management_disabled) if is_monitoring_disabled is not None: - pulumi.set(__self__, "is_monitoring_disabled", is_monitoring_disabled) + _setter("is_monitoring_disabled", is_monitoring_disabled) if plugins_configs is not None: - pulumi.set(__self__, "plugins_configs", plugins_configs) + _setter("plugins_configs", plugins_configs) @property @pulumi.getter(name="areAllPluginsDisabled") @@ -3952,8 +4778,19 @@ def __init__(__self__, *, To enable the monitoring and management plugins, the `isMonitoringDisabled` and `isManagementDisabled` attributes must also be set to false. :param pulumi.Input[str] name: (Updatable) The plugin name. To get a list of available plugins, use the [ListInstanceagentAvailablePlugins](https://docs.cloud.oracle.com/iaas/api/#/en/instanceagent/20180530/Plugin/ListInstanceagentAvailablePlugins) operation in the Oracle Cloud Agent API. For more information about the available plugins, see [Managing Plugins with Oracle Cloud Agent](https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/manage-plugins.htm). """ - pulumi.set(__self__, "desired_state", desired_state) - pulumi.set(__self__, "name", name) + InstanceAgentConfigPluginsConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + desired_state=desired_state, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + desired_state: pulumi.Input[str], + name: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("desired_state", desired_state) + _setter("name", name) @property @pulumi.getter(name="desiredState") @@ -3991,10 +4828,21 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_live_migration_preferred: (Updatable) Whether to live migrate supported VM instances to a healthy physical VM host without disrupting running instances during infrastructure maintenance events. If null, Oracle chooses the best option for migrating the VM during infrastructure maintenance events. :param pulumi.Input[str] recovery_action: (Updatable) The lifecycle state for an instance when it is recovered after infrastructure maintenance. """ + InstanceAvailabilityConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_live_migration_preferred=is_live_migration_preferred, + recovery_action=recovery_action, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_live_migration_preferred: Optional[pulumi.Input[bool]] = None, + recovery_action: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_live_migration_preferred is not None: - pulumi.set(__self__, "is_live_migration_preferred", is_live_migration_preferred) + _setter("is_live_migration_preferred", is_live_migration_preferred) if recovery_action is not None: - pulumi.set(__self__, "recovery_action", recovery_action) + _setter("recovery_action", recovery_action) @property @pulumi.getter(name="isLiveMigrationPreferred") @@ -4038,15 +4886,32 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['InstanceConfigurationInstanceDetailsOptionArgs']]] options: Multiple Compute Instance Configuration instance details. :param pulumi.Input[Sequence[pulumi.Input['InstanceConfigurationInstanceDetailsSecondaryVnicArgs']]] secondary_vnics: Secondary VNIC parameters. """ - pulumi.set(__self__, "instance_type", instance_type) + InstanceConfigurationInstanceDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + instance_type=instance_type, + block_volumes=block_volumes, + launch_details=launch_details, + options=options, + secondary_vnics=secondary_vnics, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + instance_type: pulumi.Input[str], + block_volumes: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceConfigurationInstanceDetailsBlockVolumeArgs']]]] = None, + launch_details: Optional[pulumi.Input['InstanceConfigurationInstanceDetailsLaunchDetailsArgs']] = None, + options: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceConfigurationInstanceDetailsOptionArgs']]]] = None, + secondary_vnics: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceConfigurationInstanceDetailsSecondaryVnicArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("instance_type", instance_type) if block_volumes is not None: - pulumi.set(__self__, "block_volumes", block_volumes) + _setter("block_volumes", block_volumes) if launch_details is not None: - pulumi.set(__self__, "launch_details", launch_details) + _setter("launch_details", launch_details) if options is not None: - pulumi.set(__self__, "options", options) + _setter("options", options) if secondary_vnics is not None: - pulumi.set(__self__, "secondary_vnics", secondary_vnics) + _setter("secondary_vnics", secondary_vnics) @property @pulumi.getter(name="instanceType") @@ -4122,12 +4987,25 @@ def __init__(__self__, *, :param pulumi.Input['InstanceConfigurationInstanceDetailsBlockVolumeCreateDetailsArgs'] create_details: Creates a new block volume. Please see [CreateVolumeDetails](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/CreateVolumeDetails/) :param pulumi.Input[str] volume_id: The OCID of the volume. """ + InstanceConfigurationInstanceDetailsBlockVolumeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + attach_details=attach_details, + create_details=create_details, + volume_id=volume_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attach_details: Optional[pulumi.Input['InstanceConfigurationInstanceDetailsBlockVolumeAttachDetailsArgs']] = None, + create_details: Optional[pulumi.Input['InstanceConfigurationInstanceDetailsBlockVolumeCreateDetailsArgs']] = None, + volume_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if attach_details is not None: - pulumi.set(__self__, "attach_details", attach_details) + _setter("attach_details", attach_details) if create_details is not None: - pulumi.set(__self__, "create_details", create_details) + _setter("create_details", create_details) if volume_id is not None: - pulumi.set(__self__, "volume_id", volume_id) + _setter("volume_id", volume_id) @property @pulumi.getter(name="attachDetails") @@ -4185,19 +5063,40 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_shareable: Whether the attachment should be created in shareable mode. If an attachment is created in shareable mode, then other instances can attach the same volume, provided that they also create their attachments in shareable mode. Only certain volume types can be attached in shareable mode. Defaults to false if not specified. :param pulumi.Input[bool] use_chap: Whether to use CHAP authentication for the volume attachment. Defaults to false. """ - pulumi.set(__self__, "type", type) + InstanceConfigurationInstanceDetailsBlockVolumeAttachDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + device=device, + display_name=display_name, + is_pv_encryption_in_transit_enabled=is_pv_encryption_in_transit_enabled, + is_read_only=is_read_only, + is_shareable=is_shareable, + use_chap=use_chap, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + device: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + is_pv_encryption_in_transit_enabled: Optional[pulumi.Input[bool]] = None, + is_read_only: Optional[pulumi.Input[bool]] = None, + is_shareable: Optional[pulumi.Input[bool]] = None, + use_chap: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if device is not None: - pulumi.set(__self__, "device", device) + _setter("device", device) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if is_pv_encryption_in_transit_enabled is not None: - pulumi.set(__self__, "is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) + _setter("is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) if is_read_only is not None: - pulumi.set(__self__, "is_read_only", is_read_only) + _setter("is_read_only", is_read_only) if is_shareable is not None: - pulumi.set(__self__, "is_shareable", is_shareable) + _setter("is_shareable", is_shareable) if use_chap is not None: - pulumi.set(__self__, "use_chap", use_chap) + _setter("use_chap", use_chap) @property @pulumi.getter @@ -4316,32 +5215,65 @@ def __init__(__self__, *, Allowed values: """ + InstanceConfigurationInstanceDetailsBlockVolumeCreateDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + autotune_policies=autotune_policies, + availability_domain=availability_domain, + backup_policy_id=backup_policy_id, + block_volume_replicas=block_volume_replicas, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + is_auto_tune_enabled=is_auto_tune_enabled, + kms_key_id=kms_key_id, + size_in_gbs=size_in_gbs, + source_details=source_details, + vpus_per_gb=vpus_per_gb, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + autotune_policies: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceConfigurationInstanceDetailsBlockVolumeCreateDetailsAutotunePolicyArgs']]]] = None, + availability_domain: Optional[pulumi.Input[str]] = None, + backup_policy_id: Optional[pulumi.Input[str]] = None, + block_volume_replicas: Optional[pulumi.Input['InstanceConfigurationInstanceDetailsBlockVolumeCreateDetailsBlockVolumeReplicasArgs']] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_auto_tune_enabled: Optional[pulumi.Input[bool]] = None, + kms_key_id: Optional[pulumi.Input[str]] = None, + size_in_gbs: Optional[pulumi.Input[str]] = None, + source_details: Optional[pulumi.Input['InstanceConfigurationInstanceDetailsBlockVolumeCreateDetailsSourceDetailsArgs']] = None, + vpus_per_gb: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if autotune_policies is not None: - pulumi.set(__self__, "autotune_policies", autotune_policies) + _setter("autotune_policies", autotune_policies) if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if backup_policy_id is not None: - pulumi.set(__self__, "backup_policy_id", backup_policy_id) + _setter("backup_policy_id", backup_policy_id) if block_volume_replicas is not None: - pulumi.set(__self__, "block_volume_replicas", block_volume_replicas) + _setter("block_volume_replicas", block_volume_replicas) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_auto_tune_enabled is not None: - pulumi.set(__self__, "is_auto_tune_enabled", is_auto_tune_enabled) + _setter("is_auto_tune_enabled", is_auto_tune_enabled) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) if size_in_gbs is not None: - pulumi.set(__self__, "size_in_gbs", size_in_gbs) + _setter("size_in_gbs", size_in_gbs) if source_details is not None: - pulumi.set(__self__, "source_details", source_details) + _setter("source_details", source_details) if vpus_per_gb is not None: - pulumi.set(__self__, "vpus_per_gb", vpus_per_gb) + _setter("vpus_per_gb", vpus_per_gb) @property @pulumi.getter(name="autotunePolicies") @@ -4508,9 +5440,20 @@ def __init__(__self__, *, :param pulumi.Input[str] autotune_type: This specifies the type of autotunes supported by OCI. :param pulumi.Input[str] max_vpus_per_gb: This will be the maximum VPUs/GB performance level that the volume will be auto-tuned temporarily based on performance monitoring. """ - pulumi.set(__self__, "autotune_type", autotune_type) + InstanceConfigurationInstanceDetailsBlockVolumeCreateDetailsAutotunePolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + autotune_type=autotune_type, + max_vpus_per_gb=max_vpus_per_gb, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + autotune_type: pulumi.Input[str], + max_vpus_per_gb: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("autotune_type", autotune_type) if max_vpus_per_gb is not None: - pulumi.set(__self__, "max_vpus_per_gb", max_vpus_per_gb) + _setter("max_vpus_per_gb", max_vpus_per_gb) @property @pulumi.getter(name="autotuneType") @@ -4546,9 +5489,20 @@ def __init__(__self__, *, :param pulumi.Input[str] availability_domain: The availability domain of the instance. Example: `Uocm:PHX-AD-1` :param pulumi.Input[str] display_name: A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. """ - pulumi.set(__self__, "availability_domain", availability_domain) + InstanceConfigurationInstanceDetailsBlockVolumeCreateDetailsBlockVolumeReplicasArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + display_name=display_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: pulumi.Input[str], + display_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) @property @pulumi.getter(name="availabilityDomain") @@ -4584,9 +5538,20 @@ def __init__(__self__, *, :param pulumi.Input[str] type: The type of action to run when the instance is interrupted for eviction. :param pulumi.Input[str] id: The OCID of the volume backup. """ - pulumi.set(__self__, "type", type) + InstanceConfigurationInstanceDetailsBlockVolumeCreateDetailsSourceDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) @property @pulumi.getter @@ -4721,54 +5686,109 @@ def __init__(__self__, *, Each shape only supports certain configurable values. If the values that you provide are not valid for the specified `shape`, an error is returned. """ + InstanceConfigurationInstanceDetailsLaunchDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + agent_config=agent_config, + availability_config=availability_config, + availability_domain=availability_domain, + capacity_reservation_id=capacity_reservation_id, + compartment_id=compartment_id, + create_vnic_details=create_vnic_details, + dedicated_vm_host_id=dedicated_vm_host_id, + defined_tags=defined_tags, + display_name=display_name, + extended_metadata=extended_metadata, + fault_domain=fault_domain, + freeform_tags=freeform_tags, + instance_options=instance_options, + ipxe_script=ipxe_script, + is_pv_encryption_in_transit_enabled=is_pv_encryption_in_transit_enabled, + launch_mode=launch_mode, + launch_options=launch_options, + metadata=metadata, + platform_config=platform_config, + preemptible_instance_config=preemptible_instance_config, + preferred_maintenance_action=preferred_maintenance_action, + shape=shape, + shape_config=shape_config, + source_details=source_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agent_config: Optional[pulumi.Input['InstanceConfigurationInstanceDetailsLaunchDetailsAgentConfigArgs']] = None, + availability_config: Optional[pulumi.Input['InstanceConfigurationInstanceDetailsLaunchDetailsAvailabilityConfigArgs']] = None, + availability_domain: Optional[pulumi.Input[str]] = None, + capacity_reservation_id: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + create_vnic_details: Optional[pulumi.Input['InstanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsArgs']] = None, + dedicated_vm_host_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + extended_metadata: Optional[pulumi.Input[Mapping[str, Any]]] = None, + fault_domain: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + instance_options: Optional[pulumi.Input['InstanceConfigurationInstanceDetailsLaunchDetailsInstanceOptionsArgs']] = None, + ipxe_script: Optional[pulumi.Input[str]] = None, + is_pv_encryption_in_transit_enabled: Optional[pulumi.Input[bool]] = None, + launch_mode: Optional[pulumi.Input[str]] = None, + launch_options: Optional[pulumi.Input['InstanceConfigurationInstanceDetailsLaunchDetailsLaunchOptionsArgs']] = None, + metadata: Optional[pulumi.Input[Mapping[str, Any]]] = None, + platform_config: Optional[pulumi.Input['InstanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigArgs']] = None, + preemptible_instance_config: Optional[pulumi.Input['InstanceConfigurationInstanceDetailsLaunchDetailsPreemptibleInstanceConfigArgs']] = None, + preferred_maintenance_action: Optional[pulumi.Input[str]] = None, + shape: Optional[pulumi.Input[str]] = None, + shape_config: Optional[pulumi.Input['InstanceConfigurationInstanceDetailsLaunchDetailsShapeConfigArgs']] = None, + source_details: Optional[pulumi.Input['InstanceConfigurationInstanceDetailsLaunchDetailsSourceDetailsArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if agent_config is not None: - pulumi.set(__self__, "agent_config", agent_config) + _setter("agent_config", agent_config) if availability_config is not None: - pulumi.set(__self__, "availability_config", availability_config) + _setter("availability_config", availability_config) if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if capacity_reservation_id is not None: - pulumi.set(__self__, "capacity_reservation_id", capacity_reservation_id) + _setter("capacity_reservation_id", capacity_reservation_id) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if create_vnic_details is not None: - pulumi.set(__self__, "create_vnic_details", create_vnic_details) + _setter("create_vnic_details", create_vnic_details) if dedicated_vm_host_id is not None: - pulumi.set(__self__, "dedicated_vm_host_id", dedicated_vm_host_id) + _setter("dedicated_vm_host_id", dedicated_vm_host_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if extended_metadata is not None: - pulumi.set(__self__, "extended_metadata", extended_metadata) + _setter("extended_metadata", extended_metadata) if fault_domain is not None: - pulumi.set(__self__, "fault_domain", fault_domain) + _setter("fault_domain", fault_domain) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if instance_options is not None: - pulumi.set(__self__, "instance_options", instance_options) + _setter("instance_options", instance_options) if ipxe_script is not None: - pulumi.set(__self__, "ipxe_script", ipxe_script) + _setter("ipxe_script", ipxe_script) if is_pv_encryption_in_transit_enabled is not None: - pulumi.set(__self__, "is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) + _setter("is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) if launch_mode is not None: - pulumi.set(__self__, "launch_mode", launch_mode) + _setter("launch_mode", launch_mode) if launch_options is not None: - pulumi.set(__self__, "launch_options", launch_options) + _setter("launch_options", launch_options) if metadata is not None: - pulumi.set(__self__, "metadata", metadata) + _setter("metadata", metadata) if platform_config is not None: - pulumi.set(__self__, "platform_config", platform_config) + _setter("platform_config", platform_config) if preemptible_instance_config is not None: - pulumi.set(__self__, "preemptible_instance_config", preemptible_instance_config) + _setter("preemptible_instance_config", preemptible_instance_config) if preferred_maintenance_action is not None: - pulumi.set(__self__, "preferred_maintenance_action", preferred_maintenance_action) + _setter("preferred_maintenance_action", preferred_maintenance_action) if shape is not None: - pulumi.set(__self__, "shape", shape) + _setter("shape", shape) if shape_config is not None: - pulumi.set(__self__, "shape_config", shape_config) + _setter("shape_config", shape_config) if source_details is not None: - pulumi.set(__self__, "source_details", source_details) + _setter("source_details", source_details) @property @pulumi.getter(name="agentConfig") @@ -5139,14 +6159,29 @@ def __init__(__self__, *, * If `isMonitoringDisabled` is false, all of the monitoring plugins are enabled. You can optionally disable individual monitoring plugins by providing a value in the `pluginsConfig` object. :param pulumi.Input[Sequence[pulumi.Input['InstanceConfigurationInstanceDetailsLaunchDetailsAgentConfigPluginsConfigArgs']]] plugins_configs: The configuration of plugins associated with this instance. """ + InstanceConfigurationInstanceDetailsLaunchDetailsAgentConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + are_all_plugins_disabled=are_all_plugins_disabled, + is_management_disabled=is_management_disabled, + is_monitoring_disabled=is_monitoring_disabled, + plugins_configs=plugins_configs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + are_all_plugins_disabled: Optional[pulumi.Input[bool]] = None, + is_management_disabled: Optional[pulumi.Input[bool]] = None, + is_monitoring_disabled: Optional[pulumi.Input[bool]] = None, + plugins_configs: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceConfigurationInstanceDetailsLaunchDetailsAgentConfigPluginsConfigArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if are_all_plugins_disabled is not None: - pulumi.set(__self__, "are_all_plugins_disabled", are_all_plugins_disabled) + _setter("are_all_plugins_disabled", are_all_plugins_disabled) if is_management_disabled is not None: - pulumi.set(__self__, "is_management_disabled", is_management_disabled) + _setter("is_management_disabled", is_management_disabled) if is_monitoring_disabled is not None: - pulumi.set(__self__, "is_monitoring_disabled", is_monitoring_disabled) + _setter("is_monitoring_disabled", is_monitoring_disabled) if plugins_configs is not None: - pulumi.set(__self__, "plugins_configs", plugins_configs) + _setter("plugins_configs", plugins_configs) @property @pulumi.getter(name="areAllPluginsDisabled") @@ -5222,10 +6257,21 @@ def __init__(__self__, *, To enable the monitoring and management plugins, the `isMonitoringDisabled` and `isManagementDisabled` attributes must also be set to false. :param pulumi.Input[str] name: The plugin name. To get a list of available plugins, use the [ListInstanceagentAvailablePlugins](https://docs.cloud.oracle.com/iaas/api/#/en/instanceagent/20180530/Plugin/ListInstanceagentAvailablePlugins) operation in the Oracle Cloud Agent API. For more information about the available plugins, see [Managing Plugins with Oracle Cloud Agent](https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/manage-plugins.htm). """ + InstanceConfigurationInstanceDetailsLaunchDetailsAgentConfigPluginsConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + desired_state=desired_state, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + desired_state: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if desired_state is not None: - pulumi.set(__self__, "desired_state", desired_state) + _setter("desired_state", desired_state) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter(name="desiredState") @@ -5263,10 +6309,21 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_live_migration_preferred: Whether to live migrate supported VM instances to a healthy physical VM host without disrupting running instances during infrastructure maintenance events. If null, Oracle chooses the best option for migrating the VM during infrastructure maintenance events. :param pulumi.Input[str] recovery_action: The lifecycle state for an instance when it is recovered after infrastructure maintenance. """ + InstanceConfigurationInstanceDetailsLaunchDetailsAvailabilityConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_live_migration_preferred=is_live_migration_preferred, + recovery_action=recovery_action, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_live_migration_preferred: Optional[pulumi.Input[bool]] = None, + recovery_action: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_live_migration_preferred is not None: - pulumi.set(__self__, "is_live_migration_preferred", is_live_migration_preferred) + _setter("is_live_migration_preferred", is_live_migration_preferred) if recovery_action is not None: - pulumi.set(__self__, "recovery_action", recovery_action) + _setter("recovery_action", recovery_action) @property @pulumi.getter(name="isLiveMigrationPreferred") @@ -5322,30 +6379,61 @@ def __init__(__self__, *, :param pulumi.Input[bool] skip_source_dest_check: Whether the source/destination check is disabled on the VNIC. See the `skipSourceDestCheck` attribute of [CreateVnicDetails](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/CreateVnicDetails/) for more information. :param pulumi.Input[str] subnet_id: The OCID of the subnet to create the VNIC in. See the `subnetId` attribute of [CreateVnicDetails](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/CreateVnicDetails/) for more information. """ + InstanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + assign_ipv6ip=assign_ipv6ip, + assign_private_dns_record=assign_private_dns_record, + assign_public_ip=assign_public_ip, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + hostname_label=hostname_label, + ipv6address_ipv6subnet_cidr_pair_details=ipv6address_ipv6subnet_cidr_pair_details, + nsg_ids=nsg_ids, + private_ip=private_ip, + skip_source_dest_check=skip_source_dest_check, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + assign_ipv6ip: Optional[pulumi.Input[bool]] = None, + assign_private_dns_record: Optional[pulumi.Input[bool]] = None, + assign_public_ip: Optional[pulumi.Input[bool]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + hostname_label: Optional[pulumi.Input[str]] = None, + ipv6address_ipv6subnet_cidr_pair_details: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailArgs']]]] = None, + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + private_ip: Optional[pulumi.Input[str]] = None, + skip_source_dest_check: Optional[pulumi.Input[bool]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if assign_ipv6ip is not None: - pulumi.set(__self__, "assign_ipv6ip", assign_ipv6ip) + _setter("assign_ipv6ip", assign_ipv6ip) if assign_private_dns_record is not None: - pulumi.set(__self__, "assign_private_dns_record", assign_private_dns_record) + _setter("assign_private_dns_record", assign_private_dns_record) if assign_public_ip is not None: - pulumi.set(__self__, "assign_public_ip", assign_public_ip) + _setter("assign_public_ip", assign_public_ip) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if hostname_label is not None: - pulumi.set(__self__, "hostname_label", hostname_label) + _setter("hostname_label", hostname_label) if ipv6address_ipv6subnet_cidr_pair_details is not None: - pulumi.set(__self__, "ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) + _setter("ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) if private_ip is not None: - pulumi.set(__self__, "private_ip", private_ip) + _setter("private_ip", private_ip) if skip_source_dest_check is not None: - pulumi.set(__self__, "skip_source_dest_check", skip_source_dest_check) + _setter("skip_source_dest_check", skip_source_dest_check) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="assignIpv6ip") @@ -5501,10 +6589,21 @@ def __init__(__self__, *, :param pulumi.Input[str] ipv6address: Optional. An available IPv6 address of your subnet from a valid IPv6 prefix on the subnet (otherwise the IP address is automatically assigned). :param pulumi.Input[str] ipv6subnet_cidr: Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation. """ + InstanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + ipv6address=ipv6address, + ipv6subnet_cidr=ipv6subnet_cidr, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ipv6address: Optional[pulumi.Input[str]] = None, + ipv6subnet_cidr: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ipv6address is not None: - pulumi.set(__self__, "ipv6address", ipv6address) + _setter("ipv6address", ipv6address) if ipv6subnet_cidr is not None: - pulumi.set(__self__, "ipv6subnet_cidr", ipv6subnet_cidr) + _setter("ipv6subnet_cidr", ipv6subnet_cidr) @property @pulumi.getter @@ -5538,8 +6637,17 @@ def __init__(__self__, *, """ :param pulumi.Input[bool] are_legacy_imds_endpoints_disabled: Whether to disable the legacy (/v1) instance metadata service endpoints. Customers who have migrated to /v2 should set this to true for added security. Default is false. """ + InstanceConfigurationInstanceDetailsLaunchDetailsInstanceOptionsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + are_legacy_imds_endpoints_disabled=are_legacy_imds_endpoints_disabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + are_legacy_imds_endpoints_disabled: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if are_legacy_imds_endpoints_disabled is not None: - pulumi.set(__self__, "are_legacy_imds_endpoints_disabled", are_legacy_imds_endpoints_disabled) + _setter("are_legacy_imds_endpoints_disabled", are_legacy_imds_endpoints_disabled) @property @pulumi.getter(name="areLegacyImdsEndpointsDisabled") @@ -5571,18 +6679,37 @@ def __init__(__self__, *, :param pulumi.Input[str] network_type: Emulation type for the physical network interface card (NIC). :param pulumi.Input[str] remote_data_volume_type: Emulation type for volume. """ + InstanceConfigurationInstanceDetailsLaunchDetailsLaunchOptionsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + boot_volume_type=boot_volume_type, + firmware=firmware, + is_consistent_volume_naming_enabled=is_consistent_volume_naming_enabled, + is_pv_encryption_in_transit_enabled=is_pv_encryption_in_transit_enabled, + network_type=network_type, + remote_data_volume_type=remote_data_volume_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + boot_volume_type: Optional[pulumi.Input[str]] = None, + firmware: Optional[pulumi.Input[str]] = None, + is_consistent_volume_naming_enabled: Optional[pulumi.Input[bool]] = None, + is_pv_encryption_in_transit_enabled: Optional[pulumi.Input[bool]] = None, + network_type: Optional[pulumi.Input[str]] = None, + remote_data_volume_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if boot_volume_type is not None: - pulumi.set(__self__, "boot_volume_type", boot_volume_type) + _setter("boot_volume_type", boot_volume_type) if firmware is not None: - pulumi.set(__self__, "firmware", firmware) + _setter("firmware", firmware) if is_consistent_volume_naming_enabled is not None: - pulumi.set(__self__, "is_consistent_volume_naming_enabled", is_consistent_volume_naming_enabled) + _setter("is_consistent_volume_naming_enabled", is_consistent_volume_naming_enabled) if is_pv_encryption_in_transit_enabled is not None: - pulumi.set(__self__, "is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) + _setter("is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) if network_type is not None: - pulumi.set(__self__, "network_type", network_type) + _setter("network_type", network_type) if remote_data_volume_type is not None: - pulumi.set(__self__, "remote_data_volume_type", remote_data_volume_type) + _setter("remote_data_volume_type", remote_data_volume_type) @property @pulumi.getter(name="bootVolumeType") @@ -5690,29 +6817,60 @@ def __init__(__self__, *, If the applications that you run on the instance use a core-based licensing model and need fewer cores than the full size of the shape, you can disable cores to reduce your licensing costs. The instance itself is billed for the full shape, regardless of whether all cores are enabled. """ - pulumi.set(__self__, "type", type) + InstanceConfigurationInstanceDetailsLaunchDetailsPlatformConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + are_virtual_instructions_enabled=are_virtual_instructions_enabled, + config_map=config_map, + is_access_control_service_enabled=is_access_control_service_enabled, + is_input_output_memory_management_unit_enabled=is_input_output_memory_management_unit_enabled, + is_measured_boot_enabled=is_measured_boot_enabled, + is_memory_encryption_enabled=is_memory_encryption_enabled, + is_secure_boot_enabled=is_secure_boot_enabled, + is_symmetric_multi_threading_enabled=is_symmetric_multi_threading_enabled, + is_trusted_platform_module_enabled=is_trusted_platform_module_enabled, + numa_nodes_per_socket=numa_nodes_per_socket, + percentage_of_cores_enabled=percentage_of_cores_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + are_virtual_instructions_enabled: Optional[pulumi.Input[bool]] = None, + config_map: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_access_control_service_enabled: Optional[pulumi.Input[bool]] = None, + is_input_output_memory_management_unit_enabled: Optional[pulumi.Input[bool]] = None, + is_measured_boot_enabled: Optional[pulumi.Input[bool]] = None, + is_memory_encryption_enabled: Optional[pulumi.Input[bool]] = None, + is_secure_boot_enabled: Optional[pulumi.Input[bool]] = None, + is_symmetric_multi_threading_enabled: Optional[pulumi.Input[bool]] = None, + is_trusted_platform_module_enabled: Optional[pulumi.Input[bool]] = None, + numa_nodes_per_socket: Optional[pulumi.Input[str]] = None, + percentage_of_cores_enabled: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if are_virtual_instructions_enabled is not None: - pulumi.set(__self__, "are_virtual_instructions_enabled", are_virtual_instructions_enabled) + _setter("are_virtual_instructions_enabled", are_virtual_instructions_enabled) if config_map is not None: - pulumi.set(__self__, "config_map", config_map) + _setter("config_map", config_map) if is_access_control_service_enabled is not None: - pulumi.set(__self__, "is_access_control_service_enabled", is_access_control_service_enabled) + _setter("is_access_control_service_enabled", is_access_control_service_enabled) if is_input_output_memory_management_unit_enabled is not None: - pulumi.set(__self__, "is_input_output_memory_management_unit_enabled", is_input_output_memory_management_unit_enabled) + _setter("is_input_output_memory_management_unit_enabled", is_input_output_memory_management_unit_enabled) if is_measured_boot_enabled is not None: - pulumi.set(__self__, "is_measured_boot_enabled", is_measured_boot_enabled) + _setter("is_measured_boot_enabled", is_measured_boot_enabled) if is_memory_encryption_enabled is not None: - pulumi.set(__self__, "is_memory_encryption_enabled", is_memory_encryption_enabled) + _setter("is_memory_encryption_enabled", is_memory_encryption_enabled) if is_secure_boot_enabled is not None: - pulumi.set(__self__, "is_secure_boot_enabled", is_secure_boot_enabled) + _setter("is_secure_boot_enabled", is_secure_boot_enabled) if is_symmetric_multi_threading_enabled is not None: - pulumi.set(__self__, "is_symmetric_multi_threading_enabled", is_symmetric_multi_threading_enabled) + _setter("is_symmetric_multi_threading_enabled", is_symmetric_multi_threading_enabled) if is_trusted_platform_module_enabled is not None: - pulumi.set(__self__, "is_trusted_platform_module_enabled", is_trusted_platform_module_enabled) + _setter("is_trusted_platform_module_enabled", is_trusted_platform_module_enabled) if numa_nodes_per_socket is not None: - pulumi.set(__self__, "numa_nodes_per_socket", numa_nodes_per_socket) + _setter("numa_nodes_per_socket", numa_nodes_per_socket) if percentage_of_cores_enabled is not None: - pulumi.set(__self__, "percentage_of_cores_enabled", percentage_of_cores_enabled) + _setter("percentage_of_cores_enabled", percentage_of_cores_enabled) @property @pulumi.getter @@ -5870,8 +7028,17 @@ def __init__(__self__, *, """ :param pulumi.Input['InstanceConfigurationInstanceDetailsLaunchDetailsPreemptibleInstanceConfigPreemptionActionArgs'] preemption_action: The action to run when the preemptible instance is interrupted for eviction. """ + InstanceConfigurationInstanceDetailsLaunchDetailsPreemptibleInstanceConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + preemption_action=preemption_action, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + preemption_action: Optional[pulumi.Input['InstanceConfigurationInstanceDetailsLaunchDetailsPreemptibleInstanceConfigPreemptionActionArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if preemption_action is not None: - pulumi.set(__self__, "preemption_action", preemption_action) + _setter("preemption_action", preemption_action) @property @pulumi.getter(name="preemptionAction") @@ -5895,9 +7062,20 @@ def __init__(__self__, *, :param pulumi.Input[str] type: The type of action to run when the instance is interrupted for eviction. :param pulumi.Input[bool] preserve_boot_volume: Whether to preserve the boot volume that was used to launch the preemptible instance when the instance is terminated. Defaults to false if not specified. """ - pulumi.set(__self__, "type", type) + InstanceConfigurationInstanceDetailsLaunchDetailsPreemptibleInstanceConfigPreemptionActionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + preserve_boot_volume=preserve_boot_volume, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + preserve_boot_volume: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if preserve_boot_volume is not None: - pulumi.set(__self__, "preserve_boot_volume", preserve_boot_volume) + _setter("preserve_boot_volume", preserve_boot_volume) @property @pulumi.getter @@ -5941,16 +7119,33 @@ def __init__(__self__, *, :param pulumi.Input[float] ocpus: The total number of OCPUs available to the instance. :param pulumi.Input[int] vcpus: The total number of VCPUs available to the instance. This can be used instead of OCPUs, in which case the actual number of OCPUs will be calculated based on this value and the actual hardware. This must be a multiple of 2. """ + InstanceConfigurationInstanceDetailsLaunchDetailsShapeConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + baseline_ocpu_utilization=baseline_ocpu_utilization, + memory_in_gbs=memory_in_gbs, + nvmes=nvmes, + ocpus=ocpus, + vcpus=vcpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + baseline_ocpu_utilization: Optional[pulumi.Input[str]] = None, + memory_in_gbs: Optional[pulumi.Input[float]] = None, + nvmes: Optional[pulumi.Input[int]] = None, + ocpus: Optional[pulumi.Input[float]] = None, + vcpus: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if baseline_ocpu_utilization is not None: - pulumi.set(__self__, "baseline_ocpu_utilization", baseline_ocpu_utilization) + _setter("baseline_ocpu_utilization", baseline_ocpu_utilization) if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) if nvmes is not None: - pulumi.set(__self__, "nvmes", nvmes) + _setter("nvmes", nvmes) if ocpus is not None: - pulumi.set(__self__, "ocpus", ocpus) + _setter("ocpus", ocpus) if vcpus is not None: - pulumi.set(__self__, "vcpus", vcpus) + _setter("vcpus", vcpus) @property @pulumi.getter(name="baselineOcpuUtilization") @@ -6036,19 +7231,40 @@ def __init__(__self__, *, :param pulumi.Input['InstanceConfigurationInstanceDetailsLaunchDetailsSourceDetailsInstanceSourceImageFilterDetailsArgs'] instance_source_image_filter_details: These are the criteria for selecting an image. This is required if imageId is not specified. :param pulumi.Input[str] kms_key_id: The OCID of the Vault service key to assign as the master encryption key for the volume. """ - pulumi.set(__self__, "source_type", source_type) + InstanceConfigurationInstanceDetailsLaunchDetailsSourceDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + source_type=source_type, + boot_volume_id=boot_volume_id, + boot_volume_size_in_gbs=boot_volume_size_in_gbs, + boot_volume_vpus_per_gb=boot_volume_vpus_per_gb, + image_id=image_id, + instance_source_image_filter_details=instance_source_image_filter_details, + kms_key_id=kms_key_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + source_type: pulumi.Input[str], + boot_volume_id: Optional[pulumi.Input[str]] = None, + boot_volume_size_in_gbs: Optional[pulumi.Input[str]] = None, + boot_volume_vpus_per_gb: Optional[pulumi.Input[str]] = None, + image_id: Optional[pulumi.Input[str]] = None, + instance_source_image_filter_details: Optional[pulumi.Input['InstanceConfigurationInstanceDetailsLaunchDetailsSourceDetailsInstanceSourceImageFilterDetailsArgs']] = None, + kms_key_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("source_type", source_type) if boot_volume_id is not None: - pulumi.set(__self__, "boot_volume_id", boot_volume_id) + _setter("boot_volume_id", boot_volume_id) if boot_volume_size_in_gbs is not None: - pulumi.set(__self__, "boot_volume_size_in_gbs", boot_volume_size_in_gbs) + _setter("boot_volume_size_in_gbs", boot_volume_size_in_gbs) if boot_volume_vpus_per_gb is not None: - pulumi.set(__self__, "boot_volume_vpus_per_gb", boot_volume_vpus_per_gb) + _setter("boot_volume_vpus_per_gb", boot_volume_vpus_per_gb) if image_id is not None: - pulumi.set(__self__, "image_id", image_id) + _setter("image_id", image_id) if instance_source_image_filter_details is not None: - pulumi.set(__self__, "instance_source_image_filter_details", instance_source_image_filter_details) + _setter("instance_source_image_filter_details", instance_source_image_filter_details) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) @property @pulumi.getter(name="sourceType") @@ -6150,14 +7366,29 @@ def __init__(__self__, *, :param pulumi.Input[str] operating_system: The image's operating system. Example: `Oracle Linux` :param pulumi.Input[str] operating_system_version: The image's operating system version. Example: `7.2` """ + InstanceConfigurationInstanceDetailsLaunchDetailsSourceDetailsInstanceSourceImageFilterDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags_filter=defined_tags_filter, + operating_system=operating_system, + operating_system_version=operating_system_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags_filter: Optional[pulumi.Input[Mapping[str, Any]]] = None, + operating_system: Optional[pulumi.Input[str]] = None, + operating_system_version: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags_filter is not None: - pulumi.set(__self__, "defined_tags_filter", defined_tags_filter) + _setter("defined_tags_filter", defined_tags_filter) if operating_system is not None: - pulumi.set(__self__, "operating_system", operating_system) + _setter("operating_system", operating_system) if operating_system_version is not None: - pulumi.set(__self__, "operating_system_version", operating_system_version) + _setter("operating_system_version", operating_system_version) @property @pulumi.getter(name="compartmentId") @@ -6221,12 +7452,25 @@ def __init__(__self__, *, See [LaunchInstanceDetails](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/LaunchInstanceDetails) for more information. :param pulumi.Input[Sequence[pulumi.Input['InstanceConfigurationInstanceDetailsOptionSecondaryVnicArgs']]] secondary_vnics: Secondary VNIC parameters. """ + InstanceConfigurationInstanceDetailsOptionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + block_volumes=block_volumes, + launch_details=launch_details, + secondary_vnics=secondary_vnics, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + block_volumes: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceConfigurationInstanceDetailsOptionBlockVolumeArgs']]]] = None, + launch_details: Optional[pulumi.Input['InstanceConfigurationInstanceDetailsOptionLaunchDetailsArgs']] = None, + secondary_vnics: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceConfigurationInstanceDetailsOptionSecondaryVnicArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if block_volumes is not None: - pulumi.set(__self__, "block_volumes", block_volumes) + _setter("block_volumes", block_volumes) if launch_details is not None: - pulumi.set(__self__, "launch_details", launch_details) + _setter("launch_details", launch_details) if secondary_vnics is not None: - pulumi.set(__self__, "secondary_vnics", secondary_vnics) + _setter("secondary_vnics", secondary_vnics) @property @pulumi.getter(name="blockVolumes") @@ -6278,12 +7522,25 @@ def __init__(__self__, *, :param pulumi.Input['InstanceConfigurationInstanceDetailsOptionBlockVolumeCreateDetailsArgs'] create_details: Creates a new block volume. Please see [CreateVolumeDetails](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/CreateVolumeDetails/) :param pulumi.Input[str] volume_id: The OCID of the volume. """ + InstanceConfigurationInstanceDetailsOptionBlockVolumeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + attach_details=attach_details, + create_details=create_details, + volume_id=volume_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attach_details: Optional[pulumi.Input['InstanceConfigurationInstanceDetailsOptionBlockVolumeAttachDetailsArgs']] = None, + create_details: Optional[pulumi.Input['InstanceConfigurationInstanceDetailsOptionBlockVolumeCreateDetailsArgs']] = None, + volume_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if attach_details is not None: - pulumi.set(__self__, "attach_details", attach_details) + _setter("attach_details", attach_details) if create_details is not None: - pulumi.set(__self__, "create_details", create_details) + _setter("create_details", create_details) if volume_id is not None: - pulumi.set(__self__, "volume_id", volume_id) + _setter("volume_id", volume_id) @property @pulumi.getter(name="attachDetails") @@ -6341,19 +7598,40 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_shareable: Whether the attachment should be created in shareable mode. If an attachment is created in shareable mode, then other instances can attach the same volume, provided that they also create their attachments in shareable mode. Only certain volume types can be attached in shareable mode. Defaults to false if not specified. :param pulumi.Input[bool] use_chap: Whether to use CHAP authentication for the volume attachment. Defaults to false. """ - pulumi.set(__self__, "type", type) + InstanceConfigurationInstanceDetailsOptionBlockVolumeAttachDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + device=device, + display_name=display_name, + is_pv_encryption_in_transit_enabled=is_pv_encryption_in_transit_enabled, + is_read_only=is_read_only, + is_shareable=is_shareable, + use_chap=use_chap, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + device: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + is_pv_encryption_in_transit_enabled: Optional[pulumi.Input[bool]] = None, + is_read_only: Optional[pulumi.Input[bool]] = None, + is_shareable: Optional[pulumi.Input[bool]] = None, + use_chap: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if device is not None: - pulumi.set(__self__, "device", device) + _setter("device", device) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if is_pv_encryption_in_transit_enabled is not None: - pulumi.set(__self__, "is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) + _setter("is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) if is_read_only is not None: - pulumi.set(__self__, "is_read_only", is_read_only) + _setter("is_read_only", is_read_only) if is_shareable is not None: - pulumi.set(__self__, "is_shareable", is_shareable) + _setter("is_shareable", is_shareable) if use_chap is not None: - pulumi.set(__self__, "use_chap", use_chap) + _setter("use_chap", use_chap) @property @pulumi.getter @@ -6472,32 +7750,65 @@ def __init__(__self__, *, Allowed values: """ + InstanceConfigurationInstanceDetailsOptionBlockVolumeCreateDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + autotune_policies=autotune_policies, + availability_domain=availability_domain, + backup_policy_id=backup_policy_id, + block_volume_replicas=block_volume_replicas, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + is_auto_tune_enabled=is_auto_tune_enabled, + kms_key_id=kms_key_id, + size_in_gbs=size_in_gbs, + source_details=source_details, + vpus_per_gb=vpus_per_gb, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + autotune_policies: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceConfigurationInstanceDetailsOptionBlockVolumeCreateDetailsAutotunePolicyArgs']]]] = None, + availability_domain: Optional[pulumi.Input[str]] = None, + backup_policy_id: Optional[pulumi.Input[str]] = None, + block_volume_replicas: Optional[pulumi.Input['InstanceConfigurationInstanceDetailsOptionBlockVolumeCreateDetailsBlockVolumeReplicasArgs']] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_auto_tune_enabled: Optional[pulumi.Input[bool]] = None, + kms_key_id: Optional[pulumi.Input[str]] = None, + size_in_gbs: Optional[pulumi.Input[str]] = None, + source_details: Optional[pulumi.Input['InstanceConfigurationInstanceDetailsOptionBlockVolumeCreateDetailsSourceDetailsArgs']] = None, + vpus_per_gb: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if autotune_policies is not None: - pulumi.set(__self__, "autotune_policies", autotune_policies) + _setter("autotune_policies", autotune_policies) if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if backup_policy_id is not None: - pulumi.set(__self__, "backup_policy_id", backup_policy_id) + _setter("backup_policy_id", backup_policy_id) if block_volume_replicas is not None: - pulumi.set(__self__, "block_volume_replicas", block_volume_replicas) + _setter("block_volume_replicas", block_volume_replicas) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_auto_tune_enabled is not None: - pulumi.set(__self__, "is_auto_tune_enabled", is_auto_tune_enabled) + _setter("is_auto_tune_enabled", is_auto_tune_enabled) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) if size_in_gbs is not None: - pulumi.set(__self__, "size_in_gbs", size_in_gbs) + _setter("size_in_gbs", size_in_gbs) if source_details is not None: - pulumi.set(__self__, "source_details", source_details) + _setter("source_details", source_details) if vpus_per_gb is not None: - pulumi.set(__self__, "vpus_per_gb", vpus_per_gb) + _setter("vpus_per_gb", vpus_per_gb) @property @pulumi.getter(name="autotunePolicies") @@ -6664,9 +7975,20 @@ def __init__(__self__, *, :param pulumi.Input[str] autotune_type: This specifies the type of autotunes supported by OCI. :param pulumi.Input[str] max_vpus_per_gb: This will be the maximum VPUs/GB performance level that the volume will be auto-tuned temporarily based on performance monitoring. """ - pulumi.set(__self__, "autotune_type", autotune_type) + InstanceConfigurationInstanceDetailsOptionBlockVolumeCreateDetailsAutotunePolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + autotune_type=autotune_type, + max_vpus_per_gb=max_vpus_per_gb, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + autotune_type: pulumi.Input[str], + max_vpus_per_gb: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("autotune_type", autotune_type) if max_vpus_per_gb is not None: - pulumi.set(__self__, "max_vpus_per_gb", max_vpus_per_gb) + _setter("max_vpus_per_gb", max_vpus_per_gb) @property @pulumi.getter(name="autotuneType") @@ -6702,9 +8024,20 @@ def __init__(__self__, *, :param pulumi.Input[str] availability_domain: The availability domain of the instance. Example: `Uocm:PHX-AD-1` :param pulumi.Input[str] display_name: A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. """ - pulumi.set(__self__, "availability_domain", availability_domain) + InstanceConfigurationInstanceDetailsOptionBlockVolumeCreateDetailsBlockVolumeReplicasArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + display_name=display_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: pulumi.Input[str], + display_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) @property @pulumi.getter(name="availabilityDomain") @@ -6740,9 +8073,20 @@ def __init__(__self__, *, :param pulumi.Input[str] type: The type of action to run when the instance is interrupted for eviction. :param pulumi.Input[str] id: The OCID of the volume backup. """ - pulumi.set(__self__, "type", type) + InstanceConfigurationInstanceDetailsOptionBlockVolumeCreateDetailsSourceDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) @property @pulumi.getter @@ -6877,54 +8221,109 @@ def __init__(__self__, *, Each shape only supports certain configurable values. If the values that you provide are not valid for the specified `shape`, an error is returned. """ + InstanceConfigurationInstanceDetailsOptionLaunchDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + agent_config=agent_config, + availability_config=availability_config, + availability_domain=availability_domain, + capacity_reservation_id=capacity_reservation_id, + compartment_id=compartment_id, + create_vnic_details=create_vnic_details, + dedicated_vm_host_id=dedicated_vm_host_id, + defined_tags=defined_tags, + display_name=display_name, + extended_metadata=extended_metadata, + fault_domain=fault_domain, + freeform_tags=freeform_tags, + instance_options=instance_options, + ipxe_script=ipxe_script, + is_pv_encryption_in_transit_enabled=is_pv_encryption_in_transit_enabled, + launch_mode=launch_mode, + launch_options=launch_options, + metadata=metadata, + platform_config=platform_config, + preemptible_instance_config=preemptible_instance_config, + preferred_maintenance_action=preferred_maintenance_action, + shape=shape, + shape_config=shape_config, + source_details=source_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agent_config: Optional[pulumi.Input['InstanceConfigurationInstanceDetailsOptionLaunchDetailsAgentConfigArgs']] = None, + availability_config: Optional[pulumi.Input['InstanceConfigurationInstanceDetailsOptionLaunchDetailsAvailabilityConfigArgs']] = None, + availability_domain: Optional[pulumi.Input[str]] = None, + capacity_reservation_id: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + create_vnic_details: Optional[pulumi.Input['InstanceConfigurationInstanceDetailsOptionLaunchDetailsCreateVnicDetailsArgs']] = None, + dedicated_vm_host_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + extended_metadata: Optional[pulumi.Input[Mapping[str, Any]]] = None, + fault_domain: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + instance_options: Optional[pulumi.Input['InstanceConfigurationInstanceDetailsOptionLaunchDetailsInstanceOptionsArgs']] = None, + ipxe_script: Optional[pulumi.Input[str]] = None, + is_pv_encryption_in_transit_enabled: Optional[pulumi.Input[bool]] = None, + launch_mode: Optional[pulumi.Input[str]] = None, + launch_options: Optional[pulumi.Input['InstanceConfigurationInstanceDetailsOptionLaunchDetailsLaunchOptionsArgs']] = None, + metadata: Optional[pulumi.Input[Mapping[str, Any]]] = None, + platform_config: Optional[pulumi.Input['InstanceConfigurationInstanceDetailsOptionLaunchDetailsPlatformConfigArgs']] = None, + preemptible_instance_config: Optional[pulumi.Input['InstanceConfigurationInstanceDetailsOptionLaunchDetailsPreemptibleInstanceConfigArgs']] = None, + preferred_maintenance_action: Optional[pulumi.Input[str]] = None, + shape: Optional[pulumi.Input[str]] = None, + shape_config: Optional[pulumi.Input['InstanceConfigurationInstanceDetailsOptionLaunchDetailsShapeConfigArgs']] = None, + source_details: Optional[pulumi.Input['InstanceConfigurationInstanceDetailsOptionLaunchDetailsSourceDetailsArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if agent_config is not None: - pulumi.set(__self__, "agent_config", agent_config) + _setter("agent_config", agent_config) if availability_config is not None: - pulumi.set(__self__, "availability_config", availability_config) + _setter("availability_config", availability_config) if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if capacity_reservation_id is not None: - pulumi.set(__self__, "capacity_reservation_id", capacity_reservation_id) + _setter("capacity_reservation_id", capacity_reservation_id) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if create_vnic_details is not None: - pulumi.set(__self__, "create_vnic_details", create_vnic_details) + _setter("create_vnic_details", create_vnic_details) if dedicated_vm_host_id is not None: - pulumi.set(__self__, "dedicated_vm_host_id", dedicated_vm_host_id) + _setter("dedicated_vm_host_id", dedicated_vm_host_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if extended_metadata is not None: - pulumi.set(__self__, "extended_metadata", extended_metadata) + _setter("extended_metadata", extended_metadata) if fault_domain is not None: - pulumi.set(__self__, "fault_domain", fault_domain) + _setter("fault_domain", fault_domain) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if instance_options is not None: - pulumi.set(__self__, "instance_options", instance_options) + _setter("instance_options", instance_options) if ipxe_script is not None: - pulumi.set(__self__, "ipxe_script", ipxe_script) + _setter("ipxe_script", ipxe_script) if is_pv_encryption_in_transit_enabled is not None: - pulumi.set(__self__, "is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) + _setter("is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) if launch_mode is not None: - pulumi.set(__self__, "launch_mode", launch_mode) + _setter("launch_mode", launch_mode) if launch_options is not None: - pulumi.set(__self__, "launch_options", launch_options) + _setter("launch_options", launch_options) if metadata is not None: - pulumi.set(__self__, "metadata", metadata) + _setter("metadata", metadata) if platform_config is not None: - pulumi.set(__self__, "platform_config", platform_config) + _setter("platform_config", platform_config) if preemptible_instance_config is not None: - pulumi.set(__self__, "preemptible_instance_config", preemptible_instance_config) + _setter("preemptible_instance_config", preemptible_instance_config) if preferred_maintenance_action is not None: - pulumi.set(__self__, "preferred_maintenance_action", preferred_maintenance_action) + _setter("preferred_maintenance_action", preferred_maintenance_action) if shape is not None: - pulumi.set(__self__, "shape", shape) + _setter("shape", shape) if shape_config is not None: - pulumi.set(__self__, "shape_config", shape_config) + _setter("shape_config", shape_config) if source_details is not None: - pulumi.set(__self__, "source_details", source_details) + _setter("source_details", source_details) @property @pulumi.getter(name="agentConfig") @@ -7295,14 +8694,29 @@ def __init__(__self__, *, * If `isMonitoringDisabled` is false, all of the monitoring plugins are enabled. You can optionally disable individual monitoring plugins by providing a value in the `pluginsConfig` object. :param pulumi.Input[Sequence[pulumi.Input['InstanceConfigurationInstanceDetailsOptionLaunchDetailsAgentConfigPluginsConfigArgs']]] plugins_configs: The configuration of plugins associated with this instance. """ + InstanceConfigurationInstanceDetailsOptionLaunchDetailsAgentConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + are_all_plugins_disabled=are_all_plugins_disabled, + is_management_disabled=is_management_disabled, + is_monitoring_disabled=is_monitoring_disabled, + plugins_configs=plugins_configs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + are_all_plugins_disabled: Optional[pulumi.Input[bool]] = None, + is_management_disabled: Optional[pulumi.Input[bool]] = None, + is_monitoring_disabled: Optional[pulumi.Input[bool]] = None, + plugins_configs: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceConfigurationInstanceDetailsOptionLaunchDetailsAgentConfigPluginsConfigArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if are_all_plugins_disabled is not None: - pulumi.set(__self__, "are_all_plugins_disabled", are_all_plugins_disabled) + _setter("are_all_plugins_disabled", are_all_plugins_disabled) if is_management_disabled is not None: - pulumi.set(__self__, "is_management_disabled", is_management_disabled) + _setter("is_management_disabled", is_management_disabled) if is_monitoring_disabled is not None: - pulumi.set(__self__, "is_monitoring_disabled", is_monitoring_disabled) + _setter("is_monitoring_disabled", is_monitoring_disabled) if plugins_configs is not None: - pulumi.set(__self__, "plugins_configs", plugins_configs) + _setter("plugins_configs", plugins_configs) @property @pulumi.getter(name="areAllPluginsDisabled") @@ -7378,10 +8792,21 @@ def __init__(__self__, *, To enable the monitoring and management plugins, the `isMonitoringDisabled` and `isManagementDisabled` attributes must also be set to false. :param pulumi.Input[str] name: The plugin name. To get a list of available plugins, use the [ListInstanceagentAvailablePlugins](https://docs.cloud.oracle.com/iaas/api/#/en/instanceagent/20180530/Plugin/ListInstanceagentAvailablePlugins) operation in the Oracle Cloud Agent API. For more information about the available plugins, see [Managing Plugins with Oracle Cloud Agent](https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/manage-plugins.htm). """ + InstanceConfigurationInstanceDetailsOptionLaunchDetailsAgentConfigPluginsConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + desired_state=desired_state, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + desired_state: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if desired_state is not None: - pulumi.set(__self__, "desired_state", desired_state) + _setter("desired_state", desired_state) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter(name="desiredState") @@ -7419,10 +8844,21 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_live_migration_preferred: Whether to live migrate supported VM instances to a healthy physical VM host without disrupting running instances during infrastructure maintenance events. If null, Oracle chooses the best option for migrating the VM during infrastructure maintenance events. :param pulumi.Input[str] recovery_action: The lifecycle state for an instance when it is recovered after infrastructure maintenance. """ + InstanceConfigurationInstanceDetailsOptionLaunchDetailsAvailabilityConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_live_migration_preferred=is_live_migration_preferred, + recovery_action=recovery_action, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_live_migration_preferred: Optional[pulumi.Input[bool]] = None, + recovery_action: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_live_migration_preferred is not None: - pulumi.set(__self__, "is_live_migration_preferred", is_live_migration_preferred) + _setter("is_live_migration_preferred", is_live_migration_preferred) if recovery_action is not None: - pulumi.set(__self__, "recovery_action", recovery_action) + _setter("recovery_action", recovery_action) @property @pulumi.getter(name="isLiveMigrationPreferred") @@ -7478,30 +8914,61 @@ def __init__(__self__, *, :param pulumi.Input[bool] skip_source_dest_check: Whether the source/destination check is disabled on the VNIC. See the `skipSourceDestCheck` attribute of [CreateVnicDetails](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/CreateVnicDetails/) for more information. :param pulumi.Input[str] subnet_id: The OCID of the subnet to create the VNIC in. See the `subnetId` attribute of [CreateVnicDetails](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/CreateVnicDetails/) for more information. """ + InstanceConfigurationInstanceDetailsOptionLaunchDetailsCreateVnicDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + assign_ipv6ip=assign_ipv6ip, + assign_private_dns_record=assign_private_dns_record, + assign_public_ip=assign_public_ip, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + hostname_label=hostname_label, + ipv6address_ipv6subnet_cidr_pair_details=ipv6address_ipv6subnet_cidr_pair_details, + nsg_ids=nsg_ids, + private_ip=private_ip, + skip_source_dest_check=skip_source_dest_check, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + assign_ipv6ip: Optional[pulumi.Input[bool]] = None, + assign_private_dns_record: Optional[pulumi.Input[bool]] = None, + assign_public_ip: Optional[pulumi.Input[bool]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + hostname_label: Optional[pulumi.Input[str]] = None, + ipv6address_ipv6subnet_cidr_pair_details: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceConfigurationInstanceDetailsOptionLaunchDetailsCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailArgs']]]] = None, + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + private_ip: Optional[pulumi.Input[str]] = None, + skip_source_dest_check: Optional[pulumi.Input[bool]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if assign_ipv6ip is not None: - pulumi.set(__self__, "assign_ipv6ip", assign_ipv6ip) + _setter("assign_ipv6ip", assign_ipv6ip) if assign_private_dns_record is not None: - pulumi.set(__self__, "assign_private_dns_record", assign_private_dns_record) + _setter("assign_private_dns_record", assign_private_dns_record) if assign_public_ip is not None: - pulumi.set(__self__, "assign_public_ip", assign_public_ip) + _setter("assign_public_ip", assign_public_ip) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if hostname_label is not None: - pulumi.set(__self__, "hostname_label", hostname_label) + _setter("hostname_label", hostname_label) if ipv6address_ipv6subnet_cidr_pair_details is not None: - pulumi.set(__self__, "ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) + _setter("ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) if private_ip is not None: - pulumi.set(__self__, "private_ip", private_ip) + _setter("private_ip", private_ip) if skip_source_dest_check is not None: - pulumi.set(__self__, "skip_source_dest_check", skip_source_dest_check) + _setter("skip_source_dest_check", skip_source_dest_check) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="assignIpv6ip") @@ -7657,10 +9124,21 @@ def __init__(__self__, *, :param pulumi.Input[str] ipv6address: Optional. An available IPv6 address of your subnet from a valid IPv6 prefix on the subnet (otherwise the IP address is automatically assigned). :param pulumi.Input[str] ipv6subnet_cidr: Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation. """ + InstanceConfigurationInstanceDetailsOptionLaunchDetailsCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + ipv6address=ipv6address, + ipv6subnet_cidr=ipv6subnet_cidr, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ipv6address: Optional[pulumi.Input[str]] = None, + ipv6subnet_cidr: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ipv6address is not None: - pulumi.set(__self__, "ipv6address", ipv6address) + _setter("ipv6address", ipv6address) if ipv6subnet_cidr is not None: - pulumi.set(__self__, "ipv6subnet_cidr", ipv6subnet_cidr) + _setter("ipv6subnet_cidr", ipv6subnet_cidr) @property @pulumi.getter @@ -7694,8 +9172,17 @@ def __init__(__self__, *, """ :param pulumi.Input[bool] are_legacy_imds_endpoints_disabled: Whether to disable the legacy (/v1) instance metadata service endpoints. Customers who have migrated to /v2 should set this to true for added security. Default is false. """ + InstanceConfigurationInstanceDetailsOptionLaunchDetailsInstanceOptionsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + are_legacy_imds_endpoints_disabled=are_legacy_imds_endpoints_disabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + are_legacy_imds_endpoints_disabled: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if are_legacy_imds_endpoints_disabled is not None: - pulumi.set(__self__, "are_legacy_imds_endpoints_disabled", are_legacy_imds_endpoints_disabled) + _setter("are_legacy_imds_endpoints_disabled", are_legacy_imds_endpoints_disabled) @property @pulumi.getter(name="areLegacyImdsEndpointsDisabled") @@ -7727,18 +9214,37 @@ def __init__(__self__, *, :param pulumi.Input[str] network_type: Emulation type for the physical network interface card (NIC). :param pulumi.Input[str] remote_data_volume_type: Emulation type for volume. """ + InstanceConfigurationInstanceDetailsOptionLaunchDetailsLaunchOptionsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + boot_volume_type=boot_volume_type, + firmware=firmware, + is_consistent_volume_naming_enabled=is_consistent_volume_naming_enabled, + is_pv_encryption_in_transit_enabled=is_pv_encryption_in_transit_enabled, + network_type=network_type, + remote_data_volume_type=remote_data_volume_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + boot_volume_type: Optional[pulumi.Input[str]] = None, + firmware: Optional[pulumi.Input[str]] = None, + is_consistent_volume_naming_enabled: Optional[pulumi.Input[bool]] = None, + is_pv_encryption_in_transit_enabled: Optional[pulumi.Input[bool]] = None, + network_type: Optional[pulumi.Input[str]] = None, + remote_data_volume_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if boot_volume_type is not None: - pulumi.set(__self__, "boot_volume_type", boot_volume_type) + _setter("boot_volume_type", boot_volume_type) if firmware is not None: - pulumi.set(__self__, "firmware", firmware) + _setter("firmware", firmware) if is_consistent_volume_naming_enabled is not None: - pulumi.set(__self__, "is_consistent_volume_naming_enabled", is_consistent_volume_naming_enabled) + _setter("is_consistent_volume_naming_enabled", is_consistent_volume_naming_enabled) if is_pv_encryption_in_transit_enabled is not None: - pulumi.set(__self__, "is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) + _setter("is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) if network_type is not None: - pulumi.set(__self__, "network_type", network_type) + _setter("network_type", network_type) if remote_data_volume_type is not None: - pulumi.set(__self__, "remote_data_volume_type", remote_data_volume_type) + _setter("remote_data_volume_type", remote_data_volume_type) @property @pulumi.getter(name="bootVolumeType") @@ -7844,27 +9350,56 @@ def __init__(__self__, *, If the applications that you run on the instance use a core-based licensing model and need fewer cores than the full size of the shape, you can disable cores to reduce your licensing costs. The instance itself is billed for the full shape, regardless of whether all cores are enabled. """ - pulumi.set(__self__, "type", type) + InstanceConfigurationInstanceDetailsOptionLaunchDetailsPlatformConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + are_virtual_instructions_enabled=are_virtual_instructions_enabled, + is_access_control_service_enabled=is_access_control_service_enabled, + is_input_output_memory_management_unit_enabled=is_input_output_memory_management_unit_enabled, + is_measured_boot_enabled=is_measured_boot_enabled, + is_memory_encryption_enabled=is_memory_encryption_enabled, + is_secure_boot_enabled=is_secure_boot_enabled, + is_symmetric_multi_threading_enabled=is_symmetric_multi_threading_enabled, + is_trusted_platform_module_enabled=is_trusted_platform_module_enabled, + numa_nodes_per_socket=numa_nodes_per_socket, + percentage_of_cores_enabled=percentage_of_cores_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + are_virtual_instructions_enabled: Optional[pulumi.Input[bool]] = None, + is_access_control_service_enabled: Optional[pulumi.Input[bool]] = None, + is_input_output_memory_management_unit_enabled: Optional[pulumi.Input[bool]] = None, + is_measured_boot_enabled: Optional[pulumi.Input[bool]] = None, + is_memory_encryption_enabled: Optional[pulumi.Input[bool]] = None, + is_secure_boot_enabled: Optional[pulumi.Input[bool]] = None, + is_symmetric_multi_threading_enabled: Optional[pulumi.Input[bool]] = None, + is_trusted_platform_module_enabled: Optional[pulumi.Input[bool]] = None, + numa_nodes_per_socket: Optional[pulumi.Input[str]] = None, + percentage_of_cores_enabled: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if are_virtual_instructions_enabled is not None: - pulumi.set(__self__, "are_virtual_instructions_enabled", are_virtual_instructions_enabled) + _setter("are_virtual_instructions_enabled", are_virtual_instructions_enabled) if is_access_control_service_enabled is not None: - pulumi.set(__self__, "is_access_control_service_enabled", is_access_control_service_enabled) + _setter("is_access_control_service_enabled", is_access_control_service_enabled) if is_input_output_memory_management_unit_enabled is not None: - pulumi.set(__self__, "is_input_output_memory_management_unit_enabled", is_input_output_memory_management_unit_enabled) + _setter("is_input_output_memory_management_unit_enabled", is_input_output_memory_management_unit_enabled) if is_measured_boot_enabled is not None: - pulumi.set(__self__, "is_measured_boot_enabled", is_measured_boot_enabled) + _setter("is_measured_boot_enabled", is_measured_boot_enabled) if is_memory_encryption_enabled is not None: - pulumi.set(__self__, "is_memory_encryption_enabled", is_memory_encryption_enabled) + _setter("is_memory_encryption_enabled", is_memory_encryption_enabled) if is_secure_boot_enabled is not None: - pulumi.set(__self__, "is_secure_boot_enabled", is_secure_boot_enabled) + _setter("is_secure_boot_enabled", is_secure_boot_enabled) if is_symmetric_multi_threading_enabled is not None: - pulumi.set(__self__, "is_symmetric_multi_threading_enabled", is_symmetric_multi_threading_enabled) + _setter("is_symmetric_multi_threading_enabled", is_symmetric_multi_threading_enabled) if is_trusted_platform_module_enabled is not None: - pulumi.set(__self__, "is_trusted_platform_module_enabled", is_trusted_platform_module_enabled) + _setter("is_trusted_platform_module_enabled", is_trusted_platform_module_enabled) if numa_nodes_per_socket is not None: - pulumi.set(__self__, "numa_nodes_per_socket", numa_nodes_per_socket) + _setter("numa_nodes_per_socket", numa_nodes_per_socket) if percentage_of_cores_enabled is not None: - pulumi.set(__self__, "percentage_of_cores_enabled", percentage_of_cores_enabled) + _setter("percentage_of_cores_enabled", percentage_of_cores_enabled) @property @pulumi.getter @@ -8010,8 +9545,17 @@ def __init__(__self__, *, """ :param pulumi.Input['InstanceConfigurationInstanceDetailsOptionLaunchDetailsPreemptibleInstanceConfigPreemptionActionArgs'] preemption_action: The action to run when the preemptible instance is interrupted for eviction. """ + InstanceConfigurationInstanceDetailsOptionLaunchDetailsPreemptibleInstanceConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + preemption_action=preemption_action, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + preemption_action: Optional[pulumi.Input['InstanceConfigurationInstanceDetailsOptionLaunchDetailsPreemptibleInstanceConfigPreemptionActionArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if preemption_action is not None: - pulumi.set(__self__, "preemption_action", preemption_action) + _setter("preemption_action", preemption_action) @property @pulumi.getter(name="preemptionAction") @@ -8035,9 +9579,20 @@ def __init__(__self__, *, :param pulumi.Input[str] type: The type of action to run when the instance is interrupted for eviction. :param pulumi.Input[bool] preserve_boot_volume: Whether to preserve the boot volume that was used to launch the preemptible instance when the instance is terminated. Defaults to false if not specified. """ - pulumi.set(__self__, "type", type) + InstanceConfigurationInstanceDetailsOptionLaunchDetailsPreemptibleInstanceConfigPreemptionActionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + preserve_boot_volume=preserve_boot_volume, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + preserve_boot_volume: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if preserve_boot_volume is not None: - pulumi.set(__self__, "preserve_boot_volume", preserve_boot_volume) + _setter("preserve_boot_volume", preserve_boot_volume) @property @pulumi.getter @@ -8081,16 +9636,33 @@ def __init__(__self__, *, :param pulumi.Input[float] ocpus: The total number of OCPUs available to the instance. :param pulumi.Input[int] vcpus: The total number of VCPUs available to the instance. This can be used instead of OCPUs, in which case the actual number of OCPUs will be calculated based on this value and the actual hardware. This must be a multiple of 2. """ + InstanceConfigurationInstanceDetailsOptionLaunchDetailsShapeConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + baseline_ocpu_utilization=baseline_ocpu_utilization, + memory_in_gbs=memory_in_gbs, + nvmes=nvmes, + ocpus=ocpus, + vcpus=vcpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + baseline_ocpu_utilization: Optional[pulumi.Input[str]] = None, + memory_in_gbs: Optional[pulumi.Input[float]] = None, + nvmes: Optional[pulumi.Input[int]] = None, + ocpus: Optional[pulumi.Input[float]] = None, + vcpus: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if baseline_ocpu_utilization is not None: - pulumi.set(__self__, "baseline_ocpu_utilization", baseline_ocpu_utilization) + _setter("baseline_ocpu_utilization", baseline_ocpu_utilization) if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) if nvmes is not None: - pulumi.set(__self__, "nvmes", nvmes) + _setter("nvmes", nvmes) if ocpus is not None: - pulumi.set(__self__, "ocpus", ocpus) + _setter("ocpus", ocpus) if vcpus is not None: - pulumi.set(__self__, "vcpus", vcpus) + _setter("vcpus", vcpus) @property @pulumi.getter(name="baselineOcpuUtilization") @@ -8176,19 +9748,40 @@ def __init__(__self__, *, :param pulumi.Input['InstanceConfigurationInstanceDetailsOptionLaunchDetailsSourceDetailsInstanceSourceImageFilterDetailsArgs'] instance_source_image_filter_details: These are the criteria for selecting an image. This is required if imageId is not specified. :param pulumi.Input[str] kms_key_id: The OCID of the Vault service key to assign as the master encryption key for the volume. """ - pulumi.set(__self__, "source_type", source_type) + InstanceConfigurationInstanceDetailsOptionLaunchDetailsSourceDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + source_type=source_type, + boot_volume_id=boot_volume_id, + boot_volume_size_in_gbs=boot_volume_size_in_gbs, + boot_volume_vpus_per_gb=boot_volume_vpus_per_gb, + image_id=image_id, + instance_source_image_filter_details=instance_source_image_filter_details, + kms_key_id=kms_key_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + source_type: pulumi.Input[str], + boot_volume_id: Optional[pulumi.Input[str]] = None, + boot_volume_size_in_gbs: Optional[pulumi.Input[str]] = None, + boot_volume_vpus_per_gb: Optional[pulumi.Input[str]] = None, + image_id: Optional[pulumi.Input[str]] = None, + instance_source_image_filter_details: Optional[pulumi.Input['InstanceConfigurationInstanceDetailsOptionLaunchDetailsSourceDetailsInstanceSourceImageFilterDetailsArgs']] = None, + kms_key_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("source_type", source_type) if boot_volume_id is not None: - pulumi.set(__self__, "boot_volume_id", boot_volume_id) + _setter("boot_volume_id", boot_volume_id) if boot_volume_size_in_gbs is not None: - pulumi.set(__self__, "boot_volume_size_in_gbs", boot_volume_size_in_gbs) + _setter("boot_volume_size_in_gbs", boot_volume_size_in_gbs) if boot_volume_vpus_per_gb is not None: - pulumi.set(__self__, "boot_volume_vpus_per_gb", boot_volume_vpus_per_gb) + _setter("boot_volume_vpus_per_gb", boot_volume_vpus_per_gb) if image_id is not None: - pulumi.set(__self__, "image_id", image_id) + _setter("image_id", image_id) if instance_source_image_filter_details is not None: - pulumi.set(__self__, "instance_source_image_filter_details", instance_source_image_filter_details) + _setter("instance_source_image_filter_details", instance_source_image_filter_details) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) @property @pulumi.getter(name="sourceType") @@ -8290,14 +9883,29 @@ def __init__(__self__, *, :param pulumi.Input[str] operating_system: The image's operating system. Example: `Oracle Linux` :param pulumi.Input[str] operating_system_version: The image's operating system version. Example: `7.2` """ + InstanceConfigurationInstanceDetailsOptionLaunchDetailsSourceDetailsInstanceSourceImageFilterDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags_filter=defined_tags_filter, + operating_system=operating_system, + operating_system_version=operating_system_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags_filter: Optional[pulumi.Input[Mapping[str, Any]]] = None, + operating_system: Optional[pulumi.Input[str]] = None, + operating_system_version: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags_filter is not None: - pulumi.set(__self__, "defined_tags_filter", defined_tags_filter) + _setter("defined_tags_filter", defined_tags_filter) if operating_system is not None: - pulumi.set(__self__, "operating_system", operating_system) + _setter("operating_system", operating_system) if operating_system_version is not None: - pulumi.set(__self__, "operating_system_version", operating_system_version) + _setter("operating_system_version", operating_system_version) @property @pulumi.getter(name="compartmentId") @@ -8359,12 +9967,25 @@ def __init__(__self__, *, :param pulumi.Input[str] display_name: A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. :param pulumi.Input[int] nic_index: Which physical network interface card (NIC) the VNIC will use. Defaults to 0. Certain bare metal instance shapes have two active physical NICs (0 and 1). If you add a secondary VNIC to one of these instances, you can specify which NIC the VNIC will use. For more information, see [Virtual Network Interface Cards (VNICs)](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingVNICs.htm). """ + InstanceConfigurationInstanceDetailsOptionSecondaryVnicArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + create_vnic_details=create_vnic_details, + display_name=display_name, + nic_index=nic_index, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + create_vnic_details: Optional[pulumi.Input['InstanceConfigurationInstanceDetailsOptionSecondaryVnicCreateVnicDetailsArgs']] = None, + display_name: Optional[pulumi.Input[str]] = None, + nic_index: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if create_vnic_details is not None: - pulumi.set(__self__, "create_vnic_details", create_vnic_details) + _setter("create_vnic_details", create_vnic_details) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if nic_index is not None: - pulumi.set(__self__, "nic_index", nic_index) + _setter("nic_index", nic_index) @property @pulumi.getter(name="createVnicDetails") @@ -8432,30 +10053,61 @@ def __init__(__self__, *, :param pulumi.Input[bool] skip_source_dest_check: Whether the source/destination check is disabled on the VNIC. See the `skipSourceDestCheck` attribute of [CreateVnicDetails](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/CreateVnicDetails/) for more information. :param pulumi.Input[str] subnet_id: The OCID of the subnet to create the VNIC in. See the `subnetId` attribute of [CreateVnicDetails](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/CreateVnicDetails/) for more information. """ + InstanceConfigurationInstanceDetailsOptionSecondaryVnicCreateVnicDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + assign_ipv6ip=assign_ipv6ip, + assign_private_dns_record=assign_private_dns_record, + assign_public_ip=assign_public_ip, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + hostname_label=hostname_label, + ipv6address_ipv6subnet_cidr_pair_details=ipv6address_ipv6subnet_cidr_pair_details, + nsg_ids=nsg_ids, + private_ip=private_ip, + skip_source_dest_check=skip_source_dest_check, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + assign_ipv6ip: Optional[pulumi.Input[bool]] = None, + assign_private_dns_record: Optional[pulumi.Input[bool]] = None, + assign_public_ip: Optional[pulumi.Input[bool]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + hostname_label: Optional[pulumi.Input[str]] = None, + ipv6address_ipv6subnet_cidr_pair_details: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceConfigurationInstanceDetailsOptionSecondaryVnicCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailArgs']]]] = None, + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + private_ip: Optional[pulumi.Input[str]] = None, + skip_source_dest_check: Optional[pulumi.Input[bool]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if assign_ipv6ip is not None: - pulumi.set(__self__, "assign_ipv6ip", assign_ipv6ip) + _setter("assign_ipv6ip", assign_ipv6ip) if assign_private_dns_record is not None: - pulumi.set(__self__, "assign_private_dns_record", assign_private_dns_record) + _setter("assign_private_dns_record", assign_private_dns_record) if assign_public_ip is not None: - pulumi.set(__self__, "assign_public_ip", assign_public_ip) + _setter("assign_public_ip", assign_public_ip) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if hostname_label is not None: - pulumi.set(__self__, "hostname_label", hostname_label) + _setter("hostname_label", hostname_label) if ipv6address_ipv6subnet_cidr_pair_details is not None: - pulumi.set(__self__, "ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) + _setter("ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) if private_ip is not None: - pulumi.set(__self__, "private_ip", private_ip) + _setter("private_ip", private_ip) if skip_source_dest_check is not None: - pulumi.set(__self__, "skip_source_dest_check", skip_source_dest_check) + _setter("skip_source_dest_check", skip_source_dest_check) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="assignIpv6ip") @@ -8611,10 +10263,21 @@ def __init__(__self__, *, :param pulumi.Input[str] ipv6address: Optional. An available IPv6 address of your subnet from a valid IPv6 prefix on the subnet (otherwise the IP address is automatically assigned). :param pulumi.Input[str] ipv6subnet_cidr: Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation. """ + InstanceConfigurationInstanceDetailsOptionSecondaryVnicCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + ipv6address=ipv6address, + ipv6subnet_cidr=ipv6subnet_cidr, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ipv6address: Optional[pulumi.Input[str]] = None, + ipv6subnet_cidr: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ipv6address is not None: - pulumi.set(__self__, "ipv6address", ipv6address) + _setter("ipv6address", ipv6address) if ipv6subnet_cidr is not None: - pulumi.set(__self__, "ipv6subnet_cidr", ipv6subnet_cidr) + _setter("ipv6subnet_cidr", ipv6subnet_cidr) @property @pulumi.getter @@ -8652,12 +10315,25 @@ def __init__(__self__, *, :param pulumi.Input[str] display_name: A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. :param pulumi.Input[int] nic_index: Which physical network interface card (NIC) the VNIC will use. Defaults to 0. Certain bare metal instance shapes have two active physical NICs (0 and 1). If you add a secondary VNIC to one of these instances, you can specify which NIC the VNIC will use. For more information, see [Virtual Network Interface Cards (VNICs)](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingVNICs.htm). """ + InstanceConfigurationInstanceDetailsSecondaryVnicArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + create_vnic_details=create_vnic_details, + display_name=display_name, + nic_index=nic_index, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + create_vnic_details: Optional[pulumi.Input['InstanceConfigurationInstanceDetailsSecondaryVnicCreateVnicDetailsArgs']] = None, + display_name: Optional[pulumi.Input[str]] = None, + nic_index: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if create_vnic_details is not None: - pulumi.set(__self__, "create_vnic_details", create_vnic_details) + _setter("create_vnic_details", create_vnic_details) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if nic_index is not None: - pulumi.set(__self__, "nic_index", nic_index) + _setter("nic_index", nic_index) @property @pulumi.getter(name="createVnicDetails") @@ -8725,30 +10401,61 @@ def __init__(__self__, *, :param pulumi.Input[bool] skip_source_dest_check: Whether the source/destination check is disabled on the VNIC. See the `skipSourceDestCheck` attribute of [CreateVnicDetails](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/CreateVnicDetails/) for more information. :param pulumi.Input[str] subnet_id: The OCID of the subnet to create the VNIC in. See the `subnetId` attribute of [CreateVnicDetails](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/CreateVnicDetails/) for more information. """ + InstanceConfigurationInstanceDetailsSecondaryVnicCreateVnicDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + assign_ipv6ip=assign_ipv6ip, + assign_private_dns_record=assign_private_dns_record, + assign_public_ip=assign_public_ip, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + hostname_label=hostname_label, + ipv6address_ipv6subnet_cidr_pair_details=ipv6address_ipv6subnet_cidr_pair_details, + nsg_ids=nsg_ids, + private_ip=private_ip, + skip_source_dest_check=skip_source_dest_check, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + assign_ipv6ip: Optional[pulumi.Input[bool]] = None, + assign_private_dns_record: Optional[pulumi.Input[bool]] = None, + assign_public_ip: Optional[pulumi.Input[bool]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + hostname_label: Optional[pulumi.Input[str]] = None, + ipv6address_ipv6subnet_cidr_pair_details: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceConfigurationInstanceDetailsSecondaryVnicCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailArgs']]]] = None, + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + private_ip: Optional[pulumi.Input[str]] = None, + skip_source_dest_check: Optional[pulumi.Input[bool]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if assign_ipv6ip is not None: - pulumi.set(__self__, "assign_ipv6ip", assign_ipv6ip) + _setter("assign_ipv6ip", assign_ipv6ip) if assign_private_dns_record is not None: - pulumi.set(__self__, "assign_private_dns_record", assign_private_dns_record) + _setter("assign_private_dns_record", assign_private_dns_record) if assign_public_ip is not None: - pulumi.set(__self__, "assign_public_ip", assign_public_ip) + _setter("assign_public_ip", assign_public_ip) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if hostname_label is not None: - pulumi.set(__self__, "hostname_label", hostname_label) + _setter("hostname_label", hostname_label) if ipv6address_ipv6subnet_cidr_pair_details is not None: - pulumi.set(__self__, "ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) + _setter("ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) if private_ip is not None: - pulumi.set(__self__, "private_ip", private_ip) + _setter("private_ip", private_ip) if skip_source_dest_check is not None: - pulumi.set(__self__, "skip_source_dest_check", skip_source_dest_check) + _setter("skip_source_dest_check", skip_source_dest_check) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="assignIpv6ip") @@ -8904,10 +10611,21 @@ def __init__(__self__, *, :param pulumi.Input[str] ipv6address: Optional. An available IPv6 address of your subnet from a valid IPv6 prefix on the subnet (otherwise the IP address is automatically assigned). :param pulumi.Input[str] ipv6subnet_cidr: Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation. """ + InstanceConfigurationInstanceDetailsSecondaryVnicCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + ipv6address=ipv6address, + ipv6subnet_cidr=ipv6subnet_cidr, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ipv6address: Optional[pulumi.Input[str]] = None, + ipv6subnet_cidr: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ipv6address is not None: - pulumi.set(__self__, "ipv6address", ipv6address) + _setter("ipv6address", ipv6address) if ipv6subnet_cidr is not None: - pulumi.set(__self__, "ipv6subnet_cidr", ipv6subnet_cidr) + _setter("ipv6subnet_cidr", ipv6subnet_cidr) @property @pulumi.getter @@ -8986,32 +10704,65 @@ def __init__(__self__, *, Provide a `vlanId` instead of a `subnetId`. If you provide both a `vlanId` and `subnetId`, the request fails. """ + InstanceCreateVnicDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + assign_ipv6ip=assign_ipv6ip, + assign_private_dns_record=assign_private_dns_record, + assign_public_ip=assign_public_ip, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + hostname_label=hostname_label, + ipv6address_ipv6subnet_cidr_pair_details=ipv6address_ipv6subnet_cidr_pair_details, + nsg_ids=nsg_ids, + private_ip=private_ip, + skip_source_dest_check=skip_source_dest_check, + subnet_id=subnet_id, + vlan_id=vlan_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + assign_ipv6ip: Optional[pulumi.Input[bool]] = None, + assign_private_dns_record: Optional[pulumi.Input[bool]] = None, + assign_public_ip: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + hostname_label: Optional[pulumi.Input[str]] = None, + ipv6address_ipv6subnet_cidr_pair_details: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailArgs']]]] = None, + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + private_ip: Optional[pulumi.Input[str]] = None, + skip_source_dest_check: Optional[pulumi.Input[bool]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + vlan_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if assign_ipv6ip is not None: - pulumi.set(__self__, "assign_ipv6ip", assign_ipv6ip) + _setter("assign_ipv6ip", assign_ipv6ip) if assign_private_dns_record is not None: - pulumi.set(__self__, "assign_private_dns_record", assign_private_dns_record) + _setter("assign_private_dns_record", assign_private_dns_record) if assign_public_ip is not None: - pulumi.set(__self__, "assign_public_ip", assign_public_ip) + _setter("assign_public_ip", assign_public_ip) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if hostname_label is not None: - pulumi.set(__self__, "hostname_label", hostname_label) + _setter("hostname_label", hostname_label) if ipv6address_ipv6subnet_cidr_pair_details is not None: - pulumi.set(__self__, "ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) + _setter("ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) if private_ip is not None: - pulumi.set(__self__, "private_ip", private_ip) + _setter("private_ip", private_ip) if skip_source_dest_check is not None: - pulumi.set(__self__, "skip_source_dest_check", skip_source_dest_check) + _setter("skip_source_dest_check", skip_source_dest_check) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) if vlan_id is not None: - pulumi.set(__self__, "vlan_id", vlan_id) + _setter("vlan_id", vlan_id) @property @pulumi.getter(name="assignIpv6ip") @@ -9196,10 +10947,21 @@ class InstanceCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailArgs: def __init__(__self__, *, ipv6address: Optional[pulumi.Input[str]] = None, ipv6subnet_cidr: Optional[pulumi.Input[str]] = None): + InstanceCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + ipv6address=ipv6address, + ipv6subnet_cidr=ipv6subnet_cidr, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ipv6address: Optional[pulumi.Input[str]] = None, + ipv6subnet_cidr: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ipv6address is not None: - pulumi.set(__self__, "ipv6address", ipv6address) + _setter("ipv6address", ipv6address) if ipv6subnet_cidr is not None: - pulumi.set(__self__, "ipv6subnet_cidr", ipv6subnet_cidr) + _setter("ipv6subnet_cidr", ipv6subnet_cidr) @property @pulumi.getter @@ -9227,8 +10989,17 @@ def __init__(__self__, *, """ :param pulumi.Input[bool] are_legacy_imds_endpoints_disabled: (Updatable) Whether to disable the legacy (/v1) instance metadata service endpoints. Customers who have migrated to /v2 should set this to true for added security. Default is false. """ + InstanceInstanceOptionsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + are_legacy_imds_endpoints_disabled=are_legacy_imds_endpoints_disabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + are_legacy_imds_endpoints_disabled: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if are_legacy_imds_endpoints_disabled is not None: - pulumi.set(__self__, "are_legacy_imds_endpoints_disabled", are_legacy_imds_endpoints_disabled) + _setter("are_legacy_imds_endpoints_disabled", are_legacy_imds_endpoints_disabled) @property @pulumi.getter(name="areLegacyImdsEndpointsDisabled") @@ -9260,18 +11031,37 @@ def __init__(__self__, *, :param pulumi.Input[str] network_type: (Updatable) Emulation type for the physical network interface card (NIC). :param pulumi.Input[str] remote_data_volume_type: Emulation type for volume. """ + InstanceLaunchOptionsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + boot_volume_type=boot_volume_type, + firmware=firmware, + is_consistent_volume_naming_enabled=is_consistent_volume_naming_enabled, + is_pv_encryption_in_transit_enabled=is_pv_encryption_in_transit_enabled, + network_type=network_type, + remote_data_volume_type=remote_data_volume_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + boot_volume_type: Optional[pulumi.Input[str]] = None, + firmware: Optional[pulumi.Input[str]] = None, + is_consistent_volume_naming_enabled: Optional[pulumi.Input[bool]] = None, + is_pv_encryption_in_transit_enabled: Optional[pulumi.Input[bool]] = None, + network_type: Optional[pulumi.Input[str]] = None, + remote_data_volume_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if boot_volume_type is not None: - pulumi.set(__self__, "boot_volume_type", boot_volume_type) + _setter("boot_volume_type", boot_volume_type) if firmware is not None: - pulumi.set(__self__, "firmware", firmware) + _setter("firmware", firmware) if is_consistent_volume_naming_enabled is not None: - pulumi.set(__self__, "is_consistent_volume_naming_enabled", is_consistent_volume_naming_enabled) + _setter("is_consistent_volume_naming_enabled", is_consistent_volume_naming_enabled) if is_pv_encryption_in_transit_enabled is not None: - pulumi.set(__self__, "is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) + _setter("is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) if network_type is not None: - pulumi.set(__self__, "network_type", network_type) + _setter("network_type", network_type) if remote_data_volume_type is not None: - pulumi.set(__self__, "remote_data_volume_type", remote_data_volume_type) + _setter("remote_data_volume_type", remote_data_volume_type) @property @pulumi.getter(name="bootVolumeType") @@ -9379,29 +11169,60 @@ def __init__(__self__, *, If the applications that you run on the instance use a core-based licensing model and need fewer cores than the full size of the shape, you can disable cores to reduce your licensing costs. The instance itself is billed for the full shape, regardless of whether all cores are enabled. """ - pulumi.set(__self__, "type", type) + InstancePlatformConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + are_virtual_instructions_enabled=are_virtual_instructions_enabled, + config_map=config_map, + is_access_control_service_enabled=is_access_control_service_enabled, + is_input_output_memory_management_unit_enabled=is_input_output_memory_management_unit_enabled, + is_measured_boot_enabled=is_measured_boot_enabled, + is_memory_encryption_enabled=is_memory_encryption_enabled, + is_secure_boot_enabled=is_secure_boot_enabled, + is_symmetric_multi_threading_enabled=is_symmetric_multi_threading_enabled, + is_trusted_platform_module_enabled=is_trusted_platform_module_enabled, + numa_nodes_per_socket=numa_nodes_per_socket, + percentage_of_cores_enabled=percentage_of_cores_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + are_virtual_instructions_enabled: Optional[pulumi.Input[bool]] = None, + config_map: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_access_control_service_enabled: Optional[pulumi.Input[bool]] = None, + is_input_output_memory_management_unit_enabled: Optional[pulumi.Input[bool]] = None, + is_measured_boot_enabled: Optional[pulumi.Input[bool]] = None, + is_memory_encryption_enabled: Optional[pulumi.Input[bool]] = None, + is_secure_boot_enabled: Optional[pulumi.Input[bool]] = None, + is_symmetric_multi_threading_enabled: Optional[pulumi.Input[bool]] = None, + is_trusted_platform_module_enabled: Optional[pulumi.Input[bool]] = None, + numa_nodes_per_socket: Optional[pulumi.Input[str]] = None, + percentage_of_cores_enabled: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if are_virtual_instructions_enabled is not None: - pulumi.set(__self__, "are_virtual_instructions_enabled", are_virtual_instructions_enabled) + _setter("are_virtual_instructions_enabled", are_virtual_instructions_enabled) if config_map is not None: - pulumi.set(__self__, "config_map", config_map) + _setter("config_map", config_map) if is_access_control_service_enabled is not None: - pulumi.set(__self__, "is_access_control_service_enabled", is_access_control_service_enabled) + _setter("is_access_control_service_enabled", is_access_control_service_enabled) if is_input_output_memory_management_unit_enabled is not None: - pulumi.set(__self__, "is_input_output_memory_management_unit_enabled", is_input_output_memory_management_unit_enabled) + _setter("is_input_output_memory_management_unit_enabled", is_input_output_memory_management_unit_enabled) if is_measured_boot_enabled is not None: - pulumi.set(__self__, "is_measured_boot_enabled", is_measured_boot_enabled) + _setter("is_measured_boot_enabled", is_measured_boot_enabled) if is_memory_encryption_enabled is not None: - pulumi.set(__self__, "is_memory_encryption_enabled", is_memory_encryption_enabled) + _setter("is_memory_encryption_enabled", is_memory_encryption_enabled) if is_secure_boot_enabled is not None: - pulumi.set(__self__, "is_secure_boot_enabled", is_secure_boot_enabled) + _setter("is_secure_boot_enabled", is_secure_boot_enabled) if is_symmetric_multi_threading_enabled is not None: - pulumi.set(__self__, "is_symmetric_multi_threading_enabled", is_symmetric_multi_threading_enabled) + _setter("is_symmetric_multi_threading_enabled", is_symmetric_multi_threading_enabled) if is_trusted_platform_module_enabled is not None: - pulumi.set(__self__, "is_trusted_platform_module_enabled", is_trusted_platform_module_enabled) + _setter("is_trusted_platform_module_enabled", is_trusted_platform_module_enabled) if numa_nodes_per_socket is not None: - pulumi.set(__self__, "numa_nodes_per_socket", numa_nodes_per_socket) + _setter("numa_nodes_per_socket", numa_nodes_per_socket) if percentage_of_cores_enabled is not None: - pulumi.set(__self__, "percentage_of_cores_enabled", percentage_of_cores_enabled) + _setter("percentage_of_cores_enabled", percentage_of_cores_enabled) @property @pulumi.getter @@ -9567,16 +11388,33 @@ def __init__(__self__, *, :param pulumi.Input[str] load_balancer_id: The OCID of the load balancer attached to the instance pool. :param pulumi.Input[str] state: The lifecycle state of the instance. Refer to `lifecycleState` in the [Instance](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/Instance) resource. """ + InstancePoolInstanceLoadBalancerBackendArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + backend_health_status=backend_health_status, + backend_name=backend_name, + backend_set_name=backend_set_name, + load_balancer_id=load_balancer_id, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backend_health_status: Optional[pulumi.Input[str]] = None, + backend_name: Optional[pulumi.Input[str]] = None, + backend_set_name: Optional[pulumi.Input[str]] = None, + load_balancer_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if backend_health_status is not None: - pulumi.set(__self__, "backend_health_status", backend_health_status) + _setter("backend_health_status", backend_health_status) if backend_name is not None: - pulumi.set(__self__, "backend_name", backend_name) + _setter("backend_name", backend_name) if backend_set_name is not None: - pulumi.set(__self__, "backend_set_name", backend_set_name) + _setter("backend_set_name", backend_set_name) if load_balancer_id is not None: - pulumi.set(__self__, "load_balancer_id", load_balancer_id) + _setter("load_balancer_id", load_balancer_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) @property @pulumi.getter(name="backendHealthStatus") @@ -9662,16 +11500,37 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "backend_set_name", backend_set_name) - pulumi.set(__self__, "load_balancer_id", load_balancer_id) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "vnic_selection", vnic_selection) + InstancePoolLoadBalancerArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + backend_set_name=backend_set_name, + load_balancer_id=load_balancer_id, + port=port, + vnic_selection=vnic_selection, + id=id, + instance_pool_id=instance_pool_id, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backend_set_name: pulumi.Input[str], + load_balancer_id: pulumi.Input[str], + port: pulumi.Input[int], + vnic_selection: pulumi.Input[str], + id: Optional[pulumi.Input[str]] = None, + instance_pool_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("backend_set_name", backend_set_name) + _setter("load_balancer_id", load_balancer_id) + _setter("port", port) + _setter("vnic_selection", vnic_selection) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if instance_pool_id is not None: - pulumi.set(__self__, "instance_pool_id", instance_pool_id) + _setter("instance_pool_id", instance_pool_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) @property @pulumi.getter(name="backendSetName") @@ -9785,15 +11644,32 @@ def __init__(__self__, *, :param pulumi.Input['InstancePoolPlacementConfigurationPrimaryVnicSubnetsArgs'] primary_vnic_subnets: (Updatable) Details about the IPv6 primary subnet. :param pulumi.Input[Sequence[pulumi.Input['InstancePoolPlacementConfigurationSecondaryVnicSubnetArgs']]] secondary_vnic_subnets: (Updatable) The set of secondary VNIC data for instances in the pool. """ - pulumi.set(__self__, "availability_domain", availability_domain) + InstancePoolPlacementConfigurationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + fault_domains=fault_domains, + primary_subnet_id=primary_subnet_id, + primary_vnic_subnets=primary_vnic_subnets, + secondary_vnic_subnets=secondary_vnic_subnets, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: pulumi.Input[str], + fault_domains: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + primary_subnet_id: Optional[pulumi.Input[str]] = None, + primary_vnic_subnets: Optional[pulumi.Input['InstancePoolPlacementConfigurationPrimaryVnicSubnetsArgs']] = None, + secondary_vnic_subnets: Optional[pulumi.Input[Sequence[pulumi.Input['InstancePoolPlacementConfigurationSecondaryVnicSubnetArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) if fault_domains is not None: - pulumi.set(__self__, "fault_domains", fault_domains) + _setter("fault_domains", fault_domains) if primary_subnet_id is not None: - pulumi.set(__self__, "primary_subnet_id", primary_subnet_id) + _setter("primary_subnet_id", primary_subnet_id) if primary_vnic_subnets is not None: - pulumi.set(__self__, "primary_vnic_subnets", primary_vnic_subnets) + _setter("primary_vnic_subnets", primary_vnic_subnets) if secondary_vnic_subnets is not None: - pulumi.set(__self__, "secondary_vnic_subnets", secondary_vnic_subnets) + _setter("secondary_vnic_subnets", secondary_vnic_subnets) @property @pulumi.getter(name="availabilityDomain") @@ -9875,11 +11751,24 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['InstancePoolPlacementConfigurationPrimaryVnicSubnetsIpv6addressIpv6subnetCidrPairDetailArgs']]] ipv6address_ipv6subnet_cidr_pair_details: (Updatable) A list of IPv6 prefix ranges from which the VNIC should be assigned an IPv6 address. You can provide only the prefix ranges and Oracle Cloud Infrastructure will select an available address from the range. You can optionally choose to leave the prefix range empty and instead provide the specific IPv6 address that should be used from within that range. :param pulumi.Input[bool] is_assign_ipv6ip: (Updatable) Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled subnet. Default: False. When provided you may optionally provide an IPv6 prefix (`ipv6SubnetCidr`) of your choice to assign the IPv6 address from. If `ipv6SubnetCidr` is not provided then an IPv6 prefix is chosen for you. """ - pulumi.set(__self__, "subnet_id", subnet_id) + InstancePoolPlacementConfigurationPrimaryVnicSubnetsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + subnet_id=subnet_id, + ipv6address_ipv6subnet_cidr_pair_details=ipv6address_ipv6subnet_cidr_pair_details, + is_assign_ipv6ip=is_assign_ipv6ip, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + subnet_id: pulumi.Input[str], + ipv6address_ipv6subnet_cidr_pair_details: Optional[pulumi.Input[Sequence[pulumi.Input['InstancePoolPlacementConfigurationPrimaryVnicSubnetsIpv6addressIpv6subnetCidrPairDetailArgs']]]] = None, + is_assign_ipv6ip: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("subnet_id", subnet_id) if ipv6address_ipv6subnet_cidr_pair_details is not None: - pulumi.set(__self__, "ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) + _setter("ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) if is_assign_ipv6ip is not None: - pulumi.set(__self__, "is_assign_ipv6ip", is_assign_ipv6ip) + _setter("is_assign_ipv6ip", is_assign_ipv6ip) @property @pulumi.getter(name="subnetId") @@ -9925,8 +11814,17 @@ def __init__(__self__, *, """ :param pulumi.Input[str] ipv6subnet_cidr: (Updatable) Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation. """ + InstancePoolPlacementConfigurationPrimaryVnicSubnetsIpv6addressIpv6subnetCidrPairDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + ipv6subnet_cidr=ipv6subnet_cidr, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ipv6subnet_cidr: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ipv6subnet_cidr is not None: - pulumi.set(__self__, "ipv6subnet_cidr", ipv6subnet_cidr) + _setter("ipv6subnet_cidr", ipv6subnet_cidr) @property @pulumi.getter(name="ipv6subnetCidr") @@ -9954,13 +11852,28 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['InstancePoolPlacementConfigurationSecondaryVnicSubnetIpv6addressIpv6subnetCidrPairDetailArgs']]] ipv6address_ipv6subnet_cidr_pair_details: (Updatable) A list of IPv6 prefix ranges from which the VNIC should be assigned an IPv6 address. You can provide only the prefix ranges and Oracle Cloud Infrastructure will select an available address from the range. You can optionally choose to leave the prefix range empty and instead provide the specific IPv6 address that should be used from within that range. :param pulumi.Input[bool] is_assign_ipv6ip: (Updatable) Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled subnet. Default: False. When provided you may optionally provide an IPv6 prefix (`ipv6SubnetCidr`) of your choice to assign the IPv6 address from. If `ipv6SubnetCidr` is not provided then an IPv6 prefix is chosen for you. """ - pulumi.set(__self__, "subnet_id", subnet_id) + InstancePoolPlacementConfigurationSecondaryVnicSubnetArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + subnet_id=subnet_id, + display_name=display_name, + ipv6address_ipv6subnet_cidr_pair_details=ipv6address_ipv6subnet_cidr_pair_details, + is_assign_ipv6ip=is_assign_ipv6ip, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + subnet_id: pulumi.Input[str], + display_name: Optional[pulumi.Input[str]] = None, + ipv6address_ipv6subnet_cidr_pair_details: Optional[pulumi.Input[Sequence[pulumi.Input['InstancePoolPlacementConfigurationSecondaryVnicSubnetIpv6addressIpv6subnetCidrPairDetailArgs']]]] = None, + is_assign_ipv6ip: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("subnet_id", subnet_id) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if ipv6address_ipv6subnet_cidr_pair_details is not None: - pulumi.set(__self__, "ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) + _setter("ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) if is_assign_ipv6ip is not None: - pulumi.set(__self__, "is_assign_ipv6ip", is_assign_ipv6ip) + _setter("is_assign_ipv6ip", is_assign_ipv6ip) @property @pulumi.getter(name="subnetId") @@ -10018,8 +11931,17 @@ def __init__(__self__, *, """ :param pulumi.Input[str] ipv6subnet_cidr: (Updatable) Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation. """ + InstancePoolPlacementConfigurationSecondaryVnicSubnetIpv6addressIpv6subnetCidrPairDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + ipv6subnet_cidr=ipv6subnet_cidr, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ipv6subnet_cidr: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ipv6subnet_cidr is not None: - pulumi.set(__self__, "ipv6subnet_cidr", ipv6subnet_cidr) + _setter("ipv6subnet_cidr", ipv6subnet_cidr) @property @pulumi.getter(name="ipv6subnetCidr") @@ -10041,7 +11963,16 @@ def __init__(__self__, *, """ :param pulumi.Input['InstancePreemptibleInstanceConfigPreemptionActionArgs'] preemption_action: The action to run when the preemptible instance is interrupted for eviction. """ - pulumi.set(__self__, "preemption_action", preemption_action) + InstancePreemptibleInstanceConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + preemption_action=preemption_action, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + preemption_action: pulumi.Input['InstancePreemptibleInstanceConfigPreemptionActionArgs'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("preemption_action", preemption_action) @property @pulumi.getter(name="preemptionAction") @@ -10065,9 +11996,20 @@ def __init__(__self__, *, :param pulumi.Input[str] type: The type of action to run when the instance is interrupted for eviction. :param pulumi.Input[bool] preserve_boot_volume: Whether to preserve the boot volume that was used to launch the preemptible instance when the instance is terminated. Defaults to false if not specified. """ - pulumi.set(__self__, "type", type) + InstancePreemptibleInstanceConfigPreemptionActionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + preserve_boot_volume=preserve_boot_volume, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + preserve_boot_volume: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if preserve_boot_volume is not None: - pulumi.set(__self__, "preserve_boot_volume", preserve_boot_volume) + _setter("preserve_boot_volume", preserve_boot_volume) @property @pulumi.getter @@ -10127,32 +12069,65 @@ def __init__(__self__, *, :param pulumi.Input[str] processor_description: A short description of the instance's processor (CPU). :param pulumi.Input[int] vcpus: (Updatable) The total number of VCPUs available to the instance. This can be used instead of OCPUs, in which case the actual number of OCPUs will be calculated based on this value and the actual hardware. This must be a multiple of 2. """ + InstanceShapeConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + baseline_ocpu_utilization=baseline_ocpu_utilization, + gpu_description=gpu_description, + gpus=gpus, + local_disk_description=local_disk_description, + local_disks=local_disks, + local_disks_total_size_in_gbs=local_disks_total_size_in_gbs, + max_vnic_attachments=max_vnic_attachments, + memory_in_gbs=memory_in_gbs, + networking_bandwidth_in_gbps=networking_bandwidth_in_gbps, + nvmes=nvmes, + ocpus=ocpus, + processor_description=processor_description, + vcpus=vcpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + baseline_ocpu_utilization: Optional[pulumi.Input[str]] = None, + gpu_description: Optional[pulumi.Input[str]] = None, + gpus: Optional[pulumi.Input[int]] = None, + local_disk_description: Optional[pulumi.Input[str]] = None, + local_disks: Optional[pulumi.Input[int]] = None, + local_disks_total_size_in_gbs: Optional[pulumi.Input[float]] = None, + max_vnic_attachments: Optional[pulumi.Input[int]] = None, + memory_in_gbs: Optional[pulumi.Input[float]] = None, + networking_bandwidth_in_gbps: Optional[pulumi.Input[float]] = None, + nvmes: Optional[pulumi.Input[int]] = None, + ocpus: Optional[pulumi.Input[float]] = None, + processor_description: Optional[pulumi.Input[str]] = None, + vcpus: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if baseline_ocpu_utilization is not None: - pulumi.set(__self__, "baseline_ocpu_utilization", baseline_ocpu_utilization) + _setter("baseline_ocpu_utilization", baseline_ocpu_utilization) if gpu_description is not None: - pulumi.set(__self__, "gpu_description", gpu_description) + _setter("gpu_description", gpu_description) if gpus is not None: - pulumi.set(__self__, "gpus", gpus) + _setter("gpus", gpus) if local_disk_description is not None: - pulumi.set(__self__, "local_disk_description", local_disk_description) + _setter("local_disk_description", local_disk_description) if local_disks is not None: - pulumi.set(__self__, "local_disks", local_disks) + _setter("local_disks", local_disks) if local_disks_total_size_in_gbs is not None: - pulumi.set(__self__, "local_disks_total_size_in_gbs", local_disks_total_size_in_gbs) + _setter("local_disks_total_size_in_gbs", local_disks_total_size_in_gbs) if max_vnic_attachments is not None: - pulumi.set(__self__, "max_vnic_attachments", max_vnic_attachments) + _setter("max_vnic_attachments", max_vnic_attachments) if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) if networking_bandwidth_in_gbps is not None: - pulumi.set(__self__, "networking_bandwidth_in_gbps", networking_bandwidth_in_gbps) + _setter("networking_bandwidth_in_gbps", networking_bandwidth_in_gbps) if nvmes is not None: - pulumi.set(__self__, "nvmes", nvmes) + _setter("nvmes", nvmes) if ocpus is not None: - pulumi.set(__self__, "ocpus", ocpus) + _setter("ocpus", ocpus) if processor_description is not None: - pulumi.set(__self__, "processor_description", processor_description) + _setter("processor_description", processor_description) if vcpus is not None: - pulumi.set(__self__, "vcpus", vcpus) + _setter("vcpus", vcpus) @property @pulumi.getter(name="baselineOcpuUtilization") @@ -10332,17 +12307,36 @@ def __init__(__self__, *, :param pulumi.Input[str] kms_key_id: The OCID of the Vault service key to assign as the master encryption key for the boot volume. :param pulumi.Input[str] source_id: The OCID of an image or a boot volume to use, depending on the value of `source_type`. """ - pulumi.set(__self__, "source_type", source_type) + InstanceSourceDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + source_type=source_type, + boot_volume_size_in_gbs=boot_volume_size_in_gbs, + boot_volume_vpus_per_gb=boot_volume_vpus_per_gb, + instance_source_image_filter_details=instance_source_image_filter_details, + kms_key_id=kms_key_id, + source_id=source_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + source_type: pulumi.Input[str], + boot_volume_size_in_gbs: Optional[pulumi.Input[str]] = None, + boot_volume_vpus_per_gb: Optional[pulumi.Input[str]] = None, + instance_source_image_filter_details: Optional[pulumi.Input['InstanceSourceDetailsInstanceSourceImageFilterDetailsArgs']] = None, + kms_key_id: Optional[pulumi.Input[str]] = None, + source_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("source_type", source_type) if boot_volume_size_in_gbs is not None: - pulumi.set(__self__, "boot_volume_size_in_gbs", boot_volume_size_in_gbs) + _setter("boot_volume_size_in_gbs", boot_volume_size_in_gbs) if boot_volume_vpus_per_gb is not None: - pulumi.set(__self__, "boot_volume_vpus_per_gb", boot_volume_vpus_per_gb) + _setter("boot_volume_vpus_per_gb", boot_volume_vpus_per_gb) if instance_source_image_filter_details is not None: - pulumi.set(__self__, "instance_source_image_filter_details", instance_source_image_filter_details) + _setter("instance_source_image_filter_details", instance_source_image_filter_details) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) if source_id is not None: - pulumi.set(__self__, "source_id", source_id) + _setter("source_id", source_id) @property @pulumi.getter(name="sourceType") @@ -10432,13 +12426,28 @@ def __init__(__self__, *, :param pulumi.Input[str] operating_system: The image's operating system. Example: `Oracle Linux` :param pulumi.Input[str] operating_system_version: The image's operating system version. Example: `7.2` """ - pulumi.set(__self__, "compartment_id", compartment_id) + InstanceSourceDetailsInstanceSourceImageFilterDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags_filter=defined_tags_filter, + operating_system=operating_system, + operating_system_version=operating_system_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + defined_tags_filter: Optional[pulumi.Input[Mapping[str, Any]]] = None, + operating_system: Optional[pulumi.Input[str]] = None, + operating_system_version: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) if defined_tags_filter is not None: - pulumi.set(__self__, "defined_tags_filter", defined_tags_filter) + _setter("defined_tags_filter", defined_tags_filter) if operating_system is not None: - pulumi.set(__self__, "operating_system", operating_system) + _setter("operating_system", operating_system) if operating_system_version is not None: - pulumi.set(__self__, "operating_system_version", operating_system_version) + _setter("operating_system_version", operating_system_version) @property @pulumi.getter(name="compartmentId") @@ -10526,18 +12535,37 @@ def __init__(__self__, *, Example: `10.0.0.4/31` """ + IpsecConnectionTunnelManagementBgpSessionInfoArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + bgp_ipv6state=bgp_ipv6state, + bgp_state=bgp_state, + customer_bgp_asn=customer_bgp_asn, + customer_interface_ip=customer_interface_ip, + oracle_bgp_asn=oracle_bgp_asn, + oracle_interface_ip=oracle_interface_ip, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bgp_ipv6state: Optional[pulumi.Input[str]] = None, + bgp_state: Optional[pulumi.Input[str]] = None, + customer_bgp_asn: Optional[pulumi.Input[str]] = None, + customer_interface_ip: Optional[pulumi.Input[str]] = None, + oracle_bgp_asn: Optional[pulumi.Input[str]] = None, + oracle_interface_ip: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if bgp_ipv6state is not None: - pulumi.set(__self__, "bgp_ipv6state", bgp_ipv6state) + _setter("bgp_ipv6state", bgp_ipv6state) if bgp_state is not None: - pulumi.set(__self__, "bgp_state", bgp_state) + _setter("bgp_state", bgp_state) if customer_bgp_asn is not None: - pulumi.set(__self__, "customer_bgp_asn", customer_bgp_asn) + _setter("customer_bgp_asn", customer_bgp_asn) if customer_interface_ip is not None: - pulumi.set(__self__, "customer_interface_ip", customer_interface_ip) + _setter("customer_interface_ip", customer_interface_ip) if oracle_bgp_asn is not None: - pulumi.set(__self__, "oracle_bgp_asn", oracle_bgp_asn) + _setter("oracle_bgp_asn", oracle_bgp_asn) if oracle_interface_ip is not None: - pulumi.set(__self__, "oracle_interface_ip", oracle_interface_ip) + _setter("oracle_interface_ip", oracle_interface_ip) @property @pulumi.getter(name="bgpIpv6state") @@ -10637,10 +12665,21 @@ class IpsecConnectionTunnelManagementDpdConfigArgs: def __init__(__self__, *, dpd_mode: Optional[pulumi.Input[str]] = None, dpd_timeout_in_sec: Optional[pulumi.Input[int]] = None): + IpsecConnectionTunnelManagementDpdConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + dpd_mode=dpd_mode, + dpd_timeout_in_sec=dpd_timeout_in_sec, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + dpd_mode: Optional[pulumi.Input[str]] = None, + dpd_timeout_in_sec: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if dpd_mode is not None: - pulumi.set(__self__, "dpd_mode", dpd_mode) + _setter("dpd_mode", dpd_mode) if dpd_timeout_in_sec is not None: - pulumi.set(__self__, "dpd_timeout_in_sec", dpd_timeout_in_sec) + _setter("dpd_timeout_in_sec", dpd_timeout_in_sec) @property @pulumi.getter(name="dpdMode") @@ -10670,10 +12709,21 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] cpe_traffic_selectors: Lists IPv4 or IPv6-enabled subnets in your on-premises network. :param pulumi.Input[Sequence[pulumi.Input[str]]] oracle_traffic_selectors: Lists IPv4 or IPv6-enabled subnets in your Oracle tenancy. """ + IpsecConnectionTunnelManagementEncryptionDomainConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + cpe_traffic_selectors=cpe_traffic_selectors, + oracle_traffic_selectors=oracle_traffic_selectors, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cpe_traffic_selectors: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + oracle_traffic_selectors: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if cpe_traffic_selectors is not None: - pulumi.set(__self__, "cpe_traffic_selectors", cpe_traffic_selectors) + _setter("cpe_traffic_selectors", cpe_traffic_selectors) if oracle_traffic_selectors is not None: - pulumi.set(__self__, "oracle_traffic_selectors", oracle_traffic_selectors) + _setter("oracle_traffic_selectors", oracle_traffic_selectors) @property @pulumi.getter(name="cpeTrafficSelectors") @@ -10714,28 +12764,57 @@ def __init__(__self__, *, negotiated_encryption_algorithm: Optional[pulumi.Input[str]] = None, remaining_lifetime: Optional[pulumi.Input[str]] = None, remaining_lifetime_last_retrieved: Optional[pulumi.Input[str]] = None): + IpsecConnectionTunnelManagementPhaseOneDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_authentication_algorithm=custom_authentication_algorithm, + custom_dh_group=custom_dh_group, + custom_encryption_algorithm=custom_encryption_algorithm, + is_custom_phase_one_config=is_custom_phase_one_config, + is_ike_established=is_ike_established, + lifetime=lifetime, + negotiated_authentication_algorithm=negotiated_authentication_algorithm, + negotiated_dh_group=negotiated_dh_group, + negotiated_encryption_algorithm=negotiated_encryption_algorithm, + remaining_lifetime=remaining_lifetime, + remaining_lifetime_last_retrieved=remaining_lifetime_last_retrieved, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_authentication_algorithm: Optional[pulumi.Input[str]] = None, + custom_dh_group: Optional[pulumi.Input[str]] = None, + custom_encryption_algorithm: Optional[pulumi.Input[str]] = None, + is_custom_phase_one_config: Optional[pulumi.Input[bool]] = None, + is_ike_established: Optional[pulumi.Input[bool]] = None, + lifetime: Optional[pulumi.Input[int]] = None, + negotiated_authentication_algorithm: Optional[pulumi.Input[str]] = None, + negotiated_dh_group: Optional[pulumi.Input[str]] = None, + negotiated_encryption_algorithm: Optional[pulumi.Input[str]] = None, + remaining_lifetime: Optional[pulumi.Input[str]] = None, + remaining_lifetime_last_retrieved: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if custom_authentication_algorithm is not None: - pulumi.set(__self__, "custom_authentication_algorithm", custom_authentication_algorithm) + _setter("custom_authentication_algorithm", custom_authentication_algorithm) if custom_dh_group is not None: - pulumi.set(__self__, "custom_dh_group", custom_dh_group) + _setter("custom_dh_group", custom_dh_group) if custom_encryption_algorithm is not None: - pulumi.set(__self__, "custom_encryption_algorithm", custom_encryption_algorithm) + _setter("custom_encryption_algorithm", custom_encryption_algorithm) if is_custom_phase_one_config is not None: - pulumi.set(__self__, "is_custom_phase_one_config", is_custom_phase_one_config) + _setter("is_custom_phase_one_config", is_custom_phase_one_config) if is_ike_established is not None: - pulumi.set(__self__, "is_ike_established", is_ike_established) + _setter("is_ike_established", is_ike_established) if lifetime is not None: - pulumi.set(__self__, "lifetime", lifetime) + _setter("lifetime", lifetime) if negotiated_authentication_algorithm is not None: - pulumi.set(__self__, "negotiated_authentication_algorithm", negotiated_authentication_algorithm) + _setter("negotiated_authentication_algorithm", negotiated_authentication_algorithm) if negotiated_dh_group is not None: - pulumi.set(__self__, "negotiated_dh_group", negotiated_dh_group) + _setter("negotiated_dh_group", negotiated_dh_group) if negotiated_encryption_algorithm is not None: - pulumi.set(__self__, "negotiated_encryption_algorithm", negotiated_encryption_algorithm) + _setter("negotiated_encryption_algorithm", negotiated_encryption_algorithm) if remaining_lifetime is not None: - pulumi.set(__self__, "remaining_lifetime", remaining_lifetime) + _setter("remaining_lifetime", remaining_lifetime) if remaining_lifetime_last_retrieved is not None: - pulumi.set(__self__, "remaining_lifetime_last_retrieved", remaining_lifetime_last_retrieved) + _setter("remaining_lifetime_last_retrieved", remaining_lifetime_last_retrieved) @property @pulumi.getter(name="customAuthenticationAlgorithm") @@ -10852,30 +12931,61 @@ def __init__(__self__, *, negotiated_encryption_algorithm: Optional[pulumi.Input[str]] = None, remaining_lifetime: Optional[pulumi.Input[str]] = None, remaining_lifetime_last_retrieved: Optional[pulumi.Input[str]] = None): + IpsecConnectionTunnelManagementPhaseTwoDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_authentication_algorithm=custom_authentication_algorithm, + custom_encryption_algorithm=custom_encryption_algorithm, + dh_group=dh_group, + is_custom_phase_two_config=is_custom_phase_two_config, + is_esp_established=is_esp_established, + is_pfs_enabled=is_pfs_enabled, + lifetime=lifetime, + negotiated_authentication_algorithm=negotiated_authentication_algorithm, + negotiated_dh_group=negotiated_dh_group, + negotiated_encryption_algorithm=negotiated_encryption_algorithm, + remaining_lifetime=remaining_lifetime, + remaining_lifetime_last_retrieved=remaining_lifetime_last_retrieved, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_authentication_algorithm: Optional[pulumi.Input[str]] = None, + custom_encryption_algorithm: Optional[pulumi.Input[str]] = None, + dh_group: Optional[pulumi.Input[str]] = None, + is_custom_phase_two_config: Optional[pulumi.Input[bool]] = None, + is_esp_established: Optional[pulumi.Input[bool]] = None, + is_pfs_enabled: Optional[pulumi.Input[bool]] = None, + lifetime: Optional[pulumi.Input[int]] = None, + negotiated_authentication_algorithm: Optional[pulumi.Input[str]] = None, + negotiated_dh_group: Optional[pulumi.Input[str]] = None, + negotiated_encryption_algorithm: Optional[pulumi.Input[str]] = None, + remaining_lifetime: Optional[pulumi.Input[str]] = None, + remaining_lifetime_last_retrieved: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if custom_authentication_algorithm is not None: - pulumi.set(__self__, "custom_authentication_algorithm", custom_authentication_algorithm) + _setter("custom_authentication_algorithm", custom_authentication_algorithm) if custom_encryption_algorithm is not None: - pulumi.set(__self__, "custom_encryption_algorithm", custom_encryption_algorithm) + _setter("custom_encryption_algorithm", custom_encryption_algorithm) if dh_group is not None: - pulumi.set(__self__, "dh_group", dh_group) + _setter("dh_group", dh_group) if is_custom_phase_two_config is not None: - pulumi.set(__self__, "is_custom_phase_two_config", is_custom_phase_two_config) + _setter("is_custom_phase_two_config", is_custom_phase_two_config) if is_esp_established is not None: - pulumi.set(__self__, "is_esp_established", is_esp_established) + _setter("is_esp_established", is_esp_established) if is_pfs_enabled is not None: - pulumi.set(__self__, "is_pfs_enabled", is_pfs_enabled) + _setter("is_pfs_enabled", is_pfs_enabled) if lifetime is not None: - pulumi.set(__self__, "lifetime", lifetime) + _setter("lifetime", lifetime) if negotiated_authentication_algorithm is not None: - pulumi.set(__self__, "negotiated_authentication_algorithm", negotiated_authentication_algorithm) + _setter("negotiated_authentication_algorithm", negotiated_authentication_algorithm) if negotiated_dh_group is not None: - pulumi.set(__self__, "negotiated_dh_group", negotiated_dh_group) + _setter("negotiated_dh_group", negotiated_dh_group) if negotiated_encryption_algorithm is not None: - pulumi.set(__self__, "negotiated_encryption_algorithm", negotiated_encryption_algorithm) + _setter("negotiated_encryption_algorithm", negotiated_encryption_algorithm) if remaining_lifetime is not None: - pulumi.set(__self__, "remaining_lifetime", remaining_lifetime) + _setter("remaining_lifetime", remaining_lifetime) if remaining_lifetime_last_retrieved is not None: - pulumi.set(__self__, "remaining_lifetime_last_retrieved", remaining_lifetime_last_retrieved) + _setter("remaining_lifetime_last_retrieved", remaining_lifetime_last_retrieved) @property @pulumi.getter(name="customAuthenticationAlgorithm") @@ -10995,9 +13105,20 @@ def __init__(__self__, *, :param pulumi.Input[int] type: The ICMP type. :param pulumi.Input[int] code: The ICMP code (optional). """ - pulumi.set(__self__, "type", type) + NetworkSecurityGroupSecurityRuleIcmpOptionsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + code=code, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[int], + code: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if code is not None: - pulumi.set(__self__, "code", code) + _setter("code", code) @property @pulumi.getter @@ -11029,10 +13150,21 @@ class NetworkSecurityGroupSecurityRuleTcpOptionsArgs: def __init__(__self__, *, destination_port_range: Optional[pulumi.Input['NetworkSecurityGroupSecurityRuleTcpOptionsDestinationPortRangeArgs']] = None, source_port_range: Optional[pulumi.Input['NetworkSecurityGroupSecurityRuleTcpOptionsSourcePortRangeArgs']] = None): + NetworkSecurityGroupSecurityRuleTcpOptionsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + destination_port_range=destination_port_range, + source_port_range=source_port_range, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + destination_port_range: Optional[pulumi.Input['NetworkSecurityGroupSecurityRuleTcpOptionsDestinationPortRangeArgs']] = None, + source_port_range: Optional[pulumi.Input['NetworkSecurityGroupSecurityRuleTcpOptionsSourcePortRangeArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if destination_port_range is not None: - pulumi.set(__self__, "destination_port_range", destination_port_range) + _setter("destination_port_range", destination_port_range) if source_port_range is not None: - pulumi.set(__self__, "source_port_range", source_port_range) + _setter("source_port_range", source_port_range) @property @pulumi.getter(name="destinationPortRange") @@ -11066,8 +13198,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "min", min) + NetworkSecurityGroupSecurityRuleTcpOptionsDestinationPortRangeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: pulumi.Input[int], + min: pulumi.Input[int], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max", max) + _setter("min", min) @property @pulumi.getter @@ -11111,8 +13254,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "min", min) + NetworkSecurityGroupSecurityRuleTcpOptionsSourcePortRangeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: pulumi.Input[int], + min: pulumi.Input[int], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max", max) + _setter("min", min) @property @pulumi.getter @@ -11148,10 +13302,21 @@ class NetworkSecurityGroupSecurityRuleUdpOptionsArgs: def __init__(__self__, *, destination_port_range: Optional[pulumi.Input['NetworkSecurityGroupSecurityRuleUdpOptionsDestinationPortRangeArgs']] = None, source_port_range: Optional[pulumi.Input['NetworkSecurityGroupSecurityRuleUdpOptionsSourcePortRangeArgs']] = None): + NetworkSecurityGroupSecurityRuleUdpOptionsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + destination_port_range=destination_port_range, + source_port_range=source_port_range, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + destination_port_range: Optional[pulumi.Input['NetworkSecurityGroupSecurityRuleUdpOptionsDestinationPortRangeArgs']] = None, + source_port_range: Optional[pulumi.Input['NetworkSecurityGroupSecurityRuleUdpOptionsSourcePortRangeArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if destination_port_range is not None: - pulumi.set(__self__, "destination_port_range", destination_port_range) + _setter("destination_port_range", destination_port_range) if source_port_range is not None: - pulumi.set(__self__, "source_port_range", source_port_range) + _setter("source_port_range", source_port_range) @property @pulumi.getter(name="destinationPortRange") @@ -11185,8 +13350,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "min", min) + NetworkSecurityGroupSecurityRuleUdpOptionsDestinationPortRangeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: pulumi.Input[int], + min: pulumi.Input[int], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max", max) + _setter("min", min) @property @pulumi.getter @@ -11230,8 +13406,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "min", min) + NetworkSecurityGroupSecurityRuleUdpOptionsSourcePortRangeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: pulumi.Input[int], + min: pulumi.Input[int], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max", max) + _setter("min", min) @property @pulumi.getter @@ -11289,20 +13476,39 @@ def __init__(__self__, *, :param pulumi.Input[str] destination_type: (Updatable) Type of destination for the rule. Required if you provide a `destination`. :param pulumi.Input[str] route_type: (Updatable) A route rule can be STATIC if manually added to the route table, LOCAL if added by Oracle Cloud Infrastructure to the route table. """ - pulumi.set(__self__, "network_entity_id", network_entity_id) + RouteTableRouteRuleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + network_entity_id=network_entity_id, + cidr_block=cidr_block, + description=description, + destination=destination, + destination_type=destination_type, + route_type=route_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + network_entity_id: pulumi.Input[str], + cidr_block: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + destination: Optional[pulumi.Input[str]] = None, + destination_type: Optional[pulumi.Input[str]] = None, + route_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("network_entity_id", network_entity_id) if cidr_block is not None: warnings.warn("""The 'cidr_block' field has been deprecated. Please use 'destination' instead.""", DeprecationWarning) pulumi.log.warn("""cidr_block is deprecated: The 'cidr_block' field has been deprecated. Please use 'destination' instead.""") if cidr_block is not None: - pulumi.set(__self__, "cidr_block", cidr_block) + _setter("cidr_block", cidr_block) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if destination is not None: - pulumi.set(__self__, "destination", destination) + _setter("destination", destination) if destination_type is not None: - pulumi.set(__self__, "destination_type", destination_type) + _setter("destination_type", destination_type) if route_type is not None: - pulumi.set(__self__, "route_type", route_type) + _setter("route_type", route_type) @property @pulumi.getter(name="networkEntityId") @@ -11421,20 +13627,43 @@ def __init__(__self__, *, :param pulumi.Input['SecurityListEgressSecurityRuleTcpOptionsArgs'] tcp_options: (Updatable) Optional and valid only for TCP. Use to specify particular destination ports for TCP rules. If you specify TCP as the protocol but omit this object, then all destination ports are allowed. :param pulumi.Input['SecurityListEgressSecurityRuleUdpOptionsArgs'] udp_options: (Updatable) Optional and valid only for UDP. Use to specify particular destination ports for UDP rules. If you specify UDP as the protocol but omit this object, then all destination ports are allowed. """ - pulumi.set(__self__, "destination", destination) - pulumi.set(__self__, "protocol", protocol) + SecurityListEgressSecurityRuleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + destination=destination, + protocol=protocol, + description=description, + destination_type=destination_type, + icmp_options=icmp_options, + stateless=stateless, + tcp_options=tcp_options, + udp_options=udp_options, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + destination: pulumi.Input[str], + protocol: pulumi.Input[str], + description: Optional[pulumi.Input[str]] = None, + destination_type: Optional[pulumi.Input[str]] = None, + icmp_options: Optional[pulumi.Input['SecurityListEgressSecurityRuleIcmpOptionsArgs']] = None, + stateless: Optional[pulumi.Input[bool]] = None, + tcp_options: Optional[pulumi.Input['SecurityListEgressSecurityRuleTcpOptionsArgs']] = None, + udp_options: Optional[pulumi.Input['SecurityListEgressSecurityRuleUdpOptionsArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("destination", destination) + _setter("protocol", protocol) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if destination_type is not None: - pulumi.set(__self__, "destination_type", destination_type) + _setter("destination_type", destination_type) if icmp_options is not None: - pulumi.set(__self__, "icmp_options", icmp_options) + _setter("icmp_options", icmp_options) if stateless is not None: - pulumi.set(__self__, "stateless", stateless) + _setter("stateless", stateless) if tcp_options is not None: - pulumi.set(__self__, "tcp_options", tcp_options) + _setter("tcp_options", tcp_options) if udp_options is not None: - pulumi.set(__self__, "udp_options", udp_options) + _setter("udp_options", udp_options) @property @pulumi.getter @@ -11552,9 +13781,20 @@ def __init__(__self__, *, :param pulumi.Input[int] type: (Updatable) The ICMP type. :param pulumi.Input[int] code: (Updatable) The ICMP code (optional). """ - pulumi.set(__self__, "type", type) + SecurityListEgressSecurityRuleIcmpOptionsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + code=code, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[int], + code: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if code is not None: - pulumi.set(__self__, "code", code) + _setter("code", code) @property @pulumi.getter @@ -11592,12 +13832,25 @@ def __init__(__self__, *, :param pulumi.Input[int] min: (Updatable) The minimum port number, which must not be greater than the maximum port number. :param pulumi.Input['SecurityListEgressSecurityRuleTcpOptionsSourcePortRangeArgs'] source_port_range: (Updatable) """ + SecurityListEgressSecurityRuleTcpOptionsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + source_port_range=source_port_range, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: Optional[pulumi.Input[int]] = None, + min: Optional[pulumi.Input[int]] = None, + source_port_range: Optional[pulumi.Input['SecurityListEgressSecurityRuleTcpOptionsSourcePortRangeArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if max is not None: - pulumi.set(__self__, "max", max) + _setter("max", max) if min is not None: - pulumi.set(__self__, "min", min) + _setter("min", min) if source_port_range is not None: - pulumi.set(__self__, "source_port_range", source_port_range) + _setter("source_port_range", source_port_range) @property @pulumi.getter @@ -11645,8 +13898,19 @@ def __init__(__self__, *, :param pulumi.Input[int] max: (Updatable) The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value. :param pulumi.Input[int] min: (Updatable) The minimum port number, which must not be greater than the maximum port number. """ - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "min", min) + SecurityListEgressSecurityRuleTcpOptionsSourcePortRangeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: pulumi.Input[int], + min: pulumi.Input[int], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max", max) + _setter("min", min) @property @pulumi.getter @@ -11684,12 +13948,25 @@ def __init__(__self__, *, :param pulumi.Input[int] min: (Updatable) The minimum port number, which must not be greater than the maximum port number. :param pulumi.Input['SecurityListEgressSecurityRuleUdpOptionsSourcePortRangeArgs'] source_port_range: (Updatable) """ + SecurityListEgressSecurityRuleUdpOptionsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + source_port_range=source_port_range, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: Optional[pulumi.Input[int]] = None, + min: Optional[pulumi.Input[int]] = None, + source_port_range: Optional[pulumi.Input['SecurityListEgressSecurityRuleUdpOptionsSourcePortRangeArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if max is not None: - pulumi.set(__self__, "max", max) + _setter("max", max) if min is not None: - pulumi.set(__self__, "min", min) + _setter("min", min) if source_port_range is not None: - pulumi.set(__self__, "source_port_range", source_port_range) + _setter("source_port_range", source_port_range) @property @pulumi.getter @@ -11737,8 +14014,19 @@ def __init__(__self__, *, :param pulumi.Input[int] max: (Updatable) The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value. :param pulumi.Input[int] min: (Updatable) The minimum port number, which must not be greater than the maximum port number. """ - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "min", min) + SecurityListEgressSecurityRuleUdpOptionsSourcePortRangeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: pulumi.Input[int], + min: pulumi.Input[int], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max", max) + _setter("min", min) @property @pulumi.getter @@ -11794,20 +14082,43 @@ def __init__(__self__, *, :param pulumi.Input['SecurityListIngressSecurityRuleTcpOptionsArgs'] tcp_options: (Updatable) Optional and valid only for TCP. Use to specify particular destination ports for TCP rules. If you specify TCP as the protocol but omit this object, then all destination ports are allowed. :param pulumi.Input['SecurityListIngressSecurityRuleUdpOptionsArgs'] udp_options: (Updatable) Optional and valid only for UDP. Use to specify particular destination ports for UDP rules. If you specify UDP as the protocol but omit this object, then all destination ports are allowed. """ - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "source", source) + SecurityListIngressSecurityRuleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + protocol=protocol, + source=source, + description=description, + icmp_options=icmp_options, + source_type=source_type, + stateless=stateless, + tcp_options=tcp_options, + udp_options=udp_options, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + protocol: pulumi.Input[str], + source: pulumi.Input[str], + description: Optional[pulumi.Input[str]] = None, + icmp_options: Optional[pulumi.Input['SecurityListIngressSecurityRuleIcmpOptionsArgs']] = None, + source_type: Optional[pulumi.Input[str]] = None, + stateless: Optional[pulumi.Input[bool]] = None, + tcp_options: Optional[pulumi.Input['SecurityListIngressSecurityRuleTcpOptionsArgs']] = None, + udp_options: Optional[pulumi.Input['SecurityListIngressSecurityRuleUdpOptionsArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("protocol", protocol) + _setter("source", source) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if icmp_options is not None: - pulumi.set(__self__, "icmp_options", icmp_options) + _setter("icmp_options", icmp_options) if source_type is not None: - pulumi.set(__self__, "source_type", source_type) + _setter("source_type", source_type) if stateless is not None: - pulumi.set(__self__, "stateless", stateless) + _setter("stateless", stateless) if tcp_options is not None: - pulumi.set(__self__, "tcp_options", tcp_options) + _setter("tcp_options", tcp_options) if udp_options is not None: - pulumi.set(__self__, "udp_options", udp_options) + _setter("udp_options", udp_options) @property @pulumi.getter @@ -11923,9 +14234,20 @@ def __init__(__self__, *, :param pulumi.Input[int] type: (Updatable) The ICMP type. :param pulumi.Input[int] code: (Updatable) The ICMP code (optional). """ - pulumi.set(__self__, "type", type) + SecurityListIngressSecurityRuleIcmpOptionsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + code=code, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[int], + code: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if code is not None: - pulumi.set(__self__, "code", code) + _setter("code", code) @property @pulumi.getter @@ -11963,12 +14285,25 @@ def __init__(__self__, *, :param pulumi.Input[int] min: (Updatable) The minimum port number, which must not be greater than the maximum port number. :param pulumi.Input['SecurityListIngressSecurityRuleTcpOptionsSourcePortRangeArgs'] source_port_range: (Updatable) """ + SecurityListIngressSecurityRuleTcpOptionsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + source_port_range=source_port_range, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: Optional[pulumi.Input[int]] = None, + min: Optional[pulumi.Input[int]] = None, + source_port_range: Optional[pulumi.Input['SecurityListIngressSecurityRuleTcpOptionsSourcePortRangeArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if max is not None: - pulumi.set(__self__, "max", max) + _setter("max", max) if min is not None: - pulumi.set(__self__, "min", min) + _setter("min", min) if source_port_range is not None: - pulumi.set(__self__, "source_port_range", source_port_range) + _setter("source_port_range", source_port_range) @property @pulumi.getter @@ -12016,8 +14351,19 @@ def __init__(__self__, *, :param pulumi.Input[int] max: (Updatable) The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value. :param pulumi.Input[int] min: (Updatable) The minimum port number, which must not be greater than the maximum port number. """ - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "min", min) + SecurityListIngressSecurityRuleTcpOptionsSourcePortRangeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: pulumi.Input[int], + min: pulumi.Input[int], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max", max) + _setter("min", min) @property @pulumi.getter @@ -12055,12 +14401,25 @@ def __init__(__self__, *, :param pulumi.Input[int] min: (Updatable) The minimum port number, which must not be greater than the maximum port number. :param pulumi.Input['SecurityListIngressSecurityRuleUdpOptionsSourcePortRangeArgs'] source_port_range: (Updatable) """ + SecurityListIngressSecurityRuleUdpOptionsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + source_port_range=source_port_range, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: Optional[pulumi.Input[int]] = None, + min: Optional[pulumi.Input[int]] = None, + source_port_range: Optional[pulumi.Input['SecurityListIngressSecurityRuleUdpOptionsSourcePortRangeArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if max is not None: - pulumi.set(__self__, "max", max) + _setter("max", max) if min is not None: - pulumi.set(__self__, "min", min) + _setter("min", min) if source_port_range is not None: - pulumi.set(__self__, "source_port_range", source_port_range) + _setter("source_port_range", source_port_range) @property @pulumi.getter @@ -12108,8 +14467,19 @@ def __init__(__self__, *, :param pulumi.Input[int] max: (Updatable) The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value. :param pulumi.Input[int] min: (Updatable) The minimum port number, which must not be greater than the maximum port number. """ - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "min", min) + SecurityListIngressSecurityRuleUdpOptionsSourcePortRangeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: pulumi.Input[int], + min: pulumi.Input[int], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max", max) + _setter("min", min) @property @pulumi.getter @@ -12145,9 +14515,20 @@ def __init__(__self__, *, :param pulumi.Input[str] service_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the [Service](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/Service/). :param pulumi.Input[str] service_name: The name of the service. """ - pulumi.set(__self__, "service_id", service_id) + ServiceGatewayServiceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + service_id=service_id, + service_name=service_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + service_id: pulumi.Input[str], + service_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("service_id", service_id) if service_name is not None: - pulumi.set(__self__, "service_name", service_name) + _setter("service_name", service_name) @property @pulumi.getter(name="serviceId") @@ -12183,8 +14564,19 @@ def __init__(__self__, *, :param pulumi.Input[str] byoipv6range_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `ByoipRange` resource to which the CIDR block belongs. :param pulumi.Input[str] ipv6cidr_block: An IPv6 prefix required to create a VCN with a BYOIP prefix. It could be the whole prefix identified in `byoipv6RangeId`, or a subrange. Example: `2001:0db8:0123::/48` """ - pulumi.set(__self__, "byoipv6range_id", byoipv6range_id) - pulumi.set(__self__, "ipv6cidr_block", ipv6cidr_block) + VcnByoipv6cidrDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + byoipv6range_id=byoipv6range_id, + ipv6cidr_block=ipv6cidr_block, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + byoipv6range_id: pulumi.Input[str], + ipv6cidr_block: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("byoipv6range_id", byoipv6range_id) + _setter("ipv6cidr_block", ipv6cidr_block) @property @pulumi.getter(name="byoipv6rangeId") @@ -12250,20 +14642,41 @@ def __init__(__self__, *, Example: `2001:db8::2/64` :param pulumi.Input[int] vlan: (Updatable) The number of the specific VLAN (on the cross-connect or cross-connect group) that is assigned to this virtual circuit. Specified by the owner of the cross-connect or cross-connect group (the customer if the customer is colocated with Oracle, or the provider if the customer is connecting via provider). Example: `200` """ + VirtualCircuitCrossConnectMappingArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + bgp_md5auth_key=bgp_md5auth_key, + cross_connect_or_cross_connect_group_id=cross_connect_or_cross_connect_group_id, + customer_bgp_peering_ip=customer_bgp_peering_ip, + customer_bgp_peering_ipv6=customer_bgp_peering_ipv6, + oracle_bgp_peering_ip=oracle_bgp_peering_ip, + oracle_bgp_peering_ipv6=oracle_bgp_peering_ipv6, + vlan=vlan, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bgp_md5auth_key: Optional[pulumi.Input[str]] = None, + cross_connect_or_cross_connect_group_id: Optional[pulumi.Input[str]] = None, + customer_bgp_peering_ip: Optional[pulumi.Input[str]] = None, + customer_bgp_peering_ipv6: Optional[pulumi.Input[str]] = None, + oracle_bgp_peering_ip: Optional[pulumi.Input[str]] = None, + oracle_bgp_peering_ipv6: Optional[pulumi.Input[str]] = None, + vlan: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if bgp_md5auth_key is not None: - pulumi.set(__self__, "bgp_md5auth_key", bgp_md5auth_key) + _setter("bgp_md5auth_key", bgp_md5auth_key) if cross_connect_or_cross_connect_group_id is not None: - pulumi.set(__self__, "cross_connect_or_cross_connect_group_id", cross_connect_or_cross_connect_group_id) + _setter("cross_connect_or_cross_connect_group_id", cross_connect_or_cross_connect_group_id) if customer_bgp_peering_ip is not None: - pulumi.set(__self__, "customer_bgp_peering_ip", customer_bgp_peering_ip) + _setter("customer_bgp_peering_ip", customer_bgp_peering_ip) if customer_bgp_peering_ipv6 is not None: - pulumi.set(__self__, "customer_bgp_peering_ipv6", customer_bgp_peering_ipv6) + _setter("customer_bgp_peering_ipv6", customer_bgp_peering_ipv6) if oracle_bgp_peering_ip is not None: - pulumi.set(__self__, "oracle_bgp_peering_ip", oracle_bgp_peering_ip) + _setter("oracle_bgp_peering_ip", oracle_bgp_peering_ip) if oracle_bgp_peering_ipv6 is not None: - pulumi.set(__self__, "oracle_bgp_peering_ipv6", oracle_bgp_peering_ipv6) + _setter("oracle_bgp_peering_ipv6", oracle_bgp_peering_ipv6) if vlan is not None: - pulumi.set(__self__, "vlan", vlan) + _setter("vlan", vlan) @property @pulumi.getter(name="bgpMd5authKey") @@ -12377,7 +14790,16 @@ def __init__(__self__, *, """ :param pulumi.Input[str] cidr_block: (Updatable) An individual public IP prefix (CIDR) to add to the public virtual circuit. All prefix sizes are allowed. """ - pulumi.set(__self__, "cidr_block", cidr_block) + VirtualCircuitPublicPrefixArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + cidr_block=cidr_block, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cidr_block: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cidr_block", cidr_block) @property @pulumi.getter(name="cidrBlock") @@ -12397,8 +14819,19 @@ class VirtualNetworkByoipv6cidrDetailArgs: def __init__(__self__, *, byoipv6range_id: pulumi.Input[str], ipv6cidr_block: pulumi.Input[str]): - pulumi.set(__self__, "byoipv6range_id", byoipv6range_id) - pulumi.set(__self__, "ipv6cidr_block", ipv6cidr_block) + VirtualNetworkByoipv6cidrDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + byoipv6range_id=byoipv6range_id, + ipv6cidr_block=ipv6cidr_block, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + byoipv6range_id: pulumi.Input[str], + ipv6cidr_block: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("byoipv6range_id", byoipv6range_id) + _setter("ipv6cidr_block", ipv6cidr_block) @property @pulumi.getter(name="byoipv6rangeId") @@ -12482,32 +14915,65 @@ def __init__(__self__, *, Provide a `vlanId` instead of a `subnetId`. If you provide both a `vlanId` and `subnetId`, the request fails. """ + VnicAttachmentCreateVnicDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + assign_ipv6ip=assign_ipv6ip, + assign_private_dns_record=assign_private_dns_record, + assign_public_ip=assign_public_ip, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + hostname_label=hostname_label, + ipv6address_ipv6subnet_cidr_pair_details=ipv6address_ipv6subnet_cidr_pair_details, + nsg_ids=nsg_ids, + private_ip=private_ip, + skip_source_dest_check=skip_source_dest_check, + subnet_id=subnet_id, + vlan_id=vlan_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + assign_ipv6ip: Optional[pulumi.Input[bool]] = None, + assign_private_dns_record: Optional[pulumi.Input[bool]] = None, + assign_public_ip: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + hostname_label: Optional[pulumi.Input[str]] = None, + ipv6address_ipv6subnet_cidr_pair_details: Optional[pulumi.Input[Sequence[pulumi.Input['VnicAttachmentCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailArgs']]]] = None, + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + private_ip: Optional[pulumi.Input[str]] = None, + skip_source_dest_check: Optional[pulumi.Input[bool]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + vlan_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if assign_ipv6ip is not None: - pulumi.set(__self__, "assign_ipv6ip", assign_ipv6ip) + _setter("assign_ipv6ip", assign_ipv6ip) if assign_private_dns_record is not None: - pulumi.set(__self__, "assign_private_dns_record", assign_private_dns_record) + _setter("assign_private_dns_record", assign_private_dns_record) if assign_public_ip is not None: - pulumi.set(__self__, "assign_public_ip", assign_public_ip) + _setter("assign_public_ip", assign_public_ip) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if hostname_label is not None: - pulumi.set(__self__, "hostname_label", hostname_label) + _setter("hostname_label", hostname_label) if ipv6address_ipv6subnet_cidr_pair_details is not None: - pulumi.set(__self__, "ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) + _setter("ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) if private_ip is not None: - pulumi.set(__self__, "private_ip", private_ip) + _setter("private_ip", private_ip) if skip_source_dest_check is not None: - pulumi.set(__self__, "skip_source_dest_check", skip_source_dest_check) + _setter("skip_source_dest_check", skip_source_dest_check) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) if vlan_id is not None: - pulumi.set(__self__, "vlan_id", vlan_id) + _setter("vlan_id", vlan_id) @property @pulumi.getter(name="assignIpv6ip") @@ -12703,10 +15169,21 @@ class VnicAttachmentCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailArgs: def __init__(__self__, *, ipv6_address: Optional[pulumi.Input[str]] = None, ipv6_subnet_cidr: Optional[pulumi.Input[str]] = None): + VnicAttachmentCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + ipv6_address=ipv6_address, + ipv6_subnet_cidr=ipv6_subnet_cidr, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ipv6_address: Optional[pulumi.Input[str]] = None, + ipv6_subnet_cidr: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ipv6_address is not None: - pulumi.set(__self__, "ipv6_address", ipv6_address) + _setter("ipv6_address", ipv6_address) if ipv6_subnet_cidr is not None: - pulumi.set(__self__, "ipv6_subnet_cidr", ipv6_subnet_cidr) + _setter("ipv6_subnet_cidr", ipv6_subnet_cidr) @property @pulumi.getter(name="ipv6Address") @@ -12738,12 +15215,25 @@ def __init__(__self__, *, :param pulumi.Input[str] iqn: The target volume's iSCSI Qualified Name in the format defined by [RFC 3720](https://tools.ietf.org/html/rfc3720#page-32). Example: `iqn.2015-12.com.oracleiaas:40b7ee03-883f-46c6-a951-63d2841d2195` :param pulumi.Input[int] port: The volume's iSCSI port, usually port 860 or 3260. Example: `3260` """ + VolumeAttachmentMultipathDeviceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + ipv4=ipv4, + iqn=iqn, + port=port, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ipv4: Optional[pulumi.Input[str]] = None, + iqn: Optional[pulumi.Input[str]] = None, + port: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ipv4 is not None: - pulumi.set(__self__, "ipv4", ipv4) + _setter("ipv4", ipv4) if iqn is not None: - pulumi.set(__self__, "iqn", iqn) + _setter("iqn", iqn) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) @property @pulumi.getter @@ -12791,9 +15281,20 @@ def __init__(__self__, *, :param pulumi.Input[str] autotune_type: (Updatable) This specifies the type of autotunes supported by OCI. :param pulumi.Input[str] max_vpus_per_gb: (Updatable) This will be the maximum VPUs/GB performance level that the volume will be auto-tuned temporarily based on performance monitoring. """ - pulumi.set(__self__, "autotune_type", autotune_type) + VolumeAutotunePolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + autotune_type=autotune_type, + max_vpus_per_gb=max_vpus_per_gb, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + autotune_type: pulumi.Input[str], + max_vpus_per_gb: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("autotune_type", autotune_type) if max_vpus_per_gb is not None: - pulumi.set(__self__, "max_vpus_per_gb", max_vpus_per_gb) + _setter("max_vpus_per_gb", max_vpus_per_gb) @property @pulumi.getter(name="autotuneType") @@ -12860,23 +15361,50 @@ def __init__(__self__, *, :param pulumi.Input[str] time_zone: (Updatable) Specifies what time zone is the schedule in enum: """ - pulumi.set(__self__, "backup_type", backup_type) - pulumi.set(__self__, "period", period) - pulumi.set(__self__, "retention_seconds", retention_seconds) + VolumeBackupPolicyScheduleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + backup_type=backup_type, + period=period, + retention_seconds=retention_seconds, + day_of_month=day_of_month, + day_of_week=day_of_week, + hour_of_day=hour_of_day, + month=month, + offset_seconds=offset_seconds, + offset_type=offset_type, + time_zone=time_zone, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backup_type: pulumi.Input[str], + period: pulumi.Input[str], + retention_seconds: pulumi.Input[int], + day_of_month: Optional[pulumi.Input[int]] = None, + day_of_week: Optional[pulumi.Input[str]] = None, + hour_of_day: Optional[pulumi.Input[int]] = None, + month: Optional[pulumi.Input[str]] = None, + offset_seconds: Optional[pulumi.Input[int]] = None, + offset_type: Optional[pulumi.Input[str]] = None, + time_zone: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("backup_type", backup_type) + _setter("period", period) + _setter("retention_seconds", retention_seconds) if day_of_month is not None: - pulumi.set(__self__, "day_of_month", day_of_month) + _setter("day_of_month", day_of_month) if day_of_week is not None: - pulumi.set(__self__, "day_of_week", day_of_week) + _setter("day_of_week", day_of_week) if hour_of_day is not None: - pulumi.set(__self__, "hour_of_day", hour_of_day) + _setter("hour_of_day", hour_of_day) if month is not None: - pulumi.set(__self__, "month", month) + _setter("month", month) if offset_seconds is not None: - pulumi.set(__self__, "offset_seconds", offset_seconds) + _setter("offset_seconds", offset_seconds) if offset_type is not None: - pulumi.set(__self__, "offset_type", offset_type) + _setter("offset_type", offset_type) if time_zone is not None: - pulumi.set(__self__, "time_zone", time_zone) + _setter("time_zone", time_zone) @property @pulumi.getter(name="backupType") @@ -13029,10 +15557,23 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] kms_key_id: The OCID of the KMS key in the destination region which will be the master encryption key for the copied volume backup. """ - pulumi.set(__self__, "region", region) - pulumi.set(__self__, "volume_backup_id", volume_backup_id) + VolumeBackupSourceDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + region=region, + volume_backup_id=volume_backup_id, + kms_key_id=kms_key_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + region: pulumi.Input[str], + volume_backup_id: pulumi.Input[str], + kms_key_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("region", region) + _setter("volume_backup_id", volume_backup_id) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) @property @pulumi.getter @@ -13086,11 +15627,24 @@ def __init__(__self__, *, :param pulumi.Input[str] block_volume_replica_id: The block volume replica's Oracle ID (OCID). :param pulumi.Input[str] display_name: (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. """ - pulumi.set(__self__, "availability_domain", availability_domain) + VolumeBlockVolumeReplicaArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + block_volume_replica_id=block_volume_replica_id, + display_name=display_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: pulumi.Input[str], + block_volume_replica_id: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) if block_volume_replica_id is not None: - pulumi.set(__self__, "block_volume_replica_id", block_volume_replica_id) + _setter("block_volume_replica_id", block_volume_replica_id) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) @property @pulumi.getter(name="availabilityDomain") @@ -13145,10 +15699,23 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] kms_key_id: The OCID of the KMS key in the destination region which will be the master encryption key for the copied volume backup. """ - pulumi.set(__self__, "region", region) - pulumi.set(__self__, "volume_group_backup_id", volume_group_backup_id) + VolumeGroupBackupSourceDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + region=region, + volume_group_backup_id=volume_group_backup_id, + kms_key_id=kms_key_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + region: pulumi.Input[str], + volume_group_backup_id: pulumi.Input[str], + kms_key_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("region", region) + _setter("volume_group_backup_id", volume_group_backup_id) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) @property @pulumi.getter @@ -13207,15 +15774,32 @@ def __init__(__self__, *, :param pulumi.Input[str] volume_group_replica_id: The OCID of the volume group replica. :param pulumi.Input[Sequence[pulumi.Input[str]]] volume_ids: OCIDs for the volumes in this volume group. """ - pulumi.set(__self__, "type", type) + VolumeGroupSourceDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + volume_group_backup_id=volume_group_backup_id, + volume_group_id=volume_group_id, + volume_group_replica_id=volume_group_replica_id, + volume_ids=volume_ids, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + volume_group_backup_id: Optional[pulumi.Input[str]] = None, + volume_group_id: Optional[pulumi.Input[str]] = None, + volume_group_replica_id: Optional[pulumi.Input[str]] = None, + volume_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if volume_group_backup_id is not None: - pulumi.set(__self__, "volume_group_backup_id", volume_group_backup_id) + _setter("volume_group_backup_id", volume_group_backup_id) if volume_group_id is not None: - pulumi.set(__self__, "volume_group_id", volume_group_id) + _setter("volume_group_id", volume_group_id) if volume_group_replica_id is not None: - pulumi.set(__self__, "volume_group_replica_id", volume_group_replica_id) + _setter("volume_group_replica_id", volume_group_replica_id) if volume_ids is not None: - pulumi.set(__self__, "volume_ids", volume_ids) + _setter("volume_ids", volume_ids) @property @pulumi.getter @@ -13293,11 +15877,24 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] volume_group_replica_id: The OCID of the volume group replica. """ - pulumi.set(__self__, "availability_domain", availability_domain) + VolumeGroupVolumeGroupReplicaArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + display_name=display_name, + volume_group_replica_id=volume_group_replica_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: pulumi.Input[str], + display_name: Optional[pulumi.Input[str]] = None, + volume_group_replica_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if volume_group_replica_id is not None: - pulumi.set(__self__, "volume_group_replica_id", volume_group_replica_id) + _setter("volume_group_replica_id", volume_group_replica_id) @property @pulumi.getter(name="availabilityDomain") @@ -13349,8 +15946,19 @@ def __init__(__self__, *, :param pulumi.Input[str] id: The OCID of the block volume replica. :param pulumi.Input[str] type: The type can be one of these values: `blockVolumeReplica`, `volume`, `volumeBackup` """ - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "type", type) + VolumeSourceDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: pulumi.Input[str], + type: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) + _setter("type", type) @property @pulumi.getter @@ -13383,10 +15991,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAppCatalogListingResourceVersionsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -13422,10 +16043,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAppCatalogListingsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -13461,10 +16095,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAppCatalogSubscriptionsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -13500,10 +16147,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetBlockVolumeReplicasFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -13539,10 +16199,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetBootVolumeAttachmentsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -13578,10 +16251,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetBootVolumeBackupsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -13617,10 +16303,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetBootVolumeReplicasFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -13656,10 +16355,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetBootVolumesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -13695,10 +16407,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetByoipAllocatedRangesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -13734,10 +16459,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetByoipRangesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -13773,10 +16511,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetCaptureFiltersFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -13812,10 +16563,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetClusterNetworkInstancesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -13851,10 +16615,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetClusterNetworksFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -13890,10 +16667,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetComputeCapacityReservationInstanceShapesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -13929,10 +16719,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetComputeCapacityReservationInstancesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -13968,10 +16771,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetComputeCapacityReservationsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -14007,10 +16823,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetComputeClustersFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -14046,10 +16875,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetComputeGlobalImageCapabilitySchemasFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -14089,10 +16931,23 @@ def __init__(__self__, *, :param str name: The name of the compute global image capability schema version :param Sequence[str] values: the list of values for the enum """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetComputeGlobalImageCapabilitySchemasVersionsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -14137,10 +16992,23 @@ def __init__(__self__, *, """ :param Sequence[str] values: the list of values for the enum """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetComputeImageCapabilitySchemasFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -14179,10 +17047,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetConsoleHistoriesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -14218,10 +17099,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetCpeDeviceShapesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -14257,10 +17151,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetCpesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -14296,10 +17203,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetCrossConnectGroupsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -14338,10 +17258,23 @@ def __init__(__self__, *, """ :param str name: The name of the location. Example: `CyrusOne, Chandler, AZ` """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetCrossConnectLocationsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -14383,10 +17316,23 @@ def __init__(__self__, *, """ :param str name: The name of the port speed shape. Example: `10 Gbps` """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetCrossConnectPortSpeedShapeFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -14425,10 +17371,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetCrossConnectsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -14464,10 +17423,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDedicatedVmHostInstanceShapesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -14503,10 +17475,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDedicatedVmHostInstancesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -14542,10 +17527,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDedicatedVmHostShapesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -14581,10 +17579,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDedicatedVmHostsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -14620,10 +17631,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDhcpOptionsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -14659,10 +17683,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDrgAttachmentsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -14698,10 +17735,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDrgRouteDistributionStatementsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -14737,10 +17787,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDrgRouteDistributionsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -14776,10 +17839,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDrgRouteTableRouteRulesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -14815,10 +17891,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDrgRouteTablesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -14854,10 +17943,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDrgsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -14893,10 +17995,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetFastConnectProviderServicesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -14932,10 +18047,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetImageShapesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -14971,10 +18099,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetImagesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -15013,10 +18154,23 @@ def __init__(__self__, *, """ :param str name: The plugin name. To get a list of available plugins, use the [ListInstanceagentAvailablePlugins](https://docs.cloud.oracle.com/iaas/api/#/en/instanceagent/20180530/Plugin/ListInstanceagentAvailablePlugins) operation in the Oracle Cloud Agent API. For more information about the available plugins, see [Managing Plugins with Oracle Cloud Agent](https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/manage-plugins.htm). """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetInstanceConfigurationsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -15055,10 +18209,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetInstanceConsoleConnectionsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -15097,10 +18264,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only devices that match the given name exactly. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetInstanceDevicesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -15139,10 +18319,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetInstancePoolInstancesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -15178,10 +18371,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetInstancePoolsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -15220,10 +18426,23 @@ def __init__(__self__, *, """ :param str name: The plugin name. To get a list of available plugins, use the [ListInstanceagentAvailablePlugins](https://docs.cloud.oracle.com/iaas/api/#/en/instanceagent/20180530/Plugin/ListInstanceagentAvailablePlugins) operation in the Oracle Cloud Agent API. For more information about the available plugins, see [Managing Plugins with Oracle Cloud Agent](https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/manage-plugins.htm). """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetInstancesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -15262,10 +18481,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetInternetGatewaysFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -15301,10 +18533,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetIpsecConfigFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -15340,10 +18585,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetIpsecConnectionTunnelRoutesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -15379,10 +18637,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetIpsecConnectionTunnelsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -15418,10 +18689,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetIpsecConnectionsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -15457,10 +18741,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetIpsecStatusFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -15496,10 +18793,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetIpv6sFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -15535,10 +18845,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetListingResourceVersionsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -15574,10 +18897,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetLocalPeeringGatewaysFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -15613,10 +18949,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetNatGatewaysFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -15652,10 +19001,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetNetworkSecurityGroupSecurityRulesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -15691,10 +19053,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetNetworkSecurityGroupVnicsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -15730,10 +19105,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetNetworkSecurityGroupsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -15772,10 +19160,23 @@ def __init__(__self__, *, """ :param str name: The region's name. Example: `us-phoenix-1` """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetPeerRegionForRemotePeeringsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -15814,10 +19215,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetPrivateIpsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -15853,10 +19267,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetPublicIpPoolsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -15892,10 +19319,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetPublicIpsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -15931,10 +19371,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetRemotePeeringConnectionsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -15970,10 +19423,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetRouteTablesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -16009,10 +19475,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSecurityListsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -16048,10 +19527,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetServiceGatewaysFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -16090,10 +19582,23 @@ def __init__(__self__, *, """ :param str name: Name of the `Service` object. This name can change and is not guaranteed to be unique. Example: `OCI PHX Object Storage` """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetServicesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -16132,10 +19637,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetShapeFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -16174,10 +19692,23 @@ def __init__(__self__, *, """ :param str name: The name of the shape. You can enumerate all available shapes by calling [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/Shape/ListShapes). """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetShapesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -16216,10 +19747,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSubnetsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -16255,10 +19799,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetTunnelSecurityAssociationsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -16294,10 +19851,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVcnsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -16333,10 +19903,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVirtualCircuitAssociatedTunnelsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -16375,10 +19958,23 @@ def __init__(__self__, *, """ :param str name: The name of the bandwidth shape. Example: `10 Gbps` """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVirtualCircuitBandwidthShapesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -16417,10 +20013,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVirtualCircuitPublicPrefixesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -16456,10 +20065,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVirtualCircuitsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -16495,10 +20117,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVirtualNetworksFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -16534,10 +20169,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVlansFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -16573,10 +20221,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVnicAttachmentsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -16612,10 +20273,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVolumeAttachmentsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -16651,10 +20325,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVolumeBackupPoliciesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -16690,10 +20377,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVolumeBackupPolicyAssignmentsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -16729,10 +20429,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVolumeBackupsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -16768,10 +20481,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVolumeGroupBackupsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -16807,10 +20533,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVolumeGroupReplicasFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -16846,10 +20585,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVolumeGroupsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -16885,10 +20637,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVolumesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -16924,10 +20689,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVtapsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/core/app_catalog_listing_resource_version_agreement.py b/sdk/python/pulumi_oci/core/app_catalog_listing_resource_version_agreement.py index 93bbe45b08..826c4c6eca 100644 --- a/sdk/python/pulumi_oci/core/app_catalog_listing_resource_version_agreement.py +++ b/sdk/python/pulumi_oci/core/app_catalog_listing_resource_version_agreement.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['AppCatalogListingResourceVersionAgreementArgs', 'AppCatalogListingResourceVersionAgreement'] @@ -21,8 +21,19 @@ def __init__(__self__, *, :param pulumi.Input[str] listing_id: The OCID of the listing. :param pulumi.Input[str] listing_resource_version: Listing Resource Version. """ - pulumi.set(__self__, "listing_id", listing_id) - pulumi.set(__self__, "listing_resource_version", listing_resource_version) + AppCatalogListingResourceVersionAgreementArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + listing_id=listing_id, + listing_resource_version=listing_resource_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + listing_id: pulumi.Input[str], + listing_resource_version: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("listing_id", listing_id) + _setter("listing_resource_version", listing_resource_version) @property @pulumi.getter(name="listingId") @@ -67,18 +78,37 @@ def __init__(__self__, *, :param pulumi.Input[str] signature: A generated signature for this agreement retrieval operation which should be used in the create subscription call. :param pulumi.Input[str] time_retrieved: Date and time the agreements were retrieved, in RFC3339 format. Example: `2018-03-20T12:32:53.532Z` """ + _AppCatalogListingResourceVersionAgreementState._configure( + lambda key, value: pulumi.set(__self__, key, value), + eula_link=eula_link, + listing_id=listing_id, + listing_resource_version=listing_resource_version, + oracle_terms_of_use_link=oracle_terms_of_use_link, + signature=signature, + time_retrieved=time_retrieved, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + eula_link: Optional[pulumi.Input[str]] = None, + listing_id: Optional[pulumi.Input[str]] = None, + listing_resource_version: Optional[pulumi.Input[str]] = None, + oracle_terms_of_use_link: Optional[pulumi.Input[str]] = None, + signature: Optional[pulumi.Input[str]] = None, + time_retrieved: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if eula_link is not None: - pulumi.set(__self__, "eula_link", eula_link) + _setter("eula_link", eula_link) if listing_id is not None: - pulumi.set(__self__, "listing_id", listing_id) + _setter("listing_id", listing_id) if listing_resource_version is not None: - pulumi.set(__self__, "listing_resource_version", listing_resource_version) + _setter("listing_resource_version", listing_resource_version) if oracle_terms_of_use_link is not None: - pulumi.set(__self__, "oracle_terms_of_use_link", oracle_terms_of_use_link) + _setter("oracle_terms_of_use_link", oracle_terms_of_use_link) if signature is not None: - pulumi.set(__self__, "signature", signature) + _setter("signature", signature) if time_retrieved is not None: - pulumi.set(__self__, "time_retrieved", time_retrieved) + _setter("time_retrieved", time_retrieved) @property @pulumi.getter(name="eulaLink") @@ -210,6 +240,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + AppCatalogListingResourceVersionAgreementArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/core/app_catalog_subscription.py b/sdk/python/pulumi_oci/core/app_catalog_subscription.py index b453ca49a5..82908b5a17 100644 --- a/sdk/python/pulumi_oci/core/app_catalog_subscription.py +++ b/sdk/python/pulumi_oci/core/app_catalog_subscription.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['AppCatalogSubscriptionArgs', 'AppCatalogSubscription'] @@ -35,14 +35,35 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] eula_link: EULA link """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "listing_id", listing_id) - pulumi.set(__self__, "listing_resource_version", listing_resource_version) - pulumi.set(__self__, "oracle_terms_of_use_link", oracle_terms_of_use_link) - pulumi.set(__self__, "signature", signature) - pulumi.set(__self__, "time_retrieved", time_retrieved) + AppCatalogSubscriptionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + listing_id=listing_id, + listing_resource_version=listing_resource_version, + oracle_terms_of_use_link=oracle_terms_of_use_link, + signature=signature, + time_retrieved=time_retrieved, + eula_link=eula_link, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + listing_id: pulumi.Input[str], + listing_resource_version: pulumi.Input[str], + oracle_terms_of_use_link: pulumi.Input[str], + signature: pulumi.Input[str], + time_retrieved: pulumi.Input[str], + eula_link: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("listing_id", listing_id) + _setter("listing_resource_version", listing_resource_version) + _setter("oracle_terms_of_use_link", oracle_terms_of_use_link) + _setter("signature", signature) + _setter("time_retrieved", time_retrieved) if eula_link is not None: - pulumi.set(__self__, "eula_link", eula_link) + _setter("eula_link", eula_link) @property @pulumi.getter(name="compartmentId") @@ -167,30 +188,61 @@ def __init__(__self__, *, ** 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 """ + _AppCatalogSubscriptionState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + eula_link=eula_link, + listing_id=listing_id, + listing_resource_id=listing_resource_id, + listing_resource_version=listing_resource_version, + oracle_terms_of_use_link=oracle_terms_of_use_link, + publisher_name=publisher_name, + signature=signature, + summary=summary, + time_created=time_created, + time_retrieved=time_retrieved, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + eula_link: Optional[pulumi.Input[str]] = None, + listing_id: Optional[pulumi.Input[str]] = None, + listing_resource_id: Optional[pulumi.Input[str]] = None, + listing_resource_version: Optional[pulumi.Input[str]] = None, + oracle_terms_of_use_link: Optional[pulumi.Input[str]] = None, + publisher_name: Optional[pulumi.Input[str]] = None, + signature: Optional[pulumi.Input[str]] = None, + summary: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_retrieved: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if eula_link is not None: - pulumi.set(__self__, "eula_link", eula_link) + _setter("eula_link", eula_link) if listing_id is not None: - pulumi.set(__self__, "listing_id", listing_id) + _setter("listing_id", listing_id) if listing_resource_id is not None: - pulumi.set(__self__, "listing_resource_id", listing_resource_id) + _setter("listing_resource_id", listing_resource_id) if listing_resource_version is not None: - pulumi.set(__self__, "listing_resource_version", listing_resource_version) + _setter("listing_resource_version", listing_resource_version) if oracle_terms_of_use_link is not None: - pulumi.set(__self__, "oracle_terms_of_use_link", oracle_terms_of_use_link) + _setter("oracle_terms_of_use_link", oracle_terms_of_use_link) if publisher_name is not None: - pulumi.set(__self__, "publisher_name", publisher_name) + _setter("publisher_name", publisher_name) if signature is not None: - pulumi.set(__self__, "signature", signature) + _setter("signature", signature) if summary is not None: - pulumi.set(__self__, "summary", summary) + _setter("summary", summary) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_retrieved is not None: - pulumi.set(__self__, "time_retrieved", time_retrieved) + _setter("time_retrieved", time_retrieved) @property @pulumi.getter(name="compartmentId") @@ -442,6 +494,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + AppCatalogSubscriptionArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/core/boot_volume.py b/sdk/python/pulumi_oci/core/boot_volume.py index ce6cea9bc0..62d586667c 100644 --- a/sdk/python/pulumi_oci/core/boot_volume.py +++ b/sdk/python/pulumi_oci/core/boot_volume.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -47,34 +47,69 @@ def __init__(__self__, *, Allowed values: """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "source_details", source_details) + BootVolumeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + compartment_id=compartment_id, + source_details=source_details, + autotune_policies=autotune_policies, + backup_policy_id=backup_policy_id, + boot_volume_replicas=boot_volume_replicas, + boot_volume_replicas_deletion=boot_volume_replicas_deletion, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + is_auto_tune_enabled=is_auto_tune_enabled, + kms_key_id=kms_key_id, + size_in_gbs=size_in_gbs, + vpus_per_gb=vpus_per_gb, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: pulumi.Input[str], + compartment_id: pulumi.Input[str], + source_details: pulumi.Input['BootVolumeSourceDetailsArgs'], + autotune_policies: Optional[pulumi.Input[Sequence[pulumi.Input['BootVolumeAutotunePolicyArgs']]]] = None, + backup_policy_id: Optional[pulumi.Input[str]] = None, + boot_volume_replicas: Optional[pulumi.Input[Sequence[pulumi.Input['BootVolumeBootVolumeReplicaArgs']]]] = None, + boot_volume_replicas_deletion: Optional[pulumi.Input[bool]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_auto_tune_enabled: Optional[pulumi.Input[bool]] = None, + kms_key_id: Optional[pulumi.Input[str]] = None, + size_in_gbs: Optional[pulumi.Input[str]] = None, + vpus_per_gb: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("compartment_id", compartment_id) + _setter("source_details", source_details) if autotune_policies is not None: - pulumi.set(__self__, "autotune_policies", autotune_policies) + _setter("autotune_policies", autotune_policies) if backup_policy_id is not None: warnings.warn("""The 'backup_policy_id' field has been deprecated. Please use the 'oci_core_volume_backup_policy_assignment' resource instead.""", DeprecationWarning) pulumi.log.warn("""backup_policy_id is deprecated: The 'backup_policy_id' field has been deprecated. Please use the 'oci_core_volume_backup_policy_assignment' resource instead.""") if backup_policy_id is not None: - pulumi.set(__self__, "backup_policy_id", backup_policy_id) + _setter("backup_policy_id", backup_policy_id) if boot_volume_replicas is not None: - pulumi.set(__self__, "boot_volume_replicas", boot_volume_replicas) + _setter("boot_volume_replicas", boot_volume_replicas) if boot_volume_replicas_deletion is not None: - pulumi.set(__self__, "boot_volume_replicas_deletion", boot_volume_replicas_deletion) + _setter("boot_volume_replicas_deletion", boot_volume_replicas_deletion) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_auto_tune_enabled is not None: - pulumi.set(__self__, "is_auto_tune_enabled", is_auto_tune_enabled) + _setter("is_auto_tune_enabled", is_auto_tune_enabled) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) if size_in_gbs is not None: - pulumi.set(__self__, "size_in_gbs", size_in_gbs) + _setter("size_in_gbs", size_in_gbs) if vpus_per_gb is not None: - pulumi.set(__self__, "vpus_per_gb", vpus_per_gb) + _setter("vpus_per_gb", vpus_per_gb) @property @pulumi.getter(name="availabilityDomain") @@ -294,53 +329,104 @@ def __init__(__self__, *, Allowed values: """ + _BootVolumeState._configure( + lambda key, value: pulumi.set(__self__, key, value), + auto_tuned_vpus_per_gb=auto_tuned_vpus_per_gb, + autotune_policies=autotune_policies, + availability_domain=availability_domain, + backup_policy_id=backup_policy_id, + boot_volume_replicas=boot_volume_replicas, + boot_volume_replicas_deletion=boot_volume_replicas_deletion, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + image_id=image_id, + is_auto_tune_enabled=is_auto_tune_enabled, + is_hydrated=is_hydrated, + kms_key_id=kms_key_id, + size_in_gbs=size_in_gbs, + size_in_mbs=size_in_mbs, + source_details=source_details, + state=state, + system_tags=system_tags, + time_created=time_created, + volume_group_id=volume_group_id, + vpus_per_gb=vpus_per_gb, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + auto_tuned_vpus_per_gb: Optional[pulumi.Input[str]] = None, + autotune_policies: Optional[pulumi.Input[Sequence[pulumi.Input['BootVolumeAutotunePolicyArgs']]]] = None, + availability_domain: Optional[pulumi.Input[str]] = None, + backup_policy_id: Optional[pulumi.Input[str]] = None, + boot_volume_replicas: Optional[pulumi.Input[Sequence[pulumi.Input['BootVolumeBootVolumeReplicaArgs']]]] = None, + boot_volume_replicas_deletion: Optional[pulumi.Input[bool]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + image_id: Optional[pulumi.Input[str]] = None, + is_auto_tune_enabled: Optional[pulumi.Input[bool]] = None, + is_hydrated: Optional[pulumi.Input[bool]] = None, + kms_key_id: Optional[pulumi.Input[str]] = None, + size_in_gbs: Optional[pulumi.Input[str]] = None, + size_in_mbs: Optional[pulumi.Input[str]] = None, + source_details: Optional[pulumi.Input['BootVolumeSourceDetailsArgs']] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + volume_group_id: Optional[pulumi.Input[str]] = None, + vpus_per_gb: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if auto_tuned_vpus_per_gb is not None: - pulumi.set(__self__, "auto_tuned_vpus_per_gb", auto_tuned_vpus_per_gb) + _setter("auto_tuned_vpus_per_gb", auto_tuned_vpus_per_gb) if autotune_policies is not None: - pulumi.set(__self__, "autotune_policies", autotune_policies) + _setter("autotune_policies", autotune_policies) if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if backup_policy_id is not None: warnings.warn("""The 'backup_policy_id' field has been deprecated. Please use the 'oci_core_volume_backup_policy_assignment' resource instead.""", DeprecationWarning) pulumi.log.warn("""backup_policy_id is deprecated: The 'backup_policy_id' field has been deprecated. Please use the 'oci_core_volume_backup_policy_assignment' resource instead.""") if backup_policy_id is not None: - pulumi.set(__self__, "backup_policy_id", backup_policy_id) + _setter("backup_policy_id", backup_policy_id) if boot_volume_replicas is not None: - pulumi.set(__self__, "boot_volume_replicas", boot_volume_replicas) + _setter("boot_volume_replicas", boot_volume_replicas) if boot_volume_replicas_deletion is not None: - pulumi.set(__self__, "boot_volume_replicas_deletion", boot_volume_replicas_deletion) + _setter("boot_volume_replicas_deletion", boot_volume_replicas_deletion) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if image_id is not None: - pulumi.set(__self__, "image_id", image_id) + _setter("image_id", image_id) if is_auto_tune_enabled is not None: - pulumi.set(__self__, "is_auto_tune_enabled", is_auto_tune_enabled) + _setter("is_auto_tune_enabled", is_auto_tune_enabled) if is_hydrated is not None: - pulumi.set(__self__, "is_hydrated", is_hydrated) + _setter("is_hydrated", is_hydrated) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) if size_in_gbs is not None: - pulumi.set(__self__, "size_in_gbs", size_in_gbs) + _setter("size_in_gbs", size_in_gbs) if size_in_mbs is not None: - pulumi.set(__self__, "size_in_mbs", size_in_mbs) + _setter("size_in_mbs", size_in_mbs) if source_details is not None: - pulumi.set(__self__, "source_details", source_details) + _setter("source_details", source_details) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if volume_group_id is not None: - pulumi.set(__self__, "volume_group_id", volume_group_id) + _setter("volume_group_id", volume_group_id) if vpus_per_gb is not None: - pulumi.set(__self__, "vpus_per_gb", vpus_per_gb) + _setter("vpus_per_gb", vpus_per_gb) @property @pulumi.getter(name="autoTunedVpusPerGb") @@ -763,6 +849,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + BootVolumeArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -795,9 +885,6 @@ def _internal_init(__self__, if availability_domain is None and not opts.urn: raise TypeError("Missing required property 'availability_domain'") __props__.__dict__["availability_domain"] = availability_domain - if backup_policy_id is not None and not opts.urn: - warnings.warn("""The 'backup_policy_id' field has been deprecated. Please use the 'oci_core_volume_backup_policy_assignment' resource instead.""", DeprecationWarning) - pulumi.log.warn("""backup_policy_id is deprecated: The 'backup_policy_id' field has been deprecated. Please use the 'oci_core_volume_backup_policy_assignment' resource instead.""") __props__.__dict__["backup_policy_id"] = backup_policy_id __props__.__dict__["boot_volume_replicas"] = boot_volume_replicas __props__.__dict__["boot_volume_replicas_deletion"] = boot_volume_replicas_deletion @@ -810,6 +897,11 @@ def _internal_init(__self__, __props__.__dict__["is_auto_tune_enabled"] = is_auto_tune_enabled __props__.__dict__["kms_key_id"] = kms_key_id __props__.__dict__["size_in_gbs"] = size_in_gbs + if source_details is not None and not isinstance(source_details, BootVolumeSourceDetailsArgs): + source_details = source_details or {} + def _setter(key, value): + source_details[key] = value + BootVolumeSourceDetailsArgs._configure(_setter, **source_details) if source_details is None and not opts.urn: raise TypeError("Missing required property 'source_details'") __props__.__dict__["source_details"] = source_details diff --git a/sdk/python/pulumi_oci/core/boot_volume_backup.py b/sdk/python/pulumi_oci/core/boot_volume_backup.py index e060197567..e28f127305 100644 --- a/sdk/python/pulumi_oci/core/boot_volume_backup.py +++ b/sdk/python/pulumi_oci/core/boot_volume_backup.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -35,22 +35,45 @@ def __init__(__self__, *, :param pulumi.Input['BootVolumeBackupSourceDetailsArgs'] source_details: Details of the volume backup source in the cloud. Cannot be defined if `boot_volume_id` is defined. :param pulumi.Input[str] type: The type of backup to create. If omitted, defaults to incremental. Supported values are 'FULL' or 'INCREMENTAL'. """ + BootVolumeBackupArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + boot_volume_id=boot_volume_id, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + kms_key_id=kms_key_id, + source_details=source_details, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + boot_volume_id: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + kms_key_id: Optional[pulumi.Input[str]] = None, + source_details: Optional[pulumi.Input['BootVolumeBackupSourceDetailsArgs']] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if boot_volume_id is not None: - pulumi.set(__self__, "boot_volume_id", boot_volume_id) + _setter("boot_volume_id", boot_volume_id) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) if source_details is not None: - pulumi.set(__self__, "source_details", source_details) + _setter("source_details", source_details) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter(name="bootVolumeId") @@ -191,42 +214,85 @@ def __init__(__self__, *, :param pulumi.Input[str] type: The type of backup to create. If omitted, defaults to incremental. Supported values are 'FULL' or 'INCREMENTAL'. :param pulumi.Input[str] unique_size_in_gbs: The size used by the backup, in GBs. It is typically smaller than sizeInGBs, depending on the space consumed on the boot volume and whether the backup is full or incremental. """ + _BootVolumeBackupState._configure( + lambda key, value: pulumi.set(__self__, key, value), + boot_volume_id=boot_volume_id, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + expiration_time=expiration_time, + freeform_tags=freeform_tags, + image_id=image_id, + kms_key_id=kms_key_id, + size_in_gbs=size_in_gbs, + source_boot_volume_backup_id=source_boot_volume_backup_id, + source_details=source_details, + source_type=source_type, + state=state, + system_tags=system_tags, + time_created=time_created, + time_request_received=time_request_received, + type=type, + unique_size_in_gbs=unique_size_in_gbs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + boot_volume_id: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + expiration_time: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + image_id: Optional[pulumi.Input[str]] = None, + kms_key_id: Optional[pulumi.Input[str]] = None, + size_in_gbs: Optional[pulumi.Input[str]] = None, + source_boot_volume_backup_id: Optional[pulumi.Input[str]] = None, + source_details: Optional[pulumi.Input['BootVolumeBackupSourceDetailsArgs']] = None, + source_type: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_request_received: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + unique_size_in_gbs: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if boot_volume_id is not None: - pulumi.set(__self__, "boot_volume_id", boot_volume_id) + _setter("boot_volume_id", boot_volume_id) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if expiration_time is not None: - pulumi.set(__self__, "expiration_time", expiration_time) + _setter("expiration_time", expiration_time) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if image_id is not None: - pulumi.set(__self__, "image_id", image_id) + _setter("image_id", image_id) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) if size_in_gbs is not None: - pulumi.set(__self__, "size_in_gbs", size_in_gbs) + _setter("size_in_gbs", size_in_gbs) if source_boot_volume_backup_id is not None: - pulumi.set(__self__, "source_boot_volume_backup_id", source_boot_volume_backup_id) + _setter("source_boot_volume_backup_id", source_boot_volume_backup_id) if source_details is not None: - pulumi.set(__self__, "source_details", source_details) + _setter("source_details", source_details) if source_type is not None: - pulumi.set(__self__, "source_type", source_type) + _setter("source_type", source_type) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_request_received is not None: - pulumi.set(__self__, "time_request_received", time_request_received) + _setter("time_request_received", time_request_received) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if unique_size_in_gbs is not None: - pulumi.set(__self__, "unique_size_in_gbs", unique_size_in_gbs) + _setter("unique_size_in_gbs", unique_size_in_gbs) @property @pulumi.getter(name="bootVolumeId") @@ -560,6 +626,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + BootVolumeBackupArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -588,6 +658,11 @@ def _internal_init(__self__, __props__.__dict__["display_name"] = display_name __props__.__dict__["freeform_tags"] = freeform_tags __props__.__dict__["kms_key_id"] = kms_key_id + if source_details is not None and not isinstance(source_details, BootVolumeBackupSourceDetailsArgs): + source_details = source_details or {} + def _setter(key, value): + source_details[key] = value + BootVolumeBackupSourceDetailsArgs._configure(_setter, **source_details) __props__.__dict__["source_details"] = source_details __props__.__dict__["type"] = type __props__.__dict__["expiration_time"] = None diff --git a/sdk/python/pulumi_oci/core/capture_filter.py b/sdk/python/pulumi_oci/core/capture_filter.py index d187b21430..6e8b957d24 100644 --- a/sdk/python/pulumi_oci/core/capture_filter.py +++ b/sdk/python/pulumi_oci/core/capture_filter.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -31,16 +31,35 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] freeform_tags: (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` :param pulumi.Input[Sequence[pulumi.Input['CaptureFilterVtapCaptureFilterRuleArgs']]] vtap_capture_filter_rules: (Updatable) The set of rules governing what traffic a VTAP mirrors. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "filter_type", filter_type) + CaptureFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + filter_type=filter_type, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + vtap_capture_filter_rules=vtap_capture_filter_rules, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + filter_type: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + vtap_capture_filter_rules: Optional[pulumi.Input[Sequence[pulumi.Input['CaptureFilterVtapCaptureFilterRuleArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("filter_type", filter_type) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if vtap_capture_filter_rules is not None: - pulumi.set(__self__, "vtap_capture_filter_rules", vtap_capture_filter_rules) + _setter("vtap_capture_filter_rules", vtap_capture_filter_rules) @property @pulumi.getter(name="compartmentId") @@ -137,22 +156,45 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the capture filter was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2021-08-25T21:10:29.600Z` :param pulumi.Input[Sequence[pulumi.Input['CaptureFilterVtapCaptureFilterRuleArgs']]] vtap_capture_filter_rules: (Updatable) The set of rules governing what traffic a VTAP mirrors. """ + _CaptureFilterState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + filter_type=filter_type, + freeform_tags=freeform_tags, + state=state, + time_created=time_created, + vtap_capture_filter_rules=vtap_capture_filter_rules, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + filter_type: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + vtap_capture_filter_rules: Optional[pulumi.Input[Sequence[pulumi.Input['CaptureFilterVtapCaptureFilterRuleArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if filter_type is not None: - pulumi.set(__self__, "filter_type", filter_type) + _setter("filter_type", filter_type) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if vtap_capture_filter_rules is not None: - pulumi.set(__self__, "vtap_capture_filter_rules", vtap_capture_filter_rules) + _setter("vtap_capture_filter_rules", vtap_capture_filter_rules) @property @pulumi.getter(name="compartmentId") @@ -428,6 +470,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + CaptureFilterArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/core/cluster_network.py b/sdk/python/pulumi_oci/core/cluster_network.py index be778cfbb8..7d6c0a3362 100644 --- a/sdk/python/pulumi_oci/core/cluster_network.py +++ b/sdk/python/pulumi_oci/core/cluster_network.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -37,17 +37,38 @@ def __init__(__self__, *, :param pulumi.Input[str] display_name: The display name of the VNIC. This is also used to match against the instance configuration defined secondary VNIC. :param pulumi.Input[Mapping[str, Any]] freeform_tags: (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "instance_pools", instance_pools) - pulumi.set(__self__, "placement_configuration", placement_configuration) + ClusterNetworkArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + instance_pools=instance_pools, + placement_configuration=placement_configuration, + cluster_configuration=cluster_configuration, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + instance_pools: pulumi.Input[Sequence[pulumi.Input['ClusterNetworkInstancePoolArgs']]], + placement_configuration: pulumi.Input['ClusterNetworkPlacementConfigurationArgs'], + cluster_configuration: Optional[pulumi.Input['ClusterNetworkClusterConfigurationArgs']] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("instance_pools", instance_pools) + _setter("placement_configuration", placement_configuration) if cluster_configuration is not None: - pulumi.set(__self__, "cluster_configuration", cluster_configuration) + _setter("cluster_configuration", cluster_configuration) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="compartmentId") @@ -172,30 +193,61 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the resource was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` :param pulumi.Input[str] time_updated: The date and time the resource was updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` """ + _ClusterNetworkState._configure( + lambda key, value: pulumi.set(__self__, key, value), + cluster_configuration=cluster_configuration, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + hpc_island_id=hpc_island_id, + instance_pools=instance_pools, + network_block_ids=network_block_ids, + placement_configuration=placement_configuration, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cluster_configuration: Optional[pulumi.Input['ClusterNetworkClusterConfigurationArgs']] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + hpc_island_id: Optional[pulumi.Input[str]] = None, + instance_pools: Optional[pulumi.Input[Sequence[pulumi.Input['ClusterNetworkInstancePoolArgs']]]] = None, + network_block_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + placement_configuration: Optional[pulumi.Input['ClusterNetworkPlacementConfigurationArgs']] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if cluster_configuration is not None: - pulumi.set(__self__, "cluster_configuration", cluster_configuration) + _setter("cluster_configuration", cluster_configuration) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if hpc_island_id is not None: - pulumi.set(__self__, "hpc_island_id", hpc_island_id) + _setter("hpc_island_id", hpc_island_id) if instance_pools is not None: - pulumi.set(__self__, "instance_pools", instance_pools) + _setter("instance_pools", instance_pools) if network_block_ids is not None: - pulumi.set(__self__, "network_block_ids", network_block_ids) + _setter("network_block_ids", network_block_ids) if placement_configuration is not None: - pulumi.set(__self__, "placement_configuration", placement_configuration) + _setter("placement_configuration", placement_configuration) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="clusterConfiguration") @@ -543,6 +595,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ClusterNetworkArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -564,6 +620,11 @@ def _internal_init(__self__, raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = ClusterNetworkArgs.__new__(ClusterNetworkArgs) + if cluster_configuration is not None and not isinstance(cluster_configuration, ClusterNetworkClusterConfigurationArgs): + cluster_configuration = cluster_configuration or {} + def _setter(key, value): + cluster_configuration[key] = value + ClusterNetworkClusterConfigurationArgs._configure(_setter, **cluster_configuration) __props__.__dict__["cluster_configuration"] = cluster_configuration if compartment_id is None and not opts.urn: raise TypeError("Missing required property 'compartment_id'") @@ -574,6 +635,11 @@ def _internal_init(__self__, if instance_pools is None and not opts.urn: raise TypeError("Missing required property 'instance_pools'") __props__.__dict__["instance_pools"] = instance_pools + if placement_configuration is not None and not isinstance(placement_configuration, ClusterNetworkPlacementConfigurationArgs): + placement_configuration = placement_configuration or {} + def _setter(key, value): + placement_configuration[key] = value + ClusterNetworkPlacementConfigurationArgs._configure(_setter, **placement_configuration) if placement_configuration is None and not opts.urn: raise TypeError("Missing required property 'placement_configuration'") __props__.__dict__["placement_configuration"] = placement_configuration diff --git a/sdk/python/pulumi_oci/core/compute_capacity_report.py b/sdk/python/pulumi_oci/core/compute_capacity_report.py index 00f8e3b8aa..1cbc612a85 100644 --- a/sdk/python/pulumi_oci/core/compute_capacity_report.py +++ b/sdk/python/pulumi_oci/core/compute_capacity_report.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -25,9 +25,22 @@ def __init__(__self__, *, :param pulumi.Input[str] compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the compartment. This should always be the root compartment. :param pulumi.Input[Sequence[pulumi.Input['ComputeCapacityReportShapeAvailabilityArgs']]] shape_availabilities: Information about the shapes in the capacity report. """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "shape_availabilities", shape_availabilities) + ComputeCapacityReportArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + compartment_id=compartment_id, + shape_availabilities=shape_availabilities, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: pulumi.Input[str], + compartment_id: pulumi.Input[str], + shape_availabilities: pulumi.Input[Sequence[pulumi.Input['ComputeCapacityReportShapeAvailabilityArgs']]], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("compartment_id", compartment_id) + _setter("shape_availabilities", shape_availabilities) @property @pulumi.getter(name="availabilityDomain") @@ -80,14 +93,29 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['ComputeCapacityReportShapeAvailabilityArgs']]] shape_availabilities: Information about the shapes in the capacity report. :param pulumi.Input[str] time_created: The date and time the capacity report was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` """ + _ComputeCapacityReportState._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + compartment_id=compartment_id, + shape_availabilities=shape_availabilities, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + shape_availabilities: Optional[pulumi.Input[Sequence[pulumi.Input['ComputeCapacityReportShapeAvailabilityArgs']]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if shape_availabilities is not None: - pulumi.set(__self__, "shape_availabilities", shape_availabilities) + _setter("shape_availabilities", shape_availabilities) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="availabilityDomain") @@ -245,6 +273,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ComputeCapacityReportArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/core/compute_capacity_reservation.py b/sdk/python/pulumi_oci/core/compute_capacity_reservation.py index 217f2e900e..4e2bef4646 100644 --- a/sdk/python/pulumi_oci/core/compute_capacity_reservation.py +++ b/sdk/python/pulumi_oci/core/compute_capacity_reservation.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -39,17 +39,38 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "instance_reservation_configs", instance_reservation_configs) + ComputeCapacityReservationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + compartment_id=compartment_id, + instance_reservation_configs=instance_reservation_configs, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + is_default_reservation=is_default_reservation, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: pulumi.Input[str], + compartment_id: pulumi.Input[str], + instance_reservation_configs: pulumi.Input[Sequence[pulumi.Input['ComputeCapacityReservationInstanceReservationConfigArgs']]], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_default_reservation: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("compartment_id", compartment_id) + _setter("instance_reservation_configs", instance_reservation_configs) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_default_reservation is not None: - pulumi.set(__self__, "is_default_reservation", is_default_reservation) + _setter("is_default_reservation", is_default_reservation) @property @pulumi.getter(name="availabilityDomain") @@ -178,30 +199,61 @@ def __init__(__self__, *, :param pulumi.Input[str] time_updated: The date and time the compute capacity reservation was updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` :param pulumi.Input[str] used_instance_count: The total number of instances currently consuming space in this compute capacity reservation. This number is the sum of the values of the `usedCount` fields for all of the instance capacity configurations under this reservation. The purpose of this field is to calculate the percentage usage of the reservation. """ + _ComputeCapacityReservationState._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + instance_reservation_configs=instance_reservation_configs, + is_default_reservation=is_default_reservation, + reserved_instance_count=reserved_instance_count, + state=state, + time_created=time_created, + time_updated=time_updated, + used_instance_count=used_instance_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + instance_reservation_configs: Optional[pulumi.Input[Sequence[pulumi.Input['ComputeCapacityReservationInstanceReservationConfigArgs']]]] = None, + is_default_reservation: Optional[pulumi.Input[bool]] = None, + reserved_instance_count: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + used_instance_count: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if instance_reservation_configs is not None: - pulumi.set(__self__, "instance_reservation_configs", instance_reservation_configs) + _setter("instance_reservation_configs", instance_reservation_configs) if is_default_reservation is not None: - pulumi.set(__self__, "is_default_reservation", is_default_reservation) + _setter("is_default_reservation", is_default_reservation) if reserved_instance_count is not None: - pulumi.set(__self__, "reserved_instance_count", reserved_instance_count) + _setter("reserved_instance_count", reserved_instance_count) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if used_instance_count is not None: - pulumi.set(__self__, "used_instance_count", used_instance_count) + _setter("used_instance_count", used_instance_count) @property @pulumi.getter(name="availabilityDomain") @@ -497,6 +549,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ComputeCapacityReservationArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/core/compute_cluster.py b/sdk/python/pulumi_oci/core/compute_cluster.py index 09423c8225..ebeb4a6be4 100644 --- a/sdk/python/pulumi_oci/core/compute_cluster.py +++ b/sdk/python/pulumi_oci/core/compute_cluster.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['ComputeClusterArgs', 'ComputeCluster'] @@ -31,14 +31,31 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "compartment_id", compartment_id) + ComputeClusterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: pulumi.Input[str], + compartment_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="availabilityDomain") @@ -129,20 +146,41 @@ def __init__(__self__, *, :param pulumi.Input[str] state: The current state of the compute cluster. :param pulumi.Input[str] time_created: The date and time the compute cluster was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` """ + _ComputeClusterState._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="availabilityDomain") @@ -358,6 +396,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ComputeClusterArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/core/compute_image_capability_schema.py b/sdk/python/pulumi_oci/core/compute_image_capability_schema.py index 867ecd33a8..f3771e2ac9 100644 --- a/sdk/python/pulumi_oci/core/compute_image_capability_schema.py +++ b/sdk/python/pulumi_oci/core/compute_image_capability_schema.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['ComputeImageCapabilitySchemaArgs', 'ComputeImageCapabilitySchema'] @@ -31,16 +31,37 @@ def __init__(__self__, *, :param pulumi.Input[str] display_name: (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. :param pulumi.Input[Mapping[str, Any]] freeform_tags: (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "compute_global_image_capability_schema_version_name", compute_global_image_capability_schema_version_name) - pulumi.set(__self__, "image_id", image_id) - pulumi.set(__self__, "schema_data", schema_data) + ComputeImageCapabilitySchemaArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + compute_global_image_capability_schema_version_name=compute_global_image_capability_schema_version_name, + image_id=image_id, + schema_data=schema_data, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + compute_global_image_capability_schema_version_name: pulumi.Input[str], + image_id: pulumi.Input[str], + schema_data: pulumi.Input[Mapping[str, Any]], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("compute_global_image_capability_schema_version_name", compute_global_image_capability_schema_version_name) + _setter("image_id", image_id) + _setter("schema_data", schema_data) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="compartmentId") @@ -151,24 +172,49 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] schema_data: (Updatable) The map of each capability name to its ImageCapabilitySchemaDescriptor. :param pulumi.Input[str] time_created: The date and time the compute image capability schema was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` """ + _ComputeImageCapabilitySchemaState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + compute_global_image_capability_schema_id=compute_global_image_capability_schema_id, + compute_global_image_capability_schema_version_name=compute_global_image_capability_schema_version_name, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + image_id=image_id, + schema_data=schema_data, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + compute_global_image_capability_schema_id: Optional[pulumi.Input[str]] = None, + compute_global_image_capability_schema_version_name: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + image_id: Optional[pulumi.Input[str]] = None, + schema_data: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if compute_global_image_capability_schema_id is not None: - pulumi.set(__self__, "compute_global_image_capability_schema_id", compute_global_image_capability_schema_id) + _setter("compute_global_image_capability_schema_id", compute_global_image_capability_schema_id) if compute_global_image_capability_schema_version_name is not None: - pulumi.set(__self__, "compute_global_image_capability_schema_version_name", compute_global_image_capability_schema_version_name) + _setter("compute_global_image_capability_schema_version_name", compute_global_image_capability_schema_version_name) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if image_id is not None: - pulumi.set(__self__, "image_id", image_id) + _setter("image_id", image_id) if schema_data is not None: - pulumi.set(__self__, "schema_data", schema_data) + _setter("schema_data", schema_data) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -394,6 +440,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ComputeImageCapabilitySchemaArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/core/console_history.py b/sdk/python/pulumi_oci/core/console_history.py index 4cf5d50b70..42044db31e 100644 --- a/sdk/python/pulumi_oci/core/console_history.py +++ b/sdk/python/pulumi_oci/core/console_history.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['ConsoleHistoryArgs', 'ConsoleHistory'] @@ -29,13 +29,28 @@ def __init__(__self__, *, :param pulumi.Input[str] display_name: (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. :param pulumi.Input[Mapping[str, Any]] freeform_tags: (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` """ - pulumi.set(__self__, "instance_id", instance_id) + ConsoleHistoryArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + instance_id=instance_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + instance_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("instance_id", instance_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="instanceId") @@ -116,22 +131,45 @@ def __init__(__self__, *, :param pulumi.Input[str] state: The current state of the console history. :param pulumi.Input[str] time_created: The date and time the history was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` """ + _ConsoleHistoryState._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + instance_id=instance_id, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + instance_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if instance_id is not None: - pulumi.set(__self__, "instance_id", instance_id) + _setter("instance_id", instance_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="availabilityDomain") @@ -363,6 +401,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ConsoleHistoryArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/core/cpe.py b/sdk/python/pulumi_oci/core/cpe.py index ae115b0a34..4bdfe4ae92 100644 --- a/sdk/python/pulumi_oci/core/cpe.py +++ b/sdk/python/pulumi_oci/core/cpe.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['CpeArgs', 'Cpe'] @@ -41,18 +41,39 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "ip_address", ip_address) + CpeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + ip_address=ip_address, + cpe_device_shape_id=cpe_device_shape_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + is_private=is_private, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + ip_address: pulumi.Input[str], + cpe_device_shape_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_private: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("ip_address", ip_address) if cpe_device_shape_id is not None: - pulumi.set(__self__, "cpe_device_shape_id", cpe_device_shape_id) + _setter("cpe_device_shape_id", cpe_device_shape_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_private is not None: - pulumi.set(__self__, "is_private", is_private) + _setter("is_private", is_private) @property @pulumi.getter(name="compartmentId") @@ -181,22 +202,45 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] time_created: The date and time the CPE was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` """ + _CpeState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + cpe_device_shape_id=cpe_device_shape_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + ip_address=ip_address, + is_private=is_private, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + cpe_device_shape_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + ip_address: Optional[pulumi.Input[str]] = None, + is_private: Optional[pulumi.Input[bool]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if cpe_device_shape_id is not None: - pulumi.set(__self__, "cpe_device_shape_id", cpe_device_shape_id) + _setter("cpe_device_shape_id", cpe_device_shape_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if ip_address is not None: - pulumi.set(__self__, "ip_address", ip_address) + _setter("ip_address", ip_address) if is_private is not None: - pulumi.set(__self__, "is_private", is_private) + _setter("is_private", is_private) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -448,6 +492,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + CpeArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/core/cross_connect.py b/sdk/python/pulumi_oci/core/cross_connect.py index 645a7755ca..0388f15dca 100644 --- a/sdk/python/pulumi_oci/core/cross_connect.py +++ b/sdk/python/pulumi_oci/core/cross_connect.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -47,27 +47,58 @@ def __init__(__self__, *, :param pulumi.Input['CrossConnectMacsecPropertiesArgs'] macsec_properties: (Updatable) Properties used to configure MACsec (if capable). :param pulumi.Input[str] near_cross_connect_or_cross_connect_group_id: If you already have an existing cross-connect or cross-connect group at this FastConnect location, and you want this new cross-connect to be on the same router, provide the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of that existing cross-connect or cross-connect group. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "location_name", location_name) - pulumi.set(__self__, "port_speed_shape_name", port_speed_shape_name) + CrossConnectArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + location_name=location_name, + port_speed_shape_name=port_speed_shape_name, + cross_connect_group_id=cross_connect_group_id, + customer_reference_name=customer_reference_name, + defined_tags=defined_tags, + display_name=display_name, + far_cross_connect_or_cross_connect_group_id=far_cross_connect_or_cross_connect_group_id, + freeform_tags=freeform_tags, + is_active=is_active, + macsec_properties=macsec_properties, + near_cross_connect_or_cross_connect_group_id=near_cross_connect_or_cross_connect_group_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + location_name: pulumi.Input[str], + port_speed_shape_name: pulumi.Input[str], + cross_connect_group_id: Optional[pulumi.Input[str]] = None, + customer_reference_name: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + far_cross_connect_or_cross_connect_group_id: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_active: Optional[pulumi.Input[bool]] = None, + macsec_properties: Optional[pulumi.Input['CrossConnectMacsecPropertiesArgs']] = None, + near_cross_connect_or_cross_connect_group_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("location_name", location_name) + _setter("port_speed_shape_name", port_speed_shape_name) if cross_connect_group_id is not None: - pulumi.set(__self__, "cross_connect_group_id", cross_connect_group_id) + _setter("cross_connect_group_id", cross_connect_group_id) if customer_reference_name is not None: - pulumi.set(__self__, "customer_reference_name", customer_reference_name) + _setter("customer_reference_name", customer_reference_name) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if far_cross_connect_or_cross_connect_group_id is not None: - pulumi.set(__self__, "far_cross_connect_or_cross_connect_group_id", far_cross_connect_or_cross_connect_group_id) + _setter("far_cross_connect_or_cross_connect_group_id", far_cross_connect_or_cross_connect_group_id) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_active is not None: - pulumi.set(__self__, "is_active", is_active) + _setter("is_active", is_active) if macsec_properties is not None: - pulumi.set(__self__, "macsec_properties", macsec_properties) + _setter("macsec_properties", macsec_properties) if near_cross_connect_or_cross_connect_group_id is not None: - pulumi.set(__self__, "near_cross_connect_or_cross_connect_group_id", near_cross_connect_or_cross_connect_group_id) + _setter("near_cross_connect_or_cross_connect_group_id", near_cross_connect_or_cross_connect_group_id) @property @pulumi.getter(name="compartmentId") @@ -262,40 +293,81 @@ def __init__(__self__, *, :param pulumi.Input[str] state: (Updatable) Indicates whether or not MACsec is enabled. :param pulumi.Input[str] time_created: The date and time the cross-connect was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` """ + _CrossConnectState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + cross_connect_group_id=cross_connect_group_id, + customer_reference_name=customer_reference_name, + defined_tags=defined_tags, + display_name=display_name, + far_cross_connect_or_cross_connect_group_id=far_cross_connect_or_cross_connect_group_id, + freeform_tags=freeform_tags, + is_active=is_active, + location_name=location_name, + macsec_properties=macsec_properties, + near_cross_connect_or_cross_connect_group_id=near_cross_connect_or_cross_connect_group_id, + oci_logical_device_name=oci_logical_device_name, + oci_physical_device_name=oci_physical_device_name, + port_name=port_name, + port_speed_shape_name=port_speed_shape_name, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + cross_connect_group_id: Optional[pulumi.Input[str]] = None, + customer_reference_name: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + far_cross_connect_or_cross_connect_group_id: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_active: Optional[pulumi.Input[bool]] = None, + location_name: Optional[pulumi.Input[str]] = None, + macsec_properties: Optional[pulumi.Input['CrossConnectMacsecPropertiesArgs']] = None, + near_cross_connect_or_cross_connect_group_id: Optional[pulumi.Input[str]] = None, + oci_logical_device_name: Optional[pulumi.Input[str]] = None, + oci_physical_device_name: Optional[pulumi.Input[str]] = None, + port_name: Optional[pulumi.Input[str]] = None, + port_speed_shape_name: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if cross_connect_group_id is not None: - pulumi.set(__self__, "cross_connect_group_id", cross_connect_group_id) + _setter("cross_connect_group_id", cross_connect_group_id) if customer_reference_name is not None: - pulumi.set(__self__, "customer_reference_name", customer_reference_name) + _setter("customer_reference_name", customer_reference_name) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if far_cross_connect_or_cross_connect_group_id is not None: - pulumi.set(__self__, "far_cross_connect_or_cross_connect_group_id", far_cross_connect_or_cross_connect_group_id) + _setter("far_cross_connect_or_cross_connect_group_id", far_cross_connect_or_cross_connect_group_id) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_active is not None: - pulumi.set(__self__, "is_active", is_active) + _setter("is_active", is_active) if location_name is not None: - pulumi.set(__self__, "location_name", location_name) + _setter("location_name", location_name) if macsec_properties is not None: - pulumi.set(__self__, "macsec_properties", macsec_properties) + _setter("macsec_properties", macsec_properties) if near_cross_connect_or_cross_connect_group_id is not None: - pulumi.set(__self__, "near_cross_connect_or_cross_connect_group_id", near_cross_connect_or_cross_connect_group_id) + _setter("near_cross_connect_or_cross_connect_group_id", near_cross_connect_or_cross_connect_group_id) if oci_logical_device_name is not None: - pulumi.set(__self__, "oci_logical_device_name", oci_logical_device_name) + _setter("oci_logical_device_name", oci_logical_device_name) if oci_physical_device_name is not None: - pulumi.set(__self__, "oci_physical_device_name", oci_physical_device_name) + _setter("oci_physical_device_name", oci_physical_device_name) if port_name is not None: - pulumi.set(__self__, "port_name", port_name) + _setter("port_name", port_name) if port_speed_shape_name is not None: - pulumi.set(__self__, "port_speed_shape_name", port_speed_shape_name) + _setter("port_speed_shape_name", port_speed_shape_name) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -685,6 +757,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + CrossConnectArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -724,6 +800,11 @@ def _internal_init(__self__, if location_name is None and not opts.urn: raise TypeError("Missing required property 'location_name'") __props__.__dict__["location_name"] = location_name + if macsec_properties is not None and not isinstance(macsec_properties, CrossConnectMacsecPropertiesArgs): + macsec_properties = macsec_properties or {} + def _setter(key, value): + macsec_properties[key] = value + CrossConnectMacsecPropertiesArgs._configure(_setter, **macsec_properties) __props__.__dict__["macsec_properties"] = macsec_properties __props__.__dict__["near_cross_connect_or_cross_connect_group_id"] = near_cross_connect_or_cross_connect_group_id if port_speed_shape_name is None and not opts.urn: diff --git a/sdk/python/pulumi_oci/core/cross_connect_group.py b/sdk/python/pulumi_oci/core/cross_connect_group.py index 07a81b9fc7..571426a05d 100644 --- a/sdk/python/pulumi_oci/core/cross_connect_group.py +++ b/sdk/python/pulumi_oci/core/cross_connect_group.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -31,17 +31,36 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] freeform_tags: (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` :param pulumi.Input['CrossConnectGroupMacsecPropertiesArgs'] macsec_properties: (Updatable) Properties used to configure MACsec (if capable). """ - pulumi.set(__self__, "compartment_id", compartment_id) + CrossConnectGroupArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + customer_reference_name=customer_reference_name, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + macsec_properties=macsec_properties, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + customer_reference_name: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + macsec_properties: Optional[pulumi.Input['CrossConnectGroupMacsecPropertiesArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) if customer_reference_name is not None: - pulumi.set(__self__, "customer_reference_name", customer_reference_name) + _setter("customer_reference_name", customer_reference_name) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if macsec_properties is not None: - pulumi.set(__self__, "macsec_properties", macsec_properties) + _setter("macsec_properties", macsec_properties) @property @pulumi.getter(name="compartmentId") @@ -146,26 +165,53 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] time_created: The date and time the cross-connect group was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` """ + _CrossConnectGroupState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + customer_reference_name=customer_reference_name, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + macsec_properties=macsec_properties, + oci_logical_device_name=oci_logical_device_name, + oci_physical_device_name=oci_physical_device_name, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + customer_reference_name: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + macsec_properties: Optional[pulumi.Input['CrossConnectGroupMacsecPropertiesArgs']] = None, + oci_logical_device_name: Optional[pulumi.Input[str]] = None, + oci_physical_device_name: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if customer_reference_name is not None: - pulumi.set(__self__, "customer_reference_name", customer_reference_name) + _setter("customer_reference_name", customer_reference_name) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if macsec_properties is not None: - pulumi.set(__self__, "macsec_properties", macsec_properties) + _setter("macsec_properties", macsec_properties) if oci_logical_device_name is not None: - pulumi.set(__self__, "oci_logical_device_name", oci_logical_device_name) + _setter("oci_logical_device_name", oci_logical_device_name) if oci_physical_device_name is not None: - pulumi.set(__self__, "oci_physical_device_name", oci_physical_device_name) + _setter("oci_physical_device_name", oci_physical_device_name) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -437,6 +483,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + CrossConnectGroupArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -464,6 +514,11 @@ def _internal_init(__self__, __props__.__dict__["defined_tags"] = defined_tags __props__.__dict__["display_name"] = display_name __props__.__dict__["freeform_tags"] = freeform_tags + if macsec_properties is not None and not isinstance(macsec_properties, CrossConnectGroupMacsecPropertiesArgs): + macsec_properties = macsec_properties or {} + def _setter(key, value): + macsec_properties[key] = value + CrossConnectGroupMacsecPropertiesArgs._configure(_setter, **macsec_properties) __props__.__dict__["macsec_properties"] = macsec_properties __props__.__dict__["oci_logical_device_name"] = None __props__.__dict__["oci_physical_device_name"] = None diff --git a/sdk/python/pulumi_oci/core/dedicated_vm_host.py b/sdk/python/pulumi_oci/core/dedicated_vm_host.py index a2ea4fa67f..af06f2e5b7 100644 --- a/sdk/python/pulumi_oci/core/dedicated_vm_host.py +++ b/sdk/python/pulumi_oci/core/dedicated_vm_host.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['DedicatedVmHostArgs', 'DedicatedVmHost'] @@ -39,17 +39,38 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "dedicated_vm_host_shape", dedicated_vm_host_shape) + DedicatedVmHostArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + compartment_id=compartment_id, + dedicated_vm_host_shape=dedicated_vm_host_shape, + defined_tags=defined_tags, + display_name=display_name, + fault_domain=fault_domain, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: pulumi.Input[str], + compartment_id: pulumi.Input[str], + dedicated_vm_host_shape: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + fault_domain: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("compartment_id", compartment_id) + _setter("dedicated_vm_host_shape", dedicated_vm_host_shape) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if fault_domain is not None: - pulumi.set(__self__, "fault_domain", fault_domain) + _setter("fault_domain", fault_domain) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="availabilityDomain") @@ -184,32 +205,65 @@ def __init__(__self__, *, :param pulumi.Input[float] total_memory_in_gbs: The current total memory of the dedicated VM host, in GBs. :param pulumi.Input[float] total_ocpus: The current total OCPUs of the dedicated VM host. """ + _DedicatedVmHostState._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + compartment_id=compartment_id, + dedicated_vm_host_shape=dedicated_vm_host_shape, + defined_tags=defined_tags, + display_name=display_name, + fault_domain=fault_domain, + freeform_tags=freeform_tags, + remaining_memory_in_gbs=remaining_memory_in_gbs, + remaining_ocpus=remaining_ocpus, + state=state, + time_created=time_created, + total_memory_in_gbs=total_memory_in_gbs, + total_ocpus=total_ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + dedicated_vm_host_shape: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + fault_domain: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + remaining_memory_in_gbs: Optional[pulumi.Input[float]] = None, + remaining_ocpus: Optional[pulumi.Input[float]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + total_memory_in_gbs: Optional[pulumi.Input[float]] = None, + total_ocpus: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if dedicated_vm_host_shape is not None: - pulumi.set(__self__, "dedicated_vm_host_shape", dedicated_vm_host_shape) + _setter("dedicated_vm_host_shape", dedicated_vm_host_shape) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if fault_domain is not None: - pulumi.set(__self__, "fault_domain", fault_domain) + _setter("fault_domain", fault_domain) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if remaining_memory_in_gbs is not None: - pulumi.set(__self__, "remaining_memory_in_gbs", remaining_memory_in_gbs) + _setter("remaining_memory_in_gbs", remaining_memory_in_gbs) if remaining_ocpus is not None: - pulumi.set(__self__, "remaining_ocpus", remaining_ocpus) + _setter("remaining_ocpus", remaining_ocpus) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if total_memory_in_gbs is not None: - pulumi.set(__self__, "total_memory_in_gbs", total_memory_in_gbs) + _setter("total_memory_in_gbs", total_memory_in_gbs) if total_ocpus is not None: - pulumi.set(__self__, "total_ocpus", total_ocpus) + _setter("total_ocpus", total_ocpus) @property @pulumi.getter(name="availabilityDomain") @@ -495,6 +549,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DedicatedVmHostArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/core/default_dhcp_options.py b/sdk/python/pulumi_oci/core/default_dhcp_options.py index 0800eeafb2..17c67c1c0d 100644 --- a/sdk/python/pulumi_oci/core/default_dhcp_options.py +++ b/sdk/python/pulumi_oci/core/default_dhcp_options.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -26,18 +26,39 @@ def __init__(__self__, *, """ The set of arguments for constructing a DefaultDhcpOptions resource. """ - pulumi.set(__self__, "manage_default_resource_id", manage_default_resource_id) - pulumi.set(__self__, "options", options) + DefaultDhcpOptionsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + manage_default_resource_id=manage_default_resource_id, + options=options, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + domain_name_type=domain_name_type, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + manage_default_resource_id: pulumi.Input[str], + options: pulumi.Input[Sequence[pulumi.Input['DefaultDhcpOptionsOptionArgs']]], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + domain_name_type: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("manage_default_resource_id", manage_default_resource_id) + _setter("options", options) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if domain_name_type is not None: - pulumi.set(__self__, "domain_name_type", domain_name_type) + _setter("domain_name_type", domain_name_type) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="manageDefaultResourceId") @@ -118,24 +139,49 @@ def __init__(__self__, *, """ Input properties used for looking up and filtering DefaultDhcpOptions resources. """ + _DefaultDhcpOptionsState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + domain_name_type=domain_name_type, + freeform_tags=freeform_tags, + manage_default_resource_id=manage_default_resource_id, + options=options, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + domain_name_type: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + manage_default_resource_id: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input[Sequence[pulumi.Input['DefaultDhcpOptionsOptionArgs']]]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if domain_name_type is not None: - pulumi.set(__self__, "domain_name_type", domain_name_type) + _setter("domain_name_type", domain_name_type) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if manage_default_resource_id is not None: - pulumi.set(__self__, "manage_default_resource_id", manage_default_resource_id) + _setter("manage_default_resource_id", manage_default_resource_id) if options is not None: - pulumi.set(__self__, "options", options) + _setter("options", options) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -255,6 +301,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DefaultDhcpOptionsArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/core/default_route_table.py b/sdk/python/pulumi_oci/core/default_route_table.py index a8d017d423..ce18edfabc 100644 --- a/sdk/python/pulumi_oci/core/default_route_table.py +++ b/sdk/python/pulumi_oci/core/default_route_table.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -25,17 +25,36 @@ def __init__(__self__, *, """ The set of arguments for constructing a DefaultRouteTable resource. """ - pulumi.set(__self__, "manage_default_resource_id", manage_default_resource_id) + DefaultRouteTableArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + manage_default_resource_id=manage_default_resource_id, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + route_rules=route_rules, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + manage_default_resource_id: pulumi.Input[str], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + route_rules: Optional[pulumi.Input[Sequence[pulumi.Input['DefaultRouteTableRouteRuleArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("manage_default_resource_id", manage_default_resource_id) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if route_rules is not None: - pulumi.set(__self__, "route_rules", route_rules) + _setter("route_rules", route_rules) @property @pulumi.getter(name="manageDefaultResourceId") @@ -106,22 +125,45 @@ def __init__(__self__, *, """ Input properties used for looking up and filtering DefaultRouteTable resources. """ + _DefaultRouteTableState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + manage_default_resource_id=manage_default_resource_id, + route_rules=route_rules, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + manage_default_resource_id: Optional[pulumi.Input[str]] = None, + route_rules: Optional[pulumi.Input[Sequence[pulumi.Input['DefaultRouteTableRouteRuleArgs']]]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if manage_default_resource_id is not None: - pulumi.set(__self__, "manage_default_resource_id", manage_default_resource_id) + _setter("manage_default_resource_id", manage_default_resource_id) if route_rules is not None: - pulumi.set(__self__, "route_rules", route_rules) + _setter("route_rules", route_rules) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -231,6 +273,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DefaultRouteTableArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/core/default_security_list.py b/sdk/python/pulumi_oci/core/default_security_list.py index 8f74fedbe6..30237384a6 100644 --- a/sdk/python/pulumi_oci/core/default_security_list.py +++ b/sdk/python/pulumi_oci/core/default_security_list.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -26,19 +26,40 @@ def __init__(__self__, *, """ The set of arguments for constructing a DefaultSecurityList resource. """ - pulumi.set(__self__, "manage_default_resource_id", manage_default_resource_id) + DefaultSecurityListArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + manage_default_resource_id=manage_default_resource_id, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + egress_security_rules=egress_security_rules, + freeform_tags=freeform_tags, + ingress_security_rules=ingress_security_rules, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + manage_default_resource_id: pulumi.Input[str], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + egress_security_rules: Optional[pulumi.Input[Sequence[pulumi.Input['DefaultSecurityListEgressSecurityRuleArgs']]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + ingress_security_rules: Optional[pulumi.Input[Sequence[pulumi.Input['DefaultSecurityListIngressSecurityRuleArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("manage_default_resource_id", manage_default_resource_id) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if egress_security_rules is not None: - pulumi.set(__self__, "egress_security_rules", egress_security_rules) + _setter("egress_security_rules", egress_security_rules) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if ingress_security_rules is not None: - pulumi.set(__self__, "ingress_security_rules", ingress_security_rules) + _setter("ingress_security_rules", ingress_security_rules) @property @pulumi.getter(name="manageDefaultResourceId") @@ -119,24 +140,49 @@ def __init__(__self__, *, """ Input properties used for looking up and filtering DefaultSecurityList resources. """ + _DefaultSecurityListState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + egress_security_rules=egress_security_rules, + freeform_tags=freeform_tags, + ingress_security_rules=ingress_security_rules, + manage_default_resource_id=manage_default_resource_id, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + egress_security_rules: Optional[pulumi.Input[Sequence[pulumi.Input['DefaultSecurityListEgressSecurityRuleArgs']]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + ingress_security_rules: Optional[pulumi.Input[Sequence[pulumi.Input['DefaultSecurityListIngressSecurityRuleArgs']]]] = None, + manage_default_resource_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if egress_security_rules is not None: - pulumi.set(__self__, "egress_security_rules", egress_security_rules) + _setter("egress_security_rules", egress_security_rules) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if ingress_security_rules is not None: - pulumi.set(__self__, "ingress_security_rules", ingress_security_rules) + _setter("ingress_security_rules", ingress_security_rules) if manage_default_resource_id is not None: - pulumi.set(__self__, "manage_default_resource_id", manage_default_resource_id) + _setter("manage_default_resource_id", manage_default_resource_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -256,6 +302,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DefaultSecurityListArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/core/dhcp_options.py b/sdk/python/pulumi_oci/core/dhcp_options.py index c216ce5fdc..98e146d12c 100644 --- a/sdk/python/pulumi_oci/core/dhcp_options.py +++ b/sdk/python/pulumi_oci/core/dhcp_options.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -37,17 +37,38 @@ def __init__(__self__, *, :param pulumi.Input[str] domain_name_type: (Updatable) The search domain name type of DHCP options :param pulumi.Input[Mapping[str, Any]] freeform_tags: (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "options", options) - pulumi.set(__self__, "vcn_id", vcn_id) + DhcpOptionsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + options=options, + vcn_id=vcn_id, + defined_tags=defined_tags, + display_name=display_name, + domain_name_type=domain_name_type, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + options: pulumi.Input[Sequence[pulumi.Input['DhcpOptionsOptionArgs']]], + vcn_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + domain_name_type: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("options", options) + _setter("vcn_id", vcn_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if domain_name_type is not None: - pulumi.set(__self__, "domain_name_type", domain_name_type) + _setter("domain_name_type", domain_name_type) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="compartmentId") @@ -166,24 +187,49 @@ def __init__(__self__, *, ** 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 """ + _DhcpOptionsState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + domain_name_type=domain_name_type, + freeform_tags=freeform_tags, + options=options, + state=state, + time_created=time_created, + vcn_id=vcn_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + domain_name_type: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + options: Optional[pulumi.Input[Sequence[pulumi.Input['DhcpOptionsOptionArgs']]]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + vcn_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if domain_name_type is not None: - pulumi.set(__self__, "domain_name_type", domain_name_type) + _setter("domain_name_type", domain_name_type) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if options is not None: - pulumi.set(__self__, "options", options) + _setter("options", options) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if vcn_id is not None: - pulumi.set(__self__, "vcn_id", vcn_id) + _setter("vcn_id", vcn_id) @property @pulumi.getter(name="compartmentId") @@ -397,6 +443,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DhcpOptionsArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/core/drg.py b/sdk/python/pulumi_oci/core/drg.py index b50ace3d70..612291526f 100644 --- a/sdk/python/pulumi_oci/core/drg.py +++ b/sdk/python/pulumi_oci/core/drg.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -31,13 +31,28 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) + DrgArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="compartmentId") @@ -120,24 +135,49 @@ def __init__(__self__, *, :param pulumi.Input[str] state: The DRG's current state. :param pulumi.Input[str] time_created: The date and time the DRG was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` """ + _DrgState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + default_drg_route_tables=default_drg_route_tables, + default_export_drg_route_distribution_id=default_export_drg_route_distribution_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + redundancy_status=redundancy_status, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + default_drg_route_tables: Optional[pulumi.Input[Sequence[pulumi.Input['DrgDefaultDrgRouteTableArgs']]]] = None, + default_export_drg_route_distribution_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + redundancy_status: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if default_drg_route_tables is not None: - pulumi.set(__self__, "default_drg_route_tables", default_drg_route_tables) + _setter("default_drg_route_tables", default_drg_route_tables) if default_export_drg_route_distribution_id is not None: - pulumi.set(__self__, "default_export_drg_route_distribution_id", default_export_drg_route_distribution_id) + _setter("default_export_drg_route_distribution_id", default_export_drg_route_distribution_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if redundancy_status is not None: - pulumi.set(__self__, "redundancy_status", redundancy_status) + _setter("redundancy_status", redundancy_status) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -371,6 +411,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DrgArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/core/drg_attachment.py b/sdk/python/pulumi_oci/core/drg_attachment.py index 53cb32ae4c..6e228b4cf3 100644 --- a/sdk/python/pulumi_oci/core/drg_attachment.py +++ b/sdk/python/pulumi_oci/core/drg_attachment.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -50,25 +50,52 @@ def __init__(__self__, *, This field is deprecated. Instead, use the networkDetails field to specify the VCN route table for this attachment. :param pulumi.Input[str] vcn_id: (Optional) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. This field is deprecated. Instead, use the `networkDetails` field to specify the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the attached resource. """ - pulumi.set(__self__, "drg_id", drg_id) + DrgAttachmentArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + drg_id=drg_id, + defined_tags=defined_tags, + display_name=display_name, + drg_route_table_id=drg_route_table_id, + export_drg_route_distribution_id=export_drg_route_distribution_id, + freeform_tags=freeform_tags, + network_details=network_details, + remove_export_drg_route_distribution_trigger=remove_export_drg_route_distribution_trigger, + route_table_id=route_table_id, + vcn_id=vcn_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + drg_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + drg_route_table_id: Optional[pulumi.Input[str]] = None, + export_drg_route_distribution_id: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + network_details: Optional[pulumi.Input['DrgAttachmentNetworkDetailsArgs']] = None, + remove_export_drg_route_distribution_trigger: Optional[pulumi.Input[bool]] = None, + route_table_id: Optional[pulumi.Input[str]] = None, + vcn_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("drg_id", drg_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if drg_route_table_id is not None: - pulumi.set(__self__, "drg_route_table_id", drg_route_table_id) + _setter("drg_route_table_id", drg_route_table_id) if export_drg_route_distribution_id is not None: - pulumi.set(__self__, "export_drg_route_distribution_id", export_drg_route_distribution_id) + _setter("export_drg_route_distribution_id", export_drg_route_distribution_id) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if network_details is not None: - pulumi.set(__self__, "network_details", network_details) + _setter("network_details", network_details) if remove_export_drg_route_distribution_trigger is not None: - pulumi.set(__self__, "remove_export_drg_route_distribution_trigger", remove_export_drg_route_distribution_trigger) + _setter("remove_export_drg_route_distribution_trigger", remove_export_drg_route_distribution_trigger) if route_table_id is not None: - pulumi.set(__self__, "route_table_id", route_table_id) + _setter("route_table_id", route_table_id) if vcn_id is not None: - pulumi.set(__self__, "vcn_id", vcn_id) + _setter("vcn_id", vcn_id) @property @pulumi.getter(name="drgId") @@ -247,34 +274,69 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the DRG attachment was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` :param pulumi.Input[str] vcn_id: (Optional) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. This field is deprecated. Instead, use the `networkDetails` field to specify the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the attached resource. """ + _DrgAttachmentState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + drg_id=drg_id, + drg_route_table_id=drg_route_table_id, + export_drg_route_distribution_id=export_drg_route_distribution_id, + freeform_tags=freeform_tags, + is_cross_tenancy=is_cross_tenancy, + network_details=network_details, + remove_export_drg_route_distribution_trigger=remove_export_drg_route_distribution_trigger, + route_table_id=route_table_id, + state=state, + time_created=time_created, + vcn_id=vcn_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + drg_id: Optional[pulumi.Input[str]] = None, + drg_route_table_id: Optional[pulumi.Input[str]] = None, + export_drg_route_distribution_id: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_cross_tenancy: Optional[pulumi.Input[bool]] = None, + network_details: Optional[pulumi.Input['DrgAttachmentNetworkDetailsArgs']] = None, + remove_export_drg_route_distribution_trigger: Optional[pulumi.Input[bool]] = None, + route_table_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + vcn_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if drg_id is not None: - pulumi.set(__self__, "drg_id", drg_id) + _setter("drg_id", drg_id) if drg_route_table_id is not None: - pulumi.set(__self__, "drg_route_table_id", drg_route_table_id) + _setter("drg_route_table_id", drg_route_table_id) if export_drg_route_distribution_id is not None: - pulumi.set(__self__, "export_drg_route_distribution_id", export_drg_route_distribution_id) + _setter("export_drg_route_distribution_id", export_drg_route_distribution_id) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_cross_tenancy is not None: - pulumi.set(__self__, "is_cross_tenancy", is_cross_tenancy) + _setter("is_cross_tenancy", is_cross_tenancy) if network_details is not None: - pulumi.set(__self__, "network_details", network_details) + _setter("network_details", network_details) if remove_export_drg_route_distribution_trigger is not None: - pulumi.set(__self__, "remove_export_drg_route_distribution_trigger", remove_export_drg_route_distribution_trigger) + _setter("remove_export_drg_route_distribution_trigger", remove_export_drg_route_distribution_trigger) if route_table_id is not None: - pulumi.set(__self__, "route_table_id", route_table_id) + _setter("route_table_id", route_table_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if vcn_id is not None: - pulumi.set(__self__, "vcn_id", vcn_id) + _setter("vcn_id", vcn_id) @property @pulumi.getter(name="compartmentId") @@ -558,6 +620,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DrgAttachmentArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -590,6 +656,11 @@ def _internal_init(__self__, __props__.__dict__["drg_route_table_id"] = drg_route_table_id __props__.__dict__["export_drg_route_distribution_id"] = export_drg_route_distribution_id __props__.__dict__["freeform_tags"] = freeform_tags + if network_details is not None and not isinstance(network_details, DrgAttachmentNetworkDetailsArgs): + network_details = network_details or {} + def _setter(key, value): + network_details[key] = value + DrgAttachmentNetworkDetailsArgs._configure(_setter, **network_details) __props__.__dict__["network_details"] = network_details __props__.__dict__["remove_export_drg_route_distribution_trigger"] = remove_export_drg_route_distribution_trigger __props__.__dict__["route_table_id"] = route_table_id diff --git a/sdk/python/pulumi_oci/core/drg_attachment_management.py b/sdk/python/pulumi_oci/core/drg_attachment_management.py index e851c53c47..44516b16a1 100644 --- a/sdk/python/pulumi_oci/core/drg_attachment_management.py +++ b/sdk/python/pulumi_oci/core/drg_attachment_management.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -49,29 +49,62 @@ def __init__(__self__, *, * [Transit Routing: Private Access to Oracle Services](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm) This field is deprecated. Instead, use the `networkDetails` field to view the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the attached resource. :param pulumi.Input[str] vcn_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. """ - pulumi.set(__self__, "attachment_type", attachment_type) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "drg_id", drg_id) + DrgAttachmentManagementArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + attachment_type=attachment_type, + compartment_id=compartment_id, + drg_id=drg_id, + defined_tags=defined_tags, + display_name=display_name, + drg_route_table_id=drg_route_table_id, + export_drg_route_distribution_id=export_drg_route_distribution_id, + freeform_tags=freeform_tags, + network_details=network_details, + network_id=network_id, + remove_export_drg_route_distribution_trigger=remove_export_drg_route_distribution_trigger, + route_table_id=route_table_id, + vcn_id=vcn_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attachment_type: pulumi.Input[str], + compartment_id: pulumi.Input[str], + drg_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + drg_route_table_id: Optional[pulumi.Input[str]] = None, + export_drg_route_distribution_id: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + network_details: Optional[pulumi.Input['DrgAttachmentManagementNetworkDetailsArgs']] = None, + network_id: Optional[pulumi.Input[str]] = None, + remove_export_drg_route_distribution_trigger: Optional[pulumi.Input[bool]] = None, + route_table_id: Optional[pulumi.Input[str]] = None, + vcn_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("attachment_type", attachment_type) + _setter("compartment_id", compartment_id) + _setter("drg_id", drg_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if drg_route_table_id is not None: - pulumi.set(__self__, "drg_route_table_id", drg_route_table_id) + _setter("drg_route_table_id", drg_route_table_id) if export_drg_route_distribution_id is not None: - pulumi.set(__self__, "export_drg_route_distribution_id", export_drg_route_distribution_id) + _setter("export_drg_route_distribution_id", export_drg_route_distribution_id) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if network_details is not None: - pulumi.set(__self__, "network_details", network_details) + _setter("network_details", network_details) if network_id is not None: - pulumi.set(__self__, "network_id", network_id) + _setter("network_id", network_id) if remove_export_drg_route_distribution_trigger is not None: - pulumi.set(__self__, "remove_export_drg_route_distribution_trigger", remove_export_drg_route_distribution_trigger) + _setter("remove_export_drg_route_distribution_trigger", remove_export_drg_route_distribution_trigger) if route_table_id is not None: - pulumi.set(__self__, "route_table_id", route_table_id) + _setter("route_table_id", route_table_id) if vcn_id is not None: - pulumi.set(__self__, "vcn_id", vcn_id) + _setter("vcn_id", vcn_id) @property @pulumi.getter(name="attachmentType") @@ -276,38 +309,77 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the DRG attachment was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` :param pulumi.Input[str] vcn_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. """ + _DrgAttachmentManagementState._configure( + lambda key, value: pulumi.set(__self__, key, value), + attachment_type=attachment_type, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + drg_id=drg_id, + drg_route_table_id=drg_route_table_id, + export_drg_route_distribution_id=export_drg_route_distribution_id, + freeform_tags=freeform_tags, + is_cross_tenancy=is_cross_tenancy, + network_details=network_details, + network_id=network_id, + remove_export_drg_route_distribution_trigger=remove_export_drg_route_distribution_trigger, + route_table_id=route_table_id, + state=state, + time_created=time_created, + vcn_id=vcn_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attachment_type: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + drg_id: Optional[pulumi.Input[str]] = None, + drg_route_table_id: Optional[pulumi.Input[str]] = None, + export_drg_route_distribution_id: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_cross_tenancy: Optional[pulumi.Input[bool]] = None, + network_details: Optional[pulumi.Input['DrgAttachmentManagementNetworkDetailsArgs']] = None, + network_id: Optional[pulumi.Input[str]] = None, + remove_export_drg_route_distribution_trigger: Optional[pulumi.Input[bool]] = None, + route_table_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + vcn_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if attachment_type is not None: - pulumi.set(__self__, "attachment_type", attachment_type) + _setter("attachment_type", attachment_type) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if drg_id is not None: - pulumi.set(__self__, "drg_id", drg_id) + _setter("drg_id", drg_id) if drg_route_table_id is not None: - pulumi.set(__self__, "drg_route_table_id", drg_route_table_id) + _setter("drg_route_table_id", drg_route_table_id) if export_drg_route_distribution_id is not None: - pulumi.set(__self__, "export_drg_route_distribution_id", export_drg_route_distribution_id) + _setter("export_drg_route_distribution_id", export_drg_route_distribution_id) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_cross_tenancy is not None: - pulumi.set(__self__, "is_cross_tenancy", is_cross_tenancy) + _setter("is_cross_tenancy", is_cross_tenancy) if network_details is not None: - pulumi.set(__self__, "network_details", network_details) + _setter("network_details", network_details) if network_id is not None: - pulumi.set(__self__, "network_id", network_id) + _setter("network_id", network_id) if remove_export_drg_route_distribution_trigger is not None: - pulumi.set(__self__, "remove_export_drg_route_distribution_trigger", remove_export_drg_route_distribution_trigger) + _setter("remove_export_drg_route_distribution_trigger", remove_export_drg_route_distribution_trigger) if route_table_id is not None: - pulumi.set(__self__, "route_table_id", route_table_id) + _setter("route_table_id", route_table_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if vcn_id is not None: - pulumi.set(__self__, "vcn_id", vcn_id) + _setter("vcn_id", vcn_id) @property @pulumi.getter(name="attachmentType") @@ -621,6 +693,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DrgAttachmentManagementArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -662,6 +738,11 @@ def _internal_init(__self__, __props__.__dict__["drg_route_table_id"] = drg_route_table_id __props__.__dict__["export_drg_route_distribution_id"] = export_drg_route_distribution_id __props__.__dict__["freeform_tags"] = freeform_tags + if network_details is not None and not isinstance(network_details, DrgAttachmentManagementNetworkDetailsArgs): + network_details = network_details or {} + def _setter(key, value): + network_details[key] = value + DrgAttachmentManagementNetworkDetailsArgs._configure(_setter, **network_details) __props__.__dict__["network_details"] = network_details __props__.__dict__["network_id"] = network_id __props__.__dict__["remove_export_drg_route_distribution_trigger"] = remove_export_drg_route_distribution_trigger diff --git a/sdk/python/pulumi_oci/core/drg_attachments_list.py b/sdk/python/pulumi_oci/core/drg_attachments_list.py index d76a0aa92c..05c8911f1e 100644 --- a/sdk/python/pulumi_oci/core/drg_attachments_list.py +++ b/sdk/python/pulumi_oci/core/drg_attachments_list.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -29,11 +29,24 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "drg_id", drg_id) + DrgAttachmentsListArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + drg_id=drg_id, + attachment_type=attachment_type, + is_cross_tenancy=is_cross_tenancy, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + drg_id: pulumi.Input[str], + attachment_type: Optional[pulumi.Input[str]] = None, + is_cross_tenancy: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("drg_id", drg_id) if attachment_type is not None: - pulumi.set(__self__, "attachment_type", attachment_type) + _setter("attachment_type", attachment_type) if is_cross_tenancy is not None: - pulumi.set(__self__, "is_cross_tenancy", is_cross_tenancy) + _setter("is_cross_tenancy", is_cross_tenancy) @property @pulumi.getter(name="drgId") @@ -94,14 +107,29 @@ def __init__(__self__, *, ** 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 """ + _DrgAttachmentsListState._configure( + lambda key, value: pulumi.set(__self__, key, value), + attachment_type=attachment_type, + drg_all_attachments=drg_all_attachments, + drg_id=drg_id, + is_cross_tenancy=is_cross_tenancy, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attachment_type: Optional[pulumi.Input[str]] = None, + drg_all_attachments: Optional[pulumi.Input[Sequence[pulumi.Input['DrgAttachmentsListDrgAllAttachmentArgs']]]] = None, + drg_id: Optional[pulumi.Input[str]] = None, + is_cross_tenancy: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if attachment_type is not None: - pulumi.set(__self__, "attachment_type", attachment_type) + _setter("attachment_type", attachment_type) if drg_all_attachments is not None: - pulumi.set(__self__, "drg_all_attachments", drg_all_attachments) + _setter("drg_all_attachments", drg_all_attachments) if drg_id is not None: - pulumi.set(__self__, "drg_id", drg_id) + _setter("drg_id", drg_id) if is_cross_tenancy is not None: - pulumi.set(__self__, "is_cross_tenancy", is_cross_tenancy) + _setter("is_cross_tenancy", is_cross_tenancy) @property @pulumi.getter(name="attachmentType") @@ -233,6 +261,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DrgAttachmentsListArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/core/drg_route_distribution.py b/sdk/python/pulumi_oci/core/drg_route_distribution.py index 7027dde51f..fce137e465 100644 --- a/sdk/python/pulumi_oci/core/drg_route_distribution.py +++ b/sdk/python/pulumi_oci/core/drg_route_distribution.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['DrgRouteDistributionArgs', 'DrgRouteDistribution'] @@ -31,14 +31,31 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "distribution_type", distribution_type) - pulumi.set(__self__, "drg_id", drg_id) + DrgRouteDistributionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + distribution_type=distribution_type, + drg_id=drg_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + distribution_type: pulumi.Input[str], + drg_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("distribution_type", distribution_type) + _setter("drg_id", drg_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="distributionType") @@ -131,22 +148,45 @@ def __init__(__self__, *, :param pulumi.Input[str] state: The route distribution's current state. :param pulumi.Input[str] time_created: The date and time the route distribution was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` """ + _DrgRouteDistributionState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + distribution_type=distribution_type, + drg_id=drg_id, + freeform_tags=freeform_tags, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + distribution_type: Optional[pulumi.Input[str]] = None, + drg_id: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if distribution_type is not None: - pulumi.set(__self__, "distribution_type", distribution_type) + _setter("distribution_type", distribution_type) if drg_id is not None: - pulumi.set(__self__, "drg_id", drg_id) + _setter("drg_id", drg_id) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -356,6 +396,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DrgRouteDistributionArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/core/drg_route_distribution_statement.py b/sdk/python/pulumi_oci/core/drg_route_distribution_statement.py index e081ea8308..47dd3e0854 100644 --- a/sdk/python/pulumi_oci/core/drg_route_distribution_statement.py +++ b/sdk/python/pulumi_oci/core/drg_route_distribution_statement.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -31,10 +31,25 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "drg_route_distribution_id", drg_route_distribution_id) - pulumi.set(__self__, "match_criteria", match_criteria) - pulumi.set(__self__, "priority", priority) + DrgRouteDistributionStatementArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + drg_route_distribution_id=drg_route_distribution_id, + match_criteria=match_criteria, + priority=priority, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: pulumi.Input[str], + drg_route_distribution_id: pulumi.Input[str], + match_criteria: pulumi.Input['DrgRouteDistributionStatementMatchCriteriaArgs'], + priority: pulumi.Input[int], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("drg_route_distribution_id", drg_route_distribution_id) + _setter("match_criteria", match_criteria) + _setter("priority", priority) @property @pulumi.getter @@ -107,14 +122,29 @@ def __init__(__self__, *, ** 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 """ + _DrgRouteDistributionStatementState._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + drg_route_distribution_id=drg_route_distribution_id, + match_criteria=match_criteria, + priority=priority, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: Optional[pulumi.Input[str]] = None, + drg_route_distribution_id: Optional[pulumi.Input[str]] = None, + match_criteria: Optional[pulumi.Input['DrgRouteDistributionStatementMatchCriteriaArgs']] = None, + priority: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if action is not None: - pulumi.set(__self__, "action", action) + _setter("action", action) if drg_route_distribution_id is not None: - pulumi.set(__self__, "drg_route_distribution_id", drg_route_distribution_id) + _setter("drg_route_distribution_id", drg_route_distribution_id) if match_criteria is not None: - pulumi.set(__self__, "match_criteria", match_criteria) + _setter("match_criteria", match_criteria) if priority is not None: - pulumi.set(__self__, "priority", priority) + _setter("priority", priority) @property @pulumi.getter @@ -266,6 +296,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DrgRouteDistributionStatementArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -290,6 +324,11 @@ def _internal_init(__self__, if drg_route_distribution_id is None and not opts.urn: raise TypeError("Missing required property 'drg_route_distribution_id'") __props__.__dict__["drg_route_distribution_id"] = drg_route_distribution_id + if match_criteria is not None and not isinstance(match_criteria, DrgRouteDistributionStatementMatchCriteriaArgs): + match_criteria = match_criteria or {} + def _setter(key, value): + match_criteria[key] = value + DrgRouteDistributionStatementMatchCriteriaArgs._configure(_setter, **match_criteria) if match_criteria is None and not opts.urn: raise TypeError("Missing required property 'match_criteria'") __props__.__dict__["match_criteria"] = match_criteria diff --git a/sdk/python/pulumi_oci/core/drg_route_table.py b/sdk/python/pulumi_oci/core/drg_route_table.py index 7dbc0ef5ed..97f70543ee 100644 --- a/sdk/python/pulumi_oci/core/drg_route_table.py +++ b/sdk/python/pulumi_oci/core/drg_route_table.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['DrgRouteTableArgs', 'DrgRouteTable'] @@ -35,19 +35,40 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "drg_id", drg_id) + DrgRouteTableArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + drg_id=drg_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + import_drg_route_distribution_id=import_drg_route_distribution_id, + is_ecmp_enabled=is_ecmp_enabled, + remove_import_trigger=remove_import_trigger, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + drg_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + import_drg_route_distribution_id: Optional[pulumi.Input[str]] = None, + is_ecmp_enabled: Optional[pulumi.Input[bool]] = None, + remove_import_trigger: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("drg_id", drg_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if import_drg_route_distribution_id is not None: - pulumi.set(__self__, "import_drg_route_distribution_id", import_drg_route_distribution_id) + _setter("import_drg_route_distribution_id", import_drg_route_distribution_id) if is_ecmp_enabled is not None: - pulumi.set(__self__, "is_ecmp_enabled", is_ecmp_enabled) + _setter("is_ecmp_enabled", is_ecmp_enabled) if remove_import_trigger is not None: - pulumi.set(__self__, "remove_import_trigger", remove_import_trigger) + _setter("remove_import_trigger", remove_import_trigger) @property @pulumi.getter(name="drgId") @@ -168,26 +189,53 @@ def __init__(__self__, *, :param pulumi.Input[str] state: The DRG route table's current state. :param pulumi.Input[str] time_created: The date and time the DRG route table was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` """ + _DrgRouteTableState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + drg_id=drg_id, + freeform_tags=freeform_tags, + import_drg_route_distribution_id=import_drg_route_distribution_id, + is_ecmp_enabled=is_ecmp_enabled, + remove_import_trigger=remove_import_trigger, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + drg_id: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + import_drg_route_distribution_id: Optional[pulumi.Input[str]] = None, + is_ecmp_enabled: Optional[pulumi.Input[bool]] = None, + remove_import_trigger: Optional[pulumi.Input[bool]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if drg_id is not None: - pulumi.set(__self__, "drg_id", drg_id) + _setter("drg_id", drg_id) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if import_drg_route_distribution_id is not None: - pulumi.set(__self__, "import_drg_route_distribution_id", import_drg_route_distribution_id) + _setter("import_drg_route_distribution_id", import_drg_route_distribution_id) if is_ecmp_enabled is not None: - pulumi.set(__self__, "is_ecmp_enabled", is_ecmp_enabled) + _setter("is_ecmp_enabled", is_ecmp_enabled) if remove_import_trigger is not None: - pulumi.set(__self__, "remove_import_trigger", remove_import_trigger) + _setter("remove_import_trigger", remove_import_trigger) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -423,6 +471,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DrgRouteTableArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/core/drg_route_table_route_rule.py b/sdk/python/pulumi_oci/core/drg_route_table_route_rule.py index 4d557e9373..47eb588627 100644 --- a/sdk/python/pulumi_oci/core/drg_route_table_route_rule.py +++ b/sdk/python/pulumi_oci/core/drg_route_table_route_rule.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['DrgRouteTableRouteRuleArgs', 'DrgRouteTableRouteRule'] @@ -34,10 +34,25 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "destination", destination) - pulumi.set(__self__, "destination_type", destination_type) - pulumi.set(__self__, "drg_route_table_id", drg_route_table_id) - pulumi.set(__self__, "next_hop_drg_attachment_id", next_hop_drg_attachment_id) + DrgRouteTableRouteRuleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + destination=destination, + destination_type=destination_type, + drg_route_table_id=drg_route_table_id, + next_hop_drg_attachment_id=next_hop_drg_attachment_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + destination: pulumi.Input[str], + destination_type: pulumi.Input[str], + drg_route_table_id: pulumi.Input[str], + next_hop_drg_attachment_id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("destination", destination) + _setter("destination_type", destination_type) + _setter("drg_route_table_id", drg_route_table_id) + _setter("next_hop_drg_attachment_id", next_hop_drg_attachment_id) @property @pulumi.getter @@ -130,24 +145,49 @@ def __init__(__self__, *, :param pulumi.Input[str] route_provenance: The earliest origin of a route. If a route is advertised to a DRG through an IPsec tunnel attachment, and is propagated to peered DRGs via RPC attachments, the route's provenance in the peered DRGs remains `IPSEC_TUNNEL`, because that is the earliest origin. :param pulumi.Input[str] route_type: You can specify static routes for the DRG route table using the API. The DRG learns dynamic routes from the DRG attachments using various routing protocols. """ + _DrgRouteTableRouteRuleState._configure( + lambda key, value: pulumi.set(__self__, key, value), + attributes=attributes, + destination=destination, + destination_type=destination_type, + drg_route_table_id=drg_route_table_id, + is_blackhole=is_blackhole, + is_conflict=is_conflict, + next_hop_drg_attachment_id=next_hop_drg_attachment_id, + route_provenance=route_provenance, + route_type=route_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attributes: Optional[pulumi.Input[Mapping[str, Any]]] = None, + destination: Optional[pulumi.Input[str]] = None, + destination_type: Optional[pulumi.Input[str]] = None, + drg_route_table_id: Optional[pulumi.Input[str]] = None, + is_blackhole: Optional[pulumi.Input[bool]] = None, + is_conflict: Optional[pulumi.Input[bool]] = None, + next_hop_drg_attachment_id: Optional[pulumi.Input[str]] = None, + route_provenance: Optional[pulumi.Input[str]] = None, + route_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if attributes is not None: - pulumi.set(__self__, "attributes", attributes) + _setter("attributes", attributes) if destination is not None: - pulumi.set(__self__, "destination", destination) + _setter("destination", destination) if destination_type is not None: - pulumi.set(__self__, "destination_type", destination_type) + _setter("destination_type", destination_type) if drg_route_table_id is not None: - pulumi.set(__self__, "drg_route_table_id", drg_route_table_id) + _setter("drg_route_table_id", drg_route_table_id) if is_blackhole is not None: - pulumi.set(__self__, "is_blackhole", is_blackhole) + _setter("is_blackhole", is_blackhole) if is_conflict is not None: - pulumi.set(__self__, "is_conflict", is_conflict) + _setter("is_conflict", is_conflict) if next_hop_drg_attachment_id is not None: - pulumi.set(__self__, "next_hop_drg_attachment_id", next_hop_drg_attachment_id) + _setter("next_hop_drg_attachment_id", next_hop_drg_attachment_id) if route_provenance is not None: - pulumi.set(__self__, "route_provenance", route_provenance) + _setter("route_provenance", route_provenance) if route_type is not None: - pulumi.set(__self__, "route_type", route_type) + _setter("route_type", route_type) @property @pulumi.getter @@ -361,6 +401,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DrgRouteTableRouteRuleArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/core/get_app_catalog_listing.py b/sdk/python/pulumi_oci/core/get_app_catalog_listing.py index 688d29ed9c..5291ffb933 100644 --- a/sdk/python/pulumi_oci/core/get_app_catalog_listing.py +++ b/sdk/python/pulumi_oci/core/get_app_catalog_listing.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/core/get_app_catalog_listing_resource_version.py b/sdk/python/pulumi_oci/core/get_app_catalog_listing_resource_version.py index 5a9646fa38..64ba57adc0 100644 --- a/sdk/python/pulumi_oci/core/get_app_catalog_listing_resource_version.py +++ b/sdk/python/pulumi_oci/core/get_app_catalog_listing_resource_version.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/core/get_app_catalog_listing_resource_versions.py b/sdk/python/pulumi_oci/core/get_app_catalog_listing_resource_versions.py index 60f50e6f43..4efc0b0b08 100644 --- a/sdk/python/pulumi_oci/core/get_app_catalog_listing_resource_versions.py +++ b/sdk/python/pulumi_oci/core/get_app_catalog_listing_resource_versions.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_app_catalog_listings.py b/sdk/python/pulumi_oci/core/get_app_catalog_listings.py index 2dba39e5e5..4ec8b56274 100644 --- a/sdk/python/pulumi_oci/core/get_app_catalog_listings.py +++ b/sdk/python/pulumi_oci/core/get_app_catalog_listings.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_app_catalog_subscriptions.py b/sdk/python/pulumi_oci/core/get_app_catalog_subscriptions.py index 5a5ede6b23..530703ff49 100644 --- a/sdk/python/pulumi_oci/core/get_app_catalog_subscriptions.py +++ b/sdk/python/pulumi_oci/core/get_app_catalog_subscriptions.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_block_volume_replica.py b/sdk/python/pulumi_oci/core/get_block_volume_replica.py index adaf7fb20d..064e90db55 100644 --- a/sdk/python/pulumi_oci/core/get_block_volume_replica.py +++ b/sdk/python/pulumi_oci/core/get_block_volume_replica.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/core/get_block_volume_replicas.py b/sdk/python/pulumi_oci/core/get_block_volume_replicas.py index 44a2b1a18e..1b286bfa19 100644 --- a/sdk/python/pulumi_oci/core/get_block_volume_replicas.py +++ b/sdk/python/pulumi_oci/core/get_block_volume_replicas.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_boot_volume.py b/sdk/python/pulumi_oci/core/get_boot_volume.py index 6587e28b7c..f60528d37e 100644 --- a/sdk/python/pulumi_oci/core/get_boot_volume.py +++ b/sdk/python/pulumi_oci/core/get_boot_volume.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/core/get_boot_volume_attachments.py b/sdk/python/pulumi_oci/core/get_boot_volume_attachments.py index f836062e7b..efaf953f50 100644 --- a/sdk/python/pulumi_oci/core/get_boot_volume_attachments.py +++ b/sdk/python/pulumi_oci/core/get_boot_volume_attachments.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_boot_volume_backup.py b/sdk/python/pulumi_oci/core/get_boot_volume_backup.py index 008749f5b7..44ace4b592 100644 --- a/sdk/python/pulumi_oci/core/get_boot_volume_backup.py +++ b/sdk/python/pulumi_oci/core/get_boot_volume_backup.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/core/get_boot_volume_backups.py b/sdk/python/pulumi_oci/core/get_boot_volume_backups.py index 297380fb0f..7c25c07482 100644 --- a/sdk/python/pulumi_oci/core/get_boot_volume_backups.py +++ b/sdk/python/pulumi_oci/core/get_boot_volume_backups.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_boot_volume_replica.py b/sdk/python/pulumi_oci/core/get_boot_volume_replica.py index de87808eee..aaeb4a2e78 100644 --- a/sdk/python/pulumi_oci/core/get_boot_volume_replica.py +++ b/sdk/python/pulumi_oci/core/get_boot_volume_replica.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/core/get_boot_volume_replicas.py b/sdk/python/pulumi_oci/core/get_boot_volume_replicas.py index bbd49d8b22..5c9ad363be 100644 --- a/sdk/python/pulumi_oci/core/get_boot_volume_replicas.py +++ b/sdk/python/pulumi_oci/core/get_boot_volume_replicas.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_boot_volumes.py b/sdk/python/pulumi_oci/core/get_boot_volumes.py index 8cdadf229c..6e3e3f44be 100644 --- a/sdk/python/pulumi_oci/core/get_boot_volumes.py +++ b/sdk/python/pulumi_oci/core/get_boot_volumes.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_byoip_allocated_ranges.py b/sdk/python/pulumi_oci/core/get_byoip_allocated_ranges.py index eba314b16a..6e4b43c0a3 100644 --- a/sdk/python/pulumi_oci/core/get_byoip_allocated_ranges.py +++ b/sdk/python/pulumi_oci/core/get_byoip_allocated_ranges.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_byoip_range.py b/sdk/python/pulumi_oci/core/get_byoip_range.py index a0d4e7014f..156fca4be8 100644 --- a/sdk/python/pulumi_oci/core/get_byoip_range.py +++ b/sdk/python/pulumi_oci/core/get_byoip_range.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/core/get_byoip_ranges.py b/sdk/python/pulumi_oci/core/get_byoip_ranges.py index 076611c85c..b6486beeaa 100644 --- a/sdk/python/pulumi_oci/core/get_byoip_ranges.py +++ b/sdk/python/pulumi_oci/core/get_byoip_ranges.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_capture_filter.py b/sdk/python/pulumi_oci/core/get_capture_filter.py index 6df5523812..10ad60ca37 100644 --- a/sdk/python/pulumi_oci/core/get_capture_filter.py +++ b/sdk/python/pulumi_oci/core/get_capture_filter.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/core/get_capture_filters.py b/sdk/python/pulumi_oci/core/get_capture_filters.py index 9fe92f6363..251fd01daf 100644 --- a/sdk/python/pulumi_oci/core/get_capture_filters.py +++ b/sdk/python/pulumi_oci/core/get_capture_filters.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_cluster_network.py b/sdk/python/pulumi_oci/core/get_cluster_network.py index c3ee737a0b..5260496902 100644 --- a/sdk/python/pulumi_oci/core/get_cluster_network.py +++ b/sdk/python/pulumi_oci/core/get_cluster_network.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/core/get_cluster_network_instances.py b/sdk/python/pulumi_oci/core/get_cluster_network_instances.py index d9c184fe05..3f1a1c8425 100644 --- a/sdk/python/pulumi_oci/core/get_cluster_network_instances.py +++ b/sdk/python/pulumi_oci/core/get_cluster_network_instances.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_cluster_networks.py b/sdk/python/pulumi_oci/core/get_cluster_networks.py index 7267b8b986..52a8b94558 100644 --- a/sdk/python/pulumi_oci/core/get_cluster_networks.py +++ b/sdk/python/pulumi_oci/core/get_cluster_networks.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_cnv_dns_resolver_association.py b/sdk/python/pulumi_oci/core/get_cnv_dns_resolver_association.py index 2ba5330110..a5d45e8225 100644 --- a/sdk/python/pulumi_oci/core/get_cnv_dns_resolver_association.py +++ b/sdk/python/pulumi_oci/core/get_cnv_dns_resolver_association.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/core/get_compute_capacity_reservation.py b/sdk/python/pulumi_oci/core/get_compute_capacity_reservation.py index 6e8d229a86..2ebcf20728 100644 --- a/sdk/python/pulumi_oci/core/get_compute_capacity_reservation.py +++ b/sdk/python/pulumi_oci/core/get_compute_capacity_reservation.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/core/get_compute_capacity_reservation_instance_shapes.py b/sdk/python/pulumi_oci/core/get_compute_capacity_reservation_instance_shapes.py index 6a678ca6fb..0a48dd0519 100644 --- a/sdk/python/pulumi_oci/core/get_compute_capacity_reservation_instance_shapes.py +++ b/sdk/python/pulumi_oci/core/get_compute_capacity_reservation_instance_shapes.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_compute_capacity_reservation_instances.py b/sdk/python/pulumi_oci/core/get_compute_capacity_reservation_instances.py index c75eef7731..efb822c689 100644 --- a/sdk/python/pulumi_oci/core/get_compute_capacity_reservation_instances.py +++ b/sdk/python/pulumi_oci/core/get_compute_capacity_reservation_instances.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_compute_capacity_reservations.py b/sdk/python/pulumi_oci/core/get_compute_capacity_reservations.py index ac46a22e3e..fc5281022b 100644 --- a/sdk/python/pulumi_oci/core/get_compute_capacity_reservations.py +++ b/sdk/python/pulumi_oci/core/get_compute_capacity_reservations.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_compute_cluster.py b/sdk/python/pulumi_oci/core/get_compute_cluster.py index e69325f430..080c213f04 100644 --- a/sdk/python/pulumi_oci/core/get_compute_cluster.py +++ b/sdk/python/pulumi_oci/core/get_compute_cluster.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/core/get_compute_clusters.py b/sdk/python/pulumi_oci/core/get_compute_clusters.py index 8ed806b708..1667013fb6 100644 --- a/sdk/python/pulumi_oci/core/get_compute_clusters.py +++ b/sdk/python/pulumi_oci/core/get_compute_clusters.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_compute_global_image_capability_schema.py b/sdk/python/pulumi_oci/core/get_compute_global_image_capability_schema.py index 0b348487bb..fdfc7181df 100644 --- a/sdk/python/pulumi_oci/core/get_compute_global_image_capability_schema.py +++ b/sdk/python/pulumi_oci/core/get_compute_global_image_capability_schema.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/core/get_compute_global_image_capability_schemas.py b/sdk/python/pulumi_oci/core/get_compute_global_image_capability_schemas.py index 8562af1c13..eac7662c76 100644 --- a/sdk/python/pulumi_oci/core/get_compute_global_image_capability_schemas.py +++ b/sdk/python/pulumi_oci/core/get_compute_global_image_capability_schemas.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_compute_global_image_capability_schemas_version.py b/sdk/python/pulumi_oci/core/get_compute_global_image_capability_schemas_version.py index c5cdee6018..89a32aaaba 100644 --- a/sdk/python/pulumi_oci/core/get_compute_global_image_capability_schemas_version.py +++ b/sdk/python/pulumi_oci/core/get_compute_global_image_capability_schemas_version.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/core/get_compute_global_image_capability_schemas_versions.py b/sdk/python/pulumi_oci/core/get_compute_global_image_capability_schemas_versions.py index c41bf5004c..a766c5cd7f 100644 --- a/sdk/python/pulumi_oci/core/get_compute_global_image_capability_schemas_versions.py +++ b/sdk/python/pulumi_oci/core/get_compute_global_image_capability_schemas_versions.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_compute_image_capability_schema.py b/sdk/python/pulumi_oci/core/get_compute_image_capability_schema.py index 8e155a2706..3e52cfca41 100644 --- a/sdk/python/pulumi_oci/core/get_compute_image_capability_schema.py +++ b/sdk/python/pulumi_oci/core/get_compute_image_capability_schema.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/core/get_compute_image_capability_schemas.py b/sdk/python/pulumi_oci/core/get_compute_image_capability_schemas.py index 2c55f14a35..6065c5c1fa 100644 --- a/sdk/python/pulumi_oci/core/get_compute_image_capability_schemas.py +++ b/sdk/python/pulumi_oci/core/get_compute_image_capability_schemas.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_console_histories.py b/sdk/python/pulumi_oci/core/get_console_histories.py index cb291ca13a..2db54e60c3 100644 --- a/sdk/python/pulumi_oci/core/get_console_histories.py +++ b/sdk/python/pulumi_oci/core/get_console_histories.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_console_history_data.py b/sdk/python/pulumi_oci/core/get_console_history_data.py index f36cf30b70..ddc58079f5 100644 --- a/sdk/python/pulumi_oci/core/get_console_history_data.py +++ b/sdk/python/pulumi_oci/core/get_console_history_data.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/core/get_cpe_device_shape.py b/sdk/python/pulumi_oci/core/get_cpe_device_shape.py index f76e6a741f..2c5caa1e65 100644 --- a/sdk/python/pulumi_oci/core/get_cpe_device_shape.py +++ b/sdk/python/pulumi_oci/core/get_cpe_device_shape.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/core/get_cpe_device_shapes.py b/sdk/python/pulumi_oci/core/get_cpe_device_shapes.py index 63b570b1ee..f324be0b83 100644 --- a/sdk/python/pulumi_oci/core/get_cpe_device_shapes.py +++ b/sdk/python/pulumi_oci/core/get_cpe_device_shapes.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_cpes.py b/sdk/python/pulumi_oci/core/get_cpes.py index 11ec87ae3b..b0dbb2a14f 100644 --- a/sdk/python/pulumi_oci/core/get_cpes.py +++ b/sdk/python/pulumi_oci/core/get_cpes.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_cross_connect.py b/sdk/python/pulumi_oci/core/get_cross_connect.py index 281703f3b3..b266832322 100644 --- a/sdk/python/pulumi_oci/core/get_cross_connect.py +++ b/sdk/python/pulumi_oci/core/get_cross_connect.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/core/get_cross_connect_group.py b/sdk/python/pulumi_oci/core/get_cross_connect_group.py index 9d4e7078a8..3b98d3b6a7 100644 --- a/sdk/python/pulumi_oci/core/get_cross_connect_group.py +++ b/sdk/python/pulumi_oci/core/get_cross_connect_group.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/core/get_cross_connect_groups.py b/sdk/python/pulumi_oci/core/get_cross_connect_groups.py index b76adcc6a1..71c64cc3d9 100644 --- a/sdk/python/pulumi_oci/core/get_cross_connect_groups.py +++ b/sdk/python/pulumi_oci/core/get_cross_connect_groups.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_cross_connect_locations.py b/sdk/python/pulumi_oci/core/get_cross_connect_locations.py index dda946453b..f839c541c2 100644 --- a/sdk/python/pulumi_oci/core/get_cross_connect_locations.py +++ b/sdk/python/pulumi_oci/core/get_cross_connect_locations.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_cross_connect_port_speed_shape.py b/sdk/python/pulumi_oci/core/get_cross_connect_port_speed_shape.py index 6222bd0458..0fc637599b 100644 --- a/sdk/python/pulumi_oci/core/get_cross_connect_port_speed_shape.py +++ b/sdk/python/pulumi_oci/core/get_cross_connect_port_speed_shape.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_cross_connect_status.py b/sdk/python/pulumi_oci/core/get_cross_connect_status.py index 37816632a1..678c2bc7c0 100644 --- a/sdk/python/pulumi_oci/core/get_cross_connect_status.py +++ b/sdk/python/pulumi_oci/core/get_cross_connect_status.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/core/get_cross_connects.py b/sdk/python/pulumi_oci/core/get_cross_connects.py index cd68317326..c47ff8ea4c 100644 --- a/sdk/python/pulumi_oci/core/get_cross_connects.py +++ b/sdk/python/pulumi_oci/core/get_cross_connects.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_dedicated_vm_host.py b/sdk/python/pulumi_oci/core/get_dedicated_vm_host.py index 6386a7a0b0..db619fa565 100644 --- a/sdk/python/pulumi_oci/core/get_dedicated_vm_host.py +++ b/sdk/python/pulumi_oci/core/get_dedicated_vm_host.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/core/get_dedicated_vm_host_instance_shapes.py b/sdk/python/pulumi_oci/core/get_dedicated_vm_host_instance_shapes.py index f0c625571b..bda0a39744 100644 --- a/sdk/python/pulumi_oci/core/get_dedicated_vm_host_instance_shapes.py +++ b/sdk/python/pulumi_oci/core/get_dedicated_vm_host_instance_shapes.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_dedicated_vm_host_instances.py b/sdk/python/pulumi_oci/core/get_dedicated_vm_host_instances.py index 3ed097481b..ef23cd536d 100644 --- a/sdk/python/pulumi_oci/core/get_dedicated_vm_host_instances.py +++ b/sdk/python/pulumi_oci/core/get_dedicated_vm_host_instances.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_dedicated_vm_host_shapes.py b/sdk/python/pulumi_oci/core/get_dedicated_vm_host_shapes.py index 43ded16c86..93264c35ab 100644 --- a/sdk/python/pulumi_oci/core/get_dedicated_vm_host_shapes.py +++ b/sdk/python/pulumi_oci/core/get_dedicated_vm_host_shapes.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_dedicated_vm_hosts.py b/sdk/python/pulumi_oci/core/get_dedicated_vm_hosts.py index a9ee15581f..7d4e7abc23 100644 --- a/sdk/python/pulumi_oci/core/get_dedicated_vm_hosts.py +++ b/sdk/python/pulumi_oci/core/get_dedicated_vm_hosts.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_dhcp_options.py b/sdk/python/pulumi_oci/core/get_dhcp_options.py index b8d7045896..b182bad637 100644 --- a/sdk/python/pulumi_oci/core/get_dhcp_options.py +++ b/sdk/python/pulumi_oci/core/get_dhcp_options.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_drg_attachments.py b/sdk/python/pulumi_oci/core/get_drg_attachments.py index 68752e9926..35729d4d21 100644 --- a/sdk/python/pulumi_oci/core/get_drg_attachments.py +++ b/sdk/python/pulumi_oci/core/get_drg_attachments.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_drg_route_distribution.py b/sdk/python/pulumi_oci/core/get_drg_route_distribution.py index 8c48198dd2..87ce28a282 100644 --- a/sdk/python/pulumi_oci/core/get_drg_route_distribution.py +++ b/sdk/python/pulumi_oci/core/get_drg_route_distribution.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/core/get_drg_route_distribution_statements.py b/sdk/python/pulumi_oci/core/get_drg_route_distribution_statements.py index 7b744dfd5c..001e095608 100644 --- a/sdk/python/pulumi_oci/core/get_drg_route_distribution_statements.py +++ b/sdk/python/pulumi_oci/core/get_drg_route_distribution_statements.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_drg_route_distributions.py b/sdk/python/pulumi_oci/core/get_drg_route_distributions.py index dad8682a2f..f9ea428f7c 100644 --- a/sdk/python/pulumi_oci/core/get_drg_route_distributions.py +++ b/sdk/python/pulumi_oci/core/get_drg_route_distributions.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_drg_route_rule.py b/sdk/python/pulumi_oci/core/get_drg_route_rule.py index 088c615924..4adf9a9783 100644 --- a/sdk/python/pulumi_oci/core/get_drg_route_rule.py +++ b/sdk/python/pulumi_oci/core/get_drg_route_rule.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/core/get_drg_route_table_route_rules.py b/sdk/python/pulumi_oci/core/get_drg_route_table_route_rules.py index 39c93e8920..28b03200e0 100644 --- a/sdk/python/pulumi_oci/core/get_drg_route_table_route_rules.py +++ b/sdk/python/pulumi_oci/core/get_drg_route_table_route_rules.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_drg_route_tables.py b/sdk/python/pulumi_oci/core/get_drg_route_tables.py index 9b64c37f34..18e62635ca 100644 --- a/sdk/python/pulumi_oci/core/get_drg_route_tables.py +++ b/sdk/python/pulumi_oci/core/get_drg_route_tables.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_drgs.py b/sdk/python/pulumi_oci/core/get_drgs.py index 487758f0b5..e2e5b2c5bc 100644 --- a/sdk/python/pulumi_oci/core/get_drgs.py +++ b/sdk/python/pulumi_oci/core/get_drgs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_fast_connect_provider_service.py b/sdk/python/pulumi_oci/core/get_fast_connect_provider_service.py index c509143edd..8d0434f1c0 100644 --- a/sdk/python/pulumi_oci/core/get_fast_connect_provider_service.py +++ b/sdk/python/pulumi_oci/core/get_fast_connect_provider_service.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/core/get_fast_connect_provider_service_key.py b/sdk/python/pulumi_oci/core/get_fast_connect_provider_service_key.py index d95dae2306..f76c987330 100644 --- a/sdk/python/pulumi_oci/core/get_fast_connect_provider_service_key.py +++ b/sdk/python/pulumi_oci/core/get_fast_connect_provider_service_key.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/core/get_fast_connect_provider_services.py b/sdk/python/pulumi_oci/core/get_fast_connect_provider_services.py index 93b923201a..e40757769c 100644 --- a/sdk/python/pulumi_oci/core/get_fast_connect_provider_services.py +++ b/sdk/python/pulumi_oci/core/get_fast_connect_provider_services.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_image.py b/sdk/python/pulumi_oci/core/get_image.py index 9500c32b00..89307326ed 100644 --- a/sdk/python/pulumi_oci/core/get_image.py +++ b/sdk/python/pulumi_oci/core/get_image.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/core/get_image_shape.py b/sdk/python/pulumi_oci/core/get_image_shape.py index 7b14ca9b3d..77ff8cf802 100644 --- a/sdk/python/pulumi_oci/core/get_image_shape.py +++ b/sdk/python/pulumi_oci/core/get_image_shape.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/core/get_image_shapes.py b/sdk/python/pulumi_oci/core/get_image_shapes.py index e6c4ed1c26..02235cecc1 100644 --- a/sdk/python/pulumi_oci/core/get_image_shapes.py +++ b/sdk/python/pulumi_oci/core/get_image_shapes.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_images.py b/sdk/python/pulumi_oci/core/get_images.py index 540fa8c5d6..74bfaedaaa 100644 --- a/sdk/python/pulumi_oci/core/get_images.py +++ b/sdk/python/pulumi_oci/core/get_images.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_instance.py b/sdk/python/pulumi_oci/core/get_instance.py index c4e2ceacfb..f2beb36847 100644 --- a/sdk/python/pulumi_oci/core/get_instance.py +++ b/sdk/python/pulumi_oci/core/get_instance.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/core/get_instance_configuration.py b/sdk/python/pulumi_oci/core/get_instance_configuration.py index d1018a4c4b..7e6b5cff9d 100644 --- a/sdk/python/pulumi_oci/core/get_instance_configuration.py +++ b/sdk/python/pulumi_oci/core/get_instance_configuration.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/core/get_instance_configurations.py b/sdk/python/pulumi_oci/core/get_instance_configurations.py index 76ac58312f..13a07e6083 100644 --- a/sdk/python/pulumi_oci/core/get_instance_configurations.py +++ b/sdk/python/pulumi_oci/core/get_instance_configurations.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_instance_console_connections.py b/sdk/python/pulumi_oci/core/get_instance_console_connections.py index ff9ae95a26..835081300d 100644 --- a/sdk/python/pulumi_oci/core/get_instance_console_connections.py +++ b/sdk/python/pulumi_oci/core/get_instance_console_connections.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_instance_credentials.py b/sdk/python/pulumi_oci/core/get_instance_credentials.py index 3454b54e3c..9b4cb79943 100644 --- a/sdk/python/pulumi_oci/core/get_instance_credentials.py +++ b/sdk/python/pulumi_oci/core/get_instance_credentials.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/core/get_instance_devices.py b/sdk/python/pulumi_oci/core/get_instance_devices.py index 50cc798bda..9da6c4fc9d 100644 --- a/sdk/python/pulumi_oci/core/get_instance_devices.py +++ b/sdk/python/pulumi_oci/core/get_instance_devices.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_instance_maintenance_reboot.py b/sdk/python/pulumi_oci/core/get_instance_maintenance_reboot.py index c78780bfd2..9725d497b6 100644 --- a/sdk/python/pulumi_oci/core/get_instance_maintenance_reboot.py +++ b/sdk/python/pulumi_oci/core/get_instance_maintenance_reboot.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/core/get_instance_measured_boot_report.py b/sdk/python/pulumi_oci/core/get_instance_measured_boot_report.py index cfd8aa56a8..2c7e2ae497 100644 --- a/sdk/python/pulumi_oci/core/get_instance_measured_boot_report.py +++ b/sdk/python/pulumi_oci/core/get_instance_measured_boot_report.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/core/get_instance_pool.py b/sdk/python/pulumi_oci/core/get_instance_pool.py index 6b0bde2a67..574cb79e62 100644 --- a/sdk/python/pulumi_oci/core/get_instance_pool.py +++ b/sdk/python/pulumi_oci/core/get_instance_pool.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/core/get_instance_pool_instances.py b/sdk/python/pulumi_oci/core/get_instance_pool_instances.py index 2bd7886c02..fc441e6a85 100644 --- a/sdk/python/pulumi_oci/core/get_instance_pool_instances.py +++ b/sdk/python/pulumi_oci/core/get_instance_pool_instances.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_instance_pool_load_balancer_attachment.py b/sdk/python/pulumi_oci/core/get_instance_pool_load_balancer_attachment.py index 04478aab08..819cb9b279 100644 --- a/sdk/python/pulumi_oci/core/get_instance_pool_load_balancer_attachment.py +++ b/sdk/python/pulumi_oci/core/get_instance_pool_load_balancer_attachment.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/core/get_instance_pools.py b/sdk/python/pulumi_oci/core/get_instance_pools.py index d72fe08fb7..207ff05041 100644 --- a/sdk/python/pulumi_oci/core/get_instance_pools.py +++ b/sdk/python/pulumi_oci/core/get_instance_pools.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_instances.py b/sdk/python/pulumi_oci/core/get_instances.py index a95c1784bc..f6b951c3db 100644 --- a/sdk/python/pulumi_oci/core/get_instances.py +++ b/sdk/python/pulumi_oci/core/get_instances.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_internet_gateways.py b/sdk/python/pulumi_oci/core/get_internet_gateways.py index 3ed4b83cc4..4e6cd07c2c 100644 --- a/sdk/python/pulumi_oci/core/get_internet_gateways.py +++ b/sdk/python/pulumi_oci/core/get_internet_gateways.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_ipsec_algorithm.py b/sdk/python/pulumi_oci/core/get_ipsec_algorithm.py index ae1d17643e..f0704f6f85 100644 --- a/sdk/python/pulumi_oci/core/get_ipsec_algorithm.py +++ b/sdk/python/pulumi_oci/core/get_ipsec_algorithm.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -14,6 +14,7 @@ 'GetIpsecAlgorithmResult', 'AwaitableGetIpsecAlgorithmResult', 'get_ipsec_algorithm', + 'get_ipsec_algorithm_output', ] @pulumi.output_type @@ -117,3 +118,22 @@ def get_ipsec_algorithm(opts: Optional[pulumi.InvokeOptions] = None) -> Awaitabl default_phase_one_parameters=pulumi.get(__ret__, 'default_phase_one_parameters'), default_phase_two_parameters=pulumi.get(__ret__, 'default_phase_two_parameters'), id=pulumi.get(__ret__, 'id')) + + +@_utilities.lift_output_func(get_ipsec_algorithm) +def get_ipsec_algorithm_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetIpsecAlgorithmResult]: + """ + This data source provides details about a specific Ipsec Algorithm resource in Oracle Cloud Infrastructure Core service. + + The parameters allowed for IKE IPSec tunnels. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_ipsec_algorithm = oci.Core.get_ipsec_algorithm() + ``` + """ + ... diff --git a/sdk/python/pulumi_oci/core/get_ipsec_config.py b/sdk/python/pulumi_oci/core/get_ipsec_config.py index 6ec4ae4818..f25b849bf9 100644 --- a/sdk/python/pulumi_oci/core/get_ipsec_config.py +++ b/sdk/python/pulumi_oci/core/get_ipsec_config.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_ipsec_connection_tunnel.py b/sdk/python/pulumi_oci/core/get_ipsec_connection_tunnel.py index 5f1848c12d..008025bb14 100644 --- a/sdk/python/pulumi_oci/core/get_ipsec_connection_tunnel.py +++ b/sdk/python/pulumi_oci/core/get_ipsec_connection_tunnel.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/core/get_ipsec_connection_tunnel_error.py b/sdk/python/pulumi_oci/core/get_ipsec_connection_tunnel_error.py index 52bcba8675..d1a915e22d 100644 --- a/sdk/python/pulumi_oci/core/get_ipsec_connection_tunnel_error.py +++ b/sdk/python/pulumi_oci/core/get_ipsec_connection_tunnel_error.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/core/get_ipsec_connection_tunnel_routes.py b/sdk/python/pulumi_oci/core/get_ipsec_connection_tunnel_routes.py index cd7cba3867..6ec64416f4 100644 --- a/sdk/python/pulumi_oci/core/get_ipsec_connection_tunnel_routes.py +++ b/sdk/python/pulumi_oci/core/get_ipsec_connection_tunnel_routes.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_ipsec_connection_tunnels.py b/sdk/python/pulumi_oci/core/get_ipsec_connection_tunnels.py index ee81a2d30e..ce54a9e761 100644 --- a/sdk/python/pulumi_oci/core/get_ipsec_connection_tunnels.py +++ b/sdk/python/pulumi_oci/core/get_ipsec_connection_tunnels.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_ipsec_connections.py b/sdk/python/pulumi_oci/core/get_ipsec_connections.py index 6ee8b88442..0949d4b307 100644 --- a/sdk/python/pulumi_oci/core/get_ipsec_connections.py +++ b/sdk/python/pulumi_oci/core/get_ipsec_connections.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_ipsec_status.py b/sdk/python/pulumi_oci/core/get_ipsec_status.py index ff334fd875..2218e83f72 100644 --- a/sdk/python/pulumi_oci/core/get_ipsec_status.py +++ b/sdk/python/pulumi_oci/core/get_ipsec_status.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_ipv6.py b/sdk/python/pulumi_oci/core/get_ipv6.py index 8fdf1bd857..53a662e9a4 100644 --- a/sdk/python/pulumi_oci/core/get_ipv6.py +++ b/sdk/python/pulumi_oci/core/get_ipv6.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/core/get_ipv6s.py b/sdk/python/pulumi_oci/core/get_ipv6s.py index 5582196611..4dabcfa3d3 100644 --- a/sdk/python/pulumi_oci/core/get_ipv6s.py +++ b/sdk/python/pulumi_oci/core/get_ipv6s.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_letter_of_authority.py b/sdk/python/pulumi_oci/core/get_letter_of_authority.py index 34be31e70c..fa505e1efa 100644 --- a/sdk/python/pulumi_oci/core/get_letter_of_authority.py +++ b/sdk/python/pulumi_oci/core/get_letter_of_authority.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/core/get_listing_resource_version.py b/sdk/python/pulumi_oci/core/get_listing_resource_version.py index 9e8f6342d5..e6821b3fa5 100644 --- a/sdk/python/pulumi_oci/core/get_listing_resource_version.py +++ b/sdk/python/pulumi_oci/core/get_listing_resource_version.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/core/get_listing_resource_versions.py b/sdk/python/pulumi_oci/core/get_listing_resource_versions.py index 8db8910a7c..7e5561d503 100644 --- a/sdk/python/pulumi_oci/core/get_listing_resource_versions.py +++ b/sdk/python/pulumi_oci/core/get_listing_resource_versions.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_local_peering_gateways.py b/sdk/python/pulumi_oci/core/get_local_peering_gateways.py index fb88b07f38..5fbf957133 100644 --- a/sdk/python/pulumi_oci/core/get_local_peering_gateways.py +++ b/sdk/python/pulumi_oci/core/get_local_peering_gateways.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_nat_gateway.py b/sdk/python/pulumi_oci/core/get_nat_gateway.py index 2664ae9eea..ad0f3bcb24 100644 --- a/sdk/python/pulumi_oci/core/get_nat_gateway.py +++ b/sdk/python/pulumi_oci/core/get_nat_gateway.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/core/get_nat_gateways.py b/sdk/python/pulumi_oci/core/get_nat_gateways.py index b4338c7d94..fb99efcf2d 100644 --- a/sdk/python/pulumi_oci/core/get_nat_gateways.py +++ b/sdk/python/pulumi_oci/core/get_nat_gateways.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_network_security_group.py b/sdk/python/pulumi_oci/core/get_network_security_group.py index 88e53da663..d07e27dc15 100644 --- a/sdk/python/pulumi_oci/core/get_network_security_group.py +++ b/sdk/python/pulumi_oci/core/get_network_security_group.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/core/get_network_security_group_security_rules.py b/sdk/python/pulumi_oci/core/get_network_security_group_security_rules.py index f21ad13c19..3b29183a42 100644 --- a/sdk/python/pulumi_oci/core/get_network_security_group_security_rules.py +++ b/sdk/python/pulumi_oci/core/get_network_security_group_security_rules.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_network_security_group_vnics.py b/sdk/python/pulumi_oci/core/get_network_security_group_vnics.py index 1c61cec6eb..d582d547aa 100644 --- a/sdk/python/pulumi_oci/core/get_network_security_group_vnics.py +++ b/sdk/python/pulumi_oci/core/get_network_security_group_vnics.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_network_security_groups.py b/sdk/python/pulumi_oci/core/get_network_security_groups.py index 52c33e76ab..e17afe8e69 100644 --- a/sdk/python/pulumi_oci/core/get_network_security_groups.py +++ b/sdk/python/pulumi_oci/core/get_network_security_groups.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_peer_region_for_remote_peerings.py b/sdk/python/pulumi_oci/core/get_peer_region_for_remote_peerings.py index 65f07fa2f1..f25c17c80f 100644 --- a/sdk/python/pulumi_oci/core/get_peer_region_for_remote_peerings.py +++ b/sdk/python/pulumi_oci/core/get_peer_region_for_remote_peerings.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_private_ip.py b/sdk/python/pulumi_oci/core/get_private_ip.py index 031c7fdf0a..c11a114e1c 100644 --- a/sdk/python/pulumi_oci/core/get_private_ip.py +++ b/sdk/python/pulumi_oci/core/get_private_ip.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/core/get_private_ips.py b/sdk/python/pulumi_oci/core/get_private_ips.py index 056eb309aa..844f4e5aa9 100644 --- a/sdk/python/pulumi_oci/core/get_private_ips.py +++ b/sdk/python/pulumi_oci/core/get_private_ips.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_public_ip.py b/sdk/python/pulumi_oci/core/get_public_ip.py index 817852b040..f0eb06ffc9 100644 --- a/sdk/python/pulumi_oci/core/get_public_ip.py +++ b/sdk/python/pulumi_oci/core/get_public_ip.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/core/get_public_ip_pool.py b/sdk/python/pulumi_oci/core/get_public_ip_pool.py index 3a1f53fd94..ce994da054 100644 --- a/sdk/python/pulumi_oci/core/get_public_ip_pool.py +++ b/sdk/python/pulumi_oci/core/get_public_ip_pool.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/core/get_public_ip_pools.py b/sdk/python/pulumi_oci/core/get_public_ip_pools.py index f6f52ec73f..08d5d0b333 100644 --- a/sdk/python/pulumi_oci/core/get_public_ip_pools.py +++ b/sdk/python/pulumi_oci/core/get_public_ip_pools.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_public_ips.py b/sdk/python/pulumi_oci/core/get_public_ips.py index 5cfcba46ee..ced7b86a16 100644 --- a/sdk/python/pulumi_oci/core/get_public_ips.py +++ b/sdk/python/pulumi_oci/core/get_public_ips.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_remote_peering_connections.py b/sdk/python/pulumi_oci/core/get_remote_peering_connections.py index 818db5f5f0..4975c1b394 100644 --- a/sdk/python/pulumi_oci/core/get_remote_peering_connections.py +++ b/sdk/python/pulumi_oci/core/get_remote_peering_connections.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_route_tables.py b/sdk/python/pulumi_oci/core/get_route_tables.py index 1e72b74ea9..d3e798afc6 100644 --- a/sdk/python/pulumi_oci/core/get_route_tables.py +++ b/sdk/python/pulumi_oci/core/get_route_tables.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_security_lists.py b/sdk/python/pulumi_oci/core/get_security_lists.py index 8a6b9e5823..176bb30c14 100644 --- a/sdk/python/pulumi_oci/core/get_security_lists.py +++ b/sdk/python/pulumi_oci/core/get_security_lists.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_service_gateways.py b/sdk/python/pulumi_oci/core/get_service_gateways.py index b46fb15b39..21453ae58c 100644 --- a/sdk/python/pulumi_oci/core/get_service_gateways.py +++ b/sdk/python/pulumi_oci/core/get_service_gateways.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_services.py b/sdk/python/pulumi_oci/core/get_services.py index 19745d1c05..65e5685ebb 100644 --- a/sdk/python/pulumi_oci/core/get_services.py +++ b/sdk/python/pulumi_oci/core/get_services.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_shape.py b/sdk/python/pulumi_oci/core/get_shape.py index 4176c755fd..8bed17b4d0 100644 --- a/sdk/python/pulumi_oci/core/get_shape.py +++ b/sdk/python/pulumi_oci/core/get_shape.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_shapes.py b/sdk/python/pulumi_oci/core/get_shapes.py index 29837117ce..eb17ed3d4b 100644 --- a/sdk/python/pulumi_oci/core/get_shapes.py +++ b/sdk/python/pulumi_oci/core/get_shapes.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_subnet.py b/sdk/python/pulumi_oci/core/get_subnet.py index a7ff41aedc..1a45d6b299 100644 --- a/sdk/python/pulumi_oci/core/get_subnet.py +++ b/sdk/python/pulumi_oci/core/get_subnet.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/core/get_subnets.py b/sdk/python/pulumi_oci/core/get_subnets.py index a52c0adffa..26dc495087 100644 --- a/sdk/python/pulumi_oci/core/get_subnets.py +++ b/sdk/python/pulumi_oci/core/get_subnets.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_tunnel_security_associations.py b/sdk/python/pulumi_oci/core/get_tunnel_security_associations.py index 7a38baa7e6..c218fc9499 100644 --- a/sdk/python/pulumi_oci/core/get_tunnel_security_associations.py +++ b/sdk/python/pulumi_oci/core/get_tunnel_security_associations.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_vcn.py b/sdk/python/pulumi_oci/core/get_vcn.py index 2e675da5cc..898188c38d 100644 --- a/sdk/python/pulumi_oci/core/get_vcn.py +++ b/sdk/python/pulumi_oci/core/get_vcn.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/core/get_vcns.py b/sdk/python/pulumi_oci/core/get_vcns.py index aa6e8ac59d..3a57ff3428 100644 --- a/sdk/python/pulumi_oci/core/get_vcns.py +++ b/sdk/python/pulumi_oci/core/get_vcns.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_virtual_circuit.py b/sdk/python/pulumi_oci/core/get_virtual_circuit.py index 81f04d98d8..43c08165a7 100644 --- a/sdk/python/pulumi_oci/core/get_virtual_circuit.py +++ b/sdk/python/pulumi_oci/core/get_virtual_circuit.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/core/get_virtual_circuit_associated_tunnels.py b/sdk/python/pulumi_oci/core/get_virtual_circuit_associated_tunnels.py index cf375b5d08..43d955c02d 100644 --- a/sdk/python/pulumi_oci/core/get_virtual_circuit_associated_tunnels.py +++ b/sdk/python/pulumi_oci/core/get_virtual_circuit_associated_tunnels.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_virtual_circuit_bandwidth_shapes.py b/sdk/python/pulumi_oci/core/get_virtual_circuit_bandwidth_shapes.py index 63f0fa3cf9..1a0227fa25 100644 --- a/sdk/python/pulumi_oci/core/get_virtual_circuit_bandwidth_shapes.py +++ b/sdk/python/pulumi_oci/core/get_virtual_circuit_bandwidth_shapes.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_virtual_circuit_public_prefixes.py b/sdk/python/pulumi_oci/core/get_virtual_circuit_public_prefixes.py index 0a6f33e3ed..680f362060 100644 --- a/sdk/python/pulumi_oci/core/get_virtual_circuit_public_prefixes.py +++ b/sdk/python/pulumi_oci/core/get_virtual_circuit_public_prefixes.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_virtual_circuits.py b/sdk/python/pulumi_oci/core/get_virtual_circuits.py index 411689b147..1f14ea8f0c 100644 --- a/sdk/python/pulumi_oci/core/get_virtual_circuits.py +++ b/sdk/python/pulumi_oci/core/get_virtual_circuits.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_virtual_networks.py b/sdk/python/pulumi_oci/core/get_virtual_networks.py index 3d37511d36..df0b0896fa 100644 --- a/sdk/python/pulumi_oci/core/get_virtual_networks.py +++ b/sdk/python/pulumi_oci/core/get_virtual_networks.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_vlan.py b/sdk/python/pulumi_oci/core/get_vlan.py index 72c45a7759..8e6f7b4f89 100644 --- a/sdk/python/pulumi_oci/core/get_vlan.py +++ b/sdk/python/pulumi_oci/core/get_vlan.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/core/get_vlans.py b/sdk/python/pulumi_oci/core/get_vlans.py index f74c86c168..254aaa5d5f 100644 --- a/sdk/python/pulumi_oci/core/get_vlans.py +++ b/sdk/python/pulumi_oci/core/get_vlans.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_vnic.py b/sdk/python/pulumi_oci/core/get_vnic.py index b82a42657f..6a327b78b0 100644 --- a/sdk/python/pulumi_oci/core/get_vnic.py +++ b/sdk/python/pulumi_oci/core/get_vnic.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/core/get_vnic_attachments.py b/sdk/python/pulumi_oci/core/get_vnic_attachments.py index e1dff09d3a..e0fe4c3450 100644 --- a/sdk/python/pulumi_oci/core/get_vnic_attachments.py +++ b/sdk/python/pulumi_oci/core/get_vnic_attachments.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_volume.py b/sdk/python/pulumi_oci/core/get_volume.py index cf6081f69d..b1d542a20d 100644 --- a/sdk/python/pulumi_oci/core/get_volume.py +++ b/sdk/python/pulumi_oci/core/get_volume.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/core/get_volume_attachments.py b/sdk/python/pulumi_oci/core/get_volume_attachments.py index 952a3ad9fd..25f4628d8c 100644 --- a/sdk/python/pulumi_oci/core/get_volume_attachments.py +++ b/sdk/python/pulumi_oci/core/get_volume_attachments.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_volume_backup_policies.py b/sdk/python/pulumi_oci/core/get_volume_backup_policies.py index 1c1f34cd63..41842a6e9d 100644 --- a/sdk/python/pulumi_oci/core/get_volume_backup_policies.py +++ b/sdk/python/pulumi_oci/core/get_volume_backup_policies.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_volume_backup_policy_assignments.py b/sdk/python/pulumi_oci/core/get_volume_backup_policy_assignments.py index 5285c2eab5..44df336bd6 100644 --- a/sdk/python/pulumi_oci/core/get_volume_backup_policy_assignments.py +++ b/sdk/python/pulumi_oci/core/get_volume_backup_policy_assignments.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_volume_backups.py b/sdk/python/pulumi_oci/core/get_volume_backups.py index 6e0b53be08..a67c2860b6 100644 --- a/sdk/python/pulumi_oci/core/get_volume_backups.py +++ b/sdk/python/pulumi_oci/core/get_volume_backups.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_volume_group_backups.py b/sdk/python/pulumi_oci/core/get_volume_group_backups.py index 991ef33500..d5c3d7c878 100644 --- a/sdk/python/pulumi_oci/core/get_volume_group_backups.py +++ b/sdk/python/pulumi_oci/core/get_volume_group_backups.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_volume_group_replica.py b/sdk/python/pulumi_oci/core/get_volume_group_replica.py index 40032c1414..eb9e39bd82 100644 --- a/sdk/python/pulumi_oci/core/get_volume_group_replica.py +++ b/sdk/python/pulumi_oci/core/get_volume_group_replica.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/core/get_volume_group_replicas.py b/sdk/python/pulumi_oci/core/get_volume_group_replicas.py index c18883e5a2..e5df356178 100644 --- a/sdk/python/pulumi_oci/core/get_volume_group_replicas.py +++ b/sdk/python/pulumi_oci/core/get_volume_group_replicas.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_volume_groups.py b/sdk/python/pulumi_oci/core/get_volume_groups.py index a1f08cf684..b5e00733b9 100644 --- a/sdk/python/pulumi_oci/core/get_volume_groups.py +++ b/sdk/python/pulumi_oci/core/get_volume_groups.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_volumes.py b/sdk/python/pulumi_oci/core/get_volumes.py index bf1ef7b36a..3a9ad7ae3f 100644 --- a/sdk/python/pulumi_oci/core/get_volumes.py +++ b/sdk/python/pulumi_oci/core/get_volumes.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/get_vtap.py b/sdk/python/pulumi_oci/core/get_vtap.py index 92721cf0ec..fa90f345f9 100644 --- a/sdk/python/pulumi_oci/core/get_vtap.py +++ b/sdk/python/pulumi_oci/core/get_vtap.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/core/get_vtaps.py b/sdk/python/pulumi_oci/core/get_vtaps.py index 2f9851d2ac..449a838be3 100644 --- a/sdk/python/pulumi_oci/core/get_vtaps.py +++ b/sdk/python/pulumi_oci/core/get_vtaps.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/core/image.py b/sdk/python/pulumi_oci/core/image.py index f618e6055f..64a3069191 100644 --- a/sdk/python/pulumi_oci/core/image.py +++ b/sdk/python/pulumi_oci/core/image.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -36,19 +36,40 @@ def __init__(__self__, *, :param pulumi.Input[str] instance_id: The OCID of the instance you want to use as the basis for the image. :param pulumi.Input[str] launch_mode: Specifies the configuration mode for launching virtual machine (VM) instances. The configuration modes are: """ - pulumi.set(__self__, "compartment_id", compartment_id) + ImageArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + image_source_details=image_source_details, + instance_id=instance_id, + launch_mode=launch_mode, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + image_source_details: Optional[pulumi.Input['ImageImageSourceDetailsArgs']] = None, + instance_id: Optional[pulumi.Input[str]] = None, + launch_mode: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if image_source_details is not None: - pulumi.set(__self__, "image_source_details", image_source_details) + _setter("image_source_details", image_source_details) if instance_id is not None: - pulumi.set(__self__, "instance_id", instance_id) + _setter("instance_id", instance_id) if launch_mode is not None: - pulumi.set(__self__, "launch_mode", launch_mode) + _setter("launch_mode", launch_mode) @property @pulumi.getter(name="compartmentId") @@ -181,42 +202,85 @@ def __init__(__self__, *, :param pulumi.Input[str] state: The current state of the image. :param pulumi.Input[str] time_created: The date and time the image was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` """ + _ImageState._configure( + lambda key, value: pulumi.set(__self__, key, value), + agent_features=agent_features, + base_image_id=base_image_id, + billable_size_in_gbs=billable_size_in_gbs, + compartment_id=compartment_id, + create_image_allowed=create_image_allowed, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + image_source_details=image_source_details, + instance_id=instance_id, + launch_mode=launch_mode, + launch_options=launch_options, + listing_type=listing_type, + operating_system=operating_system, + operating_system_version=operating_system_version, + size_in_mbs=size_in_mbs, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agent_features: Optional[pulumi.Input[Sequence[pulumi.Input['ImageAgentFeatureArgs']]]] = None, + base_image_id: Optional[pulumi.Input[str]] = None, + billable_size_in_gbs: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + create_image_allowed: Optional[pulumi.Input[bool]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + image_source_details: Optional[pulumi.Input['ImageImageSourceDetailsArgs']] = None, + instance_id: Optional[pulumi.Input[str]] = None, + launch_mode: Optional[pulumi.Input[str]] = None, + launch_options: Optional[pulumi.Input[Sequence[pulumi.Input['ImageLaunchOptionArgs']]]] = None, + listing_type: Optional[pulumi.Input[str]] = None, + operating_system: Optional[pulumi.Input[str]] = None, + operating_system_version: Optional[pulumi.Input[str]] = None, + size_in_mbs: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if agent_features is not None: - pulumi.set(__self__, "agent_features", agent_features) + _setter("agent_features", agent_features) if base_image_id is not None: - pulumi.set(__self__, "base_image_id", base_image_id) + _setter("base_image_id", base_image_id) if billable_size_in_gbs is not None: - pulumi.set(__self__, "billable_size_in_gbs", billable_size_in_gbs) + _setter("billable_size_in_gbs", billable_size_in_gbs) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if create_image_allowed is not None: - pulumi.set(__self__, "create_image_allowed", create_image_allowed) + _setter("create_image_allowed", create_image_allowed) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if image_source_details is not None: - pulumi.set(__self__, "image_source_details", image_source_details) + _setter("image_source_details", image_source_details) if instance_id is not None: - pulumi.set(__self__, "instance_id", instance_id) + _setter("instance_id", instance_id) if launch_mode is not None: - pulumi.set(__self__, "launch_mode", launch_mode) + _setter("launch_mode", launch_mode) if launch_options is not None: - pulumi.set(__self__, "launch_options", launch_options) + _setter("launch_options", launch_options) if listing_type is not None: - pulumi.set(__self__, "listing_type", listing_type) + _setter("listing_type", listing_type) if operating_system is not None: - pulumi.set(__self__, "operating_system", operating_system) + _setter("operating_system", operating_system) if operating_system_version is not None: - pulumi.set(__self__, "operating_system_version", operating_system_version) + _setter("operating_system_version", operating_system_version) if size_in_mbs is not None: - pulumi.set(__self__, "size_in_mbs", size_in_mbs) + _setter("size_in_mbs", size_in_mbs) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="agentFeatures") @@ -658,6 +722,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ImageArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -685,6 +753,11 @@ def _internal_init(__self__, __props__.__dict__["defined_tags"] = defined_tags __props__.__dict__["display_name"] = display_name __props__.__dict__["freeform_tags"] = freeform_tags + if image_source_details is not None and not isinstance(image_source_details, ImageImageSourceDetailsArgs): + image_source_details = image_source_details or {} + def _setter(key, value): + image_source_details[key] = value + ImageImageSourceDetailsArgs._configure(_setter, **image_source_details) __props__.__dict__["image_source_details"] = image_source_details __props__.__dict__["instance_id"] = instance_id __props__.__dict__["launch_mode"] = launch_mode diff --git a/sdk/python/pulumi_oci/core/instance.py b/sdk/python/pulumi_oci/core/instance.py index 5083bd52d2..41821d1c76 100644 --- a/sdk/python/pulumi_oci/core/instance.py +++ b/sdk/python/pulumi_oci/core/instance.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -59,7 +59,6 @@ def __init__(__self__, *, :param pulumi.Input[str] dedicated_vm_host_id: The OCID of the dedicated virtual machine host to place the instance on. :param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` :param pulumi.Input[str] display_name: (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. - :param pulumi.Input[Mapping[str, Any]] extended_metadata: Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the `metadata` object. :param pulumi.Input[str] fault_domain: (Updatable) A fault domain is a grouping of hardware and infrastructure within an availability domain. Each availability domain contains three fault domains. Fault domains let you distribute your instances so that they are not on the same physical hardware within a single availability domain. A hardware failure or Compute hardware maintenance that affects one fault domain does not affect instances in other fault domains. If you do not specify the fault domain, the system selects one for you. @@ -143,75 +142,144 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] subnet_id: Deprecated. Instead use `subnetId` in [CreateVnicDetails](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/CreateVnicDetails/). At least one of them is required; if you provide both, the values must match. """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "compartment_id", compartment_id) + InstanceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + compartment_id=compartment_id, + agent_config=agent_config, + async_=async_, + availability_config=availability_config, + capacity_reservation_id=capacity_reservation_id, + compute_cluster_id=compute_cluster_id, + create_vnic_details=create_vnic_details, + dedicated_vm_host_id=dedicated_vm_host_id, + defined_tags=defined_tags, + display_name=display_name, + extended_metadata=extended_metadata, + fault_domain=fault_domain, + freeform_tags=freeform_tags, + hostname_label=hostname_label, + image=image, + instance_configuration_id=instance_configuration_id, + instance_options=instance_options, + ipxe_script=ipxe_script, + is_pv_encryption_in_transit_enabled=is_pv_encryption_in_transit_enabled, + launch_options=launch_options, + metadata=metadata, + platform_config=platform_config, + preemptible_instance_config=preemptible_instance_config, + preserve_boot_volume=preserve_boot_volume, + shape=shape, + shape_config=shape_config, + source_details=source_details, + state=state, + subnet_id=subnet_id, + update_operation_constraint=update_operation_constraint, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: pulumi.Input[str], + compartment_id: pulumi.Input[str], + agent_config: Optional[pulumi.Input['InstanceAgentConfigArgs']] = None, + async_: Optional[pulumi.Input[bool]] = None, + availability_config: Optional[pulumi.Input['InstanceAvailabilityConfigArgs']] = None, + capacity_reservation_id: Optional[pulumi.Input[str]] = None, + compute_cluster_id: Optional[pulumi.Input[str]] = None, + create_vnic_details: Optional[pulumi.Input['InstanceCreateVnicDetailsArgs']] = None, + dedicated_vm_host_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + extended_metadata: Optional[pulumi.Input[Mapping[str, Any]]] = None, + fault_domain: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + hostname_label: Optional[pulumi.Input[str]] = None, + image: Optional[pulumi.Input[str]] = None, + instance_configuration_id: Optional[pulumi.Input[str]] = None, + instance_options: Optional[pulumi.Input['InstanceInstanceOptionsArgs']] = None, + ipxe_script: Optional[pulumi.Input[str]] = None, + is_pv_encryption_in_transit_enabled: Optional[pulumi.Input[bool]] = None, + launch_options: Optional[pulumi.Input['InstanceLaunchOptionsArgs']] = None, + metadata: Optional[pulumi.Input[Mapping[str, Any]]] = None, + platform_config: Optional[pulumi.Input['InstancePlatformConfigArgs']] = None, + preemptible_instance_config: Optional[pulumi.Input['InstancePreemptibleInstanceConfigArgs']] = None, + preserve_boot_volume: Optional[pulumi.Input[bool]] = None, + shape: Optional[pulumi.Input[str]] = None, + shape_config: Optional[pulumi.Input['InstanceShapeConfigArgs']] = None, + source_details: Optional[pulumi.Input['InstanceSourceDetailsArgs']] = None, + state: Optional[pulumi.Input[str]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + update_operation_constraint: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("compartment_id", compartment_id) if agent_config is not None: - pulumi.set(__self__, "agent_config", agent_config) + _setter("agent_config", agent_config) if async_ is not None: - pulumi.set(__self__, "async_", async_) + _setter("async_", async_) if availability_config is not None: - pulumi.set(__self__, "availability_config", availability_config) + _setter("availability_config", availability_config) if capacity_reservation_id is not None: - pulumi.set(__self__, "capacity_reservation_id", capacity_reservation_id) + _setter("capacity_reservation_id", capacity_reservation_id) if compute_cluster_id is not None: - pulumi.set(__self__, "compute_cluster_id", compute_cluster_id) + _setter("compute_cluster_id", compute_cluster_id) if create_vnic_details is not None: - pulumi.set(__self__, "create_vnic_details", create_vnic_details) + _setter("create_vnic_details", create_vnic_details) if dedicated_vm_host_id is not None: - pulumi.set(__self__, "dedicated_vm_host_id", dedicated_vm_host_id) + _setter("dedicated_vm_host_id", dedicated_vm_host_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if extended_metadata is not None: - pulumi.set(__self__, "extended_metadata", extended_metadata) + _setter("extended_metadata", extended_metadata) if fault_domain is not None: - pulumi.set(__self__, "fault_domain", fault_domain) + _setter("fault_domain", fault_domain) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if hostname_label is not None: warnings.warn("""The 'hostname_label' field has been deprecated. Please use 'hostname_label under create_vnic_details' instead.""", DeprecationWarning) pulumi.log.warn("""hostname_label is deprecated: The 'hostname_label' field has been deprecated. Please use 'hostname_label under create_vnic_details' instead.""") if hostname_label is not None: - pulumi.set(__self__, "hostname_label", hostname_label) + _setter("hostname_label", hostname_label) if image is not None: warnings.warn("""The 'image' field has been deprecated. Please use 'source_details' instead. If both fields are specified, then 'source_details' will be used.""", DeprecationWarning) pulumi.log.warn("""image is deprecated: The 'image' field has been deprecated. Please use 'source_details' instead. If both fields are specified, then 'source_details' will be used.""") if image is not None: - pulumi.set(__self__, "image", image) + _setter("image", image) if instance_configuration_id is not None: - pulumi.set(__self__, "instance_configuration_id", instance_configuration_id) + _setter("instance_configuration_id", instance_configuration_id) if instance_options is not None: - pulumi.set(__self__, "instance_options", instance_options) + _setter("instance_options", instance_options) if ipxe_script is not None: - pulumi.set(__self__, "ipxe_script", ipxe_script) + _setter("ipxe_script", ipxe_script) if is_pv_encryption_in_transit_enabled is not None: - pulumi.set(__self__, "is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) + _setter("is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) if launch_options is not None: - pulumi.set(__self__, "launch_options", launch_options) + _setter("launch_options", launch_options) if metadata is not None: - pulumi.set(__self__, "metadata", metadata) + _setter("metadata", metadata) if platform_config is not None: - pulumi.set(__self__, "platform_config", platform_config) + _setter("platform_config", platform_config) if preemptible_instance_config is not None: - pulumi.set(__self__, "preemptible_instance_config", preemptible_instance_config) + _setter("preemptible_instance_config", preemptible_instance_config) if preserve_boot_volume is not None: - pulumi.set(__self__, "preserve_boot_volume", preserve_boot_volume) + _setter("preserve_boot_volume", preserve_boot_volume) if shape is not None: - pulumi.set(__self__, "shape", shape) + _setter("shape", shape) if shape_config is not None: - pulumi.set(__self__, "shape_config", shape_config) + _setter("shape_config", shape_config) if source_details is not None: - pulumi.set(__self__, "source_details", source_details) + _setter("source_details", source_details) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if subnet_id is not None: warnings.warn("""The 'subnet_id' field has been deprecated. Please use 'subnet_id under create_vnic_details' instead.""", DeprecationWarning) pulumi.log.warn("""subnet_id is deprecated: The 'subnet_id' field has been deprecated. Please use 'subnet_id under create_vnic_details' instead.""") if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) if update_operation_constraint is not None: - pulumi.set(__self__, "update_operation_constraint", update_operation_constraint) + _setter("update_operation_constraint", update_operation_constraint) @property @pulumi.getter(name="availabilityDomain") @@ -345,9 +413,6 @@ def display_name(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="extendedMetadata") def extended_metadata(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: - """ - Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the `metadata` object. - """ return pulumi.get(self, "extended_metadata") @extended_metadata.setter @@ -709,7 +774,6 @@ def __init__(__self__, *, :param pulumi.Input[str] dedicated_vm_host_id: The OCID of the dedicated virtual machine host to place the instance on. :param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` :param pulumi.Input[str] display_name: (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. - :param pulumi.Input[Mapping[str, Any]] extended_metadata: Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the `metadata` object. :param pulumi.Input[str] fault_domain: (Updatable) A fault domain is a grouping of hardware and infrastructure within an availability domain. Each availability domain contains three fault domains. Fault domains let you distribute your instances so that they are not on the same physical hardware within a single availability domain. A hardware failure or Compute hardware maintenance that affects one fault domain does not affect instances in other fault domains. If you do not specify the fault domain, the system selects one for you. @@ -805,95 +869,182 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the instance was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` :param pulumi.Input[str] time_maintenance_reboot_due: The date and time the instance is expected to be stopped / started, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). After that time if instance hasn't been rebooted, Oracle will reboot the instance within 24 hours of the due time. Regardless of how the instance was stopped, the flag will be reset to empty as soon as instance reaches Stopped state. Example: `2018-05-25T21:10:29.600Z` """ + _InstanceState._configure( + lambda key, value: pulumi.set(__self__, key, value), + agent_config=agent_config, + async_=async_, + availability_config=availability_config, + availability_domain=availability_domain, + boot_volume_id=boot_volume_id, + capacity_reservation_id=capacity_reservation_id, + compartment_id=compartment_id, + compute_cluster_id=compute_cluster_id, + create_vnic_details=create_vnic_details, + dedicated_vm_host_id=dedicated_vm_host_id, + defined_tags=defined_tags, + display_name=display_name, + extended_metadata=extended_metadata, + fault_domain=fault_domain, + freeform_tags=freeform_tags, + hostname_label=hostname_label, + image=image, + instance_configuration_id=instance_configuration_id, + instance_options=instance_options, + ipxe_script=ipxe_script, + is_cross_numa_node=is_cross_numa_node, + is_pv_encryption_in_transit_enabled=is_pv_encryption_in_transit_enabled, + launch_mode=launch_mode, + launch_options=launch_options, + metadata=metadata, + platform_config=platform_config, + preemptible_instance_config=preemptible_instance_config, + preserve_boot_volume=preserve_boot_volume, + private_ip=private_ip, + public_ip=public_ip, + region=region, + shape=shape, + shape_config=shape_config, + source_details=source_details, + state=state, + subnet_id=subnet_id, + system_tags=system_tags, + time_created=time_created, + time_maintenance_reboot_due=time_maintenance_reboot_due, + update_operation_constraint=update_operation_constraint, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agent_config: Optional[pulumi.Input['InstanceAgentConfigArgs']] = None, + async_: Optional[pulumi.Input[bool]] = None, + availability_config: Optional[pulumi.Input['InstanceAvailabilityConfigArgs']] = None, + availability_domain: Optional[pulumi.Input[str]] = None, + boot_volume_id: Optional[pulumi.Input[str]] = None, + capacity_reservation_id: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + compute_cluster_id: Optional[pulumi.Input[str]] = None, + create_vnic_details: Optional[pulumi.Input['InstanceCreateVnicDetailsArgs']] = None, + dedicated_vm_host_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + extended_metadata: Optional[pulumi.Input[Mapping[str, Any]]] = None, + fault_domain: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + hostname_label: Optional[pulumi.Input[str]] = None, + image: Optional[pulumi.Input[str]] = None, + instance_configuration_id: Optional[pulumi.Input[str]] = None, + instance_options: Optional[pulumi.Input['InstanceInstanceOptionsArgs']] = None, + ipxe_script: Optional[pulumi.Input[str]] = None, + is_cross_numa_node: Optional[pulumi.Input[bool]] = None, + is_pv_encryption_in_transit_enabled: Optional[pulumi.Input[bool]] = None, + launch_mode: Optional[pulumi.Input[str]] = None, + launch_options: Optional[pulumi.Input['InstanceLaunchOptionsArgs']] = None, + metadata: Optional[pulumi.Input[Mapping[str, Any]]] = None, + platform_config: Optional[pulumi.Input['InstancePlatformConfigArgs']] = None, + preemptible_instance_config: Optional[pulumi.Input['InstancePreemptibleInstanceConfigArgs']] = None, + preserve_boot_volume: Optional[pulumi.Input[bool]] = None, + private_ip: Optional[pulumi.Input[str]] = None, + public_ip: Optional[pulumi.Input[str]] = None, + region: Optional[pulumi.Input[str]] = None, + shape: Optional[pulumi.Input[str]] = None, + shape_config: Optional[pulumi.Input['InstanceShapeConfigArgs']] = None, + source_details: Optional[pulumi.Input['InstanceSourceDetailsArgs']] = None, + state: Optional[pulumi.Input[str]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_maintenance_reboot_due: Optional[pulumi.Input[str]] = None, + update_operation_constraint: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if agent_config is not None: - pulumi.set(__self__, "agent_config", agent_config) + _setter("agent_config", agent_config) if async_ is not None: - pulumi.set(__self__, "async_", async_) + _setter("async_", async_) if availability_config is not None: - pulumi.set(__self__, "availability_config", availability_config) + _setter("availability_config", availability_config) if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if boot_volume_id is not None: - pulumi.set(__self__, "boot_volume_id", boot_volume_id) + _setter("boot_volume_id", boot_volume_id) if capacity_reservation_id is not None: - pulumi.set(__self__, "capacity_reservation_id", capacity_reservation_id) + _setter("capacity_reservation_id", capacity_reservation_id) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if compute_cluster_id is not None: - pulumi.set(__self__, "compute_cluster_id", compute_cluster_id) + _setter("compute_cluster_id", compute_cluster_id) if create_vnic_details is not None: - pulumi.set(__self__, "create_vnic_details", create_vnic_details) + _setter("create_vnic_details", create_vnic_details) if dedicated_vm_host_id is not None: - pulumi.set(__self__, "dedicated_vm_host_id", dedicated_vm_host_id) + _setter("dedicated_vm_host_id", dedicated_vm_host_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if extended_metadata is not None: - pulumi.set(__self__, "extended_metadata", extended_metadata) + _setter("extended_metadata", extended_metadata) if fault_domain is not None: - pulumi.set(__self__, "fault_domain", fault_domain) + _setter("fault_domain", fault_domain) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if hostname_label is not None: warnings.warn("""The 'hostname_label' field has been deprecated. Please use 'hostname_label under create_vnic_details' instead.""", DeprecationWarning) pulumi.log.warn("""hostname_label is deprecated: The 'hostname_label' field has been deprecated. Please use 'hostname_label under create_vnic_details' instead.""") if hostname_label is not None: - pulumi.set(__self__, "hostname_label", hostname_label) + _setter("hostname_label", hostname_label) if image is not None: warnings.warn("""The 'image' field has been deprecated. Please use 'source_details' instead. If both fields are specified, then 'source_details' will be used.""", DeprecationWarning) pulumi.log.warn("""image is deprecated: The 'image' field has been deprecated. Please use 'source_details' instead. If both fields are specified, then 'source_details' will be used.""") if image is not None: - pulumi.set(__self__, "image", image) + _setter("image", image) if instance_configuration_id is not None: - pulumi.set(__self__, "instance_configuration_id", instance_configuration_id) + _setter("instance_configuration_id", instance_configuration_id) if instance_options is not None: - pulumi.set(__self__, "instance_options", instance_options) + _setter("instance_options", instance_options) if ipxe_script is not None: - pulumi.set(__self__, "ipxe_script", ipxe_script) + _setter("ipxe_script", ipxe_script) if is_cross_numa_node is not None: - pulumi.set(__self__, "is_cross_numa_node", is_cross_numa_node) + _setter("is_cross_numa_node", is_cross_numa_node) if is_pv_encryption_in_transit_enabled is not None: - pulumi.set(__self__, "is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) + _setter("is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) if launch_mode is not None: - pulumi.set(__self__, "launch_mode", launch_mode) + _setter("launch_mode", launch_mode) if launch_options is not None: - pulumi.set(__self__, "launch_options", launch_options) + _setter("launch_options", launch_options) if metadata is not None: - pulumi.set(__self__, "metadata", metadata) + _setter("metadata", metadata) if platform_config is not None: - pulumi.set(__self__, "platform_config", platform_config) + _setter("platform_config", platform_config) if preemptible_instance_config is not None: - pulumi.set(__self__, "preemptible_instance_config", preemptible_instance_config) + _setter("preemptible_instance_config", preemptible_instance_config) if preserve_boot_volume is not None: - pulumi.set(__self__, "preserve_boot_volume", preserve_boot_volume) + _setter("preserve_boot_volume", preserve_boot_volume) if private_ip is not None: - pulumi.set(__self__, "private_ip", private_ip) + _setter("private_ip", private_ip) if public_ip is not None: - pulumi.set(__self__, "public_ip", public_ip) + _setter("public_ip", public_ip) if region is not None: - pulumi.set(__self__, "region", region) + _setter("region", region) if shape is not None: - pulumi.set(__self__, "shape", shape) + _setter("shape", shape) if shape_config is not None: - pulumi.set(__self__, "shape_config", shape_config) + _setter("shape_config", shape_config) if source_details is not None: - pulumi.set(__self__, "source_details", source_details) + _setter("source_details", source_details) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if subnet_id is not None: warnings.warn("""The 'subnet_id' field has been deprecated. Please use 'subnet_id under create_vnic_details' instead.""", DeprecationWarning) pulumi.log.warn("""subnet_id is deprecated: The 'subnet_id' field has been deprecated. Please use 'subnet_id under create_vnic_details' instead.""") if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_maintenance_reboot_due is not None: - pulumi.set(__self__, "time_maintenance_reboot_due", time_maintenance_reboot_due) + _setter("time_maintenance_reboot_due", time_maintenance_reboot_due) if update_operation_constraint is not None: - pulumi.set(__self__, "update_operation_constraint", update_operation_constraint) + _setter("update_operation_constraint", update_operation_constraint) @property @pulumi.getter(name="agentConfig") @@ -1039,9 +1190,6 @@ def display_name(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="extendedMetadata") def extended_metadata(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: - """ - Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the `metadata` object. - """ return pulumi.get(self, "extended_metadata") @extended_metadata.setter @@ -1551,7 +1699,6 @@ def __init__(__self__, :param pulumi.Input[str] dedicated_vm_host_id: The OCID of the dedicated virtual machine host to place the instance on. :param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` :param pulumi.Input[str] display_name: (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. - :param pulumi.Input[Mapping[str, Any]] extended_metadata: Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the `metadata` object. :param pulumi.Input[str] fault_domain: (Updatable) A fault domain is a grouping of hardware and infrastructure within an availability domain. Each availability domain contains three fault domains. Fault domains let you distribute your instances so that they are not on the same physical hardware within a single availability domain. A hardware failure or Compute hardware maintenance that affects one fault domain does not affect instances in other fault domains. If you do not specify the fault domain, the system selects one for you. @@ -1706,6 +1853,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + InstanceArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -1751,8 +1902,18 @@ def _internal_init(__self__, raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = InstanceArgs.__new__(InstanceArgs) + if agent_config is not None and not isinstance(agent_config, InstanceAgentConfigArgs): + agent_config = agent_config or {} + def _setter(key, value): + agent_config[key] = value + InstanceAgentConfigArgs._configure(_setter, **agent_config) __props__.__dict__["agent_config"] = agent_config __props__.__dict__["async_"] = async_ + if availability_config is not None and not isinstance(availability_config, InstanceAvailabilityConfigArgs): + availability_config = availability_config or {} + def _setter(key, value): + availability_config[key] = value + InstanceAvailabilityConfigArgs._configure(_setter, **availability_config) __props__.__dict__["availability_config"] = availability_config if availability_domain is None and not opts.urn: raise TypeError("Missing required property 'availability_domain'") @@ -1762,6 +1923,11 @@ def _internal_init(__self__, raise TypeError("Missing required property 'compartment_id'") __props__.__dict__["compartment_id"] = compartment_id __props__.__dict__["compute_cluster_id"] = compute_cluster_id + if create_vnic_details is not None and not isinstance(create_vnic_details, InstanceCreateVnicDetailsArgs): + create_vnic_details = create_vnic_details or {} + def _setter(key, value): + create_vnic_details[key] = value + InstanceCreateVnicDetailsArgs._configure(_setter, **create_vnic_details) __props__.__dict__["create_vnic_details"] = create_vnic_details __props__.__dict__["dedicated_vm_host_id"] = dedicated_vm_host_id __props__.__dict__["defined_tags"] = defined_tags @@ -1769,30 +1935,51 @@ def _internal_init(__self__, __props__.__dict__["extended_metadata"] = extended_metadata __props__.__dict__["fault_domain"] = fault_domain __props__.__dict__["freeform_tags"] = freeform_tags - if hostname_label is not None and not opts.urn: - warnings.warn("""The 'hostname_label' field has been deprecated. Please use 'hostname_label under create_vnic_details' instead.""", DeprecationWarning) - pulumi.log.warn("""hostname_label is deprecated: The 'hostname_label' field has been deprecated. Please use 'hostname_label under create_vnic_details' instead.""") __props__.__dict__["hostname_label"] = hostname_label - if image is not None and not opts.urn: - warnings.warn("""The 'image' field has been deprecated. Please use 'source_details' instead. If both fields are specified, then 'source_details' will be used.""", DeprecationWarning) - pulumi.log.warn("""image is deprecated: The 'image' field has been deprecated. Please use 'source_details' instead. If both fields are specified, then 'source_details' will be used.""") __props__.__dict__["image"] = image __props__.__dict__["instance_configuration_id"] = instance_configuration_id + if instance_options is not None and not isinstance(instance_options, InstanceInstanceOptionsArgs): + instance_options = instance_options or {} + def _setter(key, value): + instance_options[key] = value + InstanceInstanceOptionsArgs._configure(_setter, **instance_options) __props__.__dict__["instance_options"] = instance_options __props__.__dict__["ipxe_script"] = ipxe_script __props__.__dict__["is_pv_encryption_in_transit_enabled"] = is_pv_encryption_in_transit_enabled + if launch_options is not None and not isinstance(launch_options, InstanceLaunchOptionsArgs): + launch_options = launch_options or {} + def _setter(key, value): + launch_options[key] = value + InstanceLaunchOptionsArgs._configure(_setter, **launch_options) __props__.__dict__["launch_options"] = launch_options __props__.__dict__["metadata"] = metadata + if platform_config is not None and not isinstance(platform_config, InstancePlatformConfigArgs): + platform_config = platform_config or {} + def _setter(key, value): + platform_config[key] = value + InstancePlatformConfigArgs._configure(_setter, **platform_config) __props__.__dict__["platform_config"] = platform_config + if preemptible_instance_config is not None and not isinstance(preemptible_instance_config, InstancePreemptibleInstanceConfigArgs): + preemptible_instance_config = preemptible_instance_config or {} + def _setter(key, value): + preemptible_instance_config[key] = value + InstancePreemptibleInstanceConfigArgs._configure(_setter, **preemptible_instance_config) __props__.__dict__["preemptible_instance_config"] = preemptible_instance_config __props__.__dict__["preserve_boot_volume"] = preserve_boot_volume __props__.__dict__["shape"] = shape + if shape_config is not None and not isinstance(shape_config, InstanceShapeConfigArgs): + shape_config = shape_config or {} + def _setter(key, value): + shape_config[key] = value + InstanceShapeConfigArgs._configure(_setter, **shape_config) __props__.__dict__["shape_config"] = shape_config + if source_details is not None and not isinstance(source_details, InstanceSourceDetailsArgs): + source_details = source_details or {} + def _setter(key, value): + source_details[key] = value + InstanceSourceDetailsArgs._configure(_setter, **source_details) __props__.__dict__["source_details"] = source_details __props__.__dict__["state"] = state - if subnet_id is not None and not opts.urn: - warnings.warn("""The 'subnet_id' field has been deprecated. Please use 'subnet_id under create_vnic_details' instead.""", DeprecationWarning) - pulumi.log.warn("""subnet_id is deprecated: The 'subnet_id' field has been deprecated. Please use 'subnet_id under create_vnic_details' instead.""") __props__.__dict__["subnet_id"] = subnet_id __props__.__dict__["update_operation_constraint"] = update_operation_constraint __props__.__dict__["boot_volume_id"] = None @@ -1872,7 +2059,6 @@ def get(resource_name: str, :param pulumi.Input[str] dedicated_vm_host_id: The OCID of the dedicated virtual machine host to place the instance on. :param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` :param pulumi.Input[str] display_name: (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. - :param pulumi.Input[Mapping[str, Any]] extended_metadata: Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the `metadata` object. :param pulumi.Input[str] fault_domain: (Updatable) A fault domain is a grouping of hardware and infrastructure within an availability domain. Each availability domain contains three fault domains. Fault domains let you distribute your instances so that they are not on the same physical hardware within a single availability domain. A hardware failure or Compute hardware maintenance that affects one fault domain does not affect instances in other fault domains. If you do not specify the fault domain, the system selects one for you. @@ -2110,9 +2296,6 @@ def display_name(self) -> pulumi.Output[str]: @property @pulumi.getter(name="extendedMetadata") def extended_metadata(self) -> pulumi.Output[Mapping[str, Any]]: - """ - Additional metadata key/value pairs that you provide. They serve the same purpose and functionality as fields in the `metadata` object. - """ return pulumi.get(self, "extended_metadata") @property diff --git a/sdk/python/pulumi_oci/core/instance_configuration.py b/sdk/python/pulumi_oci/core/instance_configuration.py index a434ced030..4adb81d424 100644 --- a/sdk/python/pulumi_oci/core/instance_configuration.py +++ b/sdk/python/pulumi_oci/core/instance_configuration.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -40,19 +40,40 @@ def __init__(__self__, *, The following values are supported: """ - pulumi.set(__self__, "compartment_id", compartment_id) + InstanceConfigurationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + instance_details=instance_details, + instance_id=instance_id, + source=source, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + instance_details: Optional[pulumi.Input['InstanceConfigurationInstanceDetailsArgs']] = None, + instance_id: Optional[pulumi.Input[str]] = None, + source: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if instance_details is not None: - pulumi.set(__self__, "instance_details", instance_details) + _setter("instance_details", instance_details) if instance_id is not None: - pulumi.set(__self__, "instance_id", instance_id) + _setter("instance_id", instance_id) if source is not None: - pulumi.set(__self__, "source", source) + _setter("source", source) @property @pulumi.getter(name="compartmentId") @@ -175,24 +196,49 @@ def __init__(__self__, *, The following values are supported: :param pulumi.Input[str] time_created: The date and time the instance configuration was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` """ + _InstanceConfigurationState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + deferred_fields=deferred_fields, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + instance_details=instance_details, + instance_id=instance_id, + source=source, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + deferred_fields: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + instance_details: Optional[pulumi.Input['InstanceConfigurationInstanceDetailsArgs']] = None, + instance_id: Optional[pulumi.Input[str]] = None, + source: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if deferred_fields is not None: - pulumi.set(__self__, "deferred_fields", deferred_fields) + _setter("deferred_fields", deferred_fields) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if instance_details is not None: - pulumi.set(__self__, "instance_details", instance_details) + _setter("instance_details", instance_details) if instance_id is not None: - pulumi.set(__self__, "instance_id", instance_id) + _setter("instance_id", instance_id) if source is not None: - pulumi.set(__self__, "source", source) + _setter("source", source) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -1092,6 +1138,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + InstanceConfigurationArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -1119,6 +1169,11 @@ def _internal_init(__self__, __props__.__dict__["defined_tags"] = defined_tags __props__.__dict__["display_name"] = display_name __props__.__dict__["freeform_tags"] = freeform_tags + if instance_details is not None and not isinstance(instance_details, InstanceConfigurationInstanceDetailsArgs): + instance_details = instance_details or {} + def _setter(key, value): + instance_details[key] = value + InstanceConfigurationInstanceDetailsArgs._configure(_setter, **instance_details) __props__.__dict__["instance_details"] = instance_details __props__.__dict__["instance_id"] = instance_id __props__.__dict__["source"] = source diff --git a/sdk/python/pulumi_oci/core/instance_console_connection.py b/sdk/python/pulumi_oci/core/instance_console_connection.py index 6098d7c82d..a9e949cf28 100644 --- a/sdk/python/pulumi_oci/core/instance_console_connection.py +++ b/sdk/python/pulumi_oci/core/instance_console_connection.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['InstanceConsoleConnectionArgs', 'InstanceConsoleConnection'] @@ -29,12 +29,27 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` :param pulumi.Input[Mapping[str, Any]] freeform_tags: (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` """ - pulumi.set(__self__, "instance_id", instance_id) - pulumi.set(__self__, "public_key", public_key) + InstanceConsoleConnectionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + instance_id=instance_id, + public_key=public_key, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + instance_id: pulumi.Input[str], + public_key: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("instance_id", instance_id) + _setter("public_key", public_key) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="instanceId") @@ -119,26 +134,53 @@ def __init__(__self__, *, :param pulumi.Input[str] state: The current state of the console connection. :param pulumi.Input[str] vnc_connection_string: The SSH connection string for the SSH tunnel used to connect to the console connection over VNC. """ + _InstanceConsoleConnectionState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + connection_string=connection_string, + defined_tags=defined_tags, + fingerprint=fingerprint, + freeform_tags=freeform_tags, + instance_id=instance_id, + public_key=public_key, + service_host_key_fingerprint=service_host_key_fingerprint, + state=state, + vnc_connection_string=vnc_connection_string, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + connection_string: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + fingerprint: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + instance_id: Optional[pulumi.Input[str]] = None, + public_key: Optional[pulumi.Input[str]] = None, + service_host_key_fingerprint: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + vnc_connection_string: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if connection_string is not None: - pulumi.set(__self__, "connection_string", connection_string) + _setter("connection_string", connection_string) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if fingerprint is not None: - pulumi.set(__self__, "fingerprint", fingerprint) + _setter("fingerprint", fingerprint) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if instance_id is not None: - pulumi.set(__self__, "instance_id", instance_id) + _setter("instance_id", instance_id) if public_key is not None: - pulumi.set(__self__, "public_key", public_key) + _setter("public_key", public_key) if service_host_key_fingerprint is not None: - pulumi.set(__self__, "service_host_key_fingerprint", service_host_key_fingerprint) + _setter("service_host_key_fingerprint", service_host_key_fingerprint) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if vnc_connection_string is not None: - pulumi.set(__self__, "vnc_connection_string", vnc_connection_string) + _setter("vnc_connection_string", vnc_connection_string) @property @pulumi.getter(name="compartmentId") @@ -370,6 +412,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + InstanceConsoleConnectionArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/core/instance_pool.py b/sdk/python/pulumi_oci/core/instance_pool.py index da153e5356..dbad6ad9d3 100644 --- a/sdk/python/pulumi_oci/core/instance_pool.py +++ b/sdk/python/pulumi_oci/core/instance_pool.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -47,24 +47,53 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "instance_configuration_id", instance_configuration_id) - pulumi.set(__self__, "placement_configurations", placement_configurations) - pulumi.set(__self__, "size", size) + InstancePoolArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + instance_configuration_id=instance_configuration_id, + placement_configurations=placement_configurations, + size=size, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + instance_display_name_formatter=instance_display_name_formatter, + instance_hostname_formatter=instance_hostname_formatter, + load_balancers=load_balancers, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + instance_configuration_id: pulumi.Input[str], + placement_configurations: pulumi.Input[Sequence[pulumi.Input['InstancePoolPlacementConfigurationArgs']]], + size: pulumi.Input[int], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + instance_display_name_formatter: Optional[pulumi.Input[str]] = None, + instance_hostname_formatter: Optional[pulumi.Input[str]] = None, + load_balancers: Optional[pulumi.Input[Sequence[pulumi.Input['InstancePoolLoadBalancerArgs']]]] = None, + state: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("instance_configuration_id", instance_configuration_id) + _setter("placement_configurations", placement_configurations) + _setter("size", size) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if instance_display_name_formatter is not None: - pulumi.set(__self__, "instance_display_name_formatter", instance_display_name_formatter) + _setter("instance_display_name_formatter", instance_display_name_formatter) if instance_hostname_formatter is not None: - pulumi.set(__self__, "instance_hostname_formatter", instance_hostname_formatter) + _setter("instance_hostname_formatter", instance_hostname_formatter) if load_balancers is not None: - pulumi.set(__self__, "load_balancers", load_balancers) + _setter("load_balancers", load_balancers) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) @property @pulumi.getter(name="compartmentId") @@ -243,32 +272,65 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] time_created: The date and time the instance pool was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` """ + _InstancePoolState._configure( + lambda key, value: pulumi.set(__self__, key, value), + actual_size=actual_size, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + instance_configuration_id=instance_configuration_id, + instance_display_name_formatter=instance_display_name_formatter, + instance_hostname_formatter=instance_hostname_formatter, + load_balancers=load_balancers, + placement_configurations=placement_configurations, + size=size, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + actual_size: Optional[pulumi.Input[int]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + instance_configuration_id: Optional[pulumi.Input[str]] = None, + instance_display_name_formatter: Optional[pulumi.Input[str]] = None, + instance_hostname_formatter: Optional[pulumi.Input[str]] = None, + load_balancers: Optional[pulumi.Input[Sequence[pulumi.Input['InstancePoolLoadBalancerArgs']]]] = None, + placement_configurations: Optional[pulumi.Input[Sequence[pulumi.Input['InstancePoolPlacementConfigurationArgs']]]] = None, + size: Optional[pulumi.Input[int]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if actual_size is not None: - pulumi.set(__self__, "actual_size", actual_size) + _setter("actual_size", actual_size) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if instance_configuration_id is not None: - pulumi.set(__self__, "instance_configuration_id", instance_configuration_id) + _setter("instance_configuration_id", instance_configuration_id) if instance_display_name_formatter is not None: - pulumi.set(__self__, "instance_display_name_formatter", instance_display_name_formatter) + _setter("instance_display_name_formatter", instance_display_name_formatter) if instance_hostname_formatter is not None: - pulumi.set(__self__, "instance_hostname_formatter", instance_hostname_formatter) + _setter("instance_hostname_formatter", instance_hostname_formatter) if load_balancers is not None: - pulumi.set(__self__, "load_balancers", load_balancers) + _setter("load_balancers", load_balancers) if placement_configurations is not None: - pulumi.set(__self__, "placement_configurations", placement_configurations) + _setter("placement_configurations", placement_configurations) if size is not None: - pulumi.set(__self__, "size", size) + _setter("size", size) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="actualSize") @@ -614,6 +676,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + InstancePoolArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/core/instance_pool_instance.py b/sdk/python/pulumi_oci/core/instance_pool_instance.py index 52a17bd86a..bf4b6eff9b 100644 --- a/sdk/python/pulumi_oci/core/instance_pool_instance.py +++ b/sdk/python/pulumi_oci/core/instance_pool_instance.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -29,12 +29,27 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "instance_id", instance_id) - pulumi.set(__self__, "instance_pool_id", instance_pool_id) + InstancePoolInstanceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + instance_id=instance_id, + instance_pool_id=instance_pool_id, + auto_terminate_instance_on_delete=auto_terminate_instance_on_delete, + decrement_size_on_delete=decrement_size_on_delete, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + instance_id: pulumi.Input[str], + instance_pool_id: pulumi.Input[str], + auto_terminate_instance_on_delete: Optional[pulumi.Input[bool]] = None, + decrement_size_on_delete: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("instance_id", instance_id) + _setter("instance_pool_id", instance_pool_id) if auto_terminate_instance_on_delete is not None: - pulumi.set(__self__, "auto_terminate_instance_on_delete", auto_terminate_instance_on_delete) + _setter("auto_terminate_instance_on_delete", auto_terminate_instance_on_delete) if decrement_size_on_delete is not None: - pulumi.set(__self__, "decrement_size_on_delete", decrement_size_on_delete) + _setter("decrement_size_on_delete", decrement_size_on_delete) @property @pulumi.getter(name="instanceId") @@ -119,34 +134,69 @@ def __init__(__self__, *, :param pulumi.Input[str] state: The lifecycle state of the instance. Refer to `lifecycleState` in the [Instance](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/Instance) resource. :param pulumi.Input[str] time_created: The date and time the instance pool instance was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` """ + _InstancePoolInstanceState._configure( + lambda key, value: pulumi.set(__self__, key, value), + auto_terminate_instance_on_delete=auto_terminate_instance_on_delete, + availability_domain=availability_domain, + compartment_id=compartment_id, + decrement_size_on_delete=decrement_size_on_delete, + display_name=display_name, + fault_domain=fault_domain, + instance_configuration_id=instance_configuration_id, + instance_id=instance_id, + instance_pool_id=instance_pool_id, + load_balancer_backends=load_balancer_backends, + region=region, + shape=shape, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + auto_terminate_instance_on_delete: Optional[pulumi.Input[bool]] = None, + availability_domain: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + decrement_size_on_delete: Optional[pulumi.Input[bool]] = None, + display_name: Optional[pulumi.Input[str]] = None, + fault_domain: Optional[pulumi.Input[str]] = None, + instance_configuration_id: Optional[pulumi.Input[str]] = None, + instance_id: Optional[pulumi.Input[str]] = None, + instance_pool_id: Optional[pulumi.Input[str]] = None, + load_balancer_backends: Optional[pulumi.Input[Sequence[pulumi.Input['InstancePoolInstanceLoadBalancerBackendArgs']]]] = None, + region: Optional[pulumi.Input[str]] = None, + shape: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if auto_terminate_instance_on_delete is not None: - pulumi.set(__self__, "auto_terminate_instance_on_delete", auto_terminate_instance_on_delete) + _setter("auto_terminate_instance_on_delete", auto_terminate_instance_on_delete) if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if decrement_size_on_delete is not None: - pulumi.set(__self__, "decrement_size_on_delete", decrement_size_on_delete) + _setter("decrement_size_on_delete", decrement_size_on_delete) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if fault_domain is not None: - pulumi.set(__self__, "fault_domain", fault_domain) + _setter("fault_domain", fault_domain) if instance_configuration_id is not None: - pulumi.set(__self__, "instance_configuration_id", instance_configuration_id) + _setter("instance_configuration_id", instance_configuration_id) if instance_id is not None: - pulumi.set(__self__, "instance_id", instance_id) + _setter("instance_id", instance_id) if instance_pool_id is not None: - pulumi.set(__self__, "instance_pool_id", instance_pool_id) + _setter("instance_pool_id", instance_pool_id) if load_balancer_backends is not None: - pulumi.set(__self__, "load_balancer_backends", load_balancer_backends) + _setter("load_balancer_backends", load_balancer_backends) if region is not None: - pulumi.set(__self__, "region", region) + _setter("region", region) if shape is not None: - pulumi.set(__self__, "shape", shape) + _setter("shape", shape) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="autoTerminateInstanceOnDelete") @@ -406,6 +456,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + InstancePoolInstanceArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/core/internet_gateway.py b/sdk/python/pulumi_oci/core/internet_gateway.py index d6d76f4c73..bbd0245ba4 100644 --- a/sdk/python/pulumi_oci/core/internet_gateway.py +++ b/sdk/python/pulumi_oci/core/internet_gateway.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['InternetGatewayArgs', 'InternetGateway'] @@ -35,18 +35,39 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] freeform_tags: (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` :param pulumi.Input[str] route_table_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the Internet Gateway is using. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "vcn_id", vcn_id) + InternetGatewayArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + vcn_id=vcn_id, + defined_tags=defined_tags, + display_name=display_name, + enabled=enabled, + freeform_tags=freeform_tags, + route_table_id=route_table_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + vcn_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + enabled: Optional[pulumi.Input[bool]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + route_table_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("vcn_id", vcn_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if enabled is not None: - pulumi.set(__self__, "enabled", enabled) + _setter("enabled", enabled) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if route_table_id is not None: - pulumi.set(__self__, "route_table_id", route_table_id) + _setter("route_table_id", route_table_id) @property @pulumi.getter(name="compartmentId") @@ -165,24 +186,49 @@ def __init__(__self__, *, ** 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 """ + _InternetGatewayState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + enabled=enabled, + freeform_tags=freeform_tags, + route_table_id=route_table_id, + state=state, + time_created=time_created, + vcn_id=vcn_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + enabled: Optional[pulumi.Input[bool]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + route_table_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + vcn_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if enabled is not None: - pulumi.set(__self__, "enabled", enabled) + _setter("enabled", enabled) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if route_table_id is not None: - pulumi.set(__self__, "route_table_id", route_table_id) + _setter("route_table_id", route_table_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if vcn_id is not None: - pulumi.set(__self__, "vcn_id", vcn_id) + _setter("vcn_id", vcn_id) @property @pulumi.getter(name="compartmentId") @@ -444,6 +490,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + InternetGatewayArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/core/ipsec.py b/sdk/python/pulumi_oci/core/ipsec.py index 7438b66a4f..1070925989 100644 --- a/sdk/python/pulumi_oci/core/ipsec.py +++ b/sdk/python/pulumi_oci/core/ipsec.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['IpsecArgs', 'Ipsec'] @@ -51,20 +51,45 @@ def __init__(__self__, *, :param pulumi.Input[str] display_name: (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. :param pulumi.Input[Mapping[str, Any]] freeform_tags: (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "cpe_id", cpe_id) - pulumi.set(__self__, "drg_id", drg_id) - pulumi.set(__self__, "static_routes", static_routes) + IpsecArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + cpe_id=cpe_id, + drg_id=drg_id, + static_routes=static_routes, + cpe_local_identifier=cpe_local_identifier, + cpe_local_identifier_type=cpe_local_identifier_type, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + cpe_id: pulumi.Input[str], + drg_id: pulumi.Input[str], + static_routes: pulumi.Input[Sequence[pulumi.Input[str]]], + cpe_local_identifier: Optional[pulumi.Input[str]] = None, + cpe_local_identifier_type: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("cpe_id", cpe_id) + _setter("drg_id", drg_id) + _setter("static_routes", static_routes) if cpe_local_identifier is not None: - pulumi.set(__self__, "cpe_local_identifier", cpe_local_identifier) + _setter("cpe_local_identifier", cpe_local_identifier) if cpe_local_identifier_type is not None: - pulumi.set(__self__, "cpe_local_identifier_type", cpe_local_identifier_type) + _setter("cpe_local_identifier_type", cpe_local_identifier_type) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="compartmentId") @@ -237,30 +262,61 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the IPSec connection was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` :param pulumi.Input[str] transport_type: The transport type used for the IPSec connection. """ + _IpsecState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + cpe_id=cpe_id, + cpe_local_identifier=cpe_local_identifier, + cpe_local_identifier_type=cpe_local_identifier_type, + defined_tags=defined_tags, + display_name=display_name, + drg_id=drg_id, + freeform_tags=freeform_tags, + state=state, + static_routes=static_routes, + time_created=time_created, + transport_type=transport_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + cpe_id: Optional[pulumi.Input[str]] = None, + cpe_local_identifier: Optional[pulumi.Input[str]] = None, + cpe_local_identifier_type: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + drg_id: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + state: Optional[pulumi.Input[str]] = None, + static_routes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + transport_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if cpe_id is not None: - pulumi.set(__self__, "cpe_id", cpe_id) + _setter("cpe_id", cpe_id) if cpe_local_identifier is not None: - pulumi.set(__self__, "cpe_local_identifier", cpe_local_identifier) + _setter("cpe_local_identifier", cpe_local_identifier) if cpe_local_identifier_type is not None: - pulumi.set(__self__, "cpe_local_identifier_type", cpe_local_identifier_type) + _setter("cpe_local_identifier_type", cpe_local_identifier_type) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if drg_id is not None: - pulumi.set(__self__, "drg_id", drg_id) + _setter("drg_id", drg_id) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if static_routes is not None: - pulumi.set(__self__, "static_routes", static_routes) + _setter("static_routes", static_routes) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if transport_type is not None: - pulumi.set(__self__, "transport_type", transport_type) + _setter("transport_type", transport_type) @property @pulumi.getter(name="compartmentId") @@ -606,6 +662,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + IpsecArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/core/ipsec_connection_tunnel_management.py b/sdk/python/pulumi_oci/core/ipsec_connection_tunnel_management.py index 2483ad2eec..7770b9a532 100644 --- a/sdk/python/pulumi_oci/core/ipsec_connection_tunnel_management.py +++ b/sdk/python/pulumi_oci/core/ipsec_connection_tunnel_management.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -38,21 +38,46 @@ def __init__(__self__, *, :param pulumi.Input[str] ike_version: Internet Key Exchange protocol version. :param pulumi.Input[str] shared_secret: The shared secret (pre-shared key) to use for the IPSec tunnel. If you don't provide a value, Oracle generates a value for you. You can specify your own shared secret later if you like with [UpdateIPSecConnectionTunnelSharedSecret](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/20160918/IPSecConnectionTunnelSharedSecret/UpdateIPSecConnectionTunnelSharedSecret). Example: `EXAMPLEToUis6j1c.p8G.dVQxcmdfMO0yXMLi.lZTbYCMDGu4V8o` """ - pulumi.set(__self__, "ipsec_id", ipsec_id) - pulumi.set(__self__, "routing", routing) - pulumi.set(__self__, "tunnel_id", tunnel_id) + IpsecConnectionTunnelManagementArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + ipsec_id=ipsec_id, + routing=routing, + tunnel_id=tunnel_id, + bgp_session_infos=bgp_session_infos, + display_name=display_name, + dpd_configs=dpd_configs, + encryption_domain_config=encryption_domain_config, + ike_version=ike_version, + shared_secret=shared_secret, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ipsec_id: pulumi.Input[str], + routing: pulumi.Input[str], + tunnel_id: pulumi.Input[str], + bgp_session_infos: Optional[pulumi.Input[Sequence[pulumi.Input['IpsecConnectionTunnelManagementBgpSessionInfoArgs']]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + dpd_configs: Optional[pulumi.Input[Sequence[pulumi.Input['IpsecConnectionTunnelManagementDpdConfigArgs']]]] = None, + encryption_domain_config: Optional[pulumi.Input['IpsecConnectionTunnelManagementEncryptionDomainConfigArgs']] = None, + ike_version: Optional[pulumi.Input[str]] = None, + shared_secret: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ipsec_id", ipsec_id) + _setter("routing", routing) + _setter("tunnel_id", tunnel_id) if bgp_session_infos is not None: - pulumi.set(__self__, "bgp_session_infos", bgp_session_infos) + _setter("bgp_session_infos", bgp_session_infos) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if dpd_configs is not None: - pulumi.set(__self__, "dpd_configs", dpd_configs) + _setter("dpd_configs", dpd_configs) if encryption_domain_config is not None: - pulumi.set(__self__, "encryption_domain_config", encryption_domain_config) + _setter("encryption_domain_config", encryption_domain_config) if ike_version is not None: - pulumi.set(__self__, "ike_version", ike_version) + _setter("ike_version", ike_version) if shared_secret is not None: - pulumi.set(__self__, "shared_secret", shared_secret) + _setter("shared_secret", shared_secret) @property @pulumi.getter(name="ipsecId") @@ -209,52 +234,105 @@ def __init__(__self__, *, :param pulumi.Input[str] tunnel_id: The OCID of the IPSec connection's tunnel. :param pulumi.Input[str] vpn_ip: The IP address of Oracle's VPN headend. Example: `129.146.17.50` """ + _IpsecConnectionTunnelManagementState._configure( + lambda key, value: pulumi.set(__self__, key, value), + associated_virtual_circuits=associated_virtual_circuits, + bgp_session_infos=bgp_session_infos, + compartment_id=compartment_id, + cpe_ip=cpe_ip, + display_name=display_name, + dpd_configs=dpd_configs, + dpd_mode=dpd_mode, + dpd_timeout_in_sec=dpd_timeout_in_sec, + encryption_domain_config=encryption_domain_config, + ike_version=ike_version, + ipsec_id=ipsec_id, + nat_translation_enabled=nat_translation_enabled, + oracle_can_initiate=oracle_can_initiate, + phase_one_details=phase_one_details, + phase_two_details=phase_two_details, + routing=routing, + shared_secret=shared_secret, + state=state, + status=status, + time_created=time_created, + time_status_updated=time_status_updated, + tunnel_id=tunnel_id, + vpn_ip=vpn_ip, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + associated_virtual_circuits: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + bgp_session_infos: Optional[pulumi.Input[Sequence[pulumi.Input['IpsecConnectionTunnelManagementBgpSessionInfoArgs']]]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + cpe_ip: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + dpd_configs: Optional[pulumi.Input[Sequence[pulumi.Input['IpsecConnectionTunnelManagementDpdConfigArgs']]]] = None, + dpd_mode: Optional[pulumi.Input[str]] = None, + dpd_timeout_in_sec: Optional[pulumi.Input[int]] = None, + encryption_domain_config: Optional[pulumi.Input['IpsecConnectionTunnelManagementEncryptionDomainConfigArgs']] = None, + ike_version: Optional[pulumi.Input[str]] = None, + ipsec_id: Optional[pulumi.Input[str]] = None, + nat_translation_enabled: Optional[pulumi.Input[str]] = None, + oracle_can_initiate: Optional[pulumi.Input[str]] = None, + phase_one_details: Optional[pulumi.Input[Sequence[pulumi.Input['IpsecConnectionTunnelManagementPhaseOneDetailArgs']]]] = None, + phase_two_details: Optional[pulumi.Input[Sequence[pulumi.Input['IpsecConnectionTunnelManagementPhaseTwoDetailArgs']]]] = None, + routing: Optional[pulumi.Input[str]] = None, + shared_secret: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_status_updated: Optional[pulumi.Input[str]] = None, + tunnel_id: Optional[pulumi.Input[str]] = None, + vpn_ip: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if associated_virtual_circuits is not None: - pulumi.set(__self__, "associated_virtual_circuits", associated_virtual_circuits) + _setter("associated_virtual_circuits", associated_virtual_circuits) if bgp_session_infos is not None: - pulumi.set(__self__, "bgp_session_infos", bgp_session_infos) + _setter("bgp_session_infos", bgp_session_infos) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if cpe_ip is not None: - pulumi.set(__self__, "cpe_ip", cpe_ip) + _setter("cpe_ip", cpe_ip) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if dpd_configs is not None: - pulumi.set(__self__, "dpd_configs", dpd_configs) + _setter("dpd_configs", dpd_configs) if dpd_mode is not None: - pulumi.set(__self__, "dpd_mode", dpd_mode) + _setter("dpd_mode", dpd_mode) if dpd_timeout_in_sec is not None: - pulumi.set(__self__, "dpd_timeout_in_sec", dpd_timeout_in_sec) + _setter("dpd_timeout_in_sec", dpd_timeout_in_sec) if encryption_domain_config is not None: - pulumi.set(__self__, "encryption_domain_config", encryption_domain_config) + _setter("encryption_domain_config", encryption_domain_config) if ike_version is not None: - pulumi.set(__self__, "ike_version", ike_version) + _setter("ike_version", ike_version) if ipsec_id is not None: - pulumi.set(__self__, "ipsec_id", ipsec_id) + _setter("ipsec_id", ipsec_id) if nat_translation_enabled is not None: - pulumi.set(__self__, "nat_translation_enabled", nat_translation_enabled) + _setter("nat_translation_enabled", nat_translation_enabled) if oracle_can_initiate is not None: - pulumi.set(__self__, "oracle_can_initiate", oracle_can_initiate) + _setter("oracle_can_initiate", oracle_can_initiate) if phase_one_details is not None: - pulumi.set(__self__, "phase_one_details", phase_one_details) + _setter("phase_one_details", phase_one_details) if phase_two_details is not None: - pulumi.set(__self__, "phase_two_details", phase_two_details) + _setter("phase_two_details", phase_two_details) if routing is not None: - pulumi.set(__self__, "routing", routing) + _setter("routing", routing) if shared_secret is not None: - pulumi.set(__self__, "shared_secret", shared_secret) + _setter("shared_secret", shared_secret) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_status_updated is not None: - pulumi.set(__self__, "time_status_updated", time_status_updated) + _setter("time_status_updated", time_status_updated) if tunnel_id is not None: - pulumi.set(__self__, "tunnel_id", tunnel_id) + _setter("tunnel_id", tunnel_id) if vpn_ip is not None: - pulumi.set(__self__, "vpn_ip", vpn_ip) + _setter("vpn_ip", vpn_ip) @property @pulumi.getter(name="associatedVirtualCircuits") @@ -644,6 +722,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + IpsecConnectionTunnelManagementArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -670,6 +752,11 @@ def _internal_init(__self__, __props__.__dict__["bgp_session_infos"] = bgp_session_infos __props__.__dict__["display_name"] = display_name __props__.__dict__["dpd_configs"] = dpd_configs + if encryption_domain_config is not None and not isinstance(encryption_domain_config, IpsecConnectionTunnelManagementEncryptionDomainConfigArgs): + encryption_domain_config = encryption_domain_config or {} + def _setter(key, value): + encryption_domain_config[key] = value + IpsecConnectionTunnelManagementEncryptionDomainConfigArgs._configure(_setter, **encryption_domain_config) __props__.__dict__["encryption_domain_config"] = encryption_domain_config __props__.__dict__["ike_version"] = ike_version if ipsec_id is None and not opts.urn: diff --git a/sdk/python/pulumi_oci/core/ipv6.py b/sdk/python/pulumi_oci/core/ipv6.py index 93fa8a792c..9e3c9ede3a 100644 --- a/sdk/python/pulumi_oci/core/ipv6.py +++ b/sdk/python/pulumi_oci/core/ipv6.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['Ipv6Args', 'Ipv6'] @@ -33,17 +33,36 @@ def __init__(__self__, *, :param pulumi.Input[str] ip_address: An IPv6 address of your choice. Must be an available IP address within the subnet's CIDR. If you don't specify a value, Oracle automatically assigns an IPv6 address from the subnet. The subnet is the one that contains the VNIC you specify in `vnicId`. Example: `2001:DB8::` :param pulumi.Input[str] ipv6subnet_cidr: The IPv6 prefix allocated to the subnet. This is required if more than one IPv6 prefix exists on the subnet. """ - pulumi.set(__self__, "vnic_id", vnic_id) + Ipv6Args._configure( + lambda key, value: pulumi.set(__self__, key, value), + vnic_id=vnic_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + ip_address=ip_address, + ipv6subnet_cidr=ipv6subnet_cidr, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + vnic_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + ip_address: Optional[pulumi.Input[str]] = None, + ipv6subnet_cidr: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("vnic_id", vnic_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if ip_address is not None: - pulumi.set(__self__, "ip_address", ip_address) + _setter("ip_address", ip_address) if ipv6subnet_cidr is not None: - pulumi.set(__self__, "ipv6subnet_cidr", ipv6subnet_cidr) + _setter("ipv6subnet_cidr", ipv6subnet_cidr) @property @pulumi.getter(name="vnicId") @@ -152,26 +171,53 @@ def __init__(__self__, *, ** 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 """ + _Ipv6State._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + ip_address=ip_address, + ipv6subnet_cidr=ipv6subnet_cidr, + state=state, + subnet_id=subnet_id, + time_created=time_created, + vnic_id=vnic_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + ip_address: Optional[pulumi.Input[str]] = None, + ipv6subnet_cidr: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + vnic_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if ip_address is not None: - pulumi.set(__self__, "ip_address", ip_address) + _setter("ip_address", ip_address) if ipv6subnet_cidr is not None: - pulumi.set(__self__, "ipv6subnet_cidr", ipv6subnet_cidr) + _setter("ipv6subnet_cidr", ipv6subnet_cidr) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if vnic_id is not None: - pulumi.set(__self__, "vnic_id", vnic_id) + _setter("vnic_id", vnic_id) @property @pulumi.getter(name="compartmentId") @@ -403,6 +449,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + Ipv6Args._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/core/listing_resource_version_agreement.py b/sdk/python/pulumi_oci/core/listing_resource_version_agreement.py index bf52da8927..9941a64976 100644 --- a/sdk/python/pulumi_oci/core/listing_resource_version_agreement.py +++ b/sdk/python/pulumi_oci/core/listing_resource_version_agreement.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['ListingResourceVersionAgreementArgs', 'ListingResourceVersionAgreement'] @@ -18,13 +18,29 @@ def __init__(__self__, *, listing_resource_version: pulumi.Input[str]): """ The set of arguments for constructing a ListingResourceVersionAgreement resource. + :param pulumi.Input[str] listing_id: The OCID of the listing. + :param pulumi.Input[str] listing_resource_version: Listing Resource Version. """ - pulumi.set(__self__, "listing_id", listing_id) - pulumi.set(__self__, "listing_resource_version", listing_resource_version) + ListingResourceVersionAgreementArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + listing_id=listing_id, + listing_resource_version=listing_resource_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + listing_id: pulumi.Input[str], + listing_resource_version: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("listing_id", listing_id) + _setter("listing_resource_version", listing_resource_version) @property @pulumi.getter(name="listingId") def listing_id(self) -> pulumi.Input[str]: + """ + The OCID of the listing. + """ return pulumi.get(self, "listing_id") @listing_id.setter @@ -34,6 +50,9 @@ def listing_id(self, value: pulumi.Input[str]): @property @pulumi.getter(name="listingResourceVersion") def listing_resource_version(self) -> pulumi.Input[str]: + """ + Listing Resource Version. + """ return pulumi.get(self, "listing_resource_version") @listing_resource_version.setter @@ -52,23 +71,51 @@ def __init__(__self__, *, time_retrieved: Optional[pulumi.Input[str]] = None): """ Input properties used for looking up and filtering ListingResourceVersionAgreement resources. + :param pulumi.Input[str] eula_link: EULA link + :param pulumi.Input[str] listing_id: The OCID of the listing. + :param pulumi.Input[str] listing_resource_version: Listing Resource Version. + :param pulumi.Input[str] oracle_terms_of_use_link: Oracle TOU link + :param pulumi.Input[str] signature: A generated signature for this agreement retrieval operation which should be used in the create subscription call. + :param pulumi.Input[str] time_retrieved: Date and time the agreements were retrieved, in RFC3339 format. Example: `2018-03-20T12:32:53.532Z` """ + _ListingResourceVersionAgreementState._configure( + lambda key, value: pulumi.set(__self__, key, value), + eula_link=eula_link, + listing_id=listing_id, + listing_resource_version=listing_resource_version, + oracle_terms_of_use_link=oracle_terms_of_use_link, + signature=signature, + time_retrieved=time_retrieved, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + eula_link: Optional[pulumi.Input[str]] = None, + listing_id: Optional[pulumi.Input[str]] = None, + listing_resource_version: Optional[pulumi.Input[str]] = None, + oracle_terms_of_use_link: Optional[pulumi.Input[str]] = None, + signature: Optional[pulumi.Input[str]] = None, + time_retrieved: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if eula_link is not None: - pulumi.set(__self__, "eula_link", eula_link) + _setter("eula_link", eula_link) if listing_id is not None: - pulumi.set(__self__, "listing_id", listing_id) + _setter("listing_id", listing_id) if listing_resource_version is not None: - pulumi.set(__self__, "listing_resource_version", listing_resource_version) + _setter("listing_resource_version", listing_resource_version) if oracle_terms_of_use_link is not None: - pulumi.set(__self__, "oracle_terms_of_use_link", oracle_terms_of_use_link) + _setter("oracle_terms_of_use_link", oracle_terms_of_use_link) if signature is not None: - pulumi.set(__self__, "signature", signature) + _setter("signature", signature) if time_retrieved is not None: - pulumi.set(__self__, "time_retrieved", time_retrieved) + _setter("time_retrieved", time_retrieved) @property @pulumi.getter(name="eulaLink") def eula_link(self) -> Optional[pulumi.Input[str]]: + """ + EULA link + """ return pulumi.get(self, "eula_link") @eula_link.setter @@ -78,6 +125,9 @@ def eula_link(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="listingId") def listing_id(self) -> Optional[pulumi.Input[str]]: + """ + The OCID of the listing. + """ return pulumi.get(self, "listing_id") @listing_id.setter @@ -87,6 +137,9 @@ def listing_id(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="listingResourceVersion") def listing_resource_version(self) -> Optional[pulumi.Input[str]]: + """ + Listing Resource Version. + """ return pulumi.get(self, "listing_resource_version") @listing_resource_version.setter @@ -96,6 +149,9 @@ def listing_resource_version(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="oracleTermsOfUseLink") def oracle_terms_of_use_link(self) -> Optional[pulumi.Input[str]]: + """ + Oracle TOU link + """ return pulumi.get(self, "oracle_terms_of_use_link") @oracle_terms_of_use_link.setter @@ -105,6 +161,9 @@ def oracle_terms_of_use_link(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter def signature(self) -> Optional[pulumi.Input[str]]: + """ + A generated signature for this agreement retrieval operation which should be used in the create subscription call. + """ return pulumi.get(self, "signature") @signature.setter @@ -114,6 +173,9 @@ def signature(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="timeRetrieved") def time_retrieved(self) -> Optional[pulumi.Input[str]]: + """ + Date and time the agreements were retrieved, in RFC3339 format. Example: `2018-03-20T12:32:53.532Z` + """ return pulumi.get(self, "time_retrieved") @time_retrieved.setter @@ -130,9 +192,23 @@ def __init__(__self__, listing_resource_version: Optional[pulumi.Input[str]] = None, __props__=None): """ - Create a ListingResourceVersionAgreement resource with the given unique name, props, and options. + The `Core.AppCatalogListingResourceVersionAgreement` resource creates AppCatalogListingResourceVersionAgreement for a particular resource version of a listing. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_app_catalog_listing_resource_version_agreement = oci.core.AppCatalogListingResourceVersionAgreement("testAppCatalogListingResourceVersionAgreement", + listing_id=data["oci_core_app_catalog_listing"]["test_listing"]["id"], + listing_resource_version=var["app_catalog_listing_resource_version_agreement_listing_resource_version"]) + ``` + :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] listing_id: The OCID of the listing. + :param pulumi.Input[str] listing_resource_version: Listing Resource Version. """ ... @overload @@ -141,7 +217,19 @@ def __init__(__self__, args: ListingResourceVersionAgreementArgs, opts: Optional[pulumi.ResourceOptions] = None): """ - Create a ListingResourceVersionAgreement resource with the given unique name, props, and options. + The `Core.AppCatalogListingResourceVersionAgreement` resource creates AppCatalogListingResourceVersionAgreement for a particular resource version of a listing. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_app_catalog_listing_resource_version_agreement = oci.core.AppCatalogListingResourceVersionAgreement("testAppCatalogListingResourceVersionAgreement", + listing_id=data["oci_core_app_catalog_listing"]["test_listing"]["id"], + listing_resource_version=var["app_catalog_listing_resource_version_agreement_listing_resource_version"]) + ``` + :param str resource_name: The name of the resource. :param ListingResourceVersionAgreementArgs args: The arguments to use to populate this resource's properties. :param pulumi.ResourceOptions opts: Options for the resource. @@ -152,6 +240,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ListingResourceVersionAgreementArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -201,6 +293,12 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] eula_link: EULA link + :param pulumi.Input[str] listing_id: The OCID of the listing. + :param pulumi.Input[str] listing_resource_version: Listing Resource Version. + :param pulumi.Input[str] oracle_terms_of_use_link: Oracle TOU link + :param pulumi.Input[str] signature: A generated signature for this agreement retrieval operation which should be used in the create subscription call. + :param pulumi.Input[str] time_retrieved: Date and time the agreements were retrieved, in RFC3339 format. Example: `2018-03-20T12:32:53.532Z` """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) @@ -217,30 +315,48 @@ def get(resource_name: str, @property @pulumi.getter(name="eulaLink") def eula_link(self) -> pulumi.Output[str]: + """ + EULA link + """ return pulumi.get(self, "eula_link") @property @pulumi.getter(name="listingId") def listing_id(self) -> pulumi.Output[str]: + """ + The OCID of the listing. + """ return pulumi.get(self, "listing_id") @property @pulumi.getter(name="listingResourceVersion") def listing_resource_version(self) -> pulumi.Output[str]: + """ + Listing Resource Version. + """ return pulumi.get(self, "listing_resource_version") @property @pulumi.getter(name="oracleTermsOfUseLink") def oracle_terms_of_use_link(self) -> pulumi.Output[str]: + """ + Oracle TOU link + """ return pulumi.get(self, "oracle_terms_of_use_link") @property @pulumi.getter def signature(self) -> pulumi.Output[str]: + """ + A generated signature for this agreement retrieval operation which should be used in the create subscription call. + """ return pulumi.get(self, "signature") @property @pulumi.getter(name="timeRetrieved") def time_retrieved(self) -> pulumi.Output[str]: + """ + Date and time the agreements were retrieved, in RFC3339 format. Example: `2018-03-20T12:32:53.532Z` + """ return pulumi.get(self, "time_retrieved") diff --git a/sdk/python/pulumi_oci/core/local_peering_gateway.py b/sdk/python/pulumi_oci/core/local_peering_gateway.py index eb4be8416a..f85dd0d4f6 100644 --- a/sdk/python/pulumi_oci/core/local_peering_gateway.py +++ b/sdk/python/pulumi_oci/core/local_peering_gateway.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['LocalPeeringGatewayArgs', 'LocalPeeringGateway'] @@ -39,18 +39,39 @@ def __init__(__self__, *, For information about why you would associate a route table with an LPG, see [Transit Routing: Access to Multiple VCNs in Same Region](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm). """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "vcn_id", vcn_id) + LocalPeeringGatewayArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + vcn_id=vcn_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + peer_id=peer_id, + route_table_id=route_table_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + vcn_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + peer_id: Optional[pulumi.Input[str]] = None, + route_table_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("vcn_id", vcn_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if peer_id is not None: - pulumi.set(__self__, "peer_id", peer_id) + _setter("peer_id", peer_id) if route_table_id is not None: - pulumi.set(__self__, "route_table_id", route_table_id) + _setter("route_table_id", route_table_id) @property @pulumi.getter(name="compartmentId") @@ -187,34 +208,69 @@ def __init__(__self__, *, ** 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 """ + _LocalPeeringGatewayState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + is_cross_tenancy_peering=is_cross_tenancy_peering, + peer_advertised_cidr=peer_advertised_cidr, + peer_advertised_cidr_details=peer_advertised_cidr_details, + peer_id=peer_id, + peering_status=peering_status, + peering_status_details=peering_status_details, + route_table_id=route_table_id, + state=state, + time_created=time_created, + vcn_id=vcn_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_cross_tenancy_peering: Optional[pulumi.Input[bool]] = None, + peer_advertised_cidr: Optional[pulumi.Input[str]] = None, + peer_advertised_cidr_details: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + peer_id: Optional[pulumi.Input[str]] = None, + peering_status: Optional[pulumi.Input[str]] = None, + peering_status_details: Optional[pulumi.Input[str]] = None, + route_table_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + vcn_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_cross_tenancy_peering is not None: - pulumi.set(__self__, "is_cross_tenancy_peering", is_cross_tenancy_peering) + _setter("is_cross_tenancy_peering", is_cross_tenancy_peering) if peer_advertised_cidr is not None: - pulumi.set(__self__, "peer_advertised_cidr", peer_advertised_cidr) + _setter("peer_advertised_cidr", peer_advertised_cidr) if peer_advertised_cidr_details is not None: - pulumi.set(__self__, "peer_advertised_cidr_details", peer_advertised_cidr_details) + _setter("peer_advertised_cidr_details", peer_advertised_cidr_details) if peer_id is not None: - pulumi.set(__self__, "peer_id", peer_id) + _setter("peer_id", peer_id) if peering_status is not None: - pulumi.set(__self__, "peering_status", peering_status) + _setter("peering_status", peering_status) if peering_status_details is not None: - pulumi.set(__self__, "peering_status_details", peering_status_details) + _setter("peering_status_details", peering_status_details) if route_table_id is not None: - pulumi.set(__self__, "route_table_id", route_table_id) + _setter("route_table_id", route_table_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if vcn_id is not None: - pulumi.set(__self__, "vcn_id", vcn_id) + _setter("vcn_id", vcn_id) @property @pulumi.getter(name="compartmentId") @@ -506,6 +562,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + LocalPeeringGatewayArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/core/nat_gateway.py b/sdk/python/pulumi_oci/core/nat_gateway.py index 47f29855b6..4838795acc 100644 --- a/sdk/python/pulumi_oci/core/nat_gateway.py +++ b/sdk/python/pulumi_oci/core/nat_gateway.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['NatGatewayArgs', 'NatGateway'] @@ -39,20 +39,43 @@ def __init__(__self__, *, If you don't specify a route table here, the NAT gateway is created without an associated route table. The Networking service does NOT automatically associate the attached VCN's default route table with the NAT gateway. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "vcn_id", vcn_id) + NatGatewayArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + vcn_id=vcn_id, + block_traffic=block_traffic, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + public_ip_id=public_ip_id, + route_table_id=route_table_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + vcn_id: pulumi.Input[str], + block_traffic: Optional[pulumi.Input[bool]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + public_ip_id: Optional[pulumi.Input[str]] = None, + route_table_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("vcn_id", vcn_id) if block_traffic is not None: - pulumi.set(__self__, "block_traffic", block_traffic) + _setter("block_traffic", block_traffic) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if public_ip_id is not None: - pulumi.set(__self__, "public_ip_id", public_ip_id) + _setter("public_ip_id", public_ip_id) if route_table_id is not None: - pulumi.set(__self__, "route_table_id", route_table_id) + _setter("route_table_id", route_table_id) @property @pulumi.getter(name="compartmentId") @@ -191,28 +214,57 @@ def __init__(__self__, *, ** 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 """ + _NatGatewayState._configure( + lambda key, value: pulumi.set(__self__, key, value), + block_traffic=block_traffic, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + nat_ip=nat_ip, + public_ip_id=public_ip_id, + route_table_id=route_table_id, + state=state, + time_created=time_created, + vcn_id=vcn_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + block_traffic: Optional[pulumi.Input[bool]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + nat_ip: Optional[pulumi.Input[str]] = None, + public_ip_id: Optional[pulumi.Input[str]] = None, + route_table_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + vcn_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if block_traffic is not None: - pulumi.set(__self__, "block_traffic", block_traffic) + _setter("block_traffic", block_traffic) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if nat_ip is not None: - pulumi.set(__self__, "nat_ip", nat_ip) + _setter("nat_ip", nat_ip) if public_ip_id is not None: - pulumi.set(__self__, "public_ip_id", public_ip_id) + _setter("public_ip_id", public_ip_id) if route_table_id is not None: - pulumi.set(__self__, "route_table_id", route_table_id) + _setter("route_table_id", route_table_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if vcn_id is not None: - pulumi.set(__self__, "vcn_id", vcn_id) + _setter("vcn_id", vcn_id) @property @pulumi.getter(name="blockTraffic") @@ -470,6 +522,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + NatGatewayArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/core/network_security_group.py b/sdk/python/pulumi_oci/core/network_security_group.py index 561d4d7d28..0546e46936 100644 --- a/sdk/python/pulumi_oci/core/network_security_group.py +++ b/sdk/python/pulumi_oci/core/network_security_group.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['NetworkSecurityGroupArgs', 'NetworkSecurityGroup'] @@ -31,14 +31,31 @@ def __init__(__self__, *, :param pulumi.Input[str] display_name: (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. :param pulumi.Input[Mapping[str, Any]] freeform_tags: (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "vcn_id", vcn_id) + NetworkSecurityGroupArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + vcn_id=vcn_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + vcn_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("vcn_id", vcn_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="compartmentId") @@ -129,20 +146,41 @@ def __init__(__self__, *, ** 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 """ + _NetworkSecurityGroupState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + state=state, + time_created=time_created, + vcn_id=vcn_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + vcn_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if vcn_id is not None: - pulumi.set(__self__, "vcn_id", vcn_id) + _setter("vcn_id", vcn_id) @property @pulumi.getter(name="compartmentId") @@ -334,6 +372,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + NetworkSecurityGroupArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/core/network_security_group_security_rule.py b/sdk/python/pulumi_oci/core/network_security_group_security_rule.py index 3257060c63..f21240ad2b 100644 --- a/sdk/python/pulumi_oci/core/network_security_group_security_rule.py +++ b/sdk/python/pulumi_oci/core/network_security_group_security_rule.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -59,27 +59,58 @@ def __init__(__self__, *, :param pulumi.Input['NetworkSecurityGroupSecurityRuleTcpOptionsArgs'] tcp_options: Optional and valid only for TCP. Use to specify particular destination ports for TCP rules. If you specify TCP as the protocol but omit this object, then all destination ports are allowed. :param pulumi.Input['NetworkSecurityGroupSecurityRuleUdpOptionsArgs'] udp_options: Optional and valid only for UDP. Use to specify particular destination ports for UDP rules. If you specify UDP as the protocol but omit this object, then all destination ports are allowed. """ - pulumi.set(__self__, "direction", direction) - pulumi.set(__self__, "network_security_group_id", network_security_group_id) - pulumi.set(__self__, "protocol", protocol) + NetworkSecurityGroupSecurityRuleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + direction=direction, + network_security_group_id=network_security_group_id, + protocol=protocol, + description=description, + destination=destination, + destination_type=destination_type, + icmp_options=icmp_options, + source=source, + source_type=source_type, + stateless=stateless, + tcp_options=tcp_options, + udp_options=udp_options, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + direction: pulumi.Input[str], + network_security_group_id: pulumi.Input[str], + protocol: pulumi.Input[str], + description: Optional[pulumi.Input[str]] = None, + destination: Optional[pulumi.Input[str]] = None, + destination_type: Optional[pulumi.Input[str]] = None, + icmp_options: Optional[pulumi.Input['NetworkSecurityGroupSecurityRuleIcmpOptionsArgs']] = None, + source: Optional[pulumi.Input[str]] = None, + source_type: Optional[pulumi.Input[str]] = None, + stateless: Optional[pulumi.Input[bool]] = None, + tcp_options: Optional[pulumi.Input['NetworkSecurityGroupSecurityRuleTcpOptionsArgs']] = None, + udp_options: Optional[pulumi.Input['NetworkSecurityGroupSecurityRuleUdpOptionsArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("direction", direction) + _setter("network_security_group_id", network_security_group_id) + _setter("protocol", protocol) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if destination is not None: - pulumi.set(__self__, "destination", destination) + _setter("destination", destination) if destination_type is not None: - pulumi.set(__self__, "destination_type", destination_type) + _setter("destination_type", destination_type) if icmp_options is not None: - pulumi.set(__self__, "icmp_options", icmp_options) + _setter("icmp_options", icmp_options) if source is not None: - pulumi.set(__self__, "source", source) + _setter("source", source) if source_type is not None: - pulumi.set(__self__, "source_type", source_type) + _setter("source_type", source_type) if stateless is not None: - pulumi.set(__self__, "stateless", stateless) + _setter("stateless", stateless) if tcp_options is not None: - pulumi.set(__self__, "tcp_options", tcp_options) + _setter("tcp_options", tcp_options) if udp_options is not None: - pulumi.set(__self__, "udp_options", udp_options) + _setter("udp_options", udp_options) @property @pulumi.getter @@ -292,34 +323,69 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the security rule was created. Format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). :param pulumi.Input['NetworkSecurityGroupSecurityRuleUdpOptionsArgs'] udp_options: Optional and valid only for UDP. Use to specify particular destination ports for UDP rules. If you specify UDP as the protocol but omit this object, then all destination ports are allowed. """ + _NetworkSecurityGroupSecurityRuleState._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + destination=destination, + destination_type=destination_type, + direction=direction, + icmp_options=icmp_options, + is_valid=is_valid, + network_security_group_id=network_security_group_id, + protocol=protocol, + source=source, + source_type=source_type, + stateless=stateless, + tcp_options=tcp_options, + time_created=time_created, + udp_options=udp_options, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: Optional[pulumi.Input[str]] = None, + destination: Optional[pulumi.Input[str]] = None, + destination_type: Optional[pulumi.Input[str]] = None, + direction: Optional[pulumi.Input[str]] = None, + icmp_options: Optional[pulumi.Input['NetworkSecurityGroupSecurityRuleIcmpOptionsArgs']] = None, + is_valid: Optional[pulumi.Input[bool]] = None, + network_security_group_id: Optional[pulumi.Input[str]] = None, + protocol: Optional[pulumi.Input[str]] = None, + source: Optional[pulumi.Input[str]] = None, + source_type: Optional[pulumi.Input[str]] = None, + stateless: Optional[pulumi.Input[bool]] = None, + tcp_options: Optional[pulumi.Input['NetworkSecurityGroupSecurityRuleTcpOptionsArgs']] = None, + time_created: Optional[pulumi.Input[str]] = None, + udp_options: Optional[pulumi.Input['NetworkSecurityGroupSecurityRuleUdpOptionsArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if destination is not None: - pulumi.set(__self__, "destination", destination) + _setter("destination", destination) if destination_type is not None: - pulumi.set(__self__, "destination_type", destination_type) + _setter("destination_type", destination_type) if direction is not None: - pulumi.set(__self__, "direction", direction) + _setter("direction", direction) if icmp_options is not None: - pulumi.set(__self__, "icmp_options", icmp_options) + _setter("icmp_options", icmp_options) if is_valid is not None: - pulumi.set(__self__, "is_valid", is_valid) + _setter("is_valid", is_valid) if network_security_group_id is not None: - pulumi.set(__self__, "network_security_group_id", network_security_group_id) + _setter("network_security_group_id", network_security_group_id) if protocol is not None: - pulumi.set(__self__, "protocol", protocol) + _setter("protocol", protocol) if source is not None: - pulumi.set(__self__, "source", source) + _setter("source", source) if source_type is not None: - pulumi.set(__self__, "source_type", source_type) + _setter("source_type", source_type) if stateless is not None: - pulumi.set(__self__, "stateless", stateless) + _setter("stateless", stateless) if tcp_options is not None: - pulumi.set(__self__, "tcp_options", tcp_options) + _setter("tcp_options", tcp_options) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if udp_options is not None: - pulumi.set(__self__, "udp_options", udp_options) + _setter("udp_options", udp_options) @property @pulumi.getter @@ -681,6 +747,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + NetworkSecurityGroupSecurityRuleArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -713,6 +783,11 @@ def _internal_init(__self__, if direction is None and not opts.urn: raise TypeError("Missing required property 'direction'") __props__.__dict__["direction"] = direction + if icmp_options is not None and not isinstance(icmp_options, NetworkSecurityGroupSecurityRuleIcmpOptionsArgs): + icmp_options = icmp_options or {} + def _setter(key, value): + icmp_options[key] = value + NetworkSecurityGroupSecurityRuleIcmpOptionsArgs._configure(_setter, **icmp_options) __props__.__dict__["icmp_options"] = icmp_options if network_security_group_id is None and not opts.urn: raise TypeError("Missing required property 'network_security_group_id'") @@ -723,7 +798,17 @@ def _internal_init(__self__, __props__.__dict__["source"] = source __props__.__dict__["source_type"] = source_type __props__.__dict__["stateless"] = stateless + if tcp_options is not None and not isinstance(tcp_options, NetworkSecurityGroupSecurityRuleTcpOptionsArgs): + tcp_options = tcp_options or {} + def _setter(key, value): + tcp_options[key] = value + NetworkSecurityGroupSecurityRuleTcpOptionsArgs._configure(_setter, **tcp_options) __props__.__dict__["tcp_options"] = tcp_options + if udp_options is not None and not isinstance(udp_options, NetworkSecurityGroupSecurityRuleUdpOptionsArgs): + udp_options = udp_options or {} + def _setter(key, value): + udp_options[key] = value + NetworkSecurityGroupSecurityRuleUdpOptionsArgs._configure(_setter, **udp_options) __props__.__dict__["udp_options"] = udp_options __props__.__dict__["is_valid"] = None __props__.__dict__["time_created"] = None diff --git a/sdk/python/pulumi_oci/core/outputs.py b/sdk/python/pulumi_oci/core/outputs.py index b8936d1a70..9066c26d0f 100644 --- a/sdk/python/pulumi_oci/core/outputs.py +++ b/sdk/python/pulumi_oci/core/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -700,9 +700,20 @@ def __init__(__self__, *, :param str autotune_type: (Updatable) This specifies the type of autotunes supported by OCI. :param str max_vpus_per_gb: (Updatable) This will be the maximum VPUs/GB performance level that the volume will be auto-tuned temporarily based on performance monitoring. """ - pulumi.set(__self__, "autotune_type", autotune_type) + BootVolumeAutotunePolicy._configure( + lambda key, value: pulumi.set(__self__, key, value), + autotune_type=autotune_type, + max_vpus_per_gb=max_vpus_per_gb, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + autotune_type: str, + max_vpus_per_gb: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("autotune_type", autotune_type) if max_vpus_per_gb is not None: - pulumi.set(__self__, "max_vpus_per_gb", max_vpus_per_gb) + _setter("max_vpus_per_gb", max_vpus_per_gb) @property @pulumi.getter(name="autotuneType") @@ -750,10 +761,23 @@ def __init__(__self__, *, :param str region: The region of the volume backup source. :param str kms_key_id: The OCID of the KMS key in the destination region which will be the master encryption key for the copied volume backup. """ - pulumi.set(__self__, "boot_volume_backup_id", boot_volume_backup_id) - pulumi.set(__self__, "region", region) + BootVolumeBackupSourceDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + boot_volume_backup_id=boot_volume_backup_id, + region=region, + kms_key_id=kms_key_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + boot_volume_backup_id: str, + region: str, + kms_key_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("boot_volume_backup_id", boot_volume_backup_id) + _setter("region", region) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) @property @pulumi.getter(name="bootVolumeBackupId") @@ -809,11 +833,24 @@ def __init__(__self__, *, :param str boot_volume_replica_id: The boot volume replica's Oracle ID (OCID). :param str display_name: (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. """ - pulumi.set(__self__, "availability_domain", availability_domain) + BootVolumeBootVolumeReplica._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + boot_volume_replica_id=boot_volume_replica_id, + display_name=display_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + boot_volume_replica_id: Optional[str] = None, + display_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) if boot_volume_replica_id is not None: - pulumi.set(__self__, "boot_volume_replica_id", boot_volume_replica_id) + _setter("boot_volume_replica_id", boot_volume_replica_id) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) @property @pulumi.getter(name="availabilityDomain") @@ -849,8 +886,19 @@ def __init__(__self__, *, :param str id: The OCID of the boot volume replica. :param str type: The type can be one of these values: `bootVolume`, `bootVolumeBackup`, `bootVolumeReplica` """ - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "type", type) + BootVolumeSourceDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) + _setter("type", type) @property @pulumi.getter @@ -926,21 +974,44 @@ def __init__(__self__, *, :param 'CaptureFilterVtapCaptureFilterRuleTcpOptionsArgs' tcp_options: (Updatable) Optional and valid only for TCP. Use to specify particular destination ports for TCP rules. If you specify TCP as the protocol but omit this object, then all destination ports are allowed. :param 'CaptureFilterVtapCaptureFilterRuleUdpOptionsArgs' udp_options: (Updatable) Optional and valid only for UDP. Use to specify particular destination ports for UDP rules. If you specify UDP as the protocol but omit this object, then all destination ports are allowed. """ - pulumi.set(__self__, "traffic_direction", traffic_direction) + CaptureFilterVtapCaptureFilterRule._configure( + lambda key, value: pulumi.set(__self__, key, value), + traffic_direction=traffic_direction, + destination_cidr=destination_cidr, + icmp_options=icmp_options, + protocol=protocol, + rule_action=rule_action, + source_cidr=source_cidr, + tcp_options=tcp_options, + udp_options=udp_options, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + traffic_direction: str, + destination_cidr: Optional[str] = None, + icmp_options: Optional['outputs.CaptureFilterVtapCaptureFilterRuleIcmpOptions'] = None, + protocol: Optional[str] = None, + rule_action: Optional[str] = None, + source_cidr: Optional[str] = None, + tcp_options: Optional['outputs.CaptureFilterVtapCaptureFilterRuleTcpOptions'] = None, + udp_options: Optional['outputs.CaptureFilterVtapCaptureFilterRuleUdpOptions'] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("traffic_direction", traffic_direction) if destination_cidr is not None: - pulumi.set(__self__, "destination_cidr", destination_cidr) + _setter("destination_cidr", destination_cidr) if icmp_options is not None: - pulumi.set(__self__, "icmp_options", icmp_options) + _setter("icmp_options", icmp_options) if protocol is not None: - pulumi.set(__self__, "protocol", protocol) + _setter("protocol", protocol) if rule_action is not None: - pulumi.set(__self__, "rule_action", rule_action) + _setter("rule_action", rule_action) if source_cidr is not None: - pulumi.set(__self__, "source_cidr", source_cidr) + _setter("source_cidr", source_cidr) if tcp_options is not None: - pulumi.set(__self__, "tcp_options", tcp_options) + _setter("tcp_options", tcp_options) if udp_options is not None: - pulumi.set(__self__, "udp_options", udp_options) + _setter("udp_options", udp_options) @property @pulumi.getter(name="trafficDirection") @@ -1023,9 +1094,20 @@ def __init__(__self__, *, :param int type: (Updatable) The ICMP type. :param int code: (Updatable) The ICMP code (optional). """ - pulumi.set(__self__, "type", type) + CaptureFilterVtapCaptureFilterRuleIcmpOptions._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + code=code, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: int, + code: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if code is not None: - pulumi.set(__self__, "code", code) + _setter("code", code) @property @pulumi.getter @@ -1072,10 +1154,21 @@ def __init__(__self__, *, :param 'CaptureFilterVtapCaptureFilterRuleTcpOptionsDestinationPortRangeArgs' destination_port_range: (Updatable) :param 'CaptureFilterVtapCaptureFilterRuleTcpOptionsSourcePortRangeArgs' source_port_range: (Updatable) """ + CaptureFilterVtapCaptureFilterRuleTcpOptions._configure( + lambda key, value: pulumi.set(__self__, key, value), + destination_port_range=destination_port_range, + source_port_range=source_port_range, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + destination_port_range: Optional['outputs.CaptureFilterVtapCaptureFilterRuleTcpOptionsDestinationPortRange'] = None, + source_port_range: Optional['outputs.CaptureFilterVtapCaptureFilterRuleTcpOptionsSourcePortRange'] = None, + opts: Optional[pulumi.ResourceOptions]=None): if destination_port_range is not None: - pulumi.set(__self__, "destination_port_range", destination_port_range) + _setter("destination_port_range", destination_port_range) if source_port_range is not None: - pulumi.set(__self__, "source_port_range", source_port_range) + _setter("source_port_range", source_port_range) @property @pulumi.getter(name="destinationPortRange") @@ -1107,8 +1200,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "min", min) + CaptureFilterVtapCaptureFilterRuleTcpOptionsDestinationPortRange._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: int, + min: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max", max) + _setter("min", min) @property @pulumi.getter @@ -1144,8 +1248,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "min", min) + CaptureFilterVtapCaptureFilterRuleTcpOptionsSourcePortRange._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: int, + min: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max", max) + _setter("min", min) @property @pulumi.getter @@ -1196,10 +1311,21 @@ def __init__(__self__, *, :param 'CaptureFilterVtapCaptureFilterRuleUdpOptionsDestinationPortRangeArgs' destination_port_range: (Updatable) :param 'CaptureFilterVtapCaptureFilterRuleUdpOptionsSourcePortRangeArgs' source_port_range: (Updatable) """ + CaptureFilterVtapCaptureFilterRuleUdpOptions._configure( + lambda key, value: pulumi.set(__self__, key, value), + destination_port_range=destination_port_range, + source_port_range=source_port_range, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + destination_port_range: Optional['outputs.CaptureFilterVtapCaptureFilterRuleUdpOptionsDestinationPortRange'] = None, + source_port_range: Optional['outputs.CaptureFilterVtapCaptureFilterRuleUdpOptionsSourcePortRange'] = None, + opts: Optional[pulumi.ResourceOptions]=None): if destination_port_range is not None: - pulumi.set(__self__, "destination_port_range", destination_port_range) + _setter("destination_port_range", destination_port_range) if source_port_range is not None: - pulumi.set(__self__, "source_port_range", source_port_range) + _setter("source_port_range", source_port_range) @property @pulumi.getter(name="destinationPortRange") @@ -1231,8 +1357,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "min", min) + CaptureFilterVtapCaptureFilterRuleUdpOptionsDestinationPortRange._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: int, + min: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max", max) + _setter("min", min) @property @pulumi.getter @@ -1268,8 +1405,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "min", min) + CaptureFilterVtapCaptureFilterRuleUdpOptionsSourcePortRange._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: int, + min: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max", max) + _setter("min", min) @property @pulumi.getter @@ -1320,9 +1468,20 @@ def __init__(__self__, *, :param str hpc_island_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the HPC island. :param Sequence[str] network_block_ids: The list of network block OCIDs. """ - pulumi.set(__self__, "hpc_island_id", hpc_island_id) + ClusterNetworkClusterConfiguration._configure( + lambda key, value: pulumi.set(__self__, key, value), + hpc_island_id=hpc_island_id, + network_block_ids=network_block_ids, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hpc_island_id: str, + network_block_ids: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("hpc_island_id", hpc_island_id) if network_block_ids is not None: - pulumi.set(__self__, "network_block_ids", network_block_ids) + _setter("network_block_ids", network_block_ids) @property @pulumi.getter(name="hpcIslandId") @@ -1405,30 +1564,63 @@ def __init__(__self__, *, :param str state: The current state of the cluster network. :param str time_created: The date and time the resource was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` """ - pulumi.set(__self__, "instance_configuration_id", instance_configuration_id) - pulumi.set(__self__, "size", size) + ClusterNetworkInstancePool._configure( + lambda key, value: pulumi.set(__self__, key, value), + instance_configuration_id=instance_configuration_id, + size=size, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + instance_display_name_formatter=instance_display_name_formatter, + instance_hostname_formatter=instance_hostname_formatter, + load_balancers=load_balancers, + placement_configurations=placement_configurations, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + instance_configuration_id: str, + size: int, + compartment_id: Optional[str] = None, + defined_tags: Optional[Mapping[str, Any]] = None, + display_name: Optional[str] = None, + freeform_tags: Optional[Mapping[str, Any]] = None, + id: Optional[str] = None, + instance_display_name_formatter: Optional[str] = None, + instance_hostname_formatter: Optional[str] = None, + load_balancers: Optional[Sequence['outputs.ClusterNetworkInstancePoolLoadBalancer']] = None, + placement_configurations: Optional[Sequence['outputs.ClusterNetworkInstancePoolPlacementConfiguration']] = None, + state: Optional[str] = None, + time_created: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("instance_configuration_id", instance_configuration_id) + _setter("size", size) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if instance_display_name_formatter is not None: - pulumi.set(__self__, "instance_display_name_formatter", instance_display_name_formatter) + _setter("instance_display_name_formatter", instance_display_name_formatter) if instance_hostname_formatter is not None: - pulumi.set(__self__, "instance_hostname_formatter", instance_hostname_formatter) + _setter("instance_hostname_formatter", instance_hostname_formatter) if load_balancers is not None: - pulumi.set(__self__, "load_balancers", load_balancers) + _setter("load_balancers", load_balancers) if placement_configurations is not None: - pulumi.set(__self__, "placement_configurations", placement_configurations) + _setter("placement_configurations", placement_configurations) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="instanceConfigurationId") @@ -1571,20 +1763,41 @@ def __init__(__self__, *, :param str state: The current state of the cluster network. :param str vnic_selection: Indicates which VNIC on each instance in the instance pool should be used to associate with the load balancer. Possible values are "PrimaryVnic" or the displayName of one of the secondary VNICs on the instance configuration that is associated with the instance pool. """ + ClusterNetworkInstancePoolLoadBalancer._configure( + lambda key, value: pulumi.set(__self__, key, value), + backend_set_name=backend_set_name, + id=id, + instance_pool_id=instance_pool_id, + load_balancer_id=load_balancer_id, + port=port, + state=state, + vnic_selection=vnic_selection, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backend_set_name: Optional[str] = None, + id: Optional[str] = None, + instance_pool_id: Optional[str] = None, + load_balancer_id: Optional[str] = None, + port: Optional[int] = None, + state: Optional[str] = None, + vnic_selection: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if backend_set_name is not None: - pulumi.set(__self__, "backend_set_name", backend_set_name) + _setter("backend_set_name", backend_set_name) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if instance_pool_id is not None: - pulumi.set(__self__, "instance_pool_id", instance_pool_id) + _setter("instance_pool_id", instance_pool_id) if load_balancer_id is not None: - pulumi.set(__self__, "load_balancer_id", load_balancer_id) + _setter("load_balancer_id", load_balancer_id) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if vnic_selection is not None: - pulumi.set(__self__, "vnic_selection", vnic_selection) + _setter("vnic_selection", vnic_selection) @property @pulumi.getter(name="backendSetName") @@ -1683,16 +1896,33 @@ def __init__(__self__, *, :param Sequence['ClusterNetworkInstancePoolPlacementConfigurationPrimaryVnicSubnetArgs'] primary_vnic_subnets: Details about the IPv6 primary subnet. :param Sequence['ClusterNetworkInstancePoolPlacementConfigurationSecondaryVnicSubnetArgs'] secondary_vnic_subnets: The set of secondary VNIC data for instances in the pool. """ + ClusterNetworkInstancePoolPlacementConfiguration._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + fault_domains=fault_domains, + primary_subnet_id=primary_subnet_id, + primary_vnic_subnets=primary_vnic_subnets, + secondary_vnic_subnets=secondary_vnic_subnets, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: Optional[str] = None, + fault_domains: Optional[Sequence[str]] = None, + primary_subnet_id: Optional[str] = None, + primary_vnic_subnets: Optional[Sequence['outputs.ClusterNetworkInstancePoolPlacementConfigurationPrimaryVnicSubnet']] = None, + secondary_vnic_subnets: Optional[Sequence['outputs.ClusterNetworkInstancePoolPlacementConfigurationSecondaryVnicSubnet']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if fault_domains is not None: - pulumi.set(__self__, "fault_domains", fault_domains) + _setter("fault_domains", fault_domains) if primary_subnet_id is not None: - pulumi.set(__self__, "primary_subnet_id", primary_subnet_id) + _setter("primary_subnet_id", primary_subnet_id) if primary_vnic_subnets is not None: - pulumi.set(__self__, "primary_vnic_subnets", primary_vnic_subnets) + _setter("primary_vnic_subnets", primary_vnic_subnets) if secondary_vnic_subnets is not None: - pulumi.set(__self__, "secondary_vnic_subnets", secondary_vnic_subnets) + _setter("secondary_vnic_subnets", secondary_vnic_subnets) @property @pulumi.getter(name="availabilityDomain") @@ -1771,12 +2001,25 @@ def __init__(__self__, *, ** 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 """ + ClusterNetworkInstancePoolPlacementConfigurationPrimaryVnicSubnet._configure( + lambda key, value: pulumi.set(__self__, key, value), + ipv6address_ipv6subnet_cidr_pair_details=ipv6address_ipv6subnet_cidr_pair_details, + is_assign_ipv6ip=is_assign_ipv6ip, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ipv6address_ipv6subnet_cidr_pair_details: Optional[Sequence['outputs.ClusterNetworkInstancePoolPlacementConfigurationPrimaryVnicSubnetIpv6addressIpv6subnetCidrPairDetail']] = None, + is_assign_ipv6ip: Optional[bool] = None, + subnet_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ipv6address_ipv6subnet_cidr_pair_details is not None: - pulumi.set(__self__, "ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) + _setter("ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) if is_assign_ipv6ip is not None: - pulumi.set(__self__, "is_assign_ipv6ip", is_assign_ipv6ip) + _setter("is_assign_ipv6ip", is_assign_ipv6ip) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="ipv6addressIpv6subnetCidrPairDetails") @@ -1831,8 +2074,17 @@ def __init__(__self__, *, """ :param str ipv6subnet_cidr: Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation. """ + ClusterNetworkInstancePoolPlacementConfigurationPrimaryVnicSubnetIpv6addressIpv6subnetCidrPairDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + ipv6subnet_cidr=ipv6subnet_cidr, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ipv6subnet_cidr: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ipv6subnet_cidr is not None: - pulumi.set(__self__, "ipv6subnet_cidr", ipv6subnet_cidr) + _setter("ipv6subnet_cidr", ipv6subnet_cidr) @property @pulumi.getter(name="ipv6subnetCidr") @@ -1883,14 +2135,29 @@ def __init__(__self__, *, ** 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 """ + ClusterNetworkInstancePoolPlacementConfigurationSecondaryVnicSubnet._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + ipv6address_ipv6subnet_cidr_pair_details=ipv6address_ipv6subnet_cidr_pair_details, + is_assign_ipv6ip=is_assign_ipv6ip, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: Optional[str] = None, + ipv6address_ipv6subnet_cidr_pair_details: Optional[Sequence['outputs.ClusterNetworkInstancePoolPlacementConfigurationSecondaryVnicSubnetIpv6addressIpv6subnetCidrPairDetail']] = None, + is_assign_ipv6ip: Optional[bool] = None, + subnet_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if ipv6address_ipv6subnet_cidr_pair_details is not None: - pulumi.set(__self__, "ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) + _setter("ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) if is_assign_ipv6ip is not None: - pulumi.set(__self__, "is_assign_ipv6ip", is_assign_ipv6ip) + _setter("is_assign_ipv6ip", is_assign_ipv6ip) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="displayName") @@ -1953,8 +2220,17 @@ def __init__(__self__, *, """ :param str ipv6subnet_cidr: Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation. """ + ClusterNetworkInstancePoolPlacementConfigurationSecondaryVnicSubnetIpv6addressIpv6subnetCidrPairDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + ipv6subnet_cidr=ipv6subnet_cidr, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ipv6subnet_cidr: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ipv6subnet_cidr is not None: - pulumi.set(__self__, "ipv6subnet_cidr", ipv6subnet_cidr) + _setter("ipv6subnet_cidr", ipv6subnet_cidr) @property @pulumi.getter(name="ipv6subnetCidr") @@ -2004,15 +2280,32 @@ def __init__(__self__, *, :param 'ClusterNetworkPlacementConfigurationPrimaryVnicSubnetsArgs' primary_vnic_subnets: Details about the IPv6 primary subnet. :param Sequence['ClusterNetworkPlacementConfigurationSecondaryVnicSubnetArgs'] secondary_vnic_subnets: The set of secondary VNIC data for instances in the pool. """ - pulumi.set(__self__, "availability_domain", availability_domain) + ClusterNetworkPlacementConfiguration._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + placement_constraint=placement_constraint, + primary_subnet_id=primary_subnet_id, + primary_vnic_subnets=primary_vnic_subnets, + secondary_vnic_subnets=secondary_vnic_subnets, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + placement_constraint: Optional[str] = None, + primary_subnet_id: Optional[str] = None, + primary_vnic_subnets: Optional['outputs.ClusterNetworkPlacementConfigurationPrimaryVnicSubnets'] = None, + secondary_vnic_subnets: Optional[Sequence['outputs.ClusterNetworkPlacementConfigurationSecondaryVnicSubnet']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) if placement_constraint is not None: - pulumi.set(__self__, "placement_constraint", placement_constraint) + _setter("placement_constraint", placement_constraint) if primary_subnet_id is not None: - pulumi.set(__self__, "primary_subnet_id", primary_subnet_id) + _setter("primary_subnet_id", primary_subnet_id) if primary_vnic_subnets is not None: - pulumi.set(__self__, "primary_vnic_subnets", primary_vnic_subnets) + _setter("primary_vnic_subnets", primary_vnic_subnets) if secondary_vnic_subnets is not None: - pulumi.set(__self__, "secondary_vnic_subnets", secondary_vnic_subnets) + _setter("secondary_vnic_subnets", secondary_vnic_subnets) @property @pulumi.getter(name="availabilityDomain") @@ -2088,11 +2381,24 @@ def __init__(__self__, *, :param Sequence['ClusterNetworkPlacementConfigurationPrimaryVnicSubnetsIpv6addressIpv6subnetCidrPairDetailArgs'] ipv6address_ipv6subnet_cidr_pair_details: A list of IPv6 prefix ranges from which the VNIC should be assigned an IPv6 address. You can provide only the prefix ranges and Oracle Cloud Infrastructure will select an available address from the range. You can optionally choose to leave the prefix range empty and instead provide the specific IPv6 address that should be used from within that range. :param bool is_assign_ipv6ip: Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled subnet. Default: False. When provided you may optionally provide an IPv6 prefix (`ipv6SubnetCidr`) of your choice to assign the IPv6 address from. If `ipv6SubnetCidr` is not provided then an IPv6 prefix is chosen for you. """ - pulumi.set(__self__, "subnet_id", subnet_id) + ClusterNetworkPlacementConfigurationPrimaryVnicSubnets._configure( + lambda key, value: pulumi.set(__self__, key, value), + subnet_id=subnet_id, + ipv6address_ipv6subnet_cidr_pair_details=ipv6address_ipv6subnet_cidr_pair_details, + is_assign_ipv6ip=is_assign_ipv6ip, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + subnet_id: str, + ipv6address_ipv6subnet_cidr_pair_details: Optional[Sequence['outputs.ClusterNetworkPlacementConfigurationPrimaryVnicSubnetsIpv6addressIpv6subnetCidrPairDetail']] = None, + is_assign_ipv6ip: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("subnet_id", subnet_id) if ipv6address_ipv6subnet_cidr_pair_details is not None: - pulumi.set(__self__, "ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) + _setter("ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) if is_assign_ipv6ip is not None: - pulumi.set(__self__, "is_assign_ipv6ip", is_assign_ipv6ip) + _setter("is_assign_ipv6ip", is_assign_ipv6ip) @property @pulumi.getter(name="subnetId") @@ -2147,8 +2453,17 @@ def __init__(__self__, *, """ :param str ipv6subnet_cidr: Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation. """ + ClusterNetworkPlacementConfigurationPrimaryVnicSubnetsIpv6addressIpv6subnetCidrPairDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + ipv6subnet_cidr=ipv6subnet_cidr, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ipv6subnet_cidr: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ipv6subnet_cidr is not None: - pulumi.set(__self__, "ipv6subnet_cidr", ipv6subnet_cidr) + _setter("ipv6subnet_cidr", ipv6subnet_cidr) @property @pulumi.getter(name="ipv6subnetCidr") @@ -2199,13 +2514,28 @@ def __init__(__self__, *, :param Sequence['ClusterNetworkPlacementConfigurationSecondaryVnicSubnetIpv6addressIpv6subnetCidrPairDetailArgs'] ipv6address_ipv6subnet_cidr_pair_details: A list of IPv6 prefix ranges from which the VNIC should be assigned an IPv6 address. You can provide only the prefix ranges and Oracle Cloud Infrastructure will select an available address from the range. You can optionally choose to leave the prefix range empty and instead provide the specific IPv6 address that should be used from within that range. :param bool is_assign_ipv6ip: Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled subnet. Default: False. When provided you may optionally provide an IPv6 prefix (`ipv6SubnetCidr`) of your choice to assign the IPv6 address from. If `ipv6SubnetCidr` is not provided then an IPv6 prefix is chosen for you. """ - pulumi.set(__self__, "subnet_id", subnet_id) + ClusterNetworkPlacementConfigurationSecondaryVnicSubnet._configure( + lambda key, value: pulumi.set(__self__, key, value), + subnet_id=subnet_id, + display_name=display_name, + ipv6address_ipv6subnet_cidr_pair_details=ipv6address_ipv6subnet_cidr_pair_details, + is_assign_ipv6ip=is_assign_ipv6ip, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + subnet_id: str, + display_name: Optional[str] = None, + ipv6address_ipv6subnet_cidr_pair_details: Optional[Sequence['outputs.ClusterNetworkPlacementConfigurationSecondaryVnicSubnetIpv6addressIpv6subnetCidrPairDetail']] = None, + is_assign_ipv6ip: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("subnet_id", subnet_id) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if ipv6address_ipv6subnet_cidr_pair_details is not None: - pulumi.set(__self__, "ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) + _setter("ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) if is_assign_ipv6ip is not None: - pulumi.set(__self__, "is_assign_ipv6ip", is_assign_ipv6ip) + _setter("is_assign_ipv6ip", is_assign_ipv6ip) @property @pulumi.getter(name="subnetId") @@ -2268,8 +2598,17 @@ def __init__(__self__, *, """ :param str ipv6subnet_cidr: Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation. """ + ClusterNetworkPlacementConfigurationSecondaryVnicSubnetIpv6addressIpv6subnetCidrPairDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + ipv6subnet_cidr=ipv6subnet_cidr, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ipv6subnet_cidr: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ipv6subnet_cidr is not None: - pulumi.set(__self__, "ipv6subnet_cidr", ipv6subnet_cidr) + _setter("ipv6subnet_cidr", ipv6subnet_cidr) @property @pulumi.getter(name="ipv6subnetCidr") @@ -2322,15 +2661,32 @@ def __init__(__self__, *, If you do not specify a fault domain, the capacity report includes information about all fault domains. :param 'ComputeCapacityReportShapeAvailabilityInstanceShapeConfigArgs' instance_shape_config: The shape configuration for a shape in a capacity report. """ - pulumi.set(__self__, "instance_shape", instance_shape) + ComputeCapacityReportShapeAvailability._configure( + lambda key, value: pulumi.set(__self__, key, value), + instance_shape=instance_shape, + availability_status=availability_status, + available_count=available_count, + fault_domain=fault_domain, + instance_shape_config=instance_shape_config, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + instance_shape: str, + availability_status: Optional[str] = None, + available_count: Optional[str] = None, + fault_domain: Optional[str] = None, + instance_shape_config: Optional['outputs.ComputeCapacityReportShapeAvailabilityInstanceShapeConfig'] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("instance_shape", instance_shape) if availability_status is not None: - pulumi.set(__self__, "availability_status", availability_status) + _setter("availability_status", availability_status) if available_count is not None: - pulumi.set(__self__, "available_count", available_count) + _setter("available_count", available_count) if fault_domain is not None: - pulumi.set(__self__, "fault_domain", fault_domain) + _setter("fault_domain", fault_domain) if instance_shape_config is not None: - pulumi.set(__self__, "instance_shape_config", instance_shape_config) + _setter("instance_shape_config", instance_shape_config) @property @pulumi.getter(name="instanceShape") @@ -2407,12 +2763,25 @@ def __init__(__self__, *, ** 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 """ + ComputeCapacityReportShapeAvailabilityInstanceShapeConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + nvmes=nvmes, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: Optional[float] = None, + nvmes: Optional[int] = None, + ocpus: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions]=None): if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) if nvmes is not None: - pulumi.set(__self__, "nvmes", nvmes) + _setter("nvmes", nvmes) if ocpus is not None: - pulumi.set(__self__, "ocpus", ocpus) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -2499,16 +2868,35 @@ def __init__(__self__, *, For more information about customizing the resources that are allocated to flexible shapes, see [Flexible Shapes](https://docs.cloud.oracle.com/iaas/Content/Compute/References/computeshapes.htm#flexible). :param str used_count: The amount of capacity in use out of the total capacity reserved in this capacity configuration. """ - pulumi.set(__self__, "instance_shape", instance_shape) - pulumi.set(__self__, "reserved_count", reserved_count) + ComputeCapacityReservationInstanceReservationConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + instance_shape=instance_shape, + reserved_count=reserved_count, + cluster_config=cluster_config, + fault_domain=fault_domain, + instance_shape_config=instance_shape_config, + used_count=used_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + instance_shape: str, + reserved_count: str, + cluster_config: Optional['outputs.ComputeCapacityReservationInstanceReservationConfigClusterConfig'] = None, + fault_domain: Optional[str] = None, + instance_shape_config: Optional['outputs.ComputeCapacityReservationInstanceReservationConfigInstanceShapeConfig'] = None, + used_count: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("instance_shape", instance_shape) + _setter("reserved_count", reserved_count) if cluster_config is not None: - pulumi.set(__self__, "cluster_config", cluster_config) + _setter("cluster_config", cluster_config) if fault_domain is not None: - pulumi.set(__self__, "fault_domain", fault_domain) + _setter("fault_domain", fault_domain) if instance_shape_config is not None: - pulumi.set(__self__, "instance_shape_config", instance_shape_config) + _setter("instance_shape_config", instance_shape_config) if used_count is not None: - pulumi.set(__self__, "used_count", used_count) + _setter("used_count", used_count) @property @pulumi.getter(name="instanceShape") @@ -2599,9 +2987,20 @@ def __init__(__self__, *, :param str hpc_island_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the HPC island. :param Sequence[str] network_block_ids: (Updatable) The list of OCIDs of the network blocks. """ - pulumi.set(__self__, "hpc_island_id", hpc_island_id) + ComputeCapacityReservationInstanceReservationConfigClusterConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + hpc_island_id=hpc_island_id, + network_block_ids=network_block_ids, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hpc_island_id: str, + network_block_ids: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("hpc_island_id", hpc_island_id) if network_block_ids is not None: - pulumi.set(__self__, "network_block_ids", network_block_ids) + _setter("network_block_ids", network_block_ids) @property @pulumi.getter(name="hpcIslandId") @@ -2646,10 +3045,21 @@ def __init__(__self__, *, :param float memory_in_gbs: (Updatable) The total amount of memory available to the instance, in gigabytes. :param float ocpus: (Updatable) The total number of OCPUs available to the instance. """ + ComputeCapacityReservationInstanceReservationConfigInstanceShapeConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: Optional[float] = None, + ocpus: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions]=None): if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) if ocpus is not None: - pulumi.set(__self__, "ocpus", ocpus) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -2706,13 +3116,28 @@ def __init__(__self__, *, :param bool is_unprotected_traffic_allowed: (Updatable) Indicates whether unencrypted traffic is allowed if MACsec Key Agreement protocol (MKA) fails. :param 'CrossConnectGroupMacsecPropertiesPrimaryKeyArgs' primary_key: (Updatable) Defines the secret [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)s held in Vault that represent the MACsec key. """ - pulumi.set(__self__, "state", state) + CrossConnectGroupMacsecProperties._configure( + lambda key, value: pulumi.set(__self__, key, value), + state=state, + encryption_cipher=encryption_cipher, + is_unprotected_traffic_allowed=is_unprotected_traffic_allowed, + primary_key=primary_key, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + state: str, + encryption_cipher: Optional[str] = None, + is_unprotected_traffic_allowed: Optional[bool] = None, + primary_key: Optional['outputs.CrossConnectGroupMacsecPropertiesPrimaryKey'] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("state", state) if encryption_cipher is not None: - pulumi.set(__self__, "encryption_cipher", encryption_cipher) + _setter("encryption_cipher", encryption_cipher) if is_unprotected_traffic_allowed is not None: - pulumi.set(__self__, "is_unprotected_traffic_allowed", is_unprotected_traffic_allowed) + _setter("is_unprotected_traffic_allowed", is_unprotected_traffic_allowed) if primary_key is not None: - pulumi.set(__self__, "primary_key", primary_key) + _setter("primary_key", primary_key) @property @pulumi.getter @@ -2791,12 +3216,27 @@ def __init__(__self__, *, :param str connectivity_association_key_secret_version: The secret version of the `connectivityAssociationKey` secret in Vault. :param str connectivity_association_name_secret_version: The secret version of the connectivity association name secret in Vault. """ - pulumi.set(__self__, "connectivity_association_key_secret_id", connectivity_association_key_secret_id) - pulumi.set(__self__, "connectivity_association_name_secret_id", connectivity_association_name_secret_id) + CrossConnectGroupMacsecPropertiesPrimaryKey._configure( + lambda key, value: pulumi.set(__self__, key, value), + connectivity_association_key_secret_id=connectivity_association_key_secret_id, + connectivity_association_name_secret_id=connectivity_association_name_secret_id, + connectivity_association_key_secret_version=connectivity_association_key_secret_version, + connectivity_association_name_secret_version=connectivity_association_name_secret_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + connectivity_association_key_secret_id: str, + connectivity_association_name_secret_id: str, + connectivity_association_key_secret_version: Optional[str] = None, + connectivity_association_name_secret_version: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("connectivity_association_key_secret_id", connectivity_association_key_secret_id) + _setter("connectivity_association_name_secret_id", connectivity_association_name_secret_id) if connectivity_association_key_secret_version is not None: - pulumi.set(__self__, "connectivity_association_key_secret_version", connectivity_association_key_secret_version) + _setter("connectivity_association_key_secret_version", connectivity_association_key_secret_version) if connectivity_association_name_secret_version is not None: - pulumi.set(__self__, "connectivity_association_name_secret_version", connectivity_association_name_secret_version) + _setter("connectivity_association_name_secret_version", connectivity_association_name_secret_version) @property @pulumi.getter(name="connectivityAssociationKeySecretId") @@ -2869,13 +3309,28 @@ def __init__(__self__, *, :param bool is_unprotected_traffic_allowed: (Updatable) Indicates whether unencrypted traffic is allowed if MACsec Key Agreement protocol (MKA) fails. :param 'CrossConnectMacsecPropertiesPrimaryKeyArgs' primary_key: (Updatable) Defines the secret [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)s held in Vault that represent the MACsec key. """ - pulumi.set(__self__, "state", state) + CrossConnectMacsecProperties._configure( + lambda key, value: pulumi.set(__self__, key, value), + state=state, + encryption_cipher=encryption_cipher, + is_unprotected_traffic_allowed=is_unprotected_traffic_allowed, + primary_key=primary_key, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + state: str, + encryption_cipher: Optional[str] = None, + is_unprotected_traffic_allowed: Optional[bool] = None, + primary_key: Optional['outputs.CrossConnectMacsecPropertiesPrimaryKey'] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("state", state) if encryption_cipher is not None: - pulumi.set(__self__, "encryption_cipher", encryption_cipher) + _setter("encryption_cipher", encryption_cipher) if is_unprotected_traffic_allowed is not None: - pulumi.set(__self__, "is_unprotected_traffic_allowed", is_unprotected_traffic_allowed) + _setter("is_unprotected_traffic_allowed", is_unprotected_traffic_allowed) if primary_key is not None: - pulumi.set(__self__, "primary_key", primary_key) + _setter("primary_key", primary_key) @property @pulumi.getter @@ -2950,12 +3405,27 @@ def __init__(__self__, *, :param str connectivity_association_key_secret_version: The secret version of the `connectivityAssociationKey` secret in Vault. :param str connectivity_association_name_secret_version: The secret version of the connectivity association name secret in Vault. """ - pulumi.set(__self__, "connectivity_association_key_secret_id", connectivity_association_key_secret_id) - pulumi.set(__self__, "connectivity_association_name_secret_id", connectivity_association_name_secret_id) + CrossConnectMacsecPropertiesPrimaryKey._configure( + lambda key, value: pulumi.set(__self__, key, value), + connectivity_association_key_secret_id=connectivity_association_key_secret_id, + connectivity_association_name_secret_id=connectivity_association_name_secret_id, + connectivity_association_key_secret_version=connectivity_association_key_secret_version, + connectivity_association_name_secret_version=connectivity_association_name_secret_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + connectivity_association_key_secret_id: str, + connectivity_association_name_secret_id: str, + connectivity_association_key_secret_version: Optional[str] = None, + connectivity_association_name_secret_version: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("connectivity_association_key_secret_id", connectivity_association_key_secret_id) + _setter("connectivity_association_name_secret_id", connectivity_association_name_secret_id) if connectivity_association_key_secret_version is not None: - pulumi.set(__self__, "connectivity_association_key_secret_version", connectivity_association_key_secret_version) + _setter("connectivity_association_key_secret_version", connectivity_association_key_secret_version) if connectivity_association_name_secret_version is not None: - pulumi.set(__self__, "connectivity_association_name_secret_version", connectivity_association_name_secret_version) + _setter("connectivity_association_name_secret_version", connectivity_association_name_secret_version) @property @pulumi.getter(name="connectivityAssociationKeySecretId") @@ -3022,13 +3492,28 @@ def __init__(__self__, *, custom_dns_servers: Optional[Sequence[str]] = None, search_domain_names: Optional[Sequence[str]] = None, server_type: Optional[str] = None): - pulumi.set(__self__, "type", type) + DefaultDhcpOptionsOption._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + custom_dns_servers=custom_dns_servers, + search_domain_names=search_domain_names, + server_type=server_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + custom_dns_servers: Optional[Sequence[str]] = None, + search_domain_names: Optional[Sequence[str]] = None, + server_type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if custom_dns_servers is not None: - pulumi.set(__self__, "custom_dns_servers", custom_dns_servers) + _setter("custom_dns_servers", custom_dns_servers) if search_domain_names is not None: - pulumi.set(__self__, "search_domain_names", search_domain_names) + _setter("search_domain_names", search_domain_names) if server_type is not None: - pulumi.set(__self__, "server_type", server_type) + _setter("server_type", server_type) @property @pulumi.getter @@ -3083,17 +3568,36 @@ def __init__(__self__, *, destination: Optional[str] = None, destination_type: Optional[str] = None, route_type: Optional[str] = None): - pulumi.set(__self__, "network_entity_id", network_entity_id) + DefaultRouteTableRouteRule._configure( + lambda key, value: pulumi.set(__self__, key, value), + network_entity_id=network_entity_id, + cidr_block=cidr_block, + description=description, + destination=destination, + destination_type=destination_type, + route_type=route_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + network_entity_id: str, + cidr_block: Optional[str] = None, + description: Optional[str] = None, + destination: Optional[str] = None, + destination_type: Optional[str] = None, + route_type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("network_entity_id", network_entity_id) if cidr_block is not None: - pulumi.set(__self__, "cidr_block", cidr_block) + _setter("cidr_block", cidr_block) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if destination is not None: - pulumi.set(__self__, "destination", destination) + _setter("destination", destination) if destination_type is not None: - pulumi.set(__self__, "destination_type", destination_type) + _setter("destination_type", destination_type) if route_type is not None: - pulumi.set(__self__, "route_type", route_type) + _setter("route_type", route_type) @property @pulumi.getter(name="networkEntityId") @@ -3163,20 +3667,43 @@ def __init__(__self__, *, stateless: Optional[bool] = None, tcp_options: Optional['outputs.DefaultSecurityListEgressSecurityRuleTcpOptions'] = None, udp_options: Optional['outputs.DefaultSecurityListEgressSecurityRuleUdpOptions'] = None): - pulumi.set(__self__, "destination", destination) - pulumi.set(__self__, "protocol", protocol) + DefaultSecurityListEgressSecurityRule._configure( + lambda key, value: pulumi.set(__self__, key, value), + destination=destination, + protocol=protocol, + description=description, + destination_type=destination_type, + icmp_options=icmp_options, + stateless=stateless, + tcp_options=tcp_options, + udp_options=udp_options, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + destination: str, + protocol: str, + description: Optional[str] = None, + destination_type: Optional[str] = None, + icmp_options: Optional['outputs.DefaultSecurityListEgressSecurityRuleIcmpOptions'] = None, + stateless: Optional[bool] = None, + tcp_options: Optional['outputs.DefaultSecurityListEgressSecurityRuleTcpOptions'] = None, + udp_options: Optional['outputs.DefaultSecurityListEgressSecurityRuleUdpOptions'] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("destination", destination) + _setter("protocol", protocol) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if destination_type is not None: - pulumi.set(__self__, "destination_type", destination_type) + _setter("destination_type", destination_type) if icmp_options is not None: - pulumi.set(__self__, "icmp_options", icmp_options) + _setter("icmp_options", icmp_options) if stateless is not None: - pulumi.set(__self__, "stateless", stateless) + _setter("stateless", stateless) if tcp_options is not None: - pulumi.set(__self__, "tcp_options", tcp_options) + _setter("tcp_options", tcp_options) if udp_options is not None: - pulumi.set(__self__, "udp_options", udp_options) + _setter("udp_options", udp_options) @property @pulumi.getter @@ -3224,9 +3751,20 @@ class DefaultSecurityListEgressSecurityRuleIcmpOptions(dict): def __init__(__self__, *, type: int, code: Optional[int] = None): - pulumi.set(__self__, "type", type) + DefaultSecurityListEgressSecurityRuleIcmpOptions._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + code=code, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: int, + code: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if code is not None: - pulumi.set(__self__, "code", code) + _setter("code", code) @property @pulumi.getter @@ -3262,12 +3800,25 @@ def __init__(__self__, *, max: Optional[int] = None, min: Optional[int] = None, source_port_range: Optional['outputs.DefaultSecurityListEgressSecurityRuleTcpOptionsSourcePortRange'] = None): + DefaultSecurityListEgressSecurityRuleTcpOptions._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + source_port_range=source_port_range, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: Optional[int] = None, + min: Optional[int] = None, + source_port_range: Optional['outputs.DefaultSecurityListEgressSecurityRuleTcpOptionsSourcePortRange'] = None, + opts: Optional[pulumi.ResourceOptions]=None): if max is not None: - pulumi.set(__self__, "max", max) + _setter("max", max) if min is not None: - pulumi.set(__self__, "min", min) + _setter("min", min) if source_port_range is not None: - pulumi.set(__self__, "source_port_range", source_port_range) + _setter("source_port_range", source_port_range) @property @pulumi.getter @@ -3290,8 +3841,19 @@ class DefaultSecurityListEgressSecurityRuleTcpOptionsSourcePortRange(dict): def __init__(__self__, *, max: int, min: int): - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "min", min) + DefaultSecurityListEgressSecurityRuleTcpOptionsSourcePortRange._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: int, + min: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max", max) + _setter("min", min) @property @pulumi.getter @@ -3327,12 +3889,25 @@ def __init__(__self__, *, max: Optional[int] = None, min: Optional[int] = None, source_port_range: Optional['outputs.DefaultSecurityListEgressSecurityRuleUdpOptionsSourcePortRange'] = None): + DefaultSecurityListEgressSecurityRuleUdpOptions._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + source_port_range=source_port_range, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: Optional[int] = None, + min: Optional[int] = None, + source_port_range: Optional['outputs.DefaultSecurityListEgressSecurityRuleUdpOptionsSourcePortRange'] = None, + opts: Optional[pulumi.ResourceOptions]=None): if max is not None: - pulumi.set(__self__, "max", max) + _setter("max", max) if min is not None: - pulumi.set(__self__, "min", min) + _setter("min", min) if source_port_range is not None: - pulumi.set(__self__, "source_port_range", source_port_range) + _setter("source_port_range", source_port_range) @property @pulumi.getter @@ -3355,8 +3930,19 @@ class DefaultSecurityListEgressSecurityRuleUdpOptionsSourcePortRange(dict): def __init__(__self__, *, max: int, min: int): - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "min", min) + DefaultSecurityListEgressSecurityRuleUdpOptionsSourcePortRange._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: int, + min: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max", max) + _setter("min", min) @property @pulumi.getter @@ -3403,20 +3989,43 @@ def __init__(__self__, *, stateless: Optional[bool] = None, tcp_options: Optional['outputs.DefaultSecurityListIngressSecurityRuleTcpOptions'] = None, udp_options: Optional['outputs.DefaultSecurityListIngressSecurityRuleUdpOptions'] = None): - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "source", source) + DefaultSecurityListIngressSecurityRule._configure( + lambda key, value: pulumi.set(__self__, key, value), + protocol=protocol, + source=source, + description=description, + icmp_options=icmp_options, + source_type=source_type, + stateless=stateless, + tcp_options=tcp_options, + udp_options=udp_options, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + protocol: str, + source: str, + description: Optional[str] = None, + icmp_options: Optional['outputs.DefaultSecurityListIngressSecurityRuleIcmpOptions'] = None, + source_type: Optional[str] = None, + stateless: Optional[bool] = None, + tcp_options: Optional['outputs.DefaultSecurityListIngressSecurityRuleTcpOptions'] = None, + udp_options: Optional['outputs.DefaultSecurityListIngressSecurityRuleUdpOptions'] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("protocol", protocol) + _setter("source", source) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if icmp_options is not None: - pulumi.set(__self__, "icmp_options", icmp_options) + _setter("icmp_options", icmp_options) if source_type is not None: - pulumi.set(__self__, "source_type", source_type) + _setter("source_type", source_type) if stateless is not None: - pulumi.set(__self__, "stateless", stateless) + _setter("stateless", stateless) if tcp_options is not None: - pulumi.set(__self__, "tcp_options", tcp_options) + _setter("tcp_options", tcp_options) if udp_options is not None: - pulumi.set(__self__, "udp_options", udp_options) + _setter("udp_options", udp_options) @property @pulumi.getter @@ -3464,9 +4073,20 @@ class DefaultSecurityListIngressSecurityRuleIcmpOptions(dict): def __init__(__self__, *, type: int, code: Optional[int] = None): - pulumi.set(__self__, "type", type) + DefaultSecurityListIngressSecurityRuleIcmpOptions._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + code=code, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: int, + code: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if code is not None: - pulumi.set(__self__, "code", code) + _setter("code", code) @property @pulumi.getter @@ -3502,12 +4122,25 @@ def __init__(__self__, *, max: Optional[int] = None, min: Optional[int] = None, source_port_range: Optional['outputs.DefaultSecurityListIngressSecurityRuleTcpOptionsSourcePortRange'] = None): + DefaultSecurityListIngressSecurityRuleTcpOptions._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + source_port_range=source_port_range, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: Optional[int] = None, + min: Optional[int] = None, + source_port_range: Optional['outputs.DefaultSecurityListIngressSecurityRuleTcpOptionsSourcePortRange'] = None, + opts: Optional[pulumi.ResourceOptions]=None): if max is not None: - pulumi.set(__self__, "max", max) + _setter("max", max) if min is not None: - pulumi.set(__self__, "min", min) + _setter("min", min) if source_port_range is not None: - pulumi.set(__self__, "source_port_range", source_port_range) + _setter("source_port_range", source_port_range) @property @pulumi.getter @@ -3530,8 +4163,19 @@ class DefaultSecurityListIngressSecurityRuleTcpOptionsSourcePortRange(dict): def __init__(__self__, *, max: int, min: int): - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "min", min) + DefaultSecurityListIngressSecurityRuleTcpOptionsSourcePortRange._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: int, + min: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max", max) + _setter("min", min) @property @pulumi.getter @@ -3567,12 +4211,25 @@ def __init__(__self__, *, max: Optional[int] = None, min: Optional[int] = None, source_port_range: Optional['outputs.DefaultSecurityListIngressSecurityRuleUdpOptionsSourcePortRange'] = None): + DefaultSecurityListIngressSecurityRuleUdpOptions._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + source_port_range=source_port_range, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: Optional[int] = None, + min: Optional[int] = None, + source_port_range: Optional['outputs.DefaultSecurityListIngressSecurityRuleUdpOptionsSourcePortRange'] = None, + opts: Optional[pulumi.ResourceOptions]=None): if max is not None: - pulumi.set(__self__, "max", max) + _setter("max", max) if min is not None: - pulumi.set(__self__, "min", min) + _setter("min", min) if source_port_range is not None: - pulumi.set(__self__, "source_port_range", source_port_range) + _setter("source_port_range", source_port_range) @property @pulumi.getter @@ -3595,8 +4252,19 @@ class DefaultSecurityListIngressSecurityRuleUdpOptionsSourcePortRange(dict): def __init__(__self__, *, max: int, min: int): - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "min", min) + DefaultSecurityListIngressSecurityRuleUdpOptionsSourcePortRange._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: int, + min: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max", max) + _setter("min", min) @property @pulumi.getter @@ -3650,13 +4318,28 @@ def __init__(__self__, *, * **VcnLocalPlusInternet:** Also referred to as "Internet and VCN Resolver". Instances can resolve internet hostnames (no internet gateway is required), and can resolve hostnames of instances in the VCN. This is the default value in the default set of DHCP options in the VCN. For the Internet and VCN Resolver to work across the VCN, there must also be a DNS label set for the VCN, a DNS label set for each subnet, and a hostname for each instance. The Internet and VCN Resolver also enables reverse DNS lookup, which lets you determine the hostname corresponding to the private IP address. For more information, see [DNS in Your Virtual Cloud Network](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/dns.htm). * **CustomDnsServer:** Instances use a DNS server of your choice (three maximum). """ - pulumi.set(__self__, "type", type) + DhcpOptionsOption._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + custom_dns_servers=custom_dns_servers, + search_domain_names=search_domain_names, + server_type=server_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + custom_dns_servers: Optional[Sequence[str]] = None, + search_domain_names: Optional[Sequence[str]] = None, + server_type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if custom_dns_servers is not None: - pulumi.set(__self__, "custom_dns_servers", custom_dns_servers) + _setter("custom_dns_servers", custom_dns_servers) if search_domain_names is not None: - pulumi.set(__self__, "search_domain_names", search_domain_names) + _setter("search_domain_names", search_domain_names) if server_type is not None: - pulumi.set(__self__, "server_type", server_type) + _setter("server_type", server_type) @property @pulumi.getter @@ -3734,12 +4417,27 @@ def __init__(__self__, *, * [Transit Routing: Access to Multiple VCNs in Same Region](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitrouting.htm) * [Transit Routing: Private Access to Oracle Services](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm) This field is deprecated. Instead, use the `networkDetails` field to view the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the attached resource. """ - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "type", type) + DrgAttachmentManagementNetworkDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + type=type, + ipsec_connection_id=ipsec_connection_id, + route_table_id=route_table_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: str, + type: str, + ipsec_connection_id: Optional[str] = None, + route_table_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) + _setter("type", type) if ipsec_connection_id is not None: - pulumi.set(__self__, "ipsec_connection_id", ipsec_connection_id) + _setter("ipsec_connection_id", ipsec_connection_id) if route_table_id is not None: - pulumi.set(__self__, "route_table_id", route_table_id) + _setter("route_table_id", route_table_id) @property @pulumi.getter @@ -3829,21 +4527,44 @@ def __init__(__self__, *, :param bool transport_only_mode: Boolean flag that determines wether all traffic over the virtual circuits is encrypted. Example: `true` :param str vcn_route_type: (Updatable) Indicates whether the VCN CIDRs or the individual subnet CIDRs are imported from the attachment. Routes from the VCN ingress route table are always imported. """ - pulumi.set(__self__, "type", type) + DrgAttachmentNetworkDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + id=id, + ids=ids, + ipsec_connection_id=ipsec_connection_id, + route_table_id=route_table_id, + transport_attachment_id=transport_attachment_id, + transport_only_mode=transport_only_mode, + vcn_route_type=vcn_route_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + id: Optional[str] = None, + ids: Optional[Sequence[str]] = None, + ipsec_connection_id: Optional[str] = None, + route_table_id: Optional[str] = None, + transport_attachment_id: Optional[str] = None, + transport_only_mode: Optional[bool] = None, + vcn_route_type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if ids is not None: - pulumi.set(__self__, "ids", ids) + _setter("ids", ids) if ipsec_connection_id is not None: - pulumi.set(__self__, "ipsec_connection_id", ipsec_connection_id) + _setter("ipsec_connection_id", ipsec_connection_id) if route_table_id is not None: - pulumi.set(__self__, "route_table_id", route_table_id) + _setter("route_table_id", route_table_id) if transport_attachment_id is not None: - pulumi.set(__self__, "transport_attachment_id", transport_attachment_id) + _setter("transport_attachment_id", transport_attachment_id) if transport_only_mode is not None: - pulumi.set(__self__, "transport_only_mode", transport_only_mode) + _setter("transport_only_mode", transport_only_mode) if vcn_route_type is not None: - pulumi.set(__self__, "vcn_route_type", vcn_route_type) + _setter("vcn_route_type", vcn_route_type) @property @pulumi.getter @@ -3922,8 +4643,17 @@ def __init__(__self__, *, """ :param str id: The Oracle-assigned ID of the DRG attachment """ + DrgAttachmentsListDrgAllAttachment._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) @property @pulumi.getter @@ -3968,14 +4698,29 @@ def __init__(__self__, *, :param str vcn: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the default DRG route table to be assigned to DRG attachments of type VCN on creation. :param str virtual_circuit: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the default DRG route table to be assigned to DRG attachments of type VIRTUAL_CIRCUIT on creation. """ + DrgDefaultDrgRouteTable._configure( + lambda key, value: pulumi.set(__self__, key, value), + ipsec_tunnel=ipsec_tunnel, + remote_peering_connection=remote_peering_connection, + vcn=vcn, + virtual_circuit=virtual_circuit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ipsec_tunnel: Optional[str] = None, + remote_peering_connection: Optional[str] = None, + vcn: Optional[str] = None, + virtual_circuit: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ipsec_tunnel is not None: - pulumi.set(__self__, "ipsec_tunnel", ipsec_tunnel) + _setter("ipsec_tunnel", ipsec_tunnel) if remote_peering_connection is not None: - pulumi.set(__self__, "remote_peering_connection", remote_peering_connection) + _setter("remote_peering_connection", remote_peering_connection) if vcn is not None: - pulumi.set(__self__, "vcn", vcn) + _setter("vcn", vcn) if virtual_circuit is not None: - pulumi.set(__self__, "virtual_circuit", virtual_circuit) + _setter("virtual_circuit", virtual_circuit) @property @pulumi.getter(name="ipsecTunnel") @@ -4042,12 +4787,25 @@ def __init__(__self__, *, :param str drg_attachment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG attachment. :param str match_type: (Updatable) The type of the match criteria for a route distribution statement. """ + DrgRouteDistributionStatementMatchCriteria._configure( + lambda key, value: pulumi.set(__self__, key, value), + attachment_type=attachment_type, + drg_attachment_id=drg_attachment_id, + match_type=match_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attachment_type: Optional[str] = None, + drg_attachment_id: Optional[str] = None, + match_type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if attachment_type is not None: - pulumi.set(__self__, "attachment_type", attachment_type) + _setter("attachment_type", attachment_type) if drg_attachment_id is not None: - pulumi.set(__self__, "drg_attachment_id", drg_attachment_id) + _setter("drg_attachment_id", drg_attachment_id) if match_type is not None: - pulumi.set(__self__, "match_type", match_type) + _setter("match_type", match_type) @property @pulumi.getter(name="attachmentType") @@ -4102,10 +4860,21 @@ def __init__(__self__, *, :param bool is_management_supported: This attribute is not used. :param bool is_monitoring_supported: This attribute is not used. """ + ImageAgentFeature._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_management_supported=is_management_supported, + is_monitoring_supported=is_monitoring_supported, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_management_supported: Optional[bool] = None, + is_monitoring_supported: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_management_supported is not None: - pulumi.set(__self__, "is_management_supported", is_management_supported) + _setter("is_management_supported", is_management_supported) if is_monitoring_supported is not None: - pulumi.set(__self__, "is_monitoring_supported", is_monitoring_supported) + _setter("is_monitoring_supported", is_monitoring_supported) @property @pulumi.getter(name="isManagementSupported") @@ -4176,21 +4945,44 @@ def __init__(__self__, *, :param str source_image_type: The format of the image to be imported. Only monolithic images are supported. This attribute is not used for exported Oracle images with the Oracle Cloud Infrastructure image format. Allowed values are: :param str source_uri: The Object Storage URL for the image. """ - pulumi.set(__self__, "source_type", source_type) + ImageImageSourceDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + source_type=source_type, + bucket_name=bucket_name, + namespace_name=namespace_name, + object_name=object_name, + operating_system=operating_system, + operating_system_version=operating_system_version, + source_image_type=source_image_type, + source_uri=source_uri, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + source_type: str, + bucket_name: Optional[str] = None, + namespace_name: Optional[str] = None, + object_name: Optional[str] = None, + operating_system: Optional[str] = None, + operating_system_version: Optional[str] = None, + source_image_type: Optional[str] = None, + source_uri: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("source_type", source_type) if bucket_name is not None: - pulumi.set(__self__, "bucket_name", bucket_name) + _setter("bucket_name", bucket_name) if namespace_name is not None: - pulumi.set(__self__, "namespace_name", namespace_name) + _setter("namespace_name", namespace_name) if object_name is not None: - pulumi.set(__self__, "object_name", object_name) + _setter("object_name", object_name) if operating_system is not None: - pulumi.set(__self__, "operating_system", operating_system) + _setter("operating_system", operating_system) if operating_system_version is not None: - pulumi.set(__self__, "operating_system_version", operating_system_version) + _setter("operating_system_version", operating_system_version) if source_image_type is not None: - pulumi.set(__self__, "source_image_type", source_image_type) + _setter("source_image_type", source_image_type) if source_uri is not None: - pulumi.set(__self__, "source_uri", source_uri) + _setter("source_uri", source_uri) @property @pulumi.getter(name="sourceType") @@ -4299,18 +5091,37 @@ def __init__(__self__, *, :param str network_type: Emulation type for the physical network interface card (NIC). :param str remote_data_volume_type: Emulation type for volume. """ + ImageLaunchOption._configure( + lambda key, value: pulumi.set(__self__, key, value), + boot_volume_type=boot_volume_type, + firmware=firmware, + is_consistent_volume_naming_enabled=is_consistent_volume_naming_enabled, + is_pv_encryption_in_transit_enabled=is_pv_encryption_in_transit_enabled, + network_type=network_type, + remote_data_volume_type=remote_data_volume_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + boot_volume_type: Optional[str] = None, + firmware: Optional[str] = None, + is_consistent_volume_naming_enabled: Optional[bool] = None, + is_pv_encryption_in_transit_enabled: Optional[bool] = None, + network_type: Optional[str] = None, + remote_data_volume_type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if boot_volume_type is not None: - pulumi.set(__self__, "boot_volume_type", boot_volume_type) + _setter("boot_volume_type", boot_volume_type) if firmware is not None: - pulumi.set(__self__, "firmware", firmware) + _setter("firmware", firmware) if is_consistent_volume_naming_enabled is not None: - pulumi.set(__self__, "is_consistent_volume_naming_enabled", is_consistent_volume_naming_enabled) + _setter("is_consistent_volume_naming_enabled", is_consistent_volume_naming_enabled) if is_pv_encryption_in_transit_enabled is not None: - pulumi.set(__self__, "is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) + _setter("is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) if network_type is not None: - pulumi.set(__self__, "network_type", network_type) + _setter("network_type", network_type) if remote_data_volume_type is not None: - pulumi.set(__self__, "remote_data_volume_type", remote_data_volume_type) + _setter("remote_data_volume_type", remote_data_volume_type) @property @pulumi.getter(name="bootVolumeType") @@ -4411,14 +5222,29 @@ def __init__(__self__, *, * If `isMonitoringDisabled` is false, all of the monitoring plugins are enabled. You can optionally disable individual monitoring plugins by providing a value in the `pluginsConfig` object. :param Sequence['InstanceAgentConfigPluginsConfigArgs'] plugins_configs: (Updatable) The configuration of plugins associated with this instance. """ + InstanceAgentConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + are_all_plugins_disabled=are_all_plugins_disabled, + is_management_disabled=is_management_disabled, + is_monitoring_disabled=is_monitoring_disabled, + plugins_configs=plugins_configs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + are_all_plugins_disabled: Optional[bool] = None, + is_management_disabled: Optional[bool] = None, + is_monitoring_disabled: Optional[bool] = None, + plugins_configs: Optional[Sequence['outputs.InstanceAgentConfigPluginsConfig']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if are_all_plugins_disabled is not None: - pulumi.set(__self__, "are_all_plugins_disabled", are_all_plugins_disabled) + _setter("are_all_plugins_disabled", are_all_plugins_disabled) if is_management_disabled is not None: - pulumi.set(__self__, "is_management_disabled", is_management_disabled) + _setter("is_management_disabled", is_management_disabled) if is_monitoring_disabled is not None: - pulumi.set(__self__, "is_monitoring_disabled", is_monitoring_disabled) + _setter("is_monitoring_disabled", is_monitoring_disabled) if plugins_configs is not None: - pulumi.set(__self__, "plugins_configs", plugins_configs) + _setter("plugins_configs", plugins_configs) @property @pulumi.getter(name="areAllPluginsDisabled") @@ -4495,8 +5321,19 @@ def __init__(__self__, *, To enable the monitoring and management plugins, the `isMonitoringDisabled` and `isManagementDisabled` attributes must also be set to false. :param str name: (Updatable) The plugin name. To get a list of available plugins, use the [ListInstanceagentAvailablePlugins](https://docs.cloud.oracle.com/iaas/api/#/en/instanceagent/20180530/Plugin/ListInstanceagentAvailablePlugins) operation in the Oracle Cloud Agent API. For more information about the available plugins, see [Managing Plugins with Oracle Cloud Agent](https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/manage-plugins.htm). """ - pulumi.set(__self__, "desired_state", desired_state) - pulumi.set(__self__, "name", name) + InstanceAgentConfigPluginsConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + desired_state=desired_state, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + desired_state: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("desired_state", desired_state) + _setter("name", name) @property @pulumi.getter(name="desiredState") @@ -4545,10 +5382,21 @@ def __init__(__self__, *, :param bool is_live_migration_preferred: (Updatable) Whether to live migrate supported VM instances to a healthy physical VM host without disrupting running instances during infrastructure maintenance events. If null, Oracle chooses the best option for migrating the VM during infrastructure maintenance events. :param str recovery_action: (Updatable) The lifecycle state for an instance when it is recovered after infrastructure maintenance. """ + InstanceAvailabilityConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_live_migration_preferred=is_live_migration_preferred, + recovery_action=recovery_action, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_live_migration_preferred: Optional[bool] = None, + recovery_action: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_live_migration_preferred is not None: - pulumi.set(__self__, "is_live_migration_preferred", is_live_migration_preferred) + _setter("is_live_migration_preferred", is_live_migration_preferred) if recovery_action is not None: - pulumi.set(__self__, "recovery_action", recovery_action) + _setter("recovery_action", recovery_action) @property @pulumi.getter(name="isLiveMigrationPreferred") @@ -4607,15 +5455,32 @@ def __init__(__self__, *, :param Sequence['InstanceConfigurationInstanceDetailsOptionArgs'] options: Multiple Compute Instance Configuration instance details. :param Sequence['InstanceConfigurationInstanceDetailsSecondaryVnicArgs'] secondary_vnics: Secondary VNIC parameters. """ - pulumi.set(__self__, "instance_type", instance_type) + InstanceConfigurationInstanceDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + instance_type=instance_type, + block_volumes=block_volumes, + launch_details=launch_details, + options=options, + secondary_vnics=secondary_vnics, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + instance_type: str, + block_volumes: Optional[Sequence['outputs.InstanceConfigurationInstanceDetailsBlockVolume']] = None, + launch_details: Optional['outputs.InstanceConfigurationInstanceDetailsLaunchDetails'] = None, + options: Optional[Sequence['outputs.InstanceConfigurationInstanceDetailsOption']] = None, + secondary_vnics: Optional[Sequence['outputs.InstanceConfigurationInstanceDetailsSecondaryVnic']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("instance_type", instance_type) if block_volumes is not None: - pulumi.set(__self__, "block_volumes", block_volumes) + _setter("block_volumes", block_volumes) if launch_details is not None: - pulumi.set(__self__, "launch_details", launch_details) + _setter("launch_details", launch_details) if options is not None: - pulumi.set(__self__, "options", options) + _setter("options", options) if secondary_vnics is not None: - pulumi.set(__self__, "secondary_vnics", secondary_vnics) + _setter("secondary_vnics", secondary_vnics) @property @pulumi.getter(name="instanceType") @@ -4692,12 +5557,25 @@ def __init__(__self__, *, :param 'InstanceConfigurationInstanceDetailsBlockVolumeCreateDetailsArgs' create_details: Creates a new block volume. Please see [CreateVolumeDetails](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/CreateVolumeDetails/) :param str volume_id: The OCID of the volume. """ + InstanceConfigurationInstanceDetailsBlockVolume._configure( + lambda key, value: pulumi.set(__self__, key, value), + attach_details=attach_details, + create_details=create_details, + volume_id=volume_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attach_details: Optional['outputs.InstanceConfigurationInstanceDetailsBlockVolumeAttachDetails'] = None, + create_details: Optional['outputs.InstanceConfigurationInstanceDetailsBlockVolumeCreateDetails'] = None, + volume_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if attach_details is not None: - pulumi.set(__self__, "attach_details", attach_details) + _setter("attach_details", attach_details) if create_details is not None: - pulumi.set(__self__, "create_details", create_details) + _setter("create_details", create_details) if volume_id is not None: - pulumi.set(__self__, "volume_id", volume_id) + _setter("volume_id", volume_id) @property @pulumi.getter(name="attachDetails") @@ -4768,19 +5646,40 @@ def __init__(__self__, *, :param bool is_shareable: Whether the attachment should be created in shareable mode. If an attachment is created in shareable mode, then other instances can attach the same volume, provided that they also create their attachments in shareable mode. Only certain volume types can be attached in shareable mode. Defaults to false if not specified. :param bool use_chap: Whether to use CHAP authentication for the volume attachment. Defaults to false. """ - pulumi.set(__self__, "type", type) + InstanceConfigurationInstanceDetailsBlockVolumeAttachDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + device=device, + display_name=display_name, + is_pv_encryption_in_transit_enabled=is_pv_encryption_in_transit_enabled, + is_read_only=is_read_only, + is_shareable=is_shareable, + use_chap=use_chap, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + device: Optional[str] = None, + display_name: Optional[str] = None, + is_pv_encryption_in_transit_enabled: Optional[bool] = None, + is_read_only: Optional[bool] = None, + is_shareable: Optional[bool] = None, + use_chap: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if device is not None: - pulumi.set(__self__, "device", device) + _setter("device", device) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if is_pv_encryption_in_transit_enabled is not None: - pulumi.set(__self__, "is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) + _setter("is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) if is_read_only is not None: - pulumi.set(__self__, "is_read_only", is_read_only) + _setter("is_read_only", is_read_only) if is_shareable is not None: - pulumi.set(__self__, "is_shareable", is_shareable) + _setter("is_shareable", is_shareable) if use_chap is not None: - pulumi.set(__self__, "use_chap", use_chap) + _setter("use_chap", use_chap) @property @pulumi.getter @@ -4912,32 +5811,65 @@ def __init__(__self__, *, Allowed values: """ + InstanceConfigurationInstanceDetailsBlockVolumeCreateDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + autotune_policies=autotune_policies, + availability_domain=availability_domain, + backup_policy_id=backup_policy_id, + block_volume_replicas=block_volume_replicas, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + is_auto_tune_enabled=is_auto_tune_enabled, + kms_key_id=kms_key_id, + size_in_gbs=size_in_gbs, + source_details=source_details, + vpus_per_gb=vpus_per_gb, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + autotune_policies: Optional[Sequence['outputs.InstanceConfigurationInstanceDetailsBlockVolumeCreateDetailsAutotunePolicy']] = None, + availability_domain: Optional[str] = None, + backup_policy_id: Optional[str] = None, + block_volume_replicas: Optional['outputs.InstanceConfigurationInstanceDetailsBlockVolumeCreateDetailsBlockVolumeReplicas'] = None, + compartment_id: Optional[str] = None, + defined_tags: Optional[Mapping[str, Any]] = None, + display_name: Optional[str] = None, + freeform_tags: Optional[Mapping[str, Any]] = None, + is_auto_tune_enabled: Optional[bool] = None, + kms_key_id: Optional[str] = None, + size_in_gbs: Optional[str] = None, + source_details: Optional['outputs.InstanceConfigurationInstanceDetailsBlockVolumeCreateDetailsSourceDetails'] = None, + vpus_per_gb: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if autotune_policies is not None: - pulumi.set(__self__, "autotune_policies", autotune_policies) + _setter("autotune_policies", autotune_policies) if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if backup_policy_id is not None: - pulumi.set(__self__, "backup_policy_id", backup_policy_id) + _setter("backup_policy_id", backup_policy_id) if block_volume_replicas is not None: - pulumi.set(__self__, "block_volume_replicas", block_volume_replicas) + _setter("block_volume_replicas", block_volume_replicas) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_auto_tune_enabled is not None: - pulumi.set(__self__, "is_auto_tune_enabled", is_auto_tune_enabled) + _setter("is_auto_tune_enabled", is_auto_tune_enabled) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) if size_in_gbs is not None: - pulumi.set(__self__, "size_in_gbs", size_in_gbs) + _setter("size_in_gbs", size_in_gbs) if source_details is not None: - pulumi.set(__self__, "source_details", source_details) + _setter("source_details", source_details) if vpus_per_gb is not None: - pulumi.set(__self__, "vpus_per_gb", vpus_per_gb) + _setter("vpus_per_gb", vpus_per_gb) @property @pulumi.getter(name="autotunePolicies") @@ -5071,9 +6003,20 @@ def __init__(__self__, *, :param str autotune_type: This specifies the type of autotunes supported by OCI. :param str max_vpus_per_gb: This will be the maximum VPUs/GB performance level that the volume will be auto-tuned temporarily based on performance monitoring. """ - pulumi.set(__self__, "autotune_type", autotune_type) + InstanceConfigurationInstanceDetailsBlockVolumeCreateDetailsAutotunePolicy._configure( + lambda key, value: pulumi.set(__self__, key, value), + autotune_type=autotune_type, + max_vpus_per_gb=max_vpus_per_gb, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + autotune_type: str, + max_vpus_per_gb: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("autotune_type", autotune_type) if max_vpus_per_gb is not None: - pulumi.set(__self__, "max_vpus_per_gb", max_vpus_per_gb) + _setter("max_vpus_per_gb", max_vpus_per_gb) @property @pulumi.getter(name="autotuneType") @@ -5120,9 +6063,20 @@ def __init__(__self__, *, :param str availability_domain: The availability domain of the instance. Example: `Uocm:PHX-AD-1` :param str display_name: A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. """ - pulumi.set(__self__, "availability_domain", availability_domain) + InstanceConfigurationInstanceDetailsBlockVolumeCreateDetailsBlockVolumeReplicas._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + display_name=display_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + display_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) @property @pulumi.getter(name="availabilityDomain") @@ -5150,9 +6104,20 @@ def __init__(__self__, *, :param str type: The type of action to run when the instance is interrupted for eviction. :param str id: The OCID of the volume backup. """ - pulumi.set(__self__, "type", type) + InstanceConfigurationInstanceDetailsBlockVolumeCreateDetailsSourceDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) @property @pulumi.getter @@ -5338,54 +6303,109 @@ def __init__(__self__, *, Each shape only supports certain configurable values. If the values that you provide are not valid for the specified `shape`, an error is returned. """ + InstanceConfigurationInstanceDetailsLaunchDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + agent_config=agent_config, + availability_config=availability_config, + availability_domain=availability_domain, + capacity_reservation_id=capacity_reservation_id, + compartment_id=compartment_id, + create_vnic_details=create_vnic_details, + dedicated_vm_host_id=dedicated_vm_host_id, + defined_tags=defined_tags, + display_name=display_name, + extended_metadata=extended_metadata, + fault_domain=fault_domain, + freeform_tags=freeform_tags, + instance_options=instance_options, + ipxe_script=ipxe_script, + is_pv_encryption_in_transit_enabled=is_pv_encryption_in_transit_enabled, + launch_mode=launch_mode, + launch_options=launch_options, + metadata=metadata, + platform_config=platform_config, + preemptible_instance_config=preemptible_instance_config, + preferred_maintenance_action=preferred_maintenance_action, + shape=shape, + shape_config=shape_config, + source_details=source_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agent_config: Optional['outputs.InstanceConfigurationInstanceDetailsLaunchDetailsAgentConfig'] = None, + availability_config: Optional['outputs.InstanceConfigurationInstanceDetailsLaunchDetailsAvailabilityConfig'] = None, + availability_domain: Optional[str] = None, + capacity_reservation_id: Optional[str] = None, + compartment_id: Optional[str] = None, + create_vnic_details: Optional['outputs.InstanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetails'] = None, + dedicated_vm_host_id: Optional[str] = None, + defined_tags: Optional[Mapping[str, Any]] = None, + display_name: Optional[str] = None, + extended_metadata: Optional[Mapping[str, Any]] = None, + fault_domain: Optional[str] = None, + freeform_tags: Optional[Mapping[str, Any]] = None, + instance_options: Optional['outputs.InstanceConfigurationInstanceDetailsLaunchDetailsInstanceOptions'] = None, + ipxe_script: Optional[str] = None, + is_pv_encryption_in_transit_enabled: Optional[bool] = None, + launch_mode: Optional[str] = None, + launch_options: Optional['outputs.InstanceConfigurationInstanceDetailsLaunchDetailsLaunchOptions'] = None, + metadata: Optional[Mapping[str, Any]] = None, + platform_config: Optional['outputs.InstanceConfigurationInstanceDetailsLaunchDetailsPlatformConfig'] = None, + preemptible_instance_config: Optional['outputs.InstanceConfigurationInstanceDetailsLaunchDetailsPreemptibleInstanceConfig'] = None, + preferred_maintenance_action: Optional[str] = None, + shape: Optional[str] = None, + shape_config: Optional['outputs.InstanceConfigurationInstanceDetailsLaunchDetailsShapeConfig'] = None, + source_details: Optional['outputs.InstanceConfigurationInstanceDetailsLaunchDetailsSourceDetails'] = None, + opts: Optional[pulumi.ResourceOptions]=None): if agent_config is not None: - pulumi.set(__self__, "agent_config", agent_config) + _setter("agent_config", agent_config) if availability_config is not None: - pulumi.set(__self__, "availability_config", availability_config) + _setter("availability_config", availability_config) if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if capacity_reservation_id is not None: - pulumi.set(__self__, "capacity_reservation_id", capacity_reservation_id) + _setter("capacity_reservation_id", capacity_reservation_id) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if create_vnic_details is not None: - pulumi.set(__self__, "create_vnic_details", create_vnic_details) + _setter("create_vnic_details", create_vnic_details) if dedicated_vm_host_id is not None: - pulumi.set(__self__, "dedicated_vm_host_id", dedicated_vm_host_id) + _setter("dedicated_vm_host_id", dedicated_vm_host_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if extended_metadata is not None: - pulumi.set(__self__, "extended_metadata", extended_metadata) + _setter("extended_metadata", extended_metadata) if fault_domain is not None: - pulumi.set(__self__, "fault_domain", fault_domain) + _setter("fault_domain", fault_domain) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if instance_options is not None: - pulumi.set(__self__, "instance_options", instance_options) + _setter("instance_options", instance_options) if ipxe_script is not None: - pulumi.set(__self__, "ipxe_script", ipxe_script) + _setter("ipxe_script", ipxe_script) if is_pv_encryption_in_transit_enabled is not None: - pulumi.set(__self__, "is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) + _setter("is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) if launch_mode is not None: - pulumi.set(__self__, "launch_mode", launch_mode) + _setter("launch_mode", launch_mode) if launch_options is not None: - pulumi.set(__self__, "launch_options", launch_options) + _setter("launch_options", launch_options) if metadata is not None: - pulumi.set(__self__, "metadata", metadata) + _setter("metadata", metadata) if platform_config is not None: - pulumi.set(__self__, "platform_config", platform_config) + _setter("platform_config", platform_config) if preemptible_instance_config is not None: - pulumi.set(__self__, "preemptible_instance_config", preemptible_instance_config) + _setter("preemptible_instance_config", preemptible_instance_config) if preferred_maintenance_action is not None: - pulumi.set(__self__, "preferred_maintenance_action", preferred_maintenance_action) + _setter("preferred_maintenance_action", preferred_maintenance_action) if shape is not None: - pulumi.set(__self__, "shape", shape) + _setter("shape", shape) if shape_config is not None: - pulumi.set(__self__, "shape_config", shape_config) + _setter("shape_config", shape_config) if source_details is not None: - pulumi.set(__self__, "source_details", source_details) + _setter("source_details", source_details) @property @pulumi.getter(name="agentConfig") @@ -5683,14 +6703,29 @@ def __init__(__self__, *, * If `isMonitoringDisabled` is false, all of the monitoring plugins are enabled. You can optionally disable individual monitoring plugins by providing a value in the `pluginsConfig` object. :param Sequence['InstanceConfigurationInstanceDetailsLaunchDetailsAgentConfigPluginsConfigArgs'] plugins_configs: The configuration of plugins associated with this instance. """ + InstanceConfigurationInstanceDetailsLaunchDetailsAgentConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + are_all_plugins_disabled=are_all_plugins_disabled, + is_management_disabled=is_management_disabled, + is_monitoring_disabled=is_monitoring_disabled, + plugins_configs=plugins_configs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + are_all_plugins_disabled: Optional[bool] = None, + is_management_disabled: Optional[bool] = None, + is_monitoring_disabled: Optional[bool] = None, + plugins_configs: Optional[Sequence['outputs.InstanceConfigurationInstanceDetailsLaunchDetailsAgentConfigPluginsConfig']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if are_all_plugins_disabled is not None: - pulumi.set(__self__, "are_all_plugins_disabled", are_all_plugins_disabled) + _setter("are_all_plugins_disabled", are_all_plugins_disabled) if is_management_disabled is not None: - pulumi.set(__self__, "is_management_disabled", is_management_disabled) + _setter("is_management_disabled", is_management_disabled) if is_monitoring_disabled is not None: - pulumi.set(__self__, "is_monitoring_disabled", is_monitoring_disabled) + _setter("is_monitoring_disabled", is_monitoring_disabled) if plugins_configs is not None: - pulumi.set(__self__, "plugins_configs", plugins_configs) + _setter("plugins_configs", plugins_configs) @property @pulumi.getter(name="areAllPluginsDisabled") @@ -5767,10 +6802,21 @@ def __init__(__self__, *, To enable the monitoring and management plugins, the `isMonitoringDisabled` and `isManagementDisabled` attributes must also be set to false. :param str name: The plugin name. To get a list of available plugins, use the [ListInstanceagentAvailablePlugins](https://docs.cloud.oracle.com/iaas/api/#/en/instanceagent/20180530/Plugin/ListInstanceagentAvailablePlugins) operation in the Oracle Cloud Agent API. For more information about the available plugins, see [Managing Plugins with Oracle Cloud Agent](https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/manage-plugins.htm). """ + InstanceConfigurationInstanceDetailsLaunchDetailsAgentConfigPluginsConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + desired_state=desired_state, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + desired_state: Optional[str] = None, + name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if desired_state is not None: - pulumi.set(__self__, "desired_state", desired_state) + _setter("desired_state", desired_state) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter(name="desiredState") @@ -5819,10 +6865,21 @@ def __init__(__self__, *, :param bool is_live_migration_preferred: Whether to live migrate supported VM instances to a healthy physical VM host without disrupting running instances during infrastructure maintenance events. If null, Oracle chooses the best option for migrating the VM during infrastructure maintenance events. :param str recovery_action: The lifecycle state for an instance when it is recovered after infrastructure maintenance. """ + InstanceConfigurationInstanceDetailsLaunchDetailsAvailabilityConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_live_migration_preferred=is_live_migration_preferred, + recovery_action=recovery_action, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_live_migration_preferred: Optional[bool] = None, + recovery_action: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_live_migration_preferred is not None: - pulumi.set(__self__, "is_live_migration_preferred", is_live_migration_preferred) + _setter("is_live_migration_preferred", is_live_migration_preferred) if recovery_action is not None: - pulumi.set(__self__, "recovery_action", recovery_action) + _setter("recovery_action", recovery_action) @property @pulumi.getter(name="isLiveMigrationPreferred") @@ -5909,30 +6966,61 @@ def __init__(__self__, *, :param bool skip_source_dest_check: Whether the source/destination check is disabled on the VNIC. See the `skipSourceDestCheck` attribute of [CreateVnicDetails](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/CreateVnicDetails/) for more information. :param str subnet_id: The OCID of the subnet to create the VNIC in. See the `subnetId` attribute of [CreateVnicDetails](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/CreateVnicDetails/) for more information. """ + InstanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + assign_ipv6ip=assign_ipv6ip, + assign_private_dns_record=assign_private_dns_record, + assign_public_ip=assign_public_ip, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + hostname_label=hostname_label, + ipv6address_ipv6subnet_cidr_pair_details=ipv6address_ipv6subnet_cidr_pair_details, + nsg_ids=nsg_ids, + private_ip=private_ip, + skip_source_dest_check=skip_source_dest_check, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + assign_ipv6ip: Optional[bool] = None, + assign_private_dns_record: Optional[bool] = None, + assign_public_ip: Optional[bool] = None, + defined_tags: Optional[Mapping[str, Any]] = None, + display_name: Optional[str] = None, + freeform_tags: Optional[Mapping[str, Any]] = None, + hostname_label: Optional[str] = None, + ipv6address_ipv6subnet_cidr_pair_details: Optional[Sequence['outputs.InstanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetail']] = None, + nsg_ids: Optional[Sequence[str]] = None, + private_ip: Optional[str] = None, + skip_source_dest_check: Optional[bool] = None, + subnet_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if assign_ipv6ip is not None: - pulumi.set(__self__, "assign_ipv6ip", assign_ipv6ip) + _setter("assign_ipv6ip", assign_ipv6ip) if assign_private_dns_record is not None: - pulumi.set(__self__, "assign_private_dns_record", assign_private_dns_record) + _setter("assign_private_dns_record", assign_private_dns_record) if assign_public_ip is not None: - pulumi.set(__self__, "assign_public_ip", assign_public_ip) + _setter("assign_public_ip", assign_public_ip) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if hostname_label is not None: - pulumi.set(__self__, "hostname_label", hostname_label) + _setter("hostname_label", hostname_label) if ipv6address_ipv6subnet_cidr_pair_details is not None: - pulumi.set(__self__, "ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) + _setter("ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) if private_ip is not None: - pulumi.set(__self__, "private_ip", private_ip) + _setter("private_ip", private_ip) if skip_source_dest_check is not None: - pulumi.set(__self__, "skip_source_dest_check", skip_source_dest_check) + _setter("skip_source_dest_check", skip_source_dest_check) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="assignIpv6ip") @@ -6057,10 +7145,21 @@ def __init__(__self__, *, :param str ipv6address: Optional. An available IPv6 address of your subnet from a valid IPv6 prefix on the subnet (otherwise the IP address is automatically assigned). :param str ipv6subnet_cidr: Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation. """ + InstanceConfigurationInstanceDetailsLaunchDetailsCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + ipv6address=ipv6address, + ipv6subnet_cidr=ipv6subnet_cidr, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ipv6address: Optional[str] = None, + ipv6subnet_cidr: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ipv6address is not None: - pulumi.set(__self__, "ipv6address", ipv6address) + _setter("ipv6address", ipv6address) if ipv6subnet_cidr is not None: - pulumi.set(__self__, "ipv6subnet_cidr", ipv6subnet_cidr) + _setter("ipv6subnet_cidr", ipv6subnet_cidr) @property @pulumi.getter @@ -6103,8 +7202,17 @@ def __init__(__self__, *, """ :param bool are_legacy_imds_endpoints_disabled: Whether to disable the legacy (/v1) instance metadata service endpoints. Customers who have migrated to /v2 should set this to true for added security. Default is false. """ + InstanceConfigurationInstanceDetailsLaunchDetailsInstanceOptions._configure( + lambda key, value: pulumi.set(__self__, key, value), + are_legacy_imds_endpoints_disabled=are_legacy_imds_endpoints_disabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + are_legacy_imds_endpoints_disabled: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): if are_legacy_imds_endpoints_disabled is not None: - pulumi.set(__self__, "are_legacy_imds_endpoints_disabled", are_legacy_imds_endpoints_disabled) + _setter("are_legacy_imds_endpoints_disabled", are_legacy_imds_endpoints_disabled) @property @pulumi.getter(name="areLegacyImdsEndpointsDisabled") @@ -6157,18 +7265,37 @@ def __init__(__self__, *, :param str network_type: Emulation type for the physical network interface card (NIC). :param str remote_data_volume_type: Emulation type for volume. """ + InstanceConfigurationInstanceDetailsLaunchDetailsLaunchOptions._configure( + lambda key, value: pulumi.set(__self__, key, value), + boot_volume_type=boot_volume_type, + firmware=firmware, + is_consistent_volume_naming_enabled=is_consistent_volume_naming_enabled, + is_pv_encryption_in_transit_enabled=is_pv_encryption_in_transit_enabled, + network_type=network_type, + remote_data_volume_type=remote_data_volume_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + boot_volume_type: Optional[str] = None, + firmware: Optional[str] = None, + is_consistent_volume_naming_enabled: Optional[bool] = None, + is_pv_encryption_in_transit_enabled: Optional[bool] = None, + network_type: Optional[str] = None, + remote_data_volume_type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if boot_volume_type is not None: - pulumi.set(__self__, "boot_volume_type", boot_volume_type) + _setter("boot_volume_type", boot_volume_type) if firmware is not None: - pulumi.set(__self__, "firmware", firmware) + _setter("firmware", firmware) if is_consistent_volume_naming_enabled is not None: - pulumi.set(__self__, "is_consistent_volume_naming_enabled", is_consistent_volume_naming_enabled) + _setter("is_consistent_volume_naming_enabled", is_consistent_volume_naming_enabled) if is_pv_encryption_in_transit_enabled is not None: - pulumi.set(__self__, "is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) + _setter("is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) if network_type is not None: - pulumi.set(__self__, "network_type", network_type) + _setter("network_type", network_type) if remote_data_volume_type is not None: - pulumi.set(__self__, "remote_data_volume_type", remote_data_volume_type) + _setter("remote_data_volume_type", remote_data_volume_type) @property @pulumi.getter(name="bootVolumeType") @@ -6289,29 +7416,60 @@ def __init__(__self__, *, If the applications that you run on the instance use a core-based licensing model and need fewer cores than the full size of the shape, you can disable cores to reduce your licensing costs. The instance itself is billed for the full shape, regardless of whether all cores are enabled. """ - pulumi.set(__self__, "type", type) + InstanceConfigurationInstanceDetailsLaunchDetailsPlatformConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + are_virtual_instructions_enabled=are_virtual_instructions_enabled, + config_map=config_map, + is_access_control_service_enabled=is_access_control_service_enabled, + is_input_output_memory_management_unit_enabled=is_input_output_memory_management_unit_enabled, + is_measured_boot_enabled=is_measured_boot_enabled, + is_memory_encryption_enabled=is_memory_encryption_enabled, + is_secure_boot_enabled=is_secure_boot_enabled, + is_symmetric_multi_threading_enabled=is_symmetric_multi_threading_enabled, + is_trusted_platform_module_enabled=is_trusted_platform_module_enabled, + numa_nodes_per_socket=numa_nodes_per_socket, + percentage_of_cores_enabled=percentage_of_cores_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + are_virtual_instructions_enabled: Optional[bool] = None, + config_map: Optional[Mapping[str, Any]] = None, + is_access_control_service_enabled: Optional[bool] = None, + is_input_output_memory_management_unit_enabled: Optional[bool] = None, + is_measured_boot_enabled: Optional[bool] = None, + is_memory_encryption_enabled: Optional[bool] = None, + is_secure_boot_enabled: Optional[bool] = None, + is_symmetric_multi_threading_enabled: Optional[bool] = None, + is_trusted_platform_module_enabled: Optional[bool] = None, + numa_nodes_per_socket: Optional[str] = None, + percentage_of_cores_enabled: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if are_virtual_instructions_enabled is not None: - pulumi.set(__self__, "are_virtual_instructions_enabled", are_virtual_instructions_enabled) + _setter("are_virtual_instructions_enabled", are_virtual_instructions_enabled) if config_map is not None: - pulumi.set(__self__, "config_map", config_map) + _setter("config_map", config_map) if is_access_control_service_enabled is not None: - pulumi.set(__self__, "is_access_control_service_enabled", is_access_control_service_enabled) + _setter("is_access_control_service_enabled", is_access_control_service_enabled) if is_input_output_memory_management_unit_enabled is not None: - pulumi.set(__self__, "is_input_output_memory_management_unit_enabled", is_input_output_memory_management_unit_enabled) + _setter("is_input_output_memory_management_unit_enabled", is_input_output_memory_management_unit_enabled) if is_measured_boot_enabled is not None: - pulumi.set(__self__, "is_measured_boot_enabled", is_measured_boot_enabled) + _setter("is_measured_boot_enabled", is_measured_boot_enabled) if is_memory_encryption_enabled is not None: - pulumi.set(__self__, "is_memory_encryption_enabled", is_memory_encryption_enabled) + _setter("is_memory_encryption_enabled", is_memory_encryption_enabled) if is_secure_boot_enabled is not None: - pulumi.set(__self__, "is_secure_boot_enabled", is_secure_boot_enabled) + _setter("is_secure_boot_enabled", is_secure_boot_enabled) if is_symmetric_multi_threading_enabled is not None: - pulumi.set(__self__, "is_symmetric_multi_threading_enabled", is_symmetric_multi_threading_enabled) + _setter("is_symmetric_multi_threading_enabled", is_symmetric_multi_threading_enabled) if is_trusted_platform_module_enabled is not None: - pulumi.set(__self__, "is_trusted_platform_module_enabled", is_trusted_platform_module_enabled) + _setter("is_trusted_platform_module_enabled", is_trusted_platform_module_enabled) if numa_nodes_per_socket is not None: - pulumi.set(__self__, "numa_nodes_per_socket", numa_nodes_per_socket) + _setter("numa_nodes_per_socket", numa_nodes_per_socket) if percentage_of_cores_enabled is not None: - pulumi.set(__self__, "percentage_of_cores_enabled", percentage_of_cores_enabled) + _setter("percentage_of_cores_enabled", percentage_of_cores_enabled) @property @pulumi.getter @@ -6438,8 +7596,17 @@ def __init__(__self__, *, """ :param 'InstanceConfigurationInstanceDetailsLaunchDetailsPreemptibleInstanceConfigPreemptionActionArgs' preemption_action: The action to run when the preemptible instance is interrupted for eviction. """ + InstanceConfigurationInstanceDetailsLaunchDetailsPreemptibleInstanceConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + preemption_action=preemption_action, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + preemption_action: Optional['outputs.InstanceConfigurationInstanceDetailsLaunchDetailsPreemptibleInstanceConfigPreemptionAction'] = None, + opts: Optional[pulumi.ResourceOptions]=None): if preemption_action is not None: - pulumi.set(__self__, "preemption_action", preemption_action) + _setter("preemption_action", preemption_action) @property @pulumi.getter(name="preemptionAction") @@ -6476,9 +7643,20 @@ def __init__(__self__, *, :param str type: The type of action to run when the instance is interrupted for eviction. :param bool preserve_boot_volume: Whether to preserve the boot volume that was used to launch the preemptible instance when the instance is terminated. Defaults to false if not specified. """ - pulumi.set(__self__, "type", type) + InstanceConfigurationInstanceDetailsLaunchDetailsPreemptibleInstanceConfigPreemptionAction._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + preserve_boot_volume=preserve_boot_volume, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + preserve_boot_volume: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if preserve_boot_volume is not None: - pulumi.set(__self__, "preserve_boot_volume", preserve_boot_volume) + _setter("preserve_boot_volume", preserve_boot_volume) @property @pulumi.getter @@ -6533,16 +7711,33 @@ def __init__(__self__, *, :param float ocpus: The total number of OCPUs available to the instance. :param int vcpus: The total number of VCPUs available to the instance. This can be used instead of OCPUs, in which case the actual number of OCPUs will be calculated based on this value and the actual hardware. This must be a multiple of 2. """ + InstanceConfigurationInstanceDetailsLaunchDetailsShapeConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + baseline_ocpu_utilization=baseline_ocpu_utilization, + memory_in_gbs=memory_in_gbs, + nvmes=nvmes, + ocpus=ocpus, + vcpus=vcpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + baseline_ocpu_utilization: Optional[str] = None, + memory_in_gbs: Optional[float] = None, + nvmes: Optional[int] = None, + ocpus: Optional[float] = None, + vcpus: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if baseline_ocpu_utilization is not None: - pulumi.set(__self__, "baseline_ocpu_utilization", baseline_ocpu_utilization) + _setter("baseline_ocpu_utilization", baseline_ocpu_utilization) if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) if nvmes is not None: - pulumi.set(__self__, "nvmes", nvmes) + _setter("nvmes", nvmes) if ocpus is not None: - pulumi.set(__self__, "ocpus", ocpus) + _setter("ocpus", ocpus) if vcpus is not None: - pulumi.set(__self__, "vcpus", vcpus) + _setter("vcpus", vcpus) @property @pulumi.getter(name="baselineOcpuUtilization") @@ -6637,19 +7832,40 @@ def __init__(__self__, *, :param 'InstanceConfigurationInstanceDetailsLaunchDetailsSourceDetailsInstanceSourceImageFilterDetailsArgs' instance_source_image_filter_details: These are the criteria for selecting an image. This is required if imageId is not specified. :param str kms_key_id: The OCID of the Vault service key to assign as the master encryption key for the volume. """ - pulumi.set(__self__, "source_type", source_type) + InstanceConfigurationInstanceDetailsLaunchDetailsSourceDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + source_type=source_type, + boot_volume_id=boot_volume_id, + boot_volume_size_in_gbs=boot_volume_size_in_gbs, + boot_volume_vpus_per_gb=boot_volume_vpus_per_gb, + image_id=image_id, + instance_source_image_filter_details=instance_source_image_filter_details, + kms_key_id=kms_key_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + source_type: str, + boot_volume_id: Optional[str] = None, + boot_volume_size_in_gbs: Optional[str] = None, + boot_volume_vpus_per_gb: Optional[str] = None, + image_id: Optional[str] = None, + instance_source_image_filter_details: Optional['outputs.InstanceConfigurationInstanceDetailsLaunchDetailsSourceDetailsInstanceSourceImageFilterDetails'] = None, + kms_key_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("source_type", source_type) if boot_volume_id is not None: - pulumi.set(__self__, "boot_volume_id", boot_volume_id) + _setter("boot_volume_id", boot_volume_id) if boot_volume_size_in_gbs is not None: - pulumi.set(__self__, "boot_volume_size_in_gbs", boot_volume_size_in_gbs) + _setter("boot_volume_size_in_gbs", boot_volume_size_in_gbs) if boot_volume_vpus_per_gb is not None: - pulumi.set(__self__, "boot_volume_vpus_per_gb", boot_volume_vpus_per_gb) + _setter("boot_volume_vpus_per_gb", boot_volume_vpus_per_gb) if image_id is not None: - pulumi.set(__self__, "image_id", image_id) + _setter("image_id", image_id) if instance_source_image_filter_details is not None: - pulumi.set(__self__, "instance_source_image_filter_details", instance_source_image_filter_details) + _setter("instance_source_image_filter_details", instance_source_image_filter_details) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) @property @pulumi.getter(name="sourceType") @@ -6746,14 +7962,29 @@ def __init__(__self__, *, :param str operating_system: The image's operating system. Example: `Oracle Linux` :param str operating_system_version: The image's operating system version. Example: `7.2` """ + InstanceConfigurationInstanceDetailsLaunchDetailsSourceDetailsInstanceSourceImageFilterDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags_filter=defined_tags_filter, + operating_system=operating_system, + operating_system_version=operating_system_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[str] = None, + defined_tags_filter: Optional[Mapping[str, Any]] = None, + operating_system: Optional[str] = None, + operating_system_version: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags_filter is not None: - pulumi.set(__self__, "defined_tags_filter", defined_tags_filter) + _setter("defined_tags_filter", defined_tags_filter) if operating_system is not None: - pulumi.set(__self__, "operating_system", operating_system) + _setter("operating_system", operating_system) if operating_system_version is not None: - pulumi.set(__self__, "operating_system_version", operating_system_version) + _setter("operating_system_version", operating_system_version) @property @pulumi.getter(name="compartmentId") @@ -6822,12 +8053,25 @@ def __init__(__self__, *, See [LaunchInstanceDetails](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/LaunchInstanceDetails) for more information. :param Sequence['InstanceConfigurationInstanceDetailsOptionSecondaryVnicArgs'] secondary_vnics: Secondary VNIC parameters. """ + InstanceConfigurationInstanceDetailsOption._configure( + lambda key, value: pulumi.set(__self__, key, value), + block_volumes=block_volumes, + launch_details=launch_details, + secondary_vnics=secondary_vnics, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + block_volumes: Optional[Sequence['outputs.InstanceConfigurationInstanceDetailsOptionBlockVolume']] = None, + launch_details: Optional['outputs.InstanceConfigurationInstanceDetailsOptionLaunchDetails'] = None, + secondary_vnics: Optional[Sequence['outputs.InstanceConfigurationInstanceDetailsOptionSecondaryVnic']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if block_volumes is not None: - pulumi.set(__self__, "block_volumes", block_volumes) + _setter("block_volumes", block_volumes) if launch_details is not None: - pulumi.set(__self__, "launch_details", launch_details) + _setter("launch_details", launch_details) if secondary_vnics is not None: - pulumi.set(__self__, "secondary_vnics", secondary_vnics) + _setter("secondary_vnics", secondary_vnics) @property @pulumi.getter(name="blockVolumes") @@ -6888,12 +8132,25 @@ def __init__(__self__, *, :param 'InstanceConfigurationInstanceDetailsOptionBlockVolumeCreateDetailsArgs' create_details: Creates a new block volume. Please see [CreateVolumeDetails](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/CreateVolumeDetails/) :param str volume_id: The OCID of the volume. """ + InstanceConfigurationInstanceDetailsOptionBlockVolume._configure( + lambda key, value: pulumi.set(__self__, key, value), + attach_details=attach_details, + create_details=create_details, + volume_id=volume_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attach_details: Optional['outputs.InstanceConfigurationInstanceDetailsOptionBlockVolumeAttachDetails'] = None, + create_details: Optional['outputs.InstanceConfigurationInstanceDetailsOptionBlockVolumeCreateDetails'] = None, + volume_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if attach_details is not None: - pulumi.set(__self__, "attach_details", attach_details) + _setter("attach_details", attach_details) if create_details is not None: - pulumi.set(__self__, "create_details", create_details) + _setter("create_details", create_details) if volume_id is not None: - pulumi.set(__self__, "volume_id", volume_id) + _setter("volume_id", volume_id) @property @pulumi.getter(name="attachDetails") @@ -6964,19 +8221,40 @@ def __init__(__self__, *, :param bool is_shareable: Whether the attachment should be created in shareable mode. If an attachment is created in shareable mode, then other instances can attach the same volume, provided that they also create their attachments in shareable mode. Only certain volume types can be attached in shareable mode. Defaults to false if not specified. :param bool use_chap: Whether to use CHAP authentication for the volume attachment. Defaults to false. """ - pulumi.set(__self__, "type", type) + InstanceConfigurationInstanceDetailsOptionBlockVolumeAttachDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + device=device, + display_name=display_name, + is_pv_encryption_in_transit_enabled=is_pv_encryption_in_transit_enabled, + is_read_only=is_read_only, + is_shareable=is_shareable, + use_chap=use_chap, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + device: Optional[str] = None, + display_name: Optional[str] = None, + is_pv_encryption_in_transit_enabled: Optional[bool] = None, + is_read_only: Optional[bool] = None, + is_shareable: Optional[bool] = None, + use_chap: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if device is not None: - pulumi.set(__self__, "device", device) + _setter("device", device) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if is_pv_encryption_in_transit_enabled is not None: - pulumi.set(__self__, "is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) + _setter("is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) if is_read_only is not None: - pulumi.set(__self__, "is_read_only", is_read_only) + _setter("is_read_only", is_read_only) if is_shareable is not None: - pulumi.set(__self__, "is_shareable", is_shareable) + _setter("is_shareable", is_shareable) if use_chap is not None: - pulumi.set(__self__, "use_chap", use_chap) + _setter("use_chap", use_chap) @property @pulumi.getter @@ -7108,32 +8386,65 @@ def __init__(__self__, *, Allowed values: """ + InstanceConfigurationInstanceDetailsOptionBlockVolumeCreateDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + autotune_policies=autotune_policies, + availability_domain=availability_domain, + backup_policy_id=backup_policy_id, + block_volume_replicas=block_volume_replicas, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + is_auto_tune_enabled=is_auto_tune_enabled, + kms_key_id=kms_key_id, + size_in_gbs=size_in_gbs, + source_details=source_details, + vpus_per_gb=vpus_per_gb, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + autotune_policies: Optional[Sequence['outputs.InstanceConfigurationInstanceDetailsOptionBlockVolumeCreateDetailsAutotunePolicy']] = None, + availability_domain: Optional[str] = None, + backup_policy_id: Optional[str] = None, + block_volume_replicas: Optional['outputs.InstanceConfigurationInstanceDetailsOptionBlockVolumeCreateDetailsBlockVolumeReplicas'] = None, + compartment_id: Optional[str] = None, + defined_tags: Optional[Mapping[str, Any]] = None, + display_name: Optional[str] = None, + freeform_tags: Optional[Mapping[str, Any]] = None, + is_auto_tune_enabled: Optional[bool] = None, + kms_key_id: Optional[str] = None, + size_in_gbs: Optional[str] = None, + source_details: Optional['outputs.InstanceConfigurationInstanceDetailsOptionBlockVolumeCreateDetailsSourceDetails'] = None, + vpus_per_gb: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if autotune_policies is not None: - pulumi.set(__self__, "autotune_policies", autotune_policies) + _setter("autotune_policies", autotune_policies) if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if backup_policy_id is not None: - pulumi.set(__self__, "backup_policy_id", backup_policy_id) + _setter("backup_policy_id", backup_policy_id) if block_volume_replicas is not None: - pulumi.set(__self__, "block_volume_replicas", block_volume_replicas) + _setter("block_volume_replicas", block_volume_replicas) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_auto_tune_enabled is not None: - pulumi.set(__self__, "is_auto_tune_enabled", is_auto_tune_enabled) + _setter("is_auto_tune_enabled", is_auto_tune_enabled) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) if size_in_gbs is not None: - pulumi.set(__self__, "size_in_gbs", size_in_gbs) + _setter("size_in_gbs", size_in_gbs) if source_details is not None: - pulumi.set(__self__, "source_details", source_details) + _setter("source_details", source_details) if vpus_per_gb is not None: - pulumi.set(__self__, "vpus_per_gb", vpus_per_gb) + _setter("vpus_per_gb", vpus_per_gb) @property @pulumi.getter(name="autotunePolicies") @@ -7267,9 +8578,20 @@ def __init__(__self__, *, :param str autotune_type: This specifies the type of autotunes supported by OCI. :param str max_vpus_per_gb: This will be the maximum VPUs/GB performance level that the volume will be auto-tuned temporarily based on performance monitoring. """ - pulumi.set(__self__, "autotune_type", autotune_type) + InstanceConfigurationInstanceDetailsOptionBlockVolumeCreateDetailsAutotunePolicy._configure( + lambda key, value: pulumi.set(__self__, key, value), + autotune_type=autotune_type, + max_vpus_per_gb=max_vpus_per_gb, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + autotune_type: str, + max_vpus_per_gb: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("autotune_type", autotune_type) if max_vpus_per_gb is not None: - pulumi.set(__self__, "max_vpus_per_gb", max_vpus_per_gb) + _setter("max_vpus_per_gb", max_vpus_per_gb) @property @pulumi.getter(name="autotuneType") @@ -7316,9 +8638,20 @@ def __init__(__self__, *, :param str availability_domain: The availability domain of the instance. Example: `Uocm:PHX-AD-1` :param str display_name: A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. """ - pulumi.set(__self__, "availability_domain", availability_domain) + InstanceConfigurationInstanceDetailsOptionBlockVolumeCreateDetailsBlockVolumeReplicas._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + display_name=display_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + display_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) @property @pulumi.getter(name="availabilityDomain") @@ -7346,9 +8679,20 @@ def __init__(__self__, *, :param str type: The type of action to run when the instance is interrupted for eviction. :param str id: The OCID of the volume backup. """ - pulumi.set(__self__, "type", type) + InstanceConfigurationInstanceDetailsOptionBlockVolumeCreateDetailsSourceDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) @property @pulumi.getter @@ -7534,54 +8878,109 @@ def __init__(__self__, *, Each shape only supports certain configurable values. If the values that you provide are not valid for the specified `shape`, an error is returned. """ + InstanceConfigurationInstanceDetailsOptionLaunchDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + agent_config=agent_config, + availability_config=availability_config, + availability_domain=availability_domain, + capacity_reservation_id=capacity_reservation_id, + compartment_id=compartment_id, + create_vnic_details=create_vnic_details, + dedicated_vm_host_id=dedicated_vm_host_id, + defined_tags=defined_tags, + display_name=display_name, + extended_metadata=extended_metadata, + fault_domain=fault_domain, + freeform_tags=freeform_tags, + instance_options=instance_options, + ipxe_script=ipxe_script, + is_pv_encryption_in_transit_enabled=is_pv_encryption_in_transit_enabled, + launch_mode=launch_mode, + launch_options=launch_options, + metadata=metadata, + platform_config=platform_config, + preemptible_instance_config=preemptible_instance_config, + preferred_maintenance_action=preferred_maintenance_action, + shape=shape, + shape_config=shape_config, + source_details=source_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agent_config: Optional['outputs.InstanceConfigurationInstanceDetailsOptionLaunchDetailsAgentConfig'] = None, + availability_config: Optional['outputs.InstanceConfigurationInstanceDetailsOptionLaunchDetailsAvailabilityConfig'] = None, + availability_domain: Optional[str] = None, + capacity_reservation_id: Optional[str] = None, + compartment_id: Optional[str] = None, + create_vnic_details: Optional['outputs.InstanceConfigurationInstanceDetailsOptionLaunchDetailsCreateVnicDetails'] = None, + dedicated_vm_host_id: Optional[str] = None, + defined_tags: Optional[Mapping[str, Any]] = None, + display_name: Optional[str] = None, + extended_metadata: Optional[Mapping[str, Any]] = None, + fault_domain: Optional[str] = None, + freeform_tags: Optional[Mapping[str, Any]] = None, + instance_options: Optional['outputs.InstanceConfigurationInstanceDetailsOptionLaunchDetailsInstanceOptions'] = None, + ipxe_script: Optional[str] = None, + is_pv_encryption_in_transit_enabled: Optional[bool] = None, + launch_mode: Optional[str] = None, + launch_options: Optional['outputs.InstanceConfigurationInstanceDetailsOptionLaunchDetailsLaunchOptions'] = None, + metadata: Optional[Mapping[str, Any]] = None, + platform_config: Optional['outputs.InstanceConfigurationInstanceDetailsOptionLaunchDetailsPlatformConfig'] = None, + preemptible_instance_config: Optional['outputs.InstanceConfigurationInstanceDetailsOptionLaunchDetailsPreemptibleInstanceConfig'] = None, + preferred_maintenance_action: Optional[str] = None, + shape: Optional[str] = None, + shape_config: Optional['outputs.InstanceConfigurationInstanceDetailsOptionLaunchDetailsShapeConfig'] = None, + source_details: Optional['outputs.InstanceConfigurationInstanceDetailsOptionLaunchDetailsSourceDetails'] = None, + opts: Optional[pulumi.ResourceOptions]=None): if agent_config is not None: - pulumi.set(__self__, "agent_config", agent_config) + _setter("agent_config", agent_config) if availability_config is not None: - pulumi.set(__self__, "availability_config", availability_config) + _setter("availability_config", availability_config) if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if capacity_reservation_id is not None: - pulumi.set(__self__, "capacity_reservation_id", capacity_reservation_id) + _setter("capacity_reservation_id", capacity_reservation_id) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if create_vnic_details is not None: - pulumi.set(__self__, "create_vnic_details", create_vnic_details) + _setter("create_vnic_details", create_vnic_details) if dedicated_vm_host_id is not None: - pulumi.set(__self__, "dedicated_vm_host_id", dedicated_vm_host_id) + _setter("dedicated_vm_host_id", dedicated_vm_host_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if extended_metadata is not None: - pulumi.set(__self__, "extended_metadata", extended_metadata) + _setter("extended_metadata", extended_metadata) if fault_domain is not None: - pulumi.set(__self__, "fault_domain", fault_domain) + _setter("fault_domain", fault_domain) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if instance_options is not None: - pulumi.set(__self__, "instance_options", instance_options) + _setter("instance_options", instance_options) if ipxe_script is not None: - pulumi.set(__self__, "ipxe_script", ipxe_script) + _setter("ipxe_script", ipxe_script) if is_pv_encryption_in_transit_enabled is not None: - pulumi.set(__self__, "is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) + _setter("is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) if launch_mode is not None: - pulumi.set(__self__, "launch_mode", launch_mode) + _setter("launch_mode", launch_mode) if launch_options is not None: - pulumi.set(__self__, "launch_options", launch_options) + _setter("launch_options", launch_options) if metadata is not None: - pulumi.set(__self__, "metadata", metadata) + _setter("metadata", metadata) if platform_config is not None: - pulumi.set(__self__, "platform_config", platform_config) + _setter("platform_config", platform_config) if preemptible_instance_config is not None: - pulumi.set(__self__, "preemptible_instance_config", preemptible_instance_config) + _setter("preemptible_instance_config", preemptible_instance_config) if preferred_maintenance_action is not None: - pulumi.set(__self__, "preferred_maintenance_action", preferred_maintenance_action) + _setter("preferred_maintenance_action", preferred_maintenance_action) if shape is not None: - pulumi.set(__self__, "shape", shape) + _setter("shape", shape) if shape_config is not None: - pulumi.set(__self__, "shape_config", shape_config) + _setter("shape_config", shape_config) if source_details is not None: - pulumi.set(__self__, "source_details", source_details) + _setter("source_details", source_details) @property @pulumi.getter(name="agentConfig") @@ -7879,14 +9278,29 @@ def __init__(__self__, *, * If `isMonitoringDisabled` is false, all of the monitoring plugins are enabled. You can optionally disable individual monitoring plugins by providing a value in the `pluginsConfig` object. :param Sequence['InstanceConfigurationInstanceDetailsOptionLaunchDetailsAgentConfigPluginsConfigArgs'] plugins_configs: The configuration of plugins associated with this instance. """ + InstanceConfigurationInstanceDetailsOptionLaunchDetailsAgentConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + are_all_plugins_disabled=are_all_plugins_disabled, + is_management_disabled=is_management_disabled, + is_monitoring_disabled=is_monitoring_disabled, + plugins_configs=plugins_configs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + are_all_plugins_disabled: Optional[bool] = None, + is_management_disabled: Optional[bool] = None, + is_monitoring_disabled: Optional[bool] = None, + plugins_configs: Optional[Sequence['outputs.InstanceConfigurationInstanceDetailsOptionLaunchDetailsAgentConfigPluginsConfig']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if are_all_plugins_disabled is not None: - pulumi.set(__self__, "are_all_plugins_disabled", are_all_plugins_disabled) + _setter("are_all_plugins_disabled", are_all_plugins_disabled) if is_management_disabled is not None: - pulumi.set(__self__, "is_management_disabled", is_management_disabled) + _setter("is_management_disabled", is_management_disabled) if is_monitoring_disabled is not None: - pulumi.set(__self__, "is_monitoring_disabled", is_monitoring_disabled) + _setter("is_monitoring_disabled", is_monitoring_disabled) if plugins_configs is not None: - pulumi.set(__self__, "plugins_configs", plugins_configs) + _setter("plugins_configs", plugins_configs) @property @pulumi.getter(name="areAllPluginsDisabled") @@ -7963,10 +9377,21 @@ def __init__(__self__, *, To enable the monitoring and management plugins, the `isMonitoringDisabled` and `isManagementDisabled` attributes must also be set to false. :param str name: The plugin name. To get a list of available plugins, use the [ListInstanceagentAvailablePlugins](https://docs.cloud.oracle.com/iaas/api/#/en/instanceagent/20180530/Plugin/ListInstanceagentAvailablePlugins) operation in the Oracle Cloud Agent API. For more information about the available plugins, see [Managing Plugins with Oracle Cloud Agent](https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/manage-plugins.htm). """ + InstanceConfigurationInstanceDetailsOptionLaunchDetailsAgentConfigPluginsConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + desired_state=desired_state, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + desired_state: Optional[str] = None, + name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if desired_state is not None: - pulumi.set(__self__, "desired_state", desired_state) + _setter("desired_state", desired_state) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter(name="desiredState") @@ -8015,10 +9440,21 @@ def __init__(__self__, *, :param bool is_live_migration_preferred: Whether to live migrate supported VM instances to a healthy physical VM host without disrupting running instances during infrastructure maintenance events. If null, Oracle chooses the best option for migrating the VM during infrastructure maintenance events. :param str recovery_action: The lifecycle state for an instance when it is recovered after infrastructure maintenance. """ + InstanceConfigurationInstanceDetailsOptionLaunchDetailsAvailabilityConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_live_migration_preferred=is_live_migration_preferred, + recovery_action=recovery_action, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_live_migration_preferred: Optional[bool] = None, + recovery_action: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_live_migration_preferred is not None: - pulumi.set(__self__, "is_live_migration_preferred", is_live_migration_preferred) + _setter("is_live_migration_preferred", is_live_migration_preferred) if recovery_action is not None: - pulumi.set(__self__, "recovery_action", recovery_action) + _setter("recovery_action", recovery_action) @property @pulumi.getter(name="isLiveMigrationPreferred") @@ -8105,30 +9541,61 @@ def __init__(__self__, *, :param bool skip_source_dest_check: Whether the source/destination check is disabled on the VNIC. See the `skipSourceDestCheck` attribute of [CreateVnicDetails](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/CreateVnicDetails/) for more information. :param str subnet_id: The OCID of the subnet to create the VNIC in. See the `subnetId` attribute of [CreateVnicDetails](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/CreateVnicDetails/) for more information. """ + InstanceConfigurationInstanceDetailsOptionLaunchDetailsCreateVnicDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + assign_ipv6ip=assign_ipv6ip, + assign_private_dns_record=assign_private_dns_record, + assign_public_ip=assign_public_ip, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + hostname_label=hostname_label, + ipv6address_ipv6subnet_cidr_pair_details=ipv6address_ipv6subnet_cidr_pair_details, + nsg_ids=nsg_ids, + private_ip=private_ip, + skip_source_dest_check=skip_source_dest_check, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + assign_ipv6ip: Optional[bool] = None, + assign_private_dns_record: Optional[bool] = None, + assign_public_ip: Optional[bool] = None, + defined_tags: Optional[Mapping[str, Any]] = None, + display_name: Optional[str] = None, + freeform_tags: Optional[Mapping[str, Any]] = None, + hostname_label: Optional[str] = None, + ipv6address_ipv6subnet_cidr_pair_details: Optional[Sequence['outputs.InstanceConfigurationInstanceDetailsOptionLaunchDetailsCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetail']] = None, + nsg_ids: Optional[Sequence[str]] = None, + private_ip: Optional[str] = None, + skip_source_dest_check: Optional[bool] = None, + subnet_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if assign_ipv6ip is not None: - pulumi.set(__self__, "assign_ipv6ip", assign_ipv6ip) + _setter("assign_ipv6ip", assign_ipv6ip) if assign_private_dns_record is not None: - pulumi.set(__self__, "assign_private_dns_record", assign_private_dns_record) + _setter("assign_private_dns_record", assign_private_dns_record) if assign_public_ip is not None: - pulumi.set(__self__, "assign_public_ip", assign_public_ip) + _setter("assign_public_ip", assign_public_ip) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if hostname_label is not None: - pulumi.set(__self__, "hostname_label", hostname_label) + _setter("hostname_label", hostname_label) if ipv6address_ipv6subnet_cidr_pair_details is not None: - pulumi.set(__self__, "ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) + _setter("ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) if private_ip is not None: - pulumi.set(__self__, "private_ip", private_ip) + _setter("private_ip", private_ip) if skip_source_dest_check is not None: - pulumi.set(__self__, "skip_source_dest_check", skip_source_dest_check) + _setter("skip_source_dest_check", skip_source_dest_check) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="assignIpv6ip") @@ -8253,10 +9720,21 @@ def __init__(__self__, *, :param str ipv6address: Optional. An available IPv6 address of your subnet from a valid IPv6 prefix on the subnet (otherwise the IP address is automatically assigned). :param str ipv6subnet_cidr: Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation. """ + InstanceConfigurationInstanceDetailsOptionLaunchDetailsCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + ipv6address=ipv6address, + ipv6subnet_cidr=ipv6subnet_cidr, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ipv6address: Optional[str] = None, + ipv6subnet_cidr: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ipv6address is not None: - pulumi.set(__self__, "ipv6address", ipv6address) + _setter("ipv6address", ipv6address) if ipv6subnet_cidr is not None: - pulumi.set(__self__, "ipv6subnet_cidr", ipv6subnet_cidr) + _setter("ipv6subnet_cidr", ipv6subnet_cidr) @property @pulumi.getter @@ -8299,8 +9777,17 @@ def __init__(__self__, *, """ :param bool are_legacy_imds_endpoints_disabled: Whether to disable the legacy (/v1) instance metadata service endpoints. Customers who have migrated to /v2 should set this to true for added security. Default is false. """ + InstanceConfigurationInstanceDetailsOptionLaunchDetailsInstanceOptions._configure( + lambda key, value: pulumi.set(__self__, key, value), + are_legacy_imds_endpoints_disabled=are_legacy_imds_endpoints_disabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + are_legacy_imds_endpoints_disabled: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): if are_legacy_imds_endpoints_disabled is not None: - pulumi.set(__self__, "are_legacy_imds_endpoints_disabled", are_legacy_imds_endpoints_disabled) + _setter("are_legacy_imds_endpoints_disabled", are_legacy_imds_endpoints_disabled) @property @pulumi.getter(name="areLegacyImdsEndpointsDisabled") @@ -8353,18 +9840,37 @@ def __init__(__self__, *, :param str network_type: Emulation type for the physical network interface card (NIC). :param str remote_data_volume_type: Emulation type for volume. """ + InstanceConfigurationInstanceDetailsOptionLaunchDetailsLaunchOptions._configure( + lambda key, value: pulumi.set(__self__, key, value), + boot_volume_type=boot_volume_type, + firmware=firmware, + is_consistent_volume_naming_enabled=is_consistent_volume_naming_enabled, + is_pv_encryption_in_transit_enabled=is_pv_encryption_in_transit_enabled, + network_type=network_type, + remote_data_volume_type=remote_data_volume_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + boot_volume_type: Optional[str] = None, + firmware: Optional[str] = None, + is_consistent_volume_naming_enabled: Optional[bool] = None, + is_pv_encryption_in_transit_enabled: Optional[bool] = None, + network_type: Optional[str] = None, + remote_data_volume_type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if boot_volume_type is not None: - pulumi.set(__self__, "boot_volume_type", boot_volume_type) + _setter("boot_volume_type", boot_volume_type) if firmware is not None: - pulumi.set(__self__, "firmware", firmware) + _setter("firmware", firmware) if is_consistent_volume_naming_enabled is not None: - pulumi.set(__self__, "is_consistent_volume_naming_enabled", is_consistent_volume_naming_enabled) + _setter("is_consistent_volume_naming_enabled", is_consistent_volume_naming_enabled) if is_pv_encryption_in_transit_enabled is not None: - pulumi.set(__self__, "is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) + _setter("is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) if network_type is not None: - pulumi.set(__self__, "network_type", network_type) + _setter("network_type", network_type) if remote_data_volume_type is not None: - pulumi.set(__self__, "remote_data_volume_type", remote_data_volume_type) + _setter("remote_data_volume_type", remote_data_volume_type) @property @pulumi.getter(name="bootVolumeType") @@ -8481,27 +9987,56 @@ def __init__(__self__, *, If the applications that you run on the instance use a core-based licensing model and need fewer cores than the full size of the shape, you can disable cores to reduce your licensing costs. The instance itself is billed for the full shape, regardless of whether all cores are enabled. """ - pulumi.set(__self__, "type", type) + InstanceConfigurationInstanceDetailsOptionLaunchDetailsPlatformConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + are_virtual_instructions_enabled=are_virtual_instructions_enabled, + is_access_control_service_enabled=is_access_control_service_enabled, + is_input_output_memory_management_unit_enabled=is_input_output_memory_management_unit_enabled, + is_measured_boot_enabled=is_measured_boot_enabled, + is_memory_encryption_enabled=is_memory_encryption_enabled, + is_secure_boot_enabled=is_secure_boot_enabled, + is_symmetric_multi_threading_enabled=is_symmetric_multi_threading_enabled, + is_trusted_platform_module_enabled=is_trusted_platform_module_enabled, + numa_nodes_per_socket=numa_nodes_per_socket, + percentage_of_cores_enabled=percentage_of_cores_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + are_virtual_instructions_enabled: Optional[bool] = None, + is_access_control_service_enabled: Optional[bool] = None, + is_input_output_memory_management_unit_enabled: Optional[bool] = None, + is_measured_boot_enabled: Optional[bool] = None, + is_memory_encryption_enabled: Optional[bool] = None, + is_secure_boot_enabled: Optional[bool] = None, + is_symmetric_multi_threading_enabled: Optional[bool] = None, + is_trusted_platform_module_enabled: Optional[bool] = None, + numa_nodes_per_socket: Optional[str] = None, + percentage_of_cores_enabled: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if are_virtual_instructions_enabled is not None: - pulumi.set(__self__, "are_virtual_instructions_enabled", are_virtual_instructions_enabled) + _setter("are_virtual_instructions_enabled", are_virtual_instructions_enabled) if is_access_control_service_enabled is not None: - pulumi.set(__self__, "is_access_control_service_enabled", is_access_control_service_enabled) + _setter("is_access_control_service_enabled", is_access_control_service_enabled) if is_input_output_memory_management_unit_enabled is not None: - pulumi.set(__self__, "is_input_output_memory_management_unit_enabled", is_input_output_memory_management_unit_enabled) + _setter("is_input_output_memory_management_unit_enabled", is_input_output_memory_management_unit_enabled) if is_measured_boot_enabled is not None: - pulumi.set(__self__, "is_measured_boot_enabled", is_measured_boot_enabled) + _setter("is_measured_boot_enabled", is_measured_boot_enabled) if is_memory_encryption_enabled is not None: - pulumi.set(__self__, "is_memory_encryption_enabled", is_memory_encryption_enabled) + _setter("is_memory_encryption_enabled", is_memory_encryption_enabled) if is_secure_boot_enabled is not None: - pulumi.set(__self__, "is_secure_boot_enabled", is_secure_boot_enabled) + _setter("is_secure_boot_enabled", is_secure_boot_enabled) if is_symmetric_multi_threading_enabled is not None: - pulumi.set(__self__, "is_symmetric_multi_threading_enabled", is_symmetric_multi_threading_enabled) + _setter("is_symmetric_multi_threading_enabled", is_symmetric_multi_threading_enabled) if is_trusted_platform_module_enabled is not None: - pulumi.set(__self__, "is_trusted_platform_module_enabled", is_trusted_platform_module_enabled) + _setter("is_trusted_platform_module_enabled", is_trusted_platform_module_enabled) if numa_nodes_per_socket is not None: - pulumi.set(__self__, "numa_nodes_per_socket", numa_nodes_per_socket) + _setter("numa_nodes_per_socket", numa_nodes_per_socket) if percentage_of_cores_enabled is not None: - pulumi.set(__self__, "percentage_of_cores_enabled", percentage_of_cores_enabled) + _setter("percentage_of_cores_enabled", percentage_of_cores_enabled) @property @pulumi.getter @@ -8620,8 +10155,17 @@ def __init__(__self__, *, """ :param 'InstanceConfigurationInstanceDetailsOptionLaunchDetailsPreemptibleInstanceConfigPreemptionActionArgs' preemption_action: The action to run when the preemptible instance is interrupted for eviction. """ + InstanceConfigurationInstanceDetailsOptionLaunchDetailsPreemptibleInstanceConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + preemption_action=preemption_action, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + preemption_action: Optional['outputs.InstanceConfigurationInstanceDetailsOptionLaunchDetailsPreemptibleInstanceConfigPreemptionAction'] = None, + opts: Optional[pulumi.ResourceOptions]=None): if preemption_action is not None: - pulumi.set(__self__, "preemption_action", preemption_action) + _setter("preemption_action", preemption_action) @property @pulumi.getter(name="preemptionAction") @@ -8658,9 +10202,20 @@ def __init__(__self__, *, :param str type: The type of action to run when the instance is interrupted for eviction. :param bool preserve_boot_volume: Whether to preserve the boot volume that was used to launch the preemptible instance when the instance is terminated. Defaults to false if not specified. """ - pulumi.set(__self__, "type", type) + InstanceConfigurationInstanceDetailsOptionLaunchDetailsPreemptibleInstanceConfigPreemptionAction._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + preserve_boot_volume=preserve_boot_volume, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + preserve_boot_volume: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if preserve_boot_volume is not None: - pulumi.set(__self__, "preserve_boot_volume", preserve_boot_volume) + _setter("preserve_boot_volume", preserve_boot_volume) @property @pulumi.getter @@ -8715,16 +10270,33 @@ def __init__(__self__, *, :param float ocpus: The total number of OCPUs available to the instance. :param int vcpus: The total number of VCPUs available to the instance. This can be used instead of OCPUs, in which case the actual number of OCPUs will be calculated based on this value and the actual hardware. This must be a multiple of 2. """ + InstanceConfigurationInstanceDetailsOptionLaunchDetailsShapeConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + baseline_ocpu_utilization=baseline_ocpu_utilization, + memory_in_gbs=memory_in_gbs, + nvmes=nvmes, + ocpus=ocpus, + vcpus=vcpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + baseline_ocpu_utilization: Optional[str] = None, + memory_in_gbs: Optional[float] = None, + nvmes: Optional[int] = None, + ocpus: Optional[float] = None, + vcpus: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if baseline_ocpu_utilization is not None: - pulumi.set(__self__, "baseline_ocpu_utilization", baseline_ocpu_utilization) + _setter("baseline_ocpu_utilization", baseline_ocpu_utilization) if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) if nvmes is not None: - pulumi.set(__self__, "nvmes", nvmes) + _setter("nvmes", nvmes) if ocpus is not None: - pulumi.set(__self__, "ocpus", ocpus) + _setter("ocpus", ocpus) if vcpus is not None: - pulumi.set(__self__, "vcpus", vcpus) + _setter("vcpus", vcpus) @property @pulumi.getter(name="baselineOcpuUtilization") @@ -8819,19 +10391,40 @@ def __init__(__self__, *, :param 'InstanceConfigurationInstanceDetailsOptionLaunchDetailsSourceDetailsInstanceSourceImageFilterDetailsArgs' instance_source_image_filter_details: These are the criteria for selecting an image. This is required if imageId is not specified. :param str kms_key_id: The OCID of the Vault service key to assign as the master encryption key for the volume. """ - pulumi.set(__self__, "source_type", source_type) + InstanceConfigurationInstanceDetailsOptionLaunchDetailsSourceDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + source_type=source_type, + boot_volume_id=boot_volume_id, + boot_volume_size_in_gbs=boot_volume_size_in_gbs, + boot_volume_vpus_per_gb=boot_volume_vpus_per_gb, + image_id=image_id, + instance_source_image_filter_details=instance_source_image_filter_details, + kms_key_id=kms_key_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + source_type: str, + boot_volume_id: Optional[str] = None, + boot_volume_size_in_gbs: Optional[str] = None, + boot_volume_vpus_per_gb: Optional[str] = None, + image_id: Optional[str] = None, + instance_source_image_filter_details: Optional['outputs.InstanceConfigurationInstanceDetailsOptionLaunchDetailsSourceDetailsInstanceSourceImageFilterDetails'] = None, + kms_key_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("source_type", source_type) if boot_volume_id is not None: - pulumi.set(__self__, "boot_volume_id", boot_volume_id) + _setter("boot_volume_id", boot_volume_id) if boot_volume_size_in_gbs is not None: - pulumi.set(__self__, "boot_volume_size_in_gbs", boot_volume_size_in_gbs) + _setter("boot_volume_size_in_gbs", boot_volume_size_in_gbs) if boot_volume_vpus_per_gb is not None: - pulumi.set(__self__, "boot_volume_vpus_per_gb", boot_volume_vpus_per_gb) + _setter("boot_volume_vpus_per_gb", boot_volume_vpus_per_gb) if image_id is not None: - pulumi.set(__self__, "image_id", image_id) + _setter("image_id", image_id) if instance_source_image_filter_details is not None: - pulumi.set(__self__, "instance_source_image_filter_details", instance_source_image_filter_details) + _setter("instance_source_image_filter_details", instance_source_image_filter_details) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) @property @pulumi.getter(name="sourceType") @@ -8928,14 +10521,29 @@ def __init__(__self__, *, :param str operating_system: The image's operating system. Example: `Oracle Linux` :param str operating_system_version: The image's operating system version. Example: `7.2` """ + InstanceConfigurationInstanceDetailsOptionLaunchDetailsSourceDetailsInstanceSourceImageFilterDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags_filter=defined_tags_filter, + operating_system=operating_system, + operating_system_version=operating_system_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[str] = None, + defined_tags_filter: Optional[Mapping[str, Any]] = None, + operating_system: Optional[str] = None, + operating_system_version: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags_filter is not None: - pulumi.set(__self__, "defined_tags_filter", defined_tags_filter) + _setter("defined_tags_filter", defined_tags_filter) if operating_system is not None: - pulumi.set(__self__, "operating_system", operating_system) + _setter("operating_system", operating_system) if operating_system_version is not None: - pulumi.set(__self__, "operating_system_version", operating_system_version) + _setter("operating_system_version", operating_system_version) @property @pulumi.getter(name="compartmentId") @@ -9002,12 +10610,25 @@ def __init__(__self__, *, :param str display_name: A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. :param int nic_index: Which physical network interface card (NIC) the VNIC will use. Defaults to 0. Certain bare metal instance shapes have two active physical NICs (0 and 1). If you add a secondary VNIC to one of these instances, you can specify which NIC the VNIC will use. For more information, see [Virtual Network Interface Cards (VNICs)](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingVNICs.htm). """ + InstanceConfigurationInstanceDetailsOptionSecondaryVnic._configure( + lambda key, value: pulumi.set(__self__, key, value), + create_vnic_details=create_vnic_details, + display_name=display_name, + nic_index=nic_index, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + create_vnic_details: Optional['outputs.InstanceConfigurationInstanceDetailsOptionSecondaryVnicCreateVnicDetails'] = None, + display_name: Optional[str] = None, + nic_index: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if create_vnic_details is not None: - pulumi.set(__self__, "create_vnic_details", create_vnic_details) + _setter("create_vnic_details", create_vnic_details) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if nic_index is not None: - pulumi.set(__self__, "nic_index", nic_index) + _setter("nic_index", nic_index) @property @pulumi.getter(name="createVnicDetails") @@ -9102,30 +10723,61 @@ def __init__(__self__, *, :param bool skip_source_dest_check: Whether the source/destination check is disabled on the VNIC. See the `skipSourceDestCheck` attribute of [CreateVnicDetails](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/CreateVnicDetails/) for more information. :param str subnet_id: The OCID of the subnet to create the VNIC in. See the `subnetId` attribute of [CreateVnicDetails](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/CreateVnicDetails/) for more information. """ + InstanceConfigurationInstanceDetailsOptionSecondaryVnicCreateVnicDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + assign_ipv6ip=assign_ipv6ip, + assign_private_dns_record=assign_private_dns_record, + assign_public_ip=assign_public_ip, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + hostname_label=hostname_label, + ipv6address_ipv6subnet_cidr_pair_details=ipv6address_ipv6subnet_cidr_pair_details, + nsg_ids=nsg_ids, + private_ip=private_ip, + skip_source_dest_check=skip_source_dest_check, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + assign_ipv6ip: Optional[bool] = None, + assign_private_dns_record: Optional[bool] = None, + assign_public_ip: Optional[bool] = None, + defined_tags: Optional[Mapping[str, Any]] = None, + display_name: Optional[str] = None, + freeform_tags: Optional[Mapping[str, Any]] = None, + hostname_label: Optional[str] = None, + ipv6address_ipv6subnet_cidr_pair_details: Optional[Sequence['outputs.InstanceConfigurationInstanceDetailsOptionSecondaryVnicCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetail']] = None, + nsg_ids: Optional[Sequence[str]] = None, + private_ip: Optional[str] = None, + skip_source_dest_check: Optional[bool] = None, + subnet_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if assign_ipv6ip is not None: - pulumi.set(__self__, "assign_ipv6ip", assign_ipv6ip) + _setter("assign_ipv6ip", assign_ipv6ip) if assign_private_dns_record is not None: - pulumi.set(__self__, "assign_private_dns_record", assign_private_dns_record) + _setter("assign_private_dns_record", assign_private_dns_record) if assign_public_ip is not None: - pulumi.set(__self__, "assign_public_ip", assign_public_ip) + _setter("assign_public_ip", assign_public_ip) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if hostname_label is not None: - pulumi.set(__self__, "hostname_label", hostname_label) + _setter("hostname_label", hostname_label) if ipv6address_ipv6subnet_cidr_pair_details is not None: - pulumi.set(__self__, "ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) + _setter("ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) if private_ip is not None: - pulumi.set(__self__, "private_ip", private_ip) + _setter("private_ip", private_ip) if skip_source_dest_check is not None: - pulumi.set(__self__, "skip_source_dest_check", skip_source_dest_check) + _setter("skip_source_dest_check", skip_source_dest_check) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="assignIpv6ip") @@ -9250,10 +10902,21 @@ def __init__(__self__, *, :param str ipv6address: Optional. An available IPv6 address of your subnet from a valid IPv6 prefix on the subnet (otherwise the IP address is automatically assigned). :param str ipv6subnet_cidr: Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation. """ + InstanceConfigurationInstanceDetailsOptionSecondaryVnicCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + ipv6address=ipv6address, + ipv6subnet_cidr=ipv6subnet_cidr, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ipv6address: Optional[str] = None, + ipv6subnet_cidr: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ipv6address is not None: - pulumi.set(__self__, "ipv6address", ipv6address) + _setter("ipv6address", ipv6address) if ipv6subnet_cidr is not None: - pulumi.set(__self__, "ipv6subnet_cidr", ipv6subnet_cidr) + _setter("ipv6subnet_cidr", ipv6subnet_cidr) @property @pulumi.getter @@ -9304,12 +10967,25 @@ def __init__(__self__, *, :param str display_name: A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. :param int nic_index: Which physical network interface card (NIC) the VNIC will use. Defaults to 0. Certain bare metal instance shapes have two active physical NICs (0 and 1). If you add a secondary VNIC to one of these instances, you can specify which NIC the VNIC will use. For more information, see [Virtual Network Interface Cards (VNICs)](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingVNICs.htm). """ + InstanceConfigurationInstanceDetailsSecondaryVnic._configure( + lambda key, value: pulumi.set(__self__, key, value), + create_vnic_details=create_vnic_details, + display_name=display_name, + nic_index=nic_index, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + create_vnic_details: Optional['outputs.InstanceConfigurationInstanceDetailsSecondaryVnicCreateVnicDetails'] = None, + display_name: Optional[str] = None, + nic_index: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if create_vnic_details is not None: - pulumi.set(__self__, "create_vnic_details", create_vnic_details) + _setter("create_vnic_details", create_vnic_details) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if nic_index is not None: - pulumi.set(__self__, "nic_index", nic_index) + _setter("nic_index", nic_index) @property @pulumi.getter(name="createVnicDetails") @@ -9404,30 +11080,61 @@ def __init__(__self__, *, :param bool skip_source_dest_check: Whether the source/destination check is disabled on the VNIC. See the `skipSourceDestCheck` attribute of [CreateVnicDetails](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/CreateVnicDetails/) for more information. :param str subnet_id: The OCID of the subnet to create the VNIC in. See the `subnetId` attribute of [CreateVnicDetails](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/CreateVnicDetails/) for more information. """ + InstanceConfigurationInstanceDetailsSecondaryVnicCreateVnicDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + assign_ipv6ip=assign_ipv6ip, + assign_private_dns_record=assign_private_dns_record, + assign_public_ip=assign_public_ip, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + hostname_label=hostname_label, + ipv6address_ipv6subnet_cidr_pair_details=ipv6address_ipv6subnet_cidr_pair_details, + nsg_ids=nsg_ids, + private_ip=private_ip, + skip_source_dest_check=skip_source_dest_check, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + assign_ipv6ip: Optional[bool] = None, + assign_private_dns_record: Optional[bool] = None, + assign_public_ip: Optional[bool] = None, + defined_tags: Optional[Mapping[str, Any]] = None, + display_name: Optional[str] = None, + freeform_tags: Optional[Mapping[str, Any]] = None, + hostname_label: Optional[str] = None, + ipv6address_ipv6subnet_cidr_pair_details: Optional[Sequence['outputs.InstanceConfigurationInstanceDetailsSecondaryVnicCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetail']] = None, + nsg_ids: Optional[Sequence[str]] = None, + private_ip: Optional[str] = None, + skip_source_dest_check: Optional[bool] = None, + subnet_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if assign_ipv6ip is not None: - pulumi.set(__self__, "assign_ipv6ip", assign_ipv6ip) + _setter("assign_ipv6ip", assign_ipv6ip) if assign_private_dns_record is not None: - pulumi.set(__self__, "assign_private_dns_record", assign_private_dns_record) + _setter("assign_private_dns_record", assign_private_dns_record) if assign_public_ip is not None: - pulumi.set(__self__, "assign_public_ip", assign_public_ip) + _setter("assign_public_ip", assign_public_ip) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if hostname_label is not None: - pulumi.set(__self__, "hostname_label", hostname_label) + _setter("hostname_label", hostname_label) if ipv6address_ipv6subnet_cidr_pair_details is not None: - pulumi.set(__self__, "ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) + _setter("ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) if private_ip is not None: - pulumi.set(__self__, "private_ip", private_ip) + _setter("private_ip", private_ip) if skip_source_dest_check is not None: - pulumi.set(__self__, "skip_source_dest_check", skip_source_dest_check) + _setter("skip_source_dest_check", skip_source_dest_check) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="assignIpv6ip") @@ -9552,10 +11259,21 @@ def __init__(__self__, *, :param str ipv6address: Optional. An available IPv6 address of your subnet from a valid IPv6 prefix on the subnet (otherwise the IP address is automatically assigned). :param str ipv6subnet_cidr: Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation. """ + InstanceConfigurationInstanceDetailsSecondaryVnicCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + ipv6address=ipv6address, + ipv6subnet_cidr=ipv6subnet_cidr, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ipv6address: Optional[str] = None, + ipv6subnet_cidr: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ipv6address is not None: - pulumi.set(__self__, "ipv6address", ipv6address) + _setter("ipv6address", ipv6address) if ipv6subnet_cidr is not None: - pulumi.set(__self__, "ipv6subnet_cidr", ipv6subnet_cidr) + _setter("ipv6subnet_cidr", ipv6subnet_cidr) @property @pulumi.getter @@ -9667,32 +11385,65 @@ def __init__(__self__, *, Provide a `vlanId` instead of a `subnetId`. If you provide both a `vlanId` and `subnetId`, the request fails. """ + InstanceCreateVnicDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + assign_ipv6ip=assign_ipv6ip, + assign_private_dns_record=assign_private_dns_record, + assign_public_ip=assign_public_ip, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + hostname_label=hostname_label, + ipv6address_ipv6subnet_cidr_pair_details=ipv6address_ipv6subnet_cidr_pair_details, + nsg_ids=nsg_ids, + private_ip=private_ip, + skip_source_dest_check=skip_source_dest_check, + subnet_id=subnet_id, + vlan_id=vlan_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + assign_ipv6ip: Optional[bool] = None, + assign_private_dns_record: Optional[bool] = None, + assign_public_ip: Optional[str] = None, + defined_tags: Optional[Mapping[str, Any]] = None, + display_name: Optional[str] = None, + freeform_tags: Optional[Mapping[str, Any]] = None, + hostname_label: Optional[str] = None, + ipv6address_ipv6subnet_cidr_pair_details: Optional[Sequence['outputs.InstanceCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetail']] = None, + nsg_ids: Optional[Sequence[str]] = None, + private_ip: Optional[str] = None, + skip_source_dest_check: Optional[bool] = None, + subnet_id: Optional[str] = None, + vlan_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if assign_ipv6ip is not None: - pulumi.set(__self__, "assign_ipv6ip", assign_ipv6ip) + _setter("assign_ipv6ip", assign_ipv6ip) if assign_private_dns_record is not None: - pulumi.set(__self__, "assign_private_dns_record", assign_private_dns_record) + _setter("assign_private_dns_record", assign_private_dns_record) if assign_public_ip is not None: - pulumi.set(__self__, "assign_public_ip", assign_public_ip) + _setter("assign_public_ip", assign_public_ip) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if hostname_label is not None: - pulumi.set(__self__, "hostname_label", hostname_label) + _setter("hostname_label", hostname_label) if ipv6address_ipv6subnet_cidr_pair_details is not None: - pulumi.set(__self__, "ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) + _setter("ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) if private_ip is not None: - pulumi.set(__self__, "private_ip", private_ip) + _setter("private_ip", private_ip) if skip_source_dest_check is not None: - pulumi.set(__self__, "skip_source_dest_check", skip_source_dest_check) + _setter("skip_source_dest_check", skip_source_dest_check) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) if vlan_id is not None: - pulumi.set(__self__, "vlan_id", vlan_id) + _setter("vlan_id", vlan_id) @property @pulumi.getter(name="assignIpv6ip") @@ -9842,10 +11593,21 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, ipv6address: Optional[str] = None, ipv6subnet_cidr: Optional[str] = None): + InstanceCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + ipv6address=ipv6address, + ipv6subnet_cidr=ipv6subnet_cidr, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ipv6address: Optional[str] = None, + ipv6subnet_cidr: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ipv6address is not None: - pulumi.set(__self__, "ipv6address", ipv6address) + _setter("ipv6address", ipv6address) if ipv6subnet_cidr is not None: - pulumi.set(__self__, "ipv6subnet_cidr", ipv6subnet_cidr) + _setter("ipv6subnet_cidr", ipv6subnet_cidr) @property @pulumi.getter @@ -9882,8 +11644,17 @@ def __init__(__self__, *, """ :param bool are_legacy_imds_endpoints_disabled: (Updatable) Whether to disable the legacy (/v1) instance metadata service endpoints. Customers who have migrated to /v2 should set this to true for added security. Default is false. """ + InstanceInstanceOptions._configure( + lambda key, value: pulumi.set(__self__, key, value), + are_legacy_imds_endpoints_disabled=are_legacy_imds_endpoints_disabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + are_legacy_imds_endpoints_disabled: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): if are_legacy_imds_endpoints_disabled is not None: - pulumi.set(__self__, "are_legacy_imds_endpoints_disabled", are_legacy_imds_endpoints_disabled) + _setter("are_legacy_imds_endpoints_disabled", are_legacy_imds_endpoints_disabled) @property @pulumi.getter(name="areLegacyImdsEndpointsDisabled") @@ -9936,18 +11707,37 @@ def __init__(__self__, *, :param str network_type: (Updatable) Emulation type for the physical network interface card (NIC). :param str remote_data_volume_type: Emulation type for volume. """ + InstanceLaunchOptions._configure( + lambda key, value: pulumi.set(__self__, key, value), + boot_volume_type=boot_volume_type, + firmware=firmware, + is_consistent_volume_naming_enabled=is_consistent_volume_naming_enabled, + is_pv_encryption_in_transit_enabled=is_pv_encryption_in_transit_enabled, + network_type=network_type, + remote_data_volume_type=remote_data_volume_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + boot_volume_type: Optional[str] = None, + firmware: Optional[str] = None, + is_consistent_volume_naming_enabled: Optional[bool] = None, + is_pv_encryption_in_transit_enabled: Optional[bool] = None, + network_type: Optional[str] = None, + remote_data_volume_type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if boot_volume_type is not None: - pulumi.set(__self__, "boot_volume_type", boot_volume_type) + _setter("boot_volume_type", boot_volume_type) if firmware is not None: - pulumi.set(__self__, "firmware", firmware) + _setter("firmware", firmware) if is_consistent_volume_naming_enabled is not None: - pulumi.set(__self__, "is_consistent_volume_naming_enabled", is_consistent_volume_naming_enabled) + _setter("is_consistent_volume_naming_enabled", is_consistent_volume_naming_enabled) if is_pv_encryption_in_transit_enabled is not None: - pulumi.set(__self__, "is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) + _setter("is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) if network_type is not None: - pulumi.set(__self__, "network_type", network_type) + _setter("network_type", network_type) if remote_data_volume_type is not None: - pulumi.set(__self__, "remote_data_volume_type", remote_data_volume_type) + _setter("remote_data_volume_type", remote_data_volume_type) @property @pulumi.getter(name="bootVolumeType") @@ -10068,29 +11858,60 @@ def __init__(__self__, *, If the applications that you run on the instance use a core-based licensing model and need fewer cores than the full size of the shape, you can disable cores to reduce your licensing costs. The instance itself is billed for the full shape, regardless of whether all cores are enabled. """ - pulumi.set(__self__, "type", type) + InstancePlatformConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + are_virtual_instructions_enabled=are_virtual_instructions_enabled, + config_map=config_map, + is_access_control_service_enabled=is_access_control_service_enabled, + is_input_output_memory_management_unit_enabled=is_input_output_memory_management_unit_enabled, + is_measured_boot_enabled=is_measured_boot_enabled, + is_memory_encryption_enabled=is_memory_encryption_enabled, + is_secure_boot_enabled=is_secure_boot_enabled, + is_symmetric_multi_threading_enabled=is_symmetric_multi_threading_enabled, + is_trusted_platform_module_enabled=is_trusted_platform_module_enabled, + numa_nodes_per_socket=numa_nodes_per_socket, + percentage_of_cores_enabled=percentage_of_cores_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + are_virtual_instructions_enabled: Optional[bool] = None, + config_map: Optional[Mapping[str, Any]] = None, + is_access_control_service_enabled: Optional[bool] = None, + is_input_output_memory_management_unit_enabled: Optional[bool] = None, + is_measured_boot_enabled: Optional[bool] = None, + is_memory_encryption_enabled: Optional[bool] = None, + is_secure_boot_enabled: Optional[bool] = None, + is_symmetric_multi_threading_enabled: Optional[bool] = None, + is_trusted_platform_module_enabled: Optional[bool] = None, + numa_nodes_per_socket: Optional[str] = None, + percentage_of_cores_enabled: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if are_virtual_instructions_enabled is not None: - pulumi.set(__self__, "are_virtual_instructions_enabled", are_virtual_instructions_enabled) + _setter("are_virtual_instructions_enabled", are_virtual_instructions_enabled) if config_map is not None: - pulumi.set(__self__, "config_map", config_map) + _setter("config_map", config_map) if is_access_control_service_enabled is not None: - pulumi.set(__self__, "is_access_control_service_enabled", is_access_control_service_enabled) + _setter("is_access_control_service_enabled", is_access_control_service_enabled) if is_input_output_memory_management_unit_enabled is not None: - pulumi.set(__self__, "is_input_output_memory_management_unit_enabled", is_input_output_memory_management_unit_enabled) + _setter("is_input_output_memory_management_unit_enabled", is_input_output_memory_management_unit_enabled) if is_measured_boot_enabled is not None: - pulumi.set(__self__, "is_measured_boot_enabled", is_measured_boot_enabled) + _setter("is_measured_boot_enabled", is_measured_boot_enabled) if is_memory_encryption_enabled is not None: - pulumi.set(__self__, "is_memory_encryption_enabled", is_memory_encryption_enabled) + _setter("is_memory_encryption_enabled", is_memory_encryption_enabled) if is_secure_boot_enabled is not None: - pulumi.set(__self__, "is_secure_boot_enabled", is_secure_boot_enabled) + _setter("is_secure_boot_enabled", is_secure_boot_enabled) if is_symmetric_multi_threading_enabled is not None: - pulumi.set(__self__, "is_symmetric_multi_threading_enabled", is_symmetric_multi_threading_enabled) + _setter("is_symmetric_multi_threading_enabled", is_symmetric_multi_threading_enabled) if is_trusted_platform_module_enabled is not None: - pulumi.set(__self__, "is_trusted_platform_module_enabled", is_trusted_platform_module_enabled) + _setter("is_trusted_platform_module_enabled", is_trusted_platform_module_enabled) if numa_nodes_per_socket is not None: - pulumi.set(__self__, "numa_nodes_per_socket", numa_nodes_per_socket) + _setter("numa_nodes_per_socket", numa_nodes_per_socket) if percentage_of_cores_enabled is not None: - pulumi.set(__self__, "percentage_of_cores_enabled", percentage_of_cores_enabled) + _setter("percentage_of_cores_enabled", percentage_of_cores_enabled) @property @pulumi.getter @@ -10231,16 +12052,33 @@ def __init__(__self__, *, :param str load_balancer_id: The OCID of the load balancer attached to the instance pool. :param str state: The lifecycle state of the instance. Refer to `lifecycleState` in the [Instance](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/Instance) resource. """ + InstancePoolInstanceLoadBalancerBackend._configure( + lambda key, value: pulumi.set(__self__, key, value), + backend_health_status=backend_health_status, + backend_name=backend_name, + backend_set_name=backend_set_name, + load_balancer_id=load_balancer_id, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backend_health_status: Optional[str] = None, + backend_name: Optional[str] = None, + backend_set_name: Optional[str] = None, + load_balancer_id: Optional[str] = None, + state: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if backend_health_status is not None: - pulumi.set(__self__, "backend_health_status", backend_health_status) + _setter("backend_health_status", backend_health_status) if backend_name is not None: - pulumi.set(__self__, "backend_name", backend_name) + _setter("backend_name", backend_name) if backend_set_name is not None: - pulumi.set(__self__, "backend_set_name", backend_set_name) + _setter("backend_set_name", backend_set_name) if load_balancer_id is not None: - pulumi.set(__self__, "load_balancer_id", load_balancer_id) + _setter("load_balancer_id", load_balancer_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) @property @pulumi.getter(name="backendHealthStatus") @@ -10329,16 +12167,37 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "backend_set_name", backend_set_name) - pulumi.set(__self__, "load_balancer_id", load_balancer_id) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "vnic_selection", vnic_selection) + InstancePoolLoadBalancer._configure( + lambda key, value: pulumi.set(__self__, key, value), + backend_set_name=backend_set_name, + load_balancer_id=load_balancer_id, + port=port, + vnic_selection=vnic_selection, + id=id, + instance_pool_id=instance_pool_id, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backend_set_name: str, + load_balancer_id: str, + port: int, + vnic_selection: str, + id: Optional[str] = None, + instance_pool_id: Optional[str] = None, + state: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("backend_set_name", backend_set_name) + _setter("load_balancer_id", load_balancer_id) + _setter("port", port) + _setter("vnic_selection", vnic_selection) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if instance_pool_id is not None: - pulumi.set(__self__, "instance_pool_id", instance_pool_id) + _setter("instance_pool_id", instance_pool_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) @property @pulumi.getter(name="backendSetName") @@ -10449,15 +12308,32 @@ def __init__(__self__, *, :param 'InstancePoolPlacementConfigurationPrimaryVnicSubnetsArgs' primary_vnic_subnets: (Updatable) Details about the IPv6 primary subnet. :param Sequence['InstancePoolPlacementConfigurationSecondaryVnicSubnetArgs'] secondary_vnic_subnets: (Updatable) The set of secondary VNIC data for instances in the pool. """ - pulumi.set(__self__, "availability_domain", availability_domain) + InstancePoolPlacementConfiguration._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + fault_domains=fault_domains, + primary_subnet_id=primary_subnet_id, + primary_vnic_subnets=primary_vnic_subnets, + secondary_vnic_subnets=secondary_vnic_subnets, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + fault_domains: Optional[Sequence[str]] = None, + primary_subnet_id: Optional[str] = None, + primary_vnic_subnets: Optional['outputs.InstancePoolPlacementConfigurationPrimaryVnicSubnets'] = None, + secondary_vnic_subnets: Optional[Sequence['outputs.InstancePoolPlacementConfigurationSecondaryVnicSubnet']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) if fault_domains is not None: - pulumi.set(__self__, "fault_domains", fault_domains) + _setter("fault_domains", fault_domains) if primary_subnet_id is not None: - pulumi.set(__self__, "primary_subnet_id", primary_subnet_id) + _setter("primary_subnet_id", primary_subnet_id) if primary_vnic_subnets is not None: - pulumi.set(__self__, "primary_vnic_subnets", primary_vnic_subnets) + _setter("primary_vnic_subnets", primary_vnic_subnets) if secondary_vnic_subnets is not None: - pulumi.set(__self__, "secondary_vnic_subnets", secondary_vnic_subnets) + _setter("secondary_vnic_subnets", secondary_vnic_subnets) @property @pulumi.getter(name="availabilityDomain") @@ -10540,11 +12416,24 @@ def __init__(__self__, *, :param Sequence['InstancePoolPlacementConfigurationPrimaryVnicSubnetsIpv6addressIpv6subnetCidrPairDetailArgs'] ipv6address_ipv6subnet_cidr_pair_details: (Updatable) A list of IPv6 prefix ranges from which the VNIC should be assigned an IPv6 address. You can provide only the prefix ranges and Oracle Cloud Infrastructure will select an available address from the range. You can optionally choose to leave the prefix range empty and instead provide the specific IPv6 address that should be used from within that range. :param bool is_assign_ipv6ip: (Updatable) Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled subnet. Default: False. When provided you may optionally provide an IPv6 prefix (`ipv6SubnetCidr`) of your choice to assign the IPv6 address from. If `ipv6SubnetCidr` is not provided then an IPv6 prefix is chosen for you. """ - pulumi.set(__self__, "subnet_id", subnet_id) + InstancePoolPlacementConfigurationPrimaryVnicSubnets._configure( + lambda key, value: pulumi.set(__self__, key, value), + subnet_id=subnet_id, + ipv6address_ipv6subnet_cidr_pair_details=ipv6address_ipv6subnet_cidr_pair_details, + is_assign_ipv6ip=is_assign_ipv6ip, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + subnet_id: str, + ipv6address_ipv6subnet_cidr_pair_details: Optional[Sequence['outputs.InstancePoolPlacementConfigurationPrimaryVnicSubnetsIpv6addressIpv6subnetCidrPairDetail']] = None, + is_assign_ipv6ip: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("subnet_id", subnet_id) if ipv6address_ipv6subnet_cidr_pair_details is not None: - pulumi.set(__self__, "ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) + _setter("ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) if is_assign_ipv6ip is not None: - pulumi.set(__self__, "is_assign_ipv6ip", is_assign_ipv6ip) + _setter("is_assign_ipv6ip", is_assign_ipv6ip) @property @pulumi.getter(name="subnetId") @@ -10595,8 +12484,17 @@ def __init__(__self__, *, """ :param str ipv6subnet_cidr: (Updatable) Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation. """ + InstancePoolPlacementConfigurationPrimaryVnicSubnetsIpv6addressIpv6subnetCidrPairDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + ipv6subnet_cidr=ipv6subnet_cidr, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ipv6subnet_cidr: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ipv6subnet_cidr is not None: - pulumi.set(__self__, "ipv6subnet_cidr", ipv6subnet_cidr) + _setter("ipv6subnet_cidr", ipv6subnet_cidr) @property @pulumi.getter(name="ipv6subnetCidr") @@ -10643,13 +12541,28 @@ def __init__(__self__, *, :param Sequence['InstancePoolPlacementConfigurationSecondaryVnicSubnetIpv6addressIpv6subnetCidrPairDetailArgs'] ipv6address_ipv6subnet_cidr_pair_details: (Updatable) A list of IPv6 prefix ranges from which the VNIC should be assigned an IPv6 address. You can provide only the prefix ranges and Oracle Cloud Infrastructure will select an available address from the range. You can optionally choose to leave the prefix range empty and instead provide the specific IPv6 address that should be used from within that range. :param bool is_assign_ipv6ip: (Updatable) Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled subnet. Default: False. When provided you may optionally provide an IPv6 prefix (`ipv6SubnetCidr`) of your choice to assign the IPv6 address from. If `ipv6SubnetCidr` is not provided then an IPv6 prefix is chosen for you. """ - pulumi.set(__self__, "subnet_id", subnet_id) + InstancePoolPlacementConfigurationSecondaryVnicSubnet._configure( + lambda key, value: pulumi.set(__self__, key, value), + subnet_id=subnet_id, + display_name=display_name, + ipv6address_ipv6subnet_cidr_pair_details=ipv6address_ipv6subnet_cidr_pair_details, + is_assign_ipv6ip=is_assign_ipv6ip, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + subnet_id: str, + display_name: Optional[str] = None, + ipv6address_ipv6subnet_cidr_pair_details: Optional[Sequence['outputs.InstancePoolPlacementConfigurationSecondaryVnicSubnetIpv6addressIpv6subnetCidrPairDetail']] = None, + is_assign_ipv6ip: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("subnet_id", subnet_id) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if ipv6address_ipv6subnet_cidr_pair_details is not None: - pulumi.set(__self__, "ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) + _setter("ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) if is_assign_ipv6ip is not None: - pulumi.set(__self__, "is_assign_ipv6ip", is_assign_ipv6ip) + _setter("is_assign_ipv6ip", is_assign_ipv6ip) @property @pulumi.getter(name="subnetId") @@ -10708,8 +12621,17 @@ def __init__(__self__, *, """ :param str ipv6subnet_cidr: (Updatable) Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation. """ + InstancePoolPlacementConfigurationSecondaryVnicSubnetIpv6addressIpv6subnetCidrPairDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + ipv6subnet_cidr=ipv6subnet_cidr, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ipv6subnet_cidr: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ipv6subnet_cidr is not None: - pulumi.set(__self__, "ipv6subnet_cidr", ipv6subnet_cidr) + _setter("ipv6subnet_cidr", ipv6subnet_cidr) @property @pulumi.getter(name="ipv6subnetCidr") @@ -10744,7 +12666,16 @@ def __init__(__self__, *, """ :param 'InstancePreemptibleInstanceConfigPreemptionActionArgs' preemption_action: The action to run when the preemptible instance is interrupted for eviction. """ - pulumi.set(__self__, "preemption_action", preemption_action) + InstancePreemptibleInstanceConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + preemption_action=preemption_action, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + preemption_action: 'outputs.InstancePreemptibleInstanceConfigPreemptionAction', + opts: Optional[pulumi.ResourceOptions]=None): + _setter("preemption_action", preemption_action) @property @pulumi.getter(name="preemptionAction") @@ -10781,9 +12712,20 @@ def __init__(__self__, *, :param str type: The type of action to run when the instance is interrupted for eviction. :param bool preserve_boot_volume: Whether to preserve the boot volume that was used to launch the preemptible instance when the instance is terminated. Defaults to false if not specified. """ - pulumi.set(__self__, "type", type) + InstancePreemptibleInstanceConfigPreemptionAction._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + preserve_boot_volume=preserve_boot_volume, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + preserve_boot_volume: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if preserve_boot_volume is not None: - pulumi.set(__self__, "preserve_boot_volume", preserve_boot_volume) + _setter("preserve_boot_volume", preserve_boot_volume) @property @pulumi.getter @@ -10868,32 +12810,65 @@ def __init__(__self__, *, :param str processor_description: A short description of the instance's processor (CPU). :param int vcpus: (Updatable) The total number of VCPUs available to the instance. This can be used instead of OCPUs, in which case the actual number of OCPUs will be calculated based on this value and the actual hardware. This must be a multiple of 2. """ + InstanceShapeConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + baseline_ocpu_utilization=baseline_ocpu_utilization, + gpu_description=gpu_description, + gpus=gpus, + local_disk_description=local_disk_description, + local_disks=local_disks, + local_disks_total_size_in_gbs=local_disks_total_size_in_gbs, + max_vnic_attachments=max_vnic_attachments, + memory_in_gbs=memory_in_gbs, + networking_bandwidth_in_gbps=networking_bandwidth_in_gbps, + nvmes=nvmes, + ocpus=ocpus, + processor_description=processor_description, + vcpus=vcpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + baseline_ocpu_utilization: Optional[str] = None, + gpu_description: Optional[str] = None, + gpus: Optional[int] = None, + local_disk_description: Optional[str] = None, + local_disks: Optional[int] = None, + local_disks_total_size_in_gbs: Optional[float] = None, + max_vnic_attachments: Optional[int] = None, + memory_in_gbs: Optional[float] = None, + networking_bandwidth_in_gbps: Optional[float] = None, + nvmes: Optional[int] = None, + ocpus: Optional[float] = None, + processor_description: Optional[str] = None, + vcpus: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if baseline_ocpu_utilization is not None: - pulumi.set(__self__, "baseline_ocpu_utilization", baseline_ocpu_utilization) + _setter("baseline_ocpu_utilization", baseline_ocpu_utilization) if gpu_description is not None: - pulumi.set(__self__, "gpu_description", gpu_description) + _setter("gpu_description", gpu_description) if gpus is not None: - pulumi.set(__self__, "gpus", gpus) + _setter("gpus", gpus) if local_disk_description is not None: - pulumi.set(__self__, "local_disk_description", local_disk_description) + _setter("local_disk_description", local_disk_description) if local_disks is not None: - pulumi.set(__self__, "local_disks", local_disks) + _setter("local_disks", local_disks) if local_disks_total_size_in_gbs is not None: - pulumi.set(__self__, "local_disks_total_size_in_gbs", local_disks_total_size_in_gbs) + _setter("local_disks_total_size_in_gbs", local_disks_total_size_in_gbs) if max_vnic_attachments is not None: - pulumi.set(__self__, "max_vnic_attachments", max_vnic_attachments) + _setter("max_vnic_attachments", max_vnic_attachments) if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) if networking_bandwidth_in_gbps is not None: - pulumi.set(__self__, "networking_bandwidth_in_gbps", networking_bandwidth_in_gbps) + _setter("networking_bandwidth_in_gbps", networking_bandwidth_in_gbps) if nvmes is not None: - pulumi.set(__self__, "nvmes", nvmes) + _setter("nvmes", nvmes) if ocpus is not None: - pulumi.set(__self__, "ocpus", ocpus) + _setter("ocpus", ocpus) if processor_description is not None: - pulumi.set(__self__, "processor_description", processor_description) + _setter("processor_description", processor_description) if vcpus is not None: - pulumi.set(__self__, "vcpus", vcpus) + _setter("vcpus", vcpus) @property @pulumi.getter(name="baselineOcpuUtilization") @@ -11048,17 +13023,36 @@ def __init__(__self__, *, :param str kms_key_id: The OCID of the Vault service key to assign as the master encryption key for the boot volume. :param str source_id: The OCID of an image or a boot volume to use, depending on the value of `source_type`. """ - pulumi.set(__self__, "source_type", source_type) + InstanceSourceDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + source_type=source_type, + boot_volume_size_in_gbs=boot_volume_size_in_gbs, + boot_volume_vpus_per_gb=boot_volume_vpus_per_gb, + instance_source_image_filter_details=instance_source_image_filter_details, + kms_key_id=kms_key_id, + source_id=source_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + source_type: str, + boot_volume_size_in_gbs: Optional[str] = None, + boot_volume_vpus_per_gb: Optional[str] = None, + instance_source_image_filter_details: Optional['outputs.InstanceSourceDetailsInstanceSourceImageFilterDetails'] = None, + kms_key_id: Optional[str] = None, + source_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("source_type", source_type) if boot_volume_size_in_gbs is not None: - pulumi.set(__self__, "boot_volume_size_in_gbs", boot_volume_size_in_gbs) + _setter("boot_volume_size_in_gbs", boot_volume_size_in_gbs) if boot_volume_vpus_per_gb is not None: - pulumi.set(__self__, "boot_volume_vpus_per_gb", boot_volume_vpus_per_gb) + _setter("boot_volume_vpus_per_gb", boot_volume_vpus_per_gb) if instance_source_image_filter_details is not None: - pulumi.set(__self__, "instance_source_image_filter_details", instance_source_image_filter_details) + _setter("instance_source_image_filter_details", instance_source_image_filter_details) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) if source_id is not None: - pulumi.set(__self__, "source_id", source_id) + _setter("source_id", source_id) @property @pulumi.getter(name="sourceType") @@ -11147,13 +13141,28 @@ def __init__(__self__, *, :param str operating_system: The image's operating system. Example: `Oracle Linux` :param str operating_system_version: The image's operating system version. Example: `7.2` """ - pulumi.set(__self__, "compartment_id", compartment_id) + InstanceSourceDetailsInstanceSourceImageFilterDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags_filter=defined_tags_filter, + operating_system=operating_system, + operating_system_version=operating_system_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags_filter: Optional[Mapping[str, Any]] = None, + operating_system: Optional[str] = None, + operating_system_version: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) if defined_tags_filter is not None: - pulumi.set(__self__, "defined_tags_filter", defined_tags_filter) + _setter("defined_tags_filter", defined_tags_filter) if operating_system is not None: - pulumi.set(__self__, "operating_system", operating_system) + _setter("operating_system", operating_system) if operating_system_version is not None: - pulumi.set(__self__, "operating_system_version", operating_system_version) + _setter("operating_system_version", operating_system_version) @property @pulumi.getter(name="compartmentId") @@ -11252,18 +13261,37 @@ def __init__(__self__, *, Example: `10.0.0.4/31` """ + IpsecConnectionTunnelManagementBgpSessionInfo._configure( + lambda key, value: pulumi.set(__self__, key, value), + bgp_ipv6state=bgp_ipv6state, + bgp_state=bgp_state, + customer_bgp_asn=customer_bgp_asn, + customer_interface_ip=customer_interface_ip, + oracle_bgp_asn=oracle_bgp_asn, + oracle_interface_ip=oracle_interface_ip, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bgp_ipv6state: Optional[str] = None, + bgp_state: Optional[str] = None, + customer_bgp_asn: Optional[str] = None, + customer_interface_ip: Optional[str] = None, + oracle_bgp_asn: Optional[str] = None, + oracle_interface_ip: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if bgp_ipv6state is not None: - pulumi.set(__self__, "bgp_ipv6state", bgp_ipv6state) + _setter("bgp_ipv6state", bgp_ipv6state) if bgp_state is not None: - pulumi.set(__self__, "bgp_state", bgp_state) + _setter("bgp_state", bgp_state) if customer_bgp_asn is not None: - pulumi.set(__self__, "customer_bgp_asn", customer_bgp_asn) + _setter("customer_bgp_asn", customer_bgp_asn) if customer_interface_ip is not None: - pulumi.set(__self__, "customer_interface_ip", customer_interface_ip) + _setter("customer_interface_ip", customer_interface_ip) if oracle_bgp_asn is not None: - pulumi.set(__self__, "oracle_bgp_asn", oracle_bgp_asn) + _setter("oracle_bgp_asn", oracle_bgp_asn) if oracle_interface_ip is not None: - pulumi.set(__self__, "oracle_interface_ip", oracle_interface_ip) + _setter("oracle_interface_ip", oracle_interface_ip) @property @pulumi.getter(name="bgpIpv6state") @@ -11358,10 +13386,21 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, dpd_mode: Optional[str] = None, dpd_timeout_in_sec: Optional[int] = None): + IpsecConnectionTunnelManagementDpdConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + dpd_mode=dpd_mode, + dpd_timeout_in_sec=dpd_timeout_in_sec, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + dpd_mode: Optional[str] = None, + dpd_timeout_in_sec: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if dpd_mode is not None: - pulumi.set(__self__, "dpd_mode", dpd_mode) + _setter("dpd_mode", dpd_mode) if dpd_timeout_in_sec is not None: - pulumi.set(__self__, "dpd_timeout_in_sec", dpd_timeout_in_sec) + _setter("dpd_timeout_in_sec", dpd_timeout_in_sec) @property @pulumi.getter(name="dpdMode") @@ -11402,10 +13441,21 @@ def __init__(__self__, *, :param Sequence[str] cpe_traffic_selectors: Lists IPv4 or IPv6-enabled subnets in your on-premises network. :param Sequence[str] oracle_traffic_selectors: Lists IPv4 or IPv6-enabled subnets in your Oracle tenancy. """ + IpsecConnectionTunnelManagementEncryptionDomainConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + cpe_traffic_selectors=cpe_traffic_selectors, + oracle_traffic_selectors=oracle_traffic_selectors, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cpe_traffic_selectors: Optional[Sequence[str]] = None, + oracle_traffic_selectors: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if cpe_traffic_selectors is not None: - pulumi.set(__self__, "cpe_traffic_selectors", cpe_traffic_selectors) + _setter("cpe_traffic_selectors", cpe_traffic_selectors) if oracle_traffic_selectors is not None: - pulumi.set(__self__, "oracle_traffic_selectors", oracle_traffic_selectors) + _setter("oracle_traffic_selectors", oracle_traffic_selectors) @property @pulumi.getter(name="cpeTrafficSelectors") @@ -11473,28 +13523,57 @@ def __init__(__self__, *, negotiated_encryption_algorithm: Optional[str] = None, remaining_lifetime: Optional[str] = None, remaining_lifetime_last_retrieved: Optional[str] = None): + IpsecConnectionTunnelManagementPhaseOneDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_authentication_algorithm=custom_authentication_algorithm, + custom_dh_group=custom_dh_group, + custom_encryption_algorithm=custom_encryption_algorithm, + is_custom_phase_one_config=is_custom_phase_one_config, + is_ike_established=is_ike_established, + lifetime=lifetime, + negotiated_authentication_algorithm=negotiated_authentication_algorithm, + negotiated_dh_group=negotiated_dh_group, + negotiated_encryption_algorithm=negotiated_encryption_algorithm, + remaining_lifetime=remaining_lifetime, + remaining_lifetime_last_retrieved=remaining_lifetime_last_retrieved, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_authentication_algorithm: Optional[str] = None, + custom_dh_group: Optional[str] = None, + custom_encryption_algorithm: Optional[str] = None, + is_custom_phase_one_config: Optional[bool] = None, + is_ike_established: Optional[bool] = None, + lifetime: Optional[int] = None, + negotiated_authentication_algorithm: Optional[str] = None, + negotiated_dh_group: Optional[str] = None, + negotiated_encryption_algorithm: Optional[str] = None, + remaining_lifetime: Optional[str] = None, + remaining_lifetime_last_retrieved: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if custom_authentication_algorithm is not None: - pulumi.set(__self__, "custom_authentication_algorithm", custom_authentication_algorithm) + _setter("custom_authentication_algorithm", custom_authentication_algorithm) if custom_dh_group is not None: - pulumi.set(__self__, "custom_dh_group", custom_dh_group) + _setter("custom_dh_group", custom_dh_group) if custom_encryption_algorithm is not None: - pulumi.set(__self__, "custom_encryption_algorithm", custom_encryption_algorithm) + _setter("custom_encryption_algorithm", custom_encryption_algorithm) if is_custom_phase_one_config is not None: - pulumi.set(__self__, "is_custom_phase_one_config", is_custom_phase_one_config) + _setter("is_custom_phase_one_config", is_custom_phase_one_config) if is_ike_established is not None: - pulumi.set(__self__, "is_ike_established", is_ike_established) + _setter("is_ike_established", is_ike_established) if lifetime is not None: - pulumi.set(__self__, "lifetime", lifetime) + _setter("lifetime", lifetime) if negotiated_authentication_algorithm is not None: - pulumi.set(__self__, "negotiated_authentication_algorithm", negotiated_authentication_algorithm) + _setter("negotiated_authentication_algorithm", negotiated_authentication_algorithm) if negotiated_dh_group is not None: - pulumi.set(__self__, "negotiated_dh_group", negotiated_dh_group) + _setter("negotiated_dh_group", negotiated_dh_group) if negotiated_encryption_algorithm is not None: - pulumi.set(__self__, "negotiated_encryption_algorithm", negotiated_encryption_algorithm) + _setter("negotiated_encryption_algorithm", negotiated_encryption_algorithm) if remaining_lifetime is not None: - pulumi.set(__self__, "remaining_lifetime", remaining_lifetime) + _setter("remaining_lifetime", remaining_lifetime) if remaining_lifetime_last_retrieved is not None: - pulumi.set(__self__, "remaining_lifetime_last_retrieved", remaining_lifetime_last_retrieved) + _setter("remaining_lifetime_last_retrieved", remaining_lifetime_last_retrieved) @property @pulumi.getter(name="customAuthenticationAlgorithm") @@ -11604,30 +13683,61 @@ def __init__(__self__, *, negotiated_encryption_algorithm: Optional[str] = None, remaining_lifetime: Optional[str] = None, remaining_lifetime_last_retrieved: Optional[str] = None): + IpsecConnectionTunnelManagementPhaseTwoDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_authentication_algorithm=custom_authentication_algorithm, + custom_encryption_algorithm=custom_encryption_algorithm, + dh_group=dh_group, + is_custom_phase_two_config=is_custom_phase_two_config, + is_esp_established=is_esp_established, + is_pfs_enabled=is_pfs_enabled, + lifetime=lifetime, + negotiated_authentication_algorithm=negotiated_authentication_algorithm, + negotiated_dh_group=negotiated_dh_group, + negotiated_encryption_algorithm=negotiated_encryption_algorithm, + remaining_lifetime=remaining_lifetime, + remaining_lifetime_last_retrieved=remaining_lifetime_last_retrieved, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_authentication_algorithm: Optional[str] = None, + custom_encryption_algorithm: Optional[str] = None, + dh_group: Optional[str] = None, + is_custom_phase_two_config: Optional[bool] = None, + is_esp_established: Optional[bool] = None, + is_pfs_enabled: Optional[bool] = None, + lifetime: Optional[int] = None, + negotiated_authentication_algorithm: Optional[str] = None, + negotiated_dh_group: Optional[str] = None, + negotiated_encryption_algorithm: Optional[str] = None, + remaining_lifetime: Optional[str] = None, + remaining_lifetime_last_retrieved: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if custom_authentication_algorithm is not None: - pulumi.set(__self__, "custom_authentication_algorithm", custom_authentication_algorithm) + _setter("custom_authentication_algorithm", custom_authentication_algorithm) if custom_encryption_algorithm is not None: - pulumi.set(__self__, "custom_encryption_algorithm", custom_encryption_algorithm) + _setter("custom_encryption_algorithm", custom_encryption_algorithm) if dh_group is not None: - pulumi.set(__self__, "dh_group", dh_group) + _setter("dh_group", dh_group) if is_custom_phase_two_config is not None: - pulumi.set(__self__, "is_custom_phase_two_config", is_custom_phase_two_config) + _setter("is_custom_phase_two_config", is_custom_phase_two_config) if is_esp_established is not None: - pulumi.set(__self__, "is_esp_established", is_esp_established) + _setter("is_esp_established", is_esp_established) if is_pfs_enabled is not None: - pulumi.set(__self__, "is_pfs_enabled", is_pfs_enabled) + _setter("is_pfs_enabled", is_pfs_enabled) if lifetime is not None: - pulumi.set(__self__, "lifetime", lifetime) + _setter("lifetime", lifetime) if negotiated_authentication_algorithm is not None: - pulumi.set(__self__, "negotiated_authentication_algorithm", negotiated_authentication_algorithm) + _setter("negotiated_authentication_algorithm", negotiated_authentication_algorithm) if negotiated_dh_group is not None: - pulumi.set(__self__, "negotiated_dh_group", negotiated_dh_group) + _setter("negotiated_dh_group", negotiated_dh_group) if negotiated_encryption_algorithm is not None: - pulumi.set(__self__, "negotiated_encryption_algorithm", negotiated_encryption_algorithm) + _setter("negotiated_encryption_algorithm", negotiated_encryption_algorithm) if remaining_lifetime is not None: - pulumi.set(__self__, "remaining_lifetime", remaining_lifetime) + _setter("remaining_lifetime", remaining_lifetime) if remaining_lifetime_last_retrieved is not None: - pulumi.set(__self__, "remaining_lifetime_last_retrieved", remaining_lifetime_last_retrieved) + _setter("remaining_lifetime_last_retrieved", remaining_lifetime_last_retrieved) @property @pulumi.getter(name="customAuthenticationAlgorithm") @@ -11699,9 +13809,20 @@ def __init__(__self__, *, :param int type: The ICMP type. :param int code: The ICMP code (optional). """ - pulumi.set(__self__, "type", type) + NetworkSecurityGroupSecurityRuleIcmpOptions._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + code=code, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: int, + code: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if code is not None: - pulumi.set(__self__, "code", code) + _setter("code", code) @property @pulumi.getter @@ -11744,10 +13865,21 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, destination_port_range: Optional['outputs.NetworkSecurityGroupSecurityRuleTcpOptionsDestinationPortRange'] = None, source_port_range: Optional['outputs.NetworkSecurityGroupSecurityRuleTcpOptionsSourcePortRange'] = None): + NetworkSecurityGroupSecurityRuleTcpOptions._configure( + lambda key, value: pulumi.set(__self__, key, value), + destination_port_range=destination_port_range, + source_port_range=source_port_range, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + destination_port_range: Optional['outputs.NetworkSecurityGroupSecurityRuleTcpOptionsDestinationPortRange'] = None, + source_port_range: Optional['outputs.NetworkSecurityGroupSecurityRuleTcpOptionsSourcePortRange'] = None, + opts: Optional[pulumi.ResourceOptions]=None): if destination_port_range is not None: - pulumi.set(__self__, "destination_port_range", destination_port_range) + _setter("destination_port_range", destination_port_range) if source_port_range is not None: - pulumi.set(__self__, "source_port_range", source_port_range) + _setter("source_port_range", source_port_range) @property @pulumi.getter(name="destinationPortRange") @@ -11773,8 +13905,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "min", min) + NetworkSecurityGroupSecurityRuleTcpOptionsDestinationPortRange._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: int, + min: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max", max) + _setter("min", min) @property @pulumi.getter @@ -11810,8 +13953,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "min", min) + NetworkSecurityGroupSecurityRuleTcpOptionsSourcePortRange._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: int, + min: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max", max) + _setter("min", min) @property @pulumi.getter @@ -11858,10 +14012,21 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, destination_port_range: Optional['outputs.NetworkSecurityGroupSecurityRuleUdpOptionsDestinationPortRange'] = None, source_port_range: Optional['outputs.NetworkSecurityGroupSecurityRuleUdpOptionsSourcePortRange'] = None): + NetworkSecurityGroupSecurityRuleUdpOptions._configure( + lambda key, value: pulumi.set(__self__, key, value), + destination_port_range=destination_port_range, + source_port_range=source_port_range, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + destination_port_range: Optional['outputs.NetworkSecurityGroupSecurityRuleUdpOptionsDestinationPortRange'] = None, + source_port_range: Optional['outputs.NetworkSecurityGroupSecurityRuleUdpOptionsSourcePortRange'] = None, + opts: Optional[pulumi.ResourceOptions]=None): if destination_port_range is not None: - pulumi.set(__self__, "destination_port_range", destination_port_range) + _setter("destination_port_range", destination_port_range) if source_port_range is not None: - pulumi.set(__self__, "source_port_range", source_port_range) + _setter("source_port_range", source_port_range) @property @pulumi.getter(name="destinationPortRange") @@ -11887,8 +14052,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "min", min) + NetworkSecurityGroupSecurityRuleUdpOptionsDestinationPortRange._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: int, + min: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max", max) + _setter("min", min) @property @pulumi.getter @@ -11924,8 +14100,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "min", min) + NetworkSecurityGroupSecurityRuleUdpOptionsSourcePortRange._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: int, + min: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max", max) + _setter("min", min) @property @pulumi.getter @@ -11998,17 +14185,36 @@ def __init__(__self__, *, :param str destination_type: (Updatable) Type of destination for the rule. Required if you provide a `destination`. :param str route_type: (Updatable) A route rule can be STATIC if manually added to the route table, LOCAL if added by Oracle Cloud Infrastructure to the route table. """ - pulumi.set(__self__, "network_entity_id", network_entity_id) + RouteTableRouteRule._configure( + lambda key, value: pulumi.set(__self__, key, value), + network_entity_id=network_entity_id, + cidr_block=cidr_block, + description=description, + destination=destination, + destination_type=destination_type, + route_type=route_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + network_entity_id: str, + cidr_block: Optional[str] = None, + description: Optional[str] = None, + destination: Optional[str] = None, + destination_type: Optional[str] = None, + route_type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("network_entity_id", network_entity_id) if cidr_block is not None: - pulumi.set(__self__, "cidr_block", cidr_block) + _setter("cidr_block", cidr_block) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if destination is not None: - pulumi.set(__self__, "destination", destination) + _setter("destination", destination) if destination_type is not None: - pulumi.set(__self__, "destination_type", destination_type) + _setter("destination_type", destination_type) if route_type is not None: - pulumi.set(__self__, "route_type", route_type) + _setter("route_type", route_type) @property @pulumi.getter(name="networkEntityId") @@ -12126,20 +14332,43 @@ def __init__(__self__, *, :param 'SecurityListEgressSecurityRuleTcpOptionsArgs' tcp_options: (Updatable) Optional and valid only for TCP. Use to specify particular destination ports for TCP rules. If you specify TCP as the protocol but omit this object, then all destination ports are allowed. :param 'SecurityListEgressSecurityRuleUdpOptionsArgs' udp_options: (Updatable) Optional and valid only for UDP. Use to specify particular destination ports for UDP rules. If you specify UDP as the protocol but omit this object, then all destination ports are allowed. """ - pulumi.set(__self__, "destination", destination) - pulumi.set(__self__, "protocol", protocol) + SecurityListEgressSecurityRule._configure( + lambda key, value: pulumi.set(__self__, key, value), + destination=destination, + protocol=protocol, + description=description, + destination_type=destination_type, + icmp_options=icmp_options, + stateless=stateless, + tcp_options=tcp_options, + udp_options=udp_options, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + destination: str, + protocol: str, + description: Optional[str] = None, + destination_type: Optional[str] = None, + icmp_options: Optional['outputs.SecurityListEgressSecurityRuleIcmpOptions'] = None, + stateless: Optional[bool] = None, + tcp_options: Optional['outputs.SecurityListEgressSecurityRuleTcpOptions'] = None, + udp_options: Optional['outputs.SecurityListEgressSecurityRuleUdpOptions'] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("destination", destination) + _setter("protocol", protocol) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if destination_type is not None: - pulumi.set(__self__, "destination_type", destination_type) + _setter("destination_type", destination_type) if icmp_options is not None: - pulumi.set(__self__, "icmp_options", icmp_options) + _setter("icmp_options", icmp_options) if stateless is not None: - pulumi.set(__self__, "stateless", stateless) + _setter("stateless", stateless) if tcp_options is not None: - pulumi.set(__self__, "tcp_options", tcp_options) + _setter("tcp_options", tcp_options) if udp_options is not None: - pulumi.set(__self__, "udp_options", udp_options) + _setter("udp_options", udp_options) @property @pulumi.getter @@ -12225,9 +14454,20 @@ def __init__(__self__, *, :param int type: (Updatable) The ICMP type. :param int code: (Updatable) The ICMP code (optional). """ - pulumi.set(__self__, "type", type) + SecurityListEgressSecurityRuleIcmpOptions._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + code=code, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: int, + code: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if code is not None: - pulumi.set(__self__, "code", code) + _setter("code", code) @property @pulumi.getter @@ -12274,12 +14514,25 @@ def __init__(__self__, *, :param int min: (Updatable) The minimum port number, which must not be greater than the maximum port number. :param 'SecurityListEgressSecurityRuleTcpOptionsSourcePortRangeArgs' source_port_range: (Updatable) """ + SecurityListEgressSecurityRuleTcpOptions._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + source_port_range=source_port_range, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: Optional[int] = None, + min: Optional[int] = None, + source_port_range: Optional['outputs.SecurityListEgressSecurityRuleTcpOptionsSourcePortRange'] = None, + opts: Optional[pulumi.ResourceOptions]=None): if max is not None: - pulumi.set(__self__, "max", max) + _setter("max", max) if min is not None: - pulumi.set(__self__, "min", min) + _setter("min", min) if source_port_range is not None: - pulumi.set(__self__, "source_port_range", source_port_range) + _setter("source_port_range", source_port_range) @property @pulumi.getter @@ -12315,8 +14568,19 @@ def __init__(__self__, *, :param int max: (Updatable) The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value. :param int min: (Updatable) The minimum port number, which must not be greater than the maximum port number. """ - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "min", min) + SecurityListEgressSecurityRuleTcpOptionsSourcePortRange._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: int, + min: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max", max) + _setter("min", min) @property @pulumi.getter @@ -12363,12 +14627,25 @@ def __init__(__self__, *, :param int min: (Updatable) The minimum port number, which must not be greater than the maximum port number. :param 'SecurityListEgressSecurityRuleUdpOptionsSourcePortRangeArgs' source_port_range: (Updatable) """ + SecurityListEgressSecurityRuleUdpOptions._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + source_port_range=source_port_range, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: Optional[int] = None, + min: Optional[int] = None, + source_port_range: Optional['outputs.SecurityListEgressSecurityRuleUdpOptionsSourcePortRange'] = None, + opts: Optional[pulumi.ResourceOptions]=None): if max is not None: - pulumi.set(__self__, "max", max) + _setter("max", max) if min is not None: - pulumi.set(__self__, "min", min) + _setter("min", min) if source_port_range is not None: - pulumi.set(__self__, "source_port_range", source_port_range) + _setter("source_port_range", source_port_range) @property @pulumi.getter @@ -12404,8 +14681,19 @@ def __init__(__self__, *, :param int max: (Updatable) The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value. :param int min: (Updatable) The minimum port number, which must not be greater than the maximum port number. """ - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "min", min) + SecurityListEgressSecurityRuleUdpOptionsSourcePortRange._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: int, + min: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max", max) + _setter("min", min) @property @pulumi.getter @@ -12476,20 +14764,43 @@ def __init__(__self__, *, :param 'SecurityListIngressSecurityRuleTcpOptionsArgs' tcp_options: (Updatable) Optional and valid only for TCP. Use to specify particular destination ports for TCP rules. If you specify TCP as the protocol but omit this object, then all destination ports are allowed. :param 'SecurityListIngressSecurityRuleUdpOptionsArgs' udp_options: (Updatable) Optional and valid only for UDP. Use to specify particular destination ports for UDP rules. If you specify UDP as the protocol but omit this object, then all destination ports are allowed. """ - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "source", source) + SecurityListIngressSecurityRule._configure( + lambda key, value: pulumi.set(__self__, key, value), + protocol=protocol, + source=source, + description=description, + icmp_options=icmp_options, + source_type=source_type, + stateless=stateless, + tcp_options=tcp_options, + udp_options=udp_options, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + protocol: str, + source: str, + description: Optional[str] = None, + icmp_options: Optional['outputs.SecurityListIngressSecurityRuleIcmpOptions'] = None, + source_type: Optional[str] = None, + stateless: Optional[bool] = None, + tcp_options: Optional['outputs.SecurityListIngressSecurityRuleTcpOptions'] = None, + udp_options: Optional['outputs.SecurityListIngressSecurityRuleUdpOptions'] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("protocol", protocol) + _setter("source", source) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if icmp_options is not None: - pulumi.set(__self__, "icmp_options", icmp_options) + _setter("icmp_options", icmp_options) if source_type is not None: - pulumi.set(__self__, "source_type", source_type) + _setter("source_type", source_type) if stateless is not None: - pulumi.set(__self__, "stateless", stateless) + _setter("stateless", stateless) if tcp_options is not None: - pulumi.set(__self__, "tcp_options", tcp_options) + _setter("tcp_options", tcp_options) if udp_options is not None: - pulumi.set(__self__, "udp_options", udp_options) + _setter("udp_options", udp_options) @property @pulumi.getter @@ -12573,9 +14884,20 @@ def __init__(__self__, *, :param int type: (Updatable) The ICMP type. :param int code: (Updatable) The ICMP code (optional). """ - pulumi.set(__self__, "type", type) + SecurityListIngressSecurityRuleIcmpOptions._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + code=code, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: int, + code: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if code is not None: - pulumi.set(__self__, "code", code) + _setter("code", code) @property @pulumi.getter @@ -12622,12 +14944,25 @@ def __init__(__self__, *, :param int min: (Updatable) The minimum port number, which must not be greater than the maximum port number. :param 'SecurityListIngressSecurityRuleTcpOptionsSourcePortRangeArgs' source_port_range: (Updatable) """ + SecurityListIngressSecurityRuleTcpOptions._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + source_port_range=source_port_range, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: Optional[int] = None, + min: Optional[int] = None, + source_port_range: Optional['outputs.SecurityListIngressSecurityRuleTcpOptionsSourcePortRange'] = None, + opts: Optional[pulumi.ResourceOptions]=None): if max is not None: - pulumi.set(__self__, "max", max) + _setter("max", max) if min is not None: - pulumi.set(__self__, "min", min) + _setter("min", min) if source_port_range is not None: - pulumi.set(__self__, "source_port_range", source_port_range) + _setter("source_port_range", source_port_range) @property @pulumi.getter @@ -12663,8 +14998,19 @@ def __init__(__self__, *, :param int max: (Updatable) The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value. :param int min: (Updatable) The minimum port number, which must not be greater than the maximum port number. """ - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "min", min) + SecurityListIngressSecurityRuleTcpOptionsSourcePortRange._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: int, + min: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max", max) + _setter("min", min) @property @pulumi.getter @@ -12711,12 +15057,25 @@ def __init__(__self__, *, :param int min: (Updatable) The minimum port number, which must not be greater than the maximum port number. :param 'SecurityListIngressSecurityRuleUdpOptionsSourcePortRangeArgs' source_port_range: (Updatable) """ + SecurityListIngressSecurityRuleUdpOptions._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + source_port_range=source_port_range, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: Optional[int] = None, + min: Optional[int] = None, + source_port_range: Optional['outputs.SecurityListIngressSecurityRuleUdpOptionsSourcePortRange'] = None, + opts: Optional[pulumi.ResourceOptions]=None): if max is not None: - pulumi.set(__self__, "max", max) + _setter("max", max) if min is not None: - pulumi.set(__self__, "min", min) + _setter("min", min) if source_port_range is not None: - pulumi.set(__self__, "source_port_range", source_port_range) + _setter("source_port_range", source_port_range) @property @pulumi.getter @@ -12752,8 +15111,19 @@ def __init__(__self__, *, :param int max: (Updatable) The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value. :param int min: (Updatable) The minimum port number, which must not be greater than the maximum port number. """ - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "min", min) + SecurityListIngressSecurityRuleUdpOptionsSourcePortRange._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: int, + min: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max", max) + _setter("min", min) @property @pulumi.getter @@ -12800,9 +15170,20 @@ def __init__(__self__, *, :param str service_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the [Service](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/Service/). :param str service_name: The name of the service. """ - pulumi.set(__self__, "service_id", service_id) + ServiceGatewayService._configure( + lambda key, value: pulumi.set(__self__, key, value), + service_id=service_id, + service_name=service_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + service_id: str, + service_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("service_id", service_id) if service_name is not None: - pulumi.set(__self__, "service_name", service_name) + _setter("service_name", service_name) @property @pulumi.getter(name="serviceId") @@ -12849,8 +15230,19 @@ def __init__(__self__, *, :param str byoipv6range_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `ByoipRange` resource to which the CIDR block belongs. :param str ipv6cidr_block: An IPv6 prefix required to create a VCN with a BYOIP prefix. It could be the whole prefix identified in `byoipv6RangeId`, or a subrange. Example: `2001:0db8:0123::/48` """ - pulumi.set(__self__, "byoipv6range_id", byoipv6range_id) - pulumi.set(__self__, "ipv6cidr_block", ipv6cidr_block) + VcnByoipv6cidrDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + byoipv6range_id=byoipv6range_id, + ipv6cidr_block=ipv6cidr_block, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + byoipv6range_id: str, + ipv6cidr_block: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("byoipv6range_id", byoipv6range_id) + _setter("ipv6cidr_block", ipv6cidr_block) @property @pulumi.getter(name="byoipv6rangeId") @@ -12935,20 +15327,41 @@ def __init__(__self__, *, Example: `2001:db8::2/64` :param int vlan: (Updatable) The number of the specific VLAN (on the cross-connect or cross-connect group) that is assigned to this virtual circuit. Specified by the owner of the cross-connect or cross-connect group (the customer if the customer is colocated with Oracle, or the provider if the customer is connecting via provider). Example: `200` """ + VirtualCircuitCrossConnectMapping._configure( + lambda key, value: pulumi.set(__self__, key, value), + bgp_md5auth_key=bgp_md5auth_key, + cross_connect_or_cross_connect_group_id=cross_connect_or_cross_connect_group_id, + customer_bgp_peering_ip=customer_bgp_peering_ip, + customer_bgp_peering_ipv6=customer_bgp_peering_ipv6, + oracle_bgp_peering_ip=oracle_bgp_peering_ip, + oracle_bgp_peering_ipv6=oracle_bgp_peering_ipv6, + vlan=vlan, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bgp_md5auth_key: Optional[str] = None, + cross_connect_or_cross_connect_group_id: Optional[str] = None, + customer_bgp_peering_ip: Optional[str] = None, + customer_bgp_peering_ipv6: Optional[str] = None, + oracle_bgp_peering_ip: Optional[str] = None, + oracle_bgp_peering_ipv6: Optional[str] = None, + vlan: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if bgp_md5auth_key is not None: - pulumi.set(__self__, "bgp_md5auth_key", bgp_md5auth_key) + _setter("bgp_md5auth_key", bgp_md5auth_key) if cross_connect_or_cross_connect_group_id is not None: - pulumi.set(__self__, "cross_connect_or_cross_connect_group_id", cross_connect_or_cross_connect_group_id) + _setter("cross_connect_or_cross_connect_group_id", cross_connect_or_cross_connect_group_id) if customer_bgp_peering_ip is not None: - pulumi.set(__self__, "customer_bgp_peering_ip", customer_bgp_peering_ip) + _setter("customer_bgp_peering_ip", customer_bgp_peering_ip) if customer_bgp_peering_ipv6 is not None: - pulumi.set(__self__, "customer_bgp_peering_ipv6", customer_bgp_peering_ipv6) + _setter("customer_bgp_peering_ipv6", customer_bgp_peering_ipv6) if oracle_bgp_peering_ip is not None: - pulumi.set(__self__, "oracle_bgp_peering_ip", oracle_bgp_peering_ip) + _setter("oracle_bgp_peering_ip", oracle_bgp_peering_ip) if oracle_bgp_peering_ipv6 is not None: - pulumi.set(__self__, "oracle_bgp_peering_ipv6", oracle_bgp_peering_ipv6) + _setter("oracle_bgp_peering_ipv6", oracle_bgp_peering_ipv6) if vlan is not None: - pulumi.set(__self__, "vlan", vlan) + _setter("vlan", vlan) @property @pulumi.getter(name="bgpMd5authKey") @@ -13051,7 +15464,16 @@ def __init__(__self__, *, """ :param str cidr_block: (Updatable) An individual public IP prefix (CIDR) to add to the public virtual circuit. All prefix sizes are allowed. """ - pulumi.set(__self__, "cidr_block", cidr_block) + VirtualCircuitPublicPrefix._configure( + lambda key, value: pulumi.set(__self__, key, value), + cidr_block=cidr_block, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cidr_block: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cidr_block", cidr_block) @property @pulumi.getter(name="cidrBlock") @@ -13086,8 +15508,19 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, byoipv6range_id: str, ipv6cidr_block: str): - pulumi.set(__self__, "byoipv6range_id", byoipv6range_id) - pulumi.set(__self__, "ipv6cidr_block", ipv6cidr_block) + VirtualNetworkByoipv6cidrDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + byoipv6range_id=byoipv6range_id, + ipv6cidr_block=ipv6cidr_block, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + byoipv6range_id: str, + ipv6cidr_block: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("byoipv6range_id", byoipv6range_id) + _setter("ipv6cidr_block", ipv6cidr_block) @property @pulumi.getter(name="byoipv6rangeId") @@ -13204,32 +15637,65 @@ def __init__(__self__, *, Provide a `vlanId` instead of a `subnetId`. If you provide both a `vlanId` and `subnetId`, the request fails. """ + VnicAttachmentCreateVnicDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + assign_ipv6ip=assign_ipv6ip, + assign_private_dns_record=assign_private_dns_record, + assign_public_ip=assign_public_ip, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + hostname_label=hostname_label, + ipv6address_ipv6subnet_cidr_pair_details=ipv6address_ipv6subnet_cidr_pair_details, + nsg_ids=nsg_ids, + private_ip=private_ip, + skip_source_dest_check=skip_source_dest_check, + subnet_id=subnet_id, + vlan_id=vlan_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + assign_ipv6ip: Optional[bool] = None, + assign_private_dns_record: Optional[bool] = None, + assign_public_ip: Optional[str] = None, + defined_tags: Optional[Mapping[str, Any]] = None, + display_name: Optional[str] = None, + freeform_tags: Optional[Mapping[str, Any]] = None, + hostname_label: Optional[str] = None, + ipv6address_ipv6subnet_cidr_pair_details: Optional[Sequence['outputs.VnicAttachmentCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetail']] = None, + nsg_ids: Optional[Sequence[str]] = None, + private_ip: Optional[str] = None, + skip_source_dest_check: Optional[bool] = None, + subnet_id: Optional[str] = None, + vlan_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if assign_ipv6ip is not None: - pulumi.set(__self__, "assign_ipv6ip", assign_ipv6ip) + _setter("assign_ipv6ip", assign_ipv6ip) if assign_private_dns_record is not None: - pulumi.set(__self__, "assign_private_dns_record", assign_private_dns_record) + _setter("assign_private_dns_record", assign_private_dns_record) if assign_public_ip is not None: - pulumi.set(__self__, "assign_public_ip", assign_public_ip) + _setter("assign_public_ip", assign_public_ip) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if hostname_label is not None: - pulumi.set(__self__, "hostname_label", hostname_label) + _setter("hostname_label", hostname_label) if ipv6address_ipv6subnet_cidr_pair_details is not None: - pulumi.set(__self__, "ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) + _setter("ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) if private_ip is not None: - pulumi.set(__self__, "private_ip", private_ip) + _setter("private_ip", private_ip) if skip_source_dest_check is not None: - pulumi.set(__self__, "skip_source_dest_check", skip_source_dest_check) + _setter("skip_source_dest_check", skip_source_dest_check) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) if vlan_id is not None: - pulumi.set(__self__, "vlan_id", vlan_id) + _setter("vlan_id", vlan_id) @property @pulumi.getter(name="assignIpv6ip") @@ -13392,10 +15858,21 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, ipv6_address: Optional[str] = None, ipv6_subnet_cidr: Optional[str] = None): + VnicAttachmentCreateVnicDetailsIpv6addressIpv6subnetCidrPairDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + ipv6_address=ipv6_address, + ipv6_subnet_cidr=ipv6_subnet_cidr, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ipv6_address: Optional[str] = None, + ipv6_subnet_cidr: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ipv6_address is not None: - pulumi.set(__self__, "ipv6_address", ipv6_address) + _setter("ipv6_address", ipv6_address) if ipv6_subnet_cidr is not None: - pulumi.set(__self__, "ipv6_subnet_cidr", ipv6_subnet_cidr) + _setter("ipv6_subnet_cidr", ipv6_subnet_cidr) @property @pulumi.getter(name="ipv6Address") @@ -13419,12 +15896,25 @@ def __init__(__self__, *, :param str iqn: The target volume's iSCSI Qualified Name in the format defined by [RFC 3720](https://tools.ietf.org/html/rfc3720#page-32). Example: `iqn.2015-12.com.oracleiaas:40b7ee03-883f-46c6-a951-63d2841d2195` :param int port: The volume's iSCSI port, usually port 860 or 3260. Example: `3260` """ + VolumeAttachmentMultipathDevice._configure( + lambda key, value: pulumi.set(__self__, key, value), + ipv4=ipv4, + iqn=iqn, + port=port, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ipv4: Optional[str] = None, + iqn: Optional[str] = None, + port: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ipv4 is not None: - pulumi.set(__self__, "ipv4", ipv4) + _setter("ipv4", ipv4) if iqn is not None: - pulumi.set(__self__, "iqn", iqn) + _setter("iqn", iqn) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) @property @pulumi.getter @@ -13479,9 +15969,20 @@ def __init__(__self__, *, :param str autotune_type: (Updatable) This specifies the type of autotunes supported by OCI. :param str max_vpus_per_gb: (Updatable) This will be the maximum VPUs/GB performance level that the volume will be auto-tuned temporarily based on performance monitoring. """ - pulumi.set(__self__, "autotune_type", autotune_type) + VolumeAutotunePolicy._configure( + lambda key, value: pulumi.set(__self__, key, value), + autotune_type=autotune_type, + max_vpus_per_gb=max_vpus_per_gb, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + autotune_type: str, + max_vpus_per_gb: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("autotune_type", autotune_type) if max_vpus_per_gb is not None: - pulumi.set(__self__, "max_vpus_per_gb", max_vpus_per_gb) + _setter("max_vpus_per_gb", max_vpus_per_gb) @property @pulumi.getter(name="autotuneType") @@ -13571,23 +16072,50 @@ def __init__(__self__, *, :param str time_zone: (Updatable) Specifies what time zone is the schedule in enum: """ - pulumi.set(__self__, "backup_type", backup_type) - pulumi.set(__self__, "period", period) - pulumi.set(__self__, "retention_seconds", retention_seconds) + VolumeBackupPolicySchedule._configure( + lambda key, value: pulumi.set(__self__, key, value), + backup_type=backup_type, + period=period, + retention_seconds=retention_seconds, + day_of_month=day_of_month, + day_of_week=day_of_week, + hour_of_day=hour_of_day, + month=month, + offset_seconds=offset_seconds, + offset_type=offset_type, + time_zone=time_zone, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backup_type: str, + period: str, + retention_seconds: int, + day_of_month: Optional[int] = None, + day_of_week: Optional[str] = None, + hour_of_day: Optional[int] = None, + month: Optional[str] = None, + offset_seconds: Optional[int] = None, + offset_type: Optional[str] = None, + time_zone: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("backup_type", backup_type) + _setter("period", period) + _setter("retention_seconds", retention_seconds) if day_of_month is not None: - pulumi.set(__self__, "day_of_month", day_of_month) + _setter("day_of_month", day_of_month) if day_of_week is not None: - pulumi.set(__self__, "day_of_week", day_of_week) + _setter("day_of_week", day_of_week) if hour_of_day is not None: - pulumi.set(__self__, "hour_of_day", hour_of_day) + _setter("hour_of_day", hour_of_day) if month is not None: - pulumi.set(__self__, "month", month) + _setter("month", month) if offset_seconds is not None: - pulumi.set(__self__, "offset_seconds", offset_seconds) + _setter("offset_seconds", offset_seconds) if offset_type is not None: - pulumi.set(__self__, "offset_type", offset_type) + _setter("offset_type", offset_type) if time_zone is not None: - pulumi.set(__self__, "time_zone", time_zone) + _setter("time_zone", time_zone) @property @pulumi.getter(name="backupType") @@ -13719,10 +16247,23 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param str kms_key_id: The OCID of the KMS key in the destination region which will be the master encryption key for the copied volume backup. """ - pulumi.set(__self__, "region", region) - pulumi.set(__self__, "volume_backup_id", volume_backup_id) + VolumeBackupSourceDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + region=region, + volume_backup_id=volume_backup_id, + kms_key_id=kms_key_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + region: str, + volume_backup_id: str, + kms_key_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("region", region) + _setter("volume_backup_id", volume_backup_id) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) @property @pulumi.getter @@ -13785,11 +16326,24 @@ def __init__(__self__, *, :param str block_volume_replica_id: The block volume replica's Oracle ID (OCID). :param str display_name: (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. """ - pulumi.set(__self__, "availability_domain", availability_domain) + VolumeBlockVolumeReplica._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + block_volume_replica_id=block_volume_replica_id, + display_name=display_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + block_volume_replica_id: Optional[str] = None, + display_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) if block_volume_replica_id is not None: - pulumi.set(__self__, "block_volume_replica_id", block_volume_replica_id) + _setter("block_volume_replica_id", block_volume_replica_id) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) @property @pulumi.getter(name="availabilityDomain") @@ -13851,10 +16405,23 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param str kms_key_id: The OCID of the KMS key in the destination region which will be the master encryption key for the copied volume backup. """ - pulumi.set(__self__, "region", region) - pulumi.set(__self__, "volume_group_backup_id", volume_group_backup_id) + VolumeGroupBackupSourceDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + region=region, + volume_group_backup_id=volume_group_backup_id, + kms_key_id=kms_key_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + region: str, + volume_group_backup_id: str, + kms_key_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("region", region) + _setter("volume_group_backup_id", volume_group_backup_id) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) @property @pulumi.getter @@ -13924,15 +16491,32 @@ def __init__(__self__, *, :param str volume_group_replica_id: The OCID of the volume group replica. :param Sequence[str] volume_ids: OCIDs for the volumes in this volume group. """ - pulumi.set(__self__, "type", type) + VolumeGroupSourceDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + volume_group_backup_id=volume_group_backup_id, + volume_group_id=volume_group_id, + volume_group_replica_id=volume_group_replica_id, + volume_ids=volume_ids, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + volume_group_backup_id: Optional[str] = None, + volume_group_id: Optional[str] = None, + volume_group_replica_id: Optional[str] = None, + volume_ids: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if volume_group_backup_id is not None: - pulumi.set(__self__, "volume_group_backup_id", volume_group_backup_id) + _setter("volume_group_backup_id", volume_group_backup_id) if volume_group_id is not None: - pulumi.set(__self__, "volume_group_id", volume_group_id) + _setter("volume_group_id", volume_group_id) if volume_group_replica_id is not None: - pulumi.set(__self__, "volume_group_replica_id", volume_group_replica_id) + _setter("volume_group_replica_id", volume_group_replica_id) if volume_ids is not None: - pulumi.set(__self__, "volume_ids", volume_ids) + _setter("volume_ids", volume_ids) @property @pulumi.getter @@ -14011,11 +16595,24 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param str volume_group_replica_id: The OCID of the volume group replica. """ - pulumi.set(__self__, "availability_domain", availability_domain) + VolumeGroupVolumeGroupReplica._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + display_name=display_name, + volume_group_replica_id=volume_group_replica_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + display_name: Optional[str] = None, + volume_group_replica_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if volume_group_replica_id is not None: - pulumi.set(__self__, "volume_group_replica_id", volume_group_replica_id) + _setter("volume_group_replica_id", volume_group_replica_id) @property @pulumi.getter(name="availabilityDomain") @@ -14055,8 +16652,19 @@ def __init__(__self__, *, :param str id: The OCID of the block volume replica. :param str type: The type can be one of these values: `blockVolumeReplica`, `volume`, `volumeBackup` """ - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "type", type) + VolumeSourceDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) + _setter("type", type) @property @pulumi.getter @@ -14096,14 +16704,37 @@ def __init__(__self__, *, :param str listing_resource_version: Resource Version. :param str time_published: Date and time the listing resource version was published, in [RFC3339](https://tools.ietf.org/html/rfc3339) format. Example: `2018-03-20T12:32:53.532Z` """ - pulumi.set(__self__, "accessible_ports", accessible_ports) - pulumi.set(__self__, "allowed_actions", allowed_actions) - pulumi.set(__self__, "available_regions", available_regions) - pulumi.set(__self__, "compatible_shapes", compatible_shapes) - pulumi.set(__self__, "listing_id", listing_id) - pulumi.set(__self__, "listing_resource_id", listing_resource_id) - pulumi.set(__self__, "listing_resource_version", listing_resource_version) - pulumi.set(__self__, "time_published", time_published) + GetAppCatalogListingResourceVersionsAppCatalogListingResourceVersionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + accessible_ports=accessible_ports, + allowed_actions=allowed_actions, + available_regions=available_regions, + compatible_shapes=compatible_shapes, + listing_id=listing_id, + listing_resource_id=listing_resource_id, + listing_resource_version=listing_resource_version, + time_published=time_published, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + accessible_ports: Sequence[int], + allowed_actions: Sequence[str], + available_regions: Sequence[str], + compatible_shapes: Sequence[str], + listing_id: str, + listing_resource_id: str, + listing_resource_version: str, + time_published: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("accessible_ports", accessible_ports) + _setter("allowed_actions", allowed_actions) + _setter("available_regions", available_regions) + _setter("compatible_shapes", compatible_shapes) + _setter("listing_id", listing_id) + _setter("listing_resource_id", listing_resource_id) + _setter("listing_resource_version", listing_resource_version) + _setter("time_published", time_published) @property @pulumi.getter(name="accessiblePorts") @@ -14176,10 +16807,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAppCatalogListingResourceVersionsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -14218,14 +16862,37 @@ def __init__(__self__, *, :param str summary: The short summary for the listing. :param str time_published: Date and time the listing was published, in [RFC3339](https://tools.ietf.org/html/rfc3339) format. Example: `2018-03-20T12:32:53.532Z` """ - pulumi.set(__self__, "contact_url", contact_url) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "listing_id", listing_id) - pulumi.set(__self__, "publisher_logo_url", publisher_logo_url) - pulumi.set(__self__, "publisher_name", publisher_name) - pulumi.set(__self__, "summary", summary) - pulumi.set(__self__, "time_published", time_published) + GetAppCatalogListingsAppCatalogListingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + contact_url=contact_url, + description=description, + display_name=display_name, + listing_id=listing_id, + publisher_logo_url=publisher_logo_url, + publisher_name=publisher_name, + summary=summary, + time_published=time_published, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + contact_url: str, + description: str, + display_name: str, + listing_id: str, + publisher_logo_url: str, + publisher_name: str, + summary: str, + time_published: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("contact_url", contact_url) + _setter("description", description) + _setter("display_name", display_name) + _setter("listing_id", listing_id) + _setter("publisher_logo_url", publisher_logo_url) + _setter("publisher_name", publisher_name) + _setter("summary", summary) + _setter("time_published", time_published) @property @pulumi.getter(name="contactUrl") @@ -14298,10 +16965,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAppCatalogListingsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -14344,19 +17024,50 @@ def __init__(__self__, *, :param str summary: The short summary to the listing. :param str time_created: Date and time at which the subscription was created, in [RFC3339](https://tools.ietf.org/html/rfc3339) format. Example: `2018-03-20T12:32:53.532Z` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "listing_id", listing_id) - pulumi.set(__self__, "listing_resource_id", listing_resource_id) - pulumi.set(__self__, "listing_resource_version", listing_resource_version) - pulumi.set(__self__, "oracle_terms_of_use_link", oracle_terms_of_use_link) - pulumi.set(__self__, "publisher_name", publisher_name) - pulumi.set(__self__, "signature", signature) - pulumi.set(__self__, "summary", summary) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_retrieved", time_retrieved) + GetAppCatalogSubscriptionsAppCatalogSubscriptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + listing_id=listing_id, + listing_resource_id=listing_resource_id, + listing_resource_version=listing_resource_version, + oracle_terms_of_use_link=oracle_terms_of_use_link, + publisher_name=publisher_name, + signature=signature, + summary=summary, + time_created=time_created, + time_retrieved=time_retrieved, + eula_link=eula_link, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + display_name: str, + listing_id: str, + listing_resource_id: str, + listing_resource_version: str, + oracle_terms_of_use_link: str, + publisher_name: str, + signature: str, + summary: str, + time_created: str, + time_retrieved: str, + eula_link: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) + _setter("listing_id", listing_id) + _setter("listing_resource_id", listing_resource_id) + _setter("listing_resource_version", listing_resource_version) + _setter("oracle_terms_of_use_link", oracle_terms_of_use_link) + _setter("publisher_name", publisher_name) + _setter("signature", signature) + _setter("summary", summary) + _setter("time_created", time_created) + _setter("time_retrieved", time_retrieved) if eula_link is not None: - pulumi.set(__self__, "eula_link", eula_link) + _setter("eula_link", eula_link) @property @pulumi.getter(name="compartmentId") @@ -14449,10 +17160,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAppCatalogSubscriptionsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -14499,18 +17223,49 @@ def __init__(__self__, *, :param str time_last_synced: The date and time the block volume replica was last synced from the source block volume. Format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). :param str volume_group_replica_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the volume group replica. """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "block_volume_id", block_volume_id) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "size_in_gbs", size_in_gbs) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_last_synced", time_last_synced) - pulumi.set(__self__, "volume_group_replica_id", volume_group_replica_id) + GetBlockVolumeReplicasBlockVolumeReplicaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + block_volume_id=block_volume_id, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + size_in_gbs=size_in_gbs, + state=state, + time_created=time_created, + time_last_synced=time_last_synced, + volume_group_replica_id=volume_group_replica_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + block_volume_id: str, + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + size_in_gbs: str, + state: str, + time_created: str, + time_last_synced: str, + volume_group_replica_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("block_volume_id", block_volume_id) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("size_in_gbs", size_in_gbs) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_last_synced", time_last_synced) + _setter("volume_group_replica_id", volume_group_replica_id) @property @pulumi.getter(name="availabilityDomain") @@ -14615,10 +17370,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetBlockVolumeReplicasFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -14661,16 +17429,43 @@ def __init__(__self__, *, :param str state: The current state of the boot volume attachment. :param str time_created: The date and time the boot volume was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "boot_volume_id", boot_volume_id) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "encryption_in_transit_type", encryption_in_transit_type) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "instance_id", instance_id) - pulumi.set(__self__, "is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) + GetBootVolumeAttachmentsBootVolumeAttachmentResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + boot_volume_id=boot_volume_id, + compartment_id=compartment_id, + display_name=display_name, + encryption_in_transit_type=encryption_in_transit_type, + id=id, + instance_id=instance_id, + is_pv_encryption_in_transit_enabled=is_pv_encryption_in_transit_enabled, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + boot_volume_id: str, + compartment_id: str, + display_name: str, + encryption_in_transit_type: str, + id: str, + instance_id: str, + is_pv_encryption_in_transit_enabled: bool, + state: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("boot_volume_id", boot_volume_id) + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) + _setter("encryption_in_transit_type", encryption_in_transit_type) + _setter("id", id) + _setter("instance_id", instance_id) + _setter("is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) + _setter("state", state) + _setter("time_created", time_created) @property @pulumi.getter(name="availabilityDomain") @@ -14759,10 +17554,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetBootVolumeAttachmentsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -14789,8 +17597,19 @@ def __init__(__self__, *, :param str autotune_type: This specifies the type of autotunes supported by OCI. :param str max_vpus_per_gb: This will be the maximum VPUs/GB performance level that the volume will be auto-tuned temporarily based on performance monitoring. """ - pulumi.set(__self__, "autotune_type", autotune_type) - pulumi.set(__self__, "max_vpus_per_gb", max_vpus_per_gb) + GetBootVolumeAutotunePolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + autotune_type=autotune_type, + max_vpus_per_gb=max_vpus_per_gb, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + autotune_type: str, + max_vpus_per_gb: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("autotune_type", autotune_type) + _setter("max_vpus_per_gb", max_vpus_per_gb) @property @pulumi.getter(name="autotuneType") @@ -14819,9 +17638,22 @@ def __init__(__self__, *, :param str boot_volume_backup_id: The OCID of the boot volume backup. :param str kms_key_id: The OCID of the Vault service master encryption assigned to the boot volume backup. For more information about the Vault service and encryption keys, see [Overview of Vault service](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and [Using Keys](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm). """ - pulumi.set(__self__, "boot_volume_backup_id", boot_volume_backup_id) - pulumi.set(__self__, "kms_key_id", kms_key_id) - pulumi.set(__self__, "region", region) + GetBootVolumeBackupSourceDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + boot_volume_backup_id=boot_volume_backup_id, + kms_key_id=kms_key_id, + region=region, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + boot_volume_backup_id: str, + kms_key_id: str, + region: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("boot_volume_backup_id", boot_volume_backup_id) + _setter("kms_key_id", kms_key_id) + _setter("region", region) @property @pulumi.getter(name="bootVolumeBackupId") @@ -14887,25 +17719,70 @@ def __init__(__self__, *, :param str type: The type of a volume backup. Supported values are 'FULL' or 'INCREMENTAL'. :param str unique_size_in_gbs: The size used by the backup, in GBs. It is typically smaller than sizeInGBs, depending on the space consumed on the boot volume and whether the backup is full or incremental. """ - pulumi.set(__self__, "boot_volume_id", boot_volume_id) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "expiration_time", expiration_time) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "image_id", image_id) - pulumi.set(__self__, "kms_key_id", kms_key_id) - pulumi.set(__self__, "size_in_gbs", size_in_gbs) - pulumi.set(__self__, "source_boot_volume_backup_id", source_boot_volume_backup_id) - pulumi.set(__self__, "source_details", source_details) - pulumi.set(__self__, "source_type", source_type) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_request_received", time_request_received) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "unique_size_in_gbs", unique_size_in_gbs) + GetBootVolumeBackupsBootVolumeBackupResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + boot_volume_id=boot_volume_id, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + expiration_time=expiration_time, + freeform_tags=freeform_tags, + id=id, + image_id=image_id, + kms_key_id=kms_key_id, + size_in_gbs=size_in_gbs, + source_boot_volume_backup_id=source_boot_volume_backup_id, + source_details=source_details, + source_type=source_type, + state=state, + system_tags=system_tags, + time_created=time_created, + time_request_received=time_request_received, + type=type, + unique_size_in_gbs=unique_size_in_gbs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + boot_volume_id: str, + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + expiration_time: str, + freeform_tags: Mapping[str, Any], + id: str, + image_id: str, + kms_key_id: str, + size_in_gbs: str, + source_boot_volume_backup_id: str, + source_details: Sequence['outputs.GetBootVolumeBackupsBootVolumeBackupSourceDetailResult'], + source_type: str, + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_request_received: str, + type: str, + unique_size_in_gbs: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("boot_volume_id", boot_volume_id) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("expiration_time", expiration_time) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("image_id", image_id) + _setter("kms_key_id", kms_key_id) + _setter("size_in_gbs", size_in_gbs) + _setter("source_boot_volume_backup_id", source_boot_volume_backup_id) + _setter("source_details", source_details) + _setter("source_type", source_type) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_request_received", time_request_received) + _setter("type", type) + _setter("unique_size_in_gbs", unique_size_in_gbs) @property @pulumi.getter(name="bootVolumeId") @@ -15066,9 +17943,22 @@ def __init__(__self__, *, """ :param str kms_key_id: The OCID of the Vault service master encryption assigned to the boot volume backup. For more information about the Vault service and encryption keys, see [Overview of Vault service](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and [Using Keys](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm). """ - pulumi.set(__self__, "boot_volume_backup_id", boot_volume_backup_id) - pulumi.set(__self__, "kms_key_id", kms_key_id) - pulumi.set(__self__, "region", region) + GetBootVolumeBackupsBootVolumeBackupSourceDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + boot_volume_backup_id=boot_volume_backup_id, + kms_key_id=kms_key_id, + region=region, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + boot_volume_backup_id: str, + kms_key_id: str, + region: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("boot_volume_backup_id", boot_volume_backup_id) + _setter("kms_key_id", kms_key_id) + _setter("region", region) @property @pulumi.getter(name="bootVolumeBackupId") @@ -15095,10 +17985,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetBootVolumeBackupsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -15127,9 +18030,22 @@ def __init__(__self__, *, :param str boot_volume_replica_id: The boot volume replica's Oracle ID (OCID). :param str display_name: A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "boot_volume_replica_id", boot_volume_replica_id) - pulumi.set(__self__, "display_name", display_name) + GetBootVolumeBootVolumeReplicaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + boot_volume_replica_id=boot_volume_replica_id, + display_name=display_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + boot_volume_replica_id: str, + display_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("boot_volume_replica_id", boot_volume_replica_id) + _setter("display_name", display_name) @property @pulumi.getter(name="availabilityDomain") @@ -15187,19 +18103,52 @@ def __init__(__self__, *, :param str time_last_synced: The date and time the boot volume replica was last synced from the source boot volume. Format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). :param str volume_group_replica_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the volume group replica. """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "boot_volume_id", boot_volume_id) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "image_id", image_id) - pulumi.set(__self__, "size_in_gbs", size_in_gbs) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_last_synced", time_last_synced) - pulumi.set(__self__, "volume_group_replica_id", volume_group_replica_id) + GetBootVolumeReplicasBootVolumeReplicaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + boot_volume_id=boot_volume_id, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + image_id=image_id, + size_in_gbs=size_in_gbs, + state=state, + time_created=time_created, + time_last_synced=time_last_synced, + volume_group_replica_id=volume_group_replica_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + boot_volume_id: str, + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + image_id: str, + size_in_gbs: str, + state: str, + time_created: str, + time_last_synced: str, + volume_group_replica_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("boot_volume_id", boot_volume_id) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("image_id", image_id) + _setter("size_in_gbs", size_in_gbs) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_last_synced", time_last_synced) + _setter("volume_group_replica_id", volume_group_replica_id) @property @pulumi.getter(name="availabilityDomain") @@ -15312,10 +18261,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetBootVolumeReplicasFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -15342,8 +18304,19 @@ def __init__(__self__, *, :param str id: The OCID of the boot volume replica. :param str type: The type can be one of these values: `bootVolume`, `bootVolumeBackup`, `bootVolumeReplica` """ - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "type", type) + GetBootVolumeSourceDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) + _setter("type", type) @property @pulumi.getter @@ -15410,29 +18383,82 @@ def __init__(__self__, *, :param str volume_group_id: The OCID of the volume group. :param str vpus_per_gb: The number of volume performance units (VPUs) that will be applied to this boot volume per GB, representing the Block Volume service's elastic performance options. See [Block Volume Performance Levels](https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/blockvolumeperformance.htm#perf_levels) for more information. """ - pulumi.set(__self__, "auto_tuned_vpus_per_gb", auto_tuned_vpus_per_gb) - pulumi.set(__self__, "autotune_policies", autotune_policies) - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "backup_policy_id", backup_policy_id) - pulumi.set(__self__, "boot_volume_replicas", boot_volume_replicas) - pulumi.set(__self__, "boot_volume_replicas_deletion", boot_volume_replicas_deletion) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "image_id", image_id) - pulumi.set(__self__, "is_auto_tune_enabled", is_auto_tune_enabled) - pulumi.set(__self__, "is_hydrated", is_hydrated) - pulumi.set(__self__, "kms_key_id", kms_key_id) - pulumi.set(__self__, "size_in_gbs", size_in_gbs) - pulumi.set(__self__, "size_in_mbs", size_in_mbs) - pulumi.set(__self__, "source_details", source_details) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "volume_group_id", volume_group_id) - pulumi.set(__self__, "vpus_per_gb", vpus_per_gb) + GetBootVolumesBootVolumeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + auto_tuned_vpus_per_gb=auto_tuned_vpus_per_gb, + autotune_policies=autotune_policies, + availability_domain=availability_domain, + backup_policy_id=backup_policy_id, + boot_volume_replicas=boot_volume_replicas, + boot_volume_replicas_deletion=boot_volume_replicas_deletion, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + image_id=image_id, + is_auto_tune_enabled=is_auto_tune_enabled, + is_hydrated=is_hydrated, + kms_key_id=kms_key_id, + size_in_gbs=size_in_gbs, + size_in_mbs=size_in_mbs, + source_details=source_details, + state=state, + system_tags=system_tags, + time_created=time_created, + volume_group_id=volume_group_id, + vpus_per_gb=vpus_per_gb, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + auto_tuned_vpus_per_gb: str, + autotune_policies: Sequence['outputs.GetBootVolumesBootVolumeAutotunePolicyResult'], + availability_domain: str, + backup_policy_id: str, + boot_volume_replicas: Sequence['outputs.GetBootVolumesBootVolumeBootVolumeReplicaResult'], + boot_volume_replicas_deletion: bool, + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + image_id: str, + is_auto_tune_enabled: bool, + is_hydrated: bool, + kms_key_id: str, + size_in_gbs: str, + size_in_mbs: str, + source_details: Sequence['outputs.GetBootVolumesBootVolumeSourceDetailResult'], + state: str, + system_tags: Mapping[str, Any], + time_created: str, + volume_group_id: str, + vpus_per_gb: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("auto_tuned_vpus_per_gb", auto_tuned_vpus_per_gb) + _setter("autotune_policies", autotune_policies) + _setter("availability_domain", availability_domain) + _setter("backup_policy_id", backup_policy_id) + _setter("boot_volume_replicas", boot_volume_replicas) + _setter("boot_volume_replicas_deletion", boot_volume_replicas_deletion) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("image_id", image_id) + _setter("is_auto_tune_enabled", is_auto_tune_enabled) + _setter("is_hydrated", is_hydrated) + _setter("kms_key_id", kms_key_id) + _setter("size_in_gbs", size_in_gbs) + _setter("size_in_mbs", size_in_mbs) + _setter("source_details", source_details) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("volume_group_id", volume_group_id) + _setter("vpus_per_gb", vpus_per_gb) @property @pulumi.getter(name="autoTunedVpusPerGb") @@ -15622,8 +18648,19 @@ def __init__(__self__, *, :param str autotune_type: This specifies the type of autotunes supported by OCI. :param str max_vpus_per_gb: This will be the maximum VPUs/GB performance level that the volume will be auto-tuned temporarily based on performance monitoring. """ - pulumi.set(__self__, "autotune_type", autotune_type) - pulumi.set(__self__, "max_vpus_per_gb", max_vpus_per_gb) + GetBootVolumesBootVolumeAutotunePolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + autotune_type=autotune_type, + max_vpus_per_gb=max_vpus_per_gb, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + autotune_type: str, + max_vpus_per_gb: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("autotune_type", autotune_type) + _setter("max_vpus_per_gb", max_vpus_per_gb) @property @pulumi.getter(name="autotuneType") @@ -15653,9 +18690,22 @@ def __init__(__self__, *, :param str boot_volume_replica_id: The boot volume replica's Oracle ID (OCID). :param str display_name: A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "boot_volume_replica_id", boot_volume_replica_id) - pulumi.set(__self__, "display_name", display_name) + GetBootVolumesBootVolumeBootVolumeReplicaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + boot_volume_replica_id=boot_volume_replica_id, + display_name=display_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + boot_volume_replica_id: str, + display_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("boot_volume_replica_id", boot_volume_replica_id) + _setter("display_name", display_name) @property @pulumi.getter(name="availabilityDomain") @@ -15691,8 +18741,19 @@ def __init__(__self__, *, :param str id: The OCID of the boot volume replica. :param str type: The type can be one of these values: `bootVolume`, `bootVolumeBackup`, `bootVolumeReplica` """ - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "type", type) + GetBootVolumesBootVolumeSourceDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) + _setter("type", type) @property @pulumi.getter @@ -15717,10 +18778,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetBootVolumesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -15745,7 +18819,16 @@ def __init__(__self__, *, """ :param Sequence['GetByoipAllocatedRangesByoipAllocatedRangeCollectionItemArgs'] items: A list of subranges of a BYOIP CIDR block allocated to an IP pool. """ - pulumi.set(__self__, "items", items) + GetByoipAllocatedRangesByoipAllocatedRangeCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetByoipAllocatedRangesByoipAllocatedRangeCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -15765,8 +18848,19 @@ def __init__(__self__, *, :param str cidr_block: The BYOIP CIDR block range or subrange allocated to an IP pool. This could be all or part of a BYOIP CIDR block. :param str public_ip_pool_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IP pool containing the CIDR block. """ - pulumi.set(__self__, "cidr_block", cidr_block) - pulumi.set(__self__, "public_ip_pool_id", public_ip_pool_id) + GetByoipAllocatedRangesByoipAllocatedRangeCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cidr_block=cidr_block, + public_ip_pool_id=public_ip_pool_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cidr_block: str, + public_ip_pool_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cidr_block", cidr_block) + _setter("public_ip_pool_id", public_ip_pool_id) @property @pulumi.getter(name="cidrBlock") @@ -15791,10 +18885,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetByoipAllocatedRangesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -15825,10 +18932,25 @@ def __init__(__self__, *, :param str ipv6cidr_block: The IPv6 prefix being imported to the Oracle cloud. This prefix must be /48 or larger, and can be subdivided into sub-ranges used across multiple VCNs. A BYOIPv6 prefix can be also assigned across multiple VCNs, and each VCN must be /64 or larger. You may specify a ULA or private IPv6 prefix of /64 or larger to use in the VCN. IPv6-enabled subnets will remain a fixed /64 in size. :param str vcn_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `Vcn` resource to which the ByoipRange belongs. """ - pulumi.set(__self__, "byoip_range_id", byoip_range_id) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "ipv6cidr_block", ipv6cidr_block) - pulumi.set(__self__, "vcn_id", vcn_id) + GetByoipRangeByoipRangeVcnIpv6allocationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + byoip_range_id=byoip_range_id, + compartment_id=compartment_id, + ipv6cidr_block=ipv6cidr_block, + vcn_id=vcn_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + byoip_range_id: str, + compartment_id: str, + ipv6cidr_block: str, + vcn_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("byoip_range_id", byoip_range_id) + _setter("compartment_id", compartment_id) + _setter("ipv6cidr_block", ipv6cidr_block) + _setter("vcn_id", vcn_id) @property @pulumi.getter(name="byoipRangeId") @@ -15867,7 +18989,16 @@ def vcn_id(self) -> str: class GetByoipRangesByoipRangeCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetByoipRangesByoipRangeCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetByoipRangesByoipRangeCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetByoipRangesByoipRangeCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -15910,23 +19041,60 @@ def __init__(__self__, *, :param str cidr_block: The public IPv4 CIDR block being imported from on-premises to the Oracle cloud. :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. """ - pulumi.set(__self__, "byoip_range_vcn_ipv6allocations", byoip_range_vcn_ipv6allocations) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "ipv6cidr_block", ipv6cidr_block) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_advertised", time_advertised) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_validated", time_validated) - pulumi.set(__self__, "time_withdrawn", time_withdrawn) - pulumi.set(__self__, "validation_token", validation_token) + GetByoipRangesByoipRangeCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + byoip_range_vcn_ipv6allocations=byoip_range_vcn_ipv6allocations, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + ipv6cidr_block=ipv6cidr_block, + lifecycle_details=lifecycle_details, + state=state, + time_advertised=time_advertised, + time_created=time_created, + time_validated=time_validated, + time_withdrawn=time_withdrawn, + validation_token=validation_token, + cidr_block=cidr_block, + compartment_id=compartment_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + byoip_range_vcn_ipv6allocations: Sequence['outputs.GetByoipRangesByoipRangeCollectionItemByoipRangeVcnIpv6allocationResult'], + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + ipv6cidr_block: str, + lifecycle_details: str, + state: str, + time_advertised: str, + time_created: str, + time_validated: str, + time_withdrawn: str, + validation_token: str, + cidr_block: Optional[str] = None, + compartment_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("byoip_range_vcn_ipv6allocations", byoip_range_vcn_ipv6allocations) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("ipv6cidr_block", ipv6cidr_block) + _setter("lifecycle_details", lifecycle_details) + _setter("state", state) + _setter("time_advertised", time_advertised) + _setter("time_created", time_created) + _setter("time_validated", time_validated) + _setter("time_withdrawn", time_withdrawn) + _setter("validation_token", validation_token) if cidr_block is not None: - pulumi.set(__self__, "cidr_block", cidr_block) + _setter("cidr_block", cidr_block) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) @property @pulumi.getter(name="byoipRangeVcnIpv6allocations") @@ -16062,10 +19230,25 @@ def __init__(__self__, *, :param str ipv6cidr_block: The IPv6 prefix being imported to the Oracle cloud. This prefix must be /48 or larger, and can be subdivided into sub-ranges used across multiple VCNs. A BYOIPv6 prefix can be also assigned across multiple VCNs, and each VCN must be /64 or larger. You may specify a ULA or private IPv6 prefix of /64 or larger to use in the VCN. IPv6-enabled subnets will remain a fixed /64 in size. :param str vcn_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the `Vcn` resource to which the ByoipRange belongs. """ - pulumi.set(__self__, "byoip_range_id", byoip_range_id) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "ipv6cidr_block", ipv6cidr_block) - pulumi.set(__self__, "vcn_id", vcn_id) + GetByoipRangesByoipRangeCollectionItemByoipRangeVcnIpv6allocationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + byoip_range_id=byoip_range_id, + compartment_id=compartment_id, + ipv6cidr_block=ipv6cidr_block, + vcn_id=vcn_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + byoip_range_id: str, + compartment_id: str, + ipv6cidr_block: str, + vcn_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("byoip_range_id", byoip_range_id) + _setter("compartment_id", compartment_id) + _setter("ipv6cidr_block", ipv6cidr_block) + _setter("vcn_id", vcn_id) @property @pulumi.getter(name="byoipRangeId") @@ -16106,10 +19289,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetByoipRangesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -16153,14 +19349,37 @@ def __init__(__self__, *, :param str traffic_direction: The traffic direction the VTAP is configured to mirror. :param Sequence['GetCaptureFilterVtapCaptureFilterRuleUdpOptionArgs'] udp_options: Optional and valid only for UDP. Use to specify particular destination ports for UDP rules. If you specify UDP as the protocol but omit this object, then all destination ports are allowed. """ - pulumi.set(__self__, "destination_cidr", destination_cidr) - pulumi.set(__self__, "icmp_options", icmp_options) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "rule_action", rule_action) - pulumi.set(__self__, "source_cidr", source_cidr) - pulumi.set(__self__, "tcp_options", tcp_options) - pulumi.set(__self__, "traffic_direction", traffic_direction) - pulumi.set(__self__, "udp_options", udp_options) + GetCaptureFilterVtapCaptureFilterRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + destination_cidr=destination_cidr, + icmp_options=icmp_options, + protocol=protocol, + rule_action=rule_action, + source_cidr=source_cidr, + tcp_options=tcp_options, + traffic_direction=traffic_direction, + udp_options=udp_options, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + destination_cidr: str, + icmp_options: Sequence['outputs.GetCaptureFilterVtapCaptureFilterRuleIcmpOptionResult'], + protocol: str, + rule_action: str, + source_cidr: str, + tcp_options: Sequence['outputs.GetCaptureFilterVtapCaptureFilterRuleTcpOptionResult'], + traffic_direction: str, + udp_options: Sequence['outputs.GetCaptureFilterVtapCaptureFilterRuleUdpOptionResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("destination_cidr", destination_cidr) + _setter("icmp_options", icmp_options) + _setter("protocol", protocol) + _setter("rule_action", rule_action) + _setter("source_cidr", source_cidr) + _setter("tcp_options", tcp_options) + _setter("traffic_direction", traffic_direction) + _setter("udp_options", udp_options) @property @pulumi.getter(name="destinationCidr") @@ -16241,8 +19460,19 @@ def __init__(__self__, *, :param int code: The ICMP code (optional). :param int type: The ICMP type. """ - pulumi.set(__self__, "code", code) - pulumi.set(__self__, "type", type) + GetCaptureFilterVtapCaptureFilterRuleIcmpOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + code=code, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + code: int, + type: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("code", code) + _setter("type", type) @property @pulumi.getter @@ -16266,8 +19496,19 @@ class GetCaptureFilterVtapCaptureFilterRuleTcpOptionResult(dict): def __init__(__self__, *, destination_port_ranges: Sequence['outputs.GetCaptureFilterVtapCaptureFilterRuleTcpOptionDestinationPortRangeResult'], source_port_ranges: Sequence['outputs.GetCaptureFilterVtapCaptureFilterRuleTcpOptionSourcePortRangeResult']): - pulumi.set(__self__, "destination_port_ranges", destination_port_ranges) - pulumi.set(__self__, "source_port_ranges", source_port_ranges) + GetCaptureFilterVtapCaptureFilterRuleTcpOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + destination_port_ranges=destination_port_ranges, + source_port_ranges=source_port_ranges, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + destination_port_ranges: Sequence['outputs.GetCaptureFilterVtapCaptureFilterRuleTcpOptionDestinationPortRangeResult'], + source_port_ranges: Sequence['outputs.GetCaptureFilterVtapCaptureFilterRuleTcpOptionSourcePortRangeResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("destination_port_ranges", destination_port_ranges) + _setter("source_port_ranges", source_port_ranges) @property @pulumi.getter(name="destinationPortRanges") @@ -16289,8 +19530,19 @@ def __init__(__self__, *, :param int max: The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value. :param int min: The minimum port number, which must not be greater than the maximum port number. """ - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "min", min) + GetCaptureFilterVtapCaptureFilterRuleTcpOptionDestinationPortRangeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: int, + min: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max", max) + _setter("min", min) @property @pulumi.getter @@ -16318,8 +19570,19 @@ def __init__(__self__, *, :param int max: The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value. :param int min: The minimum port number, which must not be greater than the maximum port number. """ - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "min", min) + GetCaptureFilterVtapCaptureFilterRuleTcpOptionSourcePortRangeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: int, + min: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max", max) + _setter("min", min) @property @pulumi.getter @@ -16343,8 +19606,19 @@ class GetCaptureFilterVtapCaptureFilterRuleUdpOptionResult(dict): def __init__(__self__, *, destination_port_ranges: Sequence['outputs.GetCaptureFilterVtapCaptureFilterRuleUdpOptionDestinationPortRangeResult'], source_port_ranges: Sequence['outputs.GetCaptureFilterVtapCaptureFilterRuleUdpOptionSourcePortRangeResult']): - pulumi.set(__self__, "destination_port_ranges", destination_port_ranges) - pulumi.set(__self__, "source_port_ranges", source_port_ranges) + GetCaptureFilterVtapCaptureFilterRuleUdpOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + destination_port_ranges=destination_port_ranges, + source_port_ranges=source_port_ranges, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + destination_port_ranges: Sequence['outputs.GetCaptureFilterVtapCaptureFilterRuleUdpOptionDestinationPortRangeResult'], + source_port_ranges: Sequence['outputs.GetCaptureFilterVtapCaptureFilterRuleUdpOptionSourcePortRangeResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("destination_port_ranges", destination_port_ranges) + _setter("source_port_ranges", source_port_ranges) @property @pulumi.getter(name="destinationPortRanges") @@ -16366,8 +19640,19 @@ def __init__(__self__, *, :param int max: The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value. :param int min: The minimum port number, which must not be greater than the maximum port number. """ - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "min", min) + GetCaptureFilterVtapCaptureFilterRuleUdpOptionDestinationPortRangeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: int, + min: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max", max) + _setter("min", min) @property @pulumi.getter @@ -16395,8 +19680,19 @@ def __init__(__self__, *, :param int max: The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value. :param int min: The minimum port number, which must not be greater than the maximum port number. """ - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "min", min) + GetCaptureFilterVtapCaptureFilterRuleUdpOptionSourcePortRangeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: int, + min: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max", max) + _setter("min", min) @property @pulumi.getter @@ -16438,15 +19734,40 @@ def __init__(__self__, *, :param str time_created: The date and time the capture filter was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2021-08-25T21:10:29.600Z` :param Sequence['GetCaptureFiltersCaptureFilterVtapCaptureFilterRuleArgs'] vtap_capture_filter_rules: The set of rules governing what traffic a VTAP mirrors. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "filter_type", filter_type) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "vtap_capture_filter_rules", vtap_capture_filter_rules) + GetCaptureFiltersCaptureFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + filter_type=filter_type, + freeform_tags=freeform_tags, + id=id, + state=state, + time_created=time_created, + vtap_capture_filter_rules=vtap_capture_filter_rules, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + filter_type: str, + freeform_tags: Mapping[str, Any], + id: str, + state: str, + time_created: str, + vtap_capture_filter_rules: Sequence['outputs.GetCaptureFiltersCaptureFilterVtapCaptureFilterRuleResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("filter_type", filter_type) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("state", state) + _setter("time_created", time_created) + _setter("vtap_capture_filter_rules", vtap_capture_filter_rules) @property @pulumi.getter(name="compartmentId") @@ -16547,14 +19868,37 @@ def __init__(__self__, *, :param str traffic_direction: The traffic direction the VTAP is configured to mirror. :param Sequence['GetCaptureFiltersCaptureFilterVtapCaptureFilterRuleUdpOptionArgs'] udp_options: Optional and valid only for UDP. Use to specify particular destination ports for UDP rules. If you specify UDP as the protocol but omit this object, then all destination ports are allowed. """ - pulumi.set(__self__, "destination_cidr", destination_cidr) - pulumi.set(__self__, "icmp_options", icmp_options) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "rule_action", rule_action) - pulumi.set(__self__, "source_cidr", source_cidr) - pulumi.set(__self__, "tcp_options", tcp_options) - pulumi.set(__self__, "traffic_direction", traffic_direction) - pulumi.set(__self__, "udp_options", udp_options) + GetCaptureFiltersCaptureFilterVtapCaptureFilterRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + destination_cidr=destination_cidr, + icmp_options=icmp_options, + protocol=protocol, + rule_action=rule_action, + source_cidr=source_cidr, + tcp_options=tcp_options, + traffic_direction=traffic_direction, + udp_options=udp_options, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + destination_cidr: str, + icmp_options: Sequence['outputs.GetCaptureFiltersCaptureFilterVtapCaptureFilterRuleIcmpOptionResult'], + protocol: str, + rule_action: str, + source_cidr: str, + tcp_options: Sequence['outputs.GetCaptureFiltersCaptureFilterVtapCaptureFilterRuleTcpOptionResult'], + traffic_direction: str, + udp_options: Sequence['outputs.GetCaptureFiltersCaptureFilterVtapCaptureFilterRuleUdpOptionResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("destination_cidr", destination_cidr) + _setter("icmp_options", icmp_options) + _setter("protocol", protocol) + _setter("rule_action", rule_action) + _setter("source_cidr", source_cidr) + _setter("tcp_options", tcp_options) + _setter("traffic_direction", traffic_direction) + _setter("udp_options", udp_options) @property @pulumi.getter(name="destinationCidr") @@ -16635,8 +19979,19 @@ def __init__(__self__, *, :param int code: The ICMP code (optional). :param int type: The ICMP type. """ - pulumi.set(__self__, "code", code) - pulumi.set(__self__, "type", type) + GetCaptureFiltersCaptureFilterVtapCaptureFilterRuleIcmpOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + code=code, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + code: int, + type: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("code", code) + _setter("type", type) @property @pulumi.getter @@ -16660,8 +20015,19 @@ class GetCaptureFiltersCaptureFilterVtapCaptureFilterRuleTcpOptionResult(dict): def __init__(__self__, *, destination_port_ranges: Sequence['outputs.GetCaptureFiltersCaptureFilterVtapCaptureFilterRuleTcpOptionDestinationPortRangeResult'], source_port_ranges: Sequence['outputs.GetCaptureFiltersCaptureFilterVtapCaptureFilterRuleTcpOptionSourcePortRangeResult']): - pulumi.set(__self__, "destination_port_ranges", destination_port_ranges) - pulumi.set(__self__, "source_port_ranges", source_port_ranges) + GetCaptureFiltersCaptureFilterVtapCaptureFilterRuleTcpOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + destination_port_ranges=destination_port_ranges, + source_port_ranges=source_port_ranges, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + destination_port_ranges: Sequence['outputs.GetCaptureFiltersCaptureFilterVtapCaptureFilterRuleTcpOptionDestinationPortRangeResult'], + source_port_ranges: Sequence['outputs.GetCaptureFiltersCaptureFilterVtapCaptureFilterRuleTcpOptionSourcePortRangeResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("destination_port_ranges", destination_port_ranges) + _setter("source_port_ranges", source_port_ranges) @property @pulumi.getter(name="destinationPortRanges") @@ -16683,8 +20049,19 @@ def __init__(__self__, *, :param int max: The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value. :param int min: The minimum port number, which must not be greater than the maximum port number. """ - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "min", min) + GetCaptureFiltersCaptureFilterVtapCaptureFilterRuleTcpOptionDestinationPortRangeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: int, + min: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max", max) + _setter("min", min) @property @pulumi.getter @@ -16712,8 +20089,19 @@ def __init__(__self__, *, :param int max: The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value. :param int min: The minimum port number, which must not be greater than the maximum port number. """ - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "min", min) + GetCaptureFiltersCaptureFilterVtapCaptureFilterRuleTcpOptionSourcePortRangeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: int, + min: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max", max) + _setter("min", min) @property @pulumi.getter @@ -16737,8 +20125,19 @@ class GetCaptureFiltersCaptureFilterVtapCaptureFilterRuleUdpOptionResult(dict): def __init__(__self__, *, destination_port_ranges: Sequence['outputs.GetCaptureFiltersCaptureFilterVtapCaptureFilterRuleUdpOptionDestinationPortRangeResult'], source_port_ranges: Sequence['outputs.GetCaptureFiltersCaptureFilterVtapCaptureFilterRuleUdpOptionSourcePortRangeResult']): - pulumi.set(__self__, "destination_port_ranges", destination_port_ranges) - pulumi.set(__self__, "source_port_ranges", source_port_ranges) + GetCaptureFiltersCaptureFilterVtapCaptureFilterRuleUdpOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + destination_port_ranges=destination_port_ranges, + source_port_ranges=source_port_ranges, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + destination_port_ranges: Sequence['outputs.GetCaptureFiltersCaptureFilterVtapCaptureFilterRuleUdpOptionDestinationPortRangeResult'], + source_port_ranges: Sequence['outputs.GetCaptureFiltersCaptureFilterVtapCaptureFilterRuleUdpOptionSourcePortRangeResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("destination_port_ranges", destination_port_ranges) + _setter("source_port_ranges", source_port_ranges) @property @pulumi.getter(name="destinationPortRanges") @@ -16760,8 +20159,19 @@ def __init__(__self__, *, :param int max: The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value. :param int min: The minimum port number, which must not be greater than the maximum port number. """ - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "min", min) + GetCaptureFiltersCaptureFilterVtapCaptureFilterRuleUdpOptionDestinationPortRangeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: int, + min: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max", max) + _setter("min", min) @property @pulumi.getter @@ -16789,8 +20199,19 @@ def __init__(__self__, *, :param int max: The maximum port number, which must not be less than the minimum port number. To specify a single port number, set both the min and max to the same value. :param int min: The minimum port number, which must not be greater than the maximum port number. """ - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "min", min) + GetCaptureFiltersCaptureFilterVtapCaptureFilterRuleUdpOptionSourcePortRangeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: int, + min: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max", max) + _setter("min", min) @property @pulumi.getter @@ -16815,10 +20236,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetCaptureFiltersFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -16845,8 +20279,19 @@ def __init__(__self__, *, :param str hpc_island_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the HPC island used by the cluster network. :param Sequence[str] network_block_ids: The list of network block OCIDs of the HPC island. """ - pulumi.set(__self__, "hpc_island_id", hpc_island_id) - pulumi.set(__self__, "network_block_ids", network_block_ids) + GetClusterNetworkClusterConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + hpc_island_id=hpc_island_id, + network_block_ids=network_block_ids, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hpc_island_id: str, + network_block_ids: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("hpc_island_id", hpc_island_id) + _setter("network_block_ids", network_block_ids) @property @pulumi.getter(name="hpcIslandId") @@ -16894,19 +20339,52 @@ def __init__(__self__, *, :param str state: The current state of the cluster network. :param str time_created: The date and time the resource was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "instance_configuration_id", instance_configuration_id) - pulumi.set(__self__, "instance_display_name_formatter", instance_display_name_formatter) - pulumi.set(__self__, "instance_hostname_formatter", instance_hostname_formatter) - pulumi.set(__self__, "load_balancers", load_balancers) - pulumi.set(__self__, "placement_configurations", placement_configurations) - pulumi.set(__self__, "size", size) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) + GetClusterNetworkInstancePoolResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + instance_configuration_id=instance_configuration_id, + instance_display_name_formatter=instance_display_name_formatter, + instance_hostname_formatter=instance_hostname_formatter, + load_balancers=load_balancers, + placement_configurations=placement_configurations, + size=size, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + instance_configuration_id: str, + instance_display_name_formatter: str, + instance_hostname_formatter: str, + load_balancers: Sequence['outputs.GetClusterNetworkInstancePoolLoadBalancerResult'], + placement_configurations: Sequence['outputs.GetClusterNetworkInstancePoolPlacementConfigurationResult'], + size: int, + state: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("instance_configuration_id", instance_configuration_id) + _setter("instance_display_name_formatter", instance_display_name_formatter) + _setter("instance_hostname_formatter", instance_hostname_formatter) + _setter("load_balancers", load_balancers) + _setter("placement_configurations", placement_configurations) + _setter("size", size) + _setter("state", state) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -17026,13 +20504,34 @@ def __init__(__self__, *, :param str state: The current state of the cluster network. :param str vnic_selection: Indicates which VNIC on each instance in the instance pool should be used to associate with the load balancer. Possible values are "PrimaryVnic" or the displayName of one of the secondary VNICs on the instance configuration that is associated with the instance pool. """ - pulumi.set(__self__, "backend_set_name", backend_set_name) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "instance_pool_id", instance_pool_id) - pulumi.set(__self__, "load_balancer_id", load_balancer_id) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "vnic_selection", vnic_selection) + GetClusterNetworkInstancePoolLoadBalancerResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + backend_set_name=backend_set_name, + id=id, + instance_pool_id=instance_pool_id, + load_balancer_id=load_balancer_id, + port=port, + state=state, + vnic_selection=vnic_selection, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backend_set_name: str, + id: str, + instance_pool_id: str, + load_balancer_id: str, + port: int, + state: str, + vnic_selection: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("backend_set_name", backend_set_name) + _setter("id", id) + _setter("instance_pool_id", instance_pool_id) + _setter("load_balancer_id", load_balancer_id) + _setter("port", port) + _setter("state", state) + _setter("vnic_selection", vnic_selection) @property @pulumi.getter(name="backendSetName") @@ -17106,11 +20605,28 @@ def __init__(__self__, *, :param Sequence['GetClusterNetworkInstancePoolPlacementConfigurationPrimaryVnicSubnetArgs'] primary_vnic_subnets: Details about the IPv6 primary subnet. :param Sequence['GetClusterNetworkInstancePoolPlacementConfigurationSecondaryVnicSubnetArgs'] secondary_vnic_subnets: The set of secondary VNIC data for instances in the pool. """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "fault_domains", fault_domains) - pulumi.set(__self__, "primary_subnet_id", primary_subnet_id) - pulumi.set(__self__, "primary_vnic_subnets", primary_vnic_subnets) - pulumi.set(__self__, "secondary_vnic_subnets", secondary_vnic_subnets) + GetClusterNetworkInstancePoolPlacementConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + fault_domains=fault_domains, + primary_subnet_id=primary_subnet_id, + primary_vnic_subnets=primary_vnic_subnets, + secondary_vnic_subnets=secondary_vnic_subnets, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + fault_domains: Sequence[str], + primary_subnet_id: str, + primary_vnic_subnets: Sequence['outputs.GetClusterNetworkInstancePoolPlacementConfigurationPrimaryVnicSubnetResult'], + secondary_vnic_subnets: Sequence['outputs.GetClusterNetworkInstancePoolPlacementConfigurationSecondaryVnicSubnetResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("fault_domains", fault_domains) + _setter("primary_subnet_id", primary_subnet_id) + _setter("primary_vnic_subnets", primary_vnic_subnets) + _setter("secondary_vnic_subnets", secondary_vnic_subnets) @property @pulumi.getter(name="availabilityDomain") @@ -17164,9 +20680,22 @@ def __init__(__self__, *, :param bool is_assign_ipv6ip: Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled subnet. Default: False. When provided you may optionally provide an IPv6 prefix (`ipv6SubnetCidr`) of your choice to assign the IPv6 address from. If `ipv6SubnetCidr` is not provided then an IPv6 prefix is chosen for you. :param str subnet_id: The subnet [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the secondary VNIC. """ - pulumi.set(__self__, "ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) - pulumi.set(__self__, "is_assign_ipv6ip", is_assign_ipv6ip) - pulumi.set(__self__, "subnet_id", subnet_id) + GetClusterNetworkInstancePoolPlacementConfigurationPrimaryVnicSubnetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ipv6address_ipv6subnet_cidr_pair_details=ipv6address_ipv6subnet_cidr_pair_details, + is_assign_ipv6ip=is_assign_ipv6ip, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ipv6address_ipv6subnet_cidr_pair_details: Sequence['outputs.GetClusterNetworkInstancePoolPlacementConfigurationPrimaryVnicSubnetIpv6addressIpv6subnetCidrPairDetailResult'], + is_assign_ipv6ip: bool, + subnet_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) + _setter("is_assign_ipv6ip", is_assign_ipv6ip) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="ipv6addressIpv6subnetCidrPairDetails") @@ -17200,7 +20729,16 @@ def __init__(__self__, *, """ :param str ipv6subnet_cidr: Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation. """ - pulumi.set(__self__, "ipv6subnet_cidr", ipv6subnet_cidr) + GetClusterNetworkInstancePoolPlacementConfigurationPrimaryVnicSubnetIpv6addressIpv6subnetCidrPairDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ipv6subnet_cidr=ipv6subnet_cidr, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ipv6subnet_cidr: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ipv6subnet_cidr", ipv6subnet_cidr) @property @pulumi.getter(name="ipv6subnetCidr") @@ -17224,10 +20762,25 @@ def __init__(__self__, *, :param bool is_assign_ipv6ip: Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled subnet. Default: False. When provided you may optionally provide an IPv6 prefix (`ipv6SubnetCidr`) of your choice to assign the IPv6 address from. If `ipv6SubnetCidr` is not provided then an IPv6 prefix is chosen for you. :param str subnet_id: The subnet [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the secondary VNIC. """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) - pulumi.set(__self__, "is_assign_ipv6ip", is_assign_ipv6ip) - pulumi.set(__self__, "subnet_id", subnet_id) + GetClusterNetworkInstancePoolPlacementConfigurationSecondaryVnicSubnetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + ipv6address_ipv6subnet_cidr_pair_details=ipv6address_ipv6subnet_cidr_pair_details, + is_assign_ipv6ip=is_assign_ipv6ip, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + ipv6address_ipv6subnet_cidr_pair_details: Sequence['outputs.GetClusterNetworkInstancePoolPlacementConfigurationSecondaryVnicSubnetIpv6addressIpv6subnetCidrPairDetailResult'], + is_assign_ipv6ip: bool, + subnet_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) + _setter("is_assign_ipv6ip", is_assign_ipv6ip) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="displayName") @@ -17269,7 +20822,16 @@ def __init__(__self__, *, """ :param str ipv6subnet_cidr: Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation. """ - pulumi.set(__self__, "ipv6subnet_cidr", ipv6subnet_cidr) + GetClusterNetworkInstancePoolPlacementConfigurationSecondaryVnicSubnetIpv6addressIpv6subnetCidrPairDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ipv6subnet_cidr=ipv6subnet_cidr, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ipv6subnet_cidr: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ipv6subnet_cidr", ipv6subnet_cidr) @property @pulumi.getter(name="ipv6subnetCidr") @@ -17286,10 +20848,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetClusterNetworkInstancesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -17334,17 +20909,46 @@ def __init__(__self__, *, :param str state: The current state of the instance pool instance. :param str time_created: The date and time the instance pool instance was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "fault_domain", fault_domain) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "instance_configuration_id", instance_configuration_id) - pulumi.set(__self__, "load_balancer_backends", load_balancer_backends) - pulumi.set(__self__, "region", region) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) + GetClusterNetworkInstancesInstanceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + compartment_id=compartment_id, + display_name=display_name, + fault_domain=fault_domain, + id=id, + instance_configuration_id=instance_configuration_id, + load_balancer_backends=load_balancer_backends, + region=region, + shape=shape, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + compartment_id: str, + display_name: str, + fault_domain: str, + id: str, + instance_configuration_id: str, + load_balancer_backends: Sequence['outputs.GetClusterNetworkInstancesInstanceLoadBalancerBackendResult'], + region: str, + shape: str, + state: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) + _setter("fault_domain", fault_domain) + _setter("id", id) + _setter("instance_configuration_id", instance_configuration_id) + _setter("load_balancer_backends", load_balancer_backends) + _setter("region", region) + _setter("shape", shape) + _setter("state", state) + _setter("time_created", time_created) @property @pulumi.getter(name="availabilityDomain") @@ -17450,11 +21054,28 @@ def __init__(__self__, *, :param str load_balancer_id: The OCID of the load balancer attached to the instance pool. :param str state: The current state of the instance pool instance. """ - pulumi.set(__self__, "backend_health_status", backend_health_status) - pulumi.set(__self__, "backend_name", backend_name) - pulumi.set(__self__, "backend_set_name", backend_set_name) - pulumi.set(__self__, "load_balancer_id", load_balancer_id) - pulumi.set(__self__, "state", state) + GetClusterNetworkInstancesInstanceLoadBalancerBackendResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + backend_health_status=backend_health_status, + backend_name=backend_name, + backend_set_name=backend_set_name, + load_balancer_id=load_balancer_id, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backend_health_status: str, + backend_name: str, + backend_set_name: str, + load_balancer_id: str, + state: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("backend_health_status", backend_health_status) + _setter("backend_name", backend_name) + _setter("backend_set_name", backend_set_name) + _setter("load_balancer_id", load_balancer_id) + _setter("state", state) @property @pulumi.getter(name="backendHealthStatus") @@ -17511,11 +21132,28 @@ def __init__(__self__, *, :param Sequence['GetClusterNetworkPlacementConfigurationPrimaryVnicSubnetArgs'] primary_vnic_subnets: Details about the IPv6 primary subnet. :param Sequence['GetClusterNetworkPlacementConfigurationSecondaryVnicSubnetArgs'] secondary_vnic_subnets: The set of secondary VNIC data for instances in the pool. """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "placement_constraint", placement_constraint) - pulumi.set(__self__, "primary_subnet_id", primary_subnet_id) - pulumi.set(__self__, "primary_vnic_subnets", primary_vnic_subnets) - pulumi.set(__self__, "secondary_vnic_subnets", secondary_vnic_subnets) + GetClusterNetworkPlacementConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + placement_constraint=placement_constraint, + primary_subnet_id=primary_subnet_id, + primary_vnic_subnets=primary_vnic_subnets, + secondary_vnic_subnets=secondary_vnic_subnets, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + placement_constraint: str, + primary_subnet_id: str, + primary_vnic_subnets: Sequence['outputs.GetClusterNetworkPlacementConfigurationPrimaryVnicSubnetResult'], + secondary_vnic_subnets: Sequence['outputs.GetClusterNetworkPlacementConfigurationSecondaryVnicSubnetResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("placement_constraint", placement_constraint) + _setter("primary_subnet_id", primary_subnet_id) + _setter("primary_vnic_subnets", primary_vnic_subnets) + _setter("secondary_vnic_subnets", secondary_vnic_subnets) @property @pulumi.getter(name="availabilityDomain") @@ -17566,9 +21204,22 @@ def __init__(__self__, *, :param bool is_assign_ipv6ip: Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled subnet. Default: False. When provided you may optionally provide an IPv6 prefix (`ipv6SubnetCidr`) of your choice to assign the IPv6 address from. If `ipv6SubnetCidr` is not provided then an IPv6 prefix is chosen for you. :param str subnet_id: The subnet [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the secondary VNIC. """ - pulumi.set(__self__, "ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) - pulumi.set(__self__, "is_assign_ipv6ip", is_assign_ipv6ip) - pulumi.set(__self__, "subnet_id", subnet_id) + GetClusterNetworkPlacementConfigurationPrimaryVnicSubnetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ipv6address_ipv6subnet_cidr_pair_details=ipv6address_ipv6subnet_cidr_pair_details, + is_assign_ipv6ip=is_assign_ipv6ip, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ipv6address_ipv6subnet_cidr_pair_details: Sequence['outputs.GetClusterNetworkPlacementConfigurationPrimaryVnicSubnetIpv6addressIpv6subnetCidrPairDetailResult'], + is_assign_ipv6ip: bool, + subnet_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) + _setter("is_assign_ipv6ip", is_assign_ipv6ip) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="ipv6addressIpv6subnetCidrPairDetails") @@ -17602,7 +21253,16 @@ def __init__(__self__, *, """ :param str ipv6subnet_cidr: Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation. """ - pulumi.set(__self__, "ipv6subnet_cidr", ipv6subnet_cidr) + GetClusterNetworkPlacementConfigurationPrimaryVnicSubnetIpv6addressIpv6subnetCidrPairDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ipv6subnet_cidr=ipv6subnet_cidr, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ipv6subnet_cidr: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ipv6subnet_cidr", ipv6subnet_cidr) @property @pulumi.getter(name="ipv6subnetCidr") @@ -17626,10 +21286,25 @@ def __init__(__self__, *, :param bool is_assign_ipv6ip: Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled subnet. Default: False. When provided you may optionally provide an IPv6 prefix (`ipv6SubnetCidr`) of your choice to assign the IPv6 address from. If `ipv6SubnetCidr` is not provided then an IPv6 prefix is chosen for you. :param str subnet_id: The subnet [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the secondary VNIC. """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) - pulumi.set(__self__, "is_assign_ipv6ip", is_assign_ipv6ip) - pulumi.set(__self__, "subnet_id", subnet_id) + GetClusterNetworkPlacementConfigurationSecondaryVnicSubnetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + ipv6address_ipv6subnet_cidr_pair_details=ipv6address_ipv6subnet_cidr_pair_details, + is_assign_ipv6ip=is_assign_ipv6ip, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + ipv6address_ipv6subnet_cidr_pair_details: Sequence['outputs.GetClusterNetworkPlacementConfigurationSecondaryVnicSubnetIpv6addressIpv6subnetCidrPairDetailResult'], + is_assign_ipv6ip: bool, + subnet_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) + _setter("is_assign_ipv6ip", is_assign_ipv6ip) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="displayName") @@ -17671,7 +21346,16 @@ def __init__(__self__, *, """ :param str ipv6subnet_cidr: Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation. """ - pulumi.set(__self__, "ipv6subnet_cidr", ipv6subnet_cidr) + GetClusterNetworkPlacementConfigurationSecondaryVnicSubnetIpv6addressIpv6subnetCidrPairDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ipv6subnet_cidr=ipv6subnet_cidr, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ipv6subnet_cidr: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ipv6subnet_cidr", ipv6subnet_cidr) @property @pulumi.getter(name="ipv6subnetCidr") @@ -17712,19 +21396,52 @@ def __init__(__self__, *, :param str time_created: The date and time the resource was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` :param str time_updated: The date and time the resource was updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` """ - pulumi.set(__self__, "cluster_configurations", cluster_configurations) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "hpc_island_id", hpc_island_id) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "instance_pools", instance_pools) - pulumi.set(__self__, "network_block_ids", network_block_ids) - pulumi.set(__self__, "placement_configurations", placement_configurations) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetClusterNetworksClusterNetworkResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cluster_configurations=cluster_configurations, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + hpc_island_id=hpc_island_id, + id=id, + instance_pools=instance_pools, + network_block_ids=network_block_ids, + placement_configurations=placement_configurations, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cluster_configurations: Sequence['outputs.GetClusterNetworksClusterNetworkClusterConfigurationResult'], + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + hpc_island_id: str, + id: str, + instance_pools: Sequence['outputs.GetClusterNetworksClusterNetworkInstancePoolResult'], + network_block_ids: Sequence[str], + placement_configurations: Sequence['outputs.GetClusterNetworksClusterNetworkPlacementConfigurationResult'], + state: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cluster_configurations", cluster_configurations) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("hpc_island_id", hpc_island_id) + _setter("id", id) + _setter("instance_pools", instance_pools) + _setter("network_block_ids", network_block_ids) + _setter("placement_configurations", placement_configurations) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="clusterConfigurations") @@ -17837,8 +21554,19 @@ def __init__(__self__, *, :param str hpc_island_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the HPC island used by the cluster network. :param Sequence[str] network_block_ids: The list of network block OCIDs of the HPC island. """ - pulumi.set(__self__, "hpc_island_id", hpc_island_id) - pulumi.set(__self__, "network_block_ids", network_block_ids) + GetClusterNetworksClusterNetworkClusterConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + hpc_island_id=hpc_island_id, + network_block_ids=network_block_ids, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hpc_island_id: str, + network_block_ids: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("hpc_island_id", hpc_island_id) + _setter("network_block_ids", network_block_ids) @property @pulumi.getter(name="hpcIslandId") @@ -17886,19 +21614,52 @@ def __init__(__self__, *, :param str state: A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. :param str time_created: The date and time the resource was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "instance_configuration_id", instance_configuration_id) - pulumi.set(__self__, "instance_display_name_formatter", instance_display_name_formatter) - pulumi.set(__self__, "instance_hostname_formatter", instance_hostname_formatter) - pulumi.set(__self__, "load_balancers", load_balancers) - pulumi.set(__self__, "placement_configurations", placement_configurations) - pulumi.set(__self__, "size", size) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) + GetClusterNetworksClusterNetworkInstancePoolResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + instance_configuration_id=instance_configuration_id, + instance_display_name_formatter=instance_display_name_formatter, + instance_hostname_formatter=instance_hostname_formatter, + load_balancers=load_balancers, + placement_configurations=placement_configurations, + size=size, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + instance_configuration_id: str, + instance_display_name_formatter: str, + instance_hostname_formatter: str, + load_balancers: Sequence['outputs.GetClusterNetworksClusterNetworkInstancePoolLoadBalancerResult'], + placement_configurations: Sequence['outputs.GetClusterNetworksClusterNetworkInstancePoolPlacementConfigurationResult'], + size: int, + state: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("instance_configuration_id", instance_configuration_id) + _setter("instance_display_name_formatter", instance_display_name_formatter) + _setter("instance_hostname_formatter", instance_hostname_formatter) + _setter("load_balancers", load_balancers) + _setter("placement_configurations", placement_configurations) + _setter("size", size) + _setter("state", state) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -18018,13 +21779,34 @@ def __init__(__self__, *, :param str state: A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. :param str vnic_selection: Indicates which VNIC on each instance in the instance pool should be used to associate with the load balancer. Possible values are "PrimaryVnic" or the displayName of one of the secondary VNICs on the instance configuration that is associated with the instance pool. """ - pulumi.set(__self__, "backend_set_name", backend_set_name) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "instance_pool_id", instance_pool_id) - pulumi.set(__self__, "load_balancer_id", load_balancer_id) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "vnic_selection", vnic_selection) + GetClusterNetworksClusterNetworkInstancePoolLoadBalancerResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + backend_set_name=backend_set_name, + id=id, + instance_pool_id=instance_pool_id, + load_balancer_id=load_balancer_id, + port=port, + state=state, + vnic_selection=vnic_selection, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backend_set_name: str, + id: str, + instance_pool_id: str, + load_balancer_id: str, + port: int, + state: str, + vnic_selection: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("backend_set_name", backend_set_name) + _setter("id", id) + _setter("instance_pool_id", instance_pool_id) + _setter("load_balancer_id", load_balancer_id) + _setter("port", port) + _setter("state", state) + _setter("vnic_selection", vnic_selection) @property @pulumi.getter(name="backendSetName") @@ -18098,11 +21880,28 @@ def __init__(__self__, *, :param Sequence['GetClusterNetworksClusterNetworkInstancePoolPlacementConfigurationPrimaryVnicSubnetArgs'] primary_vnic_subnets: Details about the IPv6 primary subnet. :param Sequence['GetClusterNetworksClusterNetworkInstancePoolPlacementConfigurationSecondaryVnicSubnetArgs'] secondary_vnic_subnets: The set of secondary VNIC data for instances in the pool. """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "fault_domains", fault_domains) - pulumi.set(__self__, "primary_subnet_id", primary_subnet_id) - pulumi.set(__self__, "primary_vnic_subnets", primary_vnic_subnets) - pulumi.set(__self__, "secondary_vnic_subnets", secondary_vnic_subnets) + GetClusterNetworksClusterNetworkInstancePoolPlacementConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + fault_domains=fault_domains, + primary_subnet_id=primary_subnet_id, + primary_vnic_subnets=primary_vnic_subnets, + secondary_vnic_subnets=secondary_vnic_subnets, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + fault_domains: Sequence[str], + primary_subnet_id: str, + primary_vnic_subnets: Sequence['outputs.GetClusterNetworksClusterNetworkInstancePoolPlacementConfigurationPrimaryVnicSubnetResult'], + secondary_vnic_subnets: Sequence['outputs.GetClusterNetworksClusterNetworkInstancePoolPlacementConfigurationSecondaryVnicSubnetResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("fault_domains", fault_domains) + _setter("primary_subnet_id", primary_subnet_id) + _setter("primary_vnic_subnets", primary_vnic_subnets) + _setter("secondary_vnic_subnets", secondary_vnic_subnets) @property @pulumi.getter(name="availabilityDomain") @@ -18156,9 +21955,22 @@ def __init__(__self__, *, :param bool is_assign_ipv6ip: Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled subnet. Default: False. When provided you may optionally provide an IPv6 prefix (`ipv6SubnetCidr`) of your choice to assign the IPv6 address from. If `ipv6SubnetCidr` is not provided then an IPv6 prefix is chosen for you. :param str subnet_id: The subnet [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the secondary VNIC. """ - pulumi.set(__self__, "ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) - pulumi.set(__self__, "is_assign_ipv6ip", is_assign_ipv6ip) - pulumi.set(__self__, "subnet_id", subnet_id) + GetClusterNetworksClusterNetworkInstancePoolPlacementConfigurationPrimaryVnicSubnetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ipv6address_ipv6subnet_cidr_pair_details=ipv6address_ipv6subnet_cidr_pair_details, + is_assign_ipv6ip=is_assign_ipv6ip, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ipv6address_ipv6subnet_cidr_pair_details: Sequence['outputs.GetClusterNetworksClusterNetworkInstancePoolPlacementConfigurationPrimaryVnicSubnetIpv6addressIpv6subnetCidrPairDetailResult'], + is_assign_ipv6ip: bool, + subnet_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) + _setter("is_assign_ipv6ip", is_assign_ipv6ip) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="ipv6addressIpv6subnetCidrPairDetails") @@ -18192,7 +22004,16 @@ def __init__(__self__, *, """ :param str ipv6subnet_cidr: Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation. """ - pulumi.set(__self__, "ipv6subnet_cidr", ipv6subnet_cidr) + GetClusterNetworksClusterNetworkInstancePoolPlacementConfigurationPrimaryVnicSubnetIpv6addressIpv6subnetCidrPairDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ipv6subnet_cidr=ipv6subnet_cidr, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ipv6subnet_cidr: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ipv6subnet_cidr", ipv6subnet_cidr) @property @pulumi.getter(name="ipv6subnetCidr") @@ -18216,10 +22037,25 @@ def __init__(__self__, *, :param bool is_assign_ipv6ip: Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled subnet. Default: False. When provided you may optionally provide an IPv6 prefix (`ipv6SubnetCidr`) of your choice to assign the IPv6 address from. If `ipv6SubnetCidr` is not provided then an IPv6 prefix is chosen for you. :param str subnet_id: The subnet [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the secondary VNIC. """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) - pulumi.set(__self__, "is_assign_ipv6ip", is_assign_ipv6ip) - pulumi.set(__self__, "subnet_id", subnet_id) + GetClusterNetworksClusterNetworkInstancePoolPlacementConfigurationSecondaryVnicSubnetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + ipv6address_ipv6subnet_cidr_pair_details=ipv6address_ipv6subnet_cidr_pair_details, + is_assign_ipv6ip=is_assign_ipv6ip, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + ipv6address_ipv6subnet_cidr_pair_details: Sequence['outputs.GetClusterNetworksClusterNetworkInstancePoolPlacementConfigurationSecondaryVnicSubnetIpv6addressIpv6subnetCidrPairDetailResult'], + is_assign_ipv6ip: bool, + subnet_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) + _setter("is_assign_ipv6ip", is_assign_ipv6ip) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="displayName") @@ -18261,7 +22097,16 @@ def __init__(__self__, *, """ :param str ipv6subnet_cidr: Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation. """ - pulumi.set(__self__, "ipv6subnet_cidr", ipv6subnet_cidr) + GetClusterNetworksClusterNetworkInstancePoolPlacementConfigurationSecondaryVnicSubnetIpv6addressIpv6subnetCidrPairDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ipv6subnet_cidr=ipv6subnet_cidr, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ipv6subnet_cidr: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ipv6subnet_cidr", ipv6subnet_cidr) @property @pulumi.getter(name="ipv6subnetCidr") @@ -18286,11 +22131,28 @@ def __init__(__self__, *, :param Sequence['GetClusterNetworksClusterNetworkPlacementConfigurationPrimaryVnicSubnetArgs'] primary_vnic_subnets: Details about the IPv6 primary subnet. :param Sequence['GetClusterNetworksClusterNetworkPlacementConfigurationSecondaryVnicSubnetArgs'] secondary_vnic_subnets: The set of secondary VNIC data for instances in the pool. """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "placement_constraint", placement_constraint) - pulumi.set(__self__, "primary_subnet_id", primary_subnet_id) - pulumi.set(__self__, "primary_vnic_subnets", primary_vnic_subnets) - pulumi.set(__self__, "secondary_vnic_subnets", secondary_vnic_subnets) + GetClusterNetworksClusterNetworkPlacementConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + placement_constraint=placement_constraint, + primary_subnet_id=primary_subnet_id, + primary_vnic_subnets=primary_vnic_subnets, + secondary_vnic_subnets=secondary_vnic_subnets, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + placement_constraint: str, + primary_subnet_id: str, + primary_vnic_subnets: Sequence['outputs.GetClusterNetworksClusterNetworkPlacementConfigurationPrimaryVnicSubnetResult'], + secondary_vnic_subnets: Sequence['outputs.GetClusterNetworksClusterNetworkPlacementConfigurationSecondaryVnicSubnetResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("placement_constraint", placement_constraint) + _setter("primary_subnet_id", primary_subnet_id) + _setter("primary_vnic_subnets", primary_vnic_subnets) + _setter("secondary_vnic_subnets", secondary_vnic_subnets) @property @pulumi.getter(name="availabilityDomain") @@ -18341,9 +22203,22 @@ def __init__(__self__, *, :param bool is_assign_ipv6ip: Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled subnet. Default: False. When provided you may optionally provide an IPv6 prefix (`ipv6SubnetCidr`) of your choice to assign the IPv6 address from. If `ipv6SubnetCidr` is not provided then an IPv6 prefix is chosen for you. :param str subnet_id: The subnet [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the secondary VNIC. """ - pulumi.set(__self__, "ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) - pulumi.set(__self__, "is_assign_ipv6ip", is_assign_ipv6ip) - pulumi.set(__self__, "subnet_id", subnet_id) + GetClusterNetworksClusterNetworkPlacementConfigurationPrimaryVnicSubnetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ipv6address_ipv6subnet_cidr_pair_details=ipv6address_ipv6subnet_cidr_pair_details, + is_assign_ipv6ip=is_assign_ipv6ip, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ipv6address_ipv6subnet_cidr_pair_details: Sequence['outputs.GetClusterNetworksClusterNetworkPlacementConfigurationPrimaryVnicSubnetIpv6addressIpv6subnetCidrPairDetailResult'], + is_assign_ipv6ip: bool, + subnet_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) + _setter("is_assign_ipv6ip", is_assign_ipv6ip) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="ipv6addressIpv6subnetCidrPairDetails") @@ -18377,7 +22252,16 @@ def __init__(__self__, *, """ :param str ipv6subnet_cidr: Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation. """ - pulumi.set(__self__, "ipv6subnet_cidr", ipv6subnet_cidr) + GetClusterNetworksClusterNetworkPlacementConfigurationPrimaryVnicSubnetIpv6addressIpv6subnetCidrPairDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ipv6subnet_cidr=ipv6subnet_cidr, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ipv6subnet_cidr: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ipv6subnet_cidr", ipv6subnet_cidr) @property @pulumi.getter(name="ipv6subnetCidr") @@ -18401,10 +22285,25 @@ def __init__(__self__, *, :param bool is_assign_ipv6ip: Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled subnet. Default: False. When provided you may optionally provide an IPv6 prefix (`ipv6SubnetCidr`) of your choice to assign the IPv6 address from. If `ipv6SubnetCidr` is not provided then an IPv6 prefix is chosen for you. :param str subnet_id: The subnet [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the secondary VNIC. """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) - pulumi.set(__self__, "is_assign_ipv6ip", is_assign_ipv6ip) - pulumi.set(__self__, "subnet_id", subnet_id) + GetClusterNetworksClusterNetworkPlacementConfigurationSecondaryVnicSubnetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + ipv6address_ipv6subnet_cidr_pair_details=ipv6address_ipv6subnet_cidr_pair_details, + is_assign_ipv6ip=is_assign_ipv6ip, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + ipv6address_ipv6subnet_cidr_pair_details: Sequence['outputs.GetClusterNetworksClusterNetworkPlacementConfigurationSecondaryVnicSubnetIpv6addressIpv6subnetCidrPairDetailResult'], + is_assign_ipv6ip: bool, + subnet_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) + _setter("is_assign_ipv6ip", is_assign_ipv6ip) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="displayName") @@ -18446,7 +22345,16 @@ def __init__(__self__, *, """ :param str ipv6subnet_cidr: Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation. """ - pulumi.set(__self__, "ipv6subnet_cidr", ipv6subnet_cidr) + GetClusterNetworksClusterNetworkPlacementConfigurationSecondaryVnicSubnetIpv6addressIpv6subnetCidrPairDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ipv6subnet_cidr=ipv6subnet_cidr, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ipv6subnet_cidr: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ipv6subnet_cidr", ipv6subnet_cidr) @property @pulumi.getter(name="ipv6subnetCidr") @@ -18463,10 +22371,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetClusterNetworksFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -18501,12 +22422,31 @@ def __init__(__self__, *, :param str reserved_count: The total number of instances that can be launched from the capacity configuration. :param str used_count: The amount of capacity in use out of the total capacity reserved in this capacity configuration. """ - pulumi.set(__self__, "cluster_configs", cluster_configs) - pulumi.set(__self__, "fault_domain", fault_domain) - pulumi.set(__self__, "instance_shape", instance_shape) - pulumi.set(__self__, "instance_shape_configs", instance_shape_configs) - pulumi.set(__self__, "reserved_count", reserved_count) - pulumi.set(__self__, "used_count", used_count) + GetComputeCapacityReservationInstanceReservationConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cluster_configs=cluster_configs, + fault_domain=fault_domain, + instance_shape=instance_shape, + instance_shape_configs=instance_shape_configs, + reserved_count=reserved_count, + used_count=used_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cluster_configs: Sequence['outputs.GetComputeCapacityReservationInstanceReservationConfigClusterConfigResult'], + fault_domain: str, + instance_shape: str, + instance_shape_configs: Sequence['outputs.GetComputeCapacityReservationInstanceReservationConfigInstanceShapeConfigResult'], + reserved_count: str, + used_count: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cluster_configs", cluster_configs) + _setter("fault_domain", fault_domain) + _setter("instance_shape", instance_shape) + _setter("instance_shape_configs", instance_shape_configs) + _setter("reserved_count", reserved_count) + _setter("used_count", used_count) @property @pulumi.getter(name="clusterConfigs") @@ -18566,8 +22506,19 @@ def __init__(__self__, *, :param str hpc_island_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the HpcIsland. :param Sequence[str] network_block_ids: The list of OCID of the network blocks. """ - pulumi.set(__self__, "hpc_island_id", hpc_island_id) - pulumi.set(__self__, "network_block_ids", network_block_ids) + GetComputeCapacityReservationInstanceReservationConfigClusterConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + hpc_island_id=hpc_island_id, + network_block_ids=network_block_ids, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hpc_island_id: str, + network_block_ids: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("hpc_island_id", hpc_island_id) + _setter("network_block_ids", network_block_ids) @property @pulumi.getter(name="hpcIslandId") @@ -18595,8 +22546,19 @@ def __init__(__self__, *, :param float memory_in_gbs: The total amount of memory available to the instance, in gigabytes. :param float ocpus: The total number of OCPUs available to the instance. """ - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "ocpus", ocpus) + GetComputeCapacityReservationInstanceReservationConfigInstanceShapeConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: float, + ocpus: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("memory_in_gbs", memory_in_gbs) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -18624,8 +22586,19 @@ def __init__(__self__, *, :param str availability_domain: The name of the availability domain. Example: `Uocm:PHX-AD-1` :param str instance_shape: The name of the available shape used to launch instances in a compute capacity reservation. """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "instance_shape", instance_shape) + GetComputeCapacityReservationInstanceShapesComputeCapacityReservationInstanceShapeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + instance_shape=instance_shape, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + instance_shape: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("instance_shape", instance_shape) @property @pulumi.getter(name="availabilityDomain") @@ -18650,10 +22623,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetComputeCapacityReservationInstanceShapesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -18688,12 +22674,31 @@ def __init__(__self__, *, :param str shape: The shape of the instance. The shape determines the number of CPUs, amount of memory, and other resources allocated to the instance. :param Sequence['GetComputeCapacityReservationInstancesCapacityReservationInstanceShapeConfigArgs'] shape_configs: The shape configuration requested when launching instances in a compute capacity reservation. """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "fault_domain", fault_domain) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "shape_configs", shape_configs) + GetComputeCapacityReservationInstancesCapacityReservationInstanceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + compartment_id=compartment_id, + fault_domain=fault_domain, + id=id, + shape=shape, + shape_configs=shape_configs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + compartment_id: str, + fault_domain: str, + id: str, + shape: str, + shape_configs: Sequence['outputs.GetComputeCapacityReservationInstancesCapacityReservationInstanceShapeConfigResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("compartment_id", compartment_id) + _setter("fault_domain", fault_domain) + _setter("id", id) + _setter("shape", shape) + _setter("shape_configs", shape_configs) @property @pulumi.getter(name="availabilityDomain") @@ -18753,8 +22758,19 @@ def __init__(__self__, *, :param float memory_in_gbs: The total amount of memory available to the instance, in gigabytes. :param float ocpus: The total number of OCPUs available to the instance. """ - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "ocpus", ocpus) + GetComputeCapacityReservationInstancesCapacityReservationInstanceShapeConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: float, + ocpus: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("memory_in_gbs", memory_in_gbs) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -18779,10 +22795,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetComputeCapacityReservationInstancesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -18831,19 +22860,52 @@ def __init__(__self__, *, :param str time_updated: The date and time the compute capacity reservation was updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` :param str used_instance_count: The total number of instances currently consuming space in this compute capacity reservation. This number is the sum of the values of the `usedCount` fields for all of the instance capacity configurations under this reservation. The purpose of this field is to calculate the percentage usage of the reservation. """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "instance_reservation_configs", instance_reservation_configs) - pulumi.set(__self__, "is_default_reservation", is_default_reservation) - pulumi.set(__self__, "reserved_instance_count", reserved_instance_count) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "used_instance_count", used_instance_count) + GetComputeCapacityReservationsComputeCapacityReservationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + instance_reservation_configs=instance_reservation_configs, + is_default_reservation=is_default_reservation, + reserved_instance_count=reserved_instance_count, + state=state, + time_created=time_created, + time_updated=time_updated, + used_instance_count=used_instance_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + instance_reservation_configs: Sequence['outputs.GetComputeCapacityReservationsComputeCapacityReservationInstanceReservationConfigResult'], + is_default_reservation: bool, + reserved_instance_count: str, + state: str, + time_created: str, + time_updated: str, + used_instance_count: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("instance_reservation_configs", instance_reservation_configs) + _setter("is_default_reservation", is_default_reservation) + _setter("reserved_instance_count", reserved_instance_count) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("used_instance_count", used_instance_count) @property @pulumi.getter(name="availabilityDomain") @@ -18967,12 +23029,31 @@ def __init__(__self__, *, :param str reserved_count: The total number of instances that can be launched from the capacity configuration. :param str used_count: The amount of capacity in use out of the total capacity reserved in this capacity configuration. """ - pulumi.set(__self__, "cluster_configs", cluster_configs) - pulumi.set(__self__, "fault_domain", fault_domain) - pulumi.set(__self__, "instance_shape", instance_shape) - pulumi.set(__self__, "instance_shape_configs", instance_shape_configs) - pulumi.set(__self__, "reserved_count", reserved_count) - pulumi.set(__self__, "used_count", used_count) + GetComputeCapacityReservationsComputeCapacityReservationInstanceReservationConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cluster_configs=cluster_configs, + fault_domain=fault_domain, + instance_shape=instance_shape, + instance_shape_configs=instance_shape_configs, + reserved_count=reserved_count, + used_count=used_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cluster_configs: Sequence['outputs.GetComputeCapacityReservationsComputeCapacityReservationInstanceReservationConfigClusterConfigResult'], + fault_domain: str, + instance_shape: str, + instance_shape_configs: Sequence['outputs.GetComputeCapacityReservationsComputeCapacityReservationInstanceReservationConfigInstanceShapeConfigResult'], + reserved_count: str, + used_count: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cluster_configs", cluster_configs) + _setter("fault_domain", fault_domain) + _setter("instance_shape", instance_shape) + _setter("instance_shape_configs", instance_shape_configs) + _setter("reserved_count", reserved_count) + _setter("used_count", used_count) @property @pulumi.getter(name="clusterConfigs") @@ -19032,8 +23113,19 @@ def __init__(__self__, *, :param str hpc_island_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the HpcIsland. :param Sequence[str] network_block_ids: The list of OCID of the network blocks. """ - pulumi.set(__self__, "hpc_island_id", hpc_island_id) - pulumi.set(__self__, "network_block_ids", network_block_ids) + GetComputeCapacityReservationsComputeCapacityReservationInstanceReservationConfigClusterConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + hpc_island_id=hpc_island_id, + network_block_ids=network_block_ids, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hpc_island_id: str, + network_block_ids: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("hpc_island_id", hpc_island_id) + _setter("network_block_ids", network_block_ids) @property @pulumi.getter(name="hpcIslandId") @@ -19061,8 +23153,19 @@ def __init__(__self__, *, :param float memory_in_gbs: The total amount of memory available to the instance, in gigabytes. :param float ocpus: The total number of OCPUs available to the instance. """ - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "ocpus", ocpus) + GetComputeCapacityReservationsComputeCapacityReservationInstanceReservationConfigInstanceShapeConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: float, + ocpus: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("memory_in_gbs", memory_in_gbs) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -19087,10 +23190,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetComputeCapacityReservationsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -19112,7 +23228,16 @@ def regex(self) -> Optional[bool]: class GetComputeClustersComputeClusterCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetComputeClustersComputeClusterCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetComputeClustersComputeClusterCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetComputeClustersComputeClusterCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -19141,14 +23266,37 @@ def __init__(__self__, *, :param str state: The current state of the compute cluster. :param str time_created: The date and time the compute cluster was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) + GetComputeClustersComputeClusterCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + state: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("state", state) + _setter("time_created", time_created) @property @pulumi.getter(name="availabilityDomain") @@ -19221,10 +23369,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetComputeClustersFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -19261,13 +23422,34 @@ def __init__(__self__, *, :param str id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compute global image capability schema :param str time_created: The date and time the compute global image capability schema was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "current_version_name", current_version_name) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "time_created", time_created) + GetComputeGlobalImageCapabilitySchemasComputeGlobalImageCapabilitySchemaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + current_version_name=current_version_name, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + current_version_name: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("current_version_name", current_version_name) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -19332,10 +23514,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetComputeGlobalImageCapabilitySchemasFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -19368,11 +23563,28 @@ def __init__(__self__, *, :param Mapping[str, Any] schema_data: The map of each capability name to its ImageCapabilityDescriptor. :param str time_created: The date and time the compute global image capability schema version was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` """ - pulumi.set(__self__, "compute_global_image_capability_schema_id", compute_global_image_capability_schema_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "schema_data", schema_data) - pulumi.set(__self__, "time_created", time_created) + GetComputeGlobalImageCapabilitySchemasVersionsComputeGlobalImageCapabilitySchemaVersionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compute_global_image_capability_schema_id=compute_global_image_capability_schema_id, + display_name=display_name, + name=name, + schema_data=schema_data, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compute_global_image_capability_schema_id: str, + display_name: str, + name: str, + schema_data: Mapping[str, Any], + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compute_global_image_capability_schema_id", compute_global_image_capability_schema_id) + _setter("display_name", display_name) + _setter("name", name) + _setter("schema_data", schema_data) + _setter("time_created", time_created) @property @pulumi.getter(name="computeGlobalImageCapabilitySchemaId") @@ -19425,10 +23637,23 @@ def __init__(__self__, *, :param str name: The name of the compute global image capability schema version :param Sequence[str] values: the list of values for the enum """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetComputeGlobalImageCapabilitySchemasVersionsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -19477,16 +23702,43 @@ def __init__(__self__, *, :param Mapping[str, Any] schema_data: A mapping of each capability name to its ImageCapabilityDescriptor. :param str time_created: The date and time the compute image capability schema was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "compute_global_image_capability_schema_id", compute_global_image_capability_schema_id) - pulumi.set(__self__, "compute_global_image_capability_schema_version_name", compute_global_image_capability_schema_version_name) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "image_id", image_id) - pulumi.set(__self__, "schema_data", schema_data) - pulumi.set(__self__, "time_created", time_created) + GetComputeImageCapabilitySchemasComputeImageCapabilitySchemaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + compute_global_image_capability_schema_id=compute_global_image_capability_schema_id, + compute_global_image_capability_schema_version_name=compute_global_image_capability_schema_version_name, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + image_id=image_id, + schema_data=schema_data, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + compute_global_image_capability_schema_id: str, + compute_global_image_capability_schema_version_name: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + image_id: str, + schema_data: Mapping[str, Any], + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("compute_global_image_capability_schema_id", compute_global_image_capability_schema_id) + _setter("compute_global_image_capability_schema_version_name", compute_global_image_capability_schema_version_name) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("image_id", image_id) + _setter("schema_data", schema_data) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -19578,10 +23830,23 @@ def __init__(__self__, *, """ :param Sequence[str] values: the list of values for the enum """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetComputeImageCapabilitySchemasFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -19625,15 +23890,40 @@ def __init__(__self__, *, :param str state: A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. :param str time_created: The date and time the history was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "instance_id", instance_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) + GetConsoleHistoriesConsoleHistoryResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + instance_id=instance_id, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + instance_id: str, + state: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("instance_id", instance_id) + _setter("state", state) + _setter("time_created", time_created) @property @pulumi.getter(name="availabilityDomain") @@ -19714,10 +24004,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetConsoleHistoriesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -19744,8 +24047,19 @@ def __init__(__self__, *, :param str platform_software_version: The platform or software version of the CPE device. :param str vendor: The vendor that makes the CPE device. """ - pulumi.set(__self__, "platform_software_version", platform_software_version) - pulumi.set(__self__, "vendor", vendor) + GetCpeDeviceShapeCpeDeviceInfoResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + platform_software_version=platform_software_version, + vendor=vendor, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + platform_software_version: str, + vendor: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("platform_software_version", platform_software_version) + _setter("vendor", vendor) @property @pulumi.getter(name="platformSoftwareVersion") @@ -19775,9 +24089,22 @@ def __init__(__self__, *, :param str explanation: A description or explanation of the question, to help the customer answer accurately. :param str key: A string that identifies the question. """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "explanation", explanation) - pulumi.set(__self__, "key", key) + GetCpeDeviceShapeParameterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + explanation=explanation, + key=key, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + explanation: str, + key: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("explanation", explanation) + _setter("key", key) @property @pulumi.getter(name="displayName") @@ -19818,9 +24145,22 @@ def __init__(__self__, *, * [GetIpsecCpeDeviceConfigContent](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/IPSecConnection/GetIpsecCpeDeviceConfigContent) * [GetTunnelCpeDeviceConfigContent](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/TunnelCpeDeviceConfig/GetTunnelCpeDeviceConfigContent) """ - pulumi.set(__self__, "cpe_device_infos", cpe_device_infos) - pulumi.set(__self__, "cpe_device_shape_id", cpe_device_shape_id) - pulumi.set(__self__, "template", template) + GetCpeDeviceShapesCpeDeviceShapeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cpe_device_infos=cpe_device_infos, + cpe_device_shape_id=cpe_device_shape_id, + template=template, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cpe_device_infos: Sequence['outputs.GetCpeDeviceShapesCpeDeviceShapeCpeDeviceInfoResult'], + cpe_device_shape_id: str, + template: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cpe_device_infos", cpe_device_infos) + _setter("cpe_device_shape_id", cpe_device_shape_id) + _setter("template", template) @property @pulumi.getter(name="cpeDeviceInfos") @@ -19859,8 +24199,19 @@ def __init__(__self__, *, :param str platform_software_version: The platform or software version of the CPE device. :param str vendor: The vendor that makes the CPE device. """ - pulumi.set(__self__, "platform_software_version", platform_software_version) - pulumi.set(__self__, "vendor", vendor) + GetCpeDeviceShapesCpeDeviceShapeCpeDeviceInfoResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + platform_software_version=platform_software_version, + vendor=vendor, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + platform_software_version: str, + vendor: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("platform_software_version", platform_software_version) + _setter("vendor", vendor) @property @pulumi.getter(name="platformSoftwareVersion") @@ -19885,10 +24236,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetCpeDeviceShapesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -19929,15 +24293,40 @@ def __init__(__self__, *, :param bool is_private: Indicates whether this CPE is of type `private` or not. :param str time_created: The date and time the CPE was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "cpe_device_shape_id", cpe_device_shape_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "ip_address", ip_address) - pulumi.set(__self__, "is_private", is_private) - pulumi.set(__self__, "time_created", time_created) + GetCpesCpeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + cpe_device_shape_id=cpe_device_shape_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + ip_address=ip_address, + is_private=is_private, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + cpe_device_shape_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + ip_address: str, + is_private: bool, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("cpe_device_shape_id", cpe_device_shape_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("ip_address", ip_address) + _setter("is_private", is_private) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -20018,10 +24407,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetCpesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -20052,10 +24454,25 @@ def __init__(__self__, *, :param Sequence['GetCrossConnectGroupMacsecPropertyPrimaryKeyArgs'] primary_keys: An object defining the Secrets-in-Vault OCIDs representing the MACsec key. :param str state: The cross-connect group's current state. """ - pulumi.set(__self__, "encryption_cipher", encryption_cipher) - pulumi.set(__self__, "is_unprotected_traffic_allowed", is_unprotected_traffic_allowed) - pulumi.set(__self__, "primary_keys", primary_keys) - pulumi.set(__self__, "state", state) + GetCrossConnectGroupMacsecPropertyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + encryption_cipher=encryption_cipher, + is_unprotected_traffic_allowed=is_unprotected_traffic_allowed, + primary_keys=primary_keys, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + encryption_cipher: str, + is_unprotected_traffic_allowed: bool, + primary_keys: Sequence['outputs.GetCrossConnectGroupMacsecPropertyPrimaryKeyResult'], + state: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("encryption_cipher", encryption_cipher) + _setter("is_unprotected_traffic_allowed", is_unprotected_traffic_allowed) + _setter("primary_keys", primary_keys) + _setter("state", state) @property @pulumi.getter(name="encryptionCipher") @@ -20103,10 +24520,25 @@ def __init__(__self__, *, :param str connectivity_association_name_secret_id: Secret [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) containing the Connectivity association Key Name (CKN) of this MACsec key. :param str connectivity_association_name_secret_version: The secret version of the connectivity association name secret in Vault. """ - pulumi.set(__self__, "connectivity_association_key_secret_id", connectivity_association_key_secret_id) - pulumi.set(__self__, "connectivity_association_key_secret_version", connectivity_association_key_secret_version) - pulumi.set(__self__, "connectivity_association_name_secret_id", connectivity_association_name_secret_id) - pulumi.set(__self__, "connectivity_association_name_secret_version", connectivity_association_name_secret_version) + GetCrossConnectGroupMacsecPropertyPrimaryKeyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + connectivity_association_key_secret_id=connectivity_association_key_secret_id, + connectivity_association_key_secret_version=connectivity_association_key_secret_version, + connectivity_association_name_secret_id=connectivity_association_name_secret_id, + connectivity_association_name_secret_version=connectivity_association_name_secret_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + connectivity_association_key_secret_id: str, + connectivity_association_key_secret_version: str, + connectivity_association_name_secret_id: str, + connectivity_association_name_secret_version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("connectivity_association_key_secret_id", connectivity_association_key_secret_id) + _setter("connectivity_association_key_secret_version", connectivity_association_key_secret_version) + _setter("connectivity_association_name_secret_id", connectivity_association_name_secret_id) + _setter("connectivity_association_name_secret_version", connectivity_association_name_secret_version) @property @pulumi.getter(name="connectivityAssociationKeySecretId") @@ -20168,17 +24600,46 @@ def __init__(__self__, *, :param str state: A filter to return only resources that match the specified lifecycle state. The value is case insensitive. :param str time_created: The date and time the cross-connect group was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "customer_reference_name", customer_reference_name) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "macsec_properties", macsec_properties) - pulumi.set(__self__, "oci_logical_device_name", oci_logical_device_name) - pulumi.set(__self__, "oci_physical_device_name", oci_physical_device_name) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) + GetCrossConnectGroupsCrossConnectGroupResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + customer_reference_name=customer_reference_name, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + macsec_properties=macsec_properties, + oci_logical_device_name=oci_logical_device_name, + oci_physical_device_name=oci_physical_device_name, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + customer_reference_name: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + macsec_properties: Sequence['outputs.GetCrossConnectGroupsCrossConnectGroupMacsecPropertyResult'], + oci_logical_device_name: str, + oci_physical_device_name: str, + state: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("customer_reference_name", customer_reference_name) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("macsec_properties", macsec_properties) + _setter("oci_logical_device_name", oci_logical_device_name) + _setter("oci_physical_device_name", oci_physical_device_name) + _setter("state", state) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -20282,10 +24743,25 @@ def __init__(__self__, *, :param Sequence['GetCrossConnectGroupsCrossConnectGroupMacsecPropertyPrimaryKeyArgs'] primary_keys: An object defining the Secrets-in-Vault OCIDs representing the MACsec key. :param str state: A filter to return only resources that match the specified lifecycle state. The value is case insensitive. """ - pulumi.set(__self__, "encryption_cipher", encryption_cipher) - pulumi.set(__self__, "is_unprotected_traffic_allowed", is_unprotected_traffic_allowed) - pulumi.set(__self__, "primary_keys", primary_keys) - pulumi.set(__self__, "state", state) + GetCrossConnectGroupsCrossConnectGroupMacsecPropertyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + encryption_cipher=encryption_cipher, + is_unprotected_traffic_allowed=is_unprotected_traffic_allowed, + primary_keys=primary_keys, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + encryption_cipher: str, + is_unprotected_traffic_allowed: bool, + primary_keys: Sequence['outputs.GetCrossConnectGroupsCrossConnectGroupMacsecPropertyPrimaryKeyResult'], + state: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("encryption_cipher", encryption_cipher) + _setter("is_unprotected_traffic_allowed", is_unprotected_traffic_allowed) + _setter("primary_keys", primary_keys) + _setter("state", state) @property @pulumi.getter(name="encryptionCipher") @@ -20333,10 +24809,25 @@ def __init__(__self__, *, :param str connectivity_association_name_secret_id: Secret [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) containing the Connectivity association Key Name (CKN) of this MACsec key. :param str connectivity_association_name_secret_version: The secret version of the connectivity association name secret in Vault. """ - pulumi.set(__self__, "connectivity_association_key_secret_id", connectivity_association_key_secret_id) - pulumi.set(__self__, "connectivity_association_key_secret_version", connectivity_association_key_secret_version) - pulumi.set(__self__, "connectivity_association_name_secret_id", connectivity_association_name_secret_id) - pulumi.set(__self__, "connectivity_association_name_secret_version", connectivity_association_name_secret_version) + GetCrossConnectGroupsCrossConnectGroupMacsecPropertyPrimaryKeyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + connectivity_association_key_secret_id=connectivity_association_key_secret_id, + connectivity_association_key_secret_version=connectivity_association_key_secret_version, + connectivity_association_name_secret_id=connectivity_association_name_secret_id, + connectivity_association_name_secret_version=connectivity_association_name_secret_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + connectivity_association_key_secret_id: str, + connectivity_association_key_secret_version: str, + connectivity_association_name_secret_id: str, + connectivity_association_name_secret_version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("connectivity_association_key_secret_id", connectivity_association_key_secret_id) + _setter("connectivity_association_key_secret_version", connectivity_association_key_secret_version) + _setter("connectivity_association_name_secret_id", connectivity_association_name_secret_id) + _setter("connectivity_association_name_secret_version", connectivity_association_name_secret_version) @property @pulumi.getter(name="connectivityAssociationKeySecretId") @@ -20377,10 +24868,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetCrossConnectGroupsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -20407,8 +24911,19 @@ def __init__(__self__, *, :param str description: A description of the location. :param str name: The name of the location. Example: `CyrusOne, Chandler, AZ` """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "name", name) + GetCrossConnectLocationsCrossConnectLocationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("name", name) @property @pulumi.getter @@ -20436,10 +24951,23 @@ def __init__(__self__, *, """ :param str name: The name of the location. Example: `CyrusOne, Chandler, AZ` """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetCrossConnectLocationsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -20473,10 +25001,25 @@ def __init__(__self__, *, :param Sequence['GetCrossConnectMacsecPropertyPrimaryKeyArgs'] primary_keys: An object defining the Secrets-in-Vault OCIDs representing the MACsec key. :param str state: The cross-connect's current state. """ - pulumi.set(__self__, "encryption_cipher", encryption_cipher) - pulumi.set(__self__, "is_unprotected_traffic_allowed", is_unprotected_traffic_allowed) - pulumi.set(__self__, "primary_keys", primary_keys) - pulumi.set(__self__, "state", state) + GetCrossConnectMacsecPropertyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + encryption_cipher=encryption_cipher, + is_unprotected_traffic_allowed=is_unprotected_traffic_allowed, + primary_keys=primary_keys, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + encryption_cipher: str, + is_unprotected_traffic_allowed: bool, + primary_keys: Sequence['outputs.GetCrossConnectMacsecPropertyPrimaryKeyResult'], + state: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("encryption_cipher", encryption_cipher) + _setter("is_unprotected_traffic_allowed", is_unprotected_traffic_allowed) + _setter("primary_keys", primary_keys) + _setter("state", state) @property @pulumi.getter(name="encryptionCipher") @@ -20524,10 +25067,25 @@ def __init__(__self__, *, :param str connectivity_association_name_secret_id: Secret [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) containing the Connectivity association Key Name (CKN) of this MACsec key. :param str connectivity_association_name_secret_version: The secret version of the connectivity association name secret in Vault. """ - pulumi.set(__self__, "connectivity_association_key_secret_id", connectivity_association_key_secret_id) - pulumi.set(__self__, "connectivity_association_key_secret_version", connectivity_association_key_secret_version) - pulumi.set(__self__, "connectivity_association_name_secret_id", connectivity_association_name_secret_id) - pulumi.set(__self__, "connectivity_association_name_secret_version", connectivity_association_name_secret_version) + GetCrossConnectMacsecPropertyPrimaryKeyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + connectivity_association_key_secret_id=connectivity_association_key_secret_id, + connectivity_association_key_secret_version=connectivity_association_key_secret_version, + connectivity_association_name_secret_id=connectivity_association_name_secret_id, + connectivity_association_name_secret_version=connectivity_association_name_secret_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + connectivity_association_key_secret_id: str, + connectivity_association_key_secret_version: str, + connectivity_association_name_secret_id: str, + connectivity_association_name_secret_version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("connectivity_association_key_secret_id", connectivity_association_key_secret_id) + _setter("connectivity_association_key_secret_version", connectivity_association_key_secret_version) + _setter("connectivity_association_name_secret_id", connectivity_association_name_secret_id) + _setter("connectivity_association_name_secret_version", connectivity_association_name_secret_version) @property @pulumi.getter(name="connectivityAssociationKeySecretId") @@ -20571,8 +25129,19 @@ def __init__(__self__, *, :param str name: The name of the port speed shape. Example: `10 Gbps` :param int port_speed_in_gbps: The port speed in Gbps. Example: `10` """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "port_speed_in_gbps", port_speed_in_gbps) + GetCrossConnectPortSpeedShapeCrossConnectPortSpeedShapeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + port_speed_in_gbps=port_speed_in_gbps, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + port_speed_in_gbps: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("port_speed_in_gbps", port_speed_in_gbps) @property @pulumi.getter @@ -20600,10 +25169,23 @@ def __init__(__self__, *, """ :param str name: The name of the port speed shape. Example: `10 Gbps` """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetCrossConnectPortSpeedShapeFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -20662,24 +25244,67 @@ def __init__(__self__, *, :param str state: A filter to return only resources that match the specified lifecycle state. The value is case insensitive. :param str time_created: The date and time the cross-connect was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "cross_connect_group_id", cross_connect_group_id) - pulumi.set(__self__, "customer_reference_name", customer_reference_name) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "far_cross_connect_or_cross_connect_group_id", far_cross_connect_or_cross_connect_group_id) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_active", is_active) - pulumi.set(__self__, "location_name", location_name) - pulumi.set(__self__, "macsec_properties", macsec_properties) - pulumi.set(__self__, "near_cross_connect_or_cross_connect_group_id", near_cross_connect_or_cross_connect_group_id) - pulumi.set(__self__, "oci_logical_device_name", oci_logical_device_name) - pulumi.set(__self__, "oci_physical_device_name", oci_physical_device_name) - pulumi.set(__self__, "port_name", port_name) - pulumi.set(__self__, "port_speed_shape_name", port_speed_shape_name) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) + GetCrossConnectsCrossConnectResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + cross_connect_group_id=cross_connect_group_id, + customer_reference_name=customer_reference_name, + defined_tags=defined_tags, + display_name=display_name, + far_cross_connect_or_cross_connect_group_id=far_cross_connect_or_cross_connect_group_id, + freeform_tags=freeform_tags, + id=id, + is_active=is_active, + location_name=location_name, + macsec_properties=macsec_properties, + near_cross_connect_or_cross_connect_group_id=near_cross_connect_or_cross_connect_group_id, + oci_logical_device_name=oci_logical_device_name, + oci_physical_device_name=oci_physical_device_name, + port_name=port_name, + port_speed_shape_name=port_speed_shape_name, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + cross_connect_group_id: str, + customer_reference_name: str, + defined_tags: Mapping[str, Any], + display_name: str, + far_cross_connect_or_cross_connect_group_id: str, + freeform_tags: Mapping[str, Any], + id: str, + is_active: bool, + location_name: str, + macsec_properties: Sequence['outputs.GetCrossConnectsCrossConnectMacsecPropertyResult'], + near_cross_connect_or_cross_connect_group_id: str, + oci_logical_device_name: str, + oci_physical_device_name: str, + port_name: str, + port_speed_shape_name: str, + state: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("cross_connect_group_id", cross_connect_group_id) + _setter("customer_reference_name", customer_reference_name) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("far_cross_connect_or_cross_connect_group_id", far_cross_connect_or_cross_connect_group_id) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_active", is_active) + _setter("location_name", location_name) + _setter("macsec_properties", macsec_properties) + _setter("near_cross_connect_or_cross_connect_group_id", near_cross_connect_or_cross_connect_group_id) + _setter("oci_logical_device_name", oci_logical_device_name) + _setter("oci_physical_device_name", oci_physical_device_name) + _setter("port_name", port_name) + _setter("port_speed_shape_name", port_speed_shape_name) + _setter("state", state) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -20830,10 +25455,25 @@ def __init__(__self__, *, :param Sequence['GetCrossConnectsCrossConnectMacsecPropertyPrimaryKeyArgs'] primary_keys: An object defining the Secrets-in-Vault OCIDs representing the MACsec key. :param str state: A filter to return only resources that match the specified lifecycle state. The value is case insensitive. """ - pulumi.set(__self__, "encryption_cipher", encryption_cipher) - pulumi.set(__self__, "is_unprotected_traffic_allowed", is_unprotected_traffic_allowed) - pulumi.set(__self__, "primary_keys", primary_keys) - pulumi.set(__self__, "state", state) + GetCrossConnectsCrossConnectMacsecPropertyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + encryption_cipher=encryption_cipher, + is_unprotected_traffic_allowed=is_unprotected_traffic_allowed, + primary_keys=primary_keys, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + encryption_cipher: str, + is_unprotected_traffic_allowed: bool, + primary_keys: Sequence['outputs.GetCrossConnectsCrossConnectMacsecPropertyPrimaryKeyResult'], + state: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("encryption_cipher", encryption_cipher) + _setter("is_unprotected_traffic_allowed", is_unprotected_traffic_allowed) + _setter("primary_keys", primary_keys) + _setter("state", state) @property @pulumi.getter(name="encryptionCipher") @@ -20881,10 +25521,25 @@ def __init__(__self__, *, :param str connectivity_association_name_secret_id: Secret [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) containing the Connectivity association Key Name (CKN) of this MACsec key. :param str connectivity_association_name_secret_version: The secret version of the connectivity association name secret in Vault. """ - pulumi.set(__self__, "connectivity_association_key_secret_id", connectivity_association_key_secret_id) - pulumi.set(__self__, "connectivity_association_key_secret_version", connectivity_association_key_secret_version) - pulumi.set(__self__, "connectivity_association_name_secret_id", connectivity_association_name_secret_id) - pulumi.set(__self__, "connectivity_association_name_secret_version", connectivity_association_name_secret_version) + GetCrossConnectsCrossConnectMacsecPropertyPrimaryKeyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + connectivity_association_key_secret_id=connectivity_association_key_secret_id, + connectivity_association_key_secret_version=connectivity_association_key_secret_version, + connectivity_association_name_secret_id=connectivity_association_name_secret_id, + connectivity_association_name_secret_version=connectivity_association_name_secret_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + connectivity_association_key_secret_id: str, + connectivity_association_key_secret_version: str, + connectivity_association_name_secret_id: str, + connectivity_association_name_secret_version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("connectivity_association_key_secret_id", connectivity_association_key_secret_id) + _setter("connectivity_association_key_secret_version", connectivity_association_key_secret_version) + _setter("connectivity_association_name_secret_id", connectivity_association_name_secret_id) + _setter("connectivity_association_name_secret_version", connectivity_association_name_secret_version) @property @pulumi.getter(name="connectivityAssociationKeySecretId") @@ -20925,10 +25580,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetCrossConnectsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -20955,8 +25623,19 @@ def __init__(__self__, *, :param str availability_domain: The name of the availability domain. Example: `Uocm:PHX-AD-1` :param str instance_shape_name: The name of the virtual machine instance shapes that can be launched on a dedicated VM host. """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "instance_shape_name", instance_shape_name) + GetDedicatedVmHostInstanceShapesDedicatedVmHostInstanceShapeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + instance_shape_name=instance_shape_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + instance_shape_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("instance_shape_name", instance_shape_name) @property @pulumi.getter(name="availabilityDomain") @@ -20981,10 +25660,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDedicatedVmHostInstanceShapesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -21017,11 +25709,28 @@ def __init__(__self__, *, :param str shape: The shape of the VM instance. :param str time_created: The date and time the virtual machine instance was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "instance_id", instance_id) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "time_created", time_created) + GetDedicatedVmHostInstancesDedicatedVmHostInstanceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + compartment_id=compartment_id, + instance_id=instance_id, + shape=shape, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + compartment_id: str, + instance_id: str, + shape: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("compartment_id", compartment_id) + _setter("instance_id", instance_id) + _setter("shape", shape) + _setter("time_created", time_created) @property @pulumi.getter(name="availabilityDomain") @@ -21070,10 +25779,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDedicatedVmHostInstancesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -21100,8 +25822,19 @@ def __init__(__self__, *, :param str availability_domain: The name of the availability domain. Example: `Uocm:PHX-AD-1` :param str dedicated_vm_host_shape: The name of the dedicated VM host shape. You can enumerate all available shapes by calling [ListDedicatedVmHostShapes](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/dedicatedVmHostShapes). """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "dedicated_vm_host_shape", dedicated_vm_host_shape) + GetDedicatedVmHostShapesDedicatedVmHostShapeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + dedicated_vm_host_shape=dedicated_vm_host_shape, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + dedicated_vm_host_shape: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("dedicated_vm_host_shape", dedicated_vm_host_shape) @property @pulumi.getter(name="availabilityDomain") @@ -21126,10 +25859,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDedicatedVmHostShapesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -21180,20 +25926,55 @@ def __init__(__self__, *, :param float total_memory_in_gbs: The current total memory of the dedicated VM host, in GBs. :param float total_ocpus: The current total OCPUs of the dedicated VM host. """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "dedicated_vm_host_shape", dedicated_vm_host_shape) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "fault_domain", fault_domain) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "remaining_memory_in_gbs", remaining_memory_in_gbs) - pulumi.set(__self__, "remaining_ocpus", remaining_ocpus) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "total_memory_in_gbs", total_memory_in_gbs) - pulumi.set(__self__, "total_ocpus", total_ocpus) + GetDedicatedVmHostsDedicatedVmHostResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + compartment_id=compartment_id, + dedicated_vm_host_shape=dedicated_vm_host_shape, + defined_tags=defined_tags, + display_name=display_name, + fault_domain=fault_domain, + freeform_tags=freeform_tags, + id=id, + remaining_memory_in_gbs=remaining_memory_in_gbs, + remaining_ocpus=remaining_ocpus, + state=state, + time_created=time_created, + total_memory_in_gbs=total_memory_in_gbs, + total_ocpus=total_ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + compartment_id: str, + dedicated_vm_host_shape: str, + defined_tags: Mapping[str, Any], + display_name: str, + fault_domain: str, + freeform_tags: Mapping[str, Any], + id: str, + remaining_memory_in_gbs: float, + remaining_ocpus: float, + state: str, + time_created: str, + total_memory_in_gbs: float, + total_ocpus: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("compartment_id", compartment_id) + _setter("dedicated_vm_host_shape", dedicated_vm_host_shape) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("fault_domain", fault_domain) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("remaining_memory_in_gbs", remaining_memory_in_gbs) + _setter("remaining_ocpus", remaining_ocpus) + _setter("state", state) + _setter("time_created", time_created) + _setter("total_memory_in_gbs", total_memory_in_gbs) + _setter("total_ocpus", total_ocpus) @property @pulumi.getter(name="availabilityDomain") @@ -21314,10 +26095,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDedicatedVmHostsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -21341,10 +26135,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDhcpOptionsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -21387,16 +26194,43 @@ def __init__(__self__, *, :param str time_created: Date and time the set of DHCP options was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` :param str vcn_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "domain_name_type", domain_name_type) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "options", options) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "vcn_id", vcn_id) + GetDhcpOptionsOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + domain_name_type=domain_name_type, + freeform_tags=freeform_tags, + id=id, + options=options, + state=state, + time_created=time_created, + vcn_id=vcn_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + domain_name_type: str, + freeform_tags: Mapping[str, Any], + id: str, + options: Sequence['outputs.GetDhcpOptionsOptionOptionResult'], + state: str, + time_created: str, + vcn_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("domain_name_type", domain_name_type) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("options", options) + _setter("state", state) + _setter("time_created", time_created) + _setter("vcn_id", vcn_id) @property @pulumi.getter(name="compartmentId") @@ -21494,10 +26328,25 @@ def __init__(__self__, *, * **CustomDnsServer:** Instances use a DNS server of your choice (three maximum). :param str type: The specific DHCP option. Either `DomainNameServer` (for [DhcpDnsOption](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/DhcpDnsOption/)) or `SearchDomain` (for [DhcpSearchDomainOption](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/DhcpSearchDomainOption/)). """ - pulumi.set(__self__, "custom_dns_servers", custom_dns_servers) - pulumi.set(__self__, "search_domain_names", search_domain_names) - pulumi.set(__self__, "server_type", server_type) - pulumi.set(__self__, "type", type) + GetDhcpOptionsOptionOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_dns_servers=custom_dns_servers, + search_domain_names=search_domain_names, + server_type=server_type, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_dns_servers: Sequence[str], + search_domain_names: Sequence[str], + server_type: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("custom_dns_servers", custom_dns_servers) + _setter("search_domain_names", search_domain_names) + _setter("server_type", server_type) + _setter("type", type) @property @pulumi.getter(name="customDnsServers") @@ -21567,21 +26416,58 @@ def __init__(__self__, *, :param str time_created: The date and time the DRG attachment was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` :param str vcn_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "drg_id", drg_id) - pulumi.set(__self__, "drg_route_table_id", drg_route_table_id) - pulumi.set(__self__, "export_drg_route_distribution_id", export_drg_route_distribution_id) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_cross_tenancy", is_cross_tenancy) - pulumi.set(__self__, "network_details", network_details) - pulumi.set(__self__, "remove_export_drg_route_distribution_trigger", remove_export_drg_route_distribution_trigger) - pulumi.set(__self__, "route_table_id", route_table_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "vcn_id", vcn_id) + GetDrgAttachmentsDrgAttachmentResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + drg_id=drg_id, + drg_route_table_id=drg_route_table_id, + export_drg_route_distribution_id=export_drg_route_distribution_id, + freeform_tags=freeform_tags, + id=id, + is_cross_tenancy=is_cross_tenancy, + network_details=network_details, + remove_export_drg_route_distribution_trigger=remove_export_drg_route_distribution_trigger, + route_table_id=route_table_id, + state=state, + time_created=time_created, + vcn_id=vcn_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + drg_id: str, + drg_route_table_id: str, + export_drg_route_distribution_id: str, + freeform_tags: Mapping[str, Any], + id: str, + is_cross_tenancy: bool, + network_details: Sequence['outputs.GetDrgAttachmentsDrgAttachmentNetworkDetailResult'], + remove_export_drg_route_distribution_trigger: bool, + route_table_id: str, + state: str, + time_created: str, + vcn_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("drg_id", drg_id) + _setter("drg_route_table_id", drg_route_table_id) + _setter("export_drg_route_distribution_id", export_drg_route_distribution_id) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_cross_tenancy", is_cross_tenancy) + _setter("network_details", network_details) + _setter("remove_export_drg_route_distribution_trigger", remove_export_drg_route_distribution_trigger) + _setter("route_table_id", route_table_id) + _setter("state", state) + _setter("time_created", time_created) + _setter("vcn_id", vcn_id) @property @pulumi.getter(name="compartmentId") @@ -21719,14 +26605,37 @@ def __init__(__self__, *, :param str type: The type can be one of these values: `IPSEC_TUNNEL`, `LOOPBACK`, `REMOTE_PEERING_CONNECTION`, `VCN`, `VIRTUAL_CIRCUIT` :param str vcn_route_type: Indicates whether the VCN CIDRs or the individual subnet CIDRs are imported from the attachment. Routes from the VCN ingress route table are always imported. """ - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "ids", ids) - pulumi.set(__self__, "ipsec_connection_id", ipsec_connection_id) - pulumi.set(__self__, "route_table_id", route_table_id) - pulumi.set(__self__, "transport_attachment_id", transport_attachment_id) - pulumi.set(__self__, "transport_only_mode", transport_only_mode) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "vcn_route_type", vcn_route_type) + GetDrgAttachmentsDrgAttachmentNetworkDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + ids=ids, + ipsec_connection_id=ipsec_connection_id, + route_table_id=route_table_id, + transport_attachment_id=transport_attachment_id, + transport_only_mode=transport_only_mode, + type=type, + vcn_route_type=vcn_route_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: str, + ids: Sequence[str], + ipsec_connection_id: str, + route_table_id: str, + transport_attachment_id: str, + transport_only_mode: bool, + type: str, + vcn_route_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) + _setter("ids", ids) + _setter("ipsec_connection_id", ipsec_connection_id) + _setter("route_table_id", route_table_id) + _setter("transport_attachment_id", transport_attachment_id) + _setter("transport_only_mode", transport_only_mode) + _setter("type", type) + _setter("vcn_route_type", vcn_route_type) @property @pulumi.getter @@ -21799,10 +26708,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDrgAttachmentsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -21833,10 +26755,25 @@ def __init__(__self__, *, :param Sequence['GetDrgRouteDistributionStatementsDrgRouteDistributionStatementMatchCriteriaArgs'] match_criterias: The action is applied only if all of the match criteria is met. If match type is MATCH_ALL, any input is considered a match. :param int priority: This field specifies the priority of each statement in a route distribution. Priorities must be unique within a particular route distribution. The priority will be represented as a number between 0 and 65535 where a lower number indicates a higher priority. When a route is processed, statements are applied in the order defined by their priority. The first matching rule dictates the action that will be taken on the route. """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "match_criterias", match_criterias) - pulumi.set(__self__, "priority", priority) + GetDrgRouteDistributionStatementsDrgRouteDistributionStatementResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + id=id, + match_criterias=match_criterias, + priority=priority, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: str, + id: str, + match_criterias: Sequence['outputs.GetDrgRouteDistributionStatementsDrgRouteDistributionStatementMatchCriteriaResult'], + priority: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("id", id) + _setter("match_criterias", match_criterias) + _setter("priority", priority) @property @pulumi.getter @@ -21882,9 +26819,22 @@ def __init__(__self__, *, :param str drg_attachment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG attachment. :param str match_type: The type of the match criteria for a route distribution statement. """ - pulumi.set(__self__, "attachment_type", attachment_type) - pulumi.set(__self__, "drg_attachment_id", drg_attachment_id) - pulumi.set(__self__, "match_type", match_type) + GetDrgRouteDistributionStatementsDrgRouteDistributionStatementMatchCriteriaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + attachment_type=attachment_type, + drg_attachment_id=drg_attachment_id, + match_type=match_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attachment_type: str, + drg_attachment_id: str, + match_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("attachment_type", attachment_type) + _setter("drg_attachment_id", drg_attachment_id) + _setter("match_type", match_type) @property @pulumi.getter(name="attachmentType") @@ -21917,10 +26867,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDrgRouteDistributionStatementsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -21961,15 +26924,40 @@ def __init__(__self__, *, :param str state: A filter that only returns resources that match the specified lifecycle state. The value is case insensitive. :param str time_created: The date and time the route distribution was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "distribution_type", distribution_type) - pulumi.set(__self__, "drg_id", drg_id) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) + GetDrgRouteDistributionsDrgRouteDistributionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + distribution_type=distribution_type, + drg_id=drg_id, + freeform_tags=freeform_tags, + id=id, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + distribution_type: str, + drg_id: str, + freeform_tags: Mapping[str, Any], + id: str, + state: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("distribution_type", distribution_type) + _setter("drg_id", drg_id) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("state", state) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -22050,10 +27038,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDrgRouteDistributionsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -22094,15 +27095,40 @@ def __init__(__self__, *, :param str route_provenance: The earliest origin of a route. If a route is advertised to a DRG through an IPsec tunnel attachment, and is propagated to peered DRGs via RPC attachments, the route's provenance in the peered DRGs remains `IPSEC_TUNNEL`, because that is the earliest origin. :param str route_type: Static routes are specified through the DRG route table API. Dynamic routes are learned by the DRG from the DRG attachments through various routing protocols. """ - pulumi.set(__self__, "attributes", attributes) - pulumi.set(__self__, "destination", destination) - pulumi.set(__self__, "destination_type", destination_type) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_blackhole", is_blackhole) - pulumi.set(__self__, "is_conflict", is_conflict) - pulumi.set(__self__, "next_hop_drg_attachment_id", next_hop_drg_attachment_id) - pulumi.set(__self__, "route_provenance", route_provenance) - pulumi.set(__self__, "route_type", route_type) + GetDrgRouteTableRouteRulesDrgRouteRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + attributes=attributes, + destination=destination, + destination_type=destination_type, + id=id, + is_blackhole=is_blackhole, + is_conflict=is_conflict, + next_hop_drg_attachment_id=next_hop_drg_attachment_id, + route_provenance=route_provenance, + route_type=route_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attributes: Mapping[str, Any], + destination: str, + destination_type: str, + id: str, + is_blackhole: bool, + is_conflict: bool, + next_hop_drg_attachment_id: str, + route_provenance: str, + route_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("attributes", attributes) + _setter("destination", destination) + _setter("destination_type", destination_type) + _setter("id", id) + _setter("is_blackhole", is_blackhole) + _setter("is_conflict", is_conflict) + _setter("next_hop_drg_attachment_id", next_hop_drg_attachment_id) + _setter("route_provenance", route_provenance) + _setter("route_type", route_type) @property @pulumi.getter @@ -22183,10 +27209,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDrgRouteTableRouteRulesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -22230,17 +27269,46 @@ def __init__(__self__, *, :param str state: A filter that only returns matches for the specified lifecycle state. The value is case insensitive. :param str time_created: The date and time the DRG route table was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "drg_id", drg_id) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "import_drg_route_distribution_id", import_drg_route_distribution_id) - pulumi.set(__self__, "is_ecmp_enabled", is_ecmp_enabled) - pulumi.set(__self__, "remove_import_trigger", remove_import_trigger) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) + GetDrgRouteTablesDrgRouteTableResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + drg_id=drg_id, + freeform_tags=freeform_tags, + id=id, + import_drg_route_distribution_id=import_drg_route_distribution_id, + is_ecmp_enabled=is_ecmp_enabled, + remove_import_trigger=remove_import_trigger, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + drg_id: str, + freeform_tags: Mapping[str, Any], + id: str, + import_drg_route_distribution_id: str, + is_ecmp_enabled: bool, + remove_import_trigger: bool, + state: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("drg_id", drg_id) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("import_drg_route_distribution_id", import_drg_route_distribution_id) + _setter("is_ecmp_enabled", is_ecmp_enabled) + _setter("remove_import_trigger", remove_import_trigger) + _setter("state", state) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -22334,10 +27402,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDrgRouteTablesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -22379,16 +27460,43 @@ def __init__(__self__, *, :param str state: The DRG's current state. :param str time_created: The date and time the DRG was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "default_drg_route_tables", default_drg_route_tables) - pulumi.set(__self__, "default_export_drg_route_distribution_id", default_export_drg_route_distribution_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "redundancy_status", redundancy_status) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) + GetDrgsDrgResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + default_drg_route_tables=default_drg_route_tables, + default_export_drg_route_distribution_id=default_export_drg_route_distribution_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + redundancy_status=redundancy_status, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + default_drg_route_tables: Sequence['outputs.GetDrgsDrgDefaultDrgRouteTableResult'], + default_export_drg_route_distribution_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + redundancy_status: str, + state: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("default_drg_route_tables", default_drg_route_tables) + _setter("default_export_drg_route_distribution_id", default_export_drg_route_distribution_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("redundancy_status", redundancy_status) + _setter("state", state) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -22481,10 +27589,25 @@ def __init__(__self__, *, :param str vcn: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the default DRG route table to be assigned to DRG attachments of type VCN on creation. :param str virtual_circuit: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the default DRG route table to be assigned to DRG attachments of type VIRTUAL_CIRCUIT on creation. """ - pulumi.set(__self__, "ipsec_tunnel", ipsec_tunnel) - pulumi.set(__self__, "remote_peering_connection", remote_peering_connection) - pulumi.set(__self__, "vcn", vcn) - pulumi.set(__self__, "virtual_circuit", virtual_circuit) + GetDrgsDrgDefaultDrgRouteTableResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ipsec_tunnel=ipsec_tunnel, + remote_peering_connection=remote_peering_connection, + vcn=vcn, + virtual_circuit=virtual_circuit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ipsec_tunnel: str, + remote_peering_connection: str, + vcn: str, + virtual_circuit: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ipsec_tunnel", ipsec_tunnel) + _setter("remote_peering_connection", remote_peering_connection) + _setter("vcn", vcn) + _setter("virtual_circuit", virtual_circuit) @property @pulumi.getter(name="ipsecTunnel") @@ -22525,10 +27648,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDrgsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -22575,18 +27711,49 @@ def __init__(__self__, *, :param Sequence[str] supported_virtual_circuit_types: An array of virtual circuit types supported by this service. :param str type: Provider service type. """ - pulumi.set(__self__, "bandwith_shape_management", bandwith_shape_management) - pulumi.set(__self__, "customer_asn_management", customer_asn_management) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "private_peering_bgp_management", private_peering_bgp_management) - pulumi.set(__self__, "provider_name", provider_name) - pulumi.set(__self__, "provider_service_key_management", provider_service_key_management) - pulumi.set(__self__, "provider_service_name", provider_service_name) - pulumi.set(__self__, "public_peering_bgp_management", public_peering_bgp_management) - pulumi.set(__self__, "required_total_cross_connects", required_total_cross_connects) - pulumi.set(__self__, "supported_virtual_circuit_types", supported_virtual_circuit_types) - pulumi.set(__self__, "type", type) + GetFastConnectProviderServicesFastConnectProviderServiceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bandwith_shape_management=bandwith_shape_management, + customer_asn_management=customer_asn_management, + description=description, + id=id, + private_peering_bgp_management=private_peering_bgp_management, + provider_name=provider_name, + provider_service_key_management=provider_service_key_management, + provider_service_name=provider_service_name, + public_peering_bgp_management=public_peering_bgp_management, + required_total_cross_connects=required_total_cross_connects, + supported_virtual_circuit_types=supported_virtual_circuit_types, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bandwith_shape_management: str, + customer_asn_management: str, + description: str, + id: str, + private_peering_bgp_management: str, + provider_name: str, + provider_service_key_management: str, + provider_service_name: str, + public_peering_bgp_management: str, + required_total_cross_connects: int, + supported_virtual_circuit_types: Sequence[str], + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bandwith_shape_management", bandwith_shape_management) + _setter("customer_asn_management", customer_asn_management) + _setter("description", description) + _setter("id", id) + _setter("private_peering_bgp_management", private_peering_bgp_management) + _setter("provider_name", provider_name) + _setter("provider_service_key_management", provider_service_key_management) + _setter("provider_service_name", provider_service_name) + _setter("public_peering_bgp_management", public_peering_bgp_management) + _setter("required_total_cross_connects", required_total_cross_connects) + _setter("supported_virtual_circuit_types", supported_virtual_circuit_types) + _setter("type", type) @property @pulumi.getter(name="bandwithShapeManagement") @@ -22691,10 +27858,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetFastConnectProviderServicesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -22721,8 +27901,19 @@ def __init__(__self__, *, :param bool is_management_supported: This attribute is not used. :param bool is_monitoring_supported: This attribute is not used. """ - pulumi.set(__self__, "is_management_supported", is_management_supported) - pulumi.set(__self__, "is_monitoring_supported", is_monitoring_supported) + GetImageAgentFeatureResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_management_supported=is_management_supported, + is_monitoring_supported=is_monitoring_supported, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_management_supported: bool, + is_monitoring_supported: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_management_supported", is_management_supported) + _setter("is_monitoring_supported", is_monitoring_supported) @property @pulumi.getter(name="isManagementSupported") @@ -22756,14 +27947,37 @@ def __init__(__self__, *, :param str operating_system: The image's operating system. Example: `Oracle Linux` :param str operating_system_version: The image's operating system version. Example: `7.2` """ - pulumi.set(__self__, "bucket_name", bucket_name) - pulumi.set(__self__, "namespace_name", namespace_name) - pulumi.set(__self__, "object_name", object_name) - pulumi.set(__self__, "operating_system", operating_system) - pulumi.set(__self__, "operating_system_version", operating_system_version) - pulumi.set(__self__, "source_image_type", source_image_type) - pulumi.set(__self__, "source_type", source_type) - pulumi.set(__self__, "source_uri", source_uri) + GetImageImageSourceDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket_name=bucket_name, + namespace_name=namespace_name, + object_name=object_name, + operating_system=operating_system, + operating_system_version=operating_system_version, + source_image_type=source_image_type, + source_type=source_type, + source_uri=source_uri, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket_name: str, + namespace_name: str, + object_name: str, + operating_system: str, + operating_system_version: str, + source_image_type: str, + source_type: str, + source_uri: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket_name", bucket_name) + _setter("namespace_name", namespace_name) + _setter("object_name", object_name) + _setter("operating_system", operating_system) + _setter("operating_system_version", operating_system_version) + _setter("source_image_type", source_image_type) + _setter("source_type", source_type) + _setter("source_uri", source_uri) @property @pulumi.getter(name="bucketName") @@ -22829,12 +28043,31 @@ def __init__(__self__, *, :param str network_type: Emulation type for the physical network interface card (NIC). :param str remote_data_volume_type: Emulation type for volume. """ - pulumi.set(__self__, "boot_volume_type", boot_volume_type) - pulumi.set(__self__, "firmware", firmware) - pulumi.set(__self__, "is_consistent_volume_naming_enabled", is_consistent_volume_naming_enabled) - pulumi.set(__self__, "is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) - pulumi.set(__self__, "network_type", network_type) - pulumi.set(__self__, "remote_data_volume_type", remote_data_volume_type) + GetImageLaunchOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + boot_volume_type=boot_volume_type, + firmware=firmware, + is_consistent_volume_naming_enabled=is_consistent_volume_naming_enabled, + is_pv_encryption_in_transit_enabled=is_pv_encryption_in_transit_enabled, + network_type=network_type, + remote_data_volume_type=remote_data_volume_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + boot_volume_type: str, + firmware: str, + is_consistent_volume_naming_enabled: bool, + is_pv_encryption_in_transit_enabled: bool, + network_type: str, + remote_data_volume_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("boot_volume_type", boot_volume_type) + _setter("firmware", firmware) + _setter("is_consistent_volume_naming_enabled", is_consistent_volume_naming_enabled) + _setter("is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) + _setter("network_type", network_type) + _setter("remote_data_volume_type", remote_data_volume_type) @property @pulumi.getter(name="bootVolumeType") @@ -22894,8 +28127,19 @@ def __init__(__self__, *, :param int max_in_gbs: The maximum amount of memory, in gigabytes. :param int min_in_gbs: The minimum amount of memory, in gigabytes. """ - pulumi.set(__self__, "max_in_gbs", max_in_gbs) - pulumi.set(__self__, "min_in_gbs", min_in_gbs) + GetImageShapeMemoryConstraintResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + max_in_gbs=max_in_gbs, + min_in_gbs=min_in_gbs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max_in_gbs: int, + min_in_gbs: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max_in_gbs", max_in_gbs) + _setter("min_in_gbs", min_in_gbs) @property @pulumi.getter(name="maxInGbs") @@ -22923,8 +28167,19 @@ def __init__(__self__, *, :param int max: The maximum number of OCPUs supported for this image and shape. :param int min: The minimum number of OCPUs supported for this image and shape. """ - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "min", min) + GetImageShapeOcpuConstraintResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: int, + min: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max", max) + _setter("min", min) @property @pulumi.getter @@ -22949,10 +28204,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetImageShapesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -22983,10 +28251,25 @@ def __init__(__self__, *, :param Sequence['GetImageShapesImageShapeCompatibilityOcpuConstraintArgs'] ocpu_constraints: OCPU options for an image and shape. :param str shape: The shape name. """ - pulumi.set(__self__, "image_id", image_id) - pulumi.set(__self__, "memory_constraints", memory_constraints) - pulumi.set(__self__, "ocpu_constraints", ocpu_constraints) - pulumi.set(__self__, "shape", shape) + GetImageShapesImageShapeCompatibilityResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + image_id=image_id, + memory_constraints=memory_constraints, + ocpu_constraints=ocpu_constraints, + shape=shape, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + image_id: str, + memory_constraints: Sequence['outputs.GetImageShapesImageShapeCompatibilityMemoryConstraintResult'], + ocpu_constraints: Sequence['outputs.GetImageShapesImageShapeCompatibilityOcpuConstraintResult'], + shape: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("image_id", image_id) + _setter("memory_constraints", memory_constraints) + _setter("ocpu_constraints", ocpu_constraints) + _setter("shape", shape) @property @pulumi.getter(name="imageId") @@ -23030,8 +28313,19 @@ def __init__(__self__, *, :param int max_in_gbs: The maximum amount of memory, in gigabytes. :param int min_in_gbs: The minimum amount of memory, in gigabytes. """ - pulumi.set(__self__, "max_in_gbs", max_in_gbs) - pulumi.set(__self__, "min_in_gbs", min_in_gbs) + GetImageShapesImageShapeCompatibilityMemoryConstraintResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + max_in_gbs=max_in_gbs, + min_in_gbs=min_in_gbs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max_in_gbs: int, + min_in_gbs: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max_in_gbs", max_in_gbs) + _setter("min_in_gbs", min_in_gbs) @property @pulumi.getter(name="maxInGbs") @@ -23059,8 +28353,19 @@ def __init__(__self__, *, :param int max: The maximum number of OCPUs supported for this image and shape. :param int min: The minimum number of OCPUs supported for this image and shape. """ - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "min", min) + GetImageShapesImageShapeCompatibilityOcpuConstraintResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: int, + min: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max", max) + _setter("min", min) @property @pulumi.getter @@ -23085,10 +28390,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetImagesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -23147,25 +28465,70 @@ def __init__(__self__, *, :param str state: A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. :param str time_created: The date and time the image was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` """ - pulumi.set(__self__, "agent_features", agent_features) - pulumi.set(__self__, "base_image_id", base_image_id) - pulumi.set(__self__, "billable_size_in_gbs", billable_size_in_gbs) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "create_image_allowed", create_image_allowed) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "image_source_details", image_source_details) - pulumi.set(__self__, "instance_id", instance_id) - pulumi.set(__self__, "launch_mode", launch_mode) - pulumi.set(__self__, "launch_options", launch_options) - pulumi.set(__self__, "listing_type", listing_type) - pulumi.set(__self__, "operating_system", operating_system) - pulumi.set(__self__, "operating_system_version", operating_system_version) - pulumi.set(__self__, "size_in_mbs", size_in_mbs) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) + GetImagesImageResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + agent_features=agent_features, + base_image_id=base_image_id, + billable_size_in_gbs=billable_size_in_gbs, + compartment_id=compartment_id, + create_image_allowed=create_image_allowed, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + image_source_details=image_source_details, + instance_id=instance_id, + launch_mode=launch_mode, + launch_options=launch_options, + listing_type=listing_type, + operating_system=operating_system, + operating_system_version=operating_system_version, + size_in_mbs=size_in_mbs, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agent_features: Sequence['outputs.GetImagesImageAgentFeatureResult'], + base_image_id: str, + billable_size_in_gbs: str, + compartment_id: str, + create_image_allowed: bool, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + image_source_details: Sequence['outputs.GetImagesImageImageSourceDetailResult'], + instance_id: str, + launch_mode: str, + launch_options: Sequence['outputs.GetImagesImageLaunchOptionResult'], + listing_type: str, + operating_system: str, + operating_system_version: str, + size_in_mbs: str, + state: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("agent_features", agent_features) + _setter("base_image_id", base_image_id) + _setter("billable_size_in_gbs", billable_size_in_gbs) + _setter("compartment_id", compartment_id) + _setter("create_image_allowed", create_image_allowed) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("image_source_details", image_source_details) + _setter("instance_id", instance_id) + _setter("launch_mode", launch_mode) + _setter("launch_options", launch_options) + _setter("listing_type", listing_type) + _setter("operating_system", operating_system) + _setter("operating_system_version", operating_system_version) + _setter("size_in_mbs", size_in_mbs) + _setter("state", state) + _setter("time_created", time_created) @property @pulumi.getter(name="agentFeatures") @@ -23323,8 +28686,19 @@ def __init__(__self__, *, :param bool is_management_supported: This attribute is not used. :param bool is_monitoring_supported: This attribute is not used. """ - pulumi.set(__self__, "is_management_supported", is_management_supported) - pulumi.set(__self__, "is_monitoring_supported", is_monitoring_supported) + GetImagesImageAgentFeatureResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_management_supported=is_management_supported, + is_monitoring_supported=is_monitoring_supported, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_management_supported: bool, + is_monitoring_supported: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_management_supported", is_management_supported) + _setter("is_monitoring_supported", is_monitoring_supported) @property @pulumi.getter(name="isManagementSupported") @@ -23358,14 +28732,37 @@ def __init__(__self__, *, :param str operating_system: The image's operating system. Example: `Oracle Linux` :param str operating_system_version: The image's operating system version. Example: `7.2` """ - pulumi.set(__self__, "bucket_name", bucket_name) - pulumi.set(__self__, "namespace_name", namespace_name) - pulumi.set(__self__, "object_name", object_name) - pulumi.set(__self__, "operating_system", operating_system) - pulumi.set(__self__, "operating_system_version", operating_system_version) - pulumi.set(__self__, "source_image_type", source_image_type) - pulumi.set(__self__, "source_type", source_type) - pulumi.set(__self__, "source_uri", source_uri) + GetImagesImageImageSourceDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket_name=bucket_name, + namespace_name=namespace_name, + object_name=object_name, + operating_system=operating_system, + operating_system_version=operating_system_version, + source_image_type=source_image_type, + source_type=source_type, + source_uri=source_uri, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket_name: str, + namespace_name: str, + object_name: str, + operating_system: str, + operating_system_version: str, + source_image_type: str, + source_type: str, + source_uri: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket_name", bucket_name) + _setter("namespace_name", namespace_name) + _setter("object_name", object_name) + _setter("operating_system", operating_system) + _setter("operating_system_version", operating_system_version) + _setter("source_image_type", source_image_type) + _setter("source_type", source_type) + _setter("source_uri", source_uri) @property @pulumi.getter(name="bucketName") @@ -23431,12 +28828,31 @@ def __init__(__self__, *, :param str network_type: Emulation type for the physical network interface card (NIC). :param str remote_data_volume_type: Emulation type for volume. """ - pulumi.set(__self__, "boot_volume_type", boot_volume_type) - pulumi.set(__self__, "firmware", firmware) - pulumi.set(__self__, "is_consistent_volume_naming_enabled", is_consistent_volume_naming_enabled) - pulumi.set(__self__, "is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) - pulumi.set(__self__, "network_type", network_type) - pulumi.set(__self__, "remote_data_volume_type", remote_data_volume_type) + GetImagesImageLaunchOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + boot_volume_type=boot_volume_type, + firmware=firmware, + is_consistent_volume_naming_enabled=is_consistent_volume_naming_enabled, + is_pv_encryption_in_transit_enabled=is_pv_encryption_in_transit_enabled, + network_type=network_type, + remote_data_volume_type=remote_data_volume_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + boot_volume_type: str, + firmware: str, + is_consistent_volume_naming_enabled: bool, + is_pv_encryption_in_transit_enabled: bool, + network_type: str, + remote_data_volume_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("boot_volume_type", boot_volume_type) + _setter("firmware", firmware) + _setter("is_consistent_volume_naming_enabled", is_consistent_volume_naming_enabled) + _setter("is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) + _setter("network_type", network_type) + _setter("remote_data_volume_type", remote_data_volume_type) @property @pulumi.getter(name="bootVolumeType") @@ -23500,10 +28916,25 @@ def __init__(__self__, *, :param bool is_monitoring_disabled: Whether Oracle Cloud Agent can gather performance metrics and monitor the instance using the monitoring plugins. :param Sequence['GetInstanceAgentConfigPluginsConfigArgs'] plugins_configs: The configuration of plugins associated with this instance. """ - pulumi.set(__self__, "are_all_plugins_disabled", are_all_plugins_disabled) - pulumi.set(__self__, "is_management_disabled", is_management_disabled) - pulumi.set(__self__, "is_monitoring_disabled", is_monitoring_disabled) - pulumi.set(__self__, "plugins_configs", plugins_configs) + GetInstanceAgentConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + are_all_plugins_disabled=are_all_plugins_disabled, + is_management_disabled=is_management_disabled, + is_monitoring_disabled=is_monitoring_disabled, + plugins_configs=plugins_configs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + are_all_plugins_disabled: bool, + is_management_disabled: bool, + is_monitoring_disabled: bool, + plugins_configs: Sequence['outputs.GetInstanceAgentConfigPluginsConfigResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("are_all_plugins_disabled", are_all_plugins_disabled) + _setter("is_management_disabled", is_management_disabled) + _setter("is_monitoring_disabled", is_monitoring_disabled) + _setter("plugins_configs", plugins_configs) @property @pulumi.getter(name="areAllPluginsDisabled") @@ -23547,8 +28978,19 @@ def __init__(__self__, *, :param str desired_state: Whether the plugin should be enabled or disabled. :param str name: The plugin name. To get a list of available plugins, use the [ListInstanceagentAvailablePlugins](https://docs.cloud.oracle.com/iaas/api/#/en/instanceagent/20180530/Plugin/ListInstanceagentAvailablePlugins) operation in the Oracle Cloud Agent API. For more information about the available plugins, see [Managing Plugins with Oracle Cloud Agent](https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/manage-plugins.htm). """ - pulumi.set(__self__, "desired_state", desired_state) - pulumi.set(__self__, "name", name) + GetInstanceAgentConfigPluginsConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + desired_state=desired_state, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + desired_state: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("desired_state", desired_state) + _setter("name", name) @property @pulumi.getter(name="desiredState") @@ -23576,8 +29018,19 @@ def __init__(__self__, *, :param bool is_live_migration_preferred: Whether to live migrate supported VM instances to a healthy physical VM host without disrupting running instances during infrastructure maintenance events. If null, Oracle chooses the best option for migrating the VM during infrastructure maintenance events. :param str recovery_action: The lifecycle state for an instance when it is recovered after infrastructure maintenance. """ - pulumi.set(__self__, "is_live_migration_preferred", is_live_migration_preferred) - pulumi.set(__self__, "recovery_action", recovery_action) + GetInstanceAvailabilityConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_live_migration_preferred=is_live_migration_preferred, + recovery_action=recovery_action, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_live_migration_preferred: bool, + recovery_action: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_live_migration_preferred", is_live_migration_preferred) + _setter("recovery_action", recovery_action) @property @pulumi.getter(name="isLiveMigrationPreferred") @@ -23611,11 +29064,28 @@ def __init__(__self__, *, :param Sequence['GetInstanceConfigurationInstanceDetailOptionArgs'] options: Multiple Compute Instance Configuration instance details. :param Sequence['GetInstanceConfigurationInstanceDetailSecondaryVnicArgs'] secondary_vnics: Secondary VNIC parameters. """ - pulumi.set(__self__, "block_volumes", block_volumes) - pulumi.set(__self__, "instance_type", instance_type) - pulumi.set(__self__, "launch_details", launch_details) - pulumi.set(__self__, "options", options) - pulumi.set(__self__, "secondary_vnics", secondary_vnics) + GetInstanceConfigurationInstanceDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + block_volumes=block_volumes, + instance_type=instance_type, + launch_details=launch_details, + options=options, + secondary_vnics=secondary_vnics, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + block_volumes: Sequence['outputs.GetInstanceConfigurationInstanceDetailBlockVolumeResult'], + instance_type: str, + launch_details: Sequence['outputs.GetInstanceConfigurationInstanceDetailLaunchDetailResult'], + options: Sequence['outputs.GetInstanceConfigurationInstanceDetailOptionResult'], + secondary_vnics: Sequence['outputs.GetInstanceConfigurationInstanceDetailSecondaryVnicResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("block_volumes", block_volumes) + _setter("instance_type", instance_type) + _setter("launch_details", launch_details) + _setter("options", options) + _setter("secondary_vnics", secondary_vnics) @property @pulumi.getter(name="blockVolumes") @@ -23669,9 +29139,22 @@ def __init__(__self__, *, :param Sequence['GetInstanceConfigurationInstanceDetailBlockVolumeCreateDetailArgs'] create_details: Creates a new block volume. Please see [CreateVolumeDetails](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/CreateVolumeDetails/) :param str volume_id: The OCID of the volume. """ - pulumi.set(__self__, "attach_details", attach_details) - pulumi.set(__self__, "create_details", create_details) - pulumi.set(__self__, "volume_id", volume_id) + GetInstanceConfigurationInstanceDetailBlockVolumeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + attach_details=attach_details, + create_details=create_details, + volume_id=volume_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attach_details: Sequence['outputs.GetInstanceConfigurationInstanceDetailBlockVolumeAttachDetailResult'], + create_details: Sequence['outputs.GetInstanceConfigurationInstanceDetailBlockVolumeCreateDetailResult'], + volume_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("attach_details", attach_details) + _setter("create_details", create_details) + _setter("volume_id", volume_id) @property @pulumi.getter(name="attachDetails") @@ -23717,13 +29200,34 @@ def __init__(__self__, *, :param str type: The type of action to run when the instance is interrupted for eviction. :param bool use_chap: Whether to use CHAP authentication for the volume attachment. Defaults to false. """ - pulumi.set(__self__, "device", device) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) - pulumi.set(__self__, "is_read_only", is_read_only) - pulumi.set(__self__, "is_shareable", is_shareable) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "use_chap", use_chap) + GetInstanceConfigurationInstanceDetailBlockVolumeAttachDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + device=device, + display_name=display_name, + is_pv_encryption_in_transit_enabled=is_pv_encryption_in_transit_enabled, + is_read_only=is_read_only, + is_shareable=is_shareable, + type=type, + use_chap=use_chap, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + device: str, + display_name: str, + is_pv_encryption_in_transit_enabled: bool, + is_read_only: bool, + is_shareable: bool, + type: str, + use_chap: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("device", device) + _setter("display_name", display_name) + _setter("is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) + _setter("is_read_only", is_read_only) + _setter("is_shareable", is_shareable) + _setter("type", type) + _setter("use_chap", use_chap) @property @pulumi.getter @@ -23812,19 +29316,52 @@ def __init__(__self__, *, :param str size_in_gbs: The size of the volume in GBs. :param str vpus_per_gb: The number of volume performance units (VPUs) that will be applied to this volume per GB, representing the Block Volume service's elastic performance options. See [Block Volume Performance Levels](https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/blockvolumeperformance.htm#perf_levels) for more information. """ - pulumi.set(__self__, "autotune_policies", autotune_policies) - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "backup_policy_id", backup_policy_id) - pulumi.set(__self__, "block_volume_replicas", block_volume_replicas) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "is_auto_tune_enabled", is_auto_tune_enabled) - pulumi.set(__self__, "kms_key_id", kms_key_id) - pulumi.set(__self__, "size_in_gbs", size_in_gbs) - pulumi.set(__self__, "source_details", source_details) - pulumi.set(__self__, "vpus_per_gb", vpus_per_gb) + GetInstanceConfigurationInstanceDetailBlockVolumeCreateDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + autotune_policies=autotune_policies, + availability_domain=availability_domain, + backup_policy_id=backup_policy_id, + block_volume_replicas=block_volume_replicas, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + is_auto_tune_enabled=is_auto_tune_enabled, + kms_key_id=kms_key_id, + size_in_gbs=size_in_gbs, + source_details=source_details, + vpus_per_gb=vpus_per_gb, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + autotune_policies: Sequence['outputs.GetInstanceConfigurationInstanceDetailBlockVolumeCreateDetailAutotunePolicyResult'], + availability_domain: str, + backup_policy_id: str, + block_volume_replicas: Sequence['outputs.GetInstanceConfigurationInstanceDetailBlockVolumeCreateDetailBlockVolumeReplicaResult'], + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + is_auto_tune_enabled: bool, + kms_key_id: str, + size_in_gbs: str, + source_details: Sequence['outputs.GetInstanceConfigurationInstanceDetailBlockVolumeCreateDetailSourceDetailResult'], + vpus_per_gb: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("autotune_policies", autotune_policies) + _setter("availability_domain", availability_domain) + _setter("backup_policy_id", backup_policy_id) + _setter("block_volume_replicas", block_volume_replicas) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("is_auto_tune_enabled", is_auto_tune_enabled) + _setter("kms_key_id", kms_key_id) + _setter("size_in_gbs", size_in_gbs) + _setter("source_details", source_details) + _setter("vpus_per_gb", vpus_per_gb) @property @pulumi.getter(name="autotunePolicies") @@ -23937,8 +29474,19 @@ def __init__(__self__, *, :param str autotune_type: This specifies the type of autotunes supported by OCI. :param str max_vpus_per_gb: This will be the maximum VPUs/GB performance level that the volume will be auto-tuned temporarily based on performance monitoring. """ - pulumi.set(__self__, "autotune_type", autotune_type) - pulumi.set(__self__, "max_vpus_per_gb", max_vpus_per_gb) + GetInstanceConfigurationInstanceDetailBlockVolumeCreateDetailAutotunePolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + autotune_type=autotune_type, + max_vpus_per_gb=max_vpus_per_gb, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + autotune_type: str, + max_vpus_per_gb: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("autotune_type", autotune_type) + _setter("max_vpus_per_gb", max_vpus_per_gb) @property @pulumi.getter(name="autotuneType") @@ -23966,8 +29514,19 @@ def __init__(__self__, *, :param str availability_domain: The availability domain of the instance. Example: `Uocm:PHX-AD-1` :param str display_name: A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "display_name", display_name) + GetInstanceConfigurationInstanceDetailBlockVolumeCreateDetailBlockVolumeReplicaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + display_name=display_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + display_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("display_name", display_name) @property @pulumi.getter(name="availabilityDomain") @@ -23995,8 +29554,19 @@ def __init__(__self__, *, :param str id: The OCID of the volume backup. :param str type: The type of action to run when the instance is interrupted for eviction. """ - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "type", type) + GetInstanceConfigurationInstanceDetailBlockVolumeCreateDetailSourceDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) + _setter("type", type) @property @pulumi.getter @@ -24067,30 +29637,85 @@ def __init__(__self__, *, :param str shape: The shape of an instance. The shape determines the number of CPUs, amount of memory, and other resources allocated to the instance. :param Sequence['GetInstanceConfigurationInstanceDetailLaunchDetailShapeConfigArgs'] shape_configs: The shape configuration requested for the instance. """ - pulumi.set(__self__, "agent_configs", agent_configs) - pulumi.set(__self__, "availability_configs", availability_configs) - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "capacity_reservation_id", capacity_reservation_id) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "create_vnic_details", create_vnic_details) - pulumi.set(__self__, "dedicated_vm_host_id", dedicated_vm_host_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "extended_metadata", extended_metadata) - pulumi.set(__self__, "fault_domain", fault_domain) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "instance_options", instance_options) - pulumi.set(__self__, "ipxe_script", ipxe_script) - pulumi.set(__self__, "is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) - pulumi.set(__self__, "launch_mode", launch_mode) - pulumi.set(__self__, "launch_options", launch_options) - pulumi.set(__self__, "metadata", metadata) - pulumi.set(__self__, "platform_configs", platform_configs) - pulumi.set(__self__, "preemptible_instance_configs", preemptible_instance_configs) - pulumi.set(__self__, "preferred_maintenance_action", preferred_maintenance_action) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "shape_configs", shape_configs) - pulumi.set(__self__, "source_details", source_details) + GetInstanceConfigurationInstanceDetailLaunchDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + agent_configs=agent_configs, + availability_configs=availability_configs, + availability_domain=availability_domain, + capacity_reservation_id=capacity_reservation_id, + compartment_id=compartment_id, + create_vnic_details=create_vnic_details, + dedicated_vm_host_id=dedicated_vm_host_id, + defined_tags=defined_tags, + display_name=display_name, + extended_metadata=extended_metadata, + fault_domain=fault_domain, + freeform_tags=freeform_tags, + instance_options=instance_options, + ipxe_script=ipxe_script, + is_pv_encryption_in_transit_enabled=is_pv_encryption_in_transit_enabled, + launch_mode=launch_mode, + launch_options=launch_options, + metadata=metadata, + platform_configs=platform_configs, + preemptible_instance_configs=preemptible_instance_configs, + preferred_maintenance_action=preferred_maintenance_action, + shape=shape, + shape_configs=shape_configs, + source_details=source_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agent_configs: Sequence['outputs.GetInstanceConfigurationInstanceDetailLaunchDetailAgentConfigResult'], + availability_configs: Sequence['outputs.GetInstanceConfigurationInstanceDetailLaunchDetailAvailabilityConfigResult'], + availability_domain: str, + capacity_reservation_id: str, + compartment_id: str, + create_vnic_details: Sequence['outputs.GetInstanceConfigurationInstanceDetailLaunchDetailCreateVnicDetailResult'], + dedicated_vm_host_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + extended_metadata: Mapping[str, Any], + fault_domain: str, + freeform_tags: Mapping[str, Any], + instance_options: Sequence['outputs.GetInstanceConfigurationInstanceDetailLaunchDetailInstanceOptionResult'], + ipxe_script: str, + is_pv_encryption_in_transit_enabled: bool, + launch_mode: str, + launch_options: Sequence['outputs.GetInstanceConfigurationInstanceDetailLaunchDetailLaunchOptionResult'], + metadata: Mapping[str, Any], + platform_configs: Sequence['outputs.GetInstanceConfigurationInstanceDetailLaunchDetailPlatformConfigResult'], + preemptible_instance_configs: Sequence['outputs.GetInstanceConfigurationInstanceDetailLaunchDetailPreemptibleInstanceConfigResult'], + preferred_maintenance_action: str, + shape: str, + shape_configs: Sequence['outputs.GetInstanceConfigurationInstanceDetailLaunchDetailShapeConfigResult'], + source_details: Sequence['outputs.GetInstanceConfigurationInstanceDetailLaunchDetailSourceDetailResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("agent_configs", agent_configs) + _setter("availability_configs", availability_configs) + _setter("availability_domain", availability_domain) + _setter("capacity_reservation_id", capacity_reservation_id) + _setter("compartment_id", compartment_id) + _setter("create_vnic_details", create_vnic_details) + _setter("dedicated_vm_host_id", dedicated_vm_host_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("extended_metadata", extended_metadata) + _setter("fault_domain", fault_domain) + _setter("freeform_tags", freeform_tags) + _setter("instance_options", instance_options) + _setter("ipxe_script", ipxe_script) + _setter("is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) + _setter("launch_mode", launch_mode) + _setter("launch_options", launch_options) + _setter("metadata", metadata) + _setter("platform_configs", platform_configs) + _setter("preemptible_instance_configs", preemptible_instance_configs) + _setter("preferred_maintenance_action", preferred_maintenance_action) + _setter("shape", shape) + _setter("shape_configs", shape_configs) + _setter("source_details", source_details) @property @pulumi.getter(name="agentConfigs") @@ -24295,10 +29920,25 @@ def __init__(__self__, *, :param bool is_monitoring_disabled: Whether Oracle Cloud Agent can gather performance metrics and monitor the instance using the monitoring plugins. Default value is false (monitoring plugins are enabled). :param Sequence['GetInstanceConfigurationInstanceDetailLaunchDetailAgentConfigPluginsConfigArgs'] plugins_configs: The configuration of plugins associated with this instance. """ - pulumi.set(__self__, "are_all_plugins_disabled", are_all_plugins_disabled) - pulumi.set(__self__, "is_management_disabled", is_management_disabled) - pulumi.set(__self__, "is_monitoring_disabled", is_monitoring_disabled) - pulumi.set(__self__, "plugins_configs", plugins_configs) + GetInstanceConfigurationInstanceDetailLaunchDetailAgentConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + are_all_plugins_disabled=are_all_plugins_disabled, + is_management_disabled=is_management_disabled, + is_monitoring_disabled=is_monitoring_disabled, + plugins_configs=plugins_configs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + are_all_plugins_disabled: bool, + is_management_disabled: bool, + is_monitoring_disabled: bool, + plugins_configs: Sequence['outputs.GetInstanceConfigurationInstanceDetailLaunchDetailAgentConfigPluginsConfigResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("are_all_plugins_disabled", are_all_plugins_disabled) + _setter("is_management_disabled", is_management_disabled) + _setter("is_monitoring_disabled", is_monitoring_disabled) + _setter("plugins_configs", plugins_configs) @property @pulumi.getter(name="areAllPluginsDisabled") @@ -24342,8 +29982,19 @@ def __init__(__self__, *, :param str desired_state: Whether the plugin should be enabled or disabled. :param str name: The plugin name. To get a list of available plugins, use the [ListInstanceagentAvailablePlugins](https://docs.cloud.oracle.com/iaas/api/#/en/instanceagent/20180530/Plugin/ListInstanceagentAvailablePlugins) operation in the Oracle Cloud Agent API. For more information about the available plugins, see [Managing Plugins with Oracle Cloud Agent](https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/manage-plugins.htm). """ - pulumi.set(__self__, "desired_state", desired_state) - pulumi.set(__self__, "name", name) + GetInstanceConfigurationInstanceDetailLaunchDetailAgentConfigPluginsConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + desired_state=desired_state, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + desired_state: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("desired_state", desired_state) + _setter("name", name) @property @pulumi.getter(name="desiredState") @@ -24371,8 +30022,19 @@ def __init__(__self__, *, :param bool is_live_migration_preferred: Whether to live migrate supported VM instances to a healthy physical VM host without disrupting running instances during infrastructure maintenance events. If null, Oracle chooses the best option for migrating the VM during infrastructure maintenance events. :param str recovery_action: The lifecycle state for an instance when it is recovered after infrastructure maintenance. """ - pulumi.set(__self__, "is_live_migration_preferred", is_live_migration_preferred) - pulumi.set(__self__, "recovery_action", recovery_action) + GetInstanceConfigurationInstanceDetailLaunchDetailAvailabilityConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_live_migration_preferred=is_live_migration_preferred, + recovery_action=recovery_action, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_live_migration_preferred: bool, + recovery_action: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_live_migration_preferred", is_live_migration_preferred) + _setter("recovery_action", recovery_action) @property @pulumi.getter(name="isLiveMigrationPreferred") @@ -24420,18 +30082,49 @@ def __init__(__self__, *, :param bool skip_source_dest_check: Whether the source/destination check is disabled on the VNIC. See the `skipSourceDestCheck` attribute of [CreateVnicDetails](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/CreateVnicDetails/) for more information. :param str subnet_id: The OCID of the subnet to create the VNIC in. See the `subnetId` attribute of [CreateVnicDetails](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/CreateVnicDetails/) for more information. """ - pulumi.set(__self__, "assign_ipv6ip", assign_ipv6ip) - pulumi.set(__self__, "assign_private_dns_record", assign_private_dns_record) - pulumi.set(__self__, "assign_public_ip", assign_public_ip) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "hostname_label", hostname_label) - pulumi.set(__self__, "ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) - pulumi.set(__self__, "nsg_ids", nsg_ids) - pulumi.set(__self__, "private_ip", private_ip) - pulumi.set(__self__, "skip_source_dest_check", skip_source_dest_check) - pulumi.set(__self__, "subnet_id", subnet_id) + GetInstanceConfigurationInstanceDetailLaunchDetailCreateVnicDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + assign_ipv6ip=assign_ipv6ip, + assign_private_dns_record=assign_private_dns_record, + assign_public_ip=assign_public_ip, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + hostname_label=hostname_label, + ipv6address_ipv6subnet_cidr_pair_details=ipv6address_ipv6subnet_cidr_pair_details, + nsg_ids=nsg_ids, + private_ip=private_ip, + skip_source_dest_check=skip_source_dest_check, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + assign_ipv6ip: bool, + assign_private_dns_record: bool, + assign_public_ip: bool, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + hostname_label: str, + ipv6address_ipv6subnet_cidr_pair_details: Sequence['outputs.GetInstanceConfigurationInstanceDetailLaunchDetailCreateVnicDetailIpv6addressIpv6subnetCidrPairDetailResult'], + nsg_ids: Sequence[str], + private_ip: str, + skip_source_dest_check: bool, + subnet_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("assign_ipv6ip", assign_ipv6ip) + _setter("assign_private_dns_record", assign_private_dns_record) + _setter("assign_public_ip", assign_public_ip) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("hostname_label", hostname_label) + _setter("ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) + _setter("nsg_ids", nsg_ids) + _setter("private_ip", private_ip) + _setter("skip_source_dest_check", skip_source_dest_check) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="assignIpv6ip") @@ -24539,8 +30232,19 @@ def __init__(__self__, *, :param str ipv6address: Optional. An available IPv6 address of your subnet from a valid IPv6 prefix on the subnet (otherwise the IP address is automatically assigned). :param str ipv6subnet_cidr: Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation. """ - pulumi.set(__self__, "ipv6address", ipv6address) - pulumi.set(__self__, "ipv6subnet_cidr", ipv6subnet_cidr) + GetInstanceConfigurationInstanceDetailLaunchDetailCreateVnicDetailIpv6addressIpv6subnetCidrPairDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ipv6address=ipv6address, + ipv6subnet_cidr=ipv6subnet_cidr, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ipv6address: str, + ipv6subnet_cidr: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ipv6address", ipv6address) + _setter("ipv6subnet_cidr", ipv6subnet_cidr) @property @pulumi.getter @@ -24566,7 +30270,16 @@ def __init__(__self__, *, """ :param bool are_legacy_imds_endpoints_disabled: Whether to disable the legacy (/v1) instance metadata service endpoints. Customers who have migrated to /v2 should set this to true for added security. Default is false. """ - pulumi.set(__self__, "are_legacy_imds_endpoints_disabled", are_legacy_imds_endpoints_disabled) + GetInstanceConfigurationInstanceDetailLaunchDetailInstanceOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + are_legacy_imds_endpoints_disabled=are_legacy_imds_endpoints_disabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + are_legacy_imds_endpoints_disabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("are_legacy_imds_endpoints_disabled", are_legacy_imds_endpoints_disabled) @property @pulumi.getter(name="areLegacyImdsEndpointsDisabled") @@ -24594,12 +30307,31 @@ def __init__(__self__, *, :param str network_type: Emulation type for the physical network interface card (NIC). :param str remote_data_volume_type: Emulation type for volume. """ - pulumi.set(__self__, "boot_volume_type", boot_volume_type) - pulumi.set(__self__, "firmware", firmware) - pulumi.set(__self__, "is_consistent_volume_naming_enabled", is_consistent_volume_naming_enabled) - pulumi.set(__self__, "is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) - pulumi.set(__self__, "network_type", network_type) - pulumi.set(__self__, "remote_data_volume_type", remote_data_volume_type) + GetInstanceConfigurationInstanceDetailLaunchDetailLaunchOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + boot_volume_type=boot_volume_type, + firmware=firmware, + is_consistent_volume_naming_enabled=is_consistent_volume_naming_enabled, + is_pv_encryption_in_transit_enabled=is_pv_encryption_in_transit_enabled, + network_type=network_type, + remote_data_volume_type=remote_data_volume_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + boot_volume_type: str, + firmware: str, + is_consistent_volume_naming_enabled: bool, + is_pv_encryption_in_transit_enabled: bool, + network_type: str, + remote_data_volume_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("boot_volume_type", boot_volume_type) + _setter("firmware", firmware) + _setter("is_consistent_volume_naming_enabled", is_consistent_volume_naming_enabled) + _setter("is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) + _setter("network_type", network_type) + _setter("remote_data_volume_type", remote_data_volume_type) @property @pulumi.getter(name="bootVolumeType") @@ -24679,18 +30411,49 @@ def __init__(__self__, *, :param int percentage_of_cores_enabled: The percentage of cores enabled. Value must be a multiple of 25%. If the requested percentage results in a fractional number of cores, the system rounds up the number of cores across processors and provisions an instance with a whole number of cores. :param str type: The type of action to run when the instance is interrupted for eviction. """ - pulumi.set(__self__, "are_virtual_instructions_enabled", are_virtual_instructions_enabled) - pulumi.set(__self__, "config_map", config_map) - pulumi.set(__self__, "is_access_control_service_enabled", is_access_control_service_enabled) - pulumi.set(__self__, "is_input_output_memory_management_unit_enabled", is_input_output_memory_management_unit_enabled) - pulumi.set(__self__, "is_measured_boot_enabled", is_measured_boot_enabled) - pulumi.set(__self__, "is_memory_encryption_enabled", is_memory_encryption_enabled) - pulumi.set(__self__, "is_secure_boot_enabled", is_secure_boot_enabled) - pulumi.set(__self__, "is_symmetric_multi_threading_enabled", is_symmetric_multi_threading_enabled) - pulumi.set(__self__, "is_trusted_platform_module_enabled", is_trusted_platform_module_enabled) - pulumi.set(__self__, "numa_nodes_per_socket", numa_nodes_per_socket) - pulumi.set(__self__, "percentage_of_cores_enabled", percentage_of_cores_enabled) - pulumi.set(__self__, "type", type) + GetInstanceConfigurationInstanceDetailLaunchDetailPlatformConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + are_virtual_instructions_enabled=are_virtual_instructions_enabled, + config_map=config_map, + is_access_control_service_enabled=is_access_control_service_enabled, + is_input_output_memory_management_unit_enabled=is_input_output_memory_management_unit_enabled, + is_measured_boot_enabled=is_measured_boot_enabled, + is_memory_encryption_enabled=is_memory_encryption_enabled, + is_secure_boot_enabled=is_secure_boot_enabled, + is_symmetric_multi_threading_enabled=is_symmetric_multi_threading_enabled, + is_trusted_platform_module_enabled=is_trusted_platform_module_enabled, + numa_nodes_per_socket=numa_nodes_per_socket, + percentage_of_cores_enabled=percentage_of_cores_enabled, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + are_virtual_instructions_enabled: bool, + config_map: Mapping[str, Any], + is_access_control_service_enabled: bool, + is_input_output_memory_management_unit_enabled: bool, + is_measured_boot_enabled: bool, + is_memory_encryption_enabled: bool, + is_secure_boot_enabled: bool, + is_symmetric_multi_threading_enabled: bool, + is_trusted_platform_module_enabled: bool, + numa_nodes_per_socket: str, + percentage_of_cores_enabled: int, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("are_virtual_instructions_enabled", are_virtual_instructions_enabled) + _setter("config_map", config_map) + _setter("is_access_control_service_enabled", is_access_control_service_enabled) + _setter("is_input_output_memory_management_unit_enabled", is_input_output_memory_management_unit_enabled) + _setter("is_measured_boot_enabled", is_measured_boot_enabled) + _setter("is_memory_encryption_enabled", is_memory_encryption_enabled) + _setter("is_secure_boot_enabled", is_secure_boot_enabled) + _setter("is_symmetric_multi_threading_enabled", is_symmetric_multi_threading_enabled) + _setter("is_trusted_platform_module_enabled", is_trusted_platform_module_enabled) + _setter("numa_nodes_per_socket", numa_nodes_per_socket) + _setter("percentage_of_cores_enabled", percentage_of_cores_enabled) + _setter("type", type) @property @pulumi.getter(name="areVirtualInstructionsEnabled") @@ -24796,7 +30559,16 @@ def __init__(__self__, *, """ :param Sequence['GetInstanceConfigurationInstanceDetailLaunchDetailPreemptibleInstanceConfigPreemptionActionArgs'] preemption_actions: The action to run when the preemptible instance is interrupted for eviction. """ - pulumi.set(__self__, "preemption_actions", preemption_actions) + GetInstanceConfigurationInstanceDetailLaunchDetailPreemptibleInstanceConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + preemption_actions=preemption_actions, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + preemption_actions: Sequence['outputs.GetInstanceConfigurationInstanceDetailLaunchDetailPreemptibleInstanceConfigPreemptionActionResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("preemption_actions", preemption_actions) @property @pulumi.getter(name="preemptionActions") @@ -24816,8 +30588,19 @@ def __init__(__self__, *, :param bool preserve_boot_volume: Whether to preserve the boot volume that was used to launch the preemptible instance when the instance is terminated. Defaults to false if not specified. :param str type: The type of action to run when the instance is interrupted for eviction. """ - pulumi.set(__self__, "preserve_boot_volume", preserve_boot_volume) - pulumi.set(__self__, "type", type) + GetInstanceConfigurationInstanceDetailLaunchDetailPreemptibleInstanceConfigPreemptionActionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + preserve_boot_volume=preserve_boot_volume, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + preserve_boot_volume: bool, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("preserve_boot_volume", preserve_boot_volume) + _setter("type", type) @property @pulumi.getter(name="preserveBootVolume") @@ -24851,11 +30634,28 @@ def __init__(__self__, *, :param float ocpus: The total number of OCPUs available to the instance. :param int vcpus: The total number of VCPUs available to the instance. This can be used instead of OCPUs, in which case the actual number of OCPUs will be calculated based on this value and the actual hardware. This must be a multiple of 2. """ - pulumi.set(__self__, "baseline_ocpu_utilization", baseline_ocpu_utilization) - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "nvmes", nvmes) - pulumi.set(__self__, "ocpus", ocpus) - pulumi.set(__self__, "vcpus", vcpus) + GetInstanceConfigurationInstanceDetailLaunchDetailShapeConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + baseline_ocpu_utilization=baseline_ocpu_utilization, + memory_in_gbs=memory_in_gbs, + nvmes=nvmes, + ocpus=ocpus, + vcpus=vcpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + baseline_ocpu_utilization: str, + memory_in_gbs: float, + nvmes: int, + ocpus: float, + vcpus: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("baseline_ocpu_utilization", baseline_ocpu_utilization) + _setter("memory_in_gbs", memory_in_gbs) + _setter("nvmes", nvmes) + _setter("ocpus", ocpus) + _setter("vcpus", vcpus) @property @pulumi.getter(name="baselineOcpuUtilization") @@ -24917,13 +30717,34 @@ def __init__(__self__, *, :param str kms_key_id: The OCID of the Vault service key to assign as the master encryption key for the volume. :param str source_type: The source type for the instance. Use `image` when specifying the image OCID. Use `bootVolume` when specifying the boot volume OCID. """ - pulumi.set(__self__, "boot_volume_id", boot_volume_id) - pulumi.set(__self__, "boot_volume_size_in_gbs", boot_volume_size_in_gbs) - pulumi.set(__self__, "boot_volume_vpus_per_gb", boot_volume_vpus_per_gb) - pulumi.set(__self__, "image_id", image_id) - pulumi.set(__self__, "instance_source_image_filter_details", instance_source_image_filter_details) - pulumi.set(__self__, "kms_key_id", kms_key_id) - pulumi.set(__self__, "source_type", source_type) + GetInstanceConfigurationInstanceDetailLaunchDetailSourceDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + boot_volume_id=boot_volume_id, + boot_volume_size_in_gbs=boot_volume_size_in_gbs, + boot_volume_vpus_per_gb=boot_volume_vpus_per_gb, + image_id=image_id, + instance_source_image_filter_details=instance_source_image_filter_details, + kms_key_id=kms_key_id, + source_type=source_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + boot_volume_id: str, + boot_volume_size_in_gbs: str, + boot_volume_vpus_per_gb: str, + image_id: str, + instance_source_image_filter_details: Sequence['outputs.GetInstanceConfigurationInstanceDetailLaunchDetailSourceDetailInstanceSourceImageFilterDetailResult'], + kms_key_id: str, + source_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("boot_volume_id", boot_volume_id) + _setter("boot_volume_size_in_gbs", boot_volume_size_in_gbs) + _setter("boot_volume_vpus_per_gb", boot_volume_vpus_per_gb) + _setter("image_id", image_id) + _setter("instance_source_image_filter_details", instance_source_image_filter_details) + _setter("kms_key_id", kms_key_id) + _setter("source_type", source_type) @property @pulumi.getter(name="bootVolumeId") @@ -24995,10 +30816,25 @@ def __init__(__self__, *, :param str operating_system: The image's operating system. Example: `Oracle Linux` :param str operating_system_version: The image's operating system version. Example: `7.2` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags_filter", defined_tags_filter) - pulumi.set(__self__, "operating_system", operating_system) - pulumi.set(__self__, "operating_system_version", operating_system_version) + GetInstanceConfigurationInstanceDetailLaunchDetailSourceDetailInstanceSourceImageFilterDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags_filter=defined_tags_filter, + operating_system=operating_system, + operating_system_version=operating_system_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags_filter: Mapping[str, Any], + operating_system: str, + operating_system_version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags_filter", defined_tags_filter) + _setter("operating_system", operating_system) + _setter("operating_system_version", operating_system_version) @property @pulumi.getter(name="compartmentId") @@ -25044,9 +30880,22 @@ def __init__(__self__, *, :param Sequence['GetInstanceConfigurationInstanceDetailOptionLaunchDetailArgs'] launch_details: Instance launch details for creating an instance from an instance configuration. Use the `sourceDetails` parameter to specify whether a boot volume or an image should be used to launch a new instance. :param Sequence['GetInstanceConfigurationInstanceDetailOptionSecondaryVnicArgs'] secondary_vnics: Secondary VNIC parameters. """ - pulumi.set(__self__, "block_volumes", block_volumes) - pulumi.set(__self__, "launch_details", launch_details) - pulumi.set(__self__, "secondary_vnics", secondary_vnics) + GetInstanceConfigurationInstanceDetailOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + block_volumes=block_volumes, + launch_details=launch_details, + secondary_vnics=secondary_vnics, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + block_volumes: Sequence['outputs.GetInstanceConfigurationInstanceDetailOptionBlockVolumeResult'], + launch_details: Sequence['outputs.GetInstanceConfigurationInstanceDetailOptionLaunchDetailResult'], + secondary_vnics: Sequence['outputs.GetInstanceConfigurationInstanceDetailOptionSecondaryVnicResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("block_volumes", block_volumes) + _setter("launch_details", launch_details) + _setter("secondary_vnics", secondary_vnics) @property @pulumi.getter(name="blockVolumes") @@ -25084,9 +30933,22 @@ def __init__(__self__, *, :param Sequence['GetInstanceConfigurationInstanceDetailOptionBlockVolumeCreateDetailArgs'] create_details: Creates a new block volume. Please see [CreateVolumeDetails](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/CreateVolumeDetails/) :param str volume_id: The OCID of the volume. """ - pulumi.set(__self__, "attach_details", attach_details) - pulumi.set(__self__, "create_details", create_details) - pulumi.set(__self__, "volume_id", volume_id) + GetInstanceConfigurationInstanceDetailOptionBlockVolumeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + attach_details=attach_details, + create_details=create_details, + volume_id=volume_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attach_details: Sequence['outputs.GetInstanceConfigurationInstanceDetailOptionBlockVolumeAttachDetailResult'], + create_details: Sequence['outputs.GetInstanceConfigurationInstanceDetailOptionBlockVolumeCreateDetailResult'], + volume_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("attach_details", attach_details) + _setter("create_details", create_details) + _setter("volume_id", volume_id) @property @pulumi.getter(name="attachDetails") @@ -25132,13 +30994,34 @@ def __init__(__self__, *, :param str type: The type of action to run when the instance is interrupted for eviction. :param bool use_chap: Whether to use CHAP authentication for the volume attachment. Defaults to false. """ - pulumi.set(__self__, "device", device) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) - pulumi.set(__self__, "is_read_only", is_read_only) - pulumi.set(__self__, "is_shareable", is_shareable) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "use_chap", use_chap) + GetInstanceConfigurationInstanceDetailOptionBlockVolumeAttachDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + device=device, + display_name=display_name, + is_pv_encryption_in_transit_enabled=is_pv_encryption_in_transit_enabled, + is_read_only=is_read_only, + is_shareable=is_shareable, + type=type, + use_chap=use_chap, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + device: str, + display_name: str, + is_pv_encryption_in_transit_enabled: bool, + is_read_only: bool, + is_shareable: bool, + type: str, + use_chap: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("device", device) + _setter("display_name", display_name) + _setter("is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) + _setter("is_read_only", is_read_only) + _setter("is_shareable", is_shareable) + _setter("type", type) + _setter("use_chap", use_chap) @property @pulumi.getter @@ -25227,19 +31110,52 @@ def __init__(__self__, *, :param str size_in_gbs: The size of the volume in GBs. :param str vpus_per_gb: The number of volume performance units (VPUs) that will be applied to this volume per GB, representing the Block Volume service's elastic performance options. See [Block Volume Performance Levels](https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/blockvolumeperformance.htm#perf_levels) for more information. """ - pulumi.set(__self__, "autotune_policies", autotune_policies) - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "backup_policy_id", backup_policy_id) - pulumi.set(__self__, "block_volume_replicas", block_volume_replicas) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "is_auto_tune_enabled", is_auto_tune_enabled) - pulumi.set(__self__, "kms_key_id", kms_key_id) - pulumi.set(__self__, "size_in_gbs", size_in_gbs) - pulumi.set(__self__, "source_details", source_details) - pulumi.set(__self__, "vpus_per_gb", vpus_per_gb) + GetInstanceConfigurationInstanceDetailOptionBlockVolumeCreateDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + autotune_policies=autotune_policies, + availability_domain=availability_domain, + backup_policy_id=backup_policy_id, + block_volume_replicas=block_volume_replicas, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + is_auto_tune_enabled=is_auto_tune_enabled, + kms_key_id=kms_key_id, + size_in_gbs=size_in_gbs, + source_details=source_details, + vpus_per_gb=vpus_per_gb, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + autotune_policies: Sequence['outputs.GetInstanceConfigurationInstanceDetailOptionBlockVolumeCreateDetailAutotunePolicyResult'], + availability_domain: str, + backup_policy_id: str, + block_volume_replicas: Sequence['outputs.GetInstanceConfigurationInstanceDetailOptionBlockVolumeCreateDetailBlockVolumeReplicaResult'], + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + is_auto_tune_enabled: bool, + kms_key_id: str, + size_in_gbs: str, + source_details: Sequence['outputs.GetInstanceConfigurationInstanceDetailOptionBlockVolumeCreateDetailSourceDetailResult'], + vpus_per_gb: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("autotune_policies", autotune_policies) + _setter("availability_domain", availability_domain) + _setter("backup_policy_id", backup_policy_id) + _setter("block_volume_replicas", block_volume_replicas) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("is_auto_tune_enabled", is_auto_tune_enabled) + _setter("kms_key_id", kms_key_id) + _setter("size_in_gbs", size_in_gbs) + _setter("source_details", source_details) + _setter("vpus_per_gb", vpus_per_gb) @property @pulumi.getter(name="autotunePolicies") @@ -25352,8 +31268,19 @@ def __init__(__self__, *, :param str autotune_type: This specifies the type of autotunes supported by OCI. :param str max_vpus_per_gb: This will be the maximum VPUs/GB performance level that the volume will be auto-tuned temporarily based on performance monitoring. """ - pulumi.set(__self__, "autotune_type", autotune_type) - pulumi.set(__self__, "max_vpus_per_gb", max_vpus_per_gb) + GetInstanceConfigurationInstanceDetailOptionBlockVolumeCreateDetailAutotunePolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + autotune_type=autotune_type, + max_vpus_per_gb=max_vpus_per_gb, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + autotune_type: str, + max_vpus_per_gb: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("autotune_type", autotune_type) + _setter("max_vpus_per_gb", max_vpus_per_gb) @property @pulumi.getter(name="autotuneType") @@ -25381,8 +31308,19 @@ def __init__(__self__, *, :param str availability_domain: The availability domain of the instance. Example: `Uocm:PHX-AD-1` :param str display_name: A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "display_name", display_name) + GetInstanceConfigurationInstanceDetailOptionBlockVolumeCreateDetailBlockVolumeReplicaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + display_name=display_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + display_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("display_name", display_name) @property @pulumi.getter(name="availabilityDomain") @@ -25410,8 +31348,19 @@ def __init__(__self__, *, :param str id: The OCID of the volume backup. :param str type: The type of action to run when the instance is interrupted for eviction. """ - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "type", type) + GetInstanceConfigurationInstanceDetailOptionBlockVolumeCreateDetailSourceDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) + _setter("type", type) @property @pulumi.getter @@ -25482,30 +31431,85 @@ def __init__(__self__, *, :param str shape: The shape of an instance. The shape determines the number of CPUs, amount of memory, and other resources allocated to the instance. :param Sequence['GetInstanceConfigurationInstanceDetailOptionLaunchDetailShapeConfigArgs'] shape_configs: The shape configuration requested for the instance. """ - pulumi.set(__self__, "agent_configs", agent_configs) - pulumi.set(__self__, "availability_configs", availability_configs) - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "capacity_reservation_id", capacity_reservation_id) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "create_vnic_details", create_vnic_details) - pulumi.set(__self__, "dedicated_vm_host_id", dedicated_vm_host_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "extended_metadata", extended_metadata) - pulumi.set(__self__, "fault_domain", fault_domain) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "instance_options", instance_options) - pulumi.set(__self__, "ipxe_script", ipxe_script) - pulumi.set(__self__, "is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) - pulumi.set(__self__, "launch_mode", launch_mode) - pulumi.set(__self__, "launch_options", launch_options) - pulumi.set(__self__, "metadata", metadata) - pulumi.set(__self__, "platform_configs", platform_configs) - pulumi.set(__self__, "preemptible_instance_configs", preemptible_instance_configs) - pulumi.set(__self__, "preferred_maintenance_action", preferred_maintenance_action) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "shape_configs", shape_configs) - pulumi.set(__self__, "source_details", source_details) + GetInstanceConfigurationInstanceDetailOptionLaunchDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + agent_configs=agent_configs, + availability_configs=availability_configs, + availability_domain=availability_domain, + capacity_reservation_id=capacity_reservation_id, + compartment_id=compartment_id, + create_vnic_details=create_vnic_details, + dedicated_vm_host_id=dedicated_vm_host_id, + defined_tags=defined_tags, + display_name=display_name, + extended_metadata=extended_metadata, + fault_domain=fault_domain, + freeform_tags=freeform_tags, + instance_options=instance_options, + ipxe_script=ipxe_script, + is_pv_encryption_in_transit_enabled=is_pv_encryption_in_transit_enabled, + launch_mode=launch_mode, + launch_options=launch_options, + metadata=metadata, + platform_configs=platform_configs, + preemptible_instance_configs=preemptible_instance_configs, + preferred_maintenance_action=preferred_maintenance_action, + shape=shape, + shape_configs=shape_configs, + source_details=source_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agent_configs: Sequence['outputs.GetInstanceConfigurationInstanceDetailOptionLaunchDetailAgentConfigResult'], + availability_configs: Sequence['outputs.GetInstanceConfigurationInstanceDetailOptionLaunchDetailAvailabilityConfigResult'], + availability_domain: str, + capacity_reservation_id: str, + compartment_id: str, + create_vnic_details: Sequence['outputs.GetInstanceConfigurationInstanceDetailOptionLaunchDetailCreateVnicDetailResult'], + dedicated_vm_host_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + extended_metadata: Mapping[str, Any], + fault_domain: str, + freeform_tags: Mapping[str, Any], + instance_options: Sequence['outputs.GetInstanceConfigurationInstanceDetailOptionLaunchDetailInstanceOptionResult'], + ipxe_script: str, + is_pv_encryption_in_transit_enabled: bool, + launch_mode: str, + launch_options: Sequence['outputs.GetInstanceConfigurationInstanceDetailOptionLaunchDetailLaunchOptionResult'], + metadata: Mapping[str, Any], + platform_configs: Sequence['outputs.GetInstanceConfigurationInstanceDetailOptionLaunchDetailPlatformConfigResult'], + preemptible_instance_configs: Sequence['outputs.GetInstanceConfigurationInstanceDetailOptionLaunchDetailPreemptibleInstanceConfigResult'], + preferred_maintenance_action: str, + shape: str, + shape_configs: Sequence['outputs.GetInstanceConfigurationInstanceDetailOptionLaunchDetailShapeConfigResult'], + source_details: Sequence['outputs.GetInstanceConfigurationInstanceDetailOptionLaunchDetailSourceDetailResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("agent_configs", agent_configs) + _setter("availability_configs", availability_configs) + _setter("availability_domain", availability_domain) + _setter("capacity_reservation_id", capacity_reservation_id) + _setter("compartment_id", compartment_id) + _setter("create_vnic_details", create_vnic_details) + _setter("dedicated_vm_host_id", dedicated_vm_host_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("extended_metadata", extended_metadata) + _setter("fault_domain", fault_domain) + _setter("freeform_tags", freeform_tags) + _setter("instance_options", instance_options) + _setter("ipxe_script", ipxe_script) + _setter("is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) + _setter("launch_mode", launch_mode) + _setter("launch_options", launch_options) + _setter("metadata", metadata) + _setter("platform_configs", platform_configs) + _setter("preemptible_instance_configs", preemptible_instance_configs) + _setter("preferred_maintenance_action", preferred_maintenance_action) + _setter("shape", shape) + _setter("shape_configs", shape_configs) + _setter("source_details", source_details) @property @pulumi.getter(name="agentConfigs") @@ -25710,10 +31714,25 @@ def __init__(__self__, *, :param bool is_monitoring_disabled: Whether Oracle Cloud Agent can gather performance metrics and monitor the instance using the monitoring plugins. Default value is false (monitoring plugins are enabled). :param Sequence['GetInstanceConfigurationInstanceDetailOptionLaunchDetailAgentConfigPluginsConfigArgs'] plugins_configs: The configuration of plugins associated with this instance. """ - pulumi.set(__self__, "are_all_plugins_disabled", are_all_plugins_disabled) - pulumi.set(__self__, "is_management_disabled", is_management_disabled) - pulumi.set(__self__, "is_monitoring_disabled", is_monitoring_disabled) - pulumi.set(__self__, "plugins_configs", plugins_configs) + GetInstanceConfigurationInstanceDetailOptionLaunchDetailAgentConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + are_all_plugins_disabled=are_all_plugins_disabled, + is_management_disabled=is_management_disabled, + is_monitoring_disabled=is_monitoring_disabled, + plugins_configs=plugins_configs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + are_all_plugins_disabled: bool, + is_management_disabled: bool, + is_monitoring_disabled: bool, + plugins_configs: Sequence['outputs.GetInstanceConfigurationInstanceDetailOptionLaunchDetailAgentConfigPluginsConfigResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("are_all_plugins_disabled", are_all_plugins_disabled) + _setter("is_management_disabled", is_management_disabled) + _setter("is_monitoring_disabled", is_monitoring_disabled) + _setter("plugins_configs", plugins_configs) @property @pulumi.getter(name="areAllPluginsDisabled") @@ -25757,8 +31776,19 @@ def __init__(__self__, *, :param str desired_state: Whether the plugin should be enabled or disabled. :param str name: The plugin name. To get a list of available plugins, use the [ListInstanceagentAvailablePlugins](https://docs.cloud.oracle.com/iaas/api/#/en/instanceagent/20180530/Plugin/ListInstanceagentAvailablePlugins) operation in the Oracle Cloud Agent API. For more information about the available plugins, see [Managing Plugins with Oracle Cloud Agent](https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/manage-plugins.htm). """ - pulumi.set(__self__, "desired_state", desired_state) - pulumi.set(__self__, "name", name) + GetInstanceConfigurationInstanceDetailOptionLaunchDetailAgentConfigPluginsConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + desired_state=desired_state, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + desired_state: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("desired_state", desired_state) + _setter("name", name) @property @pulumi.getter(name="desiredState") @@ -25786,8 +31816,19 @@ def __init__(__self__, *, :param bool is_live_migration_preferred: Whether to live migrate supported VM instances to a healthy physical VM host without disrupting running instances during infrastructure maintenance events. If null, Oracle chooses the best option for migrating the VM during infrastructure maintenance events. :param str recovery_action: The lifecycle state for an instance when it is recovered after infrastructure maintenance. """ - pulumi.set(__self__, "is_live_migration_preferred", is_live_migration_preferred) - pulumi.set(__self__, "recovery_action", recovery_action) + GetInstanceConfigurationInstanceDetailOptionLaunchDetailAvailabilityConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_live_migration_preferred=is_live_migration_preferred, + recovery_action=recovery_action, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_live_migration_preferred: bool, + recovery_action: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_live_migration_preferred", is_live_migration_preferred) + _setter("recovery_action", recovery_action) @property @pulumi.getter(name="isLiveMigrationPreferred") @@ -25835,18 +31876,49 @@ def __init__(__self__, *, :param bool skip_source_dest_check: Whether the source/destination check is disabled on the VNIC. See the `skipSourceDestCheck` attribute of [CreateVnicDetails](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/CreateVnicDetails/) for more information. :param str subnet_id: The OCID of the subnet to create the VNIC in. See the `subnetId` attribute of [CreateVnicDetails](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/CreateVnicDetails/) for more information. """ - pulumi.set(__self__, "assign_ipv6ip", assign_ipv6ip) - pulumi.set(__self__, "assign_private_dns_record", assign_private_dns_record) - pulumi.set(__self__, "assign_public_ip", assign_public_ip) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "hostname_label", hostname_label) - pulumi.set(__self__, "ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) - pulumi.set(__self__, "nsg_ids", nsg_ids) - pulumi.set(__self__, "private_ip", private_ip) - pulumi.set(__self__, "skip_source_dest_check", skip_source_dest_check) - pulumi.set(__self__, "subnet_id", subnet_id) + GetInstanceConfigurationInstanceDetailOptionLaunchDetailCreateVnicDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + assign_ipv6ip=assign_ipv6ip, + assign_private_dns_record=assign_private_dns_record, + assign_public_ip=assign_public_ip, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + hostname_label=hostname_label, + ipv6address_ipv6subnet_cidr_pair_details=ipv6address_ipv6subnet_cidr_pair_details, + nsg_ids=nsg_ids, + private_ip=private_ip, + skip_source_dest_check=skip_source_dest_check, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + assign_ipv6ip: bool, + assign_private_dns_record: bool, + assign_public_ip: bool, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + hostname_label: str, + ipv6address_ipv6subnet_cidr_pair_details: Sequence['outputs.GetInstanceConfigurationInstanceDetailOptionLaunchDetailCreateVnicDetailIpv6addressIpv6subnetCidrPairDetailResult'], + nsg_ids: Sequence[str], + private_ip: str, + skip_source_dest_check: bool, + subnet_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("assign_ipv6ip", assign_ipv6ip) + _setter("assign_private_dns_record", assign_private_dns_record) + _setter("assign_public_ip", assign_public_ip) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("hostname_label", hostname_label) + _setter("ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) + _setter("nsg_ids", nsg_ids) + _setter("private_ip", private_ip) + _setter("skip_source_dest_check", skip_source_dest_check) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="assignIpv6ip") @@ -25954,8 +32026,19 @@ def __init__(__self__, *, :param str ipv6address: Optional. An available IPv6 address of your subnet from a valid IPv6 prefix on the subnet (otherwise the IP address is automatically assigned). :param str ipv6subnet_cidr: Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation. """ - pulumi.set(__self__, "ipv6address", ipv6address) - pulumi.set(__self__, "ipv6subnet_cidr", ipv6subnet_cidr) + GetInstanceConfigurationInstanceDetailOptionLaunchDetailCreateVnicDetailIpv6addressIpv6subnetCidrPairDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ipv6address=ipv6address, + ipv6subnet_cidr=ipv6subnet_cidr, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ipv6address: str, + ipv6subnet_cidr: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ipv6address", ipv6address) + _setter("ipv6subnet_cidr", ipv6subnet_cidr) @property @pulumi.getter @@ -25981,7 +32064,16 @@ def __init__(__self__, *, """ :param bool are_legacy_imds_endpoints_disabled: Whether to disable the legacy (/v1) instance metadata service endpoints. Customers who have migrated to /v2 should set this to true for added security. Default is false. """ - pulumi.set(__self__, "are_legacy_imds_endpoints_disabled", are_legacy_imds_endpoints_disabled) + GetInstanceConfigurationInstanceDetailOptionLaunchDetailInstanceOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + are_legacy_imds_endpoints_disabled=are_legacy_imds_endpoints_disabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + are_legacy_imds_endpoints_disabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("are_legacy_imds_endpoints_disabled", are_legacy_imds_endpoints_disabled) @property @pulumi.getter(name="areLegacyImdsEndpointsDisabled") @@ -26009,12 +32101,31 @@ def __init__(__self__, *, :param str network_type: Emulation type for the physical network interface card (NIC). :param str remote_data_volume_type: Emulation type for volume. """ - pulumi.set(__self__, "boot_volume_type", boot_volume_type) - pulumi.set(__self__, "firmware", firmware) - pulumi.set(__self__, "is_consistent_volume_naming_enabled", is_consistent_volume_naming_enabled) - pulumi.set(__self__, "is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) - pulumi.set(__self__, "network_type", network_type) - pulumi.set(__self__, "remote_data_volume_type", remote_data_volume_type) + GetInstanceConfigurationInstanceDetailOptionLaunchDetailLaunchOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + boot_volume_type=boot_volume_type, + firmware=firmware, + is_consistent_volume_naming_enabled=is_consistent_volume_naming_enabled, + is_pv_encryption_in_transit_enabled=is_pv_encryption_in_transit_enabled, + network_type=network_type, + remote_data_volume_type=remote_data_volume_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + boot_volume_type: str, + firmware: str, + is_consistent_volume_naming_enabled: bool, + is_pv_encryption_in_transit_enabled: bool, + network_type: str, + remote_data_volume_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("boot_volume_type", boot_volume_type) + _setter("firmware", firmware) + _setter("is_consistent_volume_naming_enabled", is_consistent_volume_naming_enabled) + _setter("is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) + _setter("network_type", network_type) + _setter("remote_data_volume_type", remote_data_volume_type) @property @pulumi.getter(name="bootVolumeType") @@ -26092,17 +32203,46 @@ def __init__(__self__, *, :param int percentage_of_cores_enabled: The percentage of cores enabled. Value must be a multiple of 25%. If the requested percentage results in a fractional number of cores, the system rounds up the number of cores across processors and provisions an instance with a whole number of cores. :param str type: The type of action to run when the instance is interrupted for eviction. """ - pulumi.set(__self__, "are_virtual_instructions_enabled", are_virtual_instructions_enabled) - pulumi.set(__self__, "is_access_control_service_enabled", is_access_control_service_enabled) - pulumi.set(__self__, "is_input_output_memory_management_unit_enabled", is_input_output_memory_management_unit_enabled) - pulumi.set(__self__, "is_measured_boot_enabled", is_measured_boot_enabled) - pulumi.set(__self__, "is_memory_encryption_enabled", is_memory_encryption_enabled) - pulumi.set(__self__, "is_secure_boot_enabled", is_secure_boot_enabled) - pulumi.set(__self__, "is_symmetric_multi_threading_enabled", is_symmetric_multi_threading_enabled) - pulumi.set(__self__, "is_trusted_platform_module_enabled", is_trusted_platform_module_enabled) - pulumi.set(__self__, "numa_nodes_per_socket", numa_nodes_per_socket) - pulumi.set(__self__, "percentage_of_cores_enabled", percentage_of_cores_enabled) - pulumi.set(__self__, "type", type) + GetInstanceConfigurationInstanceDetailOptionLaunchDetailPlatformConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + are_virtual_instructions_enabled=are_virtual_instructions_enabled, + is_access_control_service_enabled=is_access_control_service_enabled, + is_input_output_memory_management_unit_enabled=is_input_output_memory_management_unit_enabled, + is_measured_boot_enabled=is_measured_boot_enabled, + is_memory_encryption_enabled=is_memory_encryption_enabled, + is_secure_boot_enabled=is_secure_boot_enabled, + is_symmetric_multi_threading_enabled=is_symmetric_multi_threading_enabled, + is_trusted_platform_module_enabled=is_trusted_platform_module_enabled, + numa_nodes_per_socket=numa_nodes_per_socket, + percentage_of_cores_enabled=percentage_of_cores_enabled, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + are_virtual_instructions_enabled: bool, + is_access_control_service_enabled: bool, + is_input_output_memory_management_unit_enabled: bool, + is_measured_boot_enabled: bool, + is_memory_encryption_enabled: bool, + is_secure_boot_enabled: bool, + is_symmetric_multi_threading_enabled: bool, + is_trusted_platform_module_enabled: bool, + numa_nodes_per_socket: str, + percentage_of_cores_enabled: int, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("are_virtual_instructions_enabled", are_virtual_instructions_enabled) + _setter("is_access_control_service_enabled", is_access_control_service_enabled) + _setter("is_input_output_memory_management_unit_enabled", is_input_output_memory_management_unit_enabled) + _setter("is_measured_boot_enabled", is_measured_boot_enabled) + _setter("is_memory_encryption_enabled", is_memory_encryption_enabled) + _setter("is_secure_boot_enabled", is_secure_boot_enabled) + _setter("is_symmetric_multi_threading_enabled", is_symmetric_multi_threading_enabled) + _setter("is_trusted_platform_module_enabled", is_trusted_platform_module_enabled) + _setter("numa_nodes_per_socket", numa_nodes_per_socket) + _setter("percentage_of_cores_enabled", percentage_of_cores_enabled) + _setter("type", type) @property @pulumi.getter(name="areVirtualInstructionsEnabled") @@ -26200,7 +32340,16 @@ def __init__(__self__, *, """ :param Sequence['GetInstanceConfigurationInstanceDetailOptionLaunchDetailPreemptibleInstanceConfigPreemptionActionArgs'] preemption_actions: The action to run when the preemptible instance is interrupted for eviction. """ - pulumi.set(__self__, "preemption_actions", preemption_actions) + GetInstanceConfigurationInstanceDetailOptionLaunchDetailPreemptibleInstanceConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + preemption_actions=preemption_actions, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + preemption_actions: Sequence['outputs.GetInstanceConfigurationInstanceDetailOptionLaunchDetailPreemptibleInstanceConfigPreemptionActionResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("preemption_actions", preemption_actions) @property @pulumi.getter(name="preemptionActions") @@ -26220,8 +32369,19 @@ def __init__(__self__, *, :param bool preserve_boot_volume: Whether to preserve the boot volume that was used to launch the preemptible instance when the instance is terminated. Defaults to false if not specified. :param str type: The type of action to run when the instance is interrupted for eviction. """ - pulumi.set(__self__, "preserve_boot_volume", preserve_boot_volume) - pulumi.set(__self__, "type", type) + GetInstanceConfigurationInstanceDetailOptionLaunchDetailPreemptibleInstanceConfigPreemptionActionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + preserve_boot_volume=preserve_boot_volume, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + preserve_boot_volume: bool, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("preserve_boot_volume", preserve_boot_volume) + _setter("type", type) @property @pulumi.getter(name="preserveBootVolume") @@ -26255,11 +32415,28 @@ def __init__(__self__, *, :param float ocpus: The total number of OCPUs available to the instance. :param int vcpus: The total number of VCPUs available to the instance. This can be used instead of OCPUs, in which case the actual number of OCPUs will be calculated based on this value and the actual hardware. This must be a multiple of 2. """ - pulumi.set(__self__, "baseline_ocpu_utilization", baseline_ocpu_utilization) - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "nvmes", nvmes) - pulumi.set(__self__, "ocpus", ocpus) - pulumi.set(__self__, "vcpus", vcpus) + GetInstanceConfigurationInstanceDetailOptionLaunchDetailShapeConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + baseline_ocpu_utilization=baseline_ocpu_utilization, + memory_in_gbs=memory_in_gbs, + nvmes=nvmes, + ocpus=ocpus, + vcpus=vcpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + baseline_ocpu_utilization: str, + memory_in_gbs: float, + nvmes: int, + ocpus: float, + vcpus: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("baseline_ocpu_utilization", baseline_ocpu_utilization) + _setter("memory_in_gbs", memory_in_gbs) + _setter("nvmes", nvmes) + _setter("ocpus", ocpus) + _setter("vcpus", vcpus) @property @pulumi.getter(name="baselineOcpuUtilization") @@ -26321,13 +32498,34 @@ def __init__(__self__, *, :param str kms_key_id: The OCID of the Vault service key to assign as the master encryption key for the volume. :param str source_type: The source type for the instance. Use `image` when specifying the image OCID. Use `bootVolume` when specifying the boot volume OCID. """ - pulumi.set(__self__, "boot_volume_id", boot_volume_id) - pulumi.set(__self__, "boot_volume_size_in_gbs", boot_volume_size_in_gbs) - pulumi.set(__self__, "boot_volume_vpus_per_gb", boot_volume_vpus_per_gb) - pulumi.set(__self__, "image_id", image_id) - pulumi.set(__self__, "instance_source_image_filter_details", instance_source_image_filter_details) - pulumi.set(__self__, "kms_key_id", kms_key_id) - pulumi.set(__self__, "source_type", source_type) + GetInstanceConfigurationInstanceDetailOptionLaunchDetailSourceDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + boot_volume_id=boot_volume_id, + boot_volume_size_in_gbs=boot_volume_size_in_gbs, + boot_volume_vpus_per_gb=boot_volume_vpus_per_gb, + image_id=image_id, + instance_source_image_filter_details=instance_source_image_filter_details, + kms_key_id=kms_key_id, + source_type=source_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + boot_volume_id: str, + boot_volume_size_in_gbs: str, + boot_volume_vpus_per_gb: str, + image_id: str, + instance_source_image_filter_details: Sequence['outputs.GetInstanceConfigurationInstanceDetailOptionLaunchDetailSourceDetailInstanceSourceImageFilterDetailResult'], + kms_key_id: str, + source_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("boot_volume_id", boot_volume_id) + _setter("boot_volume_size_in_gbs", boot_volume_size_in_gbs) + _setter("boot_volume_vpus_per_gb", boot_volume_vpus_per_gb) + _setter("image_id", image_id) + _setter("instance_source_image_filter_details", instance_source_image_filter_details) + _setter("kms_key_id", kms_key_id) + _setter("source_type", source_type) @property @pulumi.getter(name="bootVolumeId") @@ -26399,10 +32597,25 @@ def __init__(__self__, *, :param str operating_system: The image's operating system. Example: `Oracle Linux` :param str operating_system_version: The image's operating system version. Example: `7.2` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags_filter", defined_tags_filter) - pulumi.set(__self__, "operating_system", operating_system) - pulumi.set(__self__, "operating_system_version", operating_system_version) + GetInstanceConfigurationInstanceDetailOptionLaunchDetailSourceDetailInstanceSourceImageFilterDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags_filter=defined_tags_filter, + operating_system=operating_system, + operating_system_version=operating_system_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags_filter: Mapping[str, Any], + operating_system: str, + operating_system_version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags_filter", defined_tags_filter) + _setter("operating_system", operating_system) + _setter("operating_system_version", operating_system_version) @property @pulumi.getter(name="compartmentId") @@ -26448,9 +32661,22 @@ def __init__(__self__, *, :param str display_name: A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. :param int nic_index: Which physical network interface card (NIC) the VNIC will use. Defaults to 0. Certain bare metal instance shapes have two active physical NICs (0 and 1). If you add a secondary VNIC to one of these instances, you can specify which NIC the VNIC will use. For more information, see [Virtual Network Interface Cards (VNICs)](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingVNICs.htm). """ - pulumi.set(__self__, "create_vnic_details", create_vnic_details) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "nic_index", nic_index) + GetInstanceConfigurationInstanceDetailOptionSecondaryVnicResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + create_vnic_details=create_vnic_details, + display_name=display_name, + nic_index=nic_index, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + create_vnic_details: Sequence['outputs.GetInstanceConfigurationInstanceDetailOptionSecondaryVnicCreateVnicDetailResult'], + display_name: str, + nic_index: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("create_vnic_details", create_vnic_details) + _setter("display_name", display_name) + _setter("nic_index", nic_index) @property @pulumi.getter(name="createVnicDetails") @@ -26506,18 +32732,49 @@ def __init__(__self__, *, :param bool skip_source_dest_check: Whether the source/destination check is disabled on the VNIC. See the `skipSourceDestCheck` attribute of [CreateVnicDetails](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/CreateVnicDetails/) for more information. :param str subnet_id: The OCID of the subnet to create the VNIC in. See the `subnetId` attribute of [CreateVnicDetails](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/CreateVnicDetails/) for more information. """ - pulumi.set(__self__, "assign_ipv6ip", assign_ipv6ip) - pulumi.set(__self__, "assign_private_dns_record", assign_private_dns_record) - pulumi.set(__self__, "assign_public_ip", assign_public_ip) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "hostname_label", hostname_label) - pulumi.set(__self__, "ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) - pulumi.set(__self__, "nsg_ids", nsg_ids) - pulumi.set(__self__, "private_ip", private_ip) - pulumi.set(__self__, "skip_source_dest_check", skip_source_dest_check) - pulumi.set(__self__, "subnet_id", subnet_id) + GetInstanceConfigurationInstanceDetailOptionSecondaryVnicCreateVnicDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + assign_ipv6ip=assign_ipv6ip, + assign_private_dns_record=assign_private_dns_record, + assign_public_ip=assign_public_ip, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + hostname_label=hostname_label, + ipv6address_ipv6subnet_cidr_pair_details=ipv6address_ipv6subnet_cidr_pair_details, + nsg_ids=nsg_ids, + private_ip=private_ip, + skip_source_dest_check=skip_source_dest_check, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + assign_ipv6ip: bool, + assign_private_dns_record: bool, + assign_public_ip: bool, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + hostname_label: str, + ipv6address_ipv6subnet_cidr_pair_details: Sequence['outputs.GetInstanceConfigurationInstanceDetailOptionSecondaryVnicCreateVnicDetailIpv6addressIpv6subnetCidrPairDetailResult'], + nsg_ids: Sequence[str], + private_ip: str, + skip_source_dest_check: bool, + subnet_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("assign_ipv6ip", assign_ipv6ip) + _setter("assign_private_dns_record", assign_private_dns_record) + _setter("assign_public_ip", assign_public_ip) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("hostname_label", hostname_label) + _setter("ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) + _setter("nsg_ids", nsg_ids) + _setter("private_ip", private_ip) + _setter("skip_source_dest_check", skip_source_dest_check) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="assignIpv6ip") @@ -26625,8 +32882,19 @@ def __init__(__self__, *, :param str ipv6address: Optional. An available IPv6 address of your subnet from a valid IPv6 prefix on the subnet (otherwise the IP address is automatically assigned). :param str ipv6subnet_cidr: Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation. """ - pulumi.set(__self__, "ipv6address", ipv6address) - pulumi.set(__self__, "ipv6subnet_cidr", ipv6subnet_cidr) + GetInstanceConfigurationInstanceDetailOptionSecondaryVnicCreateVnicDetailIpv6addressIpv6subnetCidrPairDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ipv6address=ipv6address, + ipv6subnet_cidr=ipv6subnet_cidr, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ipv6address: str, + ipv6subnet_cidr: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ipv6address", ipv6address) + _setter("ipv6subnet_cidr", ipv6subnet_cidr) @property @pulumi.getter @@ -26656,9 +32924,22 @@ def __init__(__self__, *, :param str display_name: A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. :param int nic_index: Which physical network interface card (NIC) the VNIC will use. Defaults to 0. Certain bare metal instance shapes have two active physical NICs (0 and 1). If you add a secondary VNIC to one of these instances, you can specify which NIC the VNIC will use. For more information, see [Virtual Network Interface Cards (VNICs)](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingVNICs.htm). """ - pulumi.set(__self__, "create_vnic_details", create_vnic_details) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "nic_index", nic_index) + GetInstanceConfigurationInstanceDetailSecondaryVnicResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + create_vnic_details=create_vnic_details, + display_name=display_name, + nic_index=nic_index, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + create_vnic_details: Sequence['outputs.GetInstanceConfigurationInstanceDetailSecondaryVnicCreateVnicDetailResult'], + display_name: str, + nic_index: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("create_vnic_details", create_vnic_details) + _setter("display_name", display_name) + _setter("nic_index", nic_index) @property @pulumi.getter(name="createVnicDetails") @@ -26714,18 +32995,49 @@ def __init__(__self__, *, :param bool skip_source_dest_check: Whether the source/destination check is disabled on the VNIC. See the `skipSourceDestCheck` attribute of [CreateVnicDetails](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/CreateVnicDetails/) for more information. :param str subnet_id: The OCID of the subnet to create the VNIC in. See the `subnetId` attribute of [CreateVnicDetails](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/CreateVnicDetails/) for more information. """ - pulumi.set(__self__, "assign_ipv6ip", assign_ipv6ip) - pulumi.set(__self__, "assign_private_dns_record", assign_private_dns_record) - pulumi.set(__self__, "assign_public_ip", assign_public_ip) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "hostname_label", hostname_label) - pulumi.set(__self__, "ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) - pulumi.set(__self__, "nsg_ids", nsg_ids) - pulumi.set(__self__, "private_ip", private_ip) - pulumi.set(__self__, "skip_source_dest_check", skip_source_dest_check) - pulumi.set(__self__, "subnet_id", subnet_id) + GetInstanceConfigurationInstanceDetailSecondaryVnicCreateVnicDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + assign_ipv6ip=assign_ipv6ip, + assign_private_dns_record=assign_private_dns_record, + assign_public_ip=assign_public_ip, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + hostname_label=hostname_label, + ipv6address_ipv6subnet_cidr_pair_details=ipv6address_ipv6subnet_cidr_pair_details, + nsg_ids=nsg_ids, + private_ip=private_ip, + skip_source_dest_check=skip_source_dest_check, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + assign_ipv6ip: bool, + assign_private_dns_record: bool, + assign_public_ip: bool, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + hostname_label: str, + ipv6address_ipv6subnet_cidr_pair_details: Sequence['outputs.GetInstanceConfigurationInstanceDetailSecondaryVnicCreateVnicDetailIpv6addressIpv6subnetCidrPairDetailResult'], + nsg_ids: Sequence[str], + private_ip: str, + skip_source_dest_check: bool, + subnet_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("assign_ipv6ip", assign_ipv6ip) + _setter("assign_private_dns_record", assign_private_dns_record) + _setter("assign_public_ip", assign_public_ip) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("hostname_label", hostname_label) + _setter("ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) + _setter("nsg_ids", nsg_ids) + _setter("private_ip", private_ip) + _setter("skip_source_dest_check", skip_source_dest_check) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="assignIpv6ip") @@ -26833,8 +33145,19 @@ def __init__(__self__, *, :param str ipv6address: Optional. An available IPv6 address of your subnet from a valid IPv6 prefix on the subnet (otherwise the IP address is automatically assigned). :param str ipv6subnet_cidr: Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation. """ - pulumi.set(__self__, "ipv6address", ipv6address) - pulumi.set(__self__, "ipv6subnet_cidr", ipv6subnet_cidr) + GetInstanceConfigurationInstanceDetailSecondaryVnicCreateVnicDetailIpv6addressIpv6subnetCidrPairDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ipv6address=ipv6address, + ipv6subnet_cidr=ipv6subnet_cidr, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ipv6address: str, + ipv6subnet_cidr: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ipv6address", ipv6address) + _setter("ipv6subnet_cidr", ipv6subnet_cidr) @property @pulumi.getter @@ -26862,10 +33185,23 @@ def __init__(__self__, *, """ :param str name: The plugin name. To get a list of available plugins, use the [ListInstanceagentAvailablePlugins](https://docs.cloud.oracle.com/iaas/api/#/en/instanceagent/20180530/Plugin/ListInstanceagentAvailablePlugins) operation in the Oracle Cloud Agent API. For more information about the available plugins, see [Managing Plugins with Oracle Cloud Agent](https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/manage-plugins.htm). """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetInstanceConfigurationsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -26908,16 +33244,43 @@ def __init__(__self__, *, :param str id: The OCID of the volume backup. :param str time_created: The date and time the instance configuration was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "deferred_fields", deferred_fields) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "instance_details", instance_details) - pulumi.set(__self__, "instance_id", instance_id) - pulumi.set(__self__, "source", source) - pulumi.set(__self__, "time_created", time_created) + GetInstanceConfigurationsInstanceConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + deferred_fields=deferred_fields, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + instance_details=instance_details, + instance_id=instance_id, + source=source, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + deferred_fields: Sequence[str], + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + instance_details: Sequence['outputs.GetInstanceConfigurationsInstanceConfigurationInstanceDetailResult'], + instance_id: str, + source: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("deferred_fields", deferred_fields) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("instance_details", instance_details) + _setter("instance_id", instance_id) + _setter("source", source) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -27006,11 +33369,28 @@ def __init__(__self__, *, :param Sequence['GetInstanceConfigurationsInstanceConfigurationInstanceDetailOptionArgs'] options: Multiple Compute Instance Configuration instance details. :param Sequence['GetInstanceConfigurationsInstanceConfigurationInstanceDetailSecondaryVnicArgs'] secondary_vnics: Secondary VNIC parameters. """ - pulumi.set(__self__, "block_volumes", block_volumes) - pulumi.set(__self__, "instance_type", instance_type) - pulumi.set(__self__, "launch_details", launch_details) - pulumi.set(__self__, "options", options) - pulumi.set(__self__, "secondary_vnics", secondary_vnics) + GetInstanceConfigurationsInstanceConfigurationInstanceDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + block_volumes=block_volumes, + instance_type=instance_type, + launch_details=launch_details, + options=options, + secondary_vnics=secondary_vnics, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + block_volumes: Sequence['outputs.GetInstanceConfigurationsInstanceConfigurationInstanceDetailBlockVolumeResult'], + instance_type: str, + launch_details: Sequence['outputs.GetInstanceConfigurationsInstanceConfigurationInstanceDetailLaunchDetailResult'], + options: Sequence['outputs.GetInstanceConfigurationsInstanceConfigurationInstanceDetailOptionResult'], + secondary_vnics: Sequence['outputs.GetInstanceConfigurationsInstanceConfigurationInstanceDetailSecondaryVnicResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("block_volumes", block_volumes) + _setter("instance_type", instance_type) + _setter("launch_details", launch_details) + _setter("options", options) + _setter("secondary_vnics", secondary_vnics) @property @pulumi.getter(name="blockVolumes") @@ -27064,9 +33444,22 @@ def __init__(__self__, *, :param Sequence['GetInstanceConfigurationsInstanceConfigurationInstanceDetailBlockVolumeCreateDetailArgs'] create_details: Creates a new block volume. Please see [CreateVolumeDetails](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/CreateVolumeDetails/) :param str volume_id: The OCID of the volume. """ - pulumi.set(__self__, "attach_details", attach_details) - pulumi.set(__self__, "create_details", create_details) - pulumi.set(__self__, "volume_id", volume_id) + GetInstanceConfigurationsInstanceConfigurationInstanceDetailBlockVolumeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + attach_details=attach_details, + create_details=create_details, + volume_id=volume_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attach_details: Sequence['outputs.GetInstanceConfigurationsInstanceConfigurationInstanceDetailBlockVolumeAttachDetailResult'], + create_details: Sequence['outputs.GetInstanceConfigurationsInstanceConfigurationInstanceDetailBlockVolumeCreateDetailResult'], + volume_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("attach_details", attach_details) + _setter("create_details", create_details) + _setter("volume_id", volume_id) @property @pulumi.getter(name="attachDetails") @@ -27112,13 +33505,34 @@ def __init__(__self__, *, :param str type: The type of action to run when the instance is interrupted for eviction. :param bool use_chap: Whether to use CHAP authentication for the volume attachment. Defaults to false. """ - pulumi.set(__self__, "device", device) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) - pulumi.set(__self__, "is_read_only", is_read_only) - pulumi.set(__self__, "is_shareable", is_shareable) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "use_chap", use_chap) + GetInstanceConfigurationsInstanceConfigurationInstanceDetailBlockVolumeAttachDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + device=device, + display_name=display_name, + is_pv_encryption_in_transit_enabled=is_pv_encryption_in_transit_enabled, + is_read_only=is_read_only, + is_shareable=is_shareable, + type=type, + use_chap=use_chap, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + device: str, + display_name: str, + is_pv_encryption_in_transit_enabled: bool, + is_read_only: bool, + is_shareable: bool, + type: str, + use_chap: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("device", device) + _setter("display_name", display_name) + _setter("is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) + _setter("is_read_only", is_read_only) + _setter("is_shareable", is_shareable) + _setter("type", type) + _setter("use_chap", use_chap) @property @pulumi.getter @@ -27207,19 +33621,52 @@ def __init__(__self__, *, :param str size_in_gbs: The size of the volume in GBs. :param str vpus_per_gb: The number of volume performance units (VPUs) that will be applied to this volume per GB, representing the Block Volume service's elastic performance options. See [Block Volume Performance Levels](https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/blockvolumeperformance.htm#perf_levels) for more information. """ - pulumi.set(__self__, "autotune_policies", autotune_policies) - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "backup_policy_id", backup_policy_id) - pulumi.set(__self__, "block_volume_replicas", block_volume_replicas) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "is_auto_tune_enabled", is_auto_tune_enabled) - pulumi.set(__self__, "kms_key_id", kms_key_id) - pulumi.set(__self__, "size_in_gbs", size_in_gbs) - pulumi.set(__self__, "source_details", source_details) - pulumi.set(__self__, "vpus_per_gb", vpus_per_gb) + GetInstanceConfigurationsInstanceConfigurationInstanceDetailBlockVolumeCreateDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + autotune_policies=autotune_policies, + availability_domain=availability_domain, + backup_policy_id=backup_policy_id, + block_volume_replicas=block_volume_replicas, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + is_auto_tune_enabled=is_auto_tune_enabled, + kms_key_id=kms_key_id, + size_in_gbs=size_in_gbs, + source_details=source_details, + vpus_per_gb=vpus_per_gb, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + autotune_policies: Sequence['outputs.GetInstanceConfigurationsInstanceConfigurationInstanceDetailBlockVolumeCreateDetailAutotunePolicyResult'], + availability_domain: str, + backup_policy_id: str, + block_volume_replicas: Sequence['outputs.GetInstanceConfigurationsInstanceConfigurationInstanceDetailBlockVolumeCreateDetailBlockVolumeReplicaResult'], + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + is_auto_tune_enabled: bool, + kms_key_id: str, + size_in_gbs: str, + source_details: Sequence['outputs.GetInstanceConfigurationsInstanceConfigurationInstanceDetailBlockVolumeCreateDetailSourceDetailResult'], + vpus_per_gb: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("autotune_policies", autotune_policies) + _setter("availability_domain", availability_domain) + _setter("backup_policy_id", backup_policy_id) + _setter("block_volume_replicas", block_volume_replicas) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("is_auto_tune_enabled", is_auto_tune_enabled) + _setter("kms_key_id", kms_key_id) + _setter("size_in_gbs", size_in_gbs) + _setter("source_details", source_details) + _setter("vpus_per_gb", vpus_per_gb) @property @pulumi.getter(name="autotunePolicies") @@ -27332,8 +33779,19 @@ def __init__(__self__, *, :param str autotune_type: This specifies the type of autotunes supported by OCI. :param str max_vpus_per_gb: This will be the maximum VPUs/GB performance level that the volume will be auto-tuned temporarily based on performance monitoring. """ - pulumi.set(__self__, "autotune_type", autotune_type) - pulumi.set(__self__, "max_vpus_per_gb", max_vpus_per_gb) + GetInstanceConfigurationsInstanceConfigurationInstanceDetailBlockVolumeCreateDetailAutotunePolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + autotune_type=autotune_type, + max_vpus_per_gb=max_vpus_per_gb, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + autotune_type: str, + max_vpus_per_gb: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("autotune_type", autotune_type) + _setter("max_vpus_per_gb", max_vpus_per_gb) @property @pulumi.getter(name="autotuneType") @@ -27361,8 +33819,19 @@ def __init__(__self__, *, :param str availability_domain: The availability domain of the instance. Example: `Uocm:PHX-AD-1` :param str display_name: A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "display_name", display_name) + GetInstanceConfigurationsInstanceConfigurationInstanceDetailBlockVolumeCreateDetailBlockVolumeReplicaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + display_name=display_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + display_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("display_name", display_name) @property @pulumi.getter(name="availabilityDomain") @@ -27390,8 +33859,19 @@ def __init__(__self__, *, :param str id: The OCID of the volume backup. :param str type: The type of action to run when the instance is interrupted for eviction. """ - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "type", type) + GetInstanceConfigurationsInstanceConfigurationInstanceDetailBlockVolumeCreateDetailSourceDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) + _setter("type", type) @property @pulumi.getter @@ -27462,30 +33942,85 @@ def __init__(__self__, *, :param str shape: The shape of an instance. The shape determines the number of CPUs, amount of memory, and other resources allocated to the instance. :param Sequence['GetInstanceConfigurationsInstanceConfigurationInstanceDetailLaunchDetailShapeConfigArgs'] shape_configs: The shape configuration requested for the instance. """ - pulumi.set(__self__, "agent_configs", agent_configs) - pulumi.set(__self__, "availability_configs", availability_configs) - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "capacity_reservation_id", capacity_reservation_id) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "create_vnic_details", create_vnic_details) - pulumi.set(__self__, "dedicated_vm_host_id", dedicated_vm_host_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "extended_metadata", extended_metadata) - pulumi.set(__self__, "fault_domain", fault_domain) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "instance_options", instance_options) - pulumi.set(__self__, "ipxe_script", ipxe_script) - pulumi.set(__self__, "is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) - pulumi.set(__self__, "launch_mode", launch_mode) - pulumi.set(__self__, "launch_options", launch_options) - pulumi.set(__self__, "metadata", metadata) - pulumi.set(__self__, "platform_configs", platform_configs) - pulumi.set(__self__, "preemptible_instance_configs", preemptible_instance_configs) - pulumi.set(__self__, "preferred_maintenance_action", preferred_maintenance_action) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "shape_configs", shape_configs) - pulumi.set(__self__, "source_details", source_details) + GetInstanceConfigurationsInstanceConfigurationInstanceDetailLaunchDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + agent_configs=agent_configs, + availability_configs=availability_configs, + availability_domain=availability_domain, + capacity_reservation_id=capacity_reservation_id, + compartment_id=compartment_id, + create_vnic_details=create_vnic_details, + dedicated_vm_host_id=dedicated_vm_host_id, + defined_tags=defined_tags, + display_name=display_name, + extended_metadata=extended_metadata, + fault_domain=fault_domain, + freeform_tags=freeform_tags, + instance_options=instance_options, + ipxe_script=ipxe_script, + is_pv_encryption_in_transit_enabled=is_pv_encryption_in_transit_enabled, + launch_mode=launch_mode, + launch_options=launch_options, + metadata=metadata, + platform_configs=platform_configs, + preemptible_instance_configs=preemptible_instance_configs, + preferred_maintenance_action=preferred_maintenance_action, + shape=shape, + shape_configs=shape_configs, + source_details=source_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agent_configs: Sequence['outputs.GetInstanceConfigurationsInstanceConfigurationInstanceDetailLaunchDetailAgentConfigResult'], + availability_configs: Sequence['outputs.GetInstanceConfigurationsInstanceConfigurationInstanceDetailLaunchDetailAvailabilityConfigResult'], + availability_domain: str, + capacity_reservation_id: str, + compartment_id: str, + create_vnic_details: Sequence['outputs.GetInstanceConfigurationsInstanceConfigurationInstanceDetailLaunchDetailCreateVnicDetailResult'], + dedicated_vm_host_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + extended_metadata: Mapping[str, Any], + fault_domain: str, + freeform_tags: Mapping[str, Any], + instance_options: Sequence['outputs.GetInstanceConfigurationsInstanceConfigurationInstanceDetailLaunchDetailInstanceOptionResult'], + ipxe_script: str, + is_pv_encryption_in_transit_enabled: bool, + launch_mode: str, + launch_options: Sequence['outputs.GetInstanceConfigurationsInstanceConfigurationInstanceDetailLaunchDetailLaunchOptionResult'], + metadata: Mapping[str, Any], + platform_configs: Sequence['outputs.GetInstanceConfigurationsInstanceConfigurationInstanceDetailLaunchDetailPlatformConfigResult'], + preemptible_instance_configs: Sequence['outputs.GetInstanceConfigurationsInstanceConfigurationInstanceDetailLaunchDetailPreemptibleInstanceConfigResult'], + preferred_maintenance_action: str, + shape: str, + shape_configs: Sequence['outputs.GetInstanceConfigurationsInstanceConfigurationInstanceDetailLaunchDetailShapeConfigResult'], + source_details: Sequence['outputs.GetInstanceConfigurationsInstanceConfigurationInstanceDetailLaunchDetailSourceDetailResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("agent_configs", agent_configs) + _setter("availability_configs", availability_configs) + _setter("availability_domain", availability_domain) + _setter("capacity_reservation_id", capacity_reservation_id) + _setter("compartment_id", compartment_id) + _setter("create_vnic_details", create_vnic_details) + _setter("dedicated_vm_host_id", dedicated_vm_host_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("extended_metadata", extended_metadata) + _setter("fault_domain", fault_domain) + _setter("freeform_tags", freeform_tags) + _setter("instance_options", instance_options) + _setter("ipxe_script", ipxe_script) + _setter("is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) + _setter("launch_mode", launch_mode) + _setter("launch_options", launch_options) + _setter("metadata", metadata) + _setter("platform_configs", platform_configs) + _setter("preemptible_instance_configs", preemptible_instance_configs) + _setter("preferred_maintenance_action", preferred_maintenance_action) + _setter("shape", shape) + _setter("shape_configs", shape_configs) + _setter("source_details", source_details) @property @pulumi.getter(name="agentConfigs") @@ -27690,10 +34225,25 @@ def __init__(__self__, *, :param bool is_monitoring_disabled: Whether Oracle Cloud Agent can gather performance metrics and monitor the instance using the monitoring plugins. Default value is false (monitoring plugins are enabled). :param Sequence['GetInstanceConfigurationsInstanceConfigurationInstanceDetailLaunchDetailAgentConfigPluginsConfigArgs'] plugins_configs: The configuration of plugins associated with this instance. """ - pulumi.set(__self__, "are_all_plugins_disabled", are_all_plugins_disabled) - pulumi.set(__self__, "is_management_disabled", is_management_disabled) - pulumi.set(__self__, "is_monitoring_disabled", is_monitoring_disabled) - pulumi.set(__self__, "plugins_configs", plugins_configs) + GetInstanceConfigurationsInstanceConfigurationInstanceDetailLaunchDetailAgentConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + are_all_plugins_disabled=are_all_plugins_disabled, + is_management_disabled=is_management_disabled, + is_monitoring_disabled=is_monitoring_disabled, + plugins_configs=plugins_configs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + are_all_plugins_disabled: bool, + is_management_disabled: bool, + is_monitoring_disabled: bool, + plugins_configs: Sequence['outputs.GetInstanceConfigurationsInstanceConfigurationInstanceDetailLaunchDetailAgentConfigPluginsConfigResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("are_all_plugins_disabled", are_all_plugins_disabled) + _setter("is_management_disabled", is_management_disabled) + _setter("is_monitoring_disabled", is_monitoring_disabled) + _setter("plugins_configs", plugins_configs) @property @pulumi.getter(name="areAllPluginsDisabled") @@ -27737,8 +34287,19 @@ def __init__(__self__, *, :param str desired_state: Whether the plugin should be enabled or disabled. :param str name: The plugin name. To get a list of available plugins, use the [ListInstanceagentAvailablePlugins](https://docs.cloud.oracle.com/iaas/api/#/en/instanceagent/20180530/Plugin/ListInstanceagentAvailablePlugins) operation in the Oracle Cloud Agent API. For more information about the available plugins, see [Managing Plugins with Oracle Cloud Agent](https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/manage-plugins.htm). """ - pulumi.set(__self__, "desired_state", desired_state) - pulumi.set(__self__, "name", name) + GetInstanceConfigurationsInstanceConfigurationInstanceDetailLaunchDetailAgentConfigPluginsConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + desired_state=desired_state, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + desired_state: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("desired_state", desired_state) + _setter("name", name) @property @pulumi.getter(name="desiredState") @@ -27766,8 +34327,19 @@ def __init__(__self__, *, :param bool is_live_migration_preferred: Whether to live migrate supported VM instances to a healthy physical VM host without disrupting running instances during infrastructure maintenance events. If null, Oracle chooses the best option for migrating the VM during infrastructure maintenance events. :param str recovery_action: The lifecycle state for an instance when it is recovered after infrastructure maintenance. """ - pulumi.set(__self__, "is_live_migration_preferred", is_live_migration_preferred) - pulumi.set(__self__, "recovery_action", recovery_action) + GetInstanceConfigurationsInstanceConfigurationInstanceDetailLaunchDetailAvailabilityConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_live_migration_preferred=is_live_migration_preferred, + recovery_action=recovery_action, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_live_migration_preferred: bool, + recovery_action: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_live_migration_preferred", is_live_migration_preferred) + _setter("recovery_action", recovery_action) @property @pulumi.getter(name="isLiveMigrationPreferred") @@ -27815,18 +34387,49 @@ def __init__(__self__, *, :param bool skip_source_dest_check: Whether the source/destination check is disabled on the VNIC. See the `skipSourceDestCheck` attribute of [CreateVnicDetails](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/CreateVnicDetails/) for more information. :param str subnet_id: The OCID of the subnet to create the VNIC in. See the `subnetId` attribute of [CreateVnicDetails](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/CreateVnicDetails/) for more information. """ - pulumi.set(__self__, "assign_ipv6ip", assign_ipv6ip) - pulumi.set(__self__, "assign_private_dns_record", assign_private_dns_record) - pulumi.set(__self__, "assign_public_ip", assign_public_ip) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "hostname_label", hostname_label) - pulumi.set(__self__, "ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) - pulumi.set(__self__, "nsg_ids", nsg_ids) - pulumi.set(__self__, "private_ip", private_ip) - pulumi.set(__self__, "skip_source_dest_check", skip_source_dest_check) - pulumi.set(__self__, "subnet_id", subnet_id) + GetInstanceConfigurationsInstanceConfigurationInstanceDetailLaunchDetailCreateVnicDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + assign_ipv6ip=assign_ipv6ip, + assign_private_dns_record=assign_private_dns_record, + assign_public_ip=assign_public_ip, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + hostname_label=hostname_label, + ipv6address_ipv6subnet_cidr_pair_details=ipv6address_ipv6subnet_cidr_pair_details, + nsg_ids=nsg_ids, + private_ip=private_ip, + skip_source_dest_check=skip_source_dest_check, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + assign_ipv6ip: bool, + assign_private_dns_record: bool, + assign_public_ip: bool, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + hostname_label: str, + ipv6address_ipv6subnet_cidr_pair_details: Sequence['outputs.GetInstanceConfigurationsInstanceConfigurationInstanceDetailLaunchDetailCreateVnicDetailIpv6addressIpv6subnetCidrPairDetailResult'], + nsg_ids: Sequence[str], + private_ip: str, + skip_source_dest_check: bool, + subnet_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("assign_ipv6ip", assign_ipv6ip) + _setter("assign_private_dns_record", assign_private_dns_record) + _setter("assign_public_ip", assign_public_ip) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("hostname_label", hostname_label) + _setter("ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) + _setter("nsg_ids", nsg_ids) + _setter("private_ip", private_ip) + _setter("skip_source_dest_check", skip_source_dest_check) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="assignIpv6ip") @@ -27934,8 +34537,19 @@ def __init__(__self__, *, :param str ipv6address: Optional. An available IPv6 address of your subnet from a valid IPv6 prefix on the subnet (otherwise the IP address is automatically assigned). :param str ipv6subnet_cidr: Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation. """ - pulumi.set(__self__, "ipv6address", ipv6address) - pulumi.set(__self__, "ipv6subnet_cidr", ipv6subnet_cidr) + GetInstanceConfigurationsInstanceConfigurationInstanceDetailLaunchDetailCreateVnicDetailIpv6addressIpv6subnetCidrPairDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ipv6address=ipv6address, + ipv6subnet_cidr=ipv6subnet_cidr, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ipv6address: str, + ipv6subnet_cidr: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ipv6address", ipv6address) + _setter("ipv6subnet_cidr", ipv6subnet_cidr) @property @pulumi.getter @@ -27961,7 +34575,16 @@ def __init__(__self__, *, """ :param bool are_legacy_imds_endpoints_disabled: Whether to disable the legacy (/v1) instance metadata service endpoints. Customers who have migrated to /v2 should set this to true for added security. Default is false. """ - pulumi.set(__self__, "are_legacy_imds_endpoints_disabled", are_legacy_imds_endpoints_disabled) + GetInstanceConfigurationsInstanceConfigurationInstanceDetailLaunchDetailInstanceOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + are_legacy_imds_endpoints_disabled=are_legacy_imds_endpoints_disabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + are_legacy_imds_endpoints_disabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("are_legacy_imds_endpoints_disabled", are_legacy_imds_endpoints_disabled) @property @pulumi.getter(name="areLegacyImdsEndpointsDisabled") @@ -27989,12 +34612,31 @@ def __init__(__self__, *, :param str network_type: Emulation type for the physical network interface card (NIC). :param str remote_data_volume_type: Emulation type for volume. """ - pulumi.set(__self__, "boot_volume_type", boot_volume_type) - pulumi.set(__self__, "firmware", firmware) - pulumi.set(__self__, "is_consistent_volume_naming_enabled", is_consistent_volume_naming_enabled) - pulumi.set(__self__, "is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) - pulumi.set(__self__, "network_type", network_type) - pulumi.set(__self__, "remote_data_volume_type", remote_data_volume_type) + GetInstanceConfigurationsInstanceConfigurationInstanceDetailLaunchDetailLaunchOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + boot_volume_type=boot_volume_type, + firmware=firmware, + is_consistent_volume_naming_enabled=is_consistent_volume_naming_enabled, + is_pv_encryption_in_transit_enabled=is_pv_encryption_in_transit_enabled, + network_type=network_type, + remote_data_volume_type=remote_data_volume_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + boot_volume_type: str, + firmware: str, + is_consistent_volume_naming_enabled: bool, + is_pv_encryption_in_transit_enabled: bool, + network_type: str, + remote_data_volume_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("boot_volume_type", boot_volume_type) + _setter("firmware", firmware) + _setter("is_consistent_volume_naming_enabled", is_consistent_volume_naming_enabled) + _setter("is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) + _setter("network_type", network_type) + _setter("remote_data_volume_type", remote_data_volume_type) @property @pulumi.getter(name="bootVolumeType") @@ -28074,18 +34716,49 @@ def __init__(__self__, *, :param int percentage_of_cores_enabled: The percentage of cores enabled. Value must be a multiple of 25%. If the requested percentage results in a fractional number of cores, the system rounds up the number of cores across processors and provisions an instance with a whole number of cores. :param str type: The type of action to run when the instance is interrupted for eviction. """ - pulumi.set(__self__, "are_virtual_instructions_enabled", are_virtual_instructions_enabled) - pulumi.set(__self__, "config_map", config_map) - pulumi.set(__self__, "is_access_control_service_enabled", is_access_control_service_enabled) - pulumi.set(__self__, "is_input_output_memory_management_unit_enabled", is_input_output_memory_management_unit_enabled) - pulumi.set(__self__, "is_measured_boot_enabled", is_measured_boot_enabled) - pulumi.set(__self__, "is_memory_encryption_enabled", is_memory_encryption_enabled) - pulumi.set(__self__, "is_secure_boot_enabled", is_secure_boot_enabled) - pulumi.set(__self__, "is_symmetric_multi_threading_enabled", is_symmetric_multi_threading_enabled) - pulumi.set(__self__, "is_trusted_platform_module_enabled", is_trusted_platform_module_enabled) - pulumi.set(__self__, "numa_nodes_per_socket", numa_nodes_per_socket) - pulumi.set(__self__, "percentage_of_cores_enabled", percentage_of_cores_enabled) - pulumi.set(__self__, "type", type) + GetInstanceConfigurationsInstanceConfigurationInstanceDetailLaunchDetailPlatformConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + are_virtual_instructions_enabled=are_virtual_instructions_enabled, + config_map=config_map, + is_access_control_service_enabled=is_access_control_service_enabled, + is_input_output_memory_management_unit_enabled=is_input_output_memory_management_unit_enabled, + is_measured_boot_enabled=is_measured_boot_enabled, + is_memory_encryption_enabled=is_memory_encryption_enabled, + is_secure_boot_enabled=is_secure_boot_enabled, + is_symmetric_multi_threading_enabled=is_symmetric_multi_threading_enabled, + is_trusted_platform_module_enabled=is_trusted_platform_module_enabled, + numa_nodes_per_socket=numa_nodes_per_socket, + percentage_of_cores_enabled=percentage_of_cores_enabled, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + are_virtual_instructions_enabled: bool, + config_map: Mapping[str, Any], + is_access_control_service_enabled: bool, + is_input_output_memory_management_unit_enabled: bool, + is_measured_boot_enabled: bool, + is_memory_encryption_enabled: bool, + is_secure_boot_enabled: bool, + is_symmetric_multi_threading_enabled: bool, + is_trusted_platform_module_enabled: bool, + numa_nodes_per_socket: str, + percentage_of_cores_enabled: int, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("are_virtual_instructions_enabled", are_virtual_instructions_enabled) + _setter("config_map", config_map) + _setter("is_access_control_service_enabled", is_access_control_service_enabled) + _setter("is_input_output_memory_management_unit_enabled", is_input_output_memory_management_unit_enabled) + _setter("is_measured_boot_enabled", is_measured_boot_enabled) + _setter("is_memory_encryption_enabled", is_memory_encryption_enabled) + _setter("is_secure_boot_enabled", is_secure_boot_enabled) + _setter("is_symmetric_multi_threading_enabled", is_symmetric_multi_threading_enabled) + _setter("is_trusted_platform_module_enabled", is_trusted_platform_module_enabled) + _setter("numa_nodes_per_socket", numa_nodes_per_socket) + _setter("percentage_of_cores_enabled", percentage_of_cores_enabled) + _setter("type", type) @property @pulumi.getter(name="areVirtualInstructionsEnabled") @@ -28191,7 +34864,16 @@ def __init__(__self__, *, """ :param Sequence['GetInstanceConfigurationsInstanceConfigurationInstanceDetailLaunchDetailPreemptibleInstanceConfigPreemptionActionArgs'] preemption_actions: The action to run when the preemptible instance is interrupted for eviction. """ - pulumi.set(__self__, "preemption_actions", preemption_actions) + GetInstanceConfigurationsInstanceConfigurationInstanceDetailLaunchDetailPreemptibleInstanceConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + preemption_actions=preemption_actions, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + preemption_actions: Sequence['outputs.GetInstanceConfigurationsInstanceConfigurationInstanceDetailLaunchDetailPreemptibleInstanceConfigPreemptionActionResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("preemption_actions", preemption_actions) @property @pulumi.getter(name="preemptionActions") @@ -28211,8 +34893,19 @@ def __init__(__self__, *, :param bool preserve_boot_volume: Whether to preserve the boot volume that was used to launch the preemptible instance when the instance is terminated. Defaults to false if not specified. :param str type: The type of action to run when the instance is interrupted for eviction. """ - pulumi.set(__self__, "preserve_boot_volume", preserve_boot_volume) - pulumi.set(__self__, "type", type) + GetInstanceConfigurationsInstanceConfigurationInstanceDetailLaunchDetailPreemptibleInstanceConfigPreemptionActionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + preserve_boot_volume=preserve_boot_volume, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + preserve_boot_volume: bool, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("preserve_boot_volume", preserve_boot_volume) + _setter("type", type) @property @pulumi.getter(name="preserveBootVolume") @@ -28246,11 +34939,28 @@ def __init__(__self__, *, :param float ocpus: The total number of OCPUs available to the instance. :param int vcpus: The total number of VCPUs available to the instance. This can be used instead of OCPUs, in which case the actual number of OCPUs will be calculated based on this value and the actual hardware. This must be a multiple of 2. """ - pulumi.set(__self__, "baseline_ocpu_utilization", baseline_ocpu_utilization) - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "nvmes", nvmes) - pulumi.set(__self__, "ocpus", ocpus) - pulumi.set(__self__, "vcpus", vcpus) + GetInstanceConfigurationsInstanceConfigurationInstanceDetailLaunchDetailShapeConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + baseline_ocpu_utilization=baseline_ocpu_utilization, + memory_in_gbs=memory_in_gbs, + nvmes=nvmes, + ocpus=ocpus, + vcpus=vcpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + baseline_ocpu_utilization: str, + memory_in_gbs: float, + nvmes: int, + ocpus: float, + vcpus: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("baseline_ocpu_utilization", baseline_ocpu_utilization) + _setter("memory_in_gbs", memory_in_gbs) + _setter("nvmes", nvmes) + _setter("ocpus", ocpus) + _setter("vcpus", vcpus) @property @pulumi.getter(name="baselineOcpuUtilization") @@ -28312,13 +35022,34 @@ def __init__(__self__, *, :param str kms_key_id: The OCID of the Vault service key to assign as the master encryption key for the volume. :param str source_type: The source type for the instance. Use `image` when specifying the image OCID. Use `bootVolume` when specifying the boot volume OCID. """ - pulumi.set(__self__, "boot_volume_id", boot_volume_id) - pulumi.set(__self__, "boot_volume_size_in_gbs", boot_volume_size_in_gbs) - pulumi.set(__self__, "boot_volume_vpus_per_gb", boot_volume_vpus_per_gb) - pulumi.set(__self__, "image_id", image_id) - pulumi.set(__self__, "instance_source_image_filter_details", instance_source_image_filter_details) - pulumi.set(__self__, "kms_key_id", kms_key_id) - pulumi.set(__self__, "source_type", source_type) + GetInstanceConfigurationsInstanceConfigurationInstanceDetailLaunchDetailSourceDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + boot_volume_id=boot_volume_id, + boot_volume_size_in_gbs=boot_volume_size_in_gbs, + boot_volume_vpus_per_gb=boot_volume_vpus_per_gb, + image_id=image_id, + instance_source_image_filter_details=instance_source_image_filter_details, + kms_key_id=kms_key_id, + source_type=source_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + boot_volume_id: str, + boot_volume_size_in_gbs: str, + boot_volume_vpus_per_gb: str, + image_id: str, + instance_source_image_filter_details: Sequence['outputs.GetInstanceConfigurationsInstanceConfigurationInstanceDetailLaunchDetailSourceDetailInstanceSourceImageFilterDetailResult'], + kms_key_id: str, + source_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("boot_volume_id", boot_volume_id) + _setter("boot_volume_size_in_gbs", boot_volume_size_in_gbs) + _setter("boot_volume_vpus_per_gb", boot_volume_vpus_per_gb) + _setter("image_id", image_id) + _setter("instance_source_image_filter_details", instance_source_image_filter_details) + _setter("kms_key_id", kms_key_id) + _setter("source_type", source_type) @property @pulumi.getter(name="bootVolumeId") @@ -28390,10 +35121,25 @@ def __init__(__self__, *, :param str operating_system: The image's operating system. Example: `Oracle Linux` :param str operating_system_version: The image's operating system version. Example: `7.2` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags_filter", defined_tags_filter) - pulumi.set(__self__, "operating_system", operating_system) - pulumi.set(__self__, "operating_system_version", operating_system_version) + GetInstanceConfigurationsInstanceConfigurationInstanceDetailLaunchDetailSourceDetailInstanceSourceImageFilterDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags_filter=defined_tags_filter, + operating_system=operating_system, + operating_system_version=operating_system_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags_filter: Mapping[str, Any], + operating_system: str, + operating_system_version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags_filter", defined_tags_filter) + _setter("operating_system", operating_system) + _setter("operating_system_version", operating_system_version) @property @pulumi.getter(name="compartmentId") @@ -28439,9 +35185,22 @@ def __init__(__self__, *, :param Sequence['GetInstanceConfigurationsInstanceConfigurationInstanceDetailOptionLaunchDetailArgs'] launch_details: Instance launch details for creating an instance from an instance configuration. Use the `sourceDetails` parameter to specify whether a boot volume or an image should be used to launch a new instance. :param Sequence['GetInstanceConfigurationsInstanceConfigurationInstanceDetailOptionSecondaryVnicArgs'] secondary_vnics: Secondary VNIC parameters. """ - pulumi.set(__self__, "block_volumes", block_volumes) - pulumi.set(__self__, "launch_details", launch_details) - pulumi.set(__self__, "secondary_vnics", secondary_vnics) + GetInstanceConfigurationsInstanceConfigurationInstanceDetailOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + block_volumes=block_volumes, + launch_details=launch_details, + secondary_vnics=secondary_vnics, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + block_volumes: Sequence['outputs.GetInstanceConfigurationsInstanceConfigurationInstanceDetailOptionBlockVolumeResult'], + launch_details: Sequence['outputs.GetInstanceConfigurationsInstanceConfigurationInstanceDetailOptionLaunchDetailResult'], + secondary_vnics: Sequence['outputs.GetInstanceConfigurationsInstanceConfigurationInstanceDetailOptionSecondaryVnicResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("block_volumes", block_volumes) + _setter("launch_details", launch_details) + _setter("secondary_vnics", secondary_vnics) @property @pulumi.getter(name="blockVolumes") @@ -28479,9 +35238,22 @@ def __init__(__self__, *, :param Sequence['GetInstanceConfigurationsInstanceConfigurationInstanceDetailOptionBlockVolumeCreateDetailArgs'] create_details: Creates a new block volume. Please see [CreateVolumeDetails](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/CreateVolumeDetails/) :param str volume_id: The OCID of the volume. """ - pulumi.set(__self__, "attach_details", attach_details) - pulumi.set(__self__, "create_details", create_details) - pulumi.set(__self__, "volume_id", volume_id) + GetInstanceConfigurationsInstanceConfigurationInstanceDetailOptionBlockVolumeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + attach_details=attach_details, + create_details=create_details, + volume_id=volume_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attach_details: Sequence['outputs.GetInstanceConfigurationsInstanceConfigurationInstanceDetailOptionBlockVolumeAttachDetailResult'], + create_details: Sequence['outputs.GetInstanceConfigurationsInstanceConfigurationInstanceDetailOptionBlockVolumeCreateDetailResult'], + volume_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("attach_details", attach_details) + _setter("create_details", create_details) + _setter("volume_id", volume_id) @property @pulumi.getter(name="attachDetails") @@ -28527,13 +35299,34 @@ def __init__(__self__, *, :param str type: The type of action to run when the instance is interrupted for eviction. :param bool use_chap: Whether to use CHAP authentication for the volume attachment. Defaults to false. """ - pulumi.set(__self__, "device", device) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) - pulumi.set(__self__, "is_read_only", is_read_only) - pulumi.set(__self__, "is_shareable", is_shareable) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "use_chap", use_chap) + GetInstanceConfigurationsInstanceConfigurationInstanceDetailOptionBlockVolumeAttachDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + device=device, + display_name=display_name, + is_pv_encryption_in_transit_enabled=is_pv_encryption_in_transit_enabled, + is_read_only=is_read_only, + is_shareable=is_shareable, + type=type, + use_chap=use_chap, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + device: str, + display_name: str, + is_pv_encryption_in_transit_enabled: bool, + is_read_only: bool, + is_shareable: bool, + type: str, + use_chap: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("device", device) + _setter("display_name", display_name) + _setter("is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) + _setter("is_read_only", is_read_only) + _setter("is_shareable", is_shareable) + _setter("type", type) + _setter("use_chap", use_chap) @property @pulumi.getter @@ -28622,19 +35415,52 @@ def __init__(__self__, *, :param str size_in_gbs: The size of the volume in GBs. :param str vpus_per_gb: The number of volume performance units (VPUs) that will be applied to this volume per GB, representing the Block Volume service's elastic performance options. See [Block Volume Performance Levels](https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/blockvolumeperformance.htm#perf_levels) for more information. """ - pulumi.set(__self__, "autotune_policies", autotune_policies) - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "backup_policy_id", backup_policy_id) - pulumi.set(__self__, "block_volume_replicas", block_volume_replicas) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "is_auto_tune_enabled", is_auto_tune_enabled) - pulumi.set(__self__, "kms_key_id", kms_key_id) - pulumi.set(__self__, "size_in_gbs", size_in_gbs) - pulumi.set(__self__, "source_details", source_details) - pulumi.set(__self__, "vpus_per_gb", vpus_per_gb) + GetInstanceConfigurationsInstanceConfigurationInstanceDetailOptionBlockVolumeCreateDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + autotune_policies=autotune_policies, + availability_domain=availability_domain, + backup_policy_id=backup_policy_id, + block_volume_replicas=block_volume_replicas, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + is_auto_tune_enabled=is_auto_tune_enabled, + kms_key_id=kms_key_id, + size_in_gbs=size_in_gbs, + source_details=source_details, + vpus_per_gb=vpus_per_gb, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + autotune_policies: Sequence['outputs.GetInstanceConfigurationsInstanceConfigurationInstanceDetailOptionBlockVolumeCreateDetailAutotunePolicyResult'], + availability_domain: str, + backup_policy_id: str, + block_volume_replicas: Sequence['outputs.GetInstanceConfigurationsInstanceConfigurationInstanceDetailOptionBlockVolumeCreateDetailBlockVolumeReplicaResult'], + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + is_auto_tune_enabled: bool, + kms_key_id: str, + size_in_gbs: str, + source_details: Sequence['outputs.GetInstanceConfigurationsInstanceConfigurationInstanceDetailOptionBlockVolumeCreateDetailSourceDetailResult'], + vpus_per_gb: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("autotune_policies", autotune_policies) + _setter("availability_domain", availability_domain) + _setter("backup_policy_id", backup_policy_id) + _setter("block_volume_replicas", block_volume_replicas) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("is_auto_tune_enabled", is_auto_tune_enabled) + _setter("kms_key_id", kms_key_id) + _setter("size_in_gbs", size_in_gbs) + _setter("source_details", source_details) + _setter("vpus_per_gb", vpus_per_gb) @property @pulumi.getter(name="autotunePolicies") @@ -28747,8 +35573,19 @@ def __init__(__self__, *, :param str autotune_type: This specifies the type of autotunes supported by OCI. :param str max_vpus_per_gb: This will be the maximum VPUs/GB performance level that the volume will be auto-tuned temporarily based on performance monitoring. """ - pulumi.set(__self__, "autotune_type", autotune_type) - pulumi.set(__self__, "max_vpus_per_gb", max_vpus_per_gb) + GetInstanceConfigurationsInstanceConfigurationInstanceDetailOptionBlockVolumeCreateDetailAutotunePolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + autotune_type=autotune_type, + max_vpus_per_gb=max_vpus_per_gb, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + autotune_type: str, + max_vpus_per_gb: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("autotune_type", autotune_type) + _setter("max_vpus_per_gb", max_vpus_per_gb) @property @pulumi.getter(name="autotuneType") @@ -28776,8 +35613,19 @@ def __init__(__self__, *, :param str availability_domain: The availability domain of the instance. Example: `Uocm:PHX-AD-1` :param str display_name: A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "display_name", display_name) + GetInstanceConfigurationsInstanceConfigurationInstanceDetailOptionBlockVolumeCreateDetailBlockVolumeReplicaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + display_name=display_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + display_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("display_name", display_name) @property @pulumi.getter(name="availabilityDomain") @@ -28805,8 +35653,19 @@ def __init__(__self__, *, :param str id: The OCID of the volume backup. :param str type: The type of action to run when the instance is interrupted for eviction. """ - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "type", type) + GetInstanceConfigurationsInstanceConfigurationInstanceDetailOptionBlockVolumeCreateDetailSourceDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) + _setter("type", type) @property @pulumi.getter @@ -28877,30 +35736,85 @@ def __init__(__self__, *, :param str shape: The shape of an instance. The shape determines the number of CPUs, amount of memory, and other resources allocated to the instance. :param Sequence['GetInstanceConfigurationsInstanceConfigurationInstanceDetailOptionLaunchDetailShapeConfigArgs'] shape_configs: The shape configuration requested for the instance. """ - pulumi.set(__self__, "agent_configs", agent_configs) - pulumi.set(__self__, "availability_configs", availability_configs) - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "capacity_reservation_id", capacity_reservation_id) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "create_vnic_details", create_vnic_details) - pulumi.set(__self__, "dedicated_vm_host_id", dedicated_vm_host_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "extended_metadata", extended_metadata) - pulumi.set(__self__, "fault_domain", fault_domain) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "instance_options", instance_options) - pulumi.set(__self__, "ipxe_script", ipxe_script) - pulumi.set(__self__, "is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) - pulumi.set(__self__, "launch_mode", launch_mode) - pulumi.set(__self__, "launch_options", launch_options) - pulumi.set(__self__, "metadata", metadata) - pulumi.set(__self__, "platform_configs", platform_configs) - pulumi.set(__self__, "preemptible_instance_configs", preemptible_instance_configs) - pulumi.set(__self__, "preferred_maintenance_action", preferred_maintenance_action) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "shape_configs", shape_configs) - pulumi.set(__self__, "source_details", source_details) + GetInstanceConfigurationsInstanceConfigurationInstanceDetailOptionLaunchDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + agent_configs=agent_configs, + availability_configs=availability_configs, + availability_domain=availability_domain, + capacity_reservation_id=capacity_reservation_id, + compartment_id=compartment_id, + create_vnic_details=create_vnic_details, + dedicated_vm_host_id=dedicated_vm_host_id, + defined_tags=defined_tags, + display_name=display_name, + extended_metadata=extended_metadata, + fault_domain=fault_domain, + freeform_tags=freeform_tags, + instance_options=instance_options, + ipxe_script=ipxe_script, + is_pv_encryption_in_transit_enabled=is_pv_encryption_in_transit_enabled, + launch_mode=launch_mode, + launch_options=launch_options, + metadata=metadata, + platform_configs=platform_configs, + preemptible_instance_configs=preemptible_instance_configs, + preferred_maintenance_action=preferred_maintenance_action, + shape=shape, + shape_configs=shape_configs, + source_details=source_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agent_configs: Sequence['outputs.GetInstanceConfigurationsInstanceConfigurationInstanceDetailOptionLaunchDetailAgentConfigResult'], + availability_configs: Sequence['outputs.GetInstanceConfigurationsInstanceConfigurationInstanceDetailOptionLaunchDetailAvailabilityConfigResult'], + availability_domain: str, + capacity_reservation_id: str, + compartment_id: str, + create_vnic_details: Sequence['outputs.GetInstanceConfigurationsInstanceConfigurationInstanceDetailOptionLaunchDetailCreateVnicDetailResult'], + dedicated_vm_host_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + extended_metadata: Mapping[str, Any], + fault_domain: str, + freeform_tags: Mapping[str, Any], + instance_options: Sequence['outputs.GetInstanceConfigurationsInstanceConfigurationInstanceDetailOptionLaunchDetailInstanceOptionResult'], + ipxe_script: str, + is_pv_encryption_in_transit_enabled: bool, + launch_mode: str, + launch_options: Sequence['outputs.GetInstanceConfigurationsInstanceConfigurationInstanceDetailOptionLaunchDetailLaunchOptionResult'], + metadata: Mapping[str, Any], + platform_configs: Sequence['outputs.GetInstanceConfigurationsInstanceConfigurationInstanceDetailOptionLaunchDetailPlatformConfigResult'], + preemptible_instance_configs: Sequence['outputs.GetInstanceConfigurationsInstanceConfigurationInstanceDetailOptionLaunchDetailPreemptibleInstanceConfigResult'], + preferred_maintenance_action: str, + shape: str, + shape_configs: Sequence['outputs.GetInstanceConfigurationsInstanceConfigurationInstanceDetailOptionLaunchDetailShapeConfigResult'], + source_details: Sequence['outputs.GetInstanceConfigurationsInstanceConfigurationInstanceDetailOptionLaunchDetailSourceDetailResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("agent_configs", agent_configs) + _setter("availability_configs", availability_configs) + _setter("availability_domain", availability_domain) + _setter("capacity_reservation_id", capacity_reservation_id) + _setter("compartment_id", compartment_id) + _setter("create_vnic_details", create_vnic_details) + _setter("dedicated_vm_host_id", dedicated_vm_host_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("extended_metadata", extended_metadata) + _setter("fault_domain", fault_domain) + _setter("freeform_tags", freeform_tags) + _setter("instance_options", instance_options) + _setter("ipxe_script", ipxe_script) + _setter("is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) + _setter("launch_mode", launch_mode) + _setter("launch_options", launch_options) + _setter("metadata", metadata) + _setter("platform_configs", platform_configs) + _setter("preemptible_instance_configs", preemptible_instance_configs) + _setter("preferred_maintenance_action", preferred_maintenance_action) + _setter("shape", shape) + _setter("shape_configs", shape_configs) + _setter("source_details", source_details) @property @pulumi.getter(name="agentConfigs") @@ -29105,10 +36019,25 @@ def __init__(__self__, *, :param bool is_monitoring_disabled: Whether Oracle Cloud Agent can gather performance metrics and monitor the instance using the monitoring plugins. Default value is false (monitoring plugins are enabled). :param Sequence['GetInstanceConfigurationsInstanceConfigurationInstanceDetailOptionLaunchDetailAgentConfigPluginsConfigArgs'] plugins_configs: The configuration of plugins associated with this instance. """ - pulumi.set(__self__, "are_all_plugins_disabled", are_all_plugins_disabled) - pulumi.set(__self__, "is_management_disabled", is_management_disabled) - pulumi.set(__self__, "is_monitoring_disabled", is_monitoring_disabled) - pulumi.set(__self__, "plugins_configs", plugins_configs) + GetInstanceConfigurationsInstanceConfigurationInstanceDetailOptionLaunchDetailAgentConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + are_all_plugins_disabled=are_all_plugins_disabled, + is_management_disabled=is_management_disabled, + is_monitoring_disabled=is_monitoring_disabled, + plugins_configs=plugins_configs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + are_all_plugins_disabled: bool, + is_management_disabled: bool, + is_monitoring_disabled: bool, + plugins_configs: Sequence['outputs.GetInstanceConfigurationsInstanceConfigurationInstanceDetailOptionLaunchDetailAgentConfigPluginsConfigResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("are_all_plugins_disabled", are_all_plugins_disabled) + _setter("is_management_disabled", is_management_disabled) + _setter("is_monitoring_disabled", is_monitoring_disabled) + _setter("plugins_configs", plugins_configs) @property @pulumi.getter(name="areAllPluginsDisabled") @@ -29152,8 +36081,19 @@ def __init__(__self__, *, :param str desired_state: Whether the plugin should be enabled or disabled. :param str name: The plugin name. To get a list of available plugins, use the [ListInstanceagentAvailablePlugins](https://docs.cloud.oracle.com/iaas/api/#/en/instanceagent/20180530/Plugin/ListInstanceagentAvailablePlugins) operation in the Oracle Cloud Agent API. For more information about the available plugins, see [Managing Plugins with Oracle Cloud Agent](https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/manage-plugins.htm). """ - pulumi.set(__self__, "desired_state", desired_state) - pulumi.set(__self__, "name", name) + GetInstanceConfigurationsInstanceConfigurationInstanceDetailOptionLaunchDetailAgentConfigPluginsConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + desired_state=desired_state, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + desired_state: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("desired_state", desired_state) + _setter("name", name) @property @pulumi.getter(name="desiredState") @@ -29181,8 +36121,19 @@ def __init__(__self__, *, :param bool is_live_migration_preferred: Whether to live migrate supported VM instances to a healthy physical VM host without disrupting running instances during infrastructure maintenance events. If null, Oracle chooses the best option for migrating the VM during infrastructure maintenance events. :param str recovery_action: The lifecycle state for an instance when it is recovered after infrastructure maintenance. """ - pulumi.set(__self__, "is_live_migration_preferred", is_live_migration_preferred) - pulumi.set(__self__, "recovery_action", recovery_action) + GetInstanceConfigurationsInstanceConfigurationInstanceDetailOptionLaunchDetailAvailabilityConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_live_migration_preferred=is_live_migration_preferred, + recovery_action=recovery_action, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_live_migration_preferred: bool, + recovery_action: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_live_migration_preferred", is_live_migration_preferred) + _setter("recovery_action", recovery_action) @property @pulumi.getter(name="isLiveMigrationPreferred") @@ -29230,18 +36181,49 @@ def __init__(__self__, *, :param bool skip_source_dest_check: Whether the source/destination check is disabled on the VNIC. See the `skipSourceDestCheck` attribute of [CreateVnicDetails](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/CreateVnicDetails/) for more information. :param str subnet_id: The OCID of the subnet to create the VNIC in. See the `subnetId` attribute of [CreateVnicDetails](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/CreateVnicDetails/) for more information. """ - pulumi.set(__self__, "assign_ipv6ip", assign_ipv6ip) - pulumi.set(__self__, "assign_private_dns_record", assign_private_dns_record) - pulumi.set(__self__, "assign_public_ip", assign_public_ip) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "hostname_label", hostname_label) - pulumi.set(__self__, "ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) - pulumi.set(__self__, "nsg_ids", nsg_ids) - pulumi.set(__self__, "private_ip", private_ip) - pulumi.set(__self__, "skip_source_dest_check", skip_source_dest_check) - pulumi.set(__self__, "subnet_id", subnet_id) + GetInstanceConfigurationsInstanceConfigurationInstanceDetailOptionLaunchDetailCreateVnicDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + assign_ipv6ip=assign_ipv6ip, + assign_private_dns_record=assign_private_dns_record, + assign_public_ip=assign_public_ip, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + hostname_label=hostname_label, + ipv6address_ipv6subnet_cidr_pair_details=ipv6address_ipv6subnet_cidr_pair_details, + nsg_ids=nsg_ids, + private_ip=private_ip, + skip_source_dest_check=skip_source_dest_check, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + assign_ipv6ip: bool, + assign_private_dns_record: bool, + assign_public_ip: bool, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + hostname_label: str, + ipv6address_ipv6subnet_cidr_pair_details: Sequence['outputs.GetInstanceConfigurationsInstanceConfigurationInstanceDetailOptionLaunchDetailCreateVnicDetailIpv6addressIpv6subnetCidrPairDetailResult'], + nsg_ids: Sequence[str], + private_ip: str, + skip_source_dest_check: bool, + subnet_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("assign_ipv6ip", assign_ipv6ip) + _setter("assign_private_dns_record", assign_private_dns_record) + _setter("assign_public_ip", assign_public_ip) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("hostname_label", hostname_label) + _setter("ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) + _setter("nsg_ids", nsg_ids) + _setter("private_ip", private_ip) + _setter("skip_source_dest_check", skip_source_dest_check) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="assignIpv6ip") @@ -29349,8 +36331,19 @@ def __init__(__self__, *, :param str ipv6address: Optional. An available IPv6 address of your subnet from a valid IPv6 prefix on the subnet (otherwise the IP address is automatically assigned). :param str ipv6subnet_cidr: Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation. """ - pulumi.set(__self__, "ipv6address", ipv6address) - pulumi.set(__self__, "ipv6subnet_cidr", ipv6subnet_cidr) + GetInstanceConfigurationsInstanceConfigurationInstanceDetailOptionLaunchDetailCreateVnicDetailIpv6addressIpv6subnetCidrPairDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ipv6address=ipv6address, + ipv6subnet_cidr=ipv6subnet_cidr, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ipv6address: str, + ipv6subnet_cidr: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ipv6address", ipv6address) + _setter("ipv6subnet_cidr", ipv6subnet_cidr) @property @pulumi.getter @@ -29376,7 +36369,16 @@ def __init__(__self__, *, """ :param bool are_legacy_imds_endpoints_disabled: Whether to disable the legacy (/v1) instance metadata service endpoints. Customers who have migrated to /v2 should set this to true for added security. Default is false. """ - pulumi.set(__self__, "are_legacy_imds_endpoints_disabled", are_legacy_imds_endpoints_disabled) + GetInstanceConfigurationsInstanceConfigurationInstanceDetailOptionLaunchDetailInstanceOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + are_legacy_imds_endpoints_disabled=are_legacy_imds_endpoints_disabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + are_legacy_imds_endpoints_disabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("are_legacy_imds_endpoints_disabled", are_legacy_imds_endpoints_disabled) @property @pulumi.getter(name="areLegacyImdsEndpointsDisabled") @@ -29404,12 +36406,31 @@ def __init__(__self__, *, :param str network_type: Emulation type for the physical network interface card (NIC). :param str remote_data_volume_type: Emulation type for volume. """ - pulumi.set(__self__, "boot_volume_type", boot_volume_type) - pulumi.set(__self__, "firmware", firmware) - pulumi.set(__self__, "is_consistent_volume_naming_enabled", is_consistent_volume_naming_enabled) - pulumi.set(__self__, "is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) - pulumi.set(__self__, "network_type", network_type) - pulumi.set(__self__, "remote_data_volume_type", remote_data_volume_type) + GetInstanceConfigurationsInstanceConfigurationInstanceDetailOptionLaunchDetailLaunchOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + boot_volume_type=boot_volume_type, + firmware=firmware, + is_consistent_volume_naming_enabled=is_consistent_volume_naming_enabled, + is_pv_encryption_in_transit_enabled=is_pv_encryption_in_transit_enabled, + network_type=network_type, + remote_data_volume_type=remote_data_volume_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + boot_volume_type: str, + firmware: str, + is_consistent_volume_naming_enabled: bool, + is_pv_encryption_in_transit_enabled: bool, + network_type: str, + remote_data_volume_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("boot_volume_type", boot_volume_type) + _setter("firmware", firmware) + _setter("is_consistent_volume_naming_enabled", is_consistent_volume_naming_enabled) + _setter("is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) + _setter("network_type", network_type) + _setter("remote_data_volume_type", remote_data_volume_type) @property @pulumi.getter(name="bootVolumeType") @@ -29487,17 +36508,46 @@ def __init__(__self__, *, :param int percentage_of_cores_enabled: The percentage of cores enabled. Value must be a multiple of 25%. If the requested percentage results in a fractional number of cores, the system rounds up the number of cores across processors and provisions an instance with a whole number of cores. :param str type: The type of action to run when the instance is interrupted for eviction. """ - pulumi.set(__self__, "are_virtual_instructions_enabled", are_virtual_instructions_enabled) - pulumi.set(__self__, "is_access_control_service_enabled", is_access_control_service_enabled) - pulumi.set(__self__, "is_input_output_memory_management_unit_enabled", is_input_output_memory_management_unit_enabled) - pulumi.set(__self__, "is_measured_boot_enabled", is_measured_boot_enabled) - pulumi.set(__self__, "is_memory_encryption_enabled", is_memory_encryption_enabled) - pulumi.set(__self__, "is_secure_boot_enabled", is_secure_boot_enabled) - pulumi.set(__self__, "is_symmetric_multi_threading_enabled", is_symmetric_multi_threading_enabled) - pulumi.set(__self__, "is_trusted_platform_module_enabled", is_trusted_platform_module_enabled) - pulumi.set(__self__, "numa_nodes_per_socket", numa_nodes_per_socket) - pulumi.set(__self__, "percentage_of_cores_enabled", percentage_of_cores_enabled) - pulumi.set(__self__, "type", type) + GetInstanceConfigurationsInstanceConfigurationInstanceDetailOptionLaunchDetailPlatformConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + are_virtual_instructions_enabled=are_virtual_instructions_enabled, + is_access_control_service_enabled=is_access_control_service_enabled, + is_input_output_memory_management_unit_enabled=is_input_output_memory_management_unit_enabled, + is_measured_boot_enabled=is_measured_boot_enabled, + is_memory_encryption_enabled=is_memory_encryption_enabled, + is_secure_boot_enabled=is_secure_boot_enabled, + is_symmetric_multi_threading_enabled=is_symmetric_multi_threading_enabled, + is_trusted_platform_module_enabled=is_trusted_platform_module_enabled, + numa_nodes_per_socket=numa_nodes_per_socket, + percentage_of_cores_enabled=percentage_of_cores_enabled, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + are_virtual_instructions_enabled: bool, + is_access_control_service_enabled: bool, + is_input_output_memory_management_unit_enabled: bool, + is_measured_boot_enabled: bool, + is_memory_encryption_enabled: bool, + is_secure_boot_enabled: bool, + is_symmetric_multi_threading_enabled: bool, + is_trusted_platform_module_enabled: bool, + numa_nodes_per_socket: str, + percentage_of_cores_enabled: int, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("are_virtual_instructions_enabled", are_virtual_instructions_enabled) + _setter("is_access_control_service_enabled", is_access_control_service_enabled) + _setter("is_input_output_memory_management_unit_enabled", is_input_output_memory_management_unit_enabled) + _setter("is_measured_boot_enabled", is_measured_boot_enabled) + _setter("is_memory_encryption_enabled", is_memory_encryption_enabled) + _setter("is_secure_boot_enabled", is_secure_boot_enabled) + _setter("is_symmetric_multi_threading_enabled", is_symmetric_multi_threading_enabled) + _setter("is_trusted_platform_module_enabled", is_trusted_platform_module_enabled) + _setter("numa_nodes_per_socket", numa_nodes_per_socket) + _setter("percentage_of_cores_enabled", percentage_of_cores_enabled) + _setter("type", type) @property @pulumi.getter(name="areVirtualInstructionsEnabled") @@ -29595,7 +36645,16 @@ def __init__(__self__, *, """ :param Sequence['GetInstanceConfigurationsInstanceConfigurationInstanceDetailOptionLaunchDetailPreemptibleInstanceConfigPreemptionActionArgs'] preemption_actions: The action to run when the preemptible instance is interrupted for eviction. """ - pulumi.set(__self__, "preemption_actions", preemption_actions) + GetInstanceConfigurationsInstanceConfigurationInstanceDetailOptionLaunchDetailPreemptibleInstanceConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + preemption_actions=preemption_actions, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + preemption_actions: Sequence['outputs.GetInstanceConfigurationsInstanceConfigurationInstanceDetailOptionLaunchDetailPreemptibleInstanceConfigPreemptionActionResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("preemption_actions", preemption_actions) @property @pulumi.getter(name="preemptionActions") @@ -29615,8 +36674,19 @@ def __init__(__self__, *, :param bool preserve_boot_volume: Whether to preserve the boot volume that was used to launch the preemptible instance when the instance is terminated. Defaults to false if not specified. :param str type: The type of action to run when the instance is interrupted for eviction. """ - pulumi.set(__self__, "preserve_boot_volume", preserve_boot_volume) - pulumi.set(__self__, "type", type) + GetInstanceConfigurationsInstanceConfigurationInstanceDetailOptionLaunchDetailPreemptibleInstanceConfigPreemptionActionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + preserve_boot_volume=preserve_boot_volume, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + preserve_boot_volume: bool, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("preserve_boot_volume", preserve_boot_volume) + _setter("type", type) @property @pulumi.getter(name="preserveBootVolume") @@ -29650,11 +36720,28 @@ def __init__(__self__, *, :param float ocpus: The total number of OCPUs available to the instance. :param int vcpus: The total number of VCPUs available to the instance. This can be used instead of OCPUs, in which case the actual number of OCPUs will be calculated based on this value and the actual hardware. This must be a multiple of 2. """ - pulumi.set(__self__, "baseline_ocpu_utilization", baseline_ocpu_utilization) - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "nvmes", nvmes) - pulumi.set(__self__, "ocpus", ocpus) - pulumi.set(__self__, "vcpus", vcpus) + GetInstanceConfigurationsInstanceConfigurationInstanceDetailOptionLaunchDetailShapeConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + baseline_ocpu_utilization=baseline_ocpu_utilization, + memory_in_gbs=memory_in_gbs, + nvmes=nvmes, + ocpus=ocpus, + vcpus=vcpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + baseline_ocpu_utilization: str, + memory_in_gbs: float, + nvmes: int, + ocpus: float, + vcpus: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("baseline_ocpu_utilization", baseline_ocpu_utilization) + _setter("memory_in_gbs", memory_in_gbs) + _setter("nvmes", nvmes) + _setter("ocpus", ocpus) + _setter("vcpus", vcpus) @property @pulumi.getter(name="baselineOcpuUtilization") @@ -29716,13 +36803,34 @@ def __init__(__self__, *, :param str kms_key_id: The OCID of the Vault service key to assign as the master encryption key for the volume. :param str source_type: The source type for the instance. Use `image` when specifying the image OCID. Use `bootVolume` when specifying the boot volume OCID. """ - pulumi.set(__self__, "boot_volume_id", boot_volume_id) - pulumi.set(__self__, "boot_volume_size_in_gbs", boot_volume_size_in_gbs) - pulumi.set(__self__, "boot_volume_vpus_per_gb", boot_volume_vpus_per_gb) - pulumi.set(__self__, "image_id", image_id) - pulumi.set(__self__, "instance_source_image_filter_details", instance_source_image_filter_details) - pulumi.set(__self__, "kms_key_id", kms_key_id) - pulumi.set(__self__, "source_type", source_type) + GetInstanceConfigurationsInstanceConfigurationInstanceDetailOptionLaunchDetailSourceDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + boot_volume_id=boot_volume_id, + boot_volume_size_in_gbs=boot_volume_size_in_gbs, + boot_volume_vpus_per_gb=boot_volume_vpus_per_gb, + image_id=image_id, + instance_source_image_filter_details=instance_source_image_filter_details, + kms_key_id=kms_key_id, + source_type=source_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + boot_volume_id: str, + boot_volume_size_in_gbs: str, + boot_volume_vpus_per_gb: str, + image_id: str, + instance_source_image_filter_details: Sequence['outputs.GetInstanceConfigurationsInstanceConfigurationInstanceDetailOptionLaunchDetailSourceDetailInstanceSourceImageFilterDetailResult'], + kms_key_id: str, + source_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("boot_volume_id", boot_volume_id) + _setter("boot_volume_size_in_gbs", boot_volume_size_in_gbs) + _setter("boot_volume_vpus_per_gb", boot_volume_vpus_per_gb) + _setter("image_id", image_id) + _setter("instance_source_image_filter_details", instance_source_image_filter_details) + _setter("kms_key_id", kms_key_id) + _setter("source_type", source_type) @property @pulumi.getter(name="bootVolumeId") @@ -29794,10 +36902,25 @@ def __init__(__self__, *, :param str operating_system: The image's operating system. Example: `Oracle Linux` :param str operating_system_version: The image's operating system version. Example: `7.2` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags_filter", defined_tags_filter) - pulumi.set(__self__, "operating_system", operating_system) - pulumi.set(__self__, "operating_system_version", operating_system_version) + GetInstanceConfigurationsInstanceConfigurationInstanceDetailOptionLaunchDetailSourceDetailInstanceSourceImageFilterDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags_filter=defined_tags_filter, + operating_system=operating_system, + operating_system_version=operating_system_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags_filter: Mapping[str, Any], + operating_system: str, + operating_system_version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags_filter", defined_tags_filter) + _setter("operating_system", operating_system) + _setter("operating_system_version", operating_system_version) @property @pulumi.getter(name="compartmentId") @@ -29843,9 +36966,22 @@ def __init__(__self__, *, :param str display_name: A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. :param int nic_index: Which physical network interface card (NIC) the VNIC will use. Defaults to 0. Certain bare metal instance shapes have two active physical NICs (0 and 1). If you add a secondary VNIC to one of these instances, you can specify which NIC the VNIC will use. For more information, see [Virtual Network Interface Cards (VNICs)](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingVNICs.htm). """ - pulumi.set(__self__, "create_vnic_details", create_vnic_details) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "nic_index", nic_index) + GetInstanceConfigurationsInstanceConfigurationInstanceDetailOptionSecondaryVnicResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + create_vnic_details=create_vnic_details, + display_name=display_name, + nic_index=nic_index, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + create_vnic_details: Sequence['outputs.GetInstanceConfigurationsInstanceConfigurationInstanceDetailOptionSecondaryVnicCreateVnicDetailResult'], + display_name: str, + nic_index: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("create_vnic_details", create_vnic_details) + _setter("display_name", display_name) + _setter("nic_index", nic_index) @property @pulumi.getter(name="createVnicDetails") @@ -29901,18 +37037,49 @@ def __init__(__self__, *, :param bool skip_source_dest_check: Whether the source/destination check is disabled on the VNIC. See the `skipSourceDestCheck` attribute of [CreateVnicDetails](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/CreateVnicDetails/) for more information. :param str subnet_id: The OCID of the subnet to create the VNIC in. See the `subnetId` attribute of [CreateVnicDetails](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/CreateVnicDetails/) for more information. """ - pulumi.set(__self__, "assign_ipv6ip", assign_ipv6ip) - pulumi.set(__self__, "assign_private_dns_record", assign_private_dns_record) - pulumi.set(__self__, "assign_public_ip", assign_public_ip) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "hostname_label", hostname_label) - pulumi.set(__self__, "ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) - pulumi.set(__self__, "nsg_ids", nsg_ids) - pulumi.set(__self__, "private_ip", private_ip) - pulumi.set(__self__, "skip_source_dest_check", skip_source_dest_check) - pulumi.set(__self__, "subnet_id", subnet_id) + GetInstanceConfigurationsInstanceConfigurationInstanceDetailOptionSecondaryVnicCreateVnicDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + assign_ipv6ip=assign_ipv6ip, + assign_private_dns_record=assign_private_dns_record, + assign_public_ip=assign_public_ip, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + hostname_label=hostname_label, + ipv6address_ipv6subnet_cidr_pair_details=ipv6address_ipv6subnet_cidr_pair_details, + nsg_ids=nsg_ids, + private_ip=private_ip, + skip_source_dest_check=skip_source_dest_check, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + assign_ipv6ip: bool, + assign_private_dns_record: bool, + assign_public_ip: bool, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + hostname_label: str, + ipv6address_ipv6subnet_cidr_pair_details: Sequence['outputs.GetInstanceConfigurationsInstanceConfigurationInstanceDetailOptionSecondaryVnicCreateVnicDetailIpv6addressIpv6subnetCidrPairDetailResult'], + nsg_ids: Sequence[str], + private_ip: str, + skip_source_dest_check: bool, + subnet_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("assign_ipv6ip", assign_ipv6ip) + _setter("assign_private_dns_record", assign_private_dns_record) + _setter("assign_public_ip", assign_public_ip) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("hostname_label", hostname_label) + _setter("ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) + _setter("nsg_ids", nsg_ids) + _setter("private_ip", private_ip) + _setter("skip_source_dest_check", skip_source_dest_check) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="assignIpv6ip") @@ -30020,8 +37187,19 @@ def __init__(__self__, *, :param str ipv6address: Optional. An available IPv6 address of your subnet from a valid IPv6 prefix on the subnet (otherwise the IP address is automatically assigned). :param str ipv6subnet_cidr: Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation. """ - pulumi.set(__self__, "ipv6address", ipv6address) - pulumi.set(__self__, "ipv6subnet_cidr", ipv6subnet_cidr) + GetInstanceConfigurationsInstanceConfigurationInstanceDetailOptionSecondaryVnicCreateVnicDetailIpv6addressIpv6subnetCidrPairDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ipv6address=ipv6address, + ipv6subnet_cidr=ipv6subnet_cidr, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ipv6address: str, + ipv6subnet_cidr: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ipv6address", ipv6address) + _setter("ipv6subnet_cidr", ipv6subnet_cidr) @property @pulumi.getter @@ -30051,9 +37229,22 @@ def __init__(__self__, *, :param str display_name: A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. :param int nic_index: Which physical network interface card (NIC) the VNIC will use. Defaults to 0. Certain bare metal instance shapes have two active physical NICs (0 and 1). If you add a secondary VNIC to one of these instances, you can specify which NIC the VNIC will use. For more information, see [Virtual Network Interface Cards (VNICs)](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingVNICs.htm). """ - pulumi.set(__self__, "create_vnic_details", create_vnic_details) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "nic_index", nic_index) + GetInstanceConfigurationsInstanceConfigurationInstanceDetailSecondaryVnicResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + create_vnic_details=create_vnic_details, + display_name=display_name, + nic_index=nic_index, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + create_vnic_details: Sequence['outputs.GetInstanceConfigurationsInstanceConfigurationInstanceDetailSecondaryVnicCreateVnicDetailResult'], + display_name: str, + nic_index: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("create_vnic_details", create_vnic_details) + _setter("display_name", display_name) + _setter("nic_index", nic_index) @property @pulumi.getter(name="createVnicDetails") @@ -30109,18 +37300,49 @@ def __init__(__self__, *, :param bool skip_source_dest_check: Whether the source/destination check is disabled on the VNIC. See the `skipSourceDestCheck` attribute of [CreateVnicDetails](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/CreateVnicDetails/) for more information. :param str subnet_id: The OCID of the subnet to create the VNIC in. See the `subnetId` attribute of [CreateVnicDetails](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/CreateVnicDetails/) for more information. """ - pulumi.set(__self__, "assign_ipv6ip", assign_ipv6ip) - pulumi.set(__self__, "assign_private_dns_record", assign_private_dns_record) - pulumi.set(__self__, "assign_public_ip", assign_public_ip) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "hostname_label", hostname_label) - pulumi.set(__self__, "ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) - pulumi.set(__self__, "nsg_ids", nsg_ids) - pulumi.set(__self__, "private_ip", private_ip) - pulumi.set(__self__, "skip_source_dest_check", skip_source_dest_check) - pulumi.set(__self__, "subnet_id", subnet_id) + GetInstanceConfigurationsInstanceConfigurationInstanceDetailSecondaryVnicCreateVnicDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + assign_ipv6ip=assign_ipv6ip, + assign_private_dns_record=assign_private_dns_record, + assign_public_ip=assign_public_ip, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + hostname_label=hostname_label, + ipv6address_ipv6subnet_cidr_pair_details=ipv6address_ipv6subnet_cidr_pair_details, + nsg_ids=nsg_ids, + private_ip=private_ip, + skip_source_dest_check=skip_source_dest_check, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + assign_ipv6ip: bool, + assign_private_dns_record: bool, + assign_public_ip: bool, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + hostname_label: str, + ipv6address_ipv6subnet_cidr_pair_details: Sequence['outputs.GetInstanceConfigurationsInstanceConfigurationInstanceDetailSecondaryVnicCreateVnicDetailIpv6addressIpv6subnetCidrPairDetailResult'], + nsg_ids: Sequence[str], + private_ip: str, + skip_source_dest_check: bool, + subnet_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("assign_ipv6ip", assign_ipv6ip) + _setter("assign_private_dns_record", assign_private_dns_record) + _setter("assign_public_ip", assign_public_ip) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("hostname_label", hostname_label) + _setter("ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) + _setter("nsg_ids", nsg_ids) + _setter("private_ip", private_ip) + _setter("skip_source_dest_check", skip_source_dest_check) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="assignIpv6ip") @@ -30228,8 +37450,19 @@ def __init__(__self__, *, :param str ipv6address: Optional. An available IPv6 address of your subnet from a valid IPv6 prefix on the subnet (otherwise the IP address is automatically assigned). :param str ipv6subnet_cidr: Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation. """ - pulumi.set(__self__, "ipv6address", ipv6address) - pulumi.set(__self__, "ipv6subnet_cidr", ipv6subnet_cidr) + GetInstanceConfigurationsInstanceConfigurationInstanceDetailSecondaryVnicCreateVnicDetailIpv6addressIpv6subnetCidrPairDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ipv6address=ipv6address, + ipv6subnet_cidr=ipv6subnet_cidr, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ipv6address: str, + ipv6subnet_cidr: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ipv6address", ipv6address) + _setter("ipv6subnet_cidr", ipv6subnet_cidr) @property @pulumi.getter @@ -30254,10 +37487,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetInstanceConsoleConnectionsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -30301,17 +37547,46 @@ def __init__(__self__, *, :param str state: The current state of the console connection. :param str vnc_connection_string: The SSH connection string for the SSH tunnel used to connect to the console connection over VNC. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "connection_string", connection_string) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "fingerprint", fingerprint) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "instance_id", instance_id) - pulumi.set(__self__, "public_key", public_key) - pulumi.set(__self__, "service_host_key_fingerprint", service_host_key_fingerprint) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "vnc_connection_string", vnc_connection_string) + GetInstanceConsoleConnectionsInstanceConsoleConnectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + connection_string=connection_string, + defined_tags=defined_tags, + fingerprint=fingerprint, + freeform_tags=freeform_tags, + id=id, + instance_id=instance_id, + public_key=public_key, + service_host_key_fingerprint=service_host_key_fingerprint, + state=state, + vnc_connection_string=vnc_connection_string, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + connection_string: str, + defined_tags: Mapping[str, Any], + fingerprint: str, + freeform_tags: Mapping[str, Any], + id: str, + instance_id: str, + public_key: str, + service_host_key_fingerprint: str, + state: str, + vnc_connection_string: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("connection_string", connection_string) + _setter("defined_tags", defined_tags) + _setter("fingerprint", fingerprint) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("instance_id", instance_id) + _setter("public_key", public_key) + _setter("service_host_key_fingerprint", service_host_key_fingerprint) + _setter("state", state) + _setter("vnc_connection_string", vnc_connection_string) @property @pulumi.getter(name="compartmentId") @@ -30422,19 +37697,52 @@ def __init__(__self__, *, :param str hostname_label: The hostname for the instance VNIC's primary private IP. :param str private_ip: The private IP address of instance VNIC. To set the private IP address, use the `private_ip` argument in create_vnic_details. """ - pulumi.set(__self__, "assign_ipv6ip", assign_ipv6ip) - pulumi.set(__self__, "assign_private_dns_record", assign_private_dns_record) - pulumi.set(__self__, "assign_public_ip", assign_public_ip) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "hostname_label", hostname_label) - pulumi.set(__self__, "ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) - pulumi.set(__self__, "nsg_ids", nsg_ids) - pulumi.set(__self__, "private_ip", private_ip) - pulumi.set(__self__, "skip_source_dest_check", skip_source_dest_check) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "vlan_id", vlan_id) + GetInstanceCreateVnicDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + assign_ipv6ip=assign_ipv6ip, + assign_private_dns_record=assign_private_dns_record, + assign_public_ip=assign_public_ip, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + hostname_label=hostname_label, + ipv6address_ipv6subnet_cidr_pair_details=ipv6address_ipv6subnet_cidr_pair_details, + nsg_ids=nsg_ids, + private_ip=private_ip, + skip_source_dest_check=skip_source_dest_check, + subnet_id=subnet_id, + vlan_id=vlan_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + assign_ipv6ip: bool, + assign_private_dns_record: bool, + assign_public_ip: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + hostname_label: str, + ipv6address_ipv6subnet_cidr_pair_details: Sequence['outputs.GetInstanceCreateVnicDetailIpv6addressIpv6subnetCidrPairDetailResult'], + nsg_ids: Sequence[str], + private_ip: str, + skip_source_dest_check: bool, + subnet_id: str, + vlan_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("assign_ipv6ip", assign_ipv6ip) + _setter("assign_private_dns_record", assign_private_dns_record) + _setter("assign_public_ip", assign_public_ip) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("hostname_label", hostname_label) + _setter("ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) + _setter("nsg_ids", nsg_ids) + _setter("private_ip", private_ip) + _setter("skip_source_dest_check", skip_source_dest_check) + _setter("subnet_id", subnet_id) + _setter("vlan_id", vlan_id) @property @pulumi.getter(name="assignIpv6ip") @@ -30522,8 +37830,19 @@ class GetInstanceCreateVnicDetailIpv6addressIpv6subnetCidrPairDetailResult(dict) def __init__(__self__, *, ipv6address: str, ipv6subnet_cidr: str): - pulumi.set(__self__, "ipv6address", ipv6address) - pulumi.set(__self__, "ipv6subnet_cidr", ipv6subnet_cidr) + GetInstanceCreateVnicDetailIpv6addressIpv6subnetCidrPairDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ipv6address=ipv6address, + ipv6subnet_cidr=ipv6subnet_cidr, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ipv6address: str, + ipv6subnet_cidr: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ipv6address", ipv6address) + _setter("ipv6subnet_cidr", ipv6subnet_cidr) @property @pulumi.getter @@ -30545,8 +37864,19 @@ def __init__(__self__, *, :param bool is_available: A filter to return only available devices or only used devices. :param str name: A filter to return only devices that match the given name exactly. """ - pulumi.set(__self__, "is_available", is_available) - pulumi.set(__self__, "name", name) + GetInstanceDevicesDeviceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_available=is_available, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_available: bool, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_available", is_available) + _setter("name", name) @property @pulumi.getter(name="isAvailable") @@ -30574,10 +37904,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only devices that match the given name exactly. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetInstanceDevicesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -30605,7 +37948,16 @@ def __init__(__self__, *, """ :param bool are_legacy_imds_endpoints_disabled: Whether to disable the legacy (/v1) instance metadata service endpoints. Customers who have migrated to /v2 should set this to true for added security. Default is false. """ - pulumi.set(__self__, "are_legacy_imds_endpoints_disabled", are_legacy_imds_endpoints_disabled) + GetInstanceInstanceOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + are_legacy_imds_endpoints_disabled=are_legacy_imds_endpoints_disabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + are_legacy_imds_endpoints_disabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("are_legacy_imds_endpoints_disabled", are_legacy_imds_endpoints_disabled) @property @pulumi.getter(name="areLegacyImdsEndpointsDisabled") @@ -30633,12 +37985,31 @@ def __init__(__self__, *, :param str network_type: Emulation type for the physical network interface card (NIC). :param str remote_data_volume_type: Emulation type for volume. """ - pulumi.set(__self__, "boot_volume_type", boot_volume_type) - pulumi.set(__self__, "firmware", firmware) - pulumi.set(__self__, "is_consistent_volume_naming_enabled", is_consistent_volume_naming_enabled) - pulumi.set(__self__, "is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) - pulumi.set(__self__, "network_type", network_type) - pulumi.set(__self__, "remote_data_volume_type", remote_data_volume_type) + GetInstanceLaunchOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + boot_volume_type=boot_volume_type, + firmware=firmware, + is_consistent_volume_naming_enabled=is_consistent_volume_naming_enabled, + is_pv_encryption_in_transit_enabled=is_pv_encryption_in_transit_enabled, + network_type=network_type, + remote_data_volume_type=remote_data_volume_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + boot_volume_type: str, + firmware: str, + is_consistent_volume_naming_enabled: bool, + is_pv_encryption_in_transit_enabled: bool, + network_type: str, + remote_data_volume_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("boot_volume_type", boot_volume_type) + _setter("firmware", firmware) + _setter("is_consistent_volume_naming_enabled", is_consistent_volume_naming_enabled) + _setter("is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) + _setter("network_type", network_type) + _setter("remote_data_volume_type", remote_data_volume_type) @property @pulumi.getter(name="bootVolumeType") @@ -30698,8 +38069,19 @@ def __init__(__self__, *, :param Sequence['GetInstanceMeasuredBootReportMeasurementActualArgs'] actuals: The list of actual PCR entries measured during boot. :param Sequence['GetInstanceMeasuredBootReportMeasurementPolicyArgs'] policies: The list of expected PCR entries to use during verification. """ - pulumi.set(__self__, "actuals", actuals) - pulumi.set(__self__, "policies", policies) + GetInstanceMeasuredBootReportMeasurementResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + actuals=actuals, + policies=policies, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + actuals: Sequence['outputs.GetInstanceMeasuredBootReportMeasurementActualResult'], + policies: Sequence['outputs.GetInstanceMeasuredBootReportMeasurementPolicyResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("actuals", actuals) + _setter("policies", policies) @property @pulumi.getter @@ -30729,9 +38111,22 @@ def __init__(__self__, *, :param str pcr_index: The index of the policy. :param str value: The hashed PCR value. """ - pulumi.set(__self__, "hash_algorithm", hash_algorithm) - pulumi.set(__self__, "pcr_index", pcr_index) - pulumi.set(__self__, "value", value) + GetInstanceMeasuredBootReportMeasurementActualResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + hash_algorithm=hash_algorithm, + pcr_index=pcr_index, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hash_algorithm: str, + pcr_index: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("hash_algorithm", hash_algorithm) + _setter("pcr_index", pcr_index) + _setter("value", value) @property @pulumi.getter(name="hashAlgorithm") @@ -30769,9 +38164,22 @@ def __init__(__self__, *, :param str pcr_index: The index of the policy. :param str value: The hashed PCR value. """ - pulumi.set(__self__, "hash_algorithm", hash_algorithm) - pulumi.set(__self__, "pcr_index", pcr_index) - pulumi.set(__self__, "value", value) + GetInstanceMeasuredBootReportMeasurementPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + hash_algorithm=hash_algorithm, + pcr_index=pcr_index, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hash_algorithm: str, + pcr_index: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("hash_algorithm", hash_algorithm) + _setter("pcr_index", pcr_index) + _setter("value", value) @property @pulumi.getter(name="hashAlgorithm") @@ -30827,18 +38235,49 @@ def __init__(__self__, *, :param int percentage_of_cores_enabled: The percentage of cores enabled. :param str type: (Required) The type of action to run when the instance is interrupted for eviction. """ - pulumi.set(__self__, "are_virtual_instructions_enabled", are_virtual_instructions_enabled) - pulumi.set(__self__, "config_map", config_map) - pulumi.set(__self__, "is_access_control_service_enabled", is_access_control_service_enabled) - pulumi.set(__self__, "is_input_output_memory_management_unit_enabled", is_input_output_memory_management_unit_enabled) - pulumi.set(__self__, "is_measured_boot_enabled", is_measured_boot_enabled) - pulumi.set(__self__, "is_memory_encryption_enabled", is_memory_encryption_enabled) - pulumi.set(__self__, "is_secure_boot_enabled", is_secure_boot_enabled) - pulumi.set(__self__, "is_symmetric_multi_threading_enabled", is_symmetric_multi_threading_enabled) - pulumi.set(__self__, "is_trusted_platform_module_enabled", is_trusted_platform_module_enabled) - pulumi.set(__self__, "numa_nodes_per_socket", numa_nodes_per_socket) - pulumi.set(__self__, "percentage_of_cores_enabled", percentage_of_cores_enabled) - pulumi.set(__self__, "type", type) + GetInstancePlatformConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + are_virtual_instructions_enabled=are_virtual_instructions_enabled, + config_map=config_map, + is_access_control_service_enabled=is_access_control_service_enabled, + is_input_output_memory_management_unit_enabled=is_input_output_memory_management_unit_enabled, + is_measured_boot_enabled=is_measured_boot_enabled, + is_memory_encryption_enabled=is_memory_encryption_enabled, + is_secure_boot_enabled=is_secure_boot_enabled, + is_symmetric_multi_threading_enabled=is_symmetric_multi_threading_enabled, + is_trusted_platform_module_enabled=is_trusted_platform_module_enabled, + numa_nodes_per_socket=numa_nodes_per_socket, + percentage_of_cores_enabled=percentage_of_cores_enabled, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + are_virtual_instructions_enabled: bool, + config_map: Mapping[str, Any], + is_access_control_service_enabled: bool, + is_input_output_memory_management_unit_enabled: bool, + is_measured_boot_enabled: bool, + is_memory_encryption_enabled: bool, + is_secure_boot_enabled: bool, + is_symmetric_multi_threading_enabled: bool, + is_trusted_platform_module_enabled: bool, + numa_nodes_per_socket: str, + percentage_of_cores_enabled: int, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("are_virtual_instructions_enabled", are_virtual_instructions_enabled) + _setter("config_map", config_map) + _setter("is_access_control_service_enabled", is_access_control_service_enabled) + _setter("is_input_output_memory_management_unit_enabled", is_input_output_memory_management_unit_enabled) + _setter("is_measured_boot_enabled", is_measured_boot_enabled) + _setter("is_memory_encryption_enabled", is_memory_encryption_enabled) + _setter("is_secure_boot_enabled", is_secure_boot_enabled) + _setter("is_symmetric_multi_threading_enabled", is_symmetric_multi_threading_enabled) + _setter("is_trusted_platform_module_enabled", is_trusted_platform_module_enabled) + _setter("numa_nodes_per_socket", numa_nodes_per_socket) + _setter("percentage_of_cores_enabled", percentage_of_cores_enabled) + _setter("type", type) @property @pulumi.getter(name="areVirtualInstructionsEnabled") @@ -30943,10 +38382,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetInstancePoolInstancesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -30996,21 +38448,58 @@ def __init__(__self__, *, :param str state: The lifecycle state of the instance. Refer to `lifecycleState` in the [Instance](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/Instance) resource. :param str time_created: The date and time the instance pool instance was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` """ - pulumi.set(__self__, "auto_terminate_instance_on_delete", auto_terminate_instance_on_delete) - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "decrement_size_on_delete", decrement_size_on_delete) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "fault_domain", fault_domain) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "instance_configuration_id", instance_configuration_id) - pulumi.set(__self__, "instance_id", instance_id) - pulumi.set(__self__, "instance_pool_id", instance_pool_id) - pulumi.set(__self__, "load_balancer_backends", load_balancer_backends) - pulumi.set(__self__, "region", region) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) + GetInstancePoolInstancesInstanceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + auto_terminate_instance_on_delete=auto_terminate_instance_on_delete, + availability_domain=availability_domain, + compartment_id=compartment_id, + decrement_size_on_delete=decrement_size_on_delete, + display_name=display_name, + fault_domain=fault_domain, + id=id, + instance_configuration_id=instance_configuration_id, + instance_id=instance_id, + instance_pool_id=instance_pool_id, + load_balancer_backends=load_balancer_backends, + region=region, + shape=shape, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + auto_terminate_instance_on_delete: bool, + availability_domain: str, + compartment_id: str, + decrement_size_on_delete: bool, + display_name: str, + fault_domain: str, + id: str, + instance_configuration_id: str, + instance_id: str, + instance_pool_id: str, + load_balancer_backends: Sequence['outputs.GetInstancePoolInstancesInstanceLoadBalancerBackendResult'], + region: str, + shape: str, + state: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("auto_terminate_instance_on_delete", auto_terminate_instance_on_delete) + _setter("availability_domain", availability_domain) + _setter("compartment_id", compartment_id) + _setter("decrement_size_on_delete", decrement_size_on_delete) + _setter("display_name", display_name) + _setter("fault_domain", fault_domain) + _setter("id", id) + _setter("instance_configuration_id", instance_configuration_id) + _setter("instance_id", instance_id) + _setter("instance_pool_id", instance_pool_id) + _setter("load_balancer_backends", load_balancer_backends) + _setter("region", region) + _setter("shape", shape) + _setter("state", state) + _setter("time_created", time_created) @property @pulumi.getter(name="autoTerminateInstanceOnDelete") @@ -31139,11 +38628,28 @@ def __init__(__self__, *, :param str load_balancer_id: The OCID of the load balancer attached to the instance pool. :param str state: The lifecycle state of the instance. Refer to `lifecycleState` in the [Instance](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/Instance) resource. """ - pulumi.set(__self__, "backend_health_status", backend_health_status) - pulumi.set(__self__, "backend_name", backend_name) - pulumi.set(__self__, "backend_set_name", backend_set_name) - pulumi.set(__self__, "load_balancer_id", load_balancer_id) - pulumi.set(__self__, "state", state) + GetInstancePoolInstancesInstanceLoadBalancerBackendResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + backend_health_status=backend_health_status, + backend_name=backend_name, + backend_set_name=backend_set_name, + load_balancer_id=load_balancer_id, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backend_health_status: str, + backend_name: str, + backend_set_name: str, + load_balancer_id: str, + state: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("backend_health_status", backend_health_status) + _setter("backend_name", backend_name) + _setter("backend_set_name", backend_set_name) + _setter("load_balancer_id", load_balancer_id) + _setter("state", state) @property @pulumi.getter(name="backendHealthStatus") @@ -31205,13 +38711,34 @@ def __init__(__self__, *, :param str state: The current state of the instance pool. :param str vnic_selection: Indicates which VNIC on each instance in the instance pool should be used to associate with the load balancer. Possible values are "PrimaryVnic" or the displayName of one of the secondary VNICs on the instance configuration that is associated with the instance pool. """ - pulumi.set(__self__, "backend_set_name", backend_set_name) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "instance_pool_id", instance_pool_id) - pulumi.set(__self__, "load_balancer_id", load_balancer_id) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "vnic_selection", vnic_selection) + GetInstancePoolLoadBalancerResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + backend_set_name=backend_set_name, + id=id, + instance_pool_id=instance_pool_id, + load_balancer_id=load_balancer_id, + port=port, + state=state, + vnic_selection=vnic_selection, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backend_set_name: str, + id: str, + instance_pool_id: str, + load_balancer_id: str, + port: int, + state: str, + vnic_selection: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("backend_set_name", backend_set_name) + _setter("id", id) + _setter("instance_pool_id", instance_pool_id) + _setter("load_balancer_id", load_balancer_id) + _setter("port", port) + _setter("state", state) + _setter("vnic_selection", vnic_selection) @property @pulumi.getter(name="backendSetName") @@ -31285,11 +38812,28 @@ def __init__(__self__, *, :param Sequence['GetInstancePoolPlacementConfigurationPrimaryVnicSubnetArgs'] primary_vnic_subnets: Details about the IPv6 primary subnet. :param Sequence['GetInstancePoolPlacementConfigurationSecondaryVnicSubnetArgs'] secondary_vnic_subnets: The set of secondary VNIC data for instances in the pool. """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "fault_domains", fault_domains) - pulumi.set(__self__, "primary_subnet_id", primary_subnet_id) - pulumi.set(__self__, "primary_vnic_subnets", primary_vnic_subnets) - pulumi.set(__self__, "secondary_vnic_subnets", secondary_vnic_subnets) + GetInstancePoolPlacementConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + fault_domains=fault_domains, + primary_subnet_id=primary_subnet_id, + primary_vnic_subnets=primary_vnic_subnets, + secondary_vnic_subnets=secondary_vnic_subnets, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + fault_domains: Sequence[str], + primary_subnet_id: str, + primary_vnic_subnets: Sequence['outputs.GetInstancePoolPlacementConfigurationPrimaryVnicSubnetResult'], + secondary_vnic_subnets: Sequence['outputs.GetInstancePoolPlacementConfigurationSecondaryVnicSubnetResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("fault_domains", fault_domains) + _setter("primary_subnet_id", primary_subnet_id) + _setter("primary_vnic_subnets", primary_vnic_subnets) + _setter("secondary_vnic_subnets", secondary_vnic_subnets) @property @pulumi.getter(name="availabilityDomain") @@ -31343,9 +38887,22 @@ def __init__(__self__, *, :param bool is_assign_ipv6ip: Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled subnet. Default: False. When provided you may optionally provide an IPv6 prefix (`ipv6SubnetCidr`) of your choice to assign the IPv6 address from. If `ipv6SubnetCidr` is not provided then an IPv6 prefix is chosen for you. :param str subnet_id: The subnet [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the secondary VNIC. """ - pulumi.set(__self__, "ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) - pulumi.set(__self__, "is_assign_ipv6ip", is_assign_ipv6ip) - pulumi.set(__self__, "subnet_id", subnet_id) + GetInstancePoolPlacementConfigurationPrimaryVnicSubnetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ipv6address_ipv6subnet_cidr_pair_details=ipv6address_ipv6subnet_cidr_pair_details, + is_assign_ipv6ip=is_assign_ipv6ip, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ipv6address_ipv6subnet_cidr_pair_details: Sequence['outputs.GetInstancePoolPlacementConfigurationPrimaryVnicSubnetIpv6addressIpv6subnetCidrPairDetailResult'], + is_assign_ipv6ip: bool, + subnet_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) + _setter("is_assign_ipv6ip", is_assign_ipv6ip) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="ipv6addressIpv6subnetCidrPairDetails") @@ -31379,7 +38936,16 @@ def __init__(__self__, *, """ :param str ipv6subnet_cidr: Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation. """ - pulumi.set(__self__, "ipv6subnet_cidr", ipv6subnet_cidr) + GetInstancePoolPlacementConfigurationPrimaryVnicSubnetIpv6addressIpv6subnetCidrPairDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ipv6subnet_cidr=ipv6subnet_cidr, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ipv6subnet_cidr: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ipv6subnet_cidr", ipv6subnet_cidr) @property @pulumi.getter(name="ipv6subnetCidr") @@ -31403,10 +38969,25 @@ def __init__(__self__, *, :param bool is_assign_ipv6ip: Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled subnet. Default: False. When provided you may optionally provide an IPv6 prefix (`ipv6SubnetCidr`) of your choice to assign the IPv6 address from. If `ipv6SubnetCidr` is not provided then an IPv6 prefix is chosen for you. :param str subnet_id: The subnet [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the secondary VNIC. """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) - pulumi.set(__self__, "is_assign_ipv6ip", is_assign_ipv6ip) - pulumi.set(__self__, "subnet_id", subnet_id) + GetInstancePoolPlacementConfigurationSecondaryVnicSubnetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + ipv6address_ipv6subnet_cidr_pair_details=ipv6address_ipv6subnet_cidr_pair_details, + is_assign_ipv6ip=is_assign_ipv6ip, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + ipv6address_ipv6subnet_cidr_pair_details: Sequence['outputs.GetInstancePoolPlacementConfigurationSecondaryVnicSubnetIpv6addressIpv6subnetCidrPairDetailResult'], + is_assign_ipv6ip: bool, + subnet_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) + _setter("is_assign_ipv6ip", is_assign_ipv6ip) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="displayName") @@ -31448,7 +39029,16 @@ def __init__(__self__, *, """ :param str ipv6subnet_cidr: Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation. """ - pulumi.set(__self__, "ipv6subnet_cidr", ipv6subnet_cidr) + GetInstancePoolPlacementConfigurationSecondaryVnicSubnetIpv6addressIpv6subnetCidrPairDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ipv6subnet_cidr=ipv6subnet_cidr, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ipv6subnet_cidr: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ipv6subnet_cidr", ipv6subnet_cidr) @property @pulumi.getter(name="ipv6subnetCidr") @@ -31465,10 +39055,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetInstancePoolsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -31518,20 +39121,55 @@ def __init__(__self__, *, :param str state: A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. :param str time_created: The date and time the instance pool was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` """ - pulumi.set(__self__, "actual_size", actual_size) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "instance_configuration_id", instance_configuration_id) - pulumi.set(__self__, "instance_display_name_formatter", instance_display_name_formatter) - pulumi.set(__self__, "instance_hostname_formatter", instance_hostname_formatter) - pulumi.set(__self__, "load_balancers", load_balancers) - pulumi.set(__self__, "placement_configurations", placement_configurations) - pulumi.set(__self__, "size", size) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) + GetInstancePoolsInstancePoolResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + actual_size=actual_size, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + instance_configuration_id=instance_configuration_id, + instance_display_name_formatter=instance_display_name_formatter, + instance_hostname_formatter=instance_hostname_formatter, + load_balancers=load_balancers, + placement_configurations=placement_configurations, + size=size, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + actual_size: int, + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + instance_configuration_id: str, + instance_display_name_formatter: str, + instance_hostname_formatter: str, + load_balancers: Sequence['outputs.GetInstancePoolsInstancePoolLoadBalancerResult'], + placement_configurations: Sequence['outputs.GetInstancePoolsInstancePoolPlacementConfigurationResult'], + size: int, + state: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("actual_size", actual_size) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("instance_configuration_id", instance_configuration_id) + _setter("instance_display_name_formatter", instance_display_name_formatter) + _setter("instance_hostname_formatter", instance_hostname_formatter) + _setter("load_balancers", load_balancers) + _setter("placement_configurations", placement_configurations) + _setter("size", size) + _setter("state", state) + _setter("time_created", time_created) @property @pulumi.getter(name="actualSize") @@ -31662,13 +39300,34 @@ def __init__(__self__, *, :param str state: A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. :param str vnic_selection: Indicates which VNIC on each instance in the instance pool should be used to associate with the load balancer. Possible values are "PrimaryVnic" or the displayName of one of the secondary VNICs on the instance configuration that is associated with the instance pool. """ - pulumi.set(__self__, "backend_set_name", backend_set_name) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "instance_pool_id", instance_pool_id) - pulumi.set(__self__, "load_balancer_id", load_balancer_id) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "vnic_selection", vnic_selection) + GetInstancePoolsInstancePoolLoadBalancerResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + backend_set_name=backend_set_name, + id=id, + instance_pool_id=instance_pool_id, + load_balancer_id=load_balancer_id, + port=port, + state=state, + vnic_selection=vnic_selection, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backend_set_name: str, + id: str, + instance_pool_id: str, + load_balancer_id: str, + port: int, + state: str, + vnic_selection: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("backend_set_name", backend_set_name) + _setter("id", id) + _setter("instance_pool_id", instance_pool_id) + _setter("load_balancer_id", load_balancer_id) + _setter("port", port) + _setter("state", state) + _setter("vnic_selection", vnic_selection) @property @pulumi.getter(name="backendSetName") @@ -31742,11 +39401,28 @@ def __init__(__self__, *, :param Sequence['GetInstancePoolsInstancePoolPlacementConfigurationPrimaryVnicSubnetArgs'] primary_vnic_subnets: Details about the IPv6 primary subnet. :param Sequence['GetInstancePoolsInstancePoolPlacementConfigurationSecondaryVnicSubnetArgs'] secondary_vnic_subnets: The set of secondary VNIC data for instances in the pool. """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "fault_domains", fault_domains) - pulumi.set(__self__, "primary_subnet_id", primary_subnet_id) - pulumi.set(__self__, "primary_vnic_subnets", primary_vnic_subnets) - pulumi.set(__self__, "secondary_vnic_subnets", secondary_vnic_subnets) + GetInstancePoolsInstancePoolPlacementConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + fault_domains=fault_domains, + primary_subnet_id=primary_subnet_id, + primary_vnic_subnets=primary_vnic_subnets, + secondary_vnic_subnets=secondary_vnic_subnets, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + fault_domains: Sequence[str], + primary_subnet_id: str, + primary_vnic_subnets: Sequence['outputs.GetInstancePoolsInstancePoolPlacementConfigurationPrimaryVnicSubnetResult'], + secondary_vnic_subnets: Sequence['outputs.GetInstancePoolsInstancePoolPlacementConfigurationSecondaryVnicSubnetResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("fault_domains", fault_domains) + _setter("primary_subnet_id", primary_subnet_id) + _setter("primary_vnic_subnets", primary_vnic_subnets) + _setter("secondary_vnic_subnets", secondary_vnic_subnets) @property @pulumi.getter(name="availabilityDomain") @@ -31800,9 +39476,22 @@ def __init__(__self__, *, :param bool is_assign_ipv6ip: Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled subnet. Default: False. When provided you may optionally provide an IPv6 prefix (`ipv6SubnetCidr`) of your choice to assign the IPv6 address from. If `ipv6SubnetCidr` is not provided then an IPv6 prefix is chosen for you. :param str subnet_id: The subnet [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the secondary VNIC. """ - pulumi.set(__self__, "ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) - pulumi.set(__self__, "is_assign_ipv6ip", is_assign_ipv6ip) - pulumi.set(__self__, "subnet_id", subnet_id) + GetInstancePoolsInstancePoolPlacementConfigurationPrimaryVnicSubnetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ipv6address_ipv6subnet_cidr_pair_details=ipv6address_ipv6subnet_cidr_pair_details, + is_assign_ipv6ip=is_assign_ipv6ip, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ipv6address_ipv6subnet_cidr_pair_details: Sequence['outputs.GetInstancePoolsInstancePoolPlacementConfigurationPrimaryVnicSubnetIpv6addressIpv6subnetCidrPairDetailResult'], + is_assign_ipv6ip: bool, + subnet_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) + _setter("is_assign_ipv6ip", is_assign_ipv6ip) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="ipv6addressIpv6subnetCidrPairDetails") @@ -31836,7 +39525,16 @@ def __init__(__self__, *, """ :param str ipv6subnet_cidr: Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation. """ - pulumi.set(__self__, "ipv6subnet_cidr", ipv6subnet_cidr) + GetInstancePoolsInstancePoolPlacementConfigurationPrimaryVnicSubnetIpv6addressIpv6subnetCidrPairDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ipv6subnet_cidr=ipv6subnet_cidr, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ipv6subnet_cidr: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ipv6subnet_cidr", ipv6subnet_cidr) @property @pulumi.getter(name="ipv6subnetCidr") @@ -31860,10 +39558,25 @@ def __init__(__self__, *, :param bool is_assign_ipv6ip: Whether to allocate an IPv6 address at instance and VNIC creation from an IPv6 enabled subnet. Default: False. When provided you may optionally provide an IPv6 prefix (`ipv6SubnetCidr`) of your choice to assign the IPv6 address from. If `ipv6SubnetCidr` is not provided then an IPv6 prefix is chosen for you. :param str subnet_id: The subnet [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the secondary VNIC. """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) - pulumi.set(__self__, "is_assign_ipv6ip", is_assign_ipv6ip) - pulumi.set(__self__, "subnet_id", subnet_id) + GetInstancePoolsInstancePoolPlacementConfigurationSecondaryVnicSubnetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + ipv6address_ipv6subnet_cidr_pair_details=ipv6address_ipv6subnet_cidr_pair_details, + is_assign_ipv6ip=is_assign_ipv6ip, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + ipv6address_ipv6subnet_cidr_pair_details: Sequence['outputs.GetInstancePoolsInstancePoolPlacementConfigurationSecondaryVnicSubnetIpv6addressIpv6subnetCidrPairDetailResult'], + is_assign_ipv6ip: bool, + subnet_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) + _setter("is_assign_ipv6ip", is_assign_ipv6ip) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="displayName") @@ -31905,7 +39618,16 @@ def __init__(__self__, *, """ :param str ipv6subnet_cidr: Optional. Used to disambiguate which subnet prefix should be used to create an IPv6 allocation. """ - pulumi.set(__self__, "ipv6subnet_cidr", ipv6subnet_cidr) + GetInstancePoolsInstancePoolPlacementConfigurationSecondaryVnicSubnetIpv6addressIpv6subnetCidrPairDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ipv6subnet_cidr=ipv6subnet_cidr, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ipv6subnet_cidr: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ipv6subnet_cidr", ipv6subnet_cidr) @property @pulumi.getter(name="ipv6subnetCidr") @@ -31923,7 +39645,16 @@ def __init__(__self__, *, """ :param Sequence['GetInstancePreemptibleInstanceConfigPreemptionActionArgs'] preemption_actions: (Required) The action to run when the preemptible instance is interrupted for eviction. """ - pulumi.set(__self__, "preemption_actions", preemption_actions) + GetInstancePreemptibleInstanceConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + preemption_actions=preemption_actions, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + preemption_actions: Sequence['outputs.GetInstancePreemptibleInstanceConfigPreemptionActionResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("preemption_actions", preemption_actions) @property @pulumi.getter(name="preemptionActions") @@ -31943,8 +39674,19 @@ def __init__(__self__, *, :param bool preserve_boot_volume: (Optional) Whether to preserve the boot volume that was used to launch the preemptible instance when the instance is terminated. Defaults to false if not specified. :param str type: (Required) The type of action to run when the instance is interrupted for eviction. """ - pulumi.set(__self__, "preserve_boot_volume", preserve_boot_volume) - pulumi.set(__self__, "type", type) + GetInstancePreemptibleInstanceConfigPreemptionActionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + preserve_boot_volume=preserve_boot_volume, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + preserve_boot_volume: bool, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("preserve_boot_volume", preserve_boot_volume) + _setter("type", type) @property @pulumi.getter(name="preserveBootVolume") @@ -31993,19 +39735,52 @@ def __init__(__self__, *, :param str processor_description: A short description of the instance's processor (CPU). :param int vcpus: The total number of VCPUs available to the instance. This can be used instead of OCPUs, in which case the actual number of OCPUs will be calculated based on this value and the actual hardware. This must be a multiple of 2. """ - pulumi.set(__self__, "baseline_ocpu_utilization", baseline_ocpu_utilization) - pulumi.set(__self__, "gpu_description", gpu_description) - pulumi.set(__self__, "gpus", gpus) - pulumi.set(__self__, "local_disk_description", local_disk_description) - pulumi.set(__self__, "local_disks", local_disks) - pulumi.set(__self__, "local_disks_total_size_in_gbs", local_disks_total_size_in_gbs) - pulumi.set(__self__, "max_vnic_attachments", max_vnic_attachments) - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "networking_bandwidth_in_gbps", networking_bandwidth_in_gbps) - pulumi.set(__self__, "nvmes", nvmes) - pulumi.set(__self__, "ocpus", ocpus) - pulumi.set(__self__, "processor_description", processor_description) - pulumi.set(__self__, "vcpus", vcpus) + GetInstanceShapeConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + baseline_ocpu_utilization=baseline_ocpu_utilization, + gpu_description=gpu_description, + gpus=gpus, + local_disk_description=local_disk_description, + local_disks=local_disks, + local_disks_total_size_in_gbs=local_disks_total_size_in_gbs, + max_vnic_attachments=max_vnic_attachments, + memory_in_gbs=memory_in_gbs, + networking_bandwidth_in_gbps=networking_bandwidth_in_gbps, + nvmes=nvmes, + ocpus=ocpus, + processor_description=processor_description, + vcpus=vcpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + baseline_ocpu_utilization: str, + gpu_description: str, + gpus: int, + local_disk_description: str, + local_disks: int, + local_disks_total_size_in_gbs: float, + max_vnic_attachments: int, + memory_in_gbs: float, + networking_bandwidth_in_gbps: float, + nvmes: int, + ocpus: float, + processor_description: str, + vcpus: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("baseline_ocpu_utilization", baseline_ocpu_utilization) + _setter("gpu_description", gpu_description) + _setter("gpus", gpus) + _setter("local_disk_description", local_disk_description) + _setter("local_disks", local_disks) + _setter("local_disks_total_size_in_gbs", local_disks_total_size_in_gbs) + _setter("max_vnic_attachments", max_vnic_attachments) + _setter("memory_in_gbs", memory_in_gbs) + _setter("networking_bandwidth_in_gbps", networking_bandwidth_in_gbps) + _setter("nvmes", nvmes) + _setter("ocpus", ocpus) + _setter("processor_description", processor_description) + _setter("vcpus", vcpus) @property @pulumi.getter(name="baselineOcpuUtilization") @@ -32126,12 +39901,31 @@ def __init__(__self__, *, :param str source_id: The OCID of the boot volume used to boot the instance. :param str source_type: The source type for the instance. Use `image` when specifying the image OCID. Use `bootVolume` when specifying the boot volume OCID. """ - pulumi.set(__self__, "boot_volume_size_in_gbs", boot_volume_size_in_gbs) - pulumi.set(__self__, "boot_volume_vpus_per_gb", boot_volume_vpus_per_gb) - pulumi.set(__self__, "instance_source_image_filter_details", instance_source_image_filter_details) - pulumi.set(__self__, "kms_key_id", kms_key_id) - pulumi.set(__self__, "source_id", source_id) - pulumi.set(__self__, "source_type", source_type) + GetInstanceSourceDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + boot_volume_size_in_gbs=boot_volume_size_in_gbs, + boot_volume_vpus_per_gb=boot_volume_vpus_per_gb, + instance_source_image_filter_details=instance_source_image_filter_details, + kms_key_id=kms_key_id, + source_id=source_id, + source_type=source_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + boot_volume_size_in_gbs: str, + boot_volume_vpus_per_gb: str, + instance_source_image_filter_details: Sequence['outputs.GetInstanceSourceDetailInstanceSourceImageFilterDetailResult'], + kms_key_id: str, + source_id: str, + source_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("boot_volume_size_in_gbs", boot_volume_size_in_gbs) + _setter("boot_volume_vpus_per_gb", boot_volume_vpus_per_gb) + _setter("instance_source_image_filter_details", instance_source_image_filter_details) + _setter("kms_key_id", kms_key_id) + _setter("source_id", source_id) + _setter("source_type", source_type) @property @pulumi.getter(name="bootVolumeSizeInGbs") @@ -32195,10 +39989,25 @@ def __init__(__self__, *, :param str operating_system: The image's operating system. Example: `Oracle Linux` :param str operating_system_version: The image's operating system version. Example: `7.2` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags_filter", defined_tags_filter) - pulumi.set(__self__, "operating_system", operating_system) - pulumi.set(__self__, "operating_system_version", operating_system_version) + GetInstanceSourceDetailInstanceSourceImageFilterDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags_filter=defined_tags_filter, + operating_system=operating_system, + operating_system_version=operating_system_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags_filter: Mapping[str, Any], + operating_system: str, + operating_system_version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags_filter", defined_tags_filter) + _setter("operating_system", operating_system) + _setter("operating_system_version", operating_system_version) @property @pulumi.getter(name="compartmentId") @@ -32242,10 +40051,23 @@ def __init__(__self__, *, """ :param str name: The plugin name. To get a list of available plugins, use the [ListInstanceagentAvailablePlugins](https://docs.cloud.oracle.com/iaas/api/#/en/instanceagent/20180530/Plugin/ListInstanceagentAvailablePlugins) operation in the Oracle Cloud Agent API. For more information about the available plugins, see [Managing Plugins with Oracle Cloud Agent](https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/manage-plugins.htm). """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetInstancesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -32345,47 +40167,136 @@ def __init__(__self__, *, :param str time_created: The date and time the instance was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` :param str time_maintenance_reboot_due: The date and time the instance is expected to be stopped / started, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). After that time if instance hasn't been rebooted, Oracle will reboot the instance within 24 hours of the due time. Regardless of how the instance was stopped, the flag will be reset to empty as soon as instance reaches Stopped state. Example: `2018-05-25T21:10:29.600Z` """ - pulumi.set(__self__, "agent_configs", agent_configs) - pulumi.set(__self__, "async_", async_) - pulumi.set(__self__, "availability_configs", availability_configs) - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "boot_volume_id", boot_volume_id) - pulumi.set(__self__, "capacity_reservation_id", capacity_reservation_id) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "compute_cluster_id", compute_cluster_id) - pulumi.set(__self__, "create_vnic_details", create_vnic_details) - pulumi.set(__self__, "dedicated_vm_host_id", dedicated_vm_host_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "extended_metadata", extended_metadata) - pulumi.set(__self__, "fault_domain", fault_domain) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "hostname_label", hostname_label) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "image", image) - pulumi.set(__self__, "instance_configuration_id", instance_configuration_id) - pulumi.set(__self__, "instance_options", instance_options) - pulumi.set(__self__, "ipxe_script", ipxe_script) - pulumi.set(__self__, "is_cross_numa_node", is_cross_numa_node) - pulumi.set(__self__, "is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) - pulumi.set(__self__, "launch_mode", launch_mode) - pulumi.set(__self__, "launch_options", launch_options) - pulumi.set(__self__, "metadata", metadata) - pulumi.set(__self__, "platform_configs", platform_configs) - pulumi.set(__self__, "preemptible_instance_configs", preemptible_instance_configs) - pulumi.set(__self__, "preserve_boot_volume", preserve_boot_volume) - pulumi.set(__self__, "private_ip", private_ip) - pulumi.set(__self__, "public_ip", public_ip) - pulumi.set(__self__, "region", region) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "shape_configs", shape_configs) - pulumi.set(__self__, "source_details", source_details) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_maintenance_reboot_due", time_maintenance_reboot_due) - pulumi.set(__self__, "update_operation_constraint", update_operation_constraint) + GetInstancesInstanceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + agent_configs=agent_configs, + async_=async_, + availability_configs=availability_configs, + availability_domain=availability_domain, + boot_volume_id=boot_volume_id, + capacity_reservation_id=capacity_reservation_id, + compartment_id=compartment_id, + compute_cluster_id=compute_cluster_id, + create_vnic_details=create_vnic_details, + dedicated_vm_host_id=dedicated_vm_host_id, + defined_tags=defined_tags, + display_name=display_name, + extended_metadata=extended_metadata, + fault_domain=fault_domain, + freeform_tags=freeform_tags, + hostname_label=hostname_label, + id=id, + image=image, + instance_configuration_id=instance_configuration_id, + instance_options=instance_options, + ipxe_script=ipxe_script, + is_cross_numa_node=is_cross_numa_node, + is_pv_encryption_in_transit_enabled=is_pv_encryption_in_transit_enabled, + launch_mode=launch_mode, + launch_options=launch_options, + metadata=metadata, + platform_configs=platform_configs, + preemptible_instance_configs=preemptible_instance_configs, + preserve_boot_volume=preserve_boot_volume, + private_ip=private_ip, + public_ip=public_ip, + region=region, + shape=shape, + shape_configs=shape_configs, + source_details=source_details, + state=state, + subnet_id=subnet_id, + system_tags=system_tags, + time_created=time_created, + time_maintenance_reboot_due=time_maintenance_reboot_due, + update_operation_constraint=update_operation_constraint, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agent_configs: Sequence['outputs.GetInstancesInstanceAgentConfigResult'], + async_: bool, + availability_configs: Sequence['outputs.GetInstancesInstanceAvailabilityConfigResult'], + availability_domain: str, + boot_volume_id: str, + capacity_reservation_id: str, + compartment_id: str, + compute_cluster_id: str, + create_vnic_details: Sequence['outputs.GetInstancesInstanceCreateVnicDetailResult'], + dedicated_vm_host_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + extended_metadata: Mapping[str, Any], + fault_domain: str, + freeform_tags: Mapping[str, Any], + hostname_label: str, + id: str, + image: str, + instance_configuration_id: str, + instance_options: Sequence['outputs.GetInstancesInstanceInstanceOptionResult'], + ipxe_script: str, + is_cross_numa_node: bool, + is_pv_encryption_in_transit_enabled: bool, + launch_mode: str, + launch_options: Sequence['outputs.GetInstancesInstanceLaunchOptionResult'], + metadata: Mapping[str, Any], + platform_configs: Sequence['outputs.GetInstancesInstancePlatformConfigResult'], + preemptible_instance_configs: Sequence['outputs.GetInstancesInstancePreemptibleInstanceConfigResult'], + preserve_boot_volume: bool, + private_ip: str, + public_ip: str, + region: str, + shape: str, + shape_configs: Sequence['outputs.GetInstancesInstanceShapeConfigResult'], + source_details: Sequence['outputs.GetInstancesInstanceSourceDetailResult'], + state: str, + subnet_id: str, + system_tags: Mapping[str, Any], + time_created: str, + time_maintenance_reboot_due: str, + update_operation_constraint: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("agent_configs", agent_configs) + _setter("async_", async_) + _setter("availability_configs", availability_configs) + _setter("availability_domain", availability_domain) + _setter("boot_volume_id", boot_volume_id) + _setter("capacity_reservation_id", capacity_reservation_id) + _setter("compartment_id", compartment_id) + _setter("compute_cluster_id", compute_cluster_id) + _setter("create_vnic_details", create_vnic_details) + _setter("dedicated_vm_host_id", dedicated_vm_host_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("extended_metadata", extended_metadata) + _setter("fault_domain", fault_domain) + _setter("freeform_tags", freeform_tags) + _setter("hostname_label", hostname_label) + _setter("id", id) + _setter("image", image) + _setter("instance_configuration_id", instance_configuration_id) + _setter("instance_options", instance_options) + _setter("ipxe_script", ipxe_script) + _setter("is_cross_numa_node", is_cross_numa_node) + _setter("is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) + _setter("launch_mode", launch_mode) + _setter("launch_options", launch_options) + _setter("metadata", metadata) + _setter("platform_configs", platform_configs) + _setter("preemptible_instance_configs", preemptible_instance_configs) + _setter("preserve_boot_volume", preserve_boot_volume) + _setter("private_ip", private_ip) + _setter("public_ip", public_ip) + _setter("region", region) + _setter("shape", shape) + _setter("shape_configs", shape_configs) + _setter("source_details", source_details) + _setter("state", state) + _setter("subnet_id", subnet_id) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_maintenance_reboot_due", time_maintenance_reboot_due) + _setter("update_operation_constraint", update_operation_constraint) @property @pulumi.getter(name="agentConfigs") @@ -32714,10 +40625,25 @@ def __init__(__self__, *, :param bool is_monitoring_disabled: Whether Oracle Cloud Agent can gather performance metrics and monitor the instance using the monitoring plugins. :param Sequence['GetInstancesInstanceAgentConfigPluginsConfigArgs'] plugins_configs: The configuration of plugins associated with this instance. """ - pulumi.set(__self__, "are_all_plugins_disabled", are_all_plugins_disabled) - pulumi.set(__self__, "is_management_disabled", is_management_disabled) - pulumi.set(__self__, "is_monitoring_disabled", is_monitoring_disabled) - pulumi.set(__self__, "plugins_configs", plugins_configs) + GetInstancesInstanceAgentConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + are_all_plugins_disabled=are_all_plugins_disabled, + is_management_disabled=is_management_disabled, + is_monitoring_disabled=is_monitoring_disabled, + plugins_configs=plugins_configs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + are_all_plugins_disabled: bool, + is_management_disabled: bool, + is_monitoring_disabled: bool, + plugins_configs: Sequence['outputs.GetInstancesInstanceAgentConfigPluginsConfigResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("are_all_plugins_disabled", are_all_plugins_disabled) + _setter("is_management_disabled", is_management_disabled) + _setter("is_monitoring_disabled", is_monitoring_disabled) + _setter("plugins_configs", plugins_configs) @property @pulumi.getter(name="areAllPluginsDisabled") @@ -32761,8 +40687,19 @@ def __init__(__self__, *, :param str desired_state: Whether the plugin should be enabled or disabled. :param str name: The plugin name. To get a list of available plugins, use the [ListInstanceagentAvailablePlugins](https://docs.cloud.oracle.com/iaas/api/#/en/instanceagent/20180530/Plugin/ListInstanceagentAvailablePlugins) operation in the Oracle Cloud Agent API. For more information about the available plugins, see [Managing Plugins with Oracle Cloud Agent](https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/manage-plugins.htm). """ - pulumi.set(__self__, "desired_state", desired_state) - pulumi.set(__self__, "name", name) + GetInstancesInstanceAgentConfigPluginsConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + desired_state=desired_state, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + desired_state: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("desired_state", desired_state) + _setter("name", name) @property @pulumi.getter(name="desiredState") @@ -32790,8 +40727,19 @@ def __init__(__self__, *, :param bool is_live_migration_preferred: Whether to live migrate supported VM instances to a healthy physical VM host without disrupting running instances during infrastructure maintenance events. If null, Oracle chooses the best option for migrating the VM during infrastructure maintenance events. :param str recovery_action: The lifecycle state for an instance when it is recovered after infrastructure maintenance. """ - pulumi.set(__self__, "is_live_migration_preferred", is_live_migration_preferred) - pulumi.set(__self__, "recovery_action", recovery_action) + GetInstancesInstanceAvailabilityConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_live_migration_preferred=is_live_migration_preferred, + recovery_action=recovery_action, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_live_migration_preferred: bool, + recovery_action: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_live_migration_preferred", is_live_migration_preferred) + _setter("recovery_action", recovery_action) @property @pulumi.getter(name="isLiveMigrationPreferred") @@ -32831,19 +40779,52 @@ def __init__(__self__, *, :param str display_name: A filter to return only resources that match the given display name exactly. :param Mapping[str, Any] freeform_tags: 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` """ - pulumi.set(__self__, "assign_ipv6ip", assign_ipv6ip) - pulumi.set(__self__, "assign_private_dns_record", assign_private_dns_record) - pulumi.set(__self__, "assign_public_ip", assign_public_ip) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "hostname_label", hostname_label) - pulumi.set(__self__, "ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) - pulumi.set(__self__, "nsg_ids", nsg_ids) - pulumi.set(__self__, "private_ip", private_ip) - pulumi.set(__self__, "skip_source_dest_check", skip_source_dest_check) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "vlan_id", vlan_id) + GetInstancesInstanceCreateVnicDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + assign_ipv6ip=assign_ipv6ip, + assign_private_dns_record=assign_private_dns_record, + assign_public_ip=assign_public_ip, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + hostname_label=hostname_label, + ipv6address_ipv6subnet_cidr_pair_details=ipv6address_ipv6subnet_cidr_pair_details, + nsg_ids=nsg_ids, + private_ip=private_ip, + skip_source_dest_check=skip_source_dest_check, + subnet_id=subnet_id, + vlan_id=vlan_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + assign_ipv6ip: bool, + assign_private_dns_record: bool, + assign_public_ip: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + hostname_label: str, + ipv6address_ipv6subnet_cidr_pair_details: Sequence['outputs.GetInstancesInstanceCreateVnicDetailIpv6addressIpv6subnetCidrPairDetailResult'], + nsg_ids: Sequence[str], + private_ip: str, + skip_source_dest_check: bool, + subnet_id: str, + vlan_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("assign_ipv6ip", assign_ipv6ip) + _setter("assign_private_dns_record", assign_private_dns_record) + _setter("assign_public_ip", assign_public_ip) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("hostname_label", hostname_label) + _setter("ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) + _setter("nsg_ids", nsg_ids) + _setter("private_ip", private_ip) + _setter("skip_source_dest_check", skip_source_dest_check) + _setter("subnet_id", subnet_id) + _setter("vlan_id", vlan_id) @property @pulumi.getter(name="assignIpv6ip") @@ -32925,8 +40906,19 @@ class GetInstancesInstanceCreateVnicDetailIpv6addressIpv6subnetCidrPairDetailRes def __init__(__self__, *, ipv6address: str, ipv6subnet_cidr: str): - pulumi.set(__self__, "ipv6address", ipv6address) - pulumi.set(__self__, "ipv6subnet_cidr", ipv6subnet_cidr) + GetInstancesInstanceCreateVnicDetailIpv6addressIpv6subnetCidrPairDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ipv6address=ipv6address, + ipv6subnet_cidr=ipv6subnet_cidr, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ipv6address: str, + ipv6subnet_cidr: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ipv6address", ipv6address) + _setter("ipv6subnet_cidr", ipv6subnet_cidr) @property @pulumi.getter @@ -32946,7 +40938,16 @@ def __init__(__self__, *, """ :param bool are_legacy_imds_endpoints_disabled: Whether to disable the legacy (/v1) instance metadata service endpoints. Customers who have migrated to /v2 should set this to true for added security. Default is false. """ - pulumi.set(__self__, "are_legacy_imds_endpoints_disabled", are_legacy_imds_endpoints_disabled) + GetInstancesInstanceInstanceOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + are_legacy_imds_endpoints_disabled=are_legacy_imds_endpoints_disabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + are_legacy_imds_endpoints_disabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("are_legacy_imds_endpoints_disabled", are_legacy_imds_endpoints_disabled) @property @pulumi.getter(name="areLegacyImdsEndpointsDisabled") @@ -32974,12 +40975,31 @@ def __init__(__self__, *, :param str network_type: Emulation type for the physical network interface card (NIC). :param str remote_data_volume_type: Emulation type for volume. """ - pulumi.set(__self__, "boot_volume_type", boot_volume_type) - pulumi.set(__self__, "firmware", firmware) - pulumi.set(__self__, "is_consistent_volume_naming_enabled", is_consistent_volume_naming_enabled) - pulumi.set(__self__, "is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) - pulumi.set(__self__, "network_type", network_type) - pulumi.set(__self__, "remote_data_volume_type", remote_data_volume_type) + GetInstancesInstanceLaunchOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + boot_volume_type=boot_volume_type, + firmware=firmware, + is_consistent_volume_naming_enabled=is_consistent_volume_naming_enabled, + is_pv_encryption_in_transit_enabled=is_pv_encryption_in_transit_enabled, + network_type=network_type, + remote_data_volume_type=remote_data_volume_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + boot_volume_type: str, + firmware: str, + is_consistent_volume_naming_enabled: bool, + is_pv_encryption_in_transit_enabled: bool, + network_type: str, + remote_data_volume_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("boot_volume_type", boot_volume_type) + _setter("firmware", firmware) + _setter("is_consistent_volume_naming_enabled", is_consistent_volume_naming_enabled) + _setter("is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) + _setter("network_type", network_type) + _setter("remote_data_volume_type", remote_data_volume_type) @property @pulumi.getter(name="bootVolumeType") @@ -33059,18 +41079,49 @@ def __init__(__self__, *, :param int percentage_of_cores_enabled: The percentage of cores enabled. :param str type: (Required) The type of action to run when the instance is interrupted for eviction. """ - pulumi.set(__self__, "are_virtual_instructions_enabled", are_virtual_instructions_enabled) - pulumi.set(__self__, "config_map", config_map) - pulumi.set(__self__, "is_access_control_service_enabled", is_access_control_service_enabled) - pulumi.set(__self__, "is_input_output_memory_management_unit_enabled", is_input_output_memory_management_unit_enabled) - pulumi.set(__self__, "is_measured_boot_enabled", is_measured_boot_enabled) - pulumi.set(__self__, "is_memory_encryption_enabled", is_memory_encryption_enabled) - pulumi.set(__self__, "is_secure_boot_enabled", is_secure_boot_enabled) - pulumi.set(__self__, "is_symmetric_multi_threading_enabled", is_symmetric_multi_threading_enabled) - pulumi.set(__self__, "is_trusted_platform_module_enabled", is_trusted_platform_module_enabled) - pulumi.set(__self__, "numa_nodes_per_socket", numa_nodes_per_socket) - pulumi.set(__self__, "percentage_of_cores_enabled", percentage_of_cores_enabled) - pulumi.set(__self__, "type", type) + GetInstancesInstancePlatformConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + are_virtual_instructions_enabled=are_virtual_instructions_enabled, + config_map=config_map, + is_access_control_service_enabled=is_access_control_service_enabled, + is_input_output_memory_management_unit_enabled=is_input_output_memory_management_unit_enabled, + is_measured_boot_enabled=is_measured_boot_enabled, + is_memory_encryption_enabled=is_memory_encryption_enabled, + is_secure_boot_enabled=is_secure_boot_enabled, + is_symmetric_multi_threading_enabled=is_symmetric_multi_threading_enabled, + is_trusted_platform_module_enabled=is_trusted_platform_module_enabled, + numa_nodes_per_socket=numa_nodes_per_socket, + percentage_of_cores_enabled=percentage_of_cores_enabled, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + are_virtual_instructions_enabled: bool, + config_map: Mapping[str, Any], + is_access_control_service_enabled: bool, + is_input_output_memory_management_unit_enabled: bool, + is_measured_boot_enabled: bool, + is_memory_encryption_enabled: bool, + is_secure_boot_enabled: bool, + is_symmetric_multi_threading_enabled: bool, + is_trusted_platform_module_enabled: bool, + numa_nodes_per_socket: str, + percentage_of_cores_enabled: int, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("are_virtual_instructions_enabled", are_virtual_instructions_enabled) + _setter("config_map", config_map) + _setter("is_access_control_service_enabled", is_access_control_service_enabled) + _setter("is_input_output_memory_management_unit_enabled", is_input_output_memory_management_unit_enabled) + _setter("is_measured_boot_enabled", is_measured_boot_enabled) + _setter("is_memory_encryption_enabled", is_memory_encryption_enabled) + _setter("is_secure_boot_enabled", is_secure_boot_enabled) + _setter("is_symmetric_multi_threading_enabled", is_symmetric_multi_threading_enabled) + _setter("is_trusted_platform_module_enabled", is_trusted_platform_module_enabled) + _setter("numa_nodes_per_socket", numa_nodes_per_socket) + _setter("percentage_of_cores_enabled", percentage_of_cores_enabled) + _setter("type", type) @property @pulumi.getter(name="areVirtualInstructionsEnabled") @@ -33176,7 +41227,16 @@ def __init__(__self__, *, """ :param Sequence['GetInstancesInstancePreemptibleInstanceConfigPreemptionActionArgs'] preemption_actions: (Required) The action to run when the preemptible instance is interrupted for eviction. """ - pulumi.set(__self__, "preemption_actions", preemption_actions) + GetInstancesInstancePreemptibleInstanceConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + preemption_actions=preemption_actions, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + preemption_actions: Sequence['outputs.GetInstancesInstancePreemptibleInstanceConfigPreemptionActionResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("preemption_actions", preemption_actions) @property @pulumi.getter(name="preemptionActions") @@ -33196,8 +41256,19 @@ def __init__(__self__, *, :param bool preserve_boot_volume: (Optional) Whether to preserve the boot volume that was used to launch the preemptible instance when the instance is terminated. Defaults to false if not specified. :param str type: (Required) The type of action to run when the instance is interrupted for eviction. """ - pulumi.set(__self__, "preserve_boot_volume", preserve_boot_volume) - pulumi.set(__self__, "type", type) + GetInstancesInstancePreemptibleInstanceConfigPreemptionActionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + preserve_boot_volume=preserve_boot_volume, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + preserve_boot_volume: bool, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("preserve_boot_volume", preserve_boot_volume) + _setter("type", type) @property @pulumi.getter(name="preserveBootVolume") @@ -33246,19 +41317,52 @@ def __init__(__self__, *, :param str processor_description: A short description of the instance's processor (CPU). :param int vcpus: The total number of VCPUs available to the instance. This can be used instead of OCPUs, in which case the actual number of OCPUs will be calculated based on this value and the actual hardware. This must be a multiple of 2. """ - pulumi.set(__self__, "baseline_ocpu_utilization", baseline_ocpu_utilization) - pulumi.set(__self__, "gpu_description", gpu_description) - pulumi.set(__self__, "gpus", gpus) - pulumi.set(__self__, "local_disk_description", local_disk_description) - pulumi.set(__self__, "local_disks", local_disks) - pulumi.set(__self__, "local_disks_total_size_in_gbs", local_disks_total_size_in_gbs) - pulumi.set(__self__, "max_vnic_attachments", max_vnic_attachments) - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "networking_bandwidth_in_gbps", networking_bandwidth_in_gbps) - pulumi.set(__self__, "nvmes", nvmes) - pulumi.set(__self__, "ocpus", ocpus) - pulumi.set(__self__, "processor_description", processor_description) - pulumi.set(__self__, "vcpus", vcpus) + GetInstancesInstanceShapeConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + baseline_ocpu_utilization=baseline_ocpu_utilization, + gpu_description=gpu_description, + gpus=gpus, + local_disk_description=local_disk_description, + local_disks=local_disks, + local_disks_total_size_in_gbs=local_disks_total_size_in_gbs, + max_vnic_attachments=max_vnic_attachments, + memory_in_gbs=memory_in_gbs, + networking_bandwidth_in_gbps=networking_bandwidth_in_gbps, + nvmes=nvmes, + ocpus=ocpus, + processor_description=processor_description, + vcpus=vcpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + baseline_ocpu_utilization: str, + gpu_description: str, + gpus: int, + local_disk_description: str, + local_disks: int, + local_disks_total_size_in_gbs: float, + max_vnic_attachments: int, + memory_in_gbs: float, + networking_bandwidth_in_gbps: float, + nvmes: int, + ocpus: float, + processor_description: str, + vcpus: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("baseline_ocpu_utilization", baseline_ocpu_utilization) + _setter("gpu_description", gpu_description) + _setter("gpus", gpus) + _setter("local_disk_description", local_disk_description) + _setter("local_disks", local_disks) + _setter("local_disks_total_size_in_gbs", local_disks_total_size_in_gbs) + _setter("max_vnic_attachments", max_vnic_attachments) + _setter("memory_in_gbs", memory_in_gbs) + _setter("networking_bandwidth_in_gbps", networking_bandwidth_in_gbps) + _setter("nvmes", nvmes) + _setter("ocpus", ocpus) + _setter("processor_description", processor_description) + _setter("vcpus", vcpus) @property @pulumi.getter(name="baselineOcpuUtilization") @@ -33379,12 +41483,31 @@ def __init__(__self__, *, :param str source_id: The OCID of an image or a boot volume to use, depending on the value of `source_type`. :param str source_type: The source type for the instance. Use `image` when specifying the image OCID. Use `bootVolume` when specifying the boot volume OCID. """ - pulumi.set(__self__, "boot_volume_size_in_gbs", boot_volume_size_in_gbs) - pulumi.set(__self__, "boot_volume_vpus_per_gb", boot_volume_vpus_per_gb) - pulumi.set(__self__, "instance_source_image_filter_details", instance_source_image_filter_details) - pulumi.set(__self__, "kms_key_id", kms_key_id) - pulumi.set(__self__, "source_id", source_id) - pulumi.set(__self__, "source_type", source_type) + GetInstancesInstanceSourceDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + boot_volume_size_in_gbs=boot_volume_size_in_gbs, + boot_volume_vpus_per_gb=boot_volume_vpus_per_gb, + instance_source_image_filter_details=instance_source_image_filter_details, + kms_key_id=kms_key_id, + source_id=source_id, + source_type=source_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + boot_volume_size_in_gbs: str, + boot_volume_vpus_per_gb: str, + instance_source_image_filter_details: Sequence['outputs.GetInstancesInstanceSourceDetailInstanceSourceImageFilterDetailResult'], + kms_key_id: str, + source_id: str, + source_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("boot_volume_size_in_gbs", boot_volume_size_in_gbs) + _setter("boot_volume_vpus_per_gb", boot_volume_vpus_per_gb) + _setter("instance_source_image_filter_details", instance_source_image_filter_details) + _setter("kms_key_id", kms_key_id) + _setter("source_id", source_id) + _setter("source_type", source_type) @property @pulumi.getter(name="bootVolumeSizeInGbs") @@ -33448,10 +41571,25 @@ def __init__(__self__, *, :param str operating_system: The image's operating system. Example: `Oracle Linux` :param str operating_system_version: The image's operating system version. Example: `7.2` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags_filter", defined_tags_filter) - pulumi.set(__self__, "operating_system", operating_system) - pulumi.set(__self__, "operating_system_version", operating_system_version) + GetInstancesInstanceSourceDetailInstanceSourceImageFilterDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags_filter=defined_tags_filter, + operating_system=operating_system, + operating_system_version=operating_system_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags_filter: Mapping[str, Any], + operating_system: str, + operating_system_version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags_filter", defined_tags_filter) + _setter("operating_system", operating_system) + _setter("operating_system_version", operating_system_version) @property @pulumi.getter(name="compartmentId") @@ -33492,10 +41630,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetInternetGatewaysFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -33538,16 +41689,43 @@ def __init__(__self__, *, :param str time_created: The date and time the internet gateway was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` :param str vcn_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "enabled", enabled) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "route_table_id", route_table_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "vcn_id", vcn_id) + GetInternetGatewaysGatewayResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + enabled=enabled, + freeform_tags=freeform_tags, + id=id, + route_table_id=route_table_id, + state=state, + time_created=time_created, + vcn_id=vcn_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + enabled: bool, + freeform_tags: Mapping[str, Any], + id: str, + route_table_id: str, + state: str, + time_created: str, + vcn_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("enabled", enabled) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("route_table_id", route_table_id) + _setter("state", state) + _setter("time_created", time_created) + _setter("vcn_id", vcn_id) @property @pulumi.getter(name="compartmentId") @@ -33641,9 +41819,22 @@ def __init__(__self__, *, :param Sequence[str] dh_groups: Allowed phase one Diffie-Hellman groups. :param Sequence[str] encryption_algorithms: Allowed phase two encryption algorithms. """ - pulumi.set(__self__, "authentication_algorithms", authentication_algorithms) - pulumi.set(__self__, "dh_groups", dh_groups) - pulumi.set(__self__, "encryption_algorithms", encryption_algorithms) + GetIpsecAlgorithmAllowedPhaseOneParameterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + authentication_algorithms=authentication_algorithms, + dh_groups=dh_groups, + encryption_algorithms=encryption_algorithms, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + authentication_algorithms: Sequence[str], + dh_groups: Sequence[str], + encryption_algorithms: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("authentication_algorithms", authentication_algorithms) + _setter("dh_groups", dh_groups) + _setter("encryption_algorithms", encryption_algorithms) @property @pulumi.getter(name="authenticationAlgorithms") @@ -33681,9 +41872,22 @@ def __init__(__self__, *, :param Sequence[str] encryption_algorithms: Allowed phase two encryption algorithms. :param Sequence[str] pfs_dh_groups: Allowed perfect forward secrecy Diffie-Hellman groups. """ - pulumi.set(__self__, "authentication_algorithms", authentication_algorithms) - pulumi.set(__self__, "encryption_algorithms", encryption_algorithms) - pulumi.set(__self__, "pfs_dh_groups", pfs_dh_groups) + GetIpsecAlgorithmAllowedPhaseTwoParameterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + authentication_algorithms=authentication_algorithms, + encryption_algorithms=encryption_algorithms, + pfs_dh_groups=pfs_dh_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + authentication_algorithms: Sequence[str], + encryption_algorithms: Sequence[str], + pfs_dh_groups: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("authentication_algorithms", authentication_algorithms) + _setter("encryption_algorithms", encryption_algorithms) + _setter("pfs_dh_groups", pfs_dh_groups) @property @pulumi.getter(name="authenticationAlgorithms") @@ -33721,9 +41925,22 @@ def __init__(__self__, *, :param Sequence[str] default_dh_groups: Default phase one Diffie-Hellman groups. :param Sequence[str] default_encryption_algorithms: Default phase two encryption algorithms. """ - pulumi.set(__self__, "default_authentication_algorithms", default_authentication_algorithms) - pulumi.set(__self__, "default_dh_groups", default_dh_groups) - pulumi.set(__self__, "default_encryption_algorithms", default_encryption_algorithms) + GetIpsecAlgorithmDefaultPhaseOneParameterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + default_authentication_algorithms=default_authentication_algorithms, + default_dh_groups=default_dh_groups, + default_encryption_algorithms=default_encryption_algorithms, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + default_authentication_algorithms: Sequence[str], + default_dh_groups: Sequence[str], + default_encryption_algorithms: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("default_authentication_algorithms", default_authentication_algorithms) + _setter("default_dh_groups", default_dh_groups) + _setter("default_encryption_algorithms", default_encryption_algorithms) @property @pulumi.getter(name="defaultAuthenticationAlgorithms") @@ -33761,9 +41978,22 @@ def __init__(__self__, *, :param Sequence[str] default_encryption_algorithms: Default phase two encryption algorithms. :param str default_pfs_dh_group: Default perfect forward secrecy Diffie-Hellman groups. """ - pulumi.set(__self__, "default_authentication_algorithms", default_authentication_algorithms) - pulumi.set(__self__, "default_encryption_algorithms", default_encryption_algorithms) - pulumi.set(__self__, "default_pfs_dh_group", default_pfs_dh_group) + GetIpsecAlgorithmDefaultPhaseTwoParameterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + default_authentication_algorithms=default_authentication_algorithms, + default_encryption_algorithms=default_encryption_algorithms, + default_pfs_dh_group=default_pfs_dh_group, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + default_authentication_algorithms: Sequence[str], + default_encryption_algorithms: Sequence[str], + default_pfs_dh_group: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("default_authentication_algorithms", default_authentication_algorithms) + _setter("default_encryption_algorithms", default_encryption_algorithms) + _setter("default_pfs_dh_group", default_pfs_dh_group) @property @pulumi.getter(name="defaultAuthenticationAlgorithms") @@ -33796,10 +42026,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetIpsecConfigFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -33828,9 +42071,22 @@ def __init__(__self__, *, :param str shared_secret: The shared secret of the IPSec tunnel. :param str time_created: The date and time the IPSec connection was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` """ - pulumi.set(__self__, "ip_address", ip_address) - pulumi.set(__self__, "shared_secret", shared_secret) - pulumi.set(__self__, "time_created", time_created) + GetIpsecConfigTunnelResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ip_address=ip_address, + shared_secret=shared_secret, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ip_address: str, + shared_secret: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ip_address", ip_address) + _setter("shared_secret", shared_secret) + _setter("time_created", time_created) @property @pulumi.getter(name="ipAddress") @@ -33873,12 +42129,31 @@ def __init__(__self__, *, :param str oracle_bgp_asn: This is the value of the Oracle Bgp ASN in asplain format, as a string. Example: 1587232876 (4 byte ASN) or 12345 (2 byte ASN) :param str oracle_interface_ip: This is the IPv4 Address used in the BGP peering session for the Oracle router. Example: 10.0.0.1/31 """ - pulumi.set(__self__, "bgp_ipv6state", bgp_ipv6state) - pulumi.set(__self__, "bgp_state", bgp_state) - pulumi.set(__self__, "customer_bgp_asn", customer_bgp_asn) - pulumi.set(__self__, "customer_interface_ip", customer_interface_ip) - pulumi.set(__self__, "oracle_bgp_asn", oracle_bgp_asn) - pulumi.set(__self__, "oracle_interface_ip", oracle_interface_ip) + GetIpsecConnectionTunnelBgpSessionInfoResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bgp_ipv6state=bgp_ipv6state, + bgp_state=bgp_state, + customer_bgp_asn=customer_bgp_asn, + customer_interface_ip=customer_interface_ip, + oracle_bgp_asn=oracle_bgp_asn, + oracle_interface_ip=oracle_interface_ip, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bgp_ipv6state: str, + bgp_state: str, + customer_bgp_asn: str, + customer_interface_ip: str, + oracle_bgp_asn: str, + oracle_interface_ip: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bgp_ipv6state", bgp_ipv6state) + _setter("bgp_state", bgp_state) + _setter("customer_bgp_asn", customer_bgp_asn) + _setter("customer_interface_ip", customer_interface_ip) + _setter("oracle_bgp_asn", oracle_bgp_asn) + _setter("oracle_interface_ip", oracle_interface_ip) @property @pulumi.getter(name="bgpIpv6state") @@ -33935,8 +42210,19 @@ def __init__(__self__, *, :param Sequence[str] cpe_traffic_selectors: Lists IPv4 or IPv6-enabled subnets in your on-premises network. :param Sequence[str] oracle_traffic_selectors: Lists IPv4 or IPv6-enabled subnets in your Oracle tenancy. """ - pulumi.set(__self__, "cpe_traffic_selectors", cpe_traffic_selectors) - pulumi.set(__self__, "oracle_traffic_selectors", oracle_traffic_selectors) + GetIpsecConnectionTunnelEncryptionDomainConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cpe_traffic_selectors=cpe_traffic_selectors, + oracle_traffic_selectors=oracle_traffic_selectors, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cpe_traffic_selectors: Sequence[str], + oracle_traffic_selectors: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cpe_traffic_selectors", cpe_traffic_selectors) + _setter("oracle_traffic_selectors", oracle_traffic_selectors) @property @pulumi.getter(name="cpeTrafficSelectors") @@ -33961,10 +42247,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetIpsecConnectionTunnelRoutesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -33997,11 +42296,28 @@ def __init__(__self__, *, :param bool is_best_path: Indicates this is the best route. :param str prefix: The BGP network layer reachability information. """ - pulumi.set(__self__, "advertiser", advertiser) - pulumi.set(__self__, "age", age) - pulumi.set(__self__, "as_paths", as_paths) - pulumi.set(__self__, "is_best_path", is_best_path) - pulumi.set(__self__, "prefix", prefix) + GetIpsecConnectionTunnelRoutesTunnelRouteResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + advertiser=advertiser, + age=age, + as_paths=as_paths, + is_best_path=is_best_path, + prefix=prefix, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + advertiser: str, + age: str, + as_paths: Sequence[int], + is_best_path: bool, + prefix: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("advertiser", advertiser) + _setter("age", age) + _setter("as_paths", as_paths) + _setter("is_best_path", is_best_path) + _setter("prefix", prefix) @property @pulumi.getter @@ -34050,10 +42366,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetIpsecConnectionTunnelsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -34116,26 +42445,73 @@ def __init__(__self__, *, :param str time_status_updated: When the status of the IPSec tunnel last changed, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` :param str vpn_ip: The IP address of the Oracle VPN headend for the connection. Example: `203.0.113.21` """ - pulumi.set(__self__, "associated_virtual_circuits", associated_virtual_circuits) - pulumi.set(__self__, "bgp_session_infos", bgp_session_infos) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "cpe_ip", cpe_ip) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "dpd_mode", dpd_mode) - pulumi.set(__self__, "dpd_timeout_in_sec", dpd_timeout_in_sec) - pulumi.set(__self__, "encryption_domain_configs", encryption_domain_configs) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "ike_version", ike_version) - pulumi.set(__self__, "nat_translation_enabled", nat_translation_enabled) - pulumi.set(__self__, "oracle_can_initiate", oracle_can_initiate) - pulumi.set(__self__, "phase_one_details", phase_one_details) - pulumi.set(__self__, "phase_two_details", phase_two_details) - pulumi.set(__self__, "routing", routing) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_status_updated", time_status_updated) - pulumi.set(__self__, "vpn_ip", vpn_ip) + GetIpsecConnectionTunnelsIpSecConnectionTunnelResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + associated_virtual_circuits=associated_virtual_circuits, + bgp_session_infos=bgp_session_infos, + compartment_id=compartment_id, + cpe_ip=cpe_ip, + display_name=display_name, + dpd_mode=dpd_mode, + dpd_timeout_in_sec=dpd_timeout_in_sec, + encryption_domain_configs=encryption_domain_configs, + id=id, + ike_version=ike_version, + nat_translation_enabled=nat_translation_enabled, + oracle_can_initiate=oracle_can_initiate, + phase_one_details=phase_one_details, + phase_two_details=phase_two_details, + routing=routing, + state=state, + status=status, + time_created=time_created, + time_status_updated=time_status_updated, + vpn_ip=vpn_ip, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + associated_virtual_circuits: Sequence[str], + bgp_session_infos: Sequence['outputs.GetIpsecConnectionTunnelsIpSecConnectionTunnelBgpSessionInfoResult'], + compartment_id: str, + cpe_ip: str, + display_name: str, + dpd_mode: str, + dpd_timeout_in_sec: int, + encryption_domain_configs: Sequence['outputs.GetIpsecConnectionTunnelsIpSecConnectionTunnelEncryptionDomainConfigResult'], + id: str, + ike_version: str, + nat_translation_enabled: str, + oracle_can_initiate: str, + phase_one_details: Sequence['outputs.GetIpsecConnectionTunnelsIpSecConnectionTunnelPhaseOneDetailResult'], + phase_two_details: Sequence['outputs.GetIpsecConnectionTunnelsIpSecConnectionTunnelPhaseTwoDetailResult'], + routing: str, + state: str, + status: str, + time_created: str, + time_status_updated: str, + vpn_ip: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("associated_virtual_circuits", associated_virtual_circuits) + _setter("bgp_session_infos", bgp_session_infos) + _setter("compartment_id", compartment_id) + _setter("cpe_ip", cpe_ip) + _setter("display_name", display_name) + _setter("dpd_mode", dpd_mode) + _setter("dpd_timeout_in_sec", dpd_timeout_in_sec) + _setter("encryption_domain_configs", encryption_domain_configs) + _setter("id", id) + _setter("ike_version", ike_version) + _setter("nat_translation_enabled", nat_translation_enabled) + _setter("oracle_can_initiate", oracle_can_initiate) + _setter("phase_one_details", phase_one_details) + _setter("phase_two_details", phase_two_details) + _setter("routing", routing) + _setter("state", state) + _setter("status", status) + _setter("time_created", time_created) + _setter("time_status_updated", time_status_updated) + _setter("vpn_ip", vpn_ip) @property @pulumi.getter(name="associatedVirtualCircuits") @@ -34319,14 +42695,37 @@ def __init__(__self__, *, :param str oracle_interface_ip: The IP address for the Oracle end of the inside tunnel interface. :param str oracle_interface_ipv6: The IPv6 address for the Oracle end of the inside tunnel interface. This IP address is optional. """ - pulumi.set(__self__, "bgp_ipv6state", bgp_ipv6state) - pulumi.set(__self__, "bgp_state", bgp_state) - pulumi.set(__self__, "customer_bgp_asn", customer_bgp_asn) - pulumi.set(__self__, "customer_interface_ip", customer_interface_ip) - pulumi.set(__self__, "customer_interface_ipv6", customer_interface_ipv6) - pulumi.set(__self__, "oracle_bgp_asn", oracle_bgp_asn) - pulumi.set(__self__, "oracle_interface_ip", oracle_interface_ip) - pulumi.set(__self__, "oracle_interface_ipv6", oracle_interface_ipv6) + GetIpsecConnectionTunnelsIpSecConnectionTunnelBgpSessionInfoResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bgp_ipv6state=bgp_ipv6state, + bgp_state=bgp_state, + customer_bgp_asn=customer_bgp_asn, + customer_interface_ip=customer_interface_ip, + customer_interface_ipv6=customer_interface_ipv6, + oracle_bgp_asn=oracle_bgp_asn, + oracle_interface_ip=oracle_interface_ip, + oracle_interface_ipv6=oracle_interface_ipv6, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bgp_ipv6state: str, + bgp_state: str, + customer_bgp_asn: str, + customer_interface_ip: str, + customer_interface_ipv6: str, + oracle_bgp_asn: str, + oracle_interface_ip: str, + oracle_interface_ipv6: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bgp_ipv6state", bgp_ipv6state) + _setter("bgp_state", bgp_state) + _setter("customer_bgp_asn", customer_bgp_asn) + _setter("customer_interface_ip", customer_interface_ip) + _setter("customer_interface_ipv6", customer_interface_ipv6) + _setter("oracle_bgp_asn", oracle_bgp_asn) + _setter("oracle_interface_ip", oracle_interface_ip) + _setter("oracle_interface_ipv6", oracle_interface_ipv6) @property @pulumi.getter(name="bgpIpv6state") @@ -34402,8 +42801,19 @@ def __init__(__self__, *, :param Sequence[str] cpe_traffic_selectors: Lists IPv4 or IPv6-enabled subnets in your on-premises network. :param Sequence[str] oracle_traffic_selectors: Lists IPv4 or IPv6-enabled subnets in your Oracle tenancy. """ - pulumi.set(__self__, "cpe_traffic_selectors", cpe_traffic_selectors) - pulumi.set(__self__, "oracle_traffic_selectors", oracle_traffic_selectors) + GetIpsecConnectionTunnelsIpSecConnectionTunnelEncryptionDomainConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cpe_traffic_selectors=cpe_traffic_selectors, + oracle_traffic_selectors=oracle_traffic_selectors, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cpe_traffic_selectors: Sequence[str], + oracle_traffic_selectors: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cpe_traffic_selectors", cpe_traffic_selectors) + _setter("oracle_traffic_selectors", oracle_traffic_selectors) @property @pulumi.getter(name="cpeTrafficSelectors") @@ -34449,17 +42859,46 @@ def __init__(__self__, *, :param str remaining_lifetime: The remaining lifetime before the key is refreshed. :param str remaining_lifetime_last_retrieved: The date and time the remaining lifetime was last retrieved, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` """ - pulumi.set(__self__, "custom_authentication_algorithm", custom_authentication_algorithm) - pulumi.set(__self__, "custom_dh_group", custom_dh_group) - pulumi.set(__self__, "custom_encryption_algorithm", custom_encryption_algorithm) - pulumi.set(__self__, "is_custom_phase_one_config", is_custom_phase_one_config) - pulumi.set(__self__, "is_ike_established", is_ike_established) - pulumi.set(__self__, "lifetime", lifetime) - pulumi.set(__self__, "negotiated_authentication_algorithm", negotiated_authentication_algorithm) - pulumi.set(__self__, "negotiated_dh_group", negotiated_dh_group) - pulumi.set(__self__, "negotiated_encryption_algorithm", negotiated_encryption_algorithm) - pulumi.set(__self__, "remaining_lifetime", remaining_lifetime) - pulumi.set(__self__, "remaining_lifetime_last_retrieved", remaining_lifetime_last_retrieved) + GetIpsecConnectionTunnelsIpSecConnectionTunnelPhaseOneDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_authentication_algorithm=custom_authentication_algorithm, + custom_dh_group=custom_dh_group, + custom_encryption_algorithm=custom_encryption_algorithm, + is_custom_phase_one_config=is_custom_phase_one_config, + is_ike_established=is_ike_established, + lifetime=lifetime, + negotiated_authentication_algorithm=negotiated_authentication_algorithm, + negotiated_dh_group=negotiated_dh_group, + negotiated_encryption_algorithm=negotiated_encryption_algorithm, + remaining_lifetime=remaining_lifetime, + remaining_lifetime_last_retrieved=remaining_lifetime_last_retrieved, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_authentication_algorithm: str, + custom_dh_group: str, + custom_encryption_algorithm: str, + is_custom_phase_one_config: bool, + is_ike_established: bool, + lifetime: int, + negotiated_authentication_algorithm: str, + negotiated_dh_group: str, + negotiated_encryption_algorithm: str, + remaining_lifetime: str, + remaining_lifetime_last_retrieved: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("custom_authentication_algorithm", custom_authentication_algorithm) + _setter("custom_dh_group", custom_dh_group) + _setter("custom_encryption_algorithm", custom_encryption_algorithm) + _setter("is_custom_phase_one_config", is_custom_phase_one_config) + _setter("is_ike_established", is_ike_established) + _setter("lifetime", lifetime) + _setter("negotiated_authentication_algorithm", negotiated_authentication_algorithm) + _setter("negotiated_dh_group", negotiated_dh_group) + _setter("negotiated_encryption_algorithm", negotiated_encryption_algorithm) + _setter("remaining_lifetime", remaining_lifetime) + _setter("remaining_lifetime_last_retrieved", remaining_lifetime_last_retrieved) @property @pulumi.getter(name="customAuthenticationAlgorithm") @@ -34579,18 +43018,49 @@ def __init__(__self__, *, :param str remaining_lifetime: The remaining lifetime before the key is refreshed. :param str remaining_lifetime_last_retrieved: The date and time the remaining lifetime was last retrieved, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` """ - pulumi.set(__self__, "custom_authentication_algorithm", custom_authentication_algorithm) - pulumi.set(__self__, "custom_encryption_algorithm", custom_encryption_algorithm) - pulumi.set(__self__, "dh_group", dh_group) - pulumi.set(__self__, "is_custom_phase_two_config", is_custom_phase_two_config) - pulumi.set(__self__, "is_esp_established", is_esp_established) - pulumi.set(__self__, "is_pfs_enabled", is_pfs_enabled) - pulumi.set(__self__, "lifetime", lifetime) - pulumi.set(__self__, "negotiated_authentication_algorithm", negotiated_authentication_algorithm) - pulumi.set(__self__, "negotiated_dh_group", negotiated_dh_group) - pulumi.set(__self__, "negotiated_encryption_algorithm", negotiated_encryption_algorithm) - pulumi.set(__self__, "remaining_lifetime", remaining_lifetime) - pulumi.set(__self__, "remaining_lifetime_last_retrieved", remaining_lifetime_last_retrieved) + GetIpsecConnectionTunnelsIpSecConnectionTunnelPhaseTwoDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_authentication_algorithm=custom_authentication_algorithm, + custom_encryption_algorithm=custom_encryption_algorithm, + dh_group=dh_group, + is_custom_phase_two_config=is_custom_phase_two_config, + is_esp_established=is_esp_established, + is_pfs_enabled=is_pfs_enabled, + lifetime=lifetime, + negotiated_authentication_algorithm=negotiated_authentication_algorithm, + negotiated_dh_group=negotiated_dh_group, + negotiated_encryption_algorithm=negotiated_encryption_algorithm, + remaining_lifetime=remaining_lifetime, + remaining_lifetime_last_retrieved=remaining_lifetime_last_retrieved, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_authentication_algorithm: str, + custom_encryption_algorithm: str, + dh_group: str, + is_custom_phase_two_config: bool, + is_esp_established: bool, + is_pfs_enabled: bool, + lifetime: int, + negotiated_authentication_algorithm: str, + negotiated_dh_group: str, + negotiated_encryption_algorithm: str, + remaining_lifetime: str, + remaining_lifetime_last_retrieved: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("custom_authentication_algorithm", custom_authentication_algorithm) + _setter("custom_encryption_algorithm", custom_encryption_algorithm) + _setter("dh_group", dh_group) + _setter("is_custom_phase_two_config", is_custom_phase_two_config) + _setter("is_esp_established", is_esp_established) + _setter("is_pfs_enabled", is_pfs_enabled) + _setter("lifetime", lifetime) + _setter("negotiated_authentication_algorithm", negotiated_authentication_algorithm) + _setter("negotiated_dh_group", negotiated_dh_group) + _setter("negotiated_encryption_algorithm", negotiated_encryption_algorithm) + _setter("remaining_lifetime", remaining_lifetime) + _setter("remaining_lifetime_last_retrieved", remaining_lifetime_last_retrieved) @property @pulumi.getter(name="customAuthenticationAlgorithm") @@ -34720,19 +43190,52 @@ def __init__(__self__, *, :param str time_created: The date and time the IPSec connection was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` :param str transport_type: The transport type used for the IPSec connection. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "cpe_id", cpe_id) - pulumi.set(__self__, "cpe_local_identifier", cpe_local_identifier) - pulumi.set(__self__, "cpe_local_identifier_type", cpe_local_identifier_type) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "drg_id", drg_id) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "static_routes", static_routes) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "transport_type", transport_type) + GetIpsecConnectionsConnectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + cpe_id=cpe_id, + cpe_local_identifier=cpe_local_identifier, + cpe_local_identifier_type=cpe_local_identifier_type, + defined_tags=defined_tags, + display_name=display_name, + drg_id=drg_id, + freeform_tags=freeform_tags, + id=id, + state=state, + static_routes=static_routes, + time_created=time_created, + transport_type=transport_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + cpe_id: str, + cpe_local_identifier: str, + cpe_local_identifier_type: str, + defined_tags: Mapping[str, Any], + display_name: str, + drg_id: str, + freeform_tags: Mapping[str, Any], + id: str, + state: str, + static_routes: Sequence[str], + time_created: str, + transport_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("cpe_id", cpe_id) + _setter("cpe_local_identifier", cpe_local_identifier) + _setter("cpe_local_identifier_type", cpe_local_identifier_type) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("drg_id", drg_id) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("state", state) + _setter("static_routes", static_routes) + _setter("time_created", time_created) + _setter("transport_type", transport_type) @property @pulumi.getter(name="compartmentId") @@ -34845,10 +43348,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetIpsecConnectionsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -34872,10 +43388,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetIpsecStatusFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -34906,10 +43435,25 @@ def __init__(__self__, *, :param str time_created: The date and time the IPSec connection was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` :param str time_state_modified: When the state of the tunnel last changed, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` """ - pulumi.set(__self__, "ip_address", ip_address) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_state_modified", time_state_modified) + GetIpsecStatusTunnelResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ip_address=ip_address, + state=state, + time_created=time_created, + time_state_modified=time_state_modified, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ip_address: str, + state: str, + time_created: str, + time_state_modified: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ip_address", ip_address) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_state_modified", time_state_modified) @property @pulumi.getter(name="ipAddress") @@ -34950,10 +43494,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetIpv6sFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -34997,17 +43554,46 @@ def __init__(__self__, *, :param str time_created: The date and time the IPv6 was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` :param str vnic_id: The OCID of the VNIC. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "ip_address", ip_address) - pulumi.set(__self__, "ipv6subnet_cidr", ipv6subnet_cidr) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "vnic_id", vnic_id) + GetIpv6sIpv6Result._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + ip_address=ip_address, + ipv6subnet_cidr=ipv6subnet_cidr, + state=state, + subnet_id=subnet_id, + time_created=time_created, + vnic_id=vnic_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + ip_address: str, + ipv6subnet_cidr: str, + state: str, + subnet_id: str, + time_created: str, + vnic_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("ip_address", ip_address) + _setter("ipv6subnet_cidr", ipv6subnet_cidr) + _setter("state", state) + _setter("subnet_id", subnet_id) + _setter("time_created", time_created) + _setter("vnic_id", vnic_id) @property @pulumi.getter(name="compartmentId") @@ -35106,14 +43692,37 @@ def __init__(__self__, *, listing_resource_id: str, listing_resource_version: str, time_published: str): - pulumi.set(__self__, "accessible_ports", accessible_ports) - pulumi.set(__self__, "allowed_actions", allowed_actions) - pulumi.set(__self__, "available_regions", available_regions) - pulumi.set(__self__, "compatible_shapes", compatible_shapes) - pulumi.set(__self__, "listing_id", listing_id) - pulumi.set(__self__, "listing_resource_id", listing_resource_id) - pulumi.set(__self__, "listing_resource_version", listing_resource_version) - pulumi.set(__self__, "time_published", time_published) + GetListingResourceVersionsAppCatalogListingResourceVersionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + accessible_ports=accessible_ports, + allowed_actions=allowed_actions, + available_regions=available_regions, + compatible_shapes=compatible_shapes, + listing_id=listing_id, + listing_resource_id=listing_resource_id, + listing_resource_version=listing_resource_version, + time_published=time_published, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + accessible_ports: Sequence[int], + allowed_actions: Sequence[str], + available_regions: Sequence[str], + compatible_shapes: Sequence[str], + listing_id: str, + listing_resource_id: str, + listing_resource_version: str, + time_published: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("accessible_ports", accessible_ports) + _setter("allowed_actions", allowed_actions) + _setter("available_regions", available_regions) + _setter("compatible_shapes", compatible_shapes) + _setter("listing_id", listing_id) + _setter("listing_resource_id", listing_resource_id) + _setter("listing_resource_version", listing_resource_version) + _setter("time_published", time_published) @property @pulumi.getter(name="accessiblePorts") @@ -35162,10 +43771,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetListingResourceVersionsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -35189,10 +43811,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetLocalPeeringGatewaysFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -35245,21 +43880,58 @@ def __init__(__self__, *, :param str time_created: The date and time the LPG was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` :param str vcn_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_cross_tenancy_peering", is_cross_tenancy_peering) - pulumi.set(__self__, "peer_advertised_cidr", peer_advertised_cidr) - pulumi.set(__self__, "peer_advertised_cidr_details", peer_advertised_cidr_details) - pulumi.set(__self__, "peer_id", peer_id) - pulumi.set(__self__, "peering_status", peering_status) - pulumi.set(__self__, "peering_status_details", peering_status_details) - pulumi.set(__self__, "route_table_id", route_table_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "vcn_id", vcn_id) + GetLocalPeeringGatewaysLocalPeeringGatewayResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + is_cross_tenancy_peering=is_cross_tenancy_peering, + peer_advertised_cidr=peer_advertised_cidr, + peer_advertised_cidr_details=peer_advertised_cidr_details, + peer_id=peer_id, + peering_status=peering_status, + peering_status_details=peering_status_details, + route_table_id=route_table_id, + state=state, + time_created=time_created, + vcn_id=vcn_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + is_cross_tenancy_peering: bool, + peer_advertised_cidr: str, + peer_advertised_cidr_details: Sequence[str], + peer_id: str, + peering_status: str, + peering_status_details: str, + route_table_id: str, + state: str, + time_created: str, + vcn_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_cross_tenancy_peering", is_cross_tenancy_peering) + _setter("peer_advertised_cidr", peer_advertised_cidr) + _setter("peer_advertised_cidr_details", peer_advertised_cidr_details) + _setter("peer_id", peer_id) + _setter("peering_status", peering_status) + _setter("peering_status_details", peering_status_details) + _setter("route_table_id", route_table_id) + _setter("state", state) + _setter("time_created", time_created) + _setter("vcn_id", vcn_id) @property @pulumi.getter(name="compartmentId") @@ -35388,10 +44060,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetNatGatewaysFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -35438,18 +44123,49 @@ def __init__(__self__, *, :param str time_created: The date and time the NAT gateway was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` :param str vcn_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. """ - pulumi.set(__self__, "block_traffic", block_traffic) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "nat_ip", nat_ip) - pulumi.set(__self__, "public_ip_id", public_ip_id) - pulumi.set(__self__, "route_table_id", route_table_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "vcn_id", vcn_id) + GetNatGatewaysNatGatewayResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + block_traffic=block_traffic, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + nat_ip=nat_ip, + public_ip_id=public_ip_id, + route_table_id=route_table_id, + state=state, + time_created=time_created, + vcn_id=vcn_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + block_traffic: bool, + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + nat_ip: str, + public_ip_id: str, + route_table_id: str, + state: str, + time_created: str, + vcn_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("block_traffic", block_traffic) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("nat_ip", nat_ip) + _setter("public_ip_id", public_ip_id) + _setter("route_table_id", route_table_id) + _setter("state", state) + _setter("time_created", time_created) + _setter("vcn_id", vcn_id) @property @pulumi.getter(name="blockTraffic") @@ -35554,10 +44270,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetNetworkSecurityGroupSecurityRulesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -35610,20 +44339,55 @@ def __init__(__self__, *, :param str time_created: The date and time the security rule was created. Format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). :param Sequence['GetNetworkSecurityGroupSecurityRulesSecurityRuleUdpOptionArgs'] udp_options: Optional and valid only for UDP. Use to specify particular destination ports for UDP rules. If you specify UDP as the protocol but omit this object, then all destination ports are allowed. """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "destination", destination) - pulumi.set(__self__, "destination_type", destination_type) - pulumi.set(__self__, "direction", direction) - pulumi.set(__self__, "icmp_options", icmp_options) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_valid", is_valid) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "source", source) - pulumi.set(__self__, "source_type", source_type) - pulumi.set(__self__, "stateless", stateless) - pulumi.set(__self__, "tcp_options", tcp_options) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "udp_options", udp_options) + GetNetworkSecurityGroupSecurityRulesSecurityRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + destination=destination, + destination_type=destination_type, + direction=direction, + icmp_options=icmp_options, + id=id, + is_valid=is_valid, + protocol=protocol, + source=source, + source_type=source_type, + stateless=stateless, + tcp_options=tcp_options, + time_created=time_created, + udp_options=udp_options, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + destination: str, + destination_type: str, + direction: str, + icmp_options: Sequence['outputs.GetNetworkSecurityGroupSecurityRulesSecurityRuleIcmpOptionResult'], + id: str, + is_valid: bool, + protocol: str, + source: str, + source_type: str, + stateless: bool, + tcp_options: Sequence['outputs.GetNetworkSecurityGroupSecurityRulesSecurityRuleTcpOptionResult'], + time_created: str, + udp_options: Sequence['outputs.GetNetworkSecurityGroupSecurityRulesSecurityRuleUdpOptionResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("destination", destination) + _setter("destination_type", destination_type) + _setter("direction", direction) + _setter("icmp_options", icmp_options) + _setter("id", id) + _setter("is_valid", is_valid) + _setter("protocol", protocol) + _setter("source", source) + _setter("source_type", source_type) + _setter("stateless", stateless) + _setter("tcp_options", tcp_options) + _setter("time_created", time_created) + _setter("udp_options", udp_options) @property @pulumi.getter @@ -35749,8 +44513,19 @@ def __init__(__self__, *, :param int code: The ICMP code (optional). :param int type: The ICMP type. """ - pulumi.set(__self__, "code", code) - pulumi.set(__self__, "type", type) + GetNetworkSecurityGroupSecurityRulesSecurityRuleIcmpOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + code=code, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + code: int, + type: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("code", code) + _setter("type", type) @property @pulumi.getter @@ -35774,8 +44549,19 @@ class GetNetworkSecurityGroupSecurityRulesSecurityRuleTcpOptionResult(dict): def __init__(__self__, *, destination_port_ranges: Sequence['outputs.GetNetworkSecurityGroupSecurityRulesSecurityRuleTcpOptionDestinationPortRangeResult'], source_port_ranges: Sequence['outputs.GetNetworkSecurityGroupSecurityRulesSecurityRuleTcpOptionSourcePortRangeResult']): - pulumi.set(__self__, "destination_port_ranges", destination_port_ranges) - pulumi.set(__self__, "source_port_ranges", source_port_ranges) + GetNetworkSecurityGroupSecurityRulesSecurityRuleTcpOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + destination_port_ranges=destination_port_ranges, + source_port_ranges=source_port_ranges, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + destination_port_ranges: Sequence['outputs.GetNetworkSecurityGroupSecurityRulesSecurityRuleTcpOptionDestinationPortRangeResult'], + source_port_ranges: Sequence['outputs.GetNetworkSecurityGroupSecurityRulesSecurityRuleTcpOptionSourcePortRangeResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("destination_port_ranges", destination_port_ranges) + _setter("source_port_ranges", source_port_ranges) @property @pulumi.getter(name="destinationPortRanges") @@ -35797,8 +44583,19 @@ def __init__(__self__, *, :param int max: The maximum port number. Must not be lower than the minimum port number. To specify a single port number, set both the min and max to the same value. :param int min: The minimum port number. Must not be greater than the maximum port number. """ - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "min", min) + GetNetworkSecurityGroupSecurityRulesSecurityRuleTcpOptionDestinationPortRangeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: int, + min: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max", max) + _setter("min", min) @property @pulumi.getter @@ -35826,8 +44623,19 @@ def __init__(__self__, *, :param int max: The maximum port number. Must not be lower than the minimum port number. To specify a single port number, set both the min and max to the same value. :param int min: The minimum port number. Must not be greater than the maximum port number. """ - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "min", min) + GetNetworkSecurityGroupSecurityRulesSecurityRuleTcpOptionSourcePortRangeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: int, + min: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max", max) + _setter("min", min) @property @pulumi.getter @@ -35851,8 +44659,19 @@ class GetNetworkSecurityGroupSecurityRulesSecurityRuleUdpOptionResult(dict): def __init__(__self__, *, destination_port_ranges: Sequence['outputs.GetNetworkSecurityGroupSecurityRulesSecurityRuleUdpOptionDestinationPortRangeResult'], source_port_ranges: Sequence['outputs.GetNetworkSecurityGroupSecurityRulesSecurityRuleUdpOptionSourcePortRangeResult']): - pulumi.set(__self__, "destination_port_ranges", destination_port_ranges) - pulumi.set(__self__, "source_port_ranges", source_port_ranges) + GetNetworkSecurityGroupSecurityRulesSecurityRuleUdpOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + destination_port_ranges=destination_port_ranges, + source_port_ranges=source_port_ranges, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + destination_port_ranges: Sequence['outputs.GetNetworkSecurityGroupSecurityRulesSecurityRuleUdpOptionDestinationPortRangeResult'], + source_port_ranges: Sequence['outputs.GetNetworkSecurityGroupSecurityRulesSecurityRuleUdpOptionSourcePortRangeResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("destination_port_ranges", destination_port_ranges) + _setter("source_port_ranges", source_port_ranges) @property @pulumi.getter(name="destinationPortRanges") @@ -35874,8 +44693,19 @@ def __init__(__self__, *, :param int max: The maximum port number. Must not be lower than the minimum port number. To specify a single port number, set both the min and max to the same value. :param int min: The minimum port number. Must not be greater than the maximum port number. """ - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "min", min) + GetNetworkSecurityGroupSecurityRulesSecurityRuleUdpOptionDestinationPortRangeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: int, + min: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max", max) + _setter("min", min) @property @pulumi.getter @@ -35903,8 +44733,19 @@ def __init__(__self__, *, :param int max: The maximum port number. Must not be lower than the minimum port number. To specify a single port number, set both the min and max to the same value. :param int min: The minimum port number. Must not be greater than the maximum port number. """ - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "min", min) + GetNetworkSecurityGroupSecurityRulesSecurityRuleUdpOptionSourcePortRangeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: int, + min: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max", max) + _setter("min", min) @property @pulumi.getter @@ -35929,10 +44770,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetNetworkSecurityGroupVnicsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -35961,9 +44815,22 @@ def __init__(__self__, *, :param str time_associated: The date and time the VNIC was added to the network security group, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` :param str vnic_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC. """ - pulumi.set(__self__, "resource_id", resource_id) - pulumi.set(__self__, "time_associated", time_associated) - pulumi.set(__self__, "vnic_id", vnic_id) + GetNetworkSecurityGroupVnicsNetworkSecurityGroupVnicResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + resource_id=resource_id, + time_associated=time_associated, + vnic_id=vnic_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + resource_id: str, + time_associated: str, + vnic_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("resource_id", resource_id) + _setter("time_associated", time_associated) + _setter("vnic_id", vnic_id) @property @pulumi.getter(name="resourceId") @@ -35996,10 +44863,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetNetworkSecurityGroupsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -36038,14 +44918,37 @@ def __init__(__self__, *, :param str time_created: The date and time the network security group was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` :param str vcn_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "vcn_id", vcn_id) + GetNetworkSecurityGroupsNetworkSecurityGroupResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + state=state, + time_created=time_created, + vcn_id=vcn_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + state: str, + time_created: str, + vcn_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("state", state) + _setter("time_created", time_created) + _setter("vcn_id", vcn_id) @property @pulumi.getter(name="compartmentId") @@ -36121,10 +45024,23 @@ def __init__(__self__, *, """ :param str name: The region's name. Example: `us-phoenix-1` """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetPeerRegionForRemotePeeringsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -36152,7 +45068,16 @@ def __init__(__self__, *, """ :param str name: The region's name. Example: `us-phoenix-1` """ - pulumi.set(__self__, "name", name) + GetPeerRegionForRemotePeeringsPeerRegionForRemotePeeringResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -36169,10 +45094,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetPrivateIpsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -36223,20 +45161,55 @@ def __init__(__self__, *, :param str vlan_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VLAN. :param str vnic_id: The OCID of the VNIC. """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "hostname_label", hostname_label) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "ip_address", ip_address) - pulumi.set(__self__, "is_primary", is_primary) - pulumi.set(__self__, "is_reserved", is_reserved) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "vlan_id", vlan_id) - pulumi.set(__self__, "vnic_id", vnic_id) + GetPrivateIpsPrivateIpResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + hostname_label=hostname_label, + id=id, + ip_address=ip_address, + is_primary=is_primary, + is_reserved=is_reserved, + subnet_id=subnet_id, + time_created=time_created, + vlan_id=vlan_id, + vnic_id=vnic_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + hostname_label: str, + id: str, + ip_address: str, + is_primary: bool, + is_reserved: bool, + subnet_id: str, + time_created: str, + vlan_id: str, + vnic_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("hostname_label", hostname_label) + _setter("id", id) + _setter("ip_address", ip_address) + _setter("is_primary", is_primary) + _setter("is_reserved", is_reserved) + _setter("subnet_id", subnet_id) + _setter("time_created", time_created) + _setter("vlan_id", vlan_id) + _setter("vnic_id", vnic_id) @property @pulumi.getter(name="availabilityDomain") @@ -36357,10 +45330,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetPublicIpPoolsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -36382,7 +45368,16 @@ def regex(self) -> Optional[bool]: class GetPublicIpPoolsPublicIpPoolCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetPublicIpPoolsPublicIpPoolCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetPublicIpPoolsPublicIpPoolCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetPublicIpPoolsPublicIpPoolCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -36411,14 +45406,37 @@ def __init__(__self__, *, :param str state: The public IP pool's current state. :param str time_created: The date and time the public IP pool was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` """ - pulumi.set(__self__, "cidr_blocks", cidr_blocks) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) + GetPublicIpPoolsPublicIpPoolCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cidr_blocks=cidr_blocks, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cidr_blocks: Sequence[str], + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + state: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cidr_blocks", cidr_blocks) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("state", state) + _setter("time_created", time_created) @property @pulumi.getter(name="cidrBlocks") @@ -36491,10 +45509,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetPublicIpsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -36547,21 +45578,58 @@ def __init__(__self__, *, :param str state: The public IP's current state. :param str time_created: The date and time the public IP was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` """ - pulumi.set(__self__, "assigned_entity_id", assigned_entity_id) - pulumi.set(__self__, "assigned_entity_type", assigned_entity_type) - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "ip_address", ip_address) - pulumi.set(__self__, "lifetime", lifetime) - pulumi.set(__self__, "private_ip_id", private_ip_id) - pulumi.set(__self__, "public_ip_pool_id", public_ip_pool_id) - pulumi.set(__self__, "scope", scope) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) + GetPublicIpsPublicIpResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + assigned_entity_id=assigned_entity_id, + assigned_entity_type=assigned_entity_type, + availability_domain=availability_domain, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + ip_address=ip_address, + lifetime=lifetime, + private_ip_id=private_ip_id, + public_ip_pool_id=public_ip_pool_id, + scope=scope, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + assigned_entity_id: str, + assigned_entity_type: str, + availability_domain: str, + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + ip_address: str, + lifetime: str, + private_ip_id: str, + public_ip_pool_id: str, + scope: str, + state: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("assigned_entity_id", assigned_entity_id) + _setter("assigned_entity_type", assigned_entity_type) + _setter("availability_domain", availability_domain) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("ip_address", ip_address) + _setter("lifetime", lifetime) + _setter("private_ip_id", private_ip_id) + _setter("public_ip_pool_id", public_ip_pool_id) + _setter("scope", scope) + _setter("state", state) + _setter("time_created", time_created) @property @pulumi.getter(name="assignedEntityId") @@ -36690,10 +45758,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetRemotePeeringConnectionsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -36742,19 +45823,52 @@ def __init__(__self__, *, :param str state: The RPC's current lifecycle state. :param str time_created: The date and time the RPC was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "drg_id", drg_id) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_cross_tenancy_peering", is_cross_tenancy_peering) - pulumi.set(__self__, "peer_id", peer_id) - pulumi.set(__self__, "peer_region_name", peer_region_name) - pulumi.set(__self__, "peer_tenancy_id", peer_tenancy_id) - pulumi.set(__self__, "peering_status", peering_status) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) + GetRemotePeeringConnectionsRemotePeeringConnectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + drg_id=drg_id, + freeform_tags=freeform_tags, + id=id, + is_cross_tenancy_peering=is_cross_tenancy_peering, + peer_id=peer_id, + peer_region_name=peer_region_name, + peer_tenancy_id=peer_tenancy_id, + peering_status=peering_status, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + drg_id: str, + freeform_tags: Mapping[str, Any], + id: str, + is_cross_tenancy_peering: bool, + peer_id: str, + peer_region_name: str, + peer_tenancy_id: str, + peering_status: str, + state: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("drg_id", drg_id) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_cross_tenancy_peering", is_cross_tenancy_peering) + _setter("peer_id", peer_id) + _setter("peer_region_name", peer_region_name) + _setter("peer_tenancy_id", peer_tenancy_id) + _setter("peering_status", peering_status) + _setter("state", state) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -36867,10 +45981,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetRouteTablesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -36911,15 +46038,40 @@ def __init__(__self__, *, :param str time_created: The date and time the route table was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` :param str vcn_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "route_rules", route_rules) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "vcn_id", vcn_id) + GetRouteTablesRouteTableResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + route_rules=route_rules, + state=state, + time_created=time_created, + vcn_id=vcn_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + route_rules: Sequence['outputs.GetRouteTablesRouteTableRouteRuleResult'], + state: str, + time_created: str, + vcn_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("route_rules", route_rules) + _setter("state", state) + _setter("time_created", time_created) + _setter("vcn_id", vcn_id) @property @pulumi.getter(name="compartmentId") @@ -37011,12 +46163,31 @@ def __init__(__self__, *, :param str network_entity_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the route rule's target. For information about the type of targets you can specify, see [Route Tables](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm). :param str route_type: A route rule can be STATIC if manually added to the route table, LOCAL if added by Oracle Cloud Infrastructure to the route table. """ - pulumi.set(__self__, "cidr_block", cidr_block) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "destination", destination) - pulumi.set(__self__, "destination_type", destination_type) - pulumi.set(__self__, "network_entity_id", network_entity_id) - pulumi.set(__self__, "route_type", route_type) + GetRouteTablesRouteTableRouteRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cidr_block=cidr_block, + description=description, + destination=destination, + destination_type=destination_type, + network_entity_id=network_entity_id, + route_type=route_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cidr_block: str, + description: str, + destination: str, + destination_type: str, + network_entity_id: str, + route_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cidr_block", cidr_block) + _setter("description", description) + _setter("destination", destination) + _setter("destination_type", destination_type) + _setter("network_entity_id", network_entity_id) + _setter("route_type", route_type) @property @pulumi.getter(name="cidrBlock") @@ -37076,10 +46247,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSecurityListsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -37122,16 +46306,43 @@ def __init__(__self__, *, :param str time_created: The date and time the security list was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` :param str vcn_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "egress_security_rules", egress_security_rules) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "ingress_security_rules", ingress_security_rules) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "vcn_id", vcn_id) + GetSecurityListsSecurityListResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + egress_security_rules=egress_security_rules, + freeform_tags=freeform_tags, + id=id, + ingress_security_rules=ingress_security_rules, + state=state, + time_created=time_created, + vcn_id=vcn_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + egress_security_rules: Sequence['outputs.GetSecurityListsSecurityListEgressSecurityRuleResult'], + freeform_tags: Mapping[str, Any], + id: str, + ingress_security_rules: Sequence['outputs.GetSecurityListsSecurityListIngressSecurityRuleResult'], + state: str, + time_created: str, + vcn_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("egress_security_rules", egress_security_rules) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("ingress_security_rules", ingress_security_rules) + _setter("state", state) + _setter("time_created", time_created) + _setter("vcn_id", vcn_id) @property @pulumi.getter(name="compartmentId") @@ -37239,14 +46450,37 @@ def __init__(__self__, *, :param Sequence['GetSecurityListsSecurityListEgressSecurityRuleUdpOptionArgs'] udp_options: Optional and valid only for UDP. Use to specify particular destination ports for UDP rules. If you specify UDP as the protocol but omit this object, then all destination ports are allowed. * The following 2 attributes specify an inclusive range of allowed destination ports. Use the same number for the min and max to indicate a single port. Defaults to all ports if not specified. """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "destination", destination) - pulumi.set(__self__, "destination_type", destination_type) - pulumi.set(__self__, "icmp_options", icmp_options) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "stateless", stateless) - pulumi.set(__self__, "tcp_options", tcp_options) - pulumi.set(__self__, "udp_options", udp_options) + GetSecurityListsSecurityListEgressSecurityRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + destination=destination, + destination_type=destination_type, + icmp_options=icmp_options, + protocol=protocol, + stateless=stateless, + tcp_options=tcp_options, + udp_options=udp_options, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + destination: str, + destination_type: str, + icmp_options: Sequence['outputs.GetSecurityListsSecurityListEgressSecurityRuleIcmpOptionResult'], + protocol: str, + stateless: bool, + tcp_options: Sequence['outputs.GetSecurityListsSecurityListEgressSecurityRuleTcpOptionResult'], + udp_options: Sequence['outputs.GetSecurityListsSecurityListEgressSecurityRuleUdpOptionResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("destination", destination) + _setter("destination_type", destination_type) + _setter("icmp_options", icmp_options) + _setter("protocol", protocol) + _setter("stateless", stateless) + _setter("tcp_options", tcp_options) + _setter("udp_options", udp_options) @property @pulumi.getter @@ -37326,8 +46560,19 @@ def __init__(__self__, *, :param int code: The ICMP code (optional). :param int type: The ICMP type. """ - pulumi.set(__self__, "code", code) - pulumi.set(__self__, "type", type) + GetSecurityListsSecurityListEgressSecurityRuleIcmpOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + code=code, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + code: int, + type: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("code", code) + _setter("type", type) @property @pulumi.getter @@ -37356,9 +46601,22 @@ def __init__(__self__, *, :param int max: The maximum port number. Must not be lower than the minimum port number. To specify a single port number, set both the min and max to the same value. :param int min: The minimum port number. Must not be greater than the maximum port number. """ - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "min", min) - pulumi.set(__self__, "source_port_ranges", source_port_ranges) + GetSecurityListsSecurityListEgressSecurityRuleTcpOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + source_port_ranges=source_port_ranges, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: int, + min: int, + source_port_ranges: Sequence['outputs.GetSecurityListsSecurityListEgressSecurityRuleTcpOptionSourcePortRangeResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max", max) + _setter("min", min) + _setter("source_port_ranges", source_port_ranges) @property @pulumi.getter @@ -37391,8 +46649,19 @@ def __init__(__self__, *, :param int max: The maximum port number. Must not be lower than the minimum port number. To specify a single port number, set both the min and max to the same value. :param int min: The minimum port number. Must not be greater than the maximum port number. """ - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "min", min) + GetSecurityListsSecurityListEgressSecurityRuleTcpOptionSourcePortRangeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: int, + min: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max", max) + _setter("min", min) @property @pulumi.getter @@ -37421,9 +46690,22 @@ def __init__(__self__, *, :param int max: The maximum port number. Must not be lower than the minimum port number. To specify a single port number, set both the min and max to the same value. :param int min: The minimum port number. Must not be greater than the maximum port number. """ - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "min", min) - pulumi.set(__self__, "source_port_ranges", source_port_ranges) + GetSecurityListsSecurityListEgressSecurityRuleUdpOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + source_port_ranges=source_port_ranges, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: int, + min: int, + source_port_ranges: Sequence['outputs.GetSecurityListsSecurityListEgressSecurityRuleUdpOptionSourcePortRangeResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max", max) + _setter("min", min) + _setter("source_port_ranges", source_port_ranges) @property @pulumi.getter @@ -37456,8 +46738,19 @@ def __init__(__self__, *, :param int max: The maximum port number. Must not be lower than the minimum port number. To specify a single port number, set both the min and max to the same value. :param int min: The minimum port number. Must not be greater than the maximum port number. """ - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "min", min) + GetSecurityListsSecurityListEgressSecurityRuleUdpOptionSourcePortRangeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: int, + min: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max", max) + _setter("min", min) @property @pulumi.getter @@ -37501,14 +46794,37 @@ def __init__(__self__, *, :param Sequence['GetSecurityListsSecurityListIngressSecurityRuleUdpOptionArgs'] udp_options: Optional and valid only for UDP. Use to specify particular destination ports for UDP rules. If you specify UDP as the protocol but omit this object, then all destination ports are allowed. * The following 2 attributes specify an inclusive range of allowed destination ports. Use the same number for the min and max to indicate a single port. Defaults to all ports if not specified. """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "icmp_options", icmp_options) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "source", source) - pulumi.set(__self__, "source_type", source_type) - pulumi.set(__self__, "stateless", stateless) - pulumi.set(__self__, "tcp_options", tcp_options) - pulumi.set(__self__, "udp_options", udp_options) + GetSecurityListsSecurityListIngressSecurityRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + icmp_options=icmp_options, + protocol=protocol, + source=source, + source_type=source_type, + stateless=stateless, + tcp_options=tcp_options, + udp_options=udp_options, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + icmp_options: Sequence['outputs.GetSecurityListsSecurityListIngressSecurityRuleIcmpOptionResult'], + protocol: str, + source: str, + source_type: str, + stateless: bool, + tcp_options: Sequence['outputs.GetSecurityListsSecurityListIngressSecurityRuleTcpOptionResult'], + udp_options: Sequence['outputs.GetSecurityListsSecurityListIngressSecurityRuleUdpOptionResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("icmp_options", icmp_options) + _setter("protocol", protocol) + _setter("source", source) + _setter("source_type", source_type) + _setter("stateless", stateless) + _setter("tcp_options", tcp_options) + _setter("udp_options", udp_options) @property @pulumi.getter @@ -37588,8 +46904,19 @@ def __init__(__self__, *, :param int code: The ICMP code (optional). :param int type: The ICMP type. """ - pulumi.set(__self__, "code", code) - pulumi.set(__self__, "type", type) + GetSecurityListsSecurityListIngressSecurityRuleIcmpOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + code=code, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + code: int, + type: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("code", code) + _setter("type", type) @property @pulumi.getter @@ -37618,9 +46945,22 @@ def __init__(__self__, *, :param int max: The maximum port number. Must not be lower than the minimum port number. To specify a single port number, set both the min and max to the same value. :param int min: The minimum port number. Must not be greater than the maximum port number. """ - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "min", min) - pulumi.set(__self__, "source_port_ranges", source_port_ranges) + GetSecurityListsSecurityListIngressSecurityRuleTcpOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + source_port_ranges=source_port_ranges, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: int, + min: int, + source_port_ranges: Sequence['outputs.GetSecurityListsSecurityListIngressSecurityRuleTcpOptionSourcePortRangeResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max", max) + _setter("min", min) + _setter("source_port_ranges", source_port_ranges) @property @pulumi.getter @@ -37653,8 +46993,19 @@ def __init__(__self__, *, :param int max: The maximum port number. Must not be lower than the minimum port number. To specify a single port number, set both the min and max to the same value. :param int min: The minimum port number. Must not be greater than the maximum port number. """ - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "min", min) + GetSecurityListsSecurityListIngressSecurityRuleTcpOptionSourcePortRangeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: int, + min: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max", max) + _setter("min", min) @property @pulumi.getter @@ -37683,9 +47034,22 @@ def __init__(__self__, *, :param int max: The maximum port number. Must not be lower than the minimum port number. To specify a single port number, set both the min and max to the same value. :param int min: The minimum port number. Must not be greater than the maximum port number. """ - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "min", min) - pulumi.set(__self__, "source_port_ranges", source_port_ranges) + GetSecurityListsSecurityListIngressSecurityRuleUdpOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + source_port_ranges=source_port_ranges, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: int, + min: int, + source_port_ranges: Sequence['outputs.GetSecurityListsSecurityListIngressSecurityRuleUdpOptionSourcePortRangeResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max", max) + _setter("min", min) + _setter("source_port_ranges", source_port_ranges) @property @pulumi.getter @@ -37718,8 +47082,19 @@ def __init__(__self__, *, :param int max: The maximum port number. Must not be lower than the minimum port number. To specify a single port number, set both the min and max to the same value. :param int min: The minimum port number. Must not be greater than the maximum port number. """ - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "min", min) + GetSecurityListsSecurityListIngressSecurityRuleUdpOptionSourcePortRangeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: int, + min: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max", max) + _setter("min", min) @property @pulumi.getter @@ -37744,10 +47119,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetServiceGatewaysFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -37792,17 +47180,46 @@ def __init__(__self__, *, :param str time_created: The date and time the service gateway was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` :param str vcn_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. """ - pulumi.set(__self__, "block_traffic", block_traffic) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "route_table_id", route_table_id) - pulumi.set(__self__, "services", services) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "vcn_id", vcn_id) + GetServiceGatewaysServiceGatewayResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + block_traffic=block_traffic, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + route_table_id=route_table_id, + services=services, + state=state, + time_created=time_created, + vcn_id=vcn_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + block_traffic: bool, + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + route_table_id: str, + services: Sequence['outputs.GetServiceGatewaysServiceGatewayServiceResult'], + state: str, + time_created: str, + vcn_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("block_traffic", block_traffic) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("route_table_id", route_table_id) + _setter("services", services) + _setter("state", state) + _setter("time_created", time_created) + _setter("vcn_id", vcn_id) @property @pulumi.getter(name="blockTraffic") @@ -37902,8 +47319,19 @@ def __init__(__self__, *, :param str service_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the service. :param str service_name: The name of the service. """ - pulumi.set(__self__, "service_id", service_id) - pulumi.set(__self__, "service_name", service_name) + GetServiceGatewaysServiceGatewayServiceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + service_id=service_id, + service_name=service_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + service_id: str, + service_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("service_id", service_id) + _setter("service_name", service_name) @property @pulumi.getter(name="serviceId") @@ -37931,10 +47359,23 @@ def __init__(__self__, *, """ :param str name: Name of the `Service` object. This name can change and is not guaranteed to be unique. Example: `OCI PHX Object Storage` """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetServicesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -37968,10 +47409,25 @@ def __init__(__self__, *, :param str id: The `Service` object's [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). :param str name: Name of the `Service` object. This name can change and is not guaranteed to be unique. Example: `OCI PHX Object Storage` """ - pulumi.set(__self__, "cidr_block", cidr_block) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "name", name) + GetServicesServiceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cidr_block=cidr_block, + description=description, + id=id, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cidr_block: str, + description: str, + id: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cidr_block", cidr_block) + _setter("description", description) + _setter("id", id) + _setter("name", name) @property @pulumi.getter(name="cidrBlock") @@ -38012,10 +47468,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetShapeFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -38065,35 +47534,100 @@ def __init__(__self__, *, rdma_ports: int, recommended_alternatives: Sequence['outputs.GetShapeShapeRecommendedAlternativeResult'], resize_compatible_shapes: Sequence[str]): - pulumi.set(__self__, "baseline_ocpu_utilizations", baseline_ocpu_utilizations) - pulumi.set(__self__, "billing_type", billing_type) - pulumi.set(__self__, "gpu_description", gpu_description) - pulumi.set(__self__, "gpus", gpus) - pulumi.set(__self__, "is_billed_for_stopped_instance", is_billed_for_stopped_instance) - pulumi.set(__self__, "is_flexible", is_flexible) - pulumi.set(__self__, "is_live_migration_supported", is_live_migration_supported) - pulumi.set(__self__, "is_subcore", is_subcore) - pulumi.set(__self__, "local_disk_description", local_disk_description) - pulumi.set(__self__, "local_disks", local_disks) - pulumi.set(__self__, "local_disks_total_size_in_gbs", local_disks_total_size_in_gbs) - pulumi.set(__self__, "max_vnic_attachment_options", max_vnic_attachment_options) - pulumi.set(__self__, "max_vnic_attachments", max_vnic_attachments) - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "memory_options", memory_options) - pulumi.set(__self__, "min_total_baseline_ocpus_required", min_total_baseline_ocpus_required) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "network_ports", network_ports) - pulumi.set(__self__, "networking_bandwidth_in_gbps", networking_bandwidth_in_gbps) - pulumi.set(__self__, "networking_bandwidth_options", networking_bandwidth_options) - pulumi.set(__self__, "ocpu_options", ocpu_options) - pulumi.set(__self__, "ocpus", ocpus) - pulumi.set(__self__, "platform_config_options", platform_config_options) - pulumi.set(__self__, "processor_description", processor_description) - pulumi.set(__self__, "quota_names", quota_names) - pulumi.set(__self__, "rdma_bandwidth_in_gbps", rdma_bandwidth_in_gbps) - pulumi.set(__self__, "rdma_ports", rdma_ports) - pulumi.set(__self__, "recommended_alternatives", recommended_alternatives) - pulumi.set(__self__, "resize_compatible_shapes", resize_compatible_shapes) + GetShapeShapeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + baseline_ocpu_utilizations=baseline_ocpu_utilizations, + billing_type=billing_type, + gpu_description=gpu_description, + gpus=gpus, + is_billed_for_stopped_instance=is_billed_for_stopped_instance, + is_flexible=is_flexible, + is_live_migration_supported=is_live_migration_supported, + is_subcore=is_subcore, + local_disk_description=local_disk_description, + local_disks=local_disks, + local_disks_total_size_in_gbs=local_disks_total_size_in_gbs, + max_vnic_attachment_options=max_vnic_attachment_options, + max_vnic_attachments=max_vnic_attachments, + memory_in_gbs=memory_in_gbs, + memory_options=memory_options, + min_total_baseline_ocpus_required=min_total_baseline_ocpus_required, + name=name, + network_ports=network_ports, + networking_bandwidth_in_gbps=networking_bandwidth_in_gbps, + networking_bandwidth_options=networking_bandwidth_options, + ocpu_options=ocpu_options, + ocpus=ocpus, + platform_config_options=platform_config_options, + processor_description=processor_description, + quota_names=quota_names, + rdma_bandwidth_in_gbps=rdma_bandwidth_in_gbps, + rdma_ports=rdma_ports, + recommended_alternatives=recommended_alternatives, + resize_compatible_shapes=resize_compatible_shapes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + baseline_ocpu_utilizations: Sequence[str], + billing_type: str, + gpu_description: str, + gpus: int, + is_billed_for_stopped_instance: bool, + is_flexible: bool, + is_live_migration_supported: bool, + is_subcore: bool, + local_disk_description: str, + local_disks: int, + local_disks_total_size_in_gbs: float, + max_vnic_attachment_options: Sequence['outputs.GetShapeShapeMaxVnicAttachmentOptionResult'], + max_vnic_attachments: int, + memory_in_gbs: float, + memory_options: Sequence['outputs.GetShapeShapeMemoryOptionResult'], + min_total_baseline_ocpus_required: float, + name: str, + network_ports: int, + networking_bandwidth_in_gbps: float, + networking_bandwidth_options: Sequence['outputs.GetShapeShapeNetworkingBandwidthOptionResult'], + ocpu_options: Sequence['outputs.GetShapeShapeOcpuOptionResult'], + ocpus: float, + platform_config_options: Sequence['outputs.GetShapeShapePlatformConfigOptionResult'], + processor_description: str, + quota_names: Sequence[str], + rdma_bandwidth_in_gbps: int, + rdma_ports: int, + recommended_alternatives: Sequence['outputs.GetShapeShapeRecommendedAlternativeResult'], + resize_compatible_shapes: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("baseline_ocpu_utilizations", baseline_ocpu_utilizations) + _setter("billing_type", billing_type) + _setter("gpu_description", gpu_description) + _setter("gpus", gpus) + _setter("is_billed_for_stopped_instance", is_billed_for_stopped_instance) + _setter("is_flexible", is_flexible) + _setter("is_live_migration_supported", is_live_migration_supported) + _setter("is_subcore", is_subcore) + _setter("local_disk_description", local_disk_description) + _setter("local_disks", local_disks) + _setter("local_disks_total_size_in_gbs", local_disks_total_size_in_gbs) + _setter("max_vnic_attachment_options", max_vnic_attachment_options) + _setter("max_vnic_attachments", max_vnic_attachments) + _setter("memory_in_gbs", memory_in_gbs) + _setter("memory_options", memory_options) + _setter("min_total_baseline_ocpus_required", min_total_baseline_ocpus_required) + _setter("name", name) + _setter("network_ports", network_ports) + _setter("networking_bandwidth_in_gbps", networking_bandwidth_in_gbps) + _setter("networking_bandwidth_options", networking_bandwidth_options) + _setter("ocpu_options", ocpu_options) + _setter("ocpus", ocpus) + _setter("platform_config_options", platform_config_options) + _setter("processor_description", processor_description) + _setter("quota_names", quota_names) + _setter("rdma_bandwidth_in_gbps", rdma_bandwidth_in_gbps) + _setter("rdma_ports", rdma_ports) + _setter("recommended_alternatives", recommended_alternatives) + _setter("resize_compatible_shapes", resize_compatible_shapes) @property @pulumi.getter(name="baselineOcpuUtilizations") @@ -38247,9 +47781,22 @@ def __init__(__self__, *, default_per_ocpu: float, max: float, min: int): - pulumi.set(__self__, "default_per_ocpu", default_per_ocpu) - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "min", min) + GetShapeShapeMaxVnicAttachmentOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + default_per_ocpu=default_per_ocpu, + max=max, + min=min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + default_per_ocpu: float, + max: float, + min: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("default_per_ocpu", default_per_ocpu) + _setter("max", max) + _setter("min", min) @property @pulumi.getter(name="defaultPerOcpu") @@ -38276,12 +47823,31 @@ def __init__(__self__, *, max_per_ocpu_in_gbs: float, min_in_gbs: float, min_per_ocpu_in_gbs: float): - pulumi.set(__self__, "default_per_ocpu_in_gbs", default_per_ocpu_in_gbs) - pulumi.set(__self__, "max_in_gbs", max_in_gbs) - pulumi.set(__self__, "max_per_numa_node_in_gbs", max_per_numa_node_in_gbs) - pulumi.set(__self__, "max_per_ocpu_in_gbs", max_per_ocpu_in_gbs) - pulumi.set(__self__, "min_in_gbs", min_in_gbs) - pulumi.set(__self__, "min_per_ocpu_in_gbs", min_per_ocpu_in_gbs) + GetShapeShapeMemoryOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + default_per_ocpu_in_gbs=default_per_ocpu_in_gbs, + max_in_gbs=max_in_gbs, + max_per_numa_node_in_gbs=max_per_numa_node_in_gbs, + max_per_ocpu_in_gbs=max_per_ocpu_in_gbs, + min_in_gbs=min_in_gbs, + min_per_ocpu_in_gbs=min_per_ocpu_in_gbs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + default_per_ocpu_in_gbs: float, + max_in_gbs: float, + max_per_numa_node_in_gbs: float, + max_per_ocpu_in_gbs: float, + min_in_gbs: float, + min_per_ocpu_in_gbs: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("default_per_ocpu_in_gbs", default_per_ocpu_in_gbs) + _setter("max_in_gbs", max_in_gbs) + _setter("max_per_numa_node_in_gbs", max_per_numa_node_in_gbs) + _setter("max_per_ocpu_in_gbs", max_per_ocpu_in_gbs) + _setter("min_in_gbs", min_in_gbs) + _setter("min_per_ocpu_in_gbs", min_per_ocpu_in_gbs) @property @pulumi.getter(name="defaultPerOcpuInGbs") @@ -38320,9 +47886,22 @@ def __init__(__self__, *, default_per_ocpu_in_gbps: float, max_in_gbps: float, min_in_gbps: float): - pulumi.set(__self__, "default_per_ocpu_in_gbps", default_per_ocpu_in_gbps) - pulumi.set(__self__, "max_in_gbps", max_in_gbps) - pulumi.set(__self__, "min_in_gbps", min_in_gbps) + GetShapeShapeNetworkingBandwidthOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + default_per_ocpu_in_gbps=default_per_ocpu_in_gbps, + max_in_gbps=max_in_gbps, + min_in_gbps=min_in_gbps, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + default_per_ocpu_in_gbps: float, + max_in_gbps: float, + min_in_gbps: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("default_per_ocpu_in_gbps", default_per_ocpu_in_gbps) + _setter("max_in_gbps", max_in_gbps) + _setter("min_in_gbps", min_in_gbps) @property @pulumi.getter(name="defaultPerOcpuInGbps") @@ -38346,9 +47925,22 @@ def __init__(__self__, *, max: float, max_per_numa_node: float, min: float): - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "max_per_numa_node", max_per_numa_node) - pulumi.set(__self__, "min", min) + GetShapeShapeOcpuOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + max_per_numa_node=max_per_numa_node, + min=min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: float, + max_per_numa_node: float, + min: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max", max) + _setter("max_per_numa_node", max_per_numa_node) + _setter("min", min) @property @pulumi.getter @@ -38380,17 +47972,46 @@ def __init__(__self__, *, trusted_platform_module_options: Sequence['outputs.GetShapeShapePlatformConfigOptionTrustedPlatformModuleOptionResult'], type: str, virtual_instructions_options: Sequence['outputs.GetShapeShapePlatformConfigOptionVirtualInstructionsOptionResult']): - pulumi.set(__self__, "access_control_service_options", access_control_service_options) - pulumi.set(__self__, "input_output_memory_management_unit_options", input_output_memory_management_unit_options) - pulumi.set(__self__, "measured_boot_options", measured_boot_options) - pulumi.set(__self__, "memory_encryption_options", memory_encryption_options) - pulumi.set(__self__, "numa_nodes_per_socket_platform_options", numa_nodes_per_socket_platform_options) - pulumi.set(__self__, "percentage_of_cores_enabled_options", percentage_of_cores_enabled_options) - pulumi.set(__self__, "secure_boot_options", secure_boot_options) - pulumi.set(__self__, "symmetric_multi_threading_options", symmetric_multi_threading_options) - pulumi.set(__self__, "trusted_platform_module_options", trusted_platform_module_options) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "virtual_instructions_options", virtual_instructions_options) + GetShapeShapePlatformConfigOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + access_control_service_options=access_control_service_options, + input_output_memory_management_unit_options=input_output_memory_management_unit_options, + measured_boot_options=measured_boot_options, + memory_encryption_options=memory_encryption_options, + numa_nodes_per_socket_platform_options=numa_nodes_per_socket_platform_options, + percentage_of_cores_enabled_options=percentage_of_cores_enabled_options, + secure_boot_options=secure_boot_options, + symmetric_multi_threading_options=symmetric_multi_threading_options, + trusted_platform_module_options=trusted_platform_module_options, + type=type, + virtual_instructions_options=virtual_instructions_options, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access_control_service_options: Sequence['outputs.GetShapeShapePlatformConfigOptionAccessControlServiceOptionResult'], + input_output_memory_management_unit_options: Sequence['outputs.GetShapeShapePlatformConfigOptionInputOutputMemoryManagementUnitOptionResult'], + measured_boot_options: Sequence['outputs.GetShapeShapePlatformConfigOptionMeasuredBootOptionResult'], + memory_encryption_options: Sequence['outputs.GetShapeShapePlatformConfigOptionMemoryEncryptionOptionResult'], + numa_nodes_per_socket_platform_options: Sequence['outputs.GetShapeShapePlatformConfigOptionNumaNodesPerSocketPlatformOptionResult'], + percentage_of_cores_enabled_options: Sequence['outputs.GetShapeShapePlatformConfigOptionPercentageOfCoresEnabledOptionResult'], + secure_boot_options: Sequence['outputs.GetShapeShapePlatformConfigOptionSecureBootOptionResult'], + symmetric_multi_threading_options: Sequence['outputs.GetShapeShapePlatformConfigOptionSymmetricMultiThreadingOptionResult'], + trusted_platform_module_options: Sequence['outputs.GetShapeShapePlatformConfigOptionTrustedPlatformModuleOptionResult'], + type: str, + virtual_instructions_options: Sequence['outputs.GetShapeShapePlatformConfigOptionVirtualInstructionsOptionResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("access_control_service_options", access_control_service_options) + _setter("input_output_memory_management_unit_options", input_output_memory_management_unit_options) + _setter("measured_boot_options", measured_boot_options) + _setter("memory_encryption_options", memory_encryption_options) + _setter("numa_nodes_per_socket_platform_options", numa_nodes_per_socket_platform_options) + _setter("percentage_of_cores_enabled_options", percentage_of_cores_enabled_options) + _setter("secure_boot_options", secure_boot_options) + _setter("symmetric_multi_threading_options", symmetric_multi_threading_options) + _setter("trusted_platform_module_options", trusted_platform_module_options) + _setter("type", type) + _setter("virtual_instructions_options", virtual_instructions_options) @property @pulumi.getter(name="accessControlServiceOptions") @@ -38453,8 +48074,19 @@ class GetShapeShapePlatformConfigOptionAccessControlServiceOptionResult(dict): def __init__(__self__, *, allowed_values: Sequence[bool], is_default_enabled: bool): - pulumi.set(__self__, "allowed_values", allowed_values) - pulumi.set(__self__, "is_default_enabled", is_default_enabled) + GetShapeShapePlatformConfigOptionAccessControlServiceOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_values=allowed_values, + is_default_enabled=is_default_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_values: Sequence[bool], + is_default_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allowed_values", allowed_values) + _setter("is_default_enabled", is_default_enabled) @property @pulumi.getter(name="allowedValues") @@ -38472,8 +48104,19 @@ class GetShapeShapePlatformConfigOptionInputOutputMemoryManagementUnitOptionResu def __init__(__self__, *, allowed_values: Sequence[bool], is_default_enabled: bool): - pulumi.set(__self__, "allowed_values", allowed_values) - pulumi.set(__self__, "is_default_enabled", is_default_enabled) + GetShapeShapePlatformConfigOptionInputOutputMemoryManagementUnitOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_values=allowed_values, + is_default_enabled=is_default_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_values: Sequence[bool], + is_default_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allowed_values", allowed_values) + _setter("is_default_enabled", is_default_enabled) @property @pulumi.getter(name="allowedValues") @@ -38491,8 +48134,19 @@ class GetShapeShapePlatformConfigOptionMeasuredBootOptionResult(dict): def __init__(__self__, *, allowed_values: Sequence[bool], is_default_enabled: bool): - pulumi.set(__self__, "allowed_values", allowed_values) - pulumi.set(__self__, "is_default_enabled", is_default_enabled) + GetShapeShapePlatformConfigOptionMeasuredBootOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_values=allowed_values, + is_default_enabled=is_default_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_values: Sequence[bool], + is_default_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allowed_values", allowed_values) + _setter("is_default_enabled", is_default_enabled) @property @pulumi.getter(name="allowedValues") @@ -38510,8 +48164,19 @@ class GetShapeShapePlatformConfigOptionMemoryEncryptionOptionResult(dict): def __init__(__self__, *, allowed_values: Sequence[bool], is_default_enabled: bool): - pulumi.set(__self__, "allowed_values", allowed_values) - pulumi.set(__self__, "is_default_enabled", is_default_enabled) + GetShapeShapePlatformConfigOptionMemoryEncryptionOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_values=allowed_values, + is_default_enabled=is_default_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_values: Sequence[bool], + is_default_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allowed_values", allowed_values) + _setter("is_default_enabled", is_default_enabled) @property @pulumi.getter(name="allowedValues") @@ -38529,8 +48194,19 @@ class GetShapeShapePlatformConfigOptionNumaNodesPerSocketPlatformOptionResult(di def __init__(__self__, *, allowed_values: Sequence[str], default_value: str): - pulumi.set(__self__, "allowed_values", allowed_values) - pulumi.set(__self__, "default_value", default_value) + GetShapeShapePlatformConfigOptionNumaNodesPerSocketPlatformOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_values=allowed_values, + default_value=default_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_values: Sequence[str], + default_value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allowed_values", allowed_values) + _setter("default_value", default_value) @property @pulumi.getter(name="allowedValues") @@ -38549,9 +48225,22 @@ def __init__(__self__, *, default_value: int, max: int, min: int): - pulumi.set(__self__, "default_value", default_value) - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "min", min) + GetShapeShapePlatformConfigOptionPercentageOfCoresEnabledOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + default_value=default_value, + max=max, + min=min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + default_value: int, + max: int, + min: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("default_value", default_value) + _setter("max", max) + _setter("min", min) @property @pulumi.getter(name="defaultValue") @@ -38574,8 +48263,19 @@ class GetShapeShapePlatformConfigOptionSecureBootOptionResult(dict): def __init__(__self__, *, allowed_values: Sequence[bool], is_default_enabled: bool): - pulumi.set(__self__, "allowed_values", allowed_values) - pulumi.set(__self__, "is_default_enabled", is_default_enabled) + GetShapeShapePlatformConfigOptionSecureBootOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_values=allowed_values, + is_default_enabled=is_default_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_values: Sequence[bool], + is_default_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allowed_values", allowed_values) + _setter("is_default_enabled", is_default_enabled) @property @pulumi.getter(name="allowedValues") @@ -38593,8 +48293,19 @@ class GetShapeShapePlatformConfigOptionSymmetricMultiThreadingOptionResult(dict) def __init__(__self__, *, allowed_values: Sequence[bool], is_default_enabled: bool): - pulumi.set(__self__, "allowed_values", allowed_values) - pulumi.set(__self__, "is_default_enabled", is_default_enabled) + GetShapeShapePlatformConfigOptionSymmetricMultiThreadingOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_values=allowed_values, + is_default_enabled=is_default_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_values: Sequence[bool], + is_default_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allowed_values", allowed_values) + _setter("is_default_enabled", is_default_enabled) @property @pulumi.getter(name="allowedValues") @@ -38612,8 +48323,19 @@ class GetShapeShapePlatformConfigOptionTrustedPlatformModuleOptionResult(dict): def __init__(__self__, *, allowed_values: Sequence[bool], is_default_enabled: bool): - pulumi.set(__self__, "allowed_values", allowed_values) - pulumi.set(__self__, "is_default_enabled", is_default_enabled) + GetShapeShapePlatformConfigOptionTrustedPlatformModuleOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_values=allowed_values, + is_default_enabled=is_default_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_values: Sequence[bool], + is_default_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allowed_values", allowed_values) + _setter("is_default_enabled", is_default_enabled) @property @pulumi.getter(name="allowedValues") @@ -38631,8 +48353,19 @@ class GetShapeShapePlatformConfigOptionVirtualInstructionsOptionResult(dict): def __init__(__self__, *, allowed_values: Sequence[bool], is_default_enabled: bool): - pulumi.set(__self__, "allowed_values", allowed_values) - pulumi.set(__self__, "is_default_enabled", is_default_enabled) + GetShapeShapePlatformConfigOptionVirtualInstructionsOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_values=allowed_values, + is_default_enabled=is_default_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_values: Sequence[bool], + is_default_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allowed_values", allowed_values) + _setter("is_default_enabled", is_default_enabled) @property @pulumi.getter(name="allowedValues") @@ -38649,7 +48382,16 @@ def is_default_enabled(self) -> bool: class GetShapeShapeRecommendedAlternativeResult(dict): def __init__(__self__, *, shape_name: str): - pulumi.set(__self__, "shape_name", shape_name) + GetShapeShapeRecommendedAlternativeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + shape_name=shape_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + shape_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("shape_name", shape_name) @property @pulumi.getter(name="shapeName") @@ -38666,10 +48408,23 @@ def __init__(__self__, *, """ :param str name: The name of the shape. You can enumerate all available shapes by calling [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/Shape/ListShapes). """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetShapesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -38753,35 +48508,100 @@ def __init__(__self__, *, :param Sequence['GetShapesShapeRecommendedAlternativeArgs'] recommended_alternatives: The list of shapes and shape details (if applicable) that Oracle recommends that you use as an alternative to the current shape. :param Sequence[str] resize_compatible_shapes: The list of compatible shapes that this shape can be changed to. For more information, see [Changing the Shape of an Instance](https://docs.cloud.oracle.com/iaas/Content/Compute/Tasks/resizinginstances.htm). """ - pulumi.set(__self__, "baseline_ocpu_utilizations", baseline_ocpu_utilizations) - pulumi.set(__self__, "billing_type", billing_type) - pulumi.set(__self__, "gpu_description", gpu_description) - pulumi.set(__self__, "gpus", gpus) - pulumi.set(__self__, "is_billed_for_stopped_instance", is_billed_for_stopped_instance) - pulumi.set(__self__, "is_flexible", is_flexible) - pulumi.set(__self__, "is_live_migration_supported", is_live_migration_supported) - pulumi.set(__self__, "is_subcore", is_subcore) - pulumi.set(__self__, "local_disk_description", local_disk_description) - pulumi.set(__self__, "local_disks", local_disks) - pulumi.set(__self__, "local_disks_total_size_in_gbs", local_disks_total_size_in_gbs) - pulumi.set(__self__, "max_vnic_attachment_options", max_vnic_attachment_options) - pulumi.set(__self__, "max_vnic_attachments", max_vnic_attachments) - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "memory_options", memory_options) - pulumi.set(__self__, "min_total_baseline_ocpus_required", min_total_baseline_ocpus_required) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "network_ports", network_ports) - pulumi.set(__self__, "networking_bandwidth_in_gbps", networking_bandwidth_in_gbps) - pulumi.set(__self__, "networking_bandwidth_options", networking_bandwidth_options) - pulumi.set(__self__, "ocpu_options", ocpu_options) - pulumi.set(__self__, "ocpus", ocpus) - pulumi.set(__self__, "platform_config_options", platform_config_options) - pulumi.set(__self__, "processor_description", processor_description) - pulumi.set(__self__, "quota_names", quota_names) - pulumi.set(__self__, "rdma_bandwidth_in_gbps", rdma_bandwidth_in_gbps) - pulumi.set(__self__, "rdma_ports", rdma_ports) - pulumi.set(__self__, "recommended_alternatives", recommended_alternatives) - pulumi.set(__self__, "resize_compatible_shapes", resize_compatible_shapes) + GetShapesShapeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + baseline_ocpu_utilizations=baseline_ocpu_utilizations, + billing_type=billing_type, + gpu_description=gpu_description, + gpus=gpus, + is_billed_for_stopped_instance=is_billed_for_stopped_instance, + is_flexible=is_flexible, + is_live_migration_supported=is_live_migration_supported, + is_subcore=is_subcore, + local_disk_description=local_disk_description, + local_disks=local_disks, + local_disks_total_size_in_gbs=local_disks_total_size_in_gbs, + max_vnic_attachment_options=max_vnic_attachment_options, + max_vnic_attachments=max_vnic_attachments, + memory_in_gbs=memory_in_gbs, + memory_options=memory_options, + min_total_baseline_ocpus_required=min_total_baseline_ocpus_required, + name=name, + network_ports=network_ports, + networking_bandwidth_in_gbps=networking_bandwidth_in_gbps, + networking_bandwidth_options=networking_bandwidth_options, + ocpu_options=ocpu_options, + ocpus=ocpus, + platform_config_options=platform_config_options, + processor_description=processor_description, + quota_names=quota_names, + rdma_bandwidth_in_gbps=rdma_bandwidth_in_gbps, + rdma_ports=rdma_ports, + recommended_alternatives=recommended_alternatives, + resize_compatible_shapes=resize_compatible_shapes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + baseline_ocpu_utilizations: Sequence[str], + billing_type: str, + gpu_description: str, + gpus: int, + is_billed_for_stopped_instance: bool, + is_flexible: bool, + is_live_migration_supported: bool, + is_subcore: bool, + local_disk_description: str, + local_disks: int, + local_disks_total_size_in_gbs: float, + max_vnic_attachment_options: Sequence['outputs.GetShapesShapeMaxVnicAttachmentOptionResult'], + max_vnic_attachments: int, + memory_in_gbs: float, + memory_options: Sequence['outputs.GetShapesShapeMemoryOptionResult'], + min_total_baseline_ocpus_required: float, + name: str, + network_ports: int, + networking_bandwidth_in_gbps: float, + networking_bandwidth_options: Sequence['outputs.GetShapesShapeNetworkingBandwidthOptionResult'], + ocpu_options: Sequence['outputs.GetShapesShapeOcpuOptionResult'], + ocpus: float, + platform_config_options: Sequence['outputs.GetShapesShapePlatformConfigOptionResult'], + processor_description: str, + quota_names: Sequence[str], + rdma_bandwidth_in_gbps: int, + rdma_ports: int, + recommended_alternatives: Sequence['outputs.GetShapesShapeRecommendedAlternativeResult'], + resize_compatible_shapes: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("baseline_ocpu_utilizations", baseline_ocpu_utilizations) + _setter("billing_type", billing_type) + _setter("gpu_description", gpu_description) + _setter("gpus", gpus) + _setter("is_billed_for_stopped_instance", is_billed_for_stopped_instance) + _setter("is_flexible", is_flexible) + _setter("is_live_migration_supported", is_live_migration_supported) + _setter("is_subcore", is_subcore) + _setter("local_disk_description", local_disk_description) + _setter("local_disks", local_disks) + _setter("local_disks_total_size_in_gbs", local_disks_total_size_in_gbs) + _setter("max_vnic_attachment_options", max_vnic_attachment_options) + _setter("max_vnic_attachments", max_vnic_attachments) + _setter("memory_in_gbs", memory_in_gbs) + _setter("memory_options", memory_options) + _setter("min_total_baseline_ocpus_required", min_total_baseline_ocpus_required) + _setter("name", name) + _setter("network_ports", network_ports) + _setter("networking_bandwidth_in_gbps", networking_bandwidth_in_gbps) + _setter("networking_bandwidth_options", networking_bandwidth_options) + _setter("ocpu_options", ocpu_options) + _setter("ocpus", ocpus) + _setter("platform_config_options", platform_config_options) + _setter("processor_description", processor_description) + _setter("quota_names", quota_names) + _setter("rdma_bandwidth_in_gbps", rdma_bandwidth_in_gbps) + _setter("rdma_ports", rdma_ports) + _setter("recommended_alternatives", recommended_alternatives) + _setter("resize_compatible_shapes", resize_compatible_shapes) @property @pulumi.getter(name="baselineOcpuUtilizations") @@ -39027,9 +48847,22 @@ def __init__(__self__, *, :param float max: The maximum allowed percentage of cores enabled. :param int min: The minimum allowed percentage of cores enabled. """ - pulumi.set(__self__, "default_per_ocpu", default_per_ocpu) - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "min", min) + GetShapesShapeMaxVnicAttachmentOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + default_per_ocpu=default_per_ocpu, + max=max, + min=min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + default_per_ocpu: float, + max: float, + min: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("default_per_ocpu", default_per_ocpu) + _setter("max", max) + _setter("min", min) @property @pulumi.getter(name="defaultPerOcpu") @@ -39073,12 +48906,31 @@ def __init__(__self__, *, :param float min_in_gbs: The minimum amount of memory, in gigabytes. :param float min_per_ocpu_in_gbs: The minimum amount of memory per OCPU available for this shape, in gigabytes. """ - pulumi.set(__self__, "default_per_ocpu_in_gbs", default_per_ocpu_in_gbs) - pulumi.set(__self__, "max_in_gbs", max_in_gbs) - pulumi.set(__self__, "max_per_numa_node_in_gbs", max_per_numa_node_in_gbs) - pulumi.set(__self__, "max_per_ocpu_in_gbs", max_per_ocpu_in_gbs) - pulumi.set(__self__, "min_in_gbs", min_in_gbs) - pulumi.set(__self__, "min_per_ocpu_in_gbs", min_per_ocpu_in_gbs) + GetShapesShapeMemoryOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + default_per_ocpu_in_gbs=default_per_ocpu_in_gbs, + max_in_gbs=max_in_gbs, + max_per_numa_node_in_gbs=max_per_numa_node_in_gbs, + max_per_ocpu_in_gbs=max_per_ocpu_in_gbs, + min_in_gbs=min_in_gbs, + min_per_ocpu_in_gbs=min_per_ocpu_in_gbs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + default_per_ocpu_in_gbs: float, + max_in_gbs: float, + max_per_numa_node_in_gbs: float, + max_per_ocpu_in_gbs: float, + min_in_gbs: float, + min_per_ocpu_in_gbs: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("default_per_ocpu_in_gbs", default_per_ocpu_in_gbs) + _setter("max_in_gbs", max_in_gbs) + _setter("max_per_numa_node_in_gbs", max_per_numa_node_in_gbs) + _setter("max_per_ocpu_in_gbs", max_per_ocpu_in_gbs) + _setter("min_in_gbs", min_in_gbs) + _setter("min_per_ocpu_in_gbs", min_per_ocpu_in_gbs) @property @pulumi.getter(name="defaultPerOcpuInGbs") @@ -39140,9 +48992,22 @@ def __init__(__self__, *, :param float max_in_gbps: The maximum amount of networking bandwidth, in gigabits per second. :param float min_in_gbps: The minimum amount of networking bandwidth, in gigabits per second. """ - pulumi.set(__self__, "default_per_ocpu_in_gbps", default_per_ocpu_in_gbps) - pulumi.set(__self__, "max_in_gbps", max_in_gbps) - pulumi.set(__self__, "min_in_gbps", min_in_gbps) + GetShapesShapeNetworkingBandwidthOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + default_per_ocpu_in_gbps=default_per_ocpu_in_gbps, + max_in_gbps=max_in_gbps, + min_in_gbps=min_in_gbps, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + default_per_ocpu_in_gbps: float, + max_in_gbps: float, + min_in_gbps: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("default_per_ocpu_in_gbps", default_per_ocpu_in_gbps) + _setter("max_in_gbps", max_in_gbps) + _setter("min_in_gbps", min_in_gbps) @property @pulumi.getter(name="defaultPerOcpuInGbps") @@ -39180,9 +49045,22 @@ def __init__(__self__, *, :param float max_per_numa_node: The maximum number of cores available per NUMA node. :param float min: The minimum allowed percentage of cores enabled. """ - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "max_per_numa_node", max_per_numa_node) - pulumi.set(__self__, "min", min) + GetShapesShapeOcpuOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + max_per_numa_node=max_per_numa_node, + min=min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: float, + max_per_numa_node: float, + min: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max", max) + _setter("max_per_numa_node", max_per_numa_node) + _setter("min", min) @property @pulumi.getter @@ -39236,17 +49114,46 @@ def __init__(__self__, *, :param str type: The type of platform being configured. (Supported types=[INTEL_VM, AMD_MILAN_BM, AMD_ROME_BM, AMD_ROME_BM_GPU, INTEL_ICELAKE_BM, INTEL_SKYLAKE_BM]) :param Sequence['GetShapesShapePlatformConfigOptionVirtualInstructionsOptionArgs'] virtual_instructions_options: Configuration options for the virtualization instructions. """ - pulumi.set(__self__, "access_control_service_options", access_control_service_options) - pulumi.set(__self__, "input_output_memory_management_unit_options", input_output_memory_management_unit_options) - pulumi.set(__self__, "measured_boot_options", measured_boot_options) - pulumi.set(__self__, "memory_encryption_options", memory_encryption_options) - pulumi.set(__self__, "numa_nodes_per_socket_platform_options", numa_nodes_per_socket_platform_options) - pulumi.set(__self__, "percentage_of_cores_enabled_options", percentage_of_cores_enabled_options) - pulumi.set(__self__, "secure_boot_options", secure_boot_options) - pulumi.set(__self__, "symmetric_multi_threading_options", symmetric_multi_threading_options) - pulumi.set(__self__, "trusted_platform_module_options", trusted_platform_module_options) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "virtual_instructions_options", virtual_instructions_options) + GetShapesShapePlatformConfigOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + access_control_service_options=access_control_service_options, + input_output_memory_management_unit_options=input_output_memory_management_unit_options, + measured_boot_options=measured_boot_options, + memory_encryption_options=memory_encryption_options, + numa_nodes_per_socket_platform_options=numa_nodes_per_socket_platform_options, + percentage_of_cores_enabled_options=percentage_of_cores_enabled_options, + secure_boot_options=secure_boot_options, + symmetric_multi_threading_options=symmetric_multi_threading_options, + trusted_platform_module_options=trusted_platform_module_options, + type=type, + virtual_instructions_options=virtual_instructions_options, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access_control_service_options: Sequence['outputs.GetShapesShapePlatformConfigOptionAccessControlServiceOptionResult'], + input_output_memory_management_unit_options: Sequence['outputs.GetShapesShapePlatformConfigOptionInputOutputMemoryManagementUnitOptionResult'], + measured_boot_options: Sequence['outputs.GetShapesShapePlatformConfigOptionMeasuredBootOptionResult'], + memory_encryption_options: Sequence['outputs.GetShapesShapePlatformConfigOptionMemoryEncryptionOptionResult'], + numa_nodes_per_socket_platform_options: Sequence['outputs.GetShapesShapePlatformConfigOptionNumaNodesPerSocketPlatformOptionResult'], + percentage_of_cores_enabled_options: Sequence['outputs.GetShapesShapePlatformConfigOptionPercentageOfCoresEnabledOptionResult'], + secure_boot_options: Sequence['outputs.GetShapesShapePlatformConfigOptionSecureBootOptionResult'], + symmetric_multi_threading_options: Sequence['outputs.GetShapesShapePlatformConfigOptionSymmetricMultiThreadingOptionResult'], + trusted_platform_module_options: Sequence['outputs.GetShapesShapePlatformConfigOptionTrustedPlatformModuleOptionResult'], + type: str, + virtual_instructions_options: Sequence['outputs.GetShapesShapePlatformConfigOptionVirtualInstructionsOptionResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("access_control_service_options", access_control_service_options) + _setter("input_output_memory_management_unit_options", input_output_memory_management_unit_options) + _setter("measured_boot_options", measured_boot_options) + _setter("memory_encryption_options", memory_encryption_options) + _setter("numa_nodes_per_socket_platform_options", numa_nodes_per_socket_platform_options) + _setter("percentage_of_cores_enabled_options", percentage_of_cores_enabled_options) + _setter("secure_boot_options", secure_boot_options) + _setter("symmetric_multi_threading_options", symmetric_multi_threading_options) + _setter("trusted_platform_module_options", trusted_platform_module_options) + _setter("type", type) + _setter("virtual_instructions_options", virtual_instructions_options) @property @pulumi.getter(name="accessControlServiceOptions") @@ -39346,8 +49253,19 @@ def __init__(__self__, *, :param Sequence[bool] allowed_values: Whether virtualization instructions can be enabled. :param bool is_default_enabled: Whether virtualization instructions are enabled by default. """ - pulumi.set(__self__, "allowed_values", allowed_values) - pulumi.set(__self__, "is_default_enabled", is_default_enabled) + GetShapesShapePlatformConfigOptionAccessControlServiceOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_values=allowed_values, + is_default_enabled=is_default_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_values: Sequence[bool], + is_default_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allowed_values", allowed_values) + _setter("is_default_enabled", is_default_enabled) @property @pulumi.getter(name="allowedValues") @@ -39375,8 +49293,19 @@ def __init__(__self__, *, :param Sequence[bool] allowed_values: Whether virtualization instructions can be enabled. :param bool is_default_enabled: Whether virtualization instructions are enabled by default. """ - pulumi.set(__self__, "allowed_values", allowed_values) - pulumi.set(__self__, "is_default_enabled", is_default_enabled) + GetShapesShapePlatformConfigOptionInputOutputMemoryManagementUnitOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_values=allowed_values, + is_default_enabled=is_default_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_values: Sequence[bool], + is_default_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allowed_values", allowed_values) + _setter("is_default_enabled", is_default_enabled) @property @pulumi.getter(name="allowedValues") @@ -39404,8 +49333,19 @@ def __init__(__self__, *, :param Sequence[bool] allowed_values: Whether virtualization instructions can be enabled. :param bool is_default_enabled: Whether virtualization instructions are enabled by default. """ - pulumi.set(__self__, "allowed_values", allowed_values) - pulumi.set(__self__, "is_default_enabled", is_default_enabled) + GetShapesShapePlatformConfigOptionMeasuredBootOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_values=allowed_values, + is_default_enabled=is_default_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_values: Sequence[bool], + is_default_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allowed_values", allowed_values) + _setter("is_default_enabled", is_default_enabled) @property @pulumi.getter(name="allowedValues") @@ -39433,8 +49373,19 @@ def __init__(__self__, *, :param Sequence[bool] allowed_values: Whether virtualization instructions can be enabled. :param bool is_default_enabled: Whether virtualization instructions are enabled by default. """ - pulumi.set(__self__, "allowed_values", allowed_values) - pulumi.set(__self__, "is_default_enabled", is_default_enabled) + GetShapesShapePlatformConfigOptionMemoryEncryptionOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_values=allowed_values, + is_default_enabled=is_default_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_values: Sequence[bool], + is_default_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allowed_values", allowed_values) + _setter("is_default_enabled", is_default_enabled) @property @pulumi.getter(name="allowedValues") @@ -39462,8 +49413,19 @@ def __init__(__self__, *, :param Sequence[str] allowed_values: Whether virtualization instructions can be enabled. :param str default_value: The default percentage of cores enabled. """ - pulumi.set(__self__, "allowed_values", allowed_values) - pulumi.set(__self__, "default_value", default_value) + GetShapesShapePlatformConfigOptionNumaNodesPerSocketPlatformOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_values=allowed_values, + default_value=default_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_values: Sequence[str], + default_value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allowed_values", allowed_values) + _setter("default_value", default_value) @property @pulumi.getter(name="allowedValues") @@ -39493,9 +49455,22 @@ def __init__(__self__, *, :param int max: The maximum allowed percentage of cores enabled. :param int min: The minimum allowed percentage of cores enabled. """ - pulumi.set(__self__, "default_value", default_value) - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "min", min) + GetShapesShapePlatformConfigOptionPercentageOfCoresEnabledOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + default_value=default_value, + max=max, + min=min, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + default_value: int, + max: int, + min: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("default_value", default_value) + _setter("max", max) + _setter("min", min) @property @pulumi.getter(name="defaultValue") @@ -39531,8 +49506,19 @@ def __init__(__self__, *, :param Sequence[bool] allowed_values: Whether virtualization instructions can be enabled. :param bool is_default_enabled: Whether virtualization instructions are enabled by default. """ - pulumi.set(__self__, "allowed_values", allowed_values) - pulumi.set(__self__, "is_default_enabled", is_default_enabled) + GetShapesShapePlatformConfigOptionSecureBootOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_values=allowed_values, + is_default_enabled=is_default_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_values: Sequence[bool], + is_default_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allowed_values", allowed_values) + _setter("is_default_enabled", is_default_enabled) @property @pulumi.getter(name="allowedValues") @@ -39560,8 +49546,19 @@ def __init__(__self__, *, :param Sequence[bool] allowed_values: Whether virtualization instructions can be enabled. :param bool is_default_enabled: Whether virtualization instructions are enabled by default. """ - pulumi.set(__self__, "allowed_values", allowed_values) - pulumi.set(__self__, "is_default_enabled", is_default_enabled) + GetShapesShapePlatformConfigOptionSymmetricMultiThreadingOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_values=allowed_values, + is_default_enabled=is_default_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_values: Sequence[bool], + is_default_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allowed_values", allowed_values) + _setter("is_default_enabled", is_default_enabled) @property @pulumi.getter(name="allowedValues") @@ -39589,8 +49586,19 @@ def __init__(__self__, *, :param Sequence[bool] allowed_values: Whether virtualization instructions can be enabled. :param bool is_default_enabled: Whether virtualization instructions are enabled by default. """ - pulumi.set(__self__, "allowed_values", allowed_values) - pulumi.set(__self__, "is_default_enabled", is_default_enabled) + GetShapesShapePlatformConfigOptionTrustedPlatformModuleOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_values=allowed_values, + is_default_enabled=is_default_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_values: Sequence[bool], + is_default_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allowed_values", allowed_values) + _setter("is_default_enabled", is_default_enabled) @property @pulumi.getter(name="allowedValues") @@ -39618,8 +49626,19 @@ def __init__(__self__, *, :param Sequence[bool] allowed_values: Whether virtualization instructions can be enabled. :param bool is_default_enabled: Whether virtualization instructions are enabled by default. """ - pulumi.set(__self__, "allowed_values", allowed_values) - pulumi.set(__self__, "is_default_enabled", is_default_enabled) + GetShapesShapePlatformConfigOptionVirtualInstructionsOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_values=allowed_values, + is_default_enabled=is_default_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_values: Sequence[bool], + is_default_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allowed_values", allowed_values) + _setter("is_default_enabled", is_default_enabled) @property @pulumi.getter(name="allowedValues") @@ -39645,7 +49664,16 @@ def __init__(__self__, *, """ :param str shape_name: The name of the shape. """ - pulumi.set(__self__, "shape_name", shape_name) + GetShapesShapeRecommendedAlternativeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + shape_name=shape_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + shape_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("shape_name", shape_name) @property @pulumi.getter(name="shapeName") @@ -39662,10 +49690,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSubnetsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -39732,28 +49773,79 @@ def __init__(__self__, *, :param str virtual_router_ip: The IP address of the virtual router. Example: `10.0.14.1` :param str virtual_router_mac: The MAC address of the virtual router. Example: `00:00:00:00:00:01` """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "cidr_block", cidr_block) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "dhcp_options_id", dhcp_options_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "dns_label", dns_label) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "ipv6cidr_block", ipv6cidr_block) - pulumi.set(__self__, "ipv6cidr_blocks", ipv6cidr_blocks) - pulumi.set(__self__, "ipv6virtual_router_ip", ipv6virtual_router_ip) - pulumi.set(__self__, "prohibit_internet_ingress", prohibit_internet_ingress) - pulumi.set(__self__, "prohibit_public_ip_on_vnic", prohibit_public_ip_on_vnic) - pulumi.set(__self__, "route_table_id", route_table_id) - pulumi.set(__self__, "security_list_ids", security_list_ids) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "subnet_domain_name", subnet_domain_name) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "vcn_id", vcn_id) - pulumi.set(__self__, "virtual_router_ip", virtual_router_ip) - pulumi.set(__self__, "virtual_router_mac", virtual_router_mac) + GetSubnetsSubnetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + cidr_block=cidr_block, + compartment_id=compartment_id, + defined_tags=defined_tags, + dhcp_options_id=dhcp_options_id, + display_name=display_name, + dns_label=dns_label, + freeform_tags=freeform_tags, + id=id, + ipv6cidr_block=ipv6cidr_block, + ipv6cidr_blocks=ipv6cidr_blocks, + ipv6virtual_router_ip=ipv6virtual_router_ip, + prohibit_internet_ingress=prohibit_internet_ingress, + prohibit_public_ip_on_vnic=prohibit_public_ip_on_vnic, + route_table_id=route_table_id, + security_list_ids=security_list_ids, + state=state, + subnet_domain_name=subnet_domain_name, + time_created=time_created, + vcn_id=vcn_id, + virtual_router_ip=virtual_router_ip, + virtual_router_mac=virtual_router_mac, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + cidr_block: str, + compartment_id: str, + defined_tags: Mapping[str, Any], + dhcp_options_id: str, + display_name: str, + dns_label: str, + freeform_tags: Mapping[str, Any], + id: str, + ipv6cidr_block: str, + ipv6cidr_blocks: Sequence[str], + ipv6virtual_router_ip: str, + prohibit_internet_ingress: bool, + prohibit_public_ip_on_vnic: bool, + route_table_id: str, + security_list_ids: Sequence[str], + state: str, + subnet_domain_name: str, + time_created: str, + vcn_id: str, + virtual_router_ip: str, + virtual_router_mac: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("cidr_block", cidr_block) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("dhcp_options_id", dhcp_options_id) + _setter("display_name", display_name) + _setter("dns_label", dns_label) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("ipv6cidr_block", ipv6cidr_block) + _setter("ipv6cidr_blocks", ipv6cidr_blocks) + _setter("ipv6virtual_router_ip", ipv6virtual_router_ip) + _setter("prohibit_internet_ingress", prohibit_internet_ingress) + _setter("prohibit_public_ip_on_vnic", prohibit_public_ip_on_vnic) + _setter("route_table_id", route_table_id) + _setter("security_list_ids", security_list_ids) + _setter("state", state) + _setter("subnet_domain_name", subnet_domain_name) + _setter("time_created", time_created) + _setter("vcn_id", vcn_id) + _setter("virtual_router_ip", virtual_router_ip) + _setter("virtual_router_mac", virtual_router_mac) @property @pulumi.getter(name="availabilityDomain") @@ -39938,10 +50030,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetTunnelSecurityAssociationsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -39974,11 +50079,28 @@ def __init__(__self__, *, :param str tunnel_sa_error_info: Current state if the IPSec tunnel status is not `UP`, including phase one and phase two details and a possible reason the tunnel is not `UP`. :param str tunnel_sa_status: The IPSec tunnel's phase one status. """ - pulumi.set(__self__, "cpe_subnet", cpe_subnet) - pulumi.set(__self__, "oracle_subnet", oracle_subnet) - pulumi.set(__self__, "time", time) - pulumi.set(__self__, "tunnel_sa_error_info", tunnel_sa_error_info) - pulumi.set(__self__, "tunnel_sa_status", tunnel_sa_status) + GetTunnelSecurityAssociationsTunnelSecurityAssociationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cpe_subnet=cpe_subnet, + oracle_subnet=oracle_subnet, + time=time, + tunnel_sa_error_info=tunnel_sa_error_info, + tunnel_sa_status=tunnel_sa_status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cpe_subnet: str, + oracle_subnet: str, + time: str, + tunnel_sa_error_info: str, + tunnel_sa_status: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cpe_subnet", cpe_subnet) + _setter("oracle_subnet", oracle_subnet) + _setter("time", time) + _setter("tunnel_sa_error_info", tunnel_sa_error_info) + _setter("tunnel_sa_status", tunnel_sa_status) @property @pulumi.getter(name="cpeSubnet") @@ -40026,8 +50148,19 @@ class GetVcnByoipv6cidrDetailResult(dict): def __init__(__self__, *, byoipv6range_id: str, ipv6cidr_block: str): - pulumi.set(__self__, "byoipv6range_id", byoipv6range_id) - pulumi.set(__self__, "ipv6cidr_block", ipv6cidr_block) + GetVcnByoipv6cidrDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + byoipv6range_id=byoipv6range_id, + ipv6cidr_block=ipv6cidr_block, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + byoipv6range_id: str, + ipv6cidr_block: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("byoipv6range_id", byoipv6range_id) + _setter("ipv6cidr_block", ipv6cidr_block) @property @pulumi.getter(name="byoipv6rangeId") @@ -40046,10 +50179,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVcnsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -40109,26 +50255,73 @@ def __init__(__self__, *, :param str time_created: The date and time the VCN was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` :param str vcn_domain_name: The VCN's domain name, which consists of the VCN's DNS label, and the `oraclevcn.com` domain. """ - pulumi.set(__self__, "byoipv6cidr_blocks", byoipv6cidr_blocks) - pulumi.set(__self__, "byoipv6cidr_details", byoipv6cidr_details) - pulumi.set(__self__, "cidr_block", cidr_block) - pulumi.set(__self__, "cidr_blocks", cidr_blocks) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "default_dhcp_options_id", default_dhcp_options_id) - pulumi.set(__self__, "default_route_table_id", default_route_table_id) - pulumi.set(__self__, "default_security_list_id", default_security_list_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "dns_label", dns_label) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "ipv6cidr_blocks", ipv6cidr_blocks) - pulumi.set(__self__, "ipv6private_cidr_blocks", ipv6private_cidr_blocks) - pulumi.set(__self__, "is_ipv6enabled", is_ipv6enabled) - pulumi.set(__self__, "is_oracle_gua_allocation_enabled", is_oracle_gua_allocation_enabled) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "vcn_domain_name", vcn_domain_name) + GetVcnsVirtualNetworkResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + byoipv6cidr_blocks=byoipv6cidr_blocks, + byoipv6cidr_details=byoipv6cidr_details, + cidr_block=cidr_block, + cidr_blocks=cidr_blocks, + compartment_id=compartment_id, + default_dhcp_options_id=default_dhcp_options_id, + default_route_table_id=default_route_table_id, + default_security_list_id=default_security_list_id, + defined_tags=defined_tags, + display_name=display_name, + dns_label=dns_label, + freeform_tags=freeform_tags, + id=id, + ipv6cidr_blocks=ipv6cidr_blocks, + ipv6private_cidr_blocks=ipv6private_cidr_blocks, + is_ipv6enabled=is_ipv6enabled, + is_oracle_gua_allocation_enabled=is_oracle_gua_allocation_enabled, + state=state, + time_created=time_created, + vcn_domain_name=vcn_domain_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + byoipv6cidr_blocks: Sequence[str], + byoipv6cidr_details: Sequence['outputs.GetVcnsVirtualNetworkByoipv6cidrDetailResult'], + cidr_block: str, + cidr_blocks: Sequence[str], + compartment_id: str, + default_dhcp_options_id: str, + default_route_table_id: str, + default_security_list_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + dns_label: str, + freeform_tags: Mapping[str, Any], + id: str, + ipv6cidr_blocks: Sequence[str], + ipv6private_cidr_blocks: Sequence[str], + is_ipv6enabled: bool, + is_oracle_gua_allocation_enabled: bool, + state: str, + time_created: str, + vcn_domain_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("byoipv6cidr_blocks", byoipv6cidr_blocks) + _setter("byoipv6cidr_details", byoipv6cidr_details) + _setter("cidr_block", cidr_block) + _setter("cidr_blocks", cidr_blocks) + _setter("compartment_id", compartment_id) + _setter("default_dhcp_options_id", default_dhcp_options_id) + _setter("default_route_table_id", default_route_table_id) + _setter("default_security_list_id", default_security_list_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("dns_label", dns_label) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("ipv6cidr_blocks", ipv6cidr_blocks) + _setter("ipv6private_cidr_blocks", ipv6private_cidr_blocks) + _setter("is_ipv6enabled", is_ipv6enabled) + _setter("is_oracle_gua_allocation_enabled", is_oracle_gua_allocation_enabled) + _setter("state", state) + _setter("time_created", time_created) + _setter("vcn_domain_name", vcn_domain_name) @property @pulumi.getter(name="byoipv6cidrBlocks") @@ -40287,8 +50480,19 @@ class GetVcnsVirtualNetworkByoipv6cidrDetailResult(dict): def __init__(__self__, *, byoipv6range_id: str, ipv6cidr_block: str): - pulumi.set(__self__, "byoipv6range_id", byoipv6range_id) - pulumi.set(__self__, "ipv6cidr_block", ipv6cidr_block) + GetVcnsVirtualNetworkByoipv6cidrDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + byoipv6range_id=byoipv6range_id, + ipv6cidr_block=ipv6cidr_block, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + byoipv6range_id: str, + ipv6cidr_block: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("byoipv6range_id", byoipv6range_id) + _setter("ipv6cidr_block", ipv6cidr_block) @property @pulumi.getter(name="byoipv6rangeId") @@ -40307,10 +50511,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVirtualCircuitAssociatedTunnelsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -40339,9 +50556,22 @@ def __init__(__self__, *, :param str tunnel_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the IPSec tunnel associated with the virtual circuit. :param str tunnel_type: The type of the tunnel associated with the virtual circuit. """ - pulumi.set(__self__, "ipsec_connection_id", ipsec_connection_id) - pulumi.set(__self__, "tunnel_id", tunnel_id) - pulumi.set(__self__, "tunnel_type", tunnel_type) + GetVirtualCircuitAssociatedTunnelsVirtualCircuitAssociatedTunnelDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ipsec_connection_id=ipsec_connection_id, + tunnel_id=tunnel_id, + tunnel_type=tunnel_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ipsec_connection_id: str, + tunnel_id: str, + tunnel_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ipsec_connection_id", ipsec_connection_id) + _setter("tunnel_id", tunnel_id) + _setter("tunnel_type", tunnel_type) @property @pulumi.getter(name="ipsecConnectionId") @@ -40377,10 +50607,23 @@ def __init__(__self__, *, """ :param str name: The name of the bandwidth shape. Example: `10 Gbps` """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVirtualCircuitBandwidthShapesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -40410,8 +50653,19 @@ def __init__(__self__, *, :param int bandwidth_in_mbps: The bandwidth in Mbps. Example: `10000` :param str name: The name of the bandwidth shape. Example: `10 Gbps` """ - pulumi.set(__self__, "bandwidth_in_mbps", bandwidth_in_mbps) - pulumi.set(__self__, "name", name) + GetVirtualCircuitBandwidthShapesVirtualCircuitBandwidthShapeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bandwidth_in_mbps=bandwidth_in_mbps, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bandwidth_in_mbps: int, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bandwidth_in_mbps", bandwidth_in_mbps) + _setter("name", name) @property @pulumi.getter(name="bandwidthInMbps") @@ -40449,13 +50703,34 @@ def __init__(__self__, *, :param str oracle_bgp_peering_ipv6: The IPv6 address for Oracle's end of the BGP session. Only subnet masks from /64 up to /127 are allowed. If the session goes from Oracle to a customer's edge router, the customer specifies this information. If the session goes from Oracle to a provider's edge router, the provider specifies this. :param int vlan: The number of the specific VLAN (on the cross-connect or cross-connect group) that is assigned to this virtual circuit. Specified by the owner of the cross-connect or cross-connect group (the customer if the customer is colocated with Oracle, or the provider if the customer is connecting via provider). Example: `200` """ - pulumi.set(__self__, "bgp_md5auth_key", bgp_md5auth_key) - pulumi.set(__self__, "cross_connect_or_cross_connect_group_id", cross_connect_or_cross_connect_group_id) - pulumi.set(__self__, "customer_bgp_peering_ip", customer_bgp_peering_ip) - pulumi.set(__self__, "customer_bgp_peering_ipv6", customer_bgp_peering_ipv6) - pulumi.set(__self__, "oracle_bgp_peering_ip", oracle_bgp_peering_ip) - pulumi.set(__self__, "oracle_bgp_peering_ipv6", oracle_bgp_peering_ipv6) - pulumi.set(__self__, "vlan", vlan) + GetVirtualCircuitCrossConnectMappingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bgp_md5auth_key=bgp_md5auth_key, + cross_connect_or_cross_connect_group_id=cross_connect_or_cross_connect_group_id, + customer_bgp_peering_ip=customer_bgp_peering_ip, + customer_bgp_peering_ipv6=customer_bgp_peering_ipv6, + oracle_bgp_peering_ip=oracle_bgp_peering_ip, + oracle_bgp_peering_ipv6=oracle_bgp_peering_ipv6, + vlan=vlan, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bgp_md5auth_key: str, + cross_connect_or_cross_connect_group_id: str, + customer_bgp_peering_ip: str, + customer_bgp_peering_ipv6: str, + oracle_bgp_peering_ip: str, + oracle_bgp_peering_ipv6: str, + vlan: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bgp_md5auth_key", bgp_md5auth_key) + _setter("cross_connect_or_cross_connect_group_id", cross_connect_or_cross_connect_group_id) + _setter("customer_bgp_peering_ip", customer_bgp_peering_ip) + _setter("customer_bgp_peering_ipv6", customer_bgp_peering_ipv6) + _setter("oracle_bgp_peering_ip", oracle_bgp_peering_ip) + _setter("oracle_bgp_peering_ipv6", oracle_bgp_peering_ipv6) + _setter("vlan", vlan) @property @pulumi.getter(name="bgpMd5authKey") @@ -40518,7 +50793,16 @@ def vlan(self) -> int: class GetVirtualCircuitPublicPrefixResult(dict): def __init__(__self__, *, cidr_block: str): - pulumi.set(__self__, "cidr_block", cidr_block) + GetVirtualCircuitPublicPrefixResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cidr_block=cidr_block, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cidr_block: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cidr_block", cidr_block) @property @pulumi.getter(name="cidrBlock") @@ -40532,10 +50816,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVirtualCircuitPublicPrefixesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -40564,8 +50861,19 @@ def __init__(__self__, *, The state value is case-insensitive. """ - pulumi.set(__self__, "cidr_block", cidr_block) - pulumi.set(__self__, "verification_state", verification_state) + GetVirtualCircuitPublicPrefixesVirtualCircuitPublicPrefixResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cidr_block=cidr_block, + verification_state=verification_state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cidr_block: str, + verification_state: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cidr_block", cidr_block) + _setter("verification_state", verification_state) @property @pulumi.getter(name="cidrBlock") @@ -40592,10 +50900,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVirtualCircuitsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -40677,36 +50998,103 @@ def __init__(__self__, *, :param str time_created: The date and time the virtual circuit was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` :param str type: Whether the virtual circuit supports private or public peering. For more information, see [FastConnect Overview](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/fastconnect.htm). """ - pulumi.set(__self__, "bandwidth_shape_name", bandwidth_shape_name) - pulumi.set(__self__, "bgp_admin_state", bgp_admin_state) - pulumi.set(__self__, "bgp_ipv6session_state", bgp_ipv6session_state) - pulumi.set(__self__, "bgp_management", bgp_management) - pulumi.set(__self__, "bgp_session_state", bgp_session_state) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "cross_connect_mappings", cross_connect_mappings) - pulumi.set(__self__, "customer_asn", customer_asn) - pulumi.set(__self__, "customer_bgp_asn", customer_bgp_asn) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "gateway_id", gateway_id) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "ip_mtu", ip_mtu) - pulumi.set(__self__, "is_bfd_enabled", is_bfd_enabled) - pulumi.set(__self__, "is_transport_mode", is_transport_mode) - pulumi.set(__self__, "oracle_bgp_asn", oracle_bgp_asn) - pulumi.set(__self__, "provider_service_id", provider_service_id) - pulumi.set(__self__, "provider_service_key_name", provider_service_key_name) - pulumi.set(__self__, "provider_state", provider_state) - pulumi.set(__self__, "public_prefixes", public_prefixes) - pulumi.set(__self__, "reference_comment", reference_comment) - pulumi.set(__self__, "region", region) - pulumi.set(__self__, "routing_policies", routing_policies) - pulumi.set(__self__, "service_type", service_type) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "virtual_circuit_id", virtual_circuit_id) + GetVirtualCircuitsVirtualCircuitResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bandwidth_shape_name=bandwidth_shape_name, + bgp_admin_state=bgp_admin_state, + bgp_ipv6session_state=bgp_ipv6session_state, + bgp_management=bgp_management, + bgp_session_state=bgp_session_state, + compartment_id=compartment_id, + cross_connect_mappings=cross_connect_mappings, + customer_asn=customer_asn, + customer_bgp_asn=customer_bgp_asn, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + gateway_id=gateway_id, + id=id, + ip_mtu=ip_mtu, + is_bfd_enabled=is_bfd_enabled, + is_transport_mode=is_transport_mode, + oracle_bgp_asn=oracle_bgp_asn, + provider_service_id=provider_service_id, + provider_service_key_name=provider_service_key_name, + provider_state=provider_state, + public_prefixes=public_prefixes, + reference_comment=reference_comment, + region=region, + routing_policies=routing_policies, + service_type=service_type, + state=state, + time_created=time_created, + type=type, + virtual_circuit_id=virtual_circuit_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bandwidth_shape_name: str, + bgp_admin_state: str, + bgp_ipv6session_state: str, + bgp_management: str, + bgp_session_state: str, + compartment_id: str, + cross_connect_mappings: Sequence['outputs.GetVirtualCircuitsVirtualCircuitCrossConnectMappingResult'], + customer_asn: str, + customer_bgp_asn: int, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + gateway_id: str, + id: str, + ip_mtu: str, + is_bfd_enabled: bool, + is_transport_mode: bool, + oracle_bgp_asn: int, + provider_service_id: str, + provider_service_key_name: str, + provider_state: str, + public_prefixes: Sequence['outputs.GetVirtualCircuitsVirtualCircuitPublicPrefixResult'], + reference_comment: str, + region: str, + routing_policies: Sequence[str], + service_type: str, + state: str, + time_created: str, + type: str, + virtual_circuit_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bandwidth_shape_name", bandwidth_shape_name) + _setter("bgp_admin_state", bgp_admin_state) + _setter("bgp_ipv6session_state", bgp_ipv6session_state) + _setter("bgp_management", bgp_management) + _setter("bgp_session_state", bgp_session_state) + _setter("compartment_id", compartment_id) + _setter("cross_connect_mappings", cross_connect_mappings) + _setter("customer_asn", customer_asn) + _setter("customer_bgp_asn", customer_bgp_asn) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("gateway_id", gateway_id) + _setter("id", id) + _setter("ip_mtu", ip_mtu) + _setter("is_bfd_enabled", is_bfd_enabled) + _setter("is_transport_mode", is_transport_mode) + _setter("oracle_bgp_asn", oracle_bgp_asn) + _setter("provider_service_id", provider_service_id) + _setter("provider_service_key_name", provider_service_key_name) + _setter("provider_state", provider_state) + _setter("public_prefixes", public_prefixes) + _setter("reference_comment", reference_comment) + _setter("region", region) + _setter("routing_policies", routing_policies) + _setter("service_type", service_type) + _setter("state", state) + _setter("time_created", time_created) + _setter("type", type) + _setter("virtual_circuit_id", virtual_circuit_id) @property @pulumi.getter(name="bandwidthShapeName") @@ -40971,13 +51359,34 @@ def __init__(__self__, *, :param str oracle_bgp_peering_ipv6: The IPv6 address for Oracle's end of the BGP session. Only subnet masks from /64 up to /127 are allowed. If the session goes from Oracle to a customer's edge router, the customer specifies this information. If the session goes from Oracle to a provider's edge router, the provider specifies this. :param int vlan: The number of the specific VLAN (on the cross-connect or cross-connect group) that is assigned to this virtual circuit. Specified by the owner of the cross-connect or cross-connect group (the customer if the customer is colocated with Oracle, or the provider if the customer is connecting via provider). Example: `200` """ - pulumi.set(__self__, "bgp_md5auth_key", bgp_md5auth_key) - pulumi.set(__self__, "cross_connect_or_cross_connect_group_id", cross_connect_or_cross_connect_group_id) - pulumi.set(__self__, "customer_bgp_peering_ip", customer_bgp_peering_ip) - pulumi.set(__self__, "customer_bgp_peering_ipv6", customer_bgp_peering_ipv6) - pulumi.set(__self__, "oracle_bgp_peering_ip", oracle_bgp_peering_ip) - pulumi.set(__self__, "oracle_bgp_peering_ipv6", oracle_bgp_peering_ipv6) - pulumi.set(__self__, "vlan", vlan) + GetVirtualCircuitsVirtualCircuitCrossConnectMappingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bgp_md5auth_key=bgp_md5auth_key, + cross_connect_or_cross_connect_group_id=cross_connect_or_cross_connect_group_id, + customer_bgp_peering_ip=customer_bgp_peering_ip, + customer_bgp_peering_ipv6=customer_bgp_peering_ipv6, + oracle_bgp_peering_ip=oracle_bgp_peering_ip, + oracle_bgp_peering_ipv6=oracle_bgp_peering_ipv6, + vlan=vlan, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bgp_md5auth_key: str, + cross_connect_or_cross_connect_group_id: str, + customer_bgp_peering_ip: str, + customer_bgp_peering_ipv6: str, + oracle_bgp_peering_ip: str, + oracle_bgp_peering_ipv6: str, + vlan: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bgp_md5auth_key", bgp_md5auth_key) + _setter("cross_connect_or_cross_connect_group_id", cross_connect_or_cross_connect_group_id) + _setter("customer_bgp_peering_ip", customer_bgp_peering_ip) + _setter("customer_bgp_peering_ipv6", customer_bgp_peering_ipv6) + _setter("oracle_bgp_peering_ip", oracle_bgp_peering_ip) + _setter("oracle_bgp_peering_ipv6", oracle_bgp_peering_ipv6) + _setter("vlan", vlan) @property @pulumi.getter(name="bgpMd5authKey") @@ -41040,7 +51449,16 @@ def vlan(self) -> int: class GetVirtualCircuitsVirtualCircuitPublicPrefixResult(dict): def __init__(__self__, *, cidr_block: str): - pulumi.set(__self__, "cidr_block", cidr_block) + GetVirtualCircuitsVirtualCircuitPublicPrefixResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cidr_block=cidr_block, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cidr_block: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cidr_block", cidr_block) @property @pulumi.getter(name="cidrBlock") @@ -41054,10 +51472,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVirtualNetworksFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -41098,26 +51529,73 @@ def __init__(__self__, *, state: str, time_created: str, vcn_domain_name: str): - pulumi.set(__self__, "byoipv6cidr_blocks", byoipv6cidr_blocks) - pulumi.set(__self__, "byoipv6cidr_details", byoipv6cidr_details) - pulumi.set(__self__, "cidr_block", cidr_block) - pulumi.set(__self__, "cidr_blocks", cidr_blocks) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "default_dhcp_options_id", default_dhcp_options_id) - pulumi.set(__self__, "default_route_table_id", default_route_table_id) - pulumi.set(__self__, "default_security_list_id", default_security_list_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "dns_label", dns_label) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "ipv6cidr_blocks", ipv6cidr_blocks) - pulumi.set(__self__, "ipv6private_cidr_blocks", ipv6private_cidr_blocks) - pulumi.set(__self__, "is_ipv6enabled", is_ipv6enabled) - pulumi.set(__self__, "is_oracle_gua_allocation_enabled", is_oracle_gua_allocation_enabled) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "vcn_domain_name", vcn_domain_name) + GetVirtualNetworksVirtualNetworkResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + byoipv6cidr_blocks=byoipv6cidr_blocks, + byoipv6cidr_details=byoipv6cidr_details, + cidr_block=cidr_block, + cidr_blocks=cidr_blocks, + compartment_id=compartment_id, + default_dhcp_options_id=default_dhcp_options_id, + default_route_table_id=default_route_table_id, + default_security_list_id=default_security_list_id, + defined_tags=defined_tags, + display_name=display_name, + dns_label=dns_label, + freeform_tags=freeform_tags, + id=id, + ipv6cidr_blocks=ipv6cidr_blocks, + ipv6private_cidr_blocks=ipv6private_cidr_blocks, + is_ipv6enabled=is_ipv6enabled, + is_oracle_gua_allocation_enabled=is_oracle_gua_allocation_enabled, + state=state, + time_created=time_created, + vcn_domain_name=vcn_domain_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + byoipv6cidr_blocks: Sequence[str], + byoipv6cidr_details: Sequence['outputs.GetVirtualNetworksVirtualNetworkByoipv6cidrDetailResult'], + cidr_block: str, + cidr_blocks: Sequence[str], + compartment_id: str, + default_dhcp_options_id: str, + default_route_table_id: str, + default_security_list_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + dns_label: str, + freeform_tags: Mapping[str, Any], + id: str, + ipv6cidr_blocks: Sequence[str], + ipv6private_cidr_blocks: Sequence[str], + is_ipv6enabled: bool, + is_oracle_gua_allocation_enabled: bool, + state: str, + time_created: str, + vcn_domain_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("byoipv6cidr_blocks", byoipv6cidr_blocks) + _setter("byoipv6cidr_details", byoipv6cidr_details) + _setter("cidr_block", cidr_block) + _setter("cidr_blocks", cidr_blocks) + _setter("compartment_id", compartment_id) + _setter("default_dhcp_options_id", default_dhcp_options_id) + _setter("default_route_table_id", default_route_table_id) + _setter("default_security_list_id", default_security_list_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("dns_label", dns_label) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("ipv6cidr_blocks", ipv6cidr_blocks) + _setter("ipv6private_cidr_blocks", ipv6private_cidr_blocks) + _setter("is_ipv6enabled", is_ipv6enabled) + _setter("is_oracle_gua_allocation_enabled", is_oracle_gua_allocation_enabled) + _setter("state", state) + _setter("time_created", time_created) + _setter("vcn_domain_name", vcn_domain_name) @property @pulumi.getter(name="byoipv6cidrBlocks") @@ -41225,8 +51703,19 @@ class GetVirtualNetworksVirtualNetworkByoipv6cidrDetailResult(dict): def __init__(__self__, *, byoipv6range_id: str, ipv6cidr_block: str): - pulumi.set(__self__, "byoipv6range_id", byoipv6range_id) - pulumi.set(__self__, "ipv6cidr_block", ipv6cidr_block) + GetVirtualNetworksVirtualNetworkByoipv6cidrDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + byoipv6range_id=byoipv6range_id, + ipv6cidr_block=ipv6cidr_block, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + byoipv6range_id: str, + ipv6cidr_block: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("byoipv6range_id", byoipv6range_id) + _setter("ipv6cidr_block", ipv6cidr_block) @property @pulumi.getter(name="byoipv6rangeId") @@ -41245,10 +51734,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVlansFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -41297,19 +51799,52 @@ def __init__(__self__, *, :param str vcn_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. :param int vlan_tag: The IEEE 802.1Q VLAN tag of this VLAN. Example: `100` """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "cidr_block", cidr_block) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "nsg_ids", nsg_ids) - pulumi.set(__self__, "route_table_id", route_table_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "vcn_id", vcn_id) - pulumi.set(__self__, "vlan_tag", vlan_tag) + GetVlansVlanResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + cidr_block=cidr_block, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + nsg_ids=nsg_ids, + route_table_id=route_table_id, + state=state, + time_created=time_created, + vcn_id=vcn_id, + vlan_tag=vlan_tag, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + cidr_block: str, + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + nsg_ids: Sequence[str], + route_table_id: str, + state: str, + time_created: str, + vcn_id: str, + vlan_tag: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("cidr_block", cidr_block) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("nsg_ids", nsg_ids) + _setter("route_table_id", route_table_id) + _setter("state", state) + _setter("time_created", time_created) + _setter("vcn_id", vcn_id) + _setter("vlan_tag", vlan_tag) @property @pulumi.getter(name="availabilityDomain") @@ -41422,10 +51957,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVnicAttachmentsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -41473,19 +52021,52 @@ def __init__(__self__, *, :param int vlan_tag: The Oracle-assigned VLAN tag of the attached VNIC. Available after the attachment process is complete. :param str vnic_id: The OCID of the VNIC. """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "create_vnic_details", create_vnic_details) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "instance_id", instance_id) - pulumi.set(__self__, "nic_index", nic_index) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "vlan_id", vlan_id) - pulumi.set(__self__, "vlan_tag", vlan_tag) - pulumi.set(__self__, "vnic_id", vnic_id) + GetVnicAttachmentsVnicAttachmentResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + compartment_id=compartment_id, + create_vnic_details=create_vnic_details, + display_name=display_name, + id=id, + instance_id=instance_id, + nic_index=nic_index, + state=state, + subnet_id=subnet_id, + time_created=time_created, + vlan_id=vlan_id, + vlan_tag=vlan_tag, + vnic_id=vnic_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + compartment_id: str, + create_vnic_details: Sequence['outputs.GetVnicAttachmentsVnicAttachmentCreateVnicDetailResult'], + display_name: str, + id: str, + instance_id: str, + nic_index: int, + state: str, + subnet_id: str, + time_created: str, + vlan_id: str, + vlan_tag: int, + vnic_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("compartment_id", compartment_id) + _setter("create_vnic_details", create_vnic_details) + _setter("display_name", display_name) + _setter("id", id) + _setter("instance_id", instance_id) + _setter("nic_index", nic_index) + _setter("state", state) + _setter("subnet_id", subnet_id) + _setter("time_created", time_created) + _setter("vlan_id", vlan_id) + _setter("vlan_tag", vlan_tag) + _setter("vnic_id", vnic_id) @property @pulumi.getter(name="availabilityDomain") @@ -41610,19 +52191,52 @@ def __init__(__self__, *, :param str subnet_id: The OCID of the subnet to create the VNIC in. :param str vlan_id: The OCID of the VLAN to create the VNIC in. Creating the VNIC in a VLAN (instead of a subnet) is possible only if you are an Oracle Cloud VMware Solution customer. See [Vlan](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/latest/Vlan). """ - pulumi.set(__self__, "assign_ipv6ip", assign_ipv6ip) - pulumi.set(__self__, "assign_private_dns_record", assign_private_dns_record) - pulumi.set(__self__, "assign_public_ip", assign_public_ip) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "hostname_label", hostname_label) - pulumi.set(__self__, "ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) - pulumi.set(__self__, "nsg_ids", nsg_ids) - pulumi.set(__self__, "private_ip", private_ip) - pulumi.set(__self__, "skip_source_dest_check", skip_source_dest_check) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "vlan_id", vlan_id) + GetVnicAttachmentsVnicAttachmentCreateVnicDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + assign_ipv6ip=assign_ipv6ip, + assign_private_dns_record=assign_private_dns_record, + assign_public_ip=assign_public_ip, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + hostname_label=hostname_label, + ipv6address_ipv6subnet_cidr_pair_details=ipv6address_ipv6subnet_cidr_pair_details, + nsg_ids=nsg_ids, + private_ip=private_ip, + skip_source_dest_check=skip_source_dest_check, + subnet_id=subnet_id, + vlan_id=vlan_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + assign_ipv6ip: bool, + assign_private_dns_record: bool, + assign_public_ip: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + hostname_label: str, + ipv6address_ipv6subnet_cidr_pair_details: Sequence['outputs.GetVnicAttachmentsVnicAttachmentCreateVnicDetailIpv6addressIpv6subnetCidrPairDetailResult'], + nsg_ids: Sequence[str], + private_ip: str, + skip_source_dest_check: bool, + subnet_id: str, + vlan_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("assign_ipv6ip", assign_ipv6ip) + _setter("assign_private_dns_record", assign_private_dns_record) + _setter("assign_public_ip", assign_public_ip) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("hostname_label", hostname_label) + _setter("ipv6address_ipv6subnet_cidr_pair_details", ipv6address_ipv6subnet_cidr_pair_details) + _setter("nsg_ids", nsg_ids) + _setter("private_ip", private_ip) + _setter("skip_source_dest_check", skip_source_dest_check) + _setter("subnet_id", subnet_id) + _setter("vlan_id", vlan_id) @property @pulumi.getter(name="assignIpv6ip") @@ -41704,8 +52318,19 @@ class GetVnicAttachmentsVnicAttachmentCreateVnicDetailIpv6addressIpv6subnetCidrP def __init__(__self__, *, ipv6_address: str, ipv6_subnet_cidr: str): - pulumi.set(__self__, "ipv6_address", ipv6_address) - pulumi.set(__self__, "ipv6_subnet_cidr", ipv6_subnet_cidr) + GetVnicAttachmentsVnicAttachmentCreateVnicDetailIpv6addressIpv6subnetCidrPairDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ipv6_address=ipv6_address, + ipv6_subnet_cidr=ipv6_subnet_cidr, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ipv6_address: str, + ipv6_subnet_cidr: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ipv6_address", ipv6_address) + _setter("ipv6_subnet_cidr", ipv6_subnet_cidr) @property @pulumi.getter(name="ipv6Address") @@ -41724,10 +52349,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVolumeAttachmentsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -41796,30 +52434,85 @@ def __init__(__self__, *, :param str time_created: The date and time the volume was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` :param str volume_id: The OCID of the volume. """ - pulumi.set(__self__, "attachment_type", attachment_type) - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "chap_secret", chap_secret) - pulumi.set(__self__, "chap_username", chap_username) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "device", device) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "encryption_in_transit_type", encryption_in_transit_type) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "instance_id", instance_id) - pulumi.set(__self__, "ipv4", ipv4) - pulumi.set(__self__, "iqn", iqn) - pulumi.set(__self__, "is_agent_auto_iscsi_login_enabled", is_agent_auto_iscsi_login_enabled) - pulumi.set(__self__, "is_multipath", is_multipath) - pulumi.set(__self__, "is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) - pulumi.set(__self__, "is_read_only", is_read_only) - pulumi.set(__self__, "is_shareable", is_shareable) - pulumi.set(__self__, "iscsi_login_state", iscsi_login_state) - pulumi.set(__self__, "multipath_devices", multipath_devices) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "use_chap", use_chap) - pulumi.set(__self__, "volume_id", volume_id) + GetVolumeAttachmentsVolumeAttachmentResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + attachment_type=attachment_type, + availability_domain=availability_domain, + chap_secret=chap_secret, + chap_username=chap_username, + compartment_id=compartment_id, + device=device, + display_name=display_name, + encryption_in_transit_type=encryption_in_transit_type, + id=id, + instance_id=instance_id, + ipv4=ipv4, + iqn=iqn, + is_agent_auto_iscsi_login_enabled=is_agent_auto_iscsi_login_enabled, + is_multipath=is_multipath, + is_pv_encryption_in_transit_enabled=is_pv_encryption_in_transit_enabled, + is_read_only=is_read_only, + is_shareable=is_shareable, + iscsi_login_state=iscsi_login_state, + multipath_devices=multipath_devices, + port=port, + state=state, + time_created=time_created, + use_chap=use_chap, + volume_id=volume_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attachment_type: str, + availability_domain: str, + chap_secret: str, + chap_username: str, + compartment_id: str, + device: str, + display_name: str, + encryption_in_transit_type: str, + id: str, + instance_id: str, + ipv4: str, + iqn: str, + is_agent_auto_iscsi_login_enabled: bool, + is_multipath: bool, + is_pv_encryption_in_transit_enabled: bool, + is_read_only: bool, + is_shareable: bool, + iscsi_login_state: str, + multipath_devices: Sequence['outputs.GetVolumeAttachmentsVolumeAttachmentMultipathDeviceResult'], + port: int, + state: str, + time_created: str, + use_chap: bool, + volume_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("attachment_type", attachment_type) + _setter("availability_domain", availability_domain) + _setter("chap_secret", chap_secret) + _setter("chap_username", chap_username) + _setter("compartment_id", compartment_id) + _setter("device", device) + _setter("display_name", display_name) + _setter("encryption_in_transit_type", encryption_in_transit_type) + _setter("id", id) + _setter("instance_id", instance_id) + _setter("ipv4", ipv4) + _setter("iqn", iqn) + _setter("is_agent_auto_iscsi_login_enabled", is_agent_auto_iscsi_login_enabled) + _setter("is_multipath", is_multipath) + _setter("is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) + _setter("is_read_only", is_read_only) + _setter("is_shareable", is_shareable) + _setter("iscsi_login_state", iscsi_login_state) + _setter("multipath_devices", multipath_devices) + _setter("port", port) + _setter("state", state) + _setter("time_created", time_created) + _setter("use_chap", use_chap) + _setter("volume_id", volume_id) @property @pulumi.getter(name="attachmentType") @@ -42022,9 +52715,22 @@ def __init__(__self__, *, :param str iqn: The target volume's iSCSI Qualified Name in the format defined by [RFC 3720](https://tools.ietf.org/html/rfc3720#page-32). Example: `iqn.2015-12.com.oracleiaas:40b7ee03-883f-46c6-a951-63d2841d2195` :param int port: The volume's iSCSI port, usually port 860 or 3260. Example: `3260` """ - pulumi.set(__self__, "ipv4", ipv4) - pulumi.set(__self__, "iqn", iqn) - pulumi.set(__self__, "port", port) + GetVolumeAttachmentsVolumeAttachmentMultipathDeviceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ipv4=ipv4, + iqn=iqn, + port=port, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ipv4: str, + iqn: str, + port: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ipv4", ipv4) + _setter("iqn", iqn) + _setter("port", port) @property @pulumi.getter @@ -42060,8 +52766,19 @@ def __init__(__self__, *, :param str autotune_type: This specifies the type of autotunes supported by OCI. :param str max_vpus_per_gb: This will be the maximum VPUs/GB performance level that the volume will be auto-tuned temporarily based on performance monitoring. """ - pulumi.set(__self__, "autotune_type", autotune_type) - pulumi.set(__self__, "max_vpus_per_gb", max_vpus_per_gb) + GetVolumeAutotunePolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + autotune_type=autotune_type, + max_vpus_per_gb=max_vpus_per_gb, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + autotune_type: str, + max_vpus_per_gb: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("autotune_type", autotune_type) + _setter("max_vpus_per_gb", max_vpus_per_gb) @property @pulumi.getter(name="autotuneType") @@ -42086,10 +52803,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVolumeBackupPoliciesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -42128,14 +52858,37 @@ def __init__(__self__, *, :param Sequence['GetVolumeBackupPoliciesVolumeBackupPolicyScheduleArgs'] schedules: The collection of schedules that this policy will apply. :param str time_created: The date and time the volume backup policy was created. Format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "destination_region", destination_region) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "schedules", schedules) - pulumi.set(__self__, "time_created", time_created) + GetVolumeBackupPoliciesVolumeBackupPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + destination_region=destination_region, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + schedules=schedules, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + destination_region: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + schedules: Sequence['outputs.GetVolumeBackupPoliciesVolumeBackupPolicyScheduleResult'], + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("destination_region", destination_region) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("schedules", schedules) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -42227,16 +52980,43 @@ def __init__(__self__, *, :param int retention_seconds: How long, in seconds, to keep the volume backups created by this schedule. :param str time_zone: Specifies what time zone is the schedule in """ - pulumi.set(__self__, "backup_type", backup_type) - pulumi.set(__self__, "day_of_month", day_of_month) - pulumi.set(__self__, "day_of_week", day_of_week) - pulumi.set(__self__, "hour_of_day", hour_of_day) - pulumi.set(__self__, "month", month) - pulumi.set(__self__, "offset_seconds", offset_seconds) - pulumi.set(__self__, "offset_type", offset_type) - pulumi.set(__self__, "period", period) - pulumi.set(__self__, "retention_seconds", retention_seconds) - pulumi.set(__self__, "time_zone", time_zone) + GetVolumeBackupPoliciesVolumeBackupPolicyScheduleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + backup_type=backup_type, + day_of_month=day_of_month, + day_of_week=day_of_week, + hour_of_day=hour_of_day, + month=month, + offset_seconds=offset_seconds, + offset_type=offset_type, + period=period, + retention_seconds=retention_seconds, + time_zone=time_zone, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backup_type: str, + day_of_month: int, + day_of_week: str, + hour_of_day: int, + month: str, + offset_seconds: int, + offset_type: str, + period: str, + retention_seconds: int, + time_zone: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("backup_type", backup_type) + _setter("day_of_month", day_of_month) + _setter("day_of_week", day_of_week) + _setter("hour_of_day", hour_of_day) + _setter("month", month) + _setter("offset_seconds", offset_seconds) + _setter("offset_type", offset_type) + _setter("period", period) + _setter("retention_seconds", retention_seconds) + _setter("time_zone", time_zone) @property @pulumi.getter(name="backupType") @@ -42325,10 +53105,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVolumeBackupPolicyAssignmentsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -42359,10 +53152,25 @@ def __init__(__self__, *, :param str policy_id: The OCID of the volume backup policy that has been assigned to the volume. :param str time_created: The date and time the volume backup policy was assigned to the volume. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339). """ - pulumi.set(__self__, "asset_id", asset_id) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "policy_id", policy_id) - pulumi.set(__self__, "time_created", time_created) + GetVolumeBackupPolicyAssignmentsVolumeBackupPolicyAssignmentResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + asset_id=asset_id, + id=id, + policy_id=policy_id, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + asset_id: str, + id: str, + policy_id: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("asset_id", asset_id) + _setter("id", id) + _setter("policy_id", policy_id) + _setter("time_created", time_created) @property @pulumi.getter(name="assetId") @@ -42403,10 +53211,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVolumeBackupsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -42468,26 +53289,73 @@ def __init__(__self__, *, :param str unique_size_in_mbs: The size used by the backup, in MBs. It is typically smaller than sizeInMBs, depending on the space consumed on the volume and whether the backup is full or incremental. This field is deprecated. Please use uniqueSizeInGBs. :param str volume_id: The OCID of the volume. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "expiration_time", expiration_time) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "kms_key_id", kms_key_id) - pulumi.set(__self__, "size_in_gbs", size_in_gbs) - pulumi.set(__self__, "size_in_mbs", size_in_mbs) - pulumi.set(__self__, "source_details", source_details) - pulumi.set(__self__, "source_type", source_type) - pulumi.set(__self__, "source_volume_backup_id", source_volume_backup_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_request_received", time_request_received) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "unique_size_in_gbs", unique_size_in_gbs) - pulumi.set(__self__, "unique_size_in_mbs", unique_size_in_mbs) - pulumi.set(__self__, "volume_id", volume_id) + GetVolumeBackupsVolumeBackupResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + expiration_time=expiration_time, + freeform_tags=freeform_tags, + id=id, + kms_key_id=kms_key_id, + size_in_gbs=size_in_gbs, + size_in_mbs=size_in_mbs, + source_details=source_details, + source_type=source_type, + source_volume_backup_id=source_volume_backup_id, + state=state, + system_tags=system_tags, + time_created=time_created, + time_request_received=time_request_received, + type=type, + unique_size_in_gbs=unique_size_in_gbs, + unique_size_in_mbs=unique_size_in_mbs, + volume_id=volume_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + expiration_time: str, + freeform_tags: Mapping[str, Any], + id: str, + kms_key_id: str, + size_in_gbs: str, + size_in_mbs: str, + source_details: Sequence['outputs.GetVolumeBackupsVolumeBackupSourceDetailResult'], + source_type: str, + source_volume_backup_id: str, + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_request_received: str, + type: str, + unique_size_in_gbs: str, + unique_size_in_mbs: str, + volume_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("expiration_time", expiration_time) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("kms_key_id", kms_key_id) + _setter("size_in_gbs", size_in_gbs) + _setter("size_in_mbs", size_in_mbs) + _setter("source_details", source_details) + _setter("source_type", source_type) + _setter("source_volume_backup_id", source_volume_backup_id) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_request_received", time_request_received) + _setter("type", type) + _setter("unique_size_in_gbs", unique_size_in_gbs) + _setter("unique_size_in_mbs", unique_size_in_mbs) + _setter("volume_id", volume_id) @property @pulumi.getter(name="compartmentId") @@ -42662,9 +53530,22 @@ def __init__(__self__, *, """ :param str kms_key_id: The OCID of the Vault service key which is the master encryption key for the volume backup. For more information about the Vault service and encryption keys, see [Overview of Vault service](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm) and [Using Keys](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Tasks/usingkeys.htm). """ - pulumi.set(__self__, "kms_key_id", kms_key_id) - pulumi.set(__self__, "region", region) - pulumi.set(__self__, "volume_backup_id", volume_backup_id) + GetVolumeBackupsVolumeBackupSourceDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + kms_key_id=kms_key_id, + region=region, + volume_backup_id=volume_backup_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + kms_key_id: str, + region: str, + volume_backup_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("kms_key_id", kms_key_id) + _setter("region", region) + _setter("volume_backup_id", volume_backup_id) @property @pulumi.getter(name="kmsKeyId") @@ -42696,9 +53577,22 @@ def __init__(__self__, *, :param str block_volume_replica_id: The block volume replica's Oracle ID (OCID). :param str display_name: A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "block_volume_replica_id", block_volume_replica_id) - pulumi.set(__self__, "display_name", display_name) + GetVolumeBlockVolumeReplicaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + block_volume_replica_id=block_volume_replica_id, + display_name=display_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + block_volume_replica_id: str, + display_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("block_volume_replica_id", block_volume_replica_id) + _setter("display_name", display_name) @property @pulumi.getter(name="availabilityDomain") @@ -42731,10 +53625,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVolumeGroupBackupsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -42794,25 +53701,70 @@ def __init__(__self__, *, :param Sequence[str] volume_backup_ids: OCIDs for the volume backups in this volume group backup. :param str volume_group_id: The OCID of the volume group. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "expiration_time", expiration_time) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "size_in_gbs", size_in_gbs) - pulumi.set(__self__, "size_in_mbs", size_in_mbs) - pulumi.set(__self__, "source_details", source_details) - pulumi.set(__self__, "source_type", source_type) - pulumi.set(__self__, "source_volume_group_backup_id", source_volume_group_backup_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_request_received", time_request_received) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "unique_size_in_gbs", unique_size_in_gbs) - pulumi.set(__self__, "unique_size_in_mbs", unique_size_in_mbs) - pulumi.set(__self__, "volume_backup_ids", volume_backup_ids) - pulumi.set(__self__, "volume_group_id", volume_group_id) + GetVolumeGroupBackupsVolumeGroupBackupResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + expiration_time=expiration_time, + freeform_tags=freeform_tags, + id=id, + size_in_gbs=size_in_gbs, + size_in_mbs=size_in_mbs, + source_details=source_details, + source_type=source_type, + source_volume_group_backup_id=source_volume_group_backup_id, + state=state, + time_created=time_created, + time_request_received=time_request_received, + type=type, + unique_size_in_gbs=unique_size_in_gbs, + unique_size_in_mbs=unique_size_in_mbs, + volume_backup_ids=volume_backup_ids, + volume_group_id=volume_group_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + expiration_time: str, + freeform_tags: Mapping[str, Any], + id: str, + size_in_gbs: str, + size_in_mbs: str, + source_details: Sequence['outputs.GetVolumeGroupBackupsVolumeGroupBackupSourceDetailResult'], + source_type: str, + source_volume_group_backup_id: str, + state: str, + time_created: str, + time_request_received: str, + type: str, + unique_size_in_gbs: str, + unique_size_in_mbs: str, + volume_backup_ids: Sequence[str], + volume_group_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("expiration_time", expiration_time) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("size_in_gbs", size_in_gbs) + _setter("size_in_mbs", size_in_mbs) + _setter("source_details", source_details) + _setter("source_type", source_type) + _setter("source_volume_group_backup_id", source_volume_group_backup_id) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_request_received", time_request_received) + _setter("type", type) + _setter("unique_size_in_gbs", unique_size_in_gbs) + _setter("unique_size_in_mbs", unique_size_in_mbs) + _setter("volume_backup_ids", volume_backup_ids) + _setter("volume_group_id", volume_group_id) @property @pulumi.getter(name="compartmentId") @@ -42970,9 +53922,22 @@ def __init__(__self__, *, kms_key_id: str, region: str, volume_group_backup_id: str): - pulumi.set(__self__, "kms_key_id", kms_key_id) - pulumi.set(__self__, "region", region) - pulumi.set(__self__, "volume_group_backup_id", volume_group_backup_id) + GetVolumeGroupBackupsVolumeGroupBackupSourceDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + kms_key_id=kms_key_id, + region=region, + volume_group_backup_id=volume_group_backup_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + kms_key_id: str, + region: str, + volume_group_backup_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("kms_key_id", kms_key_id) + _setter("region", region) + _setter("volume_group_backup_id", volume_group_backup_id) @property @pulumi.getter(name="kmsKeyId") @@ -42999,8 +53964,19 @@ def __init__(__self__, *, :param str membership_state: Membership state of the volume replica in relation to the volume group replica. :param str volume_replica_id: The volume replica ID. """ - pulumi.set(__self__, "membership_state", membership_state) - pulumi.set(__self__, "volume_replica_id", volume_replica_id) + GetVolumeGroupReplicaMemberReplicaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + membership_state=membership_state, + volume_replica_id=volume_replica_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + membership_state: str, + volume_replica_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("membership_state", membership_state) + _setter("volume_replica_id", volume_replica_id) @property @pulumi.getter(name="membershipState") @@ -43025,10 +54001,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVolumeGroupReplicasFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -43075,18 +54064,49 @@ def __init__(__self__, *, :param str time_last_synced: The date and time the volume group replica was last synced from the source volume group. Format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). :param str volume_group_id: The OCID of the source volume group. """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "member_replicas", member_replicas) - pulumi.set(__self__, "size_in_gbs", size_in_gbs) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_last_synced", time_last_synced) - pulumi.set(__self__, "volume_group_id", volume_group_id) + GetVolumeGroupReplicasVolumeGroupReplicaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + member_replicas=member_replicas, + size_in_gbs=size_in_gbs, + state=state, + time_created=time_created, + time_last_synced=time_last_synced, + volume_group_id=volume_group_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + member_replicas: Sequence['outputs.GetVolumeGroupReplicasVolumeGroupReplicaMemberReplicaResult'], + size_in_gbs: str, + state: str, + time_created: str, + time_last_synced: str, + volume_group_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("member_replicas", member_replicas) + _setter("size_in_gbs", size_in_gbs) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_last_synced", time_last_synced) + _setter("volume_group_id", volume_group_id) @property @pulumi.getter(name="availabilityDomain") @@ -43194,8 +54214,19 @@ def __init__(__self__, *, :param str membership_state: Membership state of the volume replica in relation to the volume group replica. :param str volume_replica_id: The volume replica ID. """ - pulumi.set(__self__, "membership_state", membership_state) - pulumi.set(__self__, "volume_replica_id", volume_replica_id) + GetVolumeGroupReplicasVolumeGroupReplicaMemberReplicaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + membership_state=membership_state, + volume_replica_id=volume_replica_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + membership_state: str, + volume_replica_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("membership_state", membership_state) + _setter("volume_replica_id", volume_replica_id) @property @pulumi.getter(name="membershipState") @@ -43220,10 +54251,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVolumeGroupsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -43277,23 +54321,64 @@ def __init__(__self__, *, :param Sequence['GetVolumeGroupsVolumeGroupVolumeGroupReplicaArgs'] volume_group_replicas: The list of volume group replicas of this volume group. :param Sequence[str] volume_ids: OCIDs for the volumes in this volume group. """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "backup_policy_id", backup_policy_id) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_hydrated", is_hydrated) - pulumi.set(__self__, "preserve_volume_replica", preserve_volume_replica) - pulumi.set(__self__, "size_in_gbs", size_in_gbs) - pulumi.set(__self__, "size_in_mbs", size_in_mbs) - pulumi.set(__self__, "source_details", source_details) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "volume_group_replicas", volume_group_replicas) - pulumi.set(__self__, "volume_group_replicas_deletion", volume_group_replicas_deletion) - pulumi.set(__self__, "volume_ids", volume_ids) + GetVolumeGroupsVolumeGroupResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + backup_policy_id=backup_policy_id, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + is_hydrated=is_hydrated, + preserve_volume_replica=preserve_volume_replica, + size_in_gbs=size_in_gbs, + size_in_mbs=size_in_mbs, + source_details=source_details, + state=state, + time_created=time_created, + volume_group_replicas=volume_group_replicas, + volume_group_replicas_deletion=volume_group_replicas_deletion, + volume_ids=volume_ids, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + backup_policy_id: str, + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + is_hydrated: bool, + preserve_volume_replica: bool, + size_in_gbs: str, + size_in_mbs: str, + source_details: Sequence['outputs.GetVolumeGroupsVolumeGroupSourceDetailResult'], + state: str, + time_created: str, + volume_group_replicas: Sequence['outputs.GetVolumeGroupsVolumeGroupVolumeGroupReplicaResult'], + volume_group_replicas_deletion: bool, + volume_ids: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("backup_policy_id", backup_policy_id) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_hydrated", is_hydrated) + _setter("preserve_volume_replica", preserve_volume_replica) + _setter("size_in_gbs", size_in_gbs) + _setter("size_in_mbs", size_in_mbs) + _setter("source_details", source_details) + _setter("state", state) + _setter("time_created", time_created) + _setter("volume_group_replicas", volume_group_replicas) + _setter("volume_group_replicas_deletion", volume_group_replicas_deletion) + _setter("volume_ids", volume_ids) @property @pulumi.getter(name="availabilityDomain") @@ -43438,11 +54523,28 @@ def __init__(__self__, *, :param str volume_group_replica_id: The volume group replica's Oracle ID (OCID). :param Sequence[str] volume_ids: OCIDs for the volumes in this volume group. """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "volume_group_backup_id", volume_group_backup_id) - pulumi.set(__self__, "volume_group_id", volume_group_id) - pulumi.set(__self__, "volume_group_replica_id", volume_group_replica_id) - pulumi.set(__self__, "volume_ids", volume_ids) + GetVolumeGroupsVolumeGroupSourceDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + volume_group_backup_id=volume_group_backup_id, + volume_group_id=volume_group_id, + volume_group_replica_id=volume_group_replica_id, + volume_ids=volume_ids, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + volume_group_backup_id: str, + volume_group_id: str, + volume_group_replica_id: str, + volume_ids: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("volume_group_backup_id", volume_group_backup_id) + _setter("volume_group_id", volume_group_id) + _setter("volume_group_replica_id", volume_group_replica_id) + _setter("volume_ids", volume_ids) @property @pulumi.getter @@ -43496,9 +54598,22 @@ def __init__(__self__, *, :param str display_name: A filter to return only resources that match the given display name exactly. :param str volume_group_replica_id: The volume group replica's Oracle ID (OCID). """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "volume_group_replica_id", volume_group_replica_id) + GetVolumeGroupsVolumeGroupVolumeGroupReplicaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + display_name=display_name, + volume_group_replica_id=volume_group_replica_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + display_name: str, + volume_group_replica_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("display_name", display_name) + _setter("volume_group_replica_id", volume_group_replica_id) @property @pulumi.getter(name="availabilityDomain") @@ -43534,8 +54649,19 @@ def __init__(__self__, *, :param str id: The OCID of the block volume replica. :param str type: The type can be one of these values: `blockVolumeReplica`, `volume`, `volumeBackup` """ - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "type", type) + GetVolumeSourceDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) + _setter("type", type) @property @pulumi.getter @@ -43560,10 +54686,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVolumesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -43628,29 +54767,82 @@ def __init__(__self__, *, :param str volume_group_id: The OCID of the volume group. :param str vpus_per_gb: The number of volume performance units (VPUs) that will be applied to this volume per GB, representing the Block Volume service's elastic performance options. See [Block Volume Performance Levels](https://docs.cloud.oracle.com/iaas/Content/Block/Concepts/blockvolumeperformance.htm#perf_levels) for more information. """ - pulumi.set(__self__, "auto_tuned_vpus_per_gb", auto_tuned_vpus_per_gb) - pulumi.set(__self__, "autotune_policies", autotune_policies) - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "backup_policy_id", backup_policy_id) - pulumi.set(__self__, "block_volume_replicas", block_volume_replicas) - pulumi.set(__self__, "block_volume_replicas_deletion", block_volume_replicas_deletion) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_auto_tune_enabled", is_auto_tune_enabled) - pulumi.set(__self__, "is_hydrated", is_hydrated) - pulumi.set(__self__, "kms_key_id", kms_key_id) - pulumi.set(__self__, "size_in_gbs", size_in_gbs) - pulumi.set(__self__, "size_in_mbs", size_in_mbs) - pulumi.set(__self__, "source_details", source_details) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "volume_backup_id", volume_backup_id) - pulumi.set(__self__, "volume_group_id", volume_group_id) - pulumi.set(__self__, "vpus_per_gb", vpus_per_gb) + GetVolumesVolumeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + auto_tuned_vpus_per_gb=auto_tuned_vpus_per_gb, + autotune_policies=autotune_policies, + availability_domain=availability_domain, + backup_policy_id=backup_policy_id, + block_volume_replicas=block_volume_replicas, + block_volume_replicas_deletion=block_volume_replicas_deletion, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + is_auto_tune_enabled=is_auto_tune_enabled, + is_hydrated=is_hydrated, + kms_key_id=kms_key_id, + size_in_gbs=size_in_gbs, + size_in_mbs=size_in_mbs, + source_details=source_details, + state=state, + system_tags=system_tags, + time_created=time_created, + volume_backup_id=volume_backup_id, + volume_group_id=volume_group_id, + vpus_per_gb=vpus_per_gb, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + auto_tuned_vpus_per_gb: str, + autotune_policies: Sequence['outputs.GetVolumesVolumeAutotunePolicyResult'], + availability_domain: str, + backup_policy_id: str, + block_volume_replicas: Sequence['outputs.GetVolumesVolumeBlockVolumeReplicaResult'], + block_volume_replicas_deletion: bool, + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + is_auto_tune_enabled: bool, + is_hydrated: bool, + kms_key_id: str, + size_in_gbs: str, + size_in_mbs: str, + source_details: Sequence['outputs.GetVolumesVolumeSourceDetailResult'], + state: str, + system_tags: Mapping[str, Any], + time_created: str, + volume_backup_id: str, + volume_group_id: str, + vpus_per_gb: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("auto_tuned_vpus_per_gb", auto_tuned_vpus_per_gb) + _setter("autotune_policies", autotune_policies) + _setter("availability_domain", availability_domain) + _setter("backup_policy_id", backup_policy_id) + _setter("block_volume_replicas", block_volume_replicas) + _setter("block_volume_replicas_deletion", block_volume_replicas_deletion) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_auto_tune_enabled", is_auto_tune_enabled) + _setter("is_hydrated", is_hydrated) + _setter("kms_key_id", kms_key_id) + _setter("size_in_gbs", size_in_gbs) + _setter("size_in_mbs", size_in_mbs) + _setter("source_details", source_details) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("volume_backup_id", volume_backup_id) + _setter("volume_group_id", volume_group_id) + _setter("vpus_per_gb", vpus_per_gb) @property @pulumi.getter(name="autoTunedVpusPerGb") @@ -43840,8 +55032,19 @@ def __init__(__self__, *, :param str autotune_type: This specifies the type of autotunes supported by OCI. :param str max_vpus_per_gb: This will be the maximum VPUs/GB performance level that the volume will be auto-tuned temporarily based on performance monitoring. """ - pulumi.set(__self__, "autotune_type", autotune_type) - pulumi.set(__self__, "max_vpus_per_gb", max_vpus_per_gb) + GetVolumesVolumeAutotunePolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + autotune_type=autotune_type, + max_vpus_per_gb=max_vpus_per_gb, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + autotune_type: str, + max_vpus_per_gb: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("autotune_type", autotune_type) + _setter("max_vpus_per_gb", max_vpus_per_gb) @property @pulumi.getter(name="autotuneType") @@ -43871,9 +55074,22 @@ def __init__(__self__, *, :param str block_volume_replica_id: The block volume replica's Oracle ID (OCID). :param str display_name: A filter to return only resources that match the given display name exactly. """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "block_volume_replica_id", block_volume_replica_id) - pulumi.set(__self__, "display_name", display_name) + GetVolumesVolumeBlockVolumeReplicaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + block_volume_replica_id=block_volume_replica_id, + display_name=display_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + block_volume_replica_id: str, + display_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("block_volume_replica_id", block_volume_replica_id) + _setter("display_name", display_name) @property @pulumi.getter(name="availabilityDomain") @@ -43909,8 +55125,19 @@ def __init__(__self__, *, :param str id: The OCID of the block volume replica. :param str type: The type can be one of these values: `blockVolumeReplica`, `volume`, `volumeBackup` """ - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "type", type) + GetVolumesVolumeSourceDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) + _setter("type", type) @property @pulumi.getter @@ -43935,10 +55162,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVtapsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -44007,28 +55247,79 @@ def __init__(__self__, *, :param str vcn_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. :param str vxlan_network_identifier: The virtual extensible LAN (VXLAN) network identifier (or VXLAN segment ID) that uniquely identifies the VXLAN. """ - pulumi.set(__self__, "capture_filter_id", capture_filter_id) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "encapsulation_protocol", encapsulation_protocol) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_vtap_enabled", is_vtap_enabled) - pulumi.set(__self__, "lifecycle_state_details", lifecycle_state_details) - pulumi.set(__self__, "max_packet_size", max_packet_size) - pulumi.set(__self__, "source_id", source_id) - pulumi.set(__self__, "source_private_endpoint_ip", source_private_endpoint_ip) - pulumi.set(__self__, "source_private_endpoint_subnet_id", source_private_endpoint_subnet_id) - pulumi.set(__self__, "source_type", source_type) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "target_id", target_id) - pulumi.set(__self__, "target_ip", target_ip) - pulumi.set(__self__, "target_type", target_type) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "traffic_mode", traffic_mode) - pulumi.set(__self__, "vcn_id", vcn_id) - pulumi.set(__self__, "vxlan_network_identifier", vxlan_network_identifier) + GetVtapsVtapResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + capture_filter_id=capture_filter_id, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + encapsulation_protocol=encapsulation_protocol, + freeform_tags=freeform_tags, + id=id, + is_vtap_enabled=is_vtap_enabled, + lifecycle_state_details=lifecycle_state_details, + max_packet_size=max_packet_size, + source_id=source_id, + source_private_endpoint_ip=source_private_endpoint_ip, + source_private_endpoint_subnet_id=source_private_endpoint_subnet_id, + source_type=source_type, + state=state, + target_id=target_id, + target_ip=target_ip, + target_type=target_type, + time_created=time_created, + traffic_mode=traffic_mode, + vcn_id=vcn_id, + vxlan_network_identifier=vxlan_network_identifier, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + capture_filter_id: str, + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + encapsulation_protocol: str, + freeform_tags: Mapping[str, Any], + id: str, + is_vtap_enabled: bool, + lifecycle_state_details: str, + max_packet_size: int, + source_id: str, + source_private_endpoint_ip: str, + source_private_endpoint_subnet_id: str, + source_type: str, + state: str, + target_id: str, + target_ip: str, + target_type: str, + time_created: str, + traffic_mode: str, + vcn_id: str, + vxlan_network_identifier: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("capture_filter_id", capture_filter_id) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("encapsulation_protocol", encapsulation_protocol) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_vtap_enabled", is_vtap_enabled) + _setter("lifecycle_state_details", lifecycle_state_details) + _setter("max_packet_size", max_packet_size) + _setter("source_id", source_id) + _setter("source_private_endpoint_ip", source_private_endpoint_ip) + _setter("source_private_endpoint_subnet_id", source_private_endpoint_subnet_id) + _setter("source_type", source_type) + _setter("state", state) + _setter("target_id", target_id) + _setter("target_ip", target_ip) + _setter("target_type", target_type) + _setter("time_created", time_created) + _setter("traffic_mode", traffic_mode) + _setter("vcn_id", vcn_id) + _setter("vxlan_network_identifier", vxlan_network_identifier) @property @pulumi.getter(name="captureFilterId") diff --git a/sdk/python/pulumi_oci/core/private_ip.py b/sdk/python/pulumi_oci/core/private_ip.py index 0c7ca0c454..14f7bab93f 100644 --- a/sdk/python/pulumi_oci/core/private_ip.py +++ b/sdk/python/pulumi_oci/core/private_ip.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['PrivateIpArgs', 'PrivateIp'] @@ -41,20 +41,41 @@ def __init__(__self__, *, ** 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 """ + PrivateIpArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + hostname_label=hostname_label, + ip_address=ip_address, + vlan_id=vlan_id, + vnic_id=vnic_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + hostname_label: Optional[pulumi.Input[str]] = None, + ip_address: Optional[pulumi.Input[str]] = None, + vlan_id: Optional[pulumi.Input[str]] = None, + vnic_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if hostname_label is not None: - pulumi.set(__self__, "hostname_label", hostname_label) + _setter("hostname_label", hostname_label) if ip_address is not None: - pulumi.set(__self__, "ip_address", ip_address) + _setter("ip_address", ip_address) if vlan_id is not None: - pulumi.set(__self__, "vlan_id", vlan_id) + _setter("vlan_id", vlan_id) if vnic_id is not None: - pulumi.set(__self__, "vnic_id", vnic_id) + _setter("vnic_id", vnic_id) @property @pulumi.getter(name="definedTags") @@ -193,32 +214,65 @@ def __init__(__self__, *, ** 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 """ + _PrivateIpState._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + hostname_label=hostname_label, + ip_address=ip_address, + is_primary=is_primary, + is_reserved=is_reserved, + subnet_id=subnet_id, + time_created=time_created, + vlan_id=vlan_id, + vnic_id=vnic_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + hostname_label: Optional[pulumi.Input[str]] = None, + ip_address: Optional[pulumi.Input[str]] = None, + is_primary: Optional[pulumi.Input[bool]] = None, + is_reserved: Optional[pulumi.Input[bool]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + vlan_id: Optional[pulumi.Input[str]] = None, + vnic_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if hostname_label is not None: - pulumi.set(__self__, "hostname_label", hostname_label) + _setter("hostname_label", hostname_label) if ip_address is not None: - pulumi.set(__self__, "ip_address", ip_address) + _setter("ip_address", ip_address) if is_primary is not None: - pulumi.set(__self__, "is_primary", is_primary) + _setter("is_primary", is_primary) if is_reserved is not None: - pulumi.set(__self__, "is_reserved", is_reserved) + _setter("is_reserved", is_reserved) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if vlan_id is not None: - pulumi.set(__self__, "vlan_id", vlan_id) + _setter("vlan_id", vlan_id) if vnic_id is not None: - pulumi.set(__self__, "vnic_id", vnic_id) + _setter("vnic_id", vnic_id) @property @pulumi.getter(name="availabilityDomain") @@ -506,6 +560,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + PrivateIpArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/core/public_ip.py b/sdk/python/pulumi_oci/core/public_ip.py index 3e165561d8..2b4123afa5 100644 --- a/sdk/python/pulumi_oci/core/public_ip.py +++ b/sdk/python/pulumi_oci/core/public_ip.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['PublicIpArgs', 'PublicIp'] @@ -39,18 +39,39 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "lifetime", lifetime) + PublicIpArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + lifetime=lifetime, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + private_ip_id=private_ip_id, + public_ip_pool_id=public_ip_pool_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + lifetime: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + private_ip_id: Optional[pulumi.Input[str]] = None, + public_ip_pool_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("lifetime", lifetime) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if private_ip_id is not None: - pulumi.set(__self__, "private_ip_id", private_ip_id) + _setter("private_ip_id", private_ip_id) if public_ip_pool_id is not None: - pulumi.set(__self__, "public_ip_pool_id", public_ip_pool_id) + _setter("public_ip_pool_id", public_ip_pool_id) @property @pulumi.getter(name="compartmentId") @@ -187,34 +208,69 @@ def __init__(__self__, *, :param pulumi.Input[str] state: The public IP's current state. :param pulumi.Input[str] time_created: The date and time the public IP was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` """ + _PublicIpState._configure( + lambda key, value: pulumi.set(__self__, key, value), + assigned_entity_id=assigned_entity_id, + assigned_entity_type=assigned_entity_type, + availability_domain=availability_domain, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + ip_address=ip_address, + lifetime=lifetime, + private_ip_id=private_ip_id, + public_ip_pool_id=public_ip_pool_id, + scope=scope, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + assigned_entity_id: Optional[pulumi.Input[str]] = None, + assigned_entity_type: Optional[pulumi.Input[str]] = None, + availability_domain: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + ip_address: Optional[pulumi.Input[str]] = None, + lifetime: Optional[pulumi.Input[str]] = None, + private_ip_id: Optional[pulumi.Input[str]] = None, + public_ip_pool_id: Optional[pulumi.Input[str]] = None, + scope: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if assigned_entity_id is not None: - pulumi.set(__self__, "assigned_entity_id", assigned_entity_id) + _setter("assigned_entity_id", assigned_entity_id) if assigned_entity_type is not None: - pulumi.set(__self__, "assigned_entity_type", assigned_entity_type) + _setter("assigned_entity_type", assigned_entity_type) if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if ip_address is not None: - pulumi.set(__self__, "ip_address", ip_address) + _setter("ip_address", ip_address) if lifetime is not None: - pulumi.set(__self__, "lifetime", lifetime) + _setter("lifetime", lifetime) if private_ip_id is not None: - pulumi.set(__self__, "private_ip_id", private_ip_id) + _setter("private_ip_id", private_ip_id) if public_ip_pool_id is not None: - pulumi.set(__self__, "public_ip_pool_id", public_ip_pool_id) + _setter("public_ip_pool_id", public_ip_pool_id) if scope is not None: - pulumi.set(__self__, "scope", scope) + _setter("scope", scope) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="assignedEntityId") @@ -546,6 +602,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + PublicIpArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/core/public_ip_pool.py b/sdk/python/pulumi_oci/core/public_ip_pool.py index bcbab100b0..de40a6d069 100644 --- a/sdk/python/pulumi_oci/core/public_ip_pool.py +++ b/sdk/python/pulumi_oci/core/public_ip_pool.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['PublicIpPoolArgs', 'PublicIpPool'] @@ -29,13 +29,28 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) + PublicIpPoolArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="compartmentId") @@ -114,20 +129,41 @@ def __init__(__self__, *, :param pulumi.Input[str] state: The public IP pool's current state. :param pulumi.Input[str] time_created: The date and time the public IP pool was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` """ + _PublicIpPoolState._configure( + lambda key, value: pulumi.set(__self__, key, value), + cidr_blocks=cidr_blocks, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cidr_blocks: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if cidr_blocks is not None: - pulumi.set(__self__, "cidr_blocks", cidr_blocks) + _setter("cidr_blocks", cidr_blocks) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="cidrBlocks") @@ -315,6 +351,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + PublicIpPoolArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/core/public_ip_pool_capacity.py b/sdk/python/pulumi_oci/core/public_ip_pool_capacity.py index e3ea7aed24..bf88b36ebf 100644 --- a/sdk/python/pulumi_oci/core/public_ip_pool_capacity.py +++ b/sdk/python/pulumi_oci/core/public_ip_pool_capacity.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['PublicIpPoolCapacityArgs', 'PublicIpPoolCapacity'] @@ -26,9 +26,22 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] public_ip_pool_id: The OCID of the pool object created by the current tenancy """ - pulumi.set(__self__, "byoip_id", byoip_id) - pulumi.set(__self__, "cidr_block", cidr_block) - pulumi.set(__self__, "public_ip_pool_id", public_ip_pool_id) + PublicIpPoolCapacityArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + byoip_id=byoip_id, + cidr_block=cidr_block, + public_ip_pool_id=public_ip_pool_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + byoip_id: pulumi.Input[str], + cidr_block: pulumi.Input[str], + public_ip_pool_id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("byoip_id", byoip_id) + _setter("cidr_block", cidr_block) + _setter("public_ip_pool_id", public_ip_pool_id) @property @pulumi.getter(name="byoipId") @@ -85,12 +98,25 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] public_ip_pool_id: The OCID of the pool object created by the current tenancy """ + _PublicIpPoolCapacityState._configure( + lambda key, value: pulumi.set(__self__, key, value), + byoip_id=byoip_id, + cidr_block=cidr_block, + public_ip_pool_id=public_ip_pool_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + byoip_id: Optional[pulumi.Input[str]] = None, + cidr_block: Optional[pulumi.Input[str]] = None, + public_ip_pool_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if byoip_id is not None: - pulumi.set(__self__, "byoip_id", byoip_id) + _setter("byoip_id", byoip_id) if cidr_block is not None: - pulumi.set(__self__, "cidr_block", cidr_block) + _setter("cidr_block", cidr_block) if public_ip_pool_id is not None: - pulumi.set(__self__, "public_ip_pool_id", public_ip_pool_id) + _setter("public_ip_pool_id", public_ip_pool_id) @property @pulumi.getter(name="byoipId") @@ -208,6 +234,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + PublicIpPoolCapacityArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/core/remote_peering_connection.py b/sdk/python/pulumi_oci/core/remote_peering_connection.py index c9cdcf01c1..7c4865aa12 100644 --- a/sdk/python/pulumi_oci/core/remote_peering_connection.py +++ b/sdk/python/pulumi_oci/core/remote_peering_connection.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['RemotePeeringConnectionArgs', 'RemotePeeringConnection'] @@ -35,18 +35,39 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "drg_id", drg_id) + RemotePeeringConnectionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + drg_id=drg_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + peer_id=peer_id, + peer_region_name=peer_region_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + drg_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + peer_id: Optional[pulumi.Input[str]] = None, + peer_region_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("drg_id", drg_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if peer_id is not None: - pulumi.set(__self__, "peer_id", peer_id) + _setter("peer_id", peer_id) if peer_region_name is not None: - pulumi.set(__self__, "peer_region_name", peer_region_name) + _setter("peer_region_name", peer_region_name) @property @pulumi.getter(name="compartmentId") @@ -171,30 +192,61 @@ def __init__(__self__, *, :param pulumi.Input[str] state: The RPC's current lifecycle state. :param pulumi.Input[str] time_created: The date and time the RPC was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` """ + _RemotePeeringConnectionState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + drg_id=drg_id, + freeform_tags=freeform_tags, + is_cross_tenancy_peering=is_cross_tenancy_peering, + peer_id=peer_id, + peer_region_name=peer_region_name, + peer_tenancy_id=peer_tenancy_id, + peering_status=peering_status, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + drg_id: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_cross_tenancy_peering: Optional[pulumi.Input[bool]] = None, + peer_id: Optional[pulumi.Input[str]] = None, + peer_region_name: Optional[pulumi.Input[str]] = None, + peer_tenancy_id: Optional[pulumi.Input[str]] = None, + peering_status: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if drg_id is not None: - pulumi.set(__self__, "drg_id", drg_id) + _setter("drg_id", drg_id) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_cross_tenancy_peering is not None: - pulumi.set(__self__, "is_cross_tenancy_peering", is_cross_tenancy_peering) + _setter("is_cross_tenancy_peering", is_cross_tenancy_peering) if peer_id is not None: - pulumi.set(__self__, "peer_id", peer_id) + _setter("peer_id", peer_id) if peer_region_name is not None: - pulumi.set(__self__, "peer_region_name", peer_region_name) + _setter("peer_region_name", peer_region_name) if peer_tenancy_id is not None: - pulumi.set(__self__, "peer_tenancy_id", peer_tenancy_id) + _setter("peer_tenancy_id", peer_tenancy_id) if peering_status is not None: - pulumi.set(__self__, "peering_status", peering_status) + _setter("peering_status", peering_status) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -454,6 +506,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + RemotePeeringConnectionArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/core/route_table.py b/sdk/python/pulumi_oci/core/route_table.py index 3606323d2a..1a245587ba 100644 --- a/sdk/python/pulumi_oci/core/route_table.py +++ b/sdk/python/pulumi_oci/core/route_table.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -35,16 +35,35 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] freeform_tags: (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` :param pulumi.Input[Sequence[pulumi.Input['RouteTableRouteRuleArgs']]] route_rules: (Updatable) The collection of rules used for routing destination IPs to network devices. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "vcn_id", vcn_id) + RouteTableArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + vcn_id=vcn_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + route_rules=route_rules, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + vcn_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + route_rules: Optional[pulumi.Input[Sequence[pulumi.Input['RouteTableRouteRuleArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("vcn_id", vcn_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if route_rules is not None: - pulumi.set(__self__, "route_rules", route_rules) + _setter("route_rules", route_rules) @property @pulumi.getter(name="compartmentId") @@ -149,22 +168,45 @@ def __init__(__self__, *, ** 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 """ + _RouteTableState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + route_rules=route_rules, + state=state, + time_created=time_created, + vcn_id=vcn_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + route_rules: Optional[pulumi.Input[Sequence[pulumi.Input['RouteTableRouteRuleArgs']]]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + vcn_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if route_rules is not None: - pulumi.set(__self__, "route_rules", route_rules) + _setter("route_rules", route_rules) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if vcn_id is not None: - pulumi.set(__self__, "vcn_id", vcn_id) + _setter("vcn_id", vcn_id) @property @pulumi.getter(name="compartmentId") @@ -416,6 +458,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + RouteTableArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/core/route_table_attachment.py b/sdk/python/pulumi_oci/core/route_table_attachment.py index 9f22c15068..da58e7fd43 100644 --- a/sdk/python/pulumi_oci/core/route_table_attachment.py +++ b/sdk/python/pulumi_oci/core/route_table_attachment.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['RouteTableAttachmentArgs', 'RouteTableAttachment'] @@ -21,8 +21,19 @@ def __init__(__self__, *, :param pulumi.Input[str] route_table_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table. :param pulumi.Input[str] subnet_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet. """ - pulumi.set(__self__, "route_table_id", route_table_id) - pulumi.set(__self__, "subnet_id", subnet_id) + RouteTableAttachmentArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + route_table_id=route_table_id, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + route_table_id: pulumi.Input[str], + subnet_id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("route_table_id", route_table_id) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="routeTableId") @@ -59,10 +70,21 @@ def __init__(__self__, *, :param pulumi.Input[str] route_table_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table. :param pulumi.Input[str] subnet_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet. """ + _RouteTableAttachmentState._configure( + lambda key, value: pulumi.set(__self__, key, value), + route_table_id=route_table_id, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + route_table_id: Optional[pulumi.Input[str]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if route_table_id is not None: - pulumi.set(__self__, "route_table_id", route_table_id) + _setter("route_table_id", route_table_id) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="routeTableId") @@ -166,6 +188,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + RouteTableAttachmentArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/core/security_list.py b/sdk/python/pulumi_oci/core/security_list.py index 4f548e2be9..1bb6887c2e 100644 --- a/sdk/python/pulumi_oci/core/security_list.py +++ b/sdk/python/pulumi_oci/core/security_list.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -37,18 +37,39 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] freeform_tags: (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` :param pulumi.Input[Sequence[pulumi.Input['SecurityListIngressSecurityRuleArgs']]] ingress_security_rules: (Updatable) Rules for allowing ingress IP packets. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "vcn_id", vcn_id) + SecurityListArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + vcn_id=vcn_id, + defined_tags=defined_tags, + display_name=display_name, + egress_security_rules=egress_security_rules, + freeform_tags=freeform_tags, + ingress_security_rules=ingress_security_rules, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + vcn_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + egress_security_rules: Optional[pulumi.Input[Sequence[pulumi.Input['SecurityListEgressSecurityRuleArgs']]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + ingress_security_rules: Optional[pulumi.Input[Sequence[pulumi.Input['SecurityListIngressSecurityRuleArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("vcn_id", vcn_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if egress_security_rules is not None: - pulumi.set(__self__, "egress_security_rules", egress_security_rules) + _setter("egress_security_rules", egress_security_rules) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if ingress_security_rules is not None: - pulumi.set(__self__, "ingress_security_rules", ingress_security_rules) + _setter("ingress_security_rules", ingress_security_rules) @property @pulumi.getter(name="compartmentId") @@ -167,24 +188,49 @@ def __init__(__self__, *, ** 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 """ + _SecurityListState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + egress_security_rules=egress_security_rules, + freeform_tags=freeform_tags, + ingress_security_rules=ingress_security_rules, + state=state, + time_created=time_created, + vcn_id=vcn_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + egress_security_rules: Optional[pulumi.Input[Sequence[pulumi.Input['SecurityListEgressSecurityRuleArgs']]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + ingress_security_rules: Optional[pulumi.Input[Sequence[pulumi.Input['SecurityListIngressSecurityRuleArgs']]]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + vcn_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if egress_security_rules is not None: - pulumi.set(__self__, "egress_security_rules", egress_security_rules) + _setter("egress_security_rules", egress_security_rules) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if ingress_security_rules is not None: - pulumi.set(__self__, "ingress_security_rules", ingress_security_rules) + _setter("ingress_security_rules", ingress_security_rules) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if vcn_id is not None: - pulumi.set(__self__, "vcn_id", vcn_id) + _setter("vcn_id", vcn_id) @property @pulumi.getter(name="compartmentId") @@ -542,6 +588,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + SecurityListArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/core/service_gateway.py b/sdk/python/pulumi_oci/core/service_gateway.py index 52f63aa87a..41331f6570 100644 --- a/sdk/python/pulumi_oci/core/service_gateway.py +++ b/sdk/python/pulumi_oci/core/service_gateway.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -43,17 +43,38 @@ def __init__(__self__, *, For information about why you would associate a route table with a service gateway, see [Transit Routing: Private Access to Oracle Services](https://docs.cloud.oracle.com/iaas/Content/Network/Tasks/transitroutingoracleservices.htm). """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "services", services) - pulumi.set(__self__, "vcn_id", vcn_id) + ServiceGatewayArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + services=services, + vcn_id=vcn_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + route_table_id=route_table_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + services: pulumi.Input[Sequence[pulumi.Input['ServiceGatewayServiceArgs']]], + vcn_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + route_table_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("services", services) + _setter("vcn_id", vcn_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if route_table_id is not None: - pulumi.set(__self__, "route_table_id", route_table_id) + _setter("route_table_id", route_table_id) @property @pulumi.getter(name="compartmentId") @@ -186,26 +207,53 @@ def __init__(__self__, *, ** 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 """ + _ServiceGatewayState._configure( + lambda key, value: pulumi.set(__self__, key, value), + block_traffic=block_traffic, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + route_table_id=route_table_id, + services=services, + state=state, + time_created=time_created, + vcn_id=vcn_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + block_traffic: Optional[pulumi.Input[bool]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + route_table_id: Optional[pulumi.Input[str]] = None, + services: Optional[pulumi.Input[Sequence[pulumi.Input['ServiceGatewayServiceArgs']]]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + vcn_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if block_traffic is not None: - pulumi.set(__self__, "block_traffic", block_traffic) + _setter("block_traffic", block_traffic) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if route_table_id is not None: - pulumi.set(__self__, "route_table_id", route_table_id) + _setter("route_table_id", route_table_id) if services is not None: - pulumi.set(__self__, "services", services) + _setter("services", services) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if vcn_id is not None: - pulumi.set(__self__, "vcn_id", vcn_id) + _setter("vcn_id", vcn_id) @property @pulumi.getter(name="blockTraffic") @@ -473,6 +521,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ServiceGatewayArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/core/shape_management.py b/sdk/python/pulumi_oci/core/shape_management.py index ab6392d3e1..fae510ba2c 100644 --- a/sdk/python/pulumi_oci/core/shape_management.py +++ b/sdk/python/pulumi_oci/core/shape_management.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['ShapeManagementArgs', 'ShapeManagement'] @@ -23,9 +23,22 @@ def __init__(__self__, *, :param pulumi.Input[str] image_id: The OCID of the Image to which the shape should be added. :param pulumi.Input[str] shape_name: The compatible shape that is to be added to the compatible shapes list for the image. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "image_id", image_id) - pulumi.set(__self__, "shape_name", shape_name) + ShapeManagementArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + image_id=image_id, + shape_name=shape_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + image_id: pulumi.Input[str], + shape_name: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("image_id", image_id) + _setter("shape_name", shape_name) @property @pulumi.getter(name="compartmentId") @@ -76,12 +89,25 @@ def __init__(__self__, *, :param pulumi.Input[str] image_id: The OCID of the Image to which the shape should be added. :param pulumi.Input[str] shape_name: The compatible shape that is to be added to the compatible shapes list for the image. """ + _ShapeManagementState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + image_id=image_id, + shape_name=shape_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + image_id: Optional[pulumi.Input[str]] = None, + shape_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if image_id is not None: - pulumi.set(__self__, "image_id", image_id) + _setter("image_id", image_id) if shape_name is not None: - pulumi.set(__self__, "shape_name", shape_name) + _setter("shape_name", shape_name) @property @pulumi.getter(name="compartmentId") @@ -161,6 +187,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ShapeManagementArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/core/subnet.py b/sdk/python/pulumi_oci/core/subnet.py index bafa7b8bca..f5ac6b4cf8 100644 --- a/sdk/python/pulumi_oci/core/subnet.py +++ b/sdk/python/pulumi_oci/core/subnet.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['SubnetArgs', 'Subnet'] @@ -84,33 +84,70 @@ def __init__(__self__, *, :param pulumi.Input[str] route_table_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the route table the subnet will use. If you don't provide a value, the subnet uses the VCN's default route table. :param pulumi.Input[Sequence[pulumi.Input[str]]] security_list_ids: (Updatable) The OCIDs of the security list or lists the subnet will use. If you don't provide a value, the subnet uses the VCN's default security list. Remember that security lists are associated *with the subnet*, but the rules are applied to the individual VNICs in the subnet. """ - pulumi.set(__self__, "cidr_block", cidr_block) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "vcn_id", vcn_id) + SubnetArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + cidr_block=cidr_block, + compartment_id=compartment_id, + vcn_id=vcn_id, + availability_domain=availability_domain, + defined_tags=defined_tags, + dhcp_options_id=dhcp_options_id, + display_name=display_name, + dns_label=dns_label, + freeform_tags=freeform_tags, + ipv6cidr_block=ipv6cidr_block, + ipv6cidr_blocks=ipv6cidr_blocks, + prohibit_internet_ingress=prohibit_internet_ingress, + prohibit_public_ip_on_vnic=prohibit_public_ip_on_vnic, + route_table_id=route_table_id, + security_list_ids=security_list_ids, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cidr_block: pulumi.Input[str], + compartment_id: pulumi.Input[str], + vcn_id: pulumi.Input[str], + availability_domain: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + dhcp_options_id: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + dns_label: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + ipv6cidr_block: Optional[pulumi.Input[str]] = None, + ipv6cidr_blocks: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + prohibit_internet_ingress: Optional[pulumi.Input[bool]] = None, + prohibit_public_ip_on_vnic: Optional[pulumi.Input[bool]] = None, + route_table_id: Optional[pulumi.Input[str]] = None, + security_list_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cidr_block", cidr_block) + _setter("compartment_id", compartment_id) + _setter("vcn_id", vcn_id) if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if dhcp_options_id is not None: - pulumi.set(__self__, "dhcp_options_id", dhcp_options_id) + _setter("dhcp_options_id", dhcp_options_id) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if dns_label is not None: - pulumi.set(__self__, "dns_label", dns_label) + _setter("dns_label", dns_label) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if ipv6cidr_block is not None: - pulumi.set(__self__, "ipv6cidr_block", ipv6cidr_block) + _setter("ipv6cidr_block", ipv6cidr_block) if ipv6cidr_blocks is not None: - pulumi.set(__self__, "ipv6cidr_blocks", ipv6cidr_blocks) + _setter("ipv6cidr_blocks", ipv6cidr_blocks) if prohibit_internet_ingress is not None: - pulumi.set(__self__, "prohibit_internet_ingress", prohibit_internet_ingress) + _setter("prohibit_internet_ingress", prohibit_internet_ingress) if prohibit_public_ip_on_vnic is not None: - pulumi.set(__self__, "prohibit_public_ip_on_vnic", prohibit_public_ip_on_vnic) + _setter("prohibit_public_ip_on_vnic", prohibit_public_ip_on_vnic) if route_table_id is not None: - pulumi.set(__self__, "route_table_id", route_table_id) + _setter("route_table_id", route_table_id) if security_list_ids is not None: - pulumi.set(__self__, "security_list_ids", security_list_ids) + _setter("security_list_ids", security_list_ids) @property @pulumi.getter(name="cidrBlock") @@ -415,48 +452,97 @@ def __init__(__self__, *, :param pulumi.Input[str] virtual_router_ip: The IP address of the virtual router. Example: `10.0.14.1` :param pulumi.Input[str] virtual_router_mac: The MAC address of the virtual router. Example: `00:00:00:00:00:01` """ + _SubnetState._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + cidr_block=cidr_block, + compartment_id=compartment_id, + defined_tags=defined_tags, + dhcp_options_id=dhcp_options_id, + display_name=display_name, + dns_label=dns_label, + freeform_tags=freeform_tags, + ipv6cidr_block=ipv6cidr_block, + ipv6cidr_blocks=ipv6cidr_blocks, + ipv6virtual_router_ip=ipv6virtual_router_ip, + prohibit_internet_ingress=prohibit_internet_ingress, + prohibit_public_ip_on_vnic=prohibit_public_ip_on_vnic, + route_table_id=route_table_id, + security_list_ids=security_list_ids, + state=state, + subnet_domain_name=subnet_domain_name, + time_created=time_created, + vcn_id=vcn_id, + virtual_router_ip=virtual_router_ip, + virtual_router_mac=virtual_router_mac, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: Optional[pulumi.Input[str]] = None, + cidr_block: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + dhcp_options_id: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + dns_label: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + ipv6cidr_block: Optional[pulumi.Input[str]] = None, + ipv6cidr_blocks: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + ipv6virtual_router_ip: Optional[pulumi.Input[str]] = None, + prohibit_internet_ingress: Optional[pulumi.Input[bool]] = None, + prohibit_public_ip_on_vnic: Optional[pulumi.Input[bool]] = None, + route_table_id: Optional[pulumi.Input[str]] = None, + security_list_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + state: Optional[pulumi.Input[str]] = None, + subnet_domain_name: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + vcn_id: Optional[pulumi.Input[str]] = None, + virtual_router_ip: Optional[pulumi.Input[str]] = None, + virtual_router_mac: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if cidr_block is not None: - pulumi.set(__self__, "cidr_block", cidr_block) + _setter("cidr_block", cidr_block) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if dhcp_options_id is not None: - pulumi.set(__self__, "dhcp_options_id", dhcp_options_id) + _setter("dhcp_options_id", dhcp_options_id) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if dns_label is not None: - pulumi.set(__self__, "dns_label", dns_label) + _setter("dns_label", dns_label) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if ipv6cidr_block is not None: - pulumi.set(__self__, "ipv6cidr_block", ipv6cidr_block) + _setter("ipv6cidr_block", ipv6cidr_block) if ipv6cidr_blocks is not None: - pulumi.set(__self__, "ipv6cidr_blocks", ipv6cidr_blocks) + _setter("ipv6cidr_blocks", ipv6cidr_blocks) if ipv6virtual_router_ip is not None: - pulumi.set(__self__, "ipv6virtual_router_ip", ipv6virtual_router_ip) + _setter("ipv6virtual_router_ip", ipv6virtual_router_ip) if prohibit_internet_ingress is not None: - pulumi.set(__self__, "prohibit_internet_ingress", prohibit_internet_ingress) + _setter("prohibit_internet_ingress", prohibit_internet_ingress) if prohibit_public_ip_on_vnic is not None: - pulumi.set(__self__, "prohibit_public_ip_on_vnic", prohibit_public_ip_on_vnic) + _setter("prohibit_public_ip_on_vnic", prohibit_public_ip_on_vnic) if route_table_id is not None: - pulumi.set(__self__, "route_table_id", route_table_id) + _setter("route_table_id", route_table_id) if security_list_ids is not None: - pulumi.set(__self__, "security_list_ids", security_list_ids) + _setter("security_list_ids", security_list_ids) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if subnet_domain_name is not None: - pulumi.set(__self__, "subnet_domain_name", subnet_domain_name) + _setter("subnet_domain_name", subnet_domain_name) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if vcn_id is not None: - pulumi.set(__self__, "vcn_id", vcn_id) + _setter("vcn_id", vcn_id) if virtual_router_ip is not None: - pulumi.set(__self__, "virtual_router_ip", virtual_router_ip) + _setter("virtual_router_ip", virtual_router_ip) if virtual_router_mac is not None: - pulumi.set(__self__, "virtual_router_mac", virtual_router_mac) + _setter("virtual_router_mac", virtual_router_mac) @property @pulumi.getter(name="availabilityDomain") @@ -982,6 +1068,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + SubnetArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/core/vcn.py b/sdk/python/pulumi_oci/core/vcn.py index c1e27f5865..e9d14af43d 100644 --- a/sdk/python/pulumi_oci/core/vcn.py +++ b/sdk/python/pulumi_oci/core/vcn.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -59,27 +59,56 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) + VcnArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + byoipv6cidr_details=byoipv6cidr_details, + cidr_block=cidr_block, + cidr_blocks=cidr_blocks, + defined_tags=defined_tags, + display_name=display_name, + dns_label=dns_label, + freeform_tags=freeform_tags, + ipv6private_cidr_blocks=ipv6private_cidr_blocks, + is_ipv6enabled=is_ipv6enabled, + is_oracle_gua_allocation_enabled=is_oracle_gua_allocation_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + byoipv6cidr_details: Optional[pulumi.Input[Sequence[pulumi.Input['VcnByoipv6cidrDetailArgs']]]] = None, + cidr_block: Optional[pulumi.Input[str]] = None, + cidr_blocks: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + dns_label: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + ipv6private_cidr_blocks: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + is_ipv6enabled: Optional[pulumi.Input[bool]] = None, + is_oracle_gua_allocation_enabled: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) if byoipv6cidr_details is not None: - pulumi.set(__self__, "byoipv6cidr_details", byoipv6cidr_details) + _setter("byoipv6cidr_details", byoipv6cidr_details) if cidr_block is not None: - pulumi.set(__self__, "cidr_block", cidr_block) + _setter("cidr_block", cidr_block) if cidr_blocks is not None: - pulumi.set(__self__, "cidr_blocks", cidr_blocks) + _setter("cidr_blocks", cidr_blocks) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if dns_label is not None: - pulumi.set(__self__, "dns_label", dns_label) + _setter("dns_label", dns_label) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if ipv6private_cidr_blocks is not None: - pulumi.set(__self__, "ipv6private_cidr_blocks", ipv6private_cidr_blocks) + _setter("ipv6private_cidr_blocks", ipv6private_cidr_blocks) if is_ipv6enabled is not None: - pulumi.set(__self__, "is_ipv6enabled", is_ipv6enabled) + _setter("is_ipv6enabled", is_ipv6enabled) if is_oracle_gua_allocation_enabled is not None: - pulumi.set(__self__, "is_oracle_gua_allocation_enabled", is_oracle_gua_allocation_enabled) + _setter("is_oracle_gua_allocation_enabled", is_oracle_gua_allocation_enabled) @property @pulumi.getter(name="compartmentId") @@ -294,44 +323,89 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the VCN was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` :param pulumi.Input[str] vcn_domain_name: The VCN's domain name, which consists of the VCN's DNS label, and the `oraclevcn.com` domain. """ + _VcnState._configure( + lambda key, value: pulumi.set(__self__, key, value), + byoipv6cidr_blocks=byoipv6cidr_blocks, + byoipv6cidr_details=byoipv6cidr_details, + cidr_block=cidr_block, + cidr_blocks=cidr_blocks, + compartment_id=compartment_id, + default_dhcp_options_id=default_dhcp_options_id, + default_route_table_id=default_route_table_id, + default_security_list_id=default_security_list_id, + defined_tags=defined_tags, + display_name=display_name, + dns_label=dns_label, + freeform_tags=freeform_tags, + ipv6cidr_blocks=ipv6cidr_blocks, + ipv6private_cidr_blocks=ipv6private_cidr_blocks, + is_ipv6enabled=is_ipv6enabled, + is_oracle_gua_allocation_enabled=is_oracle_gua_allocation_enabled, + state=state, + time_created=time_created, + vcn_domain_name=vcn_domain_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + byoipv6cidr_blocks: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + byoipv6cidr_details: Optional[pulumi.Input[Sequence[pulumi.Input['VcnByoipv6cidrDetailArgs']]]] = None, + cidr_block: Optional[pulumi.Input[str]] = None, + cidr_blocks: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + default_dhcp_options_id: Optional[pulumi.Input[str]] = None, + default_route_table_id: Optional[pulumi.Input[str]] = None, + default_security_list_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + dns_label: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + ipv6cidr_blocks: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + ipv6private_cidr_blocks: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + is_ipv6enabled: Optional[pulumi.Input[bool]] = None, + is_oracle_gua_allocation_enabled: Optional[pulumi.Input[bool]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + vcn_domain_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if byoipv6cidr_blocks is not None: - pulumi.set(__self__, "byoipv6cidr_blocks", byoipv6cidr_blocks) + _setter("byoipv6cidr_blocks", byoipv6cidr_blocks) if byoipv6cidr_details is not None: - pulumi.set(__self__, "byoipv6cidr_details", byoipv6cidr_details) + _setter("byoipv6cidr_details", byoipv6cidr_details) if cidr_block is not None: - pulumi.set(__self__, "cidr_block", cidr_block) + _setter("cidr_block", cidr_block) if cidr_blocks is not None: - pulumi.set(__self__, "cidr_blocks", cidr_blocks) + _setter("cidr_blocks", cidr_blocks) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if default_dhcp_options_id is not None: - pulumi.set(__self__, "default_dhcp_options_id", default_dhcp_options_id) + _setter("default_dhcp_options_id", default_dhcp_options_id) if default_route_table_id is not None: - pulumi.set(__self__, "default_route_table_id", default_route_table_id) + _setter("default_route_table_id", default_route_table_id) if default_security_list_id is not None: - pulumi.set(__self__, "default_security_list_id", default_security_list_id) + _setter("default_security_list_id", default_security_list_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if dns_label is not None: - pulumi.set(__self__, "dns_label", dns_label) + _setter("dns_label", dns_label) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if ipv6cidr_blocks is not None: - pulumi.set(__self__, "ipv6cidr_blocks", ipv6cidr_blocks) + _setter("ipv6cidr_blocks", ipv6cidr_blocks) if ipv6private_cidr_blocks is not None: - pulumi.set(__self__, "ipv6private_cidr_blocks", ipv6private_cidr_blocks) + _setter("ipv6private_cidr_blocks", ipv6private_cidr_blocks) if is_ipv6enabled is not None: - pulumi.set(__self__, "is_ipv6enabled", is_ipv6enabled) + _setter("is_ipv6enabled", is_ipv6enabled) if is_oracle_gua_allocation_enabled is not None: - pulumi.set(__self__, "is_oracle_gua_allocation_enabled", is_oracle_gua_allocation_enabled) + _setter("is_oracle_gua_allocation_enabled", is_oracle_gua_allocation_enabled) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if vcn_domain_name is not None: - pulumi.set(__self__, "vcn_domain_name", vcn_domain_name) + _setter("vcn_domain_name", vcn_domain_name) @property @pulumi.getter(name="byoipv6cidrBlocks") @@ -803,6 +877,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + VcnArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/core/virtual_circuit.py b/sdk/python/pulumi_oci/core/virtual_circuit.py index fba2d26517..71f3d70297 100644 --- a/sdk/python/pulumi_oci/core/virtual_circuit.py +++ b/sdk/python/pulumi_oci/core/virtual_circuit.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -61,45 +61,90 @@ def __init__(__self__, *, :param pulumi.Input[str] region: The Oracle Cloud Infrastructure region where this virtual circuit is located. Example: `phx` :param pulumi.Input[Sequence[pulumi.Input[str]]] routing_policies: (Updatable) The routing policy sets how routing information about the Oracle cloud is shared over a public virtual circuit. Policies available are: `ORACLE_SERVICE_NETWORK`, `REGIONAL`, `MARKET_LEVEL`, and `GLOBAL`. See [Route Filtering](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/routingonprem.htm#route_filtering) for details. By default, routing information is shared for all routes in the same market. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "type", type) + VirtualCircuitArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + type=type, + bandwidth_shape_name=bandwidth_shape_name, + bgp_admin_state=bgp_admin_state, + cross_connect_mappings=cross_connect_mappings, + customer_asn=customer_asn, + customer_bgp_asn=customer_bgp_asn, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + gateway_id=gateway_id, + ip_mtu=ip_mtu, + is_bfd_enabled=is_bfd_enabled, + is_transport_mode=is_transport_mode, + provider_service_id=provider_service_id, + provider_service_key_name=provider_service_key_name, + public_prefixes=public_prefixes, + region=region, + routing_policies=routing_policies, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + type: pulumi.Input[str], + bandwidth_shape_name: Optional[pulumi.Input[str]] = None, + bgp_admin_state: Optional[pulumi.Input[str]] = None, + cross_connect_mappings: Optional[pulumi.Input[Sequence[pulumi.Input['VirtualCircuitCrossConnectMappingArgs']]]] = None, + customer_asn: Optional[pulumi.Input[str]] = None, + customer_bgp_asn: Optional[pulumi.Input[int]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + gateway_id: Optional[pulumi.Input[str]] = None, + ip_mtu: Optional[pulumi.Input[str]] = None, + is_bfd_enabled: Optional[pulumi.Input[bool]] = None, + is_transport_mode: Optional[pulumi.Input[bool]] = None, + provider_service_id: Optional[pulumi.Input[str]] = None, + provider_service_key_name: Optional[pulumi.Input[str]] = None, + public_prefixes: Optional[pulumi.Input[Sequence[pulumi.Input['VirtualCircuitPublicPrefixArgs']]]] = None, + region: Optional[pulumi.Input[str]] = None, + routing_policies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("type", type) if bandwidth_shape_name is not None: - pulumi.set(__self__, "bandwidth_shape_name", bandwidth_shape_name) + _setter("bandwidth_shape_name", bandwidth_shape_name) if bgp_admin_state is not None: - pulumi.set(__self__, "bgp_admin_state", bgp_admin_state) + _setter("bgp_admin_state", bgp_admin_state) if cross_connect_mappings is not None: - pulumi.set(__self__, "cross_connect_mappings", cross_connect_mappings) + _setter("cross_connect_mappings", cross_connect_mappings) if customer_asn is not None: - pulumi.set(__self__, "customer_asn", customer_asn) + _setter("customer_asn", customer_asn) if customer_bgp_asn is not None: warnings.warn("""The 'customer_bgp_asn' field has been deprecated. Please use 'customer_asn' instead.""", DeprecationWarning) pulumi.log.warn("""customer_bgp_asn is deprecated: The 'customer_bgp_asn' field has been deprecated. Please use 'customer_asn' instead.""") if customer_bgp_asn is not None: - pulumi.set(__self__, "customer_bgp_asn", customer_bgp_asn) + _setter("customer_bgp_asn", customer_bgp_asn) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if gateway_id is not None: - pulumi.set(__self__, "gateway_id", gateway_id) + _setter("gateway_id", gateway_id) if ip_mtu is not None: - pulumi.set(__self__, "ip_mtu", ip_mtu) + _setter("ip_mtu", ip_mtu) if is_bfd_enabled is not None: - pulumi.set(__self__, "is_bfd_enabled", is_bfd_enabled) + _setter("is_bfd_enabled", is_bfd_enabled) if is_transport_mode is not None: - pulumi.set(__self__, "is_transport_mode", is_transport_mode) + _setter("is_transport_mode", is_transport_mode) if provider_service_id is not None: - pulumi.set(__self__, "provider_service_id", provider_service_id) + _setter("provider_service_id", provider_service_id) if provider_service_key_name is not None: - pulumi.set(__self__, "provider_service_key_name", provider_service_key_name) + _setter("provider_service_key_name", provider_service_key_name) if public_prefixes is not None: - pulumi.set(__self__, "public_prefixes", public_prefixes) + _setter("public_prefixes", public_prefixes) if region is not None: - pulumi.set(__self__, "region", region) + _setter("region", region) if routing_policies is not None: - pulumi.set(__self__, "routing_policies", routing_policies) + _setter("routing_policies", routing_policies) @property @pulumi.getter(name="compartmentId") @@ -403,68 +448,131 @@ def __init__(__self__, *, ** 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 """ + _VirtualCircuitState._configure( + lambda key, value: pulumi.set(__self__, key, value), + bandwidth_shape_name=bandwidth_shape_name, + bgp_admin_state=bgp_admin_state, + bgp_ipv6session_state=bgp_ipv6session_state, + bgp_management=bgp_management, + bgp_session_state=bgp_session_state, + compartment_id=compartment_id, + cross_connect_mappings=cross_connect_mappings, + customer_asn=customer_asn, + customer_bgp_asn=customer_bgp_asn, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + gateway_id=gateway_id, + ip_mtu=ip_mtu, + is_bfd_enabled=is_bfd_enabled, + is_transport_mode=is_transport_mode, + oracle_bgp_asn=oracle_bgp_asn, + provider_service_id=provider_service_id, + provider_service_key_name=provider_service_key_name, + provider_state=provider_state, + public_prefixes=public_prefixes, + reference_comment=reference_comment, + region=region, + routing_policies=routing_policies, + service_type=service_type, + state=state, + time_created=time_created, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bandwidth_shape_name: Optional[pulumi.Input[str]] = None, + bgp_admin_state: Optional[pulumi.Input[str]] = None, + bgp_ipv6session_state: Optional[pulumi.Input[str]] = None, + bgp_management: Optional[pulumi.Input[str]] = None, + bgp_session_state: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + cross_connect_mappings: Optional[pulumi.Input[Sequence[pulumi.Input['VirtualCircuitCrossConnectMappingArgs']]]] = None, + customer_asn: Optional[pulumi.Input[str]] = None, + customer_bgp_asn: Optional[pulumi.Input[int]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + gateway_id: Optional[pulumi.Input[str]] = None, + ip_mtu: Optional[pulumi.Input[str]] = None, + is_bfd_enabled: Optional[pulumi.Input[bool]] = None, + is_transport_mode: Optional[pulumi.Input[bool]] = None, + oracle_bgp_asn: Optional[pulumi.Input[int]] = None, + provider_service_id: Optional[pulumi.Input[str]] = None, + provider_service_key_name: Optional[pulumi.Input[str]] = None, + provider_state: Optional[pulumi.Input[str]] = None, + public_prefixes: Optional[pulumi.Input[Sequence[pulumi.Input['VirtualCircuitPublicPrefixArgs']]]] = None, + reference_comment: Optional[pulumi.Input[str]] = None, + region: Optional[pulumi.Input[str]] = None, + routing_policies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + service_type: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if bandwidth_shape_name is not None: - pulumi.set(__self__, "bandwidth_shape_name", bandwidth_shape_name) + _setter("bandwidth_shape_name", bandwidth_shape_name) if bgp_admin_state is not None: - pulumi.set(__self__, "bgp_admin_state", bgp_admin_state) + _setter("bgp_admin_state", bgp_admin_state) if bgp_ipv6session_state is not None: - pulumi.set(__self__, "bgp_ipv6session_state", bgp_ipv6session_state) + _setter("bgp_ipv6session_state", bgp_ipv6session_state) if bgp_management is not None: warnings.warn("""The 'bgp_management' field has been deprecated. Please use the 'oci_core_fast_connect_provider_service' data source instead.""", DeprecationWarning) pulumi.log.warn("""bgp_management is deprecated: The 'bgp_management' field has been deprecated. Please use the 'oci_core_fast_connect_provider_service' data source instead.""") if bgp_management is not None: - pulumi.set(__self__, "bgp_management", bgp_management) + _setter("bgp_management", bgp_management) if bgp_session_state is not None: - pulumi.set(__self__, "bgp_session_state", bgp_session_state) + _setter("bgp_session_state", bgp_session_state) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if cross_connect_mappings is not None: - pulumi.set(__self__, "cross_connect_mappings", cross_connect_mappings) + _setter("cross_connect_mappings", cross_connect_mappings) if customer_asn is not None: - pulumi.set(__self__, "customer_asn", customer_asn) + _setter("customer_asn", customer_asn) if customer_bgp_asn is not None: warnings.warn("""The 'customer_bgp_asn' field has been deprecated. Please use 'customer_asn' instead.""", DeprecationWarning) pulumi.log.warn("""customer_bgp_asn is deprecated: The 'customer_bgp_asn' field has been deprecated. Please use 'customer_asn' instead.""") if customer_bgp_asn is not None: - pulumi.set(__self__, "customer_bgp_asn", customer_bgp_asn) + _setter("customer_bgp_asn", customer_bgp_asn) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if gateway_id is not None: - pulumi.set(__self__, "gateway_id", gateway_id) + _setter("gateway_id", gateway_id) if ip_mtu is not None: - pulumi.set(__self__, "ip_mtu", ip_mtu) + _setter("ip_mtu", ip_mtu) if is_bfd_enabled is not None: - pulumi.set(__self__, "is_bfd_enabled", is_bfd_enabled) + _setter("is_bfd_enabled", is_bfd_enabled) if is_transport_mode is not None: - pulumi.set(__self__, "is_transport_mode", is_transport_mode) + _setter("is_transport_mode", is_transport_mode) if oracle_bgp_asn is not None: - pulumi.set(__self__, "oracle_bgp_asn", oracle_bgp_asn) + _setter("oracle_bgp_asn", oracle_bgp_asn) if provider_service_id is not None: - pulumi.set(__self__, "provider_service_id", provider_service_id) + _setter("provider_service_id", provider_service_id) if provider_service_key_name is not None: - pulumi.set(__self__, "provider_service_key_name", provider_service_key_name) + _setter("provider_service_key_name", provider_service_key_name) if provider_state is not None: - pulumi.set(__self__, "provider_state", provider_state) + _setter("provider_state", provider_state) if public_prefixes is not None: - pulumi.set(__self__, "public_prefixes", public_prefixes) + _setter("public_prefixes", public_prefixes) if reference_comment is not None: - pulumi.set(__self__, "reference_comment", reference_comment) + _setter("reference_comment", reference_comment) if region is not None: - pulumi.set(__self__, "region", region) + _setter("region", region) if routing_policies is not None: - pulumi.set(__self__, "routing_policies", routing_policies) + _setter("routing_policies", routing_policies) if service_type is not None: - pulumi.set(__self__, "service_type", service_type) + _setter("service_type", service_type) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter(name="bandwidthShapeName") @@ -1030,6 +1138,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + VirtualCircuitArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -1070,9 +1182,6 @@ def _internal_init(__self__, __props__.__dict__["compartment_id"] = compartment_id __props__.__dict__["cross_connect_mappings"] = cross_connect_mappings __props__.__dict__["customer_asn"] = customer_asn - if customer_bgp_asn is not None and not opts.urn: - warnings.warn("""The 'customer_bgp_asn' field has been deprecated. Please use 'customer_asn' instead.""", DeprecationWarning) - pulumi.log.warn("""customer_bgp_asn is deprecated: The 'customer_bgp_asn' field has been deprecated. Please use 'customer_asn' instead.""") __props__.__dict__["customer_bgp_asn"] = customer_bgp_asn __props__.__dict__["defined_tags"] = defined_tags __props__.__dict__["display_name"] = display_name diff --git a/sdk/python/pulumi_oci/core/virtual_network.py b/sdk/python/pulumi_oci/core/virtual_network.py index 020e78135e..3c0258c93d 100644 --- a/sdk/python/pulumi_oci/core/virtual_network.py +++ b/sdk/python/pulumi_oci/core/virtual_network.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -30,27 +30,56 @@ def __init__(__self__, *, """ The set of arguments for constructing a VirtualNetwork resource. """ - pulumi.set(__self__, "compartment_id", compartment_id) + VirtualNetworkArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + byoipv6cidr_details=byoipv6cidr_details, + cidr_block=cidr_block, + cidr_blocks=cidr_blocks, + defined_tags=defined_tags, + display_name=display_name, + dns_label=dns_label, + freeform_tags=freeform_tags, + ipv6private_cidr_blocks=ipv6private_cidr_blocks, + is_ipv6enabled=is_ipv6enabled, + is_oracle_gua_allocation_enabled=is_oracle_gua_allocation_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + byoipv6cidr_details: Optional[pulumi.Input[Sequence[pulumi.Input['VirtualNetworkByoipv6cidrDetailArgs']]]] = None, + cidr_block: Optional[pulumi.Input[str]] = None, + cidr_blocks: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + dns_label: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + ipv6private_cidr_blocks: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + is_ipv6enabled: Optional[pulumi.Input[bool]] = None, + is_oracle_gua_allocation_enabled: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) if byoipv6cidr_details is not None: - pulumi.set(__self__, "byoipv6cidr_details", byoipv6cidr_details) + _setter("byoipv6cidr_details", byoipv6cidr_details) if cidr_block is not None: - pulumi.set(__self__, "cidr_block", cidr_block) + _setter("cidr_block", cidr_block) if cidr_blocks is not None: - pulumi.set(__self__, "cidr_blocks", cidr_blocks) + _setter("cidr_blocks", cidr_blocks) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if dns_label is not None: - pulumi.set(__self__, "dns_label", dns_label) + _setter("dns_label", dns_label) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if ipv6private_cidr_blocks is not None: - pulumi.set(__self__, "ipv6private_cidr_blocks", ipv6private_cidr_blocks) + _setter("ipv6private_cidr_blocks", ipv6private_cidr_blocks) if is_ipv6enabled is not None: - pulumi.set(__self__, "is_ipv6enabled", is_ipv6enabled) + _setter("is_ipv6enabled", is_ipv6enabled) if is_oracle_gua_allocation_enabled is not None: - pulumi.set(__self__, "is_oracle_gua_allocation_enabled", is_oracle_gua_allocation_enabled) + _setter("is_oracle_gua_allocation_enabled", is_oracle_gua_allocation_enabled) @property @pulumi.getter(name="compartmentId") @@ -177,44 +206,89 @@ def __init__(__self__, *, """ Input properties used for looking up and filtering VirtualNetwork resources. """ + _VirtualNetworkState._configure( + lambda key, value: pulumi.set(__self__, key, value), + byoipv6cidr_blocks=byoipv6cidr_blocks, + byoipv6cidr_details=byoipv6cidr_details, + cidr_block=cidr_block, + cidr_blocks=cidr_blocks, + compartment_id=compartment_id, + default_dhcp_options_id=default_dhcp_options_id, + default_route_table_id=default_route_table_id, + default_security_list_id=default_security_list_id, + defined_tags=defined_tags, + display_name=display_name, + dns_label=dns_label, + freeform_tags=freeform_tags, + ipv6cidr_blocks=ipv6cidr_blocks, + ipv6private_cidr_blocks=ipv6private_cidr_blocks, + is_ipv6enabled=is_ipv6enabled, + is_oracle_gua_allocation_enabled=is_oracle_gua_allocation_enabled, + state=state, + time_created=time_created, + vcn_domain_name=vcn_domain_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + byoipv6cidr_blocks: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + byoipv6cidr_details: Optional[pulumi.Input[Sequence[pulumi.Input['VirtualNetworkByoipv6cidrDetailArgs']]]] = None, + cidr_block: Optional[pulumi.Input[str]] = None, + cidr_blocks: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + default_dhcp_options_id: Optional[pulumi.Input[str]] = None, + default_route_table_id: Optional[pulumi.Input[str]] = None, + default_security_list_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + dns_label: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + ipv6cidr_blocks: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + ipv6private_cidr_blocks: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + is_ipv6enabled: Optional[pulumi.Input[bool]] = None, + is_oracle_gua_allocation_enabled: Optional[pulumi.Input[bool]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + vcn_domain_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if byoipv6cidr_blocks is not None: - pulumi.set(__self__, "byoipv6cidr_blocks", byoipv6cidr_blocks) + _setter("byoipv6cidr_blocks", byoipv6cidr_blocks) if byoipv6cidr_details is not None: - pulumi.set(__self__, "byoipv6cidr_details", byoipv6cidr_details) + _setter("byoipv6cidr_details", byoipv6cidr_details) if cidr_block is not None: - pulumi.set(__self__, "cidr_block", cidr_block) + _setter("cidr_block", cidr_block) if cidr_blocks is not None: - pulumi.set(__self__, "cidr_blocks", cidr_blocks) + _setter("cidr_blocks", cidr_blocks) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if default_dhcp_options_id is not None: - pulumi.set(__self__, "default_dhcp_options_id", default_dhcp_options_id) + _setter("default_dhcp_options_id", default_dhcp_options_id) if default_route_table_id is not None: - pulumi.set(__self__, "default_route_table_id", default_route_table_id) + _setter("default_route_table_id", default_route_table_id) if default_security_list_id is not None: - pulumi.set(__self__, "default_security_list_id", default_security_list_id) + _setter("default_security_list_id", default_security_list_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if dns_label is not None: - pulumi.set(__self__, "dns_label", dns_label) + _setter("dns_label", dns_label) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if ipv6cidr_blocks is not None: - pulumi.set(__self__, "ipv6cidr_blocks", ipv6cidr_blocks) + _setter("ipv6cidr_blocks", ipv6cidr_blocks) if ipv6private_cidr_blocks is not None: - pulumi.set(__self__, "ipv6private_cidr_blocks", ipv6private_cidr_blocks) + _setter("ipv6private_cidr_blocks", ipv6private_cidr_blocks) if is_ipv6enabled is not None: - pulumi.set(__self__, "is_ipv6enabled", is_ipv6enabled) + _setter("is_ipv6enabled", is_ipv6enabled) if is_oracle_gua_allocation_enabled is not None: - pulumi.set(__self__, "is_oracle_gua_allocation_enabled", is_oracle_gua_allocation_enabled) + _setter("is_oracle_gua_allocation_enabled", is_oracle_gua_allocation_enabled) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if vcn_domain_name is not None: - pulumi.set(__self__, "vcn_domain_name", vcn_domain_name) + _setter("vcn_domain_name", vcn_domain_name) @property @pulumi.getter(name="byoipv6cidrBlocks") @@ -428,6 +502,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + VirtualNetworkArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/core/vlan.py b/sdk/python/pulumi_oci/core/vlan.py index 5991a1e1eb..cd5b30fe06 100644 --- a/sdk/python/pulumi_oci/core/vlan.py +++ b/sdk/python/pulumi_oci/core/vlan.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['VlanArgs', 'Vlan'] @@ -51,23 +51,50 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "cidr_block", cidr_block) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "vcn_id", vcn_id) + VlanArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + cidr_block=cidr_block, + compartment_id=compartment_id, + vcn_id=vcn_id, + availability_domain=availability_domain, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + nsg_ids=nsg_ids, + route_table_id=route_table_id, + vlan_tag=vlan_tag, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cidr_block: pulumi.Input[str], + compartment_id: pulumi.Input[str], + vcn_id: pulumi.Input[str], + availability_domain: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + route_table_id: Optional[pulumi.Input[str]] = None, + vlan_tag: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cidr_block", cidr_block) + _setter("compartment_id", compartment_id) + _setter("vcn_id", vcn_id) if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) if route_table_id is not None: - pulumi.set(__self__, "route_table_id", route_table_id) + _setter("route_table_id", route_table_id) if vlan_tag is not None: - pulumi.set(__self__, "vlan_tag", vlan_tag) + _setter("vlan_tag", vlan_tag) @property @pulumi.getter(name="cidrBlock") @@ -248,30 +275,61 @@ def __init__(__self__, *, ** 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 """ + _VlanState._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + cidr_block=cidr_block, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + nsg_ids=nsg_ids, + route_table_id=route_table_id, + state=state, + time_created=time_created, + vcn_id=vcn_id, + vlan_tag=vlan_tag, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: Optional[pulumi.Input[str]] = None, + cidr_block: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + route_table_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + vcn_id: Optional[pulumi.Input[str]] = None, + vlan_tag: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if cidr_block is not None: - pulumi.set(__self__, "cidr_block", cidr_block) + _setter("cidr_block", cidr_block) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) if route_table_id is not None: - pulumi.set(__self__, "route_table_id", route_table_id) + _setter("route_table_id", route_table_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if vcn_id is not None: - pulumi.set(__self__, "vcn_id", vcn_id) + _setter("vcn_id", vcn_id) if vlan_tag is not None: - pulumi.set(__self__, "vlan_tag", vlan_tag) + _setter("vlan_tag", vlan_tag) @property @pulumi.getter(name="availabilityDomain") @@ -563,6 +621,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + VlanArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/core/vnic_attachment.py b/sdk/python/pulumi_oci/core/vnic_attachment.py index f341efb561..3168134277 100644 --- a/sdk/python/pulumi_oci/core/vnic_attachment.py +++ b/sdk/python/pulumi_oci/core/vnic_attachment.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -31,12 +31,27 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "create_vnic_details", create_vnic_details) - pulumi.set(__self__, "instance_id", instance_id) + VnicAttachmentArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + create_vnic_details=create_vnic_details, + instance_id=instance_id, + display_name=display_name, + nic_index=nic_index, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + create_vnic_details: pulumi.Input['VnicAttachmentCreateVnicDetailsArgs'], + instance_id: pulumi.Input[str], + display_name: Optional[pulumi.Input[str]] = None, + nic_index: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("create_vnic_details", create_vnic_details) + _setter("instance_id", instance_id) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if nic_index is not None: - pulumi.set(__self__, "nic_index", nic_index) + _setter("nic_index", nic_index) @property @pulumi.getter(name="createVnicDetails") @@ -129,30 +144,61 @@ def __init__(__self__, *, :param pulumi.Input[int] vlan_tag: The Oracle-assigned VLAN tag of the attached VNIC. Available after the attachment process is complete. :param pulumi.Input[str] vnic_id: The OCID of the VNIC. Available after the attachment process is complete. """ + _VnicAttachmentState._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + compartment_id=compartment_id, + create_vnic_details=create_vnic_details, + display_name=display_name, + instance_id=instance_id, + nic_index=nic_index, + state=state, + subnet_id=subnet_id, + time_created=time_created, + vlan_id=vlan_id, + vlan_tag=vlan_tag, + vnic_id=vnic_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + create_vnic_details: Optional[pulumi.Input['VnicAttachmentCreateVnicDetailsArgs']] = None, + display_name: Optional[pulumi.Input[str]] = None, + instance_id: Optional[pulumi.Input[str]] = None, + nic_index: Optional[pulumi.Input[int]] = None, + state: Optional[pulumi.Input[str]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + vlan_id: Optional[pulumi.Input[str]] = None, + vlan_tag: Optional[pulumi.Input[int]] = None, + vnic_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if create_vnic_details is not None: - pulumi.set(__self__, "create_vnic_details", create_vnic_details) + _setter("create_vnic_details", create_vnic_details) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if instance_id is not None: - pulumi.set(__self__, "instance_id", instance_id) + _setter("instance_id", instance_id) if nic_index is not None: - pulumi.set(__self__, "nic_index", nic_index) + _setter("nic_index", nic_index) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if vlan_id is not None: - pulumi.set(__self__, "vlan_id", vlan_id) + _setter("vlan_id", vlan_id) if vlan_tag is not None: - pulumi.set(__self__, "vlan_tag", vlan_tag) + _setter("vlan_tag", vlan_tag) if vnic_id is not None: - pulumi.set(__self__, "vnic_id", vnic_id) + _setter("vnic_id", vnic_id) @property @pulumi.getter(name="availabilityDomain") @@ -428,6 +474,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + VnicAttachmentArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -446,6 +496,11 @@ def _internal_init(__self__, raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = VnicAttachmentArgs.__new__(VnicAttachmentArgs) + if create_vnic_details is not None and not isinstance(create_vnic_details, VnicAttachmentCreateVnicDetailsArgs): + create_vnic_details = create_vnic_details or {} + def _setter(key, value): + create_vnic_details[key] = value + VnicAttachmentCreateVnicDetailsArgs._configure(_setter, **create_vnic_details) if create_vnic_details is None and not opts.urn: raise TypeError("Missing required property 'create_vnic_details'") __props__.__dict__["create_vnic_details"] = create_vnic_details diff --git a/sdk/python/pulumi_oci/core/volume.py b/sdk/python/pulumi_oci/core/volume.py index fc4a9edbcb..4628ad511e 100644 --- a/sdk/python/pulumi_oci/core/volume.py +++ b/sdk/python/pulumi_oci/core/volume.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -51,42 +51,81 @@ def __init__(__self__, *, Allowed values: """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "compartment_id", compartment_id) + VolumeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + compartment_id=compartment_id, + autotune_policies=autotune_policies, + backup_policy_id=backup_policy_id, + block_volume_replicas=block_volume_replicas, + block_volume_replicas_deletion=block_volume_replicas_deletion, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + is_auto_tune_enabled=is_auto_tune_enabled, + kms_key_id=kms_key_id, + size_in_gbs=size_in_gbs, + size_in_mbs=size_in_mbs, + source_details=source_details, + volume_backup_id=volume_backup_id, + vpus_per_gb=vpus_per_gb, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: pulumi.Input[str], + compartment_id: pulumi.Input[str], + autotune_policies: Optional[pulumi.Input[Sequence[pulumi.Input['VolumeAutotunePolicyArgs']]]] = None, + backup_policy_id: Optional[pulumi.Input[str]] = None, + block_volume_replicas: Optional[pulumi.Input[Sequence[pulumi.Input['VolumeBlockVolumeReplicaArgs']]]] = None, + block_volume_replicas_deletion: Optional[pulumi.Input[bool]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_auto_tune_enabled: Optional[pulumi.Input[bool]] = None, + kms_key_id: Optional[pulumi.Input[str]] = None, + size_in_gbs: Optional[pulumi.Input[str]] = None, + size_in_mbs: Optional[pulumi.Input[str]] = None, + source_details: Optional[pulumi.Input['VolumeSourceDetailsArgs']] = None, + volume_backup_id: Optional[pulumi.Input[str]] = None, + vpus_per_gb: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("compartment_id", compartment_id) if autotune_policies is not None: - pulumi.set(__self__, "autotune_policies", autotune_policies) + _setter("autotune_policies", autotune_policies) if backup_policy_id is not None: warnings.warn("""The 'backup_policy_id' field has been deprecated. Please use the 'oci_core_volume_backup_policy_assignment' resource instead.""", DeprecationWarning) pulumi.log.warn("""backup_policy_id is deprecated: The 'backup_policy_id' field has been deprecated. Please use the 'oci_core_volume_backup_policy_assignment' resource instead.""") if backup_policy_id is not None: - pulumi.set(__self__, "backup_policy_id", backup_policy_id) + _setter("backup_policy_id", backup_policy_id) if block_volume_replicas is not None: - pulumi.set(__self__, "block_volume_replicas", block_volume_replicas) + _setter("block_volume_replicas", block_volume_replicas) if block_volume_replicas_deletion is not None: - pulumi.set(__self__, "block_volume_replicas_deletion", block_volume_replicas_deletion) + _setter("block_volume_replicas_deletion", block_volume_replicas_deletion) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_auto_tune_enabled is not None: - pulumi.set(__self__, "is_auto_tune_enabled", is_auto_tune_enabled) + _setter("is_auto_tune_enabled", is_auto_tune_enabled) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) if size_in_gbs is not None: - pulumi.set(__self__, "size_in_gbs", size_in_gbs) + _setter("size_in_gbs", size_in_gbs) if size_in_mbs is not None: warnings.warn("""The 'size_in_mbs' field has been deprecated. Please use 'size_in_gbs' instead.""", DeprecationWarning) pulumi.log.warn("""size_in_mbs is deprecated: The 'size_in_mbs' field has been deprecated. Please use 'size_in_gbs' instead.""") if size_in_mbs is not None: - pulumi.set(__self__, "size_in_mbs", size_in_mbs) + _setter("size_in_mbs", size_in_mbs) if source_details is not None: - pulumi.set(__self__, "source_details", source_details) + _setter("source_details", source_details) if volume_backup_id is not None: - pulumi.set(__self__, "volume_backup_id", volume_backup_id) + _setter("volume_backup_id", volume_backup_id) if vpus_per_gb is not None: - pulumi.set(__self__, "vpus_per_gb", vpus_per_gb) + _setter("vpus_per_gb", vpus_per_gb) @property @pulumi.getter(name="availabilityDomain") @@ -333,56 +372,107 @@ def __init__(__self__, *, Allowed values: """ + _VolumeState._configure( + lambda key, value: pulumi.set(__self__, key, value), + auto_tuned_vpus_per_gb=auto_tuned_vpus_per_gb, + autotune_policies=autotune_policies, + availability_domain=availability_domain, + backup_policy_id=backup_policy_id, + block_volume_replicas=block_volume_replicas, + block_volume_replicas_deletion=block_volume_replicas_deletion, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + is_auto_tune_enabled=is_auto_tune_enabled, + is_hydrated=is_hydrated, + kms_key_id=kms_key_id, + size_in_gbs=size_in_gbs, + size_in_mbs=size_in_mbs, + source_details=source_details, + state=state, + system_tags=system_tags, + time_created=time_created, + volume_backup_id=volume_backup_id, + volume_group_id=volume_group_id, + vpus_per_gb=vpus_per_gb, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + auto_tuned_vpus_per_gb: Optional[pulumi.Input[str]] = None, + autotune_policies: Optional[pulumi.Input[Sequence[pulumi.Input['VolumeAutotunePolicyArgs']]]] = None, + availability_domain: Optional[pulumi.Input[str]] = None, + backup_policy_id: Optional[pulumi.Input[str]] = None, + block_volume_replicas: Optional[pulumi.Input[Sequence[pulumi.Input['VolumeBlockVolumeReplicaArgs']]]] = None, + block_volume_replicas_deletion: Optional[pulumi.Input[bool]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_auto_tune_enabled: Optional[pulumi.Input[bool]] = None, + is_hydrated: Optional[pulumi.Input[bool]] = None, + kms_key_id: Optional[pulumi.Input[str]] = None, + size_in_gbs: Optional[pulumi.Input[str]] = None, + size_in_mbs: Optional[pulumi.Input[str]] = None, + source_details: Optional[pulumi.Input['VolumeSourceDetailsArgs']] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + volume_backup_id: Optional[pulumi.Input[str]] = None, + volume_group_id: Optional[pulumi.Input[str]] = None, + vpus_per_gb: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if auto_tuned_vpus_per_gb is not None: - pulumi.set(__self__, "auto_tuned_vpus_per_gb", auto_tuned_vpus_per_gb) + _setter("auto_tuned_vpus_per_gb", auto_tuned_vpus_per_gb) if autotune_policies is not None: - pulumi.set(__self__, "autotune_policies", autotune_policies) + _setter("autotune_policies", autotune_policies) if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if backup_policy_id is not None: warnings.warn("""The 'backup_policy_id' field has been deprecated. Please use the 'oci_core_volume_backup_policy_assignment' resource instead.""", DeprecationWarning) pulumi.log.warn("""backup_policy_id is deprecated: The 'backup_policy_id' field has been deprecated. Please use the 'oci_core_volume_backup_policy_assignment' resource instead.""") if backup_policy_id is not None: - pulumi.set(__self__, "backup_policy_id", backup_policy_id) + _setter("backup_policy_id", backup_policy_id) if block_volume_replicas is not None: - pulumi.set(__self__, "block_volume_replicas", block_volume_replicas) + _setter("block_volume_replicas", block_volume_replicas) if block_volume_replicas_deletion is not None: - pulumi.set(__self__, "block_volume_replicas_deletion", block_volume_replicas_deletion) + _setter("block_volume_replicas_deletion", block_volume_replicas_deletion) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_auto_tune_enabled is not None: - pulumi.set(__self__, "is_auto_tune_enabled", is_auto_tune_enabled) + _setter("is_auto_tune_enabled", is_auto_tune_enabled) if is_hydrated is not None: - pulumi.set(__self__, "is_hydrated", is_hydrated) + _setter("is_hydrated", is_hydrated) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) if size_in_gbs is not None: - pulumi.set(__self__, "size_in_gbs", size_in_gbs) + _setter("size_in_gbs", size_in_gbs) if size_in_mbs is not None: warnings.warn("""The 'size_in_mbs' field has been deprecated. Please use 'size_in_gbs' instead.""", DeprecationWarning) pulumi.log.warn("""size_in_mbs is deprecated: The 'size_in_mbs' field has been deprecated. Please use 'size_in_gbs' instead.""") if size_in_mbs is not None: - pulumi.set(__self__, "size_in_mbs", size_in_mbs) + _setter("size_in_mbs", size_in_mbs) if source_details is not None: - pulumi.set(__self__, "source_details", source_details) + _setter("source_details", source_details) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if volume_backup_id is not None: - pulumi.set(__self__, "volume_backup_id", volume_backup_id) + _setter("volume_backup_id", volume_backup_id) if volume_group_id is not None: - pulumi.set(__self__, "volume_group_id", volume_group_id) + _setter("volume_group_id", volume_group_id) if vpus_per_gb is not None: - pulumi.set(__self__, "vpus_per_gb", vpus_per_gb) + _setter("vpus_per_gb", vpus_per_gb) @property @pulumi.getter(name="autoTunedVpusPerGb") @@ -834,6 +924,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + VolumeArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -868,9 +962,6 @@ def _internal_init(__self__, if availability_domain is None and not opts.urn: raise TypeError("Missing required property 'availability_domain'") __props__.__dict__["availability_domain"] = availability_domain - if backup_policy_id is not None and not opts.urn: - warnings.warn("""The 'backup_policy_id' field has been deprecated. Please use the 'oci_core_volume_backup_policy_assignment' resource instead.""", DeprecationWarning) - pulumi.log.warn("""backup_policy_id is deprecated: The 'backup_policy_id' field has been deprecated. Please use the 'oci_core_volume_backup_policy_assignment' resource instead.""") __props__.__dict__["backup_policy_id"] = backup_policy_id __props__.__dict__["block_volume_replicas"] = block_volume_replicas __props__.__dict__["block_volume_replicas_deletion"] = block_volume_replicas_deletion @@ -883,10 +974,12 @@ def _internal_init(__self__, __props__.__dict__["is_auto_tune_enabled"] = is_auto_tune_enabled __props__.__dict__["kms_key_id"] = kms_key_id __props__.__dict__["size_in_gbs"] = size_in_gbs - if size_in_mbs is not None and not opts.urn: - warnings.warn("""The 'size_in_mbs' field has been deprecated. Please use 'size_in_gbs' instead.""", DeprecationWarning) - pulumi.log.warn("""size_in_mbs is deprecated: The 'size_in_mbs' field has been deprecated. Please use 'size_in_gbs' instead.""") __props__.__dict__["size_in_mbs"] = size_in_mbs + if source_details is not None and not isinstance(source_details, VolumeSourceDetailsArgs): + source_details = source_details or {} + def _setter(key, value): + source_details[key] = value + VolumeSourceDetailsArgs._configure(_setter, **source_details) __props__.__dict__["source_details"] = source_details __props__.__dict__["volume_backup_id"] = volume_backup_id __props__.__dict__["vpus_per_gb"] = vpus_per_gb diff --git a/sdk/python/pulumi_oci/core/volume_attachment.py b/sdk/python/pulumi_oci/core/volume_attachment.py index 54d344cd5b..93a1fe9a65 100644 --- a/sdk/python/pulumi_oci/core/volume_attachment.py +++ b/sdk/python/pulumi_oci/core/volume_attachment.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -47,30 +47,61 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_shareable: Whether the attachment should be created in shareable mode. If an attachment is created in shareable mode, then other instances can attach the same volume, provided that they also create their attachments in shareable mode. Only certain volume types can be attached in shareable mode. Defaults to false if not specified. :param pulumi.Input[bool] use_chap: Whether to use CHAP authentication for the volume attachment. Defaults to false. """ - pulumi.set(__self__, "attachment_type", attachment_type) - pulumi.set(__self__, "instance_id", instance_id) - pulumi.set(__self__, "volume_id", volume_id) + VolumeAttachmentArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + attachment_type=attachment_type, + instance_id=instance_id, + volume_id=volume_id, + compartment_id=compartment_id, + device=device, + display_name=display_name, + encryption_in_transit_type=encryption_in_transit_type, + is_agent_auto_iscsi_login_enabled=is_agent_auto_iscsi_login_enabled, + is_pv_encryption_in_transit_enabled=is_pv_encryption_in_transit_enabled, + is_read_only=is_read_only, + is_shareable=is_shareable, + use_chap=use_chap, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attachment_type: pulumi.Input[str], + instance_id: pulumi.Input[str], + volume_id: pulumi.Input[str], + compartment_id: Optional[pulumi.Input[str]] = None, + device: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + encryption_in_transit_type: Optional[pulumi.Input[str]] = None, + is_agent_auto_iscsi_login_enabled: Optional[pulumi.Input[bool]] = None, + is_pv_encryption_in_transit_enabled: Optional[pulumi.Input[bool]] = None, + is_read_only: Optional[pulumi.Input[bool]] = None, + is_shareable: Optional[pulumi.Input[bool]] = None, + use_chap: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("attachment_type", attachment_type) + _setter("instance_id", instance_id) + _setter("volume_id", volume_id) if compartment_id is not None: warnings.warn("""The 'compartment_id' field has been deprecated and may be removed in a future version. Do not use this field.""", DeprecationWarning) pulumi.log.warn("""compartment_id is deprecated: The 'compartment_id' field has been deprecated and may be removed in a future version. Do not use this field.""") if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if device is not None: - pulumi.set(__self__, "device", device) + _setter("device", device) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if encryption_in_transit_type is not None: - pulumi.set(__self__, "encryption_in_transit_type", encryption_in_transit_type) + _setter("encryption_in_transit_type", encryption_in_transit_type) if is_agent_auto_iscsi_login_enabled is not None: - pulumi.set(__self__, "is_agent_auto_iscsi_login_enabled", is_agent_auto_iscsi_login_enabled) + _setter("is_agent_auto_iscsi_login_enabled", is_agent_auto_iscsi_login_enabled) if is_pv_encryption_in_transit_enabled is not None: - pulumi.set(__self__, "is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) + _setter("is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) if is_read_only is not None: - pulumi.set(__self__, "is_read_only", is_read_only) + _setter("is_read_only", is_read_only) if is_shareable is not None: - pulumi.set(__self__, "is_shareable", is_shareable) + _setter("is_shareable", is_shareable) if use_chap is not None: - pulumi.set(__self__, "use_chap", use_chap) + _setter("use_chap", use_chap) @property @pulumi.getter(name="attachmentType") @@ -280,55 +311,108 @@ def __init__(__self__, *, ** 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 """ + _VolumeAttachmentState._configure( + lambda key, value: pulumi.set(__self__, key, value), + attachment_type=attachment_type, + availability_domain=availability_domain, + chap_secret=chap_secret, + chap_username=chap_username, + compartment_id=compartment_id, + device=device, + display_name=display_name, + encryption_in_transit_type=encryption_in_transit_type, + instance_id=instance_id, + ipv4=ipv4, + iqn=iqn, + is_agent_auto_iscsi_login_enabled=is_agent_auto_iscsi_login_enabled, + is_multipath=is_multipath, + is_pv_encryption_in_transit_enabled=is_pv_encryption_in_transit_enabled, + is_read_only=is_read_only, + is_shareable=is_shareable, + iscsi_login_state=iscsi_login_state, + multipath_devices=multipath_devices, + port=port, + state=state, + time_created=time_created, + use_chap=use_chap, + volume_id=volume_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attachment_type: Optional[pulumi.Input[str]] = None, + availability_domain: Optional[pulumi.Input[str]] = None, + chap_secret: Optional[pulumi.Input[str]] = None, + chap_username: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + device: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + encryption_in_transit_type: Optional[pulumi.Input[str]] = None, + instance_id: Optional[pulumi.Input[str]] = None, + ipv4: Optional[pulumi.Input[str]] = None, + iqn: Optional[pulumi.Input[str]] = None, + is_agent_auto_iscsi_login_enabled: Optional[pulumi.Input[bool]] = None, + is_multipath: Optional[pulumi.Input[bool]] = None, + is_pv_encryption_in_transit_enabled: Optional[pulumi.Input[bool]] = None, + is_read_only: Optional[pulumi.Input[bool]] = None, + is_shareable: Optional[pulumi.Input[bool]] = None, + iscsi_login_state: Optional[pulumi.Input[str]] = None, + multipath_devices: Optional[pulumi.Input[Sequence[pulumi.Input['VolumeAttachmentMultipathDeviceArgs']]]] = None, + port: Optional[pulumi.Input[int]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + use_chap: Optional[pulumi.Input[bool]] = None, + volume_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if attachment_type is not None: - pulumi.set(__self__, "attachment_type", attachment_type) + _setter("attachment_type", attachment_type) if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if chap_secret is not None: - pulumi.set(__self__, "chap_secret", chap_secret) + _setter("chap_secret", chap_secret) if chap_username is not None: - pulumi.set(__self__, "chap_username", chap_username) + _setter("chap_username", chap_username) if compartment_id is not None: warnings.warn("""The 'compartment_id' field has been deprecated and may be removed in a future version. Do not use this field.""", DeprecationWarning) pulumi.log.warn("""compartment_id is deprecated: The 'compartment_id' field has been deprecated and may be removed in a future version. Do not use this field.""") if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if device is not None: - pulumi.set(__self__, "device", device) + _setter("device", device) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if encryption_in_transit_type is not None: - pulumi.set(__self__, "encryption_in_transit_type", encryption_in_transit_type) + _setter("encryption_in_transit_type", encryption_in_transit_type) if instance_id is not None: - pulumi.set(__self__, "instance_id", instance_id) + _setter("instance_id", instance_id) if ipv4 is not None: - pulumi.set(__self__, "ipv4", ipv4) + _setter("ipv4", ipv4) if iqn is not None: - pulumi.set(__self__, "iqn", iqn) + _setter("iqn", iqn) if is_agent_auto_iscsi_login_enabled is not None: - pulumi.set(__self__, "is_agent_auto_iscsi_login_enabled", is_agent_auto_iscsi_login_enabled) + _setter("is_agent_auto_iscsi_login_enabled", is_agent_auto_iscsi_login_enabled) if is_multipath is not None: - pulumi.set(__self__, "is_multipath", is_multipath) + _setter("is_multipath", is_multipath) if is_pv_encryption_in_transit_enabled is not None: - pulumi.set(__self__, "is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) + _setter("is_pv_encryption_in_transit_enabled", is_pv_encryption_in_transit_enabled) if is_read_only is not None: - pulumi.set(__self__, "is_read_only", is_read_only) + _setter("is_read_only", is_read_only) if is_shareable is not None: - pulumi.set(__self__, "is_shareable", is_shareable) + _setter("is_shareable", is_shareable) if iscsi_login_state is not None: - pulumi.set(__self__, "iscsi_login_state", iscsi_login_state) + _setter("iscsi_login_state", iscsi_login_state) if multipath_devices is not None: - pulumi.set(__self__, "multipath_devices", multipath_devices) + _setter("multipath_devices", multipath_devices) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if use_chap is not None: - pulumi.set(__self__, "use_chap", use_chap) + _setter("use_chap", use_chap) if volume_id is not None: - pulumi.set(__self__, "volume_id", volume_id) + _setter("volume_id", volume_id) @property @pulumi.getter(name="attachmentType") @@ -733,6 +817,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + VolumeAttachmentArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -762,9 +850,6 @@ def _internal_init(__self__, if attachment_type is None and not opts.urn: raise TypeError("Missing required property 'attachment_type'") __props__.__dict__["attachment_type"] = attachment_type - if compartment_id is not None and not opts.urn: - warnings.warn("""The 'compartment_id' field has been deprecated and may be removed in a future version. Do not use this field.""", DeprecationWarning) - pulumi.log.warn("""compartment_id is deprecated: The 'compartment_id' field has been deprecated and may be removed in a future version. Do not use this field.""") __props__.__dict__["compartment_id"] = compartment_id __props__.__dict__["device"] = device __props__.__dict__["display_name"] = display_name diff --git a/sdk/python/pulumi_oci/core/volume_backup.py b/sdk/python/pulumi_oci/core/volume_backup.py index bd805c0aca..5c4ec9d8d6 100644 --- a/sdk/python/pulumi_oci/core/volume_backup.py +++ b/sdk/python/pulumi_oci/core/volume_backup.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -35,22 +35,45 @@ def __init__(__self__, *, :param pulumi.Input[str] type: The type of backup to create. If omitted, defaults to INCREMENTAL. Supported values are 'FULL' or 'INCREMENTAL'. :param pulumi.Input[str] volume_id: The OCID of the volume that needs to be backed up.**Note: To create the resource either `volume_id` or `source_details` is required to be set. """ + VolumeBackupArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + kms_key_id=kms_key_id, + source_details=source_details, + type=type, + volume_id=volume_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + kms_key_id: Optional[pulumi.Input[str]] = None, + source_details: Optional[pulumi.Input['VolumeBackupSourceDetailsArgs']] = None, + type: Optional[pulumi.Input[str]] = None, + volume_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) if source_details is not None: - pulumi.set(__self__, "source_details", source_details) + _setter("source_details", source_details) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if volume_id is not None: - pulumi.set(__self__, "volume_id", volume_id) + _setter("volume_id", volume_id) @property @pulumi.getter(name="compartmentId") @@ -193,50 +216,95 @@ def __init__(__self__, *, :param pulumi.Input[str] unique_size_in_mbs: The size used by the backup, in MBs. It is typically smaller than sizeInMBs, depending on the space consumed on the volume and whether the backup is full or incremental. This field is deprecated. Please use uniqueSizeInGBs. :param pulumi.Input[str] volume_id: The OCID of the volume that needs to be backed up.**Note: To create the resource either `volume_id` or `source_details` is required to be set. """ + _VolumeBackupState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + expiration_time=expiration_time, + freeform_tags=freeform_tags, + kms_key_id=kms_key_id, + size_in_gbs=size_in_gbs, + size_in_mbs=size_in_mbs, + source_details=source_details, + source_type=source_type, + source_volume_backup_id=source_volume_backup_id, + state=state, + system_tags=system_tags, + time_created=time_created, + time_request_received=time_request_received, + type=type, + unique_size_in_gbs=unique_size_in_gbs, + unique_size_in_mbs=unique_size_in_mbs, + volume_id=volume_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + expiration_time: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + kms_key_id: Optional[pulumi.Input[str]] = None, + size_in_gbs: Optional[pulumi.Input[str]] = None, + size_in_mbs: Optional[pulumi.Input[str]] = None, + source_details: Optional[pulumi.Input['VolumeBackupSourceDetailsArgs']] = None, + source_type: Optional[pulumi.Input[str]] = None, + source_volume_backup_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_request_received: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + unique_size_in_gbs: Optional[pulumi.Input[str]] = None, + unique_size_in_mbs: Optional[pulumi.Input[str]] = None, + volume_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if expiration_time is not None: - pulumi.set(__self__, "expiration_time", expiration_time) + _setter("expiration_time", expiration_time) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) if size_in_gbs is not None: - pulumi.set(__self__, "size_in_gbs", size_in_gbs) + _setter("size_in_gbs", size_in_gbs) if size_in_mbs is not None: warnings.warn("""The 'size_in_mbs' field has been deprecated. Please use 'size_in_gbs' instead.""", DeprecationWarning) pulumi.log.warn("""size_in_mbs is deprecated: The 'size_in_mbs' field has been deprecated. Please use 'size_in_gbs' instead.""") if size_in_mbs is not None: - pulumi.set(__self__, "size_in_mbs", size_in_mbs) + _setter("size_in_mbs", size_in_mbs) if source_details is not None: - pulumi.set(__self__, "source_details", source_details) + _setter("source_details", source_details) if source_type is not None: - pulumi.set(__self__, "source_type", source_type) + _setter("source_type", source_type) if source_volume_backup_id is not None: - pulumi.set(__self__, "source_volume_backup_id", source_volume_backup_id) + _setter("source_volume_backup_id", source_volume_backup_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_request_received is not None: - pulumi.set(__self__, "time_request_received", time_request_received) + _setter("time_request_received", time_request_received) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if unique_size_in_gbs is not None: - pulumi.set(__self__, "unique_size_in_gbs", unique_size_in_gbs) + _setter("unique_size_in_gbs", unique_size_in_gbs) if unique_size_in_mbs is not None: warnings.warn("""The 'unique_size_in_mbs' field has been deprecated. Please use 'unique_size_in_gbs' instead.""", DeprecationWarning) pulumi.log.warn("""unique_size_in_mbs is deprecated: The 'unique_size_in_mbs' field has been deprecated. Please use 'unique_size_in_gbs' instead.""") if unique_size_in_mbs is not None: - pulumi.set(__self__, "unique_size_in_mbs", unique_size_in_mbs) + _setter("unique_size_in_mbs", unique_size_in_mbs) if volume_id is not None: - pulumi.set(__self__, "volume_id", volume_id) + _setter("volume_id", volume_id) @property @pulumi.getter(name="compartmentId") @@ -588,6 +656,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + VolumeBackupArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -615,6 +687,11 @@ def _internal_init(__self__, __props__.__dict__["display_name"] = display_name __props__.__dict__["freeform_tags"] = freeform_tags __props__.__dict__["kms_key_id"] = kms_key_id + if source_details is not None and not isinstance(source_details, VolumeBackupSourceDetailsArgs): + source_details = source_details or {} + def _setter(key, value): + source_details[key] = value + VolumeBackupSourceDetailsArgs._configure(_setter, **source_details) __props__.__dict__["source_details"] = source_details __props__.__dict__["type"] = type __props__.__dict__["volume_id"] = volume_id diff --git a/sdk/python/pulumi_oci/core/volume_backup_policy.py b/sdk/python/pulumi_oci/core/volume_backup_policy.py index 1dd84457ce..98c4bab0c3 100644 --- a/sdk/python/pulumi_oci/core/volume_backup_policy.py +++ b/sdk/python/pulumi_oci/core/volume_backup_policy.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -31,17 +31,36 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] freeform_tags: (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` :param pulumi.Input[Sequence[pulumi.Input['VolumeBackupPolicyScheduleArgs']]] schedules: (Updatable) The collection of schedules for the volume backup policy. See see [Schedules](https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm#schedules) in [Policy-Based Backups](https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm) for more information. """ - pulumi.set(__self__, "compartment_id", compartment_id) + VolumeBackupPolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + destination_region=destination_region, + display_name=display_name, + freeform_tags=freeform_tags, + schedules=schedules, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + destination_region: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + schedules: Optional[pulumi.Input[Sequence[pulumi.Input['VolumeBackupPolicyScheduleArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if destination_region is not None: - pulumi.set(__self__, "destination_region", destination_region) + _setter("destination_region", destination_region) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if schedules is not None: - pulumi.set(__self__, "schedules", schedules) + _setter("schedules", schedules) @property @pulumi.getter(name="compartmentId") @@ -136,20 +155,41 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['VolumeBackupPolicyScheduleArgs']]] schedules: (Updatable) The collection of schedules for the volume backup policy. See see [Schedules](https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm#schedules) in [Policy-Based Backups](https://docs.cloud.oracle.com/iaas/Content/Block/Tasks/schedulingvolumebackups.htm) for more information. :param pulumi.Input[str] time_created: The date and time the volume backup policy was created. Format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). """ + _VolumeBackupPolicyState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + destination_region=destination_region, + display_name=display_name, + freeform_tags=freeform_tags, + schedules=schedules, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + destination_region: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + schedules: Optional[pulumi.Input[Sequence[pulumi.Input['VolumeBackupPolicyScheduleArgs']]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if destination_region is not None: - pulumi.set(__self__, "destination_region", destination_region) + _setter("destination_region", destination_region) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if schedules is not None: - pulumi.set(__self__, "schedules", schedules) + _setter("schedules", schedules) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -365,6 +405,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + VolumeBackupPolicyArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/core/volume_backup_policy_assignment.py b/sdk/python/pulumi_oci/core/volume_backup_policy_assignment.py index da0c729020..43718b5094 100644 --- a/sdk/python/pulumi_oci/core/volume_backup_policy_assignment.py +++ b/sdk/python/pulumi_oci/core/volume_backup_policy_assignment.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['VolumeBackupPolicyAssignmentArgs', 'VolumeBackupPolicyAssignment'] @@ -25,8 +25,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "asset_id", asset_id) - pulumi.set(__self__, "policy_id", policy_id) + VolumeBackupPolicyAssignmentArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + asset_id=asset_id, + policy_id=policy_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + asset_id: pulumi.Input[str], + policy_id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("asset_id", asset_id) + _setter("policy_id", policy_id) @property @pulumi.getter(name="assetId") @@ -73,12 +84,25 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] time_created: The date and time the volume backup policy was assigned to the volume. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339). """ + _VolumeBackupPolicyAssignmentState._configure( + lambda key, value: pulumi.set(__self__, key, value), + asset_id=asset_id, + policy_id=policy_id, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + asset_id: Optional[pulumi.Input[str]] = None, + policy_id: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if asset_id is not None: - pulumi.set(__self__, "asset_id", asset_id) + _setter("asset_id", asset_id) if policy_id is not None: - pulumi.set(__self__, "policy_id", policy_id) + _setter("policy_id", policy_id) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="assetId") @@ -206,6 +230,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + VolumeBackupPolicyAssignmentArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/core/volume_group.py b/sdk/python/pulumi_oci/core/volume_group.py index 905ccea9af..b240834636 100644 --- a/sdk/python/pulumi_oci/core/volume_group.py +++ b/sdk/python/pulumi_oci/core/volume_group.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -43,25 +43,54 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['VolumeGroupVolumeGroupReplicaArgs']]] volume_group_replicas: (Updatable) The list of volume group replicas that this volume group will be enabled to have in the specified destination availability domains. :param pulumi.Input[Sequence[pulumi.Input[str]]] volume_ids: OCIDs for the volumes in this volume group. """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "source_details", source_details) + VolumeGroupArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + compartment_id=compartment_id, + source_details=source_details, + backup_policy_id=backup_policy_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + preserve_volume_replica=preserve_volume_replica, + volume_group_replicas=volume_group_replicas, + volume_group_replicas_deletion=volume_group_replicas_deletion, + volume_ids=volume_ids, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: pulumi.Input[str], + compartment_id: pulumi.Input[str], + source_details: pulumi.Input['VolumeGroupSourceDetailsArgs'], + backup_policy_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + preserve_volume_replica: Optional[pulumi.Input[bool]] = None, + volume_group_replicas: Optional[pulumi.Input[Sequence[pulumi.Input['VolumeGroupVolumeGroupReplicaArgs']]]] = None, + volume_group_replicas_deletion: Optional[pulumi.Input[bool]] = None, + volume_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("compartment_id", compartment_id) + _setter("source_details", source_details) if backup_policy_id is not None: - pulumi.set(__self__, "backup_policy_id", backup_policy_id) + _setter("backup_policy_id", backup_policy_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if preserve_volume_replica is not None: - pulumi.set(__self__, "preserve_volume_replica", preserve_volume_replica) + _setter("preserve_volume_replica", preserve_volume_replica) if volume_group_replicas is not None: - pulumi.set(__self__, "volume_group_replicas", volume_group_replicas) + _setter("volume_group_replicas", volume_group_replicas) if volume_group_replicas_deletion is not None: - pulumi.set(__self__, "volume_group_replicas_deletion", volume_group_replicas_deletion) + _setter("volume_group_replicas_deletion", volume_group_replicas_deletion) if volume_ids is not None: - pulumi.set(__self__, "volume_ids", volume_ids) + _setter("volume_ids", volume_ids) @property @pulumi.getter(name="availabilityDomain") @@ -234,38 +263,77 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['VolumeGroupVolumeGroupReplicaArgs']]] volume_group_replicas: (Updatable) The list of volume group replicas that this volume group will be enabled to have in the specified destination availability domains. :param pulumi.Input[Sequence[pulumi.Input[str]]] volume_ids: OCIDs for the volumes in this volume group. """ + _VolumeGroupState._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + backup_policy_id=backup_policy_id, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + is_hydrated=is_hydrated, + preserve_volume_replica=preserve_volume_replica, + size_in_gbs=size_in_gbs, + size_in_mbs=size_in_mbs, + source_details=source_details, + state=state, + time_created=time_created, + volume_group_replicas=volume_group_replicas, + volume_group_replicas_deletion=volume_group_replicas_deletion, + volume_ids=volume_ids, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: Optional[pulumi.Input[str]] = None, + backup_policy_id: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_hydrated: Optional[pulumi.Input[bool]] = None, + preserve_volume_replica: Optional[pulumi.Input[bool]] = None, + size_in_gbs: Optional[pulumi.Input[str]] = None, + size_in_mbs: Optional[pulumi.Input[str]] = None, + source_details: Optional[pulumi.Input['VolumeGroupSourceDetailsArgs']] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + volume_group_replicas: Optional[pulumi.Input[Sequence[pulumi.Input['VolumeGroupVolumeGroupReplicaArgs']]]] = None, + volume_group_replicas_deletion: Optional[pulumi.Input[bool]] = None, + volume_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if backup_policy_id is not None: - pulumi.set(__self__, "backup_policy_id", backup_policy_id) + _setter("backup_policy_id", backup_policy_id) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_hydrated is not None: - pulumi.set(__self__, "is_hydrated", is_hydrated) + _setter("is_hydrated", is_hydrated) if preserve_volume_replica is not None: - pulumi.set(__self__, "preserve_volume_replica", preserve_volume_replica) + _setter("preserve_volume_replica", preserve_volume_replica) if size_in_gbs is not None: - pulumi.set(__self__, "size_in_gbs", size_in_gbs) + _setter("size_in_gbs", size_in_gbs) if size_in_mbs is not None: - pulumi.set(__self__, "size_in_mbs", size_in_mbs) + _setter("size_in_mbs", size_in_mbs) if source_details is not None: - pulumi.set(__self__, "source_details", source_details) + _setter("source_details", source_details) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if volume_group_replicas is not None: - pulumi.set(__self__, "volume_group_replicas", volume_group_replicas) + _setter("volume_group_replicas", volume_group_replicas) if volume_group_replicas_deletion is not None: - pulumi.set(__self__, "volume_group_replicas_deletion", volume_group_replicas_deletion) + _setter("volume_group_replicas_deletion", volume_group_replicas_deletion) if volume_ids is not None: - pulumi.set(__self__, "volume_ids", volume_ids) + _setter("volume_ids", volume_ids) @property @pulumi.getter(name="availabilityDomain") @@ -579,6 +647,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + VolumeGroupArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -615,6 +687,11 @@ def _internal_init(__self__, __props__.__dict__["display_name"] = display_name __props__.__dict__["freeform_tags"] = freeform_tags __props__.__dict__["preserve_volume_replica"] = preserve_volume_replica + if source_details is not None and not isinstance(source_details, VolumeGroupSourceDetailsArgs): + source_details = source_details or {} + def _setter(key, value): + source_details[key] = value + VolumeGroupSourceDetailsArgs._configure(_setter, **source_details) if source_details is None and not opts.urn: raise TypeError("Missing required property 'source_details'") __props__.__dict__["source_details"] = source_details diff --git a/sdk/python/pulumi_oci/core/volume_group_backup.py b/sdk/python/pulumi_oci/core/volume_group_backup.py index ef7721841f..b7145b3861 100644 --- a/sdk/python/pulumi_oci/core/volume_group_backup.py +++ b/sdk/python/pulumi_oci/core/volume_group_backup.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -36,20 +36,41 @@ def __init__(__self__, *, * INCREMENTAL :param pulumi.Input[str] volume_group_id: The OCID of the volume group that needs to be backed up. """ + VolumeGroupBackupArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + source_details=source_details, + type=type, + volume_group_id=volume_group_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + source_details: Optional[pulumi.Input['VolumeGroupBackupSourceDetailsArgs']] = None, + type: Optional[pulumi.Input[str]] = None, + volume_group_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if source_details is not None: - pulumi.set(__self__, "source_details", source_details) + _setter("source_details", source_details) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if volume_group_id is not None: - pulumi.set(__self__, "volume_group_id", volume_group_id) + _setter("volume_group_id", volume_group_id) @property @pulumi.getter(name="compartmentId") @@ -184,42 +205,85 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] volume_backup_ids: OCIDs for the volume backups in this volume group backup. :param pulumi.Input[str] volume_group_id: The OCID of the volume group that needs to be backed up. """ + _VolumeGroupBackupState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + expiration_time=expiration_time, + freeform_tags=freeform_tags, + size_in_gbs=size_in_gbs, + size_in_mbs=size_in_mbs, + source_details=source_details, + source_type=source_type, + source_volume_group_backup_id=source_volume_group_backup_id, + state=state, + time_created=time_created, + time_request_received=time_request_received, + type=type, + unique_size_in_gbs=unique_size_in_gbs, + unique_size_in_mbs=unique_size_in_mbs, + volume_backup_ids=volume_backup_ids, + volume_group_id=volume_group_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + expiration_time: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + size_in_gbs: Optional[pulumi.Input[str]] = None, + size_in_mbs: Optional[pulumi.Input[str]] = None, + source_details: Optional[pulumi.Input['VolumeGroupBackupSourceDetailsArgs']] = None, + source_type: Optional[pulumi.Input[str]] = None, + source_volume_group_backup_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_request_received: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + unique_size_in_gbs: Optional[pulumi.Input[str]] = None, + unique_size_in_mbs: Optional[pulumi.Input[str]] = None, + volume_backup_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + volume_group_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if expiration_time is not None: - pulumi.set(__self__, "expiration_time", expiration_time) + _setter("expiration_time", expiration_time) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if size_in_gbs is not None: - pulumi.set(__self__, "size_in_gbs", size_in_gbs) + _setter("size_in_gbs", size_in_gbs) if size_in_mbs is not None: - pulumi.set(__self__, "size_in_mbs", size_in_mbs) + _setter("size_in_mbs", size_in_mbs) if source_details is not None: - pulumi.set(__self__, "source_details", source_details) + _setter("source_details", source_details) if source_type is not None: - pulumi.set(__self__, "source_type", source_type) + _setter("source_type", source_type) if source_volume_group_backup_id is not None: - pulumi.set(__self__, "source_volume_group_backup_id", source_volume_group_backup_id) + _setter("source_volume_group_backup_id", source_volume_group_backup_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_request_received is not None: - pulumi.set(__self__, "time_request_received", time_request_received) + _setter("time_request_received", time_request_received) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if unique_size_in_gbs is not None: - pulumi.set(__self__, "unique_size_in_gbs", unique_size_in_gbs) + _setter("unique_size_in_gbs", unique_size_in_gbs) if unique_size_in_mbs is not None: - pulumi.set(__self__, "unique_size_in_mbs", unique_size_in_mbs) + _setter("unique_size_in_mbs", unique_size_in_mbs) if volume_backup_ids is not None: - pulumi.set(__self__, "volume_backup_ids", volume_backup_ids) + _setter("volume_backup_ids", volume_backup_ids) if volume_group_id is not None: - pulumi.set(__self__, "volume_group_id", volume_group_id) + _setter("volume_group_id", volume_group_id) @property @pulumi.getter(name="compartmentId") @@ -549,6 +613,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + VolumeGroupBackupArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -574,6 +642,11 @@ def _internal_init(__self__, __props__.__dict__["defined_tags"] = defined_tags __props__.__dict__["display_name"] = display_name __props__.__dict__["freeform_tags"] = freeform_tags + if source_details is not None and not isinstance(source_details, VolumeGroupBackupSourceDetailsArgs): + source_details = source_details or {} + def _setter(key, value): + source_details[key] = value + VolumeGroupBackupSourceDetailsArgs._configure(_setter, **source_details) __props__.__dict__["source_details"] = source_details __props__.__dict__["type"] = type __props__.__dict__["volume_group_id"] = volume_group_id diff --git a/sdk/python/pulumi_oci/core/vtap.py b/sdk/python/pulumi_oci/core/vtap.py index e98c30bbdf..71bba6ffa0 100644 --- a/sdk/python/pulumi_oci/core/vtap.py +++ b/sdk/python/pulumi_oci/core/vtap.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['VtapArgs', 'Vtap'] @@ -57,38 +57,81 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "capture_filter_id", capture_filter_id) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "source_id", source_id) - pulumi.set(__self__, "vcn_id", vcn_id) + VtapArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + capture_filter_id=capture_filter_id, + compartment_id=compartment_id, + source_id=source_id, + vcn_id=vcn_id, + defined_tags=defined_tags, + display_name=display_name, + encapsulation_protocol=encapsulation_protocol, + freeform_tags=freeform_tags, + is_vtap_enabled=is_vtap_enabled, + max_packet_size=max_packet_size, + source_private_endpoint_ip=source_private_endpoint_ip, + source_private_endpoint_subnet_id=source_private_endpoint_subnet_id, + source_type=source_type, + target_id=target_id, + target_ip=target_ip, + target_type=target_type, + traffic_mode=traffic_mode, + vxlan_network_identifier=vxlan_network_identifier, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + capture_filter_id: pulumi.Input[str], + compartment_id: pulumi.Input[str], + source_id: pulumi.Input[str], + vcn_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + encapsulation_protocol: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_vtap_enabled: Optional[pulumi.Input[bool]] = None, + max_packet_size: Optional[pulumi.Input[int]] = None, + source_private_endpoint_ip: Optional[pulumi.Input[str]] = None, + source_private_endpoint_subnet_id: Optional[pulumi.Input[str]] = None, + source_type: Optional[pulumi.Input[str]] = None, + target_id: Optional[pulumi.Input[str]] = None, + target_ip: Optional[pulumi.Input[str]] = None, + target_type: Optional[pulumi.Input[str]] = None, + traffic_mode: Optional[pulumi.Input[str]] = None, + vxlan_network_identifier: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("capture_filter_id", capture_filter_id) + _setter("compartment_id", compartment_id) + _setter("source_id", source_id) + _setter("vcn_id", vcn_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if encapsulation_protocol is not None: - pulumi.set(__self__, "encapsulation_protocol", encapsulation_protocol) + _setter("encapsulation_protocol", encapsulation_protocol) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_vtap_enabled is not None: - pulumi.set(__self__, "is_vtap_enabled", is_vtap_enabled) + _setter("is_vtap_enabled", is_vtap_enabled) if max_packet_size is not None: - pulumi.set(__self__, "max_packet_size", max_packet_size) + _setter("max_packet_size", max_packet_size) if source_private_endpoint_ip is not None: - pulumi.set(__self__, "source_private_endpoint_ip", source_private_endpoint_ip) + _setter("source_private_endpoint_ip", source_private_endpoint_ip) if source_private_endpoint_subnet_id is not None: - pulumi.set(__self__, "source_private_endpoint_subnet_id", source_private_endpoint_subnet_id) + _setter("source_private_endpoint_subnet_id", source_private_endpoint_subnet_id) if source_type is not None: - pulumi.set(__self__, "source_type", source_type) + _setter("source_type", source_type) if target_id is not None: - pulumi.set(__self__, "target_id", target_id) + _setter("target_id", target_id) if target_ip is not None: - pulumi.set(__self__, "target_ip", target_ip) + _setter("target_ip", target_ip) if target_type is not None: - pulumi.set(__self__, "target_type", target_type) + _setter("target_type", target_type) if traffic_mode is not None: - pulumi.set(__self__, "traffic_mode", traffic_mode) + _setter("traffic_mode", traffic_mode) if vxlan_network_identifier is not None: - pulumi.set(__self__, "vxlan_network_identifier", vxlan_network_identifier) + _setter("vxlan_network_identifier", vxlan_network_identifier) @property @pulumi.getter(name="captureFilterId") @@ -363,48 +406,97 @@ def __init__(__self__, *, ** 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 """ + _VtapState._configure( + lambda key, value: pulumi.set(__self__, key, value), + capture_filter_id=capture_filter_id, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + encapsulation_protocol=encapsulation_protocol, + freeform_tags=freeform_tags, + is_vtap_enabled=is_vtap_enabled, + lifecycle_state_details=lifecycle_state_details, + max_packet_size=max_packet_size, + source_id=source_id, + source_private_endpoint_ip=source_private_endpoint_ip, + source_private_endpoint_subnet_id=source_private_endpoint_subnet_id, + source_type=source_type, + state=state, + target_id=target_id, + target_ip=target_ip, + target_type=target_type, + time_created=time_created, + traffic_mode=traffic_mode, + vcn_id=vcn_id, + vxlan_network_identifier=vxlan_network_identifier, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + capture_filter_id: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + encapsulation_protocol: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_vtap_enabled: Optional[pulumi.Input[bool]] = None, + lifecycle_state_details: Optional[pulumi.Input[str]] = None, + max_packet_size: Optional[pulumi.Input[int]] = None, + source_id: Optional[pulumi.Input[str]] = None, + source_private_endpoint_ip: Optional[pulumi.Input[str]] = None, + source_private_endpoint_subnet_id: Optional[pulumi.Input[str]] = None, + source_type: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + target_id: Optional[pulumi.Input[str]] = None, + target_ip: Optional[pulumi.Input[str]] = None, + target_type: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + traffic_mode: Optional[pulumi.Input[str]] = None, + vcn_id: Optional[pulumi.Input[str]] = None, + vxlan_network_identifier: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if capture_filter_id is not None: - pulumi.set(__self__, "capture_filter_id", capture_filter_id) + _setter("capture_filter_id", capture_filter_id) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if encapsulation_protocol is not None: - pulumi.set(__self__, "encapsulation_protocol", encapsulation_protocol) + _setter("encapsulation_protocol", encapsulation_protocol) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_vtap_enabled is not None: - pulumi.set(__self__, "is_vtap_enabled", is_vtap_enabled) + _setter("is_vtap_enabled", is_vtap_enabled) if lifecycle_state_details is not None: - pulumi.set(__self__, "lifecycle_state_details", lifecycle_state_details) + _setter("lifecycle_state_details", lifecycle_state_details) if max_packet_size is not None: - pulumi.set(__self__, "max_packet_size", max_packet_size) + _setter("max_packet_size", max_packet_size) if source_id is not None: - pulumi.set(__self__, "source_id", source_id) + _setter("source_id", source_id) if source_private_endpoint_ip is not None: - pulumi.set(__self__, "source_private_endpoint_ip", source_private_endpoint_ip) + _setter("source_private_endpoint_ip", source_private_endpoint_ip) if source_private_endpoint_subnet_id is not None: - pulumi.set(__self__, "source_private_endpoint_subnet_id", source_private_endpoint_subnet_id) + _setter("source_private_endpoint_subnet_id", source_private_endpoint_subnet_id) if source_type is not None: - pulumi.set(__self__, "source_type", source_type) + _setter("source_type", source_type) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if target_id is not None: - pulumi.set(__self__, "target_id", target_id) + _setter("target_id", target_id) if target_ip is not None: - pulumi.set(__self__, "target_ip", target_ip) + _setter("target_ip", target_ip) if target_type is not None: - pulumi.set(__self__, "target_type", target_type) + _setter("target_type", target_type) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if traffic_mode is not None: - pulumi.set(__self__, "traffic_mode", traffic_mode) + _setter("traffic_mode", traffic_mode) if vcn_id is not None: - pulumi.set(__self__, "vcn_id", vcn_id) + _setter("vcn_id", vcn_id) if vxlan_network_identifier is not None: - pulumi.set(__self__, "vxlan_network_identifier", vxlan_network_identifier) + _setter("vxlan_network_identifier", vxlan_network_identifier) @property @pulumi.getter(name="captureFilterId") @@ -832,6 +924,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + VtapArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/database/_inputs.py b/sdk/python/pulumi_oci/database/_inputs.py index ae2a95919f..7f6d98370c 100644 --- a/sdk/python/pulumi_oci/database/_inputs.py +++ b/sdk/python/pulumi_oci/database/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -32,6 +32,7 @@ 'AutonomousDatabaseLocalStandbyDbArgs', 'AutonomousDatabaseLongTermBackupScheduleArgs', 'AutonomousDatabaseRemoteDisasterRecoveryConfigurationArgs', + 'AutonomousDatabaseResourcePoolSummaryArgs', 'AutonomousDatabaseScheduledOperationArgs', 'AutonomousDatabaseScheduledOperationDayOfWeekArgs', 'AutonomousDatabaseStandbyDbArgs', @@ -219,10 +220,21 @@ def __init__(__self__, *, :param pulumi.Input['AutonomousContainerDatabaseBackupConfigBackupDestinationDetailsArgs'] backup_destination_details: Backup destination details. :param pulumi.Input[int] recovery_window_in_days: Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups. """ + AutonomousContainerDatabaseBackupConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + backup_destination_details=backup_destination_details, + recovery_window_in_days=recovery_window_in_days, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backup_destination_details: Optional[pulumi.Input['AutonomousContainerDatabaseBackupConfigBackupDestinationDetailsArgs']] = None, + recovery_window_in_days: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if backup_destination_details is not None: - pulumi.set(__self__, "backup_destination_details", backup_destination_details) + _setter("backup_destination_details", backup_destination_details) if recovery_window_in_days is not None: - pulumi.set(__self__, "recovery_window_in_days", recovery_window_in_days) + _setter("recovery_window_in_days", recovery_window_in_days) @property @pulumi.getter(name="backupDestinationDetails") @@ -264,15 +276,32 @@ def __init__(__self__, *, :param pulumi.Input[str] vpc_password: For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance. :param pulumi.Input[str] vpc_user: For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance. """ - pulumi.set(__self__, "type", type) + AutonomousContainerDatabaseBackupConfigBackupDestinationDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + id=id, + internet_proxy=internet_proxy, + vpc_password=vpc_password, + vpc_user=vpc_user, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + id: Optional[pulumi.Input[str]] = None, + internet_proxy: Optional[pulumi.Input[str]] = None, + vpc_password: Optional[pulumi.Input[str]] = None, + vpc_user: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if internet_proxy is not None: - pulumi.set(__self__, "internet_proxy", internet_proxy) + _setter("internet_proxy", internet_proxy) if vpc_password is not None: - pulumi.set(__self__, "vpc_password", vpc_password) + _setter("vpc_password", vpc_password) if vpc_user is not None: - pulumi.set(__self__, "vpc_user", vpc_user) + _setter("vpc_user", vpc_user) @property @pulumi.getter @@ -348,14 +377,29 @@ def __init__(__self__, *, :param pulumi.Input[str] time_activated: The date and time the kms key activated. :param pulumi.Input[str] vault_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure [vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). """ + AutonomousContainerDatabaseKeyHistoryEntryArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + kms_key_version_id=kms_key_version_id, + time_activated=time_activated, + vault_id=vault_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: Optional[pulumi.Input[str]] = None, + kms_key_version_id: Optional[pulumi.Input[str]] = None, + time_activated: Optional[pulumi.Input[str]] = None, + vault_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if kms_key_version_id is not None: - pulumi.set(__self__, "kms_key_version_id", kms_key_version_id) + _setter("kms_key_version_id", kms_key_version_id) if time_activated is not None: - pulumi.set(__self__, "time_activated", time_activated) + _setter("time_activated", time_activated) if vault_id is not None: - pulumi.set(__self__, "vault_id", vault_id) + _setter("vault_id", vault_id) @property @pulumi.getter @@ -434,26 +478,53 @@ def __init__(__self__, *, :param pulumi.Input[str] preference: (Updatable) The maintenance window scheduling preference. :param pulumi.Input[Sequence[pulumi.Input[int]]] weeks_of_months: (Updatable) Weeks during the month when maintenance should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week. For example, to allow maintenance during the 2nd week of the month (from the 8th day to the 14th day of the month), use the value 2. Maintenance cannot be scheduled for the fifth week of months that contain more than 28 days. Note that this parameter works in conjunction with the daysOfWeek and hoursOfDay parameters to allow you to specify specific days of the week and hours that maintenance will be performed. """ + AutonomousContainerDatabaseMaintenanceWindowArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_action_timeout_in_mins=custom_action_timeout_in_mins, + days_of_weeks=days_of_weeks, + hours_of_days=hours_of_days, + is_custom_action_timeout_enabled=is_custom_action_timeout_enabled, + is_monthly_patching_enabled=is_monthly_patching_enabled, + lead_time_in_weeks=lead_time_in_weeks, + months=months, + patching_mode=patching_mode, + preference=preference, + weeks_of_months=weeks_of_months, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_action_timeout_in_mins: Optional[pulumi.Input[int]] = None, + days_of_weeks: Optional[pulumi.Input[Sequence[pulumi.Input['AutonomousContainerDatabaseMaintenanceWindowDaysOfWeekArgs']]]] = None, + hours_of_days: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None, + is_custom_action_timeout_enabled: Optional[pulumi.Input[bool]] = None, + is_monthly_patching_enabled: Optional[pulumi.Input[bool]] = None, + lead_time_in_weeks: Optional[pulumi.Input[int]] = None, + months: Optional[pulumi.Input[Sequence[pulumi.Input['AutonomousContainerDatabaseMaintenanceWindowMonthArgs']]]] = None, + patching_mode: Optional[pulumi.Input[str]] = None, + preference: Optional[pulumi.Input[str]] = None, + weeks_of_months: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if custom_action_timeout_in_mins is not None: - pulumi.set(__self__, "custom_action_timeout_in_mins", custom_action_timeout_in_mins) + _setter("custom_action_timeout_in_mins", custom_action_timeout_in_mins) if days_of_weeks is not None: - pulumi.set(__self__, "days_of_weeks", days_of_weeks) + _setter("days_of_weeks", days_of_weeks) if hours_of_days is not None: - pulumi.set(__self__, "hours_of_days", hours_of_days) + _setter("hours_of_days", hours_of_days) if is_custom_action_timeout_enabled is not None: - pulumi.set(__self__, "is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) + _setter("is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) if is_monthly_patching_enabled is not None: - pulumi.set(__self__, "is_monthly_patching_enabled", is_monthly_patching_enabled) + _setter("is_monthly_patching_enabled", is_monthly_patching_enabled) if lead_time_in_weeks is not None: - pulumi.set(__self__, "lead_time_in_weeks", lead_time_in_weeks) + _setter("lead_time_in_weeks", lead_time_in_weeks) if months is not None: - pulumi.set(__self__, "months", months) + _setter("months", months) if patching_mode is not None: - pulumi.set(__self__, "patching_mode", patching_mode) + _setter("patching_mode", patching_mode) if preference is not None: - pulumi.set(__self__, "preference", preference) + _setter("preference", preference) if weeks_of_months is not None: - pulumi.set(__self__, "weeks_of_months", weeks_of_months) + _setter("weeks_of_months", weeks_of_months) @property @pulumi.getter(name="customActionTimeoutInMins") @@ -586,8 +657,17 @@ def __init__(__self__, *, """ :param pulumi.Input[str] name: (Updatable) Name of the month of the year. """ + AutonomousContainerDatabaseMaintenanceWindowDaysOfWeekArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -630,26 +710,53 @@ def __init__(__self__, *, :param pulumi.Input[str] preference: (Updatable) The maintenance window scheduling preference. :param pulumi.Input[Sequence[pulumi.Input[int]]] weeks_of_months: (Updatable) Weeks during the month when maintenance should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week. For example, to allow maintenance during the 2nd week of the month (from the 8th day to the 14th day of the month), use the value 2. Maintenance cannot be scheduled for the fifth week of months that contain more than 28 days. Note that this parameter works in conjunction with the daysOfWeek and hoursOfDay parameters to allow you to specify specific days of the week and hours that maintenance will be performed. """ + AutonomousContainerDatabaseMaintenanceWindowDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_action_timeout_in_mins=custom_action_timeout_in_mins, + days_of_weeks=days_of_weeks, + hours_of_days=hours_of_days, + is_custom_action_timeout_enabled=is_custom_action_timeout_enabled, + is_monthly_patching_enabled=is_monthly_patching_enabled, + lead_time_in_weeks=lead_time_in_weeks, + months=months, + patching_mode=patching_mode, + preference=preference, + weeks_of_months=weeks_of_months, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_action_timeout_in_mins: Optional[pulumi.Input[int]] = None, + days_of_weeks: Optional[pulumi.Input[Sequence[pulumi.Input['AutonomousContainerDatabaseMaintenanceWindowDetailsDaysOfWeekArgs']]]] = None, + hours_of_days: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None, + is_custom_action_timeout_enabled: Optional[pulumi.Input[bool]] = None, + is_monthly_patching_enabled: Optional[pulumi.Input[bool]] = None, + lead_time_in_weeks: Optional[pulumi.Input[int]] = None, + months: Optional[pulumi.Input[Sequence[pulumi.Input['AutonomousContainerDatabaseMaintenanceWindowDetailsMonthArgs']]]] = None, + patching_mode: Optional[pulumi.Input[str]] = None, + preference: Optional[pulumi.Input[str]] = None, + weeks_of_months: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if custom_action_timeout_in_mins is not None: - pulumi.set(__self__, "custom_action_timeout_in_mins", custom_action_timeout_in_mins) + _setter("custom_action_timeout_in_mins", custom_action_timeout_in_mins) if days_of_weeks is not None: - pulumi.set(__self__, "days_of_weeks", days_of_weeks) + _setter("days_of_weeks", days_of_weeks) if hours_of_days is not None: - pulumi.set(__self__, "hours_of_days", hours_of_days) + _setter("hours_of_days", hours_of_days) if is_custom_action_timeout_enabled is not None: - pulumi.set(__self__, "is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) + _setter("is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) if is_monthly_patching_enabled is not None: - pulumi.set(__self__, "is_monthly_patching_enabled", is_monthly_patching_enabled) + _setter("is_monthly_patching_enabled", is_monthly_patching_enabled) if lead_time_in_weeks is not None: - pulumi.set(__self__, "lead_time_in_weeks", lead_time_in_weeks) + _setter("lead_time_in_weeks", lead_time_in_weeks) if months is not None: - pulumi.set(__self__, "months", months) + _setter("months", months) if patching_mode is not None: - pulumi.set(__self__, "patching_mode", patching_mode) + _setter("patching_mode", patching_mode) if preference is not None: - pulumi.set(__self__, "preference", preference) + _setter("preference", preference) if weeks_of_months is not None: - pulumi.set(__self__, "weeks_of_months", weeks_of_months) + _setter("weeks_of_months", weeks_of_months) @property @pulumi.getter(name="customActionTimeoutInMins") @@ -782,7 +889,16 @@ def __init__(__self__, *, """ :param pulumi.Input[str] name: (Updatable) Name of the month of the year. """ - pulumi.set(__self__, "name", name) + AutonomousContainerDatabaseMaintenanceWindowDetailsDaysOfWeekArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -804,7 +920,16 @@ def __init__(__self__, *, """ :param pulumi.Input[str] name: (Updatable) Name of the month of the year. """ - pulumi.set(__self__, "name", name) + AutonomousContainerDatabaseMaintenanceWindowDetailsMonthArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -826,8 +951,17 @@ def __init__(__self__, *, """ :param pulumi.Input[str] name: (Updatable) Name of the month of the year. """ + AutonomousContainerDatabaseMaintenanceWindowMonthArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -851,10 +985,21 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['AutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailArgs']]] backup_destination_details: Backup destination details. :param pulumi.Input[int] recovery_window_in_days: Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups. """ + AutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + backup_destination_details=backup_destination_details, + recovery_window_in_days=recovery_window_in_days, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backup_destination_details: Optional[pulumi.Input[Sequence[pulumi.Input['AutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailArgs']]]] = None, + recovery_window_in_days: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if backup_destination_details is not None: - pulumi.set(__self__, "backup_destination_details", backup_destination_details) + _setter("backup_destination_details", backup_destination_details) if recovery_window_in_days is not None: - pulumi.set(__self__, "recovery_window_in_days", recovery_window_in_days) + _setter("recovery_window_in_days", recovery_window_in_days) @property @pulumi.getter(name="backupDestinationDetails") @@ -896,15 +1041,32 @@ def __init__(__self__, *, :param pulumi.Input[str] vpc_password: For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance. :param pulumi.Input[str] vpc_user: For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance. """ - pulumi.set(__self__, "type", type) + AutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + id=id, + internet_proxy=internet_proxy, + vpc_password=vpc_password, + vpc_user=vpc_user, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + id: Optional[pulumi.Input[str]] = None, + internet_proxy: Optional[pulumi.Input[str]] = None, + vpc_password: Optional[pulumi.Input[str]] = None, + vpc_user: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if internet_proxy is not None: - pulumi.set(__self__, "internet_proxy", internet_proxy) + _setter("internet_proxy", internet_proxy) if vpc_password is not None: - pulumi.set(__self__, "vpc_password", vpc_password) + _setter("vpc_password", vpc_password) if vpc_user is not None: - pulumi.set(__self__, "vpc_user", vpc_user) + _setter("vpc_user", vpc_user) @property @pulumi.getter @@ -976,10 +1138,21 @@ def __init__(__self__, *, :param pulumi.Input[str] apex_version: The Oracle APEX Application Development version. :param pulumi.Input[str] ords_version: The Oracle REST Data Services (ORDS) version. """ + AutonomousDatabaseApexDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + apex_version=apex_version, + ords_version=ords_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + apex_version: Optional[pulumi.Input[str]] = None, + ords_version: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if apex_version is not None: - pulumi.set(__self__, "apex_version", apex_version) + _setter("apex_version", apex_version) if ords_version is not None: - pulumi.set(__self__, "ords_version", ords_version) + _setter("ords_version", ords_version) @property @pulumi.getter(name="apexVersion") @@ -1021,15 +1194,32 @@ def __init__(__self__, *, :param pulumi.Input[str] vpc_password: For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance. :param pulumi.Input[str] vpc_user: For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance. """ - pulumi.set(__self__, "type", type) + AutonomousDatabaseBackupBackupDestinationDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + id=id, + internet_proxy=internet_proxy, + vpc_password=vpc_password, + vpc_user=vpc_user, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + id: Optional[pulumi.Input[str]] = None, + internet_proxy: Optional[pulumi.Input[str]] = None, + vpc_password: Optional[pulumi.Input[str]] = None, + vpc_user: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if internet_proxy is not None: - pulumi.set(__self__, "internet_proxy", internet_proxy) + _setter("internet_proxy", internet_proxy) if vpc_password is not None: - pulumi.set(__self__, "vpc_password", vpc_password) + _setter("vpc_password", vpc_password) if vpc_user is not None: - pulumi.set(__self__, "vpc_user", vpc_user) + _setter("vpc_user", vpc_user) @property @pulumi.getter @@ -1101,10 +1291,21 @@ def __init__(__self__, *, :param pulumi.Input[str] manual_backup_bucket_name: Name of [Object Storage](https://docs.cloud.oracle.com/iaas/Content/Object/Concepts/objectstorageoverview.htm) bucket to use for storing manual backups. :param pulumi.Input[str] manual_backup_type: The manual backup destination type. """ + AutonomousDatabaseBackupConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + manual_backup_bucket_name=manual_backup_bucket_name, + manual_backup_type=manual_backup_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + manual_backup_bucket_name: Optional[pulumi.Input[str]] = None, + manual_backup_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if manual_backup_bucket_name is not None: - pulumi.set(__self__, "manual_backup_bucket_name", manual_backup_bucket_name) + _setter("manual_backup_bucket_name", manual_backup_bucket_name) if manual_backup_type is not None: - pulumi.set(__self__, "manual_backup_type", manual_backup_type) + _setter("manual_backup_type", manual_backup_type) @property @pulumi.getter(name="manualBackupBucketName") @@ -1148,18 +1349,37 @@ def __init__(__self__, *, :param pulumi.Input[str] medium: The Medium database service provides a lower level of resources to each SQL statement potentially resulting a lower level of performance, but supports more concurrent SQL statements. :param pulumi.Input[Sequence[pulumi.Input['AutonomousDatabaseConnectionStringProfileArgs']]] profiles: A list of connection string profiles to allow clients to group, filter and select connection string values based on structured metadata. """ + AutonomousDatabaseConnectionStringArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + all_connection_strings=all_connection_strings, + dedicated=dedicated, + high=high, + low=low, + medium=medium, + profiles=profiles, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + all_connection_strings: Optional[pulumi.Input[Mapping[str, Any]]] = None, + dedicated: Optional[pulumi.Input[str]] = None, + high: Optional[pulumi.Input[str]] = None, + low: Optional[pulumi.Input[str]] = None, + medium: Optional[pulumi.Input[str]] = None, + profiles: Optional[pulumi.Input[Sequence[pulumi.Input['AutonomousDatabaseConnectionStringProfileArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if all_connection_strings is not None: - pulumi.set(__self__, "all_connection_strings", all_connection_strings) + _setter("all_connection_strings", all_connection_strings) if dedicated is not None: - pulumi.set(__self__, "dedicated", dedicated) + _setter("dedicated", dedicated) if high is not None: - pulumi.set(__self__, "high", high) + _setter("high", high) if low is not None: - pulumi.set(__self__, "low", low) + _setter("low", low) if medium is not None: - pulumi.set(__self__, "medium", medium) + _setter("medium", medium) if profiles is not None: - pulumi.set(__self__, "profiles", profiles) + _setter("profiles", profiles) @property @pulumi.getter(name="allConnectionStrings") @@ -1255,22 +1475,45 @@ def __init__(__self__, *, :param pulumi.Input[str] tls_authentication: Specifies whether the TLS handshake is using one-way (`SERVER`) or mutual (`MUTUAL`) authentication. :param pulumi.Input[str] value: Connection string value. """ + AutonomousDatabaseConnectionStringProfileArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + consumer_group=consumer_group, + display_name=display_name, + host_format=host_format, + protocol=protocol, + session_mode=session_mode, + syntax_format=syntax_format, + tls_authentication=tls_authentication, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + consumer_group: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + host_format: Optional[pulumi.Input[str]] = None, + protocol: Optional[pulumi.Input[str]] = None, + session_mode: Optional[pulumi.Input[str]] = None, + syntax_format: Optional[pulumi.Input[str]] = None, + tls_authentication: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if consumer_group is not None: - pulumi.set(__self__, "consumer_group", consumer_group) + _setter("consumer_group", consumer_group) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if host_format is not None: - pulumi.set(__self__, "host_format", host_format) + _setter("host_format", host_format) if protocol is not None: - pulumi.set(__self__, "protocol", protocol) + _setter("protocol", protocol) if session_mode is not None: - pulumi.set(__self__, "session_mode", session_mode) + _setter("session_mode", session_mode) if syntax_format is not None: - pulumi.set(__self__, "syntax_format", syntax_format) + _setter("syntax_format", syntax_format) if tls_authentication is not None: - pulumi.set(__self__, "tls_authentication", tls_authentication) + _setter("tls_authentication", tls_authentication) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter(name="consumerGroup") @@ -1382,14 +1625,29 @@ def __init__(__self__, *, :param pulumi.Input[str] machine_learning_user_management_url: Oracle Machine Learning user management URL. :param pulumi.Input[str] sql_dev_web_url: Oracle SQL Developer Web URL. """ + AutonomousDatabaseConnectionUrlArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + apex_url=apex_url, + graph_studio_url=graph_studio_url, + machine_learning_user_management_url=machine_learning_user_management_url, + sql_dev_web_url=sql_dev_web_url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + apex_url: Optional[pulumi.Input[str]] = None, + graph_studio_url: Optional[pulumi.Input[str]] = None, + machine_learning_user_management_url: Optional[pulumi.Input[str]] = None, + sql_dev_web_url: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if apex_url is not None: - pulumi.set(__self__, "apex_url", apex_url) + _setter("apex_url", apex_url) if graph_studio_url is not None: - pulumi.set(__self__, "graph_studio_url", graph_studio_url) + _setter("graph_studio_url", graph_studio_url) if machine_learning_user_management_url is not None: - pulumi.set(__self__, "machine_learning_user_management_url", machine_learning_user_management_url) + _setter("machine_learning_user_management_url", machine_learning_user_management_url) if sql_dev_web_url is not None: - pulumi.set(__self__, "sql_dev_web_url", sql_dev_web_url) + _setter("sql_dev_web_url", sql_dev_web_url) @property @pulumi.getter(name="apexUrl") @@ -1447,8 +1705,17 @@ def __init__(__self__, *, """ :param pulumi.Input[str] email: (Updatable) The email address used by Oracle to send notifications regarding databases and infrastructure. """ + AutonomousDatabaseCustomerContactArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + email=email, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + email: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if email is not None: - pulumi.set(__self__, "email", email) + _setter("email", email) @property @pulumi.getter @@ -1476,14 +1743,29 @@ def __init__(__self__, *, :param pulumi.Input[str] time_activated: The date and time the kms key activated. :param pulumi.Input[str] vault_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure [vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). """ + AutonomousDatabaseKeyHistoryEntryArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + kms_key_version_id=kms_key_version_id, + time_activated=time_activated, + vault_id=vault_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: Optional[pulumi.Input[str]] = None, + kms_key_version_id: Optional[pulumi.Input[str]] = None, + time_activated: Optional[pulumi.Input[str]] = None, + vault_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if kms_key_version_id is not None: - pulumi.set(__self__, "kms_key_version_id", kms_key_version_id) + _setter("kms_key_version_id", kms_key_version_id) if time_activated is not None: - pulumi.set(__self__, "time_activated", time_activated) + _setter("time_activated", time_activated) if vault_id is not None: - pulumi.set(__self__, "vault_id", vault_id) + _setter("vault_id", vault_id) @property @pulumi.getter @@ -1549,16 +1831,33 @@ def __init__(__self__, *, :param pulumi.Input[str] time_data_guard_role_changed: The date and time the Autonomous Data Guard role was switched for the Autonomous Database. For databases that have standbys in both the primary Data Guard region and a remote Data Guard standby region, this is the latest timestamp of either the database using the "primary" role in the primary Data Guard region, or database located in the remote Data Guard standby region. :param pulumi.Input[str] time_disaster_recovery_role_changed: The date and time the Disaster Recovery role was switched for the standby Autonomous Database. """ + AutonomousDatabaseLocalStandbyDbArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + lag_time_in_seconds=lag_time_in_seconds, + lifecycle_details=lifecycle_details, + state=state, + time_data_guard_role_changed=time_data_guard_role_changed, + time_disaster_recovery_role_changed=time_disaster_recovery_role_changed, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + lag_time_in_seconds: Optional[pulumi.Input[int]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_data_guard_role_changed: Optional[pulumi.Input[str]] = None, + time_disaster_recovery_role_changed: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if lag_time_in_seconds is not None: - pulumi.set(__self__, "lag_time_in_seconds", lag_time_in_seconds) + _setter("lag_time_in_seconds", lag_time_in_seconds) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_data_guard_role_changed is not None: - pulumi.set(__self__, "time_data_guard_role_changed", time_data_guard_role_changed) + _setter("time_data_guard_role_changed", time_data_guard_role_changed) if time_disaster_recovery_role_changed is not None: - pulumi.set(__self__, "time_disaster_recovery_role_changed", time_disaster_recovery_role_changed) + _setter("time_disaster_recovery_role_changed", time_disaster_recovery_role_changed) @property @pulumi.getter(name="lagTimeInSeconds") @@ -1634,14 +1933,29 @@ def __init__(__self__, *, :param pulumi.Input[int] retention_period_in_days: Retention period, in days, for long-term backups :param pulumi.Input[str] time_of_backup: The timestamp for the long-term backup schedule. For a MONTHLY cadence, months having fewer days than the provided date will have the backup taken on the last day of that month. """ + AutonomousDatabaseLongTermBackupScheduleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_disabled=is_disabled, + repeat_cadence=repeat_cadence, + retention_period_in_days=retention_period_in_days, + time_of_backup=time_of_backup, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_disabled: Optional[pulumi.Input[bool]] = None, + repeat_cadence: Optional[pulumi.Input[str]] = None, + retention_period_in_days: Optional[pulumi.Input[int]] = None, + time_of_backup: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_disabled is not None: - pulumi.set(__self__, "is_disabled", is_disabled) + _setter("is_disabled", is_disabled) if repeat_cadence is not None: - pulumi.set(__self__, "repeat_cadence", repeat_cadence) + _setter("repeat_cadence", repeat_cadence) if retention_period_in_days is not None: - pulumi.set(__self__, "retention_period_in_days", retention_period_in_days) + _setter("retention_period_in_days", retention_period_in_days) if time_of_backup is not None: - pulumi.set(__self__, "time_of_backup", time_of_backup) + _setter("time_of_backup", time_of_backup) @property @pulumi.getter(name="isDisabled") @@ -1699,8 +2013,17 @@ def __init__(__self__, *, """ :param pulumi.Input[str] disaster_recovery_type: Indicates the disaster recovery (DR) type of the Autonomous Database Serverless instance. Autonomous Data Guard (ADG) DR type provides business critical DR with a faster recovery time objective (RTO) during failover or switchover. Backup-based DR type provides lower cost DR with a slower RTO during failover or switchover. """ + AutonomousDatabaseRemoteDisasterRecoveryConfigurationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + disaster_recovery_type=disaster_recovery_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + disaster_recovery_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if disaster_recovery_type is not None: - pulumi.set(__self__, "disaster_recovery_type", disaster_recovery_type) + _setter("disaster_recovery_type", disaster_recovery_type) @property @pulumi.getter(name="disasterRecoveryType") @@ -1715,6 +2038,52 @@ def disaster_recovery_type(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "disaster_recovery_type", value) +@pulumi.input_type +class AutonomousDatabaseResourcePoolSummaryArgs: + def __init__(__self__, *, + is_disabled: Optional[pulumi.Input[bool]] = None, + pool_size: Optional[pulumi.Input[int]] = None): + """ + :param pulumi.Input[bool] is_disabled: Indicates if the long-term backup schedule should be deleted. The default value is `FALSE`. + """ + AutonomousDatabaseResourcePoolSummaryArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_disabled=is_disabled, + pool_size=pool_size, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_disabled: Optional[pulumi.Input[bool]] = None, + pool_size: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if is_disabled is not None: + _setter("is_disabled", is_disabled) + if pool_size is not None: + _setter("pool_size", pool_size) + + @property + @pulumi.getter(name="isDisabled") + def is_disabled(self) -> Optional[pulumi.Input[bool]]: + """ + Indicates if the long-term backup schedule should be deleted. The default value is `FALSE`. + """ + return pulumi.get(self, "is_disabled") + + @is_disabled.setter + def is_disabled(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "is_disabled", value) + + @property + @pulumi.getter(name="poolSize") + def pool_size(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "pool_size") + + @pool_size.setter + def pool_size(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "pool_size", value) + + @pulumi.input_type class AutonomousDatabaseScheduledOperationArgs: def __init__(__self__, *, @@ -1726,11 +2095,24 @@ def __init__(__self__, *, :param pulumi.Input[str] scheduled_start_time: (Updatable) auto start time. value must be of ISO-8601 format "HH:mm" :param pulumi.Input[str] scheduled_stop_time: (Updatable) auto stop time. value must be of ISO-8601 format "HH:mm" """ - pulumi.set(__self__, "day_of_week", day_of_week) + AutonomousDatabaseScheduledOperationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + day_of_week=day_of_week, + scheduled_start_time=scheduled_start_time, + scheduled_stop_time=scheduled_stop_time, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + day_of_week: pulumi.Input['AutonomousDatabaseScheduledOperationDayOfWeekArgs'], + scheduled_start_time: Optional[pulumi.Input[str]] = None, + scheduled_stop_time: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("day_of_week", day_of_week) if scheduled_start_time is not None: - pulumi.set(__self__, "scheduled_start_time", scheduled_start_time) + _setter("scheduled_start_time", scheduled_start_time) if scheduled_stop_time is not None: - pulumi.set(__self__, "scheduled_stop_time", scheduled_stop_time) + _setter("scheduled_stop_time", scheduled_stop_time) @property @pulumi.getter(name="dayOfWeek") @@ -1776,7 +2158,16 @@ def __init__(__self__, *, """ :param pulumi.Input[str] name: (Updatable) Name of the day of the week. """ - pulumi.set(__self__, "name", name) + AutonomousDatabaseScheduledOperationDayOfWeekArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -1806,16 +2197,33 @@ def __init__(__self__, *, :param pulumi.Input[str] time_data_guard_role_changed: The date and time the Autonomous Data Guard role was switched for the Autonomous Database. For databases that have standbys in both the primary Data Guard region and a remote Data Guard standby region, this is the latest timestamp of either the database using the "primary" role in the primary Data Guard region, or database located in the remote Data Guard standby region. :param pulumi.Input[str] time_disaster_recovery_role_changed: The date and time the Disaster Recovery role was switched for the standby Autonomous Database. """ + AutonomousDatabaseStandbyDbArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + lag_time_in_seconds=lag_time_in_seconds, + lifecycle_details=lifecycle_details, + state=state, + time_data_guard_role_changed=time_data_guard_role_changed, + time_disaster_recovery_role_changed=time_disaster_recovery_role_changed, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + lag_time_in_seconds: Optional[pulumi.Input[int]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_data_guard_role_changed: Optional[pulumi.Input[str]] = None, + time_disaster_recovery_role_changed: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if lag_time_in_seconds is not None: - pulumi.set(__self__, "lag_time_in_seconds", lag_time_in_seconds) + _setter("lag_time_in_seconds", lag_time_in_seconds) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_data_guard_role_changed is not None: - pulumi.set(__self__, "time_data_guard_role_changed", time_data_guard_role_changed) + _setter("time_data_guard_role_changed", time_data_guard_role_changed) if time_disaster_recovery_role_changed is not None: - pulumi.set(__self__, "time_disaster_recovery_role_changed", time_disaster_recovery_role_changed) + _setter("time_disaster_recovery_role_changed", time_disaster_recovery_role_changed) @property @pulumi.getter(name="lagTimeInSeconds") @@ -1906,26 +2314,53 @@ def __init__(__self__, *, :param pulumi.Input[str] preference: (Updatable) The maintenance window scheduling preference. :param pulumi.Input[Sequence[pulumi.Input[int]]] weeks_of_months: (Updatable) Weeks during the month when maintenance should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week. For example, to allow maintenance during the 2nd week of the month (from the 8th day to the 14th day of the month), use the value 2. Maintenance cannot be scheduled for the fifth week of months that contain more than 28 days. Note that this parameter works in conjunction with the daysOfWeek and hoursOfDay parameters to allow you to specify specific days of the week and hours that maintenance will be performed. """ + AutonomousExadataInfrastructureMaintenanceWindowArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_action_timeout_in_mins=custom_action_timeout_in_mins, + days_of_weeks=days_of_weeks, + hours_of_days=hours_of_days, + is_custom_action_timeout_enabled=is_custom_action_timeout_enabled, + is_monthly_patching_enabled=is_monthly_patching_enabled, + lead_time_in_weeks=lead_time_in_weeks, + months=months, + patching_mode=patching_mode, + preference=preference, + weeks_of_months=weeks_of_months, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_action_timeout_in_mins: Optional[pulumi.Input[int]] = None, + days_of_weeks: Optional[pulumi.Input[Sequence[pulumi.Input['AutonomousExadataInfrastructureMaintenanceWindowDaysOfWeekArgs']]]] = None, + hours_of_days: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None, + is_custom_action_timeout_enabled: Optional[pulumi.Input[bool]] = None, + is_monthly_patching_enabled: Optional[pulumi.Input[bool]] = None, + lead_time_in_weeks: Optional[pulumi.Input[int]] = None, + months: Optional[pulumi.Input[Sequence[pulumi.Input['AutonomousExadataInfrastructureMaintenanceWindowMonthArgs']]]] = None, + patching_mode: Optional[pulumi.Input[str]] = None, + preference: Optional[pulumi.Input[str]] = None, + weeks_of_months: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if custom_action_timeout_in_mins is not None: - pulumi.set(__self__, "custom_action_timeout_in_mins", custom_action_timeout_in_mins) + _setter("custom_action_timeout_in_mins", custom_action_timeout_in_mins) if days_of_weeks is not None: - pulumi.set(__self__, "days_of_weeks", days_of_weeks) + _setter("days_of_weeks", days_of_weeks) if hours_of_days is not None: - pulumi.set(__self__, "hours_of_days", hours_of_days) + _setter("hours_of_days", hours_of_days) if is_custom_action_timeout_enabled is not None: - pulumi.set(__self__, "is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) + _setter("is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) if is_monthly_patching_enabled is not None: - pulumi.set(__self__, "is_monthly_patching_enabled", is_monthly_patching_enabled) + _setter("is_monthly_patching_enabled", is_monthly_patching_enabled) if lead_time_in_weeks is not None: - pulumi.set(__self__, "lead_time_in_weeks", lead_time_in_weeks) + _setter("lead_time_in_weeks", lead_time_in_weeks) if months is not None: - pulumi.set(__self__, "months", months) + _setter("months", months) if patching_mode is not None: - pulumi.set(__self__, "patching_mode", patching_mode) + _setter("patching_mode", patching_mode) if preference is not None: - pulumi.set(__self__, "preference", preference) + _setter("preference", preference) if weeks_of_months is not None: - pulumi.set(__self__, "weeks_of_months", weeks_of_months) + _setter("weeks_of_months", weeks_of_months) @property @pulumi.getter(name="customActionTimeoutInMins") @@ -2058,8 +2493,17 @@ def __init__(__self__, *, """ :param pulumi.Input[str] name: (Updatable) Name of the month of the year. """ + AutonomousExadataInfrastructureMaintenanceWindowDaysOfWeekArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -2102,26 +2546,53 @@ def __init__(__self__, *, :param pulumi.Input[str] preference: (Updatable) The maintenance window scheduling preference. :param pulumi.Input[Sequence[pulumi.Input[int]]] weeks_of_months: (Updatable) Weeks during the month when maintenance should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week. For example, to allow maintenance during the 2nd week of the month (from the 8th day to the 14th day of the month), use the value 2. Maintenance cannot be scheduled for the fifth week of months that contain more than 28 days. Note that this parameter works in conjunction with the daysOfWeek and hoursOfDay parameters to allow you to specify specific days of the week and hours that maintenance will be performed. """ + AutonomousExadataInfrastructureMaintenanceWindowDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_action_timeout_in_mins=custom_action_timeout_in_mins, + days_of_weeks=days_of_weeks, + hours_of_days=hours_of_days, + is_custom_action_timeout_enabled=is_custom_action_timeout_enabled, + is_monthly_patching_enabled=is_monthly_patching_enabled, + lead_time_in_weeks=lead_time_in_weeks, + months=months, + patching_mode=patching_mode, + preference=preference, + weeks_of_months=weeks_of_months, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_action_timeout_in_mins: Optional[pulumi.Input[int]] = None, + days_of_weeks: Optional[pulumi.Input[Sequence[pulumi.Input['AutonomousExadataInfrastructureMaintenanceWindowDetailsDaysOfWeekArgs']]]] = None, + hours_of_days: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None, + is_custom_action_timeout_enabled: Optional[pulumi.Input[bool]] = None, + is_monthly_patching_enabled: Optional[pulumi.Input[bool]] = None, + lead_time_in_weeks: Optional[pulumi.Input[int]] = None, + months: Optional[pulumi.Input[Sequence[pulumi.Input['AutonomousExadataInfrastructureMaintenanceWindowDetailsMonthArgs']]]] = None, + patching_mode: Optional[pulumi.Input[str]] = None, + preference: Optional[pulumi.Input[str]] = None, + weeks_of_months: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if custom_action_timeout_in_mins is not None: - pulumi.set(__self__, "custom_action_timeout_in_mins", custom_action_timeout_in_mins) + _setter("custom_action_timeout_in_mins", custom_action_timeout_in_mins) if days_of_weeks is not None: - pulumi.set(__self__, "days_of_weeks", days_of_weeks) + _setter("days_of_weeks", days_of_weeks) if hours_of_days is not None: - pulumi.set(__self__, "hours_of_days", hours_of_days) + _setter("hours_of_days", hours_of_days) if is_custom_action_timeout_enabled is not None: - pulumi.set(__self__, "is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) + _setter("is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) if is_monthly_patching_enabled is not None: - pulumi.set(__self__, "is_monthly_patching_enabled", is_monthly_patching_enabled) + _setter("is_monthly_patching_enabled", is_monthly_patching_enabled) if lead_time_in_weeks is not None: - pulumi.set(__self__, "lead_time_in_weeks", lead_time_in_weeks) + _setter("lead_time_in_weeks", lead_time_in_weeks) if months is not None: - pulumi.set(__self__, "months", months) + _setter("months", months) if patching_mode is not None: - pulumi.set(__self__, "patching_mode", patching_mode) + _setter("patching_mode", patching_mode) if preference is not None: - pulumi.set(__self__, "preference", preference) + _setter("preference", preference) if weeks_of_months is not None: - pulumi.set(__self__, "weeks_of_months", weeks_of_months) + _setter("weeks_of_months", weeks_of_months) @property @pulumi.getter(name="customActionTimeoutInMins") @@ -2254,7 +2725,16 @@ def __init__(__self__, *, """ :param pulumi.Input[str] name: (Updatable) Name of the month of the year. """ - pulumi.set(__self__, "name", name) + AutonomousExadataInfrastructureMaintenanceWindowDetailsDaysOfWeekArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -2276,7 +2756,16 @@ def __init__(__self__, *, """ :param pulumi.Input[str] name: (Updatable) Name of the month of the year. """ - pulumi.set(__self__, "name", name) + AutonomousExadataInfrastructureMaintenanceWindowDetailsMonthArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -2298,8 +2787,17 @@ def __init__(__self__, *, """ :param pulumi.Input[str] name: (Updatable) Name of the month of the year. """ + AutonomousExadataInfrastructureMaintenanceWindowMonthArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -2339,26 +2837,53 @@ def __init__(__self__, *, :param pulumi.Input[str] preference: (Updatable) The maintenance window scheduling preference. :param pulumi.Input[Sequence[pulumi.Input[int]]] weeks_of_months: (Updatable) Weeks during the month when maintenance should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week. For example, to allow maintenance during the 2nd week of the month (from the 8th day to the 14th day of the month), use the value 2. Maintenance cannot be scheduled for the fifth week of months that contain more than 28 days. Note that this parameter works in conjunction with the daysOfWeek and hoursOfDay parameters to allow you to specify specific days of the week and hours that maintenance will be performed. """ + AutonomousVmClusterMaintenanceWindowArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_action_timeout_in_mins=custom_action_timeout_in_mins, + days_of_weeks=days_of_weeks, + hours_of_days=hours_of_days, + is_custom_action_timeout_enabled=is_custom_action_timeout_enabled, + is_monthly_patching_enabled=is_monthly_patching_enabled, + lead_time_in_weeks=lead_time_in_weeks, + months=months, + patching_mode=patching_mode, + preference=preference, + weeks_of_months=weeks_of_months, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_action_timeout_in_mins: Optional[pulumi.Input[int]] = None, + days_of_weeks: Optional[pulumi.Input[Sequence[pulumi.Input['AutonomousVmClusterMaintenanceWindowDaysOfWeekArgs']]]] = None, + hours_of_days: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None, + is_custom_action_timeout_enabled: Optional[pulumi.Input[bool]] = None, + is_monthly_patching_enabled: Optional[pulumi.Input[bool]] = None, + lead_time_in_weeks: Optional[pulumi.Input[int]] = None, + months: Optional[pulumi.Input[Sequence[pulumi.Input['AutonomousVmClusterMaintenanceWindowMonthArgs']]]] = None, + patching_mode: Optional[pulumi.Input[str]] = None, + preference: Optional[pulumi.Input[str]] = None, + weeks_of_months: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if custom_action_timeout_in_mins is not None: - pulumi.set(__self__, "custom_action_timeout_in_mins", custom_action_timeout_in_mins) + _setter("custom_action_timeout_in_mins", custom_action_timeout_in_mins) if days_of_weeks is not None: - pulumi.set(__self__, "days_of_weeks", days_of_weeks) + _setter("days_of_weeks", days_of_weeks) if hours_of_days is not None: - pulumi.set(__self__, "hours_of_days", hours_of_days) + _setter("hours_of_days", hours_of_days) if is_custom_action_timeout_enabled is not None: - pulumi.set(__self__, "is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) + _setter("is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) if is_monthly_patching_enabled is not None: - pulumi.set(__self__, "is_monthly_patching_enabled", is_monthly_patching_enabled) + _setter("is_monthly_patching_enabled", is_monthly_patching_enabled) if lead_time_in_weeks is not None: - pulumi.set(__self__, "lead_time_in_weeks", lead_time_in_weeks) + _setter("lead_time_in_weeks", lead_time_in_weeks) if months is not None: - pulumi.set(__self__, "months", months) + _setter("months", months) if patching_mode is not None: - pulumi.set(__self__, "patching_mode", patching_mode) + _setter("patching_mode", patching_mode) if preference is not None: - pulumi.set(__self__, "preference", preference) + _setter("preference", preference) if weeks_of_months is not None: - pulumi.set(__self__, "weeks_of_months", weeks_of_months) + _setter("weeks_of_months", weeks_of_months) @property @pulumi.getter(name="customActionTimeoutInMins") @@ -2482,8 +3007,17 @@ def __init__(__self__, *, """ :param pulumi.Input[str] name: (Updatable) Name of the month of the year. """ + AutonomousVmClusterMaintenanceWindowDaysOfWeekArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -2523,26 +3057,53 @@ def __init__(__self__, *, :param pulumi.Input[str] preference: (Updatable) The maintenance window scheduling preference. :param pulumi.Input[Sequence[pulumi.Input[int]]] weeks_of_months: (Updatable) Weeks during the month when maintenance should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week. For example, to allow maintenance during the 2nd week of the month (from the 8th day to the 14th day of the month), use the value 2. Maintenance cannot be scheduled for the fifth week of months that contain more than 28 days. Note that this parameter works in conjunction with the daysOfWeek and hoursOfDay parameters to allow you to specify specific days of the week and hours that maintenance will be performed. """ + AutonomousVmClusterMaintenanceWindowDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_action_timeout_in_mins=custom_action_timeout_in_mins, + days_of_weeks=days_of_weeks, + hours_of_days=hours_of_days, + is_custom_action_timeout_enabled=is_custom_action_timeout_enabled, + is_monthly_patching_enabled=is_monthly_patching_enabled, + lead_time_in_weeks=lead_time_in_weeks, + months=months, + patching_mode=patching_mode, + preference=preference, + weeks_of_months=weeks_of_months, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_action_timeout_in_mins: Optional[pulumi.Input[int]] = None, + days_of_weeks: Optional[pulumi.Input[Sequence[pulumi.Input['AutonomousVmClusterMaintenanceWindowDetailDaysOfWeekArgs']]]] = None, + hours_of_days: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None, + is_custom_action_timeout_enabled: Optional[pulumi.Input[bool]] = None, + is_monthly_patching_enabled: Optional[pulumi.Input[bool]] = None, + lead_time_in_weeks: Optional[pulumi.Input[int]] = None, + months: Optional[pulumi.Input[Sequence[pulumi.Input['AutonomousVmClusterMaintenanceWindowDetailMonthArgs']]]] = None, + patching_mode: Optional[pulumi.Input[str]] = None, + preference: Optional[pulumi.Input[str]] = None, + weeks_of_months: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if custom_action_timeout_in_mins is not None: - pulumi.set(__self__, "custom_action_timeout_in_mins", custom_action_timeout_in_mins) + _setter("custom_action_timeout_in_mins", custom_action_timeout_in_mins) if days_of_weeks is not None: - pulumi.set(__self__, "days_of_weeks", days_of_weeks) + _setter("days_of_weeks", days_of_weeks) if hours_of_days is not None: - pulumi.set(__self__, "hours_of_days", hours_of_days) + _setter("hours_of_days", hours_of_days) if is_custom_action_timeout_enabled is not None: - pulumi.set(__self__, "is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) + _setter("is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) if is_monthly_patching_enabled is not None: - pulumi.set(__self__, "is_monthly_patching_enabled", is_monthly_patching_enabled) + _setter("is_monthly_patching_enabled", is_monthly_patching_enabled) if lead_time_in_weeks is not None: - pulumi.set(__self__, "lead_time_in_weeks", lead_time_in_weeks) + _setter("lead_time_in_weeks", lead_time_in_weeks) if months is not None: - pulumi.set(__self__, "months", months) + _setter("months", months) if patching_mode is not None: - pulumi.set(__self__, "patching_mode", patching_mode) + _setter("patching_mode", patching_mode) if preference is not None: - pulumi.set(__self__, "preference", preference) + _setter("preference", preference) if weeks_of_months is not None: - pulumi.set(__self__, "weeks_of_months", weeks_of_months) + _setter("weeks_of_months", weeks_of_months) @property @pulumi.getter(name="customActionTimeoutInMins") @@ -2666,7 +3227,16 @@ def __init__(__self__, *, """ :param pulumi.Input[str] name: (Updatable) Name of the month of the year. """ - pulumi.set(__self__, "name", name) + AutonomousVmClusterMaintenanceWindowDetailDaysOfWeekArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -2688,7 +3258,16 @@ def __init__(__self__, *, """ :param pulumi.Input[str] name: (Updatable) Name of the month of the year. """ - pulumi.set(__self__, "name", name) + AutonomousVmClusterMaintenanceWindowDetailMonthArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -2710,8 +3289,17 @@ def __init__(__self__, *, """ :param pulumi.Input[str] name: (Updatable) Name of the month of the year. """ + AutonomousVmClusterMaintenanceWindowMonthArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -2735,10 +3323,21 @@ def __init__(__self__, *, :param pulumi.Input[str] db_name: The display name of the database that is associated with the backup destination. :param pulumi.Input[str] id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the backup destination. """ + BackupDestinationAssociatedDatabaseArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_name=db_name, + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_name: Optional[pulumi.Input[str]] = None, + id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if db_name is not None: - pulumi.set(__self__, "db_name", db_name) + _setter("db_name", db_name) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) @property @pulumi.getter(name="dbName") @@ -2778,13 +3377,28 @@ def __init__(__self__, *, :param pulumi.Input[str] nfs_server_export: Specifies the directory on which to mount the file system :param pulumi.Input[Sequence[pulumi.Input[str]]] nfs_servers: IP addresses for NFS Auto mount. """ - pulumi.set(__self__, "mount_type", mount_type) + BackupDestinationMountTypeDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + mount_type=mount_type, + local_mount_point_path=local_mount_point_path, + nfs_server_export=nfs_server_export, + nfs_servers=nfs_servers, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + mount_type: pulumi.Input[str], + local_mount_point_path: Optional[pulumi.Input[str]] = None, + nfs_server_export: Optional[pulumi.Input[str]] = None, + nfs_servers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("mount_type", mount_type) if local_mount_point_path is not None: - pulumi.set(__self__, "local_mount_point_path", local_mount_point_path) + _setter("local_mount_point_path", local_mount_point_path) if nfs_server_export is not None: - pulumi.set(__self__, "nfs_server_export", nfs_server_export) + _setter("nfs_server_export", nfs_server_export) if nfs_servers is not None: - pulumi.set(__self__, "nfs_servers", nfs_servers) + _setter("nfs_servers", nfs_servers) @property @pulumi.getter(name="mountType") @@ -2863,26 +3477,53 @@ def __init__(__self__, *, :param pulumi.Input[str] preference: (Updatable) The maintenance window scheduling preference. :param pulumi.Input[Sequence[pulumi.Input[int]]] weeks_of_months: (Updatable) Weeks during the month when maintenance should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week. For example, to allow maintenance during the 2nd week of the month (from the 8th day to the 14th day of the month), use the value 2. Maintenance cannot be scheduled for the fifth week of months that contain more than 28 days. Note that this parameter works in conjunction with the daysOfWeek and hoursOfDay parameters to allow you to specify specific days of the week and hours that maintenance will be performed. """ + CloudAutonomousVmClusterMaintenanceWindowArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_action_timeout_in_mins=custom_action_timeout_in_mins, + days_of_weeks=days_of_weeks, + hours_of_days=hours_of_days, + is_custom_action_timeout_enabled=is_custom_action_timeout_enabled, + is_monthly_patching_enabled=is_monthly_patching_enabled, + lead_time_in_weeks=lead_time_in_weeks, + months=months, + patching_mode=patching_mode, + preference=preference, + weeks_of_months=weeks_of_months, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_action_timeout_in_mins: Optional[pulumi.Input[int]] = None, + days_of_weeks: Optional[pulumi.Input[Sequence[pulumi.Input['CloudAutonomousVmClusterMaintenanceWindowDaysOfWeekArgs']]]] = None, + hours_of_days: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None, + is_custom_action_timeout_enabled: Optional[pulumi.Input[bool]] = None, + is_monthly_patching_enabled: Optional[pulumi.Input[bool]] = None, + lead_time_in_weeks: Optional[pulumi.Input[int]] = None, + months: Optional[pulumi.Input[Sequence[pulumi.Input['CloudAutonomousVmClusterMaintenanceWindowMonthArgs']]]] = None, + patching_mode: Optional[pulumi.Input[str]] = None, + preference: Optional[pulumi.Input[str]] = None, + weeks_of_months: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if custom_action_timeout_in_mins is not None: - pulumi.set(__self__, "custom_action_timeout_in_mins", custom_action_timeout_in_mins) + _setter("custom_action_timeout_in_mins", custom_action_timeout_in_mins) if days_of_weeks is not None: - pulumi.set(__self__, "days_of_weeks", days_of_weeks) + _setter("days_of_weeks", days_of_weeks) if hours_of_days is not None: - pulumi.set(__self__, "hours_of_days", hours_of_days) + _setter("hours_of_days", hours_of_days) if is_custom_action_timeout_enabled is not None: - pulumi.set(__self__, "is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) + _setter("is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) if is_monthly_patching_enabled is not None: - pulumi.set(__self__, "is_monthly_patching_enabled", is_monthly_patching_enabled) + _setter("is_monthly_patching_enabled", is_monthly_patching_enabled) if lead_time_in_weeks is not None: - pulumi.set(__self__, "lead_time_in_weeks", lead_time_in_weeks) + _setter("lead_time_in_weeks", lead_time_in_weeks) if months is not None: - pulumi.set(__self__, "months", months) + _setter("months", months) if patching_mode is not None: - pulumi.set(__self__, "patching_mode", patching_mode) + _setter("patching_mode", patching_mode) if preference is not None: - pulumi.set(__self__, "preference", preference) + _setter("preference", preference) if weeks_of_months is not None: - pulumi.set(__self__, "weeks_of_months", weeks_of_months) + _setter("weeks_of_months", weeks_of_months) @property @pulumi.getter(name="customActionTimeoutInMins") @@ -3015,8 +3656,17 @@ def __init__(__self__, *, """ :param pulumi.Input[str] name: (Updatable) Name of the month of the year. """ + CloudAutonomousVmClusterMaintenanceWindowDaysOfWeekArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -3059,26 +3709,53 @@ def __init__(__self__, *, :param pulumi.Input[str] preference: (Updatable) The maintenance window scheduling preference. :param pulumi.Input[Sequence[pulumi.Input[int]]] weeks_of_months: (Updatable) Weeks during the month when maintenance should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week. For example, to allow maintenance during the 2nd week of the month (from the 8th day to the 14th day of the month), use the value 2. Maintenance cannot be scheduled for the fifth week of months that contain more than 28 days. Note that this parameter works in conjunction with the daysOfWeek and hoursOfDay parameters to allow you to specify specific days of the week and hours that maintenance will be performed. """ + CloudAutonomousVmClusterMaintenanceWindowDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_action_timeout_in_mins=custom_action_timeout_in_mins, + days_of_weeks=days_of_weeks, + hours_of_days=hours_of_days, + is_custom_action_timeout_enabled=is_custom_action_timeout_enabled, + is_monthly_patching_enabled=is_monthly_patching_enabled, + lead_time_in_weeks=lead_time_in_weeks, + months=months, + patching_mode=patching_mode, + preference=preference, + weeks_of_months=weeks_of_months, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_action_timeout_in_mins: Optional[pulumi.Input[int]] = None, + days_of_weeks: Optional[pulumi.Input[Sequence[pulumi.Input['CloudAutonomousVmClusterMaintenanceWindowDetailsDaysOfWeekArgs']]]] = None, + hours_of_days: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None, + is_custom_action_timeout_enabled: Optional[pulumi.Input[bool]] = None, + is_monthly_patching_enabled: Optional[pulumi.Input[bool]] = None, + lead_time_in_weeks: Optional[pulumi.Input[int]] = None, + months: Optional[pulumi.Input[Sequence[pulumi.Input['CloudAutonomousVmClusterMaintenanceWindowDetailsMonthArgs']]]] = None, + patching_mode: Optional[pulumi.Input[str]] = None, + preference: Optional[pulumi.Input[str]] = None, + weeks_of_months: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if custom_action_timeout_in_mins is not None: - pulumi.set(__self__, "custom_action_timeout_in_mins", custom_action_timeout_in_mins) + _setter("custom_action_timeout_in_mins", custom_action_timeout_in_mins) if days_of_weeks is not None: - pulumi.set(__self__, "days_of_weeks", days_of_weeks) + _setter("days_of_weeks", days_of_weeks) if hours_of_days is not None: - pulumi.set(__self__, "hours_of_days", hours_of_days) + _setter("hours_of_days", hours_of_days) if is_custom_action_timeout_enabled is not None: - pulumi.set(__self__, "is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) + _setter("is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) if is_monthly_patching_enabled is not None: - pulumi.set(__self__, "is_monthly_patching_enabled", is_monthly_patching_enabled) + _setter("is_monthly_patching_enabled", is_monthly_patching_enabled) if lead_time_in_weeks is not None: - pulumi.set(__self__, "lead_time_in_weeks", lead_time_in_weeks) + _setter("lead_time_in_weeks", lead_time_in_weeks) if months is not None: - pulumi.set(__self__, "months", months) + _setter("months", months) if patching_mode is not None: - pulumi.set(__self__, "patching_mode", patching_mode) + _setter("patching_mode", patching_mode) if preference is not None: - pulumi.set(__self__, "preference", preference) + _setter("preference", preference) if weeks_of_months is not None: - pulumi.set(__self__, "weeks_of_months", weeks_of_months) + _setter("weeks_of_months", weeks_of_months) @property @pulumi.getter(name="customActionTimeoutInMins") @@ -3211,7 +3888,16 @@ def __init__(__self__, *, """ :param pulumi.Input[str] name: (Updatable) Name of the month of the year. """ - pulumi.set(__self__, "name", name) + CloudAutonomousVmClusterMaintenanceWindowDetailsDaysOfWeekArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -3233,7 +3919,16 @@ def __init__(__self__, *, """ :param pulumi.Input[str] name: (Updatable) Name of the month of the year. """ - pulumi.set(__self__, "name", name) + CloudAutonomousVmClusterMaintenanceWindowDetailsMonthArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -3255,8 +3950,17 @@ def __init__(__self__, *, """ :param pulumi.Input[str] name: (Updatable) Name of the month of the year. """ + CloudAutonomousVmClusterMaintenanceWindowMonthArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -3280,8 +3984,19 @@ def __init__(__self__, *, :param pulumi.Input[str] password_secret_id: Specific database username's password [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). :param pulumi.Input[str] user_name: Database username """ - pulumi.set(__self__, "password_secret_id", password_secret_id) - pulumi.set(__self__, "user_name", user_name) + CloudDatabaseManagementCredentialdetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + password_secret_id=password_secret_id, + user_name=user_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + password_secret_id: pulumi.Input[str], + user_name: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("password_secret_id", password_secret_id) + _setter("user_name", user_name) @property @pulumi.getter(name="passwordSecretId") @@ -3315,8 +4030,17 @@ def __init__(__self__, *, """ :param pulumi.Input[str] email: (Updatable) The email address used by Oracle to send notifications regarding databases and infrastructure. """ + CloudExadataInfrastructureCustomerContactArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + email=email, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + email: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if email is not None: - pulumi.set(__self__, "email", email) + _setter("email", email) @property @pulumi.getter @@ -3359,26 +4083,53 @@ def __init__(__self__, *, :param pulumi.Input[str] preference: (Updatable) The maintenance window scheduling preference. :param pulumi.Input[Sequence[pulumi.Input[int]]] weeks_of_months: (Updatable) Weeks during the month when maintenance should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week. For example, to allow maintenance during the 2nd week of the month (from the 8th day to the 14th day of the month), use the value 2. Maintenance cannot be scheduled for the fifth week of months that contain more than 28 days. Note that this parameter works in conjunction with the daysOfWeek and hoursOfDay parameters to allow you to specify specific days of the week and hours that maintenance will be performed. """ + CloudExadataInfrastructureMaintenanceWindowArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_action_timeout_in_mins=custom_action_timeout_in_mins, + days_of_weeks=days_of_weeks, + hours_of_days=hours_of_days, + is_custom_action_timeout_enabled=is_custom_action_timeout_enabled, + is_monthly_patching_enabled=is_monthly_patching_enabled, + lead_time_in_weeks=lead_time_in_weeks, + months=months, + patching_mode=patching_mode, + preference=preference, + weeks_of_months=weeks_of_months, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_action_timeout_in_mins: Optional[pulumi.Input[int]] = None, + days_of_weeks: Optional[pulumi.Input[Sequence[pulumi.Input['CloudExadataInfrastructureMaintenanceWindowDaysOfWeekArgs']]]] = None, + hours_of_days: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None, + is_custom_action_timeout_enabled: Optional[pulumi.Input[bool]] = None, + is_monthly_patching_enabled: Optional[pulumi.Input[bool]] = None, + lead_time_in_weeks: Optional[pulumi.Input[int]] = None, + months: Optional[pulumi.Input[Sequence[pulumi.Input['CloudExadataInfrastructureMaintenanceWindowMonthArgs']]]] = None, + patching_mode: Optional[pulumi.Input[str]] = None, + preference: Optional[pulumi.Input[str]] = None, + weeks_of_months: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if custom_action_timeout_in_mins is not None: - pulumi.set(__self__, "custom_action_timeout_in_mins", custom_action_timeout_in_mins) + _setter("custom_action_timeout_in_mins", custom_action_timeout_in_mins) if days_of_weeks is not None: - pulumi.set(__self__, "days_of_weeks", days_of_weeks) + _setter("days_of_weeks", days_of_weeks) if hours_of_days is not None: - pulumi.set(__self__, "hours_of_days", hours_of_days) + _setter("hours_of_days", hours_of_days) if is_custom_action_timeout_enabled is not None: - pulumi.set(__self__, "is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) + _setter("is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) if is_monthly_patching_enabled is not None: - pulumi.set(__self__, "is_monthly_patching_enabled", is_monthly_patching_enabled) + _setter("is_monthly_patching_enabled", is_monthly_patching_enabled) if lead_time_in_weeks is not None: - pulumi.set(__self__, "lead_time_in_weeks", lead_time_in_weeks) + _setter("lead_time_in_weeks", lead_time_in_weeks) if months is not None: - pulumi.set(__self__, "months", months) + _setter("months", months) if patching_mode is not None: - pulumi.set(__self__, "patching_mode", patching_mode) + _setter("patching_mode", patching_mode) if preference is not None: - pulumi.set(__self__, "preference", preference) + _setter("preference", preference) if weeks_of_months is not None: - pulumi.set(__self__, "weeks_of_months", weeks_of_months) + _setter("weeks_of_months", weeks_of_months) @property @pulumi.getter(name="customActionTimeoutInMins") @@ -3511,7 +4262,16 @@ def __init__(__self__, *, """ :param pulumi.Input[str] name: (Updatable) Name of the month of the year. """ - pulumi.set(__self__, "name", name) + CloudExadataInfrastructureMaintenanceWindowDaysOfWeekArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -3533,7 +4293,16 @@ def __init__(__self__, *, """ :param pulumi.Input[str] name: (Updatable) Name of the month of the year. """ - pulumi.set(__self__, "name", name) + CloudExadataInfrastructureMaintenanceWindowMonthArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -3559,12 +4328,25 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_health_monitoring_enabled: (Updatable) Indicates whether health monitoring is enabled for the VM cluster / Cloud VM cluster / VMBM DBCS. Enabling health monitoring allows Oracle to collect diagnostic data and share it with its operations and support personnel. You may also receive notifications for some events. Collecting health diagnostics enables Oracle to provide proactive support and enhanced service for your system. Optionally enable health monitoring while provisioning a system. You can also disable or enable health monitoring anytime using the `UpdateVmCluster`, `UpdateCloudVmCluster` or `updateDbsystem` API. :param pulumi.Input[bool] is_incident_logs_enabled: (Updatable) Indicates whether incident logs and trace collection are enabled for the VM cluster / Cloud VM cluster / VMBM DBCS. Enabling incident logs collection allows Oracle to receive Events service notifications for guest VM issues, collect incident logs and traces, and use them to diagnose issues and resolve them. Optionally enable incident logs collection while provisioning a system. You can also disable or enable incident logs collection anytime using the `UpdateVmCluster`, `updateCloudVmCluster` or `updateDbsystem` API. """ + CloudVmClusterDataCollectionOptionsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_diagnostics_events_enabled=is_diagnostics_events_enabled, + is_health_monitoring_enabled=is_health_monitoring_enabled, + is_incident_logs_enabled=is_incident_logs_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_diagnostics_events_enabled: Optional[pulumi.Input[bool]] = None, + is_health_monitoring_enabled: Optional[pulumi.Input[bool]] = None, + is_incident_logs_enabled: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_diagnostics_events_enabled is not None: - pulumi.set(__self__, "is_diagnostics_events_enabled", is_diagnostics_events_enabled) + _setter("is_diagnostics_events_enabled", is_diagnostics_events_enabled) if is_health_monitoring_enabled is not None: - pulumi.set(__self__, "is_health_monitoring_enabled", is_health_monitoring_enabled) + _setter("is_health_monitoring_enabled", is_health_monitoring_enabled) if is_incident_logs_enabled is not None: - pulumi.set(__self__, "is_incident_logs_enabled", is_incident_logs_enabled) + _setter("is_incident_logs_enabled", is_incident_logs_enabled) @property @pulumi.getter(name="isDiagnosticsEventsEnabled") @@ -3616,14 +4398,29 @@ def __init__(__self__, *, :param pulumi.Input[str] objective: The current value for the IORM objective. The default is `AUTO`. :param pulumi.Input[str] state: The current state of the cloud VM cluster. """ + CloudVmClusterIormConfigCachArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_plans=db_plans, + lifecycle_details=lifecycle_details, + objective=objective, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_plans: Optional[pulumi.Input[Sequence[pulumi.Input['CloudVmClusterIormConfigCachDbPlanArgs']]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + objective: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if db_plans is not None: - pulumi.set(__self__, "db_plans", db_plans) + _setter("db_plans", db_plans) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if objective is not None: - pulumi.set(__self__, "objective", objective) + _setter("objective", objective) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) @property @pulumi.getter(name="dbPlans") @@ -3685,12 +4482,25 @@ def __init__(__self__, *, :param pulumi.Input[str] flash_cache_limit: The flash cache limit for this database. This value is internally configured based on the share value assigned to the database. :param pulumi.Input[int] share: The relative priority of this database. """ + CloudVmClusterIormConfigCachDbPlanArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_name=db_name, + flash_cache_limit=flash_cache_limit, + share=share, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_name: Optional[pulumi.Input[str]] = None, + flash_cache_limit: Optional[pulumi.Input[str]] = None, + share: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if db_name is not None: - pulumi.set(__self__, "db_name", db_name) + _setter("db_name", db_name) if flash_cache_limit is not None: - pulumi.set(__self__, "flash_cache_limit", flash_cache_limit) + _setter("flash_cache_limit", flash_cache_limit) if share is not None: - pulumi.set(__self__, "share", share) + _setter("share", share) @property @pulumi.getter(name="dbName") @@ -3740,10 +4550,23 @@ def __init__(__self__, *, :param pulumi.Input[int] share: (Updatable) The relative priority of this database. :param pulumi.Input[str] flash_cache_limit: The flash cache limit for this database. This value is internally configured based on the share value assigned to the database. """ - pulumi.set(__self__, "db_name", db_name) - pulumi.set(__self__, "share", share) + CloudVmClusterIormConfigDbPlanArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_name=db_name, + share=share, + flash_cache_limit=flash_cache_limit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_name: pulumi.Input[str], + share: pulumi.Input[int], + flash_cache_limit: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("db_name", db_name) + _setter("share", share) if flash_cache_limit is not None: - pulumi.set(__self__, "flash_cache_limit", flash_cache_limit) + _setter("flash_cache_limit", flash_cache_limit) @property @pulumi.getter(name="dbName") @@ -3793,12 +4616,25 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_health_monitoring_enabled: Indicates whether health monitoring is enabled for the VM cluster / Cloud VM cluster / VMBM DBCS. Enabling health monitoring allows Oracle to collect diagnostic data and share it with its operations and support personnel. You may also receive notifications for some events. Collecting health diagnostics enables Oracle to provide proactive support and enhanced service for your system. Optionally enable health monitoring while provisioning a system. You can also disable or enable health monitoring anytime using the `UpdateVmCluster`, `UpdateCloudVmCluster` or `updateDbsystem` API. :param pulumi.Input[bool] is_incident_logs_enabled: Indicates whether incident logs and trace collection are enabled for the VM cluster / Cloud VM cluster / VMBM DBCS. Enabling incident logs collection allows Oracle to receive Events service notifications for guest VM issues, collect incident logs and traces, and use them to diagnose issues and resolve them. Optionally enable incident logs collection while provisioning a system. You can also disable or enable incident logs collection anytime using the `UpdateVmCluster`, `updateCloudVmCluster` or `updateDbsystem` API. """ + DataGuardAssociationDataCollectionOptionsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_diagnostics_events_enabled=is_diagnostics_events_enabled, + is_health_monitoring_enabled=is_health_monitoring_enabled, + is_incident_logs_enabled=is_incident_logs_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_diagnostics_events_enabled: Optional[pulumi.Input[bool]] = None, + is_health_monitoring_enabled: Optional[pulumi.Input[bool]] = None, + is_incident_logs_enabled: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_diagnostics_events_enabled is not None: - pulumi.set(__self__, "is_diagnostics_events_enabled", is_diagnostics_events_enabled) + _setter("is_diagnostics_events_enabled", is_diagnostics_events_enabled) if is_health_monitoring_enabled is not None: - pulumi.set(__self__, "is_health_monitoring_enabled", is_health_monitoring_enabled) + _setter("is_health_monitoring_enabled", is_health_monitoring_enabled) if is_incident_logs_enabled is not None: - pulumi.set(__self__, "is_incident_logs_enabled", is_incident_logs_enabled) + _setter("is_incident_logs_enabled", is_incident_logs_enabled) @property @pulumi.getter(name="isDiagnosticsEventsEnabled") @@ -3848,12 +4684,25 @@ def __init__(__self__, *, :param pulumi.Input[str] cdb_default: Host name based CDB Connection String. :param pulumi.Input[str] cdb_ip_default: IP based CDB Connection String. """ + DatabaseConnectionStringArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + all_connection_strings=all_connection_strings, + cdb_default=cdb_default, + cdb_ip_default=cdb_ip_default, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + all_connection_strings: Optional[pulumi.Input[Mapping[str, Any]]] = None, + cdb_default: Optional[pulumi.Input[str]] = None, + cdb_ip_default: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if all_connection_strings is not None: - pulumi.set(__self__, "all_connection_strings", all_connection_strings) + _setter("all_connection_strings", all_connection_strings) if cdb_default is not None: - pulumi.set(__self__, "cdb_default", cdb_default) + _setter("cdb_default", cdb_default) if cdb_ip_default is not None: - pulumi.set(__self__, "cdb_ip_default", cdb_ip_default) + _setter("cdb_ip_default", cdb_ip_default) @property @pulumi.getter(name="allConnectionStrings") @@ -3937,40 +4786,83 @@ def __init__(__self__, *, :param pulumi.Input[str] tde_wallet_password: The optional password to open the TDE wallet. The password must be at least nine characters and contain at least two uppercase, two lowercase, two numeric, and two special characters. The special characters must be _, \\#, or -. :param pulumi.Input[str] vault_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure [vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). """ - pulumi.set(__self__, "admin_password", admin_password) - pulumi.set(__self__, "db_name", db_name) + DatabaseDatabaseArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + admin_password=admin_password, + db_name=db_name, + backup_id=backup_id, + backup_tde_password=backup_tde_password, + character_set=character_set, + database_software_image_id=database_software_image_id, + db_backup_config=db_backup_config, + db_unique_name=db_unique_name, + db_workload=db_workload, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + kms_key_id=kms_key_id, + kms_key_version_id=kms_key_version_id, + ncharacter_set=ncharacter_set, + pdb_name=pdb_name, + sid_prefix=sid_prefix, + tde_wallet_password=tde_wallet_password, + vault_id=vault_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + admin_password: pulumi.Input[str], + db_name: pulumi.Input[str], + backup_id: Optional[pulumi.Input[str]] = None, + backup_tde_password: Optional[pulumi.Input[str]] = None, + character_set: Optional[pulumi.Input[str]] = None, + database_software_image_id: Optional[pulumi.Input[str]] = None, + db_backup_config: Optional[pulumi.Input['DatabaseDatabaseDbBackupConfigArgs']] = None, + db_unique_name: Optional[pulumi.Input[str]] = None, + db_workload: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + kms_key_id: Optional[pulumi.Input[str]] = None, + kms_key_version_id: Optional[pulumi.Input[str]] = None, + ncharacter_set: Optional[pulumi.Input[str]] = None, + pdb_name: Optional[pulumi.Input[str]] = None, + sid_prefix: Optional[pulumi.Input[str]] = None, + tde_wallet_password: Optional[pulumi.Input[str]] = None, + vault_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("admin_password", admin_password) + _setter("db_name", db_name) if backup_id is not None: - pulumi.set(__self__, "backup_id", backup_id) + _setter("backup_id", backup_id) if backup_tde_password is not None: - pulumi.set(__self__, "backup_tde_password", backup_tde_password) + _setter("backup_tde_password", backup_tde_password) if character_set is not None: - pulumi.set(__self__, "character_set", character_set) + _setter("character_set", character_set) if database_software_image_id is not None: - pulumi.set(__self__, "database_software_image_id", database_software_image_id) + _setter("database_software_image_id", database_software_image_id) if db_backup_config is not None: - pulumi.set(__self__, "db_backup_config", db_backup_config) + _setter("db_backup_config", db_backup_config) if db_unique_name is not None: - pulumi.set(__self__, "db_unique_name", db_unique_name) + _setter("db_unique_name", db_unique_name) if db_workload is not None: - pulumi.set(__self__, "db_workload", db_workload) + _setter("db_workload", db_workload) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) if kms_key_version_id is not None: - pulumi.set(__self__, "kms_key_version_id", kms_key_version_id) + _setter("kms_key_version_id", kms_key_version_id) if ncharacter_set is not None: - pulumi.set(__self__, "ncharacter_set", ncharacter_set) + _setter("ncharacter_set", ncharacter_set) if pdb_name is not None: - pulumi.set(__self__, "pdb_name", pdb_name) + _setter("pdb_name", pdb_name) if sid_prefix is not None: - pulumi.set(__self__, "sid_prefix", sid_prefix) + _setter("sid_prefix", sid_prefix) if tde_wallet_password is not None: - pulumi.set(__self__, "tde_wallet_password", tde_wallet_password) + _setter("tde_wallet_password", tde_wallet_password) if vault_id is not None: - pulumi.set(__self__, "vault_id", vault_id) + _setter("vault_id", vault_id) @property @pulumi.getter(name="adminPassword") @@ -4214,22 +5106,45 @@ def __init__(__self__, *, :param pulumi.Input[int] recovery_window_in_days: (Updatable) Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups only. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups. :param pulumi.Input[bool] run_immediate_full_backup: If set to true, configures automatic full backups in the local region (the region of the DB system) for the first backup run immediately. """ + DatabaseDatabaseDbBackupConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + auto_backup_enabled=auto_backup_enabled, + auto_backup_window=auto_backup_window, + auto_full_backup_day=auto_full_backup_day, + auto_full_backup_window=auto_full_backup_window, + backup_deletion_policy=backup_deletion_policy, + backup_destination_details=backup_destination_details, + recovery_window_in_days=recovery_window_in_days, + run_immediate_full_backup=run_immediate_full_backup, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + auto_backup_enabled: Optional[pulumi.Input[bool]] = None, + auto_backup_window: Optional[pulumi.Input[str]] = None, + auto_full_backup_day: Optional[pulumi.Input[str]] = None, + auto_full_backup_window: Optional[pulumi.Input[str]] = None, + backup_deletion_policy: Optional[pulumi.Input[str]] = None, + backup_destination_details: Optional[pulumi.Input[Sequence[pulumi.Input['DatabaseDatabaseDbBackupConfigBackupDestinationDetailArgs']]]] = None, + recovery_window_in_days: Optional[pulumi.Input[int]] = None, + run_immediate_full_backup: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if auto_backup_enabled is not None: - pulumi.set(__self__, "auto_backup_enabled", auto_backup_enabled) + _setter("auto_backup_enabled", auto_backup_enabled) if auto_backup_window is not None: - pulumi.set(__self__, "auto_backup_window", auto_backup_window) + _setter("auto_backup_window", auto_backup_window) if auto_full_backup_day is not None: - pulumi.set(__self__, "auto_full_backup_day", auto_full_backup_day) + _setter("auto_full_backup_day", auto_full_backup_day) if auto_full_backup_window is not None: - pulumi.set(__self__, "auto_full_backup_window", auto_full_backup_window) + _setter("auto_full_backup_window", auto_full_backup_window) if backup_deletion_policy is not None: - pulumi.set(__self__, "backup_deletion_policy", backup_deletion_policy) + _setter("backup_deletion_policy", backup_deletion_policy) if backup_destination_details is not None: - pulumi.set(__self__, "backup_destination_details", backup_destination_details) + _setter("backup_destination_details", backup_destination_details) if recovery_window_in_days is not None: - pulumi.set(__self__, "recovery_window_in_days", recovery_window_in_days) + _setter("recovery_window_in_days", recovery_window_in_days) if run_immediate_full_backup is not None: - pulumi.set(__self__, "run_immediate_full_backup", run_immediate_full_backup) + _setter("run_immediate_full_backup", run_immediate_full_backup) @property @pulumi.getter(name="autoBackupEnabled") @@ -4340,14 +5255,29 @@ def __init__(__self__, *, :param pulumi.Input[str] id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the backup destination. :param pulumi.Input[str] type: Type of the database backup destination. """ + DatabaseDatabaseDbBackupConfigBackupDestinationDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + dbrs_policy_id=dbrs_policy_id, + id=id, + type=type, + vpc_user=vpc_user, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + dbrs_policy_id: Optional[pulumi.Input[str]] = None, + id: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + vpc_user: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if dbrs_policy_id is not None: - pulumi.set(__self__, "dbrs_policy_id", dbrs_policy_id) + _setter("dbrs_policy_id", dbrs_policy_id) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if vpc_user is not None: - pulumi.set(__self__, "vpc_user", vpc_user) + _setter("vpc_user", vpc_user) @property @pulumi.getter(name="dbrsPolicyId") @@ -4404,10 +5334,21 @@ def __init__(__self__, *, :param pulumi.Input[str] management_status: The status of the Database Management service. :param pulumi.Input[str] management_type: The Database Management type. """ + DatabaseDatabaseManagementConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + management_status=management_status, + management_type=management_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + management_status: Optional[pulumi.Input[str]] = None, + management_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if management_status is not None: - pulumi.set(__self__, "management_status", management_status) + _setter("management_status", management_status) if management_type is not None: - pulumi.set(__self__, "management_type", management_type) + _setter("management_type", management_type) @property @pulumi.getter(name="managementStatus") @@ -4455,22 +5396,45 @@ def __init__(__self__, *, :param pulumi.Input[int] recovery_window_in_days: (Updatable) Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups only. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups. :param pulumi.Input[bool] run_immediate_full_backup: If set to true, configures automatic full backups in the local region (the region of the DB system) for the first backup run immediately. """ + DatabaseDbBackupConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + auto_backup_enabled=auto_backup_enabled, + auto_backup_window=auto_backup_window, + auto_full_backup_day=auto_full_backup_day, + auto_full_backup_window=auto_full_backup_window, + backup_deletion_policy=backup_deletion_policy, + backup_destination_details=backup_destination_details, + recovery_window_in_days=recovery_window_in_days, + run_immediate_full_backup=run_immediate_full_backup, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + auto_backup_enabled: Optional[pulumi.Input[bool]] = None, + auto_backup_window: Optional[pulumi.Input[str]] = None, + auto_full_backup_day: Optional[pulumi.Input[str]] = None, + auto_full_backup_window: Optional[pulumi.Input[str]] = None, + backup_deletion_policy: Optional[pulumi.Input[str]] = None, + backup_destination_details: Optional[pulumi.Input[Sequence[pulumi.Input['DatabaseDbBackupConfigBackupDestinationDetailArgs']]]] = None, + recovery_window_in_days: Optional[pulumi.Input[int]] = None, + run_immediate_full_backup: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if auto_backup_enabled is not None: - pulumi.set(__self__, "auto_backup_enabled", auto_backup_enabled) + _setter("auto_backup_enabled", auto_backup_enabled) if auto_backup_window is not None: - pulumi.set(__self__, "auto_backup_window", auto_backup_window) + _setter("auto_backup_window", auto_backup_window) if auto_full_backup_day is not None: - pulumi.set(__self__, "auto_full_backup_day", auto_full_backup_day) + _setter("auto_full_backup_day", auto_full_backup_day) if auto_full_backup_window is not None: - pulumi.set(__self__, "auto_full_backup_window", auto_full_backup_window) + _setter("auto_full_backup_window", auto_full_backup_window) if backup_deletion_policy is not None: - pulumi.set(__self__, "backup_deletion_policy", backup_deletion_policy) + _setter("backup_deletion_policy", backup_deletion_policy) if backup_destination_details is not None: - pulumi.set(__self__, "backup_destination_details", backup_destination_details) + _setter("backup_destination_details", backup_destination_details) if recovery_window_in_days is not None: - pulumi.set(__self__, "recovery_window_in_days", recovery_window_in_days) + _setter("recovery_window_in_days", recovery_window_in_days) if run_immediate_full_backup is not None: - pulumi.set(__self__, "run_immediate_full_backup", run_immediate_full_backup) + _setter("run_immediate_full_backup", run_immediate_full_backup) @property @pulumi.getter(name="autoBackupEnabled") @@ -4581,14 +5545,29 @@ def __init__(__self__, *, :param pulumi.Input[str] id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the backup destination. :param pulumi.Input[str] type: Type of the database backup destination. """ + DatabaseDbBackupConfigBackupDestinationDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + dbrs_policy_id=dbrs_policy_id, + id=id, + type=type, + vpc_user=vpc_user, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + dbrs_policy_id: Optional[pulumi.Input[str]] = None, + id: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + vpc_user: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if dbrs_policy_id is not None: - pulumi.set(__self__, "dbrs_policy_id", dbrs_policy_id) + _setter("dbrs_policy_id", dbrs_policy_id) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if vpc_user is not None: - pulumi.set(__self__, "vpc_user", vpc_user) + _setter("vpc_user", vpc_user) @property @pulumi.getter(name="dbrsPolicyId") @@ -4647,12 +5626,25 @@ def __init__(__self__, *, :param pulumi.Input[str] cdb_default: Host name based CDB Connection String. :param pulumi.Input[str] cdb_ip_default: IP based CDB Connection String. """ + DatabaseUpgradeConnectionStringArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + all_connection_strings=all_connection_strings, + cdb_default=cdb_default, + cdb_ip_default=cdb_ip_default, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + all_connection_strings: Optional[pulumi.Input[Mapping[str, Any]]] = None, + cdb_default: Optional[pulumi.Input[str]] = None, + cdb_ip_default: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if all_connection_strings is not None: - pulumi.set(__self__, "all_connection_strings", all_connection_strings) + _setter("all_connection_strings", all_connection_strings) if cdb_default is not None: - pulumi.set(__self__, "cdb_default", cdb_default) + _setter("cdb_default", cdb_default) if cdb_ip_default is not None: - pulumi.set(__self__, "cdb_ip_default", cdb_ip_default) + _setter("cdb_ip_default", cdb_ip_default) @property @pulumi.getter(name="allConnectionStrings") @@ -4712,14 +5704,29 @@ def __init__(__self__, *, ** 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 """ + DatabaseUpgradeDatabaseUpgradeSourceDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + database_software_image_id=database_software_image_id, + db_version=db_version, + options=options, + source=source, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + database_software_image_id: Optional[pulumi.Input[str]] = None, + db_version: Optional[pulumi.Input[str]] = None, + options: Optional[pulumi.Input[str]] = None, + source: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if database_software_image_id is not None: - pulumi.set(__self__, "database_software_image_id", database_software_image_id) + _setter("database_software_image_id", database_software_image_id) if db_version is not None: - pulumi.set(__self__, "db_version", db_version) + _setter("db_version", db_version) if options is not None: - pulumi.set(__self__, "options", options) + _setter("options", options) if source is not None: - pulumi.set(__self__, "source", source) + _setter("source", source) @property @pulumi.getter(name="databaseSoftwareImageId") @@ -4799,22 +5806,45 @@ def __init__(__self__, *, :param pulumi.Input[int] recovery_window_in_days: Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups only. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups. :param pulumi.Input[bool] run_immediate_full_backup: If set to true, configures automatic full backups in the local region (the region of the DB system) for the first backup run immediately. """ + DatabaseUpgradeDbBackupConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + auto_backup_enabled=auto_backup_enabled, + auto_backup_window=auto_backup_window, + auto_full_backup_day=auto_full_backup_day, + auto_full_backup_window=auto_full_backup_window, + backup_deletion_policy=backup_deletion_policy, + backup_destination_details=backup_destination_details, + recovery_window_in_days=recovery_window_in_days, + run_immediate_full_backup=run_immediate_full_backup, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + auto_backup_enabled: Optional[pulumi.Input[bool]] = None, + auto_backup_window: Optional[pulumi.Input[str]] = None, + auto_full_backup_day: Optional[pulumi.Input[str]] = None, + auto_full_backup_window: Optional[pulumi.Input[str]] = None, + backup_deletion_policy: Optional[pulumi.Input[str]] = None, + backup_destination_details: Optional[pulumi.Input[Sequence[pulumi.Input['DatabaseUpgradeDbBackupConfigBackupDestinationDetailArgs']]]] = None, + recovery_window_in_days: Optional[pulumi.Input[int]] = None, + run_immediate_full_backup: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if auto_backup_enabled is not None: - pulumi.set(__self__, "auto_backup_enabled", auto_backup_enabled) + _setter("auto_backup_enabled", auto_backup_enabled) if auto_backup_window is not None: - pulumi.set(__self__, "auto_backup_window", auto_backup_window) + _setter("auto_backup_window", auto_backup_window) if auto_full_backup_day is not None: - pulumi.set(__self__, "auto_full_backup_day", auto_full_backup_day) + _setter("auto_full_backup_day", auto_full_backup_day) if auto_full_backup_window is not None: - pulumi.set(__self__, "auto_full_backup_window", auto_full_backup_window) + _setter("auto_full_backup_window", auto_full_backup_window) if backup_deletion_policy is not None: - pulumi.set(__self__, "backup_deletion_policy", backup_deletion_policy) + _setter("backup_deletion_policy", backup_deletion_policy) if backup_destination_details is not None: - pulumi.set(__self__, "backup_destination_details", backup_destination_details) + _setter("backup_destination_details", backup_destination_details) if recovery_window_in_days is not None: - pulumi.set(__self__, "recovery_window_in_days", recovery_window_in_days) + _setter("recovery_window_in_days", recovery_window_in_days) if run_immediate_full_backup is not None: - pulumi.set(__self__, "run_immediate_full_backup", run_immediate_full_backup) + _setter("run_immediate_full_backup", run_immediate_full_backup) @property @pulumi.getter(name="autoBackupEnabled") @@ -4930,18 +5960,37 @@ def __init__(__self__, *, :param pulumi.Input[str] vpc_password: For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance. :param pulumi.Input[str] vpc_user: For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance. """ + DatabaseUpgradeDbBackupConfigBackupDestinationDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + dbrs_policy_id=dbrs_policy_id, + id=id, + internet_proxy=internet_proxy, + type=type, + vpc_password=vpc_password, + vpc_user=vpc_user, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + dbrs_policy_id: Optional[pulumi.Input[str]] = None, + id: Optional[pulumi.Input[str]] = None, + internet_proxy: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + vpc_password: Optional[pulumi.Input[str]] = None, + vpc_user: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if dbrs_policy_id is not None: - pulumi.set(__self__, "dbrs_policy_id", dbrs_policy_id) + _setter("dbrs_policy_id", dbrs_policy_id) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if internet_proxy is not None: - pulumi.set(__self__, "internet_proxy", internet_proxy) + _setter("internet_proxy", internet_proxy) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if vpc_password is not None: - pulumi.set(__self__, "vpc_password", vpc_password) + _setter("vpc_password", vpc_password) if vpc_user is not None: - pulumi.set(__self__, "vpc_user", vpc_user) + _setter("vpc_user", vpc_user) @property @pulumi.getter(name="dbrsPolicyId") @@ -5075,57 +6124,116 @@ def __init__(__self__, *, :param pulumi.Input[str] time_stamp_for_point_in_time_recovery: The point in time of the original database from which the new database is created. If not specifed, the latest backup is used to create the database. :param pulumi.Input[str] vault_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure [vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). """ - pulumi.set(__self__, "admin_password", admin_password) + DbHomeDatabaseArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + admin_password=admin_password, + backup_id=backup_id, + backup_tde_password=backup_tde_password, + character_set=character_set, + connection_strings=connection_strings, + database_id=database_id, + database_software_image_id=database_software_image_id, + db_backup_config=db_backup_config, + db_name=db_name, + db_unique_name=db_unique_name, + db_workload=db_workload, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + id=id, + kms_key_id=kms_key_id, + kms_key_version_id=kms_key_version_id, + lifecycle_details=lifecycle_details, + ncharacter_set=ncharacter_set, + one_off_patches=one_off_patches, + pdb_name=pdb_name, + sid_prefix=sid_prefix, + state=state, + tde_wallet_password=tde_wallet_password, + time_created=time_created, + time_stamp_for_point_in_time_recovery=time_stamp_for_point_in_time_recovery, + vault_id=vault_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + admin_password: pulumi.Input[str], + backup_id: Optional[pulumi.Input[str]] = None, + backup_tde_password: Optional[pulumi.Input[str]] = None, + character_set: Optional[pulumi.Input[str]] = None, + connection_strings: Optional[pulumi.Input[Sequence[pulumi.Input['DbHomeDatabaseConnectionStringArgs']]]] = None, + database_id: Optional[pulumi.Input[str]] = None, + database_software_image_id: Optional[pulumi.Input[str]] = None, + db_backup_config: Optional[pulumi.Input['DbHomeDatabaseDbBackupConfigArgs']] = None, + db_name: Optional[pulumi.Input[str]] = None, + db_unique_name: Optional[pulumi.Input[str]] = None, + db_workload: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + id: Optional[pulumi.Input[str]] = None, + kms_key_id: Optional[pulumi.Input[str]] = None, + kms_key_version_id: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + ncharacter_set: Optional[pulumi.Input[str]] = None, + one_off_patches: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + pdb_name: Optional[pulumi.Input[str]] = None, + sid_prefix: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + tde_wallet_password: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_stamp_for_point_in_time_recovery: Optional[pulumi.Input[str]] = None, + vault_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("admin_password", admin_password) if backup_id is not None: - pulumi.set(__self__, "backup_id", backup_id) + _setter("backup_id", backup_id) if backup_tde_password is not None: - pulumi.set(__self__, "backup_tde_password", backup_tde_password) + _setter("backup_tde_password", backup_tde_password) if character_set is not None: - pulumi.set(__self__, "character_set", character_set) + _setter("character_set", character_set) if connection_strings is not None: - pulumi.set(__self__, "connection_strings", connection_strings) + _setter("connection_strings", connection_strings) if database_id is not None: - pulumi.set(__self__, "database_id", database_id) + _setter("database_id", database_id) if database_software_image_id is not None: - pulumi.set(__self__, "database_software_image_id", database_software_image_id) + _setter("database_software_image_id", database_software_image_id) if db_backup_config is not None: - pulumi.set(__self__, "db_backup_config", db_backup_config) + _setter("db_backup_config", db_backup_config) if db_name is not None: - pulumi.set(__self__, "db_name", db_name) + _setter("db_name", db_name) if db_unique_name is not None: - pulumi.set(__self__, "db_unique_name", db_unique_name) + _setter("db_unique_name", db_unique_name) if db_workload is not None: - pulumi.set(__self__, "db_workload", db_workload) + _setter("db_workload", db_workload) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) if kms_key_version_id is not None: - pulumi.set(__self__, "kms_key_version_id", kms_key_version_id) + _setter("kms_key_version_id", kms_key_version_id) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if ncharacter_set is not None: - pulumi.set(__self__, "ncharacter_set", ncharacter_set) + _setter("ncharacter_set", ncharacter_set) if one_off_patches is not None: - pulumi.set(__self__, "one_off_patches", one_off_patches) + _setter("one_off_patches", one_off_patches) if pdb_name is not None: - pulumi.set(__self__, "pdb_name", pdb_name) + _setter("pdb_name", pdb_name) if sid_prefix is not None: - pulumi.set(__self__, "sid_prefix", sid_prefix) + _setter("sid_prefix", sid_prefix) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if tde_wallet_password is not None: - pulumi.set(__self__, "tde_wallet_password", tde_wallet_password) + _setter("tde_wallet_password", tde_wallet_password) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_stamp_for_point_in_time_recovery is not None: - pulumi.set(__self__, "time_stamp_for_point_in_time_recovery", time_stamp_for_point_in_time_recovery) + _setter("time_stamp_for_point_in_time_recovery", time_stamp_for_point_in_time_recovery) if vault_id is not None: - pulumi.set(__self__, "vault_id", vault_id) + _setter("vault_id", vault_id) @property @pulumi.getter(name="adminPassword") @@ -5444,12 +6552,25 @@ def __init__(__self__, *, all_connection_strings: Optional[pulumi.Input[Mapping[str, Any]]] = None, cdb_default: Optional[pulumi.Input[str]] = None, cdb_ip_default: Optional[pulumi.Input[str]] = None): + DbHomeDatabaseConnectionStringArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + all_connection_strings=all_connection_strings, + cdb_default=cdb_default, + cdb_ip_default=cdb_ip_default, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + all_connection_strings: Optional[pulumi.Input[Mapping[str, Any]]] = None, + cdb_default: Optional[pulumi.Input[str]] = None, + cdb_ip_default: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if all_connection_strings is not None: - pulumi.set(__self__, "all_connection_strings", all_connection_strings) + _setter("all_connection_strings", all_connection_strings) if cdb_default is not None: - pulumi.set(__self__, "cdb_default", cdb_default) + _setter("cdb_default", cdb_default) if cdb_ip_default is not None: - pulumi.set(__self__, "cdb_ip_default", cdb_ip_default) + _setter("cdb_ip_default", cdb_ip_default) @property @pulumi.getter(name="allConnectionStrings") @@ -5500,22 +6621,45 @@ def __init__(__self__, *, :param pulumi.Input[int] recovery_window_in_days: (Updatable) Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups only. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups. :param pulumi.Input[bool] run_immediate_full_backup: If set to true, configures automatic full backups in the local region (the region of the DB system) for the first backup run immediately. """ + DbHomeDatabaseDbBackupConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + auto_backup_enabled=auto_backup_enabled, + auto_backup_window=auto_backup_window, + auto_full_backup_day=auto_full_backup_day, + auto_full_backup_window=auto_full_backup_window, + backup_deletion_policy=backup_deletion_policy, + backup_destination_details=backup_destination_details, + recovery_window_in_days=recovery_window_in_days, + run_immediate_full_backup=run_immediate_full_backup, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + auto_backup_enabled: Optional[pulumi.Input[bool]] = None, + auto_backup_window: Optional[pulumi.Input[str]] = None, + auto_full_backup_day: Optional[pulumi.Input[str]] = None, + auto_full_backup_window: Optional[pulumi.Input[str]] = None, + backup_deletion_policy: Optional[pulumi.Input[str]] = None, + backup_destination_details: Optional[pulumi.Input[Sequence[pulumi.Input['DbHomeDatabaseDbBackupConfigBackupDestinationDetailArgs']]]] = None, + recovery_window_in_days: Optional[pulumi.Input[int]] = None, + run_immediate_full_backup: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if auto_backup_enabled is not None: - pulumi.set(__self__, "auto_backup_enabled", auto_backup_enabled) + _setter("auto_backup_enabled", auto_backup_enabled) if auto_backup_window is not None: - pulumi.set(__self__, "auto_backup_window", auto_backup_window) + _setter("auto_backup_window", auto_backup_window) if auto_full_backup_day is not None: - pulumi.set(__self__, "auto_full_backup_day", auto_full_backup_day) + _setter("auto_full_backup_day", auto_full_backup_day) if auto_full_backup_window is not None: - pulumi.set(__self__, "auto_full_backup_window", auto_full_backup_window) + _setter("auto_full_backup_window", auto_full_backup_window) if backup_deletion_policy is not None: - pulumi.set(__self__, "backup_deletion_policy", backup_deletion_policy) + _setter("backup_deletion_policy", backup_deletion_policy) if backup_destination_details is not None: - pulumi.set(__self__, "backup_destination_details", backup_destination_details) + _setter("backup_destination_details", backup_destination_details) if recovery_window_in_days is not None: - pulumi.set(__self__, "recovery_window_in_days", recovery_window_in_days) + _setter("recovery_window_in_days", recovery_window_in_days) if run_immediate_full_backup is not None: - pulumi.set(__self__, "run_immediate_full_backup", run_immediate_full_backup) + _setter("run_immediate_full_backup", run_immediate_full_backup) @property @pulumi.getter(name="autoBackupEnabled") @@ -5625,12 +6769,25 @@ def __init__(__self__, *, :param pulumi.Input[str] id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the backup destination. :param pulumi.Input[str] type: Type of the database backup destination. Supported values: `NFS`. """ + DbHomeDatabaseDbBackupConfigBackupDestinationDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + dbrs_policy_id=dbrs_policy_id, + id=id, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + dbrs_policy_id: Optional[pulumi.Input[str]] = None, + id: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if dbrs_policy_id is not None: - pulumi.set(__self__, "dbrs_policy_id", dbrs_policy_id) + _setter("dbrs_policy_id", dbrs_policy_id) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter(name="dbrsPolicyId") @@ -5680,12 +6837,25 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_health_monitoring_enabled: (Updatable) Indicates whether health monitoring is enabled for the VM cluster / Cloud VM cluster / VMBM DBCS. Enabling health monitoring allows Oracle to collect diagnostic data and share it with its operations and support personnel. You may also receive notifications for some events. Collecting health diagnostics enables Oracle to provide proactive support and enhanced service for your system. Optionally enable health monitoring while provisioning a system. You can also disable or enable health monitoring anytime using the `UpdateVmCluster`, `UpdateCloudVmCluster` or `updateDbsystem` API. :param pulumi.Input[bool] is_incident_logs_enabled: (Updatable) Indicates whether incident logs and trace collection are enabled for the VM cluster / Cloud VM cluster / VMBM DBCS. Enabling incident logs collection allows Oracle to receive Events service notifications for guest VM issues, collect incident logs and traces, and use them to diagnose issues and resolve them. Optionally enable incident logs collection while provisioning a system. You can also disable or enable incident logs collection anytime using the `UpdateVmCluster`, `updateCloudVmCluster` or `updateDbsystem` API. """ + DbSystemDataCollectionOptionsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_diagnostics_events_enabled=is_diagnostics_events_enabled, + is_health_monitoring_enabled=is_health_monitoring_enabled, + is_incident_logs_enabled=is_incident_logs_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_diagnostics_events_enabled: Optional[pulumi.Input[bool]] = None, + is_health_monitoring_enabled: Optional[pulumi.Input[bool]] = None, + is_incident_logs_enabled: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_diagnostics_events_enabled is not None: - pulumi.set(__self__, "is_diagnostics_events_enabled", is_diagnostics_events_enabled) + _setter("is_diagnostics_events_enabled", is_diagnostics_events_enabled) if is_health_monitoring_enabled is not None: - pulumi.set(__self__, "is_health_monitoring_enabled", is_health_monitoring_enabled) + _setter("is_health_monitoring_enabled", is_health_monitoring_enabled) if is_incident_logs_enabled is not None: - pulumi.set(__self__, "is_incident_logs_enabled", is_incident_logs_enabled) + _setter("is_incident_logs_enabled", is_incident_logs_enabled) @property @pulumi.getter(name="isDiagnosticsEventsEnabled") @@ -5757,31 +6927,64 @@ def __init__(__self__, *, :param pulumi.Input[str] state: The current state of the DB system. :param pulumi.Input[str] time_created: The date and time the DB system was created. """ - pulumi.set(__self__, "database", database) + DbSystemDbHomeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + database=database, + create_async=create_async, + database_software_image_id=database_software_image_id, + db_home_location=db_home_location, + db_version=db_version, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + last_patch_history_entry_id=last_patch_history_entry_id, + lifecycle_details=lifecycle_details, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + database: pulumi.Input['DbSystemDbHomeDatabaseArgs'], + create_async: Optional[pulumi.Input[bool]] = None, + database_software_image_id: Optional[pulumi.Input[str]] = None, + db_home_location: Optional[pulumi.Input[str]] = None, + db_version: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + id: Optional[pulumi.Input[str]] = None, + last_patch_history_entry_id: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("database", database) if create_async is not None: - pulumi.set(__self__, "create_async", create_async) + _setter("create_async", create_async) if database_software_image_id is not None: - pulumi.set(__self__, "database_software_image_id", database_software_image_id) + _setter("database_software_image_id", database_software_image_id) if db_home_location is not None: - pulumi.set(__self__, "db_home_location", db_home_location) + _setter("db_home_location", db_home_location) if db_version is not None: - pulumi.set(__self__, "db_version", db_version) + _setter("db_version", db_version) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if last_patch_history_entry_id is not None: - pulumi.set(__self__, "last_patch_history_entry_id", last_patch_history_entry_id) + _setter("last_patch_history_entry_id", last_patch_history_entry_id) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter @@ -5995,55 +7198,112 @@ def __init__(__self__, *, :param pulumi.Input[str] time_stamp_for_point_in_time_recovery: The point in time of the original database from which the new database is created. If not specifed, the latest backup is used to create the database. :param pulumi.Input[str] vault_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure [vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). """ - pulumi.set(__self__, "admin_password", admin_password) + DbSystemDbHomeDatabaseArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + admin_password=admin_password, + backup_id=backup_id, + backup_tde_password=backup_tde_password, + character_set=character_set, + connection_strings=connection_strings, + database_id=database_id, + database_software_image_id=database_software_image_id, + db_backup_config=db_backup_config, + db_domain=db_domain, + db_name=db_name, + db_unique_name=db_unique_name, + db_workload=db_workload, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + id=id, + kms_key_id=kms_key_id, + kms_key_version_id=kms_key_version_id, + lifecycle_details=lifecycle_details, + ncharacter_set=ncharacter_set, + pdb_name=pdb_name, + state=state, + tde_wallet_password=tde_wallet_password, + time_created=time_created, + time_stamp_for_point_in_time_recovery=time_stamp_for_point_in_time_recovery, + vault_id=vault_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + admin_password: pulumi.Input[str], + backup_id: Optional[pulumi.Input[str]] = None, + backup_tde_password: Optional[pulumi.Input[str]] = None, + character_set: Optional[pulumi.Input[str]] = None, + connection_strings: Optional[pulumi.Input[Sequence[pulumi.Input['DbSystemDbHomeDatabaseConnectionStringArgs']]]] = None, + database_id: Optional[pulumi.Input[str]] = None, + database_software_image_id: Optional[pulumi.Input[str]] = None, + db_backup_config: Optional[pulumi.Input['DbSystemDbHomeDatabaseDbBackupConfigArgs']] = None, + db_domain: Optional[pulumi.Input[str]] = None, + db_name: Optional[pulumi.Input[str]] = None, + db_unique_name: Optional[pulumi.Input[str]] = None, + db_workload: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + id: Optional[pulumi.Input[str]] = None, + kms_key_id: Optional[pulumi.Input[str]] = None, + kms_key_version_id: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + ncharacter_set: Optional[pulumi.Input[str]] = None, + pdb_name: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + tde_wallet_password: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_stamp_for_point_in_time_recovery: Optional[pulumi.Input[str]] = None, + vault_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("admin_password", admin_password) if backup_id is not None: - pulumi.set(__self__, "backup_id", backup_id) + _setter("backup_id", backup_id) if backup_tde_password is not None: - pulumi.set(__self__, "backup_tde_password", backup_tde_password) + _setter("backup_tde_password", backup_tde_password) if character_set is not None: - pulumi.set(__self__, "character_set", character_set) + _setter("character_set", character_set) if connection_strings is not None: - pulumi.set(__self__, "connection_strings", connection_strings) + _setter("connection_strings", connection_strings) if database_id is not None: - pulumi.set(__self__, "database_id", database_id) + _setter("database_id", database_id) if database_software_image_id is not None: - pulumi.set(__self__, "database_software_image_id", database_software_image_id) + _setter("database_software_image_id", database_software_image_id) if db_backup_config is not None: - pulumi.set(__self__, "db_backup_config", db_backup_config) + _setter("db_backup_config", db_backup_config) if db_domain is not None: - pulumi.set(__self__, "db_domain", db_domain) + _setter("db_domain", db_domain) if db_name is not None: - pulumi.set(__self__, "db_name", db_name) + _setter("db_name", db_name) if db_unique_name is not None: - pulumi.set(__self__, "db_unique_name", db_unique_name) + _setter("db_unique_name", db_unique_name) if db_workload is not None: - pulumi.set(__self__, "db_workload", db_workload) + _setter("db_workload", db_workload) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) if kms_key_version_id is not None: - pulumi.set(__self__, "kms_key_version_id", kms_key_version_id) + _setter("kms_key_version_id", kms_key_version_id) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if ncharacter_set is not None: - pulumi.set(__self__, "ncharacter_set", ncharacter_set) + _setter("ncharacter_set", ncharacter_set) if pdb_name is not None: - pulumi.set(__self__, "pdb_name", pdb_name) + _setter("pdb_name", pdb_name) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if tde_wallet_password is not None: - pulumi.set(__self__, "tde_wallet_password", tde_wallet_password) + _setter("tde_wallet_password", tde_wallet_password) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_stamp_for_point_in_time_recovery is not None: - pulumi.set(__self__, "time_stamp_for_point_in_time_recovery", time_stamp_for_point_in_time_recovery) + _setter("time_stamp_for_point_in_time_recovery", time_stamp_for_point_in_time_recovery) if vault_id is not None: - pulumi.set(__self__, "vault_id", vault_id) + _setter("vault_id", vault_id) @property @pulumi.getter(name="adminPassword") @@ -6350,12 +7610,25 @@ def __init__(__self__, *, all_connection_strings: Optional[pulumi.Input[Mapping[str, Any]]] = None, cdb_default: Optional[pulumi.Input[str]] = None, cdb_ip_default: Optional[pulumi.Input[str]] = None): + DbSystemDbHomeDatabaseConnectionStringArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + all_connection_strings=all_connection_strings, + cdb_default=cdb_default, + cdb_ip_default=cdb_ip_default, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + all_connection_strings: Optional[pulumi.Input[Mapping[str, Any]]] = None, + cdb_default: Optional[pulumi.Input[str]] = None, + cdb_ip_default: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if all_connection_strings is not None: - pulumi.set(__self__, "all_connection_strings", all_connection_strings) + _setter("all_connection_strings", all_connection_strings) if cdb_default is not None: - pulumi.set(__self__, "cdb_default", cdb_default) + _setter("cdb_default", cdb_default) if cdb_ip_default is not None: - pulumi.set(__self__, "cdb_ip_default", cdb_ip_default) + _setter("cdb_ip_default", cdb_ip_default) @property @pulumi.getter(name="allConnectionStrings") @@ -6406,22 +7679,45 @@ def __init__(__self__, *, :param pulumi.Input[int] recovery_window_in_days: (Updatable) Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups only. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups. :param pulumi.Input[bool] run_immediate_full_backup: If set to true, configures automatic full backups in the local region (the region of the DB system) for the first backup run immediately. """ + DbSystemDbHomeDatabaseDbBackupConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + auto_backup_enabled=auto_backup_enabled, + auto_backup_window=auto_backup_window, + auto_full_backup_day=auto_full_backup_day, + auto_full_backup_window=auto_full_backup_window, + backup_deletion_policy=backup_deletion_policy, + backup_destination_details=backup_destination_details, + recovery_window_in_days=recovery_window_in_days, + run_immediate_full_backup=run_immediate_full_backup, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + auto_backup_enabled: Optional[pulumi.Input[bool]] = None, + auto_backup_window: Optional[pulumi.Input[str]] = None, + auto_full_backup_day: Optional[pulumi.Input[str]] = None, + auto_full_backup_window: Optional[pulumi.Input[str]] = None, + backup_deletion_policy: Optional[pulumi.Input[str]] = None, + backup_destination_details: Optional[pulumi.Input[Sequence[pulumi.Input['DbSystemDbHomeDatabaseDbBackupConfigBackupDestinationDetailArgs']]]] = None, + recovery_window_in_days: Optional[pulumi.Input[int]] = None, + run_immediate_full_backup: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if auto_backup_enabled is not None: - pulumi.set(__self__, "auto_backup_enabled", auto_backup_enabled) + _setter("auto_backup_enabled", auto_backup_enabled) if auto_backup_window is not None: - pulumi.set(__self__, "auto_backup_window", auto_backup_window) + _setter("auto_backup_window", auto_backup_window) if auto_full_backup_day is not None: - pulumi.set(__self__, "auto_full_backup_day", auto_full_backup_day) + _setter("auto_full_backup_day", auto_full_backup_day) if auto_full_backup_window is not None: - pulumi.set(__self__, "auto_full_backup_window", auto_full_backup_window) + _setter("auto_full_backup_window", auto_full_backup_window) if backup_deletion_policy is not None: - pulumi.set(__self__, "backup_deletion_policy", backup_deletion_policy) + _setter("backup_deletion_policy", backup_deletion_policy) if backup_destination_details is not None: - pulumi.set(__self__, "backup_destination_details", backup_destination_details) + _setter("backup_destination_details", backup_destination_details) if recovery_window_in_days is not None: - pulumi.set(__self__, "recovery_window_in_days", recovery_window_in_days) + _setter("recovery_window_in_days", recovery_window_in_days) if run_immediate_full_backup is not None: - pulumi.set(__self__, "run_immediate_full_backup", run_immediate_full_backup) + _setter("run_immediate_full_backup", run_immediate_full_backup) @property @pulumi.getter(name="autoBackupEnabled") @@ -6531,12 +7827,25 @@ def __init__(__self__, *, :param pulumi.Input[str] id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the backup destination. :param pulumi.Input[str] type: Type of the database backup destination. """ + DbSystemDbHomeDatabaseDbBackupConfigBackupDestinationDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + dbrs_policy_id=dbrs_policy_id, + id=id, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + dbrs_policy_id: Optional[pulumi.Input[str]] = None, + id: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if dbrs_policy_id is not None: - pulumi.set(__self__, "dbrs_policy_id", dbrs_policy_id) + _setter("dbrs_policy_id", dbrs_policy_id) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter(name="dbrsPolicyId") @@ -6582,8 +7891,17 @@ def __init__(__self__, *, """ :param pulumi.Input[str] storage_management: The storage option used in DB system. ASM - Automatic storage management LVM - Logical Volume management """ + DbSystemDbSystemOptionsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + storage_management=storage_management, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + storage_management: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if storage_management is not None: - pulumi.set(__self__, "storage_management", storage_management) + _setter("storage_management", storage_management) @property @pulumi.getter(name="storageManagement") @@ -6612,16 +7930,33 @@ def __init__(__self__, *, :param pulumi.Input[str] objective: The current value for the IORM objective. The default is `AUTO`. :param pulumi.Input[str] state: The current state of the DB system. """ + DbSystemIormConfigCachArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_plans=db_plans, + db_system_id=db_system_id, + lifecycle_details=lifecycle_details, + objective=objective, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_plans: Optional[pulumi.Input[Sequence[pulumi.Input['DbSystemIormConfigCachDbPlanArgs']]]] = None, + db_system_id: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + objective: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if db_plans is not None: - pulumi.set(__self__, "db_plans", db_plans) + _setter("db_plans", db_plans) if db_system_id is not None: - pulumi.set(__self__, "db_system_id", db_system_id) + _setter("db_system_id", db_system_id) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if objective is not None: - pulumi.set(__self__, "objective", objective) + _setter("objective", objective) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) @property @pulumi.getter(name="dbPlans") @@ -6692,12 +8027,25 @@ def __init__(__self__, *, :param pulumi.Input[str] flash_cache_limit: The flash cache limit for this database. This value is internally configured based on the share value assigned to the database. :param pulumi.Input[int] share: The relative priority of this database. """ + DbSystemIormConfigCachDbPlanArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_name=db_name, + flash_cache_limit=flash_cache_limit, + share=share, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_name: Optional[pulumi.Input[str]] = None, + flash_cache_limit: Optional[pulumi.Input[str]] = None, + share: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if db_name is not None: - pulumi.set(__self__, "db_name", db_name) + _setter("db_name", db_name) if flash_cache_limit is not None: - pulumi.set(__self__, "flash_cache_limit", flash_cache_limit) + _setter("flash_cache_limit", flash_cache_limit) if share is not None: - pulumi.set(__self__, "share", share) + _setter("share", share) @property @pulumi.getter(name="dbName") @@ -6764,26 +8112,53 @@ def __init__(__self__, *, :param pulumi.Input[str] preference: (Updatable) The maintenance window scheduling preference. :param pulumi.Input[Sequence[pulumi.Input[int]]] weeks_of_months: (Updatable) Weeks during the month when maintenance should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week. For example, to allow maintenance during the 2nd week of the month (from the 8th day to the 14th day of the month), use the value 2. Maintenance cannot be scheduled for the fifth week of months that contain more than 28 days. Note that this parameter works in conjunction with the daysOfWeek and hoursOfDay parameters to allow you to specify specific days of the week and hours that maintenance will be performed. """ + DbSystemMaintenanceWindowArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_action_timeout_in_mins=custom_action_timeout_in_mins, + days_of_weeks=days_of_weeks, + hours_of_days=hours_of_days, + is_custom_action_timeout_enabled=is_custom_action_timeout_enabled, + is_monthly_patching_enabled=is_monthly_patching_enabled, + lead_time_in_weeks=lead_time_in_weeks, + months=months, + patching_mode=patching_mode, + preference=preference, + weeks_of_months=weeks_of_months, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_action_timeout_in_mins: Optional[pulumi.Input[int]] = None, + days_of_weeks: Optional[pulumi.Input[Sequence[pulumi.Input['DbSystemMaintenanceWindowDaysOfWeekArgs']]]] = None, + hours_of_days: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None, + is_custom_action_timeout_enabled: Optional[pulumi.Input[bool]] = None, + is_monthly_patching_enabled: Optional[pulumi.Input[bool]] = None, + lead_time_in_weeks: Optional[pulumi.Input[int]] = None, + months: Optional[pulumi.Input[Sequence[pulumi.Input['DbSystemMaintenanceWindowMonthArgs']]]] = None, + patching_mode: Optional[pulumi.Input[str]] = None, + preference: Optional[pulumi.Input[str]] = None, + weeks_of_months: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if custom_action_timeout_in_mins is not None: - pulumi.set(__self__, "custom_action_timeout_in_mins", custom_action_timeout_in_mins) + _setter("custom_action_timeout_in_mins", custom_action_timeout_in_mins) if days_of_weeks is not None: - pulumi.set(__self__, "days_of_weeks", days_of_weeks) + _setter("days_of_weeks", days_of_weeks) if hours_of_days is not None: - pulumi.set(__self__, "hours_of_days", hours_of_days) + _setter("hours_of_days", hours_of_days) if is_custom_action_timeout_enabled is not None: - pulumi.set(__self__, "is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) + _setter("is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) if is_monthly_patching_enabled is not None: - pulumi.set(__self__, "is_monthly_patching_enabled", is_monthly_patching_enabled) + _setter("is_monthly_patching_enabled", is_monthly_patching_enabled) if lead_time_in_weeks is not None: - pulumi.set(__self__, "lead_time_in_weeks", lead_time_in_weeks) + _setter("lead_time_in_weeks", lead_time_in_weeks) if months is not None: - pulumi.set(__self__, "months", months) + _setter("months", months) if patching_mode is not None: - pulumi.set(__self__, "patching_mode", patching_mode) + _setter("patching_mode", patching_mode) if preference is not None: - pulumi.set(__self__, "preference", preference) + _setter("preference", preference) if weeks_of_months is not None: - pulumi.set(__self__, "weeks_of_months", weeks_of_months) + _setter("weeks_of_months", weeks_of_months) @property @pulumi.getter(name="customActionTimeoutInMins") @@ -6916,8 +8291,17 @@ def __init__(__self__, *, """ :param pulumi.Input[str] name: (Updatable) Name of the month of the year. """ + DbSystemMaintenanceWindowDaysOfWeekArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -6960,26 +8344,53 @@ def __init__(__self__, *, :param pulumi.Input[str] preference: (Updatable) The maintenance window scheduling preference. :param pulumi.Input[Sequence[pulumi.Input[int]]] weeks_of_months: (Updatable) Weeks during the month when maintenance should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week. For example, to allow maintenance during the 2nd week of the month (from the 8th day to the 14th day of the month), use the value 2. Maintenance cannot be scheduled for the fifth week of months that contain more than 28 days. Note that this parameter works in conjunction with the daysOfWeek and hoursOfDay parameters to allow you to specify specific days of the week and hours that maintenance will be performed. """ + DbSystemMaintenanceWindowDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_action_timeout_in_mins=custom_action_timeout_in_mins, + days_of_weeks=days_of_weeks, + hours_of_days=hours_of_days, + is_custom_action_timeout_enabled=is_custom_action_timeout_enabled, + is_monthly_patching_enabled=is_monthly_patching_enabled, + lead_time_in_weeks=lead_time_in_weeks, + months=months, + patching_mode=patching_mode, + preference=preference, + weeks_of_months=weeks_of_months, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_action_timeout_in_mins: Optional[pulumi.Input[int]] = None, + days_of_weeks: Optional[pulumi.Input[Sequence[pulumi.Input['DbSystemMaintenanceWindowDetailsDaysOfWeekArgs']]]] = None, + hours_of_days: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None, + is_custom_action_timeout_enabled: Optional[pulumi.Input[bool]] = None, + is_monthly_patching_enabled: Optional[pulumi.Input[bool]] = None, + lead_time_in_weeks: Optional[pulumi.Input[int]] = None, + months: Optional[pulumi.Input[Sequence[pulumi.Input['DbSystemMaintenanceWindowDetailsMonthArgs']]]] = None, + patching_mode: Optional[pulumi.Input[str]] = None, + preference: Optional[pulumi.Input[str]] = None, + weeks_of_months: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if custom_action_timeout_in_mins is not None: - pulumi.set(__self__, "custom_action_timeout_in_mins", custom_action_timeout_in_mins) + _setter("custom_action_timeout_in_mins", custom_action_timeout_in_mins) if days_of_weeks is not None: - pulumi.set(__self__, "days_of_weeks", days_of_weeks) + _setter("days_of_weeks", days_of_weeks) if hours_of_days is not None: - pulumi.set(__self__, "hours_of_days", hours_of_days) + _setter("hours_of_days", hours_of_days) if is_custom_action_timeout_enabled is not None: - pulumi.set(__self__, "is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) + _setter("is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) if is_monthly_patching_enabled is not None: - pulumi.set(__self__, "is_monthly_patching_enabled", is_monthly_patching_enabled) + _setter("is_monthly_patching_enabled", is_monthly_patching_enabled) if lead_time_in_weeks is not None: - pulumi.set(__self__, "lead_time_in_weeks", lead_time_in_weeks) + _setter("lead_time_in_weeks", lead_time_in_weeks) if months is not None: - pulumi.set(__self__, "months", months) + _setter("months", months) if patching_mode is not None: - pulumi.set(__self__, "patching_mode", patching_mode) + _setter("patching_mode", patching_mode) if preference is not None: - pulumi.set(__self__, "preference", preference) + _setter("preference", preference) if weeks_of_months is not None: - pulumi.set(__self__, "weeks_of_months", weeks_of_months) + _setter("weeks_of_months", weeks_of_months) @property @pulumi.getter(name="customActionTimeoutInMins") @@ -7112,8 +8523,17 @@ def __init__(__self__, *, """ :param pulumi.Input[str] name: (Updatable) Name of the month of the year. """ + DbSystemMaintenanceWindowDetailsDaysOfWeekArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -7135,8 +8555,17 @@ def __init__(__self__, *, """ :param pulumi.Input[str] name: (Updatable) Name of the month of the year. """ + DbSystemMaintenanceWindowDetailsMonthArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -7158,8 +8587,17 @@ def __init__(__self__, *, """ :param pulumi.Input[str] name: (Updatable) Name of the month of the year. """ + DbSystemMaintenanceWindowMonthArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -7181,8 +8619,17 @@ def __init__(__self__, *, """ :param pulumi.Input[str] storage_management: The storage option used in DB system. ASM - Automatic storage management LVM - Logical Volume management """ + DbSystemsUpgradeDbSystemOptionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + storage_management=storage_management, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + storage_management: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if storage_management is not None: - pulumi.set(__self__, "storage_management", storage_management) + _setter("storage_management", storage_management) @property @pulumi.getter(name="storageManagement") @@ -7210,14 +8657,29 @@ def __init__(__self__, *, :param pulumi.Input[str] objective: The current value for the IORM objective. The default is `AUTO`. :param pulumi.Input[str] state: The current state of the DB system. """ + DbSystemsUpgradeIormConfigCachArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_plans=db_plans, + lifecycle_details=lifecycle_details, + objective=objective, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_plans: Optional[pulumi.Input[Sequence[pulumi.Input['DbSystemsUpgradeIormConfigCachDbPlanArgs']]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + objective: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if db_plans is not None: - pulumi.set(__self__, "db_plans", db_plans) + _setter("db_plans", db_plans) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if objective is not None: - pulumi.set(__self__, "objective", objective) + _setter("objective", objective) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) @property @pulumi.getter(name="dbPlans") @@ -7279,12 +8741,25 @@ def __init__(__self__, *, :param pulumi.Input[str] flash_cache_limit: The flash cache limit for this database. This value is internally configured based on the share value assigned to the database. :param pulumi.Input[int] share: The relative priority of this database. """ + DbSystemsUpgradeIormConfigCachDbPlanArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_name=db_name, + flash_cache_limit=flash_cache_limit, + share=share, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_name: Optional[pulumi.Input[str]] = None, + flash_cache_limit: Optional[pulumi.Input[str]] = None, + share: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if db_name is not None: - pulumi.set(__self__, "db_name", db_name) + _setter("db_name", db_name) if flash_cache_limit is not None: - pulumi.set(__self__, "flash_cache_limit", flash_cache_limit) + _setter("flash_cache_limit", flash_cache_limit) if share is not None: - pulumi.set(__self__, "share", share) + _setter("share", share) @property @pulumi.getter(name="dbName") @@ -7341,18 +8816,37 @@ def __init__(__self__, *, :param pulumi.Input[str] preference: The maintenance window scheduling preference. :param pulumi.Input[Sequence[pulumi.Input[int]]] weeks_of_months: Weeks during the month when maintenance should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week. For example, to allow maintenance during the 2nd week of the month (from the 8th day to the 14th day of the month), use the value 2. Maintenance cannot be scheduled for the fifth week of months that contain more than 28 days. Note that this parameter works in conjunction with the daysOfWeek and hoursOfDay parameters to allow you to specify specific days of the week and hours that maintenance will be performed. """ + DbSystemsUpgradeMaintenanceWindowArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + days_of_weeks=days_of_weeks, + hours_of_days=hours_of_days, + lead_time_in_weeks=lead_time_in_weeks, + months=months, + preference=preference, + weeks_of_months=weeks_of_months, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + days_of_weeks: Optional[pulumi.Input[Sequence[pulumi.Input['DbSystemsUpgradeMaintenanceWindowDaysOfWeekArgs']]]] = None, + hours_of_days: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None, + lead_time_in_weeks: Optional[pulumi.Input[int]] = None, + months: Optional[pulumi.Input[Sequence[pulumi.Input['DbSystemsUpgradeMaintenanceWindowMonthArgs']]]] = None, + preference: Optional[pulumi.Input[str]] = None, + weeks_of_months: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if days_of_weeks is not None: - pulumi.set(__self__, "days_of_weeks", days_of_weeks) + _setter("days_of_weeks", days_of_weeks) if hours_of_days is not None: - pulumi.set(__self__, "hours_of_days", hours_of_days) + _setter("hours_of_days", hours_of_days) if lead_time_in_weeks is not None: - pulumi.set(__self__, "lead_time_in_weeks", lead_time_in_weeks) + _setter("lead_time_in_weeks", lead_time_in_weeks) if months is not None: - pulumi.set(__self__, "months", months) + _setter("months", months) if preference is not None: - pulumi.set(__self__, "preference", preference) + _setter("preference", preference) if weeks_of_months is not None: - pulumi.set(__self__, "weeks_of_months", weeks_of_months) + _setter("weeks_of_months", weeks_of_months) @property @pulumi.getter(name="daysOfWeeks") @@ -7435,8 +8929,17 @@ def __init__(__self__, *, """ :param pulumi.Input[str] name: Name of the month of the year. """ + DbSystemsUpgradeMaintenanceWindowDaysOfWeekArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -7458,8 +8961,17 @@ def __init__(__self__, *, """ :param pulumi.Input[str] name: Name of the month of the year. """ + DbSystemsUpgradeMaintenanceWindowMonthArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -7489,16 +9001,33 @@ def __init__(__self__, *, :param pulumi.Input[str] name: Name of the month of the year. :param pulumi.Input[str] phone_number: The phone number for the Exadata Infrastructure contact. """ + ExadataInfrastructureComputeContactArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + email=email, + is_contact_mos_validated=is_contact_mos_validated, + is_primary=is_primary, + name=name, + phone_number=phone_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + email: Optional[pulumi.Input[str]] = None, + is_contact_mos_validated: Optional[pulumi.Input[bool]] = None, + is_primary: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + phone_number: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if email is not None: - pulumi.set(__self__, "email", email) + _setter("email", email) if is_contact_mos_validated is not None: - pulumi.set(__self__, "is_contact_mos_validated", is_contact_mos_validated) + _setter("is_contact_mos_validated", is_contact_mos_validated) if is_primary is not None: - pulumi.set(__self__, "is_primary", is_primary) + _setter("is_primary", is_primary) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if phone_number is not None: - pulumi.set(__self__, "phone_number", phone_number) + _setter("phone_number", phone_number) @property @pulumi.getter @@ -7587,26 +9116,53 @@ def __init__(__self__, *, :param pulumi.Input[str] preference: The maintenance window scheduling preference. :param pulumi.Input[Sequence[pulumi.Input[int]]] weeks_of_months: Weeks during the month when maintenance should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week. For example, to allow maintenance during the 2nd week of the month (from the 8th day to the 14th day of the month), use the value 2. Maintenance cannot be scheduled for the fifth week of months that contain more than 28 days. Note that this parameter works in conjunction with the daysOfWeek and hoursOfDay parameters to allow you to specify specific days of the week and hours that maintenance will be performed. """ + ExadataInfrastructureComputeMaintenanceWindowArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_action_timeout_in_mins=custom_action_timeout_in_mins, + days_of_weeks=days_of_weeks, + hours_of_days=hours_of_days, + is_custom_action_timeout_enabled=is_custom_action_timeout_enabled, + is_monthly_patching_enabled=is_monthly_patching_enabled, + lead_time_in_weeks=lead_time_in_weeks, + months=months, + patching_mode=patching_mode, + preference=preference, + weeks_of_months=weeks_of_months, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_action_timeout_in_mins: Optional[pulumi.Input[int]] = None, + days_of_weeks: Optional[pulumi.Input[Sequence[pulumi.Input['ExadataInfrastructureComputeMaintenanceWindowDaysOfWeekArgs']]]] = None, + hours_of_days: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None, + is_custom_action_timeout_enabled: Optional[pulumi.Input[bool]] = None, + is_monthly_patching_enabled: Optional[pulumi.Input[bool]] = None, + lead_time_in_weeks: Optional[pulumi.Input[int]] = None, + months: Optional[pulumi.Input[Sequence[pulumi.Input['ExadataInfrastructureComputeMaintenanceWindowMonthArgs']]]] = None, + patching_mode: Optional[pulumi.Input[str]] = None, + preference: Optional[pulumi.Input[str]] = None, + weeks_of_months: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if custom_action_timeout_in_mins is not None: - pulumi.set(__self__, "custom_action_timeout_in_mins", custom_action_timeout_in_mins) + _setter("custom_action_timeout_in_mins", custom_action_timeout_in_mins) if days_of_weeks is not None: - pulumi.set(__self__, "days_of_weeks", days_of_weeks) + _setter("days_of_weeks", days_of_weeks) if hours_of_days is not None: - pulumi.set(__self__, "hours_of_days", hours_of_days) + _setter("hours_of_days", hours_of_days) if is_custom_action_timeout_enabled is not None: - pulumi.set(__self__, "is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) + _setter("is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) if is_monthly_patching_enabled is not None: - pulumi.set(__self__, "is_monthly_patching_enabled", is_monthly_patching_enabled) + _setter("is_monthly_patching_enabled", is_monthly_patching_enabled) if lead_time_in_weeks is not None: - pulumi.set(__self__, "lead_time_in_weeks", lead_time_in_weeks) + _setter("lead_time_in_weeks", lead_time_in_weeks) if months is not None: - pulumi.set(__self__, "months", months) + _setter("months", months) if patching_mode is not None: - pulumi.set(__self__, "patching_mode", patching_mode) + _setter("patching_mode", patching_mode) if preference is not None: - pulumi.set(__self__, "preference", preference) + _setter("preference", preference) if weeks_of_months is not None: - pulumi.set(__self__, "weeks_of_months", weeks_of_months) + _setter("weeks_of_months", weeks_of_months) @property @pulumi.getter(name="customActionTimeoutInMins") @@ -7737,8 +9293,17 @@ def __init__(__self__, *, """ :param pulumi.Input[str] name: Name of the month of the year. """ + ExadataInfrastructureComputeMaintenanceWindowDaysOfWeekArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -7760,8 +9325,17 @@ def __init__(__self__, *, """ :param pulumi.Input[str] name: Name of the month of the year. """ + ExadataInfrastructureComputeMaintenanceWindowMonthArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -7791,13 +9365,30 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_contact_mos_validated: (Updatable) If `true`, this Exadata Infrastructure contact is a valid My Oracle Support (MOS) contact. If `false`, this Exadata Infrastructure contact is not a valid MOS contact. :param pulumi.Input[str] phone_number: (Updatable) The phone number for the Exadata Infrastructure contact. """ - pulumi.set(__self__, "email", email) - pulumi.set(__self__, "is_primary", is_primary) - pulumi.set(__self__, "name", name) + ExadataInfrastructureContactArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + email=email, + is_primary=is_primary, + name=name, + is_contact_mos_validated=is_contact_mos_validated, + phone_number=phone_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + email: pulumi.Input[str], + is_primary: pulumi.Input[bool], + name: pulumi.Input[str], + is_contact_mos_validated: Optional[pulumi.Input[bool]] = None, + phone_number: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("email", email) + _setter("is_primary", is_primary) + _setter("name", name) if is_contact_mos_validated is not None: - pulumi.set(__self__, "is_contact_mos_validated", is_contact_mos_validated) + _setter("is_contact_mos_validated", is_contact_mos_validated) if phone_number is not None: - pulumi.set(__self__, "phone_number", phone_number) + _setter("phone_number", phone_number) @property @pulumi.getter @@ -7888,26 +9479,53 @@ def __init__(__self__, *, :param pulumi.Input[str] preference: (Updatable) The maintenance window scheduling preference. :param pulumi.Input[Sequence[pulumi.Input[int]]] weeks_of_months: (Updatable) Weeks during the month when maintenance should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week. For example, to allow maintenance during the 2nd week of the month (from the 8th day to the 14th day of the month), use the value 2. Maintenance cannot be scheduled for the fifth week of months that contain more than 28 days. Note that this parameter works in conjunction with the daysOfWeek and hoursOfDay parameters to allow you to specify specific days of the week and hours that maintenance will be performed. """ + ExadataInfrastructureMaintenanceWindowArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_action_timeout_in_mins=custom_action_timeout_in_mins, + days_of_weeks=days_of_weeks, + hours_of_days=hours_of_days, + is_custom_action_timeout_enabled=is_custom_action_timeout_enabled, + is_monthly_patching_enabled=is_monthly_patching_enabled, + lead_time_in_weeks=lead_time_in_weeks, + months=months, + patching_mode=patching_mode, + preference=preference, + weeks_of_months=weeks_of_months, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_action_timeout_in_mins: Optional[pulumi.Input[int]] = None, + days_of_weeks: Optional[pulumi.Input[Sequence[pulumi.Input['ExadataInfrastructureMaintenanceWindowDaysOfWeekArgs']]]] = None, + hours_of_days: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None, + is_custom_action_timeout_enabled: Optional[pulumi.Input[bool]] = None, + is_monthly_patching_enabled: Optional[pulumi.Input[bool]] = None, + lead_time_in_weeks: Optional[pulumi.Input[int]] = None, + months: Optional[pulumi.Input[Sequence[pulumi.Input['ExadataInfrastructureMaintenanceWindowMonthArgs']]]] = None, + patching_mode: Optional[pulumi.Input[str]] = None, + preference: Optional[pulumi.Input[str]] = None, + weeks_of_months: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if custom_action_timeout_in_mins is not None: - pulumi.set(__self__, "custom_action_timeout_in_mins", custom_action_timeout_in_mins) + _setter("custom_action_timeout_in_mins", custom_action_timeout_in_mins) if days_of_weeks is not None: - pulumi.set(__self__, "days_of_weeks", days_of_weeks) + _setter("days_of_weeks", days_of_weeks) if hours_of_days is not None: - pulumi.set(__self__, "hours_of_days", hours_of_days) + _setter("hours_of_days", hours_of_days) if is_custom_action_timeout_enabled is not None: - pulumi.set(__self__, "is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) + _setter("is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) if is_monthly_patching_enabled is not None: - pulumi.set(__self__, "is_monthly_patching_enabled", is_monthly_patching_enabled) + _setter("is_monthly_patching_enabled", is_monthly_patching_enabled) if lead_time_in_weeks is not None: - pulumi.set(__self__, "lead_time_in_weeks", lead_time_in_weeks) + _setter("lead_time_in_weeks", lead_time_in_weeks) if months is not None: - pulumi.set(__self__, "months", months) + _setter("months", months) if patching_mode is not None: - pulumi.set(__self__, "patching_mode", patching_mode) + _setter("patching_mode", patching_mode) if preference is not None: - pulumi.set(__self__, "preference", preference) + _setter("preference", preference) if weeks_of_months is not None: - pulumi.set(__self__, "weeks_of_months", weeks_of_months) + _setter("weeks_of_months", weeks_of_months) @property @pulumi.getter(name="customActionTimeoutInMins") @@ -8040,7 +9658,16 @@ def __init__(__self__, *, """ :param pulumi.Input[str] name: (Updatable) Name of the month of the year. """ - pulumi.set(__self__, "name", name) + ExadataInfrastructureMaintenanceWindowDaysOfWeekArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -8062,7 +9689,16 @@ def __init__(__self__, *, """ :param pulumi.Input[str] name: (Updatable) Name of the month of the year. """ - pulumi.set(__self__, "name", name) + ExadataInfrastructureMaintenanceWindowMonthArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -8088,12 +9724,25 @@ def __init__(__self__, *, :param pulumi.Input[str] client_network_bonding_mode: (Updatable) The network bonding mode for the Exadata infrastructure. :param pulumi.Input[str] dr_network_bonding_mode: (Updatable) The network bonding mode for the Exadata infrastructure. """ + ExadataInfrastructureNetworkBondingModeDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + backup_network_bonding_mode=backup_network_bonding_mode, + client_network_bonding_mode=client_network_bonding_mode, + dr_network_bonding_mode=dr_network_bonding_mode, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backup_network_bonding_mode: Optional[pulumi.Input[str]] = None, + client_network_bonding_mode: Optional[pulumi.Input[str]] = None, + dr_network_bonding_mode: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if backup_network_bonding_mode is not None: - pulumi.set(__self__, "backup_network_bonding_mode", backup_network_bonding_mode) + _setter("backup_network_bonding_mode", backup_network_bonding_mode) if client_network_bonding_mode is not None: - pulumi.set(__self__, "client_network_bonding_mode", client_network_bonding_mode) + _setter("client_network_bonding_mode", client_network_bonding_mode) if dr_network_bonding_mode is not None: - pulumi.set(__self__, "dr_network_bonding_mode", dr_network_bonding_mode) + _setter("dr_network_bonding_mode", dr_network_bonding_mode) @property @pulumi.getter(name="backupNetworkBondingMode") @@ -8140,13 +9789,30 @@ def __init__(__self__, *, name: pulumi.Input[str], is_contact_mos_validated: Optional[pulumi.Input[bool]] = None, phone_number: Optional[pulumi.Input[str]] = None): - pulumi.set(__self__, "email", email) - pulumi.set(__self__, "is_primary", is_primary) - pulumi.set(__self__, "name", name) + ExadataInfrastructureStorageContactArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + email=email, + is_primary=is_primary, + name=name, + is_contact_mos_validated=is_contact_mos_validated, + phone_number=phone_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + email: pulumi.Input[str], + is_primary: pulumi.Input[bool], + name: pulumi.Input[str], + is_contact_mos_validated: Optional[pulumi.Input[bool]] = None, + phone_number: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("email", email) + _setter("is_primary", is_primary) + _setter("name", name) if is_contact_mos_validated is not None: - pulumi.set(__self__, "is_contact_mos_validated", is_contact_mos_validated) + _setter("is_contact_mos_validated", is_contact_mos_validated) if phone_number is not None: - pulumi.set(__self__, "phone_number", phone_number) + _setter("phone_number", phone_number) @property @pulumi.getter @@ -8203,17 +9869,36 @@ def __init__(__self__, *, lead_time_in_weeks: Optional[pulumi.Input[int]] = None, months: Optional[pulumi.Input[Sequence[pulumi.Input['ExadataInfrastructureStorageMaintenanceWindowMonthArgs']]]] = None, weeks_of_months: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None): - pulumi.set(__self__, "preference", preference) + ExadataInfrastructureStorageMaintenanceWindowArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + preference=preference, + days_of_weeks=days_of_weeks, + hours_of_days=hours_of_days, + lead_time_in_weeks=lead_time_in_weeks, + months=months, + weeks_of_months=weeks_of_months, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + preference: pulumi.Input[str], + days_of_weeks: Optional[pulumi.Input[Sequence[pulumi.Input['ExadataInfrastructureStorageMaintenanceWindowDaysOfWeekArgs']]]] = None, + hours_of_days: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None, + lead_time_in_weeks: Optional[pulumi.Input[int]] = None, + months: Optional[pulumi.Input[Sequence[pulumi.Input['ExadataInfrastructureStorageMaintenanceWindowMonthArgs']]]] = None, + weeks_of_months: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("preference", preference) if days_of_weeks is not None: - pulumi.set(__self__, "days_of_weeks", days_of_weeks) + _setter("days_of_weeks", days_of_weeks) if hours_of_days is not None: - pulumi.set(__self__, "hours_of_days", hours_of_days) + _setter("hours_of_days", hours_of_days) if lead_time_in_weeks is not None: - pulumi.set(__self__, "lead_time_in_weeks", lead_time_in_weeks) + _setter("lead_time_in_weeks", lead_time_in_weeks) if months is not None: - pulumi.set(__self__, "months", months) + _setter("months", months) if weeks_of_months is not None: - pulumi.set(__self__, "weeks_of_months", weeks_of_months) + _setter("weeks_of_months", weeks_of_months) @property @pulumi.getter @@ -8274,7 +9959,16 @@ def weeks_of_months(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[int class ExadataInfrastructureStorageMaintenanceWindowDaysOfWeekArgs: def __init__(__self__, *, name: pulumi.Input[str]): - pulumi.set(__self__, "name", name) + ExadataInfrastructureStorageMaintenanceWindowDaysOfWeekArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -8290,7 +9984,16 @@ def name(self, value: pulumi.Input[str]): class ExadataInfrastructureStorageMaintenanceWindowMonthArgs: def __init__(__self__, *, name: pulumi.Input[str]): - pulumi.set(__self__, "name", name) + ExadataInfrastructureStorageMaintenanceWindowMonthArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -8313,10 +10016,23 @@ def __init__(__self__, *, :param pulumi.Input[int] share: (Updatable) The relative priority of this database. :param pulumi.Input[str] flash_cache_limit: The flash cache limit for this database. This value is internally configured based on the share value assigned to the database. """ - pulumi.set(__self__, "db_name", db_name) - pulumi.set(__self__, "share", share) + ExadataIormConfigDbPlanArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_name=db_name, + share=share, + flash_cache_limit=flash_cache_limit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_name: pulumi.Input[str], + share: pulumi.Input[int], + flash_cache_limit: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("db_name", db_name) + _setter("share", share) if flash_cache_limit is not None: - pulumi.set(__self__, "flash_cache_limit", flash_cache_limit) + _setter("flash_cache_limit", flash_cache_limit) @property @pulumi.getter(name="dbName") @@ -8366,12 +10082,25 @@ def __init__(__self__, *, :param pulumi.Input[str] database_management_status: The status of the Database Management service. :param pulumi.Input[str] license_model: The Oracle license model that applies to the external database. """ + ExternalContainerDatabaseDatabaseManagementConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + database_management_connection_id=database_management_connection_id, + database_management_status=database_management_status, + license_model=license_model, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + database_management_connection_id: Optional[pulumi.Input[str]] = None, + database_management_status: Optional[pulumi.Input[str]] = None, + license_model: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if database_management_connection_id is not None: - pulumi.set(__self__, "database_management_connection_id", database_management_connection_id) + _setter("database_management_connection_id", database_management_connection_id) if database_management_status is not None: - pulumi.set(__self__, "database_management_status", database_management_status) + _setter("database_management_status", database_management_status) if license_model is not None: - pulumi.set(__self__, "license_model", license_model) + _setter("license_model", license_model) @property @pulumi.getter(name="databaseManagementConnectionId") @@ -8419,10 +10148,21 @@ def __init__(__self__, *, :param pulumi.Input[str] stack_monitoring_connector_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the [external database connector](https://docs.cloud.oracle.com/iaas/api/#/en/database/latest/datatypes/CreateExternalDatabaseConnectorDetails). :param pulumi.Input[str] stack_monitoring_status: The status of Stack Monitoring. """ + ExternalContainerDatabaseStackMonitoringConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + stack_monitoring_connector_id=stack_monitoring_connector_id, + stack_monitoring_status=stack_monitoring_status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + stack_monitoring_connector_id: Optional[pulumi.Input[str]] = None, + stack_monitoring_status: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if stack_monitoring_connector_id is not None: - pulumi.set(__self__, "stack_monitoring_connector_id", stack_monitoring_connector_id) + _setter("stack_monitoring_connector_id", stack_monitoring_connector_id) if stack_monitoring_status is not None: - pulumi.set(__self__, "stack_monitoring_status", stack_monitoring_status) + _setter("stack_monitoring_status", stack_monitoring_status) @property @pulumi.getter(name="stackMonitoringConnectorId") @@ -8468,18 +10208,37 @@ def __init__(__self__, *, :param pulumi.Input[str] ssl_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure [secret](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). :param pulumi.Input[str] username: (Updatable) The username that will be used to connect to the database. """ + ExternalDatabaseConnectorConnectionCredentialsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + credential_name=credential_name, + credential_type=credential_type, + password=password, + role=role, + ssl_secret_id=ssl_secret_id, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + credential_name: Optional[pulumi.Input[str]] = None, + credential_type: Optional[pulumi.Input[str]] = None, + password: Optional[pulumi.Input[str]] = None, + role: Optional[pulumi.Input[str]] = None, + ssl_secret_id: Optional[pulumi.Input[str]] = None, + username: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if credential_name is not None: - pulumi.set(__self__, "credential_name", credential_name) + _setter("credential_name", credential_name) if credential_type is not None: - pulumi.set(__self__, "credential_type", credential_type) + _setter("credential_type", credential_type) if password is not None: - pulumi.set(__self__, "password", password) + _setter("password", password) if role is not None: - pulumi.set(__self__, "role", role) + _setter("role", role) if ssl_secret_id is not None: - pulumi.set(__self__, "ssl_secret_id", ssl_secret_id) + _setter("ssl_secret_id", ssl_secret_id) if username is not None: - pulumi.set(__self__, "username", username) + _setter("username", username) @property @pulumi.getter(name="credentialName") @@ -8569,10 +10328,25 @@ def __init__(__self__, *, :param pulumi.Input[str] protocol: (Updatable) The protocol used to connect to the database. :param pulumi.Input[str] service: (Updatable) The name of the service alias used to connect to the database. """ - pulumi.set(__self__, "hostname", hostname) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "service", service) + ExternalDatabaseConnectorConnectionStringArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + hostname=hostname, + port=port, + protocol=protocol, + service=service, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hostname: pulumi.Input[str], + port: pulumi.Input[int], + protocol: pulumi.Input[str], + service: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("hostname", hostname) + _setter("port", port) + _setter("protocol", protocol) + _setter("service", service) @property @pulumi.getter @@ -8634,12 +10408,25 @@ def __init__(__self__, *, :param pulumi.Input[str] database_management_status: The status of the Database Management service. :param pulumi.Input[str] license_model: The Oracle license model that applies to the external database. """ + ExternalNonContainerDatabaseDatabaseManagementConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + database_management_connection_id=database_management_connection_id, + database_management_status=database_management_status, + license_model=license_model, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + database_management_connection_id: Optional[pulumi.Input[str]] = None, + database_management_status: Optional[pulumi.Input[str]] = None, + license_model: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if database_management_connection_id is not None: - pulumi.set(__self__, "database_management_connection_id", database_management_connection_id) + _setter("database_management_connection_id", database_management_connection_id) if database_management_status is not None: - pulumi.set(__self__, "database_management_status", database_management_status) + _setter("database_management_status", database_management_status) if license_model is not None: - pulumi.set(__self__, "license_model", license_model) + _setter("license_model", license_model) @property @pulumi.getter(name="databaseManagementConnectionId") @@ -8687,10 +10474,21 @@ def __init__(__self__, *, :param pulumi.Input[str] operations_insights_connector_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the [external database connector](https://docs.cloud.oracle.com/iaas/api/#/en/database/latest/datatypes/CreateExternalDatabaseConnectorDetails). :param pulumi.Input[str] operations_insights_status: The status of Operations Insights """ + ExternalNonContainerDatabaseOperationsInsightsConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + operations_insights_connector_id=operations_insights_connector_id, + operations_insights_status=operations_insights_status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + operations_insights_connector_id: Optional[pulumi.Input[str]] = None, + operations_insights_status: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if operations_insights_connector_id is not None: - pulumi.set(__self__, "operations_insights_connector_id", operations_insights_connector_id) + _setter("operations_insights_connector_id", operations_insights_connector_id) if operations_insights_status is not None: - pulumi.set(__self__, "operations_insights_status", operations_insights_status) + _setter("operations_insights_status", operations_insights_status) @property @pulumi.getter(name="operationsInsightsConnectorId") @@ -8726,10 +10524,21 @@ def __init__(__self__, *, :param pulumi.Input[str] stack_monitoring_connector_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the [external database connector](https://docs.cloud.oracle.com/iaas/api/#/en/database/latest/datatypes/CreateExternalDatabaseConnectorDetails). :param pulumi.Input[str] stack_monitoring_status: The status of Stack Monitoring. """ + ExternalNonContainerDatabaseStackMonitoringConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + stack_monitoring_connector_id=stack_monitoring_connector_id, + stack_monitoring_status=stack_monitoring_status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + stack_monitoring_connector_id: Optional[pulumi.Input[str]] = None, + stack_monitoring_status: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if stack_monitoring_connector_id is not None: - pulumi.set(__self__, "stack_monitoring_connector_id", stack_monitoring_connector_id) + _setter("stack_monitoring_connector_id", stack_monitoring_connector_id) if stack_monitoring_status is not None: - pulumi.set(__self__, "stack_monitoring_status", stack_monitoring_status) + _setter("stack_monitoring_status", stack_monitoring_status) @property @pulumi.getter(name="stackMonitoringConnectorId") @@ -8767,12 +10576,25 @@ def __init__(__self__, *, :param pulumi.Input[str] database_management_status: The status of the Database Management service. :param pulumi.Input[str] license_model: The Oracle license model that applies to the external database. """ + ExternalPluggableDatabaseDatabaseManagementConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + database_management_connection_id=database_management_connection_id, + database_management_status=database_management_status, + license_model=license_model, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + database_management_connection_id: Optional[pulumi.Input[str]] = None, + database_management_status: Optional[pulumi.Input[str]] = None, + license_model: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if database_management_connection_id is not None: - pulumi.set(__self__, "database_management_connection_id", database_management_connection_id) + _setter("database_management_connection_id", database_management_connection_id) if database_management_status is not None: - pulumi.set(__self__, "database_management_status", database_management_status) + _setter("database_management_status", database_management_status) if license_model is not None: - pulumi.set(__self__, "license_model", license_model) + _setter("license_model", license_model) @property @pulumi.getter(name="databaseManagementConnectionId") @@ -8820,10 +10642,21 @@ def __init__(__self__, *, :param pulumi.Input[str] operations_insights_connector_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the [external database connector](https://docs.cloud.oracle.com/iaas/api/#/en/database/latest/datatypes/CreateExternalDatabaseConnectorDetails). :param pulumi.Input[str] operations_insights_status: The status of Operations Insights """ + ExternalPluggableDatabaseOperationsInsightsConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + operations_insights_connector_id=operations_insights_connector_id, + operations_insights_status=operations_insights_status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + operations_insights_connector_id: Optional[pulumi.Input[str]] = None, + operations_insights_status: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if operations_insights_connector_id is not None: - pulumi.set(__self__, "operations_insights_connector_id", operations_insights_connector_id) + _setter("operations_insights_connector_id", operations_insights_connector_id) if operations_insights_status is not None: - pulumi.set(__self__, "operations_insights_status", operations_insights_status) + _setter("operations_insights_status", operations_insights_status) @property @pulumi.getter(name="operationsInsightsConnectorId") @@ -8859,10 +10692,21 @@ def __init__(__self__, *, :param pulumi.Input[str] stack_monitoring_connector_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the [external database connector](https://docs.cloud.oracle.com/iaas/api/#/en/database/latest/datatypes/CreateExternalDatabaseConnectorDetails). :param pulumi.Input[str] stack_monitoring_status: The status of Stack Monitoring. """ + ExternalPluggableDatabaseStackMonitoringConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + stack_monitoring_connector_id=stack_monitoring_connector_id, + stack_monitoring_status=stack_monitoring_status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + stack_monitoring_connector_id: Optional[pulumi.Input[str]] = None, + stack_monitoring_status: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if stack_monitoring_connector_id is not None: - pulumi.set(__self__, "stack_monitoring_connector_id", stack_monitoring_connector_id) + _setter("stack_monitoring_connector_id", stack_monitoring_connector_id) if stack_monitoring_status is not None: - pulumi.set(__self__, "stack_monitoring_status", stack_monitoring_status) + _setter("stack_monitoring_status", stack_monitoring_status) @property @pulumi.getter(name="stackMonitoringConnectorId") @@ -8898,10 +10742,21 @@ def __init__(__self__, *, :param pulumi.Input[str] db_name: The name of the database that is associated with the key store. :param pulumi.Input[str] id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the key store. """ + KeyStoreAssociatedDatabaseArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_name=db_name, + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_name: Optional[pulumi.Input[str]] = None, + id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if db_name is not None: - pulumi.set(__self__, "db_name", db_name) + _setter("db_name", db_name) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) @property @pulumi.getter(name="dbName") @@ -8947,11 +10802,28 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "admin_username", admin_username) - pulumi.set(__self__, "connection_ips", connection_ips) - pulumi.set(__self__, "secret_id", secret_id) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "vault_id", vault_id) + KeyStoreTypeDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + admin_username=admin_username, + connection_ips=connection_ips, + secret_id=secret_id, + type=type, + vault_id=vault_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + admin_username: pulumi.Input[str], + connection_ips: pulumi.Input[Sequence[pulumi.Input[str]]], + secret_id: pulumi.Input[str], + type: pulumi.Input[str], + vault_id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("admin_username", admin_username) + _setter("connection_ips", connection_ips) + _setter("secret_id", secret_id) + _setter("type", type) + _setter("vault_id", vault_id) @property @pulumi.getter(name="adminUsername") @@ -9031,14 +10903,29 @@ def __init__(__self__, *, :param pulumi.Input[int] estimated_storage_server_patching_time: The estimated time required in minutes for storage server patching. :param pulumi.Input[int] total_estimated_patching_time: The estimated total time required in minutes for all patching operations. """ + MaintenanceRunEstimatedPatchingTimeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + estimated_db_server_patching_time=estimated_db_server_patching_time, + estimated_network_switches_patching_time=estimated_network_switches_patching_time, + estimated_storage_server_patching_time=estimated_storage_server_patching_time, + total_estimated_patching_time=total_estimated_patching_time, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + estimated_db_server_patching_time: Optional[pulumi.Input[int]] = None, + estimated_network_switches_patching_time: Optional[pulumi.Input[int]] = None, + estimated_storage_server_patching_time: Optional[pulumi.Input[int]] = None, + total_estimated_patching_time: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if estimated_db_server_patching_time is not None: - pulumi.set(__self__, "estimated_db_server_patching_time", estimated_db_server_patching_time) + _setter("estimated_db_server_patching_time", estimated_db_server_patching_time) if estimated_network_switches_patching_time is not None: - pulumi.set(__self__, "estimated_network_switches_patching_time", estimated_network_switches_patching_time) + _setter("estimated_network_switches_patching_time", estimated_network_switches_patching_time) if estimated_storage_server_patching_time is not None: - pulumi.set(__self__, "estimated_storage_server_patching_time", estimated_storage_server_patching_time) + _setter("estimated_storage_server_patching_time", estimated_storage_server_patching_time) if total_estimated_patching_time is not None: - pulumi.set(__self__, "total_estimated_patching_time", total_estimated_patching_time) + _setter("total_estimated_patching_time", total_estimated_patching_time) @property @pulumi.getter(name="estimatedDbServerPatchingTime") @@ -9100,12 +10987,25 @@ def __init__(__self__, *, :param pulumi.Input[str] pdb_default: A host name-based PDB connection string. :param pulumi.Input[str] pdb_ip_default: An IP-based PDB connection string. """ + PluggableDatabaseConnectionStringArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + all_connection_strings=all_connection_strings, + pdb_default=pdb_default, + pdb_ip_default=pdb_ip_default, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + all_connection_strings: Optional[pulumi.Input[Mapping[str, Any]]] = None, + pdb_default: Optional[pulumi.Input[str]] = None, + pdb_ip_default: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if all_connection_strings is not None: - pulumi.set(__self__, "all_connection_strings", all_connection_strings) + _setter("all_connection_strings", all_connection_strings) if pdb_default is not None: - pulumi.set(__self__, "pdb_default", pdb_default) + _setter("pdb_default", pdb_default) if pdb_ip_default is not None: - pulumi.set(__self__, "pdb_ip_default", pdb_ip_default) + _setter("pdb_ip_default", pdb_ip_default) @property @pulumi.getter(name="allConnectionStrings") @@ -9161,13 +11061,28 @@ def __init__(__self__, *, :param pulumi.Input[str] pdb_default: A host name-based PDB connection string. :param pulumi.Input[str] pdb_ip_default: An IP-based PDB connection string. """ - pulumi.set(__self__, "enable_pluggabledatabasemanagement", enable_pluggabledatabasemanagement) + PluggableDatabaseManagementsManagementConnectionStringArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + enable_pluggabledatabasemanagement=enable_pluggabledatabasemanagement, + all_connection_strings=all_connection_strings, + pdb_default=pdb_default, + pdb_ip_default=pdb_ip_default, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + enable_pluggabledatabasemanagement: pulumi.Input[bool], + all_connection_strings: Optional[pulumi.Input[Mapping[str, Any]]] = None, + pdb_default: Optional[pulumi.Input[str]] = None, + pdb_ip_default: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("enable_pluggabledatabasemanagement", enable_pluggabledatabasemanagement) if all_connection_strings is not None: - pulumi.set(__self__, "all_connection_strings", all_connection_strings) + _setter("all_connection_strings", all_connection_strings) if pdb_default is not None: - pulumi.set(__self__, "pdb_default", pdb_default) + _setter("pdb_default", pdb_default) if pdb_ip_default is not None: - pulumi.set(__self__, "pdb_ip_default", pdb_ip_default) + _setter("pdb_ip_default", pdb_ip_default) @property @pulumi.getter(name="enablePluggabledatabasemanagement") @@ -9231,8 +11146,19 @@ def __init__(__self__, *, :param pulumi.Input[str] password_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure [secret](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). :param pulumi.Input[str] user_name: The name of the Oracle Database user that will be used to connect to the database. """ - pulumi.set(__self__, "password_secret_id", password_secret_id) - pulumi.set(__self__, "user_name", user_name) + PluggableDatabaseManagementsManagementCredentialDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + password_secret_id=password_secret_id, + user_name=user_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + password_secret_id: pulumi.Input[str], + user_name: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("password_secret_id", password_secret_id) + _setter("user_name", user_name) @property @pulumi.getter(name="passwordSecretId") @@ -9272,9 +11198,20 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] management_status: The status of the Pluggable Database Management service. """ - pulumi.set(__self__, "enable_pluggabledatabasemanagement", enable_pluggabledatabasemanagement) + PluggableDatabaseManagementsManagementPluggableDatabaseManagementConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + enable_pluggabledatabasemanagement=enable_pluggabledatabasemanagement, + management_status=management_status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + enable_pluggabledatabasemanagement: pulumi.Input[bool], + management_status: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("enable_pluggabledatabasemanagement", enable_pluggabledatabasemanagement) if management_status is not None: - pulumi.set(__self__, "management_status", management_status) + _setter("management_status", management_status) @property @pulumi.getter(name="enablePluggabledatabasemanagement") @@ -9312,8 +11249,17 @@ def __init__(__self__, *, """ :param pulumi.Input[str] management_status: The status of the Pluggable Database Management service. """ + PluggableDatabasePluggableDatabaseManagementConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + management_status=management_status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + management_status: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if management_status is not None: - pulumi.set(__self__, "management_status", management_status) + _setter("management_status", management_status) @property @pulumi.getter(name="managementStatus") @@ -9339,12 +11285,25 @@ def __init__(__self__, *, :param pulumi.Input[str] pdb_default: A host name-based PDB connection string. :param pulumi.Input[str] pdb_ip_default: An IP-based PDB connection string. """ + PluggableDatabasesLocalCloneConnectionStringArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + all_connection_strings=all_connection_strings, + pdb_default=pdb_default, + pdb_ip_default=pdb_ip_default, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + all_connection_strings: Optional[pulumi.Input[Mapping[str, Any]]] = None, + pdb_default: Optional[pulumi.Input[str]] = None, + pdb_ip_default: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if all_connection_strings is not None: - pulumi.set(__self__, "all_connection_strings", all_connection_strings) + _setter("all_connection_strings", all_connection_strings) if pdb_default is not None: - pulumi.set(__self__, "pdb_default", pdb_default) + _setter("pdb_default", pdb_default) if pdb_ip_default is not None: - pulumi.set(__self__, "pdb_ip_default", pdb_ip_default) + _setter("pdb_ip_default", pdb_ip_default) @property @pulumi.getter(name="allConnectionStrings") @@ -9390,8 +11349,17 @@ def __init__(__self__, *, """ :param pulumi.Input[str] management_status: The status of the Pluggable Database Management service. """ + PluggableDatabasesLocalClonePluggableDatabaseManagementConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + management_status=management_status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + management_status: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if management_status is not None: - pulumi.set(__self__, "management_status", management_status) + _setter("management_status", management_status) @property @pulumi.getter(name="managementStatus") @@ -9417,12 +11385,25 @@ def __init__(__self__, *, :param pulumi.Input[str] pdb_default: A host name-based PDB connection string. :param pulumi.Input[str] pdb_ip_default: An IP-based PDB connection string. """ + PluggableDatabasesRemoteCloneConnectionStringArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + all_connection_strings=all_connection_strings, + pdb_default=pdb_default, + pdb_ip_default=pdb_ip_default, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + all_connection_strings: Optional[pulumi.Input[Mapping[str, Any]]] = None, + pdb_default: Optional[pulumi.Input[str]] = None, + pdb_ip_default: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if all_connection_strings is not None: - pulumi.set(__self__, "all_connection_strings", all_connection_strings) + _setter("all_connection_strings", all_connection_strings) if pdb_default is not None: - pulumi.set(__self__, "pdb_default", pdb_default) + _setter("pdb_default", pdb_default) if pdb_ip_default is not None: - pulumi.set(__self__, "pdb_ip_default", pdb_ip_default) + _setter("pdb_ip_default", pdb_ip_default) @property @pulumi.getter(name="allConnectionStrings") @@ -9468,8 +11449,17 @@ def __init__(__self__, *, """ :param pulumi.Input[str] management_status: The status of the Pluggable Database Management service. """ + PluggableDatabasesRemoteClonePluggableDatabaseManagementConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + management_status=management_status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + management_status: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if management_status is not None: - pulumi.set(__self__, "management_status", management_status) + _setter("management_status", management_status) @property @pulumi.getter(name="managementStatus") @@ -9495,12 +11485,25 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_health_monitoring_enabled: Indicates whether health monitoring is enabled for the VM cluster / Cloud VM cluster / VMBM DBCS. Enabling health monitoring allows Oracle to collect diagnostic data and share it with its operations and support personnel. You may also receive notifications for some events. Collecting health diagnostics enables Oracle to provide proactive support and enhanced service for your system. Optionally enable health monitoring while provisioning a system. You can also disable or enable health monitoring anytime using the `UpdateVmCluster`, `UpdateCloudVmCluster` or `updateDbsystem` API. :param pulumi.Input[bool] is_incident_logs_enabled: Indicates whether incident logs and trace collection are enabled for the VM cluster / Cloud VM cluster / VMBM DBCS. Enabling incident logs collection allows Oracle to receive Events service notifications for guest VM issues, collect incident logs and traces, and use them to diagnose issues and resolve them. Optionally enable incident logs collection while provisioning a system. You can also disable or enable incident logs collection anytime using the `UpdateVmCluster`, `updateCloudVmCluster` or `updateDbsystem` API. """ + VmClusterAddVirtualNetworkDataCollectionOptionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_diagnostics_events_enabled=is_diagnostics_events_enabled, + is_health_monitoring_enabled=is_health_monitoring_enabled, + is_incident_logs_enabled=is_incident_logs_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_diagnostics_events_enabled: Optional[pulumi.Input[bool]] = None, + is_health_monitoring_enabled: Optional[pulumi.Input[bool]] = None, + is_incident_logs_enabled: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_diagnostics_events_enabled is not None: - pulumi.set(__self__, "is_diagnostics_events_enabled", is_diagnostics_events_enabled) + _setter("is_diagnostics_events_enabled", is_diagnostics_events_enabled) if is_health_monitoring_enabled is not None: - pulumi.set(__self__, "is_health_monitoring_enabled", is_health_monitoring_enabled) + _setter("is_health_monitoring_enabled", is_health_monitoring_enabled) if is_incident_logs_enabled is not None: - pulumi.set(__self__, "is_incident_logs_enabled", is_incident_logs_enabled) + _setter("is_incident_logs_enabled", is_incident_logs_enabled) @property @pulumi.getter(name="isDiagnosticsEventsEnabled") @@ -9546,7 +11549,16 @@ def __init__(__self__, *, """ :param pulumi.Input[str] db_server_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of Exacc Db server. """ - pulumi.set(__self__, "db_server_id", db_server_id) + VmClusterAddVirtualNetworkDbServerArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_server_id=db_server_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_server_id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("db_server_id", db_server_id) @property @pulumi.getter(name="dbServerId") @@ -9572,12 +11584,25 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_health_monitoring_enabled: (Updatable) Indicates whether health monitoring is enabled for the VM cluster / Cloud VM cluster / VMBM DBCS. Enabling health monitoring allows Oracle to collect diagnostic data and share it with its operations and support personnel. You may also receive notifications for some events. Collecting health diagnostics enables Oracle to provide proactive support and enhanced service for your system. Optionally enable health monitoring while provisioning a system. You can also disable or enable health monitoring anytime using the `UpdateVmCluster`, `UpdateCloudVmCluster` or `updateDbsystem` API. :param pulumi.Input[bool] is_incident_logs_enabled: (Updatable) Indicates whether incident logs and trace collection are enabled for the VM cluster / Cloud VM cluster / VMBM DBCS. Enabling incident logs collection allows Oracle to receive Events service notifications for guest VM issues, collect incident logs and traces, and use them to diagnose issues and resolve them. Optionally enable incident logs collection while provisioning a system. You can also disable or enable incident logs collection anytime using the `UpdateVmCluster`, `updateCloudVmCluster` or `updateDbsystem` API. """ + VmClusterDataCollectionOptionsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_diagnostics_events_enabled=is_diagnostics_events_enabled, + is_health_monitoring_enabled=is_health_monitoring_enabled, + is_incident_logs_enabled=is_incident_logs_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_diagnostics_events_enabled: Optional[pulumi.Input[bool]] = None, + is_health_monitoring_enabled: Optional[pulumi.Input[bool]] = None, + is_incident_logs_enabled: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_diagnostics_events_enabled is not None: - pulumi.set(__self__, "is_diagnostics_events_enabled", is_diagnostics_events_enabled) + _setter("is_diagnostics_events_enabled", is_diagnostics_events_enabled) if is_health_monitoring_enabled is not None: - pulumi.set(__self__, "is_health_monitoring_enabled", is_health_monitoring_enabled) + _setter("is_health_monitoring_enabled", is_health_monitoring_enabled) if is_incident_logs_enabled is not None: - pulumi.set(__self__, "is_incident_logs_enabled", is_incident_logs_enabled) + _setter("is_incident_logs_enabled", is_incident_logs_enabled) @property @pulumi.getter(name="isDiagnosticsEventsEnabled") @@ -9627,9 +11652,22 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] ips: (Updatable) The list of SCAN IP addresses. Three addresses should be provided. :param pulumi.Input[int] scan_listener_port_tcp: (Updatable) The SCAN TCPIP port. Default is 1521. """ - pulumi.set(__self__, "hostname", hostname) - pulumi.set(__self__, "ips", ips) - pulumi.set(__self__, "scan_listener_port_tcp", scan_listener_port_tcp) + VmClusterNetworkDrScanArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + hostname=hostname, + ips=ips, + scan_listener_port_tcp=scan_listener_port_tcp, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hostname: pulumi.Input[str], + ips: pulumi.Input[Sequence[pulumi.Input[str]]], + scan_listener_port_tcp: pulumi.Input[int], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("hostname", hostname) + _setter("ips", ips) + _setter("scan_listener_port_tcp", scan_listener_port_tcp) @property @pulumi.getter @@ -9683,14 +11721,31 @@ def __init__(__self__, *, :param pulumi.Input[int] scan_listener_port_tcp: (Updatable) The SCAN TCPIP port. Default is 1521. :param pulumi.Input[int] scan_listener_port_tcp_ssl: (Updatable) The SCAN TCPIP SSL port. Default is 2484. """ - pulumi.set(__self__, "hostname", hostname) - pulumi.set(__self__, "ips", ips) + VmClusterNetworkScanArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + hostname=hostname, + ips=ips, + port=port, + scan_listener_port_tcp=scan_listener_port_tcp, + scan_listener_port_tcp_ssl=scan_listener_port_tcp_ssl, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hostname: pulumi.Input[str], + ips: pulumi.Input[Sequence[pulumi.Input[str]]], + port: Optional[pulumi.Input[int]] = None, + scan_listener_port_tcp: Optional[pulumi.Input[int]] = None, + scan_listener_port_tcp_ssl: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("hostname", hostname) + _setter("ips", ips) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if scan_listener_port_tcp is not None: - pulumi.set(__self__, "scan_listener_port_tcp", scan_listener_port_tcp) + _setter("scan_listener_port_tcp", scan_listener_port_tcp) if scan_listener_port_tcp_ssl is not None: - pulumi.set(__self__, "scan_listener_port_tcp_ssl", scan_listener_port_tcp_ssl) + _setter("scan_listener_port_tcp_ssl", scan_listener_port_tcp_ssl) @property @pulumi.getter @@ -9774,16 +11829,35 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "network_type", network_type) - pulumi.set(__self__, "nodes", nodes) + VmClusterNetworkVmNetworkArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + network_type=network_type, + nodes=nodes, + domain_name=domain_name, + gateway=gateway, + netmask=netmask, + vlan_id=vlan_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + network_type: pulumi.Input[str], + nodes: pulumi.Input[Sequence[pulumi.Input['VmClusterNetworkVmNetworkNodeArgs']]], + domain_name: Optional[pulumi.Input[str]] = None, + gateway: Optional[pulumi.Input[str]] = None, + netmask: Optional[pulumi.Input[str]] = None, + vlan_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("network_type", network_type) + _setter("nodes", nodes) if domain_name is not None: - pulumi.set(__self__, "domain_name", domain_name) + _setter("domain_name", domain_name) if gateway is not None: - pulumi.set(__self__, "gateway", gateway) + _setter("gateway", gateway) if netmask is not None: - pulumi.set(__self__, "netmask", netmask) + _setter("netmask", netmask) if vlan_id is not None: - pulumi.set(__self__, "vlan_id", vlan_id) + _setter("vlan_id", vlan_id) @property @pulumi.getter(name="networkType") @@ -9879,16 +11953,35 @@ def __init__(__self__, *, :param pulumi.Input[str] vip: (Updatable) The node virtual IP (VIP) address. :param pulumi.Input[str] vip_hostname: (Updatable) The node virtual IP (VIP) host name. """ - pulumi.set(__self__, "hostname", hostname) - pulumi.set(__self__, "ip", ip) + VmClusterNetworkVmNetworkNodeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + hostname=hostname, + ip=ip, + db_server_id=db_server_id, + state=state, + vip=vip, + vip_hostname=vip_hostname, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hostname: pulumi.Input[str], + ip: pulumi.Input[str], + db_server_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + vip: Optional[pulumi.Input[str]] = None, + vip_hostname: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("hostname", hostname) + _setter("ip", ip) if db_server_id is not None: - pulumi.set(__self__, "db_server_id", db_server_id) + _setter("db_server_id", db_server_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if vip is not None: - pulumi.set(__self__, "vip", vip) + _setter("vip", vip) if vip_hostname is not None: - pulumi.set(__self__, "vip_hostname", vip_hostname) + _setter("vip_hostname", vip_hostname) @property @pulumi.getter @@ -9974,12 +12067,25 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_health_monitoring_enabled: Indicates whether health monitoring is enabled for the VM cluster / Cloud VM cluster / VMBM DBCS. Enabling health monitoring allows Oracle to collect diagnostic data and share it with its operations and support personnel. You may also receive notifications for some events. Collecting health diagnostics enables Oracle to provide proactive support and enhanced service for your system. Optionally enable health monitoring while provisioning a system. You can also disable or enable health monitoring anytime using the `UpdateVmCluster`, `UpdateCloudVmCluster` or `updateDbsystem` API. :param pulumi.Input[bool] is_incident_logs_enabled: Indicates whether incident logs and trace collection are enabled for the VM cluster / Cloud VM cluster / VMBM DBCS. Enabling incident logs collection allows Oracle to receive Events service notifications for guest VM issues, collect incident logs and traces, and use them to diagnose issues and resolve them. Optionally enable incident logs collection while provisioning a system. You can also disable or enable incident logs collection anytime using the `UpdateVmCluster`, `updateCloudVmCluster` or `updateDbsystem` API. """ + VmClusterRemoveVirtualMachineDataCollectionOptionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_diagnostics_events_enabled=is_diagnostics_events_enabled, + is_health_monitoring_enabled=is_health_monitoring_enabled, + is_incident_logs_enabled=is_incident_logs_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_diagnostics_events_enabled: Optional[pulumi.Input[bool]] = None, + is_health_monitoring_enabled: Optional[pulumi.Input[bool]] = None, + is_incident_logs_enabled: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_diagnostics_events_enabled is not None: - pulumi.set(__self__, "is_diagnostics_events_enabled", is_diagnostics_events_enabled) + _setter("is_diagnostics_events_enabled", is_diagnostics_events_enabled) if is_health_monitoring_enabled is not None: - pulumi.set(__self__, "is_health_monitoring_enabled", is_health_monitoring_enabled) + _setter("is_health_monitoring_enabled", is_health_monitoring_enabled) if is_incident_logs_enabled is not None: - pulumi.set(__self__, "is_incident_logs_enabled", is_incident_logs_enabled) + _setter("is_incident_logs_enabled", is_incident_logs_enabled) @property @pulumi.getter(name="isDiagnosticsEventsEnabled") @@ -10025,7 +12131,16 @@ def __init__(__self__, *, """ :param pulumi.Input[str] db_server_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of Exacc Db server. """ - pulumi.set(__self__, "db_server_id", db_server_id) + VmClusterRemoveVirtualMachineDbServerArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_server_id=db_server_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_server_id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("db_server_id", db_server_id) @property @pulumi.getter(name="dbServerId") @@ -10046,10 +12161,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetApplicationVipsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -10088,10 +12216,23 @@ def __init__(__self__, *, """ :param str name: A valid Oracle character set. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAutonomousCharacterSetsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -10130,10 +12271,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAutonomousContainerDatabaseDataguardAssociationsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -10169,10 +12323,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAutonomousContainerDatabaseVersionsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -10211,10 +12378,23 @@ def __init__(__self__, *, """ :param str name: Name of the month of the year. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAutonomousContainerDatabasesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -10253,10 +12433,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAutonomousContainerPatchesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -10292,10 +12485,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAutonomousDatabaseBackupsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -10331,10 +12537,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAutonomousDatabaseDataguardAssociationsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -10370,10 +12589,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAutonomousDatabaseRefreshableClonesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -10412,10 +12644,23 @@ def __init__(__self__, *, """ :param str name: Name of the day of the week. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAutonomousDatabasesClonesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -10457,10 +12702,23 @@ def __init__(__self__, *, """ :param str name: Name of the day of the week. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAutonomousDatabasesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -10499,10 +12757,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAutonomousDbPreviewVersionsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -10538,10 +12809,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAutonomousDbVersionsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -10580,10 +12864,23 @@ def __init__(__self__, *, """ :param str name: The name of the shape used for the Autonomous Exadata Infrastructure. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAutonomousExadataInfrastructureShapesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -10625,10 +12922,23 @@ def __init__(__self__, *, """ :param str name: Name of the month of the year. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAutonomousExadataInfrastructuresFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -10667,10 +12977,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAutonomousVirtualMachinesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -10709,10 +13032,23 @@ def __init__(__self__, *, """ :param str name: Name of the month of the year. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAutonomousVmClustersFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -10751,10 +13087,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetBackupDestinationsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -10790,10 +13139,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetBackupsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -10829,10 +13191,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetCloudAutonomousVmClusterAcdResourceUsagesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -10871,10 +13246,23 @@ def __init__(__self__, *, """ :param str name: Name of the month of the year. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetCloudAutonomousVmClustersFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -10916,10 +13304,23 @@ def __init__(__self__, *, """ :param str name: Name of the month of the year. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetCloudExadataInfrastructuresFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -10958,10 +13359,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetCloudVmClustersFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -10997,10 +13411,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDataGuardAssociationsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -11036,10 +13463,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDatabaseMaintenanceRunHistoriesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -11075,10 +13515,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDatabasePdbConversionHistoryEntriesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -11114,10 +13567,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDatabaseSoftwareImagesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -11153,10 +13619,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDatabaseUpgradeHistoryEntriesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -11192,10 +13671,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDatabasesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -11231,10 +13723,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDbHomePatchHistoryEntriesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -11270,10 +13775,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDbHomePatchesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -11309,10 +13827,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDbHomesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -11348,10 +13879,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDbNodeConsoleConnectionsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -11387,10 +13931,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDbNodesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -11426,10 +13983,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDbServersFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -11465,10 +14035,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDbSystemComputePerformancesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -11504,10 +14087,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDbSystemHistoryEntriesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -11543,10 +14139,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDbSystemPatchesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -11585,10 +14194,23 @@ def __init__(__self__, *, """ :param str name: The name of the shape used for the DB system. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDbSystemShapesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -11627,10 +14249,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDbSystemStoragePerformancesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -11669,10 +14304,23 @@ def __init__(__self__, *, """ :param str name: Name of the month of the year. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDbSystemsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -11711,10 +14359,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDbSystemsUpgradeHistoryEntriesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -11750,10 +14411,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDbVersionsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -11792,10 +14466,23 @@ def __init__(__self__, *, """ :param str name: Name of the month of the year. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetExadataInfrastructuresFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -11834,10 +14521,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetExternalContainerDatabasesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -11873,10 +14573,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetExternalDatabaseConnectorsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -11912,10 +14625,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetExternalNonContainerDatabasesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -11951,10 +14677,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetExternalPluggableDatabasesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -11993,10 +14732,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the entire name given. The match is not case sensitive. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetFlexComponentsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -12035,10 +14787,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetGiVersionsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -12074,10 +14839,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetKeyStoresFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -12113,10 +14891,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetMaintenanceRunsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -12152,10 +14943,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagedPreferredCredentialsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -12191,10 +14995,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetOneoffPatchesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -12230,10 +15047,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetPluggableDatabasesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -12269,10 +15099,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVmClusterNetworksFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -12308,10 +15151,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVmClusterPatchHistoryEntriesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -12347,10 +15203,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVmClusterPatchesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -12399,13 +15268,34 @@ def __init__(__self__, *, :param str prefix: The network domain name. :param str vlan_id: The network VLAN ID. """ - pulumi.set(__self__, "cidr", cidr) - pulumi.set(__self__, "domain", domain) - pulumi.set(__self__, "gateway", gateway) - pulumi.set(__self__, "netmask", netmask) - pulumi.set(__self__, "network_type", network_type) - pulumi.set(__self__, "prefix", prefix) - pulumi.set(__self__, "vlan_id", vlan_id) + GetVmClusterRecommendedNetworkNetworkArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + cidr=cidr, + domain=domain, + gateway=gateway, + netmask=netmask, + network_type=network_type, + prefix=prefix, + vlan_id=vlan_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cidr: str, + domain: str, + gateway: str, + netmask: str, + network_type: str, + prefix: str, + vlan_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cidr", cidr) + _setter("domain", domain) + _setter("gateway", gateway) + _setter("netmask", netmask) + _setter("network_type", network_type) + _setter("prefix", prefix) + _setter("vlan_id", vlan_id) @property @pulumi.getter @@ -12498,10 +15388,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVmClusterUpdateHistoryEntriesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -12537,10 +15440,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVmClusterUpdatesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -12576,10 +15492,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVmClustersFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/database/application_vip.py b/sdk/python/pulumi_oci/database/application_vip.py index 69765f5e9f..514597c267 100644 --- a/sdk/python/pulumi_oci/database/application_vip.py +++ b/sdk/python/pulumi_oci/database/application_vip.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['ApplicationVipArgs', 'ApplicationVip'] @@ -31,13 +31,30 @@ def __init__(__self__, *, :param pulumi.Input[str] db_node_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DB node associated with the application virtual IP (VIP) address. :param pulumi.Input[str] ip_address: The application virtual IP (VIP) address. """ - pulumi.set(__self__, "cloud_vm_cluster_id", cloud_vm_cluster_id) - pulumi.set(__self__, "hostname_label", hostname_label) - pulumi.set(__self__, "subnet_id", subnet_id) + ApplicationVipArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + cloud_vm_cluster_id=cloud_vm_cluster_id, + hostname_label=hostname_label, + subnet_id=subnet_id, + db_node_id=db_node_id, + ip_address=ip_address, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cloud_vm_cluster_id: pulumi.Input[str], + hostname_label: pulumi.Input[str], + subnet_id: pulumi.Input[str], + db_node_id: Optional[pulumi.Input[str]] = None, + ip_address: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cloud_vm_cluster_id", cloud_vm_cluster_id) + _setter("hostname_label", hostname_label) + _setter("subnet_id", subnet_id) if db_node_id is not None: - pulumi.set(__self__, "db_node_id", db_node_id) + _setter("db_node_id", db_node_id) if ip_address is not None: - pulumi.set(__self__, "ip_address", ip_address) + _setter("ip_address", ip_address) @property @pulumi.getter(name="cloudVmClusterId") @@ -136,28 +153,57 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] time_assigned: The date and time when the create operation for the application virtual IP (VIP) address completed. """ + _ApplicationVipState._configure( + lambda key, value: pulumi.set(__self__, key, value), + cloud_vm_cluster_id=cloud_vm_cluster_id, + compartment_id=compartment_id, + db_node_id=db_node_id, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + hostname_label=hostname_label, + ip_address=ip_address, + lifecycle_details=lifecycle_details, + state=state, + subnet_id=subnet_id, + time_assigned=time_assigned, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cloud_vm_cluster_id: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + db_node_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + hostname_label: Optional[pulumi.Input[str]] = None, + ip_address: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + time_assigned: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if cloud_vm_cluster_id is not None: - pulumi.set(__self__, "cloud_vm_cluster_id", cloud_vm_cluster_id) + _setter("cloud_vm_cluster_id", cloud_vm_cluster_id) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if db_node_id is not None: - pulumi.set(__self__, "db_node_id", db_node_id) + _setter("db_node_id", db_node_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if hostname_label is not None: - pulumi.set(__self__, "hostname_label", hostname_label) + _setter("hostname_label", hostname_label) if ip_address is not None: - pulumi.set(__self__, "ip_address", ip_address) + _setter("ip_address", ip_address) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) if time_assigned is not None: - pulumi.set(__self__, "time_assigned", time_assigned) + _setter("time_assigned", time_assigned) @property @pulumi.getter(name="cloudVmClusterId") @@ -389,6 +435,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ApplicationVipArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/database/autonomous_container_database.py b/sdk/python/pulumi_oci/database/autonomous_container_database.py index 599fa65087..36343a80e7 100644 --- a/sdk/python/pulumi_oci/database/autonomous_container_database.py +++ b/sdk/python/pulumi_oci/database/autonomous_container_database.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -80,64 +80,131 @@ def __init__(__self__, *, :param pulumi.Input[str] vault_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure [vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). :param pulumi.Input[str] version_preference: (Updatable) The next maintenance version preference. """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "patch_model", patch_model) + AutonomousContainerDatabaseArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + patch_model=patch_model, + autonomous_exadata_infrastructure_id=autonomous_exadata_infrastructure_id, + autonomous_vm_cluster_id=autonomous_vm_cluster_id, + backup_config=backup_config, + cloud_autonomous_vm_cluster_id=cloud_autonomous_vm_cluster_id, + compartment_id=compartment_id, + db_name=db_name, + db_unique_name=db_unique_name, + db_version=db_version, + defined_tags=defined_tags, + fast_start_fail_over_lag_limit_in_seconds=fast_start_fail_over_lag_limit_in_seconds, + freeform_tags=freeform_tags, + is_automatic_failover_enabled=is_automatic_failover_enabled, + key_store_id=key_store_id, + kms_key_id=kms_key_id, + maintenance_window_details=maintenance_window_details, + peer_autonomous_container_database_backup_config=peer_autonomous_container_database_backup_config, + peer_autonomous_container_database_compartment_id=peer_autonomous_container_database_compartment_id, + peer_autonomous_container_database_display_name=peer_autonomous_container_database_display_name, + peer_autonomous_exadata_infrastructure_id=peer_autonomous_exadata_infrastructure_id, + peer_autonomous_vm_cluster_id=peer_autonomous_vm_cluster_id, + peer_cloud_autonomous_vm_cluster_id=peer_cloud_autonomous_vm_cluster_id, + peer_db_unique_name=peer_db_unique_name, + protection_mode=protection_mode, + rotate_key_trigger=rotate_key_trigger, + service_level_agreement_type=service_level_agreement_type, + standby_maintenance_buffer_in_days=standby_maintenance_buffer_in_days, + vault_id=vault_id, + version_preference=version_preference, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: pulumi.Input[str], + patch_model: pulumi.Input[str], + autonomous_exadata_infrastructure_id: Optional[pulumi.Input[str]] = None, + autonomous_vm_cluster_id: Optional[pulumi.Input[str]] = None, + backup_config: Optional[pulumi.Input['AutonomousContainerDatabaseBackupConfigArgs']] = None, + cloud_autonomous_vm_cluster_id: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + db_name: Optional[pulumi.Input[str]] = None, + db_unique_name: Optional[pulumi.Input[str]] = None, + db_version: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + fast_start_fail_over_lag_limit_in_seconds: Optional[pulumi.Input[int]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_automatic_failover_enabled: Optional[pulumi.Input[bool]] = None, + key_store_id: Optional[pulumi.Input[str]] = None, + kms_key_id: Optional[pulumi.Input[str]] = None, + maintenance_window_details: Optional[pulumi.Input['AutonomousContainerDatabaseMaintenanceWindowDetailsArgs']] = None, + peer_autonomous_container_database_backup_config: Optional[pulumi.Input['AutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigArgs']] = None, + peer_autonomous_container_database_compartment_id: Optional[pulumi.Input[str]] = None, + peer_autonomous_container_database_display_name: Optional[pulumi.Input[str]] = None, + peer_autonomous_exadata_infrastructure_id: Optional[pulumi.Input[str]] = None, + peer_autonomous_vm_cluster_id: Optional[pulumi.Input[str]] = None, + peer_cloud_autonomous_vm_cluster_id: Optional[pulumi.Input[str]] = None, + peer_db_unique_name: Optional[pulumi.Input[str]] = None, + protection_mode: Optional[pulumi.Input[str]] = None, + rotate_key_trigger: Optional[pulumi.Input[bool]] = None, + service_level_agreement_type: Optional[pulumi.Input[str]] = None, + standby_maintenance_buffer_in_days: Optional[pulumi.Input[int]] = None, + vault_id: Optional[pulumi.Input[str]] = None, + version_preference: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("patch_model", patch_model) if autonomous_exadata_infrastructure_id is not None: - pulumi.set(__self__, "autonomous_exadata_infrastructure_id", autonomous_exadata_infrastructure_id) + _setter("autonomous_exadata_infrastructure_id", autonomous_exadata_infrastructure_id) if autonomous_vm_cluster_id is not None: - pulumi.set(__self__, "autonomous_vm_cluster_id", autonomous_vm_cluster_id) + _setter("autonomous_vm_cluster_id", autonomous_vm_cluster_id) if backup_config is not None: - pulumi.set(__self__, "backup_config", backup_config) + _setter("backup_config", backup_config) if cloud_autonomous_vm_cluster_id is not None: - pulumi.set(__self__, "cloud_autonomous_vm_cluster_id", cloud_autonomous_vm_cluster_id) + _setter("cloud_autonomous_vm_cluster_id", cloud_autonomous_vm_cluster_id) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if db_name is not None: - pulumi.set(__self__, "db_name", db_name) + _setter("db_name", db_name) if db_unique_name is not None: - pulumi.set(__self__, "db_unique_name", db_unique_name) + _setter("db_unique_name", db_unique_name) if db_version is not None: - pulumi.set(__self__, "db_version", db_version) + _setter("db_version", db_version) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if fast_start_fail_over_lag_limit_in_seconds is not None: - pulumi.set(__self__, "fast_start_fail_over_lag_limit_in_seconds", fast_start_fail_over_lag_limit_in_seconds) + _setter("fast_start_fail_over_lag_limit_in_seconds", fast_start_fail_over_lag_limit_in_seconds) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_automatic_failover_enabled is not None: - pulumi.set(__self__, "is_automatic_failover_enabled", is_automatic_failover_enabled) + _setter("is_automatic_failover_enabled", is_automatic_failover_enabled) if key_store_id is not None: - pulumi.set(__self__, "key_store_id", key_store_id) + _setter("key_store_id", key_store_id) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) if maintenance_window_details is not None: - pulumi.set(__self__, "maintenance_window_details", maintenance_window_details) + _setter("maintenance_window_details", maintenance_window_details) if peer_autonomous_container_database_backup_config is not None: - pulumi.set(__self__, "peer_autonomous_container_database_backup_config", peer_autonomous_container_database_backup_config) + _setter("peer_autonomous_container_database_backup_config", peer_autonomous_container_database_backup_config) if peer_autonomous_container_database_compartment_id is not None: - pulumi.set(__self__, "peer_autonomous_container_database_compartment_id", peer_autonomous_container_database_compartment_id) + _setter("peer_autonomous_container_database_compartment_id", peer_autonomous_container_database_compartment_id) if peer_autonomous_container_database_display_name is not None: - pulumi.set(__self__, "peer_autonomous_container_database_display_name", peer_autonomous_container_database_display_name) + _setter("peer_autonomous_container_database_display_name", peer_autonomous_container_database_display_name) if peer_autonomous_exadata_infrastructure_id is not None: - pulumi.set(__self__, "peer_autonomous_exadata_infrastructure_id", peer_autonomous_exadata_infrastructure_id) + _setter("peer_autonomous_exadata_infrastructure_id", peer_autonomous_exadata_infrastructure_id) if peer_autonomous_vm_cluster_id is not None: - pulumi.set(__self__, "peer_autonomous_vm_cluster_id", peer_autonomous_vm_cluster_id) + _setter("peer_autonomous_vm_cluster_id", peer_autonomous_vm_cluster_id) if peer_cloud_autonomous_vm_cluster_id is not None: - pulumi.set(__self__, "peer_cloud_autonomous_vm_cluster_id", peer_cloud_autonomous_vm_cluster_id) + _setter("peer_cloud_autonomous_vm_cluster_id", peer_cloud_autonomous_vm_cluster_id) if peer_db_unique_name is not None: - pulumi.set(__self__, "peer_db_unique_name", peer_db_unique_name) + _setter("peer_db_unique_name", peer_db_unique_name) if protection_mode is not None: - pulumi.set(__self__, "protection_mode", protection_mode) + _setter("protection_mode", protection_mode) if rotate_key_trigger is not None: - pulumi.set(__self__, "rotate_key_trigger", rotate_key_trigger) + _setter("rotate_key_trigger", rotate_key_trigger) if service_level_agreement_type is not None: - pulumi.set(__self__, "service_level_agreement_type", service_level_agreement_type) + _setter("service_level_agreement_type", service_level_agreement_type) if standby_maintenance_buffer_in_days is not None: - pulumi.set(__self__, "standby_maintenance_buffer_in_days", standby_maintenance_buffer_in_days) + _setter("standby_maintenance_buffer_in_days", standby_maintenance_buffer_in_days) if vault_id is not None: - pulumi.set(__self__, "vault_id", vault_id) + _setter("vault_id", vault_id) if version_preference is not None: - pulumi.set(__self__, "version_preference", version_preference) + _setter("version_preference", version_preference) @property @pulumi.getter(name="displayName") @@ -607,110 +674,221 @@ def __init__(__self__, *, :param pulumi.Input[str] vault_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure [vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). :param pulumi.Input[str] version_preference: (Updatable) The next maintenance version preference. """ + _AutonomousContainerDatabaseState._configure( + lambda key, value: pulumi.set(__self__, key, value), + autonomous_exadata_infrastructure_id=autonomous_exadata_infrastructure_id, + autonomous_vm_cluster_id=autonomous_vm_cluster_id, + availability_domain=availability_domain, + available_cpus=available_cpus, + backup_config=backup_config, + cloud_autonomous_vm_cluster_id=cloud_autonomous_vm_cluster_id, + compartment_id=compartment_id, + compute_model=compute_model, + db_name=db_name, + db_unique_name=db_unique_name, + db_version=db_version, + defined_tags=defined_tags, + display_name=display_name, + fast_start_fail_over_lag_limit_in_seconds=fast_start_fail_over_lag_limit_in_seconds, + freeform_tags=freeform_tags, + infrastructure_type=infrastructure_type, + is_automatic_failover_enabled=is_automatic_failover_enabled, + key_history_entries=key_history_entries, + key_store_id=key_store_id, + key_store_wallet_name=key_store_wallet_name, + kms_key_id=kms_key_id, + largest_provisionable_autonomous_database_in_cpus=largest_provisionable_autonomous_database_in_cpus, + last_maintenance_run_id=last_maintenance_run_id, + lifecycle_details=lifecycle_details, + maintenance_window_details=maintenance_window_details, + maintenance_windows=maintenance_windows, + memory_per_oracle_compute_unit_in_gbs=memory_per_oracle_compute_unit_in_gbs, + next_maintenance_run_id=next_maintenance_run_id, + patch_id=patch_id, + patch_model=patch_model, + peer_autonomous_container_database_backup_config=peer_autonomous_container_database_backup_config, + peer_autonomous_container_database_compartment_id=peer_autonomous_container_database_compartment_id, + peer_autonomous_container_database_display_name=peer_autonomous_container_database_display_name, + peer_autonomous_exadata_infrastructure_id=peer_autonomous_exadata_infrastructure_id, + peer_autonomous_vm_cluster_id=peer_autonomous_vm_cluster_id, + peer_cloud_autonomous_vm_cluster_id=peer_cloud_autonomous_vm_cluster_id, + peer_db_unique_name=peer_db_unique_name, + protection_mode=protection_mode, + provisionable_cpuses=provisionable_cpuses, + provisioned_cpus=provisioned_cpus, + reclaimable_cpus=reclaimable_cpus, + reserved_cpus=reserved_cpus, + role=role, + rotate_key_trigger=rotate_key_trigger, + service_level_agreement_type=service_level_agreement_type, + standby_maintenance_buffer_in_days=standby_maintenance_buffer_in_days, + state=state, + time_created=time_created, + time_snapshot_standby_revert=time_snapshot_standby_revert, + total_cpus=total_cpus, + vault_id=vault_id, + version_preference=version_preference, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + autonomous_exadata_infrastructure_id: Optional[pulumi.Input[str]] = None, + autonomous_vm_cluster_id: Optional[pulumi.Input[str]] = None, + availability_domain: Optional[pulumi.Input[str]] = None, + available_cpus: Optional[pulumi.Input[float]] = None, + backup_config: Optional[pulumi.Input['AutonomousContainerDatabaseBackupConfigArgs']] = None, + cloud_autonomous_vm_cluster_id: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + compute_model: Optional[pulumi.Input[str]] = None, + db_name: Optional[pulumi.Input[str]] = None, + db_unique_name: Optional[pulumi.Input[str]] = None, + db_version: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + fast_start_fail_over_lag_limit_in_seconds: Optional[pulumi.Input[int]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + infrastructure_type: Optional[pulumi.Input[str]] = None, + is_automatic_failover_enabled: Optional[pulumi.Input[bool]] = None, + key_history_entries: Optional[pulumi.Input[Sequence[pulumi.Input['AutonomousContainerDatabaseKeyHistoryEntryArgs']]]] = None, + key_store_id: Optional[pulumi.Input[str]] = None, + key_store_wallet_name: Optional[pulumi.Input[str]] = None, + kms_key_id: Optional[pulumi.Input[str]] = None, + largest_provisionable_autonomous_database_in_cpus: Optional[pulumi.Input[float]] = None, + last_maintenance_run_id: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + maintenance_window_details: Optional[pulumi.Input['AutonomousContainerDatabaseMaintenanceWindowDetailsArgs']] = None, + maintenance_windows: Optional[pulumi.Input[Sequence[pulumi.Input['AutonomousContainerDatabaseMaintenanceWindowArgs']]]] = None, + memory_per_oracle_compute_unit_in_gbs: Optional[pulumi.Input[int]] = None, + next_maintenance_run_id: Optional[pulumi.Input[str]] = None, + patch_id: Optional[pulumi.Input[str]] = None, + patch_model: Optional[pulumi.Input[str]] = None, + peer_autonomous_container_database_backup_config: Optional[pulumi.Input['AutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigArgs']] = None, + peer_autonomous_container_database_compartment_id: Optional[pulumi.Input[str]] = None, + peer_autonomous_container_database_display_name: Optional[pulumi.Input[str]] = None, + peer_autonomous_exadata_infrastructure_id: Optional[pulumi.Input[str]] = None, + peer_autonomous_vm_cluster_id: Optional[pulumi.Input[str]] = None, + peer_cloud_autonomous_vm_cluster_id: Optional[pulumi.Input[str]] = None, + peer_db_unique_name: Optional[pulumi.Input[str]] = None, + protection_mode: Optional[pulumi.Input[str]] = None, + provisionable_cpuses: Optional[pulumi.Input[Sequence[pulumi.Input[float]]]] = None, + provisioned_cpus: Optional[pulumi.Input[float]] = None, + reclaimable_cpus: Optional[pulumi.Input[float]] = None, + reserved_cpus: Optional[pulumi.Input[float]] = None, + role: Optional[pulumi.Input[str]] = None, + rotate_key_trigger: Optional[pulumi.Input[bool]] = None, + service_level_agreement_type: Optional[pulumi.Input[str]] = None, + standby_maintenance_buffer_in_days: Optional[pulumi.Input[int]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_snapshot_standby_revert: Optional[pulumi.Input[str]] = None, + total_cpus: Optional[pulumi.Input[int]] = None, + vault_id: Optional[pulumi.Input[str]] = None, + version_preference: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if autonomous_exadata_infrastructure_id is not None: - pulumi.set(__self__, "autonomous_exadata_infrastructure_id", autonomous_exadata_infrastructure_id) + _setter("autonomous_exadata_infrastructure_id", autonomous_exadata_infrastructure_id) if autonomous_vm_cluster_id is not None: - pulumi.set(__self__, "autonomous_vm_cluster_id", autonomous_vm_cluster_id) + _setter("autonomous_vm_cluster_id", autonomous_vm_cluster_id) if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if available_cpus is not None: - pulumi.set(__self__, "available_cpus", available_cpus) + _setter("available_cpus", available_cpus) if backup_config is not None: - pulumi.set(__self__, "backup_config", backup_config) + _setter("backup_config", backup_config) if cloud_autonomous_vm_cluster_id is not None: - pulumi.set(__self__, "cloud_autonomous_vm_cluster_id", cloud_autonomous_vm_cluster_id) + _setter("cloud_autonomous_vm_cluster_id", cloud_autonomous_vm_cluster_id) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if compute_model is not None: - pulumi.set(__self__, "compute_model", compute_model) + _setter("compute_model", compute_model) if db_name is not None: - pulumi.set(__self__, "db_name", db_name) + _setter("db_name", db_name) if db_unique_name is not None: - pulumi.set(__self__, "db_unique_name", db_unique_name) + _setter("db_unique_name", db_unique_name) if db_version is not None: - pulumi.set(__self__, "db_version", db_version) + _setter("db_version", db_version) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if fast_start_fail_over_lag_limit_in_seconds is not None: - pulumi.set(__self__, "fast_start_fail_over_lag_limit_in_seconds", fast_start_fail_over_lag_limit_in_seconds) + _setter("fast_start_fail_over_lag_limit_in_seconds", fast_start_fail_over_lag_limit_in_seconds) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if infrastructure_type is not None: - pulumi.set(__self__, "infrastructure_type", infrastructure_type) + _setter("infrastructure_type", infrastructure_type) if is_automatic_failover_enabled is not None: - pulumi.set(__self__, "is_automatic_failover_enabled", is_automatic_failover_enabled) + _setter("is_automatic_failover_enabled", is_automatic_failover_enabled) if key_history_entries is not None: - pulumi.set(__self__, "key_history_entries", key_history_entries) + _setter("key_history_entries", key_history_entries) if key_store_id is not None: - pulumi.set(__self__, "key_store_id", key_store_id) + _setter("key_store_id", key_store_id) if key_store_wallet_name is not None: - pulumi.set(__self__, "key_store_wallet_name", key_store_wallet_name) + _setter("key_store_wallet_name", key_store_wallet_name) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) if largest_provisionable_autonomous_database_in_cpus is not None: - pulumi.set(__self__, "largest_provisionable_autonomous_database_in_cpus", largest_provisionable_autonomous_database_in_cpus) + _setter("largest_provisionable_autonomous_database_in_cpus", largest_provisionable_autonomous_database_in_cpus) if last_maintenance_run_id is not None: - pulumi.set(__self__, "last_maintenance_run_id", last_maintenance_run_id) + _setter("last_maintenance_run_id", last_maintenance_run_id) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if maintenance_window_details is not None: - pulumi.set(__self__, "maintenance_window_details", maintenance_window_details) + _setter("maintenance_window_details", maintenance_window_details) if maintenance_windows is not None: - pulumi.set(__self__, "maintenance_windows", maintenance_windows) + _setter("maintenance_windows", maintenance_windows) if memory_per_oracle_compute_unit_in_gbs is not None: - pulumi.set(__self__, "memory_per_oracle_compute_unit_in_gbs", memory_per_oracle_compute_unit_in_gbs) + _setter("memory_per_oracle_compute_unit_in_gbs", memory_per_oracle_compute_unit_in_gbs) if next_maintenance_run_id is not None: - pulumi.set(__self__, "next_maintenance_run_id", next_maintenance_run_id) + _setter("next_maintenance_run_id", next_maintenance_run_id) if patch_id is not None: - pulumi.set(__self__, "patch_id", patch_id) + _setter("patch_id", patch_id) if patch_model is not None: - pulumi.set(__self__, "patch_model", patch_model) + _setter("patch_model", patch_model) if peer_autonomous_container_database_backup_config is not None: - pulumi.set(__self__, "peer_autonomous_container_database_backup_config", peer_autonomous_container_database_backup_config) + _setter("peer_autonomous_container_database_backup_config", peer_autonomous_container_database_backup_config) if peer_autonomous_container_database_compartment_id is not None: - pulumi.set(__self__, "peer_autonomous_container_database_compartment_id", peer_autonomous_container_database_compartment_id) + _setter("peer_autonomous_container_database_compartment_id", peer_autonomous_container_database_compartment_id) if peer_autonomous_container_database_display_name is not None: - pulumi.set(__self__, "peer_autonomous_container_database_display_name", peer_autonomous_container_database_display_name) + _setter("peer_autonomous_container_database_display_name", peer_autonomous_container_database_display_name) if peer_autonomous_exadata_infrastructure_id is not None: - pulumi.set(__self__, "peer_autonomous_exadata_infrastructure_id", peer_autonomous_exadata_infrastructure_id) + _setter("peer_autonomous_exadata_infrastructure_id", peer_autonomous_exadata_infrastructure_id) if peer_autonomous_vm_cluster_id is not None: - pulumi.set(__self__, "peer_autonomous_vm_cluster_id", peer_autonomous_vm_cluster_id) + _setter("peer_autonomous_vm_cluster_id", peer_autonomous_vm_cluster_id) if peer_cloud_autonomous_vm_cluster_id is not None: - pulumi.set(__self__, "peer_cloud_autonomous_vm_cluster_id", peer_cloud_autonomous_vm_cluster_id) + _setter("peer_cloud_autonomous_vm_cluster_id", peer_cloud_autonomous_vm_cluster_id) if peer_db_unique_name is not None: - pulumi.set(__self__, "peer_db_unique_name", peer_db_unique_name) + _setter("peer_db_unique_name", peer_db_unique_name) if protection_mode is not None: - pulumi.set(__self__, "protection_mode", protection_mode) + _setter("protection_mode", protection_mode) if provisionable_cpuses is not None: - pulumi.set(__self__, "provisionable_cpuses", provisionable_cpuses) + _setter("provisionable_cpuses", provisionable_cpuses) if provisioned_cpus is not None: - pulumi.set(__self__, "provisioned_cpus", provisioned_cpus) + _setter("provisioned_cpus", provisioned_cpus) if reclaimable_cpus is not None: - pulumi.set(__self__, "reclaimable_cpus", reclaimable_cpus) + _setter("reclaimable_cpus", reclaimable_cpus) if reserved_cpus is not None: - pulumi.set(__self__, "reserved_cpus", reserved_cpus) + _setter("reserved_cpus", reserved_cpus) if role is not None: - pulumi.set(__self__, "role", role) + _setter("role", role) if rotate_key_trigger is not None: - pulumi.set(__self__, "rotate_key_trigger", rotate_key_trigger) + _setter("rotate_key_trigger", rotate_key_trigger) if service_level_agreement_type is not None: - pulumi.set(__self__, "service_level_agreement_type", service_level_agreement_type) + _setter("service_level_agreement_type", service_level_agreement_type) if standby_maintenance_buffer_in_days is not None: - pulumi.set(__self__, "standby_maintenance_buffer_in_days", standby_maintenance_buffer_in_days) + _setter("standby_maintenance_buffer_in_days", standby_maintenance_buffer_in_days) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_snapshot_standby_revert is not None: - pulumi.set(__self__, "time_snapshot_standby_revert", time_snapshot_standby_revert) + _setter("time_snapshot_standby_revert", time_snapshot_standby_revert) if total_cpus is not None: - pulumi.set(__self__, "total_cpus", total_cpus) + _setter("total_cpus", total_cpus) if vault_id is not None: - pulumi.set(__self__, "vault_id", vault_id) + _setter("vault_id", vault_id) if version_preference is not None: - pulumi.set(__self__, "version_preference", version_preference) + _setter("version_preference", version_preference) @property @pulumi.getter(name="autonomousExadataInfrastructureId") @@ -1443,6 +1621,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + AutonomousContainerDatabaseArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -1489,6 +1671,11 @@ def _internal_init(__self__, __props__.__dict__["autonomous_exadata_infrastructure_id"] = autonomous_exadata_infrastructure_id __props__.__dict__["autonomous_vm_cluster_id"] = autonomous_vm_cluster_id + if backup_config is not None and not isinstance(backup_config, AutonomousContainerDatabaseBackupConfigArgs): + backup_config = backup_config or {} + def _setter(key, value): + backup_config[key] = value + AutonomousContainerDatabaseBackupConfigArgs._configure(_setter, **backup_config) __props__.__dict__["backup_config"] = backup_config __props__.__dict__["cloud_autonomous_vm_cluster_id"] = cloud_autonomous_vm_cluster_id __props__.__dict__["compartment_id"] = compartment_id @@ -1504,10 +1691,20 @@ def _internal_init(__self__, __props__.__dict__["is_automatic_failover_enabled"] = is_automatic_failover_enabled __props__.__dict__["key_store_id"] = key_store_id __props__.__dict__["kms_key_id"] = kms_key_id + if maintenance_window_details is not None and not isinstance(maintenance_window_details, AutonomousContainerDatabaseMaintenanceWindowDetailsArgs): + maintenance_window_details = maintenance_window_details or {} + def _setter(key, value): + maintenance_window_details[key] = value + AutonomousContainerDatabaseMaintenanceWindowDetailsArgs._configure(_setter, **maintenance_window_details) __props__.__dict__["maintenance_window_details"] = maintenance_window_details if patch_model is None and not opts.urn: raise TypeError("Missing required property 'patch_model'") __props__.__dict__["patch_model"] = patch_model + if peer_autonomous_container_database_backup_config is not None and not isinstance(peer_autonomous_container_database_backup_config, AutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigArgs): + peer_autonomous_container_database_backup_config = peer_autonomous_container_database_backup_config or {} + def _setter(key, value): + peer_autonomous_container_database_backup_config[key] = value + AutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigArgs._configure(_setter, **peer_autonomous_container_database_backup_config) __props__.__dict__["peer_autonomous_container_database_backup_config"] = peer_autonomous_container_database_backup_config __props__.__dict__["peer_autonomous_container_database_compartment_id"] = peer_autonomous_container_database_compartment_id __props__.__dict__["peer_autonomous_container_database_display_name"] = peer_autonomous_container_database_display_name diff --git a/sdk/python/pulumi_oci/database/autonomous_container_database_dataguard_association.py b/sdk/python/pulumi_oci/database/autonomous_container_database_dataguard_association.py index e195982b1c..3503d97d37 100644 --- a/sdk/python/pulumi_oci/database/autonomous_container_database_dataguard_association.py +++ b/sdk/python/pulumi_oci/database/autonomous_container_database_dataguard_association.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['AutonomousContainerDatabaseDataguardAssociationArgs', 'AutonomousContainerDatabaseDataguardAssociation'] @@ -31,14 +31,31 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "autonomous_container_database_dataguard_association_id", autonomous_container_database_dataguard_association_id) - pulumi.set(__self__, "autonomous_container_database_id", autonomous_container_database_id) + AutonomousContainerDatabaseDataguardAssociationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + autonomous_container_database_dataguard_association_id=autonomous_container_database_dataguard_association_id, + autonomous_container_database_id=autonomous_container_database_id, + fast_start_fail_over_lag_limit_in_seconds=fast_start_fail_over_lag_limit_in_seconds, + is_automatic_failover_enabled=is_automatic_failover_enabled, + protection_mode=protection_mode, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + autonomous_container_database_dataguard_association_id: pulumi.Input[str], + autonomous_container_database_id: pulumi.Input[str], + fast_start_fail_over_lag_limit_in_seconds: Optional[pulumi.Input[int]] = None, + is_automatic_failover_enabled: Optional[pulumi.Input[bool]] = None, + protection_mode: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("autonomous_container_database_dataguard_association_id", autonomous_container_database_dataguard_association_id) + _setter("autonomous_container_database_id", autonomous_container_database_id) if fast_start_fail_over_lag_limit_in_seconds is not None: - pulumi.set(__self__, "fast_start_fail_over_lag_limit_in_seconds", fast_start_fail_over_lag_limit_in_seconds) + _setter("fast_start_fail_over_lag_limit_in_seconds", fast_start_fail_over_lag_limit_in_seconds) if is_automatic_failover_enabled is not None: - pulumi.set(__self__, "is_automatic_failover_enabled", is_automatic_failover_enabled) + _setter("is_automatic_failover_enabled", is_automatic_failover_enabled) if protection_mode is not None: - pulumi.set(__self__, "protection_mode", protection_mode) + _setter("protection_mode", protection_mode) @property @pulumi.getter(name="autonomousContainerDatabaseDataguardAssociationId") @@ -151,42 +168,85 @@ def __init__(__self__, *, :param pulumi.Input[str] time_last_synced: The date and time of the last update to the apply lag, apply rate, and transport lag values. :param pulumi.Input[str] transport_lag: The approximate number of seconds of redo data not yet available on the standby Autonomous Container Database, as computed by the reporting database. Example: `7 seconds` """ + _AutonomousContainerDatabaseDataguardAssociationState._configure( + lambda key, value: pulumi.set(__self__, key, value), + apply_lag=apply_lag, + apply_rate=apply_rate, + autonomous_container_database_dataguard_association_id=autonomous_container_database_dataguard_association_id, + autonomous_container_database_id=autonomous_container_database_id, + fast_start_fail_over_lag_limit_in_seconds=fast_start_fail_over_lag_limit_in_seconds, + is_automatic_failover_enabled=is_automatic_failover_enabled, + lifecycle_details=lifecycle_details, + peer_autonomous_container_database_dataguard_association_id=peer_autonomous_container_database_dataguard_association_id, + peer_autonomous_container_database_id=peer_autonomous_container_database_id, + peer_lifecycle_state=peer_lifecycle_state, + peer_role=peer_role, + protection_mode=protection_mode, + role=role, + state=state, + time_created=time_created, + time_last_role_changed=time_last_role_changed, + time_last_synced=time_last_synced, + transport_lag=transport_lag, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + apply_lag: Optional[pulumi.Input[str]] = None, + apply_rate: Optional[pulumi.Input[str]] = None, + autonomous_container_database_dataguard_association_id: Optional[pulumi.Input[str]] = None, + autonomous_container_database_id: Optional[pulumi.Input[str]] = None, + fast_start_fail_over_lag_limit_in_seconds: Optional[pulumi.Input[int]] = None, + is_automatic_failover_enabled: Optional[pulumi.Input[bool]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + peer_autonomous_container_database_dataguard_association_id: Optional[pulumi.Input[str]] = None, + peer_autonomous_container_database_id: Optional[pulumi.Input[str]] = None, + peer_lifecycle_state: Optional[pulumi.Input[str]] = None, + peer_role: Optional[pulumi.Input[str]] = None, + protection_mode: Optional[pulumi.Input[str]] = None, + role: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_last_role_changed: Optional[pulumi.Input[str]] = None, + time_last_synced: Optional[pulumi.Input[str]] = None, + transport_lag: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if apply_lag is not None: - pulumi.set(__self__, "apply_lag", apply_lag) + _setter("apply_lag", apply_lag) if apply_rate is not None: - pulumi.set(__self__, "apply_rate", apply_rate) + _setter("apply_rate", apply_rate) if autonomous_container_database_dataguard_association_id is not None: - pulumi.set(__self__, "autonomous_container_database_dataguard_association_id", autonomous_container_database_dataguard_association_id) + _setter("autonomous_container_database_dataguard_association_id", autonomous_container_database_dataguard_association_id) if autonomous_container_database_id is not None: - pulumi.set(__self__, "autonomous_container_database_id", autonomous_container_database_id) + _setter("autonomous_container_database_id", autonomous_container_database_id) if fast_start_fail_over_lag_limit_in_seconds is not None: - pulumi.set(__self__, "fast_start_fail_over_lag_limit_in_seconds", fast_start_fail_over_lag_limit_in_seconds) + _setter("fast_start_fail_over_lag_limit_in_seconds", fast_start_fail_over_lag_limit_in_seconds) if is_automatic_failover_enabled is not None: - pulumi.set(__self__, "is_automatic_failover_enabled", is_automatic_failover_enabled) + _setter("is_automatic_failover_enabled", is_automatic_failover_enabled) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if peer_autonomous_container_database_dataguard_association_id is not None: - pulumi.set(__self__, "peer_autonomous_container_database_dataguard_association_id", peer_autonomous_container_database_dataguard_association_id) + _setter("peer_autonomous_container_database_dataguard_association_id", peer_autonomous_container_database_dataguard_association_id) if peer_autonomous_container_database_id is not None: - pulumi.set(__self__, "peer_autonomous_container_database_id", peer_autonomous_container_database_id) + _setter("peer_autonomous_container_database_id", peer_autonomous_container_database_id) if peer_lifecycle_state is not None: - pulumi.set(__self__, "peer_lifecycle_state", peer_lifecycle_state) + _setter("peer_lifecycle_state", peer_lifecycle_state) if peer_role is not None: - pulumi.set(__self__, "peer_role", peer_role) + _setter("peer_role", peer_role) if protection_mode is not None: - pulumi.set(__self__, "protection_mode", protection_mode) + _setter("protection_mode", protection_mode) if role is not None: - pulumi.set(__self__, "role", role) + _setter("role", role) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_last_role_changed is not None: - pulumi.set(__self__, "time_last_role_changed", time_last_role_changed) + _setter("time_last_role_changed", time_last_role_changed) if time_last_synced is not None: - pulumi.set(__self__, "time_last_synced", time_last_synced) + _setter("time_last_synced", time_last_synced) if transport_lag is not None: - pulumi.set(__self__, "transport_lag", transport_lag) + _setter("transport_lag", transport_lag) @property @pulumi.getter(name="applyLag") @@ -474,6 +534,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + AutonomousContainerDatabaseDataguardAssociationArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/database/autonomous_container_database_dataguard_association_operation.py b/sdk/python/pulumi_oci/database/autonomous_container_database_dataguard_association_operation.py index 9bd8631f58..770257ad0e 100644 --- a/sdk/python/pulumi_oci/database/autonomous_container_database_dataguard_association_operation.py +++ b/sdk/python/pulumi_oci/database/autonomous_container_database_dataguard_association_operation.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['AutonomousContainerDatabaseDataguardAssociationOperationArgs', 'AutonomousContainerDatabaseDataguardAssociationOperation'] @@ -23,9 +23,22 @@ def __init__(__self__, *, :param pulumi.Input[str] autonomous_container_database_id: The Autonomous Container Database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). This attribute is a forcenew attribute. :param pulumi.Input[str] operation: There are three type of supported operations `switchover`, `failover`, `reinstate`. `switchover` can only be used for primary database while `failover` and `reinstate` can only be used for standby database. This attribute is a forcenew attribute. """ - pulumi.set(__self__, "autonomous_container_database_dataguard_association_id", autonomous_container_database_dataguard_association_id) - pulumi.set(__self__, "autonomous_container_database_id", autonomous_container_database_id) - pulumi.set(__self__, "operation", operation) + AutonomousContainerDatabaseDataguardAssociationOperationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + autonomous_container_database_dataguard_association_id=autonomous_container_database_dataguard_association_id, + autonomous_container_database_id=autonomous_container_database_id, + operation=operation, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + autonomous_container_database_dataguard_association_id: pulumi.Input[str], + autonomous_container_database_id: pulumi.Input[str], + operation: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("autonomous_container_database_dataguard_association_id", autonomous_container_database_dataguard_association_id) + _setter("autonomous_container_database_id", autonomous_container_database_id) + _setter("operation", operation) @property @pulumi.getter(name="autonomousContainerDatabaseDataguardAssociationId") @@ -76,12 +89,25 @@ def __init__(__self__, *, :param pulumi.Input[str] autonomous_container_database_id: The Autonomous Container Database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). This attribute is a forcenew attribute. :param pulumi.Input[str] operation: There are three type of supported operations `switchover`, `failover`, `reinstate`. `switchover` can only be used for primary database while `failover` and `reinstate` can only be used for standby database. This attribute is a forcenew attribute. """ + _AutonomousContainerDatabaseDataguardAssociationOperationState._configure( + lambda key, value: pulumi.set(__self__, key, value), + autonomous_container_database_dataguard_association_id=autonomous_container_database_dataguard_association_id, + autonomous_container_database_id=autonomous_container_database_id, + operation=operation, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + autonomous_container_database_dataguard_association_id: Optional[pulumi.Input[str]] = None, + autonomous_container_database_id: Optional[pulumi.Input[str]] = None, + operation: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if autonomous_container_database_dataguard_association_id is not None: - pulumi.set(__self__, "autonomous_container_database_dataguard_association_id", autonomous_container_database_dataguard_association_id) + _setter("autonomous_container_database_dataguard_association_id", autonomous_container_database_dataguard_association_id) if autonomous_container_database_id is not None: - pulumi.set(__self__, "autonomous_container_database_id", autonomous_container_database_id) + _setter("autonomous_container_database_id", autonomous_container_database_id) if operation is not None: - pulumi.set(__self__, "operation", operation) + _setter("operation", operation) @property @pulumi.getter(name="autonomousContainerDatabaseDataguardAssociationId") @@ -193,6 +219,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + AutonomousContainerDatabaseDataguardAssociationOperationArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/database/autonomous_container_database_dataguard_role_change.py b/sdk/python/pulumi_oci/database/autonomous_container_database_dataguard_role_change.py index 175aa129ed..cbd4a4cf71 100644 --- a/sdk/python/pulumi_oci/database/autonomous_container_database_dataguard_role_change.py +++ b/sdk/python/pulumi_oci/database/autonomous_container_database_dataguard_role_change.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['AutonomousContainerDatabaseDataguardRoleChangeArgs', 'AutonomousContainerDatabaseDataguardRoleChange'] @@ -21,11 +21,26 @@ def __init__(__self__, *, """ The set of arguments for constructing a AutonomousContainerDatabaseDataguardRoleChange resource. """ - pulumi.set(__self__, "autonomous_container_database_dataguard_association_id", autonomous_container_database_dataguard_association_id) - pulumi.set(__self__, "autonomous_container_database_id", autonomous_container_database_id) - pulumi.set(__self__, "role", role) + AutonomousContainerDatabaseDataguardRoleChangeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + autonomous_container_database_dataguard_association_id=autonomous_container_database_dataguard_association_id, + autonomous_container_database_id=autonomous_container_database_id, + role=role, + connection_strings_type=connection_strings_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + autonomous_container_database_dataguard_association_id: pulumi.Input[str], + autonomous_container_database_id: pulumi.Input[str], + role: pulumi.Input[str], + connection_strings_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("autonomous_container_database_dataguard_association_id", autonomous_container_database_dataguard_association_id) + _setter("autonomous_container_database_id", autonomous_container_database_id) + _setter("role", role) if connection_strings_type is not None: - pulumi.set(__self__, "connection_strings_type", connection_strings_type) + _setter("connection_strings_type", connection_strings_type) @property @pulumi.getter(name="autonomousContainerDatabaseDataguardAssociationId") @@ -74,14 +89,29 @@ def __init__(__self__, *, """ Input properties used for looking up and filtering AutonomousContainerDatabaseDataguardRoleChange resources. """ + _AutonomousContainerDatabaseDataguardRoleChangeState._configure( + lambda key, value: pulumi.set(__self__, key, value), + autonomous_container_database_dataguard_association_id=autonomous_container_database_dataguard_association_id, + autonomous_container_database_id=autonomous_container_database_id, + connection_strings_type=connection_strings_type, + role=role, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + autonomous_container_database_dataguard_association_id: Optional[pulumi.Input[str]] = None, + autonomous_container_database_id: Optional[pulumi.Input[str]] = None, + connection_strings_type: Optional[pulumi.Input[str]] = None, + role: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if autonomous_container_database_dataguard_association_id is not None: - pulumi.set(__self__, "autonomous_container_database_dataguard_association_id", autonomous_container_database_dataguard_association_id) + _setter("autonomous_container_database_dataguard_association_id", autonomous_container_database_dataguard_association_id) if autonomous_container_database_id is not None: - pulumi.set(__self__, "autonomous_container_database_id", autonomous_container_database_id) + _setter("autonomous_container_database_id", autonomous_container_database_id) if connection_strings_type is not None: - pulumi.set(__self__, "connection_strings_type", connection_strings_type) + _setter("connection_strings_type", connection_strings_type) if role is not None: - pulumi.set(__self__, "role", role) + _setter("role", role) @property @pulumi.getter(name="autonomousContainerDatabaseDataguardAssociationId") @@ -153,6 +183,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + AutonomousContainerDatabaseDataguardRoleChangeArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/database/autonomous_database.py b/sdk/python/pulumi_oci/database/autonomous_database.py index 1c86bb5b81..6b9182d457 100644 --- a/sdk/python/pulumi_oci/database/autonomous_database.py +++ b/sdk/python/pulumi_oci/database/autonomous_database.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -67,6 +67,8 @@ def __init__(__self__, *, private_endpoint_label: Optional[pulumi.Input[str]] = None, refreshable_mode: Optional[pulumi.Input[str]] = None, remote_disaster_recovery_type: Optional[pulumi.Input[str]] = None, + resource_pool_leader_id: Optional[pulumi.Input[str]] = None, + resource_pool_summary: Optional[pulumi.Input['AutonomousDatabaseResourcePoolSummaryArgs']] = None, rotate_key_trigger: Optional[pulumi.Input[bool]] = None, scheduled_operations: Optional[pulumi.Input[Sequence[pulumi.Input['AutonomousDatabaseScheduledOperationArgs']]]] = None, secret_id: Optional[pulumi.Input[str]] = None, @@ -215,136 +217,283 @@ def __init__(__self__, *, This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier. To remove all whitelisted IPs, set the field to a list with an empty string `[""]`. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "db_name", db_name) + AutonomousDatabaseArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + db_name=db_name, + admin_password=admin_password, + are_primary_whitelisted_ips_used=are_primary_whitelisted_ips_used, + autonomous_container_database_id=autonomous_container_database_id, + autonomous_database_backup_id=autonomous_database_backup_id, + autonomous_database_id=autonomous_database_id, + autonomous_maintenance_schedule_type=autonomous_maintenance_schedule_type, + backup_retention_period_in_days=backup_retention_period_in_days, + character_set=character_set, + clone_type=clone_type, + compute_count=compute_count, + compute_model=compute_model, + cpu_core_count=cpu_core_count, + customer_contacts=customer_contacts, + data_safe_status=data_safe_status, + data_storage_size_in_gb=data_storage_size_in_gb, + data_storage_size_in_tbs=data_storage_size_in_tbs, + database_edition=database_edition, + database_management_status=database_management_status, + db_version=db_version, + db_workload=db_workload, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + in_memory_percentage=in_memory_percentage, + is_access_control_enabled=is_access_control_enabled, + is_auto_scaling_enabled=is_auto_scaling_enabled, + is_auto_scaling_for_storage_enabled=is_auto_scaling_for_storage_enabled, + is_data_guard_enabled=is_data_guard_enabled, + is_dedicated=is_dedicated, + is_free_tier=is_free_tier, + is_local_data_guard_enabled=is_local_data_guard_enabled, + is_mtls_connection_required=is_mtls_connection_required, + is_preview_version_with_service_terms_accepted=is_preview_version_with_service_terms_accepted, + is_refreshable_clone=is_refreshable_clone, + is_shrink_only=is_shrink_only, + kms_key_id=kms_key_id, + license_model=license_model, + local_adg_auto_failover_max_data_loss_limit=local_adg_auto_failover_max_data_loss_limit, + max_cpu_core_count=max_cpu_core_count, + ncharacter_set=ncharacter_set, + nsg_ids=nsg_ids, + ocpu_count=ocpu_count, + open_mode=open_mode, + operations_insights_status=operations_insights_status, + permission_level=permission_level, + private_endpoint_ip=private_endpoint_ip, + private_endpoint_label=private_endpoint_label, + refreshable_mode=refreshable_mode, + remote_disaster_recovery_type=remote_disaster_recovery_type, + resource_pool_leader_id=resource_pool_leader_id, + resource_pool_summary=resource_pool_summary, + rotate_key_trigger=rotate_key_trigger, + scheduled_operations=scheduled_operations, + secret_id=secret_id, + secret_version_number=secret_version_number, + source=source, + source_id=source_id, + standby_whitelisted_ips=standby_whitelisted_ips, + state=state, + subnet_id=subnet_id, + switchover_to=switchover_to, + switchover_to_remote_peer_id=switchover_to_remote_peer_id, + timestamp=timestamp, + use_latest_available_backup_time_stamp=use_latest_available_backup_time_stamp, + vault_id=vault_id, + whitelisted_ips=whitelisted_ips, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + db_name: pulumi.Input[str], + admin_password: Optional[pulumi.Input[str]] = None, + are_primary_whitelisted_ips_used: Optional[pulumi.Input[bool]] = None, + autonomous_container_database_id: Optional[pulumi.Input[str]] = None, + autonomous_database_backup_id: Optional[pulumi.Input[str]] = None, + autonomous_database_id: Optional[pulumi.Input[str]] = None, + autonomous_maintenance_schedule_type: Optional[pulumi.Input[str]] = None, + backup_retention_period_in_days: Optional[pulumi.Input[int]] = None, + character_set: Optional[pulumi.Input[str]] = None, + clone_type: Optional[pulumi.Input[str]] = None, + compute_count: Optional[pulumi.Input[float]] = None, + compute_model: Optional[pulumi.Input[str]] = None, + cpu_core_count: Optional[pulumi.Input[int]] = None, + customer_contacts: Optional[pulumi.Input[Sequence[pulumi.Input['AutonomousDatabaseCustomerContactArgs']]]] = None, + data_safe_status: Optional[pulumi.Input[str]] = None, + data_storage_size_in_gb: Optional[pulumi.Input[int]] = None, + data_storage_size_in_tbs: Optional[pulumi.Input[int]] = None, + database_edition: Optional[pulumi.Input[str]] = None, + database_management_status: Optional[pulumi.Input[str]] = None, + db_version: Optional[pulumi.Input[str]] = None, + db_workload: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + in_memory_percentage: Optional[pulumi.Input[int]] = None, + is_access_control_enabled: Optional[pulumi.Input[bool]] = None, + is_auto_scaling_enabled: Optional[pulumi.Input[bool]] = None, + is_auto_scaling_for_storage_enabled: Optional[pulumi.Input[bool]] = None, + is_data_guard_enabled: Optional[pulumi.Input[bool]] = None, + is_dedicated: Optional[pulumi.Input[bool]] = None, + is_free_tier: Optional[pulumi.Input[bool]] = None, + is_local_data_guard_enabled: Optional[pulumi.Input[bool]] = None, + is_mtls_connection_required: Optional[pulumi.Input[bool]] = None, + is_preview_version_with_service_terms_accepted: Optional[pulumi.Input[bool]] = None, + is_refreshable_clone: Optional[pulumi.Input[bool]] = None, + is_shrink_only: Optional[pulumi.Input[bool]] = None, + kms_key_id: Optional[pulumi.Input[str]] = None, + license_model: Optional[pulumi.Input[str]] = None, + local_adg_auto_failover_max_data_loss_limit: Optional[pulumi.Input[int]] = None, + max_cpu_core_count: Optional[pulumi.Input[int]] = None, + ncharacter_set: Optional[pulumi.Input[str]] = None, + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + ocpu_count: Optional[pulumi.Input[float]] = None, + open_mode: Optional[pulumi.Input[str]] = None, + operations_insights_status: Optional[pulumi.Input[str]] = None, + permission_level: Optional[pulumi.Input[str]] = None, + private_endpoint_ip: Optional[pulumi.Input[str]] = None, + private_endpoint_label: Optional[pulumi.Input[str]] = None, + refreshable_mode: Optional[pulumi.Input[str]] = None, + remote_disaster_recovery_type: Optional[pulumi.Input[str]] = None, + resource_pool_leader_id: Optional[pulumi.Input[str]] = None, + resource_pool_summary: Optional[pulumi.Input['AutonomousDatabaseResourcePoolSummaryArgs']] = None, + rotate_key_trigger: Optional[pulumi.Input[bool]] = None, + scheduled_operations: Optional[pulumi.Input[Sequence[pulumi.Input['AutonomousDatabaseScheduledOperationArgs']]]] = None, + secret_id: Optional[pulumi.Input[str]] = None, + secret_version_number: Optional[pulumi.Input[int]] = None, + source: Optional[pulumi.Input[str]] = None, + source_id: Optional[pulumi.Input[str]] = None, + standby_whitelisted_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + state: Optional[pulumi.Input[str]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + switchover_to: Optional[pulumi.Input[str]] = None, + switchover_to_remote_peer_id: Optional[pulumi.Input[str]] = None, + timestamp: Optional[pulumi.Input[str]] = None, + use_latest_available_backup_time_stamp: Optional[pulumi.Input[bool]] = None, + vault_id: Optional[pulumi.Input[str]] = None, + whitelisted_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("db_name", db_name) if admin_password is not None: - pulumi.set(__self__, "admin_password", admin_password) + _setter("admin_password", admin_password) if are_primary_whitelisted_ips_used is not None: - pulumi.set(__self__, "are_primary_whitelisted_ips_used", are_primary_whitelisted_ips_used) + _setter("are_primary_whitelisted_ips_used", are_primary_whitelisted_ips_used) if autonomous_container_database_id is not None: - pulumi.set(__self__, "autonomous_container_database_id", autonomous_container_database_id) + _setter("autonomous_container_database_id", autonomous_container_database_id) if autonomous_database_backup_id is not None: - pulumi.set(__self__, "autonomous_database_backup_id", autonomous_database_backup_id) + _setter("autonomous_database_backup_id", autonomous_database_backup_id) if autonomous_database_id is not None: - pulumi.set(__self__, "autonomous_database_id", autonomous_database_id) + _setter("autonomous_database_id", autonomous_database_id) if autonomous_maintenance_schedule_type is not None: - pulumi.set(__self__, "autonomous_maintenance_schedule_type", autonomous_maintenance_schedule_type) + _setter("autonomous_maintenance_schedule_type", autonomous_maintenance_schedule_type) if backup_retention_period_in_days is not None: - pulumi.set(__self__, "backup_retention_period_in_days", backup_retention_period_in_days) + _setter("backup_retention_period_in_days", backup_retention_period_in_days) if character_set is not None: - pulumi.set(__self__, "character_set", character_set) + _setter("character_set", character_set) if clone_type is not None: - pulumi.set(__self__, "clone_type", clone_type) + _setter("clone_type", clone_type) if compute_count is not None: - pulumi.set(__self__, "compute_count", compute_count) + _setter("compute_count", compute_count) if compute_model is not None: - pulumi.set(__self__, "compute_model", compute_model) + _setter("compute_model", compute_model) if cpu_core_count is not None: - pulumi.set(__self__, "cpu_core_count", cpu_core_count) + _setter("cpu_core_count", cpu_core_count) if customer_contacts is not None: - pulumi.set(__self__, "customer_contacts", customer_contacts) + _setter("customer_contacts", customer_contacts) if data_safe_status is not None: - pulumi.set(__self__, "data_safe_status", data_safe_status) + _setter("data_safe_status", data_safe_status) if data_storage_size_in_gb is not None: - pulumi.set(__self__, "data_storage_size_in_gb", data_storage_size_in_gb) + _setter("data_storage_size_in_gb", data_storage_size_in_gb) if data_storage_size_in_tbs is not None: - pulumi.set(__self__, "data_storage_size_in_tbs", data_storage_size_in_tbs) + _setter("data_storage_size_in_tbs", data_storage_size_in_tbs) if database_edition is not None: - pulumi.set(__self__, "database_edition", database_edition) + _setter("database_edition", database_edition) if database_management_status is not None: - pulumi.set(__self__, "database_management_status", database_management_status) + _setter("database_management_status", database_management_status) if db_version is not None: - pulumi.set(__self__, "db_version", db_version) + _setter("db_version", db_version) if db_workload is not None: - pulumi.set(__self__, "db_workload", db_workload) + _setter("db_workload", db_workload) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if in_memory_percentage is not None: - pulumi.set(__self__, "in_memory_percentage", in_memory_percentage) + _setter("in_memory_percentage", in_memory_percentage) if is_access_control_enabled is not None: - pulumi.set(__self__, "is_access_control_enabled", is_access_control_enabled) + _setter("is_access_control_enabled", is_access_control_enabled) if is_auto_scaling_enabled is not None: - pulumi.set(__self__, "is_auto_scaling_enabled", is_auto_scaling_enabled) + _setter("is_auto_scaling_enabled", is_auto_scaling_enabled) if is_auto_scaling_for_storage_enabled is not None: - pulumi.set(__self__, "is_auto_scaling_for_storage_enabled", is_auto_scaling_for_storage_enabled) + _setter("is_auto_scaling_for_storage_enabled", is_auto_scaling_for_storage_enabled) if is_data_guard_enabled is not None: - pulumi.set(__self__, "is_data_guard_enabled", is_data_guard_enabled) + _setter("is_data_guard_enabled", is_data_guard_enabled) if is_dedicated is not None: - pulumi.set(__self__, "is_dedicated", is_dedicated) + _setter("is_dedicated", is_dedicated) if is_free_tier is not None: - pulumi.set(__self__, "is_free_tier", is_free_tier) + _setter("is_free_tier", is_free_tier) if is_local_data_guard_enabled is not None: - pulumi.set(__self__, "is_local_data_guard_enabled", is_local_data_guard_enabled) + _setter("is_local_data_guard_enabled", is_local_data_guard_enabled) if is_mtls_connection_required is not None: - pulumi.set(__self__, "is_mtls_connection_required", is_mtls_connection_required) + _setter("is_mtls_connection_required", is_mtls_connection_required) if is_preview_version_with_service_terms_accepted is not None: - pulumi.set(__self__, "is_preview_version_with_service_terms_accepted", is_preview_version_with_service_terms_accepted) + _setter("is_preview_version_with_service_terms_accepted", is_preview_version_with_service_terms_accepted) if is_refreshable_clone is not None: - pulumi.set(__self__, "is_refreshable_clone", is_refreshable_clone) + _setter("is_refreshable_clone", is_refreshable_clone) if is_shrink_only is not None: - pulumi.set(__self__, "is_shrink_only", is_shrink_only) + _setter("is_shrink_only", is_shrink_only) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) if license_model is not None: - pulumi.set(__self__, "license_model", license_model) + _setter("license_model", license_model) if local_adg_auto_failover_max_data_loss_limit is not None: - pulumi.set(__self__, "local_adg_auto_failover_max_data_loss_limit", local_adg_auto_failover_max_data_loss_limit) + _setter("local_adg_auto_failover_max_data_loss_limit", local_adg_auto_failover_max_data_loss_limit) if max_cpu_core_count is not None: - pulumi.set(__self__, "max_cpu_core_count", max_cpu_core_count) + _setter("max_cpu_core_count", max_cpu_core_count) if ncharacter_set is not None: - pulumi.set(__self__, "ncharacter_set", ncharacter_set) + _setter("ncharacter_set", ncharacter_set) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) if ocpu_count is not None: - pulumi.set(__self__, "ocpu_count", ocpu_count) + _setter("ocpu_count", ocpu_count) if open_mode is not None: - pulumi.set(__self__, "open_mode", open_mode) + _setter("open_mode", open_mode) if operations_insights_status is not None: - pulumi.set(__self__, "operations_insights_status", operations_insights_status) + _setter("operations_insights_status", operations_insights_status) if permission_level is not None: - pulumi.set(__self__, "permission_level", permission_level) + _setter("permission_level", permission_level) if private_endpoint_ip is not None: - pulumi.set(__self__, "private_endpoint_ip", private_endpoint_ip) + _setter("private_endpoint_ip", private_endpoint_ip) if private_endpoint_label is not None: - pulumi.set(__self__, "private_endpoint_label", private_endpoint_label) + _setter("private_endpoint_label", private_endpoint_label) if refreshable_mode is not None: - pulumi.set(__self__, "refreshable_mode", refreshable_mode) + _setter("refreshable_mode", refreshable_mode) if remote_disaster_recovery_type is not None: - pulumi.set(__self__, "remote_disaster_recovery_type", remote_disaster_recovery_type) + _setter("remote_disaster_recovery_type", remote_disaster_recovery_type) + if resource_pool_leader_id is not None: + _setter("resource_pool_leader_id", resource_pool_leader_id) + if resource_pool_summary is not None: + _setter("resource_pool_summary", resource_pool_summary) if rotate_key_trigger is not None: - pulumi.set(__self__, "rotate_key_trigger", rotate_key_trigger) + _setter("rotate_key_trigger", rotate_key_trigger) if scheduled_operations is not None: - pulumi.set(__self__, "scheduled_operations", scheduled_operations) + _setter("scheduled_operations", scheduled_operations) if secret_id is not None: - pulumi.set(__self__, "secret_id", secret_id) + _setter("secret_id", secret_id) if secret_version_number is not None: - pulumi.set(__self__, "secret_version_number", secret_version_number) + _setter("secret_version_number", secret_version_number) if source is not None: - pulumi.set(__self__, "source", source) + _setter("source", source) if source_id is not None: - pulumi.set(__self__, "source_id", source_id) + _setter("source_id", source_id) if standby_whitelisted_ips is not None: - pulumi.set(__self__, "standby_whitelisted_ips", standby_whitelisted_ips) + _setter("standby_whitelisted_ips", standby_whitelisted_ips) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) if switchover_to is not None: - pulumi.set(__self__, "switchover_to", switchover_to) + _setter("switchover_to", switchover_to) if switchover_to_remote_peer_id is not None: - pulumi.set(__self__, "switchover_to_remote_peer_id", switchover_to_remote_peer_id) + _setter("switchover_to_remote_peer_id", switchover_to_remote_peer_id) if timestamp is not None: - pulumi.set(__self__, "timestamp", timestamp) + _setter("timestamp", timestamp) if use_latest_available_backup_time_stamp is not None: - pulumi.set(__self__, "use_latest_available_backup_time_stamp", use_latest_available_backup_time_stamp) + _setter("use_latest_available_backup_time_stamp", use_latest_available_backup_time_stamp) if vault_id is not None: - pulumi.set(__self__, "vault_id", vault_id) + _setter("vault_id", vault_id) if whitelisted_ips is not None: - pulumi.set(__self__, "whitelisted_ips", whitelisted_ips) + _setter("whitelisted_ips", whitelisted_ips) @property @pulumi.getter(name="compartmentId") @@ -995,6 +1144,24 @@ def remote_disaster_recovery_type(self) -> Optional[pulumi.Input[str]]: def remote_disaster_recovery_type(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "remote_disaster_recovery_type", value) + @property + @pulumi.getter(name="resourcePoolLeaderId") + def resource_pool_leader_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "resource_pool_leader_id") + + @resource_pool_leader_id.setter + def resource_pool_leader_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "resource_pool_leader_id", value) + + @property + @pulumi.getter(name="resourcePoolSummary") + def resource_pool_summary(self) -> Optional[pulumi.Input['AutonomousDatabaseResourcePoolSummaryArgs']]: + return pulumi.get(self, "resource_pool_summary") + + @resource_pool_summary.setter + def resource_pool_summary(self, value: Optional[pulumi.Input['AutonomousDatabaseResourcePoolSummaryArgs']]): + pulumi.set(self, "resource_pool_summary", value) + @property @pulumi.getter(name="rotateKeyTrigger") def rotate_key_trigger(self) -> Optional[pulumi.Input[bool]]: @@ -1288,6 +1455,8 @@ def __init__(__self__, *, refreshable_status: Optional[pulumi.Input[str]] = None, remote_disaster_recovery_configurations: Optional[pulumi.Input[Sequence[pulumi.Input['AutonomousDatabaseRemoteDisasterRecoveryConfigurationArgs']]]] = None, remote_disaster_recovery_type: Optional[pulumi.Input[str]] = None, + resource_pool_leader_id: Optional[pulumi.Input[str]] = None, + resource_pool_summary: Optional[pulumi.Input['AutonomousDatabaseResourcePoolSummaryArgs']] = None, role: Optional[pulumi.Input[str]] = None, rotate_key_trigger: Optional[pulumi.Input[bool]] = None, scheduled_operations: Optional[pulumi.Input[Sequence[pulumi.Input['AutonomousDatabaseScheduledOperationArgs']]]] = None, @@ -1311,6 +1480,7 @@ def __init__(__self__, *, time_local_data_guard_enabled: Optional[pulumi.Input[str]] = None, time_maintenance_begin: Optional[pulumi.Input[str]] = None, time_maintenance_end: Optional[pulumi.Input[str]] = None, + time_of_joining_resource_pool: Optional[pulumi.Input[str]] = None, time_of_last_failover: Optional[pulumi.Input[str]] = None, time_of_last_refresh: Optional[pulumi.Input[str]] = None, time_of_last_refresh_point: Optional[pulumi.Input[str]] = None, @@ -1511,244 +1681,501 @@ def __init__(__self__, *, This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, dbVersion, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier. To remove all whitelisted IPs, set the field to a list with an empty string `[""]`. """ + _AutonomousDatabaseState._configure( + lambda key, value: pulumi.set(__self__, key, value), + actual_used_data_storage_size_in_tbs=actual_used_data_storage_size_in_tbs, + admin_password=admin_password, + allocated_storage_size_in_tbs=allocated_storage_size_in_tbs, + apex_details=apex_details, + are_primary_whitelisted_ips_used=are_primary_whitelisted_ips_used, + autonomous_container_database_id=autonomous_container_database_id, + autonomous_database_backup_id=autonomous_database_backup_id, + autonomous_database_id=autonomous_database_id, + autonomous_maintenance_schedule_type=autonomous_maintenance_schedule_type, + available_upgrade_versions=available_upgrade_versions, + backup_configs=backup_configs, + backup_retention_period_in_days=backup_retention_period_in_days, + character_set=character_set, + clone_type=clone_type, + compartment_id=compartment_id, + compute_count=compute_count, + compute_model=compute_model, + connection_strings=connection_strings, + connection_urls=connection_urls, + cpu_core_count=cpu_core_count, + customer_contacts=customer_contacts, + data_safe_status=data_safe_status, + data_storage_size_in_gb=data_storage_size_in_gb, + data_storage_size_in_tbs=data_storage_size_in_tbs, + database_edition=database_edition, + database_management_status=database_management_status, + dataguard_region_type=dataguard_region_type, + db_name=db_name, + db_version=db_version, + db_workload=db_workload, + defined_tags=defined_tags, + disaster_recovery_region_type=disaster_recovery_region_type, + display_name=display_name, + failed_data_recovery_in_seconds=failed_data_recovery_in_seconds, + freeform_tags=freeform_tags, + in_memory_area_in_gbs=in_memory_area_in_gbs, + in_memory_percentage=in_memory_percentage, + infrastructure_type=infrastructure_type, + is_access_control_enabled=is_access_control_enabled, + is_auto_scaling_enabled=is_auto_scaling_enabled, + is_auto_scaling_for_storage_enabled=is_auto_scaling_for_storage_enabled, + is_data_guard_enabled=is_data_guard_enabled, + is_dedicated=is_dedicated, + is_free_tier=is_free_tier, + is_local_data_guard_enabled=is_local_data_guard_enabled, + is_mtls_connection_required=is_mtls_connection_required, + is_preview=is_preview, + is_preview_version_with_service_terms_accepted=is_preview_version_with_service_terms_accepted, + is_reconnect_clone_enabled=is_reconnect_clone_enabled, + is_refreshable_clone=is_refreshable_clone, + is_remote_data_guard_enabled=is_remote_data_guard_enabled, + is_shrink_only=is_shrink_only, + key_history_entries=key_history_entries, + key_store_id=key_store_id, + key_store_wallet_name=key_store_wallet_name, + kms_key_id=kms_key_id, + kms_key_lifecycle_details=kms_key_lifecycle_details, + kms_key_version_id=kms_key_version_id, + license_model=license_model, + lifecycle_details=lifecycle_details, + local_adg_auto_failover_max_data_loss_limit=local_adg_auto_failover_max_data_loss_limit, + local_disaster_recovery_type=local_disaster_recovery_type, + local_standby_dbs=local_standby_dbs, + long_term_backup_schedules=long_term_backup_schedules, + max_cpu_core_count=max_cpu_core_count, + memory_per_oracle_compute_unit_in_gbs=memory_per_oracle_compute_unit_in_gbs, + ncharacter_set=ncharacter_set, + next_long_term_backup_time_stamp=next_long_term_backup_time_stamp, + nsg_ids=nsg_ids, + ocpu_count=ocpu_count, + open_mode=open_mode, + operations_insights_status=operations_insights_status, + peer_db_ids=peer_db_ids, + permission_level=permission_level, + private_endpoint=private_endpoint, + private_endpoint_ip=private_endpoint_ip, + private_endpoint_label=private_endpoint_label, + provisionable_cpuses=provisionable_cpuses, + refreshable_mode=refreshable_mode, + refreshable_status=refreshable_status, + remote_disaster_recovery_configurations=remote_disaster_recovery_configurations, + remote_disaster_recovery_type=remote_disaster_recovery_type, + resource_pool_leader_id=resource_pool_leader_id, + resource_pool_summary=resource_pool_summary, + role=role, + rotate_key_trigger=rotate_key_trigger, + scheduled_operations=scheduled_operations, + secret_id=secret_id, + secret_version_number=secret_version_number, + service_console_url=service_console_url, + source=source, + source_id=source_id, + standby_dbs=standby_dbs, + standby_whitelisted_ips=standby_whitelisted_ips, + state=state, + subnet_id=subnet_id, + supported_regions_to_clone_tos=supported_regions_to_clone_tos, + switchover_to=switchover_to, + switchover_to_remote_peer_id=switchover_to_remote_peer_id, + system_tags=system_tags, + time_created=time_created, + time_data_guard_role_changed=time_data_guard_role_changed, + time_deletion_of_free_autonomous_database=time_deletion_of_free_autonomous_database, + time_disaster_recovery_role_changed=time_disaster_recovery_role_changed, + time_local_data_guard_enabled=time_local_data_guard_enabled, + time_maintenance_begin=time_maintenance_begin, + time_maintenance_end=time_maintenance_end, + time_of_joining_resource_pool=time_of_joining_resource_pool, + time_of_last_failover=time_of_last_failover, + time_of_last_refresh=time_of_last_refresh, + time_of_last_refresh_point=time_of_last_refresh_point, + time_of_last_switchover=time_of_last_switchover, + time_of_next_refresh=time_of_next_refresh, + time_reclamation_of_free_autonomous_database=time_reclamation_of_free_autonomous_database, + time_until_reconnect_clone_enabled=time_until_reconnect_clone_enabled, + timestamp=timestamp, + total_backup_storage_size_in_gbs=total_backup_storage_size_in_gbs, + use_latest_available_backup_time_stamp=use_latest_available_backup_time_stamp, + used_data_storage_size_in_gbs=used_data_storage_size_in_gbs, + used_data_storage_size_in_tbs=used_data_storage_size_in_tbs, + vault_id=vault_id, + whitelisted_ips=whitelisted_ips, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + actual_used_data_storage_size_in_tbs: Optional[pulumi.Input[float]] = None, + admin_password: Optional[pulumi.Input[str]] = None, + allocated_storage_size_in_tbs: Optional[pulumi.Input[float]] = None, + apex_details: Optional[pulumi.Input[Sequence[pulumi.Input['AutonomousDatabaseApexDetailArgs']]]] = None, + are_primary_whitelisted_ips_used: Optional[pulumi.Input[bool]] = None, + autonomous_container_database_id: Optional[pulumi.Input[str]] = None, + autonomous_database_backup_id: Optional[pulumi.Input[str]] = None, + autonomous_database_id: Optional[pulumi.Input[str]] = None, + autonomous_maintenance_schedule_type: Optional[pulumi.Input[str]] = None, + available_upgrade_versions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + backup_configs: Optional[pulumi.Input[Sequence[pulumi.Input['AutonomousDatabaseBackupConfigArgs']]]] = None, + backup_retention_period_in_days: Optional[pulumi.Input[int]] = None, + character_set: Optional[pulumi.Input[str]] = None, + clone_type: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + compute_count: Optional[pulumi.Input[float]] = None, + compute_model: Optional[pulumi.Input[str]] = None, + connection_strings: Optional[pulumi.Input[Sequence[pulumi.Input['AutonomousDatabaseConnectionStringArgs']]]] = None, + connection_urls: Optional[pulumi.Input[Sequence[pulumi.Input['AutonomousDatabaseConnectionUrlArgs']]]] = None, + cpu_core_count: Optional[pulumi.Input[int]] = None, + customer_contacts: Optional[pulumi.Input[Sequence[pulumi.Input['AutonomousDatabaseCustomerContactArgs']]]] = None, + data_safe_status: Optional[pulumi.Input[str]] = None, + data_storage_size_in_gb: Optional[pulumi.Input[int]] = None, + data_storage_size_in_tbs: Optional[pulumi.Input[int]] = None, + database_edition: Optional[pulumi.Input[str]] = None, + database_management_status: Optional[pulumi.Input[str]] = None, + dataguard_region_type: Optional[pulumi.Input[str]] = None, + db_name: Optional[pulumi.Input[str]] = None, + db_version: Optional[pulumi.Input[str]] = None, + db_workload: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + disaster_recovery_region_type: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + failed_data_recovery_in_seconds: Optional[pulumi.Input[int]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + in_memory_area_in_gbs: Optional[pulumi.Input[int]] = None, + in_memory_percentage: Optional[pulumi.Input[int]] = None, + infrastructure_type: Optional[pulumi.Input[str]] = None, + is_access_control_enabled: Optional[pulumi.Input[bool]] = None, + is_auto_scaling_enabled: Optional[pulumi.Input[bool]] = None, + is_auto_scaling_for_storage_enabled: Optional[pulumi.Input[bool]] = None, + is_data_guard_enabled: Optional[pulumi.Input[bool]] = None, + is_dedicated: Optional[pulumi.Input[bool]] = None, + is_free_tier: Optional[pulumi.Input[bool]] = None, + is_local_data_guard_enabled: Optional[pulumi.Input[bool]] = None, + is_mtls_connection_required: Optional[pulumi.Input[bool]] = None, + is_preview: Optional[pulumi.Input[bool]] = None, + is_preview_version_with_service_terms_accepted: Optional[pulumi.Input[bool]] = None, + is_reconnect_clone_enabled: Optional[pulumi.Input[bool]] = None, + is_refreshable_clone: Optional[pulumi.Input[bool]] = None, + is_remote_data_guard_enabled: Optional[pulumi.Input[bool]] = None, + is_shrink_only: Optional[pulumi.Input[bool]] = None, + key_history_entries: Optional[pulumi.Input[Sequence[pulumi.Input['AutonomousDatabaseKeyHistoryEntryArgs']]]] = None, + key_store_id: Optional[pulumi.Input[str]] = None, + key_store_wallet_name: Optional[pulumi.Input[str]] = None, + kms_key_id: Optional[pulumi.Input[str]] = None, + kms_key_lifecycle_details: Optional[pulumi.Input[str]] = None, + kms_key_version_id: Optional[pulumi.Input[str]] = None, + license_model: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + local_adg_auto_failover_max_data_loss_limit: Optional[pulumi.Input[int]] = None, + local_disaster_recovery_type: Optional[pulumi.Input[str]] = None, + local_standby_dbs: Optional[pulumi.Input[Sequence[pulumi.Input['AutonomousDatabaseLocalStandbyDbArgs']]]] = None, + long_term_backup_schedules: Optional[pulumi.Input[Sequence[pulumi.Input['AutonomousDatabaseLongTermBackupScheduleArgs']]]] = None, + max_cpu_core_count: Optional[pulumi.Input[int]] = None, + memory_per_oracle_compute_unit_in_gbs: Optional[pulumi.Input[int]] = None, + ncharacter_set: Optional[pulumi.Input[str]] = None, + next_long_term_backup_time_stamp: Optional[pulumi.Input[str]] = None, + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + ocpu_count: Optional[pulumi.Input[float]] = None, + open_mode: Optional[pulumi.Input[str]] = None, + operations_insights_status: Optional[pulumi.Input[str]] = None, + peer_db_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + permission_level: Optional[pulumi.Input[str]] = None, + private_endpoint: Optional[pulumi.Input[str]] = None, + private_endpoint_ip: Optional[pulumi.Input[str]] = None, + private_endpoint_label: Optional[pulumi.Input[str]] = None, + provisionable_cpuses: Optional[pulumi.Input[Sequence[pulumi.Input[float]]]] = None, + refreshable_mode: Optional[pulumi.Input[str]] = None, + refreshable_status: Optional[pulumi.Input[str]] = None, + remote_disaster_recovery_configurations: Optional[pulumi.Input[Sequence[pulumi.Input['AutonomousDatabaseRemoteDisasterRecoveryConfigurationArgs']]]] = None, + remote_disaster_recovery_type: Optional[pulumi.Input[str]] = None, + resource_pool_leader_id: Optional[pulumi.Input[str]] = None, + resource_pool_summary: Optional[pulumi.Input['AutonomousDatabaseResourcePoolSummaryArgs']] = None, + role: Optional[pulumi.Input[str]] = None, + rotate_key_trigger: Optional[pulumi.Input[bool]] = None, + scheduled_operations: Optional[pulumi.Input[Sequence[pulumi.Input['AutonomousDatabaseScheduledOperationArgs']]]] = None, + secret_id: Optional[pulumi.Input[str]] = None, + secret_version_number: Optional[pulumi.Input[int]] = None, + service_console_url: Optional[pulumi.Input[str]] = None, + source: Optional[pulumi.Input[str]] = None, + source_id: Optional[pulumi.Input[str]] = None, + standby_dbs: Optional[pulumi.Input[Sequence[pulumi.Input['AutonomousDatabaseStandbyDbArgs']]]] = None, + standby_whitelisted_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + state: Optional[pulumi.Input[str]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + supported_regions_to_clone_tos: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + switchover_to: Optional[pulumi.Input[str]] = None, + switchover_to_remote_peer_id: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_data_guard_role_changed: Optional[pulumi.Input[str]] = None, + time_deletion_of_free_autonomous_database: Optional[pulumi.Input[str]] = None, + time_disaster_recovery_role_changed: Optional[pulumi.Input[str]] = None, + time_local_data_guard_enabled: Optional[pulumi.Input[str]] = None, + time_maintenance_begin: Optional[pulumi.Input[str]] = None, + time_maintenance_end: Optional[pulumi.Input[str]] = None, + time_of_joining_resource_pool: Optional[pulumi.Input[str]] = None, + time_of_last_failover: Optional[pulumi.Input[str]] = None, + time_of_last_refresh: Optional[pulumi.Input[str]] = None, + time_of_last_refresh_point: Optional[pulumi.Input[str]] = None, + time_of_last_switchover: Optional[pulumi.Input[str]] = None, + time_of_next_refresh: Optional[pulumi.Input[str]] = None, + time_reclamation_of_free_autonomous_database: Optional[pulumi.Input[str]] = None, + time_until_reconnect_clone_enabled: Optional[pulumi.Input[str]] = None, + timestamp: Optional[pulumi.Input[str]] = None, + total_backup_storage_size_in_gbs: Optional[pulumi.Input[float]] = None, + use_latest_available_backup_time_stamp: Optional[pulumi.Input[bool]] = None, + used_data_storage_size_in_gbs: Optional[pulumi.Input[int]] = None, + used_data_storage_size_in_tbs: Optional[pulumi.Input[int]] = None, + vault_id: Optional[pulumi.Input[str]] = None, + whitelisted_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if actual_used_data_storage_size_in_tbs is not None: - pulumi.set(__self__, "actual_used_data_storage_size_in_tbs", actual_used_data_storage_size_in_tbs) + _setter("actual_used_data_storage_size_in_tbs", actual_used_data_storage_size_in_tbs) if admin_password is not None: - pulumi.set(__self__, "admin_password", admin_password) + _setter("admin_password", admin_password) if allocated_storage_size_in_tbs is not None: - pulumi.set(__self__, "allocated_storage_size_in_tbs", allocated_storage_size_in_tbs) + _setter("allocated_storage_size_in_tbs", allocated_storage_size_in_tbs) if apex_details is not None: - pulumi.set(__self__, "apex_details", apex_details) + _setter("apex_details", apex_details) if are_primary_whitelisted_ips_used is not None: - pulumi.set(__self__, "are_primary_whitelisted_ips_used", are_primary_whitelisted_ips_used) + _setter("are_primary_whitelisted_ips_used", are_primary_whitelisted_ips_used) if autonomous_container_database_id is not None: - pulumi.set(__self__, "autonomous_container_database_id", autonomous_container_database_id) + _setter("autonomous_container_database_id", autonomous_container_database_id) if autonomous_database_backup_id is not None: - pulumi.set(__self__, "autonomous_database_backup_id", autonomous_database_backup_id) + _setter("autonomous_database_backup_id", autonomous_database_backup_id) if autonomous_database_id is not None: - pulumi.set(__self__, "autonomous_database_id", autonomous_database_id) + _setter("autonomous_database_id", autonomous_database_id) if autonomous_maintenance_schedule_type is not None: - pulumi.set(__self__, "autonomous_maintenance_schedule_type", autonomous_maintenance_schedule_type) + _setter("autonomous_maintenance_schedule_type", autonomous_maintenance_schedule_type) if available_upgrade_versions is not None: - pulumi.set(__self__, "available_upgrade_versions", available_upgrade_versions) + _setter("available_upgrade_versions", available_upgrade_versions) if backup_configs is not None: - pulumi.set(__self__, "backup_configs", backup_configs) + _setter("backup_configs", backup_configs) if backup_retention_period_in_days is not None: - pulumi.set(__self__, "backup_retention_period_in_days", backup_retention_period_in_days) + _setter("backup_retention_period_in_days", backup_retention_period_in_days) if character_set is not None: - pulumi.set(__self__, "character_set", character_set) + _setter("character_set", character_set) if clone_type is not None: - pulumi.set(__self__, "clone_type", clone_type) + _setter("clone_type", clone_type) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if compute_count is not None: - pulumi.set(__self__, "compute_count", compute_count) + _setter("compute_count", compute_count) if compute_model is not None: - pulumi.set(__self__, "compute_model", compute_model) + _setter("compute_model", compute_model) if connection_strings is not None: - pulumi.set(__self__, "connection_strings", connection_strings) + _setter("connection_strings", connection_strings) if connection_urls is not None: - pulumi.set(__self__, "connection_urls", connection_urls) + _setter("connection_urls", connection_urls) if cpu_core_count is not None: - pulumi.set(__self__, "cpu_core_count", cpu_core_count) + _setter("cpu_core_count", cpu_core_count) if customer_contacts is not None: - pulumi.set(__self__, "customer_contacts", customer_contacts) + _setter("customer_contacts", customer_contacts) if data_safe_status is not None: - pulumi.set(__self__, "data_safe_status", data_safe_status) + _setter("data_safe_status", data_safe_status) if data_storage_size_in_gb is not None: - pulumi.set(__self__, "data_storage_size_in_gb", data_storage_size_in_gb) + _setter("data_storage_size_in_gb", data_storage_size_in_gb) if data_storage_size_in_tbs is not None: - pulumi.set(__self__, "data_storage_size_in_tbs", data_storage_size_in_tbs) + _setter("data_storage_size_in_tbs", data_storage_size_in_tbs) if database_edition is not None: - pulumi.set(__self__, "database_edition", database_edition) + _setter("database_edition", database_edition) if database_management_status is not None: - pulumi.set(__self__, "database_management_status", database_management_status) + _setter("database_management_status", database_management_status) if dataguard_region_type is not None: - pulumi.set(__self__, "dataguard_region_type", dataguard_region_type) + _setter("dataguard_region_type", dataguard_region_type) if db_name is not None: - pulumi.set(__self__, "db_name", db_name) + _setter("db_name", db_name) if db_version is not None: - pulumi.set(__self__, "db_version", db_version) + _setter("db_version", db_version) if db_workload is not None: - pulumi.set(__self__, "db_workload", db_workload) + _setter("db_workload", db_workload) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if disaster_recovery_region_type is not None: - pulumi.set(__self__, "disaster_recovery_region_type", disaster_recovery_region_type) + _setter("disaster_recovery_region_type", disaster_recovery_region_type) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if failed_data_recovery_in_seconds is not None: - pulumi.set(__self__, "failed_data_recovery_in_seconds", failed_data_recovery_in_seconds) + _setter("failed_data_recovery_in_seconds", failed_data_recovery_in_seconds) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if in_memory_area_in_gbs is not None: - pulumi.set(__self__, "in_memory_area_in_gbs", in_memory_area_in_gbs) + _setter("in_memory_area_in_gbs", in_memory_area_in_gbs) if in_memory_percentage is not None: - pulumi.set(__self__, "in_memory_percentage", in_memory_percentage) + _setter("in_memory_percentage", in_memory_percentage) if infrastructure_type is not None: - pulumi.set(__self__, "infrastructure_type", infrastructure_type) + _setter("infrastructure_type", infrastructure_type) if is_access_control_enabled is not None: - pulumi.set(__self__, "is_access_control_enabled", is_access_control_enabled) + _setter("is_access_control_enabled", is_access_control_enabled) if is_auto_scaling_enabled is not None: - pulumi.set(__self__, "is_auto_scaling_enabled", is_auto_scaling_enabled) + _setter("is_auto_scaling_enabled", is_auto_scaling_enabled) if is_auto_scaling_for_storage_enabled is not None: - pulumi.set(__self__, "is_auto_scaling_for_storage_enabled", is_auto_scaling_for_storage_enabled) + _setter("is_auto_scaling_for_storage_enabled", is_auto_scaling_for_storage_enabled) if is_data_guard_enabled is not None: - pulumi.set(__self__, "is_data_guard_enabled", is_data_guard_enabled) + _setter("is_data_guard_enabled", is_data_guard_enabled) if is_dedicated is not None: - pulumi.set(__self__, "is_dedicated", is_dedicated) + _setter("is_dedicated", is_dedicated) if is_free_tier is not None: - pulumi.set(__self__, "is_free_tier", is_free_tier) + _setter("is_free_tier", is_free_tier) if is_local_data_guard_enabled is not None: - pulumi.set(__self__, "is_local_data_guard_enabled", is_local_data_guard_enabled) + _setter("is_local_data_guard_enabled", is_local_data_guard_enabled) if is_mtls_connection_required is not None: - pulumi.set(__self__, "is_mtls_connection_required", is_mtls_connection_required) + _setter("is_mtls_connection_required", is_mtls_connection_required) if is_preview is not None: - pulumi.set(__self__, "is_preview", is_preview) + _setter("is_preview", is_preview) if is_preview_version_with_service_terms_accepted is not None: - pulumi.set(__self__, "is_preview_version_with_service_terms_accepted", is_preview_version_with_service_terms_accepted) + _setter("is_preview_version_with_service_terms_accepted", is_preview_version_with_service_terms_accepted) if is_reconnect_clone_enabled is not None: - pulumi.set(__self__, "is_reconnect_clone_enabled", is_reconnect_clone_enabled) + _setter("is_reconnect_clone_enabled", is_reconnect_clone_enabled) if is_refreshable_clone is not None: - pulumi.set(__self__, "is_refreshable_clone", is_refreshable_clone) + _setter("is_refreshable_clone", is_refreshable_clone) if is_remote_data_guard_enabled is not None: - pulumi.set(__self__, "is_remote_data_guard_enabled", is_remote_data_guard_enabled) + _setter("is_remote_data_guard_enabled", is_remote_data_guard_enabled) if is_shrink_only is not None: - pulumi.set(__self__, "is_shrink_only", is_shrink_only) + _setter("is_shrink_only", is_shrink_only) if key_history_entries is not None: - pulumi.set(__self__, "key_history_entries", key_history_entries) + _setter("key_history_entries", key_history_entries) if key_store_id is not None: - pulumi.set(__self__, "key_store_id", key_store_id) + _setter("key_store_id", key_store_id) if key_store_wallet_name is not None: - pulumi.set(__self__, "key_store_wallet_name", key_store_wallet_name) + _setter("key_store_wallet_name", key_store_wallet_name) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) if kms_key_lifecycle_details is not None: - pulumi.set(__self__, "kms_key_lifecycle_details", kms_key_lifecycle_details) + _setter("kms_key_lifecycle_details", kms_key_lifecycle_details) if kms_key_version_id is not None: - pulumi.set(__self__, "kms_key_version_id", kms_key_version_id) + _setter("kms_key_version_id", kms_key_version_id) if license_model is not None: - pulumi.set(__self__, "license_model", license_model) + _setter("license_model", license_model) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if local_adg_auto_failover_max_data_loss_limit is not None: - pulumi.set(__self__, "local_adg_auto_failover_max_data_loss_limit", local_adg_auto_failover_max_data_loss_limit) + _setter("local_adg_auto_failover_max_data_loss_limit", local_adg_auto_failover_max_data_loss_limit) if local_disaster_recovery_type is not None: - pulumi.set(__self__, "local_disaster_recovery_type", local_disaster_recovery_type) + _setter("local_disaster_recovery_type", local_disaster_recovery_type) if local_standby_dbs is not None: - pulumi.set(__self__, "local_standby_dbs", local_standby_dbs) + _setter("local_standby_dbs", local_standby_dbs) if long_term_backup_schedules is not None: - pulumi.set(__self__, "long_term_backup_schedules", long_term_backup_schedules) + _setter("long_term_backup_schedules", long_term_backup_schedules) if max_cpu_core_count is not None: - pulumi.set(__self__, "max_cpu_core_count", max_cpu_core_count) + _setter("max_cpu_core_count", max_cpu_core_count) if memory_per_oracle_compute_unit_in_gbs is not None: - pulumi.set(__self__, "memory_per_oracle_compute_unit_in_gbs", memory_per_oracle_compute_unit_in_gbs) + _setter("memory_per_oracle_compute_unit_in_gbs", memory_per_oracle_compute_unit_in_gbs) if ncharacter_set is not None: - pulumi.set(__self__, "ncharacter_set", ncharacter_set) + _setter("ncharacter_set", ncharacter_set) if next_long_term_backup_time_stamp is not None: - pulumi.set(__self__, "next_long_term_backup_time_stamp", next_long_term_backup_time_stamp) + _setter("next_long_term_backup_time_stamp", next_long_term_backup_time_stamp) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) if ocpu_count is not None: - pulumi.set(__self__, "ocpu_count", ocpu_count) + _setter("ocpu_count", ocpu_count) if open_mode is not None: - pulumi.set(__self__, "open_mode", open_mode) + _setter("open_mode", open_mode) if operations_insights_status is not None: - pulumi.set(__self__, "operations_insights_status", operations_insights_status) + _setter("operations_insights_status", operations_insights_status) if peer_db_ids is not None: - pulumi.set(__self__, "peer_db_ids", peer_db_ids) + _setter("peer_db_ids", peer_db_ids) if permission_level is not None: - pulumi.set(__self__, "permission_level", permission_level) + _setter("permission_level", permission_level) if private_endpoint is not None: - pulumi.set(__self__, "private_endpoint", private_endpoint) + _setter("private_endpoint", private_endpoint) if private_endpoint_ip is not None: - pulumi.set(__self__, "private_endpoint_ip", private_endpoint_ip) + _setter("private_endpoint_ip", private_endpoint_ip) if private_endpoint_label is not None: - pulumi.set(__self__, "private_endpoint_label", private_endpoint_label) + _setter("private_endpoint_label", private_endpoint_label) if provisionable_cpuses is not None: - pulumi.set(__self__, "provisionable_cpuses", provisionable_cpuses) + _setter("provisionable_cpuses", provisionable_cpuses) if refreshable_mode is not None: - pulumi.set(__self__, "refreshable_mode", refreshable_mode) + _setter("refreshable_mode", refreshable_mode) if refreshable_status is not None: - pulumi.set(__self__, "refreshable_status", refreshable_status) + _setter("refreshable_status", refreshable_status) if remote_disaster_recovery_configurations is not None: - pulumi.set(__self__, "remote_disaster_recovery_configurations", remote_disaster_recovery_configurations) + _setter("remote_disaster_recovery_configurations", remote_disaster_recovery_configurations) if remote_disaster_recovery_type is not None: - pulumi.set(__self__, "remote_disaster_recovery_type", remote_disaster_recovery_type) + _setter("remote_disaster_recovery_type", remote_disaster_recovery_type) + if resource_pool_leader_id is not None: + _setter("resource_pool_leader_id", resource_pool_leader_id) + if resource_pool_summary is not None: + _setter("resource_pool_summary", resource_pool_summary) if role is not None: - pulumi.set(__self__, "role", role) + _setter("role", role) if rotate_key_trigger is not None: - pulumi.set(__self__, "rotate_key_trigger", rotate_key_trigger) + _setter("rotate_key_trigger", rotate_key_trigger) if scheduled_operations is not None: - pulumi.set(__self__, "scheduled_operations", scheduled_operations) + _setter("scheduled_operations", scheduled_operations) if secret_id is not None: - pulumi.set(__self__, "secret_id", secret_id) + _setter("secret_id", secret_id) if secret_version_number is not None: - pulumi.set(__self__, "secret_version_number", secret_version_number) + _setter("secret_version_number", secret_version_number) if service_console_url is not None: - pulumi.set(__self__, "service_console_url", service_console_url) + _setter("service_console_url", service_console_url) if source is not None: - pulumi.set(__self__, "source", source) + _setter("source", source) if source_id is not None: - pulumi.set(__self__, "source_id", source_id) + _setter("source_id", source_id) if standby_dbs is not None: - pulumi.set(__self__, "standby_dbs", standby_dbs) + _setter("standby_dbs", standby_dbs) if standby_whitelisted_ips is not None: - pulumi.set(__self__, "standby_whitelisted_ips", standby_whitelisted_ips) + _setter("standby_whitelisted_ips", standby_whitelisted_ips) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) if supported_regions_to_clone_tos is not None: - pulumi.set(__self__, "supported_regions_to_clone_tos", supported_regions_to_clone_tos) + _setter("supported_regions_to_clone_tos", supported_regions_to_clone_tos) if switchover_to is not None: - pulumi.set(__self__, "switchover_to", switchover_to) + _setter("switchover_to", switchover_to) if switchover_to_remote_peer_id is not None: - pulumi.set(__self__, "switchover_to_remote_peer_id", switchover_to_remote_peer_id) + _setter("switchover_to_remote_peer_id", switchover_to_remote_peer_id) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_data_guard_role_changed is not None: - pulumi.set(__self__, "time_data_guard_role_changed", time_data_guard_role_changed) + _setter("time_data_guard_role_changed", time_data_guard_role_changed) if time_deletion_of_free_autonomous_database is not None: - pulumi.set(__self__, "time_deletion_of_free_autonomous_database", time_deletion_of_free_autonomous_database) + _setter("time_deletion_of_free_autonomous_database", time_deletion_of_free_autonomous_database) if time_disaster_recovery_role_changed is not None: - pulumi.set(__self__, "time_disaster_recovery_role_changed", time_disaster_recovery_role_changed) + _setter("time_disaster_recovery_role_changed", time_disaster_recovery_role_changed) if time_local_data_guard_enabled is not None: - pulumi.set(__self__, "time_local_data_guard_enabled", time_local_data_guard_enabled) + _setter("time_local_data_guard_enabled", time_local_data_guard_enabled) if time_maintenance_begin is not None: - pulumi.set(__self__, "time_maintenance_begin", time_maintenance_begin) + _setter("time_maintenance_begin", time_maintenance_begin) if time_maintenance_end is not None: - pulumi.set(__self__, "time_maintenance_end", time_maintenance_end) + _setter("time_maintenance_end", time_maintenance_end) + if time_of_joining_resource_pool is not None: + _setter("time_of_joining_resource_pool", time_of_joining_resource_pool) if time_of_last_failover is not None: - pulumi.set(__self__, "time_of_last_failover", time_of_last_failover) + _setter("time_of_last_failover", time_of_last_failover) if time_of_last_refresh is not None: - pulumi.set(__self__, "time_of_last_refresh", time_of_last_refresh) + _setter("time_of_last_refresh", time_of_last_refresh) if time_of_last_refresh_point is not None: - pulumi.set(__self__, "time_of_last_refresh_point", time_of_last_refresh_point) + _setter("time_of_last_refresh_point", time_of_last_refresh_point) if time_of_last_switchover is not None: - pulumi.set(__self__, "time_of_last_switchover", time_of_last_switchover) + _setter("time_of_last_switchover", time_of_last_switchover) if time_of_next_refresh is not None: - pulumi.set(__self__, "time_of_next_refresh", time_of_next_refresh) + _setter("time_of_next_refresh", time_of_next_refresh) if time_reclamation_of_free_autonomous_database is not None: - pulumi.set(__self__, "time_reclamation_of_free_autonomous_database", time_reclamation_of_free_autonomous_database) + _setter("time_reclamation_of_free_autonomous_database", time_reclamation_of_free_autonomous_database) if time_until_reconnect_clone_enabled is not None: - pulumi.set(__self__, "time_until_reconnect_clone_enabled", time_until_reconnect_clone_enabled) + _setter("time_until_reconnect_clone_enabled", time_until_reconnect_clone_enabled) if timestamp is not None: - pulumi.set(__self__, "timestamp", timestamp) + _setter("timestamp", timestamp) if total_backup_storage_size_in_gbs is not None: - pulumi.set(__self__, "total_backup_storage_size_in_gbs", total_backup_storage_size_in_gbs) + _setter("total_backup_storage_size_in_gbs", total_backup_storage_size_in_gbs) if use_latest_available_backup_time_stamp is not None: - pulumi.set(__self__, "use_latest_available_backup_time_stamp", use_latest_available_backup_time_stamp) + _setter("use_latest_available_backup_time_stamp", use_latest_available_backup_time_stamp) if used_data_storage_size_in_gbs is not None: - pulumi.set(__self__, "used_data_storage_size_in_gbs", used_data_storage_size_in_gbs) + _setter("used_data_storage_size_in_gbs", used_data_storage_size_in_gbs) if used_data_storage_size_in_tbs is not None: - pulumi.set(__self__, "used_data_storage_size_in_tbs", used_data_storage_size_in_tbs) + _setter("used_data_storage_size_in_tbs", used_data_storage_size_in_tbs) if vault_id is not None: - pulumi.set(__self__, "vault_id", vault_id) + _setter("vault_id", vault_id) if whitelisted_ips is not None: - pulumi.set(__self__, "whitelisted_ips", whitelisted_ips) + _setter("whitelisted_ips", whitelisted_ips) @property @pulumi.getter(name="actualUsedDataStorageSizeInTbs") @@ -2771,6 +3198,24 @@ def remote_disaster_recovery_type(self) -> Optional[pulumi.Input[str]]: def remote_disaster_recovery_type(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "remote_disaster_recovery_type", value) + @property + @pulumi.getter(name="resourcePoolLeaderId") + def resource_pool_leader_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "resource_pool_leader_id") + + @resource_pool_leader_id.setter + def resource_pool_leader_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "resource_pool_leader_id", value) + + @property + @pulumi.getter(name="resourcePoolSummary") + def resource_pool_summary(self) -> Optional[pulumi.Input['AutonomousDatabaseResourcePoolSummaryArgs']]: + return pulumi.get(self, "resource_pool_summary") + + @resource_pool_summary.setter + def resource_pool_summary(self, value: Optional[pulumi.Input['AutonomousDatabaseResourcePoolSummaryArgs']]): + pulumi.set(self, "resource_pool_summary", value) + @property @pulumi.getter def role(self) -> Optional[pulumi.Input[str]]: @@ -3066,6 +3511,15 @@ def time_maintenance_end(self) -> Optional[pulumi.Input[str]]: def time_maintenance_end(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "time_maintenance_end", value) + @property + @pulumi.getter(name="timeOfJoiningResourcePool") + def time_of_joining_resource_pool(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "time_of_joining_resource_pool") + + @time_of_joining_resource_pool.setter + def time_of_joining_resource_pool(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "time_of_joining_resource_pool", value) + @property @pulumi.getter(name="timeOfLastFailover") def time_of_last_failover(self) -> Optional[pulumi.Input[str]]: @@ -3299,6 +3753,8 @@ def __init__(__self__, private_endpoint_label: Optional[pulumi.Input[str]] = None, refreshable_mode: Optional[pulumi.Input[str]] = None, remote_disaster_recovery_type: Optional[pulumi.Input[str]] = None, + resource_pool_leader_id: Optional[pulumi.Input[str]] = None, + resource_pool_summary: Optional[pulumi.Input[pulumi.InputType['AutonomousDatabaseResourcePoolSummaryArgs']]] = None, rotate_key_trigger: Optional[pulumi.Input[bool]] = None, scheduled_operations: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['AutonomousDatabaseScheduledOperationArgs']]]]] = None, secret_id: Optional[pulumi.Input[str]] = None, @@ -3490,6 +3946,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + AutonomousDatabaseArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -3546,6 +4006,8 @@ def _internal_init(__self__, private_endpoint_label: Optional[pulumi.Input[str]] = None, refreshable_mode: Optional[pulumi.Input[str]] = None, remote_disaster_recovery_type: Optional[pulumi.Input[str]] = None, + resource_pool_leader_id: Optional[pulumi.Input[str]] = None, + resource_pool_summary: Optional[pulumi.Input[pulumi.InputType['AutonomousDatabaseResourcePoolSummaryArgs']]] = None, rotate_key_trigger: Optional[pulumi.Input[bool]] = None, scheduled_operations: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['AutonomousDatabaseScheduledOperationArgs']]]]] = None, secret_id: Optional[pulumi.Input[str]] = None, @@ -3625,6 +4087,13 @@ def _internal_init(__self__, __props__.__dict__["private_endpoint_label"] = private_endpoint_label __props__.__dict__["refreshable_mode"] = refreshable_mode __props__.__dict__["remote_disaster_recovery_type"] = remote_disaster_recovery_type + __props__.__dict__["resource_pool_leader_id"] = resource_pool_leader_id + if resource_pool_summary is not None and not isinstance(resource_pool_summary, AutonomousDatabaseResourcePoolSummaryArgs): + resource_pool_summary = resource_pool_summary or {} + def _setter(key, value): + resource_pool_summary[key] = value + AutonomousDatabaseResourcePoolSummaryArgs._configure(_setter, **resource_pool_summary) + __props__.__dict__["resource_pool_summary"] = resource_pool_summary __props__.__dict__["rotate_key_trigger"] = rotate_key_trigger __props__.__dict__["scheduled_operations"] = scheduled_operations __props__.__dict__["secret_id"] = secret_id @@ -3683,6 +4152,7 @@ def _internal_init(__self__, __props__.__dict__["time_local_data_guard_enabled"] = None __props__.__dict__["time_maintenance_begin"] = None __props__.__dict__["time_maintenance_end"] = None + __props__.__dict__["time_of_joining_resource_pool"] = None __props__.__dict__["time_of_last_failover"] = None __props__.__dict__["time_of_last_refresh"] = None __props__.__dict__["time_of_last_refresh_point"] = None @@ -3787,6 +4257,8 @@ def get(resource_name: str, refreshable_status: Optional[pulumi.Input[str]] = None, remote_disaster_recovery_configurations: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['AutonomousDatabaseRemoteDisasterRecoveryConfigurationArgs']]]]] = None, remote_disaster_recovery_type: Optional[pulumi.Input[str]] = None, + resource_pool_leader_id: Optional[pulumi.Input[str]] = None, + resource_pool_summary: Optional[pulumi.Input[pulumi.InputType['AutonomousDatabaseResourcePoolSummaryArgs']]] = None, role: Optional[pulumi.Input[str]] = None, rotate_key_trigger: Optional[pulumi.Input[bool]] = None, scheduled_operations: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['AutonomousDatabaseScheduledOperationArgs']]]]] = None, @@ -3810,6 +4282,7 @@ def get(resource_name: str, time_local_data_guard_enabled: Optional[pulumi.Input[str]] = None, time_maintenance_begin: Optional[pulumi.Input[str]] = None, time_maintenance_end: Optional[pulumi.Input[str]] = None, + time_of_joining_resource_pool: Optional[pulumi.Input[str]] = None, time_of_last_failover: Optional[pulumi.Input[str]] = None, time_of_last_refresh: Optional[pulumi.Input[str]] = None, time_of_last_refresh_point: Optional[pulumi.Input[str]] = None, @@ -4101,6 +4574,8 @@ def get(resource_name: str, __props__.__dict__["refreshable_status"] = refreshable_status __props__.__dict__["remote_disaster_recovery_configurations"] = remote_disaster_recovery_configurations __props__.__dict__["remote_disaster_recovery_type"] = remote_disaster_recovery_type + __props__.__dict__["resource_pool_leader_id"] = resource_pool_leader_id + __props__.__dict__["resource_pool_summary"] = resource_pool_summary __props__.__dict__["role"] = role __props__.__dict__["rotate_key_trigger"] = rotate_key_trigger __props__.__dict__["scheduled_operations"] = scheduled_operations @@ -4124,6 +4599,7 @@ def get(resource_name: str, __props__.__dict__["time_local_data_guard_enabled"] = time_local_data_guard_enabled __props__.__dict__["time_maintenance_begin"] = time_maintenance_begin __props__.__dict__["time_maintenance_end"] = time_maintenance_end + __props__.__dict__["time_of_joining_resource_pool"] = time_of_joining_resource_pool __props__.__dict__["time_of_last_failover"] = time_of_last_failover __props__.__dict__["time_of_last_refresh"] = time_of_last_refresh __props__.__dict__["time_of_last_refresh_point"] = time_of_last_refresh_point @@ -4833,6 +5309,16 @@ def remote_disaster_recovery_type(self) -> pulumi.Output[str]: """ return pulumi.get(self, "remote_disaster_recovery_type") + @property + @pulumi.getter(name="resourcePoolLeaderId") + def resource_pool_leader_id(self) -> pulumi.Output[str]: + return pulumi.get(self, "resource_pool_leader_id") + + @property + @pulumi.getter(name="resourcePoolSummary") + def resource_pool_summary(self) -> pulumi.Output['outputs.AutonomousDatabaseResourcePoolSummary']: + return pulumi.get(self, "resource_pool_summary") + @property @pulumi.getter def role(self) -> pulumi.Output[str]: @@ -5036,6 +5522,11 @@ def time_maintenance_end(self) -> pulumi.Output[str]: """ return pulumi.get(self, "time_maintenance_end") + @property + @pulumi.getter(name="timeOfJoiningResourcePool") + def time_of_joining_resource_pool(self) -> pulumi.Output[str]: + return pulumi.get(self, "time_of_joining_resource_pool") + @property @pulumi.getter(name="timeOfLastFailover") def time_of_last_failover(self) -> pulumi.Output[str]: diff --git a/sdk/python/pulumi_oci/database/autonomous_database_backup.py b/sdk/python/pulumi_oci/database/autonomous_database_backup.py index 7107070316..c395e044e0 100644 --- a/sdk/python/pulumi_oci/database/autonomous_database_backup.py +++ b/sdk/python/pulumi_oci/database/autonomous_database_backup.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -33,15 +33,32 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "autonomous_database_id", autonomous_database_id) + AutonomousDatabaseBackupArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + autonomous_database_id=autonomous_database_id, + backup_destination_details=backup_destination_details, + display_name=display_name, + is_long_term_backup=is_long_term_backup, + retention_period_in_days=retention_period_in_days, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + autonomous_database_id: pulumi.Input[str], + backup_destination_details: Optional[pulumi.Input['AutonomousDatabaseBackupBackupDestinationDetailsArgs']] = None, + display_name: Optional[pulumi.Input[str]] = None, + is_long_term_backup: Optional[pulumi.Input[bool]] = None, + retention_period_in_days: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("autonomous_database_id", autonomous_database_id) if backup_destination_details is not None: - pulumi.set(__self__, "backup_destination_details", backup_destination_details) + _setter("backup_destination_details", backup_destination_details) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if is_long_term_backup is not None: - pulumi.set(__self__, "is_long_term_backup", is_long_term_backup) + _setter("is_long_term_backup", is_long_term_backup) if retention_period_in_days is not None: - pulumi.set(__self__, "retention_period_in_days", retention_period_in_days) + _setter("retention_period_in_days", retention_period_in_days) @property @pulumi.getter(name="autonomousDatabaseId") @@ -162,50 +179,101 @@ def __init__(__self__, *, :param pulumi.Input[str] type: The type of backup. :param pulumi.Input[str] vault_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure [vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). """ + _AutonomousDatabaseBackupState._configure( + lambda key, value: pulumi.set(__self__, key, value), + autonomous_database_id=autonomous_database_id, + backup_destination_details=backup_destination_details, + compartment_id=compartment_id, + database_size_in_tbs=database_size_in_tbs, + db_version=db_version, + display_name=display_name, + is_automatic=is_automatic, + is_long_term_backup=is_long_term_backup, + is_restorable=is_restorable, + key_store_id=key_store_id, + key_store_wallet_name=key_store_wallet_name, + kms_key_id=kms_key_id, + kms_key_version_id=kms_key_version_id, + lifecycle_details=lifecycle_details, + retention_period_in_days=retention_period_in_days, + size_in_tbs=size_in_tbs, + state=state, + time_available_till=time_available_till, + time_ended=time_ended, + time_started=time_started, + type=type, + vault_id=vault_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + autonomous_database_id: Optional[pulumi.Input[str]] = None, + backup_destination_details: Optional[pulumi.Input['AutonomousDatabaseBackupBackupDestinationDetailsArgs']] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + database_size_in_tbs: Optional[pulumi.Input[float]] = None, + db_version: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + is_automatic: Optional[pulumi.Input[bool]] = None, + is_long_term_backup: Optional[pulumi.Input[bool]] = None, + is_restorable: Optional[pulumi.Input[bool]] = None, + key_store_id: Optional[pulumi.Input[str]] = None, + key_store_wallet_name: Optional[pulumi.Input[str]] = None, + kms_key_id: Optional[pulumi.Input[str]] = None, + kms_key_version_id: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + retention_period_in_days: Optional[pulumi.Input[int]] = None, + size_in_tbs: Optional[pulumi.Input[float]] = None, + state: Optional[pulumi.Input[str]] = None, + time_available_till: Optional[pulumi.Input[str]] = None, + time_ended: Optional[pulumi.Input[str]] = None, + time_started: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + vault_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if autonomous_database_id is not None: - pulumi.set(__self__, "autonomous_database_id", autonomous_database_id) + _setter("autonomous_database_id", autonomous_database_id) if backup_destination_details is not None: - pulumi.set(__self__, "backup_destination_details", backup_destination_details) + _setter("backup_destination_details", backup_destination_details) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if database_size_in_tbs is not None: - pulumi.set(__self__, "database_size_in_tbs", database_size_in_tbs) + _setter("database_size_in_tbs", database_size_in_tbs) if db_version is not None: - pulumi.set(__self__, "db_version", db_version) + _setter("db_version", db_version) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if is_automatic is not None: - pulumi.set(__self__, "is_automatic", is_automatic) + _setter("is_automatic", is_automatic) if is_long_term_backup is not None: - pulumi.set(__self__, "is_long_term_backup", is_long_term_backup) + _setter("is_long_term_backup", is_long_term_backup) if is_restorable is not None: - pulumi.set(__self__, "is_restorable", is_restorable) + _setter("is_restorable", is_restorable) if key_store_id is not None: - pulumi.set(__self__, "key_store_id", key_store_id) + _setter("key_store_id", key_store_id) if key_store_wallet_name is not None: - pulumi.set(__self__, "key_store_wallet_name", key_store_wallet_name) + _setter("key_store_wallet_name", key_store_wallet_name) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) if kms_key_version_id is not None: - pulumi.set(__self__, "kms_key_version_id", kms_key_version_id) + _setter("kms_key_version_id", kms_key_version_id) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if retention_period_in_days is not None: - pulumi.set(__self__, "retention_period_in_days", retention_period_in_days) + _setter("retention_period_in_days", retention_period_in_days) if size_in_tbs is not None: - pulumi.set(__self__, "size_in_tbs", size_in_tbs) + _setter("size_in_tbs", size_in_tbs) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_available_till is not None: - pulumi.set(__self__, "time_available_till", time_available_till) + _setter("time_available_till", time_available_till) if time_ended is not None: - pulumi.set(__self__, "time_ended", time_ended) + _setter("time_ended", time_ended) if time_started is not None: - pulumi.set(__self__, "time_started", time_started) + _setter("time_started", time_started) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if vault_id is not None: - pulumi.set(__self__, "vault_id", vault_id) + _setter("vault_id", vault_id) @property @pulumi.getter(name="autonomousDatabaseId") @@ -567,6 +635,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + AutonomousDatabaseBackupArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -589,6 +661,11 @@ def _internal_init(__self__, if autonomous_database_id is None and not opts.urn: raise TypeError("Missing required property 'autonomous_database_id'") __props__.__dict__["autonomous_database_id"] = autonomous_database_id + if backup_destination_details is not None and not isinstance(backup_destination_details, AutonomousDatabaseBackupBackupDestinationDetailsArgs): + backup_destination_details = backup_destination_details or {} + def _setter(key, value): + backup_destination_details[key] = value + AutonomousDatabaseBackupBackupDestinationDetailsArgs._configure(_setter, **backup_destination_details) __props__.__dict__["backup_destination_details"] = backup_destination_details __props__.__dict__["display_name"] = display_name __props__.__dict__["is_long_term_backup"] = is_long_term_backup diff --git a/sdk/python/pulumi_oci/database/autonomous_database_instance_wallet_management.py b/sdk/python/pulumi_oci/database/autonomous_database_instance_wallet_management.py index 9dd6ec01a2..7c35ec00b6 100644 --- a/sdk/python/pulumi_oci/database/autonomous_database_instance_wallet_management.py +++ b/sdk/python/pulumi_oci/database/autonomous_database_instance_wallet_management.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['AutonomousDatabaseInstanceWalletManagementArgs', 'AutonomousDatabaseInstanceWalletManagement'] @@ -27,11 +27,24 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "autonomous_database_id", autonomous_database_id) + AutonomousDatabaseInstanceWalletManagementArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + autonomous_database_id=autonomous_database_id, + grace_period=grace_period, + should_rotate=should_rotate, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + autonomous_database_id: pulumi.Input[str], + grace_period: Optional[pulumi.Input[int]] = None, + should_rotate: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("autonomous_database_id", autonomous_database_id) if grace_period is not None: - pulumi.set(__self__, "grace_period", grace_period) + _setter("grace_period", grace_period) if should_rotate is not None: - pulumi.set(__self__, "should_rotate", should_rotate) + _setter("should_rotate", should_rotate) @property @pulumi.getter(name="autonomousDatabaseId") @@ -94,16 +107,33 @@ def __init__(__self__, *, :param pulumi.Input[str] state: The current lifecycle state of the Autonomous Database wallet. :param pulumi.Input[str] time_rotated: The date and time the wallet was last rotated. """ + _AutonomousDatabaseInstanceWalletManagementState._configure( + lambda key, value: pulumi.set(__self__, key, value), + autonomous_database_id=autonomous_database_id, + grace_period=grace_period, + should_rotate=should_rotate, + state=state, + time_rotated=time_rotated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + autonomous_database_id: Optional[pulumi.Input[str]] = None, + grace_period: Optional[pulumi.Input[int]] = None, + should_rotate: Optional[pulumi.Input[bool]] = None, + state: Optional[pulumi.Input[str]] = None, + time_rotated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if autonomous_database_id is not None: - pulumi.set(__self__, "autonomous_database_id", autonomous_database_id) + _setter("autonomous_database_id", autonomous_database_id) if grace_period is not None: - pulumi.set(__self__, "grace_period", grace_period) + _setter("grace_period", grace_period) if should_rotate is not None: - pulumi.set(__self__, "should_rotate", should_rotate) + _setter("should_rotate", should_rotate) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_rotated is not None: - pulumi.set(__self__, "time_rotated", time_rotated) + _setter("time_rotated", time_rotated) @property @pulumi.getter(name="autonomousDatabaseId") @@ -247,6 +277,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + AutonomousDatabaseInstanceWalletManagementArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/database/autonomous_database_regional_wallet_management.py b/sdk/python/pulumi_oci/database/autonomous_database_regional_wallet_management.py index 46a7b2083a..8e819d7966 100644 --- a/sdk/python/pulumi_oci/database/autonomous_database_regional_wallet_management.py +++ b/sdk/python/pulumi_oci/database/autonomous_database_regional_wallet_management.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['AutonomousDatabaseRegionalWalletManagementArgs', 'AutonomousDatabaseRegionalWalletManagement'] @@ -25,10 +25,21 @@ def __init__(__self__, *, ** 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 """ + AutonomousDatabaseRegionalWalletManagementArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + grace_period=grace_period, + should_rotate=should_rotate, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + grace_period: Optional[pulumi.Input[int]] = None, + should_rotate: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if grace_period is not None: - pulumi.set(__self__, "grace_period", grace_period) + _setter("grace_period", grace_period) if should_rotate is not None: - pulumi.set(__self__, "should_rotate", should_rotate) + _setter("should_rotate", should_rotate) @property @pulumi.getter(name="gracePeriod") @@ -77,14 +88,29 @@ def __init__(__self__, *, :param pulumi.Input[str] state: The current lifecycle state of the Autonomous Database wallet. :param pulumi.Input[str] time_rotated: The date and time the wallet was last rotated. """ + _AutonomousDatabaseRegionalWalletManagementState._configure( + lambda key, value: pulumi.set(__self__, key, value), + grace_period=grace_period, + should_rotate=should_rotate, + state=state, + time_rotated=time_rotated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + grace_period: Optional[pulumi.Input[int]] = None, + should_rotate: Optional[pulumi.Input[bool]] = None, + state: Optional[pulumi.Input[str]] = None, + time_rotated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if grace_period is not None: - pulumi.set(__self__, "grace_period", grace_period) + _setter("grace_period", grace_period) if should_rotate is not None: - pulumi.set(__self__, "should_rotate", should_rotate) + _setter("should_rotate", should_rotate) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_rotated is not None: - pulumi.set(__self__, "time_rotated", time_rotated) + _setter("time_rotated", time_rotated) @property @pulumi.getter(name="gracePeriod") @@ -212,6 +238,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + AutonomousDatabaseRegionalWalletManagementArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/database/autonomous_database_wallet.py b/sdk/python/pulumi_oci/database/autonomous_database_wallet.py index 5a03ccbf44..5c24072c57 100644 --- a/sdk/python/pulumi_oci/database/autonomous_database_wallet.py +++ b/sdk/python/pulumi_oci/database/autonomous_database_wallet.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['AutonomousDatabaseWalletArgs', 'AutonomousDatabaseWallet'] @@ -30,12 +30,27 @@ def __init__(__self__, *, **Serverless instance usage:** """ - pulumi.set(__self__, "autonomous_database_id", autonomous_database_id) - pulumi.set(__self__, "password", password) + AutonomousDatabaseWalletArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + autonomous_database_id=autonomous_database_id, + password=password, + base64_encode_content=base64_encode_content, + generate_type=generate_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + autonomous_database_id: pulumi.Input[str], + password: pulumi.Input[str], + base64_encode_content: Optional[pulumi.Input[bool]] = None, + generate_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("autonomous_database_id", autonomous_database_id) + _setter("password", password) if base64_encode_content is not None: - pulumi.set(__self__, "base64_encode_content", base64_encode_content) + _setter("base64_encode_content", base64_encode_content) if generate_type is not None: - pulumi.set(__self__, "generate_type", generate_type) + _setter("generate_type", generate_type) @property @pulumi.getter(name="autonomousDatabaseId") @@ -110,16 +125,33 @@ def __init__(__self__, *, ** 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 """ + _AutonomousDatabaseWalletState._configure( + lambda key, value: pulumi.set(__self__, key, value), + autonomous_database_id=autonomous_database_id, + base64_encode_content=base64_encode_content, + content=content, + generate_type=generate_type, + password=password, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + autonomous_database_id: Optional[pulumi.Input[str]] = None, + base64_encode_content: Optional[pulumi.Input[bool]] = None, + content: Optional[pulumi.Input[str]] = None, + generate_type: Optional[pulumi.Input[str]] = None, + password: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if autonomous_database_id is not None: - pulumi.set(__self__, "autonomous_database_id", autonomous_database_id) + _setter("autonomous_database_id", autonomous_database_id) if base64_encode_content is not None: - pulumi.set(__self__, "base64_encode_content", base64_encode_content) + _setter("base64_encode_content", base64_encode_content) if content is not None: - pulumi.set(__self__, "content", content) + _setter("content", content) if generate_type is not None: - pulumi.set(__self__, "generate_type", generate_type) + _setter("generate_type", generate_type) if password is not None: - pulumi.set(__self__, "password", password) + _setter("password", password) @property @pulumi.getter(name="autonomousDatabaseId") @@ -259,6 +291,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + AutonomousDatabaseWalletArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/database/autonomous_exadata_infrastructure.py b/sdk/python/pulumi_oci/database/autonomous_exadata_infrastructure.py index f07c67e0dd..7b9e77bed6 100644 --- a/sdk/python/pulumi_oci/database/autonomous_exadata_infrastructure.py +++ b/sdk/python/pulumi_oci/database/autonomous_exadata_infrastructure.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -52,29 +52,60 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] nsg_ids: (Updatable) The list of [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the network security groups (NSGs) to which this resource belongs. Setting this to an empty list removes all resources from all NSGs. For more information about NSGs, see [Security Rules](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/securityrules.htm). **NsgIds restrictions:** * A network security group (NSG) is optional for Autonomous Databases with private access. The nsgIds list can be empty. """ + AutonomousExadataInfrastructureArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + compartment_id=compartment_id, + shape=shape, + subnet_id=subnet_id, + create_async=create_async, + defined_tags=defined_tags, + display_name=display_name, + domain=domain, + freeform_tags=freeform_tags, + license_model=license_model, + maintenance_window_details=maintenance_window_details, + nsg_ids=nsg_ids, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: pulumi.Input[str], + compartment_id: pulumi.Input[str], + shape: pulumi.Input[str], + subnet_id: pulumi.Input[str], + create_async: Optional[pulumi.Input[bool]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + domain: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + license_model: Optional[pulumi.Input[str]] = None, + maintenance_window_details: Optional[pulumi.Input['AutonomousExadataInfrastructureMaintenanceWindowDetailsArgs']] = None, + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if availability_domain is not None: warnings.warn("""Autonomous Exadata Infrastructure resource is now end-of-life.Please provision cloud autonomous vm cluster instead.""", DeprecationWarning) pulumi.log.warn("""availability_domain is deprecated: Autonomous Exadata Infrastructure resource is now end-of-life.Please provision cloud autonomous vm cluster instead.""") - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("availability_domain", availability_domain) + _setter("compartment_id", compartment_id) + _setter("shape", shape) + _setter("subnet_id", subnet_id) if create_async is not None: - pulumi.set(__self__, "create_async", create_async) + _setter("create_async", create_async) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if domain is not None: - pulumi.set(__self__, "domain", domain) + _setter("domain", domain) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if license_model is not None: - pulumi.set(__self__, "license_model", license_model) + _setter("license_model", license_model) if maintenance_window_details is not None: - pulumi.set(__self__, "maintenance_window_details", maintenance_window_details) + _setter("maintenance_window_details", maintenance_window_details) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) @property @pulumi.getter(name="availabilityDomain") @@ -288,51 +319,100 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the Autonomous Exadata Infrastructure was created. :param pulumi.Input[str] zone_id: The OCID of the zone the Autonomous Exadata Infrastructure is associated with. """ + _AutonomousExadataInfrastructureState._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + compartment_id=compartment_id, + create_async=create_async, + defined_tags=defined_tags, + display_name=display_name, + domain=domain, + freeform_tags=freeform_tags, + hostname=hostname, + last_maintenance_run_id=last_maintenance_run_id, + license_model=license_model, + lifecycle_details=lifecycle_details, + maintenance_window_details=maintenance_window_details, + maintenance_windows=maintenance_windows, + next_maintenance_run_id=next_maintenance_run_id, + nsg_ids=nsg_ids, + scan_dns_name=scan_dns_name, + shape=shape, + state=state, + subnet_id=subnet_id, + time_created=time_created, + zone_id=zone_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + create_async: Optional[pulumi.Input[bool]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + domain: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + hostname: Optional[pulumi.Input[str]] = None, + last_maintenance_run_id: Optional[pulumi.Input[str]] = None, + license_model: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + maintenance_window_details: Optional[pulumi.Input['AutonomousExadataInfrastructureMaintenanceWindowDetailsArgs']] = None, + maintenance_windows: Optional[pulumi.Input[Sequence[pulumi.Input['AutonomousExadataInfrastructureMaintenanceWindowArgs']]]] = None, + next_maintenance_run_id: Optional[pulumi.Input[str]] = None, + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + scan_dns_name: Optional[pulumi.Input[str]] = None, + shape: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + zone_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if availability_domain is not None: warnings.warn("""Autonomous Exadata Infrastructure resource is now end-of-life.Please provision cloud autonomous vm cluster instead.""", DeprecationWarning) pulumi.log.warn("""availability_domain is deprecated: Autonomous Exadata Infrastructure resource is now end-of-life.Please provision cloud autonomous vm cluster instead.""") if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if create_async is not None: - pulumi.set(__self__, "create_async", create_async) + _setter("create_async", create_async) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if domain is not None: - pulumi.set(__self__, "domain", domain) + _setter("domain", domain) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if hostname is not None: - pulumi.set(__self__, "hostname", hostname) + _setter("hostname", hostname) if last_maintenance_run_id is not None: - pulumi.set(__self__, "last_maintenance_run_id", last_maintenance_run_id) + _setter("last_maintenance_run_id", last_maintenance_run_id) if license_model is not None: - pulumi.set(__self__, "license_model", license_model) + _setter("license_model", license_model) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if maintenance_window_details is not None: - pulumi.set(__self__, "maintenance_window_details", maintenance_window_details) + _setter("maintenance_window_details", maintenance_window_details) if maintenance_windows is not None: - pulumi.set(__self__, "maintenance_windows", maintenance_windows) + _setter("maintenance_windows", maintenance_windows) if next_maintenance_run_id is not None: - pulumi.set(__self__, "next_maintenance_run_id", next_maintenance_run_id) + _setter("next_maintenance_run_id", next_maintenance_run_id) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) if scan_dns_name is not None: - pulumi.set(__self__, "scan_dns_name", scan_dns_name) + _setter("scan_dns_name", scan_dns_name) if shape is not None: - pulumi.set(__self__, "shape", shape) + _setter("shape", shape) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if zone_id is not None: - pulumi.set(__self__, "zone_id", zone_id) + _setter("zone_id", zone_id) @property @pulumi.getter(name="availabilityDomain") @@ -759,6 +839,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + AutonomousExadataInfrastructureArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -785,9 +869,6 @@ def _internal_init(__self__, raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = AutonomousExadataInfrastructureArgs.__new__(AutonomousExadataInfrastructureArgs) - if availability_domain is not None and not opts.urn: - warnings.warn("""Autonomous Exadata Infrastructure resource is now end-of-life.Please provision cloud autonomous vm cluster instead.""", DeprecationWarning) - pulumi.log.warn("""availability_domain is deprecated: Autonomous Exadata Infrastructure resource is now end-of-life.Please provision cloud autonomous vm cluster instead.""") if availability_domain is None and not opts.urn: raise TypeError("Missing required property 'availability_domain'") __props__.__dict__["availability_domain"] = availability_domain @@ -800,6 +881,11 @@ def _internal_init(__self__, __props__.__dict__["domain"] = domain __props__.__dict__["freeform_tags"] = freeform_tags __props__.__dict__["license_model"] = license_model + if maintenance_window_details is not None and not isinstance(maintenance_window_details, AutonomousExadataInfrastructureMaintenanceWindowDetailsArgs): + maintenance_window_details = maintenance_window_details or {} + def _setter(key, value): + maintenance_window_details[key] = value + AutonomousExadataInfrastructureMaintenanceWindowDetailsArgs._configure(_setter, **maintenance_window_details) __props__.__dict__["maintenance_window_details"] = maintenance_window_details __props__.__dict__["nsg_ids"] = nsg_ids if shape is None and not opts.urn: diff --git a/sdk/python/pulumi_oci/database/autonomous_vm_cluster.py b/sdk/python/pulumi_oci/database/autonomous_vm_cluster.py index 5edb75db24..8cc61dd384 100644 --- a/sdk/python/pulumi_oci/database/autonomous_vm_cluster.py +++ b/sdk/python/pulumi_oci/database/autonomous_vm_cluster.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -61,40 +61,85 @@ def __init__(__self__, *, :param pulumi.Input[str] time_zone: The time zone to use for the Autonomous VM cluster. For details, see [DB System Time Zones](https://docs.cloud.oracle.com/iaas/Content/Database/References/timezones.htm). :param pulumi.Input[int] total_container_databases: The total number of Autonomous Container Databases that can be created. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "exadata_infrastructure_id", exadata_infrastructure_id) - pulumi.set(__self__, "vm_cluster_network_id", vm_cluster_network_id) + AutonomousVmClusterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + exadata_infrastructure_id=exadata_infrastructure_id, + vm_cluster_network_id=vm_cluster_network_id, + autonomous_data_storage_size_in_tbs=autonomous_data_storage_size_in_tbs, + compute_model=compute_model, + cpu_core_count_per_node=cpu_core_count_per_node, + db_servers=db_servers, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + is_local_backup_enabled=is_local_backup_enabled, + is_mtls_enabled=is_mtls_enabled, + license_model=license_model, + maintenance_window_details=maintenance_window_details, + memory_per_oracle_compute_unit_in_gbs=memory_per_oracle_compute_unit_in_gbs, + scan_listener_port_non_tls=scan_listener_port_non_tls, + scan_listener_port_tls=scan_listener_port_tls, + time_zone=time_zone, + total_container_databases=total_container_databases, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + exadata_infrastructure_id: pulumi.Input[str], + vm_cluster_network_id: pulumi.Input[str], + autonomous_data_storage_size_in_tbs: Optional[pulumi.Input[float]] = None, + compute_model: Optional[pulumi.Input[str]] = None, + cpu_core_count_per_node: Optional[pulumi.Input[int]] = None, + db_servers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_local_backup_enabled: Optional[pulumi.Input[bool]] = None, + is_mtls_enabled: Optional[pulumi.Input[bool]] = None, + license_model: Optional[pulumi.Input[str]] = None, + maintenance_window_details: Optional[pulumi.Input[Sequence[pulumi.Input['AutonomousVmClusterMaintenanceWindowDetailArgs']]]] = None, + memory_per_oracle_compute_unit_in_gbs: Optional[pulumi.Input[int]] = None, + scan_listener_port_non_tls: Optional[pulumi.Input[int]] = None, + scan_listener_port_tls: Optional[pulumi.Input[int]] = None, + time_zone: Optional[pulumi.Input[str]] = None, + total_container_databases: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) + _setter("exadata_infrastructure_id", exadata_infrastructure_id) + _setter("vm_cluster_network_id", vm_cluster_network_id) if autonomous_data_storage_size_in_tbs is not None: - pulumi.set(__self__, "autonomous_data_storage_size_in_tbs", autonomous_data_storage_size_in_tbs) + _setter("autonomous_data_storage_size_in_tbs", autonomous_data_storage_size_in_tbs) if compute_model is not None: - pulumi.set(__self__, "compute_model", compute_model) + _setter("compute_model", compute_model) if cpu_core_count_per_node is not None: - pulumi.set(__self__, "cpu_core_count_per_node", cpu_core_count_per_node) + _setter("cpu_core_count_per_node", cpu_core_count_per_node) if db_servers is not None: - pulumi.set(__self__, "db_servers", db_servers) + _setter("db_servers", db_servers) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_local_backup_enabled is not None: - pulumi.set(__self__, "is_local_backup_enabled", is_local_backup_enabled) + _setter("is_local_backup_enabled", is_local_backup_enabled) if is_mtls_enabled is not None: - pulumi.set(__self__, "is_mtls_enabled", is_mtls_enabled) + _setter("is_mtls_enabled", is_mtls_enabled) if license_model is not None: - pulumi.set(__self__, "license_model", license_model) + _setter("license_model", license_model) if maintenance_window_details is not None: - pulumi.set(__self__, "maintenance_window_details", maintenance_window_details) + _setter("maintenance_window_details", maintenance_window_details) if memory_per_oracle_compute_unit_in_gbs is not None: - pulumi.set(__self__, "memory_per_oracle_compute_unit_in_gbs", memory_per_oracle_compute_unit_in_gbs) + _setter("memory_per_oracle_compute_unit_in_gbs", memory_per_oracle_compute_unit_in_gbs) if scan_listener_port_non_tls is not None: - pulumi.set(__self__, "scan_listener_port_non_tls", scan_listener_port_non_tls) + _setter("scan_listener_port_non_tls", scan_listener_port_non_tls) if scan_listener_port_tls is not None: - pulumi.set(__self__, "scan_listener_port_tls", scan_listener_port_tls) + _setter("scan_listener_port_tls", scan_listener_port_tls) if time_zone is not None: - pulumi.set(__self__, "time_zone", time_zone) + _setter("time_zone", time_zone) if total_container_databases is not None: - pulumi.set(__self__, "total_container_databases", total_container_databases) + _setter("total_container_databases", total_container_databases) @property @pulumi.getter(name="compartmentId") @@ -418,84 +463,169 @@ def __init__(__self__, *, ** 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 """ + _AutonomousVmClusterState._configure( + lambda key, value: pulumi.set(__self__, key, value), + autonomous_data_storage_size_in_tbs=autonomous_data_storage_size_in_tbs, + available_autonomous_data_storage_size_in_tbs=available_autonomous_data_storage_size_in_tbs, + available_container_databases=available_container_databases, + available_cpus=available_cpus, + available_data_storage_size_in_tbs=available_data_storage_size_in_tbs, + compartment_id=compartment_id, + compute_model=compute_model, + cpu_core_count_per_node=cpu_core_count_per_node, + cpus_enabled=cpus_enabled, + data_storage_size_in_gb=data_storage_size_in_gb, + data_storage_size_in_tbs=data_storage_size_in_tbs, + db_node_storage_size_in_gbs=db_node_storage_size_in_gbs, + db_servers=db_servers, + defined_tags=defined_tags, + display_name=display_name, + exadata_infrastructure_id=exadata_infrastructure_id, + freeform_tags=freeform_tags, + is_local_backup_enabled=is_local_backup_enabled, + is_mtls_enabled=is_mtls_enabled, + last_maintenance_run_id=last_maintenance_run_id, + license_model=license_model, + lifecycle_details=lifecycle_details, + maintenance_window_details=maintenance_window_details, + maintenance_windows=maintenance_windows, + memory_per_oracle_compute_unit_in_gbs=memory_per_oracle_compute_unit_in_gbs, + memory_size_in_gbs=memory_size_in_gbs, + next_maintenance_run_id=next_maintenance_run_id, + node_count=node_count, + ocpus_enabled=ocpus_enabled, + reclaimable_cpus=reclaimable_cpus, + scan_listener_port_non_tls=scan_listener_port_non_tls, + scan_listener_port_tls=scan_listener_port_tls, + state=state, + time_created=time_created, + time_database_ssl_certificate_expires=time_database_ssl_certificate_expires, + time_ords_certificate_expires=time_ords_certificate_expires, + time_zone=time_zone, + total_container_databases=total_container_databases, + vm_cluster_network_id=vm_cluster_network_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + autonomous_data_storage_size_in_tbs: Optional[pulumi.Input[float]] = None, + available_autonomous_data_storage_size_in_tbs: Optional[pulumi.Input[float]] = None, + available_container_databases: Optional[pulumi.Input[int]] = None, + available_cpus: Optional[pulumi.Input[int]] = None, + available_data_storage_size_in_tbs: Optional[pulumi.Input[float]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + compute_model: Optional[pulumi.Input[str]] = None, + cpu_core_count_per_node: Optional[pulumi.Input[int]] = None, + cpus_enabled: Optional[pulumi.Input[int]] = None, + data_storage_size_in_gb: Optional[pulumi.Input[float]] = None, + data_storage_size_in_tbs: Optional[pulumi.Input[float]] = None, + db_node_storage_size_in_gbs: Optional[pulumi.Input[int]] = None, + db_servers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + exadata_infrastructure_id: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_local_backup_enabled: Optional[pulumi.Input[bool]] = None, + is_mtls_enabled: Optional[pulumi.Input[bool]] = None, + last_maintenance_run_id: Optional[pulumi.Input[str]] = None, + license_model: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + maintenance_window_details: Optional[pulumi.Input[Sequence[pulumi.Input['AutonomousVmClusterMaintenanceWindowDetailArgs']]]] = None, + maintenance_windows: Optional[pulumi.Input[Sequence[pulumi.Input['AutonomousVmClusterMaintenanceWindowArgs']]]] = None, + memory_per_oracle_compute_unit_in_gbs: Optional[pulumi.Input[int]] = None, + memory_size_in_gbs: Optional[pulumi.Input[int]] = None, + next_maintenance_run_id: Optional[pulumi.Input[str]] = None, + node_count: Optional[pulumi.Input[int]] = None, + ocpus_enabled: Optional[pulumi.Input[float]] = None, + reclaimable_cpus: Optional[pulumi.Input[int]] = None, + scan_listener_port_non_tls: Optional[pulumi.Input[int]] = None, + scan_listener_port_tls: Optional[pulumi.Input[int]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_database_ssl_certificate_expires: Optional[pulumi.Input[str]] = None, + time_ords_certificate_expires: Optional[pulumi.Input[str]] = None, + time_zone: Optional[pulumi.Input[str]] = None, + total_container_databases: Optional[pulumi.Input[int]] = None, + vm_cluster_network_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if autonomous_data_storage_size_in_tbs is not None: - pulumi.set(__self__, "autonomous_data_storage_size_in_tbs", autonomous_data_storage_size_in_tbs) + _setter("autonomous_data_storage_size_in_tbs", autonomous_data_storage_size_in_tbs) if available_autonomous_data_storage_size_in_tbs is not None: - pulumi.set(__self__, "available_autonomous_data_storage_size_in_tbs", available_autonomous_data_storage_size_in_tbs) + _setter("available_autonomous_data_storage_size_in_tbs", available_autonomous_data_storage_size_in_tbs) if available_container_databases is not None: - pulumi.set(__self__, "available_container_databases", available_container_databases) + _setter("available_container_databases", available_container_databases) if available_cpus is not None: - pulumi.set(__self__, "available_cpus", available_cpus) + _setter("available_cpus", available_cpus) if available_data_storage_size_in_tbs is not None: - pulumi.set(__self__, "available_data_storage_size_in_tbs", available_data_storage_size_in_tbs) + _setter("available_data_storage_size_in_tbs", available_data_storage_size_in_tbs) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if compute_model is not None: - pulumi.set(__self__, "compute_model", compute_model) + _setter("compute_model", compute_model) if cpu_core_count_per_node is not None: - pulumi.set(__self__, "cpu_core_count_per_node", cpu_core_count_per_node) + _setter("cpu_core_count_per_node", cpu_core_count_per_node) if cpus_enabled is not None: - pulumi.set(__self__, "cpus_enabled", cpus_enabled) + _setter("cpus_enabled", cpus_enabled) if data_storage_size_in_gb is not None: - pulumi.set(__self__, "data_storage_size_in_gb", data_storage_size_in_gb) + _setter("data_storage_size_in_gb", data_storage_size_in_gb) if data_storage_size_in_tbs is not None: - pulumi.set(__self__, "data_storage_size_in_tbs", data_storage_size_in_tbs) + _setter("data_storage_size_in_tbs", data_storage_size_in_tbs) if db_node_storage_size_in_gbs is not None: - pulumi.set(__self__, "db_node_storage_size_in_gbs", db_node_storage_size_in_gbs) + _setter("db_node_storage_size_in_gbs", db_node_storage_size_in_gbs) if db_servers is not None: - pulumi.set(__self__, "db_servers", db_servers) + _setter("db_servers", db_servers) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if exadata_infrastructure_id is not None: - pulumi.set(__self__, "exadata_infrastructure_id", exadata_infrastructure_id) + _setter("exadata_infrastructure_id", exadata_infrastructure_id) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_local_backup_enabled is not None: - pulumi.set(__self__, "is_local_backup_enabled", is_local_backup_enabled) + _setter("is_local_backup_enabled", is_local_backup_enabled) if is_mtls_enabled is not None: - pulumi.set(__self__, "is_mtls_enabled", is_mtls_enabled) + _setter("is_mtls_enabled", is_mtls_enabled) if last_maintenance_run_id is not None: - pulumi.set(__self__, "last_maintenance_run_id", last_maintenance_run_id) + _setter("last_maintenance_run_id", last_maintenance_run_id) if license_model is not None: - pulumi.set(__self__, "license_model", license_model) + _setter("license_model", license_model) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if maintenance_window_details is not None: - pulumi.set(__self__, "maintenance_window_details", maintenance_window_details) + _setter("maintenance_window_details", maintenance_window_details) if maintenance_windows is not None: - pulumi.set(__self__, "maintenance_windows", maintenance_windows) + _setter("maintenance_windows", maintenance_windows) if memory_per_oracle_compute_unit_in_gbs is not None: - pulumi.set(__self__, "memory_per_oracle_compute_unit_in_gbs", memory_per_oracle_compute_unit_in_gbs) + _setter("memory_per_oracle_compute_unit_in_gbs", memory_per_oracle_compute_unit_in_gbs) if memory_size_in_gbs is not None: - pulumi.set(__self__, "memory_size_in_gbs", memory_size_in_gbs) + _setter("memory_size_in_gbs", memory_size_in_gbs) if next_maintenance_run_id is not None: - pulumi.set(__self__, "next_maintenance_run_id", next_maintenance_run_id) + _setter("next_maintenance_run_id", next_maintenance_run_id) if node_count is not None: - pulumi.set(__self__, "node_count", node_count) + _setter("node_count", node_count) if ocpus_enabled is not None: - pulumi.set(__self__, "ocpus_enabled", ocpus_enabled) + _setter("ocpus_enabled", ocpus_enabled) if reclaimable_cpus is not None: - pulumi.set(__self__, "reclaimable_cpus", reclaimable_cpus) + _setter("reclaimable_cpus", reclaimable_cpus) if scan_listener_port_non_tls is not None: - pulumi.set(__self__, "scan_listener_port_non_tls", scan_listener_port_non_tls) + _setter("scan_listener_port_non_tls", scan_listener_port_non_tls) if scan_listener_port_tls is not None: - pulumi.set(__self__, "scan_listener_port_tls", scan_listener_port_tls) + _setter("scan_listener_port_tls", scan_listener_port_tls) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_database_ssl_certificate_expires is not None: - pulumi.set(__self__, "time_database_ssl_certificate_expires", time_database_ssl_certificate_expires) + _setter("time_database_ssl_certificate_expires", time_database_ssl_certificate_expires) if time_ords_certificate_expires is not None: - pulumi.set(__self__, "time_ords_certificate_expires", time_ords_certificate_expires) + _setter("time_ords_certificate_expires", time_ords_certificate_expires) if time_zone is not None: - pulumi.set(__self__, "time_zone", time_zone) + _setter("time_zone", time_zone) if total_container_databases is not None: - pulumi.set(__self__, "total_container_databases", total_container_databases) + _setter("total_container_databases", total_container_databases) if vm_cluster_network_id is not None: - pulumi.set(__self__, "vm_cluster_network_id", vm_cluster_network_id) + _setter("vm_cluster_network_id", vm_cluster_network_id) @property @pulumi.getter(name="autonomousDataStorageSizeInTbs") @@ -1146,6 +1276,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + AutonomousVmClusterArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/database/autonomous_vm_cluster_ords_certificate_management.py b/sdk/python/pulumi_oci/database/autonomous_vm_cluster_ords_certificate_management.py index 45c668a032..a96677b2fc 100644 --- a/sdk/python/pulumi_oci/database/autonomous_vm_cluster_ords_certificate_management.py +++ b/sdk/python/pulumi_oci/database/autonomous_vm_cluster_ords_certificate_management.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['AutonomousVmClusterOrdsCertificateManagementArgs', 'AutonomousVmClusterOrdsCertificateManagement'] @@ -31,14 +31,31 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "autonomous_vm_cluster_id", autonomous_vm_cluster_id) - pulumi.set(__self__, "certificate_generation_type", certificate_generation_type) + AutonomousVmClusterOrdsCertificateManagementArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + autonomous_vm_cluster_id=autonomous_vm_cluster_id, + certificate_generation_type=certificate_generation_type, + ca_bundle_id=ca_bundle_id, + certificate_authority_id=certificate_authority_id, + certificate_id=certificate_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + autonomous_vm_cluster_id: pulumi.Input[str], + certificate_generation_type: pulumi.Input[str], + ca_bundle_id: Optional[pulumi.Input[str]] = None, + certificate_authority_id: Optional[pulumi.Input[str]] = None, + certificate_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("autonomous_vm_cluster_id", autonomous_vm_cluster_id) + _setter("certificate_generation_type", certificate_generation_type) if ca_bundle_id is not None: - pulumi.set(__self__, "ca_bundle_id", ca_bundle_id) + _setter("ca_bundle_id", ca_bundle_id) if certificate_authority_id is not None: - pulumi.set(__self__, "certificate_authority_id", certificate_authority_id) + _setter("certificate_authority_id", certificate_authority_id) if certificate_id is not None: - pulumi.set(__self__, "certificate_id", certificate_id) + _setter("certificate_id", certificate_id) @property @pulumi.getter(name="autonomousVmClusterId") @@ -125,16 +142,33 @@ def __init__(__self__, *, ** 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 """ + _AutonomousVmClusterOrdsCertificateManagementState._configure( + lambda key, value: pulumi.set(__self__, key, value), + autonomous_vm_cluster_id=autonomous_vm_cluster_id, + ca_bundle_id=ca_bundle_id, + certificate_authority_id=certificate_authority_id, + certificate_generation_type=certificate_generation_type, + certificate_id=certificate_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + autonomous_vm_cluster_id: Optional[pulumi.Input[str]] = None, + ca_bundle_id: Optional[pulumi.Input[str]] = None, + certificate_authority_id: Optional[pulumi.Input[str]] = None, + certificate_generation_type: Optional[pulumi.Input[str]] = None, + certificate_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if autonomous_vm_cluster_id is not None: - pulumi.set(__self__, "autonomous_vm_cluster_id", autonomous_vm_cluster_id) + _setter("autonomous_vm_cluster_id", autonomous_vm_cluster_id) if ca_bundle_id is not None: - pulumi.set(__self__, "ca_bundle_id", ca_bundle_id) + _setter("ca_bundle_id", ca_bundle_id) if certificate_authority_id is not None: - pulumi.set(__self__, "certificate_authority_id", certificate_authority_id) + _setter("certificate_authority_id", certificate_authority_id) if certificate_generation_type is not None: - pulumi.set(__self__, "certificate_generation_type", certificate_generation_type) + _setter("certificate_generation_type", certificate_generation_type) if certificate_id is not None: - pulumi.set(__self__, "certificate_id", certificate_id) + _setter("certificate_id", certificate_id) @property @pulumi.getter(name="autonomousVmClusterId") @@ -286,6 +320,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + AutonomousVmClusterOrdsCertificateManagementArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/database/autonomous_vm_cluster_ssl_certificate_management.py b/sdk/python/pulumi_oci/database/autonomous_vm_cluster_ssl_certificate_management.py index 363a8b72a4..633201826b 100644 --- a/sdk/python/pulumi_oci/database/autonomous_vm_cluster_ssl_certificate_management.py +++ b/sdk/python/pulumi_oci/database/autonomous_vm_cluster_ssl_certificate_management.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['AutonomousVmClusterSslCertificateManagementArgs', 'AutonomousVmClusterSslCertificateManagement'] @@ -31,14 +31,31 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "autonomous_vm_cluster_id", autonomous_vm_cluster_id) - pulumi.set(__self__, "certificate_generation_type", certificate_generation_type) + AutonomousVmClusterSslCertificateManagementArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + autonomous_vm_cluster_id=autonomous_vm_cluster_id, + certificate_generation_type=certificate_generation_type, + ca_bundle_id=ca_bundle_id, + certificate_authority_id=certificate_authority_id, + certificate_id=certificate_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + autonomous_vm_cluster_id: pulumi.Input[str], + certificate_generation_type: pulumi.Input[str], + ca_bundle_id: Optional[pulumi.Input[str]] = None, + certificate_authority_id: Optional[pulumi.Input[str]] = None, + certificate_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("autonomous_vm_cluster_id", autonomous_vm_cluster_id) + _setter("certificate_generation_type", certificate_generation_type) if ca_bundle_id is not None: - pulumi.set(__self__, "ca_bundle_id", ca_bundle_id) + _setter("ca_bundle_id", ca_bundle_id) if certificate_authority_id is not None: - pulumi.set(__self__, "certificate_authority_id", certificate_authority_id) + _setter("certificate_authority_id", certificate_authority_id) if certificate_id is not None: - pulumi.set(__self__, "certificate_id", certificate_id) + _setter("certificate_id", certificate_id) @property @pulumi.getter(name="autonomousVmClusterId") @@ -125,16 +142,33 @@ def __init__(__self__, *, ** 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 """ + _AutonomousVmClusterSslCertificateManagementState._configure( + lambda key, value: pulumi.set(__self__, key, value), + autonomous_vm_cluster_id=autonomous_vm_cluster_id, + ca_bundle_id=ca_bundle_id, + certificate_authority_id=certificate_authority_id, + certificate_generation_type=certificate_generation_type, + certificate_id=certificate_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + autonomous_vm_cluster_id: Optional[pulumi.Input[str]] = None, + ca_bundle_id: Optional[pulumi.Input[str]] = None, + certificate_authority_id: Optional[pulumi.Input[str]] = None, + certificate_generation_type: Optional[pulumi.Input[str]] = None, + certificate_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if autonomous_vm_cluster_id is not None: - pulumi.set(__self__, "autonomous_vm_cluster_id", autonomous_vm_cluster_id) + _setter("autonomous_vm_cluster_id", autonomous_vm_cluster_id) if ca_bundle_id is not None: - pulumi.set(__self__, "ca_bundle_id", ca_bundle_id) + _setter("ca_bundle_id", ca_bundle_id) if certificate_authority_id is not None: - pulumi.set(__self__, "certificate_authority_id", certificate_authority_id) + _setter("certificate_authority_id", certificate_authority_id) if certificate_generation_type is not None: - pulumi.set(__self__, "certificate_generation_type", certificate_generation_type) + _setter("certificate_generation_type", certificate_generation_type) if certificate_id is not None: - pulumi.set(__self__, "certificate_id", certificate_id) + _setter("certificate_id", certificate_id) @property @pulumi.getter(name="autonomousVmClusterId") @@ -286,6 +320,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + AutonomousVmClusterSslCertificateManagementArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/database/backup.py b/sdk/python/pulumi_oci/database/backup.py index 773bc650cb..27978eda86 100644 --- a/sdk/python/pulumi_oci/database/backup.py +++ b/sdk/python/pulumi_oci/database/backup.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['BackupArgs', 'Backup'] @@ -25,8 +25,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "database_id", database_id) - pulumi.set(__self__, "display_name", display_name) + BackupArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + database_id=database_id, + display_name=display_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + database_id: pulumi.Input[str], + display_name: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("database_id", database_id) + _setter("display_name", display_name) @property @pulumi.getter(name="databaseId") @@ -103,42 +114,85 @@ def __init__(__self__, *, :param pulumi.Input[str] vault_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure [vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). :param pulumi.Input[str] version: Version of the backup's source database """ + _BackupState._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + compartment_id=compartment_id, + database_edition=database_edition, + database_id=database_id, + database_size_in_gbs=database_size_in_gbs, + display_name=display_name, + key_store_id=key_store_id, + key_store_wallet_name=key_store_wallet_name, + kms_key_id=kms_key_id, + kms_key_version_id=kms_key_version_id, + lifecycle_details=lifecycle_details, + shape=shape, + state=state, + time_ended=time_ended, + time_started=time_started, + type=type, + vault_id=vault_id, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + database_edition: Optional[pulumi.Input[str]] = None, + database_id: Optional[pulumi.Input[str]] = None, + database_size_in_gbs: Optional[pulumi.Input[float]] = None, + display_name: Optional[pulumi.Input[str]] = None, + key_store_id: Optional[pulumi.Input[str]] = None, + key_store_wallet_name: Optional[pulumi.Input[str]] = None, + kms_key_id: Optional[pulumi.Input[str]] = None, + kms_key_version_id: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + shape: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_ended: Optional[pulumi.Input[str]] = None, + time_started: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + vault_id: Optional[pulumi.Input[str]] = None, + version: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if database_edition is not None: - pulumi.set(__self__, "database_edition", database_edition) + _setter("database_edition", database_edition) if database_id is not None: - pulumi.set(__self__, "database_id", database_id) + _setter("database_id", database_id) if database_size_in_gbs is not None: - pulumi.set(__self__, "database_size_in_gbs", database_size_in_gbs) + _setter("database_size_in_gbs", database_size_in_gbs) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if key_store_id is not None: - pulumi.set(__self__, "key_store_id", key_store_id) + _setter("key_store_id", key_store_id) if key_store_wallet_name is not None: - pulumi.set(__self__, "key_store_wallet_name", key_store_wallet_name) + _setter("key_store_wallet_name", key_store_wallet_name) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) if kms_key_version_id is not None: - pulumi.set(__self__, "kms_key_version_id", kms_key_version_id) + _setter("kms_key_version_id", kms_key_version_id) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if shape is not None: - pulumi.set(__self__, "shape", shape) + _setter("shape", shape) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_ended is not None: - pulumi.set(__self__, "time_ended", time_ended) + _setter("time_ended", time_ended) if time_started is not None: - pulumi.set(__self__, "time_started", time_started) + _setter("time_started", time_started) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if vault_id is not None: - pulumi.set(__self__, "vault_id", vault_id) + _setter("vault_id", vault_id) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter(name="availabilityDomain") @@ -442,6 +496,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + BackupArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/database/backup_cancel_management.py b/sdk/python/pulumi_oci/database/backup_cancel_management.py index df926e10a3..7a7029cd7f 100644 --- a/sdk/python/pulumi_oci/database/backup_cancel_management.py +++ b/sdk/python/pulumi_oci/database/backup_cancel_management.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['BackupCancelManagementArgs', 'BackupCancelManagement'] @@ -25,9 +25,20 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "backup_id", backup_id) + BackupCancelManagementArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + backup_id=backup_id, + cancel_backup_trigger=cancel_backup_trigger, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backup_id: pulumi.Input[str], + cancel_backup_trigger: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("backup_id", backup_id) if cancel_backup_trigger is not None: - pulumi.set(__self__, "cancel_backup_trigger", cancel_backup_trigger) + _setter("cancel_backup_trigger", cancel_backup_trigger) @property @pulumi.getter(name="backupId") @@ -72,10 +83,21 @@ def __init__(__self__, *, ** 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 """ + _BackupCancelManagementState._configure( + lambda key, value: pulumi.set(__self__, key, value), + backup_id=backup_id, + cancel_backup_trigger=cancel_backup_trigger, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backup_id: Optional[pulumi.Input[str]] = None, + cancel_backup_trigger: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if backup_id is not None: - pulumi.set(__self__, "backup_id", backup_id) + _setter("backup_id", backup_id) if cancel_backup_trigger is not None: - pulumi.set(__self__, "cancel_backup_trigger", cancel_backup_trigger) + _setter("cancel_backup_trigger", cancel_backup_trigger) @property @pulumi.getter(name="backupId") @@ -179,6 +201,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + BackupCancelManagementArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/database/backup_destination.py b/sdk/python/pulumi_oci/database/backup_destination.py index a58ab15c83..efb3cee1f0 100644 --- a/sdk/python/pulumi_oci/database/backup_destination.py +++ b/sdk/python/pulumi_oci/database/backup_destination.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -41,24 +41,49 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "type", type) + BackupDestinationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + type=type, + connection_string=connection_string, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + local_mount_point_path=local_mount_point_path, + mount_type_details=mount_type_details, + vpc_users=vpc_users, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + type: pulumi.Input[str], + connection_string: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + local_mount_point_path: Optional[pulumi.Input[str]] = None, + mount_type_details: Optional[pulumi.Input['BackupDestinationMountTypeDetailsArgs']] = None, + vpc_users: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) + _setter("type", type) if connection_string is not None: - pulumi.set(__self__, "connection_string", connection_string) + _setter("connection_string", connection_string) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if local_mount_point_path is not None: warnings.warn("""The 'local_mount_point_path' field has been deprecated. Please use 'local_mount_point_path under mount_type_details' instead.""", DeprecationWarning) pulumi.log.warn("""local_mount_point_path is deprecated: The 'local_mount_point_path' field has been deprecated. Please use 'local_mount_point_path under mount_type_details' instead.""") if local_mount_point_path is not None: - pulumi.set(__self__, "local_mount_point_path", local_mount_point_path) + _setter("local_mount_point_path", local_mount_point_path) if mount_type_details is not None: - pulumi.set(__self__, "mount_type_details", mount_type_details) + _setter("mount_type_details", mount_type_details) if vpc_users is not None: - pulumi.set(__self__, "vpc_users", vpc_users) + _setter("vpc_users", vpc_users) @property @pulumi.getter(name="compartmentId") @@ -218,41 +243,80 @@ def __init__(__self__, *, ** 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 """ + _BackupDestinationState._configure( + lambda key, value: pulumi.set(__self__, key, value), + associated_databases=associated_databases, + compartment_id=compartment_id, + connection_string=connection_string, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + local_mount_point_path=local_mount_point_path, + mount_type_details=mount_type_details, + nfs_mount_type=nfs_mount_type, + nfs_server_export=nfs_server_export, + nfs_servers=nfs_servers, + state=state, + time_created=time_created, + type=type, + vpc_users=vpc_users, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + associated_databases: Optional[pulumi.Input[Sequence[pulumi.Input['BackupDestinationAssociatedDatabaseArgs']]]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + connection_string: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + local_mount_point_path: Optional[pulumi.Input[str]] = None, + mount_type_details: Optional[pulumi.Input['BackupDestinationMountTypeDetailsArgs']] = None, + nfs_mount_type: Optional[pulumi.Input[str]] = None, + nfs_server_export: Optional[pulumi.Input[str]] = None, + nfs_servers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + vpc_users: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if associated_databases is not None: - pulumi.set(__self__, "associated_databases", associated_databases) + _setter("associated_databases", associated_databases) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if connection_string is not None: - pulumi.set(__self__, "connection_string", connection_string) + _setter("connection_string", connection_string) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if local_mount_point_path is not None: warnings.warn("""The 'local_mount_point_path' field has been deprecated. Please use 'local_mount_point_path under mount_type_details' instead.""", DeprecationWarning) pulumi.log.warn("""local_mount_point_path is deprecated: The 'local_mount_point_path' field has been deprecated. Please use 'local_mount_point_path under mount_type_details' instead.""") if local_mount_point_path is not None: - pulumi.set(__self__, "local_mount_point_path", local_mount_point_path) + _setter("local_mount_point_path", local_mount_point_path) if mount_type_details is not None: - pulumi.set(__self__, "mount_type_details", mount_type_details) + _setter("mount_type_details", mount_type_details) if nfs_mount_type is not None: - pulumi.set(__self__, "nfs_mount_type", nfs_mount_type) + _setter("nfs_mount_type", nfs_mount_type) if nfs_server_export is not None: - pulumi.set(__self__, "nfs_server_export", nfs_server_export) + _setter("nfs_server_export", nfs_server_export) if nfs_servers is not None: - pulumi.set(__self__, "nfs_servers", nfs_servers) + _setter("nfs_servers", nfs_servers) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if vpc_users is not None: - pulumi.set(__self__, "vpc_users", vpc_users) + _setter("vpc_users", vpc_users) @property @pulumi.getter(name="associatedDatabases") @@ -577,6 +641,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + BackupDestinationArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -609,10 +677,12 @@ def _internal_init(__self__, raise TypeError("Missing required property 'display_name'") __props__.__dict__["display_name"] = display_name __props__.__dict__["freeform_tags"] = freeform_tags - if local_mount_point_path is not None and not opts.urn: - warnings.warn("""The 'local_mount_point_path' field has been deprecated. Please use 'local_mount_point_path under mount_type_details' instead.""", DeprecationWarning) - pulumi.log.warn("""local_mount_point_path is deprecated: The 'local_mount_point_path' field has been deprecated. Please use 'local_mount_point_path under mount_type_details' instead.""") __props__.__dict__["local_mount_point_path"] = local_mount_point_path + if mount_type_details is not None and not isinstance(mount_type_details, BackupDestinationMountTypeDetailsArgs): + mount_type_details = mount_type_details or {} + def _setter(key, value): + mount_type_details[key] = value + BackupDestinationMountTypeDetailsArgs._configure(_setter, **mount_type_details) __props__.__dict__["mount_type_details"] = mount_type_details if type is None and not opts.urn: raise TypeError("Missing required property 'type'") diff --git a/sdk/python/pulumi_oci/database/cloud_autonomous_vm_cluster.py b/sdk/python/pulumi_oci/database/cloud_autonomous_vm_cluster.py index dab292379f..193bb14afe 100644 --- a/sdk/python/pulumi_oci/database/cloud_autonomous_vm_cluster.py +++ b/sdk/python/pulumi_oci/database/cloud_autonomous_vm_cluster.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -67,44 +67,93 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "cloud_exadata_infrastructure_id", cloud_exadata_infrastructure_id) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "subnet_id", subnet_id) + CloudAutonomousVmClusterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + cloud_exadata_infrastructure_id=cloud_exadata_infrastructure_id, + compartment_id=compartment_id, + display_name=display_name, + subnet_id=subnet_id, + autonomous_data_storage_size_in_tbs=autonomous_data_storage_size_in_tbs, + cluster_time_zone=cluster_time_zone, + compute_model=compute_model, + cpu_core_count_per_node=cpu_core_count_per_node, + db_servers=db_servers, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + is_mtls_enabled_vm_cluster=is_mtls_enabled_vm_cluster, + license_model=license_model, + maintenance_window_details=maintenance_window_details, + memory_per_oracle_compute_unit_in_gbs=memory_per_oracle_compute_unit_in_gbs, + nsg_ids=nsg_ids, + scan_listener_port_non_tls=scan_listener_port_non_tls, + scan_listener_port_tls=scan_listener_port_tls, + time_updated=time_updated, + total_container_databases=total_container_databases, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cloud_exadata_infrastructure_id: pulumi.Input[str], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + subnet_id: pulumi.Input[str], + autonomous_data_storage_size_in_tbs: Optional[pulumi.Input[float]] = None, + cluster_time_zone: Optional[pulumi.Input[str]] = None, + compute_model: Optional[pulumi.Input[str]] = None, + cpu_core_count_per_node: Optional[pulumi.Input[int]] = None, + db_servers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_mtls_enabled_vm_cluster: Optional[pulumi.Input[bool]] = None, + license_model: Optional[pulumi.Input[str]] = None, + maintenance_window_details: Optional[pulumi.Input['CloudAutonomousVmClusterMaintenanceWindowDetailsArgs']] = None, + memory_per_oracle_compute_unit_in_gbs: Optional[pulumi.Input[int]] = None, + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + scan_listener_port_non_tls: Optional[pulumi.Input[int]] = None, + scan_listener_port_tls: Optional[pulumi.Input[int]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + total_container_databases: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cloud_exadata_infrastructure_id", cloud_exadata_infrastructure_id) + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) + _setter("subnet_id", subnet_id) if autonomous_data_storage_size_in_tbs is not None: - pulumi.set(__self__, "autonomous_data_storage_size_in_tbs", autonomous_data_storage_size_in_tbs) + _setter("autonomous_data_storage_size_in_tbs", autonomous_data_storage_size_in_tbs) if cluster_time_zone is not None: - pulumi.set(__self__, "cluster_time_zone", cluster_time_zone) + _setter("cluster_time_zone", cluster_time_zone) if compute_model is not None: - pulumi.set(__self__, "compute_model", compute_model) + _setter("compute_model", compute_model) if cpu_core_count_per_node is not None: - pulumi.set(__self__, "cpu_core_count_per_node", cpu_core_count_per_node) + _setter("cpu_core_count_per_node", cpu_core_count_per_node) if db_servers is not None: - pulumi.set(__self__, "db_servers", db_servers) + _setter("db_servers", db_servers) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_mtls_enabled_vm_cluster is not None: - pulumi.set(__self__, "is_mtls_enabled_vm_cluster", is_mtls_enabled_vm_cluster) + _setter("is_mtls_enabled_vm_cluster", is_mtls_enabled_vm_cluster) if license_model is not None: - pulumi.set(__self__, "license_model", license_model) + _setter("license_model", license_model) if maintenance_window_details is not None: - pulumi.set(__self__, "maintenance_window_details", maintenance_window_details) + _setter("maintenance_window_details", maintenance_window_details) if memory_per_oracle_compute_unit_in_gbs is not None: - pulumi.set(__self__, "memory_per_oracle_compute_unit_in_gbs", memory_per_oracle_compute_unit_in_gbs) + _setter("memory_per_oracle_compute_unit_in_gbs", memory_per_oracle_compute_unit_in_gbs) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) if scan_listener_port_non_tls is not None: - pulumi.set(__self__, "scan_listener_port_non_tls", scan_listener_port_non_tls) + _setter("scan_listener_port_non_tls", scan_listener_port_non_tls) if scan_listener_port_tls is not None: - pulumi.set(__self__, "scan_listener_port_tls", scan_listener_port_tls) + _setter("scan_listener_port_tls", scan_listener_port_tls) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if total_container_databases is not None: - pulumi.set(__self__, "total_container_databases", total_container_databases) + _setter("total_container_databases", total_container_databases) @property @pulumi.getter(name="cloudExadataInfrastructureId") @@ -483,110 +532,221 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[float] total_cpus: The total number of CPUs in an Autonomous VM Cluster. """ + _CloudAutonomousVmClusterState._configure( + lambda key, value: pulumi.set(__self__, key, value), + autonomous_data_storage_percentage=autonomous_data_storage_percentage, + autonomous_data_storage_size_in_tbs=autonomous_data_storage_size_in_tbs, + availability_domain=availability_domain, + available_autonomous_data_storage_size_in_tbs=available_autonomous_data_storage_size_in_tbs, + available_container_databases=available_container_databases, + available_cpus=available_cpus, + cloud_exadata_infrastructure_id=cloud_exadata_infrastructure_id, + cluster_time_zone=cluster_time_zone, + compartment_id=compartment_id, + compute_model=compute_model, + cpu_core_count=cpu_core_count, + cpu_core_count_per_node=cpu_core_count_per_node, + cpu_percentage=cpu_percentage, + data_storage_size_in_gb=data_storage_size_in_gb, + data_storage_size_in_tbs=data_storage_size_in_tbs, + db_node_storage_size_in_gbs=db_node_storage_size_in_gbs, + db_servers=db_servers, + defined_tags=defined_tags, + description=description, + display_name=display_name, + domain=domain, + freeform_tags=freeform_tags, + hostname=hostname, + is_mtls_enabled_vm_cluster=is_mtls_enabled_vm_cluster, + last_maintenance_run_id=last_maintenance_run_id, + last_update_history_entry_id=last_update_history_entry_id, + license_model=license_model, + lifecycle_details=lifecycle_details, + maintenance_window_details=maintenance_window_details, + maintenance_windows=maintenance_windows, + memory_per_oracle_compute_unit_in_gbs=memory_per_oracle_compute_unit_in_gbs, + memory_size_in_gbs=memory_size_in_gbs, + next_maintenance_run_id=next_maintenance_run_id, + node_count=node_count, + non_provisionable_autonomous_container_databases=non_provisionable_autonomous_container_databases, + nsg_ids=nsg_ids, + ocpu_count=ocpu_count, + provisionable_autonomous_container_databases=provisionable_autonomous_container_databases, + provisioned_autonomous_container_databases=provisioned_autonomous_container_databases, + provisioned_cpus=provisioned_cpus, + reclaimable_cpus=reclaimable_cpus, + reserved_cpus=reserved_cpus, + scan_listener_port_non_tls=scan_listener_port_non_tls, + scan_listener_port_tls=scan_listener_port_tls, + shape=shape, + state=state, + subnet_id=subnet_id, + time_created=time_created, + time_updated=time_updated, + total_autonomous_data_storage_in_tbs=total_autonomous_data_storage_in_tbs, + total_container_databases=total_container_databases, + total_cpus=total_cpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + autonomous_data_storage_percentage: Optional[pulumi.Input[float]] = None, + autonomous_data_storage_size_in_tbs: Optional[pulumi.Input[float]] = None, + availability_domain: Optional[pulumi.Input[str]] = None, + available_autonomous_data_storage_size_in_tbs: Optional[pulumi.Input[float]] = None, + available_container_databases: Optional[pulumi.Input[int]] = None, + available_cpus: Optional[pulumi.Input[float]] = None, + cloud_exadata_infrastructure_id: Optional[pulumi.Input[str]] = None, + cluster_time_zone: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + compute_model: Optional[pulumi.Input[str]] = None, + cpu_core_count: Optional[pulumi.Input[int]] = None, + cpu_core_count_per_node: Optional[pulumi.Input[int]] = None, + cpu_percentage: Optional[pulumi.Input[float]] = None, + data_storage_size_in_gb: Optional[pulumi.Input[float]] = None, + data_storage_size_in_tbs: Optional[pulumi.Input[float]] = None, + db_node_storage_size_in_gbs: Optional[pulumi.Input[int]] = None, + db_servers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + domain: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + hostname: Optional[pulumi.Input[str]] = None, + is_mtls_enabled_vm_cluster: Optional[pulumi.Input[bool]] = None, + last_maintenance_run_id: Optional[pulumi.Input[str]] = None, + last_update_history_entry_id: Optional[pulumi.Input[str]] = None, + license_model: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + maintenance_window_details: Optional[pulumi.Input['CloudAutonomousVmClusterMaintenanceWindowDetailsArgs']] = None, + maintenance_windows: Optional[pulumi.Input[Sequence[pulumi.Input['CloudAutonomousVmClusterMaintenanceWindowArgs']]]] = None, + memory_per_oracle_compute_unit_in_gbs: Optional[pulumi.Input[int]] = None, + memory_size_in_gbs: Optional[pulumi.Input[int]] = None, + next_maintenance_run_id: Optional[pulumi.Input[str]] = None, + node_count: Optional[pulumi.Input[int]] = None, + non_provisionable_autonomous_container_databases: Optional[pulumi.Input[int]] = None, + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + ocpu_count: Optional[pulumi.Input[float]] = None, + provisionable_autonomous_container_databases: Optional[pulumi.Input[int]] = None, + provisioned_autonomous_container_databases: Optional[pulumi.Input[int]] = None, + provisioned_cpus: Optional[pulumi.Input[float]] = None, + reclaimable_cpus: Optional[pulumi.Input[float]] = None, + reserved_cpus: Optional[pulumi.Input[float]] = None, + scan_listener_port_non_tls: Optional[pulumi.Input[int]] = None, + scan_listener_port_tls: Optional[pulumi.Input[int]] = None, + shape: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + total_autonomous_data_storage_in_tbs: Optional[pulumi.Input[float]] = None, + total_container_databases: Optional[pulumi.Input[int]] = None, + total_cpus: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if autonomous_data_storage_percentage is not None: - pulumi.set(__self__, "autonomous_data_storage_percentage", autonomous_data_storage_percentage) + _setter("autonomous_data_storage_percentage", autonomous_data_storage_percentage) if autonomous_data_storage_size_in_tbs is not None: - pulumi.set(__self__, "autonomous_data_storage_size_in_tbs", autonomous_data_storage_size_in_tbs) + _setter("autonomous_data_storage_size_in_tbs", autonomous_data_storage_size_in_tbs) if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if available_autonomous_data_storage_size_in_tbs is not None: - pulumi.set(__self__, "available_autonomous_data_storage_size_in_tbs", available_autonomous_data_storage_size_in_tbs) + _setter("available_autonomous_data_storage_size_in_tbs", available_autonomous_data_storage_size_in_tbs) if available_container_databases is not None: - pulumi.set(__self__, "available_container_databases", available_container_databases) + _setter("available_container_databases", available_container_databases) if available_cpus is not None: - pulumi.set(__self__, "available_cpus", available_cpus) + _setter("available_cpus", available_cpus) if cloud_exadata_infrastructure_id is not None: - pulumi.set(__self__, "cloud_exadata_infrastructure_id", cloud_exadata_infrastructure_id) + _setter("cloud_exadata_infrastructure_id", cloud_exadata_infrastructure_id) if cluster_time_zone is not None: - pulumi.set(__self__, "cluster_time_zone", cluster_time_zone) + _setter("cluster_time_zone", cluster_time_zone) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if compute_model is not None: - pulumi.set(__self__, "compute_model", compute_model) + _setter("compute_model", compute_model) if cpu_core_count is not None: - pulumi.set(__self__, "cpu_core_count", cpu_core_count) + _setter("cpu_core_count", cpu_core_count) if cpu_core_count_per_node is not None: - pulumi.set(__self__, "cpu_core_count_per_node", cpu_core_count_per_node) + _setter("cpu_core_count_per_node", cpu_core_count_per_node) if cpu_percentage is not None: - pulumi.set(__self__, "cpu_percentage", cpu_percentage) + _setter("cpu_percentage", cpu_percentage) if data_storage_size_in_gb is not None: - pulumi.set(__self__, "data_storage_size_in_gb", data_storage_size_in_gb) + _setter("data_storage_size_in_gb", data_storage_size_in_gb) if data_storage_size_in_tbs is not None: - pulumi.set(__self__, "data_storage_size_in_tbs", data_storage_size_in_tbs) + _setter("data_storage_size_in_tbs", data_storage_size_in_tbs) if db_node_storage_size_in_gbs is not None: - pulumi.set(__self__, "db_node_storage_size_in_gbs", db_node_storage_size_in_gbs) + _setter("db_node_storage_size_in_gbs", db_node_storage_size_in_gbs) if db_servers is not None: - pulumi.set(__self__, "db_servers", db_servers) + _setter("db_servers", db_servers) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if domain is not None: - pulumi.set(__self__, "domain", domain) + _setter("domain", domain) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if hostname is not None: - pulumi.set(__self__, "hostname", hostname) + _setter("hostname", hostname) if is_mtls_enabled_vm_cluster is not None: - pulumi.set(__self__, "is_mtls_enabled_vm_cluster", is_mtls_enabled_vm_cluster) + _setter("is_mtls_enabled_vm_cluster", is_mtls_enabled_vm_cluster) if last_maintenance_run_id is not None: - pulumi.set(__self__, "last_maintenance_run_id", last_maintenance_run_id) + _setter("last_maintenance_run_id", last_maintenance_run_id) if last_update_history_entry_id is not None: - pulumi.set(__self__, "last_update_history_entry_id", last_update_history_entry_id) + _setter("last_update_history_entry_id", last_update_history_entry_id) if license_model is not None: - pulumi.set(__self__, "license_model", license_model) + _setter("license_model", license_model) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if maintenance_window_details is not None: - pulumi.set(__self__, "maintenance_window_details", maintenance_window_details) + _setter("maintenance_window_details", maintenance_window_details) if maintenance_windows is not None: - pulumi.set(__self__, "maintenance_windows", maintenance_windows) + _setter("maintenance_windows", maintenance_windows) if memory_per_oracle_compute_unit_in_gbs is not None: - pulumi.set(__self__, "memory_per_oracle_compute_unit_in_gbs", memory_per_oracle_compute_unit_in_gbs) + _setter("memory_per_oracle_compute_unit_in_gbs", memory_per_oracle_compute_unit_in_gbs) if memory_size_in_gbs is not None: - pulumi.set(__self__, "memory_size_in_gbs", memory_size_in_gbs) + _setter("memory_size_in_gbs", memory_size_in_gbs) if next_maintenance_run_id is not None: - pulumi.set(__self__, "next_maintenance_run_id", next_maintenance_run_id) + _setter("next_maintenance_run_id", next_maintenance_run_id) if node_count is not None: - pulumi.set(__self__, "node_count", node_count) + _setter("node_count", node_count) if non_provisionable_autonomous_container_databases is not None: - pulumi.set(__self__, "non_provisionable_autonomous_container_databases", non_provisionable_autonomous_container_databases) + _setter("non_provisionable_autonomous_container_databases", non_provisionable_autonomous_container_databases) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) if ocpu_count is not None: - pulumi.set(__self__, "ocpu_count", ocpu_count) + _setter("ocpu_count", ocpu_count) if provisionable_autonomous_container_databases is not None: - pulumi.set(__self__, "provisionable_autonomous_container_databases", provisionable_autonomous_container_databases) + _setter("provisionable_autonomous_container_databases", provisionable_autonomous_container_databases) if provisioned_autonomous_container_databases is not None: - pulumi.set(__self__, "provisioned_autonomous_container_databases", provisioned_autonomous_container_databases) + _setter("provisioned_autonomous_container_databases", provisioned_autonomous_container_databases) if provisioned_cpus is not None: - pulumi.set(__self__, "provisioned_cpus", provisioned_cpus) + _setter("provisioned_cpus", provisioned_cpus) if reclaimable_cpus is not None: - pulumi.set(__self__, "reclaimable_cpus", reclaimable_cpus) + _setter("reclaimable_cpus", reclaimable_cpus) if reserved_cpus is not None: - pulumi.set(__self__, "reserved_cpus", reserved_cpus) + _setter("reserved_cpus", reserved_cpus) if scan_listener_port_non_tls is not None: - pulumi.set(__self__, "scan_listener_port_non_tls", scan_listener_port_non_tls) + _setter("scan_listener_port_non_tls", scan_listener_port_non_tls) if scan_listener_port_tls is not None: - pulumi.set(__self__, "scan_listener_port_tls", scan_listener_port_tls) + _setter("scan_listener_port_tls", scan_listener_port_tls) if shape is not None: - pulumi.set(__self__, "shape", shape) + _setter("shape", shape) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if total_autonomous_data_storage_in_tbs is not None: - pulumi.set(__self__, "total_autonomous_data_storage_in_tbs", total_autonomous_data_storage_in_tbs) + _setter("total_autonomous_data_storage_in_tbs", total_autonomous_data_storage_in_tbs) if total_container_databases is not None: - pulumi.set(__self__, "total_container_databases", total_container_databases) + _setter("total_container_databases", total_container_databases) if total_cpus is not None: - pulumi.set(__self__, "total_cpus", total_cpus) + _setter("total_cpus", total_cpus) @property @pulumi.getter(name="autonomousDataStoragePercentage") @@ -1412,6 +1572,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + CloudAutonomousVmClusterArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -1466,6 +1630,11 @@ def _internal_init(__self__, __props__.__dict__["freeform_tags"] = freeform_tags __props__.__dict__["is_mtls_enabled_vm_cluster"] = is_mtls_enabled_vm_cluster __props__.__dict__["license_model"] = license_model + if maintenance_window_details is not None and not isinstance(maintenance_window_details, CloudAutonomousVmClusterMaintenanceWindowDetailsArgs): + maintenance_window_details = maintenance_window_details or {} + def _setter(key, value): + maintenance_window_details[key] = value + CloudAutonomousVmClusterMaintenanceWindowDetailsArgs._configure(_setter, **maintenance_window_details) __props__.__dict__["maintenance_window_details"] = maintenance_window_details __props__.__dict__["memory_per_oracle_compute_unit_in_gbs"] = memory_per_oracle_compute_unit_in_gbs __props__.__dict__["nsg_ids"] = nsg_ids diff --git a/sdk/python/pulumi_oci/database/cloud_database_management.py b/sdk/python/pulumi_oci/database/cloud_database_management.py index 3bbac703eb..e649fa6af0 100644 --- a/sdk/python/pulumi_oci/database/cloud_database_management.py +++ b/sdk/python/pulumi_oci/database/cloud_database_management.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -42,20 +42,47 @@ def __init__(__self__, *, :param pulumi.Input[str] role: The role of the user that will be connecting to the database. :param pulumi.Input[str] ssl_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure [secret](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). """ - pulumi.set(__self__, "credentialdetails", credentialdetails) - pulumi.set(__self__, "database_id", database_id) - pulumi.set(__self__, "enable_management", enable_management) - pulumi.set(__self__, "management_type", management_type) - pulumi.set(__self__, "private_end_point_id", private_end_point_id) - pulumi.set(__self__, "service_name", service_name) + CloudDatabaseManagementArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + credentialdetails=credentialdetails, + database_id=database_id, + enable_management=enable_management, + management_type=management_type, + private_end_point_id=private_end_point_id, + service_name=service_name, + port=port, + protocol=protocol, + role=role, + ssl_secret_id=ssl_secret_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + credentialdetails: pulumi.Input['CloudDatabaseManagementCredentialdetailsArgs'], + database_id: pulumi.Input[str], + enable_management: pulumi.Input[bool], + management_type: pulumi.Input[str], + private_end_point_id: pulumi.Input[str], + service_name: pulumi.Input[str], + port: Optional[pulumi.Input[int]] = None, + protocol: Optional[pulumi.Input[str]] = None, + role: Optional[pulumi.Input[str]] = None, + ssl_secret_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("credentialdetails", credentialdetails) + _setter("database_id", database_id) + _setter("enable_management", enable_management) + _setter("management_type", management_type) + _setter("private_end_point_id", private_end_point_id) + _setter("service_name", service_name) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if protocol is not None: - pulumi.set(__self__, "protocol", protocol) + _setter("protocol", protocol) if role is not None: - pulumi.set(__self__, "role", role) + _setter("role", role) if ssl_secret_id is not None: - pulumi.set(__self__, "ssl_secret_id", ssl_secret_id) + _setter("ssl_secret_id", ssl_secret_id) @property @pulumi.getter @@ -208,26 +235,53 @@ def __init__(__self__, *, :param pulumi.Input[str] service_name: The name of the Oracle Database service that will be used to connect to the database. :param pulumi.Input[str] ssl_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure [secret](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). """ + _CloudDatabaseManagementState._configure( + lambda key, value: pulumi.set(__self__, key, value), + credentialdetails=credentialdetails, + database_id=database_id, + enable_management=enable_management, + management_type=management_type, + port=port, + private_end_point_id=private_end_point_id, + protocol=protocol, + role=role, + service_name=service_name, + ssl_secret_id=ssl_secret_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + credentialdetails: Optional[pulumi.Input['CloudDatabaseManagementCredentialdetailsArgs']] = None, + database_id: Optional[pulumi.Input[str]] = None, + enable_management: Optional[pulumi.Input[bool]] = None, + management_type: Optional[pulumi.Input[str]] = None, + port: Optional[pulumi.Input[int]] = None, + private_end_point_id: Optional[pulumi.Input[str]] = None, + protocol: Optional[pulumi.Input[str]] = None, + role: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + ssl_secret_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if credentialdetails is not None: - pulumi.set(__self__, "credentialdetails", credentialdetails) + _setter("credentialdetails", credentialdetails) if database_id is not None: - pulumi.set(__self__, "database_id", database_id) + _setter("database_id", database_id) if enable_management is not None: - pulumi.set(__self__, "enable_management", enable_management) + _setter("enable_management", enable_management) if management_type is not None: - pulumi.set(__self__, "management_type", management_type) + _setter("management_type", management_type) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if private_end_point_id is not None: - pulumi.set(__self__, "private_end_point_id", private_end_point_id) + _setter("private_end_point_id", private_end_point_id) if protocol is not None: - pulumi.set(__self__, "protocol", protocol) + _setter("protocol", protocol) if role is not None: - pulumi.set(__self__, "role", role) + _setter("role", role) if service_name is not None: - pulumi.set(__self__, "service_name", service_name) + _setter("service_name", service_name) if ssl_secret_id is not None: - pulumi.set(__self__, "ssl_secret_id", ssl_secret_id) + _setter("ssl_secret_id", ssl_secret_id) @property @pulumi.getter @@ -467,6 +521,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + CloudDatabaseManagementArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -491,6 +549,11 @@ def _internal_init(__self__, raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = CloudDatabaseManagementArgs.__new__(CloudDatabaseManagementArgs) + if credentialdetails is not None and not isinstance(credentialdetails, CloudDatabaseManagementCredentialdetailsArgs): + credentialdetails = credentialdetails or {} + def _setter(key, value): + credentialdetails[key] = value + CloudDatabaseManagementCredentialdetailsArgs._configure(_setter, **credentialdetails) if credentialdetails is None and not opts.urn: raise TypeError("Missing required property 'credentialdetails'") __props__.__dict__["credentialdetails"] = credentialdetails diff --git a/sdk/python/pulumi_oci/database/cloud_exadata_infrastructure.py b/sdk/python/pulumi_oci/database/cloud_exadata_infrastructure.py index 9509d329df..ce566e34d3 100644 --- a/sdk/python/pulumi_oci/database/cloud_exadata_infrastructure.py +++ b/sdk/python/pulumi_oci/database/cloud_exadata_infrastructure.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -43,22 +43,49 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "shape", shape) + CloudExadataInfrastructureArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + compartment_id=compartment_id, + display_name=display_name, + shape=shape, + compute_count=compute_count, + customer_contacts=customer_contacts, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + maintenance_window=maintenance_window, + storage_count=storage_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: pulumi.Input[str], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + shape: pulumi.Input[str], + compute_count: Optional[pulumi.Input[int]] = None, + customer_contacts: Optional[pulumi.Input[Sequence[pulumi.Input['CloudExadataInfrastructureCustomerContactArgs']]]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + maintenance_window: Optional[pulumi.Input['CloudExadataInfrastructureMaintenanceWindowArgs']] = None, + storage_count: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) + _setter("shape", shape) if compute_count is not None: - pulumi.set(__self__, "compute_count", compute_count) + _setter("compute_count", compute_count) if customer_contacts is not None: - pulumi.set(__self__, "customer_contacts", customer_contacts) + _setter("customer_contacts", customer_contacts) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if maintenance_window is not None: - pulumi.set(__self__, "maintenance_window", maintenance_window) + _setter("maintenance_window", maintenance_window) if storage_count is not None: - pulumi.set(__self__, "storage_count", storage_count) + _setter("storage_count", storage_count) @property @pulumi.getter(name="availabilityDomain") @@ -257,68 +284,137 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the cloud Exadata infrastructure resource was created. :param pulumi.Input[int] total_storage_size_in_gbs: The total storage allocated to the cloud Exadata infrastructure resource, in gigabytes (GB). """ + _CloudExadataInfrastructureState._configure( + lambda key, value: pulumi.set(__self__, key, value), + activated_storage_count=activated_storage_count, + additional_storage_count=additional_storage_count, + availability_domain=availability_domain, + available_storage_size_in_gbs=available_storage_size_in_gbs, + compartment_id=compartment_id, + compute_count=compute_count, + cpu_count=cpu_count, + customer_contacts=customer_contacts, + data_storage_size_in_tbs=data_storage_size_in_tbs, + db_node_storage_size_in_gbs=db_node_storage_size_in_gbs, + db_server_version=db_server_version, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + last_maintenance_run_id=last_maintenance_run_id, + lifecycle_details=lifecycle_details, + maintenance_window=maintenance_window, + max_cpu_count=max_cpu_count, + max_data_storage_in_tbs=max_data_storage_in_tbs, + max_db_node_storage_in_gbs=max_db_node_storage_in_gbs, + max_memory_in_gbs=max_memory_in_gbs, + memory_size_in_gbs=memory_size_in_gbs, + monthly_db_server_version=monthly_db_server_version, + monthly_storage_server_version=monthly_storage_server_version, + next_maintenance_run_id=next_maintenance_run_id, + shape=shape, + state=state, + storage_count=storage_count, + storage_server_version=storage_server_version, + time_created=time_created, + total_storage_size_in_gbs=total_storage_size_in_gbs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + activated_storage_count: Optional[pulumi.Input[int]] = None, + additional_storage_count: Optional[pulumi.Input[int]] = None, + availability_domain: Optional[pulumi.Input[str]] = None, + available_storage_size_in_gbs: Optional[pulumi.Input[int]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + compute_count: Optional[pulumi.Input[int]] = None, + cpu_count: Optional[pulumi.Input[int]] = None, + customer_contacts: Optional[pulumi.Input[Sequence[pulumi.Input['CloudExadataInfrastructureCustomerContactArgs']]]] = None, + data_storage_size_in_tbs: Optional[pulumi.Input[float]] = None, + db_node_storage_size_in_gbs: Optional[pulumi.Input[int]] = None, + db_server_version: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + last_maintenance_run_id: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + maintenance_window: Optional[pulumi.Input['CloudExadataInfrastructureMaintenanceWindowArgs']] = None, + max_cpu_count: Optional[pulumi.Input[int]] = None, + max_data_storage_in_tbs: Optional[pulumi.Input[float]] = None, + max_db_node_storage_in_gbs: Optional[pulumi.Input[int]] = None, + max_memory_in_gbs: Optional[pulumi.Input[int]] = None, + memory_size_in_gbs: Optional[pulumi.Input[int]] = None, + monthly_db_server_version: Optional[pulumi.Input[str]] = None, + monthly_storage_server_version: Optional[pulumi.Input[str]] = None, + next_maintenance_run_id: Optional[pulumi.Input[str]] = None, + shape: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + storage_count: Optional[pulumi.Input[int]] = None, + storage_server_version: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + total_storage_size_in_gbs: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if activated_storage_count is not None: - pulumi.set(__self__, "activated_storage_count", activated_storage_count) + _setter("activated_storage_count", activated_storage_count) if additional_storage_count is not None: - pulumi.set(__self__, "additional_storage_count", additional_storage_count) + _setter("additional_storage_count", additional_storage_count) if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if available_storage_size_in_gbs is not None: - pulumi.set(__self__, "available_storage_size_in_gbs", available_storage_size_in_gbs) + _setter("available_storage_size_in_gbs", available_storage_size_in_gbs) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if compute_count is not None: - pulumi.set(__self__, "compute_count", compute_count) + _setter("compute_count", compute_count) if cpu_count is not None: - pulumi.set(__self__, "cpu_count", cpu_count) + _setter("cpu_count", cpu_count) if customer_contacts is not None: - pulumi.set(__self__, "customer_contacts", customer_contacts) + _setter("customer_contacts", customer_contacts) if data_storage_size_in_tbs is not None: - pulumi.set(__self__, "data_storage_size_in_tbs", data_storage_size_in_tbs) + _setter("data_storage_size_in_tbs", data_storage_size_in_tbs) if db_node_storage_size_in_gbs is not None: - pulumi.set(__self__, "db_node_storage_size_in_gbs", db_node_storage_size_in_gbs) + _setter("db_node_storage_size_in_gbs", db_node_storage_size_in_gbs) if db_server_version is not None: - pulumi.set(__self__, "db_server_version", db_server_version) + _setter("db_server_version", db_server_version) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if last_maintenance_run_id is not None: - pulumi.set(__self__, "last_maintenance_run_id", last_maintenance_run_id) + _setter("last_maintenance_run_id", last_maintenance_run_id) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if maintenance_window is not None: - pulumi.set(__self__, "maintenance_window", maintenance_window) + _setter("maintenance_window", maintenance_window) if max_cpu_count is not None: - pulumi.set(__self__, "max_cpu_count", max_cpu_count) + _setter("max_cpu_count", max_cpu_count) if max_data_storage_in_tbs is not None: - pulumi.set(__self__, "max_data_storage_in_tbs", max_data_storage_in_tbs) + _setter("max_data_storage_in_tbs", max_data_storage_in_tbs) if max_db_node_storage_in_gbs is not None: - pulumi.set(__self__, "max_db_node_storage_in_gbs", max_db_node_storage_in_gbs) + _setter("max_db_node_storage_in_gbs", max_db_node_storage_in_gbs) if max_memory_in_gbs is not None: - pulumi.set(__self__, "max_memory_in_gbs", max_memory_in_gbs) + _setter("max_memory_in_gbs", max_memory_in_gbs) if memory_size_in_gbs is not None: - pulumi.set(__self__, "memory_size_in_gbs", memory_size_in_gbs) + _setter("memory_size_in_gbs", memory_size_in_gbs) if monthly_db_server_version is not None: - pulumi.set(__self__, "monthly_db_server_version", monthly_db_server_version) + _setter("monthly_db_server_version", monthly_db_server_version) if monthly_storage_server_version is not None: - pulumi.set(__self__, "monthly_storage_server_version", monthly_storage_server_version) + _setter("monthly_storage_server_version", monthly_storage_server_version) if next_maintenance_run_id is not None: - pulumi.set(__self__, "next_maintenance_run_id", next_maintenance_run_id) + _setter("next_maintenance_run_id", next_maintenance_run_id) if shape is not None: - pulumi.set(__self__, "shape", shape) + _setter("shape", shape) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if storage_count is not None: - pulumi.set(__self__, "storage_count", storage_count) + _setter("storage_count", storage_count) if storage_server_version is not None: - pulumi.set(__self__, "storage_server_version", storage_server_version) + _setter("storage_server_version", storage_server_version) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if total_storage_size_in_gbs is not None: - pulumi.set(__self__, "total_storage_size_in_gbs", total_storage_size_in_gbs) + _setter("total_storage_size_in_gbs", total_storage_size_in_gbs) @property @pulumi.getter(name="activatedStorageCount") @@ -848,6 +944,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + CloudExadataInfrastructureArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -885,6 +985,11 @@ def _internal_init(__self__, raise TypeError("Missing required property 'display_name'") __props__.__dict__["display_name"] = display_name __props__.__dict__["freeform_tags"] = freeform_tags + if maintenance_window is not None and not isinstance(maintenance_window, CloudExadataInfrastructureMaintenanceWindowArgs): + maintenance_window = maintenance_window or {} + def _setter(key, value): + maintenance_window[key] = value + CloudExadataInfrastructureMaintenanceWindowArgs._configure(_setter, **maintenance_window) __props__.__dict__["maintenance_window"] = maintenance_window if shape is None and not opts.urn: raise TypeError("Missing required property 'shape'") diff --git a/sdk/python/pulumi_oci/database/cloud_vm_cluster.py b/sdk/python/pulumi_oci/database/cloud_vm_cluster.py index 19a7123f23..6ef82ea0ac 100644 --- a/sdk/python/pulumi_oci/database/cloud_vm_cluster.py +++ b/sdk/python/pulumi_oci/database/cloud_vm_cluster.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -94,57 +94,124 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "backup_subnet_id", backup_subnet_id) - pulumi.set(__self__, "cloud_exadata_infrastructure_id", cloud_exadata_infrastructure_id) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "cpu_core_count", cpu_core_count) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "gi_version", gi_version) - pulumi.set(__self__, "hostname", hostname) - pulumi.set(__self__, "ssh_public_keys", ssh_public_keys) - pulumi.set(__self__, "subnet_id", subnet_id) + CloudVmClusterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + backup_subnet_id=backup_subnet_id, + cloud_exadata_infrastructure_id=cloud_exadata_infrastructure_id, + compartment_id=compartment_id, + cpu_core_count=cpu_core_count, + display_name=display_name, + gi_version=gi_version, + hostname=hostname, + ssh_public_keys=ssh_public_keys, + subnet_id=subnet_id, + backup_network_nsg_ids=backup_network_nsg_ids, + cluster_name=cluster_name, + create_async=create_async, + data_collection_options=data_collection_options, + data_storage_percentage=data_storage_percentage, + data_storage_size_in_tbs=data_storage_size_in_tbs, + db_node_storage_size_in_gbs=db_node_storage_size_in_gbs, + db_servers=db_servers, + defined_tags=defined_tags, + domain=domain, + freeform_tags=freeform_tags, + is_local_backup_enabled=is_local_backup_enabled, + is_sparse_diskgroup_enabled=is_sparse_diskgroup_enabled, + license_model=license_model, + memory_size_in_gbs=memory_size_in_gbs, + nsg_ids=nsg_ids, + ocpu_count=ocpu_count, + private_zone_id=private_zone_id, + scan_listener_port_tcp=scan_listener_port_tcp, + scan_listener_port_tcp_ssl=scan_listener_port_tcp_ssl, + time_zone=time_zone, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backup_subnet_id: pulumi.Input[str], + cloud_exadata_infrastructure_id: pulumi.Input[str], + compartment_id: pulumi.Input[str], + cpu_core_count: pulumi.Input[int], + display_name: pulumi.Input[str], + gi_version: pulumi.Input[str], + hostname: pulumi.Input[str], + ssh_public_keys: pulumi.Input[Sequence[pulumi.Input[str]]], + subnet_id: pulumi.Input[str], + backup_network_nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + cluster_name: Optional[pulumi.Input[str]] = None, + create_async: Optional[pulumi.Input[bool]] = None, + data_collection_options: Optional[pulumi.Input['CloudVmClusterDataCollectionOptionsArgs']] = None, + data_storage_percentage: Optional[pulumi.Input[int]] = None, + data_storage_size_in_tbs: Optional[pulumi.Input[float]] = None, + db_node_storage_size_in_gbs: Optional[pulumi.Input[int]] = None, + db_servers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + domain: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_local_backup_enabled: Optional[pulumi.Input[bool]] = None, + is_sparse_diskgroup_enabled: Optional[pulumi.Input[bool]] = None, + license_model: Optional[pulumi.Input[str]] = None, + memory_size_in_gbs: Optional[pulumi.Input[int]] = None, + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + ocpu_count: Optional[pulumi.Input[float]] = None, + private_zone_id: Optional[pulumi.Input[str]] = None, + scan_listener_port_tcp: Optional[pulumi.Input[int]] = None, + scan_listener_port_tcp_ssl: Optional[pulumi.Input[int]] = None, + time_zone: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("backup_subnet_id", backup_subnet_id) + _setter("cloud_exadata_infrastructure_id", cloud_exadata_infrastructure_id) + _setter("compartment_id", compartment_id) + _setter("cpu_core_count", cpu_core_count) + _setter("display_name", display_name) + _setter("gi_version", gi_version) + _setter("hostname", hostname) + _setter("ssh_public_keys", ssh_public_keys) + _setter("subnet_id", subnet_id) if backup_network_nsg_ids is not None: - pulumi.set(__self__, "backup_network_nsg_ids", backup_network_nsg_ids) + _setter("backup_network_nsg_ids", backup_network_nsg_ids) if cluster_name is not None: - pulumi.set(__self__, "cluster_name", cluster_name) + _setter("cluster_name", cluster_name) if create_async is not None: - pulumi.set(__self__, "create_async", create_async) + _setter("create_async", create_async) if data_collection_options is not None: - pulumi.set(__self__, "data_collection_options", data_collection_options) + _setter("data_collection_options", data_collection_options) if data_storage_percentage is not None: - pulumi.set(__self__, "data_storage_percentage", data_storage_percentage) + _setter("data_storage_percentage", data_storage_percentage) if data_storage_size_in_tbs is not None: - pulumi.set(__self__, "data_storage_size_in_tbs", data_storage_size_in_tbs) + _setter("data_storage_size_in_tbs", data_storage_size_in_tbs) if db_node_storage_size_in_gbs is not None: - pulumi.set(__self__, "db_node_storage_size_in_gbs", db_node_storage_size_in_gbs) + _setter("db_node_storage_size_in_gbs", db_node_storage_size_in_gbs) if db_servers is not None: - pulumi.set(__self__, "db_servers", db_servers) + _setter("db_servers", db_servers) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if domain is not None: - pulumi.set(__self__, "domain", domain) + _setter("domain", domain) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_local_backup_enabled is not None: - pulumi.set(__self__, "is_local_backup_enabled", is_local_backup_enabled) + _setter("is_local_backup_enabled", is_local_backup_enabled) if is_sparse_diskgroup_enabled is not None: - pulumi.set(__self__, "is_sparse_diskgroup_enabled", is_sparse_diskgroup_enabled) + _setter("is_sparse_diskgroup_enabled", is_sparse_diskgroup_enabled) if license_model is not None: - pulumi.set(__self__, "license_model", license_model) + _setter("license_model", license_model) if memory_size_in_gbs is not None: - pulumi.set(__self__, "memory_size_in_gbs", memory_size_in_gbs) + _setter("memory_size_in_gbs", memory_size_in_gbs) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) if ocpu_count is not None: - pulumi.set(__self__, "ocpu_count", ocpu_count) + _setter("ocpu_count", ocpu_count) if private_zone_id is not None: - pulumi.set(__self__, "private_zone_id", private_zone_id) + _setter("private_zone_id", private_zone_id) if scan_listener_port_tcp is not None: - pulumi.set(__self__, "scan_listener_port_tcp", scan_listener_port_tcp) + _setter("scan_listener_port_tcp", scan_listener_port_tcp) if scan_listener_port_tcp_ssl is not None: - pulumi.set(__self__, "scan_listener_port_tcp_ssl", scan_listener_port_tcp_ssl) + _setter("scan_listener_port_tcp_ssl", scan_listener_port_tcp_ssl) if time_zone is not None: - pulumi.set(__self__, "time_zone", time_zone) + _setter("time_zone", time_zone) @property @pulumi.getter(name="backupSubnetId") @@ -635,100 +702,201 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] vip_ids: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IP (VIP) addresses associated with the cloud VM cluster. The Cluster Ready Services (CRS) creates and maintains one VIP address for each node in the Exadata Cloud Service instance to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster. :param pulumi.Input[str] zone_id: The OCID of the zone the cloud VM cluster is associated with. """ + _CloudVmClusterState._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + backup_network_nsg_ids=backup_network_nsg_ids, + backup_subnet_id=backup_subnet_id, + cloud_exadata_infrastructure_id=cloud_exadata_infrastructure_id, + cluster_name=cluster_name, + compartment_id=compartment_id, + cpu_core_count=cpu_core_count, + create_async=create_async, + data_collection_options=data_collection_options, + data_storage_percentage=data_storage_percentage, + data_storage_size_in_tbs=data_storage_size_in_tbs, + db_node_storage_size_in_gbs=db_node_storage_size_in_gbs, + db_servers=db_servers, + defined_tags=defined_tags, + disk_redundancy=disk_redundancy, + display_name=display_name, + domain=domain, + freeform_tags=freeform_tags, + gi_version=gi_version, + hostname=hostname, + iorm_config_caches=iorm_config_caches, + is_local_backup_enabled=is_local_backup_enabled, + is_sparse_diskgroup_enabled=is_sparse_diskgroup_enabled, + last_update_history_entry_id=last_update_history_entry_id, + license_model=license_model, + lifecycle_details=lifecycle_details, + listener_port=listener_port, + memory_size_in_gbs=memory_size_in_gbs, + node_count=node_count, + nsg_ids=nsg_ids, + ocpu_count=ocpu_count, + private_zone_id=private_zone_id, + scan_dns_name=scan_dns_name, + scan_dns_record_id=scan_dns_record_id, + scan_ip_ids=scan_ip_ids, + scan_listener_port_tcp=scan_listener_port_tcp, + scan_listener_port_tcp_ssl=scan_listener_port_tcp_ssl, + shape=shape, + ssh_public_keys=ssh_public_keys, + state=state, + storage_size_in_gbs=storage_size_in_gbs, + subnet_id=subnet_id, + system_version=system_version, + time_created=time_created, + time_zone=time_zone, + vip_ids=vip_ids, + zone_id=zone_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: Optional[pulumi.Input[str]] = None, + backup_network_nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + backup_subnet_id: Optional[pulumi.Input[str]] = None, + cloud_exadata_infrastructure_id: Optional[pulumi.Input[str]] = None, + cluster_name: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + cpu_core_count: Optional[pulumi.Input[int]] = None, + create_async: Optional[pulumi.Input[bool]] = None, + data_collection_options: Optional[pulumi.Input['CloudVmClusterDataCollectionOptionsArgs']] = None, + data_storage_percentage: Optional[pulumi.Input[int]] = None, + data_storage_size_in_tbs: Optional[pulumi.Input[float]] = None, + db_node_storage_size_in_gbs: Optional[pulumi.Input[int]] = None, + db_servers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + disk_redundancy: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + domain: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + gi_version: Optional[pulumi.Input[str]] = None, + hostname: Optional[pulumi.Input[str]] = None, + iorm_config_caches: Optional[pulumi.Input[Sequence[pulumi.Input['CloudVmClusterIormConfigCachArgs']]]] = None, + is_local_backup_enabled: Optional[pulumi.Input[bool]] = None, + is_sparse_diskgroup_enabled: Optional[pulumi.Input[bool]] = None, + last_update_history_entry_id: Optional[pulumi.Input[str]] = None, + license_model: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + listener_port: Optional[pulumi.Input[str]] = None, + memory_size_in_gbs: Optional[pulumi.Input[int]] = None, + node_count: Optional[pulumi.Input[int]] = None, + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + ocpu_count: Optional[pulumi.Input[float]] = None, + private_zone_id: Optional[pulumi.Input[str]] = None, + scan_dns_name: Optional[pulumi.Input[str]] = None, + scan_dns_record_id: Optional[pulumi.Input[str]] = None, + scan_ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + scan_listener_port_tcp: Optional[pulumi.Input[int]] = None, + scan_listener_port_tcp_ssl: Optional[pulumi.Input[int]] = None, + shape: Optional[pulumi.Input[str]] = None, + ssh_public_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + state: Optional[pulumi.Input[str]] = None, + storage_size_in_gbs: Optional[pulumi.Input[int]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + system_version: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_zone: Optional[pulumi.Input[str]] = None, + vip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + zone_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if backup_network_nsg_ids is not None: - pulumi.set(__self__, "backup_network_nsg_ids", backup_network_nsg_ids) + _setter("backup_network_nsg_ids", backup_network_nsg_ids) if backup_subnet_id is not None: - pulumi.set(__self__, "backup_subnet_id", backup_subnet_id) + _setter("backup_subnet_id", backup_subnet_id) if cloud_exadata_infrastructure_id is not None: - pulumi.set(__self__, "cloud_exadata_infrastructure_id", cloud_exadata_infrastructure_id) + _setter("cloud_exadata_infrastructure_id", cloud_exadata_infrastructure_id) if cluster_name is not None: - pulumi.set(__self__, "cluster_name", cluster_name) + _setter("cluster_name", cluster_name) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if cpu_core_count is not None: - pulumi.set(__self__, "cpu_core_count", cpu_core_count) + _setter("cpu_core_count", cpu_core_count) if create_async is not None: - pulumi.set(__self__, "create_async", create_async) + _setter("create_async", create_async) if data_collection_options is not None: - pulumi.set(__self__, "data_collection_options", data_collection_options) + _setter("data_collection_options", data_collection_options) if data_storage_percentage is not None: - pulumi.set(__self__, "data_storage_percentage", data_storage_percentage) + _setter("data_storage_percentage", data_storage_percentage) if data_storage_size_in_tbs is not None: - pulumi.set(__self__, "data_storage_size_in_tbs", data_storage_size_in_tbs) + _setter("data_storage_size_in_tbs", data_storage_size_in_tbs) if db_node_storage_size_in_gbs is not None: - pulumi.set(__self__, "db_node_storage_size_in_gbs", db_node_storage_size_in_gbs) + _setter("db_node_storage_size_in_gbs", db_node_storage_size_in_gbs) if db_servers is not None: - pulumi.set(__self__, "db_servers", db_servers) + _setter("db_servers", db_servers) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if disk_redundancy is not None: - pulumi.set(__self__, "disk_redundancy", disk_redundancy) + _setter("disk_redundancy", disk_redundancy) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if domain is not None: - pulumi.set(__self__, "domain", domain) + _setter("domain", domain) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if gi_version is not None: - pulumi.set(__self__, "gi_version", gi_version) + _setter("gi_version", gi_version) if hostname is not None: - pulumi.set(__self__, "hostname", hostname) + _setter("hostname", hostname) if iorm_config_caches is not None: - pulumi.set(__self__, "iorm_config_caches", iorm_config_caches) + _setter("iorm_config_caches", iorm_config_caches) if is_local_backup_enabled is not None: - pulumi.set(__self__, "is_local_backup_enabled", is_local_backup_enabled) + _setter("is_local_backup_enabled", is_local_backup_enabled) if is_sparse_diskgroup_enabled is not None: - pulumi.set(__self__, "is_sparse_diskgroup_enabled", is_sparse_diskgroup_enabled) + _setter("is_sparse_diskgroup_enabled", is_sparse_diskgroup_enabled) if last_update_history_entry_id is not None: - pulumi.set(__self__, "last_update_history_entry_id", last_update_history_entry_id) + _setter("last_update_history_entry_id", last_update_history_entry_id) if license_model is not None: - pulumi.set(__self__, "license_model", license_model) + _setter("license_model", license_model) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if listener_port is not None: - pulumi.set(__self__, "listener_port", listener_port) + _setter("listener_port", listener_port) if memory_size_in_gbs is not None: - pulumi.set(__self__, "memory_size_in_gbs", memory_size_in_gbs) + _setter("memory_size_in_gbs", memory_size_in_gbs) if node_count is not None: - pulumi.set(__self__, "node_count", node_count) + _setter("node_count", node_count) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) if ocpu_count is not None: - pulumi.set(__self__, "ocpu_count", ocpu_count) + _setter("ocpu_count", ocpu_count) if private_zone_id is not None: - pulumi.set(__self__, "private_zone_id", private_zone_id) + _setter("private_zone_id", private_zone_id) if scan_dns_name is not None: - pulumi.set(__self__, "scan_dns_name", scan_dns_name) + _setter("scan_dns_name", scan_dns_name) if scan_dns_record_id is not None: - pulumi.set(__self__, "scan_dns_record_id", scan_dns_record_id) + _setter("scan_dns_record_id", scan_dns_record_id) if scan_ip_ids is not None: - pulumi.set(__self__, "scan_ip_ids", scan_ip_ids) + _setter("scan_ip_ids", scan_ip_ids) if scan_listener_port_tcp is not None: - pulumi.set(__self__, "scan_listener_port_tcp", scan_listener_port_tcp) + _setter("scan_listener_port_tcp", scan_listener_port_tcp) if scan_listener_port_tcp_ssl is not None: - pulumi.set(__self__, "scan_listener_port_tcp_ssl", scan_listener_port_tcp_ssl) + _setter("scan_listener_port_tcp_ssl", scan_listener_port_tcp_ssl) if shape is not None: - pulumi.set(__self__, "shape", shape) + _setter("shape", shape) if ssh_public_keys is not None: - pulumi.set(__self__, "ssh_public_keys", ssh_public_keys) + _setter("ssh_public_keys", ssh_public_keys) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if storage_size_in_gbs is not None: - pulumi.set(__self__, "storage_size_in_gbs", storage_size_in_gbs) + _setter("storage_size_in_gbs", storage_size_in_gbs) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) if system_version is not None: - pulumi.set(__self__, "system_version", system_version) + _setter("system_version", system_version) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_zone is not None: - pulumi.set(__self__, "time_zone", time_zone) + _setter("time_zone", time_zone) if vip_ids is not None: - pulumi.set(__self__, "vip_ids", vip_ids) + _setter("vip_ids", vip_ids) if zone_id is not None: - pulumi.set(__self__, "zone_id", zone_id) + _setter("zone_id", zone_id) @property @pulumi.getter(name="availabilityDomain") @@ -1522,6 +1690,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + CloudVmClusterArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -1581,6 +1753,11 @@ def _internal_init(__self__, raise TypeError("Missing required property 'cpu_core_count'") __props__.__dict__["cpu_core_count"] = cpu_core_count __props__.__dict__["create_async"] = create_async + if data_collection_options is not None and not isinstance(data_collection_options, CloudVmClusterDataCollectionOptionsArgs): + data_collection_options = data_collection_options or {} + def _setter(key, value): + data_collection_options[key] = value + CloudVmClusterDataCollectionOptionsArgs._configure(_setter, **data_collection_options) __props__.__dict__["data_collection_options"] = data_collection_options __props__.__dict__["data_storage_percentage"] = data_storage_percentage __props__.__dict__["data_storage_size_in_tbs"] = data_storage_size_in_tbs diff --git a/sdk/python/pulumi_oci/database/cloud_vm_cluster_iorm_config.py b/sdk/python/pulumi_oci/database/cloud_vm_cluster_iorm_config.py index 6edfd46e79..c426dbf912 100644 --- a/sdk/python/pulumi_oci/database/cloud_vm_cluster_iorm_config.py +++ b/sdk/python/pulumi_oci/database/cloud_vm_cluster_iorm_config.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -25,10 +25,23 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['CloudVmClusterIormConfigDbPlanArgs']]] db_plans: (Updatable) Array of IORM Setting for all the database in this Cloud Vm Cluster :param pulumi.Input[str] objective: (Updatable) Value for the IORM objective Default is "Auto" """ - pulumi.set(__self__, "cloud_vm_cluster_id", cloud_vm_cluster_id) - pulumi.set(__self__, "db_plans", db_plans) + CloudVmClusterIormConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + cloud_vm_cluster_id=cloud_vm_cluster_id, + db_plans=db_plans, + objective=objective, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cloud_vm_cluster_id: pulumi.Input[str], + db_plans: pulumi.Input[Sequence[pulumi.Input['CloudVmClusterIormConfigDbPlanArgs']]], + objective: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cloud_vm_cluster_id", cloud_vm_cluster_id) + _setter("db_plans", db_plans) if objective is not None: - pulumi.set(__self__, "objective", objective) + _setter("objective", objective) @property @pulumi.getter(name="cloudVmClusterId") @@ -83,16 +96,33 @@ def __init__(__self__, *, :param pulumi.Input[str] objective: (Updatable) Value for the IORM objective Default is "Auto" :param pulumi.Input[str] state: The current state of IORM configuration for the Exadata DB system. """ + _CloudVmClusterIormConfigState._configure( + lambda key, value: pulumi.set(__self__, key, value), + cloud_vm_cluster_id=cloud_vm_cluster_id, + db_plans=db_plans, + lifecycle_details=lifecycle_details, + objective=objective, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cloud_vm_cluster_id: Optional[pulumi.Input[str]] = None, + db_plans: Optional[pulumi.Input[Sequence[pulumi.Input['CloudVmClusterIormConfigDbPlanArgs']]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + objective: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if cloud_vm_cluster_id is not None: - pulumi.set(__self__, "cloud_vm_cluster_id", cloud_vm_cluster_id) + _setter("cloud_vm_cluster_id", cloud_vm_cluster_id) if db_plans is not None: - pulumi.set(__self__, "db_plans", db_plans) + _setter("db_plans", db_plans) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if objective is not None: - pulumi.set(__self__, "objective", objective) + _setter("objective", objective) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) @property @pulumi.getter(name="cloudVmClusterId") @@ -246,6 +276,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + CloudVmClusterIormConfigArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/database/data_guard_association.py b/sdk/python/pulumi_oci/database/data_guard_association.py index 935d7504aa..462c8500cf 100644 --- a/sdk/python/pulumi_oci/database/data_guard_association.py +++ b/sdk/python/pulumi_oci/database/data_guard_association.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -118,66 +118,139 @@ def __init__(__self__, *, These subnets are used by the Oracle Clusterware private interconnect on the database instance. Specifying an overlapping subnet will cause the private interconnect to malfunction. This restriction applies to both the client subnet and backup subnet. :param pulumi.Input[str] time_zone: The time zone of the dataguard standby DB system. For details, see [DB System Time Zones](https://docs.cloud.oracle.com/iaas/Content/Database/References/timezones.htm). """ - pulumi.set(__self__, "creation_type", creation_type) - pulumi.set(__self__, "database_admin_password", database_admin_password) - pulumi.set(__self__, "database_id", database_id) - pulumi.set(__self__, "delete_standby_db_home_on_delete", delete_standby_db_home_on_delete) - pulumi.set(__self__, "protection_mode", protection_mode) - pulumi.set(__self__, "transport_type", transport_type) + DataGuardAssociationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + creation_type=creation_type, + database_admin_password=database_admin_password, + database_id=database_id, + delete_standby_db_home_on_delete=delete_standby_db_home_on_delete, + protection_mode=protection_mode, + transport_type=transport_type, + availability_domain=availability_domain, + backup_network_nsg_ids=backup_network_nsg_ids, + cpu_core_count=cpu_core_count, + create_async=create_async, + data_collection_options=data_collection_options, + database_defined_tags=database_defined_tags, + database_freeform_tags=database_freeform_tags, + database_software_image_id=database_software_image_id, + db_system_defined_tags=db_system_defined_tags, + db_system_freeform_tags=db_system_freeform_tags, + display_name=display_name, + fault_domains=fault_domains, + hostname=hostname, + is_active_data_guard_enabled=is_active_data_guard_enabled, + license_model=license_model, + node_count=node_count, + nsg_ids=nsg_ids, + peer_db_home_id=peer_db_home_id, + peer_db_system_id=peer_db_system_id, + peer_db_unique_name=peer_db_unique_name, + peer_sid_prefix=peer_sid_prefix, + peer_vm_cluster_id=peer_vm_cluster_id, + private_ip=private_ip, + shape=shape, + storage_volume_performance_mode=storage_volume_performance_mode, + subnet_id=subnet_id, + time_zone=time_zone, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + creation_type: pulumi.Input[str], + database_admin_password: pulumi.Input[str], + database_id: pulumi.Input[str], + delete_standby_db_home_on_delete: pulumi.Input[str], + protection_mode: pulumi.Input[str], + transport_type: pulumi.Input[str], + availability_domain: Optional[pulumi.Input[str]] = None, + backup_network_nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + cpu_core_count: Optional[pulumi.Input[int]] = None, + create_async: Optional[pulumi.Input[bool]] = None, + data_collection_options: Optional[pulumi.Input['DataGuardAssociationDataCollectionOptionsArgs']] = None, + database_defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + database_freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + database_software_image_id: Optional[pulumi.Input[str]] = None, + db_system_defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + db_system_freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + fault_domains: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + hostname: Optional[pulumi.Input[str]] = None, + is_active_data_guard_enabled: Optional[pulumi.Input[bool]] = None, + license_model: Optional[pulumi.Input[str]] = None, + node_count: Optional[pulumi.Input[int]] = None, + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + peer_db_home_id: Optional[pulumi.Input[str]] = None, + peer_db_system_id: Optional[pulumi.Input[str]] = None, + peer_db_unique_name: Optional[pulumi.Input[str]] = None, + peer_sid_prefix: Optional[pulumi.Input[str]] = None, + peer_vm_cluster_id: Optional[pulumi.Input[str]] = None, + private_ip: Optional[pulumi.Input[str]] = None, + shape: Optional[pulumi.Input[str]] = None, + storage_volume_performance_mode: Optional[pulumi.Input[str]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + time_zone: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("creation_type", creation_type) + _setter("database_admin_password", database_admin_password) + _setter("database_id", database_id) + _setter("delete_standby_db_home_on_delete", delete_standby_db_home_on_delete) + _setter("protection_mode", protection_mode) + _setter("transport_type", transport_type) if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if backup_network_nsg_ids is not None: - pulumi.set(__self__, "backup_network_nsg_ids", backup_network_nsg_ids) + _setter("backup_network_nsg_ids", backup_network_nsg_ids) if cpu_core_count is not None: - pulumi.set(__self__, "cpu_core_count", cpu_core_count) + _setter("cpu_core_count", cpu_core_count) if create_async is not None: - pulumi.set(__self__, "create_async", create_async) + _setter("create_async", create_async) if data_collection_options is not None: - pulumi.set(__self__, "data_collection_options", data_collection_options) + _setter("data_collection_options", data_collection_options) if database_defined_tags is not None: - pulumi.set(__self__, "database_defined_tags", database_defined_tags) + _setter("database_defined_tags", database_defined_tags) if database_freeform_tags is not None: - pulumi.set(__self__, "database_freeform_tags", database_freeform_tags) + _setter("database_freeform_tags", database_freeform_tags) if database_software_image_id is not None: - pulumi.set(__self__, "database_software_image_id", database_software_image_id) + _setter("database_software_image_id", database_software_image_id) if db_system_defined_tags is not None: - pulumi.set(__self__, "db_system_defined_tags", db_system_defined_tags) + _setter("db_system_defined_tags", db_system_defined_tags) if db_system_freeform_tags is not None: - pulumi.set(__self__, "db_system_freeform_tags", db_system_freeform_tags) + _setter("db_system_freeform_tags", db_system_freeform_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if fault_domains is not None: - pulumi.set(__self__, "fault_domains", fault_domains) + _setter("fault_domains", fault_domains) if hostname is not None: - pulumi.set(__self__, "hostname", hostname) + _setter("hostname", hostname) if is_active_data_guard_enabled is not None: - pulumi.set(__self__, "is_active_data_guard_enabled", is_active_data_guard_enabled) + _setter("is_active_data_guard_enabled", is_active_data_guard_enabled) if license_model is not None: - pulumi.set(__self__, "license_model", license_model) + _setter("license_model", license_model) if node_count is not None: - pulumi.set(__self__, "node_count", node_count) + _setter("node_count", node_count) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) if peer_db_home_id is not None: - pulumi.set(__self__, "peer_db_home_id", peer_db_home_id) + _setter("peer_db_home_id", peer_db_home_id) if peer_db_system_id is not None: - pulumi.set(__self__, "peer_db_system_id", peer_db_system_id) + _setter("peer_db_system_id", peer_db_system_id) if peer_db_unique_name is not None: - pulumi.set(__self__, "peer_db_unique_name", peer_db_unique_name) + _setter("peer_db_unique_name", peer_db_unique_name) if peer_sid_prefix is not None: - pulumi.set(__self__, "peer_sid_prefix", peer_sid_prefix) + _setter("peer_sid_prefix", peer_sid_prefix) if peer_vm_cluster_id is not None: - pulumi.set(__self__, "peer_vm_cluster_id", peer_vm_cluster_id) + _setter("peer_vm_cluster_id", peer_vm_cluster_id) if private_ip is not None: - pulumi.set(__self__, "private_ip", private_ip) + _setter("private_ip", private_ip) if shape is not None: - pulumi.set(__self__, "shape", shape) + _setter("shape", shape) if storage_volume_performance_mode is not None: - pulumi.set(__self__, "storage_volume_performance_mode", storage_volume_performance_mode) + _setter("storage_volume_performance_mode", storage_volume_performance_mode) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) if time_zone is not None: - pulumi.set(__self__, "time_zone", time_zone) + _setter("time_zone", time_zone) @property @pulumi.getter(name="creationType") @@ -728,90 +801,181 @@ def __init__(__self__, *, ** 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 """ + _DataGuardAssociationState._configure( + lambda key, value: pulumi.set(__self__, key, value), + apply_lag=apply_lag, + apply_rate=apply_rate, + availability_domain=availability_domain, + backup_network_nsg_ids=backup_network_nsg_ids, + cpu_core_count=cpu_core_count, + create_async=create_async, + creation_type=creation_type, + data_collection_options=data_collection_options, + database_admin_password=database_admin_password, + database_defined_tags=database_defined_tags, + database_freeform_tags=database_freeform_tags, + database_id=database_id, + database_software_image_id=database_software_image_id, + db_system_defined_tags=db_system_defined_tags, + db_system_freeform_tags=db_system_freeform_tags, + delete_standby_db_home_on_delete=delete_standby_db_home_on_delete, + display_name=display_name, + fault_domains=fault_domains, + hostname=hostname, + is_active_data_guard_enabled=is_active_data_guard_enabled, + license_model=license_model, + lifecycle_details=lifecycle_details, + node_count=node_count, + nsg_ids=nsg_ids, + peer_data_guard_association_id=peer_data_guard_association_id, + peer_database_id=peer_database_id, + peer_db_home_id=peer_db_home_id, + peer_db_system_id=peer_db_system_id, + peer_db_unique_name=peer_db_unique_name, + peer_role=peer_role, + peer_sid_prefix=peer_sid_prefix, + peer_vm_cluster_id=peer_vm_cluster_id, + private_ip=private_ip, + protection_mode=protection_mode, + role=role, + shape=shape, + state=state, + storage_volume_performance_mode=storage_volume_performance_mode, + subnet_id=subnet_id, + time_created=time_created, + time_zone=time_zone, + transport_type=transport_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + apply_lag: Optional[pulumi.Input[str]] = None, + apply_rate: Optional[pulumi.Input[str]] = None, + availability_domain: Optional[pulumi.Input[str]] = None, + backup_network_nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + cpu_core_count: Optional[pulumi.Input[int]] = None, + create_async: Optional[pulumi.Input[bool]] = None, + creation_type: Optional[pulumi.Input[str]] = None, + data_collection_options: Optional[pulumi.Input['DataGuardAssociationDataCollectionOptionsArgs']] = None, + database_admin_password: Optional[pulumi.Input[str]] = None, + database_defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + database_freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + database_id: Optional[pulumi.Input[str]] = None, + database_software_image_id: Optional[pulumi.Input[str]] = None, + db_system_defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + db_system_freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + delete_standby_db_home_on_delete: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + fault_domains: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + hostname: Optional[pulumi.Input[str]] = None, + is_active_data_guard_enabled: Optional[pulumi.Input[bool]] = None, + license_model: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + node_count: Optional[pulumi.Input[int]] = None, + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + peer_data_guard_association_id: Optional[pulumi.Input[str]] = None, + peer_database_id: Optional[pulumi.Input[str]] = None, + peer_db_home_id: Optional[pulumi.Input[str]] = None, + peer_db_system_id: Optional[pulumi.Input[str]] = None, + peer_db_unique_name: Optional[pulumi.Input[str]] = None, + peer_role: Optional[pulumi.Input[str]] = None, + peer_sid_prefix: Optional[pulumi.Input[str]] = None, + peer_vm_cluster_id: Optional[pulumi.Input[str]] = None, + private_ip: Optional[pulumi.Input[str]] = None, + protection_mode: Optional[pulumi.Input[str]] = None, + role: Optional[pulumi.Input[str]] = None, + shape: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + storage_volume_performance_mode: Optional[pulumi.Input[str]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_zone: Optional[pulumi.Input[str]] = None, + transport_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if apply_lag is not None: - pulumi.set(__self__, "apply_lag", apply_lag) + _setter("apply_lag", apply_lag) if apply_rate is not None: - pulumi.set(__self__, "apply_rate", apply_rate) + _setter("apply_rate", apply_rate) if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if backup_network_nsg_ids is not None: - pulumi.set(__self__, "backup_network_nsg_ids", backup_network_nsg_ids) + _setter("backup_network_nsg_ids", backup_network_nsg_ids) if cpu_core_count is not None: - pulumi.set(__self__, "cpu_core_count", cpu_core_count) + _setter("cpu_core_count", cpu_core_count) if create_async is not None: - pulumi.set(__self__, "create_async", create_async) + _setter("create_async", create_async) if creation_type is not None: - pulumi.set(__self__, "creation_type", creation_type) + _setter("creation_type", creation_type) if data_collection_options is not None: - pulumi.set(__self__, "data_collection_options", data_collection_options) + _setter("data_collection_options", data_collection_options) if database_admin_password is not None: - pulumi.set(__self__, "database_admin_password", database_admin_password) + _setter("database_admin_password", database_admin_password) if database_defined_tags is not None: - pulumi.set(__self__, "database_defined_tags", database_defined_tags) + _setter("database_defined_tags", database_defined_tags) if database_freeform_tags is not None: - pulumi.set(__self__, "database_freeform_tags", database_freeform_tags) + _setter("database_freeform_tags", database_freeform_tags) if database_id is not None: - pulumi.set(__self__, "database_id", database_id) + _setter("database_id", database_id) if database_software_image_id is not None: - pulumi.set(__self__, "database_software_image_id", database_software_image_id) + _setter("database_software_image_id", database_software_image_id) if db_system_defined_tags is not None: - pulumi.set(__self__, "db_system_defined_tags", db_system_defined_tags) + _setter("db_system_defined_tags", db_system_defined_tags) if db_system_freeform_tags is not None: - pulumi.set(__self__, "db_system_freeform_tags", db_system_freeform_tags) + _setter("db_system_freeform_tags", db_system_freeform_tags) if delete_standby_db_home_on_delete is not None: - pulumi.set(__self__, "delete_standby_db_home_on_delete", delete_standby_db_home_on_delete) + _setter("delete_standby_db_home_on_delete", delete_standby_db_home_on_delete) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if fault_domains is not None: - pulumi.set(__self__, "fault_domains", fault_domains) + _setter("fault_domains", fault_domains) if hostname is not None: - pulumi.set(__self__, "hostname", hostname) + _setter("hostname", hostname) if is_active_data_guard_enabled is not None: - pulumi.set(__self__, "is_active_data_guard_enabled", is_active_data_guard_enabled) + _setter("is_active_data_guard_enabled", is_active_data_guard_enabled) if license_model is not None: - pulumi.set(__self__, "license_model", license_model) + _setter("license_model", license_model) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if node_count is not None: - pulumi.set(__self__, "node_count", node_count) + _setter("node_count", node_count) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) if peer_data_guard_association_id is not None: - pulumi.set(__self__, "peer_data_guard_association_id", peer_data_guard_association_id) + _setter("peer_data_guard_association_id", peer_data_guard_association_id) if peer_database_id is not None: - pulumi.set(__self__, "peer_database_id", peer_database_id) + _setter("peer_database_id", peer_database_id) if peer_db_home_id is not None: - pulumi.set(__self__, "peer_db_home_id", peer_db_home_id) + _setter("peer_db_home_id", peer_db_home_id) if peer_db_system_id is not None: - pulumi.set(__self__, "peer_db_system_id", peer_db_system_id) + _setter("peer_db_system_id", peer_db_system_id) if peer_db_unique_name is not None: - pulumi.set(__self__, "peer_db_unique_name", peer_db_unique_name) + _setter("peer_db_unique_name", peer_db_unique_name) if peer_role is not None: - pulumi.set(__self__, "peer_role", peer_role) + _setter("peer_role", peer_role) if peer_sid_prefix is not None: - pulumi.set(__self__, "peer_sid_prefix", peer_sid_prefix) + _setter("peer_sid_prefix", peer_sid_prefix) if peer_vm_cluster_id is not None: - pulumi.set(__self__, "peer_vm_cluster_id", peer_vm_cluster_id) + _setter("peer_vm_cluster_id", peer_vm_cluster_id) if private_ip is not None: - pulumi.set(__self__, "private_ip", private_ip) + _setter("private_ip", private_ip) if protection_mode is not None: - pulumi.set(__self__, "protection_mode", protection_mode) + _setter("protection_mode", protection_mode) if role is not None: - pulumi.set(__self__, "role", role) + _setter("role", role) if shape is not None: - pulumi.set(__self__, "shape", shape) + _setter("shape", shape) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if storage_volume_performance_mode is not None: - pulumi.set(__self__, "storage_volume_performance_mode", storage_volume_performance_mode) + _setter("storage_volume_performance_mode", storage_volume_performance_mode) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_zone is not None: - pulumi.set(__self__, "time_zone", time_zone) + _setter("time_zone", time_zone) if transport_type is not None: - pulumi.set(__self__, "transport_type", transport_type) + _setter("transport_type", transport_type) @property @pulumi.getter(name="applyLag") @@ -1593,6 +1757,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DataGuardAssociationArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -1647,6 +1815,11 @@ def _internal_init(__self__, if creation_type is None and not opts.urn: raise TypeError("Missing required property 'creation_type'") __props__.__dict__["creation_type"] = creation_type + if data_collection_options is not None and not isinstance(data_collection_options, DataGuardAssociationDataCollectionOptionsArgs): + data_collection_options = data_collection_options or {} + def _setter(key, value): + data_collection_options[key] = value + DataGuardAssociationDataCollectionOptionsArgs._configure(_setter, **data_collection_options) __props__.__dict__["data_collection_options"] = data_collection_options if database_admin_password is None and not opts.urn: raise TypeError("Missing required property 'database_admin_password'") diff --git a/sdk/python/pulumi_oci/database/database.py b/sdk/python/pulumi_oci/database/database.py index 28562b0daf..efb2c6529a 100644 --- a/sdk/python/pulumi_oci/database/database.py +++ b/sdk/python/pulumi_oci/database/database.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -47,23 +47,50 @@ def __init__(__self__, *, :param pulumi.Input[str] kms_key_version_id: The OCID of the key container version that is used in database transparent data encryption (TDE) operations KMS Key can have multiple key versions. If none is specified, the current key version (latest) of the Key Id is used for the operation. :param pulumi.Input[str] vault_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure [vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). """ - pulumi.set(__self__, "database", database) - pulumi.set(__self__, "db_home_id", db_home_id) - pulumi.set(__self__, "source", source) + DatabaseArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + database=database, + db_home_id=db_home_id, + source=source, + db_version=db_version, + key_store_id=key_store_id, + kms_key_id=kms_key_id, + kms_key_migration=kms_key_migration, + kms_key_rotation=kms_key_rotation, + kms_key_version_id=kms_key_version_id, + vault_id=vault_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + database: pulumi.Input['DatabaseDatabaseArgs'], + db_home_id: pulumi.Input[str], + source: pulumi.Input[str], + db_version: Optional[pulumi.Input[str]] = None, + key_store_id: Optional[pulumi.Input[str]] = None, + kms_key_id: Optional[pulumi.Input[str]] = None, + kms_key_migration: Optional[pulumi.Input[bool]] = None, + kms_key_rotation: Optional[pulumi.Input[int]] = None, + kms_key_version_id: Optional[pulumi.Input[str]] = None, + vault_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("database", database) + _setter("db_home_id", db_home_id) + _setter("source", source) if db_version is not None: - pulumi.set(__self__, "db_version", db_version) + _setter("db_version", db_version) if key_store_id is not None: - pulumi.set(__self__, "key_store_id", key_store_id) + _setter("key_store_id", key_store_id) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) if kms_key_migration is not None: - pulumi.set(__self__, "kms_key_migration", kms_key_migration) + _setter("kms_key_migration", kms_key_migration) if kms_key_rotation is not None: - pulumi.set(__self__, "kms_key_rotation", kms_key_rotation) + _setter("kms_key_rotation", kms_key_rotation) if kms_key_version_id is not None: - pulumi.set(__self__, "kms_key_version_id", kms_key_version_id) + _setter("kms_key_version_id", kms_key_version_id) if vault_id is not None: - pulumi.set(__self__, "vault_id", vault_id) + _setter("vault_id", vault_id) @property @pulumi.getter @@ -282,76 +309,153 @@ def __init__(__self__, *, :param pulumi.Input[str] vault_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure [vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). :param pulumi.Input[str] vm_cluster_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM cluster. """ + _DatabaseState._configure( + lambda key, value: pulumi.set(__self__, key, value), + character_set=character_set, + compartment_id=compartment_id, + connection_strings=connection_strings, + database=database, + database_management_configs=database_management_configs, + database_software_image_id=database_software_image_id, + db_backup_configs=db_backup_configs, + db_home_id=db_home_id, + db_name=db_name, + db_system_id=db_system_id, + db_unique_name=db_unique_name, + db_version=db_version, + db_workload=db_workload, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + is_cdb=is_cdb, + key_store_id=key_store_id, + key_store_wallet_name=key_store_wallet_name, + kms_key_id=kms_key_id, + kms_key_migration=kms_key_migration, + kms_key_rotation=kms_key_rotation, + kms_key_version_id=kms_key_version_id, + last_backup_duration_in_seconds=last_backup_duration_in_seconds, + last_backup_timestamp=last_backup_timestamp, + last_failed_backup_timestamp=last_failed_backup_timestamp, + lifecycle_details=lifecycle_details, + ncharacter_set=ncharacter_set, + pdb_name=pdb_name, + sid_prefix=sid_prefix, + source=source, + source_database_point_in_time_recovery_timestamp=source_database_point_in_time_recovery_timestamp, + state=state, + time_created=time_created, + vault_id=vault_id, + vm_cluster_id=vm_cluster_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + character_set: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + connection_strings: Optional[pulumi.Input[Sequence[pulumi.Input['DatabaseConnectionStringArgs']]]] = None, + database: Optional[pulumi.Input['DatabaseDatabaseArgs']] = None, + database_management_configs: Optional[pulumi.Input[Sequence[pulumi.Input['DatabaseDatabaseManagementConfigArgs']]]] = None, + database_software_image_id: Optional[pulumi.Input[str]] = None, + db_backup_configs: Optional[pulumi.Input[Sequence[pulumi.Input['DatabaseDbBackupConfigArgs']]]] = None, + db_home_id: Optional[pulumi.Input[str]] = None, + db_name: Optional[pulumi.Input[str]] = None, + db_system_id: Optional[pulumi.Input[str]] = None, + db_unique_name: Optional[pulumi.Input[str]] = None, + db_version: Optional[pulumi.Input[str]] = None, + db_workload: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_cdb: Optional[pulumi.Input[bool]] = None, + key_store_id: Optional[pulumi.Input[str]] = None, + key_store_wallet_name: Optional[pulumi.Input[str]] = None, + kms_key_id: Optional[pulumi.Input[str]] = None, + kms_key_migration: Optional[pulumi.Input[bool]] = None, + kms_key_rotation: Optional[pulumi.Input[int]] = None, + kms_key_version_id: Optional[pulumi.Input[str]] = None, + last_backup_duration_in_seconds: Optional[pulumi.Input[int]] = None, + last_backup_timestamp: Optional[pulumi.Input[str]] = None, + last_failed_backup_timestamp: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + ncharacter_set: Optional[pulumi.Input[str]] = None, + pdb_name: Optional[pulumi.Input[str]] = None, + sid_prefix: Optional[pulumi.Input[str]] = None, + source: Optional[pulumi.Input[str]] = None, + source_database_point_in_time_recovery_timestamp: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + vault_id: Optional[pulumi.Input[str]] = None, + vm_cluster_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if character_set is not None: - pulumi.set(__self__, "character_set", character_set) + _setter("character_set", character_set) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if connection_strings is not None: - pulumi.set(__self__, "connection_strings", connection_strings) + _setter("connection_strings", connection_strings) if database is not None: - pulumi.set(__self__, "database", database) + _setter("database", database) if database_management_configs is not None: - pulumi.set(__self__, "database_management_configs", database_management_configs) + _setter("database_management_configs", database_management_configs) if database_software_image_id is not None: - pulumi.set(__self__, "database_software_image_id", database_software_image_id) + _setter("database_software_image_id", database_software_image_id) if db_backup_configs is not None: - pulumi.set(__self__, "db_backup_configs", db_backup_configs) + _setter("db_backup_configs", db_backup_configs) if db_home_id is not None: - pulumi.set(__self__, "db_home_id", db_home_id) + _setter("db_home_id", db_home_id) if db_name is not None: - pulumi.set(__self__, "db_name", db_name) + _setter("db_name", db_name) if db_system_id is not None: - pulumi.set(__self__, "db_system_id", db_system_id) + _setter("db_system_id", db_system_id) if db_unique_name is not None: - pulumi.set(__self__, "db_unique_name", db_unique_name) + _setter("db_unique_name", db_unique_name) if db_version is not None: - pulumi.set(__self__, "db_version", db_version) + _setter("db_version", db_version) if db_workload is not None: - pulumi.set(__self__, "db_workload", db_workload) + _setter("db_workload", db_workload) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_cdb is not None: - pulumi.set(__self__, "is_cdb", is_cdb) + _setter("is_cdb", is_cdb) if key_store_id is not None: - pulumi.set(__self__, "key_store_id", key_store_id) + _setter("key_store_id", key_store_id) if key_store_wallet_name is not None: - pulumi.set(__self__, "key_store_wallet_name", key_store_wallet_name) + _setter("key_store_wallet_name", key_store_wallet_name) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) if kms_key_migration is not None: - pulumi.set(__self__, "kms_key_migration", kms_key_migration) + _setter("kms_key_migration", kms_key_migration) if kms_key_rotation is not None: - pulumi.set(__self__, "kms_key_rotation", kms_key_rotation) + _setter("kms_key_rotation", kms_key_rotation) if kms_key_version_id is not None: - pulumi.set(__self__, "kms_key_version_id", kms_key_version_id) + _setter("kms_key_version_id", kms_key_version_id) if last_backup_duration_in_seconds is not None: - pulumi.set(__self__, "last_backup_duration_in_seconds", last_backup_duration_in_seconds) + _setter("last_backup_duration_in_seconds", last_backup_duration_in_seconds) if last_backup_timestamp is not None: - pulumi.set(__self__, "last_backup_timestamp", last_backup_timestamp) + _setter("last_backup_timestamp", last_backup_timestamp) if last_failed_backup_timestamp is not None: - pulumi.set(__self__, "last_failed_backup_timestamp", last_failed_backup_timestamp) + _setter("last_failed_backup_timestamp", last_failed_backup_timestamp) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if ncharacter_set is not None: - pulumi.set(__self__, "ncharacter_set", ncharacter_set) + _setter("ncharacter_set", ncharacter_set) if pdb_name is not None: - pulumi.set(__self__, "pdb_name", pdb_name) + _setter("pdb_name", pdb_name) if sid_prefix is not None: - pulumi.set(__self__, "sid_prefix", sid_prefix) + _setter("sid_prefix", sid_prefix) if source is not None: - pulumi.set(__self__, "source", source) + _setter("source", source) if source_database_point_in_time_recovery_timestamp is not None: - pulumi.set(__self__, "source_database_point_in_time_recovery_timestamp", source_database_point_in_time_recovery_timestamp) + _setter("source_database_point_in_time_recovery_timestamp", source_database_point_in_time_recovery_timestamp) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if vault_id is not None: - pulumi.set(__self__, "vault_id", vault_id) + _setter("vault_id", vault_id) if vm_cluster_id is not None: - pulumi.set(__self__, "vm_cluster_id", vm_cluster_id) + _setter("vm_cluster_id", vm_cluster_id) @property @pulumi.getter(name="characterSet") @@ -963,6 +1067,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DatabaseArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -987,6 +1095,11 @@ def _internal_init(__self__, raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = DatabaseArgs.__new__(DatabaseArgs) + if database is not None and not isinstance(database, DatabaseDatabaseArgs): + database = database or {} + def _setter(key, value): + database[key] = value + DatabaseDatabaseArgs._configure(_setter, **database) if database is None and not opts.urn: raise TypeError("Missing required property 'database'") __props__.__dict__["database"] = database diff --git a/sdk/python/pulumi_oci/database/database_software_image.py b/sdk/python/pulumi_oci/database/database_software_image.py index 3815ac029d..4742926df7 100644 --- a/sdk/python/pulumi_oci/database/database_software_image.py +++ b/sdk/python/pulumi_oci/database/database_software_image.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['DatabaseSoftwareImageArgs', 'DatabaseSoftwareImage'] @@ -43,26 +43,55 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) + DatabaseSoftwareImageArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + database_software_image_one_off_patches=database_software_image_one_off_patches, + database_version=database_version, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + image_shape_family=image_shape_family, + image_type=image_type, + ls_inventory=ls_inventory, + patch_set=patch_set, + source_db_home_id=source_db_home_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + database_software_image_one_off_patches: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + database_version: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + image_shape_family: Optional[pulumi.Input[str]] = None, + image_type: Optional[pulumi.Input[str]] = None, + ls_inventory: Optional[pulumi.Input[str]] = None, + patch_set: Optional[pulumi.Input[str]] = None, + source_db_home_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) if database_software_image_one_off_patches is not None: - pulumi.set(__self__, "database_software_image_one_off_patches", database_software_image_one_off_patches) + _setter("database_software_image_one_off_patches", database_software_image_one_off_patches) if database_version is not None: - pulumi.set(__self__, "database_version", database_version) + _setter("database_version", database_version) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if image_shape_family is not None: - pulumi.set(__self__, "image_shape_family", image_shape_family) + _setter("image_shape_family", image_shape_family) if image_type is not None: - pulumi.set(__self__, "image_type", image_type) + _setter("image_type", image_type) if ls_inventory is not None: - pulumi.set(__self__, "ls_inventory", ls_inventory) + _setter("ls_inventory", ls_inventory) if patch_set is not None: - pulumi.set(__self__, "patch_set", patch_set) + _setter("patch_set", patch_set) if source_db_home_id is not None: - pulumi.set(__self__, "source_db_home_id", source_db_home_id) + _setter("source_db_home_id", source_db_home_id) @property @pulumi.getter(name="compartmentId") @@ -245,40 +274,81 @@ def __init__(__self__, *, :param pulumi.Input[str] state: The current state of the database software image. :param pulumi.Input[str] time_created: The date and time the database software image was created. """ + _DatabaseSoftwareImageState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + database_software_image_included_patches=database_software_image_included_patches, + database_software_image_one_off_patches=database_software_image_one_off_patches, + database_version=database_version, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + image_shape_family=image_shape_family, + image_type=image_type, + included_patches_summary=included_patches_summary, + is_upgrade_supported=is_upgrade_supported, + lifecycle_details=lifecycle_details, + ls_inventory=ls_inventory, + patch_set=patch_set, + source_db_home_id=source_db_home_id, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + database_software_image_included_patches: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + database_software_image_one_off_patches: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + database_version: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + image_shape_family: Optional[pulumi.Input[str]] = None, + image_type: Optional[pulumi.Input[str]] = None, + included_patches_summary: Optional[pulumi.Input[str]] = None, + is_upgrade_supported: Optional[pulumi.Input[bool]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + ls_inventory: Optional[pulumi.Input[str]] = None, + patch_set: Optional[pulumi.Input[str]] = None, + source_db_home_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if database_software_image_included_patches is not None: - pulumi.set(__self__, "database_software_image_included_patches", database_software_image_included_patches) + _setter("database_software_image_included_patches", database_software_image_included_patches) if database_software_image_one_off_patches is not None: - pulumi.set(__self__, "database_software_image_one_off_patches", database_software_image_one_off_patches) + _setter("database_software_image_one_off_patches", database_software_image_one_off_patches) if database_version is not None: - pulumi.set(__self__, "database_version", database_version) + _setter("database_version", database_version) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if image_shape_family is not None: - pulumi.set(__self__, "image_shape_family", image_shape_family) + _setter("image_shape_family", image_shape_family) if image_type is not None: - pulumi.set(__self__, "image_type", image_type) + _setter("image_type", image_type) if included_patches_summary is not None: - pulumi.set(__self__, "included_patches_summary", included_patches_summary) + _setter("included_patches_summary", included_patches_summary) if is_upgrade_supported is not None: - pulumi.set(__self__, "is_upgrade_supported", is_upgrade_supported) + _setter("is_upgrade_supported", is_upgrade_supported) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if ls_inventory is not None: - pulumi.set(__self__, "ls_inventory", ls_inventory) + _setter("ls_inventory", ls_inventory) if patch_set is not None: - pulumi.set(__self__, "patch_set", patch_set) + _setter("patch_set", patch_set) if source_db_home_id is not None: - pulumi.set(__self__, "source_db_home_id", source_db_home_id) + _setter("source_db_home_id", source_db_home_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -610,6 +680,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DatabaseSoftwareImageArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/database/database_upgrade.py b/sdk/python/pulumi_oci/database/database_upgrade.py index bcd475d84c..7d342772ba 100644 --- a/sdk/python/pulumi_oci/database/database_upgrade.py +++ b/sdk/python/pulumi_oci/database/database_upgrade.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -25,10 +25,23 @@ def __init__(__self__, *, :param pulumi.Input[str] database_id: The database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). :param pulumi.Input['DatabaseUpgradeDatabaseUpgradeSourceDetailsArgs'] database_upgrade_source_details: Details for the database upgrade source. """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "database_id", database_id) + DatabaseUpgradeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + database_id=database_id, + database_upgrade_source_details=database_upgrade_source_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: pulumi.Input[str], + database_id: pulumi.Input[str], + database_upgrade_source_details: Optional[pulumi.Input['DatabaseUpgradeDatabaseUpgradeSourceDetailsArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("database_id", database_id) if database_upgrade_source_details is not None: - pulumi.set(__self__, "database_upgrade_source_details", database_upgrade_source_details) + _setter("database_upgrade_source_details", database_upgrade_source_details) @property @pulumi.getter @@ -137,70 +150,141 @@ def __init__(__self__, *, :param pulumi.Input[str] vault_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure [vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). :param pulumi.Input[str] vm_cluster_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM cluster. """ + _DatabaseUpgradeState._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + character_set=character_set, + compartment_id=compartment_id, + connection_strings=connection_strings, + database_id=database_id, + database_software_image_id=database_software_image_id, + database_upgrade_source_details=database_upgrade_source_details, + db_backup_configs=db_backup_configs, + db_home_id=db_home_id, + db_name=db_name, + db_system_id=db_system_id, + db_unique_name=db_unique_name, + db_workload=db_workload, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + is_cdb=is_cdb, + key_store_id=key_store_id, + key_store_wallet_name=key_store_wallet_name, + kms_key_id=kms_key_id, + kms_key_version_id=kms_key_version_id, + last_backup_duration_in_seconds=last_backup_duration_in_seconds, + last_backup_timestamp=last_backup_timestamp, + last_failed_backup_timestamp=last_failed_backup_timestamp, + lifecycle_details=lifecycle_details, + ncharacter_set=ncharacter_set, + pdb_name=pdb_name, + sid_prefix=sid_prefix, + source_database_point_in_time_recovery_timestamp=source_database_point_in_time_recovery_timestamp, + state=state, + time_created=time_created, + vault_id=vault_id, + vm_cluster_id=vm_cluster_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: Optional[pulumi.Input[str]] = None, + character_set: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + connection_strings: Optional[pulumi.Input[Sequence[pulumi.Input['DatabaseUpgradeConnectionStringArgs']]]] = None, + database_id: Optional[pulumi.Input[str]] = None, + database_software_image_id: Optional[pulumi.Input[str]] = None, + database_upgrade_source_details: Optional[pulumi.Input['DatabaseUpgradeDatabaseUpgradeSourceDetailsArgs']] = None, + db_backup_configs: Optional[pulumi.Input[Sequence[pulumi.Input['DatabaseUpgradeDbBackupConfigArgs']]]] = None, + db_home_id: Optional[pulumi.Input[str]] = None, + db_name: Optional[pulumi.Input[str]] = None, + db_system_id: Optional[pulumi.Input[str]] = None, + db_unique_name: Optional[pulumi.Input[str]] = None, + db_workload: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_cdb: Optional[pulumi.Input[bool]] = None, + key_store_id: Optional[pulumi.Input[str]] = None, + key_store_wallet_name: Optional[pulumi.Input[str]] = None, + kms_key_id: Optional[pulumi.Input[str]] = None, + kms_key_version_id: Optional[pulumi.Input[str]] = None, + last_backup_duration_in_seconds: Optional[pulumi.Input[int]] = None, + last_backup_timestamp: Optional[pulumi.Input[str]] = None, + last_failed_backup_timestamp: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + ncharacter_set: Optional[pulumi.Input[str]] = None, + pdb_name: Optional[pulumi.Input[str]] = None, + sid_prefix: Optional[pulumi.Input[str]] = None, + source_database_point_in_time_recovery_timestamp: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + vault_id: Optional[pulumi.Input[str]] = None, + vm_cluster_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if action is not None: - pulumi.set(__self__, "action", action) + _setter("action", action) if character_set is not None: - pulumi.set(__self__, "character_set", character_set) + _setter("character_set", character_set) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if connection_strings is not None: - pulumi.set(__self__, "connection_strings", connection_strings) + _setter("connection_strings", connection_strings) if database_id is not None: - pulumi.set(__self__, "database_id", database_id) + _setter("database_id", database_id) if database_software_image_id is not None: - pulumi.set(__self__, "database_software_image_id", database_software_image_id) + _setter("database_software_image_id", database_software_image_id) if database_upgrade_source_details is not None: - pulumi.set(__self__, "database_upgrade_source_details", database_upgrade_source_details) + _setter("database_upgrade_source_details", database_upgrade_source_details) if db_backup_configs is not None: - pulumi.set(__self__, "db_backup_configs", db_backup_configs) + _setter("db_backup_configs", db_backup_configs) if db_home_id is not None: - pulumi.set(__self__, "db_home_id", db_home_id) + _setter("db_home_id", db_home_id) if db_name is not None: - pulumi.set(__self__, "db_name", db_name) + _setter("db_name", db_name) if db_system_id is not None: - pulumi.set(__self__, "db_system_id", db_system_id) + _setter("db_system_id", db_system_id) if db_unique_name is not None: - pulumi.set(__self__, "db_unique_name", db_unique_name) + _setter("db_unique_name", db_unique_name) if db_workload is not None: - pulumi.set(__self__, "db_workload", db_workload) + _setter("db_workload", db_workload) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_cdb is not None: - pulumi.set(__self__, "is_cdb", is_cdb) + _setter("is_cdb", is_cdb) if key_store_id is not None: - pulumi.set(__self__, "key_store_id", key_store_id) + _setter("key_store_id", key_store_id) if key_store_wallet_name is not None: - pulumi.set(__self__, "key_store_wallet_name", key_store_wallet_name) + _setter("key_store_wallet_name", key_store_wallet_name) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) if kms_key_version_id is not None: - pulumi.set(__self__, "kms_key_version_id", kms_key_version_id) + _setter("kms_key_version_id", kms_key_version_id) if last_backup_duration_in_seconds is not None: - pulumi.set(__self__, "last_backup_duration_in_seconds", last_backup_duration_in_seconds) + _setter("last_backup_duration_in_seconds", last_backup_duration_in_seconds) if last_backup_timestamp is not None: - pulumi.set(__self__, "last_backup_timestamp", last_backup_timestamp) + _setter("last_backup_timestamp", last_backup_timestamp) if last_failed_backup_timestamp is not None: - pulumi.set(__self__, "last_failed_backup_timestamp", last_failed_backup_timestamp) + _setter("last_failed_backup_timestamp", last_failed_backup_timestamp) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if ncharacter_set is not None: - pulumi.set(__self__, "ncharacter_set", ncharacter_set) + _setter("ncharacter_set", ncharacter_set) if pdb_name is not None: - pulumi.set(__self__, "pdb_name", pdb_name) + _setter("pdb_name", pdb_name) if sid_prefix is not None: - pulumi.set(__self__, "sid_prefix", sid_prefix) + _setter("sid_prefix", sid_prefix) if source_database_point_in_time_recovery_timestamp is not None: - pulumi.set(__self__, "source_database_point_in_time_recovery_timestamp", source_database_point_in_time_recovery_timestamp) + _setter("source_database_point_in_time_recovery_timestamp", source_database_point_in_time_recovery_timestamp) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if vault_id is not None: - pulumi.set(__self__, "vault_id", vault_id) + _setter("vault_id", vault_id) if vm_cluster_id is not None: - pulumi.set(__self__, "vm_cluster_id", vm_cluster_id) + _setter("vm_cluster_id", vm_cluster_id) @property @pulumi.getter @@ -656,6 +740,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DatabaseUpgradeArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -679,6 +767,11 @@ def _internal_init(__self__, if database_id is None and not opts.urn: raise TypeError("Missing required property 'database_id'") __props__.__dict__["database_id"] = database_id + if database_upgrade_source_details is not None and not isinstance(database_upgrade_source_details, DatabaseUpgradeDatabaseUpgradeSourceDetailsArgs): + database_upgrade_source_details = database_upgrade_source_details or {} + def _setter(key, value): + database_upgrade_source_details[key] = value + DatabaseUpgradeDatabaseUpgradeSourceDetailsArgs._configure(_setter, **database_upgrade_source_details) __props__.__dict__["database_upgrade_source_details"] = database_upgrade_source_details __props__.__dict__["character_set"] = None __props__.__dict__["compartment_id"] = None diff --git a/sdk/python/pulumi_oci/database/db_home.py b/sdk/python/pulumi_oci/database/db_home.py index a18d90ff1d..5f07a0c3dc 100644 --- a/sdk/python/pulumi_oci/database/db_home.py +++ b/sdk/python/pulumi_oci/database/db_home.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -53,32 +53,65 @@ def __init__(__self__, *, ** 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 """ + DbHomeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + database=database, + database_software_image_id=database_software_image_id, + db_system_id=db_system_id, + db_version=db_version, + defined_tags=defined_tags, + display_name=display_name, + enable_database_delete=enable_database_delete, + freeform_tags=freeform_tags, + is_desupported_version=is_desupported_version, + kms_key_id=kms_key_id, + kms_key_version_id=kms_key_version_id, + source=source, + vm_cluster_id=vm_cluster_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + database: Optional[pulumi.Input['DbHomeDatabaseArgs']] = None, + database_software_image_id: Optional[pulumi.Input[str]] = None, + db_system_id: Optional[pulumi.Input[str]] = None, + db_version: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + enable_database_delete: Optional[pulumi.Input[bool]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_desupported_version: Optional[pulumi.Input[bool]] = None, + kms_key_id: Optional[pulumi.Input[str]] = None, + kms_key_version_id: Optional[pulumi.Input[str]] = None, + source: Optional[pulumi.Input[str]] = None, + vm_cluster_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if database is not None: - pulumi.set(__self__, "database", database) + _setter("database", database) if database_software_image_id is not None: - pulumi.set(__self__, "database_software_image_id", database_software_image_id) + _setter("database_software_image_id", database_software_image_id) if db_system_id is not None: - pulumi.set(__self__, "db_system_id", db_system_id) + _setter("db_system_id", db_system_id) if db_version is not None: - pulumi.set(__self__, "db_version", db_version) + _setter("db_version", db_version) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if enable_database_delete is not None: - pulumi.set(__self__, "enable_database_delete", enable_database_delete) + _setter("enable_database_delete", enable_database_delete) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_desupported_version is not None: - pulumi.set(__self__, "is_desupported_version", is_desupported_version) + _setter("is_desupported_version", is_desupported_version) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) if kms_key_version_id is not None: - pulumi.set(__self__, "kms_key_version_id", kms_key_version_id) + _setter("kms_key_version_id", kms_key_version_id) if source is not None: - pulumi.set(__self__, "source", source) + _setter("source", source) if vm_cluster_id is not None: - pulumi.set(__self__, "vm_cluster_id", vm_cluster_id) + _setter("vm_cluster_id", vm_cluster_id) @property @pulumi.getter @@ -297,44 +330,89 @@ def __init__(__self__, *, ** 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 """ + _DbHomeState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + database=database, + database_software_image_id=database_software_image_id, + db_home_location=db_home_location, + db_system_id=db_system_id, + db_version=db_version, + defined_tags=defined_tags, + display_name=display_name, + enable_database_delete=enable_database_delete, + freeform_tags=freeform_tags, + is_desupported_version=is_desupported_version, + kms_key_id=kms_key_id, + kms_key_version_id=kms_key_version_id, + last_patch_history_entry_id=last_patch_history_entry_id, + lifecycle_details=lifecycle_details, + source=source, + state=state, + time_created=time_created, + vm_cluster_id=vm_cluster_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + database: Optional[pulumi.Input['DbHomeDatabaseArgs']] = None, + database_software_image_id: Optional[pulumi.Input[str]] = None, + db_home_location: Optional[pulumi.Input[str]] = None, + db_system_id: Optional[pulumi.Input[str]] = None, + db_version: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + enable_database_delete: Optional[pulumi.Input[bool]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_desupported_version: Optional[pulumi.Input[bool]] = None, + kms_key_id: Optional[pulumi.Input[str]] = None, + kms_key_version_id: Optional[pulumi.Input[str]] = None, + last_patch_history_entry_id: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + source: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + vm_cluster_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if database is not None: - pulumi.set(__self__, "database", database) + _setter("database", database) if database_software_image_id is not None: - pulumi.set(__self__, "database_software_image_id", database_software_image_id) + _setter("database_software_image_id", database_software_image_id) if db_home_location is not None: - pulumi.set(__self__, "db_home_location", db_home_location) + _setter("db_home_location", db_home_location) if db_system_id is not None: - pulumi.set(__self__, "db_system_id", db_system_id) + _setter("db_system_id", db_system_id) if db_version is not None: - pulumi.set(__self__, "db_version", db_version) + _setter("db_version", db_version) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if enable_database_delete is not None: - pulumi.set(__self__, "enable_database_delete", enable_database_delete) + _setter("enable_database_delete", enable_database_delete) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_desupported_version is not None: - pulumi.set(__self__, "is_desupported_version", is_desupported_version) + _setter("is_desupported_version", is_desupported_version) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) if kms_key_version_id is not None: - pulumi.set(__self__, "kms_key_version_id", kms_key_version_id) + _setter("kms_key_version_id", kms_key_version_id) if last_patch_history_entry_id is not None: - pulumi.set(__self__, "last_patch_history_entry_id", last_patch_history_entry_id) + _setter("last_patch_history_entry_id", last_patch_history_entry_id) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if source is not None: - pulumi.set(__self__, "source", source) + _setter("source", source) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if vm_cluster_id is not None: - pulumi.set(__self__, "vm_cluster_id", vm_cluster_id) + _setter("vm_cluster_id", vm_cluster_id) @property @pulumi.getter(name="compartmentId") @@ -666,6 +744,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DbHomeArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -693,6 +775,11 @@ def _internal_init(__self__, raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = DbHomeArgs.__new__(DbHomeArgs) + if database is not None and not isinstance(database, DbHomeDatabaseArgs): + database = database or {} + def _setter(key, value): + database[key] = value + DbHomeDatabaseArgs._configure(_setter, **database) __props__.__dict__["database"] = database __props__.__dict__["database_software_image_id"] = database_software_image_id __props__.__dict__["db_system_id"] = db_system_id diff --git a/sdk/python/pulumi_oci/database/db_node.py b/sdk/python/pulumi_oci/database/db_node.py index 78e55993eb..4b44a8479b 100644 --- a/sdk/python/pulumi_oci/database/db_node.py +++ b/sdk/python/pulumi_oci/database/db_node.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['DbNodeArgs', 'DbNode'] @@ -27,11 +27,24 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "db_node_id", db_node_id) + DbNodeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_node_id=db_node_id, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_node_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("db_node_id", db_node_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="dbNodeId") @@ -132,54 +145,109 @@ def __init__(__self__, *, :param pulumi.Input[str] vnic2id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the second VNIC. :param pulumi.Input[str] vnic_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC. """ + _DbNodeState._configure( + lambda key, value: pulumi.set(__self__, key, value), + additional_details=additional_details, + backup_ip_id=backup_ip_id, + backup_vnic2id=backup_vnic2id, + backup_vnic_id=backup_vnic_id, + cpu_core_count=cpu_core_count, + db_node_id=db_node_id, + db_node_storage_size_in_gbs=db_node_storage_size_in_gbs, + db_server_id=db_server_id, + db_system_id=db_system_id, + defined_tags=defined_tags, + fault_domain=fault_domain, + freeform_tags=freeform_tags, + host_ip_id=host_ip_id, + hostname=hostname, + lifecycle_details=lifecycle_details, + maintenance_type=maintenance_type, + memory_size_in_gbs=memory_size_in_gbs, + software_storage_size_in_gb=software_storage_size_in_gb, + state=state, + time_created=time_created, + time_maintenance_window_end=time_maintenance_window_end, + time_maintenance_window_start=time_maintenance_window_start, + vnic2id=vnic2id, + vnic_id=vnic_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + additional_details: Optional[pulumi.Input[str]] = None, + backup_ip_id: Optional[pulumi.Input[str]] = None, + backup_vnic2id: Optional[pulumi.Input[str]] = None, + backup_vnic_id: Optional[pulumi.Input[str]] = None, + cpu_core_count: Optional[pulumi.Input[int]] = None, + db_node_id: Optional[pulumi.Input[str]] = None, + db_node_storage_size_in_gbs: Optional[pulumi.Input[int]] = None, + db_server_id: Optional[pulumi.Input[str]] = None, + db_system_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + fault_domain: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + host_ip_id: Optional[pulumi.Input[str]] = None, + hostname: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + maintenance_type: Optional[pulumi.Input[str]] = None, + memory_size_in_gbs: Optional[pulumi.Input[int]] = None, + software_storage_size_in_gb: Optional[pulumi.Input[int]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_maintenance_window_end: Optional[pulumi.Input[str]] = None, + time_maintenance_window_start: Optional[pulumi.Input[str]] = None, + vnic2id: Optional[pulumi.Input[str]] = None, + vnic_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if additional_details is not None: - pulumi.set(__self__, "additional_details", additional_details) + _setter("additional_details", additional_details) if backup_ip_id is not None: - pulumi.set(__self__, "backup_ip_id", backup_ip_id) + _setter("backup_ip_id", backup_ip_id) if backup_vnic2id is not None: - pulumi.set(__self__, "backup_vnic2id", backup_vnic2id) + _setter("backup_vnic2id", backup_vnic2id) if backup_vnic_id is not None: - pulumi.set(__self__, "backup_vnic_id", backup_vnic_id) + _setter("backup_vnic_id", backup_vnic_id) if cpu_core_count is not None: - pulumi.set(__self__, "cpu_core_count", cpu_core_count) + _setter("cpu_core_count", cpu_core_count) if db_node_id is not None: - pulumi.set(__self__, "db_node_id", db_node_id) + _setter("db_node_id", db_node_id) if db_node_storage_size_in_gbs is not None: - pulumi.set(__self__, "db_node_storage_size_in_gbs", db_node_storage_size_in_gbs) + _setter("db_node_storage_size_in_gbs", db_node_storage_size_in_gbs) if db_server_id is not None: - pulumi.set(__self__, "db_server_id", db_server_id) + _setter("db_server_id", db_server_id) if db_system_id is not None: - pulumi.set(__self__, "db_system_id", db_system_id) + _setter("db_system_id", db_system_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if fault_domain is not None: - pulumi.set(__self__, "fault_domain", fault_domain) + _setter("fault_domain", fault_domain) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if host_ip_id is not None: - pulumi.set(__self__, "host_ip_id", host_ip_id) + _setter("host_ip_id", host_ip_id) if hostname is not None: - pulumi.set(__self__, "hostname", hostname) + _setter("hostname", hostname) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if maintenance_type is not None: - pulumi.set(__self__, "maintenance_type", maintenance_type) + _setter("maintenance_type", maintenance_type) if memory_size_in_gbs is not None: - pulumi.set(__self__, "memory_size_in_gbs", memory_size_in_gbs) + _setter("memory_size_in_gbs", memory_size_in_gbs) if software_storage_size_in_gb is not None: - pulumi.set(__self__, "software_storage_size_in_gb", software_storage_size_in_gb) + _setter("software_storage_size_in_gb", software_storage_size_in_gb) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_maintenance_window_end is not None: - pulumi.set(__self__, "time_maintenance_window_end", time_maintenance_window_end) + _setter("time_maintenance_window_end", time_maintenance_window_end) if time_maintenance_window_start is not None: - pulumi.set(__self__, "time_maintenance_window_start", time_maintenance_window_start) + _setter("time_maintenance_window_start", time_maintenance_window_start) if vnic2id is not None: - pulumi.set(__self__, "vnic2id", vnic2id) + _setter("vnic2id", vnic2id) if vnic_id is not None: - pulumi.set(__self__, "vnic_id", vnic_id) + _setter("vnic_id", vnic_id) @property @pulumi.getter(name="additionalDetails") @@ -535,6 +603,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DbNodeArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/database/db_node_console_connection.py b/sdk/python/pulumi_oci/database/db_node_console_connection.py index 39483115c5..dcd80534b3 100644 --- a/sdk/python/pulumi_oci/database/db_node_console_connection.py +++ b/sdk/python/pulumi_oci/database/db_node_console_connection.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['DbNodeConsoleConnectionArgs', 'DbNodeConsoleConnection'] @@ -29,12 +29,27 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). :param pulumi.Input[Mapping[str, Any]] freeform_tags: (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` """ - pulumi.set(__self__, "db_node_id", db_node_id) - pulumi.set(__self__, "public_key", public_key) + DbNodeConsoleConnectionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_node_id=db_node_id, + public_key=public_key, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_node_id: pulumi.Input[str], + public_key: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("db_node_id", db_node_id) + _setter("public_key", public_key) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="dbNodeId") @@ -119,26 +134,53 @@ def __init__(__self__, *, :param pulumi.Input[str] service_host_key_fingerprint: The SSH public key's fingerprint for the console connection service host. :param pulumi.Input[str] state: The current state of the console connection. """ + _DbNodeConsoleConnectionState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + connection_string=connection_string, + db_node_id=db_node_id, + defined_tags=defined_tags, + fingerprint=fingerprint, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + public_key=public_key, + service_host_key_fingerprint=service_host_key_fingerprint, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + connection_string: Optional[pulumi.Input[str]] = None, + db_node_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + fingerprint: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + public_key: Optional[pulumi.Input[str]] = None, + service_host_key_fingerprint: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if connection_string is not None: - pulumi.set(__self__, "connection_string", connection_string) + _setter("connection_string", connection_string) if db_node_id is not None: - pulumi.set(__self__, "db_node_id", db_node_id) + _setter("db_node_id", db_node_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if fingerprint is not None: - pulumi.set(__self__, "fingerprint", fingerprint) + _setter("fingerprint", fingerprint) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if public_key is not None: - pulumi.set(__self__, "public_key", public_key) + _setter("public_key", public_key) if service_host_key_fingerprint is not None: - pulumi.set(__self__, "service_host_key_fingerprint", service_host_key_fingerprint) + _setter("service_host_key_fingerprint", service_host_key_fingerprint) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) @property @pulumi.getter(name="compartmentId") @@ -362,6 +404,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DbNodeConsoleConnectionArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/database/db_system.py b/sdk/python/pulumi_oci/database/db_system.py index 17181e354f..fac5dd4b29 100644 --- a/sdk/python/pulumi_oci/database/db_system.py +++ b/sdk/python/pulumi_oci/database/db_system.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -132,69 +132,146 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "db_home", db_home) - pulumi.set(__self__, "hostname", hostname) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "ssh_public_keys", ssh_public_keys) - pulumi.set(__self__, "subnet_id", subnet_id) + DbSystemArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + compartment_id=compartment_id, + db_home=db_home, + hostname=hostname, + shape=shape, + ssh_public_keys=ssh_public_keys, + subnet_id=subnet_id, + backup_network_nsg_ids=backup_network_nsg_ids, + backup_subnet_id=backup_subnet_id, + cluster_name=cluster_name, + cpu_core_count=cpu_core_count, + data_collection_options=data_collection_options, + data_storage_percentage=data_storage_percentage, + data_storage_size_in_gb=data_storage_size_in_gb, + database_edition=database_edition, + db_system_options=db_system_options, + defined_tags=defined_tags, + disk_redundancy=disk_redundancy, + display_name=display_name, + domain=domain, + fault_domains=fault_domains, + freeform_tags=freeform_tags, + kms_key_id=kms_key_id, + kms_key_version_id=kms_key_version_id, + license_model=license_model, + maintenance_window_details=maintenance_window_details, + node_count=node_count, + nsg_ids=nsg_ids, + private_ip=private_ip, + reco_storage_size_in_gb=reco_storage_size_in_gb, + source=source, + source_db_system_id=source_db_system_id, + sparse_diskgroup=sparse_diskgroup, + storage_volume_performance_mode=storage_volume_performance_mode, + time_zone=time_zone, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: pulumi.Input[str], + compartment_id: pulumi.Input[str], + db_home: pulumi.Input['DbSystemDbHomeArgs'], + hostname: pulumi.Input[str], + shape: pulumi.Input[str], + ssh_public_keys: pulumi.Input[Sequence[pulumi.Input[str]]], + subnet_id: pulumi.Input[str], + backup_network_nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + backup_subnet_id: Optional[pulumi.Input[str]] = None, + cluster_name: Optional[pulumi.Input[str]] = None, + cpu_core_count: Optional[pulumi.Input[int]] = None, + data_collection_options: Optional[pulumi.Input['DbSystemDataCollectionOptionsArgs']] = None, + data_storage_percentage: Optional[pulumi.Input[int]] = None, + data_storage_size_in_gb: Optional[pulumi.Input[int]] = None, + database_edition: Optional[pulumi.Input[str]] = None, + db_system_options: Optional[pulumi.Input['DbSystemDbSystemOptionsArgs']] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + disk_redundancy: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + domain: Optional[pulumi.Input[str]] = None, + fault_domains: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + kms_key_id: Optional[pulumi.Input[str]] = None, + kms_key_version_id: Optional[pulumi.Input[str]] = None, + license_model: Optional[pulumi.Input[str]] = None, + maintenance_window_details: Optional[pulumi.Input['DbSystemMaintenanceWindowDetailsArgs']] = None, + node_count: Optional[pulumi.Input[int]] = None, + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + private_ip: Optional[pulumi.Input[str]] = None, + reco_storage_size_in_gb: Optional[pulumi.Input[int]] = None, + source: Optional[pulumi.Input[str]] = None, + source_db_system_id: Optional[pulumi.Input[str]] = None, + sparse_diskgroup: Optional[pulumi.Input[bool]] = None, + storage_volume_performance_mode: Optional[pulumi.Input[str]] = None, + time_zone: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("compartment_id", compartment_id) + _setter("db_home", db_home) + _setter("hostname", hostname) + _setter("shape", shape) + _setter("ssh_public_keys", ssh_public_keys) + _setter("subnet_id", subnet_id) if backup_network_nsg_ids is not None: - pulumi.set(__self__, "backup_network_nsg_ids", backup_network_nsg_ids) + _setter("backup_network_nsg_ids", backup_network_nsg_ids) if backup_subnet_id is not None: - pulumi.set(__self__, "backup_subnet_id", backup_subnet_id) + _setter("backup_subnet_id", backup_subnet_id) if cluster_name is not None: - pulumi.set(__self__, "cluster_name", cluster_name) + _setter("cluster_name", cluster_name) if cpu_core_count is not None: - pulumi.set(__self__, "cpu_core_count", cpu_core_count) + _setter("cpu_core_count", cpu_core_count) if data_collection_options is not None: - pulumi.set(__self__, "data_collection_options", data_collection_options) + _setter("data_collection_options", data_collection_options) if data_storage_percentage is not None: - pulumi.set(__self__, "data_storage_percentage", data_storage_percentage) + _setter("data_storage_percentage", data_storage_percentage) if data_storage_size_in_gb is not None: - pulumi.set(__self__, "data_storage_size_in_gb", data_storage_size_in_gb) + _setter("data_storage_size_in_gb", data_storage_size_in_gb) if database_edition is not None: - pulumi.set(__self__, "database_edition", database_edition) + _setter("database_edition", database_edition) if db_system_options is not None: - pulumi.set(__self__, "db_system_options", db_system_options) + _setter("db_system_options", db_system_options) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if disk_redundancy is not None: - pulumi.set(__self__, "disk_redundancy", disk_redundancy) + _setter("disk_redundancy", disk_redundancy) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if domain is not None: - pulumi.set(__self__, "domain", domain) + _setter("domain", domain) if fault_domains is not None: - pulumi.set(__self__, "fault_domains", fault_domains) + _setter("fault_domains", fault_domains) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) if kms_key_version_id is not None: - pulumi.set(__self__, "kms_key_version_id", kms_key_version_id) + _setter("kms_key_version_id", kms_key_version_id) if license_model is not None: - pulumi.set(__self__, "license_model", license_model) + _setter("license_model", license_model) if maintenance_window_details is not None: - pulumi.set(__self__, "maintenance_window_details", maintenance_window_details) + _setter("maintenance_window_details", maintenance_window_details) if node_count is not None: - pulumi.set(__self__, "node_count", node_count) + _setter("node_count", node_count) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) if private_ip is not None: - pulumi.set(__self__, "private_ip", private_ip) + _setter("private_ip", private_ip) if reco_storage_size_in_gb is not None: - pulumi.set(__self__, "reco_storage_size_in_gb", reco_storage_size_in_gb) + _setter("reco_storage_size_in_gb", reco_storage_size_in_gb) if source is not None: - pulumi.set(__self__, "source", source) + _setter("source", source) if source_db_system_id is not None: - pulumi.set(__self__, "source_db_system_id", source_db_system_id) + _setter("source_db_system_id", source_db_system_id) if sparse_diskgroup is not None: - pulumi.set(__self__, "sparse_diskgroup", sparse_diskgroup) + _setter("sparse_diskgroup", sparse_diskgroup) if storage_volume_performance_mode is not None: - pulumi.set(__self__, "storage_volume_performance_mode", storage_volume_performance_mode) + _setter("storage_volume_performance_mode", storage_volume_performance_mode) if time_zone is not None: - pulumi.set(__self__, "time_zone", time_zone) + _setter("time_zone", time_zone) @property @pulumi.getter(name="availabilityDomain") @@ -815,112 +892,225 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] vip_ids: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IP (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster. :param pulumi.Input[str] zone_id: The OCID of the zone the DB system is associated with. """ + _DbSystemState._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + backup_network_nsg_ids=backup_network_nsg_ids, + backup_subnet_id=backup_subnet_id, + cluster_name=cluster_name, + compartment_id=compartment_id, + cpu_core_count=cpu_core_count, + data_collection_options=data_collection_options, + data_storage_percentage=data_storage_percentage, + data_storage_size_in_gb=data_storage_size_in_gb, + database_edition=database_edition, + db_home=db_home, + db_system_options=db_system_options, + defined_tags=defined_tags, + disk_redundancy=disk_redundancy, + display_name=display_name, + domain=domain, + fault_domains=fault_domains, + freeform_tags=freeform_tags, + hostname=hostname, + iorm_config_caches=iorm_config_caches, + kms_key_id=kms_key_id, + kms_key_version_id=kms_key_version_id, + last_maintenance_run_id=last_maintenance_run_id, + last_patch_history_entry_id=last_patch_history_entry_id, + license_model=license_model, + lifecycle_details=lifecycle_details, + listener_port=listener_port, + maintenance_window_details=maintenance_window_details, + maintenance_windows=maintenance_windows, + memory_size_in_gbs=memory_size_in_gbs, + next_maintenance_run_id=next_maintenance_run_id, + node_count=node_count, + nsg_ids=nsg_ids, + os_version=os_version, + point_in_time_data_disk_clone_timestamp=point_in_time_data_disk_clone_timestamp, + private_ip=private_ip, + reco_storage_size_in_gb=reco_storage_size_in_gb, + scan_dns_name=scan_dns_name, + scan_dns_record_id=scan_dns_record_id, + scan_ip_ids=scan_ip_ids, + shape=shape, + source=source, + source_db_system_id=source_db_system_id, + sparse_diskgroup=sparse_diskgroup, + ssh_public_keys=ssh_public_keys, + state=state, + storage_volume_performance_mode=storage_volume_performance_mode, + subnet_id=subnet_id, + time_created=time_created, + time_zone=time_zone, + version=version, + vip_ids=vip_ids, + zone_id=zone_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: Optional[pulumi.Input[str]] = None, + backup_network_nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + backup_subnet_id: Optional[pulumi.Input[str]] = None, + cluster_name: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + cpu_core_count: Optional[pulumi.Input[int]] = None, + data_collection_options: Optional[pulumi.Input['DbSystemDataCollectionOptionsArgs']] = None, + data_storage_percentage: Optional[pulumi.Input[int]] = None, + data_storage_size_in_gb: Optional[pulumi.Input[int]] = None, + database_edition: Optional[pulumi.Input[str]] = None, + db_home: Optional[pulumi.Input['DbSystemDbHomeArgs']] = None, + db_system_options: Optional[pulumi.Input['DbSystemDbSystemOptionsArgs']] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + disk_redundancy: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + domain: Optional[pulumi.Input[str]] = None, + fault_domains: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + hostname: Optional[pulumi.Input[str]] = None, + iorm_config_caches: Optional[pulumi.Input[Sequence[pulumi.Input['DbSystemIormConfigCachArgs']]]] = None, + kms_key_id: Optional[pulumi.Input[str]] = None, + kms_key_version_id: Optional[pulumi.Input[str]] = None, + last_maintenance_run_id: Optional[pulumi.Input[str]] = None, + last_patch_history_entry_id: Optional[pulumi.Input[str]] = None, + license_model: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + listener_port: Optional[pulumi.Input[int]] = None, + maintenance_window_details: Optional[pulumi.Input['DbSystemMaintenanceWindowDetailsArgs']] = None, + maintenance_windows: Optional[pulumi.Input[Sequence[pulumi.Input['DbSystemMaintenanceWindowArgs']]]] = None, + memory_size_in_gbs: Optional[pulumi.Input[int]] = None, + next_maintenance_run_id: Optional[pulumi.Input[str]] = None, + node_count: Optional[pulumi.Input[int]] = None, + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + os_version: Optional[pulumi.Input[str]] = None, + point_in_time_data_disk_clone_timestamp: Optional[pulumi.Input[str]] = None, + private_ip: Optional[pulumi.Input[str]] = None, + reco_storage_size_in_gb: Optional[pulumi.Input[int]] = None, + scan_dns_name: Optional[pulumi.Input[str]] = None, + scan_dns_record_id: Optional[pulumi.Input[str]] = None, + scan_ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + shape: Optional[pulumi.Input[str]] = None, + source: Optional[pulumi.Input[str]] = None, + source_db_system_id: Optional[pulumi.Input[str]] = None, + sparse_diskgroup: Optional[pulumi.Input[bool]] = None, + ssh_public_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + state: Optional[pulumi.Input[str]] = None, + storage_volume_performance_mode: Optional[pulumi.Input[str]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_zone: Optional[pulumi.Input[str]] = None, + version: Optional[pulumi.Input[str]] = None, + vip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + zone_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if backup_network_nsg_ids is not None: - pulumi.set(__self__, "backup_network_nsg_ids", backup_network_nsg_ids) + _setter("backup_network_nsg_ids", backup_network_nsg_ids) if backup_subnet_id is not None: - pulumi.set(__self__, "backup_subnet_id", backup_subnet_id) + _setter("backup_subnet_id", backup_subnet_id) if cluster_name is not None: - pulumi.set(__self__, "cluster_name", cluster_name) + _setter("cluster_name", cluster_name) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if cpu_core_count is not None: - pulumi.set(__self__, "cpu_core_count", cpu_core_count) + _setter("cpu_core_count", cpu_core_count) if data_collection_options is not None: - pulumi.set(__self__, "data_collection_options", data_collection_options) + _setter("data_collection_options", data_collection_options) if data_storage_percentage is not None: - pulumi.set(__self__, "data_storage_percentage", data_storage_percentage) + _setter("data_storage_percentage", data_storage_percentage) if data_storage_size_in_gb is not None: - pulumi.set(__self__, "data_storage_size_in_gb", data_storage_size_in_gb) + _setter("data_storage_size_in_gb", data_storage_size_in_gb) if database_edition is not None: - pulumi.set(__self__, "database_edition", database_edition) + _setter("database_edition", database_edition) if db_home is not None: - pulumi.set(__self__, "db_home", db_home) + _setter("db_home", db_home) if db_system_options is not None: - pulumi.set(__self__, "db_system_options", db_system_options) + _setter("db_system_options", db_system_options) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if disk_redundancy is not None: - pulumi.set(__self__, "disk_redundancy", disk_redundancy) + _setter("disk_redundancy", disk_redundancy) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if domain is not None: - pulumi.set(__self__, "domain", domain) + _setter("domain", domain) if fault_domains is not None: - pulumi.set(__self__, "fault_domains", fault_domains) + _setter("fault_domains", fault_domains) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if hostname is not None: - pulumi.set(__self__, "hostname", hostname) + _setter("hostname", hostname) if iorm_config_caches is not None: - pulumi.set(__self__, "iorm_config_caches", iorm_config_caches) + _setter("iorm_config_caches", iorm_config_caches) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) if kms_key_version_id is not None: - pulumi.set(__self__, "kms_key_version_id", kms_key_version_id) + _setter("kms_key_version_id", kms_key_version_id) if last_maintenance_run_id is not None: - pulumi.set(__self__, "last_maintenance_run_id", last_maintenance_run_id) + _setter("last_maintenance_run_id", last_maintenance_run_id) if last_patch_history_entry_id is not None: - pulumi.set(__self__, "last_patch_history_entry_id", last_patch_history_entry_id) + _setter("last_patch_history_entry_id", last_patch_history_entry_id) if license_model is not None: - pulumi.set(__self__, "license_model", license_model) + _setter("license_model", license_model) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if listener_port is not None: - pulumi.set(__self__, "listener_port", listener_port) + _setter("listener_port", listener_port) if maintenance_window_details is not None: - pulumi.set(__self__, "maintenance_window_details", maintenance_window_details) + _setter("maintenance_window_details", maintenance_window_details) if maintenance_windows is not None: - pulumi.set(__self__, "maintenance_windows", maintenance_windows) + _setter("maintenance_windows", maintenance_windows) if memory_size_in_gbs is not None: - pulumi.set(__self__, "memory_size_in_gbs", memory_size_in_gbs) + _setter("memory_size_in_gbs", memory_size_in_gbs) if next_maintenance_run_id is not None: - pulumi.set(__self__, "next_maintenance_run_id", next_maintenance_run_id) + _setter("next_maintenance_run_id", next_maintenance_run_id) if node_count is not None: - pulumi.set(__self__, "node_count", node_count) + _setter("node_count", node_count) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) if os_version is not None: - pulumi.set(__self__, "os_version", os_version) + _setter("os_version", os_version) if point_in_time_data_disk_clone_timestamp is not None: - pulumi.set(__self__, "point_in_time_data_disk_clone_timestamp", point_in_time_data_disk_clone_timestamp) + _setter("point_in_time_data_disk_clone_timestamp", point_in_time_data_disk_clone_timestamp) if private_ip is not None: - pulumi.set(__self__, "private_ip", private_ip) + _setter("private_ip", private_ip) if reco_storage_size_in_gb is not None: - pulumi.set(__self__, "reco_storage_size_in_gb", reco_storage_size_in_gb) + _setter("reco_storage_size_in_gb", reco_storage_size_in_gb) if scan_dns_name is not None: - pulumi.set(__self__, "scan_dns_name", scan_dns_name) + _setter("scan_dns_name", scan_dns_name) if scan_dns_record_id is not None: - pulumi.set(__self__, "scan_dns_record_id", scan_dns_record_id) + _setter("scan_dns_record_id", scan_dns_record_id) if scan_ip_ids is not None: - pulumi.set(__self__, "scan_ip_ids", scan_ip_ids) + _setter("scan_ip_ids", scan_ip_ids) if shape is not None: - pulumi.set(__self__, "shape", shape) + _setter("shape", shape) if source is not None: - pulumi.set(__self__, "source", source) + _setter("source", source) if source_db_system_id is not None: - pulumi.set(__self__, "source_db_system_id", source_db_system_id) + _setter("source_db_system_id", source_db_system_id) if sparse_diskgroup is not None: - pulumi.set(__self__, "sparse_diskgroup", sparse_diskgroup) + _setter("sparse_diskgroup", sparse_diskgroup) if ssh_public_keys is not None: - pulumi.set(__self__, "ssh_public_keys", ssh_public_keys) + _setter("ssh_public_keys", ssh_public_keys) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if storage_volume_performance_mode is not None: - pulumi.set(__self__, "storage_volume_performance_mode", storage_volume_performance_mode) + _setter("storage_volume_performance_mode", storage_volume_performance_mode) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_zone is not None: - pulumi.set(__self__, "time_zone", time_zone) + _setter("time_zone", time_zone) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) if vip_ids is not None: - pulumi.set(__self__, "vip_ids", vip_ids) + _setter("vip_ids", vip_ids) if zone_id is not None: - pulumi.set(__self__, "zone_id", zone_id) + _setter("zone_id", zone_id) @property @pulumi.getter(name="availabilityDomain") @@ -1830,6 +2020,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DbSystemArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -1889,13 +2083,28 @@ def _internal_init(__self__, raise TypeError("Missing required property 'compartment_id'") __props__.__dict__["compartment_id"] = compartment_id __props__.__dict__["cpu_core_count"] = cpu_core_count + if data_collection_options is not None and not isinstance(data_collection_options, DbSystemDataCollectionOptionsArgs): + data_collection_options = data_collection_options or {} + def _setter(key, value): + data_collection_options[key] = value + DbSystemDataCollectionOptionsArgs._configure(_setter, **data_collection_options) __props__.__dict__["data_collection_options"] = data_collection_options __props__.__dict__["data_storage_percentage"] = data_storage_percentage __props__.__dict__["data_storage_size_in_gb"] = data_storage_size_in_gb __props__.__dict__["database_edition"] = database_edition + if db_home is not None and not isinstance(db_home, DbSystemDbHomeArgs): + db_home = db_home or {} + def _setter(key, value): + db_home[key] = value + DbSystemDbHomeArgs._configure(_setter, **db_home) if db_home is None and not opts.urn: raise TypeError("Missing required property 'db_home'") __props__.__dict__["db_home"] = db_home + if db_system_options is not None and not isinstance(db_system_options, DbSystemDbSystemOptionsArgs): + db_system_options = db_system_options or {} + def _setter(key, value): + db_system_options[key] = value + DbSystemDbSystemOptionsArgs._configure(_setter, **db_system_options) __props__.__dict__["db_system_options"] = db_system_options __props__.__dict__["defined_tags"] = defined_tags __props__.__dict__["disk_redundancy"] = disk_redundancy @@ -1909,6 +2118,11 @@ def _internal_init(__self__, __props__.__dict__["kms_key_id"] = kms_key_id __props__.__dict__["kms_key_version_id"] = kms_key_version_id __props__.__dict__["license_model"] = license_model + if maintenance_window_details is not None and not isinstance(maintenance_window_details, DbSystemMaintenanceWindowDetailsArgs): + maintenance_window_details = maintenance_window_details or {} + def _setter(key, value): + maintenance_window_details[key] = value + DbSystemMaintenanceWindowDetailsArgs._configure(_setter, **maintenance_window_details) __props__.__dict__["maintenance_window_details"] = maintenance_window_details __props__.__dict__["node_count"] = node_count __props__.__dict__["nsg_ids"] = nsg_ids diff --git a/sdk/python/pulumi_oci/database/db_systems_upgrade.py b/sdk/python/pulumi_oci/database/db_systems_upgrade.py index 39c26af287..286293f6b6 100644 --- a/sdk/python/pulumi_oci/database/db_systems_upgrade.py +++ b/sdk/python/pulumi_oci/database/db_systems_upgrade.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -33,14 +33,31 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "db_system_id", db_system_id) + DbSystemsUpgradeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + db_system_id=db_system_id, + is_snapshot_retention_days_force_updated=is_snapshot_retention_days_force_updated, + new_gi_version=new_gi_version, + snapshot_retention_period_in_days=snapshot_retention_period_in_days, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: pulumi.Input[str], + db_system_id: pulumi.Input[str], + is_snapshot_retention_days_force_updated: Optional[pulumi.Input[bool]] = None, + new_gi_version: Optional[pulumi.Input[str]] = None, + snapshot_retention_period_in_days: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("db_system_id", db_system_id) if is_snapshot_retention_days_force_updated is not None: - pulumi.set(__self__, "is_snapshot_retention_days_force_updated", is_snapshot_retention_days_force_updated) + _setter("is_snapshot_retention_days_force_updated", is_snapshot_retention_days_force_updated) if new_gi_version is not None: - pulumi.set(__self__, "new_gi_version", new_gi_version) + _setter("new_gi_version", new_gi_version) if snapshot_retention_period_in_days is not None: - pulumi.set(__self__, "snapshot_retention_period_in_days", snapshot_retention_period_in_days) + _setter("snapshot_retention_period_in_days", snapshot_retention_period_in_days) @property @pulumi.getter @@ -218,104 +235,209 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] vip_ids: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IP (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster. :param pulumi.Input[str] zone_id: The OCID of the zone the DB system is associated with. """ + _DbSystemsUpgradeState._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + availability_domain=availability_domain, + backup_network_nsg_ids=backup_network_nsg_ids, + backup_subnet_id=backup_subnet_id, + cluster_name=cluster_name, + compartment_id=compartment_id, + cpu_core_count=cpu_core_count, + data_storage_percentage=data_storage_percentage, + data_storage_size_in_gb=data_storage_size_in_gb, + database_edition=database_edition, + db_system_id=db_system_id, + db_system_options=db_system_options, + defined_tags=defined_tags, + disk_redundancy=disk_redundancy, + display_name=display_name, + domain=domain, + fault_domains=fault_domains, + freeform_tags=freeform_tags, + hostname=hostname, + iorm_config_caches=iorm_config_caches, + is_snapshot_retention_days_force_updated=is_snapshot_retention_days_force_updated, + kms_key_id=kms_key_id, + last_maintenance_run_id=last_maintenance_run_id, + last_patch_history_entry_id=last_patch_history_entry_id, + license_model=license_model, + lifecycle_details=lifecycle_details, + listener_port=listener_port, + maintenance_windows=maintenance_windows, + new_gi_version=new_gi_version, + next_maintenance_run_id=next_maintenance_run_id, + node_count=node_count, + nsg_ids=nsg_ids, + point_in_time_data_disk_clone_timestamp=point_in_time_data_disk_clone_timestamp, + reco_storage_size_in_gb=reco_storage_size_in_gb, + scan_dns_name=scan_dns_name, + scan_dns_record_id=scan_dns_record_id, + scan_ip_ids=scan_ip_ids, + shape=shape, + snapshot_retention_period_in_days=snapshot_retention_period_in_days, + source_db_system_id=source_db_system_id, + sparse_diskgroup=sparse_diskgroup, + ssh_public_keys=ssh_public_keys, + state=state, + subnet_id=subnet_id, + time_created=time_created, + time_zone=time_zone, + version=version, + vip_ids=vip_ids, + zone_id=zone_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: Optional[pulumi.Input[str]] = None, + availability_domain: Optional[pulumi.Input[str]] = None, + backup_network_nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + backup_subnet_id: Optional[pulumi.Input[str]] = None, + cluster_name: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + cpu_core_count: Optional[pulumi.Input[int]] = None, + data_storage_percentage: Optional[pulumi.Input[int]] = None, + data_storage_size_in_gb: Optional[pulumi.Input[int]] = None, + database_edition: Optional[pulumi.Input[str]] = None, + db_system_id: Optional[pulumi.Input[str]] = None, + db_system_options: Optional[pulumi.Input[Sequence[pulumi.Input['DbSystemsUpgradeDbSystemOptionArgs']]]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + disk_redundancy: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + domain: Optional[pulumi.Input[str]] = None, + fault_domains: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + hostname: Optional[pulumi.Input[str]] = None, + iorm_config_caches: Optional[pulumi.Input[Sequence[pulumi.Input['DbSystemsUpgradeIormConfigCachArgs']]]] = None, + is_snapshot_retention_days_force_updated: Optional[pulumi.Input[bool]] = None, + kms_key_id: Optional[pulumi.Input[str]] = None, + last_maintenance_run_id: Optional[pulumi.Input[str]] = None, + last_patch_history_entry_id: Optional[pulumi.Input[str]] = None, + license_model: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + listener_port: Optional[pulumi.Input[int]] = None, + maintenance_windows: Optional[pulumi.Input[Sequence[pulumi.Input['DbSystemsUpgradeMaintenanceWindowArgs']]]] = None, + new_gi_version: Optional[pulumi.Input[str]] = None, + next_maintenance_run_id: Optional[pulumi.Input[str]] = None, + node_count: Optional[pulumi.Input[int]] = None, + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + point_in_time_data_disk_clone_timestamp: Optional[pulumi.Input[str]] = None, + reco_storage_size_in_gb: Optional[pulumi.Input[int]] = None, + scan_dns_name: Optional[pulumi.Input[str]] = None, + scan_dns_record_id: Optional[pulumi.Input[str]] = None, + scan_ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + shape: Optional[pulumi.Input[str]] = None, + snapshot_retention_period_in_days: Optional[pulumi.Input[int]] = None, + source_db_system_id: Optional[pulumi.Input[str]] = None, + sparse_diskgroup: Optional[pulumi.Input[bool]] = None, + ssh_public_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + state: Optional[pulumi.Input[str]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_zone: Optional[pulumi.Input[str]] = None, + version: Optional[pulumi.Input[str]] = None, + vip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + zone_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if action is not None: - pulumi.set(__self__, "action", action) + _setter("action", action) if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if backup_network_nsg_ids is not None: - pulumi.set(__self__, "backup_network_nsg_ids", backup_network_nsg_ids) + _setter("backup_network_nsg_ids", backup_network_nsg_ids) if backup_subnet_id is not None: - pulumi.set(__self__, "backup_subnet_id", backup_subnet_id) + _setter("backup_subnet_id", backup_subnet_id) if cluster_name is not None: - pulumi.set(__self__, "cluster_name", cluster_name) + _setter("cluster_name", cluster_name) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if cpu_core_count is not None: - pulumi.set(__self__, "cpu_core_count", cpu_core_count) + _setter("cpu_core_count", cpu_core_count) if data_storage_percentage is not None: - pulumi.set(__self__, "data_storage_percentage", data_storage_percentage) + _setter("data_storage_percentage", data_storage_percentage) if data_storage_size_in_gb is not None: - pulumi.set(__self__, "data_storage_size_in_gb", data_storage_size_in_gb) + _setter("data_storage_size_in_gb", data_storage_size_in_gb) if database_edition is not None: - pulumi.set(__self__, "database_edition", database_edition) + _setter("database_edition", database_edition) if db_system_id is not None: - pulumi.set(__self__, "db_system_id", db_system_id) + _setter("db_system_id", db_system_id) if db_system_options is not None: - pulumi.set(__self__, "db_system_options", db_system_options) + _setter("db_system_options", db_system_options) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if disk_redundancy is not None: - pulumi.set(__self__, "disk_redundancy", disk_redundancy) + _setter("disk_redundancy", disk_redundancy) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if domain is not None: - pulumi.set(__self__, "domain", domain) + _setter("domain", domain) if fault_domains is not None: - pulumi.set(__self__, "fault_domains", fault_domains) + _setter("fault_domains", fault_domains) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if hostname is not None: - pulumi.set(__self__, "hostname", hostname) + _setter("hostname", hostname) if iorm_config_caches is not None: - pulumi.set(__self__, "iorm_config_caches", iorm_config_caches) + _setter("iorm_config_caches", iorm_config_caches) if is_snapshot_retention_days_force_updated is not None: - pulumi.set(__self__, "is_snapshot_retention_days_force_updated", is_snapshot_retention_days_force_updated) + _setter("is_snapshot_retention_days_force_updated", is_snapshot_retention_days_force_updated) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) if last_maintenance_run_id is not None: - pulumi.set(__self__, "last_maintenance_run_id", last_maintenance_run_id) + _setter("last_maintenance_run_id", last_maintenance_run_id) if last_patch_history_entry_id is not None: - pulumi.set(__self__, "last_patch_history_entry_id", last_patch_history_entry_id) + _setter("last_patch_history_entry_id", last_patch_history_entry_id) if license_model is not None: - pulumi.set(__self__, "license_model", license_model) + _setter("license_model", license_model) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if listener_port is not None: - pulumi.set(__self__, "listener_port", listener_port) + _setter("listener_port", listener_port) if maintenance_windows is not None: - pulumi.set(__self__, "maintenance_windows", maintenance_windows) + _setter("maintenance_windows", maintenance_windows) if new_gi_version is not None: - pulumi.set(__self__, "new_gi_version", new_gi_version) + _setter("new_gi_version", new_gi_version) if next_maintenance_run_id is not None: - pulumi.set(__self__, "next_maintenance_run_id", next_maintenance_run_id) + _setter("next_maintenance_run_id", next_maintenance_run_id) if node_count is not None: - pulumi.set(__self__, "node_count", node_count) + _setter("node_count", node_count) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) if point_in_time_data_disk_clone_timestamp is not None: - pulumi.set(__self__, "point_in_time_data_disk_clone_timestamp", point_in_time_data_disk_clone_timestamp) + _setter("point_in_time_data_disk_clone_timestamp", point_in_time_data_disk_clone_timestamp) if reco_storage_size_in_gb is not None: - pulumi.set(__self__, "reco_storage_size_in_gb", reco_storage_size_in_gb) + _setter("reco_storage_size_in_gb", reco_storage_size_in_gb) if scan_dns_name is not None: - pulumi.set(__self__, "scan_dns_name", scan_dns_name) + _setter("scan_dns_name", scan_dns_name) if scan_dns_record_id is not None: - pulumi.set(__self__, "scan_dns_record_id", scan_dns_record_id) + _setter("scan_dns_record_id", scan_dns_record_id) if scan_ip_ids is not None: - pulumi.set(__self__, "scan_ip_ids", scan_ip_ids) + _setter("scan_ip_ids", scan_ip_ids) if shape is not None: - pulumi.set(__self__, "shape", shape) + _setter("shape", shape) if snapshot_retention_period_in_days is not None: - pulumi.set(__self__, "snapshot_retention_period_in_days", snapshot_retention_period_in_days) + _setter("snapshot_retention_period_in_days", snapshot_retention_period_in_days) if source_db_system_id is not None: - pulumi.set(__self__, "source_db_system_id", source_db_system_id) + _setter("source_db_system_id", source_db_system_id) if sparse_diskgroup is not None: - pulumi.set(__self__, "sparse_diskgroup", sparse_diskgroup) + _setter("sparse_diskgroup", sparse_diskgroup) if ssh_public_keys is not None: - pulumi.set(__self__, "ssh_public_keys", ssh_public_keys) + _setter("ssh_public_keys", ssh_public_keys) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_zone is not None: - pulumi.set(__self__, "time_zone", time_zone) + _setter("time_zone", time_zone) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) if vip_ids is not None: - pulumi.set(__self__, "vip_ids", vip_ids) + _setter("vip_ids", vip_ids) if zone_id is not None: - pulumi.set(__self__, "zone_id", zone_id) + _setter("zone_id", zone_id) @property @pulumi.getter @@ -998,6 +1120,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DbSystemsUpgradeArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/database/exadata_infrastructure.py b/sdk/python/pulumi_oci/database/exadata_infrastructure.py index 0dd054dc77..a5e24c0a0a 100644 --- a/sdk/python/pulumi_oci/database/exadata_infrastructure.py +++ b/sdk/python/pulumi_oci/database/exadata_infrastructure.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -73,46 +73,105 @@ def __init__(__self__, *, :param pulumi.Input['ExadataInfrastructureNetworkBondingModeDetailsArgs'] network_bonding_mode_details: (Updatable) Details of bonding mode for Client and Backup and DR networks of an Exadata infrastructure. :param pulumi.Input[int] storage_count: The number of storage servers for the Exadata infrastructure. """ - pulumi.set(__self__, "admin_network_cidr", admin_network_cidr) - pulumi.set(__self__, "cloud_control_plane_server1", cloud_control_plane_server1) - pulumi.set(__self__, "cloud_control_plane_server2", cloud_control_plane_server2) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "dns_servers", dns_servers) - pulumi.set(__self__, "gateway", gateway) - pulumi.set(__self__, "infini_band_network_cidr", infini_band_network_cidr) - pulumi.set(__self__, "netmask", netmask) - pulumi.set(__self__, "ntp_servers", ntp_servers) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "time_zone", time_zone) + ExadataInfrastructureArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + admin_network_cidr=admin_network_cidr, + cloud_control_plane_server1=cloud_control_plane_server1, + cloud_control_plane_server2=cloud_control_plane_server2, + compartment_id=compartment_id, + display_name=display_name, + dns_servers=dns_servers, + gateway=gateway, + infini_band_network_cidr=infini_band_network_cidr, + netmask=netmask, + ntp_servers=ntp_servers, + shape=shape, + time_zone=time_zone, + activation_file=activation_file, + additional_storage_count=additional_storage_count, + compute_count=compute_count, + contacts=contacts, + corporate_proxy=corporate_proxy, + create_async=create_async, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + is_cps_offline_report_enabled=is_cps_offline_report_enabled, + is_multi_rack_deployment=is_multi_rack_deployment, + maintenance_window=maintenance_window, + multi_rack_configuration_file=multi_rack_configuration_file, + network_bonding_mode_details=network_bonding_mode_details, + storage_count=storage_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + admin_network_cidr: pulumi.Input[str], + cloud_control_plane_server1: pulumi.Input[str], + cloud_control_plane_server2: pulumi.Input[str], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + dns_servers: pulumi.Input[Sequence[pulumi.Input[str]]], + gateway: pulumi.Input[str], + infini_band_network_cidr: pulumi.Input[str], + netmask: pulumi.Input[str], + ntp_servers: pulumi.Input[Sequence[pulumi.Input[str]]], + shape: pulumi.Input[str], + time_zone: pulumi.Input[str], + activation_file: Optional[pulumi.Input[str]] = None, + additional_storage_count: Optional[pulumi.Input[int]] = None, + compute_count: Optional[pulumi.Input[int]] = None, + contacts: Optional[pulumi.Input[Sequence[pulumi.Input['ExadataInfrastructureContactArgs']]]] = None, + corporate_proxy: Optional[pulumi.Input[str]] = None, + create_async: Optional[pulumi.Input[bool]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_cps_offline_report_enabled: Optional[pulumi.Input[bool]] = None, + is_multi_rack_deployment: Optional[pulumi.Input[bool]] = None, + maintenance_window: Optional[pulumi.Input['ExadataInfrastructureMaintenanceWindowArgs']] = None, + multi_rack_configuration_file: Optional[pulumi.Input[str]] = None, + network_bonding_mode_details: Optional[pulumi.Input['ExadataInfrastructureNetworkBondingModeDetailsArgs']] = None, + storage_count: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("admin_network_cidr", admin_network_cidr) + _setter("cloud_control_plane_server1", cloud_control_plane_server1) + _setter("cloud_control_plane_server2", cloud_control_plane_server2) + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) + _setter("dns_servers", dns_servers) + _setter("gateway", gateway) + _setter("infini_band_network_cidr", infini_band_network_cidr) + _setter("netmask", netmask) + _setter("ntp_servers", ntp_servers) + _setter("shape", shape) + _setter("time_zone", time_zone) if activation_file is not None: - pulumi.set(__self__, "activation_file", activation_file) + _setter("activation_file", activation_file) if additional_storage_count is not None: - pulumi.set(__self__, "additional_storage_count", additional_storage_count) + _setter("additional_storage_count", additional_storage_count) if compute_count is not None: - pulumi.set(__self__, "compute_count", compute_count) + _setter("compute_count", compute_count) if contacts is not None: - pulumi.set(__self__, "contacts", contacts) + _setter("contacts", contacts) if corporate_proxy is not None: - pulumi.set(__self__, "corporate_proxy", corporate_proxy) + _setter("corporate_proxy", corporate_proxy) if create_async is not None: - pulumi.set(__self__, "create_async", create_async) + _setter("create_async", create_async) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_cps_offline_report_enabled is not None: - pulumi.set(__self__, "is_cps_offline_report_enabled", is_cps_offline_report_enabled) + _setter("is_cps_offline_report_enabled", is_cps_offline_report_enabled) if is_multi_rack_deployment is not None: - pulumi.set(__self__, "is_multi_rack_deployment", is_multi_rack_deployment) + _setter("is_multi_rack_deployment", is_multi_rack_deployment) if maintenance_window is not None: - pulumi.set(__self__, "maintenance_window", maintenance_window) + _setter("maintenance_window", maintenance_window) if multi_rack_configuration_file is not None: - pulumi.set(__self__, "multi_rack_configuration_file", multi_rack_configuration_file) + _setter("multi_rack_configuration_file", multi_rack_configuration_file) if network_bonding_mode_details is not None: - pulumi.set(__self__, "network_bonding_mode_details", network_bonding_mode_details) + _setter("network_bonding_mode_details", network_bonding_mode_details) if storage_count is not None: - pulumi.set(__self__, "storage_count", storage_count) + _setter("storage_count", storage_count) @property @pulumi.getter(name="adminNetworkCidr") @@ -529,100 +588,201 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the Exadata infrastructure was created. :param pulumi.Input[str] time_zone: (Updatable) The time zone of the Exadata infrastructure. For details, see [Exadata Infrastructure Time Zones](https://docs.cloud.oracle.com/iaas/Content/Database/References/timezones.htm). """ + _ExadataInfrastructureState._configure( + lambda key, value: pulumi.set(__self__, key, value), + activated_storage_count=activated_storage_count, + activation_file=activation_file, + additional_compute_count=additional_compute_count, + additional_compute_system_model=additional_compute_system_model, + additional_storage_count=additional_storage_count, + admin_network_cidr=admin_network_cidr, + availability_domain=availability_domain, + cloud_control_plane_server1=cloud_control_plane_server1, + cloud_control_plane_server2=cloud_control_plane_server2, + compartment_id=compartment_id, + compute_count=compute_count, + contacts=contacts, + corporate_proxy=corporate_proxy, + cpus_enabled=cpus_enabled, + create_async=create_async, + csi_number=csi_number, + data_storage_size_in_tbs=data_storage_size_in_tbs, + db_node_storage_size_in_gbs=db_node_storage_size_in_gbs, + db_server_version=db_server_version, + defined_tags=defined_tags, + display_name=display_name, + dns_servers=dns_servers, + freeform_tags=freeform_tags, + gateway=gateway, + infini_band_network_cidr=infini_band_network_cidr, + is_cps_offline_report_enabled=is_cps_offline_report_enabled, + is_multi_rack_deployment=is_multi_rack_deployment, + lifecycle_details=lifecycle_details, + maintenance_slo_status=maintenance_slo_status, + maintenance_window=maintenance_window, + max_cpu_count=max_cpu_count, + max_data_storage_in_tbs=max_data_storage_in_tbs, + max_db_node_storage_in_gbs=max_db_node_storage_in_gbs, + max_memory_in_gbs=max_memory_in_gbs, + memory_size_in_gbs=memory_size_in_gbs, + monthly_db_server_version=monthly_db_server_version, + multi_rack_configuration_file=multi_rack_configuration_file, + netmask=netmask, + network_bonding_mode_details=network_bonding_mode_details, + ntp_servers=ntp_servers, + rack_serial_number=rack_serial_number, + shape=shape, + state=state, + storage_count=storage_count, + storage_server_version=storage_server_version, + time_created=time_created, + time_zone=time_zone, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + activated_storage_count: Optional[pulumi.Input[int]] = None, + activation_file: Optional[pulumi.Input[str]] = None, + additional_compute_count: Optional[pulumi.Input[int]] = None, + additional_compute_system_model: Optional[pulumi.Input[str]] = None, + additional_storage_count: Optional[pulumi.Input[int]] = None, + admin_network_cidr: Optional[pulumi.Input[str]] = None, + availability_domain: Optional[pulumi.Input[str]] = None, + cloud_control_plane_server1: Optional[pulumi.Input[str]] = None, + cloud_control_plane_server2: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + compute_count: Optional[pulumi.Input[int]] = None, + contacts: Optional[pulumi.Input[Sequence[pulumi.Input['ExadataInfrastructureContactArgs']]]] = None, + corporate_proxy: Optional[pulumi.Input[str]] = None, + cpus_enabled: Optional[pulumi.Input[int]] = None, + create_async: Optional[pulumi.Input[bool]] = None, + csi_number: Optional[pulumi.Input[str]] = None, + data_storage_size_in_tbs: Optional[pulumi.Input[float]] = None, + db_node_storage_size_in_gbs: Optional[pulumi.Input[int]] = None, + db_server_version: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + dns_servers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + gateway: Optional[pulumi.Input[str]] = None, + infini_band_network_cidr: Optional[pulumi.Input[str]] = None, + is_cps_offline_report_enabled: Optional[pulumi.Input[bool]] = None, + is_multi_rack_deployment: Optional[pulumi.Input[bool]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + maintenance_slo_status: Optional[pulumi.Input[str]] = None, + maintenance_window: Optional[pulumi.Input['ExadataInfrastructureMaintenanceWindowArgs']] = None, + max_cpu_count: Optional[pulumi.Input[int]] = None, + max_data_storage_in_tbs: Optional[pulumi.Input[float]] = None, + max_db_node_storage_in_gbs: Optional[pulumi.Input[int]] = None, + max_memory_in_gbs: Optional[pulumi.Input[int]] = None, + memory_size_in_gbs: Optional[pulumi.Input[int]] = None, + monthly_db_server_version: Optional[pulumi.Input[str]] = None, + multi_rack_configuration_file: Optional[pulumi.Input[str]] = None, + netmask: Optional[pulumi.Input[str]] = None, + network_bonding_mode_details: Optional[pulumi.Input['ExadataInfrastructureNetworkBondingModeDetailsArgs']] = None, + ntp_servers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + rack_serial_number: Optional[pulumi.Input[str]] = None, + shape: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + storage_count: Optional[pulumi.Input[int]] = None, + storage_server_version: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_zone: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if activated_storage_count is not None: - pulumi.set(__self__, "activated_storage_count", activated_storage_count) + _setter("activated_storage_count", activated_storage_count) if activation_file is not None: - pulumi.set(__self__, "activation_file", activation_file) + _setter("activation_file", activation_file) if additional_compute_count is not None: - pulumi.set(__self__, "additional_compute_count", additional_compute_count) + _setter("additional_compute_count", additional_compute_count) if additional_compute_system_model is not None: - pulumi.set(__self__, "additional_compute_system_model", additional_compute_system_model) + _setter("additional_compute_system_model", additional_compute_system_model) if additional_storage_count is not None: - pulumi.set(__self__, "additional_storage_count", additional_storage_count) + _setter("additional_storage_count", additional_storage_count) if admin_network_cidr is not None: - pulumi.set(__self__, "admin_network_cidr", admin_network_cidr) + _setter("admin_network_cidr", admin_network_cidr) if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if cloud_control_plane_server1 is not None: - pulumi.set(__self__, "cloud_control_plane_server1", cloud_control_plane_server1) + _setter("cloud_control_plane_server1", cloud_control_plane_server1) if cloud_control_plane_server2 is not None: - pulumi.set(__self__, "cloud_control_plane_server2", cloud_control_plane_server2) + _setter("cloud_control_plane_server2", cloud_control_plane_server2) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if compute_count is not None: - pulumi.set(__self__, "compute_count", compute_count) + _setter("compute_count", compute_count) if contacts is not None: - pulumi.set(__self__, "contacts", contacts) + _setter("contacts", contacts) if corporate_proxy is not None: - pulumi.set(__self__, "corporate_proxy", corporate_proxy) + _setter("corporate_proxy", corporate_proxy) if cpus_enabled is not None: - pulumi.set(__self__, "cpus_enabled", cpus_enabled) + _setter("cpus_enabled", cpus_enabled) if create_async is not None: - pulumi.set(__self__, "create_async", create_async) + _setter("create_async", create_async) if csi_number is not None: - pulumi.set(__self__, "csi_number", csi_number) + _setter("csi_number", csi_number) if data_storage_size_in_tbs is not None: - pulumi.set(__self__, "data_storage_size_in_tbs", data_storage_size_in_tbs) + _setter("data_storage_size_in_tbs", data_storage_size_in_tbs) if db_node_storage_size_in_gbs is not None: - pulumi.set(__self__, "db_node_storage_size_in_gbs", db_node_storage_size_in_gbs) + _setter("db_node_storage_size_in_gbs", db_node_storage_size_in_gbs) if db_server_version is not None: - pulumi.set(__self__, "db_server_version", db_server_version) + _setter("db_server_version", db_server_version) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if dns_servers is not None: - pulumi.set(__self__, "dns_servers", dns_servers) + _setter("dns_servers", dns_servers) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if gateway is not None: - pulumi.set(__self__, "gateway", gateway) + _setter("gateway", gateway) if infini_band_network_cidr is not None: - pulumi.set(__self__, "infini_band_network_cidr", infini_band_network_cidr) + _setter("infini_band_network_cidr", infini_band_network_cidr) if is_cps_offline_report_enabled is not None: - pulumi.set(__self__, "is_cps_offline_report_enabled", is_cps_offline_report_enabled) + _setter("is_cps_offline_report_enabled", is_cps_offline_report_enabled) if is_multi_rack_deployment is not None: - pulumi.set(__self__, "is_multi_rack_deployment", is_multi_rack_deployment) + _setter("is_multi_rack_deployment", is_multi_rack_deployment) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if maintenance_slo_status is not None: - pulumi.set(__self__, "maintenance_slo_status", maintenance_slo_status) + _setter("maintenance_slo_status", maintenance_slo_status) if maintenance_window is not None: - pulumi.set(__self__, "maintenance_window", maintenance_window) + _setter("maintenance_window", maintenance_window) if max_cpu_count is not None: - pulumi.set(__self__, "max_cpu_count", max_cpu_count) + _setter("max_cpu_count", max_cpu_count) if max_data_storage_in_tbs is not None: - pulumi.set(__self__, "max_data_storage_in_tbs", max_data_storage_in_tbs) + _setter("max_data_storage_in_tbs", max_data_storage_in_tbs) if max_db_node_storage_in_gbs is not None: - pulumi.set(__self__, "max_db_node_storage_in_gbs", max_db_node_storage_in_gbs) + _setter("max_db_node_storage_in_gbs", max_db_node_storage_in_gbs) if max_memory_in_gbs is not None: - pulumi.set(__self__, "max_memory_in_gbs", max_memory_in_gbs) + _setter("max_memory_in_gbs", max_memory_in_gbs) if memory_size_in_gbs is not None: - pulumi.set(__self__, "memory_size_in_gbs", memory_size_in_gbs) + _setter("memory_size_in_gbs", memory_size_in_gbs) if monthly_db_server_version is not None: - pulumi.set(__self__, "monthly_db_server_version", monthly_db_server_version) + _setter("monthly_db_server_version", monthly_db_server_version) if multi_rack_configuration_file is not None: - pulumi.set(__self__, "multi_rack_configuration_file", multi_rack_configuration_file) + _setter("multi_rack_configuration_file", multi_rack_configuration_file) if netmask is not None: - pulumi.set(__self__, "netmask", netmask) + _setter("netmask", netmask) if network_bonding_mode_details is not None: - pulumi.set(__self__, "network_bonding_mode_details", network_bonding_mode_details) + _setter("network_bonding_mode_details", network_bonding_mode_details) if ntp_servers is not None: - pulumi.set(__self__, "ntp_servers", ntp_servers) + _setter("ntp_servers", ntp_servers) if rack_serial_number is not None: - pulumi.set(__self__, "rack_serial_number", rack_serial_number) + _setter("rack_serial_number", rack_serial_number) if shape is not None: - pulumi.set(__self__, "shape", shape) + _setter("shape", shape) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if storage_count is not None: - pulumi.set(__self__, "storage_count", storage_count) + _setter("storage_count", storage_count) if storage_server_version is not None: - pulumi.set(__self__, "storage_server_version", storage_server_version) + _setter("storage_server_version", storage_server_version) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_zone is not None: - pulumi.set(__self__, "time_zone", time_zone) + _setter("time_zone", time_zone) @property @pulumi.getter(name="activatedStorageCount") @@ -1416,6 +1576,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ExadataInfrastructureArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -1490,11 +1654,21 @@ def _internal_init(__self__, __props__.__dict__["infini_band_network_cidr"] = infini_band_network_cidr __props__.__dict__["is_cps_offline_report_enabled"] = is_cps_offline_report_enabled __props__.__dict__["is_multi_rack_deployment"] = is_multi_rack_deployment + if maintenance_window is not None and not isinstance(maintenance_window, ExadataInfrastructureMaintenanceWindowArgs): + maintenance_window = maintenance_window or {} + def _setter(key, value): + maintenance_window[key] = value + ExadataInfrastructureMaintenanceWindowArgs._configure(_setter, **maintenance_window) __props__.__dict__["maintenance_window"] = maintenance_window __props__.__dict__["multi_rack_configuration_file"] = multi_rack_configuration_file if netmask is None and not opts.urn: raise TypeError("Missing required property 'netmask'") __props__.__dict__["netmask"] = netmask + if network_bonding_mode_details is not None and not isinstance(network_bonding_mode_details, ExadataInfrastructureNetworkBondingModeDetailsArgs): + network_bonding_mode_details = network_bonding_mode_details or {} + def _setter(key, value): + network_bonding_mode_details[key] = value + ExadataInfrastructureNetworkBondingModeDetailsArgs._configure(_setter, **network_bonding_mode_details) __props__.__dict__["network_bonding_mode_details"] = network_bonding_mode_details if ntp_servers is None and not opts.urn: raise TypeError("Missing required property 'ntp_servers'") diff --git a/sdk/python/pulumi_oci/database/exadata_infrastructure_compute.py b/sdk/python/pulumi_oci/database/exadata_infrastructure_compute.py index 0c59d74806..58604b311b 100644 --- a/sdk/python/pulumi_oci/database/exadata_infrastructure_compute.py +++ b/sdk/python/pulumi_oci/database/exadata_infrastructure_compute.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -24,13 +24,28 @@ def __init__(__self__, *, The set of arguments for constructing a ExadataInfrastructureCompute resource. :param pulumi.Input[str] exadata_infrastructure_id: The Exadata infrastructure [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). """ - pulumi.set(__self__, "exadata_infrastructure_id", exadata_infrastructure_id) + ExadataInfrastructureComputeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + exadata_infrastructure_id=exadata_infrastructure_id, + activation_file=activation_file, + additional_compute_count_compute_managed_resource=additional_compute_count_compute_managed_resource, + additional_compute_system_model_compute_managed_resource=additional_compute_system_model_compute_managed_resource, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + exadata_infrastructure_id: pulumi.Input[str], + activation_file: Optional[pulumi.Input[str]] = None, + additional_compute_count_compute_managed_resource: Optional[pulumi.Input[int]] = None, + additional_compute_system_model_compute_managed_resource: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("exadata_infrastructure_id", exadata_infrastructure_id) if activation_file is not None: - pulumi.set(__self__, "activation_file", activation_file) + _setter("activation_file", activation_file) if additional_compute_count_compute_managed_resource is not None: - pulumi.set(__self__, "additional_compute_count_compute_managed_resource", additional_compute_count_compute_managed_resource) + _setter("additional_compute_count_compute_managed_resource", additional_compute_count_compute_managed_resource) if additional_compute_system_model_compute_managed_resource is not None: - pulumi.set(__self__, "additional_compute_system_model_compute_managed_resource", additional_compute_system_model_compute_managed_resource) + _setter("additional_compute_system_model_compute_managed_resource", additional_compute_system_model_compute_managed_resource) @property @pulumi.getter(name="exadataInfrastructureId") @@ -164,96 +179,193 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the Exadata infrastructure was created. :param pulumi.Input[str] time_zone: The time zone of the Exadata infrastructure. For details, see [Exadata Infrastructure Time Zones](https://docs.cloud.oracle.com/iaas/Content/Database/References/timezones.htm). """ + _ExadataInfrastructureComputeState._configure( + lambda key, value: pulumi.set(__self__, key, value), + activated_storage_count=activated_storage_count, + activation_file=activation_file, + additional_compute_count=additional_compute_count, + additional_compute_count_compute_managed_resource=additional_compute_count_compute_managed_resource, + additional_compute_system_model=additional_compute_system_model, + additional_compute_system_model_compute_managed_resource=additional_compute_system_model_compute_managed_resource, + additional_storage_count=additional_storage_count, + admin_network_cidr=admin_network_cidr, + cloud_control_plane_server1=cloud_control_plane_server1, + cloud_control_plane_server2=cloud_control_plane_server2, + compartment_id=compartment_id, + compute_count=compute_count, + contacts=contacts, + corporate_proxy=corporate_proxy, + cpus_enabled=cpus_enabled, + create_async=create_async, + csi_number=csi_number, + data_storage_size_in_tbs=data_storage_size_in_tbs, + db_node_storage_size_in_gbs=db_node_storage_size_in_gbs, + db_server_version=db_server_version, + defined_tags=defined_tags, + display_name=display_name, + dns_servers=dns_servers, + exadata_infrastructure_id=exadata_infrastructure_id, + freeform_tags=freeform_tags, + gateway=gateway, + infini_band_network_cidr=infini_band_network_cidr, + is_cps_offline_report_enabled=is_cps_offline_report_enabled, + lifecycle_details=lifecycle_details, + maintenance_slo_status=maintenance_slo_status, + maintenance_windows=maintenance_windows, + max_cpu_count=max_cpu_count, + max_data_storage_in_tbs=max_data_storage_in_tbs, + max_db_node_storage_in_gbs=max_db_node_storage_in_gbs, + max_memory_in_gbs=max_memory_in_gbs, + memory_size_in_gbs=memory_size_in_gbs, + monthly_db_server_version=monthly_db_server_version, + netmask=netmask, + ntp_servers=ntp_servers, + shape=shape, + state=state, + storage_count=storage_count, + storage_server_version=storage_server_version, + time_created=time_created, + time_zone=time_zone, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + activated_storage_count: Optional[pulumi.Input[int]] = None, + activation_file: Optional[pulumi.Input[str]] = None, + additional_compute_count: Optional[pulumi.Input[int]] = None, + additional_compute_count_compute_managed_resource: Optional[pulumi.Input[int]] = None, + additional_compute_system_model: Optional[pulumi.Input[str]] = None, + additional_compute_system_model_compute_managed_resource: Optional[pulumi.Input[str]] = None, + additional_storage_count: Optional[pulumi.Input[int]] = None, + admin_network_cidr: Optional[pulumi.Input[str]] = None, + cloud_control_plane_server1: Optional[pulumi.Input[str]] = None, + cloud_control_plane_server2: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + compute_count: Optional[pulumi.Input[int]] = None, + contacts: Optional[pulumi.Input[Sequence[pulumi.Input['ExadataInfrastructureComputeContactArgs']]]] = None, + corporate_proxy: Optional[pulumi.Input[str]] = None, + cpus_enabled: Optional[pulumi.Input[int]] = None, + create_async: Optional[pulumi.Input[bool]] = None, + csi_number: Optional[pulumi.Input[str]] = None, + data_storage_size_in_tbs: Optional[pulumi.Input[float]] = None, + db_node_storage_size_in_gbs: Optional[pulumi.Input[int]] = None, + db_server_version: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + dns_servers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + exadata_infrastructure_id: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + gateway: Optional[pulumi.Input[str]] = None, + infini_band_network_cidr: Optional[pulumi.Input[str]] = None, + is_cps_offline_report_enabled: Optional[pulumi.Input[bool]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + maintenance_slo_status: Optional[pulumi.Input[str]] = None, + maintenance_windows: Optional[pulumi.Input[Sequence[pulumi.Input['ExadataInfrastructureComputeMaintenanceWindowArgs']]]] = None, + max_cpu_count: Optional[pulumi.Input[int]] = None, + max_data_storage_in_tbs: Optional[pulumi.Input[float]] = None, + max_db_node_storage_in_gbs: Optional[pulumi.Input[int]] = None, + max_memory_in_gbs: Optional[pulumi.Input[int]] = None, + memory_size_in_gbs: Optional[pulumi.Input[int]] = None, + monthly_db_server_version: Optional[pulumi.Input[str]] = None, + netmask: Optional[pulumi.Input[str]] = None, + ntp_servers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + shape: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + storage_count: Optional[pulumi.Input[int]] = None, + storage_server_version: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_zone: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if activated_storage_count is not None: - pulumi.set(__self__, "activated_storage_count", activated_storage_count) + _setter("activated_storage_count", activated_storage_count) if activation_file is not None: - pulumi.set(__self__, "activation_file", activation_file) + _setter("activation_file", activation_file) if additional_compute_count is not None: - pulumi.set(__self__, "additional_compute_count", additional_compute_count) + _setter("additional_compute_count", additional_compute_count) if additional_compute_count_compute_managed_resource is not None: - pulumi.set(__self__, "additional_compute_count_compute_managed_resource", additional_compute_count_compute_managed_resource) + _setter("additional_compute_count_compute_managed_resource", additional_compute_count_compute_managed_resource) if additional_compute_system_model is not None: - pulumi.set(__self__, "additional_compute_system_model", additional_compute_system_model) + _setter("additional_compute_system_model", additional_compute_system_model) if additional_compute_system_model_compute_managed_resource is not None: - pulumi.set(__self__, "additional_compute_system_model_compute_managed_resource", additional_compute_system_model_compute_managed_resource) + _setter("additional_compute_system_model_compute_managed_resource", additional_compute_system_model_compute_managed_resource) if additional_storage_count is not None: - pulumi.set(__self__, "additional_storage_count", additional_storage_count) + _setter("additional_storage_count", additional_storage_count) if admin_network_cidr is not None: - pulumi.set(__self__, "admin_network_cidr", admin_network_cidr) + _setter("admin_network_cidr", admin_network_cidr) if cloud_control_plane_server1 is not None: - pulumi.set(__self__, "cloud_control_plane_server1", cloud_control_plane_server1) + _setter("cloud_control_plane_server1", cloud_control_plane_server1) if cloud_control_plane_server2 is not None: - pulumi.set(__self__, "cloud_control_plane_server2", cloud_control_plane_server2) + _setter("cloud_control_plane_server2", cloud_control_plane_server2) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if compute_count is not None: - pulumi.set(__self__, "compute_count", compute_count) + _setter("compute_count", compute_count) if contacts is not None: - pulumi.set(__self__, "contacts", contacts) + _setter("contacts", contacts) if corporate_proxy is not None: - pulumi.set(__self__, "corporate_proxy", corporate_proxy) + _setter("corporate_proxy", corporate_proxy) if cpus_enabled is not None: - pulumi.set(__self__, "cpus_enabled", cpus_enabled) + _setter("cpus_enabled", cpus_enabled) if create_async is not None: - pulumi.set(__self__, "create_async", create_async) + _setter("create_async", create_async) if csi_number is not None: - pulumi.set(__self__, "csi_number", csi_number) + _setter("csi_number", csi_number) if data_storage_size_in_tbs is not None: - pulumi.set(__self__, "data_storage_size_in_tbs", data_storage_size_in_tbs) + _setter("data_storage_size_in_tbs", data_storage_size_in_tbs) if db_node_storage_size_in_gbs is not None: - pulumi.set(__self__, "db_node_storage_size_in_gbs", db_node_storage_size_in_gbs) + _setter("db_node_storage_size_in_gbs", db_node_storage_size_in_gbs) if db_server_version is not None: - pulumi.set(__self__, "db_server_version", db_server_version) + _setter("db_server_version", db_server_version) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if dns_servers is not None: - pulumi.set(__self__, "dns_servers", dns_servers) + _setter("dns_servers", dns_servers) if exadata_infrastructure_id is not None: - pulumi.set(__self__, "exadata_infrastructure_id", exadata_infrastructure_id) + _setter("exadata_infrastructure_id", exadata_infrastructure_id) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if gateway is not None: - pulumi.set(__self__, "gateway", gateway) + _setter("gateway", gateway) if infini_band_network_cidr is not None: - pulumi.set(__self__, "infini_band_network_cidr", infini_band_network_cidr) + _setter("infini_band_network_cidr", infini_band_network_cidr) if is_cps_offline_report_enabled is not None: - pulumi.set(__self__, "is_cps_offline_report_enabled", is_cps_offline_report_enabled) + _setter("is_cps_offline_report_enabled", is_cps_offline_report_enabled) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if maintenance_slo_status is not None: - pulumi.set(__self__, "maintenance_slo_status", maintenance_slo_status) + _setter("maintenance_slo_status", maintenance_slo_status) if maintenance_windows is not None: - pulumi.set(__self__, "maintenance_windows", maintenance_windows) + _setter("maintenance_windows", maintenance_windows) if max_cpu_count is not None: - pulumi.set(__self__, "max_cpu_count", max_cpu_count) + _setter("max_cpu_count", max_cpu_count) if max_data_storage_in_tbs is not None: - pulumi.set(__self__, "max_data_storage_in_tbs", max_data_storage_in_tbs) + _setter("max_data_storage_in_tbs", max_data_storage_in_tbs) if max_db_node_storage_in_gbs is not None: - pulumi.set(__self__, "max_db_node_storage_in_gbs", max_db_node_storage_in_gbs) + _setter("max_db_node_storage_in_gbs", max_db_node_storage_in_gbs) if max_memory_in_gbs is not None: - pulumi.set(__self__, "max_memory_in_gbs", max_memory_in_gbs) + _setter("max_memory_in_gbs", max_memory_in_gbs) if memory_size_in_gbs is not None: - pulumi.set(__self__, "memory_size_in_gbs", memory_size_in_gbs) + _setter("memory_size_in_gbs", memory_size_in_gbs) if monthly_db_server_version is not None: - pulumi.set(__self__, "monthly_db_server_version", monthly_db_server_version) + _setter("monthly_db_server_version", monthly_db_server_version) if netmask is not None: - pulumi.set(__self__, "netmask", netmask) + _setter("netmask", netmask) if ntp_servers is not None: - pulumi.set(__self__, "ntp_servers", ntp_servers) + _setter("ntp_servers", ntp_servers) if shape is not None: - pulumi.set(__self__, "shape", shape) + _setter("shape", shape) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if storage_count is not None: - pulumi.set(__self__, "storage_count", storage_count) + _setter("storage_count", storage_count) if storage_server_version is not None: - pulumi.set(__self__, "storage_server_version", storage_server_version) + _setter("storage_server_version", storage_server_version) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_zone is not None: - pulumi.set(__self__, "time_zone", time_zone) + _setter("time_zone", time_zone) @property @pulumi.getter(name="activatedStorageCount") @@ -844,6 +956,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ExadataInfrastructureComputeArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/database/exadata_infrastructure_storage.py b/sdk/python/pulumi_oci/database/exadata_infrastructure_storage.py index 5a50d5d35f..cab0f73eec 100644 --- a/sdk/python/pulumi_oci/database/exadata_infrastructure_storage.py +++ b/sdk/python/pulumi_oci/database/exadata_infrastructure_storage.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -40,36 +40,85 @@ def __init__(__self__, *, """ The set of arguments for constructing a ExadataInfrastructureStorage resource. """ - pulumi.set(__self__, "admin_network_cidr", admin_network_cidr) - pulumi.set(__self__, "cloud_control_plane_server1", cloud_control_plane_server1) - pulumi.set(__self__, "cloud_control_plane_server2", cloud_control_plane_server2) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "dns_servers", dns_servers) - pulumi.set(__self__, "gateway", gateway) - pulumi.set(__self__, "infini_band_network_cidr", infini_band_network_cidr) - pulumi.set(__self__, "netmask", netmask) - pulumi.set(__self__, "ntp_servers", ntp_servers) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "time_zone", time_zone) + ExadataInfrastructureStorageArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + admin_network_cidr=admin_network_cidr, + cloud_control_plane_server1=cloud_control_plane_server1, + cloud_control_plane_server2=cloud_control_plane_server2, + compartment_id=compartment_id, + display_name=display_name, + dns_servers=dns_servers, + gateway=gateway, + infini_band_network_cidr=infini_band_network_cidr, + netmask=netmask, + ntp_servers=ntp_servers, + shape=shape, + time_zone=time_zone, + activation_file=activation_file, + compute_count=compute_count, + contacts=contacts, + corporate_proxy=corporate_proxy, + defined_tags=defined_tags, + exadata_infrastructure_id=exadata_infrastructure_id, + freeform_tags=freeform_tags, + maintenance_window=maintenance_window, + storage_count=storage_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + admin_network_cidr: pulumi.Input[str], + cloud_control_plane_server1: pulumi.Input[str], + cloud_control_plane_server2: pulumi.Input[str], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + dns_servers: pulumi.Input[Sequence[pulumi.Input[str]]], + gateway: pulumi.Input[str], + infini_band_network_cidr: pulumi.Input[str], + netmask: pulumi.Input[str], + ntp_servers: pulumi.Input[Sequence[pulumi.Input[str]]], + shape: pulumi.Input[str], + time_zone: pulumi.Input[str], + activation_file: Optional[pulumi.Input[str]] = None, + compute_count: Optional[pulumi.Input[int]] = None, + contacts: Optional[pulumi.Input[Sequence[pulumi.Input['ExadataInfrastructureStorageContactArgs']]]] = None, + corporate_proxy: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + exadata_infrastructure_id: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + maintenance_window: Optional[pulumi.Input['ExadataInfrastructureStorageMaintenanceWindowArgs']] = None, + storage_count: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("admin_network_cidr", admin_network_cidr) + _setter("cloud_control_plane_server1", cloud_control_plane_server1) + _setter("cloud_control_plane_server2", cloud_control_plane_server2) + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) + _setter("dns_servers", dns_servers) + _setter("gateway", gateway) + _setter("infini_band_network_cidr", infini_band_network_cidr) + _setter("netmask", netmask) + _setter("ntp_servers", ntp_servers) + _setter("shape", shape) + _setter("time_zone", time_zone) if activation_file is not None: - pulumi.set(__self__, "activation_file", activation_file) + _setter("activation_file", activation_file) if compute_count is not None: - pulumi.set(__self__, "compute_count", compute_count) + _setter("compute_count", compute_count) if contacts is not None: - pulumi.set(__self__, "contacts", contacts) + _setter("contacts", contacts) if corporate_proxy is not None: - pulumi.set(__self__, "corporate_proxy", corporate_proxy) + _setter("corporate_proxy", corporate_proxy) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if exadata_infrastructure_id is not None: - pulumi.set(__self__, "exadata_infrastructure_id", exadata_infrastructure_id) + _setter("exadata_infrastructure_id", exadata_infrastructure_id) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if maintenance_window is not None: - pulumi.set(__self__, "maintenance_window", maintenance_window) + _setter("maintenance_window", maintenance_window) if storage_count is not None: - pulumi.set(__self__, "storage_count", storage_count) + _setter("storage_count", storage_count) @property @pulumi.getter(name="adminNetworkCidr") @@ -303,78 +352,157 @@ def __init__(__self__, *, """ Input properties used for looking up and filtering ExadataInfrastructureStorage resources. """ + _ExadataInfrastructureStorageState._configure( + lambda key, value: pulumi.set(__self__, key, value), + activated_storage_count=activated_storage_count, + activation_file=activation_file, + additional_storage_count=additional_storage_count, + admin_network_cidr=admin_network_cidr, + cloud_control_plane_server1=cloud_control_plane_server1, + cloud_control_plane_server2=cloud_control_plane_server2, + compartment_id=compartment_id, + compute_count=compute_count, + contacts=contacts, + corporate_proxy=corporate_proxy, + cpus_enabled=cpus_enabled, + csi_number=csi_number, + data_storage_size_in_tbs=data_storage_size_in_tbs, + db_node_storage_size_in_gbs=db_node_storage_size_in_gbs, + defined_tags=defined_tags, + display_name=display_name, + dns_servers=dns_servers, + exadata_infrastructure_id=exadata_infrastructure_id, + freeform_tags=freeform_tags, + gateway=gateway, + infini_band_network_cidr=infini_band_network_cidr, + lifecycle_details=lifecycle_details, + maintenance_slo_status=maintenance_slo_status, + maintenance_window=maintenance_window, + max_cpu_count=max_cpu_count, + max_data_storage_in_tbs=max_data_storage_in_tbs, + max_db_node_storage_in_gbs=max_db_node_storage_in_gbs, + max_memory_in_gbs=max_memory_in_gbs, + memory_size_in_gbs=memory_size_in_gbs, + netmask=netmask, + ntp_servers=ntp_servers, + shape=shape, + state=state, + storage_count=storage_count, + time_created=time_created, + time_zone=time_zone, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + activated_storage_count: Optional[pulumi.Input[int]] = None, + activation_file: Optional[pulumi.Input[str]] = None, + additional_storage_count: Optional[pulumi.Input[int]] = None, + admin_network_cidr: Optional[pulumi.Input[str]] = None, + cloud_control_plane_server1: Optional[pulumi.Input[str]] = None, + cloud_control_plane_server2: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + compute_count: Optional[pulumi.Input[int]] = None, + contacts: Optional[pulumi.Input[Sequence[pulumi.Input['ExadataInfrastructureStorageContactArgs']]]] = None, + corporate_proxy: Optional[pulumi.Input[str]] = None, + cpus_enabled: Optional[pulumi.Input[int]] = None, + csi_number: Optional[pulumi.Input[str]] = None, + data_storage_size_in_tbs: Optional[pulumi.Input[float]] = None, + db_node_storage_size_in_gbs: Optional[pulumi.Input[int]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + dns_servers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + exadata_infrastructure_id: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + gateway: Optional[pulumi.Input[str]] = None, + infini_band_network_cidr: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + maintenance_slo_status: Optional[pulumi.Input[str]] = None, + maintenance_window: Optional[pulumi.Input['ExadataInfrastructureStorageMaintenanceWindowArgs']] = None, + max_cpu_count: Optional[pulumi.Input[int]] = None, + max_data_storage_in_tbs: Optional[pulumi.Input[float]] = None, + max_db_node_storage_in_gbs: Optional[pulumi.Input[int]] = None, + max_memory_in_gbs: Optional[pulumi.Input[int]] = None, + memory_size_in_gbs: Optional[pulumi.Input[int]] = None, + netmask: Optional[pulumi.Input[str]] = None, + ntp_servers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + shape: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + storage_count: Optional[pulumi.Input[int]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_zone: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if activated_storage_count is not None: - pulumi.set(__self__, "activated_storage_count", activated_storage_count) + _setter("activated_storage_count", activated_storage_count) if activation_file is not None: - pulumi.set(__self__, "activation_file", activation_file) + _setter("activation_file", activation_file) if additional_storage_count is not None: - pulumi.set(__self__, "additional_storage_count", additional_storage_count) + _setter("additional_storage_count", additional_storage_count) if admin_network_cidr is not None: - pulumi.set(__self__, "admin_network_cidr", admin_network_cidr) + _setter("admin_network_cidr", admin_network_cidr) if cloud_control_plane_server1 is not None: - pulumi.set(__self__, "cloud_control_plane_server1", cloud_control_plane_server1) + _setter("cloud_control_plane_server1", cloud_control_plane_server1) if cloud_control_plane_server2 is not None: - pulumi.set(__self__, "cloud_control_plane_server2", cloud_control_plane_server2) + _setter("cloud_control_plane_server2", cloud_control_plane_server2) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if compute_count is not None: - pulumi.set(__self__, "compute_count", compute_count) + _setter("compute_count", compute_count) if contacts is not None: - pulumi.set(__self__, "contacts", contacts) + _setter("contacts", contacts) if corporate_proxy is not None: - pulumi.set(__self__, "corporate_proxy", corporate_proxy) + _setter("corporate_proxy", corporate_proxy) if cpus_enabled is not None: - pulumi.set(__self__, "cpus_enabled", cpus_enabled) + _setter("cpus_enabled", cpus_enabled) if csi_number is not None: - pulumi.set(__self__, "csi_number", csi_number) + _setter("csi_number", csi_number) if data_storage_size_in_tbs is not None: - pulumi.set(__self__, "data_storage_size_in_tbs", data_storage_size_in_tbs) + _setter("data_storage_size_in_tbs", data_storage_size_in_tbs) if db_node_storage_size_in_gbs is not None: - pulumi.set(__self__, "db_node_storage_size_in_gbs", db_node_storage_size_in_gbs) + _setter("db_node_storage_size_in_gbs", db_node_storage_size_in_gbs) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if dns_servers is not None: - pulumi.set(__self__, "dns_servers", dns_servers) + _setter("dns_servers", dns_servers) if exadata_infrastructure_id is not None: - pulumi.set(__self__, "exadata_infrastructure_id", exadata_infrastructure_id) + _setter("exadata_infrastructure_id", exadata_infrastructure_id) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if gateway is not None: - pulumi.set(__self__, "gateway", gateway) + _setter("gateway", gateway) if infini_band_network_cidr is not None: - pulumi.set(__self__, "infini_band_network_cidr", infini_band_network_cidr) + _setter("infini_band_network_cidr", infini_band_network_cidr) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if maintenance_slo_status is not None: - pulumi.set(__self__, "maintenance_slo_status", maintenance_slo_status) + _setter("maintenance_slo_status", maintenance_slo_status) if maintenance_window is not None: - pulumi.set(__self__, "maintenance_window", maintenance_window) + _setter("maintenance_window", maintenance_window) if max_cpu_count is not None: - pulumi.set(__self__, "max_cpu_count", max_cpu_count) + _setter("max_cpu_count", max_cpu_count) if max_data_storage_in_tbs is not None: - pulumi.set(__self__, "max_data_storage_in_tbs", max_data_storage_in_tbs) + _setter("max_data_storage_in_tbs", max_data_storage_in_tbs) if max_db_node_storage_in_gbs is not None: - pulumi.set(__self__, "max_db_node_storage_in_gbs", max_db_node_storage_in_gbs) + _setter("max_db_node_storage_in_gbs", max_db_node_storage_in_gbs) if max_memory_in_gbs is not None: - pulumi.set(__self__, "max_memory_in_gbs", max_memory_in_gbs) + _setter("max_memory_in_gbs", max_memory_in_gbs) if memory_size_in_gbs is not None: - pulumi.set(__self__, "memory_size_in_gbs", memory_size_in_gbs) + _setter("memory_size_in_gbs", memory_size_in_gbs) if netmask is not None: - pulumi.set(__self__, "netmask", netmask) + _setter("netmask", netmask) if ntp_servers is not None: - pulumi.set(__self__, "ntp_servers", ntp_servers) + _setter("ntp_servers", ntp_servers) if shape is not None: - pulumi.set(__self__, "shape", shape) + _setter("shape", shape) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if storage_count is not None: - pulumi.set(__self__, "storage_count", storage_count) + _setter("storage_count", storage_count) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_zone is not None: - pulumi.set(__self__, "time_zone", time_zone) + _setter("time_zone", time_zone) @property @pulumi.getter(name="activatedStorageCount") @@ -751,6 +879,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ExadataInfrastructureStorageArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -817,6 +949,11 @@ def _internal_init(__self__, if infini_band_network_cidr is None and not opts.urn: raise TypeError("Missing required property 'infini_band_network_cidr'") __props__.__dict__["infini_band_network_cidr"] = infini_band_network_cidr + if maintenance_window is not None and not isinstance(maintenance_window, ExadataInfrastructureStorageMaintenanceWindowArgs): + maintenance_window = maintenance_window or {} + def _setter(key, value): + maintenance_window[key] = value + ExadataInfrastructureStorageMaintenanceWindowArgs._configure(_setter, **maintenance_window) __props__.__dict__["maintenance_window"] = maintenance_window if netmask is None and not opts.urn: raise TypeError("Missing required property 'netmask'") diff --git a/sdk/python/pulumi_oci/database/exadata_iorm_config.py b/sdk/python/pulumi_oci/database/exadata_iorm_config.py index 69987d827f..9332fd336b 100644 --- a/sdk/python/pulumi_oci/database/exadata_iorm_config.py +++ b/sdk/python/pulumi_oci/database/exadata_iorm_config.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -29,10 +29,23 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "db_plans", db_plans) - pulumi.set(__self__, "db_system_id", db_system_id) + ExadataIormConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_plans=db_plans, + db_system_id=db_system_id, + objective=objective, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_plans: pulumi.Input[Sequence[pulumi.Input['ExadataIormConfigDbPlanArgs']]], + db_system_id: pulumi.Input[str], + objective: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("db_plans", db_plans) + _setter("db_system_id", db_system_id) if objective is not None: - pulumi.set(__self__, "objective", objective) + _setter("objective", objective) @property @pulumi.getter(name="dbPlans") @@ -95,16 +108,33 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] state: The current state of IORM configuration for the Exadata DB system. """ + _ExadataIormConfigState._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_plans=db_plans, + db_system_id=db_system_id, + lifecycle_details=lifecycle_details, + objective=objective, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_plans: Optional[pulumi.Input[Sequence[pulumi.Input['ExadataIormConfigDbPlanArgs']]]] = None, + db_system_id: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + objective: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if db_plans is not None: - pulumi.set(__self__, "db_plans", db_plans) + _setter("db_plans", db_plans) if db_system_id is not None: - pulumi.set(__self__, "db_system_id", db_system_id) + _setter("db_system_id", db_system_id) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if objective is not None: - pulumi.set(__self__, "objective", objective) + _setter("objective", objective) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) @property @pulumi.getter(name="dbPlans") @@ -268,6 +298,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ExadataIormConfigArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/database/external_container_database.py b/sdk/python/pulumi_oci/database/external_container_database.py index 3c69c71402..a3dd9157cf 100644 --- a/sdk/python/pulumi_oci/database/external_container_database.py +++ b/sdk/python/pulumi_oci/database/external_container_database.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -31,12 +31,27 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) + ExternalContainerDatabaseArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="compartmentId") @@ -137,42 +152,85 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the database was created. :param pulumi.Input[str] time_zone: The time zone of the external database. It is a time zone offset (a character type in the format '[+|-]TZH:TZM') or a time zone region name, depending on how the time zone value was specified when the database was created / last altered. """ + _ExternalContainerDatabaseState._configure( + lambda key, value: pulumi.set(__self__, key, value), + character_set=character_set, + compartment_id=compartment_id, + database_configuration=database_configuration, + database_edition=database_edition, + database_management_configs=database_management_configs, + database_version=database_version, + db_id=db_id, + db_packs=db_packs, + db_unique_name=db_unique_name, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + ncharacter_set=ncharacter_set, + stack_monitoring_configs=stack_monitoring_configs, + state=state, + time_created=time_created, + time_zone=time_zone, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + character_set: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + database_configuration: Optional[pulumi.Input[str]] = None, + database_edition: Optional[pulumi.Input[str]] = None, + database_management_configs: Optional[pulumi.Input[Sequence[pulumi.Input['ExternalContainerDatabaseDatabaseManagementConfigArgs']]]] = None, + database_version: Optional[pulumi.Input[str]] = None, + db_id: Optional[pulumi.Input[str]] = None, + db_packs: Optional[pulumi.Input[str]] = None, + db_unique_name: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + ncharacter_set: Optional[pulumi.Input[str]] = None, + stack_monitoring_configs: Optional[pulumi.Input[Sequence[pulumi.Input['ExternalContainerDatabaseStackMonitoringConfigArgs']]]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_zone: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if character_set is not None: - pulumi.set(__self__, "character_set", character_set) + _setter("character_set", character_set) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if database_configuration is not None: - pulumi.set(__self__, "database_configuration", database_configuration) + _setter("database_configuration", database_configuration) if database_edition is not None: - pulumi.set(__self__, "database_edition", database_edition) + _setter("database_edition", database_edition) if database_management_configs is not None: - pulumi.set(__self__, "database_management_configs", database_management_configs) + _setter("database_management_configs", database_management_configs) if database_version is not None: - pulumi.set(__self__, "database_version", database_version) + _setter("database_version", database_version) if db_id is not None: - pulumi.set(__self__, "db_id", db_id) + _setter("db_id", db_id) if db_packs is not None: - pulumi.set(__self__, "db_packs", db_packs) + _setter("db_packs", db_packs) if db_unique_name is not None: - pulumi.set(__self__, "db_unique_name", db_unique_name) + _setter("db_unique_name", db_unique_name) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if ncharacter_set is not None: - pulumi.set(__self__, "ncharacter_set", ncharacter_set) + _setter("ncharacter_set", ncharacter_set) if stack_monitoring_configs is not None: - pulumi.set(__self__, "stack_monitoring_configs", stack_monitoring_configs) + _setter("stack_monitoring_configs", stack_monitoring_configs) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_zone is not None: - pulumi.set(__self__, "time_zone", time_zone) + _setter("time_zone", time_zone) @property @pulumi.getter(name="characterSet") @@ -488,6 +546,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ExternalContainerDatabaseArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/database/external_container_database_management.py b/sdk/python/pulumi_oci/database/external_container_database_management.py index 823127f500..6cf7333cac 100644 --- a/sdk/python/pulumi_oci/database/external_container_database_management.py +++ b/sdk/python/pulumi_oci/database/external_container_database_management.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['ExternalContainerDatabaseManagementArgs', 'ExternalContainerDatabaseManagement'] @@ -27,11 +27,26 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "enable_management", enable_management) - pulumi.set(__self__, "external_container_database_id", external_container_database_id) - pulumi.set(__self__, "external_database_connector_id", external_database_connector_id) + ExternalContainerDatabaseManagementArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + enable_management=enable_management, + external_container_database_id=external_container_database_id, + external_database_connector_id=external_database_connector_id, + license_model=license_model, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + enable_management: pulumi.Input[bool], + external_container_database_id: pulumi.Input[str], + external_database_connector_id: pulumi.Input[str], + license_model: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("enable_management", enable_management) + _setter("external_container_database_id", external_container_database_id) + _setter("external_database_connector_id", external_database_connector_id) if license_model is not None: - pulumi.set(__self__, "license_model", license_model) + _setter("license_model", license_model) @property @pulumi.getter(name="enableManagement") @@ -98,14 +113,29 @@ def __init__(__self__, *, ** 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 """ + _ExternalContainerDatabaseManagementState._configure( + lambda key, value: pulumi.set(__self__, key, value), + enable_management=enable_management, + external_container_database_id=external_container_database_id, + external_database_connector_id=external_database_connector_id, + license_model=license_model, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + enable_management: Optional[pulumi.Input[bool]] = None, + external_container_database_id: Optional[pulumi.Input[str]] = None, + external_database_connector_id: Optional[pulumi.Input[str]] = None, + license_model: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if enable_management is not None: - pulumi.set(__self__, "enable_management", enable_management) + _setter("enable_management", enable_management) if external_container_database_id is not None: - pulumi.set(__self__, "external_container_database_id", external_container_database_id) + _setter("external_container_database_id", external_container_database_id) if external_database_connector_id is not None: - pulumi.set(__self__, "external_database_connector_id", external_database_connector_id) + _setter("external_database_connector_id", external_database_connector_id) if license_model is not None: - pulumi.set(__self__, "license_model", license_model) + _setter("license_model", license_model) @property @pulumi.getter(name="enableManagement") @@ -213,6 +243,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ExternalContainerDatabaseManagementArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/database/external_container_databases_stack_monitoring.py b/sdk/python/pulumi_oci/database/external_container_databases_stack_monitoring.py index 6db9d35fdb..7e3525c62b 100644 --- a/sdk/python/pulumi_oci/database/external_container_databases_stack_monitoring.py +++ b/sdk/python/pulumi_oci/database/external_container_databases_stack_monitoring.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['ExternalContainerDatabasesStackMonitoringArgs', 'ExternalContainerDatabasesStackMonitoring'] @@ -27,9 +27,22 @@ def __init__(__self__, *, :param pulumi.Input[str] external_container_database_id: The ExternalContainerDatabase [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). :param pulumi.Input[str] external_database_connector_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the [external database connector](https://docs.cloud.oracle.com/iaas/api/#/en/database/latest/datatypes/CreateExternalDatabaseConnectorDetails). """ - pulumi.set(__self__, "enable_stack_monitoring", enable_stack_monitoring) - pulumi.set(__self__, "external_container_database_id", external_container_database_id) - pulumi.set(__self__, "external_database_connector_id", external_database_connector_id) + ExternalContainerDatabasesStackMonitoringArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + enable_stack_monitoring=enable_stack_monitoring, + external_container_database_id=external_container_database_id, + external_database_connector_id=external_database_connector_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + enable_stack_monitoring: pulumi.Input[bool], + external_container_database_id: pulumi.Input[str], + external_database_connector_id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("enable_stack_monitoring", enable_stack_monitoring) + _setter("external_container_database_id", external_container_database_id) + _setter("external_database_connector_id", external_database_connector_id) @property @pulumi.getter(name="enableStackMonitoring") @@ -88,12 +101,25 @@ def __init__(__self__, *, :param pulumi.Input[str] external_container_database_id: The ExternalContainerDatabase [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). :param pulumi.Input[str] external_database_connector_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the [external database connector](https://docs.cloud.oracle.com/iaas/api/#/en/database/latest/datatypes/CreateExternalDatabaseConnectorDetails). """ + _ExternalContainerDatabasesStackMonitoringState._configure( + lambda key, value: pulumi.set(__self__, key, value), + enable_stack_monitoring=enable_stack_monitoring, + external_container_database_id=external_container_database_id, + external_database_connector_id=external_database_connector_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + enable_stack_monitoring: Optional[pulumi.Input[bool]] = None, + external_container_database_id: Optional[pulumi.Input[str]] = None, + external_database_connector_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if enable_stack_monitoring is not None: - pulumi.set(__self__, "enable_stack_monitoring", enable_stack_monitoring) + _setter("enable_stack_monitoring", enable_stack_monitoring) if external_container_database_id is not None: - pulumi.set(__self__, "external_container_database_id", external_container_database_id) + _setter("external_container_database_id", external_container_database_id) if external_database_connector_id is not None: - pulumi.set(__self__, "external_database_connector_id", external_database_connector_id) + _setter("external_database_connector_id", external_database_connector_id) @property @pulumi.getter(name="enableStackMonitoring") @@ -213,6 +239,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ExternalContainerDatabasesStackMonitoringArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/database/external_database_connector.py b/sdk/python/pulumi_oci/database/external_database_connector.py index 9c1093cdec..ac34629438 100644 --- a/sdk/python/pulumi_oci/database/external_database_connector.py +++ b/sdk/python/pulumi_oci/database/external_database_connector.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -39,17 +39,40 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "connection_credentials", connection_credentials) - pulumi.set(__self__, "connection_string", connection_string) - pulumi.set(__self__, "connector_agent_id", connector_agent_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "external_database_id", external_database_id) + ExternalDatabaseConnectorArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + connection_credentials=connection_credentials, + connection_string=connection_string, + connector_agent_id=connector_agent_id, + display_name=display_name, + external_database_id=external_database_id, + connector_type=connector_type, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + connection_credentials: pulumi.Input['ExternalDatabaseConnectorConnectionCredentialsArgs'], + connection_string: pulumi.Input['ExternalDatabaseConnectorConnectionStringArgs'], + connector_agent_id: pulumi.Input[str], + display_name: pulumi.Input[str], + external_database_id: pulumi.Input[str], + connector_type: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("connection_credentials", connection_credentials) + _setter("connection_string", connection_string) + _setter("connector_agent_id", connector_agent_id) + _setter("display_name", display_name) + _setter("external_database_id", external_database_id) if connector_type is not None: - pulumi.set(__self__, "connector_type", connector_type) + _setter("connector_type", connector_type) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="connectionCredentials") @@ -190,34 +213,69 @@ def __init__(__self__, *, :param pulumi.Input[str] time_connection_status_last_updated: The date and time the `connectionStatus` of this external connector was last updated. :param pulumi.Input[str] time_created: The date and time the external connector was created. """ + _ExternalDatabaseConnectorState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + connection_credentials=connection_credentials, + connection_status=connection_status, + connection_string=connection_string, + connector_agent_id=connector_agent_id, + connector_type=connector_type, + defined_tags=defined_tags, + display_name=display_name, + external_database_id=external_database_id, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + state=state, + time_connection_status_last_updated=time_connection_status_last_updated, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + connection_credentials: Optional[pulumi.Input['ExternalDatabaseConnectorConnectionCredentialsArgs']] = None, + connection_status: Optional[pulumi.Input[str]] = None, + connection_string: Optional[pulumi.Input['ExternalDatabaseConnectorConnectionStringArgs']] = None, + connector_agent_id: Optional[pulumi.Input[str]] = None, + connector_type: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + external_database_id: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_connection_status_last_updated: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if connection_credentials is not None: - pulumi.set(__self__, "connection_credentials", connection_credentials) + _setter("connection_credentials", connection_credentials) if connection_status is not None: - pulumi.set(__self__, "connection_status", connection_status) + _setter("connection_status", connection_status) if connection_string is not None: - pulumi.set(__self__, "connection_string", connection_string) + _setter("connection_string", connection_string) if connector_agent_id is not None: - pulumi.set(__self__, "connector_agent_id", connector_agent_id) + _setter("connector_agent_id", connector_agent_id) if connector_type is not None: - pulumi.set(__self__, "connector_type", connector_type) + _setter("connector_type", connector_type) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if external_database_id is not None: - pulumi.set(__self__, "external_database_id", external_database_id) + _setter("external_database_id", external_database_id) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_connection_status_last_updated is not None: - pulumi.set(__self__, "time_connection_status_last_updated", time_connection_status_last_updated) + _setter("time_connection_status_last_updated", time_connection_status_last_updated) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -525,6 +583,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ExternalDatabaseConnectorArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -547,9 +609,19 @@ def _internal_init(__self__, raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = ExternalDatabaseConnectorArgs.__new__(ExternalDatabaseConnectorArgs) + if connection_credentials is not None and not isinstance(connection_credentials, ExternalDatabaseConnectorConnectionCredentialsArgs): + connection_credentials = connection_credentials or {} + def _setter(key, value): + connection_credentials[key] = value + ExternalDatabaseConnectorConnectionCredentialsArgs._configure(_setter, **connection_credentials) if connection_credentials is None and not opts.urn: raise TypeError("Missing required property 'connection_credentials'") __props__.__dict__["connection_credentials"] = connection_credentials + if connection_string is not None and not isinstance(connection_string, ExternalDatabaseConnectorConnectionStringArgs): + connection_string = connection_string or {} + def _setter(key, value): + connection_string[key] = value + ExternalDatabaseConnectorConnectionStringArgs._configure(_setter, **connection_string) if connection_string is None and not opts.urn: raise TypeError("Missing required property 'connection_string'") __props__.__dict__["connection_string"] = connection_string diff --git a/sdk/python/pulumi_oci/database/external_non_container_database.py b/sdk/python/pulumi_oci/database/external_non_container_database.py index a7e3a20100..cbaf8d8efb 100644 --- a/sdk/python/pulumi_oci/database/external_non_container_database.py +++ b/sdk/python/pulumi_oci/database/external_non_container_database.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -31,12 +31,27 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) + ExternalNonContainerDatabaseArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="compartmentId") @@ -139,44 +154,89 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the database was created. :param pulumi.Input[str] time_zone: The time zone of the external database. It is a time zone offset (a character type in the format '[+|-]TZH:TZM') or a time zone region name, depending on how the time zone value was specified when the database was created / last altered. """ + _ExternalNonContainerDatabaseState._configure( + lambda key, value: pulumi.set(__self__, key, value), + character_set=character_set, + compartment_id=compartment_id, + database_configuration=database_configuration, + database_edition=database_edition, + database_management_configs=database_management_configs, + database_version=database_version, + db_id=db_id, + db_packs=db_packs, + db_unique_name=db_unique_name, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + ncharacter_set=ncharacter_set, + operations_insights_configs=operations_insights_configs, + stack_monitoring_configs=stack_monitoring_configs, + state=state, + time_created=time_created, + time_zone=time_zone, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + character_set: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + database_configuration: Optional[pulumi.Input[str]] = None, + database_edition: Optional[pulumi.Input[str]] = None, + database_management_configs: Optional[pulumi.Input[Sequence[pulumi.Input['ExternalNonContainerDatabaseDatabaseManagementConfigArgs']]]] = None, + database_version: Optional[pulumi.Input[str]] = None, + db_id: Optional[pulumi.Input[str]] = None, + db_packs: Optional[pulumi.Input[str]] = None, + db_unique_name: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + ncharacter_set: Optional[pulumi.Input[str]] = None, + operations_insights_configs: Optional[pulumi.Input[Sequence[pulumi.Input['ExternalNonContainerDatabaseOperationsInsightsConfigArgs']]]] = None, + stack_monitoring_configs: Optional[pulumi.Input[Sequence[pulumi.Input['ExternalNonContainerDatabaseStackMonitoringConfigArgs']]]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_zone: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if character_set is not None: - pulumi.set(__self__, "character_set", character_set) + _setter("character_set", character_set) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if database_configuration is not None: - pulumi.set(__self__, "database_configuration", database_configuration) + _setter("database_configuration", database_configuration) if database_edition is not None: - pulumi.set(__self__, "database_edition", database_edition) + _setter("database_edition", database_edition) if database_management_configs is not None: - pulumi.set(__self__, "database_management_configs", database_management_configs) + _setter("database_management_configs", database_management_configs) if database_version is not None: - pulumi.set(__self__, "database_version", database_version) + _setter("database_version", database_version) if db_id is not None: - pulumi.set(__self__, "db_id", db_id) + _setter("db_id", db_id) if db_packs is not None: - pulumi.set(__self__, "db_packs", db_packs) + _setter("db_packs", db_packs) if db_unique_name is not None: - pulumi.set(__self__, "db_unique_name", db_unique_name) + _setter("db_unique_name", db_unique_name) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if ncharacter_set is not None: - pulumi.set(__self__, "ncharacter_set", ncharacter_set) + _setter("ncharacter_set", ncharacter_set) if operations_insights_configs is not None: - pulumi.set(__self__, "operations_insights_configs", operations_insights_configs) + _setter("operations_insights_configs", operations_insights_configs) if stack_monitoring_configs is not None: - pulumi.set(__self__, "stack_monitoring_configs", stack_monitoring_configs) + _setter("stack_monitoring_configs", stack_monitoring_configs) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_zone is not None: - pulumi.set(__self__, "time_zone", time_zone) + _setter("time_zone", time_zone) @property @pulumi.getter(name="characterSet") @@ -504,6 +564,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ExternalNonContainerDatabaseArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/database/external_non_container_database_management.py b/sdk/python/pulumi_oci/database/external_non_container_database_management.py index 6e3c7e174b..ef8e8762f2 100644 --- a/sdk/python/pulumi_oci/database/external_non_container_database_management.py +++ b/sdk/python/pulumi_oci/database/external_non_container_database_management.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['ExternalNonContainerDatabaseManagementArgs', 'ExternalNonContainerDatabaseManagement'] @@ -27,11 +27,26 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "enable_management", enable_management) - pulumi.set(__self__, "external_database_connector_id", external_database_connector_id) - pulumi.set(__self__, "external_non_container_database_id", external_non_container_database_id) + ExternalNonContainerDatabaseManagementArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + enable_management=enable_management, + external_database_connector_id=external_database_connector_id, + external_non_container_database_id=external_non_container_database_id, + license_model=license_model, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + enable_management: pulumi.Input[bool], + external_database_connector_id: pulumi.Input[str], + external_non_container_database_id: pulumi.Input[str], + license_model: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("enable_management", enable_management) + _setter("external_database_connector_id", external_database_connector_id) + _setter("external_non_container_database_id", external_non_container_database_id) if license_model is not None: - pulumi.set(__self__, "license_model", license_model) + _setter("license_model", license_model) @property @pulumi.getter(name="enableManagement") @@ -98,14 +113,29 @@ def __init__(__self__, *, ** 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 """ + _ExternalNonContainerDatabaseManagementState._configure( + lambda key, value: pulumi.set(__self__, key, value), + enable_management=enable_management, + external_database_connector_id=external_database_connector_id, + external_non_container_database_id=external_non_container_database_id, + license_model=license_model, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + enable_management: Optional[pulumi.Input[bool]] = None, + external_database_connector_id: Optional[pulumi.Input[str]] = None, + external_non_container_database_id: Optional[pulumi.Input[str]] = None, + license_model: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if enable_management is not None: - pulumi.set(__self__, "enable_management", enable_management) + _setter("enable_management", enable_management) if external_database_connector_id is not None: - pulumi.set(__self__, "external_database_connector_id", external_database_connector_id) + _setter("external_database_connector_id", external_database_connector_id) if external_non_container_database_id is not None: - pulumi.set(__self__, "external_non_container_database_id", external_non_container_database_id) + _setter("external_non_container_database_id", external_non_container_database_id) if license_model is not None: - pulumi.set(__self__, "license_model", license_model) + _setter("license_model", license_model) @property @pulumi.getter(name="enableManagement") @@ -213,6 +243,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ExternalNonContainerDatabaseManagementArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/database/external_non_container_database_operations_insights_management.py b/sdk/python/pulumi_oci/database/external_non_container_database_operations_insights_management.py index 4399094d8d..f3bd19b1dc 100644 --- a/sdk/python/pulumi_oci/database/external_non_container_database_operations_insights_management.py +++ b/sdk/python/pulumi_oci/database/external_non_container_database_operations_insights_management.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['ExternalNonContainerDatabaseOperationsInsightsManagementArgs', 'ExternalNonContainerDatabaseOperationsInsightsManagement'] @@ -26,9 +26,22 @@ def __init__(__self__, *, :param pulumi.Input[str] external_database_connector_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the [external database connector](https://docs.cloud.oracle.com/iaas/api/#/en/database/latest/datatypes/CreateExternalDatabaseConnectorDetails). :param pulumi.Input[str] external_non_container_database_id: The external non-container database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). """ - pulumi.set(__self__, "enable_operations_insights", enable_operations_insights) - pulumi.set(__self__, "external_database_connector_id", external_database_connector_id) - pulumi.set(__self__, "external_non_container_database_id", external_non_container_database_id) + ExternalNonContainerDatabaseOperationsInsightsManagementArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + enable_operations_insights=enable_operations_insights, + external_database_connector_id=external_database_connector_id, + external_non_container_database_id=external_non_container_database_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + enable_operations_insights: pulumi.Input[bool], + external_database_connector_id: pulumi.Input[str], + external_non_container_database_id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("enable_operations_insights", enable_operations_insights) + _setter("external_database_connector_id", external_database_connector_id) + _setter("external_non_container_database_id", external_non_container_database_id) @property @pulumi.getter(name="enableOperationsInsights") @@ -85,12 +98,25 @@ def __init__(__self__, *, :param pulumi.Input[str] external_database_connector_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the [external database connector](https://docs.cloud.oracle.com/iaas/api/#/en/database/latest/datatypes/CreateExternalDatabaseConnectorDetails). :param pulumi.Input[str] external_non_container_database_id: The external non-container database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). """ + _ExternalNonContainerDatabaseOperationsInsightsManagementState._configure( + lambda key, value: pulumi.set(__self__, key, value), + enable_operations_insights=enable_operations_insights, + external_database_connector_id=external_database_connector_id, + external_non_container_database_id=external_non_container_database_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + enable_operations_insights: Optional[pulumi.Input[bool]] = None, + external_database_connector_id: Optional[pulumi.Input[str]] = None, + external_non_container_database_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if enable_operations_insights is not None: - pulumi.set(__self__, "enable_operations_insights", enable_operations_insights) + _setter("enable_operations_insights", enable_operations_insights) if external_database_connector_id is not None: - pulumi.set(__self__, "external_database_connector_id", external_database_connector_id) + _setter("external_database_connector_id", external_database_connector_id) if external_non_container_database_id is not None: - pulumi.set(__self__, "external_non_container_database_id", external_non_container_database_id) + _setter("external_non_container_database_id", external_non_container_database_id) @property @pulumi.getter(name="enableOperationsInsights") @@ -210,6 +236,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ExternalNonContainerDatabaseOperationsInsightsManagementArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/database/external_non_container_databases_stack_monitoring.py b/sdk/python/pulumi_oci/database/external_non_container_databases_stack_monitoring.py index 9df3de019b..617dd885d5 100644 --- a/sdk/python/pulumi_oci/database/external_non_container_databases_stack_monitoring.py +++ b/sdk/python/pulumi_oci/database/external_non_container_databases_stack_monitoring.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['ExternalNonContainerDatabasesStackMonitoringArgs', 'ExternalNonContainerDatabasesStackMonitoring'] @@ -27,9 +27,22 @@ def __init__(__self__, *, :param pulumi.Input[str] external_database_connector_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the [external database connector](https://docs.cloud.oracle.com/iaas/api/#/en/database/latest/datatypes/CreateExternalDatabaseConnectorDetails). :param pulumi.Input[str] external_non_container_database_id: The external non-container database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). """ - pulumi.set(__self__, "enable_stack_monitoring", enable_stack_monitoring) - pulumi.set(__self__, "external_database_connector_id", external_database_connector_id) - pulumi.set(__self__, "external_non_container_database_id", external_non_container_database_id) + ExternalNonContainerDatabasesStackMonitoringArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + enable_stack_monitoring=enable_stack_monitoring, + external_database_connector_id=external_database_connector_id, + external_non_container_database_id=external_non_container_database_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + enable_stack_monitoring: pulumi.Input[bool], + external_database_connector_id: pulumi.Input[str], + external_non_container_database_id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("enable_stack_monitoring", enable_stack_monitoring) + _setter("external_database_connector_id", external_database_connector_id) + _setter("external_non_container_database_id", external_non_container_database_id) @property @pulumi.getter(name="enableStackMonitoring") @@ -88,12 +101,25 @@ def __init__(__self__, *, :param pulumi.Input[str] external_database_connector_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the [external database connector](https://docs.cloud.oracle.com/iaas/api/#/en/database/latest/datatypes/CreateExternalDatabaseConnectorDetails). :param pulumi.Input[str] external_non_container_database_id: The external non-container database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). """ + _ExternalNonContainerDatabasesStackMonitoringState._configure( + lambda key, value: pulumi.set(__self__, key, value), + enable_stack_monitoring=enable_stack_monitoring, + external_database_connector_id=external_database_connector_id, + external_non_container_database_id=external_non_container_database_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + enable_stack_monitoring: Optional[pulumi.Input[bool]] = None, + external_database_connector_id: Optional[pulumi.Input[str]] = None, + external_non_container_database_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if enable_stack_monitoring is not None: - pulumi.set(__self__, "enable_stack_monitoring", enable_stack_monitoring) + _setter("enable_stack_monitoring", enable_stack_monitoring) if external_database_connector_id is not None: - pulumi.set(__self__, "external_database_connector_id", external_database_connector_id) + _setter("external_database_connector_id", external_database_connector_id) if external_non_container_database_id is not None: - pulumi.set(__self__, "external_non_container_database_id", external_non_container_database_id) + _setter("external_non_container_database_id", external_non_container_database_id) @property @pulumi.getter(name="enableStackMonitoring") @@ -213,6 +239,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ExternalNonContainerDatabasesStackMonitoringArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/database/external_pluggable_database.py b/sdk/python/pulumi_oci/database/external_pluggable_database.py index 34544640d4..edd26f64f1 100644 --- a/sdk/python/pulumi_oci/database/external_pluggable_database.py +++ b/sdk/python/pulumi_oci/database/external_pluggable_database.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -35,15 +35,34 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "external_container_database_id", external_container_database_id) + ExternalPluggableDatabaseArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + external_container_database_id=external_container_database_id, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + source_id=source_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + external_container_database_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + source_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) + _setter("external_container_database_id", external_container_database_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if source_id is not None: - pulumi.set(__self__, "source_id", source_id) + _setter("source_id", source_id) @property @pulumi.getter(name="compartmentId") @@ -174,48 +193,97 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the database was created. :param pulumi.Input[str] time_zone: The time zone of the external database. It is a time zone offset (a character type in the format '[+|-]TZH:TZM') or a time zone region name, depending on how the time zone value was specified when the database was created / last altered. """ + _ExternalPluggableDatabaseState._configure( + lambda key, value: pulumi.set(__self__, key, value), + character_set=character_set, + compartment_id=compartment_id, + database_configuration=database_configuration, + database_edition=database_edition, + database_management_configs=database_management_configs, + database_version=database_version, + db_id=db_id, + db_packs=db_packs, + db_unique_name=db_unique_name, + defined_tags=defined_tags, + display_name=display_name, + external_container_database_id=external_container_database_id, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + ncharacter_set=ncharacter_set, + operations_insights_configs=operations_insights_configs, + source_id=source_id, + stack_monitoring_configs=stack_monitoring_configs, + state=state, + time_created=time_created, + time_zone=time_zone, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + character_set: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + database_configuration: Optional[pulumi.Input[str]] = None, + database_edition: Optional[pulumi.Input[str]] = None, + database_management_configs: Optional[pulumi.Input[Sequence[pulumi.Input['ExternalPluggableDatabaseDatabaseManagementConfigArgs']]]] = None, + database_version: Optional[pulumi.Input[str]] = None, + db_id: Optional[pulumi.Input[str]] = None, + db_packs: Optional[pulumi.Input[str]] = None, + db_unique_name: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + external_container_database_id: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + ncharacter_set: Optional[pulumi.Input[str]] = None, + operations_insights_configs: Optional[pulumi.Input[Sequence[pulumi.Input['ExternalPluggableDatabaseOperationsInsightsConfigArgs']]]] = None, + source_id: Optional[pulumi.Input[str]] = None, + stack_monitoring_configs: Optional[pulumi.Input[Sequence[pulumi.Input['ExternalPluggableDatabaseStackMonitoringConfigArgs']]]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_zone: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if character_set is not None: - pulumi.set(__self__, "character_set", character_set) + _setter("character_set", character_set) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if database_configuration is not None: - pulumi.set(__self__, "database_configuration", database_configuration) + _setter("database_configuration", database_configuration) if database_edition is not None: - pulumi.set(__self__, "database_edition", database_edition) + _setter("database_edition", database_edition) if database_management_configs is not None: - pulumi.set(__self__, "database_management_configs", database_management_configs) + _setter("database_management_configs", database_management_configs) if database_version is not None: - pulumi.set(__self__, "database_version", database_version) + _setter("database_version", database_version) if db_id is not None: - pulumi.set(__self__, "db_id", db_id) + _setter("db_id", db_id) if db_packs is not None: - pulumi.set(__self__, "db_packs", db_packs) + _setter("db_packs", db_packs) if db_unique_name is not None: - pulumi.set(__self__, "db_unique_name", db_unique_name) + _setter("db_unique_name", db_unique_name) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if external_container_database_id is not None: - pulumi.set(__self__, "external_container_database_id", external_container_database_id) + _setter("external_container_database_id", external_container_database_id) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if ncharacter_set is not None: - pulumi.set(__self__, "ncharacter_set", ncharacter_set) + _setter("ncharacter_set", ncharacter_set) if operations_insights_configs is not None: - pulumi.set(__self__, "operations_insights_configs", operations_insights_configs) + _setter("operations_insights_configs", operations_insights_configs) if source_id is not None: - pulumi.set(__self__, "source_id", source_id) + _setter("source_id", source_id) if stack_monitoring_configs is not None: - pulumi.set(__self__, "stack_monitoring_configs", stack_monitoring_configs) + _setter("stack_monitoring_configs", stack_monitoring_configs) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_zone is not None: - pulumi.set(__self__, "time_zone", time_zone) + _setter("time_zone", time_zone) @property @pulumi.getter(name="characterSet") @@ -577,6 +645,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ExternalPluggableDatabaseArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/database/external_pluggable_database_management.py b/sdk/python/pulumi_oci/database/external_pluggable_database_management.py index 8e76ea3821..c430cf0bec 100644 --- a/sdk/python/pulumi_oci/database/external_pluggable_database_management.py +++ b/sdk/python/pulumi_oci/database/external_pluggable_database_management.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['ExternalPluggableDatabaseManagementArgs', 'ExternalPluggableDatabaseManagement'] @@ -25,9 +25,22 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "enable_management", enable_management) - pulumi.set(__self__, "external_database_connector_id", external_database_connector_id) - pulumi.set(__self__, "external_pluggable_database_id", external_pluggable_database_id) + ExternalPluggableDatabaseManagementArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + enable_management=enable_management, + external_database_connector_id=external_database_connector_id, + external_pluggable_database_id=external_pluggable_database_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + enable_management: pulumi.Input[bool], + external_database_connector_id: pulumi.Input[str], + external_pluggable_database_id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("enable_management", enable_management) + _setter("external_database_connector_id", external_database_connector_id) + _setter("external_pluggable_database_id", external_pluggable_database_id) @property @pulumi.getter(name="enableManagement") @@ -80,12 +93,25 @@ def __init__(__self__, *, ** 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 """ + _ExternalPluggableDatabaseManagementState._configure( + lambda key, value: pulumi.set(__self__, key, value), + enable_management=enable_management, + external_database_connector_id=external_database_connector_id, + external_pluggable_database_id=external_pluggable_database_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + enable_management: Optional[pulumi.Input[bool]] = None, + external_database_connector_id: Optional[pulumi.Input[str]] = None, + external_pluggable_database_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if enable_management is not None: - pulumi.set(__self__, "enable_management", enable_management) + _setter("enable_management", enable_management) if external_database_connector_id is not None: - pulumi.set(__self__, "external_database_connector_id", external_database_connector_id) + _setter("external_database_connector_id", external_database_connector_id) if external_pluggable_database_id is not None: - pulumi.set(__self__, "external_pluggable_database_id", external_pluggable_database_id) + _setter("external_pluggable_database_id", external_pluggable_database_id) @property @pulumi.getter(name="enableManagement") @@ -201,6 +227,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ExternalPluggableDatabaseManagementArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/database/external_pluggable_database_operations_insights_management.py b/sdk/python/pulumi_oci/database/external_pluggable_database_operations_insights_management.py index 55eca6b87f..300301b30e 100644 --- a/sdk/python/pulumi_oci/database/external_pluggable_database_operations_insights_management.py +++ b/sdk/python/pulumi_oci/database/external_pluggable_database_operations_insights_management.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['ExternalPluggableDatabaseOperationsInsightsManagementArgs', 'ExternalPluggableDatabaseOperationsInsightsManagement'] @@ -26,9 +26,22 @@ def __init__(__self__, *, :param pulumi.Input[str] external_database_connector_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the [external database connector](https://docs.cloud.oracle.com/iaas/api/#/en/database/latest/datatypes/CreateExternalDatabaseConnectorDetails). :param pulumi.Input[str] external_pluggable_database_id: The ExternalPluggableDatabaseId [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). """ - pulumi.set(__self__, "enable_operations_insights", enable_operations_insights) - pulumi.set(__self__, "external_database_connector_id", external_database_connector_id) - pulumi.set(__self__, "external_pluggable_database_id", external_pluggable_database_id) + ExternalPluggableDatabaseOperationsInsightsManagementArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + enable_operations_insights=enable_operations_insights, + external_database_connector_id=external_database_connector_id, + external_pluggable_database_id=external_pluggable_database_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + enable_operations_insights: pulumi.Input[bool], + external_database_connector_id: pulumi.Input[str], + external_pluggable_database_id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("enable_operations_insights", enable_operations_insights) + _setter("external_database_connector_id", external_database_connector_id) + _setter("external_pluggable_database_id", external_pluggable_database_id) @property @pulumi.getter(name="enableOperationsInsights") @@ -85,12 +98,25 @@ def __init__(__self__, *, :param pulumi.Input[str] external_database_connector_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the [external database connector](https://docs.cloud.oracle.com/iaas/api/#/en/database/latest/datatypes/CreateExternalDatabaseConnectorDetails). :param pulumi.Input[str] external_pluggable_database_id: The ExternalPluggableDatabaseId [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). """ + _ExternalPluggableDatabaseOperationsInsightsManagementState._configure( + lambda key, value: pulumi.set(__self__, key, value), + enable_operations_insights=enable_operations_insights, + external_database_connector_id=external_database_connector_id, + external_pluggable_database_id=external_pluggable_database_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + enable_operations_insights: Optional[pulumi.Input[bool]] = None, + external_database_connector_id: Optional[pulumi.Input[str]] = None, + external_pluggable_database_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if enable_operations_insights is not None: - pulumi.set(__self__, "enable_operations_insights", enable_operations_insights) + _setter("enable_operations_insights", enable_operations_insights) if external_database_connector_id is not None: - pulumi.set(__self__, "external_database_connector_id", external_database_connector_id) + _setter("external_database_connector_id", external_database_connector_id) if external_pluggable_database_id is not None: - pulumi.set(__self__, "external_pluggable_database_id", external_pluggable_database_id) + _setter("external_pluggable_database_id", external_pluggable_database_id) @property @pulumi.getter(name="enableOperationsInsights") @@ -210,6 +236,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ExternalPluggableDatabaseOperationsInsightsManagementArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/database/external_pluggable_databases_stack_monitoring.py b/sdk/python/pulumi_oci/database/external_pluggable_databases_stack_monitoring.py index 4a246eee75..c3f3add1e2 100644 --- a/sdk/python/pulumi_oci/database/external_pluggable_databases_stack_monitoring.py +++ b/sdk/python/pulumi_oci/database/external_pluggable_databases_stack_monitoring.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['ExternalPluggableDatabasesStackMonitoringArgs', 'ExternalPluggableDatabasesStackMonitoring'] @@ -27,9 +27,22 @@ def __init__(__self__, *, :param pulumi.Input[str] external_database_connector_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the [external database connector](https://docs.cloud.oracle.com/iaas/api/#/en/database/latest/datatypes/CreateExternalDatabaseConnectorDetails). :param pulumi.Input[str] external_pluggable_database_id: The ExternalPluggableDatabaseId [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). """ - pulumi.set(__self__, "enable_stack_monitoring", enable_stack_monitoring) - pulumi.set(__self__, "external_database_connector_id", external_database_connector_id) - pulumi.set(__self__, "external_pluggable_database_id", external_pluggable_database_id) + ExternalPluggableDatabasesStackMonitoringArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + enable_stack_monitoring=enable_stack_monitoring, + external_database_connector_id=external_database_connector_id, + external_pluggable_database_id=external_pluggable_database_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + enable_stack_monitoring: pulumi.Input[bool], + external_database_connector_id: pulumi.Input[str], + external_pluggable_database_id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("enable_stack_monitoring", enable_stack_monitoring) + _setter("external_database_connector_id", external_database_connector_id) + _setter("external_pluggable_database_id", external_pluggable_database_id) @property @pulumi.getter(name="enableStackMonitoring") @@ -88,12 +101,25 @@ def __init__(__self__, *, :param pulumi.Input[str] external_database_connector_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the [external database connector](https://docs.cloud.oracle.com/iaas/api/#/en/database/latest/datatypes/CreateExternalDatabaseConnectorDetails). :param pulumi.Input[str] external_pluggable_database_id: The ExternalPluggableDatabaseId [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). """ + _ExternalPluggableDatabasesStackMonitoringState._configure( + lambda key, value: pulumi.set(__self__, key, value), + enable_stack_monitoring=enable_stack_monitoring, + external_database_connector_id=external_database_connector_id, + external_pluggable_database_id=external_pluggable_database_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + enable_stack_monitoring: Optional[pulumi.Input[bool]] = None, + external_database_connector_id: Optional[pulumi.Input[str]] = None, + external_pluggable_database_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if enable_stack_monitoring is not None: - pulumi.set(__self__, "enable_stack_monitoring", enable_stack_monitoring) + _setter("enable_stack_monitoring", enable_stack_monitoring) if external_database_connector_id is not None: - pulumi.set(__self__, "external_database_connector_id", external_database_connector_id) + _setter("external_database_connector_id", external_database_connector_id) if external_pluggable_database_id is not None: - pulumi.set(__self__, "external_pluggable_database_id", external_pluggable_database_id) + _setter("external_pluggable_database_id", external_pluggable_database_id) @property @pulumi.getter(name="enableStackMonitoring") @@ -213,6 +239,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ExternalPluggableDatabasesStackMonitoringArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/database/get_application_vip.py b/sdk/python/pulumi_oci/database/get_application_vip.py index 6203a4f06a..948a236243 100644 --- a/sdk/python/pulumi_oci/database/get_application_vip.py +++ b/sdk/python/pulumi_oci/database/get_application_vip.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/database/get_application_vips.py b/sdk/python/pulumi_oci/database/get_application_vips.py index ed56484f1e..43788da249 100644 --- a/sdk/python/pulumi_oci/database/get_application_vips.py +++ b/sdk/python/pulumi_oci/database/get_application_vips.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/database/get_autonomous_character_sets.py b/sdk/python/pulumi_oci/database/get_autonomous_character_sets.py index 5109dab823..26652bee34 100644 --- a/sdk/python/pulumi_oci/database/get_autonomous_character_sets.py +++ b/sdk/python/pulumi_oci/database/get_autonomous_character_sets.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/database/get_autonomous_container_database.py b/sdk/python/pulumi_oci/database/get_autonomous_container_database.py index cab3a4a313..5c6896d16f 100644 --- a/sdk/python/pulumi_oci/database/get_autonomous_container_database.py +++ b/sdk/python/pulumi_oci/database/get_autonomous_container_database.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/database/get_autonomous_container_database_dataguard_association.py b/sdk/python/pulumi_oci/database/get_autonomous_container_database_dataguard_association.py index 1b69c70ebf..401a02587c 100644 --- a/sdk/python/pulumi_oci/database/get_autonomous_container_database_dataguard_association.py +++ b/sdk/python/pulumi_oci/database/get_autonomous_container_database_dataguard_association.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/database/get_autonomous_container_database_dataguard_associations.py b/sdk/python/pulumi_oci/database/get_autonomous_container_database_dataguard_associations.py index 59fd0ab5a8..a1c0dd5c65 100644 --- a/sdk/python/pulumi_oci/database/get_autonomous_container_database_dataguard_associations.py +++ b/sdk/python/pulumi_oci/database/get_autonomous_container_database_dataguard_associations.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/database/get_autonomous_container_database_resource_usage.py b/sdk/python/pulumi_oci/database/get_autonomous_container_database_resource_usage.py index d5029d94a4..ddd2e8b206 100644 --- a/sdk/python/pulumi_oci/database/get_autonomous_container_database_resource_usage.py +++ b/sdk/python/pulumi_oci/database/get_autonomous_container_database_resource_usage.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/database/get_autonomous_container_database_versions.py b/sdk/python/pulumi_oci/database/get_autonomous_container_database_versions.py index 00f8ad7c3c..88282aa46e 100644 --- a/sdk/python/pulumi_oci/database/get_autonomous_container_database_versions.py +++ b/sdk/python/pulumi_oci/database/get_autonomous_container_database_versions.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/database/get_autonomous_container_databases.py b/sdk/python/pulumi_oci/database/get_autonomous_container_databases.py index 3623796551..6f1f5d050e 100644 --- a/sdk/python/pulumi_oci/database/get_autonomous_container_databases.py +++ b/sdk/python/pulumi_oci/database/get_autonomous_container_databases.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/database/get_autonomous_container_patches.py b/sdk/python/pulumi_oci/database/get_autonomous_container_patches.py index 4dd5e40768..d8b18c29d7 100644 --- a/sdk/python/pulumi_oci/database/get_autonomous_container_patches.py +++ b/sdk/python/pulumi_oci/database/get_autonomous_container_patches.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/database/get_autonomous_database.py b/sdk/python/pulumi_oci/database/get_autonomous_database.py index 22423567cb..7f41faaef8 100644 --- a/sdk/python/pulumi_oci/database/get_autonomous_database.py +++ b/sdk/python/pulumi_oci/database/get_autonomous_database.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -22,7 +22,7 @@ class GetAutonomousDatabaseResult: """ A collection of values returned by getAutonomousDatabase. """ - def __init__(__self__, actual_used_data_storage_size_in_tbs=None, admin_password=None, allocated_storage_size_in_tbs=None, apex_details=None, are_primary_whitelisted_ips_used=None, autonomous_container_database_id=None, autonomous_database_backup_id=None, autonomous_database_id=None, autonomous_maintenance_schedule_type=None, available_upgrade_versions=None, backup_configs=None, backup_retention_period_in_days=None, character_set=None, clone_type=None, compartment_id=None, compute_count=None, compute_model=None, connection_strings=None, connection_urls=None, cpu_core_count=None, customer_contacts=None, data_safe_status=None, data_storage_size_in_gb=None, data_storage_size_in_tbs=None, database_edition=None, database_management_status=None, dataguard_region_type=None, db_name=None, db_version=None, db_workload=None, defined_tags=None, disaster_recovery_region_type=None, display_name=None, failed_data_recovery_in_seconds=None, freeform_tags=None, id=None, in_memory_area_in_gbs=None, in_memory_percentage=None, infrastructure_type=None, is_access_control_enabled=None, is_auto_scaling_enabled=None, is_auto_scaling_for_storage_enabled=None, is_data_guard_enabled=None, is_dedicated=None, is_free_tier=None, is_local_data_guard_enabled=None, is_mtls_connection_required=None, is_preview=None, is_preview_version_with_service_terms_accepted=None, is_reconnect_clone_enabled=None, is_refreshable_clone=None, is_remote_data_guard_enabled=None, is_shrink_only=None, key_history_entries=None, key_store_id=None, key_store_wallet_name=None, kms_key_id=None, kms_key_lifecycle_details=None, kms_key_version_id=None, license_model=None, lifecycle_details=None, local_adg_auto_failover_max_data_loss_limit=None, local_disaster_recovery_type=None, local_standby_dbs=None, long_term_backup_schedules=None, max_cpu_core_count=None, memory_per_oracle_compute_unit_in_gbs=None, ncharacter_set=None, next_long_term_backup_time_stamp=None, nsg_ids=None, ocpu_count=None, open_mode=None, operations_insights_status=None, peer_db_ids=None, permission_level=None, private_endpoint=None, private_endpoint_ip=None, private_endpoint_label=None, provisionable_cpuses=None, refreshable_mode=None, refreshable_status=None, remote_disaster_recovery_configurations=None, remote_disaster_recovery_type=None, role=None, rotate_key_trigger=None, scheduled_operations=None, secret_id=None, secret_version_number=None, service_console_url=None, source=None, source_id=None, standby_dbs=None, standby_whitelisted_ips=None, state=None, subnet_id=None, supported_regions_to_clone_tos=None, switchover_to=None, switchover_to_remote_peer_id=None, system_tags=None, time_created=None, time_data_guard_role_changed=None, time_deletion_of_free_autonomous_database=None, time_disaster_recovery_role_changed=None, time_local_data_guard_enabled=None, time_maintenance_begin=None, time_maintenance_end=None, time_of_last_failover=None, time_of_last_refresh=None, time_of_last_refresh_point=None, time_of_last_switchover=None, time_of_next_refresh=None, time_reclamation_of_free_autonomous_database=None, time_until_reconnect_clone_enabled=None, timestamp=None, total_backup_storage_size_in_gbs=None, use_latest_available_backup_time_stamp=None, used_data_storage_size_in_gbs=None, used_data_storage_size_in_tbs=None, vault_id=None, whitelisted_ips=None): + def __init__(__self__, actual_used_data_storage_size_in_tbs=None, admin_password=None, allocated_storage_size_in_tbs=None, apex_details=None, are_primary_whitelisted_ips_used=None, autonomous_container_database_id=None, autonomous_database_backup_id=None, autonomous_database_id=None, autonomous_maintenance_schedule_type=None, available_upgrade_versions=None, backup_configs=None, backup_retention_period_in_days=None, character_set=None, clone_type=None, compartment_id=None, compute_count=None, compute_model=None, connection_strings=None, connection_urls=None, cpu_core_count=None, customer_contacts=None, data_safe_status=None, data_storage_size_in_gb=None, data_storage_size_in_tbs=None, database_edition=None, database_management_status=None, dataguard_region_type=None, db_name=None, db_version=None, db_workload=None, defined_tags=None, disaster_recovery_region_type=None, display_name=None, failed_data_recovery_in_seconds=None, freeform_tags=None, id=None, in_memory_area_in_gbs=None, in_memory_percentage=None, infrastructure_type=None, is_access_control_enabled=None, is_auto_scaling_enabled=None, is_auto_scaling_for_storage_enabled=None, is_data_guard_enabled=None, is_dedicated=None, is_free_tier=None, is_local_data_guard_enabled=None, is_mtls_connection_required=None, is_preview=None, is_preview_version_with_service_terms_accepted=None, is_reconnect_clone_enabled=None, is_refreshable_clone=None, is_remote_data_guard_enabled=None, is_shrink_only=None, key_history_entries=None, key_store_id=None, key_store_wallet_name=None, kms_key_id=None, kms_key_lifecycle_details=None, kms_key_version_id=None, license_model=None, lifecycle_details=None, local_adg_auto_failover_max_data_loss_limit=None, local_disaster_recovery_type=None, local_standby_dbs=None, long_term_backup_schedules=None, max_cpu_core_count=None, memory_per_oracle_compute_unit_in_gbs=None, ncharacter_set=None, next_long_term_backup_time_stamp=None, nsg_ids=None, ocpu_count=None, open_mode=None, operations_insights_status=None, peer_db_ids=None, permission_level=None, private_endpoint=None, private_endpoint_ip=None, private_endpoint_label=None, provisionable_cpuses=None, refreshable_mode=None, refreshable_status=None, remote_disaster_recovery_configurations=None, remote_disaster_recovery_type=None, resource_pool_leader_id=None, resource_pool_summaries=None, role=None, rotate_key_trigger=None, scheduled_operations=None, secret_id=None, secret_version_number=None, service_console_url=None, source=None, source_id=None, standby_dbs=None, standby_whitelisted_ips=None, state=None, subnet_id=None, supported_regions_to_clone_tos=None, switchover_to=None, switchover_to_remote_peer_id=None, system_tags=None, time_created=None, time_data_guard_role_changed=None, time_deletion_of_free_autonomous_database=None, time_disaster_recovery_role_changed=None, time_local_data_guard_enabled=None, time_maintenance_begin=None, time_maintenance_end=None, time_of_joining_resource_pool=None, time_of_last_failover=None, time_of_last_refresh=None, time_of_last_refresh_point=None, time_of_last_switchover=None, time_of_next_refresh=None, time_reclamation_of_free_autonomous_database=None, time_until_reconnect_clone_enabled=None, timestamp=None, total_backup_storage_size_in_gbs=None, use_latest_available_backup_time_stamp=None, used_data_storage_size_in_gbs=None, used_data_storage_size_in_tbs=None, vault_id=None, whitelisted_ips=None): if actual_used_data_storage_size_in_tbs and not isinstance(actual_used_data_storage_size_in_tbs, float): raise TypeError("Expected argument 'actual_used_data_storage_size_in_tbs' to be a float") pulumi.set(__self__, "actual_used_data_storage_size_in_tbs", actual_used_data_storage_size_in_tbs) @@ -272,6 +272,12 @@ def __init__(__self__, actual_used_data_storage_size_in_tbs=None, admin_password if remote_disaster_recovery_type and not isinstance(remote_disaster_recovery_type, str): raise TypeError("Expected argument 'remote_disaster_recovery_type' to be a str") pulumi.set(__self__, "remote_disaster_recovery_type", remote_disaster_recovery_type) + if resource_pool_leader_id and not isinstance(resource_pool_leader_id, str): + raise TypeError("Expected argument 'resource_pool_leader_id' to be a str") + pulumi.set(__self__, "resource_pool_leader_id", resource_pool_leader_id) + if resource_pool_summaries and not isinstance(resource_pool_summaries, list): + raise TypeError("Expected argument 'resource_pool_summaries' to be a list") + pulumi.set(__self__, "resource_pool_summaries", resource_pool_summaries) if role and not isinstance(role, str): raise TypeError("Expected argument 'role' to be a str") pulumi.set(__self__, "role", role) @@ -341,6 +347,9 @@ def __init__(__self__, actual_used_data_storage_size_in_tbs=None, admin_password if time_maintenance_end and not isinstance(time_maintenance_end, str): raise TypeError("Expected argument 'time_maintenance_end' to be a str") pulumi.set(__self__, "time_maintenance_end", time_maintenance_end) + if time_of_joining_resource_pool and not isinstance(time_of_joining_resource_pool, str): + raise TypeError("Expected argument 'time_of_joining_resource_pool' to be a str") + pulumi.set(__self__, "time_of_joining_resource_pool", time_of_joining_resource_pool) if time_of_last_failover and not isinstance(time_of_last_failover, str): raise TypeError("Expected argument 'time_of_last_failover' to be a str") pulumi.set(__self__, "time_of_last_failover", time_of_last_failover) @@ -1032,6 +1041,22 @@ def remote_disaster_recovery_configurations(self) -> Sequence['outputs.GetAutono def remote_disaster_recovery_type(self) -> str: return pulumi.get(self, "remote_disaster_recovery_type") + @property + @pulumi.getter(name="resourcePoolLeaderId") + def resource_pool_leader_id(self) -> str: + """ + The unique identifier for leader autonomous database OCID [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + """ + return pulumi.get(self, "resource_pool_leader_id") + + @property + @pulumi.getter(name="resourcePoolSummaries") + def resource_pool_summaries(self) -> Sequence['outputs.GetAutonomousDatabaseResourcePoolSummaryResult']: + """ + The configuration details for resource pool + """ + return pulumi.get(self, "resource_pool_summaries") + @property @pulumi.getter def role(self) -> str: @@ -1198,6 +1223,14 @@ def time_maintenance_end(self) -> str: """ return pulumi.get(self, "time_maintenance_end") + @property + @pulumi.getter(name="timeOfJoiningResourcePool") + def time_of_joining_resource_pool(self) -> str: + """ + The time the member joined the resource pool. + """ + return pulumi.get(self, "time_of_joining_resource_pool") + @property @pulumi.getter(name="timeOfLastFailover") def time_of_last_failover(self) -> str: @@ -1394,6 +1427,8 @@ def __await__(self): refreshable_status=self.refreshable_status, remote_disaster_recovery_configurations=self.remote_disaster_recovery_configurations, remote_disaster_recovery_type=self.remote_disaster_recovery_type, + resource_pool_leader_id=self.resource_pool_leader_id, + resource_pool_summaries=self.resource_pool_summaries, role=self.role, rotate_key_trigger=self.rotate_key_trigger, scheduled_operations=self.scheduled_operations, @@ -1417,6 +1452,7 @@ def __await__(self): time_local_data_guard_enabled=self.time_local_data_guard_enabled, time_maintenance_begin=self.time_maintenance_begin, time_maintenance_end=self.time_maintenance_end, + time_of_joining_resource_pool=self.time_of_joining_resource_pool, time_of_last_failover=self.time_of_last_failover, time_of_last_refresh=self.time_of_last_refresh, time_of_last_refresh_point=self.time_of_last_refresh_point, @@ -1541,6 +1577,8 @@ def get_autonomous_database(autonomous_database_id: Optional[str] = None, refreshable_status=pulumi.get(__ret__, 'refreshable_status'), remote_disaster_recovery_configurations=pulumi.get(__ret__, 'remote_disaster_recovery_configurations'), remote_disaster_recovery_type=pulumi.get(__ret__, 'remote_disaster_recovery_type'), + resource_pool_leader_id=pulumi.get(__ret__, 'resource_pool_leader_id'), + resource_pool_summaries=pulumi.get(__ret__, 'resource_pool_summaries'), role=pulumi.get(__ret__, 'role'), rotate_key_trigger=pulumi.get(__ret__, 'rotate_key_trigger'), scheduled_operations=pulumi.get(__ret__, 'scheduled_operations'), @@ -1564,6 +1602,7 @@ def get_autonomous_database(autonomous_database_id: Optional[str] = None, time_local_data_guard_enabled=pulumi.get(__ret__, 'time_local_data_guard_enabled'), time_maintenance_begin=pulumi.get(__ret__, 'time_maintenance_begin'), time_maintenance_end=pulumi.get(__ret__, 'time_maintenance_end'), + time_of_joining_resource_pool=pulumi.get(__ret__, 'time_of_joining_resource_pool'), time_of_last_failover=pulumi.get(__ret__, 'time_of_last_failover'), time_of_last_refresh=pulumi.get(__ret__, 'time_of_last_refresh'), time_of_last_refresh_point=pulumi.get(__ret__, 'time_of_last_refresh_point'), diff --git a/sdk/python/pulumi_oci/database/get_autonomous_database_backup.py b/sdk/python/pulumi_oci/database/get_autonomous_database_backup.py index 8bb480645c..f875f72702 100644 --- a/sdk/python/pulumi_oci/database/get_autonomous_database_backup.py +++ b/sdk/python/pulumi_oci/database/get_autonomous_database_backup.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/database/get_autonomous_database_backups.py b/sdk/python/pulumi_oci/database/get_autonomous_database_backups.py index 1d905da72e..9180f208cf 100644 --- a/sdk/python/pulumi_oci/database/get_autonomous_database_backups.py +++ b/sdk/python/pulumi_oci/database/get_autonomous_database_backups.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/database/get_autonomous_database_dataguard_association.py b/sdk/python/pulumi_oci/database/get_autonomous_database_dataguard_association.py index 9994f4fbb9..cc1d24cd0f 100644 --- a/sdk/python/pulumi_oci/database/get_autonomous_database_dataguard_association.py +++ b/sdk/python/pulumi_oci/database/get_autonomous_database_dataguard_association.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/database/get_autonomous_database_dataguard_associations.py b/sdk/python/pulumi_oci/database/get_autonomous_database_dataguard_associations.py index 1311d4fc03..a239325372 100644 --- a/sdk/python/pulumi_oci/database/get_autonomous_database_dataguard_associations.py +++ b/sdk/python/pulumi_oci/database/get_autonomous_database_dataguard_associations.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/database/get_autonomous_database_instance_wallet_management.py b/sdk/python/pulumi_oci/database/get_autonomous_database_instance_wallet_management.py index 61c9c33b95..9c8636e2f4 100644 --- a/sdk/python/pulumi_oci/database/get_autonomous_database_instance_wallet_management.py +++ b/sdk/python/pulumi_oci/database/get_autonomous_database_instance_wallet_management.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/database/get_autonomous_database_refreshable_clones.py b/sdk/python/pulumi_oci/database/get_autonomous_database_refreshable_clones.py index 1c07a51902..c08268b7eb 100644 --- a/sdk/python/pulumi_oci/database/get_autonomous_database_refreshable_clones.py +++ b/sdk/python/pulumi_oci/database/get_autonomous_database_refreshable_clones.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/database/get_autonomous_database_regional_wallet_management.py b/sdk/python/pulumi_oci/database/get_autonomous_database_regional_wallet_management.py index 1233e09643..c8a0f77cc2 100644 --- a/sdk/python/pulumi_oci/database/get_autonomous_database_regional_wallet_management.py +++ b/sdk/python/pulumi_oci/database/get_autonomous_database_regional_wallet_management.py @@ -6,13 +6,14 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ 'GetAutonomousDatabaseRegionalWalletManagementResult', 'AwaitableGetAutonomousDatabaseRegionalWalletManagementResult', 'get_autonomous_database_regional_wallet_management', + 'get_autonomous_database_regional_wallet_management_output', ] @pulumi.output_type @@ -107,3 +108,22 @@ def get_autonomous_database_regional_wallet_management(opts: Optional[pulumi.Inv should_rotate=pulumi.get(__ret__, 'should_rotate'), state=pulumi.get(__ret__, 'state'), time_rotated=pulumi.get(__ret__, 'time_rotated')) + + +@_utilities.lift_output_func(get_autonomous_database_regional_wallet_management) +def get_autonomous_database_regional_wallet_management_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAutonomousDatabaseRegionalWalletManagementResult]: + """ + This data source provides details about a specific Autonomous Database Regional Wallet Management resource in Oracle Cloud Infrastructure Database service. + + Gets the Autonomous Database regional wallet details. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_autonomous_database_regional_wallet_management = oci.Database.get_autonomous_database_regional_wallet_management() + ``` + """ + ... diff --git a/sdk/python/pulumi_oci/database/get_autonomous_database_wallet.py b/sdk/python/pulumi_oci/database/get_autonomous_database_wallet.py index 20e56ab55e..6fc702e404 100644 --- a/sdk/python/pulumi_oci/database/get_autonomous_database_wallet.py +++ b/sdk/python/pulumi_oci/database/get_autonomous_database_wallet.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/database/get_autonomous_databases.py b/sdk/python/pulumi_oci/database/get_autonomous_databases.py index 0586133e56..ef43fb1b89 100644 --- a/sdk/python/pulumi_oci/database/get_autonomous_databases.py +++ b/sdk/python/pulumi_oci/database/get_autonomous_databases.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -23,7 +23,7 @@ class GetAutonomousDatabasesResult: """ A collection of values returned by getAutonomousDatabases. """ - def __init__(__self__, autonomous_container_database_id=None, autonomous_databases=None, compartment_id=None, db_version=None, db_workload=None, display_name=None, filters=None, id=None, infrastructure_type=None, is_data_guard_enabled=None, is_free_tier=None, is_refreshable_clone=None, state=None): + def __init__(__self__, autonomous_container_database_id=None, autonomous_databases=None, compartment_id=None, db_version=None, db_workload=None, display_name=None, filters=None, id=None, infrastructure_type=None, is_data_guard_enabled=None, is_free_tier=None, is_refreshable_clone=None, is_resource_pool_leader=None, resource_pool_leader_id=None, state=None): if autonomous_container_database_id and not isinstance(autonomous_container_database_id, str): raise TypeError("Expected argument 'autonomous_container_database_id' to be a str") pulumi.set(__self__, "autonomous_container_database_id", autonomous_container_database_id) @@ -60,6 +60,12 @@ def __init__(__self__, autonomous_container_database_id=None, autonomous_databas if is_refreshable_clone and not isinstance(is_refreshable_clone, bool): raise TypeError("Expected argument 'is_refreshable_clone' to be a bool") pulumi.set(__self__, "is_refreshable_clone", is_refreshable_clone) + if is_resource_pool_leader and not isinstance(is_resource_pool_leader, bool): + raise TypeError("Expected argument 'is_resource_pool_leader' to be a bool") + pulumi.set(__self__, "is_resource_pool_leader", is_resource_pool_leader) + if resource_pool_leader_id and not isinstance(resource_pool_leader_id, str): + raise TypeError("Expected argument 'resource_pool_leader_id' to be a str") + pulumi.set(__self__, "resource_pool_leader_id", resource_pool_leader_id) if state and not isinstance(state, str): raise TypeError("Expected argument 'state' to be a str") pulumi.set(__self__, "state", state) @@ -161,6 +167,19 @@ def is_refreshable_clone(self) -> Optional[bool]: """ return pulumi.get(self, "is_refreshable_clone") + @property + @pulumi.getter(name="isResourcePoolLeader") + def is_resource_pool_leader(self) -> Optional[bool]: + return pulumi.get(self, "is_resource_pool_leader") + + @property + @pulumi.getter(name="resourcePoolLeaderId") + def resource_pool_leader_id(self) -> Optional[str]: + """ + The unique identifier for leader autonomous database OCID [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + """ + return pulumi.get(self, "resource_pool_leader_id") + @property @pulumi.getter def state(self) -> Optional[str]: @@ -188,6 +207,8 @@ def __await__(self): is_data_guard_enabled=self.is_data_guard_enabled, is_free_tier=self.is_free_tier, is_refreshable_clone=self.is_refreshable_clone, + is_resource_pool_leader=self.is_resource_pool_leader, + resource_pool_leader_id=self.resource_pool_leader_id, state=self.state) @@ -201,6 +222,8 @@ def get_autonomous_databases(autonomous_container_database_id: Optional[str] = N is_data_guard_enabled: Optional[bool] = None, is_free_tier: Optional[bool] = None, is_refreshable_clone: Optional[bool] = None, + is_resource_pool_leader: Optional[bool] = None, + resource_pool_leader_id: Optional[str] = None, state: Optional[str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAutonomousDatabasesResult: """ @@ -223,6 +246,8 @@ def get_autonomous_databases(autonomous_container_database_id: Optional[str] = N is_data_guard_enabled=var["autonomous_database_is_data_guard_enabled"], is_free_tier=var["autonomous_database_is_free_tier"], is_refreshable_clone=var["autonomous_database_is_refreshable_clone"], + is_resource_pool_leader=var["autonomous_database_is_resource_pool_leader"], + resource_pool_leader_id=oci_database_resource_pool_leader["test_resource_pool_leader"]["id"], state=var["autonomous_database_state"]) ``` @@ -236,6 +261,8 @@ def get_autonomous_databases(autonomous_container_database_id: Optional[str] = N :param bool is_data_guard_enabled: A filter to return only resources that have Data Guard enabled. :param bool is_free_tier: Filter on the value of the resource's 'isFreeTier' property. A value of `true` returns only Always Free resources. A value of `false` excludes Always Free resources from the returned results. Omitting this parameter returns both Always Free and paid resources. :param bool is_refreshable_clone: Filter on the value of the resource's 'isRefreshableClone' property. A value of `true` returns only refreshable clones. A value of `false` excludes refreshable clones from the returned results. Omitting this parameter returns both refreshable clones and databases that are not refreshable clones. + :param bool is_resource_pool_leader: Filter if the resource is the resource pool leader. A value of `true` returns only resource pool leader. + :param str resource_pool_leader_id: The database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resourcepool Leader Autonomous Database. :param str state: A filter to return only resources that match the given lifecycle state exactly. """ __args__ = dict() @@ -249,6 +276,8 @@ def get_autonomous_databases(autonomous_container_database_id: Optional[str] = N __args__['isDataGuardEnabled'] = is_data_guard_enabled __args__['isFreeTier'] = is_free_tier __args__['isRefreshableClone'] = is_refreshable_clone + __args__['isResourcePoolLeader'] = is_resource_pool_leader + __args__['resourcePoolLeaderId'] = resource_pool_leader_id __args__['state'] = state opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) __ret__ = pulumi.runtime.invoke('oci:Database/getAutonomousDatabases:getAutonomousDatabases', __args__, opts=opts, typ=GetAutonomousDatabasesResult).value @@ -266,6 +295,8 @@ def get_autonomous_databases(autonomous_container_database_id: Optional[str] = N is_data_guard_enabled=pulumi.get(__ret__, 'is_data_guard_enabled'), is_free_tier=pulumi.get(__ret__, 'is_free_tier'), is_refreshable_clone=pulumi.get(__ret__, 'is_refreshable_clone'), + is_resource_pool_leader=pulumi.get(__ret__, 'is_resource_pool_leader'), + resource_pool_leader_id=pulumi.get(__ret__, 'resource_pool_leader_id'), state=pulumi.get(__ret__, 'state')) @@ -280,6 +311,8 @@ def get_autonomous_databases_output(autonomous_container_database_id: Optional[p is_data_guard_enabled: Optional[pulumi.Input[Optional[bool]]] = None, is_free_tier: Optional[pulumi.Input[Optional[bool]]] = None, is_refreshable_clone: Optional[pulumi.Input[Optional[bool]]] = None, + is_resource_pool_leader: Optional[pulumi.Input[Optional[bool]]] = None, + resource_pool_leader_id: Optional[pulumi.Input[Optional[str]]] = None, state: Optional[pulumi.Input[Optional[str]]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetAutonomousDatabasesResult]: """ @@ -302,6 +335,8 @@ def get_autonomous_databases_output(autonomous_container_database_id: Optional[p is_data_guard_enabled=var["autonomous_database_is_data_guard_enabled"], is_free_tier=var["autonomous_database_is_free_tier"], is_refreshable_clone=var["autonomous_database_is_refreshable_clone"], + is_resource_pool_leader=var["autonomous_database_is_resource_pool_leader"], + resource_pool_leader_id=oci_database_resource_pool_leader["test_resource_pool_leader"]["id"], state=var["autonomous_database_state"]) ``` @@ -315,6 +350,8 @@ def get_autonomous_databases_output(autonomous_container_database_id: Optional[p :param bool is_data_guard_enabled: A filter to return only resources that have Data Guard enabled. :param bool is_free_tier: Filter on the value of the resource's 'isFreeTier' property. A value of `true` returns only Always Free resources. A value of `false` excludes Always Free resources from the returned results. Omitting this parameter returns both Always Free and paid resources. :param bool is_refreshable_clone: Filter on the value of the resource's 'isRefreshableClone' property. A value of `true` returns only refreshable clones. A value of `false` excludes refreshable clones from the returned results. Omitting this parameter returns both refreshable clones and databases that are not refreshable clones. + :param bool is_resource_pool_leader: Filter if the resource is the resource pool leader. A value of `true` returns only resource pool leader. + :param str resource_pool_leader_id: The database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resourcepool Leader Autonomous Database. :param str state: A filter to return only resources that match the given lifecycle state exactly. """ ... diff --git a/sdk/python/pulumi_oci/database/get_autonomous_databases_clones.py b/sdk/python/pulumi_oci/database/get_autonomous_databases_clones.py index a3509415ce..e3badb4748 100644 --- a/sdk/python/pulumi_oci/database/get_autonomous_databases_clones.py +++ b/sdk/python/pulumi_oci/database/get_autonomous_databases_clones.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/database/get_autonomous_db_preview_versions.py b/sdk/python/pulumi_oci/database/get_autonomous_db_preview_versions.py index d8a427cf58..7cf1c646ba 100644 --- a/sdk/python/pulumi_oci/database/get_autonomous_db_preview_versions.py +++ b/sdk/python/pulumi_oci/database/get_autonomous_db_preview_versions.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/database/get_autonomous_db_versions.py b/sdk/python/pulumi_oci/database/get_autonomous_db_versions.py index 0a511d5330..5f880e5384 100644 --- a/sdk/python/pulumi_oci/database/get_autonomous_db_versions.py +++ b/sdk/python/pulumi_oci/database/get_autonomous_db_versions.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/database/get_autonomous_exadata_infrastructure.py b/sdk/python/pulumi_oci/database/get_autonomous_exadata_infrastructure.py index ac2d2b11e9..3f98fad602 100644 --- a/sdk/python/pulumi_oci/database/get_autonomous_exadata_infrastructure.py +++ b/sdk/python/pulumi_oci/database/get_autonomous_exadata_infrastructure.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/database/get_autonomous_exadata_infrastructure_ocpu.py b/sdk/python/pulumi_oci/database/get_autonomous_exadata_infrastructure_ocpu.py index d58e8305dd..e8472d7527 100644 --- a/sdk/python/pulumi_oci/database/get_autonomous_exadata_infrastructure_ocpu.py +++ b/sdk/python/pulumi_oci/database/get_autonomous_exadata_infrastructure_ocpu.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/database/get_autonomous_exadata_infrastructure_shapes.py b/sdk/python/pulumi_oci/database/get_autonomous_exadata_infrastructure_shapes.py index 54c992f002..6717ca2d17 100644 --- a/sdk/python/pulumi_oci/database/get_autonomous_exadata_infrastructure_shapes.py +++ b/sdk/python/pulumi_oci/database/get_autonomous_exadata_infrastructure_shapes.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/database/get_autonomous_exadata_infrastructures.py b/sdk/python/pulumi_oci/database/get_autonomous_exadata_infrastructures.py index 6f740286e1..acfdb56c06 100644 --- a/sdk/python/pulumi_oci/database/get_autonomous_exadata_infrastructures.py +++ b/sdk/python/pulumi_oci/database/get_autonomous_exadata_infrastructures.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/database/get_autonomous_patch.py b/sdk/python/pulumi_oci/database/get_autonomous_patch.py index e7a6e7146b..e2c1e699b1 100644 --- a/sdk/python/pulumi_oci/database/get_autonomous_patch.py +++ b/sdk/python/pulumi_oci/database/get_autonomous_patch.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/database/get_autonomous_virtual_machine.py b/sdk/python/pulumi_oci/database/get_autonomous_virtual_machine.py index 879cca35e8..e3f5ebb604 100644 --- a/sdk/python/pulumi_oci/database/get_autonomous_virtual_machine.py +++ b/sdk/python/pulumi_oci/database/get_autonomous_virtual_machine.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/database/get_autonomous_virtual_machines.py b/sdk/python/pulumi_oci/database/get_autonomous_virtual_machines.py index adb81b30bd..ed9e9c439c 100644 --- a/sdk/python/pulumi_oci/database/get_autonomous_virtual_machines.py +++ b/sdk/python/pulumi_oci/database/get_autonomous_virtual_machines.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/database/get_autonomous_vm_cluster.py b/sdk/python/pulumi_oci/database/get_autonomous_vm_cluster.py index 12523da015..a9e65b169e 100644 --- a/sdk/python/pulumi_oci/database/get_autonomous_vm_cluster.py +++ b/sdk/python/pulumi_oci/database/get_autonomous_vm_cluster.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/database/get_autonomous_vm_clusters.py b/sdk/python/pulumi_oci/database/get_autonomous_vm_clusters.py index 6f378086f0..55fdbde323 100644 --- a/sdk/python/pulumi_oci/database/get_autonomous_vm_clusters.py +++ b/sdk/python/pulumi_oci/database/get_autonomous_vm_clusters.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/database/get_backup_destination.py b/sdk/python/pulumi_oci/database/get_backup_destination.py index 7d166816dc..0b593d94f9 100644 --- a/sdk/python/pulumi_oci/database/get_backup_destination.py +++ b/sdk/python/pulumi_oci/database/get_backup_destination.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/database/get_backup_destinations.py b/sdk/python/pulumi_oci/database/get_backup_destinations.py index 1697afe0f3..5409c1c2a0 100644 --- a/sdk/python/pulumi_oci/database/get_backup_destinations.py +++ b/sdk/python/pulumi_oci/database/get_backup_destinations.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/database/get_backups.py b/sdk/python/pulumi_oci/database/get_backups.py index 643fba44f8..b4e0cd3f36 100644 --- a/sdk/python/pulumi_oci/database/get_backups.py +++ b/sdk/python/pulumi_oci/database/get_backups.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/database/get_cloud_autonomous_vm_cluster.py b/sdk/python/pulumi_oci/database/get_cloud_autonomous_vm_cluster.py index fec4cb2185..ccba4bef36 100644 --- a/sdk/python/pulumi_oci/database/get_cloud_autonomous_vm_cluster.py +++ b/sdk/python/pulumi_oci/database/get_cloud_autonomous_vm_cluster.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/database/get_cloud_autonomous_vm_cluster_acd_resource_usages.py b/sdk/python/pulumi_oci/database/get_cloud_autonomous_vm_cluster_acd_resource_usages.py index a90ef7fff3..68de292d29 100644 --- a/sdk/python/pulumi_oci/database/get_cloud_autonomous_vm_cluster_acd_resource_usages.py +++ b/sdk/python/pulumi_oci/database/get_cloud_autonomous_vm_cluster_acd_resource_usages.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/database/get_cloud_autonomous_vm_cluster_resource_usage.py b/sdk/python/pulumi_oci/database/get_cloud_autonomous_vm_cluster_resource_usage.py index 1102c85e39..24822d1b86 100644 --- a/sdk/python/pulumi_oci/database/get_cloud_autonomous_vm_cluster_resource_usage.py +++ b/sdk/python/pulumi_oci/database/get_cloud_autonomous_vm_cluster_resource_usage.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/database/get_cloud_autonomous_vm_clusters.py b/sdk/python/pulumi_oci/database/get_cloud_autonomous_vm_clusters.py index 241d26747a..4ceba05985 100644 --- a/sdk/python/pulumi_oci/database/get_cloud_autonomous_vm_clusters.py +++ b/sdk/python/pulumi_oci/database/get_cloud_autonomous_vm_clusters.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/database/get_cloud_exadata_infrastructure.py b/sdk/python/pulumi_oci/database/get_cloud_exadata_infrastructure.py index cadeb26fb6..65fa4462f5 100644 --- a/sdk/python/pulumi_oci/database/get_cloud_exadata_infrastructure.py +++ b/sdk/python/pulumi_oci/database/get_cloud_exadata_infrastructure.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/database/get_cloud_exadata_infrastructure_un_allocated_resource.py b/sdk/python/pulumi_oci/database/get_cloud_exadata_infrastructure_un_allocated_resource.py index 8ab4077269..42d34668ab 100644 --- a/sdk/python/pulumi_oci/database/get_cloud_exadata_infrastructure_un_allocated_resource.py +++ b/sdk/python/pulumi_oci/database/get_cloud_exadata_infrastructure_un_allocated_resource.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/database/get_cloud_exadata_infrastructures.py b/sdk/python/pulumi_oci/database/get_cloud_exadata_infrastructures.py index 56ee69e1e7..ad8ca2f3f5 100644 --- a/sdk/python/pulumi_oci/database/get_cloud_exadata_infrastructures.py +++ b/sdk/python/pulumi_oci/database/get_cloud_exadata_infrastructures.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/database/get_cloud_vm_cluster.py b/sdk/python/pulumi_oci/database/get_cloud_vm_cluster.py index dde8c18747..7d3b053cb8 100644 --- a/sdk/python/pulumi_oci/database/get_cloud_vm_cluster.py +++ b/sdk/python/pulumi_oci/database/get_cloud_vm_cluster.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/database/get_cloud_vm_cluster_iorm_config.py b/sdk/python/pulumi_oci/database/get_cloud_vm_cluster_iorm_config.py index 50fb358417..0dad29e08a 100644 --- a/sdk/python/pulumi_oci/database/get_cloud_vm_cluster_iorm_config.py +++ b/sdk/python/pulumi_oci/database/get_cloud_vm_cluster_iorm_config.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/database/get_cloud_vm_clusters.py b/sdk/python/pulumi_oci/database/get_cloud_vm_clusters.py index 246ae33ae9..81e7e61304 100644 --- a/sdk/python/pulumi_oci/database/get_cloud_vm_clusters.py +++ b/sdk/python/pulumi_oci/database/get_cloud_vm_clusters.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/database/get_data_guard_association.py b/sdk/python/pulumi_oci/database/get_data_guard_association.py index 57d90b6005..af9fa128c0 100644 --- a/sdk/python/pulumi_oci/database/get_data_guard_association.py +++ b/sdk/python/pulumi_oci/database/get_data_guard_association.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/database/get_data_guard_associations.py b/sdk/python/pulumi_oci/database/get_data_guard_associations.py index 1f5ce40bfb..7504852ca1 100644 --- a/sdk/python/pulumi_oci/database/get_data_guard_associations.py +++ b/sdk/python/pulumi_oci/database/get_data_guard_associations.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/database/get_database.py b/sdk/python/pulumi_oci/database/get_database.py index d51e25f8ce..6b6ed3062d 100644 --- a/sdk/python/pulumi_oci/database/get_database.py +++ b/sdk/python/pulumi_oci/database/get_database.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/database/get_database_maintenance_run_histories.py b/sdk/python/pulumi_oci/database/get_database_maintenance_run_histories.py index 0b968a8551..ebc6934043 100644 --- a/sdk/python/pulumi_oci/database/get_database_maintenance_run_histories.py +++ b/sdk/python/pulumi_oci/database/get_database_maintenance_run_histories.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/database/get_database_maintenance_run_history.py b/sdk/python/pulumi_oci/database/get_database_maintenance_run_history.py index a18ce32710..db941e314c 100644 --- a/sdk/python/pulumi_oci/database/get_database_maintenance_run_history.py +++ b/sdk/python/pulumi_oci/database/get_database_maintenance_run_history.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/database/get_database_pdb_conversion_history_entries.py b/sdk/python/pulumi_oci/database/get_database_pdb_conversion_history_entries.py index ee0d912a30..2721be597d 100644 --- a/sdk/python/pulumi_oci/database/get_database_pdb_conversion_history_entries.py +++ b/sdk/python/pulumi_oci/database/get_database_pdb_conversion_history_entries.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/database/get_database_pdb_conversion_history_entry.py b/sdk/python/pulumi_oci/database/get_database_pdb_conversion_history_entry.py index 3a4449e541..cce803ce87 100644 --- a/sdk/python/pulumi_oci/database/get_database_pdb_conversion_history_entry.py +++ b/sdk/python/pulumi_oci/database/get_database_pdb_conversion_history_entry.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/database/get_database_software_image.py b/sdk/python/pulumi_oci/database/get_database_software_image.py index 05af9eece6..944d494a56 100644 --- a/sdk/python/pulumi_oci/database/get_database_software_image.py +++ b/sdk/python/pulumi_oci/database/get_database_software_image.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/database/get_database_software_images.py b/sdk/python/pulumi_oci/database/get_database_software_images.py index 49ffbf4028..9df665ff29 100644 --- a/sdk/python/pulumi_oci/database/get_database_software_images.py +++ b/sdk/python/pulumi_oci/database/get_database_software_images.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/database/get_database_upgrade_history_entries.py b/sdk/python/pulumi_oci/database/get_database_upgrade_history_entries.py index 10d23fd422..be660d2f91 100644 --- a/sdk/python/pulumi_oci/database/get_database_upgrade_history_entries.py +++ b/sdk/python/pulumi_oci/database/get_database_upgrade_history_entries.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/database/get_database_upgrade_history_entry.py b/sdk/python/pulumi_oci/database/get_database_upgrade_history_entry.py index a546e66f7a..124e275ebc 100644 --- a/sdk/python/pulumi_oci/database/get_database_upgrade_history_entry.py +++ b/sdk/python/pulumi_oci/database/get_database_upgrade_history_entry.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/database/get_databases.py b/sdk/python/pulumi_oci/database/get_databases.py index 27e666150f..95c5171deb 100644 --- a/sdk/python/pulumi_oci/database/get_databases.py +++ b/sdk/python/pulumi_oci/database/get_databases.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/database/get_db_home.py b/sdk/python/pulumi_oci/database/get_db_home.py index c4e2351c98..9be926fbf8 100644 --- a/sdk/python/pulumi_oci/database/get_db_home.py +++ b/sdk/python/pulumi_oci/database/get_db_home.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/database/get_db_home_patch_history_entries.py b/sdk/python/pulumi_oci/database/get_db_home_patch_history_entries.py index cb24b45e9e..5a444bedfa 100644 --- a/sdk/python/pulumi_oci/database/get_db_home_patch_history_entries.py +++ b/sdk/python/pulumi_oci/database/get_db_home_patch_history_entries.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/database/get_db_home_patches.py b/sdk/python/pulumi_oci/database/get_db_home_patches.py index bc50216998..21f0bca12e 100644 --- a/sdk/python/pulumi_oci/database/get_db_home_patches.py +++ b/sdk/python/pulumi_oci/database/get_db_home_patches.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/database/get_db_homes.py b/sdk/python/pulumi_oci/database/get_db_homes.py index 3b3e7d9aab..d506dae69a 100644 --- a/sdk/python/pulumi_oci/database/get_db_homes.py +++ b/sdk/python/pulumi_oci/database/get_db_homes.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/database/get_db_node.py b/sdk/python/pulumi_oci/database/get_db_node.py index d8b0a932d6..9f8a16693b 100644 --- a/sdk/python/pulumi_oci/database/get_db_node.py +++ b/sdk/python/pulumi_oci/database/get_db_node.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/database/get_db_node_console_connection.py b/sdk/python/pulumi_oci/database/get_db_node_console_connection.py index 2049173f59..289ae3a1bb 100644 --- a/sdk/python/pulumi_oci/database/get_db_node_console_connection.py +++ b/sdk/python/pulumi_oci/database/get_db_node_console_connection.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/database/get_db_node_console_connections.py b/sdk/python/pulumi_oci/database/get_db_node_console_connections.py index 7649f64f62..734930d177 100644 --- a/sdk/python/pulumi_oci/database/get_db_node_console_connections.py +++ b/sdk/python/pulumi_oci/database/get_db_node_console_connections.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/database/get_db_nodes.py b/sdk/python/pulumi_oci/database/get_db_nodes.py index d62ed8f690..1e831fb41f 100644 --- a/sdk/python/pulumi_oci/database/get_db_nodes.py +++ b/sdk/python/pulumi_oci/database/get_db_nodes.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/database/get_db_server.py b/sdk/python/pulumi_oci/database/get_db_server.py index eee9dc800a..862145bb24 100644 --- a/sdk/python/pulumi_oci/database/get_db_server.py +++ b/sdk/python/pulumi_oci/database/get_db_server.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/database/get_db_servers.py b/sdk/python/pulumi_oci/database/get_db_servers.py index c5c553dab3..f426be04ee 100644 --- a/sdk/python/pulumi_oci/database/get_db_servers.py +++ b/sdk/python/pulumi_oci/database/get_db_servers.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/database/get_db_system_compute_performances.py b/sdk/python/pulumi_oci/database/get_db_system_compute_performances.py index f64ec06ee5..fbb4e9926b 100644 --- a/sdk/python/pulumi_oci/database/get_db_system_compute_performances.py +++ b/sdk/python/pulumi_oci/database/get_db_system_compute_performances.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/database/get_db_system_history_entries.py b/sdk/python/pulumi_oci/database/get_db_system_history_entries.py index f2bf011e29..6707d93fa6 100644 --- a/sdk/python/pulumi_oci/database/get_db_system_history_entries.py +++ b/sdk/python/pulumi_oci/database/get_db_system_history_entries.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/database/get_db_system_patches.py b/sdk/python/pulumi_oci/database/get_db_system_patches.py index c6f4659de1..246573a4a7 100644 --- a/sdk/python/pulumi_oci/database/get_db_system_patches.py +++ b/sdk/python/pulumi_oci/database/get_db_system_patches.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/database/get_db_system_shapes.py b/sdk/python/pulumi_oci/database/get_db_system_shapes.py index 0a61c5145f..9a823f4bde 100644 --- a/sdk/python/pulumi_oci/database/get_db_system_shapes.py +++ b/sdk/python/pulumi_oci/database/get_db_system_shapes.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/database/get_db_system_storage_performances.py b/sdk/python/pulumi_oci/database/get_db_system_storage_performances.py index ca4fb1a55b..1523bbba6e 100644 --- a/sdk/python/pulumi_oci/database/get_db_system_storage_performances.py +++ b/sdk/python/pulumi_oci/database/get_db_system_storage_performances.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/database/get_db_systems.py b/sdk/python/pulumi_oci/database/get_db_systems.py index c306735b77..12e6d698e5 100644 --- a/sdk/python/pulumi_oci/database/get_db_systems.py +++ b/sdk/python/pulumi_oci/database/get_db_systems.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/database/get_db_systems_upgrade_history_entries.py b/sdk/python/pulumi_oci/database/get_db_systems_upgrade_history_entries.py index cd7f341206..8dd695c420 100644 --- a/sdk/python/pulumi_oci/database/get_db_systems_upgrade_history_entries.py +++ b/sdk/python/pulumi_oci/database/get_db_systems_upgrade_history_entries.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/database/get_db_systems_upgrade_history_entry.py b/sdk/python/pulumi_oci/database/get_db_systems_upgrade_history_entry.py index 0a1aaf15e6..77594e0674 100644 --- a/sdk/python/pulumi_oci/database/get_db_systems_upgrade_history_entry.py +++ b/sdk/python/pulumi_oci/database/get_db_systems_upgrade_history_entry.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/database/get_db_versions.py b/sdk/python/pulumi_oci/database/get_db_versions.py index af9bfdc0cc..d24221eafd 100644 --- a/sdk/python/pulumi_oci/database/get_db_versions.py +++ b/sdk/python/pulumi_oci/database/get_db_versions.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/database/get_exadata_infrastructure.py b/sdk/python/pulumi_oci/database/get_exadata_infrastructure.py index d06f8930e0..cb5fe0ca4f 100644 --- a/sdk/python/pulumi_oci/database/get_exadata_infrastructure.py +++ b/sdk/python/pulumi_oci/database/get_exadata_infrastructure.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/database/get_exadata_infrastructure_download_config_file.py b/sdk/python/pulumi_oci/database/get_exadata_infrastructure_download_config_file.py index ec84338fff..5fb32232d5 100644 --- a/sdk/python/pulumi_oci/database/get_exadata_infrastructure_download_config_file.py +++ b/sdk/python/pulumi_oci/database/get_exadata_infrastructure_download_config_file.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/database/get_exadata_infrastructure_un_allocated_resource.py b/sdk/python/pulumi_oci/database/get_exadata_infrastructure_un_allocated_resource.py index 8b2d37d72b..64886721e0 100644 --- a/sdk/python/pulumi_oci/database/get_exadata_infrastructure_un_allocated_resource.py +++ b/sdk/python/pulumi_oci/database/get_exadata_infrastructure_un_allocated_resource.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/database/get_exadata_infrastructures.py b/sdk/python/pulumi_oci/database/get_exadata_infrastructures.py index d158dec9e2..b50e01ade8 100644 --- a/sdk/python/pulumi_oci/database/get_exadata_infrastructures.py +++ b/sdk/python/pulumi_oci/database/get_exadata_infrastructures.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/database/get_exadata_iorm_config.py b/sdk/python/pulumi_oci/database/get_exadata_iorm_config.py index 791dc9df15..4d139009a8 100644 --- a/sdk/python/pulumi_oci/database/get_exadata_iorm_config.py +++ b/sdk/python/pulumi_oci/database/get_exadata_iorm_config.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/database/get_external_container_database.py b/sdk/python/pulumi_oci/database/get_external_container_database.py index 6f3caed083..f10132ddf1 100644 --- a/sdk/python/pulumi_oci/database/get_external_container_database.py +++ b/sdk/python/pulumi_oci/database/get_external_container_database.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/database/get_external_container_databases.py b/sdk/python/pulumi_oci/database/get_external_container_databases.py index 17b6175876..868d6b50b7 100644 --- a/sdk/python/pulumi_oci/database/get_external_container_databases.py +++ b/sdk/python/pulumi_oci/database/get_external_container_databases.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/database/get_external_database_connector.py b/sdk/python/pulumi_oci/database/get_external_database_connector.py index 74b8907680..3b66205dc8 100644 --- a/sdk/python/pulumi_oci/database/get_external_database_connector.py +++ b/sdk/python/pulumi_oci/database/get_external_database_connector.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/database/get_external_database_connectors.py b/sdk/python/pulumi_oci/database/get_external_database_connectors.py index a4538a0cf9..b122f326c1 100644 --- a/sdk/python/pulumi_oci/database/get_external_database_connectors.py +++ b/sdk/python/pulumi_oci/database/get_external_database_connectors.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/database/get_external_non_container_database.py b/sdk/python/pulumi_oci/database/get_external_non_container_database.py index b5106d702d..73a495064b 100644 --- a/sdk/python/pulumi_oci/database/get_external_non_container_database.py +++ b/sdk/python/pulumi_oci/database/get_external_non_container_database.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/database/get_external_non_container_databases.py b/sdk/python/pulumi_oci/database/get_external_non_container_databases.py index e617fc0f4b..c1a8da642b 100644 --- a/sdk/python/pulumi_oci/database/get_external_non_container_databases.py +++ b/sdk/python/pulumi_oci/database/get_external_non_container_databases.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/database/get_external_pluggable_database.py b/sdk/python/pulumi_oci/database/get_external_pluggable_database.py index 922f4ab34c..7ff9819e99 100644 --- a/sdk/python/pulumi_oci/database/get_external_pluggable_database.py +++ b/sdk/python/pulumi_oci/database/get_external_pluggable_database.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/database/get_external_pluggable_databases.py b/sdk/python/pulumi_oci/database/get_external_pluggable_databases.py index 3796ecfcb2..a7f7fcee9e 100644 --- a/sdk/python/pulumi_oci/database/get_external_pluggable_databases.py +++ b/sdk/python/pulumi_oci/database/get_external_pluggable_databases.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/database/get_flex_components.py b/sdk/python/pulumi_oci/database/get_flex_components.py index edfa3414b5..52a2c0af42 100644 --- a/sdk/python/pulumi_oci/database/get_flex_components.py +++ b/sdk/python/pulumi_oci/database/get_flex_components.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/database/get_gi_versions.py b/sdk/python/pulumi_oci/database/get_gi_versions.py index 4944cfef97..eea57afb4b 100644 --- a/sdk/python/pulumi_oci/database/get_gi_versions.py +++ b/sdk/python/pulumi_oci/database/get_gi_versions.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/database/get_infrastructure_target_version.py b/sdk/python/pulumi_oci/database/get_infrastructure_target_version.py index 058178da64..4828b7d00e 100644 --- a/sdk/python/pulumi_oci/database/get_infrastructure_target_version.py +++ b/sdk/python/pulumi_oci/database/get_infrastructure_target_version.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/database/get_key_store.py b/sdk/python/pulumi_oci/database/get_key_store.py index 4599f8299e..edc49e263e 100644 --- a/sdk/python/pulumi_oci/database/get_key_store.py +++ b/sdk/python/pulumi_oci/database/get_key_store.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/database/get_key_stores.py b/sdk/python/pulumi_oci/database/get_key_stores.py index 5f578c067e..4450833f5a 100644 --- a/sdk/python/pulumi_oci/database/get_key_stores.py +++ b/sdk/python/pulumi_oci/database/get_key_stores.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/database/get_maintenance_run.py b/sdk/python/pulumi_oci/database/get_maintenance_run.py index 42539f8d2e..cf8a21c148 100644 --- a/sdk/python/pulumi_oci/database/get_maintenance_run.py +++ b/sdk/python/pulumi_oci/database/get_maintenance_run.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/database/get_maintenance_runs.py b/sdk/python/pulumi_oci/database/get_maintenance_runs.py index 006a9e353f..b33e3761a2 100644 --- a/sdk/python/pulumi_oci/database/get_maintenance_runs.py +++ b/sdk/python/pulumi_oci/database/get_maintenance_runs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/database/get_managed_preferred_credential.py b/sdk/python/pulumi_oci/database/get_managed_preferred_credential.py index 62b2a68a5f..08357f3978 100644 --- a/sdk/python/pulumi_oci/database/get_managed_preferred_credential.py +++ b/sdk/python/pulumi_oci/database/get_managed_preferred_credential.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/database/get_managed_preferred_credentials.py b/sdk/python/pulumi_oci/database/get_managed_preferred_credentials.py index 4c0814a6d6..5a53ec0f1a 100644 --- a/sdk/python/pulumi_oci/database/get_managed_preferred_credentials.py +++ b/sdk/python/pulumi_oci/database/get_managed_preferred_credentials.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/database/get_oneoff_patch.py b/sdk/python/pulumi_oci/database/get_oneoff_patch.py index df06b744de..fe47b69dfb 100644 --- a/sdk/python/pulumi_oci/database/get_oneoff_patch.py +++ b/sdk/python/pulumi_oci/database/get_oneoff_patch.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/database/get_oneoff_patches.py b/sdk/python/pulumi_oci/database/get_oneoff_patches.py index 79ba976c62..bbbcca0a40 100644 --- a/sdk/python/pulumi_oci/database/get_oneoff_patches.py +++ b/sdk/python/pulumi_oci/database/get_oneoff_patches.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/database/get_pluggable_database.py b/sdk/python/pulumi_oci/database/get_pluggable_database.py index de1c38e094..82536918e9 100644 --- a/sdk/python/pulumi_oci/database/get_pluggable_database.py +++ b/sdk/python/pulumi_oci/database/get_pluggable_database.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/database/get_pluggable_databases.py b/sdk/python/pulumi_oci/database/get_pluggable_databases.py index b64bbbcb01..7a2fe6a225 100644 --- a/sdk/python/pulumi_oci/database/get_pluggable_databases.py +++ b/sdk/python/pulumi_oci/database/get_pluggable_databases.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/database/get_vm_cluster.py b/sdk/python/pulumi_oci/database/get_vm_cluster.py index 3a337789e0..0ae22c0641 100644 --- a/sdk/python/pulumi_oci/database/get_vm_cluster.py +++ b/sdk/python/pulumi_oci/database/get_vm_cluster.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/database/get_vm_cluster_network.py b/sdk/python/pulumi_oci/database/get_vm_cluster_network.py index 5623977c8e..c90d56be01 100644 --- a/sdk/python/pulumi_oci/database/get_vm_cluster_network.py +++ b/sdk/python/pulumi_oci/database/get_vm_cluster_network.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/database/get_vm_cluster_network_download_config_file.py b/sdk/python/pulumi_oci/database/get_vm_cluster_network_download_config_file.py index f12bfa73c0..33a6acfe83 100644 --- a/sdk/python/pulumi_oci/database/get_vm_cluster_network_download_config_file.py +++ b/sdk/python/pulumi_oci/database/get_vm_cluster_network_download_config_file.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/database/get_vm_cluster_networks.py b/sdk/python/pulumi_oci/database/get_vm_cluster_networks.py index 8c665d2401..5982d3abec 100644 --- a/sdk/python/pulumi_oci/database/get_vm_cluster_networks.py +++ b/sdk/python/pulumi_oci/database/get_vm_cluster_networks.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/database/get_vm_cluster_patch.py b/sdk/python/pulumi_oci/database/get_vm_cluster_patch.py index f705bc09fa..570970566a 100644 --- a/sdk/python/pulumi_oci/database/get_vm_cluster_patch.py +++ b/sdk/python/pulumi_oci/database/get_vm_cluster_patch.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/database/get_vm_cluster_patch_history_entries.py b/sdk/python/pulumi_oci/database/get_vm_cluster_patch_history_entries.py index 240235c4d6..2f41dd888c 100644 --- a/sdk/python/pulumi_oci/database/get_vm_cluster_patch_history_entries.py +++ b/sdk/python/pulumi_oci/database/get_vm_cluster_patch_history_entries.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/database/get_vm_cluster_patch_history_entry.py b/sdk/python/pulumi_oci/database/get_vm_cluster_patch_history_entry.py index 80fce6101e..ea20cb36ae 100644 --- a/sdk/python/pulumi_oci/database/get_vm_cluster_patch_history_entry.py +++ b/sdk/python/pulumi_oci/database/get_vm_cluster_patch_history_entry.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/database/get_vm_cluster_patches.py b/sdk/python/pulumi_oci/database/get_vm_cluster_patches.py index a17ae2c616..322f69ab0a 100644 --- a/sdk/python/pulumi_oci/database/get_vm_cluster_patches.py +++ b/sdk/python/pulumi_oci/database/get_vm_cluster_patches.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/database/get_vm_cluster_recommended_network.py b/sdk/python/pulumi_oci/database/get_vm_cluster_recommended_network.py index 5343d4564a..4ecde4deeb 100644 --- a/sdk/python/pulumi_oci/database/get_vm_cluster_recommended_network.py +++ b/sdk/python/pulumi_oci/database/get_vm_cluster_recommended_network.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/database/get_vm_cluster_update.py b/sdk/python/pulumi_oci/database/get_vm_cluster_update.py index 063e3489d9..6052d6ed7d 100644 --- a/sdk/python/pulumi_oci/database/get_vm_cluster_update.py +++ b/sdk/python/pulumi_oci/database/get_vm_cluster_update.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/database/get_vm_cluster_update_history_entries.py b/sdk/python/pulumi_oci/database/get_vm_cluster_update_history_entries.py index dbac40fab6..01bcd3d1c5 100644 --- a/sdk/python/pulumi_oci/database/get_vm_cluster_update_history_entries.py +++ b/sdk/python/pulumi_oci/database/get_vm_cluster_update_history_entries.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/database/get_vm_cluster_update_history_entry.py b/sdk/python/pulumi_oci/database/get_vm_cluster_update_history_entry.py index 4802f5ae73..80bebe4ca5 100644 --- a/sdk/python/pulumi_oci/database/get_vm_cluster_update_history_entry.py +++ b/sdk/python/pulumi_oci/database/get_vm_cluster_update_history_entry.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/database/get_vm_cluster_updates.py b/sdk/python/pulumi_oci/database/get_vm_cluster_updates.py index 208118f19d..6bcab0f8d7 100644 --- a/sdk/python/pulumi_oci/database/get_vm_cluster_updates.py +++ b/sdk/python/pulumi_oci/database/get_vm_cluster_updates.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/database/get_vm_clusters.py b/sdk/python/pulumi_oci/database/get_vm_clusters.py index 3f4be629a1..17ecf27436 100644 --- a/sdk/python/pulumi_oci/database/get_vm_clusters.py +++ b/sdk/python/pulumi_oci/database/get_vm_clusters.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/database/key_store.py b/sdk/python/pulumi_oci/database/key_store.py index 4fe374757c..a72c9a0509 100644 --- a/sdk/python/pulumi_oci/database/key_store.py +++ b/sdk/python/pulumi_oci/database/key_store.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -29,13 +29,30 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). :param pulumi.Input[Mapping[str, Any]] freeform_tags: (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "type_details", type_details) + KeyStoreArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + type_details=type_details, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + type_details: pulumi.Input['KeyStoreTypeDetailsArgs'], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) + _setter("type_details", type_details) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="compartmentId") @@ -122,24 +139,49 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time that the key store was created. :param pulumi.Input['KeyStoreTypeDetailsArgs'] type_details: (Updatable) Key store type details. """ + _KeyStoreState._configure( + lambda key, value: pulumi.set(__self__, key, value), + associated_databases=associated_databases, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + state=state, + time_created=time_created, + type_details=type_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + associated_databases: Optional[pulumi.Input[Sequence[pulumi.Input['KeyStoreAssociatedDatabaseArgs']]]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + type_details: Optional[pulumi.Input['KeyStoreTypeDetailsArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if associated_databases is not None: - pulumi.set(__self__, "associated_databases", associated_databases) + _setter("associated_databases", associated_databases) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if type_details is not None: - pulumi.set(__self__, "type_details", type_details) + _setter("type_details", type_details) @property @pulumi.getter(name="associatedDatabases") @@ -355,6 +397,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + KeyStoreArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -382,6 +428,11 @@ def _internal_init(__self__, raise TypeError("Missing required property 'display_name'") __props__.__dict__["display_name"] = display_name __props__.__dict__["freeform_tags"] = freeform_tags + if type_details is not None and not isinstance(type_details, KeyStoreTypeDetailsArgs): + type_details = type_details or {} + def _setter(key, value): + type_details[key] = value + KeyStoreTypeDetailsArgs._configure(_setter, **type_details) if type_details is None and not opts.urn: raise TypeError("Missing required property 'type_details'") __props__.__dict__["type_details"] = type_details diff --git a/sdk/python/pulumi_oci/database/maintenance_run.py b/sdk/python/pulumi_oci/database/maintenance_run.py index ca5fe5dbed..95c92fd26c 100644 --- a/sdk/python/pulumi_oci/database/maintenance_run.py +++ b/sdk/python/pulumi_oci/database/maintenance_run.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -49,29 +49,60 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "maintenance_run_id", maintenance_run_id) + MaintenanceRunArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + maintenance_run_id=maintenance_run_id, + current_custom_action_timeout_in_mins=current_custom_action_timeout_in_mins, + custom_action_timeout_in_mins=custom_action_timeout_in_mins, + is_custom_action_timeout_enabled=is_custom_action_timeout_enabled, + is_enabled=is_enabled, + is_patch_now_enabled=is_patch_now_enabled, + is_resume_patching=is_resume_patching, + patch_id=patch_id, + patching_mode=patching_mode, + target_db_server_version=target_db_server_version, + target_storage_server_version=target_storage_server_version, + time_scheduled=time_scheduled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + maintenance_run_id: pulumi.Input[str], + current_custom_action_timeout_in_mins: Optional[pulumi.Input[int]] = None, + custom_action_timeout_in_mins: Optional[pulumi.Input[int]] = None, + is_custom_action_timeout_enabled: Optional[pulumi.Input[bool]] = None, + is_enabled: Optional[pulumi.Input[bool]] = None, + is_patch_now_enabled: Optional[pulumi.Input[bool]] = None, + is_resume_patching: Optional[pulumi.Input[bool]] = None, + patch_id: Optional[pulumi.Input[str]] = None, + patching_mode: Optional[pulumi.Input[str]] = None, + target_db_server_version: Optional[pulumi.Input[str]] = None, + target_storage_server_version: Optional[pulumi.Input[str]] = None, + time_scheduled: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("maintenance_run_id", maintenance_run_id) if current_custom_action_timeout_in_mins is not None: - pulumi.set(__self__, "current_custom_action_timeout_in_mins", current_custom_action_timeout_in_mins) + _setter("current_custom_action_timeout_in_mins", current_custom_action_timeout_in_mins) if custom_action_timeout_in_mins is not None: - pulumi.set(__self__, "custom_action_timeout_in_mins", custom_action_timeout_in_mins) + _setter("custom_action_timeout_in_mins", custom_action_timeout_in_mins) if is_custom_action_timeout_enabled is not None: - pulumi.set(__self__, "is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) + _setter("is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) if is_patch_now_enabled is not None: - pulumi.set(__self__, "is_patch_now_enabled", is_patch_now_enabled) + _setter("is_patch_now_enabled", is_patch_now_enabled) if is_resume_patching is not None: - pulumi.set(__self__, "is_resume_patching", is_resume_patching) + _setter("is_resume_patching", is_resume_patching) if patch_id is not None: - pulumi.set(__self__, "patch_id", patch_id) + _setter("patch_id", patch_id) if patching_mode is not None: - pulumi.set(__self__, "patching_mode", patching_mode) + _setter("patching_mode", patching_mode) if target_db_server_version is not None: - pulumi.set(__self__, "target_db_server_version", target_db_server_version) + _setter("target_db_server_version", target_db_server_version) if target_storage_server_version is not None: - pulumi.set(__self__, "target_storage_server_version", target_storage_server_version) + _setter("target_storage_server_version", target_storage_server_version) if time_scheduled is not None: - pulumi.set(__self__, "time_scheduled", time_scheduled) + _setter("time_scheduled", time_scheduled) @property @pulumi.getter(name="maintenanceRunId") @@ -298,68 +329,137 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] time_started: The date and time the maintenance run starts. """ + _MaintenanceRunState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + current_custom_action_timeout_in_mins=current_custom_action_timeout_in_mins, + current_patching_component=current_patching_component, + custom_action_timeout_in_mins=custom_action_timeout_in_mins, + description=description, + display_name=display_name, + estimated_component_patching_start_time=estimated_component_patching_start_time, + estimated_patching_times=estimated_patching_times, + is_custom_action_timeout_enabled=is_custom_action_timeout_enabled, + is_enabled=is_enabled, + is_patch_now_enabled=is_patch_now_enabled, + is_resume_patching=is_resume_patching, + lifecycle_details=lifecycle_details, + maintenance_run_id=maintenance_run_id, + maintenance_subtype=maintenance_subtype, + maintenance_type=maintenance_type, + patch_failure_count=patch_failure_count, + patch_id=patch_id, + patching_end_time=patching_end_time, + patching_mode=patching_mode, + patching_start_time=patching_start_time, + patching_status=patching_status, + peer_maintenance_run_id=peer_maintenance_run_id, + state=state, + target_db_server_version=target_db_server_version, + target_resource_id=target_resource_id, + target_resource_type=target_resource_type, + target_storage_server_version=target_storage_server_version, + time_ended=time_ended, + time_scheduled=time_scheduled, + time_started=time_started, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + current_custom_action_timeout_in_mins: Optional[pulumi.Input[int]] = None, + current_patching_component: Optional[pulumi.Input[str]] = None, + custom_action_timeout_in_mins: Optional[pulumi.Input[int]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + estimated_component_patching_start_time: Optional[pulumi.Input[str]] = None, + estimated_patching_times: Optional[pulumi.Input[Sequence[pulumi.Input['MaintenanceRunEstimatedPatchingTimeArgs']]]] = None, + is_custom_action_timeout_enabled: Optional[pulumi.Input[bool]] = None, + is_enabled: Optional[pulumi.Input[bool]] = None, + is_patch_now_enabled: Optional[pulumi.Input[bool]] = None, + is_resume_patching: Optional[pulumi.Input[bool]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + maintenance_run_id: Optional[pulumi.Input[str]] = None, + maintenance_subtype: Optional[pulumi.Input[str]] = None, + maintenance_type: Optional[pulumi.Input[str]] = None, + patch_failure_count: Optional[pulumi.Input[int]] = None, + patch_id: Optional[pulumi.Input[str]] = None, + patching_end_time: Optional[pulumi.Input[str]] = None, + patching_mode: Optional[pulumi.Input[str]] = None, + patching_start_time: Optional[pulumi.Input[str]] = None, + patching_status: Optional[pulumi.Input[str]] = None, + peer_maintenance_run_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + target_db_server_version: Optional[pulumi.Input[str]] = None, + target_resource_id: Optional[pulumi.Input[str]] = None, + target_resource_type: Optional[pulumi.Input[str]] = None, + target_storage_server_version: Optional[pulumi.Input[str]] = None, + time_ended: Optional[pulumi.Input[str]] = None, + time_scheduled: Optional[pulumi.Input[str]] = None, + time_started: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if current_custom_action_timeout_in_mins is not None: - pulumi.set(__self__, "current_custom_action_timeout_in_mins", current_custom_action_timeout_in_mins) + _setter("current_custom_action_timeout_in_mins", current_custom_action_timeout_in_mins) if current_patching_component is not None: - pulumi.set(__self__, "current_patching_component", current_patching_component) + _setter("current_patching_component", current_patching_component) if custom_action_timeout_in_mins is not None: - pulumi.set(__self__, "custom_action_timeout_in_mins", custom_action_timeout_in_mins) + _setter("custom_action_timeout_in_mins", custom_action_timeout_in_mins) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if estimated_component_patching_start_time is not None: - pulumi.set(__self__, "estimated_component_patching_start_time", estimated_component_patching_start_time) + _setter("estimated_component_patching_start_time", estimated_component_patching_start_time) if estimated_patching_times is not None: - pulumi.set(__self__, "estimated_patching_times", estimated_patching_times) + _setter("estimated_patching_times", estimated_patching_times) if is_custom_action_timeout_enabled is not None: - pulumi.set(__self__, "is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) + _setter("is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) if is_patch_now_enabled is not None: - pulumi.set(__self__, "is_patch_now_enabled", is_patch_now_enabled) + _setter("is_patch_now_enabled", is_patch_now_enabled) if is_resume_patching is not None: - pulumi.set(__self__, "is_resume_patching", is_resume_patching) + _setter("is_resume_patching", is_resume_patching) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if maintenance_run_id is not None: - pulumi.set(__self__, "maintenance_run_id", maintenance_run_id) + _setter("maintenance_run_id", maintenance_run_id) if maintenance_subtype is not None: - pulumi.set(__self__, "maintenance_subtype", maintenance_subtype) + _setter("maintenance_subtype", maintenance_subtype) if maintenance_type is not None: - pulumi.set(__self__, "maintenance_type", maintenance_type) + _setter("maintenance_type", maintenance_type) if patch_failure_count is not None: - pulumi.set(__self__, "patch_failure_count", patch_failure_count) + _setter("patch_failure_count", patch_failure_count) if patch_id is not None: - pulumi.set(__self__, "patch_id", patch_id) + _setter("patch_id", patch_id) if patching_end_time is not None: - pulumi.set(__self__, "patching_end_time", patching_end_time) + _setter("patching_end_time", patching_end_time) if patching_mode is not None: - pulumi.set(__self__, "patching_mode", patching_mode) + _setter("patching_mode", patching_mode) if patching_start_time is not None: - pulumi.set(__self__, "patching_start_time", patching_start_time) + _setter("patching_start_time", patching_start_time) if patching_status is not None: - pulumi.set(__self__, "patching_status", patching_status) + _setter("patching_status", patching_status) if peer_maintenance_run_id is not None: - pulumi.set(__self__, "peer_maintenance_run_id", peer_maintenance_run_id) + _setter("peer_maintenance_run_id", peer_maintenance_run_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if target_db_server_version is not None: - pulumi.set(__self__, "target_db_server_version", target_db_server_version) + _setter("target_db_server_version", target_db_server_version) if target_resource_id is not None: - pulumi.set(__self__, "target_resource_id", target_resource_id) + _setter("target_resource_id", target_resource_id) if target_resource_type is not None: - pulumi.set(__self__, "target_resource_type", target_resource_type) + _setter("target_resource_type", target_resource_type) if target_storage_server_version is not None: - pulumi.set(__self__, "target_storage_server_version", target_storage_server_version) + _setter("target_storage_server_version", target_storage_server_version) if time_ended is not None: - pulumi.set(__self__, "time_ended", time_ended) + _setter("time_ended", time_ended) if time_scheduled is not None: - pulumi.set(__self__, "time_scheduled", time_scheduled) + _setter("time_scheduled", time_scheduled) if time_started is not None: - pulumi.set(__self__, "time_started", time_started) + _setter("time_started", time_started) @property @pulumi.getter(name="compartmentId") @@ -821,6 +921,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + MaintenanceRunArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/database/oneoff_patch.py b/sdk/python/pulumi_oci/database/oneoff_patch.py index 0e1a302b7c..8d0212f85e 100644 --- a/sdk/python/pulumi_oci/database/oneoff_patch.py +++ b/sdk/python/pulumi_oci/database/oneoff_patch.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['OneoffPatchArgs', 'OneoffPatch'] @@ -37,18 +37,41 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] freeform_tags: (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` :param pulumi.Input[Sequence[pulumi.Input[str]]] one_off_patches: List of one-off patches for Database Homes. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "db_version", db_version) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "release_update", release_update) + OneoffPatchArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + db_version=db_version, + display_name=display_name, + release_update=release_update, + defined_tags=defined_tags, + download_oneoff_patch_trigger=download_oneoff_patch_trigger, + freeform_tags=freeform_tags, + one_off_patches=one_off_patches, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + db_version: pulumi.Input[str], + display_name: pulumi.Input[str], + release_update: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + download_oneoff_patch_trigger: Optional[pulumi.Input[int]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + one_off_patches: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("db_version", db_version) + _setter("display_name", display_name) + _setter("release_update", release_update) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if download_oneoff_patch_trigger is not None: - pulumi.set(__self__, "download_oneoff_patch_trigger", download_oneoff_patch_trigger) + _setter("download_oneoff_patch_trigger", download_oneoff_patch_trigger) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if one_off_patches is not None: - pulumi.set(__self__, "one_off_patches", one_off_patches) + _setter("one_off_patches", one_off_patches) @property @pulumi.getter(name="compartmentId") @@ -191,36 +214,73 @@ def __init__(__self__, *, :param pulumi.Input[str] time_of_expiration: The date and time until which the one-off patch will be available for download. :param pulumi.Input[str] time_updated: The date and time one-off patch was updated. """ + _OneoffPatchState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + db_version=db_version, + defined_tags=defined_tags, + display_name=display_name, + download_oneoff_patch_trigger=download_oneoff_patch_trigger, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + one_off_patches=one_off_patches, + release_update=release_update, + sha256sum=sha256sum, + size_in_kbs=size_in_kbs, + state=state, + time_created=time_created, + time_of_expiration=time_of_expiration, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + db_version: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + download_oneoff_patch_trigger: Optional[pulumi.Input[int]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + one_off_patches: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + release_update: Optional[pulumi.Input[str]] = None, + sha256sum: Optional[pulumi.Input[str]] = None, + size_in_kbs: Optional[pulumi.Input[float]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_of_expiration: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if db_version is not None: - pulumi.set(__self__, "db_version", db_version) + _setter("db_version", db_version) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if download_oneoff_patch_trigger is not None: - pulumi.set(__self__, "download_oneoff_patch_trigger", download_oneoff_patch_trigger) + _setter("download_oneoff_patch_trigger", download_oneoff_patch_trigger) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if one_off_patches is not None: - pulumi.set(__self__, "one_off_patches", one_off_patches) + _setter("one_off_patches", one_off_patches) if release_update is not None: - pulumi.set(__self__, "release_update", release_update) + _setter("release_update", release_update) if sha256sum is not None: - pulumi.set(__self__, "sha256sum", sha256sum) + _setter("sha256sum", sha256sum) if size_in_kbs is not None: - pulumi.set(__self__, "size_in_kbs", size_in_kbs) + _setter("size_in_kbs", size_in_kbs) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_of_expiration is not None: - pulumi.set(__self__, "time_of_expiration", time_of_expiration) + _setter("time_of_expiration", time_of_expiration) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -514,6 +574,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + OneoffPatchArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/database/outputs.py b/sdk/python/pulumi_oci/database/outputs.py index e1cb75dc02..86126fa4a3 100644 --- a/sdk/python/pulumi_oci/database/outputs.py +++ b/sdk/python/pulumi_oci/database/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -33,6 +33,7 @@ 'AutonomousDatabaseLocalStandbyDb', 'AutonomousDatabaseLongTermBackupSchedule', 'AutonomousDatabaseRemoteDisasterRecoveryConfiguration', + 'AutonomousDatabaseResourcePoolSummary', 'AutonomousDatabaseScheduledOperation', 'AutonomousDatabaseScheduledOperationDayOfWeek', 'AutonomousDatabaseStandbyDb', @@ -202,6 +203,7 @@ 'GetAutonomousDatabaseRefreshableClonesRefreshableCloneCollectionResult', 'GetAutonomousDatabaseRefreshableClonesRefreshableCloneCollectionItemResult', 'GetAutonomousDatabaseRemoteDisasterRecoveryConfigurationResult', + 'GetAutonomousDatabaseResourcePoolSummaryResult', 'GetAutonomousDatabaseScheduledOperationResult', 'GetAutonomousDatabaseScheduledOperationDayOfWeekResult', 'GetAutonomousDatabaseStandbyDbResult', @@ -216,6 +218,7 @@ 'GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDbResult', 'GetAutonomousDatabasesAutonomousDatabaseLongTermBackupScheduleResult', 'GetAutonomousDatabasesAutonomousDatabaseRemoteDisasterRecoveryConfigurationResult', + 'GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryResult', 'GetAutonomousDatabasesAutonomousDatabaseScheduledOperationResult', 'GetAutonomousDatabasesAutonomousDatabaseScheduledOperationDayOfWeekResult', 'GetAutonomousDatabasesAutonomousDatabaseStandbyDbResult', @@ -230,6 +233,7 @@ 'GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDbResult', 'GetAutonomousDatabasesClonesAutonomousDatabaseLongTermBackupScheduleResult', 'GetAutonomousDatabasesClonesAutonomousDatabaseRemoteDisasterRecoveryConfigurationResult', + 'GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryResult', 'GetAutonomousDatabasesClonesAutonomousDatabaseScheduledOperationResult', 'GetAutonomousDatabasesClonesAutonomousDatabaseScheduledOperationDayOfWeekResult', 'GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDbResult', @@ -540,10 +544,21 @@ def __init__(__self__, *, :param 'AutonomousContainerDatabaseBackupConfigBackupDestinationDetailsArgs' backup_destination_details: Backup destination details. :param int recovery_window_in_days: Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups. """ + AutonomousContainerDatabaseBackupConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + backup_destination_details=backup_destination_details, + recovery_window_in_days=recovery_window_in_days, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backup_destination_details: Optional['outputs.AutonomousContainerDatabaseBackupConfigBackupDestinationDetails'] = None, + recovery_window_in_days: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if backup_destination_details is not None: - pulumi.set(__self__, "backup_destination_details", backup_destination_details) + _setter("backup_destination_details", backup_destination_details) if recovery_window_in_days is not None: - pulumi.set(__self__, "recovery_window_in_days", recovery_window_in_days) + _setter("recovery_window_in_days", recovery_window_in_days) @property @pulumi.getter(name="backupDestinationDetails") @@ -598,15 +613,32 @@ def __init__(__self__, *, :param str vpc_password: For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance. :param str vpc_user: For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance. """ - pulumi.set(__self__, "type", type) + AutonomousContainerDatabaseBackupConfigBackupDestinationDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + id=id, + internet_proxy=internet_proxy, + vpc_password=vpc_password, + vpc_user=vpc_user, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + id: Optional[str] = None, + internet_proxy: Optional[str] = None, + vpc_password: Optional[str] = None, + vpc_user: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if internet_proxy is not None: - pulumi.set(__self__, "internet_proxy", internet_proxy) + _setter("internet_proxy", internet_proxy) if vpc_password is not None: - pulumi.set(__self__, "vpc_password", vpc_password) + _setter("vpc_password", vpc_password) if vpc_user is not None: - pulumi.set(__self__, "vpc_user", vpc_user) + _setter("vpc_user", vpc_user) @property @pulumi.getter @@ -683,14 +715,29 @@ def __init__(__self__, *, :param str time_activated: The date and time the kms key activated. :param str vault_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure [vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). """ + AutonomousContainerDatabaseKeyHistoryEntry._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + kms_key_version_id=kms_key_version_id, + time_activated=time_activated, + vault_id=vault_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: Optional[str] = None, + kms_key_version_id: Optional[str] = None, + time_activated: Optional[str] = None, + vault_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if kms_key_version_id is not None: - pulumi.set(__self__, "kms_key_version_id", kms_key_version_id) + _setter("kms_key_version_id", kms_key_version_id) if time_activated is not None: - pulumi.set(__self__, "time_activated", time_activated) + _setter("time_activated", time_activated) if vault_id is not None: - pulumi.set(__self__, "vault_id", vault_id) + _setter("vault_id", vault_id) @property @pulumi.getter @@ -784,26 +831,53 @@ def __init__(__self__, *, :param str preference: (Updatable) The maintenance window scheduling preference. :param Sequence[int] weeks_of_months: (Updatable) Weeks during the month when maintenance should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week. For example, to allow maintenance during the 2nd week of the month (from the 8th day to the 14th day of the month), use the value 2. Maintenance cannot be scheduled for the fifth week of months that contain more than 28 days. Note that this parameter works in conjunction with the daysOfWeek and hoursOfDay parameters to allow you to specify specific days of the week and hours that maintenance will be performed. """ + AutonomousContainerDatabaseMaintenanceWindow._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_action_timeout_in_mins=custom_action_timeout_in_mins, + days_of_weeks=days_of_weeks, + hours_of_days=hours_of_days, + is_custom_action_timeout_enabled=is_custom_action_timeout_enabled, + is_monthly_patching_enabled=is_monthly_patching_enabled, + lead_time_in_weeks=lead_time_in_weeks, + months=months, + patching_mode=patching_mode, + preference=preference, + weeks_of_months=weeks_of_months, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_action_timeout_in_mins: Optional[int] = None, + days_of_weeks: Optional[Sequence['outputs.AutonomousContainerDatabaseMaintenanceWindowDaysOfWeek']] = None, + hours_of_days: Optional[Sequence[int]] = None, + is_custom_action_timeout_enabled: Optional[bool] = None, + is_monthly_patching_enabled: Optional[bool] = None, + lead_time_in_weeks: Optional[int] = None, + months: Optional[Sequence['outputs.AutonomousContainerDatabaseMaintenanceWindowMonth']] = None, + patching_mode: Optional[str] = None, + preference: Optional[str] = None, + weeks_of_months: Optional[Sequence[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if custom_action_timeout_in_mins is not None: - pulumi.set(__self__, "custom_action_timeout_in_mins", custom_action_timeout_in_mins) + _setter("custom_action_timeout_in_mins", custom_action_timeout_in_mins) if days_of_weeks is not None: - pulumi.set(__self__, "days_of_weeks", days_of_weeks) + _setter("days_of_weeks", days_of_weeks) if hours_of_days is not None: - pulumi.set(__self__, "hours_of_days", hours_of_days) + _setter("hours_of_days", hours_of_days) if is_custom_action_timeout_enabled is not None: - pulumi.set(__self__, "is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) + _setter("is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) if is_monthly_patching_enabled is not None: - pulumi.set(__self__, "is_monthly_patching_enabled", is_monthly_patching_enabled) + _setter("is_monthly_patching_enabled", is_monthly_patching_enabled) if lead_time_in_weeks is not None: - pulumi.set(__self__, "lead_time_in_weeks", lead_time_in_weeks) + _setter("lead_time_in_weeks", lead_time_in_weeks) if months is not None: - pulumi.set(__self__, "months", months) + _setter("months", months) if patching_mode is not None: - pulumi.set(__self__, "patching_mode", patching_mode) + _setter("patching_mode", patching_mode) if preference is not None: - pulumi.set(__self__, "preference", preference) + _setter("preference", preference) if weeks_of_months is not None: - pulumi.set(__self__, "weeks_of_months", weeks_of_months) + _setter("weeks_of_months", weeks_of_months) @property @pulumi.getter(name="customActionTimeoutInMins") @@ -896,8 +970,17 @@ def __init__(__self__, *, """ :param str name: (Updatable) Name of the month of the year. """ + AutonomousContainerDatabaseMaintenanceWindowDaysOfWeek._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -967,26 +1050,53 @@ def __init__(__self__, *, :param str preference: (Updatable) The maintenance window scheduling preference. :param Sequence[int] weeks_of_months: (Updatable) Weeks during the month when maintenance should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week. For example, to allow maintenance during the 2nd week of the month (from the 8th day to the 14th day of the month), use the value 2. Maintenance cannot be scheduled for the fifth week of months that contain more than 28 days. Note that this parameter works in conjunction with the daysOfWeek and hoursOfDay parameters to allow you to specify specific days of the week and hours that maintenance will be performed. """ + AutonomousContainerDatabaseMaintenanceWindowDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_action_timeout_in_mins=custom_action_timeout_in_mins, + days_of_weeks=days_of_weeks, + hours_of_days=hours_of_days, + is_custom_action_timeout_enabled=is_custom_action_timeout_enabled, + is_monthly_patching_enabled=is_monthly_patching_enabled, + lead_time_in_weeks=lead_time_in_weeks, + months=months, + patching_mode=patching_mode, + preference=preference, + weeks_of_months=weeks_of_months, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_action_timeout_in_mins: Optional[int] = None, + days_of_weeks: Optional[Sequence['outputs.AutonomousContainerDatabaseMaintenanceWindowDetailsDaysOfWeek']] = None, + hours_of_days: Optional[Sequence[int]] = None, + is_custom_action_timeout_enabled: Optional[bool] = None, + is_monthly_patching_enabled: Optional[bool] = None, + lead_time_in_weeks: Optional[int] = None, + months: Optional[Sequence['outputs.AutonomousContainerDatabaseMaintenanceWindowDetailsMonth']] = None, + patching_mode: Optional[str] = None, + preference: Optional[str] = None, + weeks_of_months: Optional[Sequence[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if custom_action_timeout_in_mins is not None: - pulumi.set(__self__, "custom_action_timeout_in_mins", custom_action_timeout_in_mins) + _setter("custom_action_timeout_in_mins", custom_action_timeout_in_mins) if days_of_weeks is not None: - pulumi.set(__self__, "days_of_weeks", days_of_weeks) + _setter("days_of_weeks", days_of_weeks) if hours_of_days is not None: - pulumi.set(__self__, "hours_of_days", hours_of_days) + _setter("hours_of_days", hours_of_days) if is_custom_action_timeout_enabled is not None: - pulumi.set(__self__, "is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) + _setter("is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) if is_monthly_patching_enabled is not None: - pulumi.set(__self__, "is_monthly_patching_enabled", is_monthly_patching_enabled) + _setter("is_monthly_patching_enabled", is_monthly_patching_enabled) if lead_time_in_weeks is not None: - pulumi.set(__self__, "lead_time_in_weeks", lead_time_in_weeks) + _setter("lead_time_in_weeks", lead_time_in_weeks) if months is not None: - pulumi.set(__self__, "months", months) + _setter("months", months) if patching_mode is not None: - pulumi.set(__self__, "patching_mode", patching_mode) + _setter("patching_mode", patching_mode) if preference is not None: - pulumi.set(__self__, "preference", preference) + _setter("preference", preference) if weeks_of_months is not None: - pulumi.set(__self__, "weeks_of_months", weeks_of_months) + _setter("weeks_of_months", weeks_of_months) @property @pulumi.getter(name="customActionTimeoutInMins") @@ -1079,7 +1189,16 @@ def __init__(__self__, *, """ :param str name: (Updatable) Name of the month of the year. """ - pulumi.set(__self__, "name", name) + AutonomousContainerDatabaseMaintenanceWindowDetailsDaysOfWeek._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -1097,7 +1216,16 @@ def __init__(__self__, *, """ :param str name: (Updatable) Name of the month of the year. """ - pulumi.set(__self__, "name", name) + AutonomousContainerDatabaseMaintenanceWindowDetailsMonth._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -1115,8 +1243,17 @@ def __init__(__self__, *, """ :param str name: (Updatable) Name of the month of the year. """ + AutonomousContainerDatabaseMaintenanceWindowMonth._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -1155,10 +1292,21 @@ def __init__(__self__, *, :param Sequence['AutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailArgs'] backup_destination_details: Backup destination details. :param int recovery_window_in_days: Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups. """ + AutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + backup_destination_details=backup_destination_details, + recovery_window_in_days=recovery_window_in_days, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backup_destination_details: Optional[Sequence['outputs.AutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetail']] = None, + recovery_window_in_days: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if backup_destination_details is not None: - pulumi.set(__self__, "backup_destination_details", backup_destination_details) + _setter("backup_destination_details", backup_destination_details) if recovery_window_in_days is not None: - pulumi.set(__self__, "recovery_window_in_days", recovery_window_in_days) + _setter("recovery_window_in_days", recovery_window_in_days) @property @pulumi.getter(name="backupDestinationDetails") @@ -1213,15 +1361,32 @@ def __init__(__self__, *, :param str vpc_password: For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance. :param str vpc_user: For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance. """ - pulumi.set(__self__, "type", type) + AutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + id=id, + internet_proxy=internet_proxy, + vpc_password=vpc_password, + vpc_user=vpc_user, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + id: Optional[str] = None, + internet_proxy: Optional[str] = None, + vpc_password: Optional[str] = None, + vpc_user: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if internet_proxy is not None: - pulumi.set(__self__, "internet_proxy", internet_proxy) + _setter("internet_proxy", internet_proxy) if vpc_password is not None: - pulumi.set(__self__, "vpc_password", vpc_password) + _setter("vpc_password", vpc_password) if vpc_user is not None: - pulumi.set(__self__, "vpc_user", vpc_user) + _setter("vpc_user", vpc_user) @property @pulumi.getter @@ -1292,10 +1457,21 @@ def __init__(__self__, *, :param str apex_version: The Oracle APEX Application Development version. :param str ords_version: The Oracle REST Data Services (ORDS) version. """ + AutonomousDatabaseApexDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + apex_version=apex_version, + ords_version=ords_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + apex_version: Optional[str] = None, + ords_version: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if apex_version is not None: - pulumi.set(__self__, "apex_version", apex_version) + _setter("apex_version", apex_version) if ords_version is not None: - pulumi.set(__self__, "ords_version", ords_version) + _setter("ords_version", ords_version) @property @pulumi.getter(name="apexVersion") @@ -1350,15 +1526,32 @@ def __init__(__self__, *, :param str vpc_password: For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance. :param str vpc_user: For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance. """ - pulumi.set(__self__, "type", type) + AutonomousDatabaseBackupBackupDestinationDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + id=id, + internet_proxy=internet_proxy, + vpc_password=vpc_password, + vpc_user=vpc_user, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + id: Optional[str] = None, + internet_proxy: Optional[str] = None, + vpc_password: Optional[str] = None, + vpc_user: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if internet_proxy is not None: - pulumi.set(__self__, "internet_proxy", internet_proxy) + _setter("internet_proxy", internet_proxy) if vpc_password is not None: - pulumi.set(__self__, "vpc_password", vpc_password) + _setter("vpc_password", vpc_password) if vpc_user is not None: - pulumi.set(__self__, "vpc_user", vpc_user) + _setter("vpc_user", vpc_user) @property @pulumi.getter @@ -1429,10 +1622,21 @@ def __init__(__self__, *, :param str manual_backup_bucket_name: Name of [Object Storage](https://docs.cloud.oracle.com/iaas/Content/Object/Concepts/objectstorageoverview.htm) bucket to use for storing manual backups. :param str manual_backup_type: The manual backup destination type. """ + AutonomousDatabaseBackupConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + manual_backup_bucket_name=manual_backup_bucket_name, + manual_backup_type=manual_backup_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + manual_backup_bucket_name: Optional[str] = None, + manual_backup_type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if manual_backup_bucket_name is not None: - pulumi.set(__self__, "manual_backup_bucket_name", manual_backup_bucket_name) + _setter("manual_backup_bucket_name", manual_backup_bucket_name) if manual_backup_type is not None: - pulumi.set(__self__, "manual_backup_type", manual_backup_type) + _setter("manual_backup_type", manual_backup_type) @property @pulumi.getter(name="manualBackupBucketName") @@ -1485,18 +1689,37 @@ def __init__(__self__, *, :param str medium: The Medium database service provides a lower level of resources to each SQL statement potentially resulting a lower level of performance, but supports more concurrent SQL statements. :param Sequence['AutonomousDatabaseConnectionStringProfileArgs'] profiles: A list of connection string profiles to allow clients to group, filter and select connection string values based on structured metadata. """ + AutonomousDatabaseConnectionString._configure( + lambda key, value: pulumi.set(__self__, key, value), + all_connection_strings=all_connection_strings, + dedicated=dedicated, + high=high, + low=low, + medium=medium, + profiles=profiles, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + all_connection_strings: Optional[Mapping[str, Any]] = None, + dedicated: Optional[str] = None, + high: Optional[str] = None, + low: Optional[str] = None, + medium: Optional[str] = None, + profiles: Optional[Sequence['outputs.AutonomousDatabaseConnectionStringProfile']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if all_connection_strings is not None: - pulumi.set(__self__, "all_connection_strings", all_connection_strings) + _setter("all_connection_strings", all_connection_strings) if dedicated is not None: - pulumi.set(__self__, "dedicated", dedicated) + _setter("dedicated", dedicated) if high is not None: - pulumi.set(__self__, "high", high) + _setter("high", high) if low is not None: - pulumi.set(__self__, "low", low) + _setter("low", low) if medium is not None: - pulumi.set(__self__, "medium", medium) + _setter("medium", medium) if profiles is not None: - pulumi.set(__self__, "profiles", profiles) + _setter("profiles", profiles) @property @pulumi.getter(name="allConnectionStrings") @@ -1595,22 +1818,45 @@ def __init__(__self__, *, :param str tls_authentication: Specifies whether the TLS handshake is using one-way (`SERVER`) or mutual (`MUTUAL`) authentication. :param str value: Connection string value. """ + AutonomousDatabaseConnectionStringProfile._configure( + lambda key, value: pulumi.set(__self__, key, value), + consumer_group=consumer_group, + display_name=display_name, + host_format=host_format, + protocol=protocol, + session_mode=session_mode, + syntax_format=syntax_format, + tls_authentication=tls_authentication, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + consumer_group: Optional[str] = None, + display_name: Optional[str] = None, + host_format: Optional[str] = None, + protocol: Optional[str] = None, + session_mode: Optional[str] = None, + syntax_format: Optional[str] = None, + tls_authentication: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if consumer_group is not None: - pulumi.set(__self__, "consumer_group", consumer_group) + _setter("consumer_group", consumer_group) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if host_format is not None: - pulumi.set(__self__, "host_format", host_format) + _setter("host_format", host_format) if protocol is not None: - pulumi.set(__self__, "protocol", protocol) + _setter("protocol", protocol) if session_mode is not None: - pulumi.set(__self__, "session_mode", session_mode) + _setter("session_mode", session_mode) if syntax_format is not None: - pulumi.set(__self__, "syntax_format", syntax_format) + _setter("syntax_format", syntax_format) if tls_authentication is not None: - pulumi.set(__self__, "tls_authentication", tls_authentication) + _setter("tls_authentication", tls_authentication) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter(name="consumerGroup") @@ -1713,14 +1959,29 @@ def __init__(__self__, *, :param str machine_learning_user_management_url: Oracle Machine Learning user management URL. :param str sql_dev_web_url: Oracle SQL Developer Web URL. """ + AutonomousDatabaseConnectionUrl._configure( + lambda key, value: pulumi.set(__self__, key, value), + apex_url=apex_url, + graph_studio_url=graph_studio_url, + machine_learning_user_management_url=machine_learning_user_management_url, + sql_dev_web_url=sql_dev_web_url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + apex_url: Optional[str] = None, + graph_studio_url: Optional[str] = None, + machine_learning_user_management_url: Optional[str] = None, + sql_dev_web_url: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if apex_url is not None: - pulumi.set(__self__, "apex_url", apex_url) + _setter("apex_url", apex_url) if graph_studio_url is not None: - pulumi.set(__self__, "graph_studio_url", graph_studio_url) + _setter("graph_studio_url", graph_studio_url) if machine_learning_user_management_url is not None: - pulumi.set(__self__, "machine_learning_user_management_url", machine_learning_user_management_url) + _setter("machine_learning_user_management_url", machine_learning_user_management_url) if sql_dev_web_url is not None: - pulumi.set(__self__, "sql_dev_web_url", sql_dev_web_url) + _setter("sql_dev_web_url", sql_dev_web_url) @property @pulumi.getter(name="apexUrl") @@ -1762,8 +2023,17 @@ def __init__(__self__, *, """ :param str email: (Updatable) The email address used by Oracle to send notifications regarding databases and infrastructure. """ + AutonomousDatabaseCustomerContact._configure( + lambda key, value: pulumi.set(__self__, key, value), + email=email, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + email: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if email is not None: - pulumi.set(__self__, "email", email) + _setter("email", email) @property @pulumi.getter @@ -1808,14 +2078,29 @@ def __init__(__self__, *, :param str time_activated: The date and time the kms key activated. :param str vault_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure [vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). """ + AutonomousDatabaseKeyHistoryEntry._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + kms_key_version_id=kms_key_version_id, + time_activated=time_activated, + vault_id=vault_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: Optional[str] = None, + kms_key_version_id: Optional[str] = None, + time_activated: Optional[str] = None, + vault_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if kms_key_version_id is not None: - pulumi.set(__self__, "kms_key_version_id", kms_key_version_id) + _setter("kms_key_version_id", kms_key_version_id) if time_activated is not None: - pulumi.set(__self__, "time_activated", time_activated) + _setter("time_activated", time_activated) if vault_id is not None: - pulumi.set(__self__, "vault_id", vault_id) + _setter("vault_id", vault_id) @property @pulumi.getter @@ -1888,16 +2173,33 @@ def __init__(__self__, *, :param str time_data_guard_role_changed: The date and time the Autonomous Data Guard role was switched for the Autonomous Database. For databases that have standbys in both the primary Data Guard region and a remote Data Guard standby region, this is the latest timestamp of either the database using the "primary" role in the primary Data Guard region, or database located in the remote Data Guard standby region. :param str time_disaster_recovery_role_changed: The date and time the Disaster Recovery role was switched for the standby Autonomous Database. """ + AutonomousDatabaseLocalStandbyDb._configure( + lambda key, value: pulumi.set(__self__, key, value), + lag_time_in_seconds=lag_time_in_seconds, + lifecycle_details=lifecycle_details, + state=state, + time_data_guard_role_changed=time_data_guard_role_changed, + time_disaster_recovery_role_changed=time_disaster_recovery_role_changed, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + lag_time_in_seconds: Optional[int] = None, + lifecycle_details: Optional[str] = None, + state: Optional[str] = None, + time_data_guard_role_changed: Optional[str] = None, + time_disaster_recovery_role_changed: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if lag_time_in_seconds is not None: - pulumi.set(__self__, "lag_time_in_seconds", lag_time_in_seconds) + _setter("lag_time_in_seconds", lag_time_in_seconds) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_data_guard_role_changed is not None: - pulumi.set(__self__, "time_data_guard_role_changed", time_data_guard_role_changed) + _setter("time_data_guard_role_changed", time_data_guard_role_changed) if time_disaster_recovery_role_changed is not None: - pulumi.set(__self__, "time_disaster_recovery_role_changed", time_disaster_recovery_role_changed) + _setter("time_disaster_recovery_role_changed", time_disaster_recovery_role_changed) @property @pulumi.getter(name="lagTimeInSeconds") @@ -1976,14 +2278,29 @@ def __init__(__self__, *, :param int retention_period_in_days: Retention period, in days, for long-term backups :param str time_of_backup: The timestamp for the long-term backup schedule. For a MONTHLY cadence, months having fewer days than the provided date will have the backup taken on the last day of that month. """ + AutonomousDatabaseLongTermBackupSchedule._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_disabled=is_disabled, + repeat_cadence=repeat_cadence, + retention_period_in_days=retention_period_in_days, + time_of_backup=time_of_backup, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_disabled: Optional[bool] = None, + repeat_cadence: Optional[str] = None, + retention_period_in_days: Optional[int] = None, + time_of_backup: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_disabled is not None: - pulumi.set(__self__, "is_disabled", is_disabled) + _setter("is_disabled", is_disabled) if repeat_cadence is not None: - pulumi.set(__self__, "repeat_cadence", repeat_cadence) + _setter("repeat_cadence", repeat_cadence) if retention_period_in_days is not None: - pulumi.set(__self__, "retention_period_in_days", retention_period_in_days) + _setter("retention_period_in_days", retention_period_in_days) if time_of_backup is not None: - pulumi.set(__self__, "time_of_backup", time_of_backup) + _setter("time_of_backup", time_of_backup) @property @pulumi.getter(name="isDisabled") @@ -2042,8 +2359,17 @@ def __init__(__self__, *, """ :param str disaster_recovery_type: Indicates the disaster recovery (DR) type of the Autonomous Database Serverless instance. Autonomous Data Guard (ADG) DR type provides business critical DR with a faster recovery time objective (RTO) during failover or switchover. Backup-based DR type provides lower cost DR with a slower RTO during failover or switchover. """ + AutonomousDatabaseRemoteDisasterRecoveryConfiguration._configure( + lambda key, value: pulumi.set(__self__, key, value), + disaster_recovery_type=disaster_recovery_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + disaster_recovery_type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if disaster_recovery_type is not None: - pulumi.set(__self__, "disaster_recovery_type", disaster_recovery_type) + _setter("disaster_recovery_type", disaster_recovery_type) @property @pulumi.getter(name="disasterRecoveryType") @@ -2054,6 +2380,63 @@ def disaster_recovery_type(self) -> Optional[str]: return pulumi.get(self, "disaster_recovery_type") +@pulumi.output_type +class AutonomousDatabaseResourcePoolSummary(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "isDisabled": + suggest = "is_disabled" + elif key == "poolSize": + suggest = "pool_size" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in AutonomousDatabaseResourcePoolSummary. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + AutonomousDatabaseResourcePoolSummary.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + AutonomousDatabaseResourcePoolSummary.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + is_disabled: Optional[bool] = None, + pool_size: Optional[int] = None): + """ + :param bool is_disabled: Indicates if the long-term backup schedule should be deleted. The default value is `FALSE`. + """ + AutonomousDatabaseResourcePoolSummary._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_disabled=is_disabled, + pool_size=pool_size, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_disabled: Optional[bool] = None, + pool_size: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if is_disabled is not None: + _setter("is_disabled", is_disabled) + if pool_size is not None: + _setter("pool_size", pool_size) + + @property + @pulumi.getter(name="isDisabled") + def is_disabled(self) -> Optional[bool]: + """ + Indicates if the long-term backup schedule should be deleted. The default value is `FALSE`. + """ + return pulumi.get(self, "is_disabled") + + @property + @pulumi.getter(name="poolSize") + def pool_size(self) -> Optional[int]: + return pulumi.get(self, "pool_size") + + @pulumi.output_type class AutonomousDatabaseScheduledOperation(dict): @staticmethod @@ -2086,11 +2469,24 @@ def __init__(__self__, *, :param str scheduled_start_time: (Updatable) auto start time. value must be of ISO-8601 format "HH:mm" :param str scheduled_stop_time: (Updatable) auto stop time. value must be of ISO-8601 format "HH:mm" """ - pulumi.set(__self__, "day_of_week", day_of_week) + AutonomousDatabaseScheduledOperation._configure( + lambda key, value: pulumi.set(__self__, key, value), + day_of_week=day_of_week, + scheduled_start_time=scheduled_start_time, + scheduled_stop_time=scheduled_stop_time, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + day_of_week: 'outputs.AutonomousDatabaseScheduledOperationDayOfWeek', + scheduled_start_time: Optional[str] = None, + scheduled_stop_time: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("day_of_week", day_of_week) if scheduled_start_time is not None: - pulumi.set(__self__, "scheduled_start_time", scheduled_start_time) + _setter("scheduled_start_time", scheduled_start_time) if scheduled_stop_time is not None: - pulumi.set(__self__, "scheduled_stop_time", scheduled_stop_time) + _setter("scheduled_stop_time", scheduled_stop_time) @property @pulumi.getter(name="dayOfWeek") @@ -2124,7 +2520,16 @@ def __init__(__self__, *, """ :param str name: (Updatable) Name of the day of the week. """ - pulumi.set(__self__, "name", name) + AutonomousDatabaseScheduledOperationDayOfWeek._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -2173,16 +2578,33 @@ def __init__(__self__, *, :param str time_data_guard_role_changed: The date and time the Autonomous Data Guard role was switched for the Autonomous Database. For databases that have standbys in both the primary Data Guard region and a remote Data Guard standby region, this is the latest timestamp of either the database using the "primary" role in the primary Data Guard region, or database located in the remote Data Guard standby region. :param str time_disaster_recovery_role_changed: The date and time the Disaster Recovery role was switched for the standby Autonomous Database. """ + AutonomousDatabaseStandbyDb._configure( + lambda key, value: pulumi.set(__self__, key, value), + lag_time_in_seconds=lag_time_in_seconds, + lifecycle_details=lifecycle_details, + state=state, + time_data_guard_role_changed=time_data_guard_role_changed, + time_disaster_recovery_role_changed=time_disaster_recovery_role_changed, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + lag_time_in_seconds: Optional[int] = None, + lifecycle_details: Optional[str] = None, + state: Optional[str] = None, + time_data_guard_role_changed: Optional[str] = None, + time_disaster_recovery_role_changed: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if lag_time_in_seconds is not None: - pulumi.set(__self__, "lag_time_in_seconds", lag_time_in_seconds) + _setter("lag_time_in_seconds", lag_time_in_seconds) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_data_guard_role_changed is not None: - pulumi.set(__self__, "time_data_guard_role_changed", time_data_guard_role_changed) + _setter("time_data_guard_role_changed", time_data_guard_role_changed) if time_disaster_recovery_role_changed is not None: - pulumi.set(__self__, "time_disaster_recovery_role_changed", time_disaster_recovery_role_changed) + _setter("time_disaster_recovery_role_changed", time_disaster_recovery_role_changed) @property @pulumi.getter(name="lagTimeInSeconds") @@ -2284,26 +2706,53 @@ def __init__(__self__, *, :param str preference: (Updatable) The maintenance window scheduling preference. :param Sequence[int] weeks_of_months: (Updatable) Weeks during the month when maintenance should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week. For example, to allow maintenance during the 2nd week of the month (from the 8th day to the 14th day of the month), use the value 2. Maintenance cannot be scheduled for the fifth week of months that contain more than 28 days. Note that this parameter works in conjunction with the daysOfWeek and hoursOfDay parameters to allow you to specify specific days of the week and hours that maintenance will be performed. """ + AutonomousExadataInfrastructureMaintenanceWindow._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_action_timeout_in_mins=custom_action_timeout_in_mins, + days_of_weeks=days_of_weeks, + hours_of_days=hours_of_days, + is_custom_action_timeout_enabled=is_custom_action_timeout_enabled, + is_monthly_patching_enabled=is_monthly_patching_enabled, + lead_time_in_weeks=lead_time_in_weeks, + months=months, + patching_mode=patching_mode, + preference=preference, + weeks_of_months=weeks_of_months, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_action_timeout_in_mins: Optional[int] = None, + days_of_weeks: Optional[Sequence['outputs.AutonomousExadataInfrastructureMaintenanceWindowDaysOfWeek']] = None, + hours_of_days: Optional[Sequence[int]] = None, + is_custom_action_timeout_enabled: Optional[bool] = None, + is_monthly_patching_enabled: Optional[bool] = None, + lead_time_in_weeks: Optional[int] = None, + months: Optional[Sequence['outputs.AutonomousExadataInfrastructureMaintenanceWindowMonth']] = None, + patching_mode: Optional[str] = None, + preference: Optional[str] = None, + weeks_of_months: Optional[Sequence[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if custom_action_timeout_in_mins is not None: - pulumi.set(__self__, "custom_action_timeout_in_mins", custom_action_timeout_in_mins) + _setter("custom_action_timeout_in_mins", custom_action_timeout_in_mins) if days_of_weeks is not None: - pulumi.set(__self__, "days_of_weeks", days_of_weeks) + _setter("days_of_weeks", days_of_weeks) if hours_of_days is not None: - pulumi.set(__self__, "hours_of_days", hours_of_days) + _setter("hours_of_days", hours_of_days) if is_custom_action_timeout_enabled is not None: - pulumi.set(__self__, "is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) + _setter("is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) if is_monthly_patching_enabled is not None: - pulumi.set(__self__, "is_monthly_patching_enabled", is_monthly_patching_enabled) + _setter("is_monthly_patching_enabled", is_monthly_patching_enabled) if lead_time_in_weeks is not None: - pulumi.set(__self__, "lead_time_in_weeks", lead_time_in_weeks) + _setter("lead_time_in_weeks", lead_time_in_weeks) if months is not None: - pulumi.set(__self__, "months", months) + _setter("months", months) if patching_mode is not None: - pulumi.set(__self__, "patching_mode", patching_mode) + _setter("patching_mode", patching_mode) if preference is not None: - pulumi.set(__self__, "preference", preference) + _setter("preference", preference) if weeks_of_months is not None: - pulumi.set(__self__, "weeks_of_months", weeks_of_months) + _setter("weeks_of_months", weeks_of_months) @property @pulumi.getter(name="customActionTimeoutInMins") @@ -2396,8 +2845,17 @@ def __init__(__self__, *, """ :param str name: (Updatable) Name of the month of the year. """ + AutonomousExadataInfrastructureMaintenanceWindowDaysOfWeek._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -2467,26 +2925,53 @@ def __init__(__self__, *, :param str preference: (Updatable) The maintenance window scheduling preference. :param Sequence[int] weeks_of_months: (Updatable) Weeks during the month when maintenance should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week. For example, to allow maintenance during the 2nd week of the month (from the 8th day to the 14th day of the month), use the value 2. Maintenance cannot be scheduled for the fifth week of months that contain more than 28 days. Note that this parameter works in conjunction with the daysOfWeek and hoursOfDay parameters to allow you to specify specific days of the week and hours that maintenance will be performed. """ + AutonomousExadataInfrastructureMaintenanceWindowDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_action_timeout_in_mins=custom_action_timeout_in_mins, + days_of_weeks=days_of_weeks, + hours_of_days=hours_of_days, + is_custom_action_timeout_enabled=is_custom_action_timeout_enabled, + is_monthly_patching_enabled=is_monthly_patching_enabled, + lead_time_in_weeks=lead_time_in_weeks, + months=months, + patching_mode=patching_mode, + preference=preference, + weeks_of_months=weeks_of_months, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_action_timeout_in_mins: Optional[int] = None, + days_of_weeks: Optional[Sequence['outputs.AutonomousExadataInfrastructureMaintenanceWindowDetailsDaysOfWeek']] = None, + hours_of_days: Optional[Sequence[int]] = None, + is_custom_action_timeout_enabled: Optional[bool] = None, + is_monthly_patching_enabled: Optional[bool] = None, + lead_time_in_weeks: Optional[int] = None, + months: Optional[Sequence['outputs.AutonomousExadataInfrastructureMaintenanceWindowDetailsMonth']] = None, + patching_mode: Optional[str] = None, + preference: Optional[str] = None, + weeks_of_months: Optional[Sequence[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if custom_action_timeout_in_mins is not None: - pulumi.set(__self__, "custom_action_timeout_in_mins", custom_action_timeout_in_mins) + _setter("custom_action_timeout_in_mins", custom_action_timeout_in_mins) if days_of_weeks is not None: - pulumi.set(__self__, "days_of_weeks", days_of_weeks) + _setter("days_of_weeks", days_of_weeks) if hours_of_days is not None: - pulumi.set(__self__, "hours_of_days", hours_of_days) + _setter("hours_of_days", hours_of_days) if is_custom_action_timeout_enabled is not None: - pulumi.set(__self__, "is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) + _setter("is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) if is_monthly_patching_enabled is not None: - pulumi.set(__self__, "is_monthly_patching_enabled", is_monthly_patching_enabled) + _setter("is_monthly_patching_enabled", is_monthly_patching_enabled) if lead_time_in_weeks is not None: - pulumi.set(__self__, "lead_time_in_weeks", lead_time_in_weeks) + _setter("lead_time_in_weeks", lead_time_in_weeks) if months is not None: - pulumi.set(__self__, "months", months) + _setter("months", months) if patching_mode is not None: - pulumi.set(__self__, "patching_mode", patching_mode) + _setter("patching_mode", patching_mode) if preference is not None: - pulumi.set(__self__, "preference", preference) + _setter("preference", preference) if weeks_of_months is not None: - pulumi.set(__self__, "weeks_of_months", weeks_of_months) + _setter("weeks_of_months", weeks_of_months) @property @pulumi.getter(name="customActionTimeoutInMins") @@ -2579,7 +3064,16 @@ def __init__(__self__, *, """ :param str name: (Updatable) Name of the month of the year. """ - pulumi.set(__self__, "name", name) + AutonomousExadataInfrastructureMaintenanceWindowDetailsDaysOfWeek._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -2597,7 +3091,16 @@ def __init__(__self__, *, """ :param str name: (Updatable) Name of the month of the year. """ - pulumi.set(__self__, "name", name) + AutonomousExadataInfrastructureMaintenanceWindowDetailsMonth._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -2615,8 +3118,17 @@ def __init__(__self__, *, """ :param str name: (Updatable) Name of the month of the year. """ + AutonomousExadataInfrastructureMaintenanceWindowMonth._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -2683,26 +3195,53 @@ def __init__(__self__, *, :param str preference: (Updatable) The maintenance window scheduling preference. :param Sequence[int] weeks_of_months: (Updatable) Weeks during the month when maintenance should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week. For example, to allow maintenance during the 2nd week of the month (from the 8th day to the 14th day of the month), use the value 2. Maintenance cannot be scheduled for the fifth week of months that contain more than 28 days. Note that this parameter works in conjunction with the daysOfWeek and hoursOfDay parameters to allow you to specify specific days of the week and hours that maintenance will be performed. """ + AutonomousVmClusterMaintenanceWindow._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_action_timeout_in_mins=custom_action_timeout_in_mins, + days_of_weeks=days_of_weeks, + hours_of_days=hours_of_days, + is_custom_action_timeout_enabled=is_custom_action_timeout_enabled, + is_monthly_patching_enabled=is_monthly_patching_enabled, + lead_time_in_weeks=lead_time_in_weeks, + months=months, + patching_mode=patching_mode, + preference=preference, + weeks_of_months=weeks_of_months, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_action_timeout_in_mins: Optional[int] = None, + days_of_weeks: Optional[Sequence['outputs.AutonomousVmClusterMaintenanceWindowDaysOfWeek']] = None, + hours_of_days: Optional[Sequence[int]] = None, + is_custom_action_timeout_enabled: Optional[bool] = None, + is_monthly_patching_enabled: Optional[bool] = None, + lead_time_in_weeks: Optional[int] = None, + months: Optional[Sequence['outputs.AutonomousVmClusterMaintenanceWindowMonth']] = None, + patching_mode: Optional[str] = None, + preference: Optional[str] = None, + weeks_of_months: Optional[Sequence[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if custom_action_timeout_in_mins is not None: - pulumi.set(__self__, "custom_action_timeout_in_mins", custom_action_timeout_in_mins) + _setter("custom_action_timeout_in_mins", custom_action_timeout_in_mins) if days_of_weeks is not None: - pulumi.set(__self__, "days_of_weeks", days_of_weeks) + _setter("days_of_weeks", days_of_weeks) if hours_of_days is not None: - pulumi.set(__self__, "hours_of_days", hours_of_days) + _setter("hours_of_days", hours_of_days) if is_custom_action_timeout_enabled is not None: - pulumi.set(__self__, "is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) + _setter("is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) if is_monthly_patching_enabled is not None: - pulumi.set(__self__, "is_monthly_patching_enabled", is_monthly_patching_enabled) + _setter("is_monthly_patching_enabled", is_monthly_patching_enabled) if lead_time_in_weeks is not None: - pulumi.set(__self__, "lead_time_in_weeks", lead_time_in_weeks) + _setter("lead_time_in_weeks", lead_time_in_weeks) if months is not None: - pulumi.set(__self__, "months", months) + _setter("months", months) if patching_mode is not None: - pulumi.set(__self__, "patching_mode", patching_mode) + _setter("patching_mode", patching_mode) if preference is not None: - pulumi.set(__self__, "preference", preference) + _setter("preference", preference) if weeks_of_months is not None: - pulumi.set(__self__, "weeks_of_months", weeks_of_months) + _setter("weeks_of_months", weeks_of_months) @property @pulumi.getter(name="customActionTimeoutInMins") @@ -2786,8 +3325,17 @@ def __init__(__self__, *, """ :param str name: (Updatable) Name of the month of the year. """ + AutonomousVmClusterMaintenanceWindowDaysOfWeek._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -2854,26 +3402,53 @@ def __init__(__self__, *, :param str preference: (Updatable) The maintenance window scheduling preference. :param Sequence[int] weeks_of_months: (Updatable) Weeks during the month when maintenance should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week. For example, to allow maintenance during the 2nd week of the month (from the 8th day to the 14th day of the month), use the value 2. Maintenance cannot be scheduled for the fifth week of months that contain more than 28 days. Note that this parameter works in conjunction with the daysOfWeek and hoursOfDay parameters to allow you to specify specific days of the week and hours that maintenance will be performed. """ + AutonomousVmClusterMaintenanceWindowDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_action_timeout_in_mins=custom_action_timeout_in_mins, + days_of_weeks=days_of_weeks, + hours_of_days=hours_of_days, + is_custom_action_timeout_enabled=is_custom_action_timeout_enabled, + is_monthly_patching_enabled=is_monthly_patching_enabled, + lead_time_in_weeks=lead_time_in_weeks, + months=months, + patching_mode=patching_mode, + preference=preference, + weeks_of_months=weeks_of_months, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_action_timeout_in_mins: Optional[int] = None, + days_of_weeks: Optional[Sequence['outputs.AutonomousVmClusterMaintenanceWindowDetailDaysOfWeek']] = None, + hours_of_days: Optional[Sequence[int]] = None, + is_custom_action_timeout_enabled: Optional[bool] = None, + is_monthly_patching_enabled: Optional[bool] = None, + lead_time_in_weeks: Optional[int] = None, + months: Optional[Sequence['outputs.AutonomousVmClusterMaintenanceWindowDetailMonth']] = None, + patching_mode: Optional[str] = None, + preference: Optional[str] = None, + weeks_of_months: Optional[Sequence[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if custom_action_timeout_in_mins is not None: - pulumi.set(__self__, "custom_action_timeout_in_mins", custom_action_timeout_in_mins) + _setter("custom_action_timeout_in_mins", custom_action_timeout_in_mins) if days_of_weeks is not None: - pulumi.set(__self__, "days_of_weeks", days_of_weeks) + _setter("days_of_weeks", days_of_weeks) if hours_of_days is not None: - pulumi.set(__self__, "hours_of_days", hours_of_days) + _setter("hours_of_days", hours_of_days) if is_custom_action_timeout_enabled is not None: - pulumi.set(__self__, "is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) + _setter("is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) if is_monthly_patching_enabled is not None: - pulumi.set(__self__, "is_monthly_patching_enabled", is_monthly_patching_enabled) + _setter("is_monthly_patching_enabled", is_monthly_patching_enabled) if lead_time_in_weeks is not None: - pulumi.set(__self__, "lead_time_in_weeks", lead_time_in_weeks) + _setter("lead_time_in_weeks", lead_time_in_weeks) if months is not None: - pulumi.set(__self__, "months", months) + _setter("months", months) if patching_mode is not None: - pulumi.set(__self__, "patching_mode", patching_mode) + _setter("patching_mode", patching_mode) if preference is not None: - pulumi.set(__self__, "preference", preference) + _setter("preference", preference) if weeks_of_months is not None: - pulumi.set(__self__, "weeks_of_months", weeks_of_months) + _setter("weeks_of_months", weeks_of_months) @property @pulumi.getter(name="customActionTimeoutInMins") @@ -2957,7 +3532,16 @@ def __init__(__self__, *, """ :param str name: (Updatable) Name of the month of the year. """ - pulumi.set(__self__, "name", name) + AutonomousVmClusterMaintenanceWindowDetailDaysOfWeek._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -2975,7 +3559,16 @@ def __init__(__self__, *, """ :param str name: (Updatable) Name of the month of the year. """ - pulumi.set(__self__, "name", name) + AutonomousVmClusterMaintenanceWindowDetailMonth._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -2993,8 +3586,17 @@ def __init__(__self__, *, """ :param str name: (Updatable) Name of the month of the year. """ + AutonomousVmClusterMaintenanceWindowMonth._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -3031,10 +3633,21 @@ def __init__(__self__, *, :param str db_name: The display name of the database that is associated with the backup destination. :param str id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the backup destination. """ + BackupDestinationAssociatedDatabase._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_name=db_name, + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_name: Optional[str] = None, + id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if db_name is not None: - pulumi.set(__self__, "db_name", db_name) + _setter("db_name", db_name) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) @property @pulumi.getter(name="dbName") @@ -3089,13 +3702,28 @@ def __init__(__self__, *, :param str nfs_server_export: Specifies the directory on which to mount the file system :param Sequence[str] nfs_servers: IP addresses for NFS Auto mount. """ - pulumi.set(__self__, "mount_type", mount_type) + BackupDestinationMountTypeDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + mount_type=mount_type, + local_mount_point_path=local_mount_point_path, + nfs_server_export=nfs_server_export, + nfs_servers=nfs_servers, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + mount_type: str, + local_mount_point_path: Optional[str] = None, + nfs_server_export: Optional[str] = None, + nfs_servers: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("mount_type", mount_type) if local_mount_point_path is not None: - pulumi.set(__self__, "local_mount_point_path", local_mount_point_path) + _setter("local_mount_point_path", local_mount_point_path) if nfs_server_export is not None: - pulumi.set(__self__, "nfs_server_export", nfs_server_export) + _setter("nfs_server_export", nfs_server_export) if nfs_servers is not None: - pulumi.set(__self__, "nfs_servers", nfs_servers) + _setter("nfs_servers", nfs_servers) @property @pulumi.getter(name="mountType") @@ -3189,26 +3817,53 @@ def __init__(__self__, *, :param str preference: (Updatable) The maintenance window scheduling preference. :param Sequence[int] weeks_of_months: (Updatable) Weeks during the month when maintenance should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week. For example, to allow maintenance during the 2nd week of the month (from the 8th day to the 14th day of the month), use the value 2. Maintenance cannot be scheduled for the fifth week of months that contain more than 28 days. Note that this parameter works in conjunction with the daysOfWeek and hoursOfDay parameters to allow you to specify specific days of the week and hours that maintenance will be performed. """ + CloudAutonomousVmClusterMaintenanceWindow._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_action_timeout_in_mins=custom_action_timeout_in_mins, + days_of_weeks=days_of_weeks, + hours_of_days=hours_of_days, + is_custom_action_timeout_enabled=is_custom_action_timeout_enabled, + is_monthly_patching_enabled=is_monthly_patching_enabled, + lead_time_in_weeks=lead_time_in_weeks, + months=months, + patching_mode=patching_mode, + preference=preference, + weeks_of_months=weeks_of_months, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_action_timeout_in_mins: Optional[int] = None, + days_of_weeks: Optional[Sequence['outputs.CloudAutonomousVmClusterMaintenanceWindowDaysOfWeek']] = None, + hours_of_days: Optional[Sequence[int]] = None, + is_custom_action_timeout_enabled: Optional[bool] = None, + is_monthly_patching_enabled: Optional[bool] = None, + lead_time_in_weeks: Optional[int] = None, + months: Optional[Sequence['outputs.CloudAutonomousVmClusterMaintenanceWindowMonth']] = None, + patching_mode: Optional[str] = None, + preference: Optional[str] = None, + weeks_of_months: Optional[Sequence[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if custom_action_timeout_in_mins is not None: - pulumi.set(__self__, "custom_action_timeout_in_mins", custom_action_timeout_in_mins) + _setter("custom_action_timeout_in_mins", custom_action_timeout_in_mins) if days_of_weeks is not None: - pulumi.set(__self__, "days_of_weeks", days_of_weeks) + _setter("days_of_weeks", days_of_weeks) if hours_of_days is not None: - pulumi.set(__self__, "hours_of_days", hours_of_days) + _setter("hours_of_days", hours_of_days) if is_custom_action_timeout_enabled is not None: - pulumi.set(__self__, "is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) + _setter("is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) if is_monthly_patching_enabled is not None: - pulumi.set(__self__, "is_monthly_patching_enabled", is_monthly_patching_enabled) + _setter("is_monthly_patching_enabled", is_monthly_patching_enabled) if lead_time_in_weeks is not None: - pulumi.set(__self__, "lead_time_in_weeks", lead_time_in_weeks) + _setter("lead_time_in_weeks", lead_time_in_weeks) if months is not None: - pulumi.set(__self__, "months", months) + _setter("months", months) if patching_mode is not None: - pulumi.set(__self__, "patching_mode", patching_mode) + _setter("patching_mode", patching_mode) if preference is not None: - pulumi.set(__self__, "preference", preference) + _setter("preference", preference) if weeks_of_months is not None: - pulumi.set(__self__, "weeks_of_months", weeks_of_months) + _setter("weeks_of_months", weeks_of_months) @property @pulumi.getter(name="customActionTimeoutInMins") @@ -3301,8 +3956,17 @@ def __init__(__self__, *, """ :param str name: (Updatable) Name of the month of the year. """ + CloudAutonomousVmClusterMaintenanceWindowDaysOfWeek._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -3372,26 +4036,53 @@ def __init__(__self__, *, :param str preference: (Updatable) The maintenance window scheduling preference. :param Sequence[int] weeks_of_months: (Updatable) Weeks during the month when maintenance should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week. For example, to allow maintenance during the 2nd week of the month (from the 8th day to the 14th day of the month), use the value 2. Maintenance cannot be scheduled for the fifth week of months that contain more than 28 days. Note that this parameter works in conjunction with the daysOfWeek and hoursOfDay parameters to allow you to specify specific days of the week and hours that maintenance will be performed. """ + CloudAutonomousVmClusterMaintenanceWindowDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_action_timeout_in_mins=custom_action_timeout_in_mins, + days_of_weeks=days_of_weeks, + hours_of_days=hours_of_days, + is_custom_action_timeout_enabled=is_custom_action_timeout_enabled, + is_monthly_patching_enabled=is_monthly_patching_enabled, + lead_time_in_weeks=lead_time_in_weeks, + months=months, + patching_mode=patching_mode, + preference=preference, + weeks_of_months=weeks_of_months, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_action_timeout_in_mins: Optional[int] = None, + days_of_weeks: Optional[Sequence['outputs.CloudAutonomousVmClusterMaintenanceWindowDetailsDaysOfWeek']] = None, + hours_of_days: Optional[Sequence[int]] = None, + is_custom_action_timeout_enabled: Optional[bool] = None, + is_monthly_patching_enabled: Optional[bool] = None, + lead_time_in_weeks: Optional[int] = None, + months: Optional[Sequence['outputs.CloudAutonomousVmClusterMaintenanceWindowDetailsMonth']] = None, + patching_mode: Optional[str] = None, + preference: Optional[str] = None, + weeks_of_months: Optional[Sequence[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if custom_action_timeout_in_mins is not None: - pulumi.set(__self__, "custom_action_timeout_in_mins", custom_action_timeout_in_mins) + _setter("custom_action_timeout_in_mins", custom_action_timeout_in_mins) if days_of_weeks is not None: - pulumi.set(__self__, "days_of_weeks", days_of_weeks) + _setter("days_of_weeks", days_of_weeks) if hours_of_days is not None: - pulumi.set(__self__, "hours_of_days", hours_of_days) + _setter("hours_of_days", hours_of_days) if is_custom_action_timeout_enabled is not None: - pulumi.set(__self__, "is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) + _setter("is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) if is_monthly_patching_enabled is not None: - pulumi.set(__self__, "is_monthly_patching_enabled", is_monthly_patching_enabled) + _setter("is_monthly_patching_enabled", is_monthly_patching_enabled) if lead_time_in_weeks is not None: - pulumi.set(__self__, "lead_time_in_weeks", lead_time_in_weeks) + _setter("lead_time_in_weeks", lead_time_in_weeks) if months is not None: - pulumi.set(__self__, "months", months) + _setter("months", months) if patching_mode is not None: - pulumi.set(__self__, "patching_mode", patching_mode) + _setter("patching_mode", patching_mode) if preference is not None: - pulumi.set(__self__, "preference", preference) + _setter("preference", preference) if weeks_of_months is not None: - pulumi.set(__self__, "weeks_of_months", weeks_of_months) + _setter("weeks_of_months", weeks_of_months) @property @pulumi.getter(name="customActionTimeoutInMins") @@ -3484,7 +4175,16 @@ def __init__(__self__, *, """ :param str name: (Updatable) Name of the month of the year. """ - pulumi.set(__self__, "name", name) + CloudAutonomousVmClusterMaintenanceWindowDetailsDaysOfWeek._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -3502,7 +4202,16 @@ def __init__(__self__, *, """ :param str name: (Updatable) Name of the month of the year. """ - pulumi.set(__self__, "name", name) + CloudAutonomousVmClusterMaintenanceWindowDetailsMonth._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -3520,8 +4229,17 @@ def __init__(__self__, *, """ :param str name: (Updatable) Name of the month of the year. """ + CloudAutonomousVmClusterMaintenanceWindowMonth._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -3560,8 +4278,19 @@ def __init__(__self__, *, :param str password_secret_id: Specific database username's password [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). :param str user_name: Database username """ - pulumi.set(__self__, "password_secret_id", password_secret_id) - pulumi.set(__self__, "user_name", user_name) + CloudDatabaseManagementCredentialdetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + password_secret_id=password_secret_id, + user_name=user_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + password_secret_id: str, + user_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("password_secret_id", password_secret_id) + _setter("user_name", user_name) @property @pulumi.getter(name="passwordSecretId") @@ -3587,8 +4316,17 @@ def __init__(__self__, *, """ :param str email: (Updatable) The email address used by Oracle to send notifications regarding databases and infrastructure. """ + CloudExadataInfrastructureCustomerContact._configure( + lambda key, value: pulumi.set(__self__, key, value), + email=email, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + email: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if email is not None: - pulumi.set(__self__, "email", email) + _setter("email", email) @property @pulumi.getter @@ -3658,26 +4396,53 @@ def __init__(__self__, *, :param str preference: (Updatable) The maintenance window scheduling preference. :param Sequence[int] weeks_of_months: (Updatable) Weeks during the month when maintenance should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week. For example, to allow maintenance during the 2nd week of the month (from the 8th day to the 14th day of the month), use the value 2. Maintenance cannot be scheduled for the fifth week of months that contain more than 28 days. Note that this parameter works in conjunction with the daysOfWeek and hoursOfDay parameters to allow you to specify specific days of the week and hours that maintenance will be performed. """ + CloudExadataInfrastructureMaintenanceWindow._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_action_timeout_in_mins=custom_action_timeout_in_mins, + days_of_weeks=days_of_weeks, + hours_of_days=hours_of_days, + is_custom_action_timeout_enabled=is_custom_action_timeout_enabled, + is_monthly_patching_enabled=is_monthly_patching_enabled, + lead_time_in_weeks=lead_time_in_weeks, + months=months, + patching_mode=patching_mode, + preference=preference, + weeks_of_months=weeks_of_months, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_action_timeout_in_mins: Optional[int] = None, + days_of_weeks: Optional[Sequence['outputs.CloudExadataInfrastructureMaintenanceWindowDaysOfWeek']] = None, + hours_of_days: Optional[Sequence[int]] = None, + is_custom_action_timeout_enabled: Optional[bool] = None, + is_monthly_patching_enabled: Optional[bool] = None, + lead_time_in_weeks: Optional[int] = None, + months: Optional[Sequence['outputs.CloudExadataInfrastructureMaintenanceWindowMonth']] = None, + patching_mode: Optional[str] = None, + preference: Optional[str] = None, + weeks_of_months: Optional[Sequence[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if custom_action_timeout_in_mins is not None: - pulumi.set(__self__, "custom_action_timeout_in_mins", custom_action_timeout_in_mins) + _setter("custom_action_timeout_in_mins", custom_action_timeout_in_mins) if days_of_weeks is not None: - pulumi.set(__self__, "days_of_weeks", days_of_weeks) + _setter("days_of_weeks", days_of_weeks) if hours_of_days is not None: - pulumi.set(__self__, "hours_of_days", hours_of_days) + _setter("hours_of_days", hours_of_days) if is_custom_action_timeout_enabled is not None: - pulumi.set(__self__, "is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) + _setter("is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) if is_monthly_patching_enabled is not None: - pulumi.set(__self__, "is_monthly_patching_enabled", is_monthly_patching_enabled) + _setter("is_monthly_patching_enabled", is_monthly_patching_enabled) if lead_time_in_weeks is not None: - pulumi.set(__self__, "lead_time_in_weeks", lead_time_in_weeks) + _setter("lead_time_in_weeks", lead_time_in_weeks) if months is not None: - pulumi.set(__self__, "months", months) + _setter("months", months) if patching_mode is not None: - pulumi.set(__self__, "patching_mode", patching_mode) + _setter("patching_mode", patching_mode) if preference is not None: - pulumi.set(__self__, "preference", preference) + _setter("preference", preference) if weeks_of_months is not None: - pulumi.set(__self__, "weeks_of_months", weeks_of_months) + _setter("weeks_of_months", weeks_of_months) @property @pulumi.getter(name="customActionTimeoutInMins") @@ -3770,7 +4535,16 @@ def __init__(__self__, *, """ :param str name: (Updatable) Name of the month of the year. """ - pulumi.set(__self__, "name", name) + CloudExadataInfrastructureMaintenanceWindowDaysOfWeek._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -3788,7 +4562,16 @@ def __init__(__self__, *, """ :param str name: (Updatable) Name of the month of the year. """ - pulumi.set(__self__, "name", name) + CloudExadataInfrastructureMaintenanceWindowMonth._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -3831,12 +4614,25 @@ def __init__(__self__, *, :param bool is_health_monitoring_enabled: (Updatable) Indicates whether health monitoring is enabled for the VM cluster / Cloud VM cluster / VMBM DBCS. Enabling health monitoring allows Oracle to collect diagnostic data and share it with its operations and support personnel. You may also receive notifications for some events. Collecting health diagnostics enables Oracle to provide proactive support and enhanced service for your system. Optionally enable health monitoring while provisioning a system. You can also disable or enable health monitoring anytime using the `UpdateVmCluster`, `UpdateCloudVmCluster` or `updateDbsystem` API. :param bool is_incident_logs_enabled: (Updatable) Indicates whether incident logs and trace collection are enabled for the VM cluster / Cloud VM cluster / VMBM DBCS. Enabling incident logs collection allows Oracle to receive Events service notifications for guest VM issues, collect incident logs and traces, and use them to diagnose issues and resolve them. Optionally enable incident logs collection while provisioning a system. You can also disable or enable incident logs collection anytime using the `UpdateVmCluster`, `updateCloudVmCluster` or `updateDbsystem` API. """ + CloudVmClusterDataCollectionOptions._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_diagnostics_events_enabled=is_diagnostics_events_enabled, + is_health_monitoring_enabled=is_health_monitoring_enabled, + is_incident_logs_enabled=is_incident_logs_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_diagnostics_events_enabled: Optional[bool] = None, + is_health_monitoring_enabled: Optional[bool] = None, + is_incident_logs_enabled: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_diagnostics_events_enabled is not None: - pulumi.set(__self__, "is_diagnostics_events_enabled", is_diagnostics_events_enabled) + _setter("is_diagnostics_events_enabled", is_diagnostics_events_enabled) if is_health_monitoring_enabled is not None: - pulumi.set(__self__, "is_health_monitoring_enabled", is_health_monitoring_enabled) + _setter("is_health_monitoring_enabled", is_health_monitoring_enabled) if is_incident_logs_enabled is not None: - pulumi.set(__self__, "is_incident_logs_enabled", is_incident_logs_enabled) + _setter("is_incident_logs_enabled", is_incident_logs_enabled) @property @pulumi.getter(name="isDiagnosticsEventsEnabled") @@ -3895,14 +4691,29 @@ def __init__(__self__, *, :param str objective: The current value for the IORM objective. The default is `AUTO`. :param str state: The current state of the cloud VM cluster. """ + CloudVmClusterIormConfigCach._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_plans=db_plans, + lifecycle_details=lifecycle_details, + objective=objective, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_plans: Optional[Sequence['outputs.CloudVmClusterIormConfigCachDbPlan']] = None, + lifecycle_details: Optional[str] = None, + objective: Optional[str] = None, + state: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if db_plans is not None: - pulumi.set(__self__, "db_plans", db_plans) + _setter("db_plans", db_plans) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if objective is not None: - pulumi.set(__self__, "objective", objective) + _setter("objective", objective) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) @property @pulumi.getter(name="dbPlans") @@ -3967,12 +4778,25 @@ def __init__(__self__, *, :param str flash_cache_limit: The flash cache limit for this database. This value is internally configured based on the share value assigned to the database. :param int share: The relative priority of this database. """ + CloudVmClusterIormConfigCachDbPlan._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_name=db_name, + flash_cache_limit=flash_cache_limit, + share=share, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_name: Optional[str] = None, + flash_cache_limit: Optional[str] = None, + share: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if db_name is not None: - pulumi.set(__self__, "db_name", db_name) + _setter("db_name", db_name) if flash_cache_limit is not None: - pulumi.set(__self__, "flash_cache_limit", flash_cache_limit) + _setter("flash_cache_limit", flash_cache_limit) if share is not None: - pulumi.set(__self__, "share", share) + _setter("share", share) @property @pulumi.getter(name="dbName") @@ -4029,10 +4853,23 @@ def __init__(__self__, *, :param int share: (Updatable) The relative priority of this database. :param str flash_cache_limit: The flash cache limit for this database. This value is internally configured based on the share value assigned to the database. """ - pulumi.set(__self__, "db_name", db_name) - pulumi.set(__self__, "share", share) + CloudVmClusterIormConfigDbPlan._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_name=db_name, + share=share, + flash_cache_limit=flash_cache_limit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_name: str, + share: int, + flash_cache_limit: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("db_name", db_name) + _setter("share", share) if flash_cache_limit is not None: - pulumi.set(__self__, "flash_cache_limit", flash_cache_limit) + _setter("flash_cache_limit", flash_cache_limit) @property @pulumi.getter(name="dbName") @@ -4091,12 +4928,25 @@ def __init__(__self__, *, :param bool is_health_monitoring_enabled: Indicates whether health monitoring is enabled for the VM cluster / Cloud VM cluster / VMBM DBCS. Enabling health monitoring allows Oracle to collect diagnostic data and share it with its operations and support personnel. You may also receive notifications for some events. Collecting health diagnostics enables Oracle to provide proactive support and enhanced service for your system. Optionally enable health monitoring while provisioning a system. You can also disable or enable health monitoring anytime using the `UpdateVmCluster`, `UpdateCloudVmCluster` or `updateDbsystem` API. :param bool is_incident_logs_enabled: Indicates whether incident logs and trace collection are enabled for the VM cluster / Cloud VM cluster / VMBM DBCS. Enabling incident logs collection allows Oracle to receive Events service notifications for guest VM issues, collect incident logs and traces, and use them to diagnose issues and resolve them. Optionally enable incident logs collection while provisioning a system. You can also disable or enable incident logs collection anytime using the `UpdateVmCluster`, `updateCloudVmCluster` or `updateDbsystem` API. """ + DataGuardAssociationDataCollectionOptions._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_diagnostics_events_enabled=is_diagnostics_events_enabled, + is_health_monitoring_enabled=is_health_monitoring_enabled, + is_incident_logs_enabled=is_incident_logs_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_diagnostics_events_enabled: Optional[bool] = None, + is_health_monitoring_enabled: Optional[bool] = None, + is_incident_logs_enabled: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_diagnostics_events_enabled is not None: - pulumi.set(__self__, "is_diagnostics_events_enabled", is_diagnostics_events_enabled) + _setter("is_diagnostics_events_enabled", is_diagnostics_events_enabled) if is_health_monitoring_enabled is not None: - pulumi.set(__self__, "is_health_monitoring_enabled", is_health_monitoring_enabled) + _setter("is_health_monitoring_enabled", is_health_monitoring_enabled) if is_incident_logs_enabled is not None: - pulumi.set(__self__, "is_incident_logs_enabled", is_incident_logs_enabled) + _setter("is_incident_logs_enabled", is_incident_logs_enabled) @property @pulumi.getter(name="isDiagnosticsEventsEnabled") @@ -4155,12 +5005,25 @@ def __init__(__self__, *, :param str cdb_default: Host name based CDB Connection String. :param str cdb_ip_default: IP based CDB Connection String. """ + DatabaseConnectionString._configure( + lambda key, value: pulumi.set(__self__, key, value), + all_connection_strings=all_connection_strings, + cdb_default=cdb_default, + cdb_ip_default=cdb_ip_default, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + all_connection_strings: Optional[Mapping[str, Any]] = None, + cdb_default: Optional[str] = None, + cdb_ip_default: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if all_connection_strings is not None: - pulumi.set(__self__, "all_connection_strings", all_connection_strings) + _setter("all_connection_strings", all_connection_strings) if cdb_default is not None: - pulumi.set(__self__, "cdb_default", cdb_default) + _setter("cdb_default", cdb_default) if cdb_ip_default is not None: - pulumi.set(__self__, "cdb_ip_default", cdb_ip_default) + _setter("cdb_ip_default", cdb_ip_default) @property @pulumi.getter(name="allConnectionStrings") @@ -4283,40 +5146,83 @@ def __init__(__self__, *, :param str tde_wallet_password: The optional password to open the TDE wallet. The password must be at least nine characters and contain at least two uppercase, two lowercase, two numeric, and two special characters. The special characters must be _, \\#, or -. :param str vault_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure [vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). """ - pulumi.set(__self__, "admin_password", admin_password) - pulumi.set(__self__, "db_name", db_name) + DatabaseDatabase._configure( + lambda key, value: pulumi.set(__self__, key, value), + admin_password=admin_password, + db_name=db_name, + backup_id=backup_id, + backup_tde_password=backup_tde_password, + character_set=character_set, + database_software_image_id=database_software_image_id, + db_backup_config=db_backup_config, + db_unique_name=db_unique_name, + db_workload=db_workload, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + kms_key_id=kms_key_id, + kms_key_version_id=kms_key_version_id, + ncharacter_set=ncharacter_set, + pdb_name=pdb_name, + sid_prefix=sid_prefix, + tde_wallet_password=tde_wallet_password, + vault_id=vault_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + admin_password: str, + db_name: str, + backup_id: Optional[str] = None, + backup_tde_password: Optional[str] = None, + character_set: Optional[str] = None, + database_software_image_id: Optional[str] = None, + db_backup_config: Optional['outputs.DatabaseDatabaseDbBackupConfig'] = None, + db_unique_name: Optional[str] = None, + db_workload: Optional[str] = None, + defined_tags: Optional[Mapping[str, Any]] = None, + freeform_tags: Optional[Mapping[str, Any]] = None, + kms_key_id: Optional[str] = None, + kms_key_version_id: Optional[str] = None, + ncharacter_set: Optional[str] = None, + pdb_name: Optional[str] = None, + sid_prefix: Optional[str] = None, + tde_wallet_password: Optional[str] = None, + vault_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("admin_password", admin_password) + _setter("db_name", db_name) if backup_id is not None: - pulumi.set(__self__, "backup_id", backup_id) + _setter("backup_id", backup_id) if backup_tde_password is not None: - pulumi.set(__self__, "backup_tde_password", backup_tde_password) + _setter("backup_tde_password", backup_tde_password) if character_set is not None: - pulumi.set(__self__, "character_set", character_set) + _setter("character_set", character_set) if database_software_image_id is not None: - pulumi.set(__self__, "database_software_image_id", database_software_image_id) + _setter("database_software_image_id", database_software_image_id) if db_backup_config is not None: - pulumi.set(__self__, "db_backup_config", db_backup_config) + _setter("db_backup_config", db_backup_config) if db_unique_name is not None: - pulumi.set(__self__, "db_unique_name", db_unique_name) + _setter("db_unique_name", db_unique_name) if db_workload is not None: - pulumi.set(__self__, "db_workload", db_workload) + _setter("db_workload", db_workload) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) if kms_key_version_id is not None: - pulumi.set(__self__, "kms_key_version_id", kms_key_version_id) + _setter("kms_key_version_id", kms_key_version_id) if ncharacter_set is not None: - pulumi.set(__self__, "ncharacter_set", ncharacter_set) + _setter("ncharacter_set", ncharacter_set) if pdb_name is not None: - pulumi.set(__self__, "pdb_name", pdb_name) + _setter("pdb_name", pdb_name) if sid_prefix is not None: - pulumi.set(__self__, "sid_prefix", sid_prefix) + _setter("sid_prefix", sid_prefix) if tde_wallet_password is not None: - pulumi.set(__self__, "tde_wallet_password", tde_wallet_password) + _setter("tde_wallet_password", tde_wallet_password) if vault_id is not None: - pulumi.set(__self__, "vault_id", vault_id) + _setter("vault_id", vault_id) @property @pulumi.getter(name="adminPassword") @@ -4519,22 +5425,45 @@ def __init__(__self__, *, :param int recovery_window_in_days: (Updatable) Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups only. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups. :param bool run_immediate_full_backup: If set to true, configures automatic full backups in the local region (the region of the DB system) for the first backup run immediately. """ + DatabaseDatabaseDbBackupConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + auto_backup_enabled=auto_backup_enabled, + auto_backup_window=auto_backup_window, + auto_full_backup_day=auto_full_backup_day, + auto_full_backup_window=auto_full_backup_window, + backup_deletion_policy=backup_deletion_policy, + backup_destination_details=backup_destination_details, + recovery_window_in_days=recovery_window_in_days, + run_immediate_full_backup=run_immediate_full_backup, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + auto_backup_enabled: Optional[bool] = None, + auto_backup_window: Optional[str] = None, + auto_full_backup_day: Optional[str] = None, + auto_full_backup_window: Optional[str] = None, + backup_deletion_policy: Optional[str] = None, + backup_destination_details: Optional[Sequence['outputs.DatabaseDatabaseDbBackupConfigBackupDestinationDetail']] = None, + recovery_window_in_days: Optional[int] = None, + run_immediate_full_backup: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): if auto_backup_enabled is not None: - pulumi.set(__self__, "auto_backup_enabled", auto_backup_enabled) + _setter("auto_backup_enabled", auto_backup_enabled) if auto_backup_window is not None: - pulumi.set(__self__, "auto_backup_window", auto_backup_window) + _setter("auto_backup_window", auto_backup_window) if auto_full_backup_day is not None: - pulumi.set(__self__, "auto_full_backup_day", auto_full_backup_day) + _setter("auto_full_backup_day", auto_full_backup_day) if auto_full_backup_window is not None: - pulumi.set(__self__, "auto_full_backup_window", auto_full_backup_window) + _setter("auto_full_backup_window", auto_full_backup_window) if backup_deletion_policy is not None: - pulumi.set(__self__, "backup_deletion_policy", backup_deletion_policy) + _setter("backup_deletion_policy", backup_deletion_policy) if backup_destination_details is not None: - pulumi.set(__self__, "backup_destination_details", backup_destination_details) + _setter("backup_destination_details", backup_destination_details) if recovery_window_in_days is not None: - pulumi.set(__self__, "recovery_window_in_days", recovery_window_in_days) + _setter("recovery_window_in_days", recovery_window_in_days) if run_immediate_full_backup is not None: - pulumi.set(__self__, "run_immediate_full_backup", run_immediate_full_backup) + _setter("run_immediate_full_backup", run_immediate_full_backup) @property @pulumi.getter(name="autoBackupEnabled") @@ -4632,14 +5561,29 @@ def __init__(__self__, *, :param str id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the backup destination. :param str type: Type of the database backup destination. """ + DatabaseDatabaseDbBackupConfigBackupDestinationDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + dbrs_policy_id=dbrs_policy_id, + id=id, + type=type, + vpc_user=vpc_user, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + dbrs_policy_id: Optional[str] = None, + id: Optional[str] = None, + type: Optional[str] = None, + vpc_user: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if dbrs_policy_id is not None: - pulumi.set(__self__, "dbrs_policy_id", dbrs_policy_id) + _setter("dbrs_policy_id", dbrs_policy_id) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if vpc_user is not None: - pulumi.set(__self__, "vpc_user", vpc_user) + _setter("vpc_user", vpc_user) @property @pulumi.getter(name="dbrsPolicyId") @@ -4699,10 +5643,21 @@ def __init__(__self__, *, :param str management_status: The status of the Database Management service. :param str management_type: The Database Management type. """ + DatabaseDatabaseManagementConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + management_status=management_status, + management_type=management_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + management_status: Optional[str] = None, + management_type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if management_status is not None: - pulumi.set(__self__, "management_status", management_status) + _setter("management_status", management_status) if management_type is not None: - pulumi.set(__self__, "management_type", management_type) + _setter("management_type", management_type) @property @pulumi.getter(name="managementStatus") @@ -4773,22 +5728,45 @@ def __init__(__self__, *, :param int recovery_window_in_days: (Updatable) Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups only. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups. :param bool run_immediate_full_backup: If set to true, configures automatic full backups in the local region (the region of the DB system) for the first backup run immediately. """ + DatabaseDbBackupConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + auto_backup_enabled=auto_backup_enabled, + auto_backup_window=auto_backup_window, + auto_full_backup_day=auto_full_backup_day, + auto_full_backup_window=auto_full_backup_window, + backup_deletion_policy=backup_deletion_policy, + backup_destination_details=backup_destination_details, + recovery_window_in_days=recovery_window_in_days, + run_immediate_full_backup=run_immediate_full_backup, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + auto_backup_enabled: Optional[bool] = None, + auto_backup_window: Optional[str] = None, + auto_full_backup_day: Optional[str] = None, + auto_full_backup_window: Optional[str] = None, + backup_deletion_policy: Optional[str] = None, + backup_destination_details: Optional[Sequence['outputs.DatabaseDbBackupConfigBackupDestinationDetail']] = None, + recovery_window_in_days: Optional[int] = None, + run_immediate_full_backup: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): if auto_backup_enabled is not None: - pulumi.set(__self__, "auto_backup_enabled", auto_backup_enabled) + _setter("auto_backup_enabled", auto_backup_enabled) if auto_backup_window is not None: - pulumi.set(__self__, "auto_backup_window", auto_backup_window) + _setter("auto_backup_window", auto_backup_window) if auto_full_backup_day is not None: - pulumi.set(__self__, "auto_full_backup_day", auto_full_backup_day) + _setter("auto_full_backup_day", auto_full_backup_day) if auto_full_backup_window is not None: - pulumi.set(__self__, "auto_full_backup_window", auto_full_backup_window) + _setter("auto_full_backup_window", auto_full_backup_window) if backup_deletion_policy is not None: - pulumi.set(__self__, "backup_deletion_policy", backup_deletion_policy) + _setter("backup_deletion_policy", backup_deletion_policy) if backup_destination_details is not None: - pulumi.set(__self__, "backup_destination_details", backup_destination_details) + _setter("backup_destination_details", backup_destination_details) if recovery_window_in_days is not None: - pulumi.set(__self__, "recovery_window_in_days", recovery_window_in_days) + _setter("recovery_window_in_days", recovery_window_in_days) if run_immediate_full_backup is not None: - pulumi.set(__self__, "run_immediate_full_backup", run_immediate_full_backup) + _setter("run_immediate_full_backup", run_immediate_full_backup) @property @pulumi.getter(name="autoBackupEnabled") @@ -4886,14 +5864,29 @@ def __init__(__self__, *, :param str id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the backup destination. :param str type: Type of the database backup destination. """ + DatabaseDbBackupConfigBackupDestinationDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + dbrs_policy_id=dbrs_policy_id, + id=id, + type=type, + vpc_user=vpc_user, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + dbrs_policy_id: Optional[str] = None, + id: Optional[str] = None, + type: Optional[str] = None, + vpc_user: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if dbrs_policy_id is not None: - pulumi.set(__self__, "dbrs_policy_id", dbrs_policy_id) + _setter("dbrs_policy_id", dbrs_policy_id) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if vpc_user is not None: - pulumi.set(__self__, "vpc_user", vpc_user) + _setter("vpc_user", vpc_user) @property @pulumi.getter(name="dbrsPolicyId") @@ -4957,12 +5950,25 @@ def __init__(__self__, *, :param str cdb_default: Host name based CDB Connection String. :param str cdb_ip_default: IP based CDB Connection String. """ + DatabaseUpgradeConnectionString._configure( + lambda key, value: pulumi.set(__self__, key, value), + all_connection_strings=all_connection_strings, + cdb_default=cdb_default, + cdb_ip_default=cdb_ip_default, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + all_connection_strings: Optional[Mapping[str, Any]] = None, + cdb_default: Optional[str] = None, + cdb_ip_default: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if all_connection_strings is not None: - pulumi.set(__self__, "all_connection_strings", all_connection_strings) + _setter("all_connection_strings", all_connection_strings) if cdb_default is not None: - pulumi.set(__self__, "cdb_default", cdb_default) + _setter("cdb_default", cdb_default) if cdb_ip_default is not None: - pulumi.set(__self__, "cdb_ip_default", cdb_ip_default) + _setter("cdb_ip_default", cdb_ip_default) @property @pulumi.getter(name="allConnectionStrings") @@ -5029,14 +6035,29 @@ def __init__(__self__, *, ** 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 """ + DatabaseUpgradeDatabaseUpgradeSourceDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + database_software_image_id=database_software_image_id, + db_version=db_version, + options=options, + source=source, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + database_software_image_id: Optional[str] = None, + db_version: Optional[str] = None, + options: Optional[str] = None, + source: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if database_software_image_id is not None: - pulumi.set(__self__, "database_software_image_id", database_software_image_id) + _setter("database_software_image_id", database_software_image_id) if db_version is not None: - pulumi.set(__self__, "db_version", db_version) + _setter("db_version", db_version) if options is not None: - pulumi.set(__self__, "options", options) + _setter("options", options) if source is not None: - pulumi.set(__self__, "source", source) + _setter("source", source) @property @pulumi.getter(name="databaseSoftwareImageId") @@ -5131,22 +6152,45 @@ def __init__(__self__, *, :param int recovery_window_in_days: Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups only. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups. :param bool run_immediate_full_backup: If set to true, configures automatic full backups in the local region (the region of the DB system) for the first backup run immediately. """ + DatabaseUpgradeDbBackupConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + auto_backup_enabled=auto_backup_enabled, + auto_backup_window=auto_backup_window, + auto_full_backup_day=auto_full_backup_day, + auto_full_backup_window=auto_full_backup_window, + backup_deletion_policy=backup_deletion_policy, + backup_destination_details=backup_destination_details, + recovery_window_in_days=recovery_window_in_days, + run_immediate_full_backup=run_immediate_full_backup, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + auto_backup_enabled: Optional[bool] = None, + auto_backup_window: Optional[str] = None, + auto_full_backup_day: Optional[str] = None, + auto_full_backup_window: Optional[str] = None, + backup_deletion_policy: Optional[str] = None, + backup_destination_details: Optional[Sequence['outputs.DatabaseUpgradeDbBackupConfigBackupDestinationDetail']] = None, + recovery_window_in_days: Optional[int] = None, + run_immediate_full_backup: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): if auto_backup_enabled is not None: - pulumi.set(__self__, "auto_backup_enabled", auto_backup_enabled) + _setter("auto_backup_enabled", auto_backup_enabled) if auto_backup_window is not None: - pulumi.set(__self__, "auto_backup_window", auto_backup_window) + _setter("auto_backup_window", auto_backup_window) if auto_full_backup_day is not None: - pulumi.set(__self__, "auto_full_backup_day", auto_full_backup_day) + _setter("auto_full_backup_day", auto_full_backup_day) if auto_full_backup_window is not None: - pulumi.set(__self__, "auto_full_backup_window", auto_full_backup_window) + _setter("auto_full_backup_window", auto_full_backup_window) if backup_deletion_policy is not None: - pulumi.set(__self__, "backup_deletion_policy", backup_deletion_policy) + _setter("backup_deletion_policy", backup_deletion_policy) if backup_destination_details is not None: - pulumi.set(__self__, "backup_destination_details", backup_destination_details) + _setter("backup_destination_details", backup_destination_details) if recovery_window_in_days is not None: - pulumi.set(__self__, "recovery_window_in_days", recovery_window_in_days) + _setter("recovery_window_in_days", recovery_window_in_days) if run_immediate_full_backup is not None: - pulumi.set(__self__, "run_immediate_full_backup", run_immediate_full_backup) + _setter("run_immediate_full_backup", run_immediate_full_backup) @property @pulumi.getter(name="autoBackupEnabled") @@ -5253,18 +6297,37 @@ def __init__(__self__, *, :param str vpc_password: For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance. :param str vpc_user: For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance. """ + DatabaseUpgradeDbBackupConfigBackupDestinationDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + dbrs_policy_id=dbrs_policy_id, + id=id, + internet_proxy=internet_proxy, + type=type, + vpc_password=vpc_password, + vpc_user=vpc_user, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + dbrs_policy_id: Optional[str] = None, + id: Optional[str] = None, + internet_proxy: Optional[str] = None, + type: Optional[str] = None, + vpc_password: Optional[str] = None, + vpc_user: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if dbrs_policy_id is not None: - pulumi.set(__self__, "dbrs_policy_id", dbrs_policy_id) + _setter("dbrs_policy_id", dbrs_policy_id) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if internet_proxy is not None: - pulumi.set(__self__, "internet_proxy", internet_proxy) + _setter("internet_proxy", internet_proxy) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if vpc_password is not None: - pulumi.set(__self__, "vpc_password", vpc_password) + _setter("vpc_password", vpc_password) if vpc_user is not None: - pulumi.set(__self__, "vpc_user", vpc_user) + _setter("vpc_user", vpc_user) @property @pulumi.getter(name="dbrsPolicyId") @@ -5437,57 +6500,116 @@ def __init__(__self__, *, :param str time_stamp_for_point_in_time_recovery: The point in time of the original database from which the new database is created. If not specifed, the latest backup is used to create the database. :param str vault_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure [vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). """ - pulumi.set(__self__, "admin_password", admin_password) + DbHomeDatabase._configure( + lambda key, value: pulumi.set(__self__, key, value), + admin_password=admin_password, + backup_id=backup_id, + backup_tde_password=backup_tde_password, + character_set=character_set, + connection_strings=connection_strings, + database_id=database_id, + database_software_image_id=database_software_image_id, + db_backup_config=db_backup_config, + db_name=db_name, + db_unique_name=db_unique_name, + db_workload=db_workload, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + id=id, + kms_key_id=kms_key_id, + kms_key_version_id=kms_key_version_id, + lifecycle_details=lifecycle_details, + ncharacter_set=ncharacter_set, + one_off_patches=one_off_patches, + pdb_name=pdb_name, + sid_prefix=sid_prefix, + state=state, + tde_wallet_password=tde_wallet_password, + time_created=time_created, + time_stamp_for_point_in_time_recovery=time_stamp_for_point_in_time_recovery, + vault_id=vault_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + admin_password: str, + backup_id: Optional[str] = None, + backup_tde_password: Optional[str] = None, + character_set: Optional[str] = None, + connection_strings: Optional[Sequence['outputs.DbHomeDatabaseConnectionString']] = None, + database_id: Optional[str] = None, + database_software_image_id: Optional[str] = None, + db_backup_config: Optional['outputs.DbHomeDatabaseDbBackupConfig'] = None, + db_name: Optional[str] = None, + db_unique_name: Optional[str] = None, + db_workload: Optional[str] = None, + defined_tags: Optional[Mapping[str, Any]] = None, + freeform_tags: Optional[Mapping[str, Any]] = None, + id: Optional[str] = None, + kms_key_id: Optional[str] = None, + kms_key_version_id: Optional[str] = None, + lifecycle_details: Optional[str] = None, + ncharacter_set: Optional[str] = None, + one_off_patches: Optional[Sequence[str]] = None, + pdb_name: Optional[str] = None, + sid_prefix: Optional[str] = None, + state: Optional[str] = None, + tde_wallet_password: Optional[str] = None, + time_created: Optional[str] = None, + time_stamp_for_point_in_time_recovery: Optional[str] = None, + vault_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("admin_password", admin_password) if backup_id is not None: - pulumi.set(__self__, "backup_id", backup_id) + _setter("backup_id", backup_id) if backup_tde_password is not None: - pulumi.set(__self__, "backup_tde_password", backup_tde_password) + _setter("backup_tde_password", backup_tde_password) if character_set is not None: - pulumi.set(__self__, "character_set", character_set) + _setter("character_set", character_set) if connection_strings is not None: - pulumi.set(__self__, "connection_strings", connection_strings) + _setter("connection_strings", connection_strings) if database_id is not None: - pulumi.set(__self__, "database_id", database_id) + _setter("database_id", database_id) if database_software_image_id is not None: - pulumi.set(__self__, "database_software_image_id", database_software_image_id) + _setter("database_software_image_id", database_software_image_id) if db_backup_config is not None: - pulumi.set(__self__, "db_backup_config", db_backup_config) + _setter("db_backup_config", db_backup_config) if db_name is not None: - pulumi.set(__self__, "db_name", db_name) + _setter("db_name", db_name) if db_unique_name is not None: - pulumi.set(__self__, "db_unique_name", db_unique_name) + _setter("db_unique_name", db_unique_name) if db_workload is not None: - pulumi.set(__self__, "db_workload", db_workload) + _setter("db_workload", db_workload) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) if kms_key_version_id is not None: - pulumi.set(__self__, "kms_key_version_id", kms_key_version_id) + _setter("kms_key_version_id", kms_key_version_id) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if ncharacter_set is not None: - pulumi.set(__self__, "ncharacter_set", ncharacter_set) + _setter("ncharacter_set", ncharacter_set) if one_off_patches is not None: - pulumi.set(__self__, "one_off_patches", one_off_patches) + _setter("one_off_patches", one_off_patches) if pdb_name is not None: - pulumi.set(__self__, "pdb_name", pdb_name) + _setter("pdb_name", pdb_name) if sid_prefix is not None: - pulumi.set(__self__, "sid_prefix", sid_prefix) + _setter("sid_prefix", sid_prefix) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if tde_wallet_password is not None: - pulumi.set(__self__, "tde_wallet_password", tde_wallet_password) + _setter("tde_wallet_password", tde_wallet_password) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_stamp_for_point_in_time_recovery is not None: - pulumi.set(__self__, "time_stamp_for_point_in_time_recovery", time_stamp_for_point_in_time_recovery) + _setter("time_stamp_for_point_in_time_recovery", time_stamp_for_point_in_time_recovery) if vault_id is not None: - pulumi.set(__self__, "vault_id", vault_id) + _setter("vault_id", vault_id) @property @pulumi.getter(name="adminPassword") @@ -5723,12 +6845,25 @@ def __init__(__self__, *, all_connection_strings: Optional[Mapping[str, Any]] = None, cdb_default: Optional[str] = None, cdb_ip_default: Optional[str] = None): + DbHomeDatabaseConnectionString._configure( + lambda key, value: pulumi.set(__self__, key, value), + all_connection_strings=all_connection_strings, + cdb_default=cdb_default, + cdb_ip_default=cdb_ip_default, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + all_connection_strings: Optional[Mapping[str, Any]] = None, + cdb_default: Optional[str] = None, + cdb_ip_default: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if all_connection_strings is not None: - pulumi.set(__self__, "all_connection_strings", all_connection_strings) + _setter("all_connection_strings", all_connection_strings) if cdb_default is not None: - pulumi.set(__self__, "cdb_default", cdb_default) + _setter("cdb_default", cdb_default) if cdb_ip_default is not None: - pulumi.set(__self__, "cdb_ip_default", cdb_ip_default) + _setter("cdb_ip_default", cdb_ip_default) @property @pulumi.getter(name="allConnectionStrings") @@ -5798,22 +6933,45 @@ def __init__(__self__, *, :param int recovery_window_in_days: (Updatable) Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups only. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups. :param bool run_immediate_full_backup: If set to true, configures automatic full backups in the local region (the region of the DB system) for the first backup run immediately. """ + DbHomeDatabaseDbBackupConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + auto_backup_enabled=auto_backup_enabled, + auto_backup_window=auto_backup_window, + auto_full_backup_day=auto_full_backup_day, + auto_full_backup_window=auto_full_backup_window, + backup_deletion_policy=backup_deletion_policy, + backup_destination_details=backup_destination_details, + recovery_window_in_days=recovery_window_in_days, + run_immediate_full_backup=run_immediate_full_backup, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + auto_backup_enabled: Optional[bool] = None, + auto_backup_window: Optional[str] = None, + auto_full_backup_day: Optional[str] = None, + auto_full_backup_window: Optional[str] = None, + backup_deletion_policy: Optional[str] = None, + backup_destination_details: Optional[Sequence['outputs.DbHomeDatabaseDbBackupConfigBackupDestinationDetail']] = None, + recovery_window_in_days: Optional[int] = None, + run_immediate_full_backup: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): if auto_backup_enabled is not None: - pulumi.set(__self__, "auto_backup_enabled", auto_backup_enabled) + _setter("auto_backup_enabled", auto_backup_enabled) if auto_backup_window is not None: - pulumi.set(__self__, "auto_backup_window", auto_backup_window) + _setter("auto_backup_window", auto_backup_window) if auto_full_backup_day is not None: - pulumi.set(__self__, "auto_full_backup_day", auto_full_backup_day) + _setter("auto_full_backup_day", auto_full_backup_day) if auto_full_backup_window is not None: - pulumi.set(__self__, "auto_full_backup_window", auto_full_backup_window) + _setter("auto_full_backup_window", auto_full_backup_window) if backup_deletion_policy is not None: - pulumi.set(__self__, "backup_deletion_policy", backup_deletion_policy) + _setter("backup_deletion_policy", backup_deletion_policy) if backup_destination_details is not None: - pulumi.set(__self__, "backup_destination_details", backup_destination_details) + _setter("backup_destination_details", backup_destination_details) if recovery_window_in_days is not None: - pulumi.set(__self__, "recovery_window_in_days", recovery_window_in_days) + _setter("recovery_window_in_days", recovery_window_in_days) if run_immediate_full_backup is not None: - pulumi.set(__self__, "run_immediate_full_backup", run_immediate_full_backup) + _setter("run_immediate_full_backup", run_immediate_full_backup) @property @pulumi.getter(name="autoBackupEnabled") @@ -5908,12 +7066,25 @@ def __init__(__self__, *, :param str id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the backup destination. :param str type: Type of the database backup destination. Supported values: `NFS`. """ + DbHomeDatabaseDbBackupConfigBackupDestinationDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + dbrs_policy_id=dbrs_policy_id, + id=id, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + dbrs_policy_id: Optional[str] = None, + id: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if dbrs_policy_id is not None: - pulumi.set(__self__, "dbrs_policy_id", dbrs_policy_id) + _setter("dbrs_policy_id", dbrs_policy_id) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter(name="dbrsPolicyId") @@ -5972,12 +7143,25 @@ def __init__(__self__, *, :param bool is_health_monitoring_enabled: (Updatable) Indicates whether health monitoring is enabled for the VM cluster / Cloud VM cluster / VMBM DBCS. Enabling health monitoring allows Oracle to collect diagnostic data and share it with its operations and support personnel. You may also receive notifications for some events. Collecting health diagnostics enables Oracle to provide proactive support and enhanced service for your system. Optionally enable health monitoring while provisioning a system. You can also disable or enable health monitoring anytime using the `UpdateVmCluster`, `UpdateCloudVmCluster` or `updateDbsystem` API. :param bool is_incident_logs_enabled: (Updatable) Indicates whether incident logs and trace collection are enabled for the VM cluster / Cloud VM cluster / VMBM DBCS. Enabling incident logs collection allows Oracle to receive Events service notifications for guest VM issues, collect incident logs and traces, and use them to diagnose issues and resolve them. Optionally enable incident logs collection while provisioning a system. You can also disable or enable incident logs collection anytime using the `UpdateVmCluster`, `updateCloudVmCluster` or `updateDbsystem` API. """ + DbSystemDataCollectionOptions._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_diagnostics_events_enabled=is_diagnostics_events_enabled, + is_health_monitoring_enabled=is_health_monitoring_enabled, + is_incident_logs_enabled=is_incident_logs_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_diagnostics_events_enabled: Optional[bool] = None, + is_health_monitoring_enabled: Optional[bool] = None, + is_incident_logs_enabled: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_diagnostics_events_enabled is not None: - pulumi.set(__self__, "is_diagnostics_events_enabled", is_diagnostics_events_enabled) + _setter("is_diagnostics_events_enabled", is_diagnostics_events_enabled) if is_health_monitoring_enabled is not None: - pulumi.set(__self__, "is_health_monitoring_enabled", is_health_monitoring_enabled) + _setter("is_health_monitoring_enabled", is_health_monitoring_enabled) if is_incident_logs_enabled is not None: - pulumi.set(__self__, "is_incident_logs_enabled", is_incident_logs_enabled) + _setter("is_incident_logs_enabled", is_incident_logs_enabled) @property @pulumi.getter(name="isDiagnosticsEventsEnabled") @@ -6072,31 +7256,64 @@ def __init__(__self__, *, :param str state: The current state of the DB system. :param str time_created: The date and time the DB system was created. """ - pulumi.set(__self__, "database", database) + DbSystemDbHome._configure( + lambda key, value: pulumi.set(__self__, key, value), + database=database, + create_async=create_async, + database_software_image_id=database_software_image_id, + db_home_location=db_home_location, + db_version=db_version, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + last_patch_history_entry_id=last_patch_history_entry_id, + lifecycle_details=lifecycle_details, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + database: 'outputs.DbSystemDbHomeDatabase', + create_async: Optional[bool] = None, + database_software_image_id: Optional[str] = None, + db_home_location: Optional[str] = None, + db_version: Optional[str] = None, + defined_tags: Optional[Mapping[str, Any]] = None, + display_name: Optional[str] = None, + freeform_tags: Optional[Mapping[str, Any]] = None, + id: Optional[str] = None, + last_patch_history_entry_id: Optional[str] = None, + lifecycle_details: Optional[str] = None, + state: Optional[str] = None, + time_created: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("database", database) if create_async is not None: - pulumi.set(__self__, "create_async", create_async) + _setter("create_async", create_async) if database_software_image_id is not None: - pulumi.set(__self__, "database_software_image_id", database_software_image_id) + _setter("database_software_image_id", database_software_image_id) if db_home_location is not None: - pulumi.set(__self__, "db_home_location", db_home_location) + _setter("db_home_location", db_home_location) if db_version is not None: - pulumi.set(__self__, "db_version", db_version) + _setter("db_version", db_version) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if last_patch_history_entry_id is not None: - pulumi.set(__self__, "last_patch_history_entry_id", last_patch_history_entry_id) + _setter("last_patch_history_entry_id", last_patch_history_entry_id) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter @@ -6319,55 +7536,112 @@ def __init__(__self__, *, :param str time_stamp_for_point_in_time_recovery: The point in time of the original database from which the new database is created. If not specifed, the latest backup is used to create the database. :param str vault_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure [vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). """ - pulumi.set(__self__, "admin_password", admin_password) + DbSystemDbHomeDatabase._configure( + lambda key, value: pulumi.set(__self__, key, value), + admin_password=admin_password, + backup_id=backup_id, + backup_tde_password=backup_tde_password, + character_set=character_set, + connection_strings=connection_strings, + database_id=database_id, + database_software_image_id=database_software_image_id, + db_backup_config=db_backup_config, + db_domain=db_domain, + db_name=db_name, + db_unique_name=db_unique_name, + db_workload=db_workload, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + id=id, + kms_key_id=kms_key_id, + kms_key_version_id=kms_key_version_id, + lifecycle_details=lifecycle_details, + ncharacter_set=ncharacter_set, + pdb_name=pdb_name, + state=state, + tde_wallet_password=tde_wallet_password, + time_created=time_created, + time_stamp_for_point_in_time_recovery=time_stamp_for_point_in_time_recovery, + vault_id=vault_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + admin_password: str, + backup_id: Optional[str] = None, + backup_tde_password: Optional[str] = None, + character_set: Optional[str] = None, + connection_strings: Optional[Sequence['outputs.DbSystemDbHomeDatabaseConnectionString']] = None, + database_id: Optional[str] = None, + database_software_image_id: Optional[str] = None, + db_backup_config: Optional['outputs.DbSystemDbHomeDatabaseDbBackupConfig'] = None, + db_domain: Optional[str] = None, + db_name: Optional[str] = None, + db_unique_name: Optional[str] = None, + db_workload: Optional[str] = None, + defined_tags: Optional[Mapping[str, Any]] = None, + freeform_tags: Optional[Mapping[str, Any]] = None, + id: Optional[str] = None, + kms_key_id: Optional[str] = None, + kms_key_version_id: Optional[str] = None, + lifecycle_details: Optional[str] = None, + ncharacter_set: Optional[str] = None, + pdb_name: Optional[str] = None, + state: Optional[str] = None, + tde_wallet_password: Optional[str] = None, + time_created: Optional[str] = None, + time_stamp_for_point_in_time_recovery: Optional[str] = None, + vault_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("admin_password", admin_password) if backup_id is not None: - pulumi.set(__self__, "backup_id", backup_id) + _setter("backup_id", backup_id) if backup_tde_password is not None: - pulumi.set(__self__, "backup_tde_password", backup_tde_password) + _setter("backup_tde_password", backup_tde_password) if character_set is not None: - pulumi.set(__self__, "character_set", character_set) + _setter("character_set", character_set) if connection_strings is not None: - pulumi.set(__self__, "connection_strings", connection_strings) + _setter("connection_strings", connection_strings) if database_id is not None: - pulumi.set(__self__, "database_id", database_id) + _setter("database_id", database_id) if database_software_image_id is not None: - pulumi.set(__self__, "database_software_image_id", database_software_image_id) + _setter("database_software_image_id", database_software_image_id) if db_backup_config is not None: - pulumi.set(__self__, "db_backup_config", db_backup_config) + _setter("db_backup_config", db_backup_config) if db_domain is not None: - pulumi.set(__self__, "db_domain", db_domain) + _setter("db_domain", db_domain) if db_name is not None: - pulumi.set(__self__, "db_name", db_name) + _setter("db_name", db_name) if db_unique_name is not None: - pulumi.set(__self__, "db_unique_name", db_unique_name) + _setter("db_unique_name", db_unique_name) if db_workload is not None: - pulumi.set(__self__, "db_workload", db_workload) + _setter("db_workload", db_workload) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) if kms_key_version_id is not None: - pulumi.set(__self__, "kms_key_version_id", kms_key_version_id) + _setter("kms_key_version_id", kms_key_version_id) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if ncharacter_set is not None: - pulumi.set(__self__, "ncharacter_set", ncharacter_set) + _setter("ncharacter_set", ncharacter_set) if pdb_name is not None: - pulumi.set(__self__, "pdb_name", pdb_name) + _setter("pdb_name", pdb_name) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if tde_wallet_password is not None: - pulumi.set(__self__, "tde_wallet_password", tde_wallet_password) + _setter("tde_wallet_password", tde_wallet_password) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_stamp_for_point_in_time_recovery is not None: - pulumi.set(__self__, "time_stamp_for_point_in_time_recovery", time_stamp_for_point_in_time_recovery) + _setter("time_stamp_for_point_in_time_recovery", time_stamp_for_point_in_time_recovery) if vault_id is not None: - pulumi.set(__self__, "vault_id", vault_id) + _setter("vault_id", vault_id) @property @pulumi.getter(name="adminPassword") @@ -6595,12 +7869,25 @@ def __init__(__self__, *, all_connection_strings: Optional[Mapping[str, Any]] = None, cdb_default: Optional[str] = None, cdb_ip_default: Optional[str] = None): + DbSystemDbHomeDatabaseConnectionString._configure( + lambda key, value: pulumi.set(__self__, key, value), + all_connection_strings=all_connection_strings, + cdb_default=cdb_default, + cdb_ip_default=cdb_ip_default, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + all_connection_strings: Optional[Mapping[str, Any]] = None, + cdb_default: Optional[str] = None, + cdb_ip_default: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if all_connection_strings is not None: - pulumi.set(__self__, "all_connection_strings", all_connection_strings) + _setter("all_connection_strings", all_connection_strings) if cdb_default is not None: - pulumi.set(__self__, "cdb_default", cdb_default) + _setter("cdb_default", cdb_default) if cdb_ip_default is not None: - pulumi.set(__self__, "cdb_ip_default", cdb_ip_default) + _setter("cdb_ip_default", cdb_ip_default) @property @pulumi.getter(name="allConnectionStrings") @@ -6670,22 +7957,45 @@ def __init__(__self__, *, :param int recovery_window_in_days: (Updatable) Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups only. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups. :param bool run_immediate_full_backup: If set to true, configures automatic full backups in the local region (the region of the DB system) for the first backup run immediately. """ + DbSystemDbHomeDatabaseDbBackupConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + auto_backup_enabled=auto_backup_enabled, + auto_backup_window=auto_backup_window, + auto_full_backup_day=auto_full_backup_day, + auto_full_backup_window=auto_full_backup_window, + backup_deletion_policy=backup_deletion_policy, + backup_destination_details=backup_destination_details, + recovery_window_in_days=recovery_window_in_days, + run_immediate_full_backup=run_immediate_full_backup, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + auto_backup_enabled: Optional[bool] = None, + auto_backup_window: Optional[str] = None, + auto_full_backup_day: Optional[str] = None, + auto_full_backup_window: Optional[str] = None, + backup_deletion_policy: Optional[str] = None, + backup_destination_details: Optional[Sequence['outputs.DbSystemDbHomeDatabaseDbBackupConfigBackupDestinationDetail']] = None, + recovery_window_in_days: Optional[int] = None, + run_immediate_full_backup: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): if auto_backup_enabled is not None: - pulumi.set(__self__, "auto_backup_enabled", auto_backup_enabled) + _setter("auto_backup_enabled", auto_backup_enabled) if auto_backup_window is not None: - pulumi.set(__self__, "auto_backup_window", auto_backup_window) + _setter("auto_backup_window", auto_backup_window) if auto_full_backup_day is not None: - pulumi.set(__self__, "auto_full_backup_day", auto_full_backup_day) + _setter("auto_full_backup_day", auto_full_backup_day) if auto_full_backup_window is not None: - pulumi.set(__self__, "auto_full_backup_window", auto_full_backup_window) + _setter("auto_full_backup_window", auto_full_backup_window) if backup_deletion_policy is not None: - pulumi.set(__self__, "backup_deletion_policy", backup_deletion_policy) + _setter("backup_deletion_policy", backup_deletion_policy) if backup_destination_details is not None: - pulumi.set(__self__, "backup_destination_details", backup_destination_details) + _setter("backup_destination_details", backup_destination_details) if recovery_window_in_days is not None: - pulumi.set(__self__, "recovery_window_in_days", recovery_window_in_days) + _setter("recovery_window_in_days", recovery_window_in_days) if run_immediate_full_backup is not None: - pulumi.set(__self__, "run_immediate_full_backup", run_immediate_full_backup) + _setter("run_immediate_full_backup", run_immediate_full_backup) @property @pulumi.getter(name="autoBackupEnabled") @@ -6780,12 +8090,25 @@ def __init__(__self__, *, :param str id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the backup destination. :param str type: Type of the database backup destination. """ + DbSystemDbHomeDatabaseDbBackupConfigBackupDestinationDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + dbrs_policy_id=dbrs_policy_id, + id=id, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + dbrs_policy_id: Optional[str] = None, + id: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if dbrs_policy_id is not None: - pulumi.set(__self__, "dbrs_policy_id", dbrs_policy_id) + _setter("dbrs_policy_id", dbrs_policy_id) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter(name="dbrsPolicyId") @@ -6836,8 +8159,17 @@ def __init__(__self__, *, """ :param str storage_management: The storage option used in DB system. ASM - Automatic storage management LVM - Logical Volume management """ + DbSystemDbSystemOptions._configure( + lambda key, value: pulumi.set(__self__, key, value), + storage_management=storage_management, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + storage_management: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if storage_management is not None: - pulumi.set(__self__, "storage_management", storage_management) + _setter("storage_management", storage_management) @property @pulumi.getter(name="storageManagement") @@ -6883,16 +8215,33 @@ def __init__(__self__, *, :param str objective: The current value for the IORM objective. The default is `AUTO`. :param str state: The current state of the DB system. """ + DbSystemIormConfigCach._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_plans=db_plans, + db_system_id=db_system_id, + lifecycle_details=lifecycle_details, + objective=objective, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_plans: Optional[Sequence['outputs.DbSystemIormConfigCachDbPlan']] = None, + db_system_id: Optional[str] = None, + lifecycle_details: Optional[str] = None, + objective: Optional[str] = None, + state: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if db_plans is not None: - pulumi.set(__self__, "db_plans", db_plans) + _setter("db_plans", db_plans) if db_system_id is not None: - pulumi.set(__self__, "db_system_id", db_system_id) + _setter("db_system_id", db_system_id) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if objective is not None: - pulumi.set(__self__, "objective", objective) + _setter("objective", objective) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) @property @pulumi.getter(name="dbPlans") @@ -6962,12 +8311,25 @@ def __init__(__self__, *, :param str flash_cache_limit: The flash cache limit for this database. This value is internally configured based on the share value assigned to the database. :param int share: The relative priority of this database. """ + DbSystemIormConfigCachDbPlan._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_name=db_name, + flash_cache_limit=flash_cache_limit, + share=share, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_name: Optional[str] = None, + flash_cache_limit: Optional[str] = None, + share: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if db_name is not None: - pulumi.set(__self__, "db_name", db_name) + _setter("db_name", db_name) if flash_cache_limit is not None: - pulumi.set(__self__, "flash_cache_limit", flash_cache_limit) + _setter("flash_cache_limit", flash_cache_limit) if share is not None: - pulumi.set(__self__, "share", share) + _setter("share", share) @property @pulumi.getter(name="dbName") @@ -7053,26 +8415,53 @@ def __init__(__self__, *, :param str preference: (Updatable) The maintenance window scheduling preference. :param Sequence[int] weeks_of_months: (Updatable) Weeks during the month when maintenance should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week. For example, to allow maintenance during the 2nd week of the month (from the 8th day to the 14th day of the month), use the value 2. Maintenance cannot be scheduled for the fifth week of months that contain more than 28 days. Note that this parameter works in conjunction with the daysOfWeek and hoursOfDay parameters to allow you to specify specific days of the week and hours that maintenance will be performed. """ + DbSystemMaintenanceWindow._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_action_timeout_in_mins=custom_action_timeout_in_mins, + days_of_weeks=days_of_weeks, + hours_of_days=hours_of_days, + is_custom_action_timeout_enabled=is_custom_action_timeout_enabled, + is_monthly_patching_enabled=is_monthly_patching_enabled, + lead_time_in_weeks=lead_time_in_weeks, + months=months, + patching_mode=patching_mode, + preference=preference, + weeks_of_months=weeks_of_months, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_action_timeout_in_mins: Optional[int] = None, + days_of_weeks: Optional[Sequence['outputs.DbSystemMaintenanceWindowDaysOfWeek']] = None, + hours_of_days: Optional[Sequence[int]] = None, + is_custom_action_timeout_enabled: Optional[bool] = None, + is_monthly_patching_enabled: Optional[bool] = None, + lead_time_in_weeks: Optional[int] = None, + months: Optional[Sequence['outputs.DbSystemMaintenanceWindowMonth']] = None, + patching_mode: Optional[str] = None, + preference: Optional[str] = None, + weeks_of_months: Optional[Sequence[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if custom_action_timeout_in_mins is not None: - pulumi.set(__self__, "custom_action_timeout_in_mins", custom_action_timeout_in_mins) + _setter("custom_action_timeout_in_mins", custom_action_timeout_in_mins) if days_of_weeks is not None: - pulumi.set(__self__, "days_of_weeks", days_of_weeks) + _setter("days_of_weeks", days_of_weeks) if hours_of_days is not None: - pulumi.set(__self__, "hours_of_days", hours_of_days) + _setter("hours_of_days", hours_of_days) if is_custom_action_timeout_enabled is not None: - pulumi.set(__self__, "is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) + _setter("is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) if is_monthly_patching_enabled is not None: - pulumi.set(__self__, "is_monthly_patching_enabled", is_monthly_patching_enabled) + _setter("is_monthly_patching_enabled", is_monthly_patching_enabled) if lead_time_in_weeks is not None: - pulumi.set(__self__, "lead_time_in_weeks", lead_time_in_weeks) + _setter("lead_time_in_weeks", lead_time_in_weeks) if months is not None: - pulumi.set(__self__, "months", months) + _setter("months", months) if patching_mode is not None: - pulumi.set(__self__, "patching_mode", patching_mode) + _setter("patching_mode", patching_mode) if preference is not None: - pulumi.set(__self__, "preference", preference) + _setter("preference", preference) if weeks_of_months is not None: - pulumi.set(__self__, "weeks_of_months", weeks_of_months) + _setter("weeks_of_months", weeks_of_months) @property @pulumi.getter(name="customActionTimeoutInMins") @@ -7165,8 +8554,17 @@ def __init__(__self__, *, """ :param str name: (Updatable) Name of the month of the year. """ + DbSystemMaintenanceWindowDaysOfWeek._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -7236,26 +8634,53 @@ def __init__(__self__, *, :param str preference: (Updatable) The maintenance window scheduling preference. :param Sequence[int] weeks_of_months: (Updatable) Weeks during the month when maintenance should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week. For example, to allow maintenance during the 2nd week of the month (from the 8th day to the 14th day of the month), use the value 2. Maintenance cannot be scheduled for the fifth week of months that contain more than 28 days. Note that this parameter works in conjunction with the daysOfWeek and hoursOfDay parameters to allow you to specify specific days of the week and hours that maintenance will be performed. """ + DbSystemMaintenanceWindowDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_action_timeout_in_mins=custom_action_timeout_in_mins, + days_of_weeks=days_of_weeks, + hours_of_days=hours_of_days, + is_custom_action_timeout_enabled=is_custom_action_timeout_enabled, + is_monthly_patching_enabled=is_monthly_patching_enabled, + lead_time_in_weeks=lead_time_in_weeks, + months=months, + patching_mode=patching_mode, + preference=preference, + weeks_of_months=weeks_of_months, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_action_timeout_in_mins: Optional[int] = None, + days_of_weeks: Optional[Sequence['outputs.DbSystemMaintenanceWindowDetailsDaysOfWeek']] = None, + hours_of_days: Optional[Sequence[int]] = None, + is_custom_action_timeout_enabled: Optional[bool] = None, + is_monthly_patching_enabled: Optional[bool] = None, + lead_time_in_weeks: Optional[int] = None, + months: Optional[Sequence['outputs.DbSystemMaintenanceWindowDetailsMonth']] = None, + patching_mode: Optional[str] = None, + preference: Optional[str] = None, + weeks_of_months: Optional[Sequence[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if custom_action_timeout_in_mins is not None: - pulumi.set(__self__, "custom_action_timeout_in_mins", custom_action_timeout_in_mins) + _setter("custom_action_timeout_in_mins", custom_action_timeout_in_mins) if days_of_weeks is not None: - pulumi.set(__self__, "days_of_weeks", days_of_weeks) + _setter("days_of_weeks", days_of_weeks) if hours_of_days is not None: - pulumi.set(__self__, "hours_of_days", hours_of_days) + _setter("hours_of_days", hours_of_days) if is_custom_action_timeout_enabled is not None: - pulumi.set(__self__, "is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) + _setter("is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) if is_monthly_patching_enabled is not None: - pulumi.set(__self__, "is_monthly_patching_enabled", is_monthly_patching_enabled) + _setter("is_monthly_patching_enabled", is_monthly_patching_enabled) if lead_time_in_weeks is not None: - pulumi.set(__self__, "lead_time_in_weeks", lead_time_in_weeks) + _setter("lead_time_in_weeks", lead_time_in_weeks) if months is not None: - pulumi.set(__self__, "months", months) + _setter("months", months) if patching_mode is not None: - pulumi.set(__self__, "patching_mode", patching_mode) + _setter("patching_mode", patching_mode) if preference is not None: - pulumi.set(__self__, "preference", preference) + _setter("preference", preference) if weeks_of_months is not None: - pulumi.set(__self__, "weeks_of_months", weeks_of_months) + _setter("weeks_of_months", weeks_of_months) @property @pulumi.getter(name="customActionTimeoutInMins") @@ -7348,8 +8773,17 @@ def __init__(__self__, *, """ :param str name: (Updatable) Name of the month of the year. """ + DbSystemMaintenanceWindowDetailsDaysOfWeek._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -7367,8 +8801,17 @@ def __init__(__self__, *, """ :param str name: (Updatable) Name of the month of the year. """ + DbSystemMaintenanceWindowDetailsMonth._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -7386,8 +8829,17 @@ def __init__(__self__, *, """ :param str name: (Updatable) Name of the month of the year. """ + DbSystemMaintenanceWindowMonth._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -7422,8 +8874,17 @@ def __init__(__self__, *, """ :param str storage_management: The storage option used in DB system. ASM - Automatic storage management LVM - Logical Volume management """ + DbSystemsUpgradeDbSystemOption._configure( + lambda key, value: pulumi.set(__self__, key, value), + storage_management=storage_management, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + storage_management: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if storage_management is not None: - pulumi.set(__self__, "storage_management", storage_management) + _setter("storage_management", storage_management) @property @pulumi.getter(name="storageManagement") @@ -7466,14 +8927,29 @@ def __init__(__self__, *, :param str objective: The current value for the IORM objective. The default is `AUTO`. :param str state: The current state of the DB system. """ + DbSystemsUpgradeIormConfigCach._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_plans=db_plans, + lifecycle_details=lifecycle_details, + objective=objective, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_plans: Optional[Sequence['outputs.DbSystemsUpgradeIormConfigCachDbPlan']] = None, + lifecycle_details: Optional[str] = None, + objective: Optional[str] = None, + state: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if db_plans is not None: - pulumi.set(__self__, "db_plans", db_plans) + _setter("db_plans", db_plans) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if objective is not None: - pulumi.set(__self__, "objective", objective) + _setter("objective", objective) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) @property @pulumi.getter(name="dbPlans") @@ -7538,12 +9014,25 @@ def __init__(__self__, *, :param str flash_cache_limit: The flash cache limit for this database. This value is internally configured based on the share value assigned to the database. :param int share: The relative priority of this database. """ + DbSystemsUpgradeIormConfigCachDbPlan._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_name=db_name, + flash_cache_limit=flash_cache_limit, + share=share, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_name: Optional[str] = None, + flash_cache_limit: Optional[str] = None, + share: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if db_name is not None: - pulumi.set(__self__, "db_name", db_name) + _setter("db_name", db_name) if flash_cache_limit is not None: - pulumi.set(__self__, "flash_cache_limit", flash_cache_limit) + _setter("flash_cache_limit", flash_cache_limit) if share is not None: - pulumi.set(__self__, "share", share) + _setter("share", share) @property @pulumi.getter(name="dbName") @@ -7611,18 +9100,37 @@ def __init__(__self__, *, :param str preference: The maintenance window scheduling preference. :param Sequence[int] weeks_of_months: Weeks during the month when maintenance should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week. For example, to allow maintenance during the 2nd week of the month (from the 8th day to the 14th day of the month), use the value 2. Maintenance cannot be scheduled for the fifth week of months that contain more than 28 days. Note that this parameter works in conjunction with the daysOfWeek and hoursOfDay parameters to allow you to specify specific days of the week and hours that maintenance will be performed. """ + DbSystemsUpgradeMaintenanceWindow._configure( + lambda key, value: pulumi.set(__self__, key, value), + days_of_weeks=days_of_weeks, + hours_of_days=hours_of_days, + lead_time_in_weeks=lead_time_in_weeks, + months=months, + preference=preference, + weeks_of_months=weeks_of_months, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + days_of_weeks: Optional[Sequence['outputs.DbSystemsUpgradeMaintenanceWindowDaysOfWeek']] = None, + hours_of_days: Optional[Sequence[int]] = None, + lead_time_in_weeks: Optional[int] = None, + months: Optional[Sequence['outputs.DbSystemsUpgradeMaintenanceWindowMonth']] = None, + preference: Optional[str] = None, + weeks_of_months: Optional[Sequence[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if days_of_weeks is not None: - pulumi.set(__self__, "days_of_weeks", days_of_weeks) + _setter("days_of_weeks", days_of_weeks) if hours_of_days is not None: - pulumi.set(__self__, "hours_of_days", hours_of_days) + _setter("hours_of_days", hours_of_days) if lead_time_in_weeks is not None: - pulumi.set(__self__, "lead_time_in_weeks", lead_time_in_weeks) + _setter("lead_time_in_weeks", lead_time_in_weeks) if months is not None: - pulumi.set(__self__, "months", months) + _setter("months", months) if preference is not None: - pulumi.set(__self__, "preference", preference) + _setter("preference", preference) if weeks_of_months is not None: - pulumi.set(__self__, "weeks_of_months", weeks_of_months) + _setter("weeks_of_months", weeks_of_months) @property @pulumi.getter(name="daysOfWeeks") @@ -7681,8 +9189,17 @@ def __init__(__self__, *, """ :param str name: Name of the month of the year. """ + DbSystemsUpgradeMaintenanceWindowDaysOfWeek._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -7700,8 +9217,17 @@ def __init__(__self__, *, """ :param str name: Name of the month of the year. """ + DbSystemsUpgradeMaintenanceWindowMonth._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -7748,16 +9274,33 @@ def __init__(__self__, *, :param str name: Name of the month of the year. :param str phone_number: The phone number for the Exadata Infrastructure contact. """ + ExadataInfrastructureComputeContact._configure( + lambda key, value: pulumi.set(__self__, key, value), + email=email, + is_contact_mos_validated=is_contact_mos_validated, + is_primary=is_primary, + name=name, + phone_number=phone_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + email: Optional[str] = None, + is_contact_mos_validated: Optional[bool] = None, + is_primary: Optional[bool] = None, + name: Optional[str] = None, + phone_number: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if email is not None: - pulumi.set(__self__, "email", email) + _setter("email", email) if is_contact_mos_validated is not None: - pulumi.set(__self__, "is_contact_mos_validated", is_contact_mos_validated) + _setter("is_contact_mos_validated", is_contact_mos_validated) if is_primary is not None: - pulumi.set(__self__, "is_primary", is_primary) + _setter("is_primary", is_primary) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if phone_number is not None: - pulumi.set(__self__, "phone_number", phone_number) + _setter("phone_number", phone_number) @property @pulumi.getter @@ -7857,26 +9400,53 @@ def __init__(__self__, *, :param str preference: The maintenance window scheduling preference. :param Sequence[int] weeks_of_months: Weeks during the month when maintenance should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week. For example, to allow maintenance during the 2nd week of the month (from the 8th day to the 14th day of the month), use the value 2. Maintenance cannot be scheduled for the fifth week of months that contain more than 28 days. Note that this parameter works in conjunction with the daysOfWeek and hoursOfDay parameters to allow you to specify specific days of the week and hours that maintenance will be performed. """ + ExadataInfrastructureComputeMaintenanceWindow._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_action_timeout_in_mins=custom_action_timeout_in_mins, + days_of_weeks=days_of_weeks, + hours_of_days=hours_of_days, + is_custom_action_timeout_enabled=is_custom_action_timeout_enabled, + is_monthly_patching_enabled=is_monthly_patching_enabled, + lead_time_in_weeks=lead_time_in_weeks, + months=months, + patching_mode=patching_mode, + preference=preference, + weeks_of_months=weeks_of_months, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_action_timeout_in_mins: Optional[int] = None, + days_of_weeks: Optional[Sequence['outputs.ExadataInfrastructureComputeMaintenanceWindowDaysOfWeek']] = None, + hours_of_days: Optional[Sequence[int]] = None, + is_custom_action_timeout_enabled: Optional[bool] = None, + is_monthly_patching_enabled: Optional[bool] = None, + lead_time_in_weeks: Optional[int] = None, + months: Optional[Sequence['outputs.ExadataInfrastructureComputeMaintenanceWindowMonth']] = None, + patching_mode: Optional[str] = None, + preference: Optional[str] = None, + weeks_of_months: Optional[Sequence[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if custom_action_timeout_in_mins is not None: - pulumi.set(__self__, "custom_action_timeout_in_mins", custom_action_timeout_in_mins) + _setter("custom_action_timeout_in_mins", custom_action_timeout_in_mins) if days_of_weeks is not None: - pulumi.set(__self__, "days_of_weeks", days_of_weeks) + _setter("days_of_weeks", days_of_weeks) if hours_of_days is not None: - pulumi.set(__self__, "hours_of_days", hours_of_days) + _setter("hours_of_days", hours_of_days) if is_custom_action_timeout_enabled is not None: - pulumi.set(__self__, "is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) + _setter("is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) if is_monthly_patching_enabled is not None: - pulumi.set(__self__, "is_monthly_patching_enabled", is_monthly_patching_enabled) + _setter("is_monthly_patching_enabled", is_monthly_patching_enabled) if lead_time_in_weeks is not None: - pulumi.set(__self__, "lead_time_in_weeks", lead_time_in_weeks) + _setter("lead_time_in_weeks", lead_time_in_weeks) if months is not None: - pulumi.set(__self__, "months", months) + _setter("months", months) if patching_mode is not None: - pulumi.set(__self__, "patching_mode", patching_mode) + _setter("patching_mode", patching_mode) if preference is not None: - pulumi.set(__self__, "preference", preference) + _setter("preference", preference) if weeks_of_months is not None: - pulumi.set(__self__, "weeks_of_months", weeks_of_months) + _setter("weeks_of_months", weeks_of_months) @property @pulumi.getter(name="customActionTimeoutInMins") @@ -7967,8 +9537,17 @@ def __init__(__self__, *, """ :param str name: Name of the month of the year. """ + ExadataInfrastructureComputeMaintenanceWindowDaysOfWeek._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -7986,8 +9565,17 @@ def __init__(__self__, *, """ :param str name: Name of the month of the year. """ + ExadataInfrastructureComputeMaintenanceWindowMonth._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -8034,13 +9622,30 @@ def __init__(__self__, *, :param bool is_contact_mos_validated: (Updatable) If `true`, this Exadata Infrastructure contact is a valid My Oracle Support (MOS) contact. If `false`, this Exadata Infrastructure contact is not a valid MOS contact. :param str phone_number: (Updatable) The phone number for the Exadata Infrastructure contact. """ - pulumi.set(__self__, "email", email) - pulumi.set(__self__, "is_primary", is_primary) - pulumi.set(__self__, "name", name) + ExadataInfrastructureContact._configure( + lambda key, value: pulumi.set(__self__, key, value), + email=email, + is_primary=is_primary, + name=name, + is_contact_mos_validated=is_contact_mos_validated, + phone_number=phone_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + email: str, + is_primary: bool, + name: str, + is_contact_mos_validated: Optional[bool] = None, + phone_number: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("email", email) + _setter("is_primary", is_primary) + _setter("name", name) if is_contact_mos_validated is not None: - pulumi.set(__self__, "is_contact_mos_validated", is_contact_mos_validated) + _setter("is_contact_mos_validated", is_contact_mos_validated) if phone_number is not None: - pulumi.set(__self__, "phone_number", phone_number) + _setter("phone_number", phone_number) @property @pulumi.getter @@ -8142,26 +9747,53 @@ def __init__(__self__, *, :param str preference: (Updatable) The maintenance window scheduling preference. :param Sequence[int] weeks_of_months: (Updatable) Weeks during the month when maintenance should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week. For example, to allow maintenance during the 2nd week of the month (from the 8th day to the 14th day of the month), use the value 2. Maintenance cannot be scheduled for the fifth week of months that contain more than 28 days. Note that this parameter works in conjunction with the daysOfWeek and hoursOfDay parameters to allow you to specify specific days of the week and hours that maintenance will be performed. """ + ExadataInfrastructureMaintenanceWindow._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_action_timeout_in_mins=custom_action_timeout_in_mins, + days_of_weeks=days_of_weeks, + hours_of_days=hours_of_days, + is_custom_action_timeout_enabled=is_custom_action_timeout_enabled, + is_monthly_patching_enabled=is_monthly_patching_enabled, + lead_time_in_weeks=lead_time_in_weeks, + months=months, + patching_mode=patching_mode, + preference=preference, + weeks_of_months=weeks_of_months, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_action_timeout_in_mins: Optional[int] = None, + days_of_weeks: Optional[Sequence['outputs.ExadataInfrastructureMaintenanceWindowDaysOfWeek']] = None, + hours_of_days: Optional[Sequence[int]] = None, + is_custom_action_timeout_enabled: Optional[bool] = None, + is_monthly_patching_enabled: Optional[bool] = None, + lead_time_in_weeks: Optional[int] = None, + months: Optional[Sequence['outputs.ExadataInfrastructureMaintenanceWindowMonth']] = None, + patching_mode: Optional[str] = None, + preference: Optional[str] = None, + weeks_of_months: Optional[Sequence[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if custom_action_timeout_in_mins is not None: - pulumi.set(__self__, "custom_action_timeout_in_mins", custom_action_timeout_in_mins) + _setter("custom_action_timeout_in_mins", custom_action_timeout_in_mins) if days_of_weeks is not None: - pulumi.set(__self__, "days_of_weeks", days_of_weeks) + _setter("days_of_weeks", days_of_weeks) if hours_of_days is not None: - pulumi.set(__self__, "hours_of_days", hours_of_days) + _setter("hours_of_days", hours_of_days) if is_custom_action_timeout_enabled is not None: - pulumi.set(__self__, "is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) + _setter("is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) if is_monthly_patching_enabled is not None: - pulumi.set(__self__, "is_monthly_patching_enabled", is_monthly_patching_enabled) + _setter("is_monthly_patching_enabled", is_monthly_patching_enabled) if lead_time_in_weeks is not None: - pulumi.set(__self__, "lead_time_in_weeks", lead_time_in_weeks) + _setter("lead_time_in_weeks", lead_time_in_weeks) if months is not None: - pulumi.set(__self__, "months", months) + _setter("months", months) if patching_mode is not None: - pulumi.set(__self__, "patching_mode", patching_mode) + _setter("patching_mode", patching_mode) if preference is not None: - pulumi.set(__self__, "preference", preference) + _setter("preference", preference) if weeks_of_months is not None: - pulumi.set(__self__, "weeks_of_months", weeks_of_months) + _setter("weeks_of_months", weeks_of_months) @property @pulumi.getter(name="customActionTimeoutInMins") @@ -8254,7 +9886,16 @@ def __init__(__self__, *, """ :param str name: (Updatable) Name of the month of the year. """ - pulumi.set(__self__, "name", name) + ExadataInfrastructureMaintenanceWindowDaysOfWeek._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -8272,7 +9913,16 @@ def __init__(__self__, *, """ :param str name: (Updatable) Name of the month of the year. """ - pulumi.set(__self__, "name", name) + ExadataInfrastructureMaintenanceWindowMonth._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -8315,12 +9965,25 @@ def __init__(__self__, *, :param str client_network_bonding_mode: (Updatable) The network bonding mode for the Exadata infrastructure. :param str dr_network_bonding_mode: (Updatable) The network bonding mode for the Exadata infrastructure. """ + ExadataInfrastructureNetworkBondingModeDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + backup_network_bonding_mode=backup_network_bonding_mode, + client_network_bonding_mode=client_network_bonding_mode, + dr_network_bonding_mode=dr_network_bonding_mode, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backup_network_bonding_mode: Optional[str] = None, + client_network_bonding_mode: Optional[str] = None, + dr_network_bonding_mode: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if backup_network_bonding_mode is not None: - pulumi.set(__self__, "backup_network_bonding_mode", backup_network_bonding_mode) + _setter("backup_network_bonding_mode", backup_network_bonding_mode) if client_network_bonding_mode is not None: - pulumi.set(__self__, "client_network_bonding_mode", client_network_bonding_mode) + _setter("client_network_bonding_mode", client_network_bonding_mode) if dr_network_bonding_mode is not None: - pulumi.set(__self__, "dr_network_bonding_mode", dr_network_bonding_mode) + _setter("dr_network_bonding_mode", dr_network_bonding_mode) @property @pulumi.getter(name="backupNetworkBondingMode") @@ -8376,13 +10039,30 @@ def __init__(__self__, *, name: str, is_contact_mos_validated: Optional[bool] = None, phone_number: Optional[str] = None): - pulumi.set(__self__, "email", email) - pulumi.set(__self__, "is_primary", is_primary) - pulumi.set(__self__, "name", name) + ExadataInfrastructureStorageContact._configure( + lambda key, value: pulumi.set(__self__, key, value), + email=email, + is_primary=is_primary, + name=name, + is_contact_mos_validated=is_contact_mos_validated, + phone_number=phone_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + email: str, + is_primary: bool, + name: str, + is_contact_mos_validated: Optional[bool] = None, + phone_number: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("email", email) + _setter("is_primary", is_primary) + _setter("name", name) if is_contact_mos_validated is not None: - pulumi.set(__self__, "is_contact_mos_validated", is_contact_mos_validated) + _setter("is_contact_mos_validated", is_contact_mos_validated) if phone_number is not None: - pulumi.set(__self__, "phone_number", phone_number) + _setter("phone_number", phone_number) @property @pulumi.getter @@ -8442,17 +10122,36 @@ def __init__(__self__, *, lead_time_in_weeks: Optional[int] = None, months: Optional[Sequence['outputs.ExadataInfrastructureStorageMaintenanceWindowMonth']] = None, weeks_of_months: Optional[Sequence[int]] = None): - pulumi.set(__self__, "preference", preference) + ExadataInfrastructureStorageMaintenanceWindow._configure( + lambda key, value: pulumi.set(__self__, key, value), + preference=preference, + days_of_weeks=days_of_weeks, + hours_of_days=hours_of_days, + lead_time_in_weeks=lead_time_in_weeks, + months=months, + weeks_of_months=weeks_of_months, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + preference: str, + days_of_weeks: Optional[Sequence['outputs.ExadataInfrastructureStorageMaintenanceWindowDaysOfWeek']] = None, + hours_of_days: Optional[Sequence[int]] = None, + lead_time_in_weeks: Optional[int] = None, + months: Optional[Sequence['outputs.ExadataInfrastructureStorageMaintenanceWindowMonth']] = None, + weeks_of_months: Optional[Sequence[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("preference", preference) if days_of_weeks is not None: - pulumi.set(__self__, "days_of_weeks", days_of_weeks) + _setter("days_of_weeks", days_of_weeks) if hours_of_days is not None: - pulumi.set(__self__, "hours_of_days", hours_of_days) + _setter("hours_of_days", hours_of_days) if lead_time_in_weeks is not None: - pulumi.set(__self__, "lead_time_in_weeks", lead_time_in_weeks) + _setter("lead_time_in_weeks", lead_time_in_weeks) if months is not None: - pulumi.set(__self__, "months", months) + _setter("months", months) if weeks_of_months is not None: - pulumi.set(__self__, "weeks_of_months", weeks_of_months) + _setter("weeks_of_months", weeks_of_months) @property @pulumi.getter @@ -8489,7 +10188,16 @@ def weeks_of_months(self) -> Optional[Sequence[int]]: class ExadataInfrastructureStorageMaintenanceWindowDaysOfWeek(dict): def __init__(__self__, *, name: str): - pulumi.set(__self__, "name", name) + ExadataInfrastructureStorageMaintenanceWindowDaysOfWeek._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -8501,7 +10209,16 @@ def name(self) -> str: class ExadataInfrastructureStorageMaintenanceWindowMonth(dict): def __init__(__self__, *, name: str): - pulumi.set(__self__, "name", name) + ExadataInfrastructureStorageMaintenanceWindowMonth._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -8539,10 +10256,23 @@ def __init__(__self__, *, :param int share: (Updatable) The relative priority of this database. :param str flash_cache_limit: The flash cache limit for this database. This value is internally configured based on the share value assigned to the database. """ - pulumi.set(__self__, "db_name", db_name) - pulumi.set(__self__, "share", share) + ExadataIormConfigDbPlan._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_name=db_name, + share=share, + flash_cache_limit=flash_cache_limit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_name: str, + share: int, + flash_cache_limit: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("db_name", db_name) + _setter("share", share) if flash_cache_limit is not None: - pulumi.set(__self__, "flash_cache_limit", flash_cache_limit) + _setter("flash_cache_limit", flash_cache_limit) @property @pulumi.getter(name="dbName") @@ -8601,12 +10331,25 @@ def __init__(__self__, *, :param str database_management_status: The status of the Database Management service. :param str license_model: The Oracle license model that applies to the external database. """ + ExternalContainerDatabaseDatabaseManagementConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + database_management_connection_id=database_management_connection_id, + database_management_status=database_management_status, + license_model=license_model, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + database_management_connection_id: Optional[str] = None, + database_management_status: Optional[str] = None, + license_model: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if database_management_connection_id is not None: - pulumi.set(__self__, "database_management_connection_id", database_management_connection_id) + _setter("database_management_connection_id", database_management_connection_id) if database_management_status is not None: - pulumi.set(__self__, "database_management_status", database_management_status) + _setter("database_management_status", database_management_status) if license_model is not None: - pulumi.set(__self__, "license_model", license_model) + _setter("license_model", license_model) @property @pulumi.getter(name="databaseManagementConnectionId") @@ -8661,10 +10404,21 @@ def __init__(__self__, *, :param str stack_monitoring_connector_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the [external database connector](https://docs.cloud.oracle.com/iaas/api/#/en/database/latest/datatypes/CreateExternalDatabaseConnectorDetails). :param str stack_monitoring_status: The status of Stack Monitoring. """ + ExternalContainerDatabaseStackMonitoringConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + stack_monitoring_connector_id=stack_monitoring_connector_id, + stack_monitoring_status=stack_monitoring_status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + stack_monitoring_connector_id: Optional[str] = None, + stack_monitoring_status: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if stack_monitoring_connector_id is not None: - pulumi.set(__self__, "stack_monitoring_connector_id", stack_monitoring_connector_id) + _setter("stack_monitoring_connector_id", stack_monitoring_connector_id) if stack_monitoring_status is not None: - pulumi.set(__self__, "stack_monitoring_status", stack_monitoring_status) + _setter("stack_monitoring_status", stack_monitoring_status) @property @pulumi.getter(name="stackMonitoringConnectorId") @@ -8723,18 +10477,37 @@ def __init__(__self__, *, :param str ssl_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure [secret](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). :param str username: (Updatable) The username that will be used to connect to the database. """ + ExternalDatabaseConnectorConnectionCredentials._configure( + lambda key, value: pulumi.set(__self__, key, value), + credential_name=credential_name, + credential_type=credential_type, + password=password, + role=role, + ssl_secret_id=ssl_secret_id, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + credential_name: Optional[str] = None, + credential_type: Optional[str] = None, + password: Optional[str] = None, + role: Optional[str] = None, + ssl_secret_id: Optional[str] = None, + username: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if credential_name is not None: - pulumi.set(__self__, "credential_name", credential_name) + _setter("credential_name", credential_name) if credential_type is not None: - pulumi.set(__self__, "credential_type", credential_type) + _setter("credential_type", credential_type) if password is not None: - pulumi.set(__self__, "password", password) + _setter("password", password) if role is not None: - pulumi.set(__self__, "role", role) + _setter("role", role) if ssl_secret_id is not None: - pulumi.set(__self__, "ssl_secret_id", ssl_secret_id) + _setter("ssl_secret_id", ssl_secret_id) if username is not None: - pulumi.set(__self__, "username", username) + _setter("username", username) @property @pulumi.getter(name="credentialName") @@ -8800,10 +10573,25 @@ def __init__(__self__, *, :param str protocol: (Updatable) The protocol used to connect to the database. :param str service: (Updatable) The name of the service alias used to connect to the database. """ - pulumi.set(__self__, "hostname", hostname) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "service", service) + ExternalDatabaseConnectorConnectionString._configure( + lambda key, value: pulumi.set(__self__, key, value), + hostname=hostname, + port=port, + protocol=protocol, + service=service, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hostname: str, + port: int, + protocol: str, + service: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("hostname", hostname) + _setter("port", port) + _setter("protocol", protocol) + _setter("service", service) @property @pulumi.getter @@ -8870,12 +10658,25 @@ def __init__(__self__, *, :param str database_management_status: The status of the Database Management service. :param str license_model: The Oracle license model that applies to the external database. """ + ExternalNonContainerDatabaseDatabaseManagementConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + database_management_connection_id=database_management_connection_id, + database_management_status=database_management_status, + license_model=license_model, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + database_management_connection_id: Optional[str] = None, + database_management_status: Optional[str] = None, + license_model: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if database_management_connection_id is not None: - pulumi.set(__self__, "database_management_connection_id", database_management_connection_id) + _setter("database_management_connection_id", database_management_connection_id) if database_management_status is not None: - pulumi.set(__self__, "database_management_status", database_management_status) + _setter("database_management_status", database_management_status) if license_model is not None: - pulumi.set(__self__, "license_model", license_model) + _setter("license_model", license_model) @property @pulumi.getter(name="databaseManagementConnectionId") @@ -8930,10 +10731,21 @@ def __init__(__self__, *, :param str operations_insights_connector_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the [external database connector](https://docs.cloud.oracle.com/iaas/api/#/en/database/latest/datatypes/CreateExternalDatabaseConnectorDetails). :param str operations_insights_status: The status of Operations Insights """ + ExternalNonContainerDatabaseOperationsInsightsConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + operations_insights_connector_id=operations_insights_connector_id, + operations_insights_status=operations_insights_status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + operations_insights_connector_id: Optional[str] = None, + operations_insights_status: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if operations_insights_connector_id is not None: - pulumi.set(__self__, "operations_insights_connector_id", operations_insights_connector_id) + _setter("operations_insights_connector_id", operations_insights_connector_id) if operations_insights_status is not None: - pulumi.set(__self__, "operations_insights_status", operations_insights_status) + _setter("operations_insights_status", operations_insights_status) @property @pulumi.getter(name="operationsInsightsConnectorId") @@ -8980,10 +10792,21 @@ def __init__(__self__, *, :param str stack_monitoring_connector_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the [external database connector](https://docs.cloud.oracle.com/iaas/api/#/en/database/latest/datatypes/CreateExternalDatabaseConnectorDetails). :param str stack_monitoring_status: The status of Stack Monitoring. """ + ExternalNonContainerDatabaseStackMonitoringConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + stack_monitoring_connector_id=stack_monitoring_connector_id, + stack_monitoring_status=stack_monitoring_status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + stack_monitoring_connector_id: Optional[str] = None, + stack_monitoring_status: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if stack_monitoring_connector_id is not None: - pulumi.set(__self__, "stack_monitoring_connector_id", stack_monitoring_connector_id) + _setter("stack_monitoring_connector_id", stack_monitoring_connector_id) if stack_monitoring_status is not None: - pulumi.set(__self__, "stack_monitoring_status", stack_monitoring_status) + _setter("stack_monitoring_status", stack_monitoring_status) @property @pulumi.getter(name="stackMonitoringConnectorId") @@ -9034,12 +10857,25 @@ def __init__(__self__, *, :param str database_management_status: The status of the Database Management service. :param str license_model: The Oracle license model that applies to the external database. """ + ExternalPluggableDatabaseDatabaseManagementConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + database_management_connection_id=database_management_connection_id, + database_management_status=database_management_status, + license_model=license_model, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + database_management_connection_id: Optional[str] = None, + database_management_status: Optional[str] = None, + license_model: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if database_management_connection_id is not None: - pulumi.set(__self__, "database_management_connection_id", database_management_connection_id) + _setter("database_management_connection_id", database_management_connection_id) if database_management_status is not None: - pulumi.set(__self__, "database_management_status", database_management_status) + _setter("database_management_status", database_management_status) if license_model is not None: - pulumi.set(__self__, "license_model", license_model) + _setter("license_model", license_model) @property @pulumi.getter(name="databaseManagementConnectionId") @@ -9094,10 +10930,21 @@ def __init__(__self__, *, :param str operations_insights_connector_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the [external database connector](https://docs.cloud.oracle.com/iaas/api/#/en/database/latest/datatypes/CreateExternalDatabaseConnectorDetails). :param str operations_insights_status: The status of Operations Insights """ + ExternalPluggableDatabaseOperationsInsightsConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + operations_insights_connector_id=operations_insights_connector_id, + operations_insights_status=operations_insights_status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + operations_insights_connector_id: Optional[str] = None, + operations_insights_status: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if operations_insights_connector_id is not None: - pulumi.set(__self__, "operations_insights_connector_id", operations_insights_connector_id) + _setter("operations_insights_connector_id", operations_insights_connector_id) if operations_insights_status is not None: - pulumi.set(__self__, "operations_insights_status", operations_insights_status) + _setter("operations_insights_status", operations_insights_status) @property @pulumi.getter(name="operationsInsightsConnectorId") @@ -9144,10 +10991,21 @@ def __init__(__self__, *, :param str stack_monitoring_connector_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the [external database connector](https://docs.cloud.oracle.com/iaas/api/#/en/database/latest/datatypes/CreateExternalDatabaseConnectorDetails). :param str stack_monitoring_status: The status of Stack Monitoring. """ + ExternalPluggableDatabaseStackMonitoringConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + stack_monitoring_connector_id=stack_monitoring_connector_id, + stack_monitoring_status=stack_monitoring_status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + stack_monitoring_connector_id: Optional[str] = None, + stack_monitoring_status: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if stack_monitoring_connector_id is not None: - pulumi.set(__self__, "stack_monitoring_connector_id", stack_monitoring_connector_id) + _setter("stack_monitoring_connector_id", stack_monitoring_connector_id) if stack_monitoring_status is not None: - pulumi.set(__self__, "stack_monitoring_status", stack_monitoring_status) + _setter("stack_monitoring_status", stack_monitoring_status) @property @pulumi.getter(name="stackMonitoringConnectorId") @@ -9192,10 +11050,21 @@ def __init__(__self__, *, :param str db_name: The name of the database that is associated with the key store. :param str id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the key store. """ + KeyStoreAssociatedDatabase._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_name=db_name, + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_name: Optional[str] = None, + id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if db_name is not None: - pulumi.set(__self__, "db_name", db_name) + _setter("db_name", db_name) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) @property @pulumi.getter(name="dbName") @@ -9256,11 +11125,28 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "admin_username", admin_username) - pulumi.set(__self__, "connection_ips", connection_ips) - pulumi.set(__self__, "secret_id", secret_id) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "vault_id", vault_id) + KeyStoreTypeDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + admin_username=admin_username, + connection_ips=connection_ips, + secret_id=secret_id, + type=type, + vault_id=vault_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + admin_username: str, + connection_ips: Sequence[str], + secret_id: str, + type: str, + vault_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("admin_username", admin_username) + _setter("connection_ips", connection_ips) + _setter("secret_id", secret_id) + _setter("type", type) + _setter("vault_id", vault_id) @property @pulumi.getter(name="adminUsername") @@ -9343,14 +11229,29 @@ def __init__(__self__, *, :param int estimated_storage_server_patching_time: The estimated time required in minutes for storage server patching. :param int total_estimated_patching_time: The estimated total time required in minutes for all patching operations. """ + MaintenanceRunEstimatedPatchingTime._configure( + lambda key, value: pulumi.set(__self__, key, value), + estimated_db_server_patching_time=estimated_db_server_patching_time, + estimated_network_switches_patching_time=estimated_network_switches_patching_time, + estimated_storage_server_patching_time=estimated_storage_server_patching_time, + total_estimated_patching_time=total_estimated_patching_time, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + estimated_db_server_patching_time: Optional[int] = None, + estimated_network_switches_patching_time: Optional[int] = None, + estimated_storage_server_patching_time: Optional[int] = None, + total_estimated_patching_time: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if estimated_db_server_patching_time is not None: - pulumi.set(__self__, "estimated_db_server_patching_time", estimated_db_server_patching_time) + _setter("estimated_db_server_patching_time", estimated_db_server_patching_time) if estimated_network_switches_patching_time is not None: - pulumi.set(__self__, "estimated_network_switches_patching_time", estimated_network_switches_patching_time) + _setter("estimated_network_switches_patching_time", estimated_network_switches_patching_time) if estimated_storage_server_patching_time is not None: - pulumi.set(__self__, "estimated_storage_server_patching_time", estimated_storage_server_patching_time) + _setter("estimated_storage_server_patching_time", estimated_storage_server_patching_time) if total_estimated_patching_time is not None: - pulumi.set(__self__, "total_estimated_patching_time", total_estimated_patching_time) + _setter("total_estimated_patching_time", total_estimated_patching_time) @property @pulumi.getter(name="estimatedDbServerPatchingTime") @@ -9417,12 +11318,25 @@ def __init__(__self__, *, :param str pdb_default: A host name-based PDB connection string. :param str pdb_ip_default: An IP-based PDB connection string. """ + PluggableDatabaseConnectionString._configure( + lambda key, value: pulumi.set(__self__, key, value), + all_connection_strings=all_connection_strings, + pdb_default=pdb_default, + pdb_ip_default=pdb_ip_default, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + all_connection_strings: Optional[Mapping[str, Any]] = None, + pdb_default: Optional[str] = None, + pdb_ip_default: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if all_connection_strings is not None: - pulumi.set(__self__, "all_connection_strings", all_connection_strings) + _setter("all_connection_strings", all_connection_strings) if pdb_default is not None: - pulumi.set(__self__, "pdb_default", pdb_default) + _setter("pdb_default", pdb_default) if pdb_ip_default is not None: - pulumi.set(__self__, "pdb_ip_default", pdb_ip_default) + _setter("pdb_ip_default", pdb_ip_default) @property @pulumi.getter(name="allConnectionStrings") @@ -9489,13 +11403,28 @@ def __init__(__self__, *, :param str pdb_default: A host name-based PDB connection string. :param str pdb_ip_default: An IP-based PDB connection string. """ - pulumi.set(__self__, "enable_pluggabledatabasemanagement", enable_pluggabledatabasemanagement) + PluggableDatabaseManagementsManagementConnectionString._configure( + lambda key, value: pulumi.set(__self__, key, value), + enable_pluggabledatabasemanagement=enable_pluggabledatabasemanagement, + all_connection_strings=all_connection_strings, + pdb_default=pdb_default, + pdb_ip_default=pdb_ip_default, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + enable_pluggabledatabasemanagement: bool, + all_connection_strings: Optional[Mapping[str, Any]] = None, + pdb_default: Optional[str] = None, + pdb_ip_default: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("enable_pluggabledatabasemanagement", enable_pluggabledatabasemanagement) if all_connection_strings is not None: - pulumi.set(__self__, "all_connection_strings", all_connection_strings) + _setter("all_connection_strings", all_connection_strings) if pdb_default is not None: - pulumi.set(__self__, "pdb_default", pdb_default) + _setter("pdb_default", pdb_default) if pdb_ip_default is not None: - pulumi.set(__self__, "pdb_ip_default", pdb_ip_default) + _setter("pdb_ip_default", pdb_ip_default) @property @pulumi.getter(name="enablePluggabledatabasemanagement") @@ -9562,8 +11491,19 @@ def __init__(__self__, *, :param str password_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure [secret](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). :param str user_name: The name of the Oracle Database user that will be used to connect to the database. """ - pulumi.set(__self__, "password_secret_id", password_secret_id) - pulumi.set(__self__, "user_name", user_name) + PluggableDatabaseManagementsManagementCredentialDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + password_secret_id=password_secret_id, + user_name=user_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + password_secret_id: str, + user_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("password_secret_id", password_secret_id) + _setter("user_name", user_name) @property @pulumi.getter(name="passwordSecretId") @@ -9614,9 +11554,20 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param str management_status: The status of the Pluggable Database Management service. """ - pulumi.set(__self__, "enable_pluggabledatabasemanagement", enable_pluggabledatabasemanagement) + PluggableDatabaseManagementsManagementPluggableDatabaseManagementConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + enable_pluggabledatabasemanagement=enable_pluggabledatabasemanagement, + management_status=management_status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + enable_pluggabledatabasemanagement: bool, + management_status: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("enable_pluggabledatabasemanagement", enable_pluggabledatabasemanagement) if management_status is not None: - pulumi.set(__self__, "management_status", management_status) + _setter("management_status", management_status) @property @pulumi.getter(name="enablePluggabledatabasemanagement") @@ -9663,8 +11614,17 @@ def __init__(__self__, *, """ :param str management_status: The status of the Pluggable Database Management service. """ + PluggableDatabasePluggableDatabaseManagementConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + management_status=management_status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + management_status: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if management_status is not None: - pulumi.set(__self__, "management_status", management_status) + _setter("management_status", management_status) @property @pulumi.getter(name="managementStatus") @@ -9707,12 +11667,25 @@ def __init__(__self__, *, :param str pdb_default: A host name-based PDB connection string. :param str pdb_ip_default: An IP-based PDB connection string. """ + PluggableDatabasesLocalCloneConnectionString._configure( + lambda key, value: pulumi.set(__self__, key, value), + all_connection_strings=all_connection_strings, + pdb_default=pdb_default, + pdb_ip_default=pdb_ip_default, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + all_connection_strings: Optional[Mapping[str, Any]] = None, + pdb_default: Optional[str] = None, + pdb_ip_default: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if all_connection_strings is not None: - pulumi.set(__self__, "all_connection_strings", all_connection_strings) + _setter("all_connection_strings", all_connection_strings) if pdb_default is not None: - pulumi.set(__self__, "pdb_default", pdb_default) + _setter("pdb_default", pdb_default) if pdb_ip_default is not None: - pulumi.set(__self__, "pdb_ip_default", pdb_ip_default) + _setter("pdb_ip_default", pdb_ip_default) @property @pulumi.getter(name="allConnectionStrings") @@ -9763,8 +11736,17 @@ def __init__(__self__, *, """ :param str management_status: The status of the Pluggable Database Management service. """ + PluggableDatabasesLocalClonePluggableDatabaseManagementConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + management_status=management_status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + management_status: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if management_status is not None: - pulumi.set(__self__, "management_status", management_status) + _setter("management_status", management_status) @property @pulumi.getter(name="managementStatus") @@ -9807,12 +11789,25 @@ def __init__(__self__, *, :param str pdb_default: A host name-based PDB connection string. :param str pdb_ip_default: An IP-based PDB connection string. """ + PluggableDatabasesRemoteCloneConnectionString._configure( + lambda key, value: pulumi.set(__self__, key, value), + all_connection_strings=all_connection_strings, + pdb_default=pdb_default, + pdb_ip_default=pdb_ip_default, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + all_connection_strings: Optional[Mapping[str, Any]] = None, + pdb_default: Optional[str] = None, + pdb_ip_default: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if all_connection_strings is not None: - pulumi.set(__self__, "all_connection_strings", all_connection_strings) + _setter("all_connection_strings", all_connection_strings) if pdb_default is not None: - pulumi.set(__self__, "pdb_default", pdb_default) + _setter("pdb_default", pdb_default) if pdb_ip_default is not None: - pulumi.set(__self__, "pdb_ip_default", pdb_ip_default) + _setter("pdb_ip_default", pdb_ip_default) @property @pulumi.getter(name="allConnectionStrings") @@ -9863,8 +11858,17 @@ def __init__(__self__, *, """ :param str management_status: The status of the Pluggable Database Management service. """ + PluggableDatabasesRemoteClonePluggableDatabaseManagementConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + management_status=management_status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + management_status: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if management_status is not None: - pulumi.set(__self__, "management_status", management_status) + _setter("management_status", management_status) @property @pulumi.getter(name="managementStatus") @@ -9907,12 +11911,25 @@ def __init__(__self__, *, :param bool is_health_monitoring_enabled: Indicates whether health monitoring is enabled for the VM cluster / Cloud VM cluster / VMBM DBCS. Enabling health monitoring allows Oracle to collect diagnostic data and share it with its operations and support personnel. You may also receive notifications for some events. Collecting health diagnostics enables Oracle to provide proactive support and enhanced service for your system. Optionally enable health monitoring while provisioning a system. You can also disable or enable health monitoring anytime using the `UpdateVmCluster`, `UpdateCloudVmCluster` or `updateDbsystem` API. :param bool is_incident_logs_enabled: Indicates whether incident logs and trace collection are enabled for the VM cluster / Cloud VM cluster / VMBM DBCS. Enabling incident logs collection allows Oracle to receive Events service notifications for guest VM issues, collect incident logs and traces, and use them to diagnose issues and resolve them. Optionally enable incident logs collection while provisioning a system. You can also disable or enable incident logs collection anytime using the `UpdateVmCluster`, `updateCloudVmCluster` or `updateDbsystem` API. """ + VmClusterAddVirtualNetworkDataCollectionOption._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_diagnostics_events_enabled=is_diagnostics_events_enabled, + is_health_monitoring_enabled=is_health_monitoring_enabled, + is_incident_logs_enabled=is_incident_logs_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_diagnostics_events_enabled: Optional[bool] = None, + is_health_monitoring_enabled: Optional[bool] = None, + is_incident_logs_enabled: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_diagnostics_events_enabled is not None: - pulumi.set(__self__, "is_diagnostics_events_enabled", is_diagnostics_events_enabled) + _setter("is_diagnostics_events_enabled", is_diagnostics_events_enabled) if is_health_monitoring_enabled is not None: - pulumi.set(__self__, "is_health_monitoring_enabled", is_health_monitoring_enabled) + _setter("is_health_monitoring_enabled", is_health_monitoring_enabled) if is_incident_logs_enabled is not None: - pulumi.set(__self__, "is_incident_logs_enabled", is_incident_logs_enabled) + _setter("is_incident_logs_enabled", is_incident_logs_enabled) @property @pulumi.getter(name="isDiagnosticsEventsEnabled") @@ -9963,7 +11980,16 @@ def __init__(__self__, *, """ :param str db_server_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of Exacc Db server. """ - pulumi.set(__self__, "db_server_id", db_server_id) + VmClusterAddVirtualNetworkDbServer._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_server_id=db_server_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_server_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("db_server_id", db_server_id) @property @pulumi.getter(name="dbServerId") @@ -10006,12 +12032,25 @@ def __init__(__self__, *, :param bool is_health_monitoring_enabled: (Updatable) Indicates whether health monitoring is enabled for the VM cluster / Cloud VM cluster / VMBM DBCS. Enabling health monitoring allows Oracle to collect diagnostic data and share it with its operations and support personnel. You may also receive notifications for some events. Collecting health diagnostics enables Oracle to provide proactive support and enhanced service for your system. Optionally enable health monitoring while provisioning a system. You can also disable or enable health monitoring anytime using the `UpdateVmCluster`, `UpdateCloudVmCluster` or `updateDbsystem` API. :param bool is_incident_logs_enabled: (Updatable) Indicates whether incident logs and trace collection are enabled for the VM cluster / Cloud VM cluster / VMBM DBCS. Enabling incident logs collection allows Oracle to receive Events service notifications for guest VM issues, collect incident logs and traces, and use them to diagnose issues and resolve them. Optionally enable incident logs collection while provisioning a system. You can also disable or enable incident logs collection anytime using the `UpdateVmCluster`, `updateCloudVmCluster` or `updateDbsystem` API. """ + VmClusterDataCollectionOptions._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_diagnostics_events_enabled=is_diagnostics_events_enabled, + is_health_monitoring_enabled=is_health_monitoring_enabled, + is_incident_logs_enabled=is_incident_logs_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_diagnostics_events_enabled: Optional[bool] = None, + is_health_monitoring_enabled: Optional[bool] = None, + is_incident_logs_enabled: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_diagnostics_events_enabled is not None: - pulumi.set(__self__, "is_diagnostics_events_enabled", is_diagnostics_events_enabled) + _setter("is_diagnostics_events_enabled", is_diagnostics_events_enabled) if is_health_monitoring_enabled is not None: - pulumi.set(__self__, "is_health_monitoring_enabled", is_health_monitoring_enabled) + _setter("is_health_monitoring_enabled", is_health_monitoring_enabled) if is_incident_logs_enabled is not None: - pulumi.set(__self__, "is_incident_logs_enabled", is_incident_logs_enabled) + _setter("is_incident_logs_enabled", is_incident_logs_enabled) @property @pulumi.getter(name="isDiagnosticsEventsEnabled") @@ -10066,9 +12105,22 @@ def __init__(__self__, *, :param Sequence[str] ips: (Updatable) The list of SCAN IP addresses. Three addresses should be provided. :param int scan_listener_port_tcp: (Updatable) The SCAN TCPIP port. Default is 1521. """ - pulumi.set(__self__, "hostname", hostname) - pulumi.set(__self__, "ips", ips) - pulumi.set(__self__, "scan_listener_port_tcp", scan_listener_port_tcp) + VmClusterNetworkDrScan._configure( + lambda key, value: pulumi.set(__self__, key, value), + hostname=hostname, + ips=ips, + scan_listener_port_tcp=scan_listener_port_tcp, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hostname: str, + ips: Sequence[str], + scan_listener_port_tcp: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("hostname", hostname) + _setter("ips", ips) + _setter("scan_listener_port_tcp", scan_listener_port_tcp) @property @pulumi.getter @@ -10129,14 +12181,31 @@ def __init__(__self__, *, :param int scan_listener_port_tcp: (Updatable) The SCAN TCPIP port. Default is 1521. :param int scan_listener_port_tcp_ssl: (Updatable) The SCAN TCPIP SSL port. Default is 2484. """ - pulumi.set(__self__, "hostname", hostname) - pulumi.set(__self__, "ips", ips) + VmClusterNetworkScan._configure( + lambda key, value: pulumi.set(__self__, key, value), + hostname=hostname, + ips=ips, + port=port, + scan_listener_port_tcp=scan_listener_port_tcp, + scan_listener_port_tcp_ssl=scan_listener_port_tcp_ssl, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hostname: str, + ips: Sequence[str], + port: Optional[int] = None, + scan_listener_port_tcp: Optional[int] = None, + scan_listener_port_tcp_ssl: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("hostname", hostname) + _setter("ips", ips) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if scan_listener_port_tcp is not None: - pulumi.set(__self__, "scan_listener_port_tcp", scan_listener_port_tcp) + _setter("scan_listener_port_tcp", scan_listener_port_tcp) if scan_listener_port_tcp_ssl is not None: - pulumi.set(__self__, "scan_listener_port_tcp_ssl", scan_listener_port_tcp_ssl) + _setter("scan_listener_port_tcp_ssl", scan_listener_port_tcp_ssl) @property @pulumi.getter @@ -10221,16 +12290,35 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "network_type", network_type) - pulumi.set(__self__, "nodes", nodes) + VmClusterNetworkVmNetwork._configure( + lambda key, value: pulumi.set(__self__, key, value), + network_type=network_type, + nodes=nodes, + domain_name=domain_name, + gateway=gateway, + netmask=netmask, + vlan_id=vlan_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + network_type: str, + nodes: Sequence['outputs.VmClusterNetworkVmNetworkNode'], + domain_name: Optional[str] = None, + gateway: Optional[str] = None, + netmask: Optional[str] = None, + vlan_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("network_type", network_type) + _setter("nodes", nodes) if domain_name is not None: - pulumi.set(__self__, "domain_name", domain_name) + _setter("domain_name", domain_name) if gateway is not None: - pulumi.set(__self__, "gateway", gateway) + _setter("gateway", gateway) if netmask is not None: - pulumi.set(__self__, "netmask", netmask) + _setter("netmask", netmask) if vlan_id is not None: - pulumi.set(__self__, "vlan_id", vlan_id) + _setter("vlan_id", vlan_id) @property @pulumi.getter(name="networkType") @@ -10321,16 +12409,35 @@ def __init__(__self__, *, :param str vip: (Updatable) The node virtual IP (VIP) address. :param str vip_hostname: (Updatable) The node virtual IP (VIP) host name. """ - pulumi.set(__self__, "hostname", hostname) - pulumi.set(__self__, "ip", ip) + VmClusterNetworkVmNetworkNode._configure( + lambda key, value: pulumi.set(__self__, key, value), + hostname=hostname, + ip=ip, + db_server_id=db_server_id, + state=state, + vip=vip, + vip_hostname=vip_hostname, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hostname: str, + ip: str, + db_server_id: Optional[str] = None, + state: Optional[str] = None, + vip: Optional[str] = None, + vip_hostname: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("hostname", hostname) + _setter("ip", ip) if db_server_id is not None: - pulumi.set(__self__, "db_server_id", db_server_id) + _setter("db_server_id", db_server_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if vip is not None: - pulumi.set(__self__, "vip", vip) + _setter("vip", vip) if vip_hostname is not None: - pulumi.set(__self__, "vip_hostname", vip_hostname) + _setter("vip_hostname", vip_hostname) @property @pulumi.getter @@ -10413,12 +12520,25 @@ def __init__(__self__, *, :param bool is_health_monitoring_enabled: Indicates whether health monitoring is enabled for the VM cluster / Cloud VM cluster / VMBM DBCS. Enabling health monitoring allows Oracle to collect diagnostic data and share it with its operations and support personnel. You may also receive notifications for some events. Collecting health diagnostics enables Oracle to provide proactive support and enhanced service for your system. Optionally enable health monitoring while provisioning a system. You can also disable or enable health monitoring anytime using the `UpdateVmCluster`, `UpdateCloudVmCluster` or `updateDbsystem` API. :param bool is_incident_logs_enabled: Indicates whether incident logs and trace collection are enabled for the VM cluster / Cloud VM cluster / VMBM DBCS. Enabling incident logs collection allows Oracle to receive Events service notifications for guest VM issues, collect incident logs and traces, and use them to diagnose issues and resolve them. Optionally enable incident logs collection while provisioning a system. You can also disable or enable incident logs collection anytime using the `UpdateVmCluster`, `updateCloudVmCluster` or `updateDbsystem` API. """ + VmClusterRemoveVirtualMachineDataCollectionOption._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_diagnostics_events_enabled=is_diagnostics_events_enabled, + is_health_monitoring_enabled=is_health_monitoring_enabled, + is_incident_logs_enabled=is_incident_logs_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_diagnostics_events_enabled: Optional[bool] = None, + is_health_monitoring_enabled: Optional[bool] = None, + is_incident_logs_enabled: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_diagnostics_events_enabled is not None: - pulumi.set(__self__, "is_diagnostics_events_enabled", is_diagnostics_events_enabled) + _setter("is_diagnostics_events_enabled", is_diagnostics_events_enabled) if is_health_monitoring_enabled is not None: - pulumi.set(__self__, "is_health_monitoring_enabled", is_health_monitoring_enabled) + _setter("is_health_monitoring_enabled", is_health_monitoring_enabled) if is_incident_logs_enabled is not None: - pulumi.set(__self__, "is_incident_logs_enabled", is_incident_logs_enabled) + _setter("is_incident_logs_enabled", is_incident_logs_enabled) @property @pulumi.getter(name="isDiagnosticsEventsEnabled") @@ -10469,7 +12589,16 @@ def __init__(__self__, *, """ :param str db_server_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of Exacc Db server. """ - pulumi.set(__self__, "db_server_id", db_server_id) + VmClusterRemoveVirtualMachineDbServer._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_server_id=db_server_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_server_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("db_server_id", db_server_id) @property @pulumi.getter(name="dbServerId") @@ -10508,18 +12637,49 @@ def __init__(__self__, *, :param str subnet_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet associated with the application virtual IP (VIP) address. :param str time_assigned: The date and time when the create operation for the application virtual IP (VIP) address completed. """ - pulumi.set(__self__, "cloud_vm_cluster_id", cloud_vm_cluster_id) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "db_node_id", db_node_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "hostname_label", hostname_label) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "ip_address", ip_address) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "time_assigned", time_assigned) + GetApplicationVipsApplicationVipResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cloud_vm_cluster_id=cloud_vm_cluster_id, + compartment_id=compartment_id, + db_node_id=db_node_id, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + hostname_label=hostname_label, + id=id, + ip_address=ip_address, + lifecycle_details=lifecycle_details, + state=state, + subnet_id=subnet_id, + time_assigned=time_assigned, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cloud_vm_cluster_id: str, + compartment_id: str, + db_node_id: str, + defined_tags: Mapping[str, Any], + freeform_tags: Mapping[str, Any], + hostname_label: str, + id: str, + ip_address: str, + lifecycle_details: str, + state: str, + subnet_id: str, + time_assigned: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cloud_vm_cluster_id", cloud_vm_cluster_id) + _setter("compartment_id", compartment_id) + _setter("db_node_id", db_node_id) + _setter("defined_tags", defined_tags) + _setter("freeform_tags", freeform_tags) + _setter("hostname_label", hostname_label) + _setter("id", id) + _setter("ip_address", ip_address) + _setter("lifecycle_details", lifecycle_details) + _setter("state", state) + _setter("subnet_id", subnet_id) + _setter("time_assigned", time_assigned) @property @pulumi.getter(name="cloudVmClusterId") @@ -10621,10 +12781,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetApplicationVipsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -10649,7 +12822,16 @@ def __init__(__self__, *, """ :param str name: A valid Oracle character set. """ - pulumi.set(__self__, "name", name) + GetAutonomousCharacterSetsAutonomousDatabaseCharacterSetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -10669,10 +12851,23 @@ def __init__(__self__, *, """ :param str name: A valid Oracle character set. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAutonomousCharacterSetsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -10702,8 +12897,19 @@ def __init__(__self__, *, :param Sequence['GetAutonomousContainerDatabaseBackupConfigBackupDestinationDetailArgs'] backup_destination_details: Backup destination details. :param int recovery_window_in_days: Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups. """ - pulumi.set(__self__, "backup_destination_details", backup_destination_details) - pulumi.set(__self__, "recovery_window_in_days", recovery_window_in_days) + GetAutonomousContainerDatabaseBackupConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + backup_destination_details=backup_destination_details, + recovery_window_in_days=recovery_window_in_days, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backup_destination_details: Sequence['outputs.GetAutonomousContainerDatabaseBackupConfigBackupDestinationDetailResult'], + recovery_window_in_days: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("backup_destination_details", backup_destination_details) + _setter("recovery_window_in_days", recovery_window_in_days) @property @pulumi.getter(name="backupDestinationDetails") @@ -10737,11 +12943,28 @@ def __init__(__self__, *, :param str vpc_password: For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance. :param str vpc_user: For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance. """ - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "internet_proxy", internet_proxy) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "vpc_password", vpc_password) - pulumi.set(__self__, "vpc_user", vpc_user) + GetAutonomousContainerDatabaseBackupConfigBackupDestinationDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + internet_proxy=internet_proxy, + type=type, + vpc_password=vpc_password, + vpc_user=vpc_user, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: str, + internet_proxy: str, + type: str, + vpc_password: str, + vpc_user: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) + _setter("internet_proxy", internet_proxy) + _setter("type", type) + _setter("vpc_password", vpc_password) + _setter("vpc_user", vpc_user) @property @pulumi.getter @@ -10826,25 +13049,70 @@ def __init__(__self__, *, :param str time_last_synced: The date and time of the last update to the apply lag, apply rate, and transport lag values. :param str transport_lag: The approximate number of seconds of redo data not yet available on the standby Autonomous Container Database, as computed by the reporting database. Example: `7 seconds` """ - pulumi.set(__self__, "apply_lag", apply_lag) - pulumi.set(__self__, "apply_rate", apply_rate) - pulumi.set(__self__, "autonomous_container_database_dataguard_association_id", autonomous_container_database_dataguard_association_id) - pulumi.set(__self__, "autonomous_container_database_id", autonomous_container_database_id) - pulumi.set(__self__, "fast_start_fail_over_lag_limit_in_seconds", fast_start_fail_over_lag_limit_in_seconds) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_automatic_failover_enabled", is_automatic_failover_enabled) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "peer_autonomous_container_database_dataguard_association_id", peer_autonomous_container_database_dataguard_association_id) - pulumi.set(__self__, "peer_autonomous_container_database_id", peer_autonomous_container_database_id) - pulumi.set(__self__, "peer_lifecycle_state", peer_lifecycle_state) - pulumi.set(__self__, "peer_role", peer_role) - pulumi.set(__self__, "protection_mode", protection_mode) - pulumi.set(__self__, "role", role) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_last_role_changed", time_last_role_changed) - pulumi.set(__self__, "time_last_synced", time_last_synced) - pulumi.set(__self__, "transport_lag", transport_lag) + GetAutonomousContainerDatabaseDataguardAssociationsAutonomousContainerDatabaseDataguardAssociationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + apply_lag=apply_lag, + apply_rate=apply_rate, + autonomous_container_database_dataguard_association_id=autonomous_container_database_dataguard_association_id, + autonomous_container_database_id=autonomous_container_database_id, + fast_start_fail_over_lag_limit_in_seconds=fast_start_fail_over_lag_limit_in_seconds, + id=id, + is_automatic_failover_enabled=is_automatic_failover_enabled, + lifecycle_details=lifecycle_details, + peer_autonomous_container_database_dataguard_association_id=peer_autonomous_container_database_dataguard_association_id, + peer_autonomous_container_database_id=peer_autonomous_container_database_id, + peer_lifecycle_state=peer_lifecycle_state, + peer_role=peer_role, + protection_mode=protection_mode, + role=role, + state=state, + time_created=time_created, + time_last_role_changed=time_last_role_changed, + time_last_synced=time_last_synced, + transport_lag=transport_lag, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + apply_lag: str, + apply_rate: str, + autonomous_container_database_dataguard_association_id: str, + autonomous_container_database_id: str, + fast_start_fail_over_lag_limit_in_seconds: int, + id: str, + is_automatic_failover_enabled: bool, + lifecycle_details: str, + peer_autonomous_container_database_dataguard_association_id: str, + peer_autonomous_container_database_id: str, + peer_lifecycle_state: str, + peer_role: str, + protection_mode: str, + role: str, + state: str, + time_created: str, + time_last_role_changed: str, + time_last_synced: str, + transport_lag: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("apply_lag", apply_lag) + _setter("apply_rate", apply_rate) + _setter("autonomous_container_database_dataguard_association_id", autonomous_container_database_dataguard_association_id) + _setter("autonomous_container_database_id", autonomous_container_database_id) + _setter("fast_start_fail_over_lag_limit_in_seconds", fast_start_fail_over_lag_limit_in_seconds) + _setter("id", id) + _setter("is_automatic_failover_enabled", is_automatic_failover_enabled) + _setter("lifecycle_details", lifecycle_details) + _setter("peer_autonomous_container_database_dataguard_association_id", peer_autonomous_container_database_dataguard_association_id) + _setter("peer_autonomous_container_database_id", peer_autonomous_container_database_id) + _setter("peer_lifecycle_state", peer_lifecycle_state) + _setter("peer_role", peer_role) + _setter("protection_mode", protection_mode) + _setter("role", role) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_last_role_changed", time_last_role_changed) + _setter("time_last_synced", time_last_synced) + _setter("transport_lag", transport_lag) @property @pulumi.getter(name="applyLag") @@ -11002,10 +13270,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAutonomousContainerDatabaseDataguardAssociationsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -11036,10 +13317,25 @@ def __init__(__self__, *, :param str time_activated: The date and time the kms key activated. :param str vault_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure [vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). """ - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "kms_key_version_id", kms_key_version_id) - pulumi.set(__self__, "time_activated", time_activated) - pulumi.set(__self__, "vault_id", vault_id) + GetAutonomousContainerDatabaseKeyHistoryEntryResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + kms_key_version_id=kms_key_version_id, + time_activated=time_activated, + vault_id=vault_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: str, + kms_key_version_id: str, + time_activated: str, + vault_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) + _setter("kms_key_version_id", kms_key_version_id) + _setter("time_activated", time_activated) + _setter("vault_id", vault_id) @property @pulumi.getter @@ -11100,16 +13396,43 @@ def __init__(__self__, *, :param str preference: The maintenance window scheduling preference. :param Sequence[int] weeks_of_months: Weeks during the month when maintenance should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week. For example, to allow maintenance during the 2nd week of the month (from the 8th day to the 14th day of the month), use the value 2. Maintenance cannot be scheduled for the fifth week of months that contain more than 28 days. Note that this parameter works in conjunction with the daysOfWeek and hoursOfDay parameters to allow you to specify specific days of the week and hours that maintenance will be performed. """ - pulumi.set(__self__, "custom_action_timeout_in_mins", custom_action_timeout_in_mins) - pulumi.set(__self__, "days_of_weeks", days_of_weeks) - pulumi.set(__self__, "hours_of_days", hours_of_days) - pulumi.set(__self__, "is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) - pulumi.set(__self__, "is_monthly_patching_enabled", is_monthly_patching_enabled) - pulumi.set(__self__, "lead_time_in_weeks", lead_time_in_weeks) - pulumi.set(__self__, "months", months) - pulumi.set(__self__, "patching_mode", patching_mode) - pulumi.set(__self__, "preference", preference) - pulumi.set(__self__, "weeks_of_months", weeks_of_months) + GetAutonomousContainerDatabaseMaintenanceWindowResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_action_timeout_in_mins=custom_action_timeout_in_mins, + days_of_weeks=days_of_weeks, + hours_of_days=hours_of_days, + is_custom_action_timeout_enabled=is_custom_action_timeout_enabled, + is_monthly_patching_enabled=is_monthly_patching_enabled, + lead_time_in_weeks=lead_time_in_weeks, + months=months, + patching_mode=patching_mode, + preference=preference, + weeks_of_months=weeks_of_months, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_action_timeout_in_mins: int, + days_of_weeks: Sequence['outputs.GetAutonomousContainerDatabaseMaintenanceWindowDaysOfWeekResult'], + hours_of_days: Sequence[int], + is_custom_action_timeout_enabled: bool, + is_monthly_patching_enabled: bool, + lead_time_in_weeks: int, + months: Sequence['outputs.GetAutonomousContainerDatabaseMaintenanceWindowMonthResult'], + patching_mode: str, + preference: str, + weeks_of_months: Sequence[int], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("custom_action_timeout_in_mins", custom_action_timeout_in_mins) + _setter("days_of_weeks", days_of_weeks) + _setter("hours_of_days", hours_of_days) + _setter("is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) + _setter("is_monthly_patching_enabled", is_monthly_patching_enabled) + _setter("lead_time_in_weeks", lead_time_in_weeks) + _setter("months", months) + _setter("patching_mode", patching_mode) + _setter("preference", preference) + _setter("weeks_of_months", weeks_of_months) @property @pulumi.getter(name="customActionTimeoutInMins") @@ -11200,7 +13523,16 @@ def __init__(__self__, *, """ :param str name: Name of the month of the year. """ - pulumi.set(__self__, "name", name) + GetAutonomousContainerDatabaseMaintenanceWindowDaysOfWeekResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -11237,16 +13569,43 @@ def __init__(__self__, *, :param str preference: The maintenance window scheduling preference. :param Sequence[int] weeks_of_months: Weeks during the month when maintenance should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week. For example, to allow maintenance during the 2nd week of the month (from the 8th day to the 14th day of the month), use the value 2. Maintenance cannot be scheduled for the fifth week of months that contain more than 28 days. Note that this parameter works in conjunction with the daysOfWeek and hoursOfDay parameters to allow you to specify specific days of the week and hours that maintenance will be performed. """ - pulumi.set(__self__, "custom_action_timeout_in_mins", custom_action_timeout_in_mins) - pulumi.set(__self__, "days_of_weeks", days_of_weeks) - pulumi.set(__self__, "hours_of_days", hours_of_days) - pulumi.set(__self__, "is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) - pulumi.set(__self__, "is_monthly_patching_enabled", is_monthly_patching_enabled) - pulumi.set(__self__, "lead_time_in_weeks", lead_time_in_weeks) - pulumi.set(__self__, "months", months) - pulumi.set(__self__, "patching_mode", patching_mode) - pulumi.set(__self__, "preference", preference) - pulumi.set(__self__, "weeks_of_months", weeks_of_months) + GetAutonomousContainerDatabaseMaintenanceWindowDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_action_timeout_in_mins=custom_action_timeout_in_mins, + days_of_weeks=days_of_weeks, + hours_of_days=hours_of_days, + is_custom_action_timeout_enabled=is_custom_action_timeout_enabled, + is_monthly_patching_enabled=is_monthly_patching_enabled, + lead_time_in_weeks=lead_time_in_weeks, + months=months, + patching_mode=patching_mode, + preference=preference, + weeks_of_months=weeks_of_months, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_action_timeout_in_mins: int, + days_of_weeks: Sequence['outputs.GetAutonomousContainerDatabaseMaintenanceWindowDetailDaysOfWeekResult'], + hours_of_days: Sequence[int], + is_custom_action_timeout_enabled: bool, + is_monthly_patching_enabled: bool, + lead_time_in_weeks: int, + months: Sequence['outputs.GetAutonomousContainerDatabaseMaintenanceWindowDetailMonthResult'], + patching_mode: str, + preference: str, + weeks_of_months: Sequence[int], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("custom_action_timeout_in_mins", custom_action_timeout_in_mins) + _setter("days_of_weeks", days_of_weeks) + _setter("hours_of_days", hours_of_days) + _setter("is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) + _setter("is_monthly_patching_enabled", is_monthly_patching_enabled) + _setter("lead_time_in_weeks", lead_time_in_weeks) + _setter("months", months) + _setter("patching_mode", patching_mode) + _setter("preference", preference) + _setter("weeks_of_months", weeks_of_months) @property @pulumi.getter(name="customActionTimeoutInMins") @@ -11337,7 +13696,16 @@ def __init__(__self__, *, """ :param str name: Name of the month of the year. """ - pulumi.set(__self__, "name", name) + GetAutonomousContainerDatabaseMaintenanceWindowDetailDaysOfWeekResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -11355,7 +13723,16 @@ def __init__(__self__, *, """ :param str name: Name of the month of the year. """ - pulumi.set(__self__, "name", name) + GetAutonomousContainerDatabaseMaintenanceWindowDetailMonthResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -11373,7 +13750,16 @@ def __init__(__self__, *, """ :param str name: Name of the month of the year. """ - pulumi.set(__self__, "name", name) + GetAutonomousContainerDatabaseMaintenanceWindowMonthResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -11393,8 +13779,19 @@ def __init__(__self__, *, :param Sequence['GetAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailArgs'] backup_destination_details: Backup destination details. :param int recovery_window_in_days: Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups. """ - pulumi.set(__self__, "backup_destination_details", backup_destination_details) - pulumi.set(__self__, "recovery_window_in_days", recovery_window_in_days) + GetAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + backup_destination_details=backup_destination_details, + recovery_window_in_days=recovery_window_in_days, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backup_destination_details: Sequence['outputs.GetAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailResult'], + recovery_window_in_days: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("backup_destination_details", backup_destination_details) + _setter("recovery_window_in_days", recovery_window_in_days) @property @pulumi.getter(name="backupDestinationDetails") @@ -11428,11 +13825,28 @@ def __init__(__self__, *, :param str vpc_password: For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance. :param str vpc_user: For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance. """ - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "internet_proxy", internet_proxy) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "vpc_password", vpc_password) - pulumi.set(__self__, "vpc_user", vpc_user) + GetAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + internet_proxy=internet_proxy, + type=type, + vpc_password=vpc_password, + vpc_user=vpc_user, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: str, + internet_proxy: str, + type: str, + vpc_password: str, + vpc_user: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) + _setter("internet_proxy", internet_proxy) + _setter("type", type) + _setter("vpc_password", vpc_password) + _setter("vpc_user", vpc_user) @property @pulumi.getter @@ -11492,12 +13906,31 @@ def __init__(__self__, *, :param float reserved_cpus: CPUs / cores reserved for scalability, resilliency and other overheads. This includes failover, autoscaling and idle instance overhead. :param float used_cpus: CPUs / cores assigned to the Autonomous Container Database. Sum of provisioned, reserved and reclaimable CPUs/ cores. """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "provisioned_cpus", provisioned_cpus) - pulumi.set(__self__, "reclaimable_cpus", reclaimable_cpus) - pulumi.set(__self__, "reserved_cpus", reserved_cpus) - pulumi.set(__self__, "used_cpus", used_cpus) + GetAutonomousContainerDatabaseResourceUsageAutonomousContainerDatabaseVmUsageResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + id=id, + provisioned_cpus=provisioned_cpus, + reclaimable_cpus=reclaimable_cpus, + reserved_cpus=reserved_cpus, + used_cpus=used_cpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + id: str, + provisioned_cpus: float, + reclaimable_cpus: float, + reserved_cpus: float, + used_cpus: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("id", id) + _setter("provisioned_cpus", provisioned_cpus) + _setter("reclaimable_cpus", reclaimable_cpus) + _setter("reserved_cpus", reserved_cpus) + _setter("used_cpus", used_cpus) @property @pulumi.getter(name="displayName") @@ -11559,9 +13992,22 @@ def __init__(__self__, *, :param Sequence['GetAutonomousContainerDatabaseVersionsAutonomousContainerDatabaseVersionSupportedAppArgs'] supported_apps: The list of applications supported for the given version. :param str version: A valid Oracle Database version for provisioning an Autonomous Container Database. """ - pulumi.set(__self__, "details", details) - pulumi.set(__self__, "supported_apps", supported_apps) - pulumi.set(__self__, "version", version) + GetAutonomousContainerDatabaseVersionsAutonomousContainerDatabaseVersionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + details=details, + supported_apps=supported_apps, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + details: str, + supported_apps: Sequence['outputs.GetAutonomousContainerDatabaseVersionsAutonomousContainerDatabaseVersionSupportedAppResult'], + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("details", details) + _setter("supported_apps", supported_apps) + _setter("version", version) @property @pulumi.getter @@ -11601,10 +14047,25 @@ def __init__(__self__, *, :param str release_date: The Autonomous Container Database version release date. :param str supported_app_name: The name of the supported application. """ - pulumi.set(__self__, "end_of_support", end_of_support) - pulumi.set(__self__, "is_certified", is_certified) - pulumi.set(__self__, "release_date", release_date) - pulumi.set(__self__, "supported_app_name", supported_app_name) + GetAutonomousContainerDatabaseVersionsAutonomousContainerDatabaseVersionSupportedAppResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + end_of_support=end_of_support, + is_certified=is_certified, + release_date=release_date, + supported_app_name=supported_app_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + end_of_support: str, + is_certified: bool, + release_date: str, + supported_app_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("end_of_support", end_of_support) + _setter("is_certified", is_certified) + _setter("release_date", release_date) + _setter("supported_app_name", supported_app_name) @property @pulumi.getter(name="endOfSupport") @@ -11645,10 +14106,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAutonomousContainerDatabaseVersionsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -11766,59 +14240,172 @@ def __init__(__self__, *, :param str vault_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure [vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). :param str version_preference: The next maintenance version preference. """ - pulumi.set(__self__, "autonomous_exadata_infrastructure_id", autonomous_exadata_infrastructure_id) - pulumi.set(__self__, "autonomous_vm_cluster_id", autonomous_vm_cluster_id) - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "available_cpus", available_cpus) - pulumi.set(__self__, "backup_configs", backup_configs) - pulumi.set(__self__, "cloud_autonomous_vm_cluster_id", cloud_autonomous_vm_cluster_id) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "compute_model", compute_model) - pulumi.set(__self__, "db_name", db_name) - pulumi.set(__self__, "db_unique_name", db_unique_name) - pulumi.set(__self__, "db_version", db_version) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "fast_start_fail_over_lag_limit_in_seconds", fast_start_fail_over_lag_limit_in_seconds) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "infrastructure_type", infrastructure_type) - pulumi.set(__self__, "is_automatic_failover_enabled", is_automatic_failover_enabled) - pulumi.set(__self__, "key_history_entries", key_history_entries) - pulumi.set(__self__, "key_store_id", key_store_id) - pulumi.set(__self__, "key_store_wallet_name", key_store_wallet_name) - pulumi.set(__self__, "kms_key_id", kms_key_id) - pulumi.set(__self__, "largest_provisionable_autonomous_database_in_cpus", largest_provisionable_autonomous_database_in_cpus) - pulumi.set(__self__, "last_maintenance_run_id", last_maintenance_run_id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "maintenance_window_details", maintenance_window_details) - pulumi.set(__self__, "maintenance_windows", maintenance_windows) - pulumi.set(__self__, "memory_per_oracle_compute_unit_in_gbs", memory_per_oracle_compute_unit_in_gbs) - pulumi.set(__self__, "next_maintenance_run_id", next_maintenance_run_id) - pulumi.set(__self__, "patch_id", patch_id) - pulumi.set(__self__, "patch_model", patch_model) - pulumi.set(__self__, "peer_autonomous_container_database_backup_configs", peer_autonomous_container_database_backup_configs) - pulumi.set(__self__, "peer_autonomous_container_database_compartment_id", peer_autonomous_container_database_compartment_id) - pulumi.set(__self__, "peer_autonomous_container_database_display_name", peer_autonomous_container_database_display_name) - pulumi.set(__self__, "peer_autonomous_exadata_infrastructure_id", peer_autonomous_exadata_infrastructure_id) - pulumi.set(__self__, "peer_autonomous_vm_cluster_id", peer_autonomous_vm_cluster_id) - pulumi.set(__self__, "peer_cloud_autonomous_vm_cluster_id", peer_cloud_autonomous_vm_cluster_id) - pulumi.set(__self__, "peer_db_unique_name", peer_db_unique_name) - pulumi.set(__self__, "protection_mode", protection_mode) - pulumi.set(__self__, "provisionable_cpuses", provisionable_cpuses) - pulumi.set(__self__, "provisioned_cpus", provisioned_cpus) - pulumi.set(__self__, "reclaimable_cpus", reclaimable_cpus) - pulumi.set(__self__, "reserved_cpus", reserved_cpus) - pulumi.set(__self__, "role", role) - pulumi.set(__self__, "rotate_key_trigger", rotate_key_trigger) - pulumi.set(__self__, "service_level_agreement_type", service_level_agreement_type) - pulumi.set(__self__, "standby_maintenance_buffer_in_days", standby_maintenance_buffer_in_days) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_snapshot_standby_revert", time_snapshot_standby_revert) - pulumi.set(__self__, "total_cpus", total_cpus) - pulumi.set(__self__, "vault_id", vault_id) - pulumi.set(__self__, "version_preference", version_preference) + GetAutonomousContainerDatabasesAutonomousContainerDatabaseResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + autonomous_exadata_infrastructure_id=autonomous_exadata_infrastructure_id, + autonomous_vm_cluster_id=autonomous_vm_cluster_id, + availability_domain=availability_domain, + available_cpus=available_cpus, + backup_configs=backup_configs, + cloud_autonomous_vm_cluster_id=cloud_autonomous_vm_cluster_id, + compartment_id=compartment_id, + compute_model=compute_model, + db_name=db_name, + db_unique_name=db_unique_name, + db_version=db_version, + defined_tags=defined_tags, + display_name=display_name, + fast_start_fail_over_lag_limit_in_seconds=fast_start_fail_over_lag_limit_in_seconds, + freeform_tags=freeform_tags, + id=id, + infrastructure_type=infrastructure_type, + is_automatic_failover_enabled=is_automatic_failover_enabled, + key_history_entries=key_history_entries, + key_store_id=key_store_id, + key_store_wallet_name=key_store_wallet_name, + kms_key_id=kms_key_id, + largest_provisionable_autonomous_database_in_cpus=largest_provisionable_autonomous_database_in_cpus, + last_maintenance_run_id=last_maintenance_run_id, + lifecycle_details=lifecycle_details, + maintenance_window_details=maintenance_window_details, + maintenance_windows=maintenance_windows, + memory_per_oracle_compute_unit_in_gbs=memory_per_oracle_compute_unit_in_gbs, + next_maintenance_run_id=next_maintenance_run_id, + patch_id=patch_id, + patch_model=patch_model, + peer_autonomous_container_database_backup_configs=peer_autonomous_container_database_backup_configs, + peer_autonomous_container_database_compartment_id=peer_autonomous_container_database_compartment_id, + peer_autonomous_container_database_display_name=peer_autonomous_container_database_display_name, + peer_autonomous_exadata_infrastructure_id=peer_autonomous_exadata_infrastructure_id, + peer_autonomous_vm_cluster_id=peer_autonomous_vm_cluster_id, + peer_cloud_autonomous_vm_cluster_id=peer_cloud_autonomous_vm_cluster_id, + peer_db_unique_name=peer_db_unique_name, + protection_mode=protection_mode, + provisionable_cpuses=provisionable_cpuses, + provisioned_cpus=provisioned_cpus, + reclaimable_cpus=reclaimable_cpus, + reserved_cpus=reserved_cpus, + role=role, + rotate_key_trigger=rotate_key_trigger, + service_level_agreement_type=service_level_agreement_type, + standby_maintenance_buffer_in_days=standby_maintenance_buffer_in_days, + state=state, + time_created=time_created, + time_snapshot_standby_revert=time_snapshot_standby_revert, + total_cpus=total_cpus, + vault_id=vault_id, + version_preference=version_preference, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + autonomous_exadata_infrastructure_id: str, + autonomous_vm_cluster_id: str, + availability_domain: str, + available_cpus: float, + backup_configs: Sequence['outputs.GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupConfigResult'], + cloud_autonomous_vm_cluster_id: str, + compartment_id: str, + compute_model: str, + db_name: str, + db_unique_name: str, + db_version: str, + defined_tags: Mapping[str, Any], + display_name: str, + fast_start_fail_over_lag_limit_in_seconds: int, + freeform_tags: Mapping[str, Any], + id: str, + infrastructure_type: str, + is_automatic_failover_enabled: bool, + key_history_entries: Sequence['outputs.GetAutonomousContainerDatabasesAutonomousContainerDatabaseKeyHistoryEntryResult'], + key_store_id: str, + key_store_wallet_name: str, + kms_key_id: str, + largest_provisionable_autonomous_database_in_cpus: float, + last_maintenance_run_id: str, + lifecycle_details: str, + maintenance_window_details: Sequence['outputs.GetAutonomousContainerDatabasesAutonomousContainerDatabaseMaintenanceWindowDetailResult'], + maintenance_windows: Sequence['outputs.GetAutonomousContainerDatabasesAutonomousContainerDatabaseMaintenanceWindowResult'], + memory_per_oracle_compute_unit_in_gbs: int, + next_maintenance_run_id: str, + patch_id: str, + patch_model: str, + peer_autonomous_container_database_backup_configs: Sequence['outputs.GetAutonomousContainerDatabasesAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigResult'], + peer_autonomous_container_database_compartment_id: str, + peer_autonomous_container_database_display_name: str, + peer_autonomous_exadata_infrastructure_id: str, + peer_autonomous_vm_cluster_id: str, + peer_cloud_autonomous_vm_cluster_id: str, + peer_db_unique_name: str, + protection_mode: str, + provisionable_cpuses: Sequence[float], + provisioned_cpus: float, + reclaimable_cpus: float, + reserved_cpus: float, + role: str, + rotate_key_trigger: bool, + service_level_agreement_type: str, + standby_maintenance_buffer_in_days: int, + state: str, + time_created: str, + time_snapshot_standby_revert: str, + total_cpus: int, + vault_id: str, + version_preference: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("autonomous_exadata_infrastructure_id", autonomous_exadata_infrastructure_id) + _setter("autonomous_vm_cluster_id", autonomous_vm_cluster_id) + _setter("availability_domain", availability_domain) + _setter("available_cpus", available_cpus) + _setter("backup_configs", backup_configs) + _setter("cloud_autonomous_vm_cluster_id", cloud_autonomous_vm_cluster_id) + _setter("compartment_id", compartment_id) + _setter("compute_model", compute_model) + _setter("db_name", db_name) + _setter("db_unique_name", db_unique_name) + _setter("db_version", db_version) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("fast_start_fail_over_lag_limit_in_seconds", fast_start_fail_over_lag_limit_in_seconds) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("infrastructure_type", infrastructure_type) + _setter("is_automatic_failover_enabled", is_automatic_failover_enabled) + _setter("key_history_entries", key_history_entries) + _setter("key_store_id", key_store_id) + _setter("key_store_wallet_name", key_store_wallet_name) + _setter("kms_key_id", kms_key_id) + _setter("largest_provisionable_autonomous_database_in_cpus", largest_provisionable_autonomous_database_in_cpus) + _setter("last_maintenance_run_id", last_maintenance_run_id) + _setter("lifecycle_details", lifecycle_details) + _setter("maintenance_window_details", maintenance_window_details) + _setter("maintenance_windows", maintenance_windows) + _setter("memory_per_oracle_compute_unit_in_gbs", memory_per_oracle_compute_unit_in_gbs) + _setter("next_maintenance_run_id", next_maintenance_run_id) + _setter("patch_id", patch_id) + _setter("patch_model", patch_model) + _setter("peer_autonomous_container_database_backup_configs", peer_autonomous_container_database_backup_configs) + _setter("peer_autonomous_container_database_compartment_id", peer_autonomous_container_database_compartment_id) + _setter("peer_autonomous_container_database_display_name", peer_autonomous_container_database_display_name) + _setter("peer_autonomous_exadata_infrastructure_id", peer_autonomous_exadata_infrastructure_id) + _setter("peer_autonomous_vm_cluster_id", peer_autonomous_vm_cluster_id) + _setter("peer_cloud_autonomous_vm_cluster_id", peer_cloud_autonomous_vm_cluster_id) + _setter("peer_db_unique_name", peer_db_unique_name) + _setter("protection_mode", protection_mode) + _setter("provisionable_cpuses", provisionable_cpuses) + _setter("provisioned_cpus", provisioned_cpus) + _setter("reclaimable_cpus", reclaimable_cpus) + _setter("reserved_cpus", reserved_cpus) + _setter("role", role) + _setter("rotate_key_trigger", rotate_key_trigger) + _setter("service_level_agreement_type", service_level_agreement_type) + _setter("standby_maintenance_buffer_in_days", standby_maintenance_buffer_in_days) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_snapshot_standby_revert", time_snapshot_standby_revert) + _setter("total_cpus", total_cpus) + _setter("vault_id", vault_id) + _setter("version_preference", version_preference) @property @pulumi.getter(name="autonomousExadataInfrastructureId") @@ -12217,8 +14804,19 @@ def __init__(__self__, *, :param Sequence['GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupConfigBackupDestinationDetailArgs'] backup_destination_details: Backup destination details. :param int recovery_window_in_days: Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups. """ - pulumi.set(__self__, "backup_destination_details", backup_destination_details) - pulumi.set(__self__, "recovery_window_in_days", recovery_window_in_days) + GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + backup_destination_details=backup_destination_details, + recovery_window_in_days=recovery_window_in_days, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backup_destination_details: Sequence['outputs.GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupConfigBackupDestinationDetailResult'], + recovery_window_in_days: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("backup_destination_details", backup_destination_details) + _setter("recovery_window_in_days", recovery_window_in_days) @property @pulumi.getter(name="backupDestinationDetails") @@ -12252,11 +14850,28 @@ def __init__(__self__, *, :param str vpc_password: For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance. :param str vpc_user: For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance. """ - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "internet_proxy", internet_proxy) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "vpc_password", vpc_password) - pulumi.set(__self__, "vpc_user", vpc_user) + GetAutonomousContainerDatabasesAutonomousContainerDatabaseBackupConfigBackupDestinationDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + internet_proxy=internet_proxy, + type=type, + vpc_password=vpc_password, + vpc_user=vpc_user, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: str, + internet_proxy: str, + type: str, + vpc_password: str, + vpc_user: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) + _setter("internet_proxy", internet_proxy) + _setter("type", type) + _setter("vpc_password", vpc_password) + _setter("vpc_user", vpc_user) @property @pulumi.getter @@ -12312,10 +14927,25 @@ def __init__(__self__, *, :param str time_activated: The date and time the kms key activated. :param str vault_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure [vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). """ - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "kms_key_version_id", kms_key_version_id) - pulumi.set(__self__, "time_activated", time_activated) - pulumi.set(__self__, "vault_id", vault_id) + GetAutonomousContainerDatabasesAutonomousContainerDatabaseKeyHistoryEntryResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + kms_key_version_id=kms_key_version_id, + time_activated=time_activated, + vault_id=vault_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: str, + kms_key_version_id: str, + time_activated: str, + vault_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) + _setter("kms_key_version_id", kms_key_version_id) + _setter("time_activated", time_activated) + _setter("vault_id", vault_id) @property @pulumi.getter @@ -12376,16 +15006,43 @@ def __init__(__self__, *, :param str preference: The maintenance window scheduling preference. :param Sequence[int] weeks_of_months: Weeks during the month when maintenance should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week. For example, to allow maintenance during the 2nd week of the month (from the 8th day to the 14th day of the month), use the value 2. Maintenance cannot be scheduled for the fifth week of months that contain more than 28 days. Note that this parameter works in conjunction with the daysOfWeek and hoursOfDay parameters to allow you to specify specific days of the week and hours that maintenance will be performed. """ - pulumi.set(__self__, "custom_action_timeout_in_mins", custom_action_timeout_in_mins) - pulumi.set(__self__, "days_of_weeks", days_of_weeks) - pulumi.set(__self__, "hours_of_days", hours_of_days) - pulumi.set(__self__, "is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) - pulumi.set(__self__, "is_monthly_patching_enabled", is_monthly_patching_enabled) - pulumi.set(__self__, "lead_time_in_weeks", lead_time_in_weeks) - pulumi.set(__self__, "months", months) - pulumi.set(__self__, "patching_mode", patching_mode) - pulumi.set(__self__, "preference", preference) - pulumi.set(__self__, "weeks_of_months", weeks_of_months) + GetAutonomousContainerDatabasesAutonomousContainerDatabaseMaintenanceWindowResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_action_timeout_in_mins=custom_action_timeout_in_mins, + days_of_weeks=days_of_weeks, + hours_of_days=hours_of_days, + is_custom_action_timeout_enabled=is_custom_action_timeout_enabled, + is_monthly_patching_enabled=is_monthly_patching_enabled, + lead_time_in_weeks=lead_time_in_weeks, + months=months, + patching_mode=patching_mode, + preference=preference, + weeks_of_months=weeks_of_months, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_action_timeout_in_mins: int, + days_of_weeks: Sequence['outputs.GetAutonomousContainerDatabasesAutonomousContainerDatabaseMaintenanceWindowDaysOfWeekResult'], + hours_of_days: Sequence[int], + is_custom_action_timeout_enabled: bool, + is_monthly_patching_enabled: bool, + lead_time_in_weeks: int, + months: Sequence['outputs.GetAutonomousContainerDatabasesAutonomousContainerDatabaseMaintenanceWindowMonthResult'], + patching_mode: str, + preference: str, + weeks_of_months: Sequence[int], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("custom_action_timeout_in_mins", custom_action_timeout_in_mins) + _setter("days_of_weeks", days_of_weeks) + _setter("hours_of_days", hours_of_days) + _setter("is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) + _setter("is_monthly_patching_enabled", is_monthly_patching_enabled) + _setter("lead_time_in_weeks", lead_time_in_weeks) + _setter("months", months) + _setter("patching_mode", patching_mode) + _setter("preference", preference) + _setter("weeks_of_months", weeks_of_months) @property @pulumi.getter(name="customActionTimeoutInMins") @@ -12476,7 +15133,16 @@ def __init__(__self__, *, """ :param str name: Name of the month of the year. """ - pulumi.set(__self__, "name", name) + GetAutonomousContainerDatabasesAutonomousContainerDatabaseMaintenanceWindowDaysOfWeekResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -12513,16 +15179,43 @@ def __init__(__self__, *, :param str preference: The maintenance window scheduling preference. :param Sequence[int] weeks_of_months: Weeks during the month when maintenance should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week. For example, to allow maintenance during the 2nd week of the month (from the 8th day to the 14th day of the month), use the value 2. Maintenance cannot be scheduled for the fifth week of months that contain more than 28 days. Note that this parameter works in conjunction with the daysOfWeek and hoursOfDay parameters to allow you to specify specific days of the week and hours that maintenance will be performed. """ - pulumi.set(__self__, "custom_action_timeout_in_mins", custom_action_timeout_in_mins) - pulumi.set(__self__, "days_of_weeks", days_of_weeks) - pulumi.set(__self__, "hours_of_days", hours_of_days) - pulumi.set(__self__, "is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) - pulumi.set(__self__, "is_monthly_patching_enabled", is_monthly_patching_enabled) - pulumi.set(__self__, "lead_time_in_weeks", lead_time_in_weeks) - pulumi.set(__self__, "months", months) - pulumi.set(__self__, "patching_mode", patching_mode) - pulumi.set(__self__, "preference", preference) - pulumi.set(__self__, "weeks_of_months", weeks_of_months) + GetAutonomousContainerDatabasesAutonomousContainerDatabaseMaintenanceWindowDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_action_timeout_in_mins=custom_action_timeout_in_mins, + days_of_weeks=days_of_weeks, + hours_of_days=hours_of_days, + is_custom_action_timeout_enabled=is_custom_action_timeout_enabled, + is_monthly_patching_enabled=is_monthly_patching_enabled, + lead_time_in_weeks=lead_time_in_weeks, + months=months, + patching_mode=patching_mode, + preference=preference, + weeks_of_months=weeks_of_months, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_action_timeout_in_mins: int, + days_of_weeks: Sequence['outputs.GetAutonomousContainerDatabasesAutonomousContainerDatabaseMaintenanceWindowDetailDaysOfWeekResult'], + hours_of_days: Sequence[int], + is_custom_action_timeout_enabled: bool, + is_monthly_patching_enabled: bool, + lead_time_in_weeks: int, + months: Sequence['outputs.GetAutonomousContainerDatabasesAutonomousContainerDatabaseMaintenanceWindowDetailMonthResult'], + patching_mode: str, + preference: str, + weeks_of_months: Sequence[int], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("custom_action_timeout_in_mins", custom_action_timeout_in_mins) + _setter("days_of_weeks", days_of_weeks) + _setter("hours_of_days", hours_of_days) + _setter("is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) + _setter("is_monthly_patching_enabled", is_monthly_patching_enabled) + _setter("lead_time_in_weeks", lead_time_in_weeks) + _setter("months", months) + _setter("patching_mode", patching_mode) + _setter("preference", preference) + _setter("weeks_of_months", weeks_of_months) @property @pulumi.getter(name="customActionTimeoutInMins") @@ -12613,7 +15306,16 @@ def __init__(__self__, *, """ :param str name: Name of the month of the year. """ - pulumi.set(__self__, "name", name) + GetAutonomousContainerDatabasesAutonomousContainerDatabaseMaintenanceWindowDetailDaysOfWeekResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -12631,7 +15333,16 @@ def __init__(__self__, *, """ :param str name: Name of the month of the year. """ - pulumi.set(__self__, "name", name) + GetAutonomousContainerDatabasesAutonomousContainerDatabaseMaintenanceWindowDetailMonthResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -12649,7 +15360,16 @@ def __init__(__self__, *, """ :param str name: Name of the month of the year. """ - pulumi.set(__self__, "name", name) + GetAutonomousContainerDatabasesAutonomousContainerDatabaseMaintenanceWindowMonthResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -12669,8 +15389,19 @@ def __init__(__self__, *, :param Sequence['GetAutonomousContainerDatabasesAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailArgs'] backup_destination_details: Backup destination details. :param int recovery_window_in_days: Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups. """ - pulumi.set(__self__, "backup_destination_details", backup_destination_details) - pulumi.set(__self__, "recovery_window_in_days", recovery_window_in_days) + GetAutonomousContainerDatabasesAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + backup_destination_details=backup_destination_details, + recovery_window_in_days=recovery_window_in_days, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backup_destination_details: Sequence['outputs.GetAutonomousContainerDatabasesAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailResult'], + recovery_window_in_days: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("backup_destination_details", backup_destination_details) + _setter("recovery_window_in_days", recovery_window_in_days) @property @pulumi.getter(name="backupDestinationDetails") @@ -12704,11 +15435,28 @@ def __init__(__self__, *, :param str vpc_password: For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance. :param str vpc_user: For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance. """ - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "internet_proxy", internet_proxy) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "vpc_password", vpc_password) - pulumi.set(__self__, "vpc_user", vpc_user) + GetAutonomousContainerDatabasesAutonomousContainerDatabasePeerAutonomousContainerDatabaseBackupConfigBackupDestinationDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + internet_proxy=internet_proxy, + type=type, + vpc_password=vpc_password, + vpc_user=vpc_user, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: str, + internet_proxy: str, + type: str, + vpc_password: str, + vpc_user: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) + _setter("internet_proxy", internet_proxy) + _setter("type", type) + _setter("vpc_password", vpc_password) + _setter("vpc_user", vpc_user) @property @pulumi.getter @@ -12760,10 +15508,23 @@ def __init__(__self__, *, """ :param str name: Name of the month of the year. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAutonomousContainerDatabasesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -12809,16 +15570,43 @@ def __init__(__self__, *, :param str version: The version of this patch package. :param str year: Year in which the patch was released. """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "patch_model", patch_model) - pulumi.set(__self__, "quarter", quarter) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_released", time_released) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "version", version) - pulumi.set(__self__, "year", year) + GetAutonomousContainerPatchesAutonomousPatchResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + id=id, + lifecycle_details=lifecycle_details, + patch_model=patch_model, + quarter=quarter, + state=state, + time_released=time_released, + type=type, + version=version, + year=year, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + id: str, + lifecycle_details: str, + patch_model: str, + quarter: str, + state: str, + time_released: str, + type: str, + version: str, + year: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("patch_model", patch_model) + _setter("quarter", quarter) + _setter("state", state) + _setter("time_released", time_released) + _setter("type", type) + _setter("version", version) + _setter("year", year) @property @pulumi.getter @@ -12907,10 +15695,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAutonomousContainerPatchesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -12937,8 +15738,19 @@ def __init__(__self__, *, :param str apex_version: The Oracle APEX Application Development version. :param str ords_version: The Oracle REST Data Services (ORDS) version. """ - pulumi.set(__self__, "apex_version", apex_version) - pulumi.set(__self__, "ords_version", ords_version) + GetAutonomousDatabaseApexDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + apex_version=apex_version, + ords_version=ords_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + apex_version: str, + ords_version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("apex_version", apex_version) + _setter("ords_version", ords_version) @property @pulumi.getter(name="apexVersion") @@ -12972,11 +15784,28 @@ def __init__(__self__, *, :param str vpc_password: For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance. :param str vpc_user: For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance. """ - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "internet_proxy", internet_proxy) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "vpc_password", vpc_password) - pulumi.set(__self__, "vpc_user", vpc_user) + GetAutonomousDatabaseBackupBackupDestinationDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + internet_proxy=internet_proxy, + type=type, + vpc_password=vpc_password, + vpc_user=vpc_user, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: str, + internet_proxy: str, + type: str, + vpc_password: str, + vpc_user: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) + _setter("internet_proxy", internet_proxy) + _setter("type", type) + _setter("vpc_password", vpc_password) + _setter("vpc_user", vpc_user) @property @pulumi.getter @@ -13028,8 +15857,19 @@ def __init__(__self__, *, :param str manual_backup_bucket_name: Name of [Object Storage](https://docs.cloud.oracle.com/iaas/Content/Object/Concepts/objectstorageoverview.htm) bucket to use for storing manual backups. :param str manual_backup_type: The manual backup destination type. """ - pulumi.set(__self__, "manual_backup_bucket_name", manual_backup_bucket_name) - pulumi.set(__self__, "manual_backup_type", manual_backup_type) + GetAutonomousDatabaseBackupConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + manual_backup_bucket_name=manual_backup_bucket_name, + manual_backup_type=manual_backup_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + manual_backup_bucket_name: str, + manual_backup_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("manual_backup_bucket_name", manual_backup_bucket_name) + _setter("manual_backup_type", manual_backup_type) @property @pulumi.getter(name="manualBackupBucketName") @@ -13098,29 +15938,82 @@ def __init__(__self__, *, :param str type: A filter to return only backups that matches with the given type of Backup. :param str vault_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure [vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). """ - pulumi.set(__self__, "autonomous_database_id", autonomous_database_id) - pulumi.set(__self__, "backup_destination_details", backup_destination_details) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "database_size_in_tbs", database_size_in_tbs) - pulumi.set(__self__, "db_version", db_version) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_automatic", is_automatic) - pulumi.set(__self__, "is_long_term_backup", is_long_term_backup) - pulumi.set(__self__, "is_restorable", is_restorable) - pulumi.set(__self__, "key_store_id", key_store_id) - pulumi.set(__self__, "key_store_wallet_name", key_store_wallet_name) - pulumi.set(__self__, "kms_key_id", kms_key_id) - pulumi.set(__self__, "kms_key_version_id", kms_key_version_id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "retention_period_in_days", retention_period_in_days) - pulumi.set(__self__, "size_in_tbs", size_in_tbs) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_available_till", time_available_till) - pulumi.set(__self__, "time_ended", time_ended) - pulumi.set(__self__, "time_started", time_started) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "vault_id", vault_id) + GetAutonomousDatabaseBackupsAutonomousDatabaseBackupResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + autonomous_database_id=autonomous_database_id, + backup_destination_details=backup_destination_details, + compartment_id=compartment_id, + database_size_in_tbs=database_size_in_tbs, + db_version=db_version, + display_name=display_name, + id=id, + is_automatic=is_automatic, + is_long_term_backup=is_long_term_backup, + is_restorable=is_restorable, + key_store_id=key_store_id, + key_store_wallet_name=key_store_wallet_name, + kms_key_id=kms_key_id, + kms_key_version_id=kms_key_version_id, + lifecycle_details=lifecycle_details, + retention_period_in_days=retention_period_in_days, + size_in_tbs=size_in_tbs, + state=state, + time_available_till=time_available_till, + time_ended=time_ended, + time_started=time_started, + type=type, + vault_id=vault_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + autonomous_database_id: str, + backup_destination_details: Sequence['outputs.GetAutonomousDatabaseBackupsAutonomousDatabaseBackupBackupDestinationDetailResult'], + compartment_id: str, + database_size_in_tbs: float, + db_version: str, + display_name: str, + id: str, + is_automatic: bool, + is_long_term_backup: bool, + is_restorable: bool, + key_store_id: str, + key_store_wallet_name: str, + kms_key_id: str, + kms_key_version_id: str, + lifecycle_details: str, + retention_period_in_days: int, + size_in_tbs: float, + state: str, + time_available_till: str, + time_ended: str, + time_started: str, + type: str, + vault_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("autonomous_database_id", autonomous_database_id) + _setter("backup_destination_details", backup_destination_details) + _setter("compartment_id", compartment_id) + _setter("database_size_in_tbs", database_size_in_tbs) + _setter("db_version", db_version) + _setter("display_name", display_name) + _setter("id", id) + _setter("is_automatic", is_automatic) + _setter("is_long_term_backup", is_long_term_backup) + _setter("is_restorable", is_restorable) + _setter("key_store_id", key_store_id) + _setter("key_store_wallet_name", key_store_wallet_name) + _setter("kms_key_id", kms_key_id) + _setter("kms_key_version_id", kms_key_version_id) + _setter("lifecycle_details", lifecycle_details) + _setter("retention_period_in_days", retention_period_in_days) + _setter("size_in_tbs", size_in_tbs) + _setter("state", state) + _setter("time_available_till", time_available_till) + _setter("time_ended", time_ended) + _setter("time_started", time_started) + _setter("type", type) + _setter("vault_id", vault_id) @property @pulumi.getter(name="autonomousDatabaseId") @@ -13319,11 +16212,28 @@ def __init__(__self__, *, :param str vpc_password: For a RECOVERY_APPLIANCE backup destination, the password for the VPC user that is used to access the Recovery Appliance. :param str vpc_user: For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) user that is used to access the Recovery Appliance. """ - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "internet_proxy", internet_proxy) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "vpc_password", vpc_password) - pulumi.set(__self__, "vpc_user", vpc_user) + GetAutonomousDatabaseBackupsAutonomousDatabaseBackupBackupDestinationDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + internet_proxy=internet_proxy, + type=type, + vpc_password=vpc_password, + vpc_user=vpc_user, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: str, + internet_proxy: str, + type: str, + vpc_password: str, + vpc_user: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) + _setter("internet_proxy", internet_proxy) + _setter("type", type) + _setter("vpc_password", vpc_password) + _setter("vpc_user", vpc_user) @property @pulumi.getter @@ -13372,10 +16282,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAutonomousDatabaseBackupsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -13410,12 +16333,31 @@ def __init__(__self__, *, :param str medium: The Medium database service provides a lower level of resources to each SQL statement potentially resulting a lower level of performance, but supports more concurrent SQL statements. :param Sequence['GetAutonomousDatabaseConnectionStringProfileArgs'] profiles: A list of connection string profiles to allow clients to group, filter and select connection string values based on structured metadata. """ - pulumi.set(__self__, "all_connection_strings", all_connection_strings) - pulumi.set(__self__, "dedicated", dedicated) - pulumi.set(__self__, "high", high) - pulumi.set(__self__, "low", low) - pulumi.set(__self__, "medium", medium) - pulumi.set(__self__, "profiles", profiles) + GetAutonomousDatabaseConnectionStringResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + all_connection_strings=all_connection_strings, + dedicated=dedicated, + high=high, + low=low, + medium=medium, + profiles=profiles, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + all_connection_strings: Mapping[str, Any], + dedicated: str, + high: str, + low: str, + medium: str, + profiles: Sequence['outputs.GetAutonomousDatabaseConnectionStringProfileResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("all_connection_strings", all_connection_strings) + _setter("dedicated", dedicated) + _setter("high", high) + _setter("low", low) + _setter("medium", medium) + _setter("profiles", profiles) @property @pulumi.getter(name="allConnectionStrings") @@ -13487,14 +16429,37 @@ def __init__(__self__, *, :param str tls_authentication: Specifies whether the TLS handshake is using one-way (`SERVER`) or mutual (`MUTUAL`) authentication. :param str value: Connection string value. """ - pulumi.set(__self__, "consumer_group", consumer_group) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "host_format", host_format) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "session_mode", session_mode) - pulumi.set(__self__, "syntax_format", syntax_format) - pulumi.set(__self__, "tls_authentication", tls_authentication) - pulumi.set(__self__, "value", value) + GetAutonomousDatabaseConnectionStringProfileResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + consumer_group=consumer_group, + display_name=display_name, + host_format=host_format, + protocol=protocol, + session_mode=session_mode, + syntax_format=syntax_format, + tls_authentication=tls_authentication, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + consumer_group: str, + display_name: str, + host_format: str, + protocol: str, + session_mode: str, + syntax_format: str, + tls_authentication: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("consumer_group", consumer_group) + _setter("display_name", display_name) + _setter("host_format", host_format) + _setter("protocol", protocol) + _setter("session_mode", session_mode) + _setter("syntax_format", syntax_format) + _setter("tls_authentication", tls_authentication) + _setter("value", value) @property @pulumi.getter(name="consumerGroup") @@ -13574,10 +16539,25 @@ def __init__(__self__, *, :param str machine_learning_user_management_url: Oracle Machine Learning user management URL. :param str sql_dev_web_url: Oracle SQL Developer Web URL. """ - pulumi.set(__self__, "apex_url", apex_url) - pulumi.set(__self__, "graph_studio_url", graph_studio_url) - pulumi.set(__self__, "machine_learning_user_management_url", machine_learning_user_management_url) - pulumi.set(__self__, "sql_dev_web_url", sql_dev_web_url) + GetAutonomousDatabaseConnectionUrlResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + apex_url=apex_url, + graph_studio_url=graph_studio_url, + machine_learning_user_management_url=machine_learning_user_management_url, + sql_dev_web_url=sql_dev_web_url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + apex_url: str, + graph_studio_url: str, + machine_learning_user_management_url: str, + sql_dev_web_url: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("apex_url", apex_url) + _setter("graph_studio_url", graph_studio_url) + _setter("machine_learning_user_management_url", machine_learning_user_management_url) + _setter("sql_dev_web_url", sql_dev_web_url) @property @pulumi.getter(name="apexUrl") @@ -13619,7 +16599,16 @@ def __init__(__self__, *, """ :param str email: The email address used by Oracle to send notifications regarding databases and infrastructure. """ - pulumi.set(__self__, "email", email) + GetAutonomousDatabaseCustomerContactResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + email=email, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + email: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("email", email) @property @pulumi.getter @@ -13667,22 +16656,61 @@ def __init__(__self__, *, :param str time_last_synced: The date and time of the last update to the apply lag, apply rate, and transport lag values. :param str transport_lag: The approximate number of seconds of redo data not yet available on the standby Autonomous Container Database, as computed by the reporting database. Example: `7 seconds` """ - pulumi.set(__self__, "apply_lag", apply_lag) - pulumi.set(__self__, "apply_rate", apply_rate) - pulumi.set(__self__, "autonomous_database_id", autonomous_database_id) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_automatic_failover_enabled", is_automatic_failover_enabled) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "peer_autonomous_database_id", peer_autonomous_database_id) - pulumi.set(__self__, "peer_autonomous_database_life_cycle_state", peer_autonomous_database_life_cycle_state) - pulumi.set(__self__, "peer_role", peer_role) - pulumi.set(__self__, "protection_mode", protection_mode) - pulumi.set(__self__, "role", role) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_last_role_changed", time_last_role_changed) - pulumi.set(__self__, "time_last_synced", time_last_synced) - pulumi.set(__self__, "transport_lag", transport_lag) + GetAutonomousDatabaseDataguardAssociationsAutonomousDatabaseDataguardAssociationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + apply_lag=apply_lag, + apply_rate=apply_rate, + autonomous_database_id=autonomous_database_id, + id=id, + is_automatic_failover_enabled=is_automatic_failover_enabled, + lifecycle_details=lifecycle_details, + peer_autonomous_database_id=peer_autonomous_database_id, + peer_autonomous_database_life_cycle_state=peer_autonomous_database_life_cycle_state, + peer_role=peer_role, + protection_mode=protection_mode, + role=role, + state=state, + time_created=time_created, + time_last_role_changed=time_last_role_changed, + time_last_synced=time_last_synced, + transport_lag=transport_lag, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + apply_lag: str, + apply_rate: str, + autonomous_database_id: str, + id: str, + is_automatic_failover_enabled: bool, + lifecycle_details: str, + peer_autonomous_database_id: str, + peer_autonomous_database_life_cycle_state: str, + peer_role: str, + protection_mode: str, + role: str, + state: str, + time_created: str, + time_last_role_changed: str, + time_last_synced: str, + transport_lag: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("apply_lag", apply_lag) + _setter("apply_rate", apply_rate) + _setter("autonomous_database_id", autonomous_database_id) + _setter("id", id) + _setter("is_automatic_failover_enabled", is_automatic_failover_enabled) + _setter("lifecycle_details", lifecycle_details) + _setter("peer_autonomous_database_id", peer_autonomous_database_id) + _setter("peer_autonomous_database_life_cycle_state", peer_autonomous_database_life_cycle_state) + _setter("peer_role", peer_role) + _setter("protection_mode", protection_mode) + _setter("role", role) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_last_role_changed", time_last_role_changed) + _setter("time_last_synced", time_last_synced) + _setter("transport_lag", transport_lag) @property @pulumi.getter(name="applyLag") @@ -13819,10 +16847,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAutonomousDatabaseDataguardAssociationsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -13853,10 +16894,25 @@ def __init__(__self__, *, :param str time_activated: The date and time the kms key activated. :param str vault_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure [vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). """ - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "kms_key_version_id", kms_key_version_id) - pulumi.set(__self__, "time_activated", time_activated) - pulumi.set(__self__, "vault_id", vault_id) + GetAutonomousDatabaseKeyHistoryEntryResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + kms_key_version_id=kms_key_version_id, + time_activated=time_activated, + vault_id=vault_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: str, + kms_key_version_id: str, + time_activated: str, + vault_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) + _setter("kms_key_version_id", kms_key_version_id) + _setter("time_activated", time_activated) + _setter("vault_id", vault_id) @property @pulumi.getter @@ -13906,11 +16962,28 @@ def __init__(__self__, *, :param str time_data_guard_role_changed: The date and time the Autonomous Data Guard role was switched for the Autonomous Database. For databases that have standbys in both the primary Data Guard region and a remote Data Guard standby region, this is the latest timestamp of either the database using the "primary" role in the primary Data Guard region, or database located in the remote Data Guard standby region. :param str time_disaster_recovery_role_changed: The date and time the Disaster Recovery role was switched for the standby Autonomous Database. """ - pulumi.set(__self__, "lag_time_in_seconds", lag_time_in_seconds) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_data_guard_role_changed", time_data_guard_role_changed) - pulumi.set(__self__, "time_disaster_recovery_role_changed", time_disaster_recovery_role_changed) + GetAutonomousDatabaseLocalStandbyDbResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + lag_time_in_seconds=lag_time_in_seconds, + lifecycle_details=lifecycle_details, + state=state, + time_data_guard_role_changed=time_data_guard_role_changed, + time_disaster_recovery_role_changed=time_disaster_recovery_role_changed, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + lag_time_in_seconds: int, + lifecycle_details: str, + state: str, + time_data_guard_role_changed: str, + time_disaster_recovery_role_changed: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("lag_time_in_seconds", lag_time_in_seconds) + _setter("lifecycle_details", lifecycle_details) + _setter("state", state) + _setter("time_data_guard_role_changed", time_data_guard_role_changed) + _setter("time_disaster_recovery_role_changed", time_disaster_recovery_role_changed) @property @pulumi.getter(name="lagTimeInSeconds") @@ -13961,21 +17034,36 @@ def __init__(__self__, *, retention_period_in_days: int, time_of_backup: str): """ - :param bool is_disabled: Indicates if the long-term backup schedule should be deleted. The default value is `FALSE`. + :param bool is_disabled: Indicates if the resource pool should be deleted for the Autonomous Database. :param str repeat_cadence: The frequency of the long-term backup schedule :param int retention_period_in_days: Retention period, in days, for long-term backups :param str time_of_backup: The timestamp for the long-term backup schedule. For a MONTHLY cadence, months having fewer days than the provided date will have the backup taken on the last day of that month. """ - pulumi.set(__self__, "is_disabled", is_disabled) - pulumi.set(__self__, "repeat_cadence", repeat_cadence) - pulumi.set(__self__, "retention_period_in_days", retention_period_in_days) - pulumi.set(__self__, "time_of_backup", time_of_backup) + GetAutonomousDatabaseLongTermBackupScheduleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_disabled=is_disabled, + repeat_cadence=repeat_cadence, + retention_period_in_days=retention_period_in_days, + time_of_backup=time_of_backup, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_disabled: bool, + repeat_cadence: str, + retention_period_in_days: int, + time_of_backup: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_disabled", is_disabled) + _setter("repeat_cadence", repeat_cadence) + _setter("retention_period_in_days", retention_period_in_days) + _setter("time_of_backup", time_of_backup) @property @pulumi.getter(name="isDisabled") def is_disabled(self) -> bool: """ - Indicates if the long-term backup schedule should be deleted. The default value is `FALSE`. + Indicates if the resource pool should be deleted for the Autonomous Database. """ return pulumi.get(self, "is_disabled") @@ -14010,10 +17098,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAutonomousDatabaseRefreshableClonesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -14035,7 +17136,16 @@ def regex(self) -> Optional[bool]: class GetAutonomousDatabaseRefreshableClonesRefreshableCloneCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetAutonomousDatabaseRefreshableClonesRefreshableCloneCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetAutonomousDatabaseRefreshableClonesRefreshableCloneCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetAutonomousDatabaseRefreshableClonesRefreshableCloneCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -14052,8 +17162,19 @@ def __init__(__self__, *, :param str id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Autonomous Database. :param str region: The name of the region where the refreshable clone exists. """ - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "region", region) + GetAutonomousDatabaseRefreshableClonesRefreshableCloneCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + region=region, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: str, + region: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) + _setter("region", region) @property @pulumi.getter @@ -14079,7 +17200,16 @@ def __init__(__self__, *, """ :param str disaster_recovery_type: Indicates the disaster recovery (DR) type of the Shared Autonomous Database. Autonomous Data Guard (ADG) DR type provides business critical DR with a faster recovery time objective (RTO) during failover or switchover. Backup-based DR type provides lower cost DR with a slower RTO during failover or switchover. """ - pulumi.set(__self__, "disaster_recovery_type", disaster_recovery_type) + GetAutonomousDatabaseRemoteDisasterRecoveryConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + disaster_recovery_type=disaster_recovery_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + disaster_recovery_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("disaster_recovery_type", disaster_recovery_type) @property @pulumi.getter(name="disasterRecoveryType") @@ -14090,6 +17220,46 @@ def disaster_recovery_type(self) -> str: return pulumi.get(self, "disaster_recovery_type") +@pulumi.output_type +class GetAutonomousDatabaseResourcePoolSummaryResult(dict): + def __init__(__self__, *, + is_disabled: bool, + pool_size: int): + """ + :param bool is_disabled: Indicates if the resource pool should be deleted for the Autonomous Database. + :param int pool_size: Resource pool size. + """ + GetAutonomousDatabaseResourcePoolSummaryResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_disabled=is_disabled, + pool_size=pool_size, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_disabled: bool, + pool_size: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_disabled", is_disabled) + _setter("pool_size", pool_size) + + @property + @pulumi.getter(name="isDisabled") + def is_disabled(self) -> bool: + """ + Indicates if the resource pool should be deleted for the Autonomous Database. + """ + return pulumi.get(self, "is_disabled") + + @property + @pulumi.getter(name="poolSize") + def pool_size(self) -> int: + """ + Resource pool size. + """ + return pulumi.get(self, "pool_size") + + @pulumi.output_type class GetAutonomousDatabaseScheduledOperationResult(dict): def __init__(__self__, *, @@ -14101,9 +17271,22 @@ def __init__(__self__, *, :param str scheduled_start_time: auto start time. value must be of ISO-8601 format "HH:mm" :param str scheduled_stop_time: auto stop time. value must be of ISO-8601 format "HH:mm" """ - pulumi.set(__self__, "day_of_weeks", day_of_weeks) - pulumi.set(__self__, "scheduled_start_time", scheduled_start_time) - pulumi.set(__self__, "scheduled_stop_time", scheduled_stop_time) + GetAutonomousDatabaseScheduledOperationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + day_of_weeks=day_of_weeks, + scheduled_start_time=scheduled_start_time, + scheduled_stop_time=scheduled_stop_time, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + day_of_weeks: Sequence['outputs.GetAutonomousDatabaseScheduledOperationDayOfWeekResult'], + scheduled_start_time: str, + scheduled_stop_time: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("day_of_weeks", day_of_weeks) + _setter("scheduled_start_time", scheduled_start_time) + _setter("scheduled_stop_time", scheduled_stop_time) @property @pulumi.getter(name="dayOfWeeks") @@ -14137,7 +17320,16 @@ def __init__(__self__, *, """ :param str name: Name of the day of the week. """ - pulumi.set(__self__, "name", name) + GetAutonomousDatabaseScheduledOperationDayOfWeekResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -14163,11 +17355,28 @@ def __init__(__self__, *, :param str time_data_guard_role_changed: The date and time the Autonomous Data Guard role was switched for the Autonomous Database. For databases that have standbys in both the primary Data Guard region and a remote Data Guard standby region, this is the latest timestamp of either the database using the "primary" role in the primary Data Guard region, or database located in the remote Data Guard standby region. :param str time_disaster_recovery_role_changed: The date and time the Disaster Recovery role was switched for the standby Autonomous Database. """ - pulumi.set(__self__, "lag_time_in_seconds", lag_time_in_seconds) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_data_guard_role_changed", time_data_guard_role_changed) - pulumi.set(__self__, "time_disaster_recovery_role_changed", time_disaster_recovery_role_changed) + GetAutonomousDatabaseStandbyDbResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + lag_time_in_seconds=lag_time_in_seconds, + lifecycle_details=lifecycle_details, + state=state, + time_data_guard_role_changed=time_data_guard_role_changed, + time_disaster_recovery_role_changed=time_disaster_recovery_role_changed, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + lag_time_in_seconds: int, + lifecycle_details: str, + state: str, + time_data_guard_role_changed: str, + time_disaster_recovery_role_changed: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("lag_time_in_seconds", lag_time_in_seconds) + _setter("lifecycle_details", lifecycle_details) + _setter("state", state) + _setter("time_data_guard_role_changed", time_data_guard_role_changed) + _setter("time_disaster_recovery_role_changed", time_disaster_recovery_role_changed) @property @pulumi.getter(name="lagTimeInSeconds") @@ -14296,6 +17505,8 @@ def __init__(__self__, *, refreshable_status: str, remote_disaster_recovery_configurations: Sequence['outputs.GetAutonomousDatabasesAutonomousDatabaseRemoteDisasterRecoveryConfigurationResult'], remote_disaster_recovery_type: str, + resource_pool_leader_id: str, + resource_pool_summaries: Sequence['outputs.GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryResult'], role: str, rotate_key_trigger: bool, scheduled_operations: Sequence['outputs.GetAutonomousDatabasesAutonomousDatabaseScheduledOperationResult'], @@ -14319,6 +17530,7 @@ def __init__(__self__, *, time_local_data_guard_enabled: str, time_maintenance_begin: str, time_maintenance_end: str, + time_of_joining_resource_pool: str, time_of_last_failover: str, time_of_last_refresh: str, time_of_last_refresh_point: str, @@ -14411,6 +17623,8 @@ def __init__(__self__, *, :param str refreshable_mode: The refresh mode of the clone. AUTOMATIC indicates that the clone is automatically being refreshed with data from the source Autonomous Database. :param str refreshable_status: The refresh status of the clone. REFRESHING indicates that the clone is currently being refreshed with data from the source Autonomous Database. :param Sequence['GetAutonomousDatabasesAutonomousDatabaseRemoteDisasterRecoveryConfigurationArgs'] remote_disaster_recovery_configurations: Configurations of a Disaster Recovery. + :param str resource_pool_leader_id: The database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resourcepool Leader Autonomous Database. + :param Sequence['GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryArgs'] resource_pool_summaries: The configuration details for resource pool :param str role: The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled. :param Sequence['GetAutonomousDatabasesAutonomousDatabaseScheduledOperationArgs'] scheduled_operations: The list of scheduled operations. :param str service_console_url: The URL of the Service Console for the Autonomous Database. @@ -14428,6 +17642,7 @@ def __init__(__self__, *, :param str time_local_data_guard_enabled: The date and time that Autonomous Data Guard was enabled for an Autonomous Database where the standby was provisioned in the same region as the primary database. :param str time_maintenance_begin: The date and time when maintenance will begin. :param str time_maintenance_end: The date and time when maintenance will end. + :param str time_of_joining_resource_pool: The time the member joined the resource pool. :param str time_of_last_failover: The timestamp of the last failover operation. :param str time_of_last_refresh: The date and time when last refresh happened. :param str time_of_last_refresh_point: The refresh point timestamp (UTC). The refresh point is the time to which the database was most recently refreshed. Data created after the refresh point is not included in the refresh. @@ -14441,126 +17656,382 @@ def __init__(__self__, *, :param str vault_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure [vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). :param Sequence[str] whitelisted_ips: The client IP access control list (ACL). This feature is available for [Autonomous Database Serverless] (https://docs.oracle.com/en/cloud/paas/autonomous-database/index.html) and on Exadata Cloud@Customer. Only clients connecting from an IP address included in the ACL may access the Autonomous Database instance. """ - pulumi.set(__self__, "actual_used_data_storage_size_in_tbs", actual_used_data_storage_size_in_tbs) - pulumi.set(__self__, "admin_password", admin_password) - pulumi.set(__self__, "allocated_storage_size_in_tbs", allocated_storage_size_in_tbs) - pulumi.set(__self__, "apex_details", apex_details) - pulumi.set(__self__, "are_primary_whitelisted_ips_used", are_primary_whitelisted_ips_used) - pulumi.set(__self__, "autonomous_container_database_id", autonomous_container_database_id) - pulumi.set(__self__, "autonomous_database_backup_id", autonomous_database_backup_id) - pulumi.set(__self__, "autonomous_database_id", autonomous_database_id) - pulumi.set(__self__, "autonomous_maintenance_schedule_type", autonomous_maintenance_schedule_type) - pulumi.set(__self__, "available_upgrade_versions", available_upgrade_versions) - pulumi.set(__self__, "backup_configs", backup_configs) - pulumi.set(__self__, "backup_retention_period_in_days", backup_retention_period_in_days) - pulumi.set(__self__, "character_set", character_set) - pulumi.set(__self__, "clone_type", clone_type) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "compute_count", compute_count) - pulumi.set(__self__, "compute_model", compute_model) - pulumi.set(__self__, "connection_strings", connection_strings) - pulumi.set(__self__, "connection_urls", connection_urls) - pulumi.set(__self__, "cpu_core_count", cpu_core_count) - pulumi.set(__self__, "customer_contacts", customer_contacts) - pulumi.set(__self__, "data_safe_status", data_safe_status) - pulumi.set(__self__, "data_storage_size_in_gb", data_storage_size_in_gb) - pulumi.set(__self__, "data_storage_size_in_tbs", data_storage_size_in_tbs) - pulumi.set(__self__, "database_edition", database_edition) - pulumi.set(__self__, "database_management_status", database_management_status) - pulumi.set(__self__, "dataguard_region_type", dataguard_region_type) - pulumi.set(__self__, "db_name", db_name) - pulumi.set(__self__, "db_version", db_version) - pulumi.set(__self__, "db_workload", db_workload) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "disaster_recovery_region_type", disaster_recovery_region_type) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "failed_data_recovery_in_seconds", failed_data_recovery_in_seconds) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "in_memory_area_in_gbs", in_memory_area_in_gbs) - pulumi.set(__self__, "in_memory_percentage", in_memory_percentage) - pulumi.set(__self__, "infrastructure_type", infrastructure_type) - pulumi.set(__self__, "is_access_control_enabled", is_access_control_enabled) - pulumi.set(__self__, "is_auto_scaling_enabled", is_auto_scaling_enabled) - pulumi.set(__self__, "is_auto_scaling_for_storage_enabled", is_auto_scaling_for_storage_enabled) - pulumi.set(__self__, "is_data_guard_enabled", is_data_guard_enabled) - pulumi.set(__self__, "is_dedicated", is_dedicated) - pulumi.set(__self__, "is_free_tier", is_free_tier) - pulumi.set(__self__, "is_local_data_guard_enabled", is_local_data_guard_enabled) - pulumi.set(__self__, "is_mtls_connection_required", is_mtls_connection_required) - pulumi.set(__self__, "is_preview", is_preview) - pulumi.set(__self__, "is_preview_version_with_service_terms_accepted", is_preview_version_with_service_terms_accepted) - pulumi.set(__self__, "is_reconnect_clone_enabled", is_reconnect_clone_enabled) - pulumi.set(__self__, "is_refreshable_clone", is_refreshable_clone) - pulumi.set(__self__, "is_remote_data_guard_enabled", is_remote_data_guard_enabled) - pulumi.set(__self__, "is_shrink_only", is_shrink_only) - pulumi.set(__self__, "key_history_entries", key_history_entries) - pulumi.set(__self__, "key_store_id", key_store_id) - pulumi.set(__self__, "key_store_wallet_name", key_store_wallet_name) - pulumi.set(__self__, "kms_key_id", kms_key_id) - pulumi.set(__self__, "kms_key_lifecycle_details", kms_key_lifecycle_details) - pulumi.set(__self__, "kms_key_version_id", kms_key_version_id) - pulumi.set(__self__, "license_model", license_model) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "local_adg_auto_failover_max_data_loss_limit", local_adg_auto_failover_max_data_loss_limit) - pulumi.set(__self__, "local_disaster_recovery_type", local_disaster_recovery_type) - pulumi.set(__self__, "local_standby_dbs", local_standby_dbs) - pulumi.set(__self__, "long_term_backup_schedules", long_term_backup_schedules) - pulumi.set(__self__, "max_cpu_core_count", max_cpu_core_count) - pulumi.set(__self__, "memory_per_oracle_compute_unit_in_gbs", memory_per_oracle_compute_unit_in_gbs) - pulumi.set(__self__, "ncharacter_set", ncharacter_set) - pulumi.set(__self__, "next_long_term_backup_time_stamp", next_long_term_backup_time_stamp) - pulumi.set(__self__, "nsg_ids", nsg_ids) - pulumi.set(__self__, "ocpu_count", ocpu_count) - pulumi.set(__self__, "open_mode", open_mode) - pulumi.set(__self__, "operations_insights_status", operations_insights_status) - pulumi.set(__self__, "peer_db_ids", peer_db_ids) - pulumi.set(__self__, "permission_level", permission_level) - pulumi.set(__self__, "private_endpoint", private_endpoint) - pulumi.set(__self__, "private_endpoint_ip", private_endpoint_ip) - pulumi.set(__self__, "private_endpoint_label", private_endpoint_label) - pulumi.set(__self__, "provisionable_cpuses", provisionable_cpuses) - pulumi.set(__self__, "refreshable_mode", refreshable_mode) - pulumi.set(__self__, "refreshable_status", refreshable_status) - pulumi.set(__self__, "remote_disaster_recovery_configurations", remote_disaster_recovery_configurations) - pulumi.set(__self__, "remote_disaster_recovery_type", remote_disaster_recovery_type) - pulumi.set(__self__, "role", role) - pulumi.set(__self__, "rotate_key_trigger", rotate_key_trigger) - pulumi.set(__self__, "scheduled_operations", scheduled_operations) - pulumi.set(__self__, "secret_id", secret_id) - pulumi.set(__self__, "secret_version_number", secret_version_number) - pulumi.set(__self__, "service_console_url", service_console_url) - pulumi.set(__self__, "source", source) - pulumi.set(__self__, "source_id", source_id) - pulumi.set(__self__, "standby_dbs", standby_dbs) - pulumi.set(__self__, "standby_whitelisted_ips", standby_whitelisted_ips) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "supported_regions_to_clone_tos", supported_regions_to_clone_tos) - pulumi.set(__self__, "switchover_to", switchover_to) - pulumi.set(__self__, "switchover_to_remote_peer_id", switchover_to_remote_peer_id) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_data_guard_role_changed", time_data_guard_role_changed) - pulumi.set(__self__, "time_deletion_of_free_autonomous_database", time_deletion_of_free_autonomous_database) - pulumi.set(__self__, "time_disaster_recovery_role_changed", time_disaster_recovery_role_changed) - pulumi.set(__self__, "time_local_data_guard_enabled", time_local_data_guard_enabled) - pulumi.set(__self__, "time_maintenance_begin", time_maintenance_begin) - pulumi.set(__self__, "time_maintenance_end", time_maintenance_end) - pulumi.set(__self__, "time_of_last_failover", time_of_last_failover) - pulumi.set(__self__, "time_of_last_refresh", time_of_last_refresh) - pulumi.set(__self__, "time_of_last_refresh_point", time_of_last_refresh_point) - pulumi.set(__self__, "time_of_last_switchover", time_of_last_switchover) - pulumi.set(__self__, "time_of_next_refresh", time_of_next_refresh) - pulumi.set(__self__, "time_reclamation_of_free_autonomous_database", time_reclamation_of_free_autonomous_database) - pulumi.set(__self__, "time_until_reconnect_clone_enabled", time_until_reconnect_clone_enabled) - pulumi.set(__self__, "timestamp", timestamp) - pulumi.set(__self__, "total_backup_storage_size_in_gbs", total_backup_storage_size_in_gbs) - pulumi.set(__self__, "use_latest_available_backup_time_stamp", use_latest_available_backup_time_stamp) - pulumi.set(__self__, "used_data_storage_size_in_gbs", used_data_storage_size_in_gbs) - pulumi.set(__self__, "used_data_storage_size_in_tbs", used_data_storage_size_in_tbs) - pulumi.set(__self__, "vault_id", vault_id) - pulumi.set(__self__, "whitelisted_ips", whitelisted_ips) + GetAutonomousDatabasesAutonomousDatabaseResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + actual_used_data_storage_size_in_tbs=actual_used_data_storage_size_in_tbs, + admin_password=admin_password, + allocated_storage_size_in_tbs=allocated_storage_size_in_tbs, + apex_details=apex_details, + are_primary_whitelisted_ips_used=are_primary_whitelisted_ips_used, + autonomous_container_database_id=autonomous_container_database_id, + autonomous_database_backup_id=autonomous_database_backup_id, + autonomous_database_id=autonomous_database_id, + autonomous_maintenance_schedule_type=autonomous_maintenance_schedule_type, + available_upgrade_versions=available_upgrade_versions, + backup_configs=backup_configs, + backup_retention_period_in_days=backup_retention_period_in_days, + character_set=character_set, + clone_type=clone_type, + compartment_id=compartment_id, + compute_count=compute_count, + compute_model=compute_model, + connection_strings=connection_strings, + connection_urls=connection_urls, + cpu_core_count=cpu_core_count, + customer_contacts=customer_contacts, + data_safe_status=data_safe_status, + data_storage_size_in_gb=data_storage_size_in_gb, + data_storage_size_in_tbs=data_storage_size_in_tbs, + database_edition=database_edition, + database_management_status=database_management_status, + dataguard_region_type=dataguard_region_type, + db_name=db_name, + db_version=db_version, + db_workload=db_workload, + defined_tags=defined_tags, + disaster_recovery_region_type=disaster_recovery_region_type, + display_name=display_name, + failed_data_recovery_in_seconds=failed_data_recovery_in_seconds, + freeform_tags=freeform_tags, + id=id, + in_memory_area_in_gbs=in_memory_area_in_gbs, + in_memory_percentage=in_memory_percentage, + infrastructure_type=infrastructure_type, + is_access_control_enabled=is_access_control_enabled, + is_auto_scaling_enabled=is_auto_scaling_enabled, + is_auto_scaling_for_storage_enabled=is_auto_scaling_for_storage_enabled, + is_data_guard_enabled=is_data_guard_enabled, + is_dedicated=is_dedicated, + is_free_tier=is_free_tier, + is_local_data_guard_enabled=is_local_data_guard_enabled, + is_mtls_connection_required=is_mtls_connection_required, + is_preview=is_preview, + is_preview_version_with_service_terms_accepted=is_preview_version_with_service_terms_accepted, + is_reconnect_clone_enabled=is_reconnect_clone_enabled, + is_refreshable_clone=is_refreshable_clone, + is_remote_data_guard_enabled=is_remote_data_guard_enabled, + is_shrink_only=is_shrink_only, + key_history_entries=key_history_entries, + key_store_id=key_store_id, + key_store_wallet_name=key_store_wallet_name, + kms_key_id=kms_key_id, + kms_key_lifecycle_details=kms_key_lifecycle_details, + kms_key_version_id=kms_key_version_id, + license_model=license_model, + lifecycle_details=lifecycle_details, + local_adg_auto_failover_max_data_loss_limit=local_adg_auto_failover_max_data_loss_limit, + local_disaster_recovery_type=local_disaster_recovery_type, + local_standby_dbs=local_standby_dbs, + long_term_backup_schedules=long_term_backup_schedules, + max_cpu_core_count=max_cpu_core_count, + memory_per_oracle_compute_unit_in_gbs=memory_per_oracle_compute_unit_in_gbs, + ncharacter_set=ncharacter_set, + next_long_term_backup_time_stamp=next_long_term_backup_time_stamp, + nsg_ids=nsg_ids, + ocpu_count=ocpu_count, + open_mode=open_mode, + operations_insights_status=operations_insights_status, + peer_db_ids=peer_db_ids, + permission_level=permission_level, + private_endpoint=private_endpoint, + private_endpoint_ip=private_endpoint_ip, + private_endpoint_label=private_endpoint_label, + provisionable_cpuses=provisionable_cpuses, + refreshable_mode=refreshable_mode, + refreshable_status=refreshable_status, + remote_disaster_recovery_configurations=remote_disaster_recovery_configurations, + remote_disaster_recovery_type=remote_disaster_recovery_type, + resource_pool_leader_id=resource_pool_leader_id, + resource_pool_summaries=resource_pool_summaries, + role=role, + rotate_key_trigger=rotate_key_trigger, + scheduled_operations=scheduled_operations, + secret_id=secret_id, + secret_version_number=secret_version_number, + service_console_url=service_console_url, + source=source, + source_id=source_id, + standby_dbs=standby_dbs, + standby_whitelisted_ips=standby_whitelisted_ips, + state=state, + subnet_id=subnet_id, + supported_regions_to_clone_tos=supported_regions_to_clone_tos, + switchover_to=switchover_to, + switchover_to_remote_peer_id=switchover_to_remote_peer_id, + system_tags=system_tags, + time_created=time_created, + time_data_guard_role_changed=time_data_guard_role_changed, + time_deletion_of_free_autonomous_database=time_deletion_of_free_autonomous_database, + time_disaster_recovery_role_changed=time_disaster_recovery_role_changed, + time_local_data_guard_enabled=time_local_data_guard_enabled, + time_maintenance_begin=time_maintenance_begin, + time_maintenance_end=time_maintenance_end, + time_of_joining_resource_pool=time_of_joining_resource_pool, + time_of_last_failover=time_of_last_failover, + time_of_last_refresh=time_of_last_refresh, + time_of_last_refresh_point=time_of_last_refresh_point, + time_of_last_switchover=time_of_last_switchover, + time_of_next_refresh=time_of_next_refresh, + time_reclamation_of_free_autonomous_database=time_reclamation_of_free_autonomous_database, + time_until_reconnect_clone_enabled=time_until_reconnect_clone_enabled, + timestamp=timestamp, + total_backup_storage_size_in_gbs=total_backup_storage_size_in_gbs, + use_latest_available_backup_time_stamp=use_latest_available_backup_time_stamp, + used_data_storage_size_in_gbs=used_data_storage_size_in_gbs, + used_data_storage_size_in_tbs=used_data_storage_size_in_tbs, + vault_id=vault_id, + whitelisted_ips=whitelisted_ips, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + actual_used_data_storage_size_in_tbs: float, + admin_password: str, + allocated_storage_size_in_tbs: float, + apex_details: Sequence['outputs.GetAutonomousDatabasesAutonomousDatabaseApexDetailResult'], + are_primary_whitelisted_ips_used: bool, + autonomous_container_database_id: str, + autonomous_database_backup_id: str, + autonomous_database_id: str, + autonomous_maintenance_schedule_type: str, + available_upgrade_versions: Sequence[str], + backup_configs: Sequence['outputs.GetAutonomousDatabasesAutonomousDatabaseBackupConfigResult'], + backup_retention_period_in_days: int, + character_set: str, + clone_type: str, + compartment_id: str, + compute_count: float, + compute_model: str, + connection_strings: Sequence['outputs.GetAutonomousDatabasesAutonomousDatabaseConnectionStringResult'], + connection_urls: Sequence['outputs.GetAutonomousDatabasesAutonomousDatabaseConnectionUrlResult'], + cpu_core_count: int, + customer_contacts: Sequence['outputs.GetAutonomousDatabasesAutonomousDatabaseCustomerContactResult'], + data_safe_status: str, + data_storage_size_in_gb: int, + data_storage_size_in_tbs: int, + database_edition: str, + database_management_status: str, + dataguard_region_type: str, + db_name: str, + db_version: str, + db_workload: str, + defined_tags: Mapping[str, Any], + disaster_recovery_region_type: str, + display_name: str, + failed_data_recovery_in_seconds: int, + freeform_tags: Mapping[str, Any], + id: str, + in_memory_area_in_gbs: int, + in_memory_percentage: int, + infrastructure_type: str, + is_access_control_enabled: bool, + is_auto_scaling_enabled: bool, + is_auto_scaling_for_storage_enabled: bool, + is_data_guard_enabled: bool, + is_dedicated: bool, + is_free_tier: bool, + is_local_data_guard_enabled: bool, + is_mtls_connection_required: bool, + is_preview: bool, + is_preview_version_with_service_terms_accepted: bool, + is_reconnect_clone_enabled: bool, + is_refreshable_clone: bool, + is_remote_data_guard_enabled: bool, + is_shrink_only: bool, + key_history_entries: Sequence['outputs.GetAutonomousDatabasesAutonomousDatabaseKeyHistoryEntryResult'], + key_store_id: str, + key_store_wallet_name: str, + kms_key_id: str, + kms_key_lifecycle_details: str, + kms_key_version_id: str, + license_model: str, + lifecycle_details: str, + local_adg_auto_failover_max_data_loss_limit: int, + local_disaster_recovery_type: str, + local_standby_dbs: Sequence['outputs.GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDbResult'], + long_term_backup_schedules: Sequence['outputs.GetAutonomousDatabasesAutonomousDatabaseLongTermBackupScheduleResult'], + max_cpu_core_count: int, + memory_per_oracle_compute_unit_in_gbs: int, + ncharacter_set: str, + next_long_term_backup_time_stamp: str, + nsg_ids: Sequence[str], + ocpu_count: float, + open_mode: str, + operations_insights_status: str, + peer_db_ids: Sequence[str], + permission_level: str, + private_endpoint: str, + private_endpoint_ip: str, + private_endpoint_label: str, + provisionable_cpuses: Sequence[float], + refreshable_mode: str, + refreshable_status: str, + remote_disaster_recovery_configurations: Sequence['outputs.GetAutonomousDatabasesAutonomousDatabaseRemoteDisasterRecoveryConfigurationResult'], + remote_disaster_recovery_type: str, + resource_pool_leader_id: str, + resource_pool_summaries: Sequence['outputs.GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryResult'], + role: str, + rotate_key_trigger: bool, + scheduled_operations: Sequence['outputs.GetAutonomousDatabasesAutonomousDatabaseScheduledOperationResult'], + secret_id: str, + secret_version_number: int, + service_console_url: str, + source: str, + source_id: str, + standby_dbs: Sequence['outputs.GetAutonomousDatabasesAutonomousDatabaseStandbyDbResult'], + standby_whitelisted_ips: Sequence[str], + state: str, + subnet_id: str, + supported_regions_to_clone_tos: Sequence[str], + switchover_to: str, + switchover_to_remote_peer_id: str, + system_tags: Mapping[str, Any], + time_created: str, + time_data_guard_role_changed: str, + time_deletion_of_free_autonomous_database: str, + time_disaster_recovery_role_changed: str, + time_local_data_guard_enabled: str, + time_maintenance_begin: str, + time_maintenance_end: str, + time_of_joining_resource_pool: str, + time_of_last_failover: str, + time_of_last_refresh: str, + time_of_last_refresh_point: str, + time_of_last_switchover: str, + time_of_next_refresh: str, + time_reclamation_of_free_autonomous_database: str, + time_until_reconnect_clone_enabled: str, + timestamp: str, + total_backup_storage_size_in_gbs: float, + use_latest_available_backup_time_stamp: bool, + used_data_storage_size_in_gbs: int, + used_data_storage_size_in_tbs: int, + vault_id: str, + whitelisted_ips: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("actual_used_data_storage_size_in_tbs", actual_used_data_storage_size_in_tbs) + _setter("admin_password", admin_password) + _setter("allocated_storage_size_in_tbs", allocated_storage_size_in_tbs) + _setter("apex_details", apex_details) + _setter("are_primary_whitelisted_ips_used", are_primary_whitelisted_ips_used) + _setter("autonomous_container_database_id", autonomous_container_database_id) + _setter("autonomous_database_backup_id", autonomous_database_backup_id) + _setter("autonomous_database_id", autonomous_database_id) + _setter("autonomous_maintenance_schedule_type", autonomous_maintenance_schedule_type) + _setter("available_upgrade_versions", available_upgrade_versions) + _setter("backup_configs", backup_configs) + _setter("backup_retention_period_in_days", backup_retention_period_in_days) + _setter("character_set", character_set) + _setter("clone_type", clone_type) + _setter("compartment_id", compartment_id) + _setter("compute_count", compute_count) + _setter("compute_model", compute_model) + _setter("connection_strings", connection_strings) + _setter("connection_urls", connection_urls) + _setter("cpu_core_count", cpu_core_count) + _setter("customer_contacts", customer_contacts) + _setter("data_safe_status", data_safe_status) + _setter("data_storage_size_in_gb", data_storage_size_in_gb) + _setter("data_storage_size_in_tbs", data_storage_size_in_tbs) + _setter("database_edition", database_edition) + _setter("database_management_status", database_management_status) + _setter("dataguard_region_type", dataguard_region_type) + _setter("db_name", db_name) + _setter("db_version", db_version) + _setter("db_workload", db_workload) + _setter("defined_tags", defined_tags) + _setter("disaster_recovery_region_type", disaster_recovery_region_type) + _setter("display_name", display_name) + _setter("failed_data_recovery_in_seconds", failed_data_recovery_in_seconds) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("in_memory_area_in_gbs", in_memory_area_in_gbs) + _setter("in_memory_percentage", in_memory_percentage) + _setter("infrastructure_type", infrastructure_type) + _setter("is_access_control_enabled", is_access_control_enabled) + _setter("is_auto_scaling_enabled", is_auto_scaling_enabled) + _setter("is_auto_scaling_for_storage_enabled", is_auto_scaling_for_storage_enabled) + _setter("is_data_guard_enabled", is_data_guard_enabled) + _setter("is_dedicated", is_dedicated) + _setter("is_free_tier", is_free_tier) + _setter("is_local_data_guard_enabled", is_local_data_guard_enabled) + _setter("is_mtls_connection_required", is_mtls_connection_required) + _setter("is_preview", is_preview) + _setter("is_preview_version_with_service_terms_accepted", is_preview_version_with_service_terms_accepted) + _setter("is_reconnect_clone_enabled", is_reconnect_clone_enabled) + _setter("is_refreshable_clone", is_refreshable_clone) + _setter("is_remote_data_guard_enabled", is_remote_data_guard_enabled) + _setter("is_shrink_only", is_shrink_only) + _setter("key_history_entries", key_history_entries) + _setter("key_store_id", key_store_id) + _setter("key_store_wallet_name", key_store_wallet_name) + _setter("kms_key_id", kms_key_id) + _setter("kms_key_lifecycle_details", kms_key_lifecycle_details) + _setter("kms_key_version_id", kms_key_version_id) + _setter("license_model", license_model) + _setter("lifecycle_details", lifecycle_details) + _setter("local_adg_auto_failover_max_data_loss_limit", local_adg_auto_failover_max_data_loss_limit) + _setter("local_disaster_recovery_type", local_disaster_recovery_type) + _setter("local_standby_dbs", local_standby_dbs) + _setter("long_term_backup_schedules", long_term_backup_schedules) + _setter("max_cpu_core_count", max_cpu_core_count) + _setter("memory_per_oracle_compute_unit_in_gbs", memory_per_oracle_compute_unit_in_gbs) + _setter("ncharacter_set", ncharacter_set) + _setter("next_long_term_backup_time_stamp", next_long_term_backup_time_stamp) + _setter("nsg_ids", nsg_ids) + _setter("ocpu_count", ocpu_count) + _setter("open_mode", open_mode) + _setter("operations_insights_status", operations_insights_status) + _setter("peer_db_ids", peer_db_ids) + _setter("permission_level", permission_level) + _setter("private_endpoint", private_endpoint) + _setter("private_endpoint_ip", private_endpoint_ip) + _setter("private_endpoint_label", private_endpoint_label) + _setter("provisionable_cpuses", provisionable_cpuses) + _setter("refreshable_mode", refreshable_mode) + _setter("refreshable_status", refreshable_status) + _setter("remote_disaster_recovery_configurations", remote_disaster_recovery_configurations) + _setter("remote_disaster_recovery_type", remote_disaster_recovery_type) + _setter("resource_pool_leader_id", resource_pool_leader_id) + _setter("resource_pool_summaries", resource_pool_summaries) + _setter("role", role) + _setter("rotate_key_trigger", rotate_key_trigger) + _setter("scheduled_operations", scheduled_operations) + _setter("secret_id", secret_id) + _setter("secret_version_number", secret_version_number) + _setter("service_console_url", service_console_url) + _setter("source", source) + _setter("source_id", source_id) + _setter("standby_dbs", standby_dbs) + _setter("standby_whitelisted_ips", standby_whitelisted_ips) + _setter("state", state) + _setter("subnet_id", subnet_id) + _setter("supported_regions_to_clone_tos", supported_regions_to_clone_tos) + _setter("switchover_to", switchover_to) + _setter("switchover_to_remote_peer_id", switchover_to_remote_peer_id) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_data_guard_role_changed", time_data_guard_role_changed) + _setter("time_deletion_of_free_autonomous_database", time_deletion_of_free_autonomous_database) + _setter("time_disaster_recovery_role_changed", time_disaster_recovery_role_changed) + _setter("time_local_data_guard_enabled", time_local_data_guard_enabled) + _setter("time_maintenance_begin", time_maintenance_begin) + _setter("time_maintenance_end", time_maintenance_end) + _setter("time_of_joining_resource_pool", time_of_joining_resource_pool) + _setter("time_of_last_failover", time_of_last_failover) + _setter("time_of_last_refresh", time_of_last_refresh) + _setter("time_of_last_refresh_point", time_of_last_refresh_point) + _setter("time_of_last_switchover", time_of_last_switchover) + _setter("time_of_next_refresh", time_of_next_refresh) + _setter("time_reclamation_of_free_autonomous_database", time_reclamation_of_free_autonomous_database) + _setter("time_until_reconnect_clone_enabled", time_until_reconnect_clone_enabled) + _setter("timestamp", timestamp) + _setter("total_backup_storage_size_in_gbs", total_backup_storage_size_in_gbs) + _setter("use_latest_available_backup_time_stamp", use_latest_available_backup_time_stamp) + _setter("used_data_storage_size_in_gbs", used_data_storage_size_in_gbs) + _setter("used_data_storage_size_in_tbs", used_data_storage_size_in_tbs) + _setter("vault_id", vault_id) + _setter("whitelisted_ips", whitelisted_ips) @property @pulumi.getter(name="actualUsedDataStorageSizeInTbs") @@ -15206,6 +18677,22 @@ def remote_disaster_recovery_configurations(self) -> Sequence['outputs.GetAutono def remote_disaster_recovery_type(self) -> str: return pulumi.get(self, "remote_disaster_recovery_type") + @property + @pulumi.getter(name="resourcePoolLeaderId") + def resource_pool_leader_id(self) -> str: + """ + The database [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the resourcepool Leader Autonomous Database. + """ + return pulumi.get(self, "resource_pool_leader_id") + + @property + @pulumi.getter(name="resourcePoolSummaries") + def resource_pool_summaries(self) -> Sequence['outputs.GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryResult']: + """ + The configuration details for resource pool + """ + return pulumi.get(self, "resource_pool_summaries") + @property @pulumi.getter def role(self) -> str: @@ -15372,6 +18859,14 @@ def time_maintenance_end(self) -> str: """ return pulumi.get(self, "time_maintenance_end") + @property + @pulumi.getter(name="timeOfJoiningResourcePool") + def time_of_joining_resource_pool(self) -> str: + """ + The time the member joined the resource pool. + """ + return pulumi.get(self, "time_of_joining_resource_pool") + @property @pulumi.getter(name="timeOfLastFailover") def time_of_last_failover(self) -> str: @@ -15488,8 +18983,19 @@ def __init__(__self__, *, :param str apex_version: The Oracle APEX Application Development version. :param str ords_version: The Oracle REST Data Services (ORDS) version. """ - pulumi.set(__self__, "apex_version", apex_version) - pulumi.set(__self__, "ords_version", ords_version) + GetAutonomousDatabasesAutonomousDatabaseApexDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + apex_version=apex_version, + ords_version=ords_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + apex_version: str, + ords_version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("apex_version", apex_version) + _setter("ords_version", ords_version) @property @pulumi.getter(name="apexVersion") @@ -15517,8 +19023,19 @@ def __init__(__self__, *, :param str manual_backup_bucket_name: Name of [Object Storage](https://docs.cloud.oracle.com/iaas/Content/Object/Concepts/objectstorageoverview.htm) bucket to use for storing manual backups. :param str manual_backup_type: The manual backup destination type. """ - pulumi.set(__self__, "manual_backup_bucket_name", manual_backup_bucket_name) - pulumi.set(__self__, "manual_backup_type", manual_backup_type) + GetAutonomousDatabasesAutonomousDatabaseBackupConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + manual_backup_bucket_name=manual_backup_bucket_name, + manual_backup_type=manual_backup_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + manual_backup_bucket_name: str, + manual_backup_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("manual_backup_bucket_name", manual_backup_bucket_name) + _setter("manual_backup_type", manual_backup_type) @property @pulumi.getter(name="manualBackupBucketName") @@ -15554,12 +19071,31 @@ def __init__(__self__, *, :param str medium: The Medium database service provides a lower level of resources to each SQL statement potentially resulting a lower level of performance, but supports more concurrent SQL statements. :param Sequence['GetAutonomousDatabasesAutonomousDatabaseConnectionStringProfileArgs'] profiles: A list of connection string profiles to allow clients to group, filter and select connection string values based on structured metadata. """ - pulumi.set(__self__, "all_connection_strings", all_connection_strings) - pulumi.set(__self__, "dedicated", dedicated) - pulumi.set(__self__, "high", high) - pulumi.set(__self__, "low", low) - pulumi.set(__self__, "medium", medium) - pulumi.set(__self__, "profiles", profiles) + GetAutonomousDatabasesAutonomousDatabaseConnectionStringResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + all_connection_strings=all_connection_strings, + dedicated=dedicated, + high=high, + low=low, + medium=medium, + profiles=profiles, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + all_connection_strings: Mapping[str, Any], + dedicated: str, + high: str, + low: str, + medium: str, + profiles: Sequence['outputs.GetAutonomousDatabasesAutonomousDatabaseConnectionStringProfileResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("all_connection_strings", all_connection_strings) + _setter("dedicated", dedicated) + _setter("high", high) + _setter("low", low) + _setter("medium", medium) + _setter("profiles", profiles) @property @pulumi.getter(name="allConnectionStrings") @@ -15631,14 +19167,37 @@ def __init__(__self__, *, :param str tls_authentication: Specifies whether the TLS handshake is using one-way (`SERVER`) or mutual (`MUTUAL`) authentication. :param str value: Connection string value. """ - pulumi.set(__self__, "consumer_group", consumer_group) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "host_format", host_format) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "session_mode", session_mode) - pulumi.set(__self__, "syntax_format", syntax_format) - pulumi.set(__self__, "tls_authentication", tls_authentication) - pulumi.set(__self__, "value", value) + GetAutonomousDatabasesAutonomousDatabaseConnectionStringProfileResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + consumer_group=consumer_group, + display_name=display_name, + host_format=host_format, + protocol=protocol, + session_mode=session_mode, + syntax_format=syntax_format, + tls_authentication=tls_authentication, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + consumer_group: str, + display_name: str, + host_format: str, + protocol: str, + session_mode: str, + syntax_format: str, + tls_authentication: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("consumer_group", consumer_group) + _setter("display_name", display_name) + _setter("host_format", host_format) + _setter("protocol", protocol) + _setter("session_mode", session_mode) + _setter("syntax_format", syntax_format) + _setter("tls_authentication", tls_authentication) + _setter("value", value) @property @pulumi.getter(name="consumerGroup") @@ -15718,10 +19277,25 @@ def __init__(__self__, *, :param str machine_learning_user_management_url: Oracle Machine Learning user management URL. :param str sql_dev_web_url: Oracle SQL Developer Web URL. """ - pulumi.set(__self__, "apex_url", apex_url) - pulumi.set(__self__, "graph_studio_url", graph_studio_url) - pulumi.set(__self__, "machine_learning_user_management_url", machine_learning_user_management_url) - pulumi.set(__self__, "sql_dev_web_url", sql_dev_web_url) + GetAutonomousDatabasesAutonomousDatabaseConnectionUrlResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + apex_url=apex_url, + graph_studio_url=graph_studio_url, + machine_learning_user_management_url=machine_learning_user_management_url, + sql_dev_web_url=sql_dev_web_url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + apex_url: str, + graph_studio_url: str, + machine_learning_user_management_url: str, + sql_dev_web_url: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("apex_url", apex_url) + _setter("graph_studio_url", graph_studio_url) + _setter("machine_learning_user_management_url", machine_learning_user_management_url) + _setter("sql_dev_web_url", sql_dev_web_url) @property @pulumi.getter(name="apexUrl") @@ -15763,7 +19337,16 @@ def __init__(__self__, *, """ :param str email: The email address used by Oracle to send notifications regarding databases and infrastructure. """ - pulumi.set(__self__, "email", email) + GetAutonomousDatabasesAutonomousDatabaseCustomerContactResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + email=email, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + email: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("email", email) @property @pulumi.getter @@ -15787,10 +19370,25 @@ def __init__(__self__, *, :param str time_activated: The date and time the kms key activated. :param str vault_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure [vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). """ - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "kms_key_version_id", kms_key_version_id) - pulumi.set(__self__, "time_activated", time_activated) - pulumi.set(__self__, "vault_id", vault_id) + GetAutonomousDatabasesAutonomousDatabaseKeyHistoryEntryResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + kms_key_version_id=kms_key_version_id, + time_activated=time_activated, + vault_id=vault_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: str, + kms_key_version_id: str, + time_activated: str, + vault_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) + _setter("kms_key_version_id", kms_key_version_id) + _setter("time_activated", time_activated) + _setter("vault_id", vault_id) @property @pulumi.getter @@ -15840,11 +19438,28 @@ def __init__(__self__, *, :param str time_data_guard_role_changed: The date and time the Autonomous Data Guard role was switched for the Autonomous Database. For databases that have standbys in both the primary Data Guard region and a remote Data Guard standby region, this is the latest timestamp of either the database using the "primary" role in the primary Data Guard region, or database located in the remote Data Guard standby region. :param str time_disaster_recovery_role_changed: The date and time the Disaster Recovery role was switched for the standby Autonomous Database. """ - pulumi.set(__self__, "lag_time_in_seconds", lag_time_in_seconds) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_data_guard_role_changed", time_data_guard_role_changed) - pulumi.set(__self__, "time_disaster_recovery_role_changed", time_disaster_recovery_role_changed) + GetAutonomousDatabasesAutonomousDatabaseLocalStandbyDbResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + lag_time_in_seconds=lag_time_in_seconds, + lifecycle_details=lifecycle_details, + state=state, + time_data_guard_role_changed=time_data_guard_role_changed, + time_disaster_recovery_role_changed=time_disaster_recovery_role_changed, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + lag_time_in_seconds: int, + lifecycle_details: str, + state: str, + time_data_guard_role_changed: str, + time_disaster_recovery_role_changed: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("lag_time_in_seconds", lag_time_in_seconds) + _setter("lifecycle_details", lifecycle_details) + _setter("state", state) + _setter("time_data_guard_role_changed", time_data_guard_role_changed) + _setter("time_disaster_recovery_role_changed", time_disaster_recovery_role_changed) @property @pulumi.getter(name="lagTimeInSeconds") @@ -15895,21 +19510,36 @@ def __init__(__self__, *, retention_period_in_days: int, time_of_backup: str): """ - :param bool is_disabled: Indicates if the long-term backup schedule should be deleted. The default value is `FALSE`. + :param bool is_disabled: Indicates if the resource pool should be deleted for the Autonomous Database. :param str repeat_cadence: The frequency of the long-term backup schedule :param int retention_period_in_days: Retention period, in days, for long-term backups :param str time_of_backup: The timestamp for the long-term backup schedule. For a MONTHLY cadence, months having fewer days than the provided date will have the backup taken on the last day of that month. """ - pulumi.set(__self__, "is_disabled", is_disabled) - pulumi.set(__self__, "repeat_cadence", repeat_cadence) - pulumi.set(__self__, "retention_period_in_days", retention_period_in_days) - pulumi.set(__self__, "time_of_backup", time_of_backup) + GetAutonomousDatabasesAutonomousDatabaseLongTermBackupScheduleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_disabled=is_disabled, + repeat_cadence=repeat_cadence, + retention_period_in_days=retention_period_in_days, + time_of_backup=time_of_backup, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_disabled: bool, + repeat_cadence: str, + retention_period_in_days: int, + time_of_backup: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_disabled", is_disabled) + _setter("repeat_cadence", repeat_cadence) + _setter("retention_period_in_days", retention_period_in_days) + _setter("time_of_backup", time_of_backup) @property @pulumi.getter(name="isDisabled") def is_disabled(self) -> bool: """ - Indicates if the long-term backup schedule should be deleted. The default value is `FALSE`. + Indicates if the resource pool should be deleted for the Autonomous Database. """ return pulumi.get(self, "is_disabled") @@ -15945,7 +19575,16 @@ def __init__(__self__, *, """ :param str disaster_recovery_type: Indicates the disaster recovery (DR) type of the Shared Autonomous Database. Autonomous Data Guard (ADG) DR type provides business critical DR with a faster recovery time objective (RTO) during failover or switchover. Backup-based DR type provides lower cost DR with a slower RTO during failover or switchover. """ - pulumi.set(__self__, "disaster_recovery_type", disaster_recovery_type) + GetAutonomousDatabasesAutonomousDatabaseRemoteDisasterRecoveryConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + disaster_recovery_type=disaster_recovery_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + disaster_recovery_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("disaster_recovery_type", disaster_recovery_type) @property @pulumi.getter(name="disasterRecoveryType") @@ -15956,6 +19595,46 @@ def disaster_recovery_type(self) -> str: return pulumi.get(self, "disaster_recovery_type") +@pulumi.output_type +class GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryResult(dict): + def __init__(__self__, *, + is_disabled: bool, + pool_size: int): + """ + :param bool is_disabled: Indicates if the resource pool should be deleted for the Autonomous Database. + :param int pool_size: Resource pool size. + """ + GetAutonomousDatabasesAutonomousDatabaseResourcePoolSummaryResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_disabled=is_disabled, + pool_size=pool_size, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_disabled: bool, + pool_size: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_disabled", is_disabled) + _setter("pool_size", pool_size) + + @property + @pulumi.getter(name="isDisabled") + def is_disabled(self) -> bool: + """ + Indicates if the resource pool should be deleted for the Autonomous Database. + """ + return pulumi.get(self, "is_disabled") + + @property + @pulumi.getter(name="poolSize") + def pool_size(self) -> int: + """ + Resource pool size. + """ + return pulumi.get(self, "pool_size") + + @pulumi.output_type class GetAutonomousDatabasesAutonomousDatabaseScheduledOperationResult(dict): def __init__(__self__, *, @@ -15967,9 +19646,22 @@ def __init__(__self__, *, :param str scheduled_start_time: auto start time. value must be of ISO-8601 format "HH:mm" :param str scheduled_stop_time: auto stop time. value must be of ISO-8601 format "HH:mm" """ - pulumi.set(__self__, "day_of_weeks", day_of_weeks) - pulumi.set(__self__, "scheduled_start_time", scheduled_start_time) - pulumi.set(__self__, "scheduled_stop_time", scheduled_stop_time) + GetAutonomousDatabasesAutonomousDatabaseScheduledOperationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + day_of_weeks=day_of_weeks, + scheduled_start_time=scheduled_start_time, + scheduled_stop_time=scheduled_stop_time, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + day_of_weeks: Sequence['outputs.GetAutonomousDatabasesAutonomousDatabaseScheduledOperationDayOfWeekResult'], + scheduled_start_time: str, + scheduled_stop_time: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("day_of_weeks", day_of_weeks) + _setter("scheduled_start_time", scheduled_start_time) + _setter("scheduled_stop_time", scheduled_stop_time) @property @pulumi.getter(name="dayOfWeeks") @@ -16003,7 +19695,16 @@ def __init__(__self__, *, """ :param str name: Name of the day of the week. """ - pulumi.set(__self__, "name", name) + GetAutonomousDatabasesAutonomousDatabaseScheduledOperationDayOfWeekResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -16029,11 +19730,28 @@ def __init__(__self__, *, :param str time_data_guard_role_changed: The date and time the Autonomous Data Guard role was switched for the Autonomous Database. For databases that have standbys in both the primary Data Guard region and a remote Data Guard standby region, this is the latest timestamp of either the database using the "primary" role in the primary Data Guard region, or database located in the remote Data Guard standby region. :param str time_disaster_recovery_role_changed: The date and time the Disaster Recovery role was switched for the standby Autonomous Database. """ - pulumi.set(__self__, "lag_time_in_seconds", lag_time_in_seconds) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_data_guard_role_changed", time_data_guard_role_changed) - pulumi.set(__self__, "time_disaster_recovery_role_changed", time_disaster_recovery_role_changed) + GetAutonomousDatabasesAutonomousDatabaseStandbyDbResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + lag_time_in_seconds=lag_time_in_seconds, + lifecycle_details=lifecycle_details, + state=state, + time_data_guard_role_changed=time_data_guard_role_changed, + time_disaster_recovery_role_changed=time_disaster_recovery_role_changed, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + lag_time_in_seconds: int, + lifecycle_details: str, + state: str, + time_data_guard_role_changed: str, + time_disaster_recovery_role_changed: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("lag_time_in_seconds", lag_time_in_seconds) + _setter("lifecycle_details", lifecycle_details) + _setter("state", state) + _setter("time_data_guard_role_changed", time_data_guard_role_changed) + _setter("time_disaster_recovery_role_changed", time_disaster_recovery_role_changed) @property @pulumi.getter(name="lagTimeInSeconds") @@ -16153,6 +19871,8 @@ def __init__(__self__, *, refreshable_mode: str, refreshable_status: str, remote_disaster_recovery_configurations: Sequence['outputs.GetAutonomousDatabasesClonesAutonomousDatabaseRemoteDisasterRecoveryConfigurationResult'], + resource_pool_leader_id: str, + resource_pool_summaries: Sequence['outputs.GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryResult'], role: str, scheduled_operations: Sequence['outputs.GetAutonomousDatabasesClonesAutonomousDatabaseScheduledOperationResult'], service_console_url: str, @@ -16170,6 +19890,7 @@ def __init__(__self__, *, time_local_data_guard_enabled: str, time_maintenance_begin: str, time_maintenance_end: str, + time_of_joining_resource_pool: str, time_of_last_failover: str, time_of_last_refresh: str, time_of_last_refresh_point: str, @@ -16262,6 +19983,8 @@ def __init__(__self__, *, :param str refreshable_mode: The refresh mode of the clone. AUTOMATIC indicates that the clone is automatically being refreshed with data from the source Autonomous Database. :param str refreshable_status: The refresh status of the clone. REFRESHING indicates that the clone is currently being refreshed with data from the source Autonomous Database. :param Sequence['GetAutonomousDatabasesClonesAutonomousDatabaseRemoteDisasterRecoveryConfigurationArgs'] remote_disaster_recovery_configurations: Configurations of a Disaster Recovery. + :param str resource_pool_leader_id: The unique identifier for leader autonomous database OCID [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + :param Sequence['GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryArgs'] resource_pool_summaries: The configuration details for resource pool :param str role: The Data Guard role of the Autonomous Container Database or Autonomous Database, if Autonomous Data Guard is enabled. :param Sequence['GetAutonomousDatabasesClonesAutonomousDatabaseScheduledOperationArgs'] scheduled_operations: The list of scheduled operations. :param str service_console_url: The URL of the Service Console for the Autonomous Database. @@ -16292,109 +20015,331 @@ def __init__(__self__, *, :param str vault_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure [vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). :param Sequence[str] whitelisted_ips: The client IP access control list (ACL). This feature is available for [Autonomous Database Serverless] (https://docs.oracle.com/en/cloud/paas/autonomous-database/index.html) and on Exadata Cloud@Customer. Only clients connecting from an IP address included in the ACL may access the Autonomous Database instance. """ - pulumi.set(__self__, "actual_used_data_storage_size_in_tbs", actual_used_data_storage_size_in_tbs) - pulumi.set(__self__, "allocated_storage_size_in_tbs", allocated_storage_size_in_tbs) - pulumi.set(__self__, "apex_details", apex_details) - pulumi.set(__self__, "are_primary_whitelisted_ips_used", are_primary_whitelisted_ips_used) - pulumi.set(__self__, "autonomous_container_database_id", autonomous_container_database_id) - pulumi.set(__self__, "autonomous_maintenance_schedule_type", autonomous_maintenance_schedule_type) - pulumi.set(__self__, "available_upgrade_versions", available_upgrade_versions) - pulumi.set(__self__, "backup_configs", backup_configs) - pulumi.set(__self__, "backup_retention_period_in_days", backup_retention_period_in_days) - pulumi.set(__self__, "character_set", character_set) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "compute_count", compute_count) - pulumi.set(__self__, "compute_model", compute_model) - pulumi.set(__self__, "connection_strings", connection_strings) - pulumi.set(__self__, "connection_urls", connection_urls) - pulumi.set(__self__, "cpu_core_count", cpu_core_count) - pulumi.set(__self__, "customer_contacts", customer_contacts) - pulumi.set(__self__, "data_safe_status", data_safe_status) - pulumi.set(__self__, "data_storage_size_in_gb", data_storage_size_in_gb) - pulumi.set(__self__, "data_storage_size_in_tbs", data_storage_size_in_tbs) - pulumi.set(__self__, "database_edition", database_edition) - pulumi.set(__self__, "database_management_status", database_management_status) - pulumi.set(__self__, "dataguard_region_type", dataguard_region_type) - pulumi.set(__self__, "db_name", db_name) - pulumi.set(__self__, "db_version", db_version) - pulumi.set(__self__, "db_workload", db_workload) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "disaster_recovery_region_type", disaster_recovery_region_type) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "failed_data_recovery_in_seconds", failed_data_recovery_in_seconds) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "in_memory_area_in_gbs", in_memory_area_in_gbs) - pulumi.set(__self__, "in_memory_percentage", in_memory_percentage) - pulumi.set(__self__, "infrastructure_type", infrastructure_type) - pulumi.set(__self__, "is_access_control_enabled", is_access_control_enabled) - pulumi.set(__self__, "is_auto_scaling_enabled", is_auto_scaling_enabled) - pulumi.set(__self__, "is_auto_scaling_for_storage_enabled", is_auto_scaling_for_storage_enabled) - pulumi.set(__self__, "is_data_guard_enabled", is_data_guard_enabled) - pulumi.set(__self__, "is_dedicated", is_dedicated) - pulumi.set(__self__, "is_free_tier", is_free_tier) - pulumi.set(__self__, "is_local_data_guard_enabled", is_local_data_guard_enabled) - pulumi.set(__self__, "is_mtls_connection_required", is_mtls_connection_required) - pulumi.set(__self__, "is_preview", is_preview) - pulumi.set(__self__, "is_reconnect_clone_enabled", is_reconnect_clone_enabled) - pulumi.set(__self__, "is_refreshable_clone", is_refreshable_clone) - pulumi.set(__self__, "is_remote_data_guard_enabled", is_remote_data_guard_enabled) - pulumi.set(__self__, "key_history_entries", key_history_entries) - pulumi.set(__self__, "key_store_id", key_store_id) - pulumi.set(__self__, "key_store_wallet_name", key_store_wallet_name) - pulumi.set(__self__, "kms_key_id", kms_key_id) - pulumi.set(__self__, "kms_key_lifecycle_details", kms_key_lifecycle_details) - pulumi.set(__self__, "kms_key_version_id", kms_key_version_id) - pulumi.set(__self__, "license_model", license_model) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "local_adg_auto_failover_max_data_loss_limit", local_adg_auto_failover_max_data_loss_limit) - pulumi.set(__self__, "local_disaster_recovery_type", local_disaster_recovery_type) - pulumi.set(__self__, "local_standby_dbs", local_standby_dbs) - pulumi.set(__self__, "long_term_backup_schedules", long_term_backup_schedules) - pulumi.set(__self__, "max_cpu_core_count", max_cpu_core_count) - pulumi.set(__self__, "memory_per_oracle_compute_unit_in_gbs", memory_per_oracle_compute_unit_in_gbs) - pulumi.set(__self__, "ncharacter_set", ncharacter_set) - pulumi.set(__self__, "next_long_term_backup_time_stamp", next_long_term_backup_time_stamp) - pulumi.set(__self__, "nsg_ids", nsg_ids) - pulumi.set(__self__, "ocpu_count", ocpu_count) - pulumi.set(__self__, "open_mode", open_mode) - pulumi.set(__self__, "peer_db_ids", peer_db_ids) - pulumi.set(__self__, "private_endpoint", private_endpoint) - pulumi.set(__self__, "private_endpoint_ip", private_endpoint_ip) - pulumi.set(__self__, "private_endpoint_label", private_endpoint_label) - pulumi.set(__self__, "provisionable_cpuses", provisionable_cpuses) - pulumi.set(__self__, "refreshable_mode", refreshable_mode) - pulumi.set(__self__, "refreshable_status", refreshable_status) - pulumi.set(__self__, "remote_disaster_recovery_configurations", remote_disaster_recovery_configurations) - pulumi.set(__self__, "role", role) - pulumi.set(__self__, "scheduled_operations", scheduled_operations) - pulumi.set(__self__, "service_console_url", service_console_url) - pulumi.set(__self__, "source_id", source_id) - pulumi.set(__self__, "standby_dbs", standby_dbs) - pulumi.set(__self__, "standby_whitelisted_ips", standby_whitelisted_ips) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "supported_regions_to_clone_tos", supported_regions_to_clone_tos) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_data_guard_role_changed", time_data_guard_role_changed) - pulumi.set(__self__, "time_deletion_of_free_autonomous_database", time_deletion_of_free_autonomous_database) - pulumi.set(__self__, "time_disaster_recovery_role_changed", time_disaster_recovery_role_changed) - pulumi.set(__self__, "time_local_data_guard_enabled", time_local_data_guard_enabled) - pulumi.set(__self__, "time_maintenance_begin", time_maintenance_begin) - pulumi.set(__self__, "time_maintenance_end", time_maintenance_end) - pulumi.set(__self__, "time_of_last_failover", time_of_last_failover) - pulumi.set(__self__, "time_of_last_refresh", time_of_last_refresh) - pulumi.set(__self__, "time_of_last_refresh_point", time_of_last_refresh_point) - pulumi.set(__self__, "time_of_last_switchover", time_of_last_switchover) - pulumi.set(__self__, "time_of_next_refresh", time_of_next_refresh) - pulumi.set(__self__, "time_reclamation_of_free_autonomous_database", time_reclamation_of_free_autonomous_database) - pulumi.set(__self__, "time_until_reconnect_clone_enabled", time_until_reconnect_clone_enabled) - pulumi.set(__self__, "total_backup_storage_size_in_gbs", total_backup_storage_size_in_gbs) - pulumi.set(__self__, "used_data_storage_size_in_gbs", used_data_storage_size_in_gbs) - pulumi.set(__self__, "used_data_storage_size_in_tbs", used_data_storage_size_in_tbs) - pulumi.set(__self__, "vault_id", vault_id) - pulumi.set(__self__, "whitelisted_ips", whitelisted_ips) + GetAutonomousDatabasesClonesAutonomousDatabaseResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + actual_used_data_storage_size_in_tbs=actual_used_data_storage_size_in_tbs, + allocated_storage_size_in_tbs=allocated_storage_size_in_tbs, + apex_details=apex_details, + are_primary_whitelisted_ips_used=are_primary_whitelisted_ips_used, + autonomous_container_database_id=autonomous_container_database_id, + autonomous_maintenance_schedule_type=autonomous_maintenance_schedule_type, + available_upgrade_versions=available_upgrade_versions, + backup_configs=backup_configs, + backup_retention_period_in_days=backup_retention_period_in_days, + character_set=character_set, + compartment_id=compartment_id, + compute_count=compute_count, + compute_model=compute_model, + connection_strings=connection_strings, + connection_urls=connection_urls, + cpu_core_count=cpu_core_count, + customer_contacts=customer_contacts, + data_safe_status=data_safe_status, + data_storage_size_in_gb=data_storage_size_in_gb, + data_storage_size_in_tbs=data_storage_size_in_tbs, + database_edition=database_edition, + database_management_status=database_management_status, + dataguard_region_type=dataguard_region_type, + db_name=db_name, + db_version=db_version, + db_workload=db_workload, + defined_tags=defined_tags, + disaster_recovery_region_type=disaster_recovery_region_type, + display_name=display_name, + failed_data_recovery_in_seconds=failed_data_recovery_in_seconds, + freeform_tags=freeform_tags, + id=id, + in_memory_area_in_gbs=in_memory_area_in_gbs, + in_memory_percentage=in_memory_percentage, + infrastructure_type=infrastructure_type, + is_access_control_enabled=is_access_control_enabled, + is_auto_scaling_enabled=is_auto_scaling_enabled, + is_auto_scaling_for_storage_enabled=is_auto_scaling_for_storage_enabled, + is_data_guard_enabled=is_data_guard_enabled, + is_dedicated=is_dedicated, + is_free_tier=is_free_tier, + is_local_data_guard_enabled=is_local_data_guard_enabled, + is_mtls_connection_required=is_mtls_connection_required, + is_preview=is_preview, + is_reconnect_clone_enabled=is_reconnect_clone_enabled, + is_refreshable_clone=is_refreshable_clone, + is_remote_data_guard_enabled=is_remote_data_guard_enabled, + key_history_entries=key_history_entries, + key_store_id=key_store_id, + key_store_wallet_name=key_store_wallet_name, + kms_key_id=kms_key_id, + kms_key_lifecycle_details=kms_key_lifecycle_details, + kms_key_version_id=kms_key_version_id, + license_model=license_model, + lifecycle_details=lifecycle_details, + local_adg_auto_failover_max_data_loss_limit=local_adg_auto_failover_max_data_loss_limit, + local_disaster_recovery_type=local_disaster_recovery_type, + local_standby_dbs=local_standby_dbs, + long_term_backup_schedules=long_term_backup_schedules, + max_cpu_core_count=max_cpu_core_count, + memory_per_oracle_compute_unit_in_gbs=memory_per_oracle_compute_unit_in_gbs, + ncharacter_set=ncharacter_set, + next_long_term_backup_time_stamp=next_long_term_backup_time_stamp, + nsg_ids=nsg_ids, + ocpu_count=ocpu_count, + open_mode=open_mode, + peer_db_ids=peer_db_ids, + private_endpoint=private_endpoint, + private_endpoint_ip=private_endpoint_ip, + private_endpoint_label=private_endpoint_label, + provisionable_cpuses=provisionable_cpuses, + refreshable_mode=refreshable_mode, + refreshable_status=refreshable_status, + remote_disaster_recovery_configurations=remote_disaster_recovery_configurations, + resource_pool_leader_id=resource_pool_leader_id, + resource_pool_summaries=resource_pool_summaries, + role=role, + scheduled_operations=scheduled_operations, + service_console_url=service_console_url, + source_id=source_id, + standby_dbs=standby_dbs, + standby_whitelisted_ips=standby_whitelisted_ips, + state=state, + subnet_id=subnet_id, + supported_regions_to_clone_tos=supported_regions_to_clone_tos, + system_tags=system_tags, + time_created=time_created, + time_data_guard_role_changed=time_data_guard_role_changed, + time_deletion_of_free_autonomous_database=time_deletion_of_free_autonomous_database, + time_disaster_recovery_role_changed=time_disaster_recovery_role_changed, + time_local_data_guard_enabled=time_local_data_guard_enabled, + time_maintenance_begin=time_maintenance_begin, + time_maintenance_end=time_maintenance_end, + time_of_joining_resource_pool=time_of_joining_resource_pool, + time_of_last_failover=time_of_last_failover, + time_of_last_refresh=time_of_last_refresh, + time_of_last_refresh_point=time_of_last_refresh_point, + time_of_last_switchover=time_of_last_switchover, + time_of_next_refresh=time_of_next_refresh, + time_reclamation_of_free_autonomous_database=time_reclamation_of_free_autonomous_database, + time_until_reconnect_clone_enabled=time_until_reconnect_clone_enabled, + total_backup_storage_size_in_gbs=total_backup_storage_size_in_gbs, + used_data_storage_size_in_gbs=used_data_storage_size_in_gbs, + used_data_storage_size_in_tbs=used_data_storage_size_in_tbs, + vault_id=vault_id, + whitelisted_ips=whitelisted_ips, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + actual_used_data_storage_size_in_tbs: float, + allocated_storage_size_in_tbs: float, + apex_details: Sequence['outputs.GetAutonomousDatabasesClonesAutonomousDatabaseApexDetailResult'], + are_primary_whitelisted_ips_used: bool, + autonomous_container_database_id: str, + autonomous_maintenance_schedule_type: str, + available_upgrade_versions: Sequence[str], + backup_configs: Sequence['outputs.GetAutonomousDatabasesClonesAutonomousDatabaseBackupConfigResult'], + backup_retention_period_in_days: int, + character_set: str, + compartment_id: str, + compute_count: float, + compute_model: str, + connection_strings: Sequence['outputs.GetAutonomousDatabasesClonesAutonomousDatabaseConnectionStringResult'], + connection_urls: Sequence['outputs.GetAutonomousDatabasesClonesAutonomousDatabaseConnectionUrlResult'], + cpu_core_count: int, + customer_contacts: Sequence['outputs.GetAutonomousDatabasesClonesAutonomousDatabaseCustomerContactResult'], + data_safe_status: str, + data_storage_size_in_gb: int, + data_storage_size_in_tbs: int, + database_edition: str, + database_management_status: str, + dataguard_region_type: str, + db_name: str, + db_version: str, + db_workload: str, + defined_tags: Mapping[str, Any], + disaster_recovery_region_type: str, + display_name: str, + failed_data_recovery_in_seconds: int, + freeform_tags: Mapping[str, Any], + id: str, + in_memory_area_in_gbs: int, + in_memory_percentage: int, + infrastructure_type: str, + is_access_control_enabled: bool, + is_auto_scaling_enabled: bool, + is_auto_scaling_for_storage_enabled: bool, + is_data_guard_enabled: bool, + is_dedicated: bool, + is_free_tier: bool, + is_local_data_guard_enabled: bool, + is_mtls_connection_required: bool, + is_preview: bool, + is_reconnect_clone_enabled: bool, + is_refreshable_clone: bool, + is_remote_data_guard_enabled: bool, + key_history_entries: Sequence['outputs.GetAutonomousDatabasesClonesAutonomousDatabaseKeyHistoryEntryResult'], + key_store_id: str, + key_store_wallet_name: str, + kms_key_id: str, + kms_key_lifecycle_details: str, + kms_key_version_id: str, + license_model: str, + lifecycle_details: str, + local_adg_auto_failover_max_data_loss_limit: int, + local_disaster_recovery_type: str, + local_standby_dbs: Sequence['outputs.GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDbResult'], + long_term_backup_schedules: Sequence['outputs.GetAutonomousDatabasesClonesAutonomousDatabaseLongTermBackupScheduleResult'], + max_cpu_core_count: int, + memory_per_oracle_compute_unit_in_gbs: int, + ncharacter_set: str, + next_long_term_backup_time_stamp: str, + nsg_ids: Sequence[str], + ocpu_count: float, + open_mode: str, + peer_db_ids: Sequence[str], + private_endpoint: str, + private_endpoint_ip: str, + private_endpoint_label: str, + provisionable_cpuses: Sequence[float], + refreshable_mode: str, + refreshable_status: str, + remote_disaster_recovery_configurations: Sequence['outputs.GetAutonomousDatabasesClonesAutonomousDatabaseRemoteDisasterRecoveryConfigurationResult'], + resource_pool_leader_id: str, + resource_pool_summaries: Sequence['outputs.GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryResult'], + role: str, + scheduled_operations: Sequence['outputs.GetAutonomousDatabasesClonesAutonomousDatabaseScheduledOperationResult'], + service_console_url: str, + source_id: str, + standby_dbs: Sequence['outputs.GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDbResult'], + standby_whitelisted_ips: Sequence[str], + state: str, + subnet_id: str, + supported_regions_to_clone_tos: Sequence[str], + system_tags: Mapping[str, Any], + time_created: str, + time_data_guard_role_changed: str, + time_deletion_of_free_autonomous_database: str, + time_disaster_recovery_role_changed: str, + time_local_data_guard_enabled: str, + time_maintenance_begin: str, + time_maintenance_end: str, + time_of_joining_resource_pool: str, + time_of_last_failover: str, + time_of_last_refresh: str, + time_of_last_refresh_point: str, + time_of_last_switchover: str, + time_of_next_refresh: str, + time_reclamation_of_free_autonomous_database: str, + time_until_reconnect_clone_enabled: str, + total_backup_storage_size_in_gbs: float, + used_data_storage_size_in_gbs: int, + used_data_storage_size_in_tbs: int, + vault_id: str, + whitelisted_ips: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("actual_used_data_storage_size_in_tbs", actual_used_data_storage_size_in_tbs) + _setter("allocated_storage_size_in_tbs", allocated_storage_size_in_tbs) + _setter("apex_details", apex_details) + _setter("are_primary_whitelisted_ips_used", are_primary_whitelisted_ips_used) + _setter("autonomous_container_database_id", autonomous_container_database_id) + _setter("autonomous_maintenance_schedule_type", autonomous_maintenance_schedule_type) + _setter("available_upgrade_versions", available_upgrade_versions) + _setter("backup_configs", backup_configs) + _setter("backup_retention_period_in_days", backup_retention_period_in_days) + _setter("character_set", character_set) + _setter("compartment_id", compartment_id) + _setter("compute_count", compute_count) + _setter("compute_model", compute_model) + _setter("connection_strings", connection_strings) + _setter("connection_urls", connection_urls) + _setter("cpu_core_count", cpu_core_count) + _setter("customer_contacts", customer_contacts) + _setter("data_safe_status", data_safe_status) + _setter("data_storage_size_in_gb", data_storage_size_in_gb) + _setter("data_storage_size_in_tbs", data_storage_size_in_tbs) + _setter("database_edition", database_edition) + _setter("database_management_status", database_management_status) + _setter("dataguard_region_type", dataguard_region_type) + _setter("db_name", db_name) + _setter("db_version", db_version) + _setter("db_workload", db_workload) + _setter("defined_tags", defined_tags) + _setter("disaster_recovery_region_type", disaster_recovery_region_type) + _setter("display_name", display_name) + _setter("failed_data_recovery_in_seconds", failed_data_recovery_in_seconds) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("in_memory_area_in_gbs", in_memory_area_in_gbs) + _setter("in_memory_percentage", in_memory_percentage) + _setter("infrastructure_type", infrastructure_type) + _setter("is_access_control_enabled", is_access_control_enabled) + _setter("is_auto_scaling_enabled", is_auto_scaling_enabled) + _setter("is_auto_scaling_for_storage_enabled", is_auto_scaling_for_storage_enabled) + _setter("is_data_guard_enabled", is_data_guard_enabled) + _setter("is_dedicated", is_dedicated) + _setter("is_free_tier", is_free_tier) + _setter("is_local_data_guard_enabled", is_local_data_guard_enabled) + _setter("is_mtls_connection_required", is_mtls_connection_required) + _setter("is_preview", is_preview) + _setter("is_reconnect_clone_enabled", is_reconnect_clone_enabled) + _setter("is_refreshable_clone", is_refreshable_clone) + _setter("is_remote_data_guard_enabled", is_remote_data_guard_enabled) + _setter("key_history_entries", key_history_entries) + _setter("key_store_id", key_store_id) + _setter("key_store_wallet_name", key_store_wallet_name) + _setter("kms_key_id", kms_key_id) + _setter("kms_key_lifecycle_details", kms_key_lifecycle_details) + _setter("kms_key_version_id", kms_key_version_id) + _setter("license_model", license_model) + _setter("lifecycle_details", lifecycle_details) + _setter("local_adg_auto_failover_max_data_loss_limit", local_adg_auto_failover_max_data_loss_limit) + _setter("local_disaster_recovery_type", local_disaster_recovery_type) + _setter("local_standby_dbs", local_standby_dbs) + _setter("long_term_backup_schedules", long_term_backup_schedules) + _setter("max_cpu_core_count", max_cpu_core_count) + _setter("memory_per_oracle_compute_unit_in_gbs", memory_per_oracle_compute_unit_in_gbs) + _setter("ncharacter_set", ncharacter_set) + _setter("next_long_term_backup_time_stamp", next_long_term_backup_time_stamp) + _setter("nsg_ids", nsg_ids) + _setter("ocpu_count", ocpu_count) + _setter("open_mode", open_mode) + _setter("peer_db_ids", peer_db_ids) + _setter("private_endpoint", private_endpoint) + _setter("private_endpoint_ip", private_endpoint_ip) + _setter("private_endpoint_label", private_endpoint_label) + _setter("provisionable_cpuses", provisionable_cpuses) + _setter("refreshable_mode", refreshable_mode) + _setter("refreshable_status", refreshable_status) + _setter("remote_disaster_recovery_configurations", remote_disaster_recovery_configurations) + _setter("resource_pool_leader_id", resource_pool_leader_id) + _setter("resource_pool_summaries", resource_pool_summaries) + _setter("role", role) + _setter("scheduled_operations", scheduled_operations) + _setter("service_console_url", service_console_url) + _setter("source_id", source_id) + _setter("standby_dbs", standby_dbs) + _setter("standby_whitelisted_ips", standby_whitelisted_ips) + _setter("state", state) + _setter("subnet_id", subnet_id) + _setter("supported_regions_to_clone_tos", supported_regions_to_clone_tos) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_data_guard_role_changed", time_data_guard_role_changed) + _setter("time_deletion_of_free_autonomous_database", time_deletion_of_free_autonomous_database) + _setter("time_disaster_recovery_role_changed", time_disaster_recovery_role_changed) + _setter("time_local_data_guard_enabled", time_local_data_guard_enabled) + _setter("time_maintenance_begin", time_maintenance_begin) + _setter("time_maintenance_end", time_maintenance_end) + _setter("time_of_joining_resource_pool", time_of_joining_resource_pool) + _setter("time_of_last_failover", time_of_last_failover) + _setter("time_of_last_refresh", time_of_last_refresh) + _setter("time_of_last_refresh_point", time_of_last_refresh_point) + _setter("time_of_last_switchover", time_of_last_switchover) + _setter("time_of_next_refresh", time_of_next_refresh) + _setter("time_reclamation_of_free_autonomous_database", time_reclamation_of_free_autonomous_database) + _setter("time_until_reconnect_clone_enabled", time_until_reconnect_clone_enabled) + _setter("total_backup_storage_size_in_gbs", total_backup_storage_size_in_gbs) + _setter("used_data_storage_size_in_gbs", used_data_storage_size_in_gbs) + _setter("used_data_storage_size_in_tbs", used_data_storage_size_in_tbs) + _setter("vault_id", vault_id) + _setter("whitelisted_ips", whitelisted_ips) @property @pulumi.getter(name="actualUsedDataStorageSizeInTbs") @@ -16993,6 +20938,22 @@ def remote_disaster_recovery_configurations(self) -> Sequence['outputs.GetAutono """ return pulumi.get(self, "remote_disaster_recovery_configurations") + @property + @pulumi.getter(name="resourcePoolLeaderId") + def resource_pool_leader_id(self) -> str: + """ + The unique identifier for leader autonomous database OCID [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + """ + return pulumi.get(self, "resource_pool_leader_id") + + @property + @pulumi.getter(name="resourcePoolSummaries") + def resource_pool_summaries(self) -> Sequence['outputs.GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryResult']: + """ + The configuration details for resource pool + """ + return pulumi.get(self, "resource_pool_summaries") + @property @pulumi.getter def role(self) -> str: @@ -17129,6 +21090,11 @@ def time_maintenance_end(self) -> str: """ return pulumi.get(self, "time_maintenance_end") + @property + @pulumi.getter(name="timeOfJoiningResourcePool") + def time_of_joining_resource_pool(self) -> str: + return pulumi.get(self, "time_of_joining_resource_pool") + @property @pulumi.getter(name="timeOfLastFailover") def time_of_last_failover(self) -> str: @@ -17235,8 +21201,19 @@ def __init__(__self__, *, :param str apex_version: The Oracle APEX Application Development version. :param str ords_version: The Oracle REST Data Services (ORDS) version. """ - pulumi.set(__self__, "apex_version", apex_version) - pulumi.set(__self__, "ords_version", ords_version) + GetAutonomousDatabasesClonesAutonomousDatabaseApexDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + apex_version=apex_version, + ords_version=ords_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + apex_version: str, + ords_version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("apex_version", apex_version) + _setter("ords_version", ords_version) @property @pulumi.getter(name="apexVersion") @@ -17264,8 +21241,19 @@ def __init__(__self__, *, :param str manual_backup_bucket_name: Name of [Object Storage](https://docs.cloud.oracle.com/iaas/Content/Object/Concepts/objectstorageoverview.htm) bucket to use for storing manual backups. :param str manual_backup_type: The manual backup destination type. """ - pulumi.set(__self__, "manual_backup_bucket_name", manual_backup_bucket_name) - pulumi.set(__self__, "manual_backup_type", manual_backup_type) + GetAutonomousDatabasesClonesAutonomousDatabaseBackupConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + manual_backup_bucket_name=manual_backup_bucket_name, + manual_backup_type=manual_backup_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + manual_backup_bucket_name: str, + manual_backup_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("manual_backup_bucket_name", manual_backup_bucket_name) + _setter("manual_backup_type", manual_backup_type) @property @pulumi.getter(name="manualBackupBucketName") @@ -17301,12 +21289,31 @@ def __init__(__self__, *, :param str medium: The Medium database service provides a lower level of resources to each SQL statement potentially resulting a lower level of performance, but supports more concurrent SQL statements. :param Sequence['GetAutonomousDatabasesClonesAutonomousDatabaseConnectionStringProfileArgs'] profiles: A list of connection string profiles to allow clients to group, filter and select connection string values based on structured metadata. """ - pulumi.set(__self__, "all_connection_strings", all_connection_strings) - pulumi.set(__self__, "dedicated", dedicated) - pulumi.set(__self__, "high", high) - pulumi.set(__self__, "low", low) - pulumi.set(__self__, "medium", medium) - pulumi.set(__self__, "profiles", profiles) + GetAutonomousDatabasesClonesAutonomousDatabaseConnectionStringResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + all_connection_strings=all_connection_strings, + dedicated=dedicated, + high=high, + low=low, + medium=medium, + profiles=profiles, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + all_connection_strings: Mapping[str, Any], + dedicated: str, + high: str, + low: str, + medium: str, + profiles: Sequence['outputs.GetAutonomousDatabasesClonesAutonomousDatabaseConnectionStringProfileResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("all_connection_strings", all_connection_strings) + _setter("dedicated", dedicated) + _setter("high", high) + _setter("low", low) + _setter("medium", medium) + _setter("profiles", profiles) @property @pulumi.getter(name="allConnectionStrings") @@ -17378,14 +21385,37 @@ def __init__(__self__, *, :param str tls_authentication: Specifies whether the TLS handshake is using one-way (`SERVER`) or mutual (`MUTUAL`) authentication. :param str value: Connection string value. """ - pulumi.set(__self__, "consumer_group", consumer_group) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "host_format", host_format) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "session_mode", session_mode) - pulumi.set(__self__, "syntax_format", syntax_format) - pulumi.set(__self__, "tls_authentication", tls_authentication) - pulumi.set(__self__, "value", value) + GetAutonomousDatabasesClonesAutonomousDatabaseConnectionStringProfileResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + consumer_group=consumer_group, + display_name=display_name, + host_format=host_format, + protocol=protocol, + session_mode=session_mode, + syntax_format=syntax_format, + tls_authentication=tls_authentication, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + consumer_group: str, + display_name: str, + host_format: str, + protocol: str, + session_mode: str, + syntax_format: str, + tls_authentication: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("consumer_group", consumer_group) + _setter("display_name", display_name) + _setter("host_format", host_format) + _setter("protocol", protocol) + _setter("session_mode", session_mode) + _setter("syntax_format", syntax_format) + _setter("tls_authentication", tls_authentication) + _setter("value", value) @property @pulumi.getter(name="consumerGroup") @@ -17465,10 +21495,25 @@ def __init__(__self__, *, :param str machine_learning_user_management_url: Oracle Machine Learning user management URL. :param str sql_dev_web_url: Oracle SQL Developer Web URL. """ - pulumi.set(__self__, "apex_url", apex_url) - pulumi.set(__self__, "graph_studio_url", graph_studio_url) - pulumi.set(__self__, "machine_learning_user_management_url", machine_learning_user_management_url) - pulumi.set(__self__, "sql_dev_web_url", sql_dev_web_url) + GetAutonomousDatabasesClonesAutonomousDatabaseConnectionUrlResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + apex_url=apex_url, + graph_studio_url=graph_studio_url, + machine_learning_user_management_url=machine_learning_user_management_url, + sql_dev_web_url=sql_dev_web_url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + apex_url: str, + graph_studio_url: str, + machine_learning_user_management_url: str, + sql_dev_web_url: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("apex_url", apex_url) + _setter("graph_studio_url", graph_studio_url) + _setter("machine_learning_user_management_url", machine_learning_user_management_url) + _setter("sql_dev_web_url", sql_dev_web_url) @property @pulumi.getter(name="apexUrl") @@ -17510,7 +21555,16 @@ def __init__(__self__, *, """ :param str email: The email address used by Oracle to send notifications regarding databases and infrastructure. """ - pulumi.set(__self__, "email", email) + GetAutonomousDatabasesClonesAutonomousDatabaseCustomerContactResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + email=email, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + email: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("email", email) @property @pulumi.getter @@ -17534,10 +21588,25 @@ def __init__(__self__, *, :param str time_activated: The date and time the kms key activated. :param str vault_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure [vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). """ - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "kms_key_version_id", kms_key_version_id) - pulumi.set(__self__, "time_activated", time_activated) - pulumi.set(__self__, "vault_id", vault_id) + GetAutonomousDatabasesClonesAutonomousDatabaseKeyHistoryEntryResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + kms_key_version_id=kms_key_version_id, + time_activated=time_activated, + vault_id=vault_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: str, + kms_key_version_id: str, + time_activated: str, + vault_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) + _setter("kms_key_version_id", kms_key_version_id) + _setter("time_activated", time_activated) + _setter("vault_id", vault_id) @property @pulumi.getter @@ -17587,11 +21656,28 @@ def __init__(__self__, *, :param str time_data_guard_role_changed: The date and time the Autonomous Data Guard role was switched for the Autonomous Database. For databases that have standbys in both the primary Data Guard region and a remote Data Guard standby region, this is the latest timestamp of either the database using the "primary" role in the primary Data Guard region, or database located in the remote Data Guard standby region. :param str time_disaster_recovery_role_changed: The date and time the Disaster Recovery role was switched for the standby Autonomous Database. """ - pulumi.set(__self__, "lag_time_in_seconds", lag_time_in_seconds) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_data_guard_role_changed", time_data_guard_role_changed) - pulumi.set(__self__, "time_disaster_recovery_role_changed", time_disaster_recovery_role_changed) + GetAutonomousDatabasesClonesAutonomousDatabaseLocalStandbyDbResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + lag_time_in_seconds=lag_time_in_seconds, + lifecycle_details=lifecycle_details, + state=state, + time_data_guard_role_changed=time_data_guard_role_changed, + time_disaster_recovery_role_changed=time_disaster_recovery_role_changed, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + lag_time_in_seconds: int, + lifecycle_details: str, + state: str, + time_data_guard_role_changed: str, + time_disaster_recovery_role_changed: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("lag_time_in_seconds", lag_time_in_seconds) + _setter("lifecycle_details", lifecycle_details) + _setter("state", state) + _setter("time_data_guard_role_changed", time_data_guard_role_changed) + _setter("time_disaster_recovery_role_changed", time_disaster_recovery_role_changed) @property @pulumi.getter(name="lagTimeInSeconds") @@ -17642,21 +21728,36 @@ def __init__(__self__, *, retention_period_in_days: int, time_of_backup: str): """ - :param bool is_disabled: Indicates if the long-term backup schedule should be deleted. The default value is `FALSE`. + :param bool is_disabled: Indicates if the resource pool should be deleted for the Autonomous Database. :param str repeat_cadence: The frequency of the long-term backup schedule :param int retention_period_in_days: Retention period, in days, for long-term backups :param str time_of_backup: The timestamp for the long-term backup schedule. For a MONTHLY cadence, months having fewer days than the provided date will have the backup taken on the last day of that month. """ - pulumi.set(__self__, "is_disabled", is_disabled) - pulumi.set(__self__, "repeat_cadence", repeat_cadence) - pulumi.set(__self__, "retention_period_in_days", retention_period_in_days) - pulumi.set(__self__, "time_of_backup", time_of_backup) + GetAutonomousDatabasesClonesAutonomousDatabaseLongTermBackupScheduleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_disabled=is_disabled, + repeat_cadence=repeat_cadence, + retention_period_in_days=retention_period_in_days, + time_of_backup=time_of_backup, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_disabled: bool, + repeat_cadence: str, + retention_period_in_days: int, + time_of_backup: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_disabled", is_disabled) + _setter("repeat_cadence", repeat_cadence) + _setter("retention_period_in_days", retention_period_in_days) + _setter("time_of_backup", time_of_backup) @property @pulumi.getter(name="isDisabled") def is_disabled(self) -> bool: """ - Indicates if the long-term backup schedule should be deleted. The default value is `FALSE`. + Indicates if the resource pool should be deleted for the Autonomous Database. """ return pulumi.get(self, "is_disabled") @@ -17692,7 +21793,16 @@ def __init__(__self__, *, """ :param str disaster_recovery_type: Indicates the disaster recovery (DR) type of the Shared Autonomous Database. Autonomous Data Guard (ADG) DR type provides business critical DR with a faster recovery time objective (RTO) during failover or switchover. Backup-based DR type provides lower cost DR with a slower RTO during failover or switchover. """ - pulumi.set(__self__, "disaster_recovery_type", disaster_recovery_type) + GetAutonomousDatabasesClonesAutonomousDatabaseRemoteDisasterRecoveryConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + disaster_recovery_type=disaster_recovery_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + disaster_recovery_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("disaster_recovery_type", disaster_recovery_type) @property @pulumi.getter(name="disasterRecoveryType") @@ -17703,6 +21813,46 @@ def disaster_recovery_type(self) -> str: return pulumi.get(self, "disaster_recovery_type") +@pulumi.output_type +class GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryResult(dict): + def __init__(__self__, *, + is_disabled: bool, + pool_size: int): + """ + :param bool is_disabled: Indicates if the resource pool should be deleted for the Autonomous Database. + :param int pool_size: Resource pool size. + """ + GetAutonomousDatabasesClonesAutonomousDatabaseResourcePoolSummaryResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_disabled=is_disabled, + pool_size=pool_size, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_disabled: bool, + pool_size: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_disabled", is_disabled) + _setter("pool_size", pool_size) + + @property + @pulumi.getter(name="isDisabled") + def is_disabled(self) -> bool: + """ + Indicates if the resource pool should be deleted for the Autonomous Database. + """ + return pulumi.get(self, "is_disabled") + + @property + @pulumi.getter(name="poolSize") + def pool_size(self) -> int: + """ + Resource pool size. + """ + return pulumi.get(self, "pool_size") + + @pulumi.output_type class GetAutonomousDatabasesClonesAutonomousDatabaseScheduledOperationResult(dict): def __init__(__self__, *, @@ -17714,9 +21864,22 @@ def __init__(__self__, *, :param str scheduled_start_time: auto start time. value must be of ISO-8601 format "HH:mm" :param str scheduled_stop_time: auto stop time. value must be of ISO-8601 format "HH:mm" """ - pulumi.set(__self__, "day_of_weeks", day_of_weeks) - pulumi.set(__self__, "scheduled_start_time", scheduled_start_time) - pulumi.set(__self__, "scheduled_stop_time", scheduled_stop_time) + GetAutonomousDatabasesClonesAutonomousDatabaseScheduledOperationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + day_of_weeks=day_of_weeks, + scheduled_start_time=scheduled_start_time, + scheduled_stop_time=scheduled_stop_time, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + day_of_weeks: Sequence['outputs.GetAutonomousDatabasesClonesAutonomousDatabaseScheduledOperationDayOfWeekResult'], + scheduled_start_time: str, + scheduled_stop_time: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("day_of_weeks", day_of_weeks) + _setter("scheduled_start_time", scheduled_start_time) + _setter("scheduled_stop_time", scheduled_stop_time) @property @pulumi.getter(name="dayOfWeeks") @@ -17750,7 +21913,16 @@ def __init__(__self__, *, """ :param str name: Name of the day of the week. """ - pulumi.set(__self__, "name", name) + GetAutonomousDatabasesClonesAutonomousDatabaseScheduledOperationDayOfWeekResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -17776,11 +21948,28 @@ def __init__(__self__, *, :param str time_data_guard_role_changed: The date and time the Autonomous Data Guard role was switched for the Autonomous Database. For databases that have standbys in both the primary Data Guard region and a remote Data Guard standby region, this is the latest timestamp of either the database using the "primary" role in the primary Data Guard region, or database located in the remote Data Guard standby region. :param str time_disaster_recovery_role_changed: The date and time the Disaster Recovery role was switched for the standby Autonomous Database. """ - pulumi.set(__self__, "lag_time_in_seconds", lag_time_in_seconds) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_data_guard_role_changed", time_data_guard_role_changed) - pulumi.set(__self__, "time_disaster_recovery_role_changed", time_disaster_recovery_role_changed) + GetAutonomousDatabasesClonesAutonomousDatabaseStandbyDbResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + lag_time_in_seconds=lag_time_in_seconds, + lifecycle_details=lifecycle_details, + state=state, + time_data_guard_role_changed=time_data_guard_role_changed, + time_disaster_recovery_role_changed=time_disaster_recovery_role_changed, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + lag_time_in_seconds: int, + lifecycle_details: str, + state: str, + time_data_guard_role_changed: str, + time_disaster_recovery_role_changed: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("lag_time_in_seconds", lag_time_in_seconds) + _setter("lifecycle_details", lifecycle_details) + _setter("state", state) + _setter("time_data_guard_role_changed", time_data_guard_role_changed) + _setter("time_disaster_recovery_role_changed", time_disaster_recovery_role_changed) @property @pulumi.getter(name="lagTimeInSeconds") @@ -17832,10 +22021,23 @@ def __init__(__self__, *, """ :param str name: Name of the day of the week. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAutonomousDatabasesClonesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -17865,10 +22067,23 @@ def __init__(__self__, *, """ :param str name: Name of the day of the week. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAutonomousDatabasesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -17908,11 +22123,28 @@ def __init__(__self__, *, :param str time_preview_end: The date and time when the preview version availability ends. :param str version: A valid Autonomous Database preview version. """ - pulumi.set(__self__, "db_workload", db_workload) - pulumi.set(__self__, "details", details) - pulumi.set(__self__, "time_preview_begin", time_preview_begin) - pulumi.set(__self__, "time_preview_end", time_preview_end) - pulumi.set(__self__, "version", version) + GetAutonomousDbPreviewVersionsAutonomousDbPreviewVersionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_workload=db_workload, + details=details, + time_preview_begin=time_preview_begin, + time_preview_end=time_preview_end, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_workload: str, + details: str, + time_preview_begin: str, + time_preview_end: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("db_workload", db_workload) + _setter("details", details) + _setter("time_preview_begin", time_preview_begin) + _setter("time_preview_end", time_preview_end) + _setter("version", version) @property @pulumi.getter(name="dbWorkload") @@ -17965,10 +22197,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAutonomousDbPreviewVersionsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -18007,14 +22252,37 @@ def __init__(__self__, *, :param bool is_paid_enabled: True if this version of the Oracle Database software has payments enabled. :param str version: A valid Oracle Database version for Autonomous Database. """ - pulumi.set(__self__, "db_workload", db_workload) - pulumi.set(__self__, "details", details) - pulumi.set(__self__, "is_dedicated", is_dedicated) - pulumi.set(__self__, "is_default_for_free", is_default_for_free) - pulumi.set(__self__, "is_default_for_paid", is_default_for_paid) - pulumi.set(__self__, "is_free_tier_enabled", is_free_tier_enabled) - pulumi.set(__self__, "is_paid_enabled", is_paid_enabled) - pulumi.set(__self__, "version", version) + GetAutonomousDbVersionsAutonomousDbVersionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_workload=db_workload, + details=details, + is_dedicated=is_dedicated, + is_default_for_free=is_default_for_free, + is_default_for_paid=is_default_for_paid, + is_free_tier_enabled=is_free_tier_enabled, + is_paid_enabled=is_paid_enabled, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_workload: str, + details: str, + is_dedicated: bool, + is_default_for_free: bool, + is_default_for_paid: bool, + is_free_tier_enabled: bool, + is_paid_enabled: bool, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("db_workload", db_workload) + _setter("details", details) + _setter("is_dedicated", is_dedicated) + _setter("is_default_for_free", is_default_for_free) + _setter("is_default_for_paid", is_default_for_paid) + _setter("is_free_tier_enabled", is_free_tier_enabled) + _setter("is_paid_enabled", is_paid_enabled) + _setter("version", version) @property @pulumi.getter(name="dbWorkload") @@ -18087,10 +22355,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAutonomousDbVersionsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -18134,16 +22415,43 @@ def __init__(__self__, *, :param str preference: The maintenance window scheduling preference. :param Sequence[int] weeks_of_months: Weeks during the month when maintenance should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week. For example, to allow maintenance during the 2nd week of the month (from the 8th day to the 14th day of the month), use the value 2. Maintenance cannot be scheduled for the fifth week of months that contain more than 28 days. Note that this parameter works in conjunction with the daysOfWeek and hoursOfDay parameters to allow you to specify specific days of the week and hours that maintenance will be performed. """ - pulumi.set(__self__, "custom_action_timeout_in_mins", custom_action_timeout_in_mins) - pulumi.set(__self__, "days_of_weeks", days_of_weeks) - pulumi.set(__self__, "hours_of_days", hours_of_days) - pulumi.set(__self__, "is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) - pulumi.set(__self__, "is_monthly_patching_enabled", is_monthly_patching_enabled) - pulumi.set(__self__, "lead_time_in_weeks", lead_time_in_weeks) - pulumi.set(__self__, "months", months) - pulumi.set(__self__, "patching_mode", patching_mode) - pulumi.set(__self__, "preference", preference) - pulumi.set(__self__, "weeks_of_months", weeks_of_months) + GetAutonomousExadataInfrastructureMaintenanceWindowResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_action_timeout_in_mins=custom_action_timeout_in_mins, + days_of_weeks=days_of_weeks, + hours_of_days=hours_of_days, + is_custom_action_timeout_enabled=is_custom_action_timeout_enabled, + is_monthly_patching_enabled=is_monthly_patching_enabled, + lead_time_in_weeks=lead_time_in_weeks, + months=months, + patching_mode=patching_mode, + preference=preference, + weeks_of_months=weeks_of_months, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_action_timeout_in_mins: int, + days_of_weeks: Sequence['outputs.GetAutonomousExadataInfrastructureMaintenanceWindowDaysOfWeekResult'], + hours_of_days: Sequence[int], + is_custom_action_timeout_enabled: bool, + is_monthly_patching_enabled: bool, + lead_time_in_weeks: int, + months: Sequence['outputs.GetAutonomousExadataInfrastructureMaintenanceWindowMonthResult'], + patching_mode: str, + preference: str, + weeks_of_months: Sequence[int], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("custom_action_timeout_in_mins", custom_action_timeout_in_mins) + _setter("days_of_weeks", days_of_weeks) + _setter("hours_of_days", hours_of_days) + _setter("is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) + _setter("is_monthly_patching_enabled", is_monthly_patching_enabled) + _setter("lead_time_in_weeks", lead_time_in_weeks) + _setter("months", months) + _setter("patching_mode", patching_mode) + _setter("preference", preference) + _setter("weeks_of_months", weeks_of_months) @property @pulumi.getter(name="customActionTimeoutInMins") @@ -18234,7 +22542,16 @@ def __init__(__self__, *, """ :param str name: Name of the month of the year. """ - pulumi.set(__self__, "name", name) + GetAutonomousExadataInfrastructureMaintenanceWindowDaysOfWeekResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -18271,16 +22588,43 @@ def __init__(__self__, *, :param str preference: The maintenance window scheduling preference. :param Sequence[int] weeks_of_months: Weeks during the month when maintenance should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week. For example, to allow maintenance during the 2nd week of the month (from the 8th day to the 14th day of the month), use the value 2. Maintenance cannot be scheduled for the fifth week of months that contain more than 28 days. Note that this parameter works in conjunction with the daysOfWeek and hoursOfDay parameters to allow you to specify specific days of the week and hours that maintenance will be performed. """ - pulumi.set(__self__, "custom_action_timeout_in_mins", custom_action_timeout_in_mins) - pulumi.set(__self__, "days_of_weeks", days_of_weeks) - pulumi.set(__self__, "hours_of_days", hours_of_days) - pulumi.set(__self__, "is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) - pulumi.set(__self__, "is_monthly_patching_enabled", is_monthly_patching_enabled) - pulumi.set(__self__, "lead_time_in_weeks", lead_time_in_weeks) - pulumi.set(__self__, "months", months) - pulumi.set(__self__, "patching_mode", patching_mode) - pulumi.set(__self__, "preference", preference) - pulumi.set(__self__, "weeks_of_months", weeks_of_months) + GetAutonomousExadataInfrastructureMaintenanceWindowDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_action_timeout_in_mins=custom_action_timeout_in_mins, + days_of_weeks=days_of_weeks, + hours_of_days=hours_of_days, + is_custom_action_timeout_enabled=is_custom_action_timeout_enabled, + is_monthly_patching_enabled=is_monthly_patching_enabled, + lead_time_in_weeks=lead_time_in_weeks, + months=months, + patching_mode=patching_mode, + preference=preference, + weeks_of_months=weeks_of_months, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_action_timeout_in_mins: int, + days_of_weeks: Sequence['outputs.GetAutonomousExadataInfrastructureMaintenanceWindowDetailDaysOfWeekResult'], + hours_of_days: Sequence[int], + is_custom_action_timeout_enabled: bool, + is_monthly_patching_enabled: bool, + lead_time_in_weeks: int, + months: Sequence['outputs.GetAutonomousExadataInfrastructureMaintenanceWindowDetailMonthResult'], + patching_mode: str, + preference: str, + weeks_of_months: Sequence[int], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("custom_action_timeout_in_mins", custom_action_timeout_in_mins) + _setter("days_of_weeks", days_of_weeks) + _setter("hours_of_days", hours_of_days) + _setter("is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) + _setter("is_monthly_patching_enabled", is_monthly_patching_enabled) + _setter("lead_time_in_weeks", lead_time_in_weeks) + _setter("months", months) + _setter("patching_mode", patching_mode) + _setter("preference", preference) + _setter("weeks_of_months", weeks_of_months) @property @pulumi.getter(name="customActionTimeoutInMins") @@ -18371,7 +22715,16 @@ def __init__(__self__, *, """ :param str name: Name of the month of the year. """ - pulumi.set(__self__, "name", name) + GetAutonomousExadataInfrastructureMaintenanceWindowDetailDaysOfWeekResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -18389,7 +22742,16 @@ def __init__(__self__, *, """ :param str name: Name of the month of the year. """ - pulumi.set(__self__, "name", name) + GetAutonomousExadataInfrastructureMaintenanceWindowDetailMonthResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -18407,7 +22769,16 @@ def __init__(__self__, *, """ :param str name: Name of the month of the year. """ - pulumi.set(__self__, "name", name) + GetAutonomousExadataInfrastructureMaintenanceWindowMonthResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -18427,8 +22798,19 @@ def __init__(__self__, *, :param float adw: The total number of OCPU cores in use for Autonomous Data Warehouse databases in the infrastructure instance. :param float atp: The total number of OCPU cores in use for Autonomous Transaction Processing databases in the infrastructure instance. """ - pulumi.set(__self__, "adw", adw) - pulumi.set(__self__, "atp", atp) + GetAutonomousExadataInfrastructureOcpuByWorkloadTypeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + adw=adw, + atp=atp, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + adw: float, + atp: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("adw", adw) + _setter("atp", atp) @property @pulumi.getter @@ -18464,12 +22846,31 @@ def __init__(__self__, *, :param int minimum_node_count: The minimum number of nodes available for the shape. :param str name: The name of the shape used for the Autonomous Exadata Infrastructure. """ - pulumi.set(__self__, "available_core_count", available_core_count) - pulumi.set(__self__, "core_count_increment", core_count_increment) - pulumi.set(__self__, "maximum_node_count", maximum_node_count) - pulumi.set(__self__, "minimum_core_count", minimum_core_count) - pulumi.set(__self__, "minimum_node_count", minimum_node_count) - pulumi.set(__self__, "name", name) + GetAutonomousExadataInfrastructureShapesAutonomousExadataInfrastructureShapeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + available_core_count=available_core_count, + core_count_increment=core_count_increment, + maximum_node_count=maximum_node_count, + minimum_core_count=minimum_core_count, + minimum_node_count=minimum_node_count, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + available_core_count: int, + core_count_increment: int, + maximum_node_count: int, + minimum_core_count: int, + minimum_node_count: int, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("available_core_count", available_core_count) + _setter("core_count_increment", core_count_increment) + _setter("maximum_node_count", maximum_node_count) + _setter("minimum_core_count", minimum_core_count) + _setter("minimum_node_count", minimum_node_count) + _setter("name", name) @property @pulumi.getter(name="availableCoreCount") @@ -18529,10 +22930,23 @@ def __init__(__self__, *, """ :param str name: The name of the shape used for the Autonomous Exadata Infrastructure. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAutonomousExadataInfrastructureShapesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -18601,28 +23015,79 @@ def __init__(__self__, *, :param str time_created: The date and time the Autonomous Exadata Infrastructure was created. :param str zone_id: The OCID of the zone the Autonomous Exadata Infrastructure is associated with. """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "create_async", create_async) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "domain", domain) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "hostname", hostname) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "last_maintenance_run_id", last_maintenance_run_id) - pulumi.set(__self__, "license_model", license_model) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "maintenance_window_details", maintenance_window_details) - pulumi.set(__self__, "maintenance_windows", maintenance_windows) - pulumi.set(__self__, "next_maintenance_run_id", next_maintenance_run_id) - pulumi.set(__self__, "nsg_ids", nsg_ids) - pulumi.set(__self__, "scan_dns_name", scan_dns_name) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "zone_id", zone_id) + GetAutonomousExadataInfrastructuresAutonomousExadataInfrastructureResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + compartment_id=compartment_id, + create_async=create_async, + defined_tags=defined_tags, + display_name=display_name, + domain=domain, + freeform_tags=freeform_tags, + hostname=hostname, + id=id, + last_maintenance_run_id=last_maintenance_run_id, + license_model=license_model, + lifecycle_details=lifecycle_details, + maintenance_window_details=maintenance_window_details, + maintenance_windows=maintenance_windows, + next_maintenance_run_id=next_maintenance_run_id, + nsg_ids=nsg_ids, + scan_dns_name=scan_dns_name, + shape=shape, + state=state, + subnet_id=subnet_id, + time_created=time_created, + zone_id=zone_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + compartment_id: str, + create_async: bool, + defined_tags: Mapping[str, Any], + display_name: str, + domain: str, + freeform_tags: Mapping[str, Any], + hostname: str, + id: str, + last_maintenance_run_id: str, + license_model: str, + lifecycle_details: str, + maintenance_window_details: Sequence['outputs.GetAutonomousExadataInfrastructuresAutonomousExadataInfrastructureMaintenanceWindowDetailResult'], + maintenance_windows: Sequence['outputs.GetAutonomousExadataInfrastructuresAutonomousExadataInfrastructureMaintenanceWindowResult'], + next_maintenance_run_id: str, + nsg_ids: Sequence[str], + scan_dns_name: str, + shape: str, + state: str, + subnet_id: str, + time_created: str, + zone_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("compartment_id", compartment_id) + _setter("create_async", create_async) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("domain", domain) + _setter("freeform_tags", freeform_tags) + _setter("hostname", hostname) + _setter("id", id) + _setter("last_maintenance_run_id", last_maintenance_run_id) + _setter("license_model", license_model) + _setter("lifecycle_details", lifecycle_details) + _setter("maintenance_window_details", maintenance_window_details) + _setter("maintenance_windows", maintenance_windows) + _setter("next_maintenance_run_id", next_maintenance_run_id) + _setter("nsg_ids", nsg_ids) + _setter("scan_dns_name", scan_dns_name) + _setter("shape", shape) + _setter("state", state) + _setter("subnet_id", subnet_id) + _setter("time_created", time_created) + _setter("zone_id", zone_id) @property @pulumi.getter(name="availabilityDomain") @@ -18825,16 +23290,43 @@ def __init__(__self__, *, :param str preference: The maintenance window scheduling preference. :param Sequence[int] weeks_of_months: Weeks during the month when maintenance should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week. For example, to allow maintenance during the 2nd week of the month (from the 8th day to the 14th day of the month), use the value 2. Maintenance cannot be scheduled for the fifth week of months that contain more than 28 days. Note that this parameter works in conjunction with the daysOfWeek and hoursOfDay parameters to allow you to specify specific days of the week and hours that maintenance will be performed. """ - pulumi.set(__self__, "custom_action_timeout_in_mins", custom_action_timeout_in_mins) - pulumi.set(__self__, "days_of_weeks", days_of_weeks) - pulumi.set(__self__, "hours_of_days", hours_of_days) - pulumi.set(__self__, "is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) - pulumi.set(__self__, "is_monthly_patching_enabled", is_monthly_patching_enabled) - pulumi.set(__self__, "lead_time_in_weeks", lead_time_in_weeks) - pulumi.set(__self__, "months", months) - pulumi.set(__self__, "patching_mode", patching_mode) - pulumi.set(__self__, "preference", preference) - pulumi.set(__self__, "weeks_of_months", weeks_of_months) + GetAutonomousExadataInfrastructuresAutonomousExadataInfrastructureMaintenanceWindowResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_action_timeout_in_mins=custom_action_timeout_in_mins, + days_of_weeks=days_of_weeks, + hours_of_days=hours_of_days, + is_custom_action_timeout_enabled=is_custom_action_timeout_enabled, + is_monthly_patching_enabled=is_monthly_patching_enabled, + lead_time_in_weeks=lead_time_in_weeks, + months=months, + patching_mode=patching_mode, + preference=preference, + weeks_of_months=weeks_of_months, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_action_timeout_in_mins: int, + days_of_weeks: Sequence['outputs.GetAutonomousExadataInfrastructuresAutonomousExadataInfrastructureMaintenanceWindowDaysOfWeekResult'], + hours_of_days: Sequence[int], + is_custom_action_timeout_enabled: bool, + is_monthly_patching_enabled: bool, + lead_time_in_weeks: int, + months: Sequence['outputs.GetAutonomousExadataInfrastructuresAutonomousExadataInfrastructureMaintenanceWindowMonthResult'], + patching_mode: str, + preference: str, + weeks_of_months: Sequence[int], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("custom_action_timeout_in_mins", custom_action_timeout_in_mins) + _setter("days_of_weeks", days_of_weeks) + _setter("hours_of_days", hours_of_days) + _setter("is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) + _setter("is_monthly_patching_enabled", is_monthly_patching_enabled) + _setter("lead_time_in_weeks", lead_time_in_weeks) + _setter("months", months) + _setter("patching_mode", patching_mode) + _setter("preference", preference) + _setter("weeks_of_months", weeks_of_months) @property @pulumi.getter(name="customActionTimeoutInMins") @@ -18925,7 +23417,16 @@ def __init__(__self__, *, """ :param str name: Name of the month of the year. """ - pulumi.set(__self__, "name", name) + GetAutonomousExadataInfrastructuresAutonomousExadataInfrastructureMaintenanceWindowDaysOfWeekResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -18962,16 +23463,43 @@ def __init__(__self__, *, :param str preference: The maintenance window scheduling preference. :param Sequence[int] weeks_of_months: Weeks during the month when maintenance should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week. For example, to allow maintenance during the 2nd week of the month (from the 8th day to the 14th day of the month), use the value 2. Maintenance cannot be scheduled for the fifth week of months that contain more than 28 days. Note that this parameter works in conjunction with the daysOfWeek and hoursOfDay parameters to allow you to specify specific days of the week and hours that maintenance will be performed. """ - pulumi.set(__self__, "custom_action_timeout_in_mins", custom_action_timeout_in_mins) - pulumi.set(__self__, "days_of_weeks", days_of_weeks) - pulumi.set(__self__, "hours_of_days", hours_of_days) - pulumi.set(__self__, "is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) - pulumi.set(__self__, "is_monthly_patching_enabled", is_monthly_patching_enabled) - pulumi.set(__self__, "lead_time_in_weeks", lead_time_in_weeks) - pulumi.set(__self__, "months", months) - pulumi.set(__self__, "patching_mode", patching_mode) - pulumi.set(__self__, "preference", preference) - pulumi.set(__self__, "weeks_of_months", weeks_of_months) + GetAutonomousExadataInfrastructuresAutonomousExadataInfrastructureMaintenanceWindowDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_action_timeout_in_mins=custom_action_timeout_in_mins, + days_of_weeks=days_of_weeks, + hours_of_days=hours_of_days, + is_custom_action_timeout_enabled=is_custom_action_timeout_enabled, + is_monthly_patching_enabled=is_monthly_patching_enabled, + lead_time_in_weeks=lead_time_in_weeks, + months=months, + patching_mode=patching_mode, + preference=preference, + weeks_of_months=weeks_of_months, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_action_timeout_in_mins: int, + days_of_weeks: Sequence['outputs.GetAutonomousExadataInfrastructuresAutonomousExadataInfrastructureMaintenanceWindowDetailDaysOfWeekResult'], + hours_of_days: Sequence[int], + is_custom_action_timeout_enabled: bool, + is_monthly_patching_enabled: bool, + lead_time_in_weeks: int, + months: Sequence['outputs.GetAutonomousExadataInfrastructuresAutonomousExadataInfrastructureMaintenanceWindowDetailMonthResult'], + patching_mode: str, + preference: str, + weeks_of_months: Sequence[int], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("custom_action_timeout_in_mins", custom_action_timeout_in_mins) + _setter("days_of_weeks", days_of_weeks) + _setter("hours_of_days", hours_of_days) + _setter("is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) + _setter("is_monthly_patching_enabled", is_monthly_patching_enabled) + _setter("lead_time_in_weeks", lead_time_in_weeks) + _setter("months", months) + _setter("patching_mode", patching_mode) + _setter("preference", preference) + _setter("weeks_of_months", weeks_of_months) @property @pulumi.getter(name="customActionTimeoutInMins") @@ -19062,7 +23590,16 @@ def __init__(__self__, *, """ :param str name: Name of the month of the year. """ - pulumi.set(__self__, "name", name) + GetAutonomousExadataInfrastructuresAutonomousExadataInfrastructureMaintenanceWindowDetailDaysOfWeekResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -19080,7 +23617,16 @@ def __init__(__self__, *, """ :param str name: Name of the month of the year. """ - pulumi.set(__self__, "name", name) + GetAutonomousExadataInfrastructuresAutonomousExadataInfrastructureMaintenanceWindowDetailMonthResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -19098,7 +23644,16 @@ def __init__(__self__, *, """ :param str name: Name of the month of the year. """ - pulumi.set(__self__, "name", name) + GetAutonomousExadataInfrastructuresAutonomousExadataInfrastructureMaintenanceWindowMonthResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -19118,10 +23673,23 @@ def __init__(__self__, *, """ :param str name: Name of the month of the year. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAutonomousExadataInfrastructuresFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -19173,19 +23741,52 @@ def __init__(__self__, *, :param str state: A filter to return only resources that match the given lifecycle state exactly. :param str vm_name: The name of the Autonomous Virtual Machine. """ - pulumi.set(__self__, "autonomous_vm_cluster_id", autonomous_vm_cluster_id) - pulumi.set(__self__, "client_ip_address", client_ip_address) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "cpu_core_count", cpu_core_count) - pulumi.set(__self__, "db_node_storage_size_in_gbs", db_node_storage_size_in_gbs) - pulumi.set(__self__, "db_server_display_name", db_server_display_name) - pulumi.set(__self__, "db_server_id", db_server_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "memory_size_in_gbs", memory_size_in_gbs) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "vm_name", vm_name) + GetAutonomousVirtualMachinesAutonomousVirtualMachineResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + autonomous_vm_cluster_id=autonomous_vm_cluster_id, + client_ip_address=client_ip_address, + compartment_id=compartment_id, + cpu_core_count=cpu_core_count, + db_node_storage_size_in_gbs=db_node_storage_size_in_gbs, + db_server_display_name=db_server_display_name, + db_server_id=db_server_id, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + id=id, + memory_size_in_gbs=memory_size_in_gbs, + state=state, + vm_name=vm_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + autonomous_vm_cluster_id: str, + client_ip_address: str, + compartment_id: str, + cpu_core_count: int, + db_node_storage_size_in_gbs: int, + db_server_display_name: str, + db_server_id: str, + defined_tags: Mapping[str, Any], + freeform_tags: Mapping[str, Any], + id: str, + memory_size_in_gbs: int, + state: str, + vm_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("autonomous_vm_cluster_id", autonomous_vm_cluster_id) + _setter("client_ip_address", client_ip_address) + _setter("compartment_id", compartment_id) + _setter("cpu_core_count", cpu_core_count) + _setter("db_node_storage_size_in_gbs", db_node_storage_size_in_gbs) + _setter("db_server_display_name", db_server_display_name) + _setter("db_server_id", db_server_id) + _setter("defined_tags", defined_tags) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("memory_size_in_gbs", memory_size_in_gbs) + _setter("state", state) + _setter("vm_name", vm_name) @property @pulumi.getter(name="autonomousVmClusterId") @@ -19298,10 +23899,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAutonomousVirtualMachinesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -19341,16 +23955,43 @@ def __init__(__self__, *, :param str preference: The maintenance window scheduling preference. :param Sequence[int] weeks_of_months: Weeks during the month when maintenance should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week. For example, to allow maintenance during the 2nd week of the month (from the 8th day to the 14th day of the month), use the value 2. Maintenance cannot be scheduled for the fifth week of months that contain more than 28 days. Note that this parameter works in conjunction with the daysOfWeek and hoursOfDay parameters to allow you to specify specific days of the week and hours that maintenance will be performed. """ - pulumi.set(__self__, "custom_action_timeout_in_mins", custom_action_timeout_in_mins) - pulumi.set(__self__, "days_of_weeks", days_of_weeks) - pulumi.set(__self__, "hours_of_days", hours_of_days) - pulumi.set(__self__, "is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) - pulumi.set(__self__, "is_monthly_patching_enabled", is_monthly_patching_enabled) - pulumi.set(__self__, "lead_time_in_weeks", lead_time_in_weeks) - pulumi.set(__self__, "months", months) - pulumi.set(__self__, "patching_mode", patching_mode) - pulumi.set(__self__, "preference", preference) - pulumi.set(__self__, "weeks_of_months", weeks_of_months) + GetAutonomousVmClusterMaintenanceWindowResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_action_timeout_in_mins=custom_action_timeout_in_mins, + days_of_weeks=days_of_weeks, + hours_of_days=hours_of_days, + is_custom_action_timeout_enabled=is_custom_action_timeout_enabled, + is_monthly_patching_enabled=is_monthly_patching_enabled, + lead_time_in_weeks=lead_time_in_weeks, + months=months, + patching_mode=patching_mode, + preference=preference, + weeks_of_months=weeks_of_months, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_action_timeout_in_mins: int, + days_of_weeks: Sequence['outputs.GetAutonomousVmClusterMaintenanceWindowDaysOfWeekResult'], + hours_of_days: Sequence[int], + is_custom_action_timeout_enabled: bool, + is_monthly_patching_enabled: bool, + lead_time_in_weeks: int, + months: Sequence['outputs.GetAutonomousVmClusterMaintenanceWindowMonthResult'], + patching_mode: str, + preference: str, + weeks_of_months: Sequence[int], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("custom_action_timeout_in_mins", custom_action_timeout_in_mins) + _setter("days_of_weeks", days_of_weeks) + _setter("hours_of_days", hours_of_days) + _setter("is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) + _setter("is_monthly_patching_enabled", is_monthly_patching_enabled) + _setter("lead_time_in_weeks", lead_time_in_weeks) + _setter("months", months) + _setter("patching_mode", patching_mode) + _setter("preference", preference) + _setter("weeks_of_months", weeks_of_months) @property @pulumi.getter(name="customActionTimeoutInMins") @@ -19429,7 +24070,16 @@ def __init__(__self__, *, """ :param str name: Name of the month of the year. """ - pulumi.set(__self__, "name", name) + GetAutonomousVmClusterMaintenanceWindowDaysOfWeekResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -19462,16 +24112,43 @@ def __init__(__self__, *, :param str preference: The maintenance window scheduling preference. :param Sequence[int] weeks_of_months: Weeks during the month when maintenance should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week. For example, to allow maintenance during the 2nd week of the month (from the 8th day to the 14th day of the month), use the value 2. Maintenance cannot be scheduled for the fifth week of months that contain more than 28 days. Note that this parameter works in conjunction with the daysOfWeek and hoursOfDay parameters to allow you to specify specific days of the week and hours that maintenance will be performed. """ - pulumi.set(__self__, "custom_action_timeout_in_mins", custom_action_timeout_in_mins) - pulumi.set(__self__, "days_of_weeks", days_of_weeks) - pulumi.set(__self__, "hours_of_days", hours_of_days) - pulumi.set(__self__, "is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) - pulumi.set(__self__, "is_monthly_patching_enabled", is_monthly_patching_enabled) - pulumi.set(__self__, "lead_time_in_weeks", lead_time_in_weeks) - pulumi.set(__self__, "months", months) - pulumi.set(__self__, "patching_mode", patching_mode) - pulumi.set(__self__, "preference", preference) - pulumi.set(__self__, "weeks_of_months", weeks_of_months) + GetAutonomousVmClusterMaintenanceWindowDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_action_timeout_in_mins=custom_action_timeout_in_mins, + days_of_weeks=days_of_weeks, + hours_of_days=hours_of_days, + is_custom_action_timeout_enabled=is_custom_action_timeout_enabled, + is_monthly_patching_enabled=is_monthly_patching_enabled, + lead_time_in_weeks=lead_time_in_weeks, + months=months, + patching_mode=patching_mode, + preference=preference, + weeks_of_months=weeks_of_months, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_action_timeout_in_mins: int, + days_of_weeks: Sequence['outputs.GetAutonomousVmClusterMaintenanceWindowDetailDaysOfWeekResult'], + hours_of_days: Sequence[int], + is_custom_action_timeout_enabled: bool, + is_monthly_patching_enabled: bool, + lead_time_in_weeks: int, + months: Sequence['outputs.GetAutonomousVmClusterMaintenanceWindowDetailMonthResult'], + patching_mode: str, + preference: str, + weeks_of_months: Sequence[int], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("custom_action_timeout_in_mins", custom_action_timeout_in_mins) + _setter("days_of_weeks", days_of_weeks) + _setter("hours_of_days", hours_of_days) + _setter("is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) + _setter("is_monthly_patching_enabled", is_monthly_patching_enabled) + _setter("lead_time_in_weeks", lead_time_in_weeks) + _setter("months", months) + _setter("patching_mode", patching_mode) + _setter("preference", preference) + _setter("weeks_of_months", weeks_of_months) @property @pulumi.getter(name="customActionTimeoutInMins") @@ -19550,7 +24227,16 @@ def __init__(__self__, *, """ :param str name: Name of the month of the year. """ - pulumi.set(__self__, "name", name) + GetAutonomousVmClusterMaintenanceWindowDetailDaysOfWeekResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -19568,7 +24254,16 @@ def __init__(__self__, *, """ :param str name: Name of the month of the year. """ - pulumi.set(__self__, "name", name) + GetAutonomousVmClusterMaintenanceWindowDetailMonthResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -19586,7 +24281,16 @@ def __init__(__self__, *, """ :param str name: Name of the month of the year. """ - pulumi.set(__self__, "name", name) + GetAutonomousVmClusterMaintenanceWindowMonthResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -19683,46 +24387,133 @@ def __init__(__self__, *, :param int total_container_databases: The total number of Autonomous Container Databases that can be created. :param str vm_cluster_network_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM cluster network. """ - pulumi.set(__self__, "autonomous_data_storage_size_in_tbs", autonomous_data_storage_size_in_tbs) - pulumi.set(__self__, "available_autonomous_data_storage_size_in_tbs", available_autonomous_data_storage_size_in_tbs) - pulumi.set(__self__, "available_container_databases", available_container_databases) - pulumi.set(__self__, "available_cpus", available_cpus) - pulumi.set(__self__, "available_data_storage_size_in_tbs", available_data_storage_size_in_tbs) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "compute_model", compute_model) - pulumi.set(__self__, "cpu_core_count_per_node", cpu_core_count_per_node) - pulumi.set(__self__, "cpus_enabled", cpus_enabled) - pulumi.set(__self__, "data_storage_size_in_gb", data_storage_size_in_gb) - pulumi.set(__self__, "data_storage_size_in_tbs", data_storage_size_in_tbs) - pulumi.set(__self__, "db_node_storage_size_in_gbs", db_node_storage_size_in_gbs) - pulumi.set(__self__, "db_servers", db_servers) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "exadata_infrastructure_id", exadata_infrastructure_id) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_local_backup_enabled", is_local_backup_enabled) - pulumi.set(__self__, "is_mtls_enabled", is_mtls_enabled) - pulumi.set(__self__, "last_maintenance_run_id", last_maintenance_run_id) - pulumi.set(__self__, "license_model", license_model) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "maintenance_window_details", maintenance_window_details) - pulumi.set(__self__, "maintenance_windows", maintenance_windows) - pulumi.set(__self__, "memory_per_oracle_compute_unit_in_gbs", memory_per_oracle_compute_unit_in_gbs) - pulumi.set(__self__, "memory_size_in_gbs", memory_size_in_gbs) - pulumi.set(__self__, "next_maintenance_run_id", next_maintenance_run_id) - pulumi.set(__self__, "node_count", node_count) - pulumi.set(__self__, "ocpus_enabled", ocpus_enabled) - pulumi.set(__self__, "reclaimable_cpus", reclaimable_cpus) - pulumi.set(__self__, "scan_listener_port_non_tls", scan_listener_port_non_tls) - pulumi.set(__self__, "scan_listener_port_tls", scan_listener_port_tls) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_database_ssl_certificate_expires", time_database_ssl_certificate_expires) - pulumi.set(__self__, "time_ords_certificate_expires", time_ords_certificate_expires) - pulumi.set(__self__, "time_zone", time_zone) - pulumi.set(__self__, "total_container_databases", total_container_databases) - pulumi.set(__self__, "vm_cluster_network_id", vm_cluster_network_id) + GetAutonomousVmClustersAutonomousVmClusterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + autonomous_data_storage_size_in_tbs=autonomous_data_storage_size_in_tbs, + available_autonomous_data_storage_size_in_tbs=available_autonomous_data_storage_size_in_tbs, + available_container_databases=available_container_databases, + available_cpus=available_cpus, + available_data_storage_size_in_tbs=available_data_storage_size_in_tbs, + compartment_id=compartment_id, + compute_model=compute_model, + cpu_core_count_per_node=cpu_core_count_per_node, + cpus_enabled=cpus_enabled, + data_storage_size_in_gb=data_storage_size_in_gb, + data_storage_size_in_tbs=data_storage_size_in_tbs, + db_node_storage_size_in_gbs=db_node_storage_size_in_gbs, + db_servers=db_servers, + defined_tags=defined_tags, + display_name=display_name, + exadata_infrastructure_id=exadata_infrastructure_id, + freeform_tags=freeform_tags, + id=id, + is_local_backup_enabled=is_local_backup_enabled, + is_mtls_enabled=is_mtls_enabled, + last_maintenance_run_id=last_maintenance_run_id, + license_model=license_model, + lifecycle_details=lifecycle_details, + maintenance_window_details=maintenance_window_details, + maintenance_windows=maintenance_windows, + memory_per_oracle_compute_unit_in_gbs=memory_per_oracle_compute_unit_in_gbs, + memory_size_in_gbs=memory_size_in_gbs, + next_maintenance_run_id=next_maintenance_run_id, + node_count=node_count, + ocpus_enabled=ocpus_enabled, + reclaimable_cpus=reclaimable_cpus, + scan_listener_port_non_tls=scan_listener_port_non_tls, + scan_listener_port_tls=scan_listener_port_tls, + state=state, + time_created=time_created, + time_database_ssl_certificate_expires=time_database_ssl_certificate_expires, + time_ords_certificate_expires=time_ords_certificate_expires, + time_zone=time_zone, + total_container_databases=total_container_databases, + vm_cluster_network_id=vm_cluster_network_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + autonomous_data_storage_size_in_tbs: float, + available_autonomous_data_storage_size_in_tbs: float, + available_container_databases: int, + available_cpus: int, + available_data_storage_size_in_tbs: float, + compartment_id: str, + compute_model: str, + cpu_core_count_per_node: int, + cpus_enabled: int, + data_storage_size_in_gb: float, + data_storage_size_in_tbs: float, + db_node_storage_size_in_gbs: int, + db_servers: Sequence[str], + defined_tags: Mapping[str, Any], + display_name: str, + exadata_infrastructure_id: str, + freeform_tags: Mapping[str, Any], + id: str, + is_local_backup_enabled: bool, + is_mtls_enabled: bool, + last_maintenance_run_id: str, + license_model: str, + lifecycle_details: str, + maintenance_window_details: Sequence['outputs.GetAutonomousVmClustersAutonomousVmClusterMaintenanceWindowDetailResult'], + maintenance_windows: Sequence['outputs.GetAutonomousVmClustersAutonomousVmClusterMaintenanceWindowResult'], + memory_per_oracle_compute_unit_in_gbs: int, + memory_size_in_gbs: int, + next_maintenance_run_id: str, + node_count: int, + ocpus_enabled: float, + reclaimable_cpus: int, + scan_listener_port_non_tls: int, + scan_listener_port_tls: int, + state: str, + time_created: str, + time_database_ssl_certificate_expires: str, + time_ords_certificate_expires: str, + time_zone: str, + total_container_databases: int, + vm_cluster_network_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("autonomous_data_storage_size_in_tbs", autonomous_data_storage_size_in_tbs) + _setter("available_autonomous_data_storage_size_in_tbs", available_autonomous_data_storage_size_in_tbs) + _setter("available_container_databases", available_container_databases) + _setter("available_cpus", available_cpus) + _setter("available_data_storage_size_in_tbs", available_data_storage_size_in_tbs) + _setter("compartment_id", compartment_id) + _setter("compute_model", compute_model) + _setter("cpu_core_count_per_node", cpu_core_count_per_node) + _setter("cpus_enabled", cpus_enabled) + _setter("data_storage_size_in_gb", data_storage_size_in_gb) + _setter("data_storage_size_in_tbs", data_storage_size_in_tbs) + _setter("db_node_storage_size_in_gbs", db_node_storage_size_in_gbs) + _setter("db_servers", db_servers) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("exadata_infrastructure_id", exadata_infrastructure_id) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_local_backup_enabled", is_local_backup_enabled) + _setter("is_mtls_enabled", is_mtls_enabled) + _setter("last_maintenance_run_id", last_maintenance_run_id) + _setter("license_model", license_model) + _setter("lifecycle_details", lifecycle_details) + _setter("maintenance_window_details", maintenance_window_details) + _setter("maintenance_windows", maintenance_windows) + _setter("memory_per_oracle_compute_unit_in_gbs", memory_per_oracle_compute_unit_in_gbs) + _setter("memory_size_in_gbs", memory_size_in_gbs) + _setter("next_maintenance_run_id", next_maintenance_run_id) + _setter("node_count", node_count) + _setter("ocpus_enabled", ocpus_enabled) + _setter("reclaimable_cpus", reclaimable_cpus) + _setter("scan_listener_port_non_tls", scan_listener_port_non_tls) + _setter("scan_listener_port_tls", scan_listener_port_tls) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_database_ssl_certificate_expires", time_database_ssl_certificate_expires) + _setter("time_ords_certificate_expires", time_ords_certificate_expires) + _setter("time_zone", time_zone) + _setter("total_container_databases", total_container_databases) + _setter("vm_cluster_network_id", vm_cluster_network_id) @property @pulumi.getter(name="autonomousDataStorageSizeInTbs") @@ -20066,16 +24857,43 @@ def __init__(__self__, *, :param str preference: The maintenance window scheduling preference. :param Sequence[int] weeks_of_months: Weeks during the month when maintenance should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week. For example, to allow maintenance during the 2nd week of the month (from the 8th day to the 14th day of the month), use the value 2. Maintenance cannot be scheduled for the fifth week of months that contain more than 28 days. Note that this parameter works in conjunction with the daysOfWeek and hoursOfDay parameters to allow you to specify specific days of the week and hours that maintenance will be performed. """ - pulumi.set(__self__, "custom_action_timeout_in_mins", custom_action_timeout_in_mins) - pulumi.set(__self__, "days_of_weeks", days_of_weeks) - pulumi.set(__self__, "hours_of_days", hours_of_days) - pulumi.set(__self__, "is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) - pulumi.set(__self__, "is_monthly_patching_enabled", is_monthly_patching_enabled) - pulumi.set(__self__, "lead_time_in_weeks", lead_time_in_weeks) - pulumi.set(__self__, "months", months) - pulumi.set(__self__, "patching_mode", patching_mode) - pulumi.set(__self__, "preference", preference) - pulumi.set(__self__, "weeks_of_months", weeks_of_months) + GetAutonomousVmClustersAutonomousVmClusterMaintenanceWindowResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_action_timeout_in_mins=custom_action_timeout_in_mins, + days_of_weeks=days_of_weeks, + hours_of_days=hours_of_days, + is_custom_action_timeout_enabled=is_custom_action_timeout_enabled, + is_monthly_patching_enabled=is_monthly_patching_enabled, + lead_time_in_weeks=lead_time_in_weeks, + months=months, + patching_mode=patching_mode, + preference=preference, + weeks_of_months=weeks_of_months, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_action_timeout_in_mins: int, + days_of_weeks: Sequence['outputs.GetAutonomousVmClustersAutonomousVmClusterMaintenanceWindowDaysOfWeekResult'], + hours_of_days: Sequence[int], + is_custom_action_timeout_enabled: bool, + is_monthly_patching_enabled: bool, + lead_time_in_weeks: int, + months: Sequence['outputs.GetAutonomousVmClustersAutonomousVmClusterMaintenanceWindowMonthResult'], + patching_mode: str, + preference: str, + weeks_of_months: Sequence[int], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("custom_action_timeout_in_mins", custom_action_timeout_in_mins) + _setter("days_of_weeks", days_of_weeks) + _setter("hours_of_days", hours_of_days) + _setter("is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) + _setter("is_monthly_patching_enabled", is_monthly_patching_enabled) + _setter("lead_time_in_weeks", lead_time_in_weeks) + _setter("months", months) + _setter("patching_mode", patching_mode) + _setter("preference", preference) + _setter("weeks_of_months", weeks_of_months) @property @pulumi.getter(name="customActionTimeoutInMins") @@ -20154,7 +24972,16 @@ def __init__(__self__, *, """ :param str name: Name of the month of the year. """ - pulumi.set(__self__, "name", name) + GetAutonomousVmClustersAutonomousVmClusterMaintenanceWindowDaysOfWeekResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -20187,16 +25014,43 @@ def __init__(__self__, *, :param str preference: The maintenance window scheduling preference. :param Sequence[int] weeks_of_months: Weeks during the month when maintenance should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week. For example, to allow maintenance during the 2nd week of the month (from the 8th day to the 14th day of the month), use the value 2. Maintenance cannot be scheduled for the fifth week of months that contain more than 28 days. Note that this parameter works in conjunction with the daysOfWeek and hoursOfDay parameters to allow you to specify specific days of the week and hours that maintenance will be performed. """ - pulumi.set(__self__, "custom_action_timeout_in_mins", custom_action_timeout_in_mins) - pulumi.set(__self__, "days_of_weeks", days_of_weeks) - pulumi.set(__self__, "hours_of_days", hours_of_days) - pulumi.set(__self__, "is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) - pulumi.set(__self__, "is_monthly_patching_enabled", is_monthly_patching_enabled) - pulumi.set(__self__, "lead_time_in_weeks", lead_time_in_weeks) - pulumi.set(__self__, "months", months) - pulumi.set(__self__, "patching_mode", patching_mode) - pulumi.set(__self__, "preference", preference) - pulumi.set(__self__, "weeks_of_months", weeks_of_months) + GetAutonomousVmClustersAutonomousVmClusterMaintenanceWindowDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_action_timeout_in_mins=custom_action_timeout_in_mins, + days_of_weeks=days_of_weeks, + hours_of_days=hours_of_days, + is_custom_action_timeout_enabled=is_custom_action_timeout_enabled, + is_monthly_patching_enabled=is_monthly_patching_enabled, + lead_time_in_weeks=lead_time_in_weeks, + months=months, + patching_mode=patching_mode, + preference=preference, + weeks_of_months=weeks_of_months, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_action_timeout_in_mins: int, + days_of_weeks: Sequence['outputs.GetAutonomousVmClustersAutonomousVmClusterMaintenanceWindowDetailDaysOfWeekResult'], + hours_of_days: Sequence[int], + is_custom_action_timeout_enabled: bool, + is_monthly_patching_enabled: bool, + lead_time_in_weeks: int, + months: Sequence['outputs.GetAutonomousVmClustersAutonomousVmClusterMaintenanceWindowDetailMonthResult'], + patching_mode: str, + preference: str, + weeks_of_months: Sequence[int], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("custom_action_timeout_in_mins", custom_action_timeout_in_mins) + _setter("days_of_weeks", days_of_weeks) + _setter("hours_of_days", hours_of_days) + _setter("is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) + _setter("is_monthly_patching_enabled", is_monthly_patching_enabled) + _setter("lead_time_in_weeks", lead_time_in_weeks) + _setter("months", months) + _setter("patching_mode", patching_mode) + _setter("preference", preference) + _setter("weeks_of_months", weeks_of_months) @property @pulumi.getter(name="customActionTimeoutInMins") @@ -20275,7 +25129,16 @@ def __init__(__self__, *, """ :param str name: Name of the month of the year. """ - pulumi.set(__self__, "name", name) + GetAutonomousVmClustersAutonomousVmClusterMaintenanceWindowDetailDaysOfWeekResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -20293,7 +25156,16 @@ def __init__(__self__, *, """ :param str name: Name of the month of the year. """ - pulumi.set(__self__, "name", name) + GetAutonomousVmClustersAutonomousVmClusterMaintenanceWindowDetailMonthResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -20311,7 +25183,16 @@ def __init__(__self__, *, """ :param str name: Name of the month of the year. """ - pulumi.set(__self__, "name", name) + GetAutonomousVmClustersAutonomousVmClusterMaintenanceWindowMonthResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -20331,10 +25212,23 @@ def __init__(__self__, *, """ :param str name: Name of the month of the year. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAutonomousVmClustersFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -20364,8 +25258,19 @@ def __init__(__self__, *, :param str db_name: The display name of the database that is associated with the backup destination. :param str id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the backup destination. """ - pulumi.set(__self__, "db_name", db_name) - pulumi.set(__self__, "id", id) + GetBackupDestinationAssociatedDatabaseResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_name=db_name, + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_name: str, + id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("db_name", db_name) + _setter("id", id) @property @pulumi.getter(name="dbName") @@ -20396,10 +25301,25 @@ def __init__(__self__, *, :param str nfs_server_export: Specifies the directory on which to mount the file system :param Sequence[str] nfs_servers: Host names or IP addresses for NFS Auto mount. """ - pulumi.set(__self__, "local_mount_point_path", local_mount_point_path) - pulumi.set(__self__, "mount_type", mount_type) - pulumi.set(__self__, "nfs_server_export", nfs_server_export) - pulumi.set(__self__, "nfs_servers", nfs_servers) + GetBackupDestinationMountTypeDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + local_mount_point_path=local_mount_point_path, + mount_type=mount_type, + nfs_server_export=nfs_server_export, + nfs_servers=nfs_servers, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + local_mount_point_path: str, + mount_type: str, + nfs_server_export: str, + nfs_servers: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("local_mount_point_path", local_mount_point_path) + _setter("mount_type", mount_type) + _setter("nfs_server_export", nfs_server_export) + _setter("nfs_servers", nfs_servers) @property @pulumi.getter(name="localMountPointPath") @@ -20469,23 +25389,64 @@ def __init__(__self__, *, :param str type: A filter to return only resources that match the given type of the Backup Destination. :param Sequence[str] vpc_users: For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) users that are used to access the Recovery Appliance. """ - pulumi.set(__self__, "associated_databases", associated_databases) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "connection_string", connection_string) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "local_mount_point_path", local_mount_point_path) - pulumi.set(__self__, "mount_type_details", mount_type_details) - pulumi.set(__self__, "nfs_mount_type", nfs_mount_type) - pulumi.set(__self__, "nfs_server_export", nfs_server_export) - pulumi.set(__self__, "nfs_servers", nfs_servers) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "vpc_users", vpc_users) + GetBackupDestinationsBackupDestinationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + associated_databases=associated_databases, + compartment_id=compartment_id, + connection_string=connection_string, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + local_mount_point_path=local_mount_point_path, + mount_type_details=mount_type_details, + nfs_mount_type=nfs_mount_type, + nfs_server_export=nfs_server_export, + nfs_servers=nfs_servers, + state=state, + time_created=time_created, + type=type, + vpc_users=vpc_users, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + associated_databases: Sequence['outputs.GetBackupDestinationsBackupDestinationAssociatedDatabaseResult'], + compartment_id: str, + connection_string: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + local_mount_point_path: str, + mount_type_details: Sequence['outputs.GetBackupDestinationsBackupDestinationMountTypeDetailResult'], + nfs_mount_type: str, + nfs_server_export: str, + nfs_servers: Sequence[str], + state: str, + time_created: str, + type: str, + vpc_users: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("associated_databases", associated_databases) + _setter("compartment_id", compartment_id) + _setter("connection_string", connection_string) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("local_mount_point_path", local_mount_point_path) + _setter("mount_type_details", mount_type_details) + _setter("nfs_mount_type", nfs_mount_type) + _setter("nfs_server_export", nfs_server_export) + _setter("nfs_servers", nfs_servers) + _setter("state", state) + _setter("time_created", time_created) + _setter("type", type) + _setter("vpc_users", vpc_users) @property @pulumi.getter(name="associatedDatabases") @@ -20633,8 +25594,19 @@ def __init__(__self__, *, :param str db_name: The display name of the database that is associated with the backup destination. :param str id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the backup destination. """ - pulumi.set(__self__, "db_name", db_name) - pulumi.set(__self__, "id", id) + GetBackupDestinationsBackupDestinationAssociatedDatabaseResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_name=db_name, + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_name: str, + id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("db_name", db_name) + _setter("id", id) @property @pulumi.getter(name="dbName") @@ -20665,10 +25637,25 @@ def __init__(__self__, *, :param str nfs_server_export: Specifies the directory on which to mount the file system :param Sequence[str] nfs_servers: Host names or IP addresses for NFS Auto mount. """ - pulumi.set(__self__, "local_mount_point_path", local_mount_point_path) - pulumi.set(__self__, "mount_type", mount_type) - pulumi.set(__self__, "nfs_server_export", nfs_server_export) - pulumi.set(__self__, "nfs_servers", nfs_servers) + GetBackupDestinationsBackupDestinationMountTypeDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + local_mount_point_path=local_mount_point_path, + mount_type=mount_type, + nfs_server_export=nfs_server_export, + nfs_servers=nfs_servers, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + local_mount_point_path: str, + mount_type: str, + nfs_server_export: str, + nfs_servers: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("local_mount_point_path", local_mount_point_path) + _setter("mount_type", mount_type) + _setter("nfs_server_export", nfs_server_export) + _setter("nfs_servers", nfs_servers) @property @pulumi.getter(name="localMountPointPath") @@ -20706,10 +25693,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetBackupDestinationsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -20770,25 +25770,70 @@ def __init__(__self__, *, :param str vault_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure [vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). :param str version: Version of the backup's source database """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "database_edition", database_edition) - pulumi.set(__self__, "database_id", database_id) - pulumi.set(__self__, "database_size_in_gbs", database_size_in_gbs) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "key_store_id", key_store_id) - pulumi.set(__self__, "key_store_wallet_name", key_store_wallet_name) - pulumi.set(__self__, "kms_key_id", kms_key_id) - pulumi.set(__self__, "kms_key_version_id", kms_key_version_id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_ended", time_ended) - pulumi.set(__self__, "time_started", time_started) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "vault_id", vault_id) - pulumi.set(__self__, "version", version) + GetBackupsBackupResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + compartment_id=compartment_id, + database_edition=database_edition, + database_id=database_id, + database_size_in_gbs=database_size_in_gbs, + display_name=display_name, + id=id, + key_store_id=key_store_id, + key_store_wallet_name=key_store_wallet_name, + kms_key_id=kms_key_id, + kms_key_version_id=kms_key_version_id, + lifecycle_details=lifecycle_details, + shape=shape, + state=state, + time_ended=time_ended, + time_started=time_started, + type=type, + vault_id=vault_id, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + compartment_id: str, + database_edition: str, + database_id: str, + database_size_in_gbs: float, + display_name: str, + id: str, + key_store_id: str, + key_store_wallet_name: str, + kms_key_id: str, + kms_key_version_id: str, + lifecycle_details: str, + shape: str, + state: str, + time_ended: str, + time_started: str, + type: str, + vault_id: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("compartment_id", compartment_id) + _setter("database_edition", database_edition) + _setter("database_id", database_id) + _setter("database_size_in_gbs", database_size_in_gbs) + _setter("display_name", display_name) + _setter("id", id) + _setter("key_store_id", key_store_id) + _setter("key_store_wallet_name", key_store_wallet_name) + _setter("kms_key_id", kms_key_id) + _setter("kms_key_version_id", kms_key_version_id) + _setter("lifecycle_details", lifecycle_details) + _setter("shape", shape) + _setter("state", state) + _setter("time_ended", time_ended) + _setter("time_started", time_started) + _setter("type", type) + _setter("vault_id", vault_id) + _setter("version", version) @property @pulumi.getter(name="availabilityDomain") @@ -20949,10 +25994,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetBackupsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -20999,18 +26057,49 @@ def __init__(__self__, *, :param float reserved_cpus: CPUs / cores reserved for scalability, resilliency and other overheads. This includes failover, autoscaling and idle instance overhead. :param float used_cpus: CPUs / cores assigned to the Autonomous Container Database. Sum of provisioned, reserved and reclaimable CPUs/ cores. """ - pulumi.set(__self__, "autonomous_container_database_vm_usages", autonomous_container_database_vm_usages) - pulumi.set(__self__, "available_cpus", available_cpus) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "largest_provisionable_autonomous_database_in_cpus", largest_provisionable_autonomous_database_in_cpus) - pulumi.set(__self__, "provisionable_cpuses", provisionable_cpuses) - pulumi.set(__self__, "provisioned_cpus", provisioned_cpus) - pulumi.set(__self__, "reclaimable_cpus", reclaimable_cpus) - pulumi.set(__self__, "reserved_cpus", reserved_cpus) - pulumi.set(__self__, "used_cpus", used_cpus) + GetCloudAutonomousVmClusterAcdResourceUsagesAutonomousContainerDatabaseResourceUsageResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + autonomous_container_database_vm_usages=autonomous_container_database_vm_usages, + available_cpus=available_cpus, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + largest_provisionable_autonomous_database_in_cpus=largest_provisionable_autonomous_database_in_cpus, + provisionable_cpuses=provisionable_cpuses, + provisioned_cpus=provisioned_cpus, + reclaimable_cpus=reclaimable_cpus, + reserved_cpus=reserved_cpus, + used_cpus=used_cpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + autonomous_container_database_vm_usages: Sequence['outputs.GetCloudAutonomousVmClusterAcdResourceUsagesAutonomousContainerDatabaseResourceUsageAutonomousContainerDatabaseVmUsageResult'], + available_cpus: float, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + largest_provisionable_autonomous_database_in_cpus: float, + provisionable_cpuses: Sequence[float], + provisioned_cpus: float, + reclaimable_cpus: float, + reserved_cpus: float, + used_cpus: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("autonomous_container_database_vm_usages", autonomous_container_database_vm_usages) + _setter("available_cpus", available_cpus) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("largest_provisionable_autonomous_database_in_cpus", largest_provisionable_autonomous_database_in_cpus) + _setter("provisionable_cpuses", provisionable_cpuses) + _setter("provisioned_cpus", provisioned_cpus) + _setter("reclaimable_cpus", reclaimable_cpus) + _setter("reserved_cpus", reserved_cpus) + _setter("used_cpus", used_cpus) @property @pulumi.getter(name="autonomousContainerDatabaseVmUsages") @@ -21126,12 +26215,31 @@ def __init__(__self__, *, :param float reserved_cpus: CPUs / cores reserved for scalability, resilliency and other overheads. This includes failover, autoscaling and idle instance overhead. :param float used_cpus: CPUs / cores assigned to the Autonomous Container Database. Sum of provisioned, reserved and reclaimable CPUs/ cores. """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "provisioned_cpus", provisioned_cpus) - pulumi.set(__self__, "reclaimable_cpus", reclaimable_cpus) - pulumi.set(__self__, "reserved_cpus", reserved_cpus) - pulumi.set(__self__, "used_cpus", used_cpus) + GetCloudAutonomousVmClusterAcdResourceUsagesAutonomousContainerDatabaseResourceUsageAutonomousContainerDatabaseVmUsageResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + id=id, + provisioned_cpus=provisioned_cpus, + reclaimable_cpus=reclaimable_cpus, + reserved_cpus=reserved_cpus, + used_cpus=used_cpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + id: str, + provisioned_cpus: float, + reclaimable_cpus: float, + reserved_cpus: float, + used_cpus: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("id", id) + _setter("provisioned_cpus", provisioned_cpus) + _setter("reclaimable_cpus", reclaimable_cpus) + _setter("reserved_cpus", reserved_cpus) + _setter("used_cpus", used_cpus) @property @pulumi.getter(name="displayName") @@ -21188,10 +26296,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetCloudAutonomousVmClusterAcdResourceUsagesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -21235,16 +26356,43 @@ def __init__(__self__, *, :param str preference: The maintenance window scheduling preference. :param Sequence[int] weeks_of_months: Weeks during the month when maintenance should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week. For example, to allow maintenance during the 2nd week of the month (from the 8th day to the 14th day of the month), use the value 2. Maintenance cannot be scheduled for the fifth week of months that contain more than 28 days. Note that this parameter works in conjunction with the daysOfWeek and hoursOfDay parameters to allow you to specify specific days of the week and hours that maintenance will be performed. """ - pulumi.set(__self__, "custom_action_timeout_in_mins", custom_action_timeout_in_mins) - pulumi.set(__self__, "days_of_weeks", days_of_weeks) - pulumi.set(__self__, "hours_of_days", hours_of_days) - pulumi.set(__self__, "is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) - pulumi.set(__self__, "is_monthly_patching_enabled", is_monthly_patching_enabled) - pulumi.set(__self__, "lead_time_in_weeks", lead_time_in_weeks) - pulumi.set(__self__, "months", months) - pulumi.set(__self__, "patching_mode", patching_mode) - pulumi.set(__self__, "preference", preference) - pulumi.set(__self__, "weeks_of_months", weeks_of_months) + GetCloudAutonomousVmClusterMaintenanceWindowResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_action_timeout_in_mins=custom_action_timeout_in_mins, + days_of_weeks=days_of_weeks, + hours_of_days=hours_of_days, + is_custom_action_timeout_enabled=is_custom_action_timeout_enabled, + is_monthly_patching_enabled=is_monthly_patching_enabled, + lead_time_in_weeks=lead_time_in_weeks, + months=months, + patching_mode=patching_mode, + preference=preference, + weeks_of_months=weeks_of_months, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_action_timeout_in_mins: int, + days_of_weeks: Sequence['outputs.GetCloudAutonomousVmClusterMaintenanceWindowDaysOfWeekResult'], + hours_of_days: Sequence[int], + is_custom_action_timeout_enabled: bool, + is_monthly_patching_enabled: bool, + lead_time_in_weeks: int, + months: Sequence['outputs.GetCloudAutonomousVmClusterMaintenanceWindowMonthResult'], + patching_mode: str, + preference: str, + weeks_of_months: Sequence[int], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("custom_action_timeout_in_mins", custom_action_timeout_in_mins) + _setter("days_of_weeks", days_of_weeks) + _setter("hours_of_days", hours_of_days) + _setter("is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) + _setter("is_monthly_patching_enabled", is_monthly_patching_enabled) + _setter("lead_time_in_weeks", lead_time_in_weeks) + _setter("months", months) + _setter("patching_mode", patching_mode) + _setter("preference", preference) + _setter("weeks_of_months", weeks_of_months) @property @pulumi.getter(name="customActionTimeoutInMins") @@ -21335,7 +26483,16 @@ def __init__(__self__, *, """ :param str name: Name of the month of the year. """ - pulumi.set(__self__, "name", name) + GetCloudAutonomousVmClusterMaintenanceWindowDaysOfWeekResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -21372,16 +26529,43 @@ def __init__(__self__, *, :param str preference: The maintenance window scheduling preference. :param Sequence[int] weeks_of_months: Weeks during the month when maintenance should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week. For example, to allow maintenance during the 2nd week of the month (from the 8th day to the 14th day of the month), use the value 2. Maintenance cannot be scheduled for the fifth week of months that contain more than 28 days. Note that this parameter works in conjunction with the daysOfWeek and hoursOfDay parameters to allow you to specify specific days of the week and hours that maintenance will be performed. """ - pulumi.set(__self__, "custom_action_timeout_in_mins", custom_action_timeout_in_mins) - pulumi.set(__self__, "days_of_weeks", days_of_weeks) - pulumi.set(__self__, "hours_of_days", hours_of_days) - pulumi.set(__self__, "is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) - pulumi.set(__self__, "is_monthly_patching_enabled", is_monthly_patching_enabled) - pulumi.set(__self__, "lead_time_in_weeks", lead_time_in_weeks) - pulumi.set(__self__, "months", months) - pulumi.set(__self__, "patching_mode", patching_mode) - pulumi.set(__self__, "preference", preference) - pulumi.set(__self__, "weeks_of_months", weeks_of_months) + GetCloudAutonomousVmClusterMaintenanceWindowDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_action_timeout_in_mins=custom_action_timeout_in_mins, + days_of_weeks=days_of_weeks, + hours_of_days=hours_of_days, + is_custom_action_timeout_enabled=is_custom_action_timeout_enabled, + is_monthly_patching_enabled=is_monthly_patching_enabled, + lead_time_in_weeks=lead_time_in_weeks, + months=months, + patching_mode=patching_mode, + preference=preference, + weeks_of_months=weeks_of_months, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_action_timeout_in_mins: int, + days_of_weeks: Sequence['outputs.GetCloudAutonomousVmClusterMaintenanceWindowDetailDaysOfWeekResult'], + hours_of_days: Sequence[int], + is_custom_action_timeout_enabled: bool, + is_monthly_patching_enabled: bool, + lead_time_in_weeks: int, + months: Sequence['outputs.GetCloudAutonomousVmClusterMaintenanceWindowDetailMonthResult'], + patching_mode: str, + preference: str, + weeks_of_months: Sequence[int], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("custom_action_timeout_in_mins", custom_action_timeout_in_mins) + _setter("days_of_weeks", days_of_weeks) + _setter("hours_of_days", hours_of_days) + _setter("is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) + _setter("is_monthly_patching_enabled", is_monthly_patching_enabled) + _setter("lead_time_in_weeks", lead_time_in_weeks) + _setter("months", months) + _setter("patching_mode", patching_mode) + _setter("preference", preference) + _setter("weeks_of_months", weeks_of_months) @property @pulumi.getter(name="customActionTimeoutInMins") @@ -21472,7 +26656,16 @@ def __init__(__self__, *, """ :param str name: Name of the month of the year. """ - pulumi.set(__self__, "name", name) + GetCloudAutonomousVmClusterMaintenanceWindowDetailDaysOfWeekResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -21490,7 +26683,16 @@ def __init__(__self__, *, """ :param str name: Name of the month of the year. """ - pulumi.set(__self__, "name", name) + GetCloudAutonomousVmClusterMaintenanceWindowDetailMonthResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -21508,7 +26710,16 @@ def __init__(__self__, *, """ :param str name: Name of the month of the year. """ - pulumi.set(__self__, "name", name) + GetCloudAutonomousVmClusterMaintenanceWindowMonthResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -21540,14 +26751,37 @@ def __init__(__self__, *, :param float reserved_cpus: The number of CPUs reserved in an Autonomous VM Cluster. :param float used_cpus: The number of CPU cores alloted to the Autonomous Container Databases in an Cloud Autonomous VM cluster. """ - pulumi.set(__self__, "autonomous_container_database_usages", autonomous_container_database_usages) - pulumi.set(__self__, "available_cpus", available_cpus) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "provisioned_cpus", provisioned_cpus) - pulumi.set(__self__, "reclaimable_cpus", reclaimable_cpus) - pulumi.set(__self__, "reserved_cpus", reserved_cpus) - pulumi.set(__self__, "used_cpus", used_cpus) + GetCloudAutonomousVmClusterResourceUsageAutonomousVmResourceUsageResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + autonomous_container_database_usages=autonomous_container_database_usages, + available_cpus=available_cpus, + display_name=display_name, + id=id, + provisioned_cpus=provisioned_cpus, + reclaimable_cpus=reclaimable_cpus, + reserved_cpus=reserved_cpus, + used_cpus=used_cpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + autonomous_container_database_usages: Sequence['outputs.GetCloudAutonomousVmClusterResourceUsageAutonomousVmResourceUsageAutonomousContainerDatabaseUsageResult'], + available_cpus: float, + display_name: str, + id: str, + provisioned_cpus: float, + reclaimable_cpus: float, + reserved_cpus: float, + used_cpus: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("autonomous_container_database_usages", autonomous_container_database_usages) + _setter("available_cpus", available_cpus) + _setter("display_name", display_name) + _setter("id", id) + _setter("provisioned_cpus", provisioned_cpus) + _setter("reclaimable_cpus", reclaimable_cpus) + _setter("reserved_cpus", reserved_cpus) + _setter("used_cpus", used_cpus) @property @pulumi.getter(name="autonomousContainerDatabaseUsages") @@ -21633,13 +26867,34 @@ def __init__(__self__, *, :param float reserved_cpus: The number of CPUs reserved in an Autonomous VM Cluster. :param float used_cpus: The number of CPU cores alloted to the Autonomous Container Databases in an Cloud Autonomous VM cluster. """ - pulumi.set(__self__, "available_cpus", available_cpus) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "provisioned_cpus", provisioned_cpus) - pulumi.set(__self__, "reclaimable_cpus", reclaimable_cpus) - pulumi.set(__self__, "reserved_cpus", reserved_cpus) - pulumi.set(__self__, "used_cpus", used_cpus) + GetCloudAutonomousVmClusterResourceUsageAutonomousVmResourceUsageAutonomousContainerDatabaseUsageResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + available_cpus=available_cpus, + display_name=display_name, + id=id, + provisioned_cpus=provisioned_cpus, + reclaimable_cpus=reclaimable_cpus, + reserved_cpus=reserved_cpus, + used_cpus=used_cpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + available_cpus: float, + display_name: str, + id: str, + provisioned_cpus: float, + reclaimable_cpus: float, + reserved_cpus: float, + used_cpus: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("available_cpus", available_cpus) + _setter("display_name", display_name) + _setter("id", id) + _setter("provisioned_cpus", provisioned_cpus) + _setter("reclaimable_cpus", reclaimable_cpus) + _setter("reserved_cpus", reserved_cpus) + _setter("used_cpus", used_cpus) @property @pulumi.getter(name="availableCpus") @@ -21811,59 +27066,172 @@ def __init__(__self__, *, :param int total_container_databases: The total number of Autonomous Container Databases that can be created with the allocated local storage. :param float total_cpus: The total number of CPUs in an Autonomous VM Cluster. """ - pulumi.set(__self__, "autonomous_data_storage_percentage", autonomous_data_storage_percentage) - pulumi.set(__self__, "autonomous_data_storage_size_in_tbs", autonomous_data_storage_size_in_tbs) - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "available_autonomous_data_storage_size_in_tbs", available_autonomous_data_storage_size_in_tbs) - pulumi.set(__self__, "available_container_databases", available_container_databases) - pulumi.set(__self__, "available_cpus", available_cpus) - pulumi.set(__self__, "cloud_exadata_infrastructure_id", cloud_exadata_infrastructure_id) - pulumi.set(__self__, "cluster_time_zone", cluster_time_zone) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "compute_model", compute_model) - pulumi.set(__self__, "cpu_core_count", cpu_core_count) - pulumi.set(__self__, "cpu_core_count_per_node", cpu_core_count_per_node) - pulumi.set(__self__, "cpu_percentage", cpu_percentage) - pulumi.set(__self__, "data_storage_size_in_gb", data_storage_size_in_gb) - pulumi.set(__self__, "data_storage_size_in_tbs", data_storage_size_in_tbs) - pulumi.set(__self__, "db_node_storage_size_in_gbs", db_node_storage_size_in_gbs) - pulumi.set(__self__, "db_servers", db_servers) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "domain", domain) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "hostname", hostname) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_mtls_enabled_vm_cluster", is_mtls_enabled_vm_cluster) - pulumi.set(__self__, "last_maintenance_run_id", last_maintenance_run_id) - pulumi.set(__self__, "last_update_history_entry_id", last_update_history_entry_id) - pulumi.set(__self__, "license_model", license_model) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "maintenance_window_details", maintenance_window_details) - pulumi.set(__self__, "maintenance_windows", maintenance_windows) - pulumi.set(__self__, "memory_per_oracle_compute_unit_in_gbs", memory_per_oracle_compute_unit_in_gbs) - pulumi.set(__self__, "memory_size_in_gbs", memory_size_in_gbs) - pulumi.set(__self__, "next_maintenance_run_id", next_maintenance_run_id) - pulumi.set(__self__, "node_count", node_count) - pulumi.set(__self__, "non_provisionable_autonomous_container_databases", non_provisionable_autonomous_container_databases) - pulumi.set(__self__, "nsg_ids", nsg_ids) - pulumi.set(__self__, "ocpu_count", ocpu_count) - pulumi.set(__self__, "provisionable_autonomous_container_databases", provisionable_autonomous_container_databases) - pulumi.set(__self__, "provisioned_autonomous_container_databases", provisioned_autonomous_container_databases) - pulumi.set(__self__, "provisioned_cpus", provisioned_cpus) - pulumi.set(__self__, "reclaimable_cpus", reclaimable_cpus) - pulumi.set(__self__, "reserved_cpus", reserved_cpus) - pulumi.set(__self__, "scan_listener_port_non_tls", scan_listener_port_non_tls) - pulumi.set(__self__, "scan_listener_port_tls", scan_listener_port_tls) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "total_autonomous_data_storage_in_tbs", total_autonomous_data_storage_in_tbs) - pulumi.set(__self__, "total_container_databases", total_container_databases) - pulumi.set(__self__, "total_cpus", total_cpus) + GetCloudAutonomousVmClustersCloudAutonomousVmClusterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + autonomous_data_storage_percentage=autonomous_data_storage_percentage, + autonomous_data_storage_size_in_tbs=autonomous_data_storage_size_in_tbs, + availability_domain=availability_domain, + available_autonomous_data_storage_size_in_tbs=available_autonomous_data_storage_size_in_tbs, + available_container_databases=available_container_databases, + available_cpus=available_cpus, + cloud_exadata_infrastructure_id=cloud_exadata_infrastructure_id, + cluster_time_zone=cluster_time_zone, + compartment_id=compartment_id, + compute_model=compute_model, + cpu_core_count=cpu_core_count, + cpu_core_count_per_node=cpu_core_count_per_node, + cpu_percentage=cpu_percentage, + data_storage_size_in_gb=data_storage_size_in_gb, + data_storage_size_in_tbs=data_storage_size_in_tbs, + db_node_storage_size_in_gbs=db_node_storage_size_in_gbs, + db_servers=db_servers, + defined_tags=defined_tags, + description=description, + display_name=display_name, + domain=domain, + freeform_tags=freeform_tags, + hostname=hostname, + id=id, + is_mtls_enabled_vm_cluster=is_mtls_enabled_vm_cluster, + last_maintenance_run_id=last_maintenance_run_id, + last_update_history_entry_id=last_update_history_entry_id, + license_model=license_model, + lifecycle_details=lifecycle_details, + maintenance_window_details=maintenance_window_details, + maintenance_windows=maintenance_windows, + memory_per_oracle_compute_unit_in_gbs=memory_per_oracle_compute_unit_in_gbs, + memory_size_in_gbs=memory_size_in_gbs, + next_maintenance_run_id=next_maintenance_run_id, + node_count=node_count, + non_provisionable_autonomous_container_databases=non_provisionable_autonomous_container_databases, + nsg_ids=nsg_ids, + ocpu_count=ocpu_count, + provisionable_autonomous_container_databases=provisionable_autonomous_container_databases, + provisioned_autonomous_container_databases=provisioned_autonomous_container_databases, + provisioned_cpus=provisioned_cpus, + reclaimable_cpus=reclaimable_cpus, + reserved_cpus=reserved_cpus, + scan_listener_port_non_tls=scan_listener_port_non_tls, + scan_listener_port_tls=scan_listener_port_tls, + shape=shape, + state=state, + subnet_id=subnet_id, + time_created=time_created, + time_updated=time_updated, + total_autonomous_data_storage_in_tbs=total_autonomous_data_storage_in_tbs, + total_container_databases=total_container_databases, + total_cpus=total_cpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + autonomous_data_storage_percentage: float, + autonomous_data_storage_size_in_tbs: float, + availability_domain: str, + available_autonomous_data_storage_size_in_tbs: float, + available_container_databases: int, + available_cpus: float, + cloud_exadata_infrastructure_id: str, + cluster_time_zone: str, + compartment_id: str, + compute_model: str, + cpu_core_count: int, + cpu_core_count_per_node: int, + cpu_percentage: float, + data_storage_size_in_gb: float, + data_storage_size_in_tbs: float, + db_node_storage_size_in_gbs: int, + db_servers: Sequence[str], + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + domain: str, + freeform_tags: Mapping[str, Any], + hostname: str, + id: str, + is_mtls_enabled_vm_cluster: bool, + last_maintenance_run_id: str, + last_update_history_entry_id: str, + license_model: str, + lifecycle_details: str, + maintenance_window_details: Sequence['outputs.GetCloudAutonomousVmClustersCloudAutonomousVmClusterMaintenanceWindowDetailResult'], + maintenance_windows: Sequence['outputs.GetCloudAutonomousVmClustersCloudAutonomousVmClusterMaintenanceWindowResult'], + memory_per_oracle_compute_unit_in_gbs: int, + memory_size_in_gbs: int, + next_maintenance_run_id: str, + node_count: int, + non_provisionable_autonomous_container_databases: int, + nsg_ids: Sequence[str], + ocpu_count: float, + provisionable_autonomous_container_databases: int, + provisioned_autonomous_container_databases: int, + provisioned_cpus: float, + reclaimable_cpus: float, + reserved_cpus: float, + scan_listener_port_non_tls: int, + scan_listener_port_tls: int, + shape: str, + state: str, + subnet_id: str, + time_created: str, + time_updated: str, + total_autonomous_data_storage_in_tbs: float, + total_container_databases: int, + total_cpus: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("autonomous_data_storage_percentage", autonomous_data_storage_percentage) + _setter("autonomous_data_storage_size_in_tbs", autonomous_data_storage_size_in_tbs) + _setter("availability_domain", availability_domain) + _setter("available_autonomous_data_storage_size_in_tbs", available_autonomous_data_storage_size_in_tbs) + _setter("available_container_databases", available_container_databases) + _setter("available_cpus", available_cpus) + _setter("cloud_exadata_infrastructure_id", cloud_exadata_infrastructure_id) + _setter("cluster_time_zone", cluster_time_zone) + _setter("compartment_id", compartment_id) + _setter("compute_model", compute_model) + _setter("cpu_core_count", cpu_core_count) + _setter("cpu_core_count_per_node", cpu_core_count_per_node) + _setter("cpu_percentage", cpu_percentage) + _setter("data_storage_size_in_gb", data_storage_size_in_gb) + _setter("data_storage_size_in_tbs", data_storage_size_in_tbs) + _setter("db_node_storage_size_in_gbs", db_node_storage_size_in_gbs) + _setter("db_servers", db_servers) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("domain", domain) + _setter("freeform_tags", freeform_tags) + _setter("hostname", hostname) + _setter("id", id) + _setter("is_mtls_enabled_vm_cluster", is_mtls_enabled_vm_cluster) + _setter("last_maintenance_run_id", last_maintenance_run_id) + _setter("last_update_history_entry_id", last_update_history_entry_id) + _setter("license_model", license_model) + _setter("lifecycle_details", lifecycle_details) + _setter("maintenance_window_details", maintenance_window_details) + _setter("maintenance_windows", maintenance_windows) + _setter("memory_per_oracle_compute_unit_in_gbs", memory_per_oracle_compute_unit_in_gbs) + _setter("memory_size_in_gbs", memory_size_in_gbs) + _setter("next_maintenance_run_id", next_maintenance_run_id) + _setter("node_count", node_count) + _setter("non_provisionable_autonomous_container_databases", non_provisionable_autonomous_container_databases) + _setter("nsg_ids", nsg_ids) + _setter("ocpu_count", ocpu_count) + _setter("provisionable_autonomous_container_databases", provisionable_autonomous_container_databases) + _setter("provisioned_autonomous_container_databases", provisioned_autonomous_container_databases) + _setter("provisioned_cpus", provisioned_cpus) + _setter("reclaimable_cpus", reclaimable_cpus) + _setter("reserved_cpus", reserved_cpus) + _setter("scan_listener_port_non_tls", scan_listener_port_non_tls) + _setter("scan_listener_port_tls", scan_listener_port_tls) + _setter("shape", shape) + _setter("state", state) + _setter("subnet_id", subnet_id) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("total_autonomous_data_storage_in_tbs", total_autonomous_data_storage_in_tbs) + _setter("total_container_databases", total_container_databases) + _setter("total_cpus", total_cpus) @property @pulumi.getter(name="autonomousDataStoragePercentage") @@ -22316,16 +27684,43 @@ def __init__(__self__, *, :param str preference: The maintenance window scheduling preference. :param Sequence[int] weeks_of_months: Weeks during the month when maintenance should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week. For example, to allow maintenance during the 2nd week of the month (from the 8th day to the 14th day of the month), use the value 2. Maintenance cannot be scheduled for the fifth week of months that contain more than 28 days. Note that this parameter works in conjunction with the daysOfWeek and hoursOfDay parameters to allow you to specify specific days of the week and hours that maintenance will be performed. """ - pulumi.set(__self__, "custom_action_timeout_in_mins", custom_action_timeout_in_mins) - pulumi.set(__self__, "days_of_weeks", days_of_weeks) - pulumi.set(__self__, "hours_of_days", hours_of_days) - pulumi.set(__self__, "is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) - pulumi.set(__self__, "is_monthly_patching_enabled", is_monthly_patching_enabled) - pulumi.set(__self__, "lead_time_in_weeks", lead_time_in_weeks) - pulumi.set(__self__, "months", months) - pulumi.set(__self__, "patching_mode", patching_mode) - pulumi.set(__self__, "preference", preference) - pulumi.set(__self__, "weeks_of_months", weeks_of_months) + GetCloudAutonomousVmClustersCloudAutonomousVmClusterMaintenanceWindowResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_action_timeout_in_mins=custom_action_timeout_in_mins, + days_of_weeks=days_of_weeks, + hours_of_days=hours_of_days, + is_custom_action_timeout_enabled=is_custom_action_timeout_enabled, + is_monthly_patching_enabled=is_monthly_patching_enabled, + lead_time_in_weeks=lead_time_in_weeks, + months=months, + patching_mode=patching_mode, + preference=preference, + weeks_of_months=weeks_of_months, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_action_timeout_in_mins: int, + days_of_weeks: Sequence['outputs.GetCloudAutonomousVmClustersCloudAutonomousVmClusterMaintenanceWindowDaysOfWeekResult'], + hours_of_days: Sequence[int], + is_custom_action_timeout_enabled: bool, + is_monthly_patching_enabled: bool, + lead_time_in_weeks: int, + months: Sequence['outputs.GetCloudAutonomousVmClustersCloudAutonomousVmClusterMaintenanceWindowMonthResult'], + patching_mode: str, + preference: str, + weeks_of_months: Sequence[int], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("custom_action_timeout_in_mins", custom_action_timeout_in_mins) + _setter("days_of_weeks", days_of_weeks) + _setter("hours_of_days", hours_of_days) + _setter("is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) + _setter("is_monthly_patching_enabled", is_monthly_patching_enabled) + _setter("lead_time_in_weeks", lead_time_in_weeks) + _setter("months", months) + _setter("patching_mode", patching_mode) + _setter("preference", preference) + _setter("weeks_of_months", weeks_of_months) @property @pulumi.getter(name="customActionTimeoutInMins") @@ -22416,7 +27811,16 @@ def __init__(__self__, *, """ :param str name: Name of the month of the year. """ - pulumi.set(__self__, "name", name) + GetCloudAutonomousVmClustersCloudAutonomousVmClusterMaintenanceWindowDaysOfWeekResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -22453,16 +27857,43 @@ def __init__(__self__, *, :param str preference: The maintenance window scheduling preference. :param Sequence[int] weeks_of_months: Weeks during the month when maintenance should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week. For example, to allow maintenance during the 2nd week of the month (from the 8th day to the 14th day of the month), use the value 2. Maintenance cannot be scheduled for the fifth week of months that contain more than 28 days. Note that this parameter works in conjunction with the daysOfWeek and hoursOfDay parameters to allow you to specify specific days of the week and hours that maintenance will be performed. """ - pulumi.set(__self__, "custom_action_timeout_in_mins", custom_action_timeout_in_mins) - pulumi.set(__self__, "days_of_weeks", days_of_weeks) - pulumi.set(__self__, "hours_of_days", hours_of_days) - pulumi.set(__self__, "is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) - pulumi.set(__self__, "is_monthly_patching_enabled", is_monthly_patching_enabled) - pulumi.set(__self__, "lead_time_in_weeks", lead_time_in_weeks) - pulumi.set(__self__, "months", months) - pulumi.set(__self__, "patching_mode", patching_mode) - pulumi.set(__self__, "preference", preference) - pulumi.set(__self__, "weeks_of_months", weeks_of_months) + GetCloudAutonomousVmClustersCloudAutonomousVmClusterMaintenanceWindowDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_action_timeout_in_mins=custom_action_timeout_in_mins, + days_of_weeks=days_of_weeks, + hours_of_days=hours_of_days, + is_custom_action_timeout_enabled=is_custom_action_timeout_enabled, + is_monthly_patching_enabled=is_monthly_patching_enabled, + lead_time_in_weeks=lead_time_in_weeks, + months=months, + patching_mode=patching_mode, + preference=preference, + weeks_of_months=weeks_of_months, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_action_timeout_in_mins: int, + days_of_weeks: Sequence['outputs.GetCloudAutonomousVmClustersCloudAutonomousVmClusterMaintenanceWindowDetailDaysOfWeekResult'], + hours_of_days: Sequence[int], + is_custom_action_timeout_enabled: bool, + is_monthly_patching_enabled: bool, + lead_time_in_weeks: int, + months: Sequence['outputs.GetCloudAutonomousVmClustersCloudAutonomousVmClusterMaintenanceWindowDetailMonthResult'], + patching_mode: str, + preference: str, + weeks_of_months: Sequence[int], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("custom_action_timeout_in_mins", custom_action_timeout_in_mins) + _setter("days_of_weeks", days_of_weeks) + _setter("hours_of_days", hours_of_days) + _setter("is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) + _setter("is_monthly_patching_enabled", is_monthly_patching_enabled) + _setter("lead_time_in_weeks", lead_time_in_weeks) + _setter("months", months) + _setter("patching_mode", patching_mode) + _setter("preference", preference) + _setter("weeks_of_months", weeks_of_months) @property @pulumi.getter(name="customActionTimeoutInMins") @@ -22553,7 +27984,16 @@ def __init__(__self__, *, """ :param str name: Name of the month of the year. """ - pulumi.set(__self__, "name", name) + GetCloudAutonomousVmClustersCloudAutonomousVmClusterMaintenanceWindowDetailDaysOfWeekResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -22571,7 +28011,16 @@ def __init__(__self__, *, """ :param str name: Name of the month of the year. """ - pulumi.set(__self__, "name", name) + GetCloudAutonomousVmClustersCloudAutonomousVmClusterMaintenanceWindowDetailMonthResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -22589,7 +28038,16 @@ def __init__(__self__, *, """ :param str name: Name of the month of the year. """ - pulumi.set(__self__, "name", name) + GetCloudAutonomousVmClustersCloudAutonomousVmClusterMaintenanceWindowMonthResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -22609,10 +28067,23 @@ def __init__(__self__, *, """ :param str name: Name of the month of the year. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetCloudAutonomousVmClustersFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -22640,7 +28111,16 @@ def __init__(__self__, *, """ :param str email: The email address used by Oracle to send notifications regarding databases and infrastructure. """ - pulumi.set(__self__, "email", email) + GetCloudExadataInfrastructureCustomerContactResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + email=email, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + email: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("email", email) @property @pulumi.getter @@ -22677,16 +28157,43 @@ def __init__(__self__, *, :param str preference: The maintenance window scheduling preference. :param Sequence[int] weeks_of_months: Weeks during the month when maintenance should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week. For example, to allow maintenance during the 2nd week of the month (from the 8th day to the 14th day of the month), use the value 2. Maintenance cannot be scheduled for the fifth week of months that contain more than 28 days. Note that this parameter works in conjunction with the daysOfWeek and hoursOfDay parameters to allow you to specify specific days of the week and hours that maintenance will be performed. """ - pulumi.set(__self__, "custom_action_timeout_in_mins", custom_action_timeout_in_mins) - pulumi.set(__self__, "days_of_weeks", days_of_weeks) - pulumi.set(__self__, "hours_of_days", hours_of_days) - pulumi.set(__self__, "is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) - pulumi.set(__self__, "is_monthly_patching_enabled", is_monthly_patching_enabled) - pulumi.set(__self__, "lead_time_in_weeks", lead_time_in_weeks) - pulumi.set(__self__, "months", months) - pulumi.set(__self__, "patching_mode", patching_mode) - pulumi.set(__self__, "preference", preference) - pulumi.set(__self__, "weeks_of_months", weeks_of_months) + GetCloudExadataInfrastructureMaintenanceWindowResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_action_timeout_in_mins=custom_action_timeout_in_mins, + days_of_weeks=days_of_weeks, + hours_of_days=hours_of_days, + is_custom_action_timeout_enabled=is_custom_action_timeout_enabled, + is_monthly_patching_enabled=is_monthly_patching_enabled, + lead_time_in_weeks=lead_time_in_weeks, + months=months, + patching_mode=patching_mode, + preference=preference, + weeks_of_months=weeks_of_months, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_action_timeout_in_mins: int, + days_of_weeks: Sequence['outputs.GetCloudExadataInfrastructureMaintenanceWindowDaysOfWeekResult'], + hours_of_days: Sequence[int], + is_custom_action_timeout_enabled: bool, + is_monthly_patching_enabled: bool, + lead_time_in_weeks: int, + months: Sequence['outputs.GetCloudExadataInfrastructureMaintenanceWindowMonthResult'], + patching_mode: str, + preference: str, + weeks_of_months: Sequence[int], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("custom_action_timeout_in_mins", custom_action_timeout_in_mins) + _setter("days_of_weeks", days_of_weeks) + _setter("hours_of_days", hours_of_days) + _setter("is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) + _setter("is_monthly_patching_enabled", is_monthly_patching_enabled) + _setter("lead_time_in_weeks", lead_time_in_weeks) + _setter("months", months) + _setter("patching_mode", patching_mode) + _setter("preference", preference) + _setter("weeks_of_months", weeks_of_months) @property @pulumi.getter(name="customActionTimeoutInMins") @@ -22777,7 +28284,16 @@ def __init__(__self__, *, """ :param str name: Name of the month of the year. """ - pulumi.set(__self__, "name", name) + GetCloudExadataInfrastructureMaintenanceWindowDaysOfWeekResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -22795,7 +28311,16 @@ def __init__(__self__, *, """ :param str name: Name of the month of the year. """ - pulumi.set(__self__, "name", name) + GetCloudExadataInfrastructureMaintenanceWindowMonthResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -22815,8 +28340,19 @@ def __init__(__self__, *, :param str id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Cloud Exadata infrastructure. :param float un_allocated_adb_storage_in_tbs: Total unallocated autonomous data storage in the Cloud Autonomous VM Cluster in TBs. """ - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "un_allocated_adb_storage_in_tbs", un_allocated_adb_storage_in_tbs) + GetCloudExadataInfrastructureUnAllocatedResourceCloudAutonomousVmClusterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + un_allocated_adb_storage_in_tbs=un_allocated_adb_storage_in_tbs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: str, + un_allocated_adb_storage_in_tbs: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) + _setter("un_allocated_adb_storage_in_tbs", un_allocated_adb_storage_in_tbs) @property @pulumi.getter @@ -22904,38 +28440,109 @@ def __init__(__self__, *, :param str time_created: The date and time the cloud Exadata infrastructure resource was created. :param int total_storage_size_in_gbs: The total storage allocated to the cloud Exadata infrastructure resource, in gigabytes (GB). """ - pulumi.set(__self__, "activated_storage_count", activated_storage_count) - pulumi.set(__self__, "additional_storage_count", additional_storage_count) - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "available_storage_size_in_gbs", available_storage_size_in_gbs) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "compute_count", compute_count) - pulumi.set(__self__, "cpu_count", cpu_count) - pulumi.set(__self__, "customer_contacts", customer_contacts) - pulumi.set(__self__, "data_storage_size_in_tbs", data_storage_size_in_tbs) - pulumi.set(__self__, "db_node_storage_size_in_gbs", db_node_storage_size_in_gbs) - pulumi.set(__self__, "db_server_version", db_server_version) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "last_maintenance_run_id", last_maintenance_run_id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "maintenance_windows", maintenance_windows) - pulumi.set(__self__, "max_cpu_count", max_cpu_count) - pulumi.set(__self__, "max_data_storage_in_tbs", max_data_storage_in_tbs) - pulumi.set(__self__, "max_db_node_storage_in_gbs", max_db_node_storage_in_gbs) - pulumi.set(__self__, "max_memory_in_gbs", max_memory_in_gbs) - pulumi.set(__self__, "memory_size_in_gbs", memory_size_in_gbs) - pulumi.set(__self__, "monthly_db_server_version", monthly_db_server_version) - pulumi.set(__self__, "monthly_storage_server_version", monthly_storage_server_version) - pulumi.set(__self__, "next_maintenance_run_id", next_maintenance_run_id) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "storage_count", storage_count) - pulumi.set(__self__, "storage_server_version", storage_server_version) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "total_storage_size_in_gbs", total_storage_size_in_gbs) + GetCloudExadataInfrastructuresCloudExadataInfrastructureResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + activated_storage_count=activated_storage_count, + additional_storage_count=additional_storage_count, + availability_domain=availability_domain, + available_storage_size_in_gbs=available_storage_size_in_gbs, + compartment_id=compartment_id, + compute_count=compute_count, + cpu_count=cpu_count, + customer_contacts=customer_contacts, + data_storage_size_in_tbs=data_storage_size_in_tbs, + db_node_storage_size_in_gbs=db_node_storage_size_in_gbs, + db_server_version=db_server_version, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + last_maintenance_run_id=last_maintenance_run_id, + lifecycle_details=lifecycle_details, + maintenance_windows=maintenance_windows, + max_cpu_count=max_cpu_count, + max_data_storage_in_tbs=max_data_storage_in_tbs, + max_db_node_storage_in_gbs=max_db_node_storage_in_gbs, + max_memory_in_gbs=max_memory_in_gbs, + memory_size_in_gbs=memory_size_in_gbs, + monthly_db_server_version=monthly_db_server_version, + monthly_storage_server_version=monthly_storage_server_version, + next_maintenance_run_id=next_maintenance_run_id, + shape=shape, + state=state, + storage_count=storage_count, + storage_server_version=storage_server_version, + time_created=time_created, + total_storage_size_in_gbs=total_storage_size_in_gbs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + activated_storage_count: int, + additional_storage_count: int, + availability_domain: str, + available_storage_size_in_gbs: int, + compartment_id: str, + compute_count: int, + cpu_count: int, + customer_contacts: Sequence['outputs.GetCloudExadataInfrastructuresCloudExadataInfrastructureCustomerContactResult'], + data_storage_size_in_tbs: float, + db_node_storage_size_in_gbs: int, + db_server_version: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + last_maintenance_run_id: str, + lifecycle_details: str, + maintenance_windows: Sequence['outputs.GetCloudExadataInfrastructuresCloudExadataInfrastructureMaintenanceWindowResult'], + max_cpu_count: int, + max_data_storage_in_tbs: float, + max_db_node_storage_in_gbs: int, + max_memory_in_gbs: int, + memory_size_in_gbs: int, + monthly_db_server_version: str, + monthly_storage_server_version: str, + next_maintenance_run_id: str, + shape: str, + state: str, + storage_count: int, + storage_server_version: str, + time_created: str, + total_storage_size_in_gbs: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("activated_storage_count", activated_storage_count) + _setter("additional_storage_count", additional_storage_count) + _setter("availability_domain", availability_domain) + _setter("available_storage_size_in_gbs", available_storage_size_in_gbs) + _setter("compartment_id", compartment_id) + _setter("compute_count", compute_count) + _setter("cpu_count", cpu_count) + _setter("customer_contacts", customer_contacts) + _setter("data_storage_size_in_tbs", data_storage_size_in_tbs) + _setter("db_node_storage_size_in_gbs", db_node_storage_size_in_gbs) + _setter("db_server_version", db_server_version) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("last_maintenance_run_id", last_maintenance_run_id) + _setter("lifecycle_details", lifecycle_details) + _setter("maintenance_windows", maintenance_windows) + _setter("max_cpu_count", max_cpu_count) + _setter("max_data_storage_in_tbs", max_data_storage_in_tbs) + _setter("max_db_node_storage_in_gbs", max_db_node_storage_in_gbs) + _setter("max_memory_in_gbs", max_memory_in_gbs) + _setter("memory_size_in_gbs", memory_size_in_gbs) + _setter("monthly_db_server_version", monthly_db_server_version) + _setter("monthly_storage_server_version", monthly_storage_server_version) + _setter("next_maintenance_run_id", next_maintenance_run_id) + _setter("shape", shape) + _setter("state", state) + _setter("storage_count", storage_count) + _setter("storage_server_version", storage_server_version) + _setter("time_created", time_created) + _setter("total_storage_size_in_gbs", total_storage_size_in_gbs) @property @pulumi.getter(name="activatedStorageCount") @@ -23201,7 +28808,16 @@ def __init__(__self__, *, """ :param str email: The email address used by Oracle to send notifications regarding databases and infrastructure. """ - pulumi.set(__self__, "email", email) + GetCloudExadataInfrastructuresCloudExadataInfrastructureCustomerContactResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + email=email, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + email: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("email", email) @property @pulumi.getter @@ -23238,16 +28854,43 @@ def __init__(__self__, *, :param str preference: The maintenance window scheduling preference. :param Sequence[int] weeks_of_months: Weeks during the month when maintenance should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week. For example, to allow maintenance during the 2nd week of the month (from the 8th day to the 14th day of the month), use the value 2. Maintenance cannot be scheduled for the fifth week of months that contain more than 28 days. Note that this parameter works in conjunction with the daysOfWeek and hoursOfDay parameters to allow you to specify specific days of the week and hours that maintenance will be performed. """ - pulumi.set(__self__, "custom_action_timeout_in_mins", custom_action_timeout_in_mins) - pulumi.set(__self__, "days_of_weeks", days_of_weeks) - pulumi.set(__self__, "hours_of_days", hours_of_days) - pulumi.set(__self__, "is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) - pulumi.set(__self__, "is_monthly_patching_enabled", is_monthly_patching_enabled) - pulumi.set(__self__, "lead_time_in_weeks", lead_time_in_weeks) - pulumi.set(__self__, "months", months) - pulumi.set(__self__, "patching_mode", patching_mode) - pulumi.set(__self__, "preference", preference) - pulumi.set(__self__, "weeks_of_months", weeks_of_months) + GetCloudExadataInfrastructuresCloudExadataInfrastructureMaintenanceWindowResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_action_timeout_in_mins=custom_action_timeout_in_mins, + days_of_weeks=days_of_weeks, + hours_of_days=hours_of_days, + is_custom_action_timeout_enabled=is_custom_action_timeout_enabled, + is_monthly_patching_enabled=is_monthly_patching_enabled, + lead_time_in_weeks=lead_time_in_weeks, + months=months, + patching_mode=patching_mode, + preference=preference, + weeks_of_months=weeks_of_months, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_action_timeout_in_mins: int, + days_of_weeks: Sequence['outputs.GetCloudExadataInfrastructuresCloudExadataInfrastructureMaintenanceWindowDaysOfWeekResult'], + hours_of_days: Sequence[int], + is_custom_action_timeout_enabled: bool, + is_monthly_patching_enabled: bool, + lead_time_in_weeks: int, + months: Sequence['outputs.GetCloudExadataInfrastructuresCloudExadataInfrastructureMaintenanceWindowMonthResult'], + patching_mode: str, + preference: str, + weeks_of_months: Sequence[int], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("custom_action_timeout_in_mins", custom_action_timeout_in_mins) + _setter("days_of_weeks", days_of_weeks) + _setter("hours_of_days", hours_of_days) + _setter("is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) + _setter("is_monthly_patching_enabled", is_monthly_patching_enabled) + _setter("lead_time_in_weeks", lead_time_in_weeks) + _setter("months", months) + _setter("patching_mode", patching_mode) + _setter("preference", preference) + _setter("weeks_of_months", weeks_of_months) @property @pulumi.getter(name="customActionTimeoutInMins") @@ -23338,7 +28981,16 @@ def __init__(__self__, *, """ :param str name: Name of the month of the year. """ - pulumi.set(__self__, "name", name) + GetCloudExadataInfrastructuresCloudExadataInfrastructureMaintenanceWindowDaysOfWeekResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -23356,7 +29008,16 @@ def __init__(__self__, *, """ :param str name: Name of the month of the year. """ - pulumi.set(__self__, "name", name) + GetCloudExadataInfrastructuresCloudExadataInfrastructureMaintenanceWindowMonthResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -23376,10 +29037,23 @@ def __init__(__self__, *, """ :param str name: Name of the month of the year. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetCloudExadataInfrastructuresFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -23411,9 +29085,22 @@ def __init__(__self__, *, :param bool is_health_monitoring_enabled: Indicates whether health monitoring is enabled for the VM cluster / Cloud VM cluster / VMBM DBCS. Enabling health monitoring allows Oracle to collect diagnostic data and share it with its operations and support personnel. You may also receive notifications for some events. Collecting health diagnostics enables Oracle to provide proactive support and enhanced service for your system. Optionally enable health monitoring while provisioning a system. You can also disable or enable health monitoring anytime using the `UpdateVmCluster`, `UpdateCloudVmCluster` or `updateDbsystem` API. :param bool is_incident_logs_enabled: Indicates whether incident logs and trace collection are enabled for the VM cluster / Cloud VM cluster / VMBM DBCS. Enabling incident logs collection allows Oracle to receive Events service notifications for guest VM issues, collect incident logs and traces, and use them to diagnose issues and resolve them. Optionally enable incident logs collection while provisioning a system. You can also disable or enable incident logs collection anytime using the `UpdateVmCluster`, `updateCloudVmCluster` or `updateDbsystem` API. """ - pulumi.set(__self__, "is_diagnostics_events_enabled", is_diagnostics_events_enabled) - pulumi.set(__self__, "is_health_monitoring_enabled", is_health_monitoring_enabled) - pulumi.set(__self__, "is_incident_logs_enabled", is_incident_logs_enabled) + GetCloudVmClusterDataCollectionOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_diagnostics_events_enabled=is_diagnostics_events_enabled, + is_health_monitoring_enabled=is_health_monitoring_enabled, + is_incident_logs_enabled=is_incident_logs_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_diagnostics_events_enabled: bool, + is_health_monitoring_enabled: bool, + is_incident_logs_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_diagnostics_events_enabled", is_diagnostics_events_enabled) + _setter("is_health_monitoring_enabled", is_health_monitoring_enabled) + _setter("is_incident_logs_enabled", is_incident_logs_enabled) @property @pulumi.getter(name="isDiagnosticsEventsEnabled") @@ -23453,10 +29140,25 @@ def __init__(__self__, *, :param str objective: The current value for the IORM objective. The default is `AUTO`. :param str state: The current state of the cloud VM cluster. """ - pulumi.set(__self__, "db_plans", db_plans) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "objective", objective) - pulumi.set(__self__, "state", state) + GetCloudVmClusterIormConfigCachResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_plans=db_plans, + lifecycle_details=lifecycle_details, + objective=objective, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_plans: Sequence['outputs.GetCloudVmClusterIormConfigCachDbPlanResult'], + lifecycle_details: str, + objective: str, + state: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("db_plans", db_plans) + _setter("lifecycle_details", lifecycle_details) + _setter("objective", objective) + _setter("state", state) @property @pulumi.getter(name="dbPlans") @@ -23502,9 +29204,22 @@ def __init__(__self__, *, :param str flash_cache_limit: The flash cache limit for this database. This value is internally configured based on the share value assigned to the database. :param int share: The relative priority of this database. """ - pulumi.set(__self__, "db_name", db_name) - pulumi.set(__self__, "flash_cache_limit", flash_cache_limit) - pulumi.set(__self__, "share", share) + GetCloudVmClusterIormConfigCachDbPlanResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_name=db_name, + flash_cache_limit=flash_cache_limit, + share=share, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_name: str, + flash_cache_limit: str, + share: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("db_name", db_name) + _setter("flash_cache_limit", flash_cache_limit) + _setter("share", share) @property @pulumi.getter(name="dbName") @@ -23542,9 +29257,22 @@ def __init__(__self__, *, :param str flash_cache_limit: The flash cache limit for this database. This value is internally configured based on the share value assigned to the database. :param int share: The relative priority of this database. """ - pulumi.set(__self__, "db_name", db_name) - pulumi.set(__self__, "flash_cache_limit", flash_cache_limit) - pulumi.set(__self__, "share", share) + GetCloudVmClusterIormConfigDbPlanResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_name=db_name, + flash_cache_limit=flash_cache_limit, + share=share, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_name: str, + flash_cache_limit: str, + share: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("db_name", db_name) + _setter("flash_cache_limit", flash_cache_limit) + _setter("share", share) @property @pulumi.getter(name="dbName") @@ -23670,54 +29398,157 @@ def __init__(__self__, *, :param Sequence[str] vip_ids: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IP (VIP) addresses associated with the cloud VM cluster. The Cluster Ready Services (CRS) creates and maintains one VIP address for each node in the Exadata Cloud Service instance to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster. :param str zone_id: The OCID of the zone the cloud VM cluster is associated with. """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "backup_network_nsg_ids", backup_network_nsg_ids) - pulumi.set(__self__, "backup_subnet_id", backup_subnet_id) - pulumi.set(__self__, "cloud_exadata_infrastructure_id", cloud_exadata_infrastructure_id) - pulumi.set(__self__, "cluster_name", cluster_name) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "cpu_core_count", cpu_core_count) - pulumi.set(__self__, "create_async", create_async) - pulumi.set(__self__, "data_collection_options", data_collection_options) - pulumi.set(__self__, "data_storage_percentage", data_storage_percentage) - pulumi.set(__self__, "data_storage_size_in_tbs", data_storage_size_in_tbs) - pulumi.set(__self__, "db_node_storage_size_in_gbs", db_node_storage_size_in_gbs) - pulumi.set(__self__, "db_servers", db_servers) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "disk_redundancy", disk_redundancy) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "domain", domain) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "gi_version", gi_version) - pulumi.set(__self__, "hostname", hostname) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "iorm_config_caches", iorm_config_caches) - pulumi.set(__self__, "is_local_backup_enabled", is_local_backup_enabled) - pulumi.set(__self__, "is_sparse_diskgroup_enabled", is_sparse_diskgroup_enabled) - pulumi.set(__self__, "last_update_history_entry_id", last_update_history_entry_id) - pulumi.set(__self__, "license_model", license_model) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "listener_port", listener_port) - pulumi.set(__self__, "memory_size_in_gbs", memory_size_in_gbs) - pulumi.set(__self__, "node_count", node_count) - pulumi.set(__self__, "nsg_ids", nsg_ids) - pulumi.set(__self__, "ocpu_count", ocpu_count) - pulumi.set(__self__, "private_zone_id", private_zone_id) - pulumi.set(__self__, "scan_dns_name", scan_dns_name) - pulumi.set(__self__, "scan_dns_record_id", scan_dns_record_id) - pulumi.set(__self__, "scan_ip_ids", scan_ip_ids) - pulumi.set(__self__, "scan_listener_port_tcp", scan_listener_port_tcp) - pulumi.set(__self__, "scan_listener_port_tcp_ssl", scan_listener_port_tcp_ssl) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "ssh_public_keys", ssh_public_keys) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "storage_size_in_gbs", storage_size_in_gbs) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "system_version", system_version) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_zone", time_zone) - pulumi.set(__self__, "vip_ids", vip_ids) - pulumi.set(__self__, "zone_id", zone_id) + GetCloudVmClustersCloudVmClusterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + backup_network_nsg_ids=backup_network_nsg_ids, + backup_subnet_id=backup_subnet_id, + cloud_exadata_infrastructure_id=cloud_exadata_infrastructure_id, + cluster_name=cluster_name, + compartment_id=compartment_id, + cpu_core_count=cpu_core_count, + create_async=create_async, + data_collection_options=data_collection_options, + data_storage_percentage=data_storage_percentage, + data_storage_size_in_tbs=data_storage_size_in_tbs, + db_node_storage_size_in_gbs=db_node_storage_size_in_gbs, + db_servers=db_servers, + defined_tags=defined_tags, + disk_redundancy=disk_redundancy, + display_name=display_name, + domain=domain, + freeform_tags=freeform_tags, + gi_version=gi_version, + hostname=hostname, + id=id, + iorm_config_caches=iorm_config_caches, + is_local_backup_enabled=is_local_backup_enabled, + is_sparse_diskgroup_enabled=is_sparse_diskgroup_enabled, + last_update_history_entry_id=last_update_history_entry_id, + license_model=license_model, + lifecycle_details=lifecycle_details, + listener_port=listener_port, + memory_size_in_gbs=memory_size_in_gbs, + node_count=node_count, + nsg_ids=nsg_ids, + ocpu_count=ocpu_count, + private_zone_id=private_zone_id, + scan_dns_name=scan_dns_name, + scan_dns_record_id=scan_dns_record_id, + scan_ip_ids=scan_ip_ids, + scan_listener_port_tcp=scan_listener_port_tcp, + scan_listener_port_tcp_ssl=scan_listener_port_tcp_ssl, + shape=shape, + ssh_public_keys=ssh_public_keys, + state=state, + storage_size_in_gbs=storage_size_in_gbs, + subnet_id=subnet_id, + system_version=system_version, + time_created=time_created, + time_zone=time_zone, + vip_ids=vip_ids, + zone_id=zone_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + backup_network_nsg_ids: Sequence[str], + backup_subnet_id: str, + cloud_exadata_infrastructure_id: str, + cluster_name: str, + compartment_id: str, + cpu_core_count: int, + create_async: bool, + data_collection_options: Sequence['outputs.GetCloudVmClustersCloudVmClusterDataCollectionOptionResult'], + data_storage_percentage: int, + data_storage_size_in_tbs: float, + db_node_storage_size_in_gbs: int, + db_servers: Sequence[str], + defined_tags: Mapping[str, Any], + disk_redundancy: str, + display_name: str, + domain: str, + freeform_tags: Mapping[str, Any], + gi_version: str, + hostname: str, + id: str, + iorm_config_caches: Sequence['outputs.GetCloudVmClustersCloudVmClusterIormConfigCachResult'], + is_local_backup_enabled: bool, + is_sparse_diskgroup_enabled: bool, + last_update_history_entry_id: str, + license_model: str, + lifecycle_details: str, + listener_port: str, + memory_size_in_gbs: int, + node_count: int, + nsg_ids: Sequence[str], + ocpu_count: float, + private_zone_id: str, + scan_dns_name: str, + scan_dns_record_id: str, + scan_ip_ids: Sequence[str], + scan_listener_port_tcp: int, + scan_listener_port_tcp_ssl: int, + shape: str, + ssh_public_keys: Sequence[str], + state: str, + storage_size_in_gbs: int, + subnet_id: str, + system_version: str, + time_created: str, + time_zone: str, + vip_ids: Sequence[str], + zone_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("backup_network_nsg_ids", backup_network_nsg_ids) + _setter("backup_subnet_id", backup_subnet_id) + _setter("cloud_exadata_infrastructure_id", cloud_exadata_infrastructure_id) + _setter("cluster_name", cluster_name) + _setter("compartment_id", compartment_id) + _setter("cpu_core_count", cpu_core_count) + _setter("create_async", create_async) + _setter("data_collection_options", data_collection_options) + _setter("data_storage_percentage", data_storage_percentage) + _setter("data_storage_size_in_tbs", data_storage_size_in_tbs) + _setter("db_node_storage_size_in_gbs", db_node_storage_size_in_gbs) + _setter("db_servers", db_servers) + _setter("defined_tags", defined_tags) + _setter("disk_redundancy", disk_redundancy) + _setter("display_name", display_name) + _setter("domain", domain) + _setter("freeform_tags", freeform_tags) + _setter("gi_version", gi_version) + _setter("hostname", hostname) + _setter("id", id) + _setter("iorm_config_caches", iorm_config_caches) + _setter("is_local_backup_enabled", is_local_backup_enabled) + _setter("is_sparse_diskgroup_enabled", is_sparse_diskgroup_enabled) + _setter("last_update_history_entry_id", last_update_history_entry_id) + _setter("license_model", license_model) + _setter("lifecycle_details", lifecycle_details) + _setter("listener_port", listener_port) + _setter("memory_size_in_gbs", memory_size_in_gbs) + _setter("node_count", node_count) + _setter("nsg_ids", nsg_ids) + _setter("ocpu_count", ocpu_count) + _setter("private_zone_id", private_zone_id) + _setter("scan_dns_name", scan_dns_name) + _setter("scan_dns_record_id", scan_dns_record_id) + _setter("scan_ip_ids", scan_ip_ids) + _setter("scan_listener_port_tcp", scan_listener_port_tcp) + _setter("scan_listener_port_tcp_ssl", scan_listener_port_tcp_ssl) + _setter("shape", shape) + _setter("ssh_public_keys", ssh_public_keys) + _setter("state", state) + _setter("storage_size_in_gbs", storage_size_in_gbs) + _setter("subnet_id", subnet_id) + _setter("system_version", system_version) + _setter("time_created", time_created) + _setter("time_zone", time_zone) + _setter("vip_ids", vip_ids) + _setter("zone_id", zone_id) @property @pulumi.getter(name="availabilityDomain") @@ -24107,9 +29938,22 @@ def __init__(__self__, *, :param bool is_health_monitoring_enabled: Indicates whether health monitoring is enabled for the VM cluster / Cloud VM cluster / VMBM DBCS. Enabling health monitoring allows Oracle to collect diagnostic data and share it with its operations and support personnel. You may also receive notifications for some events. Collecting health diagnostics enables Oracle to provide proactive support and enhanced service for your system. Optionally enable health monitoring while provisioning a system. You can also disable or enable health monitoring anytime using the `UpdateVmCluster`, `UpdateCloudVmCluster` or `updateDbsystem` API. :param bool is_incident_logs_enabled: Indicates whether incident logs and trace collection are enabled for the VM cluster / Cloud VM cluster / VMBM DBCS. Enabling incident logs collection allows Oracle to receive Events service notifications for guest VM issues, collect incident logs and traces, and use them to diagnose issues and resolve them. Optionally enable incident logs collection while provisioning a system. You can also disable or enable incident logs collection anytime using the `UpdateVmCluster`, `updateCloudVmCluster` or `updateDbsystem` API. """ - pulumi.set(__self__, "is_diagnostics_events_enabled", is_diagnostics_events_enabled) - pulumi.set(__self__, "is_health_monitoring_enabled", is_health_monitoring_enabled) - pulumi.set(__self__, "is_incident_logs_enabled", is_incident_logs_enabled) + GetCloudVmClustersCloudVmClusterDataCollectionOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_diagnostics_events_enabled=is_diagnostics_events_enabled, + is_health_monitoring_enabled=is_health_monitoring_enabled, + is_incident_logs_enabled=is_incident_logs_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_diagnostics_events_enabled: bool, + is_health_monitoring_enabled: bool, + is_incident_logs_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_diagnostics_events_enabled", is_diagnostics_events_enabled) + _setter("is_health_monitoring_enabled", is_health_monitoring_enabled) + _setter("is_incident_logs_enabled", is_incident_logs_enabled) @property @pulumi.getter(name="isDiagnosticsEventsEnabled") @@ -24147,10 +29991,25 @@ def __init__(__self__, *, :param str lifecycle_details: Additional information about the current lifecycle state. :param str state: A filter to return only cloud VM clusters that match the given lifecycle state exactly. """ - pulumi.set(__self__, "db_plans", db_plans) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "objective", objective) - pulumi.set(__self__, "state", state) + GetCloudVmClustersCloudVmClusterIormConfigCachResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_plans=db_plans, + lifecycle_details=lifecycle_details, + objective=objective, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_plans: Sequence['outputs.GetCloudVmClustersCloudVmClusterIormConfigCachDbPlanResult'], + lifecycle_details: str, + objective: str, + state: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("db_plans", db_plans) + _setter("lifecycle_details", lifecycle_details) + _setter("objective", objective) + _setter("state", state) @property @pulumi.getter(name="dbPlans") @@ -24185,9 +30044,22 @@ def __init__(__self__, *, db_name: str, flash_cache_limit: str, share: int): - pulumi.set(__self__, "db_name", db_name) - pulumi.set(__self__, "flash_cache_limit", flash_cache_limit) - pulumi.set(__self__, "share", share) + GetCloudVmClustersCloudVmClusterIormConfigCachDbPlanResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_name=db_name, + flash_cache_limit=flash_cache_limit, + share=share, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_name: str, + flash_cache_limit: str, + share: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("db_name", db_name) + _setter("flash_cache_limit", flash_cache_limit) + _setter("share", share) @property @pulumi.getter(name="dbName") @@ -24211,10 +30083,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetCloudVmClustersFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -24238,9 +30123,22 @@ def __init__(__self__, *, is_diagnostics_events_enabled: bool, is_health_monitoring_enabled: bool, is_incident_logs_enabled: bool): - pulumi.set(__self__, "is_diagnostics_events_enabled", is_diagnostics_events_enabled) - pulumi.set(__self__, "is_health_monitoring_enabled", is_health_monitoring_enabled) - pulumi.set(__self__, "is_incident_logs_enabled", is_incident_logs_enabled) + GetDataGuardAssociationDataCollectionOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_diagnostics_events_enabled=is_diagnostics_events_enabled, + is_health_monitoring_enabled=is_health_monitoring_enabled, + is_incident_logs_enabled=is_incident_logs_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_diagnostics_events_enabled: bool, + is_health_monitoring_enabled: bool, + is_incident_logs_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_diagnostics_events_enabled", is_diagnostics_events_enabled) + _setter("is_health_monitoring_enabled", is_health_monitoring_enabled) + _setter("is_incident_logs_enabled", is_incident_logs_enabled) @property @pulumi.getter(name="isDiagnosticsEventsEnabled") @@ -24322,49 +30220,142 @@ def __init__(__self__, *, :param str time_created: The date and time the Data Guard association was created. :param str transport_type: The redo transport type used by this Data Guard association. For more information, see [Redo Transport Services](http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-redo-transport-services.htm#SBYDB00400) in the Oracle Data Guard documentation. """ - pulumi.set(__self__, "apply_lag", apply_lag) - pulumi.set(__self__, "apply_rate", apply_rate) - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "backup_network_nsg_ids", backup_network_nsg_ids) - pulumi.set(__self__, "cpu_core_count", cpu_core_count) - pulumi.set(__self__, "create_async", create_async) - pulumi.set(__self__, "creation_type", creation_type) - pulumi.set(__self__, "data_collection_options", data_collection_options) - pulumi.set(__self__, "database_admin_password", database_admin_password) - pulumi.set(__self__, "database_defined_tags", database_defined_tags) - pulumi.set(__self__, "database_freeform_tags", database_freeform_tags) - pulumi.set(__self__, "database_id", database_id) - pulumi.set(__self__, "database_software_image_id", database_software_image_id) - pulumi.set(__self__, "db_system_defined_tags", db_system_defined_tags) - pulumi.set(__self__, "db_system_freeform_tags", db_system_freeform_tags) - pulumi.set(__self__, "delete_standby_db_home_on_delete", delete_standby_db_home_on_delete) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "fault_domains", fault_domains) - pulumi.set(__self__, "hostname", hostname) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_active_data_guard_enabled", is_active_data_guard_enabled) - pulumi.set(__self__, "license_model", license_model) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "node_count", node_count) - pulumi.set(__self__, "nsg_ids", nsg_ids) - pulumi.set(__self__, "peer_data_guard_association_id", peer_data_guard_association_id) - pulumi.set(__self__, "peer_database_id", peer_database_id) - pulumi.set(__self__, "peer_db_home_id", peer_db_home_id) - pulumi.set(__self__, "peer_db_system_id", peer_db_system_id) - pulumi.set(__self__, "peer_db_unique_name", peer_db_unique_name) - pulumi.set(__self__, "peer_role", peer_role) - pulumi.set(__self__, "peer_sid_prefix", peer_sid_prefix) - pulumi.set(__self__, "peer_vm_cluster_id", peer_vm_cluster_id) - pulumi.set(__self__, "private_ip", private_ip) - pulumi.set(__self__, "protection_mode", protection_mode) - pulumi.set(__self__, "role", role) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "storage_volume_performance_mode", storage_volume_performance_mode) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_zone", time_zone) - pulumi.set(__self__, "transport_type", transport_type) + GetDataGuardAssociationsDataGuardAssociationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + apply_lag=apply_lag, + apply_rate=apply_rate, + availability_domain=availability_domain, + backup_network_nsg_ids=backup_network_nsg_ids, + cpu_core_count=cpu_core_count, + create_async=create_async, + creation_type=creation_type, + data_collection_options=data_collection_options, + database_admin_password=database_admin_password, + database_defined_tags=database_defined_tags, + database_freeform_tags=database_freeform_tags, + database_id=database_id, + database_software_image_id=database_software_image_id, + db_system_defined_tags=db_system_defined_tags, + db_system_freeform_tags=db_system_freeform_tags, + delete_standby_db_home_on_delete=delete_standby_db_home_on_delete, + display_name=display_name, + fault_domains=fault_domains, + hostname=hostname, + id=id, + is_active_data_guard_enabled=is_active_data_guard_enabled, + license_model=license_model, + lifecycle_details=lifecycle_details, + node_count=node_count, + nsg_ids=nsg_ids, + peer_data_guard_association_id=peer_data_guard_association_id, + peer_database_id=peer_database_id, + peer_db_home_id=peer_db_home_id, + peer_db_system_id=peer_db_system_id, + peer_db_unique_name=peer_db_unique_name, + peer_role=peer_role, + peer_sid_prefix=peer_sid_prefix, + peer_vm_cluster_id=peer_vm_cluster_id, + private_ip=private_ip, + protection_mode=protection_mode, + role=role, + shape=shape, + state=state, + storage_volume_performance_mode=storage_volume_performance_mode, + subnet_id=subnet_id, + time_created=time_created, + time_zone=time_zone, + transport_type=transport_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + apply_lag: str, + apply_rate: str, + availability_domain: str, + backup_network_nsg_ids: Sequence[str], + cpu_core_count: int, + create_async: bool, + creation_type: str, + data_collection_options: Sequence['outputs.GetDataGuardAssociationsDataGuardAssociationDataCollectionOptionResult'], + database_admin_password: str, + database_defined_tags: Mapping[str, Any], + database_freeform_tags: Mapping[str, Any], + database_id: str, + database_software_image_id: str, + db_system_defined_tags: Mapping[str, Any], + db_system_freeform_tags: Mapping[str, Any], + delete_standby_db_home_on_delete: str, + display_name: str, + fault_domains: Sequence[str], + hostname: str, + id: str, + is_active_data_guard_enabled: bool, + license_model: str, + lifecycle_details: str, + node_count: int, + nsg_ids: Sequence[str], + peer_data_guard_association_id: str, + peer_database_id: str, + peer_db_home_id: str, + peer_db_system_id: str, + peer_db_unique_name: str, + peer_role: str, + peer_sid_prefix: str, + peer_vm_cluster_id: str, + private_ip: str, + protection_mode: str, + role: str, + shape: str, + state: str, + storage_volume_performance_mode: str, + subnet_id: str, + time_created: str, + time_zone: str, + transport_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("apply_lag", apply_lag) + _setter("apply_rate", apply_rate) + _setter("availability_domain", availability_domain) + _setter("backup_network_nsg_ids", backup_network_nsg_ids) + _setter("cpu_core_count", cpu_core_count) + _setter("create_async", create_async) + _setter("creation_type", creation_type) + _setter("data_collection_options", data_collection_options) + _setter("database_admin_password", database_admin_password) + _setter("database_defined_tags", database_defined_tags) + _setter("database_freeform_tags", database_freeform_tags) + _setter("database_id", database_id) + _setter("database_software_image_id", database_software_image_id) + _setter("db_system_defined_tags", db_system_defined_tags) + _setter("db_system_freeform_tags", db_system_freeform_tags) + _setter("delete_standby_db_home_on_delete", delete_standby_db_home_on_delete) + _setter("display_name", display_name) + _setter("fault_domains", fault_domains) + _setter("hostname", hostname) + _setter("id", id) + _setter("is_active_data_guard_enabled", is_active_data_guard_enabled) + _setter("license_model", license_model) + _setter("lifecycle_details", lifecycle_details) + _setter("node_count", node_count) + _setter("nsg_ids", nsg_ids) + _setter("peer_data_guard_association_id", peer_data_guard_association_id) + _setter("peer_database_id", peer_database_id) + _setter("peer_db_home_id", peer_db_home_id) + _setter("peer_db_system_id", peer_db_system_id) + _setter("peer_db_unique_name", peer_db_unique_name) + _setter("peer_role", peer_role) + _setter("peer_sid_prefix", peer_sid_prefix) + _setter("peer_vm_cluster_id", peer_vm_cluster_id) + _setter("private_ip", private_ip) + _setter("protection_mode", protection_mode) + _setter("role", role) + _setter("shape", shape) + _setter("state", state) + _setter("storage_volume_performance_mode", storage_volume_performance_mode) + _setter("subnet_id", subnet_id) + _setter("time_created", time_created) + _setter("time_zone", time_zone) + _setter("transport_type", transport_type) @property @pulumi.getter(name="applyLag") @@ -24636,9 +30627,22 @@ def __init__(__self__, *, is_diagnostics_events_enabled: bool, is_health_monitoring_enabled: bool, is_incident_logs_enabled: bool): - pulumi.set(__self__, "is_diagnostics_events_enabled", is_diagnostics_events_enabled) - pulumi.set(__self__, "is_health_monitoring_enabled", is_health_monitoring_enabled) - pulumi.set(__self__, "is_incident_logs_enabled", is_incident_logs_enabled) + GetDataGuardAssociationsDataGuardAssociationDataCollectionOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_diagnostics_events_enabled=is_diagnostics_events_enabled, + is_health_monitoring_enabled=is_health_monitoring_enabled, + is_incident_logs_enabled=is_incident_logs_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_diagnostics_events_enabled: bool, + is_health_monitoring_enabled: bool, + is_incident_logs_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_diagnostics_events_enabled", is_diagnostics_events_enabled) + _setter("is_health_monitoring_enabled", is_health_monitoring_enabled) + _setter("is_incident_logs_enabled", is_incident_logs_enabled) @property @pulumi.getter(name="isDiagnosticsEventsEnabled") @@ -24662,10 +30666,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDataGuardAssociationsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -24694,9 +30711,22 @@ def __init__(__self__, *, :param str cdb_default: Host name based CDB Connection String. :param str cdb_ip_default: IP based CDB Connection String. """ - pulumi.set(__self__, "all_connection_strings", all_connection_strings) - pulumi.set(__self__, "cdb_default", cdb_default) - pulumi.set(__self__, "cdb_ip_default", cdb_ip_default) + GetDatabaseConnectionStringResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + all_connection_strings=all_connection_strings, + cdb_default=cdb_default, + cdb_ip_default=cdb_ip_default, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + all_connection_strings: Mapping[str, Any], + cdb_default: str, + cdb_ip_default: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("all_connection_strings", all_connection_strings) + _setter("cdb_default", cdb_default) + _setter("cdb_ip_default", cdb_ip_default) @property @pulumi.getter(name="allConnectionStrings") @@ -24760,24 +30790,67 @@ def __init__(__self__, *, :param str sid_prefix: Specifies a prefix for the `Oracle SID` of the database to be created. :param str vault_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure [vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). """ - pulumi.set(__self__, "admin_password", admin_password) - pulumi.set(__self__, "backup_id", backup_id) - pulumi.set(__self__, "backup_tde_password", backup_tde_password) - pulumi.set(__self__, "character_set", character_set) - pulumi.set(__self__, "database_software_image_id", database_software_image_id) - pulumi.set(__self__, "db_backup_configs", db_backup_configs) - pulumi.set(__self__, "db_name", db_name) - pulumi.set(__self__, "db_unique_name", db_unique_name) - pulumi.set(__self__, "db_workload", db_workload) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "kms_key_id", kms_key_id) - pulumi.set(__self__, "kms_key_version_id", kms_key_version_id) - pulumi.set(__self__, "ncharacter_set", ncharacter_set) - pulumi.set(__self__, "pdb_name", pdb_name) - pulumi.set(__self__, "sid_prefix", sid_prefix) - pulumi.set(__self__, "tde_wallet_password", tde_wallet_password) - pulumi.set(__self__, "vault_id", vault_id) + GetDatabaseDatabaseResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + admin_password=admin_password, + backup_id=backup_id, + backup_tde_password=backup_tde_password, + character_set=character_set, + database_software_image_id=database_software_image_id, + db_backup_configs=db_backup_configs, + db_name=db_name, + db_unique_name=db_unique_name, + db_workload=db_workload, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + kms_key_id=kms_key_id, + kms_key_version_id=kms_key_version_id, + ncharacter_set=ncharacter_set, + pdb_name=pdb_name, + sid_prefix=sid_prefix, + tde_wallet_password=tde_wallet_password, + vault_id=vault_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + admin_password: str, + backup_id: str, + backup_tde_password: str, + character_set: str, + database_software_image_id: str, + db_backup_configs: Sequence['outputs.GetDatabaseDatabaseDbBackupConfigResult'], + db_name: str, + db_unique_name: str, + db_workload: str, + defined_tags: Mapping[str, Any], + freeform_tags: Mapping[str, Any], + kms_key_id: str, + kms_key_version_id: str, + ncharacter_set: str, + pdb_name: str, + sid_prefix: str, + tde_wallet_password: str, + vault_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("admin_password", admin_password) + _setter("backup_id", backup_id) + _setter("backup_tde_password", backup_tde_password) + _setter("character_set", character_set) + _setter("database_software_image_id", database_software_image_id) + _setter("db_backup_configs", db_backup_configs) + _setter("db_name", db_name) + _setter("db_unique_name", db_unique_name) + _setter("db_workload", db_workload) + _setter("defined_tags", defined_tags) + _setter("freeform_tags", freeform_tags) + _setter("kms_key_id", kms_key_id) + _setter("kms_key_version_id", kms_key_version_id) + _setter("ncharacter_set", ncharacter_set) + _setter("pdb_name", pdb_name) + _setter("sid_prefix", sid_prefix) + _setter("tde_wallet_password", tde_wallet_password) + _setter("vault_id", vault_id) @property @pulumi.getter(name="adminPassword") @@ -24933,14 +31006,37 @@ def __init__(__self__, *, :param int recovery_window_in_days: Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups only. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups. :param bool run_immediate_full_backup: If set to true, configures automatic full backups in the local region (the region of the DB system) for the first backup run immediately. """ - pulumi.set(__self__, "auto_backup_enabled", auto_backup_enabled) - pulumi.set(__self__, "auto_backup_window", auto_backup_window) - pulumi.set(__self__, "auto_full_backup_day", auto_full_backup_day) - pulumi.set(__self__, "auto_full_backup_window", auto_full_backup_window) - pulumi.set(__self__, "backup_deletion_policy", backup_deletion_policy) - pulumi.set(__self__, "backup_destination_details", backup_destination_details) - pulumi.set(__self__, "recovery_window_in_days", recovery_window_in_days) - pulumi.set(__self__, "run_immediate_full_backup", run_immediate_full_backup) + GetDatabaseDatabaseDbBackupConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + auto_backup_enabled=auto_backup_enabled, + auto_backup_window=auto_backup_window, + auto_full_backup_day=auto_full_backup_day, + auto_full_backup_window=auto_full_backup_window, + backup_deletion_policy=backup_deletion_policy, + backup_destination_details=backup_destination_details, + recovery_window_in_days=recovery_window_in_days, + run_immediate_full_backup=run_immediate_full_backup, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + auto_backup_enabled: bool, + auto_backup_window: str, + auto_full_backup_day: str, + auto_full_backup_window: str, + backup_deletion_policy: str, + backup_destination_details: Sequence['outputs.GetDatabaseDatabaseDbBackupConfigBackupDestinationDetailResult'], + recovery_window_in_days: int, + run_immediate_full_backup: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("auto_backup_enabled", auto_backup_enabled) + _setter("auto_backup_window", auto_backup_window) + _setter("auto_full_backup_day", auto_full_backup_day) + _setter("auto_full_backup_window", auto_full_backup_window) + _setter("backup_deletion_policy", backup_deletion_policy) + _setter("backup_destination_details", backup_destination_details) + _setter("recovery_window_in_days", recovery_window_in_days) + _setter("run_immediate_full_backup", run_immediate_full_backup) @property @pulumi.getter(name="autoBackupEnabled") @@ -25019,10 +31115,25 @@ def __init__(__self__, *, :param str id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database. :param str type: Type of the database backup destination. """ - pulumi.set(__self__, "dbrs_policy_id", dbrs_policy_id) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "vpc_user", vpc_user) + GetDatabaseDatabaseDbBackupConfigBackupDestinationDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + dbrs_policy_id=dbrs_policy_id, + id=id, + type=type, + vpc_user=vpc_user, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + dbrs_policy_id: str, + id: str, + type: str, + vpc_user: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("dbrs_policy_id", dbrs_policy_id) + _setter("id", id) + _setter("type", type) + _setter("vpc_user", vpc_user) @property @pulumi.getter(name="dbrsPolicyId") @@ -25063,8 +31174,19 @@ def __init__(__self__, *, :param str management_status: The status of the Database Management service. :param str management_type: The Database Management type. """ - pulumi.set(__self__, "management_status", management_status) - pulumi.set(__self__, "management_type", management_type) + GetDatabaseDatabaseManagementConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + management_status=management_status, + management_type=management_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + management_status: str, + management_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("management_status", management_status) + _setter("management_type", management_type) @property @pulumi.getter(name="managementStatus") @@ -25104,14 +31226,37 @@ def __init__(__self__, *, :param int recovery_window_in_days: Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups only. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups. :param bool run_immediate_full_backup: If set to true, configures automatic full backups in the local region (the region of the DB system) for the first backup run immediately. """ - pulumi.set(__self__, "auto_backup_enabled", auto_backup_enabled) - pulumi.set(__self__, "auto_backup_window", auto_backup_window) - pulumi.set(__self__, "auto_full_backup_day", auto_full_backup_day) - pulumi.set(__self__, "auto_full_backup_window", auto_full_backup_window) - pulumi.set(__self__, "backup_deletion_policy", backup_deletion_policy) - pulumi.set(__self__, "backup_destination_details", backup_destination_details) - pulumi.set(__self__, "recovery_window_in_days", recovery_window_in_days) - pulumi.set(__self__, "run_immediate_full_backup", run_immediate_full_backup) + GetDatabaseDbBackupConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + auto_backup_enabled=auto_backup_enabled, + auto_backup_window=auto_backup_window, + auto_full_backup_day=auto_full_backup_day, + auto_full_backup_window=auto_full_backup_window, + backup_deletion_policy=backup_deletion_policy, + backup_destination_details=backup_destination_details, + recovery_window_in_days=recovery_window_in_days, + run_immediate_full_backup=run_immediate_full_backup, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + auto_backup_enabled: bool, + auto_backup_window: str, + auto_full_backup_day: str, + auto_full_backup_window: str, + backup_deletion_policy: str, + backup_destination_details: Sequence['outputs.GetDatabaseDbBackupConfigBackupDestinationDetailResult'], + recovery_window_in_days: int, + run_immediate_full_backup: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("auto_backup_enabled", auto_backup_enabled) + _setter("auto_backup_window", auto_backup_window) + _setter("auto_full_backup_day", auto_full_backup_day) + _setter("auto_full_backup_window", auto_full_backup_window) + _setter("backup_deletion_policy", backup_deletion_policy) + _setter("backup_destination_details", backup_destination_details) + _setter("recovery_window_in_days", recovery_window_in_days) + _setter("run_immediate_full_backup", run_immediate_full_backup) @property @pulumi.getter(name="autoBackupEnabled") @@ -25190,10 +31335,25 @@ def __init__(__self__, *, :param str id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database. :param str type: Type of the database backup destination. """ - pulumi.set(__self__, "dbrs_policy_id", dbrs_policy_id) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "vpc_user", vpc_user) + GetDatabaseDbBackupConfigBackupDestinationDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + dbrs_policy_id=dbrs_policy_id, + id=id, + type=type, + vpc_user=vpc_user, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + dbrs_policy_id: str, + id: str, + type: str, + vpc_user: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("dbrs_policy_id", dbrs_policy_id) + _setter("id", id) + _setter("type", type) + _setter("vpc_user", vpc_user) @property @pulumi.getter(name="dbrsPolicyId") @@ -25231,10 +31391,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDatabaseMaintenanceRunHistoriesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -25263,9 +31436,22 @@ def __init__(__self__, *, :param str id: The OCID of the maintenance run. :param Sequence['GetDatabaseMaintenanceRunHistoriesMaintenanceRunHistoryMaintenanceRunDetailArgs'] maintenance_run_details: Details of a maintenance run. """ - pulumi.set(__self__, "db_servers_history_details", db_servers_history_details) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "maintenance_run_details", maintenance_run_details) + GetDatabaseMaintenanceRunHistoriesMaintenanceRunHistoryResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_servers_history_details=db_servers_history_details, + id=id, + maintenance_run_details=maintenance_run_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_servers_history_details: Sequence['outputs.GetDatabaseMaintenanceRunHistoriesMaintenanceRunHistoryDbServersHistoryDetailResult'], + id: str, + maintenance_run_details: Sequence['outputs.GetDatabaseMaintenanceRunHistoriesMaintenanceRunHistoryMaintenanceRunDetailResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("db_servers_history_details", db_servers_history_details) + _setter("id", id) + _setter("maintenance_run_details", maintenance_run_details) @property @pulumi.getter(name="dbServersHistoryDetails") @@ -25303,9 +31489,22 @@ def __init__(__self__, *, :param str display_name: The user-friendly name for the maintenance run. :param str id: The OCID of the maintenance run. """ - pulumi.set(__self__, "db_server_patching_details", db_server_patching_details) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "id", id) + GetDatabaseMaintenanceRunHistoriesMaintenanceRunHistoryDbServersHistoryDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_server_patching_details=db_server_patching_details, + display_name=display_name, + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_server_patching_details: Sequence['outputs.GetDatabaseMaintenanceRunHistoriesMaintenanceRunHistoryDbServersHistoryDetailDbServerPatchingDetailResult'], + display_name: str, + id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("db_server_patching_details", db_server_patching_details) + _setter("display_name", display_name) + _setter("id", id) @property @pulumi.getter(name="dbServerPatchingDetails") @@ -25345,10 +31544,25 @@ def __init__(__self__, *, :param str time_patching_ended: The time when the patching operation ended. :param str time_patching_started: The time when the patching operation started. """ - pulumi.set(__self__, "estimated_patch_duration", estimated_patch_duration) - pulumi.set(__self__, "patching_status", patching_status) - pulumi.set(__self__, "time_patching_ended", time_patching_ended) - pulumi.set(__self__, "time_patching_started", time_patching_started) + GetDatabaseMaintenanceRunHistoriesMaintenanceRunHistoryDbServersHistoryDetailDbServerPatchingDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + estimated_patch_duration=estimated_patch_duration, + patching_status=patching_status, + time_patching_ended=time_patching_ended, + time_patching_started=time_patching_started, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + estimated_patch_duration: int, + patching_status: str, + time_patching_ended: str, + time_patching_started: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("estimated_patch_duration", estimated_patch_duration) + _setter("patching_status", patching_status) + _setter("time_patching_ended", time_patching_ended) + _setter("time_patching_started", time_patching_started) @property @pulumi.getter(name="estimatedPatchDuration") @@ -25444,34 +31658,97 @@ def __init__(__self__, *, :param str time_scheduled: The date and time the maintenance run is scheduled to occur. :param str time_started: The date and time the maintenance run starts. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "current_custom_action_timeout_in_mins", current_custom_action_timeout_in_mins) - pulumi.set(__self__, "current_patching_component", current_patching_component) - pulumi.set(__self__, "custom_action_timeout_in_mins", custom_action_timeout_in_mins) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "estimated_component_patching_start_time", estimated_component_patching_start_time) - pulumi.set(__self__, "estimated_patching_times", estimated_patching_times) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "maintenance_subtype", maintenance_subtype) - pulumi.set(__self__, "maintenance_type", maintenance_type) - pulumi.set(__self__, "patch_failure_count", patch_failure_count) - pulumi.set(__self__, "patch_id", patch_id) - pulumi.set(__self__, "patching_end_time", patching_end_time) - pulumi.set(__self__, "patching_mode", patching_mode) - pulumi.set(__self__, "patching_start_time", patching_start_time) - pulumi.set(__self__, "patching_status", patching_status) - pulumi.set(__self__, "peer_maintenance_run_id", peer_maintenance_run_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "target_db_server_version", target_db_server_version) - pulumi.set(__self__, "target_resource_id", target_resource_id) - pulumi.set(__self__, "target_resource_type", target_resource_type) - pulumi.set(__self__, "target_storage_server_version", target_storage_server_version) - pulumi.set(__self__, "time_ended", time_ended) - pulumi.set(__self__, "time_scheduled", time_scheduled) - pulumi.set(__self__, "time_started", time_started) + GetDatabaseMaintenanceRunHistoriesMaintenanceRunHistoryMaintenanceRunDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + current_custom_action_timeout_in_mins=current_custom_action_timeout_in_mins, + current_patching_component=current_patching_component, + custom_action_timeout_in_mins=custom_action_timeout_in_mins, + description=description, + display_name=display_name, + estimated_component_patching_start_time=estimated_component_patching_start_time, + estimated_patching_times=estimated_patching_times, + id=id, + is_custom_action_timeout_enabled=is_custom_action_timeout_enabled, + lifecycle_details=lifecycle_details, + maintenance_subtype=maintenance_subtype, + maintenance_type=maintenance_type, + patch_failure_count=patch_failure_count, + patch_id=patch_id, + patching_end_time=patching_end_time, + patching_mode=patching_mode, + patching_start_time=patching_start_time, + patching_status=patching_status, + peer_maintenance_run_id=peer_maintenance_run_id, + state=state, + target_db_server_version=target_db_server_version, + target_resource_id=target_resource_id, + target_resource_type=target_resource_type, + target_storage_server_version=target_storage_server_version, + time_ended=time_ended, + time_scheduled=time_scheduled, + time_started=time_started, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + current_custom_action_timeout_in_mins: int, + current_patching_component: str, + custom_action_timeout_in_mins: int, + description: str, + display_name: str, + estimated_component_patching_start_time: str, + estimated_patching_times: Sequence['outputs.GetDatabaseMaintenanceRunHistoriesMaintenanceRunHistoryMaintenanceRunDetailEstimatedPatchingTimeResult'], + id: str, + is_custom_action_timeout_enabled: bool, + lifecycle_details: str, + maintenance_subtype: str, + maintenance_type: str, + patch_failure_count: int, + patch_id: str, + patching_end_time: str, + patching_mode: str, + patching_start_time: str, + patching_status: str, + peer_maintenance_run_id: str, + state: str, + target_db_server_version: str, + target_resource_id: str, + target_resource_type: str, + target_storage_server_version: str, + time_ended: str, + time_scheduled: str, + time_started: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("current_custom_action_timeout_in_mins", current_custom_action_timeout_in_mins) + _setter("current_patching_component", current_patching_component) + _setter("custom_action_timeout_in_mins", custom_action_timeout_in_mins) + _setter("description", description) + _setter("display_name", display_name) + _setter("estimated_component_patching_start_time", estimated_component_patching_start_time) + _setter("estimated_patching_times", estimated_patching_times) + _setter("id", id) + _setter("is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) + _setter("lifecycle_details", lifecycle_details) + _setter("maintenance_subtype", maintenance_subtype) + _setter("maintenance_type", maintenance_type) + _setter("patch_failure_count", patch_failure_count) + _setter("patch_id", patch_id) + _setter("patching_end_time", patching_end_time) + _setter("patching_mode", patching_mode) + _setter("patching_start_time", patching_start_time) + _setter("patching_status", patching_status) + _setter("peer_maintenance_run_id", peer_maintenance_run_id) + _setter("state", state) + _setter("target_db_server_version", target_db_server_version) + _setter("target_resource_id", target_resource_id) + _setter("target_resource_type", target_resource_type) + _setter("target_storage_server_version", target_storage_server_version) + _setter("time_ended", time_ended) + _setter("time_scheduled", time_scheduled) + _setter("time_started", time_started) @property @pulumi.getter(name="compartmentId") @@ -25711,10 +31988,25 @@ def __init__(__self__, *, :param int estimated_storage_server_patching_time: The estimated time required in minutes for storage server patching. :param int total_estimated_patching_time: The estimated total time required in minutes for all patching operations. """ - pulumi.set(__self__, "estimated_db_server_patching_time", estimated_db_server_patching_time) - pulumi.set(__self__, "estimated_network_switches_patching_time", estimated_network_switches_patching_time) - pulumi.set(__self__, "estimated_storage_server_patching_time", estimated_storage_server_patching_time) - pulumi.set(__self__, "total_estimated_patching_time", total_estimated_patching_time) + GetDatabaseMaintenanceRunHistoriesMaintenanceRunHistoryMaintenanceRunDetailEstimatedPatchingTimeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + estimated_db_server_patching_time=estimated_db_server_patching_time, + estimated_network_switches_patching_time=estimated_network_switches_patching_time, + estimated_storage_server_patching_time=estimated_storage_server_patching_time, + total_estimated_patching_time=total_estimated_patching_time, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + estimated_db_server_patching_time: int, + estimated_network_switches_patching_time: int, + estimated_storage_server_patching_time: int, + total_estimated_patching_time: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("estimated_db_server_patching_time", estimated_db_server_patching_time) + _setter("estimated_network_switches_patching_time", estimated_network_switches_patching_time) + _setter("estimated_storage_server_patching_time", estimated_storage_server_patching_time) + _setter("total_estimated_patching_time", total_estimated_patching_time) @property @pulumi.getter(name="estimatedDbServerPatchingTime") @@ -25760,9 +32052,22 @@ def __init__(__self__, *, :param str display_name: The user-friendly name for the maintenance run. :param str id: The OCID of the maintenance run. """ - pulumi.set(__self__, "db_server_patching_details", db_server_patching_details) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "id", id) + GetDatabaseMaintenanceRunHistoryDbServersHistoryDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_server_patching_details=db_server_patching_details, + display_name=display_name, + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_server_patching_details: Sequence['outputs.GetDatabaseMaintenanceRunHistoryDbServersHistoryDetailDbServerPatchingDetailResult'], + display_name: str, + id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("db_server_patching_details", db_server_patching_details) + _setter("display_name", display_name) + _setter("id", id) @property @pulumi.getter(name="dbServerPatchingDetails") @@ -25802,10 +32107,25 @@ def __init__(__self__, *, :param str time_patching_ended: The time when the patching operation ended. :param str time_patching_started: The time when the patching operation started. """ - pulumi.set(__self__, "estimated_patch_duration", estimated_patch_duration) - pulumi.set(__self__, "patching_status", patching_status) - pulumi.set(__self__, "time_patching_ended", time_patching_ended) - pulumi.set(__self__, "time_patching_started", time_patching_started) + GetDatabaseMaintenanceRunHistoryDbServersHistoryDetailDbServerPatchingDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + estimated_patch_duration=estimated_patch_duration, + patching_status=patching_status, + time_patching_ended=time_patching_ended, + time_patching_started=time_patching_started, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + estimated_patch_duration: int, + patching_status: str, + time_patching_ended: str, + time_patching_started: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("estimated_patch_duration", estimated_patch_duration) + _setter("patching_status", patching_status) + _setter("time_patching_ended", time_patching_ended) + _setter("time_patching_started", time_patching_started) @property @pulumi.getter(name="estimatedPatchDuration") @@ -25901,34 +32221,97 @@ def __init__(__self__, *, :param str time_scheduled: The date and time the maintenance run is scheduled to occur. :param str time_started: The date and time the maintenance run starts. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "current_custom_action_timeout_in_mins", current_custom_action_timeout_in_mins) - pulumi.set(__self__, "current_patching_component", current_patching_component) - pulumi.set(__self__, "custom_action_timeout_in_mins", custom_action_timeout_in_mins) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "estimated_component_patching_start_time", estimated_component_patching_start_time) - pulumi.set(__self__, "estimated_patching_times", estimated_patching_times) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "maintenance_subtype", maintenance_subtype) - pulumi.set(__self__, "maintenance_type", maintenance_type) - pulumi.set(__self__, "patch_failure_count", patch_failure_count) - pulumi.set(__self__, "patch_id", patch_id) - pulumi.set(__self__, "patching_end_time", patching_end_time) - pulumi.set(__self__, "patching_mode", patching_mode) - pulumi.set(__self__, "patching_start_time", patching_start_time) - pulumi.set(__self__, "patching_status", patching_status) - pulumi.set(__self__, "peer_maintenance_run_id", peer_maintenance_run_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "target_db_server_version", target_db_server_version) - pulumi.set(__self__, "target_resource_id", target_resource_id) - pulumi.set(__self__, "target_resource_type", target_resource_type) - pulumi.set(__self__, "target_storage_server_version", target_storage_server_version) - pulumi.set(__self__, "time_ended", time_ended) - pulumi.set(__self__, "time_scheduled", time_scheduled) - pulumi.set(__self__, "time_started", time_started) + GetDatabaseMaintenanceRunHistoryMaintenanceRunDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + current_custom_action_timeout_in_mins=current_custom_action_timeout_in_mins, + current_patching_component=current_patching_component, + custom_action_timeout_in_mins=custom_action_timeout_in_mins, + description=description, + display_name=display_name, + estimated_component_patching_start_time=estimated_component_patching_start_time, + estimated_patching_times=estimated_patching_times, + id=id, + is_custom_action_timeout_enabled=is_custom_action_timeout_enabled, + lifecycle_details=lifecycle_details, + maintenance_subtype=maintenance_subtype, + maintenance_type=maintenance_type, + patch_failure_count=patch_failure_count, + patch_id=patch_id, + patching_end_time=patching_end_time, + patching_mode=patching_mode, + patching_start_time=patching_start_time, + patching_status=patching_status, + peer_maintenance_run_id=peer_maintenance_run_id, + state=state, + target_db_server_version=target_db_server_version, + target_resource_id=target_resource_id, + target_resource_type=target_resource_type, + target_storage_server_version=target_storage_server_version, + time_ended=time_ended, + time_scheduled=time_scheduled, + time_started=time_started, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + current_custom_action_timeout_in_mins: int, + current_patching_component: str, + custom_action_timeout_in_mins: int, + description: str, + display_name: str, + estimated_component_patching_start_time: str, + estimated_patching_times: Sequence['outputs.GetDatabaseMaintenanceRunHistoryMaintenanceRunDetailEstimatedPatchingTimeResult'], + id: str, + is_custom_action_timeout_enabled: bool, + lifecycle_details: str, + maintenance_subtype: str, + maintenance_type: str, + patch_failure_count: int, + patch_id: str, + patching_end_time: str, + patching_mode: str, + patching_start_time: str, + patching_status: str, + peer_maintenance_run_id: str, + state: str, + target_db_server_version: str, + target_resource_id: str, + target_resource_type: str, + target_storage_server_version: str, + time_ended: str, + time_scheduled: str, + time_started: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("current_custom_action_timeout_in_mins", current_custom_action_timeout_in_mins) + _setter("current_patching_component", current_patching_component) + _setter("custom_action_timeout_in_mins", custom_action_timeout_in_mins) + _setter("description", description) + _setter("display_name", display_name) + _setter("estimated_component_patching_start_time", estimated_component_patching_start_time) + _setter("estimated_patching_times", estimated_patching_times) + _setter("id", id) + _setter("is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) + _setter("lifecycle_details", lifecycle_details) + _setter("maintenance_subtype", maintenance_subtype) + _setter("maintenance_type", maintenance_type) + _setter("patch_failure_count", patch_failure_count) + _setter("patch_id", patch_id) + _setter("patching_end_time", patching_end_time) + _setter("patching_mode", patching_mode) + _setter("patching_start_time", patching_start_time) + _setter("patching_status", patching_status) + _setter("peer_maintenance_run_id", peer_maintenance_run_id) + _setter("state", state) + _setter("target_db_server_version", target_db_server_version) + _setter("target_resource_id", target_resource_id) + _setter("target_resource_type", target_resource_type) + _setter("target_storage_server_version", target_storage_server_version) + _setter("time_ended", time_ended) + _setter("time_scheduled", time_scheduled) + _setter("time_started", time_started) @property @pulumi.getter(name="compartmentId") @@ -26168,10 +32551,25 @@ def __init__(__self__, *, :param int estimated_storage_server_patching_time: The estimated time required in minutes for storage server patching. :param int total_estimated_patching_time: The estimated total time required in minutes for all patching operations. """ - pulumi.set(__self__, "estimated_db_server_patching_time", estimated_db_server_patching_time) - pulumi.set(__self__, "estimated_network_switches_patching_time", estimated_network_switches_patching_time) - pulumi.set(__self__, "estimated_storage_server_patching_time", estimated_storage_server_patching_time) - pulumi.set(__self__, "total_estimated_patching_time", total_estimated_patching_time) + GetDatabaseMaintenanceRunHistoryMaintenanceRunDetailEstimatedPatchingTimeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + estimated_db_server_patching_time=estimated_db_server_patching_time, + estimated_network_switches_patching_time=estimated_network_switches_patching_time, + estimated_storage_server_patching_time=estimated_storage_server_patching_time, + total_estimated_patching_time=total_estimated_patching_time, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + estimated_db_server_patching_time: int, + estimated_network_switches_patching_time: int, + estimated_storage_server_patching_time: int, + total_estimated_patching_time: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("estimated_db_server_patching_time", estimated_db_server_patching_time) + _setter("estimated_network_switches_patching_time", estimated_network_switches_patching_time) + _setter("estimated_storage_server_patching_time", estimated_storage_server_patching_time) + _setter("total_estimated_patching_time", total_estimated_patching_time) @property @pulumi.getter(name="estimatedDbServerPatchingTime") @@ -26212,10 +32610,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDatabasePdbConversionHistoryEntriesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -26265,17 +32676,46 @@ def __init__(__self__, *, :param str time_ended: The date and time when the database conversion operation ended. :param str time_started: The date and time when the database conversion operation started. """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "additional_cdb_params", additional_cdb_params) - pulumi.set(__self__, "cdb_name", cdb_name) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "source_database_id", source_database_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "target", target) - pulumi.set(__self__, "target_database_id", target_database_id) - pulumi.set(__self__, "time_ended", time_ended) - pulumi.set(__self__, "time_started", time_started) + GetDatabasePdbConversionHistoryEntriesPdbConversionHistoryEntryResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + additional_cdb_params=additional_cdb_params, + cdb_name=cdb_name, + id=id, + lifecycle_details=lifecycle_details, + source_database_id=source_database_id, + state=state, + target=target, + target_database_id=target_database_id, + time_ended=time_ended, + time_started=time_started, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: str, + additional_cdb_params: str, + cdb_name: str, + id: str, + lifecycle_details: str, + source_database_id: str, + state: str, + target: str, + target_database_id: str, + time_ended: str, + time_started: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("additional_cdb_params", additional_cdb_params) + _setter("cdb_name", cdb_name) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("source_database_id", source_database_id) + _setter("state", state) + _setter("target", target) + _setter("target_database_id", target_database_id) + _setter("time_ended", time_ended) + _setter("time_started", time_started) @property @pulumi.getter @@ -26411,24 +32851,67 @@ def __init__(__self__, *, :param str state: A filter to return only resources that match the given lifecycle state exactly. :param str time_created: The date and time the database software image was created. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "database_software_image_included_patches", database_software_image_included_patches) - pulumi.set(__self__, "database_software_image_one_off_patches", database_software_image_one_off_patches) - pulumi.set(__self__, "database_version", database_version) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "image_shape_family", image_shape_family) - pulumi.set(__self__, "image_type", image_type) - pulumi.set(__self__, "included_patches_summary", included_patches_summary) - pulumi.set(__self__, "is_upgrade_supported", is_upgrade_supported) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "ls_inventory", ls_inventory) - pulumi.set(__self__, "patch_set", patch_set) - pulumi.set(__self__, "source_db_home_id", source_db_home_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) + GetDatabaseSoftwareImagesDatabaseSoftwareImageResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + database_software_image_included_patches=database_software_image_included_patches, + database_software_image_one_off_patches=database_software_image_one_off_patches, + database_version=database_version, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + image_shape_family=image_shape_family, + image_type=image_type, + included_patches_summary=included_patches_summary, + is_upgrade_supported=is_upgrade_supported, + lifecycle_details=lifecycle_details, + ls_inventory=ls_inventory, + patch_set=patch_set, + source_db_home_id=source_db_home_id, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + database_software_image_included_patches: Sequence[str], + database_software_image_one_off_patches: Sequence[str], + database_version: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + image_shape_family: str, + image_type: str, + included_patches_summary: str, + is_upgrade_supported: bool, + lifecycle_details: str, + ls_inventory: str, + patch_set: str, + source_db_home_id: str, + state: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("database_software_image_included_patches", database_software_image_included_patches) + _setter("database_software_image_one_off_patches", database_software_image_one_off_patches) + _setter("database_version", database_version) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("image_shape_family", image_shape_family) + _setter("image_type", image_type) + _setter("included_patches_summary", included_patches_summary) + _setter("is_upgrade_supported", is_upgrade_supported) + _setter("lifecycle_details", lifecycle_details) + _setter("ls_inventory", ls_inventory) + _setter("patch_set", patch_set) + _setter("source_db_home_id", source_db_home_id) + _setter("state", state) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -26578,10 +33061,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDatabaseSoftwareImagesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -26630,18 +33126,49 @@ def __init__(__self__, *, :param str time_ended: The date and time when the database upgrade ended. :param str time_started: The date and time when the database upgrade started. """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "options", options) - pulumi.set(__self__, "source", source) - pulumi.set(__self__, "source_db_home_id", source_db_home_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "target_database_software_image_id", target_database_software_image_id) - pulumi.set(__self__, "target_db_home_id", target_db_home_id) - pulumi.set(__self__, "target_db_version", target_db_version) - pulumi.set(__self__, "time_ended", time_ended) - pulumi.set(__self__, "time_started", time_started) + GetDatabaseUpgradeHistoryEntriesDatabaseUpgradeHistoryEntryResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + id=id, + lifecycle_details=lifecycle_details, + options=options, + source=source, + source_db_home_id=source_db_home_id, + state=state, + target_database_software_image_id=target_database_software_image_id, + target_db_home_id=target_db_home_id, + target_db_version=target_db_version, + time_ended=time_ended, + time_started=time_started, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: str, + id: str, + lifecycle_details: str, + options: str, + source: str, + source_db_home_id: str, + state: str, + target_database_software_image_id: str, + target_db_home_id: str, + target_db_version: str, + time_ended: str, + time_started: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("options", options) + _setter("source", source) + _setter("source_db_home_id", source_db_home_id) + _setter("state", state) + _setter("target_database_software_image_id", target_database_software_image_id) + _setter("target_db_home_id", target_db_home_id) + _setter("target_db_version", target_db_version) + _setter("time_ended", time_ended) + _setter("time_started", time_started) @property @pulumi.getter @@ -26748,10 +33275,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDatabaseUpgradeHistoryEntriesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -26841,42 +33381,121 @@ def __init__(__self__, *, :param str vault_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure [vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). :param str vm_cluster_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM cluster. """ - pulumi.set(__self__, "character_set", character_set) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "connection_strings", connection_strings) - pulumi.set(__self__, "database_management_configs", database_management_configs) - pulumi.set(__self__, "database_software_image_id", database_software_image_id) - pulumi.set(__self__, "databases", databases) - pulumi.set(__self__, "db_backup_configs", db_backup_configs) - pulumi.set(__self__, "db_home_id", db_home_id) - pulumi.set(__self__, "db_name", db_name) - pulumi.set(__self__, "db_system_id", db_system_id) - pulumi.set(__self__, "db_unique_name", db_unique_name) - pulumi.set(__self__, "db_version", db_version) - pulumi.set(__self__, "db_workload", db_workload) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_cdb", is_cdb) - pulumi.set(__self__, "key_store_id", key_store_id) - pulumi.set(__self__, "key_store_wallet_name", key_store_wallet_name) - pulumi.set(__self__, "kms_key_id", kms_key_id) - pulumi.set(__self__, "kms_key_migration", kms_key_migration) - pulumi.set(__self__, "kms_key_rotation", kms_key_rotation) - pulumi.set(__self__, "kms_key_version_id", kms_key_version_id) - pulumi.set(__self__, "last_backup_duration_in_seconds", last_backup_duration_in_seconds) - pulumi.set(__self__, "last_backup_timestamp", last_backup_timestamp) - pulumi.set(__self__, "last_failed_backup_timestamp", last_failed_backup_timestamp) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "ncharacter_set", ncharacter_set) - pulumi.set(__self__, "pdb_name", pdb_name) - pulumi.set(__self__, "sid_prefix", sid_prefix) - pulumi.set(__self__, "source", source) - pulumi.set(__self__, "source_database_point_in_time_recovery_timestamp", source_database_point_in_time_recovery_timestamp) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "vault_id", vault_id) - pulumi.set(__self__, "vm_cluster_id", vm_cluster_id) + GetDatabasesDatabaseResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + character_set=character_set, + compartment_id=compartment_id, + connection_strings=connection_strings, + database_management_configs=database_management_configs, + database_software_image_id=database_software_image_id, + databases=databases, + db_backup_configs=db_backup_configs, + db_home_id=db_home_id, + db_name=db_name, + db_system_id=db_system_id, + db_unique_name=db_unique_name, + db_version=db_version, + db_workload=db_workload, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + id=id, + is_cdb=is_cdb, + key_store_id=key_store_id, + key_store_wallet_name=key_store_wallet_name, + kms_key_id=kms_key_id, + kms_key_migration=kms_key_migration, + kms_key_rotation=kms_key_rotation, + kms_key_version_id=kms_key_version_id, + last_backup_duration_in_seconds=last_backup_duration_in_seconds, + last_backup_timestamp=last_backup_timestamp, + last_failed_backup_timestamp=last_failed_backup_timestamp, + lifecycle_details=lifecycle_details, + ncharacter_set=ncharacter_set, + pdb_name=pdb_name, + sid_prefix=sid_prefix, + source=source, + source_database_point_in_time_recovery_timestamp=source_database_point_in_time_recovery_timestamp, + state=state, + time_created=time_created, + vault_id=vault_id, + vm_cluster_id=vm_cluster_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + character_set: str, + compartment_id: str, + connection_strings: Sequence['outputs.GetDatabasesDatabaseConnectionStringResult'], + database_management_configs: Sequence['outputs.GetDatabasesDatabaseDatabaseManagementConfigResult'], + database_software_image_id: str, + databases: Sequence['outputs.GetDatabasesDatabaseDatabaseResult'], + db_backup_configs: Sequence['outputs.GetDatabasesDatabaseDbBackupConfigResult'], + db_home_id: str, + db_name: str, + db_system_id: str, + db_unique_name: str, + db_version: str, + db_workload: str, + defined_tags: Mapping[str, Any], + freeform_tags: Mapping[str, Any], + id: str, + is_cdb: bool, + key_store_id: str, + key_store_wallet_name: str, + kms_key_id: str, + kms_key_migration: bool, + kms_key_rotation: int, + kms_key_version_id: str, + last_backup_duration_in_seconds: int, + last_backup_timestamp: str, + last_failed_backup_timestamp: str, + lifecycle_details: str, + ncharacter_set: str, + pdb_name: str, + sid_prefix: str, + source: str, + source_database_point_in_time_recovery_timestamp: str, + state: str, + time_created: str, + vault_id: str, + vm_cluster_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("character_set", character_set) + _setter("compartment_id", compartment_id) + _setter("connection_strings", connection_strings) + _setter("database_management_configs", database_management_configs) + _setter("database_software_image_id", database_software_image_id) + _setter("databases", databases) + _setter("db_backup_configs", db_backup_configs) + _setter("db_home_id", db_home_id) + _setter("db_name", db_name) + _setter("db_system_id", db_system_id) + _setter("db_unique_name", db_unique_name) + _setter("db_version", db_version) + _setter("db_workload", db_workload) + _setter("defined_tags", defined_tags) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_cdb", is_cdb) + _setter("key_store_id", key_store_id) + _setter("key_store_wallet_name", key_store_wallet_name) + _setter("kms_key_id", kms_key_id) + _setter("kms_key_migration", kms_key_migration) + _setter("kms_key_rotation", kms_key_rotation) + _setter("kms_key_version_id", kms_key_version_id) + _setter("last_backup_duration_in_seconds", last_backup_duration_in_seconds) + _setter("last_backup_timestamp", last_backup_timestamp) + _setter("last_failed_backup_timestamp", last_failed_backup_timestamp) + _setter("lifecycle_details", lifecycle_details) + _setter("ncharacter_set", ncharacter_set) + _setter("pdb_name", pdb_name) + _setter("sid_prefix", sid_prefix) + _setter("source", source) + _setter("source_database_point_in_time_recovery_timestamp", source_database_point_in_time_recovery_timestamp) + _setter("state", state) + _setter("time_created", time_created) + _setter("vault_id", vault_id) + _setter("vm_cluster_id", vm_cluster_id) @property @pulumi.getter(name="characterSet") @@ -27163,9 +33782,22 @@ def __init__(__self__, *, :param str cdb_default: Host name based CDB Connection String. :param str cdb_ip_default: IP based CDB Connection String. """ - pulumi.set(__self__, "all_connection_strings", all_connection_strings) - pulumi.set(__self__, "cdb_default", cdb_default) - pulumi.set(__self__, "cdb_ip_default", cdb_ip_default) + GetDatabasesDatabaseConnectionStringResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + all_connection_strings=all_connection_strings, + cdb_default=cdb_default, + cdb_ip_default=cdb_ip_default, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + all_connection_strings: Mapping[str, Any], + cdb_default: str, + cdb_ip_default: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("all_connection_strings", all_connection_strings) + _setter("cdb_default", cdb_default) + _setter("cdb_ip_default", cdb_ip_default) @property @pulumi.getter(name="allConnectionStrings") @@ -27229,24 +33861,67 @@ def __init__(__self__, *, :param str sid_prefix: Specifies a prefix for the `Oracle SID` of the database to be created. :param str vault_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure [vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). """ - pulumi.set(__self__, "admin_password", admin_password) - pulumi.set(__self__, "backup_id", backup_id) - pulumi.set(__self__, "backup_tde_password", backup_tde_password) - pulumi.set(__self__, "character_set", character_set) - pulumi.set(__self__, "database_software_image_id", database_software_image_id) - pulumi.set(__self__, "db_backup_configs", db_backup_configs) - pulumi.set(__self__, "db_name", db_name) - pulumi.set(__self__, "db_unique_name", db_unique_name) - pulumi.set(__self__, "db_workload", db_workload) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "kms_key_id", kms_key_id) - pulumi.set(__self__, "kms_key_version_id", kms_key_version_id) - pulumi.set(__self__, "ncharacter_set", ncharacter_set) - pulumi.set(__self__, "pdb_name", pdb_name) - pulumi.set(__self__, "sid_prefix", sid_prefix) - pulumi.set(__self__, "tde_wallet_password", tde_wallet_password) - pulumi.set(__self__, "vault_id", vault_id) + GetDatabasesDatabaseDatabaseResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + admin_password=admin_password, + backup_id=backup_id, + backup_tde_password=backup_tde_password, + character_set=character_set, + database_software_image_id=database_software_image_id, + db_backup_configs=db_backup_configs, + db_name=db_name, + db_unique_name=db_unique_name, + db_workload=db_workload, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + kms_key_id=kms_key_id, + kms_key_version_id=kms_key_version_id, + ncharacter_set=ncharacter_set, + pdb_name=pdb_name, + sid_prefix=sid_prefix, + tde_wallet_password=tde_wallet_password, + vault_id=vault_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + admin_password: str, + backup_id: str, + backup_tde_password: str, + character_set: str, + database_software_image_id: str, + db_backup_configs: Sequence['outputs.GetDatabasesDatabaseDatabaseDbBackupConfigResult'], + db_name: str, + db_unique_name: str, + db_workload: str, + defined_tags: Mapping[str, Any], + freeform_tags: Mapping[str, Any], + kms_key_id: str, + kms_key_version_id: str, + ncharacter_set: str, + pdb_name: str, + sid_prefix: str, + tde_wallet_password: str, + vault_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("admin_password", admin_password) + _setter("backup_id", backup_id) + _setter("backup_tde_password", backup_tde_password) + _setter("character_set", character_set) + _setter("database_software_image_id", database_software_image_id) + _setter("db_backup_configs", db_backup_configs) + _setter("db_name", db_name) + _setter("db_unique_name", db_unique_name) + _setter("db_workload", db_workload) + _setter("defined_tags", defined_tags) + _setter("freeform_tags", freeform_tags) + _setter("kms_key_id", kms_key_id) + _setter("kms_key_version_id", kms_key_version_id) + _setter("ncharacter_set", ncharacter_set) + _setter("pdb_name", pdb_name) + _setter("sid_prefix", sid_prefix) + _setter("tde_wallet_password", tde_wallet_password) + _setter("vault_id", vault_id) @property @pulumi.getter(name="adminPassword") @@ -27402,14 +34077,37 @@ def __init__(__self__, *, :param int recovery_window_in_days: Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups only. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups. :param bool run_immediate_full_backup: If set to true, configures automatic full backups in the local region (the region of the DB system) for the first backup run immediately. """ - pulumi.set(__self__, "auto_backup_enabled", auto_backup_enabled) - pulumi.set(__self__, "auto_backup_window", auto_backup_window) - pulumi.set(__self__, "auto_full_backup_day", auto_full_backup_day) - pulumi.set(__self__, "auto_full_backup_window", auto_full_backup_window) - pulumi.set(__self__, "backup_deletion_policy", backup_deletion_policy) - pulumi.set(__self__, "backup_destination_details", backup_destination_details) - pulumi.set(__self__, "recovery_window_in_days", recovery_window_in_days) - pulumi.set(__self__, "run_immediate_full_backup", run_immediate_full_backup) + GetDatabasesDatabaseDatabaseDbBackupConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + auto_backup_enabled=auto_backup_enabled, + auto_backup_window=auto_backup_window, + auto_full_backup_day=auto_full_backup_day, + auto_full_backup_window=auto_full_backup_window, + backup_deletion_policy=backup_deletion_policy, + backup_destination_details=backup_destination_details, + recovery_window_in_days=recovery_window_in_days, + run_immediate_full_backup=run_immediate_full_backup, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + auto_backup_enabled: bool, + auto_backup_window: str, + auto_full_backup_day: str, + auto_full_backup_window: str, + backup_deletion_policy: str, + backup_destination_details: Sequence['outputs.GetDatabasesDatabaseDatabaseDbBackupConfigBackupDestinationDetailResult'], + recovery_window_in_days: int, + run_immediate_full_backup: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("auto_backup_enabled", auto_backup_enabled) + _setter("auto_backup_window", auto_backup_window) + _setter("auto_full_backup_day", auto_full_backup_day) + _setter("auto_full_backup_window", auto_full_backup_window) + _setter("backup_deletion_policy", backup_deletion_policy) + _setter("backup_destination_details", backup_destination_details) + _setter("recovery_window_in_days", recovery_window_in_days) + _setter("run_immediate_full_backup", run_immediate_full_backup) @property @pulumi.getter(name="autoBackupEnabled") @@ -27488,10 +34186,25 @@ def __init__(__self__, *, :param str id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database. :param str type: Type of the database backup destination. """ - pulumi.set(__self__, "dbrs_policy_id", dbrs_policy_id) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "vpc_user", vpc_user) + GetDatabasesDatabaseDatabaseDbBackupConfigBackupDestinationDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + dbrs_policy_id=dbrs_policy_id, + id=id, + type=type, + vpc_user=vpc_user, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + dbrs_policy_id: str, + id: str, + type: str, + vpc_user: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("dbrs_policy_id", dbrs_policy_id) + _setter("id", id) + _setter("type", type) + _setter("vpc_user", vpc_user) @property @pulumi.getter(name="dbrsPolicyId") @@ -27532,8 +34245,19 @@ def __init__(__self__, *, :param str management_status: The status of the Database Management service. :param str management_type: The Database Management type. """ - pulumi.set(__self__, "management_status", management_status) - pulumi.set(__self__, "management_type", management_type) + GetDatabasesDatabaseDatabaseManagementConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + management_status=management_status, + management_type=management_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + management_status: str, + management_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("management_status", management_status) + _setter("management_type", management_type) @property @pulumi.getter(name="managementStatus") @@ -27573,14 +34297,37 @@ def __init__(__self__, *, :param int recovery_window_in_days: Number of days between the current and the earliest point of recoverability covered by automatic backups. This value applies to automatic backups only. After a new automatic backup has been created, Oracle removes old automatic backups that are created before the window. When the value is updated, it is applied to all existing automatic backups. :param bool run_immediate_full_backup: If set to true, configures automatic full backups in the local region (the region of the DB system) for the first backup run immediately. """ - pulumi.set(__self__, "auto_backup_enabled", auto_backup_enabled) - pulumi.set(__self__, "auto_backup_window", auto_backup_window) - pulumi.set(__self__, "auto_full_backup_day", auto_full_backup_day) - pulumi.set(__self__, "auto_full_backup_window", auto_full_backup_window) - pulumi.set(__self__, "backup_deletion_policy", backup_deletion_policy) - pulumi.set(__self__, "backup_destination_details", backup_destination_details) - pulumi.set(__self__, "recovery_window_in_days", recovery_window_in_days) - pulumi.set(__self__, "run_immediate_full_backup", run_immediate_full_backup) + GetDatabasesDatabaseDbBackupConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + auto_backup_enabled=auto_backup_enabled, + auto_backup_window=auto_backup_window, + auto_full_backup_day=auto_full_backup_day, + auto_full_backup_window=auto_full_backup_window, + backup_deletion_policy=backup_deletion_policy, + backup_destination_details=backup_destination_details, + recovery_window_in_days=recovery_window_in_days, + run_immediate_full_backup=run_immediate_full_backup, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + auto_backup_enabled: bool, + auto_backup_window: str, + auto_full_backup_day: str, + auto_full_backup_window: str, + backup_deletion_policy: str, + backup_destination_details: Sequence['outputs.GetDatabasesDatabaseDbBackupConfigBackupDestinationDetailResult'], + recovery_window_in_days: int, + run_immediate_full_backup: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("auto_backup_enabled", auto_backup_enabled) + _setter("auto_backup_window", auto_backup_window) + _setter("auto_full_backup_day", auto_full_backup_day) + _setter("auto_full_backup_window", auto_full_backup_window) + _setter("backup_deletion_policy", backup_deletion_policy) + _setter("backup_destination_details", backup_destination_details) + _setter("recovery_window_in_days", recovery_window_in_days) + _setter("run_immediate_full_backup", run_immediate_full_backup) @property @pulumi.getter(name="autoBackupEnabled") @@ -27659,10 +34406,25 @@ def __init__(__self__, *, :param str id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the database. :param str type: Type of the database backup destination. """ - pulumi.set(__self__, "dbrs_policy_id", dbrs_policy_id) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "vpc_user", vpc_user) + GetDatabasesDatabaseDbBackupConfigBackupDestinationDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + dbrs_policy_id=dbrs_policy_id, + id=id, + type=type, + vpc_user=vpc_user, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + dbrs_policy_id: str, + id: str, + type: str, + vpc_user: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("dbrs_policy_id", dbrs_policy_id) + _setter("id", id) + _setter("type", type) + _setter("vpc_user", vpc_user) @property @pulumi.getter(name="dbrsPolicyId") @@ -27700,10 +34462,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDatabasesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -27761,32 +34536,91 @@ def __init__(__self__, *, :param str state: The current state of the Database Home. :param str time_created: The date and time the Database Home was created. """ - pulumi.set(__self__, "admin_password", admin_password) - pulumi.set(__self__, "backup_id", backup_id) - pulumi.set(__self__, "backup_tde_password", backup_tde_password) - pulumi.set(__self__, "character_set", character_set) - pulumi.set(__self__, "connection_strings", connection_strings) - pulumi.set(__self__, "database_id", database_id) - pulumi.set(__self__, "database_software_image_id", database_software_image_id) - pulumi.set(__self__, "db_backup_configs", db_backup_configs) - pulumi.set(__self__, "db_name", db_name) - pulumi.set(__self__, "db_unique_name", db_unique_name) - pulumi.set(__self__, "db_workload", db_workload) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "kms_key_id", kms_key_id) - pulumi.set(__self__, "kms_key_version_id", kms_key_version_id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "ncharacter_set", ncharacter_set) - pulumi.set(__self__, "one_off_patches", one_off_patches) - pulumi.set(__self__, "pdb_name", pdb_name) - pulumi.set(__self__, "sid_prefix", sid_prefix) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "tde_wallet_password", tde_wallet_password) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_stamp_for_point_in_time_recovery", time_stamp_for_point_in_time_recovery) - pulumi.set(__self__, "vault_id", vault_id) + GetDbHomeDatabaseResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + admin_password=admin_password, + backup_id=backup_id, + backup_tde_password=backup_tde_password, + character_set=character_set, + connection_strings=connection_strings, + database_id=database_id, + database_software_image_id=database_software_image_id, + db_backup_configs=db_backup_configs, + db_name=db_name, + db_unique_name=db_unique_name, + db_workload=db_workload, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + id=id, + kms_key_id=kms_key_id, + kms_key_version_id=kms_key_version_id, + lifecycle_details=lifecycle_details, + ncharacter_set=ncharacter_set, + one_off_patches=one_off_patches, + pdb_name=pdb_name, + sid_prefix=sid_prefix, + state=state, + tde_wallet_password=tde_wallet_password, + time_created=time_created, + time_stamp_for_point_in_time_recovery=time_stamp_for_point_in_time_recovery, + vault_id=vault_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + admin_password: str, + backup_id: str, + backup_tde_password: str, + character_set: str, + connection_strings: Sequence['outputs.GetDbHomeDatabaseConnectionStringResult'], + database_id: str, + database_software_image_id: str, + db_backup_configs: Sequence['outputs.GetDbHomeDatabaseDbBackupConfigResult'], + db_name: str, + db_unique_name: str, + db_workload: str, + defined_tags: Mapping[str, Any], + freeform_tags: Mapping[str, Any], + id: str, + kms_key_id: str, + kms_key_version_id: str, + lifecycle_details: str, + ncharacter_set: str, + one_off_patches: Sequence[str], + pdb_name: str, + sid_prefix: str, + state: str, + tde_wallet_password: str, + time_created: str, + time_stamp_for_point_in_time_recovery: str, + vault_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("admin_password", admin_password) + _setter("backup_id", backup_id) + _setter("backup_tde_password", backup_tde_password) + _setter("character_set", character_set) + _setter("connection_strings", connection_strings) + _setter("database_id", database_id) + _setter("database_software_image_id", database_software_image_id) + _setter("db_backup_configs", db_backup_configs) + _setter("db_name", db_name) + _setter("db_unique_name", db_unique_name) + _setter("db_workload", db_workload) + _setter("defined_tags", defined_tags) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("kms_key_id", kms_key_id) + _setter("kms_key_version_id", kms_key_version_id) + _setter("lifecycle_details", lifecycle_details) + _setter("ncharacter_set", ncharacter_set) + _setter("one_off_patches", one_off_patches) + _setter("pdb_name", pdb_name) + _setter("sid_prefix", sid_prefix) + _setter("state", state) + _setter("tde_wallet_password", tde_wallet_password) + _setter("time_created", time_created) + _setter("time_stamp_for_point_in_time_recovery", time_stamp_for_point_in_time_recovery) + _setter("vault_id", vault_id) @property @pulumi.getter(name="adminPassword") @@ -27952,9 +34786,22 @@ def __init__(__self__, *, all_connection_strings: Mapping[str, Any], cdb_default: str, cdb_ip_default: str): - pulumi.set(__self__, "all_connection_strings", all_connection_strings) - pulumi.set(__self__, "cdb_default", cdb_default) - pulumi.set(__self__, "cdb_ip_default", cdb_ip_default) + GetDbHomeDatabaseConnectionStringResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + all_connection_strings=all_connection_strings, + cdb_default=cdb_default, + cdb_ip_default=cdb_ip_default, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + all_connection_strings: Mapping[str, Any], + cdb_default: str, + cdb_ip_default: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("all_connection_strings", all_connection_strings) + _setter("cdb_default", cdb_default) + _setter("cdb_ip_default", cdb_ip_default) @property @pulumi.getter(name="allConnectionStrings") @@ -27983,14 +34830,37 @@ def __init__(__self__, *, backup_destination_details: Sequence['outputs.GetDbHomeDatabaseDbBackupConfigBackupDestinationDetailResult'], recovery_window_in_days: int, run_immediate_full_backup: bool): - pulumi.set(__self__, "auto_backup_enabled", auto_backup_enabled) - pulumi.set(__self__, "auto_backup_window", auto_backup_window) - pulumi.set(__self__, "auto_full_backup_day", auto_full_backup_day) - pulumi.set(__self__, "auto_full_backup_window", auto_full_backup_window) - pulumi.set(__self__, "backup_deletion_policy", backup_deletion_policy) - pulumi.set(__self__, "backup_destination_details", backup_destination_details) - pulumi.set(__self__, "recovery_window_in_days", recovery_window_in_days) - pulumi.set(__self__, "run_immediate_full_backup", run_immediate_full_backup) + GetDbHomeDatabaseDbBackupConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + auto_backup_enabled=auto_backup_enabled, + auto_backup_window=auto_backup_window, + auto_full_backup_day=auto_full_backup_day, + auto_full_backup_window=auto_full_backup_window, + backup_deletion_policy=backup_deletion_policy, + backup_destination_details=backup_destination_details, + recovery_window_in_days=recovery_window_in_days, + run_immediate_full_backup=run_immediate_full_backup, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + auto_backup_enabled: bool, + auto_backup_window: str, + auto_full_backup_day: str, + auto_full_backup_window: str, + backup_deletion_policy: str, + backup_destination_details: Sequence['outputs.GetDbHomeDatabaseDbBackupConfigBackupDestinationDetailResult'], + recovery_window_in_days: int, + run_immediate_full_backup: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("auto_backup_enabled", auto_backup_enabled) + _setter("auto_backup_window", auto_backup_window) + _setter("auto_full_backup_day", auto_full_backup_day) + _setter("auto_full_backup_window", auto_full_backup_window) + _setter("backup_deletion_policy", backup_deletion_policy) + _setter("backup_destination_details", backup_destination_details) + _setter("recovery_window_in_days", recovery_window_in_days) + _setter("run_immediate_full_backup", run_immediate_full_backup) @property @pulumi.getter(name="autoBackupEnabled") @@ -28042,9 +34912,22 @@ def __init__(__self__, *, """ :param str id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Home. """ - pulumi.set(__self__, "dbrs_policy_id", dbrs_policy_id) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "type", type) + GetDbHomeDatabaseDbBackupConfigBackupDestinationDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + dbrs_policy_id=dbrs_policy_id, + id=id, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + dbrs_policy_id: str, + id: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("dbrs_policy_id", dbrs_policy_id) + _setter("id", id) + _setter("type", type) @property @pulumi.getter(name="dbrsPolicyId") @@ -28071,10 +34954,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDbHomePatchHistoryEntriesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -28113,14 +35009,37 @@ def __init__(__self__, *, :param str time_ended: The date and time when the patch action completed :param str time_started: The date and time when the patch action started. """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "patch_id", patch_id) - pulumi.set(__self__, "patch_type", patch_type) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_ended", time_ended) - pulumi.set(__self__, "time_started", time_started) + GetDbHomePatchHistoryEntriesPatchHistoryEntryResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + id=id, + lifecycle_details=lifecycle_details, + patch_id=patch_id, + patch_type=patch_type, + state=state, + time_ended=time_ended, + time_started=time_started, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: str, + id: str, + lifecycle_details: str, + patch_id: str, + patch_type: str, + state: str, + time_ended: str, + time_started: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("patch_id", patch_id) + _setter("patch_type", patch_type) + _setter("state", state) + _setter("time_ended", time_ended) + _setter("time_started", time_started) @property @pulumi.getter @@ -28193,10 +35112,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDbHomePatchesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -28235,14 +35167,37 @@ def __init__(__self__, *, :param str time_released: The date and time that the patch was released. :param str version: The version of this patch package. """ - pulumi.set(__self__, "available_actions", available_actions) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "last_action", last_action) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_released", time_released) - pulumi.set(__self__, "version", version) + GetDbHomePatchesPatchResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + available_actions=available_actions, + description=description, + id=id, + last_action=last_action, + lifecycle_details=lifecycle_details, + state=state, + time_released=time_released, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + available_actions: Sequence[str], + description: str, + id: str, + last_action: str, + lifecycle_details: str, + state: str, + time_released: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("available_actions", available_actions) + _setter("description", description) + _setter("id", id) + _setter("last_action", last_action) + _setter("lifecycle_details", lifecycle_details) + _setter("state", state) + _setter("time_released", time_released) + _setter("version", version) @property @pulumi.getter(name="availableActions") @@ -28350,27 +35305,76 @@ def __init__(__self__, *, :param str time_created: The date and time the Database Home was created. :param str vm_cluster_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM cluster. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "database_software_image_id", database_software_image_id) - pulumi.set(__self__, "databases", databases) - pulumi.set(__self__, "db_home_id", db_home_id) - pulumi.set(__self__, "db_home_location", db_home_location) - pulumi.set(__self__, "db_system_id", db_system_id) - pulumi.set(__self__, "db_version", db_version) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "enable_database_delete", enable_database_delete) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_desupported_version", is_desupported_version) - pulumi.set(__self__, "kms_key_id", kms_key_id) - pulumi.set(__self__, "kms_key_version_id", kms_key_version_id) - pulumi.set(__self__, "last_patch_history_entry_id", last_patch_history_entry_id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "source", source) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "vm_cluster_id", vm_cluster_id) + GetDbHomesDbHomeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + database_software_image_id=database_software_image_id, + databases=databases, + db_home_id=db_home_id, + db_home_location=db_home_location, + db_system_id=db_system_id, + db_version=db_version, + defined_tags=defined_tags, + display_name=display_name, + enable_database_delete=enable_database_delete, + freeform_tags=freeform_tags, + id=id, + is_desupported_version=is_desupported_version, + kms_key_id=kms_key_id, + kms_key_version_id=kms_key_version_id, + last_patch_history_entry_id=last_patch_history_entry_id, + lifecycle_details=lifecycle_details, + source=source, + state=state, + time_created=time_created, + vm_cluster_id=vm_cluster_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + database_software_image_id: str, + databases: Sequence['outputs.GetDbHomesDbHomeDatabaseResult'], + db_home_id: str, + db_home_location: str, + db_system_id: str, + db_version: str, + defined_tags: Mapping[str, Any], + display_name: str, + enable_database_delete: bool, + freeform_tags: Mapping[str, Any], + id: str, + is_desupported_version: bool, + kms_key_id: str, + kms_key_version_id: str, + last_patch_history_entry_id: str, + lifecycle_details: str, + source: str, + state: str, + time_created: str, + vm_cluster_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("database_software_image_id", database_software_image_id) + _setter("databases", databases) + _setter("db_home_id", db_home_id) + _setter("db_home_location", db_home_location) + _setter("db_system_id", db_system_id) + _setter("db_version", db_version) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("enable_database_delete", enable_database_delete) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_desupported_version", is_desupported_version) + _setter("kms_key_id", kms_key_id) + _setter("kms_key_version_id", kms_key_version_id) + _setter("last_patch_history_entry_id", last_patch_history_entry_id) + _setter("lifecycle_details", lifecycle_details) + _setter("source", source) + _setter("state", state) + _setter("time_created", time_created) + _setter("vm_cluster_id", vm_cluster_id) @property @pulumi.getter(name="compartmentId") @@ -28564,32 +35568,91 @@ def __init__(__self__, *, :param str state: A filter to return only resources that match the given lifecycle state exactly. :param str time_created: The date and time the Database Home was created. """ - pulumi.set(__self__, "admin_password", admin_password) - pulumi.set(__self__, "backup_id", backup_id) - pulumi.set(__self__, "backup_tde_password", backup_tde_password) - pulumi.set(__self__, "character_set", character_set) - pulumi.set(__self__, "connection_strings", connection_strings) - pulumi.set(__self__, "database_id", database_id) - pulumi.set(__self__, "database_software_image_id", database_software_image_id) - pulumi.set(__self__, "db_backup_configs", db_backup_configs) - pulumi.set(__self__, "db_name", db_name) - pulumi.set(__self__, "db_unique_name", db_unique_name) - pulumi.set(__self__, "db_workload", db_workload) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "kms_key_id", kms_key_id) - pulumi.set(__self__, "kms_key_version_id", kms_key_version_id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "ncharacter_set", ncharacter_set) - pulumi.set(__self__, "one_off_patches", one_off_patches) - pulumi.set(__self__, "pdb_name", pdb_name) - pulumi.set(__self__, "sid_prefix", sid_prefix) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "tde_wallet_password", tde_wallet_password) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_stamp_for_point_in_time_recovery", time_stamp_for_point_in_time_recovery) - pulumi.set(__self__, "vault_id", vault_id) + GetDbHomesDbHomeDatabaseResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + admin_password=admin_password, + backup_id=backup_id, + backup_tde_password=backup_tde_password, + character_set=character_set, + connection_strings=connection_strings, + database_id=database_id, + database_software_image_id=database_software_image_id, + db_backup_configs=db_backup_configs, + db_name=db_name, + db_unique_name=db_unique_name, + db_workload=db_workload, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + id=id, + kms_key_id=kms_key_id, + kms_key_version_id=kms_key_version_id, + lifecycle_details=lifecycle_details, + ncharacter_set=ncharacter_set, + one_off_patches=one_off_patches, + pdb_name=pdb_name, + sid_prefix=sid_prefix, + state=state, + tde_wallet_password=tde_wallet_password, + time_created=time_created, + time_stamp_for_point_in_time_recovery=time_stamp_for_point_in_time_recovery, + vault_id=vault_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + admin_password: str, + backup_id: str, + backup_tde_password: str, + character_set: str, + connection_strings: Sequence['outputs.GetDbHomesDbHomeDatabaseConnectionStringResult'], + database_id: str, + database_software_image_id: str, + db_backup_configs: Sequence['outputs.GetDbHomesDbHomeDatabaseDbBackupConfigResult'], + db_name: str, + db_unique_name: str, + db_workload: str, + defined_tags: Mapping[str, Any], + freeform_tags: Mapping[str, Any], + id: str, + kms_key_id: str, + kms_key_version_id: str, + lifecycle_details: str, + ncharacter_set: str, + one_off_patches: Sequence[str], + pdb_name: str, + sid_prefix: str, + state: str, + tde_wallet_password: str, + time_created: str, + time_stamp_for_point_in_time_recovery: str, + vault_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("admin_password", admin_password) + _setter("backup_id", backup_id) + _setter("backup_tde_password", backup_tde_password) + _setter("character_set", character_set) + _setter("connection_strings", connection_strings) + _setter("database_id", database_id) + _setter("database_software_image_id", database_software_image_id) + _setter("db_backup_configs", db_backup_configs) + _setter("db_name", db_name) + _setter("db_unique_name", db_unique_name) + _setter("db_workload", db_workload) + _setter("defined_tags", defined_tags) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("kms_key_id", kms_key_id) + _setter("kms_key_version_id", kms_key_version_id) + _setter("lifecycle_details", lifecycle_details) + _setter("ncharacter_set", ncharacter_set) + _setter("one_off_patches", one_off_patches) + _setter("pdb_name", pdb_name) + _setter("sid_prefix", sid_prefix) + _setter("state", state) + _setter("tde_wallet_password", tde_wallet_password) + _setter("time_created", time_created) + _setter("time_stamp_for_point_in_time_recovery", time_stamp_for_point_in_time_recovery) + _setter("vault_id", vault_id) @property @pulumi.getter(name="adminPassword") @@ -28758,9 +35821,22 @@ def __init__(__self__, *, all_connection_strings: Mapping[str, Any], cdb_default: str, cdb_ip_default: str): - pulumi.set(__self__, "all_connection_strings", all_connection_strings) - pulumi.set(__self__, "cdb_default", cdb_default) - pulumi.set(__self__, "cdb_ip_default", cdb_ip_default) + GetDbHomesDbHomeDatabaseConnectionStringResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + all_connection_strings=all_connection_strings, + cdb_default=cdb_default, + cdb_ip_default=cdb_ip_default, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + all_connection_strings: Mapping[str, Any], + cdb_default: str, + cdb_ip_default: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("all_connection_strings", all_connection_strings) + _setter("cdb_default", cdb_default) + _setter("cdb_ip_default", cdb_ip_default) @property @pulumi.getter(name="allConnectionStrings") @@ -28789,14 +35865,37 @@ def __init__(__self__, *, backup_destination_details: Sequence['outputs.GetDbHomesDbHomeDatabaseDbBackupConfigBackupDestinationDetailResult'], recovery_window_in_days: int, run_immediate_full_backup: bool): - pulumi.set(__self__, "auto_backup_enabled", auto_backup_enabled) - pulumi.set(__self__, "auto_backup_window", auto_backup_window) - pulumi.set(__self__, "auto_full_backup_day", auto_full_backup_day) - pulumi.set(__self__, "auto_full_backup_window", auto_full_backup_window) - pulumi.set(__self__, "backup_deletion_policy", backup_deletion_policy) - pulumi.set(__self__, "backup_destination_details", backup_destination_details) - pulumi.set(__self__, "recovery_window_in_days", recovery_window_in_days) - pulumi.set(__self__, "run_immediate_full_backup", run_immediate_full_backup) + GetDbHomesDbHomeDatabaseDbBackupConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + auto_backup_enabled=auto_backup_enabled, + auto_backup_window=auto_backup_window, + auto_full_backup_day=auto_full_backup_day, + auto_full_backup_window=auto_full_backup_window, + backup_deletion_policy=backup_deletion_policy, + backup_destination_details=backup_destination_details, + recovery_window_in_days=recovery_window_in_days, + run_immediate_full_backup=run_immediate_full_backup, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + auto_backup_enabled: bool, + auto_backup_window: str, + auto_full_backup_day: str, + auto_full_backup_window: str, + backup_deletion_policy: str, + backup_destination_details: Sequence['outputs.GetDbHomesDbHomeDatabaseDbBackupConfigBackupDestinationDetailResult'], + recovery_window_in_days: int, + run_immediate_full_backup: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("auto_backup_enabled", auto_backup_enabled) + _setter("auto_backup_window", auto_backup_window) + _setter("auto_full_backup_day", auto_full_backup_day) + _setter("auto_full_backup_window", auto_full_backup_window) + _setter("backup_deletion_policy", backup_deletion_policy) + _setter("backup_destination_details", backup_destination_details) + _setter("recovery_window_in_days", recovery_window_in_days) + _setter("run_immediate_full_backup", run_immediate_full_backup) @property @pulumi.getter(name="autoBackupEnabled") @@ -28848,9 +35947,22 @@ def __init__(__self__, *, """ :param str id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Database Home. """ - pulumi.set(__self__, "dbrs_policy_id", dbrs_policy_id) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "type", type) + GetDbHomesDbHomeDatabaseDbBackupConfigBackupDestinationDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + dbrs_policy_id=dbrs_policy_id, + id=id, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + dbrs_policy_id: str, + id: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("dbrs_policy_id", dbrs_policy_id) + _setter("id", id) + _setter("type", type) @property @pulumi.getter(name="dbrsPolicyId") @@ -28877,10 +35989,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDbHomesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -28924,17 +36049,46 @@ def __init__(__self__, *, :param str service_host_key_fingerprint: The SSH public key's fingerprint for the console connection service host. :param str state: The current state of the console connection. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "connection_string", connection_string) - pulumi.set(__self__, "db_node_id", db_node_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "fingerprint", fingerprint) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "public_key", public_key) - pulumi.set(__self__, "service_host_key_fingerprint", service_host_key_fingerprint) - pulumi.set(__self__, "state", state) + GetDbNodeConsoleConnectionsConsoleConnectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + connection_string=connection_string, + db_node_id=db_node_id, + defined_tags=defined_tags, + fingerprint=fingerprint, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + public_key=public_key, + service_host_key_fingerprint=service_host_key_fingerprint, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + connection_string: str, + db_node_id: str, + defined_tags: Mapping[str, Any], + fingerprint: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + public_key: str, + service_host_key_fingerprint: str, + state: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("connection_string", connection_string) + _setter("db_node_id", db_node_id) + _setter("defined_tags", defined_tags) + _setter("fingerprint", fingerprint) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("public_key", public_key) + _setter("service_host_key_fingerprint", service_host_key_fingerprint) + _setter("state", state) @property @pulumi.getter(name="compartmentId") @@ -29028,10 +36182,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDbNodeConsoleConnectionsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -29103,31 +36270,88 @@ def __init__(__self__, *, :param str vnic2id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the second VNIC. :param str vnic_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC. """ - pulumi.set(__self__, "additional_details", additional_details) - pulumi.set(__self__, "backup_ip_id", backup_ip_id) - pulumi.set(__self__, "backup_vnic2id", backup_vnic2id) - pulumi.set(__self__, "backup_vnic_id", backup_vnic_id) - pulumi.set(__self__, "cpu_core_count", cpu_core_count) - pulumi.set(__self__, "db_node_id", db_node_id) - pulumi.set(__self__, "db_node_storage_size_in_gbs", db_node_storage_size_in_gbs) - pulumi.set(__self__, "db_server_id", db_server_id) - pulumi.set(__self__, "db_system_id", db_system_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "fault_domain", fault_domain) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "host_ip_id", host_ip_id) - pulumi.set(__self__, "hostname", hostname) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "maintenance_type", maintenance_type) - pulumi.set(__self__, "memory_size_in_gbs", memory_size_in_gbs) - pulumi.set(__self__, "software_storage_size_in_gb", software_storage_size_in_gb) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_maintenance_window_end", time_maintenance_window_end) - pulumi.set(__self__, "time_maintenance_window_start", time_maintenance_window_start) - pulumi.set(__self__, "vnic2id", vnic2id) - pulumi.set(__self__, "vnic_id", vnic_id) + GetDbNodesDbNodeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + additional_details=additional_details, + backup_ip_id=backup_ip_id, + backup_vnic2id=backup_vnic2id, + backup_vnic_id=backup_vnic_id, + cpu_core_count=cpu_core_count, + db_node_id=db_node_id, + db_node_storage_size_in_gbs=db_node_storage_size_in_gbs, + db_server_id=db_server_id, + db_system_id=db_system_id, + defined_tags=defined_tags, + fault_domain=fault_domain, + freeform_tags=freeform_tags, + host_ip_id=host_ip_id, + hostname=hostname, + id=id, + lifecycle_details=lifecycle_details, + maintenance_type=maintenance_type, + memory_size_in_gbs=memory_size_in_gbs, + software_storage_size_in_gb=software_storage_size_in_gb, + state=state, + time_created=time_created, + time_maintenance_window_end=time_maintenance_window_end, + time_maintenance_window_start=time_maintenance_window_start, + vnic2id=vnic2id, + vnic_id=vnic_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + additional_details: str, + backup_ip_id: str, + backup_vnic2id: str, + backup_vnic_id: str, + cpu_core_count: int, + db_node_id: str, + db_node_storage_size_in_gbs: int, + db_server_id: str, + db_system_id: str, + defined_tags: Mapping[str, Any], + fault_domain: str, + freeform_tags: Mapping[str, Any], + host_ip_id: str, + hostname: str, + id: str, + lifecycle_details: str, + maintenance_type: str, + memory_size_in_gbs: int, + software_storage_size_in_gb: int, + state: str, + time_created: str, + time_maintenance_window_end: str, + time_maintenance_window_start: str, + vnic2id: str, + vnic_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("additional_details", additional_details) + _setter("backup_ip_id", backup_ip_id) + _setter("backup_vnic2id", backup_vnic2id) + _setter("backup_vnic_id", backup_vnic_id) + _setter("cpu_core_count", cpu_core_count) + _setter("db_node_id", db_node_id) + _setter("db_node_storage_size_in_gbs", db_node_storage_size_in_gbs) + _setter("db_server_id", db_server_id) + _setter("db_system_id", db_system_id) + _setter("defined_tags", defined_tags) + _setter("fault_domain", fault_domain) + _setter("freeform_tags", freeform_tags) + _setter("host_ip_id", host_ip_id) + _setter("hostname", hostname) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("maintenance_type", maintenance_type) + _setter("memory_size_in_gbs", memory_size_in_gbs) + _setter("software_storage_size_in_gb", software_storage_size_in_gb) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_maintenance_window_end", time_maintenance_window_end) + _setter("time_maintenance_window_start", time_maintenance_window_start) + _setter("vnic2id", vnic2id) + _setter("vnic_id", vnic_id) @property @pulumi.getter(name="additionalDetails") @@ -29333,10 +36557,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDbNodesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -29367,10 +36604,25 @@ def __init__(__self__, *, :param str time_patching_ended: The time when the patching operation ended. :param str time_patching_started: The time when the patching operation started. """ - pulumi.set(__self__, "estimated_patch_duration", estimated_patch_duration) - pulumi.set(__self__, "patching_status", patching_status) - pulumi.set(__self__, "time_patching_ended", time_patching_ended) - pulumi.set(__self__, "time_patching_started", time_patching_started) + GetDbServerDbServerPatchingDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + estimated_patch_duration=estimated_patch_duration, + patching_status=patching_status, + time_patching_ended=time_patching_ended, + time_patching_started=time_patching_started, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + estimated_patch_duration: int, + patching_status: str, + time_patching_ended: str, + time_patching_started: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("estimated_patch_duration", estimated_patch_duration) + _setter("patching_status", patching_status) + _setter("time_patching_ended", time_patching_ended) + _setter("time_patching_started", time_patching_started) @property @pulumi.getter(name="estimatedPatchDuration") @@ -29452,27 +36704,76 @@ def __init__(__self__, *, :param str time_created: The date and time that the Db Server was created. :param Sequence[str] vm_cluster_ids: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM Clusters associated with the Db server. """ - pulumi.set(__self__, "autonomous_virtual_machine_ids", autonomous_virtual_machine_ids) - pulumi.set(__self__, "autonomous_vm_cluster_ids", autonomous_vm_cluster_ids) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "cpu_core_count", cpu_core_count) - pulumi.set(__self__, "db_node_ids", db_node_ids) - pulumi.set(__self__, "db_node_storage_size_in_gbs", db_node_storage_size_in_gbs) - pulumi.set(__self__, "db_server_patching_details", db_server_patching_details) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "exadata_infrastructure_id", exadata_infrastructure_id) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "max_cpu_count", max_cpu_count) - pulumi.set(__self__, "max_db_node_storage_in_gbs", max_db_node_storage_in_gbs) - pulumi.set(__self__, "max_memory_in_gbs", max_memory_in_gbs) - pulumi.set(__self__, "memory_size_in_gbs", memory_size_in_gbs) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "vm_cluster_ids", vm_cluster_ids) + GetDbServersDbServerResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + autonomous_virtual_machine_ids=autonomous_virtual_machine_ids, + autonomous_vm_cluster_ids=autonomous_vm_cluster_ids, + compartment_id=compartment_id, + cpu_core_count=cpu_core_count, + db_node_ids=db_node_ids, + db_node_storage_size_in_gbs=db_node_storage_size_in_gbs, + db_server_patching_details=db_server_patching_details, + defined_tags=defined_tags, + display_name=display_name, + exadata_infrastructure_id=exadata_infrastructure_id, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + max_cpu_count=max_cpu_count, + max_db_node_storage_in_gbs=max_db_node_storage_in_gbs, + max_memory_in_gbs=max_memory_in_gbs, + memory_size_in_gbs=memory_size_in_gbs, + shape=shape, + state=state, + time_created=time_created, + vm_cluster_ids=vm_cluster_ids, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + autonomous_virtual_machine_ids: Sequence[str], + autonomous_vm_cluster_ids: Sequence[str], + compartment_id: str, + cpu_core_count: int, + db_node_ids: Sequence[str], + db_node_storage_size_in_gbs: int, + db_server_patching_details: Sequence['outputs.GetDbServersDbServerDbServerPatchingDetailResult'], + defined_tags: Mapping[str, Any], + display_name: str, + exadata_infrastructure_id: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + max_cpu_count: int, + max_db_node_storage_in_gbs: int, + max_memory_in_gbs: int, + memory_size_in_gbs: int, + shape: str, + state: str, + time_created: str, + vm_cluster_ids: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("autonomous_virtual_machine_ids", autonomous_virtual_machine_ids) + _setter("autonomous_vm_cluster_ids", autonomous_vm_cluster_ids) + _setter("compartment_id", compartment_id) + _setter("cpu_core_count", cpu_core_count) + _setter("db_node_ids", db_node_ids) + _setter("db_node_storage_size_in_gbs", db_node_storage_size_in_gbs) + _setter("db_server_patching_details", db_server_patching_details) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("exadata_infrastructure_id", exadata_infrastructure_id) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("max_cpu_count", max_cpu_count) + _setter("max_db_node_storage_in_gbs", max_db_node_storage_in_gbs) + _setter("max_memory_in_gbs", max_memory_in_gbs) + _setter("memory_size_in_gbs", memory_size_in_gbs) + _setter("shape", shape) + _setter("state", state) + _setter("time_created", time_created) + _setter("vm_cluster_ids", vm_cluster_ids) @property @pulumi.getter(name="autonomousVirtualMachineIds") @@ -29656,10 +36957,25 @@ def __init__(__self__, *, :param str time_patching_ended: The time when the patching operation ended. :param str time_patching_started: The time when the patching operation started. """ - pulumi.set(__self__, "estimated_patch_duration", estimated_patch_duration) - pulumi.set(__self__, "patching_status", patching_status) - pulumi.set(__self__, "time_patching_ended", time_patching_ended) - pulumi.set(__self__, "time_patching_started", time_patching_started) + GetDbServersDbServerDbServerPatchingDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + estimated_patch_duration=estimated_patch_duration, + patching_status=patching_status, + time_patching_ended=time_patching_ended, + time_patching_started=time_patching_started, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + estimated_patch_duration: int, + patching_status: str, + time_patching_ended: str, + time_patching_started: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("estimated_patch_duration", estimated_patch_duration) + _setter("patching_status", patching_status) + _setter("time_patching_ended", time_patching_ended) + _setter("time_patching_started", time_patching_started) @property @pulumi.getter(name="estimatedPatchDuration") @@ -29700,10 +37016,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDbServersFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -29730,8 +37059,19 @@ def __init__(__self__, *, :param Sequence['GetDbSystemComputePerformancesDbSystemComputePerformanceComputePerformanceListArgs'] compute_performance_lists: List of Compute performance details for the specified DB system shape. :param str shape: The shape of the DB system. """ - pulumi.set(__self__, "compute_performance_lists", compute_performance_lists) - pulumi.set(__self__, "shape", shape) + GetDbSystemComputePerformancesDbSystemComputePerformanceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compute_performance_lists=compute_performance_lists, + shape=shape, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compute_performance_lists: Sequence['outputs.GetDbSystemComputePerformancesDbSystemComputePerformanceComputePerformanceListResult'], + shape: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compute_performance_lists", compute_performance_lists) + _setter("shape", shape) @property @pulumi.getter(name="computePerformanceLists") @@ -29765,11 +37105,28 @@ def __init__(__self__, *, :param float network_iops: IOPS for the VMDB System. :param float network_throughput_in_mbps: Network throughput for the VMDB System. """ - pulumi.set(__self__, "cpu_core_count", cpu_core_count) - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "network_bandwidth_in_gbps", network_bandwidth_in_gbps) - pulumi.set(__self__, "network_iops", network_iops) - pulumi.set(__self__, "network_throughput_in_mbps", network_throughput_in_mbps) + GetDbSystemComputePerformancesDbSystemComputePerformanceComputePerformanceListResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cpu_core_count=cpu_core_count, + memory_in_gbs=memory_in_gbs, + network_bandwidth_in_gbps=network_bandwidth_in_gbps, + network_iops=network_iops, + network_throughput_in_mbps=network_throughput_in_mbps, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cpu_core_count: int, + memory_in_gbs: float, + network_bandwidth_in_gbps: float, + network_iops: float, + network_throughput_in_mbps: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cpu_core_count", cpu_core_count) + _setter("memory_in_gbs", memory_in_gbs) + _setter("network_bandwidth_in_gbps", network_bandwidth_in_gbps) + _setter("network_iops", network_iops) + _setter("network_throughput_in_mbps", network_throughput_in_mbps) @property @pulumi.getter(name="cpuCoreCount") @@ -29818,10 +37175,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDbSystemComputePerformancesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -29845,10 +37215,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDbSystemHistoryEntriesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -29887,14 +37270,37 @@ def __init__(__self__, *, :param str time_ended: The date and time when the patch action completed :param str time_started: The date and time when the patch action started. """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "patch_id", patch_id) - pulumi.set(__self__, "patch_type", patch_type) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_ended", time_ended) - pulumi.set(__self__, "time_started", time_started) + GetDbSystemHistoryEntriesPatchHistoryEntryResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + id=id, + lifecycle_details=lifecycle_details, + patch_id=patch_id, + patch_type=patch_type, + state=state, + time_ended=time_ended, + time_started=time_started, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: str, + id: str, + lifecycle_details: str, + patch_id: str, + patch_type: str, + state: str, + time_ended: str, + time_started: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("patch_id", patch_id) + _setter("patch_type", patch_type) + _setter("state", state) + _setter("time_ended", time_ended) + _setter("time_started", time_started) @property @pulumi.getter @@ -29967,10 +37373,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDbSystemPatchesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -30009,14 +37428,37 @@ def __init__(__self__, *, :param str time_released: The date and time that the patch was released. :param str version: The version of this patch package. """ - pulumi.set(__self__, "available_actions", available_actions) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "last_action", last_action) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_released", time_released) - pulumi.set(__self__, "version", version) + GetDbSystemPatchesPatchResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + available_actions=available_actions, + description=description, + id=id, + last_action=last_action, + lifecycle_details=lifecycle_details, + state=state, + time_released=time_released, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + available_actions: Sequence[str], + description: str, + id: str, + last_action: str, + lifecycle_details: str, + state: str, + time_released: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("available_actions", available_actions) + _setter("description", description) + _setter("id", id) + _setter("last_action", last_action) + _setter("lifecycle_details", lifecycle_details) + _setter("state", state) + _setter("time_released", time_released) + _setter("version", version) @property @pulumi.getter(name="availableActions") @@ -30132,28 +37574,79 @@ def __init__(__self__, *, :param str shape_family: The family of the shape used for the DB system. :param str shape_type: The shape type for the virtual machine DB system. Shape type is determined by CPU hardware. Valid values are `AMD` , `INTEL` or `INTEL_FLEX_X9`. """ - pulumi.set(__self__, "available_core_count", available_core_count) - pulumi.set(__self__, "available_core_count_per_node", available_core_count_per_node) - pulumi.set(__self__, "available_data_storage_in_tbs", available_data_storage_in_tbs) - pulumi.set(__self__, "available_data_storage_per_server_in_tbs", available_data_storage_per_server_in_tbs) - pulumi.set(__self__, "available_db_node_per_node_in_gbs", available_db_node_per_node_in_gbs) - pulumi.set(__self__, "available_db_node_storage_in_gbs", available_db_node_storage_in_gbs) - pulumi.set(__self__, "available_memory_in_gbs", available_memory_in_gbs) - pulumi.set(__self__, "available_memory_per_node_in_gbs", available_memory_per_node_in_gbs) - pulumi.set(__self__, "core_count_increment", core_count_increment) - pulumi.set(__self__, "max_storage_count", max_storage_count) - pulumi.set(__self__, "maximum_node_count", maximum_node_count) - pulumi.set(__self__, "min_core_count_per_node", min_core_count_per_node) - pulumi.set(__self__, "min_data_storage_in_tbs", min_data_storage_in_tbs) - pulumi.set(__self__, "min_db_node_storage_per_node_in_gbs", min_db_node_storage_per_node_in_gbs) - pulumi.set(__self__, "min_memory_per_node_in_gbs", min_memory_per_node_in_gbs) - pulumi.set(__self__, "min_storage_count", min_storage_count) - pulumi.set(__self__, "minimum_core_count", minimum_core_count) - pulumi.set(__self__, "minimum_node_count", minimum_node_count) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "shape_family", shape_family) - pulumi.set(__self__, "shape_type", shape_type) + GetDbSystemShapesDbSystemShapeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + available_core_count=available_core_count, + available_core_count_per_node=available_core_count_per_node, + available_data_storage_in_tbs=available_data_storage_in_tbs, + available_data_storage_per_server_in_tbs=available_data_storage_per_server_in_tbs, + available_db_node_per_node_in_gbs=available_db_node_per_node_in_gbs, + available_db_node_storage_in_gbs=available_db_node_storage_in_gbs, + available_memory_in_gbs=available_memory_in_gbs, + available_memory_per_node_in_gbs=available_memory_per_node_in_gbs, + core_count_increment=core_count_increment, + max_storage_count=max_storage_count, + maximum_node_count=maximum_node_count, + min_core_count_per_node=min_core_count_per_node, + min_data_storage_in_tbs=min_data_storage_in_tbs, + min_db_node_storage_per_node_in_gbs=min_db_node_storage_per_node_in_gbs, + min_memory_per_node_in_gbs=min_memory_per_node_in_gbs, + min_storage_count=min_storage_count, + minimum_core_count=minimum_core_count, + minimum_node_count=minimum_node_count, + name=name, + shape=shape, + shape_family=shape_family, + shape_type=shape_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + available_core_count: int, + available_core_count_per_node: int, + available_data_storage_in_tbs: int, + available_data_storage_per_server_in_tbs: float, + available_db_node_per_node_in_gbs: int, + available_db_node_storage_in_gbs: int, + available_memory_in_gbs: int, + available_memory_per_node_in_gbs: int, + core_count_increment: int, + max_storage_count: int, + maximum_node_count: int, + min_core_count_per_node: int, + min_data_storage_in_tbs: int, + min_db_node_storage_per_node_in_gbs: int, + min_memory_per_node_in_gbs: int, + min_storage_count: int, + minimum_core_count: int, + minimum_node_count: int, + name: str, + shape: str, + shape_family: str, + shape_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("available_core_count", available_core_count) + _setter("available_core_count_per_node", available_core_count_per_node) + _setter("available_data_storage_in_tbs", available_data_storage_in_tbs) + _setter("available_data_storage_per_server_in_tbs", available_data_storage_per_server_in_tbs) + _setter("available_db_node_per_node_in_gbs", available_db_node_per_node_in_gbs) + _setter("available_db_node_storage_in_gbs", available_db_node_storage_in_gbs) + _setter("available_memory_in_gbs", available_memory_in_gbs) + _setter("available_memory_per_node_in_gbs", available_memory_per_node_in_gbs) + _setter("core_count_increment", core_count_increment) + _setter("max_storage_count", max_storage_count) + _setter("maximum_node_count", maximum_node_count) + _setter("min_core_count_per_node", min_core_count_per_node) + _setter("min_data_storage_in_tbs", min_data_storage_in_tbs) + _setter("min_db_node_storage_per_node_in_gbs", min_db_node_storage_per_node_in_gbs) + _setter("min_memory_per_node_in_gbs", min_memory_per_node_in_gbs) + _setter("min_storage_count", min_storage_count) + _setter("minimum_core_count", minimum_core_count) + _setter("minimum_node_count", minimum_node_count) + _setter("name", name) + _setter("shape", shape) + _setter("shape_family", shape_family) + _setter("shape_type", shape_type) @property @pulumi.getter(name="availableCoreCount") @@ -30344,10 +37837,23 @@ def __init__(__self__, *, """ :param str name: The name of the shape used for the DB system. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDbSystemShapesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -30379,9 +37885,22 @@ def __init__(__self__, *, :param Sequence['GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListArgs'] reco_storage_performance_lists: List of storage performance for the RECO disks :param str shape_type: Optional. Filters the performance results by shape type. """ - pulumi.set(__self__, "data_storage_performance_lists", data_storage_performance_lists) - pulumi.set(__self__, "reco_storage_performance_lists", reco_storage_performance_lists) - pulumi.set(__self__, "shape_type", shape_type) + GetDbSystemStoragePerformancesDbSystemStoragePerformanceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + data_storage_performance_lists=data_storage_performance_lists, + reco_storage_performance_lists=reco_storage_performance_lists, + shape_type=shape_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + data_storage_performance_lists: Sequence['outputs.GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListResult'], + reco_storage_performance_lists: Sequence['outputs.GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListResult'], + shape_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("data_storage_performance_lists", data_storage_performance_lists) + _setter("reco_storage_performance_lists", reco_storage_performance_lists) + _setter("shape_type", shape_type) @property @pulumi.getter(name="dataStoragePerformanceLists") @@ -30419,9 +37938,22 @@ def __init__(__self__, *, :param Sequence['GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceArgs'] high_disk_performances: Representation of disk performance detail parameters. :param int size_in_gbs: Size in GBs. """ - pulumi.set(__self__, "balanced_disk_performances", balanced_disk_performances) - pulumi.set(__self__, "high_disk_performances", high_disk_performances) - pulumi.set(__self__, "size_in_gbs", size_in_gbs) + GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + balanced_disk_performances=balanced_disk_performances, + high_disk_performances=high_disk_performances, + size_in_gbs=size_in_gbs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + balanced_disk_performances: Sequence['outputs.GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceResult'], + high_disk_performances: Sequence['outputs.GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceResult'], + size_in_gbs: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("balanced_disk_performances", balanced_disk_performances) + _setter("high_disk_performances", high_disk_performances) + _setter("size_in_gbs", size_in_gbs) @property @pulumi.getter(name="balancedDiskPerformances") @@ -30457,8 +37989,19 @@ def __init__(__self__, *, :param float disk_iops: Disk IOPS in thousands. :param float disk_throughput_in_mbps: Disk Throughput in Mbps. """ - pulumi.set(__self__, "disk_iops", disk_iops) - pulumi.set(__self__, "disk_throughput_in_mbps", disk_throughput_in_mbps) + GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListBalancedDiskPerformanceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + disk_iops=disk_iops, + disk_throughput_in_mbps=disk_throughput_in_mbps, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + disk_iops: float, + disk_throughput_in_mbps: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("disk_iops", disk_iops) + _setter("disk_throughput_in_mbps", disk_throughput_in_mbps) @property @pulumi.getter(name="diskIops") @@ -30486,8 +38029,19 @@ def __init__(__self__, *, :param float disk_iops: Disk IOPS in thousands. :param float disk_throughput_in_mbps: Disk Throughput in Mbps. """ - pulumi.set(__self__, "disk_iops", disk_iops) - pulumi.set(__self__, "disk_throughput_in_mbps", disk_throughput_in_mbps) + GetDbSystemStoragePerformancesDbSystemStoragePerformanceDataStoragePerformanceListHighDiskPerformanceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + disk_iops=disk_iops, + disk_throughput_in_mbps=disk_throughput_in_mbps, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + disk_iops: float, + disk_throughput_in_mbps: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("disk_iops", disk_iops) + _setter("disk_throughput_in_mbps", disk_throughput_in_mbps) @property @pulumi.getter(name="diskIops") @@ -30517,9 +38071,22 @@ def __init__(__self__, *, :param Sequence['GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListHighDiskPerformanceArgs'] high_disk_performances: Representation of disk performance detail parameters. :param int size_in_gbs: Size in GBs. """ - pulumi.set(__self__, "balanced_disk_performances", balanced_disk_performances) - pulumi.set(__self__, "high_disk_performances", high_disk_performances) - pulumi.set(__self__, "size_in_gbs", size_in_gbs) + GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + balanced_disk_performances=balanced_disk_performances, + high_disk_performances=high_disk_performances, + size_in_gbs=size_in_gbs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + balanced_disk_performances: Sequence['outputs.GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceResult'], + high_disk_performances: Sequence['outputs.GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListHighDiskPerformanceResult'], + size_in_gbs: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("balanced_disk_performances", balanced_disk_performances) + _setter("high_disk_performances", high_disk_performances) + _setter("size_in_gbs", size_in_gbs) @property @pulumi.getter(name="balancedDiskPerformances") @@ -30555,8 +38122,19 @@ def __init__(__self__, *, :param float disk_iops: Disk IOPS in thousands. :param float disk_throughput_in_mbps: Disk Throughput in Mbps. """ - pulumi.set(__self__, "disk_iops", disk_iops) - pulumi.set(__self__, "disk_throughput_in_mbps", disk_throughput_in_mbps) + GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListBalancedDiskPerformanceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + disk_iops=disk_iops, + disk_throughput_in_mbps=disk_throughput_in_mbps, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + disk_iops: float, + disk_throughput_in_mbps: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("disk_iops", disk_iops) + _setter("disk_throughput_in_mbps", disk_throughput_in_mbps) @property @pulumi.getter(name="diskIops") @@ -30584,8 +38162,19 @@ def __init__(__self__, *, :param float disk_iops: Disk IOPS in thousands. :param float disk_throughput_in_mbps: Disk Throughput in Mbps. """ - pulumi.set(__self__, "disk_iops", disk_iops) - pulumi.set(__self__, "disk_throughput_in_mbps", disk_throughput_in_mbps) + GetDbSystemStoragePerformancesDbSystemStoragePerformanceRecoStoragePerformanceListHighDiskPerformanceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + disk_iops=disk_iops, + disk_throughput_in_mbps=disk_throughput_in_mbps, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + disk_iops: float, + disk_throughput_in_mbps: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("disk_iops", disk_iops) + _setter("disk_throughput_in_mbps", disk_throughput_in_mbps) @property @pulumi.getter(name="diskIops") @@ -30610,10 +38199,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDbSystemStoragePerformancesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -30741,60 +38343,175 @@ def __init__(__self__, *, :param Sequence[str] vip_ids: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual IP (VIP) addresses associated with the DB system. The Cluster Ready Services (CRS) creates and maintains one VIP address for each node in the DB system to enable failover. If one node fails, the VIP is reassigned to another active node in the cluster. :param str zone_id: The OCID of the zone the DB system is associated with. """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "backup_network_nsg_ids", backup_network_nsg_ids) - pulumi.set(__self__, "backup_subnet_id", backup_subnet_id) - pulumi.set(__self__, "cluster_name", cluster_name) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "cpu_core_count", cpu_core_count) - pulumi.set(__self__, "data_collection_options", data_collection_options) - pulumi.set(__self__, "data_storage_percentage", data_storage_percentage) - pulumi.set(__self__, "data_storage_size_in_gb", data_storage_size_in_gb) - pulumi.set(__self__, "database_edition", database_edition) - pulumi.set(__self__, "db_homes", db_homes) - pulumi.set(__self__, "db_system_options", db_system_options) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "disk_redundancy", disk_redundancy) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "domain", domain) - pulumi.set(__self__, "fault_domains", fault_domains) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "hostname", hostname) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "iorm_config_caches", iorm_config_caches) - pulumi.set(__self__, "kms_key_id", kms_key_id) - pulumi.set(__self__, "kms_key_version_id", kms_key_version_id) - pulumi.set(__self__, "last_maintenance_run_id", last_maintenance_run_id) - pulumi.set(__self__, "last_patch_history_entry_id", last_patch_history_entry_id) - pulumi.set(__self__, "license_model", license_model) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "listener_port", listener_port) - pulumi.set(__self__, "maintenance_window_details", maintenance_window_details) - pulumi.set(__self__, "maintenance_windows", maintenance_windows) - pulumi.set(__self__, "memory_size_in_gbs", memory_size_in_gbs) - pulumi.set(__self__, "next_maintenance_run_id", next_maintenance_run_id) - pulumi.set(__self__, "node_count", node_count) - pulumi.set(__self__, "nsg_ids", nsg_ids) - pulumi.set(__self__, "os_version", os_version) - pulumi.set(__self__, "point_in_time_data_disk_clone_timestamp", point_in_time_data_disk_clone_timestamp) - pulumi.set(__self__, "private_ip", private_ip) - pulumi.set(__self__, "reco_storage_size_in_gb", reco_storage_size_in_gb) - pulumi.set(__self__, "scan_dns_name", scan_dns_name) - pulumi.set(__self__, "scan_dns_record_id", scan_dns_record_id) - pulumi.set(__self__, "scan_ip_ids", scan_ip_ids) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "source", source) - pulumi.set(__self__, "source_db_system_id", source_db_system_id) - pulumi.set(__self__, "sparse_diskgroup", sparse_diskgroup) - pulumi.set(__self__, "ssh_public_keys", ssh_public_keys) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "storage_volume_performance_mode", storage_volume_performance_mode) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_zone", time_zone) - pulumi.set(__self__, "version", version) - pulumi.set(__self__, "vip_ids", vip_ids) - pulumi.set(__self__, "zone_id", zone_id) + GetDbSystemsDbSystemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + backup_network_nsg_ids=backup_network_nsg_ids, + backup_subnet_id=backup_subnet_id, + cluster_name=cluster_name, + compartment_id=compartment_id, + cpu_core_count=cpu_core_count, + data_collection_options=data_collection_options, + data_storage_percentage=data_storage_percentage, + data_storage_size_in_gb=data_storage_size_in_gb, + database_edition=database_edition, + db_homes=db_homes, + db_system_options=db_system_options, + defined_tags=defined_tags, + disk_redundancy=disk_redundancy, + display_name=display_name, + domain=domain, + fault_domains=fault_domains, + freeform_tags=freeform_tags, + hostname=hostname, + id=id, + iorm_config_caches=iorm_config_caches, + kms_key_id=kms_key_id, + kms_key_version_id=kms_key_version_id, + last_maintenance_run_id=last_maintenance_run_id, + last_patch_history_entry_id=last_patch_history_entry_id, + license_model=license_model, + lifecycle_details=lifecycle_details, + listener_port=listener_port, + maintenance_window_details=maintenance_window_details, + maintenance_windows=maintenance_windows, + memory_size_in_gbs=memory_size_in_gbs, + next_maintenance_run_id=next_maintenance_run_id, + node_count=node_count, + nsg_ids=nsg_ids, + os_version=os_version, + point_in_time_data_disk_clone_timestamp=point_in_time_data_disk_clone_timestamp, + private_ip=private_ip, + reco_storage_size_in_gb=reco_storage_size_in_gb, + scan_dns_name=scan_dns_name, + scan_dns_record_id=scan_dns_record_id, + scan_ip_ids=scan_ip_ids, + shape=shape, + source=source, + source_db_system_id=source_db_system_id, + sparse_diskgroup=sparse_diskgroup, + ssh_public_keys=ssh_public_keys, + state=state, + storage_volume_performance_mode=storage_volume_performance_mode, + subnet_id=subnet_id, + time_created=time_created, + time_zone=time_zone, + version=version, + vip_ids=vip_ids, + zone_id=zone_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + backup_network_nsg_ids: Sequence[str], + backup_subnet_id: str, + cluster_name: str, + compartment_id: str, + cpu_core_count: int, + data_collection_options: Sequence['outputs.GetDbSystemsDbSystemDataCollectionOptionResult'], + data_storage_percentage: int, + data_storage_size_in_gb: int, + database_edition: str, + db_homes: Sequence['outputs.GetDbSystemsDbSystemDbHomeResult'], + db_system_options: Sequence['outputs.GetDbSystemsDbSystemDbSystemOptionResult'], + defined_tags: Mapping[str, Any], + disk_redundancy: str, + display_name: str, + domain: str, + fault_domains: Sequence[str], + freeform_tags: Mapping[str, Any], + hostname: str, + id: str, + iorm_config_caches: Sequence['outputs.GetDbSystemsDbSystemIormConfigCachResult'], + kms_key_id: str, + kms_key_version_id: str, + last_maintenance_run_id: str, + last_patch_history_entry_id: str, + license_model: str, + lifecycle_details: str, + listener_port: int, + maintenance_window_details: Sequence['outputs.GetDbSystemsDbSystemMaintenanceWindowDetailResult'], + maintenance_windows: Sequence['outputs.GetDbSystemsDbSystemMaintenanceWindowResult'], + memory_size_in_gbs: int, + next_maintenance_run_id: str, + node_count: int, + nsg_ids: Sequence[str], + os_version: str, + point_in_time_data_disk_clone_timestamp: str, + private_ip: str, + reco_storage_size_in_gb: int, + scan_dns_name: str, + scan_dns_record_id: str, + scan_ip_ids: Sequence[str], + shape: str, + source: str, + source_db_system_id: str, + sparse_diskgroup: bool, + ssh_public_keys: Sequence[str], + state: str, + storage_volume_performance_mode: str, + subnet_id: str, + time_created: str, + time_zone: str, + version: str, + vip_ids: Sequence[str], + zone_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("backup_network_nsg_ids", backup_network_nsg_ids) + _setter("backup_subnet_id", backup_subnet_id) + _setter("cluster_name", cluster_name) + _setter("compartment_id", compartment_id) + _setter("cpu_core_count", cpu_core_count) + _setter("data_collection_options", data_collection_options) + _setter("data_storage_percentage", data_storage_percentage) + _setter("data_storage_size_in_gb", data_storage_size_in_gb) + _setter("database_edition", database_edition) + _setter("db_homes", db_homes) + _setter("db_system_options", db_system_options) + _setter("defined_tags", defined_tags) + _setter("disk_redundancy", disk_redundancy) + _setter("display_name", display_name) + _setter("domain", domain) + _setter("fault_domains", fault_domains) + _setter("freeform_tags", freeform_tags) + _setter("hostname", hostname) + _setter("id", id) + _setter("iorm_config_caches", iorm_config_caches) + _setter("kms_key_id", kms_key_id) + _setter("kms_key_version_id", kms_key_version_id) + _setter("last_maintenance_run_id", last_maintenance_run_id) + _setter("last_patch_history_entry_id", last_patch_history_entry_id) + _setter("license_model", license_model) + _setter("lifecycle_details", lifecycle_details) + _setter("listener_port", listener_port) + _setter("maintenance_window_details", maintenance_window_details) + _setter("maintenance_windows", maintenance_windows) + _setter("memory_size_in_gbs", memory_size_in_gbs) + _setter("next_maintenance_run_id", next_maintenance_run_id) + _setter("node_count", node_count) + _setter("nsg_ids", nsg_ids) + _setter("os_version", os_version) + _setter("point_in_time_data_disk_clone_timestamp", point_in_time_data_disk_clone_timestamp) + _setter("private_ip", private_ip) + _setter("reco_storage_size_in_gb", reco_storage_size_in_gb) + _setter("scan_dns_name", scan_dns_name) + _setter("scan_dns_record_id", scan_dns_record_id) + _setter("scan_ip_ids", scan_ip_ids) + _setter("shape", shape) + _setter("source", source) + _setter("source_db_system_id", source_db_system_id) + _setter("sparse_diskgroup", sparse_diskgroup) + _setter("ssh_public_keys", ssh_public_keys) + _setter("state", state) + _setter("storage_volume_performance_mode", storage_volume_performance_mode) + _setter("subnet_id", subnet_id) + _setter("time_created", time_created) + _setter("time_zone", time_zone) + _setter("version", version) + _setter("vip_ids", vip_ids) + _setter("zone_id", zone_id) @property @pulumi.getter(name="availabilityDomain") @@ -31225,9 +38942,22 @@ def __init__(__self__, *, :param bool is_health_monitoring_enabled: Indicates whether health monitoring is enabled for the VM cluster / Cloud VM cluster / VMBM DBCS. Enabling health monitoring allows Oracle to collect diagnostic data and share it with its operations and support personnel. You may also receive notifications for some events. Collecting health diagnostics enables Oracle to provide proactive support and enhanced service for your system. Optionally enable health monitoring while provisioning a system. You can also disable or enable health monitoring anytime using the `UpdateVmCluster`, `UpdateCloudVmCluster` or `updateDbsystem` API. :param bool is_incident_logs_enabled: Indicates whether incident logs and trace collection are enabled for the VM cluster / Cloud VM cluster / VMBM DBCS. Enabling incident logs collection allows Oracle to receive Events service notifications for guest VM issues, collect incident logs and traces, and use them to diagnose issues and resolve them. Optionally enable incident logs collection while provisioning a system. You can also disable or enable incident logs collection anytime using the `UpdateVmCluster`, `updateCloudVmCluster` or `updateDbsystem` API. """ - pulumi.set(__self__, "is_diagnostics_events_enabled", is_diagnostics_events_enabled) - pulumi.set(__self__, "is_health_monitoring_enabled", is_health_monitoring_enabled) - pulumi.set(__self__, "is_incident_logs_enabled", is_incident_logs_enabled) + GetDbSystemsDbSystemDataCollectionOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_diagnostics_events_enabled=is_diagnostics_events_enabled, + is_health_monitoring_enabled=is_health_monitoring_enabled, + is_incident_logs_enabled=is_incident_logs_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_diagnostics_events_enabled: bool, + is_health_monitoring_enabled: bool, + is_incident_logs_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_diagnostics_events_enabled", is_diagnostics_events_enabled) + _setter("is_health_monitoring_enabled", is_health_monitoring_enabled) + _setter("is_incident_logs_enabled", is_incident_logs_enabled) @property @pulumi.getter(name="isDiagnosticsEventsEnabled") @@ -31280,19 +39010,52 @@ def __init__(__self__, *, :param str state: A filter to return only resources that match the given lifecycle state exactly. :param str time_created: The date and time the DB system was created. """ - pulumi.set(__self__, "create_async", create_async) - pulumi.set(__self__, "database_software_image_id", database_software_image_id) - pulumi.set(__self__, "databases", databases) - pulumi.set(__self__, "db_home_location", db_home_location) - pulumi.set(__self__, "db_version", db_version) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "last_patch_history_entry_id", last_patch_history_entry_id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) + GetDbSystemsDbSystemDbHomeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + create_async=create_async, + database_software_image_id=database_software_image_id, + databases=databases, + db_home_location=db_home_location, + db_version=db_version, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + last_patch_history_entry_id=last_patch_history_entry_id, + lifecycle_details=lifecycle_details, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + create_async: bool, + database_software_image_id: str, + databases: Sequence['outputs.GetDbSystemsDbSystemDbHomeDatabaseResult'], + db_home_location: str, + db_version: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + last_patch_history_entry_id: str, + lifecycle_details: str, + state: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("create_async", create_async) + _setter("database_software_image_id", database_software_image_id) + _setter("databases", databases) + _setter("db_home_location", db_home_location) + _setter("db_version", db_version) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("last_patch_history_entry_id", last_patch_history_entry_id) + _setter("lifecycle_details", lifecycle_details) + _setter("state", state) + _setter("time_created", time_created) @property @pulumi.getter(name="createAsync") @@ -31422,31 +39185,88 @@ def __init__(__self__, *, :param str state: A filter to return only resources that match the given lifecycle state exactly. :param str time_created: The date and time the DB system was created. """ - pulumi.set(__self__, "admin_password", admin_password) - pulumi.set(__self__, "backup_id", backup_id) - pulumi.set(__self__, "backup_tde_password", backup_tde_password) - pulumi.set(__self__, "character_set", character_set) - pulumi.set(__self__, "connection_strings", connection_strings) - pulumi.set(__self__, "database_id", database_id) - pulumi.set(__self__, "database_software_image_id", database_software_image_id) - pulumi.set(__self__, "db_backup_configs", db_backup_configs) - pulumi.set(__self__, "db_domain", db_domain) - pulumi.set(__self__, "db_name", db_name) - pulumi.set(__self__, "db_unique_name", db_unique_name) - pulumi.set(__self__, "db_workload", db_workload) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "kms_key_id", kms_key_id) - pulumi.set(__self__, "kms_key_version_id", kms_key_version_id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "ncharacter_set", ncharacter_set) - pulumi.set(__self__, "pdb_name", pdb_name) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "tde_wallet_password", tde_wallet_password) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_stamp_for_point_in_time_recovery", time_stamp_for_point_in_time_recovery) - pulumi.set(__self__, "vault_id", vault_id) + GetDbSystemsDbSystemDbHomeDatabaseResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + admin_password=admin_password, + backup_id=backup_id, + backup_tde_password=backup_tde_password, + character_set=character_set, + connection_strings=connection_strings, + database_id=database_id, + database_software_image_id=database_software_image_id, + db_backup_configs=db_backup_configs, + db_domain=db_domain, + db_name=db_name, + db_unique_name=db_unique_name, + db_workload=db_workload, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + id=id, + kms_key_id=kms_key_id, + kms_key_version_id=kms_key_version_id, + lifecycle_details=lifecycle_details, + ncharacter_set=ncharacter_set, + pdb_name=pdb_name, + state=state, + tde_wallet_password=tde_wallet_password, + time_created=time_created, + time_stamp_for_point_in_time_recovery=time_stamp_for_point_in_time_recovery, + vault_id=vault_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + admin_password: str, + backup_id: str, + backup_tde_password: str, + character_set: str, + connection_strings: Sequence['outputs.GetDbSystemsDbSystemDbHomeDatabaseConnectionStringResult'], + database_id: str, + database_software_image_id: str, + db_backup_configs: Sequence['outputs.GetDbSystemsDbSystemDbHomeDatabaseDbBackupConfigResult'], + db_domain: str, + db_name: str, + db_unique_name: str, + db_workload: str, + defined_tags: Mapping[str, Any], + freeform_tags: Mapping[str, Any], + id: str, + kms_key_id: str, + kms_key_version_id: str, + lifecycle_details: str, + ncharacter_set: str, + pdb_name: str, + state: str, + tde_wallet_password: str, + time_created: str, + time_stamp_for_point_in_time_recovery: str, + vault_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("admin_password", admin_password) + _setter("backup_id", backup_id) + _setter("backup_tde_password", backup_tde_password) + _setter("character_set", character_set) + _setter("connection_strings", connection_strings) + _setter("database_id", database_id) + _setter("database_software_image_id", database_software_image_id) + _setter("db_backup_configs", db_backup_configs) + _setter("db_domain", db_domain) + _setter("db_name", db_name) + _setter("db_unique_name", db_unique_name) + _setter("db_workload", db_workload) + _setter("defined_tags", defined_tags) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("kms_key_id", kms_key_id) + _setter("kms_key_version_id", kms_key_version_id) + _setter("lifecycle_details", lifecycle_details) + _setter("ncharacter_set", ncharacter_set) + _setter("pdb_name", pdb_name) + _setter("state", state) + _setter("tde_wallet_password", tde_wallet_password) + _setter("time_created", time_created) + _setter("time_stamp_for_point_in_time_recovery", time_stamp_for_point_in_time_recovery) + _setter("vault_id", vault_id) @property @pulumi.getter(name="adminPassword") @@ -31604,9 +39424,22 @@ def __init__(__self__, *, all_connection_strings: Mapping[str, Any], cdb_default: str, cdb_ip_default: str): - pulumi.set(__self__, "all_connection_strings", all_connection_strings) - pulumi.set(__self__, "cdb_default", cdb_default) - pulumi.set(__self__, "cdb_ip_default", cdb_ip_default) + GetDbSystemsDbSystemDbHomeDatabaseConnectionStringResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + all_connection_strings=all_connection_strings, + cdb_default=cdb_default, + cdb_ip_default=cdb_ip_default, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + all_connection_strings: Mapping[str, Any], + cdb_default: str, + cdb_ip_default: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("all_connection_strings", all_connection_strings) + _setter("cdb_default", cdb_default) + _setter("cdb_ip_default", cdb_ip_default) @property @pulumi.getter(name="allConnectionStrings") @@ -31635,14 +39468,37 @@ def __init__(__self__, *, backup_destination_details: Sequence['outputs.GetDbSystemsDbSystemDbHomeDatabaseDbBackupConfigBackupDestinationDetailResult'], recovery_window_in_days: int, run_immediate_full_backup: bool): - pulumi.set(__self__, "auto_backup_enabled", auto_backup_enabled) - pulumi.set(__self__, "auto_backup_window", auto_backup_window) - pulumi.set(__self__, "auto_full_backup_day", auto_full_backup_day) - pulumi.set(__self__, "auto_full_backup_window", auto_full_backup_window) - pulumi.set(__self__, "backup_deletion_policy", backup_deletion_policy) - pulumi.set(__self__, "backup_destination_details", backup_destination_details) - pulumi.set(__self__, "recovery_window_in_days", recovery_window_in_days) - pulumi.set(__self__, "run_immediate_full_backup", run_immediate_full_backup) + GetDbSystemsDbSystemDbHomeDatabaseDbBackupConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + auto_backup_enabled=auto_backup_enabled, + auto_backup_window=auto_backup_window, + auto_full_backup_day=auto_full_backup_day, + auto_full_backup_window=auto_full_backup_window, + backup_deletion_policy=backup_deletion_policy, + backup_destination_details=backup_destination_details, + recovery_window_in_days=recovery_window_in_days, + run_immediate_full_backup=run_immediate_full_backup, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + auto_backup_enabled: bool, + auto_backup_window: str, + auto_full_backup_day: str, + auto_full_backup_window: str, + backup_deletion_policy: str, + backup_destination_details: Sequence['outputs.GetDbSystemsDbSystemDbHomeDatabaseDbBackupConfigBackupDestinationDetailResult'], + recovery_window_in_days: int, + run_immediate_full_backup: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("auto_backup_enabled", auto_backup_enabled) + _setter("auto_backup_window", auto_backup_window) + _setter("auto_full_backup_day", auto_full_backup_day) + _setter("auto_full_backup_window", auto_full_backup_window) + _setter("backup_deletion_policy", backup_deletion_policy) + _setter("backup_destination_details", backup_destination_details) + _setter("recovery_window_in_days", recovery_window_in_days) + _setter("run_immediate_full_backup", run_immediate_full_backup) @property @pulumi.getter(name="autoBackupEnabled") @@ -31694,9 +39550,22 @@ def __init__(__self__, *, """ :param str id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DB system. """ - pulumi.set(__self__, "dbrs_policy_id", dbrs_policy_id) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "type", type) + GetDbSystemsDbSystemDbHomeDatabaseDbBackupConfigBackupDestinationDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + dbrs_policy_id=dbrs_policy_id, + id=id, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + dbrs_policy_id: str, + id: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("dbrs_policy_id", dbrs_policy_id) + _setter("id", id) + _setter("type", type) @property @pulumi.getter(name="dbrsPolicyId") @@ -31724,7 +39593,16 @@ def __init__(__self__, *, """ :param str storage_management: The storage option used in DB system. ASM - Automatic storage management LVM - Logical Volume management """ - pulumi.set(__self__, "storage_management", storage_management) + GetDbSystemsDbSystemDbSystemOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + storage_management=storage_management, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + storage_management: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("storage_management", storage_management) @property @pulumi.getter(name="storageManagement") @@ -31747,11 +39625,28 @@ def __init__(__self__, *, :param str lifecycle_details: Additional information about the current lifecycle state. :param str state: A filter to return only resources that match the given lifecycle state exactly. """ - pulumi.set(__self__, "db_plans", db_plans) - pulumi.set(__self__, "db_system_id", db_system_id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "objective", objective) - pulumi.set(__self__, "state", state) + GetDbSystemsDbSystemIormConfigCachResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_plans=db_plans, + db_system_id=db_system_id, + lifecycle_details=lifecycle_details, + objective=objective, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_plans: Sequence['outputs.GetDbSystemsDbSystemIormConfigCachDbPlanResult'], + db_system_id: str, + lifecycle_details: str, + objective: str, + state: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("db_plans", db_plans) + _setter("db_system_id", db_system_id) + _setter("lifecycle_details", lifecycle_details) + _setter("objective", objective) + _setter("state", state) @property @pulumi.getter(name="dbPlans") @@ -31791,9 +39686,22 @@ def __init__(__self__, *, db_name: str, flash_cache_limit: str, share: int): - pulumi.set(__self__, "db_name", db_name) - pulumi.set(__self__, "flash_cache_limit", flash_cache_limit) - pulumi.set(__self__, "share", share) + GetDbSystemsDbSystemIormConfigCachDbPlanResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_name=db_name, + flash_cache_limit=flash_cache_limit, + share=share, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_name: str, + flash_cache_limit: str, + share: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("db_name", db_name) + _setter("flash_cache_limit", flash_cache_limit) + _setter("share", share) @property @pulumi.getter(name="dbName") @@ -31837,16 +39745,43 @@ def __init__(__self__, *, :param str preference: The maintenance window scheduling preference. :param Sequence[int] weeks_of_months: Weeks during the month when maintenance should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week. For example, to allow maintenance during the 2nd week of the month (from the 8th day to the 14th day of the month), use the value 2. Maintenance cannot be scheduled for the fifth week of months that contain more than 28 days. Note that this parameter works in conjunction with the daysOfWeek and hoursOfDay parameters to allow you to specify specific days of the week and hours that maintenance will be performed. """ - pulumi.set(__self__, "custom_action_timeout_in_mins", custom_action_timeout_in_mins) - pulumi.set(__self__, "days_of_weeks", days_of_weeks) - pulumi.set(__self__, "hours_of_days", hours_of_days) - pulumi.set(__self__, "is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) - pulumi.set(__self__, "is_monthly_patching_enabled", is_monthly_patching_enabled) - pulumi.set(__self__, "lead_time_in_weeks", lead_time_in_weeks) - pulumi.set(__self__, "months", months) - pulumi.set(__self__, "patching_mode", patching_mode) - pulumi.set(__self__, "preference", preference) - pulumi.set(__self__, "weeks_of_months", weeks_of_months) + GetDbSystemsDbSystemMaintenanceWindowResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_action_timeout_in_mins=custom_action_timeout_in_mins, + days_of_weeks=days_of_weeks, + hours_of_days=hours_of_days, + is_custom_action_timeout_enabled=is_custom_action_timeout_enabled, + is_monthly_patching_enabled=is_monthly_patching_enabled, + lead_time_in_weeks=lead_time_in_weeks, + months=months, + patching_mode=patching_mode, + preference=preference, + weeks_of_months=weeks_of_months, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_action_timeout_in_mins: int, + days_of_weeks: Sequence['outputs.GetDbSystemsDbSystemMaintenanceWindowDaysOfWeekResult'], + hours_of_days: Sequence[int], + is_custom_action_timeout_enabled: bool, + is_monthly_patching_enabled: bool, + lead_time_in_weeks: int, + months: Sequence['outputs.GetDbSystemsDbSystemMaintenanceWindowMonthResult'], + patching_mode: str, + preference: str, + weeks_of_months: Sequence[int], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("custom_action_timeout_in_mins", custom_action_timeout_in_mins) + _setter("days_of_weeks", days_of_weeks) + _setter("hours_of_days", hours_of_days) + _setter("is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) + _setter("is_monthly_patching_enabled", is_monthly_patching_enabled) + _setter("lead_time_in_weeks", lead_time_in_weeks) + _setter("months", months) + _setter("patching_mode", patching_mode) + _setter("preference", preference) + _setter("weeks_of_months", weeks_of_months) @property @pulumi.getter(name="customActionTimeoutInMins") @@ -31937,7 +39872,16 @@ def __init__(__self__, *, """ :param str name: Name of the month of the year. """ - pulumi.set(__self__, "name", name) + GetDbSystemsDbSystemMaintenanceWindowDaysOfWeekResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -31974,16 +39918,43 @@ def __init__(__self__, *, :param str preference: The maintenance window scheduling preference. :param Sequence[int] weeks_of_months: Weeks during the month when maintenance should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week. For example, to allow maintenance during the 2nd week of the month (from the 8th day to the 14th day of the month), use the value 2. Maintenance cannot be scheduled for the fifth week of months that contain more than 28 days. Note that this parameter works in conjunction with the daysOfWeek and hoursOfDay parameters to allow you to specify specific days of the week and hours that maintenance will be performed. """ - pulumi.set(__self__, "custom_action_timeout_in_mins", custom_action_timeout_in_mins) - pulumi.set(__self__, "days_of_weeks", days_of_weeks) - pulumi.set(__self__, "hours_of_days", hours_of_days) - pulumi.set(__self__, "is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) - pulumi.set(__self__, "is_monthly_patching_enabled", is_monthly_patching_enabled) - pulumi.set(__self__, "lead_time_in_weeks", lead_time_in_weeks) - pulumi.set(__self__, "months", months) - pulumi.set(__self__, "patching_mode", patching_mode) - pulumi.set(__self__, "preference", preference) - pulumi.set(__self__, "weeks_of_months", weeks_of_months) + GetDbSystemsDbSystemMaintenanceWindowDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_action_timeout_in_mins=custom_action_timeout_in_mins, + days_of_weeks=days_of_weeks, + hours_of_days=hours_of_days, + is_custom_action_timeout_enabled=is_custom_action_timeout_enabled, + is_monthly_patching_enabled=is_monthly_patching_enabled, + lead_time_in_weeks=lead_time_in_weeks, + months=months, + patching_mode=patching_mode, + preference=preference, + weeks_of_months=weeks_of_months, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_action_timeout_in_mins: int, + days_of_weeks: Sequence['outputs.GetDbSystemsDbSystemMaintenanceWindowDetailDaysOfWeekResult'], + hours_of_days: Sequence[int], + is_custom_action_timeout_enabled: bool, + is_monthly_patching_enabled: bool, + lead_time_in_weeks: int, + months: Sequence['outputs.GetDbSystemsDbSystemMaintenanceWindowDetailMonthResult'], + patching_mode: str, + preference: str, + weeks_of_months: Sequence[int], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("custom_action_timeout_in_mins", custom_action_timeout_in_mins) + _setter("days_of_weeks", days_of_weeks) + _setter("hours_of_days", hours_of_days) + _setter("is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) + _setter("is_monthly_patching_enabled", is_monthly_patching_enabled) + _setter("lead_time_in_weeks", lead_time_in_weeks) + _setter("months", months) + _setter("patching_mode", patching_mode) + _setter("preference", preference) + _setter("weeks_of_months", weeks_of_months) @property @pulumi.getter(name="customActionTimeoutInMins") @@ -32074,7 +40045,16 @@ def __init__(__self__, *, """ :param str name: Name of the month of the year. """ - pulumi.set(__self__, "name", name) + GetDbSystemsDbSystemMaintenanceWindowDetailDaysOfWeekResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -32092,7 +40072,16 @@ def __init__(__self__, *, """ :param str name: Name of the month of the year. """ - pulumi.set(__self__, "name", name) + GetDbSystemsDbSystemMaintenanceWindowDetailMonthResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -32110,7 +40099,16 @@ def __init__(__self__, *, """ :param str name: Name of the month of the year. """ - pulumi.set(__self__, "name", name) + GetDbSystemsDbSystemMaintenanceWindowMonthResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -32130,10 +40128,23 @@ def __init__(__self__, *, """ :param str name: Name of the month of the year. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDbSystemsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -32177,15 +40188,40 @@ def __init__(__self__, *, :param str time_ended: The date and time when the upgrade action completed :param str time_started: The date and time when the upgrade action started. """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "new_gi_version", new_gi_version) - pulumi.set(__self__, "old_gi_version", old_gi_version) - pulumi.set(__self__, "snapshot_retention_period_in_days", snapshot_retention_period_in_days) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_ended", time_ended) - pulumi.set(__self__, "time_started", time_started) + GetDbSystemsUpgradeHistoryEntriesDbSystemUpgradeHistoryEntryResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + id=id, + lifecycle_details=lifecycle_details, + new_gi_version=new_gi_version, + old_gi_version=old_gi_version, + snapshot_retention_period_in_days=snapshot_retention_period_in_days, + state=state, + time_ended=time_ended, + time_started=time_started, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: str, + id: str, + lifecycle_details: str, + new_gi_version: str, + old_gi_version: str, + snapshot_retention_period_in_days: int, + state: str, + time_ended: str, + time_started: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("new_gi_version", new_gi_version) + _setter("old_gi_version", old_gi_version) + _setter("snapshot_retention_period_in_days", snapshot_retention_period_in_days) + _setter("state", state) + _setter("time_ended", time_ended) + _setter("time_started", time_started) @property @pulumi.getter @@ -32266,10 +40302,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDbSystemsUpgradeHistoryEntriesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -32302,11 +40351,28 @@ def __init__(__self__, *, :param bool supports_pdb: True if this version of the Oracle Database software supports pluggable databases. :param str version: A valid Oracle Database version. """ - pulumi.set(__self__, "is_latest_for_major_version", is_latest_for_major_version) - pulumi.set(__self__, "is_preview_db_version", is_preview_db_version) - pulumi.set(__self__, "is_upgrade_supported", is_upgrade_supported) - pulumi.set(__self__, "supports_pdb", supports_pdb) - pulumi.set(__self__, "version", version) + GetDbVersionsDbVersionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_latest_for_major_version=is_latest_for_major_version, + is_preview_db_version=is_preview_db_version, + is_upgrade_supported=is_upgrade_supported, + supports_pdb=supports_pdb, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_latest_for_major_version: bool, + is_preview_db_version: bool, + is_upgrade_supported: bool, + supports_pdb: bool, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_latest_for_major_version", is_latest_for_major_version) + _setter("is_preview_db_version", is_preview_db_version) + _setter("is_upgrade_supported", is_upgrade_supported) + _setter("supports_pdb", supports_pdb) + _setter("version", version) @property @pulumi.getter(name="isLatestForMajorVersion") @@ -32355,10 +40421,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDbVersionsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -32391,11 +40470,28 @@ def __init__(__self__, *, :param str name: Name of the month of the year. :param str phone_number: The phone number for the Exadata Infrastructure contact. """ - pulumi.set(__self__, "email", email) - pulumi.set(__self__, "is_contact_mos_validated", is_contact_mos_validated) - pulumi.set(__self__, "is_primary", is_primary) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "phone_number", phone_number) + GetExadataInfrastructureContactResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + email=email, + is_contact_mos_validated=is_contact_mos_validated, + is_primary=is_primary, + name=name, + phone_number=phone_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + email: str, + is_contact_mos_validated: bool, + is_primary: bool, + name: str, + phone_number: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("email", email) + _setter("is_contact_mos_validated", is_contact_mos_validated) + _setter("is_primary", is_primary) + _setter("name", name) + _setter("phone_number", phone_number) @property @pulumi.getter @@ -32464,16 +40560,43 @@ def __init__(__self__, *, :param str preference: The maintenance window scheduling preference. :param Sequence[int] weeks_of_months: Weeks during the month when maintenance should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week. For example, to allow maintenance during the 2nd week of the month (from the 8th day to the 14th day of the month), use the value 2. Maintenance cannot be scheduled for the fifth week of months that contain more than 28 days. Note that this parameter works in conjunction with the daysOfWeek and hoursOfDay parameters to allow you to specify specific days of the week and hours that maintenance will be performed. """ - pulumi.set(__self__, "custom_action_timeout_in_mins", custom_action_timeout_in_mins) - pulumi.set(__self__, "days_of_weeks", days_of_weeks) - pulumi.set(__self__, "hours_of_days", hours_of_days) - pulumi.set(__self__, "is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) - pulumi.set(__self__, "is_monthly_patching_enabled", is_monthly_patching_enabled) - pulumi.set(__self__, "lead_time_in_weeks", lead_time_in_weeks) - pulumi.set(__self__, "months", months) - pulumi.set(__self__, "patching_mode", patching_mode) - pulumi.set(__self__, "preference", preference) - pulumi.set(__self__, "weeks_of_months", weeks_of_months) + GetExadataInfrastructureMaintenanceWindowResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_action_timeout_in_mins=custom_action_timeout_in_mins, + days_of_weeks=days_of_weeks, + hours_of_days=hours_of_days, + is_custom_action_timeout_enabled=is_custom_action_timeout_enabled, + is_monthly_patching_enabled=is_monthly_patching_enabled, + lead_time_in_weeks=lead_time_in_weeks, + months=months, + patching_mode=patching_mode, + preference=preference, + weeks_of_months=weeks_of_months, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_action_timeout_in_mins: int, + days_of_weeks: Sequence['outputs.GetExadataInfrastructureMaintenanceWindowDaysOfWeekResult'], + hours_of_days: Sequence[int], + is_custom_action_timeout_enabled: bool, + is_monthly_patching_enabled: bool, + lead_time_in_weeks: int, + months: Sequence['outputs.GetExadataInfrastructureMaintenanceWindowMonthResult'], + patching_mode: str, + preference: str, + weeks_of_months: Sequence[int], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("custom_action_timeout_in_mins", custom_action_timeout_in_mins) + _setter("days_of_weeks", days_of_weeks) + _setter("hours_of_days", hours_of_days) + _setter("is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) + _setter("is_monthly_patching_enabled", is_monthly_patching_enabled) + _setter("lead_time_in_weeks", lead_time_in_weeks) + _setter("months", months) + _setter("patching_mode", patching_mode) + _setter("preference", preference) + _setter("weeks_of_months", weeks_of_months) @property @pulumi.getter(name="customActionTimeoutInMins") @@ -32564,7 +40687,16 @@ def __init__(__self__, *, """ :param str name: Name of the month of the year. """ - pulumi.set(__self__, "name", name) + GetExadataInfrastructureMaintenanceWindowDaysOfWeekResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -32582,7 +40714,16 @@ def __init__(__self__, *, """ :param str name: Name of the month of the year. """ - pulumi.set(__self__, "name", name) + GetExadataInfrastructureMaintenanceWindowMonthResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -32604,9 +40745,22 @@ def __init__(__self__, *, :param str client_network_bonding_mode: The network bonding mode for the Exadata infrastructure. :param str dr_network_bonding_mode: The network bonding mode for the Exadata infrastructure. """ - pulumi.set(__self__, "backup_network_bonding_mode", backup_network_bonding_mode) - pulumi.set(__self__, "client_network_bonding_mode", client_network_bonding_mode) - pulumi.set(__self__, "dr_network_bonding_mode", dr_network_bonding_mode) + GetExadataInfrastructureNetworkBondingModeDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + backup_network_bonding_mode=backup_network_bonding_mode, + client_network_bonding_mode=client_network_bonding_mode, + dr_network_bonding_mode=dr_network_bonding_mode, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backup_network_bonding_mode: str, + client_network_bonding_mode: str, + dr_network_bonding_mode: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("backup_network_bonding_mode", backup_network_bonding_mode) + _setter("client_network_bonding_mode", client_network_bonding_mode) + _setter("dr_network_bonding_mode", dr_network_bonding_mode) @property @pulumi.getter(name="backupNetworkBondingMode") @@ -32642,8 +40796,19 @@ def __init__(__self__, *, :param str id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata infrastructure. :param float un_allocated_adb_storage_in_tbs: Total unallocated autonomous data storage in the AVM in TBs. """ - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "un_allocated_adb_storage_in_tbs", un_allocated_adb_storage_in_tbs) + GetExadataInfrastructureUnAllocatedResourceAutonomousVmClusterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + un_allocated_adb_storage_in_tbs=un_allocated_adb_storage_in_tbs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: str, + un_allocated_adb_storage_in_tbs: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) + _setter("un_allocated_adb_storage_in_tbs", un_allocated_adb_storage_in_tbs) @property @pulumi.getter @@ -32761,54 +40926,157 @@ def __init__(__self__, *, :param str time_created: The date and time the Exadata infrastructure was created. :param str time_zone: The time zone of the Exadata infrastructure. For details, see [Exadata Infrastructure Time Zones](https://docs.cloud.oracle.com/iaas/Content/Database/References/timezones.htm). """ - pulumi.set(__self__, "activated_storage_count", activated_storage_count) - pulumi.set(__self__, "activation_file", activation_file) - pulumi.set(__self__, "additional_compute_count", additional_compute_count) - pulumi.set(__self__, "additional_compute_system_model", additional_compute_system_model) - pulumi.set(__self__, "additional_storage_count", additional_storage_count) - pulumi.set(__self__, "admin_network_cidr", admin_network_cidr) - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "cloud_control_plane_server1", cloud_control_plane_server1) - pulumi.set(__self__, "cloud_control_plane_server2", cloud_control_plane_server2) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "compute_count", compute_count) - pulumi.set(__self__, "contacts", contacts) - pulumi.set(__self__, "corporate_proxy", corporate_proxy) - pulumi.set(__self__, "cpus_enabled", cpus_enabled) - pulumi.set(__self__, "create_async", create_async) - pulumi.set(__self__, "csi_number", csi_number) - pulumi.set(__self__, "data_storage_size_in_tbs", data_storage_size_in_tbs) - pulumi.set(__self__, "db_node_storage_size_in_gbs", db_node_storage_size_in_gbs) - pulumi.set(__self__, "db_server_version", db_server_version) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "dns_servers", dns_servers) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "gateway", gateway) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "infini_band_network_cidr", infini_band_network_cidr) - pulumi.set(__self__, "is_cps_offline_report_enabled", is_cps_offline_report_enabled) - pulumi.set(__self__, "is_multi_rack_deployment", is_multi_rack_deployment) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "maintenance_slo_status", maintenance_slo_status) - pulumi.set(__self__, "maintenance_windows", maintenance_windows) - pulumi.set(__self__, "max_cpu_count", max_cpu_count) - pulumi.set(__self__, "max_data_storage_in_tbs", max_data_storage_in_tbs) - pulumi.set(__self__, "max_db_node_storage_in_gbs", max_db_node_storage_in_gbs) - pulumi.set(__self__, "max_memory_in_gbs", max_memory_in_gbs) - pulumi.set(__self__, "memory_size_in_gbs", memory_size_in_gbs) - pulumi.set(__self__, "monthly_db_server_version", monthly_db_server_version) - pulumi.set(__self__, "multi_rack_configuration_file", multi_rack_configuration_file) - pulumi.set(__self__, "netmask", netmask) - pulumi.set(__self__, "network_bonding_mode_details", network_bonding_mode_details) - pulumi.set(__self__, "ntp_servers", ntp_servers) - pulumi.set(__self__, "rack_serial_number", rack_serial_number) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "storage_count", storage_count) - pulumi.set(__self__, "storage_server_version", storage_server_version) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_zone", time_zone) + GetExadataInfrastructuresExadataInfrastructureResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + activated_storage_count=activated_storage_count, + activation_file=activation_file, + additional_compute_count=additional_compute_count, + additional_compute_system_model=additional_compute_system_model, + additional_storage_count=additional_storage_count, + admin_network_cidr=admin_network_cidr, + availability_domain=availability_domain, + cloud_control_plane_server1=cloud_control_plane_server1, + cloud_control_plane_server2=cloud_control_plane_server2, + compartment_id=compartment_id, + compute_count=compute_count, + contacts=contacts, + corporate_proxy=corporate_proxy, + cpus_enabled=cpus_enabled, + create_async=create_async, + csi_number=csi_number, + data_storage_size_in_tbs=data_storage_size_in_tbs, + db_node_storage_size_in_gbs=db_node_storage_size_in_gbs, + db_server_version=db_server_version, + defined_tags=defined_tags, + display_name=display_name, + dns_servers=dns_servers, + freeform_tags=freeform_tags, + gateway=gateway, + id=id, + infini_band_network_cidr=infini_band_network_cidr, + is_cps_offline_report_enabled=is_cps_offline_report_enabled, + is_multi_rack_deployment=is_multi_rack_deployment, + lifecycle_details=lifecycle_details, + maintenance_slo_status=maintenance_slo_status, + maintenance_windows=maintenance_windows, + max_cpu_count=max_cpu_count, + max_data_storage_in_tbs=max_data_storage_in_tbs, + max_db_node_storage_in_gbs=max_db_node_storage_in_gbs, + max_memory_in_gbs=max_memory_in_gbs, + memory_size_in_gbs=memory_size_in_gbs, + monthly_db_server_version=monthly_db_server_version, + multi_rack_configuration_file=multi_rack_configuration_file, + netmask=netmask, + network_bonding_mode_details=network_bonding_mode_details, + ntp_servers=ntp_servers, + rack_serial_number=rack_serial_number, + shape=shape, + state=state, + storage_count=storage_count, + storage_server_version=storage_server_version, + time_created=time_created, + time_zone=time_zone, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + activated_storage_count: int, + activation_file: str, + additional_compute_count: int, + additional_compute_system_model: str, + additional_storage_count: int, + admin_network_cidr: str, + availability_domain: str, + cloud_control_plane_server1: str, + cloud_control_plane_server2: str, + compartment_id: str, + compute_count: int, + contacts: Sequence['outputs.GetExadataInfrastructuresExadataInfrastructureContactResult'], + corporate_proxy: str, + cpus_enabled: int, + create_async: bool, + csi_number: str, + data_storage_size_in_tbs: float, + db_node_storage_size_in_gbs: int, + db_server_version: str, + defined_tags: Mapping[str, Any], + display_name: str, + dns_servers: Sequence[str], + freeform_tags: Mapping[str, Any], + gateway: str, + id: str, + infini_band_network_cidr: str, + is_cps_offline_report_enabled: bool, + is_multi_rack_deployment: bool, + lifecycle_details: str, + maintenance_slo_status: str, + maintenance_windows: Sequence['outputs.GetExadataInfrastructuresExadataInfrastructureMaintenanceWindowResult'], + max_cpu_count: int, + max_data_storage_in_tbs: float, + max_db_node_storage_in_gbs: int, + max_memory_in_gbs: int, + memory_size_in_gbs: int, + monthly_db_server_version: str, + multi_rack_configuration_file: str, + netmask: str, + network_bonding_mode_details: Sequence['outputs.GetExadataInfrastructuresExadataInfrastructureNetworkBondingModeDetailResult'], + ntp_servers: Sequence[str], + rack_serial_number: str, + shape: str, + state: str, + storage_count: int, + storage_server_version: str, + time_created: str, + time_zone: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("activated_storage_count", activated_storage_count) + _setter("activation_file", activation_file) + _setter("additional_compute_count", additional_compute_count) + _setter("additional_compute_system_model", additional_compute_system_model) + _setter("additional_storage_count", additional_storage_count) + _setter("admin_network_cidr", admin_network_cidr) + _setter("availability_domain", availability_domain) + _setter("cloud_control_plane_server1", cloud_control_plane_server1) + _setter("cloud_control_plane_server2", cloud_control_plane_server2) + _setter("compartment_id", compartment_id) + _setter("compute_count", compute_count) + _setter("contacts", contacts) + _setter("corporate_proxy", corporate_proxy) + _setter("cpus_enabled", cpus_enabled) + _setter("create_async", create_async) + _setter("csi_number", csi_number) + _setter("data_storage_size_in_tbs", data_storage_size_in_tbs) + _setter("db_node_storage_size_in_gbs", db_node_storage_size_in_gbs) + _setter("db_server_version", db_server_version) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("dns_servers", dns_servers) + _setter("freeform_tags", freeform_tags) + _setter("gateway", gateway) + _setter("id", id) + _setter("infini_band_network_cidr", infini_band_network_cidr) + _setter("is_cps_offline_report_enabled", is_cps_offline_report_enabled) + _setter("is_multi_rack_deployment", is_multi_rack_deployment) + _setter("lifecycle_details", lifecycle_details) + _setter("maintenance_slo_status", maintenance_slo_status) + _setter("maintenance_windows", maintenance_windows) + _setter("max_cpu_count", max_cpu_count) + _setter("max_data_storage_in_tbs", max_data_storage_in_tbs) + _setter("max_db_node_storage_in_gbs", max_db_node_storage_in_gbs) + _setter("max_memory_in_gbs", max_memory_in_gbs) + _setter("memory_size_in_gbs", memory_size_in_gbs) + _setter("monthly_db_server_version", monthly_db_server_version) + _setter("multi_rack_configuration_file", multi_rack_configuration_file) + _setter("netmask", netmask) + _setter("network_bonding_mode_details", network_bonding_mode_details) + _setter("ntp_servers", ntp_servers) + _setter("rack_serial_number", rack_serial_number) + _setter("shape", shape) + _setter("state", state) + _setter("storage_count", storage_count) + _setter("storage_server_version", storage_server_version) + _setter("time_created", time_created) + _setter("time_zone", time_zone) @property @pulumi.getter(name="activatedStorageCount") @@ -33204,11 +41472,28 @@ def __init__(__self__, *, :param str name: Name of the month of the year. :param str phone_number: The phone number for the Exadata Infrastructure contact. """ - pulumi.set(__self__, "email", email) - pulumi.set(__self__, "is_contact_mos_validated", is_contact_mos_validated) - pulumi.set(__self__, "is_primary", is_primary) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "phone_number", phone_number) + GetExadataInfrastructuresExadataInfrastructureContactResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + email=email, + is_contact_mos_validated=is_contact_mos_validated, + is_primary=is_primary, + name=name, + phone_number=phone_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + email: str, + is_contact_mos_validated: bool, + is_primary: bool, + name: str, + phone_number: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("email", email) + _setter("is_contact_mos_validated", is_contact_mos_validated) + _setter("is_primary", is_primary) + _setter("name", name) + _setter("phone_number", phone_number) @property @pulumi.getter @@ -33277,16 +41562,43 @@ def __init__(__self__, *, :param str preference: The maintenance window scheduling preference. :param Sequence[int] weeks_of_months: Weeks during the month when maintenance should be performed. Weeks start on the 1st, 8th, 15th, and 22nd days of the month, and have a duration of 7 days. Weeks start and end based on calendar dates, not days of the week. For example, to allow maintenance during the 2nd week of the month (from the 8th day to the 14th day of the month), use the value 2. Maintenance cannot be scheduled for the fifth week of months that contain more than 28 days. Note that this parameter works in conjunction with the daysOfWeek and hoursOfDay parameters to allow you to specify specific days of the week and hours that maintenance will be performed. """ - pulumi.set(__self__, "custom_action_timeout_in_mins", custom_action_timeout_in_mins) - pulumi.set(__self__, "days_of_weeks", days_of_weeks) - pulumi.set(__self__, "hours_of_days", hours_of_days) - pulumi.set(__self__, "is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) - pulumi.set(__self__, "is_monthly_patching_enabled", is_monthly_patching_enabled) - pulumi.set(__self__, "lead_time_in_weeks", lead_time_in_weeks) - pulumi.set(__self__, "months", months) - pulumi.set(__self__, "patching_mode", patching_mode) - pulumi.set(__self__, "preference", preference) - pulumi.set(__self__, "weeks_of_months", weeks_of_months) + GetExadataInfrastructuresExadataInfrastructureMaintenanceWindowResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_action_timeout_in_mins=custom_action_timeout_in_mins, + days_of_weeks=days_of_weeks, + hours_of_days=hours_of_days, + is_custom_action_timeout_enabled=is_custom_action_timeout_enabled, + is_monthly_patching_enabled=is_monthly_patching_enabled, + lead_time_in_weeks=lead_time_in_weeks, + months=months, + patching_mode=patching_mode, + preference=preference, + weeks_of_months=weeks_of_months, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_action_timeout_in_mins: int, + days_of_weeks: Sequence['outputs.GetExadataInfrastructuresExadataInfrastructureMaintenanceWindowDaysOfWeekResult'], + hours_of_days: Sequence[int], + is_custom_action_timeout_enabled: bool, + is_monthly_patching_enabled: bool, + lead_time_in_weeks: int, + months: Sequence['outputs.GetExadataInfrastructuresExadataInfrastructureMaintenanceWindowMonthResult'], + patching_mode: str, + preference: str, + weeks_of_months: Sequence[int], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("custom_action_timeout_in_mins", custom_action_timeout_in_mins) + _setter("days_of_weeks", days_of_weeks) + _setter("hours_of_days", hours_of_days) + _setter("is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) + _setter("is_monthly_patching_enabled", is_monthly_patching_enabled) + _setter("lead_time_in_weeks", lead_time_in_weeks) + _setter("months", months) + _setter("patching_mode", patching_mode) + _setter("preference", preference) + _setter("weeks_of_months", weeks_of_months) @property @pulumi.getter(name="customActionTimeoutInMins") @@ -33377,7 +41689,16 @@ def __init__(__self__, *, """ :param str name: Name of the month of the year. """ - pulumi.set(__self__, "name", name) + GetExadataInfrastructuresExadataInfrastructureMaintenanceWindowDaysOfWeekResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -33395,7 +41716,16 @@ def __init__(__self__, *, """ :param str name: Name of the month of the year. """ - pulumi.set(__self__, "name", name) + GetExadataInfrastructuresExadataInfrastructureMaintenanceWindowMonthResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -33417,9 +41747,22 @@ def __init__(__self__, *, :param str client_network_bonding_mode: The network bonding mode for the Exadata infrastructure. :param str dr_network_bonding_mode: The network bonding mode for the Exadata infrastructure. """ - pulumi.set(__self__, "backup_network_bonding_mode", backup_network_bonding_mode) - pulumi.set(__self__, "client_network_bonding_mode", client_network_bonding_mode) - pulumi.set(__self__, "dr_network_bonding_mode", dr_network_bonding_mode) + GetExadataInfrastructuresExadataInfrastructureNetworkBondingModeDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + backup_network_bonding_mode=backup_network_bonding_mode, + client_network_bonding_mode=client_network_bonding_mode, + dr_network_bonding_mode=dr_network_bonding_mode, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backup_network_bonding_mode: str, + client_network_bonding_mode: str, + dr_network_bonding_mode: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("backup_network_bonding_mode", backup_network_bonding_mode) + _setter("client_network_bonding_mode", client_network_bonding_mode) + _setter("dr_network_bonding_mode", dr_network_bonding_mode) @property @pulumi.getter(name="backupNetworkBondingMode") @@ -33455,10 +41798,23 @@ def __init__(__self__, *, """ :param str name: Name of the month of the year. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetExadataInfrastructuresFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -33490,9 +41846,22 @@ def __init__(__self__, *, :param str flash_cache_limit: The flash cache limit for this database. This value is internally configured based on the share value assigned to the database. :param int share: The relative priority of this database. """ - pulumi.set(__self__, "db_name", db_name) - pulumi.set(__self__, "flash_cache_limit", flash_cache_limit) - pulumi.set(__self__, "share", share) + GetExadataIormConfigDbPlanResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_name=db_name, + flash_cache_limit=flash_cache_limit, + share=share, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_name: str, + flash_cache_limit: str, + share: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("db_name", db_name) + _setter("flash_cache_limit", flash_cache_limit) + _setter("share", share) @property @pulumi.getter(name="dbName") @@ -33530,9 +41899,22 @@ def __init__(__self__, *, :param str database_management_status: The status of the Database Management service. :param str license_model: The Oracle license model that applies to the external database. """ - pulumi.set(__self__, "database_management_connection_id", database_management_connection_id) - pulumi.set(__self__, "database_management_status", database_management_status) - pulumi.set(__self__, "license_model", license_model) + GetExternalContainerDatabaseDatabaseManagementConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + database_management_connection_id=database_management_connection_id, + database_management_status=database_management_status, + license_model=license_model, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + database_management_connection_id: str, + database_management_status: str, + license_model: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("database_management_connection_id", database_management_connection_id) + _setter("database_management_status", database_management_status) + _setter("license_model", license_model) @property @pulumi.getter(name="databaseManagementConnectionId") @@ -33568,8 +41950,19 @@ def __init__(__self__, *, :param str stack_monitoring_connector_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the [external database connector](https://docs.cloud.oracle.com/iaas/api/#/en/database/latest/datatypes/CreateExternalDatabaseConnectorDetails). :param str stack_monitoring_status: The status of Stack Monitoring. """ - pulumi.set(__self__, "stack_monitoring_connector_id", stack_monitoring_connector_id) - pulumi.set(__self__, "stack_monitoring_status", stack_monitoring_status) + GetExternalContainerDatabaseStackMonitoringConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + stack_monitoring_connector_id=stack_monitoring_connector_id, + stack_monitoring_status=stack_monitoring_status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + stack_monitoring_connector_id: str, + stack_monitoring_status: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("stack_monitoring_connector_id", stack_monitoring_connector_id) + _setter("stack_monitoring_status", stack_monitoring_status) @property @pulumi.getter(name="stackMonitoringConnectorId") @@ -33631,25 +42024,70 @@ def __init__(__self__, *, :param str time_created: The date and time the database was created. :param str time_zone: The time zone of the external database. It is a time zone offset (a character type in the format '[+|-]TZH:TZM') or a time zone region name, depending on how the time zone value was specified when the database was created / last altered. """ - pulumi.set(__self__, "character_set", character_set) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "database_configuration", database_configuration) - pulumi.set(__self__, "database_edition", database_edition) - pulumi.set(__self__, "database_management_configs", database_management_configs) - pulumi.set(__self__, "database_version", database_version) - pulumi.set(__self__, "db_id", db_id) - pulumi.set(__self__, "db_packs", db_packs) - pulumi.set(__self__, "db_unique_name", db_unique_name) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "ncharacter_set", ncharacter_set) - pulumi.set(__self__, "stack_monitoring_configs", stack_monitoring_configs) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_zone", time_zone) + GetExternalContainerDatabasesExternalContainerDatabaseResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + character_set=character_set, + compartment_id=compartment_id, + database_configuration=database_configuration, + database_edition=database_edition, + database_management_configs=database_management_configs, + database_version=database_version, + db_id=db_id, + db_packs=db_packs, + db_unique_name=db_unique_name, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + ncharacter_set=ncharacter_set, + stack_monitoring_configs=stack_monitoring_configs, + state=state, + time_created=time_created, + time_zone=time_zone, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + character_set: str, + compartment_id: str, + database_configuration: str, + database_edition: str, + database_management_configs: Sequence['outputs.GetExternalContainerDatabasesExternalContainerDatabaseDatabaseManagementConfigResult'], + database_version: str, + db_id: str, + db_packs: str, + db_unique_name: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + ncharacter_set: str, + stack_monitoring_configs: Sequence['outputs.GetExternalContainerDatabasesExternalContainerDatabaseStackMonitoringConfigResult'], + state: str, + time_created: str, + time_zone: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("character_set", character_set) + _setter("compartment_id", compartment_id) + _setter("database_configuration", database_configuration) + _setter("database_edition", database_edition) + _setter("database_management_configs", database_management_configs) + _setter("database_version", database_version) + _setter("db_id", db_id) + _setter("db_packs", db_packs) + _setter("db_unique_name", db_unique_name) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("ncharacter_set", ncharacter_set) + _setter("stack_monitoring_configs", stack_monitoring_configs) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_zone", time_zone) @property @pulumi.getter(name="characterSet") @@ -33815,9 +42253,22 @@ def __init__(__self__, *, :param str database_management_status: The status of the Database Management service. :param str license_model: The Oracle license model that applies to the external database. """ - pulumi.set(__self__, "database_management_connection_id", database_management_connection_id) - pulumi.set(__self__, "database_management_status", database_management_status) - pulumi.set(__self__, "license_model", license_model) + GetExternalContainerDatabasesExternalContainerDatabaseDatabaseManagementConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + database_management_connection_id=database_management_connection_id, + database_management_status=database_management_status, + license_model=license_model, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + database_management_connection_id: str, + database_management_status: str, + license_model: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("database_management_connection_id", database_management_connection_id) + _setter("database_management_status", database_management_status) + _setter("license_model", license_model) @property @pulumi.getter(name="databaseManagementConnectionId") @@ -33853,8 +42304,19 @@ def __init__(__self__, *, :param str stack_monitoring_connector_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the [external database connector](https://docs.cloud.oracle.com/iaas/api/#/en/database/latest/datatypes/CreateExternalDatabaseConnectorDetails). :param str stack_monitoring_status: The status of Stack Monitoring. """ - pulumi.set(__self__, "stack_monitoring_connector_id", stack_monitoring_connector_id) - pulumi.set(__self__, "stack_monitoring_status", stack_monitoring_status) + GetExternalContainerDatabasesExternalContainerDatabaseStackMonitoringConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + stack_monitoring_connector_id=stack_monitoring_connector_id, + stack_monitoring_status=stack_monitoring_status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + stack_monitoring_connector_id: str, + stack_monitoring_status: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("stack_monitoring_connector_id", stack_monitoring_connector_id) + _setter("stack_monitoring_status", stack_monitoring_status) @property @pulumi.getter(name="stackMonitoringConnectorId") @@ -33879,10 +42341,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetExternalContainerDatabasesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -33917,12 +42392,31 @@ def __init__(__self__, *, :param str ssl_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure [secret](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). :param str username: The username that will be used to connect to the database. """ - pulumi.set(__self__, "credential_name", credential_name) - pulumi.set(__self__, "credential_type", credential_type) - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "role", role) - pulumi.set(__self__, "ssl_secret_id", ssl_secret_id) - pulumi.set(__self__, "username", username) + GetExternalDatabaseConnectorConnectionCredentialResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + credential_name=credential_name, + credential_type=credential_type, + password=password, + role=role, + ssl_secret_id=ssl_secret_id, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + credential_name: str, + credential_type: str, + password: str, + role: str, + ssl_secret_id: str, + username: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("credential_name", credential_name) + _setter("credential_type", credential_type) + _setter("password", password) + _setter("role", role) + _setter("ssl_secret_id", ssl_secret_id) + _setter("username", username) @property @pulumi.getter(name="credentialName") @@ -33986,10 +42480,25 @@ def __init__(__self__, *, :param str protocol: The protocol used to connect to the database. :param str service: The name of the service alias used to connect to the database. """ - pulumi.set(__self__, "hostname", hostname) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "service", service) + GetExternalDatabaseConnectorConnectionStringResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + hostname=hostname, + port=port, + protocol=protocol, + service=service, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hostname: str, + port: int, + protocol: str, + service: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("hostname", hostname) + _setter("port", port) + _setter("protocol", protocol) + _setter("service", service) @property @pulumi.getter @@ -34059,21 +42568,58 @@ def __init__(__self__, *, :param str time_connection_status_last_updated: The date and time the `connectionStatus` of this external connector was last updated. :param str time_created: The date and time the external connector was created. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "connection_credentials", connection_credentials) - pulumi.set(__self__, "connection_status", connection_status) - pulumi.set(__self__, "connection_strings", connection_strings) - pulumi.set(__self__, "connector_agent_id", connector_agent_id) - pulumi.set(__self__, "connector_type", connector_type) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "external_database_id", external_database_id) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_connection_status_last_updated", time_connection_status_last_updated) - pulumi.set(__self__, "time_created", time_created) + GetExternalDatabaseConnectorsExternalDatabaseConnectorResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + connection_credentials=connection_credentials, + connection_status=connection_status, + connection_strings=connection_strings, + connector_agent_id=connector_agent_id, + connector_type=connector_type, + defined_tags=defined_tags, + display_name=display_name, + external_database_id=external_database_id, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + state=state, + time_connection_status_last_updated=time_connection_status_last_updated, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + connection_credentials: Sequence['outputs.GetExternalDatabaseConnectorsExternalDatabaseConnectorConnectionCredentialResult'], + connection_status: str, + connection_strings: Sequence['outputs.GetExternalDatabaseConnectorsExternalDatabaseConnectorConnectionStringResult'], + connector_agent_id: str, + connector_type: str, + defined_tags: Mapping[str, Any], + display_name: str, + external_database_id: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + state: str, + time_connection_status_last_updated: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("connection_credentials", connection_credentials) + _setter("connection_status", connection_status) + _setter("connection_strings", connection_strings) + _setter("connector_agent_id", connector_agent_id) + _setter("connector_type", connector_type) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("external_database_id", external_database_id) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("state", state) + _setter("time_connection_status_last_updated", time_connection_status_last_updated) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -34213,12 +42759,31 @@ def __init__(__self__, *, :param str ssl_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure [secret](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). :param str username: The username that will be used to connect to the database. """ - pulumi.set(__self__, "credential_name", credential_name) - pulumi.set(__self__, "credential_type", credential_type) - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "role", role) - pulumi.set(__self__, "ssl_secret_id", ssl_secret_id) - pulumi.set(__self__, "username", username) + GetExternalDatabaseConnectorsExternalDatabaseConnectorConnectionCredentialResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + credential_name=credential_name, + credential_type=credential_type, + password=password, + role=role, + ssl_secret_id=ssl_secret_id, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + credential_name: str, + credential_type: str, + password: str, + role: str, + ssl_secret_id: str, + username: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("credential_name", credential_name) + _setter("credential_type", credential_type) + _setter("password", password) + _setter("role", role) + _setter("ssl_secret_id", ssl_secret_id) + _setter("username", username) @property @pulumi.getter(name="credentialName") @@ -34282,10 +42847,25 @@ def __init__(__self__, *, :param str protocol: The protocol used to connect to the database. :param str service: The name of the service alias used to connect to the database. """ - pulumi.set(__self__, "hostname", hostname) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "service", service) + GetExternalDatabaseConnectorsExternalDatabaseConnectorConnectionStringResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + hostname=hostname, + port=port, + protocol=protocol, + service=service, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hostname: str, + port: int, + protocol: str, + service: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("hostname", hostname) + _setter("port", port) + _setter("protocol", protocol) + _setter("service", service) @property @pulumi.getter @@ -34326,10 +42906,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetExternalDatabaseConnectorsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -34358,9 +42951,22 @@ def __init__(__self__, *, :param str database_management_status: The status of the Database Management service. :param str license_model: The Oracle license model that applies to the external database. """ - pulumi.set(__self__, "database_management_connection_id", database_management_connection_id) - pulumi.set(__self__, "database_management_status", database_management_status) - pulumi.set(__self__, "license_model", license_model) + GetExternalNonContainerDatabaseDatabaseManagementConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + database_management_connection_id=database_management_connection_id, + database_management_status=database_management_status, + license_model=license_model, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + database_management_connection_id: str, + database_management_status: str, + license_model: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("database_management_connection_id", database_management_connection_id) + _setter("database_management_status", database_management_status) + _setter("license_model", license_model) @property @pulumi.getter(name="databaseManagementConnectionId") @@ -34396,8 +43002,19 @@ def __init__(__self__, *, :param str operations_insights_connector_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the [external database connector](https://docs.cloud.oracle.com/iaas/api/#/en/database/latest/datatypes/CreateExternalDatabaseConnectorDetails). :param str operations_insights_status: The status of Operations Insights """ - pulumi.set(__self__, "operations_insights_connector_id", operations_insights_connector_id) - pulumi.set(__self__, "operations_insights_status", operations_insights_status) + GetExternalNonContainerDatabaseOperationsInsightsConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + operations_insights_connector_id=operations_insights_connector_id, + operations_insights_status=operations_insights_status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + operations_insights_connector_id: str, + operations_insights_status: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("operations_insights_connector_id", operations_insights_connector_id) + _setter("operations_insights_status", operations_insights_status) @property @pulumi.getter(name="operationsInsightsConnectorId") @@ -34425,8 +43042,19 @@ def __init__(__self__, *, :param str stack_monitoring_connector_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the [external database connector](https://docs.cloud.oracle.com/iaas/api/#/en/database/latest/datatypes/CreateExternalDatabaseConnectorDetails). :param str stack_monitoring_status: The status of Stack Monitoring. """ - pulumi.set(__self__, "stack_monitoring_connector_id", stack_monitoring_connector_id) - pulumi.set(__self__, "stack_monitoring_status", stack_monitoring_status) + GetExternalNonContainerDatabaseStackMonitoringConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + stack_monitoring_connector_id=stack_monitoring_connector_id, + stack_monitoring_status=stack_monitoring_status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + stack_monitoring_connector_id: str, + stack_monitoring_status: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("stack_monitoring_connector_id", stack_monitoring_connector_id) + _setter("stack_monitoring_status", stack_monitoring_status) @property @pulumi.getter(name="stackMonitoringConnectorId") @@ -34490,26 +43118,73 @@ def __init__(__self__, *, :param str time_created: The date and time the database was created. :param str time_zone: The time zone of the external database. It is a time zone offset (a character type in the format '[+|-]TZH:TZM') or a time zone region name, depending on how the time zone value was specified when the database was created / last altered. """ - pulumi.set(__self__, "character_set", character_set) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "database_configuration", database_configuration) - pulumi.set(__self__, "database_edition", database_edition) - pulumi.set(__self__, "database_management_configs", database_management_configs) - pulumi.set(__self__, "database_version", database_version) - pulumi.set(__self__, "db_id", db_id) - pulumi.set(__self__, "db_packs", db_packs) - pulumi.set(__self__, "db_unique_name", db_unique_name) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "ncharacter_set", ncharacter_set) - pulumi.set(__self__, "operations_insights_configs", operations_insights_configs) - pulumi.set(__self__, "stack_monitoring_configs", stack_monitoring_configs) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_zone", time_zone) + GetExternalNonContainerDatabasesExternalNonContainerDatabaseResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + character_set=character_set, + compartment_id=compartment_id, + database_configuration=database_configuration, + database_edition=database_edition, + database_management_configs=database_management_configs, + database_version=database_version, + db_id=db_id, + db_packs=db_packs, + db_unique_name=db_unique_name, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + ncharacter_set=ncharacter_set, + operations_insights_configs=operations_insights_configs, + stack_monitoring_configs=stack_monitoring_configs, + state=state, + time_created=time_created, + time_zone=time_zone, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + character_set: str, + compartment_id: str, + database_configuration: str, + database_edition: str, + database_management_configs: Sequence['outputs.GetExternalNonContainerDatabasesExternalNonContainerDatabaseDatabaseManagementConfigResult'], + database_version: str, + db_id: str, + db_packs: str, + db_unique_name: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + ncharacter_set: str, + operations_insights_configs: Sequence['outputs.GetExternalNonContainerDatabasesExternalNonContainerDatabaseOperationsInsightsConfigResult'], + stack_monitoring_configs: Sequence['outputs.GetExternalNonContainerDatabasesExternalNonContainerDatabaseStackMonitoringConfigResult'], + state: str, + time_created: str, + time_zone: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("character_set", character_set) + _setter("compartment_id", compartment_id) + _setter("database_configuration", database_configuration) + _setter("database_edition", database_edition) + _setter("database_management_configs", database_management_configs) + _setter("database_version", database_version) + _setter("db_id", db_id) + _setter("db_packs", db_packs) + _setter("db_unique_name", db_unique_name) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("ncharacter_set", ncharacter_set) + _setter("operations_insights_configs", operations_insights_configs) + _setter("stack_monitoring_configs", stack_monitoring_configs) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_zone", time_zone) @property @pulumi.getter(name="characterSet") @@ -34683,9 +43358,22 @@ def __init__(__self__, *, :param str database_management_status: The status of the Database Management service. :param str license_model: The Oracle license model that applies to the external database. """ - pulumi.set(__self__, "database_management_connection_id", database_management_connection_id) - pulumi.set(__self__, "database_management_status", database_management_status) - pulumi.set(__self__, "license_model", license_model) + GetExternalNonContainerDatabasesExternalNonContainerDatabaseDatabaseManagementConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + database_management_connection_id=database_management_connection_id, + database_management_status=database_management_status, + license_model=license_model, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + database_management_connection_id: str, + database_management_status: str, + license_model: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("database_management_connection_id", database_management_connection_id) + _setter("database_management_status", database_management_status) + _setter("license_model", license_model) @property @pulumi.getter(name="databaseManagementConnectionId") @@ -34721,8 +43409,19 @@ def __init__(__self__, *, :param str operations_insights_connector_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the [external database connector](https://docs.cloud.oracle.com/iaas/api/#/en/database/latest/datatypes/CreateExternalDatabaseConnectorDetails). :param str operations_insights_status: The status of Operations Insights """ - pulumi.set(__self__, "operations_insights_connector_id", operations_insights_connector_id) - pulumi.set(__self__, "operations_insights_status", operations_insights_status) + GetExternalNonContainerDatabasesExternalNonContainerDatabaseOperationsInsightsConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + operations_insights_connector_id=operations_insights_connector_id, + operations_insights_status=operations_insights_status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + operations_insights_connector_id: str, + operations_insights_status: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("operations_insights_connector_id", operations_insights_connector_id) + _setter("operations_insights_status", operations_insights_status) @property @pulumi.getter(name="operationsInsightsConnectorId") @@ -34750,8 +43449,19 @@ def __init__(__self__, *, :param str stack_monitoring_connector_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the [external database connector](https://docs.cloud.oracle.com/iaas/api/#/en/database/latest/datatypes/CreateExternalDatabaseConnectorDetails). :param str stack_monitoring_status: The status of Stack Monitoring. """ - pulumi.set(__self__, "stack_monitoring_connector_id", stack_monitoring_connector_id) - pulumi.set(__self__, "stack_monitoring_status", stack_monitoring_status) + GetExternalNonContainerDatabasesExternalNonContainerDatabaseStackMonitoringConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + stack_monitoring_connector_id=stack_monitoring_connector_id, + stack_monitoring_status=stack_monitoring_status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + stack_monitoring_connector_id: str, + stack_monitoring_status: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("stack_monitoring_connector_id", stack_monitoring_connector_id) + _setter("stack_monitoring_status", stack_monitoring_status) @property @pulumi.getter(name="stackMonitoringConnectorId") @@ -34776,10 +43486,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetExternalNonContainerDatabasesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -34808,9 +43531,22 @@ def __init__(__self__, *, :param str database_management_status: The status of the Database Management service. :param str license_model: The Oracle license model that applies to the external database. """ - pulumi.set(__self__, "database_management_connection_id", database_management_connection_id) - pulumi.set(__self__, "database_management_status", database_management_status) - pulumi.set(__self__, "license_model", license_model) + GetExternalPluggableDatabaseDatabaseManagementConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + database_management_connection_id=database_management_connection_id, + database_management_status=database_management_status, + license_model=license_model, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + database_management_connection_id: str, + database_management_status: str, + license_model: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("database_management_connection_id", database_management_connection_id) + _setter("database_management_status", database_management_status) + _setter("license_model", license_model) @property @pulumi.getter(name="databaseManagementConnectionId") @@ -34846,8 +43582,19 @@ def __init__(__self__, *, :param str operations_insights_connector_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the [external database connector](https://docs.cloud.oracle.com/iaas/api/#/en/database/latest/datatypes/CreateExternalDatabaseConnectorDetails). :param str operations_insights_status: The status of Operations Insights """ - pulumi.set(__self__, "operations_insights_connector_id", operations_insights_connector_id) - pulumi.set(__self__, "operations_insights_status", operations_insights_status) + GetExternalPluggableDatabaseOperationsInsightsConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + operations_insights_connector_id=operations_insights_connector_id, + operations_insights_status=operations_insights_status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + operations_insights_connector_id: str, + operations_insights_status: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("operations_insights_connector_id", operations_insights_connector_id) + _setter("operations_insights_status", operations_insights_status) @property @pulumi.getter(name="operationsInsightsConnectorId") @@ -34875,8 +43622,19 @@ def __init__(__self__, *, :param str stack_monitoring_connector_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the [external database connector](https://docs.cloud.oracle.com/iaas/api/#/en/database/latest/datatypes/CreateExternalDatabaseConnectorDetails). :param str stack_monitoring_status: The status of Stack Monitoring. """ - pulumi.set(__self__, "stack_monitoring_connector_id", stack_monitoring_connector_id) - pulumi.set(__self__, "stack_monitoring_status", stack_monitoring_status) + GetExternalPluggableDatabaseStackMonitoringConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + stack_monitoring_connector_id=stack_monitoring_connector_id, + stack_monitoring_status=stack_monitoring_status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + stack_monitoring_connector_id: str, + stack_monitoring_status: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("stack_monitoring_connector_id", stack_monitoring_connector_id) + _setter("stack_monitoring_status", stack_monitoring_status) @property @pulumi.getter(name="stackMonitoringConnectorId") @@ -34944,28 +43702,79 @@ def __init__(__self__, *, :param str time_created: The date and time the database was created. :param str time_zone: The time zone of the external database. It is a time zone offset (a character type in the format '[+|-]TZH:TZM') or a time zone region name, depending on how the time zone value was specified when the database was created / last altered. """ - pulumi.set(__self__, "character_set", character_set) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "database_configuration", database_configuration) - pulumi.set(__self__, "database_edition", database_edition) - pulumi.set(__self__, "database_management_configs", database_management_configs) - pulumi.set(__self__, "database_version", database_version) - pulumi.set(__self__, "db_id", db_id) - pulumi.set(__self__, "db_packs", db_packs) - pulumi.set(__self__, "db_unique_name", db_unique_name) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "external_container_database_id", external_container_database_id) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "ncharacter_set", ncharacter_set) - pulumi.set(__self__, "operations_insights_configs", operations_insights_configs) - pulumi.set(__self__, "source_id", source_id) - pulumi.set(__self__, "stack_monitoring_configs", stack_monitoring_configs) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_zone", time_zone) + GetExternalPluggableDatabasesExternalPluggableDatabaseResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + character_set=character_set, + compartment_id=compartment_id, + database_configuration=database_configuration, + database_edition=database_edition, + database_management_configs=database_management_configs, + database_version=database_version, + db_id=db_id, + db_packs=db_packs, + db_unique_name=db_unique_name, + defined_tags=defined_tags, + display_name=display_name, + external_container_database_id=external_container_database_id, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + ncharacter_set=ncharacter_set, + operations_insights_configs=operations_insights_configs, + source_id=source_id, + stack_monitoring_configs=stack_monitoring_configs, + state=state, + time_created=time_created, + time_zone=time_zone, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + character_set: str, + compartment_id: str, + database_configuration: str, + database_edition: str, + database_management_configs: Sequence['outputs.GetExternalPluggableDatabasesExternalPluggableDatabaseDatabaseManagementConfigResult'], + database_version: str, + db_id: str, + db_packs: str, + db_unique_name: str, + defined_tags: Mapping[str, Any], + display_name: str, + external_container_database_id: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + ncharacter_set: str, + operations_insights_configs: Sequence['outputs.GetExternalPluggableDatabasesExternalPluggableDatabaseOperationsInsightsConfigResult'], + source_id: str, + stack_monitoring_configs: Sequence['outputs.GetExternalPluggableDatabasesExternalPluggableDatabaseStackMonitoringConfigResult'], + state: str, + time_created: str, + time_zone: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("character_set", character_set) + _setter("compartment_id", compartment_id) + _setter("database_configuration", database_configuration) + _setter("database_edition", database_edition) + _setter("database_management_configs", database_management_configs) + _setter("database_version", database_version) + _setter("db_id", db_id) + _setter("db_packs", db_packs) + _setter("db_unique_name", db_unique_name) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("external_container_database_id", external_container_database_id) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("ncharacter_set", ncharacter_set) + _setter("operations_insights_configs", operations_insights_configs) + _setter("source_id", source_id) + _setter("stack_monitoring_configs", stack_monitoring_configs) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_zone", time_zone) @property @pulumi.getter(name="characterSet") @@ -35155,9 +43964,22 @@ def __init__(__self__, *, :param str database_management_status: The status of the Database Management service. :param str license_model: The Oracle license model that applies to the external database. """ - pulumi.set(__self__, "database_management_connection_id", database_management_connection_id) - pulumi.set(__self__, "database_management_status", database_management_status) - pulumi.set(__self__, "license_model", license_model) + GetExternalPluggableDatabasesExternalPluggableDatabaseDatabaseManagementConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + database_management_connection_id=database_management_connection_id, + database_management_status=database_management_status, + license_model=license_model, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + database_management_connection_id: str, + database_management_status: str, + license_model: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("database_management_connection_id", database_management_connection_id) + _setter("database_management_status", database_management_status) + _setter("license_model", license_model) @property @pulumi.getter(name="databaseManagementConnectionId") @@ -35193,8 +44015,19 @@ def __init__(__self__, *, :param str operations_insights_connector_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the [external database connector](https://docs.cloud.oracle.com/iaas/api/#/en/database/latest/datatypes/CreateExternalDatabaseConnectorDetails). :param str operations_insights_status: The status of Operations Insights """ - pulumi.set(__self__, "operations_insights_connector_id", operations_insights_connector_id) - pulumi.set(__self__, "operations_insights_status", operations_insights_status) + GetExternalPluggableDatabasesExternalPluggableDatabaseOperationsInsightsConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + operations_insights_connector_id=operations_insights_connector_id, + operations_insights_status=operations_insights_status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + operations_insights_connector_id: str, + operations_insights_status: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("operations_insights_connector_id", operations_insights_connector_id) + _setter("operations_insights_status", operations_insights_status) @property @pulumi.getter(name="operationsInsightsConnectorId") @@ -35222,8 +44055,19 @@ def __init__(__self__, *, :param str stack_monitoring_connector_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the [external database connector](https://docs.cloud.oracle.com/iaas/api/#/en/database/latest/datatypes/CreateExternalDatabaseConnectorDetails). :param str stack_monitoring_status: The status of Stack Monitoring. """ - pulumi.set(__self__, "stack_monitoring_connector_id", stack_monitoring_connector_id) - pulumi.set(__self__, "stack_monitoring_status", stack_monitoring_status) + GetExternalPluggableDatabasesExternalPluggableDatabaseStackMonitoringConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + stack_monitoring_connector_id=stack_monitoring_connector_id, + stack_monitoring_status=stack_monitoring_status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + stack_monitoring_connector_id: str, + stack_monitoring_status: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("stack_monitoring_connector_id", stack_monitoring_connector_id) + _setter("stack_monitoring_status", stack_monitoring_status) @property @pulumi.getter(name="stackMonitoringConnectorId") @@ -35248,10 +44092,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetExternalPluggableDatabasesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -35278,10 +44135,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the entire name given. The match is not case sensitive. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetFlexComponentsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -35306,7 +44176,16 @@ def regex(self) -> Optional[bool]: class GetFlexComponentsFlexComponentCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetFlexComponentsFlexComponentCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetFlexComponentsFlexComponentCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetFlexComponentsFlexComponentCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -35327,10 +44206,25 @@ def __init__(__self__, *, :param int minimum_core_count: The minimum number of CPU cores that can be enabled on the DB Server for this Flex Component. :param str name: A filter to return only resources that match the entire name given. The match is not case sensitive. """ - pulumi.set(__self__, "available_core_count", available_core_count) - pulumi.set(__self__, "available_db_storage_in_gbs", available_db_storage_in_gbs) - pulumi.set(__self__, "minimum_core_count", minimum_core_count) - pulumi.set(__self__, "name", name) + GetFlexComponentsFlexComponentCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + available_core_count=available_core_count, + available_db_storage_in_gbs=available_db_storage_in_gbs, + minimum_core_count=minimum_core_count, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + available_core_count: int, + available_db_storage_in_gbs: int, + minimum_core_count: int, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("available_core_count", available_core_count) + _setter("available_db_storage_in_gbs", available_db_storage_in_gbs) + _setter("minimum_core_count", minimum_core_count) + _setter("name", name) @property @pulumi.getter(name="availableCoreCount") @@ -35371,10 +44265,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetGiVersionsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -35399,7 +44306,16 @@ def __init__(__self__, *, """ :param str version: A valid Oracle Grid Infrastructure (GI) software version. """ - pulumi.set(__self__, "version", version) + GetGiVersionsGiVersionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("version", version) @property @pulumi.getter @@ -35419,8 +44335,19 @@ def __init__(__self__, *, :param str db_name: The name of the database that is associated with the key store. :param str id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the key store. """ - pulumi.set(__self__, "db_name", db_name) - pulumi.set(__self__, "id", id) + GetKeyStoreAssociatedDatabaseResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_name=db_name, + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_name: str, + id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("db_name", db_name) + _setter("id", id) @property @pulumi.getter(name="dbName") @@ -35454,11 +44381,28 @@ def __init__(__self__, *, :param str type: The type of key store. :param str vault_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure [vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). """ - pulumi.set(__self__, "admin_username", admin_username) - pulumi.set(__self__, "connection_ips", connection_ips) - pulumi.set(__self__, "secret_id", secret_id) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "vault_id", vault_id) + GetKeyStoreTypeDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + admin_username=admin_username, + connection_ips=connection_ips, + secret_id=secret_id, + type=type, + vault_id=vault_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + admin_username: str, + connection_ips: Sequence[str], + secret_id: str, + type: str, + vault_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("admin_username", admin_username) + _setter("connection_ips", connection_ips) + _setter("secret_id", secret_id) + _setter("type", type) + _setter("vault_id", vault_id) @property @pulumi.getter(name="adminUsername") @@ -35507,10 +44451,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetKeyStoresFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -35553,16 +44510,43 @@ def __init__(__self__, *, :param str time_created: The date and time that the key store was created. :param Sequence['GetKeyStoresKeyStoreTypeDetailArgs'] type_details: Key store type details. """ - pulumi.set(__self__, "associated_databases", associated_databases) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "type_details", type_details) + GetKeyStoresKeyStoreResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + associated_databases=associated_databases, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + state=state, + time_created=time_created, + type_details=type_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + associated_databases: Sequence['outputs.GetKeyStoresKeyStoreAssociatedDatabaseResult'], + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + state: str, + time_created: str, + type_details: Sequence['outputs.GetKeyStoresKeyStoreTypeDetailResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("associated_databases", associated_databases) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("state", state) + _setter("time_created", time_created) + _setter("type_details", type_details) @property @pulumi.getter(name="associatedDatabases") @@ -35654,8 +44638,19 @@ def __init__(__self__, *, :param str db_name: The name of the database that is associated with the key store. :param str id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the key store. """ - pulumi.set(__self__, "db_name", db_name) - pulumi.set(__self__, "id", id) + GetKeyStoresKeyStoreAssociatedDatabaseResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_name=db_name, + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_name: str, + id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("db_name", db_name) + _setter("id", id) @property @pulumi.getter(name="dbName") @@ -35689,11 +44684,28 @@ def __init__(__self__, *, :param str type: The type of key store. :param str vault_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure [vault](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). """ - pulumi.set(__self__, "admin_username", admin_username) - pulumi.set(__self__, "connection_ips", connection_ips) - pulumi.set(__self__, "secret_id", secret_id) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "vault_id", vault_id) + GetKeyStoresKeyStoreTypeDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + admin_username=admin_username, + connection_ips=connection_ips, + secret_id=secret_id, + type=type, + vault_id=vault_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + admin_username: str, + connection_ips: Sequence[str], + secret_id: str, + type: str, + vault_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("admin_username", admin_username) + _setter("connection_ips", connection_ips) + _setter("secret_id", secret_id) + _setter("type", type) + _setter("vault_id", vault_id) @property @pulumi.getter(name="adminUsername") @@ -35749,10 +44761,25 @@ def __init__(__self__, *, :param int estimated_storage_server_patching_time: The estimated time required in minutes for storage server patching. :param int total_estimated_patching_time: The estimated total time required in minutes for all patching operations. """ - pulumi.set(__self__, "estimated_db_server_patching_time", estimated_db_server_patching_time) - pulumi.set(__self__, "estimated_network_switches_patching_time", estimated_network_switches_patching_time) - pulumi.set(__self__, "estimated_storage_server_patching_time", estimated_storage_server_patching_time) - pulumi.set(__self__, "total_estimated_patching_time", total_estimated_patching_time) + GetMaintenanceRunEstimatedPatchingTimeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + estimated_db_server_patching_time=estimated_db_server_patching_time, + estimated_network_switches_patching_time=estimated_network_switches_patching_time, + estimated_storage_server_patching_time=estimated_storage_server_patching_time, + total_estimated_patching_time=total_estimated_patching_time, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + estimated_db_server_patching_time: int, + estimated_network_switches_patching_time: int, + estimated_storage_server_patching_time: int, + total_estimated_patching_time: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("estimated_db_server_patching_time", estimated_db_server_patching_time) + _setter("estimated_network_switches_patching_time", estimated_network_switches_patching_time) + _setter("estimated_storage_server_patching_time", estimated_storage_server_patching_time) + _setter("total_estimated_patching_time", total_estimated_patching_time) @property @pulumi.getter(name="estimatedDbServerPatchingTime") @@ -35793,10 +44820,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetMaintenanceRunsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -35879,38 +44919,109 @@ def __init__(__self__, *, :param str time_scheduled: The date and time the maintenance run is scheduled to occur. :param str time_started: The date and time the maintenance run starts. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "current_custom_action_timeout_in_mins", current_custom_action_timeout_in_mins) - pulumi.set(__self__, "current_patching_component", current_patching_component) - pulumi.set(__self__, "custom_action_timeout_in_mins", custom_action_timeout_in_mins) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "estimated_component_patching_start_time", estimated_component_patching_start_time) - pulumi.set(__self__, "estimated_patching_times", estimated_patching_times) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "is_patch_now_enabled", is_patch_now_enabled) - pulumi.set(__self__, "is_resume_patching", is_resume_patching) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "maintenance_run_id", maintenance_run_id) - pulumi.set(__self__, "maintenance_subtype", maintenance_subtype) - pulumi.set(__self__, "maintenance_type", maintenance_type) - pulumi.set(__self__, "patch_failure_count", patch_failure_count) - pulumi.set(__self__, "patch_id", patch_id) - pulumi.set(__self__, "patching_end_time", patching_end_time) - pulumi.set(__self__, "patching_mode", patching_mode) - pulumi.set(__self__, "patching_start_time", patching_start_time) - pulumi.set(__self__, "patching_status", patching_status) - pulumi.set(__self__, "peer_maintenance_run_id", peer_maintenance_run_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "target_db_server_version", target_db_server_version) - pulumi.set(__self__, "target_resource_id", target_resource_id) - pulumi.set(__self__, "target_resource_type", target_resource_type) - pulumi.set(__self__, "target_storage_server_version", target_storage_server_version) - pulumi.set(__self__, "time_ended", time_ended) - pulumi.set(__self__, "time_scheduled", time_scheduled) - pulumi.set(__self__, "time_started", time_started) + GetMaintenanceRunsMaintenanceRunResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + current_custom_action_timeout_in_mins=current_custom_action_timeout_in_mins, + current_patching_component=current_patching_component, + custom_action_timeout_in_mins=custom_action_timeout_in_mins, + description=description, + display_name=display_name, + estimated_component_patching_start_time=estimated_component_patching_start_time, + estimated_patching_times=estimated_patching_times, + id=id, + is_custom_action_timeout_enabled=is_custom_action_timeout_enabled, + is_enabled=is_enabled, + is_patch_now_enabled=is_patch_now_enabled, + is_resume_patching=is_resume_patching, + lifecycle_details=lifecycle_details, + maintenance_run_id=maintenance_run_id, + maintenance_subtype=maintenance_subtype, + maintenance_type=maintenance_type, + patch_failure_count=patch_failure_count, + patch_id=patch_id, + patching_end_time=patching_end_time, + patching_mode=patching_mode, + patching_start_time=patching_start_time, + patching_status=patching_status, + peer_maintenance_run_id=peer_maintenance_run_id, + state=state, + target_db_server_version=target_db_server_version, + target_resource_id=target_resource_id, + target_resource_type=target_resource_type, + target_storage_server_version=target_storage_server_version, + time_ended=time_ended, + time_scheduled=time_scheduled, + time_started=time_started, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + current_custom_action_timeout_in_mins: int, + current_patching_component: str, + custom_action_timeout_in_mins: int, + description: str, + display_name: str, + estimated_component_patching_start_time: str, + estimated_patching_times: Sequence['outputs.GetMaintenanceRunsMaintenanceRunEstimatedPatchingTimeResult'], + id: str, + is_custom_action_timeout_enabled: bool, + is_enabled: bool, + is_patch_now_enabled: bool, + is_resume_patching: bool, + lifecycle_details: str, + maintenance_run_id: str, + maintenance_subtype: str, + maintenance_type: str, + patch_failure_count: int, + patch_id: str, + patching_end_time: str, + patching_mode: str, + patching_start_time: str, + patching_status: str, + peer_maintenance_run_id: str, + state: str, + target_db_server_version: str, + target_resource_id: str, + target_resource_type: str, + target_storage_server_version: str, + time_ended: str, + time_scheduled: str, + time_started: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("current_custom_action_timeout_in_mins", current_custom_action_timeout_in_mins) + _setter("current_patching_component", current_patching_component) + _setter("custom_action_timeout_in_mins", custom_action_timeout_in_mins) + _setter("description", description) + _setter("display_name", display_name) + _setter("estimated_component_patching_start_time", estimated_component_patching_start_time) + _setter("estimated_patching_times", estimated_patching_times) + _setter("id", id) + _setter("is_custom_action_timeout_enabled", is_custom_action_timeout_enabled) + _setter("is_enabled", is_enabled) + _setter("is_patch_now_enabled", is_patch_now_enabled) + _setter("is_resume_patching", is_resume_patching) + _setter("lifecycle_details", lifecycle_details) + _setter("maintenance_run_id", maintenance_run_id) + _setter("maintenance_subtype", maintenance_subtype) + _setter("maintenance_type", maintenance_type) + _setter("patch_failure_count", patch_failure_count) + _setter("patch_id", patch_id) + _setter("patching_end_time", patching_end_time) + _setter("patching_mode", patching_mode) + _setter("patching_start_time", patching_start_time) + _setter("patching_status", patching_status) + _setter("peer_maintenance_run_id", peer_maintenance_run_id) + _setter("state", state) + _setter("target_db_server_version", target_db_server_version) + _setter("target_resource_id", target_resource_id) + _setter("target_resource_type", target_resource_type) + _setter("target_storage_server_version", target_storage_server_version) + _setter("time_ended", time_ended) + _setter("time_scheduled", time_scheduled) + _setter("time_started", time_started) @property @pulumi.getter(name="compartmentId") @@ -36170,10 +45281,25 @@ def __init__(__self__, *, :param int estimated_storage_server_patching_time: The estimated time required in minutes for storage server patching. :param int total_estimated_patching_time: The estimated total time required in minutes for all patching operations. """ - pulumi.set(__self__, "estimated_db_server_patching_time", estimated_db_server_patching_time) - pulumi.set(__self__, "estimated_network_switches_patching_time", estimated_network_switches_patching_time) - pulumi.set(__self__, "estimated_storage_server_patching_time", estimated_storage_server_patching_time) - pulumi.set(__self__, "total_estimated_patching_time", total_estimated_patching_time) + GetMaintenanceRunsMaintenanceRunEstimatedPatchingTimeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + estimated_db_server_patching_time=estimated_db_server_patching_time, + estimated_network_switches_patching_time=estimated_network_switches_patching_time, + estimated_storage_server_patching_time=estimated_storage_server_patching_time, + total_estimated_patching_time=total_estimated_patching_time, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + estimated_db_server_patching_time: int, + estimated_network_switches_patching_time: int, + estimated_storage_server_patching_time: int, + total_estimated_patching_time: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("estimated_db_server_patching_time", estimated_db_server_patching_time) + _setter("estimated_network_switches_patching_time", estimated_network_switches_patching_time) + _setter("estimated_storage_server_patching_time", estimated_storage_server_patching_time) + _setter("total_estimated_patching_time", total_estimated_patching_time) @property @pulumi.getter(name="estimatedDbServerPatchingTime") @@ -36214,10 +45340,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagedPreferredCredentialsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -36239,7 +45378,16 @@ def regex(self) -> Optional[bool]: class GetManagedPreferredCredentialsPreferredCredentialCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetManagedPreferredCredentialsPreferredCredentialCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetManagedPreferredCredentialsPreferredCredentialCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetManagedPreferredCredentialsPreferredCredentialCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -36266,13 +45414,34 @@ def __init__(__self__, *, :param str type: The type of preferred credential. Only 'BASIC' is supported currently. :param str user_name: The user name used to connect to the database. """ - pulumi.set(__self__, "credential_name", credential_name) - pulumi.set(__self__, "is_accessible", is_accessible) - pulumi.set(__self__, "password_secret_id", password_secret_id) - pulumi.set(__self__, "role", role) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "user_name", user_name) + GetManagedPreferredCredentialsPreferredCredentialCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + credential_name=credential_name, + is_accessible=is_accessible, + password_secret_id=password_secret_id, + role=role, + status=status, + type=type, + user_name=user_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + credential_name: str, + is_accessible: bool, + password_secret_id: str, + role: str, + status: str, + type: str, + user_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("credential_name", credential_name) + _setter("is_accessible", is_accessible) + _setter("password_secret_id", password_secret_id) + _setter("role", role) + _setter("status", status) + _setter("type", type) + _setter("user_name", user_name) @property @pulumi.getter(name="credentialName") @@ -36337,10 +45506,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetOneoffPatchesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -36394,22 +45576,61 @@ def __init__(__self__, *, :param str time_of_expiration: The date and time until which the one-off patch will be available for download. :param str time_updated: The date and time one-off patch was updated. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "db_version", db_version) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "download_oneoff_patch_trigger", download_oneoff_patch_trigger) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "one_off_patches", one_off_patches) - pulumi.set(__self__, "release_update", release_update) - pulumi.set(__self__, "sha256sum", sha256sum) - pulumi.set(__self__, "size_in_kbs", size_in_kbs) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_of_expiration", time_of_expiration) - pulumi.set(__self__, "time_updated", time_updated) + GetOneoffPatchesOneoffPatchResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + db_version=db_version, + defined_tags=defined_tags, + display_name=display_name, + download_oneoff_patch_trigger=download_oneoff_patch_trigger, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + one_off_patches=one_off_patches, + release_update=release_update, + sha256sum=sha256sum, + size_in_kbs=size_in_kbs, + state=state, + time_created=time_created, + time_of_expiration=time_of_expiration, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + db_version: str, + defined_tags: Mapping[str, Any], + display_name: str, + download_oneoff_patch_trigger: int, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + one_off_patches: Sequence[str], + release_update: str, + sha256sum: str, + size_in_kbs: float, + state: str, + time_created: str, + time_of_expiration: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("db_version", db_version) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("download_oneoff_patch_trigger", download_oneoff_patch_trigger) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("one_off_patches", one_off_patches) + _setter("release_update", release_update) + _setter("sha256sum", sha256sum) + _setter("size_in_kbs", size_in_kbs) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_of_expiration", time_of_expiration) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -36548,9 +45769,22 @@ def __init__(__self__, *, :param str pdb_default: A host name-based PDB connection string. :param str pdb_ip_default: An IP-based PDB connection string. """ - pulumi.set(__self__, "all_connection_strings", all_connection_strings) - pulumi.set(__self__, "pdb_default", pdb_default) - pulumi.set(__self__, "pdb_ip_default", pdb_ip_default) + GetPluggableDatabaseConnectionStringResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + all_connection_strings=all_connection_strings, + pdb_default=pdb_default, + pdb_ip_default=pdb_ip_default, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + all_connection_strings: Mapping[str, Any], + pdb_default: str, + pdb_ip_default: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("all_connection_strings", all_connection_strings) + _setter("pdb_default", pdb_default) + _setter("pdb_ip_default", pdb_ip_default) @property @pulumi.getter(name="allConnectionStrings") @@ -36584,7 +45818,16 @@ def __init__(__self__, *, """ :param str management_status: The status of the Pluggable Database Management service. """ - pulumi.set(__self__, "management_status", management_status) + GetPluggableDatabasePluggableDatabaseManagementConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + management_status=management_status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + management_status: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("management_status", management_status) @property @pulumi.getter(name="managementStatus") @@ -36601,10 +45844,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetPluggableDatabasesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -36657,23 +45913,64 @@ def __init__(__self__, *, :param str state: A filter to return only resources that match the given lifecycle state exactly. :param str time_created: The date and time the pluggable database was created. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "connection_strings", connection_strings) - pulumi.set(__self__, "container_database_id", container_database_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_restricted", is_restricted) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "open_mode", open_mode) - pulumi.set(__self__, "pdb_admin_password", pdb_admin_password) - pulumi.set(__self__, "pdb_name", pdb_name) - pulumi.set(__self__, "pluggable_database_management_configs", pluggable_database_management_configs) - pulumi.set(__self__, "rotate_key_trigger", rotate_key_trigger) - pulumi.set(__self__, "should_pdb_admin_account_be_locked", should_pdb_admin_account_be_locked) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "tde_wallet_password", tde_wallet_password) - pulumi.set(__self__, "time_created", time_created) + GetPluggableDatabasesPluggableDatabaseResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + connection_strings=connection_strings, + container_database_id=container_database_id, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + id=id, + is_restricted=is_restricted, + lifecycle_details=lifecycle_details, + open_mode=open_mode, + pdb_admin_password=pdb_admin_password, + pdb_name=pdb_name, + pluggable_database_management_configs=pluggable_database_management_configs, + rotate_key_trigger=rotate_key_trigger, + should_pdb_admin_account_be_locked=should_pdb_admin_account_be_locked, + state=state, + tde_wallet_password=tde_wallet_password, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + connection_strings: Sequence['outputs.GetPluggableDatabasesPluggableDatabaseConnectionStringResult'], + container_database_id: str, + defined_tags: Mapping[str, Any], + freeform_tags: Mapping[str, Any], + id: str, + is_restricted: bool, + lifecycle_details: str, + open_mode: str, + pdb_admin_password: str, + pdb_name: str, + pluggable_database_management_configs: Sequence['outputs.GetPluggableDatabasesPluggableDatabasePluggableDatabaseManagementConfigResult'], + rotate_key_trigger: int, + should_pdb_admin_account_be_locked: bool, + state: str, + tde_wallet_password: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("connection_strings", connection_strings) + _setter("container_database_id", container_database_id) + _setter("defined_tags", defined_tags) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_restricted", is_restricted) + _setter("lifecycle_details", lifecycle_details) + _setter("open_mode", open_mode) + _setter("pdb_admin_password", pdb_admin_password) + _setter("pdb_name", pdb_name) + _setter("pluggable_database_management_configs", pluggable_database_management_configs) + _setter("rotate_key_trigger", rotate_key_trigger) + _setter("should_pdb_admin_account_be_locked", should_pdb_admin_account_be_locked) + _setter("state", state) + _setter("tde_wallet_password", tde_wallet_password) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -36811,9 +46108,22 @@ def __init__(__self__, *, :param str pdb_default: A host name-based PDB connection string. :param str pdb_ip_default: An IP-based PDB connection string. """ - pulumi.set(__self__, "all_connection_strings", all_connection_strings) - pulumi.set(__self__, "pdb_default", pdb_default) - pulumi.set(__self__, "pdb_ip_default", pdb_ip_default) + GetPluggableDatabasesPluggableDatabaseConnectionStringResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + all_connection_strings=all_connection_strings, + pdb_default=pdb_default, + pdb_ip_default=pdb_ip_default, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + all_connection_strings: Mapping[str, Any], + pdb_default: str, + pdb_ip_default: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("all_connection_strings", all_connection_strings) + _setter("pdb_default", pdb_default) + _setter("pdb_ip_default", pdb_ip_default) @property @pulumi.getter(name="allConnectionStrings") @@ -36847,7 +46157,16 @@ def __init__(__self__, *, """ :param str management_status: The status of the Pluggable Database Management service. """ - pulumi.set(__self__, "management_status", management_status) + GetPluggableDatabasesPluggableDatabasePluggableDatabaseManagementConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + management_status=management_status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + management_status: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("management_status", management_status) @property @pulumi.getter(name="managementStatus") @@ -36869,9 +46188,22 @@ def __init__(__self__, *, :param bool is_health_monitoring_enabled: Indicates whether health monitoring is enabled for the VM cluster / Cloud VM cluster / VMBM DBCS. Enabling health monitoring allows Oracle to collect diagnostic data and share it with its operations and support personnel. You may also receive notifications for some events. Collecting health diagnostics enables Oracle to provide proactive support and enhanced service for your system. Optionally enable health monitoring while provisioning a system. You can also disable or enable health monitoring anytime using the `UpdateVmCluster`, `UpdateCloudVmCluster` or `updateDbsystem` API. :param bool is_incident_logs_enabled: Indicates whether incident logs and trace collection are enabled for the VM cluster / Cloud VM cluster / VMBM DBCS. Enabling incident logs collection allows Oracle to receive Events service notifications for guest VM issues, collect incident logs and traces, and use them to diagnose issues and resolve them. Optionally enable incident logs collection while provisioning a system. You can also disable or enable incident logs collection anytime using the `UpdateVmCluster`, `updateCloudVmCluster` or `updateDbsystem` API. """ - pulumi.set(__self__, "is_diagnostics_events_enabled", is_diagnostics_events_enabled) - pulumi.set(__self__, "is_health_monitoring_enabled", is_health_monitoring_enabled) - pulumi.set(__self__, "is_incident_logs_enabled", is_incident_logs_enabled) + GetVmClusterDataCollectionOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_diagnostics_events_enabled=is_diagnostics_events_enabled, + is_health_monitoring_enabled=is_health_monitoring_enabled, + is_incident_logs_enabled=is_incident_logs_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_diagnostics_events_enabled: bool, + is_health_monitoring_enabled: bool, + is_incident_logs_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_diagnostics_events_enabled", is_diagnostics_events_enabled) + _setter("is_health_monitoring_enabled", is_health_monitoring_enabled) + _setter("is_incident_logs_enabled", is_incident_logs_enabled) @property @pulumi.getter(name="isDiagnosticsEventsEnabled") @@ -36909,9 +46241,22 @@ def __init__(__self__, *, :param Sequence[str] ips: The list of SCAN IP addresses. Three addresses should be provided. :param int scan_listener_port_tcp: The SCAN TCPIP port. Default is 1521. """ - pulumi.set(__self__, "hostname", hostname) - pulumi.set(__self__, "ips", ips) - pulumi.set(__self__, "scan_listener_port_tcp", scan_listener_port_tcp) + GetVmClusterNetworkDrScanResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + hostname=hostname, + ips=ips, + scan_listener_port_tcp=scan_listener_port_tcp, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hostname: str, + ips: Sequence[str], + scan_listener_port_tcp: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("hostname", hostname) + _setter("ips", ips) + _setter("scan_listener_port_tcp", scan_listener_port_tcp) @property @pulumi.getter @@ -36953,11 +46298,28 @@ def __init__(__self__, *, :param int scan_listener_port_tcp: The SCAN TCPIP port. Default is 1521. :param int scan_listener_port_tcp_ssl: The SCAN TCPIP SSL port. Default is 2484. """ - pulumi.set(__self__, "hostname", hostname) - pulumi.set(__self__, "ips", ips) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "scan_listener_port_tcp", scan_listener_port_tcp) - pulumi.set(__self__, "scan_listener_port_tcp_ssl", scan_listener_port_tcp_ssl) + GetVmClusterNetworkScanResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + hostname=hostname, + ips=ips, + port=port, + scan_listener_port_tcp=scan_listener_port_tcp, + scan_listener_port_tcp_ssl=scan_listener_port_tcp_ssl, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hostname: str, + ips: Sequence[str], + port: int, + scan_listener_port_tcp: int, + scan_listener_port_tcp_ssl: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("hostname", hostname) + _setter("ips", ips) + _setter("port", port) + _setter("scan_listener_port_tcp", scan_listener_port_tcp) + _setter("scan_listener_port_tcp_ssl", scan_listener_port_tcp_ssl) @property @pulumi.getter @@ -37017,12 +46379,31 @@ def __init__(__self__, *, :param Sequence['GetVmClusterNetworkVmNetworkNodeArgs'] nodes: The list of node details. :param str vlan_id: The network VLAN ID. """ - pulumi.set(__self__, "domain_name", domain_name) - pulumi.set(__self__, "gateway", gateway) - pulumi.set(__self__, "netmask", netmask) - pulumi.set(__self__, "network_type", network_type) - pulumi.set(__self__, "nodes", nodes) - pulumi.set(__self__, "vlan_id", vlan_id) + GetVmClusterNetworkVmNetworkResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + domain_name=domain_name, + gateway=gateway, + netmask=netmask, + network_type=network_type, + nodes=nodes, + vlan_id=vlan_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + domain_name: str, + gateway: str, + netmask: str, + network_type: str, + nodes: Sequence['outputs.GetVmClusterNetworkVmNetworkNodeResult'], + vlan_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("domain_name", domain_name) + _setter("gateway", gateway) + _setter("netmask", netmask) + _setter("network_type", network_type) + _setter("nodes", nodes) + _setter("vlan_id", vlan_id) @property @pulumi.getter(name="domainName") @@ -37090,12 +46471,31 @@ def __init__(__self__, *, :param str vip: The node virtual IP (VIP) address. :param str vip_hostname: The node virtual IP (VIP) host name. """ - pulumi.set(__self__, "db_server_id", db_server_id) - pulumi.set(__self__, "hostname", hostname) - pulumi.set(__self__, "ip", ip) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "vip", vip) - pulumi.set(__self__, "vip_hostname", vip_hostname) + GetVmClusterNetworkVmNetworkNodeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_server_id=db_server_id, + hostname=hostname, + ip=ip, + state=state, + vip=vip, + vip_hostname=vip_hostname, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_server_id: str, + hostname: str, + ip: str, + state: str, + vip: str, + vip_hostname: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("db_server_id", db_server_id) + _setter("hostname", hostname) + _setter("ip", ip) + _setter("state", state) + _setter("vip", vip) + _setter("vip_hostname", vip_hostname) @property @pulumi.getter(name="dbServerId") @@ -37152,10 +46552,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVmClusterNetworksFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -37210,23 +46623,64 @@ def __init__(__self__, *, :param str vm_cluster_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated VM Cluster. :param Sequence['GetVmClusterNetworksVmClusterNetworkVmNetworkArgs'] vm_networks: Details of the client and backup networks. """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "dns", dns) - pulumi.set(__self__, "dr_scans", dr_scans) - pulumi.set(__self__, "exadata_infrastructure_id", exadata_infrastructure_id) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "ntps", ntps) - pulumi.set(__self__, "scans", scans) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "validate_vm_cluster_network", validate_vm_cluster_network) - pulumi.set(__self__, "vm_cluster_id", vm_cluster_id) - pulumi.set(__self__, "vm_networks", vm_networks) + GetVmClusterNetworksVmClusterNetworkResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + dns=dns, + dr_scans=dr_scans, + exadata_infrastructure_id=exadata_infrastructure_id, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + ntps=ntps, + scans=scans, + state=state, + time_created=time_created, + validate_vm_cluster_network=validate_vm_cluster_network, + vm_cluster_id=vm_cluster_id, + vm_networks=vm_networks, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: str, + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + dns: Sequence[str], + dr_scans: Sequence['outputs.GetVmClusterNetworksVmClusterNetworkDrScanResult'], + exadata_infrastructure_id: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + ntps: Sequence[str], + scans: Sequence['outputs.GetVmClusterNetworksVmClusterNetworkScanResult'], + state: str, + time_created: str, + validate_vm_cluster_network: bool, + vm_cluster_id: str, + vm_networks: Sequence['outputs.GetVmClusterNetworksVmClusterNetworkVmNetworkResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("dns", dns) + _setter("dr_scans", dr_scans) + _setter("exadata_infrastructure_id", exadata_infrastructure_id) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("ntps", ntps) + _setter("scans", scans) + _setter("state", state) + _setter("time_created", time_created) + _setter("validate_vm_cluster_network", validate_vm_cluster_network) + _setter("vm_cluster_id", vm_cluster_id) + _setter("vm_networks", vm_networks) @property @pulumi.getter @@ -37370,9 +46824,22 @@ def __init__(__self__, *, :param Sequence[str] ips: The list of SCAN IP addresses. Three addresses should be provided. :param int scan_listener_port_tcp: The SCAN TCPIP port. Default is 1521. """ - pulumi.set(__self__, "hostname", hostname) - pulumi.set(__self__, "ips", ips) - pulumi.set(__self__, "scan_listener_port_tcp", scan_listener_port_tcp) + GetVmClusterNetworksVmClusterNetworkDrScanResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + hostname=hostname, + ips=ips, + scan_listener_port_tcp=scan_listener_port_tcp, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hostname: str, + ips: Sequence[str], + scan_listener_port_tcp: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("hostname", hostname) + _setter("ips", ips) + _setter("scan_listener_port_tcp", scan_listener_port_tcp) @property @pulumi.getter @@ -37414,11 +46881,28 @@ def __init__(__self__, *, :param int scan_listener_port_tcp: The SCAN TCPIP port. Default is 1521. :param int scan_listener_port_tcp_ssl: The SCAN TCPIP SSL port. Default is 2484. """ - pulumi.set(__self__, "hostname", hostname) - pulumi.set(__self__, "ips", ips) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "scan_listener_port_tcp", scan_listener_port_tcp) - pulumi.set(__self__, "scan_listener_port_tcp_ssl", scan_listener_port_tcp_ssl) + GetVmClusterNetworksVmClusterNetworkScanResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + hostname=hostname, + ips=ips, + port=port, + scan_listener_port_tcp=scan_listener_port_tcp, + scan_listener_port_tcp_ssl=scan_listener_port_tcp_ssl, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hostname: str, + ips: Sequence[str], + port: int, + scan_listener_port_tcp: int, + scan_listener_port_tcp_ssl: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("hostname", hostname) + _setter("ips", ips) + _setter("port", port) + _setter("scan_listener_port_tcp", scan_listener_port_tcp) + _setter("scan_listener_port_tcp_ssl", scan_listener_port_tcp_ssl) @property @pulumi.getter @@ -37478,12 +46962,31 @@ def __init__(__self__, *, :param Sequence['GetVmClusterNetworksVmClusterNetworkVmNetworkNodeArgs'] nodes: The list of node details. :param str vlan_id: The network VLAN ID. """ - pulumi.set(__self__, "domain_name", domain_name) - pulumi.set(__self__, "gateway", gateway) - pulumi.set(__self__, "netmask", netmask) - pulumi.set(__self__, "network_type", network_type) - pulumi.set(__self__, "nodes", nodes) - pulumi.set(__self__, "vlan_id", vlan_id) + GetVmClusterNetworksVmClusterNetworkVmNetworkResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + domain_name=domain_name, + gateway=gateway, + netmask=netmask, + network_type=network_type, + nodes=nodes, + vlan_id=vlan_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + domain_name: str, + gateway: str, + netmask: str, + network_type: str, + nodes: Sequence['outputs.GetVmClusterNetworksVmClusterNetworkVmNetworkNodeResult'], + vlan_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("domain_name", domain_name) + _setter("gateway", gateway) + _setter("netmask", netmask) + _setter("network_type", network_type) + _setter("nodes", nodes) + _setter("vlan_id", vlan_id) @property @pulumi.getter(name="domainName") @@ -37551,12 +47054,31 @@ def __init__(__self__, *, :param str vip: The node virtual IP (VIP) address. :param str vip_hostname: The node virtual IP (VIP) host name. """ - pulumi.set(__self__, "db_server_id", db_server_id) - pulumi.set(__self__, "hostname", hostname) - pulumi.set(__self__, "ip", ip) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "vip", vip) - pulumi.set(__self__, "vip_hostname", vip_hostname) + GetVmClusterNetworksVmClusterNetworkVmNetworkNodeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_server_id=db_server_id, + hostname=hostname, + ip=ip, + state=state, + vip=vip, + vip_hostname=vip_hostname, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_server_id: str, + hostname: str, + ip: str, + state: str, + vip: str, + vip_hostname: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("db_server_id", db_server_id) + _setter("hostname", hostname) + _setter("ip", ip) + _setter("state", state) + _setter("vip", vip) + _setter("vip_hostname", vip_hostname) @property @pulumi.getter(name="dbServerId") @@ -37613,10 +47135,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVmClusterPatchHistoryEntriesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -37653,13 +47188,34 @@ def __init__(__self__, *, :param str time_ended: The date and time when the patch action completed :param str time_started: The date and time when the patch action started. """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "patch_id", patch_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_ended", time_ended) - pulumi.set(__self__, "time_started", time_started) + GetVmClusterPatchHistoryEntriesPatchHistoryEntryResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + id=id, + lifecycle_details=lifecycle_details, + patch_id=patch_id, + state=state, + time_ended=time_ended, + time_started=time_started, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: str, + id: str, + lifecycle_details: str, + patch_id: str, + state: str, + time_ended: str, + time_started: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("patch_id", patch_id) + _setter("state", state) + _setter("time_ended", time_ended) + _setter("time_started", time_started) @property @pulumi.getter @@ -37724,10 +47280,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVmClusterPatchesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -37766,14 +47335,37 @@ def __init__(__self__, *, :param str time_released: The date and time that the patch was released. :param str version: The version of this patch package. """ - pulumi.set(__self__, "available_actions", available_actions) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "last_action", last_action) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_released", time_released) - pulumi.set(__self__, "version", version) + GetVmClusterPatchesPatchResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + available_actions=available_actions, + description=description, + id=id, + last_action=last_action, + lifecycle_details=lifecycle_details, + state=state, + time_released=time_released, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + available_actions: Sequence[str], + description: str, + id: str, + last_action: str, + lifecycle_details: str, + state: str, + time_released: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("available_actions", available_actions) + _setter("description", description) + _setter("id", id) + _setter("last_action", last_action) + _setter("lifecycle_details", lifecycle_details) + _setter("state", state) + _setter("time_released", time_released) + _setter("version", version) @property @pulumi.getter(name="availableActions") @@ -37851,9 +47443,22 @@ def __init__(__self__, *, :param Sequence[str] ips: The list of SCAN IP addresses. Three addresses should be provided. :param int scan_listener_port_tcp: The SCAN TCPIP port. Default is 1521. """ - pulumi.set(__self__, "hostname", hostname) - pulumi.set(__self__, "ips", ips) - pulumi.set(__self__, "scan_listener_port_tcp", scan_listener_port_tcp) + GetVmClusterRecommendedNetworkDrScanResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + hostname=hostname, + ips=ips, + scan_listener_port_tcp=scan_listener_port_tcp, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hostname: str, + ips: Sequence[str], + scan_listener_port_tcp: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("hostname", hostname) + _setter("ips", ips) + _setter("scan_listener_port_tcp", scan_listener_port_tcp) @property @pulumi.getter @@ -37899,13 +47504,34 @@ def __init__(__self__, *, :param str prefix: The network domain name. :param str vlan_id: The network VLAN ID. """ - pulumi.set(__self__, "cidr", cidr) - pulumi.set(__self__, "domain", domain) - pulumi.set(__self__, "gateway", gateway) - pulumi.set(__self__, "netmask", netmask) - pulumi.set(__self__, "network_type", network_type) - pulumi.set(__self__, "prefix", prefix) - pulumi.set(__self__, "vlan_id", vlan_id) + GetVmClusterRecommendedNetworkNetworkResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cidr=cidr, + domain=domain, + gateway=gateway, + netmask=netmask, + network_type=network_type, + prefix=prefix, + vlan_id=vlan_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cidr: str, + domain: str, + gateway: str, + netmask: str, + network_type: str, + prefix: str, + vlan_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cidr", cidr) + _setter("domain", domain) + _setter("gateway", gateway) + _setter("netmask", netmask) + _setter("network_type", network_type) + _setter("prefix", prefix) + _setter("vlan_id", vlan_id) @property @pulumi.getter @@ -37979,11 +47605,28 @@ def __init__(__self__, *, :param int scan_listener_port_tcp: The SCAN TCPIP port. Default is 1521. :param int scan_listener_port_tcp_ssl: The SCAN TCPIP SSL port. Default is 2484. """ - pulumi.set(__self__, "hostname", hostname) - pulumi.set(__self__, "ips", ips) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "scan_listener_port_tcp", scan_listener_port_tcp) - pulumi.set(__self__, "scan_listener_port_tcp_ssl", scan_listener_port_tcp_ssl) + GetVmClusterRecommendedNetworkScanResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + hostname=hostname, + ips=ips, + port=port, + scan_listener_port_tcp=scan_listener_port_tcp, + scan_listener_port_tcp_ssl=scan_listener_port_tcp_ssl, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hostname: str, + ips: Sequence[str], + port: int, + scan_listener_port_tcp: int, + scan_listener_port_tcp_ssl: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("hostname", hostname) + _setter("ips", ips) + _setter("port", port) + _setter("scan_listener_port_tcp", scan_listener_port_tcp) + _setter("scan_listener_port_tcp_ssl", scan_listener_port_tcp_ssl) @property @pulumi.getter @@ -38043,12 +47686,31 @@ def __init__(__self__, *, :param Sequence['GetVmClusterRecommendedNetworkVmNetworkNodeArgs'] nodes: The list of node details. :param str vlan_id: The network VLAN ID. """ - pulumi.set(__self__, "domain_name", domain_name) - pulumi.set(__self__, "gateway", gateway) - pulumi.set(__self__, "netmask", netmask) - pulumi.set(__self__, "network_type", network_type) - pulumi.set(__self__, "nodes", nodes) - pulumi.set(__self__, "vlan_id", vlan_id) + GetVmClusterRecommendedNetworkVmNetworkResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + domain_name=domain_name, + gateway=gateway, + netmask=netmask, + network_type=network_type, + nodes=nodes, + vlan_id=vlan_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + domain_name: str, + gateway: str, + netmask: str, + network_type: str, + nodes: Sequence['outputs.GetVmClusterRecommendedNetworkVmNetworkNodeResult'], + vlan_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("domain_name", domain_name) + _setter("gateway", gateway) + _setter("netmask", netmask) + _setter("network_type", network_type) + _setter("nodes", nodes) + _setter("vlan_id", vlan_id) @property @pulumi.getter(name="domainName") @@ -38116,12 +47778,31 @@ def __init__(__self__, *, :param str vip: The node virtual IP (VIP) address. :param str vip_hostname: The node virtual IP (VIP) host name. """ - pulumi.set(__self__, "db_server_id", db_server_id) - pulumi.set(__self__, "hostname", hostname) - pulumi.set(__self__, "ip", ip) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "vip", vip) - pulumi.set(__self__, "vip_hostname", vip_hostname) + GetVmClusterRecommendedNetworkVmNetworkNodeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_server_id=db_server_id, + hostname=hostname, + ip=ip, + state=state, + vip=vip, + vip_hostname=vip_hostname, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_server_id: str, + hostname: str, + ip: str, + state: str, + vip: str, + vip_hostname: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("db_server_id", db_server_id) + _setter("hostname", hostname) + _setter("ip", ip) + _setter("state", state) + _setter("vip", vip) + _setter("vip_hostname", vip_hostname) @property @pulumi.getter(name="dbServerId") @@ -38178,10 +47859,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVmClusterUpdateHistoryEntriesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -38220,14 +47914,37 @@ def __init__(__self__, *, :param str update_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the maintenance update. :param str update_type: A filter to return only resources that match the given update type exactly. """ - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_completed", time_completed) - pulumi.set(__self__, "time_started", time_started) - pulumi.set(__self__, "update_action", update_action) - pulumi.set(__self__, "update_id", update_id) - pulumi.set(__self__, "update_type", update_type) + GetVmClusterUpdateHistoryEntriesVmClusterUpdateHistoryEntryResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + lifecycle_details=lifecycle_details, + state=state, + time_completed=time_completed, + time_started=time_started, + update_action=update_action, + update_id=update_id, + update_type=update_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: str, + lifecycle_details: str, + state: str, + time_completed: str, + time_started: str, + update_action: str, + update_id: str, + update_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("state", state) + _setter("time_completed", time_completed) + _setter("time_started", time_started) + _setter("update_action", update_action) + _setter("update_id", update_id) + _setter("update_type", update_type) @property @pulumi.getter @@ -38300,10 +48017,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVmClusterUpdatesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -38344,15 +48074,40 @@ def __init__(__self__, *, :param str update_type: A filter to return only resources that match the given update type exactly. :param str version: The version of the maintenance update package. """ - pulumi.set(__self__, "available_actions", available_actions) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "last_action", last_action) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_released", time_released) - pulumi.set(__self__, "update_type", update_type) - pulumi.set(__self__, "version", version) + GetVmClusterUpdatesVmClusterUpdateResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + available_actions=available_actions, + description=description, + id=id, + last_action=last_action, + lifecycle_details=lifecycle_details, + state=state, + time_released=time_released, + update_type=update_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + available_actions: Sequence[str], + description: str, + id: str, + last_action: str, + lifecycle_details: str, + state: str, + time_released: str, + update_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("available_actions", available_actions) + _setter("description", description) + _setter("id", id) + _setter("last_action", last_action) + _setter("lifecycle_details", lifecycle_details) + _setter("state", state) + _setter("time_released", time_released) + _setter("update_type", update_type) + _setter("version", version) @property @pulumi.getter(name="availableActions") @@ -38433,10 +48188,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVmClustersFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -38516,36 +48284,103 @@ def __init__(__self__, *, :param str time_zone: The time zone of the Exadata infrastructure. For details, see [Exadata Infrastructure Time Zones](https://docs.cloud.oracle.com/iaas/Content/Database/References/timezones.htm). :param str vm_cluster_network_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM cluster network. """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "cpu_core_count", cpu_core_count) - pulumi.set(__self__, "cpus_enabled", cpus_enabled) - pulumi.set(__self__, "data_collection_options", data_collection_options) - pulumi.set(__self__, "data_storage_size_in_gb", data_storage_size_in_gb) - pulumi.set(__self__, "data_storage_size_in_tbs", data_storage_size_in_tbs) - pulumi.set(__self__, "db_node_storage_size_in_gbs", db_node_storage_size_in_gbs) - pulumi.set(__self__, "db_servers", db_servers) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "exadata_infrastructure_id", exadata_infrastructure_id) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "gi_version", gi_version) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_local_backup_enabled", is_local_backup_enabled) - pulumi.set(__self__, "is_sparse_diskgroup_enabled", is_sparse_diskgroup_enabled) - pulumi.set(__self__, "last_patch_history_entry_id", last_patch_history_entry_id) - pulumi.set(__self__, "license_model", license_model) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "memory_size_in_gbs", memory_size_in_gbs) - pulumi.set(__self__, "ocpu_count", ocpu_count) - pulumi.set(__self__, "ocpus_enabled", ocpus_enabled) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "ssh_public_keys", ssh_public_keys) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_version", system_version) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_zone", time_zone) - pulumi.set(__self__, "vm_cluster_network_id", vm_cluster_network_id) + GetVmClustersVmClusterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + compartment_id=compartment_id, + cpu_core_count=cpu_core_count, + cpus_enabled=cpus_enabled, + data_collection_options=data_collection_options, + data_storage_size_in_gb=data_storage_size_in_gb, + data_storage_size_in_tbs=data_storage_size_in_tbs, + db_node_storage_size_in_gbs=db_node_storage_size_in_gbs, + db_servers=db_servers, + defined_tags=defined_tags, + display_name=display_name, + exadata_infrastructure_id=exadata_infrastructure_id, + freeform_tags=freeform_tags, + gi_version=gi_version, + id=id, + is_local_backup_enabled=is_local_backup_enabled, + is_sparse_diskgroup_enabled=is_sparse_diskgroup_enabled, + last_patch_history_entry_id=last_patch_history_entry_id, + license_model=license_model, + lifecycle_details=lifecycle_details, + memory_size_in_gbs=memory_size_in_gbs, + ocpu_count=ocpu_count, + ocpus_enabled=ocpus_enabled, + shape=shape, + ssh_public_keys=ssh_public_keys, + state=state, + system_version=system_version, + time_created=time_created, + time_zone=time_zone, + vm_cluster_network_id=vm_cluster_network_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + compartment_id: str, + cpu_core_count: int, + cpus_enabled: int, + data_collection_options: Sequence['outputs.GetVmClustersVmClusterDataCollectionOptionResult'], + data_storage_size_in_gb: float, + data_storage_size_in_tbs: float, + db_node_storage_size_in_gbs: int, + db_servers: Sequence[str], + defined_tags: Mapping[str, Any], + display_name: str, + exadata_infrastructure_id: str, + freeform_tags: Mapping[str, Any], + gi_version: str, + id: str, + is_local_backup_enabled: bool, + is_sparse_diskgroup_enabled: bool, + last_patch_history_entry_id: str, + license_model: str, + lifecycle_details: str, + memory_size_in_gbs: int, + ocpu_count: float, + ocpus_enabled: float, + shape: str, + ssh_public_keys: Sequence[str], + state: str, + system_version: str, + time_created: str, + time_zone: str, + vm_cluster_network_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("compartment_id", compartment_id) + _setter("cpu_core_count", cpu_core_count) + _setter("cpus_enabled", cpus_enabled) + _setter("data_collection_options", data_collection_options) + _setter("data_storage_size_in_gb", data_storage_size_in_gb) + _setter("data_storage_size_in_tbs", data_storage_size_in_tbs) + _setter("db_node_storage_size_in_gbs", db_node_storage_size_in_gbs) + _setter("db_servers", db_servers) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("exadata_infrastructure_id", exadata_infrastructure_id) + _setter("freeform_tags", freeform_tags) + _setter("gi_version", gi_version) + _setter("id", id) + _setter("is_local_backup_enabled", is_local_backup_enabled) + _setter("is_sparse_diskgroup_enabled", is_sparse_diskgroup_enabled) + _setter("last_patch_history_entry_id", last_patch_history_entry_id) + _setter("license_model", license_model) + _setter("lifecycle_details", lifecycle_details) + _setter("memory_size_in_gbs", memory_size_in_gbs) + _setter("ocpu_count", ocpu_count) + _setter("ocpus_enabled", ocpus_enabled) + _setter("shape", shape) + _setter("ssh_public_keys", ssh_public_keys) + _setter("state", state) + _setter("system_version", system_version) + _setter("time_created", time_created) + _setter("time_zone", time_zone) + _setter("vm_cluster_network_id", vm_cluster_network_id) @property @pulumi.getter(name="availabilityDomain") @@ -38790,9 +48625,22 @@ def __init__(__self__, *, :param bool is_health_monitoring_enabled: Indicates whether health monitoring is enabled for the VM cluster / Cloud VM cluster / VMBM DBCS. Enabling health monitoring allows Oracle to collect diagnostic data and share it with its operations and support personnel. You may also receive notifications for some events. Collecting health diagnostics enables Oracle to provide proactive support and enhanced service for your system. Optionally enable health monitoring while provisioning a system. You can also disable or enable health monitoring anytime using the `UpdateVmCluster`, `UpdateCloudVmCluster` or `updateDbsystem` API. :param bool is_incident_logs_enabled: Indicates whether incident logs and trace collection are enabled for the VM cluster / Cloud VM cluster / VMBM DBCS. Enabling incident logs collection allows Oracle to receive Events service notifications for guest VM issues, collect incident logs and traces, and use them to diagnose issues and resolve them. Optionally enable incident logs collection while provisioning a system. You can also disable or enable incident logs collection anytime using the `UpdateVmCluster`, `updateCloudVmCluster` or `updateDbsystem` API. """ - pulumi.set(__self__, "is_diagnostics_events_enabled", is_diagnostics_events_enabled) - pulumi.set(__self__, "is_health_monitoring_enabled", is_health_monitoring_enabled) - pulumi.set(__self__, "is_incident_logs_enabled", is_incident_logs_enabled) + GetVmClustersVmClusterDataCollectionOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_diagnostics_events_enabled=is_diagnostics_events_enabled, + is_health_monitoring_enabled=is_health_monitoring_enabled, + is_incident_logs_enabled=is_incident_logs_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_diagnostics_events_enabled: bool, + is_health_monitoring_enabled: bool, + is_incident_logs_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_diagnostics_events_enabled", is_diagnostics_events_enabled) + _setter("is_health_monitoring_enabled", is_health_monitoring_enabled) + _setter("is_incident_logs_enabled", is_incident_logs_enabled) @property @pulumi.getter(name="isDiagnosticsEventsEnabled") diff --git a/sdk/python/pulumi_oci/database/pluggable_database.py b/sdk/python/pulumi_oci/database/pluggable_database.py index 78693b076f..ec6285be6d 100644 --- a/sdk/python/pulumi_oci/database/pluggable_database.py +++ b/sdk/python/pulumi_oci/database/pluggable_database.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -39,20 +39,43 @@ def __init__(__self__, *, :param pulumi.Input[bool] should_pdb_admin_account_be_locked: The locked mode of the pluggable database admin account. If false, the user needs to provide the PDB Admin Password to connect to it. If true, the pluggable database will be locked and user cannot login to it. :param pulumi.Input[str] tde_wallet_password: The existing TDE wallet password of the CDB. """ - pulumi.set(__self__, "container_database_id", container_database_id) - pulumi.set(__self__, "pdb_name", pdb_name) + PluggableDatabaseArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + container_database_id=container_database_id, + pdb_name=pdb_name, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + pdb_admin_password=pdb_admin_password, + rotate_key_trigger=rotate_key_trigger, + should_pdb_admin_account_be_locked=should_pdb_admin_account_be_locked, + tde_wallet_password=tde_wallet_password, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + container_database_id: pulumi.Input[str], + pdb_name: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + pdb_admin_password: Optional[pulumi.Input[str]] = None, + rotate_key_trigger: Optional[pulumi.Input[int]] = None, + should_pdb_admin_account_be_locked: Optional[pulumi.Input[bool]] = None, + tde_wallet_password: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("container_database_id", container_database_id) + _setter("pdb_name", pdb_name) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if pdb_admin_password is not None: - pulumi.set(__self__, "pdb_admin_password", pdb_admin_password) + _setter("pdb_admin_password", pdb_admin_password) if rotate_key_trigger is not None: - pulumi.set(__self__, "rotate_key_trigger", rotate_key_trigger) + _setter("rotate_key_trigger", rotate_key_trigger) if should_pdb_admin_account_be_locked is not None: - pulumi.set(__self__, "should_pdb_admin_account_be_locked", should_pdb_admin_account_be_locked) + _setter("should_pdb_admin_account_be_locked", should_pdb_admin_account_be_locked) if tde_wallet_password is not None: - pulumi.set(__self__, "tde_wallet_password", tde_wallet_password) + _setter("tde_wallet_password", tde_wallet_password) @property @pulumi.getter(name="containerDatabaseId") @@ -197,38 +220,77 @@ def __init__(__self__, *, :param pulumi.Input[str] tde_wallet_password: The existing TDE wallet password of the CDB. :param pulumi.Input[str] time_created: The date and time the pluggable database was created. """ + _PluggableDatabaseState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + connection_strings=connection_strings, + container_database_id=container_database_id, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + is_restricted=is_restricted, + lifecycle_details=lifecycle_details, + open_mode=open_mode, + pdb_admin_password=pdb_admin_password, + pdb_name=pdb_name, + pluggable_database_management_configs=pluggable_database_management_configs, + rotate_key_trigger=rotate_key_trigger, + should_pdb_admin_account_be_locked=should_pdb_admin_account_be_locked, + state=state, + tde_wallet_password=tde_wallet_password, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + connection_strings: Optional[pulumi.Input[Sequence[pulumi.Input['PluggableDatabaseConnectionStringArgs']]]] = None, + container_database_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_restricted: Optional[pulumi.Input[bool]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + open_mode: Optional[pulumi.Input[str]] = None, + pdb_admin_password: Optional[pulumi.Input[str]] = None, + pdb_name: Optional[pulumi.Input[str]] = None, + pluggable_database_management_configs: Optional[pulumi.Input[Sequence[pulumi.Input['PluggableDatabasePluggableDatabaseManagementConfigArgs']]]] = None, + rotate_key_trigger: Optional[pulumi.Input[int]] = None, + should_pdb_admin_account_be_locked: Optional[pulumi.Input[bool]] = None, + state: Optional[pulumi.Input[str]] = None, + tde_wallet_password: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if connection_strings is not None: - pulumi.set(__self__, "connection_strings", connection_strings) + _setter("connection_strings", connection_strings) if container_database_id is not None: - pulumi.set(__self__, "container_database_id", container_database_id) + _setter("container_database_id", container_database_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_restricted is not None: - pulumi.set(__self__, "is_restricted", is_restricted) + _setter("is_restricted", is_restricted) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if open_mode is not None: - pulumi.set(__self__, "open_mode", open_mode) + _setter("open_mode", open_mode) if pdb_admin_password is not None: - pulumi.set(__self__, "pdb_admin_password", pdb_admin_password) + _setter("pdb_admin_password", pdb_admin_password) if pdb_name is not None: - pulumi.set(__self__, "pdb_name", pdb_name) + _setter("pdb_name", pdb_name) if pluggable_database_management_configs is not None: - pulumi.set(__self__, "pluggable_database_management_configs", pluggable_database_management_configs) + _setter("pluggable_database_management_configs", pluggable_database_management_configs) if rotate_key_trigger is not None: - pulumi.set(__self__, "rotate_key_trigger", rotate_key_trigger) + _setter("rotate_key_trigger", rotate_key_trigger) if should_pdb_admin_account_be_locked is not None: - pulumi.set(__self__, "should_pdb_admin_account_be_locked", should_pdb_admin_account_be_locked) + _setter("should_pdb_admin_account_be_locked", should_pdb_admin_account_be_locked) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if tde_wallet_password is not None: - pulumi.set(__self__, "tde_wallet_password", tde_wallet_password) + _setter("tde_wallet_password", tde_wallet_password) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -536,6 +598,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + PluggableDatabaseArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/database/pluggable_database_managements_management.py b/sdk/python/pulumi_oci/database/pluggable_database_managements_management.py index 247747cf9a..b36874bcd5 100644 --- a/sdk/python/pulumi_oci/database/pluggable_database_managements_management.py +++ b/sdk/python/pulumi_oci/database/pluggable_database_managements_management.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -41,19 +41,44 @@ def __init__(__self__, *, :param pulumi.Input[str] role: The role of the user that will be connecting to the pluggable database. :param pulumi.Input[str] ssl_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Oracle Cloud Infrastructure [secret](https://docs.cloud.oracle.com/iaas/Content/KeyManagement/Concepts/keyoverview.htm#concepts). """ - pulumi.set(__self__, "credential_details", credential_details) - pulumi.set(__self__, "enable_pluggabledatabasemanagement", enable_pluggabledatabasemanagement) - pulumi.set(__self__, "pluggable_database_id", pluggable_database_id) - pulumi.set(__self__, "private_end_point_id", private_end_point_id) - pulumi.set(__self__, "service_name", service_name) + PluggableDatabaseManagementsManagementArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + credential_details=credential_details, + enable_pluggabledatabasemanagement=enable_pluggabledatabasemanagement, + pluggable_database_id=pluggable_database_id, + private_end_point_id=private_end_point_id, + service_name=service_name, + port=port, + protocol=protocol, + role=role, + ssl_secret_id=ssl_secret_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + credential_details: pulumi.Input['PluggableDatabaseManagementsManagementCredentialDetailsArgs'], + enable_pluggabledatabasemanagement: pulumi.Input[bool], + pluggable_database_id: pulumi.Input[str], + private_end_point_id: pulumi.Input[str], + service_name: pulumi.Input[str], + port: Optional[pulumi.Input[int]] = None, + protocol: Optional[pulumi.Input[str]] = None, + role: Optional[pulumi.Input[str]] = None, + ssl_secret_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("credential_details", credential_details) + _setter("enable_pluggabledatabasemanagement", enable_pluggabledatabasemanagement) + _setter("pluggable_database_id", pluggable_database_id) + _setter("private_end_point_id", private_end_point_id) + _setter("service_name", service_name) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if protocol is not None: - pulumi.set(__self__, "protocol", protocol) + _setter("protocol", protocol) if role is not None: - pulumi.set(__self__, "role", role) + _setter("role", role) if ssl_secret_id is not None: - pulumi.set(__self__, "ssl_secret_id", ssl_secret_id) + _setter("ssl_secret_id", ssl_secret_id) @property @pulumi.getter(name="credentialDetails") @@ -220,48 +245,97 @@ def __init__(__self__, *, :param pulumi.Input[str] state: The current state of the pluggable database. :param pulumi.Input[str] time_created: The date and time the pluggable database was created. """ + _PluggableDatabaseManagementsManagementState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + connection_strings=connection_strings, + container_database_id=container_database_id, + credential_details=credential_details, + defined_tags=defined_tags, + enable_pluggabledatabasemanagement=enable_pluggabledatabasemanagement, + freeform_tags=freeform_tags, + is_restricted=is_restricted, + lifecycle_details=lifecycle_details, + open_mode=open_mode, + pdb_name=pdb_name, + pluggable_database_id=pluggable_database_id, + pluggable_database_management_configs=pluggable_database_management_configs, + port=port, + private_end_point_id=private_end_point_id, + protocol=protocol, + role=role, + service_name=service_name, + ssl_secret_id=ssl_secret_id, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + connection_strings: Optional[pulumi.Input[Sequence[pulumi.Input['PluggableDatabaseManagementsManagementConnectionStringArgs']]]] = None, + container_database_id: Optional[pulumi.Input[str]] = None, + credential_details: Optional[pulumi.Input['PluggableDatabaseManagementsManagementCredentialDetailsArgs']] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + enable_pluggabledatabasemanagement: Optional[pulumi.Input[bool]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_restricted: Optional[pulumi.Input[bool]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + open_mode: Optional[pulumi.Input[str]] = None, + pdb_name: Optional[pulumi.Input[str]] = None, + pluggable_database_id: Optional[pulumi.Input[str]] = None, + pluggable_database_management_configs: Optional[pulumi.Input[Sequence[pulumi.Input['PluggableDatabaseManagementsManagementPluggableDatabaseManagementConfigArgs']]]] = None, + port: Optional[pulumi.Input[int]] = None, + private_end_point_id: Optional[pulumi.Input[str]] = None, + protocol: Optional[pulumi.Input[str]] = None, + role: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + ssl_secret_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if connection_strings is not None: - pulumi.set(__self__, "connection_strings", connection_strings) + _setter("connection_strings", connection_strings) if container_database_id is not None: - pulumi.set(__self__, "container_database_id", container_database_id) + _setter("container_database_id", container_database_id) if credential_details is not None: - pulumi.set(__self__, "credential_details", credential_details) + _setter("credential_details", credential_details) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if enable_pluggabledatabasemanagement is not None: - pulumi.set(__self__, "enable_pluggabledatabasemanagement", enable_pluggabledatabasemanagement) + _setter("enable_pluggabledatabasemanagement", enable_pluggabledatabasemanagement) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_restricted is not None: - pulumi.set(__self__, "is_restricted", is_restricted) + _setter("is_restricted", is_restricted) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if open_mode is not None: - pulumi.set(__self__, "open_mode", open_mode) + _setter("open_mode", open_mode) if pdb_name is not None: - pulumi.set(__self__, "pdb_name", pdb_name) + _setter("pdb_name", pdb_name) if pluggable_database_id is not None: - pulumi.set(__self__, "pluggable_database_id", pluggable_database_id) + _setter("pluggable_database_id", pluggable_database_id) if pluggable_database_management_configs is not None: - pulumi.set(__self__, "pluggable_database_management_configs", pluggable_database_management_configs) + _setter("pluggable_database_management_configs", pluggable_database_management_configs) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if private_end_point_id is not None: - pulumi.set(__self__, "private_end_point_id", private_end_point_id) + _setter("private_end_point_id", private_end_point_id) if protocol is not None: - pulumi.set(__self__, "protocol", protocol) + _setter("protocol", protocol) if role is not None: - pulumi.set(__self__, "role", role) + _setter("role", role) if service_name is not None: - pulumi.set(__self__, "service_name", service_name) + _setter("service_name", service_name) if ssl_secret_id is not None: - pulumi.set(__self__, "ssl_secret_id", ssl_secret_id) + _setter("ssl_secret_id", ssl_secret_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -619,6 +693,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + PluggableDatabaseManagementsManagementArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -642,6 +720,11 @@ def _internal_init(__self__, raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = PluggableDatabaseManagementsManagementArgs.__new__(PluggableDatabaseManagementsManagementArgs) + if credential_details is not None and not isinstance(credential_details, PluggableDatabaseManagementsManagementCredentialDetailsArgs): + credential_details = credential_details or {} + def _setter(key, value): + credential_details[key] = value + PluggableDatabaseManagementsManagementCredentialDetailsArgs._configure(_setter, **credential_details) if credential_details is None and not opts.urn: raise TypeError("Missing required property 'credential_details'") __props__.__dict__["credential_details"] = credential_details diff --git a/sdk/python/pulumi_oci/database/pluggable_databases_local_clone.py b/sdk/python/pulumi_oci/database/pluggable_databases_local_clone.py index 4a560e7acc..8319ceda06 100644 --- a/sdk/python/pulumi_oci/database/pluggable_databases_local_clone.py +++ b/sdk/python/pulumi_oci/database/pluggable_databases_local_clone.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -33,14 +33,31 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "cloned_pdb_name", cloned_pdb_name) - pulumi.set(__self__, "pluggable_database_id", pluggable_database_id) + PluggableDatabasesLocalCloneArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + cloned_pdb_name=cloned_pdb_name, + pluggable_database_id=pluggable_database_id, + pdb_admin_password=pdb_admin_password, + should_pdb_admin_account_be_locked=should_pdb_admin_account_be_locked, + target_tde_wallet_password=target_tde_wallet_password, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cloned_pdb_name: pulumi.Input[str], + pluggable_database_id: pulumi.Input[str], + pdb_admin_password: Optional[pulumi.Input[str]] = None, + should_pdb_admin_account_be_locked: Optional[pulumi.Input[bool]] = None, + target_tde_wallet_password: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cloned_pdb_name", cloned_pdb_name) + _setter("pluggable_database_id", pluggable_database_id) if pdb_admin_password is not None: - pulumi.set(__self__, "pdb_admin_password", pdb_admin_password) + _setter("pdb_admin_password", pdb_admin_password) if should_pdb_admin_account_be_locked is not None: - pulumi.set(__self__, "should_pdb_admin_account_be_locked", should_pdb_admin_account_be_locked) + _setter("should_pdb_admin_account_be_locked", should_pdb_admin_account_be_locked) if target_tde_wallet_password is not None: - pulumi.set(__self__, "target_tde_wallet_password", target_tde_wallet_password) + _setter("target_tde_wallet_password", target_tde_wallet_password) @property @pulumi.getter(name="clonedPdbName") @@ -151,40 +168,81 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] time_created: The date and time the pluggable database was created. """ + _PluggableDatabasesLocalCloneState._configure( + lambda key, value: pulumi.set(__self__, key, value), + cloned_pdb_name=cloned_pdb_name, + compartment_id=compartment_id, + connection_strings=connection_strings, + container_database_id=container_database_id, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + is_restricted=is_restricted, + lifecycle_details=lifecycle_details, + open_mode=open_mode, + pdb_admin_password=pdb_admin_password, + pdb_name=pdb_name, + pluggable_database_id=pluggable_database_id, + pluggable_database_management_configs=pluggable_database_management_configs, + should_pdb_admin_account_be_locked=should_pdb_admin_account_be_locked, + state=state, + target_tde_wallet_password=target_tde_wallet_password, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cloned_pdb_name: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + connection_strings: Optional[pulumi.Input[Sequence[pulumi.Input['PluggableDatabasesLocalCloneConnectionStringArgs']]]] = None, + container_database_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_restricted: Optional[pulumi.Input[bool]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + open_mode: Optional[pulumi.Input[str]] = None, + pdb_admin_password: Optional[pulumi.Input[str]] = None, + pdb_name: Optional[pulumi.Input[str]] = None, + pluggable_database_id: Optional[pulumi.Input[str]] = None, + pluggable_database_management_configs: Optional[pulumi.Input[Sequence[pulumi.Input['PluggableDatabasesLocalClonePluggableDatabaseManagementConfigArgs']]]] = None, + should_pdb_admin_account_be_locked: Optional[pulumi.Input[bool]] = None, + state: Optional[pulumi.Input[str]] = None, + target_tde_wallet_password: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if cloned_pdb_name is not None: - pulumi.set(__self__, "cloned_pdb_name", cloned_pdb_name) + _setter("cloned_pdb_name", cloned_pdb_name) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if connection_strings is not None: - pulumi.set(__self__, "connection_strings", connection_strings) + _setter("connection_strings", connection_strings) if container_database_id is not None: - pulumi.set(__self__, "container_database_id", container_database_id) + _setter("container_database_id", container_database_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_restricted is not None: - pulumi.set(__self__, "is_restricted", is_restricted) + _setter("is_restricted", is_restricted) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if open_mode is not None: - pulumi.set(__self__, "open_mode", open_mode) + _setter("open_mode", open_mode) if pdb_admin_password is not None: - pulumi.set(__self__, "pdb_admin_password", pdb_admin_password) + _setter("pdb_admin_password", pdb_admin_password) if pdb_name is not None: - pulumi.set(__self__, "pdb_name", pdb_name) + _setter("pdb_name", pdb_name) if pluggable_database_id is not None: - pulumi.set(__self__, "pluggable_database_id", pluggable_database_id) + _setter("pluggable_database_id", pluggable_database_id) if pluggable_database_management_configs is not None: - pulumi.set(__self__, "pluggable_database_management_configs", pluggable_database_management_configs) + _setter("pluggable_database_management_configs", pluggable_database_management_configs) if should_pdb_admin_account_be_locked is not None: - pulumi.set(__self__, "should_pdb_admin_account_be_locked", should_pdb_admin_account_be_locked) + _setter("should_pdb_admin_account_be_locked", should_pdb_admin_account_be_locked) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if target_tde_wallet_password is not None: - pulumi.set(__self__, "target_tde_wallet_password", target_tde_wallet_password) + _setter("target_tde_wallet_password", target_tde_wallet_password) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="clonedPdbName") @@ -480,6 +538,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + PluggableDatabasesLocalCloneArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/database/pluggable_databases_remote_clone.py b/sdk/python/pulumi_oci/database/pluggable_databases_remote_clone.py index 26846a2b0e..4f2fc41c9d 100644 --- a/sdk/python/pulumi_oci/database/pluggable_databases_remote_clone.py +++ b/sdk/python/pulumi_oci/database/pluggable_databases_remote_clone.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -37,16 +37,37 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "cloned_pdb_name", cloned_pdb_name) - pulumi.set(__self__, "pluggable_database_id", pluggable_database_id) - pulumi.set(__self__, "source_container_db_admin_password", source_container_db_admin_password) - pulumi.set(__self__, "target_container_database_id", target_container_database_id) + PluggableDatabasesRemoteCloneArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + cloned_pdb_name=cloned_pdb_name, + pluggable_database_id=pluggable_database_id, + source_container_db_admin_password=source_container_db_admin_password, + target_container_database_id=target_container_database_id, + pdb_admin_password=pdb_admin_password, + should_pdb_admin_account_be_locked=should_pdb_admin_account_be_locked, + target_tde_wallet_password=target_tde_wallet_password, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cloned_pdb_name: pulumi.Input[str], + pluggable_database_id: pulumi.Input[str], + source_container_db_admin_password: pulumi.Input[str], + target_container_database_id: pulumi.Input[str], + pdb_admin_password: Optional[pulumi.Input[str]] = None, + should_pdb_admin_account_be_locked: Optional[pulumi.Input[bool]] = None, + target_tde_wallet_password: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cloned_pdb_name", cloned_pdb_name) + _setter("pluggable_database_id", pluggable_database_id) + _setter("source_container_db_admin_password", source_container_db_admin_password) + _setter("target_container_database_id", target_container_database_id) if pdb_admin_password is not None: - pulumi.set(__self__, "pdb_admin_password", pdb_admin_password) + _setter("pdb_admin_password", pdb_admin_password) if should_pdb_admin_account_be_locked is not None: - pulumi.set(__self__, "should_pdb_admin_account_be_locked", should_pdb_admin_account_be_locked) + _setter("should_pdb_admin_account_be_locked", should_pdb_admin_account_be_locked) if target_tde_wallet_password is not None: - pulumi.set(__self__, "target_tde_wallet_password", target_tde_wallet_password) + _setter("target_tde_wallet_password", target_tde_wallet_password) @property @pulumi.getter(name="clonedPdbName") @@ -185,44 +206,89 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] time_created: The date and time the pluggable database was created. """ + _PluggableDatabasesRemoteCloneState._configure( + lambda key, value: pulumi.set(__self__, key, value), + cloned_pdb_name=cloned_pdb_name, + compartment_id=compartment_id, + connection_strings=connection_strings, + container_database_id=container_database_id, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + is_restricted=is_restricted, + lifecycle_details=lifecycle_details, + open_mode=open_mode, + pdb_admin_password=pdb_admin_password, + pdb_name=pdb_name, + pluggable_database_id=pluggable_database_id, + pluggable_database_management_configs=pluggable_database_management_configs, + should_pdb_admin_account_be_locked=should_pdb_admin_account_be_locked, + source_container_db_admin_password=source_container_db_admin_password, + state=state, + target_container_database_id=target_container_database_id, + target_tde_wallet_password=target_tde_wallet_password, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cloned_pdb_name: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + connection_strings: Optional[pulumi.Input[Sequence[pulumi.Input['PluggableDatabasesRemoteCloneConnectionStringArgs']]]] = None, + container_database_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_restricted: Optional[pulumi.Input[bool]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + open_mode: Optional[pulumi.Input[str]] = None, + pdb_admin_password: Optional[pulumi.Input[str]] = None, + pdb_name: Optional[pulumi.Input[str]] = None, + pluggable_database_id: Optional[pulumi.Input[str]] = None, + pluggable_database_management_configs: Optional[pulumi.Input[Sequence[pulumi.Input['PluggableDatabasesRemoteClonePluggableDatabaseManagementConfigArgs']]]] = None, + should_pdb_admin_account_be_locked: Optional[pulumi.Input[bool]] = None, + source_container_db_admin_password: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + target_container_database_id: Optional[pulumi.Input[str]] = None, + target_tde_wallet_password: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if cloned_pdb_name is not None: - pulumi.set(__self__, "cloned_pdb_name", cloned_pdb_name) + _setter("cloned_pdb_name", cloned_pdb_name) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if connection_strings is not None: - pulumi.set(__self__, "connection_strings", connection_strings) + _setter("connection_strings", connection_strings) if container_database_id is not None: - pulumi.set(__self__, "container_database_id", container_database_id) + _setter("container_database_id", container_database_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_restricted is not None: - pulumi.set(__self__, "is_restricted", is_restricted) + _setter("is_restricted", is_restricted) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if open_mode is not None: - pulumi.set(__self__, "open_mode", open_mode) + _setter("open_mode", open_mode) if pdb_admin_password is not None: - pulumi.set(__self__, "pdb_admin_password", pdb_admin_password) + _setter("pdb_admin_password", pdb_admin_password) if pdb_name is not None: - pulumi.set(__self__, "pdb_name", pdb_name) + _setter("pdb_name", pdb_name) if pluggable_database_id is not None: - pulumi.set(__self__, "pluggable_database_id", pluggable_database_id) + _setter("pluggable_database_id", pluggable_database_id) if pluggable_database_management_configs is not None: - pulumi.set(__self__, "pluggable_database_management_configs", pluggable_database_management_configs) + _setter("pluggable_database_management_configs", pluggable_database_management_configs) if should_pdb_admin_account_be_locked is not None: - pulumi.set(__self__, "should_pdb_admin_account_be_locked", should_pdb_admin_account_be_locked) + _setter("should_pdb_admin_account_be_locked", should_pdb_admin_account_be_locked) if source_container_db_admin_password is not None: - pulumi.set(__self__, "source_container_db_admin_password", source_container_db_admin_password) + _setter("source_container_db_admin_password", source_container_db_admin_password) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if target_container_database_id is not None: - pulumi.set(__self__, "target_container_database_id", target_container_database_id) + _setter("target_container_database_id", target_container_database_id) if target_tde_wallet_password is not None: - pulumi.set(__self__, "target_tde_wallet_password", target_tde_wallet_password) + _setter("target_tde_wallet_password", target_tde_wallet_password) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="clonedPdbName") @@ -552,6 +618,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + PluggableDatabasesRemoteCloneArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/database/vm_cluster.py b/sdk/python/pulumi_oci/database/vm_cluster.py index e5fcc924c4..44f5fe84d8 100644 --- a/sdk/python/pulumi_oci/database/vm_cluster.py +++ b/sdk/python/pulumi_oci/database/vm_cluster.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -61,39 +61,86 @@ def __init__(__self__, *, :param pulumi.Input[int] memory_size_in_gbs: (Updatable) The memory to be allocated in GBs. :param pulumi.Input[str] time_zone: The time zone to use for the VM cluster. For details, see [DB System Time Zones](https://docs.cloud.oracle.com/iaas/Content/Database/References/timezones.htm). """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "cpu_core_count", cpu_core_count) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "exadata_infrastructure_id", exadata_infrastructure_id) - pulumi.set(__self__, "gi_version", gi_version) - pulumi.set(__self__, "ssh_public_keys", ssh_public_keys) - pulumi.set(__self__, "vm_cluster_network_id", vm_cluster_network_id) + VmClusterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + cpu_core_count=cpu_core_count, + display_name=display_name, + exadata_infrastructure_id=exadata_infrastructure_id, + gi_version=gi_version, + ssh_public_keys=ssh_public_keys, + vm_cluster_network_id=vm_cluster_network_id, + data_collection_options=data_collection_options, + data_storage_size_in_gb=data_storage_size_in_gb, + data_storage_size_in_tbs=data_storage_size_in_tbs, + db_node_storage_size_in_gbs=db_node_storage_size_in_gbs, + db_servers=db_servers, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + is_local_backup_enabled=is_local_backup_enabled, + is_sparse_diskgroup_enabled=is_sparse_diskgroup_enabled, + license_model=license_model, + memory_size_in_gbs=memory_size_in_gbs, + ocpu_count=ocpu_count, + time_zone=time_zone, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + cpu_core_count: pulumi.Input[int], + display_name: pulumi.Input[str], + exadata_infrastructure_id: pulumi.Input[str], + gi_version: pulumi.Input[str], + ssh_public_keys: pulumi.Input[Sequence[pulumi.Input[str]]], + vm_cluster_network_id: pulumi.Input[str], + data_collection_options: Optional[pulumi.Input['VmClusterDataCollectionOptionsArgs']] = None, + data_storage_size_in_gb: Optional[pulumi.Input[float]] = None, + data_storage_size_in_tbs: Optional[pulumi.Input[float]] = None, + db_node_storage_size_in_gbs: Optional[pulumi.Input[int]] = None, + db_servers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_local_backup_enabled: Optional[pulumi.Input[bool]] = None, + is_sparse_diskgroup_enabled: Optional[pulumi.Input[bool]] = None, + license_model: Optional[pulumi.Input[str]] = None, + memory_size_in_gbs: Optional[pulumi.Input[int]] = None, + ocpu_count: Optional[pulumi.Input[float]] = None, + time_zone: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("cpu_core_count", cpu_core_count) + _setter("display_name", display_name) + _setter("exadata_infrastructure_id", exadata_infrastructure_id) + _setter("gi_version", gi_version) + _setter("ssh_public_keys", ssh_public_keys) + _setter("vm_cluster_network_id", vm_cluster_network_id) if data_collection_options is not None: - pulumi.set(__self__, "data_collection_options", data_collection_options) + _setter("data_collection_options", data_collection_options) if data_storage_size_in_gb is not None: - pulumi.set(__self__, "data_storage_size_in_gb", data_storage_size_in_gb) + _setter("data_storage_size_in_gb", data_storage_size_in_gb) if data_storage_size_in_tbs is not None: - pulumi.set(__self__, "data_storage_size_in_tbs", data_storage_size_in_tbs) + _setter("data_storage_size_in_tbs", data_storage_size_in_tbs) if db_node_storage_size_in_gbs is not None: - pulumi.set(__self__, "db_node_storage_size_in_gbs", db_node_storage_size_in_gbs) + _setter("db_node_storage_size_in_gbs", db_node_storage_size_in_gbs) if db_servers is not None: - pulumi.set(__self__, "db_servers", db_servers) + _setter("db_servers", db_servers) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_local_backup_enabled is not None: - pulumi.set(__self__, "is_local_backup_enabled", is_local_backup_enabled) + _setter("is_local_backup_enabled", is_local_backup_enabled) if is_sparse_diskgroup_enabled is not None: - pulumi.set(__self__, "is_sparse_diskgroup_enabled", is_sparse_diskgroup_enabled) + _setter("is_sparse_diskgroup_enabled", is_sparse_diskgroup_enabled) if license_model is not None: - pulumi.set(__self__, "license_model", license_model) + _setter("license_model", license_model) if memory_size_in_gbs is not None: - pulumi.set(__self__, "memory_size_in_gbs", memory_size_in_gbs) + _setter("memory_size_in_gbs", memory_size_in_gbs) if ocpu_count is not None: - pulumi.set(__self__, "ocpu_count", ocpu_count) + _setter("ocpu_count", ocpu_count) if time_zone is not None: - pulumi.set(__self__, "time_zone", time_zone) + _setter("time_zone", time_zone) @property @pulumi.getter(name="compartmentId") @@ -399,64 +446,129 @@ def __init__(__self__, *, ** 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 """ + _VmClusterState._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + compartment_id=compartment_id, + cpu_core_count=cpu_core_count, + cpus_enabled=cpus_enabled, + data_collection_options=data_collection_options, + data_storage_size_in_gb=data_storage_size_in_gb, + data_storage_size_in_tbs=data_storage_size_in_tbs, + db_node_storage_size_in_gbs=db_node_storage_size_in_gbs, + db_servers=db_servers, + defined_tags=defined_tags, + display_name=display_name, + exadata_infrastructure_id=exadata_infrastructure_id, + freeform_tags=freeform_tags, + gi_version=gi_version, + is_local_backup_enabled=is_local_backup_enabled, + is_sparse_diskgroup_enabled=is_sparse_diskgroup_enabled, + last_patch_history_entry_id=last_patch_history_entry_id, + license_model=license_model, + lifecycle_details=lifecycle_details, + memory_size_in_gbs=memory_size_in_gbs, + ocpu_count=ocpu_count, + ocpus_enabled=ocpus_enabled, + shape=shape, + ssh_public_keys=ssh_public_keys, + state=state, + system_version=system_version, + time_created=time_created, + time_zone=time_zone, + vm_cluster_network_id=vm_cluster_network_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + cpu_core_count: Optional[pulumi.Input[int]] = None, + cpus_enabled: Optional[pulumi.Input[int]] = None, + data_collection_options: Optional[pulumi.Input['VmClusterDataCollectionOptionsArgs']] = None, + data_storage_size_in_gb: Optional[pulumi.Input[float]] = None, + data_storage_size_in_tbs: Optional[pulumi.Input[float]] = None, + db_node_storage_size_in_gbs: Optional[pulumi.Input[int]] = None, + db_servers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + exadata_infrastructure_id: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + gi_version: Optional[pulumi.Input[str]] = None, + is_local_backup_enabled: Optional[pulumi.Input[bool]] = None, + is_sparse_diskgroup_enabled: Optional[pulumi.Input[bool]] = None, + last_patch_history_entry_id: Optional[pulumi.Input[str]] = None, + license_model: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + memory_size_in_gbs: Optional[pulumi.Input[int]] = None, + ocpu_count: Optional[pulumi.Input[float]] = None, + ocpus_enabled: Optional[pulumi.Input[float]] = None, + shape: Optional[pulumi.Input[str]] = None, + ssh_public_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + state: Optional[pulumi.Input[str]] = None, + system_version: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_zone: Optional[pulumi.Input[str]] = None, + vm_cluster_network_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if cpu_core_count is not None: - pulumi.set(__self__, "cpu_core_count", cpu_core_count) + _setter("cpu_core_count", cpu_core_count) if cpus_enabled is not None: - pulumi.set(__self__, "cpus_enabled", cpus_enabled) + _setter("cpus_enabled", cpus_enabled) if data_collection_options is not None: - pulumi.set(__self__, "data_collection_options", data_collection_options) + _setter("data_collection_options", data_collection_options) if data_storage_size_in_gb is not None: - pulumi.set(__self__, "data_storage_size_in_gb", data_storage_size_in_gb) + _setter("data_storage_size_in_gb", data_storage_size_in_gb) if data_storage_size_in_tbs is not None: - pulumi.set(__self__, "data_storage_size_in_tbs", data_storage_size_in_tbs) + _setter("data_storage_size_in_tbs", data_storage_size_in_tbs) if db_node_storage_size_in_gbs is not None: - pulumi.set(__self__, "db_node_storage_size_in_gbs", db_node_storage_size_in_gbs) + _setter("db_node_storage_size_in_gbs", db_node_storage_size_in_gbs) if db_servers is not None: - pulumi.set(__self__, "db_servers", db_servers) + _setter("db_servers", db_servers) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if exadata_infrastructure_id is not None: - pulumi.set(__self__, "exadata_infrastructure_id", exadata_infrastructure_id) + _setter("exadata_infrastructure_id", exadata_infrastructure_id) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if gi_version is not None: - pulumi.set(__self__, "gi_version", gi_version) + _setter("gi_version", gi_version) if is_local_backup_enabled is not None: - pulumi.set(__self__, "is_local_backup_enabled", is_local_backup_enabled) + _setter("is_local_backup_enabled", is_local_backup_enabled) if is_sparse_diskgroup_enabled is not None: - pulumi.set(__self__, "is_sparse_diskgroup_enabled", is_sparse_diskgroup_enabled) + _setter("is_sparse_diskgroup_enabled", is_sparse_diskgroup_enabled) if last_patch_history_entry_id is not None: - pulumi.set(__self__, "last_patch_history_entry_id", last_patch_history_entry_id) + _setter("last_patch_history_entry_id", last_patch_history_entry_id) if license_model is not None: - pulumi.set(__self__, "license_model", license_model) + _setter("license_model", license_model) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if memory_size_in_gbs is not None: - pulumi.set(__self__, "memory_size_in_gbs", memory_size_in_gbs) + _setter("memory_size_in_gbs", memory_size_in_gbs) if ocpu_count is not None: - pulumi.set(__self__, "ocpu_count", ocpu_count) + _setter("ocpu_count", ocpu_count) if ocpus_enabled is not None: - pulumi.set(__self__, "ocpus_enabled", ocpus_enabled) + _setter("ocpus_enabled", ocpus_enabled) if shape is not None: - pulumi.set(__self__, "shape", shape) + _setter("shape", shape) if ssh_public_keys is not None: - pulumi.set(__self__, "ssh_public_keys", ssh_public_keys) + _setter("ssh_public_keys", ssh_public_keys) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_version is not None: - pulumi.set(__self__, "system_version", system_version) + _setter("system_version", system_version) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_zone is not None: - pulumi.set(__self__, "time_zone", time_zone) + _setter("time_zone", time_zone) if vm_cluster_network_id is not None: - pulumi.set(__self__, "vm_cluster_network_id", vm_cluster_network_id) + _setter("vm_cluster_network_id", vm_cluster_network_id) @property @pulumi.getter(name="availabilityDomain") @@ -961,6 +1073,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + VmClusterArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -1001,6 +1117,11 @@ def _internal_init(__self__, if cpu_core_count is None and not opts.urn: raise TypeError("Missing required property 'cpu_core_count'") __props__.__dict__["cpu_core_count"] = cpu_core_count + if data_collection_options is not None and not isinstance(data_collection_options, VmClusterDataCollectionOptionsArgs): + data_collection_options = data_collection_options or {} + def _setter(key, value): + data_collection_options[key] = value + VmClusterDataCollectionOptionsArgs._configure(_setter, **data_collection_options) __props__.__dict__["data_collection_options"] = data_collection_options __props__.__dict__["data_storage_size_in_gb"] = data_storage_size_in_gb __props__.__dict__["data_storage_size_in_tbs"] = data_storage_size_in_tbs diff --git a/sdk/python/pulumi_oci/database/vm_cluster_add_virtual_network.py b/sdk/python/pulumi_oci/database/vm_cluster_add_virtual_network.py index f1c248e1fa..d5e0dc8f9e 100644 --- a/sdk/python/pulumi_oci/database/vm_cluster_add_virtual_network.py +++ b/sdk/python/pulumi_oci/database/vm_cluster_add_virtual_network.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -27,8 +27,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "db_servers", db_servers) - pulumi.set(__self__, "vm_cluster_id", vm_cluster_id) + VmClusterAddVirtualNetworkArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_servers=db_servers, + vm_cluster_id=vm_cluster_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_servers: pulumi.Input[Sequence[pulumi.Input['VmClusterAddVirtualNetworkDbServerArgs']]], + vm_cluster_id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("db_servers", db_servers) + _setter("vm_cluster_id", vm_cluster_id) @property @pulumi.getter(name="dbServers") @@ -124,62 +135,125 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] vm_cluster_network_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM cluster network. """ + _VmClusterAddVirtualNetworkState._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + compartment_id=compartment_id, + cpus_enabled=cpus_enabled, + data_collection_options=data_collection_options, + data_storage_size_in_gb=data_storage_size_in_gb, + data_storage_size_in_tbs=data_storage_size_in_tbs, + db_node_storage_size_in_gbs=db_node_storage_size_in_gbs, + db_servers=db_servers, + defined_tags=defined_tags, + display_name=display_name, + exadata_infrastructure_id=exadata_infrastructure_id, + freeform_tags=freeform_tags, + gi_version=gi_version, + is_local_backup_enabled=is_local_backup_enabled, + is_sparse_diskgroup_enabled=is_sparse_diskgroup_enabled, + last_patch_history_entry_id=last_patch_history_entry_id, + license_model=license_model, + lifecycle_details=lifecycle_details, + memory_size_in_gbs=memory_size_in_gbs, + ocpus_enabled=ocpus_enabled, + shape=shape, + ssh_public_keys=ssh_public_keys, + state=state, + system_version=system_version, + time_created=time_created, + time_zone=time_zone, + vm_cluster_id=vm_cluster_id, + vm_cluster_network_id=vm_cluster_network_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + cpus_enabled: Optional[pulumi.Input[int]] = None, + data_collection_options: Optional[pulumi.Input[Sequence[pulumi.Input['VmClusterAddVirtualNetworkDataCollectionOptionArgs']]]] = None, + data_storage_size_in_gb: Optional[pulumi.Input[float]] = None, + data_storage_size_in_tbs: Optional[pulumi.Input[float]] = None, + db_node_storage_size_in_gbs: Optional[pulumi.Input[int]] = None, + db_servers: Optional[pulumi.Input[Sequence[pulumi.Input['VmClusterAddVirtualNetworkDbServerArgs']]]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + exadata_infrastructure_id: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + gi_version: Optional[pulumi.Input[str]] = None, + is_local_backup_enabled: Optional[pulumi.Input[bool]] = None, + is_sparse_diskgroup_enabled: Optional[pulumi.Input[bool]] = None, + last_patch_history_entry_id: Optional[pulumi.Input[str]] = None, + license_model: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + memory_size_in_gbs: Optional[pulumi.Input[int]] = None, + ocpus_enabled: Optional[pulumi.Input[float]] = None, + shape: Optional[pulumi.Input[str]] = None, + ssh_public_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + state: Optional[pulumi.Input[str]] = None, + system_version: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_zone: Optional[pulumi.Input[str]] = None, + vm_cluster_id: Optional[pulumi.Input[str]] = None, + vm_cluster_network_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if cpus_enabled is not None: - pulumi.set(__self__, "cpus_enabled", cpus_enabled) + _setter("cpus_enabled", cpus_enabled) if data_collection_options is not None: - pulumi.set(__self__, "data_collection_options", data_collection_options) + _setter("data_collection_options", data_collection_options) if data_storage_size_in_gb is not None: - pulumi.set(__self__, "data_storage_size_in_gb", data_storage_size_in_gb) + _setter("data_storage_size_in_gb", data_storage_size_in_gb) if data_storage_size_in_tbs is not None: - pulumi.set(__self__, "data_storage_size_in_tbs", data_storage_size_in_tbs) + _setter("data_storage_size_in_tbs", data_storage_size_in_tbs) if db_node_storage_size_in_gbs is not None: - pulumi.set(__self__, "db_node_storage_size_in_gbs", db_node_storage_size_in_gbs) + _setter("db_node_storage_size_in_gbs", db_node_storage_size_in_gbs) if db_servers is not None: - pulumi.set(__self__, "db_servers", db_servers) + _setter("db_servers", db_servers) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if exadata_infrastructure_id is not None: - pulumi.set(__self__, "exadata_infrastructure_id", exadata_infrastructure_id) + _setter("exadata_infrastructure_id", exadata_infrastructure_id) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if gi_version is not None: - pulumi.set(__self__, "gi_version", gi_version) + _setter("gi_version", gi_version) if is_local_backup_enabled is not None: - pulumi.set(__self__, "is_local_backup_enabled", is_local_backup_enabled) + _setter("is_local_backup_enabled", is_local_backup_enabled) if is_sparse_diskgroup_enabled is not None: - pulumi.set(__self__, "is_sparse_diskgroup_enabled", is_sparse_diskgroup_enabled) + _setter("is_sparse_diskgroup_enabled", is_sparse_diskgroup_enabled) if last_patch_history_entry_id is not None: - pulumi.set(__self__, "last_patch_history_entry_id", last_patch_history_entry_id) + _setter("last_patch_history_entry_id", last_patch_history_entry_id) if license_model is not None: - pulumi.set(__self__, "license_model", license_model) + _setter("license_model", license_model) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if memory_size_in_gbs is not None: - pulumi.set(__self__, "memory_size_in_gbs", memory_size_in_gbs) + _setter("memory_size_in_gbs", memory_size_in_gbs) if ocpus_enabled is not None: - pulumi.set(__self__, "ocpus_enabled", ocpus_enabled) + _setter("ocpus_enabled", ocpus_enabled) if shape is not None: - pulumi.set(__self__, "shape", shape) + _setter("shape", shape) if ssh_public_keys is not None: - pulumi.set(__self__, "ssh_public_keys", ssh_public_keys) + _setter("ssh_public_keys", ssh_public_keys) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_version is not None: - pulumi.set(__self__, "system_version", system_version) + _setter("system_version", system_version) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_zone is not None: - pulumi.set(__self__, "time_zone", time_zone) + _setter("time_zone", time_zone) if vm_cluster_id is not None: - pulumi.set(__self__, "vm_cluster_id", vm_cluster_id) + _setter("vm_cluster_id", vm_cluster_id) if vm_cluster_network_id is not None: - pulumi.set(__self__, "vm_cluster_network_id", vm_cluster_network_id) + _setter("vm_cluster_network_id", vm_cluster_network_id) @property @pulumi.getter(name="availabilityDomain") @@ -608,6 +682,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + VmClusterAddVirtualNetworkArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/database/vm_cluster_network.py b/sdk/python/pulumi_oci/database/vm_cluster_network.py index 52167b990c..431643ee28 100644 --- a/sdk/python/pulumi_oci/database/vm_cluster_network.py +++ b/sdk/python/pulumi_oci/database/vm_cluster_network.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -41,25 +41,56 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] freeform_tags: (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` :param pulumi.Input[Sequence[pulumi.Input[str]]] ntps: (Updatable) The list of NTP server IP addresses. Maximum of 3 allowed. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "exadata_infrastructure_id", exadata_infrastructure_id) - pulumi.set(__self__, "scans", scans) - pulumi.set(__self__, "vm_networks", vm_networks) + VmClusterNetworkArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + exadata_infrastructure_id=exadata_infrastructure_id, + scans=scans, + vm_networks=vm_networks, + action=action, + defined_tags=defined_tags, + dns=dns, + dr_scans=dr_scans, + freeform_tags=freeform_tags, + ntps=ntps, + validate_vm_cluster_network=validate_vm_cluster_network, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + exadata_infrastructure_id: pulumi.Input[str], + scans: pulumi.Input[Sequence[pulumi.Input['VmClusterNetworkScanArgs']]], + vm_networks: pulumi.Input[Sequence[pulumi.Input['VmClusterNetworkVmNetworkArgs']]], + action: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + dns: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + dr_scans: Optional[pulumi.Input[Sequence[pulumi.Input['VmClusterNetworkDrScanArgs']]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + ntps: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + validate_vm_cluster_network: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) + _setter("exadata_infrastructure_id", exadata_infrastructure_id) + _setter("scans", scans) + _setter("vm_networks", vm_networks) if action is not None: - pulumi.set(__self__, "action", action) + _setter("action", action) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if dns is not None: - pulumi.set(__self__, "dns", dns) + _setter("dns", dns) if dr_scans is not None: - pulumi.set(__self__, "dr_scans", dr_scans) + _setter("dr_scans", dr_scans) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if ntps is not None: - pulumi.set(__self__, "ntps", ntps) + _setter("ntps", ntps) if validate_vm_cluster_network is not None: - pulumi.set(__self__, "validate_vm_cluster_network", validate_vm_cluster_network) + _setter("validate_vm_cluster_network", validate_vm_cluster_network) @property @pulumi.getter(name="compartmentId") @@ -236,38 +267,77 @@ def __init__(__self__, *, :param pulumi.Input[str] vm_cluster_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated VM Cluster. :param pulumi.Input[Sequence[pulumi.Input['VmClusterNetworkVmNetworkArgs']]] vm_networks: (Updatable) Details of the client and backup networks. """ + _VmClusterNetworkState._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + dns=dns, + dr_scans=dr_scans, + exadata_infrastructure_id=exadata_infrastructure_id, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + ntps=ntps, + scans=scans, + state=state, + time_created=time_created, + validate_vm_cluster_network=validate_vm_cluster_network, + vm_cluster_id=vm_cluster_id, + vm_networks=vm_networks, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + dns: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + dr_scans: Optional[pulumi.Input[Sequence[pulumi.Input['VmClusterNetworkDrScanArgs']]]] = None, + exadata_infrastructure_id: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + ntps: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + scans: Optional[pulumi.Input[Sequence[pulumi.Input['VmClusterNetworkScanArgs']]]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + validate_vm_cluster_network: Optional[pulumi.Input[bool]] = None, + vm_cluster_id: Optional[pulumi.Input[str]] = None, + vm_networks: Optional[pulumi.Input[Sequence[pulumi.Input['VmClusterNetworkVmNetworkArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if action is not None: - pulumi.set(__self__, "action", action) + _setter("action", action) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if dns is not None: - pulumi.set(__self__, "dns", dns) + _setter("dns", dns) if dr_scans is not None: - pulumi.set(__self__, "dr_scans", dr_scans) + _setter("dr_scans", dr_scans) if exadata_infrastructure_id is not None: - pulumi.set(__self__, "exadata_infrastructure_id", exadata_infrastructure_id) + _setter("exadata_infrastructure_id", exadata_infrastructure_id) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if ntps is not None: - pulumi.set(__self__, "ntps", ntps) + _setter("ntps", ntps) if scans is not None: - pulumi.set(__self__, "scans", scans) + _setter("scans", scans) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if validate_vm_cluster_network is not None: - pulumi.set(__self__, "validate_vm_cluster_network", validate_vm_cluster_network) + _setter("validate_vm_cluster_network", validate_vm_cluster_network) if vm_cluster_id is not None: - pulumi.set(__self__, "vm_cluster_id", vm_cluster_id) + _setter("vm_cluster_id", vm_cluster_id) if vm_networks is not None: - pulumi.set(__self__, "vm_networks", vm_networks) + _setter("vm_networks", vm_networks) @property @pulumi.getter @@ -623,6 +693,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + VmClusterNetworkArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/database/vm_cluster_remove_virtual_machine.py b/sdk/python/pulumi_oci/database/vm_cluster_remove_virtual_machine.py index 623a524a12..9fb85e121b 100644 --- a/sdk/python/pulumi_oci/database/vm_cluster_remove_virtual_machine.py +++ b/sdk/python/pulumi_oci/database/vm_cluster_remove_virtual_machine.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -27,8 +27,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "db_servers", db_servers) - pulumi.set(__self__, "vm_cluster_id", vm_cluster_id) + VmClusterRemoveVirtualMachineArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_servers=db_servers, + vm_cluster_id=vm_cluster_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_servers: pulumi.Input[Sequence[pulumi.Input['VmClusterRemoveVirtualMachineDbServerArgs']]], + vm_cluster_id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("db_servers", db_servers) + _setter("vm_cluster_id", vm_cluster_id) @property @pulumi.getter(name="dbServers") @@ -121,58 +132,117 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] vm_cluster_network_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM cluster network. """ + _VmClusterRemoveVirtualMachineState._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + compartment_id=compartment_id, + cpus_enabled=cpus_enabled, + data_collection_options=data_collection_options, + data_storage_size_in_tbs=data_storage_size_in_tbs, + db_node_storage_size_in_gbs=db_node_storage_size_in_gbs, + db_servers=db_servers, + defined_tags=defined_tags, + display_name=display_name, + exadata_infrastructure_id=exadata_infrastructure_id, + freeform_tags=freeform_tags, + gi_version=gi_version, + is_local_backup_enabled=is_local_backup_enabled, + is_sparse_diskgroup_enabled=is_sparse_diskgroup_enabled, + last_patch_history_entry_id=last_patch_history_entry_id, + license_model=license_model, + lifecycle_details=lifecycle_details, + memory_size_in_gbs=memory_size_in_gbs, + shape=shape, + ssh_public_keys=ssh_public_keys, + state=state, + system_version=system_version, + time_created=time_created, + time_zone=time_zone, + vm_cluster_id=vm_cluster_id, + vm_cluster_network_id=vm_cluster_network_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + cpus_enabled: Optional[pulumi.Input[int]] = None, + data_collection_options: Optional[pulumi.Input[Sequence[pulumi.Input['VmClusterRemoveVirtualMachineDataCollectionOptionArgs']]]] = None, + data_storage_size_in_tbs: Optional[pulumi.Input[float]] = None, + db_node_storage_size_in_gbs: Optional[pulumi.Input[int]] = None, + db_servers: Optional[pulumi.Input[Sequence[pulumi.Input['VmClusterRemoveVirtualMachineDbServerArgs']]]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + exadata_infrastructure_id: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + gi_version: Optional[pulumi.Input[str]] = None, + is_local_backup_enabled: Optional[pulumi.Input[bool]] = None, + is_sparse_diskgroup_enabled: Optional[pulumi.Input[bool]] = None, + last_patch_history_entry_id: Optional[pulumi.Input[str]] = None, + license_model: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + memory_size_in_gbs: Optional[pulumi.Input[int]] = None, + shape: Optional[pulumi.Input[str]] = None, + ssh_public_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + state: Optional[pulumi.Input[str]] = None, + system_version: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_zone: Optional[pulumi.Input[str]] = None, + vm_cluster_id: Optional[pulumi.Input[str]] = None, + vm_cluster_network_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if cpus_enabled is not None: - pulumi.set(__self__, "cpus_enabled", cpus_enabled) + _setter("cpus_enabled", cpus_enabled) if data_collection_options is not None: - pulumi.set(__self__, "data_collection_options", data_collection_options) + _setter("data_collection_options", data_collection_options) if data_storage_size_in_tbs is not None: - pulumi.set(__self__, "data_storage_size_in_tbs", data_storage_size_in_tbs) + _setter("data_storage_size_in_tbs", data_storage_size_in_tbs) if db_node_storage_size_in_gbs is not None: - pulumi.set(__self__, "db_node_storage_size_in_gbs", db_node_storage_size_in_gbs) + _setter("db_node_storage_size_in_gbs", db_node_storage_size_in_gbs) if db_servers is not None: - pulumi.set(__self__, "db_servers", db_servers) + _setter("db_servers", db_servers) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if exadata_infrastructure_id is not None: - pulumi.set(__self__, "exadata_infrastructure_id", exadata_infrastructure_id) + _setter("exadata_infrastructure_id", exadata_infrastructure_id) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if gi_version is not None: - pulumi.set(__self__, "gi_version", gi_version) + _setter("gi_version", gi_version) if is_local_backup_enabled is not None: - pulumi.set(__self__, "is_local_backup_enabled", is_local_backup_enabled) + _setter("is_local_backup_enabled", is_local_backup_enabled) if is_sparse_diskgroup_enabled is not None: - pulumi.set(__self__, "is_sparse_diskgroup_enabled", is_sparse_diskgroup_enabled) + _setter("is_sparse_diskgroup_enabled", is_sparse_diskgroup_enabled) if last_patch_history_entry_id is not None: - pulumi.set(__self__, "last_patch_history_entry_id", last_patch_history_entry_id) + _setter("last_patch_history_entry_id", last_patch_history_entry_id) if license_model is not None: - pulumi.set(__self__, "license_model", license_model) + _setter("license_model", license_model) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if memory_size_in_gbs is not None: - pulumi.set(__self__, "memory_size_in_gbs", memory_size_in_gbs) + _setter("memory_size_in_gbs", memory_size_in_gbs) if shape is not None: - pulumi.set(__self__, "shape", shape) + _setter("shape", shape) if ssh_public_keys is not None: - pulumi.set(__self__, "ssh_public_keys", ssh_public_keys) + _setter("ssh_public_keys", ssh_public_keys) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_version is not None: - pulumi.set(__self__, "system_version", system_version) + _setter("system_version", system_version) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_zone is not None: - pulumi.set(__self__, "time_zone", time_zone) + _setter("time_zone", time_zone) if vm_cluster_id is not None: - pulumi.set(__self__, "vm_cluster_id", vm_cluster_id) + _setter("vm_cluster_id", vm_cluster_id) if vm_cluster_network_id is not None: - pulumi.set(__self__, "vm_cluster_network_id", vm_cluster_network_id) + _setter("vm_cluster_network_id", vm_cluster_network_id) @property @pulumi.getter(name="availabilityDomain") @@ -576,6 +646,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + VmClusterRemoveVirtualMachineArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/databasemanagement/_inputs.py b/sdk/python/pulumi_oci/databasemanagement/_inputs.py index eea292e350..431700c859 100644 --- a/sdk/python/pulumi_oci/databasemanagement/_inputs.py +++ b/sdk/python/pulumi_oci/databasemanagement/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -125,22 +125,45 @@ def __init__(__self__, *, :param pulumi.Input[str] id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database. :param pulumi.Input[bool] is_managed: Indicates whether the database is a Managed Database or not. """ + ExternalAsmServicedDatabaseArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + database_sub_type=database_sub_type, + database_type=database_type, + db_unique_name=db_unique_name, + disk_groups=disk_groups, + display_name=display_name, + id=id, + is_managed=is_managed, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + database_sub_type: Optional[pulumi.Input[str]] = None, + database_type: Optional[pulumi.Input[str]] = None, + db_unique_name: Optional[pulumi.Input[str]] = None, + disk_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + id: Optional[pulumi.Input[str]] = None, + is_managed: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if database_sub_type is not None: - pulumi.set(__self__, "database_sub_type", database_sub_type) + _setter("database_sub_type", database_sub_type) if database_type is not None: - pulumi.set(__self__, "database_type", database_type) + _setter("database_type", database_type) if db_unique_name is not None: - pulumi.set(__self__, "db_unique_name", db_unique_name) + _setter("db_unique_name", db_unique_name) if disk_groups is not None: - pulumi.set(__self__, "disk_groups", disk_groups) + _setter("disk_groups", disk_groups) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if is_managed is not None: - pulumi.set(__self__, "is_managed", is_managed) + _setter("is_managed", is_managed) @property @pulumi.getter(name="compartmentId") @@ -250,12 +273,25 @@ def __init__(__self__, *, :param pulumi.Input[str] network_type: The network type. :param pulumi.Input[str] subnet: The subnet for the network. """ + ExternalClusterNetworkConfigurationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + network_number=network_number, + network_type=network_type, + subnet=subnet, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + network_number: Optional[pulumi.Input[int]] = None, + network_type: Optional[pulumi.Input[str]] = None, + subnet: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if network_number is not None: - pulumi.set(__self__, "network_number", network_number) + _setter("network_number", network_number) if network_type is not None: - pulumi.set(__self__, "network_type", network_type) + _setter("network_type", network_type) if subnet is not None: - pulumi.set(__self__, "subnet", subnet) + _setter("subnet", subnet) @property @pulumi.getter(name="networkNumber") @@ -307,14 +343,29 @@ def __init__(__self__, *, :param pulumi.Input[int] scan_port: The port number of the SCAN listener. :param pulumi.Input[str] scan_protocol: The protocol of the SCAN listener. """ + ExternalClusterScanConfigurationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + network_number=network_number, + scan_name=scan_name, + scan_port=scan_port, + scan_protocol=scan_protocol, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + network_number: Optional[pulumi.Input[int]] = None, + scan_name: Optional[pulumi.Input[str]] = None, + scan_port: Optional[pulumi.Input[int]] = None, + scan_protocol: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if network_number is not None: - pulumi.set(__self__, "network_number", network_number) + _setter("network_number", network_number) if scan_name is not None: - pulumi.set(__self__, "scan_name", scan_name) + _setter("scan_name", scan_name) if scan_port is not None: - pulumi.set(__self__, "scan_port", scan_port) + _setter("scan_port", scan_port) if scan_protocol is not None: - pulumi.set(__self__, "scan_protocol", scan_protocol) + _setter("scan_protocol", scan_protocol) @property @pulumi.getter(name="networkNumber") @@ -376,12 +427,25 @@ def __init__(__self__, *, :param pulumi.Input[int] network_number: The network number from which VIPs are obtained. :param pulumi.Input[str] node_name: The name of the node with the VIP. """ + ExternalClusterVipConfigurationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + address=address, + network_number=network_number, + node_name=node_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address: Optional[pulumi.Input[str]] = None, + network_number: Optional[pulumi.Input[int]] = None, + node_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if address is not None: - pulumi.set(__self__, "address", address) + _setter("address", address) if network_number is not None: - pulumi.set(__self__, "network_number", network_number) + _setter("network_number", network_number) if node_name is not None: - pulumi.set(__self__, "node_name", node_name) + _setter("node_name", node_name) @property @pulumi.getter @@ -431,11 +495,24 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['ExternalDbSystemConnectorConnectionInfoConnectionCredentialArgs']]] connection_credentials: The credentials used to connect to the ASM instance. Currently only the `DETAILS` type is supported for creating MACS connector credentials. :param pulumi.Input[Sequence[pulumi.Input['ExternalDbSystemConnectorConnectionInfoConnectionStringArgs']]] connection_strings: The Oracle Database connection string. """ - pulumi.set(__self__, "component_type", component_type) + ExternalDbSystemConnectorConnectionInfoArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + component_type=component_type, + connection_credentials=connection_credentials, + connection_strings=connection_strings, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + component_type: pulumi.Input[str], + connection_credentials: Optional[pulumi.Input[Sequence[pulumi.Input['ExternalDbSystemConnectorConnectionInfoConnectionCredentialArgs']]]] = None, + connection_strings: Optional[pulumi.Input[Sequence[pulumi.Input['ExternalDbSystemConnectorConnectionInfoConnectionStringArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("component_type", component_type) if connection_credentials is not None: - pulumi.set(__self__, "connection_credentials", connection_credentials) + _setter("connection_credentials", connection_credentials) if connection_strings is not None: - pulumi.set(__self__, "connection_strings", connection_strings) + _setter("connection_strings", connection_strings) @property @pulumi.getter(name="componentType") @@ -491,18 +568,37 @@ def __init__(__self__, *, :param pulumi.Input[str] ssl_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. :param pulumi.Input[str] user_name: The user name used to connect to the ASM instance. """ + ExternalDbSystemConnectorConnectionInfoConnectionCredentialArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + credential_name=credential_name, + credential_type=credential_type, + password_secret_id=password_secret_id, + role=role, + ssl_secret_id=ssl_secret_id, + user_name=user_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + credential_name: Optional[pulumi.Input[str]] = None, + credential_type: Optional[pulumi.Input[str]] = None, + password_secret_id: Optional[pulumi.Input[str]] = None, + role: Optional[pulumi.Input[str]] = None, + ssl_secret_id: Optional[pulumi.Input[str]] = None, + user_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if credential_name is not None: - pulumi.set(__self__, "credential_name", credential_name) + _setter("credential_name", credential_name) if credential_type is not None: - pulumi.set(__self__, "credential_type", credential_type) + _setter("credential_type", credential_type) if password_secret_id is not None: - pulumi.set(__self__, "password_secret_id", password_secret_id) + _setter("password_secret_id", password_secret_id) if role is not None: - pulumi.set(__self__, "role", role) + _setter("role", role) if ssl_secret_id is not None: - pulumi.set(__self__, "ssl_secret_id", ssl_secret_id) + _setter("ssl_secret_id", ssl_secret_id) if user_name is not None: - pulumi.set(__self__, "user_name", user_name) + _setter("user_name", user_name) @property @pulumi.getter(name="credentialName") @@ -592,16 +688,33 @@ def __init__(__self__, *, :param pulumi.Input[str] protocol: The protocol used to connect to the ASM instance. :param pulumi.Input[str] service: The service name of the ASM instance. """ + ExternalDbSystemConnectorConnectionInfoConnectionStringArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + host_name=host_name, + hosts=hosts, + port=port, + protocol=protocol, + service=service, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host_name: Optional[pulumi.Input[str]] = None, + hosts: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + port: Optional[pulumi.Input[int]] = None, + protocol: Optional[pulumi.Input[str]] = None, + service: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if host_name is not None: - pulumi.set(__self__, "host_name", host_name) + _setter("host_name", host_name) if hosts is not None: - pulumi.set(__self__, "hosts", hosts) + _setter("hosts", hosts) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if protocol is not None: - pulumi.set(__self__, "protocol", protocol) + _setter("protocol", protocol) if service is not None: - pulumi.set(__self__, "service", service) + _setter("service", service) @property @pulumi.getter(name="hostName") @@ -671,7 +784,16 @@ def __init__(__self__, *, """ :param pulumi.Input[str] license_model: The Oracle license model that applies to the external database. """ - pulumi.set(__self__, "license_model", license_model) + ExternalDbSystemDatabaseManagementConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + license_model=license_model, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + license_model: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("license_model", license_model) @property @pulumi.getter(name="licenseModel") @@ -783,100 +905,201 @@ def __init__(__self__, *, :param pulumi.Input[str] version: The version of Oracle Clusterware running in the cluster. :param pulumi.Input[Sequence[pulumi.Input['ExternalDbSystemDiscoveryDiscoveredComponentVipConfigurationArgs']]] vip_configurations: The list of Virtual IP (VIP) configurations of the external cluster. """ + ExternalDbSystemDiscoveryDiscoveredComponentArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + adr_home_directory=adr_home_directory, + asm_instances=asm_instances, + associated_components=associated_components, + cluster_id=cluster_id, + cluster_instances=cluster_instances, + compartment_id=compartment_id, + component_id=component_id, + component_name=component_name, + component_type=component_type, + connectors=connectors, + container_database_id=container_database_id, + cpu_core_count=cpu_core_count, + crs_base_directory=crs_base_directory, + db_edition=db_edition, + db_id=db_id, + db_node_name=db_node_name, + db_packs=db_packs, + db_role=db_role, + db_type=db_type, + db_unique_name=db_unique_name, + db_version=db_version, + display_name=display_name, + endpoints=endpoints, + grid_home=grid_home, + guid=guid, + home_directory=home_directory, + host_name=host_name, + instance_name=instance_name, + is_cluster=is_cluster, + is_flex_cluster=is_flex_cluster, + is_flex_enabled=is_flex_enabled, + is_selected_for_monitoring=is_selected_for_monitoring, + listener_alias=listener_alias, + listener_type=listener_type, + log_directory=log_directory, + memory_size_in_gbs=memory_size_in_gbs, + network_configurations=network_configurations, + node_role=node_role, + ocr_file_location=ocr_file_location, + oracle_home=oracle_home, + pluggable_databases=pluggable_databases, + resource_id=resource_id, + scan_configurations=scan_configurations, + status=status, + trace_directory=trace_directory, + version=version, + vip_configurations=vip_configurations, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + adr_home_directory: Optional[pulumi.Input[str]] = None, + asm_instances: Optional[pulumi.Input[Sequence[pulumi.Input['ExternalDbSystemDiscoveryDiscoveredComponentAsmInstanceArgs']]]] = None, + associated_components: Optional[pulumi.Input[Sequence[pulumi.Input['ExternalDbSystemDiscoveryDiscoveredComponentAssociatedComponentArgs']]]] = None, + cluster_id: Optional[pulumi.Input[str]] = None, + cluster_instances: Optional[pulumi.Input[Sequence[pulumi.Input['ExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceArgs']]]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + component_id: Optional[pulumi.Input[str]] = None, + component_name: Optional[pulumi.Input[str]] = None, + component_type: Optional[pulumi.Input[str]] = None, + connectors: Optional[pulumi.Input[Sequence[pulumi.Input['ExternalDbSystemDiscoveryDiscoveredComponentConnectorArgs']]]] = None, + container_database_id: Optional[pulumi.Input[str]] = None, + cpu_core_count: Optional[pulumi.Input[float]] = None, + crs_base_directory: Optional[pulumi.Input[str]] = None, + db_edition: Optional[pulumi.Input[str]] = None, + db_id: Optional[pulumi.Input[str]] = None, + db_node_name: Optional[pulumi.Input[str]] = None, + db_packs: Optional[pulumi.Input[str]] = None, + db_role: Optional[pulumi.Input[str]] = None, + db_type: Optional[pulumi.Input[str]] = None, + db_unique_name: Optional[pulumi.Input[str]] = None, + db_version: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + endpoints: Optional[pulumi.Input[Sequence[pulumi.Input['ExternalDbSystemDiscoveryDiscoveredComponentEndpointArgs']]]] = None, + grid_home: Optional[pulumi.Input[str]] = None, + guid: Optional[pulumi.Input[str]] = None, + home_directory: Optional[pulumi.Input[str]] = None, + host_name: Optional[pulumi.Input[str]] = None, + instance_name: Optional[pulumi.Input[str]] = None, + is_cluster: Optional[pulumi.Input[bool]] = None, + is_flex_cluster: Optional[pulumi.Input[bool]] = None, + is_flex_enabled: Optional[pulumi.Input[bool]] = None, + is_selected_for_monitoring: Optional[pulumi.Input[bool]] = None, + listener_alias: Optional[pulumi.Input[str]] = None, + listener_type: Optional[pulumi.Input[str]] = None, + log_directory: Optional[pulumi.Input[str]] = None, + memory_size_in_gbs: Optional[pulumi.Input[float]] = None, + network_configurations: Optional[pulumi.Input[Sequence[pulumi.Input['ExternalDbSystemDiscoveryDiscoveredComponentNetworkConfigurationArgs']]]] = None, + node_role: Optional[pulumi.Input[str]] = None, + ocr_file_location: Optional[pulumi.Input[str]] = None, + oracle_home: Optional[pulumi.Input[str]] = None, + pluggable_databases: Optional[pulumi.Input[Sequence[pulumi.Input['ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseArgs']]]] = None, + resource_id: Optional[pulumi.Input[str]] = None, + scan_configurations: Optional[pulumi.Input[Sequence[pulumi.Input['ExternalDbSystemDiscoveryDiscoveredComponentScanConfigurationArgs']]]] = None, + status: Optional[pulumi.Input[str]] = None, + trace_directory: Optional[pulumi.Input[str]] = None, + version: Optional[pulumi.Input[str]] = None, + vip_configurations: Optional[pulumi.Input[Sequence[pulumi.Input['ExternalDbSystemDiscoveryDiscoveredComponentVipConfigurationArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if adr_home_directory is not None: - pulumi.set(__self__, "adr_home_directory", adr_home_directory) + _setter("adr_home_directory", adr_home_directory) if asm_instances is not None: - pulumi.set(__self__, "asm_instances", asm_instances) + _setter("asm_instances", asm_instances) if associated_components is not None: - pulumi.set(__self__, "associated_components", associated_components) + _setter("associated_components", associated_components) if cluster_id is not None: - pulumi.set(__self__, "cluster_id", cluster_id) + _setter("cluster_id", cluster_id) if cluster_instances is not None: - pulumi.set(__self__, "cluster_instances", cluster_instances) + _setter("cluster_instances", cluster_instances) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if component_id is not None: - pulumi.set(__self__, "component_id", component_id) + _setter("component_id", component_id) if component_name is not None: - pulumi.set(__self__, "component_name", component_name) + _setter("component_name", component_name) if component_type is not None: - pulumi.set(__self__, "component_type", component_type) + _setter("component_type", component_type) if connectors is not None: - pulumi.set(__self__, "connectors", connectors) + _setter("connectors", connectors) if container_database_id is not None: - pulumi.set(__self__, "container_database_id", container_database_id) + _setter("container_database_id", container_database_id) if cpu_core_count is not None: - pulumi.set(__self__, "cpu_core_count", cpu_core_count) + _setter("cpu_core_count", cpu_core_count) if crs_base_directory is not None: - pulumi.set(__self__, "crs_base_directory", crs_base_directory) + _setter("crs_base_directory", crs_base_directory) if db_edition is not None: - pulumi.set(__self__, "db_edition", db_edition) + _setter("db_edition", db_edition) if db_id is not None: - pulumi.set(__self__, "db_id", db_id) + _setter("db_id", db_id) if db_node_name is not None: - pulumi.set(__self__, "db_node_name", db_node_name) + _setter("db_node_name", db_node_name) if db_packs is not None: - pulumi.set(__self__, "db_packs", db_packs) + _setter("db_packs", db_packs) if db_role is not None: - pulumi.set(__self__, "db_role", db_role) + _setter("db_role", db_role) if db_type is not None: - pulumi.set(__self__, "db_type", db_type) + _setter("db_type", db_type) if db_unique_name is not None: - pulumi.set(__self__, "db_unique_name", db_unique_name) + _setter("db_unique_name", db_unique_name) if db_version is not None: - pulumi.set(__self__, "db_version", db_version) + _setter("db_version", db_version) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if endpoints is not None: - pulumi.set(__self__, "endpoints", endpoints) + _setter("endpoints", endpoints) if grid_home is not None: - pulumi.set(__self__, "grid_home", grid_home) + _setter("grid_home", grid_home) if guid is not None: - pulumi.set(__self__, "guid", guid) + _setter("guid", guid) if home_directory is not None: - pulumi.set(__self__, "home_directory", home_directory) + _setter("home_directory", home_directory) if host_name is not None: - pulumi.set(__self__, "host_name", host_name) + _setter("host_name", host_name) if instance_name is not None: - pulumi.set(__self__, "instance_name", instance_name) + _setter("instance_name", instance_name) if is_cluster is not None: - pulumi.set(__self__, "is_cluster", is_cluster) + _setter("is_cluster", is_cluster) if is_flex_cluster is not None: - pulumi.set(__self__, "is_flex_cluster", is_flex_cluster) + _setter("is_flex_cluster", is_flex_cluster) if is_flex_enabled is not None: - pulumi.set(__self__, "is_flex_enabled", is_flex_enabled) + _setter("is_flex_enabled", is_flex_enabled) if is_selected_for_monitoring is not None: - pulumi.set(__self__, "is_selected_for_monitoring", is_selected_for_monitoring) + _setter("is_selected_for_monitoring", is_selected_for_monitoring) if listener_alias is not None: - pulumi.set(__self__, "listener_alias", listener_alias) + _setter("listener_alias", listener_alias) if listener_type is not None: - pulumi.set(__self__, "listener_type", listener_type) + _setter("listener_type", listener_type) if log_directory is not None: - pulumi.set(__self__, "log_directory", log_directory) + _setter("log_directory", log_directory) if memory_size_in_gbs is not None: - pulumi.set(__self__, "memory_size_in_gbs", memory_size_in_gbs) + _setter("memory_size_in_gbs", memory_size_in_gbs) if network_configurations is not None: - pulumi.set(__self__, "network_configurations", network_configurations) + _setter("network_configurations", network_configurations) if node_role is not None: - pulumi.set(__self__, "node_role", node_role) + _setter("node_role", node_role) if ocr_file_location is not None: - pulumi.set(__self__, "ocr_file_location", ocr_file_location) + _setter("ocr_file_location", ocr_file_location) if oracle_home is not None: - pulumi.set(__self__, "oracle_home", oracle_home) + _setter("oracle_home", oracle_home) if pluggable_databases is not None: - pulumi.set(__self__, "pluggable_databases", pluggable_databases) + _setter("pluggable_databases", pluggable_databases) if resource_id is not None: - pulumi.set(__self__, "resource_id", resource_id) + _setter("resource_id", resource_id) if scan_configurations is not None: - pulumi.set(__self__, "scan_configurations", scan_configurations) + _setter("scan_configurations", scan_configurations) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if trace_directory is not None: - pulumi.set(__self__, "trace_directory", trace_directory) + _setter("trace_directory", trace_directory) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) if vip_configurations is not None: - pulumi.set(__self__, "vip_configurations", vip_configurations) + _setter("vip_configurations", vip_configurations) @property @pulumi.getter(name="adrHomeDirectory") @@ -1448,12 +1671,25 @@ def __init__(__self__, *, :param pulumi.Input[str] host_name: The host name of the database or the SCAN name in case of a RAC database. :param pulumi.Input[str] instance_name: The name of the ASM instance. """ + ExternalDbSystemDiscoveryDiscoveredComponentAsmInstanceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + adr_home_directory=adr_home_directory, + host_name=host_name, + instance_name=instance_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + adr_home_directory: Optional[pulumi.Input[str]] = None, + host_name: Optional[pulumi.Input[str]] = None, + instance_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if adr_home_directory is not None: - pulumi.set(__self__, "adr_home_directory", adr_home_directory) + _setter("adr_home_directory", adr_home_directory) if host_name is not None: - pulumi.set(__self__, "host_name", host_name) + _setter("host_name", host_name) if instance_name is not None: - pulumi.set(__self__, "instance_name", instance_name) + _setter("instance_name", instance_name) @property @pulumi.getter(name="adrHomeDirectory") @@ -1503,12 +1739,25 @@ def __init__(__self__, *, :param pulumi.Input[str] component_id: The identifier of the discovered DB system component. :param pulumi.Input[str] component_type: The component type. """ + ExternalDbSystemDiscoveryDiscoveredComponentAssociatedComponentArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + association_type=association_type, + component_id=component_id, + component_type=component_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + association_type: Optional[pulumi.Input[str]] = None, + component_id: Optional[pulumi.Input[str]] = None, + component_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if association_type is not None: - pulumi.set(__self__, "association_type", association_type) + _setter("association_type", association_type) if component_id is not None: - pulumi.set(__self__, "component_id", component_id) + _setter("component_id", component_id) if component_type is not None: - pulumi.set(__self__, "component_type", component_type) + _setter("component_type", component_type) @property @pulumi.getter(name="associationType") @@ -1564,18 +1813,37 @@ def __init__(__self__, *, :param pulumi.Input[str] host_name: The host name of the database or the SCAN name in case of a RAC database. :param pulumi.Input[str] node_role: The role of the cluster node. """ + ExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + adr_home_directory=adr_home_directory, + cluster_id=cluster_id, + connectors=connectors, + crs_base_directory=crs_base_directory, + host_name=host_name, + node_role=node_role, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + adr_home_directory: Optional[pulumi.Input[str]] = None, + cluster_id: Optional[pulumi.Input[str]] = None, + connectors: Optional[pulumi.Input[Sequence[pulumi.Input['ExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorArgs']]]] = None, + crs_base_directory: Optional[pulumi.Input[str]] = None, + host_name: Optional[pulumi.Input[str]] = None, + node_role: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if adr_home_directory is not None: - pulumi.set(__self__, "adr_home_directory", adr_home_directory) + _setter("adr_home_directory", adr_home_directory) if cluster_id is not None: - pulumi.set(__self__, "cluster_id", cluster_id) + _setter("cluster_id", cluster_id) if connectors is not None: - pulumi.set(__self__, "connectors", connectors) + _setter("connectors", connectors) if crs_base_directory is not None: - pulumi.set(__self__, "crs_base_directory", crs_base_directory) + _setter("crs_base_directory", crs_base_directory) if host_name is not None: - pulumi.set(__self__, "host_name", host_name) + _setter("host_name", host_name) if node_role is not None: - pulumi.set(__self__, "node_role", node_role) + _setter("node_role", node_role) @property @pulumi.getter(name="adrHomeDirectory") @@ -1669,20 +1937,41 @@ def __init__(__self__, *, :param pulumi.Input[str] display_name: (Updatable) The user-friendly name for the DB system. The name does not have to be unique. :param pulumi.Input[str] time_connection_status_last_updated: The date and time the connectionStatus of the external DB system connector was last updated. """ + ExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + agent_id=agent_id, + connection_failure_message=connection_failure_message, + connection_infos=connection_infos, + connection_status=connection_status, + connector_type=connector_type, + display_name=display_name, + time_connection_status_last_updated=time_connection_status_last_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agent_id: Optional[pulumi.Input[str]] = None, + connection_failure_message: Optional[pulumi.Input[str]] = None, + connection_infos: Optional[pulumi.Input[Sequence[pulumi.Input['ExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoArgs']]]] = None, + connection_status: Optional[pulumi.Input[str]] = None, + connector_type: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + time_connection_status_last_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if agent_id is not None: - pulumi.set(__self__, "agent_id", agent_id) + _setter("agent_id", agent_id) if connection_failure_message is not None: - pulumi.set(__self__, "connection_failure_message", connection_failure_message) + _setter("connection_failure_message", connection_failure_message) if connection_infos is not None: - pulumi.set(__self__, "connection_infos", connection_infos) + _setter("connection_infos", connection_infos) if connection_status is not None: - pulumi.set(__self__, "connection_status", connection_status) + _setter("connection_status", connection_status) if connector_type is not None: - pulumi.set(__self__, "connector_type", connector_type) + _setter("connector_type", connector_type) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if time_connection_status_last_updated is not None: - pulumi.set(__self__, "time_connection_status_last_updated", time_connection_status_last_updated) + _setter("time_connection_status_last_updated", time_connection_status_last_updated) @property @pulumi.getter(name="agentId") @@ -1780,12 +2069,25 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['ExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredentialArgs']]] connection_credentials: The credentials used to connect to the ASM instance. Currently only the `DETAILS` type is supported for creating MACS connector credentials. :param pulumi.Input[Sequence[pulumi.Input['ExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionStringArgs']]] connection_strings: The Oracle Database connection string. """ + ExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + component_type=component_type, + connection_credentials=connection_credentials, + connection_strings=connection_strings, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + component_type: Optional[pulumi.Input[str]] = None, + connection_credentials: Optional[pulumi.Input[Sequence[pulumi.Input['ExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredentialArgs']]]] = None, + connection_strings: Optional[pulumi.Input[Sequence[pulumi.Input['ExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionStringArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if component_type is not None: - pulumi.set(__self__, "component_type", component_type) + _setter("component_type", component_type) if connection_credentials is not None: - pulumi.set(__self__, "connection_credentials", connection_credentials) + _setter("connection_credentials", connection_credentials) if connection_strings is not None: - pulumi.set(__self__, "connection_strings", connection_strings) + _setter("connection_strings", connection_strings) @property @pulumi.getter(name="componentType") @@ -1841,18 +2143,37 @@ def __init__(__self__, *, :param pulumi.Input[str] ssl_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. :param pulumi.Input[str] user_name: The user name used to connect to the ASM instance. """ + ExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredentialArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + credential_name=credential_name, + credential_type=credential_type, + password_secret_id=password_secret_id, + role=role, + ssl_secret_id=ssl_secret_id, + user_name=user_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + credential_name: Optional[pulumi.Input[str]] = None, + credential_type: Optional[pulumi.Input[str]] = None, + password_secret_id: Optional[pulumi.Input[str]] = None, + role: Optional[pulumi.Input[str]] = None, + ssl_secret_id: Optional[pulumi.Input[str]] = None, + user_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if credential_name is not None: - pulumi.set(__self__, "credential_name", credential_name) + _setter("credential_name", credential_name) if credential_type is not None: - pulumi.set(__self__, "credential_type", credential_type) + _setter("credential_type", credential_type) if password_secret_id is not None: - pulumi.set(__self__, "password_secret_id", password_secret_id) + _setter("password_secret_id", password_secret_id) if role is not None: - pulumi.set(__self__, "role", role) + _setter("role", role) if ssl_secret_id is not None: - pulumi.set(__self__, "ssl_secret_id", ssl_secret_id) + _setter("ssl_secret_id", ssl_secret_id) if user_name is not None: - pulumi.set(__self__, "user_name", user_name) + _setter("user_name", user_name) @property @pulumi.getter(name="credentialName") @@ -1942,16 +2263,33 @@ def __init__(__self__, *, :param pulumi.Input[str] protocol: The protocol used to connect to the ASM instance. :param pulumi.Input[str] service: The service name of the ASM instance. """ + ExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionStringArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + host_name=host_name, + hosts=hosts, + port=port, + protocol=protocol, + service=service, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host_name: Optional[pulumi.Input[str]] = None, + hosts: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + port: Optional[pulumi.Input[int]] = None, + protocol: Optional[pulumi.Input[str]] = None, + service: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if host_name is not None: - pulumi.set(__self__, "host_name", host_name) + _setter("host_name", host_name) if hosts is not None: - pulumi.set(__self__, "hosts", hosts) + _setter("hosts", hosts) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if protocol is not None: - pulumi.set(__self__, "protocol", protocol) + _setter("protocol", protocol) if service is not None: - pulumi.set(__self__, "service", service) + _setter("service", service) @property @pulumi.getter(name="hostName") @@ -2033,20 +2371,41 @@ def __init__(__self__, *, :param pulumi.Input[str] display_name: (Updatable) The user-friendly name for the DB system. The name does not have to be unique. :param pulumi.Input[str] time_connection_status_last_updated: The date and time the connectionStatus of the external DB system connector was last updated. """ + ExternalDbSystemDiscoveryDiscoveredComponentConnectorArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + agent_id=agent_id, + connection_failure_message=connection_failure_message, + connection_infos=connection_infos, + connection_status=connection_status, + connector_type=connector_type, + display_name=display_name, + time_connection_status_last_updated=time_connection_status_last_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agent_id: Optional[pulumi.Input[str]] = None, + connection_failure_message: Optional[pulumi.Input[str]] = None, + connection_infos: Optional[pulumi.Input[Sequence[pulumi.Input['ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoArgs']]]] = None, + connection_status: Optional[pulumi.Input[str]] = None, + connector_type: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + time_connection_status_last_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if agent_id is not None: - pulumi.set(__self__, "agent_id", agent_id) + _setter("agent_id", agent_id) if connection_failure_message is not None: - pulumi.set(__self__, "connection_failure_message", connection_failure_message) + _setter("connection_failure_message", connection_failure_message) if connection_infos is not None: - pulumi.set(__self__, "connection_infos", connection_infos) + _setter("connection_infos", connection_infos) if connection_status is not None: - pulumi.set(__self__, "connection_status", connection_status) + _setter("connection_status", connection_status) if connector_type is not None: - pulumi.set(__self__, "connector_type", connector_type) + _setter("connector_type", connector_type) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if time_connection_status_last_updated is not None: - pulumi.set(__self__, "time_connection_status_last_updated", time_connection_status_last_updated) + _setter("time_connection_status_last_updated", time_connection_status_last_updated) @property @pulumi.getter(name="agentId") @@ -2144,12 +2503,25 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionCredentialArgs']]] connection_credentials: The credentials used to connect to the ASM instance. Currently only the `DETAILS` type is supported for creating MACS connector credentials. :param pulumi.Input[Sequence[pulumi.Input['ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionStringArgs']]] connection_strings: The Oracle Database connection string. """ + ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + component_type=component_type, + connection_credentials=connection_credentials, + connection_strings=connection_strings, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + component_type: Optional[pulumi.Input[str]] = None, + connection_credentials: Optional[pulumi.Input[Sequence[pulumi.Input['ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionCredentialArgs']]]] = None, + connection_strings: Optional[pulumi.Input[Sequence[pulumi.Input['ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionStringArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if component_type is not None: - pulumi.set(__self__, "component_type", component_type) + _setter("component_type", component_type) if connection_credentials is not None: - pulumi.set(__self__, "connection_credentials", connection_credentials) + _setter("connection_credentials", connection_credentials) if connection_strings is not None: - pulumi.set(__self__, "connection_strings", connection_strings) + _setter("connection_strings", connection_strings) @property @pulumi.getter(name="componentType") @@ -2205,18 +2577,37 @@ def __init__(__self__, *, :param pulumi.Input[str] ssl_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. :param pulumi.Input[str] user_name: The user name used to connect to the ASM instance. """ + ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionCredentialArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + credential_name=credential_name, + credential_type=credential_type, + password_secret_id=password_secret_id, + role=role, + ssl_secret_id=ssl_secret_id, + user_name=user_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + credential_name: Optional[pulumi.Input[str]] = None, + credential_type: Optional[pulumi.Input[str]] = None, + password_secret_id: Optional[pulumi.Input[str]] = None, + role: Optional[pulumi.Input[str]] = None, + ssl_secret_id: Optional[pulumi.Input[str]] = None, + user_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if credential_name is not None: - pulumi.set(__self__, "credential_name", credential_name) + _setter("credential_name", credential_name) if credential_type is not None: - pulumi.set(__self__, "credential_type", credential_type) + _setter("credential_type", credential_type) if password_secret_id is not None: - pulumi.set(__self__, "password_secret_id", password_secret_id) + _setter("password_secret_id", password_secret_id) if role is not None: - pulumi.set(__self__, "role", role) + _setter("role", role) if ssl_secret_id is not None: - pulumi.set(__self__, "ssl_secret_id", ssl_secret_id) + _setter("ssl_secret_id", ssl_secret_id) if user_name is not None: - pulumi.set(__self__, "user_name", user_name) + _setter("user_name", user_name) @property @pulumi.getter(name="credentialName") @@ -2306,16 +2697,33 @@ def __init__(__self__, *, :param pulumi.Input[str] protocol: The protocol used to connect to the ASM instance. :param pulumi.Input[str] service: The service name of the ASM instance. """ + ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionStringArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + host_name=host_name, + hosts=hosts, + port=port, + protocol=protocol, + service=service, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host_name: Optional[pulumi.Input[str]] = None, + hosts: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + port: Optional[pulumi.Input[int]] = None, + protocol: Optional[pulumi.Input[str]] = None, + service: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if host_name is not None: - pulumi.set(__self__, "host_name", host_name) + _setter("host_name", host_name) if hosts is not None: - pulumi.set(__self__, "hosts", hosts) + _setter("hosts", hosts) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if protocol is not None: - pulumi.set(__self__, "protocol", protocol) + _setter("protocol", protocol) if service is not None: - pulumi.set(__self__, "service", service) + _setter("service", service) @property @pulumi.getter(name="hostName") @@ -2393,16 +2801,33 @@ def __init__(__self__, *, :param pulumi.Input[str] protocol: The protocol used to connect to the ASM instance. :param pulumi.Input[Sequence[pulumi.Input[str]]] services: The list of services registered with the listener. """ + ExternalDbSystemDiscoveryDiscoveredComponentEndpointArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + host=host, + key=key, + port=port, + protocol=protocol, + services=services, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host: Optional[pulumi.Input[str]] = None, + key: Optional[pulumi.Input[str]] = None, + port: Optional[pulumi.Input[int]] = None, + protocol: Optional[pulumi.Input[str]] = None, + services: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if host is not None: - pulumi.set(__self__, "host", host) + _setter("host", host) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if protocol is not None: - pulumi.set(__self__, "protocol", protocol) + _setter("protocol", protocol) if services is not None: - pulumi.set(__self__, "services", services) + _setter("services", services) @property @pulumi.getter @@ -2476,12 +2901,25 @@ def __init__(__self__, *, :param pulumi.Input[str] network_type: The network type. :param pulumi.Input[str] subnet: The subnet for the network. """ + ExternalDbSystemDiscoveryDiscoveredComponentNetworkConfigurationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + network_number=network_number, + network_type=network_type, + subnet=subnet, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + network_number: Optional[pulumi.Input[int]] = None, + network_type: Optional[pulumi.Input[str]] = None, + subnet: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if network_number is not None: - pulumi.set(__self__, "network_number", network_number) + _setter("network_number", network_number) if network_type is not None: - pulumi.set(__self__, "network_type", network_type) + _setter("network_type", network_type) if subnet is not None: - pulumi.set(__self__, "subnet", subnet) + _setter("subnet", subnet) @property @pulumi.getter(name="networkNumber") @@ -2533,14 +2971,29 @@ def __init__(__self__, *, :param pulumi.Input[str] container_database_id: The unique identifier of the parent Container Database (CDB). :param pulumi.Input[str] guid: The unique identifier of the PDB. """ + ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + connectors=connectors, + container_database_id=container_database_id, + guid=guid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + connectors: Optional[pulumi.Input[Sequence[pulumi.Input['ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorArgs']]]] = None, + container_database_id: Optional[pulumi.Input[str]] = None, + guid: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if connectors is not None: - pulumi.set(__self__, "connectors", connectors) + _setter("connectors", connectors) if container_database_id is not None: - pulumi.set(__self__, "container_database_id", container_database_id) + _setter("container_database_id", container_database_id) if guid is not None: - pulumi.set(__self__, "guid", guid) + _setter("guid", guid) @property @pulumi.getter(name="compartmentId") @@ -2610,20 +3063,41 @@ def __init__(__self__, *, :param pulumi.Input[str] display_name: (Updatable) The user-friendly name for the DB system. The name does not have to be unique. :param pulumi.Input[str] time_connection_status_last_updated: The date and time the connectionStatus of the external DB system connector was last updated. """ + ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + agent_id=agent_id, + connection_failure_message=connection_failure_message, + connection_infos=connection_infos, + connection_status=connection_status, + connector_type=connector_type, + display_name=display_name, + time_connection_status_last_updated=time_connection_status_last_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agent_id: Optional[pulumi.Input[str]] = None, + connection_failure_message: Optional[pulumi.Input[str]] = None, + connection_infos: Optional[pulumi.Input[Sequence[pulumi.Input['ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoArgs']]]] = None, + connection_status: Optional[pulumi.Input[str]] = None, + connector_type: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + time_connection_status_last_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if agent_id is not None: - pulumi.set(__self__, "agent_id", agent_id) + _setter("agent_id", agent_id) if connection_failure_message is not None: - pulumi.set(__self__, "connection_failure_message", connection_failure_message) + _setter("connection_failure_message", connection_failure_message) if connection_infos is not None: - pulumi.set(__self__, "connection_infos", connection_infos) + _setter("connection_infos", connection_infos) if connection_status is not None: - pulumi.set(__self__, "connection_status", connection_status) + _setter("connection_status", connection_status) if connector_type is not None: - pulumi.set(__self__, "connector_type", connector_type) + _setter("connector_type", connector_type) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if time_connection_status_last_updated is not None: - pulumi.set(__self__, "time_connection_status_last_updated", time_connection_status_last_updated) + _setter("time_connection_status_last_updated", time_connection_status_last_updated) @property @pulumi.getter(name="agentId") @@ -2721,12 +3195,25 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredentialArgs']]] connection_credentials: The credentials used to connect to the ASM instance. Currently only the `DETAILS` type is supported for creating MACS connector credentials. :param pulumi.Input[Sequence[pulumi.Input['ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionStringArgs']]] connection_strings: The Oracle Database connection string. """ + ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + component_type=component_type, + connection_credentials=connection_credentials, + connection_strings=connection_strings, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + component_type: Optional[pulumi.Input[str]] = None, + connection_credentials: Optional[pulumi.Input[Sequence[pulumi.Input['ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredentialArgs']]]] = None, + connection_strings: Optional[pulumi.Input[Sequence[pulumi.Input['ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionStringArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if component_type is not None: - pulumi.set(__self__, "component_type", component_type) + _setter("component_type", component_type) if connection_credentials is not None: - pulumi.set(__self__, "connection_credentials", connection_credentials) + _setter("connection_credentials", connection_credentials) if connection_strings is not None: - pulumi.set(__self__, "connection_strings", connection_strings) + _setter("connection_strings", connection_strings) @property @pulumi.getter(name="componentType") @@ -2782,18 +3269,37 @@ def __init__(__self__, *, :param pulumi.Input[str] ssl_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. :param pulumi.Input[str] user_name: The user name used to connect to the ASM instance. """ + ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredentialArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + credential_name=credential_name, + credential_type=credential_type, + password_secret_id=password_secret_id, + role=role, + ssl_secret_id=ssl_secret_id, + user_name=user_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + credential_name: Optional[pulumi.Input[str]] = None, + credential_type: Optional[pulumi.Input[str]] = None, + password_secret_id: Optional[pulumi.Input[str]] = None, + role: Optional[pulumi.Input[str]] = None, + ssl_secret_id: Optional[pulumi.Input[str]] = None, + user_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if credential_name is not None: - pulumi.set(__self__, "credential_name", credential_name) + _setter("credential_name", credential_name) if credential_type is not None: - pulumi.set(__self__, "credential_type", credential_type) + _setter("credential_type", credential_type) if password_secret_id is not None: - pulumi.set(__self__, "password_secret_id", password_secret_id) + _setter("password_secret_id", password_secret_id) if role is not None: - pulumi.set(__self__, "role", role) + _setter("role", role) if ssl_secret_id is not None: - pulumi.set(__self__, "ssl_secret_id", ssl_secret_id) + _setter("ssl_secret_id", ssl_secret_id) if user_name is not None: - pulumi.set(__self__, "user_name", user_name) + _setter("user_name", user_name) @property @pulumi.getter(name="credentialName") @@ -2883,16 +3389,33 @@ def __init__(__self__, *, :param pulumi.Input[str] protocol: The protocol used to connect to the ASM instance. :param pulumi.Input[str] service: The service name of the ASM instance. """ + ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionStringArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + host_name=host_name, + hosts=hosts, + port=port, + protocol=protocol, + service=service, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host_name: Optional[pulumi.Input[str]] = None, + hosts: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + port: Optional[pulumi.Input[int]] = None, + protocol: Optional[pulumi.Input[str]] = None, + service: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if host_name is not None: - pulumi.set(__self__, "host_name", host_name) + _setter("host_name", host_name) if hosts is not None: - pulumi.set(__self__, "hosts", hosts) + _setter("hosts", hosts) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if protocol is not None: - pulumi.set(__self__, "protocol", protocol) + _setter("protocol", protocol) if service is not None: - pulumi.set(__self__, "service", service) + _setter("service", service) @property @pulumi.getter(name="hostName") @@ -2968,14 +3491,29 @@ def __init__(__self__, *, :param pulumi.Input[int] scan_port: The port number of the SCAN listener. :param pulumi.Input[str] scan_protocol: The protocol of the SCAN listener. """ + ExternalDbSystemDiscoveryDiscoveredComponentScanConfigurationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + network_number=network_number, + scan_name=scan_name, + scan_port=scan_port, + scan_protocol=scan_protocol, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + network_number: Optional[pulumi.Input[int]] = None, + scan_name: Optional[pulumi.Input[str]] = None, + scan_port: Optional[pulumi.Input[int]] = None, + scan_protocol: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if network_number is not None: - pulumi.set(__self__, "network_number", network_number) + _setter("network_number", network_number) if scan_name is not None: - pulumi.set(__self__, "scan_name", scan_name) + _setter("scan_name", scan_name) if scan_port is not None: - pulumi.set(__self__, "scan_port", scan_port) + _setter("scan_port", scan_port) if scan_protocol is not None: - pulumi.set(__self__, "scan_protocol", scan_protocol) + _setter("scan_protocol", scan_protocol) @property @pulumi.getter(name="networkNumber") @@ -3037,12 +3575,25 @@ def __init__(__self__, *, :param pulumi.Input[int] network_number: The network number from which VIPs are obtained. :param pulumi.Input[str] node_name: The name of the node with the VIP. """ + ExternalDbSystemDiscoveryDiscoveredComponentVipConfigurationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + address=address, + network_number=network_number, + node_name=node_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address: Optional[pulumi.Input[str]] = None, + network_number: Optional[pulumi.Input[int]] = None, + node_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if address is not None: - pulumi.set(__self__, "address", address) + _setter("address", address) if network_number is not None: - pulumi.set(__self__, "network_number", network_number) + _setter("network_number", network_number) if node_name is not None: - pulumi.set(__self__, "node_name", node_name) + _setter("node_name", node_name) @property @pulumi.getter @@ -3096,10 +3647,23 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "operation", operation) - pulumi.set(__self__, "selection", selection) + ExternalDbSystemDiscoveryPatchOperationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + operation=operation, + selection=selection, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + operation: pulumi.Input[str], + selection: pulumi.Input[str], + value: Optional[pulumi.Input['ExternalDbSystemDiscoveryPatchOperationValueArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("operation", operation) + _setter("selection", selection) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -3155,14 +3719,29 @@ def __init__(__self__, *, :param pulumi.Input[str] display_name: (Updatable) The user-friendly name for the DB system. The name does not have to be unique. :param pulumi.Input[bool] is_selected_for_monitoring: Indicates whether the DB system component should be provisioned as an Oracle Cloud Infrastructure resource or not. """ + ExternalDbSystemDiscoveryPatchOperationValueArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + connector=connector, + display_name=display_name, + is_selected_for_monitoring=is_selected_for_monitoring, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + connector: Optional[pulumi.Input['ExternalDbSystemDiscoveryPatchOperationValueConnectorArgs']] = None, + display_name: Optional[pulumi.Input[str]] = None, + is_selected_for_monitoring: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if connector is not None: - pulumi.set(__self__, "connector", connector) + _setter("connector", connector) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if is_selected_for_monitoring is not None: - pulumi.set(__self__, "is_selected_for_monitoring", is_selected_for_monitoring) + _setter("is_selected_for_monitoring", is_selected_for_monitoring) @property @pulumi.getter(name="compartmentId") @@ -3226,12 +3805,27 @@ def __init__(__self__, *, :param pulumi.Input[str] agent_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent used for the external DB system discovery. :param pulumi.Input['ExternalDbSystemDiscoveryPatchOperationValueConnectorConnectionInfoArgs'] connection_info: The connection details required to connect to an external DB system component. """ - pulumi.set(__self__, "connector_type", connector_type) - pulumi.set(__self__, "display_name", display_name) + ExternalDbSystemDiscoveryPatchOperationValueConnectorArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + connector_type=connector_type, + display_name=display_name, + agent_id=agent_id, + connection_info=connection_info, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + connector_type: pulumi.Input[str], + display_name: pulumi.Input[str], + agent_id: Optional[pulumi.Input[str]] = None, + connection_info: Optional[pulumi.Input['ExternalDbSystemDiscoveryPatchOperationValueConnectorConnectionInfoArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("connector_type", connector_type) + _setter("display_name", display_name) if agent_id is not None: - pulumi.set(__self__, "agent_id", agent_id) + _setter("agent_id", agent_id) if connection_info is not None: - pulumi.set(__self__, "connection_info", connection_info) + _setter("connection_info", connection_info) @property @pulumi.getter(name="connectorType") @@ -3293,11 +3887,24 @@ def __init__(__self__, *, :param pulumi.Input['ExternalDbSystemDiscoveryPatchOperationValueConnectorConnectionInfoConnectionCredentialsArgs'] connection_credentials: The credentials used to connect to the ASM instance. Currently only the `DETAILS` type is supported for creating MACS connector credentials. :param pulumi.Input['ExternalDbSystemDiscoveryPatchOperationValueConnectorConnectionInfoConnectionStringArgs'] connection_string: The Oracle Database connection string. """ - pulumi.set(__self__, "component_type", component_type) + ExternalDbSystemDiscoveryPatchOperationValueConnectorConnectionInfoArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + component_type=component_type, + connection_credentials=connection_credentials, + connection_string=connection_string, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + component_type: pulumi.Input[str], + connection_credentials: Optional[pulumi.Input['ExternalDbSystemDiscoveryPatchOperationValueConnectorConnectionInfoConnectionCredentialsArgs']] = None, + connection_string: Optional[pulumi.Input['ExternalDbSystemDiscoveryPatchOperationValueConnectorConnectionInfoConnectionStringArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("component_type", component_type) if connection_credentials is not None: - pulumi.set(__self__, "connection_credentials", connection_credentials) + _setter("connection_credentials", connection_credentials) if connection_string is not None: - pulumi.set(__self__, "connection_string", connection_string) + _setter("connection_string", connection_string) @property @pulumi.getter(name="componentType") @@ -3353,17 +3960,36 @@ def __init__(__self__, *, :param pulumi.Input[str] ssl_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. :param pulumi.Input[str] user_name: The user name used to connect to the ASM instance. """ - pulumi.set(__self__, "credential_type", credential_type) + ExternalDbSystemDiscoveryPatchOperationValueConnectorConnectionInfoConnectionCredentialsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + credential_type=credential_type, + credential_name=credential_name, + password_secret_id=password_secret_id, + role=role, + ssl_secret_id=ssl_secret_id, + user_name=user_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + credential_type: pulumi.Input[str], + credential_name: Optional[pulumi.Input[str]] = None, + password_secret_id: Optional[pulumi.Input[str]] = None, + role: Optional[pulumi.Input[str]] = None, + ssl_secret_id: Optional[pulumi.Input[str]] = None, + user_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("credential_type", credential_type) if credential_name is not None: - pulumi.set(__self__, "credential_name", credential_name) + _setter("credential_name", credential_name) if password_secret_id is not None: - pulumi.set(__self__, "password_secret_id", password_secret_id) + _setter("password_secret_id", password_secret_id) if role is not None: - pulumi.set(__self__, "role", role) + _setter("role", role) if ssl_secret_id is not None: - pulumi.set(__self__, "ssl_secret_id", ssl_secret_id) + _setter("ssl_secret_id", ssl_secret_id) if user_name is not None: - pulumi.set(__self__, "user_name", user_name) + _setter("user_name", user_name) @property @pulumi.getter(name="credentialType") @@ -3453,16 +4079,33 @@ def __init__(__self__, *, :param pulumi.Input[str] protocol: The protocol used to connect to the ASM instance. :param pulumi.Input[str] service: The service name of the ASM instance. """ + ExternalDbSystemDiscoveryPatchOperationValueConnectorConnectionInfoConnectionStringArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + host_name=host_name, + hosts=hosts, + port=port, + protocol=protocol, + service=service, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host_name: Optional[pulumi.Input[str]] = None, + hosts: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + port: Optional[pulumi.Input[int]] = None, + protocol: Optional[pulumi.Input[str]] = None, + service: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if host_name is not None: - pulumi.set(__self__, "host_name", host_name) + _setter("host_name", host_name) if hosts is not None: - pulumi.set(__self__, "hosts", hosts) + _setter("hosts", hosts) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if protocol is not None: - pulumi.set(__self__, "protocol", protocol) + _setter("protocol", protocol) if service is not None: - pulumi.set(__self__, "service", service) + _setter("service", service) @property @pulumi.getter(name="hostName") @@ -3538,9 +4181,20 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "is_enabled", is_enabled) + ExternalDbSystemStackMonitoringConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + metadata=metadata, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: pulumi.Input[bool], + metadata: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_enabled", is_enabled) if metadata is not None: - pulumi.set(__self__, "metadata", metadata) + _setter("metadata", metadata) @property @pulumi.getter(name="isEnabled") @@ -3600,30 +4254,61 @@ def __init__(__self__, *, :param pulumi.Input[str] time_updated: The timestamp of the last update of the Exadata resource. :param pulumi.Input[str] version: The version of the Exadata resource. """ + ExternalExadataInfrastructureDatabaseSystemArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + additional_details=additional_details, + compartment_id=compartment_id, + display_name=display_name, + id=id, + internal_id=internal_id, + license_model=license_model, + lifecycle_details=lifecycle_details, + state=state, + status=status, + time_created=time_created, + time_updated=time_updated, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + additional_details: Optional[pulumi.Input[Mapping[str, Any]]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + id: Optional[pulumi.Input[str]] = None, + internal_id: Optional[pulumi.Input[str]] = None, + license_model: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + version: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if additional_details is not None: - pulumi.set(__self__, "additional_details", additional_details) + _setter("additional_details", additional_details) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if internal_id is not None: - pulumi.set(__self__, "internal_id", internal_id) + _setter("internal_id", internal_id) if license_model is not None: - pulumi.set(__self__, "license_model", license_model) + _setter("license_model", license_model) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter(name="additionalDetails") @@ -3797,28 +4482,57 @@ def __init__(__self__, *, :param pulumi.Input[str] time_updated: The timestamp of the last update of the Exadata resource. :param pulumi.Input[str] version: The version of the Exadata resource. """ + ExternalExadataInfrastructureStorageGridArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + additional_details=additional_details, + display_name=display_name, + id=id, + internal_id=internal_id, + lifecycle_details=lifecycle_details, + server_count=server_count, + state=state, + status=status, + time_created=time_created, + time_updated=time_updated, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + additional_details: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + id: Optional[pulumi.Input[str]] = None, + internal_id: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + server_count: Optional[pulumi.Input[float]] = None, + state: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + version: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if additional_details is not None: - pulumi.set(__self__, "additional_details", additional_details) + _setter("additional_details", additional_details) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if internal_id is not None: - pulumi.set(__self__, "internal_id", internal_id) + _setter("internal_id", internal_id) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if server_count is not None: - pulumi.set(__self__, "server_count", server_count) + _setter("server_count", server_count) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter(name="additionalDetails") @@ -3968,14 +4682,31 @@ def __init__(__self__, *, :param pulumi.Input[str] ssl_trust_store_password: (Updatable) The password of the SSL truststore location in the agent. :param pulumi.Input[str] ssl_trust_store_type: (Updatable) The SSL truststore type. """ - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "username", username) + ExternalExadataStorageConnectorCredentialInfoArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + password=password, + username=username, + ssl_trust_store_location=ssl_trust_store_location, + ssl_trust_store_password=ssl_trust_store_password, + ssl_trust_store_type=ssl_trust_store_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + password: pulumi.Input[str], + username: pulumi.Input[str], + ssl_trust_store_location: Optional[pulumi.Input[str]] = None, + ssl_trust_store_password: Optional[pulumi.Input[str]] = None, + ssl_trust_store_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("password", password) + _setter("username", username) if ssl_trust_store_location is not None: - pulumi.set(__self__, "ssl_trust_store_location", ssl_trust_store_location) + _setter("ssl_trust_store_location", ssl_trust_store_location) if ssl_trust_store_password is not None: - pulumi.set(__self__, "ssl_trust_store_password", ssl_trust_store_password) + _setter("ssl_trust_store_password", ssl_trust_store_password) if ssl_trust_store_type is not None: - pulumi.set(__self__, "ssl_trust_store_type", ssl_trust_store_type) + _setter("ssl_trust_store_type", ssl_trust_store_type) @property @pulumi.getter @@ -4053,16 +4784,33 @@ def __init__(__self__, *, :param pulumi.Input[str] protocol: The listener protocol. :param pulumi.Input[Sequence[pulumi.Input[str]]] services: The list of services registered with the listener. """ + ExternalListenerEndpointArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + host=host, + key=key, + port=port, + protocol=protocol, + services=services, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host: Optional[pulumi.Input[str]] = None, + key: Optional[pulumi.Input[str]] = None, + port: Optional[pulumi.Input[int]] = None, + protocol: Optional[pulumi.Input[str]] = None, + services: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if host is not None: - pulumi.set(__self__, "host", host) + _setter("host", host) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if protocol is not None: - pulumi.set(__self__, "protocol", protocol) + _setter("protocol", protocol) if services is not None: - pulumi.set(__self__, "services", services) + _setter("services", services) @property @pulumi.getter @@ -4136,12 +4884,25 @@ def __init__(__self__, *, :param pulumi.Input[str] display_name: The user-friendly name for the database. The name does not have to be unique. :param pulumi.Input[str] id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database. """ + ExternalListenerServicedAsmArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) @property @pulumi.getter(name="compartmentId") @@ -4199,20 +4960,41 @@ def __init__(__self__, *, :param pulumi.Input[str] id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database. :param pulumi.Input[bool] is_managed: Indicates whether the database is a Managed Database or not. """ + ExternalListenerServicedDatabaseArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + database_sub_type=database_sub_type, + database_type=database_type, + db_unique_name=db_unique_name, + display_name=display_name, + id=id, + is_managed=is_managed, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + database_sub_type: Optional[pulumi.Input[str]] = None, + database_type: Optional[pulumi.Input[str]] = None, + db_unique_name: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + id: Optional[pulumi.Input[str]] = None, + is_managed: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if database_sub_type is not None: - pulumi.set(__self__, "database_sub_type", database_sub_type) + _setter("database_sub_type", database_sub_type) if database_type is not None: - pulumi.set(__self__, "database_type", database_type) + _setter("database_type", database_type) if db_unique_name is not None: - pulumi.set(__self__, "db_unique_name", db_unique_name) + _setter("db_unique_name", db_unique_name) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if is_managed is not None: - pulumi.set(__self__, "is_managed", is_managed) + _setter("is_managed", is_managed) @property @pulumi.getter(name="compartmentId") @@ -4324,22 +5106,45 @@ def __init__(__self__, *, :param pulumi.Input[str] time_added: The date and time the Managed Database was added to the group. :param pulumi.Input[str] workload_type: The workload type of the Autonomous Database. """ + ManagedDatabaseGroupManagedDatabaseArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + database_sub_type=database_sub_type, + database_type=database_type, + deployment_type=deployment_type, + id=id, + name=name, + time_added=time_added, + workload_type=workload_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + database_sub_type: Optional[pulumi.Input[str]] = None, + database_type: Optional[pulumi.Input[str]] = None, + deployment_type: Optional[pulumi.Input[str]] = None, + id: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + time_added: Optional[pulumi.Input[str]] = None, + workload_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if database_sub_type is not None: - pulumi.set(__self__, "database_sub_type", database_sub_type) + _setter("database_sub_type", database_sub_type) if database_type is not None: - pulumi.set(__self__, "database_type", database_type) + _setter("database_type", database_type) if deployment_type is not None: - pulumi.set(__self__, "deployment_type", deployment_type) + _setter("deployment_type", deployment_type) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if time_added is not None: - pulumi.set(__self__, "time_added", time_added) + _setter("time_added", time_added) if workload_type is not None: - pulumi.set(__self__, "workload_type", workload_type) + _setter("workload_type", workload_type) @property @pulumi.getter(name="compartmentId") @@ -4455,14 +5260,29 @@ def __init__(__self__, *, :param pulumi.Input[str] secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. :param pulumi.Input[str] user_name: The database user name used to perform management activity. """ + ManagedDatabasesChangeDatabaseParameterCredentialsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + password=password, + role=role, + secret_id=secret_id, + user_name=user_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + password: Optional[pulumi.Input[str]] = None, + role: Optional[pulumi.Input[str]] = None, + secret_id: Optional[pulumi.Input[str]] = None, + user_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if password is not None: - pulumi.set(__self__, "password", password) + _setter("password", password) if role is not None: - pulumi.set(__self__, "role", role) + _setter("role", role) if secret_id is not None: - pulumi.set(__self__, "secret_id", secret_id) + _setter("secret_id", secret_id) if user_name is not None: - pulumi.set(__self__, "user_name", user_name) + _setter("user_name", user_name) @property @pulumi.getter @@ -4524,10 +5344,23 @@ def __init__(__self__, *, :param pulumi.Input[str] value: The parameter value. :param pulumi.Input[str] update_comment: A comment string to associate with the change in parameter value. It cannot contain control characters or a line break. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + ManagedDatabasesChangeDatabaseParameterParameterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + update_comment=update_comment, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: pulumi.Input[str], + value: pulumi.Input[str], + update_comment: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("value", value) if update_comment is not None: - pulumi.set(__self__, "update_comment", update_comment) + _setter("update_comment", update_comment) @property @pulumi.getter @@ -4579,14 +5412,29 @@ def __init__(__self__, *, :param pulumi.Input[str] secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. :param pulumi.Input[str] user_name: The database user name used to perform management activity. """ + ManagedDatabasesResetDatabaseParameterCredentialsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + password=password, + role=role, + secret_id=secret_id, + user_name=user_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + password: Optional[pulumi.Input[str]] = None, + role: Optional[pulumi.Input[str]] = None, + secret_id: Optional[pulumi.Input[str]] = None, + user_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if password is not None: - pulumi.set(__self__, "password", password) + _setter("password", password) if role is not None: - pulumi.set(__self__, "role", role) + _setter("role", role) if secret_id is not None: - pulumi.set(__self__, "secret_id", secret_id) + _setter("secret_id", secret_id) if user_name is not None: - pulumi.set(__self__, "user_name", user_name) + _setter("user_name", user_name) @property @pulumi.getter @@ -4646,10 +5494,23 @@ def __init__(__self__, *, """ :param str name: The name of the database. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDbManagementPrivateEndpointAssociatedDatabasesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4691,10 +5552,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the entire name. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDbManagementPrivateEndpointsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4736,10 +5610,23 @@ def __init__(__self__, *, """ :param str name: The name of the ASM disk group. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetExternalAsmDiskGroupsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4778,10 +5665,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetExternalAsmInstancesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4820,10 +5720,23 @@ def __init__(__self__, *, """ :param str name: The name of the ASM user. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetExternalAsmUsersFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4862,10 +5775,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetExternalAsmsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4901,10 +5827,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetExternalClusterInstancesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4940,10 +5879,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetExternalClustersFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4979,10 +5931,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetExternalDatabasesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5018,10 +5983,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetExternalDbHomesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5057,10 +6035,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetExternalDbNodesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5096,10 +6087,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetExternalDbSystemConnectorsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5135,10 +6139,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetExternalDbSystemDiscoveriesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5174,10 +6191,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetExternalDbSystemsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5213,10 +6243,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetExternalExadataInfrastructuresFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5252,10 +6295,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetExternalExadataStorageConnectorsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5291,10 +6347,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetExternalExadataStorageServersFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5333,10 +6402,23 @@ def __init__(__self__, *, """ :param str name: The name of the service. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetExternalListenerServicesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5375,10 +6457,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetExternalListenersFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5417,10 +6512,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the entire name. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetJobExecutionsStatusesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5459,10 +6567,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagedDatabaseAddmTasksFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5498,10 +6619,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagedDatabaseAlertLogCountsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5537,10 +6671,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagedDatabaseAttentionLogCountsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5576,10 +6723,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagedDatabaseCursorCacheStatementsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5618,10 +6778,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the entire name. Only one of the parameters, id or name should be provided """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagedDatabaseGroupsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5663,10 +6836,23 @@ def __init__(__self__, *, """ :param str name: The name of the rule. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagedDatabaseOptimizerStatisticsAdvisorExecutionsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5705,10 +6891,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagedDatabaseOptimizerStatisticsCollectionAggregationsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5747,10 +6946,23 @@ def __init__(__self__, *, """ :param str name: The name of the Managed Database. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagedDatabaseOptimizerStatisticsCollectionOperationsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5792,10 +7004,23 @@ def __init__(__self__, *, """ :param str name: A filter to return the SQL plan baseline jobs that match the name. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagedDatabaseSqlPlanBaselineJobsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5834,10 +7059,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagedDatabaseSqlPlanBaselinesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5876,10 +7114,23 @@ def __init__(__self__, *, """ :param str name: The optional query parameter to filter the SQL Tuning Advisor task list by name. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagedDatabaseSqlTuningAdvisorTasksFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5918,10 +7169,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagedDatabaseSqlTuningAdvisorTasksFindingsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5957,10 +7221,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagedDatabaseSqlTuningAdvisorTasksRecommendationsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5999,10 +7276,23 @@ def __init__(__self__, *, """ :param str name: The name of the SQL tuning set. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagedDatabaseSqlTuningSetsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -6041,10 +7331,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagedDatabaseTableStatisticsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -6083,10 +7386,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the entire name. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagedDatabaseUserConsumerGroupPrivilegesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -6128,10 +7444,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the entire name. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagedDatabaseUserDataAccessContainersFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -6173,10 +7502,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the entire name. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagedDatabaseUserObjectPrivilegesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -6218,10 +7560,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the entire name. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagedDatabaseUserProxiedForUsersFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -6263,10 +7618,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the entire name. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagedDatabaseUserRolesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -6308,10 +7676,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the entire name. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagedDatabaseUsersFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -6353,10 +7734,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the entire name. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagedDatabasesAsmPropertiesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -6398,10 +7792,23 @@ def __init__(__self__, *, """ :param str name: A filter to return all parameters that have the text given in their names. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagedDatabasesDatabaseParametersFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -6443,10 +7850,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the entire name. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagedDatabasesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -6488,10 +7908,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the entire name. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagedDatabasesUserProxyUsersFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -6533,10 +7966,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the entire name. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagedDatabasesUserSystemPrivilegesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/databasemanagement/db_management_private_endpoint.py b/sdk/python/pulumi_oci/databasemanagement/db_management_private_endpoint.py index 17ae9cad06..64c4b86c7c 100644 --- a/sdk/python/pulumi_oci/databasemanagement/db_management_private_endpoint.py +++ b/sdk/python/pulumi_oci/databasemanagement/db_management_private_endpoint.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['DbManagementPrivateEndpointArgs', 'DbManagementPrivateEndpoint'] @@ -33,16 +33,35 @@ def __init__(__self__, *, :param pulumi.Input[str] name: (Updatable) The display name of the Database Management private endpoint. :param pulumi.Input[Sequence[pulumi.Input[str]]] nsg_ids: (Updatable) The OCIDs of the Network Security Groups to which the Database Management private endpoint belongs. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "subnet_id", subnet_id) + DbManagementPrivateEndpointArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + subnet_id=subnet_id, + description=description, + is_cluster=is_cluster, + name=name, + nsg_ids=nsg_ids, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + subnet_id: pulumi.Input[str], + description: Optional[pulumi.Input[str]] = None, + is_cluster: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("subnet_id", subnet_id) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if is_cluster is not None: - pulumi.set(__self__, "is_cluster", is_cluster) + _setter("is_cluster", is_cluster) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) @property @pulumi.getter(name="compartmentId") @@ -151,26 +170,53 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the Database Managament private endpoint was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). :param pulumi.Input[str] vcn_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. """ + _DbManagementPrivateEndpointState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + description=description, + is_cluster=is_cluster, + name=name, + nsg_ids=nsg_ids, + private_ip=private_ip, + state=state, + subnet_id=subnet_id, + time_created=time_created, + vcn_id=vcn_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + is_cluster: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + private_ip: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + vcn_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if is_cluster is not None: - pulumi.set(__self__, "is_cluster", is_cluster) + _setter("is_cluster", is_cluster) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) if private_ip is not None: - pulumi.set(__self__, "private_ip", private_ip) + _setter("private_ip", private_ip) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if vcn_id is not None: - pulumi.set(__self__, "vcn_id", vcn_id) + _setter("vcn_id", vcn_id) @property @pulumi.getter(name="compartmentId") @@ -392,6 +438,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DbManagementPrivateEndpointArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/databasemanagement/external_asm.py b/sdk/python/pulumi_oci/databasemanagement/external_asm.py index 63e741a9bf..9a7065d9cd 100644 --- a/sdk/python/pulumi_oci/databasemanagement/external_asm.py +++ b/sdk/python/pulumi_oci/databasemanagement/external_asm.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -27,9 +27,20 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "external_asm_id", external_asm_id) + ExternalAsmArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + external_asm_id=external_asm_id, + external_connector_id=external_connector_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + external_asm_id: pulumi.Input[str], + external_connector_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("external_asm_id", external_asm_id) if external_connector_id is not None: - pulumi.set(__self__, "external_connector_id", external_connector_id) + _setter("external_connector_id", external_connector_id) @property @pulumi.getter(name="externalAsmId") @@ -102,38 +113,77 @@ def __init__(__self__, *, :param pulumi.Input[str] time_updated: The date and time the external ASM was last updated. :param pulumi.Input[str] version: The ASM version. """ + _ExternalAsmState._configure( + lambda key, value: pulumi.set(__self__, key, value), + additional_details=additional_details, + compartment_id=compartment_id, + component_name=component_name, + display_name=display_name, + external_asm_id=external_asm_id, + external_connector_id=external_connector_id, + external_db_system_id=external_db_system_id, + grid_home=grid_home, + is_cluster=is_cluster, + is_flex_enabled=is_flex_enabled, + lifecycle_details=lifecycle_details, + serviced_databases=serviced_databases, + state=state, + time_created=time_created, + time_updated=time_updated, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + additional_details: Optional[pulumi.Input[Mapping[str, Any]]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + component_name: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + external_asm_id: Optional[pulumi.Input[str]] = None, + external_connector_id: Optional[pulumi.Input[str]] = None, + external_db_system_id: Optional[pulumi.Input[str]] = None, + grid_home: Optional[pulumi.Input[str]] = None, + is_cluster: Optional[pulumi.Input[bool]] = None, + is_flex_enabled: Optional[pulumi.Input[bool]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + serviced_databases: Optional[pulumi.Input[Sequence[pulumi.Input['ExternalAsmServicedDatabaseArgs']]]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + version: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if additional_details is not None: - pulumi.set(__self__, "additional_details", additional_details) + _setter("additional_details", additional_details) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if component_name is not None: - pulumi.set(__self__, "component_name", component_name) + _setter("component_name", component_name) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if external_asm_id is not None: - pulumi.set(__self__, "external_asm_id", external_asm_id) + _setter("external_asm_id", external_asm_id) if external_connector_id is not None: - pulumi.set(__self__, "external_connector_id", external_connector_id) + _setter("external_connector_id", external_connector_id) if external_db_system_id is not None: - pulumi.set(__self__, "external_db_system_id", external_db_system_id) + _setter("external_db_system_id", external_db_system_id) if grid_home is not None: - pulumi.set(__self__, "grid_home", grid_home) + _setter("grid_home", grid_home) if is_cluster is not None: - pulumi.set(__self__, "is_cluster", is_cluster) + _setter("is_cluster", is_cluster) if is_flex_enabled is not None: - pulumi.set(__self__, "is_flex_enabled", is_flex_enabled) + _setter("is_flex_enabled", is_flex_enabled) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if serviced_databases is not None: - pulumi.set(__self__, "serviced_databases", serviced_databases) + _setter("serviced_databases", serviced_databases) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter(name="additionalDetails") @@ -391,6 +441,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ExternalAsmArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/databasemanagement/external_cluster.py b/sdk/python/pulumi_oci/databasemanagement/external_cluster.py index 05b79e6170..a940abd070 100644 --- a/sdk/python/pulumi_oci/databasemanagement/external_cluster.py +++ b/sdk/python/pulumi_oci/databasemanagement/external_cluster.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -27,9 +27,20 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "external_cluster_id", external_cluster_id) + ExternalClusterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + external_cluster_id=external_cluster_id, + external_connector_id=external_connector_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + external_cluster_id: pulumi.Input[str], + external_connector_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("external_cluster_id", external_cluster_id) if external_connector_id is not None: - pulumi.set(__self__, "external_connector_id", external_connector_id) + _setter("external_connector_id", external_connector_id) @property @pulumi.getter(name="externalClusterId") @@ -106,42 +117,85 @@ def __init__(__self__, *, :param pulumi.Input[str] version: The cluster version. :param pulumi.Input[Sequence[pulumi.Input['ExternalClusterVipConfigurationArgs']]] vip_configurations: The list of Virtual IP (VIP) configurations of the external cluster. """ + _ExternalClusterState._configure( + lambda key, value: pulumi.set(__self__, key, value), + additional_details=additional_details, + compartment_id=compartment_id, + component_name=component_name, + display_name=display_name, + external_cluster_id=external_cluster_id, + external_connector_id=external_connector_id, + external_db_system_id=external_db_system_id, + grid_home=grid_home, + is_flex_cluster=is_flex_cluster, + lifecycle_details=lifecycle_details, + network_configurations=network_configurations, + ocr_file_location=ocr_file_location, + scan_configurations=scan_configurations, + state=state, + time_created=time_created, + time_updated=time_updated, + version=version, + vip_configurations=vip_configurations, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + additional_details: Optional[pulumi.Input[Mapping[str, Any]]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + component_name: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + external_cluster_id: Optional[pulumi.Input[str]] = None, + external_connector_id: Optional[pulumi.Input[str]] = None, + external_db_system_id: Optional[pulumi.Input[str]] = None, + grid_home: Optional[pulumi.Input[str]] = None, + is_flex_cluster: Optional[pulumi.Input[bool]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + network_configurations: Optional[pulumi.Input[Sequence[pulumi.Input['ExternalClusterNetworkConfigurationArgs']]]] = None, + ocr_file_location: Optional[pulumi.Input[str]] = None, + scan_configurations: Optional[pulumi.Input[Sequence[pulumi.Input['ExternalClusterScanConfigurationArgs']]]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + version: Optional[pulumi.Input[str]] = None, + vip_configurations: Optional[pulumi.Input[Sequence[pulumi.Input['ExternalClusterVipConfigurationArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if additional_details is not None: - pulumi.set(__self__, "additional_details", additional_details) + _setter("additional_details", additional_details) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if component_name is not None: - pulumi.set(__self__, "component_name", component_name) + _setter("component_name", component_name) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if external_cluster_id is not None: - pulumi.set(__self__, "external_cluster_id", external_cluster_id) + _setter("external_cluster_id", external_cluster_id) if external_connector_id is not None: - pulumi.set(__self__, "external_connector_id", external_connector_id) + _setter("external_connector_id", external_connector_id) if external_db_system_id is not None: - pulumi.set(__self__, "external_db_system_id", external_db_system_id) + _setter("external_db_system_id", external_db_system_id) if grid_home is not None: - pulumi.set(__self__, "grid_home", grid_home) + _setter("grid_home", grid_home) if is_flex_cluster is not None: - pulumi.set(__self__, "is_flex_cluster", is_flex_cluster) + _setter("is_flex_cluster", is_flex_cluster) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if network_configurations is not None: - pulumi.set(__self__, "network_configurations", network_configurations) + _setter("network_configurations", network_configurations) if ocr_file_location is not None: - pulumi.set(__self__, "ocr_file_location", ocr_file_location) + _setter("ocr_file_location", ocr_file_location) if scan_configurations is not None: - pulumi.set(__self__, "scan_configurations", scan_configurations) + _setter("scan_configurations", scan_configurations) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) if vip_configurations is not None: - pulumi.set(__self__, "vip_configurations", vip_configurations) + _setter("vip_configurations", vip_configurations) @property @pulumi.getter(name="additionalDetails") @@ -423,6 +477,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ExternalClusterArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/databasemanagement/external_cluster_instance.py b/sdk/python/pulumi_oci/databasemanagement/external_cluster_instance.py index b1858b9824..1fc94fa561 100644 --- a/sdk/python/pulumi_oci/databasemanagement/external_cluster_instance.py +++ b/sdk/python/pulumi_oci/databasemanagement/external_cluster_instance.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['ExternalClusterInstanceArgs', 'ExternalClusterInstance'] @@ -25,9 +25,20 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "external_cluster_instance_id", external_cluster_instance_id) + ExternalClusterInstanceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + external_cluster_instance_id=external_cluster_instance_id, + external_connector_id=external_connector_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + external_cluster_instance_id: pulumi.Input[str], + external_connector_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("external_cluster_instance_id", external_cluster_instance_id) if external_connector_id is not None: - pulumi.set(__self__, "external_connector_id", external_connector_id) + _setter("external_connector_id", external_connector_id) @property @pulumi.getter(name="externalClusterInstanceId") @@ -100,38 +111,77 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the external cluster instance was created. :param pulumi.Input[str] time_updated: The date and time the external cluster instance was last updated. """ + _ExternalClusterInstanceState._configure( + lambda key, value: pulumi.set(__self__, key, value), + adr_home_directory=adr_home_directory, + compartment_id=compartment_id, + component_name=component_name, + crs_base_directory=crs_base_directory, + display_name=display_name, + external_cluster_id=external_cluster_id, + external_cluster_instance_id=external_cluster_instance_id, + external_connector_id=external_connector_id, + external_db_node_id=external_db_node_id, + external_db_system_id=external_db_system_id, + host_name=host_name, + lifecycle_details=lifecycle_details, + node_role=node_role, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + adr_home_directory: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + component_name: Optional[pulumi.Input[str]] = None, + crs_base_directory: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + external_cluster_id: Optional[pulumi.Input[str]] = None, + external_cluster_instance_id: Optional[pulumi.Input[str]] = None, + external_connector_id: Optional[pulumi.Input[str]] = None, + external_db_node_id: Optional[pulumi.Input[str]] = None, + external_db_system_id: Optional[pulumi.Input[str]] = None, + host_name: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + node_role: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if adr_home_directory is not None: - pulumi.set(__self__, "adr_home_directory", adr_home_directory) + _setter("adr_home_directory", adr_home_directory) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if component_name is not None: - pulumi.set(__self__, "component_name", component_name) + _setter("component_name", component_name) if crs_base_directory is not None: - pulumi.set(__self__, "crs_base_directory", crs_base_directory) + _setter("crs_base_directory", crs_base_directory) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if external_cluster_id is not None: - pulumi.set(__self__, "external_cluster_id", external_cluster_id) + _setter("external_cluster_id", external_cluster_id) if external_cluster_instance_id is not None: - pulumi.set(__self__, "external_cluster_instance_id", external_cluster_instance_id) + _setter("external_cluster_instance_id", external_cluster_instance_id) if external_connector_id is not None: - pulumi.set(__self__, "external_connector_id", external_connector_id) + _setter("external_connector_id", external_connector_id) if external_db_node_id is not None: - pulumi.set(__self__, "external_db_node_id", external_db_node_id) + _setter("external_db_node_id", external_db_node_id) if external_db_system_id is not None: - pulumi.set(__self__, "external_db_system_id", external_db_system_id) + _setter("external_db_system_id", external_db_system_id) if host_name is not None: - pulumi.set(__self__, "host_name", host_name) + _setter("host_name", host_name) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if node_role is not None: - pulumi.set(__self__, "node_role", node_role) + _setter("node_role", node_role) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="adrHomeDirectory") @@ -389,6 +439,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ExternalClusterInstanceArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/databasemanagement/external_db_node.py b/sdk/python/pulumi_oci/databasemanagement/external_db_node.py index 711d0dfc39..2559901163 100644 --- a/sdk/python/pulumi_oci/databasemanagement/external_db_node.py +++ b/sdk/python/pulumi_oci/databasemanagement/external_db_node.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['ExternalDbNodeArgs', 'ExternalDbNode'] @@ -25,9 +25,20 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] external_connector_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external connector. """ - pulumi.set(__self__, "external_db_node_id", external_db_node_id) + ExternalDbNodeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + external_db_node_id=external_db_node_id, + external_connector_id=external_connector_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + external_db_node_id: pulumi.Input[str], + external_connector_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("external_db_node_id", external_db_node_id) if external_connector_id is not None: - pulumi.set(__self__, "external_connector_id", external_connector_id) + _setter("external_connector_id", external_connector_id) @property @pulumi.getter(name="externalDbNodeId") @@ -98,36 +109,73 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the external DB node was created. :param pulumi.Input[str] time_updated: The date and time the external DB node was last updated. """ + _ExternalDbNodeState._configure( + lambda key, value: pulumi.set(__self__, key, value), + additional_details=additional_details, + compartment_id=compartment_id, + component_name=component_name, + cpu_core_count=cpu_core_count, + display_name=display_name, + domain_name=domain_name, + external_connector_id=external_connector_id, + external_db_node_id=external_db_node_id, + external_db_system_id=external_db_system_id, + host_name=host_name, + lifecycle_details=lifecycle_details, + memory_size_in_gbs=memory_size_in_gbs, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + additional_details: Optional[pulumi.Input[Mapping[str, Any]]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + component_name: Optional[pulumi.Input[str]] = None, + cpu_core_count: Optional[pulumi.Input[float]] = None, + display_name: Optional[pulumi.Input[str]] = None, + domain_name: Optional[pulumi.Input[str]] = None, + external_connector_id: Optional[pulumi.Input[str]] = None, + external_db_node_id: Optional[pulumi.Input[str]] = None, + external_db_system_id: Optional[pulumi.Input[str]] = None, + host_name: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + memory_size_in_gbs: Optional[pulumi.Input[float]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if additional_details is not None: - pulumi.set(__self__, "additional_details", additional_details) + _setter("additional_details", additional_details) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if component_name is not None: - pulumi.set(__self__, "component_name", component_name) + _setter("component_name", component_name) if cpu_core_count is not None: - pulumi.set(__self__, "cpu_core_count", cpu_core_count) + _setter("cpu_core_count", cpu_core_count) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if domain_name is not None: - pulumi.set(__self__, "domain_name", domain_name) + _setter("domain_name", domain_name) if external_connector_id is not None: - pulumi.set(__self__, "external_connector_id", external_connector_id) + _setter("external_connector_id", external_connector_id) if external_db_node_id is not None: - pulumi.set(__self__, "external_db_node_id", external_db_node_id) + _setter("external_db_node_id", external_db_node_id) if external_db_system_id is not None: - pulumi.set(__self__, "external_db_system_id", external_db_system_id) + _setter("external_db_system_id", external_db_system_id) if host_name is not None: - pulumi.set(__self__, "host_name", host_name) + _setter("host_name", host_name) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if memory_size_in_gbs is not None: - pulumi.set(__self__, "memory_size_in_gbs", memory_size_in_gbs) + _setter("memory_size_in_gbs", memory_size_in_gbs) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="additionalDetails") @@ -373,6 +421,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ExternalDbNodeArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/databasemanagement/external_db_system.py b/sdk/python/pulumi_oci/databasemanagement/external_db_system.py index 07596db4b6..c5a7ad884f 100644 --- a/sdk/python/pulumi_oci/databasemanagement/external_db_system.py +++ b/sdk/python/pulumi_oci/databasemanagement/external_db_system.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -29,14 +29,31 @@ def __init__(__self__, *, :param pulumi.Input[str] display_name: (Updatable) The user-friendly name for the DB system. The name does not have to be unique. :param pulumi.Input['ExternalDbSystemStackMonitoringConfigArgs'] stack_monitoring_config: The details of the associated service that will be enabled or disabled for an external DB System. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "db_system_discovery_id", db_system_discovery_id) + ExternalDbSystemArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + db_system_discovery_id=db_system_discovery_id, + database_management_config=database_management_config, + display_name=display_name, + stack_monitoring_config=stack_monitoring_config, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + db_system_discovery_id: pulumi.Input[str], + database_management_config: Optional[pulumi.Input['ExternalDbSystemDatabaseManagementConfigArgs']] = None, + display_name: Optional[pulumi.Input[str]] = None, + stack_monitoring_config: Optional[pulumi.Input['ExternalDbSystemStackMonitoringConfigArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("db_system_discovery_id", db_system_discovery_id) if database_management_config is not None: - pulumi.set(__self__, "database_management_config", database_management_config) + _setter("database_management_config", database_management_config) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if stack_monitoring_config is not None: - pulumi.set(__self__, "stack_monitoring_config", stack_monitoring_config) + _setter("stack_monitoring_config", stack_monitoring_config) @property @pulumi.getter(name="compartmentId") @@ -129,30 +146,61 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the external DB system was created. :param pulumi.Input[str] time_updated: The date and time the external DB system was last updated. """ + _ExternalDbSystemState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + database_management_config=database_management_config, + db_system_discovery_id=db_system_discovery_id, + discovery_agent_id=discovery_agent_id, + display_name=display_name, + home_directory=home_directory, + is_cluster=is_cluster, + lifecycle_details=lifecycle_details, + stack_monitoring_config=stack_monitoring_config, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + database_management_config: Optional[pulumi.Input['ExternalDbSystemDatabaseManagementConfigArgs']] = None, + db_system_discovery_id: Optional[pulumi.Input[str]] = None, + discovery_agent_id: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + home_directory: Optional[pulumi.Input[str]] = None, + is_cluster: Optional[pulumi.Input[bool]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + stack_monitoring_config: Optional[pulumi.Input['ExternalDbSystemStackMonitoringConfigArgs']] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if database_management_config is not None: - pulumi.set(__self__, "database_management_config", database_management_config) + _setter("database_management_config", database_management_config) if db_system_discovery_id is not None: - pulumi.set(__self__, "db_system_discovery_id", db_system_discovery_id) + _setter("db_system_discovery_id", db_system_discovery_id) if discovery_agent_id is not None: - pulumi.set(__self__, "discovery_agent_id", discovery_agent_id) + _setter("discovery_agent_id", discovery_agent_id) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if home_directory is not None: - pulumi.set(__self__, "home_directory", home_directory) + _setter("home_directory", home_directory) if is_cluster is not None: - pulumi.set(__self__, "is_cluster", is_cluster) + _setter("is_cluster", is_cluster) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if stack_monitoring_config is not None: - pulumi.set(__self__, "stack_monitoring_config", stack_monitoring_config) + _setter("stack_monitoring_config", stack_monitoring_config) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -398,6 +446,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ExternalDbSystemArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -420,11 +472,21 @@ def _internal_init(__self__, if compartment_id is None and not opts.urn: raise TypeError("Missing required property 'compartment_id'") __props__.__dict__["compartment_id"] = compartment_id + if database_management_config is not None and not isinstance(database_management_config, ExternalDbSystemDatabaseManagementConfigArgs): + database_management_config = database_management_config or {} + def _setter(key, value): + database_management_config[key] = value + ExternalDbSystemDatabaseManagementConfigArgs._configure(_setter, **database_management_config) __props__.__dict__["database_management_config"] = database_management_config if db_system_discovery_id is None and not opts.urn: raise TypeError("Missing required property 'db_system_discovery_id'") __props__.__dict__["db_system_discovery_id"] = db_system_discovery_id __props__.__dict__["display_name"] = display_name + if stack_monitoring_config is not None and not isinstance(stack_monitoring_config, ExternalDbSystemStackMonitoringConfigArgs): + stack_monitoring_config = stack_monitoring_config or {} + def _setter(key, value): + stack_monitoring_config[key] = value + ExternalDbSystemStackMonitoringConfigArgs._configure(_setter, **stack_monitoring_config) __props__.__dict__["stack_monitoring_config"] = stack_monitoring_config __props__.__dict__["discovery_agent_id"] = None __props__.__dict__["home_directory"] = None diff --git a/sdk/python/pulumi_oci/databasemanagement/external_db_system_connector.py b/sdk/python/pulumi_oci/databasemanagement/external_db_system_connector.py index 996c8ea08b..98d91954d1 100644 --- a/sdk/python/pulumi_oci/databasemanagement/external_db_system_connector.py +++ b/sdk/python/pulumi_oci/databasemanagement/external_db_system_connector.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -33,14 +33,31 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['ExternalDbSystemConnectorConnectionInfoArgs']]] connection_infos: The connection details required to connect to an external DB system component. :param pulumi.Input[str] display_name: The user-friendly name for the external connector. The name does not have to be unique. """ - pulumi.set(__self__, "connector_type", connector_type) - pulumi.set(__self__, "external_db_system_id", external_db_system_id) + ExternalDbSystemConnectorArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + connector_type=connector_type, + external_db_system_id=external_db_system_id, + agent_id=agent_id, + connection_infos=connection_infos, + display_name=display_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + connector_type: pulumi.Input[str], + external_db_system_id: pulumi.Input[str], + agent_id: Optional[pulumi.Input[str]] = None, + connection_infos: Optional[pulumi.Input[Sequence[pulumi.Input['ExternalDbSystemConnectorConnectionInfoArgs']]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("connector_type", connector_type) + _setter("external_db_system_id", external_db_system_id) if agent_id is not None: - pulumi.set(__self__, "agent_id", agent_id) + _setter("agent_id", agent_id) if connection_infos is not None: - pulumi.set(__self__, "connection_infos", connection_infos) + _setter("connection_infos", connection_infos) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) @property @pulumi.getter(name="connectorType") @@ -143,32 +160,65 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the external DB system connector was created. :param pulumi.Input[str] time_updated: The date and time the external DB system connector was last updated. """ + _ExternalDbSystemConnectorState._configure( + lambda key, value: pulumi.set(__self__, key, value), + agent_id=agent_id, + compartment_id=compartment_id, + connection_failure_message=connection_failure_message, + connection_infos=connection_infos, + connection_status=connection_status, + connector_type=connector_type, + display_name=display_name, + external_db_system_id=external_db_system_id, + lifecycle_details=lifecycle_details, + state=state, + time_connection_status_last_updated=time_connection_status_last_updated, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agent_id: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + connection_failure_message: Optional[pulumi.Input[str]] = None, + connection_infos: Optional[pulumi.Input[Sequence[pulumi.Input['ExternalDbSystemConnectorConnectionInfoArgs']]]] = None, + connection_status: Optional[pulumi.Input[str]] = None, + connector_type: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + external_db_system_id: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_connection_status_last_updated: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if agent_id is not None: - pulumi.set(__self__, "agent_id", agent_id) + _setter("agent_id", agent_id) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if connection_failure_message is not None: - pulumi.set(__self__, "connection_failure_message", connection_failure_message) + _setter("connection_failure_message", connection_failure_message) if connection_infos is not None: - pulumi.set(__self__, "connection_infos", connection_infos) + _setter("connection_infos", connection_infos) if connection_status is not None: - pulumi.set(__self__, "connection_status", connection_status) + _setter("connection_status", connection_status) if connector_type is not None: - pulumi.set(__self__, "connector_type", connector_type) + _setter("connector_type", connector_type) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if external_db_system_id is not None: - pulumi.set(__self__, "external_db_system_id", external_db_system_id) + _setter("external_db_system_id", external_db_system_id) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_connection_status_last_updated is not None: - pulumi.set(__self__, "time_connection_status_last_updated", time_connection_status_last_updated) + _setter("time_connection_status_last_updated", time_connection_status_last_updated) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="agentId") @@ -420,6 +470,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ExternalDbSystemConnectorArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/databasemanagement/external_db_system_database_managements_management.py b/sdk/python/pulumi_oci/databasemanagement/external_db_system_database_managements_management.py index 23c2d8bd2a..fe5ffbc2bd 100644 --- a/sdk/python/pulumi_oci/databasemanagement/external_db_system_database_managements_management.py +++ b/sdk/python/pulumi_oci/databasemanagement/external_db_system_database_managements_management.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['ExternalDbSystemDatabaseManagementsManagementArgs', 'ExternalDbSystemDatabaseManagementsManagement'] @@ -27,10 +27,23 @@ def __init__(__self__, *, :param pulumi.Input[str] external_db_system_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external DB system. :param pulumi.Input[str] license_model: The Oracle license model that applies to the external database. """ - pulumi.set(__self__, "enable_database_management", enable_database_management) - pulumi.set(__self__, "external_db_system_id", external_db_system_id) + ExternalDbSystemDatabaseManagementsManagementArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + enable_database_management=enable_database_management, + external_db_system_id=external_db_system_id, + license_model=license_model, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + enable_database_management: pulumi.Input[bool], + external_db_system_id: pulumi.Input[str], + license_model: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("enable_database_management", enable_database_management) + _setter("external_db_system_id", external_db_system_id) if license_model is not None: - pulumi.set(__self__, "license_model", license_model) + _setter("license_model", license_model) @property @pulumi.getter(name="enableDatabaseManagement") @@ -89,12 +102,25 @@ def __init__(__self__, *, :param pulumi.Input[str] external_db_system_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external DB system. :param pulumi.Input[str] license_model: The Oracle license model that applies to the external database. """ + _ExternalDbSystemDatabaseManagementsManagementState._configure( + lambda key, value: pulumi.set(__self__, key, value), + enable_database_management=enable_database_management, + external_db_system_id=external_db_system_id, + license_model=license_model, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + enable_database_management: Optional[pulumi.Input[bool]] = None, + external_db_system_id: Optional[pulumi.Input[str]] = None, + license_model: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if enable_database_management is not None: - pulumi.set(__self__, "enable_database_management", enable_database_management) + _setter("enable_database_management", enable_database_management) if external_db_system_id is not None: - pulumi.set(__self__, "external_db_system_id", external_db_system_id) + _setter("external_db_system_id", external_db_system_id) if license_model is not None: - pulumi.set(__self__, "license_model", license_model) + _setter("license_model", license_model) @property @pulumi.getter(name="enableDatabaseManagement") @@ -208,6 +234,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ExternalDbSystemDatabaseManagementsManagementArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/databasemanagement/external_db_system_discovery.py b/sdk/python/pulumi_oci/databasemanagement/external_db_system_discovery.py index ad77e8c994..7c7830e697 100644 --- a/sdk/python/pulumi_oci/databasemanagement/external_db_system_discovery.py +++ b/sdk/python/pulumi_oci/databasemanagement/external_db_system_discovery.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -27,12 +27,27 @@ def __init__(__self__, *, :param pulumi.Input[str] display_name: (Updatable) The user-friendly name for the DB system. The name does not have to be unique. :param pulumi.Input[Sequence[pulumi.Input['ExternalDbSystemDiscoveryPatchOperationArgs']]] patch_operations: (Updatable) """ - pulumi.set(__self__, "agent_id", agent_id) - pulumi.set(__self__, "compartment_id", compartment_id) + ExternalDbSystemDiscoveryArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + agent_id=agent_id, + compartment_id=compartment_id, + display_name=display_name, + patch_operations=patch_operations, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agent_id: pulumi.Input[str], + compartment_id: pulumi.Input[str], + display_name: Optional[pulumi.Input[str]] = None, + patch_operations: Optional[pulumi.Input[Sequence[pulumi.Input['ExternalDbSystemDiscoveryPatchOperationArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("agent_id", agent_id) + _setter("compartment_id", compartment_id) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if patch_operations is not None: - pulumi.set(__self__, "patch_operations", patch_operations) + _setter("patch_operations", patch_operations) @property @pulumi.getter(name="agentId") @@ -112,30 +127,61 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the external DB system discovery was created. :param pulumi.Input[str] time_updated: The date and time the external DB system discovery was last updated. """ + _ExternalDbSystemDiscoveryState._configure( + lambda key, value: pulumi.set(__self__, key, value), + agent_id=agent_id, + compartment_id=compartment_id, + discovered_components=discovered_components, + display_name=display_name, + external_db_system_discovery_id=external_db_system_discovery_id, + grid_home=grid_home, + lifecycle_details=lifecycle_details, + patch_operations=patch_operations, + resource_id=resource_id, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agent_id: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + discovered_components: Optional[pulumi.Input[Sequence[pulumi.Input['ExternalDbSystemDiscoveryDiscoveredComponentArgs']]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + external_db_system_discovery_id: Optional[pulumi.Input[str]] = None, + grid_home: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + patch_operations: Optional[pulumi.Input[Sequence[pulumi.Input['ExternalDbSystemDiscoveryPatchOperationArgs']]]] = None, + resource_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if agent_id is not None: - pulumi.set(__self__, "agent_id", agent_id) + _setter("agent_id", agent_id) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if discovered_components is not None: - pulumi.set(__self__, "discovered_components", discovered_components) + _setter("discovered_components", discovered_components) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if external_db_system_discovery_id is not None: - pulumi.set(__self__, "external_db_system_discovery_id", external_db_system_discovery_id) + _setter("external_db_system_discovery_id", external_db_system_discovery_id) if grid_home is not None: - pulumi.set(__self__, "grid_home", grid_home) + _setter("grid_home", grid_home) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if patch_operations is not None: - pulumi.set(__self__, "patch_operations", patch_operations) + _setter("patch_operations", patch_operations) if resource_id is not None: - pulumi.set(__self__, "resource_id", resource_id) + _setter("resource_id", resource_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="agentId") @@ -342,6 +388,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ExternalDbSystemDiscoveryArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/databasemanagement/external_db_system_stack_monitorings_management.py b/sdk/python/pulumi_oci/databasemanagement/external_db_system_stack_monitorings_management.py index a21a1c4a57..efdfd4cce0 100644 --- a/sdk/python/pulumi_oci/databasemanagement/external_db_system_stack_monitorings_management.py +++ b/sdk/python/pulumi_oci/databasemanagement/external_db_system_stack_monitorings_management.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['ExternalDbSystemStackMonitoringsManagementArgs', 'ExternalDbSystemStackMonitoringsManagement'] @@ -29,12 +29,27 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_enabled: The status of the associated service. :param pulumi.Input[str] metadata: The associated service-specific inputs in JSON string format, which Database Management can identify. """ - pulumi.set(__self__, "enable_stack_monitoring", enable_stack_monitoring) - pulumi.set(__self__, "external_db_system_id", external_db_system_id) + ExternalDbSystemStackMonitoringsManagementArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + enable_stack_monitoring=enable_stack_monitoring, + external_db_system_id=external_db_system_id, + is_enabled=is_enabled, + metadata=metadata, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + enable_stack_monitoring: pulumi.Input[bool], + external_db_system_id: pulumi.Input[str], + is_enabled: Optional[pulumi.Input[bool]] = None, + metadata: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("enable_stack_monitoring", enable_stack_monitoring) + _setter("external_db_system_id", external_db_system_id) if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) if metadata is not None: - pulumi.set(__self__, "metadata", metadata) + _setter("metadata", metadata) @property @pulumi.getter(name="enableStackMonitoring") @@ -107,14 +122,29 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_enabled: The status of the associated service. :param pulumi.Input[str] metadata: The associated service-specific inputs in JSON string format, which Database Management can identify. """ + _ExternalDbSystemStackMonitoringsManagementState._configure( + lambda key, value: pulumi.set(__self__, key, value), + enable_stack_monitoring=enable_stack_monitoring, + external_db_system_id=external_db_system_id, + is_enabled=is_enabled, + metadata=metadata, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + enable_stack_monitoring: Optional[pulumi.Input[bool]] = None, + external_db_system_id: Optional[pulumi.Input[str]] = None, + is_enabled: Optional[pulumi.Input[bool]] = None, + metadata: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if enable_stack_monitoring is not None: - pulumi.set(__self__, "enable_stack_monitoring", enable_stack_monitoring) + _setter("enable_stack_monitoring", enable_stack_monitoring) if external_db_system_id is not None: - pulumi.set(__self__, "external_db_system_id", external_db_system_id) + _setter("external_db_system_id", external_db_system_id) if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) if metadata is not None: - pulumi.set(__self__, "metadata", metadata) + _setter("metadata", metadata) @property @pulumi.getter(name="enableStackMonitoring") @@ -244,6 +274,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ExternalDbSystemStackMonitoringsManagementArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/databasemanagement/external_exadata_infrastructure.py b/sdk/python/pulumi_oci/databasemanagement/external_exadata_infrastructure.py index 5bbbfd0847..7741771718 100644 --- a/sdk/python/pulumi_oci/databasemanagement/external_exadata_infrastructure.py +++ b/sdk/python/pulumi_oci/databasemanagement/external_exadata_infrastructure.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -35,15 +35,34 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "db_system_ids", db_system_ids) - pulumi.set(__self__, "display_name", display_name) + ExternalExadataInfrastructureArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + db_system_ids=db_system_ids, + display_name=display_name, + discovery_key=discovery_key, + license_model=license_model, + storage_server_names=storage_server_names, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + db_system_ids: pulumi.Input[Sequence[pulumi.Input[str]]], + display_name: pulumi.Input[str], + discovery_key: Optional[pulumi.Input[str]] = None, + license_model: Optional[pulumi.Input[str]] = None, + storage_server_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("db_system_ids", db_system_ids) + _setter("display_name", display_name) if discovery_key is not None: - pulumi.set(__self__, "discovery_key", discovery_key) + _setter("discovery_key", discovery_key) if license_model is not None: - pulumi.set(__self__, "license_model", license_model) + _setter("license_model", license_model) if storage_server_names is not None: - pulumi.set(__self__, "storage_server_names", storage_server_names) + _setter("storage_server_names", storage_server_names) @property @pulumi.getter(name="compartmentId") @@ -168,42 +187,85 @@ def __init__(__self__, *, :param pulumi.Input[str] time_updated: The timestamp of the last update of the Exadata resource. :param pulumi.Input[str] version: The version of the Exadata resource. """ + _ExternalExadataInfrastructureState._configure( + lambda key, value: pulumi.set(__self__, key, value), + additional_details=additional_details, + compartment_id=compartment_id, + database_compartments=database_compartments, + database_systems=database_systems, + db_system_ids=db_system_ids, + discovery_key=discovery_key, + display_name=display_name, + internal_id=internal_id, + license_model=license_model, + lifecycle_details=lifecycle_details, + rack_size=rack_size, + state=state, + status=status, + storage_grids=storage_grids, + storage_server_names=storage_server_names, + time_created=time_created, + time_updated=time_updated, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + additional_details: Optional[pulumi.Input[Mapping[str, Any]]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + database_compartments: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + database_systems: Optional[pulumi.Input[Sequence[pulumi.Input['ExternalExadataInfrastructureDatabaseSystemArgs']]]] = None, + db_system_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + discovery_key: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + internal_id: Optional[pulumi.Input[str]] = None, + license_model: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + rack_size: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[str]] = None, + storage_grids: Optional[pulumi.Input[Sequence[pulumi.Input['ExternalExadataInfrastructureStorageGridArgs']]]] = None, + storage_server_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + version: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if additional_details is not None: - pulumi.set(__self__, "additional_details", additional_details) + _setter("additional_details", additional_details) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if database_compartments is not None: - pulumi.set(__self__, "database_compartments", database_compartments) + _setter("database_compartments", database_compartments) if database_systems is not None: - pulumi.set(__self__, "database_systems", database_systems) + _setter("database_systems", database_systems) if db_system_ids is not None: - pulumi.set(__self__, "db_system_ids", db_system_ids) + _setter("db_system_ids", db_system_ids) if discovery_key is not None: - pulumi.set(__self__, "discovery_key", discovery_key) + _setter("discovery_key", discovery_key) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if internal_id is not None: - pulumi.set(__self__, "internal_id", internal_id) + _setter("internal_id", internal_id) if license_model is not None: - pulumi.set(__self__, "license_model", license_model) + _setter("license_model", license_model) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if rack_size is not None: - pulumi.set(__self__, "rack_size", rack_size) + _setter("rack_size", rack_size) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if storage_grids is not None: - pulumi.set(__self__, "storage_grids", storage_grids) + _setter("storage_grids", storage_grids) if storage_server_names is not None: - pulumi.set(__self__, "storage_server_names", storage_server_names) + _setter("storage_server_names", storage_server_names) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter(name="additionalDetails") @@ -533,6 +595,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ExternalExadataInfrastructureArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/databasemanagement/external_exadata_infrastructure_exadata_management.py b/sdk/python/pulumi_oci/databasemanagement/external_exadata_infrastructure_exadata_management.py index b54de6fded..27269715a7 100644 --- a/sdk/python/pulumi_oci/databasemanagement/external_exadata_infrastructure_exadata_management.py +++ b/sdk/python/pulumi_oci/databasemanagement/external_exadata_infrastructure_exadata_management.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['ExternalExadataInfrastructureExadataManagementArgs', 'ExternalExadataInfrastructureExadataManagement'] @@ -27,10 +27,23 @@ def __init__(__self__, *, :param pulumi.Input[str] external_exadata_infrastructure_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata infrastructure. :param pulumi.Input[str] license_model: The Oracle license model. """ - pulumi.set(__self__, "enable_exadata", enable_exadata) - pulumi.set(__self__, "external_exadata_infrastructure_id", external_exadata_infrastructure_id) + ExternalExadataInfrastructureExadataManagementArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + enable_exadata=enable_exadata, + external_exadata_infrastructure_id=external_exadata_infrastructure_id, + license_model=license_model, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + enable_exadata: pulumi.Input[bool], + external_exadata_infrastructure_id: pulumi.Input[str], + license_model: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("enable_exadata", enable_exadata) + _setter("external_exadata_infrastructure_id", external_exadata_infrastructure_id) if license_model is not None: - pulumi.set(__self__, "license_model", license_model) + _setter("license_model", license_model) @property @pulumi.getter(name="enableExadata") @@ -89,12 +102,25 @@ def __init__(__self__, *, :param pulumi.Input[str] external_exadata_infrastructure_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Exadata infrastructure. :param pulumi.Input[str] license_model: The Oracle license model. """ + _ExternalExadataInfrastructureExadataManagementState._configure( + lambda key, value: pulumi.set(__self__, key, value), + enable_exadata=enable_exadata, + external_exadata_infrastructure_id=external_exadata_infrastructure_id, + license_model=license_model, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + enable_exadata: Optional[pulumi.Input[bool]] = None, + external_exadata_infrastructure_id: Optional[pulumi.Input[str]] = None, + license_model: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if enable_exadata is not None: - pulumi.set(__self__, "enable_exadata", enable_exadata) + _setter("enable_exadata", enable_exadata) if external_exadata_infrastructure_id is not None: - pulumi.set(__self__, "external_exadata_infrastructure_id", external_exadata_infrastructure_id) + _setter("external_exadata_infrastructure_id", external_exadata_infrastructure_id) if license_model is not None: - pulumi.set(__self__, "license_model", license_model) + _setter("license_model", license_model) @property @pulumi.getter(name="enableExadata") @@ -216,6 +242,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ExternalExadataInfrastructureExadataManagementArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/databasemanagement/external_exadata_storage_connector.py b/sdk/python/pulumi_oci/databasemanagement/external_exadata_storage_connector.py index 22d95be118..6b304125d2 100644 --- a/sdk/python/pulumi_oci/databasemanagement/external_exadata_storage_connector.py +++ b/sdk/python/pulumi_oci/databasemanagement/external_exadata_storage_connector.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -33,11 +33,28 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "agent_id", agent_id) - pulumi.set(__self__, "connection_uri", connection_uri) - pulumi.set(__self__, "connector_name", connector_name) - pulumi.set(__self__, "credential_info", credential_info) - pulumi.set(__self__, "storage_server_id", storage_server_id) + ExternalExadataStorageConnectorArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + agent_id=agent_id, + connection_uri=connection_uri, + connector_name=connector_name, + credential_info=credential_info, + storage_server_id=storage_server_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agent_id: pulumi.Input[str], + connection_uri: pulumi.Input[str], + connector_name: pulumi.Input[str], + credential_info: pulumi.Input['ExternalExadataStorageConnectorCredentialInfoArgs'], + storage_server_id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("agent_id", agent_id) + _setter("connection_uri", connection_uri) + _setter("connector_name", connector_name) + _setter("credential_info", credential_info) + _setter("storage_server_id", storage_server_id) @property @pulumi.getter(name="agentId") @@ -144,36 +161,73 @@ def __init__(__self__, *, :param pulumi.Input[str] time_updated: The timestamp of the last update of the Exadata resource. :param pulumi.Input[str] version: The version of the Exadata resource. """ + _ExternalExadataStorageConnectorState._configure( + lambda key, value: pulumi.set(__self__, key, value), + additional_details=additional_details, + agent_id=agent_id, + connection_uri=connection_uri, + connector_name=connector_name, + credential_info=credential_info, + display_name=display_name, + exadata_infrastructure_id=exadata_infrastructure_id, + internal_id=internal_id, + lifecycle_details=lifecycle_details, + state=state, + status=status, + storage_server_id=storage_server_id, + time_created=time_created, + time_updated=time_updated, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + additional_details: Optional[pulumi.Input[Mapping[str, Any]]] = None, + agent_id: Optional[pulumi.Input[str]] = None, + connection_uri: Optional[pulumi.Input[str]] = None, + connector_name: Optional[pulumi.Input[str]] = None, + credential_info: Optional[pulumi.Input['ExternalExadataStorageConnectorCredentialInfoArgs']] = None, + display_name: Optional[pulumi.Input[str]] = None, + exadata_infrastructure_id: Optional[pulumi.Input[str]] = None, + internal_id: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[str]] = None, + storage_server_id: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + version: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if additional_details is not None: - pulumi.set(__self__, "additional_details", additional_details) + _setter("additional_details", additional_details) if agent_id is not None: - pulumi.set(__self__, "agent_id", agent_id) + _setter("agent_id", agent_id) if connection_uri is not None: - pulumi.set(__self__, "connection_uri", connection_uri) + _setter("connection_uri", connection_uri) if connector_name is not None: - pulumi.set(__self__, "connector_name", connector_name) + _setter("connector_name", connector_name) if credential_info is not None: - pulumi.set(__self__, "credential_info", credential_info) + _setter("credential_info", credential_info) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if exadata_infrastructure_id is not None: - pulumi.set(__self__, "exadata_infrastructure_id", exadata_infrastructure_id) + _setter("exadata_infrastructure_id", exadata_infrastructure_id) if internal_id is not None: - pulumi.set(__self__, "internal_id", internal_id) + _setter("internal_id", internal_id) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if storage_server_id is not None: - pulumi.set(__self__, "storage_server_id", storage_server_id) + _setter("storage_server_id", storage_server_id) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter(name="additionalDetails") @@ -465,6 +519,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ExternalExadataStorageConnectorArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -493,6 +551,11 @@ def _internal_init(__self__, if connector_name is None and not opts.urn: raise TypeError("Missing required property 'connector_name'") __props__.__dict__["connector_name"] = connector_name + if credential_info is not None and not isinstance(credential_info, ExternalExadataStorageConnectorCredentialInfoArgs): + credential_info = credential_info or {} + def _setter(key, value): + credential_info[key] = value + ExternalExadataStorageConnectorCredentialInfoArgs._configure(_setter, **credential_info) if credential_info is None and not opts.urn: raise TypeError("Missing required property 'credential_info'") __props__.__dict__["credential_info"] = credential_info diff --git a/sdk/python/pulumi_oci/databasemanagement/external_listener.py b/sdk/python/pulumi_oci/databasemanagement/external_listener.py index 6dbf66c8b2..5ff40e42b6 100644 --- a/sdk/python/pulumi_oci/databasemanagement/external_listener.py +++ b/sdk/python/pulumi_oci/databasemanagement/external_listener.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -27,9 +27,20 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] external_connector_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external connector. """ - pulumi.set(__self__, "external_listener_id", external_listener_id) + ExternalListenerArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + external_listener_id=external_listener_id, + external_connector_id=external_connector_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + external_listener_id: pulumi.Input[str], + external_connector_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("external_listener_id", external_listener_id) if external_connector_id is not None: - pulumi.set(__self__, "external_connector_id", external_connector_id) + _setter("external_connector_id", external_connector_id) @property @pulumi.getter(name="externalListenerId") @@ -120,56 +131,113 @@ def __init__(__self__, *, :param pulumi.Input[str] trace_directory: The destination directory of the listener trace file. :param pulumi.Input[str] version: The listener version. """ + _ExternalListenerState._configure( + lambda key, value: pulumi.set(__self__, key, value), + additional_details=additional_details, + adr_home_directory=adr_home_directory, + compartment_id=compartment_id, + component_name=component_name, + display_name=display_name, + endpoints=endpoints, + external_connector_id=external_connector_id, + external_db_home_id=external_db_home_id, + external_db_node_id=external_db_node_id, + external_db_system_id=external_db_system_id, + external_listener_id=external_listener_id, + host_name=host_name, + lifecycle_details=lifecycle_details, + listener_alias=listener_alias, + listener_ora_location=listener_ora_location, + listener_type=listener_type, + log_directory=log_directory, + oracle_home=oracle_home, + serviced_asms=serviced_asms, + serviced_databases=serviced_databases, + state=state, + time_created=time_created, + time_updated=time_updated, + trace_directory=trace_directory, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + additional_details: Optional[pulumi.Input[Mapping[str, Any]]] = None, + adr_home_directory: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + component_name: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + endpoints: Optional[pulumi.Input[Sequence[pulumi.Input['ExternalListenerEndpointArgs']]]] = None, + external_connector_id: Optional[pulumi.Input[str]] = None, + external_db_home_id: Optional[pulumi.Input[str]] = None, + external_db_node_id: Optional[pulumi.Input[str]] = None, + external_db_system_id: Optional[pulumi.Input[str]] = None, + external_listener_id: Optional[pulumi.Input[str]] = None, + host_name: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + listener_alias: Optional[pulumi.Input[str]] = None, + listener_ora_location: Optional[pulumi.Input[str]] = None, + listener_type: Optional[pulumi.Input[str]] = None, + log_directory: Optional[pulumi.Input[str]] = None, + oracle_home: Optional[pulumi.Input[str]] = None, + serviced_asms: Optional[pulumi.Input[Sequence[pulumi.Input['ExternalListenerServicedAsmArgs']]]] = None, + serviced_databases: Optional[pulumi.Input[Sequence[pulumi.Input['ExternalListenerServicedDatabaseArgs']]]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + trace_directory: Optional[pulumi.Input[str]] = None, + version: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if additional_details is not None: - pulumi.set(__self__, "additional_details", additional_details) + _setter("additional_details", additional_details) if adr_home_directory is not None: - pulumi.set(__self__, "adr_home_directory", adr_home_directory) + _setter("adr_home_directory", adr_home_directory) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if component_name is not None: - pulumi.set(__self__, "component_name", component_name) + _setter("component_name", component_name) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if endpoints is not None: - pulumi.set(__self__, "endpoints", endpoints) + _setter("endpoints", endpoints) if external_connector_id is not None: - pulumi.set(__self__, "external_connector_id", external_connector_id) + _setter("external_connector_id", external_connector_id) if external_db_home_id is not None: - pulumi.set(__self__, "external_db_home_id", external_db_home_id) + _setter("external_db_home_id", external_db_home_id) if external_db_node_id is not None: - pulumi.set(__self__, "external_db_node_id", external_db_node_id) + _setter("external_db_node_id", external_db_node_id) if external_db_system_id is not None: - pulumi.set(__self__, "external_db_system_id", external_db_system_id) + _setter("external_db_system_id", external_db_system_id) if external_listener_id is not None: - pulumi.set(__self__, "external_listener_id", external_listener_id) + _setter("external_listener_id", external_listener_id) if host_name is not None: - pulumi.set(__self__, "host_name", host_name) + _setter("host_name", host_name) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if listener_alias is not None: - pulumi.set(__self__, "listener_alias", listener_alias) + _setter("listener_alias", listener_alias) if listener_ora_location is not None: - pulumi.set(__self__, "listener_ora_location", listener_ora_location) + _setter("listener_ora_location", listener_ora_location) if listener_type is not None: - pulumi.set(__self__, "listener_type", listener_type) + _setter("listener_type", listener_type) if log_directory is not None: - pulumi.set(__self__, "log_directory", log_directory) + _setter("log_directory", log_directory) if oracle_home is not None: - pulumi.set(__self__, "oracle_home", oracle_home) + _setter("oracle_home", oracle_home) if serviced_asms is not None: - pulumi.set(__self__, "serviced_asms", serviced_asms) + _setter("serviced_asms", serviced_asms) if serviced_databases is not None: - pulumi.set(__self__, "serviced_databases", serviced_databases) + _setter("serviced_databases", serviced_databases) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if trace_directory is not None: - pulumi.set(__self__, "trace_directory", trace_directory) + _setter("trace_directory", trace_directory) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter(name="additionalDetails") @@ -535,6 +603,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ExternalListenerArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/databasemanagement/get_db_management_private_endpoint.py b/sdk/python/pulumi_oci/databasemanagement/get_db_management_private_endpoint.py index ca48a1f98e..9fa13045ab 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_db_management_private_endpoint.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_db_management_private_endpoint.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/databasemanagement/get_db_management_private_endpoint_associated_database.py b/sdk/python/pulumi_oci/databasemanagement/get_db_management_private_endpoint_associated_database.py index 9e584b77ed..850cecaaa1 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_db_management_private_endpoint_associated_database.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_db_management_private_endpoint_associated_database.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/databasemanagement/get_db_management_private_endpoint_associated_databases.py b/sdk/python/pulumi_oci/databasemanagement/get_db_management_private_endpoint_associated_databases.py index 958a86bc79..b46d0e1640 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_db_management_private_endpoint_associated_databases.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_db_management_private_endpoint_associated_databases.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/databasemanagement/get_db_management_private_endpoints.py b/sdk/python/pulumi_oci/databasemanagement/get_db_management_private_endpoints.py index 110d71338c..bf9efc8a21 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_db_management_private_endpoints.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_db_management_private_endpoints.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/databasemanagement/get_external_asm.py b/sdk/python/pulumi_oci/databasemanagement/get_external_asm.py index 6ec3f3cd68..cf679cb3be 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_external_asm.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_external_asm.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/databasemanagement/get_external_asm_configuration.py b/sdk/python/pulumi_oci/databasemanagement/get_external_asm_configuration.py index 6beb528d68..a3e28d26c0 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_external_asm_configuration.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_external_asm_configuration.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/databasemanagement/get_external_asm_disk_groups.py b/sdk/python/pulumi_oci/databasemanagement/get_external_asm_disk_groups.py index 42dc12136c..620f2a1f77 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_external_asm_disk_groups.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_external_asm_disk_groups.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/databasemanagement/get_external_asm_instance.py b/sdk/python/pulumi_oci/databasemanagement/get_external_asm_instance.py index 3615082108..e2924530e4 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_external_asm_instance.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_external_asm_instance.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/databasemanagement/get_external_asm_instances.py b/sdk/python/pulumi_oci/databasemanagement/get_external_asm_instances.py index 042340f7d4..7e9a32c4e0 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_external_asm_instances.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_external_asm_instances.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/databasemanagement/get_external_asm_users.py b/sdk/python/pulumi_oci/databasemanagement/get_external_asm_users.py index d67108ab03..05f8a4ed1d 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_external_asm_users.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_external_asm_users.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/databasemanagement/get_external_asms.py b/sdk/python/pulumi_oci/databasemanagement/get_external_asms.py index d2f040c432..1bb24ed8bb 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_external_asms.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_external_asms.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/databasemanagement/get_external_cluster.py b/sdk/python/pulumi_oci/databasemanagement/get_external_cluster.py index e3569d81fb..a0625e4318 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_external_cluster.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_external_cluster.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/databasemanagement/get_external_cluster_instance.py b/sdk/python/pulumi_oci/databasemanagement/get_external_cluster_instance.py index ac4e24db7e..1d0e64fa32 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_external_cluster_instance.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_external_cluster_instance.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/databasemanagement/get_external_cluster_instances.py b/sdk/python/pulumi_oci/databasemanagement/get_external_cluster_instances.py index 66887d1867..b15d9a3fc1 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_external_cluster_instances.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_external_cluster_instances.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/databasemanagement/get_external_clusters.py b/sdk/python/pulumi_oci/databasemanagement/get_external_clusters.py index f9502290ed..ea391cbf77 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_external_clusters.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_external_clusters.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/databasemanagement/get_external_databases.py b/sdk/python/pulumi_oci/databasemanagement/get_external_databases.py index 5d04e6e7bf..e7b74dbcb0 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_external_databases.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_external_databases.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/databasemanagement/get_external_db_home.py b/sdk/python/pulumi_oci/databasemanagement/get_external_db_home.py index 2caf683a5c..0730eb33db 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_external_db_home.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_external_db_home.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/databasemanagement/get_external_db_homes.py b/sdk/python/pulumi_oci/databasemanagement/get_external_db_homes.py index 26eb6d9d07..8e582d425d 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_external_db_homes.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_external_db_homes.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/databasemanagement/get_external_db_node.py b/sdk/python/pulumi_oci/databasemanagement/get_external_db_node.py index 296cb97d7b..ea97b22f62 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_external_db_node.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_external_db_node.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/databasemanagement/get_external_db_nodes.py b/sdk/python/pulumi_oci/databasemanagement/get_external_db_nodes.py index 7e0d974e4c..761fb455c6 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_external_db_nodes.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_external_db_nodes.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/databasemanagement/get_external_db_system.py b/sdk/python/pulumi_oci/databasemanagement/get_external_db_system.py index 326f415445..87854a5178 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_external_db_system.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_external_db_system.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/databasemanagement/get_external_db_system_connector.py b/sdk/python/pulumi_oci/databasemanagement/get_external_db_system_connector.py index 2fb3c13579..14081ddc87 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_external_db_system_connector.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_external_db_system_connector.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/databasemanagement/get_external_db_system_connectors.py b/sdk/python/pulumi_oci/databasemanagement/get_external_db_system_connectors.py index 908b9a2653..01dbb46c50 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_external_db_system_connectors.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_external_db_system_connectors.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/databasemanagement/get_external_db_system_discoveries.py b/sdk/python/pulumi_oci/databasemanagement/get_external_db_system_discoveries.py index a3befc110c..dd15e2287e 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_external_db_system_discoveries.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_external_db_system_discoveries.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/databasemanagement/get_external_db_system_discovery.py b/sdk/python/pulumi_oci/databasemanagement/get_external_db_system_discovery.py index e3dd9ec9b1..d3ddb66355 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_external_db_system_discovery.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_external_db_system_discovery.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/databasemanagement/get_external_db_systems.py b/sdk/python/pulumi_oci/databasemanagement/get_external_db_systems.py index a438d2ce6f..fd67d7f0c8 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_external_db_systems.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_external_db_systems.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/databasemanagement/get_external_exadata_infrastructure.py b/sdk/python/pulumi_oci/databasemanagement/get_external_exadata_infrastructure.py index 00fe6e054e..37aacc6574 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_external_exadata_infrastructure.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_external_exadata_infrastructure.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/databasemanagement/get_external_exadata_infrastructures.py b/sdk/python/pulumi_oci/databasemanagement/get_external_exadata_infrastructures.py index b3d2288451..777f82ba9c 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_external_exadata_infrastructures.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_external_exadata_infrastructures.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/databasemanagement/get_external_exadata_storage_connector.py b/sdk/python/pulumi_oci/databasemanagement/get_external_exadata_storage_connector.py index 030f7da13e..1a25dd493f 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_external_exadata_storage_connector.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_external_exadata_storage_connector.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/databasemanagement/get_external_exadata_storage_connectors.py b/sdk/python/pulumi_oci/databasemanagement/get_external_exadata_storage_connectors.py index 5508d5092d..91913ef96a 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_external_exadata_storage_connectors.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_external_exadata_storage_connectors.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/databasemanagement/get_external_exadata_storage_grid.py b/sdk/python/pulumi_oci/databasemanagement/get_external_exadata_storage_grid.py index 44fa766878..a9e49b568e 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_external_exadata_storage_grid.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_external_exadata_storage_grid.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/databasemanagement/get_external_exadata_storage_server.py b/sdk/python/pulumi_oci/databasemanagement/get_external_exadata_storage_server.py index f582f4368f..5800d02d81 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_external_exadata_storage_server.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_external_exadata_storage_server.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/databasemanagement/get_external_exadata_storage_server_iorm_plan.py b/sdk/python/pulumi_oci/databasemanagement/get_external_exadata_storage_server_iorm_plan.py index a6d3eabd24..2faf3a7037 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_external_exadata_storage_server_iorm_plan.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_external_exadata_storage_server_iorm_plan.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/databasemanagement/get_external_exadata_storage_server_open_alert_history.py b/sdk/python/pulumi_oci/databasemanagement/get_external_exadata_storage_server_open_alert_history.py index 0e9de5d298..f7712356cb 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_external_exadata_storage_server_open_alert_history.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_external_exadata_storage_server_open_alert_history.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/databasemanagement/get_external_exadata_storage_server_top_sql_cpu_activity.py b/sdk/python/pulumi_oci/databasemanagement/get_external_exadata_storage_server_top_sql_cpu_activity.py index 91278403b1..9c89e4e3cb 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_external_exadata_storage_server_top_sql_cpu_activity.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_external_exadata_storage_server_top_sql_cpu_activity.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/databasemanagement/get_external_exadata_storage_servers.py b/sdk/python/pulumi_oci/databasemanagement/get_external_exadata_storage_servers.py index 886be3e205..6ae4d0525b 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_external_exadata_storage_servers.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_external_exadata_storage_servers.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/databasemanagement/get_external_listener.py b/sdk/python/pulumi_oci/databasemanagement/get_external_listener.py index d9f3bcde0a..3fd5e8ced5 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_external_listener.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_external_listener.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/databasemanagement/get_external_listener_services.py b/sdk/python/pulumi_oci/databasemanagement/get_external_listener_services.py index 883e4563ea..321435496b 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_external_listener_services.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_external_listener_services.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/databasemanagement/get_external_listeners.py b/sdk/python/pulumi_oci/databasemanagement/get_external_listeners.py index 78e8178bdb..edf47687f6 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_external_listeners.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_external_listeners.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/databasemanagement/get_job_executions_status.py b/sdk/python/pulumi_oci/databasemanagement/get_job_executions_status.py index 4b67376ceb..1f9bea30c6 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_job_executions_status.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_job_executions_status.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/databasemanagement/get_job_executions_statuses.py b/sdk/python/pulumi_oci/databasemanagement/get_job_executions_statuses.py index 523698e4b1..29c25bb659 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_job_executions_statuses.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_job_executions_statuses.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/databasemanagement/get_managed_database.py b/sdk/python/pulumi_oci/databasemanagement/get_managed_database.py index 816302b07e..d11d1be798 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_managed_database.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_managed_database.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_addm_task.py b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_addm_task.py index ce4c1c5db7..2318c16ebb 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_addm_task.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_addm_task.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_addm_tasks.py b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_addm_tasks.py index eca820e40e..dfc00de061 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_addm_tasks.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_addm_tasks.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_alert_log_count.py b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_alert_log_count.py index 61864e04ed..62bc4e7c34 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_alert_log_count.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_alert_log_count.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_alert_log_counts.py b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_alert_log_counts.py index fa939735f2..9c984f2467 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_alert_log_counts.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_alert_log_counts.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_attention_log_count.py b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_attention_log_count.py index 47c8883536..fc9672545b 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_attention_log_count.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_attention_log_count.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_attention_log_counts.py b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_attention_log_counts.py index bcd46a2011..8ec8a83dd8 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_attention_log_counts.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_attention_log_counts.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_cursor_cache_statements.py b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_cursor_cache_statements.py index 00d80e6b6c..d89bf86379 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_cursor_cache_statements.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_cursor_cache_statements.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_group.py b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_group.py index 38165da74c..03f605b2b5 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_group.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_group.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_groups.py b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_groups.py index 3851d51325..617e1b1e14 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_groups.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_groups.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_optimizer_statistics_advisor_execution.py b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_optimizer_statistics_advisor_execution.py index cb856969c9..a9fd62aa76 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_optimizer_statistics_advisor_execution.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_optimizer_statistics_advisor_execution.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_optimizer_statistics_advisor_execution_script.py b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_optimizer_statistics_advisor_execution_script.py index 52580e5d86..d7d5e2dd7e 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_optimizer_statistics_advisor_execution_script.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_optimizer_statistics_advisor_execution_script.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_optimizer_statistics_advisor_executions.py b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_optimizer_statistics_advisor_executions.py index 85654dde76..7c57805839 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_optimizer_statistics_advisor_executions.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_optimizer_statistics_advisor_executions.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_optimizer_statistics_collection_aggregations.py b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_optimizer_statistics_collection_aggregations.py index 6eb49b0e46..7475f8e2cd 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_optimizer_statistics_collection_aggregations.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_optimizer_statistics_collection_aggregations.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_optimizer_statistics_collection_operation.py b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_optimizer_statistics_collection_operation.py index 30868b34c1..06ff34cc68 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_optimizer_statistics_collection_operation.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_optimizer_statistics_collection_operation.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_optimizer_statistics_collection_operations.py b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_optimizer_statistics_collection_operations.py index 376a03f2f0..ca6ce88861 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_optimizer_statistics_collection_operations.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_optimizer_statistics_collection_operations.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_sql_plan_baseline.py b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_sql_plan_baseline.py index 3db205cd95..2b14c10f9e 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_sql_plan_baseline.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_sql_plan_baseline.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_sql_plan_baseline_configuration.py b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_sql_plan_baseline_configuration.py index efe77cea07..ba1129c453 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_sql_plan_baseline_configuration.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_sql_plan_baseline_configuration.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_sql_plan_baseline_jobs.py b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_sql_plan_baseline_jobs.py index fd3b221003..1e2f4f41bf 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_sql_plan_baseline_jobs.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_sql_plan_baseline_jobs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_sql_plan_baselines.py b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_sql_plan_baselines.py index b31b4630b6..81125ea7fd 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_sql_plan_baselines.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_sql_plan_baselines.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_sql_tuning_advisor_task.py b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_sql_tuning_advisor_task.py index 83723fee91..29b1a01e05 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_sql_tuning_advisor_task.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_sql_tuning_advisor_task.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_sql_tuning_advisor_tasks.py b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_sql_tuning_advisor_tasks.py index 71d60d871b..fa77d778ff 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_sql_tuning_advisor_tasks.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_sql_tuning_advisor_tasks.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_sql_tuning_advisor_tasks_execution_plan_stats_comparison.py b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_sql_tuning_advisor_tasks_execution_plan_stats_comparison.py index 85ddac749e..1a8541b0a3 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_sql_tuning_advisor_tasks_execution_plan_stats_comparison.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_sql_tuning_advisor_tasks_execution_plan_stats_comparison.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_sql_tuning_advisor_tasks_finding.py b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_sql_tuning_advisor_tasks_finding.py index 3c43daf08a..8966f4baaa 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_sql_tuning_advisor_tasks_finding.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_sql_tuning_advisor_tasks_finding.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_sql_tuning_advisor_tasks_findings.py b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_sql_tuning_advisor_tasks_findings.py index 8fc7f69681..5082b46b39 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_sql_tuning_advisor_tasks_findings.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_sql_tuning_advisor_tasks_findings.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_sql_tuning_advisor_tasks_recommendation.py b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_sql_tuning_advisor_tasks_recommendation.py index 2c8fce37c9..5f160e0365 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_sql_tuning_advisor_tasks_recommendation.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_sql_tuning_advisor_tasks_recommendation.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_sql_tuning_advisor_tasks_recommendations.py b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_sql_tuning_advisor_tasks_recommendations.py index 746e40b824..062356f5e9 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_sql_tuning_advisor_tasks_recommendations.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_sql_tuning_advisor_tasks_recommendations.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_sql_tuning_advisor_tasks_sql_execution_plan.py b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_sql_tuning_advisor_tasks_sql_execution_plan.py index 22124d9ac3..96e6a30367 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_sql_tuning_advisor_tasks_sql_execution_plan.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_sql_tuning_advisor_tasks_sql_execution_plan.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_sql_tuning_advisor_tasks_summary_report.py b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_sql_tuning_advisor_tasks_summary_report.py index 8550c0cffe..0dd512ef17 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_sql_tuning_advisor_tasks_summary_report.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_sql_tuning_advisor_tasks_summary_report.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_sql_tuning_set.py b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_sql_tuning_set.py index e4b35e970c..17d6c6cba0 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_sql_tuning_set.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_sql_tuning_set.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_sql_tuning_sets.py b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_sql_tuning_sets.py index d51dfd4f8b..b979363c93 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_sql_tuning_sets.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_sql_tuning_sets.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_table_statistics.py b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_table_statistics.py index 6884e35d8e..f37f6548cc 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_table_statistics.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_table_statistics.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_user.py b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_user.py index d926325af5..2c7e23f052 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_user.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_user.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_user_consumer_group_privilege.py b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_user_consumer_group_privilege.py index f751c16c96..810dfda7b3 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_user_consumer_group_privilege.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_user_consumer_group_privilege.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_user_consumer_group_privileges.py b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_user_consumer_group_privileges.py index 09bf6e7165..79797b97f4 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_user_consumer_group_privileges.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_user_consumer_group_privileges.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_user_data_access_container.py b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_user_data_access_container.py index c1e9823b22..fc5ac91c61 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_user_data_access_container.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_user_data_access_container.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_user_data_access_containers.py b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_user_data_access_containers.py index 9a3aba719d..d62b2a2208 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_user_data_access_containers.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_user_data_access_containers.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_user_object_privilege.py b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_user_object_privilege.py index f713a9f4bc..0e074b9f20 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_user_object_privilege.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_user_object_privilege.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_user_object_privileges.py b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_user_object_privileges.py index caa1ad2dfe..ca7466ffdd 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_user_object_privileges.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_user_object_privileges.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_user_proxied_for_user.py b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_user_proxied_for_user.py index 6d1dbc12d0..dd533d4063 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_user_proxied_for_user.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_user_proxied_for_user.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_user_proxied_for_users.py b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_user_proxied_for_users.py index b6db3de278..284586ce0a 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_user_proxied_for_users.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_user_proxied_for_users.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_user_role.py b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_user_role.py index 31ee838cb8..a159e6e36d 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_user_role.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_user_role.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_user_roles.py b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_user_roles.py index 328b2fe387..1931f83094 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_user_roles.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_user_roles.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_users.py b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_users.py index 619e668746..29ef2378eb 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_managed_database_users.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_managed_database_users.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/databasemanagement/get_managed_databases.py b/sdk/python/pulumi_oci/databasemanagement/get_managed_databases.py index d2cce62aa4..1ba2a2362e 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_managed_databases.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_managed_databases.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/databasemanagement/get_managed_databases_asm_properties.py b/sdk/python/pulumi_oci/databasemanagement/get_managed_databases_asm_properties.py index e975999cac..0af84bf007 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_managed_databases_asm_properties.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_managed_databases_asm_properties.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/databasemanagement/get_managed_databases_asm_property.py b/sdk/python/pulumi_oci/databasemanagement/get_managed_databases_asm_property.py index b2c41cb106..bdfb6be16a 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_managed_databases_asm_property.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_managed_databases_asm_property.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/databasemanagement/get_managed_databases_database_parameter.py b/sdk/python/pulumi_oci/databasemanagement/get_managed_databases_database_parameter.py index 9faa22e6e6..c4b4a65292 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_managed_databases_database_parameter.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_managed_databases_database_parameter.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/databasemanagement/get_managed_databases_database_parameters.py b/sdk/python/pulumi_oci/databasemanagement/get_managed_databases_database_parameters.py index d0a6308772..aed3defb36 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_managed_databases_database_parameters.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_managed_databases_database_parameters.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/databasemanagement/get_managed_databases_user_proxy_user.py b/sdk/python/pulumi_oci/databasemanagement/get_managed_databases_user_proxy_user.py index c2ea89eb6b..30967a36cd 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_managed_databases_user_proxy_user.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_managed_databases_user_proxy_user.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/databasemanagement/get_managed_databases_user_proxy_users.py b/sdk/python/pulumi_oci/databasemanagement/get_managed_databases_user_proxy_users.py index 54cfc9ff81..2621c8ba9e 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_managed_databases_user_proxy_users.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_managed_databases_user_proxy_users.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/databasemanagement/get_managed_databases_user_system_privilege.py b/sdk/python/pulumi_oci/databasemanagement/get_managed_databases_user_system_privilege.py index 0a68a2d536..4de9d763a5 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_managed_databases_user_system_privilege.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_managed_databases_user_system_privilege.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/databasemanagement/get_managed_databases_user_system_privileges.py b/sdk/python/pulumi_oci/databasemanagement/get_managed_databases_user_system_privileges.py index adcae879ab..9668988fa3 100644 --- a/sdk/python/pulumi_oci/databasemanagement/get_managed_databases_user_system_privileges.py +++ b/sdk/python/pulumi_oci/databasemanagement/get_managed_databases_user_system_privileges.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/databasemanagement/managed_database_group.py b/sdk/python/pulumi_oci/databasemanagement/managed_database_group.py index d4e9fb8639..ff52acf7c1 100644 --- a/sdk/python/pulumi_oci/databasemanagement/managed_database_group.py +++ b/sdk/python/pulumi_oci/databasemanagement/managed_database_group.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -27,13 +27,28 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['ManagedDatabaseGroupManagedDatabaseArgs']]] managed_databases: (Updatable) Set of Managed Databases that the user wants to add to the Managed Database Group. Specifying a block will add the Managed Database to Managed Database Group and removing the block will remove Managed Database from the Managed Database Group. :param pulumi.Input[str] name: The name of the Managed Database Group. Valid characters are uppercase or lowercase letters, numbers, and "_". The name of the Managed Database Group cannot be modified. It must be unique in the compartment and must begin with an alphabetic character. """ - pulumi.set(__self__, "compartment_id", compartment_id) + ManagedDatabaseGroupArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + description=description, + managed_databases=managed_databases, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + description: Optional[pulumi.Input[str]] = None, + managed_databases: Optional[pulumi.Input[Sequence[pulumi.Input['ManagedDatabaseGroupManagedDatabaseArgs']]]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if managed_databases is not None: - pulumi.set(__self__, "managed_databases", managed_databases) + _setter("managed_databases", managed_databases) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter(name="compartmentId") @@ -104,20 +119,41 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the Managed Database Group was created. :param pulumi.Input[str] time_updated: The date and time the Managed Database Group was last updated. """ + _ManagedDatabaseGroupState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + description=description, + managed_databases=managed_databases, + name=name, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + managed_databases: Optional[pulumi.Input[Sequence[pulumi.Input['ManagedDatabaseGroupManagedDatabaseArgs']]]] = None, + name: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if managed_databases is not None: - pulumi.set(__self__, "managed_databases", managed_databases) + _setter("managed_databases", managed_databases) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -293,6 +329,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ManagedDatabaseGroupArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/databasemanagement/managed_databases_change_database_parameter.py b/sdk/python/pulumi_oci/databasemanagement/managed_databases_change_database_parameter.py index 03631bce4f..851f3b469a 100644 --- a/sdk/python/pulumi_oci/databasemanagement/managed_databases_change_database_parameter.py +++ b/sdk/python/pulumi_oci/databasemanagement/managed_databases_change_database_parameter.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -33,10 +33,25 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "credentials", credentials) - pulumi.set(__self__, "managed_database_id", managed_database_id) - pulumi.set(__self__, "parameters", parameters) - pulumi.set(__self__, "scope", scope) + ManagedDatabasesChangeDatabaseParameterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + credentials=credentials, + managed_database_id=managed_database_id, + parameters=parameters, + scope=scope, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + credentials: pulumi.Input['ManagedDatabasesChangeDatabaseParameterCredentialsArgs'], + managed_database_id: pulumi.Input[str], + parameters: pulumi.Input[Sequence[pulumi.Input['ManagedDatabasesChangeDatabaseParameterParameterArgs']]], + scope: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("credentials", credentials) + _setter("managed_database_id", managed_database_id) + _setter("parameters", parameters) + _setter("scope", scope) @property @pulumi.getter @@ -113,14 +128,29 @@ def __init__(__self__, *, ** 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 """ + _ManagedDatabasesChangeDatabaseParameterState._configure( + lambda key, value: pulumi.set(__self__, key, value), + credentials=credentials, + managed_database_id=managed_database_id, + parameters=parameters, + scope=scope, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + credentials: Optional[pulumi.Input['ManagedDatabasesChangeDatabaseParameterCredentialsArgs']] = None, + managed_database_id: Optional[pulumi.Input[str]] = None, + parameters: Optional[pulumi.Input[Sequence[pulumi.Input['ManagedDatabasesChangeDatabaseParameterParameterArgs']]]] = None, + scope: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if credentials is not None: - pulumi.set(__self__, "credentials", credentials) + _setter("credentials", credentials) if managed_database_id is not None: - pulumi.set(__self__, "managed_database_id", managed_database_id) + _setter("managed_database_id", managed_database_id) if parameters is not None: - pulumi.set(__self__, "parameters", parameters) + _setter("parameters", parameters) if scope is not None: - pulumi.set(__self__, "scope", scope) + _setter("scope", scope) @property @pulumi.getter @@ -302,6 +332,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ManagedDatabasesChangeDatabaseParameterArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -320,6 +354,11 @@ def _internal_init(__self__, raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = ManagedDatabasesChangeDatabaseParameterArgs.__new__(ManagedDatabasesChangeDatabaseParameterArgs) + if credentials is not None and not isinstance(credentials, ManagedDatabasesChangeDatabaseParameterCredentialsArgs): + credentials = credentials or {} + def _setter(key, value): + credentials[key] = value + ManagedDatabasesChangeDatabaseParameterCredentialsArgs._configure(_setter, **credentials) if credentials is None and not opts.urn: raise TypeError("Missing required property 'credentials'") __props__.__dict__["credentials"] = credentials diff --git a/sdk/python/pulumi_oci/databasemanagement/managed_databases_reset_database_parameter.py b/sdk/python/pulumi_oci/databasemanagement/managed_databases_reset_database_parameter.py index 09689c0b5b..f708ce1e28 100644 --- a/sdk/python/pulumi_oci/databasemanagement/managed_databases_reset_database_parameter.py +++ b/sdk/python/pulumi_oci/databasemanagement/managed_databases_reset_database_parameter.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -33,10 +33,25 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "credentials", credentials) - pulumi.set(__self__, "managed_database_id", managed_database_id) - pulumi.set(__self__, "parameters", parameters) - pulumi.set(__self__, "scope", scope) + ManagedDatabasesResetDatabaseParameterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + credentials=credentials, + managed_database_id=managed_database_id, + parameters=parameters, + scope=scope, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + credentials: pulumi.Input['ManagedDatabasesResetDatabaseParameterCredentialsArgs'], + managed_database_id: pulumi.Input[str], + parameters: pulumi.Input[Sequence[pulumi.Input[str]]], + scope: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("credentials", credentials) + _setter("managed_database_id", managed_database_id) + _setter("parameters", parameters) + _setter("scope", scope) @property @pulumi.getter @@ -113,14 +128,29 @@ def __init__(__self__, *, ** 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 """ + _ManagedDatabasesResetDatabaseParameterState._configure( + lambda key, value: pulumi.set(__self__, key, value), + credentials=credentials, + managed_database_id=managed_database_id, + parameters=parameters, + scope=scope, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + credentials: Optional[pulumi.Input['ManagedDatabasesResetDatabaseParameterCredentialsArgs']] = None, + managed_database_id: Optional[pulumi.Input[str]] = None, + parameters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + scope: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if credentials is not None: - pulumi.set(__self__, "credentials", credentials) + _setter("credentials", credentials) if managed_database_id is not None: - pulumi.set(__self__, "managed_database_id", managed_database_id) + _setter("managed_database_id", managed_database_id) if parameters is not None: - pulumi.set(__self__, "parameters", parameters) + _setter("parameters", parameters) if scope is not None: - pulumi.set(__self__, "scope", scope) + _setter("scope", scope) @property @pulumi.getter @@ -270,6 +300,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ManagedDatabasesResetDatabaseParameterArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -288,6 +322,11 @@ def _internal_init(__self__, raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = ManagedDatabasesResetDatabaseParameterArgs.__new__(ManagedDatabasesResetDatabaseParameterArgs) + if credentials is not None and not isinstance(credentials, ManagedDatabasesResetDatabaseParameterCredentialsArgs): + credentials = credentials or {} + def _setter(key, value): + credentials[key] = value + ManagedDatabasesResetDatabaseParameterCredentialsArgs._configure(_setter, **credentials) if credentials is None and not opts.urn: raise TypeError("Missing required property 'credentials'") __props__.__dict__["credentials"] = credentials diff --git a/sdk/python/pulumi_oci/databasemanagement/outputs.py b/sdk/python/pulumi_oci/databasemanagement/outputs.py index 02b0bb931e..f5338eb553 100644 --- a/sdk/python/pulumi_oci/databasemanagement/outputs.py +++ b/sdk/python/pulumi_oci/databasemanagement/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -402,22 +402,45 @@ def __init__(__self__, *, :param str id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database. :param bool is_managed: Indicates whether the database is a Managed Database or not. """ + ExternalAsmServicedDatabase._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + database_sub_type=database_sub_type, + database_type=database_type, + db_unique_name=db_unique_name, + disk_groups=disk_groups, + display_name=display_name, + id=id, + is_managed=is_managed, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[str] = None, + database_sub_type: Optional[str] = None, + database_type: Optional[str] = None, + db_unique_name: Optional[str] = None, + disk_groups: Optional[Sequence[str]] = None, + display_name: Optional[str] = None, + id: Optional[str] = None, + is_managed: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if database_sub_type is not None: - pulumi.set(__self__, "database_sub_type", database_sub_type) + _setter("database_sub_type", database_sub_type) if database_type is not None: - pulumi.set(__self__, "database_type", database_type) + _setter("database_type", database_type) if db_unique_name is not None: - pulumi.set(__self__, "db_unique_name", db_unique_name) + _setter("db_unique_name", db_unique_name) if disk_groups is not None: - pulumi.set(__self__, "disk_groups", disk_groups) + _setter("disk_groups", disk_groups) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if is_managed is not None: - pulumi.set(__self__, "is_managed", is_managed) + _setter("is_managed", is_managed) @property @pulumi.getter(name="compartmentId") @@ -514,12 +537,25 @@ def __init__(__self__, *, :param str network_type: The network type. :param str subnet: The subnet for the network. """ + ExternalClusterNetworkConfiguration._configure( + lambda key, value: pulumi.set(__self__, key, value), + network_number=network_number, + network_type=network_type, + subnet=subnet, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + network_number: Optional[int] = None, + network_type: Optional[str] = None, + subnet: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if network_number is not None: - pulumi.set(__self__, "network_number", network_number) + _setter("network_number", network_number) if network_type is not None: - pulumi.set(__self__, "network_type", network_type) + _setter("network_type", network_type) if subnet is not None: - pulumi.set(__self__, "subnet", subnet) + _setter("subnet", subnet) @property @pulumi.getter(name="networkNumber") @@ -582,14 +618,29 @@ def __init__(__self__, *, :param int scan_port: The port number of the SCAN listener. :param str scan_protocol: The protocol of the SCAN listener. """ + ExternalClusterScanConfiguration._configure( + lambda key, value: pulumi.set(__self__, key, value), + network_number=network_number, + scan_name=scan_name, + scan_port=scan_port, + scan_protocol=scan_protocol, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + network_number: Optional[int] = None, + scan_name: Optional[str] = None, + scan_port: Optional[int] = None, + scan_protocol: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if network_number is not None: - pulumi.set(__self__, "network_number", network_number) + _setter("network_number", network_number) if scan_name is not None: - pulumi.set(__self__, "scan_name", scan_name) + _setter("scan_name", scan_name) if scan_port is not None: - pulumi.set(__self__, "scan_port", scan_port) + _setter("scan_port", scan_port) if scan_protocol is not None: - pulumi.set(__self__, "scan_protocol", scan_protocol) + _setter("scan_protocol", scan_protocol) @property @pulumi.getter(name="networkNumber") @@ -654,12 +705,25 @@ def __init__(__self__, *, :param int network_number: The network number from which VIPs are obtained. :param str node_name: The name of the node with the VIP. """ + ExternalClusterVipConfiguration._configure( + lambda key, value: pulumi.set(__self__, key, value), + address=address, + network_number=network_number, + node_name=node_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address: Optional[str] = None, + network_number: Optional[int] = None, + node_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if address is not None: - pulumi.set(__self__, "address", address) + _setter("address", address) if network_number is not None: - pulumi.set(__self__, "network_number", network_number) + _setter("network_number", network_number) if node_name is not None: - pulumi.set(__self__, "node_name", node_name) + _setter("node_name", node_name) @property @pulumi.getter @@ -718,11 +782,24 @@ def __init__(__self__, *, :param Sequence['ExternalDbSystemConnectorConnectionInfoConnectionCredentialArgs'] connection_credentials: The credentials used to connect to the ASM instance. Currently only the `DETAILS` type is supported for creating MACS connector credentials. :param Sequence['ExternalDbSystemConnectorConnectionInfoConnectionStringArgs'] connection_strings: The Oracle Database connection string. """ - pulumi.set(__self__, "component_type", component_type) + ExternalDbSystemConnectorConnectionInfo._configure( + lambda key, value: pulumi.set(__self__, key, value), + component_type=component_type, + connection_credentials=connection_credentials, + connection_strings=connection_strings, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + component_type: str, + connection_credentials: Optional[Sequence['outputs.ExternalDbSystemConnectorConnectionInfoConnectionCredential']] = None, + connection_strings: Optional[Sequence['outputs.ExternalDbSystemConnectorConnectionInfoConnectionString']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("component_type", component_type) if connection_credentials is not None: - pulumi.set(__self__, "connection_credentials", connection_credentials) + _setter("connection_credentials", connection_credentials) if connection_strings is not None: - pulumi.set(__self__, "connection_strings", connection_strings) + _setter("connection_strings", connection_strings) @property @pulumi.getter(name="componentType") @@ -791,18 +868,37 @@ def __init__(__self__, *, :param str ssl_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. :param str user_name: The user name used to connect to the ASM instance. """ + ExternalDbSystemConnectorConnectionInfoConnectionCredential._configure( + lambda key, value: pulumi.set(__self__, key, value), + credential_name=credential_name, + credential_type=credential_type, + password_secret_id=password_secret_id, + role=role, + ssl_secret_id=ssl_secret_id, + user_name=user_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + credential_name: Optional[str] = None, + credential_type: Optional[str] = None, + password_secret_id: Optional[str] = None, + role: Optional[str] = None, + ssl_secret_id: Optional[str] = None, + user_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if credential_name is not None: - pulumi.set(__self__, "credential_name", credential_name) + _setter("credential_name", credential_name) if credential_type is not None: - pulumi.set(__self__, "credential_type", credential_type) + _setter("credential_type", credential_type) if password_secret_id is not None: - pulumi.set(__self__, "password_secret_id", password_secret_id) + _setter("password_secret_id", password_secret_id) if role is not None: - pulumi.set(__self__, "role", role) + _setter("role", role) if ssl_secret_id is not None: - pulumi.set(__self__, "ssl_secret_id", ssl_secret_id) + _setter("ssl_secret_id", ssl_secret_id) if user_name is not None: - pulumi.set(__self__, "user_name", user_name) + _setter("user_name", user_name) @property @pulumi.getter(name="credentialName") @@ -885,16 +981,33 @@ def __init__(__self__, *, :param str protocol: The protocol used to connect to the ASM instance. :param str service: The service name of the ASM instance. """ + ExternalDbSystemConnectorConnectionInfoConnectionString._configure( + lambda key, value: pulumi.set(__self__, key, value), + host_name=host_name, + hosts=hosts, + port=port, + protocol=protocol, + service=service, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host_name: Optional[str] = None, + hosts: Optional[Sequence[str]] = None, + port: Optional[int] = None, + protocol: Optional[str] = None, + service: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if host_name is not None: - pulumi.set(__self__, "host_name", host_name) + _setter("host_name", host_name) if hosts is not None: - pulumi.set(__self__, "hosts", hosts) + _setter("hosts", hosts) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if protocol is not None: - pulumi.set(__self__, "protocol", protocol) + _setter("protocol", protocol) if service is not None: - pulumi.set(__self__, "service", service) + _setter("service", service) @property @pulumi.getter(name="hostName") @@ -961,7 +1074,16 @@ def __init__(__self__, *, """ :param str license_model: The Oracle license model that applies to the external database. """ - pulumi.set(__self__, "license_model", license_model) + ExternalDbSystemDatabaseManagementConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + license_model=license_model, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + license_model: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("license_model", license_model) @property @pulumi.getter(name="licenseModel") @@ -1168,100 +1290,201 @@ def __init__(__self__, *, :param str version: The version of Oracle Clusterware running in the cluster. :param Sequence['ExternalDbSystemDiscoveryDiscoveredComponentVipConfigurationArgs'] vip_configurations: The list of Virtual IP (VIP) configurations of the external cluster. """ + ExternalDbSystemDiscoveryDiscoveredComponent._configure( + lambda key, value: pulumi.set(__self__, key, value), + adr_home_directory=adr_home_directory, + asm_instances=asm_instances, + associated_components=associated_components, + cluster_id=cluster_id, + cluster_instances=cluster_instances, + compartment_id=compartment_id, + component_id=component_id, + component_name=component_name, + component_type=component_type, + connectors=connectors, + container_database_id=container_database_id, + cpu_core_count=cpu_core_count, + crs_base_directory=crs_base_directory, + db_edition=db_edition, + db_id=db_id, + db_node_name=db_node_name, + db_packs=db_packs, + db_role=db_role, + db_type=db_type, + db_unique_name=db_unique_name, + db_version=db_version, + display_name=display_name, + endpoints=endpoints, + grid_home=grid_home, + guid=guid, + home_directory=home_directory, + host_name=host_name, + instance_name=instance_name, + is_cluster=is_cluster, + is_flex_cluster=is_flex_cluster, + is_flex_enabled=is_flex_enabled, + is_selected_for_monitoring=is_selected_for_monitoring, + listener_alias=listener_alias, + listener_type=listener_type, + log_directory=log_directory, + memory_size_in_gbs=memory_size_in_gbs, + network_configurations=network_configurations, + node_role=node_role, + ocr_file_location=ocr_file_location, + oracle_home=oracle_home, + pluggable_databases=pluggable_databases, + resource_id=resource_id, + scan_configurations=scan_configurations, + status=status, + trace_directory=trace_directory, + version=version, + vip_configurations=vip_configurations, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + adr_home_directory: Optional[str] = None, + asm_instances: Optional[Sequence['outputs.ExternalDbSystemDiscoveryDiscoveredComponentAsmInstance']] = None, + associated_components: Optional[Sequence['outputs.ExternalDbSystemDiscoveryDiscoveredComponentAssociatedComponent']] = None, + cluster_id: Optional[str] = None, + cluster_instances: Optional[Sequence['outputs.ExternalDbSystemDiscoveryDiscoveredComponentClusterInstance']] = None, + compartment_id: Optional[str] = None, + component_id: Optional[str] = None, + component_name: Optional[str] = None, + component_type: Optional[str] = None, + connectors: Optional[Sequence['outputs.ExternalDbSystemDiscoveryDiscoveredComponentConnector']] = None, + container_database_id: Optional[str] = None, + cpu_core_count: Optional[float] = None, + crs_base_directory: Optional[str] = None, + db_edition: Optional[str] = None, + db_id: Optional[str] = None, + db_node_name: Optional[str] = None, + db_packs: Optional[str] = None, + db_role: Optional[str] = None, + db_type: Optional[str] = None, + db_unique_name: Optional[str] = None, + db_version: Optional[str] = None, + display_name: Optional[str] = None, + endpoints: Optional[Sequence['outputs.ExternalDbSystemDiscoveryDiscoveredComponentEndpoint']] = None, + grid_home: Optional[str] = None, + guid: Optional[str] = None, + home_directory: Optional[str] = None, + host_name: Optional[str] = None, + instance_name: Optional[str] = None, + is_cluster: Optional[bool] = None, + is_flex_cluster: Optional[bool] = None, + is_flex_enabled: Optional[bool] = None, + is_selected_for_monitoring: Optional[bool] = None, + listener_alias: Optional[str] = None, + listener_type: Optional[str] = None, + log_directory: Optional[str] = None, + memory_size_in_gbs: Optional[float] = None, + network_configurations: Optional[Sequence['outputs.ExternalDbSystemDiscoveryDiscoveredComponentNetworkConfiguration']] = None, + node_role: Optional[str] = None, + ocr_file_location: Optional[str] = None, + oracle_home: Optional[str] = None, + pluggable_databases: Optional[Sequence['outputs.ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabase']] = None, + resource_id: Optional[str] = None, + scan_configurations: Optional[Sequence['outputs.ExternalDbSystemDiscoveryDiscoveredComponentScanConfiguration']] = None, + status: Optional[str] = None, + trace_directory: Optional[str] = None, + version: Optional[str] = None, + vip_configurations: Optional[Sequence['outputs.ExternalDbSystemDiscoveryDiscoveredComponentVipConfiguration']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if adr_home_directory is not None: - pulumi.set(__self__, "adr_home_directory", adr_home_directory) + _setter("adr_home_directory", adr_home_directory) if asm_instances is not None: - pulumi.set(__self__, "asm_instances", asm_instances) + _setter("asm_instances", asm_instances) if associated_components is not None: - pulumi.set(__self__, "associated_components", associated_components) + _setter("associated_components", associated_components) if cluster_id is not None: - pulumi.set(__self__, "cluster_id", cluster_id) + _setter("cluster_id", cluster_id) if cluster_instances is not None: - pulumi.set(__self__, "cluster_instances", cluster_instances) + _setter("cluster_instances", cluster_instances) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if component_id is not None: - pulumi.set(__self__, "component_id", component_id) + _setter("component_id", component_id) if component_name is not None: - pulumi.set(__self__, "component_name", component_name) + _setter("component_name", component_name) if component_type is not None: - pulumi.set(__self__, "component_type", component_type) + _setter("component_type", component_type) if connectors is not None: - pulumi.set(__self__, "connectors", connectors) + _setter("connectors", connectors) if container_database_id is not None: - pulumi.set(__self__, "container_database_id", container_database_id) + _setter("container_database_id", container_database_id) if cpu_core_count is not None: - pulumi.set(__self__, "cpu_core_count", cpu_core_count) + _setter("cpu_core_count", cpu_core_count) if crs_base_directory is not None: - pulumi.set(__self__, "crs_base_directory", crs_base_directory) + _setter("crs_base_directory", crs_base_directory) if db_edition is not None: - pulumi.set(__self__, "db_edition", db_edition) + _setter("db_edition", db_edition) if db_id is not None: - pulumi.set(__self__, "db_id", db_id) + _setter("db_id", db_id) if db_node_name is not None: - pulumi.set(__self__, "db_node_name", db_node_name) + _setter("db_node_name", db_node_name) if db_packs is not None: - pulumi.set(__self__, "db_packs", db_packs) + _setter("db_packs", db_packs) if db_role is not None: - pulumi.set(__self__, "db_role", db_role) + _setter("db_role", db_role) if db_type is not None: - pulumi.set(__self__, "db_type", db_type) + _setter("db_type", db_type) if db_unique_name is not None: - pulumi.set(__self__, "db_unique_name", db_unique_name) + _setter("db_unique_name", db_unique_name) if db_version is not None: - pulumi.set(__self__, "db_version", db_version) + _setter("db_version", db_version) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if endpoints is not None: - pulumi.set(__self__, "endpoints", endpoints) + _setter("endpoints", endpoints) if grid_home is not None: - pulumi.set(__self__, "grid_home", grid_home) + _setter("grid_home", grid_home) if guid is not None: - pulumi.set(__self__, "guid", guid) + _setter("guid", guid) if home_directory is not None: - pulumi.set(__self__, "home_directory", home_directory) + _setter("home_directory", home_directory) if host_name is not None: - pulumi.set(__self__, "host_name", host_name) + _setter("host_name", host_name) if instance_name is not None: - pulumi.set(__self__, "instance_name", instance_name) + _setter("instance_name", instance_name) if is_cluster is not None: - pulumi.set(__self__, "is_cluster", is_cluster) + _setter("is_cluster", is_cluster) if is_flex_cluster is not None: - pulumi.set(__self__, "is_flex_cluster", is_flex_cluster) + _setter("is_flex_cluster", is_flex_cluster) if is_flex_enabled is not None: - pulumi.set(__self__, "is_flex_enabled", is_flex_enabled) + _setter("is_flex_enabled", is_flex_enabled) if is_selected_for_monitoring is not None: - pulumi.set(__self__, "is_selected_for_monitoring", is_selected_for_monitoring) + _setter("is_selected_for_monitoring", is_selected_for_monitoring) if listener_alias is not None: - pulumi.set(__self__, "listener_alias", listener_alias) + _setter("listener_alias", listener_alias) if listener_type is not None: - pulumi.set(__self__, "listener_type", listener_type) + _setter("listener_type", listener_type) if log_directory is not None: - pulumi.set(__self__, "log_directory", log_directory) + _setter("log_directory", log_directory) if memory_size_in_gbs is not None: - pulumi.set(__self__, "memory_size_in_gbs", memory_size_in_gbs) + _setter("memory_size_in_gbs", memory_size_in_gbs) if network_configurations is not None: - pulumi.set(__self__, "network_configurations", network_configurations) + _setter("network_configurations", network_configurations) if node_role is not None: - pulumi.set(__self__, "node_role", node_role) + _setter("node_role", node_role) if ocr_file_location is not None: - pulumi.set(__self__, "ocr_file_location", ocr_file_location) + _setter("ocr_file_location", ocr_file_location) if oracle_home is not None: - pulumi.set(__self__, "oracle_home", oracle_home) + _setter("oracle_home", oracle_home) if pluggable_databases is not None: - pulumi.set(__self__, "pluggable_databases", pluggable_databases) + _setter("pluggable_databases", pluggable_databases) if resource_id is not None: - pulumi.set(__self__, "resource_id", resource_id) + _setter("resource_id", resource_id) if scan_configurations is not None: - pulumi.set(__self__, "scan_configurations", scan_configurations) + _setter("scan_configurations", scan_configurations) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if trace_directory is not None: - pulumi.set(__self__, "trace_directory", trace_directory) + _setter("trace_directory", trace_directory) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) if vip_configurations is not None: - pulumi.set(__self__, "vip_configurations", vip_configurations) + _setter("vip_configurations", vip_configurations) @property @pulumi.getter(name="adrHomeDirectory") @@ -1666,12 +1889,25 @@ def __init__(__self__, *, :param str host_name: The host name of the database or the SCAN name in case of a RAC database. :param str instance_name: The name of the ASM instance. """ + ExternalDbSystemDiscoveryDiscoveredComponentAsmInstance._configure( + lambda key, value: pulumi.set(__self__, key, value), + adr_home_directory=adr_home_directory, + host_name=host_name, + instance_name=instance_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + adr_home_directory: Optional[str] = None, + host_name: Optional[str] = None, + instance_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if adr_home_directory is not None: - pulumi.set(__self__, "adr_home_directory", adr_home_directory) + _setter("adr_home_directory", adr_home_directory) if host_name is not None: - pulumi.set(__self__, "host_name", host_name) + _setter("host_name", host_name) if instance_name is not None: - pulumi.set(__self__, "instance_name", instance_name) + _setter("instance_name", instance_name) @property @pulumi.getter(name="adrHomeDirectory") @@ -1730,12 +1966,25 @@ def __init__(__self__, *, :param str component_id: The identifier of the discovered DB system component. :param str component_type: The component type. """ + ExternalDbSystemDiscoveryDiscoveredComponentAssociatedComponent._configure( + lambda key, value: pulumi.set(__self__, key, value), + association_type=association_type, + component_id=component_id, + component_type=component_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + association_type: Optional[str] = None, + component_id: Optional[str] = None, + component_type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if association_type is not None: - pulumi.set(__self__, "association_type", association_type) + _setter("association_type", association_type) if component_id is not None: - pulumi.set(__self__, "component_id", component_id) + _setter("component_id", component_id) if component_type is not None: - pulumi.set(__self__, "component_type", component_type) + _setter("component_type", component_type) @property @pulumi.getter(name="associationType") @@ -1804,18 +2053,37 @@ def __init__(__self__, *, :param str host_name: The host name of the database or the SCAN name in case of a RAC database. :param str node_role: The role of the cluster node. """ + ExternalDbSystemDiscoveryDiscoveredComponentClusterInstance._configure( + lambda key, value: pulumi.set(__self__, key, value), + adr_home_directory=adr_home_directory, + cluster_id=cluster_id, + connectors=connectors, + crs_base_directory=crs_base_directory, + host_name=host_name, + node_role=node_role, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + adr_home_directory: Optional[str] = None, + cluster_id: Optional[str] = None, + connectors: Optional[Sequence['outputs.ExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnector']] = None, + crs_base_directory: Optional[str] = None, + host_name: Optional[str] = None, + node_role: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if adr_home_directory is not None: - pulumi.set(__self__, "adr_home_directory", adr_home_directory) + _setter("adr_home_directory", adr_home_directory) if cluster_id is not None: - pulumi.set(__self__, "cluster_id", cluster_id) + _setter("cluster_id", cluster_id) if connectors is not None: - pulumi.set(__self__, "connectors", connectors) + _setter("connectors", connectors) if crs_base_directory is not None: - pulumi.set(__self__, "crs_base_directory", crs_base_directory) + _setter("crs_base_directory", crs_base_directory) if host_name is not None: - pulumi.set(__self__, "host_name", host_name) + _setter("host_name", host_name) if node_role is not None: - pulumi.set(__self__, "node_role", node_role) + _setter("node_role", node_role) @property @pulumi.getter(name="adrHomeDirectory") @@ -1914,20 +2182,41 @@ def __init__(__self__, *, :param str display_name: (Updatable) The user-friendly name for the DB system. The name does not have to be unique. :param str time_connection_status_last_updated: The date and time the connectionStatus of the external DB system connector was last updated. """ + ExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnector._configure( + lambda key, value: pulumi.set(__self__, key, value), + agent_id=agent_id, + connection_failure_message=connection_failure_message, + connection_infos=connection_infos, + connection_status=connection_status, + connector_type=connector_type, + display_name=display_name, + time_connection_status_last_updated=time_connection_status_last_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agent_id: Optional[str] = None, + connection_failure_message: Optional[str] = None, + connection_infos: Optional[Sequence['outputs.ExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfo']] = None, + connection_status: Optional[str] = None, + connector_type: Optional[str] = None, + display_name: Optional[str] = None, + time_connection_status_last_updated: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if agent_id is not None: - pulumi.set(__self__, "agent_id", agent_id) + _setter("agent_id", agent_id) if connection_failure_message is not None: - pulumi.set(__self__, "connection_failure_message", connection_failure_message) + _setter("connection_failure_message", connection_failure_message) if connection_infos is not None: - pulumi.set(__self__, "connection_infos", connection_infos) + _setter("connection_infos", connection_infos) if connection_status is not None: - pulumi.set(__self__, "connection_status", connection_status) + _setter("connection_status", connection_status) if connector_type is not None: - pulumi.set(__self__, "connector_type", connector_type) + _setter("connector_type", connector_type) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if time_connection_status_last_updated is not None: - pulumi.set(__self__, "time_connection_status_last_updated", time_connection_status_last_updated) + _setter("time_connection_status_last_updated", time_connection_status_last_updated) @property @pulumi.getter(name="agentId") @@ -2018,12 +2307,25 @@ def __init__(__self__, *, :param Sequence['ExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredentialArgs'] connection_credentials: The credentials used to connect to the ASM instance. Currently only the `DETAILS` type is supported for creating MACS connector credentials. :param Sequence['ExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionStringArgs'] connection_strings: The Oracle Database connection string. """ + ExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfo._configure( + lambda key, value: pulumi.set(__self__, key, value), + component_type=component_type, + connection_credentials=connection_credentials, + connection_strings=connection_strings, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + component_type: Optional[str] = None, + connection_credentials: Optional[Sequence['outputs.ExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredential']] = None, + connection_strings: Optional[Sequence['outputs.ExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionString']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if component_type is not None: - pulumi.set(__self__, "component_type", component_type) + _setter("component_type", component_type) if connection_credentials is not None: - pulumi.set(__self__, "connection_credentials", connection_credentials) + _setter("connection_credentials", connection_credentials) if connection_strings is not None: - pulumi.set(__self__, "connection_strings", connection_strings) + _setter("connection_strings", connection_strings) @property @pulumi.getter(name="componentType") @@ -2092,18 +2394,37 @@ def __init__(__self__, *, :param str ssl_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. :param str user_name: The user name used to connect to the ASM instance. """ + ExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredential._configure( + lambda key, value: pulumi.set(__self__, key, value), + credential_name=credential_name, + credential_type=credential_type, + password_secret_id=password_secret_id, + role=role, + ssl_secret_id=ssl_secret_id, + user_name=user_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + credential_name: Optional[str] = None, + credential_type: Optional[str] = None, + password_secret_id: Optional[str] = None, + role: Optional[str] = None, + ssl_secret_id: Optional[str] = None, + user_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if credential_name is not None: - pulumi.set(__self__, "credential_name", credential_name) + _setter("credential_name", credential_name) if credential_type is not None: - pulumi.set(__self__, "credential_type", credential_type) + _setter("credential_type", credential_type) if password_secret_id is not None: - pulumi.set(__self__, "password_secret_id", password_secret_id) + _setter("password_secret_id", password_secret_id) if role is not None: - pulumi.set(__self__, "role", role) + _setter("role", role) if ssl_secret_id is not None: - pulumi.set(__self__, "ssl_secret_id", ssl_secret_id) + _setter("ssl_secret_id", ssl_secret_id) if user_name is not None: - pulumi.set(__self__, "user_name", user_name) + _setter("user_name", user_name) @property @pulumi.getter(name="credentialName") @@ -2186,16 +2507,33 @@ def __init__(__self__, *, :param str protocol: The protocol used to connect to the ASM instance. :param str service: The service name of the ASM instance. """ + ExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionString._configure( + lambda key, value: pulumi.set(__self__, key, value), + host_name=host_name, + hosts=hosts, + port=port, + protocol=protocol, + service=service, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host_name: Optional[str] = None, + hosts: Optional[Sequence[str]] = None, + port: Optional[int] = None, + protocol: Optional[str] = None, + service: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if host_name is not None: - pulumi.set(__self__, "host_name", host_name) + _setter("host_name", host_name) if hosts is not None: - pulumi.set(__self__, "hosts", hosts) + _setter("hosts", hosts) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if protocol is not None: - pulumi.set(__self__, "protocol", protocol) + _setter("protocol", protocol) if service is not None: - pulumi.set(__self__, "service", service) + _setter("service", service) @property @pulumi.getter(name="hostName") @@ -2286,20 +2624,41 @@ def __init__(__self__, *, :param str display_name: (Updatable) The user-friendly name for the DB system. The name does not have to be unique. :param str time_connection_status_last_updated: The date and time the connectionStatus of the external DB system connector was last updated. """ + ExternalDbSystemDiscoveryDiscoveredComponentConnector._configure( + lambda key, value: pulumi.set(__self__, key, value), + agent_id=agent_id, + connection_failure_message=connection_failure_message, + connection_infos=connection_infos, + connection_status=connection_status, + connector_type=connector_type, + display_name=display_name, + time_connection_status_last_updated=time_connection_status_last_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agent_id: Optional[str] = None, + connection_failure_message: Optional[str] = None, + connection_infos: Optional[Sequence['outputs.ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfo']] = None, + connection_status: Optional[str] = None, + connector_type: Optional[str] = None, + display_name: Optional[str] = None, + time_connection_status_last_updated: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if agent_id is not None: - pulumi.set(__self__, "agent_id", agent_id) + _setter("agent_id", agent_id) if connection_failure_message is not None: - pulumi.set(__self__, "connection_failure_message", connection_failure_message) + _setter("connection_failure_message", connection_failure_message) if connection_infos is not None: - pulumi.set(__self__, "connection_infos", connection_infos) + _setter("connection_infos", connection_infos) if connection_status is not None: - pulumi.set(__self__, "connection_status", connection_status) + _setter("connection_status", connection_status) if connector_type is not None: - pulumi.set(__self__, "connector_type", connector_type) + _setter("connector_type", connector_type) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if time_connection_status_last_updated is not None: - pulumi.set(__self__, "time_connection_status_last_updated", time_connection_status_last_updated) + _setter("time_connection_status_last_updated", time_connection_status_last_updated) @property @pulumi.getter(name="agentId") @@ -2390,12 +2749,25 @@ def __init__(__self__, *, :param Sequence['ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionCredentialArgs'] connection_credentials: The credentials used to connect to the ASM instance. Currently only the `DETAILS` type is supported for creating MACS connector credentials. :param Sequence['ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionStringArgs'] connection_strings: The Oracle Database connection string. """ + ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfo._configure( + lambda key, value: pulumi.set(__self__, key, value), + component_type=component_type, + connection_credentials=connection_credentials, + connection_strings=connection_strings, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + component_type: Optional[str] = None, + connection_credentials: Optional[Sequence['outputs.ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionCredential']] = None, + connection_strings: Optional[Sequence['outputs.ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionString']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if component_type is not None: - pulumi.set(__self__, "component_type", component_type) + _setter("component_type", component_type) if connection_credentials is not None: - pulumi.set(__self__, "connection_credentials", connection_credentials) + _setter("connection_credentials", connection_credentials) if connection_strings is not None: - pulumi.set(__self__, "connection_strings", connection_strings) + _setter("connection_strings", connection_strings) @property @pulumi.getter(name="componentType") @@ -2464,18 +2836,37 @@ def __init__(__self__, *, :param str ssl_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. :param str user_name: The user name used to connect to the ASM instance. """ + ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionCredential._configure( + lambda key, value: pulumi.set(__self__, key, value), + credential_name=credential_name, + credential_type=credential_type, + password_secret_id=password_secret_id, + role=role, + ssl_secret_id=ssl_secret_id, + user_name=user_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + credential_name: Optional[str] = None, + credential_type: Optional[str] = None, + password_secret_id: Optional[str] = None, + role: Optional[str] = None, + ssl_secret_id: Optional[str] = None, + user_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if credential_name is not None: - pulumi.set(__self__, "credential_name", credential_name) + _setter("credential_name", credential_name) if credential_type is not None: - pulumi.set(__self__, "credential_type", credential_type) + _setter("credential_type", credential_type) if password_secret_id is not None: - pulumi.set(__self__, "password_secret_id", password_secret_id) + _setter("password_secret_id", password_secret_id) if role is not None: - pulumi.set(__self__, "role", role) + _setter("role", role) if ssl_secret_id is not None: - pulumi.set(__self__, "ssl_secret_id", ssl_secret_id) + _setter("ssl_secret_id", ssl_secret_id) if user_name is not None: - pulumi.set(__self__, "user_name", user_name) + _setter("user_name", user_name) @property @pulumi.getter(name="credentialName") @@ -2558,16 +2949,33 @@ def __init__(__self__, *, :param str protocol: The protocol used to connect to the ASM instance. :param str service: The service name of the ASM instance. """ + ExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionString._configure( + lambda key, value: pulumi.set(__self__, key, value), + host_name=host_name, + hosts=hosts, + port=port, + protocol=protocol, + service=service, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host_name: Optional[str] = None, + hosts: Optional[Sequence[str]] = None, + port: Optional[int] = None, + protocol: Optional[str] = None, + service: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if host_name is not None: - pulumi.set(__self__, "host_name", host_name) + _setter("host_name", host_name) if hosts is not None: - pulumi.set(__self__, "hosts", hosts) + _setter("hosts", hosts) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if protocol is not None: - pulumi.set(__self__, "protocol", protocol) + _setter("protocol", protocol) if service is not None: - pulumi.set(__self__, "service", service) + _setter("service", service) @property @pulumi.getter(name="hostName") @@ -2625,16 +3033,33 @@ def __init__(__self__, *, :param str protocol: The protocol used to connect to the ASM instance. :param Sequence[str] services: The list of services registered with the listener. """ + ExternalDbSystemDiscoveryDiscoveredComponentEndpoint._configure( + lambda key, value: pulumi.set(__self__, key, value), + host=host, + key=key, + port=port, + protocol=protocol, + services=services, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host: Optional[str] = None, + key: Optional[str] = None, + port: Optional[int] = None, + protocol: Optional[str] = None, + services: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if host is not None: - pulumi.set(__self__, "host", host) + _setter("host", host) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if protocol is not None: - pulumi.set(__self__, "protocol", protocol) + _setter("protocol", protocol) if services is not None: - pulumi.set(__self__, "services", services) + _setter("services", services) @property @pulumi.getter @@ -2707,12 +3132,25 @@ def __init__(__self__, *, :param str network_type: The network type. :param str subnet: The subnet for the network. """ + ExternalDbSystemDiscoveryDiscoveredComponentNetworkConfiguration._configure( + lambda key, value: pulumi.set(__self__, key, value), + network_number=network_number, + network_type=network_type, + subnet=subnet, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + network_number: Optional[int] = None, + network_type: Optional[str] = None, + subnet: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if network_number is not None: - pulumi.set(__self__, "network_number", network_number) + _setter("network_number", network_number) if network_type is not None: - pulumi.set(__self__, "network_type", network_type) + _setter("network_type", network_type) if subnet is not None: - pulumi.set(__self__, "subnet", subnet) + _setter("subnet", subnet) @property @pulumi.getter(name="networkNumber") @@ -2771,14 +3209,29 @@ def __init__(__self__, *, :param str container_database_id: The unique identifier of the parent Container Database (CDB). :param str guid: The unique identifier of the PDB. """ + ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabase._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + connectors=connectors, + container_database_id=container_database_id, + guid=guid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[str] = None, + connectors: Optional[Sequence['outputs.ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnector']] = None, + container_database_id: Optional[str] = None, + guid: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if connectors is not None: - pulumi.set(__self__, "connectors", connectors) + _setter("connectors", connectors) if container_database_id is not None: - pulumi.set(__self__, "container_database_id", container_database_id) + _setter("container_database_id", container_database_id) if guid is not None: - pulumi.set(__self__, "guid", guid) + _setter("guid", guid) @property @pulumi.getter(name="compartmentId") @@ -2861,20 +3314,41 @@ def __init__(__self__, *, :param str display_name: (Updatable) The user-friendly name for the DB system. The name does not have to be unique. :param str time_connection_status_last_updated: The date and time the connectionStatus of the external DB system connector was last updated. """ + ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnector._configure( + lambda key, value: pulumi.set(__self__, key, value), + agent_id=agent_id, + connection_failure_message=connection_failure_message, + connection_infos=connection_infos, + connection_status=connection_status, + connector_type=connector_type, + display_name=display_name, + time_connection_status_last_updated=time_connection_status_last_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agent_id: Optional[str] = None, + connection_failure_message: Optional[str] = None, + connection_infos: Optional[Sequence['outputs.ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfo']] = None, + connection_status: Optional[str] = None, + connector_type: Optional[str] = None, + display_name: Optional[str] = None, + time_connection_status_last_updated: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if agent_id is not None: - pulumi.set(__self__, "agent_id", agent_id) + _setter("agent_id", agent_id) if connection_failure_message is not None: - pulumi.set(__self__, "connection_failure_message", connection_failure_message) + _setter("connection_failure_message", connection_failure_message) if connection_infos is not None: - pulumi.set(__self__, "connection_infos", connection_infos) + _setter("connection_infos", connection_infos) if connection_status is not None: - pulumi.set(__self__, "connection_status", connection_status) + _setter("connection_status", connection_status) if connector_type is not None: - pulumi.set(__self__, "connector_type", connector_type) + _setter("connector_type", connector_type) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if time_connection_status_last_updated is not None: - pulumi.set(__self__, "time_connection_status_last_updated", time_connection_status_last_updated) + _setter("time_connection_status_last_updated", time_connection_status_last_updated) @property @pulumi.getter(name="agentId") @@ -2965,12 +3439,25 @@ def __init__(__self__, *, :param Sequence['ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredentialArgs'] connection_credentials: The credentials used to connect to the ASM instance. Currently only the `DETAILS` type is supported for creating MACS connector credentials. :param Sequence['ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionStringArgs'] connection_strings: The Oracle Database connection string. """ + ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfo._configure( + lambda key, value: pulumi.set(__self__, key, value), + component_type=component_type, + connection_credentials=connection_credentials, + connection_strings=connection_strings, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + component_type: Optional[str] = None, + connection_credentials: Optional[Sequence['outputs.ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredential']] = None, + connection_strings: Optional[Sequence['outputs.ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionString']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if component_type is not None: - pulumi.set(__self__, "component_type", component_type) + _setter("component_type", component_type) if connection_credentials is not None: - pulumi.set(__self__, "connection_credentials", connection_credentials) + _setter("connection_credentials", connection_credentials) if connection_strings is not None: - pulumi.set(__self__, "connection_strings", connection_strings) + _setter("connection_strings", connection_strings) @property @pulumi.getter(name="componentType") @@ -3039,18 +3526,37 @@ def __init__(__self__, *, :param str ssl_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. :param str user_name: The user name used to connect to the ASM instance. """ + ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredential._configure( + lambda key, value: pulumi.set(__self__, key, value), + credential_name=credential_name, + credential_type=credential_type, + password_secret_id=password_secret_id, + role=role, + ssl_secret_id=ssl_secret_id, + user_name=user_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + credential_name: Optional[str] = None, + credential_type: Optional[str] = None, + password_secret_id: Optional[str] = None, + role: Optional[str] = None, + ssl_secret_id: Optional[str] = None, + user_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if credential_name is not None: - pulumi.set(__self__, "credential_name", credential_name) + _setter("credential_name", credential_name) if credential_type is not None: - pulumi.set(__self__, "credential_type", credential_type) + _setter("credential_type", credential_type) if password_secret_id is not None: - pulumi.set(__self__, "password_secret_id", password_secret_id) + _setter("password_secret_id", password_secret_id) if role is not None: - pulumi.set(__self__, "role", role) + _setter("role", role) if ssl_secret_id is not None: - pulumi.set(__self__, "ssl_secret_id", ssl_secret_id) + _setter("ssl_secret_id", ssl_secret_id) if user_name is not None: - pulumi.set(__self__, "user_name", user_name) + _setter("user_name", user_name) @property @pulumi.getter(name="credentialName") @@ -3133,16 +3639,33 @@ def __init__(__self__, *, :param str protocol: The protocol used to connect to the ASM instance. :param str service: The service name of the ASM instance. """ + ExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionString._configure( + lambda key, value: pulumi.set(__self__, key, value), + host_name=host_name, + hosts=hosts, + port=port, + protocol=protocol, + service=service, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host_name: Optional[str] = None, + hosts: Optional[Sequence[str]] = None, + port: Optional[int] = None, + protocol: Optional[str] = None, + service: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if host_name is not None: - pulumi.set(__self__, "host_name", host_name) + _setter("host_name", host_name) if hosts is not None: - pulumi.set(__self__, "hosts", hosts) + _setter("hosts", hosts) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if protocol is not None: - pulumi.set(__self__, "protocol", protocol) + _setter("protocol", protocol) if service is not None: - pulumi.set(__self__, "service", service) + _setter("service", service) @property @pulumi.getter(name="hostName") @@ -3221,14 +3744,29 @@ def __init__(__self__, *, :param int scan_port: The port number of the SCAN listener. :param str scan_protocol: The protocol of the SCAN listener. """ + ExternalDbSystemDiscoveryDiscoveredComponentScanConfiguration._configure( + lambda key, value: pulumi.set(__self__, key, value), + network_number=network_number, + scan_name=scan_name, + scan_port=scan_port, + scan_protocol=scan_protocol, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + network_number: Optional[int] = None, + scan_name: Optional[str] = None, + scan_port: Optional[int] = None, + scan_protocol: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if network_number is not None: - pulumi.set(__self__, "network_number", network_number) + _setter("network_number", network_number) if scan_name is not None: - pulumi.set(__self__, "scan_name", scan_name) + _setter("scan_name", scan_name) if scan_port is not None: - pulumi.set(__self__, "scan_port", scan_port) + _setter("scan_port", scan_port) if scan_protocol is not None: - pulumi.set(__self__, "scan_protocol", scan_protocol) + _setter("scan_protocol", scan_protocol) @property @pulumi.getter(name="networkNumber") @@ -3293,12 +3831,25 @@ def __init__(__self__, *, :param int network_number: The network number from which VIPs are obtained. :param str node_name: The name of the node with the VIP. """ + ExternalDbSystemDiscoveryDiscoveredComponentVipConfiguration._configure( + lambda key, value: pulumi.set(__self__, key, value), + address=address, + network_number=network_number, + node_name=node_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address: Optional[str] = None, + network_number: Optional[int] = None, + node_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if address is not None: - pulumi.set(__self__, "address", address) + _setter("address", address) if network_number is not None: - pulumi.set(__self__, "network_number", network_number) + _setter("network_number", network_number) if node_name is not None: - pulumi.set(__self__, "node_name", node_name) + _setter("node_name", node_name) @property @pulumi.getter @@ -3340,10 +3891,23 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "operation", operation) - pulumi.set(__self__, "selection", selection) + ExternalDbSystemDiscoveryPatchOperation._configure( + lambda key, value: pulumi.set(__self__, key, value), + operation=operation, + selection=selection, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + operation: str, + selection: str, + value: Optional['outputs.ExternalDbSystemDiscoveryPatchOperationValue'] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("operation", operation) + _setter("selection", selection) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -3408,14 +3972,29 @@ def __init__(__self__, *, :param str display_name: (Updatable) The user-friendly name for the DB system. The name does not have to be unique. :param bool is_selected_for_monitoring: Indicates whether the DB system component should be provisioned as an Oracle Cloud Infrastructure resource or not. """ + ExternalDbSystemDiscoveryPatchOperationValue._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + connector=connector, + display_name=display_name, + is_selected_for_monitoring=is_selected_for_monitoring, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[str] = None, + connector: Optional['outputs.ExternalDbSystemDiscoveryPatchOperationValueConnector'] = None, + display_name: Optional[str] = None, + is_selected_for_monitoring: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if connector is not None: - pulumi.set(__self__, "connector", connector) + _setter("connector", connector) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if is_selected_for_monitoring is not None: - pulumi.set(__self__, "is_selected_for_monitoring", is_selected_for_monitoring) + _setter("is_selected_for_monitoring", is_selected_for_monitoring) @property @pulumi.getter(name="compartmentId") @@ -3486,12 +4065,27 @@ def __init__(__self__, *, :param str agent_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the management agent used for the external DB system discovery. :param 'ExternalDbSystemDiscoveryPatchOperationValueConnectorConnectionInfoArgs' connection_info: The connection details required to connect to an external DB system component. """ - pulumi.set(__self__, "connector_type", connector_type) - pulumi.set(__self__, "display_name", display_name) + ExternalDbSystemDiscoveryPatchOperationValueConnector._configure( + lambda key, value: pulumi.set(__self__, key, value), + connector_type=connector_type, + display_name=display_name, + agent_id=agent_id, + connection_info=connection_info, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + connector_type: str, + display_name: str, + agent_id: Optional[str] = None, + connection_info: Optional['outputs.ExternalDbSystemDiscoveryPatchOperationValueConnectorConnectionInfo'] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("connector_type", connector_type) + _setter("display_name", display_name) if agent_id is not None: - pulumi.set(__self__, "agent_id", agent_id) + _setter("agent_id", agent_id) if connection_info is not None: - pulumi.set(__self__, "connection_info", connection_info) + _setter("connection_info", connection_info) @property @pulumi.getter(name="connectorType") @@ -3558,11 +4152,24 @@ def __init__(__self__, *, :param 'ExternalDbSystemDiscoveryPatchOperationValueConnectorConnectionInfoConnectionCredentialsArgs' connection_credentials: The credentials used to connect to the ASM instance. Currently only the `DETAILS` type is supported for creating MACS connector credentials. :param 'ExternalDbSystemDiscoveryPatchOperationValueConnectorConnectionInfoConnectionStringArgs' connection_string: The Oracle Database connection string. """ - pulumi.set(__self__, "component_type", component_type) + ExternalDbSystemDiscoveryPatchOperationValueConnectorConnectionInfo._configure( + lambda key, value: pulumi.set(__self__, key, value), + component_type=component_type, + connection_credentials=connection_credentials, + connection_string=connection_string, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + component_type: str, + connection_credentials: Optional['outputs.ExternalDbSystemDiscoveryPatchOperationValueConnectorConnectionInfoConnectionCredentials'] = None, + connection_string: Optional['outputs.ExternalDbSystemDiscoveryPatchOperationValueConnectorConnectionInfoConnectionString'] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("component_type", component_type) if connection_credentials is not None: - pulumi.set(__self__, "connection_credentials", connection_credentials) + _setter("connection_credentials", connection_credentials) if connection_string is not None: - pulumi.set(__self__, "connection_string", connection_string) + _setter("connection_string", connection_string) @property @pulumi.getter(name="componentType") @@ -3631,17 +4238,36 @@ def __init__(__self__, *, :param str ssl_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. :param str user_name: The user name used to connect to the ASM instance. """ - pulumi.set(__self__, "credential_type", credential_type) + ExternalDbSystemDiscoveryPatchOperationValueConnectorConnectionInfoConnectionCredentials._configure( + lambda key, value: pulumi.set(__self__, key, value), + credential_type=credential_type, + credential_name=credential_name, + password_secret_id=password_secret_id, + role=role, + ssl_secret_id=ssl_secret_id, + user_name=user_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + credential_type: str, + credential_name: Optional[str] = None, + password_secret_id: Optional[str] = None, + role: Optional[str] = None, + ssl_secret_id: Optional[str] = None, + user_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("credential_type", credential_type) if credential_name is not None: - pulumi.set(__self__, "credential_name", credential_name) + _setter("credential_name", credential_name) if password_secret_id is not None: - pulumi.set(__self__, "password_secret_id", password_secret_id) + _setter("password_secret_id", password_secret_id) if role is not None: - pulumi.set(__self__, "role", role) + _setter("role", role) if ssl_secret_id is not None: - pulumi.set(__self__, "ssl_secret_id", ssl_secret_id) + _setter("ssl_secret_id", ssl_secret_id) if user_name is not None: - pulumi.set(__self__, "user_name", user_name) + _setter("user_name", user_name) @property @pulumi.getter(name="credentialType") @@ -3724,16 +4350,33 @@ def __init__(__self__, *, :param str protocol: The protocol used to connect to the ASM instance. :param str service: The service name of the ASM instance. """ + ExternalDbSystemDiscoveryPatchOperationValueConnectorConnectionInfoConnectionString._configure( + lambda key, value: pulumi.set(__self__, key, value), + host_name=host_name, + hosts=hosts, + port=port, + protocol=protocol, + service=service, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host_name: Optional[str] = None, + hosts: Optional[Sequence[str]] = None, + port: Optional[int] = None, + protocol: Optional[str] = None, + service: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if host_name is not None: - pulumi.set(__self__, "host_name", host_name) + _setter("host_name", host_name) if hosts is not None: - pulumi.set(__self__, "hosts", hosts) + _setter("hosts", hosts) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if protocol is not None: - pulumi.set(__self__, "protocol", protocol) + _setter("protocol", protocol) if service is not None: - pulumi.set(__self__, "service", service) + _setter("service", service) @property @pulumi.getter(name="hostName") @@ -3806,9 +4449,20 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "is_enabled", is_enabled) + ExternalDbSystemStackMonitoringConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + metadata=metadata, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: bool, + metadata: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_enabled", is_enabled) if metadata is not None: - pulumi.set(__self__, "metadata", metadata) + _setter("metadata", metadata) @property @pulumi.getter(name="isEnabled") @@ -3891,30 +4545,61 @@ def __init__(__self__, *, :param str time_updated: The timestamp of the last update of the Exadata resource. :param str version: The version of the Exadata resource. """ + ExternalExadataInfrastructureDatabaseSystem._configure( + lambda key, value: pulumi.set(__self__, key, value), + additional_details=additional_details, + compartment_id=compartment_id, + display_name=display_name, + id=id, + internal_id=internal_id, + license_model=license_model, + lifecycle_details=lifecycle_details, + state=state, + status=status, + time_created=time_created, + time_updated=time_updated, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + additional_details: Optional[Mapping[str, Any]] = None, + compartment_id: Optional[str] = None, + display_name: Optional[str] = None, + id: Optional[str] = None, + internal_id: Optional[str] = None, + license_model: Optional[str] = None, + lifecycle_details: Optional[str] = None, + state: Optional[str] = None, + status: Optional[str] = None, + time_created: Optional[str] = None, + time_updated: Optional[str] = None, + version: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if additional_details is not None: - pulumi.set(__self__, "additional_details", additional_details) + _setter("additional_details", additional_details) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if internal_id is not None: - pulumi.set(__self__, "internal_id", internal_id) + _setter("internal_id", internal_id) if license_model is not None: - pulumi.set(__self__, "license_model", license_model) + _setter("license_model", license_model) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter(name="additionalDetails") @@ -4069,28 +4754,57 @@ def __init__(__self__, *, :param str time_updated: The timestamp of the last update of the Exadata resource. :param str version: The version of the Exadata resource. """ + ExternalExadataInfrastructureStorageGrid._configure( + lambda key, value: pulumi.set(__self__, key, value), + additional_details=additional_details, + display_name=display_name, + id=id, + internal_id=internal_id, + lifecycle_details=lifecycle_details, + server_count=server_count, + state=state, + status=status, + time_created=time_created, + time_updated=time_updated, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + additional_details: Optional[Mapping[str, Any]] = None, + display_name: Optional[str] = None, + id: Optional[str] = None, + internal_id: Optional[str] = None, + lifecycle_details: Optional[str] = None, + server_count: Optional[float] = None, + state: Optional[str] = None, + status: Optional[str] = None, + time_created: Optional[str] = None, + time_updated: Optional[str] = None, + version: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if additional_details is not None: - pulumi.set(__self__, "additional_details", additional_details) + _setter("additional_details", additional_details) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if internal_id is not None: - pulumi.set(__self__, "internal_id", internal_id) + _setter("internal_id", internal_id) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if server_count is not None: - pulumi.set(__self__, "server_count", server_count) + _setter("server_count", server_count) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter(name="additionalDetails") @@ -4217,14 +4931,31 @@ def __init__(__self__, *, :param str ssl_trust_store_password: (Updatable) The password of the SSL truststore location in the agent. :param str ssl_trust_store_type: (Updatable) The SSL truststore type. """ - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "username", username) + ExternalExadataStorageConnectorCredentialInfo._configure( + lambda key, value: pulumi.set(__self__, key, value), + password=password, + username=username, + ssl_trust_store_location=ssl_trust_store_location, + ssl_trust_store_password=ssl_trust_store_password, + ssl_trust_store_type=ssl_trust_store_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + password: str, + username: str, + ssl_trust_store_location: Optional[str] = None, + ssl_trust_store_password: Optional[str] = None, + ssl_trust_store_type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("password", password) + _setter("username", username) if ssl_trust_store_location is not None: - pulumi.set(__self__, "ssl_trust_store_location", ssl_trust_store_location) + _setter("ssl_trust_store_location", ssl_trust_store_location) if ssl_trust_store_password is not None: - pulumi.set(__self__, "ssl_trust_store_password", ssl_trust_store_password) + _setter("ssl_trust_store_password", ssl_trust_store_password) if ssl_trust_store_type is not None: - pulumi.set(__self__, "ssl_trust_store_type", ssl_trust_store_type) + _setter("ssl_trust_store_type", ssl_trust_store_type) @property @pulumi.getter @@ -4282,16 +5013,33 @@ def __init__(__self__, *, :param str protocol: The listener protocol. :param Sequence[str] services: The list of services registered with the listener. """ + ExternalListenerEndpoint._configure( + lambda key, value: pulumi.set(__self__, key, value), + host=host, + key=key, + port=port, + protocol=protocol, + services=services, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host: Optional[str] = None, + key: Optional[str] = None, + port: Optional[int] = None, + protocol: Optional[str] = None, + services: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if host is not None: - pulumi.set(__self__, "host", host) + _setter("host", host) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if protocol is not None: - pulumi.set(__self__, "protocol", protocol) + _setter("protocol", protocol) if services is not None: - pulumi.set(__self__, "services", services) + _setter("services", services) @property @pulumi.getter @@ -4364,12 +5112,25 @@ def __init__(__self__, *, :param str display_name: The user-friendly name for the database. The name does not have to be unique. :param str id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database. """ + ExternalListenerServicedAsm._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[str] = None, + display_name: Optional[str] = None, + id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) @property @pulumi.getter(name="compartmentId") @@ -4442,20 +5203,41 @@ def __init__(__self__, *, :param str id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database. :param bool is_managed: Indicates whether the database is a Managed Database or not. """ + ExternalListenerServicedDatabase._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + database_sub_type=database_sub_type, + database_type=database_type, + db_unique_name=db_unique_name, + display_name=display_name, + id=id, + is_managed=is_managed, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[str] = None, + database_sub_type: Optional[str] = None, + database_type: Optional[str] = None, + db_unique_name: Optional[str] = None, + display_name: Optional[str] = None, + id: Optional[str] = None, + is_managed: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if database_sub_type is not None: - pulumi.set(__self__, "database_sub_type", database_sub_type) + _setter("database_sub_type", database_sub_type) if database_type is not None: - pulumi.set(__self__, "database_type", database_type) + _setter("database_type", database_type) if db_unique_name is not None: - pulumi.set(__self__, "db_unique_name", db_unique_name) + _setter("db_unique_name", db_unique_name) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if is_managed is not None: - pulumi.set(__self__, "is_managed", is_managed) + _setter("is_managed", is_managed) @property @pulumi.getter(name="compartmentId") @@ -4566,22 +5348,45 @@ def __init__(__self__, *, :param str time_added: The date and time the Managed Database was added to the group. :param str workload_type: The workload type of the Autonomous Database. """ + ManagedDatabaseGroupManagedDatabase._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + database_sub_type=database_sub_type, + database_type=database_type, + deployment_type=deployment_type, + id=id, + name=name, + time_added=time_added, + workload_type=workload_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[str] = None, + database_sub_type: Optional[str] = None, + database_type: Optional[str] = None, + deployment_type: Optional[str] = None, + id: Optional[str] = None, + name: Optional[str] = None, + time_added: Optional[str] = None, + workload_type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if database_sub_type is not None: - pulumi.set(__self__, "database_sub_type", database_sub_type) + _setter("database_sub_type", database_sub_type) if database_type is not None: - pulumi.set(__self__, "database_type", database_type) + _setter("database_type", database_type) if deployment_type is not None: - pulumi.set(__self__, "deployment_type", deployment_type) + _setter("deployment_type", deployment_type) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if time_added is not None: - pulumi.set(__self__, "time_added", time_added) + _setter("time_added", time_added) if workload_type is not None: - pulumi.set(__self__, "workload_type", workload_type) + _setter("workload_type", workload_type) @property @pulumi.getter(name="compartmentId") @@ -4684,14 +5489,29 @@ def __init__(__self__, *, :param str secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. :param str user_name: The database user name used to perform management activity. """ + ManagedDatabasesChangeDatabaseParameterCredentials._configure( + lambda key, value: pulumi.set(__self__, key, value), + password=password, + role=role, + secret_id=secret_id, + user_name=user_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + password: Optional[str] = None, + role: Optional[str] = None, + secret_id: Optional[str] = None, + user_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if password is not None: - pulumi.set(__self__, "password", password) + _setter("password", password) if role is not None: - pulumi.set(__self__, "role", role) + _setter("role", role) if secret_id is not None: - pulumi.set(__self__, "secret_id", secret_id) + _setter("secret_id", secret_id) if user_name is not None: - pulumi.set(__self__, "user_name", user_name) + _setter("user_name", user_name) @property @pulumi.getter @@ -4754,10 +5574,23 @@ def __init__(__self__, *, :param str value: The parameter value. :param str update_comment: A comment string to associate with the change in parameter value. It cannot contain control characters or a line break. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + ManagedDatabasesChangeDatabaseParameterParameter._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + update_comment=update_comment, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + value: str, + update_comment: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("value", value) if update_comment is not None: - pulumi.set(__self__, "update_comment", update_comment) + _setter("update_comment", update_comment) @property @pulumi.getter @@ -4816,14 +5649,29 @@ def __init__(__self__, *, :param str secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. :param str user_name: The database user name used to perform management activity. """ + ManagedDatabasesResetDatabaseParameterCredentials._configure( + lambda key, value: pulumi.set(__self__, key, value), + password=password, + role=role, + secret_id=secret_id, + user_name=user_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + password: Optional[str] = None, + role: Optional[str] = None, + secret_id: Optional[str] = None, + user_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if password is not None: - pulumi.set(__self__, "password", password) + _setter("password", password) if role is not None: - pulumi.set(__self__, "role", role) + _setter("role", role) if secret_id is not None: - pulumi.set(__self__, "secret_id", secret_id) + _setter("secret_id", secret_id) if user_name is not None: - pulumi.set(__self__, "user_name", user_name) + _setter("user_name", user_name) @property @pulumi.getter @@ -4871,10 +5719,25 @@ def __init__(__self__, *, :param str name: The name of the database. :param str time_registered: The time when Database Management was enabled for the database. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "time_registered", time_registered) + GetDbManagementPrivateEndpointAssociatedDatabaseItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + id=id, + name=name, + time_registered=time_registered, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + id: str, + name: str, + time_registered: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("id", id) + _setter("name", name) + _setter("time_registered", time_registered) @property @pulumi.getter(name="compartmentId") @@ -4916,7 +5779,16 @@ def __init__(__self__, *, """ :param Sequence['GetDbManagementPrivateEndpointAssociatedDatabasesAssociatedDatabaseCollectionItemArgs'] items: A list of databases using a Database Management private endpoint. """ - pulumi.set(__self__, "items", items) + GetDbManagementPrivateEndpointAssociatedDatabasesAssociatedDatabaseCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDbManagementPrivateEndpointAssociatedDatabasesAssociatedDatabaseCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -4940,10 +5812,25 @@ def __init__(__self__, *, :param str name: The name of the database. :param str time_registered: The time when Database Management was enabled for the database. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "time_registered", time_registered) + GetDbManagementPrivateEndpointAssociatedDatabasesAssociatedDatabaseCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + id=id, + name=name, + time_registered=time_registered, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + id: str, + name: str, + time_registered: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("id", id) + _setter("name", name) + _setter("time_registered", time_registered) @property @pulumi.getter(name="compartmentId") @@ -4987,10 +5874,23 @@ def __init__(__self__, *, """ :param str name: The name of the database. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDbManagementPrivateEndpointAssociatedDatabasesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5015,7 +5915,16 @@ def regex(self) -> Optional[bool]: class GetDbManagementPrivateEndpointsDbManagementPrivateEndpointCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetDbManagementPrivateEndpointsDbManagementPrivateEndpointCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetDbManagementPrivateEndpointsDbManagementPrivateEndpointCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDbManagementPrivateEndpointsDbManagementPrivateEndpointCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -5050,17 +5959,46 @@ def __init__(__self__, *, :param str time_created: The date and time the Database Managament private endpoint was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). :param str vcn_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_cluster", is_cluster) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "nsg_ids", nsg_ids) - pulumi.set(__self__, "private_ip", private_ip) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "vcn_id", vcn_id) + GetDbManagementPrivateEndpointsDbManagementPrivateEndpointCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + description=description, + id=id, + is_cluster=is_cluster, + name=name, + nsg_ids=nsg_ids, + private_ip=private_ip, + state=state, + subnet_id=subnet_id, + time_created=time_created, + vcn_id=vcn_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + description: str, + id: str, + is_cluster: bool, + name: str, + nsg_ids: Sequence[str], + private_ip: str, + state: str, + subnet_id: str, + time_created: str, + vcn_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("description", description) + _setter("id", id) + _setter("is_cluster", is_cluster) + _setter("name", name) + _setter("nsg_ids", nsg_ids) + _setter("private_ip", private_ip) + _setter("state", state) + _setter("subnet_id", subnet_id) + _setter("time_created", time_created) + _setter("vcn_id", vcn_id) @property @pulumi.getter(name="compartmentId") @@ -5160,10 +6098,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the entire name. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDbManagementPrivateEndpointsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5201,12 +6152,31 @@ def __init__(__self__, *, :param Sequence[str] preferred_read_failure_groups: The list of failure groups that contain preferred read disks. :param int rebalance_power: The maximum power on an ASM instance for disk rebalancing. """ - pulumi.set(__self__, "asm_instance_display_name", asm_instance_display_name) - pulumi.set(__self__, "asm_instance_id", asm_instance_id) - pulumi.set(__self__, "auto_mount_disk_groups", auto_mount_disk_groups) - pulumi.set(__self__, "disk_discovery_path", disk_discovery_path) - pulumi.set(__self__, "preferred_read_failure_groups", preferred_read_failure_groups) - pulumi.set(__self__, "rebalance_power", rebalance_power) + GetExternalAsmConfigurationInitParameterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + asm_instance_display_name=asm_instance_display_name, + asm_instance_id=asm_instance_id, + auto_mount_disk_groups=auto_mount_disk_groups, + disk_discovery_path=disk_discovery_path, + preferred_read_failure_groups=preferred_read_failure_groups, + rebalance_power=rebalance_power, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + asm_instance_display_name: str, + asm_instance_id: str, + auto_mount_disk_groups: Sequence[str], + disk_discovery_path: str, + preferred_read_failure_groups: Sequence[str], + rebalance_power: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("asm_instance_display_name", asm_instance_display_name) + _setter("asm_instance_id", asm_instance_id) + _setter("auto_mount_disk_groups", auto_mount_disk_groups) + _setter("disk_discovery_path", disk_discovery_path) + _setter("preferred_read_failure_groups", preferred_read_failure_groups) + _setter("rebalance_power", rebalance_power) @property @pulumi.getter(name="asmInstanceDisplayName") @@ -5264,7 +6234,16 @@ def __init__(__self__, *, """ :param Sequence['GetExternalAsmDiskGroupsExternalAsmDiskGroupCollectionItemArgs'] items: An array of external ASM disk groups. """ - pulumi.set(__self__, "items", items) + GetExternalAsmDiskGroupsExternalAsmDiskGroupCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetExternalAsmDiskGroupsExternalAsmDiskGroupCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -5298,15 +6277,40 @@ def __init__(__self__, *, :param float used_percent: The percentage of used space in the disk group. :param str used_size_in_mbs: The used capacity of the disk group (in megabytes). """ - pulumi.set(__self__, "databases", databases) - pulumi.set(__self__, "dismounting_instance_count", dismounting_instance_count) - pulumi.set(__self__, "is_sparse", is_sparse) - pulumi.set(__self__, "mounting_instance_count", mounting_instance_count) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "redundancy_type", redundancy_type) - pulumi.set(__self__, "total_size_in_mbs", total_size_in_mbs) - pulumi.set(__self__, "used_percent", used_percent) - pulumi.set(__self__, "used_size_in_mbs", used_size_in_mbs) + GetExternalAsmDiskGroupsExternalAsmDiskGroupCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + databases=databases, + dismounting_instance_count=dismounting_instance_count, + is_sparse=is_sparse, + mounting_instance_count=mounting_instance_count, + name=name, + redundancy_type=redundancy_type, + total_size_in_mbs=total_size_in_mbs, + used_percent=used_percent, + used_size_in_mbs=used_size_in_mbs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + databases: Sequence[str], + dismounting_instance_count: int, + is_sparse: bool, + mounting_instance_count: int, + name: str, + redundancy_type: str, + total_size_in_mbs: str, + used_percent: float, + used_size_in_mbs: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("databases", databases) + _setter("dismounting_instance_count", dismounting_instance_count) + _setter("is_sparse", is_sparse) + _setter("mounting_instance_count", mounting_instance_count) + _setter("name", name) + _setter("redundancy_type", redundancy_type) + _setter("total_size_in_mbs", total_size_in_mbs) + _setter("used_percent", used_percent) + _setter("used_size_in_mbs", used_size_in_mbs) @property @pulumi.getter @@ -5390,10 +6394,23 @@ def __init__(__self__, *, """ :param str name: The name of the ASM disk group. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetExternalAsmDiskGroupsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5418,7 +6435,16 @@ def regex(self) -> Optional[bool]: class GetExternalAsmInstancesExternalAsmInstanceCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetExternalAsmInstancesExternalAsmInstanceCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetExternalAsmInstancesExternalAsmInstanceCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetExternalAsmInstancesExternalAsmInstanceCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -5457,19 +6483,52 @@ def __init__(__self__, *, :param str time_created: The date and time the external ASM instance was created. :param str time_updated: The date and time the external ASM instance was last updated. """ - pulumi.set(__self__, "adr_home_directory", adr_home_directory) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "component_name", component_name) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "external_asm_id", external_asm_id) - pulumi.set(__self__, "external_db_node_id", external_db_node_id) - pulumi.set(__self__, "external_db_system_id", external_db_system_id) - pulumi.set(__self__, "host_name", host_name) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetExternalAsmInstancesExternalAsmInstanceCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + adr_home_directory=adr_home_directory, + compartment_id=compartment_id, + component_name=component_name, + display_name=display_name, + external_asm_id=external_asm_id, + external_db_node_id=external_db_node_id, + external_db_system_id=external_db_system_id, + host_name=host_name, + id=id, + lifecycle_details=lifecycle_details, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + adr_home_directory: str, + compartment_id: str, + component_name: str, + display_name: str, + external_asm_id: str, + external_db_node_id: str, + external_db_system_id: str, + host_name: str, + id: str, + lifecycle_details: str, + state: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("adr_home_directory", adr_home_directory) + _setter("compartment_id", compartment_id) + _setter("component_name", component_name) + _setter("display_name", display_name) + _setter("external_asm_id", external_asm_id) + _setter("external_db_node_id", external_db_node_id) + _setter("external_db_system_id", external_db_system_id) + _setter("host_name", host_name) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="adrHomeDirectory") @@ -5582,10 +6641,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetExternalAsmInstancesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5624,14 +6696,37 @@ def __init__(__self__, *, :param str id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database. :param bool is_managed: Indicates whether the database is a Managed Database or not. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "database_sub_type", database_sub_type) - pulumi.set(__self__, "database_type", database_type) - pulumi.set(__self__, "db_unique_name", db_unique_name) - pulumi.set(__self__, "disk_groups", disk_groups) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_managed", is_managed) + GetExternalAsmServicedDatabaseResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + database_sub_type=database_sub_type, + database_type=database_type, + db_unique_name=db_unique_name, + disk_groups=disk_groups, + display_name=display_name, + id=id, + is_managed=is_managed, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + database_sub_type: str, + database_type: str, + db_unique_name: str, + disk_groups: Sequence[str], + display_name: str, + id: str, + is_managed: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("database_sub_type", database_sub_type) + _setter("database_type", database_type) + _setter("db_unique_name", db_unique_name) + _setter("disk_groups", disk_groups) + _setter("display_name", display_name) + _setter("id", id) + _setter("is_managed", is_managed) @property @pulumi.getter(name="compartmentId") @@ -5705,7 +6800,16 @@ def __init__(__self__, *, """ :param Sequence['GetExternalAsmUsersExternalAsmUserCollectionItemArgs'] items: An array of external ASM users. """ - pulumi.set(__self__, "items", items) + GetExternalAsmUsersExternalAsmUserCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetExternalAsmUsersExternalAsmUserCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -5727,9 +6831,22 @@ def __init__(__self__, *, :param str name: The name of the ASM user. :param Sequence[str] privileges: The list of privileges of the ASM user. """ - pulumi.set(__self__, "asm_id", asm_id) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "privileges", privileges) + GetExternalAsmUsersExternalAsmUserCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + asm_id=asm_id, + name=name, + privileges=privileges, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + asm_id: str, + name: str, + privileges: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("asm_id", asm_id) + _setter("name", name) + _setter("privileges", privileges) @property @pulumi.getter(name="asmId") @@ -5765,10 +6882,23 @@ def __init__(__self__, *, """ :param str name: The name of the ASM user. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetExternalAsmUsersFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5793,7 +6923,16 @@ def regex(self) -> Optional[bool]: class GetExternalAsmsExternalAsmCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetExternalAsmsExternalAsmCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetExternalAsmsExternalAsmCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetExternalAsmsExternalAsmCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -5839,23 +6978,64 @@ def __init__(__self__, *, :param str time_updated: The date and time the external ASM was last updated. :param str version: The ASM version. """ - pulumi.set(__self__, "additional_details", additional_details) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "component_name", component_name) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "external_asm_id", external_asm_id) - pulumi.set(__self__, "external_connector_id", external_connector_id) - pulumi.set(__self__, "external_db_system_id", external_db_system_id) - pulumi.set(__self__, "grid_home", grid_home) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_cluster", is_cluster) - pulumi.set(__self__, "is_flex_enabled", is_flex_enabled) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "serviced_databases", serviced_databases) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "version", version) + GetExternalAsmsExternalAsmCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + additional_details=additional_details, + compartment_id=compartment_id, + component_name=component_name, + display_name=display_name, + external_asm_id=external_asm_id, + external_connector_id=external_connector_id, + external_db_system_id=external_db_system_id, + grid_home=grid_home, + id=id, + is_cluster=is_cluster, + is_flex_enabled=is_flex_enabled, + lifecycle_details=lifecycle_details, + serviced_databases=serviced_databases, + state=state, + time_created=time_created, + time_updated=time_updated, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + additional_details: Mapping[str, Any], + compartment_id: str, + component_name: str, + display_name: str, + external_asm_id: str, + external_connector_id: str, + external_db_system_id: str, + grid_home: str, + id: str, + is_cluster: bool, + is_flex_enabled: bool, + lifecycle_details: str, + serviced_databases: Sequence['outputs.GetExternalAsmsExternalAsmCollectionItemServicedDatabaseResult'], + state: str, + time_created: str, + time_updated: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("additional_details", additional_details) + _setter("compartment_id", compartment_id) + _setter("component_name", component_name) + _setter("display_name", display_name) + _setter("external_asm_id", external_asm_id) + _setter("external_connector_id", external_connector_id) + _setter("external_db_system_id", external_db_system_id) + _setter("grid_home", grid_home) + _setter("id", id) + _setter("is_cluster", is_cluster) + _setter("is_flex_enabled", is_flex_enabled) + _setter("lifecycle_details", lifecycle_details) + _setter("serviced_databases", serviced_databases) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("version", version) @property @pulumi.getter(name="additionalDetails") @@ -6012,14 +7192,37 @@ def __init__(__self__, *, :param str id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database. :param bool is_managed: Indicates whether the database is a Managed Database or not. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "database_sub_type", database_sub_type) - pulumi.set(__self__, "database_type", database_type) - pulumi.set(__self__, "db_unique_name", db_unique_name) - pulumi.set(__self__, "disk_groups", disk_groups) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_managed", is_managed) + GetExternalAsmsExternalAsmCollectionItemServicedDatabaseResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + database_sub_type=database_sub_type, + database_type=database_type, + db_unique_name=db_unique_name, + disk_groups=disk_groups, + display_name=display_name, + id=id, + is_managed=is_managed, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + database_sub_type: str, + database_type: str, + db_unique_name: str, + disk_groups: Sequence[str], + display_name: str, + id: str, + is_managed: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("database_sub_type", database_sub_type) + _setter("database_type", database_type) + _setter("db_unique_name", db_unique_name) + _setter("disk_groups", disk_groups) + _setter("display_name", display_name) + _setter("id", id) + _setter("is_managed", is_managed) @property @pulumi.getter(name="compartmentId") @@ -6092,10 +7295,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetExternalAsmsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -6117,7 +7333,16 @@ def regex(self) -> Optional[bool]: class GetExternalClusterInstancesExternalClusterInstanceCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetExternalClusterInstancesExternalClusterInstanceCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetExternalClusterInstancesExternalClusterInstanceCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetExternalClusterInstancesExternalClusterInstanceCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -6163,23 +7388,64 @@ def __init__(__self__, *, :param str time_created: The date and time the external cluster instance was created. :param str time_updated: The date and time the external cluster instance was last updated. """ - pulumi.set(__self__, "adr_home_directory", adr_home_directory) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "component_name", component_name) - pulumi.set(__self__, "crs_base_directory", crs_base_directory) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "external_cluster_id", external_cluster_id) - pulumi.set(__self__, "external_cluster_instance_id", external_cluster_instance_id) - pulumi.set(__self__, "external_connector_id", external_connector_id) - pulumi.set(__self__, "external_db_node_id", external_db_node_id) - pulumi.set(__self__, "external_db_system_id", external_db_system_id) - pulumi.set(__self__, "host_name", host_name) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "node_role", node_role) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetExternalClusterInstancesExternalClusterInstanceCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + adr_home_directory=adr_home_directory, + compartment_id=compartment_id, + component_name=component_name, + crs_base_directory=crs_base_directory, + display_name=display_name, + external_cluster_id=external_cluster_id, + external_cluster_instance_id=external_cluster_instance_id, + external_connector_id=external_connector_id, + external_db_node_id=external_db_node_id, + external_db_system_id=external_db_system_id, + host_name=host_name, + id=id, + lifecycle_details=lifecycle_details, + node_role=node_role, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + adr_home_directory: str, + compartment_id: str, + component_name: str, + crs_base_directory: str, + display_name: str, + external_cluster_id: str, + external_cluster_instance_id: str, + external_connector_id: str, + external_db_node_id: str, + external_db_system_id: str, + host_name: str, + id: str, + lifecycle_details: str, + node_role: str, + state: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("adr_home_directory", adr_home_directory) + _setter("compartment_id", compartment_id) + _setter("component_name", component_name) + _setter("crs_base_directory", crs_base_directory) + _setter("display_name", display_name) + _setter("external_cluster_id", external_cluster_id) + _setter("external_cluster_instance_id", external_cluster_instance_id) + _setter("external_connector_id", external_connector_id) + _setter("external_db_node_id", external_db_node_id) + _setter("external_db_system_id", external_db_system_id) + _setter("host_name", host_name) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("node_role", node_role) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="adrHomeDirectory") @@ -6321,10 +7587,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetExternalClusterInstancesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -6353,9 +7632,22 @@ def __init__(__self__, *, :param str network_type: The network type. :param str subnet: The subnet for the network. """ - pulumi.set(__self__, "network_number", network_number) - pulumi.set(__self__, "network_type", network_type) - pulumi.set(__self__, "subnet", subnet) + GetExternalClusterNetworkConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + network_number=network_number, + network_type=network_type, + subnet=subnet, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + network_number: int, + network_type: str, + subnet: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("network_number", network_number) + _setter("network_type", network_type) + _setter("subnet", subnet) @property @pulumi.getter(name="networkNumber") @@ -6395,10 +7687,25 @@ def __init__(__self__, *, :param int scan_port: The port number of the SCAN listener. :param str scan_protocol: The protocol of the SCAN listener. """ - pulumi.set(__self__, "network_number", network_number) - pulumi.set(__self__, "scan_name", scan_name) - pulumi.set(__self__, "scan_port", scan_port) - pulumi.set(__self__, "scan_protocol", scan_protocol) + GetExternalClusterScanConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + network_number=network_number, + scan_name=scan_name, + scan_port=scan_port, + scan_protocol=scan_protocol, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + network_number: int, + scan_name: str, + scan_port: int, + scan_protocol: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("network_number", network_number) + _setter("scan_name", scan_name) + _setter("scan_port", scan_port) + _setter("scan_protocol", scan_protocol) @property @pulumi.getter(name="networkNumber") @@ -6444,9 +7751,22 @@ def __init__(__self__, *, :param int network_number: The network number from which VIPs are obtained. :param str node_name: The name of the node with the VIP. """ - pulumi.set(__self__, "address", address) - pulumi.set(__self__, "network_number", network_number) - pulumi.set(__self__, "node_name", node_name) + GetExternalClusterVipConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + address=address, + network_number=network_number, + node_name=node_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address: str, + network_number: int, + node_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("address", address) + _setter("network_number", network_number) + _setter("node_name", node_name) @property @pulumi.getter @@ -6477,7 +7797,16 @@ def node_name(self) -> str: class GetExternalClustersExternalClusterCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetExternalClustersExternalClusterCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetExternalClustersExternalClusterCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetExternalClustersExternalClusterCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -6527,25 +7856,70 @@ def __init__(__self__, *, :param str version: The cluster version. :param Sequence['GetExternalClustersExternalClusterCollectionItemVipConfigurationArgs'] vip_configurations: The list of Virtual IP (VIP) configurations of the external cluster. """ - pulumi.set(__self__, "additional_details", additional_details) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "component_name", component_name) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "external_cluster_id", external_cluster_id) - pulumi.set(__self__, "external_connector_id", external_connector_id) - pulumi.set(__self__, "external_db_system_id", external_db_system_id) - pulumi.set(__self__, "grid_home", grid_home) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_flex_cluster", is_flex_cluster) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "network_configurations", network_configurations) - pulumi.set(__self__, "ocr_file_location", ocr_file_location) - pulumi.set(__self__, "scan_configurations", scan_configurations) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "version", version) - pulumi.set(__self__, "vip_configurations", vip_configurations) + GetExternalClustersExternalClusterCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + additional_details=additional_details, + compartment_id=compartment_id, + component_name=component_name, + display_name=display_name, + external_cluster_id=external_cluster_id, + external_connector_id=external_connector_id, + external_db_system_id=external_db_system_id, + grid_home=grid_home, + id=id, + is_flex_cluster=is_flex_cluster, + lifecycle_details=lifecycle_details, + network_configurations=network_configurations, + ocr_file_location=ocr_file_location, + scan_configurations=scan_configurations, + state=state, + time_created=time_created, + time_updated=time_updated, + version=version, + vip_configurations=vip_configurations, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + additional_details: Mapping[str, Any], + compartment_id: str, + component_name: str, + display_name: str, + external_cluster_id: str, + external_connector_id: str, + external_db_system_id: str, + grid_home: str, + id: str, + is_flex_cluster: bool, + lifecycle_details: str, + network_configurations: Sequence['outputs.GetExternalClustersExternalClusterCollectionItemNetworkConfigurationResult'], + ocr_file_location: str, + scan_configurations: Sequence['outputs.GetExternalClustersExternalClusterCollectionItemScanConfigurationResult'], + state: str, + time_created: str, + time_updated: str, + version: str, + vip_configurations: Sequence['outputs.GetExternalClustersExternalClusterCollectionItemVipConfigurationResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("additional_details", additional_details) + _setter("compartment_id", compartment_id) + _setter("component_name", component_name) + _setter("display_name", display_name) + _setter("external_cluster_id", external_cluster_id) + _setter("external_connector_id", external_connector_id) + _setter("external_db_system_id", external_db_system_id) + _setter("grid_home", grid_home) + _setter("id", id) + _setter("is_flex_cluster", is_flex_cluster) + _setter("lifecycle_details", lifecycle_details) + _setter("network_configurations", network_configurations) + _setter("ocr_file_location", ocr_file_location) + _setter("scan_configurations", scan_configurations) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("version", version) + _setter("vip_configurations", vip_configurations) @property @pulumi.getter(name="additionalDetails") @@ -6708,9 +8082,22 @@ def __init__(__self__, *, :param str network_type: The network type. :param str subnet: The subnet for the network. """ - pulumi.set(__self__, "network_number", network_number) - pulumi.set(__self__, "network_type", network_type) - pulumi.set(__self__, "subnet", subnet) + GetExternalClustersExternalClusterCollectionItemNetworkConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + network_number=network_number, + network_type=network_type, + subnet=subnet, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + network_number: int, + network_type: str, + subnet: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("network_number", network_number) + _setter("network_type", network_type) + _setter("subnet", subnet) @property @pulumi.getter(name="networkNumber") @@ -6750,10 +8137,25 @@ def __init__(__self__, *, :param int scan_port: The port number of the SCAN listener. :param str scan_protocol: The protocol of the SCAN listener. """ - pulumi.set(__self__, "network_number", network_number) - pulumi.set(__self__, "scan_name", scan_name) - pulumi.set(__self__, "scan_port", scan_port) - pulumi.set(__self__, "scan_protocol", scan_protocol) + GetExternalClustersExternalClusterCollectionItemScanConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + network_number=network_number, + scan_name=scan_name, + scan_port=scan_port, + scan_protocol=scan_protocol, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + network_number: int, + scan_name: str, + scan_port: int, + scan_protocol: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("network_number", network_number) + _setter("scan_name", scan_name) + _setter("scan_port", scan_port) + _setter("scan_protocol", scan_protocol) @property @pulumi.getter(name="networkNumber") @@ -6799,9 +8201,22 @@ def __init__(__self__, *, :param int network_number: The network number from which VIPs are obtained. :param str node_name: The name of the node with the VIP. """ - pulumi.set(__self__, "address", address) - pulumi.set(__self__, "network_number", network_number) - pulumi.set(__self__, "node_name", node_name) + GetExternalClustersExternalClusterCollectionItemVipConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + address=address, + network_number=network_number, + node_name=node_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address: str, + network_number: int, + node_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("address", address) + _setter("network_number", network_number) + _setter("node_name", node_name) @property @pulumi.getter @@ -6834,10 +8249,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetExternalClustersFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -6862,7 +8290,16 @@ def __init__(__self__, *, """ :param Sequence['GetExternalDatabasesExternalDatabaseCollectionItemArgs'] items: An array of external databases. """ - pulumi.set(__self__, "items", items) + GetExternalDatabasesExternalDatabaseCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetExternalDatabasesExternalDatabaseCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -6904,19 +8341,52 @@ def __init__(__self__, *, :param str state: The current lifecycle state of the external database resource. :param str time_created: The date and time the external DB system was created. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "database_sub_type", database_sub_type) - pulumi.set(__self__, "database_type", database_type) - pulumi.set(__self__, "db_management_configs", db_management_configs) - pulumi.set(__self__, "db_system_infos", db_system_infos) - pulumi.set(__self__, "db_unique_name", db_unique_name) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "external_container_database_id", external_container_database_id) - pulumi.set(__self__, "external_db_home_id", external_db_home_id) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "instance_details", instance_details) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) + GetExternalDatabasesExternalDatabaseCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + database_sub_type=database_sub_type, + database_type=database_type, + db_management_configs=db_management_configs, + db_system_infos=db_system_infos, + db_unique_name=db_unique_name, + display_name=display_name, + external_container_database_id=external_container_database_id, + external_db_home_id=external_db_home_id, + id=id, + instance_details=instance_details, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + database_sub_type: str, + database_type: str, + db_management_configs: Sequence['outputs.GetExternalDatabasesExternalDatabaseCollectionItemDbManagementConfigResult'], + db_system_infos: Sequence['outputs.GetExternalDatabasesExternalDatabaseCollectionItemDbSystemInfoResult'], + db_unique_name: str, + display_name: str, + external_container_database_id: str, + external_db_home_id: str, + id: str, + instance_details: Sequence['outputs.GetExternalDatabasesExternalDatabaseCollectionItemInstanceDetailResult'], + state: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("database_sub_type", database_sub_type) + _setter("database_type", database_type) + _setter("db_management_configs", db_management_configs) + _setter("db_system_infos", db_system_infos) + _setter("db_unique_name", db_unique_name) + _setter("display_name", display_name) + _setter("external_container_database_id", external_container_database_id) + _setter("external_db_home_id", external_db_home_id) + _setter("id", id) + _setter("instance_details", instance_details) + _setter("state", state) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -7034,9 +8504,22 @@ def __init__(__self__, *, :param str database_management_status: The status of the Database Management service. :param str license_model: The Oracle license model that applies to the external database. """ - pulumi.set(__self__, "connector_id", connector_id) - pulumi.set(__self__, "database_management_status", database_management_status) - pulumi.set(__self__, "license_model", license_model) + GetExternalDatabasesExternalDatabaseCollectionItemDbManagementConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + connector_id=connector_id, + database_management_status=database_management_status, + license_model=license_model, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + connector_id: str, + database_management_status: str, + license_model: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("connector_id", connector_id) + _setter("database_management_status", database_management_status) + _setter("license_model", license_model) @property @pulumi.getter(name="connectorId") @@ -7076,10 +8559,25 @@ def __init__(__self__, *, :param Sequence['GetExternalDatabasesExternalDatabaseCollectionItemDbSystemInfoExadataInfraInfoArgs'] exadata_infra_infos: The basic information about an external Exadata Infrastructure. :param str id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external DB system. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "exadata_infra_infos", exadata_infra_infos) - pulumi.set(__self__, "id", id) + GetExternalDatabasesExternalDatabaseCollectionItemDbSystemInfoResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + exadata_infra_infos=exadata_infra_infos, + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + display_name: str, + exadata_infra_infos: Sequence['outputs.GetExternalDatabasesExternalDatabaseCollectionItemDbSystemInfoExadataInfraInfoResult'], + id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) + _setter("exadata_infra_infos", exadata_infra_infos) + _setter("id", id) @property @pulumi.getter(name="compartmentId") @@ -7125,9 +8623,22 @@ def __init__(__self__, *, :param str display_name: A filter to only return the resources that match the entire display name. :param str id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external DB system. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "id", id) + GetExternalDatabasesExternalDatabaseCollectionItemDbSystemInfoExadataInfraInfoResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + display_name: str, + id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) + _setter("id", id) @property @pulumi.getter(name="compartmentId") @@ -7165,9 +8676,22 @@ def __init__(__self__, *, :param str instance_name: The name of the database instance. :param int instance_number: The instance number of the database instance. """ - pulumi.set(__self__, "host_name", host_name) - pulumi.set(__self__, "instance_name", instance_name) - pulumi.set(__self__, "instance_number", instance_number) + GetExternalDatabasesExternalDatabaseCollectionItemInstanceDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + host_name=host_name, + instance_name=instance_name, + instance_number=instance_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host_name: str, + instance_name: str, + instance_number: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("host_name", host_name) + _setter("instance_name", instance_name) + _setter("instance_number", instance_number) @property @pulumi.getter(name="hostName") @@ -7200,10 +8724,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetExternalDatabasesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -7225,7 +8762,16 @@ def regex(self) -> Optional[bool]: class GetExternalDbHomesExternalDbHomeCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetExternalDbHomesExternalDbHomeCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetExternalDbHomesExternalDbHomeCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetExternalDbHomesExternalDbHomeCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -7260,17 +8806,46 @@ def __init__(__self__, *, :param str time_created: The date and time the external DB home was created. :param str time_updated: The date and time the external DB home was last updated. """ - pulumi.set(__self__, "additional_details", additional_details) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "component_name", component_name) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "external_db_system_id", external_db_system_id) - pulumi.set(__self__, "home_directory", home_directory) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetExternalDbHomesExternalDbHomeCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + additional_details=additional_details, + compartment_id=compartment_id, + component_name=component_name, + display_name=display_name, + external_db_system_id=external_db_system_id, + home_directory=home_directory, + id=id, + lifecycle_details=lifecycle_details, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + additional_details: Mapping[str, Any], + compartment_id: str, + component_name: str, + display_name: str, + external_db_system_id: str, + home_directory: str, + id: str, + lifecycle_details: str, + state: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("additional_details", additional_details) + _setter("compartment_id", compartment_id) + _setter("component_name", component_name) + _setter("display_name", display_name) + _setter("external_db_system_id", external_db_system_id) + _setter("home_directory", home_directory) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="additionalDetails") @@ -7367,10 +8942,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetExternalDbHomesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -7392,7 +8980,16 @@ def regex(self) -> Optional[bool]: class GetExternalDbNodesExternalDbNodeCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetExternalDbNodesExternalDbNodeCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetExternalDbNodesExternalDbNodeCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetExternalDbNodesExternalDbNodeCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -7436,22 +9033,61 @@ def __init__(__self__, *, :param str time_created: The date and time the external DB node was created. :param str time_updated: The date and time the external DB node was last updated. """ - pulumi.set(__self__, "additional_details", additional_details) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "component_name", component_name) - pulumi.set(__self__, "cpu_core_count", cpu_core_count) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "domain_name", domain_name) - pulumi.set(__self__, "external_connector_id", external_connector_id) - pulumi.set(__self__, "external_db_node_id", external_db_node_id) - pulumi.set(__self__, "external_db_system_id", external_db_system_id) - pulumi.set(__self__, "host_name", host_name) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "memory_size_in_gbs", memory_size_in_gbs) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetExternalDbNodesExternalDbNodeCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + additional_details=additional_details, + compartment_id=compartment_id, + component_name=component_name, + cpu_core_count=cpu_core_count, + display_name=display_name, + domain_name=domain_name, + external_connector_id=external_connector_id, + external_db_node_id=external_db_node_id, + external_db_system_id=external_db_system_id, + host_name=host_name, + id=id, + lifecycle_details=lifecycle_details, + memory_size_in_gbs=memory_size_in_gbs, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + additional_details: Mapping[str, Any], + compartment_id: str, + component_name: str, + cpu_core_count: float, + display_name: str, + domain_name: str, + external_connector_id: str, + external_db_node_id: str, + external_db_system_id: str, + host_name: str, + id: str, + lifecycle_details: str, + memory_size_in_gbs: float, + state: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("additional_details", additional_details) + _setter("compartment_id", compartment_id) + _setter("component_name", component_name) + _setter("cpu_core_count", cpu_core_count) + _setter("display_name", display_name) + _setter("domain_name", domain_name) + _setter("external_connector_id", external_connector_id) + _setter("external_db_node_id", external_db_node_id) + _setter("external_db_system_id", external_db_system_id) + _setter("host_name", host_name) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("memory_size_in_gbs", memory_size_in_gbs) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="additionalDetails") @@ -7585,10 +9221,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetExternalDbNodesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -7617,9 +9266,22 @@ def __init__(__self__, *, :param Sequence['GetExternalDbSystemConnectorConnectionInfoConnectionCredentialArgs'] connection_credentials: The credentials used to connect to the ASM instance. Currently only the `DETAILS` type is supported for creating MACS connector credentials. :param Sequence['GetExternalDbSystemConnectorConnectionInfoConnectionStringArgs'] connection_strings: The Oracle Database connection string. """ - pulumi.set(__self__, "component_type", component_type) - pulumi.set(__self__, "connection_credentials", connection_credentials) - pulumi.set(__self__, "connection_strings", connection_strings) + GetExternalDbSystemConnectorConnectionInfoResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + component_type=component_type, + connection_credentials=connection_credentials, + connection_strings=connection_strings, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + component_type: str, + connection_credentials: Sequence['outputs.GetExternalDbSystemConnectorConnectionInfoConnectionCredentialResult'], + connection_strings: Sequence['outputs.GetExternalDbSystemConnectorConnectionInfoConnectionStringResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("component_type", component_type) + _setter("connection_credentials", connection_credentials) + _setter("connection_strings", connection_strings) @property @pulumi.getter(name="componentType") @@ -7663,12 +9325,31 @@ def __init__(__self__, *, :param str ssl_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. :param str user_name: The user name used to connect to the ASM instance. """ - pulumi.set(__self__, "credential_name", credential_name) - pulumi.set(__self__, "credential_type", credential_type) - pulumi.set(__self__, "password_secret_id", password_secret_id) - pulumi.set(__self__, "role", role) - pulumi.set(__self__, "ssl_secret_id", ssl_secret_id) - pulumi.set(__self__, "user_name", user_name) + GetExternalDbSystemConnectorConnectionInfoConnectionCredentialResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + credential_name=credential_name, + credential_type=credential_type, + password_secret_id=password_secret_id, + role=role, + ssl_secret_id=ssl_secret_id, + user_name=user_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + credential_name: str, + credential_type: str, + password_secret_id: str, + role: str, + ssl_secret_id: str, + user_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("credential_name", credential_name) + _setter("credential_type", credential_type) + _setter("password_secret_id", password_secret_id) + _setter("role", role) + _setter("ssl_secret_id", ssl_secret_id) + _setter("user_name", user_name) @property @pulumi.getter(name="credentialName") @@ -7734,11 +9415,28 @@ def __init__(__self__, *, :param str protocol: The protocol used to connect to the ASM instance. :param str service: The service name of the ASM instance. """ - pulumi.set(__self__, "host_name", host_name) - pulumi.set(__self__, "hosts", hosts) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "service", service) + GetExternalDbSystemConnectorConnectionInfoConnectionStringResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + host_name=host_name, + hosts=hosts, + port=port, + protocol=protocol, + service=service, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host_name: str, + hosts: Sequence[str], + port: int, + protocol: str, + service: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("host_name", host_name) + _setter("hosts", hosts) + _setter("port", port) + _setter("protocol", protocol) + _setter("service", service) @property @pulumi.getter(name="hostName") @@ -7785,7 +9483,16 @@ def service(self) -> str: class GetExternalDbSystemConnectorsExternalDbSystemConnectorCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetExternalDbSystemConnectorsExternalDbSystemConnectorCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetExternalDbSystemConnectorsExternalDbSystemConnectorCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetExternalDbSystemConnectorsExternalDbSystemConnectorCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -7826,20 +9533,55 @@ def __init__(__self__, *, :param str time_created: The date and time the external DB system connector was created. :param str time_updated: The date and time the external DB system connector was last updated. """ - pulumi.set(__self__, "agent_id", agent_id) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "connection_failure_message", connection_failure_message) - pulumi.set(__self__, "connection_infos", connection_infos) - pulumi.set(__self__, "connection_status", connection_status) - pulumi.set(__self__, "connector_type", connector_type) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "external_db_system_id", external_db_system_id) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_connection_status_last_updated", time_connection_status_last_updated) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetExternalDbSystemConnectorsExternalDbSystemConnectorCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + agent_id=agent_id, + compartment_id=compartment_id, + connection_failure_message=connection_failure_message, + connection_infos=connection_infos, + connection_status=connection_status, + connector_type=connector_type, + display_name=display_name, + external_db_system_id=external_db_system_id, + id=id, + lifecycle_details=lifecycle_details, + state=state, + time_connection_status_last_updated=time_connection_status_last_updated, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agent_id: str, + compartment_id: str, + connection_failure_message: str, + connection_infos: Sequence['outputs.GetExternalDbSystemConnectorsExternalDbSystemConnectorCollectionItemConnectionInfoResult'], + connection_status: str, + connector_type: str, + display_name: str, + external_db_system_id: str, + id: str, + lifecycle_details: str, + state: str, + time_connection_status_last_updated: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("agent_id", agent_id) + _setter("compartment_id", compartment_id) + _setter("connection_failure_message", connection_failure_message) + _setter("connection_infos", connection_infos) + _setter("connection_status", connection_status) + _setter("connector_type", connector_type) + _setter("display_name", display_name) + _setter("external_db_system_id", external_db_system_id) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("state", state) + _setter("time_connection_status_last_updated", time_connection_status_last_updated) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="agentId") @@ -7965,9 +9707,22 @@ def __init__(__self__, *, :param Sequence['GetExternalDbSystemConnectorsExternalDbSystemConnectorCollectionItemConnectionInfoConnectionCredentialArgs'] connection_credentials: The credentials used to connect to the ASM instance. Currently only the `DETAILS` type is supported for creating MACS connector credentials. :param Sequence['GetExternalDbSystemConnectorsExternalDbSystemConnectorCollectionItemConnectionInfoConnectionStringArgs'] connection_strings: The Oracle Database connection string. """ - pulumi.set(__self__, "component_type", component_type) - pulumi.set(__self__, "connection_credentials", connection_credentials) - pulumi.set(__self__, "connection_strings", connection_strings) + GetExternalDbSystemConnectorsExternalDbSystemConnectorCollectionItemConnectionInfoResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + component_type=component_type, + connection_credentials=connection_credentials, + connection_strings=connection_strings, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + component_type: str, + connection_credentials: Sequence['outputs.GetExternalDbSystemConnectorsExternalDbSystemConnectorCollectionItemConnectionInfoConnectionCredentialResult'], + connection_strings: Sequence['outputs.GetExternalDbSystemConnectorsExternalDbSystemConnectorCollectionItemConnectionInfoConnectionStringResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("component_type", component_type) + _setter("connection_credentials", connection_credentials) + _setter("connection_strings", connection_strings) @property @pulumi.getter(name="componentType") @@ -8011,12 +9766,31 @@ def __init__(__self__, *, :param str ssl_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. :param str user_name: The user name used to connect to the ASM instance. """ - pulumi.set(__self__, "credential_name", credential_name) - pulumi.set(__self__, "credential_type", credential_type) - pulumi.set(__self__, "password_secret_id", password_secret_id) - pulumi.set(__self__, "role", role) - pulumi.set(__self__, "ssl_secret_id", ssl_secret_id) - pulumi.set(__self__, "user_name", user_name) + GetExternalDbSystemConnectorsExternalDbSystemConnectorCollectionItemConnectionInfoConnectionCredentialResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + credential_name=credential_name, + credential_type=credential_type, + password_secret_id=password_secret_id, + role=role, + ssl_secret_id=ssl_secret_id, + user_name=user_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + credential_name: str, + credential_type: str, + password_secret_id: str, + role: str, + ssl_secret_id: str, + user_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("credential_name", credential_name) + _setter("credential_type", credential_type) + _setter("password_secret_id", password_secret_id) + _setter("role", role) + _setter("ssl_secret_id", ssl_secret_id) + _setter("user_name", user_name) @property @pulumi.getter(name="credentialName") @@ -8082,11 +9856,28 @@ def __init__(__self__, *, :param str protocol: The protocol used to connect to the ASM instance. :param str service: The service name of the ASM instance. """ - pulumi.set(__self__, "host_name", host_name) - pulumi.set(__self__, "hosts", hosts) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "service", service) + GetExternalDbSystemConnectorsExternalDbSystemConnectorCollectionItemConnectionInfoConnectionStringResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + host_name=host_name, + hosts=hosts, + port=port, + protocol=protocol, + service=service, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host_name: str, + hosts: Sequence[str], + port: int, + protocol: str, + service: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("host_name", host_name) + _setter("hosts", hosts) + _setter("port", port) + _setter("protocol", protocol) + _setter("service", service) @property @pulumi.getter(name="hostName") @@ -8135,10 +9926,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetExternalDbSystemConnectorsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -8163,7 +9967,16 @@ def __init__(__self__, *, """ :param str license_model: The Oracle license model that applies to the external database. """ - pulumi.set(__self__, "license_model", license_model) + GetExternalDbSystemDatabaseManagementConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + license_model=license_model, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + license_model: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("license_model", license_model) @property @pulumi.getter(name="licenseModel") @@ -8178,7 +9991,16 @@ def license_model(self) -> str: class GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -8215,19 +10037,52 @@ def __init__(__self__, *, :param str time_created: The date and time the external DB system discovery was created. :param str time_updated: The date and time the external DB system discovery was last updated. """ - pulumi.set(__self__, "agent_id", agent_id) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "discovered_components", discovered_components) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "external_db_system_discovery_id", external_db_system_discovery_id) - pulumi.set(__self__, "grid_home", grid_home) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "patch_operations", patch_operations) - pulumi.set(__self__, "resource_id", resource_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + agent_id=agent_id, + compartment_id=compartment_id, + discovered_components=discovered_components, + display_name=display_name, + external_db_system_discovery_id=external_db_system_discovery_id, + grid_home=grid_home, + id=id, + lifecycle_details=lifecycle_details, + patch_operations=patch_operations, + resource_id=resource_id, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agent_id: str, + compartment_id: str, + discovered_components: Sequence['outputs.GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentResult'], + display_name: str, + external_db_system_discovery_id: str, + grid_home: str, + id: str, + lifecycle_details: str, + patch_operations: Sequence['outputs.GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemPatchOperationResult'], + resource_id: str, + state: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("agent_id", agent_id) + _setter("compartment_id", compartment_id) + _setter("discovered_components", discovered_components) + _setter("display_name", display_name) + _setter("external_db_system_discovery_id", external_db_system_discovery_id) + _setter("grid_home", grid_home) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("patch_operations", patch_operations) + _setter("resource_id", resource_id) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="agentId") @@ -8425,53 +10280,154 @@ def __init__(__self__, *, :param str version: The version of Oracle Clusterware running in the cluster. :param Sequence['GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentVipConfigurationArgs'] vip_configurations: The list of Virtual IP (VIP) configurations of the external cluster. """ - pulumi.set(__self__, "adr_home_directory", adr_home_directory) - pulumi.set(__self__, "asm_instances", asm_instances) - pulumi.set(__self__, "associated_components", associated_components) - pulumi.set(__self__, "cluster_id", cluster_id) - pulumi.set(__self__, "cluster_instances", cluster_instances) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "component_id", component_id) - pulumi.set(__self__, "component_name", component_name) - pulumi.set(__self__, "component_type", component_type) - pulumi.set(__self__, "connectors", connectors) - pulumi.set(__self__, "container_database_id", container_database_id) - pulumi.set(__self__, "cpu_core_count", cpu_core_count) - pulumi.set(__self__, "crs_base_directory", crs_base_directory) - pulumi.set(__self__, "db_edition", db_edition) - pulumi.set(__self__, "db_id", db_id) - pulumi.set(__self__, "db_node_name", db_node_name) - pulumi.set(__self__, "db_packs", db_packs) - pulumi.set(__self__, "db_role", db_role) - pulumi.set(__self__, "db_type", db_type) - pulumi.set(__self__, "db_unique_name", db_unique_name) - pulumi.set(__self__, "db_version", db_version) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "endpoints", endpoints) - pulumi.set(__self__, "grid_home", grid_home) - pulumi.set(__self__, "guid", guid) - pulumi.set(__self__, "home_directory", home_directory) - pulumi.set(__self__, "host_name", host_name) - pulumi.set(__self__, "instance_name", instance_name) - pulumi.set(__self__, "is_cluster", is_cluster) - pulumi.set(__self__, "is_flex_cluster", is_flex_cluster) - pulumi.set(__self__, "is_flex_enabled", is_flex_enabled) - pulumi.set(__self__, "is_selected_for_monitoring", is_selected_for_monitoring) - pulumi.set(__self__, "listener_alias", listener_alias) - pulumi.set(__self__, "listener_type", listener_type) - pulumi.set(__self__, "log_directory", log_directory) - pulumi.set(__self__, "memory_size_in_gbs", memory_size_in_gbs) - pulumi.set(__self__, "network_configurations", network_configurations) - pulumi.set(__self__, "node_role", node_role) - pulumi.set(__self__, "ocr_file_location", ocr_file_location) - pulumi.set(__self__, "oracle_home", oracle_home) - pulumi.set(__self__, "pluggable_databases", pluggable_databases) - pulumi.set(__self__, "resource_id", resource_id) - pulumi.set(__self__, "scan_configurations", scan_configurations) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "trace_directory", trace_directory) - pulumi.set(__self__, "version", version) - pulumi.set(__self__, "vip_configurations", vip_configurations) + GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + adr_home_directory=adr_home_directory, + asm_instances=asm_instances, + associated_components=associated_components, + cluster_id=cluster_id, + cluster_instances=cluster_instances, + compartment_id=compartment_id, + component_id=component_id, + component_name=component_name, + component_type=component_type, + connectors=connectors, + container_database_id=container_database_id, + cpu_core_count=cpu_core_count, + crs_base_directory=crs_base_directory, + db_edition=db_edition, + db_id=db_id, + db_node_name=db_node_name, + db_packs=db_packs, + db_role=db_role, + db_type=db_type, + db_unique_name=db_unique_name, + db_version=db_version, + display_name=display_name, + endpoints=endpoints, + grid_home=grid_home, + guid=guid, + home_directory=home_directory, + host_name=host_name, + instance_name=instance_name, + is_cluster=is_cluster, + is_flex_cluster=is_flex_cluster, + is_flex_enabled=is_flex_enabled, + is_selected_for_monitoring=is_selected_for_monitoring, + listener_alias=listener_alias, + listener_type=listener_type, + log_directory=log_directory, + memory_size_in_gbs=memory_size_in_gbs, + network_configurations=network_configurations, + node_role=node_role, + ocr_file_location=ocr_file_location, + oracle_home=oracle_home, + pluggable_databases=pluggable_databases, + resource_id=resource_id, + scan_configurations=scan_configurations, + status=status, + trace_directory=trace_directory, + version=version, + vip_configurations=vip_configurations, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + adr_home_directory: str, + asm_instances: Sequence['outputs.GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentAsmInstanceResult'], + associated_components: Sequence['outputs.GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentAssociatedComponentResult'], + cluster_id: str, + cluster_instances: Sequence['outputs.GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentClusterInstanceResult'], + compartment_id: str, + component_id: str, + component_name: str, + component_type: str, + connectors: Sequence['outputs.GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentConnectorResult'], + container_database_id: str, + cpu_core_count: float, + crs_base_directory: str, + db_edition: str, + db_id: str, + db_node_name: str, + db_packs: str, + db_role: str, + db_type: str, + db_unique_name: str, + db_version: str, + display_name: str, + endpoints: Sequence['outputs.GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentEndpointResult'], + grid_home: str, + guid: str, + home_directory: str, + host_name: str, + instance_name: str, + is_cluster: bool, + is_flex_cluster: bool, + is_flex_enabled: bool, + is_selected_for_monitoring: bool, + listener_alias: str, + listener_type: str, + log_directory: str, + memory_size_in_gbs: float, + network_configurations: Sequence['outputs.GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentNetworkConfigurationResult'], + node_role: str, + ocr_file_location: str, + oracle_home: str, + pluggable_databases: Sequence['outputs.GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentPluggableDatabaseResult'], + resource_id: str, + scan_configurations: Sequence['outputs.GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentScanConfigurationResult'], + status: str, + trace_directory: str, + version: str, + vip_configurations: Sequence['outputs.GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentVipConfigurationResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("adr_home_directory", adr_home_directory) + _setter("asm_instances", asm_instances) + _setter("associated_components", associated_components) + _setter("cluster_id", cluster_id) + _setter("cluster_instances", cluster_instances) + _setter("compartment_id", compartment_id) + _setter("component_id", component_id) + _setter("component_name", component_name) + _setter("component_type", component_type) + _setter("connectors", connectors) + _setter("container_database_id", container_database_id) + _setter("cpu_core_count", cpu_core_count) + _setter("crs_base_directory", crs_base_directory) + _setter("db_edition", db_edition) + _setter("db_id", db_id) + _setter("db_node_name", db_node_name) + _setter("db_packs", db_packs) + _setter("db_role", db_role) + _setter("db_type", db_type) + _setter("db_unique_name", db_unique_name) + _setter("db_version", db_version) + _setter("display_name", display_name) + _setter("endpoints", endpoints) + _setter("grid_home", grid_home) + _setter("guid", guid) + _setter("home_directory", home_directory) + _setter("host_name", host_name) + _setter("instance_name", instance_name) + _setter("is_cluster", is_cluster) + _setter("is_flex_cluster", is_flex_cluster) + _setter("is_flex_enabled", is_flex_enabled) + _setter("is_selected_for_monitoring", is_selected_for_monitoring) + _setter("listener_alias", listener_alias) + _setter("listener_type", listener_type) + _setter("log_directory", log_directory) + _setter("memory_size_in_gbs", memory_size_in_gbs) + _setter("network_configurations", network_configurations) + _setter("node_role", node_role) + _setter("ocr_file_location", ocr_file_location) + _setter("oracle_home", oracle_home) + _setter("pluggable_databases", pluggable_databases) + _setter("resource_id", resource_id) + _setter("scan_configurations", scan_configurations) + _setter("status", status) + _setter("trace_directory", trace_directory) + _setter("version", version) + _setter("vip_configurations", vip_configurations) @property @pulumi.getter(name="adrHomeDirectory") @@ -8855,9 +10811,22 @@ def __init__(__self__, *, :param str host_name: The host name of the database or the SCAN name in case of a RAC database. :param str instance_name: The name of the ASM instance. """ - pulumi.set(__self__, "adr_home_directory", adr_home_directory) - pulumi.set(__self__, "host_name", host_name) - pulumi.set(__self__, "instance_name", instance_name) + GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentAsmInstanceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + adr_home_directory=adr_home_directory, + host_name=host_name, + instance_name=instance_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + adr_home_directory: str, + host_name: str, + instance_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("adr_home_directory", adr_home_directory) + _setter("host_name", host_name) + _setter("instance_name", instance_name) @property @pulumi.getter(name="adrHomeDirectory") @@ -8895,9 +10864,22 @@ def __init__(__self__, *, :param str component_id: The identifier of the discovered DB system component. :param str component_type: The component type. """ - pulumi.set(__self__, "association_type", association_type) - pulumi.set(__self__, "component_id", component_id) - pulumi.set(__self__, "component_type", component_type) + GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentAssociatedComponentResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + association_type=association_type, + component_id=component_id, + component_type=component_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + association_type: str, + component_id: str, + component_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("association_type", association_type) + _setter("component_id", component_id) + _setter("component_type", component_type) @property @pulumi.getter(name="associationType") @@ -8941,12 +10923,31 @@ def __init__(__self__, *, :param str host_name: The host name of the database or the SCAN name in case of a RAC database. :param str node_role: The role of the cluster node. """ - pulumi.set(__self__, "adr_home_directory", adr_home_directory) - pulumi.set(__self__, "cluster_id", cluster_id) - pulumi.set(__self__, "connectors", connectors) - pulumi.set(__self__, "crs_base_directory", crs_base_directory) - pulumi.set(__self__, "host_name", host_name) - pulumi.set(__self__, "node_role", node_role) + GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentClusterInstanceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + adr_home_directory=adr_home_directory, + cluster_id=cluster_id, + connectors=connectors, + crs_base_directory=crs_base_directory, + host_name=host_name, + node_role=node_role, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + adr_home_directory: str, + cluster_id: str, + connectors: Sequence['outputs.GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentClusterInstanceConnectorResult'], + crs_base_directory: str, + host_name: str, + node_role: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("adr_home_directory", adr_home_directory) + _setter("cluster_id", cluster_id) + _setter("connectors", connectors) + _setter("crs_base_directory", crs_base_directory) + _setter("host_name", host_name) + _setter("node_role", node_role) @property @pulumi.getter(name="adrHomeDirectory") @@ -9016,13 +11017,34 @@ def __init__(__self__, *, :param str display_name: A filter to only return the resources that match the entire display name. :param str time_connection_status_last_updated: The date and time the connectionStatus of the external DB system connector was last updated. """ - pulumi.set(__self__, "agent_id", agent_id) - pulumi.set(__self__, "connection_failure_message", connection_failure_message) - pulumi.set(__self__, "connection_infos", connection_infos) - pulumi.set(__self__, "connection_status", connection_status) - pulumi.set(__self__, "connector_type", connector_type) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "time_connection_status_last_updated", time_connection_status_last_updated) + GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentClusterInstanceConnectorResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + agent_id=agent_id, + connection_failure_message=connection_failure_message, + connection_infos=connection_infos, + connection_status=connection_status, + connector_type=connector_type, + display_name=display_name, + time_connection_status_last_updated=time_connection_status_last_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agent_id: str, + connection_failure_message: str, + connection_infos: Sequence['outputs.GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentClusterInstanceConnectorConnectionInfoResult'], + connection_status: str, + connector_type: str, + display_name: str, + time_connection_status_last_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("agent_id", agent_id) + _setter("connection_failure_message", connection_failure_message) + _setter("connection_infos", connection_infos) + _setter("connection_status", connection_status) + _setter("connector_type", connector_type) + _setter("display_name", display_name) + _setter("time_connection_status_last_updated", time_connection_status_last_updated) @property @pulumi.getter(name="agentId") @@ -9092,9 +11114,22 @@ def __init__(__self__, *, :param Sequence['GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredentialArgs'] connection_credentials: The credentials used to connect to the ASM instance. Currently only the `DETAILS` type is supported for creating MACS connector credentials. :param Sequence['GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionStringArgs'] connection_strings: The Oracle Database connection string. """ - pulumi.set(__self__, "component_type", component_type) - pulumi.set(__self__, "connection_credentials", connection_credentials) - pulumi.set(__self__, "connection_strings", connection_strings) + GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentClusterInstanceConnectorConnectionInfoResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + component_type=component_type, + connection_credentials=connection_credentials, + connection_strings=connection_strings, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + component_type: str, + connection_credentials: Sequence['outputs.GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredentialResult'], + connection_strings: Sequence['outputs.GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionStringResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("component_type", component_type) + _setter("connection_credentials", connection_credentials) + _setter("connection_strings", connection_strings) @property @pulumi.getter(name="componentType") @@ -9138,12 +11173,31 @@ def __init__(__self__, *, :param str ssl_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. :param str user_name: The user name used to connect to the ASM instance. """ - pulumi.set(__self__, "credential_name", credential_name) - pulumi.set(__self__, "credential_type", credential_type) - pulumi.set(__self__, "password_secret_id", password_secret_id) - pulumi.set(__self__, "role", role) - pulumi.set(__self__, "ssl_secret_id", ssl_secret_id) - pulumi.set(__self__, "user_name", user_name) + GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredentialResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + credential_name=credential_name, + credential_type=credential_type, + password_secret_id=password_secret_id, + role=role, + ssl_secret_id=ssl_secret_id, + user_name=user_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + credential_name: str, + credential_type: str, + password_secret_id: str, + role: str, + ssl_secret_id: str, + user_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("credential_name", credential_name) + _setter("credential_type", credential_type) + _setter("password_secret_id", password_secret_id) + _setter("role", role) + _setter("ssl_secret_id", ssl_secret_id) + _setter("user_name", user_name) @property @pulumi.getter(name="credentialName") @@ -9209,11 +11263,28 @@ def __init__(__self__, *, :param str protocol: The protocol used to connect to the ASM instance. :param str service: The service name of the ASM instance. """ - pulumi.set(__self__, "host_name", host_name) - pulumi.set(__self__, "hosts", hosts) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "service", service) + GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionStringResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + host_name=host_name, + hosts=hosts, + port=port, + protocol=protocol, + service=service, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host_name: str, + hosts: Sequence[str], + port: int, + protocol: str, + service: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("host_name", host_name) + _setter("hosts", hosts) + _setter("port", port) + _setter("protocol", protocol) + _setter("service", service) @property @pulumi.getter(name="hostName") @@ -9275,13 +11346,34 @@ def __init__(__self__, *, :param str display_name: A filter to only return the resources that match the entire display name. :param str time_connection_status_last_updated: The date and time the connectionStatus of the external DB system connector was last updated. """ - pulumi.set(__self__, "agent_id", agent_id) - pulumi.set(__self__, "connection_failure_message", connection_failure_message) - pulumi.set(__self__, "connection_infos", connection_infos) - pulumi.set(__self__, "connection_status", connection_status) - pulumi.set(__self__, "connector_type", connector_type) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "time_connection_status_last_updated", time_connection_status_last_updated) + GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentConnectorResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + agent_id=agent_id, + connection_failure_message=connection_failure_message, + connection_infos=connection_infos, + connection_status=connection_status, + connector_type=connector_type, + display_name=display_name, + time_connection_status_last_updated=time_connection_status_last_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agent_id: str, + connection_failure_message: str, + connection_infos: Sequence['outputs.GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentConnectorConnectionInfoResult'], + connection_status: str, + connector_type: str, + display_name: str, + time_connection_status_last_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("agent_id", agent_id) + _setter("connection_failure_message", connection_failure_message) + _setter("connection_infos", connection_infos) + _setter("connection_status", connection_status) + _setter("connector_type", connector_type) + _setter("display_name", display_name) + _setter("time_connection_status_last_updated", time_connection_status_last_updated) @property @pulumi.getter(name="agentId") @@ -9351,9 +11443,22 @@ def __init__(__self__, *, :param Sequence['GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentConnectorConnectionInfoConnectionCredentialArgs'] connection_credentials: The credentials used to connect to the ASM instance. Currently only the `DETAILS` type is supported for creating MACS connector credentials. :param Sequence['GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentConnectorConnectionInfoConnectionStringArgs'] connection_strings: The Oracle Database connection string. """ - pulumi.set(__self__, "component_type", component_type) - pulumi.set(__self__, "connection_credentials", connection_credentials) - pulumi.set(__self__, "connection_strings", connection_strings) + GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentConnectorConnectionInfoResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + component_type=component_type, + connection_credentials=connection_credentials, + connection_strings=connection_strings, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + component_type: str, + connection_credentials: Sequence['outputs.GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentConnectorConnectionInfoConnectionCredentialResult'], + connection_strings: Sequence['outputs.GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentConnectorConnectionInfoConnectionStringResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("component_type", component_type) + _setter("connection_credentials", connection_credentials) + _setter("connection_strings", connection_strings) @property @pulumi.getter(name="componentType") @@ -9397,12 +11502,31 @@ def __init__(__self__, *, :param str ssl_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. :param str user_name: The user name used to connect to the ASM instance. """ - pulumi.set(__self__, "credential_name", credential_name) - pulumi.set(__self__, "credential_type", credential_type) - pulumi.set(__self__, "password_secret_id", password_secret_id) - pulumi.set(__self__, "role", role) - pulumi.set(__self__, "ssl_secret_id", ssl_secret_id) - pulumi.set(__self__, "user_name", user_name) + GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentConnectorConnectionInfoConnectionCredentialResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + credential_name=credential_name, + credential_type=credential_type, + password_secret_id=password_secret_id, + role=role, + ssl_secret_id=ssl_secret_id, + user_name=user_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + credential_name: str, + credential_type: str, + password_secret_id: str, + role: str, + ssl_secret_id: str, + user_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("credential_name", credential_name) + _setter("credential_type", credential_type) + _setter("password_secret_id", password_secret_id) + _setter("role", role) + _setter("ssl_secret_id", ssl_secret_id) + _setter("user_name", user_name) @property @pulumi.getter(name="credentialName") @@ -9468,11 +11592,28 @@ def __init__(__self__, *, :param str protocol: The protocol used to connect to the ASM instance. :param str service: The service name of the ASM instance. """ - pulumi.set(__self__, "host_name", host_name) - pulumi.set(__self__, "hosts", hosts) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "service", service) + GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentConnectorConnectionInfoConnectionStringResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + host_name=host_name, + hosts=hosts, + port=port, + protocol=protocol, + service=service, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host_name: str, + hosts: Sequence[str], + port: int, + protocol: str, + service: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("host_name", host_name) + _setter("hosts", hosts) + _setter("port", port) + _setter("protocol", protocol) + _setter("service", service) @property @pulumi.getter(name="hostName") @@ -9530,11 +11671,28 @@ def __init__(__self__, *, :param str protocol: The protocol used to connect to the ASM instance. :param Sequence[str] services: The list of services registered with the listener. """ - pulumi.set(__self__, "host", host) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "services", services) + GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentEndpointResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + host=host, + key=key, + port=port, + protocol=protocol, + services=services, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host: str, + key: str, + port: int, + protocol: str, + services: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("host", host) + _setter("key", key) + _setter("port", port) + _setter("protocol", protocol) + _setter("services", services) @property @pulumi.getter @@ -9588,9 +11746,22 @@ def __init__(__self__, *, :param str network_type: The network type. :param str subnet: The subnet for the network. """ - pulumi.set(__self__, "network_number", network_number) - pulumi.set(__self__, "network_type", network_type) - pulumi.set(__self__, "subnet", subnet) + GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentNetworkConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + network_number=network_number, + network_type=network_type, + subnet=subnet, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + network_number: int, + network_type: str, + subnet: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("network_number", network_number) + _setter("network_type", network_type) + _setter("subnet", subnet) @property @pulumi.getter(name="networkNumber") @@ -9630,10 +11801,25 @@ def __init__(__self__, *, :param str container_database_id: The unique identifier of the parent Container Database (CDB). :param str guid: The unique identifier of the PDB. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "connectors", connectors) - pulumi.set(__self__, "container_database_id", container_database_id) - pulumi.set(__self__, "guid", guid) + GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentPluggableDatabaseResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + connectors=connectors, + container_database_id=container_database_id, + guid=guid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + connectors: Sequence['outputs.GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentPluggableDatabaseConnectorResult'], + container_database_id: str, + guid: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("connectors", connectors) + _setter("container_database_id", container_database_id) + _setter("guid", guid) @property @pulumi.getter(name="compartmentId") @@ -9687,13 +11873,34 @@ def __init__(__self__, *, :param str display_name: A filter to only return the resources that match the entire display name. :param str time_connection_status_last_updated: The date and time the connectionStatus of the external DB system connector was last updated. """ - pulumi.set(__self__, "agent_id", agent_id) - pulumi.set(__self__, "connection_failure_message", connection_failure_message) - pulumi.set(__self__, "connection_infos", connection_infos) - pulumi.set(__self__, "connection_status", connection_status) - pulumi.set(__self__, "connector_type", connector_type) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "time_connection_status_last_updated", time_connection_status_last_updated) + GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentPluggableDatabaseConnectorResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + agent_id=agent_id, + connection_failure_message=connection_failure_message, + connection_infos=connection_infos, + connection_status=connection_status, + connector_type=connector_type, + display_name=display_name, + time_connection_status_last_updated=time_connection_status_last_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agent_id: str, + connection_failure_message: str, + connection_infos: Sequence['outputs.GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentPluggableDatabaseConnectorConnectionInfoResult'], + connection_status: str, + connector_type: str, + display_name: str, + time_connection_status_last_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("agent_id", agent_id) + _setter("connection_failure_message", connection_failure_message) + _setter("connection_infos", connection_infos) + _setter("connection_status", connection_status) + _setter("connector_type", connector_type) + _setter("display_name", display_name) + _setter("time_connection_status_last_updated", time_connection_status_last_updated) @property @pulumi.getter(name="agentId") @@ -9763,9 +11970,22 @@ def __init__(__self__, *, :param Sequence['GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredentialArgs'] connection_credentials: The credentials used to connect to the ASM instance. Currently only the `DETAILS` type is supported for creating MACS connector credentials. :param Sequence['GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionStringArgs'] connection_strings: The Oracle Database connection string. """ - pulumi.set(__self__, "component_type", component_type) - pulumi.set(__self__, "connection_credentials", connection_credentials) - pulumi.set(__self__, "connection_strings", connection_strings) + GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentPluggableDatabaseConnectorConnectionInfoResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + component_type=component_type, + connection_credentials=connection_credentials, + connection_strings=connection_strings, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + component_type: str, + connection_credentials: Sequence['outputs.GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredentialResult'], + connection_strings: Sequence['outputs.GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionStringResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("component_type", component_type) + _setter("connection_credentials", connection_credentials) + _setter("connection_strings", connection_strings) @property @pulumi.getter(name="componentType") @@ -9809,12 +12029,31 @@ def __init__(__self__, *, :param str ssl_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. :param str user_name: The user name used to connect to the ASM instance. """ - pulumi.set(__self__, "credential_name", credential_name) - pulumi.set(__self__, "credential_type", credential_type) - pulumi.set(__self__, "password_secret_id", password_secret_id) - pulumi.set(__self__, "role", role) - pulumi.set(__self__, "ssl_secret_id", ssl_secret_id) - pulumi.set(__self__, "user_name", user_name) + GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredentialResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + credential_name=credential_name, + credential_type=credential_type, + password_secret_id=password_secret_id, + role=role, + ssl_secret_id=ssl_secret_id, + user_name=user_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + credential_name: str, + credential_type: str, + password_secret_id: str, + role: str, + ssl_secret_id: str, + user_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("credential_name", credential_name) + _setter("credential_type", credential_type) + _setter("password_secret_id", password_secret_id) + _setter("role", role) + _setter("ssl_secret_id", ssl_secret_id) + _setter("user_name", user_name) @property @pulumi.getter(name="credentialName") @@ -9880,11 +12119,28 @@ def __init__(__self__, *, :param str protocol: The protocol used to connect to the ASM instance. :param str service: The service name of the ASM instance. """ - pulumi.set(__self__, "host_name", host_name) - pulumi.set(__self__, "hosts", hosts) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "service", service) + GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionStringResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + host_name=host_name, + hosts=hosts, + port=port, + protocol=protocol, + service=service, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host_name: str, + hosts: Sequence[str], + port: int, + protocol: str, + service: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("host_name", host_name) + _setter("hosts", hosts) + _setter("port", port) + _setter("protocol", protocol) + _setter("service", service) @property @pulumi.getter(name="hostName") @@ -9940,10 +12196,25 @@ def __init__(__self__, *, :param int scan_port: The port number of the SCAN listener. :param str scan_protocol: The protocol of the SCAN listener. """ - pulumi.set(__self__, "network_number", network_number) - pulumi.set(__self__, "scan_name", scan_name) - pulumi.set(__self__, "scan_port", scan_port) - pulumi.set(__self__, "scan_protocol", scan_protocol) + GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentScanConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + network_number=network_number, + scan_name=scan_name, + scan_port=scan_port, + scan_protocol=scan_protocol, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + network_number: int, + scan_name: str, + scan_port: int, + scan_protocol: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("network_number", network_number) + _setter("scan_name", scan_name) + _setter("scan_port", scan_port) + _setter("scan_protocol", scan_protocol) @property @pulumi.getter(name="networkNumber") @@ -9989,9 +12260,22 @@ def __init__(__self__, *, :param int network_number: The network number from which VIPs are obtained. :param str node_name: The name of the node with the VIP. """ - pulumi.set(__self__, "address", address) - pulumi.set(__self__, "network_number", network_number) - pulumi.set(__self__, "node_name", node_name) + GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemDiscoveredComponentVipConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + address=address, + network_number=network_number, + node_name=node_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address: str, + network_number: int, + node_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("address", address) + _setter("network_number", network_number) + _setter("node_name", node_name) @property @pulumi.getter @@ -10024,9 +12308,22 @@ def __init__(__self__, *, operation: str, selection: str, values: Sequence['outputs.GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemPatchOperationValueResult']): - pulumi.set(__self__, "operation", operation) - pulumi.set(__self__, "selection", selection) - pulumi.set(__self__, "values", values) + GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemPatchOperationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + operation=operation, + selection=selection, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + operation: str, + selection: str, + values: Sequence['outputs.GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemPatchOperationValueResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("operation", operation) + _setter("selection", selection) + _setter("values", values) @property @pulumi.getter @@ -10057,10 +12354,25 @@ def __init__(__self__, *, :param str display_name: A filter to only return the resources that match the entire display name. :param bool is_selected_for_monitoring: Indicates whether the DB system component should be provisioned as an Oracle Cloud Infrastructure resource or not. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "connectors", connectors) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "is_selected_for_monitoring", is_selected_for_monitoring) + GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemPatchOperationValueResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + connectors=connectors, + display_name=display_name, + is_selected_for_monitoring=is_selected_for_monitoring, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + connectors: Sequence['outputs.GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemPatchOperationValueConnectorResult'], + display_name: str, + is_selected_for_monitoring: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("connectors", connectors) + _setter("display_name", display_name) + _setter("is_selected_for_monitoring", is_selected_for_monitoring) @property @pulumi.getter(name="compartmentId") @@ -10108,10 +12420,25 @@ def __init__(__self__, *, :param str connector_type: The type of connector. :param str display_name: A filter to only return the resources that match the entire display name. """ - pulumi.set(__self__, "agent_id", agent_id) - pulumi.set(__self__, "connection_infos", connection_infos) - pulumi.set(__self__, "connector_type", connector_type) - pulumi.set(__self__, "display_name", display_name) + GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemPatchOperationValueConnectorResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + agent_id=agent_id, + connection_infos=connection_infos, + connector_type=connector_type, + display_name=display_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agent_id: str, + connection_infos: Sequence['outputs.GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemPatchOperationValueConnectorConnectionInfoResult'], + connector_type: str, + display_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("agent_id", agent_id) + _setter("connection_infos", connection_infos) + _setter("connector_type", connector_type) + _setter("display_name", display_name) @property @pulumi.getter(name="agentId") @@ -10157,9 +12484,22 @@ def __init__(__self__, *, :param Sequence['GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemPatchOperationValueConnectorConnectionInfoConnectionCredentialArgs'] connection_credentials: The credentials used to connect to the ASM instance. Currently only the `DETAILS` type is supported for creating MACS connector credentials. :param Sequence['GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemPatchOperationValueConnectorConnectionInfoConnectionStringArgs'] connection_strings: The Oracle Database connection string. """ - pulumi.set(__self__, "component_type", component_type) - pulumi.set(__self__, "connection_credentials", connection_credentials) - pulumi.set(__self__, "connection_strings", connection_strings) + GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemPatchOperationValueConnectorConnectionInfoResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + component_type=component_type, + connection_credentials=connection_credentials, + connection_strings=connection_strings, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + component_type: str, + connection_credentials: Sequence['outputs.GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemPatchOperationValueConnectorConnectionInfoConnectionCredentialResult'], + connection_strings: Sequence['outputs.GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemPatchOperationValueConnectorConnectionInfoConnectionStringResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("component_type", component_type) + _setter("connection_credentials", connection_credentials) + _setter("connection_strings", connection_strings) @property @pulumi.getter(name="componentType") @@ -10203,12 +12543,31 @@ def __init__(__self__, *, :param str ssl_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. :param str user_name: The user name used to connect to the ASM instance. """ - pulumi.set(__self__, "credential_name", credential_name) - pulumi.set(__self__, "credential_type", credential_type) - pulumi.set(__self__, "password_secret_id", password_secret_id) - pulumi.set(__self__, "role", role) - pulumi.set(__self__, "ssl_secret_id", ssl_secret_id) - pulumi.set(__self__, "user_name", user_name) + GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemPatchOperationValueConnectorConnectionInfoConnectionCredentialResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + credential_name=credential_name, + credential_type=credential_type, + password_secret_id=password_secret_id, + role=role, + ssl_secret_id=ssl_secret_id, + user_name=user_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + credential_name: str, + credential_type: str, + password_secret_id: str, + role: str, + ssl_secret_id: str, + user_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("credential_name", credential_name) + _setter("credential_type", credential_type) + _setter("password_secret_id", password_secret_id) + _setter("role", role) + _setter("ssl_secret_id", ssl_secret_id) + _setter("user_name", user_name) @property @pulumi.getter(name="credentialName") @@ -10274,11 +12633,28 @@ def __init__(__self__, *, :param str protocol: The protocol used to connect to the ASM instance. :param str service: The service name of the ASM instance. """ - pulumi.set(__self__, "host_name", host_name) - pulumi.set(__self__, "hosts", hosts) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "service", service) + GetExternalDbSystemDiscoveriesExternalDbSystemDiscoveryCollectionItemPatchOperationValueConnectorConnectionInfoConnectionStringResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + host_name=host_name, + hosts=hosts, + port=port, + protocol=protocol, + service=service, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host_name: str, + hosts: Sequence[str], + port: int, + protocol: str, + service: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("host_name", host_name) + _setter("hosts", hosts) + _setter("port", port) + _setter("protocol", protocol) + _setter("service", service) @property @pulumi.getter(name="hostName") @@ -10327,10 +12703,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetExternalDbSystemDiscoveriesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -10445,53 +12834,154 @@ def __init__(__self__, *, :param str version: The version of Oracle Clusterware running in the cluster. :param Sequence['GetExternalDbSystemDiscoveryDiscoveredComponentVipConfigurationArgs'] vip_configurations: The list of Virtual IP (VIP) configurations of the external cluster. """ - pulumi.set(__self__, "adr_home_directory", adr_home_directory) - pulumi.set(__self__, "asm_instances", asm_instances) - pulumi.set(__self__, "associated_components", associated_components) - pulumi.set(__self__, "cluster_id", cluster_id) - pulumi.set(__self__, "cluster_instances", cluster_instances) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "component_id", component_id) - pulumi.set(__self__, "component_name", component_name) - pulumi.set(__self__, "component_type", component_type) - pulumi.set(__self__, "connectors", connectors) - pulumi.set(__self__, "container_database_id", container_database_id) - pulumi.set(__self__, "cpu_core_count", cpu_core_count) - pulumi.set(__self__, "crs_base_directory", crs_base_directory) - pulumi.set(__self__, "db_edition", db_edition) - pulumi.set(__self__, "db_id", db_id) - pulumi.set(__self__, "db_node_name", db_node_name) - pulumi.set(__self__, "db_packs", db_packs) - pulumi.set(__self__, "db_role", db_role) - pulumi.set(__self__, "db_type", db_type) - pulumi.set(__self__, "db_unique_name", db_unique_name) - pulumi.set(__self__, "db_version", db_version) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "endpoints", endpoints) - pulumi.set(__self__, "grid_home", grid_home) - pulumi.set(__self__, "guid", guid) - pulumi.set(__self__, "home_directory", home_directory) - pulumi.set(__self__, "host_name", host_name) - pulumi.set(__self__, "instance_name", instance_name) - pulumi.set(__self__, "is_cluster", is_cluster) - pulumi.set(__self__, "is_flex_cluster", is_flex_cluster) - pulumi.set(__self__, "is_flex_enabled", is_flex_enabled) - pulumi.set(__self__, "is_selected_for_monitoring", is_selected_for_monitoring) - pulumi.set(__self__, "listener_alias", listener_alias) - pulumi.set(__self__, "listener_type", listener_type) - pulumi.set(__self__, "log_directory", log_directory) - pulumi.set(__self__, "memory_size_in_gbs", memory_size_in_gbs) - pulumi.set(__self__, "network_configurations", network_configurations) - pulumi.set(__self__, "node_role", node_role) - pulumi.set(__self__, "ocr_file_location", ocr_file_location) - pulumi.set(__self__, "oracle_home", oracle_home) - pulumi.set(__self__, "pluggable_databases", pluggable_databases) - pulumi.set(__self__, "resource_id", resource_id) - pulumi.set(__self__, "scan_configurations", scan_configurations) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "trace_directory", trace_directory) - pulumi.set(__self__, "version", version) - pulumi.set(__self__, "vip_configurations", vip_configurations) + GetExternalDbSystemDiscoveryDiscoveredComponentResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + adr_home_directory=adr_home_directory, + asm_instances=asm_instances, + associated_components=associated_components, + cluster_id=cluster_id, + cluster_instances=cluster_instances, + compartment_id=compartment_id, + component_id=component_id, + component_name=component_name, + component_type=component_type, + connectors=connectors, + container_database_id=container_database_id, + cpu_core_count=cpu_core_count, + crs_base_directory=crs_base_directory, + db_edition=db_edition, + db_id=db_id, + db_node_name=db_node_name, + db_packs=db_packs, + db_role=db_role, + db_type=db_type, + db_unique_name=db_unique_name, + db_version=db_version, + display_name=display_name, + endpoints=endpoints, + grid_home=grid_home, + guid=guid, + home_directory=home_directory, + host_name=host_name, + instance_name=instance_name, + is_cluster=is_cluster, + is_flex_cluster=is_flex_cluster, + is_flex_enabled=is_flex_enabled, + is_selected_for_monitoring=is_selected_for_monitoring, + listener_alias=listener_alias, + listener_type=listener_type, + log_directory=log_directory, + memory_size_in_gbs=memory_size_in_gbs, + network_configurations=network_configurations, + node_role=node_role, + ocr_file_location=ocr_file_location, + oracle_home=oracle_home, + pluggable_databases=pluggable_databases, + resource_id=resource_id, + scan_configurations=scan_configurations, + status=status, + trace_directory=trace_directory, + version=version, + vip_configurations=vip_configurations, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + adr_home_directory: str, + asm_instances: Sequence['outputs.GetExternalDbSystemDiscoveryDiscoveredComponentAsmInstanceResult'], + associated_components: Sequence['outputs.GetExternalDbSystemDiscoveryDiscoveredComponentAssociatedComponentResult'], + cluster_id: str, + cluster_instances: Sequence['outputs.GetExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceResult'], + compartment_id: str, + component_id: str, + component_name: str, + component_type: str, + connectors: Sequence['outputs.GetExternalDbSystemDiscoveryDiscoveredComponentConnectorResult'], + container_database_id: str, + cpu_core_count: float, + crs_base_directory: str, + db_edition: str, + db_id: str, + db_node_name: str, + db_packs: str, + db_role: str, + db_type: str, + db_unique_name: str, + db_version: str, + display_name: str, + endpoints: Sequence['outputs.GetExternalDbSystemDiscoveryDiscoveredComponentEndpointResult'], + grid_home: str, + guid: str, + home_directory: str, + host_name: str, + instance_name: str, + is_cluster: bool, + is_flex_cluster: bool, + is_flex_enabled: bool, + is_selected_for_monitoring: bool, + listener_alias: str, + listener_type: str, + log_directory: str, + memory_size_in_gbs: float, + network_configurations: Sequence['outputs.GetExternalDbSystemDiscoveryDiscoveredComponentNetworkConfigurationResult'], + node_role: str, + ocr_file_location: str, + oracle_home: str, + pluggable_databases: Sequence['outputs.GetExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseResult'], + resource_id: str, + scan_configurations: Sequence['outputs.GetExternalDbSystemDiscoveryDiscoveredComponentScanConfigurationResult'], + status: str, + trace_directory: str, + version: str, + vip_configurations: Sequence['outputs.GetExternalDbSystemDiscoveryDiscoveredComponentVipConfigurationResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("adr_home_directory", adr_home_directory) + _setter("asm_instances", asm_instances) + _setter("associated_components", associated_components) + _setter("cluster_id", cluster_id) + _setter("cluster_instances", cluster_instances) + _setter("compartment_id", compartment_id) + _setter("component_id", component_id) + _setter("component_name", component_name) + _setter("component_type", component_type) + _setter("connectors", connectors) + _setter("container_database_id", container_database_id) + _setter("cpu_core_count", cpu_core_count) + _setter("crs_base_directory", crs_base_directory) + _setter("db_edition", db_edition) + _setter("db_id", db_id) + _setter("db_node_name", db_node_name) + _setter("db_packs", db_packs) + _setter("db_role", db_role) + _setter("db_type", db_type) + _setter("db_unique_name", db_unique_name) + _setter("db_version", db_version) + _setter("display_name", display_name) + _setter("endpoints", endpoints) + _setter("grid_home", grid_home) + _setter("guid", guid) + _setter("home_directory", home_directory) + _setter("host_name", host_name) + _setter("instance_name", instance_name) + _setter("is_cluster", is_cluster) + _setter("is_flex_cluster", is_flex_cluster) + _setter("is_flex_enabled", is_flex_enabled) + _setter("is_selected_for_monitoring", is_selected_for_monitoring) + _setter("listener_alias", listener_alias) + _setter("listener_type", listener_type) + _setter("log_directory", log_directory) + _setter("memory_size_in_gbs", memory_size_in_gbs) + _setter("network_configurations", network_configurations) + _setter("node_role", node_role) + _setter("ocr_file_location", ocr_file_location) + _setter("oracle_home", oracle_home) + _setter("pluggable_databases", pluggable_databases) + _setter("resource_id", resource_id) + _setter("scan_configurations", scan_configurations) + _setter("status", status) + _setter("trace_directory", trace_directory) + _setter("version", version) + _setter("vip_configurations", vip_configurations) @property @pulumi.getter(name="adrHomeDirectory") @@ -10875,9 +13365,22 @@ def __init__(__self__, *, :param str host_name: The host name of the database or the SCAN name in case of a RAC database. :param str instance_name: The name of the ASM instance. """ - pulumi.set(__self__, "adr_home_directory", adr_home_directory) - pulumi.set(__self__, "host_name", host_name) - pulumi.set(__self__, "instance_name", instance_name) + GetExternalDbSystemDiscoveryDiscoveredComponentAsmInstanceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + adr_home_directory=adr_home_directory, + host_name=host_name, + instance_name=instance_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + adr_home_directory: str, + host_name: str, + instance_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("adr_home_directory", adr_home_directory) + _setter("host_name", host_name) + _setter("instance_name", instance_name) @property @pulumi.getter(name="adrHomeDirectory") @@ -10915,9 +13418,22 @@ def __init__(__self__, *, :param str component_id: The identifier of the discovered DB system component. :param str component_type: The component type. """ - pulumi.set(__self__, "association_type", association_type) - pulumi.set(__self__, "component_id", component_id) - pulumi.set(__self__, "component_type", component_type) + GetExternalDbSystemDiscoveryDiscoveredComponentAssociatedComponentResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + association_type=association_type, + component_id=component_id, + component_type=component_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + association_type: str, + component_id: str, + component_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("association_type", association_type) + _setter("component_id", component_id) + _setter("component_type", component_type) @property @pulumi.getter(name="associationType") @@ -10961,12 +13477,31 @@ def __init__(__self__, *, :param str host_name: The host name of the database or the SCAN name in case of a RAC database. :param str node_role: The role of the cluster node. """ - pulumi.set(__self__, "adr_home_directory", adr_home_directory) - pulumi.set(__self__, "cluster_id", cluster_id) - pulumi.set(__self__, "connectors", connectors) - pulumi.set(__self__, "crs_base_directory", crs_base_directory) - pulumi.set(__self__, "host_name", host_name) - pulumi.set(__self__, "node_role", node_role) + GetExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + adr_home_directory=adr_home_directory, + cluster_id=cluster_id, + connectors=connectors, + crs_base_directory=crs_base_directory, + host_name=host_name, + node_role=node_role, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + adr_home_directory: str, + cluster_id: str, + connectors: Sequence['outputs.GetExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorResult'], + crs_base_directory: str, + host_name: str, + node_role: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("adr_home_directory", adr_home_directory) + _setter("cluster_id", cluster_id) + _setter("connectors", connectors) + _setter("crs_base_directory", crs_base_directory) + _setter("host_name", host_name) + _setter("node_role", node_role) @property @pulumi.getter(name="adrHomeDirectory") @@ -11036,13 +13571,34 @@ def __init__(__self__, *, :param str display_name: The user-friendly name for the DB system. The name does not have to be unique. :param str time_connection_status_last_updated: The date and time the connectionStatus of the external DB system connector was last updated. """ - pulumi.set(__self__, "agent_id", agent_id) - pulumi.set(__self__, "connection_failure_message", connection_failure_message) - pulumi.set(__self__, "connection_infos", connection_infos) - pulumi.set(__self__, "connection_status", connection_status) - pulumi.set(__self__, "connector_type", connector_type) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "time_connection_status_last_updated", time_connection_status_last_updated) + GetExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + agent_id=agent_id, + connection_failure_message=connection_failure_message, + connection_infos=connection_infos, + connection_status=connection_status, + connector_type=connector_type, + display_name=display_name, + time_connection_status_last_updated=time_connection_status_last_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agent_id: str, + connection_failure_message: str, + connection_infos: Sequence['outputs.GetExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoResult'], + connection_status: str, + connector_type: str, + display_name: str, + time_connection_status_last_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("agent_id", agent_id) + _setter("connection_failure_message", connection_failure_message) + _setter("connection_infos", connection_infos) + _setter("connection_status", connection_status) + _setter("connector_type", connector_type) + _setter("display_name", display_name) + _setter("time_connection_status_last_updated", time_connection_status_last_updated) @property @pulumi.getter(name="agentId") @@ -11112,9 +13668,22 @@ def __init__(__self__, *, :param Sequence['GetExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredentialArgs'] connection_credentials: The credentials used to connect to the ASM instance. Currently only the `DETAILS` type is supported for creating MACS connector credentials. :param Sequence['GetExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionStringArgs'] connection_strings: The Oracle Database connection string. """ - pulumi.set(__self__, "component_type", component_type) - pulumi.set(__self__, "connection_credentials", connection_credentials) - pulumi.set(__self__, "connection_strings", connection_strings) + GetExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + component_type=component_type, + connection_credentials=connection_credentials, + connection_strings=connection_strings, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + component_type: str, + connection_credentials: Sequence['outputs.GetExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredentialResult'], + connection_strings: Sequence['outputs.GetExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionStringResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("component_type", component_type) + _setter("connection_credentials", connection_credentials) + _setter("connection_strings", connection_strings) @property @pulumi.getter(name="componentType") @@ -11158,12 +13727,31 @@ def __init__(__self__, *, :param str ssl_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. :param str user_name: The user name used to connect to the ASM instance. """ - pulumi.set(__self__, "credential_name", credential_name) - pulumi.set(__self__, "credential_type", credential_type) - pulumi.set(__self__, "password_secret_id", password_secret_id) - pulumi.set(__self__, "role", role) - pulumi.set(__self__, "ssl_secret_id", ssl_secret_id) - pulumi.set(__self__, "user_name", user_name) + GetExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionCredentialResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + credential_name=credential_name, + credential_type=credential_type, + password_secret_id=password_secret_id, + role=role, + ssl_secret_id=ssl_secret_id, + user_name=user_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + credential_name: str, + credential_type: str, + password_secret_id: str, + role: str, + ssl_secret_id: str, + user_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("credential_name", credential_name) + _setter("credential_type", credential_type) + _setter("password_secret_id", password_secret_id) + _setter("role", role) + _setter("ssl_secret_id", ssl_secret_id) + _setter("user_name", user_name) @property @pulumi.getter(name="credentialName") @@ -11229,11 +13817,28 @@ def __init__(__self__, *, :param str protocol: The protocol used to connect to the ASM instance. :param str service: The service name of the ASM instance. """ - pulumi.set(__self__, "host_name", host_name) - pulumi.set(__self__, "hosts", hosts) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "service", service) + GetExternalDbSystemDiscoveryDiscoveredComponentClusterInstanceConnectorConnectionInfoConnectionStringResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + host_name=host_name, + hosts=hosts, + port=port, + protocol=protocol, + service=service, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host_name: str, + hosts: Sequence[str], + port: int, + protocol: str, + service: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("host_name", host_name) + _setter("hosts", hosts) + _setter("port", port) + _setter("protocol", protocol) + _setter("service", service) @property @pulumi.getter(name="hostName") @@ -11295,13 +13900,34 @@ def __init__(__self__, *, :param str display_name: The user-friendly name for the DB system. The name does not have to be unique. :param str time_connection_status_last_updated: The date and time the connectionStatus of the external DB system connector was last updated. """ - pulumi.set(__self__, "agent_id", agent_id) - pulumi.set(__self__, "connection_failure_message", connection_failure_message) - pulumi.set(__self__, "connection_infos", connection_infos) - pulumi.set(__self__, "connection_status", connection_status) - pulumi.set(__self__, "connector_type", connector_type) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "time_connection_status_last_updated", time_connection_status_last_updated) + GetExternalDbSystemDiscoveryDiscoveredComponentConnectorResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + agent_id=agent_id, + connection_failure_message=connection_failure_message, + connection_infos=connection_infos, + connection_status=connection_status, + connector_type=connector_type, + display_name=display_name, + time_connection_status_last_updated=time_connection_status_last_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agent_id: str, + connection_failure_message: str, + connection_infos: Sequence['outputs.GetExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoResult'], + connection_status: str, + connector_type: str, + display_name: str, + time_connection_status_last_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("agent_id", agent_id) + _setter("connection_failure_message", connection_failure_message) + _setter("connection_infos", connection_infos) + _setter("connection_status", connection_status) + _setter("connector_type", connector_type) + _setter("display_name", display_name) + _setter("time_connection_status_last_updated", time_connection_status_last_updated) @property @pulumi.getter(name="agentId") @@ -11371,9 +13997,22 @@ def __init__(__self__, *, :param Sequence['GetExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionCredentialArgs'] connection_credentials: The credentials used to connect to the ASM instance. Currently only the `DETAILS` type is supported for creating MACS connector credentials. :param Sequence['GetExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionStringArgs'] connection_strings: The Oracle Database connection string. """ - pulumi.set(__self__, "component_type", component_type) - pulumi.set(__self__, "connection_credentials", connection_credentials) - pulumi.set(__self__, "connection_strings", connection_strings) + GetExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + component_type=component_type, + connection_credentials=connection_credentials, + connection_strings=connection_strings, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + component_type: str, + connection_credentials: Sequence['outputs.GetExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionCredentialResult'], + connection_strings: Sequence['outputs.GetExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionStringResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("component_type", component_type) + _setter("connection_credentials", connection_credentials) + _setter("connection_strings", connection_strings) @property @pulumi.getter(name="componentType") @@ -11417,12 +14056,31 @@ def __init__(__self__, *, :param str ssl_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. :param str user_name: The user name used to connect to the ASM instance. """ - pulumi.set(__self__, "credential_name", credential_name) - pulumi.set(__self__, "credential_type", credential_type) - pulumi.set(__self__, "password_secret_id", password_secret_id) - pulumi.set(__self__, "role", role) - pulumi.set(__self__, "ssl_secret_id", ssl_secret_id) - pulumi.set(__self__, "user_name", user_name) + GetExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionCredentialResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + credential_name=credential_name, + credential_type=credential_type, + password_secret_id=password_secret_id, + role=role, + ssl_secret_id=ssl_secret_id, + user_name=user_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + credential_name: str, + credential_type: str, + password_secret_id: str, + role: str, + ssl_secret_id: str, + user_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("credential_name", credential_name) + _setter("credential_type", credential_type) + _setter("password_secret_id", password_secret_id) + _setter("role", role) + _setter("ssl_secret_id", ssl_secret_id) + _setter("user_name", user_name) @property @pulumi.getter(name="credentialName") @@ -11488,11 +14146,28 @@ def __init__(__self__, *, :param str protocol: The protocol used to connect to the ASM instance. :param str service: The service name of the ASM instance. """ - pulumi.set(__self__, "host_name", host_name) - pulumi.set(__self__, "hosts", hosts) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "service", service) + GetExternalDbSystemDiscoveryDiscoveredComponentConnectorConnectionInfoConnectionStringResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + host_name=host_name, + hosts=hosts, + port=port, + protocol=protocol, + service=service, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host_name: str, + hosts: Sequence[str], + port: int, + protocol: str, + service: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("host_name", host_name) + _setter("hosts", hosts) + _setter("port", port) + _setter("protocol", protocol) + _setter("service", service) @property @pulumi.getter(name="hostName") @@ -11550,11 +14225,28 @@ def __init__(__self__, *, :param str protocol: The protocol used to connect to the ASM instance. :param Sequence[str] services: The list of services registered with the listener. """ - pulumi.set(__self__, "host", host) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "services", services) + GetExternalDbSystemDiscoveryDiscoveredComponentEndpointResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + host=host, + key=key, + port=port, + protocol=protocol, + services=services, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host: str, + key: str, + port: int, + protocol: str, + services: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("host", host) + _setter("key", key) + _setter("port", port) + _setter("protocol", protocol) + _setter("services", services) @property @pulumi.getter @@ -11608,9 +14300,22 @@ def __init__(__self__, *, :param str network_type: The network type. :param str subnet: The subnet for the network. """ - pulumi.set(__self__, "network_number", network_number) - pulumi.set(__self__, "network_type", network_type) - pulumi.set(__self__, "subnet", subnet) + GetExternalDbSystemDiscoveryDiscoveredComponentNetworkConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + network_number=network_number, + network_type=network_type, + subnet=subnet, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + network_number: int, + network_type: str, + subnet: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("network_number", network_number) + _setter("network_type", network_type) + _setter("subnet", subnet) @property @pulumi.getter(name="networkNumber") @@ -11650,10 +14355,25 @@ def __init__(__self__, *, :param str container_database_id: The unique identifier of the parent Container Database (CDB). :param str guid: The unique identifier of the PDB. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "connectors", connectors) - pulumi.set(__self__, "container_database_id", container_database_id) - pulumi.set(__self__, "guid", guid) + GetExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + connectors=connectors, + container_database_id=container_database_id, + guid=guid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + connectors: Sequence['outputs.GetExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorResult'], + container_database_id: str, + guid: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("connectors", connectors) + _setter("container_database_id", container_database_id) + _setter("guid", guid) @property @pulumi.getter(name="compartmentId") @@ -11707,13 +14427,34 @@ def __init__(__self__, *, :param str display_name: The user-friendly name for the DB system. The name does not have to be unique. :param str time_connection_status_last_updated: The date and time the connectionStatus of the external DB system connector was last updated. """ - pulumi.set(__self__, "agent_id", agent_id) - pulumi.set(__self__, "connection_failure_message", connection_failure_message) - pulumi.set(__self__, "connection_infos", connection_infos) - pulumi.set(__self__, "connection_status", connection_status) - pulumi.set(__self__, "connector_type", connector_type) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "time_connection_status_last_updated", time_connection_status_last_updated) + GetExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + agent_id=agent_id, + connection_failure_message=connection_failure_message, + connection_infos=connection_infos, + connection_status=connection_status, + connector_type=connector_type, + display_name=display_name, + time_connection_status_last_updated=time_connection_status_last_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agent_id: str, + connection_failure_message: str, + connection_infos: Sequence['outputs.GetExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoResult'], + connection_status: str, + connector_type: str, + display_name: str, + time_connection_status_last_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("agent_id", agent_id) + _setter("connection_failure_message", connection_failure_message) + _setter("connection_infos", connection_infos) + _setter("connection_status", connection_status) + _setter("connector_type", connector_type) + _setter("display_name", display_name) + _setter("time_connection_status_last_updated", time_connection_status_last_updated) @property @pulumi.getter(name="agentId") @@ -11783,9 +14524,22 @@ def __init__(__self__, *, :param Sequence['GetExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredentialArgs'] connection_credentials: The credentials used to connect to the ASM instance. Currently only the `DETAILS` type is supported for creating MACS connector credentials. :param Sequence['GetExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionStringArgs'] connection_strings: The Oracle Database connection string. """ - pulumi.set(__self__, "component_type", component_type) - pulumi.set(__self__, "connection_credentials", connection_credentials) - pulumi.set(__self__, "connection_strings", connection_strings) + GetExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + component_type=component_type, + connection_credentials=connection_credentials, + connection_strings=connection_strings, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + component_type: str, + connection_credentials: Sequence['outputs.GetExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredentialResult'], + connection_strings: Sequence['outputs.GetExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionStringResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("component_type", component_type) + _setter("connection_credentials", connection_credentials) + _setter("connection_strings", connection_strings) @property @pulumi.getter(name="componentType") @@ -11829,12 +14583,31 @@ def __init__(__self__, *, :param str ssl_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. :param str user_name: The user name used to connect to the ASM instance. """ - pulumi.set(__self__, "credential_name", credential_name) - pulumi.set(__self__, "credential_type", credential_type) - pulumi.set(__self__, "password_secret_id", password_secret_id) - pulumi.set(__self__, "role", role) - pulumi.set(__self__, "ssl_secret_id", ssl_secret_id) - pulumi.set(__self__, "user_name", user_name) + GetExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionCredentialResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + credential_name=credential_name, + credential_type=credential_type, + password_secret_id=password_secret_id, + role=role, + ssl_secret_id=ssl_secret_id, + user_name=user_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + credential_name: str, + credential_type: str, + password_secret_id: str, + role: str, + ssl_secret_id: str, + user_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("credential_name", credential_name) + _setter("credential_type", credential_type) + _setter("password_secret_id", password_secret_id) + _setter("role", role) + _setter("ssl_secret_id", ssl_secret_id) + _setter("user_name", user_name) @property @pulumi.getter(name="credentialName") @@ -11900,11 +14673,28 @@ def __init__(__self__, *, :param str protocol: The protocol used to connect to the ASM instance. :param str service: The service name of the ASM instance. """ - pulumi.set(__self__, "host_name", host_name) - pulumi.set(__self__, "hosts", hosts) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "service", service) + GetExternalDbSystemDiscoveryDiscoveredComponentPluggableDatabaseConnectorConnectionInfoConnectionStringResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + host_name=host_name, + hosts=hosts, + port=port, + protocol=protocol, + service=service, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host_name: str, + hosts: Sequence[str], + port: int, + protocol: str, + service: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("host_name", host_name) + _setter("hosts", hosts) + _setter("port", port) + _setter("protocol", protocol) + _setter("service", service) @property @pulumi.getter(name="hostName") @@ -11960,10 +14750,25 @@ def __init__(__self__, *, :param int scan_port: The port number of the SCAN listener. :param str scan_protocol: The protocol of the SCAN listener. """ - pulumi.set(__self__, "network_number", network_number) - pulumi.set(__self__, "scan_name", scan_name) - pulumi.set(__self__, "scan_port", scan_port) - pulumi.set(__self__, "scan_protocol", scan_protocol) + GetExternalDbSystemDiscoveryDiscoveredComponentScanConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + network_number=network_number, + scan_name=scan_name, + scan_port=scan_port, + scan_protocol=scan_protocol, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + network_number: int, + scan_name: str, + scan_port: int, + scan_protocol: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("network_number", network_number) + _setter("scan_name", scan_name) + _setter("scan_port", scan_port) + _setter("scan_protocol", scan_protocol) @property @pulumi.getter(name="networkNumber") @@ -12009,9 +14814,22 @@ def __init__(__self__, *, :param int network_number: The network number from which VIPs are obtained. :param str node_name: The name of the node with the VIP. """ - pulumi.set(__self__, "address", address) - pulumi.set(__self__, "network_number", network_number) - pulumi.set(__self__, "node_name", node_name) + GetExternalDbSystemDiscoveryDiscoveredComponentVipConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + address=address, + network_number=network_number, + node_name=node_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address: str, + network_number: int, + node_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("address", address) + _setter("network_number", network_number) + _setter("node_name", node_name) @property @pulumi.getter @@ -12044,9 +14862,22 @@ def __init__(__self__, *, operation: str, selection: str, values: Sequence['outputs.GetExternalDbSystemDiscoveryPatchOperationValueResult']): - pulumi.set(__self__, "operation", operation) - pulumi.set(__self__, "selection", selection) - pulumi.set(__self__, "values", values) + GetExternalDbSystemDiscoveryPatchOperationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + operation=operation, + selection=selection, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + operation: str, + selection: str, + values: Sequence['outputs.GetExternalDbSystemDiscoveryPatchOperationValueResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("operation", operation) + _setter("selection", selection) + _setter("values", values) @property @pulumi.getter @@ -12077,10 +14908,25 @@ def __init__(__self__, *, :param str display_name: The user-friendly name for the DB system. The name does not have to be unique. :param bool is_selected_for_monitoring: Indicates whether the DB system component should be provisioned as an Oracle Cloud Infrastructure resource or not. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "connectors", connectors) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "is_selected_for_monitoring", is_selected_for_monitoring) + GetExternalDbSystemDiscoveryPatchOperationValueResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + connectors=connectors, + display_name=display_name, + is_selected_for_monitoring=is_selected_for_monitoring, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + connectors: Sequence['outputs.GetExternalDbSystemDiscoveryPatchOperationValueConnectorResult'], + display_name: str, + is_selected_for_monitoring: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("connectors", connectors) + _setter("display_name", display_name) + _setter("is_selected_for_monitoring", is_selected_for_monitoring) @property @pulumi.getter(name="compartmentId") @@ -12128,10 +14974,25 @@ def __init__(__self__, *, :param str connector_type: The type of connector. :param str display_name: The user-friendly name for the DB system. The name does not have to be unique. """ - pulumi.set(__self__, "agent_id", agent_id) - pulumi.set(__self__, "connection_infos", connection_infos) - pulumi.set(__self__, "connector_type", connector_type) - pulumi.set(__self__, "display_name", display_name) + GetExternalDbSystemDiscoveryPatchOperationValueConnectorResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + agent_id=agent_id, + connection_infos=connection_infos, + connector_type=connector_type, + display_name=display_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agent_id: str, + connection_infos: Sequence['outputs.GetExternalDbSystemDiscoveryPatchOperationValueConnectorConnectionInfoResult'], + connector_type: str, + display_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("agent_id", agent_id) + _setter("connection_infos", connection_infos) + _setter("connector_type", connector_type) + _setter("display_name", display_name) @property @pulumi.getter(name="agentId") @@ -12177,9 +15038,22 @@ def __init__(__self__, *, :param Sequence['GetExternalDbSystemDiscoveryPatchOperationValueConnectorConnectionInfoConnectionCredentialArgs'] connection_credentials: The credentials used to connect to the ASM instance. Currently only the `DETAILS` type is supported for creating MACS connector credentials. :param Sequence['GetExternalDbSystemDiscoveryPatchOperationValueConnectorConnectionInfoConnectionStringArgs'] connection_strings: The Oracle Database connection string. """ - pulumi.set(__self__, "component_type", component_type) - pulumi.set(__self__, "connection_credentials", connection_credentials) - pulumi.set(__self__, "connection_strings", connection_strings) + GetExternalDbSystemDiscoveryPatchOperationValueConnectorConnectionInfoResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + component_type=component_type, + connection_credentials=connection_credentials, + connection_strings=connection_strings, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + component_type: str, + connection_credentials: Sequence['outputs.GetExternalDbSystemDiscoveryPatchOperationValueConnectorConnectionInfoConnectionCredentialResult'], + connection_strings: Sequence['outputs.GetExternalDbSystemDiscoveryPatchOperationValueConnectorConnectionInfoConnectionStringResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("component_type", component_type) + _setter("connection_credentials", connection_credentials) + _setter("connection_strings", connection_strings) @property @pulumi.getter(name="componentType") @@ -12223,12 +15097,31 @@ def __init__(__self__, *, :param str ssl_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the SSL keystore and truststore details. :param str user_name: The user name used to connect to the ASM instance. """ - pulumi.set(__self__, "credential_name", credential_name) - pulumi.set(__self__, "credential_type", credential_type) - pulumi.set(__self__, "password_secret_id", password_secret_id) - pulumi.set(__self__, "role", role) - pulumi.set(__self__, "ssl_secret_id", ssl_secret_id) - pulumi.set(__self__, "user_name", user_name) + GetExternalDbSystemDiscoveryPatchOperationValueConnectorConnectionInfoConnectionCredentialResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + credential_name=credential_name, + credential_type=credential_type, + password_secret_id=password_secret_id, + role=role, + ssl_secret_id=ssl_secret_id, + user_name=user_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + credential_name: str, + credential_type: str, + password_secret_id: str, + role: str, + ssl_secret_id: str, + user_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("credential_name", credential_name) + _setter("credential_type", credential_type) + _setter("password_secret_id", password_secret_id) + _setter("role", role) + _setter("ssl_secret_id", ssl_secret_id) + _setter("user_name", user_name) @property @pulumi.getter(name="credentialName") @@ -12294,11 +15187,28 @@ def __init__(__self__, *, :param str protocol: The protocol used to connect to the ASM instance. :param str service: The service name of the ASM instance. """ - pulumi.set(__self__, "host_name", host_name) - pulumi.set(__self__, "hosts", hosts) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "service", service) + GetExternalDbSystemDiscoveryPatchOperationValueConnectorConnectionInfoConnectionStringResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + host_name=host_name, + hosts=hosts, + port=port, + protocol=protocol, + service=service, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host_name: str, + hosts: Sequence[str], + port: int, + protocol: str, + service: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("host_name", host_name) + _setter("hosts", hosts) + _setter("port", port) + _setter("protocol", protocol) + _setter("service", service) @property @pulumi.getter(name="hostName") @@ -12350,8 +15260,19 @@ def __init__(__self__, *, :param bool is_enabled: The status of the associated service. :param str metadata: The associated service-specific inputs in JSON string format, which Database Management can identify. """ - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "metadata", metadata) + GetExternalDbSystemStackMonitoringConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + metadata=metadata, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: bool, + metadata: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_enabled", is_enabled) + _setter("metadata", metadata) @property @pulumi.getter(name="isEnabled") @@ -12374,7 +15295,16 @@ def metadata(self) -> str: class GetExternalDbSystemsExternalDbSystemCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetExternalDbSystemsExternalDbSystemCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetExternalDbSystemsExternalDbSystemCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetExternalDbSystemsExternalDbSystemCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -12413,19 +15343,52 @@ def __init__(__self__, *, :param str time_created: The date and time the external DB system was created. :param str time_updated: The date and time the external DB system was last updated. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "database_management_configs", database_management_configs) - pulumi.set(__self__, "db_system_discovery_id", db_system_discovery_id) - pulumi.set(__self__, "discovery_agent_id", discovery_agent_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "home_directory", home_directory) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_cluster", is_cluster) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "stack_monitoring_configs", stack_monitoring_configs) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetExternalDbSystemsExternalDbSystemCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + database_management_configs=database_management_configs, + db_system_discovery_id=db_system_discovery_id, + discovery_agent_id=discovery_agent_id, + display_name=display_name, + home_directory=home_directory, + id=id, + is_cluster=is_cluster, + lifecycle_details=lifecycle_details, + stack_monitoring_configs=stack_monitoring_configs, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + database_management_configs: Sequence['outputs.GetExternalDbSystemsExternalDbSystemCollectionItemDatabaseManagementConfigResult'], + db_system_discovery_id: str, + discovery_agent_id: str, + display_name: str, + home_directory: str, + id: str, + is_cluster: bool, + lifecycle_details: str, + stack_monitoring_configs: Sequence['outputs.GetExternalDbSystemsExternalDbSystemCollectionItemStackMonitoringConfigResult'], + state: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("database_management_configs", database_management_configs) + _setter("db_system_discovery_id", db_system_discovery_id) + _setter("discovery_agent_id", discovery_agent_id) + _setter("display_name", display_name) + _setter("home_directory", home_directory) + _setter("id", id) + _setter("is_cluster", is_cluster) + _setter("lifecycle_details", lifecycle_details) + _setter("stack_monitoring_configs", stack_monitoring_configs) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -12539,7 +15502,16 @@ def __init__(__self__, *, """ :param str license_model: The Oracle license model that applies to the external database. """ - pulumi.set(__self__, "license_model", license_model) + GetExternalDbSystemsExternalDbSystemCollectionItemDatabaseManagementConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + license_model=license_model, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + license_model: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("license_model", license_model) @property @pulumi.getter(name="licenseModel") @@ -12559,8 +15531,19 @@ def __init__(__self__, *, :param bool is_enabled: The status of the associated service. :param str metadata: The associated service-specific inputs in JSON string format, which Database Management can identify. """ - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "metadata", metadata) + GetExternalDbSystemsExternalDbSystemCollectionItemStackMonitoringConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + metadata=metadata, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: bool, + metadata: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_enabled", is_enabled) + _setter("metadata", metadata) @property @pulumi.getter(name="isEnabled") @@ -12585,10 +15568,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetExternalDbSystemsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -12635,18 +15631,49 @@ def __init__(__self__, *, :param str time_updated: The timestamp of the last update of the Exadata resource. :param str version: The version of the Exadata resource. """ - pulumi.set(__self__, "additional_details", additional_details) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "internal_id", internal_id) - pulumi.set(__self__, "license_model", license_model) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "version", version) + GetExternalExadataInfrastructureDatabaseSystemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + additional_details=additional_details, + compartment_id=compartment_id, + display_name=display_name, + id=id, + internal_id=internal_id, + license_model=license_model, + lifecycle_details=lifecycle_details, + state=state, + status=status, + time_created=time_created, + time_updated=time_updated, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + additional_details: Mapping[str, Any], + compartment_id: str, + display_name: str, + id: str, + internal_id: str, + license_model: str, + lifecycle_details: str, + state: str, + status: str, + time_created: str, + time_updated: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("additional_details", additional_details) + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) + _setter("id", id) + _setter("internal_id", internal_id) + _setter("license_model", license_model) + _setter("lifecycle_details", lifecycle_details) + _setter("state", state) + _setter("status", status) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("version", version) @property @pulumi.getter(name="additionalDetails") @@ -12772,17 +15799,46 @@ def __init__(__self__, *, :param str time_updated: The timestamp of the last update of the Exadata resource. :param str version: The version of the Exadata resource. """ - pulumi.set(__self__, "additional_details", additional_details) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "internal_id", internal_id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "server_count", server_count) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "version", version) + GetExternalExadataInfrastructureStorageGridResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + additional_details=additional_details, + display_name=display_name, + id=id, + internal_id=internal_id, + lifecycle_details=lifecycle_details, + server_count=server_count, + state=state, + status=status, + time_created=time_created, + time_updated=time_updated, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + additional_details: Mapping[str, Any], + display_name: str, + id: str, + internal_id: str, + lifecycle_details: str, + server_count: float, + state: str, + status: str, + time_created: str, + time_updated: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("additional_details", additional_details) + _setter("display_name", display_name) + _setter("id", id) + _setter("internal_id", internal_id) + _setter("lifecycle_details", lifecycle_details) + _setter("server_count", server_count) + _setter("state", state) + _setter("status", status) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("version", version) @property @pulumi.getter(name="additionalDetails") @@ -12877,7 +15933,16 @@ def version(self) -> str: class GetExternalExadataInfrastructuresExternalExadataInfrastructureCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetExternalExadataInfrastructuresExternalExadataInfrastructureCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetExternalExadataInfrastructuresExternalExadataInfrastructureCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetExternalExadataInfrastructuresExternalExadataInfrastructureCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -12925,25 +15990,70 @@ def __init__(__self__, *, :param str time_updated: The timestamp of the last update of the Exadata resource. :param str version: The version of the Exadata resource. """ - pulumi.set(__self__, "additional_details", additional_details) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "database_compartments", database_compartments) - pulumi.set(__self__, "database_systems", database_systems) - pulumi.set(__self__, "db_system_ids", db_system_ids) - pulumi.set(__self__, "discovery_key", discovery_key) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "internal_id", internal_id) - pulumi.set(__self__, "license_model", license_model) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "rack_size", rack_size) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "storage_grids", storage_grids) - pulumi.set(__self__, "storage_server_names", storage_server_names) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "version", version) + GetExternalExadataInfrastructuresExternalExadataInfrastructureCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + additional_details=additional_details, + compartment_id=compartment_id, + database_compartments=database_compartments, + database_systems=database_systems, + db_system_ids=db_system_ids, + discovery_key=discovery_key, + display_name=display_name, + id=id, + internal_id=internal_id, + license_model=license_model, + lifecycle_details=lifecycle_details, + rack_size=rack_size, + state=state, + status=status, + storage_grids=storage_grids, + storage_server_names=storage_server_names, + time_created=time_created, + time_updated=time_updated, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + additional_details: Mapping[str, Any], + compartment_id: str, + database_compartments: Sequence[str], + database_systems: Sequence['outputs.GetExternalExadataInfrastructuresExternalExadataInfrastructureCollectionItemDatabaseSystemResult'], + db_system_ids: Sequence[str], + discovery_key: str, + display_name: str, + id: str, + internal_id: str, + license_model: str, + lifecycle_details: str, + rack_size: str, + state: str, + status: str, + storage_grids: Sequence['outputs.GetExternalExadataInfrastructuresExternalExadataInfrastructureCollectionItemStorageGridResult'], + storage_server_names: Sequence[str], + time_created: str, + time_updated: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("additional_details", additional_details) + _setter("compartment_id", compartment_id) + _setter("database_compartments", database_compartments) + _setter("database_systems", database_systems) + _setter("db_system_ids", db_system_ids) + _setter("discovery_key", discovery_key) + _setter("display_name", display_name) + _setter("id", id) + _setter("internal_id", internal_id) + _setter("license_model", license_model) + _setter("lifecycle_details", lifecycle_details) + _setter("rack_size", rack_size) + _setter("state", state) + _setter("status", status) + _setter("storage_grids", storage_grids) + _setter("storage_server_names", storage_server_names) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("version", version) @property @pulumi.getter(name="additionalDetails") @@ -13118,18 +16228,49 @@ def __init__(__self__, *, :param str time_updated: The timestamp of the last update of the Exadata resource. :param str version: The version of the Exadata resource. """ - pulumi.set(__self__, "additional_details", additional_details) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "internal_id", internal_id) - pulumi.set(__self__, "license_model", license_model) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "version", version) + GetExternalExadataInfrastructuresExternalExadataInfrastructureCollectionItemDatabaseSystemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + additional_details=additional_details, + compartment_id=compartment_id, + display_name=display_name, + id=id, + internal_id=internal_id, + license_model=license_model, + lifecycle_details=lifecycle_details, + state=state, + status=status, + time_created=time_created, + time_updated=time_updated, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + additional_details: Mapping[str, Any], + compartment_id: str, + display_name: str, + id: str, + internal_id: str, + license_model: str, + lifecycle_details: str, + state: str, + status: str, + time_created: str, + time_updated: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("additional_details", additional_details) + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) + _setter("id", id) + _setter("internal_id", internal_id) + _setter("license_model", license_model) + _setter("lifecycle_details", lifecycle_details) + _setter("state", state) + _setter("status", status) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("version", version) @property @pulumi.getter(name="additionalDetails") @@ -13255,17 +16396,46 @@ def __init__(__self__, *, :param str time_updated: The timestamp of the last update of the Exadata resource. :param str version: The version of the Exadata resource. """ - pulumi.set(__self__, "additional_details", additional_details) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "internal_id", internal_id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "server_count", server_count) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "version", version) + GetExternalExadataInfrastructuresExternalExadataInfrastructureCollectionItemStorageGridResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + additional_details=additional_details, + display_name=display_name, + id=id, + internal_id=internal_id, + lifecycle_details=lifecycle_details, + server_count=server_count, + state=state, + status=status, + time_created=time_created, + time_updated=time_updated, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + additional_details: Mapping[str, Any], + display_name: str, + id: str, + internal_id: str, + lifecycle_details: str, + server_count: float, + state: str, + status: str, + time_created: str, + time_updated: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("additional_details", additional_details) + _setter("display_name", display_name) + _setter("id", id) + _setter("internal_id", internal_id) + _setter("lifecycle_details", lifecycle_details) + _setter("server_count", server_count) + _setter("state", state) + _setter("status", status) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("version", version) @property @pulumi.getter(name="additionalDetails") @@ -13362,10 +16532,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetExternalExadataInfrastructuresFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -13391,11 +16574,28 @@ def __init__(__self__, *, ssl_trust_store_password: str, ssl_trust_store_type: str, username: str): - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "ssl_trust_store_location", ssl_trust_store_location) - pulumi.set(__self__, "ssl_trust_store_password", ssl_trust_store_password) - pulumi.set(__self__, "ssl_trust_store_type", ssl_trust_store_type) - pulumi.set(__self__, "username", username) + GetExternalExadataStorageConnectorCredentialInfoResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + password=password, + ssl_trust_store_location=ssl_trust_store_location, + ssl_trust_store_password=ssl_trust_store_password, + ssl_trust_store_type=ssl_trust_store_type, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + password: str, + ssl_trust_store_location: str, + ssl_trust_store_password: str, + ssl_trust_store_type: str, + username: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("password", password) + _setter("ssl_trust_store_location", ssl_trust_store_location) + _setter("ssl_trust_store_password", ssl_trust_store_password) + _setter("ssl_trust_store_type", ssl_trust_store_type) + _setter("username", username) @property @pulumi.getter @@ -13427,7 +16627,16 @@ def username(self) -> str: class GetExternalExadataStorageConnectorsExternalExadataStorageConnectorCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetExternalExadataStorageConnectorsExternalExadataStorageConnectorCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetExternalExadataStorageConnectorsExternalExadataStorageConnectorCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetExternalExadataStorageConnectorsExternalExadataStorageConnectorCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -13470,22 +16679,61 @@ def __init__(__self__, *, :param str time_updated: The timestamp of the last update of the Exadata resource. :param str version: The version of the Exadata resource. """ - pulumi.set(__self__, "additional_details", additional_details) - pulumi.set(__self__, "agent_id", agent_id) - pulumi.set(__self__, "connection_uri", connection_uri) - pulumi.set(__self__, "connector_name", connector_name) - pulumi.set(__self__, "credential_infos", credential_infos) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "exadata_infrastructure_id", exadata_infrastructure_id) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "internal_id", internal_id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "storage_server_id", storage_server_id) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "version", version) + GetExternalExadataStorageConnectorsExternalExadataStorageConnectorCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + additional_details=additional_details, + agent_id=agent_id, + connection_uri=connection_uri, + connector_name=connector_name, + credential_infos=credential_infos, + display_name=display_name, + exadata_infrastructure_id=exadata_infrastructure_id, + id=id, + internal_id=internal_id, + lifecycle_details=lifecycle_details, + state=state, + status=status, + storage_server_id=storage_server_id, + time_created=time_created, + time_updated=time_updated, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + additional_details: Mapping[str, Any], + agent_id: str, + connection_uri: str, + connector_name: str, + credential_infos: Sequence['outputs.GetExternalExadataStorageConnectorsExternalExadataStorageConnectorCollectionItemCredentialInfoResult'], + display_name: str, + exadata_infrastructure_id: str, + id: str, + internal_id: str, + lifecycle_details: str, + state: str, + status: str, + storage_server_id: str, + time_created: str, + time_updated: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("additional_details", additional_details) + _setter("agent_id", agent_id) + _setter("connection_uri", connection_uri) + _setter("connector_name", connector_name) + _setter("credential_infos", credential_infos) + _setter("display_name", display_name) + _setter("exadata_infrastructure_id", exadata_infrastructure_id) + _setter("id", id) + _setter("internal_id", internal_id) + _setter("lifecycle_details", lifecycle_details) + _setter("state", state) + _setter("status", status) + _setter("storage_server_id", storage_server_id) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("version", version) @property @pulumi.getter(name="additionalDetails") @@ -13618,11 +16866,28 @@ def __init__(__self__, *, ssl_trust_store_password: str, ssl_trust_store_type: str, username: str): - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "ssl_trust_store_location", ssl_trust_store_location) - pulumi.set(__self__, "ssl_trust_store_password", ssl_trust_store_password) - pulumi.set(__self__, "ssl_trust_store_type", ssl_trust_store_type) - pulumi.set(__self__, "username", username) + GetExternalExadataStorageConnectorsExternalExadataStorageConnectorCollectionItemCredentialInfoResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + password=password, + ssl_trust_store_location=ssl_trust_store_location, + ssl_trust_store_password=ssl_trust_store_password, + ssl_trust_store_type=ssl_trust_store_type, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + password: str, + ssl_trust_store_location: str, + ssl_trust_store_password: str, + ssl_trust_store_type: str, + username: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("password", password) + _setter("ssl_trust_store_location", ssl_trust_store_location) + _setter("ssl_trust_store_password", ssl_trust_store_password) + _setter("ssl_trust_store_type", ssl_trust_store_type) + _setter("username", username) @property @pulumi.getter @@ -13656,10 +16921,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetExternalExadataStorageConnectorsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -13722,26 +17000,73 @@ def __init__(__self__, *, :param str time_updated: The timestamp of the last update of the Exadata resource. :param str version: The version of the Exadata resource. """ - pulumi.set(__self__, "additional_details", additional_details) - pulumi.set(__self__, "connector_id", connector_id) - pulumi.set(__self__, "cpu_count", cpu_count) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "internal_id", internal_id) - pulumi.set(__self__, "ip_address", ip_address) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "make_model", make_model) - pulumi.set(__self__, "max_flash_disk_iops", max_flash_disk_iops) - pulumi.set(__self__, "max_flash_disk_throughput", max_flash_disk_throughput) - pulumi.set(__self__, "max_hard_disk_iops", max_hard_disk_iops) - pulumi.set(__self__, "max_hard_disk_throughput", max_hard_disk_throughput) - pulumi.set(__self__, "memory_gb", memory_gb) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "version", version) + GetExternalExadataStorageGridStorageServerResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + additional_details=additional_details, + connector_id=connector_id, + cpu_count=cpu_count, + display_name=display_name, + id=id, + internal_id=internal_id, + ip_address=ip_address, + lifecycle_details=lifecycle_details, + make_model=make_model, + max_flash_disk_iops=max_flash_disk_iops, + max_flash_disk_throughput=max_flash_disk_throughput, + max_hard_disk_iops=max_hard_disk_iops, + max_hard_disk_throughput=max_hard_disk_throughput, + memory_gb=memory_gb, + resource_type=resource_type, + state=state, + status=status, + time_created=time_created, + time_updated=time_updated, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + additional_details: Mapping[str, Any], + connector_id: str, + cpu_count: float, + display_name: str, + id: str, + internal_id: str, + ip_address: str, + lifecycle_details: str, + make_model: str, + max_flash_disk_iops: int, + max_flash_disk_throughput: int, + max_hard_disk_iops: int, + max_hard_disk_throughput: int, + memory_gb: float, + resource_type: str, + state: str, + status: str, + time_created: str, + time_updated: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("additional_details", additional_details) + _setter("connector_id", connector_id) + _setter("cpu_count", cpu_count) + _setter("display_name", display_name) + _setter("id", id) + _setter("internal_id", internal_id) + _setter("ip_address", ip_address) + _setter("lifecycle_details", lifecycle_details) + _setter("make_model", make_model) + _setter("max_flash_disk_iops", max_flash_disk_iops) + _setter("max_flash_disk_throughput", max_flash_disk_throughput) + _setter("max_hard_disk_iops", max_hard_disk_iops) + _setter("max_hard_disk_throughput", max_hard_disk_throughput) + _setter("memory_gb", memory_gb) + _setter("resource_type", resource_type) + _setter("state", state) + _setter("status", status) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("version", version) @property @pulumi.getter(name="additionalDetails") @@ -13937,20 +17262,55 @@ def __init__(__self__, *, :param str time_updated: The timestamp of the last update of the Exadata resource. :param str version: The version of the Exadata resource. """ - pulumi.set(__self__, "additional_details", additional_details) - pulumi.set(__self__, "agent_id", agent_id) - pulumi.set(__self__, "connection_uri", connection_uri) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "internal_id", internal_id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "storage_server_id", storage_server_id) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "version", version) + GetExternalExadataStorageServerConnectorResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + additional_details=additional_details, + agent_id=agent_id, + connection_uri=connection_uri, + display_name=display_name, + id=id, + internal_id=internal_id, + lifecycle_details=lifecycle_details, + resource_type=resource_type, + state=state, + status=status, + storage_server_id=storage_server_id, + time_created=time_created, + time_updated=time_updated, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + additional_details: Mapping[str, Any], + agent_id: str, + connection_uri: str, + display_name: str, + id: str, + internal_id: str, + lifecycle_details: str, + resource_type: str, + state: str, + status: str, + storage_server_id: str, + time_created: str, + time_updated: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("additional_details", additional_details) + _setter("agent_id", agent_id) + _setter("connection_uri", connection_uri) + _setter("display_name", display_name) + _setter("id", id) + _setter("internal_id", internal_id) + _setter("lifecycle_details", lifecycle_details) + _setter("resource_type", resource_type) + _setter("state", state) + _setter("status", status) + _setter("storage_server_id", storage_server_id) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("version", version) @property @pulumi.getter(name="additionalDetails") @@ -14072,7 +17432,16 @@ def __init__(__self__, *, """ :param Sequence['GetExternalExadataStorageServerIormPlanDbPlanItemArgs'] items: A list of DatabasePlanDirectives. """ - pulumi.set(__self__, "items", items) + GetExternalExadataStorageServerIormPlanDbPlanResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetExternalExadataStorageServerIormPlanDbPlanItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -14125,24 +17494,67 @@ def __init__(__self__, *, * type=database: Specifies a directive that applies to a specific database. If type in not specified, then the directive defaults to the database type. * type=profile: Specifies a directive that applies to a profile rather than a specific database. """ - pulumi.set(__self__, "allocation", allocation) - pulumi.set(__self__, "asm_cluster", asm_cluster) - pulumi.set(__self__, "flash_cache_limit", flash_cache_limit) - pulumi.set(__self__, "flash_cache_min", flash_cache_min) - pulumi.set(__self__, "flash_cache_size", flash_cache_size) - pulumi.set(__self__, "is_flash_cache_on", is_flash_cache_on) - pulumi.set(__self__, "is_flash_log_on", is_flash_log_on) - pulumi.set(__self__, "is_pmem_cache_on", is_pmem_cache_on) - pulumi.set(__self__, "is_pmem_log_on", is_pmem_log_on) - pulumi.set(__self__, "level", level) - pulumi.set(__self__, "limit", limit) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "pmem_cache_limit", pmem_cache_limit) - pulumi.set(__self__, "pmem_cache_min", pmem_cache_min) - pulumi.set(__self__, "pmem_cache_size", pmem_cache_size) - pulumi.set(__self__, "role", role) - pulumi.set(__self__, "share", share) - pulumi.set(__self__, "type", type) + GetExternalExadataStorageServerIormPlanDbPlanItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allocation=allocation, + asm_cluster=asm_cluster, + flash_cache_limit=flash_cache_limit, + flash_cache_min=flash_cache_min, + flash_cache_size=flash_cache_size, + is_flash_cache_on=is_flash_cache_on, + is_flash_log_on=is_flash_log_on, + is_pmem_cache_on=is_pmem_cache_on, + is_pmem_log_on=is_pmem_log_on, + level=level, + limit=limit, + name=name, + pmem_cache_limit=pmem_cache_limit, + pmem_cache_min=pmem_cache_min, + pmem_cache_size=pmem_cache_size, + role=role, + share=share, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allocation: int, + asm_cluster: str, + flash_cache_limit: str, + flash_cache_min: str, + flash_cache_size: str, + is_flash_cache_on: bool, + is_flash_log_on: bool, + is_pmem_cache_on: bool, + is_pmem_log_on: bool, + level: int, + limit: int, + name: str, + pmem_cache_limit: str, + pmem_cache_min: str, + pmem_cache_size: str, + role: str, + share: int, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allocation", allocation) + _setter("asm_cluster", asm_cluster) + _setter("flash_cache_limit", flash_cache_limit) + _setter("flash_cache_min", flash_cache_min) + _setter("flash_cache_size", flash_cache_size) + _setter("is_flash_cache_on", is_flash_cache_on) + _setter("is_flash_log_on", is_flash_log_on) + _setter("is_pmem_cache_on", is_pmem_cache_on) + _setter("is_pmem_log_on", is_pmem_log_on) + _setter("level", level) + _setter("limit", limit) + _setter("name", name) + _setter("pmem_cache_limit", pmem_cache_limit) + _setter("pmem_cache_min", pmem_cache_min) + _setter("pmem_cache_size", pmem_cache_size) + _setter("role", role) + _setter("share", share) + _setter("type", type) @property @pulumi.getter @@ -14301,10 +17713,25 @@ def __init__(__self__, *, :param str time_start_at: The start time of the alert. :param str type: The type of alert. """ - pulumi.set(__self__, "message", message) - pulumi.set(__self__, "severity", severity) - pulumi.set(__self__, "time_start_at", time_start_at) - pulumi.set(__self__, "type", type) + GetExternalExadataStorageServerOpenAlertHistoryAlertResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + message=message, + severity=severity, + time_start_at=time_start_at, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + message: str, + severity: str, + time_start_at: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("message", message) + _setter("severity", severity) + _setter("time_start_at", time_start_at) + _setter("type", type) @property @pulumi.getter @@ -14350,9 +17777,22 @@ def __init__(__self__, *, :param str database_name: The database name. :param str sql_id: The SQL ID. """ - pulumi.set(__self__, "cpu_activity", cpu_activity) - pulumi.set(__self__, "database_name", database_name) - pulumi.set(__self__, "sql_id", sql_id) + GetExternalExadataStorageServerTopSqlCpuActivityActivityResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cpu_activity=cpu_activity, + database_name=database_name, + sql_id=sql_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cpu_activity: float, + database_name: str, + sql_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cpu_activity", cpu_activity) + _setter("database_name", database_name) + _setter("sql_id", sql_id) @property @pulumi.getter(name="cpuActivity") @@ -14383,7 +17823,16 @@ def sql_id(self) -> str: class GetExternalExadataStorageServersExternalExadataStorageServerCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetExternalExadataStorageServersExternalExadataStorageServerCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetExternalExadataStorageServersExternalExadataStorageServerCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetExternalExadataStorageServersExternalExadataStorageServerCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -14439,28 +17888,79 @@ def __init__(__self__, *, :param str time_updated: The timestamp of the last update of the Exadata resource. :param str version: The version of the Exadata resource. """ - pulumi.set(__self__, "additional_details", additional_details) - pulumi.set(__self__, "connector_id", connector_id) - pulumi.set(__self__, "cpu_count", cpu_count) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "exadata_infrastructure_id", exadata_infrastructure_id) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "internal_id", internal_id) - pulumi.set(__self__, "ip_address", ip_address) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "make_model", make_model) - pulumi.set(__self__, "max_flash_disk_iops", max_flash_disk_iops) - pulumi.set(__self__, "max_flash_disk_throughput", max_flash_disk_throughput) - pulumi.set(__self__, "max_hard_disk_iops", max_hard_disk_iops) - pulumi.set(__self__, "max_hard_disk_throughput", max_hard_disk_throughput) - pulumi.set(__self__, "memory_gb", memory_gb) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "storage_grid_id", storage_grid_id) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "version", version) + GetExternalExadataStorageServersExternalExadataStorageServerCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + additional_details=additional_details, + connector_id=connector_id, + cpu_count=cpu_count, + display_name=display_name, + exadata_infrastructure_id=exadata_infrastructure_id, + id=id, + internal_id=internal_id, + ip_address=ip_address, + lifecycle_details=lifecycle_details, + make_model=make_model, + max_flash_disk_iops=max_flash_disk_iops, + max_flash_disk_throughput=max_flash_disk_throughput, + max_hard_disk_iops=max_hard_disk_iops, + max_hard_disk_throughput=max_hard_disk_throughput, + memory_gb=memory_gb, + resource_type=resource_type, + state=state, + status=status, + storage_grid_id=storage_grid_id, + time_created=time_created, + time_updated=time_updated, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + additional_details: Mapping[str, Any], + connector_id: str, + cpu_count: float, + display_name: str, + exadata_infrastructure_id: str, + id: str, + internal_id: str, + ip_address: str, + lifecycle_details: str, + make_model: str, + max_flash_disk_iops: int, + max_flash_disk_throughput: int, + max_hard_disk_iops: int, + max_hard_disk_throughput: int, + memory_gb: float, + resource_type: str, + state: str, + status: str, + storage_grid_id: str, + time_created: str, + time_updated: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("additional_details", additional_details) + _setter("connector_id", connector_id) + _setter("cpu_count", cpu_count) + _setter("display_name", display_name) + _setter("exadata_infrastructure_id", exadata_infrastructure_id) + _setter("id", id) + _setter("internal_id", internal_id) + _setter("ip_address", ip_address) + _setter("lifecycle_details", lifecycle_details) + _setter("make_model", make_model) + _setter("max_flash_disk_iops", max_flash_disk_iops) + _setter("max_flash_disk_throughput", max_flash_disk_throughput) + _setter("max_hard_disk_iops", max_hard_disk_iops) + _setter("max_hard_disk_throughput", max_hard_disk_throughput) + _setter("memory_gb", memory_gb) + _setter("resource_type", resource_type) + _setter("state", state) + _setter("status", status) + _setter("storage_grid_id", storage_grid_id) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("version", version) @property @pulumi.getter(name="additionalDetails") @@ -14642,10 +18142,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetExternalExadataStorageServersFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -14678,11 +18191,28 @@ def __init__(__self__, *, :param str protocol: The listener protocol. :param Sequence[str] services: The list of services registered with the listener. """ - pulumi.set(__self__, "host", host) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "services", services) + GetExternalListenerEndpointResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + host=host, + key=key, + port=port, + protocol=protocol, + services=services, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host: str, + key: str, + port: int, + protocol: str, + services: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("host", host) + _setter("key", key) + _setter("port", port) + _setter("protocol", protocol) + _setter("services", services) @property @pulumi.getter @@ -14736,9 +18266,22 @@ def __init__(__self__, *, :param str display_name: The user-friendly name for the database. The name does not have to be unique. :param str id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "id", id) + GetExternalListenerServicedAsmResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + display_name: str, + id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) + _setter("id", id) @property @pulumi.getter(name="compartmentId") @@ -14784,13 +18327,34 @@ def __init__(__self__, *, :param str id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database. :param bool is_managed: Indicates whether the database is a Managed Database or not. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "database_sub_type", database_sub_type) - pulumi.set(__self__, "database_type", database_type) - pulumi.set(__self__, "db_unique_name", db_unique_name) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_managed", is_managed) + GetExternalListenerServicedDatabaseResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + database_sub_type=database_sub_type, + database_type=database_type, + db_unique_name=db_unique_name, + display_name=display_name, + id=id, + is_managed=is_managed, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + database_sub_type: str, + database_type: str, + db_unique_name: str, + display_name: str, + id: str, + is_managed: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("database_sub_type", database_sub_type) + _setter("database_type", database_type) + _setter("db_unique_name", db_unique_name) + _setter("display_name", display_name) + _setter("id", id) + _setter("is_managed", is_managed) @property @pulumi.getter(name="compartmentId") @@ -14856,7 +18420,16 @@ def __init__(__self__, *, """ :param Sequence['GetExternalListenerServicesExternalListenerServiceCollectionItemArgs'] items: An array of external listener services. """ - pulumi.set(__self__, "items", items) + GetExternalListenerServicesExternalListenerServiceCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetExternalListenerServicesExternalListenerServiceCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -14878,9 +18451,22 @@ def __init__(__self__, *, :param str managed_database_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Managed Database. :param str name: The name of the service. """ - pulumi.set(__self__, "listener_id", listener_id) - pulumi.set(__self__, "managed_database_id", managed_database_id) - pulumi.set(__self__, "name", name) + GetExternalListenerServicesExternalListenerServiceCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + listener_id=listener_id, + managed_database_id=managed_database_id, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + listener_id: str, + managed_database_id: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("listener_id", listener_id) + _setter("managed_database_id", managed_database_id) + _setter("name", name) @property @pulumi.getter(name="listenerId") @@ -14916,10 +18502,23 @@ def __init__(__self__, *, """ :param str name: The name of the service. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetExternalListenerServicesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -14944,7 +18543,16 @@ def regex(self) -> Optional[bool]: class GetExternalListenersExternalListenerCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetExternalListenersExternalListenerCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetExternalListenersExternalListenerCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetExternalListenersExternalListenerCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -15008,32 +18616,91 @@ def __init__(__self__, *, :param str trace_directory: The destination directory of the listener trace file. :param str version: The listener version. """ - pulumi.set(__self__, "additional_details", additional_details) - pulumi.set(__self__, "adr_home_directory", adr_home_directory) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "component_name", component_name) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "endpoints", endpoints) - pulumi.set(__self__, "external_connector_id", external_connector_id) - pulumi.set(__self__, "external_db_home_id", external_db_home_id) - pulumi.set(__self__, "external_db_node_id", external_db_node_id) - pulumi.set(__self__, "external_db_system_id", external_db_system_id) - pulumi.set(__self__, "external_listener_id", external_listener_id) - pulumi.set(__self__, "host_name", host_name) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "listener_alias", listener_alias) - pulumi.set(__self__, "listener_ora_location", listener_ora_location) - pulumi.set(__self__, "listener_type", listener_type) - pulumi.set(__self__, "log_directory", log_directory) - pulumi.set(__self__, "oracle_home", oracle_home) - pulumi.set(__self__, "serviced_asms", serviced_asms) - pulumi.set(__self__, "serviced_databases", serviced_databases) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "trace_directory", trace_directory) - pulumi.set(__self__, "version", version) + GetExternalListenersExternalListenerCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + additional_details=additional_details, + adr_home_directory=adr_home_directory, + compartment_id=compartment_id, + component_name=component_name, + display_name=display_name, + endpoints=endpoints, + external_connector_id=external_connector_id, + external_db_home_id=external_db_home_id, + external_db_node_id=external_db_node_id, + external_db_system_id=external_db_system_id, + external_listener_id=external_listener_id, + host_name=host_name, + id=id, + lifecycle_details=lifecycle_details, + listener_alias=listener_alias, + listener_ora_location=listener_ora_location, + listener_type=listener_type, + log_directory=log_directory, + oracle_home=oracle_home, + serviced_asms=serviced_asms, + serviced_databases=serviced_databases, + state=state, + time_created=time_created, + time_updated=time_updated, + trace_directory=trace_directory, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + additional_details: Mapping[str, Any], + adr_home_directory: str, + compartment_id: str, + component_name: str, + display_name: str, + endpoints: Sequence['outputs.GetExternalListenersExternalListenerCollectionItemEndpointResult'], + external_connector_id: str, + external_db_home_id: str, + external_db_node_id: str, + external_db_system_id: str, + external_listener_id: str, + host_name: str, + id: str, + lifecycle_details: str, + listener_alias: str, + listener_ora_location: str, + listener_type: str, + log_directory: str, + oracle_home: str, + serviced_asms: Sequence['outputs.GetExternalListenersExternalListenerCollectionItemServicedAsmResult'], + serviced_databases: Sequence['outputs.GetExternalListenersExternalListenerCollectionItemServicedDatabaseResult'], + state: str, + time_created: str, + time_updated: str, + trace_directory: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("additional_details", additional_details) + _setter("adr_home_directory", adr_home_directory) + _setter("compartment_id", compartment_id) + _setter("component_name", component_name) + _setter("display_name", display_name) + _setter("endpoints", endpoints) + _setter("external_connector_id", external_connector_id) + _setter("external_db_home_id", external_db_home_id) + _setter("external_db_node_id", external_db_node_id) + _setter("external_db_system_id", external_db_system_id) + _setter("external_listener_id", external_listener_id) + _setter("host_name", host_name) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("listener_alias", listener_alias) + _setter("listener_ora_location", listener_ora_location) + _setter("listener_type", listener_type) + _setter("log_directory", log_directory) + _setter("oracle_home", oracle_home) + _setter("serviced_asms", serviced_asms) + _setter("serviced_databases", serviced_databases) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("trace_directory", trace_directory) + _setter("version", version) @property @pulumi.getter(name="additionalDetails") @@ -15256,11 +18923,28 @@ def __init__(__self__, *, :param str protocol: The listener protocol. :param Sequence[str] services: The list of services registered with the listener. """ - pulumi.set(__self__, "host", host) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "services", services) + GetExternalListenersExternalListenerCollectionItemEndpointResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + host=host, + key=key, + port=port, + protocol=protocol, + services=services, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host: str, + key: str, + port: int, + protocol: str, + services: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("host", host) + _setter("key", key) + _setter("port", port) + _setter("protocol", protocol) + _setter("services", services) @property @pulumi.getter @@ -15314,9 +18998,22 @@ def __init__(__self__, *, :param str display_name: A filter to only return the resources that match the entire display name. :param str id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "id", id) + GetExternalListenersExternalListenerCollectionItemServicedAsmResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + display_name: str, + id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) + _setter("id", id) @property @pulumi.getter(name="compartmentId") @@ -15362,13 +19059,34 @@ def __init__(__self__, *, :param str id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the external database. :param bool is_managed: Indicates whether the database is a Managed Database or not. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "database_sub_type", database_sub_type) - pulumi.set(__self__, "database_type", database_type) - pulumi.set(__self__, "db_unique_name", db_unique_name) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_managed", is_managed) + GetExternalListenersExternalListenerCollectionItemServicedDatabaseResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + database_sub_type=database_sub_type, + database_type=database_type, + db_unique_name=db_unique_name, + display_name=display_name, + id=id, + is_managed=is_managed, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + database_sub_type: str, + database_type: str, + db_unique_name: str, + display_name: str, + id: str, + is_managed: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("database_sub_type", database_sub_type) + _setter("database_type", database_type) + _setter("db_unique_name", db_unique_name) + _setter("display_name", display_name) + _setter("id", id) + _setter("is_managed", is_managed) @property @pulumi.getter(name="compartmentId") @@ -15433,10 +19151,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetExternalListenersFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -15463,8 +19194,19 @@ def __init__(__self__, *, :param int count: The number of job executions of a particular status. :param str status: The status of the job execution. """ - pulumi.set(__self__, "count", count) - pulumi.set(__self__, "status", status) + GetJobExecutionsStatusItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + count=count, + status=status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + count: int, + status: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("count", count) + _setter("status", status) @property @pulumi.getter @@ -15492,10 +19234,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the entire name. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetJobExecutionsStatusesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -15523,7 +19278,16 @@ def __init__(__self__, *, """ :param Sequence['GetJobExecutionsStatusesJobExecutionsStatusSummaryCollectionItemArgs'] items: A list of JobExecutionsSummary objects. """ - pulumi.set(__self__, "items", items) + GetJobExecutionsStatusesJobExecutionsStatusSummaryCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetJobExecutionsStatusesJobExecutionsStatusSummaryCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -15543,8 +19307,19 @@ def __init__(__self__, *, :param int count: The number of job executions of a particular status. :param str status: The status of the job execution. """ - pulumi.set(__self__, "count", count) - pulumi.set(__self__, "status", status) + GetJobExecutionsStatusesJobExecutionsStatusSummaryCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + count=count, + status=status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + count: int, + status: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("count", count) + _setter("status", status) @property @pulumi.getter @@ -15592,18 +19367,49 @@ def __init__(__self__, *, :param str task_name: The name of the ADDM task. :param str time_created: The creation date of the ADDM task. """ - pulumi.set(__self__, "begin_snapshot_id", begin_snapshot_id) - pulumi.set(__self__, "db_user", db_user) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "end_snapshot_id", end_snapshot_id) - pulumi.set(__self__, "end_snapshot_time", end_snapshot_time) - pulumi.set(__self__, "findings", findings) - pulumi.set(__self__, "how_created", how_created) - pulumi.set(__self__, "start_snapshot_time", start_snapshot_time) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "task_id", task_id) - pulumi.set(__self__, "task_name", task_name) - pulumi.set(__self__, "time_created", time_created) + GetManagedDatabaseAddmTaskItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + begin_snapshot_id=begin_snapshot_id, + db_user=db_user, + description=description, + end_snapshot_id=end_snapshot_id, + end_snapshot_time=end_snapshot_time, + findings=findings, + how_created=how_created, + start_snapshot_time=start_snapshot_time, + status=status, + task_id=task_id, + task_name=task_name, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + begin_snapshot_id: str, + db_user: str, + description: str, + end_snapshot_id: str, + end_snapshot_time: str, + findings: str, + how_created: str, + start_snapshot_time: str, + status: str, + task_id: str, + task_name: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("begin_snapshot_id", begin_snapshot_id) + _setter("db_user", db_user) + _setter("description", description) + _setter("end_snapshot_id", end_snapshot_id) + _setter("end_snapshot_time", end_snapshot_time) + _setter("findings", findings) + _setter("how_created", how_created) + _setter("start_snapshot_time", start_snapshot_time) + _setter("status", status) + _setter("task_id", task_id) + _setter("task_name", task_name) + _setter("time_created", time_created) @property @pulumi.getter(name="beginSnapshotId") @@ -15709,7 +19515,16 @@ def __init__(__self__, *, """ :param Sequence['GetManagedDatabaseAddmTasksAddmTasksCollectionItemArgs'] items: The list of ADDM task metadata. """ - pulumi.set(__self__, "items", items) + GetManagedDatabaseAddmTasksAddmTasksCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetManagedDatabaseAddmTasksAddmTasksCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -15749,18 +19564,49 @@ def __init__(__self__, *, :param str task_name: The name of the ADDM task. :param str time_created: The creation date of the ADDM task. """ - pulumi.set(__self__, "begin_snapshot_id", begin_snapshot_id) - pulumi.set(__self__, "db_user", db_user) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "end_snapshot_id", end_snapshot_id) - pulumi.set(__self__, "end_snapshot_time", end_snapshot_time) - pulumi.set(__self__, "findings", findings) - pulumi.set(__self__, "how_created", how_created) - pulumi.set(__self__, "start_snapshot_time", start_snapshot_time) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "task_id", task_id) - pulumi.set(__self__, "task_name", task_name) - pulumi.set(__self__, "time_created", time_created) + GetManagedDatabaseAddmTasksAddmTasksCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + begin_snapshot_id=begin_snapshot_id, + db_user=db_user, + description=description, + end_snapshot_id=end_snapshot_id, + end_snapshot_time=end_snapshot_time, + findings=findings, + how_created=how_created, + start_snapshot_time=start_snapshot_time, + status=status, + task_id=task_id, + task_name=task_name, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + begin_snapshot_id: str, + db_user: str, + description: str, + end_snapshot_id: str, + end_snapshot_time: str, + findings: str, + how_created: str, + start_snapshot_time: str, + status: str, + task_id: str, + task_name: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("begin_snapshot_id", begin_snapshot_id) + _setter("db_user", db_user) + _setter("description", description) + _setter("end_snapshot_id", end_snapshot_id) + _setter("end_snapshot_time", end_snapshot_time) + _setter("findings", findings) + _setter("how_created", how_created) + _setter("start_snapshot_time", start_snapshot_time) + _setter("status", status) + _setter("task_id", task_id) + _setter("task_name", task_name) + _setter("time_created", time_created) @property @pulumi.getter(name="beginSnapshotId") @@ -15865,10 +19711,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagedDatabaseAddmTasksFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -15895,8 +19754,19 @@ def __init__(__self__, *, :param str category: The category of different alert logs. :param int count: The count of alert logs with specific category. """ - pulumi.set(__self__, "category", category) - pulumi.set(__self__, "count", count) + GetManagedDatabaseAlertLogCountItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + category=category, + count=count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + category: str, + count: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("category", category) + _setter("count", count) @property @pulumi.getter @@ -15922,7 +19792,16 @@ def __init__(__self__, *, """ :param Sequence['GetManagedDatabaseAlertLogCountsAlertLogCountsCollectionItemArgs'] items: An array of the counts of different urgency or type of alert logs. """ - pulumi.set(__self__, "items", items) + GetManagedDatabaseAlertLogCountsAlertLogCountsCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetManagedDatabaseAlertLogCountsAlertLogCountsCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -15942,8 +19821,19 @@ def __init__(__self__, *, :param str category: The category of different alert logs. :param int count: The count of alert logs with specific category. """ - pulumi.set(__self__, "category", category) - pulumi.set(__self__, "count", count) + GetManagedDatabaseAlertLogCountsAlertLogCountsCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + category=category, + count=count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + category: str, + count: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("category", category) + _setter("count", count) @property @pulumi.getter @@ -15968,10 +19858,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagedDatabaseAlertLogCountsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -15998,8 +19901,19 @@ def __init__(__self__, *, :param str category: The category of different attention logs. :param int count: The count of attention logs with specific category. """ - pulumi.set(__self__, "category", category) - pulumi.set(__self__, "count", count) + GetManagedDatabaseAttentionLogCountItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + category=category, + count=count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + category: str, + count: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("category", category) + _setter("count", count) @property @pulumi.getter @@ -16025,7 +19939,16 @@ def __init__(__self__, *, """ :param Sequence['GetManagedDatabaseAttentionLogCountsAttentionLogCountsCollectionItemArgs'] items: An array of the counts of different urgency or type of attention logs. """ - pulumi.set(__self__, "items", items) + GetManagedDatabaseAttentionLogCountsAttentionLogCountsCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetManagedDatabaseAttentionLogCountsAttentionLogCountsCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -16045,8 +19968,19 @@ def __init__(__self__, *, :param str category: The category of different attention logs. :param int count: The count of attention logs with specific category. """ - pulumi.set(__self__, "category", category) - pulumi.set(__self__, "count", count) + GetManagedDatabaseAttentionLogCountsAttentionLogCountsCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + category=category, + count=count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + category: str, + count: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("category", category) + _setter("count", count) @property @pulumi.getter @@ -16071,10 +20005,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagedDatabaseAttentionLogCountsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -16099,7 +20046,16 @@ def __init__(__self__, *, """ :param Sequence['GetManagedDatabaseCursorCacheStatementsCursorCacheStatementCollectionItemArgs'] items: A list of SQL statements in the cursor cache. """ - pulumi.set(__self__, "items", items) + GetManagedDatabaseCursorCacheStatementsCursorCacheStatementCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetManagedDatabaseCursorCacheStatementsCursorCacheStatementCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -16121,9 +20077,22 @@ def __init__(__self__, *, :param str sql_id: The SQL statement identifier. Identifies a SQL statement in the cursor cache. :param str sql_text: A filter to return all the SQL plan baselines that match the SQL text. By default, the search is case insensitive. To run an exact or case-sensitive search, double-quote the search string. You may also use the '%' symbol as a wildcard. """ - pulumi.set(__self__, "schema", schema) - pulumi.set(__self__, "sql_id", sql_id) - pulumi.set(__self__, "sql_text", sql_text) + GetManagedDatabaseCursorCacheStatementsCursorCacheStatementCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + schema=schema, + sql_id=sql_id, + sql_text=sql_text, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + schema: str, + sql_id: str, + sql_text: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("schema", schema) + _setter("sql_id", sql_id) + _setter("sql_text", sql_text) @property @pulumi.getter @@ -16156,10 +20125,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagedDatabaseCursorCacheStatementsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -16198,14 +20180,37 @@ def __init__(__self__, *, :param str time_added: The date and time the Managed Database was added to the group. :param str workload_type: The workload type of the Autonomous Database. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "database_sub_type", database_sub_type) - pulumi.set(__self__, "database_type", database_type) - pulumi.set(__self__, "deployment_type", deployment_type) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "time_added", time_added) - pulumi.set(__self__, "workload_type", workload_type) + GetManagedDatabaseGroupManagedDatabaseResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + database_sub_type=database_sub_type, + database_type=database_type, + deployment_type=deployment_type, + id=id, + name=name, + time_added=time_added, + workload_type=workload_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + database_sub_type: str, + database_type: str, + deployment_type: str, + id: str, + name: str, + time_added: str, + workload_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("database_sub_type", database_sub_type) + _setter("database_type", database_type) + _setter("deployment_type", deployment_type) + _setter("id", id) + _setter("name", name) + _setter("time_added", time_added) + _setter("workload_type", workload_type) @property @pulumi.getter(name="compartmentId") @@ -16281,10 +20286,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the entire name. Only one of the parameters, id or name should be provided """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagedDatabaseGroupsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -16309,7 +20327,16 @@ def regex(self) -> Optional[bool]: class GetManagedDatabaseGroupsManagedDatabaseGroupCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetManagedDatabaseGroupsManagedDatabaseGroupCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetManagedDatabaseGroupsManagedDatabaseGroupCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetManagedDatabaseGroupsManagedDatabaseGroupCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -16338,14 +20365,37 @@ def __init__(__self__, *, :param str time_created: The date and time the Managed Database Group was created. :param str time_updated: The date and time the Managed Database Group was last updated. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "managed_databases", managed_databases) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetManagedDatabaseGroupsManagedDatabaseGroupCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + description=description, + id=id, + managed_databases=managed_databases, + name=name, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + description: str, + id: str, + managed_databases: Sequence['outputs.GetManagedDatabaseGroupsManagedDatabaseGroupCollectionItemManagedDatabaseResult'], + name: str, + state: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("description", description) + _setter("id", id) + _setter("managed_databases", managed_databases) + _setter("name", name) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -16433,14 +20483,37 @@ def __init__(__self__, *, :param str time_added: The date and time the Managed Database was added to the group. :param str workload_type: The workload type of the Autonomous Database. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "database_sub_type", database_sub_type) - pulumi.set(__self__, "database_type", database_type) - pulumi.set(__self__, "deployment_type", deployment_type) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "time_added", time_added) - pulumi.set(__self__, "workload_type", workload_type) + GetManagedDatabaseGroupsManagedDatabaseGroupCollectionItemManagedDatabaseResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + database_sub_type=database_sub_type, + database_type=database_type, + deployment_type=deployment_type, + id=id, + name=name, + time_added=time_added, + workload_type=workload_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + database_sub_type: str, + database_type: str, + deployment_type: str, + id: str, + name: str, + time_added: str, + workload_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("database_sub_type", database_sub_type) + _setter("database_type", database_type) + _setter("deployment_type", deployment_type) + _setter("id", id) + _setter("name", name) + _setter("time_added", time_added) + _setter("workload_type", workload_type) @property @pulumi.getter(name="compartmentId") @@ -16518,9 +20591,22 @@ def __init__(__self__, *, :param str id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Managed Database Group. :param str name: The name of the Managed Database. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "name", name) + GetManagedDatabaseManagedDatabaseGroupResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + id=id, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + id: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("id", id) + _setter("name", name) @property @pulumi.getter(name="compartmentId") @@ -16566,13 +20652,34 @@ def __init__(__self__, *, :param str id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Managed Database. :param str name: The name of the rule. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "db_deployment_type", db_deployment_type) - pulumi.set(__self__, "db_sub_type", db_sub_type) - pulumi.set(__self__, "db_type", db_type) - pulumi.set(__self__, "db_version", db_version) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "name", name) + GetManagedDatabaseOptimizerStatisticsAdvisorExecutionDatabaseResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + db_deployment_type=db_deployment_type, + db_sub_type=db_sub_type, + db_type=db_type, + db_version=db_version, + id=id, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + db_deployment_type: str, + db_sub_type: str, + db_type: str, + db_version: str, + id: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("db_deployment_type", db_deployment_type) + _setter("db_sub_type", db_sub_type) + _setter("db_type", db_type) + _setter("db_version", db_version) + _setter("id", id) + _setter("name", name) @property @pulumi.getter(name="compartmentId") @@ -16640,8 +20747,19 @@ def __init__(__self__, *, :param Sequence['GetManagedDatabaseOptimizerStatisticsAdvisorExecutionReportRuleArgs'] rules: The list of rules that were not adhered to by the Optimizer Statistics Collection. :param str summary: A summary of the Optimizer Statistics Advisor execution. """ - pulumi.set(__self__, "rules", rules) - pulumi.set(__self__, "summary", summary) + GetManagedDatabaseOptimizerStatisticsAdvisorExecutionReportResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + rules=rules, + summary=summary, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + rules: Sequence['outputs.GetManagedDatabaseOptimizerStatisticsAdvisorExecutionReportRuleResult'], + summary: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("rules", rules) + _setter("summary", summary) @property @pulumi.getter @@ -16671,9 +20789,22 @@ def __init__(__self__, *, :param Sequence['GetManagedDatabaseOptimizerStatisticsAdvisorExecutionReportRuleFindingArgs'] findings: The list of findings for the rule. :param str name: The name of the rule. """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "findings", findings) - pulumi.set(__self__, "name", name) + GetManagedDatabaseOptimizerStatisticsAdvisorExecutionReportRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + findings=findings, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + findings: Sequence['outputs.GetManagedDatabaseOptimizerStatisticsAdvisorExecutionReportRuleFindingResult'], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("findings", findings) + _setter("name", name) @property @pulumi.getter @@ -16711,9 +20842,22 @@ def __init__(__self__, *, :param str message: The message of the rationale. :param Sequence['GetManagedDatabaseOptimizerStatisticsAdvisorExecutionReportRuleFindingRecommendationArgs'] recommendations: The list of recommendations. """ - pulumi.set(__self__, "details", details) - pulumi.set(__self__, "message", message) - pulumi.set(__self__, "recommendations", recommendations) + GetManagedDatabaseOptimizerStatisticsAdvisorExecutionReportRuleFindingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + details=details, + message=message, + recommendations=recommendations, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + details: Sequence['outputs.GetManagedDatabaseOptimizerStatisticsAdvisorExecutionReportRuleFindingDetailResult'], + message: str, + recommendations: Sequence['outputs.GetManagedDatabaseOptimizerStatisticsAdvisorExecutionReportRuleFindingRecommendationResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("details", details) + _setter("message", message) + _setter("recommendations", recommendations) @property @pulumi.getter @@ -16749,8 +20893,19 @@ def __init__(__self__, *, :param Sequence[str] operations: The list of operation details. :param Sequence['GetManagedDatabaseOptimizerStatisticsAdvisorExecutionReportRuleFindingDetailSchemaArgs'] schemas: The names of the impacted database schemas and their objects. """ - pulumi.set(__self__, "operations", operations) - pulumi.set(__self__, "schemas", schemas) + GetManagedDatabaseOptimizerStatisticsAdvisorExecutionReportRuleFindingDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + operations=operations, + schemas=schemas, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + operations: Sequence[str], + schemas: Sequence['outputs.GetManagedDatabaseOptimizerStatisticsAdvisorExecutionReportRuleFindingDetailSchemaResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("operations", operations) + _setter("schemas", schemas) @property @pulumi.getter @@ -16778,8 +20933,19 @@ def __init__(__self__, *, :param str name: The name of the rule. :param Sequence[str] objects: The names of schema objects. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "objects", objects) + GetManagedDatabaseOptimizerStatisticsAdvisorExecutionReportRuleFindingDetailSchemaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + objects=objects, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + objects: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("objects", objects) @property @pulumi.getter @@ -16809,9 +20975,22 @@ def __init__(__self__, *, :param str message: The message of the rationale. :param Sequence['GetManagedDatabaseOptimizerStatisticsAdvisorExecutionReportRuleFindingRecommendationRationaleArgs'] rationales: The rationale of the recommendation. """ - pulumi.set(__self__, "examples", examples) - pulumi.set(__self__, "message", message) - pulumi.set(__self__, "rationales", rationales) + GetManagedDatabaseOptimizerStatisticsAdvisorExecutionReportRuleFindingRecommendationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + examples=examples, + message=message, + rationales=rationales, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + examples: Sequence['outputs.GetManagedDatabaseOptimizerStatisticsAdvisorExecutionReportRuleFindingRecommendationExampleResult'], + message: str, + rationales: Sequence['outputs.GetManagedDatabaseOptimizerStatisticsAdvisorExecutionReportRuleFindingRecommendationRationaleResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("examples", examples) + _setter("message", message) + _setter("rationales", rationales) @property @pulumi.getter @@ -16845,7 +21024,16 @@ def __init__(__self__, *, """ :param Sequence['GetManagedDatabaseOptimizerStatisticsAdvisorExecutionReportRuleFindingRecommendationExampleLineArgs'] lines: The list of examples for the recommendation. """ - pulumi.set(__self__, "lines", lines) + GetManagedDatabaseOptimizerStatisticsAdvisorExecutionReportRuleFindingRecommendationExampleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + lines=lines, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + lines: Sequence['outputs.GetManagedDatabaseOptimizerStatisticsAdvisorExecutionReportRuleFindingRecommendationExampleLineResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("lines", lines) @property @pulumi.getter @@ -16865,8 +21053,19 @@ def __init__(__self__, *, :param str comment: The comments about the operation. :param str operation: The details of the example operation. """ - pulumi.set(__self__, "comment", comment) - pulumi.set(__self__, "operation", operation) + GetManagedDatabaseOptimizerStatisticsAdvisorExecutionReportRuleFindingRecommendationExampleLineResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + comment=comment, + operation=operation, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + comment: str, + operation: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("comment", comment) + _setter("operation", operation) @property @pulumi.getter @@ -16892,7 +21091,16 @@ def __init__(__self__, *, """ :param str message: The message of the rationale. """ - pulumi.set(__self__, "message", message) + GetManagedDatabaseOptimizerStatisticsAdvisorExecutionReportRuleFindingRecommendationRationaleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + message=message, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + message: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("message", message) @property @pulumi.getter @@ -16912,10 +21120,23 @@ def __init__(__self__, *, """ :param str name: The name of the rule. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagedDatabaseOptimizerStatisticsAdvisorExecutionsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -16940,7 +21161,16 @@ def regex(self) -> Optional[bool]: class GetManagedDatabaseOptimizerStatisticsAdvisorExecutionsOptimizerStatisticsAdvisorExecutionsCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetManagedDatabaseOptimizerStatisticsAdvisorExecutionsOptimizerStatisticsAdvisorExecutionsCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetManagedDatabaseOptimizerStatisticsAdvisorExecutionsOptimizerStatisticsAdvisorExecutionsCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetManagedDatabaseOptimizerStatisticsAdvisorExecutionsOptimizerStatisticsAdvisorExecutionsCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -16973,16 +21203,43 @@ def __init__(__self__, *, :param str time_end: The end time of the time range to retrieve the Optimizer Statistics Advisor execution of a Managed Database in UTC in ISO-8601 format, which is "yyyy-MM-dd'T'hh:mm:ss.sss'Z'". :param str time_start: The start time of the time range to retrieve the Optimizer Statistics Advisor execution of a Managed Database in UTC in ISO-8601 format, which is "yyyy-MM-dd'T'hh:mm:ss.sss'Z'". """ - pulumi.set(__self__, "databases", databases) - pulumi.set(__self__, "error_message", error_message) - pulumi.set(__self__, "execution_name", execution_name) - pulumi.set(__self__, "findings", findings) - pulumi.set(__self__, "reports", reports) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "status_message", status_message) - pulumi.set(__self__, "task_name", task_name) - pulumi.set(__self__, "time_end", time_end) - pulumi.set(__self__, "time_start", time_start) + GetManagedDatabaseOptimizerStatisticsAdvisorExecutionsOptimizerStatisticsAdvisorExecutionsCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + databases=databases, + error_message=error_message, + execution_name=execution_name, + findings=findings, + reports=reports, + status=status, + status_message=status_message, + task_name=task_name, + time_end=time_end, + time_start=time_start, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + databases: Sequence['outputs.GetManagedDatabaseOptimizerStatisticsAdvisorExecutionsOptimizerStatisticsAdvisorExecutionsCollectionItemDatabaseResult'], + error_message: str, + execution_name: str, + findings: int, + reports: Sequence['outputs.GetManagedDatabaseOptimizerStatisticsAdvisorExecutionsOptimizerStatisticsAdvisorExecutionsCollectionItemReportResult'], + status: str, + status_message: str, + task_name: str, + time_end: str, + time_start: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("databases", databases) + _setter("error_message", error_message) + _setter("execution_name", execution_name) + _setter("findings", findings) + _setter("reports", reports) + _setter("status", status) + _setter("status_message", status_message) + _setter("task_name", task_name) + _setter("time_end", time_end) + _setter("time_start", time_start) @property @pulumi.getter @@ -17084,13 +21341,34 @@ def __init__(__self__, *, :param str id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Managed Database. :param str name: The name of the rule. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "db_deployment_type", db_deployment_type) - pulumi.set(__self__, "db_sub_type", db_sub_type) - pulumi.set(__self__, "db_type", db_type) - pulumi.set(__self__, "db_version", db_version) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "name", name) + GetManagedDatabaseOptimizerStatisticsAdvisorExecutionsOptimizerStatisticsAdvisorExecutionsCollectionItemDatabaseResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + db_deployment_type=db_deployment_type, + db_sub_type=db_sub_type, + db_type=db_type, + db_version=db_version, + id=id, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + db_deployment_type: str, + db_sub_type: str, + db_type: str, + db_version: str, + id: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("db_deployment_type", db_deployment_type) + _setter("db_sub_type", db_sub_type) + _setter("db_type", db_type) + _setter("db_version", db_version) + _setter("id", id) + _setter("name", name) @property @pulumi.getter(name="compartmentId") @@ -17158,8 +21436,19 @@ def __init__(__self__, *, :param Sequence['GetManagedDatabaseOptimizerStatisticsAdvisorExecutionsOptimizerStatisticsAdvisorExecutionsCollectionItemReportRuleArgs'] rules: The list of rules that were not adhered to by the Optimizer Statistics Collection. :param str summary: A summary of the Optimizer Statistics Advisor execution. """ - pulumi.set(__self__, "rules", rules) - pulumi.set(__self__, "summary", summary) + GetManagedDatabaseOptimizerStatisticsAdvisorExecutionsOptimizerStatisticsAdvisorExecutionsCollectionItemReportResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + rules=rules, + summary=summary, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + rules: Sequence['outputs.GetManagedDatabaseOptimizerStatisticsAdvisorExecutionsOptimizerStatisticsAdvisorExecutionsCollectionItemReportRuleResult'], + summary: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("rules", rules) + _setter("summary", summary) @property @pulumi.getter @@ -17189,9 +21478,22 @@ def __init__(__self__, *, :param Sequence['GetManagedDatabaseOptimizerStatisticsAdvisorExecutionsOptimizerStatisticsAdvisorExecutionsCollectionItemReportRuleFindingArgs'] findings: The list of findings for the rule. :param str name: The name of the rule. """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "findings", findings) - pulumi.set(__self__, "name", name) + GetManagedDatabaseOptimizerStatisticsAdvisorExecutionsOptimizerStatisticsAdvisorExecutionsCollectionItemReportRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + findings=findings, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + findings: Sequence['outputs.GetManagedDatabaseOptimizerStatisticsAdvisorExecutionsOptimizerStatisticsAdvisorExecutionsCollectionItemReportRuleFindingResult'], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("findings", findings) + _setter("name", name) @property @pulumi.getter @@ -17229,9 +21531,22 @@ def __init__(__self__, *, :param str message: The message of the rationale. :param Sequence['GetManagedDatabaseOptimizerStatisticsAdvisorExecutionsOptimizerStatisticsAdvisorExecutionsCollectionItemReportRuleFindingRecommendationArgs'] recommendations: The list of recommendations. """ - pulumi.set(__self__, "details", details) - pulumi.set(__self__, "message", message) - pulumi.set(__self__, "recommendations", recommendations) + GetManagedDatabaseOptimizerStatisticsAdvisorExecutionsOptimizerStatisticsAdvisorExecutionsCollectionItemReportRuleFindingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + details=details, + message=message, + recommendations=recommendations, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + details: Sequence['outputs.GetManagedDatabaseOptimizerStatisticsAdvisorExecutionsOptimizerStatisticsAdvisorExecutionsCollectionItemReportRuleFindingDetailResult'], + message: str, + recommendations: Sequence['outputs.GetManagedDatabaseOptimizerStatisticsAdvisorExecutionsOptimizerStatisticsAdvisorExecutionsCollectionItemReportRuleFindingRecommendationResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("details", details) + _setter("message", message) + _setter("recommendations", recommendations) @property @pulumi.getter @@ -17267,8 +21582,19 @@ def __init__(__self__, *, :param Sequence[str] operations: The list of operation details. :param Sequence['GetManagedDatabaseOptimizerStatisticsAdvisorExecutionsOptimizerStatisticsAdvisorExecutionsCollectionItemReportRuleFindingDetailSchemaArgs'] schemas: The names of the impacted database schemas and their objects. """ - pulumi.set(__self__, "operations", operations) - pulumi.set(__self__, "schemas", schemas) + GetManagedDatabaseOptimizerStatisticsAdvisorExecutionsOptimizerStatisticsAdvisorExecutionsCollectionItemReportRuleFindingDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + operations=operations, + schemas=schemas, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + operations: Sequence[str], + schemas: Sequence['outputs.GetManagedDatabaseOptimizerStatisticsAdvisorExecutionsOptimizerStatisticsAdvisorExecutionsCollectionItemReportRuleFindingDetailSchemaResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("operations", operations) + _setter("schemas", schemas) @property @pulumi.getter @@ -17296,8 +21622,19 @@ def __init__(__self__, *, :param str name: The name of the rule. :param Sequence[str] objects: The names of schema objects. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "objects", objects) + GetManagedDatabaseOptimizerStatisticsAdvisorExecutionsOptimizerStatisticsAdvisorExecutionsCollectionItemReportRuleFindingDetailSchemaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + objects=objects, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + objects: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("objects", objects) @property @pulumi.getter @@ -17327,9 +21664,22 @@ def __init__(__self__, *, :param str message: The message of the rationale. :param Sequence['GetManagedDatabaseOptimizerStatisticsAdvisorExecutionsOptimizerStatisticsAdvisorExecutionsCollectionItemReportRuleFindingRecommendationRationaleArgs'] rationales: The rationale of the recommendation. """ - pulumi.set(__self__, "examples", examples) - pulumi.set(__self__, "message", message) - pulumi.set(__self__, "rationales", rationales) + GetManagedDatabaseOptimizerStatisticsAdvisorExecutionsOptimizerStatisticsAdvisorExecutionsCollectionItemReportRuleFindingRecommendationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + examples=examples, + message=message, + rationales=rationales, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + examples: Sequence['outputs.GetManagedDatabaseOptimizerStatisticsAdvisorExecutionsOptimizerStatisticsAdvisorExecutionsCollectionItemReportRuleFindingRecommendationExampleResult'], + message: str, + rationales: Sequence['outputs.GetManagedDatabaseOptimizerStatisticsAdvisorExecutionsOptimizerStatisticsAdvisorExecutionsCollectionItemReportRuleFindingRecommendationRationaleResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("examples", examples) + _setter("message", message) + _setter("rationales", rationales) @property @pulumi.getter @@ -17363,7 +21713,16 @@ def __init__(__self__, *, """ :param Sequence['GetManagedDatabaseOptimizerStatisticsAdvisorExecutionsOptimizerStatisticsAdvisorExecutionsCollectionItemReportRuleFindingRecommendationExampleLineArgs'] lines: The list of examples for the recommendation. """ - pulumi.set(__self__, "lines", lines) + GetManagedDatabaseOptimizerStatisticsAdvisorExecutionsOptimizerStatisticsAdvisorExecutionsCollectionItemReportRuleFindingRecommendationExampleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + lines=lines, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + lines: Sequence['outputs.GetManagedDatabaseOptimizerStatisticsAdvisorExecutionsOptimizerStatisticsAdvisorExecutionsCollectionItemReportRuleFindingRecommendationExampleLineResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("lines", lines) @property @pulumi.getter @@ -17383,8 +21742,19 @@ def __init__(__self__, *, :param str comment: The comments about the operation. :param str operation: The details of the example operation. """ - pulumi.set(__self__, "comment", comment) - pulumi.set(__self__, "operation", operation) + GetManagedDatabaseOptimizerStatisticsAdvisorExecutionsOptimizerStatisticsAdvisorExecutionsCollectionItemReportRuleFindingRecommendationExampleLineResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + comment=comment, + operation=operation, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + comment: str, + operation: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("comment", comment) + _setter("operation", operation) @property @pulumi.getter @@ -17410,7 +21780,16 @@ def __init__(__self__, *, """ :param str message: The message of the rationale. """ - pulumi.set(__self__, "message", message) + GetManagedDatabaseOptimizerStatisticsAdvisorExecutionsOptimizerStatisticsAdvisorExecutionsCollectionItemReportRuleFindingRecommendationRationaleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + message=message, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + message: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("message", message) @property @pulumi.getter @@ -17427,10 +21806,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagedDatabaseOptimizerStatisticsCollectionAggregationsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -17455,7 +21847,16 @@ def __init__(__self__, *, """ :param Sequence['GetManagedDatabaseOptimizerStatisticsCollectionAggregationsOptimizerStatisticsCollectionAggregationsCollectionItemArgs'] items: The list of Optimizer Statistics Collection details. """ - pulumi.set(__self__, "items", items) + GetManagedDatabaseOptimizerStatisticsCollectionAggregationsOptimizerStatisticsCollectionAggregationsCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetManagedDatabaseOptimizerStatisticsCollectionAggregationsOptimizerStatisticsCollectionAggregationsCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -17493,17 +21894,46 @@ def __init__(__self__, *, :param int total: The total number of tasks or objects for which statistics collection is finished. This number is the sum of all the tasks or objects with various statuses: pending, inProgress, completed, failed, skipped, timedOut, and unknown. :param int unknown: The number of tasks or objects for which the status of statistics gathering is unknown. """ - pulumi.set(__self__, "completed", completed) - pulumi.set(__self__, "failed", failed) - pulumi.set(__self__, "group_by", group_by) - pulumi.set(__self__, "in_progress", in_progress) - pulumi.set(__self__, "pending", pending) - pulumi.set(__self__, "skipped", skipped) - pulumi.set(__self__, "time_end", time_end) - pulumi.set(__self__, "time_start", time_start) - pulumi.set(__self__, "timed_out", timed_out) - pulumi.set(__self__, "total", total) - pulumi.set(__self__, "unknown", unknown) + GetManagedDatabaseOptimizerStatisticsCollectionAggregationsOptimizerStatisticsCollectionAggregationsCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + completed=completed, + failed=failed, + group_by=group_by, + in_progress=in_progress, + pending=pending, + skipped=skipped, + time_end=time_end, + time_start=time_start, + timed_out=timed_out, + total=total, + unknown=unknown, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + completed: int, + failed: int, + group_by: str, + in_progress: int, + pending: int, + skipped: int, + time_end: str, + time_start: str, + timed_out: int, + total: int, + unknown: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("completed", completed) + _setter("failed", failed) + _setter("group_by", group_by) + _setter("in_progress", in_progress) + _setter("pending", pending) + _setter("skipped", skipped) + _setter("time_end", time_end) + _setter("time_start", time_start) + _setter("timed_out", timed_out) + _setter("total", total) + _setter("unknown", unknown) @property @pulumi.getter @@ -17613,13 +22043,34 @@ def __init__(__self__, *, :param str id: The ID of the operation. :param str name: The name of the Managed Database. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "db_deployment_type", db_deployment_type) - pulumi.set(__self__, "db_sub_type", db_sub_type) - pulumi.set(__self__, "db_type", db_type) - pulumi.set(__self__, "db_version", db_version) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "name", name) + GetManagedDatabaseOptimizerStatisticsCollectionOperationDatabaseResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + db_deployment_type=db_deployment_type, + db_sub_type=db_sub_type, + db_type=db_type, + db_version=db_version, + id=id, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + db_deployment_type: str, + db_sub_type: str, + db_type: str, + db_version: str, + id: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("db_deployment_type", db_deployment_type) + _setter("db_sub_type", db_sub_type) + _setter("db_type", db_type) + _setter("db_version", db_version) + _setter("id", id) + _setter("name", name) @property @pulumi.getter(name="compartmentId") @@ -17693,11 +22144,28 @@ def __init__(__self__, *, :param str time_end: The end time of the Optimizer Statistics Collection task. :param str time_start: The start time of the Optimizer Statistics Collection task. """ - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "target", target) - pulumi.set(__self__, "target_type", target_type) - pulumi.set(__self__, "time_end", time_end) - pulumi.set(__self__, "time_start", time_start) + GetManagedDatabaseOptimizerStatisticsCollectionOperationTaskResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + status=status, + target=target, + target_type=target_type, + time_end=time_end, + time_start=time_start, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + status: str, + target: str, + target_type: str, + time_end: str, + time_start: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("status", status) + _setter("target", target) + _setter("target_type", target_type) + _setter("time_end", time_end) + _setter("time_start", time_start) @property @pulumi.getter @@ -17749,10 +22217,23 @@ def __init__(__self__, *, """ :param str name: The name of the Managed Database. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagedDatabaseOptimizerStatisticsCollectionOperationsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -17777,7 +22258,16 @@ def regex(self) -> Optional[bool]: class GetManagedDatabaseOptimizerStatisticsCollectionOperationsOptimizerStatisticsCollectionOperationsCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetManagedDatabaseOptimizerStatisticsCollectionOperationsOptimizerStatisticsCollectionOperationsCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetManagedDatabaseOptimizerStatisticsCollectionOperationsOptimizerStatisticsCollectionOperationsCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetManagedDatabaseOptimizerStatisticsCollectionOperationsOptimizerStatisticsCollectionOperationsCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -17820,21 +22310,58 @@ def __init__(__self__, *, :param int timed_out_count: The number of objects for which statistics collection timed out. :param int total_objects_count: The total number of objects for which statistics is collected. This number is the sum of all the objects with various statuses: completed, inProgress, failed, and timedOut. """ - pulumi.set(__self__, "completed_count", completed_count) - pulumi.set(__self__, "databases", databases) - pulumi.set(__self__, "duration_in_seconds", duration_in_seconds) - pulumi.set(__self__, "end_time", end_time) - pulumi.set(__self__, "failed_count", failed_count) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "in_progress_count", in_progress_count) - pulumi.set(__self__, "job_name", job_name) - pulumi.set(__self__, "operation_name", operation_name) - pulumi.set(__self__, "start_time", start_time) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "target", target) - pulumi.set(__self__, "tasks", tasks) - pulumi.set(__self__, "timed_out_count", timed_out_count) - pulumi.set(__self__, "total_objects_count", total_objects_count) + GetManagedDatabaseOptimizerStatisticsCollectionOperationsOptimizerStatisticsCollectionOperationsCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + completed_count=completed_count, + databases=databases, + duration_in_seconds=duration_in_seconds, + end_time=end_time, + failed_count=failed_count, + id=id, + in_progress_count=in_progress_count, + job_name=job_name, + operation_name=operation_name, + start_time=start_time, + status=status, + target=target, + tasks=tasks, + timed_out_count=timed_out_count, + total_objects_count=total_objects_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + completed_count: int, + databases: Sequence['outputs.GetManagedDatabaseOptimizerStatisticsCollectionOperationsOptimizerStatisticsCollectionOperationsCollectionItemDatabaseResult'], + duration_in_seconds: float, + end_time: str, + failed_count: int, + id: int, + in_progress_count: int, + job_name: str, + operation_name: str, + start_time: str, + status: str, + target: str, + tasks: Sequence['outputs.GetManagedDatabaseOptimizerStatisticsCollectionOperationsOptimizerStatisticsCollectionOperationsCollectionItemTaskResult'], + timed_out_count: int, + total_objects_count: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("completed_count", completed_count) + _setter("databases", databases) + _setter("duration_in_seconds", duration_in_seconds) + _setter("end_time", end_time) + _setter("failed_count", failed_count) + _setter("id", id) + _setter("in_progress_count", in_progress_count) + _setter("job_name", job_name) + _setter("operation_name", operation_name) + _setter("start_time", start_time) + _setter("status", status) + _setter("target", target) + _setter("tasks", tasks) + _setter("timed_out_count", timed_out_count) + _setter("total_objects_count", total_objects_count) @property @pulumi.getter(name="completedCount") @@ -17976,13 +22503,34 @@ def __init__(__self__, *, :param str id: The ID of the operation. :param str name: The name of the Managed Database. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "db_deployment_type", db_deployment_type) - pulumi.set(__self__, "db_sub_type", db_sub_type) - pulumi.set(__self__, "db_type", db_type) - pulumi.set(__self__, "db_version", db_version) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "name", name) + GetManagedDatabaseOptimizerStatisticsCollectionOperationsOptimizerStatisticsCollectionOperationsCollectionItemDatabaseResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + db_deployment_type=db_deployment_type, + db_sub_type=db_sub_type, + db_type=db_type, + db_version=db_version, + id=id, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + db_deployment_type: str, + db_sub_type: str, + db_type: str, + db_version: str, + id: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("db_deployment_type", db_deployment_type) + _setter("db_sub_type", db_sub_type) + _setter("db_type", db_type) + _setter("db_version", db_version) + _setter("id", id) + _setter("name", name) @property @pulumi.getter(name="compartmentId") @@ -18056,11 +22604,28 @@ def __init__(__self__, *, :param str time_end: The end time of the Optimizer Statistics Collection task. :param str time_start: The start time of the Optimizer Statistics Collection task. """ - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "target", target) - pulumi.set(__self__, "target_type", target_type) - pulumi.set(__self__, "time_end", time_end) - pulumi.set(__self__, "time_start", time_start) + GetManagedDatabaseOptimizerStatisticsCollectionOperationsOptimizerStatisticsCollectionOperationsCollectionItemTaskResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + status=status, + target=target, + target_type=target_type, + time_end=time_end, + time_start=time_start, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + status: str, + target: str, + target_type: str, + time_end: str, + time_start: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("status", status) + _setter("target", target) + _setter("target_type", target_type) + _setter("time_end", time_end) + _setter("time_start", time_start) @property @pulumi.getter @@ -18122,11 +22687,28 @@ def __init__(__self__, *, :param Sequence[str] values_to_excludes: A list of filter values to exclude. :param Sequence[str] values_to_includes: A list of filter values to include. """ - pulumi.set(__self__, "modified_by", modified_by) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "time_last_modified", time_last_modified) - pulumi.set(__self__, "values_to_excludes", values_to_excludes) - pulumi.set(__self__, "values_to_includes", values_to_includes) + GetManagedDatabaseSqlPlanBaselineConfigurationAutoCaptureFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + modified_by=modified_by, + name=name, + time_last_modified=time_last_modified, + values_to_excludes=values_to_excludes, + values_to_includes=values_to_includes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + modified_by: str, + name: str, + time_last_modified: str, + values_to_excludes: Sequence[str], + values_to_includes: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("modified_by", modified_by) + _setter("name", name) + _setter("time_last_modified", time_last_modified) + _setter("values_to_excludes", values_to_excludes) + _setter("values_to_includes", values_to_includes) @property @pulumi.getter(name="modifiedBy") @@ -18188,11 +22770,28 @@ def __init__(__self__, *, :param Sequence[str] alternate_plan_sources: Determines which sources to search for additional plans. :param bool are_plans_auto_accepted: Specifies whether to accept recommended plans automatically. """ - pulumi.set(__self__, "allowed_time_limit", allowed_time_limit) - pulumi.set(__self__, "alternate_plan_baselines", alternate_plan_baselines) - pulumi.set(__self__, "alternate_plan_limit", alternate_plan_limit) - pulumi.set(__self__, "alternate_plan_sources", alternate_plan_sources) - pulumi.set(__self__, "are_plans_auto_accepted", are_plans_auto_accepted) + GetManagedDatabaseSqlPlanBaselineConfigurationAutoSpmEvolveTaskParameterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_time_limit=allowed_time_limit, + alternate_plan_baselines=alternate_plan_baselines, + alternate_plan_limit=alternate_plan_limit, + alternate_plan_sources=alternate_plan_sources, + are_plans_auto_accepted=are_plans_auto_accepted, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_time_limit: int, + alternate_plan_baselines: Sequence[str], + alternate_plan_limit: int, + alternate_plan_sources: Sequence[str], + are_plans_auto_accepted: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allowed_time_limit", allowed_time_limit) + _setter("alternate_plan_baselines", alternate_plan_baselines) + _setter("alternate_plan_limit", alternate_plan_limit) + _setter("alternate_plan_sources", alternate_plan_sources) + _setter("are_plans_auto_accepted", are_plans_auto_accepted) @property @pulumi.getter(name="allowedTimeLimit") @@ -18244,10 +22843,23 @@ def __init__(__self__, *, """ :param str name: A filter to return the SQL plan baseline jobs that match the name. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagedDatabaseSqlPlanBaselineJobsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -18275,7 +22887,16 @@ def __init__(__self__, *, """ :param Sequence['GetManagedDatabaseSqlPlanBaselineJobsSqlPlanBaselineJobCollectionItemArgs'] items: A list of SQL plan baseline jobs. """ - pulumi.set(__self__, "items", items) + GetManagedDatabaseSqlPlanBaselineJobsSqlPlanBaselineJobCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetManagedDatabaseSqlPlanBaselineJobsSqlPlanBaselineJobCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -18299,10 +22920,25 @@ def __init__(__self__, *, :param str time_created: The date and time the job was created. :param str type: The type of the job. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "type", type) + GetManagedDatabaseSqlPlanBaselineJobsSqlPlanBaselineJobCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + status=status, + time_created=time_created, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + status: str, + time_created: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("status", status) + _setter("time_created", time_created) + _setter("type", type) @property @pulumi.getter @@ -18343,10 +22979,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagedDatabaseSqlPlanBaselinesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -18368,7 +23017,16 @@ def regex(self) -> Optional[bool]: class GetManagedDatabaseSqlPlanBaselinesSqlPlanBaselineCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetManagedDatabaseSqlPlanBaselinesSqlPlanBaselineCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetManagedDatabaseSqlPlanBaselinesSqlPlanBaselineCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetManagedDatabaseSqlPlanBaselinesSqlPlanBaselineCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -18413,22 +23071,61 @@ def __init__(__self__, *, :param str time_last_executed: The date and time when the plan baseline was last executed. :param str time_last_modified: The date and time when the plan baseline was last modified. """ - pulumi.set(__self__, "accepted", accepted) - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "adaptive", adaptive) - pulumi.set(__self__, "auto_purge", auto_purge) - pulumi.set(__self__, "enabled", enabled) - pulumi.set(__self__, "execution_plan", execution_plan) - pulumi.set(__self__, "fixed", fixed) - pulumi.set(__self__, "module", module) - pulumi.set(__self__, "origin", origin) - pulumi.set(__self__, "plan_name", plan_name) - pulumi.set(__self__, "reproduced", reproduced) - pulumi.set(__self__, "sql_handle", sql_handle) - pulumi.set(__self__, "sql_text", sql_text) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_last_executed", time_last_executed) - pulumi.set(__self__, "time_last_modified", time_last_modified) + GetManagedDatabaseSqlPlanBaselinesSqlPlanBaselineCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + accepted=accepted, + action=action, + adaptive=adaptive, + auto_purge=auto_purge, + enabled=enabled, + execution_plan=execution_plan, + fixed=fixed, + module=module, + origin=origin, + plan_name=plan_name, + reproduced=reproduced, + sql_handle=sql_handle, + sql_text=sql_text, + time_created=time_created, + time_last_executed=time_last_executed, + time_last_modified=time_last_modified, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + accepted: str, + action: str, + adaptive: str, + auto_purge: str, + enabled: str, + execution_plan: str, + fixed: str, + module: str, + origin: str, + plan_name: str, + reproduced: str, + sql_handle: str, + sql_text: str, + time_created: str, + time_last_executed: str, + time_last_modified: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("accepted", accepted) + _setter("action", action) + _setter("adaptive", adaptive) + _setter("auto_purge", auto_purge) + _setter("enabled", enabled) + _setter("execution_plan", execution_plan) + _setter("fixed", fixed) + _setter("module", module) + _setter("origin", origin) + _setter("plan_name", plan_name) + _setter("reproduced", reproduced) + _setter("sql_handle", sql_handle) + _setter("sql_text", sql_text) + _setter("time_created", time_created) + _setter("time_last_executed", time_last_executed) + _setter("time_last_modified", time_last_modified) @property @pulumi.getter @@ -18588,18 +23285,49 @@ def __init__(__self__, *, :param str time_execution_started: The start time of the task execution. :param int total_sql_statements: The total number of SQL statements related to the SQL Tuning Advisor task. """ - pulumi.set(__self__, "days_to_expire", days_to_expire) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "instance_id", instance_id) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "owner", owner) - pulumi.set(__self__, "recommendation_count", recommendation_count) - pulumi.set(__self__, "sql_tuning_advisor_task_id", sql_tuning_advisor_task_id) - pulumi.set(__self__, "task_status", task_status) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_execution_ended", time_execution_ended) - pulumi.set(__self__, "time_execution_started", time_execution_started) - pulumi.set(__self__, "total_sql_statements", total_sql_statements) + GetManagedDatabaseSqlTuningAdvisorTaskItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + days_to_expire=days_to_expire, + description=description, + instance_id=instance_id, + name=name, + owner=owner, + recommendation_count=recommendation_count, + sql_tuning_advisor_task_id=sql_tuning_advisor_task_id, + task_status=task_status, + time_created=time_created, + time_execution_ended=time_execution_ended, + time_execution_started=time_execution_started, + total_sql_statements=total_sql_statements, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + days_to_expire: int, + description: str, + instance_id: int, + name: str, + owner: str, + recommendation_count: int, + sql_tuning_advisor_task_id: str, + task_status: str, + time_created: str, + time_execution_ended: str, + time_execution_started: str, + total_sql_statements: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("days_to_expire", days_to_expire) + _setter("description", description) + _setter("instance_id", instance_id) + _setter("name", name) + _setter("owner", owner) + _setter("recommendation_count", recommendation_count) + _setter("sql_tuning_advisor_task_id", sql_tuning_advisor_task_id) + _setter("task_status", task_status) + _setter("time_created", time_created) + _setter("time_execution_ended", time_execution_ended) + _setter("time_execution_started", time_execution_started) + _setter("total_sql_statements", total_sql_statements) @property @pulumi.getter(name="daysToExpire") @@ -18709,9 +23437,22 @@ def __init__(__self__, *, :param str plan_status: The status of the execution using the plan. :param str plan_type: The type of the original or modified plan with profile, index, and so on. """ - pulumi.set(__self__, "plan_stats", plan_stats) - pulumi.set(__self__, "plan_status", plan_status) - pulumi.set(__self__, "plan_type", plan_type) + GetManagedDatabaseSqlTuningAdvisorTasksExecutionPlanStatsComparisonModifiedResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + plan_stats=plan_stats, + plan_status=plan_status, + plan_type=plan_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + plan_stats: Mapping[str, Any], + plan_status: str, + plan_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("plan_stats", plan_stats) + _setter("plan_status", plan_status) + _setter("plan_type", plan_type) @property @pulumi.getter(name="planStats") @@ -18749,9 +23490,22 @@ def __init__(__self__, *, :param str plan_status: The status of the execution using the plan. :param str plan_type: The type of the original or modified plan with profile, index, and so on. """ - pulumi.set(__self__, "plan_stats", plan_stats) - pulumi.set(__self__, "plan_status", plan_status) - pulumi.set(__self__, "plan_type", plan_type) + GetManagedDatabaseSqlTuningAdvisorTasksExecutionPlanStatsComparisonOriginalResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + plan_stats=plan_stats, + plan_status=plan_status, + plan_type=plan_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + plan_stats: Mapping[str, Any], + plan_status: str, + plan_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("plan_stats", plan_stats) + _setter("plan_status", plan_status) + _setter("plan_type", plan_type) @property @pulumi.getter(name="planStats") @@ -18787,10 +23541,23 @@ def __init__(__self__, *, """ :param str name: The optional query parameter to filter the SQL Tuning Advisor task list by name. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagedDatabaseSqlTuningAdvisorTasksFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -18850,23 +23617,64 @@ def __init__(__self__, *, :param str sql_tuning_advisor_task_object_execution_id: The execution id of the analyzed SQL object. This is not the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). :param str sql_tuning_advisor_task_object_id: The key of the object to which these recommendations apply. This is not the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). """ - pulumi.set(__self__, "db_time_benefit", db_time_benefit) - pulumi.set(__self__, "is_alternative_plan_finding_present", is_alternative_plan_finding_present) - pulumi.set(__self__, "is_error_finding_present", is_error_finding_present) - pulumi.set(__self__, "is_index_finding_present", is_index_finding_present) - pulumi.set(__self__, "is_miscellaneous_finding_present", is_miscellaneous_finding_present) - pulumi.set(__self__, "is_restructure_sql_finding_present", is_restructure_sql_finding_present) - pulumi.set(__self__, "is_sql_profile_finding_implemented", is_sql_profile_finding_implemented) - pulumi.set(__self__, "is_sql_profile_finding_present", is_sql_profile_finding_present) - pulumi.set(__self__, "is_stats_finding_present", is_stats_finding_present) - pulumi.set(__self__, "is_timeout_finding_present", is_timeout_finding_present) - pulumi.set(__self__, "parsing_schema", parsing_schema) - pulumi.set(__self__, "per_execution_percentage", per_execution_percentage) - pulumi.set(__self__, "sql_key", sql_key) - pulumi.set(__self__, "sql_text", sql_text) - pulumi.set(__self__, "sql_tuning_advisor_task_id", sql_tuning_advisor_task_id) - pulumi.set(__self__, "sql_tuning_advisor_task_object_execution_id", sql_tuning_advisor_task_object_execution_id) - pulumi.set(__self__, "sql_tuning_advisor_task_object_id", sql_tuning_advisor_task_object_id) + GetManagedDatabaseSqlTuningAdvisorTasksFindingItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_time_benefit=db_time_benefit, + is_alternative_plan_finding_present=is_alternative_plan_finding_present, + is_error_finding_present=is_error_finding_present, + is_index_finding_present=is_index_finding_present, + is_miscellaneous_finding_present=is_miscellaneous_finding_present, + is_restructure_sql_finding_present=is_restructure_sql_finding_present, + is_sql_profile_finding_implemented=is_sql_profile_finding_implemented, + is_sql_profile_finding_present=is_sql_profile_finding_present, + is_stats_finding_present=is_stats_finding_present, + is_timeout_finding_present=is_timeout_finding_present, + parsing_schema=parsing_schema, + per_execution_percentage=per_execution_percentage, + sql_key=sql_key, + sql_text=sql_text, + sql_tuning_advisor_task_id=sql_tuning_advisor_task_id, + sql_tuning_advisor_task_object_execution_id=sql_tuning_advisor_task_object_execution_id, + sql_tuning_advisor_task_object_id=sql_tuning_advisor_task_object_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_time_benefit: float, + is_alternative_plan_finding_present: bool, + is_error_finding_present: bool, + is_index_finding_present: bool, + is_miscellaneous_finding_present: bool, + is_restructure_sql_finding_present: bool, + is_sql_profile_finding_implemented: bool, + is_sql_profile_finding_present: bool, + is_stats_finding_present: bool, + is_timeout_finding_present: bool, + parsing_schema: str, + per_execution_percentage: int, + sql_key: str, + sql_text: str, + sql_tuning_advisor_task_id: str, + sql_tuning_advisor_task_object_execution_id: str, + sql_tuning_advisor_task_object_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("db_time_benefit", db_time_benefit) + _setter("is_alternative_plan_finding_present", is_alternative_plan_finding_present) + _setter("is_error_finding_present", is_error_finding_present) + _setter("is_index_finding_present", is_index_finding_present) + _setter("is_miscellaneous_finding_present", is_miscellaneous_finding_present) + _setter("is_restructure_sql_finding_present", is_restructure_sql_finding_present) + _setter("is_sql_profile_finding_implemented", is_sql_profile_finding_implemented) + _setter("is_sql_profile_finding_present", is_sql_profile_finding_present) + _setter("is_stats_finding_present", is_stats_finding_present) + _setter("is_timeout_finding_present", is_timeout_finding_present) + _setter("parsing_schema", parsing_schema) + _setter("per_execution_percentage", per_execution_percentage) + _setter("sql_key", sql_key) + _setter("sql_text", sql_text) + _setter("sql_tuning_advisor_task_id", sql_tuning_advisor_task_id) + _setter("sql_tuning_advisor_task_object_execution_id", sql_tuning_advisor_task_object_execution_id) + _setter("sql_tuning_advisor_task_object_id", sql_tuning_advisor_task_object_id) @property @pulumi.getter(name="dbTimeBenefit") @@ -19011,10 +23819,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagedDatabaseSqlTuningAdvisorTasksFindingsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -19039,7 +23860,16 @@ def __init__(__self__, *, """ :param Sequence['GetManagedDatabaseSqlTuningAdvisorTasksFindingsSqlTuningAdvisorTaskFindingCollectionItemArgs'] items: An array of the findings for a tuning task. """ - pulumi.set(__self__, "items", items) + GetManagedDatabaseSqlTuningAdvisorTasksFindingsSqlTuningAdvisorTaskFindingCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetManagedDatabaseSqlTuningAdvisorTasksFindingsSqlTuningAdvisorTaskFindingCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -19089,23 +23919,64 @@ def __init__(__self__, *, :param str sql_tuning_advisor_task_object_execution_id: The execution id of the analyzed SQL object. This is not the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). :param str sql_tuning_advisor_task_object_id: The key of the object to which these recommendations apply. This is not the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). """ - pulumi.set(__self__, "db_time_benefit", db_time_benefit) - pulumi.set(__self__, "is_alternative_plan_finding_present", is_alternative_plan_finding_present) - pulumi.set(__self__, "is_error_finding_present", is_error_finding_present) - pulumi.set(__self__, "is_index_finding_present", is_index_finding_present) - pulumi.set(__self__, "is_miscellaneous_finding_present", is_miscellaneous_finding_present) - pulumi.set(__self__, "is_restructure_sql_finding_present", is_restructure_sql_finding_present) - pulumi.set(__self__, "is_sql_profile_finding_implemented", is_sql_profile_finding_implemented) - pulumi.set(__self__, "is_sql_profile_finding_present", is_sql_profile_finding_present) - pulumi.set(__self__, "is_stats_finding_present", is_stats_finding_present) - pulumi.set(__self__, "is_timeout_finding_present", is_timeout_finding_present) - pulumi.set(__self__, "parsing_schema", parsing_schema) - pulumi.set(__self__, "per_execution_percentage", per_execution_percentage) - pulumi.set(__self__, "sql_key", sql_key) - pulumi.set(__self__, "sql_text", sql_text) - pulumi.set(__self__, "sql_tuning_advisor_task_id", sql_tuning_advisor_task_id) - pulumi.set(__self__, "sql_tuning_advisor_task_object_execution_id", sql_tuning_advisor_task_object_execution_id) - pulumi.set(__self__, "sql_tuning_advisor_task_object_id", sql_tuning_advisor_task_object_id) + GetManagedDatabaseSqlTuningAdvisorTasksFindingsSqlTuningAdvisorTaskFindingCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_time_benefit=db_time_benefit, + is_alternative_plan_finding_present=is_alternative_plan_finding_present, + is_error_finding_present=is_error_finding_present, + is_index_finding_present=is_index_finding_present, + is_miscellaneous_finding_present=is_miscellaneous_finding_present, + is_restructure_sql_finding_present=is_restructure_sql_finding_present, + is_sql_profile_finding_implemented=is_sql_profile_finding_implemented, + is_sql_profile_finding_present=is_sql_profile_finding_present, + is_stats_finding_present=is_stats_finding_present, + is_timeout_finding_present=is_timeout_finding_present, + parsing_schema=parsing_schema, + per_execution_percentage=per_execution_percentage, + sql_key=sql_key, + sql_text=sql_text, + sql_tuning_advisor_task_id=sql_tuning_advisor_task_id, + sql_tuning_advisor_task_object_execution_id=sql_tuning_advisor_task_object_execution_id, + sql_tuning_advisor_task_object_id=sql_tuning_advisor_task_object_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_time_benefit: float, + is_alternative_plan_finding_present: bool, + is_error_finding_present: bool, + is_index_finding_present: bool, + is_miscellaneous_finding_present: bool, + is_restructure_sql_finding_present: bool, + is_sql_profile_finding_implemented: bool, + is_sql_profile_finding_present: bool, + is_stats_finding_present: bool, + is_timeout_finding_present: bool, + parsing_schema: str, + per_execution_percentage: int, + sql_key: str, + sql_text: str, + sql_tuning_advisor_task_id: str, + sql_tuning_advisor_task_object_execution_id: str, + sql_tuning_advisor_task_object_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("db_time_benefit", db_time_benefit) + _setter("is_alternative_plan_finding_present", is_alternative_plan_finding_present) + _setter("is_error_finding_present", is_error_finding_present) + _setter("is_index_finding_present", is_index_finding_present) + _setter("is_miscellaneous_finding_present", is_miscellaneous_finding_present) + _setter("is_restructure_sql_finding_present", is_restructure_sql_finding_present) + _setter("is_sql_profile_finding_implemented", is_sql_profile_finding_implemented) + _setter("is_sql_profile_finding_present", is_sql_profile_finding_present) + _setter("is_stats_finding_present", is_stats_finding_present) + _setter("is_timeout_finding_present", is_timeout_finding_present) + _setter("parsing_schema", parsing_schema) + _setter("per_execution_percentage", per_execution_percentage) + _setter("sql_key", sql_key) + _setter("sql_text", sql_text) + _setter("sql_tuning_advisor_task_id", sql_tuning_advisor_task_id) + _setter("sql_tuning_advisor_task_object_execution_id", sql_tuning_advisor_task_object_execution_id) + _setter("sql_tuning_advisor_task_object_id", sql_tuning_advisor_task_object_id) @property @pulumi.getter(name="dbTimeBenefit") @@ -19269,16 +24140,43 @@ def __init__(__self__, *, :param str sql_tuning_advisor_task_id: The SQL tuning task identifier. This is not the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). :param str sql_tuning_advisor_task_object_id: The key of the object to which these recommendations apply. This is not the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). """ - pulumi.set(__self__, "benefit", benefit) - pulumi.set(__self__, "finding", finding) - pulumi.set(__self__, "implement_action_sql", implement_action_sql) - pulumi.set(__self__, "is_parallel_execution", is_parallel_execution) - pulumi.set(__self__, "rationale", rationale) - pulumi.set(__self__, "recommendation", recommendation) - pulumi.set(__self__, "recommendation_key", recommendation_key) - pulumi.set(__self__, "recommendation_type", recommendation_type) - pulumi.set(__self__, "sql_tuning_advisor_task_id", sql_tuning_advisor_task_id) - pulumi.set(__self__, "sql_tuning_advisor_task_object_id", sql_tuning_advisor_task_object_id) + GetManagedDatabaseSqlTuningAdvisorTasksRecommendationItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + benefit=benefit, + finding=finding, + implement_action_sql=implement_action_sql, + is_parallel_execution=is_parallel_execution, + rationale=rationale, + recommendation=recommendation, + recommendation_key=recommendation_key, + recommendation_type=recommendation_type, + sql_tuning_advisor_task_id=sql_tuning_advisor_task_id, + sql_tuning_advisor_task_object_id=sql_tuning_advisor_task_object_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + benefit: float, + finding: str, + implement_action_sql: str, + is_parallel_execution: bool, + rationale: str, + recommendation: str, + recommendation_key: int, + recommendation_type: str, + sql_tuning_advisor_task_id: str, + sql_tuning_advisor_task_object_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("benefit", benefit) + _setter("finding", finding) + _setter("implement_action_sql", implement_action_sql) + _setter("is_parallel_execution", is_parallel_execution) + _setter("rationale", rationale) + _setter("recommendation", recommendation) + _setter("recommendation_key", recommendation_key) + _setter("recommendation_type", recommendation_type) + _setter("sql_tuning_advisor_task_id", sql_tuning_advisor_task_id) + _setter("sql_tuning_advisor_task_object_id", sql_tuning_advisor_task_object_id) @property @pulumi.getter @@ -19367,10 +24265,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagedDatabaseSqlTuningAdvisorTasksRecommendationsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -19395,7 +24306,16 @@ def __init__(__self__, *, """ :param Sequence['GetManagedDatabaseSqlTuningAdvisorTasksRecommendationsSqlTuningAdvisorTaskRecommendationCollectionItemArgs'] items: A list of SQL Tuning Advisor recommendations. """ - pulumi.set(__self__, "items", items) + GetManagedDatabaseSqlTuningAdvisorTasksRecommendationsSqlTuningAdvisorTaskRecommendationCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetManagedDatabaseSqlTuningAdvisorTasksRecommendationsSqlTuningAdvisorTaskRecommendationCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -19431,16 +24351,43 @@ def __init__(__self__, *, :param str sql_tuning_advisor_task_id: The SQL tuning task identifier. This is not the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). :param str sql_tuning_advisor_task_object_id: The key of the object to which these recommendations apply. This is not the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). """ - pulumi.set(__self__, "benefit", benefit) - pulumi.set(__self__, "finding", finding) - pulumi.set(__self__, "implement_action_sql", implement_action_sql) - pulumi.set(__self__, "is_parallel_execution", is_parallel_execution) - pulumi.set(__self__, "rationale", rationale) - pulumi.set(__self__, "recommendation", recommendation) - pulumi.set(__self__, "recommendation_key", recommendation_key) - pulumi.set(__self__, "recommendation_type", recommendation_type) - pulumi.set(__self__, "sql_tuning_advisor_task_id", sql_tuning_advisor_task_id) - pulumi.set(__self__, "sql_tuning_advisor_task_object_id", sql_tuning_advisor_task_object_id) + GetManagedDatabaseSqlTuningAdvisorTasksRecommendationsSqlTuningAdvisorTaskRecommendationCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + benefit=benefit, + finding=finding, + implement_action_sql=implement_action_sql, + is_parallel_execution=is_parallel_execution, + rationale=rationale, + recommendation=recommendation, + recommendation_key=recommendation_key, + recommendation_type=recommendation_type, + sql_tuning_advisor_task_id=sql_tuning_advisor_task_id, + sql_tuning_advisor_task_object_id=sql_tuning_advisor_task_object_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + benefit: float, + finding: str, + implement_action_sql: str, + is_parallel_execution: bool, + rationale: str, + recommendation: str, + recommendation_key: int, + recommendation_type: str, + sql_tuning_advisor_task_id: str, + sql_tuning_advisor_task_object_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("benefit", benefit) + _setter("finding", finding) + _setter("implement_action_sql", implement_action_sql) + _setter("is_parallel_execution", is_parallel_execution) + _setter("rationale", rationale) + _setter("recommendation", recommendation) + _setter("recommendation_key", recommendation_key) + _setter("recommendation_type", recommendation_type) + _setter("sql_tuning_advisor_task_id", sql_tuning_advisor_task_id) + _setter("sql_tuning_advisor_task_object_id", sql_tuning_advisor_task_object_id) @property @pulumi.getter @@ -19586,35 +24533,100 @@ def __init__(__self__, *, :param str temp_space: The temporary space usage (in bytes) of the operation (sort or hash-join) as estimated by the CBO. :param str time: The elapsed time (in seconds) of the operation as estimated by the CBO. """ - pulumi.set(__self__, "access_predicates", access_predicates) - pulumi.set(__self__, "attribute", attribute) - pulumi.set(__self__, "bytes", bytes) - pulumi.set(__self__, "cardinality", cardinality) - pulumi.set(__self__, "cost", cost) - pulumi.set(__self__, "cpu_cost", cpu_cost) - pulumi.set(__self__, "filter_predicates", filter_predicates) - pulumi.set(__self__, "io_cost", io_cost) - pulumi.set(__self__, "number_of_search_column", number_of_search_column) - pulumi.set(__self__, "object", object) - pulumi.set(__self__, "object_node", object_node) - pulumi.set(__self__, "object_owner", object_owner) - pulumi.set(__self__, "object_position", object_position) - pulumi.set(__self__, "object_type", object_type) - pulumi.set(__self__, "operation", operation) - pulumi.set(__self__, "optimizer_mode", optimizer_mode) - pulumi.set(__self__, "options", options) - pulumi.set(__self__, "other", other) - pulumi.set(__self__, "other_tag", other_tag) - pulumi.set(__self__, "parent_step_id", parent_step_id) - pulumi.set(__self__, "partition_id", partition_id) - pulumi.set(__self__, "partition_start", partition_start) - pulumi.set(__self__, "partition_stop", partition_stop) - pulumi.set(__self__, "plan_hash_value", plan_hash_value) - pulumi.set(__self__, "position", position) - pulumi.set(__self__, "remarks", remarks) - pulumi.set(__self__, "step_id", step_id) - pulumi.set(__self__, "temp_space", temp_space) - pulumi.set(__self__, "time", time) + GetManagedDatabaseSqlTuningAdvisorTasksSqlExecutionPlanPlanResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + access_predicates=access_predicates, + attribute=attribute, + bytes=bytes, + cardinality=cardinality, + cost=cost, + cpu_cost=cpu_cost, + filter_predicates=filter_predicates, + io_cost=io_cost, + number_of_search_column=number_of_search_column, + object=object, + object_node=object_node, + object_owner=object_owner, + object_position=object_position, + object_type=object_type, + operation=operation, + optimizer_mode=optimizer_mode, + options=options, + other=other, + other_tag=other_tag, + parent_step_id=parent_step_id, + partition_id=partition_id, + partition_start=partition_start, + partition_stop=partition_stop, + plan_hash_value=plan_hash_value, + position=position, + remarks=remarks, + step_id=step_id, + temp_space=temp_space, + time=time, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access_predicates: str, + attribute: str, + bytes: str, + cardinality: str, + cost: float, + cpu_cost: float, + filter_predicates: str, + io_cost: float, + number_of_search_column: int, + object: str, + object_node: str, + object_owner: str, + object_position: int, + object_type: str, + operation: str, + optimizer_mode: str, + options: str, + other: str, + other_tag: str, + parent_step_id: int, + partition_id: int, + partition_start: str, + partition_stop: str, + plan_hash_value: str, + position: int, + remarks: str, + step_id: int, + temp_space: str, + time: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("access_predicates", access_predicates) + _setter("attribute", attribute) + _setter("bytes", bytes) + _setter("cardinality", cardinality) + _setter("cost", cost) + _setter("cpu_cost", cpu_cost) + _setter("filter_predicates", filter_predicates) + _setter("io_cost", io_cost) + _setter("number_of_search_column", number_of_search_column) + _setter("object", object) + _setter("object_node", object_node) + _setter("object_owner", object_owner) + _setter("object_position", object_position) + _setter("object_type", object_type) + _setter("operation", operation) + _setter("optimizer_mode", optimizer_mode) + _setter("options", options) + _setter("other", other) + _setter("other_tag", other_tag) + _setter("parent_step_id", parent_step_id) + _setter("partition_id", partition_id) + _setter("partition_start", partition_start) + _setter("partition_stop", partition_stop) + _setter("plan_hash_value", plan_hash_value) + _setter("position", position) + _setter("remarks", remarks) + _setter("step_id", step_id) + _setter("temp_space", temp_space) + _setter("time", time) @property @pulumi.getter(name="accessPredicates") @@ -19856,7 +24868,16 @@ def __init__(__self__, *, """ :param Sequence['GetManagedDatabaseSqlTuningAdvisorTasksSqlTuningAdvisorTaskCollectionItemArgs'] items: A list of SQL Tuning Advisor tasks. """ - pulumi.set(__self__, "items", items) + GetManagedDatabaseSqlTuningAdvisorTasksSqlTuningAdvisorTaskCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetManagedDatabaseSqlTuningAdvisorTasksSqlTuningAdvisorTaskCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -19896,18 +24917,49 @@ def __init__(__self__, *, :param str time_execution_started: The start time of the task execution. :param int total_sql_statements: The total number of SQL statements related to the SQL Tuning Advisor task. """ - pulumi.set(__self__, "days_to_expire", days_to_expire) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "instance_id", instance_id) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "owner", owner) - pulumi.set(__self__, "recommendation_count", recommendation_count) - pulumi.set(__self__, "sql_tuning_advisor_task_id", sql_tuning_advisor_task_id) - pulumi.set(__self__, "task_status", task_status) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_execution_ended", time_execution_ended) - pulumi.set(__self__, "time_execution_started", time_execution_started) - pulumi.set(__self__, "total_sql_statements", total_sql_statements) + GetManagedDatabaseSqlTuningAdvisorTasksSqlTuningAdvisorTaskCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + days_to_expire=days_to_expire, + description=description, + instance_id=instance_id, + name=name, + owner=owner, + recommendation_count=recommendation_count, + sql_tuning_advisor_task_id=sql_tuning_advisor_task_id, + task_status=task_status, + time_created=time_created, + time_execution_ended=time_execution_ended, + time_execution_started=time_execution_started, + total_sql_statements=total_sql_statements, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + days_to_expire: int, + description: str, + instance_id: int, + name: str, + owner: str, + recommendation_count: int, + sql_tuning_advisor_task_id: str, + task_status: str, + time_created: str, + time_execution_ended: str, + time_execution_started: str, + total_sql_statements: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("days_to_expire", days_to_expire) + _setter("description", description) + _setter("instance_id", instance_id) + _setter("name", name) + _setter("owner", owner) + _setter("recommendation_count", recommendation_count) + _setter("sql_tuning_advisor_task_id", sql_tuning_advisor_task_id) + _setter("task_status", task_status) + _setter("time_created", time_created) + _setter("time_execution_ended", time_execution_ended) + _setter("time_execution_started", time_execution_started) + _setter("total_sql_statements", total_sql_statements) @property @pulumi.getter(name="daysToExpire") @@ -20023,12 +25075,31 @@ def __init__(__self__, *, :param str schema: Schema of the object. :param str table_name: Table's name related to the index. """ - pulumi.set(__self__, "index_columns", index_columns) - pulumi.set(__self__, "index_hash_value", index_hash_value) - pulumi.set(__self__, "index_name", index_name) - pulumi.set(__self__, "reference_count", reference_count) - pulumi.set(__self__, "schema", schema) - pulumi.set(__self__, "table_name", table_name) + GetManagedDatabaseSqlTuningAdvisorTasksSummaryReportIndexFindingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + index_columns=index_columns, + index_hash_value=index_hash_value, + index_name=index_name, + reference_count=reference_count, + schema=schema, + table_name=table_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + index_columns: Sequence[str], + index_hash_value: str, + index_name: str, + reference_count: int, + schema: str, + table_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("index_columns", index_columns) + _setter("index_hash_value", index_hash_value) + _setter("index_name", index_name) + _setter("reference_count", reference_count) + _setter("schema", schema) + _setter("table_name", table_name) @property @pulumi.getter(name="indexColumns") @@ -20096,12 +25167,31 @@ def __init__(__self__, *, :param int reference_count: The number of the times the object is referenced within the SQL Tuning advisor task findings. :param str schema: Schema of the object. """ - pulumi.set(__self__, "object", object) - pulumi.set(__self__, "object_hash_value", object_hash_value) - pulumi.set(__self__, "object_type", object_type) - pulumi.set(__self__, "problem_type", problem_type) - pulumi.set(__self__, "reference_count", reference_count) - pulumi.set(__self__, "schema", schema) + GetManagedDatabaseSqlTuningAdvisorTasksSummaryReportObjectStatFindingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + object=object, + object_hash_value=object_hash_value, + object_type=object_type, + problem_type=problem_type, + reference_count=reference_count, + schema=schema, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + object: str, + object_hash_value: str, + object_type: str, + problem_type: str, + reference_count: int, + schema: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("object", object) + _setter("object_hash_value", object_hash_value) + _setter("object_type", object_type) + _setter("problem_type", problem_type) + _setter("reference_count", reference_count) + _setter("schema", schema) @property @pulumi.getter @@ -20163,9 +25253,22 @@ def __init__(__self__, *, :param Sequence['GetManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticFindingCountArgs'] finding_counts: The number of findings in the SQL Tuning Advisor summary report. :param Sequence['GetManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticStatementCountArgs'] statement_counts: The number of statements in the SQL Tuning Advisor summary report. """ - pulumi.set(__self__, "finding_benefits", finding_benefits) - pulumi.set(__self__, "finding_counts", finding_counts) - pulumi.set(__self__, "statement_counts", statement_counts) + GetManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + finding_benefits=finding_benefits, + finding_counts=finding_counts, + statement_counts=statement_counts, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + finding_benefits: Sequence['outputs.GetManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticFindingBenefitResult'], + finding_counts: Sequence['outputs.GetManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticFindingCountResult'], + statement_counts: Sequence['outputs.GetManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticStatementCountResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("finding_benefits", finding_benefits) + _setter("finding_counts", finding_counts) + _setter("statement_counts", statement_counts) @property @pulumi.getter(name="findingBenefits") @@ -20205,10 +25308,25 @@ def __init__(__self__, *, :param int db_time_before_implemented: The actual database time of the above SQL statements, before SQL Tuning Advisor recommendations are implemented. :param int db_time_before_recommended: The actual database time of the SQL statements for which SQL Tuning Advisor recommendations are not implemented. """ - pulumi.set(__self__, "db_time_after_implemented", db_time_after_implemented) - pulumi.set(__self__, "db_time_after_recommended", db_time_after_recommended) - pulumi.set(__self__, "db_time_before_implemented", db_time_before_implemented) - pulumi.set(__self__, "db_time_before_recommended", db_time_before_recommended) + GetManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticFindingBenefitResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_time_after_implemented=db_time_after_implemented, + db_time_after_recommended=db_time_after_recommended, + db_time_before_implemented=db_time_before_implemented, + db_time_before_recommended=db_time_before_recommended, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_time_after_implemented: int, + db_time_after_recommended: int, + db_time_before_implemented: int, + db_time_before_recommended: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("db_time_after_implemented", db_time_after_implemented) + _setter("db_time_after_recommended", db_time_after_recommended) + _setter("db_time_before_implemented", db_time_before_implemented) + _setter("db_time_before_recommended", db_time_before_recommended) @property @pulumi.getter(name="dbTimeAfterImplemented") @@ -20260,12 +25378,31 @@ def __init__(__self__, *, :param int restructure: The number of distinct SQL statements with restructured SQL recommendations. :param int statistics: The number of distinct SQL statements with stale or missing optimizer statistics recommendations. """ - pulumi.set(__self__, "alternate_plan", alternate_plan) - pulumi.set(__self__, "implemented_sql_profile", implemented_sql_profile) - pulumi.set(__self__, "index", index) - pulumi.set(__self__, "recommended_sql_profile", recommended_sql_profile) - pulumi.set(__self__, "restructure", restructure) - pulumi.set(__self__, "statistics", statistics) + GetManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticFindingCountResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + alternate_plan=alternate_plan, + implemented_sql_profile=implemented_sql_profile, + index=index, + recommended_sql_profile=recommended_sql_profile, + restructure=restructure, + statistics=statistics, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + alternate_plan: int, + implemented_sql_profile: int, + index: int, + recommended_sql_profile: int, + restructure: int, + statistics: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("alternate_plan", alternate_plan) + _setter("implemented_sql_profile", implemented_sql_profile) + _setter("index", index) + _setter("recommended_sql_profile", recommended_sql_profile) + _setter("restructure", restructure) + _setter("statistics", statistics) @property @pulumi.getter(name="alternatePlan") @@ -20329,10 +25466,25 @@ def __init__(__self__, *, :param int finding_count: The number of distinct SQL statements with findings. :param int total_sql: The total number of SQL statements. """ - pulumi.set(__self__, "distinct_sql", distinct_sql) - pulumi.set(__self__, "error_count", error_count) - pulumi.set(__self__, "finding_count", finding_count) - pulumi.set(__self__, "total_sql", total_sql) + GetManagedDatabaseSqlTuningAdvisorTasksSummaryReportStatisticStatementCountResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + distinct_sql=distinct_sql, + error_count=error_count, + finding_count=finding_count, + total_sql=total_sql, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + distinct_sql: int, + error_count: int, + finding_count: int, + total_sql: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("distinct_sql", distinct_sql) + _setter("error_count", error_count) + _setter("finding_count", finding_count) + _setter("total_sql", total_sql) @property @pulumi.getter(name="distinctSql") @@ -20388,14 +25540,37 @@ def __init__(__self__, *, :param str time_ended: The end time of the task execution. :param str time_started: The start time of the task execution. """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "owner", owner) - pulumi.set(__self__, "running_time", running_time) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "time_ended", time_ended) - pulumi.set(__self__, "time_started", time_started) + GetManagedDatabaseSqlTuningAdvisorTasksSummaryReportTaskInfoResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + id=id, + name=name, + owner=owner, + running_time=running_time, + status=status, + time_ended=time_ended, + time_started=time_started, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + id: str, + name: str, + owner: str, + running_time: int, + status: str, + time_ended: str, + time_started: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("id", id) + _setter("name", name) + _setter("owner", owner) + _setter("running_time", running_time) + _setter("status", status) + _setter("time_ended", time_ended) + _setter("time_started", time_started) @property @pulumi.getter @@ -20475,10 +25650,25 @@ def __init__(__self__, *, :param str owner: The owner of the SQL tuning set. :param int statement_counts: The number of SQL statements in the SQL tuning set. """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "owner", owner) - pulumi.set(__self__, "statement_counts", statement_counts) + GetManagedDatabaseSqlTuningSetItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + name=name, + owner=owner, + statement_counts=statement_counts, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + name: str, + owner: str, + statement_counts: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("name", name) + _setter("owner", owner) + _setter("statement_counts", statement_counts) @property @pulumi.getter @@ -20522,10 +25712,23 @@ def __init__(__self__, *, """ :param str name: The name of the SQL tuning set. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagedDatabaseSqlTuningSetsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -20553,7 +25756,16 @@ def __init__(__self__, *, """ :param Sequence['GetManagedDatabaseSqlTuningSetsSqlTuningSetCollectionItemArgs'] items: The details in the SQL tuning set summary. """ - pulumi.set(__self__, "items", items) + GetManagedDatabaseSqlTuningSetsSqlTuningSetCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetManagedDatabaseSqlTuningSetsSqlTuningSetCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -20589,16 +25801,43 @@ def __init__(__self__, *, :param str time_created: The created time of the Sql tuning set. :param str time_last_modified: Last modified time of the Sql tuning set. """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "error_message", error_message) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "owner", owner) - pulumi.set(__self__, "scheduled_job_name", scheduled_job_name) - pulumi.set(__self__, "statement_counts", statement_counts) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_last_modified", time_last_modified) + GetManagedDatabaseSqlTuningSetsSqlTuningSetCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + error_message=error_message, + id=id, + name=name, + owner=owner, + scheduled_job_name=scheduled_job_name, + statement_counts=statement_counts, + status=status, + time_created=time_created, + time_last_modified=time_last_modified, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + error_message: str, + id: int, + name: str, + owner: str, + scheduled_job_name: str, + statement_counts: int, + status: str, + time_created: str, + time_last_modified: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("error_message", error_message) + _setter("id", id) + _setter("name", name) + _setter("owner", owner) + _setter("scheduled_job_name", scheduled_job_name) + _setter("statement_counts", statement_counts) + _setter("status", status) + _setter("time_created", time_created) + _setter("time_last_modified", time_last_modified) @property @pulumi.getter @@ -20687,10 +25926,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagedDatabaseTableStatisticsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -20715,7 +25967,16 @@ def __init__(__self__, *, """ :param Sequence['GetManagedDatabaseTableStatisticsTableStatisticsCollectionItemArgs'] items: The list of table statistics statuses. """ - pulumi.set(__self__, "items", items) + GetManagedDatabaseTableStatisticsTableStatisticsCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetManagedDatabaseTableStatisticsTableStatisticsCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -20737,9 +25998,22 @@ def __init__(__self__, *, :param float percentage: The percentage of objects with a particular status. :param str type: The valid status categories of table statistics. """ - pulumi.set(__self__, "count", count) - pulumi.set(__self__, "percentage", percentage) - pulumi.set(__self__, "type", type) + GetManagedDatabaseTableStatisticsTableStatisticsCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + count=count, + percentage=percentage, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + count: int, + percentage: float, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("count", count) + _setter("percentage", percentage) + _setter("type", type) @property @pulumi.getter @@ -20777,9 +26051,22 @@ def __init__(__self__, *, :param str initial_group: Indicates whether the consumer group is designated as the default for this user or role (YES) or not (NO). :param str name: A filter to return only resources that match the entire name. """ - pulumi.set(__self__, "grant_option", grant_option) - pulumi.set(__self__, "initial_group", initial_group) - pulumi.set(__self__, "name", name) + GetManagedDatabaseUserConsumerGroupPrivilegeItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + grant_option=grant_option, + initial_group=initial_group, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + grant_option: str, + initial_group: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("grant_option", grant_option) + _setter("initial_group", initial_group) + _setter("name", name) @property @pulumi.getter(name="grantOption") @@ -20813,7 +26100,16 @@ def __init__(__self__, *, """ :param Sequence['GetManagedDatabaseUserConsumerGroupPrivilegesConsumerGroupPrivilegeCollectionItemArgs'] items: An array of consumer group privileges. """ - pulumi.set(__self__, "items", items) + GetManagedDatabaseUserConsumerGroupPrivilegesConsumerGroupPrivilegeCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetManagedDatabaseUserConsumerGroupPrivilegesConsumerGroupPrivilegeCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -20835,9 +26131,22 @@ def __init__(__self__, *, :param str initial_group: Indicates whether the consumer group is designated as the default for this user or role (YES) or not (NO). :param str name: A filter to return only resources that match the entire name. """ - pulumi.set(__self__, "grant_option", grant_option) - pulumi.set(__self__, "initial_group", initial_group) - pulumi.set(__self__, "name", name) + GetManagedDatabaseUserConsumerGroupPrivilegesConsumerGroupPrivilegeCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + grant_option=grant_option, + initial_group=initial_group, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + grant_option: str, + initial_group: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("grant_option", grant_option) + _setter("initial_group", initial_group) + _setter("name", name) @property @pulumi.getter(name="grantOption") @@ -20873,10 +26182,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the entire name. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagedDatabaseUserConsumerGroupPrivilegesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -20904,7 +26226,16 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the entire name. """ - pulumi.set(__self__, "name", name) + GetManagedDatabaseUserDataAccessContainerItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -20922,7 +26253,16 @@ def __init__(__self__, *, """ :param Sequence['GetManagedDatabaseUserDataAccessContainersDataAccessContainerCollectionItemArgs'] items: An array of container resources. """ - pulumi.set(__self__, "items", items) + GetManagedDatabaseUserDataAccessContainersDataAccessContainerCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetManagedDatabaseUserDataAccessContainersDataAccessContainerCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -20940,7 +26280,16 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the entire name. """ - pulumi.set(__self__, "name", name) + GetManagedDatabaseUserDataAccessContainersDataAccessContainerCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -20960,10 +26309,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the entire name. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagedDatabaseUserDataAccessContainersFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -21007,15 +26369,40 @@ def __init__(__self__, *, :param str owner: The owner of the object. :param str schema_type: The type of object. """ - pulumi.set(__self__, "common", common) - pulumi.set(__self__, "grant_option", grant_option) - pulumi.set(__self__, "grantor", grantor) - pulumi.set(__self__, "hierarchy", hierarchy) - pulumi.set(__self__, "inherited", inherited) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "object", object) - pulumi.set(__self__, "owner", owner) - pulumi.set(__self__, "schema_type", schema_type) + GetManagedDatabaseUserObjectPrivilegeItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + common=common, + grant_option=grant_option, + grantor=grantor, + hierarchy=hierarchy, + inherited=inherited, + name=name, + object=object, + owner=owner, + schema_type=schema_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + common: str, + grant_option: str, + grantor: str, + hierarchy: str, + inherited: str, + name: str, + object: str, + owner: str, + schema_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("common", common) + _setter("grant_option", grant_option) + _setter("grantor", grantor) + _setter("hierarchy", hierarchy) + _setter("inherited", inherited) + _setter("name", name) + _setter("object", object) + _setter("owner", owner) + _setter("schema_type", schema_type) @property @pulumi.getter @@ -21099,10 +26486,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the entire name. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagedDatabaseUserObjectPrivilegesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -21130,7 +26530,16 @@ def __init__(__self__, *, """ :param Sequence['GetManagedDatabaseUserObjectPrivilegesObjectPrivilegeCollectionItemArgs'] items: An array of object privileges. """ - pulumi.set(__self__, "items", items) + GetManagedDatabaseUserObjectPrivilegesObjectPrivilegeCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetManagedDatabaseUserObjectPrivilegesObjectPrivilegeCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -21164,15 +26573,40 @@ def __init__(__self__, *, :param str owner: The owner of the object. :param str schema_type: The type of object. """ - pulumi.set(__self__, "common", common) - pulumi.set(__self__, "grant_option", grant_option) - pulumi.set(__self__, "grantor", grantor) - pulumi.set(__self__, "hierarchy", hierarchy) - pulumi.set(__self__, "inherited", inherited) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "object", object) - pulumi.set(__self__, "owner", owner) - pulumi.set(__self__, "schema_type", schema_type) + GetManagedDatabaseUserObjectPrivilegesObjectPrivilegeCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + common=common, + grant_option=grant_option, + grantor=grantor, + hierarchy=hierarchy, + inherited=inherited, + name=name, + object=object, + owner=owner, + schema_type=schema_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + common: str, + grant_option: str, + grantor: str, + hierarchy: str, + inherited: str, + name: str, + object: str, + owner: str, + schema_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("common", common) + _setter("grant_option", grant_option) + _setter("grantor", grantor) + _setter("hierarchy", hierarchy) + _setter("inherited", inherited) + _setter("name", name) + _setter("object", object) + _setter("owner", owner) + _setter("schema_type", schema_type) @property @pulumi.getter @@ -21258,9 +26692,22 @@ def __init__(__self__, *, :param str flags: The flags associated with the proxy/client pair. :param str name: A filter to return only resources that match the entire name. """ - pulumi.set(__self__, "authentication", authentication) - pulumi.set(__self__, "flags", flags) - pulumi.set(__self__, "name", name) + GetManagedDatabaseUserProxiedForUserItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + authentication=authentication, + flags=flags, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + authentication: str, + flags: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("authentication", authentication) + _setter("flags", flags) + _setter("name", name) @property @pulumi.getter @@ -21296,10 +26743,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the entire name. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagedDatabaseUserProxiedForUsersFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -21327,7 +26787,16 @@ def __init__(__self__, *, """ :param Sequence['GetManagedDatabaseUserProxiedForUsersProxiedForUserCollectionItemArgs'] items: An array of user resources. """ - pulumi.set(__self__, "items", items) + GetManagedDatabaseUserProxiedForUsersProxiedForUserCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetManagedDatabaseUserProxiedForUsersProxiedForUserCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -21349,9 +26818,22 @@ def __init__(__self__, *, :param str flags: The flags associated with the proxy/client pair. :param str name: A filter to return only resources that match the entire name. """ - pulumi.set(__self__, "authentication", authentication) - pulumi.set(__self__, "flags", flags) - pulumi.set(__self__, "name", name) + GetManagedDatabaseUserProxiedForUsersProxiedForUserCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + authentication=authentication, + flags=flags, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + authentication: str, + flags: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("authentication", authentication) + _setter("flags", flags) + _setter("name", name) @property @pulumi.getter @@ -21395,12 +26877,31 @@ def __init__(__self__, *, :param str inherited: Indicates whether the granted role is inherited from another container (YES) or not (NO). :param str name: A filter to return only resources that match the entire name. """ - pulumi.set(__self__, "admin_option", admin_option) - pulumi.set(__self__, "common", common) - pulumi.set(__self__, "default_role", default_role) - pulumi.set(__self__, "delegate_option", delegate_option) - pulumi.set(__self__, "inherited", inherited) - pulumi.set(__self__, "name", name) + GetManagedDatabaseUserRoleItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + admin_option=admin_option, + common=common, + default_role=default_role, + delegate_option=delegate_option, + inherited=inherited, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + admin_option: str, + common: str, + default_role: str, + delegate_option: str, + inherited: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("admin_option", admin_option) + _setter("common", common) + _setter("default_role", default_role) + _setter("delegate_option", delegate_option) + _setter("inherited", inherited) + _setter("name", name) @property @pulumi.getter(name="adminOption") @@ -21460,10 +26961,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the entire name. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagedDatabaseUserRolesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -21491,7 +27005,16 @@ def __init__(__self__, *, """ :param Sequence['GetManagedDatabaseUserRolesRoleCollectionItemArgs'] items: An array of roles. """ - pulumi.set(__self__, "items", items) + GetManagedDatabaseUserRolesRoleCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetManagedDatabaseUserRolesRoleCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -21519,12 +27042,31 @@ def __init__(__self__, *, :param str inherited: Indicates whether the granted role is inherited from another container (YES) or not (NO). :param str name: A filter to return only resources that match the entire name. """ - pulumi.set(__self__, "admin_option", admin_option) - pulumi.set(__self__, "common", common) - pulumi.set(__self__, "default_role", default_role) - pulumi.set(__self__, "delegate_option", delegate_option) - pulumi.set(__self__, "inherited", inherited) - pulumi.set(__self__, "name", name) + GetManagedDatabaseUserRolesRoleCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + admin_option=admin_option, + common=common, + default_role=default_role, + delegate_option=delegate_option, + inherited=inherited, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + admin_option: str, + common: str, + default_role: str, + delegate_option: str, + inherited: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("admin_option", admin_option) + _setter("common", common) + _setter("default_role", default_role) + _setter("delegate_option", delegate_option) + _setter("inherited", inherited) + _setter("name", name) @property @pulumi.getter(name="adminOption") @@ -21584,10 +27126,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the entire name. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagedDatabaseUsersFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -21612,7 +27167,16 @@ def regex(self) -> Optional[bool]: class GetManagedDatabaseUsersUserCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetManagedDatabaseUsersUserCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetManagedDatabaseUsersUserCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetManagedDatabaseUsersUserCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -21673,30 +27237,85 @@ def __init__(__self__, *, :param str time_locked: The date the account was locked, if the status of the account is LOCKED. :param str time_password_changed: The date and time when the user password was last set. This column is populated only when the value of the AUTHENTICATION_TYPE column is PASSWORD. Otherwise, this column is null. """ - pulumi.set(__self__, "all_shared", all_shared) - pulumi.set(__self__, "authentication", authentication) - pulumi.set(__self__, "common", common) - pulumi.set(__self__, "consumer_group", consumer_group) - pulumi.set(__self__, "default_collation", default_collation) - pulumi.set(__self__, "default_tablespace", default_tablespace) - pulumi.set(__self__, "editions_enabled", editions_enabled) - pulumi.set(__self__, "external_name", external_name) - pulumi.set(__self__, "external_shared", external_shared) - pulumi.set(__self__, "implicit", implicit) - pulumi.set(__self__, "inherited", inherited) - pulumi.set(__self__, "local_temp_tablespace", local_temp_tablespace) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "oracle_maintained", oracle_maintained) - pulumi.set(__self__, "password_versions", password_versions) - pulumi.set(__self__, "profile", profile) - pulumi.set(__self__, "proxy_connect", proxy_connect) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "temp_tablespace", temp_tablespace) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_expiring", time_expiring) - pulumi.set(__self__, "time_last_login", time_last_login) - pulumi.set(__self__, "time_locked", time_locked) - pulumi.set(__self__, "time_password_changed", time_password_changed) + GetManagedDatabaseUsersUserCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + all_shared=all_shared, + authentication=authentication, + common=common, + consumer_group=consumer_group, + default_collation=default_collation, + default_tablespace=default_tablespace, + editions_enabled=editions_enabled, + external_name=external_name, + external_shared=external_shared, + implicit=implicit, + inherited=inherited, + local_temp_tablespace=local_temp_tablespace, + name=name, + oracle_maintained=oracle_maintained, + password_versions=password_versions, + profile=profile, + proxy_connect=proxy_connect, + status=status, + temp_tablespace=temp_tablespace, + time_created=time_created, + time_expiring=time_expiring, + time_last_login=time_last_login, + time_locked=time_locked, + time_password_changed=time_password_changed, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + all_shared: str, + authentication: str, + common: str, + consumer_group: str, + default_collation: str, + default_tablespace: str, + editions_enabled: str, + external_name: str, + external_shared: str, + implicit: str, + inherited: str, + local_temp_tablespace: str, + name: str, + oracle_maintained: str, + password_versions: str, + profile: str, + proxy_connect: str, + status: str, + temp_tablespace: str, + time_created: str, + time_expiring: str, + time_last_login: str, + time_locked: str, + time_password_changed: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("all_shared", all_shared) + _setter("authentication", authentication) + _setter("common", common) + _setter("consumer_group", consumer_group) + _setter("default_collation", default_collation) + _setter("default_tablespace", default_tablespace) + _setter("editions_enabled", editions_enabled) + _setter("external_name", external_name) + _setter("external_shared", external_shared) + _setter("implicit", implicit) + _setter("inherited", inherited) + _setter("local_temp_tablespace", local_temp_tablespace) + _setter("name", name) + _setter("oracle_maintained", oracle_maintained) + _setter("password_versions", password_versions) + _setter("profile", profile) + _setter("proxy_connect", proxy_connect) + _setter("status", status) + _setter("temp_tablespace", temp_tablespace) + _setter("time_created", time_created) + _setter("time_expiring", time_expiring) + _setter("time_last_login", time_last_login) + _setter("time_locked", time_locked) + _setter("time_password_changed", time_password_changed) @property @pulumi.getter(name="allShared") @@ -21898,7 +27517,16 @@ def __init__(__self__, *, """ :param Sequence['GetManagedDatabasesAsmPropertiesAsmPropertyCollectionItemArgs'] items: An array of AsmPropertySummary resources. """ - pulumi.set(__self__, "items", items) + GetManagedDatabasesAsmPropertiesAsmPropertyCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetManagedDatabasesAsmPropertiesAsmPropertyCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -21916,7 +27544,16 @@ def __init__(__self__, *, """ :param str disk_group: The name of the disk group. """ - pulumi.set(__self__, "disk_group", disk_group) + GetManagedDatabasesAsmPropertiesAsmPropertyCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + disk_group=disk_group, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + disk_group: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("disk_group", disk_group) @property @pulumi.getter(name="diskGroup") @@ -21936,10 +27573,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the entire name. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagedDatabasesAsmPropertiesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -21967,7 +27617,16 @@ def __init__(__self__, *, """ :param str disk_group: The name of the disk group. """ - pulumi.set(__self__, "disk_group", disk_group) + GetManagedDatabasesAsmPropertyItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + disk_group=disk_group, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + disk_group: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("disk_group", disk_group) @property @pulumi.getter(name="diskGroup") @@ -22032,29 +27691,82 @@ def __init__(__self__, *, :param str update_comment: The comments associated with the most recent update. :param str value: The parameter value. """ - pulumi.set(__self__, "allowed_values", allowed_values) - pulumi.set(__self__, "category", category) - pulumi.set(__self__, "constraint", constraint) - pulumi.set(__self__, "container_id", container_id) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_value", display_value) - pulumi.set(__self__, "is_adjusted", is_adjusted) - pulumi.set(__self__, "is_basic", is_basic) - pulumi.set(__self__, "is_default", is_default) - pulumi.set(__self__, "is_deprecated", is_deprecated) - pulumi.set(__self__, "is_instance_modifiable", is_instance_modifiable) - pulumi.set(__self__, "is_modified", is_modified) - pulumi.set(__self__, "is_pdb_modifiable", is_pdb_modifiable) - pulumi.set(__self__, "is_session_modifiable", is_session_modifiable) - pulumi.set(__self__, "is_specified", is_specified) - pulumi.set(__self__, "is_system_modifiable", is_system_modifiable) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "number", number) - pulumi.set(__self__, "ordinal", ordinal) - pulumi.set(__self__, "sid", sid) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "update_comment", update_comment) - pulumi.set(__self__, "value", value) + GetManagedDatabasesDatabaseParameterItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_values=allowed_values, + category=category, + constraint=constraint, + container_id=container_id, + description=description, + display_value=display_value, + is_adjusted=is_adjusted, + is_basic=is_basic, + is_default=is_default, + is_deprecated=is_deprecated, + is_instance_modifiable=is_instance_modifiable, + is_modified=is_modified, + is_pdb_modifiable=is_pdb_modifiable, + is_session_modifiable=is_session_modifiable, + is_specified=is_specified, + is_system_modifiable=is_system_modifiable, + name=name, + number=number, + ordinal=ordinal, + sid=sid, + type=type, + update_comment=update_comment, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_values: Sequence['outputs.GetManagedDatabasesDatabaseParameterItemAllowedValueResult'], + category: str, + constraint: str, + container_id: float, + description: str, + display_value: str, + is_adjusted: bool, + is_basic: bool, + is_default: bool, + is_deprecated: bool, + is_instance_modifiable: bool, + is_modified: str, + is_pdb_modifiable: bool, + is_session_modifiable: bool, + is_specified: bool, + is_system_modifiable: str, + name: str, + number: float, + ordinal: float, + sid: str, + type: str, + update_comment: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allowed_values", allowed_values) + _setter("category", category) + _setter("constraint", constraint) + _setter("container_id", container_id) + _setter("description", description) + _setter("display_value", display_value) + _setter("is_adjusted", is_adjusted) + _setter("is_basic", is_basic) + _setter("is_default", is_default) + _setter("is_deprecated", is_deprecated) + _setter("is_instance_modifiable", is_instance_modifiable) + _setter("is_modified", is_modified) + _setter("is_pdb_modifiable", is_pdb_modifiable) + _setter("is_session_modifiable", is_session_modifiable) + _setter("is_specified", is_specified) + _setter("is_system_modifiable", is_system_modifiable) + _setter("name", name) + _setter("number", number) + _setter("ordinal", ordinal) + _setter("sid", sid) + _setter("type", type) + _setter("update_comment", update_comment) + _setter("value", value) @property @pulumi.getter(name="allowedValues") @@ -22255,9 +27967,22 @@ def __init__(__self__, *, :param float ordinal: The position (ordinal number) of the parameter value. Useful only for parameters whose values are lists of strings. :param str value: The parameter value. """ - pulumi.set(__self__, "is_default", is_default) - pulumi.set(__self__, "ordinal", ordinal) - pulumi.set(__self__, "value", value) + GetManagedDatabasesDatabaseParameterItemAllowedValueResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_default=is_default, + ordinal=ordinal, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_default: bool, + ordinal: float, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_default", is_default) + _setter("ordinal", ordinal) + _setter("value", value) @property @pulumi.getter(name="isDefault") @@ -22299,11 +28024,28 @@ def __init__(__self__, *, :param str database_version: The Oracle Database version. :param Sequence['GetManagedDatabasesDatabaseParametersDatabaseParametersCollectionItemArgs'] items: An array of DatabaseParameterSummary objects. """ - pulumi.set(__self__, "database_name", database_name) - pulumi.set(__self__, "database_sub_type", database_sub_type) - pulumi.set(__self__, "database_type", database_type) - pulumi.set(__self__, "database_version", database_version) - pulumi.set(__self__, "items", items) + GetManagedDatabasesDatabaseParametersDatabaseParametersCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + database_name=database_name, + database_sub_type=database_sub_type, + database_type=database_type, + database_version=database_version, + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + database_name: str, + database_sub_type: str, + database_type: str, + database_version: str, + items: Sequence['outputs.GetManagedDatabasesDatabaseParametersDatabaseParametersCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("database_name", database_name) + _setter("database_sub_type", database_sub_type) + _setter("database_type", database_type) + _setter("database_version", database_version) + _setter("items", items) @property @pulumi.getter(name="databaseName") @@ -22400,29 +28142,82 @@ def __init__(__self__, *, :param str update_comment: The comments associated with the most recent update. :param str value: The parameter value. """ - pulumi.set(__self__, "allowed_values", allowed_values) - pulumi.set(__self__, "category", category) - pulumi.set(__self__, "constraint", constraint) - pulumi.set(__self__, "container_id", container_id) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_value", display_value) - pulumi.set(__self__, "is_adjusted", is_adjusted) - pulumi.set(__self__, "is_basic", is_basic) - pulumi.set(__self__, "is_default", is_default) - pulumi.set(__self__, "is_deprecated", is_deprecated) - pulumi.set(__self__, "is_instance_modifiable", is_instance_modifiable) - pulumi.set(__self__, "is_modified", is_modified) - pulumi.set(__self__, "is_pdb_modifiable", is_pdb_modifiable) - pulumi.set(__self__, "is_session_modifiable", is_session_modifiable) - pulumi.set(__self__, "is_specified", is_specified) - pulumi.set(__self__, "is_system_modifiable", is_system_modifiable) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "number", number) - pulumi.set(__self__, "ordinal", ordinal) - pulumi.set(__self__, "sid", sid) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "update_comment", update_comment) - pulumi.set(__self__, "value", value) + GetManagedDatabasesDatabaseParametersDatabaseParametersCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_values=allowed_values, + category=category, + constraint=constraint, + container_id=container_id, + description=description, + display_value=display_value, + is_adjusted=is_adjusted, + is_basic=is_basic, + is_default=is_default, + is_deprecated=is_deprecated, + is_instance_modifiable=is_instance_modifiable, + is_modified=is_modified, + is_pdb_modifiable=is_pdb_modifiable, + is_session_modifiable=is_session_modifiable, + is_specified=is_specified, + is_system_modifiable=is_system_modifiable, + name=name, + number=number, + ordinal=ordinal, + sid=sid, + type=type, + update_comment=update_comment, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_values: Sequence['outputs.GetManagedDatabasesDatabaseParametersDatabaseParametersCollectionItemAllowedValueResult'], + category: str, + constraint: str, + container_id: float, + description: str, + display_value: str, + is_adjusted: bool, + is_basic: bool, + is_default: bool, + is_deprecated: bool, + is_instance_modifiable: bool, + is_modified: str, + is_pdb_modifiable: bool, + is_session_modifiable: bool, + is_specified: bool, + is_system_modifiable: str, + name: str, + number: float, + ordinal: float, + sid: str, + type: str, + update_comment: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allowed_values", allowed_values) + _setter("category", category) + _setter("constraint", constraint) + _setter("container_id", container_id) + _setter("description", description) + _setter("display_value", display_value) + _setter("is_adjusted", is_adjusted) + _setter("is_basic", is_basic) + _setter("is_default", is_default) + _setter("is_deprecated", is_deprecated) + _setter("is_instance_modifiable", is_instance_modifiable) + _setter("is_modified", is_modified) + _setter("is_pdb_modifiable", is_pdb_modifiable) + _setter("is_session_modifiable", is_session_modifiable) + _setter("is_specified", is_specified) + _setter("is_system_modifiable", is_system_modifiable) + _setter("name", name) + _setter("number", number) + _setter("ordinal", ordinal) + _setter("sid", sid) + _setter("type", type) + _setter("update_comment", update_comment) + _setter("value", value) @property @pulumi.getter(name="allowedValues") @@ -22623,9 +28418,22 @@ def __init__(__self__, *, :param float ordinal: The position (ordinal number) of the parameter value. Useful only for parameters whose values are lists of strings. :param str value: The parameter value. """ - pulumi.set(__self__, "is_default", is_default) - pulumi.set(__self__, "ordinal", ordinal) - pulumi.set(__self__, "value", value) + GetManagedDatabasesDatabaseParametersDatabaseParametersCollectionItemAllowedValueResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_default=is_default, + ordinal=ordinal, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_default: bool, + ordinal: float, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_default", is_default) + _setter("ordinal", ordinal) + _setter("value", value) @property @pulumi.getter(name="isDefault") @@ -22661,10 +28469,23 @@ def __init__(__self__, *, """ :param str name: A filter to return all parameters that have the text given in their names. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagedDatabasesDatabaseParametersFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -22694,10 +28515,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the entire name. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagedDatabasesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -22722,7 +28556,16 @@ def regex(self) -> Optional[bool]: class GetManagedDatabasesManagedDatabaseCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetManagedDatabasesManagedDatabaseCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetManagedDatabasesManagedDatabaseCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetManagedDatabasesManagedDatabaseCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -22767,22 +28610,61 @@ def __init__(__self__, *, :param str time_created: The date and time the Managed Database was created. :param str workload_type: The workload type of the Autonomous Database. """ - pulumi.set(__self__, "additional_details", additional_details) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "database_status", database_status) - pulumi.set(__self__, "database_sub_type", database_sub_type) - pulumi.set(__self__, "database_type", database_type) - pulumi.set(__self__, "db_system_id", db_system_id) - pulumi.set(__self__, "deployment_type", deployment_type) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_cluster", is_cluster) - pulumi.set(__self__, "managed_database_groups", managed_database_groups) - pulumi.set(__self__, "management_option", management_option) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "parent_container_id", parent_container_id) - pulumi.set(__self__, "storage_system_id", storage_system_id) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "workload_type", workload_type) + GetManagedDatabasesManagedDatabaseCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + additional_details=additional_details, + compartment_id=compartment_id, + database_status=database_status, + database_sub_type=database_sub_type, + database_type=database_type, + db_system_id=db_system_id, + deployment_type=deployment_type, + id=id, + is_cluster=is_cluster, + managed_database_groups=managed_database_groups, + management_option=management_option, + name=name, + parent_container_id=parent_container_id, + storage_system_id=storage_system_id, + time_created=time_created, + workload_type=workload_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + additional_details: Mapping[str, Any], + compartment_id: str, + database_status: str, + database_sub_type: str, + database_type: str, + db_system_id: str, + deployment_type: str, + id: str, + is_cluster: bool, + managed_database_groups: Sequence['outputs.GetManagedDatabasesManagedDatabaseCollectionItemManagedDatabaseGroupResult'], + management_option: str, + name: str, + parent_container_id: str, + storage_system_id: str, + time_created: str, + workload_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("additional_details", additional_details) + _setter("compartment_id", compartment_id) + _setter("database_status", database_status) + _setter("database_sub_type", database_sub_type) + _setter("database_type", database_type) + _setter("db_system_id", db_system_id) + _setter("deployment_type", deployment_type) + _setter("id", id) + _setter("is_cluster", is_cluster) + _setter("managed_database_groups", managed_database_groups) + _setter("management_option", management_option) + _setter("name", name) + _setter("parent_container_id", parent_container_id) + _setter("storage_system_id", storage_system_id) + _setter("time_created", time_created) + _setter("workload_type", workload_type) @property @pulumi.getter(name="additionalDetails") @@ -22924,9 +28806,22 @@ def __init__(__self__, *, :param str id: The identifier of the resource. :param str name: A filter to return only resources that match the entire name. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "name", name) + GetManagedDatabasesManagedDatabaseCollectionItemManagedDatabaseGroupResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + id=id, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + id: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("id", id) + _setter("name", name) @property @pulumi.getter(name="compartmentId") @@ -22964,9 +28859,22 @@ def __init__(__self__, *, :param str flags: The flags associated with the proxy/client pair. :param str name: A filter to return only resources that match the entire name. """ - pulumi.set(__self__, "authentication", authentication) - pulumi.set(__self__, "flags", flags) - pulumi.set(__self__, "name", name) + GetManagedDatabasesUserProxyUserItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + authentication=authentication, + flags=flags, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + authentication: str, + flags: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("authentication", authentication) + _setter("flags", flags) + _setter("name", name) @property @pulumi.getter @@ -23002,10 +28910,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the entire name. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagedDatabasesUserProxyUsersFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -23033,7 +28954,16 @@ def __init__(__self__, *, """ :param Sequence['GetManagedDatabasesUserProxyUsersProxyUserCollectionItemArgs'] items: An array of user resources. """ - pulumi.set(__self__, "items", items) + GetManagedDatabasesUserProxyUsersProxyUserCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetManagedDatabasesUserProxyUsersProxyUserCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -23055,9 +28985,22 @@ def __init__(__self__, *, :param str flags: The flags associated with the proxy/client pair. :param str name: A filter to return only resources that match the entire name. """ - pulumi.set(__self__, "authentication", authentication) - pulumi.set(__self__, "flags", flags) - pulumi.set(__self__, "name", name) + GetManagedDatabasesUserProxyUsersProxyUserCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + authentication=authentication, + flags=flags, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + authentication: str, + flags: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("authentication", authentication) + _setter("flags", flags) + _setter("name", name) @property @pulumi.getter @@ -23097,10 +29040,25 @@ def __init__(__self__, *, :param str inherited: Indicates whether the granted system privilege is inherited from another container (YES) or not (NO). :param str name: A filter to return only resources that match the entire name. """ - pulumi.set(__self__, "admin_option", admin_option) - pulumi.set(__self__, "common", common) - pulumi.set(__self__, "inherited", inherited) - pulumi.set(__self__, "name", name) + GetManagedDatabasesUserSystemPrivilegeItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + admin_option=admin_option, + common=common, + inherited=inherited, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + admin_option: str, + common: str, + inherited: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("admin_option", admin_option) + _setter("common", common) + _setter("inherited", inherited) + _setter("name", name) @property @pulumi.getter(name="adminOption") @@ -23144,10 +29102,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the entire name. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagedDatabasesUserSystemPrivilegesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -23175,7 +29146,16 @@ def __init__(__self__, *, """ :param Sequence['GetManagedDatabasesUserSystemPrivilegesSystemPrivilegeCollectionItemArgs'] items: An array of system privileges. """ - pulumi.set(__self__, "items", items) + GetManagedDatabasesUserSystemPrivilegesSystemPrivilegeCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetManagedDatabasesUserSystemPrivilegesSystemPrivilegeCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -23199,10 +29179,25 @@ def __init__(__self__, *, :param str inherited: Indicates whether the granted system privilege is inherited from another container (YES) or not (NO). :param str name: A filter to return only resources that match the entire name. """ - pulumi.set(__self__, "admin_option", admin_option) - pulumi.set(__self__, "common", common) - pulumi.set(__self__, "inherited", inherited) - pulumi.set(__self__, "name", name) + GetManagedDatabasesUserSystemPrivilegesSystemPrivilegeCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + admin_option=admin_option, + common=common, + inherited=inherited, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + admin_option: str, + common: str, + inherited: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("admin_option", admin_option) + _setter("common", common) + _setter("inherited", inherited) + _setter("name", name) @property @pulumi.getter(name="adminOption") diff --git a/sdk/python/pulumi_oci/databasemigration/_inputs.py b/sdk/python/pulumi_oci/databasemigration/_inputs.py index e811312652..026b1e67ba 100644 --- a/sdk/python/pulumi_oci/databasemigration/_inputs.py +++ b/sdk/python/pulumi_oci/databasemigration/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -26,6 +26,8 @@ 'MigrationDataTransferMediumDetailsDatabaseLinkDetailsArgs', 'MigrationDataTransferMediumDetailsDatabaseLinkDetailsWalletBucketArgs', 'MigrationDataTransferMediumDetailsObjectStorageDetailsArgs', + 'MigrationDataTransferMediumDetailsV2Args', + 'MigrationDataTransferMediumDetailsV2ObjectStorageBucketArgs', 'MigrationDatapumpSettingsArgs', 'MigrationDatapumpSettingsDataPumpParametersArgs', 'MigrationDatapumpSettingsExportDirectoryObjectArgs', @@ -70,8 +72,19 @@ def __init__(__self__, *, :param pulumi.Input[str] password: (Updatable) Administrator password :param pulumi.Input[str] username: (Updatable) Administrator username """ - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "username", username) + ConnectionAdminCredentialsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + password=password, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + password: pulumi.Input[str], + username: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("password", password) + _setter("username", username) @property @pulumi.getter @@ -111,14 +124,29 @@ def __init__(__self__, *, :param pulumi.Input[str] host: (Updatable) Name of the host the SSH key is valid for. :param pulumi.Input[int] port: (Updatable) Port of the connect descriptor. Required if no connectString was specified. """ + ConnectionConnectDescriptorArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + connect_string=connect_string, + database_service_name=database_service_name, + host=host, + port=port, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + connect_string: Optional[pulumi.Input[str]] = None, + database_service_name: Optional[pulumi.Input[str]] = None, + host: Optional[pulumi.Input[str]] = None, + port: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if connect_string is not None: - pulumi.set(__self__, "connect_string", connect_string) + _setter("connect_string", connect_string) if database_service_name is not None: - pulumi.set(__self__, "database_service_name", database_service_name) + _setter("database_service_name", database_service_name) if host is not None: - pulumi.set(__self__, "host", host) + _setter("host", host) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) @property @pulumi.getter(name="connectString") @@ -182,11 +210,26 @@ def __init__(__self__, *, :param pulumi.Input[str] vcn_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN where the Private Endpoint will be bound to. :param pulumi.Input[str] id: [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a previously created Private Endpoint. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "vcn_id", vcn_id) + ConnectionPrivateEndpointArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + subnet_id=subnet_id, + vcn_id=vcn_id, + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + subnet_id: pulumi.Input[str], + vcn_id: pulumi.Input[str], + id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("subnet_id", subnet_id) + _setter("vcn_id", vcn_id) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) @property @pulumi.getter(name="compartmentId") @@ -246,8 +289,19 @@ def __init__(__self__, *, :param pulumi.Input[str] password: (Updatable) Administrator password :param pulumi.Input[str] username: (Updatable) Administrator username """ - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "username", username) + ConnectionReplicationCredentialsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + password=password, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + password: pulumi.Input[str], + username: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("password", password) + _setter("username", username) @property @pulumi.getter @@ -287,11 +341,26 @@ def __init__(__self__, *, :param pulumi.Input[str] user: (Updatable) SSH user :param pulumi.Input[str] sudo_location: (Updatable) Sudo location """ - pulumi.set(__self__, "host", host) - pulumi.set(__self__, "sshkey", sshkey) - pulumi.set(__self__, "user", user) + ConnectionSshDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + host=host, + sshkey=sshkey, + user=user, + sudo_location=sudo_location, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host: pulumi.Input[str], + sshkey: pulumi.Input[str], + user: pulumi.Input[str], + sudo_location: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("host", host) + _setter("sshkey", sshkey) + _setter("user", user) if sudo_location is not None: - pulumi.set(__self__, "sudo_location", sudo_location) + _setter("sudo_location", sudo_location) @property @pulumi.getter @@ -357,9 +426,22 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "key_id", key_id) - pulumi.set(__self__, "vault_id", vault_id) + ConnectionVaultDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + key_id=key_id, + vault_id=vault_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + key_id: pulumi.Input[str], + vault_id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("key_id", key_id) + _setter("vault_id", vault_id) @property @pulumi.getter(name="compartmentId") @@ -413,12 +495,25 @@ def __init__(__self__, *, :param pulumi.Input[str] current_status: Current status of the job. :param pulumi.Input[Sequence[pulumi.Input['JobProgressPhaseArgs']]] phases: List of phase status for the job. """ + JobProgressArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + current_phase=current_phase, + current_status=current_status, + phases=phases, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + current_phase: Optional[pulumi.Input[str]] = None, + current_status: Optional[pulumi.Input[str]] = None, + phases: Optional[pulumi.Input[Sequence[pulumi.Input['JobProgressPhaseArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if current_phase is not None: - pulumi.set(__self__, "current_phase", current_phase) + _setter("current_phase", current_phase) if current_status is not None: - pulumi.set(__self__, "current_status", current_status) + _setter("current_status", current_status) if phases is not None: - pulumi.set(__self__, "phases", phases) + _setter("phases", phases) @property @pulumi.getter(name="currentPhase") @@ -480,24 +575,49 @@ def __init__(__self__, *, :param pulumi.Input[int] progress: Percent progress of job phase. :param pulumi.Input[str] status: Phase status """ + JobProgressPhaseArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + duration_in_ms=duration_in_ms, + extracts=extracts, + is_advisor_report_available=is_advisor_report_available, + issue=issue, + log_locations=log_locations, + name=name, + progress=progress, + status=status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: Optional[pulumi.Input[str]] = None, + duration_in_ms: Optional[pulumi.Input[int]] = None, + extracts: Optional[pulumi.Input[Sequence[pulumi.Input['JobProgressPhaseExtractArgs']]]] = None, + is_advisor_report_available: Optional[pulumi.Input[bool]] = None, + issue: Optional[pulumi.Input[str]] = None, + log_locations: Optional[pulumi.Input[Sequence[pulumi.Input['JobProgressPhaseLogLocationArgs']]]] = None, + name: Optional[pulumi.Input[str]] = None, + progress: Optional[pulumi.Input[int]] = None, + status: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if action is not None: - pulumi.set(__self__, "action", action) + _setter("action", action) if duration_in_ms is not None: - pulumi.set(__self__, "duration_in_ms", duration_in_ms) + _setter("duration_in_ms", duration_in_ms) if extracts is not None: - pulumi.set(__self__, "extracts", extracts) + _setter("extracts", extracts) if is_advisor_report_available is not None: - pulumi.set(__self__, "is_advisor_report_available", is_advisor_report_available) + _setter("is_advisor_report_available", is_advisor_report_available) if issue is not None: - pulumi.set(__self__, "issue", issue) + _setter("issue", issue) if log_locations is not None: - pulumi.set(__self__, "log_locations", log_locations) + _setter("log_locations", log_locations) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if progress is not None: - pulumi.set(__self__, "progress", progress) + _setter("progress", progress) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) @property @pulumi.getter @@ -617,10 +737,21 @@ def __init__(__self__, *, :param pulumi.Input[str] message: Message in entry. :param pulumi.Input[str] type: Type of unsupported object """ + JobProgressPhaseExtractArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + message=message, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + message: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if message is not None: - pulumi.set(__self__, "message", message) + _setter("message", message) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -658,12 +789,25 @@ def __init__(__self__, *, :param pulumi.Input[str] namespace: Object Storage namespace. :param pulumi.Input[str] object: Name of the object (regular expression is allowed) """ + JobProgressPhaseLogLocationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + namespace=namespace, + object=object, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: Optional[pulumi.Input[str]] = None, + namespace: Optional[pulumi.Input[str]] = None, + object: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if bucket is not None: - pulumi.set(__self__, "bucket", bucket) + _setter("bucket", bucket) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if object is not None: - pulumi.set(__self__, "object", object) + _setter("object", object) @property @pulumi.getter @@ -713,12 +857,25 @@ def __init__(__self__, *, :param pulumi.Input[str] owner: Owner of the object (regular expression is allowed) :param pulumi.Input[str] type: Type of unsupported object """ + JobUnsupportedObjectArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + object=object, + owner=owner, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + object: Optional[pulumi.Input[str]] = None, + owner: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if object is not None: - pulumi.set(__self__, "object", object) + _setter("object", object) if owner is not None: - pulumi.set(__self__, "owner", owner) + _setter("owner", owner) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -766,10 +923,21 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_ignore_errors: (Updatable) True to not interrupt migration execution due to Pre-Migration Advisor errors. Default is false. :param pulumi.Input[bool] is_skip_advisor: (Updatable) True to skip the Pre-Migration Advisor execution. Default is false. """ + MigrationAdvisorSettingsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_ignore_errors=is_ignore_errors, + is_skip_advisor=is_skip_advisor, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_ignore_errors: Optional[pulumi.Input[bool]] = None, + is_skip_advisor: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_ignore_errors is not None: - pulumi.set(__self__, "is_ignore_errors", is_ignore_errors) + _setter("is_ignore_errors", is_ignore_errors) if is_skip_advisor is not None: - pulumi.set(__self__, "is_skip_advisor", is_skip_advisor) + _setter("is_skip_advisor", is_skip_advisor) @property @pulumi.getter(name="isIgnoreErrors") @@ -805,10 +973,21 @@ def __init__(__self__, *, :param pulumi.Input['MigrationDataTransferMediumDetailsDatabaseLinkDetailsArgs'] database_link_details: (Updatable) Optional details for creating a network database link from Oracle Cloud Infrastructure database to on-premise database. :param pulumi.Input['MigrationDataTransferMediumDetailsObjectStorageDetailsArgs'] object_storage_details: (Updatable) In lieu of a network database link, Oracle Cloud Infrastructure Object Storage bucket will be used to store Data Pump dump files for the migration. Additionally, it can be specified alongside a database link data transfer medium. """ + MigrationDataTransferMediumDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + database_link_details=database_link_details, + object_storage_details=object_storage_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + database_link_details: Optional[pulumi.Input['MigrationDataTransferMediumDetailsDatabaseLinkDetailsArgs']] = None, + object_storage_details: Optional[pulumi.Input['MigrationDataTransferMediumDetailsObjectStorageDetailsArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if database_link_details is not None: - pulumi.set(__self__, "database_link_details", database_link_details) + _setter("database_link_details", database_link_details) if object_storage_details is not None: - pulumi.set(__self__, "object_storage_details", object_storage_details) + _setter("object_storage_details", object_storage_details) @property @pulumi.getter(name="databaseLinkDetails") @@ -844,10 +1023,21 @@ def __init__(__self__, *, :param pulumi.Input[str] name: (Updatable) Name of directory object in database :param pulumi.Input['MigrationDataTransferMediumDetailsDatabaseLinkDetailsWalletBucketArgs'] wallet_bucket: (Updatable) In lieu of a network database link, Oracle Cloud Infrastructure Object Storage bucket will be used to store Data Pump dump files for the migration. Additionally, it can be specified alongside a database link data transfer medium. """ + MigrationDataTransferMediumDetailsDatabaseLinkDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + wallet_bucket=wallet_bucket, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[pulumi.Input[str]] = None, + wallet_bucket: Optional[pulumi.Input['MigrationDataTransferMediumDetailsDatabaseLinkDetailsWalletBucketArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if wallet_bucket is not None: - pulumi.set(__self__, "wallet_bucket", wallet_bucket) + _setter("wallet_bucket", wallet_bucket) @property @pulumi.getter @@ -883,8 +1073,19 @@ def __init__(__self__, *, :param pulumi.Input[str] bucket: (Updatable) Bucket name. :param pulumi.Input[str] namespace: (Updatable) Namespace name of the object store bucket. """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "namespace", namespace) + MigrationDataTransferMediumDetailsDatabaseLinkDetailsWalletBucketArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + namespace=namespace, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: pulumi.Input[str], + namespace: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("namespace", namespace) @property @pulumi.getter @@ -920,8 +1121,19 @@ def __init__(__self__, *, :param pulumi.Input[str] bucket: (Updatable) Bucket name. :param pulumi.Input[str] namespace: (Updatable) Namespace name of the object store bucket. """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "namespace", namespace) + MigrationDataTransferMediumDetailsObjectStorageDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + namespace=namespace, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: pulumi.Input[str], + namespace: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("namespace", namespace) @property @pulumi.getter @@ -948,6 +1160,161 @@ def namespace(self, value: pulumi.Input[str]): pulumi.set(self, "namespace", value) +@pulumi.input_type +class MigrationDataTransferMediumDetailsV2Args: + def __init__(__self__, *, + type: pulumi.Input[str], + access_key_id: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + object_storage_bucket: Optional[pulumi.Input['MigrationDataTransferMediumDetailsV2ObjectStorageBucketArgs']] = None, + region: Optional[pulumi.Input[str]] = None, + secret_access_key: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] type: (Updatable) Migration type. + :param pulumi.Input[str] name: (Updatable) Name of directory object in database + """ + MigrationDataTransferMediumDetailsV2Args._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + access_key_id=access_key_id, + name=name, + object_storage_bucket=object_storage_bucket, + region=region, + secret_access_key=secret_access_key, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + access_key_id: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + object_storage_bucket: Optional[pulumi.Input['MigrationDataTransferMediumDetailsV2ObjectStorageBucketArgs']] = None, + region: Optional[pulumi.Input[str]] = None, + secret_access_key: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + if access_key_id is not None: + _setter("access_key_id", access_key_id) + if name is not None: + _setter("name", name) + if object_storage_bucket is not None: + _setter("object_storage_bucket", object_storage_bucket) + if region is not None: + _setter("region", region) + if secret_access_key is not None: + _setter("secret_access_key", secret_access_key) + + @property + @pulumi.getter + def type(self) -> pulumi.Input[str]: + """ + (Updatable) Migration type. + """ + return pulumi.get(self, "type") + + @type.setter + def type(self, value: pulumi.Input[str]): + pulumi.set(self, "type", value) + + @property + @pulumi.getter(name="accessKeyId") + def access_key_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "access_key_id") + + @access_key_id.setter + def access_key_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "access_key_id", value) + + @property + @pulumi.getter + def name(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) Name of directory object in database + """ + return pulumi.get(self, "name") + + @name.setter + def name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "name", value) + + @property + @pulumi.getter(name="objectStorageBucket") + def object_storage_bucket(self) -> Optional[pulumi.Input['MigrationDataTransferMediumDetailsV2ObjectStorageBucketArgs']]: + return pulumi.get(self, "object_storage_bucket") + + @object_storage_bucket.setter + def object_storage_bucket(self, value: Optional[pulumi.Input['MigrationDataTransferMediumDetailsV2ObjectStorageBucketArgs']]): + pulumi.set(self, "object_storage_bucket", value) + + @property + @pulumi.getter + def region(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "region") + + @region.setter + def region(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "region", value) + + @property + @pulumi.getter(name="secretAccessKey") + def secret_access_key(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "secret_access_key") + + @secret_access_key.setter + def secret_access_key(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "secret_access_key", value) + + +@pulumi.input_type +class MigrationDataTransferMediumDetailsV2ObjectStorageBucketArgs: + def __init__(__self__, *, + bucket: Optional[pulumi.Input[str]] = None, + namespace: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] bucket: (Updatable) Bucket name. + :param pulumi.Input[str] namespace: (Updatable) Namespace name of the object store bucket. + """ + MigrationDataTransferMediumDetailsV2ObjectStorageBucketArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + namespace=namespace, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: Optional[pulumi.Input[str]] = None, + namespace: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if bucket is not None: + _setter("bucket", bucket) + if namespace is not None: + _setter("namespace", namespace) + + @property + @pulumi.getter + def bucket(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) Bucket name. + """ + return pulumi.get(self, "bucket") + + @bucket.setter + def bucket(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "bucket", value) + + @property + @pulumi.getter + def namespace(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) Namespace name of the object store bucket. + """ + return pulumi.get(self, "namespace") + + @namespace.setter + def namespace(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "namespace", value) + + @pulumi.input_type class MigrationDatapumpSettingsArgs: def __init__(__self__, *, @@ -963,16 +1330,33 @@ def __init__(__self__, *, :param pulumi.Input[str] job_mode: (Updatable) Data Pump job mode. Refer to [link text](https://docs.oracle.com/en/database/oracle/oracle-database/19/sutil/oracle-data-pump-export-utility.html#GUID-8E497131-6B9B-4CC8-AA50-35F480CAC2C4) :param pulumi.Input[Sequence[pulumi.Input['MigrationDatapumpSettingsMetadataRemapArgs']]] metadata_remaps: (Updatable) Defines remapping to be applied to objects as they are processed. Refer to [DATA_REMAP](https://docs.oracle.com/en/database/oracle/oracle-database/19/arpls/DBMS_DATAPUMP.html#GUID-E75AAE6F-4EA6-4737-A752-6B62F5E9D460) """ + MigrationDatapumpSettingsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + data_pump_parameters=data_pump_parameters, + export_directory_object=export_directory_object, + import_directory_object=import_directory_object, + job_mode=job_mode, + metadata_remaps=metadata_remaps, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + data_pump_parameters: Optional[pulumi.Input['MigrationDatapumpSettingsDataPumpParametersArgs']] = None, + export_directory_object: Optional[pulumi.Input['MigrationDatapumpSettingsExportDirectoryObjectArgs']] = None, + import_directory_object: Optional[pulumi.Input['MigrationDatapumpSettingsImportDirectoryObjectArgs']] = None, + job_mode: Optional[pulumi.Input[str]] = None, + metadata_remaps: Optional[pulumi.Input[Sequence[pulumi.Input['MigrationDatapumpSettingsMetadataRemapArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if data_pump_parameters is not None: - pulumi.set(__self__, "data_pump_parameters", data_pump_parameters) + _setter("data_pump_parameters", data_pump_parameters) if export_directory_object is not None: - pulumi.set(__self__, "export_directory_object", export_directory_object) + _setter("export_directory_object", export_directory_object) if import_directory_object is not None: - pulumi.set(__self__, "import_directory_object", import_directory_object) + _setter("import_directory_object", import_directory_object) if job_mode is not None: - pulumi.set(__self__, "job_mode", job_mode) + _setter("job_mode", job_mode) if metadata_remaps is not None: - pulumi.set(__self__, "metadata_remaps", metadata_remaps) + _setter("metadata_remaps", metadata_remaps) @property @pulumi.getter(name="dataPumpParameters") @@ -1052,18 +1436,37 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_cluster: (Updatable) Set to false to force Data Pump worker process to run on one instance. :param pulumi.Input[str] table_exists_action: (Updatable) IMPORT: Specifies the action to be performed when data is loaded into a preexisting table. """ + MigrationDatapumpSettingsDataPumpParametersArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + estimate=estimate, + exclude_parameters=exclude_parameters, + export_parallelism_degree=export_parallelism_degree, + import_parallelism_degree=import_parallelism_degree, + is_cluster=is_cluster, + table_exists_action=table_exists_action, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + estimate: Optional[pulumi.Input[str]] = None, + exclude_parameters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + export_parallelism_degree: Optional[pulumi.Input[int]] = None, + import_parallelism_degree: Optional[pulumi.Input[int]] = None, + is_cluster: Optional[pulumi.Input[bool]] = None, + table_exists_action: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if estimate is not None: - pulumi.set(__self__, "estimate", estimate) + _setter("estimate", estimate) if exclude_parameters is not None: - pulumi.set(__self__, "exclude_parameters", exclude_parameters) + _setter("exclude_parameters", exclude_parameters) if export_parallelism_degree is not None: - pulumi.set(__self__, "export_parallelism_degree", export_parallelism_degree) + _setter("export_parallelism_degree", export_parallelism_degree) if import_parallelism_degree is not None: - pulumi.set(__self__, "import_parallelism_degree", import_parallelism_degree) + _setter("import_parallelism_degree", import_parallelism_degree) if is_cluster is not None: - pulumi.set(__self__, "is_cluster", is_cluster) + _setter("is_cluster", is_cluster) if table_exists_action is not None: - pulumi.set(__self__, "table_exists_action", table_exists_action) + _setter("table_exists_action", table_exists_action) @property @pulumi.getter @@ -1147,9 +1550,20 @@ def __init__(__self__, *, :param pulumi.Input[str] name: (Updatable) Name of directory object in database :param pulumi.Input[str] path: (Updatable) Absolute path of directory on database server """ - pulumi.set(__self__, "name", name) + MigrationDatapumpSettingsExportDirectoryObjectArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + path=path, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: pulumi.Input[str], + path: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) if path is not None: - pulumi.set(__self__, "path", path) + _setter("path", path) @property @pulumi.getter @@ -1185,9 +1599,20 @@ def __init__(__self__, *, :param pulumi.Input[str] name: (Updatable) Name of directory object in database :param pulumi.Input[str] path: (Updatable) Absolute path of directory on database server """ - pulumi.set(__self__, "name", name) + MigrationDatapumpSettingsImportDirectoryObjectArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + path=path, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: pulumi.Input[str], + path: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) if path is not None: - pulumi.set(__self__, "path", path) + _setter("path", path) @property @pulumi.getter @@ -1225,9 +1650,22 @@ def __init__(__self__, *, :param pulumi.Input[str] old_value: (Updatable) Specifies the value which needs to be reset. :param pulumi.Input[str] type: (Updatable) Migration type. """ - pulumi.set(__self__, "new_value", new_value) - pulumi.set(__self__, "old_value", old_value) - pulumi.set(__self__, "type", type) + MigrationDatapumpSettingsMetadataRemapArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + new_value=new_value, + old_value=old_value, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + new_value: pulumi.Input[str], + old_value: pulumi.Input[str], + type: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("new_value", new_value) + _setter("old_value", old_value) + _setter("type", type) @property @pulumi.getter(name="newValue") @@ -1269,16 +1707,41 @@ def type(self, value: pulumi.Input[str]): @pulumi.input_type class MigrationDumpTransferDetailsArgs: def __init__(__self__, *, + shared_storage_mount_target_id: Optional[pulumi.Input[str]] = None, source: Optional[pulumi.Input['MigrationDumpTransferDetailsSourceArgs']] = None, target: Optional[pulumi.Input['MigrationDumpTransferDetailsTargetArgs']] = None): """ :param pulumi.Input['MigrationDumpTransferDetailsSourceArgs'] source: (Updatable) Optional additional properties for dump transfer in source or target host. Default kind is CURL :param pulumi.Input['MigrationDumpTransferDetailsTargetArgs'] target: (Updatable) Optional additional properties for dump transfer in source or target host. Default kind is CURL """ + MigrationDumpTransferDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + shared_storage_mount_target_id=shared_storage_mount_target_id, + source=source, + target=target, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + shared_storage_mount_target_id: Optional[pulumi.Input[str]] = None, + source: Optional[pulumi.Input['MigrationDumpTransferDetailsSourceArgs']] = None, + target: Optional[pulumi.Input['MigrationDumpTransferDetailsTargetArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if shared_storage_mount_target_id is not None: + _setter("shared_storage_mount_target_id", shared_storage_mount_target_id) if source is not None: - pulumi.set(__self__, "source", source) + _setter("source", source) if target is not None: - pulumi.set(__self__, "target", target) + _setter("target", target) + + @property + @pulumi.getter(name="sharedStorageMountTargetId") + def shared_storage_mount_target_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "shared_storage_mount_target_id") + + @shared_storage_mount_target_id.setter + def shared_storage_mount_target_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "shared_storage_mount_target_id", value) @property @pulumi.getter @@ -1316,11 +1779,24 @@ def __init__(__self__, *, :param pulumi.Input[str] oci_home: (Updatable) Path to the Oracle Cloud Infrastructure CLI installation in the node. :param pulumi.Input[str] wallet_location: (Updatable) Directory path to Oracle Cloud Infrastructure SSL wallet location on Db server node. """ - pulumi.set(__self__, "kind", kind) + MigrationDumpTransferDetailsSourceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + kind=kind, + oci_home=oci_home, + wallet_location=wallet_location, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + kind: pulumi.Input[str], + oci_home: Optional[pulumi.Input[str]] = None, + wallet_location: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("kind", kind) if oci_home is not None: - pulumi.set(__self__, "oci_home", oci_home) + _setter("oci_home", oci_home) if wallet_location is not None: - pulumi.set(__self__, "wallet_location", wallet_location) + _setter("wallet_location", wallet_location) @property @pulumi.getter @@ -1370,11 +1846,24 @@ def __init__(__self__, *, :param pulumi.Input[str] oci_home: (Updatable) Path to the Oracle Cloud Infrastructure CLI installation in the node. :param pulumi.Input[str] wallet_location: (Updatable) Directory path to Oracle Cloud Infrastructure SSL wallet location on Db server node. """ - pulumi.set(__self__, "kind", kind) + MigrationDumpTransferDetailsTargetArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + kind=kind, + oci_home=oci_home, + wallet_location=wallet_location, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + kind: pulumi.Input[str], + oci_home: Optional[pulumi.Input[str]] = None, + wallet_location: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("kind", kind) if oci_home is not None: - pulumi.set(__self__, "oci_home", oci_home) + _setter("oci_home", oci_home) if wallet_location is not None: - pulumi.set(__self__, "wallet_location", wallet_location) + _setter("wallet_location", wallet_location) @property @pulumi.getter @@ -1426,12 +1915,27 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_omit_excluded_table_from_replication: (Updatable) Whether an excluded table should be omitted from replication. Only valid for database objects that have are of type TABLE and that are included in the exludeObjects. :param pulumi.Input[str] type: (Updatable) Migration type. """ - pulumi.set(__self__, "object", object) - pulumi.set(__self__, "owner", owner) + MigrationExcludeObjectArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + object=object, + owner=owner, + is_omit_excluded_table_from_replication=is_omit_excluded_table_from_replication, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + object: pulumi.Input[str], + owner: pulumi.Input[str], + is_omit_excluded_table_from_replication: Optional[pulumi.Input[bool]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("object", object) + _setter("owner", owner) if is_omit_excluded_table_from_replication is not None: - pulumi.set(__self__, "is_omit_excluded_table_from_replication", is_omit_excluded_table_from_replication) + _setter("is_omit_excluded_table_from_replication", is_omit_excluded_table_from_replication) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -1491,9 +1995,20 @@ def __init__(__self__, *, :param pulumi.Input['MigrationGoldenGateDetailsHubArgs'] hub: (Updatable) Details about Oracle GoldenGate Microservices. Required for online logical migration. :param pulumi.Input['MigrationGoldenGateDetailsSettingsArgs'] settings: (Updatable) Optional settings for GoldenGate Microservices processes """ - pulumi.set(__self__, "hub", hub) + MigrationGoldenGateDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + hub=hub, + settings=settings, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hub: pulumi.Input['MigrationGoldenGateDetailsHubArgs'], + settings: Optional[pulumi.Input['MigrationGoldenGateDetailsSettingsArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("hub", hub) if settings is not None: - pulumi.set(__self__, "settings", settings) + _setter("settings", settings) @property @pulumi.getter @@ -1541,20 +2056,43 @@ def __init__(__self__, *, :param pulumi.Input['MigrationGoldenGateDetailsHubTargetDbAdminCredentialsArgs'] target_db_admin_credentials: (Updatable) Database Administrator Credentials details. :param pulumi.Input[str] target_microservices_deployment_name: (Updatable) Name of GoldenGate Microservices deployment to operate on target database """ - pulumi.set(__self__, "rest_admin_credentials", rest_admin_credentials) - pulumi.set(__self__, "url", url) + MigrationGoldenGateDetailsHubArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + rest_admin_credentials=rest_admin_credentials, + url=url, + compute_id=compute_id, + source_container_db_admin_credentials=source_container_db_admin_credentials, + source_db_admin_credentials=source_db_admin_credentials, + source_microservices_deployment_name=source_microservices_deployment_name, + target_db_admin_credentials=target_db_admin_credentials, + target_microservices_deployment_name=target_microservices_deployment_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + rest_admin_credentials: pulumi.Input['MigrationGoldenGateDetailsHubRestAdminCredentialsArgs'], + url: pulumi.Input[str], + compute_id: Optional[pulumi.Input[str]] = None, + source_container_db_admin_credentials: Optional[pulumi.Input['MigrationGoldenGateDetailsHubSourceContainerDbAdminCredentialsArgs']] = None, + source_db_admin_credentials: Optional[pulumi.Input['MigrationGoldenGateDetailsHubSourceDbAdminCredentialsArgs']] = None, + source_microservices_deployment_name: Optional[pulumi.Input[str]] = None, + target_db_admin_credentials: Optional[pulumi.Input['MigrationGoldenGateDetailsHubTargetDbAdminCredentialsArgs']] = None, + target_microservices_deployment_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("rest_admin_credentials", rest_admin_credentials) + _setter("url", url) if compute_id is not None: - pulumi.set(__self__, "compute_id", compute_id) + _setter("compute_id", compute_id) if source_container_db_admin_credentials is not None: - pulumi.set(__self__, "source_container_db_admin_credentials", source_container_db_admin_credentials) + _setter("source_container_db_admin_credentials", source_container_db_admin_credentials) if source_db_admin_credentials is not None: - pulumi.set(__self__, "source_db_admin_credentials", source_db_admin_credentials) + _setter("source_db_admin_credentials", source_db_admin_credentials) if source_microservices_deployment_name is not None: - pulumi.set(__self__, "source_microservices_deployment_name", source_microservices_deployment_name) + _setter("source_microservices_deployment_name", source_microservices_deployment_name) if target_db_admin_credentials is not None: - pulumi.set(__self__, "target_db_admin_credentials", target_db_admin_credentials) + _setter("target_db_admin_credentials", target_db_admin_credentials) if target_microservices_deployment_name is not None: - pulumi.set(__self__, "target_microservices_deployment_name", target_microservices_deployment_name) + _setter("target_microservices_deployment_name", target_microservices_deployment_name) @property @pulumi.getter(name="restAdminCredentials") @@ -1662,8 +2200,19 @@ def __init__(__self__, *, :param pulumi.Input[str] password: (Updatable) Database password :param pulumi.Input[str] username: (Updatable) Database username """ - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "username", username) + MigrationGoldenGateDetailsHubRestAdminCredentialsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + password=password, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + password: pulumi.Input[str], + username: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("password", password) + _setter("username", username) @property @pulumi.getter @@ -1699,8 +2248,19 @@ def __init__(__self__, *, :param pulumi.Input[str] password: (Updatable) Database password :param pulumi.Input[str] username: (Updatable) Database username """ - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "username", username) + MigrationGoldenGateDetailsHubSourceContainerDbAdminCredentialsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + password=password, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + password: pulumi.Input[str], + username: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("password", password) + _setter("username", username) @property @pulumi.getter @@ -1736,8 +2296,19 @@ def __init__(__self__, *, :param pulumi.Input[str] password: (Updatable) Database password :param pulumi.Input[str] username: (Updatable) Database username """ - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "username", username) + MigrationGoldenGateDetailsHubSourceDbAdminCredentialsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + password=password, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + password: pulumi.Input[str], + username: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("password", password) + _setter("username", username) @property @pulumi.getter @@ -1773,8 +2344,19 @@ def __init__(__self__, *, :param pulumi.Input[str] password: (Updatable) Database password :param pulumi.Input[str] username: (Updatable) Database username """ - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "username", username) + MigrationGoldenGateDetailsHubTargetDbAdminCredentialsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + password=password, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + password: pulumi.Input[str], + username: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("password", password) + _setter("username", username) @property @pulumi.getter @@ -1812,12 +2394,25 @@ def __init__(__self__, *, :param pulumi.Input['MigrationGoldenGateDetailsSettingsExtractArgs'] extract: (Updatable) Parameters for GoldenGate Extract processes. :param pulumi.Input['MigrationGoldenGateDetailsSettingsReplicatArgs'] replicat: (Updatable) Parameters for GoldenGate Replicat processes. """ + MigrationGoldenGateDetailsSettingsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + acceptable_lag=acceptable_lag, + extract=extract, + replicat=replicat, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + acceptable_lag: Optional[pulumi.Input[int]] = None, + extract: Optional[pulumi.Input['MigrationGoldenGateDetailsSettingsExtractArgs']] = None, + replicat: Optional[pulumi.Input['MigrationGoldenGateDetailsSettingsReplicatArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if acceptable_lag is not None: - pulumi.set(__self__, "acceptable_lag", acceptable_lag) + _setter("acceptable_lag", acceptable_lag) if extract is not None: - pulumi.set(__self__, "extract", extract) + _setter("extract", extract) if replicat is not None: - pulumi.set(__self__, "replicat", replicat) + _setter("replicat", replicat) @property @pulumi.getter(name="acceptableLag") @@ -1865,10 +2460,21 @@ def __init__(__self__, *, :param pulumi.Input[int] long_trans_duration: (Updatable) Length of time (in seconds) that a transaction can be open before Extract generates a warning message that the transaction is long-running. If not specified, Extract will not generate a warning on long-running transactions. :param pulumi.Input[str] performance_profile: (Updatable) Extract performance. """ + MigrationGoldenGateDetailsSettingsExtractArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + long_trans_duration=long_trans_duration, + performance_profile=performance_profile, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + long_trans_duration: Optional[pulumi.Input[int]] = None, + performance_profile: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if long_trans_duration is not None: - pulumi.set(__self__, "long_trans_duration", long_trans_duration) + _setter("long_trans_duration", long_trans_duration) if performance_profile is not None: - pulumi.set(__self__, "performance_profile", performance_profile) + _setter("performance_profile", performance_profile) @property @pulumi.getter(name="longTransDuration") @@ -1908,14 +2514,29 @@ def __init__(__self__, *, :param pulumi.Input[int] min_apply_parallelism: (Updatable) Defines the range in which the Replicat automatically adjusts its apply parallelism (valid for Parallel Replicat) :param pulumi.Input[str] performance_profile: (Updatable) Extract performance. """ + MigrationGoldenGateDetailsSettingsReplicatArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + map_parallelism=map_parallelism, + max_apply_parallelism=max_apply_parallelism, + min_apply_parallelism=min_apply_parallelism, + performance_profile=performance_profile, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + map_parallelism: Optional[pulumi.Input[int]] = None, + max_apply_parallelism: Optional[pulumi.Input[int]] = None, + min_apply_parallelism: Optional[pulumi.Input[int]] = None, + performance_profile: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if map_parallelism is not None: - pulumi.set(__self__, "map_parallelism", map_parallelism) + _setter("map_parallelism", map_parallelism) if max_apply_parallelism is not None: - pulumi.set(__self__, "max_apply_parallelism", max_apply_parallelism) + _setter("max_apply_parallelism", max_apply_parallelism) if min_apply_parallelism is not None: - pulumi.set(__self__, "min_apply_parallelism", min_apply_parallelism) + _setter("min_apply_parallelism", min_apply_parallelism) if performance_profile is not None: - pulumi.set(__self__, "performance_profile", performance_profile) + _setter("performance_profile", performance_profile) @property @pulumi.getter(name="mapParallelism") @@ -1981,16 +2602,33 @@ def __init__(__self__, *, :param pulumi.Input['MigrationGoldenGateServiceDetailsSourceDbCredentialsArgs'] source_db_credentials: (Updatable) Database Credentials details. :param pulumi.Input['MigrationGoldenGateServiceDetailsTargetDbCredentialsArgs'] target_db_credentials: (Updatable) Database Credentials details. """ + MigrationGoldenGateServiceDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + ggs_deployments=ggs_deployments, + settings=settings, + source_container_db_credentials=source_container_db_credentials, + source_db_credentials=source_db_credentials, + target_db_credentials=target_db_credentials, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ggs_deployments: Optional[pulumi.Input[Sequence[pulumi.Input['MigrationGoldenGateServiceDetailsGgsDeploymentArgs']]]] = None, + settings: Optional[pulumi.Input['MigrationGoldenGateServiceDetailsSettingsArgs']] = None, + source_container_db_credentials: Optional[pulumi.Input['MigrationGoldenGateServiceDetailsSourceContainerDbCredentialsArgs']] = None, + source_db_credentials: Optional[pulumi.Input['MigrationGoldenGateServiceDetailsSourceDbCredentialsArgs']] = None, + target_db_credentials: Optional[pulumi.Input['MigrationGoldenGateServiceDetailsTargetDbCredentialsArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ggs_deployments is not None: - pulumi.set(__self__, "ggs_deployments", ggs_deployments) + _setter("ggs_deployments", ggs_deployments) if settings is not None: - pulumi.set(__self__, "settings", settings) + _setter("settings", settings) if source_container_db_credentials is not None: - pulumi.set(__self__, "source_container_db_credentials", source_container_db_credentials) + _setter("source_container_db_credentials", source_container_db_credentials) if source_db_credentials is not None: - pulumi.set(__self__, "source_db_credentials", source_db_credentials) + _setter("source_db_credentials", source_db_credentials) if target_db_credentials is not None: - pulumi.set(__self__, "target_db_credentials", target_db_credentials) + _setter("target_db_credentials", target_db_credentials) @property @pulumi.getter(name="ggsDeployments") @@ -2062,10 +2700,21 @@ def __init__(__self__, *, :param pulumi.Input[str] deployment_id: OCID of a GoldenGate Deployment :param pulumi.Input[str] ggs_admin_credentials_secret_id: OCID of a VaultSecret containing the Admin Credentials for the GGS Deployment """ + MigrationGoldenGateServiceDetailsGgsDeploymentArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + deployment_id=deployment_id, + ggs_admin_credentials_secret_id=ggs_admin_credentials_secret_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deployment_id: Optional[pulumi.Input[str]] = None, + ggs_admin_credentials_secret_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if deployment_id is not None: - pulumi.set(__self__, "deployment_id", deployment_id) + _setter("deployment_id", deployment_id) if ggs_admin_credentials_secret_id is not None: - pulumi.set(__self__, "ggs_admin_credentials_secret_id", ggs_admin_credentials_secret_id) + _setter("ggs_admin_credentials_secret_id", ggs_admin_credentials_secret_id) @property @pulumi.getter(name="deploymentId") @@ -2103,12 +2752,25 @@ def __init__(__self__, *, :param pulumi.Input['MigrationGoldenGateServiceDetailsSettingsExtractArgs'] extract: (Updatable) Parameters for GoldenGate Extract processes. :param pulumi.Input['MigrationGoldenGateServiceDetailsSettingsReplicatArgs'] replicat: (Updatable) Parameters for GoldenGate Replicat processes. """ + MigrationGoldenGateServiceDetailsSettingsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + acceptable_lag=acceptable_lag, + extract=extract, + replicat=replicat, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + acceptable_lag: Optional[pulumi.Input[int]] = None, + extract: Optional[pulumi.Input['MigrationGoldenGateServiceDetailsSettingsExtractArgs']] = None, + replicat: Optional[pulumi.Input['MigrationGoldenGateServiceDetailsSettingsReplicatArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if acceptable_lag is not None: - pulumi.set(__self__, "acceptable_lag", acceptable_lag) + _setter("acceptable_lag", acceptable_lag) if extract is not None: - pulumi.set(__self__, "extract", extract) + _setter("extract", extract) if replicat is not None: - pulumi.set(__self__, "replicat", replicat) + _setter("replicat", replicat) @property @pulumi.getter(name="acceptableLag") @@ -2156,10 +2818,21 @@ def __init__(__self__, *, :param pulumi.Input[int] long_trans_duration: (Updatable) Length of time (in seconds) that a transaction can be open before Extract generates a warning message that the transaction is long-running. If not specified, Extract will not generate a warning on long-running transactions. :param pulumi.Input[str] performance_profile: (Updatable) Extract performance. """ + MigrationGoldenGateServiceDetailsSettingsExtractArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + long_trans_duration=long_trans_duration, + performance_profile=performance_profile, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + long_trans_duration: Optional[pulumi.Input[int]] = None, + performance_profile: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if long_trans_duration is not None: - pulumi.set(__self__, "long_trans_duration", long_trans_duration) + _setter("long_trans_duration", long_trans_duration) if performance_profile is not None: - pulumi.set(__self__, "performance_profile", performance_profile) + _setter("performance_profile", performance_profile) @property @pulumi.getter(name="longTransDuration") @@ -2197,12 +2870,25 @@ def __init__(__self__, *, :param pulumi.Input[int] max_apply_parallelism: (Updatable) Defines the range in which the Replicat automatically adjusts its apply parallelism (valid for Parallel Replicat) :param pulumi.Input[int] min_apply_parallelism: (Updatable) Defines the range in which the Replicat automatically adjusts its apply parallelism (valid for Parallel Replicat) """ + MigrationGoldenGateServiceDetailsSettingsReplicatArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + map_parallelism=map_parallelism, + max_apply_parallelism=max_apply_parallelism, + min_apply_parallelism=min_apply_parallelism, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + map_parallelism: Optional[pulumi.Input[int]] = None, + max_apply_parallelism: Optional[pulumi.Input[int]] = None, + min_apply_parallelism: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if map_parallelism is not None: - pulumi.set(__self__, "map_parallelism", map_parallelism) + _setter("map_parallelism", map_parallelism) if max_apply_parallelism is not None: - pulumi.set(__self__, "max_apply_parallelism", max_apply_parallelism) + _setter("max_apply_parallelism", max_apply_parallelism) if min_apply_parallelism is not None: - pulumi.set(__self__, "min_apply_parallelism", min_apply_parallelism) + _setter("min_apply_parallelism", min_apply_parallelism) @property @pulumi.getter(name="mapParallelism") @@ -2250,8 +2936,19 @@ def __init__(__self__, *, :param pulumi.Input[str] password: (Updatable) Database password :param pulumi.Input[str] username: (Updatable) Database username """ - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "username", username) + MigrationGoldenGateServiceDetailsSourceContainerDbCredentialsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + password=password, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + password: pulumi.Input[str], + username: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("password", password) + _setter("username", username) @property @pulumi.getter @@ -2287,8 +2984,19 @@ def __init__(__self__, *, :param pulumi.Input[str] password: (Updatable) Database password :param pulumi.Input[str] username: (Updatable) Database username """ - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "username", username) + MigrationGoldenGateServiceDetailsSourceDbCredentialsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + password=password, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + password: pulumi.Input[str], + username: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("password", password) + _setter("username", username) @property @pulumi.getter @@ -2324,8 +3032,19 @@ def __init__(__self__, *, :param pulumi.Input[str] password: (Updatable) Database password :param pulumi.Input[str] username: (Updatable) Database username """ - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "username", username) + MigrationGoldenGateServiceDetailsTargetDbCredentialsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + password=password, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + password: pulumi.Input[str], + username: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("password", password) + _setter("username", username) @property @pulumi.getter @@ -2365,12 +3084,27 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_omit_excluded_table_from_replication: (Updatable) Whether an excluded table should be omitted from replication. Only valid for database objects that have are of type TABLE and that are included in the exludeObjects. :param pulumi.Input[str] type: (Updatable) Migration type. """ - pulumi.set(__self__, "object", object) - pulumi.set(__self__, "owner", owner) + MigrationIncludeObjectArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + object=object, + owner=owner, + is_omit_excluded_table_from_replication=is_omit_excluded_table_from_replication, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + object: pulumi.Input[str], + owner: pulumi.Input[str], + is_omit_excluded_table_from_replication: Optional[pulumi.Input[bool]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("object", object) + _setter("owner", owner) if is_omit_excluded_table_from_replication is not None: - pulumi.set(__self__, "is_omit_excluded_table_from_replication", is_omit_excluded_table_from_replication) + _setter("is_omit_excluded_table_from_replication", is_omit_excluded_table_from_replication) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -2436,9 +3170,22 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "key_id", key_id) - pulumi.set(__self__, "vault_id", vault_id) + MigrationVaultDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + key_id=key_id, + vault_id=vault_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + key_id: pulumi.Input[str], + vault_id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("key_id", key_id) + _setter("vault_id", vault_id) @property @pulumi.getter(name="compartmentId") @@ -2487,10 +3234,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAgentImagesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2526,10 +3286,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAgentsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2565,10 +3338,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetConnectionsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2607,10 +3393,23 @@ def __init__(__self__, *, """ :param str name: Object type name """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetMigrationObjectTypesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2652,10 +3451,23 @@ def __init__(__self__, *, """ :param str name: Name of directory object in database """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetMigrationsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/databasemigration/agent.py b/sdk/python/pulumi_oci/databasemigration/agent.py index abda73693f..f66b17db83 100644 --- a/sdk/python/pulumi_oci/databasemigration/agent.py +++ b/sdk/python/pulumi_oci/databasemigration/agent.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['AgentArgs', 'Agent'] @@ -37,21 +37,44 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "agent_id", agent_id) + AgentArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + agent_id=agent_id, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + public_key=public_key, + stream_id=stream_id, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agent_id: pulumi.Input[str], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + public_key: Optional[pulumi.Input[str]] = None, + stream_id: Optional[pulumi.Input[str]] = None, + version: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("agent_id", agent_id) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if public_key is not None: - pulumi.set(__self__, "public_key", public_key) + _setter("public_key", public_key) if stream_id is not None: - pulumi.set(__self__, "stream_id", stream_id) + _setter("stream_id", stream_id) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter(name="agentId") @@ -190,32 +213,65 @@ def __init__(__self__, *, ** 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 """ + _AgentState._configure( + lambda key, value: pulumi.set(__self__, key, value), + agent_id=agent_id, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + public_key=public_key, + state=state, + stream_id=stream_id, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agent_id: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + public_key: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + stream_id: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + version: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if agent_id is not None: - pulumi.set(__self__, "agent_id", agent_id) + _setter("agent_id", agent_id) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if public_key is not None: - pulumi.set(__self__, "public_key", public_key) + _setter("public_key", public_key) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if stream_id is not None: - pulumi.set(__self__, "stream_id", stream_id) + _setter("stream_id", stream_id) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter(name="agentId") @@ -449,6 +505,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + AgentArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/databasemigration/connection.py b/sdk/python/pulumi_oci/databasemigration/connection.py index 0f0e91eac5..b491479d1b 100644 --- a/sdk/python/pulumi_oci/databasemigration/connection.py +++ b/sdk/python/pulumi_oci/databasemigration/connection.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -51,34 +51,73 @@ def __init__(__self__, *, :param pulumi.Input[str] tls_keystore: (Updatable) keystore.jks file contents; base64 encoded String. Requires a TLS wallet to be specified. Not required for source container database connections. :param pulumi.Input[str] tls_wallet: (Updatable) cwallet.sso containing containing the TCPS/SSL certificate; base64 encoded String. Not required for source container database connections. """ - pulumi.set(__self__, "admin_credentials", admin_credentials) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "database_type", database_type) - pulumi.set(__self__, "vault_details", vault_details) + ConnectionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + admin_credentials=admin_credentials, + compartment_id=compartment_id, + database_type=database_type, + vault_details=vault_details, + certificate_tdn=certificate_tdn, + connect_descriptor=connect_descriptor, + database_id=database_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + nsg_ids=nsg_ids, + private_endpoint=private_endpoint, + replication_credentials=replication_credentials, + ssh_details=ssh_details, + tls_keystore=tls_keystore, + tls_wallet=tls_wallet, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + admin_credentials: pulumi.Input['ConnectionAdminCredentialsArgs'], + compartment_id: pulumi.Input[str], + database_type: pulumi.Input[str], + vault_details: pulumi.Input['ConnectionVaultDetailsArgs'], + certificate_tdn: Optional[pulumi.Input[str]] = None, + connect_descriptor: Optional[pulumi.Input['ConnectionConnectDescriptorArgs']] = None, + database_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + private_endpoint: Optional[pulumi.Input['ConnectionPrivateEndpointArgs']] = None, + replication_credentials: Optional[pulumi.Input['ConnectionReplicationCredentialsArgs']] = None, + ssh_details: Optional[pulumi.Input['ConnectionSshDetailsArgs']] = None, + tls_keystore: Optional[pulumi.Input[str]] = None, + tls_wallet: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("admin_credentials", admin_credentials) + _setter("compartment_id", compartment_id) + _setter("database_type", database_type) + _setter("vault_details", vault_details) if certificate_tdn is not None: - pulumi.set(__self__, "certificate_tdn", certificate_tdn) + _setter("certificate_tdn", certificate_tdn) if connect_descriptor is not None: - pulumi.set(__self__, "connect_descriptor", connect_descriptor) + _setter("connect_descriptor", connect_descriptor) if database_id is not None: - pulumi.set(__self__, "database_id", database_id) + _setter("database_id", database_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) if private_endpoint is not None: - pulumi.set(__self__, "private_endpoint", private_endpoint) + _setter("private_endpoint", private_endpoint) if replication_credentials is not None: - pulumi.set(__self__, "replication_credentials", replication_credentials) + _setter("replication_credentials", replication_credentials) if ssh_details is not None: - pulumi.set(__self__, "ssh_details", ssh_details) + _setter("ssh_details", ssh_details) if tls_keystore is not None: - pulumi.set(__self__, "tls_keystore", tls_keystore) + _setter("tls_keystore", tls_keystore) if tls_wallet is not None: - pulumi.set(__self__, "tls_wallet", tls_wallet) + _setter("tls_wallet", tls_wallet) @property @pulumi.getter(name="adminCredentials") @@ -323,50 +362,101 @@ def __init__(__self__, *, :param pulumi.Input[str] tls_wallet: (Updatable) cwallet.sso containing containing the TCPS/SSL certificate; base64 encoded String. Not required for source container database connections. :param pulumi.Input['ConnectionVaultDetailsArgs'] vault_details: (Updatable) Oracle Cloud Infrastructure Vault details to store migration and connection credentials secrets """ + _ConnectionState._configure( + lambda key, value: pulumi.set(__self__, key, value), + admin_credentials=admin_credentials, + certificate_tdn=certificate_tdn, + compartment_id=compartment_id, + connect_descriptor=connect_descriptor, + credentials_secret_id=credentials_secret_id, + database_id=database_id, + database_type=database_type, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + nsg_ids=nsg_ids, + private_endpoint=private_endpoint, + replication_credentials=replication_credentials, + ssh_details=ssh_details, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + tls_keystore=tls_keystore, + tls_wallet=tls_wallet, + vault_details=vault_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + admin_credentials: Optional[pulumi.Input['ConnectionAdminCredentialsArgs']] = None, + certificate_tdn: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + connect_descriptor: Optional[pulumi.Input['ConnectionConnectDescriptorArgs']] = None, + credentials_secret_id: Optional[pulumi.Input[str]] = None, + database_id: Optional[pulumi.Input[str]] = None, + database_type: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + private_endpoint: Optional[pulumi.Input['ConnectionPrivateEndpointArgs']] = None, + replication_credentials: Optional[pulumi.Input['ConnectionReplicationCredentialsArgs']] = None, + ssh_details: Optional[pulumi.Input['ConnectionSshDetailsArgs']] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + tls_keystore: Optional[pulumi.Input[str]] = None, + tls_wallet: Optional[pulumi.Input[str]] = None, + vault_details: Optional[pulumi.Input['ConnectionVaultDetailsArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if admin_credentials is not None: - pulumi.set(__self__, "admin_credentials", admin_credentials) + _setter("admin_credentials", admin_credentials) if certificate_tdn is not None: - pulumi.set(__self__, "certificate_tdn", certificate_tdn) + _setter("certificate_tdn", certificate_tdn) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if connect_descriptor is not None: - pulumi.set(__self__, "connect_descriptor", connect_descriptor) + _setter("connect_descriptor", connect_descriptor) if credentials_secret_id is not None: - pulumi.set(__self__, "credentials_secret_id", credentials_secret_id) + _setter("credentials_secret_id", credentials_secret_id) if database_id is not None: - pulumi.set(__self__, "database_id", database_id) + _setter("database_id", database_id) if database_type is not None: - pulumi.set(__self__, "database_type", database_type) + _setter("database_type", database_type) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) if private_endpoint is not None: - pulumi.set(__self__, "private_endpoint", private_endpoint) + _setter("private_endpoint", private_endpoint) if replication_credentials is not None: - pulumi.set(__self__, "replication_credentials", replication_credentials) + _setter("replication_credentials", replication_credentials) if ssh_details is not None: - pulumi.set(__self__, "ssh_details", ssh_details) + _setter("ssh_details", ssh_details) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if tls_keystore is not None: - pulumi.set(__self__, "tls_keystore", tls_keystore) + _setter("tls_keystore", tls_keystore) if tls_wallet is not None: - pulumi.set(__self__, "tls_wallet", tls_wallet) + _setter("tls_wallet", tls_wallet) if vault_details is not None: - pulumi.set(__self__, "vault_details", vault_details) + _setter("vault_details", vault_details) @property @pulumi.getter(name="adminCredentials") @@ -824,6 +914,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ConnectionArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -854,6 +948,11 @@ def _internal_init(__self__, raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = ConnectionArgs.__new__(ConnectionArgs) + if admin_credentials is not None and not isinstance(admin_credentials, ConnectionAdminCredentialsArgs): + admin_credentials = admin_credentials or {} + def _setter(key, value): + admin_credentials[key] = value + ConnectionAdminCredentialsArgs._configure(_setter, **admin_credentials) if admin_credentials is None and not opts.urn: raise TypeError("Missing required property 'admin_credentials'") __props__.__dict__["admin_credentials"] = admin_credentials @@ -861,6 +960,11 @@ def _internal_init(__self__, if compartment_id is None and not opts.urn: raise TypeError("Missing required property 'compartment_id'") __props__.__dict__["compartment_id"] = compartment_id + if connect_descriptor is not None and not isinstance(connect_descriptor, ConnectionConnectDescriptorArgs): + connect_descriptor = connect_descriptor or {} + def _setter(key, value): + connect_descriptor[key] = value + ConnectionConnectDescriptorArgs._configure(_setter, **connect_descriptor) __props__.__dict__["connect_descriptor"] = connect_descriptor __props__.__dict__["database_id"] = database_id if database_type is None and not opts.urn: @@ -870,11 +974,31 @@ def _internal_init(__self__, __props__.__dict__["display_name"] = display_name __props__.__dict__["freeform_tags"] = freeform_tags __props__.__dict__["nsg_ids"] = nsg_ids + if private_endpoint is not None and not isinstance(private_endpoint, ConnectionPrivateEndpointArgs): + private_endpoint = private_endpoint or {} + def _setter(key, value): + private_endpoint[key] = value + ConnectionPrivateEndpointArgs._configure(_setter, **private_endpoint) __props__.__dict__["private_endpoint"] = private_endpoint + if replication_credentials is not None and not isinstance(replication_credentials, ConnectionReplicationCredentialsArgs): + replication_credentials = replication_credentials or {} + def _setter(key, value): + replication_credentials[key] = value + ConnectionReplicationCredentialsArgs._configure(_setter, **replication_credentials) __props__.__dict__["replication_credentials"] = replication_credentials + if ssh_details is not None and not isinstance(ssh_details, ConnectionSshDetailsArgs): + ssh_details = ssh_details or {} + def _setter(key, value): + ssh_details[key] = value + ConnectionSshDetailsArgs._configure(_setter, **ssh_details) __props__.__dict__["ssh_details"] = ssh_details __props__.__dict__["tls_keystore"] = tls_keystore __props__.__dict__["tls_wallet"] = tls_wallet + if vault_details is not None and not isinstance(vault_details, ConnectionVaultDetailsArgs): + vault_details = vault_details or {} + def _setter(key, value): + vault_details[key] = value + ConnectionVaultDetailsArgs._configure(_setter, **vault_details) if vault_details is None and not opts.urn: raise TypeError("Missing required property 'vault_details'") __props__.__dict__["vault_details"] = vault_details diff --git a/sdk/python/pulumi_oci/databasemigration/get_agent.py b/sdk/python/pulumi_oci/databasemigration/get_agent.py index 8c28560dc4..01fa5bc66b 100644 --- a/sdk/python/pulumi_oci/databasemigration/get_agent.py +++ b/sdk/python/pulumi_oci/databasemigration/get_agent.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/databasemigration/get_agent_images.py b/sdk/python/pulumi_oci/databasemigration/get_agent_images.py index 4abffd4305..fdd375b30e 100644 --- a/sdk/python/pulumi_oci/databasemigration/get_agent_images.py +++ b/sdk/python/pulumi_oci/databasemigration/get_agent_images.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/databasemigration/get_agents.py b/sdk/python/pulumi_oci/databasemigration/get_agents.py index 41f455982a..858dae9d30 100644 --- a/sdk/python/pulumi_oci/databasemigration/get_agents.py +++ b/sdk/python/pulumi_oci/databasemigration/get_agents.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/databasemigration/get_connection.py b/sdk/python/pulumi_oci/databasemigration/get_connection.py index 166af4657d..7dd5feb56f 100644 --- a/sdk/python/pulumi_oci/databasemigration/get_connection.py +++ b/sdk/python/pulumi_oci/databasemigration/get_connection.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/databasemigration/get_connections.py b/sdk/python/pulumi_oci/databasemigration/get_connections.py index 13297586a9..b39f734898 100644 --- a/sdk/python/pulumi_oci/databasemigration/get_connections.py +++ b/sdk/python/pulumi_oci/databasemigration/get_connections.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/databasemigration/get_job_advisor_report.py b/sdk/python/pulumi_oci/databasemigration/get_job_advisor_report.py index 63a2c05126..b769ad5deb 100644 --- a/sdk/python/pulumi_oci/databasemigration/get_job_advisor_report.py +++ b/sdk/python/pulumi_oci/databasemigration/get_job_advisor_report.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/databasemigration/get_job_output.py b/sdk/python/pulumi_oci/databasemigration/get_job_output.py index 75537089de..1c829e800d 100644 --- a/sdk/python/pulumi_oci/databasemigration/get_job_output.py +++ b/sdk/python/pulumi_oci/databasemigration/get_job_output.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/databasemigration/get_migration.py b/sdk/python/pulumi_oci/databasemigration/get_migration.py index d2d67f34b4..43e95bdeb1 100644 --- a/sdk/python/pulumi_oci/databasemigration/get_migration.py +++ b/sdk/python/pulumi_oci/databasemigration/get_migration.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -22,7 +22,7 @@ class GetMigrationResult: """ A collection of values returned by getMigration. """ - def __init__(__self__, advisor_settings=None, agent_id=None, compartment_id=None, credentials_secret_id=None, csv_text=None, data_transfer_medium_details=None, datapump_settings=None, defined_tags=None, display_name=None, dump_transfer_details=None, exclude_objects=None, executing_job_id=None, freeform_tags=None, golden_gate_details=None, golden_gate_service_details=None, id=None, include_objects=None, lifecycle_details=None, migration_id=None, source_container_database_connection_id=None, source_database_connection_id=None, state=None, system_tags=None, target_database_connection_id=None, time_created=None, time_last_migration=None, time_updated=None, type=None, vault_details=None, wait_after=None): + def __init__(__self__, advisor_settings=None, agent_id=None, compartment_id=None, credentials_secret_id=None, csv_text=None, data_transfer_medium_details=None, data_transfer_medium_details_v2s=None, datapump_settings=None, defined_tags=None, display_name=None, dump_transfer_details=None, exclude_objects=None, executing_job_id=None, freeform_tags=None, golden_gate_details=None, golden_gate_service_details=None, id=None, include_objects=None, lifecycle_details=None, migration_id=None, source_container_database_connection_id=None, source_database_connection_id=None, state=None, system_tags=None, target_database_connection_id=None, time_created=None, time_last_migration=None, time_updated=None, type=None, vault_details=None, wait_after=None): if advisor_settings and not isinstance(advisor_settings, list): raise TypeError("Expected argument 'advisor_settings' to be a list") pulumi.set(__self__, "advisor_settings", advisor_settings) @@ -41,6 +41,9 @@ def __init__(__self__, advisor_settings=None, agent_id=None, compartment_id=None if data_transfer_medium_details and not isinstance(data_transfer_medium_details, list): raise TypeError("Expected argument 'data_transfer_medium_details' to be a list") pulumi.set(__self__, "data_transfer_medium_details", data_transfer_medium_details) + if data_transfer_medium_details_v2s and not isinstance(data_transfer_medium_details_v2s, list): + raise TypeError("Expected argument 'data_transfer_medium_details_v2s' to be a list") + pulumi.set(__self__, "data_transfer_medium_details_v2s", data_transfer_medium_details_v2s) if datapump_settings and not isinstance(datapump_settings, list): raise TypeError("Expected argument 'datapump_settings' to be a list") pulumi.set(__self__, "datapump_settings", datapump_settings) @@ -159,6 +162,11 @@ def data_transfer_medium_details(self) -> Sequence['outputs.GetMigrationDataTran """ return pulumi.get(self, "data_transfer_medium_details") + @property + @pulumi.getter(name="dataTransferMediumDetailsV2s") + def data_transfer_medium_details_v2s(self) -> Sequence['outputs.GetMigrationDataTransferMediumDetailsV2Result']: + return pulumi.get(self, "data_transfer_medium_details_v2s") + @property @pulumi.getter(name="datapumpSettings") def datapump_settings(self) -> Sequence['outputs.GetMigrationDatapumpSettingResult']: @@ -361,6 +369,7 @@ def __await__(self): credentials_secret_id=self.credentials_secret_id, csv_text=self.csv_text, data_transfer_medium_details=self.data_transfer_medium_details, + data_transfer_medium_details_v2s=self.data_transfer_medium_details_v2s, datapump_settings=self.datapump_settings, defined_tags=self.defined_tags, display_name=self.display_name, @@ -418,6 +427,7 @@ def get_migration(migration_id: Optional[str] = None, credentials_secret_id=pulumi.get(__ret__, 'credentials_secret_id'), csv_text=pulumi.get(__ret__, 'csv_text'), data_transfer_medium_details=pulumi.get(__ret__, 'data_transfer_medium_details'), + data_transfer_medium_details_v2s=pulumi.get(__ret__, 'data_transfer_medium_details_v2s'), datapump_settings=pulumi.get(__ret__, 'datapump_settings'), defined_tags=pulumi.get(__ret__, 'defined_tags'), display_name=pulumi.get(__ret__, 'display_name'), diff --git a/sdk/python/pulumi_oci/databasemigration/get_migration_object_types.py b/sdk/python/pulumi_oci/databasemigration/get_migration_object_types.py index 96fad3ec3d..71874c4ce2 100644 --- a/sdk/python/pulumi_oci/databasemigration/get_migration_object_types.py +++ b/sdk/python/pulumi_oci/databasemigration/get_migration_object_types.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/databasemigration/get_migrations.py b/sdk/python/pulumi_oci/databasemigration/get_migrations.py index 6329c5e284..4c936c6c18 100644 --- a/sdk/python/pulumi_oci/databasemigration/get_migrations.py +++ b/sdk/python/pulumi_oci/databasemigration/get_migrations.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/databasemigration/job.py b/sdk/python/pulumi_oci/databasemigration/job.py index 5091e82417..a849f60a59 100644 --- a/sdk/python/pulumi_oci/databasemigration/job.py +++ b/sdk/python/pulumi_oci/databasemigration/job.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -31,13 +31,28 @@ def __init__(__self__, *, :param pulumi.Input[str] display_name: (Updatable) Name of the job. :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` """ - pulumi.set(__self__, "job_id", job_id) + JobArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + job_id=job_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + job_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("job_id", job_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="jobId") @@ -128,32 +143,65 @@ def __init__(__self__, *, :param pulumi.Input[str] type: Type of unsupported object :param pulumi.Input[Sequence[pulumi.Input['JobUnsupportedObjectArgs']]] unsupported_objects: Database objects not supported. """ + _JobState._configure( + lambda key, value: pulumi.set(__self__, key, value), + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + job_id=job_id, + lifecycle_details=lifecycle_details, + migration_id=migration_id, + progresses=progresses, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + type=type, + unsupported_objects=unsupported_objects, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + job_id: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + migration_id: Optional[pulumi.Input[str]] = None, + progresses: Optional[pulumi.Input[Sequence[pulumi.Input['JobProgressArgs']]]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + unsupported_objects: Optional[pulumi.Input[Sequence[pulumi.Input['JobUnsupportedObjectArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if job_id is not None: - pulumi.set(__self__, "job_id", job_id) + _setter("job_id", job_id) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if migration_id is not None: - pulumi.set(__self__, "migration_id", migration_id) + _setter("migration_id", migration_id) if progresses is not None: - pulumi.set(__self__, "progresses", progresses) + _setter("progresses", progresses) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if unsupported_objects is not None: - pulumi.set(__self__, "unsupported_objects", unsupported_objects) + _setter("unsupported_objects", unsupported_objects) @property @pulumi.getter(name="definedTags") @@ -379,6 +427,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + JobArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/databasemigration/migration.py b/sdk/python/pulumi_oci/databasemigration/migration.py index 6ca60d3ccf..66b6eb36b2 100644 --- a/sdk/python/pulumi_oci/databasemigration/migration.py +++ b/sdk/python/pulumi_oci/databasemigration/migration.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -24,6 +24,7 @@ def __init__(__self__, *, agent_id: Optional[pulumi.Input[str]] = None, csv_text: Optional[pulumi.Input[str]] = None, data_transfer_medium_details: Optional[pulumi.Input['MigrationDataTransferMediumDetailsArgs']] = None, + data_transfer_medium_details_v2: Optional[pulumi.Input['MigrationDataTransferMediumDetailsV2Args']] = None, datapump_settings: Optional[pulumi.Input['MigrationDatapumpSettingsArgs']] = None, defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, display_name: Optional[pulumi.Input[str]] = None, @@ -57,40 +58,89 @@ def __init__(__self__, *, :param pulumi.Input[str] source_container_database_connection_id: (Updatable) The OCID of the Source Container Database Connection. Only used for Online migrations. Only Connections of type Non-Autonomous can be used as source container databases. :param pulumi.Input['MigrationVaultDetailsArgs'] vault_details: (Updatable) Oracle Cloud Infrastructure Vault details to store migration and connection credentials secrets """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "source_database_connection_id", source_database_connection_id) - pulumi.set(__self__, "target_database_connection_id", target_database_connection_id) - pulumi.set(__self__, "type", type) + MigrationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + source_database_connection_id=source_database_connection_id, + target_database_connection_id=target_database_connection_id, + type=type, + advisor_settings=advisor_settings, + agent_id=agent_id, + csv_text=csv_text, + data_transfer_medium_details=data_transfer_medium_details, + data_transfer_medium_details_v2=data_transfer_medium_details_v2, + datapump_settings=datapump_settings, + defined_tags=defined_tags, + display_name=display_name, + dump_transfer_details=dump_transfer_details, + exclude_objects=exclude_objects, + freeform_tags=freeform_tags, + golden_gate_details=golden_gate_details, + golden_gate_service_details=golden_gate_service_details, + include_objects=include_objects, + source_container_database_connection_id=source_container_database_connection_id, + vault_details=vault_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + source_database_connection_id: pulumi.Input[str], + target_database_connection_id: pulumi.Input[str], + type: pulumi.Input[str], + advisor_settings: Optional[pulumi.Input['MigrationAdvisorSettingsArgs']] = None, + agent_id: Optional[pulumi.Input[str]] = None, + csv_text: Optional[pulumi.Input[str]] = None, + data_transfer_medium_details: Optional[pulumi.Input['MigrationDataTransferMediumDetailsArgs']] = None, + data_transfer_medium_details_v2: Optional[pulumi.Input['MigrationDataTransferMediumDetailsV2Args']] = None, + datapump_settings: Optional[pulumi.Input['MigrationDatapumpSettingsArgs']] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + dump_transfer_details: Optional[pulumi.Input['MigrationDumpTransferDetailsArgs']] = None, + exclude_objects: Optional[pulumi.Input[Sequence[pulumi.Input['MigrationExcludeObjectArgs']]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + golden_gate_details: Optional[pulumi.Input['MigrationGoldenGateDetailsArgs']] = None, + golden_gate_service_details: Optional[pulumi.Input['MigrationGoldenGateServiceDetailsArgs']] = None, + include_objects: Optional[pulumi.Input[Sequence[pulumi.Input['MigrationIncludeObjectArgs']]]] = None, + source_container_database_connection_id: Optional[pulumi.Input[str]] = None, + vault_details: Optional[pulumi.Input['MigrationVaultDetailsArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("source_database_connection_id", source_database_connection_id) + _setter("target_database_connection_id", target_database_connection_id) + _setter("type", type) if advisor_settings is not None: - pulumi.set(__self__, "advisor_settings", advisor_settings) + _setter("advisor_settings", advisor_settings) if agent_id is not None: - pulumi.set(__self__, "agent_id", agent_id) + _setter("agent_id", agent_id) if csv_text is not None: - pulumi.set(__self__, "csv_text", csv_text) + _setter("csv_text", csv_text) if data_transfer_medium_details is not None: - pulumi.set(__self__, "data_transfer_medium_details", data_transfer_medium_details) + _setter("data_transfer_medium_details", data_transfer_medium_details) + if data_transfer_medium_details_v2 is not None: + _setter("data_transfer_medium_details_v2", data_transfer_medium_details_v2) if datapump_settings is not None: - pulumi.set(__self__, "datapump_settings", datapump_settings) + _setter("datapump_settings", datapump_settings) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if dump_transfer_details is not None: - pulumi.set(__self__, "dump_transfer_details", dump_transfer_details) + _setter("dump_transfer_details", dump_transfer_details) if exclude_objects is not None: - pulumi.set(__self__, "exclude_objects", exclude_objects) + _setter("exclude_objects", exclude_objects) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if golden_gate_details is not None: - pulumi.set(__self__, "golden_gate_details", golden_gate_details) + _setter("golden_gate_details", golden_gate_details) if golden_gate_service_details is not None: - pulumi.set(__self__, "golden_gate_service_details", golden_gate_service_details) + _setter("golden_gate_service_details", golden_gate_service_details) if include_objects is not None: - pulumi.set(__self__, "include_objects", include_objects) + _setter("include_objects", include_objects) if source_container_database_connection_id is not None: - pulumi.set(__self__, "source_container_database_connection_id", source_container_database_connection_id) + _setter("source_container_database_connection_id", source_container_database_connection_id) if vault_details is not None: - pulumi.set(__self__, "vault_details", vault_details) + _setter("vault_details", vault_details) @property @pulumi.getter(name="compartmentId") @@ -188,6 +238,15 @@ def data_transfer_medium_details(self) -> Optional[pulumi.Input['MigrationDataTr def data_transfer_medium_details(self, value: Optional[pulumi.Input['MigrationDataTransferMediumDetailsArgs']]): pulumi.set(self, "data_transfer_medium_details", value) + @property + @pulumi.getter(name="dataTransferMediumDetailsV2") + def data_transfer_medium_details_v2(self) -> Optional[pulumi.Input['MigrationDataTransferMediumDetailsV2Args']]: + return pulumi.get(self, "data_transfer_medium_details_v2") + + @data_transfer_medium_details_v2.setter + def data_transfer_medium_details_v2(self, value: Optional[pulumi.Input['MigrationDataTransferMediumDetailsV2Args']]): + pulumi.set(self, "data_transfer_medium_details_v2", value) + @property @pulumi.getter(name="datapumpSettings") def datapump_settings(self) -> Optional[pulumi.Input['MigrationDatapumpSettingsArgs']]: @@ -330,6 +389,7 @@ def __init__(__self__, *, credentials_secret_id: Optional[pulumi.Input[str]] = None, csv_text: Optional[pulumi.Input[str]] = None, data_transfer_medium_details: Optional[pulumi.Input['MigrationDataTransferMediumDetailsArgs']] = None, + data_transfer_medium_details_v2: Optional[pulumi.Input['MigrationDataTransferMediumDetailsV2Args']] = None, datapump_settings: Optional[pulumi.Input['MigrationDatapumpSettingsArgs']] = None, defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, display_name: Optional[pulumi.Input[str]] = None, @@ -383,62 +443,129 @@ def __init__(__self__, *, :param pulumi.Input['MigrationVaultDetailsArgs'] vault_details: (Updatable) Oracle Cloud Infrastructure Vault details to store migration and connection credentials secrets :param pulumi.Input[str] wait_after: Name of a migration phase. The Job will wait after executing this phase until the Resume Job endpoint is called. """ + _MigrationState._configure( + lambda key, value: pulumi.set(__self__, key, value), + advisor_settings=advisor_settings, + agent_id=agent_id, + compartment_id=compartment_id, + credentials_secret_id=credentials_secret_id, + csv_text=csv_text, + data_transfer_medium_details=data_transfer_medium_details, + data_transfer_medium_details_v2=data_transfer_medium_details_v2, + datapump_settings=datapump_settings, + defined_tags=defined_tags, + display_name=display_name, + dump_transfer_details=dump_transfer_details, + exclude_objects=exclude_objects, + executing_job_id=executing_job_id, + freeform_tags=freeform_tags, + golden_gate_details=golden_gate_details, + golden_gate_service_details=golden_gate_service_details, + include_objects=include_objects, + lifecycle_details=lifecycle_details, + source_container_database_connection_id=source_container_database_connection_id, + source_database_connection_id=source_database_connection_id, + state=state, + system_tags=system_tags, + target_database_connection_id=target_database_connection_id, + time_created=time_created, + time_last_migration=time_last_migration, + time_updated=time_updated, + type=type, + vault_details=vault_details, + wait_after=wait_after, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + advisor_settings: Optional[pulumi.Input['MigrationAdvisorSettingsArgs']] = None, + agent_id: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + credentials_secret_id: Optional[pulumi.Input[str]] = None, + csv_text: Optional[pulumi.Input[str]] = None, + data_transfer_medium_details: Optional[pulumi.Input['MigrationDataTransferMediumDetailsArgs']] = None, + data_transfer_medium_details_v2: Optional[pulumi.Input['MigrationDataTransferMediumDetailsV2Args']] = None, + datapump_settings: Optional[pulumi.Input['MigrationDatapumpSettingsArgs']] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + dump_transfer_details: Optional[pulumi.Input['MigrationDumpTransferDetailsArgs']] = None, + exclude_objects: Optional[pulumi.Input[Sequence[pulumi.Input['MigrationExcludeObjectArgs']]]] = None, + executing_job_id: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + golden_gate_details: Optional[pulumi.Input['MigrationGoldenGateDetailsArgs']] = None, + golden_gate_service_details: Optional[pulumi.Input['MigrationGoldenGateServiceDetailsArgs']] = None, + include_objects: Optional[pulumi.Input[Sequence[pulumi.Input['MigrationIncludeObjectArgs']]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + source_container_database_connection_id: Optional[pulumi.Input[str]] = None, + source_database_connection_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + target_database_connection_id: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_last_migration: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + vault_details: Optional[pulumi.Input['MigrationVaultDetailsArgs']] = None, + wait_after: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if advisor_settings is not None: - pulumi.set(__self__, "advisor_settings", advisor_settings) + _setter("advisor_settings", advisor_settings) if agent_id is not None: - pulumi.set(__self__, "agent_id", agent_id) + _setter("agent_id", agent_id) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if credentials_secret_id is not None: - pulumi.set(__self__, "credentials_secret_id", credentials_secret_id) + _setter("credentials_secret_id", credentials_secret_id) if csv_text is not None: - pulumi.set(__self__, "csv_text", csv_text) + _setter("csv_text", csv_text) if data_transfer_medium_details is not None: - pulumi.set(__self__, "data_transfer_medium_details", data_transfer_medium_details) + _setter("data_transfer_medium_details", data_transfer_medium_details) + if data_transfer_medium_details_v2 is not None: + _setter("data_transfer_medium_details_v2", data_transfer_medium_details_v2) if datapump_settings is not None: - pulumi.set(__self__, "datapump_settings", datapump_settings) + _setter("datapump_settings", datapump_settings) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if dump_transfer_details is not None: - pulumi.set(__self__, "dump_transfer_details", dump_transfer_details) + _setter("dump_transfer_details", dump_transfer_details) if exclude_objects is not None: - pulumi.set(__self__, "exclude_objects", exclude_objects) + _setter("exclude_objects", exclude_objects) if executing_job_id is not None: - pulumi.set(__self__, "executing_job_id", executing_job_id) + _setter("executing_job_id", executing_job_id) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if golden_gate_details is not None: - pulumi.set(__self__, "golden_gate_details", golden_gate_details) + _setter("golden_gate_details", golden_gate_details) if golden_gate_service_details is not None: - pulumi.set(__self__, "golden_gate_service_details", golden_gate_service_details) + _setter("golden_gate_service_details", golden_gate_service_details) if include_objects is not None: - pulumi.set(__self__, "include_objects", include_objects) + _setter("include_objects", include_objects) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if source_container_database_connection_id is not None: - pulumi.set(__self__, "source_container_database_connection_id", source_container_database_connection_id) + _setter("source_container_database_connection_id", source_container_database_connection_id) if source_database_connection_id is not None: - pulumi.set(__self__, "source_database_connection_id", source_database_connection_id) + _setter("source_database_connection_id", source_database_connection_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if target_database_connection_id is not None: - pulumi.set(__self__, "target_database_connection_id", target_database_connection_id) + _setter("target_database_connection_id", target_database_connection_id) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_last_migration is not None: - pulumi.set(__self__, "time_last_migration", time_last_migration) + _setter("time_last_migration", time_last_migration) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if vault_details is not None: - pulumi.set(__self__, "vault_details", vault_details) + _setter("vault_details", vault_details) if wait_after is not None: - pulumi.set(__self__, "wait_after", wait_after) + _setter("wait_after", wait_after) @property @pulumi.getter(name="advisorSettings") @@ -512,6 +639,15 @@ def data_transfer_medium_details(self) -> Optional[pulumi.Input['MigrationDataTr def data_transfer_medium_details(self, value: Optional[pulumi.Input['MigrationDataTransferMediumDetailsArgs']]): pulumi.set(self, "data_transfer_medium_details", value) + @property + @pulumi.getter(name="dataTransferMediumDetailsV2") + def data_transfer_medium_details_v2(self) -> Optional[pulumi.Input['MigrationDataTransferMediumDetailsV2Args']]: + return pulumi.get(self, "data_transfer_medium_details_v2") + + @data_transfer_medium_details_v2.setter + def data_transfer_medium_details_v2(self, value: Optional[pulumi.Input['MigrationDataTransferMediumDetailsV2Args']]): + pulumi.set(self, "data_transfer_medium_details_v2", value) + @property @pulumi.getter(name="datapumpSettings") def datapump_settings(self) -> Optional[pulumi.Input['MigrationDatapumpSettingsArgs']]: @@ -787,6 +923,7 @@ def __init__(__self__, compartment_id: Optional[pulumi.Input[str]] = None, csv_text: Optional[pulumi.Input[str]] = None, data_transfer_medium_details: Optional[pulumi.Input[pulumi.InputType['MigrationDataTransferMediumDetailsArgs']]] = None, + data_transfer_medium_details_v2: Optional[pulumi.Input[pulumi.InputType['MigrationDataTransferMediumDetailsV2Args']]] = None, datapump_settings: Optional[pulumi.Input[pulumi.InputType['MigrationDatapumpSettingsArgs']]] = None, defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, display_name: Optional[pulumi.Input[str]] = None, @@ -1180,6 +1317,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + MigrationArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -1190,6 +1331,7 @@ def _internal_init(__self__, compartment_id: Optional[pulumi.Input[str]] = None, csv_text: Optional[pulumi.Input[str]] = None, data_transfer_medium_details: Optional[pulumi.Input[pulumi.InputType['MigrationDataTransferMediumDetailsArgs']]] = None, + data_transfer_medium_details_v2: Optional[pulumi.Input[pulumi.InputType['MigrationDataTransferMediumDetailsV2Args']]] = None, datapump_settings: Optional[pulumi.Input[pulumi.InputType['MigrationDatapumpSettingsArgs']]] = None, defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, display_name: Optional[pulumi.Input[str]] = None, @@ -1213,20 +1355,56 @@ def _internal_init(__self__, raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = MigrationArgs.__new__(MigrationArgs) + if advisor_settings is not None and not isinstance(advisor_settings, MigrationAdvisorSettingsArgs): + advisor_settings = advisor_settings or {} + def _setter(key, value): + advisor_settings[key] = value + MigrationAdvisorSettingsArgs._configure(_setter, **advisor_settings) __props__.__dict__["advisor_settings"] = advisor_settings __props__.__dict__["agent_id"] = agent_id if compartment_id is None and not opts.urn: raise TypeError("Missing required property 'compartment_id'") __props__.__dict__["compartment_id"] = compartment_id __props__.__dict__["csv_text"] = csv_text + if data_transfer_medium_details is not None and not isinstance(data_transfer_medium_details, MigrationDataTransferMediumDetailsArgs): + data_transfer_medium_details = data_transfer_medium_details or {} + def _setter(key, value): + data_transfer_medium_details[key] = value + MigrationDataTransferMediumDetailsArgs._configure(_setter, **data_transfer_medium_details) __props__.__dict__["data_transfer_medium_details"] = data_transfer_medium_details + if data_transfer_medium_details_v2 is not None and not isinstance(data_transfer_medium_details_v2, MigrationDataTransferMediumDetailsV2Args): + data_transfer_medium_details_v2 = data_transfer_medium_details_v2 or {} + def _setter(key, value): + data_transfer_medium_details_v2[key] = value + MigrationDataTransferMediumDetailsV2Args._configure(_setter, **data_transfer_medium_details_v2) + __props__.__dict__["data_transfer_medium_details_v2"] = data_transfer_medium_details_v2 + if datapump_settings is not None and not isinstance(datapump_settings, MigrationDatapumpSettingsArgs): + datapump_settings = datapump_settings or {} + def _setter(key, value): + datapump_settings[key] = value + MigrationDatapumpSettingsArgs._configure(_setter, **datapump_settings) __props__.__dict__["datapump_settings"] = datapump_settings __props__.__dict__["defined_tags"] = defined_tags __props__.__dict__["display_name"] = display_name + if dump_transfer_details is not None and not isinstance(dump_transfer_details, MigrationDumpTransferDetailsArgs): + dump_transfer_details = dump_transfer_details or {} + def _setter(key, value): + dump_transfer_details[key] = value + MigrationDumpTransferDetailsArgs._configure(_setter, **dump_transfer_details) __props__.__dict__["dump_transfer_details"] = dump_transfer_details __props__.__dict__["exclude_objects"] = exclude_objects __props__.__dict__["freeform_tags"] = freeform_tags + if golden_gate_details is not None and not isinstance(golden_gate_details, MigrationGoldenGateDetailsArgs): + golden_gate_details = golden_gate_details or {} + def _setter(key, value): + golden_gate_details[key] = value + MigrationGoldenGateDetailsArgs._configure(_setter, **golden_gate_details) __props__.__dict__["golden_gate_details"] = golden_gate_details + if golden_gate_service_details is not None and not isinstance(golden_gate_service_details, MigrationGoldenGateServiceDetailsArgs): + golden_gate_service_details = golden_gate_service_details or {} + def _setter(key, value): + golden_gate_service_details[key] = value + MigrationGoldenGateServiceDetailsArgs._configure(_setter, **golden_gate_service_details) __props__.__dict__["golden_gate_service_details"] = golden_gate_service_details __props__.__dict__["include_objects"] = include_objects __props__.__dict__["source_container_database_connection_id"] = source_container_database_connection_id @@ -1239,6 +1417,11 @@ def _internal_init(__self__, if type is None and not opts.urn: raise TypeError("Missing required property 'type'") __props__.__dict__["type"] = type + if vault_details is not None and not isinstance(vault_details, MigrationVaultDetailsArgs): + vault_details = vault_details or {} + def _setter(key, value): + vault_details[key] = value + MigrationVaultDetailsArgs._configure(_setter, **vault_details) __props__.__dict__["vault_details"] = vault_details __props__.__dict__["credentials_secret_id"] = None __props__.__dict__["executing_job_id"] = None @@ -1265,6 +1448,7 @@ def get(resource_name: str, credentials_secret_id: Optional[pulumi.Input[str]] = None, csv_text: Optional[pulumi.Input[str]] = None, data_transfer_medium_details: Optional[pulumi.Input[pulumi.InputType['MigrationDataTransferMediumDetailsArgs']]] = None, + data_transfer_medium_details_v2: Optional[pulumi.Input[pulumi.InputType['MigrationDataTransferMediumDetailsV2Args']]] = None, datapump_settings: Optional[pulumi.Input[pulumi.InputType['MigrationDatapumpSettingsArgs']]] = None, defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, display_name: Optional[pulumi.Input[str]] = None, @@ -1333,6 +1517,7 @@ def get(resource_name: str, __props__.__dict__["credentials_secret_id"] = credentials_secret_id __props__.__dict__["csv_text"] = csv_text __props__.__dict__["data_transfer_medium_details"] = data_transfer_medium_details + __props__.__dict__["data_transfer_medium_details_v2"] = data_transfer_medium_details_v2 __props__.__dict__["datapump_settings"] = datapump_settings __props__.__dict__["defined_tags"] = defined_tags __props__.__dict__["display_name"] = display_name @@ -1405,6 +1590,11 @@ def data_transfer_medium_details(self) -> pulumi.Output['outputs.MigrationDataTr """ return pulumi.get(self, "data_transfer_medium_details") + @property + @pulumi.getter(name="dataTransferMediumDetailsV2") + def data_transfer_medium_details_v2(self) -> pulumi.Output['outputs.MigrationDataTransferMediumDetailsV2']: + return pulumi.get(self, "data_transfer_medium_details_v2") + @property @pulumi.getter(name="datapumpSettings") def datapump_settings(self) -> pulumi.Output['outputs.MigrationDatapumpSettings']: diff --git a/sdk/python/pulumi_oci/databasemigration/outputs.py b/sdk/python/pulumi_oci/databasemigration/outputs.py index 36d5b1edad..8f3248f2d9 100644 --- a/sdk/python/pulumi_oci/databasemigration/outputs.py +++ b/sdk/python/pulumi_oci/databasemigration/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -27,6 +27,8 @@ 'MigrationDataTransferMediumDetailsDatabaseLinkDetails', 'MigrationDataTransferMediumDetailsDatabaseLinkDetailsWalletBucket', 'MigrationDataTransferMediumDetailsObjectStorageDetails', + 'MigrationDataTransferMediumDetailsV2', + 'MigrationDataTransferMediumDetailsV2ObjectStorageBucket', 'MigrationDatapumpSettings', 'MigrationDatapumpSettingsDataPumpParameters', 'MigrationDatapumpSettingsExportDirectoryObject', @@ -84,6 +86,8 @@ 'GetMigrationDataTransferMediumDetailDatabaseLinkDetailResult', 'GetMigrationDataTransferMediumDetailDatabaseLinkDetailWalletBucketResult', 'GetMigrationDataTransferMediumDetailObjectStorageDetailResult', + 'GetMigrationDataTransferMediumDetailsV2Result', + 'GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketResult', 'GetMigrationDatapumpSettingResult', 'GetMigrationDatapumpSettingDataPumpParameterResult', 'GetMigrationDatapumpSettingExportDirectoryObjectResult', @@ -123,6 +127,8 @@ 'GetMigrationsMigrationCollectionItemDataTransferMediumDetailDatabaseLinkDetailResult', 'GetMigrationsMigrationCollectionItemDataTransferMediumDetailDatabaseLinkDetailWalletBucketResult', 'GetMigrationsMigrationCollectionItemDataTransferMediumDetailObjectStorageDetailResult', + 'GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2Result', + 'GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketResult', 'GetMigrationsMigrationCollectionItemDatapumpSettingResult', 'GetMigrationsMigrationCollectionItemDatapumpSettingDataPumpParameterResult', 'GetMigrationsMigrationCollectionItemDatapumpSettingExportDirectoryObjectResult', @@ -162,8 +168,19 @@ def __init__(__self__, *, :param str password: (Updatable) Administrator password :param str username: (Updatable) Administrator username """ - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "username", username) + ConnectionAdminCredentials._configure( + lambda key, value: pulumi.set(__self__, key, value), + password=password, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + password: str, + username: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("password", password) + _setter("username", username) @property @pulumi.getter @@ -214,14 +231,29 @@ def __init__(__self__, *, :param str host: (Updatable) Name of the host the SSH key is valid for. :param int port: (Updatable) Port of the connect descriptor. Required if no connectString was specified. """ + ConnectionConnectDescriptor._configure( + lambda key, value: pulumi.set(__self__, key, value), + connect_string=connect_string, + database_service_name=database_service_name, + host=host, + port=port, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + connect_string: Optional[str] = None, + database_service_name: Optional[str] = None, + host: Optional[str] = None, + port: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if connect_string is not None: - pulumi.set(__self__, "connect_string", connect_string) + _setter("connect_string", connect_string) if database_service_name is not None: - pulumi.set(__self__, "database_service_name", database_service_name) + _setter("database_service_name", database_service_name) if host is not None: - pulumi.set(__self__, "host", host) + _setter("host", host) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) @property @pulumi.getter(name="connectString") @@ -290,11 +322,26 @@ def __init__(__self__, *, :param str vcn_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN where the Private Endpoint will be bound to. :param str id: [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a previously created Private Endpoint. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "vcn_id", vcn_id) + ConnectionPrivateEndpoint._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + subnet_id=subnet_id, + vcn_id=vcn_id, + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + subnet_id: str, + vcn_id: str, + id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("subnet_id", subnet_id) + _setter("vcn_id", vcn_id) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) @property @pulumi.getter(name="compartmentId") @@ -338,8 +385,19 @@ def __init__(__self__, *, :param str password: (Updatable) Administrator password :param str username: (Updatable) Administrator username """ - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "username", username) + ConnectionReplicationCredentials._configure( + lambda key, value: pulumi.set(__self__, key, value), + password=password, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + password: str, + username: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("password", password) + _setter("username", username) @property @pulumi.getter @@ -388,11 +446,26 @@ def __init__(__self__, *, :param str user: (Updatable) SSH user :param str sudo_location: (Updatable) Sudo location """ - pulumi.set(__self__, "host", host) - pulumi.set(__self__, "sshkey", sshkey) - pulumi.set(__self__, "user", user) + ConnectionSshDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + host=host, + sshkey=sshkey, + user=user, + sudo_location=sudo_location, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host: str, + sshkey: str, + user: str, + sudo_location: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("host", host) + _setter("sshkey", sshkey) + _setter("user", user) if sudo_location is not None: - pulumi.set(__self__, "sudo_location", sudo_location) + _setter("sudo_location", sudo_location) @property @pulumi.getter @@ -463,9 +536,22 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "key_id", key_id) - pulumi.set(__self__, "vault_id", vault_id) + ConnectionVaultDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + key_id=key_id, + vault_id=vault_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + key_id: str, + vault_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("key_id", key_id) + _setter("vault_id", vault_id) @property @pulumi.getter(name="compartmentId") @@ -526,12 +612,25 @@ def __init__(__self__, *, :param str current_status: Current status of the job. :param Sequence['JobProgressPhaseArgs'] phases: List of phase status for the job. """ + JobProgress._configure( + lambda key, value: pulumi.set(__self__, key, value), + current_phase=current_phase, + current_status=current_status, + phases=phases, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + current_phase: Optional[str] = None, + current_status: Optional[str] = None, + phases: Optional[Sequence['outputs.JobProgressPhase']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if current_phase is not None: - pulumi.set(__self__, "current_phase", current_phase) + _setter("current_phase", current_phase) if current_status is not None: - pulumi.set(__self__, "current_status", current_status) + _setter("current_status", current_status) if phases is not None: - pulumi.set(__self__, "phases", phases) + _setter("phases", phases) @property @pulumi.getter(name="currentPhase") @@ -602,24 +701,49 @@ def __init__(__self__, *, :param int progress: Percent progress of job phase. :param str status: Phase status """ + JobProgressPhase._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + duration_in_ms=duration_in_ms, + extracts=extracts, + is_advisor_report_available=is_advisor_report_available, + issue=issue, + log_locations=log_locations, + name=name, + progress=progress, + status=status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: Optional[str] = None, + duration_in_ms: Optional[int] = None, + extracts: Optional[Sequence['outputs.JobProgressPhaseExtract']] = None, + is_advisor_report_available: Optional[bool] = None, + issue: Optional[str] = None, + log_locations: Optional[Sequence['outputs.JobProgressPhaseLogLocation']] = None, + name: Optional[str] = None, + progress: Optional[int] = None, + status: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if action is not None: - pulumi.set(__self__, "action", action) + _setter("action", action) if duration_in_ms is not None: - pulumi.set(__self__, "duration_in_ms", duration_in_ms) + _setter("duration_in_ms", duration_in_ms) if extracts is not None: - pulumi.set(__self__, "extracts", extracts) + _setter("extracts", extracts) if is_advisor_report_available is not None: - pulumi.set(__self__, "is_advisor_report_available", is_advisor_report_available) + _setter("is_advisor_report_available", is_advisor_report_available) if issue is not None: - pulumi.set(__self__, "issue", issue) + _setter("issue", issue) if log_locations is not None: - pulumi.set(__self__, "log_locations", log_locations) + _setter("log_locations", log_locations) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if progress is not None: - pulumi.set(__self__, "progress", progress) + _setter("progress", progress) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) @property @pulumi.getter @@ -703,10 +827,21 @@ def __init__(__self__, *, :param str message: Message in entry. :param str type: Type of unsupported object """ + JobProgressPhaseExtract._configure( + lambda key, value: pulumi.set(__self__, key, value), + message=message, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + message: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if message is not None: - pulumi.set(__self__, "message", message) + _setter("message", message) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -736,12 +871,25 @@ def __init__(__self__, *, :param str namespace: Object Storage namespace. :param str object: Name of the object (regular expression is allowed) """ + JobProgressPhaseLogLocation._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + namespace=namespace, + object=object, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: Optional[str] = None, + namespace: Optional[str] = None, + object: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if bucket is not None: - pulumi.set(__self__, "bucket", bucket) + _setter("bucket", bucket) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if object is not None: - pulumi.set(__self__, "object", object) + _setter("object", object) @property @pulumi.getter @@ -779,12 +927,25 @@ def __init__(__self__, *, :param str owner: Owner of the object (regular expression is allowed) :param str type: Type of unsupported object """ + JobUnsupportedObject._configure( + lambda key, value: pulumi.set(__self__, key, value), + object=object, + owner=owner, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + object: Optional[str] = None, + owner: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if object is not None: - pulumi.set(__self__, "object", object) + _setter("object", object) if owner is not None: - pulumi.set(__self__, "owner", owner) + _setter("owner", owner) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -839,10 +1000,21 @@ def __init__(__self__, *, :param bool is_ignore_errors: (Updatable) True to not interrupt migration execution due to Pre-Migration Advisor errors. Default is false. :param bool is_skip_advisor: (Updatable) True to skip the Pre-Migration Advisor execution. Default is false. """ + MigrationAdvisorSettings._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_ignore_errors=is_ignore_errors, + is_skip_advisor=is_skip_advisor, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_ignore_errors: Optional[bool] = None, + is_skip_advisor: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_ignore_errors is not None: - pulumi.set(__self__, "is_ignore_errors", is_ignore_errors) + _setter("is_ignore_errors", is_ignore_errors) if is_skip_advisor is not None: - pulumi.set(__self__, "is_skip_advisor", is_skip_advisor) + _setter("is_skip_advisor", is_skip_advisor) @property @pulumi.getter(name="isIgnoreErrors") @@ -889,10 +1061,21 @@ def __init__(__self__, *, :param 'MigrationDataTransferMediumDetailsDatabaseLinkDetailsArgs' database_link_details: (Updatable) Optional details for creating a network database link from Oracle Cloud Infrastructure database to on-premise database. :param 'MigrationDataTransferMediumDetailsObjectStorageDetailsArgs' object_storage_details: (Updatable) In lieu of a network database link, Oracle Cloud Infrastructure Object Storage bucket will be used to store Data Pump dump files for the migration. Additionally, it can be specified alongside a database link data transfer medium. """ + MigrationDataTransferMediumDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + database_link_details=database_link_details, + object_storage_details=object_storage_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + database_link_details: Optional['outputs.MigrationDataTransferMediumDetailsDatabaseLinkDetails'] = None, + object_storage_details: Optional['outputs.MigrationDataTransferMediumDetailsObjectStorageDetails'] = None, + opts: Optional[pulumi.ResourceOptions]=None): if database_link_details is not None: - pulumi.set(__self__, "database_link_details", database_link_details) + _setter("database_link_details", database_link_details) if object_storage_details is not None: - pulumi.set(__self__, "object_storage_details", object_storage_details) + _setter("object_storage_details", object_storage_details) @property @pulumi.getter(name="databaseLinkDetails") @@ -937,10 +1120,21 @@ def __init__(__self__, *, :param str name: (Updatable) Name of directory object in database :param 'MigrationDataTransferMediumDetailsDatabaseLinkDetailsWalletBucketArgs' wallet_bucket: (Updatable) In lieu of a network database link, Oracle Cloud Infrastructure Object Storage bucket will be used to store Data Pump dump files for the migration. Additionally, it can be specified alongside a database link data transfer medium. """ + MigrationDataTransferMediumDetailsDatabaseLinkDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + wallet_bucket=wallet_bucket, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[str] = None, + wallet_bucket: Optional['outputs.MigrationDataTransferMediumDetailsDatabaseLinkDetailsWalletBucket'] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if wallet_bucket is not None: - pulumi.set(__self__, "wallet_bucket", wallet_bucket) + _setter("wallet_bucket", wallet_bucket) @property @pulumi.getter @@ -968,8 +1162,19 @@ def __init__(__self__, *, :param str bucket: (Updatable) Bucket name. :param str namespace: (Updatable) Namespace name of the object store bucket. """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "namespace", namespace) + MigrationDataTransferMediumDetailsDatabaseLinkDetailsWalletBucket._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + namespace=namespace, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + namespace: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("namespace", namespace) @property @pulumi.getter @@ -997,8 +1202,19 @@ def __init__(__self__, *, :param str bucket: (Updatable) Bucket name. :param str namespace: (Updatable) Namespace name of the object store bucket. """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "namespace", namespace) + MigrationDataTransferMediumDetailsObjectStorageDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + namespace=namespace, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + namespace: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("namespace", namespace) @property @pulumi.getter @@ -1017,6 +1233,150 @@ def namespace(self) -> str: return pulumi.get(self, "namespace") +@pulumi.output_type +class MigrationDataTransferMediumDetailsV2(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "accessKeyId": + suggest = "access_key_id" + elif key == "objectStorageBucket": + suggest = "object_storage_bucket" + elif key == "secretAccessKey": + suggest = "secret_access_key" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in MigrationDataTransferMediumDetailsV2. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + MigrationDataTransferMediumDetailsV2.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + MigrationDataTransferMediumDetailsV2.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + type: str, + access_key_id: Optional[str] = None, + name: Optional[str] = None, + object_storage_bucket: Optional['outputs.MigrationDataTransferMediumDetailsV2ObjectStorageBucket'] = None, + region: Optional[str] = None, + secret_access_key: Optional[str] = None): + """ + :param str type: (Updatable) Migration type. + :param str name: (Updatable) Name of directory object in database + """ + MigrationDataTransferMediumDetailsV2._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + access_key_id=access_key_id, + name=name, + object_storage_bucket=object_storage_bucket, + region=region, + secret_access_key=secret_access_key, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + access_key_id: Optional[str] = None, + name: Optional[str] = None, + object_storage_bucket: Optional['outputs.MigrationDataTransferMediumDetailsV2ObjectStorageBucket'] = None, + region: Optional[str] = None, + secret_access_key: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + if access_key_id is not None: + _setter("access_key_id", access_key_id) + if name is not None: + _setter("name", name) + if object_storage_bucket is not None: + _setter("object_storage_bucket", object_storage_bucket) + if region is not None: + _setter("region", region) + if secret_access_key is not None: + _setter("secret_access_key", secret_access_key) + + @property + @pulumi.getter + def type(self) -> str: + """ + (Updatable) Migration type. + """ + return pulumi.get(self, "type") + + @property + @pulumi.getter(name="accessKeyId") + def access_key_id(self) -> Optional[str]: + return pulumi.get(self, "access_key_id") + + @property + @pulumi.getter + def name(self) -> Optional[str]: + """ + (Updatable) Name of directory object in database + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="objectStorageBucket") + def object_storage_bucket(self) -> Optional['outputs.MigrationDataTransferMediumDetailsV2ObjectStorageBucket']: + return pulumi.get(self, "object_storage_bucket") + + @property + @pulumi.getter + def region(self) -> Optional[str]: + return pulumi.get(self, "region") + + @property + @pulumi.getter(name="secretAccessKey") + def secret_access_key(self) -> Optional[str]: + return pulumi.get(self, "secret_access_key") + + +@pulumi.output_type +class MigrationDataTransferMediumDetailsV2ObjectStorageBucket(dict): + def __init__(__self__, *, + bucket: Optional[str] = None, + namespace: Optional[str] = None): + """ + :param str bucket: (Updatable) Bucket name. + :param str namespace: (Updatable) Namespace name of the object store bucket. + """ + MigrationDataTransferMediumDetailsV2ObjectStorageBucket._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + namespace=namespace, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: Optional[str] = None, + namespace: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if bucket is not None: + _setter("bucket", bucket) + if namespace is not None: + _setter("namespace", namespace) + + @property + @pulumi.getter + def bucket(self) -> Optional[str]: + """ + (Updatable) Bucket name. + """ + return pulumi.get(self, "bucket") + + @property + @pulumi.getter + def namespace(self) -> Optional[str]: + """ + (Updatable) Namespace name of the object store bucket. + """ + return pulumi.get(self, "namespace") + + @pulumi.output_type class MigrationDatapumpSettings(dict): @staticmethod @@ -1057,16 +1417,33 @@ def __init__(__self__, *, :param str job_mode: (Updatable) Data Pump job mode. Refer to [link text](https://docs.oracle.com/en/database/oracle/oracle-database/19/sutil/oracle-data-pump-export-utility.html#GUID-8E497131-6B9B-4CC8-AA50-35F480CAC2C4) :param Sequence['MigrationDatapumpSettingsMetadataRemapArgs'] metadata_remaps: (Updatable) Defines remapping to be applied to objects as they are processed. Refer to [DATA_REMAP](https://docs.oracle.com/en/database/oracle/oracle-database/19/arpls/DBMS_DATAPUMP.html#GUID-E75AAE6F-4EA6-4737-A752-6B62F5E9D460) """ + MigrationDatapumpSettings._configure( + lambda key, value: pulumi.set(__self__, key, value), + data_pump_parameters=data_pump_parameters, + export_directory_object=export_directory_object, + import_directory_object=import_directory_object, + job_mode=job_mode, + metadata_remaps=metadata_remaps, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + data_pump_parameters: Optional['outputs.MigrationDatapumpSettingsDataPumpParameters'] = None, + export_directory_object: Optional['outputs.MigrationDatapumpSettingsExportDirectoryObject'] = None, + import_directory_object: Optional['outputs.MigrationDatapumpSettingsImportDirectoryObject'] = None, + job_mode: Optional[str] = None, + metadata_remaps: Optional[Sequence['outputs.MigrationDatapumpSettingsMetadataRemap']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if data_pump_parameters is not None: - pulumi.set(__self__, "data_pump_parameters", data_pump_parameters) + _setter("data_pump_parameters", data_pump_parameters) if export_directory_object is not None: - pulumi.set(__self__, "export_directory_object", export_directory_object) + _setter("export_directory_object", export_directory_object) if import_directory_object is not None: - pulumi.set(__self__, "import_directory_object", import_directory_object) + _setter("import_directory_object", import_directory_object) if job_mode is not None: - pulumi.set(__self__, "job_mode", job_mode) + _setter("job_mode", job_mode) if metadata_remaps is not None: - pulumi.set(__self__, "metadata_remaps", metadata_remaps) + _setter("metadata_remaps", metadata_remaps) @property @pulumi.getter(name="dataPumpParameters") @@ -1151,18 +1528,37 @@ def __init__(__self__, *, :param bool is_cluster: (Updatable) Set to false to force Data Pump worker process to run on one instance. :param str table_exists_action: (Updatable) IMPORT: Specifies the action to be performed when data is loaded into a preexisting table. """ + MigrationDatapumpSettingsDataPumpParameters._configure( + lambda key, value: pulumi.set(__self__, key, value), + estimate=estimate, + exclude_parameters=exclude_parameters, + export_parallelism_degree=export_parallelism_degree, + import_parallelism_degree=import_parallelism_degree, + is_cluster=is_cluster, + table_exists_action=table_exists_action, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + estimate: Optional[str] = None, + exclude_parameters: Optional[Sequence[str]] = None, + export_parallelism_degree: Optional[int] = None, + import_parallelism_degree: Optional[int] = None, + is_cluster: Optional[bool] = None, + table_exists_action: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if estimate is not None: - pulumi.set(__self__, "estimate", estimate) + _setter("estimate", estimate) if exclude_parameters is not None: - pulumi.set(__self__, "exclude_parameters", exclude_parameters) + _setter("exclude_parameters", exclude_parameters) if export_parallelism_degree is not None: - pulumi.set(__self__, "export_parallelism_degree", export_parallelism_degree) + _setter("export_parallelism_degree", export_parallelism_degree) if import_parallelism_degree is not None: - pulumi.set(__self__, "import_parallelism_degree", import_parallelism_degree) + _setter("import_parallelism_degree", import_parallelism_degree) if is_cluster is not None: - pulumi.set(__self__, "is_cluster", is_cluster) + _setter("is_cluster", is_cluster) if table_exists_action is not None: - pulumi.set(__self__, "table_exists_action", table_exists_action) + _setter("table_exists_action", table_exists_action) @property @pulumi.getter @@ -1222,9 +1618,20 @@ def __init__(__self__, *, :param str name: (Updatable) Name of directory object in database :param str path: (Updatable) Absolute path of directory on database server """ - pulumi.set(__self__, "name", name) + MigrationDatapumpSettingsExportDirectoryObject._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + path=path, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + path: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) if path is not None: - pulumi.set(__self__, "path", path) + _setter("path", path) @property @pulumi.getter @@ -1252,9 +1659,20 @@ def __init__(__self__, *, :param str name: (Updatable) Name of directory object in database :param str path: (Updatable) Absolute path of directory on database server """ - pulumi.set(__self__, "name", name) + MigrationDatapumpSettingsImportDirectoryObject._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + path=path, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + path: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) if path is not None: - pulumi.set(__self__, "path", path) + _setter("path", path) @property @pulumi.getter @@ -1303,9 +1721,22 @@ def __init__(__self__, *, :param str old_value: (Updatable) Specifies the value which needs to be reset. :param str type: (Updatable) Migration type. """ - pulumi.set(__self__, "new_value", new_value) - pulumi.set(__self__, "old_value", old_value) - pulumi.set(__self__, "type", type) + MigrationDatapumpSettingsMetadataRemap._configure( + lambda key, value: pulumi.set(__self__, key, value), + new_value=new_value, + old_value=old_value, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + new_value: str, + old_value: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("new_value", new_value) + _setter("old_value", old_value) + _setter("type", type) @property @pulumi.getter(name="newValue") @@ -1334,17 +1765,55 @@ def type(self) -> str: @pulumi.output_type class MigrationDumpTransferDetails(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "sharedStorageMountTargetId": + suggest = "shared_storage_mount_target_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in MigrationDumpTransferDetails. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + MigrationDumpTransferDetails.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + MigrationDumpTransferDetails.__key_warning(key) + return super().get(key, default) + def __init__(__self__, *, + shared_storage_mount_target_id: Optional[str] = None, source: Optional['outputs.MigrationDumpTransferDetailsSource'] = None, target: Optional['outputs.MigrationDumpTransferDetailsTarget'] = None): """ :param 'MigrationDumpTransferDetailsSourceArgs' source: (Updatable) Optional additional properties for dump transfer in source or target host. Default kind is CURL :param 'MigrationDumpTransferDetailsTargetArgs' target: (Updatable) Optional additional properties for dump transfer in source or target host. Default kind is CURL """ + MigrationDumpTransferDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + shared_storage_mount_target_id=shared_storage_mount_target_id, + source=source, + target=target, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + shared_storage_mount_target_id: Optional[str] = None, + source: Optional['outputs.MigrationDumpTransferDetailsSource'] = None, + target: Optional['outputs.MigrationDumpTransferDetailsTarget'] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if shared_storage_mount_target_id is not None: + _setter("shared_storage_mount_target_id", shared_storage_mount_target_id) if source is not None: - pulumi.set(__self__, "source", source) + _setter("source", source) if target is not None: - pulumi.set(__self__, "target", target) + _setter("target", target) + + @property + @pulumi.getter(name="sharedStorageMountTargetId") + def shared_storage_mount_target_id(self) -> Optional[str]: + return pulumi.get(self, "shared_storage_mount_target_id") @property @pulumi.getter @@ -1393,11 +1862,24 @@ def __init__(__self__, *, :param str oci_home: (Updatable) Path to the Oracle Cloud Infrastructure CLI installation in the node. :param str wallet_location: (Updatable) Directory path to Oracle Cloud Infrastructure SSL wallet location on Db server node. """ - pulumi.set(__self__, "kind", kind) + MigrationDumpTransferDetailsSource._configure( + lambda key, value: pulumi.set(__self__, key, value), + kind=kind, + oci_home=oci_home, + wallet_location=wallet_location, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + kind: str, + oci_home: Optional[str] = None, + wallet_location: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("kind", kind) if oci_home is not None: - pulumi.set(__self__, "oci_home", oci_home) + _setter("oci_home", oci_home) if wallet_location is not None: - pulumi.set(__self__, "wallet_location", wallet_location) + _setter("wallet_location", wallet_location) @property @pulumi.getter @@ -1454,11 +1936,24 @@ def __init__(__self__, *, :param str oci_home: (Updatable) Path to the Oracle Cloud Infrastructure CLI installation in the node. :param str wallet_location: (Updatable) Directory path to Oracle Cloud Infrastructure SSL wallet location on Db server node. """ - pulumi.set(__self__, "kind", kind) + MigrationDumpTransferDetailsTarget._configure( + lambda key, value: pulumi.set(__self__, key, value), + kind=kind, + oci_home=oci_home, + wallet_location=wallet_location, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + kind: str, + oci_home: Optional[str] = None, + wallet_location: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("kind", kind) if oci_home is not None: - pulumi.set(__self__, "oci_home", oci_home) + _setter("oci_home", oci_home) if wallet_location is not None: - pulumi.set(__self__, "wallet_location", wallet_location) + _setter("wallet_location", wallet_location) @property @pulumi.getter @@ -1515,12 +2010,27 @@ def __init__(__self__, *, :param bool is_omit_excluded_table_from_replication: (Updatable) Whether an excluded table should be omitted from replication. Only valid for database objects that have are of type TABLE and that are included in the exludeObjects. :param str type: (Updatable) Migration type. """ - pulumi.set(__self__, "object", object) - pulumi.set(__self__, "owner", owner) + MigrationExcludeObject._configure( + lambda key, value: pulumi.set(__self__, key, value), + object=object, + owner=owner, + is_omit_excluded_table_from_replication=is_omit_excluded_table_from_replication, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + object: str, + owner: str, + is_omit_excluded_table_from_replication: Optional[bool] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("object", object) + _setter("owner", owner) if is_omit_excluded_table_from_replication is not None: - pulumi.set(__self__, "is_omit_excluded_table_from_replication", is_omit_excluded_table_from_replication) + _setter("is_omit_excluded_table_from_replication", is_omit_excluded_table_from_replication) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -1564,9 +2074,20 @@ def __init__(__self__, *, :param 'MigrationGoldenGateDetailsHubArgs' hub: (Updatable) Details about Oracle GoldenGate Microservices. Required for online logical migration. :param 'MigrationGoldenGateDetailsSettingsArgs' settings: (Updatable) Optional settings for GoldenGate Microservices processes """ - pulumi.set(__self__, "hub", hub) + MigrationGoldenGateDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + hub=hub, + settings=settings, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hub: 'outputs.MigrationGoldenGateDetailsHub', + settings: Optional['outputs.MigrationGoldenGateDetailsSettings'] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("hub", hub) if settings is not None: - pulumi.set(__self__, "settings", settings) + _setter("settings", settings) @property @pulumi.getter @@ -1635,20 +2156,43 @@ def __init__(__self__, *, :param 'MigrationGoldenGateDetailsHubTargetDbAdminCredentialsArgs' target_db_admin_credentials: (Updatable) Database Administrator Credentials details. :param str target_microservices_deployment_name: (Updatable) Name of GoldenGate Microservices deployment to operate on target database """ - pulumi.set(__self__, "rest_admin_credentials", rest_admin_credentials) - pulumi.set(__self__, "url", url) + MigrationGoldenGateDetailsHub._configure( + lambda key, value: pulumi.set(__self__, key, value), + rest_admin_credentials=rest_admin_credentials, + url=url, + compute_id=compute_id, + source_container_db_admin_credentials=source_container_db_admin_credentials, + source_db_admin_credentials=source_db_admin_credentials, + source_microservices_deployment_name=source_microservices_deployment_name, + target_db_admin_credentials=target_db_admin_credentials, + target_microservices_deployment_name=target_microservices_deployment_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + rest_admin_credentials: 'outputs.MigrationGoldenGateDetailsHubRestAdminCredentials', + url: str, + compute_id: Optional[str] = None, + source_container_db_admin_credentials: Optional['outputs.MigrationGoldenGateDetailsHubSourceContainerDbAdminCredentials'] = None, + source_db_admin_credentials: Optional['outputs.MigrationGoldenGateDetailsHubSourceDbAdminCredentials'] = None, + source_microservices_deployment_name: Optional[str] = None, + target_db_admin_credentials: Optional['outputs.MigrationGoldenGateDetailsHubTargetDbAdminCredentials'] = None, + target_microservices_deployment_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("rest_admin_credentials", rest_admin_credentials) + _setter("url", url) if compute_id is not None: - pulumi.set(__self__, "compute_id", compute_id) + _setter("compute_id", compute_id) if source_container_db_admin_credentials is not None: - pulumi.set(__self__, "source_container_db_admin_credentials", source_container_db_admin_credentials) + _setter("source_container_db_admin_credentials", source_container_db_admin_credentials) if source_db_admin_credentials is not None: - pulumi.set(__self__, "source_db_admin_credentials", source_db_admin_credentials) + _setter("source_db_admin_credentials", source_db_admin_credentials) if source_microservices_deployment_name is not None: - pulumi.set(__self__, "source_microservices_deployment_name", source_microservices_deployment_name) + _setter("source_microservices_deployment_name", source_microservices_deployment_name) if target_db_admin_credentials is not None: - pulumi.set(__self__, "target_db_admin_credentials", target_db_admin_credentials) + _setter("target_db_admin_credentials", target_db_admin_credentials) if target_microservices_deployment_name is not None: - pulumi.set(__self__, "target_microservices_deployment_name", target_microservices_deployment_name) + _setter("target_microservices_deployment_name", target_microservices_deployment_name) @property @pulumi.getter(name="restAdminCredentials") @@ -1724,8 +2268,19 @@ def __init__(__self__, *, :param str password: (Updatable) Database password :param str username: (Updatable) Database username """ - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "username", username) + MigrationGoldenGateDetailsHubRestAdminCredentials._configure( + lambda key, value: pulumi.set(__self__, key, value), + password=password, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + password: str, + username: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("password", password) + _setter("username", username) @property @pulumi.getter @@ -1753,8 +2308,19 @@ def __init__(__self__, *, :param str password: (Updatable) Database password :param str username: (Updatable) Database username """ - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "username", username) + MigrationGoldenGateDetailsHubSourceContainerDbAdminCredentials._configure( + lambda key, value: pulumi.set(__self__, key, value), + password=password, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + password: str, + username: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("password", password) + _setter("username", username) @property @pulumi.getter @@ -1782,8 +2348,19 @@ def __init__(__self__, *, :param str password: (Updatable) Database password :param str username: (Updatable) Database username """ - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "username", username) + MigrationGoldenGateDetailsHubSourceDbAdminCredentials._configure( + lambda key, value: pulumi.set(__self__, key, value), + password=password, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + password: str, + username: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("password", password) + _setter("username", username) @property @pulumi.getter @@ -1811,8 +2388,19 @@ def __init__(__self__, *, :param str password: (Updatable) Database password :param str username: (Updatable) Database username """ - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "username", username) + MigrationGoldenGateDetailsHubTargetDbAdminCredentials._configure( + lambda key, value: pulumi.set(__self__, key, value), + password=password, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + password: str, + username: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("password", password) + _setter("username", username) @property @pulumi.getter @@ -1859,12 +2447,25 @@ def __init__(__self__, *, :param 'MigrationGoldenGateDetailsSettingsExtractArgs' extract: (Updatable) Parameters for GoldenGate Extract processes. :param 'MigrationGoldenGateDetailsSettingsReplicatArgs' replicat: (Updatable) Parameters for GoldenGate Replicat processes. """ + MigrationGoldenGateDetailsSettings._configure( + lambda key, value: pulumi.set(__self__, key, value), + acceptable_lag=acceptable_lag, + extract=extract, + replicat=replicat, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + acceptable_lag: Optional[int] = None, + extract: Optional['outputs.MigrationGoldenGateDetailsSettingsExtract'] = None, + replicat: Optional['outputs.MigrationGoldenGateDetailsSettingsReplicat'] = None, + opts: Optional[pulumi.ResourceOptions]=None): if acceptable_lag is not None: - pulumi.set(__self__, "acceptable_lag", acceptable_lag) + _setter("acceptable_lag", acceptable_lag) if extract is not None: - pulumi.set(__self__, "extract", extract) + _setter("extract", extract) if replicat is not None: - pulumi.set(__self__, "replicat", replicat) + _setter("replicat", replicat) @property @pulumi.getter(name="acceptableLag") @@ -1919,10 +2520,21 @@ def __init__(__self__, *, :param int long_trans_duration: (Updatable) Length of time (in seconds) that a transaction can be open before Extract generates a warning message that the transaction is long-running. If not specified, Extract will not generate a warning on long-running transactions. :param str performance_profile: (Updatable) Extract performance. """ + MigrationGoldenGateDetailsSettingsExtract._configure( + lambda key, value: pulumi.set(__self__, key, value), + long_trans_duration=long_trans_duration, + performance_profile=performance_profile, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + long_trans_duration: Optional[int] = None, + performance_profile: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if long_trans_duration is not None: - pulumi.set(__self__, "long_trans_duration", long_trans_duration) + _setter("long_trans_duration", long_trans_duration) if performance_profile is not None: - pulumi.set(__self__, "performance_profile", performance_profile) + _setter("performance_profile", performance_profile) @property @pulumi.getter(name="longTransDuration") @@ -1977,14 +2589,29 @@ def __init__(__self__, *, :param int min_apply_parallelism: (Updatable) Defines the range in which the Replicat automatically adjusts its apply parallelism (valid for Parallel Replicat) :param str performance_profile: (Updatable) Extract performance. """ + MigrationGoldenGateDetailsSettingsReplicat._configure( + lambda key, value: pulumi.set(__self__, key, value), + map_parallelism=map_parallelism, + max_apply_parallelism=max_apply_parallelism, + min_apply_parallelism=min_apply_parallelism, + performance_profile=performance_profile, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + map_parallelism: Optional[int] = None, + max_apply_parallelism: Optional[int] = None, + min_apply_parallelism: Optional[int] = None, + performance_profile: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if map_parallelism is not None: - pulumi.set(__self__, "map_parallelism", map_parallelism) + _setter("map_parallelism", map_parallelism) if max_apply_parallelism is not None: - pulumi.set(__self__, "max_apply_parallelism", max_apply_parallelism) + _setter("max_apply_parallelism", max_apply_parallelism) if min_apply_parallelism is not None: - pulumi.set(__self__, "min_apply_parallelism", min_apply_parallelism) + _setter("min_apply_parallelism", min_apply_parallelism) if performance_profile is not None: - pulumi.set(__self__, "performance_profile", performance_profile) + _setter("performance_profile", performance_profile) @property @pulumi.getter(name="mapParallelism") @@ -2057,16 +2684,33 @@ def __init__(__self__, *, :param 'MigrationGoldenGateServiceDetailsSourceDbCredentialsArgs' source_db_credentials: (Updatable) Database Credentials details. :param 'MigrationGoldenGateServiceDetailsTargetDbCredentialsArgs' target_db_credentials: (Updatable) Database Credentials details. """ + MigrationGoldenGateServiceDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + ggs_deployments=ggs_deployments, + settings=settings, + source_container_db_credentials=source_container_db_credentials, + source_db_credentials=source_db_credentials, + target_db_credentials=target_db_credentials, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ggs_deployments: Optional[Sequence['outputs.MigrationGoldenGateServiceDetailsGgsDeployment']] = None, + settings: Optional['outputs.MigrationGoldenGateServiceDetailsSettings'] = None, + source_container_db_credentials: Optional['outputs.MigrationGoldenGateServiceDetailsSourceContainerDbCredentials'] = None, + source_db_credentials: Optional['outputs.MigrationGoldenGateServiceDetailsSourceDbCredentials'] = None, + target_db_credentials: Optional['outputs.MigrationGoldenGateServiceDetailsTargetDbCredentials'] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ggs_deployments is not None: - pulumi.set(__self__, "ggs_deployments", ggs_deployments) + _setter("ggs_deployments", ggs_deployments) if settings is not None: - pulumi.set(__self__, "settings", settings) + _setter("settings", settings) if source_container_db_credentials is not None: - pulumi.set(__self__, "source_container_db_credentials", source_container_db_credentials) + _setter("source_container_db_credentials", source_container_db_credentials) if source_db_credentials is not None: - pulumi.set(__self__, "source_db_credentials", source_db_credentials) + _setter("source_db_credentials", source_db_credentials) if target_db_credentials is not None: - pulumi.set(__self__, "target_db_credentials", target_db_credentials) + _setter("target_db_credentials", target_db_credentials) @property @pulumi.getter(name="ggsDeployments") @@ -2137,10 +2781,21 @@ def __init__(__self__, *, :param str deployment_id: OCID of a GoldenGate Deployment :param str ggs_admin_credentials_secret_id: OCID of a VaultSecret containing the Admin Credentials for the GGS Deployment """ + MigrationGoldenGateServiceDetailsGgsDeployment._configure( + lambda key, value: pulumi.set(__self__, key, value), + deployment_id=deployment_id, + ggs_admin_credentials_secret_id=ggs_admin_credentials_secret_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deployment_id: Optional[str] = None, + ggs_admin_credentials_secret_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if deployment_id is not None: - pulumi.set(__self__, "deployment_id", deployment_id) + _setter("deployment_id", deployment_id) if ggs_admin_credentials_secret_id is not None: - pulumi.set(__self__, "ggs_admin_credentials_secret_id", ggs_admin_credentials_secret_id) + _setter("ggs_admin_credentials_secret_id", ggs_admin_credentials_secret_id) @property @pulumi.getter(name="deploymentId") @@ -2187,12 +2842,25 @@ def __init__(__self__, *, :param 'MigrationGoldenGateServiceDetailsSettingsExtractArgs' extract: (Updatable) Parameters for GoldenGate Extract processes. :param 'MigrationGoldenGateServiceDetailsSettingsReplicatArgs' replicat: (Updatable) Parameters for GoldenGate Replicat processes. """ + MigrationGoldenGateServiceDetailsSettings._configure( + lambda key, value: pulumi.set(__self__, key, value), + acceptable_lag=acceptable_lag, + extract=extract, + replicat=replicat, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + acceptable_lag: Optional[int] = None, + extract: Optional['outputs.MigrationGoldenGateServiceDetailsSettingsExtract'] = None, + replicat: Optional['outputs.MigrationGoldenGateServiceDetailsSettingsReplicat'] = None, + opts: Optional[pulumi.ResourceOptions]=None): if acceptable_lag is not None: - pulumi.set(__self__, "acceptable_lag", acceptable_lag) + _setter("acceptable_lag", acceptable_lag) if extract is not None: - pulumi.set(__self__, "extract", extract) + _setter("extract", extract) if replicat is not None: - pulumi.set(__self__, "replicat", replicat) + _setter("replicat", replicat) @property @pulumi.getter(name="acceptableLag") @@ -2247,10 +2915,21 @@ def __init__(__self__, *, :param int long_trans_duration: (Updatable) Length of time (in seconds) that a transaction can be open before Extract generates a warning message that the transaction is long-running. If not specified, Extract will not generate a warning on long-running transactions. :param str performance_profile: (Updatable) Extract performance. """ + MigrationGoldenGateServiceDetailsSettingsExtract._configure( + lambda key, value: pulumi.set(__self__, key, value), + long_trans_duration=long_trans_duration, + performance_profile=performance_profile, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + long_trans_duration: Optional[int] = None, + performance_profile: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if long_trans_duration is not None: - pulumi.set(__self__, "long_trans_duration", long_trans_duration) + _setter("long_trans_duration", long_trans_duration) if performance_profile is not None: - pulumi.set(__self__, "performance_profile", performance_profile) + _setter("performance_profile", performance_profile) @property @pulumi.getter(name="longTransDuration") @@ -2301,12 +2980,25 @@ def __init__(__self__, *, :param int max_apply_parallelism: (Updatable) Defines the range in which the Replicat automatically adjusts its apply parallelism (valid for Parallel Replicat) :param int min_apply_parallelism: (Updatable) Defines the range in which the Replicat automatically adjusts its apply parallelism (valid for Parallel Replicat) """ + MigrationGoldenGateServiceDetailsSettingsReplicat._configure( + lambda key, value: pulumi.set(__self__, key, value), + map_parallelism=map_parallelism, + max_apply_parallelism=max_apply_parallelism, + min_apply_parallelism=min_apply_parallelism, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + map_parallelism: Optional[int] = None, + max_apply_parallelism: Optional[int] = None, + min_apply_parallelism: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if map_parallelism is not None: - pulumi.set(__self__, "map_parallelism", map_parallelism) + _setter("map_parallelism", map_parallelism) if max_apply_parallelism is not None: - pulumi.set(__self__, "max_apply_parallelism", max_apply_parallelism) + _setter("max_apply_parallelism", max_apply_parallelism) if min_apply_parallelism is not None: - pulumi.set(__self__, "min_apply_parallelism", min_apply_parallelism) + _setter("min_apply_parallelism", min_apply_parallelism) @property @pulumi.getter(name="mapParallelism") @@ -2342,8 +3034,19 @@ def __init__(__self__, *, :param str password: (Updatable) Database password :param str username: (Updatable) Database username """ - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "username", username) + MigrationGoldenGateServiceDetailsSourceContainerDbCredentials._configure( + lambda key, value: pulumi.set(__self__, key, value), + password=password, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + password: str, + username: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("password", password) + _setter("username", username) @property @pulumi.getter @@ -2371,8 +3074,19 @@ def __init__(__self__, *, :param str password: (Updatable) Database password :param str username: (Updatable) Database username """ - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "username", username) + MigrationGoldenGateServiceDetailsSourceDbCredentials._configure( + lambda key, value: pulumi.set(__self__, key, value), + password=password, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + password: str, + username: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("password", password) + _setter("username", username) @property @pulumi.getter @@ -2400,8 +3114,19 @@ def __init__(__self__, *, :param str password: (Updatable) Database password :param str username: (Updatable) Database username """ - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "username", username) + MigrationGoldenGateServiceDetailsTargetDbCredentials._configure( + lambda key, value: pulumi.set(__self__, key, value), + password=password, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + password: str, + username: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("password", password) + _setter("username", username) @property @pulumi.getter @@ -2450,12 +3175,27 @@ def __init__(__self__, *, :param bool is_omit_excluded_table_from_replication: (Updatable) Whether an excluded table should be omitted from replication. Only valid for database objects that have are of type TABLE and that are included in the exludeObjects. :param str type: (Updatable) Migration type. """ - pulumi.set(__self__, "object", object) - pulumi.set(__self__, "owner", owner) + MigrationIncludeObject._configure( + lambda key, value: pulumi.set(__self__, key, value), + object=object, + owner=owner, + is_omit_excluded_table_from_replication=is_omit_excluded_table_from_replication, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + object: str, + owner: str, + is_omit_excluded_table_from_replication: Optional[bool] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("object", object) + _setter("owner", owner) if is_omit_excluded_table_from_replication is not None: - pulumi.set(__self__, "is_omit_excluded_table_from_replication", is_omit_excluded_table_from_replication) + _setter("is_omit_excluded_table_from_replication", is_omit_excluded_table_from_replication) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -2526,9 +3266,22 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "key_id", key_id) - pulumi.set(__self__, "vault_id", vault_id) + MigrationVaultDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + key_id=key_id, + vault_id=vault_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + key_id: str, + vault_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("key_id", key_id) + _setter("vault_id", vault_id) @property @pulumi.getter(name="compartmentId") @@ -2566,7 +3319,16 @@ def __init__(__self__, *, """ :param Sequence['GetAgentImagesAgentImageCollectionItemArgs'] items: Items in collection. """ - pulumi.set(__self__, "items", items) + GetAgentImagesAgentImageCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetAgentImagesAgentImageCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -2586,8 +3348,19 @@ def __init__(__self__, *, :param str download_url: URL to download Agent Image of the ODMS Agent. :param str version: ODMS Agent Image version. """ - pulumi.set(__self__, "download_url", download_url) - pulumi.set(__self__, "version", version) + GetAgentImagesAgentImageCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + download_url=download_url, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + download_url: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("download_url", download_url) + _setter("version", version) @property @pulumi.getter(name="downloadUrl") @@ -2612,10 +3385,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAgentImagesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2637,7 +3423,16 @@ def regex(self) -> Optional[bool]: class GetAgentsAgentCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetAgentsAgentCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetAgentsAgentCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetAgentsAgentCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -2677,20 +3472,55 @@ def __init__(__self__, *, :param str time_updated: The time of the last Agent details update. An RFC3339 formatted datetime string. :param str version: ODMS Agent version """ - pulumi.set(__self__, "agent_id", agent_id) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "public_key", public_key) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "stream_id", stream_id) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "version", version) + GetAgentsAgentCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + agent_id=agent_id, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + public_key=public_key, + state=state, + stream_id=stream_id, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agent_id: str, + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + public_key: str, + state: str, + stream_id: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("agent_id", agent_id) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("public_key", public_key) + _setter("state", state) + _setter("stream_id", stream_id) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("version", version) @property @pulumi.getter(name="agentId") @@ -2808,10 +3638,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAgentsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2837,8 +3680,19 @@ def __init__(__self__, *, """ :param str username: Administrator username """ - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "username", username) + GetConnectionAdminCredentialResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + password=password, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + password: str, + username: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("password", password) + _setter("username", username) @property @pulumi.getter @@ -2867,10 +3721,25 @@ def __init__(__self__, *, :param str host: Name of the host the SSH key is valid for. :param int port: Port of the connect descriptor. """ - pulumi.set(__self__, "connect_string", connect_string) - pulumi.set(__self__, "database_service_name", database_service_name) - pulumi.set(__self__, "host", host) - pulumi.set(__self__, "port", port) + GetConnectionConnectDescriptorResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + connect_string=connect_string, + database_service_name=database_service_name, + host=host, + port=port, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + connect_string: str, + database_service_name: str, + host: str, + port: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("connect_string", connect_string) + _setter("database_service_name", database_service_name) + _setter("host", host) + _setter("port", port) @property @pulumi.getter(name="connectString") @@ -2918,10 +3787,25 @@ def __init__(__self__, *, :param str subnet_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the customer's subnet where the private endpoint VNIC will reside. :param str vcn_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN where the Private Endpoint will be bound to. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "vcn_id", vcn_id) + GetConnectionPrivateEndpointResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + id=id, + subnet_id=subnet_id, + vcn_id=vcn_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + id: str, + subnet_id: str, + vcn_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("id", id) + _setter("subnet_id", subnet_id) + _setter("vcn_id", vcn_id) @property @pulumi.getter(name="compartmentId") @@ -2964,8 +3848,19 @@ def __init__(__self__, *, """ :param str username: Administrator username """ - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "username", username) + GetConnectionReplicationCredentialResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + password=password, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + password: str, + username: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("password", password) + _setter("username", username) @property @pulumi.getter @@ -2993,10 +3888,25 @@ def __init__(__self__, *, :param str sudo_location: Sudo location :param str user: SSH user """ - pulumi.set(__self__, "host", host) - pulumi.set(__self__, "sshkey", sshkey) - pulumi.set(__self__, "sudo_location", sudo_location) - pulumi.set(__self__, "user", user) + GetConnectionSshDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + host=host, + sshkey=sshkey, + sudo_location=sudo_location, + user=user, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host: str, + sshkey: str, + sudo_location: str, + user: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("host", host) + _setter("sshkey", sshkey) + _setter("sudo_location", sudo_location) + _setter("user", user) @property @pulumi.getter @@ -3039,9 +3949,22 @@ def __init__(__self__, *, :param str key_id: OCID of the vault encryption key :param str vault_id: OCID of the vault """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "key_id", key_id) - pulumi.set(__self__, "vault_id", vault_id) + GetConnectionVaultDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + key_id=key_id, + vault_id=vault_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + key_id: str, + vault_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("key_id", key_id) + _setter("vault_id", vault_id) @property @pulumi.getter(name="compartmentId") @@ -3072,7 +3995,16 @@ def vault_id(self) -> str: class GetConnectionsConnectionCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetConnectionsConnectionCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetConnectionsConnectionCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetConnectionsConnectionCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -3129,29 +4061,82 @@ def __init__(__self__, *, :param str time_updated: The time of the last Connection resource details update. An RFC3339 formatted datetime string. :param Sequence['GetConnectionsConnectionCollectionItemVaultDetailArgs'] vault_details: Oracle Cloud Infrastructure Vault details to store migration and connection credentials secrets """ - pulumi.set(__self__, "admin_credentials", admin_credentials) - pulumi.set(__self__, "certificate_tdn", certificate_tdn) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "connect_descriptors", connect_descriptors) - pulumi.set(__self__, "credentials_secret_id", credentials_secret_id) - pulumi.set(__self__, "database_id", database_id) - pulumi.set(__self__, "database_type", database_type) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "nsg_ids", nsg_ids) - pulumi.set(__self__, "private_endpoints", private_endpoints) - pulumi.set(__self__, "replication_credentials", replication_credentials) - pulumi.set(__self__, "ssh_details", ssh_details) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "tls_keystore", tls_keystore) - pulumi.set(__self__, "tls_wallet", tls_wallet) - pulumi.set(__self__, "vault_details", vault_details) + GetConnectionsConnectionCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + admin_credentials=admin_credentials, + certificate_tdn=certificate_tdn, + compartment_id=compartment_id, + connect_descriptors=connect_descriptors, + credentials_secret_id=credentials_secret_id, + database_id=database_id, + database_type=database_type, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + nsg_ids=nsg_ids, + private_endpoints=private_endpoints, + replication_credentials=replication_credentials, + ssh_details=ssh_details, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + tls_keystore=tls_keystore, + tls_wallet=tls_wallet, + vault_details=vault_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + admin_credentials: Sequence['outputs.GetConnectionsConnectionCollectionItemAdminCredentialResult'], + certificate_tdn: str, + compartment_id: str, + connect_descriptors: Sequence['outputs.GetConnectionsConnectionCollectionItemConnectDescriptorResult'], + credentials_secret_id: str, + database_id: str, + database_type: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + nsg_ids: Sequence[str], + private_endpoints: Sequence['outputs.GetConnectionsConnectionCollectionItemPrivateEndpointResult'], + replication_credentials: Sequence['outputs.GetConnectionsConnectionCollectionItemReplicationCredentialResult'], + ssh_details: Sequence['outputs.GetConnectionsConnectionCollectionItemSshDetailResult'], + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + tls_keystore: str, + tls_wallet: str, + vault_details: Sequence['outputs.GetConnectionsConnectionCollectionItemVaultDetailResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("admin_credentials", admin_credentials) + _setter("certificate_tdn", certificate_tdn) + _setter("compartment_id", compartment_id) + _setter("connect_descriptors", connect_descriptors) + _setter("credentials_secret_id", credentials_secret_id) + _setter("database_id", database_id) + _setter("database_type", database_type) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("nsg_ids", nsg_ids) + _setter("private_endpoints", private_endpoints) + _setter("replication_credentials", replication_credentials) + _setter("ssh_details", ssh_details) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("tls_keystore", tls_keystore) + _setter("tls_wallet", tls_wallet) + _setter("vault_details", vault_details) @property @pulumi.getter(name="adminCredentials") @@ -3340,8 +4325,19 @@ def __init__(__self__, *, """ :param str username: Administrator username """ - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "username", username) + GetConnectionsConnectionCollectionItemAdminCredentialResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + password=password, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + password: str, + username: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("password", password) + _setter("username", username) @property @pulumi.getter @@ -3370,10 +4366,25 @@ def __init__(__self__, *, :param str host: Name of the host the SSH key is valid for. :param int port: Port of the connect descriptor. """ - pulumi.set(__self__, "connect_string", connect_string) - pulumi.set(__self__, "database_service_name", database_service_name) - pulumi.set(__self__, "host", host) - pulumi.set(__self__, "port", port) + GetConnectionsConnectionCollectionItemConnectDescriptorResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + connect_string=connect_string, + database_service_name=database_service_name, + host=host, + port=port, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + connect_string: str, + database_service_name: str, + host: str, + port: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("connect_string", connect_string) + _setter("database_service_name", database_service_name) + _setter("host", host) + _setter("port", port) @property @pulumi.getter(name="connectString") @@ -3421,10 +4432,25 @@ def __init__(__self__, *, :param str subnet_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the customer's subnet where the private endpoint VNIC will reside. :param str vcn_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN where the Private Endpoint will be bound to. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "vcn_id", vcn_id) + GetConnectionsConnectionCollectionItemPrivateEndpointResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + id=id, + subnet_id=subnet_id, + vcn_id=vcn_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + id: str, + subnet_id: str, + vcn_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("id", id) + _setter("subnet_id", subnet_id) + _setter("vcn_id", vcn_id) @property @pulumi.getter(name="compartmentId") @@ -3467,8 +4493,19 @@ def __init__(__self__, *, """ :param str username: Administrator username """ - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "username", username) + GetConnectionsConnectionCollectionItemReplicationCredentialResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + password=password, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + password: str, + username: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("password", password) + _setter("username", username) @property @pulumi.getter @@ -3496,10 +4533,25 @@ def __init__(__self__, *, :param str sudo_location: Sudo location :param str user: SSH user """ - pulumi.set(__self__, "host", host) - pulumi.set(__self__, "sshkey", sshkey) - pulumi.set(__self__, "sudo_location", sudo_location) - pulumi.set(__self__, "user", user) + GetConnectionsConnectionCollectionItemSshDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + host=host, + sshkey=sshkey, + sudo_location=sudo_location, + user=user, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host: str, + sshkey: str, + sudo_location: str, + user: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("host", host) + _setter("sshkey", sshkey) + _setter("sudo_location", sudo_location) + _setter("user", user) @property @pulumi.getter @@ -3542,9 +4594,22 @@ def __init__(__self__, *, :param str key_id: OCID of the vault encryption key :param str vault_id: OCID of the vault """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "key_id", key_id) - pulumi.set(__self__, "vault_id", vault_id) + GetConnectionsConnectionCollectionItemVaultDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + key_id=key_id, + vault_id=vault_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + key_id: str, + vault_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("key_id", key_id) + _setter("vault_id", vault_id) @property @pulumi.getter(name="compartmentId") @@ -3577,10 +4642,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetConnectionsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3607,8 +4685,19 @@ def __init__(__self__, *, :param str location_in_source: Path in the Source Registered Connection where the Pre-Migration advisor report can be accessed. :param Sequence['GetJobAdvisorReportReportLocationDetailObjectStorageDetailArgs'] object_storage_details: Details to access Pre-Migration Advisor report in the specified Object Storage bucket, if any. """ - pulumi.set(__self__, "location_in_source", location_in_source) - pulumi.set(__self__, "object_storage_details", object_storage_details) + GetJobAdvisorReportReportLocationDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + location_in_source=location_in_source, + object_storage_details=object_storage_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + location_in_source: str, + object_storage_details: Sequence['outputs.GetJobAdvisorReportReportLocationDetailObjectStorageDetailResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("location_in_source", location_in_source) + _setter("object_storage_details", object_storage_details) @property @pulumi.getter(name="locationInSource") @@ -3638,9 +4727,22 @@ def __init__(__self__, *, :param str namespace: Object Storage namespace. :param str object: Pre-Migration Advisor report object name. """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "object", object) + GetJobAdvisorReportReportLocationDetailObjectStorageDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + namespace=namespace, + object=object, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + namespace: str, + object: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("namespace", namespace) + _setter("object", object) @property @pulumi.getter @@ -3674,7 +4776,16 @@ def __init__(__self__, *, """ :param str message: Job output line. """ - pulumi.set(__self__, "message", message) + GetJobOutputItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + message=message, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + message: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("message", message) @property @pulumi.getter @@ -3694,8 +4805,19 @@ def __init__(__self__, *, :param bool is_ignore_errors: True to not interrupt migration execution due to Pre-Migration Advisor errors. Default is false. :param bool is_skip_advisor: True to skip the Pre-Migration Advisor execution. Default is false. """ - pulumi.set(__self__, "is_ignore_errors", is_ignore_errors) - pulumi.set(__self__, "is_skip_advisor", is_skip_advisor) + GetMigrationAdvisorSettingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_ignore_errors=is_ignore_errors, + is_skip_advisor=is_skip_advisor, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_ignore_errors: bool, + is_skip_advisor: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_ignore_errors", is_ignore_errors) + _setter("is_skip_advisor", is_skip_advisor) @property @pulumi.getter(name="isIgnoreErrors") @@ -3723,8 +4845,19 @@ def __init__(__self__, *, :param Sequence['GetMigrationDataTransferMediumDetailDatabaseLinkDetailArgs'] database_link_details: Optional details for creating a network database link from Oracle Cloud Infrastructure database to on-premise database. :param Sequence['GetMigrationDataTransferMediumDetailObjectStorageDetailArgs'] object_storage_details: In lieu of a network database link, Oracle Cloud Infrastructure Object Storage bucket will be used to store Data Pump dump files for the migration. Additionally, it can be specified alongside a database link data transfer medium. """ - pulumi.set(__self__, "database_link_details", database_link_details) - pulumi.set(__self__, "object_storage_details", object_storage_details) + GetMigrationDataTransferMediumDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + database_link_details=database_link_details, + object_storage_details=object_storage_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + database_link_details: Sequence['outputs.GetMigrationDataTransferMediumDetailDatabaseLinkDetailResult'], + object_storage_details: Sequence['outputs.GetMigrationDataTransferMediumDetailObjectStorageDetailResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("database_link_details", database_link_details) + _setter("object_storage_details", object_storage_details) @property @pulumi.getter(name="databaseLinkDetails") @@ -3752,8 +4885,19 @@ def __init__(__self__, *, :param str name: Name of directory object in database :param Sequence['GetMigrationDataTransferMediumDetailDatabaseLinkDetailWalletBucketArgs'] wallet_buckets: In lieu of a network database link, Oracle Cloud Infrastructure Object Storage bucket will be used to store Data Pump dump files for the migration. Additionally, it can be specified alongside a database link data transfer medium. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "wallet_buckets", wallet_buckets) + GetMigrationDataTransferMediumDetailDatabaseLinkDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + wallet_buckets=wallet_buckets, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + wallet_buckets: Sequence['outputs.GetMigrationDataTransferMediumDetailDatabaseLinkDetailWalletBucketResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("wallet_buckets", wallet_buckets) @property @pulumi.getter @@ -3781,8 +4925,19 @@ def __init__(__self__, *, :param str bucket: Bucket name. :param str namespace: Namespace name of the object store bucket. """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "namespace", namespace) + GetMigrationDataTransferMediumDetailDatabaseLinkDetailWalletBucketResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + namespace=namespace, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + namespace: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("namespace", namespace) @property @pulumi.getter @@ -3810,8 +4965,135 @@ def __init__(__self__, *, :param str bucket: Bucket name. :param str namespace: Namespace name of the object store bucket. """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "namespace", namespace) + GetMigrationDataTransferMediumDetailObjectStorageDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + namespace=namespace, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + namespace: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("namespace", namespace) + + @property + @pulumi.getter + def bucket(self) -> str: + """ + Bucket name. + """ + return pulumi.get(self, "bucket") + + @property + @pulumi.getter + def namespace(self) -> str: + """ + Namespace name of the object store bucket. + """ + return pulumi.get(self, "namespace") + + +@pulumi.output_type +class GetMigrationDataTransferMediumDetailsV2Result(dict): + def __init__(__self__, *, + access_key_id: str, + name: str, + object_storage_buckets: Sequence['outputs.GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketResult'], + region: str, + secret_access_key: str, + type: str): + """ + :param str name: Name of directory object in database + :param str type: Migration type. + """ + GetMigrationDataTransferMediumDetailsV2Result._configure( + lambda key, value: pulumi.set(__self__, key, value), + access_key_id=access_key_id, + name=name, + object_storage_buckets=object_storage_buckets, + region=region, + secret_access_key=secret_access_key, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access_key_id: str, + name: str, + object_storage_buckets: Sequence['outputs.GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketResult'], + region: str, + secret_access_key: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("access_key_id", access_key_id) + _setter("name", name) + _setter("object_storage_buckets", object_storage_buckets) + _setter("region", region) + _setter("secret_access_key", secret_access_key) + _setter("type", type) + + @property + @pulumi.getter(name="accessKeyId") + def access_key_id(self) -> str: + return pulumi.get(self, "access_key_id") + + @property + @pulumi.getter + def name(self) -> str: + """ + Name of directory object in database + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="objectStorageBuckets") + def object_storage_buckets(self) -> Sequence['outputs.GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketResult']: + return pulumi.get(self, "object_storage_buckets") + + @property + @pulumi.getter + def region(self) -> str: + return pulumi.get(self, "region") + + @property + @pulumi.getter(name="secretAccessKey") + def secret_access_key(self) -> str: + return pulumi.get(self, "secret_access_key") + + @property + @pulumi.getter + def type(self) -> str: + """ + Migration type. + """ + return pulumi.get(self, "type") + + +@pulumi.output_type +class GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketResult(dict): + def __init__(__self__, *, + bucket: str, + namespace: str): + """ + :param str bucket: Bucket name. + :param str namespace: Namespace name of the object store bucket. + """ + GetMigrationDataTransferMediumDetailsV2ObjectStorageBucketResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + namespace=namespace, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + namespace: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("namespace", namespace) @property @pulumi.getter @@ -3845,11 +5127,28 @@ def __init__(__self__, *, :param str job_mode: Data Pump job mode. Refer to [Data Pump Export Modes ](https://docs.oracle.com/en/database/oracle/oracle-database/19/sutil/oracle-data-pump-export-utility.html#GUID-8E497131-6B9B-4CC8-AA50-35F480CAC2C4) :param Sequence['GetMigrationDatapumpSettingMetadataRemapArgs'] metadata_remaps: Defines remapping to be applied to objects as they are processed. Refer to [METADATA_REMAP Procedure ](https://docs.oracle.com/en/database/oracle/oracle-database/19/arpls/DBMS_DATAPUMP.html#GUID-0FC32790-91E6-4781-87A3-229DE024CB3D) """ - pulumi.set(__self__, "data_pump_parameters", data_pump_parameters) - pulumi.set(__self__, "export_directory_objects", export_directory_objects) - pulumi.set(__self__, "import_directory_objects", import_directory_objects) - pulumi.set(__self__, "job_mode", job_mode) - pulumi.set(__self__, "metadata_remaps", metadata_remaps) + GetMigrationDatapumpSettingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + data_pump_parameters=data_pump_parameters, + export_directory_objects=export_directory_objects, + import_directory_objects=import_directory_objects, + job_mode=job_mode, + metadata_remaps=metadata_remaps, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + data_pump_parameters: Sequence['outputs.GetMigrationDatapumpSettingDataPumpParameterResult'], + export_directory_objects: Sequence['outputs.GetMigrationDatapumpSettingExportDirectoryObjectResult'], + import_directory_objects: Sequence['outputs.GetMigrationDatapumpSettingImportDirectoryObjectResult'], + job_mode: str, + metadata_remaps: Sequence['outputs.GetMigrationDatapumpSettingMetadataRemapResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("data_pump_parameters", data_pump_parameters) + _setter("export_directory_objects", export_directory_objects) + _setter("import_directory_objects", import_directory_objects) + _setter("job_mode", job_mode) + _setter("metadata_remaps", metadata_remaps) @property @pulumi.getter(name="dataPumpParameters") @@ -3909,12 +5208,31 @@ def __init__(__self__, *, :param bool is_cluster: Set to false to force Data Pump worker processes to run on one instance. :param str table_exists_action: IMPORT: Specifies the action to be performed when data is loaded into a preexisting table. """ - pulumi.set(__self__, "estimate", estimate) - pulumi.set(__self__, "exclude_parameters", exclude_parameters) - pulumi.set(__self__, "export_parallelism_degree", export_parallelism_degree) - pulumi.set(__self__, "import_parallelism_degree", import_parallelism_degree) - pulumi.set(__self__, "is_cluster", is_cluster) - pulumi.set(__self__, "table_exists_action", table_exists_action) + GetMigrationDatapumpSettingDataPumpParameterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + estimate=estimate, + exclude_parameters=exclude_parameters, + export_parallelism_degree=export_parallelism_degree, + import_parallelism_degree=import_parallelism_degree, + is_cluster=is_cluster, + table_exists_action=table_exists_action, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + estimate: str, + exclude_parameters: Sequence[str], + export_parallelism_degree: int, + import_parallelism_degree: int, + is_cluster: bool, + table_exists_action: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("estimate", estimate) + _setter("exclude_parameters", exclude_parameters) + _setter("export_parallelism_degree", export_parallelism_degree) + _setter("import_parallelism_degree", import_parallelism_degree) + _setter("is_cluster", is_cluster) + _setter("table_exists_action", table_exists_action) @property @pulumi.getter @@ -3974,8 +5292,19 @@ def __init__(__self__, *, :param str name: Name of directory object in database :param str path: Absolute path of directory on database server """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "path", path) + GetMigrationDatapumpSettingExportDirectoryObjectResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + path=path, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + path: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("path", path) @property @pulumi.getter @@ -4003,8 +5332,19 @@ def __init__(__self__, *, :param str name: Name of directory object in database :param str path: Absolute path of directory on database server """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "path", path) + GetMigrationDatapumpSettingImportDirectoryObjectResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + path=path, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + path: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("path", path) @property @pulumi.getter @@ -4034,9 +5374,22 @@ def __init__(__self__, *, :param str old_value: Specifies the value which needs to be reset. :param str type: Migration type. """ - pulumi.set(__self__, "new_value", new_value) - pulumi.set(__self__, "old_value", old_value) - pulumi.set(__self__, "type", type) + GetMigrationDatapumpSettingMetadataRemapResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + new_value=new_value, + old_value=old_value, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + new_value: str, + old_value: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("new_value", new_value) + _setter("old_value", old_value) + _setter("type", type) @property @pulumi.getter(name="newValue") @@ -4066,14 +5419,34 @@ def type(self) -> str: @pulumi.output_type class GetMigrationDumpTransferDetailResult(dict): def __init__(__self__, *, + shared_storage_mount_target_id: str, sources: Sequence['outputs.GetMigrationDumpTransferDetailSourceResult'], targets: Sequence['outputs.GetMigrationDumpTransferDetailTargetResult']): """ :param Sequence['GetMigrationDumpTransferDetailSourceArgs'] sources: Optional additional properties for dump transfer in source or target host. Default kind is CURL :param Sequence['GetMigrationDumpTransferDetailTargetArgs'] targets: Optional additional properties for dump transfer in source or target host. Default kind is CURL """ - pulumi.set(__self__, "sources", sources) - pulumi.set(__self__, "targets", targets) + GetMigrationDumpTransferDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + shared_storage_mount_target_id=shared_storage_mount_target_id, + sources=sources, + targets=targets, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + shared_storage_mount_target_id: str, + sources: Sequence['outputs.GetMigrationDumpTransferDetailSourceResult'], + targets: Sequence['outputs.GetMigrationDumpTransferDetailTargetResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("shared_storage_mount_target_id", shared_storage_mount_target_id) + _setter("sources", sources) + _setter("targets", targets) + + @property + @pulumi.getter(name="sharedStorageMountTargetId") + def shared_storage_mount_target_id(self) -> str: + return pulumi.get(self, "shared_storage_mount_target_id") @property @pulumi.getter @@ -4103,9 +5476,22 @@ def __init__(__self__, *, :param str oci_home: Path to the Oracle Cloud Infrastructure CLI installation in the node. :param str wallet_location: Directory path to Oracle Cloud Infrastructure SSL wallet location on Db server node. """ - pulumi.set(__self__, "kind", kind) - pulumi.set(__self__, "oci_home", oci_home) - pulumi.set(__self__, "wallet_location", wallet_location) + GetMigrationDumpTransferDetailSourceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + kind=kind, + oci_home=oci_home, + wallet_location=wallet_location, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + kind: str, + oci_home: str, + wallet_location: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("kind", kind) + _setter("oci_home", oci_home) + _setter("wallet_location", wallet_location) @property @pulumi.getter @@ -4143,9 +5529,22 @@ def __init__(__self__, *, :param str oci_home: Path to the Oracle Cloud Infrastructure CLI installation in the node. :param str wallet_location: Directory path to Oracle Cloud Infrastructure SSL wallet location on Db server node. """ - pulumi.set(__self__, "kind", kind) - pulumi.set(__self__, "oci_home", oci_home) - pulumi.set(__self__, "wallet_location", wallet_location) + GetMigrationDumpTransferDetailTargetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + kind=kind, + oci_home=oci_home, + wallet_location=wallet_location, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + kind: str, + oci_home: str, + wallet_location: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("kind", kind) + _setter("oci_home", oci_home) + _setter("wallet_location", wallet_location) @property @pulumi.getter @@ -4185,10 +5584,25 @@ def __init__(__self__, *, :param str owner: Owner of the object (regular expression is allowed) :param str type: Migration type. """ - pulumi.set(__self__, "is_omit_excluded_table_from_replication", is_omit_excluded_table_from_replication) - pulumi.set(__self__, "object", object) - pulumi.set(__self__, "owner", owner) - pulumi.set(__self__, "type", type) + GetMigrationExcludeObjectResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_omit_excluded_table_from_replication=is_omit_excluded_table_from_replication, + object=object, + owner=owner, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_omit_excluded_table_from_replication: bool, + object: str, + owner: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_omit_excluded_table_from_replication", is_omit_excluded_table_from_replication) + _setter("object", object) + _setter("owner", owner) + _setter("type", type) @property @pulumi.getter(name="isOmitExcludedTableFromReplication") @@ -4232,8 +5646,19 @@ def __init__(__self__, *, :param Sequence['GetMigrationGoldenGateDetailHubArgs'] hubs: Details about Oracle GoldenGate Microservices. :param Sequence['GetMigrationGoldenGateDetailSettingArgs'] settings: Optional settings for Oracle GoldenGate processes """ - pulumi.set(__self__, "hubs", hubs) - pulumi.set(__self__, "settings", settings) + GetMigrationGoldenGateDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + hubs=hubs, + settings=settings, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hubs: Sequence['outputs.GetMigrationGoldenGateDetailHubResult'], + settings: Sequence['outputs.GetMigrationGoldenGateDetailSettingResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("hubs", hubs) + _setter("settings", settings) @property @pulumi.getter @@ -4273,14 +5698,37 @@ def __init__(__self__, *, :param str target_microservices_deployment_name: Name of GoldenGate deployment to operate on target database :param str url: Oracle GoldenGate hub's REST endpoint. Refer to https://docs.oracle.com/en/middleware/goldengate/core/19.1/securing/network.html#GUID-A709DA55-111D-455E-8942-C9BDD1E38CAA """ - pulumi.set(__self__, "compute_id", compute_id) - pulumi.set(__self__, "rest_admin_credentials", rest_admin_credentials) - pulumi.set(__self__, "source_container_db_admin_credentials", source_container_db_admin_credentials) - pulumi.set(__self__, "source_db_admin_credentials", source_db_admin_credentials) - pulumi.set(__self__, "source_microservices_deployment_name", source_microservices_deployment_name) - pulumi.set(__self__, "target_db_admin_credentials", target_db_admin_credentials) - pulumi.set(__self__, "target_microservices_deployment_name", target_microservices_deployment_name) - pulumi.set(__self__, "url", url) + GetMigrationGoldenGateDetailHubResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compute_id=compute_id, + rest_admin_credentials=rest_admin_credentials, + source_container_db_admin_credentials=source_container_db_admin_credentials, + source_db_admin_credentials=source_db_admin_credentials, + source_microservices_deployment_name=source_microservices_deployment_name, + target_db_admin_credentials=target_db_admin_credentials, + target_microservices_deployment_name=target_microservices_deployment_name, + url=url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compute_id: str, + rest_admin_credentials: Sequence['outputs.GetMigrationGoldenGateDetailHubRestAdminCredentialResult'], + source_container_db_admin_credentials: Sequence['outputs.GetMigrationGoldenGateDetailHubSourceContainerDbAdminCredentialResult'], + source_db_admin_credentials: Sequence['outputs.GetMigrationGoldenGateDetailHubSourceDbAdminCredentialResult'], + source_microservices_deployment_name: str, + target_db_admin_credentials: Sequence['outputs.GetMigrationGoldenGateDetailHubTargetDbAdminCredentialResult'], + target_microservices_deployment_name: str, + url: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compute_id", compute_id) + _setter("rest_admin_credentials", rest_admin_credentials) + _setter("source_container_db_admin_credentials", source_container_db_admin_credentials) + _setter("source_db_admin_credentials", source_db_admin_credentials) + _setter("source_microservices_deployment_name", source_microservices_deployment_name) + _setter("target_db_admin_credentials", target_db_admin_credentials) + _setter("target_microservices_deployment_name", target_microservices_deployment_name) + _setter("url", url) @property @pulumi.getter(name="computeId") @@ -4355,8 +5803,19 @@ def __init__(__self__, *, """ :param str username: Administrator username """ - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "username", username) + GetMigrationGoldenGateDetailHubRestAdminCredentialResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + password=password, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + password: str, + username: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("password", password) + _setter("username", username) @property @pulumi.getter @@ -4380,8 +5839,19 @@ def __init__(__self__, *, """ :param str username: Administrator username """ - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "username", username) + GetMigrationGoldenGateDetailHubSourceContainerDbAdminCredentialResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + password=password, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + password: str, + username: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("password", password) + _setter("username", username) @property @pulumi.getter @@ -4405,8 +5875,19 @@ def __init__(__self__, *, """ :param str username: Administrator username """ - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "username", username) + GetMigrationGoldenGateDetailHubSourceDbAdminCredentialResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + password=password, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + password: str, + username: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("password", password) + _setter("username", username) @property @pulumi.getter @@ -4430,8 +5911,19 @@ def __init__(__self__, *, """ :param str username: Administrator username """ - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "username", username) + GetMigrationGoldenGateDetailHubTargetDbAdminCredentialResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + password=password, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + password: str, + username: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("password", password) + _setter("username", username) @property @pulumi.getter @@ -4458,9 +5950,22 @@ def __init__(__self__, *, :param Sequence['GetMigrationGoldenGateDetailSettingExtractArgs'] extracts: Parameters for Extract processes. :param Sequence['GetMigrationGoldenGateDetailSettingReplicatArgs'] replicats: Parameters for Replicat processes. """ - pulumi.set(__self__, "acceptable_lag", acceptable_lag) - pulumi.set(__self__, "extracts", extracts) - pulumi.set(__self__, "replicats", replicats) + GetMigrationGoldenGateDetailSettingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + acceptable_lag=acceptable_lag, + extracts=extracts, + replicats=replicats, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + acceptable_lag: int, + extracts: Sequence['outputs.GetMigrationGoldenGateDetailSettingExtractResult'], + replicats: Sequence['outputs.GetMigrationGoldenGateDetailSettingReplicatResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("acceptable_lag", acceptable_lag) + _setter("extracts", extracts) + _setter("replicats", replicats) @property @pulumi.getter(name="acceptableLag") @@ -4496,8 +6001,19 @@ def __init__(__self__, *, :param int long_trans_duration: Length of time (in seconds) that a transaction can be open before Extract generates a warning message that the transaction is long-running. If not specified, Extract will not generate a warning on long-running transactions. :param str performance_profile: Extract performance. """ - pulumi.set(__self__, "long_trans_duration", long_trans_duration) - pulumi.set(__self__, "performance_profile", performance_profile) + GetMigrationGoldenGateDetailSettingExtractResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + long_trans_duration=long_trans_duration, + performance_profile=performance_profile, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + long_trans_duration: int, + performance_profile: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("long_trans_duration", long_trans_duration) + _setter("performance_profile", performance_profile) @property @pulumi.getter(name="longTransDuration") @@ -4529,10 +6045,25 @@ def __init__(__self__, *, :param int min_apply_parallelism: Defines the range in which Replicat automatically adjusts its apply parallelism (valid for Parallel Replicat) :param str performance_profile: Extract performance. """ - pulumi.set(__self__, "map_parallelism", map_parallelism) - pulumi.set(__self__, "max_apply_parallelism", max_apply_parallelism) - pulumi.set(__self__, "min_apply_parallelism", min_apply_parallelism) - pulumi.set(__self__, "performance_profile", performance_profile) + GetMigrationGoldenGateDetailSettingReplicatResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + map_parallelism=map_parallelism, + max_apply_parallelism=max_apply_parallelism, + min_apply_parallelism=min_apply_parallelism, + performance_profile=performance_profile, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + map_parallelism: int, + max_apply_parallelism: int, + min_apply_parallelism: int, + performance_profile: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("map_parallelism", map_parallelism) + _setter("max_apply_parallelism", max_apply_parallelism) + _setter("min_apply_parallelism", min_apply_parallelism) + _setter("performance_profile", performance_profile) @property @pulumi.getter(name="mapParallelism") @@ -4579,11 +6110,28 @@ def __init__(__self__, *, :param Sequence['GetMigrationGoldenGateServiceDetailGgsDeploymentArgs'] ggs_deployments: Details about Oracle GoldenGate GGS Deployment. :param Sequence['GetMigrationGoldenGateServiceDetailSettingArgs'] settings: Optional settings for Oracle GoldenGate processes """ - pulumi.set(__self__, "ggs_deployments", ggs_deployments) - pulumi.set(__self__, "settings", settings) - pulumi.set(__self__, "source_container_db_credentials", source_container_db_credentials) - pulumi.set(__self__, "source_db_credentials", source_db_credentials) - pulumi.set(__self__, "target_db_credentials", target_db_credentials) + GetMigrationGoldenGateServiceDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ggs_deployments=ggs_deployments, + settings=settings, + source_container_db_credentials=source_container_db_credentials, + source_db_credentials=source_db_credentials, + target_db_credentials=target_db_credentials, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ggs_deployments: Sequence['outputs.GetMigrationGoldenGateServiceDetailGgsDeploymentResult'], + settings: Sequence['outputs.GetMigrationGoldenGateServiceDetailSettingResult'], + source_container_db_credentials: Sequence['outputs.GetMigrationGoldenGateServiceDetailSourceContainerDbCredentialResult'], + source_db_credentials: Sequence['outputs.GetMigrationGoldenGateServiceDetailSourceDbCredentialResult'], + target_db_credentials: Sequence['outputs.GetMigrationGoldenGateServiceDetailTargetDbCredentialResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ggs_deployments", ggs_deployments) + _setter("settings", settings) + _setter("source_container_db_credentials", source_container_db_credentials) + _setter("source_db_credentials", source_db_credentials) + _setter("target_db_credentials", target_db_credentials) @property @pulumi.getter(name="ggsDeployments") @@ -4626,8 +6174,19 @@ def __init__(__self__, *, :param str deployment_id: OCID of a GoldenGate Deployment :param str ggs_admin_credentials_secret_id: OCID of a VaultSecret containing the Admin Credentials for the GGS Deployment """ - pulumi.set(__self__, "deployment_id", deployment_id) - pulumi.set(__self__, "ggs_admin_credentials_secret_id", ggs_admin_credentials_secret_id) + GetMigrationGoldenGateServiceDetailGgsDeploymentResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + deployment_id=deployment_id, + ggs_admin_credentials_secret_id=ggs_admin_credentials_secret_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deployment_id: str, + ggs_admin_credentials_secret_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("deployment_id", deployment_id) + _setter("ggs_admin_credentials_secret_id", ggs_admin_credentials_secret_id) @property @pulumi.getter(name="deploymentId") @@ -4657,9 +6216,22 @@ def __init__(__self__, *, :param Sequence['GetMigrationGoldenGateServiceDetailSettingExtractArgs'] extracts: Parameters for Extract processes. :param Sequence['GetMigrationGoldenGateServiceDetailSettingReplicatArgs'] replicats: Parameters for Replicat processes. """ - pulumi.set(__self__, "acceptable_lag", acceptable_lag) - pulumi.set(__self__, "extracts", extracts) - pulumi.set(__self__, "replicats", replicats) + GetMigrationGoldenGateServiceDetailSettingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + acceptable_lag=acceptable_lag, + extracts=extracts, + replicats=replicats, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + acceptable_lag: int, + extracts: Sequence['outputs.GetMigrationGoldenGateServiceDetailSettingExtractResult'], + replicats: Sequence['outputs.GetMigrationGoldenGateServiceDetailSettingReplicatResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("acceptable_lag", acceptable_lag) + _setter("extracts", extracts) + _setter("replicats", replicats) @property @pulumi.getter(name="acceptableLag") @@ -4695,8 +6267,19 @@ def __init__(__self__, *, :param int long_trans_duration: Length of time (in seconds) that a transaction can be open before Extract generates a warning message that the transaction is long-running. If not specified, Extract will not generate a warning on long-running transactions. :param str performance_profile: Extract performance. """ - pulumi.set(__self__, "long_trans_duration", long_trans_duration) - pulumi.set(__self__, "performance_profile", performance_profile) + GetMigrationGoldenGateServiceDetailSettingExtractResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + long_trans_duration=long_trans_duration, + performance_profile=performance_profile, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + long_trans_duration: int, + performance_profile: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("long_trans_duration", long_trans_duration) + _setter("performance_profile", performance_profile) @property @pulumi.getter(name="longTransDuration") @@ -4726,9 +6309,22 @@ def __init__(__self__, *, :param int max_apply_parallelism: Defines the range in which Replicat automatically adjusts its apply parallelism (valid for Parallel Replicat) :param int min_apply_parallelism: Defines the range in which Replicat automatically adjusts its apply parallelism (valid for Parallel Replicat) """ - pulumi.set(__self__, "map_parallelism", map_parallelism) - pulumi.set(__self__, "max_apply_parallelism", max_apply_parallelism) - pulumi.set(__self__, "min_apply_parallelism", min_apply_parallelism) + GetMigrationGoldenGateServiceDetailSettingReplicatResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + map_parallelism=map_parallelism, + max_apply_parallelism=max_apply_parallelism, + min_apply_parallelism=min_apply_parallelism, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + map_parallelism: int, + max_apply_parallelism: int, + min_apply_parallelism: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("map_parallelism", map_parallelism) + _setter("max_apply_parallelism", max_apply_parallelism) + _setter("min_apply_parallelism", min_apply_parallelism) @property @pulumi.getter(name="mapParallelism") @@ -4763,8 +6359,19 @@ def __init__(__self__, *, """ :param str username: Administrator username """ - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "username", username) + GetMigrationGoldenGateServiceDetailSourceContainerDbCredentialResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + password=password, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + password: str, + username: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("password", password) + _setter("username", username) @property @pulumi.getter @@ -4788,8 +6395,19 @@ def __init__(__self__, *, """ :param str username: Administrator username """ - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "username", username) + GetMigrationGoldenGateServiceDetailSourceDbCredentialResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + password=password, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + password: str, + username: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("password", password) + _setter("username", username) @property @pulumi.getter @@ -4813,8 +6431,19 @@ def __init__(__self__, *, """ :param str username: Administrator username """ - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "username", username) + GetMigrationGoldenGateServiceDetailTargetDbCredentialResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + password=password, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + password: str, + username: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("password", password) + _setter("username", username) @property @pulumi.getter @@ -4843,10 +6472,25 @@ def __init__(__self__, *, :param str owner: Owner of the object (regular expression is allowed) :param str type: Migration type. """ - pulumi.set(__self__, "is_omit_excluded_table_from_replication", is_omit_excluded_table_from_replication) - pulumi.set(__self__, "object", object) - pulumi.set(__self__, "owner", owner) - pulumi.set(__self__, "type", type) + GetMigrationIncludeObjectResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_omit_excluded_table_from_replication=is_omit_excluded_table_from_replication, + object=object, + owner=owner, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_omit_excluded_table_from_replication: bool, + object: str, + owner: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_omit_excluded_table_from_replication", is_omit_excluded_table_from_replication) + _setter("object", object) + _setter("owner", owner) + _setter("type", type) @property @pulumi.getter(name="isOmitExcludedTableFromReplication") @@ -4890,10 +6534,23 @@ def __init__(__self__, *, """ :param str name: Object type name """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetMigrationObjectTypesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4921,7 +6578,16 @@ def __init__(__self__, *, """ :param Sequence['GetMigrationObjectTypesMigrationObjectTypeSummaryCollectionItemArgs'] items: Items in collection. """ - pulumi.set(__self__, "items", items) + GetMigrationObjectTypesMigrationObjectTypeSummaryCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetMigrationObjectTypesMigrationObjectTypeSummaryCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -4939,7 +6605,16 @@ def __init__(__self__, *, """ :param str name: Object type name """ - pulumi.set(__self__, "name", name) + GetMigrationObjectTypesMigrationObjectTypeSummaryCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -4961,9 +6636,22 @@ def __init__(__self__, *, :param str key_id: OCID of the vault encryption key :param str vault_id: OCID of the vault """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "key_id", key_id) - pulumi.set(__self__, "vault_id", vault_id) + GetMigrationVaultDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + key_id=key_id, + vault_id=vault_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + key_id: str, + vault_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("key_id", key_id) + _setter("vault_id", vault_id) @property @pulumi.getter(name="compartmentId") @@ -4999,10 +6687,23 @@ def __init__(__self__, *, """ :param str name: Name of directory object in database """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetMigrationsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5027,7 +6728,16 @@ def regex(self) -> Optional[bool]: class GetMigrationsMigrationCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetMigrationsMigrationCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetMigrationsMigrationCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetMigrationsMigrationCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -5044,6 +6754,7 @@ def __init__(__self__, *, credentials_secret_id: str, csv_text: str, data_transfer_medium_details: Sequence['outputs.GetMigrationsMigrationCollectionItemDataTransferMediumDetailResult'], + data_transfer_medium_details_v2s: Sequence['outputs.GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2Result'], datapump_settings: Sequence['outputs.GetMigrationsMigrationCollectionItemDatapumpSettingResult'], defined_tags: Mapping[str, Any], display_name: str, @@ -5097,35 +6808,103 @@ def __init__(__self__, *, :param Sequence['GetMigrationsMigrationCollectionItemVaultDetailArgs'] vault_details: Oracle Cloud Infrastructure Vault details to store migration and connection credentials secrets :param str wait_after: Name of a migration phase. The Job will wait after executing this phase until the Resume Job endpoint is called. """ - pulumi.set(__self__, "advisor_settings", advisor_settings) - pulumi.set(__self__, "agent_id", agent_id) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "credentials_secret_id", credentials_secret_id) - pulumi.set(__self__, "csv_text", csv_text) - pulumi.set(__self__, "data_transfer_medium_details", data_transfer_medium_details) - pulumi.set(__self__, "datapump_settings", datapump_settings) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "dump_transfer_details", dump_transfer_details) - pulumi.set(__self__, "exclude_objects", exclude_objects) - pulumi.set(__self__, "executing_job_id", executing_job_id) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "golden_gate_details", golden_gate_details) - pulumi.set(__self__, "golden_gate_service_details", golden_gate_service_details) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "include_objects", include_objects) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "source_container_database_connection_id", source_container_database_connection_id) - pulumi.set(__self__, "source_database_connection_id", source_database_connection_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "target_database_connection_id", target_database_connection_id) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_last_migration", time_last_migration) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "vault_details", vault_details) - pulumi.set(__self__, "wait_after", wait_after) + GetMigrationsMigrationCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + advisor_settings=advisor_settings, + agent_id=agent_id, + compartment_id=compartment_id, + credentials_secret_id=credentials_secret_id, + csv_text=csv_text, + data_transfer_medium_details=data_transfer_medium_details, + data_transfer_medium_details_v2s=data_transfer_medium_details_v2s, + datapump_settings=datapump_settings, + defined_tags=defined_tags, + display_name=display_name, + dump_transfer_details=dump_transfer_details, + exclude_objects=exclude_objects, + executing_job_id=executing_job_id, + freeform_tags=freeform_tags, + golden_gate_details=golden_gate_details, + golden_gate_service_details=golden_gate_service_details, + id=id, + include_objects=include_objects, + lifecycle_details=lifecycle_details, + source_container_database_connection_id=source_container_database_connection_id, + source_database_connection_id=source_database_connection_id, + state=state, + system_tags=system_tags, + target_database_connection_id=target_database_connection_id, + time_created=time_created, + time_last_migration=time_last_migration, + time_updated=time_updated, + type=type, + vault_details=vault_details, + wait_after=wait_after, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + advisor_settings: Sequence['outputs.GetMigrationsMigrationCollectionItemAdvisorSettingResult'], + agent_id: str, + compartment_id: str, + credentials_secret_id: str, + csv_text: str, + data_transfer_medium_details: Sequence['outputs.GetMigrationsMigrationCollectionItemDataTransferMediumDetailResult'], + data_transfer_medium_details_v2s: Sequence['outputs.GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2Result'], + datapump_settings: Sequence['outputs.GetMigrationsMigrationCollectionItemDatapumpSettingResult'], + defined_tags: Mapping[str, Any], + display_name: str, + dump_transfer_details: Sequence['outputs.GetMigrationsMigrationCollectionItemDumpTransferDetailResult'], + exclude_objects: Sequence['outputs.GetMigrationsMigrationCollectionItemExcludeObjectResult'], + executing_job_id: str, + freeform_tags: Mapping[str, Any], + golden_gate_details: Sequence['outputs.GetMigrationsMigrationCollectionItemGoldenGateDetailResult'], + golden_gate_service_details: Sequence['outputs.GetMigrationsMigrationCollectionItemGoldenGateServiceDetailResult'], + id: str, + include_objects: Sequence['outputs.GetMigrationsMigrationCollectionItemIncludeObjectResult'], + lifecycle_details: str, + source_container_database_connection_id: str, + source_database_connection_id: str, + state: str, + system_tags: Mapping[str, Any], + target_database_connection_id: str, + time_created: str, + time_last_migration: str, + time_updated: str, + type: str, + vault_details: Sequence['outputs.GetMigrationsMigrationCollectionItemVaultDetailResult'], + wait_after: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("advisor_settings", advisor_settings) + _setter("agent_id", agent_id) + _setter("compartment_id", compartment_id) + _setter("credentials_secret_id", credentials_secret_id) + _setter("csv_text", csv_text) + _setter("data_transfer_medium_details", data_transfer_medium_details) + _setter("data_transfer_medium_details_v2s", data_transfer_medium_details_v2s) + _setter("datapump_settings", datapump_settings) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("dump_transfer_details", dump_transfer_details) + _setter("exclude_objects", exclude_objects) + _setter("executing_job_id", executing_job_id) + _setter("freeform_tags", freeform_tags) + _setter("golden_gate_details", golden_gate_details) + _setter("golden_gate_service_details", golden_gate_service_details) + _setter("id", id) + _setter("include_objects", include_objects) + _setter("lifecycle_details", lifecycle_details) + _setter("source_container_database_connection_id", source_container_database_connection_id) + _setter("source_database_connection_id", source_database_connection_id) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("target_database_connection_id", target_database_connection_id) + _setter("time_created", time_created) + _setter("time_last_migration", time_last_migration) + _setter("time_updated", time_updated) + _setter("type", type) + _setter("vault_details", vault_details) + _setter("wait_after", wait_after) @property @pulumi.getter(name="advisorSettings") @@ -5172,6 +6951,11 @@ def data_transfer_medium_details(self) -> Sequence['outputs.GetMigrationsMigrati """ return pulumi.get(self, "data_transfer_medium_details") + @property + @pulumi.getter(name="dataTransferMediumDetailsV2s") + def data_transfer_medium_details_v2s(self) -> Sequence['outputs.GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2Result']: + return pulumi.get(self, "data_transfer_medium_details_v2s") + @property @pulumi.getter(name="datapumpSettings") def datapump_settings(self) -> Sequence['outputs.GetMigrationsMigrationCollectionItemDatapumpSettingResult']: @@ -5366,8 +7150,19 @@ def __init__(__self__, *, :param bool is_ignore_errors: True to not interrupt migration execution due to Pre-Migration Advisor errors. Default is false. :param bool is_skip_advisor: True to skip the Pre-Migration Advisor execution. Default is false. """ - pulumi.set(__self__, "is_ignore_errors", is_ignore_errors) - pulumi.set(__self__, "is_skip_advisor", is_skip_advisor) + GetMigrationsMigrationCollectionItemAdvisorSettingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_ignore_errors=is_ignore_errors, + is_skip_advisor=is_skip_advisor, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_ignore_errors: bool, + is_skip_advisor: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_ignore_errors", is_ignore_errors) + _setter("is_skip_advisor", is_skip_advisor) @property @pulumi.getter(name="isIgnoreErrors") @@ -5395,8 +7190,19 @@ def __init__(__self__, *, :param Sequence['GetMigrationsMigrationCollectionItemDataTransferMediumDetailDatabaseLinkDetailArgs'] database_link_details: Optional details for creating a network database link from Oracle Cloud Infrastructure database to on-premise database. :param Sequence['GetMigrationsMigrationCollectionItemDataTransferMediumDetailObjectStorageDetailArgs'] object_storage_details: In lieu of a network database link, Oracle Cloud Infrastructure Object Storage bucket will be used to store Data Pump dump files for the migration. Additionally, it can be specified alongside a database link data transfer medium. """ - pulumi.set(__self__, "database_link_details", database_link_details) - pulumi.set(__self__, "object_storage_details", object_storage_details) + GetMigrationsMigrationCollectionItemDataTransferMediumDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + database_link_details=database_link_details, + object_storage_details=object_storage_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + database_link_details: Sequence['outputs.GetMigrationsMigrationCollectionItemDataTransferMediumDetailDatabaseLinkDetailResult'], + object_storage_details: Sequence['outputs.GetMigrationsMigrationCollectionItemDataTransferMediumDetailObjectStorageDetailResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("database_link_details", database_link_details) + _setter("object_storage_details", object_storage_details) @property @pulumi.getter(name="databaseLinkDetails") @@ -5424,8 +7230,19 @@ def __init__(__self__, *, :param str name: Name of directory object in database :param Sequence['GetMigrationsMigrationCollectionItemDataTransferMediumDetailDatabaseLinkDetailWalletBucketArgs'] wallet_buckets: In lieu of a network database link, Oracle Cloud Infrastructure Object Storage bucket will be used to store Data Pump dump files for the migration. Additionally, it can be specified alongside a database link data transfer medium. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "wallet_buckets", wallet_buckets) + GetMigrationsMigrationCollectionItemDataTransferMediumDetailDatabaseLinkDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + wallet_buckets=wallet_buckets, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + wallet_buckets: Sequence['outputs.GetMigrationsMigrationCollectionItemDataTransferMediumDetailDatabaseLinkDetailWalletBucketResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("wallet_buckets", wallet_buckets) @property @pulumi.getter @@ -5453,8 +7270,19 @@ def __init__(__self__, *, :param str bucket: Bucket name. :param str namespace: Namespace name of the object store bucket. """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "namespace", namespace) + GetMigrationsMigrationCollectionItemDataTransferMediumDetailDatabaseLinkDetailWalletBucketResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + namespace=namespace, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + namespace: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("namespace", namespace) @property @pulumi.getter @@ -5482,8 +7310,135 @@ def __init__(__self__, *, :param str bucket: Bucket name. :param str namespace: Namespace name of the object store bucket. """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "namespace", namespace) + GetMigrationsMigrationCollectionItemDataTransferMediumDetailObjectStorageDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + namespace=namespace, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + namespace: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("namespace", namespace) + + @property + @pulumi.getter + def bucket(self) -> str: + """ + Bucket name. + """ + return pulumi.get(self, "bucket") + + @property + @pulumi.getter + def namespace(self) -> str: + """ + Namespace name of the object store bucket. + """ + return pulumi.get(self, "namespace") + + +@pulumi.output_type +class GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2Result(dict): + def __init__(__self__, *, + access_key_id: str, + name: str, + object_storage_buckets: Sequence['outputs.GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketResult'], + region: str, + secret_access_key: str, + type: str): + """ + :param str name: Name of directory object in database + :param str type: Migration type. + """ + GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2Result._configure( + lambda key, value: pulumi.set(__self__, key, value), + access_key_id=access_key_id, + name=name, + object_storage_buckets=object_storage_buckets, + region=region, + secret_access_key=secret_access_key, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access_key_id: str, + name: str, + object_storage_buckets: Sequence['outputs.GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketResult'], + region: str, + secret_access_key: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("access_key_id", access_key_id) + _setter("name", name) + _setter("object_storage_buckets", object_storage_buckets) + _setter("region", region) + _setter("secret_access_key", secret_access_key) + _setter("type", type) + + @property + @pulumi.getter(name="accessKeyId") + def access_key_id(self) -> str: + return pulumi.get(self, "access_key_id") + + @property + @pulumi.getter + def name(self) -> str: + """ + Name of directory object in database + """ + return pulumi.get(self, "name") + + @property + @pulumi.getter(name="objectStorageBuckets") + def object_storage_buckets(self) -> Sequence['outputs.GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketResult']: + return pulumi.get(self, "object_storage_buckets") + + @property + @pulumi.getter + def region(self) -> str: + return pulumi.get(self, "region") + + @property + @pulumi.getter(name="secretAccessKey") + def secret_access_key(self) -> str: + return pulumi.get(self, "secret_access_key") + + @property + @pulumi.getter + def type(self) -> str: + """ + Migration type. + """ + return pulumi.get(self, "type") + + +@pulumi.output_type +class GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketResult(dict): + def __init__(__self__, *, + bucket: str, + namespace: str): + """ + :param str bucket: Bucket name. + :param str namespace: Namespace name of the object store bucket. + """ + GetMigrationsMigrationCollectionItemDataTransferMediumDetailsV2ObjectStorageBucketResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + namespace=namespace, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + namespace: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("namespace", namespace) @property @pulumi.getter @@ -5517,11 +7472,28 @@ def __init__(__self__, *, :param str job_mode: Data Pump job mode. Refer to [Data Pump Export Modes ](https://docs.oracle.com/en/database/oracle/oracle-database/19/sutil/oracle-data-pump-export-utility.html#GUID-8E497131-6B9B-4CC8-AA50-35F480CAC2C4) :param Sequence['GetMigrationsMigrationCollectionItemDatapumpSettingMetadataRemapArgs'] metadata_remaps: Defines remapping to be applied to objects as they are processed. Refer to [METADATA_REMAP Procedure ](https://docs.oracle.com/en/database/oracle/oracle-database/19/arpls/DBMS_DATAPUMP.html#GUID-0FC32790-91E6-4781-87A3-229DE024CB3D) """ - pulumi.set(__self__, "data_pump_parameters", data_pump_parameters) - pulumi.set(__self__, "export_directory_objects", export_directory_objects) - pulumi.set(__self__, "import_directory_objects", import_directory_objects) - pulumi.set(__self__, "job_mode", job_mode) - pulumi.set(__self__, "metadata_remaps", metadata_remaps) + GetMigrationsMigrationCollectionItemDatapumpSettingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + data_pump_parameters=data_pump_parameters, + export_directory_objects=export_directory_objects, + import_directory_objects=import_directory_objects, + job_mode=job_mode, + metadata_remaps=metadata_remaps, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + data_pump_parameters: Sequence['outputs.GetMigrationsMigrationCollectionItemDatapumpSettingDataPumpParameterResult'], + export_directory_objects: Sequence['outputs.GetMigrationsMigrationCollectionItemDatapumpSettingExportDirectoryObjectResult'], + import_directory_objects: Sequence['outputs.GetMigrationsMigrationCollectionItemDatapumpSettingImportDirectoryObjectResult'], + job_mode: str, + metadata_remaps: Sequence['outputs.GetMigrationsMigrationCollectionItemDatapumpSettingMetadataRemapResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("data_pump_parameters", data_pump_parameters) + _setter("export_directory_objects", export_directory_objects) + _setter("import_directory_objects", import_directory_objects) + _setter("job_mode", job_mode) + _setter("metadata_remaps", metadata_remaps) @property @pulumi.getter(name="dataPumpParameters") @@ -5581,12 +7553,31 @@ def __init__(__self__, *, :param bool is_cluster: Set to false to force Data Pump worker processes to run on one instance. :param str table_exists_action: IMPORT: Specifies the action to be performed when data is loaded into a preexisting table. """ - pulumi.set(__self__, "estimate", estimate) - pulumi.set(__self__, "exclude_parameters", exclude_parameters) - pulumi.set(__self__, "export_parallelism_degree", export_parallelism_degree) - pulumi.set(__self__, "import_parallelism_degree", import_parallelism_degree) - pulumi.set(__self__, "is_cluster", is_cluster) - pulumi.set(__self__, "table_exists_action", table_exists_action) + GetMigrationsMigrationCollectionItemDatapumpSettingDataPumpParameterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + estimate=estimate, + exclude_parameters=exclude_parameters, + export_parallelism_degree=export_parallelism_degree, + import_parallelism_degree=import_parallelism_degree, + is_cluster=is_cluster, + table_exists_action=table_exists_action, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + estimate: str, + exclude_parameters: Sequence[str], + export_parallelism_degree: int, + import_parallelism_degree: int, + is_cluster: bool, + table_exists_action: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("estimate", estimate) + _setter("exclude_parameters", exclude_parameters) + _setter("export_parallelism_degree", export_parallelism_degree) + _setter("import_parallelism_degree", import_parallelism_degree) + _setter("is_cluster", is_cluster) + _setter("table_exists_action", table_exists_action) @property @pulumi.getter @@ -5646,8 +7637,19 @@ def __init__(__self__, *, :param str name: Name of directory object in database :param str path: Absolute path of directory on database server """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "path", path) + GetMigrationsMigrationCollectionItemDatapumpSettingExportDirectoryObjectResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + path=path, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + path: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("path", path) @property @pulumi.getter @@ -5675,8 +7677,19 @@ def __init__(__self__, *, :param str name: Name of directory object in database :param str path: Absolute path of directory on database server """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "path", path) + GetMigrationsMigrationCollectionItemDatapumpSettingImportDirectoryObjectResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + path=path, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + path: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("path", path) @property @pulumi.getter @@ -5706,9 +7719,22 @@ def __init__(__self__, *, :param str old_value: Specifies the value which needs to be reset. :param str type: Migration type. """ - pulumi.set(__self__, "new_value", new_value) - pulumi.set(__self__, "old_value", old_value) - pulumi.set(__self__, "type", type) + GetMigrationsMigrationCollectionItemDatapumpSettingMetadataRemapResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + new_value=new_value, + old_value=old_value, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + new_value: str, + old_value: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("new_value", new_value) + _setter("old_value", old_value) + _setter("type", type) @property @pulumi.getter(name="newValue") @@ -5738,14 +7764,34 @@ def type(self) -> str: @pulumi.output_type class GetMigrationsMigrationCollectionItemDumpTransferDetailResult(dict): def __init__(__self__, *, + shared_storage_mount_target_id: str, sources: Sequence['outputs.GetMigrationsMigrationCollectionItemDumpTransferDetailSourceResult'], targets: Sequence['outputs.GetMigrationsMigrationCollectionItemDumpTransferDetailTargetResult']): """ :param Sequence['GetMigrationsMigrationCollectionItemDumpTransferDetailSourceArgs'] sources: Optional additional properties for dump transfer in source or target host. Default kind is CURL :param Sequence['GetMigrationsMigrationCollectionItemDumpTransferDetailTargetArgs'] targets: Optional additional properties for dump transfer in source or target host. Default kind is CURL """ - pulumi.set(__self__, "sources", sources) - pulumi.set(__self__, "targets", targets) + GetMigrationsMigrationCollectionItemDumpTransferDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + shared_storage_mount_target_id=shared_storage_mount_target_id, + sources=sources, + targets=targets, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + shared_storage_mount_target_id: str, + sources: Sequence['outputs.GetMigrationsMigrationCollectionItemDumpTransferDetailSourceResult'], + targets: Sequence['outputs.GetMigrationsMigrationCollectionItemDumpTransferDetailTargetResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("shared_storage_mount_target_id", shared_storage_mount_target_id) + _setter("sources", sources) + _setter("targets", targets) + + @property + @pulumi.getter(name="sharedStorageMountTargetId") + def shared_storage_mount_target_id(self) -> str: + return pulumi.get(self, "shared_storage_mount_target_id") @property @pulumi.getter @@ -5775,9 +7821,22 @@ def __init__(__self__, *, :param str oci_home: Path to the Oracle Cloud Infrastructure CLI installation in the node. :param str wallet_location: Directory path to Oracle Cloud Infrastructure SSL wallet location on Db server node. """ - pulumi.set(__self__, "kind", kind) - pulumi.set(__self__, "oci_home", oci_home) - pulumi.set(__self__, "wallet_location", wallet_location) + GetMigrationsMigrationCollectionItemDumpTransferDetailSourceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + kind=kind, + oci_home=oci_home, + wallet_location=wallet_location, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + kind: str, + oci_home: str, + wallet_location: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("kind", kind) + _setter("oci_home", oci_home) + _setter("wallet_location", wallet_location) @property @pulumi.getter @@ -5815,9 +7874,22 @@ def __init__(__self__, *, :param str oci_home: Path to the Oracle Cloud Infrastructure CLI installation in the node. :param str wallet_location: Directory path to Oracle Cloud Infrastructure SSL wallet location on Db server node. """ - pulumi.set(__self__, "kind", kind) - pulumi.set(__self__, "oci_home", oci_home) - pulumi.set(__self__, "wallet_location", wallet_location) + GetMigrationsMigrationCollectionItemDumpTransferDetailTargetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + kind=kind, + oci_home=oci_home, + wallet_location=wallet_location, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + kind: str, + oci_home: str, + wallet_location: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("kind", kind) + _setter("oci_home", oci_home) + _setter("wallet_location", wallet_location) @property @pulumi.getter @@ -5857,10 +7929,25 @@ def __init__(__self__, *, :param str owner: Owner of the object (regular expression is allowed) :param str type: Migration type. """ - pulumi.set(__self__, "is_omit_excluded_table_from_replication", is_omit_excluded_table_from_replication) - pulumi.set(__self__, "object", object) - pulumi.set(__self__, "owner", owner) - pulumi.set(__self__, "type", type) + GetMigrationsMigrationCollectionItemExcludeObjectResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_omit_excluded_table_from_replication=is_omit_excluded_table_from_replication, + object=object, + owner=owner, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_omit_excluded_table_from_replication: bool, + object: str, + owner: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_omit_excluded_table_from_replication", is_omit_excluded_table_from_replication) + _setter("object", object) + _setter("owner", owner) + _setter("type", type) @property @pulumi.getter(name="isOmitExcludedTableFromReplication") @@ -5904,8 +7991,19 @@ def __init__(__self__, *, :param Sequence['GetMigrationsMigrationCollectionItemGoldenGateDetailHubArgs'] hubs: Details about Oracle GoldenGate Microservices. :param Sequence['GetMigrationsMigrationCollectionItemGoldenGateDetailSettingArgs'] settings: Optional settings for Oracle GoldenGate processes """ - pulumi.set(__self__, "hubs", hubs) - pulumi.set(__self__, "settings", settings) + GetMigrationsMigrationCollectionItemGoldenGateDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + hubs=hubs, + settings=settings, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hubs: Sequence['outputs.GetMigrationsMigrationCollectionItemGoldenGateDetailHubResult'], + settings: Sequence['outputs.GetMigrationsMigrationCollectionItemGoldenGateDetailSettingResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("hubs", hubs) + _setter("settings", settings) @property @pulumi.getter @@ -5945,14 +8043,37 @@ def __init__(__self__, *, :param str target_microservices_deployment_name: Name of GoldenGate deployment to operate on target database :param str url: Oracle GoldenGate hub's REST endpoint. Refer to https://docs.oracle.com/en/middleware/goldengate/core/19.1/securing/network.html#GUID-A709DA55-111D-455E-8942-C9BDD1E38CAA """ - pulumi.set(__self__, "compute_id", compute_id) - pulumi.set(__self__, "rest_admin_credentials", rest_admin_credentials) - pulumi.set(__self__, "source_container_db_admin_credentials", source_container_db_admin_credentials) - pulumi.set(__self__, "source_db_admin_credentials", source_db_admin_credentials) - pulumi.set(__self__, "source_microservices_deployment_name", source_microservices_deployment_name) - pulumi.set(__self__, "target_db_admin_credentials", target_db_admin_credentials) - pulumi.set(__self__, "target_microservices_deployment_name", target_microservices_deployment_name) - pulumi.set(__self__, "url", url) + GetMigrationsMigrationCollectionItemGoldenGateDetailHubResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compute_id=compute_id, + rest_admin_credentials=rest_admin_credentials, + source_container_db_admin_credentials=source_container_db_admin_credentials, + source_db_admin_credentials=source_db_admin_credentials, + source_microservices_deployment_name=source_microservices_deployment_name, + target_db_admin_credentials=target_db_admin_credentials, + target_microservices_deployment_name=target_microservices_deployment_name, + url=url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compute_id: str, + rest_admin_credentials: Sequence['outputs.GetMigrationsMigrationCollectionItemGoldenGateDetailHubRestAdminCredentialResult'], + source_container_db_admin_credentials: Sequence['outputs.GetMigrationsMigrationCollectionItemGoldenGateDetailHubSourceContainerDbAdminCredentialResult'], + source_db_admin_credentials: Sequence['outputs.GetMigrationsMigrationCollectionItemGoldenGateDetailHubSourceDbAdminCredentialResult'], + source_microservices_deployment_name: str, + target_db_admin_credentials: Sequence['outputs.GetMigrationsMigrationCollectionItemGoldenGateDetailHubTargetDbAdminCredentialResult'], + target_microservices_deployment_name: str, + url: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compute_id", compute_id) + _setter("rest_admin_credentials", rest_admin_credentials) + _setter("source_container_db_admin_credentials", source_container_db_admin_credentials) + _setter("source_db_admin_credentials", source_db_admin_credentials) + _setter("source_microservices_deployment_name", source_microservices_deployment_name) + _setter("target_db_admin_credentials", target_db_admin_credentials) + _setter("target_microservices_deployment_name", target_microservices_deployment_name) + _setter("url", url) @property @pulumi.getter(name="computeId") @@ -6027,8 +8148,19 @@ def __init__(__self__, *, """ :param str username: Administrator username """ - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "username", username) + GetMigrationsMigrationCollectionItemGoldenGateDetailHubRestAdminCredentialResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + password=password, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + password: str, + username: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("password", password) + _setter("username", username) @property @pulumi.getter @@ -6052,8 +8184,19 @@ def __init__(__self__, *, """ :param str username: Administrator username """ - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "username", username) + GetMigrationsMigrationCollectionItemGoldenGateDetailHubSourceContainerDbAdminCredentialResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + password=password, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + password: str, + username: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("password", password) + _setter("username", username) @property @pulumi.getter @@ -6077,8 +8220,19 @@ def __init__(__self__, *, """ :param str username: Administrator username """ - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "username", username) + GetMigrationsMigrationCollectionItemGoldenGateDetailHubSourceDbAdminCredentialResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + password=password, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + password: str, + username: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("password", password) + _setter("username", username) @property @pulumi.getter @@ -6102,8 +8256,19 @@ def __init__(__self__, *, """ :param str username: Administrator username """ - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "username", username) + GetMigrationsMigrationCollectionItemGoldenGateDetailHubTargetDbAdminCredentialResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + password=password, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + password: str, + username: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("password", password) + _setter("username", username) @property @pulumi.getter @@ -6130,9 +8295,22 @@ def __init__(__self__, *, :param Sequence['GetMigrationsMigrationCollectionItemGoldenGateDetailSettingExtractArgs'] extracts: Parameters for Extract processes. :param Sequence['GetMigrationsMigrationCollectionItemGoldenGateDetailSettingReplicatArgs'] replicats: Parameters for Replicat processes. """ - pulumi.set(__self__, "acceptable_lag", acceptable_lag) - pulumi.set(__self__, "extracts", extracts) - pulumi.set(__self__, "replicats", replicats) + GetMigrationsMigrationCollectionItemGoldenGateDetailSettingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + acceptable_lag=acceptable_lag, + extracts=extracts, + replicats=replicats, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + acceptable_lag: int, + extracts: Sequence['outputs.GetMigrationsMigrationCollectionItemGoldenGateDetailSettingExtractResult'], + replicats: Sequence['outputs.GetMigrationsMigrationCollectionItemGoldenGateDetailSettingReplicatResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("acceptable_lag", acceptable_lag) + _setter("extracts", extracts) + _setter("replicats", replicats) @property @pulumi.getter(name="acceptableLag") @@ -6168,8 +8346,19 @@ def __init__(__self__, *, :param int long_trans_duration: Length of time (in seconds) that a transaction can be open before Extract generates a warning message that the transaction is long-running. If not specified, Extract will not generate a warning on long-running transactions. :param str performance_profile: Extract performance. """ - pulumi.set(__self__, "long_trans_duration", long_trans_duration) - pulumi.set(__self__, "performance_profile", performance_profile) + GetMigrationsMigrationCollectionItemGoldenGateDetailSettingExtractResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + long_trans_duration=long_trans_duration, + performance_profile=performance_profile, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + long_trans_duration: int, + performance_profile: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("long_trans_duration", long_trans_duration) + _setter("performance_profile", performance_profile) @property @pulumi.getter(name="longTransDuration") @@ -6201,10 +8390,25 @@ def __init__(__self__, *, :param int min_apply_parallelism: Defines the range in which Replicat automatically adjusts its apply parallelism (valid for Parallel Replicat) :param str performance_profile: Extract performance. """ - pulumi.set(__self__, "map_parallelism", map_parallelism) - pulumi.set(__self__, "max_apply_parallelism", max_apply_parallelism) - pulumi.set(__self__, "min_apply_parallelism", min_apply_parallelism) - pulumi.set(__self__, "performance_profile", performance_profile) + GetMigrationsMigrationCollectionItemGoldenGateDetailSettingReplicatResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + map_parallelism=map_parallelism, + max_apply_parallelism=max_apply_parallelism, + min_apply_parallelism=min_apply_parallelism, + performance_profile=performance_profile, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + map_parallelism: int, + max_apply_parallelism: int, + min_apply_parallelism: int, + performance_profile: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("map_parallelism", map_parallelism) + _setter("max_apply_parallelism", max_apply_parallelism) + _setter("min_apply_parallelism", min_apply_parallelism) + _setter("performance_profile", performance_profile) @property @pulumi.getter(name="mapParallelism") @@ -6251,11 +8455,28 @@ def __init__(__self__, *, :param Sequence['GetMigrationsMigrationCollectionItemGoldenGateServiceDetailGgsDeploymentArgs'] ggs_deployments: Details about Oracle GoldenGate GGS Deployment. :param Sequence['GetMigrationsMigrationCollectionItemGoldenGateServiceDetailSettingArgs'] settings: Optional settings for Oracle GoldenGate processes """ - pulumi.set(__self__, "ggs_deployments", ggs_deployments) - pulumi.set(__self__, "settings", settings) - pulumi.set(__self__, "source_container_db_credentials", source_container_db_credentials) - pulumi.set(__self__, "source_db_credentials", source_db_credentials) - pulumi.set(__self__, "target_db_credentials", target_db_credentials) + GetMigrationsMigrationCollectionItemGoldenGateServiceDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ggs_deployments=ggs_deployments, + settings=settings, + source_container_db_credentials=source_container_db_credentials, + source_db_credentials=source_db_credentials, + target_db_credentials=target_db_credentials, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ggs_deployments: Sequence['outputs.GetMigrationsMigrationCollectionItemGoldenGateServiceDetailGgsDeploymentResult'], + settings: Sequence['outputs.GetMigrationsMigrationCollectionItemGoldenGateServiceDetailSettingResult'], + source_container_db_credentials: Sequence['outputs.GetMigrationsMigrationCollectionItemGoldenGateServiceDetailSourceContainerDbCredentialResult'], + source_db_credentials: Sequence['outputs.GetMigrationsMigrationCollectionItemGoldenGateServiceDetailSourceDbCredentialResult'], + target_db_credentials: Sequence['outputs.GetMigrationsMigrationCollectionItemGoldenGateServiceDetailTargetDbCredentialResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ggs_deployments", ggs_deployments) + _setter("settings", settings) + _setter("source_container_db_credentials", source_container_db_credentials) + _setter("source_db_credentials", source_db_credentials) + _setter("target_db_credentials", target_db_credentials) @property @pulumi.getter(name="ggsDeployments") @@ -6298,8 +8519,19 @@ def __init__(__self__, *, :param str deployment_id: OCID of a GoldenGate Deployment :param str ggs_admin_credentials_secret_id: OCID of a VaultSecret containing the Admin Credentials for the GGS Deployment """ - pulumi.set(__self__, "deployment_id", deployment_id) - pulumi.set(__self__, "ggs_admin_credentials_secret_id", ggs_admin_credentials_secret_id) + GetMigrationsMigrationCollectionItemGoldenGateServiceDetailGgsDeploymentResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + deployment_id=deployment_id, + ggs_admin_credentials_secret_id=ggs_admin_credentials_secret_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deployment_id: str, + ggs_admin_credentials_secret_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("deployment_id", deployment_id) + _setter("ggs_admin_credentials_secret_id", ggs_admin_credentials_secret_id) @property @pulumi.getter(name="deploymentId") @@ -6329,9 +8561,22 @@ def __init__(__self__, *, :param Sequence['GetMigrationsMigrationCollectionItemGoldenGateServiceDetailSettingExtractArgs'] extracts: Parameters for Extract processes. :param Sequence['GetMigrationsMigrationCollectionItemGoldenGateServiceDetailSettingReplicatArgs'] replicats: Parameters for Replicat processes. """ - pulumi.set(__self__, "acceptable_lag", acceptable_lag) - pulumi.set(__self__, "extracts", extracts) - pulumi.set(__self__, "replicats", replicats) + GetMigrationsMigrationCollectionItemGoldenGateServiceDetailSettingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + acceptable_lag=acceptable_lag, + extracts=extracts, + replicats=replicats, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + acceptable_lag: int, + extracts: Sequence['outputs.GetMigrationsMigrationCollectionItemGoldenGateServiceDetailSettingExtractResult'], + replicats: Sequence['outputs.GetMigrationsMigrationCollectionItemGoldenGateServiceDetailSettingReplicatResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("acceptable_lag", acceptable_lag) + _setter("extracts", extracts) + _setter("replicats", replicats) @property @pulumi.getter(name="acceptableLag") @@ -6367,8 +8612,19 @@ def __init__(__self__, *, :param int long_trans_duration: Length of time (in seconds) that a transaction can be open before Extract generates a warning message that the transaction is long-running. If not specified, Extract will not generate a warning on long-running transactions. :param str performance_profile: Extract performance. """ - pulumi.set(__self__, "long_trans_duration", long_trans_duration) - pulumi.set(__self__, "performance_profile", performance_profile) + GetMigrationsMigrationCollectionItemGoldenGateServiceDetailSettingExtractResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + long_trans_duration=long_trans_duration, + performance_profile=performance_profile, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + long_trans_duration: int, + performance_profile: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("long_trans_duration", long_trans_duration) + _setter("performance_profile", performance_profile) @property @pulumi.getter(name="longTransDuration") @@ -6398,9 +8654,22 @@ def __init__(__self__, *, :param int max_apply_parallelism: Defines the range in which Replicat automatically adjusts its apply parallelism (valid for Parallel Replicat) :param int min_apply_parallelism: Defines the range in which Replicat automatically adjusts its apply parallelism (valid for Parallel Replicat) """ - pulumi.set(__self__, "map_parallelism", map_parallelism) - pulumi.set(__self__, "max_apply_parallelism", max_apply_parallelism) - pulumi.set(__self__, "min_apply_parallelism", min_apply_parallelism) + GetMigrationsMigrationCollectionItemGoldenGateServiceDetailSettingReplicatResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + map_parallelism=map_parallelism, + max_apply_parallelism=max_apply_parallelism, + min_apply_parallelism=min_apply_parallelism, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + map_parallelism: int, + max_apply_parallelism: int, + min_apply_parallelism: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("map_parallelism", map_parallelism) + _setter("max_apply_parallelism", max_apply_parallelism) + _setter("min_apply_parallelism", min_apply_parallelism) @property @pulumi.getter(name="mapParallelism") @@ -6435,8 +8704,19 @@ def __init__(__self__, *, """ :param str username: Administrator username """ - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "username", username) + GetMigrationsMigrationCollectionItemGoldenGateServiceDetailSourceContainerDbCredentialResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + password=password, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + password: str, + username: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("password", password) + _setter("username", username) @property @pulumi.getter @@ -6460,8 +8740,19 @@ def __init__(__self__, *, """ :param str username: Administrator username """ - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "username", username) + GetMigrationsMigrationCollectionItemGoldenGateServiceDetailSourceDbCredentialResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + password=password, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + password: str, + username: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("password", password) + _setter("username", username) @property @pulumi.getter @@ -6485,8 +8776,19 @@ def __init__(__self__, *, """ :param str username: Administrator username """ - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "username", username) + GetMigrationsMigrationCollectionItemGoldenGateServiceDetailTargetDbCredentialResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + password=password, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + password: str, + username: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("password", password) + _setter("username", username) @property @pulumi.getter @@ -6515,10 +8817,25 @@ def __init__(__self__, *, :param str owner: Owner of the object (regular expression is allowed) :param str type: Migration type. """ - pulumi.set(__self__, "is_omit_excluded_table_from_replication", is_omit_excluded_table_from_replication) - pulumi.set(__self__, "object", object) - pulumi.set(__self__, "owner", owner) - pulumi.set(__self__, "type", type) + GetMigrationsMigrationCollectionItemIncludeObjectResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_omit_excluded_table_from_replication=is_omit_excluded_table_from_replication, + object=object, + owner=owner, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_omit_excluded_table_from_replication: bool, + object: str, + owner: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_omit_excluded_table_from_replication", is_omit_excluded_table_from_replication) + _setter("object", object) + _setter("owner", owner) + _setter("type", type) @property @pulumi.getter(name="isOmitExcludedTableFromReplication") @@ -6564,9 +8881,22 @@ def __init__(__self__, *, :param str key_id: OCID of the vault encryption key :param str vault_id: OCID of the vault """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "key_id", key_id) - pulumi.set(__self__, "vault_id", vault_id) + GetMigrationsMigrationCollectionItemVaultDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + key_id=key_id, + vault_id=vault_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + key_id: str, + vault_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("key_id", key_id) + _setter("vault_id", vault_id) @property @pulumi.getter(name="compartmentId") diff --git a/sdk/python/pulumi_oci/databasetools/_inputs.py b/sdk/python/pulumi_oci/databasetools/_inputs.py index 1d023a57d6..dfe03e8ea0 100644 --- a/sdk/python/pulumi_oci/databasetools/_inputs.py +++ b/sdk/python/pulumi_oci/databasetools/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -33,12 +33,25 @@ def __init__(__self__, *, :param pulumi.Input['DatabaseToolsConnectionKeyStoreKeyStorePasswordArgs'] key_store_password: (Updatable) The key store password. :param pulumi.Input[str] key_store_type: (Updatable) The key store type. """ + DatabaseToolsConnectionKeyStoreArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key_store_content=key_store_content, + key_store_password=key_store_password, + key_store_type=key_store_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key_store_content: Optional[pulumi.Input['DatabaseToolsConnectionKeyStoreKeyStoreContentArgs']] = None, + key_store_password: Optional[pulumi.Input['DatabaseToolsConnectionKeyStoreKeyStorePasswordArgs']] = None, + key_store_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if key_store_content is not None: - pulumi.set(__self__, "key_store_content", key_store_content) + _setter("key_store_content", key_store_content) if key_store_password is not None: - pulumi.set(__self__, "key_store_password", key_store_password) + _setter("key_store_password", key_store_password) if key_store_type is not None: - pulumi.set(__self__, "key_store_type", key_store_type) + _setter("key_store_type", key_store_type) @property @pulumi.getter(name="keyStoreContent") @@ -90,9 +103,20 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. """ - pulumi.set(__self__, "value_type", value_type) + DatabaseToolsConnectionKeyStoreKeyStoreContentArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value_type=value_type, + secret_id=secret_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value_type: pulumi.Input[str], + secret_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value_type", value_type) if secret_id is not None: - pulumi.set(__self__, "secret_id", secret_id) + _setter("secret_id", secret_id) @property @pulumi.getter(name="valueType") @@ -136,9 +160,20 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. """ - pulumi.set(__self__, "value_type", value_type) + DatabaseToolsConnectionKeyStoreKeyStorePasswordArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value_type=value_type, + secret_id=secret_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value_type: pulumi.Input[str], + secret_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value_type", value_type) if secret_id is not None: - pulumi.set(__self__, "secret_id", secret_id) + _setter("secret_id", secret_id) @property @pulumi.getter(name="valueType") @@ -178,8 +213,19 @@ def __init__(__self__, *, :param pulumi.Input[str] entity_type: (Updatable) The resource entity type. :param pulumi.Input[str] identifier: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related resource. """ - pulumi.set(__self__, "entity_type", entity_type) - pulumi.set(__self__, "identifier", identifier) + DatabaseToolsConnectionRelatedResourceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + entity_type=entity_type, + identifier=identifier, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + entity_type: pulumi.Input[str], + identifier: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("entity_type", entity_type) + _setter("identifier", identifier) @property @pulumi.getter(name="entityType") @@ -219,8 +265,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "secret_id", secret_id) - pulumi.set(__self__, "value_type", value_type) + DatabaseToolsConnectionUserPasswordArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + secret_id=secret_id, + value_type=value_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + secret_id: pulumi.Input[str], + value_type: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("secret_id", secret_id) + _setter("value_type", value_type) @property @pulumi.getter(name="secretId") @@ -258,8 +315,17 @@ def __init__(__self__, *, """ :param pulumi.Input[Sequence[pulumi.Input['DatabaseToolsPrivateEndpointReverseConnectionConfigurationReverseConnectionsSourceIpArgs']]] reverse_connections_source_ips: A list of IP addresses in the customer VCN to be used as the source IPs for reverse connection packets traveling from the service's VCN to the customer's VCN. """ + DatabaseToolsPrivateEndpointReverseConnectionConfigurationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + reverse_connections_source_ips=reverse_connections_source_ips, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + reverse_connections_source_ips: Optional[pulumi.Input[Sequence[pulumi.Input['DatabaseToolsPrivateEndpointReverseConnectionConfigurationReverseConnectionsSourceIpArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if reverse_connections_source_ips is not None: - pulumi.set(__self__, "reverse_connections_source_ips", reverse_connections_source_ips) + _setter("reverse_connections_source_ips", reverse_connections_source_ips) @property @pulumi.getter(name="reverseConnectionsSourceIps") @@ -281,8 +347,17 @@ def __init__(__self__, *, """ :param pulumi.Input[str] source_ip: The IP address in the customer's VCN to be used as the source IP for reverse connection packets traveling from the customer's VCN to the service's VCN. """ + DatabaseToolsPrivateEndpointReverseConnectionConfigurationReverseConnectionsSourceIpArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + source_ip=source_ip, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + source_ip: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if source_ip is not None: - pulumi.set(__self__, "source_ip", source_ip) + _setter("source_ip", source_ip) @property @pulumi.getter(name="sourceIp") @@ -303,10 +378,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDatabaseToolsConnectionsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -345,10 +433,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the entire specified name. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDatabaseToolsEndpointServicesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -387,10 +488,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDatabaseToolsPrivateEndpointsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/databasetools/database_tools_connection.py b/sdk/python/pulumi_oci/databasetools/database_tools_connection.py index ee9d8a505f..df348e6a52 100644 --- a/sdk/python/pulumi_oci/databasetools/database_tools_connection.py +++ b/sdk/python/pulumi_oci/databasetools/database_tools_connection.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -43,27 +43,58 @@ def __init__(__self__, *, :param pulumi.Input[str] user_name: (Updatable) The database user name. :param pulumi.Input['DatabaseToolsConnectionUserPasswordArgs'] user_password: (Updatable) The user password. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "type", type) + DatabaseToolsConnectionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + type=type, + advanced_properties=advanced_properties, + connection_string=connection_string, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + key_stores=key_stores, + private_endpoint_id=private_endpoint_id, + related_resource=related_resource, + user_name=user_name, + user_password=user_password, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + type: pulumi.Input[str], + advanced_properties: Optional[pulumi.Input[Mapping[str, Any]]] = None, + connection_string: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + key_stores: Optional[pulumi.Input[Sequence[pulumi.Input['DatabaseToolsConnectionKeyStoreArgs']]]] = None, + private_endpoint_id: Optional[pulumi.Input[str]] = None, + related_resource: Optional[pulumi.Input['DatabaseToolsConnectionRelatedResourceArgs']] = None, + user_name: Optional[pulumi.Input[str]] = None, + user_password: Optional[pulumi.Input['DatabaseToolsConnectionUserPasswordArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) + _setter("type", type) if advanced_properties is not None: - pulumi.set(__self__, "advanced_properties", advanced_properties) + _setter("advanced_properties", advanced_properties) if connection_string is not None: - pulumi.set(__self__, "connection_string", connection_string) + _setter("connection_string", connection_string) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if key_stores is not None: - pulumi.set(__self__, "key_stores", key_stores) + _setter("key_stores", key_stores) if private_endpoint_id is not None: - pulumi.set(__self__, "private_endpoint_id", private_endpoint_id) + _setter("private_endpoint_id", private_endpoint_id) if related_resource is not None: - pulumi.set(__self__, "related_resource", related_resource) + _setter("related_resource", related_resource) if user_name is not None: - pulumi.set(__self__, "user_name", user_name) + _setter("user_name", user_name) if user_password is not None: - pulumi.set(__self__, "user_password", user_password) + _setter("user_password", user_password) @property @pulumi.getter(name="compartmentId") @@ -250,40 +281,81 @@ def __init__(__self__, *, :param pulumi.Input[str] user_name: (Updatable) The database user name. :param pulumi.Input['DatabaseToolsConnectionUserPasswordArgs'] user_password: (Updatable) The user password. """ + _DatabaseToolsConnectionState._configure( + lambda key, value: pulumi.set(__self__, key, value), + advanced_properties=advanced_properties, + compartment_id=compartment_id, + connection_string=connection_string, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + key_stores=key_stores, + lifecycle_details=lifecycle_details, + private_endpoint_id=private_endpoint_id, + related_resource=related_resource, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + type=type, + user_name=user_name, + user_password=user_password, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + advanced_properties: Optional[pulumi.Input[Mapping[str, Any]]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + connection_string: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + key_stores: Optional[pulumi.Input[Sequence[pulumi.Input['DatabaseToolsConnectionKeyStoreArgs']]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + private_endpoint_id: Optional[pulumi.Input[str]] = None, + related_resource: Optional[pulumi.Input['DatabaseToolsConnectionRelatedResourceArgs']] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + user_name: Optional[pulumi.Input[str]] = None, + user_password: Optional[pulumi.Input['DatabaseToolsConnectionUserPasswordArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if advanced_properties is not None: - pulumi.set(__self__, "advanced_properties", advanced_properties) + _setter("advanced_properties", advanced_properties) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if connection_string is not None: - pulumi.set(__self__, "connection_string", connection_string) + _setter("connection_string", connection_string) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if key_stores is not None: - pulumi.set(__self__, "key_stores", key_stores) + _setter("key_stores", key_stores) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if private_endpoint_id is not None: - pulumi.set(__self__, "private_endpoint_id", private_endpoint_id) + _setter("private_endpoint_id", private_endpoint_id) if related_resource is not None: - pulumi.set(__self__, "related_resource", related_resource) + _setter("related_resource", related_resource) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if user_name is not None: - pulumi.set(__self__, "user_name", user_name) + _setter("user_name", user_name) if user_password is not None: - pulumi.set(__self__, "user_password", user_password) + _setter("user_password", user_password) @property @pulumi.getter(name="advancedProperties") @@ -647,6 +719,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DatabaseToolsConnectionArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -685,11 +761,21 @@ def _internal_init(__self__, __props__.__dict__["freeform_tags"] = freeform_tags __props__.__dict__["key_stores"] = key_stores __props__.__dict__["private_endpoint_id"] = private_endpoint_id + if related_resource is not None and not isinstance(related_resource, DatabaseToolsConnectionRelatedResourceArgs): + related_resource = related_resource or {} + def _setter(key, value): + related_resource[key] = value + DatabaseToolsConnectionRelatedResourceArgs._configure(_setter, **related_resource) __props__.__dict__["related_resource"] = related_resource if type is None and not opts.urn: raise TypeError("Missing required property 'type'") __props__.__dict__["type"] = type __props__.__dict__["user_name"] = user_name + if user_password is not None and not isinstance(user_password, DatabaseToolsConnectionUserPasswordArgs): + user_password = user_password or {} + def _setter(key, value): + user_password[key] = value + DatabaseToolsConnectionUserPasswordArgs._configure(_setter, **user_password) __props__.__dict__["user_password"] = user_password __props__.__dict__["lifecycle_details"] = None __props__.__dict__["state"] = None diff --git a/sdk/python/pulumi_oci/databasetools/database_tools_private_endpoint.py b/sdk/python/pulumi_oci/databasetools/database_tools_private_endpoint.py index 7b48ecb674..1c24c93a15 100644 --- a/sdk/python/pulumi_oci/databasetools/database_tools_private_endpoint.py +++ b/sdk/python/pulumi_oci/databasetools/database_tools_private_endpoint.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -41,20 +41,45 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] nsg_ids: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network security groups that the private endpoint's VNIC belongs to. For more information about NSGs, see [NetworkSecurityGroup](https://docs.cloud.oracle.com/iaas/api/#/en/iaas/20160918/NetworkSecurityGroup/). :param pulumi.Input[str] private_endpoint_ip: The private IP address that represents the access point for the associated endpoint service. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "endpoint_service_id", endpoint_service_id) - pulumi.set(__self__, "subnet_id", subnet_id) + DatabaseToolsPrivateEndpointArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + endpoint_service_id=endpoint_service_id, + subnet_id=subnet_id, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + nsg_ids=nsg_ids, + private_endpoint_ip=private_endpoint_ip, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + endpoint_service_id: pulumi.Input[str], + subnet_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + private_endpoint_ip: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) + _setter("endpoint_service_id", endpoint_service_id) + _setter("subnet_id", subnet_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) if private_endpoint_ip is not None: - pulumi.set(__self__, "private_endpoint_ip", private_endpoint_ip) + _setter("private_endpoint_ip", private_endpoint_ip) @property @pulumi.getter(name="compartmentId") @@ -217,44 +242,89 @@ def __init__(__self__, *, :param pulumi.Input[str] time_updated: The time the Database Tools private endpoint was updated. An RFC3339 formatted datetime string :param pulumi.Input[str] vcn_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN that the private endpoint belongs to. """ + _DatabaseToolsPrivateEndpointState._configure( + lambda key, value: pulumi.set(__self__, key, value), + additional_fqdns=additional_fqdns, + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + endpoint_fqdn=endpoint_fqdn, + endpoint_service_id=endpoint_service_id, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + nsg_ids=nsg_ids, + private_endpoint_ip=private_endpoint_ip, + private_endpoint_vnic_id=private_endpoint_vnic_id, + reverse_connection_configurations=reverse_connection_configurations, + state=state, + subnet_id=subnet_id, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + vcn_id=vcn_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + additional_fqdns: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + endpoint_fqdn: Optional[pulumi.Input[str]] = None, + endpoint_service_id: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + private_endpoint_ip: Optional[pulumi.Input[str]] = None, + private_endpoint_vnic_id: Optional[pulumi.Input[str]] = None, + reverse_connection_configurations: Optional[pulumi.Input[Sequence[pulumi.Input['DatabaseToolsPrivateEndpointReverseConnectionConfigurationArgs']]]] = None, + state: Optional[pulumi.Input[str]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + vcn_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if additional_fqdns is not None: - pulumi.set(__self__, "additional_fqdns", additional_fqdns) + _setter("additional_fqdns", additional_fqdns) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if endpoint_fqdn is not None: - pulumi.set(__self__, "endpoint_fqdn", endpoint_fqdn) + _setter("endpoint_fqdn", endpoint_fqdn) if endpoint_service_id is not None: - pulumi.set(__self__, "endpoint_service_id", endpoint_service_id) + _setter("endpoint_service_id", endpoint_service_id) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) if private_endpoint_ip is not None: - pulumi.set(__self__, "private_endpoint_ip", private_endpoint_ip) + _setter("private_endpoint_ip", private_endpoint_ip) if private_endpoint_vnic_id is not None: - pulumi.set(__self__, "private_endpoint_vnic_id", private_endpoint_vnic_id) + _setter("private_endpoint_vnic_id", private_endpoint_vnic_id) if reverse_connection_configurations is not None: - pulumi.set(__self__, "reverse_connection_configurations", reverse_connection_configurations) + _setter("reverse_connection_configurations", reverse_connection_configurations) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if vcn_id is not None: - pulumi.set(__self__, "vcn_id", vcn_id) + _setter("vcn_id", vcn_id) @property @pulumi.getter(name="additionalFqdns") @@ -606,6 +676,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DatabaseToolsPrivateEndpointArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/databasetools/get_database_tools_connection.py b/sdk/python/pulumi_oci/databasetools/get_database_tools_connection.py index d7f62bd8dc..d16eaa0476 100644 --- a/sdk/python/pulumi_oci/databasetools/get_database_tools_connection.py +++ b/sdk/python/pulumi_oci/databasetools/get_database_tools_connection.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/databasetools/get_database_tools_connections.py b/sdk/python/pulumi_oci/databasetools/get_database_tools_connections.py index 2791c708f0..bc128f0b33 100644 --- a/sdk/python/pulumi_oci/databasetools/get_database_tools_connections.py +++ b/sdk/python/pulumi_oci/databasetools/get_database_tools_connections.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/databasetools/get_database_tools_endpoint_service.py b/sdk/python/pulumi_oci/databasetools/get_database_tools_endpoint_service.py index a937c82f9d..97717e870b 100644 --- a/sdk/python/pulumi_oci/databasetools/get_database_tools_endpoint_service.py +++ b/sdk/python/pulumi_oci/databasetools/get_database_tools_endpoint_service.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/databasetools/get_database_tools_endpoint_services.py b/sdk/python/pulumi_oci/databasetools/get_database_tools_endpoint_services.py index 8a296e852b..892fd5d756 100644 --- a/sdk/python/pulumi_oci/databasetools/get_database_tools_endpoint_services.py +++ b/sdk/python/pulumi_oci/databasetools/get_database_tools_endpoint_services.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/databasetools/get_database_tools_private_endpoint.py b/sdk/python/pulumi_oci/databasetools/get_database_tools_private_endpoint.py index a23f73aae9..e14c790581 100644 --- a/sdk/python/pulumi_oci/databasetools/get_database_tools_private_endpoint.py +++ b/sdk/python/pulumi_oci/databasetools/get_database_tools_private_endpoint.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/databasetools/get_database_tools_private_endpoints.py b/sdk/python/pulumi_oci/databasetools/get_database_tools_private_endpoints.py index 1da32c8196..743227ab9d 100644 --- a/sdk/python/pulumi_oci/databasetools/get_database_tools_private_endpoints.py +++ b/sdk/python/pulumi_oci/databasetools/get_database_tools_private_endpoints.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/databasetools/outputs.py b/sdk/python/pulumi_oci/databasetools/outputs.py index 900c1e37c4..15b5ade155 100644 --- a/sdk/python/pulumi_oci/databasetools/outputs.py +++ b/sdk/python/pulumi_oci/databasetools/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -75,12 +75,25 @@ def __init__(__self__, *, :param 'DatabaseToolsConnectionKeyStoreKeyStorePasswordArgs' key_store_password: (Updatable) The key store password. :param str key_store_type: (Updatable) The key store type. """ + DatabaseToolsConnectionKeyStore._configure( + lambda key, value: pulumi.set(__self__, key, value), + key_store_content=key_store_content, + key_store_password=key_store_password, + key_store_type=key_store_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key_store_content: Optional['outputs.DatabaseToolsConnectionKeyStoreKeyStoreContent'] = None, + key_store_password: Optional['outputs.DatabaseToolsConnectionKeyStoreKeyStorePassword'] = None, + key_store_type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if key_store_content is not None: - pulumi.set(__self__, "key_store_content", key_store_content) + _setter("key_store_content", key_store_content) if key_store_password is not None: - pulumi.set(__self__, "key_store_password", key_store_password) + _setter("key_store_password", key_store_password) if key_store_type is not None: - pulumi.set(__self__, "key_store_type", key_store_type) + _setter("key_store_type", key_store_type) @property @pulumi.getter(name="keyStoreContent") @@ -139,9 +152,20 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param str secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. """ - pulumi.set(__self__, "value_type", value_type) + DatabaseToolsConnectionKeyStoreKeyStoreContent._configure( + lambda key, value: pulumi.set(__self__, key, value), + value_type=value_type, + secret_id=secret_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value_type: str, + secret_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value_type", value_type) if secret_id is not None: - pulumi.set(__self__, "secret_id", secret_id) + _setter("secret_id", secret_id) @property @pulumi.getter(name="valueType") @@ -196,9 +220,20 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param str secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. """ - pulumi.set(__self__, "value_type", value_type) + DatabaseToolsConnectionKeyStoreKeyStorePassword._configure( + lambda key, value: pulumi.set(__self__, key, value), + value_type=value_type, + secret_id=secret_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value_type: str, + secret_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value_type", value_type) if secret_id is not None: - pulumi.set(__self__, "secret_id", secret_id) + _setter("secret_id", secret_id) @property @pulumi.getter(name="valueType") @@ -247,8 +282,19 @@ def __init__(__self__, *, :param str entity_type: (Updatable) The resource entity type. :param str identifier: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related resource. """ - pulumi.set(__self__, "entity_type", entity_type) - pulumi.set(__self__, "identifier", identifier) + DatabaseToolsConnectionRelatedResource._configure( + lambda key, value: pulumi.set(__self__, key, value), + entity_type=entity_type, + identifier=identifier, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + entity_type: str, + identifier: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("entity_type", entity_type) + _setter("identifier", identifier) @property @pulumi.getter(name="entityType") @@ -299,8 +345,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "secret_id", secret_id) - pulumi.set(__self__, "value_type", value_type) + DatabaseToolsConnectionUserPassword._configure( + lambda key, value: pulumi.set(__self__, key, value), + secret_id=secret_id, + value_type=value_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + secret_id: str, + value_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("secret_id", secret_id) + _setter("value_type", value_type) @property @pulumi.getter(name="secretId") @@ -347,8 +404,17 @@ def __init__(__self__, *, """ :param Sequence['DatabaseToolsPrivateEndpointReverseConnectionConfigurationReverseConnectionsSourceIpArgs'] reverse_connections_source_ips: A list of IP addresses in the customer VCN to be used as the source IPs for reverse connection packets traveling from the service's VCN to the customer's VCN. """ + DatabaseToolsPrivateEndpointReverseConnectionConfiguration._configure( + lambda key, value: pulumi.set(__self__, key, value), + reverse_connections_source_ips=reverse_connections_source_ips, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + reverse_connections_source_ips: Optional[Sequence['outputs.DatabaseToolsPrivateEndpointReverseConnectionConfigurationReverseConnectionsSourceIp']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if reverse_connections_source_ips is not None: - pulumi.set(__self__, "reverse_connections_source_ips", reverse_connections_source_ips) + _setter("reverse_connections_source_ips", reverse_connections_source_ips) @property @pulumi.getter(name="reverseConnectionsSourceIps") @@ -383,8 +449,17 @@ def __init__(__self__, *, """ :param str source_ip: The IP address in the customer's VCN to be used as the source IP for reverse connection packets traveling from the customer's VCN to the service's VCN. """ + DatabaseToolsPrivateEndpointReverseConnectionConfigurationReverseConnectionsSourceIp._configure( + lambda key, value: pulumi.set(__self__, key, value), + source_ip=source_ip, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + source_ip: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if source_ip is not None: - pulumi.set(__self__, "source_ip", source_ip) + _setter("source_ip", source_ip) @property @pulumi.getter(name="sourceIp") @@ -406,9 +481,22 @@ def __init__(__self__, *, :param Sequence['GetDatabaseToolsConnectionKeyStoreKeyStorePasswordArgs'] key_store_passwords: The key store password. :param str key_store_type: The key store type. """ - pulumi.set(__self__, "key_store_contents", key_store_contents) - pulumi.set(__self__, "key_store_passwords", key_store_passwords) - pulumi.set(__self__, "key_store_type", key_store_type) + GetDatabaseToolsConnectionKeyStoreResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key_store_contents=key_store_contents, + key_store_passwords=key_store_passwords, + key_store_type=key_store_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key_store_contents: Sequence['outputs.GetDatabaseToolsConnectionKeyStoreKeyStoreContentResult'], + key_store_passwords: Sequence['outputs.GetDatabaseToolsConnectionKeyStoreKeyStorePasswordResult'], + key_store_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key_store_contents", key_store_contents) + _setter("key_store_passwords", key_store_passwords) + _setter("key_store_type", key_store_type) @property @pulumi.getter(name="keyStoreContents") @@ -444,8 +532,19 @@ def __init__(__self__, *, :param str secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. :param str value_type: The value type of the user password. """ - pulumi.set(__self__, "secret_id", secret_id) - pulumi.set(__self__, "value_type", value_type) + GetDatabaseToolsConnectionKeyStoreKeyStoreContentResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + secret_id=secret_id, + value_type=value_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + secret_id: str, + value_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("secret_id", secret_id) + _setter("value_type", value_type) @property @pulumi.getter(name="secretId") @@ -473,8 +572,19 @@ def __init__(__self__, *, :param str secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. :param str value_type: The value type of the user password. """ - pulumi.set(__self__, "secret_id", secret_id) - pulumi.set(__self__, "value_type", value_type) + GetDatabaseToolsConnectionKeyStoreKeyStorePasswordResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + secret_id=secret_id, + value_type=value_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + secret_id: str, + value_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("secret_id", secret_id) + _setter("value_type", value_type) @property @pulumi.getter(name="secretId") @@ -502,8 +612,19 @@ def __init__(__self__, *, :param str entity_type: The resource entity type. :param str identifier: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related resource. """ - pulumi.set(__self__, "entity_type", entity_type) - pulumi.set(__self__, "identifier", identifier) + GetDatabaseToolsConnectionRelatedResourceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + entity_type=entity_type, + identifier=identifier, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + entity_type: str, + identifier: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("entity_type", entity_type) + _setter("identifier", identifier) @property @pulumi.getter(name="entityType") @@ -531,8 +652,19 @@ def __init__(__self__, *, :param str secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. :param str value_type: The value type of the user password. """ - pulumi.set(__self__, "secret_id", secret_id) - pulumi.set(__self__, "value_type", value_type) + GetDatabaseToolsConnectionUserPasswordResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + secret_id=secret_id, + value_type=value_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + secret_id: str, + value_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("secret_id", secret_id) + _setter("value_type", value_type) @property @pulumi.getter(name="secretId") @@ -555,7 +687,16 @@ def value_type(self) -> str: class GetDatabaseToolsConnectionsDatabaseToolsConnectionCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetDatabaseToolsConnectionsDatabaseToolsConnectionCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetDatabaseToolsConnectionsDatabaseToolsConnectionCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDatabaseToolsConnectionsDatabaseToolsConnectionCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -604,24 +745,67 @@ def __init__(__self__, *, :param str user_name: The database user name. :param Sequence['GetDatabaseToolsConnectionsDatabaseToolsConnectionCollectionItemUserPasswordArgs'] user_passwords: The user password. """ - pulumi.set(__self__, "advanced_properties", advanced_properties) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "connection_string", connection_string) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "key_stores", key_stores) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "private_endpoint_id", private_endpoint_id) - pulumi.set(__self__, "related_resources", related_resources) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "user_name", user_name) - pulumi.set(__self__, "user_passwords", user_passwords) + GetDatabaseToolsConnectionsDatabaseToolsConnectionCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + advanced_properties=advanced_properties, + compartment_id=compartment_id, + connection_string=connection_string, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + key_stores=key_stores, + lifecycle_details=lifecycle_details, + private_endpoint_id=private_endpoint_id, + related_resources=related_resources, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + type=type, + user_name=user_name, + user_passwords=user_passwords, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + advanced_properties: Mapping[str, Any], + compartment_id: str, + connection_string: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + key_stores: Sequence['outputs.GetDatabaseToolsConnectionsDatabaseToolsConnectionCollectionItemKeyStoreResult'], + lifecycle_details: str, + private_endpoint_id: str, + related_resources: Sequence['outputs.GetDatabaseToolsConnectionsDatabaseToolsConnectionCollectionItemRelatedResourceResult'], + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + type: str, + user_name: str, + user_passwords: Sequence['outputs.GetDatabaseToolsConnectionsDatabaseToolsConnectionCollectionItemUserPasswordResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("advanced_properties", advanced_properties) + _setter("compartment_id", compartment_id) + _setter("connection_string", connection_string) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("key_stores", key_stores) + _setter("lifecycle_details", lifecycle_details) + _setter("private_endpoint_id", private_endpoint_id) + _setter("related_resources", related_resources) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("type", type) + _setter("user_name", user_name) + _setter("user_passwords", user_passwords) @property @pulumi.getter(name="advancedProperties") @@ -779,9 +963,22 @@ def __init__(__self__, *, :param Sequence['GetDatabaseToolsConnectionsDatabaseToolsConnectionCollectionItemKeyStoreKeyStorePasswordArgs'] key_store_passwords: The key store password. :param str key_store_type: The key store type. """ - pulumi.set(__self__, "key_store_contents", key_store_contents) - pulumi.set(__self__, "key_store_passwords", key_store_passwords) - pulumi.set(__self__, "key_store_type", key_store_type) + GetDatabaseToolsConnectionsDatabaseToolsConnectionCollectionItemKeyStoreResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key_store_contents=key_store_contents, + key_store_passwords=key_store_passwords, + key_store_type=key_store_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key_store_contents: Sequence['outputs.GetDatabaseToolsConnectionsDatabaseToolsConnectionCollectionItemKeyStoreKeyStoreContentResult'], + key_store_passwords: Sequence['outputs.GetDatabaseToolsConnectionsDatabaseToolsConnectionCollectionItemKeyStoreKeyStorePasswordResult'], + key_store_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key_store_contents", key_store_contents) + _setter("key_store_passwords", key_store_passwords) + _setter("key_store_type", key_store_type) @property @pulumi.getter(name="keyStoreContents") @@ -817,8 +1014,19 @@ def __init__(__self__, *, :param str secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. :param str value_type: The value type of the user password. """ - pulumi.set(__self__, "secret_id", secret_id) - pulumi.set(__self__, "value_type", value_type) + GetDatabaseToolsConnectionsDatabaseToolsConnectionCollectionItemKeyStoreKeyStoreContentResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + secret_id=secret_id, + value_type=value_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + secret_id: str, + value_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("secret_id", secret_id) + _setter("value_type", value_type) @property @pulumi.getter(name="secretId") @@ -846,8 +1054,19 @@ def __init__(__self__, *, :param str secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. :param str value_type: The value type of the user password. """ - pulumi.set(__self__, "secret_id", secret_id) - pulumi.set(__self__, "value_type", value_type) + GetDatabaseToolsConnectionsDatabaseToolsConnectionCollectionItemKeyStoreKeyStorePasswordResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + secret_id=secret_id, + value_type=value_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + secret_id: str, + value_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("secret_id", secret_id) + _setter("value_type", value_type) @property @pulumi.getter(name="secretId") @@ -875,8 +1094,19 @@ def __init__(__self__, *, :param str entity_type: The resource entity type. :param str identifier: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the related resource. """ - pulumi.set(__self__, "entity_type", entity_type) - pulumi.set(__self__, "identifier", identifier) + GetDatabaseToolsConnectionsDatabaseToolsConnectionCollectionItemRelatedResourceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + entity_type=entity_type, + identifier=identifier, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + entity_type: str, + identifier: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("entity_type", entity_type) + _setter("identifier", identifier) @property @pulumi.getter(name="entityType") @@ -904,8 +1134,19 @@ def __init__(__self__, *, :param str secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the secret containing the user password. :param str value_type: The value type of the user password. """ - pulumi.set(__self__, "secret_id", secret_id) - pulumi.set(__self__, "value_type", value_type) + GetDatabaseToolsConnectionsDatabaseToolsConnectionCollectionItemUserPasswordResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + secret_id=secret_id, + value_type=value_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + secret_id: str, + value_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("secret_id", secret_id) + _setter("value_type", value_type) @property @pulumi.getter(name="secretId") @@ -930,10 +1171,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDatabaseToolsConnectionsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -955,7 +1209,16 @@ def regex(self) -> Optional[bool]: class GetDatabaseToolsEndpointServicesDatabaseToolsEndpointServiceCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetDatabaseToolsEndpointServicesDatabaseToolsEndpointServiceCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetDatabaseToolsEndpointServicesDatabaseToolsEndpointServiceCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDatabaseToolsEndpointServicesDatabaseToolsEndpointServiceCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -992,18 +1255,49 @@ def __init__(__self__, *, :param str time_created: The time the Database Tools Endpoint Service was created. An RFC3339 formatted datetime string :param str time_updated: The time the Database Tools Endpoint Service was updated. An RFC3339 formatted datetime string """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetDatabaseToolsEndpointServicesDatabaseToolsEndpointServiceCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + name=name, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + name: str, + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("name", name) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -1111,10 +1405,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the entire specified name. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDatabaseToolsEndpointServicesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1142,7 +1449,16 @@ def __init__(__self__, *, """ :param Sequence['GetDatabaseToolsPrivateEndpointReverseConnectionConfigurationReverseConnectionsSourceIpArgs'] reverse_connections_source_ips: A list of IP addresses in the customer VCN to be used as the source IPs for reverse connection packets traveling from the service's VCN to the customer's VCN. """ - pulumi.set(__self__, "reverse_connections_source_ips", reverse_connections_source_ips) + GetDatabaseToolsPrivateEndpointReverseConnectionConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + reverse_connections_source_ips=reverse_connections_source_ips, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + reverse_connections_source_ips: Sequence['outputs.GetDatabaseToolsPrivateEndpointReverseConnectionConfigurationReverseConnectionsSourceIpResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("reverse_connections_source_ips", reverse_connections_source_ips) @property @pulumi.getter(name="reverseConnectionsSourceIps") @@ -1160,7 +1476,16 @@ def __init__(__self__, *, """ :param str source_ip: The IP address in the customer's VCN to be used as the source IP for reverse connection packets traveling from the customer's VCN to the service's VCN. """ - pulumi.set(__self__, "source_ip", source_ip) + GetDatabaseToolsPrivateEndpointReverseConnectionConfigurationReverseConnectionsSourceIpResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + source_ip=source_ip, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + source_ip: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("source_ip", source_ip) @property @pulumi.getter(name="sourceIp") @@ -1175,7 +1500,16 @@ def source_ip(self) -> str: class GetDatabaseToolsPrivateEndpointsDatabaseToolsPrivateEndpointCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetDatabaseToolsPrivateEndpointsDatabaseToolsPrivateEndpointCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetDatabaseToolsPrivateEndpointsDatabaseToolsPrivateEndpointCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDatabaseToolsPrivateEndpointsDatabaseToolsPrivateEndpointCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1228,26 +1562,73 @@ def __init__(__self__, *, :param str time_updated: The time the Database Tools private endpoint was updated. An RFC3339 formatted datetime string :param str vcn_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN that the private endpoint belongs to. """ - pulumi.set(__self__, "additional_fqdns", additional_fqdns) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "endpoint_fqdn", endpoint_fqdn) - pulumi.set(__self__, "endpoint_service_id", endpoint_service_id) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "nsg_ids", nsg_ids) - pulumi.set(__self__, "private_endpoint_ip", private_endpoint_ip) - pulumi.set(__self__, "private_endpoint_vnic_id", private_endpoint_vnic_id) - pulumi.set(__self__, "reverse_connection_configurations", reverse_connection_configurations) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "vcn_id", vcn_id) + GetDatabaseToolsPrivateEndpointsDatabaseToolsPrivateEndpointCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + additional_fqdns=additional_fqdns, + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + endpoint_fqdn=endpoint_fqdn, + endpoint_service_id=endpoint_service_id, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + nsg_ids=nsg_ids, + private_endpoint_ip=private_endpoint_ip, + private_endpoint_vnic_id=private_endpoint_vnic_id, + reverse_connection_configurations=reverse_connection_configurations, + state=state, + subnet_id=subnet_id, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + vcn_id=vcn_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + additional_fqdns: Sequence[str], + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + endpoint_fqdn: str, + endpoint_service_id: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + nsg_ids: Sequence[str], + private_endpoint_ip: str, + private_endpoint_vnic_id: str, + reverse_connection_configurations: Sequence['outputs.GetDatabaseToolsPrivateEndpointsDatabaseToolsPrivateEndpointCollectionItemReverseConnectionConfigurationResult'], + state: str, + subnet_id: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + vcn_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("additional_fqdns", additional_fqdns) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("endpoint_fqdn", endpoint_fqdn) + _setter("endpoint_service_id", endpoint_service_id) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("nsg_ids", nsg_ids) + _setter("private_endpoint_ip", private_endpoint_ip) + _setter("private_endpoint_vnic_id", private_endpoint_vnic_id) + _setter("reverse_connection_configurations", reverse_connection_configurations) + _setter("state", state) + _setter("subnet_id", subnet_id) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("vcn_id", vcn_id) @property @pulumi.getter(name="additionalFqdns") @@ -1417,7 +1798,16 @@ def __init__(__self__, *, """ :param Sequence['GetDatabaseToolsPrivateEndpointsDatabaseToolsPrivateEndpointCollectionItemReverseConnectionConfigurationReverseConnectionsSourceIpArgs'] reverse_connections_source_ips: A list of IP addresses in the customer VCN to be used as the source IPs for reverse connection packets traveling from the service's VCN to the customer's VCN. """ - pulumi.set(__self__, "reverse_connections_source_ips", reverse_connections_source_ips) + GetDatabaseToolsPrivateEndpointsDatabaseToolsPrivateEndpointCollectionItemReverseConnectionConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + reverse_connections_source_ips=reverse_connections_source_ips, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + reverse_connections_source_ips: Sequence['outputs.GetDatabaseToolsPrivateEndpointsDatabaseToolsPrivateEndpointCollectionItemReverseConnectionConfigurationReverseConnectionsSourceIpResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("reverse_connections_source_ips", reverse_connections_source_ips) @property @pulumi.getter(name="reverseConnectionsSourceIps") @@ -1435,7 +1825,16 @@ def __init__(__self__, *, """ :param str source_ip: The IP address in the customer's VCN to be used as the source IP for reverse connection packets traveling from the customer's VCN to the service's VCN. """ - pulumi.set(__self__, "source_ip", source_ip) + GetDatabaseToolsPrivateEndpointsDatabaseToolsPrivateEndpointCollectionItemReverseConnectionConfigurationReverseConnectionsSourceIpResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + source_ip=source_ip, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + source_ip: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("source_ip", source_ip) @property @pulumi.getter(name="sourceIp") @@ -1452,10 +1851,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDatabaseToolsPrivateEndpointsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/datacatalog/_inputs.py b/sdk/python/pulumi_oci/datacatalog/_inputs.py index 0dfe36534b..0932926dc7 100644 --- a/sdk/python/pulumi_oci/datacatalog/_inputs.py +++ b/sdk/python/pulumi_oci/datacatalog/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -24,10 +24,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetCatalogPrivateEndpointsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -66,10 +79,23 @@ def __init__(__self__, *, """ :param str name: Immutable resource name. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetCatalogTypesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -108,10 +134,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetCatalogsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -147,10 +186,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetConnectionsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -186,10 +238,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDataAssetsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -225,10 +290,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetMetastoresFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/datacatalog/catalog.py b/sdk/python/pulumi_oci/datacatalog/catalog.py index 4889a6d1c8..06ec37212d 100644 --- a/sdk/python/pulumi_oci/datacatalog/catalog.py +++ b/sdk/python/pulumi_oci/datacatalog/catalog.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['CatalogArgs', 'Catalog'] @@ -31,15 +31,32 @@ def __init__(__self__, *, :param pulumi.Input[str] display_name: (Updatable) Data catalog identifier. :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` """ - pulumi.set(__self__, "compartment_id", compartment_id) + CatalogArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + attached_catalog_private_endpoints=attached_catalog_private_endpoints, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + attached_catalog_private_endpoints: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) if attached_catalog_private_endpoints is not None: - pulumi.set(__self__, "attached_catalog_private_endpoints", attached_catalog_private_endpoints) + _setter("attached_catalog_private_endpoints", attached_catalog_private_endpoints) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="compartmentId") @@ -140,30 +157,61 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The time the data catalog was created. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. :param pulumi.Input[str] time_updated: The time the data catalog was updated. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. """ + _CatalogState._configure( + lambda key, value: pulumi.set(__self__, key, value), + attached_catalog_private_endpoints=attached_catalog_private_endpoints, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + number_of_objects=number_of_objects, + service_api_url=service_api_url, + service_console_url=service_console_url, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attached_catalog_private_endpoints: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + number_of_objects: Optional[pulumi.Input[int]] = None, + service_api_url: Optional[pulumi.Input[str]] = None, + service_console_url: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if attached_catalog_private_endpoints is not None: - pulumi.set(__self__, "attached_catalog_private_endpoints", attached_catalog_private_endpoints) + _setter("attached_catalog_private_endpoints", attached_catalog_private_endpoints) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if number_of_objects is not None: - pulumi.set(__self__, "number_of_objects", number_of_objects) + _setter("number_of_objects", number_of_objects) if service_api_url is not None: - pulumi.set(__self__, "service_api_url", service_api_url) + _setter("service_api_url", service_api_url) if service_console_url is not None: - pulumi.set(__self__, "service_console_url", service_console_url) + _setter("service_console_url", service_console_url) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="attachedCatalogPrivateEndpoints") @@ -415,6 +463,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + CatalogArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/datacatalog/catalog_private_endpoint.py b/sdk/python/pulumi_oci/datacatalog/catalog_private_endpoint.py index a10f6ffe5b..df51674c5b 100644 --- a/sdk/python/pulumi_oci/datacatalog/catalog_private_endpoint.py +++ b/sdk/python/pulumi_oci/datacatalog/catalog_private_endpoint.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['CatalogPrivateEndpointArgs', 'CatalogPrivateEndpoint'] @@ -33,15 +33,34 @@ def __init__(__self__, *, :param pulumi.Input[str] display_name: (Updatable) Display name of the private endpoint resource being created. :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "dns_zones", dns_zones) - pulumi.set(__self__, "subnet_id", subnet_id) + CatalogPrivateEndpointArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + dns_zones=dns_zones, + subnet_id=subnet_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + dns_zones: pulumi.Input[Sequence[pulumi.Input[str]]], + subnet_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("dns_zones", dns_zones) + _setter("subnet_id", subnet_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="compartmentId") @@ -152,28 +171,57 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The time the private endpoint was created. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. :param pulumi.Input[str] time_updated: The time the private endpoint was updated. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. """ + _CatalogPrivateEndpointState._configure( + lambda key, value: pulumi.set(__self__, key, value), + attached_catalogs=attached_catalogs, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + dns_zones=dns_zones, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + state=state, + subnet_id=subnet_id, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attached_catalogs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + dns_zones: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if attached_catalogs is not None: - pulumi.set(__self__, "attached_catalogs", attached_catalogs) + _setter("attached_catalogs", attached_catalogs) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if dns_zones is not None: - pulumi.set(__self__, "dns_zones", dns_zones) + _setter("dns_zones", dns_zones) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="attachedCatalogs") @@ -417,6 +465,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + CatalogPrivateEndpointArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/datacatalog/connection.py b/sdk/python/pulumi_oci/datacatalog/connection.py index ecd43ec7a0..02d17f5e9c 100644 --- a/sdk/python/pulumi_oci/datacatalog/connection.py +++ b/sdk/python/pulumi_oci/datacatalog/connection.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['ConnectionArgs', 'Connection'] @@ -27,7 +27,6 @@ def __init__(__self__, *, :param pulumi.Input[str] catalog_id: Unique catalog identifier. :param pulumi.Input[str] data_asset_key: Unique data asset key. :param pulumi.Input[str] display_name: (Updatable) A user-friendly display name. Does not have to be unique, and it's changeable. Avoid entering confidential information. - :param pulumi.Input[Mapping[str, Any]] properties: A map of maps that contains the properties which are specific to the connection type. Each connection type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most connections have required properties within the "default" category. Example: `{"properties": { "default": { "username": "user1"}}}` :param pulumi.Input[str] type_key: The key of the object type. Type key's can be found via the '/types' endpoint. @@ -37,17 +36,40 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] enc_properties: (Updatable) A map of maps that contains the encrypted values for sensitive properties which are specific to the connection type. Each connection type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most connections have required properties within the "default" category. To determine the set of optional and required properties for a connection type, a query can be done on '/types?type=connection' that returns a collection of all connection types. The appropriate connection type, which will include definitions of all of it's properties, can be identified from this collection. Example: `{"encProperties": { "default": { "password": "example-password"}}}` :param pulumi.Input[bool] is_default: (Updatable) Indicates whether this connection is the default connection. The first connection of a data asset defaults to being the default, subsequent connections default to not being the default. If a default connection already exists, then trying to create a connection as the default will fail. In this case the default connection would need to be updated not to be the default and then the new connection can then be created as the default. """ - pulumi.set(__self__, "catalog_id", catalog_id) - pulumi.set(__self__, "data_asset_key", data_asset_key) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "properties", properties) - pulumi.set(__self__, "type_key", type_key) + ConnectionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + catalog_id=catalog_id, + data_asset_key=data_asset_key, + display_name=display_name, + properties=properties, + type_key=type_key, + description=description, + enc_properties=enc_properties, + is_default=is_default, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + catalog_id: pulumi.Input[str], + data_asset_key: pulumi.Input[str], + display_name: pulumi.Input[str], + properties: pulumi.Input[Mapping[str, Any]], + type_key: pulumi.Input[str], + description: Optional[pulumi.Input[str]] = None, + enc_properties: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_default: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("catalog_id", catalog_id) + _setter("data_asset_key", data_asset_key) + _setter("display_name", display_name) + _setter("properties", properties) + _setter("type_key", type_key) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if enc_properties is not None: - pulumi.set(__self__, "enc_properties", enc_properties) + _setter("enc_properties", enc_properties) if is_default is not None: - pulumi.set(__self__, "is_default", is_default) + _setter("is_default", is_default) @property @pulumi.getter(name="catalogId") @@ -88,9 +110,6 @@ def display_name(self, value: pulumi.Input[str]): @property @pulumi.getter def properties(self) -> pulumi.Input[Mapping[str, Any]]: - """ - A map of maps that contains the properties which are specific to the connection type. Each connection type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most connections have required properties within the "default" category. Example: `{"properties": { "default": { "username": "user1"}}}` - """ return pulumi.get(self, "properties") @properties.setter @@ -181,7 +200,6 @@ def __init__(__self__, *, :param pulumi.Input[str] external_key: Unique external key of this object from the source system. :param pulumi.Input[bool] is_default: (Updatable) Indicates whether this connection is the default connection. The first connection of a data asset defaults to being the default, subsequent connections default to not being the default. If a default connection already exists, then trying to create a connection as the default will fail. In this case the default connection would need to be updated not to be the default and then the new connection can then be created as the default. :param pulumi.Input[str] key: Unique connection key that is immutable. - :param pulumi.Input[Mapping[str, Any]] properties: A map of maps that contains the properties which are specific to the connection type. Each connection type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most connections have required properties within the "default" category. Example: `{"properties": { "default": { "username": "user1"}}}` :param pulumi.Input[str] state: The current state of the connection. :param pulumi.Input[str] time_created: The date and time the connection was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2019-03-25T21:10:29.600Z` :param pulumi.Input[str] time_status_updated: Time that the connections status was last updated. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. @@ -194,40 +212,81 @@ def __init__(__self__, *, :param pulumi.Input[str] updated_by_id: OCID of the user who modified the connection. :param pulumi.Input[str] uri: URI to the connection instance in the API. """ + _ConnectionState._configure( + lambda key, value: pulumi.set(__self__, key, value), + catalog_id=catalog_id, + created_by_id=created_by_id, + data_asset_key=data_asset_key, + description=description, + display_name=display_name, + enc_properties=enc_properties, + external_key=external_key, + is_default=is_default, + key=key, + properties=properties, + state=state, + time_created=time_created, + time_status_updated=time_status_updated, + time_updated=time_updated, + type_key=type_key, + updated_by_id=updated_by_id, + uri=uri, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + catalog_id: Optional[pulumi.Input[str]] = None, + created_by_id: Optional[pulumi.Input[str]] = None, + data_asset_key: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + enc_properties: Optional[pulumi.Input[Mapping[str, Any]]] = None, + external_key: Optional[pulumi.Input[str]] = None, + is_default: Optional[pulumi.Input[bool]] = None, + key: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input[Mapping[str, Any]]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_status_updated: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + type_key: Optional[pulumi.Input[str]] = None, + updated_by_id: Optional[pulumi.Input[str]] = None, + uri: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if catalog_id is not None: - pulumi.set(__self__, "catalog_id", catalog_id) + _setter("catalog_id", catalog_id) if created_by_id is not None: - pulumi.set(__self__, "created_by_id", created_by_id) + _setter("created_by_id", created_by_id) if data_asset_key is not None: - pulumi.set(__self__, "data_asset_key", data_asset_key) + _setter("data_asset_key", data_asset_key) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if enc_properties is not None: - pulumi.set(__self__, "enc_properties", enc_properties) + _setter("enc_properties", enc_properties) if external_key is not None: - pulumi.set(__self__, "external_key", external_key) + _setter("external_key", external_key) if is_default is not None: - pulumi.set(__self__, "is_default", is_default) + _setter("is_default", is_default) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if properties is not None: - pulumi.set(__self__, "properties", properties) + _setter("properties", properties) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_status_updated is not None: - pulumi.set(__self__, "time_status_updated", time_status_updated) + _setter("time_status_updated", time_status_updated) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if type_key is not None: - pulumi.set(__self__, "type_key", type_key) + _setter("type_key", type_key) if updated_by_id is not None: - pulumi.set(__self__, "updated_by_id", updated_by_id) + _setter("updated_by_id", updated_by_id) if uri is not None: - pulumi.set(__self__, "uri", uri) + _setter("uri", uri) @property @pulumi.getter(name="catalogId") @@ -340,9 +399,6 @@ def key(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter def properties(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: - """ - A map of maps that contains the properties which are specific to the connection type. Each connection type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most connections have required properties within the "default" category. Example: `{"properties": { "default": { "username": "user1"}}}` - """ return pulumi.get(self, "properties") @properties.setter @@ -490,7 +546,6 @@ def __init__(__self__, :param pulumi.Input[str] display_name: (Updatable) A user-friendly display name. Does not have to be unique, and it's changeable. Avoid entering confidential information. :param pulumi.Input[Mapping[str, Any]] enc_properties: (Updatable) A map of maps that contains the encrypted values for sensitive properties which are specific to the connection type. Each connection type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most connections have required properties within the "default" category. To determine the set of optional and required properties for a connection type, a query can be done on '/types?type=connection' that returns a collection of all connection types. The appropriate connection type, which will include definitions of all of it's properties, can be identified from this collection. Example: `{"encProperties": { "default": { "password": "example-password"}}}` :param pulumi.Input[bool] is_default: (Updatable) Indicates whether this connection is the default connection. The first connection of a data asset defaults to being the default, subsequent connections default to not being the default. If a default connection already exists, then trying to create a connection as the default will fail. In this case the default connection would need to be updated not to be the default and then the new connection can then be created as the default. - :param pulumi.Input[Mapping[str, Any]] properties: A map of maps that contains the properties which are specific to the connection type. Each connection type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most connections have required properties within the "default" category. Example: `{"properties": { "default": { "username": "user1"}}}` :param pulumi.Input[str] type_key: The key of the object type. Type key's can be found via the '/types' endpoint. @@ -543,6 +598,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ConnectionArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -637,7 +696,6 @@ def get(resource_name: str, :param pulumi.Input[str] external_key: Unique external key of this object from the source system. :param pulumi.Input[bool] is_default: (Updatable) Indicates whether this connection is the default connection. The first connection of a data asset defaults to being the default, subsequent connections default to not being the default. If a default connection already exists, then trying to create a connection as the default will fail. In this case the default connection would need to be updated not to be the default and then the new connection can then be created as the default. :param pulumi.Input[str] key: Unique connection key that is immutable. - :param pulumi.Input[Mapping[str, Any]] properties: A map of maps that contains the properties which are specific to the connection type. Each connection type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most connections have required properties within the "default" category. Example: `{"properties": { "default": { "username": "user1"}}}` :param pulumi.Input[str] state: The current state of the connection. :param pulumi.Input[str] time_created: The date and time the connection was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2019-03-25T21:10:29.600Z` :param pulumi.Input[str] time_status_updated: Time that the connections status was last updated. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. @@ -748,9 +806,6 @@ def key(self) -> pulumi.Output[str]: @property @pulumi.getter def properties(self) -> pulumi.Output[Mapping[str, Any]]: - """ - A map of maps that contains the properties which are specific to the connection type. Each connection type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most connections have required properties within the "default" category. Example: `{"properties": { "default": { "username": "user1"}}}` - """ return pulumi.get(self, "properties") @property diff --git a/sdk/python/pulumi_oci/datacatalog/data_asset.py b/sdk/python/pulumi_oci/datacatalog/data_asset.py index 1399ab4167..1a484ed070 100644 --- a/sdk/python/pulumi_oci/datacatalog/data_asset.py +++ b/sdk/python/pulumi_oci/datacatalog/data_asset.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['DataAssetArgs', 'DataAsset'] @@ -29,15 +29,31 @@ def __init__(__self__, *, ** 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 :param pulumi.Input[str] description: (Updatable) Detailed description of the data asset. - :param pulumi.Input[Mapping[str, Any]] properties: A map of maps that contains the properties which are specific to the asset type. Each data asset type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most data assets have required properties within the "default" category. Example: `{"properties": { "default": { "host": "host1", "port": "1521", "database": "orcl"}}}` """ - pulumi.set(__self__, "catalog_id", catalog_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "type_key", type_key) + DataAssetArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + catalog_id=catalog_id, + display_name=display_name, + type_key=type_key, + description=description, + properties=properties, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + catalog_id: pulumi.Input[str], + display_name: pulumi.Input[str], + type_key: pulumi.Input[str], + description: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("catalog_id", catalog_id) + _setter("display_name", display_name) + _setter("type_key", type_key) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if properties is not None: - pulumi.set(__self__, "properties", properties) + _setter("properties", properties) @property @pulumi.getter(name="catalogId") @@ -94,9 +110,6 @@ def description(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter def properties(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: - """ - A map of maps that contains the properties which are specific to the asset type. Each data asset type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most data assets have required properties within the "default" category. Example: `{"properties": { "default": { "host": "host1", "port": "1521", "database": "orcl"}}}` - """ return pulumi.get(self, "properties") @properties.setter @@ -131,7 +144,6 @@ def __init__(__self__, *, :param pulumi.Input[str] external_key: External URI that can be used to reference the object. Format will differ based on the type of object. :param pulumi.Input[str] key: Unique data asset key that is immutable. :param pulumi.Input[str] lifecycle_details: A message describing the current state in more detail. An object not in ACTIVE state may have functional limitations, see service documentation for details. - :param pulumi.Input[Mapping[str, Any]] properties: A map of maps that contains the properties which are specific to the asset type. Each data asset type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most data assets have required properties within the "default" category. Example: `{"properties": { "default": { "host": "host1", "port": "1521", "database": "orcl"}}}` :param pulumi.Input[str] state: The current state of the data asset. :param pulumi.Input[str] time_created: The date and time the data asset was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2019-03-25T21:10:29.600Z` :param pulumi.Input[str] time_harvested: The last time that a harvest was performed on the data asset. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. @@ -144,36 +156,73 @@ def __init__(__self__, *, :param pulumi.Input[str] updated_by_id: OCID of the user who last modified the data asset. :param pulumi.Input[str] uri: URI to the data asset instance in the API. """ + _DataAssetState._configure( + lambda key, value: pulumi.set(__self__, key, value), + catalog_id=catalog_id, + created_by_id=created_by_id, + description=description, + display_name=display_name, + external_key=external_key, + key=key, + lifecycle_details=lifecycle_details, + properties=properties, + state=state, + time_created=time_created, + time_harvested=time_harvested, + time_updated=time_updated, + type_key=type_key, + updated_by_id=updated_by_id, + uri=uri, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + catalog_id: Optional[pulumi.Input[str]] = None, + created_by_id: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + external_key: Optional[pulumi.Input[str]] = None, + key: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input[Mapping[str, Any]]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_harvested: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + type_key: Optional[pulumi.Input[str]] = None, + updated_by_id: Optional[pulumi.Input[str]] = None, + uri: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if catalog_id is not None: - pulumi.set(__self__, "catalog_id", catalog_id) + _setter("catalog_id", catalog_id) if created_by_id is not None: - pulumi.set(__self__, "created_by_id", created_by_id) + _setter("created_by_id", created_by_id) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if external_key is not None: - pulumi.set(__self__, "external_key", external_key) + _setter("external_key", external_key) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if properties is not None: - pulumi.set(__self__, "properties", properties) + _setter("properties", properties) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_harvested is not None: - pulumi.set(__self__, "time_harvested", time_harvested) + _setter("time_harvested", time_harvested) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if type_key is not None: - pulumi.set(__self__, "type_key", type_key) + _setter("type_key", type_key) if updated_by_id is not None: - pulumi.set(__self__, "updated_by_id", updated_by_id) + _setter("updated_by_id", updated_by_id) if uri is not None: - pulumi.set(__self__, "uri", uri) + _setter("uri", uri) @property @pulumi.getter(name="catalogId") @@ -262,9 +311,6 @@ def lifecycle_details(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter def properties(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: - """ - A map of maps that contains the properties which are specific to the asset type. Each data asset type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most data assets have required properties within the "default" category. Example: `{"properties": { "default": { "host": "host1", "port": "1521", "database": "orcl"}}}` - """ return pulumi.get(self, "properties") @properties.setter @@ -403,7 +449,6 @@ def __init__(__self__, :param pulumi.Input[str] catalog_id: Unique catalog identifier. :param pulumi.Input[str] description: (Updatable) Detailed description of the data asset. :param pulumi.Input[str] display_name: (Updatable) A user-friendly display name. Does not have to be unique, and it's changeable. Avoid entering confidential information. - :param pulumi.Input[Mapping[str, Any]] properties: A map of maps that contains the properties which are specific to the asset type. Each data asset type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most data assets have required properties within the "default" category. Example: `{"properties": { "default": { "host": "host1", "port": "1521", "database": "orcl"}}}` :param pulumi.Input[str] type_key: The key of the data asset type. This can be obtained via the '/types' endpoint. @@ -453,6 +498,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DataAssetArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -532,7 +581,6 @@ def get(resource_name: str, :param pulumi.Input[str] external_key: External URI that can be used to reference the object. Format will differ based on the type of object. :param pulumi.Input[str] key: Unique data asset key that is immutable. :param pulumi.Input[str] lifecycle_details: A message describing the current state in more detail. An object not in ACTIVE state may have functional limitations, see service documentation for details. - :param pulumi.Input[Mapping[str, Any]] properties: A map of maps that contains the properties which are specific to the asset type. Each data asset type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most data assets have required properties within the "default" category. Example: `{"properties": { "default": { "host": "host1", "port": "1521", "database": "orcl"}}}` :param pulumi.Input[str] state: The current state of the data asset. :param pulumi.Input[str] time_created: The date and time the data asset was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2019-03-25T21:10:29.600Z` :param pulumi.Input[str] time_harvested: The last time that a harvest was performed on the data asset. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. @@ -625,9 +673,6 @@ def lifecycle_details(self) -> pulumi.Output[str]: @property @pulumi.getter def properties(self) -> pulumi.Output[Mapping[str, Any]]: - """ - A map of maps that contains the properties which are specific to the asset type. Each data asset type definition defines it's set of required and optional properties. The map keys are category names and the values are maps of property name to property value. Every property is contained inside of a category. Most data assets have required properties within the "default" category. Example: `{"properties": { "default": { "host": "host1", "port": "1521", "database": "orcl"}}}` - """ return pulumi.get(self, "properties") @property diff --git a/sdk/python/pulumi_oci/datacatalog/get_catalog.py b/sdk/python/pulumi_oci/datacatalog/get_catalog.py index ba85a12435..98e1cd3525 100644 --- a/sdk/python/pulumi_oci/datacatalog/get_catalog.py +++ b/sdk/python/pulumi_oci/datacatalog/get_catalog.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/datacatalog/get_catalog_private_endpoint.py b/sdk/python/pulumi_oci/datacatalog/get_catalog_private_endpoint.py index a038cedbcf..b7b406e49b 100644 --- a/sdk/python/pulumi_oci/datacatalog/get_catalog_private_endpoint.py +++ b/sdk/python/pulumi_oci/datacatalog/get_catalog_private_endpoint.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/datacatalog/get_catalog_private_endpoints.py b/sdk/python/pulumi_oci/datacatalog/get_catalog_private_endpoints.py index 955be4d1ec..426bf2de1e 100644 --- a/sdk/python/pulumi_oci/datacatalog/get_catalog_private_endpoints.py +++ b/sdk/python/pulumi_oci/datacatalog/get_catalog_private_endpoints.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datacatalog/get_catalog_type.py b/sdk/python/pulumi_oci/datacatalog/get_catalog_type.py index 1811874eab..47292d3c39 100644 --- a/sdk/python/pulumi_oci/datacatalog/get_catalog_type.py +++ b/sdk/python/pulumi_oci/datacatalog/get_catalog_type.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/datacatalog/get_catalog_types.py b/sdk/python/pulumi_oci/datacatalog/get_catalog_types.py index 3e9adff361..0262079f16 100644 --- a/sdk/python/pulumi_oci/datacatalog/get_catalog_types.py +++ b/sdk/python/pulumi_oci/datacatalog/get_catalog_types.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datacatalog/get_catalogs.py b/sdk/python/pulumi_oci/datacatalog/get_catalogs.py index 137bddb035..80e0b5ce7c 100644 --- a/sdk/python/pulumi_oci/datacatalog/get_catalogs.py +++ b/sdk/python/pulumi_oci/datacatalog/get_catalogs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datacatalog/get_connection.py b/sdk/python/pulumi_oci/datacatalog/get_connection.py index 6711d6403e..77ca19b505 100644 --- a/sdk/python/pulumi_oci/datacatalog/get_connection.py +++ b/sdk/python/pulumi_oci/datacatalog/get_connection.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/datacatalog/get_connections.py b/sdk/python/pulumi_oci/datacatalog/get_connections.py index 5835e12a37..b65fc879cb 100644 --- a/sdk/python/pulumi_oci/datacatalog/get_connections.py +++ b/sdk/python/pulumi_oci/datacatalog/get_connections.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datacatalog/get_data_asset.py b/sdk/python/pulumi_oci/datacatalog/get_data_asset.py index af956c0630..78d93555e5 100644 --- a/sdk/python/pulumi_oci/datacatalog/get_data_asset.py +++ b/sdk/python/pulumi_oci/datacatalog/get_data_asset.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/datacatalog/get_data_assets.py b/sdk/python/pulumi_oci/datacatalog/get_data_assets.py index 74f4b55d82..a902c7911b 100644 --- a/sdk/python/pulumi_oci/datacatalog/get_data_assets.py +++ b/sdk/python/pulumi_oci/datacatalog/get_data_assets.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datacatalog/get_metastore.py b/sdk/python/pulumi_oci/datacatalog/get_metastore.py index b621d3140f..678370cb3d 100644 --- a/sdk/python/pulumi_oci/datacatalog/get_metastore.py +++ b/sdk/python/pulumi_oci/datacatalog/get_metastore.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/datacatalog/get_metastores.py b/sdk/python/pulumi_oci/datacatalog/get_metastores.py index ed69a66556..eb927a1bd0 100644 --- a/sdk/python/pulumi_oci/datacatalog/get_metastores.py +++ b/sdk/python/pulumi_oci/datacatalog/get_metastores.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datacatalog/metastore.py b/sdk/python/pulumi_oci/datacatalog/metastore.py index e6762fbf28..b72c7468ef 100644 --- a/sdk/python/pulumi_oci/datacatalog/metastore.py +++ b/sdk/python/pulumi_oci/datacatalog/metastore.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['MetastoreArgs', 'Metastore'] @@ -33,15 +33,34 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "default_external_table_location", default_external_table_location) - pulumi.set(__self__, "default_managed_table_location", default_managed_table_location) + MetastoreArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + default_external_table_location=default_external_table_location, + default_managed_table_location=default_managed_table_location, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + default_external_table_location: pulumi.Input[str], + default_managed_table_location: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("default_external_table_location", default_external_table_location) + _setter("default_managed_table_location", default_managed_table_location) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="compartmentId") @@ -150,26 +169,53 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: Time at which the metastore was created. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. :param pulumi.Input[str] time_updated: Time at which the metastore was last modified. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. """ + _MetastoreState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + default_external_table_location=default_external_table_location, + default_managed_table_location=default_managed_table_location, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + default_external_table_location: Optional[pulumi.Input[str]] = None, + default_managed_table_location: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if default_external_table_location is not None: - pulumi.set(__self__, "default_external_table_location", default_external_table_location) + _setter("default_external_table_location", default_external_table_location) if default_managed_table_location is not None: - pulumi.set(__self__, "default_managed_table_location", default_managed_table_location) + _setter("default_managed_table_location", default_managed_table_location) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -401,6 +447,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + MetastoreArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/datacatalog/outputs.py b/sdk/python/pulumi_oci/datacatalog/outputs.py index 7dc1359bff..95ae93fd05 100644 --- a/sdk/python/pulumi_oci/datacatalog/outputs.py +++ b/sdk/python/pulumi_oci/datacatalog/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -57,18 +57,49 @@ def __init__(__self__, *, :param str time_created: The time the private endpoint was created. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. :param str time_updated: The time the private endpoint was updated. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. """ - pulumi.set(__self__, "attached_catalogs", attached_catalogs) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "dns_zones", dns_zones) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetCatalogPrivateEndpointsCatalogPrivateEndpointResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + attached_catalogs=attached_catalogs, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + dns_zones=dns_zones, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + state=state, + subnet_id=subnet_id, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attached_catalogs: Sequence[str], + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + dns_zones: Sequence[str], + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + state: str, + subnet_id: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("attached_catalogs", attached_catalogs) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("dns_zones", dns_zones) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("state", state) + _setter("subnet_id", subnet_id) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="attachedCatalogs") @@ -173,10 +204,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetCatalogPrivateEndpointsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -203,10 +247,23 @@ def __init__(__self__, *, """ :param str name: Immutable resource name. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetCatalogTypesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -232,8 +289,19 @@ class GetCatalogTypesTypeCollectionResult(dict): def __init__(__self__, *, count: int, items: Sequence['outputs.GetCatalogTypesTypeCollectionItemResult']): - pulumi.set(__self__, "count", count) - pulumi.set(__self__, "items", items) + GetCatalogTypesTypeCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + count=count, + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + count: int, + items: Sequence['outputs.GetCatalogTypesTypeCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("count", count) + _setter("items", items) @property @pulumi.getter @@ -265,13 +333,34 @@ def __init__(__self__, *, :param str type_category: Indicates the category of this type . For example, data assets or connections. :param str uri: URI to the type instance in the API. """ - pulumi.set(__self__, "catalog_id", catalog_id) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "type_category", type_category) - pulumi.set(__self__, "uri", uri) + GetCatalogTypesTypeCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + catalog_id=catalog_id, + description=description, + key=key, + name=name, + state=state, + type_category=type_category, + uri=uri, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + catalog_id: str, + description: str, + key: str, + name: str, + state: str, + type_category: str, + uri: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("catalog_id", catalog_id) + _setter("description", description) + _setter("key", key) + _setter("name", name) + _setter("state", state) + _setter("type_category", type_category) + _setter("uri", uri) @property @pulumi.getter(name="catalogId") @@ -361,19 +450,52 @@ def __init__(__self__, *, :param str time_created: The time the data catalog was created. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. :param str time_updated: The time the data catalog was updated. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. """ - pulumi.set(__self__, "attached_catalog_private_endpoints", attached_catalog_private_endpoints) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "number_of_objects", number_of_objects) - pulumi.set(__self__, "service_api_url", service_api_url) - pulumi.set(__self__, "service_console_url", service_console_url) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetCatalogsCatalogResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + attached_catalog_private_endpoints=attached_catalog_private_endpoints, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + number_of_objects=number_of_objects, + service_api_url=service_api_url, + service_console_url=service_console_url, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attached_catalog_private_endpoints: Sequence[str], + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + number_of_objects: int, + service_api_url: str, + service_console_url: str, + state: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("attached_catalog_private_endpoints", attached_catalog_private_endpoints) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("number_of_objects", number_of_objects) + _setter("service_api_url", service_api_url) + _setter("service_console_url", service_console_url) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="attachedCatalogPrivateEndpoints") @@ -486,10 +608,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetCatalogsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -512,8 +647,19 @@ class GetConnectionsConnectionCollectionResult(dict): def __init__(__self__, *, count: int, items: Sequence['outputs.GetConnectionsConnectionCollectionItemResult']): - pulumi.set(__self__, "count", count) - pulumi.set(__self__, "items", items) + GetConnectionsConnectionCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + count=count, + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + count: int, + items: Sequence['outputs.GetConnectionsConnectionCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("count", count) + _setter("items", items) @property @pulumi.getter @@ -564,24 +710,65 @@ def __init__(__self__, *, :param str updated_by_id: OCID of the user who updated the resource. :param str uri: URI to the connection instance in the API. """ - pulumi.set(__self__, "catalog_id", catalog_id) - pulumi.set(__self__, "created_by_id", created_by_id) - pulumi.set(__self__, "data_asset_key", data_asset_key) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "external_key", external_key) - pulumi.set(__self__, "is_default", is_default) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "properties", properties) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_status_updated", time_status_updated) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "type_key", type_key) - pulumi.set(__self__, "updated_by_id", updated_by_id) - pulumi.set(__self__, "uri", uri) + GetConnectionsConnectionCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + catalog_id=catalog_id, + created_by_id=created_by_id, + data_asset_key=data_asset_key, + description=description, + display_name=display_name, + external_key=external_key, + is_default=is_default, + key=key, + properties=properties, + state=state, + time_created=time_created, + time_status_updated=time_status_updated, + time_updated=time_updated, + type_key=type_key, + updated_by_id=updated_by_id, + uri=uri, + enc_properties=enc_properties, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + catalog_id: str, + created_by_id: str, + data_asset_key: str, + description: str, + display_name: str, + external_key: str, + is_default: bool, + key: str, + properties: Mapping[str, Any], + state: str, + time_created: str, + time_status_updated: str, + time_updated: str, + type_key: str, + updated_by_id: str, + uri: str, + enc_properties: Optional[Mapping[str, Any]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("catalog_id", catalog_id) + _setter("created_by_id", created_by_id) + _setter("data_asset_key", data_asset_key) + _setter("description", description) + _setter("display_name", display_name) + _setter("external_key", external_key) + _setter("is_default", is_default) + _setter("key", key) + _setter("properties", properties) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_status_updated", time_status_updated) + _setter("time_updated", time_updated) + _setter("type_key", type_key) + _setter("updated_by_id", updated_by_id) + _setter("uri", uri) if enc_properties is not None: - pulumi.set(__self__, "enc_properties", enc_properties) + _setter("enc_properties", enc_properties) @property @pulumi.getter(name="catalogId") @@ -723,10 +910,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetConnectionsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -749,8 +949,19 @@ class GetDataAssetsDataAssetCollectionResult(dict): def __init__(__self__, *, count: int, items: Sequence['outputs.GetDataAssetsDataAssetCollectionItemResult']): - pulumi.set(__self__, "count", count) - pulumi.set(__self__, "items", items) + GetDataAssetsDataAssetCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + count=count, + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + count: int, + items: Sequence['outputs.GetDataAssetsDataAssetCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("count", count) + _setter("items", items) @property @pulumi.getter @@ -798,21 +1009,58 @@ def __init__(__self__, *, :param str updated_by_id: OCID of the user who updated the resource. :param str uri: URI to the data asset instance in the API. """ - pulumi.set(__self__, "catalog_id", catalog_id) - pulumi.set(__self__, "created_by_id", created_by_id) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "external_key", external_key) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "properties", properties) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_harvested", time_harvested) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "type_key", type_key) - pulumi.set(__self__, "updated_by_id", updated_by_id) - pulumi.set(__self__, "uri", uri) + GetDataAssetsDataAssetCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + catalog_id=catalog_id, + created_by_id=created_by_id, + description=description, + display_name=display_name, + external_key=external_key, + key=key, + lifecycle_details=lifecycle_details, + properties=properties, + state=state, + time_created=time_created, + time_harvested=time_harvested, + time_updated=time_updated, + type_key=type_key, + updated_by_id=updated_by_id, + uri=uri, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + catalog_id: str, + created_by_id: str, + description: str, + display_name: str, + external_key: str, + key: str, + lifecycle_details: str, + properties: Mapping[str, Any], + state: str, + time_created: str, + time_harvested: str, + time_updated: str, + type_key: str, + updated_by_id: str, + uri: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("catalog_id", catalog_id) + _setter("created_by_id", created_by_id) + _setter("description", description) + _setter("display_name", display_name) + _setter("external_key", external_key) + _setter("key", key) + _setter("lifecycle_details", lifecycle_details) + _setter("properties", properties) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_harvested", time_harvested) + _setter("time_updated", time_updated) + _setter("type_key", type_key) + _setter("updated_by_id", updated_by_id) + _setter("uri", uri) @property @pulumi.getter(name="catalogId") @@ -941,10 +1189,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDataAssetsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -968,10 +1229,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetMetastoresFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1016,17 +1290,46 @@ def __init__(__self__, *, :param str time_created: Time at which the metastore was created. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. :param str time_updated: Time at which the metastore was last modified. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "default_external_table_location", default_external_table_location) - pulumi.set(__self__, "default_managed_table_location", default_managed_table_location) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetMetastoresMetastoreResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + default_external_table_location=default_external_table_location, + default_managed_table_location=default_managed_table_location, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + default_external_table_location: str, + default_managed_table_location: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + state: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("default_external_table_location", default_external_table_location) + _setter("default_managed_table_location", default_managed_table_location) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") diff --git a/sdk/python/pulumi_oci/dataflow/_inputs.py b/sdk/python/pulumi_oci/dataflow/_inputs.py index 5323b89b8a..3e5f47fde4 100644 --- a/sdk/python/pulumi_oci/dataflow/_inputs.py +++ b/sdk/python/pulumi_oci/dataflow/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -48,8 +48,19 @@ def __init__(__self__, *, :param pulumi.Input[str] log_group_id: (Updatable) The log group id for where log objects will be for Data Flow Runs. :param pulumi.Input[str] log_id: (Updatable) The log id of the log object the Application Logs of Data Flow Run will be shipped to. """ - pulumi.set(__self__, "log_group_id", log_group_id) - pulumi.set(__self__, "log_id", log_id) + ApplicationApplicationLogConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + log_group_id=log_group_id, + log_id=log_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + log_group_id: pulumi.Input[str], + log_id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("log_group_id", log_group_id) + _setter("log_id", log_id) @property @pulumi.getter(name="logGroupId") @@ -85,10 +96,21 @@ def __init__(__self__, *, :param pulumi.Input[float] memory_in_gbs: (Updatable) The amount of memory used for the driver or executors. :param pulumi.Input[float] ocpus: (Updatable) The total number of OCPUs used for the driver or executors. See [here](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/Shape/) for details. """ + ApplicationDriverShapeConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: Optional[pulumi.Input[float]] = None, + ocpus: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) if ocpus is not None: - pulumi.set(__self__, "ocpus", ocpus) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -124,10 +146,21 @@ def __init__(__self__, *, :param pulumi.Input[float] memory_in_gbs: (Updatable) The amount of memory used for the driver or executors. :param pulumi.Input[float] ocpus: (Updatable) The total number of OCPUs used for the driver or executors. See [here](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/Shape/) for details. """ + ApplicationExecutorShapeConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: Optional[pulumi.Input[float]] = None, + ocpus: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) if ocpus is not None: - pulumi.set(__self__, "ocpus", ocpus) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -163,8 +196,19 @@ def __init__(__self__, *, :param pulumi.Input[str] name: (Updatable) The name of the parameter. It must be a string of one or more word characters (a-z, A-Z, 0-9, _). Examples: "iterations", "input_file" :param pulumi.Input[str] value: (Updatable) The value of the parameter. It must be a string of 0 or more characters of any kind. Examples: "" (empty string), "10", "mydata.xml", "${x}" """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + ApplicationParameterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: pulumi.Input[str], + value: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("value", value) @property @pulumi.getter @@ -200,8 +244,19 @@ def __init__(__self__, *, :param pulumi.Input[str] log_group_id: The log group id for where log objects will be for Data Flow Runs. :param pulumi.Input[str] log_id: The log id of the log object the Application Logs of Data Flow Run will be shipped to. """ - pulumi.set(__self__, "log_group_id", log_group_id) - pulumi.set(__self__, "log_id", log_id) + InvokeRunApplicationLogConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + log_group_id=log_group_id, + log_id=log_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + log_group_id: pulumi.Input[str], + log_id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("log_group_id", log_group_id) + _setter("log_id", log_id) @property @pulumi.getter(name="logGroupId") @@ -237,10 +292,21 @@ def __init__(__self__, *, :param pulumi.Input[float] memory_in_gbs: The amount of memory used for the driver or executors. :param pulumi.Input[float] ocpus: The total number of OCPUs used for the driver or executors. See [here](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/Shape/) for details. """ + InvokeRunDriverShapeConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: Optional[pulumi.Input[float]] = None, + ocpus: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) if ocpus is not None: - pulumi.set(__self__, "ocpus", ocpus) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -276,10 +342,21 @@ def __init__(__self__, *, :param pulumi.Input[float] memory_in_gbs: The amount of memory used for the driver or executors. :param pulumi.Input[float] ocpus: The total number of OCPUs used for the driver or executors. See [here](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/Shape/) for details. """ + InvokeRunExecutorShapeConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: Optional[pulumi.Input[float]] = None, + ocpus: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) if ocpus is not None: - pulumi.set(__self__, "ocpus", ocpus) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -315,8 +392,19 @@ def __init__(__self__, *, :param pulumi.Input[str] name: The name of the parameter. It must be a string of one or more word characters (a-z, A-Z, 0-9, _). Examples: "iterations", "input_file" :param pulumi.Input[str] value: The value of the parameter. It must be a string of 0 or more characters of any kind. Examples: "" (empty string), "10", "mydata.xml", "${x}" """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + InvokeRunParameterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: pulumi.Input[str], + value: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("value", value) @property @pulumi.getter @@ -356,14 +444,29 @@ def __init__(__self__, *, :param pulumi.Input[str] shape: (Updatable) The compute shape of the resources you would like to provision. :param pulumi.Input['PoolConfigurationShapeConfigArgs'] shape_config: (Updatable) This is used to configure the shape of the driver or executor if a flexible shape is used. """ + PoolConfigurationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + shape=shape, + shape_config=shape_config, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: Optional[pulumi.Input[int]] = None, + min: Optional[pulumi.Input[int]] = None, + shape: Optional[pulumi.Input[str]] = None, + shape_config: Optional[pulumi.Input['PoolConfigurationShapeConfigArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if max is not None: - pulumi.set(__self__, "max", max) + _setter("max", max) if min is not None: - pulumi.set(__self__, "min", min) + _setter("min", min) if shape is not None: - pulumi.set(__self__, "shape", shape) + _setter("shape", shape) if shape_config is not None: - pulumi.set(__self__, "shape_config", shape_config) + _setter("shape_config", shape_config) @property @pulumi.getter @@ -423,10 +526,21 @@ def __init__(__self__, *, :param pulumi.Input[float] memory_in_gbs: (Updatable) The amount of memory used for the driver or executors. :param pulumi.Input[float] ocpus: (Updatable) The total number of OCPUs used for the driver or executors. See [here](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/Shape/) for details. """ + PoolConfigurationShapeConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: Optional[pulumi.Input[float]] = None, + ocpus: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) if ocpus is not None: - pulumi.set(__self__, "ocpus", ocpus) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -470,18 +584,37 @@ def __init__(__self__, *, :param pulumi.Input[str] time_last_stopped: The last time this pool was stopped. :param pulumi.Input[str] time_last_used: The last time a run used this pool. """ + PoolPoolMetricArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + active_runs_count=active_runs_count, + actively_used_node_counts=actively_used_node_counts, + time_last_metrics_updated=time_last_metrics_updated, + time_last_started=time_last_started, + time_last_stopped=time_last_stopped, + time_last_used=time_last_used, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + active_runs_count: Optional[pulumi.Input[str]] = None, + actively_used_node_counts: Optional[pulumi.Input[Sequence[pulumi.Input['PoolPoolMetricActivelyUsedNodeCountArgs']]]] = None, + time_last_metrics_updated: Optional[pulumi.Input[str]] = None, + time_last_started: Optional[pulumi.Input[str]] = None, + time_last_stopped: Optional[pulumi.Input[str]] = None, + time_last_used: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if active_runs_count is not None: - pulumi.set(__self__, "active_runs_count", active_runs_count) + _setter("active_runs_count", active_runs_count) if actively_used_node_counts is not None: - pulumi.set(__self__, "actively_used_node_counts", actively_used_node_counts) + _setter("actively_used_node_counts", actively_used_node_counts) if time_last_metrics_updated is not None: - pulumi.set(__self__, "time_last_metrics_updated", time_last_metrics_updated) + _setter("time_last_metrics_updated", time_last_metrics_updated) if time_last_started is not None: - pulumi.set(__self__, "time_last_started", time_last_started) + _setter("time_last_started", time_last_started) if time_last_stopped is not None: - pulumi.set(__self__, "time_last_stopped", time_last_stopped) + _setter("time_last_stopped", time_last_stopped) if time_last_used is not None: - pulumi.set(__self__, "time_last_used", time_last_used) + _setter("time_last_used", time_last_used) @property @pulumi.getter(name="activeRunsCount") @@ -565,10 +698,21 @@ def __init__(__self__, *, :param pulumi.Input[str] logical_shape: The compute shape of the nodes that the count is for. :param pulumi.Input[int] pool_count: The node count of this compute shape. """ + PoolPoolMetricActivelyUsedNodeCountArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + logical_shape=logical_shape, + pool_count=pool_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + logical_shape: Optional[pulumi.Input[str]] = None, + pool_count: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if logical_shape is not None: - pulumi.set(__self__, "logical_shape", logical_shape) + _setter("logical_shape", logical_shape) if pool_count is not None: - pulumi.set(__self__, "pool_count", pool_count) + _setter("pool_count", pool_count) @property @pulumi.getter(name="logicalShape") @@ -606,12 +750,25 @@ def __init__(__self__, *, :param pulumi.Input[int] start_time: (Updatable) Hour of the day to start or stop pool. :param pulumi.Input[int] stop_time: (Updatable) Hour of the day to stop the pool. """ + PoolScheduleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + day_of_week=day_of_week, + start_time=start_time, + stop_time=stop_time, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + day_of_week: Optional[pulumi.Input[str]] = None, + start_time: Optional[pulumi.Input[int]] = None, + stop_time: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if day_of_week is not None: - pulumi.set(__self__, "day_of_week", day_of_week) + _setter("day_of_week", day_of_week) if start_time is not None: - pulumi.set(__self__, "start_time", start_time) + _setter("start_time", start_time) if stop_time is not None: - pulumi.set(__self__, "stop_time", stop_time) + _setter("stop_time", stop_time) @property @pulumi.getter(name="dayOfWeek") @@ -659,10 +816,21 @@ def __init__(__self__, *, :param pulumi.Input[str] fqdn: (Updatable) A fully-qualified domain name (FQDN). :param pulumi.Input[str] port: (Updatable) The port number of the FQDN """ + PrivateEndpointScanDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + fqdn=fqdn, + port=port, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + fqdn: Optional[pulumi.Input[str]] = None, + port: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if fqdn is not None: - pulumi.set(__self__, "fqdn", fqdn) + _setter("fqdn", fqdn) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) @property @pulumi.getter @@ -704,16 +872,33 @@ def __init__(__self__, *, :param pulumi.Input[str] status: Status of the statement output. :param pulumi.Input[Sequence[pulumi.Input[str]]] tracebacks: The traceback of the statement output. """ + RunStatementOutputArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + datas=datas, + error_name=error_name, + error_value=error_value, + status=status, + tracebacks=tracebacks, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + datas: Optional[pulumi.Input[Sequence[pulumi.Input['RunStatementOutputDataArgs']]]] = None, + error_name: Optional[pulumi.Input[str]] = None, + error_value: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[str]] = None, + tracebacks: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if datas is not None: - pulumi.set(__self__, "datas", datas) + _setter("datas", datas) if error_name is not None: - pulumi.set(__self__, "error_name", error_name) + _setter("error_name", error_name) if error_value is not None: - pulumi.set(__self__, "error_value", error_value) + _setter("error_value", error_value) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if tracebacks is not None: - pulumi.set(__self__, "tracebacks", tracebacks) + _setter("tracebacks", tracebacks) @property @pulumi.getter @@ -785,10 +970,21 @@ def __init__(__self__, *, :param pulumi.Input[str] type: The type of the `StatementOutputData` like `TEXT_PLAIN`, `TEXT_HTML` or `IMAGE_PNG`. :param pulumi.Input[str] value: The statement code execution output in html format. """ + RunStatementOutputDataArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -824,10 +1020,21 @@ def __init__(__self__, *, :param pulumi.Input[float] memory_in_gbs: The amount of memory used for the driver or executors. :param pulumi.Input[float] ocpus: The total number of OCPUs used for the driver or executors. See [here](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/Shape/) for details. """ + SqlEndpointDriverShapeConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: Optional[pulumi.Input[float]] = None, + ocpus: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) if ocpus is not None: - pulumi.set(__self__, "ocpus", ocpus) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -863,10 +1070,21 @@ def __init__(__self__, *, :param pulumi.Input[float] memory_in_gbs: The amount of memory used for the driver or executors. :param pulumi.Input[float] ocpus: The total number of OCPUs used for the driver or executors. See [here](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/Shape/) for details. """ + SqlEndpointExecutorShapeConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: Optional[pulumi.Input[float]] = None, + ocpus: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) if ocpus is not None: - pulumi.set(__self__, "ocpus", ocpus) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -912,19 +1130,40 @@ def __init__(__self__, *, :param pulumi.Input[str] subnet_id: The VCN Subnet OCID. :param pulumi.Input[str] vcn_id: The VCN OCID. """ - pulumi.set(__self__, "network_type", network_type) + SqlEndpointNetworkConfigurationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + network_type=network_type, + access_control_rules=access_control_rules, + host_name_prefix=host_name_prefix, + private_endpoint_ip=private_endpoint_ip, + public_endpoint_ip=public_endpoint_ip, + subnet_id=subnet_id, + vcn_id=vcn_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + network_type: pulumi.Input[str], + access_control_rules: Optional[pulumi.Input[Sequence[pulumi.Input['SqlEndpointNetworkConfigurationAccessControlRuleArgs']]]] = None, + host_name_prefix: Optional[pulumi.Input[str]] = None, + private_endpoint_ip: Optional[pulumi.Input[str]] = None, + public_endpoint_ip: Optional[pulumi.Input[str]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + vcn_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("network_type", network_type) if access_control_rules is not None: - pulumi.set(__self__, "access_control_rules", access_control_rules) + _setter("access_control_rules", access_control_rules) if host_name_prefix is not None: - pulumi.set(__self__, "host_name_prefix", host_name_prefix) + _setter("host_name_prefix", host_name_prefix) if private_endpoint_ip is not None: - pulumi.set(__self__, "private_endpoint_ip", private_endpoint_ip) + _setter("private_endpoint_ip", private_endpoint_ip) if public_endpoint_ip is not None: - pulumi.set(__self__, "public_endpoint_ip", public_endpoint_ip) + _setter("public_endpoint_ip", public_endpoint_ip) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) if vcn_id is not None: - pulumi.set(__self__, "vcn_id", vcn_id) + _setter("vcn_id", vcn_id) @property @pulumi.getter(name="networkType") @@ -1022,12 +1261,25 @@ def __init__(__self__, *, :param pulumi.Input[str] value: The associated value of the selected IP notation. :param pulumi.Input[str] vcn_ips: A comma-separated IP or CIDR address for VCN OCID IP notation selection. """ + SqlEndpointNetworkConfigurationAccessControlRuleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + ip_notation=ip_notation, + value=value, + vcn_ips=vcn_ips, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ip_notation: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + vcn_ips: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ip_notation is not None: - pulumi.set(__self__, "ip_notation", ip_notation) + _setter("ip_notation", ip_notation) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) if vcn_ips is not None: - pulumi.set(__self__, "vcn_ips", vcn_ips) + _setter("vcn_ips", vcn_ips) @property @pulumi.getter(name="ipNotation") @@ -1075,10 +1327,23 @@ def __init__(__self__, *, """ :param str name: The name of the parameter. It must be a string of one or more word characters (a-z, A-Z, 0-9, _). Examples: "iterations", "input_file" """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetApplicationsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1120,10 +1385,23 @@ def __init__(__self__, *, """ :param str name: The name of the parameter. It must be a string of one or more word characters (a-z, A-Z, 0-9, _). Examples: "iterations", "input_file" """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetInvokeRunsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1162,10 +1440,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetPoolsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1201,10 +1492,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetPrivateEndpointsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1240,10 +1544,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetRunLogsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1279,10 +1596,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetRunStatementsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1318,10 +1648,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSqlEndpointsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/dataflow/application.py b/sdk/python/pulumi_oci/dataflow/application.py index 5d3c64ed60..be03903a79 100644 --- a/sdk/python/pulumi_oci/dataflow/application.py +++ b/sdk/python/pulumi_oci/dataflow/application.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -79,55 +79,118 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "driver_shape", driver_shape) - pulumi.set(__self__, "executor_shape", executor_shape) - pulumi.set(__self__, "language", language) - pulumi.set(__self__, "num_executors", num_executors) - pulumi.set(__self__, "spark_version", spark_version) + ApplicationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + driver_shape=driver_shape, + executor_shape=executor_shape, + language=language, + num_executors=num_executors, + spark_version=spark_version, + application_log_config=application_log_config, + archive_uri=archive_uri, + arguments=arguments, + class_name=class_name, + configuration=configuration, + defined_tags=defined_tags, + description=description, + driver_shape_config=driver_shape_config, + execute=execute, + executor_shape_config=executor_shape_config, + file_uri=file_uri, + freeform_tags=freeform_tags, + idle_timeout_in_minutes=idle_timeout_in_minutes, + logs_bucket_uri=logs_bucket_uri, + max_duration_in_minutes=max_duration_in_minutes, + metastore_id=metastore_id, + parameters=parameters, + pool_id=pool_id, + private_endpoint_id=private_endpoint_id, + type=type, + warehouse_bucket_uri=warehouse_bucket_uri, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + driver_shape: pulumi.Input[str], + executor_shape: pulumi.Input[str], + language: pulumi.Input[str], + num_executors: pulumi.Input[int], + spark_version: pulumi.Input[str], + application_log_config: Optional[pulumi.Input['ApplicationApplicationLogConfigArgs']] = None, + archive_uri: Optional[pulumi.Input[str]] = None, + arguments: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + class_name: Optional[pulumi.Input[str]] = None, + configuration: Optional[pulumi.Input[Mapping[str, Any]]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + driver_shape_config: Optional[pulumi.Input['ApplicationDriverShapeConfigArgs']] = None, + execute: Optional[pulumi.Input[str]] = None, + executor_shape_config: Optional[pulumi.Input['ApplicationExecutorShapeConfigArgs']] = None, + file_uri: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + idle_timeout_in_minutes: Optional[pulumi.Input[str]] = None, + logs_bucket_uri: Optional[pulumi.Input[str]] = None, + max_duration_in_minutes: Optional[pulumi.Input[str]] = None, + metastore_id: Optional[pulumi.Input[str]] = None, + parameters: Optional[pulumi.Input[Sequence[pulumi.Input['ApplicationParameterArgs']]]] = None, + pool_id: Optional[pulumi.Input[str]] = None, + private_endpoint_id: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + warehouse_bucket_uri: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) + _setter("driver_shape", driver_shape) + _setter("executor_shape", executor_shape) + _setter("language", language) + _setter("num_executors", num_executors) + _setter("spark_version", spark_version) if application_log_config is not None: - pulumi.set(__self__, "application_log_config", application_log_config) + _setter("application_log_config", application_log_config) if archive_uri is not None: - pulumi.set(__self__, "archive_uri", archive_uri) + _setter("archive_uri", archive_uri) if arguments is not None: - pulumi.set(__self__, "arguments", arguments) + _setter("arguments", arguments) if class_name is not None: - pulumi.set(__self__, "class_name", class_name) + _setter("class_name", class_name) if configuration is not None: - pulumi.set(__self__, "configuration", configuration) + _setter("configuration", configuration) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if driver_shape_config is not None: - pulumi.set(__self__, "driver_shape_config", driver_shape_config) + _setter("driver_shape_config", driver_shape_config) if execute is not None: - pulumi.set(__self__, "execute", execute) + _setter("execute", execute) if executor_shape_config is not None: - pulumi.set(__self__, "executor_shape_config", executor_shape_config) + _setter("executor_shape_config", executor_shape_config) if file_uri is not None: - pulumi.set(__self__, "file_uri", file_uri) + _setter("file_uri", file_uri) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if idle_timeout_in_minutes is not None: - pulumi.set(__self__, "idle_timeout_in_minutes", idle_timeout_in_minutes) + _setter("idle_timeout_in_minutes", idle_timeout_in_minutes) if logs_bucket_uri is not None: - pulumi.set(__self__, "logs_bucket_uri", logs_bucket_uri) + _setter("logs_bucket_uri", logs_bucket_uri) if max_duration_in_minutes is not None: - pulumi.set(__self__, "max_duration_in_minutes", max_duration_in_minutes) + _setter("max_duration_in_minutes", max_duration_in_minutes) if metastore_id is not None: - pulumi.set(__self__, "metastore_id", metastore_id) + _setter("metastore_id", metastore_id) if parameters is not None: - pulumi.set(__self__, "parameters", parameters) + _setter("parameters", parameters) if pool_id is not None: - pulumi.set(__self__, "pool_id", pool_id) + _setter("pool_id", pool_id) if private_endpoint_id is not None: - pulumi.set(__self__, "private_endpoint_id", private_endpoint_id) + _setter("private_endpoint_id", private_endpoint_id) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if warehouse_bucket_uri is not None: - pulumi.set(__self__, "warehouse_bucket_uri", warehouse_bucket_uri) + _setter("warehouse_bucket_uri", warehouse_bucket_uri) @property @pulumi.getter(name="compartmentId") @@ -546,72 +609,145 @@ def __init__(__self__, *, ** 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 """ + _ApplicationState._configure( + lambda key, value: pulumi.set(__self__, key, value), + application_log_config=application_log_config, + archive_uri=archive_uri, + arguments=arguments, + class_name=class_name, + compartment_id=compartment_id, + configuration=configuration, + defined_tags=defined_tags, + description=description, + display_name=display_name, + driver_shape=driver_shape, + driver_shape_config=driver_shape_config, + execute=execute, + executor_shape=executor_shape, + executor_shape_config=executor_shape_config, + file_uri=file_uri, + freeform_tags=freeform_tags, + idle_timeout_in_minutes=idle_timeout_in_minutes, + language=language, + logs_bucket_uri=logs_bucket_uri, + max_duration_in_minutes=max_duration_in_minutes, + metastore_id=metastore_id, + num_executors=num_executors, + owner_principal_id=owner_principal_id, + owner_user_name=owner_user_name, + parameters=parameters, + pool_id=pool_id, + private_endpoint_id=private_endpoint_id, + spark_version=spark_version, + state=state, + time_created=time_created, + time_updated=time_updated, + type=type, + warehouse_bucket_uri=warehouse_bucket_uri, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + application_log_config: Optional[pulumi.Input['ApplicationApplicationLogConfigArgs']] = None, + archive_uri: Optional[pulumi.Input[str]] = None, + arguments: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + class_name: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + configuration: Optional[pulumi.Input[Mapping[str, Any]]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + driver_shape: Optional[pulumi.Input[str]] = None, + driver_shape_config: Optional[pulumi.Input['ApplicationDriverShapeConfigArgs']] = None, + execute: Optional[pulumi.Input[str]] = None, + executor_shape: Optional[pulumi.Input[str]] = None, + executor_shape_config: Optional[pulumi.Input['ApplicationExecutorShapeConfigArgs']] = None, + file_uri: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + idle_timeout_in_minutes: Optional[pulumi.Input[str]] = None, + language: Optional[pulumi.Input[str]] = None, + logs_bucket_uri: Optional[pulumi.Input[str]] = None, + max_duration_in_minutes: Optional[pulumi.Input[str]] = None, + metastore_id: Optional[pulumi.Input[str]] = None, + num_executors: Optional[pulumi.Input[int]] = None, + owner_principal_id: Optional[pulumi.Input[str]] = None, + owner_user_name: Optional[pulumi.Input[str]] = None, + parameters: Optional[pulumi.Input[Sequence[pulumi.Input['ApplicationParameterArgs']]]] = None, + pool_id: Optional[pulumi.Input[str]] = None, + private_endpoint_id: Optional[pulumi.Input[str]] = None, + spark_version: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + warehouse_bucket_uri: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if application_log_config is not None: - pulumi.set(__self__, "application_log_config", application_log_config) + _setter("application_log_config", application_log_config) if archive_uri is not None: - pulumi.set(__self__, "archive_uri", archive_uri) + _setter("archive_uri", archive_uri) if arguments is not None: - pulumi.set(__self__, "arguments", arguments) + _setter("arguments", arguments) if class_name is not None: - pulumi.set(__self__, "class_name", class_name) + _setter("class_name", class_name) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if configuration is not None: - pulumi.set(__self__, "configuration", configuration) + _setter("configuration", configuration) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if driver_shape is not None: - pulumi.set(__self__, "driver_shape", driver_shape) + _setter("driver_shape", driver_shape) if driver_shape_config is not None: - pulumi.set(__self__, "driver_shape_config", driver_shape_config) + _setter("driver_shape_config", driver_shape_config) if execute is not None: - pulumi.set(__self__, "execute", execute) + _setter("execute", execute) if executor_shape is not None: - pulumi.set(__self__, "executor_shape", executor_shape) + _setter("executor_shape", executor_shape) if executor_shape_config is not None: - pulumi.set(__self__, "executor_shape_config", executor_shape_config) + _setter("executor_shape_config", executor_shape_config) if file_uri is not None: - pulumi.set(__self__, "file_uri", file_uri) + _setter("file_uri", file_uri) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if idle_timeout_in_minutes is not None: - pulumi.set(__self__, "idle_timeout_in_minutes", idle_timeout_in_minutes) + _setter("idle_timeout_in_minutes", idle_timeout_in_minutes) if language is not None: - pulumi.set(__self__, "language", language) + _setter("language", language) if logs_bucket_uri is not None: - pulumi.set(__self__, "logs_bucket_uri", logs_bucket_uri) + _setter("logs_bucket_uri", logs_bucket_uri) if max_duration_in_minutes is not None: - pulumi.set(__self__, "max_duration_in_minutes", max_duration_in_minutes) + _setter("max_duration_in_minutes", max_duration_in_minutes) if metastore_id is not None: - pulumi.set(__self__, "metastore_id", metastore_id) + _setter("metastore_id", metastore_id) if num_executors is not None: - pulumi.set(__self__, "num_executors", num_executors) + _setter("num_executors", num_executors) if owner_principal_id is not None: - pulumi.set(__self__, "owner_principal_id", owner_principal_id) + _setter("owner_principal_id", owner_principal_id) if owner_user_name is not None: - pulumi.set(__self__, "owner_user_name", owner_user_name) + _setter("owner_user_name", owner_user_name) if parameters is not None: - pulumi.set(__self__, "parameters", parameters) + _setter("parameters", parameters) if pool_id is not None: - pulumi.set(__self__, "pool_id", pool_id) + _setter("pool_id", pool_id) if private_endpoint_id is not None: - pulumi.set(__self__, "private_endpoint_id", private_endpoint_id) + _setter("private_endpoint_id", private_endpoint_id) if spark_version is not None: - pulumi.set(__self__, "spark_version", spark_version) + _setter("spark_version", spark_version) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if warehouse_bucket_uri is not None: - pulumi.set(__self__, "warehouse_bucket_uri", warehouse_bucket_uri) + _setter("warehouse_bucket_uri", warehouse_bucket_uri) @property @pulumi.getter(name="applicationLogConfig") @@ -1231,6 +1367,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ApplicationArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -1273,6 +1413,11 @@ def _internal_init(__self__, raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = ApplicationArgs.__new__(ApplicationArgs) + if application_log_config is not None and not isinstance(application_log_config, ApplicationApplicationLogConfigArgs): + application_log_config = application_log_config or {} + def _setter(key, value): + application_log_config[key] = value + ApplicationApplicationLogConfigArgs._configure(_setter, **application_log_config) __props__.__dict__["application_log_config"] = application_log_config __props__.__dict__["archive_uri"] = archive_uri __props__.__dict__["arguments"] = arguments @@ -1289,11 +1434,21 @@ def _internal_init(__self__, if driver_shape is None and not opts.urn: raise TypeError("Missing required property 'driver_shape'") __props__.__dict__["driver_shape"] = driver_shape + if driver_shape_config is not None and not isinstance(driver_shape_config, ApplicationDriverShapeConfigArgs): + driver_shape_config = driver_shape_config or {} + def _setter(key, value): + driver_shape_config[key] = value + ApplicationDriverShapeConfigArgs._configure(_setter, **driver_shape_config) __props__.__dict__["driver_shape_config"] = driver_shape_config __props__.__dict__["execute"] = execute if executor_shape is None and not opts.urn: raise TypeError("Missing required property 'executor_shape'") __props__.__dict__["executor_shape"] = executor_shape + if executor_shape_config is not None and not isinstance(executor_shape_config, ApplicationExecutorShapeConfigArgs): + executor_shape_config = executor_shape_config or {} + def _setter(key, value): + executor_shape_config[key] = value + ApplicationExecutorShapeConfigArgs._configure(_setter, **executor_shape_config) __props__.__dict__["executor_shape_config"] = executor_shape_config __props__.__dict__["file_uri"] = file_uri __props__.__dict__["freeform_tags"] = freeform_tags diff --git a/sdk/python/pulumi_oci/dataflow/get_application.py b/sdk/python/pulumi_oci/dataflow/get_application.py index 9e6b6e78b9..806ae7c363 100644 --- a/sdk/python/pulumi_oci/dataflow/get_application.py +++ b/sdk/python/pulumi_oci/dataflow/get_application.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/dataflow/get_applications.py b/sdk/python/pulumi_oci/dataflow/get_applications.py index 69492a75d2..2e0ecbb183 100644 --- a/sdk/python/pulumi_oci/dataflow/get_applications.py +++ b/sdk/python/pulumi_oci/dataflow/get_applications.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/dataflow/get_invoke_run.py b/sdk/python/pulumi_oci/dataflow/get_invoke_run.py index 2b1549b2be..89acca9b62 100644 --- a/sdk/python/pulumi_oci/dataflow/get_invoke_run.py +++ b/sdk/python/pulumi_oci/dataflow/get_invoke_run.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/dataflow/get_invoke_runs.py b/sdk/python/pulumi_oci/dataflow/get_invoke_runs.py index 8b87fa1c52..248fe9561a 100644 --- a/sdk/python/pulumi_oci/dataflow/get_invoke_runs.py +++ b/sdk/python/pulumi_oci/dataflow/get_invoke_runs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/dataflow/get_pool.py b/sdk/python/pulumi_oci/dataflow/get_pool.py index 56a1a9beb2..83ba4af4b6 100644 --- a/sdk/python/pulumi_oci/dataflow/get_pool.py +++ b/sdk/python/pulumi_oci/dataflow/get_pool.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/dataflow/get_pools.py b/sdk/python/pulumi_oci/dataflow/get_pools.py index 60b1fe8fdd..b416037115 100644 --- a/sdk/python/pulumi_oci/dataflow/get_pools.py +++ b/sdk/python/pulumi_oci/dataflow/get_pools.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/dataflow/get_private_endpoint.py b/sdk/python/pulumi_oci/dataflow/get_private_endpoint.py index 6d4217fcc9..c52717f0e2 100644 --- a/sdk/python/pulumi_oci/dataflow/get_private_endpoint.py +++ b/sdk/python/pulumi_oci/dataflow/get_private_endpoint.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/dataflow/get_private_endpoints.py b/sdk/python/pulumi_oci/dataflow/get_private_endpoints.py index 10331ceae6..72f2bb4e06 100644 --- a/sdk/python/pulumi_oci/dataflow/get_private_endpoints.py +++ b/sdk/python/pulumi_oci/dataflow/get_private_endpoints.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/dataflow/get_run_log.py b/sdk/python/pulumi_oci/dataflow/get_run_log.py index cc27fa0c6f..8906b48426 100644 --- a/sdk/python/pulumi_oci/dataflow/get_run_log.py +++ b/sdk/python/pulumi_oci/dataflow/get_run_log.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/dataflow/get_run_logs.py b/sdk/python/pulumi_oci/dataflow/get_run_logs.py index 1c6e144d90..fa0daf4b5f 100644 --- a/sdk/python/pulumi_oci/dataflow/get_run_logs.py +++ b/sdk/python/pulumi_oci/dataflow/get_run_logs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/dataflow/get_run_statement.py b/sdk/python/pulumi_oci/dataflow/get_run_statement.py index b06c74e782..ef31993535 100644 --- a/sdk/python/pulumi_oci/dataflow/get_run_statement.py +++ b/sdk/python/pulumi_oci/dataflow/get_run_statement.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/dataflow/get_run_statements.py b/sdk/python/pulumi_oci/dataflow/get_run_statements.py index 74c5c6f616..f22a803667 100644 --- a/sdk/python/pulumi_oci/dataflow/get_run_statements.py +++ b/sdk/python/pulumi_oci/dataflow/get_run_statements.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/dataflow/get_sql_endpoint.py b/sdk/python/pulumi_oci/dataflow/get_sql_endpoint.py index b99ac35084..f67526c6e7 100644 --- a/sdk/python/pulumi_oci/dataflow/get_sql_endpoint.py +++ b/sdk/python/pulumi_oci/dataflow/get_sql_endpoint.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/dataflow/get_sql_endpoints.py b/sdk/python/pulumi_oci/dataflow/get_sql_endpoints.py index e966d7f917..d8d207c9a0 100644 --- a/sdk/python/pulumi_oci/dataflow/get_sql_endpoints.py +++ b/sdk/python/pulumi_oci/dataflow/get_sql_endpoints.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/dataflow/invoke_run.py b/sdk/python/pulumi_oci/dataflow/invoke_run.py index 29f873b298..3f4e35714e 100644 --- a/sdk/python/pulumi_oci/dataflow/invoke_run.py +++ b/sdk/python/pulumi_oci/dataflow/invoke_run.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -72,55 +72,112 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) + InvokeRunArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + application_id=application_id, + application_log_config=application_log_config, + archive_uri=archive_uri, + arguments=arguments, + asynchronous=asynchronous, + configuration=configuration, + defined_tags=defined_tags, + display_name=display_name, + driver_shape=driver_shape, + driver_shape_config=driver_shape_config, + execute=execute, + executor_shape=executor_shape, + executor_shape_config=executor_shape_config, + freeform_tags=freeform_tags, + idle_timeout_in_minutes=idle_timeout_in_minutes, + logs_bucket_uri=logs_bucket_uri, + max_duration_in_minutes=max_duration_in_minutes, + metastore_id=metastore_id, + num_executors=num_executors, + parameters=parameters, + pool_id=pool_id, + spark_version=spark_version, + type=type, + warehouse_bucket_uri=warehouse_bucket_uri, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + application_id: Optional[pulumi.Input[str]] = None, + application_log_config: Optional[pulumi.Input['InvokeRunApplicationLogConfigArgs']] = None, + archive_uri: Optional[pulumi.Input[str]] = None, + arguments: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + asynchronous: Optional[pulumi.Input[bool]] = None, + configuration: Optional[pulumi.Input[Mapping[str, Any]]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + driver_shape: Optional[pulumi.Input[str]] = None, + driver_shape_config: Optional[pulumi.Input['InvokeRunDriverShapeConfigArgs']] = None, + execute: Optional[pulumi.Input[str]] = None, + executor_shape: Optional[pulumi.Input[str]] = None, + executor_shape_config: Optional[pulumi.Input['InvokeRunExecutorShapeConfigArgs']] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + idle_timeout_in_minutes: Optional[pulumi.Input[str]] = None, + logs_bucket_uri: Optional[pulumi.Input[str]] = None, + max_duration_in_minutes: Optional[pulumi.Input[str]] = None, + metastore_id: Optional[pulumi.Input[str]] = None, + num_executors: Optional[pulumi.Input[int]] = None, + parameters: Optional[pulumi.Input[Sequence[pulumi.Input['InvokeRunParameterArgs']]]] = None, + pool_id: Optional[pulumi.Input[str]] = None, + spark_version: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + warehouse_bucket_uri: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) if application_id is not None: - pulumi.set(__self__, "application_id", application_id) + _setter("application_id", application_id) if application_log_config is not None: - pulumi.set(__self__, "application_log_config", application_log_config) + _setter("application_log_config", application_log_config) if archive_uri is not None: - pulumi.set(__self__, "archive_uri", archive_uri) + _setter("archive_uri", archive_uri) if arguments is not None: - pulumi.set(__self__, "arguments", arguments) + _setter("arguments", arguments) if asynchronous is not None: - pulumi.set(__self__, "asynchronous", asynchronous) + _setter("asynchronous", asynchronous) if configuration is not None: - pulumi.set(__self__, "configuration", configuration) + _setter("configuration", configuration) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if driver_shape is not None: - pulumi.set(__self__, "driver_shape", driver_shape) + _setter("driver_shape", driver_shape) if driver_shape_config is not None: - pulumi.set(__self__, "driver_shape_config", driver_shape_config) + _setter("driver_shape_config", driver_shape_config) if execute is not None: - pulumi.set(__self__, "execute", execute) + _setter("execute", execute) if executor_shape is not None: - pulumi.set(__self__, "executor_shape", executor_shape) + _setter("executor_shape", executor_shape) if executor_shape_config is not None: - pulumi.set(__self__, "executor_shape_config", executor_shape_config) + _setter("executor_shape_config", executor_shape_config) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if idle_timeout_in_minutes is not None: - pulumi.set(__self__, "idle_timeout_in_minutes", idle_timeout_in_minutes) + _setter("idle_timeout_in_minutes", idle_timeout_in_minutes) if logs_bucket_uri is not None: - pulumi.set(__self__, "logs_bucket_uri", logs_bucket_uri) + _setter("logs_bucket_uri", logs_bucket_uri) if max_duration_in_minutes is not None: - pulumi.set(__self__, "max_duration_in_minutes", max_duration_in_minutes) + _setter("max_duration_in_minutes", max_duration_in_minutes) if metastore_id is not None: - pulumi.set(__self__, "metastore_id", metastore_id) + _setter("metastore_id", metastore_id) if num_executors is not None: - pulumi.set(__self__, "num_executors", num_executors) + _setter("num_executors", num_executors) if parameters is not None: - pulumi.set(__self__, "parameters", parameters) + _setter("parameters", parameters) if pool_id is not None: - pulumi.set(__self__, "pool_id", pool_id) + _setter("pool_id", pool_id) if spark_version is not None: - pulumi.set(__self__, "spark_version", spark_version) + _setter("spark_version", spark_version) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if warehouse_bucket_uri is not None: - pulumi.set(__self__, "warehouse_bucket_uri", warehouse_bucket_uri) + _setter("warehouse_bucket_uri", warehouse_bucket_uri) @property @pulumi.getter(name="compartmentId") @@ -521,94 +578,189 @@ def __init__(__self__, *, ** 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 """ + _InvokeRunState._configure( + lambda key, value: pulumi.set(__self__, key, value), + application_id=application_id, + application_log_config=application_log_config, + archive_uri=archive_uri, + arguments=arguments, + asynchronous=asynchronous, + class_name=class_name, + compartment_id=compartment_id, + configuration=configuration, + data_read_in_bytes=data_read_in_bytes, + data_written_in_bytes=data_written_in_bytes, + defined_tags=defined_tags, + display_name=display_name, + driver_shape=driver_shape, + driver_shape_config=driver_shape_config, + execute=execute, + executor_shape=executor_shape, + executor_shape_config=executor_shape_config, + file_uri=file_uri, + freeform_tags=freeform_tags, + idle_timeout_in_minutes=idle_timeout_in_minutes, + language=language, + lifecycle_details=lifecycle_details, + logs_bucket_uri=logs_bucket_uri, + max_duration_in_minutes=max_duration_in_minutes, + metastore_id=metastore_id, + num_executors=num_executors, + opc_request_id=opc_request_id, + owner_principal_id=owner_principal_id, + owner_user_name=owner_user_name, + parameters=parameters, + pool_id=pool_id, + private_endpoint_dns_zones=private_endpoint_dns_zones, + private_endpoint_id=private_endpoint_id, + private_endpoint_max_host_count=private_endpoint_max_host_count, + private_endpoint_nsg_ids=private_endpoint_nsg_ids, + private_endpoint_subnet_id=private_endpoint_subnet_id, + run_duration_in_milliseconds=run_duration_in_milliseconds, + spark_version=spark_version, + state=state, + time_created=time_created, + time_updated=time_updated, + total_ocpu=total_ocpu, + type=type, + warehouse_bucket_uri=warehouse_bucket_uri, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + application_id: Optional[pulumi.Input[str]] = None, + application_log_config: Optional[pulumi.Input['InvokeRunApplicationLogConfigArgs']] = None, + archive_uri: Optional[pulumi.Input[str]] = None, + arguments: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + asynchronous: Optional[pulumi.Input[bool]] = None, + class_name: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + configuration: Optional[pulumi.Input[Mapping[str, Any]]] = None, + data_read_in_bytes: Optional[pulumi.Input[str]] = None, + data_written_in_bytes: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + driver_shape: Optional[pulumi.Input[str]] = None, + driver_shape_config: Optional[pulumi.Input['InvokeRunDriverShapeConfigArgs']] = None, + execute: Optional[pulumi.Input[str]] = None, + executor_shape: Optional[pulumi.Input[str]] = None, + executor_shape_config: Optional[pulumi.Input['InvokeRunExecutorShapeConfigArgs']] = None, + file_uri: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + idle_timeout_in_minutes: Optional[pulumi.Input[str]] = None, + language: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + logs_bucket_uri: Optional[pulumi.Input[str]] = None, + max_duration_in_minutes: Optional[pulumi.Input[str]] = None, + metastore_id: Optional[pulumi.Input[str]] = None, + num_executors: Optional[pulumi.Input[int]] = None, + opc_request_id: Optional[pulumi.Input[str]] = None, + owner_principal_id: Optional[pulumi.Input[str]] = None, + owner_user_name: Optional[pulumi.Input[str]] = None, + parameters: Optional[pulumi.Input[Sequence[pulumi.Input['InvokeRunParameterArgs']]]] = None, + pool_id: Optional[pulumi.Input[str]] = None, + private_endpoint_dns_zones: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + private_endpoint_id: Optional[pulumi.Input[str]] = None, + private_endpoint_max_host_count: Optional[pulumi.Input[int]] = None, + private_endpoint_nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + private_endpoint_subnet_id: Optional[pulumi.Input[str]] = None, + run_duration_in_milliseconds: Optional[pulumi.Input[str]] = None, + spark_version: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + total_ocpu: Optional[pulumi.Input[int]] = None, + type: Optional[pulumi.Input[str]] = None, + warehouse_bucket_uri: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if application_id is not None: - pulumi.set(__self__, "application_id", application_id) + _setter("application_id", application_id) if application_log_config is not None: - pulumi.set(__self__, "application_log_config", application_log_config) + _setter("application_log_config", application_log_config) if archive_uri is not None: - pulumi.set(__self__, "archive_uri", archive_uri) + _setter("archive_uri", archive_uri) if arguments is not None: - pulumi.set(__self__, "arguments", arguments) + _setter("arguments", arguments) if asynchronous is not None: - pulumi.set(__self__, "asynchronous", asynchronous) + _setter("asynchronous", asynchronous) if class_name is not None: - pulumi.set(__self__, "class_name", class_name) + _setter("class_name", class_name) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if configuration is not None: - pulumi.set(__self__, "configuration", configuration) + _setter("configuration", configuration) if data_read_in_bytes is not None: - pulumi.set(__self__, "data_read_in_bytes", data_read_in_bytes) + _setter("data_read_in_bytes", data_read_in_bytes) if data_written_in_bytes is not None: - pulumi.set(__self__, "data_written_in_bytes", data_written_in_bytes) + _setter("data_written_in_bytes", data_written_in_bytes) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if driver_shape is not None: - pulumi.set(__self__, "driver_shape", driver_shape) + _setter("driver_shape", driver_shape) if driver_shape_config is not None: - pulumi.set(__self__, "driver_shape_config", driver_shape_config) + _setter("driver_shape_config", driver_shape_config) if execute is not None: - pulumi.set(__self__, "execute", execute) + _setter("execute", execute) if executor_shape is not None: - pulumi.set(__self__, "executor_shape", executor_shape) + _setter("executor_shape", executor_shape) if executor_shape_config is not None: - pulumi.set(__self__, "executor_shape_config", executor_shape_config) + _setter("executor_shape_config", executor_shape_config) if file_uri is not None: - pulumi.set(__self__, "file_uri", file_uri) + _setter("file_uri", file_uri) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if idle_timeout_in_minutes is not None: - pulumi.set(__self__, "idle_timeout_in_minutes", idle_timeout_in_minutes) + _setter("idle_timeout_in_minutes", idle_timeout_in_minutes) if language is not None: - pulumi.set(__self__, "language", language) + _setter("language", language) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if logs_bucket_uri is not None: - pulumi.set(__self__, "logs_bucket_uri", logs_bucket_uri) + _setter("logs_bucket_uri", logs_bucket_uri) if max_duration_in_minutes is not None: - pulumi.set(__self__, "max_duration_in_minutes", max_duration_in_minutes) + _setter("max_duration_in_minutes", max_duration_in_minutes) if metastore_id is not None: - pulumi.set(__self__, "metastore_id", metastore_id) + _setter("metastore_id", metastore_id) if num_executors is not None: - pulumi.set(__self__, "num_executors", num_executors) + _setter("num_executors", num_executors) if opc_request_id is not None: - pulumi.set(__self__, "opc_request_id", opc_request_id) + _setter("opc_request_id", opc_request_id) if owner_principal_id is not None: - pulumi.set(__self__, "owner_principal_id", owner_principal_id) + _setter("owner_principal_id", owner_principal_id) if owner_user_name is not None: - pulumi.set(__self__, "owner_user_name", owner_user_name) + _setter("owner_user_name", owner_user_name) if parameters is not None: - pulumi.set(__self__, "parameters", parameters) + _setter("parameters", parameters) if pool_id is not None: - pulumi.set(__self__, "pool_id", pool_id) + _setter("pool_id", pool_id) if private_endpoint_dns_zones is not None: - pulumi.set(__self__, "private_endpoint_dns_zones", private_endpoint_dns_zones) + _setter("private_endpoint_dns_zones", private_endpoint_dns_zones) if private_endpoint_id is not None: - pulumi.set(__self__, "private_endpoint_id", private_endpoint_id) + _setter("private_endpoint_id", private_endpoint_id) if private_endpoint_max_host_count is not None: - pulumi.set(__self__, "private_endpoint_max_host_count", private_endpoint_max_host_count) + _setter("private_endpoint_max_host_count", private_endpoint_max_host_count) if private_endpoint_nsg_ids is not None: - pulumi.set(__self__, "private_endpoint_nsg_ids", private_endpoint_nsg_ids) + _setter("private_endpoint_nsg_ids", private_endpoint_nsg_ids) if private_endpoint_subnet_id is not None: - pulumi.set(__self__, "private_endpoint_subnet_id", private_endpoint_subnet_id) + _setter("private_endpoint_subnet_id", private_endpoint_subnet_id) if run_duration_in_milliseconds is not None: - pulumi.set(__self__, "run_duration_in_milliseconds", run_duration_in_milliseconds) + _setter("run_duration_in_milliseconds", run_duration_in_milliseconds) if spark_version is not None: - pulumi.set(__self__, "spark_version", spark_version) + _setter("spark_version", spark_version) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if total_ocpu is not None: - pulumi.set(__self__, "total_ocpu", total_ocpu) + _setter("total_ocpu", total_ocpu) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if warehouse_bucket_uri is not None: - pulumi.set(__self__, "warehouse_bucket_uri", warehouse_bucket_uri) + _setter("warehouse_bucket_uri", warehouse_bucket_uri) @property @pulumi.getter(name="applicationId") @@ -1348,6 +1500,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + InvokeRunArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -1388,6 +1544,11 @@ def _internal_init(__self__, __props__ = InvokeRunArgs.__new__(InvokeRunArgs) __props__.__dict__["application_id"] = application_id + if application_log_config is not None and not isinstance(application_log_config, InvokeRunApplicationLogConfigArgs): + application_log_config = application_log_config or {} + def _setter(key, value): + application_log_config[key] = value + InvokeRunApplicationLogConfigArgs._configure(_setter, **application_log_config) __props__.__dict__["application_log_config"] = application_log_config __props__.__dict__["archive_uri"] = archive_uri __props__.__dict__["arguments"] = arguments @@ -1399,9 +1560,19 @@ def _internal_init(__self__, __props__.__dict__["defined_tags"] = defined_tags __props__.__dict__["display_name"] = display_name __props__.__dict__["driver_shape"] = driver_shape + if driver_shape_config is not None and not isinstance(driver_shape_config, InvokeRunDriverShapeConfigArgs): + driver_shape_config = driver_shape_config or {} + def _setter(key, value): + driver_shape_config[key] = value + InvokeRunDriverShapeConfigArgs._configure(_setter, **driver_shape_config) __props__.__dict__["driver_shape_config"] = driver_shape_config __props__.__dict__["execute"] = execute __props__.__dict__["executor_shape"] = executor_shape + if executor_shape_config is not None and not isinstance(executor_shape_config, InvokeRunExecutorShapeConfigArgs): + executor_shape_config = executor_shape_config or {} + def _setter(key, value): + executor_shape_config[key] = value + InvokeRunExecutorShapeConfigArgs._configure(_setter, **executor_shape_config) __props__.__dict__["executor_shape_config"] = executor_shape_config __props__.__dict__["freeform_tags"] = freeform_tags __props__.__dict__["idle_timeout_in_minutes"] = idle_timeout_in_minutes diff --git a/sdk/python/pulumi_oci/dataflow/outputs.py b/sdk/python/pulumi_oci/dataflow/outputs.py index fb59dd9d74..dc22ba5bdf 100644 --- a/sdk/python/pulumi_oci/dataflow/outputs.py +++ b/sdk/python/pulumi_oci/dataflow/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -119,8 +119,19 @@ def __init__(__self__, *, :param str log_group_id: (Updatable) The log group id for where log objects will be for Data Flow Runs. :param str log_id: (Updatable) The log id of the log object the Application Logs of Data Flow Run will be shipped to. """ - pulumi.set(__self__, "log_group_id", log_group_id) - pulumi.set(__self__, "log_id", log_id) + ApplicationApplicationLogConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + log_group_id=log_group_id, + log_id=log_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + log_group_id: str, + log_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("log_group_id", log_group_id) + _setter("log_id", log_id) @property @pulumi.getter(name="logGroupId") @@ -165,10 +176,21 @@ def __init__(__self__, *, :param float memory_in_gbs: (Updatable) The amount of memory used for the driver or executors. :param float ocpus: (Updatable) The total number of OCPUs used for the driver or executors. See [here](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/Shape/) for details. """ + ApplicationDriverShapeConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: Optional[float] = None, + ocpus: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions]=None): if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) if ocpus is not None: - pulumi.set(__self__, "ocpus", ocpus) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -213,10 +235,21 @@ def __init__(__self__, *, :param float memory_in_gbs: (Updatable) The amount of memory used for the driver or executors. :param float ocpus: (Updatable) The total number of OCPUs used for the driver or executors. See [here](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/Shape/) for details. """ + ApplicationExecutorShapeConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: Optional[float] = None, + ocpus: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions]=None): if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) if ocpus is not None: - pulumi.set(__self__, "ocpus", ocpus) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -244,8 +277,19 @@ def __init__(__self__, *, :param str name: (Updatable) The name of the parameter. It must be a string of one or more word characters (a-z, A-Z, 0-9, _). Examples: "iterations", "input_file" :param str value: (Updatable) The value of the parameter. It must be a string of 0 or more characters of any kind. Examples: "" (empty string), "10", "mydata.xml", "${x}" """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + ApplicationParameter._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("value", value) @property @pulumi.getter @@ -292,8 +336,19 @@ def __init__(__self__, *, :param str log_group_id: The log group id for where log objects will be for Data Flow Runs. :param str log_id: The log id of the log object the Application Logs of Data Flow Run will be shipped to. """ - pulumi.set(__self__, "log_group_id", log_group_id) - pulumi.set(__self__, "log_id", log_id) + InvokeRunApplicationLogConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + log_group_id=log_group_id, + log_id=log_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + log_group_id: str, + log_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("log_group_id", log_group_id) + _setter("log_id", log_id) @property @pulumi.getter(name="logGroupId") @@ -338,10 +393,21 @@ def __init__(__self__, *, :param float memory_in_gbs: The amount of memory used for the driver or executors. :param float ocpus: The total number of OCPUs used for the driver or executors. See [here](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/Shape/) for details. """ + InvokeRunDriverShapeConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: Optional[float] = None, + ocpus: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions]=None): if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) if ocpus is not None: - pulumi.set(__self__, "ocpus", ocpus) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -386,10 +452,21 @@ def __init__(__self__, *, :param float memory_in_gbs: The amount of memory used for the driver or executors. :param float ocpus: The total number of OCPUs used for the driver or executors. See [here](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/Shape/) for details. """ + InvokeRunExecutorShapeConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: Optional[float] = None, + ocpus: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions]=None): if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) if ocpus is not None: - pulumi.set(__self__, "ocpus", ocpus) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -417,8 +494,19 @@ def __init__(__self__, *, :param str name: The name of the parameter. It must be a string of one or more word characters (a-z, A-Z, 0-9, _). Examples: "iterations", "input_file" :param str value: The value of the parameter. It must be a string of 0 or more characters of any kind. Examples: "" (empty string), "10", "mydata.xml", "${x}" """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + InvokeRunParameter._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("value", value) @property @pulumi.getter @@ -467,14 +555,29 @@ def __init__(__self__, *, :param str shape: (Updatable) The compute shape of the resources you would like to provision. :param 'PoolConfigurationShapeConfigArgs' shape_config: (Updatable) This is used to configure the shape of the driver or executor if a flexible shape is used. """ + PoolConfiguration._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + shape=shape, + shape_config=shape_config, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: Optional[int] = None, + min: Optional[int] = None, + shape: Optional[str] = None, + shape_config: Optional['outputs.PoolConfigurationShapeConfig'] = None, + opts: Optional[pulumi.ResourceOptions]=None): if max is not None: - pulumi.set(__self__, "max", max) + _setter("max", max) if min is not None: - pulumi.set(__self__, "min", min) + _setter("min", min) if shape is not None: - pulumi.set(__self__, "shape", shape) + _setter("shape", shape) if shape_config is not None: - pulumi.set(__self__, "shape_config", shape_config) + _setter("shape_config", shape_config) @property @pulumi.getter @@ -535,10 +638,21 @@ def __init__(__self__, *, :param float memory_in_gbs: (Updatable) The amount of memory used for the driver or executors. :param float ocpus: (Updatable) The total number of OCPUs used for the driver or executors. See [here](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/Shape/) for details. """ + PoolConfigurationShapeConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: Optional[float] = None, + ocpus: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions]=None): if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) if ocpus is not None: - pulumi.set(__self__, "ocpus", ocpus) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -601,18 +715,37 @@ def __init__(__self__, *, :param str time_last_stopped: The last time this pool was stopped. :param str time_last_used: The last time a run used this pool. """ + PoolPoolMetric._configure( + lambda key, value: pulumi.set(__self__, key, value), + active_runs_count=active_runs_count, + actively_used_node_counts=actively_used_node_counts, + time_last_metrics_updated=time_last_metrics_updated, + time_last_started=time_last_started, + time_last_stopped=time_last_stopped, + time_last_used=time_last_used, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + active_runs_count: Optional[str] = None, + actively_used_node_counts: Optional[Sequence['outputs.PoolPoolMetricActivelyUsedNodeCount']] = None, + time_last_metrics_updated: Optional[str] = None, + time_last_started: Optional[str] = None, + time_last_stopped: Optional[str] = None, + time_last_used: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if active_runs_count is not None: - pulumi.set(__self__, "active_runs_count", active_runs_count) + _setter("active_runs_count", active_runs_count) if actively_used_node_counts is not None: - pulumi.set(__self__, "actively_used_node_counts", actively_used_node_counts) + _setter("actively_used_node_counts", actively_used_node_counts) if time_last_metrics_updated is not None: - pulumi.set(__self__, "time_last_metrics_updated", time_last_metrics_updated) + _setter("time_last_metrics_updated", time_last_metrics_updated) if time_last_started is not None: - pulumi.set(__self__, "time_last_started", time_last_started) + _setter("time_last_started", time_last_started) if time_last_stopped is not None: - pulumi.set(__self__, "time_last_stopped", time_last_stopped) + _setter("time_last_stopped", time_last_stopped) if time_last_used is not None: - pulumi.set(__self__, "time_last_used", time_last_used) + _setter("time_last_used", time_last_used) @property @pulumi.getter(name="activeRunsCount") @@ -691,10 +824,21 @@ def __init__(__self__, *, :param str logical_shape: The compute shape of the nodes that the count is for. :param int pool_count: The node count of this compute shape. """ + PoolPoolMetricActivelyUsedNodeCount._configure( + lambda key, value: pulumi.set(__self__, key, value), + logical_shape=logical_shape, + pool_count=pool_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + logical_shape: Optional[str] = None, + pool_count: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if logical_shape is not None: - pulumi.set(__self__, "logical_shape", logical_shape) + _setter("logical_shape", logical_shape) if pool_count is not None: - pulumi.set(__self__, "pool_count", pool_count) + _setter("pool_count", pool_count) @property @pulumi.getter(name="logicalShape") @@ -745,12 +889,25 @@ def __init__(__self__, *, :param int start_time: (Updatable) Hour of the day to start or stop pool. :param int stop_time: (Updatable) Hour of the day to stop the pool. """ + PoolSchedule._configure( + lambda key, value: pulumi.set(__self__, key, value), + day_of_week=day_of_week, + start_time=start_time, + stop_time=stop_time, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + day_of_week: Optional[str] = None, + start_time: Optional[int] = None, + stop_time: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if day_of_week is not None: - pulumi.set(__self__, "day_of_week", day_of_week) + _setter("day_of_week", day_of_week) if start_time is not None: - pulumi.set(__self__, "start_time", start_time) + _setter("start_time", start_time) if stop_time is not None: - pulumi.set(__self__, "stop_time", stop_time) + _setter("stop_time", stop_time) @property @pulumi.getter(name="dayOfWeek") @@ -786,10 +943,21 @@ def __init__(__self__, *, :param str fqdn: (Updatable) A fully-qualified domain name (FQDN). :param str port: (Updatable) The port number of the FQDN """ + PrivateEndpointScanDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + fqdn=fqdn, + port=port, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + fqdn: Optional[str] = None, + port: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if fqdn is not None: - pulumi.set(__self__, "fqdn", fqdn) + _setter("fqdn", fqdn) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) @property @pulumi.getter @@ -842,16 +1010,33 @@ def __init__(__self__, *, :param str status: Status of the statement output. :param Sequence[str] tracebacks: The traceback of the statement output. """ + RunStatementOutput._configure( + lambda key, value: pulumi.set(__self__, key, value), + datas=datas, + error_name=error_name, + error_value=error_value, + status=status, + tracebacks=tracebacks, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + datas: Optional[Sequence['outputs.RunStatementOutputData']] = None, + error_name: Optional[str] = None, + error_value: Optional[str] = None, + status: Optional[str] = None, + tracebacks: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if datas is not None: - pulumi.set(__self__, "datas", datas) + _setter("datas", datas) if error_name is not None: - pulumi.set(__self__, "error_name", error_name) + _setter("error_name", error_name) if error_value is not None: - pulumi.set(__self__, "error_value", error_value) + _setter("error_value", error_value) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if tracebacks is not None: - pulumi.set(__self__, "tracebacks", tracebacks) + _setter("tracebacks", tracebacks) @property @pulumi.getter @@ -903,10 +1088,21 @@ def __init__(__self__, *, :param str type: The type of the `StatementOutputData` like `TEXT_PLAIN`, `TEXT_HTML` or `IMAGE_PNG`. :param str value: The statement code execution output in html format. """ + RunStatementOutputData._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -951,10 +1147,21 @@ def __init__(__self__, *, :param float memory_in_gbs: The amount of memory used for the driver or executors. :param float ocpus: The total number of OCPUs used for the driver or executors. See [here](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/Shape/) for details. """ + SqlEndpointDriverShapeConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: Optional[float] = None, + ocpus: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions]=None): if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) if ocpus is not None: - pulumi.set(__self__, "ocpus", ocpus) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -999,10 +1206,21 @@ def __init__(__self__, *, :param float memory_in_gbs: The amount of memory used for the driver or executors. :param float ocpus: The total number of OCPUs used for the driver or executors. See [here](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/Shape/) for details. """ + SqlEndpointExecutorShapeConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: Optional[float] = None, + ocpus: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions]=None): if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) if ocpus is not None: - pulumi.set(__self__, "ocpus", ocpus) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -1069,19 +1287,40 @@ def __init__(__self__, *, :param str subnet_id: The VCN Subnet OCID. :param str vcn_id: The VCN OCID. """ - pulumi.set(__self__, "network_type", network_type) + SqlEndpointNetworkConfiguration._configure( + lambda key, value: pulumi.set(__self__, key, value), + network_type=network_type, + access_control_rules=access_control_rules, + host_name_prefix=host_name_prefix, + private_endpoint_ip=private_endpoint_ip, + public_endpoint_ip=public_endpoint_ip, + subnet_id=subnet_id, + vcn_id=vcn_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + network_type: str, + access_control_rules: Optional[Sequence['outputs.SqlEndpointNetworkConfigurationAccessControlRule']] = None, + host_name_prefix: Optional[str] = None, + private_endpoint_ip: Optional[str] = None, + public_endpoint_ip: Optional[str] = None, + subnet_id: Optional[str] = None, + vcn_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("network_type", network_type) if access_control_rules is not None: - pulumi.set(__self__, "access_control_rules", access_control_rules) + _setter("access_control_rules", access_control_rules) if host_name_prefix is not None: - pulumi.set(__self__, "host_name_prefix", host_name_prefix) + _setter("host_name_prefix", host_name_prefix) if private_endpoint_ip is not None: - pulumi.set(__self__, "private_endpoint_ip", private_endpoint_ip) + _setter("private_endpoint_ip", private_endpoint_ip) if public_endpoint_ip is not None: - pulumi.set(__self__, "public_endpoint_ip", public_endpoint_ip) + _setter("public_endpoint_ip", public_endpoint_ip) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) if vcn_id is not None: - pulumi.set(__self__, "vcn_id", vcn_id) + _setter("vcn_id", vcn_id) @property @pulumi.getter(name="networkType") @@ -1170,12 +1409,25 @@ def __init__(__self__, *, :param str value: The associated value of the selected IP notation. :param str vcn_ips: A comma-separated IP or CIDR address for VCN OCID IP notation selection. """ + SqlEndpointNetworkConfigurationAccessControlRule._configure( + lambda key, value: pulumi.set(__self__, key, value), + ip_notation=ip_notation, + value=value, + vcn_ips=vcn_ips, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ip_notation: Optional[str] = None, + value: Optional[str] = None, + vcn_ips: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ip_notation is not None: - pulumi.set(__self__, "ip_notation", ip_notation) + _setter("ip_notation", ip_notation) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) if vcn_ips is not None: - pulumi.set(__self__, "vcn_ips", vcn_ips) + _setter("vcn_ips", vcn_ips) @property @pulumi.getter(name="ipNotation") @@ -1211,8 +1463,19 @@ def __init__(__self__, *, :param str log_group_id: The log group id for where log objects will be for Data Flow Runs. :param str log_id: The log id of the log object the Application Logs of Data Flow Run will be shipped to. """ - pulumi.set(__self__, "log_group_id", log_group_id) - pulumi.set(__self__, "log_id", log_id) + GetApplicationApplicationLogConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + log_group_id=log_group_id, + log_id=log_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + log_group_id: str, + log_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("log_group_id", log_group_id) + _setter("log_id", log_id) @property @pulumi.getter(name="logGroupId") @@ -1240,8 +1503,19 @@ def __init__(__self__, *, :param float memory_in_gbs: The amount of memory used for the driver or executors. :param float ocpus: The total number of OCPUs used for the driver or executors. See [here](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/Shape/) for details. """ - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "ocpus", ocpus) + GetApplicationDriverShapeConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: float, + ocpus: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("memory_in_gbs", memory_in_gbs) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -1269,8 +1543,19 @@ def __init__(__self__, *, :param float memory_in_gbs: The amount of memory used for the driver or executors. :param float ocpus: The total number of OCPUs used for the driver or executors. See [here](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/Shape/) for details. """ - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "ocpus", ocpus) + GetApplicationExecutorShapeConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: float, + ocpus: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("memory_in_gbs", memory_in_gbs) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -1298,8 +1583,19 @@ def __init__(__self__, *, :param str name: The name of the parameter. It must be a string of one or more word characters (a-z, A-Z, 0-9, _). Examples: "iterations", "input_file" :param str value: The value of the parameter. It must be a string of 0 or more characters of any kind. Examples: "" (empty string), "10", "mydata.xml", "${x}" """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + GetApplicationParameterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("value", value) @property @pulumi.getter @@ -1391,40 +1687,115 @@ def __init__(__self__, *, :param str type: The Spark application processing type. :param str warehouse_bucket_uri: An Oracle Cloud Infrastructure URI of the bucket to be used as default warehouse directory for BATCH SQL runs. See https://docs.cloud.oracle.com/iaas/Content/API/SDKDocs/hdfsconnector.htm#uriformat. """ - pulumi.set(__self__, "application_log_configs", application_log_configs) - pulumi.set(__self__, "archive_uri", archive_uri) - pulumi.set(__self__, "arguments", arguments) - pulumi.set(__self__, "class_name", class_name) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "configuration", configuration) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "driver_shape", driver_shape) - pulumi.set(__self__, "driver_shape_configs", driver_shape_configs) - pulumi.set(__self__, "execute", execute) - pulumi.set(__self__, "executor_shape", executor_shape) - pulumi.set(__self__, "executor_shape_configs", executor_shape_configs) - pulumi.set(__self__, "file_uri", file_uri) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "idle_timeout_in_minutes", idle_timeout_in_minutes) - pulumi.set(__self__, "language", language) - pulumi.set(__self__, "logs_bucket_uri", logs_bucket_uri) - pulumi.set(__self__, "max_duration_in_minutes", max_duration_in_minutes) - pulumi.set(__self__, "metastore_id", metastore_id) - pulumi.set(__self__, "num_executors", num_executors) - pulumi.set(__self__, "owner_principal_id", owner_principal_id) - pulumi.set(__self__, "owner_user_name", owner_user_name) - pulumi.set(__self__, "parameters", parameters) - pulumi.set(__self__, "pool_id", pool_id) - pulumi.set(__self__, "private_endpoint_id", private_endpoint_id) - pulumi.set(__self__, "spark_version", spark_version) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "warehouse_bucket_uri", warehouse_bucket_uri) + GetApplicationsApplicationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + application_log_configs=application_log_configs, + archive_uri=archive_uri, + arguments=arguments, + class_name=class_name, + compartment_id=compartment_id, + configuration=configuration, + defined_tags=defined_tags, + description=description, + display_name=display_name, + driver_shape=driver_shape, + driver_shape_configs=driver_shape_configs, + execute=execute, + executor_shape=executor_shape, + executor_shape_configs=executor_shape_configs, + file_uri=file_uri, + freeform_tags=freeform_tags, + id=id, + idle_timeout_in_minutes=idle_timeout_in_minutes, + language=language, + logs_bucket_uri=logs_bucket_uri, + max_duration_in_minutes=max_duration_in_minutes, + metastore_id=metastore_id, + num_executors=num_executors, + owner_principal_id=owner_principal_id, + owner_user_name=owner_user_name, + parameters=parameters, + pool_id=pool_id, + private_endpoint_id=private_endpoint_id, + spark_version=spark_version, + state=state, + time_created=time_created, + time_updated=time_updated, + type=type, + warehouse_bucket_uri=warehouse_bucket_uri, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + application_log_configs: Sequence['outputs.GetApplicationsApplicationApplicationLogConfigResult'], + archive_uri: str, + arguments: Sequence[str], + class_name: str, + compartment_id: str, + configuration: Mapping[str, Any], + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + driver_shape: str, + driver_shape_configs: Sequence['outputs.GetApplicationsApplicationDriverShapeConfigResult'], + execute: str, + executor_shape: str, + executor_shape_configs: Sequence['outputs.GetApplicationsApplicationExecutorShapeConfigResult'], + file_uri: str, + freeform_tags: Mapping[str, Any], + id: str, + idle_timeout_in_minutes: str, + language: str, + logs_bucket_uri: str, + max_duration_in_minutes: str, + metastore_id: str, + num_executors: int, + owner_principal_id: str, + owner_user_name: str, + parameters: Sequence['outputs.GetApplicationsApplicationParameterResult'], + pool_id: str, + private_endpoint_id: str, + spark_version: str, + state: str, + time_created: str, + time_updated: str, + type: str, + warehouse_bucket_uri: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("application_log_configs", application_log_configs) + _setter("archive_uri", archive_uri) + _setter("arguments", arguments) + _setter("class_name", class_name) + _setter("compartment_id", compartment_id) + _setter("configuration", configuration) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("driver_shape", driver_shape) + _setter("driver_shape_configs", driver_shape_configs) + _setter("execute", execute) + _setter("executor_shape", executor_shape) + _setter("executor_shape_configs", executor_shape_configs) + _setter("file_uri", file_uri) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("idle_timeout_in_minutes", idle_timeout_in_minutes) + _setter("language", language) + _setter("logs_bucket_uri", logs_bucket_uri) + _setter("max_duration_in_minutes", max_duration_in_minutes) + _setter("metastore_id", metastore_id) + _setter("num_executors", num_executors) + _setter("owner_principal_id", owner_principal_id) + _setter("owner_user_name", owner_user_name) + _setter("parameters", parameters) + _setter("pool_id", pool_id) + _setter("private_endpoint_id", private_endpoint_id) + _setter("spark_version", spark_version) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("type", type) + _setter("warehouse_bucket_uri", warehouse_bucket_uri) @property @pulumi.getter(name="applicationLogConfigs") @@ -1708,8 +2079,19 @@ def __init__(__self__, *, :param str log_group_id: The log group id for where log objects will be for Data Flow Runs. :param str log_id: The log id of the log object the Application Logs of Data Flow Run will be shipped to. """ - pulumi.set(__self__, "log_group_id", log_group_id) - pulumi.set(__self__, "log_id", log_id) + GetApplicationsApplicationApplicationLogConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + log_group_id=log_group_id, + log_id=log_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + log_group_id: str, + log_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("log_group_id", log_group_id) + _setter("log_id", log_id) @property @pulumi.getter(name="logGroupId") @@ -1737,8 +2119,19 @@ def __init__(__self__, *, :param float memory_in_gbs: The amount of memory used for the driver or executors. :param float ocpus: The total number of OCPUs used for the driver or executors. See [here](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/Shape/) for details. """ - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "ocpus", ocpus) + GetApplicationsApplicationDriverShapeConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: float, + ocpus: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("memory_in_gbs", memory_in_gbs) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -1766,8 +2159,19 @@ def __init__(__self__, *, :param float memory_in_gbs: The amount of memory used for the driver or executors. :param float ocpus: The total number of OCPUs used for the driver or executors. See [here](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/Shape/) for details. """ - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "ocpus", ocpus) + GetApplicationsApplicationExecutorShapeConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: float, + ocpus: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("memory_in_gbs", memory_in_gbs) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -1795,8 +2199,19 @@ def __init__(__self__, *, :param str name: The name of the parameter. It must be a string of one or more word characters (a-z, A-Z, 0-9, _). Examples: "iterations", "input_file" :param str value: The value of the parameter. It must be a string of 0 or more characters of any kind. Examples: "" (empty string), "10", "mydata.xml", "${x}" """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + GetApplicationsApplicationParameterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("value", value) @property @pulumi.getter @@ -1824,10 +2239,23 @@ def __init__(__self__, *, """ :param str name: The name of the parameter. It must be a string of one or more word characters (a-z, A-Z, 0-9, _). Examples: "iterations", "input_file" """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetApplicationsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1857,8 +2285,19 @@ def __init__(__self__, *, :param str log_group_id: The log group id for where log objects will be for Data Flow Runs. :param str log_id: The log id of the log object the Application Logs of Data Flow Run will be shipped to. """ - pulumi.set(__self__, "log_group_id", log_group_id) - pulumi.set(__self__, "log_id", log_id) + GetInvokeRunApplicationLogConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + log_group_id=log_group_id, + log_id=log_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + log_group_id: str, + log_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("log_group_id", log_group_id) + _setter("log_id", log_id) @property @pulumi.getter(name="logGroupId") @@ -1886,8 +2325,19 @@ def __init__(__self__, *, :param float memory_in_gbs: The amount of memory used for the driver or executors. :param float ocpus: The total number of OCPUs used for the driver or executors. See [here](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/Shape/) for details. """ - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "ocpus", ocpus) + GetInvokeRunDriverShapeConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: float, + ocpus: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("memory_in_gbs", memory_in_gbs) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -1915,8 +2365,19 @@ def __init__(__self__, *, :param float memory_in_gbs: The amount of memory used for the driver or executors. :param float ocpus: The total number of OCPUs used for the driver or executors. See [here](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/Shape/) for details. """ - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "ocpus", ocpus) + GetInvokeRunExecutorShapeConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: float, + ocpus: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("memory_in_gbs", memory_in_gbs) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -1944,8 +2405,19 @@ def __init__(__self__, *, :param str name: The name of the parameter. It must be a string of one or more word characters (a-z, A-Z, 0-9, _). Examples: "iterations", "input_file" :param str value: The value of the parameter. It must be a string of 0 or more characters of any kind. Examples: "" (empty string), "10", "mydata.xml", "${x}" """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + GetInvokeRunParameterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("value", value) @property @pulumi.getter @@ -1973,10 +2445,23 @@ def __init__(__self__, *, """ :param str name: The name of the parameter. It must be a string of one or more word characters (a-z, A-Z, 0-9, _). Examples: "iterations", "input_file" """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetInvokeRunsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2091,51 +2576,148 @@ def __init__(__self__, *, :param str type: The Spark application processing type. :param str warehouse_bucket_uri: An Oracle Cloud Infrastructure URI of the bucket to be used as default warehouse directory for BATCH SQL runs. See https://docs.cloud.oracle.com/iaas/Content/API/SDKDocs/hdfsconnector.htm#uriformat. """ - pulumi.set(__self__, "application_id", application_id) - pulumi.set(__self__, "application_log_configs", application_log_configs) - pulumi.set(__self__, "archive_uri", archive_uri) - pulumi.set(__self__, "arguments", arguments) - pulumi.set(__self__, "asynchronous", asynchronous) - pulumi.set(__self__, "class_name", class_name) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "configuration", configuration) - pulumi.set(__self__, "data_read_in_bytes", data_read_in_bytes) - pulumi.set(__self__, "data_written_in_bytes", data_written_in_bytes) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "driver_shape", driver_shape) - pulumi.set(__self__, "driver_shape_configs", driver_shape_configs) - pulumi.set(__self__, "execute", execute) - pulumi.set(__self__, "executor_shape", executor_shape) - pulumi.set(__self__, "executor_shape_configs", executor_shape_configs) - pulumi.set(__self__, "file_uri", file_uri) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "idle_timeout_in_minutes", idle_timeout_in_minutes) - pulumi.set(__self__, "language", language) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "logs_bucket_uri", logs_bucket_uri) - pulumi.set(__self__, "max_duration_in_minutes", max_duration_in_minutes) - pulumi.set(__self__, "metastore_id", metastore_id) - pulumi.set(__self__, "num_executors", num_executors) - pulumi.set(__self__, "opc_request_id", opc_request_id) - pulumi.set(__self__, "owner_principal_id", owner_principal_id) - pulumi.set(__self__, "owner_user_name", owner_user_name) - pulumi.set(__self__, "parameters", parameters) - pulumi.set(__self__, "pool_id", pool_id) - pulumi.set(__self__, "private_endpoint_dns_zones", private_endpoint_dns_zones) - pulumi.set(__self__, "private_endpoint_id", private_endpoint_id) - pulumi.set(__self__, "private_endpoint_max_host_count", private_endpoint_max_host_count) - pulumi.set(__self__, "private_endpoint_nsg_ids", private_endpoint_nsg_ids) - pulumi.set(__self__, "private_endpoint_subnet_id", private_endpoint_subnet_id) - pulumi.set(__self__, "run_duration_in_milliseconds", run_duration_in_milliseconds) - pulumi.set(__self__, "spark_version", spark_version) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "total_ocpu", total_ocpu) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "warehouse_bucket_uri", warehouse_bucket_uri) + GetInvokeRunsRunResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + application_id=application_id, + application_log_configs=application_log_configs, + archive_uri=archive_uri, + arguments=arguments, + asynchronous=asynchronous, + class_name=class_name, + compartment_id=compartment_id, + configuration=configuration, + data_read_in_bytes=data_read_in_bytes, + data_written_in_bytes=data_written_in_bytes, + defined_tags=defined_tags, + display_name=display_name, + driver_shape=driver_shape, + driver_shape_configs=driver_shape_configs, + execute=execute, + executor_shape=executor_shape, + executor_shape_configs=executor_shape_configs, + file_uri=file_uri, + freeform_tags=freeform_tags, + id=id, + idle_timeout_in_minutes=idle_timeout_in_minutes, + language=language, + lifecycle_details=lifecycle_details, + logs_bucket_uri=logs_bucket_uri, + max_duration_in_minutes=max_duration_in_minutes, + metastore_id=metastore_id, + num_executors=num_executors, + opc_request_id=opc_request_id, + owner_principal_id=owner_principal_id, + owner_user_name=owner_user_name, + parameters=parameters, + pool_id=pool_id, + private_endpoint_dns_zones=private_endpoint_dns_zones, + private_endpoint_id=private_endpoint_id, + private_endpoint_max_host_count=private_endpoint_max_host_count, + private_endpoint_nsg_ids=private_endpoint_nsg_ids, + private_endpoint_subnet_id=private_endpoint_subnet_id, + run_duration_in_milliseconds=run_duration_in_milliseconds, + spark_version=spark_version, + state=state, + time_created=time_created, + time_updated=time_updated, + total_ocpu=total_ocpu, + type=type, + warehouse_bucket_uri=warehouse_bucket_uri, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + application_id: str, + application_log_configs: Sequence['outputs.GetInvokeRunsRunApplicationLogConfigResult'], + archive_uri: str, + arguments: Sequence[str], + asynchronous: bool, + class_name: str, + compartment_id: str, + configuration: Mapping[str, Any], + data_read_in_bytes: str, + data_written_in_bytes: str, + defined_tags: Mapping[str, Any], + display_name: str, + driver_shape: str, + driver_shape_configs: Sequence['outputs.GetInvokeRunsRunDriverShapeConfigResult'], + execute: str, + executor_shape: str, + executor_shape_configs: Sequence['outputs.GetInvokeRunsRunExecutorShapeConfigResult'], + file_uri: str, + freeform_tags: Mapping[str, Any], + id: str, + idle_timeout_in_minutes: str, + language: str, + lifecycle_details: str, + logs_bucket_uri: str, + max_duration_in_minutes: str, + metastore_id: str, + num_executors: int, + opc_request_id: str, + owner_principal_id: str, + owner_user_name: str, + parameters: Sequence['outputs.GetInvokeRunsRunParameterResult'], + pool_id: str, + private_endpoint_dns_zones: Sequence[str], + private_endpoint_id: str, + private_endpoint_max_host_count: int, + private_endpoint_nsg_ids: Sequence[str], + private_endpoint_subnet_id: str, + run_duration_in_milliseconds: str, + spark_version: str, + state: str, + time_created: str, + time_updated: str, + total_ocpu: int, + type: str, + warehouse_bucket_uri: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("application_id", application_id) + _setter("application_log_configs", application_log_configs) + _setter("archive_uri", archive_uri) + _setter("arguments", arguments) + _setter("asynchronous", asynchronous) + _setter("class_name", class_name) + _setter("compartment_id", compartment_id) + _setter("configuration", configuration) + _setter("data_read_in_bytes", data_read_in_bytes) + _setter("data_written_in_bytes", data_written_in_bytes) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("driver_shape", driver_shape) + _setter("driver_shape_configs", driver_shape_configs) + _setter("execute", execute) + _setter("executor_shape", executor_shape) + _setter("executor_shape_configs", executor_shape_configs) + _setter("file_uri", file_uri) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("idle_timeout_in_minutes", idle_timeout_in_minutes) + _setter("language", language) + _setter("lifecycle_details", lifecycle_details) + _setter("logs_bucket_uri", logs_bucket_uri) + _setter("max_duration_in_minutes", max_duration_in_minutes) + _setter("metastore_id", metastore_id) + _setter("num_executors", num_executors) + _setter("opc_request_id", opc_request_id) + _setter("owner_principal_id", owner_principal_id) + _setter("owner_user_name", owner_user_name) + _setter("parameters", parameters) + _setter("pool_id", pool_id) + _setter("private_endpoint_dns_zones", private_endpoint_dns_zones) + _setter("private_endpoint_id", private_endpoint_id) + _setter("private_endpoint_max_host_count", private_endpoint_max_host_count) + _setter("private_endpoint_nsg_ids", private_endpoint_nsg_ids) + _setter("private_endpoint_subnet_id", private_endpoint_subnet_id) + _setter("run_duration_in_milliseconds", run_duration_in_milliseconds) + _setter("spark_version", spark_version) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("total_ocpu", total_ocpu) + _setter("type", type) + _setter("warehouse_bucket_uri", warehouse_bucket_uri) @property @pulumi.getter(name="applicationId") @@ -2504,8 +3086,19 @@ def __init__(__self__, *, :param str log_group_id: The log group id for where log objects will be for Data Flow Runs. :param str log_id: The log id of the log object the Application Logs of Data Flow Run will be shipped to. """ - pulumi.set(__self__, "log_group_id", log_group_id) - pulumi.set(__self__, "log_id", log_id) + GetInvokeRunsRunApplicationLogConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + log_group_id=log_group_id, + log_id=log_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + log_group_id: str, + log_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("log_group_id", log_group_id) + _setter("log_id", log_id) @property @pulumi.getter(name="logGroupId") @@ -2533,8 +3126,19 @@ def __init__(__self__, *, :param float memory_in_gbs: The amount of memory used for the driver or executors. :param float ocpus: The total number of OCPUs used for the driver or executors. See [here](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/Shape/) for details. """ - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "ocpus", ocpus) + GetInvokeRunsRunDriverShapeConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: float, + ocpus: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("memory_in_gbs", memory_in_gbs) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -2562,8 +3166,19 @@ def __init__(__self__, *, :param float memory_in_gbs: The amount of memory used for the driver or executors. :param float ocpus: The total number of OCPUs used for the driver or executors. See [here](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/Shape/) for details. """ - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "ocpus", ocpus) + GetInvokeRunsRunExecutorShapeConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: float, + ocpus: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("memory_in_gbs", memory_in_gbs) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -2591,8 +3206,19 @@ def __init__(__self__, *, :param str name: The name of the parameter. It must be a string of one or more word characters (a-z, A-Z, 0-9, _). Examples: "iterations", "input_file" :param str value: The value of the parameter. It must be a string of 0 or more characters of any kind. Examples: "" (empty string), "10", "mydata.xml", "${x}" """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + GetInvokeRunsRunParameterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("value", value) @property @pulumi.getter @@ -2624,10 +3250,25 @@ def __init__(__self__, *, :param str shape: The compute shape of the resources you would like to provision. :param Sequence['GetPoolConfigurationShapeConfigArgs'] shape_configs: This is used to configure the shape of the driver or executor if a flexible shape is used. """ - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "min", min) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "shape_configs", shape_configs) + GetPoolConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + shape=shape, + shape_configs=shape_configs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: int, + min: int, + shape: str, + shape_configs: Sequence['outputs.GetPoolConfigurationShapeConfigResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max", max) + _setter("min", min) + _setter("shape", shape) + _setter("shape_configs", shape_configs) @property @pulumi.getter @@ -2671,8 +3312,19 @@ def __init__(__self__, *, :param float memory_in_gbs: The amount of memory used for the driver or executors. :param float ocpus: The total number of OCPUs used for the driver or executors. See [here](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/Shape/) for details. """ - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "ocpus", ocpus) + GetPoolConfigurationShapeConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: float, + ocpus: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("memory_in_gbs", memory_in_gbs) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -2708,12 +3360,31 @@ def __init__(__self__, *, :param str time_last_stopped: The last time this pool was stopped. :param str time_last_used: The last time a run used this pool. """ - pulumi.set(__self__, "active_runs_count", active_runs_count) - pulumi.set(__self__, "actively_used_node_counts", actively_used_node_counts) - pulumi.set(__self__, "time_last_metrics_updated", time_last_metrics_updated) - pulumi.set(__self__, "time_last_started", time_last_started) - pulumi.set(__self__, "time_last_stopped", time_last_stopped) - pulumi.set(__self__, "time_last_used", time_last_used) + GetPoolPoolMetricResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + active_runs_count=active_runs_count, + actively_used_node_counts=actively_used_node_counts, + time_last_metrics_updated=time_last_metrics_updated, + time_last_started=time_last_started, + time_last_stopped=time_last_stopped, + time_last_used=time_last_used, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + active_runs_count: str, + actively_used_node_counts: Sequence['outputs.GetPoolPoolMetricActivelyUsedNodeCountResult'], + time_last_metrics_updated: str, + time_last_started: str, + time_last_stopped: str, + time_last_used: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("active_runs_count", active_runs_count) + _setter("actively_used_node_counts", actively_used_node_counts) + _setter("time_last_metrics_updated", time_last_metrics_updated) + _setter("time_last_started", time_last_started) + _setter("time_last_stopped", time_last_stopped) + _setter("time_last_used", time_last_used) @property @pulumi.getter(name="activeRunsCount") @@ -2773,8 +3444,19 @@ def __init__(__self__, *, :param str logical_shape: The compute shape of the nodes that the count is for. :param int pool_count: The node count of this compute shape. """ - pulumi.set(__self__, "logical_shape", logical_shape) - pulumi.set(__self__, "pool_count", pool_count) + GetPoolPoolMetricActivelyUsedNodeCountResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + logical_shape=logical_shape, + pool_count=pool_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + logical_shape: str, + pool_count: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("logical_shape", logical_shape) + _setter("pool_count", pool_count) @property @pulumi.getter(name="logicalShape") @@ -2804,9 +3486,22 @@ def __init__(__self__, *, :param int start_time: Hour of the day to start or stop pool. :param int stop_time: Hour of the day to stop the pool. """ - pulumi.set(__self__, "day_of_week", day_of_week) - pulumi.set(__self__, "start_time", start_time) - pulumi.set(__self__, "stop_time", stop_time) + GetPoolScheduleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + day_of_week=day_of_week, + start_time=start_time, + stop_time=stop_time, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + day_of_week: str, + start_time: int, + stop_time: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("day_of_week", day_of_week) + _setter("start_time", start_time) + _setter("stop_time", stop_time) @property @pulumi.getter(name="dayOfWeek") @@ -2839,10 +3534,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetPoolsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2864,7 +3572,16 @@ def regex(self) -> Optional[bool]: class GetPoolsPoolCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetPoolsPoolCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetPoolsPoolCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetPoolsPoolCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -2909,22 +3626,61 @@ def __init__(__self__, *, :param str time_created: The date and time the resource was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` :param str time_updated: The date and time the resource was updated, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "configurations", configurations) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "idle_timeout_in_minutes", idle_timeout_in_minutes) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "owner_principal_id", owner_principal_id) - pulumi.set(__self__, "owner_user_name", owner_user_name) - pulumi.set(__self__, "pool_metrics", pool_metrics) - pulumi.set(__self__, "schedules", schedules) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetPoolsPoolCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + configurations=configurations, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + idle_timeout_in_minutes=idle_timeout_in_minutes, + lifecycle_details=lifecycle_details, + owner_principal_id=owner_principal_id, + owner_user_name=owner_user_name, + pool_metrics=pool_metrics, + schedules=schedules, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + configurations: Sequence['outputs.GetPoolsPoolCollectionItemConfigurationResult'], + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + idle_timeout_in_minutes: int, + lifecycle_details: str, + owner_principal_id: str, + owner_user_name: str, + pool_metrics: Sequence['outputs.GetPoolsPoolCollectionItemPoolMetricResult'], + schedules: Sequence['outputs.GetPoolsPoolCollectionItemScheduleResult'], + state: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("configurations", configurations) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("idle_timeout_in_minutes", idle_timeout_in_minutes) + _setter("lifecycle_details", lifecycle_details) + _setter("owner_principal_id", owner_principal_id) + _setter("owner_user_name", owner_user_name) + _setter("pool_metrics", pool_metrics) + _setter("schedules", schedules) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -3068,10 +3824,25 @@ def __init__(__self__, *, :param str shape: The compute shape of the resources you would like to provision. :param Sequence['GetPoolsPoolCollectionItemConfigurationShapeConfigArgs'] shape_configs: This is used to configure the shape of the driver or executor if a flexible shape is used. """ - pulumi.set(__self__, "max", max) - pulumi.set(__self__, "min", min) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "shape_configs", shape_configs) + GetPoolsPoolCollectionItemConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + max=max, + min=min, + shape=shape, + shape_configs=shape_configs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max: int, + min: int, + shape: str, + shape_configs: Sequence['outputs.GetPoolsPoolCollectionItemConfigurationShapeConfigResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max", max) + _setter("min", min) + _setter("shape", shape) + _setter("shape_configs", shape_configs) @property @pulumi.getter @@ -3115,8 +3886,19 @@ def __init__(__self__, *, :param float memory_in_gbs: The amount of memory used for the driver or executors. :param float ocpus: The total number of OCPUs used for the driver or executors. See [here](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/Shape/) for details. """ - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "ocpus", ocpus) + GetPoolsPoolCollectionItemConfigurationShapeConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: float, + ocpus: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("memory_in_gbs", memory_in_gbs) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -3152,12 +3934,31 @@ def __init__(__self__, *, :param str time_last_stopped: The last time this pool was stopped. :param str time_last_used: The last time a run used this pool. """ - pulumi.set(__self__, "active_runs_count", active_runs_count) - pulumi.set(__self__, "actively_used_node_counts", actively_used_node_counts) - pulumi.set(__self__, "time_last_metrics_updated", time_last_metrics_updated) - pulumi.set(__self__, "time_last_started", time_last_started) - pulumi.set(__self__, "time_last_stopped", time_last_stopped) - pulumi.set(__self__, "time_last_used", time_last_used) + GetPoolsPoolCollectionItemPoolMetricResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + active_runs_count=active_runs_count, + actively_used_node_counts=actively_used_node_counts, + time_last_metrics_updated=time_last_metrics_updated, + time_last_started=time_last_started, + time_last_stopped=time_last_stopped, + time_last_used=time_last_used, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + active_runs_count: str, + actively_used_node_counts: Sequence['outputs.GetPoolsPoolCollectionItemPoolMetricActivelyUsedNodeCountResult'], + time_last_metrics_updated: str, + time_last_started: str, + time_last_stopped: str, + time_last_used: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("active_runs_count", active_runs_count) + _setter("actively_used_node_counts", actively_used_node_counts) + _setter("time_last_metrics_updated", time_last_metrics_updated) + _setter("time_last_started", time_last_started) + _setter("time_last_stopped", time_last_stopped) + _setter("time_last_used", time_last_used) @property @pulumi.getter(name="activeRunsCount") @@ -3217,8 +4018,19 @@ def __init__(__self__, *, :param str logical_shape: The compute shape of the nodes that the count is for. :param int pool_count: The node count of this compute shape. """ - pulumi.set(__self__, "logical_shape", logical_shape) - pulumi.set(__self__, "pool_count", pool_count) + GetPoolsPoolCollectionItemPoolMetricActivelyUsedNodeCountResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + logical_shape=logical_shape, + pool_count=pool_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + logical_shape: str, + pool_count: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("logical_shape", logical_shape) + _setter("pool_count", pool_count) @property @pulumi.getter(name="logicalShape") @@ -3248,9 +4060,22 @@ def __init__(__self__, *, :param int start_time: Hour of the day to start or stop pool. :param int stop_time: Hour of the day to stop the pool. """ - pulumi.set(__self__, "day_of_week", day_of_week) - pulumi.set(__self__, "start_time", start_time) - pulumi.set(__self__, "stop_time", stop_time) + GetPoolsPoolCollectionItemScheduleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + day_of_week=day_of_week, + start_time=start_time, + stop_time=stop_time, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + day_of_week: str, + start_time: int, + stop_time: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("day_of_week", day_of_week) + _setter("start_time", start_time) + _setter("stop_time", stop_time) @property @pulumi.getter(name="dayOfWeek") @@ -3286,8 +4111,19 @@ def __init__(__self__, *, :param str fqdn: A fully-qualified domain name (FQDN). :param str port: The port number of the FQDN """ - pulumi.set(__self__, "fqdn", fqdn) - pulumi.set(__self__, "port", port) + GetPrivateEndpointScanDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + fqdn=fqdn, + port=port, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + fqdn: str, + port: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("fqdn", fqdn) + _setter("port", port) @property @pulumi.getter @@ -3312,10 +4148,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetPrivateEndpointsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3337,7 +4186,16 @@ def regex(self) -> Optional[bool]: class GetPrivateEndpointsPrivateEndpointCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetPrivateEndpointsPrivateEndpointCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetPrivateEndpointsPrivateEndpointCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetPrivateEndpointsPrivateEndpointCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -3384,23 +4242,64 @@ def __init__(__self__, *, :param str time_created: The date and time the resource was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` :param str time_updated: The date and time the resource was updated, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "dns_zones", dns_zones) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "max_host_count", max_host_count) - pulumi.set(__self__, "nsg_ids", nsg_ids) - pulumi.set(__self__, "owner_principal_id", owner_principal_id) - pulumi.set(__self__, "owner_user_name", owner_user_name) - pulumi.set(__self__, "scan_details", scan_details) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetPrivateEndpointsPrivateEndpointCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + dns_zones=dns_zones, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + max_host_count=max_host_count, + nsg_ids=nsg_ids, + owner_principal_id=owner_principal_id, + owner_user_name=owner_user_name, + scan_details=scan_details, + state=state, + subnet_id=subnet_id, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + dns_zones: Sequence[str], + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + max_host_count: int, + nsg_ids: Sequence[str], + owner_principal_id: str, + owner_user_name: str, + scan_details: Sequence['outputs.GetPrivateEndpointsPrivateEndpointCollectionItemScanDetailResult'], + state: str, + subnet_id: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("dns_zones", dns_zones) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("max_host_count", max_host_count) + _setter("nsg_ids", nsg_ids) + _setter("owner_principal_id", owner_principal_id) + _setter("owner_user_name", owner_user_name) + _setter("scan_details", scan_details) + _setter("state", state) + _setter("subnet_id", subnet_id) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -3548,8 +4447,19 @@ def __init__(__self__, *, :param str fqdn: A fully-qualified domain name (FQDN). :param str port: The port number of the FQDN """ - pulumi.set(__self__, "fqdn", fqdn) - pulumi.set(__self__, "port", port) + GetPrivateEndpointsPrivateEndpointCollectionItemScanDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + fqdn=fqdn, + port=port, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + fqdn: str, + port: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("fqdn", fqdn) + _setter("port", port) @property @pulumi.getter @@ -3574,10 +4484,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetRunLogsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3607,12 +4530,31 @@ def __init__(__self__, *, """ :param str run_id: The unique ID for the run """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "run_id", run_id) - pulumi.set(__self__, "size_in_bytes", size_in_bytes) - pulumi.set(__self__, "source", source) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "type", type) + GetRunLogsRunLogResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + run_id=run_id, + size_in_bytes=size_in_bytes, + source=source, + time_created=time_created, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + run_id: str, + size_in_bytes: str, + source: str, + time_created: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("run_id", run_id) + _setter("size_in_bytes", size_in_bytes) + _setter("source", source) + _setter("time_created", time_created) + _setter("type", type) @property @pulumi.getter @@ -3663,11 +4605,28 @@ def __init__(__self__, *, :param str status: Status of the statement output. :param Sequence[str] tracebacks: The traceback of the statement output. """ - pulumi.set(__self__, "datas", datas) - pulumi.set(__self__, "error_name", error_name) - pulumi.set(__self__, "error_value", error_value) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "tracebacks", tracebacks) + GetRunStatementOutputResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + datas=datas, + error_name=error_name, + error_value=error_value, + status=status, + tracebacks=tracebacks, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + datas: Sequence['outputs.GetRunStatementOutputDataResult'], + error_name: str, + error_value: str, + status: str, + tracebacks: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("datas", datas) + _setter("error_name", error_name) + _setter("error_value", error_value) + _setter("status", status) + _setter("tracebacks", tracebacks) @property @pulumi.getter @@ -3719,8 +4678,19 @@ def __init__(__self__, *, :param str type: The type of the `StatementOutputData` like `TEXT_PLAIN`, `TEXT_HTML` or `IMAGE_PNG`. :param str value: The statement code execution output in html format. """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetRunStatementOutputDataResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -3745,10 +4715,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetRunStatementsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3770,7 +4753,16 @@ def regex(self) -> Optional[bool]: class GetRunStatementsStatementCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetRunStatementsStatementCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetRunStatementsStatementCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetRunStatementsStatementCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -3799,14 +4791,37 @@ def __init__(__self__, *, :param str time_completed: The date and time a statement execution was completed, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2022-05-31T21:10:29.600Z` :param str time_created: The date and time the resource was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` """ - pulumi.set(__self__, "code", code) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "outputs", outputs) - pulumi.set(__self__, "progress", progress) - pulumi.set(__self__, "run_id", run_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_completed", time_completed) - pulumi.set(__self__, "time_created", time_created) + GetRunStatementsStatementCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + code=code, + id=id, + outputs=outputs, + progress=progress, + run_id=run_id, + state=state, + time_completed=time_completed, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + code: str, + id: str, + outputs: Sequence['outputs.GetRunStatementsStatementCollectionItemOutputResult'], + progress: float, + run_id: str, + state: str, + time_completed: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("code", code) + _setter("id", id) + _setter("outputs", outputs) + _setter("progress", progress) + _setter("run_id", run_id) + _setter("state", state) + _setter("time_completed", time_completed) + _setter("time_created", time_created) @property @pulumi.getter @@ -3888,11 +4903,28 @@ def __init__(__self__, *, :param str status: Status of the statement output. :param Sequence[str] tracebacks: The traceback of the statement output. """ - pulumi.set(__self__, "datas", datas) - pulumi.set(__self__, "error_name", error_name) - pulumi.set(__self__, "error_value", error_value) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "tracebacks", tracebacks) + GetRunStatementsStatementCollectionItemOutputResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + datas=datas, + error_name=error_name, + error_value=error_value, + status=status, + tracebacks=tracebacks, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + datas: Sequence['outputs.GetRunStatementsStatementCollectionItemOutputDataResult'], + error_name: str, + error_value: str, + status: str, + tracebacks: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("datas", datas) + _setter("error_name", error_name) + _setter("error_value", error_value) + _setter("status", status) + _setter("tracebacks", tracebacks) @property @pulumi.getter @@ -3944,8 +4976,19 @@ def __init__(__self__, *, :param str type: The type of the `StatementOutputData` like `TEXT_PLAIN`, `TEXT_HTML` or `IMAGE_PNG`. :param str value: The statement code execution output in html format. """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetRunStatementsStatementCollectionItemOutputDataResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -3973,8 +5016,19 @@ def __init__(__self__, *, :param float memory_in_gbs: The amount of memory used for the driver or executors. :param float ocpus: The total number of OCPUs used for the driver or executors. See [here](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/Shape/) for details. """ - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "ocpus", ocpus) + GetSqlEndpointDriverShapeConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: float, + ocpus: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("memory_in_gbs", memory_in_gbs) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -4002,8 +5056,19 @@ def __init__(__self__, *, :param float memory_in_gbs: The amount of memory used for the driver or executors. :param float ocpus: The total number of OCPUs used for the driver or executors. See [here](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/Shape/) for details. """ - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "ocpus", ocpus) + GetSqlEndpointExecutorShapeConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: float, + ocpus: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("memory_in_gbs", memory_in_gbs) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -4041,13 +5106,34 @@ def __init__(__self__, *, :param str subnet_id: The VCN Subnet OCID. :param str vcn_id: The VCN OCID. """ - pulumi.set(__self__, "access_control_rules", access_control_rules) - pulumi.set(__self__, "host_name_prefix", host_name_prefix) - pulumi.set(__self__, "network_type", network_type) - pulumi.set(__self__, "private_endpoint_ip", private_endpoint_ip) - pulumi.set(__self__, "public_endpoint_ip", public_endpoint_ip) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "vcn_id", vcn_id) + GetSqlEndpointNetworkConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + access_control_rules=access_control_rules, + host_name_prefix=host_name_prefix, + network_type=network_type, + private_endpoint_ip=private_endpoint_ip, + public_endpoint_ip=public_endpoint_ip, + subnet_id=subnet_id, + vcn_id=vcn_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access_control_rules: Sequence['outputs.GetSqlEndpointNetworkConfigurationAccessControlRuleResult'], + host_name_prefix: str, + network_type: str, + private_endpoint_ip: str, + public_endpoint_ip: str, + subnet_id: str, + vcn_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("access_control_rules", access_control_rules) + _setter("host_name_prefix", host_name_prefix) + _setter("network_type", network_type) + _setter("private_endpoint_ip", private_endpoint_ip) + _setter("public_endpoint_ip", public_endpoint_ip) + _setter("subnet_id", subnet_id) + _setter("vcn_id", vcn_id) @property @pulumi.getter(name="accessControlRules") @@ -4117,9 +5203,22 @@ def __init__(__self__, *, :param str value: The associated value of the selected IP notation. :param str vcn_ips: A comma-separated IP or CIDR address for VCN OCID IP notation selection. """ - pulumi.set(__self__, "ip_notation", ip_notation) - pulumi.set(__self__, "value", value) - pulumi.set(__self__, "vcn_ips", vcn_ips) + GetSqlEndpointNetworkConfigurationAccessControlRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ip_notation=ip_notation, + value=value, + vcn_ips=vcn_ips, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ip_notation: str, + value: str, + vcn_ips: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ip_notation", ip_notation) + _setter("value", value) + _setter("vcn_ips", vcn_ips) @property @pulumi.getter(name="ipNotation") @@ -4152,10 +5251,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSqlEndpointsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4177,7 +5289,16 @@ def regex(self) -> Optional[bool]: class GetSqlEndpointsSqlEndpointCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetSqlEndpointsSqlEndpointCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetSqlEndpointsSqlEndpointCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetSqlEndpointsSqlEndpointCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -4240,31 +5361,88 @@ def __init__(__self__, *, :param str time_updated: The time the Sql Endpoint was updated. An RFC3339 formatted datetime string. :param str warehouse_bucket_uri: The warehouse bucket URI. It is a Oracle Cloud Infrastructure Object Storage bucket URI as defined here https://docs.oracle.com/en/cloud/paas/atp-cloud/atpud/object-storage-uris.html """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "driver_shape", driver_shape) - pulumi.set(__self__, "driver_shape_configs", driver_shape_configs) - pulumi.set(__self__, "executor_shape", executor_shape) - pulumi.set(__self__, "executor_shape_configs", executor_shape_configs) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "jdbc_endpoint_url", jdbc_endpoint_url) - pulumi.set(__self__, "lake_id", lake_id) - pulumi.set(__self__, "last_accepted_request_token", last_accepted_request_token) - pulumi.set(__self__, "max_executor_count", max_executor_count) - pulumi.set(__self__, "metastore_id", metastore_id) - pulumi.set(__self__, "min_executor_count", min_executor_count) - pulumi.set(__self__, "network_configurations", network_configurations) - pulumi.set(__self__, "spark_advanced_configurations", spark_advanced_configurations) - pulumi.set(__self__, "sql_endpoint_version", sql_endpoint_version) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "state_message", state_message) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "warehouse_bucket_uri", warehouse_bucket_uri) + GetSqlEndpointsSqlEndpointCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + driver_shape=driver_shape, + driver_shape_configs=driver_shape_configs, + executor_shape=executor_shape, + executor_shape_configs=executor_shape_configs, + freeform_tags=freeform_tags, + id=id, + jdbc_endpoint_url=jdbc_endpoint_url, + lake_id=lake_id, + last_accepted_request_token=last_accepted_request_token, + max_executor_count=max_executor_count, + metastore_id=metastore_id, + min_executor_count=min_executor_count, + network_configurations=network_configurations, + spark_advanced_configurations=spark_advanced_configurations, + sql_endpoint_version=sql_endpoint_version, + state=state, + state_message=state_message, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + warehouse_bucket_uri=warehouse_bucket_uri, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + driver_shape: str, + driver_shape_configs: Sequence['outputs.GetSqlEndpointsSqlEndpointCollectionItemDriverShapeConfigResult'], + executor_shape: str, + executor_shape_configs: Sequence['outputs.GetSqlEndpointsSqlEndpointCollectionItemExecutorShapeConfigResult'], + freeform_tags: Mapping[str, Any], + id: str, + jdbc_endpoint_url: str, + lake_id: str, + last_accepted_request_token: str, + max_executor_count: int, + metastore_id: str, + min_executor_count: int, + network_configurations: Sequence['outputs.GetSqlEndpointsSqlEndpointCollectionItemNetworkConfigurationResult'], + spark_advanced_configurations: Mapping[str, Any], + sql_endpoint_version: str, + state: str, + state_message: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + warehouse_bucket_uri: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("driver_shape", driver_shape) + _setter("driver_shape_configs", driver_shape_configs) + _setter("executor_shape", executor_shape) + _setter("executor_shape_configs", executor_shape_configs) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("jdbc_endpoint_url", jdbc_endpoint_url) + _setter("lake_id", lake_id) + _setter("last_accepted_request_token", last_accepted_request_token) + _setter("max_executor_count", max_executor_count) + _setter("metastore_id", metastore_id) + _setter("min_executor_count", min_executor_count) + _setter("network_configurations", network_configurations) + _setter("spark_advanced_configurations", spark_advanced_configurations) + _setter("sql_endpoint_version", sql_endpoint_version) + _setter("state", state) + _setter("state_message", state_message) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("warehouse_bucket_uri", warehouse_bucket_uri) @property @pulumi.getter(name="compartmentId") @@ -4476,8 +5654,19 @@ def __init__(__self__, *, :param float memory_in_gbs: The amount of memory used for the driver or executors. :param float ocpus: The total number of OCPUs used for the driver or executors. See [here](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/Shape/) for details. """ - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "ocpus", ocpus) + GetSqlEndpointsSqlEndpointCollectionItemDriverShapeConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: float, + ocpus: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("memory_in_gbs", memory_in_gbs) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -4505,8 +5694,19 @@ def __init__(__self__, *, :param float memory_in_gbs: The amount of memory used for the driver or executors. :param float ocpus: The total number of OCPUs used for the driver or executors. See [here](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/iaas/20160918/Shape/) for details. """ - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "ocpus", ocpus) + GetSqlEndpointsSqlEndpointCollectionItemExecutorShapeConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: float, + ocpus: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("memory_in_gbs", memory_in_gbs) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -4544,13 +5744,34 @@ def __init__(__self__, *, :param str subnet_id: The VCN Subnet OCID. :param str vcn_id: The VCN OCID. """ - pulumi.set(__self__, "access_control_rules", access_control_rules) - pulumi.set(__self__, "host_name_prefix", host_name_prefix) - pulumi.set(__self__, "network_type", network_type) - pulumi.set(__self__, "private_endpoint_ip", private_endpoint_ip) - pulumi.set(__self__, "public_endpoint_ip", public_endpoint_ip) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "vcn_id", vcn_id) + GetSqlEndpointsSqlEndpointCollectionItemNetworkConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + access_control_rules=access_control_rules, + host_name_prefix=host_name_prefix, + network_type=network_type, + private_endpoint_ip=private_endpoint_ip, + public_endpoint_ip=public_endpoint_ip, + subnet_id=subnet_id, + vcn_id=vcn_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access_control_rules: Sequence['outputs.GetSqlEndpointsSqlEndpointCollectionItemNetworkConfigurationAccessControlRuleResult'], + host_name_prefix: str, + network_type: str, + private_endpoint_ip: str, + public_endpoint_ip: str, + subnet_id: str, + vcn_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("access_control_rules", access_control_rules) + _setter("host_name_prefix", host_name_prefix) + _setter("network_type", network_type) + _setter("private_endpoint_ip", private_endpoint_ip) + _setter("public_endpoint_ip", public_endpoint_ip) + _setter("subnet_id", subnet_id) + _setter("vcn_id", vcn_id) @property @pulumi.getter(name="accessControlRules") @@ -4620,9 +5841,22 @@ def __init__(__self__, *, :param str value: The associated value of the selected IP notation. :param str vcn_ips: A comma-separated IP or CIDR address for VCN OCID IP notation selection. """ - pulumi.set(__self__, "ip_notation", ip_notation) - pulumi.set(__self__, "value", value) - pulumi.set(__self__, "vcn_ips", vcn_ips) + GetSqlEndpointsSqlEndpointCollectionItemNetworkConfigurationAccessControlRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ip_notation=ip_notation, + value=value, + vcn_ips=vcn_ips, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ip_notation: str, + value: str, + vcn_ips: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ip_notation", ip_notation) + _setter("value", value) + _setter("vcn_ips", vcn_ips) @property @pulumi.getter(name="ipNotation") diff --git a/sdk/python/pulumi_oci/dataflow/pool.py b/sdk/python/pulumi_oci/dataflow/pool.py index 7460d836a0..c404714e75 100644 --- a/sdk/python/pulumi_oci/dataflow/pool.py +++ b/sdk/python/pulumi_oci/dataflow/pool.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -41,21 +41,46 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "configurations", configurations) - pulumi.set(__self__, "display_name", display_name) + PoolArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + configurations=configurations, + display_name=display_name, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + idle_timeout_in_minutes=idle_timeout_in_minutes, + schedules=schedules, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + configurations: pulumi.Input[Sequence[pulumi.Input['PoolConfigurationArgs']]], + display_name: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + idle_timeout_in_minutes: Optional[pulumi.Input[int]] = None, + schedules: Optional[pulumi.Input[Sequence[pulumi.Input['PoolScheduleArgs']]]] = None, + state: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("configurations", configurations) + _setter("display_name", display_name) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if idle_timeout_in_minutes is not None: - pulumi.set(__self__, "idle_timeout_in_minutes", idle_timeout_in_minutes) + _setter("idle_timeout_in_minutes", idle_timeout_in_minutes) if schedules is not None: - pulumi.set(__self__, "schedules", schedules) + _setter("schedules", schedules) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) @property @pulumi.getter(name="compartmentId") @@ -210,36 +235,73 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the resource was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` :param pulumi.Input[str] time_updated: The date and time the resource was updated, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` """ + _PoolState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + configurations=configurations, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + idle_timeout_in_minutes=idle_timeout_in_minutes, + lifecycle_details=lifecycle_details, + owner_principal_id=owner_principal_id, + owner_user_name=owner_user_name, + pool_metrics=pool_metrics, + schedules=schedules, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + configurations: Optional[pulumi.Input[Sequence[pulumi.Input['PoolConfigurationArgs']]]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + idle_timeout_in_minutes: Optional[pulumi.Input[int]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + owner_principal_id: Optional[pulumi.Input[str]] = None, + owner_user_name: Optional[pulumi.Input[str]] = None, + pool_metrics: Optional[pulumi.Input[Sequence[pulumi.Input['PoolPoolMetricArgs']]]] = None, + schedules: Optional[pulumi.Input[Sequence[pulumi.Input['PoolScheduleArgs']]]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if configurations is not None: - pulumi.set(__self__, "configurations", configurations) + _setter("configurations", configurations) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if idle_timeout_in_minutes is not None: - pulumi.set(__self__, "idle_timeout_in_minutes", idle_timeout_in_minutes) + _setter("idle_timeout_in_minutes", idle_timeout_in_minutes) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if owner_principal_id is not None: - pulumi.set(__self__, "owner_principal_id", owner_principal_id) + _setter("owner_principal_id", owner_principal_id) if owner_user_name is not None: - pulumi.set(__self__, "owner_user_name", owner_user_name) + _setter("owner_user_name", owner_user_name) if pool_metrics is not None: - pulumi.set(__self__, "pool_metrics", pool_metrics) + _setter("pool_metrics", pool_metrics) if schedules is not None: - pulumi.set(__self__, "schedules", schedules) + _setter("schedules", schedules) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -565,6 +627,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + PoolArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/dataflow/private_endpoint.py b/sdk/python/pulumi_oci/dataflow/private_endpoint.py index 7949f3707b..910083befd 100644 --- a/sdk/python/pulumi_oci/dataflow/private_endpoint.py +++ b/sdk/python/pulumi_oci/dataflow/private_endpoint.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -43,23 +43,50 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] nsg_ids: (Updatable) An array of network security group OCIDs. :param pulumi.Input[Sequence[pulumi.Input['PrivateEndpointScanDetailArgs']]] scan_details: (Updatable) An array of fqdn/port pairs used to create private endpoint. Each object is a simple key-value pair with FQDN as key and port number as value. [ { fqdn: "scan1.oracle.com", port: "1521"}, { fqdn: "scan2.oracle.com", port: "1521" } ] """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "dns_zones", dns_zones) - pulumi.set(__self__, "subnet_id", subnet_id) + PrivateEndpointArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + dns_zones=dns_zones, + subnet_id=subnet_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + max_host_count=max_host_count, + nsg_ids=nsg_ids, + scan_details=scan_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + dns_zones: pulumi.Input[Sequence[pulumi.Input[str]]], + subnet_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + max_host_count: Optional[pulumi.Input[int]] = None, + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + scan_details: Optional[pulumi.Input[Sequence[pulumi.Input['PrivateEndpointScanDetailArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("dns_zones", dns_zones) + _setter("subnet_id", subnet_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if max_host_count is not None: - pulumi.set(__self__, "max_host_count", max_host_count) + _setter("max_host_count", max_host_count) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) if scan_details is not None: - pulumi.set(__self__, "scan_details", scan_details) + _setter("scan_details", scan_details) @property @pulumi.getter(name="compartmentId") @@ -228,38 +255,77 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the resource was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` :param pulumi.Input[str] time_updated: The date and time the resource was updated, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` """ + _PrivateEndpointState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + dns_zones=dns_zones, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + max_host_count=max_host_count, + nsg_ids=nsg_ids, + owner_principal_id=owner_principal_id, + owner_user_name=owner_user_name, + scan_details=scan_details, + state=state, + subnet_id=subnet_id, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + dns_zones: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + max_host_count: Optional[pulumi.Input[int]] = None, + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + owner_principal_id: Optional[pulumi.Input[str]] = None, + owner_user_name: Optional[pulumi.Input[str]] = None, + scan_details: Optional[pulumi.Input[Sequence[pulumi.Input['PrivateEndpointScanDetailArgs']]]] = None, + state: Optional[pulumi.Input[str]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if dns_zones is not None: - pulumi.set(__self__, "dns_zones", dns_zones) + _setter("dns_zones", dns_zones) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if max_host_count is not None: - pulumi.set(__self__, "max_host_count", max_host_count) + _setter("max_host_count", max_host_count) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) if owner_principal_id is not None: - pulumi.set(__self__, "owner_principal_id", owner_principal_id) + _setter("owner_principal_id", owner_principal_id) if owner_user_name is not None: - pulumi.set(__self__, "owner_user_name", owner_user_name) + _setter("owner_user_name", owner_user_name) if scan_details is not None: - pulumi.set(__self__, "scan_details", scan_details) + _setter("scan_details", scan_details) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -525,6 +591,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + PrivateEndpointArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/dataflow/run_statement.py b/sdk/python/pulumi_oci/dataflow/run_statement.py index 20abfa1cf9..661fe2267b 100644 --- a/sdk/python/pulumi_oci/dataflow/run_statement.py +++ b/sdk/python/pulumi_oci/dataflow/run_statement.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -27,8 +27,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "code", code) - pulumi.set(__self__, "run_id", run_id) + RunStatementArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + code=code, + run_id=run_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + code: pulumi.Input[str], + run_id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("code", code) + _setter("run_id", run_id) @property @pulumi.getter @@ -83,20 +94,41 @@ def __init__(__self__, *, :param pulumi.Input[str] time_completed: The date and time a statement execution was completed, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2022-05-31T21:10:29.600Z` :param pulumi.Input[str] time_created: The date and time the resource was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` """ + _RunStatementState._configure( + lambda key, value: pulumi.set(__self__, key, value), + code=code, + outputs=outputs, + progress=progress, + run_id=run_id, + state=state, + time_completed=time_completed, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + code: Optional[pulumi.Input[str]] = None, + outputs: Optional[pulumi.Input[Sequence[pulumi.Input['RunStatementOutputArgs']]]] = None, + progress: Optional[pulumi.Input[float]] = None, + run_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_completed: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if code is not None: - pulumi.set(__self__, "code", code) + _setter("code", code) if outputs is not None: - pulumi.set(__self__, "outputs", outputs) + _setter("outputs", outputs) if progress is not None: - pulumi.set(__self__, "progress", progress) + _setter("progress", progress) if run_id is not None: - pulumi.set(__self__, "run_id", run_id) + _setter("run_id", run_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_completed is not None: - pulumi.set(__self__, "time_completed", time_completed) + _setter("time_completed", time_completed) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter @@ -268,6 +300,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + RunStatementArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/dataflow/sql_endpoint.py b/sdk/python/pulumi_oci/dataflow/sql_endpoint.py index 530a886c1f..35747a886d 100644 --- a/sdk/python/pulumi_oci/dataflow/sql_endpoint.py +++ b/sdk/python/pulumi_oci/dataflow/sql_endpoint.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -49,27 +49,64 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] freeform_tags: (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` :param pulumi.Input[Mapping[str, Any]] spark_advanced_configurations: The Spark configuration passed to the running process. See https://spark.apache.org/docs/latest/configuration.html#available-properties. Example: { "spark.app.name" : "My App Name", "spark.shuffle.io.maxRetries" : "4" } Note: Not all Spark properties are permitted to be set. Attempting to set a property that is not allowed to be overwritten will cause a 400 status to be returned. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "driver_shape", driver_shape) - pulumi.set(__self__, "executor_shape", executor_shape) - pulumi.set(__self__, "max_executor_count", max_executor_count) - pulumi.set(__self__, "metastore_id", metastore_id) - pulumi.set(__self__, "min_executor_count", min_executor_count) - pulumi.set(__self__, "network_configuration", network_configuration) - pulumi.set(__self__, "sql_endpoint_version", sql_endpoint_version) + SqlEndpointArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + driver_shape=driver_shape, + executor_shape=executor_shape, + max_executor_count=max_executor_count, + metastore_id=metastore_id, + min_executor_count=min_executor_count, + network_configuration=network_configuration, + sql_endpoint_version=sql_endpoint_version, + defined_tags=defined_tags, + description=description, + driver_shape_config=driver_shape_config, + executor_shape_config=executor_shape_config, + freeform_tags=freeform_tags, + spark_advanced_configurations=spark_advanced_configurations, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + driver_shape: pulumi.Input[str], + executor_shape: pulumi.Input[str], + max_executor_count: pulumi.Input[int], + metastore_id: pulumi.Input[str], + min_executor_count: pulumi.Input[int], + network_configuration: pulumi.Input['SqlEndpointNetworkConfigurationArgs'], + sql_endpoint_version: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + driver_shape_config: Optional[pulumi.Input['SqlEndpointDriverShapeConfigArgs']] = None, + executor_shape_config: Optional[pulumi.Input['SqlEndpointExecutorShapeConfigArgs']] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + spark_advanced_configurations: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) + _setter("driver_shape", driver_shape) + _setter("executor_shape", executor_shape) + _setter("max_executor_count", max_executor_count) + _setter("metastore_id", metastore_id) + _setter("min_executor_count", min_executor_count) + _setter("network_configuration", network_configuration) + _setter("sql_endpoint_version", sql_endpoint_version) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if driver_shape_config is not None: - pulumi.set(__self__, "driver_shape_config", driver_shape_config) + _setter("driver_shape_config", driver_shape_config) if executor_shape_config is not None: - pulumi.set(__self__, "executor_shape_config", executor_shape_config) + _setter("executor_shape_config", executor_shape_config) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if spark_advanced_configurations is not None: - pulumi.set(__self__, "spark_advanced_configurations", spark_advanced_configurations) + _setter("spark_advanced_configurations", spark_advanced_configurations) @property @pulumi.getter(name="compartmentId") @@ -310,54 +347,109 @@ def __init__(__self__, *, ** 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 """ + _SqlEndpointState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + driver_shape=driver_shape, + driver_shape_config=driver_shape_config, + executor_shape=executor_shape, + executor_shape_config=executor_shape_config, + freeform_tags=freeform_tags, + jdbc_endpoint_url=jdbc_endpoint_url, + lake_id=lake_id, + last_accepted_request_token=last_accepted_request_token, + max_executor_count=max_executor_count, + metastore_id=metastore_id, + min_executor_count=min_executor_count, + network_configuration=network_configuration, + spark_advanced_configurations=spark_advanced_configurations, + sql_endpoint_version=sql_endpoint_version, + state=state, + state_message=state_message, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + warehouse_bucket_uri=warehouse_bucket_uri, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + driver_shape: Optional[pulumi.Input[str]] = None, + driver_shape_config: Optional[pulumi.Input['SqlEndpointDriverShapeConfigArgs']] = None, + executor_shape: Optional[pulumi.Input[str]] = None, + executor_shape_config: Optional[pulumi.Input['SqlEndpointExecutorShapeConfigArgs']] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + jdbc_endpoint_url: Optional[pulumi.Input[str]] = None, + lake_id: Optional[pulumi.Input[str]] = None, + last_accepted_request_token: Optional[pulumi.Input[str]] = None, + max_executor_count: Optional[pulumi.Input[int]] = None, + metastore_id: Optional[pulumi.Input[str]] = None, + min_executor_count: Optional[pulumi.Input[int]] = None, + network_configuration: Optional[pulumi.Input['SqlEndpointNetworkConfigurationArgs']] = None, + spark_advanced_configurations: Optional[pulumi.Input[Mapping[str, Any]]] = None, + sql_endpoint_version: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + state_message: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + warehouse_bucket_uri: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if driver_shape is not None: - pulumi.set(__self__, "driver_shape", driver_shape) + _setter("driver_shape", driver_shape) if driver_shape_config is not None: - pulumi.set(__self__, "driver_shape_config", driver_shape_config) + _setter("driver_shape_config", driver_shape_config) if executor_shape is not None: - pulumi.set(__self__, "executor_shape", executor_shape) + _setter("executor_shape", executor_shape) if executor_shape_config is not None: - pulumi.set(__self__, "executor_shape_config", executor_shape_config) + _setter("executor_shape_config", executor_shape_config) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if jdbc_endpoint_url is not None: - pulumi.set(__self__, "jdbc_endpoint_url", jdbc_endpoint_url) + _setter("jdbc_endpoint_url", jdbc_endpoint_url) if lake_id is not None: - pulumi.set(__self__, "lake_id", lake_id) + _setter("lake_id", lake_id) if last_accepted_request_token is not None: - pulumi.set(__self__, "last_accepted_request_token", last_accepted_request_token) + _setter("last_accepted_request_token", last_accepted_request_token) if max_executor_count is not None: - pulumi.set(__self__, "max_executor_count", max_executor_count) + _setter("max_executor_count", max_executor_count) if metastore_id is not None: - pulumi.set(__self__, "metastore_id", metastore_id) + _setter("metastore_id", metastore_id) if min_executor_count is not None: - pulumi.set(__self__, "min_executor_count", min_executor_count) + _setter("min_executor_count", min_executor_count) if network_configuration is not None: - pulumi.set(__self__, "network_configuration", network_configuration) + _setter("network_configuration", network_configuration) if spark_advanced_configurations is not None: - pulumi.set(__self__, "spark_advanced_configurations", spark_advanced_configurations) + _setter("spark_advanced_configurations", spark_advanced_configurations) if sql_endpoint_version is not None: - pulumi.set(__self__, "sql_endpoint_version", sql_endpoint_version) + _setter("sql_endpoint_version", sql_endpoint_version) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if state_message is not None: - pulumi.set(__self__, "state_message", state_message) + _setter("state_message", state_message) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if warehouse_bucket_uri is not None: - pulumi.set(__self__, "warehouse_bucket_uri", warehouse_bucket_uri) + _setter("warehouse_bucket_uri", warehouse_bucket_uri) @property @pulumi.getter(name="compartmentId") @@ -739,6 +831,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + SqlEndpointArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -779,10 +875,20 @@ def _internal_init(__self__, if driver_shape is None and not opts.urn: raise TypeError("Missing required property 'driver_shape'") __props__.__dict__["driver_shape"] = driver_shape + if driver_shape_config is not None and not isinstance(driver_shape_config, SqlEndpointDriverShapeConfigArgs): + driver_shape_config = driver_shape_config or {} + def _setter(key, value): + driver_shape_config[key] = value + SqlEndpointDriverShapeConfigArgs._configure(_setter, **driver_shape_config) __props__.__dict__["driver_shape_config"] = driver_shape_config if executor_shape is None and not opts.urn: raise TypeError("Missing required property 'executor_shape'") __props__.__dict__["executor_shape"] = executor_shape + if executor_shape_config is not None and not isinstance(executor_shape_config, SqlEndpointExecutorShapeConfigArgs): + executor_shape_config = executor_shape_config or {} + def _setter(key, value): + executor_shape_config[key] = value + SqlEndpointExecutorShapeConfigArgs._configure(_setter, **executor_shape_config) __props__.__dict__["executor_shape_config"] = executor_shape_config __props__.__dict__["freeform_tags"] = freeform_tags if max_executor_count is None and not opts.urn: @@ -794,6 +900,11 @@ def _internal_init(__self__, if min_executor_count is None and not opts.urn: raise TypeError("Missing required property 'min_executor_count'") __props__.__dict__["min_executor_count"] = min_executor_count + if network_configuration is not None and not isinstance(network_configuration, SqlEndpointNetworkConfigurationArgs): + network_configuration = network_configuration or {} + def _setter(key, value): + network_configuration[key] = value + SqlEndpointNetworkConfigurationArgs._configure(_setter, **network_configuration) if network_configuration is None and not opts.urn: raise TypeError("Missing required property 'network_configuration'") __props__.__dict__["network_configuration"] = network_configuration diff --git a/sdk/python/pulumi_oci/dataintegration/_inputs.py b/sdk/python/pulumi_oci/dataintegration/_inputs.py index 2780676335..52b0274e3e 100644 --- a/sdk/python/pulumi_oci/dataintegration/_inputs.py +++ b/sdk/python/pulumi_oci/dataintegration/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -56,20 +56,41 @@ def __init__(__self__, *, :param pulumi.Input[int] object_version: The object version. :param pulumi.Input[str] type: The type of the object in patch. """ + WorkspaceApplicationDependentObjectMetadataArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + identifier=identifier, + key=key, + name=name, + name_path=name_path, + object_version=object_version, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: Optional[pulumi.Input[str]] = None, + identifier: Optional[pulumi.Input[str]] = None, + key: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + name_path: Optional[pulumi.Input[str]] = None, + object_version: Optional[pulumi.Input[int]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if action is not None: - pulumi.set(__self__, "action", action) + _setter("action", action) if identifier is not None: - pulumi.set(__self__, "identifier", identifier) + _setter("identifier", identifier) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if name_path is not None: - pulumi.set(__self__, "name_path", name_path) + _setter("name_path", name_path) if object_version is not None: - pulumi.set(__self__, "object_version", object_version) + _setter("object_version", object_version) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -189,34 +210,69 @@ def __init__(__self__, *, :param pulumi.Input[str] updated_by: The user that updated the object. :param pulumi.Input[str] updated_by_name: The user that updated the object. """ + WorkspaceApplicationMetadataArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aggregator_key=aggregator_key, + aggregators=aggregators, + count_statistics=count_statistics, + created_by=created_by, + created_by_name=created_by_name, + identifier_path=identifier_path, + info_fields=info_fields, + is_favorite=is_favorite, + labels=labels, + registry_version=registry_version, + time_created=time_created, + time_updated=time_updated, + updated_by=updated_by, + updated_by_name=updated_by_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aggregator_key: Optional[pulumi.Input[str]] = None, + aggregators: Optional[pulumi.Input[Sequence[pulumi.Input['WorkspaceApplicationMetadataAggregatorArgs']]]] = None, + count_statistics: Optional[pulumi.Input[Sequence[pulumi.Input['WorkspaceApplicationMetadataCountStatisticArgs']]]] = None, + created_by: Optional[pulumi.Input[str]] = None, + created_by_name: Optional[pulumi.Input[str]] = None, + identifier_path: Optional[pulumi.Input[str]] = None, + info_fields: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_favorite: Optional[pulumi.Input[bool]] = None, + labels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + registry_version: Optional[pulumi.Input[int]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + updated_by: Optional[pulumi.Input[str]] = None, + updated_by_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aggregator_key is not None: - pulumi.set(__self__, "aggregator_key", aggregator_key) + _setter("aggregator_key", aggregator_key) if aggregators is not None: - pulumi.set(__self__, "aggregators", aggregators) + _setter("aggregators", aggregators) if count_statistics is not None: - pulumi.set(__self__, "count_statistics", count_statistics) + _setter("count_statistics", count_statistics) if created_by is not None: - pulumi.set(__self__, "created_by", created_by) + _setter("created_by", created_by) if created_by_name is not None: - pulumi.set(__self__, "created_by_name", created_by_name) + _setter("created_by_name", created_by_name) if identifier_path is not None: - pulumi.set(__self__, "identifier_path", identifier_path) + _setter("identifier_path", identifier_path) if info_fields is not None: - pulumi.set(__self__, "info_fields", info_fields) + _setter("info_fields", info_fields) if is_favorite is not None: - pulumi.set(__self__, "is_favorite", is_favorite) + _setter("is_favorite", is_favorite) if labels is not None: - pulumi.set(__self__, "labels", labels) + _setter("labels", labels) if registry_version is not None: - pulumi.set(__self__, "registry_version", registry_version) + _setter("registry_version", registry_version) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if updated_by is not None: - pulumi.set(__self__, "updated_by", updated_by) + _setter("updated_by", updated_by) if updated_by_name is not None: - pulumi.set(__self__, "updated_by_name", updated_by_name) + _setter("updated_by_name", updated_by_name) @property @pulumi.getter(name="aggregatorKey") @@ -402,16 +458,33 @@ def __init__(__self__, *, :param pulumi.Input[str] name: (Updatable) Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters. :param pulumi.Input[str] type: The type of the object in patch. """ + WorkspaceApplicationMetadataAggregatorArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + identifier=identifier, + key=key, + name=name, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: Optional[pulumi.Input[str]] = None, + identifier: Optional[pulumi.Input[str]] = None, + key: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if identifier is not None: - pulumi.set(__self__, "identifier", identifier) + _setter("identifier", identifier) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -481,8 +554,17 @@ def __init__(__self__, *, """ :param pulumi.Input[Sequence[pulumi.Input['WorkspaceApplicationMetadataCountStatisticObjectTypeCountListArgs']]] object_type_count_lists: The array of statistics. """ + WorkspaceApplicationMetadataCountStatisticArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + object_type_count_lists=object_type_count_lists, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + object_type_count_lists: Optional[pulumi.Input[Sequence[pulumi.Input['WorkspaceApplicationMetadataCountStatisticObjectTypeCountListArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if object_type_count_lists is not None: - pulumi.set(__self__, "object_type_count_lists", object_type_count_lists) + _setter("object_type_count_lists", object_type_count_lists) @property @pulumi.getter(name="objectTypeCountLists") @@ -506,10 +588,21 @@ def __init__(__self__, *, :param pulumi.Input[str] object_count: The value for the count statistic object. :param pulumi.Input[str] object_type: The type of object for the count statistic object. """ + WorkspaceApplicationMetadataCountStatisticObjectTypeCountListArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + object_count=object_count, + object_type=object_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + object_count: Optional[pulumi.Input[str]] = None, + object_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if object_count is not None: - pulumi.set(__self__, "object_count", object_count) + _setter("object_count", object_count) if object_type is not None: - pulumi.set(__self__, "object_type", object_type) + _setter("object_type", object_type) @property @pulumi.getter(name="objectCount") @@ -545,10 +638,21 @@ def __init__(__self__, *, :param pulumi.Input[str] parent: Key of the parent object. :param pulumi.Input[str] root_doc_id: Key of the root document object. """ + WorkspaceApplicationParentRefArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + parent=parent, + root_doc_id=root_doc_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + parent: Optional[pulumi.Input[str]] = None, + root_doc_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if parent is not None: - pulumi.set(__self__, "parent", parent) + _setter("parent", parent) if root_doc_id is not None: - pulumi.set(__self__, "root_doc_id", root_doc_id) + _setter("root_doc_id", root_doc_id) @property @pulumi.getter @@ -594,20 +698,41 @@ def __init__(__self__, *, :param pulumi.Input[int] object_version: The object version. :param pulumi.Input[str] type: The type of the object in patch. """ + WorkspaceApplicationPublishedObjectMetadataArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + identifier=identifier, + key=key, + name=name, + name_path=name_path, + object_version=object_version, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: Optional[pulumi.Input[str]] = None, + identifier: Optional[pulumi.Input[str]] = None, + key: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + name_path: Optional[pulumi.Input[str]] = None, + object_version: Optional[pulumi.Input[int]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if action is not None: - pulumi.set(__self__, "action", action) + _setter("action", action) if identifier is not None: - pulumi.set(__self__, "identifier", identifier) + _setter("identifier", identifier) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if name_path is not None: - pulumi.set(__self__, "name_path", name_path) + _setter("name_path", name_path) if object_version is not None: - pulumi.set(__self__, "object_version", object_version) + _setter("object_version", object_version) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -709,16 +834,33 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] labels: Labels are keywords or labels that you can add to data assets, dataflows etc. You can define your own labels and use them to categorize content. :param pulumi.Input[int] registry_version: The registry version. """ + WorkspaceApplicationRegistryMetadataArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aggregator_key=aggregator_key, + is_favorite=is_favorite, + key=key, + labels=labels, + registry_version=registry_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aggregator_key: Optional[pulumi.Input[str]] = None, + is_favorite: Optional[pulumi.Input[bool]] = None, + key: Optional[pulumi.Input[str]] = None, + labels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + registry_version: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aggregator_key is not None: - pulumi.set(__self__, "aggregator_key", aggregator_key) + _setter("aggregator_key", aggregator_key) if is_favorite is not None: - pulumi.set(__self__, "is_favorite", is_favorite) + _setter("is_favorite", is_favorite) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if labels is not None: - pulumi.set(__self__, "labels", labels) + _setter("labels", labels) if registry_version is not None: - pulumi.set(__self__, "registry_version", registry_version) + _setter("registry_version", registry_version) @property @pulumi.getter(name="aggregatorKey") @@ -800,16 +942,33 @@ def __init__(__self__, *, ** 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 """ + WorkspaceApplicationSourceApplicationInfoArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + application_key=application_key, + application_version=application_version, + copy_type=copy_type, + last_patch_key=last_patch_key, + workspace_id=workspace_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + application_key: Optional[pulumi.Input[str]] = None, + application_version: Optional[pulumi.Input[str]] = None, + copy_type: Optional[pulumi.Input[str]] = None, + last_patch_key: Optional[pulumi.Input[str]] = None, + workspace_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if application_key is not None: - pulumi.set(__self__, "application_key", application_key) + _setter("application_key", application_key) if application_version is not None: - pulumi.set(__self__, "application_version", application_version) + _setter("application_version", application_version) if copy_type is not None: - pulumi.set(__self__, "copy_type", copy_type) + _setter("copy_type", copy_type) if last_patch_key is not None: - pulumi.set(__self__, "last_patch_key", last_patch_key) + _setter("last_patch_key", last_patch_key) if workspace_id is not None: - pulumi.set(__self__, "workspace_id", workspace_id) + _setter("workspace_id", workspace_id) @property @pulumi.getter(name="applicationKey") @@ -909,34 +1068,69 @@ def __init__(__self__, *, :param pulumi.Input[str] updated_by: The user that updated the object. :param pulumi.Input[str] updated_by_name: The user that updated the object. """ + WorkspaceFolderMetadataArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aggregator_key=aggregator_key, + aggregators=aggregators, + count_statistics=count_statistics, + created_by=created_by, + created_by_name=created_by_name, + identifier_path=identifier_path, + info_fields=info_fields, + is_favorite=is_favorite, + labels=labels, + registry_version=registry_version, + time_created=time_created, + time_updated=time_updated, + updated_by=updated_by, + updated_by_name=updated_by_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aggregator_key: Optional[pulumi.Input[str]] = None, + aggregators: Optional[pulumi.Input[Sequence[pulumi.Input['WorkspaceFolderMetadataAggregatorArgs']]]] = None, + count_statistics: Optional[pulumi.Input[Sequence[pulumi.Input['WorkspaceFolderMetadataCountStatisticArgs']]]] = None, + created_by: Optional[pulumi.Input[str]] = None, + created_by_name: Optional[pulumi.Input[str]] = None, + identifier_path: Optional[pulumi.Input[str]] = None, + info_fields: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_favorite: Optional[pulumi.Input[bool]] = None, + labels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + registry_version: Optional[pulumi.Input[int]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + updated_by: Optional[pulumi.Input[str]] = None, + updated_by_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aggregator_key is not None: - pulumi.set(__self__, "aggregator_key", aggregator_key) + _setter("aggregator_key", aggregator_key) if aggregators is not None: - pulumi.set(__self__, "aggregators", aggregators) + _setter("aggregators", aggregators) if count_statistics is not None: - pulumi.set(__self__, "count_statistics", count_statistics) + _setter("count_statistics", count_statistics) if created_by is not None: - pulumi.set(__self__, "created_by", created_by) + _setter("created_by", created_by) if created_by_name is not None: - pulumi.set(__self__, "created_by_name", created_by_name) + _setter("created_by_name", created_by_name) if identifier_path is not None: - pulumi.set(__self__, "identifier_path", identifier_path) + _setter("identifier_path", identifier_path) if info_fields is not None: - pulumi.set(__self__, "info_fields", info_fields) + _setter("info_fields", info_fields) if is_favorite is not None: - pulumi.set(__self__, "is_favorite", is_favorite) + _setter("is_favorite", is_favorite) if labels is not None: - pulumi.set(__self__, "labels", labels) + _setter("labels", labels) if registry_version is not None: - pulumi.set(__self__, "registry_version", registry_version) + _setter("registry_version", registry_version) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if updated_by is not None: - pulumi.set(__self__, "updated_by", updated_by) + _setter("updated_by", updated_by) if updated_by_name is not None: - pulumi.set(__self__, "updated_by_name", updated_by_name) + _setter("updated_by_name", updated_by_name) @property @pulumi.getter(name="aggregatorKey") @@ -1122,16 +1316,33 @@ def __init__(__self__, *, :param pulumi.Input[str] name: (Updatable) Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters. :param pulumi.Input[str] type: The type of the aggregator. """ + WorkspaceFolderMetadataAggregatorArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + identifier=identifier, + key=key, + name=name, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: Optional[pulumi.Input[str]] = None, + identifier: Optional[pulumi.Input[str]] = None, + key: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if identifier is not None: - pulumi.set(__self__, "identifier", identifier) + _setter("identifier", identifier) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -1201,8 +1412,17 @@ def __init__(__self__, *, """ :param pulumi.Input[Sequence[pulumi.Input['WorkspaceFolderMetadataCountStatisticObjectTypeCountListArgs']]] object_type_count_lists: The array of statistics. """ + WorkspaceFolderMetadataCountStatisticArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + object_type_count_lists=object_type_count_lists, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + object_type_count_lists: Optional[pulumi.Input[Sequence[pulumi.Input['WorkspaceFolderMetadataCountStatisticObjectTypeCountListArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if object_type_count_lists is not None: - pulumi.set(__self__, "object_type_count_lists", object_type_count_lists) + _setter("object_type_count_lists", object_type_count_lists) @property @pulumi.getter(name="objectTypeCountLists") @@ -1226,10 +1446,21 @@ def __init__(__self__, *, :param pulumi.Input[str] object_count: The value for the count statistic object. :param pulumi.Input[str] object_type: The type of object for the count statistic object. """ + WorkspaceFolderMetadataCountStatisticObjectTypeCountListArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + object_count=object_count, + object_type=object_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + object_count: Optional[pulumi.Input[str]] = None, + object_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if object_count is not None: - pulumi.set(__self__, "object_count", object_count) + _setter("object_count", object_count) if object_type is not None: - pulumi.set(__self__, "object_type", object_type) + _setter("object_type", object_type) @property @pulumi.getter(name="objectCount") @@ -1265,10 +1496,21 @@ def __init__(__self__, *, :param pulumi.Input[str] parent: Key of the parent object. :param pulumi.Input[str] root_doc_id: Key of the root document object. """ + WorkspaceFolderParentRefArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + parent=parent, + root_doc_id=root_doc_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + parent: Optional[pulumi.Input[str]] = None, + root_doc_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if parent is not None: - pulumi.set(__self__, "parent", parent) + _setter("parent", parent) if root_doc_id is not None: - pulumi.set(__self__, "root_doc_id", root_doc_id) + _setter("root_doc_id", root_doc_id) @property @pulumi.getter @@ -1310,16 +1552,33 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] labels: (Updatable) Labels are keywords or labels that you can add to data assets, dataflows etc. You can define your own labels and use them to categorize content. :param pulumi.Input[int] registry_version: (Updatable) The registry version. """ + WorkspaceFolderRegistryMetadataArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aggregator_key=aggregator_key, + is_favorite=is_favorite, + key=key, + labels=labels, + registry_version=registry_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aggregator_key: Optional[pulumi.Input[str]] = None, + is_favorite: Optional[pulumi.Input[bool]] = None, + key: Optional[pulumi.Input[str]] = None, + labels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + registry_version: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aggregator_key is not None: - pulumi.set(__self__, "aggregator_key", aggregator_key) + _setter("aggregator_key", aggregator_key) if is_favorite is not None: - pulumi.set(__self__, "is_favorite", is_favorite) + _setter("is_favorite", is_favorite) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if labels is not None: - pulumi.set(__self__, "labels", labels) + _setter("labels", labels) if registry_version is not None: - pulumi.set(__self__, "registry_version", registry_version) + _setter("registry_version", registry_version) @property @pulumi.getter(name="aggregatorKey") @@ -1415,34 +1674,69 @@ def __init__(__self__, *, :param pulumi.Input[str] updated_by: The user that updated the object. :param pulumi.Input[str] updated_by_name: The user that updated the object. """ + WorkspaceProjectMetadataArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aggregator_key=aggregator_key, + aggregators=aggregators, + count_statistics=count_statistics, + created_by=created_by, + created_by_name=created_by_name, + identifier_path=identifier_path, + info_fields=info_fields, + is_favorite=is_favorite, + labels=labels, + registry_version=registry_version, + time_created=time_created, + time_updated=time_updated, + updated_by=updated_by, + updated_by_name=updated_by_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aggregator_key: Optional[pulumi.Input[str]] = None, + aggregators: Optional[pulumi.Input[Sequence[pulumi.Input['WorkspaceProjectMetadataAggregatorArgs']]]] = None, + count_statistics: Optional[pulumi.Input[Sequence[pulumi.Input['WorkspaceProjectMetadataCountStatisticArgs']]]] = None, + created_by: Optional[pulumi.Input[str]] = None, + created_by_name: Optional[pulumi.Input[str]] = None, + identifier_path: Optional[pulumi.Input[str]] = None, + info_fields: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_favorite: Optional[pulumi.Input[bool]] = None, + labels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + registry_version: Optional[pulumi.Input[int]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + updated_by: Optional[pulumi.Input[str]] = None, + updated_by_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aggregator_key is not None: - pulumi.set(__self__, "aggregator_key", aggregator_key) + _setter("aggregator_key", aggregator_key) if aggregators is not None: - pulumi.set(__self__, "aggregators", aggregators) + _setter("aggregators", aggregators) if count_statistics is not None: - pulumi.set(__self__, "count_statistics", count_statistics) + _setter("count_statistics", count_statistics) if created_by is not None: - pulumi.set(__self__, "created_by", created_by) + _setter("created_by", created_by) if created_by_name is not None: - pulumi.set(__self__, "created_by_name", created_by_name) + _setter("created_by_name", created_by_name) if identifier_path is not None: - pulumi.set(__self__, "identifier_path", identifier_path) + _setter("identifier_path", identifier_path) if info_fields is not None: - pulumi.set(__self__, "info_fields", info_fields) + _setter("info_fields", info_fields) if is_favorite is not None: - pulumi.set(__self__, "is_favorite", is_favorite) + _setter("is_favorite", is_favorite) if labels is not None: - pulumi.set(__self__, "labels", labels) + _setter("labels", labels) if registry_version is not None: - pulumi.set(__self__, "registry_version", registry_version) + _setter("registry_version", registry_version) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if updated_by is not None: - pulumi.set(__self__, "updated_by", updated_by) + _setter("updated_by", updated_by) if updated_by_name is not None: - pulumi.set(__self__, "updated_by_name", updated_by_name) + _setter("updated_by_name", updated_by_name) @property @pulumi.getter(name="aggregatorKey") @@ -1628,16 +1922,33 @@ def __init__(__self__, *, :param pulumi.Input[str] name: (Updatable) Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters. :param pulumi.Input[str] type: The type of the aggregator. """ + WorkspaceProjectMetadataAggregatorArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + identifier=identifier, + key=key, + name=name, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: Optional[pulumi.Input[str]] = None, + identifier: Optional[pulumi.Input[str]] = None, + key: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if identifier is not None: - pulumi.set(__self__, "identifier", identifier) + _setter("identifier", identifier) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -1707,8 +2018,17 @@ def __init__(__self__, *, """ :param pulumi.Input[Sequence[pulumi.Input['WorkspaceProjectMetadataCountStatisticObjectTypeCountListArgs']]] object_type_count_lists: The array of statistics. """ + WorkspaceProjectMetadataCountStatisticArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + object_type_count_lists=object_type_count_lists, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + object_type_count_lists: Optional[pulumi.Input[Sequence[pulumi.Input['WorkspaceProjectMetadataCountStatisticObjectTypeCountListArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if object_type_count_lists is not None: - pulumi.set(__self__, "object_type_count_lists", object_type_count_lists) + _setter("object_type_count_lists", object_type_count_lists) @property @pulumi.getter(name="objectTypeCountLists") @@ -1732,10 +2052,21 @@ def __init__(__self__, *, :param pulumi.Input[str] object_count: The value for the count statistic object. :param pulumi.Input[str] object_type: The type of object for the count statistic object. """ + WorkspaceProjectMetadataCountStatisticObjectTypeCountListArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + object_count=object_count, + object_type=object_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + object_count: Optional[pulumi.Input[str]] = None, + object_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if object_count is not None: - pulumi.set(__self__, "object_count", object_count) + _setter("object_count", object_count) if object_type is not None: - pulumi.set(__self__, "object_type", object_type) + _setter("object_type", object_type) @property @pulumi.getter(name="objectCount") @@ -1771,10 +2102,21 @@ def __init__(__self__, *, :param pulumi.Input[str] parent: Key of the parent object. :param pulumi.Input[str] root_doc_id: Key of the root document object. """ + WorkspaceProjectParentRefArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + parent=parent, + root_doc_id=root_doc_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + parent: Optional[pulumi.Input[str]] = None, + root_doc_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if parent is not None: - pulumi.set(__self__, "parent", parent) + _setter("parent", parent) if root_doc_id is not None: - pulumi.set(__self__, "root_doc_id", root_doc_id) + _setter("root_doc_id", root_doc_id) @property @pulumi.getter @@ -1816,16 +2158,33 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] labels: (Updatable) Labels are keywords or labels that you can add to data assets, dataflows etc. You can define your own labels and use them to categorize content. :param pulumi.Input[int] registry_version: (Updatable) The registry version. """ + WorkspaceProjectRegistryMetadataArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + aggregator_key=aggregator_key, + is_favorite=is_favorite, + key=key, + labels=labels, + registry_version=registry_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aggregator_key: Optional[pulumi.Input[str]] = None, + is_favorite: Optional[pulumi.Input[bool]] = None, + key: Optional[pulumi.Input[str]] = None, + labels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + registry_version: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aggregator_key is not None: - pulumi.set(__self__, "aggregator_key", aggregator_key) + _setter("aggregator_key", aggregator_key) if is_favorite is not None: - pulumi.set(__self__, "is_favorite", is_favorite) + _setter("is_favorite", is_favorite) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if labels is not None: - pulumi.set(__self__, "labels", labels) + _setter("labels", labels) if registry_version is not None: - pulumi.set(__self__, "registry_version", registry_version) + _setter("registry_version", registry_version) @property @pulumi.getter(name="aggregatorKey") @@ -1897,10 +2256,23 @@ def __init__(__self__, *, """ :param str name: Used to filter by the name of the object. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetWorkspaceApplicationsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1942,10 +2314,23 @@ def __init__(__self__, *, """ :param str name: Used to filter by the name of the object. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetWorkspaceFoldersFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1987,10 +2372,23 @@ def __init__(__self__, *, """ :param str name: Used to filter by the name of the object. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetWorkspaceProjectsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2032,10 +2430,23 @@ def __init__(__self__, *, """ :param str name: Used to filter by the name of the object. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetWorkspacesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/dataintegration/get_workspace.py b/sdk/python/pulumi_oci/dataintegration/get_workspace.py index 3de9edb927..de5687f576 100644 --- a/sdk/python/pulumi_oci/dataintegration/get_workspace.py +++ b/sdk/python/pulumi_oci/dataintegration/get_workspace.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/dataintegration/get_workspace_application.py b/sdk/python/pulumi_oci/dataintegration/get_workspace_application.py index a83d28cb8c..2b0bd0a6fa 100644 --- a/sdk/python/pulumi_oci/dataintegration/get_workspace_application.py +++ b/sdk/python/pulumi_oci/dataintegration/get_workspace_application.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/dataintegration/get_workspace_applications.py b/sdk/python/pulumi_oci/dataintegration/get_workspace_applications.py index 3e03ebbfec..604a318500 100644 --- a/sdk/python/pulumi_oci/dataintegration/get_workspace_applications.py +++ b/sdk/python/pulumi_oci/dataintegration/get_workspace_applications.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/dataintegration/get_workspace_folder.py b/sdk/python/pulumi_oci/dataintegration/get_workspace_folder.py index dd89dec3d2..a7c5e3c3c3 100644 --- a/sdk/python/pulumi_oci/dataintegration/get_workspace_folder.py +++ b/sdk/python/pulumi_oci/dataintegration/get_workspace_folder.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/dataintegration/get_workspace_folders.py b/sdk/python/pulumi_oci/dataintegration/get_workspace_folders.py index f5d133d759..1dd9f535cd 100644 --- a/sdk/python/pulumi_oci/dataintegration/get_workspace_folders.py +++ b/sdk/python/pulumi_oci/dataintegration/get_workspace_folders.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/dataintegration/get_workspace_project.py b/sdk/python/pulumi_oci/dataintegration/get_workspace_project.py index d2f1197e0f..4ba11c9ca9 100644 --- a/sdk/python/pulumi_oci/dataintegration/get_workspace_project.py +++ b/sdk/python/pulumi_oci/dataintegration/get_workspace_project.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/dataintegration/get_workspace_projects.py b/sdk/python/pulumi_oci/dataintegration/get_workspace_projects.py index 112e51438f..43dcff590e 100644 --- a/sdk/python/pulumi_oci/dataintegration/get_workspace_projects.py +++ b/sdk/python/pulumi_oci/dataintegration/get_workspace_projects.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/dataintegration/get_workspaces.py b/sdk/python/pulumi_oci/dataintegration/get_workspaces.py index e690101647..3af84770db 100644 --- a/sdk/python/pulumi_oci/dataintegration/get_workspaces.py +++ b/sdk/python/pulumi_oci/dataintegration/get_workspaces.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/dataintegration/outputs.py b/sdk/python/pulumi_oci/dataintegration/outputs.py index 67d26c86fb..489f876049 100644 --- a/sdk/python/pulumi_oci/dataintegration/outputs.py +++ b/sdk/python/pulumi_oci/dataintegration/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -125,20 +125,41 @@ def __init__(__self__, *, :param int object_version: The object version. :param str type: The type of the object in patch. """ + WorkspaceApplicationDependentObjectMetadata._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + identifier=identifier, + key=key, + name=name, + name_path=name_path, + object_version=object_version, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: Optional[str] = None, + identifier: Optional[str] = None, + key: Optional[str] = None, + name: Optional[str] = None, + name_path: Optional[str] = None, + object_version: Optional[int] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if action is not None: - pulumi.set(__self__, "action", action) + _setter("action", action) if identifier is not None: - pulumi.set(__self__, "identifier", identifier) + _setter("identifier", identifier) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if name_path is not None: - pulumi.set(__self__, "name_path", name_path) + _setter("name_path", name_path) if object_version is not None: - pulumi.set(__self__, "object_version", object_version) + _setter("object_version", object_version) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -269,34 +290,69 @@ def __init__(__self__, *, :param str updated_by: The user that updated the object. :param str updated_by_name: The user that updated the object. """ + WorkspaceApplicationMetadata._configure( + lambda key, value: pulumi.set(__self__, key, value), + aggregator_key=aggregator_key, + aggregators=aggregators, + count_statistics=count_statistics, + created_by=created_by, + created_by_name=created_by_name, + identifier_path=identifier_path, + info_fields=info_fields, + is_favorite=is_favorite, + labels=labels, + registry_version=registry_version, + time_created=time_created, + time_updated=time_updated, + updated_by=updated_by, + updated_by_name=updated_by_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aggregator_key: Optional[str] = None, + aggregators: Optional[Sequence['outputs.WorkspaceApplicationMetadataAggregator']] = None, + count_statistics: Optional[Sequence['outputs.WorkspaceApplicationMetadataCountStatistic']] = None, + created_by: Optional[str] = None, + created_by_name: Optional[str] = None, + identifier_path: Optional[str] = None, + info_fields: Optional[Mapping[str, Any]] = None, + is_favorite: Optional[bool] = None, + labels: Optional[Sequence[str]] = None, + registry_version: Optional[int] = None, + time_created: Optional[str] = None, + time_updated: Optional[str] = None, + updated_by: Optional[str] = None, + updated_by_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aggregator_key is not None: - pulumi.set(__self__, "aggregator_key", aggregator_key) + _setter("aggregator_key", aggregator_key) if aggregators is not None: - pulumi.set(__self__, "aggregators", aggregators) + _setter("aggregators", aggregators) if count_statistics is not None: - pulumi.set(__self__, "count_statistics", count_statistics) + _setter("count_statistics", count_statistics) if created_by is not None: - pulumi.set(__self__, "created_by", created_by) + _setter("created_by", created_by) if created_by_name is not None: - pulumi.set(__self__, "created_by_name", created_by_name) + _setter("created_by_name", created_by_name) if identifier_path is not None: - pulumi.set(__self__, "identifier_path", identifier_path) + _setter("identifier_path", identifier_path) if info_fields is not None: - pulumi.set(__self__, "info_fields", info_fields) + _setter("info_fields", info_fields) if is_favorite is not None: - pulumi.set(__self__, "is_favorite", is_favorite) + _setter("is_favorite", is_favorite) if labels is not None: - pulumi.set(__self__, "labels", labels) + _setter("labels", labels) if registry_version is not None: - pulumi.set(__self__, "registry_version", registry_version) + _setter("registry_version", registry_version) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if updated_by is not None: - pulumi.set(__self__, "updated_by", updated_by) + _setter("updated_by", updated_by) if updated_by_name is not None: - pulumi.set(__self__, "updated_by_name", updated_by_name) + _setter("updated_by_name", updated_by_name) @property @pulumi.getter(name="aggregatorKey") @@ -426,16 +482,33 @@ def __init__(__self__, *, :param str name: (Updatable) Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters. :param str type: The type of the object in patch. """ + WorkspaceApplicationMetadataAggregator._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + identifier=identifier, + key=key, + name=name, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: Optional[str] = None, + identifier: Optional[str] = None, + key: Optional[str] = None, + name: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if identifier is not None: - pulumi.set(__self__, "identifier", identifier) + _setter("identifier", identifier) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -502,8 +575,17 @@ def __init__(__self__, *, """ :param Sequence['WorkspaceApplicationMetadataCountStatisticObjectTypeCountListArgs'] object_type_count_lists: The array of statistics. """ + WorkspaceApplicationMetadataCountStatistic._configure( + lambda key, value: pulumi.set(__self__, key, value), + object_type_count_lists=object_type_count_lists, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + object_type_count_lists: Optional[Sequence['outputs.WorkspaceApplicationMetadataCountStatisticObjectTypeCountList']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if object_type_count_lists is not None: - pulumi.set(__self__, "object_type_count_lists", object_type_count_lists) + _setter("object_type_count_lists", object_type_count_lists) @property @pulumi.getter(name="objectTypeCountLists") @@ -542,10 +624,21 @@ def __init__(__self__, *, :param str object_count: The value for the count statistic object. :param str object_type: The type of object for the count statistic object. """ + WorkspaceApplicationMetadataCountStatisticObjectTypeCountList._configure( + lambda key, value: pulumi.set(__self__, key, value), + object_count=object_count, + object_type=object_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + object_count: Optional[str] = None, + object_type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if object_count is not None: - pulumi.set(__self__, "object_count", object_count) + _setter("object_count", object_count) if object_type is not None: - pulumi.set(__self__, "object_type", object_type) + _setter("object_type", object_type) @property @pulumi.getter(name="objectCount") @@ -590,10 +683,21 @@ def __init__(__self__, *, :param str parent: Key of the parent object. :param str root_doc_id: Key of the root document object. """ + WorkspaceApplicationParentRef._configure( + lambda key, value: pulumi.set(__self__, key, value), + parent=parent, + root_doc_id=root_doc_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + parent: Optional[str] = None, + root_doc_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if parent is not None: - pulumi.set(__self__, "parent", parent) + _setter("parent", parent) if root_doc_id is not None: - pulumi.set(__self__, "root_doc_id", root_doc_id) + _setter("root_doc_id", root_doc_id) @property @pulumi.getter @@ -650,20 +754,41 @@ def __init__(__self__, *, :param int object_version: The object version. :param str type: The type of the object in patch. """ + WorkspaceApplicationPublishedObjectMetadata._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + identifier=identifier, + key=key, + name=name, + name_path=name_path, + object_version=object_version, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: Optional[str] = None, + identifier: Optional[str] = None, + key: Optional[str] = None, + name: Optional[str] = None, + name_path: Optional[str] = None, + object_version: Optional[int] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if action is not None: - pulumi.set(__self__, "action", action) + _setter("action", action) if identifier is not None: - pulumi.set(__self__, "identifier", identifier) + _setter("identifier", identifier) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if name_path is not None: - pulumi.set(__self__, "name_path", name_path) + _setter("name_path", name_path) if object_version is not None: - pulumi.set(__self__, "object_version", object_version) + _setter("object_version", object_version) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -758,16 +883,33 @@ def __init__(__self__, *, :param Sequence[str] labels: Labels are keywords or labels that you can add to data assets, dataflows etc. You can define your own labels and use them to categorize content. :param int registry_version: The registry version. """ + WorkspaceApplicationRegistryMetadata._configure( + lambda key, value: pulumi.set(__self__, key, value), + aggregator_key=aggregator_key, + is_favorite=is_favorite, + key=key, + labels=labels, + registry_version=registry_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aggregator_key: Optional[str] = None, + is_favorite: Optional[bool] = None, + key: Optional[str] = None, + labels: Optional[Sequence[str]] = None, + registry_version: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aggregator_key is not None: - pulumi.set(__self__, "aggregator_key", aggregator_key) + _setter("aggregator_key", aggregator_key) if is_favorite is not None: - pulumi.set(__self__, "is_favorite", is_favorite) + _setter("is_favorite", is_favorite) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if labels is not None: - pulumi.set(__self__, "labels", labels) + _setter("labels", labels) if registry_version is not None: - pulumi.set(__self__, "registry_version", registry_version) + _setter("registry_version", registry_version) @property @pulumi.getter(name="aggregatorKey") @@ -854,16 +996,33 @@ def __init__(__self__, *, ** 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 """ + WorkspaceApplicationSourceApplicationInfo._configure( + lambda key, value: pulumi.set(__self__, key, value), + application_key=application_key, + application_version=application_version, + copy_type=copy_type, + last_patch_key=last_patch_key, + workspace_id=workspace_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + application_key: Optional[str] = None, + application_version: Optional[str] = None, + copy_type: Optional[str] = None, + last_patch_key: Optional[str] = None, + workspace_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if application_key is not None: - pulumi.set(__self__, "application_key", application_key) + _setter("application_key", application_key) if application_version is not None: - pulumi.set(__self__, "application_version", application_version) + _setter("application_version", application_version) if copy_type is not None: - pulumi.set(__self__, "copy_type", copy_type) + _setter("copy_type", copy_type) if last_patch_key is not None: - pulumi.set(__self__, "last_patch_key", last_patch_key) + _setter("last_patch_key", last_patch_key) if workspace_id is not None: - pulumi.set(__self__, "workspace_id", workspace_id) + _setter("workspace_id", workspace_id) @property @pulumi.getter(name="applicationKey") @@ -982,34 +1141,69 @@ def __init__(__self__, *, :param str updated_by: The user that updated the object. :param str updated_by_name: The user that updated the object. """ + WorkspaceFolderMetadata._configure( + lambda key, value: pulumi.set(__self__, key, value), + aggregator_key=aggregator_key, + aggregators=aggregators, + count_statistics=count_statistics, + created_by=created_by, + created_by_name=created_by_name, + identifier_path=identifier_path, + info_fields=info_fields, + is_favorite=is_favorite, + labels=labels, + registry_version=registry_version, + time_created=time_created, + time_updated=time_updated, + updated_by=updated_by, + updated_by_name=updated_by_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aggregator_key: Optional[str] = None, + aggregators: Optional[Sequence['outputs.WorkspaceFolderMetadataAggregator']] = None, + count_statistics: Optional[Sequence['outputs.WorkspaceFolderMetadataCountStatistic']] = None, + created_by: Optional[str] = None, + created_by_name: Optional[str] = None, + identifier_path: Optional[str] = None, + info_fields: Optional[Mapping[str, Any]] = None, + is_favorite: Optional[bool] = None, + labels: Optional[Sequence[str]] = None, + registry_version: Optional[int] = None, + time_created: Optional[str] = None, + time_updated: Optional[str] = None, + updated_by: Optional[str] = None, + updated_by_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aggregator_key is not None: - pulumi.set(__self__, "aggregator_key", aggregator_key) + _setter("aggregator_key", aggregator_key) if aggregators is not None: - pulumi.set(__self__, "aggregators", aggregators) + _setter("aggregators", aggregators) if count_statistics is not None: - pulumi.set(__self__, "count_statistics", count_statistics) + _setter("count_statistics", count_statistics) if created_by is not None: - pulumi.set(__self__, "created_by", created_by) + _setter("created_by", created_by) if created_by_name is not None: - pulumi.set(__self__, "created_by_name", created_by_name) + _setter("created_by_name", created_by_name) if identifier_path is not None: - pulumi.set(__self__, "identifier_path", identifier_path) + _setter("identifier_path", identifier_path) if info_fields is not None: - pulumi.set(__self__, "info_fields", info_fields) + _setter("info_fields", info_fields) if is_favorite is not None: - pulumi.set(__self__, "is_favorite", is_favorite) + _setter("is_favorite", is_favorite) if labels is not None: - pulumi.set(__self__, "labels", labels) + _setter("labels", labels) if registry_version is not None: - pulumi.set(__self__, "registry_version", registry_version) + _setter("registry_version", registry_version) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if updated_by is not None: - pulumi.set(__self__, "updated_by", updated_by) + _setter("updated_by", updated_by) if updated_by_name is not None: - pulumi.set(__self__, "updated_by_name", updated_by_name) + _setter("updated_by_name", updated_by_name) @property @pulumi.getter(name="aggregatorKey") @@ -1139,16 +1333,33 @@ def __init__(__self__, *, :param str name: (Updatable) Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters. :param str type: The type of the aggregator. """ + WorkspaceFolderMetadataAggregator._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + identifier=identifier, + key=key, + name=name, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: Optional[str] = None, + identifier: Optional[str] = None, + key: Optional[str] = None, + name: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if identifier is not None: - pulumi.set(__self__, "identifier", identifier) + _setter("identifier", identifier) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -1215,8 +1426,17 @@ def __init__(__self__, *, """ :param Sequence['WorkspaceFolderMetadataCountStatisticObjectTypeCountListArgs'] object_type_count_lists: The array of statistics. """ + WorkspaceFolderMetadataCountStatistic._configure( + lambda key, value: pulumi.set(__self__, key, value), + object_type_count_lists=object_type_count_lists, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + object_type_count_lists: Optional[Sequence['outputs.WorkspaceFolderMetadataCountStatisticObjectTypeCountList']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if object_type_count_lists is not None: - pulumi.set(__self__, "object_type_count_lists", object_type_count_lists) + _setter("object_type_count_lists", object_type_count_lists) @property @pulumi.getter(name="objectTypeCountLists") @@ -1255,10 +1475,21 @@ def __init__(__self__, *, :param str object_count: The value for the count statistic object. :param str object_type: The type of object for the count statistic object. """ + WorkspaceFolderMetadataCountStatisticObjectTypeCountList._configure( + lambda key, value: pulumi.set(__self__, key, value), + object_count=object_count, + object_type=object_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + object_count: Optional[str] = None, + object_type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if object_count is not None: - pulumi.set(__self__, "object_count", object_count) + _setter("object_count", object_count) if object_type is not None: - pulumi.set(__self__, "object_type", object_type) + _setter("object_type", object_type) @property @pulumi.getter(name="objectCount") @@ -1303,10 +1534,21 @@ def __init__(__self__, *, :param str parent: Key of the parent object. :param str root_doc_id: Key of the root document object. """ + WorkspaceFolderParentRef._configure( + lambda key, value: pulumi.set(__self__, key, value), + parent=parent, + root_doc_id=root_doc_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + parent: Optional[str] = None, + root_doc_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if parent is not None: - pulumi.set(__self__, "parent", parent) + _setter("parent", parent) if root_doc_id is not None: - pulumi.set(__self__, "root_doc_id", root_doc_id) + _setter("root_doc_id", root_doc_id) @property @pulumi.getter @@ -1361,16 +1603,33 @@ def __init__(__self__, *, :param Sequence[str] labels: (Updatable) Labels are keywords or labels that you can add to data assets, dataflows etc. You can define your own labels and use them to categorize content. :param int registry_version: (Updatable) The registry version. """ + WorkspaceFolderRegistryMetadata._configure( + lambda key, value: pulumi.set(__self__, key, value), + aggregator_key=aggregator_key, + is_favorite=is_favorite, + key=key, + labels=labels, + registry_version=registry_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aggregator_key: Optional[str] = None, + is_favorite: Optional[bool] = None, + key: Optional[str] = None, + labels: Optional[Sequence[str]] = None, + registry_version: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aggregator_key is not None: - pulumi.set(__self__, "aggregator_key", aggregator_key) + _setter("aggregator_key", aggregator_key) if is_favorite is not None: - pulumi.set(__self__, "is_favorite", is_favorite) + _setter("is_favorite", is_favorite) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if labels is not None: - pulumi.set(__self__, "labels", labels) + _setter("labels", labels) if registry_version is not None: - pulumi.set(__self__, "registry_version", registry_version) + _setter("registry_version", registry_version) @property @pulumi.getter(name="aggregatorKey") @@ -1485,34 +1744,69 @@ def __init__(__self__, *, :param str updated_by: The user that updated the object. :param str updated_by_name: The user that updated the object. """ + WorkspaceProjectMetadata._configure( + lambda key, value: pulumi.set(__self__, key, value), + aggregator_key=aggregator_key, + aggregators=aggregators, + count_statistics=count_statistics, + created_by=created_by, + created_by_name=created_by_name, + identifier_path=identifier_path, + info_fields=info_fields, + is_favorite=is_favorite, + labels=labels, + registry_version=registry_version, + time_created=time_created, + time_updated=time_updated, + updated_by=updated_by, + updated_by_name=updated_by_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aggregator_key: Optional[str] = None, + aggregators: Optional[Sequence['outputs.WorkspaceProjectMetadataAggregator']] = None, + count_statistics: Optional[Sequence['outputs.WorkspaceProjectMetadataCountStatistic']] = None, + created_by: Optional[str] = None, + created_by_name: Optional[str] = None, + identifier_path: Optional[str] = None, + info_fields: Optional[Mapping[str, Any]] = None, + is_favorite: Optional[bool] = None, + labels: Optional[Sequence[str]] = None, + registry_version: Optional[int] = None, + time_created: Optional[str] = None, + time_updated: Optional[str] = None, + updated_by: Optional[str] = None, + updated_by_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aggregator_key is not None: - pulumi.set(__self__, "aggregator_key", aggregator_key) + _setter("aggregator_key", aggregator_key) if aggregators is not None: - pulumi.set(__self__, "aggregators", aggregators) + _setter("aggregators", aggregators) if count_statistics is not None: - pulumi.set(__self__, "count_statistics", count_statistics) + _setter("count_statistics", count_statistics) if created_by is not None: - pulumi.set(__self__, "created_by", created_by) + _setter("created_by", created_by) if created_by_name is not None: - pulumi.set(__self__, "created_by_name", created_by_name) + _setter("created_by_name", created_by_name) if identifier_path is not None: - pulumi.set(__self__, "identifier_path", identifier_path) + _setter("identifier_path", identifier_path) if info_fields is not None: - pulumi.set(__self__, "info_fields", info_fields) + _setter("info_fields", info_fields) if is_favorite is not None: - pulumi.set(__self__, "is_favorite", is_favorite) + _setter("is_favorite", is_favorite) if labels is not None: - pulumi.set(__self__, "labels", labels) + _setter("labels", labels) if registry_version is not None: - pulumi.set(__self__, "registry_version", registry_version) + _setter("registry_version", registry_version) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if updated_by is not None: - pulumi.set(__self__, "updated_by", updated_by) + _setter("updated_by", updated_by) if updated_by_name is not None: - pulumi.set(__self__, "updated_by_name", updated_by_name) + _setter("updated_by_name", updated_by_name) @property @pulumi.getter(name="aggregatorKey") @@ -1642,16 +1936,33 @@ def __init__(__self__, *, :param str name: (Updatable) Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters. :param str type: The type of the aggregator. """ + WorkspaceProjectMetadataAggregator._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + identifier=identifier, + key=key, + name=name, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: Optional[str] = None, + identifier: Optional[str] = None, + key: Optional[str] = None, + name: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if identifier is not None: - pulumi.set(__self__, "identifier", identifier) + _setter("identifier", identifier) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -1718,8 +2029,17 @@ def __init__(__self__, *, """ :param Sequence['WorkspaceProjectMetadataCountStatisticObjectTypeCountListArgs'] object_type_count_lists: The array of statistics. """ + WorkspaceProjectMetadataCountStatistic._configure( + lambda key, value: pulumi.set(__self__, key, value), + object_type_count_lists=object_type_count_lists, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + object_type_count_lists: Optional[Sequence['outputs.WorkspaceProjectMetadataCountStatisticObjectTypeCountList']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if object_type_count_lists is not None: - pulumi.set(__self__, "object_type_count_lists", object_type_count_lists) + _setter("object_type_count_lists", object_type_count_lists) @property @pulumi.getter(name="objectTypeCountLists") @@ -1758,10 +2078,21 @@ def __init__(__self__, *, :param str object_count: The value for the count statistic object. :param str object_type: The type of object for the count statistic object. """ + WorkspaceProjectMetadataCountStatisticObjectTypeCountList._configure( + lambda key, value: pulumi.set(__self__, key, value), + object_count=object_count, + object_type=object_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + object_count: Optional[str] = None, + object_type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if object_count is not None: - pulumi.set(__self__, "object_count", object_count) + _setter("object_count", object_count) if object_type is not None: - pulumi.set(__self__, "object_type", object_type) + _setter("object_type", object_type) @property @pulumi.getter(name="objectCount") @@ -1806,10 +2137,21 @@ def __init__(__self__, *, :param str parent: Key of the parent object. :param str root_doc_id: Key of the root document object. """ + WorkspaceProjectParentRef._configure( + lambda key, value: pulumi.set(__self__, key, value), + parent=parent, + root_doc_id=root_doc_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + parent: Optional[str] = None, + root_doc_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if parent is not None: - pulumi.set(__self__, "parent", parent) + _setter("parent", parent) if root_doc_id is not None: - pulumi.set(__self__, "root_doc_id", root_doc_id) + _setter("root_doc_id", root_doc_id) @property @pulumi.getter @@ -1864,16 +2206,33 @@ def __init__(__self__, *, :param Sequence[str] labels: (Updatable) Labels are keywords or labels that you can add to data assets, dataflows etc. You can define your own labels and use them to categorize content. :param int registry_version: (Updatable) The registry version. """ + WorkspaceProjectRegistryMetadata._configure( + lambda key, value: pulumi.set(__self__, key, value), + aggregator_key=aggregator_key, + is_favorite=is_favorite, + key=key, + labels=labels, + registry_version=registry_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aggregator_key: Optional[str] = None, + is_favorite: Optional[bool] = None, + key: Optional[str] = None, + labels: Optional[Sequence[str]] = None, + registry_version: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aggregator_key is not None: - pulumi.set(__self__, "aggregator_key", aggregator_key) + _setter("aggregator_key", aggregator_key) if is_favorite is not None: - pulumi.set(__self__, "is_favorite", is_favorite) + _setter("is_favorite", is_favorite) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if labels is not None: - pulumi.set(__self__, "labels", labels) + _setter("labels", labels) if registry_version is not None: - pulumi.set(__self__, "registry_version", registry_version) + _setter("registry_version", registry_version) @property @pulumi.getter(name="aggregatorKey") @@ -1935,13 +2294,34 @@ def __init__(__self__, *, :param int object_version: The object version. :param str type: The type of the object in patch. """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "identifier", identifier) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "name_path", name_path) - pulumi.set(__self__, "object_version", object_version) - pulumi.set(__self__, "type", type) + GetWorkspaceApplicationDependentObjectMetadataResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + identifier=identifier, + key=key, + name=name, + name_path=name_path, + object_version=object_version, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: str, + identifier: str, + key: str, + name: str, + name_path: str, + object_version: int, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("identifier", identifier) + _setter("key", key) + _setter("name", name) + _setter("name_path", name_path) + _setter("object_version", object_version) + _setter("type", type) @property @pulumi.getter @@ -2033,20 +2413,55 @@ def __init__(__self__, *, :param str updated_by: The user that updated the object. :param str updated_by_name: The user that updated the object. """ - pulumi.set(__self__, "aggregator_key", aggregator_key) - pulumi.set(__self__, "aggregators", aggregators) - pulumi.set(__self__, "count_statistics", count_statistics) - pulumi.set(__self__, "created_by", created_by) - pulumi.set(__self__, "created_by_name", created_by_name) - pulumi.set(__self__, "identifier_path", identifier_path) - pulumi.set(__self__, "info_fields", info_fields) - pulumi.set(__self__, "is_favorite", is_favorite) - pulumi.set(__self__, "labels", labels) - pulumi.set(__self__, "registry_version", registry_version) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "updated_by", updated_by) - pulumi.set(__self__, "updated_by_name", updated_by_name) + GetWorkspaceApplicationMetadataResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + aggregator_key=aggregator_key, + aggregators=aggregators, + count_statistics=count_statistics, + created_by=created_by, + created_by_name=created_by_name, + identifier_path=identifier_path, + info_fields=info_fields, + is_favorite=is_favorite, + labels=labels, + registry_version=registry_version, + time_created=time_created, + time_updated=time_updated, + updated_by=updated_by, + updated_by_name=updated_by_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aggregator_key: str, + aggregators: Sequence['outputs.GetWorkspaceApplicationMetadataAggregatorResult'], + count_statistics: Sequence['outputs.GetWorkspaceApplicationMetadataCountStatisticResult'], + created_by: str, + created_by_name: str, + identifier_path: str, + info_fields: Mapping[str, Any], + is_favorite: bool, + labels: Sequence[str], + registry_version: int, + time_created: str, + time_updated: str, + updated_by: str, + updated_by_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("aggregator_key", aggregator_key) + _setter("aggregators", aggregators) + _setter("count_statistics", count_statistics) + _setter("created_by", created_by) + _setter("created_by_name", created_by_name) + _setter("identifier_path", identifier_path) + _setter("info_fields", info_fields) + _setter("is_favorite", is_favorite) + _setter("labels", labels) + _setter("registry_version", registry_version) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("updated_by", updated_by) + _setter("updated_by_name", updated_by_name) @property @pulumi.getter(name="aggregatorKey") @@ -2176,11 +2591,28 @@ def __init__(__self__, *, :param str name: Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters. :param str type: The type of the object in patch. """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "identifier", identifier) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "type", type) + GetWorkspaceApplicationMetadataAggregatorResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + identifier=identifier, + key=key, + name=name, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + identifier: str, + key: str, + name: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("identifier", identifier) + _setter("key", key) + _setter("name", name) + _setter("type", type) @property @pulumi.getter @@ -2230,7 +2662,16 @@ def __init__(__self__, *, """ :param Sequence['GetWorkspaceApplicationMetadataCountStatisticObjectTypeCountListArgs'] object_type_count_lists: The array of statistics. """ - pulumi.set(__self__, "object_type_count_lists", object_type_count_lists) + GetWorkspaceApplicationMetadataCountStatisticResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + object_type_count_lists=object_type_count_lists, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + object_type_count_lists: Sequence['outputs.GetWorkspaceApplicationMetadataCountStatisticObjectTypeCountListResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("object_type_count_lists", object_type_count_lists) @property @pulumi.getter(name="objectTypeCountLists") @@ -2250,8 +2691,19 @@ def __init__(__self__, *, :param str object_count: The value for the count statistic object. :param str object_type: The type of object for the count statistic object. """ - pulumi.set(__self__, "object_count", object_count) - pulumi.set(__self__, "object_type", object_type) + GetWorkspaceApplicationMetadataCountStatisticObjectTypeCountListResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + object_count=object_count, + object_type=object_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + object_count: str, + object_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("object_count", object_count) + _setter("object_type", object_type) @property @pulumi.getter(name="objectCount") @@ -2279,8 +2731,19 @@ def __init__(__self__, *, :param str parent: Key of the parent object. :param str root_doc_id: Key of the root document object. """ - pulumi.set(__self__, "parent", parent) - pulumi.set(__self__, "root_doc_id", root_doc_id) + GetWorkspaceApplicationParentRefResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + parent=parent, + root_doc_id=root_doc_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + parent: str, + root_doc_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("parent", parent) + _setter("root_doc_id", root_doc_id) @property @pulumi.getter @@ -2318,13 +2781,34 @@ def __init__(__self__, *, :param int object_version: The object version. :param str type: The type of the object in patch. """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "identifier", identifier) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "name_path", name_path) - pulumi.set(__self__, "object_version", object_version) - pulumi.set(__self__, "type", type) + GetWorkspaceApplicationPublishedObjectMetadataResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + identifier=identifier, + key=key, + name=name, + name_path=name_path, + object_version=object_version, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: str, + identifier: str, + key: str, + name: str, + name_path: str, + object_version: int, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("identifier", identifier) + _setter("key", key) + _setter("name", name) + _setter("name_path", name_path) + _setter("object_version", object_version) + _setter("type", type) @property @pulumi.getter @@ -2398,11 +2882,28 @@ def __init__(__self__, *, :param Sequence[str] labels: Labels are keywords or tags that you can add to data assets, dataflows and so on. You can define your own labels and use them to categorize content. :param int registry_version: The registry version of the object. """ - pulumi.set(__self__, "aggregator_key", aggregator_key) - pulumi.set(__self__, "is_favorite", is_favorite) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "labels", labels) - pulumi.set(__self__, "registry_version", registry_version) + GetWorkspaceApplicationRegistryMetadataResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + aggregator_key=aggregator_key, + is_favorite=is_favorite, + key=key, + labels=labels, + registry_version=registry_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aggregator_key: str, + is_favorite: bool, + key: str, + labels: Sequence[str], + registry_version: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("aggregator_key", aggregator_key) + _setter("is_favorite", is_favorite) + _setter("key", key) + _setter("labels", labels) + _setter("registry_version", registry_version) @property @pulumi.getter(name="aggregatorKey") @@ -2459,11 +2960,28 @@ def __init__(__self__, *, :param str last_patch_key: The last patch key for the application. :param str workspace_id: The workspace ID. """ - pulumi.set(__self__, "application_key", application_key) - pulumi.set(__self__, "application_version", application_version) - pulumi.set(__self__, "copy_type", copy_type) - pulumi.set(__self__, "last_patch_key", last_patch_key) - pulumi.set(__self__, "workspace_id", workspace_id) + GetWorkspaceApplicationSourceApplicationInfoResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + application_key=application_key, + application_version=application_version, + copy_type=copy_type, + last_patch_key=last_patch_key, + workspace_id=workspace_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + application_key: str, + application_version: str, + copy_type: str, + last_patch_key: str, + workspace_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("application_key", application_key) + _setter("application_version", application_version) + _setter("copy_type", copy_type) + _setter("last_patch_key", last_patch_key) + _setter("workspace_id", workspace_id) @property @pulumi.getter(name="applicationKey") @@ -2507,7 +3025,16 @@ def workspace_id(self) -> str: class GetWorkspaceApplicationsApplicationSummaryCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetWorkspaceApplicationsApplicationSummaryCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetWorkspaceApplicationsApplicationSummaryCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetWorkspaceApplicationsApplicationSummaryCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -2571,32 +3098,91 @@ def __init__(__self__, *, :param str time_updated: The date and time the application was updated, in the timestamp format defined by RFC3339. example: 2019-08-25T21:10:29.41Z :param str workspace_id: The workspace ID. """ - pulumi.set(__self__, "application_version", application_version) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "dependent_object_metadatas", dependent_object_metadatas) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "identifier", identifier) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "key_map", key_map) - pulumi.set(__self__, "metadatas", metadatas) - pulumi.set(__self__, "model_type", model_type) - pulumi.set(__self__, "model_version", model_version) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "object_status", object_status) - pulumi.set(__self__, "object_version", object_version) - pulumi.set(__self__, "parent_reves", parent_reves) - pulumi.set(__self__, "published_object_metadatas", published_object_metadatas) - pulumi.set(__self__, "registry_metadatas", registry_metadatas) - pulumi.set(__self__, "source_application_infos", source_application_infos) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_patched", time_patched) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "workspace_id", workspace_id) + GetWorkspaceApplicationsApplicationSummaryCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + application_version=application_version, + compartment_id=compartment_id, + defined_tags=defined_tags, + dependent_object_metadatas=dependent_object_metadatas, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + identifier=identifier, + key=key, + key_map=key_map, + metadatas=metadatas, + model_type=model_type, + model_version=model_version, + name=name, + object_status=object_status, + object_version=object_version, + parent_reves=parent_reves, + published_object_metadatas=published_object_metadatas, + registry_metadatas=registry_metadatas, + source_application_infos=source_application_infos, + state=state, + time_created=time_created, + time_patched=time_patched, + time_updated=time_updated, + workspace_id=workspace_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + application_version: int, + compartment_id: str, + defined_tags: Mapping[str, Any], + dependent_object_metadatas: Sequence['outputs.GetWorkspaceApplicationsApplicationSummaryCollectionItemDependentObjectMetadataResult'], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + identifier: str, + key: str, + key_map: Mapping[str, Any], + metadatas: Sequence['outputs.GetWorkspaceApplicationsApplicationSummaryCollectionItemMetadataResult'], + model_type: str, + model_version: str, + name: str, + object_status: int, + object_version: int, + parent_reves: Sequence['outputs.GetWorkspaceApplicationsApplicationSummaryCollectionItemParentRefResult'], + published_object_metadatas: Sequence['outputs.GetWorkspaceApplicationsApplicationSummaryCollectionItemPublishedObjectMetadataResult'], + registry_metadatas: Sequence['outputs.GetWorkspaceApplicationsApplicationSummaryCollectionItemRegistryMetadataResult'], + source_application_infos: Sequence['outputs.GetWorkspaceApplicationsApplicationSummaryCollectionItemSourceApplicationInfoResult'], + state: str, + time_created: str, + time_patched: str, + time_updated: str, + workspace_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("application_version", application_version) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("dependent_object_metadatas", dependent_object_metadatas) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("identifier", identifier) + _setter("key", key) + _setter("key_map", key_map) + _setter("metadatas", metadatas) + _setter("model_type", model_type) + _setter("model_version", model_version) + _setter("name", name) + _setter("object_status", object_status) + _setter("object_version", object_version) + _setter("parent_reves", parent_reves) + _setter("published_object_metadatas", published_object_metadatas) + _setter("registry_metadatas", registry_metadatas) + _setter("source_application_infos", source_application_infos) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_patched", time_patched) + _setter("time_updated", time_updated) + _setter("workspace_id", workspace_id) @property @pulumi.getter(name="applicationVersion") @@ -2823,13 +3409,34 @@ def __init__(__self__, *, :param int object_version: The object version. :param str type: The type of the object in patch. """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "identifier", identifier) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "name_path", name_path) - pulumi.set(__self__, "object_version", object_version) - pulumi.set(__self__, "type", type) + GetWorkspaceApplicationsApplicationSummaryCollectionItemDependentObjectMetadataResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + identifier=identifier, + key=key, + name=name, + name_path=name_path, + object_version=object_version, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: str, + identifier: str, + key: str, + name: str, + name_path: str, + object_version: int, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("identifier", identifier) + _setter("key", key) + _setter("name", name) + _setter("name_path", name_path) + _setter("object_version", object_version) + _setter("type", type) @property @pulumi.getter @@ -2921,20 +3528,55 @@ def __init__(__self__, *, :param str updated_by: The user that updated the object. :param str updated_by_name: The user that updated the object. """ - pulumi.set(__self__, "aggregator_key", aggregator_key) - pulumi.set(__self__, "aggregators", aggregators) - pulumi.set(__self__, "count_statistics", count_statistics) - pulumi.set(__self__, "created_by", created_by) - pulumi.set(__self__, "created_by_name", created_by_name) - pulumi.set(__self__, "identifier_path", identifier_path) - pulumi.set(__self__, "info_fields", info_fields) - pulumi.set(__self__, "is_favorite", is_favorite) - pulumi.set(__self__, "labels", labels) - pulumi.set(__self__, "registry_version", registry_version) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "updated_by", updated_by) - pulumi.set(__self__, "updated_by_name", updated_by_name) + GetWorkspaceApplicationsApplicationSummaryCollectionItemMetadataResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + aggregator_key=aggregator_key, + aggregators=aggregators, + count_statistics=count_statistics, + created_by=created_by, + created_by_name=created_by_name, + identifier_path=identifier_path, + info_fields=info_fields, + is_favorite=is_favorite, + labels=labels, + registry_version=registry_version, + time_created=time_created, + time_updated=time_updated, + updated_by=updated_by, + updated_by_name=updated_by_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aggregator_key: str, + aggregators: Sequence['outputs.GetWorkspaceApplicationsApplicationSummaryCollectionItemMetadataAggregatorResult'], + count_statistics: Sequence['outputs.GetWorkspaceApplicationsApplicationSummaryCollectionItemMetadataCountStatisticResult'], + created_by: str, + created_by_name: str, + identifier_path: str, + info_fields: Mapping[str, Any], + is_favorite: bool, + labels: Sequence[str], + registry_version: int, + time_created: str, + time_updated: str, + updated_by: str, + updated_by_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("aggregator_key", aggregator_key) + _setter("aggregators", aggregators) + _setter("count_statistics", count_statistics) + _setter("created_by", created_by) + _setter("created_by_name", created_by_name) + _setter("identifier_path", identifier_path) + _setter("info_fields", info_fields) + _setter("is_favorite", is_favorite) + _setter("labels", labels) + _setter("registry_version", registry_version) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("updated_by", updated_by) + _setter("updated_by_name", updated_by_name) @property @pulumi.getter(name="aggregatorKey") @@ -3064,11 +3706,28 @@ def __init__(__self__, *, :param str name: Used to filter by the name of the object. :param str type: The type of the object in patch. """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "identifier", identifier) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "type", type) + GetWorkspaceApplicationsApplicationSummaryCollectionItemMetadataAggregatorResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + identifier=identifier, + key=key, + name=name, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + identifier: str, + key: str, + name: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("identifier", identifier) + _setter("key", key) + _setter("name", name) + _setter("type", type) @property @pulumi.getter @@ -3118,7 +3777,16 @@ def __init__(__self__, *, """ :param Sequence['GetWorkspaceApplicationsApplicationSummaryCollectionItemMetadataCountStatisticObjectTypeCountListArgs'] object_type_count_lists: The array of statistics. """ - pulumi.set(__self__, "object_type_count_lists", object_type_count_lists) + GetWorkspaceApplicationsApplicationSummaryCollectionItemMetadataCountStatisticResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + object_type_count_lists=object_type_count_lists, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + object_type_count_lists: Sequence['outputs.GetWorkspaceApplicationsApplicationSummaryCollectionItemMetadataCountStatisticObjectTypeCountListResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("object_type_count_lists", object_type_count_lists) @property @pulumi.getter(name="objectTypeCountLists") @@ -3138,8 +3806,19 @@ def __init__(__self__, *, :param str object_count: The value for the count statistic object. :param str object_type: The type of object for the count statistic object. """ - pulumi.set(__self__, "object_count", object_count) - pulumi.set(__self__, "object_type", object_type) + GetWorkspaceApplicationsApplicationSummaryCollectionItemMetadataCountStatisticObjectTypeCountListResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + object_count=object_count, + object_type=object_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + object_count: str, + object_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("object_count", object_count) + _setter("object_type", object_type) @property @pulumi.getter(name="objectCount") @@ -3167,8 +3846,19 @@ def __init__(__self__, *, :param str parent: Key of the parent object. :param str root_doc_id: Key of the root document object. """ - pulumi.set(__self__, "parent", parent) - pulumi.set(__self__, "root_doc_id", root_doc_id) + GetWorkspaceApplicationsApplicationSummaryCollectionItemParentRefResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + parent=parent, + root_doc_id=root_doc_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + parent: str, + root_doc_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("parent", parent) + _setter("root_doc_id", root_doc_id) @property @pulumi.getter @@ -3206,13 +3896,34 @@ def __init__(__self__, *, :param int object_version: The object version. :param str type: The type of the object in patch. """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "identifier", identifier) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "name_path", name_path) - pulumi.set(__self__, "object_version", object_version) - pulumi.set(__self__, "type", type) + GetWorkspaceApplicationsApplicationSummaryCollectionItemPublishedObjectMetadataResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + identifier=identifier, + key=key, + name=name, + name_path=name_path, + object_version=object_version, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: str, + identifier: str, + key: str, + name: str, + name_path: str, + object_version: int, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("identifier", identifier) + _setter("key", key) + _setter("name", name) + _setter("name_path", name_path) + _setter("object_version", object_version) + _setter("type", type) @property @pulumi.getter @@ -3286,11 +3997,28 @@ def __init__(__self__, *, :param Sequence[str] labels: Labels are keywords or tags that you can add to data assets, dataflows and so on. You can define your own labels and use them to categorize content. :param int registry_version: The registry version of the object. """ - pulumi.set(__self__, "aggregator_key", aggregator_key) - pulumi.set(__self__, "is_favorite", is_favorite) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "labels", labels) - pulumi.set(__self__, "registry_version", registry_version) + GetWorkspaceApplicationsApplicationSummaryCollectionItemRegistryMetadataResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + aggregator_key=aggregator_key, + is_favorite=is_favorite, + key=key, + labels=labels, + registry_version=registry_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aggregator_key: str, + is_favorite: bool, + key: str, + labels: Sequence[str], + registry_version: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("aggregator_key", aggregator_key) + _setter("is_favorite", is_favorite) + _setter("key", key) + _setter("labels", labels) + _setter("registry_version", registry_version) @property @pulumi.getter(name="aggregatorKey") @@ -3347,11 +4075,28 @@ def __init__(__self__, *, :param str last_patch_key: The last patch key for the application. :param str workspace_id: The workspace ID. """ - pulumi.set(__self__, "application_key", application_key) - pulumi.set(__self__, "application_version", application_version) - pulumi.set(__self__, "copy_type", copy_type) - pulumi.set(__self__, "last_patch_key", last_patch_key) - pulumi.set(__self__, "workspace_id", workspace_id) + GetWorkspaceApplicationsApplicationSummaryCollectionItemSourceApplicationInfoResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + application_key=application_key, + application_version=application_version, + copy_type=copy_type, + last_patch_key=last_patch_key, + workspace_id=workspace_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + application_key: str, + application_version: str, + copy_type: str, + last_patch_key: str, + workspace_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("application_key", application_key) + _setter("application_version", application_version) + _setter("copy_type", copy_type) + _setter("last_patch_key", last_patch_key) + _setter("workspace_id", workspace_id) @property @pulumi.getter(name="applicationKey") @@ -3400,10 +4145,23 @@ def __init__(__self__, *, """ :param str name: Used to filter by the name of the object. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetWorkspaceApplicationsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3457,20 +4215,55 @@ def __init__(__self__, *, :param str updated_by: The user that updated the object. :param str updated_by_name: The user that updated the object. """ - pulumi.set(__self__, "aggregator_key", aggregator_key) - pulumi.set(__self__, "aggregators", aggregators) - pulumi.set(__self__, "count_statistics", count_statistics) - pulumi.set(__self__, "created_by", created_by) - pulumi.set(__self__, "created_by_name", created_by_name) - pulumi.set(__self__, "identifier_path", identifier_path) - pulumi.set(__self__, "info_fields", info_fields) - pulumi.set(__self__, "is_favorite", is_favorite) - pulumi.set(__self__, "labels", labels) - pulumi.set(__self__, "registry_version", registry_version) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "updated_by", updated_by) - pulumi.set(__self__, "updated_by_name", updated_by_name) + GetWorkspaceFolderMetadataResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + aggregator_key=aggregator_key, + aggregators=aggregators, + count_statistics=count_statistics, + created_by=created_by, + created_by_name=created_by_name, + identifier_path=identifier_path, + info_fields=info_fields, + is_favorite=is_favorite, + labels=labels, + registry_version=registry_version, + time_created=time_created, + time_updated=time_updated, + updated_by=updated_by, + updated_by_name=updated_by_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aggregator_key: str, + aggregators: Sequence['outputs.GetWorkspaceFolderMetadataAggregatorResult'], + count_statistics: Sequence['outputs.GetWorkspaceFolderMetadataCountStatisticResult'], + created_by: str, + created_by_name: str, + identifier_path: str, + info_fields: Mapping[str, Any], + is_favorite: bool, + labels: Sequence[str], + registry_version: int, + time_created: str, + time_updated: str, + updated_by: str, + updated_by_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("aggregator_key", aggregator_key) + _setter("aggregators", aggregators) + _setter("count_statistics", count_statistics) + _setter("created_by", created_by) + _setter("created_by_name", created_by_name) + _setter("identifier_path", identifier_path) + _setter("info_fields", info_fields) + _setter("is_favorite", is_favorite) + _setter("labels", labels) + _setter("registry_version", registry_version) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("updated_by", updated_by) + _setter("updated_by_name", updated_by_name) @property @pulumi.getter(name="aggregatorKey") @@ -3600,11 +4393,28 @@ def __init__(__self__, *, :param str name: Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters. :param str type: The type of the aggregator. """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "identifier", identifier) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "type", type) + GetWorkspaceFolderMetadataAggregatorResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + identifier=identifier, + key=key, + name=name, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + identifier: str, + key: str, + name: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("identifier", identifier) + _setter("key", key) + _setter("name", name) + _setter("type", type) @property @pulumi.getter @@ -3654,7 +4464,16 @@ def __init__(__self__, *, """ :param Sequence['GetWorkspaceFolderMetadataCountStatisticObjectTypeCountListArgs'] object_type_count_lists: The array of statistics. """ - pulumi.set(__self__, "object_type_count_lists", object_type_count_lists) + GetWorkspaceFolderMetadataCountStatisticResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + object_type_count_lists=object_type_count_lists, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + object_type_count_lists: Sequence['outputs.GetWorkspaceFolderMetadataCountStatisticObjectTypeCountListResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("object_type_count_lists", object_type_count_lists) @property @pulumi.getter(name="objectTypeCountLists") @@ -3674,8 +4493,19 @@ def __init__(__self__, *, :param str object_count: The value for the count statistic object. :param str object_type: The type of object for the count statistic object. """ - pulumi.set(__self__, "object_count", object_count) - pulumi.set(__self__, "object_type", object_type) + GetWorkspaceFolderMetadataCountStatisticObjectTypeCountListResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + object_count=object_count, + object_type=object_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + object_count: str, + object_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("object_count", object_count) + _setter("object_type", object_type) @property @pulumi.getter(name="objectCount") @@ -3703,8 +4533,19 @@ def __init__(__self__, *, :param str parent: Key of the parent object. :param str root_doc_id: Key of the root document object. """ - pulumi.set(__self__, "parent", parent) - pulumi.set(__self__, "root_doc_id", root_doc_id) + GetWorkspaceFolderParentRefResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + parent=parent, + root_doc_id=root_doc_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + parent: str, + root_doc_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("parent", parent) + _setter("root_doc_id", root_doc_id) @property @pulumi.getter @@ -3738,11 +4579,28 @@ def __init__(__self__, *, :param Sequence[str] labels: Labels are keywords or tags that you can add to data assets, dataflows and so on. You can define your own labels and use them to categorize content. :param int registry_version: The registry version of the object. """ - pulumi.set(__self__, "aggregator_key", aggregator_key) - pulumi.set(__self__, "is_favorite", is_favorite) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "labels", labels) - pulumi.set(__self__, "registry_version", registry_version) + GetWorkspaceFolderRegistryMetadataResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + aggregator_key=aggregator_key, + is_favorite=is_favorite, + key=key, + labels=labels, + registry_version=registry_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aggregator_key: str, + is_favorite: bool, + key: str, + labels: Sequence[str], + registry_version: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("aggregator_key", aggregator_key) + _setter("is_favorite", is_favorite) + _setter("key", key) + _setter("labels", labels) + _setter("registry_version", registry_version) @property @pulumi.getter(name="aggregatorKey") @@ -3794,10 +4652,23 @@ def __init__(__self__, *, """ :param str name: Used to filter by the name of the object. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetWorkspaceFoldersFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3822,7 +4693,16 @@ def regex(self) -> Optional[bool]: class GetWorkspaceFoldersFolderSummaryCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetWorkspaceFoldersFolderSummaryCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetWorkspaceFoldersFolderSummaryCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetWorkspaceFoldersFolderSummaryCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -3863,21 +4743,58 @@ def __init__(__self__, *, :param Sequence['GetWorkspaceFoldersFolderSummaryCollectionItemParentRefArgs'] parent_reves: A reference to the object's parent. :param str workspace_id: The workspace ID. """ - pulumi.set(__self__, "category_name", category_name) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "folder_key", folder_key) - pulumi.set(__self__, "identifier", identifier) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "key_map", key_map) - pulumi.set(__self__, "metadatas", metadatas) - pulumi.set(__self__, "model_type", model_type) - pulumi.set(__self__, "model_version", model_version) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "object_status", object_status) - pulumi.set(__self__, "object_version", object_version) - pulumi.set(__self__, "parent_reves", parent_reves) - pulumi.set(__self__, "registry_metadata", registry_metadata) - pulumi.set(__self__, "workspace_id", workspace_id) + GetWorkspaceFoldersFolderSummaryCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + category_name=category_name, + description=description, + folder_key=folder_key, + identifier=identifier, + key=key, + key_map=key_map, + metadatas=metadatas, + model_type=model_type, + model_version=model_version, + name=name, + object_status=object_status, + object_version=object_version, + parent_reves=parent_reves, + registry_metadata=registry_metadata, + workspace_id=workspace_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + category_name: str, + description: str, + folder_key: str, + identifier: str, + key: str, + key_map: Mapping[str, Any], + metadatas: Sequence['outputs.GetWorkspaceFoldersFolderSummaryCollectionItemMetadataResult'], + model_type: str, + model_version: str, + name: str, + object_status: int, + object_version: int, + parent_reves: Sequence['outputs.GetWorkspaceFoldersFolderSummaryCollectionItemParentRefResult'], + registry_metadata: 'outputs.GetWorkspaceFoldersFolderSummaryCollectionItemRegistryMetadataResult', + workspace_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("category_name", category_name) + _setter("description", description) + _setter("folder_key", folder_key) + _setter("identifier", identifier) + _setter("key", key) + _setter("key_map", key_map) + _setter("metadatas", metadatas) + _setter("model_type", model_type) + _setter("model_version", model_version) + _setter("name", name) + _setter("object_status", object_status) + _setter("object_version", object_version) + _setter("parent_reves", parent_reves) + _setter("registry_metadata", registry_metadata) + _setter("workspace_id", workspace_id) @property @pulumi.getter(name="categoryName") @@ -4027,20 +4944,55 @@ def __init__(__self__, *, :param str updated_by: The user that updated the object. :param str updated_by_name: The user that updated the object. """ - pulumi.set(__self__, "aggregator_key", aggregator_key) - pulumi.set(__self__, "aggregators", aggregators) - pulumi.set(__self__, "count_statistics", count_statistics) - pulumi.set(__self__, "created_by", created_by) - pulumi.set(__self__, "created_by_name", created_by_name) - pulumi.set(__self__, "identifier_path", identifier_path) - pulumi.set(__self__, "info_fields", info_fields) - pulumi.set(__self__, "is_favorite", is_favorite) - pulumi.set(__self__, "labels", labels) - pulumi.set(__self__, "registry_version", registry_version) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "updated_by", updated_by) - pulumi.set(__self__, "updated_by_name", updated_by_name) + GetWorkspaceFoldersFolderSummaryCollectionItemMetadataResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + aggregator_key=aggregator_key, + aggregators=aggregators, + count_statistics=count_statistics, + created_by=created_by, + created_by_name=created_by_name, + identifier_path=identifier_path, + info_fields=info_fields, + is_favorite=is_favorite, + labels=labels, + registry_version=registry_version, + time_created=time_created, + time_updated=time_updated, + updated_by=updated_by, + updated_by_name=updated_by_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aggregator_key: str, + aggregators: Sequence['outputs.GetWorkspaceFoldersFolderSummaryCollectionItemMetadataAggregatorResult'], + count_statistics: Sequence['outputs.GetWorkspaceFoldersFolderSummaryCollectionItemMetadataCountStatisticResult'], + created_by: str, + created_by_name: str, + identifier_path: str, + info_fields: Mapping[str, Any], + is_favorite: bool, + labels: Sequence[str], + registry_version: int, + time_created: str, + time_updated: str, + updated_by: str, + updated_by_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("aggregator_key", aggregator_key) + _setter("aggregators", aggregators) + _setter("count_statistics", count_statistics) + _setter("created_by", created_by) + _setter("created_by_name", created_by_name) + _setter("identifier_path", identifier_path) + _setter("info_fields", info_fields) + _setter("is_favorite", is_favorite) + _setter("labels", labels) + _setter("registry_version", registry_version) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("updated_by", updated_by) + _setter("updated_by_name", updated_by_name) @property @pulumi.getter(name="aggregatorKey") @@ -4170,11 +5122,28 @@ def __init__(__self__, *, :param str name: Used to filter by the name of the object. :param str type: The type of the aggregator. """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "identifier", identifier) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "type", type) + GetWorkspaceFoldersFolderSummaryCollectionItemMetadataAggregatorResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + identifier=identifier, + key=key, + name=name, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + identifier: str, + key: str, + name: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("identifier", identifier) + _setter("key", key) + _setter("name", name) + _setter("type", type) @property @pulumi.getter @@ -4224,7 +5193,16 @@ def __init__(__self__, *, """ :param Sequence['GetWorkspaceFoldersFolderSummaryCollectionItemMetadataCountStatisticObjectTypeCountListArgs'] object_type_count_lists: The array of statistics. """ - pulumi.set(__self__, "object_type_count_lists", object_type_count_lists) + GetWorkspaceFoldersFolderSummaryCollectionItemMetadataCountStatisticResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + object_type_count_lists=object_type_count_lists, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + object_type_count_lists: Sequence['outputs.GetWorkspaceFoldersFolderSummaryCollectionItemMetadataCountStatisticObjectTypeCountListResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("object_type_count_lists", object_type_count_lists) @property @pulumi.getter(name="objectTypeCountLists") @@ -4244,8 +5222,19 @@ def __init__(__self__, *, :param str object_count: The value for the count statistic object. :param str object_type: The type of object for the count statistic object. """ - pulumi.set(__self__, "object_count", object_count) - pulumi.set(__self__, "object_type", object_type) + GetWorkspaceFoldersFolderSummaryCollectionItemMetadataCountStatisticObjectTypeCountListResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + object_count=object_count, + object_type=object_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + object_count: str, + object_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("object_count", object_count) + _setter("object_type", object_type) @property @pulumi.getter(name="objectCount") @@ -4273,8 +5262,19 @@ def __init__(__self__, *, :param str parent: Key of the parent object. :param str root_doc_id: Key of the root document object. """ - pulumi.set(__self__, "parent", parent) - pulumi.set(__self__, "root_doc_id", root_doc_id) + GetWorkspaceFoldersFolderSummaryCollectionItemParentRefResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + parent=parent, + root_doc_id=root_doc_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + parent: str, + root_doc_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("parent", parent) + _setter("root_doc_id", root_doc_id) @property @pulumi.getter @@ -4308,11 +5308,28 @@ def __init__(__self__, *, :param Sequence[str] labels: Labels are keywords or tags that you can add to data assets, dataflows and so on. You can define your own labels and use them to categorize content. :param int registry_version: The registry version of the object. """ - pulumi.set(__self__, "aggregator_key", aggregator_key) - pulumi.set(__self__, "is_favorite", is_favorite) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "labels", labels) - pulumi.set(__self__, "registry_version", registry_version) + GetWorkspaceFoldersFolderSummaryCollectionItemRegistryMetadataResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + aggregator_key=aggregator_key, + is_favorite=is_favorite, + key=key, + labels=labels, + registry_version=registry_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aggregator_key: str, + is_favorite: bool, + key: str, + labels: Sequence[str], + registry_version: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("aggregator_key", aggregator_key) + _setter("is_favorite", is_favorite) + _setter("key", key) + _setter("labels", labels) + _setter("registry_version", registry_version) @property @pulumi.getter(name="aggregatorKey") @@ -4388,20 +5405,55 @@ def __init__(__self__, *, :param str updated_by: The user that updated the object. :param str updated_by_name: The user that updated the object. """ - pulumi.set(__self__, "aggregator_key", aggregator_key) - pulumi.set(__self__, "aggregators", aggregators) - pulumi.set(__self__, "count_statistics", count_statistics) - pulumi.set(__self__, "created_by", created_by) - pulumi.set(__self__, "created_by_name", created_by_name) - pulumi.set(__self__, "identifier_path", identifier_path) - pulumi.set(__self__, "info_fields", info_fields) - pulumi.set(__self__, "is_favorite", is_favorite) - pulumi.set(__self__, "labels", labels) - pulumi.set(__self__, "registry_version", registry_version) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "updated_by", updated_by) - pulumi.set(__self__, "updated_by_name", updated_by_name) + GetWorkspaceProjectMetadataResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + aggregator_key=aggregator_key, + aggregators=aggregators, + count_statistics=count_statistics, + created_by=created_by, + created_by_name=created_by_name, + identifier_path=identifier_path, + info_fields=info_fields, + is_favorite=is_favorite, + labels=labels, + registry_version=registry_version, + time_created=time_created, + time_updated=time_updated, + updated_by=updated_by, + updated_by_name=updated_by_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aggregator_key: str, + aggregators: Sequence['outputs.GetWorkspaceProjectMetadataAggregatorResult'], + count_statistics: Sequence['outputs.GetWorkspaceProjectMetadataCountStatisticResult'], + created_by: str, + created_by_name: str, + identifier_path: str, + info_fields: Mapping[str, Any], + is_favorite: bool, + labels: Sequence[str], + registry_version: int, + time_created: str, + time_updated: str, + updated_by: str, + updated_by_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("aggregator_key", aggregator_key) + _setter("aggregators", aggregators) + _setter("count_statistics", count_statistics) + _setter("created_by", created_by) + _setter("created_by_name", created_by_name) + _setter("identifier_path", identifier_path) + _setter("info_fields", info_fields) + _setter("is_favorite", is_favorite) + _setter("labels", labels) + _setter("registry_version", registry_version) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("updated_by", updated_by) + _setter("updated_by_name", updated_by_name) @property @pulumi.getter(name="aggregatorKey") @@ -4531,11 +5583,28 @@ def __init__(__self__, *, :param str name: Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters. :param str type: The type of the aggregator. """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "identifier", identifier) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "type", type) + GetWorkspaceProjectMetadataAggregatorResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + identifier=identifier, + key=key, + name=name, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + identifier: str, + key: str, + name: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("identifier", identifier) + _setter("key", key) + _setter("name", name) + _setter("type", type) @property @pulumi.getter @@ -4585,7 +5654,16 @@ def __init__(__self__, *, """ :param Sequence['GetWorkspaceProjectMetadataCountStatisticObjectTypeCountListArgs'] object_type_count_lists: The array of statistics. """ - pulumi.set(__self__, "object_type_count_lists", object_type_count_lists) + GetWorkspaceProjectMetadataCountStatisticResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + object_type_count_lists=object_type_count_lists, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + object_type_count_lists: Sequence['outputs.GetWorkspaceProjectMetadataCountStatisticObjectTypeCountListResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("object_type_count_lists", object_type_count_lists) @property @pulumi.getter(name="objectTypeCountLists") @@ -4605,8 +5683,19 @@ def __init__(__self__, *, :param str object_count: The value for the count statistic object. :param str object_type: The type of object for the count statistic object. """ - pulumi.set(__self__, "object_count", object_count) - pulumi.set(__self__, "object_type", object_type) + GetWorkspaceProjectMetadataCountStatisticObjectTypeCountListResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + object_count=object_count, + object_type=object_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + object_count: str, + object_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("object_count", object_count) + _setter("object_type", object_type) @property @pulumi.getter(name="objectCount") @@ -4634,8 +5723,19 @@ def __init__(__self__, *, :param str parent: Key of the parent object. :param str root_doc_id: Key of the root document object. """ - pulumi.set(__self__, "parent", parent) - pulumi.set(__self__, "root_doc_id", root_doc_id) + GetWorkspaceProjectParentRefResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + parent=parent, + root_doc_id=root_doc_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + parent: str, + root_doc_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("parent", parent) + _setter("root_doc_id", root_doc_id) @property @pulumi.getter @@ -4669,11 +5769,28 @@ def __init__(__self__, *, :param Sequence[str] labels: Labels are keywords or tags that you can add to data assets, dataflows and so on. You can define your own labels and use them to categorize content. :param int registry_version: The registry version of the object. """ - pulumi.set(__self__, "aggregator_key", aggregator_key) - pulumi.set(__self__, "is_favorite", is_favorite) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "labels", labels) - pulumi.set(__self__, "registry_version", registry_version) + GetWorkspaceProjectRegistryMetadataResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + aggregator_key=aggregator_key, + is_favorite=is_favorite, + key=key, + labels=labels, + registry_version=registry_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aggregator_key: str, + is_favorite: bool, + key: str, + labels: Sequence[str], + registry_version: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("aggregator_key", aggregator_key) + _setter("is_favorite", is_favorite) + _setter("key", key) + _setter("labels", labels) + _setter("registry_version", registry_version) @property @pulumi.getter(name="aggregatorKey") @@ -4725,10 +5842,23 @@ def __init__(__self__, *, """ :param str name: Used to filter by the name of the object. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetWorkspaceProjectsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4753,7 +5883,16 @@ def regex(self) -> Optional[bool]: class GetWorkspaceProjectsProjectSummaryCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetWorkspaceProjectsProjectSummaryCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetWorkspaceProjectsProjectSummaryCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetWorkspaceProjectsProjectSummaryCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -4792,20 +5931,55 @@ def __init__(__self__, *, :param Sequence['GetWorkspaceProjectsProjectSummaryCollectionItemParentRefArgs'] parent_reves: A reference to the object's parent. :param str workspace_id: The workspace ID. """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "identifier", identifier) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "key_map", key_map) - pulumi.set(__self__, "metadatas", metadatas) - pulumi.set(__self__, "model_type", model_type) - pulumi.set(__self__, "model_version", model_version) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "object_status", object_status) - pulumi.set(__self__, "object_version", object_version) - pulumi.set(__self__, "parent_reves", parent_reves) - pulumi.set(__self__, "project_key", project_key) - pulumi.set(__self__, "registry_metadata", registry_metadata) - pulumi.set(__self__, "workspace_id", workspace_id) + GetWorkspaceProjectsProjectSummaryCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + identifier=identifier, + key=key, + key_map=key_map, + metadatas=metadatas, + model_type=model_type, + model_version=model_version, + name=name, + object_status=object_status, + object_version=object_version, + parent_reves=parent_reves, + project_key=project_key, + registry_metadata=registry_metadata, + workspace_id=workspace_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + identifier: str, + key: str, + key_map: Mapping[str, Any], + metadatas: Sequence['outputs.GetWorkspaceProjectsProjectSummaryCollectionItemMetadataResult'], + model_type: str, + model_version: str, + name: str, + object_status: int, + object_version: int, + parent_reves: Sequence['outputs.GetWorkspaceProjectsProjectSummaryCollectionItemParentRefResult'], + project_key: str, + registry_metadata: 'outputs.GetWorkspaceProjectsProjectSummaryCollectionItemRegistryMetadataResult', + workspace_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("identifier", identifier) + _setter("key", key) + _setter("key_map", key_map) + _setter("metadatas", metadatas) + _setter("model_type", model_type) + _setter("model_version", model_version) + _setter("name", name) + _setter("object_status", object_status) + _setter("object_version", object_version) + _setter("parent_reves", parent_reves) + _setter("project_key", project_key) + _setter("registry_metadata", registry_metadata) + _setter("workspace_id", workspace_id) @property @pulumi.getter @@ -4947,20 +6121,55 @@ def __init__(__self__, *, :param str updated_by: The user that updated the object. :param str updated_by_name: The user that updated the object. """ - pulumi.set(__self__, "aggregator_key", aggregator_key) - pulumi.set(__self__, "aggregators", aggregators) - pulumi.set(__self__, "count_statistics", count_statistics) - pulumi.set(__self__, "created_by", created_by) - pulumi.set(__self__, "created_by_name", created_by_name) - pulumi.set(__self__, "identifier_path", identifier_path) - pulumi.set(__self__, "info_fields", info_fields) - pulumi.set(__self__, "is_favorite", is_favorite) - pulumi.set(__self__, "labels", labels) - pulumi.set(__self__, "registry_version", registry_version) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "updated_by", updated_by) - pulumi.set(__self__, "updated_by_name", updated_by_name) + GetWorkspaceProjectsProjectSummaryCollectionItemMetadataResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + aggregator_key=aggregator_key, + aggregators=aggregators, + count_statistics=count_statistics, + created_by=created_by, + created_by_name=created_by_name, + identifier_path=identifier_path, + info_fields=info_fields, + is_favorite=is_favorite, + labels=labels, + registry_version=registry_version, + time_created=time_created, + time_updated=time_updated, + updated_by=updated_by, + updated_by_name=updated_by_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aggregator_key: str, + aggregators: Sequence['outputs.GetWorkspaceProjectsProjectSummaryCollectionItemMetadataAggregatorResult'], + count_statistics: Sequence['outputs.GetWorkspaceProjectsProjectSummaryCollectionItemMetadataCountStatisticResult'], + created_by: str, + created_by_name: str, + identifier_path: str, + info_fields: Mapping[str, Any], + is_favorite: bool, + labels: Sequence[str], + registry_version: int, + time_created: str, + time_updated: str, + updated_by: str, + updated_by_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("aggregator_key", aggregator_key) + _setter("aggregators", aggregators) + _setter("count_statistics", count_statistics) + _setter("created_by", created_by) + _setter("created_by_name", created_by_name) + _setter("identifier_path", identifier_path) + _setter("info_fields", info_fields) + _setter("is_favorite", is_favorite) + _setter("labels", labels) + _setter("registry_version", registry_version) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("updated_by", updated_by) + _setter("updated_by_name", updated_by_name) @property @pulumi.getter(name="aggregatorKey") @@ -5090,11 +6299,28 @@ def __init__(__self__, *, :param str name: Used to filter by the name of the object. :param str type: The type of the aggregator. """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "identifier", identifier) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "type", type) + GetWorkspaceProjectsProjectSummaryCollectionItemMetadataAggregatorResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + identifier=identifier, + key=key, + name=name, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + identifier: str, + key: str, + name: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("identifier", identifier) + _setter("key", key) + _setter("name", name) + _setter("type", type) @property @pulumi.getter @@ -5144,7 +6370,16 @@ def __init__(__self__, *, """ :param Sequence['GetWorkspaceProjectsProjectSummaryCollectionItemMetadataCountStatisticObjectTypeCountListArgs'] object_type_count_lists: The array of statistics. """ - pulumi.set(__self__, "object_type_count_lists", object_type_count_lists) + GetWorkspaceProjectsProjectSummaryCollectionItemMetadataCountStatisticResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + object_type_count_lists=object_type_count_lists, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + object_type_count_lists: Sequence['outputs.GetWorkspaceProjectsProjectSummaryCollectionItemMetadataCountStatisticObjectTypeCountListResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("object_type_count_lists", object_type_count_lists) @property @pulumi.getter(name="objectTypeCountLists") @@ -5164,8 +6399,19 @@ def __init__(__self__, *, :param str object_count: The value for the count statistic object. :param str object_type: The type of object for the count statistic object. """ - pulumi.set(__self__, "object_count", object_count) - pulumi.set(__self__, "object_type", object_type) + GetWorkspaceProjectsProjectSummaryCollectionItemMetadataCountStatisticObjectTypeCountListResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + object_count=object_count, + object_type=object_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + object_count: str, + object_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("object_count", object_count) + _setter("object_type", object_type) @property @pulumi.getter(name="objectCount") @@ -5193,8 +6439,19 @@ def __init__(__self__, *, :param str parent: Key of the parent object. :param str root_doc_id: Key of the root document object. """ - pulumi.set(__self__, "parent", parent) - pulumi.set(__self__, "root_doc_id", root_doc_id) + GetWorkspaceProjectsProjectSummaryCollectionItemParentRefResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + parent=parent, + root_doc_id=root_doc_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + parent: str, + root_doc_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("parent", parent) + _setter("root_doc_id", root_doc_id) @property @pulumi.getter @@ -5228,11 +6485,28 @@ def __init__(__self__, *, :param Sequence[str] labels: Labels are keywords or tags that you can add to data assets, dataflows and so on. You can define your own labels and use them to categorize content. :param int registry_version: The registry version of the object. """ - pulumi.set(__self__, "aggregator_key", aggregator_key) - pulumi.set(__self__, "is_favorite", is_favorite) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "labels", labels) - pulumi.set(__self__, "registry_version", registry_version) + GetWorkspaceProjectsProjectSummaryCollectionItemRegistryMetadataResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + aggregator_key=aggregator_key, + is_favorite=is_favorite, + key=key, + labels=labels, + registry_version=registry_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aggregator_key: str, + is_favorite: bool, + key: str, + labels: Sequence[str], + registry_version: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("aggregator_key", aggregator_key) + _setter("is_favorite", is_favorite) + _setter("key", key) + _setter("labels", labels) + _setter("registry_version", registry_version) @property @pulumi.getter(name="aggregatorKey") @@ -5284,10 +6558,23 @@ def __init__(__self__, *, """ :param str name: Used to filter by the name of the object. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetWorkspacesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5354,29 +6641,82 @@ def __init__(__self__, *, :param str time_updated: The date and time the workspace was updated, in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). :param str vcn_id: The OCID of the VCN the subnet is in. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "dns_server_ip", dns_server_ip) - pulumi.set(__self__, "dns_server_zone", dns_server_zone) - pulumi.set(__self__, "endpoint_compartment_id", endpoint_compartment_id) - pulumi.set(__self__, "endpoint_id", endpoint_id) - pulumi.set(__self__, "endpoint_name", endpoint_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_force_operation", is_force_operation) - pulumi.set(__self__, "is_private_network_enabled", is_private_network_enabled) - pulumi.set(__self__, "quiesce_timeout", quiesce_timeout) - pulumi.set(__self__, "registry_compartment_id", registry_compartment_id) - pulumi.set(__self__, "registry_id", registry_id) - pulumi.set(__self__, "registry_name", registry_name) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "state_message", state_message) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "vcn_id", vcn_id) + GetWorkspacesWorkspaceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + dns_server_ip=dns_server_ip, + dns_server_zone=dns_server_zone, + endpoint_compartment_id=endpoint_compartment_id, + endpoint_id=endpoint_id, + endpoint_name=endpoint_name, + freeform_tags=freeform_tags, + id=id, + is_force_operation=is_force_operation, + is_private_network_enabled=is_private_network_enabled, + quiesce_timeout=quiesce_timeout, + registry_compartment_id=registry_compartment_id, + registry_id=registry_id, + registry_name=registry_name, + state=state, + state_message=state_message, + subnet_id=subnet_id, + time_created=time_created, + time_updated=time_updated, + vcn_id=vcn_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + dns_server_ip: str, + dns_server_zone: str, + endpoint_compartment_id: str, + endpoint_id: str, + endpoint_name: str, + freeform_tags: Mapping[str, Any], + id: str, + is_force_operation: bool, + is_private_network_enabled: bool, + quiesce_timeout: int, + registry_compartment_id: str, + registry_id: str, + registry_name: str, + state: str, + state_message: str, + subnet_id: str, + time_created: str, + time_updated: str, + vcn_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("dns_server_ip", dns_server_ip) + _setter("dns_server_zone", dns_server_zone) + _setter("endpoint_compartment_id", endpoint_compartment_id) + _setter("endpoint_id", endpoint_id) + _setter("endpoint_name", endpoint_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_force_operation", is_force_operation) + _setter("is_private_network_enabled", is_private_network_enabled) + _setter("quiesce_timeout", quiesce_timeout) + _setter("registry_compartment_id", registry_compartment_id) + _setter("registry_id", registry_id) + _setter("registry_name", registry_name) + _setter("state", state) + _setter("state_message", state_message) + _setter("subnet_id", subnet_id) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("vcn_id", vcn_id) @property @pulumi.getter(name="compartmentId") diff --git a/sdk/python/pulumi_oci/dataintegration/workspace.py b/sdk/python/pulumi_oci/dataintegration/workspace.py index b045b0144e..2cccd4d9e1 100644 --- a/sdk/python/pulumi_oci/dataintegration/workspace.py +++ b/sdk/python/pulumi_oci/dataintegration/workspace.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['WorkspaceArgs', 'Workspace'] @@ -55,40 +55,83 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) + WorkspaceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + defined_tags=defined_tags, + description=description, + dns_server_ip=dns_server_ip, + dns_server_zone=dns_server_zone, + endpoint_compartment_id=endpoint_compartment_id, + endpoint_id=endpoint_id, + endpoint_name=endpoint_name, + freeform_tags=freeform_tags, + is_force_operation=is_force_operation, + is_private_network_enabled=is_private_network_enabled, + quiesce_timeout=quiesce_timeout, + registry_compartment_id=registry_compartment_id, + registry_id=registry_id, + registry_name=registry_name, + subnet_id=subnet_id, + vcn_id=vcn_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + dns_server_ip: Optional[pulumi.Input[str]] = None, + dns_server_zone: Optional[pulumi.Input[str]] = None, + endpoint_compartment_id: Optional[pulumi.Input[str]] = None, + endpoint_id: Optional[pulumi.Input[str]] = None, + endpoint_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_force_operation: Optional[pulumi.Input[bool]] = None, + is_private_network_enabled: Optional[pulumi.Input[bool]] = None, + quiesce_timeout: Optional[pulumi.Input[int]] = None, + registry_compartment_id: Optional[pulumi.Input[str]] = None, + registry_id: Optional[pulumi.Input[str]] = None, + registry_name: Optional[pulumi.Input[str]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + vcn_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if dns_server_ip is not None: - pulumi.set(__self__, "dns_server_ip", dns_server_ip) + _setter("dns_server_ip", dns_server_ip) if dns_server_zone is not None: - pulumi.set(__self__, "dns_server_zone", dns_server_zone) + _setter("dns_server_zone", dns_server_zone) if endpoint_compartment_id is not None: - pulumi.set(__self__, "endpoint_compartment_id", endpoint_compartment_id) + _setter("endpoint_compartment_id", endpoint_compartment_id) if endpoint_id is not None: - pulumi.set(__self__, "endpoint_id", endpoint_id) + _setter("endpoint_id", endpoint_id) if endpoint_name is not None: - pulumi.set(__self__, "endpoint_name", endpoint_name) + _setter("endpoint_name", endpoint_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_force_operation is not None: - pulumi.set(__self__, "is_force_operation", is_force_operation) + _setter("is_force_operation", is_force_operation) if is_private_network_enabled is not None: - pulumi.set(__self__, "is_private_network_enabled", is_private_network_enabled) + _setter("is_private_network_enabled", is_private_network_enabled) if quiesce_timeout is not None: - pulumi.set(__self__, "quiesce_timeout", quiesce_timeout) + _setter("quiesce_timeout", quiesce_timeout) if registry_compartment_id is not None: - pulumi.set(__self__, "registry_compartment_id", registry_compartment_id) + _setter("registry_compartment_id", registry_compartment_id) if registry_id is not None: - pulumi.set(__self__, "registry_id", registry_id) + _setter("registry_id", registry_id) if registry_name is not None: - pulumi.set(__self__, "registry_name", registry_name) + _setter("registry_name", registry_name) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) if vcn_id is not None: - pulumi.set(__self__, "vcn_id", vcn_id) + _setter("vcn_id", vcn_id) @property @pulumi.getter(name="compartmentId") @@ -357,50 +400,101 @@ def __init__(__self__, *, ** 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 """ + _WorkspaceState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + dns_server_ip=dns_server_ip, + dns_server_zone=dns_server_zone, + endpoint_compartment_id=endpoint_compartment_id, + endpoint_id=endpoint_id, + endpoint_name=endpoint_name, + freeform_tags=freeform_tags, + is_force_operation=is_force_operation, + is_private_network_enabled=is_private_network_enabled, + quiesce_timeout=quiesce_timeout, + registry_compartment_id=registry_compartment_id, + registry_id=registry_id, + registry_name=registry_name, + state=state, + state_message=state_message, + subnet_id=subnet_id, + time_created=time_created, + time_updated=time_updated, + vcn_id=vcn_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + dns_server_ip: Optional[pulumi.Input[str]] = None, + dns_server_zone: Optional[pulumi.Input[str]] = None, + endpoint_compartment_id: Optional[pulumi.Input[str]] = None, + endpoint_id: Optional[pulumi.Input[str]] = None, + endpoint_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_force_operation: Optional[pulumi.Input[bool]] = None, + is_private_network_enabled: Optional[pulumi.Input[bool]] = None, + quiesce_timeout: Optional[pulumi.Input[int]] = None, + registry_compartment_id: Optional[pulumi.Input[str]] = None, + registry_id: Optional[pulumi.Input[str]] = None, + registry_name: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + state_message: Optional[pulumi.Input[str]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + vcn_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if dns_server_ip is not None: - pulumi.set(__self__, "dns_server_ip", dns_server_ip) + _setter("dns_server_ip", dns_server_ip) if dns_server_zone is not None: - pulumi.set(__self__, "dns_server_zone", dns_server_zone) + _setter("dns_server_zone", dns_server_zone) if endpoint_compartment_id is not None: - pulumi.set(__self__, "endpoint_compartment_id", endpoint_compartment_id) + _setter("endpoint_compartment_id", endpoint_compartment_id) if endpoint_id is not None: - pulumi.set(__self__, "endpoint_id", endpoint_id) + _setter("endpoint_id", endpoint_id) if endpoint_name is not None: - pulumi.set(__self__, "endpoint_name", endpoint_name) + _setter("endpoint_name", endpoint_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_force_operation is not None: - pulumi.set(__self__, "is_force_operation", is_force_operation) + _setter("is_force_operation", is_force_operation) if is_private_network_enabled is not None: - pulumi.set(__self__, "is_private_network_enabled", is_private_network_enabled) + _setter("is_private_network_enabled", is_private_network_enabled) if quiesce_timeout is not None: - pulumi.set(__self__, "quiesce_timeout", quiesce_timeout) + _setter("quiesce_timeout", quiesce_timeout) if registry_compartment_id is not None: - pulumi.set(__self__, "registry_compartment_id", registry_compartment_id) + _setter("registry_compartment_id", registry_compartment_id) if registry_id is not None: - pulumi.set(__self__, "registry_id", registry_id) + _setter("registry_id", registry_id) if registry_name is not None: - pulumi.set(__self__, "registry_name", registry_name) + _setter("registry_name", registry_name) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if state_message is not None: - pulumi.set(__self__, "state_message", state_message) + _setter("state_message", state_message) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if vcn_id is not None: - pulumi.set(__self__, "vcn_id", vcn_id) + _setter("vcn_id", vcn_id) @property @pulumi.getter(name="compartmentId") @@ -812,6 +906,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + WorkspaceArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/dataintegration/workspace_application.py b/sdk/python/pulumi_oci/dataintegration/workspace_application.py index 38fe682ac0..a458cd2ad0 100644 --- a/sdk/python/pulumi_oci/dataintegration/workspace_application.py +++ b/sdk/python/pulumi_oci/dataintegration/workspace_application.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -51,31 +51,66 @@ def __init__(__self__, *, :param pulumi.Input['WorkspaceApplicationSourceApplicationInfoArgs'] source_application_info: The information about the application. :param pulumi.Input[str] state: (Updatable) The current state of the workspace. """ - pulumi.set(__self__, "identifier", identifier) - pulumi.set(__self__, "model_type", model_type) - pulumi.set(__self__, "workspace_id", workspace_id) + WorkspaceApplicationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + identifier=identifier, + model_type=model_type, + workspace_id=workspace_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + key=key, + model_version=model_version, + name=name, + object_status=object_status, + registry_metadata=registry_metadata, + source_application_info=source_application_info, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + identifier: pulumi.Input[str], + model_type: pulumi.Input[str], + workspace_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + key: Optional[pulumi.Input[str]] = None, + model_version: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + object_status: Optional[pulumi.Input[int]] = None, + registry_metadata: Optional[pulumi.Input['WorkspaceApplicationRegistryMetadataArgs']] = None, + source_application_info: Optional[pulumi.Input['WorkspaceApplicationSourceApplicationInfoArgs']] = None, + state: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("identifier", identifier) + _setter("model_type", model_type) + _setter("workspace_id", workspace_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if model_version is not None: - pulumi.set(__self__, "model_version", model_version) + _setter("model_version", model_version) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if object_status is not None: - pulumi.set(__self__, "object_status", object_status) + _setter("object_status", object_status) if registry_metadata is not None: - pulumi.set(__self__, "registry_metadata", registry_metadata) + _setter("registry_metadata", registry_metadata) if source_application_info is not None: - pulumi.set(__self__, "source_application_info", source_application_info) + _setter("source_application_info", source_application_info) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) @property @pulumi.getter @@ -310,56 +345,113 @@ def __init__(__self__, *, ** 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 """ + _WorkspaceApplicationState._configure( + lambda key, value: pulumi.set(__self__, key, value), + application_version=application_version, + compartment_id=compartment_id, + defined_tags=defined_tags, + dependent_object_metadatas=dependent_object_metadatas, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + identifier=identifier, + key=key, + key_map=key_map, + metadatas=metadatas, + model_type=model_type, + model_version=model_version, + name=name, + object_status=object_status, + object_version=object_version, + parent_reves=parent_reves, + published_object_metadatas=published_object_metadatas, + registry_metadata=registry_metadata, + source_application_info=source_application_info, + state=state, + time_created=time_created, + time_patched=time_patched, + time_updated=time_updated, + workspace_id=workspace_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + application_version: Optional[pulumi.Input[int]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + dependent_object_metadatas: Optional[pulumi.Input[Sequence[pulumi.Input['WorkspaceApplicationDependentObjectMetadataArgs']]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + identifier: Optional[pulumi.Input[str]] = None, + key: Optional[pulumi.Input[str]] = None, + key_map: Optional[pulumi.Input[Mapping[str, Any]]] = None, + metadatas: Optional[pulumi.Input[Sequence[pulumi.Input['WorkspaceApplicationMetadataArgs']]]] = None, + model_type: Optional[pulumi.Input[str]] = None, + model_version: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + object_status: Optional[pulumi.Input[int]] = None, + object_version: Optional[pulumi.Input[int]] = None, + parent_reves: Optional[pulumi.Input[Sequence[pulumi.Input['WorkspaceApplicationParentRefArgs']]]] = None, + published_object_metadatas: Optional[pulumi.Input[Sequence[pulumi.Input['WorkspaceApplicationPublishedObjectMetadataArgs']]]] = None, + registry_metadata: Optional[pulumi.Input['WorkspaceApplicationRegistryMetadataArgs']] = None, + source_application_info: Optional[pulumi.Input['WorkspaceApplicationSourceApplicationInfoArgs']] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_patched: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + workspace_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if application_version is not None: - pulumi.set(__self__, "application_version", application_version) + _setter("application_version", application_version) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if dependent_object_metadatas is not None: - pulumi.set(__self__, "dependent_object_metadatas", dependent_object_metadatas) + _setter("dependent_object_metadatas", dependent_object_metadatas) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if identifier is not None: - pulumi.set(__self__, "identifier", identifier) + _setter("identifier", identifier) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if key_map is not None: - pulumi.set(__self__, "key_map", key_map) + _setter("key_map", key_map) if metadatas is not None: - pulumi.set(__self__, "metadatas", metadatas) + _setter("metadatas", metadatas) if model_type is not None: - pulumi.set(__self__, "model_type", model_type) + _setter("model_type", model_type) if model_version is not None: - pulumi.set(__self__, "model_version", model_version) + _setter("model_version", model_version) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if object_status is not None: - pulumi.set(__self__, "object_status", object_status) + _setter("object_status", object_status) if object_version is not None: - pulumi.set(__self__, "object_version", object_version) + _setter("object_version", object_version) if parent_reves is not None: - pulumi.set(__self__, "parent_reves", parent_reves) + _setter("parent_reves", parent_reves) if published_object_metadatas is not None: - pulumi.set(__self__, "published_object_metadatas", published_object_metadatas) + _setter("published_object_metadatas", published_object_metadatas) if registry_metadata is not None: - pulumi.set(__self__, "registry_metadata", registry_metadata) + _setter("registry_metadata", registry_metadata) if source_application_info is not None: - pulumi.set(__self__, "source_application_info", source_application_info) + _setter("source_application_info", source_application_info) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_patched is not None: - pulumi.set(__self__, "time_patched", time_patched) + _setter("time_patched", time_patched) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if workspace_id is not None: - pulumi.set(__self__, "workspace_id", workspace_id) + _setter("workspace_id", workspace_id) @property @pulumi.getter(name="applicationVersion") @@ -821,6 +913,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + WorkspaceApplicationArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -863,7 +959,17 @@ def _internal_init(__self__, __props__.__dict__["model_version"] = model_version __props__.__dict__["name"] = name __props__.__dict__["object_status"] = object_status + if registry_metadata is not None and not isinstance(registry_metadata, WorkspaceApplicationRegistryMetadataArgs): + registry_metadata = registry_metadata or {} + def _setter(key, value): + registry_metadata[key] = value + WorkspaceApplicationRegistryMetadataArgs._configure(_setter, **registry_metadata) __props__.__dict__["registry_metadata"] = registry_metadata + if source_application_info is not None and not isinstance(source_application_info, WorkspaceApplicationSourceApplicationInfoArgs): + source_application_info = source_application_info or {} + def _setter(key, value): + source_application_info[key] = value + WorkspaceApplicationSourceApplicationInfoArgs._configure(_setter, **source_application_info) __props__.__dict__["source_application_info"] = source_application_info __props__.__dict__["state"] = state if workspace_id is None and not opts.urn: diff --git a/sdk/python/pulumi_oci/dataintegration/workspace_folder.py b/sdk/python/pulumi_oci/dataintegration/workspace_folder.py index 1754a0726d..d9ddaf7c3d 100644 --- a/sdk/python/pulumi_oci/dataintegration/workspace_folder.py +++ b/sdk/python/pulumi_oci/dataintegration/workspace_folder.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -42,23 +42,50 @@ def __init__(__self__, *, :param pulumi.Input[str] name: (Updatable) Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters. :param pulumi.Input[int] object_status: (Updatable) The status of an object that can be set to value 1 for shallow references across objects, other values reserved. """ - pulumi.set(__self__, "identifier", identifier) - pulumi.set(__self__, "registry_metadata", registry_metadata) - pulumi.set(__self__, "workspace_id", workspace_id) + WorkspaceFolderArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + identifier=identifier, + registry_metadata=registry_metadata, + workspace_id=workspace_id, + category_name=category_name, + description=description, + folder_key=folder_key, + key=key, + model_version=model_version, + name=name, + object_status=object_status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + identifier: pulumi.Input[str], + registry_metadata: pulumi.Input['WorkspaceFolderRegistryMetadataArgs'], + workspace_id: pulumi.Input[str], + category_name: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + folder_key: Optional[pulumi.Input[str]] = None, + key: Optional[pulumi.Input[str]] = None, + model_version: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + object_status: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("identifier", identifier) + _setter("registry_metadata", registry_metadata) + _setter("workspace_id", workspace_id) if category_name is not None: - pulumi.set(__self__, "category_name", category_name) + _setter("category_name", category_name) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if folder_key is not None: - pulumi.set(__self__, "folder_key", folder_key) + _setter("folder_key", folder_key) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if model_version is not None: - pulumi.set(__self__, "model_version", model_version) + _setter("model_version", model_version) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if object_status is not None: - pulumi.set(__self__, "object_status", object_status) + _setter("object_status", object_status) @property @pulumi.getter @@ -221,36 +248,73 @@ def __init__(__self__, *, ** 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 """ + _WorkspaceFolderState._configure( + lambda key, value: pulumi.set(__self__, key, value), + category_name=category_name, + description=description, + folder_key=folder_key, + identifier=identifier, + key=key, + key_map=key_map, + metadatas=metadatas, + model_type=model_type, + model_version=model_version, + name=name, + object_status=object_status, + object_version=object_version, + parent_reves=parent_reves, + registry_metadata=registry_metadata, + workspace_id=workspace_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + category_name: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + folder_key: Optional[pulumi.Input[str]] = None, + identifier: Optional[pulumi.Input[str]] = None, + key: Optional[pulumi.Input[str]] = None, + key_map: Optional[pulumi.Input[Mapping[str, Any]]] = None, + metadatas: Optional[pulumi.Input[Sequence[pulumi.Input['WorkspaceFolderMetadataArgs']]]] = None, + model_type: Optional[pulumi.Input[str]] = None, + model_version: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + object_status: Optional[pulumi.Input[int]] = None, + object_version: Optional[pulumi.Input[int]] = None, + parent_reves: Optional[pulumi.Input[Sequence[pulumi.Input['WorkspaceFolderParentRefArgs']]]] = None, + registry_metadata: Optional[pulumi.Input['WorkspaceFolderRegistryMetadataArgs']] = None, + workspace_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if category_name is not None: - pulumi.set(__self__, "category_name", category_name) + _setter("category_name", category_name) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if folder_key is not None: - pulumi.set(__self__, "folder_key", folder_key) + _setter("folder_key", folder_key) if identifier is not None: - pulumi.set(__self__, "identifier", identifier) + _setter("identifier", identifier) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if key_map is not None: - pulumi.set(__self__, "key_map", key_map) + _setter("key_map", key_map) if metadatas is not None: - pulumi.set(__self__, "metadatas", metadatas) + _setter("metadatas", metadatas) if model_type is not None: - pulumi.set(__self__, "model_type", model_type) + _setter("model_type", model_type) if model_version is not None: - pulumi.set(__self__, "model_version", model_version) + _setter("model_version", model_version) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if object_status is not None: - pulumi.set(__self__, "object_status", object_status) + _setter("object_status", object_status) if object_version is not None: - pulumi.set(__self__, "object_version", object_version) + _setter("object_version", object_version) if parent_reves is not None: - pulumi.set(__self__, "parent_reves", parent_reves) + _setter("parent_reves", parent_reves) if registry_metadata is not None: - pulumi.set(__self__, "registry_metadata", registry_metadata) + _setter("registry_metadata", registry_metadata) if workspace_id is not None: - pulumi.set(__self__, "workspace_id", workspace_id) + _setter("workspace_id", workspace_id) @property @pulumi.getter(name="categoryName") @@ -556,6 +620,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + WorkspaceFolderArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -590,6 +658,11 @@ def _internal_init(__self__, __props__.__dict__["model_version"] = model_version __props__.__dict__["name"] = name __props__.__dict__["object_status"] = object_status + if registry_metadata is not None and not isinstance(registry_metadata, WorkspaceFolderRegistryMetadataArgs): + registry_metadata = registry_metadata or {} + def _setter(key, value): + registry_metadata[key] = value + WorkspaceFolderRegistryMetadataArgs._configure(_setter, **registry_metadata) if registry_metadata is None and not opts.urn: raise TypeError("Missing required property 'registry_metadata'") __props__.__dict__["registry_metadata"] = registry_metadata diff --git a/sdk/python/pulumi_oci/dataintegration/workspace_project.py b/sdk/python/pulumi_oci/dataintegration/workspace_project.py index 1d00c15465..1219233466 100644 --- a/sdk/python/pulumi_oci/dataintegration/workspace_project.py +++ b/sdk/python/pulumi_oci/dataintegration/workspace_project.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -40,22 +40,47 @@ def __init__(__self__, *, :param pulumi.Input[int] object_status: (Updatable) The status of an object that can be set to value 1 for shallow references across objects, other values reserved. :param pulumi.Input['WorkspaceProjectRegistryMetadataArgs'] registry_metadata: (Updatable) Information about the object and its parent. """ - pulumi.set(__self__, "identifier", identifier) - pulumi.set(__self__, "workspace_id", workspace_id) + WorkspaceProjectArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + identifier=identifier, + workspace_id=workspace_id, + description=description, + key=key, + model_version=model_version, + name=name, + object_status=object_status, + project_key=project_key, + registry_metadata=registry_metadata, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + identifier: pulumi.Input[str], + workspace_id: pulumi.Input[str], + description: Optional[pulumi.Input[str]] = None, + key: Optional[pulumi.Input[str]] = None, + model_version: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + object_status: Optional[pulumi.Input[int]] = None, + project_key: Optional[pulumi.Input[str]] = None, + registry_metadata: Optional[pulumi.Input['WorkspaceProjectRegistryMetadataArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("identifier", identifier) + _setter("workspace_id", workspace_id) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if model_version is not None: - pulumi.set(__self__, "model_version", model_version) + _setter("model_version", model_version) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if object_status is not None: - pulumi.set(__self__, "object_status", object_status) + _setter("object_status", object_status) if project_key is not None: - pulumi.set(__self__, "project_key", project_key) + _setter("project_key", project_key) if registry_metadata is not None: - pulumi.set(__self__, "registry_metadata", registry_metadata) + _setter("registry_metadata", registry_metadata) @property @pulumi.getter @@ -204,34 +229,69 @@ def __init__(__self__, *, ** 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 """ + _WorkspaceProjectState._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + identifier=identifier, + key=key, + key_map=key_map, + metadatas=metadatas, + model_type=model_type, + model_version=model_version, + name=name, + object_status=object_status, + object_version=object_version, + parent_reves=parent_reves, + project_key=project_key, + registry_metadata=registry_metadata, + workspace_id=workspace_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: Optional[pulumi.Input[str]] = None, + identifier: Optional[pulumi.Input[str]] = None, + key: Optional[pulumi.Input[str]] = None, + key_map: Optional[pulumi.Input[Mapping[str, Any]]] = None, + metadatas: Optional[pulumi.Input[Sequence[pulumi.Input['WorkspaceProjectMetadataArgs']]]] = None, + model_type: Optional[pulumi.Input[str]] = None, + model_version: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + object_status: Optional[pulumi.Input[int]] = None, + object_version: Optional[pulumi.Input[int]] = None, + parent_reves: Optional[pulumi.Input[Sequence[pulumi.Input['WorkspaceProjectParentRefArgs']]]] = None, + project_key: Optional[pulumi.Input[str]] = None, + registry_metadata: Optional[pulumi.Input['WorkspaceProjectRegistryMetadataArgs']] = None, + workspace_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if identifier is not None: - pulumi.set(__self__, "identifier", identifier) + _setter("identifier", identifier) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if key_map is not None: - pulumi.set(__self__, "key_map", key_map) + _setter("key_map", key_map) if metadatas is not None: - pulumi.set(__self__, "metadatas", metadatas) + _setter("metadatas", metadatas) if model_type is not None: - pulumi.set(__self__, "model_type", model_type) + _setter("model_type", model_type) if model_version is not None: - pulumi.set(__self__, "model_version", model_version) + _setter("model_version", model_version) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if object_status is not None: - pulumi.set(__self__, "object_status", object_status) + _setter("object_status", object_status) if object_version is not None: - pulumi.set(__self__, "object_version", object_version) + _setter("object_version", object_version) if parent_reves is not None: - pulumi.set(__self__, "parent_reves", parent_reves) + _setter("parent_reves", parent_reves) if project_key is not None: - pulumi.set(__self__, "project_key", project_key) + _setter("project_key", project_key) if registry_metadata is not None: - pulumi.set(__self__, "registry_metadata", registry_metadata) + _setter("registry_metadata", registry_metadata) if workspace_id is not None: - pulumi.set(__self__, "workspace_id", workspace_id) + _setter("workspace_id", workspace_id) @property @pulumi.getter @@ -519,6 +579,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + WorkspaceProjectArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -551,6 +615,11 @@ def _internal_init(__self__, __props__.__dict__["name"] = name __props__.__dict__["object_status"] = object_status __props__.__dict__["project_key"] = project_key + if registry_metadata is not None and not isinstance(registry_metadata, WorkspaceProjectRegistryMetadataArgs): + registry_metadata = registry_metadata or {} + def _setter(key, value): + registry_metadata[key] = value + WorkspaceProjectRegistryMetadataArgs._configure(_setter, **registry_metadata) __props__.__dict__["registry_metadata"] = registry_metadata if workspace_id is None and not opts.urn: raise TypeError("Missing required property 'workspace_id'") diff --git a/sdk/python/pulumi_oci/datalabellingservice/_inputs.py b/sdk/python/pulumi_oci/datalabellingservice/_inputs.py index 3b1e7b4da6..4c9d907498 100644 --- a/sdk/python/pulumi_oci/datalabellingservice/_inputs.py +++ b/sdk/python/pulumi_oci/datalabellingservice/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -32,9 +32,20 @@ def __init__(__self__, *, :param pulumi.Input[str] format_type: It defines the format type of text files. :param pulumi.Input['DatasetDatasetFormatDetailsTextFileTypeMetadataArgs'] text_file_type_metadata: Metadata for files with text content. """ - pulumi.set(__self__, "format_type", format_type) + DatasetDatasetFormatDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + format_type=format_type, + text_file_type_metadata=text_file_type_metadata, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + format_type: pulumi.Input[str], + text_file_type_metadata: Optional[pulumi.Input['DatasetDatasetFormatDetailsTextFileTypeMetadataArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("format_type", format_type) if text_file_type_metadata is not None: - pulumi.set(__self__, "text_file_type_metadata", text_file_type_metadata) + _setter("text_file_type_metadata", text_file_type_metadata) @property @pulumi.getter(name="formatType") @@ -78,16 +89,35 @@ def __init__(__self__, *, :param pulumi.Input[str] escape_character: An escape character. :param pulumi.Input[str] line_delimiter: A line delimiter. """ - pulumi.set(__self__, "column_index", column_index) - pulumi.set(__self__, "format_type", format_type) + DatasetDatasetFormatDetailsTextFileTypeMetadataArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + column_index=column_index, + format_type=format_type, + column_delimiter=column_delimiter, + column_name=column_name, + escape_character=escape_character, + line_delimiter=line_delimiter, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + column_index: pulumi.Input[int], + format_type: pulumi.Input[str], + column_delimiter: Optional[pulumi.Input[str]] = None, + column_name: Optional[pulumi.Input[str]] = None, + escape_character: Optional[pulumi.Input[str]] = None, + line_delimiter: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("column_index", column_index) + _setter("format_type", format_type) if column_delimiter is not None: - pulumi.set(__self__, "column_delimiter", column_delimiter) + _setter("column_delimiter", column_delimiter) if column_name is not None: - pulumi.set(__self__, "column_name", column_name) + _setter("column_name", column_name) if escape_character is not None: - pulumi.set(__self__, "escape_character", escape_character) + _setter("escape_character", escape_character) if line_delimiter is not None: - pulumi.set(__self__, "line_delimiter", line_delimiter) + _setter("line_delimiter", line_delimiter) @property @pulumi.getter(name="columnIndex") @@ -175,11 +205,26 @@ def __init__(__self__, *, :param pulumi.Input[str] source_type: The type of data source. OBJECT_STORAGE - The source details for an object storage bucket. :param pulumi.Input[str] prefix: A common path prefix shared by the objects that make up the dataset. Except for the CSV file type, records are not generated for the objects whose names exactly match with the prefix. """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "source_type", source_type) + DatasetDatasetSourceDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + namespace=namespace, + source_type=source_type, + prefix=prefix, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: pulumi.Input[str], + namespace: pulumi.Input[str], + source_type: pulumi.Input[str], + prefix: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("namespace", namespace) + _setter("source_type", source_type) if prefix is not None: - pulumi.set(__self__, "prefix", prefix) + _setter("prefix", prefix) @property @pulumi.getter @@ -239,8 +284,19 @@ def __init__(__self__, *, :param pulumi.Input['DatasetInitialImportDatasetConfigurationImportFormatArgs'] import_format: File format details used for importing dataset :param pulumi.Input['DatasetInitialImportDatasetConfigurationImportMetadataPathArgs'] import_metadata_path: Object storage path for the metadata file """ - pulumi.set(__self__, "import_format", import_format) - pulumi.set(__self__, "import_metadata_path", import_metadata_path) + DatasetInitialImportDatasetConfigurationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + import_format=import_format, + import_metadata_path=import_metadata_path, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + import_format: pulumi.Input['DatasetInitialImportDatasetConfigurationImportFormatArgs'], + import_metadata_path: pulumi.Input['DatasetInitialImportDatasetConfigurationImportMetadataPathArgs'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("import_format", import_format) + _setter("import_metadata_path", import_metadata_path) @property @pulumi.getter(name="importFormat") @@ -276,9 +332,20 @@ def __init__(__self__, *, :param pulumi.Input[str] name: An unique name for a label within its dataset. :param pulumi.Input[str] version: Version of import format """ - pulumi.set(__self__, "name", name) + DatasetInitialImportDatasetConfigurationImportFormatArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: pulumi.Input[str], + version: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter @@ -318,10 +385,25 @@ def __init__(__self__, *, :param pulumi.Input[str] path: Path for the metadata file. :param pulumi.Input[str] source_type: The type of data source. OBJECT_STORAGE - The source details for an object storage bucket. """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "path", path) - pulumi.set(__self__, "source_type", source_type) + DatasetInitialImportDatasetConfigurationImportMetadataPathArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + namespace=namespace, + path=path, + source_type=source_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: pulumi.Input[str], + namespace: pulumi.Input[str], + path: pulumi.Input[str], + source_type: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("namespace", namespace) + _setter("path", path) + _setter("source_type", source_type) @property @pulumi.getter @@ -376,6 +458,11 @@ def source_type(self, value: pulumi.Input[str]): class DatasetInitialRecordGenerationConfigurationArgs: def __init__(__self__): pass + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + opts: Optional[pulumi.ResourceOptions]=None): + pass @pulumi.input_type @@ -385,7 +472,16 @@ def __init__(__self__, *, """ :param pulumi.Input[Sequence[pulumi.Input['DatasetLabelSetItemArgs']]] items: An ordered collection of labels that are unique by name. """ - pulumi.set(__self__, "items", items) + DatasetLabelSetArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: pulumi.Input[Sequence[pulumi.Input['DatasetLabelSetItemArgs']]], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -407,7 +503,16 @@ def __init__(__self__, *, """ :param pulumi.Input[str] name: An unique name for a label within its dataset. """ - pulumi.set(__self__, "name", name) + DatasetLabelSetItemArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -431,10 +536,23 @@ def __init__(__self__, *, """ :param str name: A unique name for the target AnnotationFormat for the Dataset. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAnnotationFormatsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -476,10 +594,23 @@ def __init__(__self__, *, """ :param str name: An unique name for a label within its dataset. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDatasetsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/datalabellingservice/dataset.py b/sdk/python/pulumi_oci/datalabellingservice/dataset.py index 0a7c5cdec4..d826d58eb1 100644 --- a/sdk/python/pulumi_oci/datalabellingservice/dataset.py +++ b/sdk/python/pulumi_oci/datalabellingservice/dataset.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -47,25 +47,56 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "annotation_format", annotation_format) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "dataset_format_details", dataset_format_details) - pulumi.set(__self__, "dataset_source_details", dataset_source_details) - pulumi.set(__self__, "label_set", label_set) + DatasetArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + annotation_format=annotation_format, + compartment_id=compartment_id, + dataset_format_details=dataset_format_details, + dataset_source_details=dataset_source_details, + label_set=label_set, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + initial_import_dataset_configuration=initial_import_dataset_configuration, + initial_record_generation_configuration=initial_record_generation_configuration, + labeling_instructions=labeling_instructions, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + annotation_format: pulumi.Input[str], + compartment_id: pulumi.Input[str], + dataset_format_details: pulumi.Input['DatasetDatasetFormatDetailsArgs'], + dataset_source_details: pulumi.Input['DatasetDatasetSourceDetailsArgs'], + label_set: pulumi.Input['DatasetLabelSetArgs'], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + initial_import_dataset_configuration: Optional[pulumi.Input['DatasetInitialImportDatasetConfigurationArgs']] = None, + initial_record_generation_configuration: Optional[pulumi.Input['DatasetInitialRecordGenerationConfigurationArgs']] = None, + labeling_instructions: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("annotation_format", annotation_format) + _setter("compartment_id", compartment_id) + _setter("dataset_format_details", dataset_format_details) + _setter("dataset_source_details", dataset_source_details) + _setter("label_set", label_set) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if initial_import_dataset_configuration is not None: - pulumi.set(__self__, "initial_import_dataset_configuration", initial_import_dataset_configuration) + _setter("initial_import_dataset_configuration", initial_import_dataset_configuration) if initial_record_generation_configuration is not None: - pulumi.set(__self__, "initial_record_generation_configuration", initial_record_generation_configuration) + _setter("initial_record_generation_configuration", initial_record_generation_configuration) if labeling_instructions is not None: - pulumi.set(__self__, "labeling_instructions", labeling_instructions) + _setter("labeling_instructions", labeling_instructions) @property @pulumi.getter(name="annotationFormat") @@ -262,42 +293,85 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the resource was created, in the timestamp format defined by RFC3339. :param pulumi.Input[str] time_updated: The date and time the resource was last updated, in the timestamp format defined by RFC3339. """ + _DatasetState._configure( + lambda key, value: pulumi.set(__self__, key, value), + additional_properties=additional_properties, + annotation_format=annotation_format, + compartment_id=compartment_id, + dataset_format_details=dataset_format_details, + dataset_source_details=dataset_source_details, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + initial_import_dataset_configuration=initial_import_dataset_configuration, + initial_record_generation_configuration=initial_record_generation_configuration, + label_set=label_set, + labeling_instructions=labeling_instructions, + lifecycle_details=lifecycle_details, + lifecycle_substate=lifecycle_substate, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + additional_properties: Optional[pulumi.Input[Mapping[str, Any]]] = None, + annotation_format: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + dataset_format_details: Optional[pulumi.Input['DatasetDatasetFormatDetailsArgs']] = None, + dataset_source_details: Optional[pulumi.Input['DatasetDatasetSourceDetailsArgs']] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + initial_import_dataset_configuration: Optional[pulumi.Input['DatasetInitialImportDatasetConfigurationArgs']] = None, + initial_record_generation_configuration: Optional[pulumi.Input['DatasetInitialRecordGenerationConfigurationArgs']] = None, + label_set: Optional[pulumi.Input['DatasetLabelSetArgs']] = None, + labeling_instructions: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + lifecycle_substate: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if additional_properties is not None: - pulumi.set(__self__, "additional_properties", additional_properties) + _setter("additional_properties", additional_properties) if annotation_format is not None: - pulumi.set(__self__, "annotation_format", annotation_format) + _setter("annotation_format", annotation_format) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if dataset_format_details is not None: - pulumi.set(__self__, "dataset_format_details", dataset_format_details) + _setter("dataset_format_details", dataset_format_details) if dataset_source_details is not None: - pulumi.set(__self__, "dataset_source_details", dataset_source_details) + _setter("dataset_source_details", dataset_source_details) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if initial_import_dataset_configuration is not None: - pulumi.set(__self__, "initial_import_dataset_configuration", initial_import_dataset_configuration) + _setter("initial_import_dataset_configuration", initial_import_dataset_configuration) if initial_record_generation_configuration is not None: - pulumi.set(__self__, "initial_record_generation_configuration", initial_record_generation_configuration) + _setter("initial_record_generation_configuration", initial_record_generation_configuration) if label_set is not None: - pulumi.set(__self__, "label_set", label_set) + _setter("label_set", label_set) if labeling_instructions is not None: - pulumi.set(__self__, "labeling_instructions", labeling_instructions) + _setter("labeling_instructions", labeling_instructions) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if lifecycle_substate is not None: - pulumi.set(__self__, "lifecycle_substate", lifecycle_substate) + _setter("lifecycle_substate", lifecycle_substate) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="additionalProperties") @@ -701,6 +775,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DatasetArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -733,9 +811,19 @@ def _internal_init(__self__, if compartment_id is None and not opts.urn: raise TypeError("Missing required property 'compartment_id'") __props__.__dict__["compartment_id"] = compartment_id + if dataset_format_details is not None and not isinstance(dataset_format_details, DatasetDatasetFormatDetailsArgs): + dataset_format_details = dataset_format_details or {} + def _setter(key, value): + dataset_format_details[key] = value + DatasetDatasetFormatDetailsArgs._configure(_setter, **dataset_format_details) if dataset_format_details is None and not opts.urn: raise TypeError("Missing required property 'dataset_format_details'") __props__.__dict__["dataset_format_details"] = dataset_format_details + if dataset_source_details is not None and not isinstance(dataset_source_details, DatasetDatasetSourceDetailsArgs): + dataset_source_details = dataset_source_details or {} + def _setter(key, value): + dataset_source_details[key] = value + DatasetDatasetSourceDetailsArgs._configure(_setter, **dataset_source_details) if dataset_source_details is None and not opts.urn: raise TypeError("Missing required property 'dataset_source_details'") __props__.__dict__["dataset_source_details"] = dataset_source_details @@ -743,8 +831,23 @@ def _internal_init(__self__, __props__.__dict__["description"] = description __props__.__dict__["display_name"] = display_name __props__.__dict__["freeform_tags"] = freeform_tags + if initial_import_dataset_configuration is not None and not isinstance(initial_import_dataset_configuration, DatasetInitialImportDatasetConfigurationArgs): + initial_import_dataset_configuration = initial_import_dataset_configuration or {} + def _setter(key, value): + initial_import_dataset_configuration[key] = value + DatasetInitialImportDatasetConfigurationArgs._configure(_setter, **initial_import_dataset_configuration) __props__.__dict__["initial_import_dataset_configuration"] = initial_import_dataset_configuration + if initial_record_generation_configuration is not None and not isinstance(initial_record_generation_configuration, DatasetInitialRecordGenerationConfigurationArgs): + initial_record_generation_configuration = initial_record_generation_configuration or {} + def _setter(key, value): + initial_record_generation_configuration[key] = value + DatasetInitialRecordGenerationConfigurationArgs._configure(_setter, **initial_record_generation_configuration) __props__.__dict__["initial_record_generation_configuration"] = initial_record_generation_configuration + if label_set is not None and not isinstance(label_set, DatasetLabelSetArgs): + label_set = label_set or {} + def _setter(key, value): + label_set[key] = value + DatasetLabelSetArgs._configure(_setter, **label_set) if label_set is None and not opts.urn: raise TypeError("Missing required property 'label_set'") __props__.__dict__["label_set"] = label_set diff --git a/sdk/python/pulumi_oci/datalabellingservice/get_annotation_format.py b/sdk/python/pulumi_oci/datalabellingservice/get_annotation_format.py index 376f43f7b2..b5134d96b0 100644 --- a/sdk/python/pulumi_oci/datalabellingservice/get_annotation_format.py +++ b/sdk/python/pulumi_oci/datalabellingservice/get_annotation_format.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/datalabellingservice/get_annotation_formats.py b/sdk/python/pulumi_oci/datalabellingservice/get_annotation_formats.py index 9f273ae67f..3e66187518 100644 --- a/sdk/python/pulumi_oci/datalabellingservice/get_annotation_formats.py +++ b/sdk/python/pulumi_oci/datalabellingservice/get_annotation_formats.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datalabellingservice/get_dataset.py b/sdk/python/pulumi_oci/datalabellingservice/get_dataset.py index cfe571264b..3b9658410f 100644 --- a/sdk/python/pulumi_oci/datalabellingservice/get_dataset.py +++ b/sdk/python/pulumi_oci/datalabellingservice/get_dataset.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/datalabellingservice/get_datasets.py b/sdk/python/pulumi_oci/datalabellingservice/get_datasets.py index 9451cbb523..7bde0f08be 100644 --- a/sdk/python/pulumi_oci/datalabellingservice/get_datasets.py +++ b/sdk/python/pulumi_oci/datalabellingservice/get_datasets.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datalabellingservice/outputs.py b/sdk/python/pulumi_oci/datalabellingservice/outputs.py index 3c8849f7e9..5c26ebf270 100644 --- a/sdk/python/pulumi_oci/datalabellingservice/outputs.py +++ b/sdk/python/pulumi_oci/datalabellingservice/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -75,9 +75,20 @@ def __init__(__self__, *, :param str format_type: It defines the format type of text files. :param 'DatasetDatasetFormatDetailsTextFileTypeMetadataArgs' text_file_type_metadata: Metadata for files with text content. """ - pulumi.set(__self__, "format_type", format_type) + DatasetDatasetFormatDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + format_type=format_type, + text_file_type_metadata=text_file_type_metadata, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + format_type: str, + text_file_type_metadata: Optional['outputs.DatasetDatasetFormatDetailsTextFileTypeMetadata'] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("format_type", format_type) if text_file_type_metadata is not None: - pulumi.set(__self__, "text_file_type_metadata", text_file_type_metadata) + _setter("text_file_type_metadata", text_file_type_metadata) @property @pulumi.getter(name="formatType") @@ -140,16 +151,35 @@ def __init__(__self__, *, :param str escape_character: An escape character. :param str line_delimiter: A line delimiter. """ - pulumi.set(__self__, "column_index", column_index) - pulumi.set(__self__, "format_type", format_type) + DatasetDatasetFormatDetailsTextFileTypeMetadata._configure( + lambda key, value: pulumi.set(__self__, key, value), + column_index=column_index, + format_type=format_type, + column_delimiter=column_delimiter, + column_name=column_name, + escape_character=escape_character, + line_delimiter=line_delimiter, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + column_index: int, + format_type: str, + column_delimiter: Optional[str] = None, + column_name: Optional[str] = None, + escape_character: Optional[str] = None, + line_delimiter: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("column_index", column_index) + _setter("format_type", format_type) if column_delimiter is not None: - pulumi.set(__self__, "column_delimiter", column_delimiter) + _setter("column_delimiter", column_delimiter) if column_name is not None: - pulumi.set(__self__, "column_name", column_name) + _setter("column_name", column_name) if escape_character is not None: - pulumi.set(__self__, "escape_character", escape_character) + _setter("escape_character", escape_character) if line_delimiter is not None: - pulumi.set(__self__, "line_delimiter", line_delimiter) + _setter("line_delimiter", line_delimiter) @property @pulumi.getter(name="columnIndex") @@ -230,11 +260,26 @@ def __init__(__self__, *, :param str source_type: The type of data source. OBJECT_STORAGE - The source details for an object storage bucket. :param str prefix: A common path prefix shared by the objects that make up the dataset. Except for the CSV file type, records are not generated for the objects whose names exactly match with the prefix. """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "source_type", source_type) + DatasetDatasetSourceDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + namespace=namespace, + source_type=source_type, + prefix=prefix, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + namespace: str, + source_type: str, + prefix: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("namespace", namespace) + _setter("source_type", source_type) if prefix is not None: - pulumi.set(__self__, "prefix", prefix) + _setter("prefix", prefix) @property @pulumi.getter @@ -297,8 +342,19 @@ def __init__(__self__, *, :param 'DatasetInitialImportDatasetConfigurationImportFormatArgs' import_format: File format details used for importing dataset :param 'DatasetInitialImportDatasetConfigurationImportMetadataPathArgs' import_metadata_path: Object storage path for the metadata file """ - pulumi.set(__self__, "import_format", import_format) - pulumi.set(__self__, "import_metadata_path", import_metadata_path) + DatasetInitialImportDatasetConfiguration._configure( + lambda key, value: pulumi.set(__self__, key, value), + import_format=import_format, + import_metadata_path=import_metadata_path, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + import_format: 'outputs.DatasetInitialImportDatasetConfigurationImportFormat', + import_metadata_path: 'outputs.DatasetInitialImportDatasetConfigurationImportMetadataPath', + opts: Optional[pulumi.ResourceOptions]=None): + _setter("import_format", import_format) + _setter("import_metadata_path", import_metadata_path) @property @pulumi.getter(name="importFormat") @@ -326,9 +382,20 @@ def __init__(__self__, *, :param str name: An unique name for a label within its dataset. :param str version: Version of import format """ - pulumi.set(__self__, "name", name) + DatasetInitialImportDatasetConfigurationImportFormat._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + version: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter @@ -377,10 +444,25 @@ def __init__(__self__, *, :param str path: Path for the metadata file. :param str source_type: The type of data source. OBJECT_STORAGE - The source details for an object storage bucket. """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "path", path) - pulumi.set(__self__, "source_type", source_type) + DatasetInitialImportDatasetConfigurationImportMetadataPath._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + namespace=namespace, + path=path, + source_type=source_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + namespace: str, + path: str, + source_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("namespace", namespace) + _setter("path", path) + _setter("source_type", source_type) @property @pulumi.getter @@ -419,6 +501,11 @@ def source_type(self) -> str: class DatasetInitialRecordGenerationConfiguration(dict): def __init__(__self__): pass + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + opts: Optional[pulumi.ResourceOptions]=None): + pass @pulumi.output_type @@ -428,7 +515,16 @@ def __init__(__self__, *, """ :param Sequence['DatasetLabelSetItemArgs'] items: An ordered collection of labels that are unique by name. """ - pulumi.set(__self__, "items", items) + DatasetLabelSet._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.DatasetLabelSetItem'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -446,7 +542,16 @@ def __init__(__self__, *, """ :param str name: An unique name for a label within its dataset. """ - pulumi.set(__self__, "name", name) + DatasetLabelSetItem._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -464,7 +569,16 @@ def __init__(__self__, *, """ :param str name: A unique name for the target AnnotationFormat for the Dataset. """ - pulumi.set(__self__, "name", name) + GetAnnotationFormatItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -482,7 +596,16 @@ def __init__(__self__, *, """ :param Sequence['GetAnnotationFormatsAnnotationFormatCollectionItemArgs'] items: List of annotation formats. """ - pulumi.set(__self__, "items", items) + GetAnnotationFormatsAnnotationFormatCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetAnnotationFormatsAnnotationFormatCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -500,7 +623,16 @@ def __init__(__self__, *, """ :param str name: A unique name for the target AnnotationFormat for the Dataset. """ - pulumi.set(__self__, "name", name) + GetAnnotationFormatsAnnotationFormatCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -520,10 +652,23 @@ def __init__(__self__, *, """ :param str name: A unique name for the target AnnotationFormat for the Dataset. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAnnotationFormatsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -553,8 +698,19 @@ def __init__(__self__, *, :param str format_type: It defines the format type of text files. :param Sequence['GetDatasetDatasetFormatDetailTextFileTypeMetadataArgs'] text_file_type_metadatas: Metadata for files with text content. """ - pulumi.set(__self__, "format_type", format_type) - pulumi.set(__self__, "text_file_type_metadatas", text_file_type_metadatas) + GetDatasetDatasetFormatDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + format_type=format_type, + text_file_type_metadatas=text_file_type_metadatas, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + format_type: str, + text_file_type_metadatas: Sequence['outputs.GetDatasetDatasetFormatDetailTextFileTypeMetadataResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("format_type", format_type) + _setter("text_file_type_metadatas", text_file_type_metadatas) @property @pulumi.getter(name="formatType") @@ -590,12 +746,31 @@ def __init__(__self__, *, :param str format_type: It defines the format type of text files. :param str line_delimiter: A line delimiter. """ - pulumi.set(__self__, "column_delimiter", column_delimiter) - pulumi.set(__self__, "column_index", column_index) - pulumi.set(__self__, "column_name", column_name) - pulumi.set(__self__, "escape_character", escape_character) - pulumi.set(__self__, "format_type", format_type) - pulumi.set(__self__, "line_delimiter", line_delimiter) + GetDatasetDatasetFormatDetailTextFileTypeMetadataResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + column_delimiter=column_delimiter, + column_index=column_index, + column_name=column_name, + escape_character=escape_character, + format_type=format_type, + line_delimiter=line_delimiter, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + column_delimiter: str, + column_index: int, + column_name: str, + escape_character: str, + format_type: str, + line_delimiter: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("column_delimiter", column_delimiter) + _setter("column_index", column_index) + _setter("column_name", column_name) + _setter("escape_character", escape_character) + _setter("format_type", format_type) + _setter("line_delimiter", line_delimiter) @property @pulumi.getter(name="columnDelimiter") @@ -659,10 +834,25 @@ def __init__(__self__, *, :param str prefix: A common path prefix shared by the objects that make up the dataset. Except for the CSV file type, records are not generated for the objects whose names exactly match with the prefix. :param str source_type: The type of data source. OBJECT_STORAGE - The source details for an object storage bucket. """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "prefix", prefix) - pulumi.set(__self__, "source_type", source_type) + GetDatasetDatasetSourceDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + namespace=namespace, + prefix=prefix, + source_type=source_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + namespace: str, + prefix: str, + source_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("namespace", namespace) + _setter("prefix", prefix) + _setter("source_type", source_type) @property @pulumi.getter @@ -706,8 +896,19 @@ def __init__(__self__, *, :param Sequence['GetDatasetInitialImportDatasetConfigurationImportFormatArgs'] import_formats: File format details used for importing dataset :param Sequence['GetDatasetInitialImportDatasetConfigurationImportMetadataPathArgs'] import_metadata_paths: Object storage path for the metadata file """ - pulumi.set(__self__, "import_formats", import_formats) - pulumi.set(__self__, "import_metadata_paths", import_metadata_paths) + GetDatasetInitialImportDatasetConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + import_formats=import_formats, + import_metadata_paths=import_metadata_paths, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + import_formats: Sequence['outputs.GetDatasetInitialImportDatasetConfigurationImportFormatResult'], + import_metadata_paths: Sequence['outputs.GetDatasetInitialImportDatasetConfigurationImportMetadataPathResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("import_formats", import_formats) + _setter("import_metadata_paths", import_metadata_paths) @property @pulumi.getter(name="importFormats") @@ -735,8 +936,19 @@ def __init__(__self__, *, :param str name: An unique name for a label within its dataset. :param str version: Version of import format """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "version", version) + GetDatasetInitialImportDatasetConfigurationImportFormatResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("version", version) @property @pulumi.getter @@ -768,10 +980,25 @@ def __init__(__self__, *, :param str path: Path for the metadata file. :param str source_type: The type of data source. OBJECT_STORAGE - The source details for an object storage bucket. """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "path", path) - pulumi.set(__self__, "source_type", source_type) + GetDatasetInitialImportDatasetConfigurationImportMetadataPathResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + namespace=namespace, + path=path, + source_type=source_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + namespace: str, + path: str, + source_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("namespace", namespace) + _setter("path", path) + _setter("source_type", source_type) @property @pulumi.getter @@ -810,6 +1037,11 @@ def source_type(self) -> str: class GetDatasetInitialRecordGenerationConfigurationResult(dict): def __init__(__self__): pass + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + opts: Optional[pulumi.ResourceOptions]=None): + pass @pulumi.output_type @@ -819,7 +1051,16 @@ def __init__(__self__, *, """ :param Sequence['GetDatasetLabelSetItemArgs'] items: An ordered collection of labels that are unique by name. """ - pulumi.set(__self__, "items", items) + GetDatasetLabelSetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDatasetLabelSetItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -837,7 +1078,16 @@ def __init__(__self__, *, """ :param str name: An unique name for a label within its dataset. """ - pulumi.set(__self__, "name", name) + GetDatasetLabelSetItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -855,7 +1105,16 @@ def __init__(__self__, *, """ :param Sequence['GetDatasetsDatasetCollectionItemArgs'] items: An ordered collection of labels that are unique by name. """ - pulumi.set(__self__, "items", items) + GetDatasetsDatasetCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDatasetsDatasetCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -909,25 +1168,70 @@ def __init__(__self__, *, :param str time_created: The date and time the resource was created, in the timestamp format defined by RFC3339. :param str time_updated: The date and time the resource was last updated, in the timestamp format defined by RFC3339. """ - pulumi.set(__self__, "additional_properties", additional_properties) - pulumi.set(__self__, "annotation_format", annotation_format) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "dataset_format_details", dataset_format_details) - pulumi.set(__self__, "dataset_source_details", dataset_source_details) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "initial_import_dataset_configurations", initial_import_dataset_configurations) - pulumi.set(__self__, "initial_record_generation_configurations", initial_record_generation_configurations) - pulumi.set(__self__, "label_sets", label_sets) - pulumi.set(__self__, "labeling_instructions", labeling_instructions) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "lifecycle_substate", lifecycle_substate) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetDatasetsDatasetCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + additional_properties=additional_properties, + annotation_format=annotation_format, + compartment_id=compartment_id, + dataset_format_details=dataset_format_details, + dataset_source_details=dataset_source_details, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + initial_import_dataset_configurations=initial_import_dataset_configurations, + initial_record_generation_configurations=initial_record_generation_configurations, + label_sets=label_sets, + labeling_instructions=labeling_instructions, + lifecycle_details=lifecycle_details, + lifecycle_substate=lifecycle_substate, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + additional_properties: Mapping[str, Any], + annotation_format: str, + compartment_id: str, + dataset_format_details: Sequence['outputs.GetDatasetsDatasetCollectionItemDatasetFormatDetailResult'], + dataset_source_details: Sequence['outputs.GetDatasetsDatasetCollectionItemDatasetSourceDetailResult'], + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + initial_import_dataset_configurations: Sequence['outputs.GetDatasetsDatasetCollectionItemInitialImportDatasetConfigurationResult'], + initial_record_generation_configurations: Sequence['outputs.GetDatasetsDatasetCollectionItemInitialRecordGenerationConfigurationResult'], + label_sets: Sequence['outputs.GetDatasetsDatasetCollectionItemLabelSetResult'], + labeling_instructions: str, + lifecycle_details: str, + lifecycle_substate: str, + state: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("additional_properties", additional_properties) + _setter("annotation_format", annotation_format) + _setter("compartment_id", compartment_id) + _setter("dataset_format_details", dataset_format_details) + _setter("dataset_source_details", dataset_source_details) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("initial_import_dataset_configurations", initial_import_dataset_configurations) + _setter("initial_record_generation_configurations", initial_record_generation_configurations) + _setter("label_sets", label_sets) + _setter("labeling_instructions", labeling_instructions) + _setter("lifecycle_details", lifecycle_details) + _setter("lifecycle_substate", lifecycle_substate) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="additionalProperties") @@ -1091,8 +1395,19 @@ def __init__(__self__, *, :param str format_type: It defines the format type of text files. :param Sequence['GetDatasetsDatasetCollectionItemDatasetFormatDetailTextFileTypeMetadataArgs'] text_file_type_metadatas: Metadata for files with text content. """ - pulumi.set(__self__, "format_type", format_type) - pulumi.set(__self__, "text_file_type_metadatas", text_file_type_metadatas) + GetDatasetsDatasetCollectionItemDatasetFormatDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + format_type=format_type, + text_file_type_metadatas=text_file_type_metadatas, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + format_type: str, + text_file_type_metadatas: Sequence['outputs.GetDatasetsDatasetCollectionItemDatasetFormatDetailTextFileTypeMetadataResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("format_type", format_type) + _setter("text_file_type_metadatas", text_file_type_metadatas) @property @pulumi.getter(name="formatType") @@ -1128,12 +1443,31 @@ def __init__(__self__, *, :param str format_type: It defines the format type of text files. :param str line_delimiter: A line delimiter. """ - pulumi.set(__self__, "column_delimiter", column_delimiter) - pulumi.set(__self__, "column_index", column_index) - pulumi.set(__self__, "column_name", column_name) - pulumi.set(__self__, "escape_character", escape_character) - pulumi.set(__self__, "format_type", format_type) - pulumi.set(__self__, "line_delimiter", line_delimiter) + GetDatasetsDatasetCollectionItemDatasetFormatDetailTextFileTypeMetadataResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + column_delimiter=column_delimiter, + column_index=column_index, + column_name=column_name, + escape_character=escape_character, + format_type=format_type, + line_delimiter=line_delimiter, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + column_delimiter: str, + column_index: int, + column_name: str, + escape_character: str, + format_type: str, + line_delimiter: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("column_delimiter", column_delimiter) + _setter("column_index", column_index) + _setter("column_name", column_name) + _setter("escape_character", escape_character) + _setter("format_type", format_type) + _setter("line_delimiter", line_delimiter) @property @pulumi.getter(name="columnDelimiter") @@ -1197,10 +1531,25 @@ def __init__(__self__, *, :param str prefix: A common path prefix shared by the objects that make up the dataset. Except for the CSV file type, records are not generated for the objects whose names exactly match with the prefix. :param str source_type: The type of data source. OBJECT_STORAGE - The source details for an object storage bucket. """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "prefix", prefix) - pulumi.set(__self__, "source_type", source_type) + GetDatasetsDatasetCollectionItemDatasetSourceDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + namespace=namespace, + prefix=prefix, + source_type=source_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + namespace: str, + prefix: str, + source_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("namespace", namespace) + _setter("prefix", prefix) + _setter("source_type", source_type) @property @pulumi.getter @@ -1244,8 +1593,19 @@ def __init__(__self__, *, :param Sequence['GetDatasetsDatasetCollectionItemInitialImportDatasetConfigurationImportFormatArgs'] import_formats: File format details used for importing dataset :param Sequence['GetDatasetsDatasetCollectionItemInitialImportDatasetConfigurationImportMetadataPathArgs'] import_metadata_paths: Object storage path for the metadata file """ - pulumi.set(__self__, "import_formats", import_formats) - pulumi.set(__self__, "import_metadata_paths", import_metadata_paths) + GetDatasetsDatasetCollectionItemInitialImportDatasetConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + import_formats=import_formats, + import_metadata_paths=import_metadata_paths, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + import_formats: Sequence['outputs.GetDatasetsDatasetCollectionItemInitialImportDatasetConfigurationImportFormatResult'], + import_metadata_paths: Sequence['outputs.GetDatasetsDatasetCollectionItemInitialImportDatasetConfigurationImportMetadataPathResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("import_formats", import_formats) + _setter("import_metadata_paths", import_metadata_paths) @property @pulumi.getter(name="importFormats") @@ -1273,8 +1633,19 @@ def __init__(__self__, *, :param str name: An unique name for a label within its dataset. :param str version: Version of import format """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "version", version) + GetDatasetsDatasetCollectionItemInitialImportDatasetConfigurationImportFormatResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("version", version) @property @pulumi.getter @@ -1306,10 +1677,25 @@ def __init__(__self__, *, :param str path: Path for the metadata file. :param str source_type: The type of data source. OBJECT_STORAGE - The source details for an object storage bucket. """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "path", path) - pulumi.set(__self__, "source_type", source_type) + GetDatasetsDatasetCollectionItemInitialImportDatasetConfigurationImportMetadataPathResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + namespace=namespace, + path=path, + source_type=source_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + namespace: str, + path: str, + source_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("namespace", namespace) + _setter("path", path) + _setter("source_type", source_type) @property @pulumi.getter @@ -1348,6 +1734,11 @@ def source_type(self) -> str: class GetDatasetsDatasetCollectionItemInitialRecordGenerationConfigurationResult(dict): def __init__(__self__): pass + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + opts: Optional[pulumi.ResourceOptions]=None): + pass @pulumi.output_type @@ -1357,7 +1748,16 @@ def __init__(__self__, *, """ :param Sequence['GetDatasetsDatasetCollectionItemLabelSetItemArgs'] items: An ordered collection of labels that are unique by name. """ - pulumi.set(__self__, "items", items) + GetDatasetsDatasetCollectionItemLabelSetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDatasetsDatasetCollectionItemLabelSetItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1375,7 +1775,16 @@ def __init__(__self__, *, """ :param str name: An unique name for a label within its dataset. """ - pulumi.set(__self__, "name", name) + GetDatasetsDatasetCollectionItemLabelSetItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -1395,10 +1804,23 @@ def __init__(__self__, *, """ :param str name: An unique name for a label within its dataset. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDatasetsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/datasafe/_inputs.py b/sdk/python/pulumi_oci/datasafe/_inputs.py index 55999416b6..853617ad49 100644 --- a/sdk/python/pulumi_oci/datasafe/_inputs.py +++ b/sdk/python/pulumi_oci/datasafe/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -98,14 +98,29 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_data_safe_service_account_audited: Indicates whether the Data Safe user activity on the target database will be audited by the policy. :param pulumi.Input[bool] is_priv_users_managed_by_data_safe: Indicates whether the privileged user list is managed by Data Safe. """ + AuditPolicyAuditConditionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + audit_policy_name=audit_policy_name, + enable_conditions=enable_conditions, + is_data_safe_service_account_audited=is_data_safe_service_account_audited, + is_priv_users_managed_by_data_safe=is_priv_users_managed_by_data_safe, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + audit_policy_name: Optional[pulumi.Input[str]] = None, + enable_conditions: Optional[pulumi.Input[Sequence[pulumi.Input['AuditPolicyAuditConditionEnableConditionArgs']]]] = None, + is_data_safe_service_account_audited: Optional[pulumi.Input[bool]] = None, + is_priv_users_managed_by_data_safe: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if audit_policy_name is not None: - pulumi.set(__self__, "audit_policy_name", audit_policy_name) + _setter("audit_policy_name", audit_policy_name) if enable_conditions is not None: - pulumi.set(__self__, "enable_conditions", enable_conditions) + _setter("enable_conditions", enable_conditions) if is_data_safe_service_account_audited is not None: - pulumi.set(__self__, "is_data_safe_service_account_audited", is_data_safe_service_account_audited) + _setter("is_data_safe_service_account_audited", is_data_safe_service_account_audited) if is_priv_users_managed_by_data_safe is not None: - pulumi.set(__self__, "is_priv_users_managed_by_data_safe", is_priv_users_managed_by_data_safe) + _setter("is_priv_users_managed_by_data_safe", is_priv_users_managed_by_data_safe) @property @pulumi.getter(name="auditPolicyName") @@ -169,14 +184,29 @@ def __init__(__self__, *, :param pulumi.Input[str] entity_type: The entity type that the policy must be enabled for. :param pulumi.Input[str] operation_status: The operation status that the policy must be enabled for. """ + AuditPolicyAuditConditionEnableConditionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + entity_names=entity_names, + entity_selection=entity_selection, + entity_type=entity_type, + operation_status=operation_status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + entity_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + entity_selection: Optional[pulumi.Input[str]] = None, + entity_type: Optional[pulumi.Input[str]] = None, + operation_status: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if entity_names is not None: - pulumi.set(__self__, "entity_names", entity_names) + _setter("entity_names", entity_names) if entity_selection is not None: - pulumi.set(__self__, "entity_selection", entity_selection) + _setter("entity_selection", entity_selection) if entity_type is not None: - pulumi.set(__self__, "entity_type", entity_type) + _setter("entity_type", entity_type) if operation_status is not None: - pulumi.set(__self__, "operation_status", operation_status) + _setter("operation_status", operation_status) @property @pulumi.getter(name="entityNames") @@ -254,28 +284,57 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_view_only: Indicates whether the audit policy is available for provisioning/ de-provisioning from Oracle Data Safe, or is only available for displaying the current provisioning status from the target. :param pulumi.Input[str] partially_enabled_msg: Provides information about the policy that has been only partially enabled. """ + AuditPolicyAuditSpecificationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + audit_policy_category=audit_policy_category, + audit_policy_name=audit_policy_name, + database_policy_names=database_policy_names, + enable_status=enable_status, + enabled_entities=enabled_entities, + is_created=is_created, + is_enabled_for_all_users=is_enabled_for_all_users, + is_seeded_in_data_safe=is_seeded_in_data_safe, + is_seeded_in_target=is_seeded_in_target, + is_view_only=is_view_only, + partially_enabled_msg=partially_enabled_msg, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + audit_policy_category: Optional[pulumi.Input[str]] = None, + audit_policy_name: Optional[pulumi.Input[str]] = None, + database_policy_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + enable_status: Optional[pulumi.Input[str]] = None, + enabled_entities: Optional[pulumi.Input[str]] = None, + is_created: Optional[pulumi.Input[bool]] = None, + is_enabled_for_all_users: Optional[pulumi.Input[bool]] = None, + is_seeded_in_data_safe: Optional[pulumi.Input[bool]] = None, + is_seeded_in_target: Optional[pulumi.Input[bool]] = None, + is_view_only: Optional[pulumi.Input[bool]] = None, + partially_enabled_msg: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if audit_policy_category is not None: - pulumi.set(__self__, "audit_policy_category", audit_policy_category) + _setter("audit_policy_category", audit_policy_category) if audit_policy_name is not None: - pulumi.set(__self__, "audit_policy_name", audit_policy_name) + _setter("audit_policy_name", audit_policy_name) if database_policy_names is not None: - pulumi.set(__self__, "database_policy_names", database_policy_names) + _setter("database_policy_names", database_policy_names) if enable_status is not None: - pulumi.set(__self__, "enable_status", enable_status) + _setter("enable_status", enable_status) if enabled_entities is not None: - pulumi.set(__self__, "enabled_entities", enabled_entities) + _setter("enabled_entities", enabled_entities) if is_created is not None: - pulumi.set(__self__, "is_created", is_created) + _setter("is_created", is_created) if is_enabled_for_all_users is not None: - pulumi.set(__self__, "is_enabled_for_all_users", is_enabled_for_all_users) + _setter("is_enabled_for_all_users", is_enabled_for_all_users) if is_seeded_in_data_safe is not None: - pulumi.set(__self__, "is_seeded_in_data_safe", is_seeded_in_data_safe) + _setter("is_seeded_in_data_safe", is_seeded_in_data_safe) if is_seeded_in_target is not None: - pulumi.set(__self__, "is_seeded_in_target", is_seeded_in_target) + _setter("is_seeded_in_target", is_seeded_in_target) if is_view_only is not None: - pulumi.set(__self__, "is_view_only", is_view_only) + _setter("is_view_only", is_view_only) if partially_enabled_msg is not None: - pulumi.set(__self__, "partially_enabled_msg", partially_enabled_msg) + _setter("partially_enabled_msg", partially_enabled_msg) @property @pulumi.getter(name="auditPolicyCategory") @@ -453,44 +512,89 @@ def __init__(__self__, *, :param pulumi.Input[str] trail_location: An audit trail location represents the source of audit records that provides documentary evidence of the sequence of activities in the target database. :param pulumi.Input[str] work_request_id: The OCID of the workrequest for audit trail which collects audit records. """ + AuditProfileAuditTrailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + audit_collection_start_time=audit_collection_start_time, + audit_profile_id=audit_profile_id, + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + is_auto_purge_enabled=is_auto_purge_enabled, + lifecycle_details=lifecycle_details, + state=state, + status=status, + system_tags=system_tags, + target_id=target_id, + time_created=time_created, + time_last_collected=time_last_collected, + time_updated=time_updated, + trail_location=trail_location, + work_request_id=work_request_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + audit_collection_start_time: Optional[pulumi.Input[str]] = None, + audit_profile_id: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + id: Optional[pulumi.Input[str]] = None, + is_auto_purge_enabled: Optional[pulumi.Input[bool]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + target_id: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_last_collected: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + trail_location: Optional[pulumi.Input[str]] = None, + work_request_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if audit_collection_start_time is not None: - pulumi.set(__self__, "audit_collection_start_time", audit_collection_start_time) + _setter("audit_collection_start_time", audit_collection_start_time) if audit_profile_id is not None: - pulumi.set(__self__, "audit_profile_id", audit_profile_id) + _setter("audit_profile_id", audit_profile_id) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if is_auto_purge_enabled is not None: - pulumi.set(__self__, "is_auto_purge_enabled", is_auto_purge_enabled) + _setter("is_auto_purge_enabled", is_auto_purge_enabled) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if target_id is not None: - pulumi.set(__self__, "target_id", target_id) + _setter("target_id", target_id) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_last_collected is not None: - pulumi.set(__self__, "time_last_collected", time_last_collected) + _setter("time_last_collected", time_last_collected) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if trail_location is not None: - pulumi.set(__self__, "trail_location", trail_location) + _setter("trail_location", trail_location) if work_request_id is not None: - pulumi.set(__self__, "work_request_id", work_request_id) + _setter("work_request_id", work_request_id) @property @pulumi.getter(name="auditCollectionStartTime") @@ -732,12 +836,25 @@ def __init__(__self__, *, :param pulumi.Input[int] offline_retention_period: The offline retention period in months. :param pulumi.Input[int] online_retention_period: The online retention period in months. """ + DataSafeConfigurationGlobalSettingArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_paid_usage=is_paid_usage, + offline_retention_period=offline_retention_period, + online_retention_period=online_retention_period, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_paid_usage: Optional[pulumi.Input[bool]] = None, + offline_retention_period: Optional[pulumi.Input[int]] = None, + online_retention_period: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_paid_usage is not None: - pulumi.set(__self__, "is_paid_usage", is_paid_usage) + _setter("is_paid_usage", is_paid_usage) if offline_retention_period is not None: - pulumi.set(__self__, "offline_retention_period", offline_retention_period) + _setter("offline_retention_period", offline_retention_period) if online_retention_period is not None: - pulumi.set(__self__, "online_retention_period", online_retention_period) + _setter("online_retention_period", online_retention_period) @property @pulumi.getter(name="isPaidUsage") @@ -785,10 +902,21 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] app_defined_child_column_keys: Unique keys identifying the columns that are application-level (non-dictionary) children of the sensitive column. :param pulumi.Input[Sequence[pulumi.Input[str]]] db_defined_child_column_keys: Unique keys identifying the columns that are database-level (dictionary-defined) children of the sensitive column. """ + DiscoveryJobsResultModifiedAttributeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + app_defined_child_column_keys=app_defined_child_column_keys, + db_defined_child_column_keys=db_defined_child_column_keys, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + app_defined_child_column_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + db_defined_child_column_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if app_defined_child_column_keys is not None: - pulumi.set(__self__, "app_defined_child_column_keys", app_defined_child_column_keys) + _setter("app_defined_child_column_keys", app_defined_child_column_keys) if db_defined_child_column_keys is not None: - pulumi.set(__self__, "db_defined_child_column_keys", db_defined_child_column_keys) + _setter("db_defined_child_column_keys", db_defined_child_column_keys) @property @pulumi.getter(name="appDefinedChildColumnKeys") @@ -870,51 +998,104 @@ def __init__(__self__, *, :param pulumi.Input[str] table_name: (Updatable) The name of the table that contains the substitution column. :param pulumi.Input[str] user_defined_function: (Updatable) The user-defined function in SCHEMA_NAME.PACKAGE_NAME.FUNCTION_NAME format. It can be a standalone or packaged function, so PACKAGE_NAME is optional. """ - pulumi.set(__self__, "type", type) + LibraryMasingFormatFormatEntryArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + column_name=column_name, + description=description, + end_date=end_date, + end_length=end_length, + end_value=end_value, + fixed_number=fixed_number, + fixed_string=fixed_string, + grouping_columns=grouping_columns, + length=length, + library_masking_format_id=library_masking_format_id, + post_processing_function=post_processing_function, + random_lists=random_lists, + regular_expression=regular_expression, + replace_with=replace_with, + schema_name=schema_name, + sql_expression=sql_expression, + start_date=start_date, + start_length=start_length, + start_position=start_position, + start_value=start_value, + table_name=table_name, + user_defined_function=user_defined_function, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + column_name: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + end_date: Optional[pulumi.Input[str]] = None, + end_length: Optional[pulumi.Input[int]] = None, + end_value: Optional[pulumi.Input[float]] = None, + fixed_number: Optional[pulumi.Input[float]] = None, + fixed_string: Optional[pulumi.Input[str]] = None, + grouping_columns: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + length: Optional[pulumi.Input[int]] = None, + library_masking_format_id: Optional[pulumi.Input[str]] = None, + post_processing_function: Optional[pulumi.Input[str]] = None, + random_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + regular_expression: Optional[pulumi.Input[str]] = None, + replace_with: Optional[pulumi.Input[str]] = None, + schema_name: Optional[pulumi.Input[str]] = None, + sql_expression: Optional[pulumi.Input[str]] = None, + start_date: Optional[pulumi.Input[str]] = None, + start_length: Optional[pulumi.Input[int]] = None, + start_position: Optional[pulumi.Input[int]] = None, + start_value: Optional[pulumi.Input[float]] = None, + table_name: Optional[pulumi.Input[str]] = None, + user_defined_function: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if column_name is not None: - pulumi.set(__self__, "column_name", column_name) + _setter("column_name", column_name) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if end_date is not None: - pulumi.set(__self__, "end_date", end_date) + _setter("end_date", end_date) if end_length is not None: - pulumi.set(__self__, "end_length", end_length) + _setter("end_length", end_length) if end_value is not None: - pulumi.set(__self__, "end_value", end_value) + _setter("end_value", end_value) if fixed_number is not None: - pulumi.set(__self__, "fixed_number", fixed_number) + _setter("fixed_number", fixed_number) if fixed_string is not None: - pulumi.set(__self__, "fixed_string", fixed_string) + _setter("fixed_string", fixed_string) if grouping_columns is not None: - pulumi.set(__self__, "grouping_columns", grouping_columns) + _setter("grouping_columns", grouping_columns) if length is not None: - pulumi.set(__self__, "length", length) + _setter("length", length) if library_masking_format_id is not None: - pulumi.set(__self__, "library_masking_format_id", library_masking_format_id) + _setter("library_masking_format_id", library_masking_format_id) if post_processing_function is not None: - pulumi.set(__self__, "post_processing_function", post_processing_function) + _setter("post_processing_function", post_processing_function) if random_lists is not None: - pulumi.set(__self__, "random_lists", random_lists) + _setter("random_lists", random_lists) if regular_expression is not None: - pulumi.set(__self__, "regular_expression", regular_expression) + _setter("regular_expression", regular_expression) if replace_with is not None: - pulumi.set(__self__, "replace_with", replace_with) + _setter("replace_with", replace_with) if schema_name is not None: - pulumi.set(__self__, "schema_name", schema_name) + _setter("schema_name", schema_name) if sql_expression is not None: - pulumi.set(__self__, "sql_expression", sql_expression) + _setter("sql_expression", sql_expression) if start_date is not None: - pulumi.set(__self__, "start_date", start_date) + _setter("start_date", start_date) if start_length is not None: - pulumi.set(__self__, "start_length", start_length) + _setter("start_length", start_length) if start_position is not None: - pulumi.set(__self__, "start_position", start_position) + _setter("start_position", start_position) if start_value is not None: - pulumi.set(__self__, "start_value", start_value) + _setter("start_value", start_value) if table_name is not None: - pulumi.set(__self__, "table_name", table_name) + _setter("table_name", table_name) if user_defined_function is not None: - pulumi.set(__self__, "user_defined_function", user_defined_function) + _setter("user_defined_function", user_defined_function) @property @pulumi.getter @@ -1208,11 +1389,24 @@ def __init__(__self__, *, :param pulumi.Input[str] condition: (Updatable) A condition that must be true for applying the masking format. It can be any valid SQL construct that can be used in a SQL predicate. It enables you to do conditional masking so that you can mask the column data values differently using different masking formats and the associated conditions. :param pulumi.Input[str] description: (Updatable) The description of the format entry. """ - pulumi.set(__self__, "format_entries", format_entries) + MaskingPoliciesMaskingColumnMaskingFormatArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + format_entries=format_entries, + condition=condition, + description=description, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + format_entries: pulumi.Input[Sequence[pulumi.Input['MaskingPoliciesMaskingColumnMaskingFormatFormatEntryArgs']]], + condition: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("format_entries", format_entries) if condition is not None: - pulumi.set(__self__, "condition", condition) + _setter("condition", condition) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) @property @pulumi.getter(name="formatEntries") @@ -1306,51 +1500,104 @@ def __init__(__self__, *, :param pulumi.Input[str] table_name: (Updatable) The name of the table that contains the substitution column. :param pulumi.Input[str] user_defined_function: (Updatable) The user-defined function in SCHEMA_NAME.PACKAGE_NAME.FUNCTION_NAME format. It can be a standalone or packaged function, so PACKAGE_NAME is optional. """ - pulumi.set(__self__, "type", type) + MaskingPoliciesMaskingColumnMaskingFormatFormatEntryArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + column_name=column_name, + description=description, + end_date=end_date, + end_length=end_length, + end_value=end_value, + fixed_number=fixed_number, + fixed_string=fixed_string, + grouping_columns=grouping_columns, + length=length, + library_masking_format_id=library_masking_format_id, + post_processing_function=post_processing_function, + random_lists=random_lists, + regular_expression=regular_expression, + replace_with=replace_with, + schema_name=schema_name, + sql_expression=sql_expression, + start_date=start_date, + start_length=start_length, + start_position=start_position, + start_value=start_value, + table_name=table_name, + user_defined_function=user_defined_function, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + column_name: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + end_date: Optional[pulumi.Input[str]] = None, + end_length: Optional[pulumi.Input[int]] = None, + end_value: Optional[pulumi.Input[float]] = None, + fixed_number: Optional[pulumi.Input[float]] = None, + fixed_string: Optional[pulumi.Input[str]] = None, + grouping_columns: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + length: Optional[pulumi.Input[int]] = None, + library_masking_format_id: Optional[pulumi.Input[str]] = None, + post_processing_function: Optional[pulumi.Input[str]] = None, + random_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + regular_expression: Optional[pulumi.Input[str]] = None, + replace_with: Optional[pulumi.Input[str]] = None, + schema_name: Optional[pulumi.Input[str]] = None, + sql_expression: Optional[pulumi.Input[str]] = None, + start_date: Optional[pulumi.Input[str]] = None, + start_length: Optional[pulumi.Input[int]] = None, + start_position: Optional[pulumi.Input[int]] = None, + start_value: Optional[pulumi.Input[float]] = None, + table_name: Optional[pulumi.Input[str]] = None, + user_defined_function: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if column_name is not None: - pulumi.set(__self__, "column_name", column_name) + _setter("column_name", column_name) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if end_date is not None: - pulumi.set(__self__, "end_date", end_date) + _setter("end_date", end_date) if end_length is not None: - pulumi.set(__self__, "end_length", end_length) + _setter("end_length", end_length) if end_value is not None: - pulumi.set(__self__, "end_value", end_value) + _setter("end_value", end_value) if fixed_number is not None: - pulumi.set(__self__, "fixed_number", fixed_number) + _setter("fixed_number", fixed_number) if fixed_string is not None: - pulumi.set(__self__, "fixed_string", fixed_string) + _setter("fixed_string", fixed_string) if grouping_columns is not None: - pulumi.set(__self__, "grouping_columns", grouping_columns) + _setter("grouping_columns", grouping_columns) if length is not None: - pulumi.set(__self__, "length", length) + _setter("length", length) if library_masking_format_id is not None: - pulumi.set(__self__, "library_masking_format_id", library_masking_format_id) + _setter("library_masking_format_id", library_masking_format_id) if post_processing_function is not None: - pulumi.set(__self__, "post_processing_function", post_processing_function) + _setter("post_processing_function", post_processing_function) if random_lists is not None: - pulumi.set(__self__, "random_lists", random_lists) + _setter("random_lists", random_lists) if regular_expression is not None: - pulumi.set(__self__, "regular_expression", regular_expression) + _setter("regular_expression", regular_expression) if replace_with is not None: - pulumi.set(__self__, "replace_with", replace_with) + _setter("replace_with", replace_with) if schema_name is not None: - pulumi.set(__self__, "schema_name", schema_name) + _setter("schema_name", schema_name) if sql_expression is not None: - pulumi.set(__self__, "sql_expression", sql_expression) + _setter("sql_expression", sql_expression) if start_date is not None: - pulumi.set(__self__, "start_date", start_date) + _setter("start_date", start_date) if start_length is not None: - pulumi.set(__self__, "start_length", start_length) + _setter("start_length", start_length) if start_position is not None: - pulumi.set(__self__, "start_position", start_position) + _setter("start_position", start_position) if start_value is not None: - pulumi.set(__self__, "start_value", start_value) + _setter("start_value", start_value) if table_name is not None: - pulumi.set(__self__, "table_name", table_name) + _setter("table_name", table_name) if user_defined_function is not None: - pulumi.set(__self__, "user_defined_function", user_defined_function) + _setter("user_defined_function", user_defined_function) @property @pulumi.getter @@ -1644,11 +1891,24 @@ def __init__(__self__, *, :param pulumi.Input[str] sensitive_data_model_id: (Updatable) The OCID of the sensitive data model to be associated as the column source with the masking policy. :param pulumi.Input[str] target_id: (Updatable) The OCID of the target database to be associated as the column source with the masking policy. """ - pulumi.set(__self__, "column_source", column_source) + MaskingPolicyColumnSourceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + column_source=column_source, + sensitive_data_model_id=sensitive_data_model_id, + target_id=target_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + column_source: pulumi.Input[str], + sensitive_data_model_id: Optional[pulumi.Input[str]] = None, + target_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("column_source", column_source) if sensitive_data_model_id is not None: - pulumi.set(__self__, "sensitive_data_model_id", sensitive_data_model_id) + _setter("sensitive_data_model_id", sensitive_data_model_id) if target_id is not None: - pulumi.set(__self__, "target_id", target_id) + _setter("target_id", target_id) @property @pulumi.getter(name="columnSource") @@ -1702,11 +1962,28 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_hidden: (Updatable) Indicates if the summary is hidden. Values can either be 'true' or 'false'. :param pulumi.Input[str] operator: (Updatable) Specifies the type of operator that must be applied for example in, eq etc. """ - pulumi.set(__self__, "expressions", expressions) - pulumi.set(__self__, "field_name", field_name) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "is_hidden", is_hidden) - pulumi.set(__self__, "operator", operator) + ReportDefinitionColumnFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + expressions=expressions, + field_name=field_name, + is_enabled=is_enabled, + is_hidden=is_hidden, + operator=operator, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + expressions: pulumi.Input[Sequence[pulumi.Input[str]]], + field_name: pulumi.Input[str], + is_enabled: pulumi.Input[bool], + is_hidden: pulumi.Input[bool], + operator: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("expressions", expressions) + _setter("field_name", field_name) + _setter("is_enabled", is_enabled) + _setter("is_hidden", is_hidden) + _setter("operator", operator) @property @pulumi.getter @@ -1784,12 +2061,29 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_hidden: (Updatable) Indicates if the summary is hidden. Values can either be 'true' or 'false'. :param pulumi.Input[str] data_type: (Updatable) Specifies the data type of the column. """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "display_order", display_order) - pulumi.set(__self__, "field_name", field_name) - pulumi.set(__self__, "is_hidden", is_hidden) + ReportDefinitionColumnInfoArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + display_order=display_order, + field_name=field_name, + is_hidden=is_hidden, + data_type=data_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: pulumi.Input[str], + display_order: pulumi.Input[int], + field_name: pulumi.Input[str], + is_hidden: pulumi.Input[bool], + data_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("display_order", display_order) + _setter("field_name", field_name) + _setter("is_hidden", is_hidden) if data_type is not None: - pulumi.set(__self__, "data_type", data_type) + _setter("data_type", data_type) @property @pulumi.getter(name="displayName") @@ -1863,9 +2157,22 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_ascending: (Updatable) Indicates if the column must be sorted in ascending order. Values can either be 'true' or 'false'. :param pulumi.Input[int] sorting_order: (Updatable) Indicates the order at which column must be sorted. """ - pulumi.set(__self__, "field_name", field_name) - pulumi.set(__self__, "is_ascending", is_ascending) - pulumi.set(__self__, "sorting_order", sorting_order) + ReportDefinitionColumnSortingArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + field_name=field_name, + is_ascending=is_ascending, + sorting_order=sorting_order, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + field_name: pulumi.Input[str], + is_ascending: pulumi.Input[bool], + sorting_order: pulumi.Input[int], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("field_name", field_name) + _setter("is_ascending", is_ascending) + _setter("sorting_order", sorting_order) @property @pulumi.getter(name="fieldName") @@ -1925,16 +2232,35 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "display_order", display_order) - pulumi.set(__self__, "name", name) + ReportDefinitionSummaryArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_order=display_order, + name=name, + count_of=count_of, + group_by_field_name=group_by_field_name, + is_hidden=is_hidden, + scim_filter=scim_filter, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_order: pulumi.Input[int], + name: pulumi.Input[str], + count_of: Optional[pulumi.Input[str]] = None, + group_by_field_name: Optional[pulumi.Input[str]] = None, + is_hidden: Optional[pulumi.Input[bool]] = None, + scim_filter: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_order", display_order) + _setter("name", name) if count_of is not None: - pulumi.set(__self__, "count_of", count_of) + _setter("count_of", count_of) if group_by_field_name is not None: - pulumi.set(__self__, "group_by_field_name", group_by_field_name) + _setter("group_by_field_name", group_by_field_name) if is_hidden is not None: - pulumi.set(__self__, "is_hidden", is_hidden) + _setter("is_hidden", is_hidden) if scim_filter is not None: - pulumi.set(__self__, "scim_filter", scim_filter) + _setter("scim_filter", scim_filter) @property @pulumi.getter(name="displayOrder") @@ -2032,20 +2358,41 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['SecurityAssessmentStatisticPassArgs']]] passes: Statistics showing the number of findings with a particular risk level for each category. :param pulumi.Input[int] targets_count: The total number of targets in this security assessment. """ + SecurityAssessmentStatisticArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + advisories=advisories, + evaluates=evaluates, + high_risks=high_risks, + low_risks=low_risks, + medium_risks=medium_risks, + passes=passes, + targets_count=targets_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + advisories: Optional[pulumi.Input[Sequence[pulumi.Input['SecurityAssessmentStatisticAdvisoryArgs']]]] = None, + evaluates: Optional[pulumi.Input[Sequence[pulumi.Input['SecurityAssessmentStatisticEvaluateArgs']]]] = None, + high_risks: Optional[pulumi.Input[Sequence[pulumi.Input['SecurityAssessmentStatisticHighRiskArgs']]]] = None, + low_risks: Optional[pulumi.Input[Sequence[pulumi.Input['SecurityAssessmentStatisticLowRiskArgs']]]] = None, + medium_risks: Optional[pulumi.Input[Sequence[pulumi.Input['SecurityAssessmentStatisticMediumRiskArgs']]]] = None, + passes: Optional[pulumi.Input[Sequence[pulumi.Input['SecurityAssessmentStatisticPassArgs']]]] = None, + targets_count: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if advisories is not None: - pulumi.set(__self__, "advisories", advisories) + _setter("advisories", advisories) if evaluates is not None: - pulumi.set(__self__, "evaluates", evaluates) + _setter("evaluates", evaluates) if high_risks is not None: - pulumi.set(__self__, "high_risks", high_risks) + _setter("high_risks", high_risks) if low_risks is not None: - pulumi.set(__self__, "low_risks", low_risks) + _setter("low_risks", low_risks) if medium_risks is not None: - pulumi.set(__self__, "medium_risks", medium_risks) + _setter("medium_risks", medium_risks) if passes is not None: - pulumi.set(__self__, "passes", passes) + _setter("passes", passes) if targets_count is not None: - pulumi.set(__self__, "targets_count", targets_count) + _setter("targets_count", targets_count) @property @pulumi.getter @@ -2153,22 +2500,45 @@ def __init__(__self__, *, :param pulumi.Input[int] targets_count: The total number of targets in this security assessment. :param pulumi.Input[int] user_accounts_findings_count: The number of findings in the User Accounts category. """ + SecurityAssessmentStatisticAdvisoryArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + auditing_findings_count=auditing_findings_count, + authorization_control_findings_count=authorization_control_findings_count, + data_encryption_findings_count=data_encryption_findings_count, + db_configuration_findings_count=db_configuration_findings_count, + fine_grained_access_control_findings_count=fine_grained_access_control_findings_count, + privileges_and_roles_findings_count=privileges_and_roles_findings_count, + targets_count=targets_count, + user_accounts_findings_count=user_accounts_findings_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + auditing_findings_count: Optional[pulumi.Input[int]] = None, + authorization_control_findings_count: Optional[pulumi.Input[int]] = None, + data_encryption_findings_count: Optional[pulumi.Input[int]] = None, + db_configuration_findings_count: Optional[pulumi.Input[int]] = None, + fine_grained_access_control_findings_count: Optional[pulumi.Input[int]] = None, + privileges_and_roles_findings_count: Optional[pulumi.Input[int]] = None, + targets_count: Optional[pulumi.Input[int]] = None, + user_accounts_findings_count: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if auditing_findings_count is not None: - pulumi.set(__self__, "auditing_findings_count", auditing_findings_count) + _setter("auditing_findings_count", auditing_findings_count) if authorization_control_findings_count is not None: - pulumi.set(__self__, "authorization_control_findings_count", authorization_control_findings_count) + _setter("authorization_control_findings_count", authorization_control_findings_count) if data_encryption_findings_count is not None: - pulumi.set(__self__, "data_encryption_findings_count", data_encryption_findings_count) + _setter("data_encryption_findings_count", data_encryption_findings_count) if db_configuration_findings_count is not None: - pulumi.set(__self__, "db_configuration_findings_count", db_configuration_findings_count) + _setter("db_configuration_findings_count", db_configuration_findings_count) if fine_grained_access_control_findings_count is not None: - pulumi.set(__self__, "fine_grained_access_control_findings_count", fine_grained_access_control_findings_count) + _setter("fine_grained_access_control_findings_count", fine_grained_access_control_findings_count) if privileges_and_roles_findings_count is not None: - pulumi.set(__self__, "privileges_and_roles_findings_count", privileges_and_roles_findings_count) + _setter("privileges_and_roles_findings_count", privileges_and_roles_findings_count) if targets_count is not None: - pulumi.set(__self__, "targets_count", targets_count) + _setter("targets_count", targets_count) if user_accounts_findings_count is not None: - pulumi.set(__self__, "user_accounts_findings_count", user_accounts_findings_count) + _setter("user_accounts_findings_count", user_accounts_findings_count) @property @pulumi.getter(name="auditingFindingsCount") @@ -2288,22 +2658,45 @@ def __init__(__self__, *, :param pulumi.Input[int] targets_count: The total number of targets in this security assessment. :param pulumi.Input[int] user_accounts_findings_count: The number of findings in the User Accounts category. """ + SecurityAssessmentStatisticEvaluateArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + auditing_findings_count=auditing_findings_count, + authorization_control_findings_count=authorization_control_findings_count, + data_encryption_findings_count=data_encryption_findings_count, + db_configuration_findings_count=db_configuration_findings_count, + fine_grained_access_control_findings_count=fine_grained_access_control_findings_count, + privileges_and_roles_findings_count=privileges_and_roles_findings_count, + targets_count=targets_count, + user_accounts_findings_count=user_accounts_findings_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + auditing_findings_count: Optional[pulumi.Input[int]] = None, + authorization_control_findings_count: Optional[pulumi.Input[int]] = None, + data_encryption_findings_count: Optional[pulumi.Input[int]] = None, + db_configuration_findings_count: Optional[pulumi.Input[int]] = None, + fine_grained_access_control_findings_count: Optional[pulumi.Input[int]] = None, + privileges_and_roles_findings_count: Optional[pulumi.Input[int]] = None, + targets_count: Optional[pulumi.Input[int]] = None, + user_accounts_findings_count: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if auditing_findings_count is not None: - pulumi.set(__self__, "auditing_findings_count", auditing_findings_count) + _setter("auditing_findings_count", auditing_findings_count) if authorization_control_findings_count is not None: - pulumi.set(__self__, "authorization_control_findings_count", authorization_control_findings_count) + _setter("authorization_control_findings_count", authorization_control_findings_count) if data_encryption_findings_count is not None: - pulumi.set(__self__, "data_encryption_findings_count", data_encryption_findings_count) + _setter("data_encryption_findings_count", data_encryption_findings_count) if db_configuration_findings_count is not None: - pulumi.set(__self__, "db_configuration_findings_count", db_configuration_findings_count) + _setter("db_configuration_findings_count", db_configuration_findings_count) if fine_grained_access_control_findings_count is not None: - pulumi.set(__self__, "fine_grained_access_control_findings_count", fine_grained_access_control_findings_count) + _setter("fine_grained_access_control_findings_count", fine_grained_access_control_findings_count) if privileges_and_roles_findings_count is not None: - pulumi.set(__self__, "privileges_and_roles_findings_count", privileges_and_roles_findings_count) + _setter("privileges_and_roles_findings_count", privileges_and_roles_findings_count) if targets_count is not None: - pulumi.set(__self__, "targets_count", targets_count) + _setter("targets_count", targets_count) if user_accounts_findings_count is not None: - pulumi.set(__self__, "user_accounts_findings_count", user_accounts_findings_count) + _setter("user_accounts_findings_count", user_accounts_findings_count) @property @pulumi.getter(name="auditingFindingsCount") @@ -2423,22 +2816,45 @@ def __init__(__self__, *, :param pulumi.Input[int] targets_count: The total number of targets in this security assessment. :param pulumi.Input[int] user_accounts_findings_count: The number of findings in the User Accounts category. """ + SecurityAssessmentStatisticHighRiskArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + auditing_findings_count=auditing_findings_count, + authorization_control_findings_count=authorization_control_findings_count, + data_encryption_findings_count=data_encryption_findings_count, + db_configuration_findings_count=db_configuration_findings_count, + fine_grained_access_control_findings_count=fine_grained_access_control_findings_count, + privileges_and_roles_findings_count=privileges_and_roles_findings_count, + targets_count=targets_count, + user_accounts_findings_count=user_accounts_findings_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + auditing_findings_count: Optional[pulumi.Input[int]] = None, + authorization_control_findings_count: Optional[pulumi.Input[int]] = None, + data_encryption_findings_count: Optional[pulumi.Input[int]] = None, + db_configuration_findings_count: Optional[pulumi.Input[int]] = None, + fine_grained_access_control_findings_count: Optional[pulumi.Input[int]] = None, + privileges_and_roles_findings_count: Optional[pulumi.Input[int]] = None, + targets_count: Optional[pulumi.Input[int]] = None, + user_accounts_findings_count: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if auditing_findings_count is not None: - pulumi.set(__self__, "auditing_findings_count", auditing_findings_count) + _setter("auditing_findings_count", auditing_findings_count) if authorization_control_findings_count is not None: - pulumi.set(__self__, "authorization_control_findings_count", authorization_control_findings_count) + _setter("authorization_control_findings_count", authorization_control_findings_count) if data_encryption_findings_count is not None: - pulumi.set(__self__, "data_encryption_findings_count", data_encryption_findings_count) + _setter("data_encryption_findings_count", data_encryption_findings_count) if db_configuration_findings_count is not None: - pulumi.set(__self__, "db_configuration_findings_count", db_configuration_findings_count) + _setter("db_configuration_findings_count", db_configuration_findings_count) if fine_grained_access_control_findings_count is not None: - pulumi.set(__self__, "fine_grained_access_control_findings_count", fine_grained_access_control_findings_count) + _setter("fine_grained_access_control_findings_count", fine_grained_access_control_findings_count) if privileges_and_roles_findings_count is not None: - pulumi.set(__self__, "privileges_and_roles_findings_count", privileges_and_roles_findings_count) + _setter("privileges_and_roles_findings_count", privileges_and_roles_findings_count) if targets_count is not None: - pulumi.set(__self__, "targets_count", targets_count) + _setter("targets_count", targets_count) if user_accounts_findings_count is not None: - pulumi.set(__self__, "user_accounts_findings_count", user_accounts_findings_count) + _setter("user_accounts_findings_count", user_accounts_findings_count) @property @pulumi.getter(name="auditingFindingsCount") @@ -2558,22 +2974,45 @@ def __init__(__self__, *, :param pulumi.Input[int] targets_count: The total number of targets in this security assessment. :param pulumi.Input[int] user_accounts_findings_count: The number of findings in the User Accounts category. """ + SecurityAssessmentStatisticLowRiskArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + auditing_findings_count=auditing_findings_count, + authorization_control_findings_count=authorization_control_findings_count, + data_encryption_findings_count=data_encryption_findings_count, + db_configuration_findings_count=db_configuration_findings_count, + fine_grained_access_control_findings_count=fine_grained_access_control_findings_count, + privileges_and_roles_findings_count=privileges_and_roles_findings_count, + targets_count=targets_count, + user_accounts_findings_count=user_accounts_findings_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + auditing_findings_count: Optional[pulumi.Input[int]] = None, + authorization_control_findings_count: Optional[pulumi.Input[int]] = None, + data_encryption_findings_count: Optional[pulumi.Input[int]] = None, + db_configuration_findings_count: Optional[pulumi.Input[int]] = None, + fine_grained_access_control_findings_count: Optional[pulumi.Input[int]] = None, + privileges_and_roles_findings_count: Optional[pulumi.Input[int]] = None, + targets_count: Optional[pulumi.Input[int]] = None, + user_accounts_findings_count: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if auditing_findings_count is not None: - pulumi.set(__self__, "auditing_findings_count", auditing_findings_count) + _setter("auditing_findings_count", auditing_findings_count) if authorization_control_findings_count is not None: - pulumi.set(__self__, "authorization_control_findings_count", authorization_control_findings_count) + _setter("authorization_control_findings_count", authorization_control_findings_count) if data_encryption_findings_count is not None: - pulumi.set(__self__, "data_encryption_findings_count", data_encryption_findings_count) + _setter("data_encryption_findings_count", data_encryption_findings_count) if db_configuration_findings_count is not None: - pulumi.set(__self__, "db_configuration_findings_count", db_configuration_findings_count) + _setter("db_configuration_findings_count", db_configuration_findings_count) if fine_grained_access_control_findings_count is not None: - pulumi.set(__self__, "fine_grained_access_control_findings_count", fine_grained_access_control_findings_count) + _setter("fine_grained_access_control_findings_count", fine_grained_access_control_findings_count) if privileges_and_roles_findings_count is not None: - pulumi.set(__self__, "privileges_and_roles_findings_count", privileges_and_roles_findings_count) + _setter("privileges_and_roles_findings_count", privileges_and_roles_findings_count) if targets_count is not None: - pulumi.set(__self__, "targets_count", targets_count) + _setter("targets_count", targets_count) if user_accounts_findings_count is not None: - pulumi.set(__self__, "user_accounts_findings_count", user_accounts_findings_count) + _setter("user_accounts_findings_count", user_accounts_findings_count) @property @pulumi.getter(name="auditingFindingsCount") @@ -2693,22 +3132,45 @@ def __init__(__self__, *, :param pulumi.Input[int] targets_count: The total number of targets in this security assessment. :param pulumi.Input[int] user_accounts_findings_count: The number of findings in the User Accounts category. """ + SecurityAssessmentStatisticMediumRiskArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + auditing_findings_count=auditing_findings_count, + authorization_control_findings_count=authorization_control_findings_count, + data_encryption_findings_count=data_encryption_findings_count, + db_configuration_findings_count=db_configuration_findings_count, + fine_grained_access_control_findings_count=fine_grained_access_control_findings_count, + privileges_and_roles_findings_count=privileges_and_roles_findings_count, + targets_count=targets_count, + user_accounts_findings_count=user_accounts_findings_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + auditing_findings_count: Optional[pulumi.Input[int]] = None, + authorization_control_findings_count: Optional[pulumi.Input[int]] = None, + data_encryption_findings_count: Optional[pulumi.Input[int]] = None, + db_configuration_findings_count: Optional[pulumi.Input[int]] = None, + fine_grained_access_control_findings_count: Optional[pulumi.Input[int]] = None, + privileges_and_roles_findings_count: Optional[pulumi.Input[int]] = None, + targets_count: Optional[pulumi.Input[int]] = None, + user_accounts_findings_count: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if auditing_findings_count is not None: - pulumi.set(__self__, "auditing_findings_count", auditing_findings_count) + _setter("auditing_findings_count", auditing_findings_count) if authorization_control_findings_count is not None: - pulumi.set(__self__, "authorization_control_findings_count", authorization_control_findings_count) + _setter("authorization_control_findings_count", authorization_control_findings_count) if data_encryption_findings_count is not None: - pulumi.set(__self__, "data_encryption_findings_count", data_encryption_findings_count) + _setter("data_encryption_findings_count", data_encryption_findings_count) if db_configuration_findings_count is not None: - pulumi.set(__self__, "db_configuration_findings_count", db_configuration_findings_count) + _setter("db_configuration_findings_count", db_configuration_findings_count) if fine_grained_access_control_findings_count is not None: - pulumi.set(__self__, "fine_grained_access_control_findings_count", fine_grained_access_control_findings_count) + _setter("fine_grained_access_control_findings_count", fine_grained_access_control_findings_count) if privileges_and_roles_findings_count is not None: - pulumi.set(__self__, "privileges_and_roles_findings_count", privileges_and_roles_findings_count) + _setter("privileges_and_roles_findings_count", privileges_and_roles_findings_count) if targets_count is not None: - pulumi.set(__self__, "targets_count", targets_count) + _setter("targets_count", targets_count) if user_accounts_findings_count is not None: - pulumi.set(__self__, "user_accounts_findings_count", user_accounts_findings_count) + _setter("user_accounts_findings_count", user_accounts_findings_count) @property @pulumi.getter(name="auditingFindingsCount") @@ -2828,22 +3290,45 @@ def __init__(__self__, *, :param pulumi.Input[int] targets_count: The total number of targets in this security assessment. :param pulumi.Input[int] user_accounts_findings_count: The number of findings in the User Accounts category. """ + SecurityAssessmentStatisticPassArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + auditing_findings_count=auditing_findings_count, + authorization_control_findings_count=authorization_control_findings_count, + data_encryption_findings_count=data_encryption_findings_count, + db_configuration_findings_count=db_configuration_findings_count, + fine_grained_access_control_findings_count=fine_grained_access_control_findings_count, + privileges_and_roles_findings_count=privileges_and_roles_findings_count, + targets_count=targets_count, + user_accounts_findings_count=user_accounts_findings_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + auditing_findings_count: Optional[pulumi.Input[int]] = None, + authorization_control_findings_count: Optional[pulumi.Input[int]] = None, + data_encryption_findings_count: Optional[pulumi.Input[int]] = None, + db_configuration_findings_count: Optional[pulumi.Input[int]] = None, + fine_grained_access_control_findings_count: Optional[pulumi.Input[int]] = None, + privileges_and_roles_findings_count: Optional[pulumi.Input[int]] = None, + targets_count: Optional[pulumi.Input[int]] = None, + user_accounts_findings_count: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if auditing_findings_count is not None: - pulumi.set(__self__, "auditing_findings_count", auditing_findings_count) + _setter("auditing_findings_count", auditing_findings_count) if authorization_control_findings_count is not None: - pulumi.set(__self__, "authorization_control_findings_count", authorization_control_findings_count) + _setter("authorization_control_findings_count", authorization_control_findings_count) if data_encryption_findings_count is not None: - pulumi.set(__self__, "data_encryption_findings_count", data_encryption_findings_count) + _setter("data_encryption_findings_count", data_encryption_findings_count) if db_configuration_findings_count is not None: - pulumi.set(__self__, "db_configuration_findings_count", db_configuration_findings_count) + _setter("db_configuration_findings_count", db_configuration_findings_count) if fine_grained_access_control_findings_count is not None: - pulumi.set(__self__, "fine_grained_access_control_findings_count", fine_grained_access_control_findings_count) + _setter("fine_grained_access_control_findings_count", fine_grained_access_control_findings_count) if privileges_and_roles_findings_count is not None: - pulumi.set(__self__, "privileges_and_roles_findings_count", privileges_and_roles_findings_count) + _setter("privileges_and_roles_findings_count", privileges_and_roles_findings_count) if targets_count is not None: - pulumi.set(__self__, "targets_count", targets_count) + _setter("targets_count", targets_count) if user_accounts_findings_count is not None: - pulumi.set(__self__, "user_accounts_findings_count", user_accounts_findings_count) + _setter("user_accounts_findings_count", user_accounts_findings_count) @property @pulumi.getter(name="auditingFindingsCount") @@ -2955,11 +3440,24 @@ def __init__(__self__, *, :param pulumi.Input[str] datasafe_private_endpoint_id: (Updatable) The OCID of the Data Safe private endpoint. :param pulumi.Input[str] on_prem_connector_id: (Updatable) The OCID of the on-premises connector. """ - pulumi.set(__self__, "connection_type", connection_type) + TargetDatabaseConnectionOptionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + connection_type=connection_type, + datasafe_private_endpoint_id=datasafe_private_endpoint_id, + on_prem_connector_id=on_prem_connector_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + connection_type: pulumi.Input[str], + datasafe_private_endpoint_id: Optional[pulumi.Input[str]] = None, + on_prem_connector_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("connection_type", connection_type) if datasafe_private_endpoint_id is not None: - pulumi.set(__self__, "datasafe_private_endpoint_id", datasafe_private_endpoint_id) + _setter("datasafe_private_endpoint_id", datasafe_private_endpoint_id) if on_prem_connector_id is not None: - pulumi.set(__self__, "on_prem_connector_id", on_prem_connector_id) + _setter("on_prem_connector_id", on_prem_connector_id) @property @pulumi.getter(name="connectionType") @@ -3009,8 +3507,19 @@ def __init__(__self__, *, :param pulumi.Input[str] password: (Updatable) The password of the database user. :param pulumi.Input[str] user_name: (Updatable) The database user name. """ - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "user_name", user_name) + TargetDatabaseCredentialsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + password=password, + user_name=user_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + password: pulumi.Input[str], + user_name: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("password", password) + _setter("user_name", user_name) @property @pulumi.getter @@ -3060,22 +3569,47 @@ def __init__(__self__, *, :param pulumi.Input[str] service_name: (Updatable) The service name of the database registered as target database. :param pulumi.Input[str] vm_cluster_id: (Updatable) The OCID of the VM cluster in which the database is running. """ - pulumi.set(__self__, "database_type", database_type) - pulumi.set(__self__, "infrastructure_type", infrastructure_type) + TargetDatabaseDatabaseDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + database_type=database_type, + infrastructure_type=infrastructure_type, + autonomous_database_id=autonomous_database_id, + db_system_id=db_system_id, + instance_id=instance_id, + ip_addresses=ip_addresses, + listener_port=listener_port, + service_name=service_name, + vm_cluster_id=vm_cluster_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + database_type: pulumi.Input[str], + infrastructure_type: pulumi.Input[str], + autonomous_database_id: Optional[pulumi.Input[str]] = None, + db_system_id: Optional[pulumi.Input[str]] = None, + instance_id: Optional[pulumi.Input[str]] = None, + ip_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + listener_port: Optional[pulumi.Input[int]] = None, + service_name: Optional[pulumi.Input[str]] = None, + vm_cluster_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("database_type", database_type) + _setter("infrastructure_type", infrastructure_type) if autonomous_database_id is not None: - pulumi.set(__self__, "autonomous_database_id", autonomous_database_id) + _setter("autonomous_database_id", autonomous_database_id) if db_system_id is not None: - pulumi.set(__self__, "db_system_id", db_system_id) + _setter("db_system_id", db_system_id) if instance_id is not None: - pulumi.set(__self__, "instance_id", instance_id) + _setter("instance_id", instance_id) if ip_addresses is not None: - pulumi.set(__self__, "ip_addresses", ip_addresses) + _setter("ip_addresses", ip_addresses) if listener_port is not None: - pulumi.set(__self__, "listener_port", listener_port) + _setter("listener_port", listener_port) if service_name is not None: - pulumi.set(__self__, "service_name", service_name) + _setter("service_name", service_name) if vm_cluster_id is not None: - pulumi.set(__self__, "vm_cluster_id", vm_cluster_id) + _setter("vm_cluster_id", vm_cluster_id) @property @pulumi.getter(name="databaseType") @@ -3205,15 +3739,32 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "status", status) + TargetDatabaseTlsConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + status=status, + certificate_store_type=certificate_store_type, + key_store_content=key_store_content, + store_password=store_password, + trust_store_content=trust_store_content, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + status: pulumi.Input[str], + certificate_store_type: Optional[pulumi.Input[str]] = None, + key_store_content: Optional[pulumi.Input[str]] = None, + store_password: Optional[pulumi.Input[str]] = None, + trust_store_content: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("status", status) if certificate_store_type is not None: - pulumi.set(__self__, "certificate_store_type", certificate_store_type) + _setter("certificate_store_type", certificate_store_type) if key_store_content is not None: - pulumi.set(__self__, "key_store_content", key_store_content) + _setter("key_store_content", key_store_content) if store_password is not None: - pulumi.set(__self__, "store_password", store_password) + _setter("store_password", store_password) if trust_store_content is not None: - pulumi.set(__self__, "trust_store_content", trust_store_content) + _setter("trust_store_content", trust_store_content) @property @pulumi.getter @@ -3293,12 +3844,25 @@ def __init__(__self__, *, ** 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 """ + UserAssessmentIgnoredTargetArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + lifecycle_state=lifecycle_state, + target_id=target_id, + user_assessment_id=user_assessment_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + lifecycle_state: Optional[pulumi.Input[str]] = None, + target_id: Optional[pulumi.Input[str]] = None, + user_assessment_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if lifecycle_state is not None: - pulumi.set(__self__, "lifecycle_state", lifecycle_state) + _setter("lifecycle_state", lifecycle_state) if target_id is not None: - pulumi.set(__self__, "target_id", target_id) + _setter("target_id", target_id) if user_assessment_id is not None: - pulumi.set(__self__, "user_assessment_id", user_assessment_id) + _setter("user_assessment_id", user_assessment_id) @property @pulumi.getter(name="lifecycleState") @@ -3341,10 +3905,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAlertPoliciesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3380,10 +3957,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAlertPolicyRulesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3419,10 +4009,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAlertsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3458,10 +4061,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAuditArchiveRetrievalsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3497,10 +4113,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAuditEventsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3536,10 +4165,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAuditPoliciesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3575,10 +4217,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAuditProfileAvailableAuditVolumesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3614,10 +4269,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAuditProfileCollectedAuditVolumesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3653,10 +4321,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAuditProfilesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3692,10 +4373,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAuditTrailsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3731,10 +4425,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDataSafePrivateEndpointsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3770,10 +4477,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDiscoveryAnalyticsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3809,10 +4529,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDiscoveryJobsResultsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3848,10 +4581,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetLibraryMaskingFormatsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3887,10 +4633,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetListUserGrantsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3926,10 +4685,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetMaskingAnalyticsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3965,10 +4737,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetMaskingPoliciesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4004,10 +4789,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetMaskingPoliciesMaskingColumnsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4043,10 +4841,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetMaskingPolicyMaskingObjectsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4082,10 +4893,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetMaskingPolicyMaskingSchemasFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4121,10 +4945,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetMaskingReportMaskedColumnsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4160,10 +4997,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetMaskingReportsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4199,10 +5049,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetOnpremConnectorsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4241,10 +5104,23 @@ def __init__(__self__, *, """ :param str name: Name of the report summary. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetReportDefinitionsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4283,10 +5159,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetReportsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4322,10 +5211,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSdmMaskingPolicyDifferenceDifferenceColumnsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4361,10 +5263,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSdmMaskingPolicyDifferencesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4400,10 +5315,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSecurityAssessmentFindingFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4439,10 +5367,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSecurityAssessmentFindingsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4478,10 +5419,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSecurityAssessmentsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4517,10 +5471,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSensitiveDataModelSensitiveObjectsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4556,10 +5523,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSensitiveDataModelSensitiveSchemasFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4595,10 +5575,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSensitiveDataModelsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4634,10 +5627,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSensitiveDataModelsSensitiveColumnsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4673,10 +5679,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSensitiveTypesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4712,10 +5731,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetTargetAlertPolicyAssociationsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4751,10 +5783,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetTargetDatabaseRoleFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4790,10 +5835,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetTargetDatabaseRolesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4829,10 +5887,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetTargetDatabasesColumnsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4868,10 +5939,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetTargetDatabasesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4907,10 +5991,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetTargetDatabasesSchemasFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4946,10 +6043,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetTargetDatabasesTablesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4985,10 +6095,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetUserAssessmentProfileAnalyticsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5024,10 +6147,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetUserAssessmentProfilesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5063,10 +6199,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetUserAssessmentUserAnalyticsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5102,10 +6251,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetUserAssessmentUsersFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5141,10 +6303,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetUserAssessmentsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/datasafe/add_sdm_columns.py b/sdk/python/pulumi_oci/datasafe/add_sdm_columns.py index 460288a828..cd659b2fff 100644 --- a/sdk/python/pulumi_oci/datasafe/add_sdm_columns.py +++ b/sdk/python/pulumi_oci/datasafe/add_sdm_columns.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['AddSdmColumnsArgs', 'AddSdmColumns'] @@ -18,7 +18,16 @@ def __init__(__self__, *, """ The set of arguments for constructing a AddSdmColumns resource. """ - pulumi.set(__self__, "masking_policy_id", masking_policy_id) + AddSdmColumnsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + masking_policy_id=masking_policy_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + masking_policy_id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("masking_policy_id", masking_policy_id) @property @pulumi.getter(name="maskingPolicyId") @@ -37,8 +46,17 @@ def __init__(__self__, *, """ Input properties used for looking up and filtering AddSdmColumns resources. """ + _AddSdmColumnsState._configure( + lambda key, value: pulumi.set(__self__, key, value), + masking_policy_id=masking_policy_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + masking_policy_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if masking_policy_id is not None: - pulumi.set(__self__, "masking_policy_id", masking_policy_id) + _setter("masking_policy_id", masking_policy_id) @property @pulumi.getter(name="maskingPolicyId") @@ -80,6 +98,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + AddSdmColumnsArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/datasafe/alert.py b/sdk/python/pulumi_oci/datasafe/alert.py index e7a8e23c8e..baabdc0319 100644 --- a/sdk/python/pulumi_oci/datasafe/alert.py +++ b/sdk/python/pulumi_oci/datasafe/alert.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['AlertArgs', 'Alert'] @@ -33,17 +33,36 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "alert_id", alert_id) + AlertArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + alert_id=alert_id, + comment=comment, + compartment_id=compartment_id, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + status=status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + alert_id: pulumi.Input[str], + comment: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + status: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("alert_id", alert_id) if comment is not None: - pulumi.set(__self__, "comment", comment) + _setter("comment", comment) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) @property @pulumi.getter(name="alertId") @@ -176,50 +195,101 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: Creation date and time of the alert, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). :param pulumi.Input[str] time_updated: Last date and time the alert was updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). """ + _AlertState._configure( + lambda key, value: pulumi.set(__self__, key, value), + alert_id=alert_id, + alert_type=alert_type, + comment=comment, + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + feature_details=feature_details, + freeform_tags=freeform_tags, + operation=operation, + operation_status=operation_status, + operation_time=operation_time, + policy_id=policy_id, + resource_name=resource_name, + severity=severity, + state=state, + status=status, + system_tags=system_tags, + target_ids=target_ids, + target_names=target_names, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + alert_id: Optional[pulumi.Input[str]] = None, + alert_type: Optional[pulumi.Input[str]] = None, + comment: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + feature_details: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + operation: Optional[pulumi.Input[str]] = None, + operation_status: Optional[pulumi.Input[str]] = None, + operation_time: Optional[pulumi.Input[str]] = None, + policy_id: Optional[pulumi.Input[str]] = None, + resource_name: Optional[pulumi.Input[str]] = None, + severity: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + target_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + target_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if alert_id is not None: - pulumi.set(__self__, "alert_id", alert_id) + _setter("alert_id", alert_id) if alert_type is not None: - pulumi.set(__self__, "alert_type", alert_type) + _setter("alert_type", alert_type) if comment is not None: - pulumi.set(__self__, "comment", comment) + _setter("comment", comment) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if feature_details is not None: - pulumi.set(__self__, "feature_details", feature_details) + _setter("feature_details", feature_details) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if operation is not None: - pulumi.set(__self__, "operation", operation) + _setter("operation", operation) if operation_status is not None: - pulumi.set(__self__, "operation_status", operation_status) + _setter("operation_status", operation_status) if operation_time is not None: - pulumi.set(__self__, "operation_time", operation_time) + _setter("operation_time", operation_time) if policy_id is not None: - pulumi.set(__self__, "policy_id", policy_id) + _setter("policy_id", policy_id) if resource_name is not None: - pulumi.set(__self__, "resource_name", resource_name) + _setter("resource_name", resource_name) if severity is not None: - pulumi.set(__self__, "severity", severity) + _setter("severity", severity) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if target_ids is not None: - pulumi.set(__self__, "target_ids", target_ids) + _setter("target_ids", target_ids) if target_names is not None: - pulumi.set(__self__, "target_names", target_names) + _setter("target_names", target_names) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="alertId") @@ -557,6 +627,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + AlertArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/datasafe/audit_archive_retrieval.py b/sdk/python/pulumi_oci/datasafe/audit_archive_retrieval.py index 3adb6c8589..d70be6f920 100644 --- a/sdk/python/pulumi_oci/datasafe/audit_archive_retrieval.py +++ b/sdk/python/pulumi_oci/datasafe/audit_archive_retrieval.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['AuditArchiveRetrievalArgs', 'AuditArchiveRetrieval'] @@ -37,18 +37,41 @@ def __init__(__self__, *, :param pulumi.Input[str] display_name: (Updatable) The display name of the archive retrieval. The name does not have to be unique, and is changeable. :param pulumi.Input[Mapping[str, Any]] freeform_tags: (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Department": "Finance"}` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "end_date", end_date) - pulumi.set(__self__, "start_date", start_date) - pulumi.set(__self__, "target_id", target_id) + AuditArchiveRetrievalArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + end_date=end_date, + start_date=start_date, + target_id=target_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + end_date: pulumi.Input[str], + start_date: pulumi.Input[str], + target_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("end_date", end_date) + _setter("start_date", start_date) + _setter("target_id", target_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="compartmentId") @@ -193,38 +216,77 @@ def __init__(__self__, *, :param pulumi.Input[str] time_of_expiry: The date time when retrieved archive data will be deleted from Data Safe and unloaded back into archival. :param pulumi.Input[str] time_requested: The date time when archive retrieval was requested, in the format defined by RFC3339. """ + _AuditArchiveRetrievalState._configure( + lambda key, value: pulumi.set(__self__, key, value), + audit_event_count=audit_event_count, + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + end_date=end_date, + error_info=error_info, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + start_date=start_date, + state=state, + system_tags=system_tags, + target_id=target_id, + time_completed=time_completed, + time_of_expiry=time_of_expiry, + time_requested=time_requested, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + audit_event_count: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + end_date: Optional[pulumi.Input[str]] = None, + error_info: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + start_date: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + target_id: Optional[pulumi.Input[str]] = None, + time_completed: Optional[pulumi.Input[str]] = None, + time_of_expiry: Optional[pulumi.Input[str]] = None, + time_requested: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if audit_event_count is not None: - pulumi.set(__self__, "audit_event_count", audit_event_count) + _setter("audit_event_count", audit_event_count) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if end_date is not None: - pulumi.set(__self__, "end_date", end_date) + _setter("end_date", end_date) if error_info is not None: - pulumi.set(__self__, "error_info", error_info) + _setter("error_info", error_info) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if start_date is not None: - pulumi.set(__self__, "start_date", start_date) + _setter("start_date", start_date) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if target_id is not None: - pulumi.set(__self__, "target_id", target_id) + _setter("target_id", target_id) if time_completed is not None: - pulumi.set(__self__, "time_completed", time_completed) + _setter("time_completed", time_completed) if time_of_expiry is not None: - pulumi.set(__self__, "time_of_expiry", time_of_expiry) + _setter("time_of_expiry", time_of_expiry) if time_requested is not None: - pulumi.set(__self__, "time_requested", time_requested) + _setter("time_requested", time_requested) @property @pulumi.getter(name="auditEventCount") @@ -540,6 +602,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + AuditArchiveRetrievalArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/datasafe/audit_policy.py b/sdk/python/pulumi_oci/datasafe/audit_policy.py index 85335ac827..7ccbab7824 100644 --- a/sdk/python/pulumi_oci/datasafe/audit_policy.py +++ b/sdk/python/pulumi_oci/datasafe/audit_policy.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -39,21 +39,44 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "audit_policy_id", audit_policy_id) + AuditPolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + audit_policy_id=audit_policy_id, + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + provision_trigger=provision_trigger, + retrieve_from_target_trigger=retrieve_from_target_trigger, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + audit_policy_id: pulumi.Input[str], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + provision_trigger: Optional[pulumi.Input[int]] = None, + retrieve_from_target_trigger: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("audit_policy_id", audit_policy_id) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if provision_trigger is not None: - pulumi.set(__self__, "provision_trigger", provision_trigger) + _setter("provision_trigger", provision_trigger) if retrieve_from_target_trigger is not None: - pulumi.set(__self__, "retrieve_from_target_trigger", retrieve_from_target_trigger) + _setter("retrieve_from_target_trigger", retrieve_from_target_trigger) @property @pulumi.getter(name="auditPolicyId") @@ -204,44 +227,89 @@ def __init__(__self__, *, :param pulumi.Input[str] time_last_retrieved: The time when the audit policies was last retrieved from this target, in the format defined by RFC3339. :param pulumi.Input[str] time_updated: The last date and time the audit policy was updated, in the format defined by RFC3339. """ + _AuditPolicyState._configure( + lambda key, value: pulumi.set(__self__, key, value), + audit_conditions=audit_conditions, + audit_policy_id=audit_policy_id, + audit_specifications=audit_specifications, + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + is_data_safe_service_account_excluded=is_data_safe_service_account_excluded, + lifecycle_details=lifecycle_details, + provision_trigger=provision_trigger, + retrieve_from_target_trigger=retrieve_from_target_trigger, + state=state, + system_tags=system_tags, + target_id=target_id, + time_created=time_created, + time_last_provisioned=time_last_provisioned, + time_last_retrieved=time_last_retrieved, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + audit_conditions: Optional[pulumi.Input[Sequence[pulumi.Input['AuditPolicyAuditConditionArgs']]]] = None, + audit_policy_id: Optional[pulumi.Input[str]] = None, + audit_specifications: Optional[pulumi.Input[Sequence[pulumi.Input['AuditPolicyAuditSpecificationArgs']]]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_data_safe_service_account_excluded: Optional[pulumi.Input[bool]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + provision_trigger: Optional[pulumi.Input[int]] = None, + retrieve_from_target_trigger: Optional[pulumi.Input[int]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + target_id: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_last_provisioned: Optional[pulumi.Input[str]] = None, + time_last_retrieved: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if audit_conditions is not None: - pulumi.set(__self__, "audit_conditions", audit_conditions) + _setter("audit_conditions", audit_conditions) if audit_policy_id is not None: - pulumi.set(__self__, "audit_policy_id", audit_policy_id) + _setter("audit_policy_id", audit_policy_id) if audit_specifications is not None: - pulumi.set(__self__, "audit_specifications", audit_specifications) + _setter("audit_specifications", audit_specifications) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_data_safe_service_account_excluded is not None: - pulumi.set(__self__, "is_data_safe_service_account_excluded", is_data_safe_service_account_excluded) + _setter("is_data_safe_service_account_excluded", is_data_safe_service_account_excluded) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if provision_trigger is not None: - pulumi.set(__self__, "provision_trigger", provision_trigger) + _setter("provision_trigger", provision_trigger) if retrieve_from_target_trigger is not None: - pulumi.set(__self__, "retrieve_from_target_trigger", retrieve_from_target_trigger) + _setter("retrieve_from_target_trigger", retrieve_from_target_trigger) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if target_id is not None: - pulumi.set(__self__, "target_id", target_id) + _setter("target_id", target_id) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_last_provisioned is not None: - pulumi.set(__self__, "time_last_provisioned", time_last_provisioned) + _setter("time_last_provisioned", time_last_provisioned) if time_last_retrieved is not None: - pulumi.set(__self__, "time_last_retrieved", time_last_retrieved) + _setter("time_last_retrieved", time_last_retrieved) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="auditConditions") @@ -547,6 +615,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + AuditPolicyArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/datasafe/audit_profile.py b/sdk/python/pulumi_oci/datasafe/audit_profile.py index 3b98e12add..3afbc4ed1e 100644 --- a/sdk/python/pulumi_oci/datasafe/audit_profile.py +++ b/sdk/python/pulumi_oci/datasafe/audit_profile.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -39,21 +39,44 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] freeform_tags: (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Department": "Finance"}` :param pulumi.Input[bool] is_paid_usage_enabled: (Updatable) Indicates if you want to continue collecting audit records beyond the free limit of one million audit records per month per target database, potentially incurring additional charges. The default value is inherited from the global settings. You can change at the global level or at the target level. """ - pulumi.set(__self__, "audit_profile_id", audit_profile_id) + AuditProfileArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + audit_profile_id=audit_profile_id, + change_retention_trigger=change_retention_trigger, + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + is_paid_usage_enabled=is_paid_usage_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + audit_profile_id: pulumi.Input[str], + change_retention_trigger: Optional[pulumi.Input[int]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_paid_usage_enabled: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("audit_profile_id", audit_profile_id) if change_retention_trigger is not None: - pulumi.set(__self__, "change_retention_trigger", change_retention_trigger) + _setter("change_retention_trigger", change_retention_trigger) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_paid_usage_enabled is not None: - pulumi.set(__self__, "is_paid_usage_enabled", is_paid_usage_enabled) + _setter("is_paid_usage_enabled", is_paid_usage_enabled) @property @pulumi.getter(name="auditProfileId") @@ -204,44 +227,89 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the audit profile was created, in the format defined by RFC3339. :param pulumi.Input[str] time_updated: The date and time the audit profile was updated, in the format defined by RFC3339. """ + _AuditProfileState._configure( + lambda key, value: pulumi.set(__self__, key, value), + audit_collected_volume=audit_collected_volume, + audit_profile_id=audit_profile_id, + audit_trails=audit_trails, + change_retention_trigger=change_retention_trigger, + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + is_override_global_retention_setting=is_override_global_retention_setting, + is_paid_usage_enabled=is_paid_usage_enabled, + lifecycle_details=lifecycle_details, + offline_months=offline_months, + online_months=online_months, + state=state, + system_tags=system_tags, + target_id=target_id, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + audit_collected_volume: Optional[pulumi.Input[str]] = None, + audit_profile_id: Optional[pulumi.Input[str]] = None, + audit_trails: Optional[pulumi.Input[Sequence[pulumi.Input['AuditProfileAuditTrailArgs']]]] = None, + change_retention_trigger: Optional[pulumi.Input[int]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_override_global_retention_setting: Optional[pulumi.Input[bool]] = None, + is_paid_usage_enabled: Optional[pulumi.Input[bool]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + offline_months: Optional[pulumi.Input[int]] = None, + online_months: Optional[pulumi.Input[int]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + target_id: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if audit_collected_volume is not None: - pulumi.set(__self__, "audit_collected_volume", audit_collected_volume) + _setter("audit_collected_volume", audit_collected_volume) if audit_profile_id is not None: - pulumi.set(__self__, "audit_profile_id", audit_profile_id) + _setter("audit_profile_id", audit_profile_id) if audit_trails is not None: - pulumi.set(__self__, "audit_trails", audit_trails) + _setter("audit_trails", audit_trails) if change_retention_trigger is not None: - pulumi.set(__self__, "change_retention_trigger", change_retention_trigger) + _setter("change_retention_trigger", change_retention_trigger) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_override_global_retention_setting is not None: - pulumi.set(__self__, "is_override_global_retention_setting", is_override_global_retention_setting) + _setter("is_override_global_retention_setting", is_override_global_retention_setting) if is_paid_usage_enabled is not None: - pulumi.set(__self__, "is_paid_usage_enabled", is_paid_usage_enabled) + _setter("is_paid_usage_enabled", is_paid_usage_enabled) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if offline_months is not None: - pulumi.set(__self__, "offline_months", offline_months) + _setter("offline_months", offline_months) if online_months is not None: - pulumi.set(__self__, "online_months", online_months) + _setter("online_months", online_months) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if target_id is not None: - pulumi.set(__self__, "target_id", target_id) + _setter("target_id", target_id) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="auditCollectedVolume") @@ -547,6 +615,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + AuditProfileArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/datasafe/audit_trail.py b/sdk/python/pulumi_oci/datasafe/audit_trail.py index 95a8b1d444..d7a45d5e46 100644 --- a/sdk/python/pulumi_oci/datasafe/audit_trail.py +++ b/sdk/python/pulumi_oci/datasafe/audit_trail.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['AuditTrailArgs', 'AuditTrail'] @@ -37,21 +37,44 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] state: (Updatable) The target state for the Audit Trail. Could be set to `ACTIVE` or `INACTIVE`. """ - pulumi.set(__self__, "audit_trail_id", audit_trail_id) + AuditTrailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + audit_trail_id=audit_trail_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + is_auto_purge_enabled=is_auto_purge_enabled, + resume_trigger=resume_trigger, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + audit_trail_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_auto_purge_enabled: Optional[pulumi.Input[bool]] = None, + resume_trigger: Optional[pulumi.Input[int]] = None, + state: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("audit_trail_id", audit_trail_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_auto_purge_enabled is not None: - pulumi.set(__self__, "is_auto_purge_enabled", is_auto_purge_enabled) + _setter("is_auto_purge_enabled", is_auto_purge_enabled) if resume_trigger is not None: - pulumi.set(__self__, "resume_trigger", resume_trigger) + _setter("resume_trigger", resume_trigger) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) @property @pulumi.getter(name="auditTrailId") @@ -204,46 +227,93 @@ def __init__(__self__, *, :param pulumi.Input[str] trail_location: An audit trail location represents the source of audit records that provides documentary evidence of the sequence of activities in the target database. :param pulumi.Input[str] work_request_id: The OCID of the workrequest for audit trail which collects audit records. """ + _AuditTrailState._configure( + lambda key, value: pulumi.set(__self__, key, value), + audit_collection_start_time=audit_collection_start_time, + audit_profile_id=audit_profile_id, + audit_trail_id=audit_trail_id, + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + is_auto_purge_enabled=is_auto_purge_enabled, + lifecycle_details=lifecycle_details, + resume_trigger=resume_trigger, + state=state, + status=status, + system_tags=system_tags, + target_id=target_id, + time_created=time_created, + time_last_collected=time_last_collected, + time_updated=time_updated, + trail_location=trail_location, + work_request_id=work_request_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + audit_collection_start_time: Optional[pulumi.Input[str]] = None, + audit_profile_id: Optional[pulumi.Input[str]] = None, + audit_trail_id: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_auto_purge_enabled: Optional[pulumi.Input[bool]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + resume_trigger: Optional[pulumi.Input[int]] = None, + state: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + target_id: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_last_collected: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + trail_location: Optional[pulumi.Input[str]] = None, + work_request_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if audit_collection_start_time is not None: - pulumi.set(__self__, "audit_collection_start_time", audit_collection_start_time) + _setter("audit_collection_start_time", audit_collection_start_time) if audit_profile_id is not None: - pulumi.set(__self__, "audit_profile_id", audit_profile_id) + _setter("audit_profile_id", audit_profile_id) if audit_trail_id is not None: - pulumi.set(__self__, "audit_trail_id", audit_trail_id) + _setter("audit_trail_id", audit_trail_id) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_auto_purge_enabled is not None: - pulumi.set(__self__, "is_auto_purge_enabled", is_auto_purge_enabled) + _setter("is_auto_purge_enabled", is_auto_purge_enabled) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if resume_trigger is not None: - pulumi.set(__self__, "resume_trigger", resume_trigger) + _setter("resume_trigger", resume_trigger) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if target_id is not None: - pulumi.set(__self__, "target_id", target_id) + _setter("target_id", target_id) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_last_collected is not None: - pulumi.set(__self__, "time_last_collected", time_last_collected) + _setter("time_last_collected", time_last_collected) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if trail_location is not None: - pulumi.set(__self__, "trail_location", trail_location) + _setter("trail_location", trail_location) if work_request_id is not None: - pulumi.set(__self__, "work_request_id", work_request_id) + _setter("work_request_id", work_request_id) @property @pulumi.getter(name="auditCollectionStartTime") @@ -561,6 +631,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + AuditTrailArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/datasafe/compare_security_assessment.py b/sdk/python/pulumi_oci/datasafe/compare_security_assessment.py index e6c563cc71..1ca1bd789a 100644 --- a/sdk/python/pulumi_oci/datasafe/compare_security_assessment.py +++ b/sdk/python/pulumi_oci/datasafe/compare_security_assessment.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['CompareSecurityAssessmentArgs', 'CompareSecurityAssessment'] @@ -25,8 +25,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "comparison_security_assessment_id", comparison_security_assessment_id) - pulumi.set(__self__, "security_assessment_id", security_assessment_id) + CompareSecurityAssessmentArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + comparison_security_assessment_id=comparison_security_assessment_id, + security_assessment_id=security_assessment_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + comparison_security_assessment_id: pulumi.Input[str], + security_assessment_id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("comparison_security_assessment_id", comparison_security_assessment_id) + _setter("security_assessment_id", security_assessment_id) @property @pulumi.getter(name="comparisonSecurityAssessmentId") @@ -71,10 +82,21 @@ def __init__(__self__, *, ** 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 """ + _CompareSecurityAssessmentState._configure( + lambda key, value: pulumi.set(__self__, key, value), + comparison_security_assessment_id=comparison_security_assessment_id, + security_assessment_id=security_assessment_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + comparison_security_assessment_id: Optional[pulumi.Input[str]] = None, + security_assessment_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if comparison_security_assessment_id is not None: - pulumi.set(__self__, "comparison_security_assessment_id", comparison_security_assessment_id) + _setter("comparison_security_assessment_id", comparison_security_assessment_id) if security_assessment_id is not None: - pulumi.set(__self__, "security_assessment_id", security_assessment_id) + _setter("security_assessment_id", security_assessment_id) @property @pulumi.getter(name="comparisonSecurityAssessmentId") @@ -188,6 +210,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + CompareSecurityAssessmentArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/datasafe/compare_user_assessment.py b/sdk/python/pulumi_oci/datasafe/compare_user_assessment.py index f66c7b45f6..5d731bc88d 100644 --- a/sdk/python/pulumi_oci/datasafe/compare_user_assessment.py +++ b/sdk/python/pulumi_oci/datasafe/compare_user_assessment.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['CompareUserAssessmentArgs', 'CompareUserAssessment'] @@ -25,8 +25,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "comparison_user_assessment_id", comparison_user_assessment_id) - pulumi.set(__self__, "user_assessment_id", user_assessment_id) + CompareUserAssessmentArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + comparison_user_assessment_id=comparison_user_assessment_id, + user_assessment_id=user_assessment_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + comparison_user_assessment_id: pulumi.Input[str], + user_assessment_id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("comparison_user_assessment_id", comparison_user_assessment_id) + _setter("user_assessment_id", user_assessment_id) @property @pulumi.getter(name="comparisonUserAssessmentId") @@ -71,10 +82,21 @@ def __init__(__self__, *, ** 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 """ + _CompareUserAssessmentState._configure( + lambda key, value: pulumi.set(__self__, key, value), + comparison_user_assessment_id=comparison_user_assessment_id, + user_assessment_id=user_assessment_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + comparison_user_assessment_id: Optional[pulumi.Input[str]] = None, + user_assessment_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if comparison_user_assessment_id is not None: - pulumi.set(__self__, "comparison_user_assessment_id", comparison_user_assessment_id) + _setter("comparison_user_assessment_id", comparison_user_assessment_id) if user_assessment_id is not None: - pulumi.set(__self__, "user_assessment_id", user_assessment_id) + _setter("user_assessment_id", user_assessment_id) @property @pulumi.getter(name="comparisonUserAssessmentId") @@ -188,6 +210,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + CompareUserAssessmentArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/datasafe/data_safe_configuration.py b/sdk/python/pulumi_oci/datasafe/data_safe_configuration.py index abbb55a0d5..dec5fd41f2 100644 --- a/sdk/python/pulumi_oci/datasafe/data_safe_configuration.py +++ b/sdk/python/pulumi_oci/datasafe/data_safe_configuration.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -27,9 +27,20 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] compartment_id: (Updatable) A filter to return only resources that match the specified compartment OCID. """ - pulumi.set(__self__, "is_enabled", is_enabled) + DataSafeConfigurationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + compartment_id=compartment_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: pulumi.Input[bool], + compartment_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_enabled", is_enabled) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) @property @pulumi.getter(name="isEnabled") @@ -88,24 +99,49 @@ def __init__(__self__, *, :param pulumi.Input[str] time_enabled: The date and time Data Safe was enabled, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). :param pulumi.Input[str] url: The URL of the Data Safe service. """ + _DataSafeConfigurationState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + data_safe_nat_gateway_ip_address=data_safe_nat_gateway_ip_address, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + global_settings=global_settings, + is_enabled=is_enabled, + state=state, + time_enabled=time_enabled, + url=url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + data_safe_nat_gateway_ip_address: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + global_settings: Optional[pulumi.Input[Sequence[pulumi.Input['DataSafeConfigurationGlobalSettingArgs']]]] = None, + is_enabled: Optional[pulumi.Input[bool]] = None, + state: Optional[pulumi.Input[str]] = None, + time_enabled: Optional[pulumi.Input[str]] = None, + url: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if data_safe_nat_gateway_ip_address is not None: - pulumi.set(__self__, "data_safe_nat_gateway_ip_address", data_safe_nat_gateway_ip_address) + _setter("data_safe_nat_gateway_ip_address", data_safe_nat_gateway_ip_address) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if global_settings is not None: - pulumi.set(__self__, "global_settings", global_settings) + _setter("global_settings", global_settings) if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_enabled is not None: - pulumi.set(__self__, "time_enabled", time_enabled) + _setter("time_enabled", time_enabled) if url is not None: - pulumi.set(__self__, "url", url) + _setter("url", url) @property @pulumi.getter(name="compartmentId") @@ -293,6 +329,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DataSafeConfigurationArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/datasafe/data_safe_private_endpoint.py b/sdk/python/pulumi_oci/datasafe/data_safe_private_endpoint.py index 58ab8c46ea..c60792cd16 100644 --- a/sdk/python/pulumi_oci/datasafe/data_safe_private_endpoint.py +++ b/sdk/python/pulumi_oci/datasafe/data_safe_private_endpoint.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['DataSafePrivateEndpointArgs', 'DataSafePrivateEndpoint'] @@ -39,20 +39,45 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] nsg_ids: (Updatable) The OCIDs of the network security groups that the private endpoint belongs to. :param pulumi.Input[str] private_endpoint_ip: The private IP address of the private endpoint. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "vcn_id", vcn_id) + DataSafePrivateEndpointArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + subnet_id=subnet_id, + vcn_id=vcn_id, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + nsg_ids=nsg_ids, + private_endpoint_ip=private_endpoint_ip, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + subnet_id: pulumi.Input[str], + vcn_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + private_endpoint_ip: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) + _setter("subnet_id", subnet_id) + _setter("vcn_id", vcn_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) if private_endpoint_ip is not None: - pulumi.set(__self__, "private_endpoint_ip", private_endpoint_ip) + _setter("private_endpoint_ip", private_endpoint_ip) @property @pulumi.getter(name="compartmentId") @@ -205,34 +230,69 @@ def __init__(__self__, *, ** 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 """ + _DataSafePrivateEndpointState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + endpoint_fqdn=endpoint_fqdn, + freeform_tags=freeform_tags, + nsg_ids=nsg_ids, + private_endpoint_id=private_endpoint_id, + private_endpoint_ip=private_endpoint_ip, + state=state, + subnet_id=subnet_id, + system_tags=system_tags, + time_created=time_created, + vcn_id=vcn_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + endpoint_fqdn: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + private_endpoint_id: Optional[pulumi.Input[str]] = None, + private_endpoint_ip: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + vcn_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if endpoint_fqdn is not None: - pulumi.set(__self__, "endpoint_fqdn", endpoint_fqdn) + _setter("endpoint_fqdn", endpoint_fqdn) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) if private_endpoint_id is not None: - pulumi.set(__self__, "private_endpoint_id", private_endpoint_id) + _setter("private_endpoint_id", private_endpoint_id) if private_endpoint_ip is not None: - pulumi.set(__self__, "private_endpoint_ip", private_endpoint_ip) + _setter("private_endpoint_ip", private_endpoint_ip) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if vcn_id is not None: - pulumi.set(__self__, "vcn_id", vcn_id) + _setter("vcn_id", vcn_id) @property @pulumi.getter(name="compartmentId") @@ -524,6 +584,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DataSafePrivateEndpointArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/datasafe/discovery_jobs_result.py b/sdk/python/pulumi_oci/datasafe/discovery_jobs_result.py index 650df36001..bc6ea11c2e 100644 --- a/sdk/python/pulumi_oci/datasafe/discovery_jobs_result.py +++ b/sdk/python/pulumi_oci/datasafe/discovery_jobs_result.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -21,10 +21,19 @@ def __init__(__self__, *, The set of arguments for constructing a DiscoveryJobsResult resource. :param pulumi.Input[str] discovery_job_id: The OCID of the discovery job. """ + DiscoveryJobsResultArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + discovery_job_id=discovery_job_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + discovery_job_id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): if discovery_job_id is not None: warnings.warn("""The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.""", DeprecationWarning) pulumi.log.warn("""discovery_job_id is deprecated: The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.""") - pulumi.set(__self__, "discovery_job_id", discovery_job_id) + _setter("discovery_job_id", discovery_job_id) @property @pulumi.getter(name="discoveryJobId") @@ -88,55 +97,102 @@ def __init__(__self__, *, :param pulumi.Input[str] sensitive_columnkey: The unique key that identifies the sensitive column represented by the discovery result. :param pulumi.Input[str] sensitive_type_id: The OCID of the sensitive type associated with the sensitive column. """ + _DiscoveryJobsResultState._configure( + lambda key, value: pulumi.set(__self__, key, value), + app_defined_child_column_keys=app_defined_child_column_keys, + app_name=app_name, + column_name=column_name, + data_type=data_type, + db_defined_child_column_keys=db_defined_child_column_keys, + discovery_job_id=discovery_job_id, + discovery_type=discovery_type, + estimated_data_value_count=estimated_data_value_count, + is_result_applied=is_result_applied, + key=key, + modified_attributes=modified_attributes, + object=object, + object_type=object_type, + parent_column_keys=parent_column_keys, + planned_action=planned_action, + relation_type=relation_type, + sample_data_values=sample_data_values, + schema_name=schema_name, + sensitive_columnkey=sensitive_columnkey, + sensitive_type_id=sensitive_type_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + app_defined_child_column_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + app_name: Optional[pulumi.Input[str]] = None, + column_name: Optional[pulumi.Input[str]] = None, + data_type: Optional[pulumi.Input[str]] = None, + db_defined_child_column_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + discovery_job_id: Optional[pulumi.Input[str]] = None, + discovery_type: Optional[pulumi.Input[str]] = None, + estimated_data_value_count: Optional[pulumi.Input[str]] = None, + is_result_applied: Optional[pulumi.Input[bool]] = None, + key: Optional[pulumi.Input[str]] = None, + modified_attributes: Optional[pulumi.Input[Sequence[pulumi.Input['DiscoveryJobsResultModifiedAttributeArgs']]]] = None, + object: Optional[pulumi.Input[str]] = None, + object_type: Optional[pulumi.Input[str]] = None, + parent_column_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + planned_action: Optional[pulumi.Input[str]] = None, + relation_type: Optional[pulumi.Input[str]] = None, + sample_data_values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + schema_name: Optional[pulumi.Input[str]] = None, + sensitive_columnkey: Optional[pulumi.Input[str]] = None, + sensitive_type_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if app_defined_child_column_keys is not None: - pulumi.set(__self__, "app_defined_child_column_keys", app_defined_child_column_keys) + _setter("app_defined_child_column_keys", app_defined_child_column_keys) if app_name is not None: - pulumi.set(__self__, "app_name", app_name) + _setter("app_name", app_name) if column_name is not None: - pulumi.set(__self__, "column_name", column_name) + _setter("column_name", column_name) if data_type is not None: - pulumi.set(__self__, "data_type", data_type) + _setter("data_type", data_type) if db_defined_child_column_keys is not None: - pulumi.set(__self__, "db_defined_child_column_keys", db_defined_child_column_keys) + _setter("db_defined_child_column_keys", db_defined_child_column_keys) if discovery_job_id is not None: warnings.warn("""The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.""", DeprecationWarning) pulumi.log.warn("""discovery_job_id is deprecated: The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.""") if discovery_job_id is not None: - pulumi.set(__self__, "discovery_job_id", discovery_job_id) + _setter("discovery_job_id", discovery_job_id) if discovery_type is not None: warnings.warn("""The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.""", DeprecationWarning) pulumi.log.warn("""discovery_type is deprecated: The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.""") if discovery_type is not None: - pulumi.set(__self__, "discovery_type", discovery_type) + _setter("discovery_type", discovery_type) if estimated_data_value_count is not None: - pulumi.set(__self__, "estimated_data_value_count", estimated_data_value_count) + _setter("estimated_data_value_count", estimated_data_value_count) if is_result_applied is not None: - pulumi.set(__self__, "is_result_applied", is_result_applied) + _setter("is_result_applied", is_result_applied) if key is not None: warnings.warn("""The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.""", DeprecationWarning) pulumi.log.warn("""key is deprecated: The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.""") if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if modified_attributes is not None: - pulumi.set(__self__, "modified_attributes", modified_attributes) + _setter("modified_attributes", modified_attributes) if object is not None: - pulumi.set(__self__, "object", object) + _setter("object", object) if object_type is not None: - pulumi.set(__self__, "object_type", object_type) + _setter("object_type", object_type) if parent_column_keys is not None: - pulumi.set(__self__, "parent_column_keys", parent_column_keys) + _setter("parent_column_keys", parent_column_keys) if planned_action is not None: - pulumi.set(__self__, "planned_action", planned_action) + _setter("planned_action", planned_action) if relation_type is not None: - pulumi.set(__self__, "relation_type", relation_type) + _setter("relation_type", relation_type) if sample_data_values is not None: - pulumi.set(__self__, "sample_data_values", sample_data_values) + _setter("sample_data_values", sample_data_values) if schema_name is not None: - pulumi.set(__self__, "schema_name", schema_name) + _setter("schema_name", schema_name) if sensitive_columnkey is not None: - pulumi.set(__self__, "sensitive_columnkey", sensitive_columnkey) + _setter("sensitive_columnkey", sensitive_columnkey) if sensitive_type_id is not None: - pulumi.set(__self__, "sensitive_type_id", sensitive_type_id) + _setter("sensitive_type_id", sensitive_type_id) @property @pulumi.getter(name="appDefinedChildColumnKeys") @@ -459,6 +515,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DiscoveryJobsResultArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -474,9 +534,6 @@ def _internal_init(__self__, raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = DiscoveryJobsResultArgs.__new__(DiscoveryJobsResultArgs) - if discovery_job_id is not None and not opts.urn: - warnings.warn("""The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.""", DeprecationWarning) - pulumi.log.warn("""discovery_job_id is deprecated: The 'oci_data_safe_discovery_jobs_result' resource has been deprecated. It is no longer supported.""") if discovery_job_id is None and not opts.urn: raise TypeError("Missing required property 'discovery_job_id'") __props__.__dict__["discovery_job_id"] = discovery_job_id diff --git a/sdk/python/pulumi_oci/datasafe/discovery_mod.py b/sdk/python/pulumi_oci/datasafe/discovery_mod.py index dd462ca394..80104c3fdd 100644 --- a/sdk/python/pulumi_oci/datasafe/discovery_mod.py +++ b/sdk/python/pulumi_oci/datasafe/discovery_mod.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['DiscoveryModArgs', 'DiscoveryMod'] @@ -45,28 +45,59 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "sensitive_data_model_id", sensitive_data_model_id) + DiscoveryModArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + sensitive_data_model_id=sensitive_data_model_id, + defined_tags=defined_tags, + discovery_type=discovery_type, + display_name=display_name, + freeform_tags=freeform_tags, + is_app_defined_relation_discovery_enabled=is_app_defined_relation_discovery_enabled, + is_include_all_schemas=is_include_all_schemas, + is_include_all_sensitive_types=is_include_all_sensitive_types, + is_sample_data_collection_enabled=is_sample_data_collection_enabled, + schemas_for_discoveries=schemas_for_discoveries, + sensitive_type_ids_for_discoveries=sensitive_type_ids_for_discoveries, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + sensitive_data_model_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + discovery_type: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_app_defined_relation_discovery_enabled: Optional[pulumi.Input[bool]] = None, + is_include_all_schemas: Optional[pulumi.Input[bool]] = None, + is_include_all_sensitive_types: Optional[pulumi.Input[bool]] = None, + is_sample_data_collection_enabled: Optional[pulumi.Input[bool]] = None, + schemas_for_discoveries: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + sensitive_type_ids_for_discoveries: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("sensitive_data_model_id", sensitive_data_model_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if discovery_type is not None: - pulumi.set(__self__, "discovery_type", discovery_type) + _setter("discovery_type", discovery_type) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_app_defined_relation_discovery_enabled is not None: - pulumi.set(__self__, "is_app_defined_relation_discovery_enabled", is_app_defined_relation_discovery_enabled) + _setter("is_app_defined_relation_discovery_enabled", is_app_defined_relation_discovery_enabled) if is_include_all_schemas is not None: - pulumi.set(__self__, "is_include_all_schemas", is_include_all_schemas) + _setter("is_include_all_schemas", is_include_all_schemas) if is_include_all_sensitive_types is not None: - pulumi.set(__self__, "is_include_all_sensitive_types", is_include_all_sensitive_types) + _setter("is_include_all_sensitive_types", is_include_all_sensitive_types) if is_sample_data_collection_enabled is not None: - pulumi.set(__self__, "is_sample_data_collection_enabled", is_sample_data_collection_enabled) + _setter("is_sample_data_collection_enabled", is_sample_data_collection_enabled) if schemas_for_discoveries is not None: - pulumi.set(__self__, "schemas_for_discoveries", schemas_for_discoveries) + _setter("schemas_for_discoveries", schemas_for_discoveries) if sensitive_type_ids_for_discoveries is not None: - pulumi.set(__self__, "sensitive_type_ids_for_discoveries", sensitive_type_ids_for_discoveries) + _setter("sensitive_type_ids_for_discoveries", sensitive_type_ids_for_discoveries) @property @pulumi.getter(name="compartmentId") @@ -273,52 +304,105 @@ def __init__(__self__, *, :param pulumi.Input[str] total_objects_scanned: The total number of objects (tables and editioning views) scanned by the discovery job. :param pulumi.Input[str] total_schemas_scanned: The total number of schemas scanned by the discovery job. """ + _DiscoveryModState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + discovery_type=discovery_type, + display_name=display_name, + freeform_tags=freeform_tags, + is_app_defined_relation_discovery_enabled=is_app_defined_relation_discovery_enabled, + is_include_all_schemas=is_include_all_schemas, + is_include_all_sensitive_types=is_include_all_sensitive_types, + is_sample_data_collection_enabled=is_sample_data_collection_enabled, + schemas_for_discoveries=schemas_for_discoveries, + sensitive_data_model_id=sensitive_data_model_id, + sensitive_type_ids_for_discoveries=sensitive_type_ids_for_discoveries, + state=state, + system_tags=system_tags, + target_id=target_id, + time_finished=time_finished, + time_started=time_started, + total_columns_scanned=total_columns_scanned, + total_deleted_sensitive_columns=total_deleted_sensitive_columns, + total_modified_sensitive_columns=total_modified_sensitive_columns, + total_new_sensitive_columns=total_new_sensitive_columns, + total_objects_scanned=total_objects_scanned, + total_schemas_scanned=total_schemas_scanned, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + discovery_type: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_app_defined_relation_discovery_enabled: Optional[pulumi.Input[bool]] = None, + is_include_all_schemas: Optional[pulumi.Input[bool]] = None, + is_include_all_sensitive_types: Optional[pulumi.Input[bool]] = None, + is_sample_data_collection_enabled: Optional[pulumi.Input[bool]] = None, + schemas_for_discoveries: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + sensitive_data_model_id: Optional[pulumi.Input[str]] = None, + sensitive_type_ids_for_discoveries: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + target_id: Optional[pulumi.Input[str]] = None, + time_finished: Optional[pulumi.Input[str]] = None, + time_started: Optional[pulumi.Input[str]] = None, + total_columns_scanned: Optional[pulumi.Input[str]] = None, + total_deleted_sensitive_columns: Optional[pulumi.Input[str]] = None, + total_modified_sensitive_columns: Optional[pulumi.Input[str]] = None, + total_new_sensitive_columns: Optional[pulumi.Input[str]] = None, + total_objects_scanned: Optional[pulumi.Input[str]] = None, + total_schemas_scanned: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if discovery_type is not None: - pulumi.set(__self__, "discovery_type", discovery_type) + _setter("discovery_type", discovery_type) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_app_defined_relation_discovery_enabled is not None: - pulumi.set(__self__, "is_app_defined_relation_discovery_enabled", is_app_defined_relation_discovery_enabled) + _setter("is_app_defined_relation_discovery_enabled", is_app_defined_relation_discovery_enabled) if is_include_all_schemas is not None: - pulumi.set(__self__, "is_include_all_schemas", is_include_all_schemas) + _setter("is_include_all_schemas", is_include_all_schemas) if is_include_all_sensitive_types is not None: - pulumi.set(__self__, "is_include_all_sensitive_types", is_include_all_sensitive_types) + _setter("is_include_all_sensitive_types", is_include_all_sensitive_types) if is_sample_data_collection_enabled is not None: - pulumi.set(__self__, "is_sample_data_collection_enabled", is_sample_data_collection_enabled) + _setter("is_sample_data_collection_enabled", is_sample_data_collection_enabled) if schemas_for_discoveries is not None: - pulumi.set(__self__, "schemas_for_discoveries", schemas_for_discoveries) + _setter("schemas_for_discoveries", schemas_for_discoveries) if sensitive_data_model_id is not None: - pulumi.set(__self__, "sensitive_data_model_id", sensitive_data_model_id) + _setter("sensitive_data_model_id", sensitive_data_model_id) if sensitive_type_ids_for_discoveries is not None: - pulumi.set(__self__, "sensitive_type_ids_for_discoveries", sensitive_type_ids_for_discoveries) + _setter("sensitive_type_ids_for_discoveries", sensitive_type_ids_for_discoveries) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if target_id is not None: - pulumi.set(__self__, "target_id", target_id) + _setter("target_id", target_id) if time_finished is not None: - pulumi.set(__self__, "time_finished", time_finished) + _setter("time_finished", time_finished) if time_started is not None: - pulumi.set(__self__, "time_started", time_started) + _setter("time_started", time_started) if total_columns_scanned is not None: - pulumi.set(__self__, "total_columns_scanned", total_columns_scanned) + _setter("total_columns_scanned", total_columns_scanned) if total_deleted_sensitive_columns is not None: - pulumi.set(__self__, "total_deleted_sensitive_columns", total_deleted_sensitive_columns) + _setter("total_deleted_sensitive_columns", total_deleted_sensitive_columns) if total_modified_sensitive_columns is not None: - pulumi.set(__self__, "total_modified_sensitive_columns", total_modified_sensitive_columns) + _setter("total_modified_sensitive_columns", total_modified_sensitive_columns) if total_new_sensitive_columns is not None: - pulumi.set(__self__, "total_new_sensitive_columns", total_new_sensitive_columns) + _setter("total_new_sensitive_columns", total_new_sensitive_columns) if total_objects_scanned is not None: - pulumi.set(__self__, "total_objects_scanned", total_objects_scanned) + _setter("total_objects_scanned", total_objects_scanned) if total_schemas_scanned is not None: - pulumi.set(__self__, "total_schemas_scanned", total_schemas_scanned) + _setter("total_schemas_scanned", total_schemas_scanned) @property @pulumi.getter(name="compartmentId") @@ -738,6 +822,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DiscoveryModArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/datasafe/get_alert.py b/sdk/python/pulumi_oci/datasafe/get_alert.py index 2923cbc3ba..9dd0363069 100644 --- a/sdk/python/pulumi_oci/datasafe/get_alert.py +++ b/sdk/python/pulumi_oci/datasafe/get_alert.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/datasafe/get_alert_analytic.py b/sdk/python/pulumi_oci/datasafe/get_alert_analytic.py index 226a452b2b..9ef4f67885 100644 --- a/sdk/python/pulumi_oci/datasafe/get_alert_analytic.py +++ b/sdk/python/pulumi_oci/datasafe/get_alert_analytic.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/datasafe/get_alert_policies.py b/sdk/python/pulumi_oci/datasafe/get_alert_policies.py index 5d3a1e28e0..fdaa1d3a1f 100644 --- a/sdk/python/pulumi_oci/datasafe/get_alert_policies.py +++ b/sdk/python/pulumi_oci/datasafe/get_alert_policies.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datasafe/get_alert_policy.py b/sdk/python/pulumi_oci/datasafe/get_alert_policy.py index ec5cc2cf4a..401a90a205 100644 --- a/sdk/python/pulumi_oci/datasafe/get_alert_policy.py +++ b/sdk/python/pulumi_oci/datasafe/get_alert_policy.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/datasafe/get_alert_policy_rule.py b/sdk/python/pulumi_oci/datasafe/get_alert_policy_rule.py index f970a8408f..a5b5ae52be 100644 --- a/sdk/python/pulumi_oci/datasafe/get_alert_policy_rule.py +++ b/sdk/python/pulumi_oci/datasafe/get_alert_policy_rule.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/datasafe/get_alert_policy_rules.py b/sdk/python/pulumi_oci/datasafe/get_alert_policy_rules.py index f786ba01a2..522847f79b 100644 --- a/sdk/python/pulumi_oci/datasafe/get_alert_policy_rules.py +++ b/sdk/python/pulumi_oci/datasafe/get_alert_policy_rules.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datasafe/get_alerts.py b/sdk/python/pulumi_oci/datasafe/get_alerts.py index a3ef482279..55b0710ede 100644 --- a/sdk/python/pulumi_oci/datasafe/get_alerts.py +++ b/sdk/python/pulumi_oci/datasafe/get_alerts.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datasafe/get_audit_archive_retrieval.py b/sdk/python/pulumi_oci/datasafe/get_audit_archive_retrieval.py index f31574915c..aa141835d0 100644 --- a/sdk/python/pulumi_oci/datasafe/get_audit_archive_retrieval.py +++ b/sdk/python/pulumi_oci/datasafe/get_audit_archive_retrieval.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/datasafe/get_audit_archive_retrievals.py b/sdk/python/pulumi_oci/datasafe/get_audit_archive_retrievals.py index f450dcb0b3..39cb014281 100644 --- a/sdk/python/pulumi_oci/datasafe/get_audit_archive_retrievals.py +++ b/sdk/python/pulumi_oci/datasafe/get_audit_archive_retrievals.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datasafe/get_audit_event.py b/sdk/python/pulumi_oci/datasafe/get_audit_event.py index 3780b325d5..4b862f8fd8 100644 --- a/sdk/python/pulumi_oci/datasafe/get_audit_event.py +++ b/sdk/python/pulumi_oci/datasafe/get_audit_event.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/datasafe/get_audit_event_analytic.py b/sdk/python/pulumi_oci/datasafe/get_audit_event_analytic.py index 34788ba56e..7a358067db 100644 --- a/sdk/python/pulumi_oci/datasafe/get_audit_event_analytic.py +++ b/sdk/python/pulumi_oci/datasafe/get_audit_event_analytic.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/datasafe/get_audit_events.py b/sdk/python/pulumi_oci/datasafe/get_audit_events.py index 552d08c3a7..ecf5299e3d 100644 --- a/sdk/python/pulumi_oci/datasafe/get_audit_events.py +++ b/sdk/python/pulumi_oci/datasafe/get_audit_events.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datasafe/get_audit_policies.py b/sdk/python/pulumi_oci/datasafe/get_audit_policies.py index 42e4ebd47e..106b9f5008 100644 --- a/sdk/python/pulumi_oci/datasafe/get_audit_policies.py +++ b/sdk/python/pulumi_oci/datasafe/get_audit_policies.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datasafe/get_audit_policy.py b/sdk/python/pulumi_oci/datasafe/get_audit_policy.py index ddf6ab47bd..e96b67c9a0 100644 --- a/sdk/python/pulumi_oci/datasafe/get_audit_policy.py +++ b/sdk/python/pulumi_oci/datasafe/get_audit_policy.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/datasafe/get_audit_profile.py b/sdk/python/pulumi_oci/datasafe/get_audit_profile.py index 6a17f5a0a8..b205cbf33c 100644 --- a/sdk/python/pulumi_oci/datasafe/get_audit_profile.py +++ b/sdk/python/pulumi_oci/datasafe/get_audit_profile.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/datasafe/get_audit_profile_analytic.py b/sdk/python/pulumi_oci/datasafe/get_audit_profile_analytic.py index 2ea89721fc..4c47f0fe55 100644 --- a/sdk/python/pulumi_oci/datasafe/get_audit_profile_analytic.py +++ b/sdk/python/pulumi_oci/datasafe/get_audit_profile_analytic.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/datasafe/get_audit_profile_available_audit_volume.py b/sdk/python/pulumi_oci/datasafe/get_audit_profile_available_audit_volume.py index 4e090601b7..940e15dec7 100644 --- a/sdk/python/pulumi_oci/datasafe/get_audit_profile_available_audit_volume.py +++ b/sdk/python/pulumi_oci/datasafe/get_audit_profile_available_audit_volume.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/datasafe/get_audit_profile_available_audit_volumes.py b/sdk/python/pulumi_oci/datasafe/get_audit_profile_available_audit_volumes.py index 586823063b..2b20cffee0 100644 --- a/sdk/python/pulumi_oci/datasafe/get_audit_profile_available_audit_volumes.py +++ b/sdk/python/pulumi_oci/datasafe/get_audit_profile_available_audit_volumes.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datasafe/get_audit_profile_collected_audit_volume.py b/sdk/python/pulumi_oci/datasafe/get_audit_profile_collected_audit_volume.py index f73053053e..4015012d68 100644 --- a/sdk/python/pulumi_oci/datasafe/get_audit_profile_collected_audit_volume.py +++ b/sdk/python/pulumi_oci/datasafe/get_audit_profile_collected_audit_volume.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/datasafe/get_audit_profile_collected_audit_volumes.py b/sdk/python/pulumi_oci/datasafe/get_audit_profile_collected_audit_volumes.py index 5ba718edf9..ddc4c0fe2f 100644 --- a/sdk/python/pulumi_oci/datasafe/get_audit_profile_collected_audit_volumes.py +++ b/sdk/python/pulumi_oci/datasafe/get_audit_profile_collected_audit_volumes.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datasafe/get_audit_profiles.py b/sdk/python/pulumi_oci/datasafe/get_audit_profiles.py index 956631ef26..c13dcf565c 100644 --- a/sdk/python/pulumi_oci/datasafe/get_audit_profiles.py +++ b/sdk/python/pulumi_oci/datasafe/get_audit_profiles.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datasafe/get_audit_trail.py b/sdk/python/pulumi_oci/datasafe/get_audit_trail.py index 005b6dfacc..8552048b70 100644 --- a/sdk/python/pulumi_oci/datasafe/get_audit_trail.py +++ b/sdk/python/pulumi_oci/datasafe/get_audit_trail.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/datasafe/get_audit_trail_analytic.py b/sdk/python/pulumi_oci/datasafe/get_audit_trail_analytic.py index 8f83614bd6..855ef3cd78 100644 --- a/sdk/python/pulumi_oci/datasafe/get_audit_trail_analytic.py +++ b/sdk/python/pulumi_oci/datasafe/get_audit_trail_analytic.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/datasafe/get_audit_trails.py b/sdk/python/pulumi_oci/datasafe/get_audit_trails.py index ee179183a3..ff81365eb7 100644 --- a/sdk/python/pulumi_oci/datasafe/get_audit_trails.py +++ b/sdk/python/pulumi_oci/datasafe/get_audit_trails.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datasafe/get_compatible_formats_for_data_type.py b/sdk/python/pulumi_oci/datasafe/get_compatible_formats_for_data_type.py index 375b40e690..3b8bbf4947 100644 --- a/sdk/python/pulumi_oci/datasafe/get_compatible_formats_for_data_type.py +++ b/sdk/python/pulumi_oci/datasafe/get_compatible_formats_for_data_type.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -14,6 +14,7 @@ 'GetCompatibleFormatsForDataTypeResult', 'AwaitableGetCompatibleFormatsForDataTypeResult', 'get_compatible_formats_for_data_type', + 'get_compatible_formats_for_data_type_output', ] @pulumi.output_type @@ -84,3 +85,28 @@ def get_compatible_formats_for_data_type(opts: Optional[pulumi.InvokeOptions] = return AwaitableGetCompatibleFormatsForDataTypeResult( formats_for_data_types=pulumi.get(__ret__, 'formats_for_data_types'), id=pulumi.get(__ret__, 'id')) + + +@_utilities.lift_output_func(get_compatible_formats_for_data_type) +def get_compatible_formats_for_data_type_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetCompatibleFormatsForDataTypeResult]: + """ + This data source provides details about a specific Compatible Formats For Data Type resource in Oracle Cloud Infrastructure Data Safe service. + + Gets a list of basic masking formats compatible with the supported data types. + The data types are grouped into the following categories - + Character - Includes CHAR, NCHAR, VARCHAR2, and NVARCHAR2 + Numeric - Includes NUMBER, FLOAT, RAW, BINARY_FLOAT, and BINARY_DOUBLE + Date - Includes DATE and TIMESTAMP + LOB - Includes BLOB, CLOB, and NCLOB + All - Includes all the supported data types + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_compatible_formats_for_data_type = oci.DataSafe.get_compatible_formats_for_data_type() + ``` + """ + ... diff --git a/sdk/python/pulumi_oci/datasafe/get_compatible_formats_for_sensitive_type.py b/sdk/python/pulumi_oci/datasafe/get_compatible_formats_for_sensitive_type.py index b7fcc4312d..26fe9f6971 100644 --- a/sdk/python/pulumi_oci/datasafe/get_compatible_formats_for_sensitive_type.py +++ b/sdk/python/pulumi_oci/datasafe/get_compatible_formats_for_sensitive_type.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/datasafe/get_data_safe_configuration.py b/sdk/python/pulumi_oci/datasafe/get_data_safe_configuration.py index d8b4c79ff8..4ca45c5f91 100644 --- a/sdk/python/pulumi_oci/datasafe/get_data_safe_configuration.py +++ b/sdk/python/pulumi_oci/datasafe/get_data_safe_configuration.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/datasafe/get_data_safe_private_endpoint.py b/sdk/python/pulumi_oci/datasafe/get_data_safe_private_endpoint.py index 3c3bad1dbd..9ad0e8ebc1 100644 --- a/sdk/python/pulumi_oci/datasafe/get_data_safe_private_endpoint.py +++ b/sdk/python/pulumi_oci/datasafe/get_data_safe_private_endpoint.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/datasafe/get_data_safe_private_endpoints.py b/sdk/python/pulumi_oci/datasafe/get_data_safe_private_endpoints.py index 71c6485acd..045b599b14 100644 --- a/sdk/python/pulumi_oci/datasafe/get_data_safe_private_endpoints.py +++ b/sdk/python/pulumi_oci/datasafe/get_data_safe_private_endpoints.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datasafe/get_discovery_analytic.py b/sdk/python/pulumi_oci/datasafe/get_discovery_analytic.py index 8d52651026..eff0e704dd 100644 --- a/sdk/python/pulumi_oci/datasafe/get_discovery_analytic.py +++ b/sdk/python/pulumi_oci/datasafe/get_discovery_analytic.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/datasafe/get_discovery_analytics.py b/sdk/python/pulumi_oci/datasafe/get_discovery_analytics.py index d515f3b956..b1eb4a8bdf 100644 --- a/sdk/python/pulumi_oci/datasafe/get_discovery_analytics.py +++ b/sdk/python/pulumi_oci/datasafe/get_discovery_analytics.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datasafe/get_discovery_job.py b/sdk/python/pulumi_oci/datasafe/get_discovery_job.py index 5c6aa9783d..1fde1ea623 100644 --- a/sdk/python/pulumi_oci/datasafe/get_discovery_job.py +++ b/sdk/python/pulumi_oci/datasafe/get_discovery_job.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/datasafe/get_discovery_jobs_result.py b/sdk/python/pulumi_oci/datasafe/get_discovery_jobs_result.py index bb4fc2c782..70f6fde37d 100644 --- a/sdk/python/pulumi_oci/datasafe/get_discovery_jobs_result.py +++ b/sdk/python/pulumi_oci/datasafe/get_discovery_jobs_result.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/datasafe/get_discovery_jobs_results.py b/sdk/python/pulumi_oci/datasafe/get_discovery_jobs_results.py index 371f0f414d..cbbe8a5b96 100644 --- a/sdk/python/pulumi_oci/datasafe/get_discovery_jobs_results.py +++ b/sdk/python/pulumi_oci/datasafe/get_discovery_jobs_results.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datasafe/get_library_masking_format.py b/sdk/python/pulumi_oci/datasafe/get_library_masking_format.py index 4f3e7107d4..b5229e3290 100644 --- a/sdk/python/pulumi_oci/datasafe/get_library_masking_format.py +++ b/sdk/python/pulumi_oci/datasafe/get_library_masking_format.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/datasafe/get_library_masking_formats.py b/sdk/python/pulumi_oci/datasafe/get_library_masking_formats.py index cfcd2b9ba4..0b94d7a593 100644 --- a/sdk/python/pulumi_oci/datasafe/get_library_masking_formats.py +++ b/sdk/python/pulumi_oci/datasafe/get_library_masking_formats.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datasafe/get_list_user_grants.py b/sdk/python/pulumi_oci/datasafe/get_list_user_grants.py index c74b462c5c..fc6fcc9d4c 100644 --- a/sdk/python/pulumi_oci/datasafe/get_list_user_grants.py +++ b/sdk/python/pulumi_oci/datasafe/get_list_user_grants.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datasafe/get_masking_analytic.py b/sdk/python/pulumi_oci/datasafe/get_masking_analytic.py index 646e37bd87..148eb1453d 100644 --- a/sdk/python/pulumi_oci/datasafe/get_masking_analytic.py +++ b/sdk/python/pulumi_oci/datasafe/get_masking_analytic.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/datasafe/get_masking_analytics.py b/sdk/python/pulumi_oci/datasafe/get_masking_analytics.py index e5d4288623..24c1519461 100644 --- a/sdk/python/pulumi_oci/datasafe/get_masking_analytics.py +++ b/sdk/python/pulumi_oci/datasafe/get_masking_analytics.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datasafe/get_masking_policies.py b/sdk/python/pulumi_oci/datasafe/get_masking_policies.py index 46e4f4e302..31f506000a 100644 --- a/sdk/python/pulumi_oci/datasafe/get_masking_policies.py +++ b/sdk/python/pulumi_oci/datasafe/get_masking_policies.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datasafe/get_masking_policies_masking_column.py b/sdk/python/pulumi_oci/datasafe/get_masking_policies_masking_column.py index c50e3a44e0..982c5ae2f4 100644 --- a/sdk/python/pulumi_oci/datasafe/get_masking_policies_masking_column.py +++ b/sdk/python/pulumi_oci/datasafe/get_masking_policies_masking_column.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/datasafe/get_masking_policies_masking_columns.py b/sdk/python/pulumi_oci/datasafe/get_masking_policies_masking_columns.py index 9499d393ca..8d387a5642 100644 --- a/sdk/python/pulumi_oci/datasafe/get_masking_policies_masking_columns.py +++ b/sdk/python/pulumi_oci/datasafe/get_masking_policies_masking_columns.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datasafe/get_masking_policy.py b/sdk/python/pulumi_oci/datasafe/get_masking_policy.py index ade3e5561d..6ae9b5629e 100644 --- a/sdk/python/pulumi_oci/datasafe/get_masking_policy.py +++ b/sdk/python/pulumi_oci/datasafe/get_masking_policy.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/datasafe/get_masking_policy_masking_objects.py b/sdk/python/pulumi_oci/datasafe/get_masking_policy_masking_objects.py index 98c966c8da..bbe0302956 100644 --- a/sdk/python/pulumi_oci/datasafe/get_masking_policy_masking_objects.py +++ b/sdk/python/pulumi_oci/datasafe/get_masking_policy_masking_objects.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datasafe/get_masking_policy_masking_schemas.py b/sdk/python/pulumi_oci/datasafe/get_masking_policy_masking_schemas.py index 457018e915..458fee73e5 100644 --- a/sdk/python/pulumi_oci/datasafe/get_masking_policy_masking_schemas.py +++ b/sdk/python/pulumi_oci/datasafe/get_masking_policy_masking_schemas.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datasafe/get_masking_report.py b/sdk/python/pulumi_oci/datasafe/get_masking_report.py index f00490f1c2..56eb8785aa 100644 --- a/sdk/python/pulumi_oci/datasafe/get_masking_report.py +++ b/sdk/python/pulumi_oci/datasafe/get_masking_report.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/datasafe/get_masking_report_masked_columns.py b/sdk/python/pulumi_oci/datasafe/get_masking_report_masked_columns.py index e48a8bb151..360b53771e 100644 --- a/sdk/python/pulumi_oci/datasafe/get_masking_report_masked_columns.py +++ b/sdk/python/pulumi_oci/datasafe/get_masking_report_masked_columns.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datasafe/get_masking_reports.py b/sdk/python/pulumi_oci/datasafe/get_masking_reports.py index 72ff4ff87d..889027dd31 100644 --- a/sdk/python/pulumi_oci/datasafe/get_masking_reports.py +++ b/sdk/python/pulumi_oci/datasafe/get_masking_reports.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datasafe/get_masking_reports_masked_column.py b/sdk/python/pulumi_oci/datasafe/get_masking_reports_masked_column.py index 722f6ebc7f..9e38eb05a0 100644 --- a/sdk/python/pulumi_oci/datasafe/get_masking_reports_masked_column.py +++ b/sdk/python/pulumi_oci/datasafe/get_masking_reports_masked_column.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/datasafe/get_onprem_connector.py b/sdk/python/pulumi_oci/datasafe/get_onprem_connector.py index e4abe04a1e..c512999c37 100644 --- a/sdk/python/pulumi_oci/datasafe/get_onprem_connector.py +++ b/sdk/python/pulumi_oci/datasafe/get_onprem_connector.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/datasafe/get_onprem_connectors.py b/sdk/python/pulumi_oci/datasafe/get_onprem_connectors.py index 76a8501a0c..db82e588b6 100644 --- a/sdk/python/pulumi_oci/datasafe/get_onprem_connectors.py +++ b/sdk/python/pulumi_oci/datasafe/get_onprem_connectors.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datasafe/get_report.py b/sdk/python/pulumi_oci/datasafe/get_report.py index 4b4008803c..f2e4b46b73 100644 --- a/sdk/python/pulumi_oci/datasafe/get_report.py +++ b/sdk/python/pulumi_oci/datasafe/get_report.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/datasafe/get_report_content.py b/sdk/python/pulumi_oci/datasafe/get_report_content.py index 4160ba7feb..a688be613e 100644 --- a/sdk/python/pulumi_oci/datasafe/get_report_content.py +++ b/sdk/python/pulumi_oci/datasafe/get_report_content.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/datasafe/get_report_definition.py b/sdk/python/pulumi_oci/datasafe/get_report_definition.py index eb7180e147..ee617486ce 100644 --- a/sdk/python/pulumi_oci/datasafe/get_report_definition.py +++ b/sdk/python/pulumi_oci/datasafe/get_report_definition.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/datasafe/get_report_definitions.py b/sdk/python/pulumi_oci/datasafe/get_report_definitions.py index 3dc2b2a5fe..9bb732cc8e 100644 --- a/sdk/python/pulumi_oci/datasafe/get_report_definitions.py +++ b/sdk/python/pulumi_oci/datasafe/get_report_definitions.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datasafe/get_reports.py b/sdk/python/pulumi_oci/datasafe/get_reports.py index 0b74276ae1..d468747434 100644 --- a/sdk/python/pulumi_oci/datasafe/get_reports.py +++ b/sdk/python/pulumi_oci/datasafe/get_reports.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datasafe/get_sdm_masking_policy_difference.py b/sdk/python/pulumi_oci/datasafe/get_sdm_masking_policy_difference.py index f9f25449a2..ab6bef2703 100644 --- a/sdk/python/pulumi_oci/datasafe/get_sdm_masking_policy_difference.py +++ b/sdk/python/pulumi_oci/datasafe/get_sdm_masking_policy_difference.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/datasafe/get_sdm_masking_policy_difference_difference_column.py b/sdk/python/pulumi_oci/datasafe/get_sdm_masking_policy_difference_difference_column.py index 64ec78e242..37fe7c870d 100644 --- a/sdk/python/pulumi_oci/datasafe/get_sdm_masking_policy_difference_difference_column.py +++ b/sdk/python/pulumi_oci/datasafe/get_sdm_masking_policy_difference_difference_column.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/datasafe/get_sdm_masking_policy_difference_difference_columns.py b/sdk/python/pulumi_oci/datasafe/get_sdm_masking_policy_difference_difference_columns.py index 43c67d7b05..b8f5d9f421 100644 --- a/sdk/python/pulumi_oci/datasafe/get_sdm_masking_policy_difference_difference_columns.py +++ b/sdk/python/pulumi_oci/datasafe/get_sdm_masking_policy_difference_difference_columns.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datasafe/get_sdm_masking_policy_differences.py b/sdk/python/pulumi_oci/datasafe/get_sdm_masking_policy_differences.py index fd91b7274a..c823aa1f19 100644 --- a/sdk/python/pulumi_oci/datasafe/get_sdm_masking_policy_differences.py +++ b/sdk/python/pulumi_oci/datasafe/get_sdm_masking_policy_differences.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datasafe/get_security_assessment.py b/sdk/python/pulumi_oci/datasafe/get_security_assessment.py index 8d23368796..7a0f61211d 100644 --- a/sdk/python/pulumi_oci/datasafe/get_security_assessment.py +++ b/sdk/python/pulumi_oci/datasafe/get_security_assessment.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/datasafe/get_security_assessment_comparison.py b/sdk/python/pulumi_oci/datasafe/get_security_assessment_comparison.py index 20b697296c..1722e13c45 100644 --- a/sdk/python/pulumi_oci/datasafe/get_security_assessment_comparison.py +++ b/sdk/python/pulumi_oci/datasafe/get_security_assessment_comparison.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/datasafe/get_security_assessment_finding.py b/sdk/python/pulumi_oci/datasafe/get_security_assessment_finding.py index 61171b0f30..7578133a7f 100644 --- a/sdk/python/pulumi_oci/datasafe/get_security_assessment_finding.py +++ b/sdk/python/pulumi_oci/datasafe/get_security_assessment_finding.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datasafe/get_security_assessment_findings.py b/sdk/python/pulumi_oci/datasafe/get_security_assessment_findings.py index c3b1d03291..1a8bc4d1f2 100644 --- a/sdk/python/pulumi_oci/datasafe/get_security_assessment_findings.py +++ b/sdk/python/pulumi_oci/datasafe/get_security_assessment_findings.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datasafe/get_security_assessments.py b/sdk/python/pulumi_oci/datasafe/get_security_assessments.py index 5e8e243458..d5ef05dbe5 100644 --- a/sdk/python/pulumi_oci/datasafe/get_security_assessments.py +++ b/sdk/python/pulumi_oci/datasafe/get_security_assessments.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datasafe/get_sensitive_data_model.py b/sdk/python/pulumi_oci/datasafe/get_sensitive_data_model.py index 54a3376d93..784a7a713c 100644 --- a/sdk/python/pulumi_oci/datasafe/get_sensitive_data_model.py +++ b/sdk/python/pulumi_oci/datasafe/get_sensitive_data_model.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/datasafe/get_sensitive_data_model_sensitive_objects.py b/sdk/python/pulumi_oci/datasafe/get_sensitive_data_model_sensitive_objects.py index 73c2e11a76..f3923c2bd3 100644 --- a/sdk/python/pulumi_oci/datasafe/get_sensitive_data_model_sensitive_objects.py +++ b/sdk/python/pulumi_oci/datasafe/get_sensitive_data_model_sensitive_objects.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datasafe/get_sensitive_data_model_sensitive_schemas.py b/sdk/python/pulumi_oci/datasafe/get_sensitive_data_model_sensitive_schemas.py index 47e767cc19..bc76cf3bbf 100644 --- a/sdk/python/pulumi_oci/datasafe/get_sensitive_data_model_sensitive_schemas.py +++ b/sdk/python/pulumi_oci/datasafe/get_sensitive_data_model_sensitive_schemas.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datasafe/get_sensitive_data_models.py b/sdk/python/pulumi_oci/datasafe/get_sensitive_data_models.py index b7c1897fa9..63dade0820 100644 --- a/sdk/python/pulumi_oci/datasafe/get_sensitive_data_models.py +++ b/sdk/python/pulumi_oci/datasafe/get_sensitive_data_models.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datasafe/get_sensitive_data_models_sensitive_column.py b/sdk/python/pulumi_oci/datasafe/get_sensitive_data_models_sensitive_column.py index ac44eef577..a26bb851a3 100644 --- a/sdk/python/pulumi_oci/datasafe/get_sensitive_data_models_sensitive_column.py +++ b/sdk/python/pulumi_oci/datasafe/get_sensitive_data_models_sensitive_column.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/datasafe/get_sensitive_data_models_sensitive_columns.py b/sdk/python/pulumi_oci/datasafe/get_sensitive_data_models_sensitive_columns.py index 9e459f2511..b7b37eeea2 100644 --- a/sdk/python/pulumi_oci/datasafe/get_sensitive_data_models_sensitive_columns.py +++ b/sdk/python/pulumi_oci/datasafe/get_sensitive_data_models_sensitive_columns.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datasafe/get_sensitive_type.py b/sdk/python/pulumi_oci/datasafe/get_sensitive_type.py index 58ec72b22e..e134b48d79 100644 --- a/sdk/python/pulumi_oci/datasafe/get_sensitive_type.py +++ b/sdk/python/pulumi_oci/datasafe/get_sensitive_type.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/datasafe/get_sensitive_types.py b/sdk/python/pulumi_oci/datasafe/get_sensitive_types.py index 81aac17b7a..e527776376 100644 --- a/sdk/python/pulumi_oci/datasafe/get_sensitive_types.py +++ b/sdk/python/pulumi_oci/datasafe/get_sensitive_types.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datasafe/get_target_alert_policy_association.py b/sdk/python/pulumi_oci/datasafe/get_target_alert_policy_association.py index d52dfc1fed..ff57a715f1 100644 --- a/sdk/python/pulumi_oci/datasafe/get_target_alert_policy_association.py +++ b/sdk/python/pulumi_oci/datasafe/get_target_alert_policy_association.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/datasafe/get_target_alert_policy_associations.py b/sdk/python/pulumi_oci/datasafe/get_target_alert_policy_associations.py index 26535e0067..3e8ed916b9 100644 --- a/sdk/python/pulumi_oci/datasafe/get_target_alert_policy_associations.py +++ b/sdk/python/pulumi_oci/datasafe/get_target_alert_policy_associations.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datasafe/get_target_database.py b/sdk/python/pulumi_oci/datasafe/get_target_database.py index 8246fe3577..b578f734aa 100644 --- a/sdk/python/pulumi_oci/datasafe/get_target_database.py +++ b/sdk/python/pulumi_oci/datasafe/get_target_database.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/datasafe/get_target_database_role.py b/sdk/python/pulumi_oci/datasafe/get_target_database_role.py index 177bdb260a..affce4d252 100644 --- a/sdk/python/pulumi_oci/datasafe/get_target_database_role.py +++ b/sdk/python/pulumi_oci/datasafe/get_target_database_role.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datasafe/get_target_database_roles.py b/sdk/python/pulumi_oci/datasafe/get_target_database_roles.py index b5442a9efc..e2c57ea2f7 100644 --- a/sdk/python/pulumi_oci/datasafe/get_target_database_roles.py +++ b/sdk/python/pulumi_oci/datasafe/get_target_database_roles.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datasafe/get_target_databases.py b/sdk/python/pulumi_oci/datasafe/get_target_databases.py index 200fc91b01..6baa46614e 100644 --- a/sdk/python/pulumi_oci/datasafe/get_target_databases.py +++ b/sdk/python/pulumi_oci/datasafe/get_target_databases.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datasafe/get_target_databases_columns.py b/sdk/python/pulumi_oci/datasafe/get_target_databases_columns.py index 7753d3f677..4ae3a26894 100644 --- a/sdk/python/pulumi_oci/datasafe/get_target_databases_columns.py +++ b/sdk/python/pulumi_oci/datasafe/get_target_databases_columns.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datasafe/get_target_databases_schemas.py b/sdk/python/pulumi_oci/datasafe/get_target_databases_schemas.py index 17dda36413..dfdbfdc2ba 100644 --- a/sdk/python/pulumi_oci/datasafe/get_target_databases_schemas.py +++ b/sdk/python/pulumi_oci/datasafe/get_target_databases_schemas.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datasafe/get_target_databases_tables.py b/sdk/python/pulumi_oci/datasafe/get_target_databases_tables.py index 9b0af21e38..cddac81d8d 100644 --- a/sdk/python/pulumi_oci/datasafe/get_target_databases_tables.py +++ b/sdk/python/pulumi_oci/datasafe/get_target_databases_tables.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datasafe/get_user_assessment.py b/sdk/python/pulumi_oci/datasafe/get_user_assessment.py index 70df28a47b..d7dada2a42 100644 --- a/sdk/python/pulumi_oci/datasafe/get_user_assessment.py +++ b/sdk/python/pulumi_oci/datasafe/get_user_assessment.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/datasafe/get_user_assessment_comparison.py b/sdk/python/pulumi_oci/datasafe/get_user_assessment_comparison.py index 36893499fc..e9c1cd5c8e 100644 --- a/sdk/python/pulumi_oci/datasafe/get_user_assessment_comparison.py +++ b/sdk/python/pulumi_oci/datasafe/get_user_assessment_comparison.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/datasafe/get_user_assessment_profile_analytics.py b/sdk/python/pulumi_oci/datasafe/get_user_assessment_profile_analytics.py index 7a35d5a546..31f58b352f 100644 --- a/sdk/python/pulumi_oci/datasafe/get_user_assessment_profile_analytics.py +++ b/sdk/python/pulumi_oci/datasafe/get_user_assessment_profile_analytics.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datasafe/get_user_assessment_profiles.py b/sdk/python/pulumi_oci/datasafe/get_user_assessment_profiles.py index f651cfbb58..63f8844608 100644 --- a/sdk/python/pulumi_oci/datasafe/get_user_assessment_profiles.py +++ b/sdk/python/pulumi_oci/datasafe/get_user_assessment_profiles.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datasafe/get_user_assessment_user_analytics.py b/sdk/python/pulumi_oci/datasafe/get_user_assessment_user_analytics.py index 864bb03ab9..fe44e4aa5b 100644 --- a/sdk/python/pulumi_oci/datasafe/get_user_assessment_user_analytics.py +++ b/sdk/python/pulumi_oci/datasafe/get_user_assessment_user_analytics.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datasafe/get_user_assessment_users.py b/sdk/python/pulumi_oci/datasafe/get_user_assessment_users.py index ea47ac55fa..24412f0375 100644 --- a/sdk/python/pulumi_oci/datasafe/get_user_assessment_users.py +++ b/sdk/python/pulumi_oci/datasafe/get_user_assessment_users.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datasafe/get_user_assessments.py b/sdk/python/pulumi_oci/datasafe/get_user_assessments.py index 78ad2d74aa..021cd175f2 100644 --- a/sdk/python/pulumi_oci/datasafe/get_user_assessments.py +++ b/sdk/python/pulumi_oci/datasafe/get_user_assessments.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datasafe/library_masing_format.py b/sdk/python/pulumi_oci/datasafe/library_masing_format.py index 5cb9c24bd4..16b19d31f0 100644 --- a/sdk/python/pulumi_oci/datasafe/library_masing_format.py +++ b/sdk/python/pulumi_oci/datasafe/library_masing_format.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -37,18 +37,39 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "format_entries", format_entries) + LibraryMasingFormatArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + format_entries=format_entries, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + sensitive_type_ids=sensitive_type_ids, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + format_entries: pulumi.Input[Sequence[pulumi.Input['LibraryMasingFormatFormatEntryArgs']]], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + sensitive_type_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("format_entries", format_entries) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if sensitive_type_ids is not None: - pulumi.set(__self__, "sensitive_type_ids", sensitive_type_ids) + _setter("sensitive_type_ids", sensitive_type_ids) @property @pulumi.getter(name="compartmentId") @@ -171,28 +192,57 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the library masking format was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339) :param pulumi.Input[str] time_updated: The date and time the library masking format was updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339) """ + _LibraryMasingFormatState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + format_entries=format_entries, + freeform_tags=freeform_tags, + sensitive_type_ids=sensitive_type_ids, + source=source, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + format_entries: Optional[pulumi.Input[Sequence[pulumi.Input['LibraryMasingFormatFormatEntryArgs']]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + sensitive_type_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + source: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if format_entries is not None: - pulumi.set(__self__, "format_entries", format_entries) + _setter("format_entries", format_entries) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if sensitive_type_ids is not None: - pulumi.set(__self__, "sensitive_type_ids", sensitive_type_ids) + _setter("sensitive_type_ids", sensitive_type_ids) if source is not None: - pulumi.set(__self__, "source", source) + _setter("source", source) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -408,6 +458,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + LibraryMasingFormatArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/datasafe/mask_data.py b/sdk/python/pulumi_oci/datasafe/mask_data.py index 119205e81a..e035254acb 100644 --- a/sdk/python/pulumi_oci/datasafe/mask_data.py +++ b/sdk/python/pulumi_oci/datasafe/mask_data.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['MaskDataArgs', 'MaskData'] @@ -19,8 +19,19 @@ def __init__(__self__, *, """ The set of arguments for constructing a MaskData resource. """ - pulumi.set(__self__, "masking_policy_id", masking_policy_id) - pulumi.set(__self__, "target_id", target_id) + MaskDataArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + masking_policy_id=masking_policy_id, + target_id=target_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + masking_policy_id: pulumi.Input[str], + target_id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("masking_policy_id", masking_policy_id) + _setter("target_id", target_id) @property @pulumi.getter(name="maskingPolicyId") @@ -49,10 +60,21 @@ def __init__(__self__, *, """ Input properties used for looking up and filtering MaskData resources. """ + _MaskDataState._configure( + lambda key, value: pulumi.set(__self__, key, value), + masking_policy_id=masking_policy_id, + target_id=target_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + masking_policy_id: Optional[pulumi.Input[str]] = None, + target_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if masking_policy_id is not None: - pulumi.set(__self__, "masking_policy_id", masking_policy_id) + _setter("masking_policy_id", masking_policy_id) if target_id is not None: - pulumi.set(__self__, "target_id", target_id) + _setter("target_id", target_id) @property @pulumi.getter(name="maskingPolicyId") @@ -104,6 +126,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + MaskDataArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/datasafe/masking_policies_apply_difference_to_masking_columns.py b/sdk/python/pulumi_oci/datasafe/masking_policies_apply_difference_to_masking_columns.py index ef7d92801e..c79754dd97 100644 --- a/sdk/python/pulumi_oci/datasafe/masking_policies_apply_difference_to_masking_columns.py +++ b/sdk/python/pulumi_oci/datasafe/masking_policies_apply_difference_to_masking_columns.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['MaskingPoliciesApplyDifferenceToMaskingColumnsArgs', 'MaskingPoliciesApplyDifferenceToMaskingColumns'] @@ -19,8 +19,19 @@ def __init__(__self__, *, """ The set of arguments for constructing a MaskingPoliciesApplyDifferenceToMaskingColumns resource. """ - pulumi.set(__self__, "masking_policy_id", masking_policy_id) - pulumi.set(__self__, "sdm_masking_policy_difference_id", sdm_masking_policy_difference_id) + MaskingPoliciesApplyDifferenceToMaskingColumnsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + masking_policy_id=masking_policy_id, + sdm_masking_policy_difference_id=sdm_masking_policy_difference_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + masking_policy_id: pulumi.Input[str], + sdm_masking_policy_difference_id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("masking_policy_id", masking_policy_id) + _setter("sdm_masking_policy_difference_id", sdm_masking_policy_difference_id) @property @pulumi.getter(name="maskingPolicyId") @@ -49,10 +60,21 @@ def __init__(__self__, *, """ Input properties used for looking up and filtering MaskingPoliciesApplyDifferenceToMaskingColumns resources. """ + _MaskingPoliciesApplyDifferenceToMaskingColumnsState._configure( + lambda key, value: pulumi.set(__self__, key, value), + masking_policy_id=masking_policy_id, + sdm_masking_policy_difference_id=sdm_masking_policy_difference_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + masking_policy_id: Optional[pulumi.Input[str]] = None, + sdm_masking_policy_difference_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if masking_policy_id is not None: - pulumi.set(__self__, "masking_policy_id", masking_policy_id) + _setter("masking_policy_id", masking_policy_id) if sdm_masking_policy_difference_id is not None: - pulumi.set(__self__, "sdm_masking_policy_difference_id", sdm_masking_policy_difference_id) + _setter("sdm_masking_policy_difference_id", sdm_masking_policy_difference_id) @property @pulumi.getter(name="maskingPolicyId") @@ -104,6 +126,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + MaskingPoliciesApplyDifferenceToMaskingColumnsArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/datasafe/masking_policies_masking_column.py b/sdk/python/pulumi_oci/datasafe/masking_policies_masking_column.py index 1c086002ea..ed89764630 100644 --- a/sdk/python/pulumi_oci/datasafe/masking_policies_masking_column.py +++ b/sdk/python/pulumi_oci/datasafe/masking_policies_masking_column.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -41,20 +41,45 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "column_name", column_name) - pulumi.set(__self__, "masking_policy_id", masking_policy_id) - pulumi.set(__self__, "object", object) - pulumi.set(__self__, "schema_name", schema_name) + MaskingPoliciesMaskingColumnArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + column_name=column_name, + masking_policy_id=masking_policy_id, + object=object, + schema_name=schema_name, + is_masking_enabled=is_masking_enabled, + masking_column_group=masking_column_group, + masking_formats=masking_formats, + object_type=object_type, + sensitive_type_id=sensitive_type_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + column_name: pulumi.Input[str], + masking_policy_id: pulumi.Input[str], + object: pulumi.Input[str], + schema_name: pulumi.Input[str], + is_masking_enabled: Optional[pulumi.Input[bool]] = None, + masking_column_group: Optional[pulumi.Input[str]] = None, + masking_formats: Optional[pulumi.Input[Sequence[pulumi.Input['MaskingPoliciesMaskingColumnMaskingFormatArgs']]]] = None, + object_type: Optional[pulumi.Input[str]] = None, + sensitive_type_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("column_name", column_name) + _setter("masking_policy_id", masking_policy_id) + _setter("object", object) + _setter("schema_name", schema_name) if is_masking_enabled is not None: - pulumi.set(__self__, "is_masking_enabled", is_masking_enabled) + _setter("is_masking_enabled", is_masking_enabled) if masking_column_group is not None: - pulumi.set(__self__, "masking_column_group", masking_column_group) + _setter("masking_column_group", masking_column_group) if masking_formats is not None: - pulumi.set(__self__, "masking_formats", masking_formats) + _setter("masking_formats", masking_formats) if object_type is not None: - pulumi.set(__self__, "object_type", object_type) + _setter("object_type", object_type) if sensitive_type_id is not None: - pulumi.set(__self__, "sensitive_type_id", sensitive_type_id) + _setter("sensitive_type_id", sensitive_type_id) @property @pulumi.getter(name="columnName") @@ -211,38 +236,77 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the masking column was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). :param pulumi.Input[str] time_updated: The date and time the masking column was last updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). """ + _MaskingPoliciesMaskingColumnState._configure( + lambda key, value: pulumi.set(__self__, key, value), + child_columns=child_columns, + column_name=column_name, + data_type=data_type, + is_masking_enabled=is_masking_enabled, + key=key, + lifecycle_details=lifecycle_details, + masking_column_group=masking_column_group, + masking_formats=masking_formats, + masking_policy_id=masking_policy_id, + object=object, + object_type=object_type, + schema_name=schema_name, + sensitive_type_id=sensitive_type_id, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + child_columns: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + column_name: Optional[pulumi.Input[str]] = None, + data_type: Optional[pulumi.Input[str]] = None, + is_masking_enabled: Optional[pulumi.Input[bool]] = None, + key: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + masking_column_group: Optional[pulumi.Input[str]] = None, + masking_formats: Optional[pulumi.Input[Sequence[pulumi.Input['MaskingPoliciesMaskingColumnMaskingFormatArgs']]]] = None, + masking_policy_id: Optional[pulumi.Input[str]] = None, + object: Optional[pulumi.Input[str]] = None, + object_type: Optional[pulumi.Input[str]] = None, + schema_name: Optional[pulumi.Input[str]] = None, + sensitive_type_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if child_columns is not None: - pulumi.set(__self__, "child_columns", child_columns) + _setter("child_columns", child_columns) if column_name is not None: - pulumi.set(__self__, "column_name", column_name) + _setter("column_name", column_name) if data_type is not None: - pulumi.set(__self__, "data_type", data_type) + _setter("data_type", data_type) if is_masking_enabled is not None: - pulumi.set(__self__, "is_masking_enabled", is_masking_enabled) + _setter("is_masking_enabled", is_masking_enabled) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if masking_column_group is not None: - pulumi.set(__self__, "masking_column_group", masking_column_group) + _setter("masking_column_group", masking_column_group) if masking_formats is not None: - pulumi.set(__self__, "masking_formats", masking_formats) + _setter("masking_formats", masking_formats) if masking_policy_id is not None: - pulumi.set(__self__, "masking_policy_id", masking_policy_id) + _setter("masking_policy_id", masking_policy_id) if object is not None: - pulumi.set(__self__, "object", object) + _setter("object", object) if object_type is not None: - pulumi.set(__self__, "object_type", object_type) + _setter("object_type", object_type) if schema_name is not None: - pulumi.set(__self__, "schema_name", schema_name) + _setter("schema_name", schema_name) if sensitive_type_id is not None: - pulumi.set(__self__, "sensitive_type_id", sensitive_type_id) + _setter("sensitive_type_id", sensitive_type_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="childColumns") @@ -644,6 +708,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + MaskingPoliciesMaskingColumnArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/datasafe/masking_policy.py b/sdk/python/pulumi_oci/datasafe/masking_policy.py index 9b912d05af..ba8b13ecf3 100644 --- a/sdk/python/pulumi_oci/datasafe/masking_policy.py +++ b/sdk/python/pulumi_oci/datasafe/masking_policy.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -51,32 +51,67 @@ def __init__(__self__, *, :param pulumi.Input[str] pre_masking_script: (Updatable) A pre-masking script, which can contain SQL and PL/SQL statements. It's executed before the core masking script generated using the masking policy. It's usually used to perform any preparation or prerequisite work before masking data. :param pulumi.Input[str] recompile: (Updatable) Specifies how to recompile invalid objects post data masking. Allowed values are 'SERIAL' (recompile in serial), 'PARALLEL' (recompile in parallel), 'NONE' (do not recompile). If it's set to PARALLEL, the value of parallelDegree attribute is used. Note that few objects may remain invalid even after recompiling once and you may have to further recompile manually using UTL_RECOMP package. """ - pulumi.set(__self__, "column_sources", column_sources) - pulumi.set(__self__, "compartment_id", compartment_id) + MaskingPolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + column_sources=column_sources, + compartment_id=compartment_id, + add_masking_columns_from_sdm_trigger=add_masking_columns_from_sdm_trigger, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + is_drop_temp_tables_enabled=is_drop_temp_tables_enabled, + is_redo_logging_enabled=is_redo_logging_enabled, + is_refresh_stats_enabled=is_refresh_stats_enabled, + parallel_degree=parallel_degree, + post_masking_script=post_masking_script, + pre_masking_script=pre_masking_script, + recompile=recompile, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + column_sources: pulumi.Input[Sequence[pulumi.Input['MaskingPolicyColumnSourceArgs']]], + compartment_id: pulumi.Input[str], + add_masking_columns_from_sdm_trigger: Optional[pulumi.Input[int]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_drop_temp_tables_enabled: Optional[pulumi.Input[bool]] = None, + is_redo_logging_enabled: Optional[pulumi.Input[bool]] = None, + is_refresh_stats_enabled: Optional[pulumi.Input[bool]] = None, + parallel_degree: Optional[pulumi.Input[str]] = None, + post_masking_script: Optional[pulumi.Input[str]] = None, + pre_masking_script: Optional[pulumi.Input[str]] = None, + recompile: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("column_sources", column_sources) + _setter("compartment_id", compartment_id) if add_masking_columns_from_sdm_trigger is not None: - pulumi.set(__self__, "add_masking_columns_from_sdm_trigger", add_masking_columns_from_sdm_trigger) + _setter("add_masking_columns_from_sdm_trigger", add_masking_columns_from_sdm_trigger) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_drop_temp_tables_enabled is not None: - pulumi.set(__self__, "is_drop_temp_tables_enabled", is_drop_temp_tables_enabled) + _setter("is_drop_temp_tables_enabled", is_drop_temp_tables_enabled) if is_redo_logging_enabled is not None: - pulumi.set(__self__, "is_redo_logging_enabled", is_redo_logging_enabled) + _setter("is_redo_logging_enabled", is_redo_logging_enabled) if is_refresh_stats_enabled is not None: - pulumi.set(__self__, "is_refresh_stats_enabled", is_refresh_stats_enabled) + _setter("is_refresh_stats_enabled", is_refresh_stats_enabled) if parallel_degree is not None: - pulumi.set(__self__, "parallel_degree", parallel_degree) + _setter("parallel_degree", parallel_degree) if post_masking_script is not None: - pulumi.set(__self__, "post_masking_script", post_masking_script) + _setter("post_masking_script", post_masking_script) if pre_masking_script is not None: - pulumi.set(__self__, "pre_masking_script", pre_masking_script) + _setter("pre_masking_script", pre_masking_script) if recompile is not None: - pulumi.set(__self__, "recompile", recompile) + _setter("recompile", recompile) @property @pulumi.getter(name="columnSources") @@ -295,40 +330,81 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the masking policy was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). :param pulumi.Input[str] time_updated: The date and time the masking policy was last updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339) """ + _MaskingPolicyState._configure( + lambda key, value: pulumi.set(__self__, key, value), + add_masking_columns_from_sdm_trigger=add_masking_columns_from_sdm_trigger, + column_sources=column_sources, + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + is_drop_temp_tables_enabled=is_drop_temp_tables_enabled, + is_redo_logging_enabled=is_redo_logging_enabled, + is_refresh_stats_enabled=is_refresh_stats_enabled, + parallel_degree=parallel_degree, + post_masking_script=post_masking_script, + pre_masking_script=pre_masking_script, + recompile=recompile, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + add_masking_columns_from_sdm_trigger: Optional[pulumi.Input[int]] = None, + column_sources: Optional[pulumi.Input[Sequence[pulumi.Input['MaskingPolicyColumnSourceArgs']]]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_drop_temp_tables_enabled: Optional[pulumi.Input[bool]] = None, + is_redo_logging_enabled: Optional[pulumi.Input[bool]] = None, + is_refresh_stats_enabled: Optional[pulumi.Input[bool]] = None, + parallel_degree: Optional[pulumi.Input[str]] = None, + post_masking_script: Optional[pulumi.Input[str]] = None, + pre_masking_script: Optional[pulumi.Input[str]] = None, + recompile: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if add_masking_columns_from_sdm_trigger is not None: - pulumi.set(__self__, "add_masking_columns_from_sdm_trigger", add_masking_columns_from_sdm_trigger) + _setter("add_masking_columns_from_sdm_trigger", add_masking_columns_from_sdm_trigger) if column_sources is not None: - pulumi.set(__self__, "column_sources", column_sources) + _setter("column_sources", column_sources) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_drop_temp_tables_enabled is not None: - pulumi.set(__self__, "is_drop_temp_tables_enabled", is_drop_temp_tables_enabled) + _setter("is_drop_temp_tables_enabled", is_drop_temp_tables_enabled) if is_redo_logging_enabled is not None: - pulumi.set(__self__, "is_redo_logging_enabled", is_redo_logging_enabled) + _setter("is_redo_logging_enabled", is_redo_logging_enabled) if is_refresh_stats_enabled is not None: - pulumi.set(__self__, "is_refresh_stats_enabled", is_refresh_stats_enabled) + _setter("is_refresh_stats_enabled", is_refresh_stats_enabled) if parallel_degree is not None: - pulumi.set(__self__, "parallel_degree", parallel_degree) + _setter("parallel_degree", parallel_degree) if post_masking_script is not None: - pulumi.set(__self__, "post_masking_script", post_masking_script) + _setter("post_masking_script", post_masking_script) if pre_masking_script is not None: - pulumi.set(__self__, "pre_masking_script", pre_masking_script) + _setter("pre_masking_script", pre_masking_script) if recompile is not None: - pulumi.set(__self__, "recompile", recompile) + _setter("recompile", recompile) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="addMaskingColumnsFromSdmTrigger") @@ -714,6 +790,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + MaskingPolicyArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/datasafe/on_prem_connector.py b/sdk/python/pulumi_oci/datasafe/on_prem_connector.py index 2c5b0ccedc..6a37ecf9d1 100644 --- a/sdk/python/pulumi_oci/datasafe/on_prem_connector.py +++ b/sdk/python/pulumi_oci/datasafe/on_prem_connector.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['OnPremConnectorArgs', 'OnPremConnector'] @@ -31,15 +31,32 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) + OnPremConnectorArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="compartmentId") @@ -138,28 +155,57 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] system_tags: System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: `{"orcl-cloud.free-tier-retained": "true"}` :param pulumi.Input[str] time_created: The date and time the on-premises connector was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). """ + _OnPremConnectorState._configure( + lambda key, value: pulumi.set(__self__, key, value), + available_version=available_version, + compartment_id=compartment_id, + created_version=created_version, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + state=state, + system_tags=system_tags, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + available_version: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + created_version: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if available_version is not None: - pulumi.set(__self__, "available_version", available_version) + _setter("available_version", available_version) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if created_version is not None: - pulumi.set(__self__, "created_version", created_version) + _setter("created_version", created_version) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="availableVersion") @@ -399,6 +445,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + OnPremConnectorArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/datasafe/outputs.py b/sdk/python/pulumi_oci/datasafe/outputs.py index 314ea6ab2a..e6beefbf96 100644 --- a/sdk/python/pulumi_oci/datasafe/outputs.py +++ b/sdk/python/pulumi_oci/datasafe/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -318,14 +318,29 @@ def __init__(__self__, *, :param bool is_data_safe_service_account_audited: Indicates whether the Data Safe user activity on the target database will be audited by the policy. :param bool is_priv_users_managed_by_data_safe: Indicates whether the privileged user list is managed by Data Safe. """ + AuditPolicyAuditCondition._configure( + lambda key, value: pulumi.set(__self__, key, value), + audit_policy_name=audit_policy_name, + enable_conditions=enable_conditions, + is_data_safe_service_account_audited=is_data_safe_service_account_audited, + is_priv_users_managed_by_data_safe=is_priv_users_managed_by_data_safe, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + audit_policy_name: Optional[str] = None, + enable_conditions: Optional[Sequence['outputs.AuditPolicyAuditConditionEnableCondition']] = None, + is_data_safe_service_account_audited: Optional[bool] = None, + is_priv_users_managed_by_data_safe: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): if audit_policy_name is not None: - pulumi.set(__self__, "audit_policy_name", audit_policy_name) + _setter("audit_policy_name", audit_policy_name) if enable_conditions is not None: - pulumi.set(__self__, "enable_conditions", enable_conditions) + _setter("enable_conditions", enable_conditions) if is_data_safe_service_account_audited is not None: - pulumi.set(__self__, "is_data_safe_service_account_audited", is_data_safe_service_account_audited) + _setter("is_data_safe_service_account_audited", is_data_safe_service_account_audited) if is_priv_users_managed_by_data_safe is not None: - pulumi.set(__self__, "is_priv_users_managed_by_data_safe", is_priv_users_managed_by_data_safe) + _setter("is_priv_users_managed_by_data_safe", is_priv_users_managed_by_data_safe) @property @pulumi.getter(name="auditPolicyName") @@ -396,14 +411,29 @@ def __init__(__self__, *, :param str entity_type: The entity type that the policy must be enabled for. :param str operation_status: The operation status that the policy must be enabled for. """ + AuditPolicyAuditConditionEnableCondition._configure( + lambda key, value: pulumi.set(__self__, key, value), + entity_names=entity_names, + entity_selection=entity_selection, + entity_type=entity_type, + operation_status=operation_status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + entity_names: Optional[Sequence[str]] = None, + entity_selection: Optional[str] = None, + entity_type: Optional[str] = None, + operation_status: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if entity_names is not None: - pulumi.set(__self__, "entity_names", entity_names) + _setter("entity_names", entity_names) if entity_selection is not None: - pulumi.set(__self__, "entity_selection", entity_selection) + _setter("entity_selection", entity_selection) if entity_type is not None: - pulumi.set(__self__, "entity_type", entity_type) + _setter("entity_type", entity_type) if operation_status is not None: - pulumi.set(__self__, "operation_status", operation_status) + _setter("operation_status", operation_status) @property @pulumi.getter(name="entityNames") @@ -502,28 +532,57 @@ def __init__(__self__, *, :param bool is_view_only: Indicates whether the audit policy is available for provisioning/ de-provisioning from Oracle Data Safe, or is only available for displaying the current provisioning status from the target. :param str partially_enabled_msg: Provides information about the policy that has been only partially enabled. """ + AuditPolicyAuditSpecification._configure( + lambda key, value: pulumi.set(__self__, key, value), + audit_policy_category=audit_policy_category, + audit_policy_name=audit_policy_name, + database_policy_names=database_policy_names, + enable_status=enable_status, + enabled_entities=enabled_entities, + is_created=is_created, + is_enabled_for_all_users=is_enabled_for_all_users, + is_seeded_in_data_safe=is_seeded_in_data_safe, + is_seeded_in_target=is_seeded_in_target, + is_view_only=is_view_only, + partially_enabled_msg=partially_enabled_msg, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + audit_policy_category: Optional[str] = None, + audit_policy_name: Optional[str] = None, + database_policy_names: Optional[Sequence[str]] = None, + enable_status: Optional[str] = None, + enabled_entities: Optional[str] = None, + is_created: Optional[bool] = None, + is_enabled_for_all_users: Optional[bool] = None, + is_seeded_in_data_safe: Optional[bool] = None, + is_seeded_in_target: Optional[bool] = None, + is_view_only: Optional[bool] = None, + partially_enabled_msg: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if audit_policy_category is not None: - pulumi.set(__self__, "audit_policy_category", audit_policy_category) + _setter("audit_policy_category", audit_policy_category) if audit_policy_name is not None: - pulumi.set(__self__, "audit_policy_name", audit_policy_name) + _setter("audit_policy_name", audit_policy_name) if database_policy_names is not None: - pulumi.set(__self__, "database_policy_names", database_policy_names) + _setter("database_policy_names", database_policy_names) if enable_status is not None: - pulumi.set(__self__, "enable_status", enable_status) + _setter("enable_status", enable_status) if enabled_entities is not None: - pulumi.set(__self__, "enabled_entities", enabled_entities) + _setter("enabled_entities", enabled_entities) if is_created is not None: - pulumi.set(__self__, "is_created", is_created) + _setter("is_created", is_created) if is_enabled_for_all_users is not None: - pulumi.set(__self__, "is_enabled_for_all_users", is_enabled_for_all_users) + _setter("is_enabled_for_all_users", is_enabled_for_all_users) if is_seeded_in_data_safe is not None: - pulumi.set(__self__, "is_seeded_in_data_safe", is_seeded_in_data_safe) + _setter("is_seeded_in_data_safe", is_seeded_in_data_safe) if is_seeded_in_target is not None: - pulumi.set(__self__, "is_seeded_in_target", is_seeded_in_target) + _setter("is_seeded_in_target", is_seeded_in_target) if is_view_only is not None: - pulumi.set(__self__, "is_view_only", is_view_only) + _setter("is_view_only", is_view_only) if partially_enabled_msg is not None: - pulumi.set(__self__, "partially_enabled_msg", partially_enabled_msg) + _setter("partially_enabled_msg", partially_enabled_msg) @property @pulumi.getter(name="auditPolicyCategory") @@ -702,44 +761,89 @@ def __init__(__self__, *, :param str trail_location: An audit trail location represents the source of audit records that provides documentary evidence of the sequence of activities in the target database. :param str work_request_id: The OCID of the workrequest for audit trail which collects audit records. """ + AuditProfileAuditTrail._configure( + lambda key, value: pulumi.set(__self__, key, value), + audit_collection_start_time=audit_collection_start_time, + audit_profile_id=audit_profile_id, + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + is_auto_purge_enabled=is_auto_purge_enabled, + lifecycle_details=lifecycle_details, + state=state, + status=status, + system_tags=system_tags, + target_id=target_id, + time_created=time_created, + time_last_collected=time_last_collected, + time_updated=time_updated, + trail_location=trail_location, + work_request_id=work_request_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + audit_collection_start_time: Optional[str] = None, + audit_profile_id: Optional[str] = None, + compartment_id: Optional[str] = None, + defined_tags: Optional[Mapping[str, Any]] = None, + description: Optional[str] = None, + display_name: Optional[str] = None, + freeform_tags: Optional[Mapping[str, Any]] = None, + id: Optional[str] = None, + is_auto_purge_enabled: Optional[bool] = None, + lifecycle_details: Optional[str] = None, + state: Optional[str] = None, + status: Optional[str] = None, + system_tags: Optional[Mapping[str, Any]] = None, + target_id: Optional[str] = None, + time_created: Optional[str] = None, + time_last_collected: Optional[str] = None, + time_updated: Optional[str] = None, + trail_location: Optional[str] = None, + work_request_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if audit_collection_start_time is not None: - pulumi.set(__self__, "audit_collection_start_time", audit_collection_start_time) + _setter("audit_collection_start_time", audit_collection_start_time) if audit_profile_id is not None: - pulumi.set(__self__, "audit_profile_id", audit_profile_id) + _setter("audit_profile_id", audit_profile_id) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if is_auto_purge_enabled is not None: - pulumi.set(__self__, "is_auto_purge_enabled", is_auto_purge_enabled) + _setter("is_auto_purge_enabled", is_auto_purge_enabled) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if target_id is not None: - pulumi.set(__self__, "target_id", target_id) + _setter("target_id", target_id) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_last_collected is not None: - pulumi.set(__self__, "time_last_collected", time_last_collected) + _setter("time_last_collected", time_last_collected) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if trail_location is not None: - pulumi.set(__self__, "trail_location", trail_location) + _setter("trail_location", trail_location) if work_request_id is not None: - pulumi.set(__self__, "work_request_id", work_request_id) + _setter("work_request_id", work_request_id) @property @pulumi.getter(name="auditCollectionStartTime") @@ -926,12 +1030,25 @@ def __init__(__self__, *, :param int offline_retention_period: The offline retention period in months. :param int online_retention_period: The online retention period in months. """ + DataSafeConfigurationGlobalSetting._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_paid_usage=is_paid_usage, + offline_retention_period=offline_retention_period, + online_retention_period=online_retention_period, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_paid_usage: Optional[bool] = None, + offline_retention_period: Optional[int] = None, + online_retention_period: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_paid_usage is not None: - pulumi.set(__self__, "is_paid_usage", is_paid_usage) + _setter("is_paid_usage", is_paid_usage) if offline_retention_period is not None: - pulumi.set(__self__, "offline_retention_period", offline_retention_period) + _setter("offline_retention_period", offline_retention_period) if online_retention_period is not None: - pulumi.set(__self__, "online_retention_period", online_retention_period) + _setter("online_retention_period", online_retention_period) @property @pulumi.getter(name="isPaidUsage") @@ -986,10 +1103,21 @@ def __init__(__self__, *, :param Sequence[str] app_defined_child_column_keys: Unique keys identifying the columns that are application-level (non-dictionary) children of the sensitive column. :param Sequence[str] db_defined_child_column_keys: Unique keys identifying the columns that are database-level (dictionary-defined) children of the sensitive column. """ + DiscoveryJobsResultModifiedAttribute._configure( + lambda key, value: pulumi.set(__self__, key, value), + app_defined_child_column_keys=app_defined_child_column_keys, + db_defined_child_column_keys=db_defined_child_column_keys, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + app_defined_child_column_keys: Optional[Sequence[str]] = None, + db_defined_child_column_keys: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if app_defined_child_column_keys is not None: - pulumi.set(__self__, "app_defined_child_column_keys", app_defined_child_column_keys) + _setter("app_defined_child_column_keys", app_defined_child_column_keys) if db_defined_child_column_keys is not None: - pulumi.set(__self__, "db_defined_child_column_keys", db_defined_child_column_keys) + _setter("db_defined_child_column_keys", db_defined_child_column_keys) @property @pulumi.getter(name="appDefinedChildColumnKeys") @@ -1118,51 +1246,104 @@ def __init__(__self__, *, :param str table_name: (Updatable) The name of the table that contains the substitution column. :param str user_defined_function: (Updatable) The user-defined function in SCHEMA_NAME.PACKAGE_NAME.FUNCTION_NAME format. It can be a standalone or packaged function, so PACKAGE_NAME is optional. """ - pulumi.set(__self__, "type", type) + LibraryMasingFormatFormatEntry._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + column_name=column_name, + description=description, + end_date=end_date, + end_length=end_length, + end_value=end_value, + fixed_number=fixed_number, + fixed_string=fixed_string, + grouping_columns=grouping_columns, + length=length, + library_masking_format_id=library_masking_format_id, + post_processing_function=post_processing_function, + random_lists=random_lists, + regular_expression=regular_expression, + replace_with=replace_with, + schema_name=schema_name, + sql_expression=sql_expression, + start_date=start_date, + start_length=start_length, + start_position=start_position, + start_value=start_value, + table_name=table_name, + user_defined_function=user_defined_function, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + column_name: Optional[str] = None, + description: Optional[str] = None, + end_date: Optional[str] = None, + end_length: Optional[int] = None, + end_value: Optional[float] = None, + fixed_number: Optional[float] = None, + fixed_string: Optional[str] = None, + grouping_columns: Optional[Sequence[str]] = None, + length: Optional[int] = None, + library_masking_format_id: Optional[str] = None, + post_processing_function: Optional[str] = None, + random_lists: Optional[Sequence[str]] = None, + regular_expression: Optional[str] = None, + replace_with: Optional[str] = None, + schema_name: Optional[str] = None, + sql_expression: Optional[str] = None, + start_date: Optional[str] = None, + start_length: Optional[int] = None, + start_position: Optional[int] = None, + start_value: Optional[float] = None, + table_name: Optional[str] = None, + user_defined_function: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if column_name is not None: - pulumi.set(__self__, "column_name", column_name) + _setter("column_name", column_name) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if end_date is not None: - pulumi.set(__self__, "end_date", end_date) + _setter("end_date", end_date) if end_length is not None: - pulumi.set(__self__, "end_length", end_length) + _setter("end_length", end_length) if end_value is not None: - pulumi.set(__self__, "end_value", end_value) + _setter("end_value", end_value) if fixed_number is not None: - pulumi.set(__self__, "fixed_number", fixed_number) + _setter("fixed_number", fixed_number) if fixed_string is not None: - pulumi.set(__self__, "fixed_string", fixed_string) + _setter("fixed_string", fixed_string) if grouping_columns is not None: - pulumi.set(__self__, "grouping_columns", grouping_columns) + _setter("grouping_columns", grouping_columns) if length is not None: - pulumi.set(__self__, "length", length) + _setter("length", length) if library_masking_format_id is not None: - pulumi.set(__self__, "library_masking_format_id", library_masking_format_id) + _setter("library_masking_format_id", library_masking_format_id) if post_processing_function is not None: - pulumi.set(__self__, "post_processing_function", post_processing_function) + _setter("post_processing_function", post_processing_function) if random_lists is not None: - pulumi.set(__self__, "random_lists", random_lists) + _setter("random_lists", random_lists) if regular_expression is not None: - pulumi.set(__self__, "regular_expression", regular_expression) + _setter("regular_expression", regular_expression) if replace_with is not None: - pulumi.set(__self__, "replace_with", replace_with) + _setter("replace_with", replace_with) if schema_name is not None: - pulumi.set(__self__, "schema_name", schema_name) + _setter("schema_name", schema_name) if sql_expression is not None: - pulumi.set(__self__, "sql_expression", sql_expression) + _setter("sql_expression", sql_expression) if start_date is not None: - pulumi.set(__self__, "start_date", start_date) + _setter("start_date", start_date) if start_length is not None: - pulumi.set(__self__, "start_length", start_length) + _setter("start_length", start_length) if start_position is not None: - pulumi.set(__self__, "start_position", start_position) + _setter("start_position", start_position) if start_value is not None: - pulumi.set(__self__, "start_value", start_value) + _setter("start_value", start_value) if table_name is not None: - pulumi.set(__self__, "table_name", table_name) + _setter("table_name", table_name) if user_defined_function is not None: - pulumi.set(__self__, "user_defined_function", user_defined_function) + _setter("user_defined_function", user_defined_function) @property @pulumi.getter @@ -1381,11 +1562,24 @@ def __init__(__self__, *, :param str condition: (Updatable) A condition that must be true for applying the masking format. It can be any valid SQL construct that can be used in a SQL predicate. It enables you to do conditional masking so that you can mask the column data values differently using different masking formats and the associated conditions. :param str description: (Updatable) The description of the format entry. """ - pulumi.set(__self__, "format_entries", format_entries) + MaskingPoliciesMaskingColumnMaskingFormat._configure( + lambda key, value: pulumi.set(__self__, key, value), + format_entries=format_entries, + condition=condition, + description=description, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + format_entries: Sequence['outputs.MaskingPoliciesMaskingColumnMaskingFormatFormatEntry'], + condition: Optional[str] = None, + description: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("format_entries", format_entries) if condition is not None: - pulumi.set(__self__, "condition", condition) + _setter("condition", condition) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) @property @pulumi.getter(name="formatEntries") @@ -1522,51 +1716,104 @@ def __init__(__self__, *, :param str table_name: (Updatable) The name of the table that contains the substitution column. :param str user_defined_function: (Updatable) The user-defined function in SCHEMA_NAME.PACKAGE_NAME.FUNCTION_NAME format. It can be a standalone or packaged function, so PACKAGE_NAME is optional. """ - pulumi.set(__self__, "type", type) + MaskingPoliciesMaskingColumnMaskingFormatFormatEntry._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + column_name=column_name, + description=description, + end_date=end_date, + end_length=end_length, + end_value=end_value, + fixed_number=fixed_number, + fixed_string=fixed_string, + grouping_columns=grouping_columns, + length=length, + library_masking_format_id=library_masking_format_id, + post_processing_function=post_processing_function, + random_lists=random_lists, + regular_expression=regular_expression, + replace_with=replace_with, + schema_name=schema_name, + sql_expression=sql_expression, + start_date=start_date, + start_length=start_length, + start_position=start_position, + start_value=start_value, + table_name=table_name, + user_defined_function=user_defined_function, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + column_name: Optional[str] = None, + description: Optional[str] = None, + end_date: Optional[str] = None, + end_length: Optional[int] = None, + end_value: Optional[float] = None, + fixed_number: Optional[float] = None, + fixed_string: Optional[str] = None, + grouping_columns: Optional[Sequence[str]] = None, + length: Optional[int] = None, + library_masking_format_id: Optional[str] = None, + post_processing_function: Optional[str] = None, + random_lists: Optional[Sequence[str]] = None, + regular_expression: Optional[str] = None, + replace_with: Optional[str] = None, + schema_name: Optional[str] = None, + sql_expression: Optional[str] = None, + start_date: Optional[str] = None, + start_length: Optional[int] = None, + start_position: Optional[int] = None, + start_value: Optional[float] = None, + table_name: Optional[str] = None, + user_defined_function: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if column_name is not None: - pulumi.set(__self__, "column_name", column_name) + _setter("column_name", column_name) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if end_date is not None: - pulumi.set(__self__, "end_date", end_date) + _setter("end_date", end_date) if end_length is not None: - pulumi.set(__self__, "end_length", end_length) + _setter("end_length", end_length) if end_value is not None: - pulumi.set(__self__, "end_value", end_value) + _setter("end_value", end_value) if fixed_number is not None: - pulumi.set(__self__, "fixed_number", fixed_number) + _setter("fixed_number", fixed_number) if fixed_string is not None: - pulumi.set(__self__, "fixed_string", fixed_string) + _setter("fixed_string", fixed_string) if grouping_columns is not None: - pulumi.set(__self__, "grouping_columns", grouping_columns) + _setter("grouping_columns", grouping_columns) if length is not None: - pulumi.set(__self__, "length", length) + _setter("length", length) if library_masking_format_id is not None: - pulumi.set(__self__, "library_masking_format_id", library_masking_format_id) + _setter("library_masking_format_id", library_masking_format_id) if post_processing_function is not None: - pulumi.set(__self__, "post_processing_function", post_processing_function) + _setter("post_processing_function", post_processing_function) if random_lists is not None: - pulumi.set(__self__, "random_lists", random_lists) + _setter("random_lists", random_lists) if regular_expression is not None: - pulumi.set(__self__, "regular_expression", regular_expression) + _setter("regular_expression", regular_expression) if replace_with is not None: - pulumi.set(__self__, "replace_with", replace_with) + _setter("replace_with", replace_with) if schema_name is not None: - pulumi.set(__self__, "schema_name", schema_name) + _setter("schema_name", schema_name) if sql_expression is not None: - pulumi.set(__self__, "sql_expression", sql_expression) + _setter("sql_expression", sql_expression) if start_date is not None: - pulumi.set(__self__, "start_date", start_date) + _setter("start_date", start_date) if start_length is not None: - pulumi.set(__self__, "start_length", start_length) + _setter("start_length", start_length) if start_position is not None: - pulumi.set(__self__, "start_position", start_position) + _setter("start_position", start_position) if start_value is not None: - pulumi.set(__self__, "start_value", start_value) + _setter("start_value", start_value) if table_name is not None: - pulumi.set(__self__, "table_name", table_name) + _setter("table_name", table_name) if user_defined_function is not None: - pulumi.set(__self__, "user_defined_function", user_defined_function) + _setter("user_defined_function", user_defined_function) @property @pulumi.getter @@ -1789,11 +2036,24 @@ def __init__(__self__, *, :param str sensitive_data_model_id: (Updatable) The OCID of the sensitive data model to be associated as the column source with the masking policy. :param str target_id: (Updatable) The OCID of the target database to be associated as the column source with the masking policy. """ - pulumi.set(__self__, "column_source", column_source) + MaskingPolicyColumnSource._configure( + lambda key, value: pulumi.set(__self__, key, value), + column_source=column_source, + sensitive_data_model_id=sensitive_data_model_id, + target_id=target_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + column_source: str, + sensitive_data_model_id: Optional[str] = None, + target_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("column_source", column_source) if sensitive_data_model_id is not None: - pulumi.set(__self__, "sensitive_data_model_id", sensitive_data_model_id) + _setter("sensitive_data_model_id", sensitive_data_model_id) if target_id is not None: - pulumi.set(__self__, "target_id", target_id) + _setter("target_id", target_id) @property @pulumi.getter(name="columnSource") @@ -1856,11 +2116,28 @@ def __init__(__self__, *, :param bool is_hidden: (Updatable) Indicates if the summary is hidden. Values can either be 'true' or 'false'. :param str operator: (Updatable) Specifies the type of operator that must be applied for example in, eq etc. """ - pulumi.set(__self__, "expressions", expressions) - pulumi.set(__self__, "field_name", field_name) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "is_hidden", is_hidden) - pulumi.set(__self__, "operator", operator) + ReportDefinitionColumnFilter._configure( + lambda key, value: pulumi.set(__self__, key, value), + expressions=expressions, + field_name=field_name, + is_enabled=is_enabled, + is_hidden=is_hidden, + operator=operator, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + expressions: Sequence[str], + field_name: str, + is_enabled: bool, + is_hidden: bool, + operator: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("expressions", expressions) + _setter("field_name", field_name) + _setter("is_enabled", is_enabled) + _setter("is_hidden", is_hidden) + _setter("operator", operator) @property @pulumi.getter @@ -1943,12 +2220,29 @@ def __init__(__self__, *, :param bool is_hidden: (Updatable) Indicates if the summary is hidden. Values can either be 'true' or 'false'. :param str data_type: (Updatable) Specifies the data type of the column. """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "display_order", display_order) - pulumi.set(__self__, "field_name", field_name) - pulumi.set(__self__, "is_hidden", is_hidden) + ReportDefinitionColumnInfo._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + display_order=display_order, + field_name=field_name, + is_hidden=is_hidden, + data_type=data_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + display_order: int, + field_name: str, + is_hidden: bool, + data_type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("display_order", display_order) + _setter("field_name", field_name) + _setter("is_hidden", is_hidden) if data_type is not None: - pulumi.set(__self__, "data_type", data_type) + _setter("data_type", data_type) @property @pulumi.getter(name="displayName") @@ -2023,9 +2317,22 @@ def __init__(__self__, *, :param bool is_ascending: (Updatable) Indicates if the column must be sorted in ascending order. Values can either be 'true' or 'false'. :param int sorting_order: (Updatable) Indicates the order at which column must be sorted. """ - pulumi.set(__self__, "field_name", field_name) - pulumi.set(__self__, "is_ascending", is_ascending) - pulumi.set(__self__, "sorting_order", sorting_order) + ReportDefinitionColumnSorting._configure( + lambda key, value: pulumi.set(__self__, key, value), + field_name=field_name, + is_ascending=is_ascending, + sorting_order=sorting_order, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + field_name: str, + is_ascending: bool, + sorting_order: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("field_name", field_name) + _setter("is_ascending", is_ascending) + _setter("sorting_order", sorting_order) @property @pulumi.getter(name="fieldName") @@ -2098,16 +2405,35 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "display_order", display_order) - pulumi.set(__self__, "name", name) + ReportDefinitionSummary._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_order=display_order, + name=name, + count_of=count_of, + group_by_field_name=group_by_field_name, + is_hidden=is_hidden, + scim_filter=scim_filter, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_order: int, + name: str, + count_of: Optional[str] = None, + group_by_field_name: Optional[str] = None, + is_hidden: Optional[bool] = None, + scim_filter: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_order", display_order) + _setter("name", name) if count_of is not None: - pulumi.set(__self__, "count_of", count_of) + _setter("count_of", count_of) if group_by_field_name is not None: - pulumi.set(__self__, "group_by_field_name", group_by_field_name) + _setter("group_by_field_name", group_by_field_name) if is_hidden is not None: - pulumi.set(__self__, "is_hidden", is_hidden) + _setter("is_hidden", is_hidden) if scim_filter is not None: - pulumi.set(__self__, "scim_filter", scim_filter) + _setter("scim_filter", scim_filter) @property @pulumi.getter(name="displayOrder") @@ -2204,20 +2530,41 @@ def __init__(__self__, *, :param Sequence['SecurityAssessmentStatisticPassArgs'] passes: Statistics showing the number of findings with a particular risk level for each category. :param int targets_count: The total number of targets in this security assessment. """ + SecurityAssessmentStatistic._configure( + lambda key, value: pulumi.set(__self__, key, value), + advisories=advisories, + evaluates=evaluates, + high_risks=high_risks, + low_risks=low_risks, + medium_risks=medium_risks, + passes=passes, + targets_count=targets_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + advisories: Optional[Sequence['outputs.SecurityAssessmentStatisticAdvisory']] = None, + evaluates: Optional[Sequence['outputs.SecurityAssessmentStatisticEvaluate']] = None, + high_risks: Optional[Sequence['outputs.SecurityAssessmentStatisticHighRisk']] = None, + low_risks: Optional[Sequence['outputs.SecurityAssessmentStatisticLowRisk']] = None, + medium_risks: Optional[Sequence['outputs.SecurityAssessmentStatisticMediumRisk']] = None, + passes: Optional[Sequence['outputs.SecurityAssessmentStatisticPass']] = None, + targets_count: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if advisories is not None: - pulumi.set(__self__, "advisories", advisories) + _setter("advisories", advisories) if evaluates is not None: - pulumi.set(__self__, "evaluates", evaluates) + _setter("evaluates", evaluates) if high_risks is not None: - pulumi.set(__self__, "high_risks", high_risks) + _setter("high_risks", high_risks) if low_risks is not None: - pulumi.set(__self__, "low_risks", low_risks) + _setter("low_risks", low_risks) if medium_risks is not None: - pulumi.set(__self__, "medium_risks", medium_risks) + _setter("medium_risks", medium_risks) if passes is not None: - pulumi.set(__self__, "passes", passes) + _setter("passes", passes) if targets_count is not None: - pulumi.set(__self__, "targets_count", targets_count) + _setter("targets_count", targets_count) @property @pulumi.getter @@ -2328,22 +2675,45 @@ def __init__(__self__, *, :param int targets_count: The total number of targets in this security assessment. :param int user_accounts_findings_count: The number of findings in the User Accounts category. """ + SecurityAssessmentStatisticAdvisory._configure( + lambda key, value: pulumi.set(__self__, key, value), + auditing_findings_count=auditing_findings_count, + authorization_control_findings_count=authorization_control_findings_count, + data_encryption_findings_count=data_encryption_findings_count, + db_configuration_findings_count=db_configuration_findings_count, + fine_grained_access_control_findings_count=fine_grained_access_control_findings_count, + privileges_and_roles_findings_count=privileges_and_roles_findings_count, + targets_count=targets_count, + user_accounts_findings_count=user_accounts_findings_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + auditing_findings_count: Optional[int] = None, + authorization_control_findings_count: Optional[int] = None, + data_encryption_findings_count: Optional[int] = None, + db_configuration_findings_count: Optional[int] = None, + fine_grained_access_control_findings_count: Optional[int] = None, + privileges_and_roles_findings_count: Optional[int] = None, + targets_count: Optional[int] = None, + user_accounts_findings_count: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if auditing_findings_count is not None: - pulumi.set(__self__, "auditing_findings_count", auditing_findings_count) + _setter("auditing_findings_count", auditing_findings_count) if authorization_control_findings_count is not None: - pulumi.set(__self__, "authorization_control_findings_count", authorization_control_findings_count) + _setter("authorization_control_findings_count", authorization_control_findings_count) if data_encryption_findings_count is not None: - pulumi.set(__self__, "data_encryption_findings_count", data_encryption_findings_count) + _setter("data_encryption_findings_count", data_encryption_findings_count) if db_configuration_findings_count is not None: - pulumi.set(__self__, "db_configuration_findings_count", db_configuration_findings_count) + _setter("db_configuration_findings_count", db_configuration_findings_count) if fine_grained_access_control_findings_count is not None: - pulumi.set(__self__, "fine_grained_access_control_findings_count", fine_grained_access_control_findings_count) + _setter("fine_grained_access_control_findings_count", fine_grained_access_control_findings_count) if privileges_and_roles_findings_count is not None: - pulumi.set(__self__, "privileges_and_roles_findings_count", privileges_and_roles_findings_count) + _setter("privileges_and_roles_findings_count", privileges_and_roles_findings_count) if targets_count is not None: - pulumi.set(__self__, "targets_count", targets_count) + _setter("targets_count", targets_count) if user_accounts_findings_count is not None: - pulumi.set(__self__, "user_accounts_findings_count", user_accounts_findings_count) + _setter("user_accounts_findings_count", user_accounts_findings_count) @property @pulumi.getter(name="auditingFindingsCount") @@ -2462,22 +2832,45 @@ def __init__(__self__, *, :param int targets_count: The total number of targets in this security assessment. :param int user_accounts_findings_count: The number of findings in the User Accounts category. """ + SecurityAssessmentStatisticEvaluate._configure( + lambda key, value: pulumi.set(__self__, key, value), + auditing_findings_count=auditing_findings_count, + authorization_control_findings_count=authorization_control_findings_count, + data_encryption_findings_count=data_encryption_findings_count, + db_configuration_findings_count=db_configuration_findings_count, + fine_grained_access_control_findings_count=fine_grained_access_control_findings_count, + privileges_and_roles_findings_count=privileges_and_roles_findings_count, + targets_count=targets_count, + user_accounts_findings_count=user_accounts_findings_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + auditing_findings_count: Optional[int] = None, + authorization_control_findings_count: Optional[int] = None, + data_encryption_findings_count: Optional[int] = None, + db_configuration_findings_count: Optional[int] = None, + fine_grained_access_control_findings_count: Optional[int] = None, + privileges_and_roles_findings_count: Optional[int] = None, + targets_count: Optional[int] = None, + user_accounts_findings_count: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if auditing_findings_count is not None: - pulumi.set(__self__, "auditing_findings_count", auditing_findings_count) + _setter("auditing_findings_count", auditing_findings_count) if authorization_control_findings_count is not None: - pulumi.set(__self__, "authorization_control_findings_count", authorization_control_findings_count) + _setter("authorization_control_findings_count", authorization_control_findings_count) if data_encryption_findings_count is not None: - pulumi.set(__self__, "data_encryption_findings_count", data_encryption_findings_count) + _setter("data_encryption_findings_count", data_encryption_findings_count) if db_configuration_findings_count is not None: - pulumi.set(__self__, "db_configuration_findings_count", db_configuration_findings_count) + _setter("db_configuration_findings_count", db_configuration_findings_count) if fine_grained_access_control_findings_count is not None: - pulumi.set(__self__, "fine_grained_access_control_findings_count", fine_grained_access_control_findings_count) + _setter("fine_grained_access_control_findings_count", fine_grained_access_control_findings_count) if privileges_and_roles_findings_count is not None: - pulumi.set(__self__, "privileges_and_roles_findings_count", privileges_and_roles_findings_count) + _setter("privileges_and_roles_findings_count", privileges_and_roles_findings_count) if targets_count is not None: - pulumi.set(__self__, "targets_count", targets_count) + _setter("targets_count", targets_count) if user_accounts_findings_count is not None: - pulumi.set(__self__, "user_accounts_findings_count", user_accounts_findings_count) + _setter("user_accounts_findings_count", user_accounts_findings_count) @property @pulumi.getter(name="auditingFindingsCount") @@ -2596,22 +2989,45 @@ def __init__(__self__, *, :param int targets_count: The total number of targets in this security assessment. :param int user_accounts_findings_count: The number of findings in the User Accounts category. """ + SecurityAssessmentStatisticHighRisk._configure( + lambda key, value: pulumi.set(__self__, key, value), + auditing_findings_count=auditing_findings_count, + authorization_control_findings_count=authorization_control_findings_count, + data_encryption_findings_count=data_encryption_findings_count, + db_configuration_findings_count=db_configuration_findings_count, + fine_grained_access_control_findings_count=fine_grained_access_control_findings_count, + privileges_and_roles_findings_count=privileges_and_roles_findings_count, + targets_count=targets_count, + user_accounts_findings_count=user_accounts_findings_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + auditing_findings_count: Optional[int] = None, + authorization_control_findings_count: Optional[int] = None, + data_encryption_findings_count: Optional[int] = None, + db_configuration_findings_count: Optional[int] = None, + fine_grained_access_control_findings_count: Optional[int] = None, + privileges_and_roles_findings_count: Optional[int] = None, + targets_count: Optional[int] = None, + user_accounts_findings_count: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if auditing_findings_count is not None: - pulumi.set(__self__, "auditing_findings_count", auditing_findings_count) + _setter("auditing_findings_count", auditing_findings_count) if authorization_control_findings_count is not None: - pulumi.set(__self__, "authorization_control_findings_count", authorization_control_findings_count) + _setter("authorization_control_findings_count", authorization_control_findings_count) if data_encryption_findings_count is not None: - pulumi.set(__self__, "data_encryption_findings_count", data_encryption_findings_count) + _setter("data_encryption_findings_count", data_encryption_findings_count) if db_configuration_findings_count is not None: - pulumi.set(__self__, "db_configuration_findings_count", db_configuration_findings_count) + _setter("db_configuration_findings_count", db_configuration_findings_count) if fine_grained_access_control_findings_count is not None: - pulumi.set(__self__, "fine_grained_access_control_findings_count", fine_grained_access_control_findings_count) + _setter("fine_grained_access_control_findings_count", fine_grained_access_control_findings_count) if privileges_and_roles_findings_count is not None: - pulumi.set(__self__, "privileges_and_roles_findings_count", privileges_and_roles_findings_count) + _setter("privileges_and_roles_findings_count", privileges_and_roles_findings_count) if targets_count is not None: - pulumi.set(__self__, "targets_count", targets_count) + _setter("targets_count", targets_count) if user_accounts_findings_count is not None: - pulumi.set(__self__, "user_accounts_findings_count", user_accounts_findings_count) + _setter("user_accounts_findings_count", user_accounts_findings_count) @property @pulumi.getter(name="auditingFindingsCount") @@ -2730,22 +3146,45 @@ def __init__(__self__, *, :param int targets_count: The total number of targets in this security assessment. :param int user_accounts_findings_count: The number of findings in the User Accounts category. """ + SecurityAssessmentStatisticLowRisk._configure( + lambda key, value: pulumi.set(__self__, key, value), + auditing_findings_count=auditing_findings_count, + authorization_control_findings_count=authorization_control_findings_count, + data_encryption_findings_count=data_encryption_findings_count, + db_configuration_findings_count=db_configuration_findings_count, + fine_grained_access_control_findings_count=fine_grained_access_control_findings_count, + privileges_and_roles_findings_count=privileges_and_roles_findings_count, + targets_count=targets_count, + user_accounts_findings_count=user_accounts_findings_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + auditing_findings_count: Optional[int] = None, + authorization_control_findings_count: Optional[int] = None, + data_encryption_findings_count: Optional[int] = None, + db_configuration_findings_count: Optional[int] = None, + fine_grained_access_control_findings_count: Optional[int] = None, + privileges_and_roles_findings_count: Optional[int] = None, + targets_count: Optional[int] = None, + user_accounts_findings_count: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if auditing_findings_count is not None: - pulumi.set(__self__, "auditing_findings_count", auditing_findings_count) + _setter("auditing_findings_count", auditing_findings_count) if authorization_control_findings_count is not None: - pulumi.set(__self__, "authorization_control_findings_count", authorization_control_findings_count) + _setter("authorization_control_findings_count", authorization_control_findings_count) if data_encryption_findings_count is not None: - pulumi.set(__self__, "data_encryption_findings_count", data_encryption_findings_count) + _setter("data_encryption_findings_count", data_encryption_findings_count) if db_configuration_findings_count is not None: - pulumi.set(__self__, "db_configuration_findings_count", db_configuration_findings_count) + _setter("db_configuration_findings_count", db_configuration_findings_count) if fine_grained_access_control_findings_count is not None: - pulumi.set(__self__, "fine_grained_access_control_findings_count", fine_grained_access_control_findings_count) + _setter("fine_grained_access_control_findings_count", fine_grained_access_control_findings_count) if privileges_and_roles_findings_count is not None: - pulumi.set(__self__, "privileges_and_roles_findings_count", privileges_and_roles_findings_count) + _setter("privileges_and_roles_findings_count", privileges_and_roles_findings_count) if targets_count is not None: - pulumi.set(__self__, "targets_count", targets_count) + _setter("targets_count", targets_count) if user_accounts_findings_count is not None: - pulumi.set(__self__, "user_accounts_findings_count", user_accounts_findings_count) + _setter("user_accounts_findings_count", user_accounts_findings_count) @property @pulumi.getter(name="auditingFindingsCount") @@ -2864,22 +3303,45 @@ def __init__(__self__, *, :param int targets_count: The total number of targets in this security assessment. :param int user_accounts_findings_count: The number of findings in the User Accounts category. """ + SecurityAssessmentStatisticMediumRisk._configure( + lambda key, value: pulumi.set(__self__, key, value), + auditing_findings_count=auditing_findings_count, + authorization_control_findings_count=authorization_control_findings_count, + data_encryption_findings_count=data_encryption_findings_count, + db_configuration_findings_count=db_configuration_findings_count, + fine_grained_access_control_findings_count=fine_grained_access_control_findings_count, + privileges_and_roles_findings_count=privileges_and_roles_findings_count, + targets_count=targets_count, + user_accounts_findings_count=user_accounts_findings_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + auditing_findings_count: Optional[int] = None, + authorization_control_findings_count: Optional[int] = None, + data_encryption_findings_count: Optional[int] = None, + db_configuration_findings_count: Optional[int] = None, + fine_grained_access_control_findings_count: Optional[int] = None, + privileges_and_roles_findings_count: Optional[int] = None, + targets_count: Optional[int] = None, + user_accounts_findings_count: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if auditing_findings_count is not None: - pulumi.set(__self__, "auditing_findings_count", auditing_findings_count) + _setter("auditing_findings_count", auditing_findings_count) if authorization_control_findings_count is not None: - pulumi.set(__self__, "authorization_control_findings_count", authorization_control_findings_count) + _setter("authorization_control_findings_count", authorization_control_findings_count) if data_encryption_findings_count is not None: - pulumi.set(__self__, "data_encryption_findings_count", data_encryption_findings_count) + _setter("data_encryption_findings_count", data_encryption_findings_count) if db_configuration_findings_count is not None: - pulumi.set(__self__, "db_configuration_findings_count", db_configuration_findings_count) + _setter("db_configuration_findings_count", db_configuration_findings_count) if fine_grained_access_control_findings_count is not None: - pulumi.set(__self__, "fine_grained_access_control_findings_count", fine_grained_access_control_findings_count) + _setter("fine_grained_access_control_findings_count", fine_grained_access_control_findings_count) if privileges_and_roles_findings_count is not None: - pulumi.set(__self__, "privileges_and_roles_findings_count", privileges_and_roles_findings_count) + _setter("privileges_and_roles_findings_count", privileges_and_roles_findings_count) if targets_count is not None: - pulumi.set(__self__, "targets_count", targets_count) + _setter("targets_count", targets_count) if user_accounts_findings_count is not None: - pulumi.set(__self__, "user_accounts_findings_count", user_accounts_findings_count) + _setter("user_accounts_findings_count", user_accounts_findings_count) @property @pulumi.getter(name="auditingFindingsCount") @@ -2998,22 +3460,45 @@ def __init__(__self__, *, :param int targets_count: The total number of targets in this security assessment. :param int user_accounts_findings_count: The number of findings in the User Accounts category. """ + SecurityAssessmentStatisticPass._configure( + lambda key, value: pulumi.set(__self__, key, value), + auditing_findings_count=auditing_findings_count, + authorization_control_findings_count=authorization_control_findings_count, + data_encryption_findings_count=data_encryption_findings_count, + db_configuration_findings_count=db_configuration_findings_count, + fine_grained_access_control_findings_count=fine_grained_access_control_findings_count, + privileges_and_roles_findings_count=privileges_and_roles_findings_count, + targets_count=targets_count, + user_accounts_findings_count=user_accounts_findings_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + auditing_findings_count: Optional[int] = None, + authorization_control_findings_count: Optional[int] = None, + data_encryption_findings_count: Optional[int] = None, + db_configuration_findings_count: Optional[int] = None, + fine_grained_access_control_findings_count: Optional[int] = None, + privileges_and_roles_findings_count: Optional[int] = None, + targets_count: Optional[int] = None, + user_accounts_findings_count: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if auditing_findings_count is not None: - pulumi.set(__self__, "auditing_findings_count", auditing_findings_count) + _setter("auditing_findings_count", auditing_findings_count) if authorization_control_findings_count is not None: - pulumi.set(__self__, "authorization_control_findings_count", authorization_control_findings_count) + _setter("authorization_control_findings_count", authorization_control_findings_count) if data_encryption_findings_count is not None: - pulumi.set(__self__, "data_encryption_findings_count", data_encryption_findings_count) + _setter("data_encryption_findings_count", data_encryption_findings_count) if db_configuration_findings_count is not None: - pulumi.set(__self__, "db_configuration_findings_count", db_configuration_findings_count) + _setter("db_configuration_findings_count", db_configuration_findings_count) if fine_grained_access_control_findings_count is not None: - pulumi.set(__self__, "fine_grained_access_control_findings_count", fine_grained_access_control_findings_count) + _setter("fine_grained_access_control_findings_count", fine_grained_access_control_findings_count) if privileges_and_roles_findings_count is not None: - pulumi.set(__self__, "privileges_and_roles_findings_count", privileges_and_roles_findings_count) + _setter("privileges_and_roles_findings_count", privileges_and_roles_findings_count) if targets_count is not None: - pulumi.set(__self__, "targets_count", targets_count) + _setter("targets_count", targets_count) if user_accounts_findings_count is not None: - pulumi.set(__self__, "user_accounts_findings_count", user_accounts_findings_count) + _setter("user_accounts_findings_count", user_accounts_findings_count) @property @pulumi.getter(name="auditingFindingsCount") @@ -3114,11 +3599,24 @@ def __init__(__self__, *, :param str datasafe_private_endpoint_id: (Updatable) The OCID of the Data Safe private endpoint. :param str on_prem_connector_id: (Updatable) The OCID of the on-premises connector. """ - pulumi.set(__self__, "connection_type", connection_type) + TargetDatabaseConnectionOption._configure( + lambda key, value: pulumi.set(__self__, key, value), + connection_type=connection_type, + datasafe_private_endpoint_id=datasafe_private_endpoint_id, + on_prem_connector_id=on_prem_connector_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + connection_type: str, + datasafe_private_endpoint_id: Optional[str] = None, + on_prem_connector_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("connection_type", connection_type) if datasafe_private_endpoint_id is not None: - pulumi.set(__self__, "datasafe_private_endpoint_id", datasafe_private_endpoint_id) + _setter("datasafe_private_endpoint_id", datasafe_private_endpoint_id) if on_prem_connector_id is not None: - pulumi.set(__self__, "on_prem_connector_id", on_prem_connector_id) + _setter("on_prem_connector_id", on_prem_connector_id) @property @pulumi.getter(name="connectionType") @@ -3173,8 +3671,19 @@ def __init__(__self__, *, :param str password: (Updatable) The password of the database user. :param str user_name: (Updatable) The database user name. """ - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "user_name", user_name) + TargetDatabaseCredentials._configure( + lambda key, value: pulumi.set(__self__, key, value), + password=password, + user_name=user_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + password: str, + user_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("password", password) + _setter("user_name", user_name) @property @pulumi.getter @@ -3249,22 +3758,47 @@ def __init__(__self__, *, :param str service_name: (Updatable) The service name of the database registered as target database. :param str vm_cluster_id: (Updatable) The OCID of the VM cluster in which the database is running. """ - pulumi.set(__self__, "database_type", database_type) - pulumi.set(__self__, "infrastructure_type", infrastructure_type) + TargetDatabaseDatabaseDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + database_type=database_type, + infrastructure_type=infrastructure_type, + autonomous_database_id=autonomous_database_id, + db_system_id=db_system_id, + instance_id=instance_id, + ip_addresses=ip_addresses, + listener_port=listener_port, + service_name=service_name, + vm_cluster_id=vm_cluster_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + database_type: str, + infrastructure_type: str, + autonomous_database_id: Optional[str] = None, + db_system_id: Optional[str] = None, + instance_id: Optional[str] = None, + ip_addresses: Optional[Sequence[str]] = None, + listener_port: Optional[int] = None, + service_name: Optional[str] = None, + vm_cluster_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("database_type", database_type) + _setter("infrastructure_type", infrastructure_type) if autonomous_database_id is not None: - pulumi.set(__self__, "autonomous_database_id", autonomous_database_id) + _setter("autonomous_database_id", autonomous_database_id) if db_system_id is not None: - pulumi.set(__self__, "db_system_id", db_system_id) + _setter("db_system_id", db_system_id) if instance_id is not None: - pulumi.set(__self__, "instance_id", instance_id) + _setter("instance_id", instance_id) if ip_addresses is not None: - pulumi.set(__self__, "ip_addresses", ip_addresses) + _setter("ip_addresses", ip_addresses) if listener_port is not None: - pulumi.set(__self__, "listener_port", listener_port) + _setter("listener_port", listener_port) if service_name is not None: - pulumi.set(__self__, "service_name", service_name) + _setter("service_name", service_name) if vm_cluster_id is not None: - pulumi.set(__self__, "vm_cluster_id", vm_cluster_id) + _setter("vm_cluster_id", vm_cluster_id) @property @pulumi.getter(name="databaseType") @@ -3381,15 +3915,32 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "status", status) + TargetDatabaseTlsConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + status=status, + certificate_store_type=certificate_store_type, + key_store_content=key_store_content, + store_password=store_password, + trust_store_content=trust_store_content, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + status: str, + certificate_store_type: Optional[str] = None, + key_store_content: Optional[str] = None, + store_password: Optional[str] = None, + trust_store_content: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("status", status) if certificate_store_type is not None: - pulumi.set(__self__, "certificate_store_type", certificate_store_type) + _setter("certificate_store_type", certificate_store_type) if key_store_content is not None: - pulumi.set(__self__, "key_store_content", key_store_content) + _setter("key_store_content", key_store_content) if store_password is not None: - pulumi.set(__self__, "store_password", store_password) + _setter("store_password", store_password) if trust_store_content is not None: - pulumi.set(__self__, "trust_store_content", trust_store_content) + _setter("trust_store_content", trust_store_content) @property @pulumi.getter @@ -3470,12 +4021,25 @@ def __init__(__self__, *, ** 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 """ + UserAssessmentIgnoredTarget._configure( + lambda key, value: pulumi.set(__self__, key, value), + lifecycle_state=lifecycle_state, + target_id=target_id, + user_assessment_id=user_assessment_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + lifecycle_state: Optional[str] = None, + target_id: Optional[str] = None, + user_assessment_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if lifecycle_state is not None: - pulumi.set(__self__, "lifecycle_state", lifecycle_state) + _setter("lifecycle_state", lifecycle_state) if target_id is not None: - pulumi.set(__self__, "target_id", target_id) + _setter("target_id", target_id) if user_assessment_id is not None: - pulumi.set(__self__, "user_assessment_id", user_assessment_id) + _setter("user_assessment_id", user_assessment_id) @property @pulumi.getter(name="lifecycleState") @@ -3515,11 +4079,28 @@ def __init__(__self__, *, :param str time_ended: An optional filter to return audit events whose creation time in the database is less than and equal to the date-time specified, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). :param str time_started: An optional filter to return audit events whose creation time in the database is greater than and equal to the date-time specified, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). """ - pulumi.set(__self__, "count", count) - pulumi.set(__self__, "dimensions", dimensions) - pulumi.set(__self__, "metric_name", metric_name) - pulumi.set(__self__, "time_ended", time_ended) - pulumi.set(__self__, "time_started", time_started) + GetAlertAnalyticItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + count=count, + dimensions=dimensions, + metric_name=metric_name, + time_ended=time_ended, + time_started=time_started, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + count: str, + dimensions: Sequence['outputs.GetAlertAnalyticItemDimensionResult'], + metric_name: str, + time_ended: str, + time_started: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("count", count) + _setter("dimensions", dimensions) + _setter("metric_name", metric_name) + _setter("time_ended", time_ended) + _setter("time_started", time_started) @property @pulumi.getter @@ -3569,7 +4150,16 @@ def __init__(__self__, *, """ :param Mapping[str, Any] group_by: A groupBy can only be used in combination with summaryField parameter. A groupBy value has to be a subset of the values mentioned in summaryField parameter. """ - pulumi.set(__self__, "group_by", group_by) + GetAlertAnalyticItemDimensionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + group_by=group_by, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + group_by: Mapping[str, Any], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("group_by", group_by) @property @pulumi.getter(name="groupBy") @@ -3584,7 +4174,16 @@ def group_by(self) -> Mapping[str, Any]: class GetAlertPoliciesAlertPolicyCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetAlertPoliciesAlertPolicyCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetAlertPoliciesAlertPolicyCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetAlertPoliciesAlertPolicyCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -3623,19 +4222,52 @@ def __init__(__self__, *, :param str time_created: Creation date and time of the alert policy, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). :param str time_updated: Last date and time the alert policy was updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). """ - pulumi.set(__self__, "alert_policy_type", alert_policy_type) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_user_defined", is_user_defined) - pulumi.set(__self__, "severity", severity) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetAlertPoliciesAlertPolicyCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + alert_policy_type=alert_policy_type, + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + is_user_defined=is_user_defined, + severity=severity, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + alert_policy_type: str, + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + is_user_defined: bool, + severity: str, + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("alert_policy_type", alert_policy_type) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_user_defined", is_user_defined) + _setter("severity", severity) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="alertPolicyType") @@ -3748,10 +4380,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAlertPoliciesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3780,9 +4425,22 @@ def __init__(__self__, *, :param str expression: The conditional expression of the alert policy rule which evaluates to boolean value. :param str key: The unique key of the alert policy rule. """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "expression", expression) - pulumi.set(__self__, "key", key) + GetAlertPolicyRuleItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + expression=expression, + key=key, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + expression: str, + key: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("expression", expression) + _setter("key", key) @property @pulumi.getter @@ -3816,7 +4474,16 @@ def __init__(__self__, *, """ :param Sequence['GetAlertPolicyRulesAlertPolicyRuleCollectionItemArgs'] items: Array of alert policy rules summary """ - pulumi.set(__self__, "items", items) + GetAlertPolicyRulesAlertPolicyRuleCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetAlertPolicyRulesAlertPolicyRuleCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -3838,9 +4505,22 @@ def __init__(__self__, *, :param str expression: The conditional expression of the alert policy rule which evaluates to boolean value. :param str key: The unique key of the alert policy rule. """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "expression", expression) - pulumi.set(__self__, "key", key) + GetAlertPolicyRulesAlertPolicyRuleCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + expression=expression, + key=key, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + expression: str, + key: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("expression", expression) + _setter("key", key) @property @pulumi.getter @@ -3873,10 +4553,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAlertPolicyRulesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3898,7 +4591,16 @@ def regex(self) -> Optional[bool]: class GetAlertsAlertCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetAlertsAlertCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetAlertsAlertCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetAlertsAlertCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -3956,29 +4658,82 @@ def __init__(__self__, *, :param str time_created: Creation date and time of the alert, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). :param str time_updated: Last date and time the alert was updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). """ - pulumi.set(__self__, "alert_id", alert_id) - pulumi.set(__self__, "alert_type", alert_type) - pulumi.set(__self__, "comment", comment) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "feature_details", feature_details) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "operation", operation) - pulumi.set(__self__, "operation_status", operation_status) - pulumi.set(__self__, "operation_time", operation_time) - pulumi.set(__self__, "policy_id", policy_id) - pulumi.set(__self__, "resource_name", resource_name) - pulumi.set(__self__, "severity", severity) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "target_ids", target_ids) - pulumi.set(__self__, "target_names", target_names) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetAlertsAlertCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + alert_id=alert_id, + alert_type=alert_type, + comment=comment, + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + feature_details=feature_details, + freeform_tags=freeform_tags, + id=id, + operation=operation, + operation_status=operation_status, + operation_time=operation_time, + policy_id=policy_id, + resource_name=resource_name, + severity=severity, + state=state, + status=status, + system_tags=system_tags, + target_ids=target_ids, + target_names=target_names, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + alert_id: str, + alert_type: str, + comment: str, + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + feature_details: Mapping[str, Any], + freeform_tags: Mapping[str, Any], + id: str, + operation: str, + operation_status: str, + operation_time: str, + policy_id: str, + resource_name: str, + severity: str, + state: str, + status: str, + system_tags: Mapping[str, Any], + target_ids: Sequence[str], + target_names: Sequence[str], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("alert_id", alert_id) + _setter("alert_type", alert_type) + _setter("comment", comment) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("feature_details", feature_details) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("operation", operation) + _setter("operation_status", operation_status) + _setter("operation_time", operation_time) + _setter("policy_id", policy_id) + _setter("resource_name", resource_name) + _setter("severity", severity) + _setter("state", state) + _setter("status", status) + _setter("system_tags", system_tags) + _setter("target_ids", target_ids) + _setter("target_names", target_names) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="alertId") @@ -4168,10 +4923,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAlertsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4193,7 +4961,16 @@ def regex(self) -> Optional[bool]: class GetAuditArchiveRetrievalsAuditArchiveRetrievalCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetAuditArchiveRetrievalsAuditArchiveRetrievalCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetAuditArchiveRetrievalsAuditArchiveRetrievalCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetAuditArchiveRetrievalsAuditArchiveRetrievalCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -4240,23 +5017,64 @@ def __init__(__self__, *, :param str time_of_expiry: The date time when retrieved archive data will be deleted from Data Safe and unloaded back into archival. :param str time_requested: The date time when archive retrieval was requested, in the format defined by RFC3339. """ - pulumi.set(__self__, "audit_event_count", audit_event_count) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "end_date", end_date) - pulumi.set(__self__, "error_info", error_info) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "start_date", start_date) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "target_id", target_id) - pulumi.set(__self__, "time_completed", time_completed) - pulumi.set(__self__, "time_of_expiry", time_of_expiry) - pulumi.set(__self__, "time_requested", time_requested) + GetAuditArchiveRetrievalsAuditArchiveRetrievalCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + audit_event_count=audit_event_count, + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + end_date=end_date, + error_info=error_info, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + start_date=start_date, + state=state, + system_tags=system_tags, + target_id=target_id, + time_completed=time_completed, + time_of_expiry=time_of_expiry, + time_requested=time_requested, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + audit_event_count: str, + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + end_date: str, + error_info: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + start_date: str, + state: str, + system_tags: Mapping[str, Any], + target_id: str, + time_completed: str, + time_of_expiry: str, + time_requested: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("audit_event_count", audit_event_count) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("end_date", end_date) + _setter("error_info", error_info) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("start_date", start_date) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("target_id", target_id) + _setter("time_completed", time_completed) + _setter("time_of_expiry", time_of_expiry) + _setter("time_requested", time_requested) @property @pulumi.getter(name="auditEventCount") @@ -4401,10 +5219,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAuditArchiveRetrievalsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4439,12 +5270,31 @@ def __init__(__self__, *, :param str time_ended: An optional filter to return audit events whose creation time in the database is less than and equal to the date-time specified, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). :param str time_started: An optional filter to return audit events whose creation time in the database is greater than and equal to the date-time specified, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). """ - pulumi.set(__self__, "count", count) - pulumi.set(__self__, "dimensions", dimensions) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "metric_name", metric_name) - pulumi.set(__self__, "time_ended", time_ended) - pulumi.set(__self__, "time_started", time_started) + GetAuditEventAnalyticItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + count=count, + dimensions=dimensions, + display_name=display_name, + metric_name=metric_name, + time_ended=time_ended, + time_started=time_started, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + count: str, + dimensions: Sequence['outputs.GetAuditEventAnalyticItemDimensionResult'], + display_name: str, + metric_name: str, + time_ended: str, + time_started: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("count", count) + _setter("dimensions", dimensions) + _setter("display_name", display_name) + _setter("metric_name", metric_name) + _setter("time_ended", time_ended) + _setter("time_started", time_started) @property @pulumi.getter @@ -4522,17 +5372,46 @@ def __init__(__self__, *, :param Sequence[str] target_ids: The OCID of the target database that was audited. :param Sequence[str] target_names: The name of the target database that was audited. """ - pulumi.set(__self__, "audit_event_times", audit_event_times) - pulumi.set(__self__, "audit_types", audit_types) - pulumi.set(__self__, "client_hostnames", client_hostnames) - pulumi.set(__self__, "client_ids", client_ids) - pulumi.set(__self__, "client_programs", client_programs) - pulumi.set(__self__, "db_user_names", db_user_names) - pulumi.set(__self__, "event_names", event_names) - pulumi.set(__self__, "object_types", object_types) - pulumi.set(__self__, "target_classes", target_classes) - pulumi.set(__self__, "target_ids", target_ids) - pulumi.set(__self__, "target_names", target_names) + GetAuditEventAnalyticItemDimensionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + audit_event_times=audit_event_times, + audit_types=audit_types, + client_hostnames=client_hostnames, + client_ids=client_ids, + client_programs=client_programs, + db_user_names=db_user_names, + event_names=event_names, + object_types=object_types, + target_classes=target_classes, + target_ids=target_ids, + target_names=target_names, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + audit_event_times: Sequence[str], + audit_types: Sequence[str], + client_hostnames: Sequence[str], + client_ids: Sequence[str], + client_programs: Sequence[str], + db_user_names: Sequence[str], + event_names: Sequence[str], + object_types: Sequence[str], + target_classes: Sequence[str], + target_ids: Sequence[str], + target_names: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("audit_event_times", audit_event_times) + _setter("audit_types", audit_types) + _setter("client_hostnames", client_hostnames) + _setter("client_ids", client_ids) + _setter("client_programs", client_programs) + _setter("db_user_names", db_user_names) + _setter("event_names", event_names) + _setter("object_types", object_types) + _setter("target_classes", target_classes) + _setter("target_ids", target_ids) + _setter("target_names", target_names) @property @pulumi.getter(name="auditEventTimes") @@ -4699,40 +5578,115 @@ def __init__(__self__, *, :param str target_name: The name of the target database that was audited. :param str time_collected: Timestamp when this audit event was collected from the target database by Data Safe. """ - pulumi.set(__self__, "action_taken", action_taken) - pulumi.set(__self__, "audit_event_time", audit_event_time) - pulumi.set(__self__, "audit_location", audit_location) - pulumi.set(__self__, "audit_policies", audit_policies) - pulumi.set(__self__, "audit_trail_id", audit_trail_id) - pulumi.set(__self__, "audit_type", audit_type) - pulumi.set(__self__, "client_hostname", client_hostname) - pulumi.set(__self__, "client_id", client_id) - pulumi.set(__self__, "client_ip", client_ip) - pulumi.set(__self__, "client_program", client_program) - pulumi.set(__self__, "command_param", command_param) - pulumi.set(__self__, "command_text", command_text) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "database_type", database_type) - pulumi.set(__self__, "db_user_name", db_user_name) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "error_code", error_code) - pulumi.set(__self__, "error_message", error_message) - pulumi.set(__self__, "event_name", event_name) - pulumi.set(__self__, "extended_event_attributes", extended_event_attributes) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_alerted", is_alerted) - pulumi.set(__self__, "object", object) - pulumi.set(__self__, "object_owner", object_owner) - pulumi.set(__self__, "object_type", object_type) - pulumi.set(__self__, "operation", operation) - pulumi.set(__self__, "operation_status", operation_status) - pulumi.set(__self__, "os_terminal", os_terminal) - pulumi.set(__self__, "os_user_name", os_user_name) - pulumi.set(__self__, "target_class", target_class) - pulumi.set(__self__, "target_id", target_id) - pulumi.set(__self__, "target_name", target_name) - pulumi.set(__self__, "time_collected", time_collected) + GetAuditEventItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action_taken=action_taken, + audit_event_time=audit_event_time, + audit_location=audit_location, + audit_policies=audit_policies, + audit_trail_id=audit_trail_id, + audit_type=audit_type, + client_hostname=client_hostname, + client_id=client_id, + client_ip=client_ip, + client_program=client_program, + command_param=command_param, + command_text=command_text, + compartment_id=compartment_id, + database_type=database_type, + db_user_name=db_user_name, + defined_tags=defined_tags, + error_code=error_code, + error_message=error_message, + event_name=event_name, + extended_event_attributes=extended_event_attributes, + freeform_tags=freeform_tags, + id=id, + is_alerted=is_alerted, + object=object, + object_owner=object_owner, + object_type=object_type, + operation=operation, + operation_status=operation_status, + os_terminal=os_terminal, + os_user_name=os_user_name, + target_class=target_class, + target_id=target_id, + target_name=target_name, + time_collected=time_collected, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action_taken: str, + audit_event_time: str, + audit_location: str, + audit_policies: str, + audit_trail_id: str, + audit_type: str, + client_hostname: str, + client_id: str, + client_ip: str, + client_program: str, + command_param: str, + command_text: str, + compartment_id: str, + database_type: str, + db_user_name: str, + defined_tags: Mapping[str, Any], + error_code: str, + error_message: str, + event_name: str, + extended_event_attributes: str, + freeform_tags: Mapping[str, Any], + id: str, + is_alerted: bool, + object: str, + object_owner: str, + object_type: str, + operation: str, + operation_status: str, + os_terminal: str, + os_user_name: str, + target_class: str, + target_id: str, + target_name: str, + time_collected: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action_taken", action_taken) + _setter("audit_event_time", audit_event_time) + _setter("audit_location", audit_location) + _setter("audit_policies", audit_policies) + _setter("audit_trail_id", audit_trail_id) + _setter("audit_type", audit_type) + _setter("client_hostname", client_hostname) + _setter("client_id", client_id) + _setter("client_ip", client_ip) + _setter("client_program", client_program) + _setter("command_param", command_param) + _setter("command_text", command_text) + _setter("compartment_id", compartment_id) + _setter("database_type", database_type) + _setter("db_user_name", db_user_name) + _setter("defined_tags", defined_tags) + _setter("error_code", error_code) + _setter("error_message", error_message) + _setter("event_name", event_name) + _setter("extended_event_attributes", extended_event_attributes) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_alerted", is_alerted) + _setter("object", object) + _setter("object_owner", object_owner) + _setter("object_type", object_type) + _setter("operation", operation) + _setter("operation_status", operation_status) + _setter("os_terminal", os_terminal) + _setter("os_user_name", os_user_name) + _setter("target_class", target_class) + _setter("target_id", target_id) + _setter("target_name", target_name) + _setter("time_collected", time_collected) @property @pulumi.getter(name="actionTaken") @@ -5017,7 +5971,16 @@ def __init__(__self__, *, """ :param Sequence['GetAuditEventsAuditEventCollectionItemArgs'] items: Array of audit event summary. """ - pulumi.set(__self__, "items", items) + GetAuditEventsAuditEventCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetAuditEventsAuditEventCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -5104,40 +6067,115 @@ def __init__(__self__, *, :param str target_name: The name of the target database that was audited. :param str time_collected: The timestamp when this audit event was collected from the target database by Data Safe. """ - pulumi.set(__self__, "action_taken", action_taken) - pulumi.set(__self__, "audit_event_time", audit_event_time) - pulumi.set(__self__, "audit_location", audit_location) - pulumi.set(__self__, "audit_policies", audit_policies) - pulumi.set(__self__, "audit_trail_id", audit_trail_id) - pulumi.set(__self__, "audit_type", audit_type) - pulumi.set(__self__, "client_hostname", client_hostname) - pulumi.set(__self__, "client_id", client_id) - pulumi.set(__self__, "client_ip", client_ip) - pulumi.set(__self__, "client_program", client_program) - pulumi.set(__self__, "command_param", command_param) - pulumi.set(__self__, "command_text", command_text) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "database_type", database_type) - pulumi.set(__self__, "db_user_name", db_user_name) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "error_code", error_code) - pulumi.set(__self__, "error_message", error_message) - pulumi.set(__self__, "event_name", event_name) - pulumi.set(__self__, "extended_event_attributes", extended_event_attributes) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_alerted", is_alerted) - pulumi.set(__self__, "object", object) - pulumi.set(__self__, "object_owner", object_owner) - pulumi.set(__self__, "object_type", object_type) - pulumi.set(__self__, "operation", operation) - pulumi.set(__self__, "operation_status", operation_status) - pulumi.set(__self__, "os_terminal", os_terminal) - pulumi.set(__self__, "os_user_name", os_user_name) - pulumi.set(__self__, "target_class", target_class) - pulumi.set(__self__, "target_id", target_id) - pulumi.set(__self__, "target_name", target_name) - pulumi.set(__self__, "time_collected", time_collected) + GetAuditEventsAuditEventCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action_taken=action_taken, + audit_event_time=audit_event_time, + audit_location=audit_location, + audit_policies=audit_policies, + audit_trail_id=audit_trail_id, + audit_type=audit_type, + client_hostname=client_hostname, + client_id=client_id, + client_ip=client_ip, + client_program=client_program, + command_param=command_param, + command_text=command_text, + compartment_id=compartment_id, + database_type=database_type, + db_user_name=db_user_name, + defined_tags=defined_tags, + error_code=error_code, + error_message=error_message, + event_name=event_name, + extended_event_attributes=extended_event_attributes, + freeform_tags=freeform_tags, + id=id, + is_alerted=is_alerted, + object=object, + object_owner=object_owner, + object_type=object_type, + operation=operation, + operation_status=operation_status, + os_terminal=os_terminal, + os_user_name=os_user_name, + target_class=target_class, + target_id=target_id, + target_name=target_name, + time_collected=time_collected, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action_taken: str, + audit_event_time: str, + audit_location: str, + audit_policies: str, + audit_trail_id: str, + audit_type: str, + client_hostname: str, + client_id: str, + client_ip: str, + client_program: str, + command_param: str, + command_text: str, + compartment_id: str, + database_type: str, + db_user_name: str, + defined_tags: Mapping[str, Any], + error_code: str, + error_message: str, + event_name: str, + extended_event_attributes: str, + freeform_tags: Mapping[str, Any], + id: str, + is_alerted: bool, + object: str, + object_owner: str, + object_type: str, + operation: str, + operation_status: str, + os_terminal: str, + os_user_name: str, + target_class: str, + target_id: str, + target_name: str, + time_collected: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action_taken", action_taken) + _setter("audit_event_time", audit_event_time) + _setter("audit_location", audit_location) + _setter("audit_policies", audit_policies) + _setter("audit_trail_id", audit_trail_id) + _setter("audit_type", audit_type) + _setter("client_hostname", client_hostname) + _setter("client_id", client_id) + _setter("client_ip", client_ip) + _setter("client_program", client_program) + _setter("command_param", command_param) + _setter("command_text", command_text) + _setter("compartment_id", compartment_id) + _setter("database_type", database_type) + _setter("db_user_name", db_user_name) + _setter("defined_tags", defined_tags) + _setter("error_code", error_code) + _setter("error_message", error_message) + _setter("event_name", event_name) + _setter("extended_event_attributes", extended_event_attributes) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_alerted", is_alerted) + _setter("object", object) + _setter("object_owner", object_owner) + _setter("object_type", object_type) + _setter("operation", operation) + _setter("operation_status", operation_status) + _setter("os_terminal", os_terminal) + _setter("os_user_name", os_user_name) + _setter("target_class", target_class) + _setter("target_id", target_id) + _setter("target_name", target_name) + _setter("time_collected", time_collected) @property @pulumi.getter(name="actionTaken") @@ -5421,10 +6459,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAuditEventsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5446,7 +6497,16 @@ def regex(self) -> Optional[bool]: class GetAuditPoliciesAuditPolicyCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetAuditPoliciesAuditPolicyCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetAuditPoliciesAuditPolicyCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetAuditPoliciesAuditPolicyCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -5497,26 +6557,73 @@ def __init__(__self__, *, :param str time_last_retrieved: The time when the audit policies was last retrieved from this target, in the format defined by RFC3339. :param str time_updated: The last date and time the audit policy was updated, in the format defined by RFC3339. """ - pulumi.set(__self__, "audit_conditions", audit_conditions) - pulumi.set(__self__, "audit_policy_id", audit_policy_id) - pulumi.set(__self__, "audit_specifications", audit_specifications) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_data_safe_service_account_excluded", is_data_safe_service_account_excluded) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "provision_trigger", provision_trigger) - pulumi.set(__self__, "retrieve_from_target_trigger", retrieve_from_target_trigger) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "target_id", target_id) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_last_provisioned", time_last_provisioned) - pulumi.set(__self__, "time_last_retrieved", time_last_retrieved) - pulumi.set(__self__, "time_updated", time_updated) + GetAuditPoliciesAuditPolicyCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + audit_conditions=audit_conditions, + audit_policy_id=audit_policy_id, + audit_specifications=audit_specifications, + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + is_data_safe_service_account_excluded=is_data_safe_service_account_excluded, + lifecycle_details=lifecycle_details, + provision_trigger=provision_trigger, + retrieve_from_target_trigger=retrieve_from_target_trigger, + state=state, + system_tags=system_tags, + target_id=target_id, + time_created=time_created, + time_last_provisioned=time_last_provisioned, + time_last_retrieved=time_last_retrieved, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + audit_conditions: Sequence['outputs.GetAuditPoliciesAuditPolicyCollectionItemAuditConditionResult'], + audit_policy_id: str, + audit_specifications: Sequence['outputs.GetAuditPoliciesAuditPolicyCollectionItemAuditSpecificationResult'], + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + is_data_safe_service_account_excluded: bool, + lifecycle_details: str, + provision_trigger: int, + retrieve_from_target_trigger: int, + state: str, + system_tags: Mapping[str, Any], + target_id: str, + time_created: str, + time_last_provisioned: str, + time_last_retrieved: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("audit_conditions", audit_conditions) + _setter("audit_policy_id", audit_policy_id) + _setter("audit_specifications", audit_specifications) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_data_safe_service_account_excluded", is_data_safe_service_account_excluded) + _setter("lifecycle_details", lifecycle_details) + _setter("provision_trigger", provision_trigger) + _setter("retrieve_from_target_trigger", retrieve_from_target_trigger) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("target_id", target_id) + _setter("time_created", time_created) + _setter("time_last_provisioned", time_last_provisioned) + _setter("time_last_retrieved", time_last_retrieved) + _setter("time_updated", time_updated) @property @pulumi.getter(name="auditConditions") @@ -5686,10 +6793,25 @@ def __init__(__self__, *, :param bool is_data_safe_service_account_audited: Indicates whether the Data Safe user activity on the target database will be audited by the policy. :param bool is_priv_users_managed_by_data_safe: Indicates whether the privileged user list is managed by Data Safe. """ - pulumi.set(__self__, "audit_policy_name", audit_policy_name) - pulumi.set(__self__, "enable_conditions", enable_conditions) - pulumi.set(__self__, "is_data_safe_service_account_audited", is_data_safe_service_account_audited) - pulumi.set(__self__, "is_priv_users_managed_by_data_safe", is_priv_users_managed_by_data_safe) + GetAuditPoliciesAuditPolicyCollectionItemAuditConditionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + audit_policy_name=audit_policy_name, + enable_conditions=enable_conditions, + is_data_safe_service_account_audited=is_data_safe_service_account_audited, + is_priv_users_managed_by_data_safe=is_priv_users_managed_by_data_safe, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + audit_policy_name: str, + enable_conditions: Sequence['outputs.GetAuditPoliciesAuditPolicyCollectionItemAuditConditionEnableConditionResult'], + is_data_safe_service_account_audited: bool, + is_priv_users_managed_by_data_safe: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("audit_policy_name", audit_policy_name) + _setter("enable_conditions", enable_conditions) + _setter("is_data_safe_service_account_audited", is_data_safe_service_account_audited) + _setter("is_priv_users_managed_by_data_safe", is_priv_users_managed_by_data_safe) @property @pulumi.getter(name="auditPolicyName") @@ -5737,10 +6859,25 @@ def __init__(__self__, *, :param str entity_type: The entity type that the policy must be enabled for. :param str operation_status: The operation status that the policy must be enabled for. """ - pulumi.set(__self__, "entity_names", entity_names) - pulumi.set(__self__, "entity_selection", entity_selection) - pulumi.set(__self__, "entity_type", entity_type) - pulumi.set(__self__, "operation_status", operation_status) + GetAuditPoliciesAuditPolicyCollectionItemAuditConditionEnableConditionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + entity_names=entity_names, + entity_selection=entity_selection, + entity_type=entity_type, + operation_status=operation_status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + entity_names: Sequence[str], + entity_selection: str, + entity_type: str, + operation_status: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("entity_names", entity_names) + _setter("entity_selection", entity_selection) + _setter("entity_type", entity_type) + _setter("operation_status", operation_status) @property @pulumi.getter(name="entityNames") @@ -5802,17 +6939,46 @@ def __init__(__self__, *, :param bool is_view_only: Indicates whether the audit policy is available for provisioning/ de-provisioning from Oracle Data Safe, or is only available for displaying the current provisioning status from the target. :param str partially_enabled_msg: Provides information about the policy that has been only partially enabled. """ - pulumi.set(__self__, "audit_policy_category", audit_policy_category) - pulumi.set(__self__, "audit_policy_name", audit_policy_name) - pulumi.set(__self__, "database_policy_names", database_policy_names) - pulumi.set(__self__, "enable_status", enable_status) - pulumi.set(__self__, "enabled_entities", enabled_entities) - pulumi.set(__self__, "is_created", is_created) - pulumi.set(__self__, "is_enabled_for_all_users", is_enabled_for_all_users) - pulumi.set(__self__, "is_seeded_in_data_safe", is_seeded_in_data_safe) - pulumi.set(__self__, "is_seeded_in_target", is_seeded_in_target) - pulumi.set(__self__, "is_view_only", is_view_only) - pulumi.set(__self__, "partially_enabled_msg", partially_enabled_msg) + GetAuditPoliciesAuditPolicyCollectionItemAuditSpecificationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + audit_policy_category=audit_policy_category, + audit_policy_name=audit_policy_name, + database_policy_names=database_policy_names, + enable_status=enable_status, + enabled_entities=enabled_entities, + is_created=is_created, + is_enabled_for_all_users=is_enabled_for_all_users, + is_seeded_in_data_safe=is_seeded_in_data_safe, + is_seeded_in_target=is_seeded_in_target, + is_view_only=is_view_only, + partially_enabled_msg=partially_enabled_msg, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + audit_policy_category: str, + audit_policy_name: str, + database_policy_names: Sequence[str], + enable_status: str, + enabled_entities: str, + is_created: bool, + is_enabled_for_all_users: bool, + is_seeded_in_data_safe: bool, + is_seeded_in_target: bool, + is_view_only: bool, + partially_enabled_msg: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("audit_policy_category", audit_policy_category) + _setter("audit_policy_name", audit_policy_name) + _setter("database_policy_names", database_policy_names) + _setter("enable_status", enable_status) + _setter("enabled_entities", enabled_entities) + _setter("is_created", is_created) + _setter("is_enabled_for_all_users", is_enabled_for_all_users) + _setter("is_seeded_in_data_safe", is_seeded_in_data_safe) + _setter("is_seeded_in_target", is_seeded_in_target) + _setter("is_view_only", is_view_only) + _setter("partially_enabled_msg", partially_enabled_msg) @property @pulumi.getter(name="auditPolicyCategory") @@ -5909,10 +7075,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAuditPoliciesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5943,10 +7122,25 @@ def __init__(__self__, *, :param bool is_data_safe_service_account_audited: Indicates whether the Data Safe user activity on the target database will be audited by the policy. :param bool is_priv_users_managed_by_data_safe: Indicates whether the privileged user list is managed by Data Safe. """ - pulumi.set(__self__, "audit_policy_name", audit_policy_name) - pulumi.set(__self__, "enable_conditions", enable_conditions) - pulumi.set(__self__, "is_data_safe_service_account_audited", is_data_safe_service_account_audited) - pulumi.set(__self__, "is_priv_users_managed_by_data_safe", is_priv_users_managed_by_data_safe) + GetAuditPolicyAuditConditionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + audit_policy_name=audit_policy_name, + enable_conditions=enable_conditions, + is_data_safe_service_account_audited=is_data_safe_service_account_audited, + is_priv_users_managed_by_data_safe=is_priv_users_managed_by_data_safe, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + audit_policy_name: str, + enable_conditions: Sequence['outputs.GetAuditPolicyAuditConditionEnableConditionResult'], + is_data_safe_service_account_audited: bool, + is_priv_users_managed_by_data_safe: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("audit_policy_name", audit_policy_name) + _setter("enable_conditions", enable_conditions) + _setter("is_data_safe_service_account_audited", is_data_safe_service_account_audited) + _setter("is_priv_users_managed_by_data_safe", is_priv_users_managed_by_data_safe) @property @pulumi.getter(name="auditPolicyName") @@ -5994,10 +7188,25 @@ def __init__(__self__, *, :param str entity_type: The entity type that the policy must be enabled for. :param str operation_status: The operation status that the policy must be enabled for. """ - pulumi.set(__self__, "entity_names", entity_names) - pulumi.set(__self__, "entity_selection", entity_selection) - pulumi.set(__self__, "entity_type", entity_type) - pulumi.set(__self__, "operation_status", operation_status) + GetAuditPolicyAuditConditionEnableConditionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + entity_names=entity_names, + entity_selection=entity_selection, + entity_type=entity_type, + operation_status=operation_status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + entity_names: Sequence[str], + entity_selection: str, + entity_type: str, + operation_status: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("entity_names", entity_names) + _setter("entity_selection", entity_selection) + _setter("entity_type", entity_type) + _setter("operation_status", operation_status) @property @pulumi.getter(name="entityNames") @@ -6059,17 +7268,46 @@ def __init__(__self__, *, :param bool is_view_only: Indicates whether the audit policy is available for provisioning/ de-provisioning from Oracle Data Safe, or is only available for displaying the current provisioning status from the target. :param str partially_enabled_msg: Provides information about the policy that has been only partially enabled. """ - pulumi.set(__self__, "audit_policy_category", audit_policy_category) - pulumi.set(__self__, "audit_policy_name", audit_policy_name) - pulumi.set(__self__, "database_policy_names", database_policy_names) - pulumi.set(__self__, "enable_status", enable_status) - pulumi.set(__self__, "enabled_entities", enabled_entities) - pulumi.set(__self__, "is_created", is_created) - pulumi.set(__self__, "is_enabled_for_all_users", is_enabled_for_all_users) - pulumi.set(__self__, "is_seeded_in_data_safe", is_seeded_in_data_safe) - pulumi.set(__self__, "is_seeded_in_target", is_seeded_in_target) - pulumi.set(__self__, "is_view_only", is_view_only) - pulumi.set(__self__, "partially_enabled_msg", partially_enabled_msg) + GetAuditPolicyAuditSpecificationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + audit_policy_category=audit_policy_category, + audit_policy_name=audit_policy_name, + database_policy_names=database_policy_names, + enable_status=enable_status, + enabled_entities=enabled_entities, + is_created=is_created, + is_enabled_for_all_users=is_enabled_for_all_users, + is_seeded_in_data_safe=is_seeded_in_data_safe, + is_seeded_in_target=is_seeded_in_target, + is_view_only=is_view_only, + partially_enabled_msg=partially_enabled_msg, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + audit_policy_category: str, + audit_policy_name: str, + database_policy_names: Sequence[str], + enable_status: str, + enabled_entities: str, + is_created: bool, + is_enabled_for_all_users: bool, + is_seeded_in_data_safe: bool, + is_seeded_in_target: bool, + is_view_only: bool, + partially_enabled_msg: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("audit_policy_category", audit_policy_category) + _setter("audit_policy_name", audit_policy_name) + _setter("database_policy_names", database_policy_names) + _setter("enable_status", enable_status) + _setter("enabled_entities", enabled_entities) + _setter("is_created", is_created) + _setter("is_enabled_for_all_users", is_enabled_for_all_users) + _setter("is_seeded_in_data_safe", is_seeded_in_data_safe) + _setter("is_seeded_in_target", is_seeded_in_target) + _setter("is_view_only", is_view_only) + _setter("partially_enabled_msg", partially_enabled_msg) @property @pulumi.getter(name="auditPolicyCategory") @@ -6169,8 +7407,19 @@ def __init__(__self__, *, :param str count: Total count of aggregated metric. :param Sequence['GetAuditProfileAnalyticItemDimensionArgs'] dimensions: Details of aggregation dimensions used for summarizing audit profiles. """ - pulumi.set(__self__, "count", count) - pulumi.set(__self__, "dimensions", dimensions) + GetAuditProfileAnalyticItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + count=count, + dimensions=dimensions, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + count: str, + dimensions: Sequence['outputs.GetAuditProfileAnalyticItemDimensionResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("count", count) + _setter("dimensions", dimensions) @property @pulumi.getter @@ -6196,7 +7445,16 @@ def __init__(__self__, *, """ :param bool is_paid_usage_enabled: Indicates if you want to continue collecting audit records beyond the free limit of one million audit records per month per target database, potentially incurring additional charges. The default value is inherited from the global settings. You can change at the global level or at the target level. """ - pulumi.set(__self__, "is_paid_usage_enabled", is_paid_usage_enabled) + GetAuditProfileAnalyticItemDimensionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_paid_usage_enabled=is_paid_usage_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_paid_usage_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_paid_usage_enabled", is_paid_usage_enabled) @property @pulumi.getter(name="isPaidUsageEnabled") @@ -6250,25 +7508,70 @@ def __init__(__self__, *, :param str trail_location: An audit trail location represents the source of audit records that provides documentary evidence of the sequence of activities in the target database. :param str work_request_id: The OCID of the workrequest for audit trail which collects audit records. """ - pulumi.set(__self__, "audit_collection_start_time", audit_collection_start_time) - pulumi.set(__self__, "audit_profile_id", audit_profile_id) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_auto_purge_enabled", is_auto_purge_enabled) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "target_id", target_id) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_last_collected", time_last_collected) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "trail_location", trail_location) - pulumi.set(__self__, "work_request_id", work_request_id) + GetAuditProfileAuditTrailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + audit_collection_start_time=audit_collection_start_time, + audit_profile_id=audit_profile_id, + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + is_auto_purge_enabled=is_auto_purge_enabled, + lifecycle_details=lifecycle_details, + state=state, + status=status, + system_tags=system_tags, + target_id=target_id, + time_created=time_created, + time_last_collected=time_last_collected, + time_updated=time_updated, + trail_location=trail_location, + work_request_id=work_request_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + audit_collection_start_time: str, + audit_profile_id: str, + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + is_auto_purge_enabled: bool, + lifecycle_details: str, + state: str, + status: str, + system_tags: Mapping[str, Any], + target_id: str, + time_created: str, + time_last_collected: str, + time_updated: str, + trail_location: str, + work_request_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("audit_collection_start_time", audit_collection_start_time) + _setter("audit_profile_id", audit_profile_id) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_auto_purge_enabled", is_auto_purge_enabled) + _setter("lifecycle_details", lifecycle_details) + _setter("state", state) + _setter("status", status) + _setter("system_tags", system_tags) + _setter("target_id", target_id) + _setter("time_created", time_created) + _setter("time_last_collected", time_last_collected) + _setter("time_updated", time_updated) + _setter("trail_location", trail_location) + _setter("work_request_id", work_request_id) @property @pulumi.getter(name="auditCollectionStartTime") @@ -6436,10 +7739,25 @@ def __init__(__self__, *, :param str trail_location: The audit trail location. :param str volume: Represents the aggregated audit data volume available in the audit trails on the target database which is yet to be collected by Data Safe for the specified month. """ - pulumi.set(__self__, "audit_profile_id", audit_profile_id) - pulumi.set(__self__, "month_in_consideration", month_in_consideration) - pulumi.set(__self__, "trail_location", trail_location) - pulumi.set(__self__, "volume", volume) + GetAuditProfileAvailableAuditVolumeItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + audit_profile_id=audit_profile_id, + month_in_consideration=month_in_consideration, + trail_location=trail_location, + volume=volume, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + audit_profile_id: str, + month_in_consideration: str, + trail_location: str, + volume: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("audit_profile_id", audit_profile_id) + _setter("month_in_consideration", month_in_consideration) + _setter("trail_location", trail_location) + _setter("volume", volume) @property @pulumi.getter(name="auditProfileId") @@ -6481,7 +7799,16 @@ def __init__(__self__, *, """ :param Sequence['GetAuditProfileAvailableAuditVolumesAvailableAuditVolumeCollectionItemArgs'] items: Array of available audit volume summary. """ - pulumi.set(__self__, "items", items) + GetAuditProfileAvailableAuditVolumesAvailableAuditVolumeCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetAuditProfileAvailableAuditVolumesAvailableAuditVolumeCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -6499,7 +7826,16 @@ def __init__(__self__, *, """ :param Sequence['GetAuditProfileAvailableAuditVolumesAvailableAuditVolumeCollectionItemItemArgs'] items: Array of available audit volume summary. """ - pulumi.set(__self__, "items", items) + GetAuditProfileAvailableAuditVolumesAvailableAuditVolumeCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetAuditProfileAvailableAuditVolumesAvailableAuditVolumeCollectionItemItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -6523,10 +7859,25 @@ def __init__(__self__, *, :param str trail_location: The audit trail location. :param str volume: Represents the aggregated audit data volume available in the audit trails on the target database which is yet to be collected by Data Safe for the specified month. """ - pulumi.set(__self__, "audit_profile_id", audit_profile_id) - pulumi.set(__self__, "month_in_consideration", month_in_consideration) - pulumi.set(__self__, "trail_location", trail_location) - pulumi.set(__self__, "volume", volume) + GetAuditProfileAvailableAuditVolumesAvailableAuditVolumeCollectionItemItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + audit_profile_id=audit_profile_id, + month_in_consideration=month_in_consideration, + trail_location=trail_location, + volume=volume, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + audit_profile_id: str, + month_in_consideration: str, + trail_location: str, + volume: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("audit_profile_id", audit_profile_id) + _setter("month_in_consideration", month_in_consideration) + _setter("trail_location", trail_location) + _setter("volume", volume) @property @pulumi.getter(name="auditProfileId") @@ -6567,10 +7918,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAuditProfileAvailableAuditVolumesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -6601,10 +7965,25 @@ def __init__(__self__, *, :param str month_in_consideration: Represents the month under consideration in which the aggregated audit data volume collected by Data Safe is displayed. This field will be the UTC start of the day of the first day of the month for which the aggregate count corresponds to, in the format defined by RFC3339.. For instance, the value of 01-01-2021T00:00:00Z represents Jan 2021. :param str online_volume: The audit data volume collected by Data Safe and is available online in repository. """ - pulumi.set(__self__, "archived_volume", archived_volume) - pulumi.set(__self__, "audit_profile_id", audit_profile_id) - pulumi.set(__self__, "month_in_consideration", month_in_consideration) - pulumi.set(__self__, "online_volume", online_volume) + GetAuditProfileCollectedAuditVolumeItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + archived_volume=archived_volume, + audit_profile_id=audit_profile_id, + month_in_consideration=month_in_consideration, + online_volume=online_volume, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + archived_volume: str, + audit_profile_id: str, + month_in_consideration: str, + online_volume: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("archived_volume", archived_volume) + _setter("audit_profile_id", audit_profile_id) + _setter("month_in_consideration", month_in_consideration) + _setter("online_volume", online_volume) @property @pulumi.getter(name="archivedVolume") @@ -6646,7 +8025,16 @@ def __init__(__self__, *, """ :param Sequence['GetAuditProfileCollectedAuditVolumesCollectedAuditVolumeCollectionItemArgs'] items: Array of collected audit volume summary. """ - pulumi.set(__self__, "items", items) + GetAuditProfileCollectedAuditVolumesCollectedAuditVolumeCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetAuditProfileCollectedAuditVolumesCollectedAuditVolumeCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -6664,7 +8052,16 @@ def __init__(__self__, *, """ :param Sequence['GetAuditProfileCollectedAuditVolumesCollectedAuditVolumeCollectionItemItemArgs'] items: Array of collected audit volume summary. """ - pulumi.set(__self__, "items", items) + GetAuditProfileCollectedAuditVolumesCollectedAuditVolumeCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetAuditProfileCollectedAuditVolumesCollectedAuditVolumeCollectionItemItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -6688,10 +8085,25 @@ def __init__(__self__, *, :param str month_in_consideration: Represents the month under consideration in which the aggregated audit data volume collected by Data Safe is displayed. This field will be the UTC start of the day of the first day of the month for which the aggregate count corresponds to, in the format defined by RFC3339.. For instance, the value of 01-01-2021T00:00:00Z represents Jan 2021. :param str online_volume: The audit data volume collected by Data Safe and is available online in repository. """ - pulumi.set(__self__, "archived_volume", archived_volume) - pulumi.set(__self__, "audit_profile_id", audit_profile_id) - pulumi.set(__self__, "month_in_consideration", month_in_consideration) - pulumi.set(__self__, "online_volume", online_volume) + GetAuditProfileCollectedAuditVolumesCollectedAuditVolumeCollectionItemItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + archived_volume=archived_volume, + audit_profile_id=audit_profile_id, + month_in_consideration=month_in_consideration, + online_volume=online_volume, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + archived_volume: str, + audit_profile_id: str, + month_in_consideration: str, + online_volume: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("archived_volume", archived_volume) + _setter("audit_profile_id", audit_profile_id) + _setter("month_in_consideration", month_in_consideration) + _setter("online_volume", online_volume) @property @pulumi.getter(name="archivedVolume") @@ -6732,10 +8144,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAuditProfileCollectedAuditVolumesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -6757,7 +8182,16 @@ def regex(self) -> Optional[bool]: class GetAuditProfilesAuditProfileCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetAuditProfilesAuditProfileCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetAuditProfilesAuditProfileCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetAuditProfilesAuditProfileCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -6809,26 +8243,73 @@ def __init__(__self__, *, :param str time_created: The date and time the audit profile was created, in the format defined by RFC3339. :param str time_updated: The date and time the audit profile was updated, in the format defined by RFC3339. """ - pulumi.set(__self__, "audit_collected_volume", audit_collected_volume) - pulumi.set(__self__, "audit_profile_id", audit_profile_id) - pulumi.set(__self__, "audit_trails", audit_trails) - pulumi.set(__self__, "change_retention_trigger", change_retention_trigger) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_override_global_retention_setting", is_override_global_retention_setting) - pulumi.set(__self__, "is_paid_usage_enabled", is_paid_usage_enabled) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "offline_months", offline_months) - pulumi.set(__self__, "online_months", online_months) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "target_id", target_id) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetAuditProfilesAuditProfileCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + audit_collected_volume=audit_collected_volume, + audit_profile_id=audit_profile_id, + audit_trails=audit_trails, + change_retention_trigger=change_retention_trigger, + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + is_override_global_retention_setting=is_override_global_retention_setting, + is_paid_usage_enabled=is_paid_usage_enabled, + lifecycle_details=lifecycle_details, + offline_months=offline_months, + online_months=online_months, + state=state, + system_tags=system_tags, + target_id=target_id, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + audit_collected_volume: str, + audit_profile_id: str, + audit_trails: Sequence['outputs.GetAuditProfilesAuditProfileCollectionItemAuditTrailResult'], + change_retention_trigger: int, + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + is_override_global_retention_setting: bool, + is_paid_usage_enabled: bool, + lifecycle_details: str, + offline_months: int, + online_months: int, + state: str, + system_tags: Mapping[str, Any], + target_id: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("audit_collected_volume", audit_collected_volume) + _setter("audit_profile_id", audit_profile_id) + _setter("audit_trails", audit_trails) + _setter("change_retention_trigger", change_retention_trigger) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_override_global_retention_setting", is_override_global_retention_setting) + _setter("is_paid_usage_enabled", is_paid_usage_enabled) + _setter("lifecycle_details", lifecycle_details) + _setter("offline_months", offline_months) + _setter("online_months", online_months) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("target_id", target_id) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="auditCollectedVolume") @@ -7031,25 +8512,70 @@ def __init__(__self__, *, :param str trail_location: An audit trail location represents the source of audit records that provides documentary evidence of the sequence of activities in the target database. :param str work_request_id: The OCID of the workrequest for audit trail which collects audit records. """ - pulumi.set(__self__, "audit_collection_start_time", audit_collection_start_time) - pulumi.set(__self__, "audit_profile_id", audit_profile_id) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_auto_purge_enabled", is_auto_purge_enabled) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "target_id", target_id) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_last_collected", time_last_collected) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "trail_location", trail_location) - pulumi.set(__self__, "work_request_id", work_request_id) + GetAuditProfilesAuditProfileCollectionItemAuditTrailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + audit_collection_start_time=audit_collection_start_time, + audit_profile_id=audit_profile_id, + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + is_auto_purge_enabled=is_auto_purge_enabled, + lifecycle_details=lifecycle_details, + state=state, + status=status, + system_tags=system_tags, + target_id=target_id, + time_created=time_created, + time_last_collected=time_last_collected, + time_updated=time_updated, + trail_location=trail_location, + work_request_id=work_request_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + audit_collection_start_time: str, + audit_profile_id: str, + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + is_auto_purge_enabled: bool, + lifecycle_details: str, + state: str, + status: str, + system_tags: Mapping[str, Any], + target_id: str, + time_created: str, + time_last_collected: str, + time_updated: str, + trail_location: str, + work_request_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("audit_collection_start_time", audit_collection_start_time) + _setter("audit_profile_id", audit_profile_id) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_auto_purge_enabled", is_auto_purge_enabled) + _setter("lifecycle_details", lifecycle_details) + _setter("state", state) + _setter("status", status) + _setter("system_tags", system_tags) + _setter("target_id", target_id) + _setter("time_created", time_created) + _setter("time_last_collected", time_last_collected) + _setter("time_updated", time_updated) + _setter("trail_location", trail_location) + _setter("work_request_id", work_request_id) @property @pulumi.getter(name="auditCollectionStartTime") @@ -7210,10 +8736,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAuditProfilesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -7240,8 +8779,19 @@ def __init__(__self__, *, :param str count: Total count of aggregated metric. :param Sequence['GetAuditTrailAnalyticItemDimensionArgs'] dimensions: Details of aggregation dimensions used for summarizing audit trails. """ - pulumi.set(__self__, "count", count) - pulumi.set(__self__, "dimensions", dimensions) + GetAuditTrailAnalyticItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + count=count, + dimensions=dimensions, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + count: str, + dimensions: Sequence['outputs.GetAuditTrailAnalyticItemDimensionResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("count", count) + _setter("dimensions", dimensions) @property @pulumi.getter @@ -7273,10 +8823,25 @@ def __init__(__self__, *, :param str status: The current sub-state of the audit trail.. :param str target_id: A filter to return only items related to a specific target OCID. """ - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "target_id", target_id) + GetAuditTrailAnalyticItemDimensionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + location=location, + state=state, + status=status, + target_id=target_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + location: str, + state: str, + status: str, + target_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("location", location) + _setter("state", state) + _setter("status", status) + _setter("target_id", target_id) @property @pulumi.getter @@ -7315,7 +8880,16 @@ def target_id(self) -> str: class GetAuditTrailsAuditTrailCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetAuditTrailsAuditTrailCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetAuditTrailsAuditTrailCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetAuditTrailsAuditTrailCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -7369,27 +8943,76 @@ def __init__(__self__, *, :param str trail_location: An audit trail location represents the source of audit records that provides documentary evidence of the sequence of activities in the target database. :param str work_request_id: The OCID of the workrequest for audit trail which collects audit records. """ - pulumi.set(__self__, "audit_collection_start_time", audit_collection_start_time) - pulumi.set(__self__, "audit_profile_id", audit_profile_id) - pulumi.set(__self__, "audit_trail_id", audit_trail_id) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_auto_purge_enabled", is_auto_purge_enabled) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "resume_trigger", resume_trigger) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "target_id", target_id) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_last_collected", time_last_collected) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "trail_location", trail_location) - pulumi.set(__self__, "work_request_id", work_request_id) + GetAuditTrailsAuditTrailCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + audit_collection_start_time=audit_collection_start_time, + audit_profile_id=audit_profile_id, + audit_trail_id=audit_trail_id, + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + is_auto_purge_enabled=is_auto_purge_enabled, + lifecycle_details=lifecycle_details, + resume_trigger=resume_trigger, + state=state, + status=status, + system_tags=system_tags, + target_id=target_id, + time_created=time_created, + time_last_collected=time_last_collected, + time_updated=time_updated, + trail_location=trail_location, + work_request_id=work_request_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + audit_collection_start_time: str, + audit_profile_id: str, + audit_trail_id: str, + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + is_auto_purge_enabled: bool, + lifecycle_details: str, + resume_trigger: int, + state: str, + status: str, + system_tags: Mapping[str, Any], + target_id: str, + time_created: str, + time_last_collected: str, + time_updated: str, + trail_location: str, + work_request_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("audit_collection_start_time", audit_collection_start_time) + _setter("audit_profile_id", audit_profile_id) + _setter("audit_trail_id", audit_trail_id) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_auto_purge_enabled", is_auto_purge_enabled) + _setter("lifecycle_details", lifecycle_details) + _setter("resume_trigger", resume_trigger) + _setter("state", state) + _setter("status", status) + _setter("system_tags", system_tags) + _setter("target_id", target_id) + _setter("time_created", time_created) + _setter("time_last_collected", time_last_collected) + _setter("time_updated", time_updated) + _setter("trail_location", trail_location) + _setter("work_request_id", work_request_id) @property @pulumi.getter(name="auditCollectionStartTime") @@ -7563,10 +9186,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAuditTrailsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -7593,8 +9229,19 @@ def __init__(__self__, *, :param str data_type: The data type category, which can be one of the following - Character - Includes CHAR, NCHAR, VARCHAR2, and NVARCHAR2 Numeric - Includes NUMBER, FLOAT, RAW, BINARY_FLOAT, and BINARY_DOUBLE Date - Includes DATE and TIMESTAMP LOB - Includes BLOB, CLOB, and NCLOB All - Includes all the supported data types :param Sequence['GetCompatibleFormatsForDataTypeFormatsForDataTypeMaskingFormatArgs'] masking_formats: An array of the basic masking formats compatible with the data type category. """ - pulumi.set(__self__, "data_type", data_type) - pulumi.set(__self__, "masking_formats", masking_formats) + GetCompatibleFormatsForDataTypeFormatsForDataTypeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + data_type=data_type, + masking_formats=masking_formats, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + data_type: str, + masking_formats: Sequence['outputs.GetCompatibleFormatsForDataTypeFormatsForDataTypeMaskingFormatResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("data_type", data_type) + _setter("masking_formats", masking_formats) @property @pulumi.getter(name="dataType") @@ -7624,9 +9271,22 @@ def __init__(__self__, *, :param str id: The OCID of the masking format. :param str name: The name of the masking format. """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "name", name) + GetCompatibleFormatsForDataTypeFormatsForDataTypeMaskingFormatResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + id=id, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + id: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("id", id) + _setter("name", name) @property @pulumi.getter @@ -7662,8 +9322,19 @@ def __init__(__self__, *, :param Sequence['GetCompatibleFormatsForSensitiveTypeFormatsForSensitiveTypeMaskingFormatArgs'] masking_formats: An array of the library masking formats compatible with the sensitive type. :param str sensitive_type_id: The OCID of the sensitive type. """ - pulumi.set(__self__, "masking_formats", masking_formats) - pulumi.set(__self__, "sensitive_type_id", sensitive_type_id) + GetCompatibleFormatsForSensitiveTypeFormatsForSensitiveTypeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + masking_formats=masking_formats, + sensitive_type_id=sensitive_type_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + masking_formats: Sequence['outputs.GetCompatibleFormatsForSensitiveTypeFormatsForSensitiveTypeMaskingFormatResult'], + sensitive_type_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("masking_formats", masking_formats) + _setter("sensitive_type_id", sensitive_type_id) @property @pulumi.getter(name="maskingFormats") @@ -7693,9 +9364,22 @@ def __init__(__self__, *, :param str id: The OCID of the masking format. :param str name: The name of the masking format. """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "name", name) + GetCompatibleFormatsForSensitiveTypeFormatsForSensitiveTypeMaskingFormatResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + id=id, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + id: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("id", id) + _setter("name", name) @property @pulumi.getter @@ -7733,9 +9417,22 @@ def __init__(__self__, *, :param int offline_retention_period: The offline retention period in months. :param int online_retention_period: The online retention period in months. """ - pulumi.set(__self__, "is_paid_usage", is_paid_usage) - pulumi.set(__self__, "offline_retention_period", offline_retention_period) - pulumi.set(__self__, "online_retention_period", online_retention_period) + GetDataSafeConfigurationGlobalSettingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_paid_usage=is_paid_usage, + offline_retention_period=offline_retention_period, + online_retention_period=online_retention_period, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_paid_usage: bool, + offline_retention_period: int, + online_retention_period: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_paid_usage", is_paid_usage) + _setter("offline_retention_period", offline_retention_period) + _setter("online_retention_period", online_retention_period) @property @pulumi.getter(name="isPaidUsage") @@ -7797,21 +9494,58 @@ def __init__(__self__, *, :param str time_created: The date and time the private endpoint was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). :param str vcn_id: A filter to return only resources that match the specified VCN OCID. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "endpoint_fqdn", endpoint_fqdn) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "nsg_ids", nsg_ids) - pulumi.set(__self__, "private_endpoint_id", private_endpoint_id) - pulumi.set(__self__, "private_endpoint_ip", private_endpoint_ip) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "vcn_id", vcn_id) + GetDataSafePrivateEndpointsDataSafePrivateEndpointResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + endpoint_fqdn=endpoint_fqdn, + freeform_tags=freeform_tags, + id=id, + nsg_ids=nsg_ids, + private_endpoint_id=private_endpoint_id, + private_endpoint_ip=private_endpoint_ip, + state=state, + subnet_id=subnet_id, + system_tags=system_tags, + time_created=time_created, + vcn_id=vcn_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + endpoint_fqdn: str, + freeform_tags: Mapping[str, Any], + id: str, + nsg_ids: Sequence[str], + private_endpoint_id: str, + private_endpoint_ip: str, + state: str, + subnet_id: str, + system_tags: Mapping[str, Any], + time_created: str, + vcn_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("endpoint_fqdn", endpoint_fqdn) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("nsg_ids", nsg_ids) + _setter("private_endpoint_id", private_endpoint_id) + _setter("private_endpoint_ip", private_endpoint_ip) + _setter("state", state) + _setter("subnet_id", subnet_id) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("vcn_id", vcn_id) @property @pulumi.getter(name="compartmentId") @@ -7940,10 +9674,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDataSafePrivateEndpointsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -7972,9 +9719,22 @@ def __init__(__self__, *, :param Sequence['GetDiscoveryAnalyticItemDimensionArgs'] dimensions: The scope of analytics data. :param str metric_name: The name of the aggregation metric. """ - pulumi.set(__self__, "count", count) - pulumi.set(__self__, "dimensions", dimensions) - pulumi.set(__self__, "metric_name", metric_name) + GetDiscoveryAnalyticItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + count=count, + dimensions=dimensions, + metric_name=metric_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + count: str, + dimensions: Sequence['outputs.GetDiscoveryAnalyticItemDimensionResult'], + metric_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("count", count) + _setter("dimensions", dimensions) + _setter("metric_name", metric_name) @property @pulumi.getter @@ -8010,8 +9770,19 @@ def __init__(__self__, *, :param str sensitive_data_model_id: A filter to return only the resources that match the specified sensitive data model OCID. :param str target_id: A filter to return only items related to a specific target OCID. """ - pulumi.set(__self__, "sensitive_data_model_id", sensitive_data_model_id) - pulumi.set(__self__, "target_id", target_id) + GetDiscoveryAnalyticItemDimensionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + sensitive_data_model_id=sensitive_data_model_id, + target_id=target_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + sensitive_data_model_id: str, + target_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("sensitive_data_model_id", sensitive_data_model_id) + _setter("target_id", target_id) @property @pulumi.getter(name="sensitiveDataModelId") @@ -8037,7 +9808,16 @@ def __init__(__self__, *, """ :param Sequence['GetDiscoveryAnalyticsDiscoveryAnalyticsCollectionItemArgs'] items: An array of discovery analytics summary objects. """ - pulumi.set(__self__, "items", items) + GetDiscoveryAnalyticsDiscoveryAnalyticsCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDiscoveryAnalyticsDiscoveryAnalyticsCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -8059,9 +9839,22 @@ def __init__(__self__, *, :param Sequence['GetDiscoveryAnalyticsDiscoveryAnalyticsCollectionItemDimensionArgs'] dimensions: The scope of analytics data. :param str metric_name: The name of the aggregation metric. """ - pulumi.set(__self__, "count", count) - pulumi.set(__self__, "dimensions", dimensions) - pulumi.set(__self__, "metric_name", metric_name) + GetDiscoveryAnalyticsDiscoveryAnalyticsCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + count=count, + dimensions=dimensions, + metric_name=metric_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + count: str, + dimensions: Sequence['outputs.GetDiscoveryAnalyticsDiscoveryAnalyticsCollectionItemDimensionResult'], + metric_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("count", count) + _setter("dimensions", dimensions) + _setter("metric_name", metric_name) @property @pulumi.getter @@ -8097,8 +9890,19 @@ def __init__(__self__, *, :param str sensitive_data_model_id: A filter to return only the resources that match the specified sensitive data model OCID. :param str target_id: A filter to return only items related to a specific target OCID. """ - pulumi.set(__self__, "sensitive_data_model_id", sensitive_data_model_id) - pulumi.set(__self__, "target_id", target_id) + GetDiscoveryAnalyticsDiscoveryAnalyticsCollectionItemDimensionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + sensitive_data_model_id=sensitive_data_model_id, + target_id=target_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + sensitive_data_model_id: str, + target_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("sensitive_data_model_id", sensitive_data_model_id) + _setter("target_id", target_id) @property @pulumi.getter(name="sensitiveDataModelId") @@ -8123,10 +9927,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDiscoveryAnalyticsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -8153,8 +9970,19 @@ def __init__(__self__, *, :param Sequence[str] app_defined_child_column_keys: Unique keys identifying the columns that are application-level (non-dictionary) children of the sensitive column. :param Sequence[str] db_defined_child_column_keys: Unique keys identifying the columns that are database-level (dictionary-defined) children of the sensitive column. """ - pulumi.set(__self__, "app_defined_child_column_keys", app_defined_child_column_keys) - pulumi.set(__self__, "db_defined_child_column_keys", db_defined_child_column_keys) + GetDiscoveryJobsResultModifiedAttributeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + app_defined_child_column_keys=app_defined_child_column_keys, + db_defined_child_column_keys=db_defined_child_column_keys, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + app_defined_child_column_keys: Sequence[str], + db_defined_child_column_keys: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("app_defined_child_column_keys", app_defined_child_column_keys) + _setter("db_defined_child_column_keys", db_defined_child_column_keys) @property @pulumi.getter(name="appDefinedChildColumnKeys") @@ -8177,7 +10005,16 @@ def db_defined_child_column_keys(self) -> Sequence[str]: class GetDiscoveryJobsResultsDiscoveryJobResultCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetDiscoveryJobsResultsDiscoveryJobResultCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetDiscoveryJobsResultsDiscoveryJobResultCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDiscoveryJobsResultsDiscoveryJobResultCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -8230,26 +10067,73 @@ def __init__(__self__, *, :param str sensitive_columnkey: The unique key that identifies the sensitive column represented by the discovery result. :param str sensitive_type_id: The OCID of the sensitive type associated with the sensitive column. """ - pulumi.set(__self__, "app_defined_child_column_keys", app_defined_child_column_keys) - pulumi.set(__self__, "app_name", app_name) - pulumi.set(__self__, "column_name", column_name) - pulumi.set(__self__, "data_type", data_type) - pulumi.set(__self__, "db_defined_child_column_keys", db_defined_child_column_keys) - pulumi.set(__self__, "discovery_job_id", discovery_job_id) - pulumi.set(__self__, "discovery_type", discovery_type) - pulumi.set(__self__, "estimated_data_value_count", estimated_data_value_count) - pulumi.set(__self__, "is_result_applied", is_result_applied) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "modified_attributes", modified_attributes) - pulumi.set(__self__, "object", object) - pulumi.set(__self__, "object_type", object_type) - pulumi.set(__self__, "parent_column_keys", parent_column_keys) - pulumi.set(__self__, "planned_action", planned_action) - pulumi.set(__self__, "relation_type", relation_type) - pulumi.set(__self__, "sample_data_values", sample_data_values) - pulumi.set(__self__, "schema_name", schema_name) - pulumi.set(__self__, "sensitive_columnkey", sensitive_columnkey) - pulumi.set(__self__, "sensitive_type_id", sensitive_type_id) + GetDiscoveryJobsResultsDiscoveryJobResultCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + app_defined_child_column_keys=app_defined_child_column_keys, + app_name=app_name, + column_name=column_name, + data_type=data_type, + db_defined_child_column_keys=db_defined_child_column_keys, + discovery_job_id=discovery_job_id, + discovery_type=discovery_type, + estimated_data_value_count=estimated_data_value_count, + is_result_applied=is_result_applied, + key=key, + modified_attributes=modified_attributes, + object=object, + object_type=object_type, + parent_column_keys=parent_column_keys, + planned_action=planned_action, + relation_type=relation_type, + sample_data_values=sample_data_values, + schema_name=schema_name, + sensitive_columnkey=sensitive_columnkey, + sensitive_type_id=sensitive_type_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + app_defined_child_column_keys: Sequence[str], + app_name: str, + column_name: str, + data_type: str, + db_defined_child_column_keys: Sequence[str], + discovery_job_id: str, + discovery_type: str, + estimated_data_value_count: str, + is_result_applied: bool, + key: str, + modified_attributes: Sequence['outputs.GetDiscoveryJobsResultsDiscoveryJobResultCollectionItemModifiedAttributeResult'], + object: str, + object_type: str, + parent_column_keys: Sequence[str], + planned_action: str, + relation_type: str, + sample_data_values: Sequence[str], + schema_name: str, + sensitive_columnkey: str, + sensitive_type_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("app_defined_child_column_keys", app_defined_child_column_keys) + _setter("app_name", app_name) + _setter("column_name", column_name) + _setter("data_type", data_type) + _setter("db_defined_child_column_keys", db_defined_child_column_keys) + _setter("discovery_job_id", discovery_job_id) + _setter("discovery_type", discovery_type) + _setter("estimated_data_value_count", estimated_data_value_count) + _setter("is_result_applied", is_result_applied) + _setter("key", key) + _setter("modified_attributes", modified_attributes) + _setter("object", object) + _setter("object_type", object_type) + _setter("parent_column_keys", parent_column_keys) + _setter("planned_action", planned_action) + _setter("relation_type", relation_type) + _setter("sample_data_values", sample_data_values) + _setter("schema_name", schema_name) + _setter("sensitive_columnkey", sensitive_columnkey) + _setter("sensitive_type_id", sensitive_type_id) @property @pulumi.getter(name="appDefinedChildColumnKeys") @@ -8430,8 +10314,19 @@ def __init__(__self__, *, :param Sequence[str] app_defined_child_column_keys: Unique keys identifying the columns that are application-level (non-dictionary) children of the sensitive column. :param Sequence[str] db_defined_child_column_keys: Unique keys identifying the columns that are database-level (dictionary-defined) children of the sensitive column. """ - pulumi.set(__self__, "app_defined_child_column_keys", app_defined_child_column_keys) - pulumi.set(__self__, "db_defined_child_column_keys", db_defined_child_column_keys) + GetDiscoveryJobsResultsDiscoveryJobResultCollectionItemModifiedAttributeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + app_defined_child_column_keys=app_defined_child_column_keys, + db_defined_child_column_keys=db_defined_child_column_keys, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + app_defined_child_column_keys: Sequence[str], + db_defined_child_column_keys: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("app_defined_child_column_keys", app_defined_child_column_keys) + _setter("db_defined_child_column_keys", db_defined_child_column_keys) @property @pulumi.getter(name="appDefinedChildColumnKeys") @@ -8456,10 +10351,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDiscoveryJobsResultsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -8528,29 +10436,82 @@ def __init__(__self__, *, :param str type: The type of the format entry. :param str user_defined_function: The user-defined function in SCHEMA_NAME.PACKAGE_NAME.FUNCTION_NAME format. It can be a standalone or packaged function, so PACKAGE_NAME is optional. """ - pulumi.set(__self__, "column_name", column_name) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "end_date", end_date) - pulumi.set(__self__, "end_length", end_length) - pulumi.set(__self__, "end_value", end_value) - pulumi.set(__self__, "fixed_number", fixed_number) - pulumi.set(__self__, "fixed_string", fixed_string) - pulumi.set(__self__, "grouping_columns", grouping_columns) - pulumi.set(__self__, "length", length) - pulumi.set(__self__, "library_masking_format_id", library_masking_format_id) - pulumi.set(__self__, "post_processing_function", post_processing_function) - pulumi.set(__self__, "random_lists", random_lists) - pulumi.set(__self__, "regular_expression", regular_expression) - pulumi.set(__self__, "replace_with", replace_with) - pulumi.set(__self__, "schema_name", schema_name) - pulumi.set(__self__, "sql_expression", sql_expression) - pulumi.set(__self__, "start_date", start_date) - pulumi.set(__self__, "start_length", start_length) - pulumi.set(__self__, "start_position", start_position) - pulumi.set(__self__, "start_value", start_value) - pulumi.set(__self__, "table_name", table_name) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "user_defined_function", user_defined_function) + GetLibraryMaskingFormatFormatEntryResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + column_name=column_name, + description=description, + end_date=end_date, + end_length=end_length, + end_value=end_value, + fixed_number=fixed_number, + fixed_string=fixed_string, + grouping_columns=grouping_columns, + length=length, + library_masking_format_id=library_masking_format_id, + post_processing_function=post_processing_function, + random_lists=random_lists, + regular_expression=regular_expression, + replace_with=replace_with, + schema_name=schema_name, + sql_expression=sql_expression, + start_date=start_date, + start_length=start_length, + start_position=start_position, + start_value=start_value, + table_name=table_name, + type=type, + user_defined_function=user_defined_function, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + column_name: str, + description: str, + end_date: str, + end_length: int, + end_value: float, + fixed_number: float, + fixed_string: str, + grouping_columns: Sequence[str], + length: int, + library_masking_format_id: str, + post_processing_function: str, + random_lists: Sequence[str], + regular_expression: str, + replace_with: str, + schema_name: str, + sql_expression: str, + start_date: str, + start_length: int, + start_position: int, + start_value: float, + table_name: str, + type: str, + user_defined_function: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("column_name", column_name) + _setter("description", description) + _setter("end_date", end_date) + _setter("end_length", end_length) + _setter("end_value", end_value) + _setter("fixed_number", fixed_number) + _setter("fixed_string", fixed_string) + _setter("grouping_columns", grouping_columns) + _setter("length", length) + _setter("library_masking_format_id", library_masking_format_id) + _setter("post_processing_function", post_processing_function) + _setter("random_lists", random_lists) + _setter("regular_expression", regular_expression) + _setter("replace_with", replace_with) + _setter("schema_name", schema_name) + _setter("sql_expression", sql_expression) + _setter("start_date", start_date) + _setter("start_length", start_length) + _setter("start_position", start_position) + _setter("start_value", start_value) + _setter("table_name", table_name) + _setter("type", type) + _setter("user_defined_function", user_defined_function) @property @pulumi.getter(name="columnName") @@ -8743,10 +10704,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetLibraryMaskingFormatsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -8768,7 +10742,16 @@ def regex(self) -> Optional[bool]: class GetLibraryMaskingFormatsLibraryMaskingFormatCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetLibraryMaskingFormatsLibraryMaskingFormatCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetLibraryMaskingFormatsLibraryMaskingFormatCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetLibraryMaskingFormatsLibraryMaskingFormatCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -8805,18 +10788,49 @@ def __init__(__self__, *, :param str time_created: The date and time the library masking format was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339) :param str time_updated: The date and time the library masking format was updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339) """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "format_entries", format_entries) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "sensitive_type_ids", sensitive_type_ids) - pulumi.set(__self__, "source", source) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetLibraryMaskingFormatsLibraryMaskingFormatCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + format_entries=format_entries, + freeform_tags=freeform_tags, + id=id, + sensitive_type_ids=sensitive_type_ids, + source=source, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + format_entries: Sequence['outputs.GetLibraryMaskingFormatsLibraryMaskingFormatCollectionItemFormatEntryResult'], + freeform_tags: Mapping[str, Any], + id: str, + sensitive_type_ids: Sequence[str], + source: str, + state: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("format_entries", format_entries) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("sensitive_type_ids", sensitive_type_ids) + _setter("source", source) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -8966,29 +10980,82 @@ def __init__(__self__, *, :param str type: The type of the format entry. :param str user_defined_function: The user-defined function in SCHEMA_NAME.PACKAGE_NAME.FUNCTION_NAME format. It can be a standalone or packaged function, so PACKAGE_NAME is optional. """ - pulumi.set(__self__, "column_name", column_name) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "end_date", end_date) - pulumi.set(__self__, "end_length", end_length) - pulumi.set(__self__, "end_value", end_value) - pulumi.set(__self__, "fixed_number", fixed_number) - pulumi.set(__self__, "fixed_string", fixed_string) - pulumi.set(__self__, "grouping_columns", grouping_columns) - pulumi.set(__self__, "length", length) - pulumi.set(__self__, "library_masking_format_id", library_masking_format_id) - pulumi.set(__self__, "post_processing_function", post_processing_function) - pulumi.set(__self__, "random_lists", random_lists) - pulumi.set(__self__, "regular_expression", regular_expression) - pulumi.set(__self__, "replace_with", replace_with) - pulumi.set(__self__, "schema_name", schema_name) - pulumi.set(__self__, "sql_expression", sql_expression) - pulumi.set(__self__, "start_date", start_date) - pulumi.set(__self__, "start_length", start_length) - pulumi.set(__self__, "start_position", start_position) - pulumi.set(__self__, "start_value", start_value) - pulumi.set(__self__, "table_name", table_name) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "user_defined_function", user_defined_function) + GetLibraryMaskingFormatsLibraryMaskingFormatCollectionItemFormatEntryResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + column_name=column_name, + description=description, + end_date=end_date, + end_length=end_length, + end_value=end_value, + fixed_number=fixed_number, + fixed_string=fixed_string, + grouping_columns=grouping_columns, + length=length, + library_masking_format_id=library_masking_format_id, + post_processing_function=post_processing_function, + random_lists=random_lists, + regular_expression=regular_expression, + replace_with=replace_with, + schema_name=schema_name, + sql_expression=sql_expression, + start_date=start_date, + start_length=start_length, + start_position=start_position, + start_value=start_value, + table_name=table_name, + type=type, + user_defined_function=user_defined_function, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + column_name: str, + description: str, + end_date: str, + end_length: int, + end_value: float, + fixed_number: float, + fixed_string: str, + grouping_columns: Sequence[str], + length: int, + library_masking_format_id: str, + post_processing_function: str, + random_lists: Sequence[str], + regular_expression: str, + replace_with: str, + schema_name: str, + sql_expression: str, + start_date: str, + start_length: int, + start_position: int, + start_value: float, + table_name: str, + type: str, + user_defined_function: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("column_name", column_name) + _setter("description", description) + _setter("end_date", end_date) + _setter("end_length", end_length) + _setter("end_value", end_value) + _setter("fixed_number", fixed_number) + _setter("fixed_string", fixed_string) + _setter("grouping_columns", grouping_columns) + _setter("length", length) + _setter("library_masking_format_id", library_masking_format_id) + _setter("post_processing_function", post_processing_function) + _setter("random_lists", random_lists) + _setter("regular_expression", regular_expression) + _setter("replace_with", replace_with) + _setter("schema_name", schema_name) + _setter("sql_expression", sql_expression) + _setter("start_date", start_date) + _setter("start_length", start_length) + _setter("start_position", start_position) + _setter("start_value", start_value) + _setter("table_name", table_name) + _setter("type", type) + _setter("user_defined_function", user_defined_function) @property @pulumi.getter(name="columnName") @@ -9181,10 +11248,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetListUserGrantsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -9217,11 +11297,28 @@ def __init__(__self__, *, :param str privilege_category: A filter to return only items that match the specified user privilege category. :param str privilege_type: A filter to return only items that match the specified privilege grant type. """ - pulumi.set(__self__, "depth_level", depth_level) - pulumi.set(__self__, "grant_name", grant_name) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "privilege_category", privilege_category) - pulumi.set(__self__, "privilege_type", privilege_type) + GetListUserGrantsGrantResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + depth_level=depth_level, + grant_name=grant_name, + key=key, + privilege_category=privilege_category, + privilege_type=privilege_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + depth_level: int, + grant_name: str, + key: str, + privilege_category: str, + privilege_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("depth_level", depth_level) + _setter("grant_name", grant_name) + _setter("key", key) + _setter("privilege_category", privilege_category) + _setter("privilege_type", privilege_type) @property @pulumi.getter(name="depthLevel") @@ -9275,9 +11372,22 @@ def __init__(__self__, *, :param Sequence['GetMaskingAnalyticItemDimensionArgs'] dimensions: The scope of analytics data. :param str metric_name: The name of the aggregation metric. """ - pulumi.set(__self__, "count", count) - pulumi.set(__self__, "dimensions", dimensions) - pulumi.set(__self__, "metric_name", metric_name) + GetMaskingAnalyticItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + count=count, + dimensions=dimensions, + metric_name=metric_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + count: str, + dimensions: Sequence['outputs.GetMaskingAnalyticItemDimensionResult'], + metric_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("count", count) + _setter("dimensions", dimensions) + _setter("metric_name", metric_name) @property @pulumi.getter @@ -9313,8 +11423,19 @@ def __init__(__self__, *, :param str policy_id: The OCID of the masking policy.. :param str target_id: A filter to return only items related to a specific target OCID. """ - pulumi.set(__self__, "policy_id", policy_id) - pulumi.set(__self__, "target_id", target_id) + GetMaskingAnalyticItemDimensionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + policy_id=policy_id, + target_id=target_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + policy_id: str, + target_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("policy_id", policy_id) + _setter("target_id", target_id) @property @pulumi.getter(name="policyId") @@ -9339,10 +11460,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetMaskingAnalyticsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -9367,7 +11501,16 @@ def __init__(__self__, *, """ :param Sequence['GetMaskingAnalyticsMaskingAnalyticsCollectionItemArgs'] items: An array of masking analytics summary objects. """ - pulumi.set(__self__, "items", items) + GetMaskingAnalyticsMaskingAnalyticsCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetMaskingAnalyticsMaskingAnalyticsCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -9389,9 +11532,22 @@ def __init__(__self__, *, :param Sequence['GetMaskingAnalyticsMaskingAnalyticsCollectionItemDimensionArgs'] dimensions: The scope of analytics data. :param str metric_name: The name of the aggregation metric. """ - pulumi.set(__self__, "count", count) - pulumi.set(__self__, "dimensions", dimensions) - pulumi.set(__self__, "metric_name", metric_name) + GetMaskingAnalyticsMaskingAnalyticsCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + count=count, + dimensions=dimensions, + metric_name=metric_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + count: str, + dimensions: Sequence['outputs.GetMaskingAnalyticsMaskingAnalyticsCollectionItemDimensionResult'], + metric_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("count", count) + _setter("dimensions", dimensions) + _setter("metric_name", metric_name) @property @pulumi.getter @@ -9427,8 +11583,19 @@ def __init__(__self__, *, :param str policy_id: The OCID of the masking policy.. :param str target_id: A filter to return only items related to a specific target OCID. """ - pulumi.set(__self__, "policy_id", policy_id) - pulumi.set(__self__, "target_id", target_id) + GetMaskingAnalyticsMaskingAnalyticsCollectionItemDimensionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + policy_id=policy_id, + target_id=target_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + policy_id: str, + target_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("policy_id", policy_id) + _setter("target_id", target_id) @property @pulumi.getter(name="policyId") @@ -9453,10 +11620,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetMaskingPoliciesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -9485,9 +11665,22 @@ def __init__(__self__, *, :param str description: The description of the format entry. :param Sequence['GetMaskingPoliciesMaskingColumnMaskingFormatFormatEntryArgs'] format_entries: An array of format entries. The combined output of all the format entries is used for masking the column data values. """ - pulumi.set(__self__, "condition", condition) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "format_entries", format_entries) + GetMaskingPoliciesMaskingColumnMaskingFormatResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + condition=condition, + description=description, + format_entries=format_entries, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + condition: str, + description: str, + format_entries: Sequence['outputs.GetMaskingPoliciesMaskingColumnMaskingFormatFormatEntryResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("condition", condition) + _setter("description", description) + _setter("format_entries", format_entries) @property @pulumi.getter @@ -9565,29 +11758,82 @@ def __init__(__self__, *, :param str type: The type of the format entry. :param str user_defined_function: The user-defined function in SCHEMA_NAME.PACKAGE_NAME.FUNCTION_NAME format. It can be a standalone or packaged function, so PACKAGE_NAME is optional. """ - pulumi.set(__self__, "column_name", column_name) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "end_date", end_date) - pulumi.set(__self__, "end_length", end_length) - pulumi.set(__self__, "end_value", end_value) - pulumi.set(__self__, "fixed_number", fixed_number) - pulumi.set(__self__, "fixed_string", fixed_string) - pulumi.set(__self__, "grouping_columns", grouping_columns) - pulumi.set(__self__, "length", length) - pulumi.set(__self__, "library_masking_format_id", library_masking_format_id) - pulumi.set(__self__, "post_processing_function", post_processing_function) - pulumi.set(__self__, "random_lists", random_lists) - pulumi.set(__self__, "regular_expression", regular_expression) - pulumi.set(__self__, "replace_with", replace_with) - pulumi.set(__self__, "schema_name", schema_name) - pulumi.set(__self__, "sql_expression", sql_expression) - pulumi.set(__self__, "start_date", start_date) - pulumi.set(__self__, "start_length", start_length) - pulumi.set(__self__, "start_position", start_position) - pulumi.set(__self__, "start_value", start_value) - pulumi.set(__self__, "table_name", table_name) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "user_defined_function", user_defined_function) + GetMaskingPoliciesMaskingColumnMaskingFormatFormatEntryResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + column_name=column_name, + description=description, + end_date=end_date, + end_length=end_length, + end_value=end_value, + fixed_number=fixed_number, + fixed_string=fixed_string, + grouping_columns=grouping_columns, + length=length, + library_masking_format_id=library_masking_format_id, + post_processing_function=post_processing_function, + random_lists=random_lists, + regular_expression=regular_expression, + replace_with=replace_with, + schema_name=schema_name, + sql_expression=sql_expression, + start_date=start_date, + start_length=start_length, + start_position=start_position, + start_value=start_value, + table_name=table_name, + type=type, + user_defined_function=user_defined_function, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + column_name: str, + description: str, + end_date: str, + end_length: int, + end_value: float, + fixed_number: float, + fixed_string: str, + grouping_columns: Sequence[str], + length: int, + library_masking_format_id: str, + post_processing_function: str, + random_lists: Sequence[str], + regular_expression: str, + replace_with: str, + schema_name: str, + sql_expression: str, + start_date: str, + start_length: int, + start_position: int, + start_value: float, + table_name: str, + type: str, + user_defined_function: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("column_name", column_name) + _setter("description", description) + _setter("end_date", end_date) + _setter("end_length", end_length) + _setter("end_value", end_value) + _setter("fixed_number", fixed_number) + _setter("fixed_string", fixed_string) + _setter("grouping_columns", grouping_columns) + _setter("length", length) + _setter("library_masking_format_id", library_masking_format_id) + _setter("post_processing_function", post_processing_function) + _setter("random_lists", random_lists) + _setter("regular_expression", regular_expression) + _setter("replace_with", replace_with) + _setter("schema_name", schema_name) + _setter("sql_expression", sql_expression) + _setter("start_date", start_date) + _setter("start_length", start_length) + _setter("start_position", start_position) + _setter("start_value", start_value) + _setter("table_name", table_name) + _setter("type", type) + _setter("user_defined_function", user_defined_function) @property @pulumi.getter(name="columnName") @@ -9780,10 +12026,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetMaskingPoliciesMaskingColumnsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -9805,7 +12064,16 @@ def regex(self) -> Optional[bool]: class GetMaskingPoliciesMaskingColumnsMaskingColumnCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetMaskingPoliciesMaskingColumnsMaskingColumnCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetMaskingPoliciesMaskingColumnsMaskingColumnCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetMaskingPoliciesMaskingColumnsMaskingColumnCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -9850,22 +12118,61 @@ def __init__(__self__, *, :param str time_created: The date and time the masking column was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). :param str time_updated: The date and time the masking column was last updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). """ - pulumi.set(__self__, "child_columns", child_columns) - pulumi.set(__self__, "column_name", column_name) - pulumi.set(__self__, "data_type", data_type) - pulumi.set(__self__, "is_masking_enabled", is_masking_enabled) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "masking_column_group", masking_column_group) - pulumi.set(__self__, "masking_formats", masking_formats) - pulumi.set(__self__, "masking_policy_id", masking_policy_id) - pulumi.set(__self__, "object", object) - pulumi.set(__self__, "object_type", object_type) - pulumi.set(__self__, "schema_name", schema_name) - pulumi.set(__self__, "sensitive_type_id", sensitive_type_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetMaskingPoliciesMaskingColumnsMaskingColumnCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + child_columns=child_columns, + column_name=column_name, + data_type=data_type, + is_masking_enabled=is_masking_enabled, + key=key, + lifecycle_details=lifecycle_details, + masking_column_group=masking_column_group, + masking_formats=masking_formats, + masking_policy_id=masking_policy_id, + object=object, + object_type=object_type, + schema_name=schema_name, + sensitive_type_id=sensitive_type_id, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + child_columns: Sequence[str], + column_name: str, + data_type: str, + is_masking_enabled: bool, + key: str, + lifecycle_details: str, + masking_column_group: str, + masking_formats: Sequence['outputs.GetMaskingPoliciesMaskingColumnsMaskingColumnCollectionItemMaskingFormatResult'], + masking_policy_id: str, + object: str, + object_type: str, + schema_name: str, + sensitive_type_id: str, + state: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("child_columns", child_columns) + _setter("column_name", column_name) + _setter("data_type", data_type) + _setter("is_masking_enabled", is_masking_enabled) + _setter("key", key) + _setter("lifecycle_details", lifecycle_details) + _setter("masking_column_group", masking_column_group) + _setter("masking_formats", masking_formats) + _setter("masking_policy_id", masking_policy_id) + _setter("object", object) + _setter("object_type", object_type) + _setter("schema_name", schema_name) + _setter("sensitive_type_id", sensitive_type_id) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="childColumns") @@ -10007,9 +12314,22 @@ def __init__(__self__, *, :param str description: The description of the format entry. :param Sequence['GetMaskingPoliciesMaskingColumnsMaskingColumnCollectionItemMaskingFormatFormatEntryArgs'] format_entries: An array of format entries. The combined output of all the format entries is used for masking the column data values. """ - pulumi.set(__self__, "condition", condition) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "format_entries", format_entries) + GetMaskingPoliciesMaskingColumnsMaskingColumnCollectionItemMaskingFormatResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + condition=condition, + description=description, + format_entries=format_entries, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + condition: str, + description: str, + format_entries: Sequence['outputs.GetMaskingPoliciesMaskingColumnsMaskingColumnCollectionItemMaskingFormatFormatEntryResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("condition", condition) + _setter("description", description) + _setter("format_entries", format_entries) @property @pulumi.getter @@ -10087,29 +12407,82 @@ def __init__(__self__, *, :param str type: The type of the format entry. :param str user_defined_function: The user-defined function in SCHEMA_NAME.PACKAGE_NAME.FUNCTION_NAME format. It can be a standalone or packaged function, so PACKAGE_NAME is optional. """ - pulumi.set(__self__, "column_name", column_name) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "end_date", end_date) - pulumi.set(__self__, "end_length", end_length) - pulumi.set(__self__, "end_value", end_value) - pulumi.set(__self__, "fixed_number", fixed_number) - pulumi.set(__self__, "fixed_string", fixed_string) - pulumi.set(__self__, "grouping_columns", grouping_columns) - pulumi.set(__self__, "length", length) - pulumi.set(__self__, "library_masking_format_id", library_masking_format_id) - pulumi.set(__self__, "post_processing_function", post_processing_function) - pulumi.set(__self__, "random_lists", random_lists) - pulumi.set(__self__, "regular_expression", regular_expression) - pulumi.set(__self__, "replace_with", replace_with) - pulumi.set(__self__, "schema_name", schema_name) - pulumi.set(__self__, "sql_expression", sql_expression) - pulumi.set(__self__, "start_date", start_date) - pulumi.set(__self__, "start_length", start_length) - pulumi.set(__self__, "start_position", start_position) - pulumi.set(__self__, "start_value", start_value) - pulumi.set(__self__, "table_name", table_name) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "user_defined_function", user_defined_function) + GetMaskingPoliciesMaskingColumnsMaskingColumnCollectionItemMaskingFormatFormatEntryResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + column_name=column_name, + description=description, + end_date=end_date, + end_length=end_length, + end_value=end_value, + fixed_number=fixed_number, + fixed_string=fixed_string, + grouping_columns=grouping_columns, + length=length, + library_masking_format_id=library_masking_format_id, + post_processing_function=post_processing_function, + random_lists=random_lists, + regular_expression=regular_expression, + replace_with=replace_with, + schema_name=schema_name, + sql_expression=sql_expression, + start_date=start_date, + start_length=start_length, + start_position=start_position, + start_value=start_value, + table_name=table_name, + type=type, + user_defined_function=user_defined_function, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + column_name: str, + description: str, + end_date: str, + end_length: int, + end_value: float, + fixed_number: float, + fixed_string: str, + grouping_columns: Sequence[str], + length: int, + library_masking_format_id: str, + post_processing_function: str, + random_lists: Sequence[str], + regular_expression: str, + replace_with: str, + schema_name: str, + sql_expression: str, + start_date: str, + start_length: int, + start_position: int, + start_value: float, + table_name: str, + type: str, + user_defined_function: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("column_name", column_name) + _setter("description", description) + _setter("end_date", end_date) + _setter("end_length", end_length) + _setter("end_value", end_value) + _setter("fixed_number", fixed_number) + _setter("fixed_string", fixed_string) + _setter("grouping_columns", grouping_columns) + _setter("length", length) + _setter("library_masking_format_id", library_masking_format_id) + _setter("post_processing_function", post_processing_function) + _setter("random_lists", random_lists) + _setter("regular_expression", regular_expression) + _setter("replace_with", replace_with) + _setter("schema_name", schema_name) + _setter("sql_expression", sql_expression) + _setter("start_date", start_date) + _setter("start_length", start_length) + _setter("start_position", start_position) + _setter("start_value", start_value) + _setter("table_name", table_name) + _setter("type", type) + _setter("user_defined_function", user_defined_function) @property @pulumi.getter(name="columnName") @@ -10300,7 +12673,16 @@ def user_defined_function(self) -> str: class GetMaskingPoliciesMaskingPolicyCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetMaskingPoliciesMaskingPolicyCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetMaskingPoliciesMaskingPolicyCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetMaskingPoliciesMaskingPolicyCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -10348,24 +12730,67 @@ def __init__(__self__, *, :param str time_created: The date and time the masking policy was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). :param str time_updated: The date and time the masking policy was last updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339) """ - pulumi.set(__self__, "add_masking_columns_from_sdm_trigger", add_masking_columns_from_sdm_trigger) - pulumi.set(__self__, "column_sources", column_sources) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_drop_temp_tables_enabled", is_drop_temp_tables_enabled) - pulumi.set(__self__, "is_redo_logging_enabled", is_redo_logging_enabled) - pulumi.set(__self__, "is_refresh_stats_enabled", is_refresh_stats_enabled) - pulumi.set(__self__, "parallel_degree", parallel_degree) - pulumi.set(__self__, "post_masking_script", post_masking_script) - pulumi.set(__self__, "pre_masking_script", pre_masking_script) - pulumi.set(__self__, "recompile", recompile) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetMaskingPoliciesMaskingPolicyCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + add_masking_columns_from_sdm_trigger=add_masking_columns_from_sdm_trigger, + column_sources=column_sources, + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + is_drop_temp_tables_enabled=is_drop_temp_tables_enabled, + is_redo_logging_enabled=is_redo_logging_enabled, + is_refresh_stats_enabled=is_refresh_stats_enabled, + parallel_degree=parallel_degree, + post_masking_script=post_masking_script, + pre_masking_script=pre_masking_script, + recompile=recompile, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + add_masking_columns_from_sdm_trigger: int, + column_sources: Sequence['outputs.GetMaskingPoliciesMaskingPolicyCollectionItemColumnSourceResult'], + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + is_drop_temp_tables_enabled: bool, + is_redo_logging_enabled: bool, + is_refresh_stats_enabled: bool, + parallel_degree: str, + post_masking_script: str, + pre_masking_script: str, + recompile: str, + state: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("add_masking_columns_from_sdm_trigger", add_masking_columns_from_sdm_trigger) + _setter("column_sources", column_sources) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_drop_temp_tables_enabled", is_drop_temp_tables_enabled) + _setter("is_redo_logging_enabled", is_redo_logging_enabled) + _setter("is_refresh_stats_enabled", is_refresh_stats_enabled) + _setter("parallel_degree", parallel_degree) + _setter("post_masking_script", post_masking_script) + _setter("pre_masking_script", pre_masking_script) + _setter("recompile", recompile) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="addMaskingColumnsFromSdmTrigger") @@ -10520,9 +12945,22 @@ def __init__(__self__, *, :param str sensitive_data_model_id: A filter to return only the resources that match the specified sensitive data model OCID. :param str target_id: A filter to return only items related to a specific target OCID. """ - pulumi.set(__self__, "column_source", column_source) - pulumi.set(__self__, "sensitive_data_model_id", sensitive_data_model_id) - pulumi.set(__self__, "target_id", target_id) + GetMaskingPoliciesMaskingPolicyCollectionItemColumnSourceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + column_source=column_source, + sensitive_data_model_id=sensitive_data_model_id, + target_id=target_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + column_source: str, + sensitive_data_model_id: str, + target_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("column_source", column_source) + _setter("sensitive_data_model_id", sensitive_data_model_id) + _setter("target_id", target_id) @property @pulumi.getter(name="columnSource") @@ -10560,9 +12998,22 @@ def __init__(__self__, *, :param str sensitive_data_model_id: The OCID of the sensitive data model that's used as the source of masking columns. :param str target_id: The OCID of the target database that's used as the source of masking columns. """ - pulumi.set(__self__, "column_source", column_source) - pulumi.set(__self__, "sensitive_data_model_id", sensitive_data_model_id) - pulumi.set(__self__, "target_id", target_id) + GetMaskingPolicyColumnSourceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + column_source=column_source, + sensitive_data_model_id=sensitive_data_model_id, + target_id=target_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + column_source: str, + sensitive_data_model_id: str, + target_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("column_source", column_source) + _setter("sensitive_data_model_id", sensitive_data_model_id) + _setter("target_id", target_id) @property @pulumi.getter(name="columnSource") @@ -10595,10 +13046,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetMaskingPolicyMaskingObjectsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -10623,7 +13087,16 @@ def __init__(__self__, *, """ :param Sequence['GetMaskingPolicyMaskingObjectsMaskingObjectCollectionItemArgs'] items: An array of masking object summary objects. """ - pulumi.set(__self__, "items", items) + GetMaskingPolicyMaskingObjectsMaskingObjectCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetMaskingPolicyMaskingObjectsMaskingObjectCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -10645,9 +13118,22 @@ def __init__(__self__, *, :param str object_type: A filter to return only items related to a specific object type. :param str schema_name: A filter to return only items related to specific schema name. """ - pulumi.set(__self__, "object", object) - pulumi.set(__self__, "object_type", object_type) - pulumi.set(__self__, "schema_name", schema_name) + GetMaskingPolicyMaskingObjectsMaskingObjectCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + object=object, + object_type=object_type, + schema_name=schema_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + object: str, + object_type: str, + schema_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("object", object) + _setter("object_type", object_type) + _setter("schema_name", schema_name) @property @pulumi.getter @@ -10680,10 +13166,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetMaskingPolicyMaskingSchemasFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -10708,7 +13207,16 @@ def __init__(__self__, *, """ :param Sequence['GetMaskingPolicyMaskingSchemasMaskingSchemaCollectionItemArgs'] items: An array of masking schema summary objects. """ - pulumi.set(__self__, "items", items) + GetMaskingPolicyMaskingSchemasMaskingSchemaCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetMaskingPolicyMaskingSchemasMaskingSchemaCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -10726,7 +13234,16 @@ def __init__(__self__, *, """ :param str schema_name: A filter to return only items related to specific schema name. """ - pulumi.set(__self__, "schema_name", schema_name) + GetMaskingPolicyMaskingSchemasMaskingSchemaCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + schema_name=schema_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + schema_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("schema_name", schema_name) @property @pulumi.getter(name="schemaName") @@ -10743,10 +13260,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetMaskingReportMaskedColumnsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -10771,7 +13301,16 @@ def __init__(__self__, *, """ :param Sequence['GetMaskingReportMaskedColumnsMaskedColumnCollectionItemArgs'] items: An array of masking column summary objects. """ - pulumi.set(__self__, "items", items) + GetMaskingReportMaskedColumnsMaskedColumnCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetMaskingReportMaskedColumnsMaskedColumnCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -10807,16 +13346,43 @@ def __init__(__self__, *, :param str sensitive_type_id: A filter to return only items related to a specific sensitive type OCID. :param str total_masked_values: The total number of values masked in the column. """ - pulumi.set(__self__, "column_name", column_name) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "masking_column_group", masking_column_group) - pulumi.set(__self__, "masking_format_used", masking_format_used) - pulumi.set(__self__, "object", object) - pulumi.set(__self__, "object_type", object_type) - pulumi.set(__self__, "parent_column_key", parent_column_key) - pulumi.set(__self__, "schema_name", schema_name) - pulumi.set(__self__, "sensitive_type_id", sensitive_type_id) - pulumi.set(__self__, "total_masked_values", total_masked_values) + GetMaskingReportMaskedColumnsMaskedColumnCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + column_name=column_name, + key=key, + masking_column_group=masking_column_group, + masking_format_used=masking_format_used, + object=object, + object_type=object_type, + parent_column_key=parent_column_key, + schema_name=schema_name, + sensitive_type_id=sensitive_type_id, + total_masked_values=total_masked_values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + column_name: str, + key: str, + masking_column_group: str, + masking_format_used: str, + object: str, + object_type: str, + parent_column_key: str, + schema_name: str, + sensitive_type_id: str, + total_masked_values: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("column_name", column_name) + _setter("key", key) + _setter("masking_column_group", masking_column_group) + _setter("masking_format_used", masking_format_used) + _setter("object", object) + _setter("object_type", object_type) + _setter("parent_column_key", parent_column_key) + _setter("schema_name", schema_name) + _setter("sensitive_type_id", sensitive_type_id) + _setter("total_masked_values", total_masked_values) @property @pulumi.getter(name="columnName") @@ -10905,10 +13471,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetMaskingReportsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -10951,16 +13530,43 @@ def __init__(__self__, *, :param str sensitive_type_id: A filter to return only items related to a specific sensitive type OCID. :param str total_masked_values: The total number of values masked in the column. """ - pulumi.set(__self__, "column_name", column_name) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "masking_column_group", masking_column_group) - pulumi.set(__self__, "masking_format_used", masking_format_used) - pulumi.set(__self__, "object", object) - pulumi.set(__self__, "object_type", object_type) - pulumi.set(__self__, "parent_column_key", parent_column_key) - pulumi.set(__self__, "schema_name", schema_name) - pulumi.set(__self__, "sensitive_type_id", sensitive_type_id) - pulumi.set(__self__, "total_masked_values", total_masked_values) + GetMaskingReportsMaskedColumnItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + column_name=column_name, + key=key, + masking_column_group=masking_column_group, + masking_format_used=masking_format_used, + object=object, + object_type=object_type, + parent_column_key=parent_column_key, + schema_name=schema_name, + sensitive_type_id=sensitive_type_id, + total_masked_values=total_masked_values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + column_name: str, + key: str, + masking_column_group: str, + masking_format_used: str, + object: str, + object_type: str, + parent_column_key: str, + schema_name: str, + sensitive_type_id: str, + total_masked_values: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("column_name", column_name) + _setter("key", key) + _setter("masking_column_group", masking_column_group) + _setter("masking_format_used", masking_format_used) + _setter("object", object) + _setter("object_type", object_type) + _setter("parent_column_key", parent_column_key) + _setter("schema_name", schema_name) + _setter("sensitive_type_id", sensitive_type_id) + _setter("total_masked_values", total_masked_values) @property @pulumi.getter(name="columnName") @@ -11047,7 +13653,16 @@ def total_masked_values(self) -> str: class GetMaskingReportsMaskingReportCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetMaskingReportsMaskingReportCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetMaskingReportsMaskingReportCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetMaskingReportsMaskingReportCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -11098,25 +13713,70 @@ def __init__(__self__, *, :param str total_masked_sensitive_types: The total number of unique sensitive types associated with the masked columns. :param str total_masked_values: The total number of masked values. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_drop_temp_tables_enabled", is_drop_temp_tables_enabled) - pulumi.set(__self__, "is_redo_logging_enabled", is_redo_logging_enabled) - pulumi.set(__self__, "is_refresh_stats_enabled", is_refresh_stats_enabled) - pulumi.set(__self__, "masking_policy_id", masking_policy_id) - pulumi.set(__self__, "masking_work_request_id", masking_work_request_id) - pulumi.set(__self__, "parallel_degree", parallel_degree) - pulumi.set(__self__, "recompile", recompile) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "target_id", target_id) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_masking_finished", time_masking_finished) - pulumi.set(__self__, "time_masking_started", time_masking_started) - pulumi.set(__self__, "total_masked_columns", total_masked_columns) - pulumi.set(__self__, "total_masked_objects", total_masked_objects) - pulumi.set(__self__, "total_masked_schemas", total_masked_schemas) - pulumi.set(__self__, "total_masked_sensitive_types", total_masked_sensitive_types) - pulumi.set(__self__, "total_masked_values", total_masked_values) + GetMaskingReportsMaskingReportCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + id=id, + is_drop_temp_tables_enabled=is_drop_temp_tables_enabled, + is_redo_logging_enabled=is_redo_logging_enabled, + is_refresh_stats_enabled=is_refresh_stats_enabled, + masking_policy_id=masking_policy_id, + masking_work_request_id=masking_work_request_id, + parallel_degree=parallel_degree, + recompile=recompile, + state=state, + target_id=target_id, + time_created=time_created, + time_masking_finished=time_masking_finished, + time_masking_started=time_masking_started, + total_masked_columns=total_masked_columns, + total_masked_objects=total_masked_objects, + total_masked_schemas=total_masked_schemas, + total_masked_sensitive_types=total_masked_sensitive_types, + total_masked_values=total_masked_values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + id: str, + is_drop_temp_tables_enabled: bool, + is_redo_logging_enabled: bool, + is_refresh_stats_enabled: bool, + masking_policy_id: str, + masking_work_request_id: str, + parallel_degree: str, + recompile: str, + state: str, + target_id: str, + time_created: str, + time_masking_finished: str, + time_masking_started: str, + total_masked_columns: str, + total_masked_objects: str, + total_masked_schemas: str, + total_masked_sensitive_types: str, + total_masked_values: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("id", id) + _setter("is_drop_temp_tables_enabled", is_drop_temp_tables_enabled) + _setter("is_redo_logging_enabled", is_redo_logging_enabled) + _setter("is_refresh_stats_enabled", is_refresh_stats_enabled) + _setter("masking_policy_id", masking_policy_id) + _setter("masking_work_request_id", masking_work_request_id) + _setter("parallel_degree", parallel_degree) + _setter("recompile", recompile) + _setter("state", state) + _setter("target_id", target_id) + _setter("time_created", time_created) + _setter("time_masking_finished", time_masking_finished) + _setter("time_masking_started", time_masking_started) + _setter("total_masked_columns", total_masked_columns) + _setter("total_masked_objects", total_masked_objects) + _setter("total_masked_schemas", total_masked_schemas) + _setter("total_masked_sensitive_types", total_masked_sensitive_types) + _setter("total_masked_values", total_masked_values) @property @pulumi.getter(name="compartmentId") @@ -11277,10 +13937,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetOnpremConnectorsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -11327,18 +14000,49 @@ def __init__(__self__, *, :param Mapping[str, Any] system_tags: System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: `{"orcl-cloud.free-tier-retained": "true"}` :param str time_created: The date and time the on-premises connector was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). """ - pulumi.set(__self__, "available_version", available_version) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "created_version", created_version) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) + GetOnpremConnectorsOnPremConnectorResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + available_version=available_version, + compartment_id=compartment_id, + created_version=created_version, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + state=state, + system_tags=system_tags, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + available_version: str, + compartment_id: str, + created_version: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + state: str, + system_tags: Mapping[str, Any], + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("available_version", available_version) + _setter("compartment_id", compartment_id) + _setter("created_version", created_version) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) @property @pulumi.getter(name="availableVersion") @@ -11452,11 +14156,28 @@ def __init__(__self__, *, :param bool is_hidden: Indicates if the summary is hidden. Values can either be 'true' or 'false'. :param str operator: Specifies the type of operator that must be applied for example in, eq etc. """ - pulumi.set(__self__, "expressions", expressions) - pulumi.set(__self__, "field_name", field_name) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "is_hidden", is_hidden) - pulumi.set(__self__, "operator", operator) + GetReportDefinitionColumnFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + expressions=expressions, + field_name=field_name, + is_enabled=is_enabled, + is_hidden=is_hidden, + operator=operator, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + expressions: Sequence[str], + field_name: str, + is_enabled: bool, + is_hidden: bool, + operator: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("expressions", expressions) + _setter("field_name", field_name) + _setter("is_enabled", is_enabled) + _setter("is_hidden", is_hidden) + _setter("operator", operator) @property @pulumi.getter @@ -11514,11 +14235,28 @@ def __init__(__self__, *, :param str field_name: Name of the column that must be sorted. :param bool is_hidden: Indicates if the summary is hidden. Values can either be 'true' or 'false'. """ - pulumi.set(__self__, "data_type", data_type) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "display_order", display_order) - pulumi.set(__self__, "field_name", field_name) - pulumi.set(__self__, "is_hidden", is_hidden) + GetReportDefinitionColumnInfoResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + data_type=data_type, + display_name=display_name, + display_order=display_order, + field_name=field_name, + is_hidden=is_hidden, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + data_type: str, + display_name: str, + display_order: int, + field_name: str, + is_hidden: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("data_type", data_type) + _setter("display_name", display_name) + _setter("display_order", display_order) + _setter("field_name", field_name) + _setter("is_hidden", is_hidden) @property @pulumi.getter(name="dataType") @@ -11572,9 +14310,22 @@ def __init__(__self__, *, :param bool is_ascending: Indicates if the column must be sorted in ascending order. Values can either be 'true' or 'false'. :param int sorting_order: Indicates the order at which column must be sorted. """ - pulumi.set(__self__, "field_name", field_name) - pulumi.set(__self__, "is_ascending", is_ascending) - pulumi.set(__self__, "sorting_order", sorting_order) + GetReportDefinitionColumnSortingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + field_name=field_name, + is_ascending=is_ascending, + sorting_order=sorting_order, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + field_name: str, + is_ascending: bool, + sorting_order: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("field_name", field_name) + _setter("is_ascending", is_ascending) + _setter("sorting_order", sorting_order) @property @pulumi.getter(name="fieldName") @@ -11618,12 +14369,31 @@ def __init__(__self__, *, :param str name: Name of the report summary. :param str scim_filter: Additional scim filters used to get the specific summary. """ - pulumi.set(__self__, "count_of", count_of) - pulumi.set(__self__, "display_order", display_order) - pulumi.set(__self__, "group_by_field_name", group_by_field_name) - pulumi.set(__self__, "is_hidden", is_hidden) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "scim_filter", scim_filter) + GetReportDefinitionSummaryResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + count_of=count_of, + display_order=display_order, + group_by_field_name=group_by_field_name, + is_hidden=is_hidden, + name=name, + scim_filter=scim_filter, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + count_of: str, + display_order: int, + group_by_field_name: str, + is_hidden: bool, + name: str, + scim_filter: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("count_of", count_of) + _setter("display_order", display_order) + _setter("group_by_field_name", group_by_field_name) + _setter("is_hidden", is_hidden) + _setter("name", name) + _setter("scim_filter", scim_filter) @property @pulumi.getter(name="countOf") @@ -11683,10 +14453,23 @@ def __init__(__self__, *, """ :param str name: Name of the report summary. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetReportDefinitionsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -11711,7 +14494,16 @@ def regex(self) -> Optional[bool]: class GetReportDefinitionsReportDefinitionCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetReportDefinitionsReportDefinitionCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetReportDefinitionsReportDefinitionCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetReportDefinitionsReportDefinitionCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -11778,33 +14570,94 @@ def __init__(__self__, *, :param str time_created: Specifies the data and time the report definition was created. :param str time_updated: The date and time the report definition was update. """ - pulumi.set(__self__, "category", category) - pulumi.set(__self__, "column_filters", column_filters) - pulumi.set(__self__, "column_infos", column_infos) - pulumi.set(__self__, "column_sortings", column_sortings) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "compliance_standards", compliance_standards) - pulumi.set(__self__, "data_source", data_source) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "display_order", display_order) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_seeded", is_seeded) - pulumi.set(__self__, "parent_id", parent_id) - pulumi.set(__self__, "record_time_span", record_time_span) - pulumi.set(__self__, "schedule", schedule) - pulumi.set(__self__, "scheduled_report_compartment_id", scheduled_report_compartment_id) - pulumi.set(__self__, "scheduled_report_mime_type", scheduled_report_mime_type) - pulumi.set(__self__, "scheduled_report_name", scheduled_report_name) - pulumi.set(__self__, "scheduled_report_row_limit", scheduled_report_row_limit) - pulumi.set(__self__, "scim_filter", scim_filter) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "summaries", summaries) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetReportDefinitionsReportDefinitionCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + category=category, + column_filters=column_filters, + column_infos=column_infos, + column_sortings=column_sortings, + compartment_id=compartment_id, + compliance_standards=compliance_standards, + data_source=data_source, + defined_tags=defined_tags, + description=description, + display_name=display_name, + display_order=display_order, + freeform_tags=freeform_tags, + id=id, + is_seeded=is_seeded, + parent_id=parent_id, + record_time_span=record_time_span, + schedule=schedule, + scheduled_report_compartment_id=scheduled_report_compartment_id, + scheduled_report_mime_type=scheduled_report_mime_type, + scheduled_report_name=scheduled_report_name, + scheduled_report_row_limit=scheduled_report_row_limit, + scim_filter=scim_filter, + state=state, + summaries=summaries, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + category: str, + column_filters: Sequence['outputs.GetReportDefinitionsReportDefinitionCollectionItemColumnFilterResult'], + column_infos: Sequence['outputs.GetReportDefinitionsReportDefinitionCollectionItemColumnInfoResult'], + column_sortings: Sequence['outputs.GetReportDefinitionsReportDefinitionCollectionItemColumnSortingResult'], + compartment_id: str, + compliance_standards: Sequence[str], + data_source: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + display_order: int, + freeform_tags: Mapping[str, Any], + id: str, + is_seeded: bool, + parent_id: str, + record_time_span: str, + schedule: str, + scheduled_report_compartment_id: str, + scheduled_report_mime_type: str, + scheduled_report_name: str, + scheduled_report_row_limit: int, + scim_filter: str, + state: str, + summaries: Sequence['outputs.GetReportDefinitionsReportDefinitionCollectionItemSummaryResult'], + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("category", category) + _setter("column_filters", column_filters) + _setter("column_infos", column_infos) + _setter("column_sortings", column_sortings) + _setter("compartment_id", compartment_id) + _setter("compliance_standards", compliance_standards) + _setter("data_source", data_source) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("display_order", display_order) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_seeded", is_seeded) + _setter("parent_id", parent_id) + _setter("record_time_span", record_time_span) + _setter("schedule", schedule) + _setter("scheduled_report_compartment_id", scheduled_report_compartment_id) + _setter("scheduled_report_mime_type", scheduled_report_mime_type) + _setter("scheduled_report_name", scheduled_report_name) + _setter("scheduled_report_row_limit", scheduled_report_row_limit) + _setter("scim_filter", scim_filter) + _setter("state", state) + _setter("summaries", summaries) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter @@ -12038,11 +14891,28 @@ def __init__(__self__, *, :param bool is_hidden: Indicates if the summary is hidden. Values can either be 'true' or 'false'. :param str operator: Specifies the type of operator that must be applied for example in, eq etc. """ - pulumi.set(__self__, "expressions", expressions) - pulumi.set(__self__, "field_name", field_name) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "is_hidden", is_hidden) - pulumi.set(__self__, "operator", operator) + GetReportDefinitionsReportDefinitionCollectionItemColumnFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + expressions=expressions, + field_name=field_name, + is_enabled=is_enabled, + is_hidden=is_hidden, + operator=operator, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + expressions: Sequence[str], + field_name: str, + is_enabled: bool, + is_hidden: bool, + operator: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("expressions", expressions) + _setter("field_name", field_name) + _setter("is_enabled", is_enabled) + _setter("is_hidden", is_hidden) + _setter("operator", operator) @property @pulumi.getter @@ -12100,11 +14970,28 @@ def __init__(__self__, *, :param str field_name: Name of the column that must be sorted. :param bool is_hidden: Indicates if the summary is hidden. Values can either be 'true' or 'false'. """ - pulumi.set(__self__, "data_type", data_type) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "display_order", display_order) - pulumi.set(__self__, "field_name", field_name) - pulumi.set(__self__, "is_hidden", is_hidden) + GetReportDefinitionsReportDefinitionCollectionItemColumnInfoResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + data_type=data_type, + display_name=display_name, + display_order=display_order, + field_name=field_name, + is_hidden=is_hidden, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + data_type: str, + display_name: str, + display_order: int, + field_name: str, + is_hidden: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("data_type", data_type) + _setter("display_name", display_name) + _setter("display_order", display_order) + _setter("field_name", field_name) + _setter("is_hidden", is_hidden) @property @pulumi.getter(name="dataType") @@ -12158,9 +15045,22 @@ def __init__(__self__, *, :param bool is_ascending: Indicates if the column must be sorted in ascending order. Values can either be 'true' or 'false'. :param int sorting_order: Indicates the order at which column must be sorted. """ - pulumi.set(__self__, "field_name", field_name) - pulumi.set(__self__, "is_ascending", is_ascending) - pulumi.set(__self__, "sorting_order", sorting_order) + GetReportDefinitionsReportDefinitionCollectionItemColumnSortingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + field_name=field_name, + is_ascending=is_ascending, + sorting_order=sorting_order, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + field_name: str, + is_ascending: bool, + sorting_order: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("field_name", field_name) + _setter("is_ascending", is_ascending) + _setter("sorting_order", sorting_order) @property @pulumi.getter(name="fieldName") @@ -12204,12 +15104,31 @@ def __init__(__self__, *, :param str name: Name of the report summary. :param str scim_filter: Additional scim filters used to get the specific summary. """ - pulumi.set(__self__, "count_of", count_of) - pulumi.set(__self__, "display_order", display_order) - pulumi.set(__self__, "group_by_field_name", group_by_field_name) - pulumi.set(__self__, "is_hidden", is_hidden) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "scim_filter", scim_filter) + GetReportDefinitionsReportDefinitionCollectionItemSummaryResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + count_of=count_of, + display_order=display_order, + group_by_field_name=group_by_field_name, + is_hidden=is_hidden, + name=name, + scim_filter=scim_filter, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + count_of: str, + display_order: int, + group_by_field_name: str, + is_hidden: bool, + name: str, + scim_filter: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("count_of", count_of) + _setter("display_order", display_order) + _setter("group_by_field_name", group_by_field_name) + _setter("is_hidden", is_hidden) + _setter("name", name) + _setter("scim_filter", scim_filter) @property @pulumi.getter(name="countOf") @@ -12266,10 +15185,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetReportsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -12291,7 +15223,16 @@ def regex(self) -> Optional[bool]: class GetReportsReportCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetReportsReportCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetReportsReportCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetReportsReportCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -12328,18 +15269,49 @@ def __init__(__self__, *, :param str time_generated: Specifies the date and time the report was generated. :param str type: An optional filter to return only resources that match the specified type. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "mime_type", mime_type) - pulumi.set(__self__, "report_definition_id", report_definition_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_generated", time_generated) - pulumi.set(__self__, "type", type) + GetReportsReportCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + mime_type=mime_type, + report_definition_id=report_definition_id, + state=state, + system_tags=system_tags, + time_generated=time_generated, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + mime_type: str, + report_definition_id: str, + state: str, + system_tags: Mapping[str, Any], + time_generated: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("mime_type", mime_type) + _setter("report_definition_id", report_definition_id) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_generated", time_generated) + _setter("type", type) @property @pulumi.getter(name="compartmentId") @@ -12444,10 +15416,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSdmMaskingPolicyDifferenceDifferenceColumnsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -12469,7 +15454,16 @@ def regex(self) -> Optional[bool]: class GetSdmMaskingPolicyDifferenceDifferenceColumnsSdmMaskingPolicyDifferenceColumnCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetSdmMaskingPolicyDifferenceDifferenceColumnsSdmMaskingPolicyDifferenceColumnCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetSdmMaskingPolicyDifferenceDifferenceColumnsSdmMaskingPolicyDifferenceColumnCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetSdmMaskingPolicyDifferenceDifferenceColumnsSdmMaskingPolicyDifferenceColumnCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -12504,17 +15498,46 @@ def __init__(__self__, *, :param str sync_status: A filter to return the SDM masking policy difference columns based on the value of their syncStatus attribute. :param str time_last_synced: The date and time the SDM masking policy difference column was last synced, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). """ - pulumi.set(__self__, "column_name", column_name) - pulumi.set(__self__, "difference_type", difference_type) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "masking_columnkey", masking_columnkey) - pulumi.set(__self__, "object", object) - pulumi.set(__self__, "planned_action", planned_action) - pulumi.set(__self__, "schema_name", schema_name) - pulumi.set(__self__, "sensitive_columnkey", sensitive_columnkey) - pulumi.set(__self__, "sensitive_type_id", sensitive_type_id) - pulumi.set(__self__, "sync_status", sync_status) - pulumi.set(__self__, "time_last_synced", time_last_synced) + GetSdmMaskingPolicyDifferenceDifferenceColumnsSdmMaskingPolicyDifferenceColumnCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + column_name=column_name, + difference_type=difference_type, + key=key, + masking_columnkey=masking_columnkey, + object=object, + planned_action=planned_action, + schema_name=schema_name, + sensitive_columnkey=sensitive_columnkey, + sensitive_type_id=sensitive_type_id, + sync_status=sync_status, + time_last_synced=time_last_synced, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + column_name: str, + difference_type: str, + key: str, + masking_columnkey: str, + object: str, + planned_action: str, + schema_name: str, + sensitive_columnkey: str, + sensitive_type_id: str, + sync_status: str, + time_last_synced: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("column_name", column_name) + _setter("difference_type", difference_type) + _setter("key", key) + _setter("masking_columnkey", masking_columnkey) + _setter("object", object) + _setter("planned_action", planned_action) + _setter("schema_name", schema_name) + _setter("sensitive_columnkey", sensitive_columnkey) + _setter("sensitive_type_id", sensitive_type_id) + _setter("sync_status", sync_status) + _setter("time_last_synced", time_last_synced) @property @pulumi.getter(name="columnName") @@ -12611,10 +15634,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSdmMaskingPolicyDifferencesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -12636,7 +15672,16 @@ def regex(self) -> Optional[bool]: class GetSdmMaskingPolicyDifferencesSdmMaskingPolicyDifferenceCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetSdmMaskingPolicyDifferencesSdmMaskingPolicyDifferenceCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetSdmMaskingPolicyDifferencesSdmMaskingPolicyDifferenceCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetSdmMaskingPolicyDifferencesSdmMaskingPolicyDifferenceCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -12673,18 +15718,49 @@ def __init__(__self__, *, :param str time_created: The date and time the SDM masking policy difference was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). :param str time_creation_started: The date and time the SDM masking policy difference creation started, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "difference_type", difference_type) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "masking_policy_id", masking_policy_id) - pulumi.set(__self__, "sensitive_data_model_id", sensitive_data_model_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_creation_started", time_creation_started) + GetSdmMaskingPolicyDifferencesSdmMaskingPolicyDifferenceCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + difference_type=difference_type, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + masking_policy_id=masking_policy_id, + sensitive_data_model_id=sensitive_data_model_id, + state=state, + system_tags=system_tags, + time_created=time_created, + time_creation_started=time_creation_started, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + difference_type: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + masking_policy_id: str, + sensitive_data_model_id: str, + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_creation_started: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("difference_type", difference_type) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("masking_policy_id", masking_policy_id) + _setter("sensitive_data_model_id", sensitive_data_model_id) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_creation_started", time_creation_started) @property @pulumi.getter(name="compartmentId") @@ -12806,15 +15882,40 @@ def __init__(__self__, *, :param Sequence['GetSecurityAssessmentComparisonTargetPrivilegesAndRoleArgs'] privileges_and_roles: Comparison between findings belonging to Privileges and Roles category. :param Sequence['GetSecurityAssessmentComparisonTargetUserAccountArgs'] user_accounts: Comparison between findings belonging to User Accounts category. """ - pulumi.set(__self__, "auditings", auditings) - pulumi.set(__self__, "authorization_controls", authorization_controls) - pulumi.set(__self__, "baseline_target_id", baseline_target_id) - pulumi.set(__self__, "current_target_id", current_target_id) - pulumi.set(__self__, "data_encryptions", data_encryptions) - pulumi.set(__self__, "db_configurations", db_configurations) - pulumi.set(__self__, "fine_grained_access_controls", fine_grained_access_controls) - pulumi.set(__self__, "privileges_and_roles", privileges_and_roles) - pulumi.set(__self__, "user_accounts", user_accounts) + GetSecurityAssessmentComparisonTargetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + auditings=auditings, + authorization_controls=authorization_controls, + baseline_target_id=baseline_target_id, + current_target_id=current_target_id, + data_encryptions=data_encryptions, + db_configurations=db_configurations, + fine_grained_access_controls=fine_grained_access_controls, + privileges_and_roles=privileges_and_roles, + user_accounts=user_accounts, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + auditings: Sequence['outputs.GetSecurityAssessmentComparisonTargetAuditingResult'], + authorization_controls: Sequence['outputs.GetSecurityAssessmentComparisonTargetAuthorizationControlResult'], + baseline_target_id: str, + current_target_id: str, + data_encryptions: Sequence['outputs.GetSecurityAssessmentComparisonTargetDataEncryptionResult'], + db_configurations: Sequence['outputs.GetSecurityAssessmentComparisonTargetDbConfigurationResult'], + fine_grained_access_controls: Sequence['outputs.GetSecurityAssessmentComparisonTargetFineGrainedAccessControlResult'], + privileges_and_roles: Sequence['outputs.GetSecurityAssessmentComparisonTargetPrivilegesAndRoleResult'], + user_accounts: Sequence['outputs.GetSecurityAssessmentComparisonTargetUserAccountResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("auditings", auditings) + _setter("authorization_controls", authorization_controls) + _setter("baseline_target_id", baseline_target_id) + _setter("current_target_id", current_target_id) + _setter("data_encryptions", data_encryptions) + _setter("db_configurations", db_configurations) + _setter("fine_grained_access_controls", fine_grained_access_controls) + _setter("privileges_and_roles", privileges_and_roles) + _setter("user_accounts", user_accounts) @property @pulumi.getter @@ -12906,12 +16007,31 @@ def __init__(__self__, *, :param Sequence[str] removed_items: This array identifies the items that are present in the baseline, but are missing from the current assessment. :param str severity: The severity of this diff. """ - pulumi.set(__self__, "added_items", added_items) - pulumi.set(__self__, "baselines", baselines) - pulumi.set(__self__, "currents", currents) - pulumi.set(__self__, "modified_items", modified_items) - pulumi.set(__self__, "removed_items", removed_items) - pulumi.set(__self__, "severity", severity) + GetSecurityAssessmentComparisonTargetAuditingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + added_items=added_items, + baselines=baselines, + currents=currents, + modified_items=modified_items, + removed_items=removed_items, + severity=severity, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + added_items: Sequence[str], + baselines: Sequence['outputs.GetSecurityAssessmentComparisonTargetAuditingBaselineResult'], + currents: Sequence['outputs.GetSecurityAssessmentComparisonTargetAuditingCurrentResult'], + modified_items: Sequence[str], + removed_items: Sequence[str], + severity: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("added_items", added_items) + _setter("baselines", baselines) + _setter("currents", currents) + _setter("modified_items", modified_items) + _setter("removed_items", removed_items) + _setter("severity", severity) @property @pulumi.getter(name="addedItems") @@ -12981,13 +16101,34 @@ def __init__(__self__, *, :param str summary: The brief summary of the finding. When the finding is informational, the summary typically reports only the number of data elements that were examined. :param str title: The short title for the finding. """ - pulumi.set(__self__, "details", details) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "references", references) - pulumi.set(__self__, "remarks", remarks) - pulumi.set(__self__, "severity", severity) - pulumi.set(__self__, "summary", summary) - pulumi.set(__self__, "title", title) + GetSecurityAssessmentComparisonTargetAuditingBaselineResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + details=details, + key=key, + references=references, + remarks=remarks, + severity=severity, + summary=summary, + title=title, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + details: Sequence[str], + key: str, + references: Sequence['outputs.GetSecurityAssessmentComparisonTargetAuditingBaselineReferenceResult'], + remarks: str, + severity: str, + summary: str, + title: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("details", details) + _setter("key", key) + _setter("references", references) + _setter("remarks", remarks) + _setter("severity", severity) + _setter("summary", summary) + _setter("title", title) @property @pulumi.getter @@ -13057,9 +16198,22 @@ def __init__(__self__, *, :param str gdpr: Relevant section from GDPR. :param str stig: Relevant section from STIG. """ - pulumi.set(__self__, "cis", cis) - pulumi.set(__self__, "gdpr", gdpr) - pulumi.set(__self__, "stig", stig) + GetSecurityAssessmentComparisonTargetAuditingBaselineReferenceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cis=cis, + gdpr=gdpr, + stig=stig, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cis: str, + gdpr: str, + stig: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cis", cis) + _setter("gdpr", gdpr) + _setter("stig", stig) @property @pulumi.getter @@ -13105,13 +16259,34 @@ def __init__(__self__, *, :param str summary: The brief summary of the finding. When the finding is informational, the summary typically reports only the number of data elements that were examined. :param str title: The short title for the finding. """ - pulumi.set(__self__, "details", details) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "references", references) - pulumi.set(__self__, "remarks", remarks) - pulumi.set(__self__, "severity", severity) - pulumi.set(__self__, "summary", summary) - pulumi.set(__self__, "title", title) + GetSecurityAssessmentComparisonTargetAuditingCurrentResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + details=details, + key=key, + references=references, + remarks=remarks, + severity=severity, + summary=summary, + title=title, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + details: Sequence[str], + key: str, + references: Sequence['outputs.GetSecurityAssessmentComparisonTargetAuditingCurrentReferenceResult'], + remarks: str, + severity: str, + summary: str, + title: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("details", details) + _setter("key", key) + _setter("references", references) + _setter("remarks", remarks) + _setter("severity", severity) + _setter("summary", summary) + _setter("title", title) @property @pulumi.getter @@ -13181,9 +16356,22 @@ def __init__(__self__, *, :param str gdpr: Relevant section from GDPR. :param str stig: Relevant section from STIG. """ - pulumi.set(__self__, "cis", cis) - pulumi.set(__self__, "gdpr", gdpr) - pulumi.set(__self__, "stig", stig) + GetSecurityAssessmentComparisonTargetAuditingCurrentReferenceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cis=cis, + gdpr=gdpr, + stig=stig, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cis: str, + gdpr: str, + stig: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cis", cis) + _setter("gdpr", gdpr) + _setter("stig", stig) @property @pulumi.getter @@ -13227,12 +16415,31 @@ def __init__(__self__, *, :param Sequence[str] removed_items: This array identifies the items that are present in the baseline, but are missing from the current assessment. :param str severity: The severity of this diff. """ - pulumi.set(__self__, "added_items", added_items) - pulumi.set(__self__, "baselines", baselines) - pulumi.set(__self__, "currents", currents) - pulumi.set(__self__, "modified_items", modified_items) - pulumi.set(__self__, "removed_items", removed_items) - pulumi.set(__self__, "severity", severity) + GetSecurityAssessmentComparisonTargetAuthorizationControlResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + added_items=added_items, + baselines=baselines, + currents=currents, + modified_items=modified_items, + removed_items=removed_items, + severity=severity, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + added_items: Sequence[str], + baselines: Sequence['outputs.GetSecurityAssessmentComparisonTargetAuthorizationControlBaselineResult'], + currents: Sequence['outputs.GetSecurityAssessmentComparisonTargetAuthorizationControlCurrentResult'], + modified_items: Sequence[str], + removed_items: Sequence[str], + severity: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("added_items", added_items) + _setter("baselines", baselines) + _setter("currents", currents) + _setter("modified_items", modified_items) + _setter("removed_items", removed_items) + _setter("severity", severity) @property @pulumi.getter(name="addedItems") @@ -13302,13 +16509,34 @@ def __init__(__self__, *, :param str summary: The brief summary of the finding. When the finding is informational, the summary typically reports only the number of data elements that were examined. :param str title: The short title for the finding. """ - pulumi.set(__self__, "details", details) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "references", references) - pulumi.set(__self__, "remarks", remarks) - pulumi.set(__self__, "severity", severity) - pulumi.set(__self__, "summary", summary) - pulumi.set(__self__, "title", title) + GetSecurityAssessmentComparisonTargetAuthorizationControlBaselineResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + details=details, + key=key, + references=references, + remarks=remarks, + severity=severity, + summary=summary, + title=title, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + details: Sequence[str], + key: str, + references: Sequence['outputs.GetSecurityAssessmentComparisonTargetAuthorizationControlBaselineReferenceResult'], + remarks: str, + severity: str, + summary: str, + title: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("details", details) + _setter("key", key) + _setter("references", references) + _setter("remarks", remarks) + _setter("severity", severity) + _setter("summary", summary) + _setter("title", title) @property @pulumi.getter @@ -13378,9 +16606,22 @@ def __init__(__self__, *, :param str gdpr: Relevant section from GDPR. :param str stig: Relevant section from STIG. """ - pulumi.set(__self__, "cis", cis) - pulumi.set(__self__, "gdpr", gdpr) - pulumi.set(__self__, "stig", stig) + GetSecurityAssessmentComparisonTargetAuthorizationControlBaselineReferenceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cis=cis, + gdpr=gdpr, + stig=stig, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cis: str, + gdpr: str, + stig: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cis", cis) + _setter("gdpr", gdpr) + _setter("stig", stig) @property @pulumi.getter @@ -13426,13 +16667,34 @@ def __init__(__self__, *, :param str summary: The brief summary of the finding. When the finding is informational, the summary typically reports only the number of data elements that were examined. :param str title: The short title for the finding. """ - pulumi.set(__self__, "details", details) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "references", references) - pulumi.set(__self__, "remarks", remarks) - pulumi.set(__self__, "severity", severity) - pulumi.set(__self__, "summary", summary) - pulumi.set(__self__, "title", title) + GetSecurityAssessmentComparisonTargetAuthorizationControlCurrentResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + details=details, + key=key, + references=references, + remarks=remarks, + severity=severity, + summary=summary, + title=title, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + details: Sequence[str], + key: str, + references: Sequence['outputs.GetSecurityAssessmentComparisonTargetAuthorizationControlCurrentReferenceResult'], + remarks: str, + severity: str, + summary: str, + title: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("details", details) + _setter("key", key) + _setter("references", references) + _setter("remarks", remarks) + _setter("severity", severity) + _setter("summary", summary) + _setter("title", title) @property @pulumi.getter @@ -13502,9 +16764,22 @@ def __init__(__self__, *, :param str gdpr: Relevant section from GDPR. :param str stig: Relevant section from STIG. """ - pulumi.set(__self__, "cis", cis) - pulumi.set(__self__, "gdpr", gdpr) - pulumi.set(__self__, "stig", stig) + GetSecurityAssessmentComparisonTargetAuthorizationControlCurrentReferenceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cis=cis, + gdpr=gdpr, + stig=stig, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cis: str, + gdpr: str, + stig: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cis", cis) + _setter("gdpr", gdpr) + _setter("stig", stig) @property @pulumi.getter @@ -13548,12 +16823,31 @@ def __init__(__self__, *, :param Sequence[str] removed_items: This array identifies the items that are present in the baseline, but are missing from the current assessment. :param str severity: The severity of this diff. """ - pulumi.set(__self__, "added_items", added_items) - pulumi.set(__self__, "baselines", baselines) - pulumi.set(__self__, "currents", currents) - pulumi.set(__self__, "modified_items", modified_items) - pulumi.set(__self__, "removed_items", removed_items) - pulumi.set(__self__, "severity", severity) + GetSecurityAssessmentComparisonTargetDataEncryptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + added_items=added_items, + baselines=baselines, + currents=currents, + modified_items=modified_items, + removed_items=removed_items, + severity=severity, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + added_items: Sequence[str], + baselines: Sequence['outputs.GetSecurityAssessmentComparisonTargetDataEncryptionBaselineResult'], + currents: Sequence['outputs.GetSecurityAssessmentComparisonTargetDataEncryptionCurrentResult'], + modified_items: Sequence[str], + removed_items: Sequence[str], + severity: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("added_items", added_items) + _setter("baselines", baselines) + _setter("currents", currents) + _setter("modified_items", modified_items) + _setter("removed_items", removed_items) + _setter("severity", severity) @property @pulumi.getter(name="addedItems") @@ -13623,13 +16917,34 @@ def __init__(__self__, *, :param str summary: The brief summary of the finding. When the finding is informational, the summary typically reports only the number of data elements that were examined. :param str title: The short title for the finding. """ - pulumi.set(__self__, "details", details) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "references", references) - pulumi.set(__self__, "remarks", remarks) - pulumi.set(__self__, "severity", severity) - pulumi.set(__self__, "summary", summary) - pulumi.set(__self__, "title", title) + GetSecurityAssessmentComparisonTargetDataEncryptionBaselineResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + details=details, + key=key, + references=references, + remarks=remarks, + severity=severity, + summary=summary, + title=title, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + details: Sequence[str], + key: str, + references: Sequence['outputs.GetSecurityAssessmentComparisonTargetDataEncryptionBaselineReferenceResult'], + remarks: str, + severity: str, + summary: str, + title: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("details", details) + _setter("key", key) + _setter("references", references) + _setter("remarks", remarks) + _setter("severity", severity) + _setter("summary", summary) + _setter("title", title) @property @pulumi.getter @@ -13699,9 +17014,22 @@ def __init__(__self__, *, :param str gdpr: Relevant section from GDPR. :param str stig: Relevant section from STIG. """ - pulumi.set(__self__, "cis", cis) - pulumi.set(__self__, "gdpr", gdpr) - pulumi.set(__self__, "stig", stig) + GetSecurityAssessmentComparisonTargetDataEncryptionBaselineReferenceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cis=cis, + gdpr=gdpr, + stig=stig, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cis: str, + gdpr: str, + stig: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cis", cis) + _setter("gdpr", gdpr) + _setter("stig", stig) @property @pulumi.getter @@ -13747,13 +17075,34 @@ def __init__(__self__, *, :param str summary: The brief summary of the finding. When the finding is informational, the summary typically reports only the number of data elements that were examined. :param str title: The short title for the finding. """ - pulumi.set(__self__, "details", details) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "references", references) - pulumi.set(__self__, "remarks", remarks) - pulumi.set(__self__, "severity", severity) - pulumi.set(__self__, "summary", summary) - pulumi.set(__self__, "title", title) + GetSecurityAssessmentComparisonTargetDataEncryptionCurrentResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + details=details, + key=key, + references=references, + remarks=remarks, + severity=severity, + summary=summary, + title=title, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + details: Sequence[str], + key: str, + references: Sequence['outputs.GetSecurityAssessmentComparisonTargetDataEncryptionCurrentReferenceResult'], + remarks: str, + severity: str, + summary: str, + title: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("details", details) + _setter("key", key) + _setter("references", references) + _setter("remarks", remarks) + _setter("severity", severity) + _setter("summary", summary) + _setter("title", title) @property @pulumi.getter @@ -13823,9 +17172,22 @@ def __init__(__self__, *, :param str gdpr: Relevant section from GDPR. :param str stig: Relevant section from STIG. """ - pulumi.set(__self__, "cis", cis) - pulumi.set(__self__, "gdpr", gdpr) - pulumi.set(__self__, "stig", stig) + GetSecurityAssessmentComparisonTargetDataEncryptionCurrentReferenceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cis=cis, + gdpr=gdpr, + stig=stig, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cis: str, + gdpr: str, + stig: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cis", cis) + _setter("gdpr", gdpr) + _setter("stig", stig) @property @pulumi.getter @@ -13869,12 +17231,31 @@ def __init__(__self__, *, :param Sequence[str] removed_items: This array identifies the items that are present in the baseline, but are missing from the current assessment. :param str severity: The severity of this diff. """ - pulumi.set(__self__, "added_items", added_items) - pulumi.set(__self__, "baselines", baselines) - pulumi.set(__self__, "currents", currents) - pulumi.set(__self__, "modified_items", modified_items) - pulumi.set(__self__, "removed_items", removed_items) - pulumi.set(__self__, "severity", severity) + GetSecurityAssessmentComparisonTargetDbConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + added_items=added_items, + baselines=baselines, + currents=currents, + modified_items=modified_items, + removed_items=removed_items, + severity=severity, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + added_items: Sequence[str], + baselines: Sequence['outputs.GetSecurityAssessmentComparisonTargetDbConfigurationBaselineResult'], + currents: Sequence['outputs.GetSecurityAssessmentComparisonTargetDbConfigurationCurrentResult'], + modified_items: Sequence[str], + removed_items: Sequence[str], + severity: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("added_items", added_items) + _setter("baselines", baselines) + _setter("currents", currents) + _setter("modified_items", modified_items) + _setter("removed_items", removed_items) + _setter("severity", severity) @property @pulumi.getter(name="addedItems") @@ -13944,13 +17325,34 @@ def __init__(__self__, *, :param str summary: The brief summary of the finding. When the finding is informational, the summary typically reports only the number of data elements that were examined. :param str title: The short title for the finding. """ - pulumi.set(__self__, "details", details) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "references", references) - pulumi.set(__self__, "remarks", remarks) - pulumi.set(__self__, "severity", severity) - pulumi.set(__self__, "summary", summary) - pulumi.set(__self__, "title", title) + GetSecurityAssessmentComparisonTargetDbConfigurationBaselineResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + details=details, + key=key, + references=references, + remarks=remarks, + severity=severity, + summary=summary, + title=title, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + details: Sequence[str], + key: str, + references: Sequence['outputs.GetSecurityAssessmentComparisonTargetDbConfigurationBaselineReferenceResult'], + remarks: str, + severity: str, + summary: str, + title: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("details", details) + _setter("key", key) + _setter("references", references) + _setter("remarks", remarks) + _setter("severity", severity) + _setter("summary", summary) + _setter("title", title) @property @pulumi.getter @@ -14020,9 +17422,22 @@ def __init__(__self__, *, :param str gdpr: Relevant section from GDPR. :param str stig: Relevant section from STIG. """ - pulumi.set(__self__, "cis", cis) - pulumi.set(__self__, "gdpr", gdpr) - pulumi.set(__self__, "stig", stig) + GetSecurityAssessmentComparisonTargetDbConfigurationBaselineReferenceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cis=cis, + gdpr=gdpr, + stig=stig, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cis: str, + gdpr: str, + stig: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cis", cis) + _setter("gdpr", gdpr) + _setter("stig", stig) @property @pulumi.getter @@ -14068,13 +17483,34 @@ def __init__(__self__, *, :param str summary: The brief summary of the finding. When the finding is informational, the summary typically reports only the number of data elements that were examined. :param str title: The short title for the finding. """ - pulumi.set(__self__, "details", details) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "references", references) - pulumi.set(__self__, "remarks", remarks) - pulumi.set(__self__, "severity", severity) - pulumi.set(__self__, "summary", summary) - pulumi.set(__self__, "title", title) + GetSecurityAssessmentComparisonTargetDbConfigurationCurrentResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + details=details, + key=key, + references=references, + remarks=remarks, + severity=severity, + summary=summary, + title=title, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + details: Sequence[str], + key: str, + references: Sequence['outputs.GetSecurityAssessmentComparisonTargetDbConfigurationCurrentReferenceResult'], + remarks: str, + severity: str, + summary: str, + title: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("details", details) + _setter("key", key) + _setter("references", references) + _setter("remarks", remarks) + _setter("severity", severity) + _setter("summary", summary) + _setter("title", title) @property @pulumi.getter @@ -14144,9 +17580,22 @@ def __init__(__self__, *, :param str gdpr: Relevant section from GDPR. :param str stig: Relevant section from STIG. """ - pulumi.set(__self__, "cis", cis) - pulumi.set(__self__, "gdpr", gdpr) - pulumi.set(__self__, "stig", stig) + GetSecurityAssessmentComparisonTargetDbConfigurationCurrentReferenceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cis=cis, + gdpr=gdpr, + stig=stig, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cis: str, + gdpr: str, + stig: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cis", cis) + _setter("gdpr", gdpr) + _setter("stig", stig) @property @pulumi.getter @@ -14190,12 +17639,31 @@ def __init__(__self__, *, :param Sequence[str] removed_items: This array identifies the items that are present in the baseline, but are missing from the current assessment. :param str severity: The severity of this diff. """ - pulumi.set(__self__, "added_items", added_items) - pulumi.set(__self__, "baselines", baselines) - pulumi.set(__self__, "currents", currents) - pulumi.set(__self__, "modified_items", modified_items) - pulumi.set(__self__, "removed_items", removed_items) - pulumi.set(__self__, "severity", severity) + GetSecurityAssessmentComparisonTargetFineGrainedAccessControlResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + added_items=added_items, + baselines=baselines, + currents=currents, + modified_items=modified_items, + removed_items=removed_items, + severity=severity, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + added_items: Sequence[str], + baselines: Sequence['outputs.GetSecurityAssessmentComparisonTargetFineGrainedAccessControlBaselineResult'], + currents: Sequence['outputs.GetSecurityAssessmentComparisonTargetFineGrainedAccessControlCurrentResult'], + modified_items: Sequence[str], + removed_items: Sequence[str], + severity: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("added_items", added_items) + _setter("baselines", baselines) + _setter("currents", currents) + _setter("modified_items", modified_items) + _setter("removed_items", removed_items) + _setter("severity", severity) @property @pulumi.getter(name="addedItems") @@ -14265,13 +17733,34 @@ def __init__(__self__, *, :param str summary: The brief summary of the finding. When the finding is informational, the summary typically reports only the number of data elements that were examined. :param str title: The short title for the finding. """ - pulumi.set(__self__, "details", details) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "references", references) - pulumi.set(__self__, "remarks", remarks) - pulumi.set(__self__, "severity", severity) - pulumi.set(__self__, "summary", summary) - pulumi.set(__self__, "title", title) + GetSecurityAssessmentComparisonTargetFineGrainedAccessControlBaselineResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + details=details, + key=key, + references=references, + remarks=remarks, + severity=severity, + summary=summary, + title=title, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + details: Sequence[str], + key: str, + references: Sequence['outputs.GetSecurityAssessmentComparisonTargetFineGrainedAccessControlBaselineReferenceResult'], + remarks: str, + severity: str, + summary: str, + title: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("details", details) + _setter("key", key) + _setter("references", references) + _setter("remarks", remarks) + _setter("severity", severity) + _setter("summary", summary) + _setter("title", title) @property @pulumi.getter @@ -14341,9 +17830,22 @@ def __init__(__self__, *, :param str gdpr: Relevant section from GDPR. :param str stig: Relevant section from STIG. """ - pulumi.set(__self__, "cis", cis) - pulumi.set(__self__, "gdpr", gdpr) - pulumi.set(__self__, "stig", stig) + GetSecurityAssessmentComparisonTargetFineGrainedAccessControlBaselineReferenceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cis=cis, + gdpr=gdpr, + stig=stig, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cis: str, + gdpr: str, + stig: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cis", cis) + _setter("gdpr", gdpr) + _setter("stig", stig) @property @pulumi.getter @@ -14389,13 +17891,34 @@ def __init__(__self__, *, :param str summary: The brief summary of the finding. When the finding is informational, the summary typically reports only the number of data elements that were examined. :param str title: The short title for the finding. """ - pulumi.set(__self__, "details", details) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "references", references) - pulumi.set(__self__, "remarks", remarks) - pulumi.set(__self__, "severity", severity) - pulumi.set(__self__, "summary", summary) - pulumi.set(__self__, "title", title) + GetSecurityAssessmentComparisonTargetFineGrainedAccessControlCurrentResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + details=details, + key=key, + references=references, + remarks=remarks, + severity=severity, + summary=summary, + title=title, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + details: Sequence[str], + key: str, + references: Sequence['outputs.GetSecurityAssessmentComparisonTargetFineGrainedAccessControlCurrentReferenceResult'], + remarks: str, + severity: str, + summary: str, + title: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("details", details) + _setter("key", key) + _setter("references", references) + _setter("remarks", remarks) + _setter("severity", severity) + _setter("summary", summary) + _setter("title", title) @property @pulumi.getter @@ -14465,9 +17988,22 @@ def __init__(__self__, *, :param str gdpr: Relevant section from GDPR. :param str stig: Relevant section from STIG. """ - pulumi.set(__self__, "cis", cis) - pulumi.set(__self__, "gdpr", gdpr) - pulumi.set(__self__, "stig", stig) + GetSecurityAssessmentComparisonTargetFineGrainedAccessControlCurrentReferenceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cis=cis, + gdpr=gdpr, + stig=stig, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cis: str, + gdpr: str, + stig: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cis", cis) + _setter("gdpr", gdpr) + _setter("stig", stig) @property @pulumi.getter @@ -14511,12 +18047,31 @@ def __init__(__self__, *, :param Sequence[str] removed_items: This array identifies the items that are present in the baseline, but are missing from the current assessment. :param str severity: The severity of this diff. """ - pulumi.set(__self__, "added_items", added_items) - pulumi.set(__self__, "baselines", baselines) - pulumi.set(__self__, "currents", currents) - pulumi.set(__self__, "modified_items", modified_items) - pulumi.set(__self__, "removed_items", removed_items) - pulumi.set(__self__, "severity", severity) + GetSecurityAssessmentComparisonTargetPrivilegesAndRoleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + added_items=added_items, + baselines=baselines, + currents=currents, + modified_items=modified_items, + removed_items=removed_items, + severity=severity, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + added_items: Sequence[str], + baselines: Sequence['outputs.GetSecurityAssessmentComparisonTargetPrivilegesAndRoleBaselineResult'], + currents: Sequence['outputs.GetSecurityAssessmentComparisonTargetPrivilegesAndRoleCurrentResult'], + modified_items: Sequence[str], + removed_items: Sequence[str], + severity: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("added_items", added_items) + _setter("baselines", baselines) + _setter("currents", currents) + _setter("modified_items", modified_items) + _setter("removed_items", removed_items) + _setter("severity", severity) @property @pulumi.getter(name="addedItems") @@ -14586,13 +18141,34 @@ def __init__(__self__, *, :param str summary: The brief summary of the finding. When the finding is informational, the summary typically reports only the number of data elements that were examined. :param str title: The short title for the finding. """ - pulumi.set(__self__, "details", details) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "references", references) - pulumi.set(__self__, "remarks", remarks) - pulumi.set(__self__, "severity", severity) - pulumi.set(__self__, "summary", summary) - pulumi.set(__self__, "title", title) + GetSecurityAssessmentComparisonTargetPrivilegesAndRoleBaselineResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + details=details, + key=key, + references=references, + remarks=remarks, + severity=severity, + summary=summary, + title=title, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + details: Sequence[str], + key: str, + references: Sequence['outputs.GetSecurityAssessmentComparisonTargetPrivilegesAndRoleBaselineReferenceResult'], + remarks: str, + severity: str, + summary: str, + title: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("details", details) + _setter("key", key) + _setter("references", references) + _setter("remarks", remarks) + _setter("severity", severity) + _setter("summary", summary) + _setter("title", title) @property @pulumi.getter @@ -14662,9 +18238,22 @@ def __init__(__self__, *, :param str gdpr: Relevant section from GDPR. :param str stig: Relevant section from STIG. """ - pulumi.set(__self__, "cis", cis) - pulumi.set(__self__, "gdpr", gdpr) - pulumi.set(__self__, "stig", stig) + GetSecurityAssessmentComparisonTargetPrivilegesAndRoleBaselineReferenceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cis=cis, + gdpr=gdpr, + stig=stig, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cis: str, + gdpr: str, + stig: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cis", cis) + _setter("gdpr", gdpr) + _setter("stig", stig) @property @pulumi.getter @@ -14710,13 +18299,34 @@ def __init__(__self__, *, :param str summary: The brief summary of the finding. When the finding is informational, the summary typically reports only the number of data elements that were examined. :param str title: The short title for the finding. """ - pulumi.set(__self__, "details", details) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "references", references) - pulumi.set(__self__, "remarks", remarks) - pulumi.set(__self__, "severity", severity) - pulumi.set(__self__, "summary", summary) - pulumi.set(__self__, "title", title) + GetSecurityAssessmentComparisonTargetPrivilegesAndRoleCurrentResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + details=details, + key=key, + references=references, + remarks=remarks, + severity=severity, + summary=summary, + title=title, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + details: Sequence[str], + key: str, + references: Sequence['outputs.GetSecurityAssessmentComparisonTargetPrivilegesAndRoleCurrentReferenceResult'], + remarks: str, + severity: str, + summary: str, + title: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("details", details) + _setter("key", key) + _setter("references", references) + _setter("remarks", remarks) + _setter("severity", severity) + _setter("summary", summary) + _setter("title", title) @property @pulumi.getter @@ -14786,9 +18396,22 @@ def __init__(__self__, *, :param str gdpr: Relevant section from GDPR. :param str stig: Relevant section from STIG. """ - pulumi.set(__self__, "cis", cis) - pulumi.set(__self__, "gdpr", gdpr) - pulumi.set(__self__, "stig", stig) + GetSecurityAssessmentComparisonTargetPrivilegesAndRoleCurrentReferenceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cis=cis, + gdpr=gdpr, + stig=stig, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cis: str, + gdpr: str, + stig: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cis", cis) + _setter("gdpr", gdpr) + _setter("stig", stig) @property @pulumi.getter @@ -14832,12 +18455,31 @@ def __init__(__self__, *, :param Sequence[str] removed_items: This array identifies the items that are present in the baseline, but are missing from the current assessment. :param str severity: The severity of this diff. """ - pulumi.set(__self__, "added_items", added_items) - pulumi.set(__self__, "baselines", baselines) - pulumi.set(__self__, "currents", currents) - pulumi.set(__self__, "modified_items", modified_items) - pulumi.set(__self__, "removed_items", removed_items) - pulumi.set(__self__, "severity", severity) + GetSecurityAssessmentComparisonTargetUserAccountResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + added_items=added_items, + baselines=baselines, + currents=currents, + modified_items=modified_items, + removed_items=removed_items, + severity=severity, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + added_items: Sequence[str], + baselines: Sequence['outputs.GetSecurityAssessmentComparisonTargetUserAccountBaselineResult'], + currents: Sequence['outputs.GetSecurityAssessmentComparisonTargetUserAccountCurrentResult'], + modified_items: Sequence[str], + removed_items: Sequence[str], + severity: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("added_items", added_items) + _setter("baselines", baselines) + _setter("currents", currents) + _setter("modified_items", modified_items) + _setter("removed_items", removed_items) + _setter("severity", severity) @property @pulumi.getter(name="addedItems") @@ -14907,13 +18549,34 @@ def __init__(__self__, *, :param str summary: The brief summary of the finding. When the finding is informational, the summary typically reports only the number of data elements that were examined. :param str title: The short title for the finding. """ - pulumi.set(__self__, "details", details) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "references", references) - pulumi.set(__self__, "remarks", remarks) - pulumi.set(__self__, "severity", severity) - pulumi.set(__self__, "summary", summary) - pulumi.set(__self__, "title", title) + GetSecurityAssessmentComparisonTargetUserAccountBaselineResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + details=details, + key=key, + references=references, + remarks=remarks, + severity=severity, + summary=summary, + title=title, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + details: Sequence[str], + key: str, + references: Sequence['outputs.GetSecurityAssessmentComparisonTargetUserAccountBaselineReferenceResult'], + remarks: str, + severity: str, + summary: str, + title: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("details", details) + _setter("key", key) + _setter("references", references) + _setter("remarks", remarks) + _setter("severity", severity) + _setter("summary", summary) + _setter("title", title) @property @pulumi.getter @@ -14983,9 +18646,22 @@ def __init__(__self__, *, :param str gdpr: Relevant section from GDPR. :param str stig: Relevant section from STIG. """ - pulumi.set(__self__, "cis", cis) - pulumi.set(__self__, "gdpr", gdpr) - pulumi.set(__self__, "stig", stig) + GetSecurityAssessmentComparisonTargetUserAccountBaselineReferenceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cis=cis, + gdpr=gdpr, + stig=stig, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cis: str, + gdpr: str, + stig: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cis", cis) + _setter("gdpr", gdpr) + _setter("stig", stig) @property @pulumi.getter @@ -15031,13 +18707,34 @@ def __init__(__self__, *, :param str summary: The brief summary of the finding. When the finding is informational, the summary typically reports only the number of data elements that were examined. :param str title: The short title for the finding. """ - pulumi.set(__self__, "details", details) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "references", references) - pulumi.set(__self__, "remarks", remarks) - pulumi.set(__self__, "severity", severity) - pulumi.set(__self__, "summary", summary) - pulumi.set(__self__, "title", title) + GetSecurityAssessmentComparisonTargetUserAccountCurrentResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + details=details, + key=key, + references=references, + remarks=remarks, + severity=severity, + summary=summary, + title=title, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + details: Sequence[str], + key: str, + references: Sequence['outputs.GetSecurityAssessmentComparisonTargetUserAccountCurrentReferenceResult'], + remarks: str, + severity: str, + summary: str, + title: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("details", details) + _setter("key", key) + _setter("references", references) + _setter("remarks", remarks) + _setter("severity", severity) + _setter("summary", summary) + _setter("title", title) @property @pulumi.getter @@ -15107,9 +18804,22 @@ def __init__(__self__, *, :param str gdpr: Relevant section from GDPR. :param str stig: Relevant section from STIG. """ - pulumi.set(__self__, "cis", cis) - pulumi.set(__self__, "gdpr", gdpr) - pulumi.set(__self__, "stig", stig) + GetSecurityAssessmentComparisonTargetUserAccountCurrentReferenceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cis=cis, + gdpr=gdpr, + stig=stig, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cis: str, + gdpr: str, + stig: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cis", cis) + _setter("gdpr", gdpr) + _setter("stig", stig) @property @pulumi.getter @@ -15142,10 +18852,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSecurityAssessmentFindingFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -15175,15 +18898,40 @@ def __init__(__self__, *, summary: str, target_id: str, title: str): - pulumi.set(__self__, "assessment_id", assessment_id) - pulumi.set(__self__, "details", details) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "references", references) - pulumi.set(__self__, "remarks", remarks) - pulumi.set(__self__, "severity", severity) - pulumi.set(__self__, "summary", summary) - pulumi.set(__self__, "target_id", target_id) - pulumi.set(__self__, "title", title) + GetSecurityAssessmentFindingFindingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + assessment_id=assessment_id, + details=details, + key=key, + references=references, + remarks=remarks, + severity=severity, + summary=summary, + target_id=target_id, + title=title, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + assessment_id: str, + details: Sequence[str], + key: str, + references: Sequence['outputs.GetSecurityAssessmentFindingFindingReferenceResult'], + remarks: str, + severity: str, + summary: str, + target_id: str, + title: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("assessment_id", assessment_id) + _setter("details", details) + _setter("key", key) + _setter("references", references) + _setter("remarks", remarks) + _setter("severity", severity) + _setter("summary", summary) + _setter("target_id", target_id) + _setter("title", title) @property @pulumi.getter(name="assessmentId") @@ -15237,9 +18985,22 @@ def __init__(__self__, *, cis: str, gdpr: str, stig: str): - pulumi.set(__self__, "cis", cis) - pulumi.set(__self__, "gdpr", gdpr) - pulumi.set(__self__, "stig", stig) + GetSecurityAssessmentFindingFindingReferenceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cis=cis, + gdpr=gdpr, + stig=stig, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cis: str, + gdpr: str, + stig: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cis", cis) + _setter("gdpr", gdpr) + _setter("stig", stig) @property @pulumi.getter @@ -15263,10 +19024,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSecurityAssessmentFindingsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -15307,15 +19081,40 @@ def __init__(__self__, *, :param str target_id: The OCID of the target database. :param str title: The short title for the finding. """ - pulumi.set(__self__, "assessment_id", assessment_id) - pulumi.set(__self__, "details", details) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "references", references) - pulumi.set(__self__, "remarks", remarks) - pulumi.set(__self__, "severity", severity) - pulumi.set(__self__, "summary", summary) - pulumi.set(__self__, "target_id", target_id) - pulumi.set(__self__, "title", title) + GetSecurityAssessmentFindingsFindingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + assessment_id=assessment_id, + details=details, + key=key, + references=references, + remarks=remarks, + severity=severity, + summary=summary, + target_id=target_id, + title=title, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + assessment_id: str, + details: Sequence[str], + key: str, + references: Sequence['outputs.GetSecurityAssessmentFindingsFindingReferenceResult'], + remarks: str, + severity: str, + summary: str, + target_id: str, + title: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("assessment_id", assessment_id) + _setter("details", details) + _setter("key", key) + _setter("references", references) + _setter("remarks", remarks) + _setter("severity", severity) + _setter("summary", summary) + _setter("target_id", target_id) + _setter("title", title) @property @pulumi.getter(name="assessmentId") @@ -15401,9 +19200,22 @@ def __init__(__self__, *, :param str gdpr: Relevant section from GDPR. :param str stig: Relevant section from STIG. """ - pulumi.set(__self__, "cis", cis) - pulumi.set(__self__, "gdpr", gdpr) - pulumi.set(__self__, "stig", stig) + GetSecurityAssessmentFindingsFindingReferenceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cis=cis, + gdpr=gdpr, + stig=stig, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cis: str, + gdpr: str, + stig: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cis", cis) + _setter("gdpr", gdpr) + _setter("stig", stig) @property @pulumi.getter @@ -15449,13 +19261,34 @@ def __init__(__self__, *, :param Sequence['GetSecurityAssessmentStatisticPassArgs'] passes: Statistics showing the number of findings with a particular risk level for each category. :param int targets_count: The total number of targets in this security assessment. """ - pulumi.set(__self__, "advisories", advisories) - pulumi.set(__self__, "evaluates", evaluates) - pulumi.set(__self__, "high_risks", high_risks) - pulumi.set(__self__, "low_risks", low_risks) - pulumi.set(__self__, "medium_risks", medium_risks) - pulumi.set(__self__, "passes", passes) - pulumi.set(__self__, "targets_count", targets_count) + GetSecurityAssessmentStatisticResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + advisories=advisories, + evaluates=evaluates, + high_risks=high_risks, + low_risks=low_risks, + medium_risks=medium_risks, + passes=passes, + targets_count=targets_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + advisories: Sequence['outputs.GetSecurityAssessmentStatisticAdvisoryResult'], + evaluates: Sequence['outputs.GetSecurityAssessmentStatisticEvaluateResult'], + high_risks: Sequence['outputs.GetSecurityAssessmentStatisticHighRiskResult'], + low_risks: Sequence['outputs.GetSecurityAssessmentStatisticLowRiskResult'], + medium_risks: Sequence['outputs.GetSecurityAssessmentStatisticMediumRiskResult'], + passes: Sequence['outputs.GetSecurityAssessmentStatisticPassResult'], + targets_count: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("advisories", advisories) + _setter("evaluates", evaluates) + _setter("high_risks", high_risks) + _setter("low_risks", low_risks) + _setter("medium_risks", medium_risks) + _setter("passes", passes) + _setter("targets_count", targets_count) @property @pulumi.getter @@ -15535,14 +19368,37 @@ def __init__(__self__, *, :param int targets_count: The total number of targets in this security assessment. :param int user_accounts_findings_count: The number of findings in the User Accounts category. """ - pulumi.set(__self__, "auditing_findings_count", auditing_findings_count) - pulumi.set(__self__, "authorization_control_findings_count", authorization_control_findings_count) - pulumi.set(__self__, "data_encryption_findings_count", data_encryption_findings_count) - pulumi.set(__self__, "db_configuration_findings_count", db_configuration_findings_count) - pulumi.set(__self__, "fine_grained_access_control_findings_count", fine_grained_access_control_findings_count) - pulumi.set(__self__, "privileges_and_roles_findings_count", privileges_and_roles_findings_count) - pulumi.set(__self__, "targets_count", targets_count) - pulumi.set(__self__, "user_accounts_findings_count", user_accounts_findings_count) + GetSecurityAssessmentStatisticAdvisoryResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + auditing_findings_count=auditing_findings_count, + authorization_control_findings_count=authorization_control_findings_count, + data_encryption_findings_count=data_encryption_findings_count, + db_configuration_findings_count=db_configuration_findings_count, + fine_grained_access_control_findings_count=fine_grained_access_control_findings_count, + privileges_and_roles_findings_count=privileges_and_roles_findings_count, + targets_count=targets_count, + user_accounts_findings_count=user_accounts_findings_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + auditing_findings_count: int, + authorization_control_findings_count: int, + data_encryption_findings_count: int, + db_configuration_findings_count: int, + fine_grained_access_control_findings_count: int, + privileges_and_roles_findings_count: int, + targets_count: int, + user_accounts_findings_count: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("auditing_findings_count", auditing_findings_count) + _setter("authorization_control_findings_count", authorization_control_findings_count) + _setter("data_encryption_findings_count", data_encryption_findings_count) + _setter("db_configuration_findings_count", db_configuration_findings_count) + _setter("fine_grained_access_control_findings_count", fine_grained_access_control_findings_count) + _setter("privileges_and_roles_findings_count", privileges_and_roles_findings_count) + _setter("targets_count", targets_count) + _setter("user_accounts_findings_count", user_accounts_findings_count) @property @pulumi.getter(name="auditingFindingsCount") @@ -15630,14 +19486,37 @@ def __init__(__self__, *, :param int targets_count: The total number of targets in this security assessment. :param int user_accounts_findings_count: The number of findings in the User Accounts category. """ - pulumi.set(__self__, "auditing_findings_count", auditing_findings_count) - pulumi.set(__self__, "authorization_control_findings_count", authorization_control_findings_count) - pulumi.set(__self__, "data_encryption_findings_count", data_encryption_findings_count) - pulumi.set(__self__, "db_configuration_findings_count", db_configuration_findings_count) - pulumi.set(__self__, "fine_grained_access_control_findings_count", fine_grained_access_control_findings_count) - pulumi.set(__self__, "privileges_and_roles_findings_count", privileges_and_roles_findings_count) - pulumi.set(__self__, "targets_count", targets_count) - pulumi.set(__self__, "user_accounts_findings_count", user_accounts_findings_count) + GetSecurityAssessmentStatisticEvaluateResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + auditing_findings_count=auditing_findings_count, + authorization_control_findings_count=authorization_control_findings_count, + data_encryption_findings_count=data_encryption_findings_count, + db_configuration_findings_count=db_configuration_findings_count, + fine_grained_access_control_findings_count=fine_grained_access_control_findings_count, + privileges_and_roles_findings_count=privileges_and_roles_findings_count, + targets_count=targets_count, + user_accounts_findings_count=user_accounts_findings_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + auditing_findings_count: int, + authorization_control_findings_count: int, + data_encryption_findings_count: int, + db_configuration_findings_count: int, + fine_grained_access_control_findings_count: int, + privileges_and_roles_findings_count: int, + targets_count: int, + user_accounts_findings_count: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("auditing_findings_count", auditing_findings_count) + _setter("authorization_control_findings_count", authorization_control_findings_count) + _setter("data_encryption_findings_count", data_encryption_findings_count) + _setter("db_configuration_findings_count", db_configuration_findings_count) + _setter("fine_grained_access_control_findings_count", fine_grained_access_control_findings_count) + _setter("privileges_and_roles_findings_count", privileges_and_roles_findings_count) + _setter("targets_count", targets_count) + _setter("user_accounts_findings_count", user_accounts_findings_count) @property @pulumi.getter(name="auditingFindingsCount") @@ -15725,14 +19604,37 @@ def __init__(__self__, *, :param int targets_count: The total number of targets in this security assessment. :param int user_accounts_findings_count: The number of findings in the User Accounts category. """ - pulumi.set(__self__, "auditing_findings_count", auditing_findings_count) - pulumi.set(__self__, "authorization_control_findings_count", authorization_control_findings_count) - pulumi.set(__self__, "data_encryption_findings_count", data_encryption_findings_count) - pulumi.set(__self__, "db_configuration_findings_count", db_configuration_findings_count) - pulumi.set(__self__, "fine_grained_access_control_findings_count", fine_grained_access_control_findings_count) - pulumi.set(__self__, "privileges_and_roles_findings_count", privileges_and_roles_findings_count) - pulumi.set(__self__, "targets_count", targets_count) - pulumi.set(__self__, "user_accounts_findings_count", user_accounts_findings_count) + GetSecurityAssessmentStatisticHighRiskResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + auditing_findings_count=auditing_findings_count, + authorization_control_findings_count=authorization_control_findings_count, + data_encryption_findings_count=data_encryption_findings_count, + db_configuration_findings_count=db_configuration_findings_count, + fine_grained_access_control_findings_count=fine_grained_access_control_findings_count, + privileges_and_roles_findings_count=privileges_and_roles_findings_count, + targets_count=targets_count, + user_accounts_findings_count=user_accounts_findings_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + auditing_findings_count: int, + authorization_control_findings_count: int, + data_encryption_findings_count: int, + db_configuration_findings_count: int, + fine_grained_access_control_findings_count: int, + privileges_and_roles_findings_count: int, + targets_count: int, + user_accounts_findings_count: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("auditing_findings_count", auditing_findings_count) + _setter("authorization_control_findings_count", authorization_control_findings_count) + _setter("data_encryption_findings_count", data_encryption_findings_count) + _setter("db_configuration_findings_count", db_configuration_findings_count) + _setter("fine_grained_access_control_findings_count", fine_grained_access_control_findings_count) + _setter("privileges_and_roles_findings_count", privileges_and_roles_findings_count) + _setter("targets_count", targets_count) + _setter("user_accounts_findings_count", user_accounts_findings_count) @property @pulumi.getter(name="auditingFindingsCount") @@ -15820,14 +19722,37 @@ def __init__(__self__, *, :param int targets_count: The total number of targets in this security assessment. :param int user_accounts_findings_count: The number of findings in the User Accounts category. """ - pulumi.set(__self__, "auditing_findings_count", auditing_findings_count) - pulumi.set(__self__, "authorization_control_findings_count", authorization_control_findings_count) - pulumi.set(__self__, "data_encryption_findings_count", data_encryption_findings_count) - pulumi.set(__self__, "db_configuration_findings_count", db_configuration_findings_count) - pulumi.set(__self__, "fine_grained_access_control_findings_count", fine_grained_access_control_findings_count) - pulumi.set(__self__, "privileges_and_roles_findings_count", privileges_and_roles_findings_count) - pulumi.set(__self__, "targets_count", targets_count) - pulumi.set(__self__, "user_accounts_findings_count", user_accounts_findings_count) + GetSecurityAssessmentStatisticLowRiskResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + auditing_findings_count=auditing_findings_count, + authorization_control_findings_count=authorization_control_findings_count, + data_encryption_findings_count=data_encryption_findings_count, + db_configuration_findings_count=db_configuration_findings_count, + fine_grained_access_control_findings_count=fine_grained_access_control_findings_count, + privileges_and_roles_findings_count=privileges_and_roles_findings_count, + targets_count=targets_count, + user_accounts_findings_count=user_accounts_findings_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + auditing_findings_count: int, + authorization_control_findings_count: int, + data_encryption_findings_count: int, + db_configuration_findings_count: int, + fine_grained_access_control_findings_count: int, + privileges_and_roles_findings_count: int, + targets_count: int, + user_accounts_findings_count: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("auditing_findings_count", auditing_findings_count) + _setter("authorization_control_findings_count", authorization_control_findings_count) + _setter("data_encryption_findings_count", data_encryption_findings_count) + _setter("db_configuration_findings_count", db_configuration_findings_count) + _setter("fine_grained_access_control_findings_count", fine_grained_access_control_findings_count) + _setter("privileges_and_roles_findings_count", privileges_and_roles_findings_count) + _setter("targets_count", targets_count) + _setter("user_accounts_findings_count", user_accounts_findings_count) @property @pulumi.getter(name="auditingFindingsCount") @@ -15915,14 +19840,37 @@ def __init__(__self__, *, :param int targets_count: The total number of targets in this security assessment. :param int user_accounts_findings_count: The number of findings in the User Accounts category. """ - pulumi.set(__self__, "auditing_findings_count", auditing_findings_count) - pulumi.set(__self__, "authorization_control_findings_count", authorization_control_findings_count) - pulumi.set(__self__, "data_encryption_findings_count", data_encryption_findings_count) - pulumi.set(__self__, "db_configuration_findings_count", db_configuration_findings_count) - pulumi.set(__self__, "fine_grained_access_control_findings_count", fine_grained_access_control_findings_count) - pulumi.set(__self__, "privileges_and_roles_findings_count", privileges_and_roles_findings_count) - pulumi.set(__self__, "targets_count", targets_count) - pulumi.set(__self__, "user_accounts_findings_count", user_accounts_findings_count) + GetSecurityAssessmentStatisticMediumRiskResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + auditing_findings_count=auditing_findings_count, + authorization_control_findings_count=authorization_control_findings_count, + data_encryption_findings_count=data_encryption_findings_count, + db_configuration_findings_count=db_configuration_findings_count, + fine_grained_access_control_findings_count=fine_grained_access_control_findings_count, + privileges_and_roles_findings_count=privileges_and_roles_findings_count, + targets_count=targets_count, + user_accounts_findings_count=user_accounts_findings_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + auditing_findings_count: int, + authorization_control_findings_count: int, + data_encryption_findings_count: int, + db_configuration_findings_count: int, + fine_grained_access_control_findings_count: int, + privileges_and_roles_findings_count: int, + targets_count: int, + user_accounts_findings_count: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("auditing_findings_count", auditing_findings_count) + _setter("authorization_control_findings_count", authorization_control_findings_count) + _setter("data_encryption_findings_count", data_encryption_findings_count) + _setter("db_configuration_findings_count", db_configuration_findings_count) + _setter("fine_grained_access_control_findings_count", fine_grained_access_control_findings_count) + _setter("privileges_and_roles_findings_count", privileges_and_roles_findings_count) + _setter("targets_count", targets_count) + _setter("user_accounts_findings_count", user_accounts_findings_count) @property @pulumi.getter(name="auditingFindingsCount") @@ -16010,14 +19958,37 @@ def __init__(__self__, *, :param int targets_count: The total number of targets in this security assessment. :param int user_accounts_findings_count: The number of findings in the User Accounts category. """ - pulumi.set(__self__, "auditing_findings_count", auditing_findings_count) - pulumi.set(__self__, "authorization_control_findings_count", authorization_control_findings_count) - pulumi.set(__self__, "data_encryption_findings_count", data_encryption_findings_count) - pulumi.set(__self__, "db_configuration_findings_count", db_configuration_findings_count) - pulumi.set(__self__, "fine_grained_access_control_findings_count", fine_grained_access_control_findings_count) - pulumi.set(__self__, "privileges_and_roles_findings_count", privileges_and_roles_findings_count) - pulumi.set(__self__, "targets_count", targets_count) - pulumi.set(__self__, "user_accounts_findings_count", user_accounts_findings_count) + GetSecurityAssessmentStatisticPassResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + auditing_findings_count=auditing_findings_count, + authorization_control_findings_count=authorization_control_findings_count, + data_encryption_findings_count=data_encryption_findings_count, + db_configuration_findings_count=db_configuration_findings_count, + fine_grained_access_control_findings_count=fine_grained_access_control_findings_count, + privileges_and_roles_findings_count=privileges_and_roles_findings_count, + targets_count=targets_count, + user_accounts_findings_count=user_accounts_findings_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + auditing_findings_count: int, + authorization_control_findings_count: int, + data_encryption_findings_count: int, + db_configuration_findings_count: int, + fine_grained_access_control_findings_count: int, + privileges_and_roles_findings_count: int, + targets_count: int, + user_accounts_findings_count: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("auditing_findings_count", auditing_findings_count) + _setter("authorization_control_findings_count", authorization_control_findings_count) + _setter("data_encryption_findings_count", data_encryption_findings_count) + _setter("db_configuration_findings_count", db_configuration_findings_count) + _setter("fine_grained_access_control_findings_count", fine_grained_access_control_findings_count) + _setter("privileges_and_roles_findings_count", privileges_and_roles_findings_count) + _setter("targets_count", targets_count) + _setter("user_accounts_findings_count", user_accounts_findings_count) @property @pulumi.getter(name="auditingFindingsCount") @@ -16090,10 +20061,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSecurityAssessmentsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -16168,32 +20152,91 @@ def __init__(__self__, *, :param str triggered_by: A filter to return only security asessments that were created by either user or system. :param str type: A filter to return only items that match the specified security assessment type. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "ignored_assessment_ids", ignored_assessment_ids) - pulumi.set(__self__, "ignored_targets", ignored_targets) - pulumi.set(__self__, "is_baseline", is_baseline) - pulumi.set(__self__, "is_deviated_from_baseline", is_deviated_from_baseline) - pulumi.set(__self__, "last_compared_baseline_id", last_compared_baseline_id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "link", link) - pulumi.set(__self__, "schedule", schedule) - pulumi.set(__self__, "schedule_security_assessment_id", schedule_security_assessment_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "statistics", statistics) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "target_id", target_id) - pulumi.set(__self__, "target_ids", target_ids) - pulumi.set(__self__, "target_version", target_version) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_last_assessed", time_last_assessed) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "triggered_by", triggered_by) - pulumi.set(__self__, "type", type) + GetSecurityAssessmentsSecurityAssessmentResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + ignored_assessment_ids=ignored_assessment_ids, + ignored_targets=ignored_targets, + is_baseline=is_baseline, + is_deviated_from_baseline=is_deviated_from_baseline, + last_compared_baseline_id=last_compared_baseline_id, + lifecycle_details=lifecycle_details, + link=link, + schedule=schedule, + schedule_security_assessment_id=schedule_security_assessment_id, + state=state, + statistics=statistics, + system_tags=system_tags, + target_id=target_id, + target_ids=target_ids, + target_version=target_version, + time_created=time_created, + time_last_assessed=time_last_assessed, + time_updated=time_updated, + triggered_by=triggered_by, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + ignored_assessment_ids: Sequence[str], + ignored_targets: Sequence[str], + is_baseline: bool, + is_deviated_from_baseline: bool, + last_compared_baseline_id: str, + lifecycle_details: str, + link: str, + schedule: str, + schedule_security_assessment_id: str, + state: str, + statistics: Sequence['outputs.GetSecurityAssessmentsSecurityAssessmentStatisticResult'], + system_tags: Mapping[str, Any], + target_id: str, + target_ids: Sequence[str], + target_version: str, + time_created: str, + time_last_assessed: str, + time_updated: str, + triggered_by: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("ignored_assessment_ids", ignored_assessment_ids) + _setter("ignored_targets", ignored_targets) + _setter("is_baseline", is_baseline) + _setter("is_deviated_from_baseline", is_deviated_from_baseline) + _setter("last_compared_baseline_id", last_compared_baseline_id) + _setter("lifecycle_details", lifecycle_details) + _setter("link", link) + _setter("schedule", schedule) + _setter("schedule_security_assessment_id", schedule_security_assessment_id) + _setter("state", state) + _setter("statistics", statistics) + _setter("system_tags", system_tags) + _setter("target_id", target_id) + _setter("target_ids", target_ids) + _setter("target_version", target_version) + _setter("time_created", time_created) + _setter("time_last_assessed", time_last_assessed) + _setter("time_updated", time_updated) + _setter("triggered_by", triggered_by) + _setter("type", type) @property @pulumi.getter(name="compartmentId") @@ -16423,13 +20466,34 @@ def __init__(__self__, *, :param Sequence['GetSecurityAssessmentsSecurityAssessmentStatisticPassArgs'] passes: Statistics showing the number of findings with a particular risk level for each category. :param int targets_count: The total number of targets in this security assessment. """ - pulumi.set(__self__, "advisories", advisories) - pulumi.set(__self__, "evaluates", evaluates) - pulumi.set(__self__, "high_risks", high_risks) - pulumi.set(__self__, "low_risks", low_risks) - pulumi.set(__self__, "medium_risks", medium_risks) - pulumi.set(__self__, "passes", passes) - pulumi.set(__self__, "targets_count", targets_count) + GetSecurityAssessmentsSecurityAssessmentStatisticResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + advisories=advisories, + evaluates=evaluates, + high_risks=high_risks, + low_risks=low_risks, + medium_risks=medium_risks, + passes=passes, + targets_count=targets_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + advisories: Sequence['outputs.GetSecurityAssessmentsSecurityAssessmentStatisticAdvisoryResult'], + evaluates: Sequence['outputs.GetSecurityAssessmentsSecurityAssessmentStatisticEvaluateResult'], + high_risks: Sequence['outputs.GetSecurityAssessmentsSecurityAssessmentStatisticHighRiskResult'], + low_risks: Sequence['outputs.GetSecurityAssessmentsSecurityAssessmentStatisticLowRiskResult'], + medium_risks: Sequence['outputs.GetSecurityAssessmentsSecurityAssessmentStatisticMediumRiskResult'], + passes: Sequence['outputs.GetSecurityAssessmentsSecurityAssessmentStatisticPassResult'], + targets_count: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("advisories", advisories) + _setter("evaluates", evaluates) + _setter("high_risks", high_risks) + _setter("low_risks", low_risks) + _setter("medium_risks", medium_risks) + _setter("passes", passes) + _setter("targets_count", targets_count) @property @pulumi.getter @@ -16509,14 +20573,37 @@ def __init__(__self__, *, :param int targets_count: The total number of targets in this security assessment. :param int user_accounts_findings_count: The number of findings in the User Accounts category. """ - pulumi.set(__self__, "auditing_findings_count", auditing_findings_count) - pulumi.set(__self__, "authorization_control_findings_count", authorization_control_findings_count) - pulumi.set(__self__, "data_encryption_findings_count", data_encryption_findings_count) - pulumi.set(__self__, "db_configuration_findings_count", db_configuration_findings_count) - pulumi.set(__self__, "fine_grained_access_control_findings_count", fine_grained_access_control_findings_count) - pulumi.set(__self__, "privileges_and_roles_findings_count", privileges_and_roles_findings_count) - pulumi.set(__self__, "targets_count", targets_count) - pulumi.set(__self__, "user_accounts_findings_count", user_accounts_findings_count) + GetSecurityAssessmentsSecurityAssessmentStatisticAdvisoryResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + auditing_findings_count=auditing_findings_count, + authorization_control_findings_count=authorization_control_findings_count, + data_encryption_findings_count=data_encryption_findings_count, + db_configuration_findings_count=db_configuration_findings_count, + fine_grained_access_control_findings_count=fine_grained_access_control_findings_count, + privileges_and_roles_findings_count=privileges_and_roles_findings_count, + targets_count=targets_count, + user_accounts_findings_count=user_accounts_findings_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + auditing_findings_count: int, + authorization_control_findings_count: int, + data_encryption_findings_count: int, + db_configuration_findings_count: int, + fine_grained_access_control_findings_count: int, + privileges_and_roles_findings_count: int, + targets_count: int, + user_accounts_findings_count: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("auditing_findings_count", auditing_findings_count) + _setter("authorization_control_findings_count", authorization_control_findings_count) + _setter("data_encryption_findings_count", data_encryption_findings_count) + _setter("db_configuration_findings_count", db_configuration_findings_count) + _setter("fine_grained_access_control_findings_count", fine_grained_access_control_findings_count) + _setter("privileges_and_roles_findings_count", privileges_and_roles_findings_count) + _setter("targets_count", targets_count) + _setter("user_accounts_findings_count", user_accounts_findings_count) @property @pulumi.getter(name="auditingFindingsCount") @@ -16604,14 +20691,37 @@ def __init__(__self__, *, :param int targets_count: The total number of targets in this security assessment. :param int user_accounts_findings_count: The number of findings in the User Accounts category. """ - pulumi.set(__self__, "auditing_findings_count", auditing_findings_count) - pulumi.set(__self__, "authorization_control_findings_count", authorization_control_findings_count) - pulumi.set(__self__, "data_encryption_findings_count", data_encryption_findings_count) - pulumi.set(__self__, "db_configuration_findings_count", db_configuration_findings_count) - pulumi.set(__self__, "fine_grained_access_control_findings_count", fine_grained_access_control_findings_count) - pulumi.set(__self__, "privileges_and_roles_findings_count", privileges_and_roles_findings_count) - pulumi.set(__self__, "targets_count", targets_count) - pulumi.set(__self__, "user_accounts_findings_count", user_accounts_findings_count) + GetSecurityAssessmentsSecurityAssessmentStatisticEvaluateResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + auditing_findings_count=auditing_findings_count, + authorization_control_findings_count=authorization_control_findings_count, + data_encryption_findings_count=data_encryption_findings_count, + db_configuration_findings_count=db_configuration_findings_count, + fine_grained_access_control_findings_count=fine_grained_access_control_findings_count, + privileges_and_roles_findings_count=privileges_and_roles_findings_count, + targets_count=targets_count, + user_accounts_findings_count=user_accounts_findings_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + auditing_findings_count: int, + authorization_control_findings_count: int, + data_encryption_findings_count: int, + db_configuration_findings_count: int, + fine_grained_access_control_findings_count: int, + privileges_and_roles_findings_count: int, + targets_count: int, + user_accounts_findings_count: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("auditing_findings_count", auditing_findings_count) + _setter("authorization_control_findings_count", authorization_control_findings_count) + _setter("data_encryption_findings_count", data_encryption_findings_count) + _setter("db_configuration_findings_count", db_configuration_findings_count) + _setter("fine_grained_access_control_findings_count", fine_grained_access_control_findings_count) + _setter("privileges_and_roles_findings_count", privileges_and_roles_findings_count) + _setter("targets_count", targets_count) + _setter("user_accounts_findings_count", user_accounts_findings_count) @property @pulumi.getter(name="auditingFindingsCount") @@ -16699,14 +20809,37 @@ def __init__(__self__, *, :param int targets_count: The total number of targets in this security assessment. :param int user_accounts_findings_count: The number of findings in the User Accounts category. """ - pulumi.set(__self__, "auditing_findings_count", auditing_findings_count) - pulumi.set(__self__, "authorization_control_findings_count", authorization_control_findings_count) - pulumi.set(__self__, "data_encryption_findings_count", data_encryption_findings_count) - pulumi.set(__self__, "db_configuration_findings_count", db_configuration_findings_count) - pulumi.set(__self__, "fine_grained_access_control_findings_count", fine_grained_access_control_findings_count) - pulumi.set(__self__, "privileges_and_roles_findings_count", privileges_and_roles_findings_count) - pulumi.set(__self__, "targets_count", targets_count) - pulumi.set(__self__, "user_accounts_findings_count", user_accounts_findings_count) + GetSecurityAssessmentsSecurityAssessmentStatisticHighRiskResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + auditing_findings_count=auditing_findings_count, + authorization_control_findings_count=authorization_control_findings_count, + data_encryption_findings_count=data_encryption_findings_count, + db_configuration_findings_count=db_configuration_findings_count, + fine_grained_access_control_findings_count=fine_grained_access_control_findings_count, + privileges_and_roles_findings_count=privileges_and_roles_findings_count, + targets_count=targets_count, + user_accounts_findings_count=user_accounts_findings_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + auditing_findings_count: int, + authorization_control_findings_count: int, + data_encryption_findings_count: int, + db_configuration_findings_count: int, + fine_grained_access_control_findings_count: int, + privileges_and_roles_findings_count: int, + targets_count: int, + user_accounts_findings_count: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("auditing_findings_count", auditing_findings_count) + _setter("authorization_control_findings_count", authorization_control_findings_count) + _setter("data_encryption_findings_count", data_encryption_findings_count) + _setter("db_configuration_findings_count", db_configuration_findings_count) + _setter("fine_grained_access_control_findings_count", fine_grained_access_control_findings_count) + _setter("privileges_and_roles_findings_count", privileges_and_roles_findings_count) + _setter("targets_count", targets_count) + _setter("user_accounts_findings_count", user_accounts_findings_count) @property @pulumi.getter(name="auditingFindingsCount") @@ -16794,14 +20927,37 @@ def __init__(__self__, *, :param int targets_count: The total number of targets in this security assessment. :param int user_accounts_findings_count: The number of findings in the User Accounts category. """ - pulumi.set(__self__, "auditing_findings_count", auditing_findings_count) - pulumi.set(__self__, "authorization_control_findings_count", authorization_control_findings_count) - pulumi.set(__self__, "data_encryption_findings_count", data_encryption_findings_count) - pulumi.set(__self__, "db_configuration_findings_count", db_configuration_findings_count) - pulumi.set(__self__, "fine_grained_access_control_findings_count", fine_grained_access_control_findings_count) - pulumi.set(__self__, "privileges_and_roles_findings_count", privileges_and_roles_findings_count) - pulumi.set(__self__, "targets_count", targets_count) - pulumi.set(__self__, "user_accounts_findings_count", user_accounts_findings_count) + GetSecurityAssessmentsSecurityAssessmentStatisticLowRiskResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + auditing_findings_count=auditing_findings_count, + authorization_control_findings_count=authorization_control_findings_count, + data_encryption_findings_count=data_encryption_findings_count, + db_configuration_findings_count=db_configuration_findings_count, + fine_grained_access_control_findings_count=fine_grained_access_control_findings_count, + privileges_and_roles_findings_count=privileges_and_roles_findings_count, + targets_count=targets_count, + user_accounts_findings_count=user_accounts_findings_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + auditing_findings_count: int, + authorization_control_findings_count: int, + data_encryption_findings_count: int, + db_configuration_findings_count: int, + fine_grained_access_control_findings_count: int, + privileges_and_roles_findings_count: int, + targets_count: int, + user_accounts_findings_count: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("auditing_findings_count", auditing_findings_count) + _setter("authorization_control_findings_count", authorization_control_findings_count) + _setter("data_encryption_findings_count", data_encryption_findings_count) + _setter("db_configuration_findings_count", db_configuration_findings_count) + _setter("fine_grained_access_control_findings_count", fine_grained_access_control_findings_count) + _setter("privileges_and_roles_findings_count", privileges_and_roles_findings_count) + _setter("targets_count", targets_count) + _setter("user_accounts_findings_count", user_accounts_findings_count) @property @pulumi.getter(name="auditingFindingsCount") @@ -16889,14 +21045,37 @@ def __init__(__self__, *, :param int targets_count: The total number of targets in this security assessment. :param int user_accounts_findings_count: The number of findings in the User Accounts category. """ - pulumi.set(__self__, "auditing_findings_count", auditing_findings_count) - pulumi.set(__self__, "authorization_control_findings_count", authorization_control_findings_count) - pulumi.set(__self__, "data_encryption_findings_count", data_encryption_findings_count) - pulumi.set(__self__, "db_configuration_findings_count", db_configuration_findings_count) - pulumi.set(__self__, "fine_grained_access_control_findings_count", fine_grained_access_control_findings_count) - pulumi.set(__self__, "privileges_and_roles_findings_count", privileges_and_roles_findings_count) - pulumi.set(__self__, "targets_count", targets_count) - pulumi.set(__self__, "user_accounts_findings_count", user_accounts_findings_count) + GetSecurityAssessmentsSecurityAssessmentStatisticMediumRiskResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + auditing_findings_count=auditing_findings_count, + authorization_control_findings_count=authorization_control_findings_count, + data_encryption_findings_count=data_encryption_findings_count, + db_configuration_findings_count=db_configuration_findings_count, + fine_grained_access_control_findings_count=fine_grained_access_control_findings_count, + privileges_and_roles_findings_count=privileges_and_roles_findings_count, + targets_count=targets_count, + user_accounts_findings_count=user_accounts_findings_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + auditing_findings_count: int, + authorization_control_findings_count: int, + data_encryption_findings_count: int, + db_configuration_findings_count: int, + fine_grained_access_control_findings_count: int, + privileges_and_roles_findings_count: int, + targets_count: int, + user_accounts_findings_count: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("auditing_findings_count", auditing_findings_count) + _setter("authorization_control_findings_count", authorization_control_findings_count) + _setter("data_encryption_findings_count", data_encryption_findings_count) + _setter("db_configuration_findings_count", db_configuration_findings_count) + _setter("fine_grained_access_control_findings_count", fine_grained_access_control_findings_count) + _setter("privileges_and_roles_findings_count", privileges_and_roles_findings_count) + _setter("targets_count", targets_count) + _setter("user_accounts_findings_count", user_accounts_findings_count) @property @pulumi.getter(name="auditingFindingsCount") @@ -16984,14 +21163,37 @@ def __init__(__self__, *, :param int targets_count: The total number of targets in this security assessment. :param int user_accounts_findings_count: The number of findings in the User Accounts category. """ - pulumi.set(__self__, "auditing_findings_count", auditing_findings_count) - pulumi.set(__self__, "authorization_control_findings_count", authorization_control_findings_count) - pulumi.set(__self__, "data_encryption_findings_count", data_encryption_findings_count) - pulumi.set(__self__, "db_configuration_findings_count", db_configuration_findings_count) - pulumi.set(__self__, "fine_grained_access_control_findings_count", fine_grained_access_control_findings_count) - pulumi.set(__self__, "privileges_and_roles_findings_count", privileges_and_roles_findings_count) - pulumi.set(__self__, "targets_count", targets_count) - pulumi.set(__self__, "user_accounts_findings_count", user_accounts_findings_count) + GetSecurityAssessmentsSecurityAssessmentStatisticPassResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + auditing_findings_count=auditing_findings_count, + authorization_control_findings_count=authorization_control_findings_count, + data_encryption_findings_count=data_encryption_findings_count, + db_configuration_findings_count=db_configuration_findings_count, + fine_grained_access_control_findings_count=fine_grained_access_control_findings_count, + privileges_and_roles_findings_count=privileges_and_roles_findings_count, + targets_count=targets_count, + user_accounts_findings_count=user_accounts_findings_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + auditing_findings_count: int, + authorization_control_findings_count: int, + data_encryption_findings_count: int, + db_configuration_findings_count: int, + fine_grained_access_control_findings_count: int, + privileges_and_roles_findings_count: int, + targets_count: int, + user_accounts_findings_count: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("auditing_findings_count", auditing_findings_count) + _setter("authorization_control_findings_count", authorization_control_findings_count) + _setter("data_encryption_findings_count", data_encryption_findings_count) + _setter("db_configuration_findings_count", db_configuration_findings_count) + _setter("fine_grained_access_control_findings_count", fine_grained_access_control_findings_count) + _setter("privileges_and_roles_findings_count", privileges_and_roles_findings_count) + _setter("targets_count", targets_count) + _setter("user_accounts_findings_count", user_accounts_findings_count) @property @pulumi.getter(name="auditingFindingsCount") @@ -17064,10 +21266,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSensitiveDataModelSensitiveObjectsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -17092,7 +21307,16 @@ def __init__(__self__, *, """ :param Sequence['GetSensitiveDataModelSensitiveObjectsSensitiveObjectCollectionItemArgs'] items: An array of sensitive object summary objects. """ - pulumi.set(__self__, "items", items) + GetSensitiveDataModelSensitiveObjectsSensitiveObjectCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetSensitiveDataModelSensitiveObjectsSensitiveObjectCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -17114,9 +21338,22 @@ def __init__(__self__, *, :param str object_type: A filter to return only items related to a specific object type. :param str schema_name: A filter to return only items related to specific schema name. """ - pulumi.set(__self__, "object", object) - pulumi.set(__self__, "object_type", object_type) - pulumi.set(__self__, "schema_name", schema_name) + GetSensitiveDataModelSensitiveObjectsSensitiveObjectCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + object=object, + object_type=object_type, + schema_name=schema_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + object: str, + object_type: str, + schema_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("object", object) + _setter("object_type", object_type) + _setter("schema_name", schema_name) @property @pulumi.getter @@ -17149,10 +21386,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSensitiveDataModelSensitiveSchemasFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -17177,7 +21427,16 @@ def __init__(__self__, *, """ :param Sequence['GetSensitiveDataModelSensitiveSchemasSensitiveSchemaCollectionItemArgs'] items: An array of sensitive schema summary objects. """ - pulumi.set(__self__, "items", items) + GetSensitiveDataModelSensitiveSchemasSensitiveSchemaCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetSensitiveDataModelSensitiveSchemasSensitiveSchemaCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -17195,7 +21454,16 @@ def __init__(__self__, *, """ :param str schema_name: A filter to return only items related to specific schema name. """ - pulumi.set(__self__, "schema_name", schema_name) + GetSensitiveDataModelSensitiveSchemasSensitiveSchemaCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + schema_name=schema_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + schema_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("schema_name", schema_name) @property @pulumi.getter(name="schemaName") @@ -17212,10 +21480,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSensitiveDataModelsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -17239,10 +21520,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSensitiveDataModelsSensitiveColumnsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -17264,7 +21558,16 @@ def regex(self) -> Optional[bool]: class GetSensitiveDataModelsSensitiveColumnsSensitiveColumnCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetSensitiveDataModelsSensitiveColumnsSensitiveColumnCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetSensitiveDataModelsSensitiveColumnsSensitiveColumnCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetSensitiveDataModelsSensitiveColumnsSensitiveColumnCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -17321,28 +21624,79 @@ def __init__(__self__, *, :param str time_created: The date and time, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339), the sensitive column was created in the sensitive data model. :param str time_updated: The date and time, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339), the sensitive column was last updated in the sensitive data model. """ - pulumi.set(__self__, "app_defined_child_column_keys", app_defined_child_column_keys) - pulumi.set(__self__, "app_name", app_name) - pulumi.set(__self__, "column_groups", column_groups) - pulumi.set(__self__, "column_name", column_name) - pulumi.set(__self__, "data_type", data_type) - pulumi.set(__self__, "db_defined_child_column_keys", db_defined_child_column_keys) - pulumi.set(__self__, "estimated_data_value_count", estimated_data_value_count) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "object", object) - pulumi.set(__self__, "object_type", object_type) - pulumi.set(__self__, "parent_column_keys", parent_column_keys) - pulumi.set(__self__, "relation_type", relation_type) - pulumi.set(__self__, "sample_data_values", sample_data_values) - pulumi.set(__self__, "schema_name", schema_name) - pulumi.set(__self__, "sensitive_data_model_id", sensitive_data_model_id) - pulumi.set(__self__, "sensitive_type_id", sensitive_type_id) - pulumi.set(__self__, "source", source) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetSensitiveDataModelsSensitiveColumnsSensitiveColumnCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + app_defined_child_column_keys=app_defined_child_column_keys, + app_name=app_name, + column_groups=column_groups, + column_name=column_name, + data_type=data_type, + db_defined_child_column_keys=db_defined_child_column_keys, + estimated_data_value_count=estimated_data_value_count, + key=key, + lifecycle_details=lifecycle_details, + object=object, + object_type=object_type, + parent_column_keys=parent_column_keys, + relation_type=relation_type, + sample_data_values=sample_data_values, + schema_name=schema_name, + sensitive_data_model_id=sensitive_data_model_id, + sensitive_type_id=sensitive_type_id, + source=source, + state=state, + status=status, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + app_defined_child_column_keys: Sequence[str], + app_name: str, + column_groups: Sequence[str], + column_name: str, + data_type: str, + db_defined_child_column_keys: Sequence[str], + estimated_data_value_count: str, + key: str, + lifecycle_details: str, + object: str, + object_type: str, + parent_column_keys: Sequence[str], + relation_type: str, + sample_data_values: Sequence[str], + schema_name: str, + sensitive_data_model_id: str, + sensitive_type_id: str, + source: str, + state: str, + status: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("app_defined_child_column_keys", app_defined_child_column_keys) + _setter("app_name", app_name) + _setter("column_groups", column_groups) + _setter("column_name", column_name) + _setter("data_type", data_type) + _setter("db_defined_child_column_keys", db_defined_child_column_keys) + _setter("estimated_data_value_count", estimated_data_value_count) + _setter("key", key) + _setter("lifecycle_details", lifecycle_details) + _setter("object", object) + _setter("object_type", object_type) + _setter("parent_column_keys", parent_column_keys) + _setter("relation_type", relation_type) + _setter("sample_data_values", sample_data_values) + _setter("schema_name", schema_name) + _setter("sensitive_data_model_id", sensitive_data_model_id) + _setter("sensitive_type_id", sensitive_type_id) + _setter("source", source) + _setter("state", state) + _setter("status", status) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="appDefinedChildColumnKeys") @@ -17525,7 +21879,16 @@ def time_updated(self) -> str: class GetSensitiveDataModelsSensitiveDataModelCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetSensitiveDataModelsSensitiveDataModelCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetSensitiveDataModelsSensitiveDataModelCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetSensitiveDataModelsSensitiveDataModelCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -17574,24 +21937,67 @@ def __init__(__self__, *, :param str time_created: The date and time the sensitive data model was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). :param str time_updated: The date and time the sensitive data model was last updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). """ - pulumi.set(__self__, "app_suite_name", app_suite_name) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_app_defined_relation_discovery_enabled", is_app_defined_relation_discovery_enabled) - pulumi.set(__self__, "is_include_all_schemas", is_include_all_schemas) - pulumi.set(__self__, "is_include_all_sensitive_types", is_include_all_sensitive_types) - pulumi.set(__self__, "is_sample_data_collection_enabled", is_sample_data_collection_enabled) - pulumi.set(__self__, "schemas_for_discoveries", schemas_for_discoveries) - pulumi.set(__self__, "sensitive_type_ids_for_discoveries", sensitive_type_ids_for_discoveries) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "target_id", target_id) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetSensitiveDataModelsSensitiveDataModelCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + app_suite_name=app_suite_name, + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + is_app_defined_relation_discovery_enabled=is_app_defined_relation_discovery_enabled, + is_include_all_schemas=is_include_all_schemas, + is_include_all_sensitive_types=is_include_all_sensitive_types, + is_sample_data_collection_enabled=is_sample_data_collection_enabled, + schemas_for_discoveries=schemas_for_discoveries, + sensitive_type_ids_for_discoveries=sensitive_type_ids_for_discoveries, + state=state, + system_tags=system_tags, + target_id=target_id, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + app_suite_name: str, + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + is_app_defined_relation_discovery_enabled: bool, + is_include_all_schemas: bool, + is_include_all_sensitive_types: bool, + is_sample_data_collection_enabled: bool, + schemas_for_discoveries: Sequence[str], + sensitive_type_ids_for_discoveries: Sequence[str], + state: str, + system_tags: Mapping[str, Any], + target_id: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("app_suite_name", app_suite_name) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_app_defined_relation_discovery_enabled", is_app_defined_relation_discovery_enabled) + _setter("is_include_all_schemas", is_include_all_schemas) + _setter("is_include_all_sensitive_types", is_include_all_sensitive_types) + _setter("is_sample_data_collection_enabled", is_sample_data_collection_enabled) + _setter("schemas_for_discoveries", schemas_for_discoveries) + _setter("sensitive_type_ids_for_discoveries", sensitive_type_ids_for_discoveries) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("target_id", target_id) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="appSuiteName") @@ -17744,10 +22150,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSensitiveTypesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -17769,7 +22188,16 @@ def regex(self) -> Optional[bool]: class GetSensitiveTypesSensitiveTypeCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetSensitiveTypesSensitiveTypeCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetSensitiveTypesSensitiveTypeCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetSensitiveTypesSensitiveTypeCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -17820,25 +22248,70 @@ def __init__(__self__, *, :param str time_created: The date and time the sensitive type was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). :param str time_updated: The date and time the sensitive type was last updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). """ - pulumi.set(__self__, "comment_pattern", comment_pattern) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "data_pattern", data_pattern) - pulumi.set(__self__, "default_masking_format_id", default_masking_format_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "entity_type", entity_type) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "name_pattern", name_pattern) - pulumi.set(__self__, "parent_category_id", parent_category_id) - pulumi.set(__self__, "search_type", search_type) - pulumi.set(__self__, "short_name", short_name) - pulumi.set(__self__, "source", source) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetSensitiveTypesSensitiveTypeCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + comment_pattern=comment_pattern, + compartment_id=compartment_id, + data_pattern=data_pattern, + default_masking_format_id=default_masking_format_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + entity_type=entity_type, + freeform_tags=freeform_tags, + id=id, + name_pattern=name_pattern, + parent_category_id=parent_category_id, + search_type=search_type, + short_name=short_name, + source=source, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + comment_pattern: str, + compartment_id: str, + data_pattern: str, + default_masking_format_id: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + entity_type: str, + freeform_tags: Mapping[str, Any], + id: str, + name_pattern: str, + parent_category_id: str, + search_type: str, + short_name: str, + source: str, + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("comment_pattern", comment_pattern) + _setter("compartment_id", compartment_id) + _setter("data_pattern", data_pattern) + _setter("default_masking_format_id", default_masking_format_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("entity_type", entity_type) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("name_pattern", name_pattern) + _setter("parent_category_id", parent_category_id) + _setter("search_type", search_type) + _setter("short_name", short_name) + _setter("source", source) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="commentPattern") @@ -17999,10 +22472,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetTargetAlertPolicyAssociationsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -18024,7 +22510,16 @@ def regex(self) -> Optional[bool]: class GetTargetAlertPolicyAssociationsTargetAlertPolicyAssociationCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetTargetAlertPolicyAssociationsTargetAlertPolicyAssociationCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetTargetAlertPolicyAssociationsTargetAlertPolicyAssociationCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetTargetAlertPolicyAssociationsTargetAlertPolicyAssociationCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -18063,19 +22558,52 @@ def __init__(__self__, *, :param str time_created: Creation date and time of the alert policy, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). :param str time_updated: Last date and time the alert policy was updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "policy_id", policy_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "target_id", target_id) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetTargetAlertPolicyAssociationsTargetAlertPolicyAssociationCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + is_enabled=is_enabled, + policy_id=policy_id, + state=state, + system_tags=system_tags, + target_id=target_id, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + is_enabled: bool, + policy_id: str, + state: str, + system_tags: Mapping[str, Any], + target_id: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_enabled", is_enabled) + _setter("policy_id", policy_id) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("target_id", target_id) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -18195,9 +22723,22 @@ def __init__(__self__, *, :param str datasafe_private_endpoint_id: The OCID of the Data Safe private endpoint. :param str on_prem_connector_id: The OCID of the on-premises connector. """ - pulumi.set(__self__, "connection_type", connection_type) - pulumi.set(__self__, "datasafe_private_endpoint_id", datasafe_private_endpoint_id) - pulumi.set(__self__, "on_prem_connector_id", on_prem_connector_id) + GetTargetDatabaseConnectionOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + connection_type=connection_type, + datasafe_private_endpoint_id=datasafe_private_endpoint_id, + on_prem_connector_id=on_prem_connector_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + connection_type: str, + datasafe_private_endpoint_id: str, + on_prem_connector_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("connection_type", connection_type) + _setter("datasafe_private_endpoint_id", datasafe_private_endpoint_id) + _setter("on_prem_connector_id", on_prem_connector_id) @property @pulumi.getter(name="connectionType") @@ -18235,8 +22776,19 @@ def __init__(__self__, *, :param str password: The password of the database user. :param str user_name: The database user name. """ - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "user_name", user_name) + GetTargetDatabaseCredentialResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + password=password, + user_name=user_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + password: str, + user_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("password", password) + _setter("user_name", user_name) @property @pulumi.getter @@ -18278,15 +22830,40 @@ def __init__(__self__, *, :param str service_name: The service name of the database registered as target database. :param str vm_cluster_id: The OCID of the VM cluster in which the database is running. """ - pulumi.set(__self__, "autonomous_database_id", autonomous_database_id) - pulumi.set(__self__, "database_type", database_type) - pulumi.set(__self__, "db_system_id", db_system_id) - pulumi.set(__self__, "infrastructure_type", infrastructure_type) - pulumi.set(__self__, "instance_id", instance_id) - pulumi.set(__self__, "ip_addresses", ip_addresses) - pulumi.set(__self__, "listener_port", listener_port) - pulumi.set(__self__, "service_name", service_name) - pulumi.set(__self__, "vm_cluster_id", vm_cluster_id) + GetTargetDatabaseDatabaseDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + autonomous_database_id=autonomous_database_id, + database_type=database_type, + db_system_id=db_system_id, + infrastructure_type=infrastructure_type, + instance_id=instance_id, + ip_addresses=ip_addresses, + listener_port=listener_port, + service_name=service_name, + vm_cluster_id=vm_cluster_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + autonomous_database_id: str, + database_type: str, + db_system_id: str, + infrastructure_type: str, + instance_id: str, + ip_addresses: Sequence[str], + listener_port: int, + service_name: str, + vm_cluster_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("autonomous_database_id", autonomous_database_id) + _setter("database_type", database_type) + _setter("db_system_id", db_system_id) + _setter("infrastructure_type", infrastructure_type) + _setter("instance_id", instance_id) + _setter("ip_addresses", ip_addresses) + _setter("listener_port", listener_port) + _setter("service_name", service_name) + _setter("vm_cluster_id", vm_cluster_id) @property @pulumi.getter(name="autonomousDatabaseId") @@ -18367,10 +22944,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetTargetDatabaseRoleFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -18398,13 +22988,34 @@ def __init__(__self__, *, is_oracle_maintained: bool, is_password_required: bool, role_name: str): - pulumi.set(__self__, "authentication_type", authentication_type) - pulumi.set(__self__, "is_common", is_common) - pulumi.set(__self__, "is_implicit", is_implicit) - pulumi.set(__self__, "is_inherited", is_inherited) - pulumi.set(__self__, "is_oracle_maintained", is_oracle_maintained) - pulumi.set(__self__, "is_password_required", is_password_required) - pulumi.set(__self__, "role_name", role_name) + GetTargetDatabaseRoleRoleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + authentication_type=authentication_type, + is_common=is_common, + is_implicit=is_implicit, + is_inherited=is_inherited, + is_oracle_maintained=is_oracle_maintained, + is_password_required=is_password_required, + role_name=role_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + authentication_type: str, + is_common: bool, + is_implicit: bool, + is_inherited: bool, + is_oracle_maintained: bool, + is_password_required: bool, + role_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("authentication_type", authentication_type) + _setter("is_common", is_common) + _setter("is_implicit", is_implicit) + _setter("is_inherited", is_inherited) + _setter("is_oracle_maintained", is_oracle_maintained) + _setter("is_password_required", is_password_required) + _setter("role_name", role_name) @property @pulumi.getter(name="authenticationType") @@ -18448,10 +23059,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetTargetDatabaseRolesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -18488,13 +23112,34 @@ def __init__(__self__, *, :param bool is_password_required: Is password required. :param str role_name: A filter to return only a specific role based on role name. """ - pulumi.set(__self__, "authentication_type", authentication_type) - pulumi.set(__self__, "is_common", is_common) - pulumi.set(__self__, "is_implicit", is_implicit) - pulumi.set(__self__, "is_inherited", is_inherited) - pulumi.set(__self__, "is_oracle_maintained", is_oracle_maintained) - pulumi.set(__self__, "is_password_required", is_password_required) - pulumi.set(__self__, "role_name", role_name) + GetTargetDatabaseRolesRoleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + authentication_type=authentication_type, + is_common=is_common, + is_implicit=is_implicit, + is_inherited=is_inherited, + is_oracle_maintained=is_oracle_maintained, + is_password_required=is_password_required, + role_name=role_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + authentication_type: str, + is_common: bool, + is_implicit: bool, + is_inherited: bool, + is_oracle_maintained: bool, + is_password_required: bool, + role_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("authentication_type", authentication_type) + _setter("is_common", is_common) + _setter("is_implicit", is_implicit) + _setter("is_inherited", is_inherited) + _setter("is_oracle_maintained", is_oracle_maintained) + _setter("is_password_required", is_password_required) + _setter("role_name", role_name) @property @pulumi.getter(name="authenticationType") @@ -18568,11 +23213,28 @@ def __init__(__self__, *, :param str store_password: The password to read the trust store and key store files, if they are password protected. :param str trust_store_content: Base64 encoded string of trust store file content. """ - pulumi.set(__self__, "certificate_store_type", certificate_store_type) - pulumi.set(__self__, "key_store_content", key_store_content) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "store_password", store_password) - pulumi.set(__self__, "trust_store_content", trust_store_content) + GetTargetDatabaseTlsConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + certificate_store_type=certificate_store_type, + key_store_content=key_store_content, + status=status, + store_password=store_password, + trust_store_content=trust_store_content, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + certificate_store_type: str, + key_store_content: str, + status: str, + store_password: str, + trust_store_content: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("certificate_store_type", certificate_store_type) + _setter("key_store_content", key_store_content) + _setter("status", status) + _setter("store_password", store_password) + _setter("trust_store_content", trust_store_content) @property @pulumi.getter(name="certificateStoreType") @@ -18636,14 +23298,37 @@ def __init__(__self__, *, :param str schema_name: A filter to return only items related to specific schema name. :param str table_name: A filter to return only items related to specific table name. """ - pulumi.set(__self__, "character_length", character_length) - pulumi.set(__self__, "column_name", column_name) - pulumi.set(__self__, "data_type", data_type) - pulumi.set(__self__, "length", length) - pulumi.set(__self__, "precision", precision) - pulumi.set(__self__, "scale", scale) - pulumi.set(__self__, "schema_name", schema_name) - pulumi.set(__self__, "table_name", table_name) + GetTargetDatabasesColumnsColumnResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + character_length=character_length, + column_name=column_name, + data_type=data_type, + length=length, + precision=precision, + scale=scale, + schema_name=schema_name, + table_name=table_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + character_length: int, + column_name: str, + data_type: str, + length: str, + precision: int, + scale: int, + schema_name: str, + table_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("character_length", character_length) + _setter("column_name", column_name) + _setter("data_type", data_type) + _setter("length", length) + _setter("precision", precision) + _setter("scale", scale) + _setter("schema_name", schema_name) + _setter("table_name", table_name) @property @pulumi.getter(name="characterLength") @@ -18716,10 +23401,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetTargetDatabasesColumnsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -18743,10 +23441,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetTargetDatabasesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -18770,10 +23481,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetTargetDatabasesSchemasFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -18800,8 +23524,19 @@ def __init__(__self__, *, :param bool is_oracle_maintained: A filter to return only items related to specific type of schema. :param str schema_name: A filter to return only items related to specific schema name. """ - pulumi.set(__self__, "is_oracle_maintained", is_oracle_maintained) - pulumi.set(__self__, "schema_name", schema_name) + GetTargetDatabasesSchemasSchemaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_oracle_maintained=is_oracle_maintained, + schema_name=schema_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_oracle_maintained: bool, + schema_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_oracle_maintained", is_oracle_maintained) + _setter("schema_name", schema_name) @property @pulumi.getter(name="isOracleMaintained") @@ -18826,10 +23561,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetTargetDatabasesTablesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -18856,8 +23604,19 @@ def __init__(__self__, *, :param str schema_name: A filter to return only items related to specific schema name. :param str table_name: A filter to return only items related to specific table name. """ - pulumi.set(__self__, "schema_name", schema_name) - pulumi.set(__self__, "table_name", table_name) + GetTargetDatabasesTablesTableResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + schema_name=schema_name, + table_name=table_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + schema_name: str, + table_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("schema_name", schema_name) + _setter("table_name", table_name) @property @pulumi.getter(name="schemaName") @@ -18913,22 +23672,61 @@ def __init__(__self__, *, :param str time_updated: The date and time of the target database update in Data Safe. :param Sequence['GetTargetDatabasesTargetDatabaseTlsConfigArgs'] tls_configs: The details required to establish a TLS enabled connection. """ - pulumi.set(__self__, "associated_resource_ids", associated_resource_ids) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "connection_options", connection_options) - pulumi.set(__self__, "credentials", credentials) - pulumi.set(__self__, "database_details", database_details) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "tls_configs", tls_configs) + GetTargetDatabasesTargetDatabaseResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + associated_resource_ids=associated_resource_ids, + compartment_id=compartment_id, + connection_options=connection_options, + credentials=credentials, + database_details=database_details, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + tls_configs=tls_configs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + associated_resource_ids: Sequence[str], + compartment_id: str, + connection_options: Sequence['outputs.GetTargetDatabasesTargetDatabaseConnectionOptionResult'], + credentials: Sequence['outputs.GetTargetDatabasesTargetDatabaseCredentialResult'], + database_details: Sequence['outputs.GetTargetDatabasesTargetDatabaseDatabaseDetailResult'], + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + tls_configs: Sequence['outputs.GetTargetDatabasesTargetDatabaseTlsConfigResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("associated_resource_ids", associated_resource_ids) + _setter("compartment_id", compartment_id) + _setter("connection_options", connection_options) + _setter("credentials", credentials) + _setter("database_details", database_details) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("tls_configs", tls_configs) @property @pulumi.getter(name="associatedResourceIds") @@ -19072,9 +23870,22 @@ def __init__(__self__, *, :param str datasafe_private_endpoint_id: The OCID of the Data Safe private endpoint. :param str on_prem_connector_id: The OCID of the on-premises connector. """ - pulumi.set(__self__, "connection_type", connection_type) - pulumi.set(__self__, "datasafe_private_endpoint_id", datasafe_private_endpoint_id) - pulumi.set(__self__, "on_prem_connector_id", on_prem_connector_id) + GetTargetDatabasesTargetDatabaseConnectionOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + connection_type=connection_type, + datasafe_private_endpoint_id=datasafe_private_endpoint_id, + on_prem_connector_id=on_prem_connector_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + connection_type: str, + datasafe_private_endpoint_id: str, + on_prem_connector_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("connection_type", connection_type) + _setter("datasafe_private_endpoint_id", datasafe_private_endpoint_id) + _setter("on_prem_connector_id", on_prem_connector_id) @property @pulumi.getter(name="connectionType") @@ -19112,8 +23923,19 @@ def __init__(__self__, *, :param str password: The password of the database user. :param str user_name: The database user name. """ - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "user_name", user_name) + GetTargetDatabasesTargetDatabaseCredentialResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + password=password, + user_name=user_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + password: str, + user_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("password", password) + _setter("user_name", user_name) @property @pulumi.getter @@ -19155,15 +23977,40 @@ def __init__(__self__, *, :param str service_name: The service name of the database registered as target database. :param str vm_cluster_id: The OCID of the VM cluster in which the database is running. """ - pulumi.set(__self__, "autonomous_database_id", autonomous_database_id) - pulumi.set(__self__, "database_type", database_type) - pulumi.set(__self__, "db_system_id", db_system_id) - pulumi.set(__self__, "infrastructure_type", infrastructure_type) - pulumi.set(__self__, "instance_id", instance_id) - pulumi.set(__self__, "ip_addresses", ip_addresses) - pulumi.set(__self__, "listener_port", listener_port) - pulumi.set(__self__, "service_name", service_name) - pulumi.set(__self__, "vm_cluster_id", vm_cluster_id) + GetTargetDatabasesTargetDatabaseDatabaseDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + autonomous_database_id=autonomous_database_id, + database_type=database_type, + db_system_id=db_system_id, + infrastructure_type=infrastructure_type, + instance_id=instance_id, + ip_addresses=ip_addresses, + listener_port=listener_port, + service_name=service_name, + vm_cluster_id=vm_cluster_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + autonomous_database_id: str, + database_type: str, + db_system_id: str, + infrastructure_type: str, + instance_id: str, + ip_addresses: Sequence[str], + listener_port: int, + service_name: str, + vm_cluster_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("autonomous_database_id", autonomous_database_id) + _setter("database_type", database_type) + _setter("db_system_id", db_system_id) + _setter("infrastructure_type", infrastructure_type) + _setter("instance_id", instance_id) + _setter("ip_addresses", ip_addresses) + _setter("listener_port", listener_port) + _setter("service_name", service_name) + _setter("vm_cluster_id", vm_cluster_id) @property @pulumi.getter(name="autonomousDatabaseId") @@ -19253,11 +24100,28 @@ def __init__(__self__, *, :param str store_password: The password to read the trust store and key store files, if they are password protected. :param str trust_store_content: Base64 encoded string of trust store file content. """ - pulumi.set(__self__, "certificate_store_type", certificate_store_type) - pulumi.set(__self__, "key_store_content", key_store_content) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "store_password", store_password) - pulumi.set(__self__, "trust_store_content", trust_store_content) + GetTargetDatabasesTargetDatabaseTlsConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + certificate_store_type=certificate_store_type, + key_store_content=key_store_content, + status=status, + store_password=store_password, + trust_store_content=trust_store_content, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + certificate_store_type: str, + key_store_content: str, + status: str, + store_password: str, + trust_store_content: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("certificate_store_type", certificate_store_type) + _setter("key_store_content", key_store_content) + _setter("status", status) + _setter("store_password", store_password) + _setter("trust_store_content", trust_store_content) @property @pulumi.getter(name="certificateStoreType") @@ -19306,9 +24170,22 @@ def __init__(__self__, *, baselines: Sequence['outputs.GetUserAssessmentComparisonSummaryBaselineResult'], currents: Sequence['outputs.GetUserAssessmentComparisonSummaryCurrentResult'], status: str): - pulumi.set(__self__, "baselines", baselines) - pulumi.set(__self__, "currents", currents) - pulumi.set(__self__, "status", status) + GetUserAssessmentComparisonSummaryResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + baselines=baselines, + currents=currents, + status=status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + baselines: Sequence['outputs.GetUserAssessmentComparisonSummaryBaselineResult'], + currents: Sequence['outputs.GetUserAssessmentComparisonSummaryCurrentResult'], + status: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("baselines", baselines) + _setter("currents", currents) + _setter("status", status) @property @pulumi.getter @@ -19334,8 +24211,19 @@ def __init__(__self__, *, """ :param str user_assessment_id: The OCID of the user assessment. """ - pulumi.set(__self__, "target_id", target_id) - pulumi.set(__self__, "user_assessment_id", user_assessment_id) + GetUserAssessmentComparisonSummaryBaselineResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + target_id=target_id, + user_assessment_id=user_assessment_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + target_id: str, + user_assessment_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("target_id", target_id) + _setter("user_assessment_id", user_assessment_id) @property @pulumi.getter(name="targetId") @@ -19359,8 +24247,19 @@ def __init__(__self__, *, """ :param str user_assessment_id: The OCID of the user assessment. """ - pulumi.set(__self__, "target_id", target_id) - pulumi.set(__self__, "user_assessment_id", user_assessment_id) + GetUserAssessmentComparisonSummaryCurrentResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + target_id=target_id, + user_assessment_id=user_assessment_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + target_id: str, + user_assessment_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("target_id", target_id) + _setter("user_assessment_id", user_assessment_id) @property @pulumi.getter(name="targetId") @@ -19385,9 +24284,22 @@ def __init__(__self__, *, """ :param str user_assessment_id: The OCID of the user assessment. """ - pulumi.set(__self__, "lifecycle_state", lifecycle_state) - pulumi.set(__self__, "target_id", target_id) - pulumi.set(__self__, "user_assessment_id", user_assessment_id) + GetUserAssessmentIgnoredTargetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + lifecycle_state=lifecycle_state, + target_id=target_id, + user_assessment_id=user_assessment_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + lifecycle_state: str, + target_id: str, + user_assessment_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("lifecycle_state", lifecycle_state) + _setter("target_id", target_id) + _setter("user_assessment_id", user_assessment_id) @property @pulumi.getter(name="lifecycleState") @@ -19414,10 +24326,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetUserAssessmentProfileAnalyticsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -19446,9 +24371,22 @@ def __init__(__self__, *, :param Mapping[str, Any] freeform_tags: 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Department": "Finance"}` :param Sequence[Any] items: The array of profile aggregation data. """ - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "items", items) + GetUserAssessmentProfileAnalyticsProfileAggregationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + defined_tags=defined_tags, + freeform_tags=freeform_tags, + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + defined_tags: Mapping[str, Any], + freeform_tags: Mapping[str, Any], + items: Sequence[Any], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("defined_tags", defined_tags) + _setter("freeform_tags", freeform_tags) + _setter("items", items) @property @pulumi.getter(name="definedTags") @@ -19481,10 +24419,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetUserAssessmentProfilesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -19561,33 +24512,94 @@ def __init__(__self__, *, :param str user_assessment_id: The OCID of the user assessment. :param int user_count: The number of users having a given profile. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "composite_limit", composite_limit) - pulumi.set(__self__, "connect_time", connect_time) - pulumi.set(__self__, "cpu_per_call", cpu_per_call) - pulumi.set(__self__, "cpu_per_session", cpu_per_session) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "failed_login_attempts", failed_login_attempts) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "idle_time", idle_time) - pulumi.set(__self__, "inactive_account_time", inactive_account_time) - pulumi.set(__self__, "is_user_created", is_user_created) - pulumi.set(__self__, "logical_reads_per_call", logical_reads_per_call) - pulumi.set(__self__, "logical_reads_per_session", logical_reads_per_session) - pulumi.set(__self__, "password_grace_time", password_grace_time) - pulumi.set(__self__, "password_life_time", password_life_time) - pulumi.set(__self__, "password_lock_time", password_lock_time) - pulumi.set(__self__, "password_reuse_max", password_reuse_max) - pulumi.set(__self__, "password_reuse_time", password_reuse_time) - pulumi.set(__self__, "password_rollover_time", password_rollover_time) - pulumi.set(__self__, "password_verification_function", password_verification_function) - pulumi.set(__self__, "password_verification_function_details", password_verification_function_details) - pulumi.set(__self__, "private_sga", private_sga) - pulumi.set(__self__, "profile_name", profile_name) - pulumi.set(__self__, "sessions_per_user", sessions_per_user) - pulumi.set(__self__, "target_id", target_id) - pulumi.set(__self__, "user_assessment_id", user_assessment_id) - pulumi.set(__self__, "user_count", user_count) + GetUserAssessmentProfilesProfileResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + composite_limit=composite_limit, + connect_time=connect_time, + cpu_per_call=cpu_per_call, + cpu_per_session=cpu_per_session, + defined_tags=defined_tags, + failed_login_attempts=failed_login_attempts, + freeform_tags=freeform_tags, + idle_time=idle_time, + inactive_account_time=inactive_account_time, + is_user_created=is_user_created, + logical_reads_per_call=logical_reads_per_call, + logical_reads_per_session=logical_reads_per_session, + password_grace_time=password_grace_time, + password_life_time=password_life_time, + password_lock_time=password_lock_time, + password_reuse_max=password_reuse_max, + password_reuse_time=password_reuse_time, + password_rollover_time=password_rollover_time, + password_verification_function=password_verification_function, + password_verification_function_details=password_verification_function_details, + private_sga=private_sga, + profile_name=profile_name, + sessions_per_user=sessions_per_user, + target_id=target_id, + user_assessment_id=user_assessment_id, + user_count=user_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + composite_limit: str, + connect_time: str, + cpu_per_call: str, + cpu_per_session: str, + defined_tags: Mapping[str, Any], + failed_login_attempts: str, + freeform_tags: Mapping[str, Any], + idle_time: str, + inactive_account_time: str, + is_user_created: bool, + logical_reads_per_call: str, + logical_reads_per_session: str, + password_grace_time: str, + password_life_time: str, + password_lock_time: str, + password_reuse_max: str, + password_reuse_time: str, + password_rollover_time: str, + password_verification_function: str, + password_verification_function_details: str, + private_sga: str, + profile_name: str, + sessions_per_user: str, + target_id: str, + user_assessment_id: str, + user_count: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("composite_limit", composite_limit) + _setter("connect_time", connect_time) + _setter("cpu_per_call", cpu_per_call) + _setter("cpu_per_session", cpu_per_session) + _setter("defined_tags", defined_tags) + _setter("failed_login_attempts", failed_login_attempts) + _setter("freeform_tags", freeform_tags) + _setter("idle_time", idle_time) + _setter("inactive_account_time", inactive_account_time) + _setter("is_user_created", is_user_created) + _setter("logical_reads_per_call", logical_reads_per_call) + _setter("logical_reads_per_session", logical_reads_per_session) + _setter("password_grace_time", password_grace_time) + _setter("password_life_time", password_life_time) + _setter("password_lock_time", password_lock_time) + _setter("password_reuse_max", password_reuse_max) + _setter("password_reuse_time", password_reuse_time) + _setter("password_rollover_time", password_rollover_time) + _setter("password_verification_function", password_verification_function) + _setter("password_verification_function_details", password_verification_function_details) + _setter("private_sga", private_sga) + _setter("profile_name", profile_name) + _setter("sessions_per_user", sessions_per_user) + _setter("target_id", target_id) + _setter("user_assessment_id", user_assessment_id) + _setter("user_count", user_count) @property @pulumi.getter(name="compartmentId") @@ -19812,10 +24824,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetUserAssessmentUserAnalyticsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -19840,7 +24865,16 @@ def __init__(__self__, *, """ :param Sequence['GetUserAssessmentUserAnalyticsUserAggregationItemArgs'] items: The array of user aggregation data. """ - pulumi.set(__self__, "items", items) + GetUserAssessmentUserAnalyticsUserAggregationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetUserAssessmentUserAnalyticsUserAggregationItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -19855,6 +24889,11 @@ def items(self) -> Sequence['outputs.GetUserAssessmentUserAnalyticsUserAggregati class GetUserAssessmentUserAnalyticsUserAggregationItemResult(dict): def __init__(__self__): pass + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + opts: Optional[pulumi.ResourceOptions]=None): + pass @pulumi.output_type @@ -19863,10 +24902,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetUserAssessmentUsersFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -19913,18 +24965,49 @@ def __init__(__self__, *, :param str user_profile: A filter to return only items that match the specified user profile. :param Sequence[str] user_types: The user type, which can be a combination of the following: """ - pulumi.set(__self__, "account_status", account_status) - pulumi.set(__self__, "admin_roles", admin_roles) - pulumi.set(__self__, "authentication_type", authentication_type) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "target_id", target_id) - pulumi.set(__self__, "time_last_login", time_last_login) - pulumi.set(__self__, "time_password_changed", time_password_changed) - pulumi.set(__self__, "time_user_created", time_user_created) - pulumi.set(__self__, "user_category", user_category) - pulumi.set(__self__, "user_name", user_name) - pulumi.set(__self__, "user_profile", user_profile) - pulumi.set(__self__, "user_types", user_types) + GetUserAssessmentUsersUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_status=account_status, + admin_roles=admin_roles, + authentication_type=authentication_type, + key=key, + target_id=target_id, + time_last_login=time_last_login, + time_password_changed=time_password_changed, + time_user_created=time_user_created, + user_category=user_category, + user_name=user_name, + user_profile=user_profile, + user_types=user_types, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_status: str, + admin_roles: Sequence[str], + authentication_type: str, + key: str, + target_id: str, + time_last_login: str, + time_password_changed: str, + time_user_created: str, + user_category: str, + user_name: str, + user_profile: str, + user_types: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("account_status", account_status) + _setter("admin_roles", admin_roles) + _setter("authentication_type", authentication_type) + _setter("key", key) + _setter("target_id", target_id) + _setter("time_last_login", time_last_login) + _setter("time_password_changed", time_password_changed) + _setter("time_user_created", time_user_created) + _setter("user_category", user_category) + _setter("user_name", user_name) + _setter("user_profile", user_profile) + _setter("user_types", user_types) @property @pulumi.getter(name="accountStatus") @@ -20029,10 +25112,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetUserAssessmentsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -20059,9 +25155,22 @@ def __init__(__self__, *, """ :param str target_id: A filter to return only items related to a specific target OCID. """ - pulumi.set(__self__, "lifecycle_state", lifecycle_state) - pulumi.set(__self__, "target_id", target_id) - pulumi.set(__self__, "user_assessment_id", user_assessment_id) + GetUserAssessmentsIgnoredTargetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + lifecycle_state=lifecycle_state, + target_id=target_id, + user_assessment_id=user_assessment_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + lifecycle_state: str, + target_id: str, + user_assessment_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("lifecycle_state", lifecycle_state) + _setter("target_id", target_id) + _setter("user_assessment_id", user_assessment_id) @property @pulumi.getter(name="lifecycleState") @@ -20135,30 +25244,85 @@ def __init__(__self__, *, :param str triggered_by: A filter to return user assessments that were created by either the system or by a user only. :param str type: A filter to return only items that match the specified assessment type. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "ignored_assessment_ids", ignored_assessment_ids) - pulumi.set(__self__, "ignored_targets", ignored_targets) - pulumi.set(__self__, "is_baseline", is_baseline) - pulumi.set(__self__, "is_deviated_from_baseline", is_deviated_from_baseline) - pulumi.set(__self__, "last_compared_baseline_id", last_compared_baseline_id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "schedule", schedule) - pulumi.set(__self__, "schedule_assessment_id", schedule_assessment_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "statistics", statistics) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "target_id", target_id) - pulumi.set(__self__, "target_ids", target_ids) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_last_assessed", time_last_assessed) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "triggered_by", triggered_by) - pulumi.set(__self__, "type", type) + GetUserAssessmentsUserAssessmentResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + ignored_assessment_ids=ignored_assessment_ids, + ignored_targets=ignored_targets, + is_baseline=is_baseline, + is_deviated_from_baseline=is_deviated_from_baseline, + last_compared_baseline_id=last_compared_baseline_id, + lifecycle_details=lifecycle_details, + schedule=schedule, + schedule_assessment_id=schedule_assessment_id, + state=state, + statistics=statistics, + system_tags=system_tags, + target_id=target_id, + target_ids=target_ids, + time_created=time_created, + time_last_assessed=time_last_assessed, + time_updated=time_updated, + triggered_by=triggered_by, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + ignored_assessment_ids: Sequence[str], + ignored_targets: Sequence['outputs.GetUserAssessmentsUserAssessmentIgnoredTargetResult'], + is_baseline: bool, + is_deviated_from_baseline: bool, + last_compared_baseline_id: str, + lifecycle_details: str, + schedule: str, + schedule_assessment_id: str, + state: str, + statistics: str, + system_tags: Mapping[str, Any], + target_id: str, + target_ids: Sequence[str], + time_created: str, + time_last_assessed: str, + time_updated: str, + triggered_by: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("ignored_assessment_ids", ignored_assessment_ids) + _setter("ignored_targets", ignored_targets) + _setter("is_baseline", is_baseline) + _setter("is_deviated_from_baseline", is_deviated_from_baseline) + _setter("last_compared_baseline_id", last_compared_baseline_id) + _setter("lifecycle_details", lifecycle_details) + _setter("schedule", schedule) + _setter("schedule_assessment_id", schedule_assessment_id) + _setter("state", state) + _setter("statistics", statistics) + _setter("system_tags", system_tags) + _setter("target_id", target_id) + _setter("target_ids", target_ids) + _setter("time_created", time_created) + _setter("time_last_assessed", time_last_assessed) + _setter("time_updated", time_updated) + _setter("triggered_by", triggered_by) + _setter("type", type) @property @pulumi.getter(name="compartmentId") @@ -20362,9 +25526,22 @@ def __init__(__self__, *, """ :param str target_id: A filter to return only items related to a specific target OCID. """ - pulumi.set(__self__, "lifecycle_state", lifecycle_state) - pulumi.set(__self__, "target_id", target_id) - pulumi.set(__self__, "user_assessment_id", user_assessment_id) + GetUserAssessmentsUserAssessmentIgnoredTargetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + lifecycle_state=lifecycle_state, + target_id=target_id, + user_assessment_id=user_assessment_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + lifecycle_state: str, + target_id: str, + user_assessment_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("lifecycle_state", lifecycle_state) + _setter("target_id", target_id) + _setter("user_assessment_id", user_assessment_id) @property @pulumi.getter(name="lifecycleState") diff --git a/sdk/python/pulumi_oci/datasafe/report_definition.py b/sdk/python/pulumi_oci/datasafe/report_definition.py index 0c4684e413..2e8e6a0b46 100644 --- a/sdk/python/pulumi_oci/datasafe/report_definition.py +++ b/sdk/python/pulumi_oci/datasafe/report_definition.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -39,19 +39,46 @@ def __init__(__self__, *, :param pulumi.Input[str] description: (Updatable) The description of the report definition. :param pulumi.Input[Mapping[str, Any]] freeform_tags: (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Department": "Finance"}` """ - pulumi.set(__self__, "column_filters", column_filters) - pulumi.set(__self__, "column_infos", column_infos) - pulumi.set(__self__, "column_sortings", column_sortings) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "parent_id", parent_id) - pulumi.set(__self__, "summaries", summaries) + ReportDefinitionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + column_filters=column_filters, + column_infos=column_infos, + column_sortings=column_sortings, + compartment_id=compartment_id, + display_name=display_name, + parent_id=parent_id, + summaries=summaries, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + column_filters: pulumi.Input[Sequence[pulumi.Input['ReportDefinitionColumnFilterArgs']]], + column_infos: pulumi.Input[Sequence[pulumi.Input['ReportDefinitionColumnInfoArgs']]], + column_sortings: pulumi.Input[Sequence[pulumi.Input['ReportDefinitionColumnSortingArgs']]], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + parent_id: pulumi.Input[str], + summaries: pulumi.Input[Sequence[pulumi.Input['ReportDefinitionSummaryArgs']]], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("column_filters", column_filters) + _setter("column_infos", column_infos) + _setter("column_sortings", column_sortings) + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) + _setter("parent_id", parent_id) + _setter("summaries", summaries) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="columnFilters") @@ -236,58 +263,117 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: Specifies the data and time the report definition was created. :param pulumi.Input[str] time_updated: The date and time the report definition was update. """ + _ReportDefinitionState._configure( + lambda key, value: pulumi.set(__self__, key, value), + category=category, + column_filters=column_filters, + column_infos=column_infos, + column_sortings=column_sortings, + compartment_id=compartment_id, + compliance_standards=compliance_standards, + data_source=data_source, + defined_tags=defined_tags, + description=description, + display_name=display_name, + display_order=display_order, + freeform_tags=freeform_tags, + is_seeded=is_seeded, + parent_id=parent_id, + record_time_span=record_time_span, + schedule=schedule, + scheduled_report_compartment_id=scheduled_report_compartment_id, + scheduled_report_mime_type=scheduled_report_mime_type, + scheduled_report_name=scheduled_report_name, + scheduled_report_row_limit=scheduled_report_row_limit, + scim_filter=scim_filter, + state=state, + summaries=summaries, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + category: Optional[pulumi.Input[str]] = None, + column_filters: Optional[pulumi.Input[Sequence[pulumi.Input['ReportDefinitionColumnFilterArgs']]]] = None, + column_infos: Optional[pulumi.Input[Sequence[pulumi.Input['ReportDefinitionColumnInfoArgs']]]] = None, + column_sortings: Optional[pulumi.Input[Sequence[pulumi.Input['ReportDefinitionColumnSortingArgs']]]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + compliance_standards: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + data_source: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + display_order: Optional[pulumi.Input[int]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_seeded: Optional[pulumi.Input[bool]] = None, + parent_id: Optional[pulumi.Input[str]] = None, + record_time_span: Optional[pulumi.Input[str]] = None, + schedule: Optional[pulumi.Input[str]] = None, + scheduled_report_compartment_id: Optional[pulumi.Input[str]] = None, + scheduled_report_mime_type: Optional[pulumi.Input[str]] = None, + scheduled_report_name: Optional[pulumi.Input[str]] = None, + scheduled_report_row_limit: Optional[pulumi.Input[int]] = None, + scim_filter: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + summaries: Optional[pulumi.Input[Sequence[pulumi.Input['ReportDefinitionSummaryArgs']]]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if category is not None: - pulumi.set(__self__, "category", category) + _setter("category", category) if column_filters is not None: - pulumi.set(__self__, "column_filters", column_filters) + _setter("column_filters", column_filters) if column_infos is not None: - pulumi.set(__self__, "column_infos", column_infos) + _setter("column_infos", column_infos) if column_sortings is not None: - pulumi.set(__self__, "column_sortings", column_sortings) + _setter("column_sortings", column_sortings) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if compliance_standards is not None: - pulumi.set(__self__, "compliance_standards", compliance_standards) + _setter("compliance_standards", compliance_standards) if data_source is not None: - pulumi.set(__self__, "data_source", data_source) + _setter("data_source", data_source) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if display_order is not None: - pulumi.set(__self__, "display_order", display_order) + _setter("display_order", display_order) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_seeded is not None: - pulumi.set(__self__, "is_seeded", is_seeded) + _setter("is_seeded", is_seeded) if parent_id is not None: - pulumi.set(__self__, "parent_id", parent_id) + _setter("parent_id", parent_id) if record_time_span is not None: - pulumi.set(__self__, "record_time_span", record_time_span) + _setter("record_time_span", record_time_span) if schedule is not None: - pulumi.set(__self__, "schedule", schedule) + _setter("schedule", schedule) if scheduled_report_compartment_id is not None: - pulumi.set(__self__, "scheduled_report_compartment_id", scheduled_report_compartment_id) + _setter("scheduled_report_compartment_id", scheduled_report_compartment_id) if scheduled_report_mime_type is not None: - pulumi.set(__self__, "scheduled_report_mime_type", scheduled_report_mime_type) + _setter("scheduled_report_mime_type", scheduled_report_mime_type) if scheduled_report_name is not None: - pulumi.set(__self__, "scheduled_report_name", scheduled_report_name) + _setter("scheduled_report_name", scheduled_report_name) if scheduled_report_row_limit is not None: - pulumi.set(__self__, "scheduled_report_row_limit", scheduled_report_row_limit) + _setter("scheduled_report_row_limit", scheduled_report_row_limit) if scim_filter is not None: - pulumi.set(__self__, "scim_filter", scim_filter) + _setter("scim_filter", scim_filter) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if summaries is not None: - pulumi.set(__self__, "summaries", summaries) + _setter("summaries", summaries) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter @@ -769,6 +855,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ReportDefinitionArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/datasafe/sdm_masking_policy_difference.py b/sdk/python/pulumi_oci/datasafe/sdm_masking_policy_difference.py index 7e6c60b3f2..469e85b4cd 100644 --- a/sdk/python/pulumi_oci/datasafe/sdm_masking_policy_difference.py +++ b/sdk/python/pulumi_oci/datasafe/sdm_masking_policy_difference.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['SdmMaskingPolicyDifferenceArgs', 'SdmMaskingPolicyDifference'] @@ -33,16 +33,35 @@ def __init__(__self__, *, :param pulumi.Input[str] display_name: (Updatable) A user-friendly name for the SDM masking policy difference. Does not have to be unique, and it is changeable. Avoid entering confidential information. :param pulumi.Input[Mapping[str, Any]] freeform_tags: (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Department": "Finance"}` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "masking_policy_id", masking_policy_id) + SdmMaskingPolicyDifferenceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + masking_policy_id=masking_policy_id, + defined_tags=defined_tags, + difference_type=difference_type, + display_name=display_name, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + masking_policy_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + difference_type: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("masking_policy_id", masking_policy_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if difference_type is not None: - pulumi.set(__self__, "difference_type", difference_type) + _setter("difference_type", difference_type) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="compartmentId") @@ -153,28 +172,57 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the SDM masking policy difference was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). :param pulumi.Input[str] time_creation_started: The date and time the SDM masking policy difference creation started, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). """ + _SdmMaskingPolicyDifferenceState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + difference_type=difference_type, + display_name=display_name, + freeform_tags=freeform_tags, + masking_policy_id=masking_policy_id, + sensitive_data_model_id=sensitive_data_model_id, + state=state, + system_tags=system_tags, + time_created=time_created, + time_creation_started=time_creation_started, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + difference_type: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + masking_policy_id: Optional[pulumi.Input[str]] = None, + sensitive_data_model_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_creation_started: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if difference_type is not None: - pulumi.set(__self__, "difference_type", difference_type) + _setter("difference_type", difference_type) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if masking_policy_id is not None: - pulumi.set(__self__, "masking_policy_id", masking_policy_id) + _setter("masking_policy_id", masking_policy_id) if sensitive_data_model_id is not None: - pulumi.set(__self__, "sensitive_data_model_id", sensitive_data_model_id) + _setter("sensitive_data_model_id", sensitive_data_model_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_creation_started is not None: - pulumi.set(__self__, "time_creation_started", time_creation_started) + _setter("time_creation_started", time_creation_started) @property @pulumi.getter(name="compartmentId") @@ -426,6 +474,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + SdmMaskingPolicyDifferenceArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/datasafe/security_assessment.py b/sdk/python/pulumi_oci/datasafe/security_assessment.py index d58990e971..e2d70b7ef4 100644 --- a/sdk/python/pulumi_oci/datasafe/security_assessment.py +++ b/sdk/python/pulumi_oci/datasafe/security_assessment.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -39,18 +39,39 @@ def __init__(__self__, *, Allowed version strings - "v1" v1's version specific schedule - Each of the above fields potentially introduce constraints. A workrequest is created only when clock time satisfies all the constraints. Constraints introduced: 1. seconds = (So, the allowed range for is [0, 59]) 2. minutes = (So, the allowed range for is [0, 59]) 3. hours = (So, the allowed range for is [0, 23]) can be either '*' (without quotes or a number between 1(Monday) and 7(Sunday)) 4. No constraint introduced when it is '*'. When not, day of week must equal the given value can be either '*' (without quotes or a number between 1 and 28) 5. No constraint introduced when it is '*'. When not, day of month must equal the given value """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "target_id", target_id) + SecurityAssessmentArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + target_id=target_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + schedule=schedule, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + target_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + schedule: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("target_id", target_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if schedule is not None: - pulumi.set(__self__, "schedule", schedule) + _setter("schedule", schedule) @property @pulumi.getter(name="compartmentId") @@ -205,56 +226,113 @@ def __init__(__self__, *, :param pulumi.Input[str] triggered_by: Indicates whether the security assessment was created by system or by a user. :param pulumi.Input[str] type: The type of this security assessment. The possible types are: """ + _SecurityAssessmentState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + ignored_assessment_ids=ignored_assessment_ids, + ignored_targets=ignored_targets, + is_baseline=is_baseline, + is_deviated_from_baseline=is_deviated_from_baseline, + last_compared_baseline_id=last_compared_baseline_id, + lifecycle_details=lifecycle_details, + link=link, + schedule=schedule, + schedule_security_assessment_id=schedule_security_assessment_id, + state=state, + statistics=statistics, + system_tags=system_tags, + target_id=target_id, + target_ids=target_ids, + target_version=target_version, + time_created=time_created, + time_last_assessed=time_last_assessed, + time_updated=time_updated, + triggered_by=triggered_by, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + ignored_assessment_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + ignored_targets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + is_baseline: Optional[pulumi.Input[bool]] = None, + is_deviated_from_baseline: Optional[pulumi.Input[bool]] = None, + last_compared_baseline_id: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + link: Optional[pulumi.Input[str]] = None, + schedule: Optional[pulumi.Input[str]] = None, + schedule_security_assessment_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + statistics: Optional[pulumi.Input[Sequence[pulumi.Input['SecurityAssessmentStatisticArgs']]]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + target_id: Optional[pulumi.Input[str]] = None, + target_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + target_version: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_last_assessed: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + triggered_by: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if ignored_assessment_ids is not None: - pulumi.set(__self__, "ignored_assessment_ids", ignored_assessment_ids) + _setter("ignored_assessment_ids", ignored_assessment_ids) if ignored_targets is not None: - pulumi.set(__self__, "ignored_targets", ignored_targets) + _setter("ignored_targets", ignored_targets) if is_baseline is not None: - pulumi.set(__self__, "is_baseline", is_baseline) + _setter("is_baseline", is_baseline) if is_deviated_from_baseline is not None: - pulumi.set(__self__, "is_deviated_from_baseline", is_deviated_from_baseline) + _setter("is_deviated_from_baseline", is_deviated_from_baseline) if last_compared_baseline_id is not None: - pulumi.set(__self__, "last_compared_baseline_id", last_compared_baseline_id) + _setter("last_compared_baseline_id", last_compared_baseline_id) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if link is not None: - pulumi.set(__self__, "link", link) + _setter("link", link) if schedule is not None: - pulumi.set(__self__, "schedule", schedule) + _setter("schedule", schedule) if schedule_security_assessment_id is not None: - pulumi.set(__self__, "schedule_security_assessment_id", schedule_security_assessment_id) + _setter("schedule_security_assessment_id", schedule_security_assessment_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if statistics is not None: - pulumi.set(__self__, "statistics", statistics) + _setter("statistics", statistics) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if target_id is not None: - pulumi.set(__self__, "target_id", target_id) + _setter("target_id", target_id) if target_ids is not None: - pulumi.set(__self__, "target_ids", target_ids) + _setter("target_ids", target_ids) if target_version is not None: - pulumi.set(__self__, "target_version", target_version) + _setter("target_version", target_version) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_last_assessed is not None: - pulumi.set(__self__, "time_last_assessed", time_last_assessed) + _setter("time_last_assessed", time_last_assessed) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if triggered_by is not None: - pulumi.set(__self__, "triggered_by", triggered_by) + _setter("triggered_by", triggered_by) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter(name="compartmentId") @@ -678,6 +756,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + SecurityAssessmentArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/datasafe/sensitive_data_model.py b/sdk/python/pulumi_oci/datasafe/sensitive_data_model.py index a02a92b51d..39b3db9c7c 100644 --- a/sdk/python/pulumi_oci/datasafe/sensitive_data_model.py +++ b/sdk/python/pulumi_oci/datasafe/sensitive_data_model.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['SensitiveDataModelArgs', 'SensitiveDataModel'] @@ -47,30 +47,63 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] schemas_for_discoveries: (Updatable) The schemas to be scanned by data discovery jobs. :param pulumi.Input[Sequence[pulumi.Input[str]]] sensitive_type_ids_for_discoveries: (Updatable) The OCIDs of the sensitive types to be used by data discovery jobs. If OCID of a sensitive category is provided, all its child sensitive types are used for data discovery. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "target_id", target_id) + SensitiveDataModelArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + target_id=target_id, + app_suite_name=app_suite_name, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + is_app_defined_relation_discovery_enabled=is_app_defined_relation_discovery_enabled, + is_include_all_schemas=is_include_all_schemas, + is_include_all_sensitive_types=is_include_all_sensitive_types, + is_sample_data_collection_enabled=is_sample_data_collection_enabled, + schemas_for_discoveries=schemas_for_discoveries, + sensitive_type_ids_for_discoveries=sensitive_type_ids_for_discoveries, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + target_id: pulumi.Input[str], + app_suite_name: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_app_defined_relation_discovery_enabled: Optional[pulumi.Input[bool]] = None, + is_include_all_schemas: Optional[pulumi.Input[bool]] = None, + is_include_all_sensitive_types: Optional[pulumi.Input[bool]] = None, + is_sample_data_collection_enabled: Optional[pulumi.Input[bool]] = None, + schemas_for_discoveries: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + sensitive_type_ids_for_discoveries: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("target_id", target_id) if app_suite_name is not None: - pulumi.set(__self__, "app_suite_name", app_suite_name) + _setter("app_suite_name", app_suite_name) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_app_defined_relation_discovery_enabled is not None: - pulumi.set(__self__, "is_app_defined_relation_discovery_enabled", is_app_defined_relation_discovery_enabled) + _setter("is_app_defined_relation_discovery_enabled", is_app_defined_relation_discovery_enabled) if is_include_all_schemas is not None: - pulumi.set(__self__, "is_include_all_schemas", is_include_all_schemas) + _setter("is_include_all_schemas", is_include_all_schemas) if is_include_all_sensitive_types is not None: - pulumi.set(__self__, "is_include_all_sensitive_types", is_include_all_sensitive_types) + _setter("is_include_all_sensitive_types", is_include_all_sensitive_types) if is_sample_data_collection_enabled is not None: - pulumi.set(__self__, "is_sample_data_collection_enabled", is_sample_data_collection_enabled) + _setter("is_sample_data_collection_enabled", is_sample_data_collection_enabled) if schemas_for_discoveries is not None: - pulumi.set(__self__, "schemas_for_discoveries", schemas_for_discoveries) + _setter("schemas_for_discoveries", schemas_for_discoveries) if sensitive_type_ids_for_discoveries is not None: - pulumi.set(__self__, "sensitive_type_ids_for_discoveries", sensitive_type_ids_for_discoveries) + _setter("sensitive_type_ids_for_discoveries", sensitive_type_ids_for_discoveries) @property @pulumi.getter(name="compartmentId") @@ -277,40 +310,81 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the sensitive data model was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). :param pulumi.Input[str] time_updated: The date and time the sensitive data model was last updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). """ + _SensitiveDataModelState._configure( + lambda key, value: pulumi.set(__self__, key, value), + app_suite_name=app_suite_name, + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + is_app_defined_relation_discovery_enabled=is_app_defined_relation_discovery_enabled, + is_include_all_schemas=is_include_all_schemas, + is_include_all_sensitive_types=is_include_all_sensitive_types, + is_sample_data_collection_enabled=is_sample_data_collection_enabled, + schemas_for_discoveries=schemas_for_discoveries, + sensitive_type_ids_for_discoveries=sensitive_type_ids_for_discoveries, + state=state, + system_tags=system_tags, + target_id=target_id, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + app_suite_name: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_app_defined_relation_discovery_enabled: Optional[pulumi.Input[bool]] = None, + is_include_all_schemas: Optional[pulumi.Input[bool]] = None, + is_include_all_sensitive_types: Optional[pulumi.Input[bool]] = None, + is_sample_data_collection_enabled: Optional[pulumi.Input[bool]] = None, + schemas_for_discoveries: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + sensitive_type_ids_for_discoveries: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + target_id: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if app_suite_name is not None: - pulumi.set(__self__, "app_suite_name", app_suite_name) + _setter("app_suite_name", app_suite_name) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_app_defined_relation_discovery_enabled is not None: - pulumi.set(__self__, "is_app_defined_relation_discovery_enabled", is_app_defined_relation_discovery_enabled) + _setter("is_app_defined_relation_discovery_enabled", is_app_defined_relation_discovery_enabled) if is_include_all_schemas is not None: - pulumi.set(__self__, "is_include_all_schemas", is_include_all_schemas) + _setter("is_include_all_schemas", is_include_all_schemas) if is_include_all_sensitive_types is not None: - pulumi.set(__self__, "is_include_all_sensitive_types", is_include_all_sensitive_types) + _setter("is_include_all_sensitive_types", is_include_all_sensitive_types) if is_sample_data_collection_enabled is not None: - pulumi.set(__self__, "is_sample_data_collection_enabled", is_sample_data_collection_enabled) + _setter("is_sample_data_collection_enabled", is_sample_data_collection_enabled) if schemas_for_discoveries is not None: - pulumi.set(__self__, "schemas_for_discoveries", schemas_for_discoveries) + _setter("schemas_for_discoveries", schemas_for_discoveries) if sensitive_type_ids_for_discoveries is not None: - pulumi.set(__self__, "sensitive_type_ids_for_discoveries", sensitive_type_ids_for_discoveries) + _setter("sensitive_type_ids_for_discoveries", sensitive_type_ids_for_discoveries) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if target_id is not None: - pulumi.set(__self__, "target_id", target_id) + _setter("target_id", target_id) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="appSuiteName") @@ -658,6 +732,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + SensitiveDataModelArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/datasafe/sensitive_data_models_apply_discovery_job_results.py b/sdk/python/pulumi_oci/datasafe/sensitive_data_models_apply_discovery_job_results.py index 20a53d2258..35adebde9e 100644 --- a/sdk/python/pulumi_oci/datasafe/sensitive_data_models_apply_discovery_job_results.py +++ b/sdk/python/pulumi_oci/datasafe/sensitive_data_models_apply_discovery_job_results.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['SensitiveDataModelsApplyDiscoveryJobResultsArgs', 'SensitiveDataModelsApplyDiscoveryJobResults'] @@ -19,8 +19,19 @@ def __init__(__self__, *, """ The set of arguments for constructing a SensitiveDataModelsApplyDiscoveryJobResults resource. """ - pulumi.set(__self__, "discovery_job_id", discovery_job_id) - pulumi.set(__self__, "sensitive_data_model_id", sensitive_data_model_id) + SensitiveDataModelsApplyDiscoveryJobResultsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + discovery_job_id=discovery_job_id, + sensitive_data_model_id=sensitive_data_model_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + discovery_job_id: pulumi.Input[str], + sensitive_data_model_id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("discovery_job_id", discovery_job_id) + _setter("sensitive_data_model_id", sensitive_data_model_id) @property @pulumi.getter(name="discoveryJobId") @@ -49,10 +60,21 @@ def __init__(__self__, *, """ Input properties used for looking up and filtering SensitiveDataModelsApplyDiscoveryJobResults resources. """ + _SensitiveDataModelsApplyDiscoveryJobResultsState._configure( + lambda key, value: pulumi.set(__self__, key, value), + discovery_job_id=discovery_job_id, + sensitive_data_model_id=sensitive_data_model_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + discovery_job_id: Optional[pulumi.Input[str]] = None, + sensitive_data_model_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if discovery_job_id is not None: - pulumi.set(__self__, "discovery_job_id", discovery_job_id) + _setter("discovery_job_id", discovery_job_id) if sensitive_data_model_id is not None: - pulumi.set(__self__, "sensitive_data_model_id", sensitive_data_model_id) + _setter("sensitive_data_model_id", sensitive_data_model_id) @property @pulumi.getter(name="discoveryJobId") @@ -104,6 +126,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + SensitiveDataModelsApplyDiscoveryJobResultsArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/datasafe/sensitive_data_models_sensitive_column.py b/sdk/python/pulumi_oci/datasafe/sensitive_data_models_sensitive_column.py index e77acb3087..71fe40bd32 100644 --- a/sdk/python/pulumi_oci/datasafe/sensitive_data_models_sensitive_column.py +++ b/sdk/python/pulumi_oci/datasafe/sensitive_data_models_sensitive_column.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['SensitiveDataModelsSensitiveColumnArgs', 'SensitiveDataModelsSensitiveColumn'] @@ -47,28 +47,61 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "column_name", column_name) - pulumi.set(__self__, "object", object) - pulumi.set(__self__, "schema_name", schema_name) - pulumi.set(__self__, "sensitive_data_model_id", sensitive_data_model_id) + SensitiveDataModelsSensitiveColumnArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + column_name=column_name, + object=object, + schema_name=schema_name, + sensitive_data_model_id=sensitive_data_model_id, + app_defined_child_column_keys=app_defined_child_column_keys, + app_name=app_name, + data_type=data_type, + db_defined_child_column_keys=db_defined_child_column_keys, + object_type=object_type, + parent_column_keys=parent_column_keys, + relation_type=relation_type, + sensitive_type_id=sensitive_type_id, + status=status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + column_name: pulumi.Input[str], + object: pulumi.Input[str], + schema_name: pulumi.Input[str], + sensitive_data_model_id: pulumi.Input[str], + app_defined_child_column_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + app_name: Optional[pulumi.Input[str]] = None, + data_type: Optional[pulumi.Input[str]] = None, + db_defined_child_column_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + object_type: Optional[pulumi.Input[str]] = None, + parent_column_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + relation_type: Optional[pulumi.Input[str]] = None, + sensitive_type_id: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("column_name", column_name) + _setter("object", object) + _setter("schema_name", schema_name) + _setter("sensitive_data_model_id", sensitive_data_model_id) if app_defined_child_column_keys is not None: - pulumi.set(__self__, "app_defined_child_column_keys", app_defined_child_column_keys) + _setter("app_defined_child_column_keys", app_defined_child_column_keys) if app_name is not None: - pulumi.set(__self__, "app_name", app_name) + _setter("app_name", app_name) if data_type is not None: - pulumi.set(__self__, "data_type", data_type) + _setter("data_type", data_type) if db_defined_child_column_keys is not None: - pulumi.set(__self__, "db_defined_child_column_keys", db_defined_child_column_keys) + _setter("db_defined_child_column_keys", db_defined_child_column_keys) if object_type is not None: - pulumi.set(__self__, "object_type", object_type) + _setter("object_type", object_type) if parent_column_keys is not None: - pulumi.set(__self__, "parent_column_keys", parent_column_keys) + _setter("parent_column_keys", parent_column_keys) if relation_type is not None: - pulumi.set(__self__, "relation_type", relation_type) + _setter("relation_type", relation_type) if sensitive_type_id is not None: - pulumi.set(__self__, "sensitive_type_id", sensitive_type_id) + _setter("sensitive_type_id", sensitive_type_id) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) @property @pulumi.getter(name="columnName") @@ -285,50 +318,101 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339), the sensitive column was created in the sensitive data model. :param pulumi.Input[str] time_updated: The date and time, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339), the sensitive column was last updated in the sensitive data model. """ + _SensitiveDataModelsSensitiveColumnState._configure( + lambda key, value: pulumi.set(__self__, key, value), + app_defined_child_column_keys=app_defined_child_column_keys, + app_name=app_name, + column_groups=column_groups, + column_name=column_name, + data_type=data_type, + db_defined_child_column_keys=db_defined_child_column_keys, + estimated_data_value_count=estimated_data_value_count, + key=key, + lifecycle_details=lifecycle_details, + object=object, + object_type=object_type, + parent_column_keys=parent_column_keys, + relation_type=relation_type, + sample_data_values=sample_data_values, + schema_name=schema_name, + sensitive_data_model_id=sensitive_data_model_id, + sensitive_type_id=sensitive_type_id, + source=source, + state=state, + status=status, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + app_defined_child_column_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + app_name: Optional[pulumi.Input[str]] = None, + column_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + column_name: Optional[pulumi.Input[str]] = None, + data_type: Optional[pulumi.Input[str]] = None, + db_defined_child_column_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + estimated_data_value_count: Optional[pulumi.Input[str]] = None, + key: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + object: Optional[pulumi.Input[str]] = None, + object_type: Optional[pulumi.Input[str]] = None, + parent_column_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + relation_type: Optional[pulumi.Input[str]] = None, + sample_data_values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + schema_name: Optional[pulumi.Input[str]] = None, + sensitive_data_model_id: Optional[pulumi.Input[str]] = None, + sensitive_type_id: Optional[pulumi.Input[str]] = None, + source: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if app_defined_child_column_keys is not None: - pulumi.set(__self__, "app_defined_child_column_keys", app_defined_child_column_keys) + _setter("app_defined_child_column_keys", app_defined_child_column_keys) if app_name is not None: - pulumi.set(__self__, "app_name", app_name) + _setter("app_name", app_name) if column_groups is not None: - pulumi.set(__self__, "column_groups", column_groups) + _setter("column_groups", column_groups) if column_name is not None: - pulumi.set(__self__, "column_name", column_name) + _setter("column_name", column_name) if data_type is not None: - pulumi.set(__self__, "data_type", data_type) + _setter("data_type", data_type) if db_defined_child_column_keys is not None: - pulumi.set(__self__, "db_defined_child_column_keys", db_defined_child_column_keys) + _setter("db_defined_child_column_keys", db_defined_child_column_keys) if estimated_data_value_count is not None: - pulumi.set(__self__, "estimated_data_value_count", estimated_data_value_count) + _setter("estimated_data_value_count", estimated_data_value_count) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if object is not None: - pulumi.set(__self__, "object", object) + _setter("object", object) if object_type is not None: - pulumi.set(__self__, "object_type", object_type) + _setter("object_type", object_type) if parent_column_keys is not None: - pulumi.set(__self__, "parent_column_keys", parent_column_keys) + _setter("parent_column_keys", parent_column_keys) if relation_type is not None: - pulumi.set(__self__, "relation_type", relation_type) + _setter("relation_type", relation_type) if sample_data_values is not None: - pulumi.set(__self__, "sample_data_values", sample_data_values) + _setter("sample_data_values", sample_data_values) if schema_name is not None: - pulumi.set(__self__, "schema_name", schema_name) + _setter("schema_name", schema_name) if sensitive_data_model_id is not None: - pulumi.set(__self__, "sensitive_data_model_id", sensitive_data_model_id) + _setter("sensitive_data_model_id", sensitive_data_model_id) if sensitive_type_id is not None: - pulumi.set(__self__, "sensitive_type_id", sensitive_type_id) + _setter("sensitive_type_id", sensitive_type_id) if source is not None: - pulumi.set(__self__, "source", source) + _setter("source", source) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="appDefinedChildColumnKeys") @@ -724,6 +808,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + SensitiveDataModelsSensitiveColumnArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/datasafe/sensitive_type.py b/sdk/python/pulumi_oci/datasafe/sensitive_type.py index 173a4a3090..f8db8d806a 100644 --- a/sdk/python/pulumi_oci/datasafe/sensitive_type.py +++ b/sdk/python/pulumi_oci/datasafe/sensitive_type.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['SensitiveTypeArgs', 'SensitiveType'] @@ -47,30 +47,63 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "entity_type", entity_type) + SensitiveTypeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + entity_type=entity_type, + comment_pattern=comment_pattern, + data_pattern=data_pattern, + default_masking_format_id=default_masking_format_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + name_pattern=name_pattern, + parent_category_id=parent_category_id, + search_type=search_type, + short_name=short_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + entity_type: pulumi.Input[str], + comment_pattern: Optional[pulumi.Input[str]] = None, + data_pattern: Optional[pulumi.Input[str]] = None, + default_masking_format_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + name_pattern: Optional[pulumi.Input[str]] = None, + parent_category_id: Optional[pulumi.Input[str]] = None, + search_type: Optional[pulumi.Input[str]] = None, + short_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("entity_type", entity_type) if comment_pattern is not None: - pulumi.set(__self__, "comment_pattern", comment_pattern) + _setter("comment_pattern", comment_pattern) if data_pattern is not None: - pulumi.set(__self__, "data_pattern", data_pattern) + _setter("data_pattern", data_pattern) if default_masking_format_id is not None: - pulumi.set(__self__, "default_masking_format_id", default_masking_format_id) + _setter("default_masking_format_id", default_masking_format_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if name_pattern is not None: - pulumi.set(__self__, "name_pattern", name_pattern) + _setter("name_pattern", name_pattern) if parent_category_id is not None: - pulumi.set(__self__, "parent_category_id", parent_category_id) + _setter("parent_category_id", parent_category_id) if search_type is not None: - pulumi.set(__self__, "search_type", search_type) + _setter("search_type", search_type) if short_name is not None: - pulumi.set(__self__, "short_name", short_name) + _setter("short_name", short_name) @property @pulumi.getter(name="compartmentId") @@ -279,42 +312,85 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the sensitive type was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). :param pulumi.Input[str] time_updated: The date and time the sensitive type was last updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). """ + _SensitiveTypeState._configure( + lambda key, value: pulumi.set(__self__, key, value), + comment_pattern=comment_pattern, + compartment_id=compartment_id, + data_pattern=data_pattern, + default_masking_format_id=default_masking_format_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + entity_type=entity_type, + freeform_tags=freeform_tags, + name_pattern=name_pattern, + parent_category_id=parent_category_id, + search_type=search_type, + short_name=short_name, + source=source, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + comment_pattern: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + data_pattern: Optional[pulumi.Input[str]] = None, + default_masking_format_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + entity_type: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + name_pattern: Optional[pulumi.Input[str]] = None, + parent_category_id: Optional[pulumi.Input[str]] = None, + search_type: Optional[pulumi.Input[str]] = None, + short_name: Optional[pulumi.Input[str]] = None, + source: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if comment_pattern is not None: - pulumi.set(__self__, "comment_pattern", comment_pattern) + _setter("comment_pattern", comment_pattern) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if data_pattern is not None: - pulumi.set(__self__, "data_pattern", data_pattern) + _setter("data_pattern", data_pattern) if default_masking_format_id is not None: - pulumi.set(__self__, "default_masking_format_id", default_masking_format_id) + _setter("default_masking_format_id", default_masking_format_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if entity_type is not None: - pulumi.set(__self__, "entity_type", entity_type) + _setter("entity_type", entity_type) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if name_pattern is not None: - pulumi.set(__self__, "name_pattern", name_pattern) + _setter("name_pattern", name_pattern) if parent_category_id is not None: - pulumi.set(__self__, "parent_category_id", parent_category_id) + _setter("parent_category_id", parent_category_id) if search_type is not None: - pulumi.set(__self__, "search_type", search_type) + _setter("search_type", search_type) if short_name is not None: - pulumi.set(__self__, "short_name", short_name) + _setter("short_name", short_name) if source is not None: - pulumi.set(__self__, "source", source) + _setter("source", source) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="commentPattern") @@ -674,6 +750,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + SensitiveTypeArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/datasafe/set_security_assessment_baseline.py b/sdk/python/pulumi_oci/datasafe/set_security_assessment_baseline.py index 81b2d16296..49aa463f23 100644 --- a/sdk/python/pulumi_oci/datasafe/set_security_assessment_baseline.py +++ b/sdk/python/pulumi_oci/datasafe/set_security_assessment_baseline.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['SetSecurityAssessmentBaselineArgs', 'SetSecurityAssessmentBaseline'] @@ -25,9 +25,20 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[Sequence[pulumi.Input[str]]] assessment_ids: List of security assessment OCIDs that need to be updated while setting the baseline. """ - pulumi.set(__self__, "security_assessment_id", security_assessment_id) + SetSecurityAssessmentBaselineArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + security_assessment_id=security_assessment_id, + assessment_ids=assessment_ids, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + security_assessment_id: pulumi.Input[str], + assessment_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("security_assessment_id", security_assessment_id) if assessment_ids is not None: - pulumi.set(__self__, "assessment_ids", assessment_ids) + _setter("assessment_ids", assessment_ids) @property @pulumi.getter(name="securityAssessmentId") @@ -72,10 +83,21 @@ def __init__(__self__, *, ** 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 """ + _SetSecurityAssessmentBaselineState._configure( + lambda key, value: pulumi.set(__self__, key, value), + assessment_ids=assessment_ids, + security_assessment_id=security_assessment_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + assessment_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + security_assessment_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if assessment_ids is not None: - pulumi.set(__self__, "assessment_ids", assessment_ids) + _setter("assessment_ids", assessment_ids) if security_assessment_id is not None: - pulumi.set(__self__, "security_assessment_id", security_assessment_id) + _setter("security_assessment_id", security_assessment_id) @property @pulumi.getter(name="assessmentIds") @@ -187,6 +209,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + SetSecurityAssessmentBaselineArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/datasafe/set_user_assessment_baseline.py b/sdk/python/pulumi_oci/datasafe/set_user_assessment_baseline.py index cd4fd61d62..7aaf6d2edc 100644 --- a/sdk/python/pulumi_oci/datasafe/set_user_assessment_baseline.py +++ b/sdk/python/pulumi_oci/datasafe/set_user_assessment_baseline.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['SetUserAssessmentBaselineArgs', 'SetUserAssessmentBaseline'] @@ -25,9 +25,20 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[Sequence[pulumi.Input[str]]] assessment_ids: The list of user assessment OCIDs that need to be updated while setting the baseline. """ - pulumi.set(__self__, "user_assessment_id", user_assessment_id) + SetUserAssessmentBaselineArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + user_assessment_id=user_assessment_id, + assessment_ids=assessment_ids, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + user_assessment_id: pulumi.Input[str], + assessment_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("user_assessment_id", user_assessment_id) if assessment_ids is not None: - pulumi.set(__self__, "assessment_ids", assessment_ids) + _setter("assessment_ids", assessment_ids) @property @pulumi.getter(name="userAssessmentId") @@ -72,10 +83,21 @@ def __init__(__self__, *, ** 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 """ + _SetUserAssessmentBaselineState._configure( + lambda key, value: pulumi.set(__self__, key, value), + assessment_ids=assessment_ids, + user_assessment_id=user_assessment_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + assessment_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + user_assessment_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if assessment_ids is not None: - pulumi.set(__self__, "assessment_ids", assessment_ids) + _setter("assessment_ids", assessment_ids) if user_assessment_id is not None: - pulumi.set(__self__, "user_assessment_id", user_assessment_id) + _setter("user_assessment_id", user_assessment_id) @property @pulumi.getter(name="assessmentIds") @@ -187,6 +209,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + SetUserAssessmentBaselineArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/datasafe/target_alert_policy_association.py b/sdk/python/pulumi_oci/datasafe/target_alert_policy_association.py index ea2f2cd8d2..d009de15d3 100644 --- a/sdk/python/pulumi_oci/datasafe/target_alert_policy_association.py +++ b/sdk/python/pulumi_oci/datasafe/target_alert_policy_association.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['TargetAlertPolicyAssociationArgs', 'TargetAlertPolicyAssociation'] @@ -37,18 +37,41 @@ def __init__(__self__, *, :param pulumi.Input[str] display_name: (Updatable) The display name of the target-alert policy association. :param pulumi.Input[Mapping[str, Any]] freeform_tags: (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Department": "Finance"}` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "policy_id", policy_id) - pulumi.set(__self__, "target_id", target_id) + TargetAlertPolicyAssociationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + is_enabled=is_enabled, + policy_id=policy_id, + target_id=target_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + is_enabled: pulumi.Input[bool], + policy_id: pulumi.Input[str], + target_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("is_enabled", is_enabled) + _setter("policy_id", policy_id) + _setter("target_id", target_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="compartmentId") @@ -185,30 +208,61 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: Creation date and time of the alert policy, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). :param pulumi.Input[str] time_updated: Last date and time the alert policy was updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). """ + _TargetAlertPolicyAssociationState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + is_enabled=is_enabled, + policy_id=policy_id, + state=state, + system_tags=system_tags, + target_id=target_id, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_enabled: Optional[pulumi.Input[bool]] = None, + policy_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + target_id: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) if policy_id is not None: - pulumi.set(__self__, "policy_id", policy_id) + _setter("policy_id", policy_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if target_id is not None: - pulumi.set(__self__, "target_id", target_id) + _setter("target_id", target_id) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -472,6 +526,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + TargetAlertPolicyAssociationArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/datasafe/target_database.py b/sdk/python/pulumi_oci/datasafe/target_database.py index 983f311c17..77ac1ee1dd 100644 --- a/sdk/python/pulumi_oci/datasafe/target_database.py +++ b/sdk/python/pulumi_oci/datasafe/target_database.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -37,22 +37,47 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] freeform_tags: (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm) Example: `{"Department": "Finance"}` :param pulumi.Input['TargetDatabaseTlsConfigArgs'] tls_config: (Updatable) The details required to establish a TLS enabled connection. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "database_details", database_details) + TargetDatabaseArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + database_details=database_details, + connection_option=connection_option, + credentials=credentials, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + tls_config=tls_config, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + database_details: pulumi.Input['TargetDatabaseDatabaseDetailsArgs'], + connection_option: Optional[pulumi.Input['TargetDatabaseConnectionOptionArgs']] = None, + credentials: Optional[pulumi.Input['TargetDatabaseCredentialsArgs']] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + tls_config: Optional[pulumi.Input['TargetDatabaseTlsConfigArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("database_details", database_details) if connection_option is not None: - pulumi.set(__self__, "connection_option", connection_option) + _setter("connection_option", connection_option) if credentials is not None: - pulumi.set(__self__, "credentials", credentials) + _setter("credentials", credentials) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if tls_config is not None: - pulumi.set(__self__, "tls_config", tls_config) + _setter("tls_config", tls_config) @property @pulumi.getter(name="compartmentId") @@ -199,36 +224,73 @@ def __init__(__self__, *, :param pulumi.Input[str] time_updated: The date and time of the target database update in Data Safe. :param pulumi.Input['TargetDatabaseTlsConfigArgs'] tls_config: (Updatable) The details required to establish a TLS enabled connection. """ + _TargetDatabaseState._configure( + lambda key, value: pulumi.set(__self__, key, value), + associated_resource_ids=associated_resource_ids, + compartment_id=compartment_id, + connection_option=connection_option, + credentials=credentials, + database_details=database_details, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + tls_config=tls_config, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + associated_resource_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + connection_option: Optional[pulumi.Input['TargetDatabaseConnectionOptionArgs']] = None, + credentials: Optional[pulumi.Input['TargetDatabaseCredentialsArgs']] = None, + database_details: Optional[pulumi.Input['TargetDatabaseDatabaseDetailsArgs']] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + tls_config: Optional[pulumi.Input['TargetDatabaseTlsConfigArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if associated_resource_ids is not None: - pulumi.set(__self__, "associated_resource_ids", associated_resource_ids) + _setter("associated_resource_ids", associated_resource_ids) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if connection_option is not None: - pulumi.set(__self__, "connection_option", connection_option) + _setter("connection_option", connection_option) if credentials is not None: - pulumi.set(__self__, "credentials", credentials) + _setter("credentials", credentials) if database_details is not None: - pulumi.set(__self__, "database_details", database_details) + _setter("database_details", database_details) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if tls_config is not None: - pulumi.set(__self__, "tls_config", tls_config) + _setter("tls_config", tls_config) @property @pulumi.getter(name="associatedResourceIds") @@ -570,6 +632,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + TargetDatabaseArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -596,8 +662,23 @@ def _internal_init(__self__, if compartment_id is None and not opts.urn: raise TypeError("Missing required property 'compartment_id'") __props__.__dict__["compartment_id"] = compartment_id + if connection_option is not None and not isinstance(connection_option, TargetDatabaseConnectionOptionArgs): + connection_option = connection_option or {} + def _setter(key, value): + connection_option[key] = value + TargetDatabaseConnectionOptionArgs._configure(_setter, **connection_option) __props__.__dict__["connection_option"] = connection_option + if credentials is not None and not isinstance(credentials, TargetDatabaseCredentialsArgs): + credentials = credentials or {} + def _setter(key, value): + credentials[key] = value + TargetDatabaseCredentialsArgs._configure(_setter, **credentials) __props__.__dict__["credentials"] = credentials + if database_details is not None and not isinstance(database_details, TargetDatabaseDatabaseDetailsArgs): + database_details = database_details or {} + def _setter(key, value): + database_details[key] = value + TargetDatabaseDatabaseDetailsArgs._configure(_setter, **database_details) if database_details is None and not opts.urn: raise TypeError("Missing required property 'database_details'") __props__.__dict__["database_details"] = database_details @@ -605,6 +686,11 @@ def _internal_init(__self__, __props__.__dict__["description"] = description __props__.__dict__["display_name"] = display_name __props__.__dict__["freeform_tags"] = freeform_tags + if tls_config is not None and not isinstance(tls_config, TargetDatabaseTlsConfigArgs): + tls_config = tls_config or {} + def _setter(key, value): + tls_config[key] = value + TargetDatabaseTlsConfigArgs._configure(_setter, **tls_config) __props__.__dict__["tls_config"] = tls_config __props__.__dict__["associated_resource_ids"] = None __props__.__dict__["lifecycle_details"] = None diff --git a/sdk/python/pulumi_oci/datasafe/unset_security_assessment_baseline.py b/sdk/python/pulumi_oci/datasafe/unset_security_assessment_baseline.py index 5e6d160b1b..9a326c41c2 100644 --- a/sdk/python/pulumi_oci/datasafe/unset_security_assessment_baseline.py +++ b/sdk/python/pulumi_oci/datasafe/unset_security_assessment_baseline.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['UnsetSecurityAssessmentBaselineArgs', 'UnsetSecurityAssessmentBaseline'] @@ -23,7 +23,16 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "security_assessment_id", security_assessment_id) + UnsetSecurityAssessmentBaselineArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + security_assessment_id=security_assessment_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + security_assessment_id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("security_assessment_id", security_assessment_id) @property @pulumi.getter(name="securityAssessmentId") @@ -54,8 +63,17 @@ def __init__(__self__, *, ** 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 """ + _UnsetSecurityAssessmentBaselineState._configure( + lambda key, value: pulumi.set(__self__, key, value), + security_assessment_id=security_assessment_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + security_assessment_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if security_assessment_id is not None: - pulumi.set(__self__, "security_assessment_id", security_assessment_id) + _setter("security_assessment_id", security_assessment_id) @property @pulumi.getter(name="securityAssessmentId") @@ -151,6 +169,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + UnsetSecurityAssessmentBaselineArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/datasafe/unset_user_assessment_baseline.py b/sdk/python/pulumi_oci/datasafe/unset_user_assessment_baseline.py index 6c15796fad..b83b8c128e 100644 --- a/sdk/python/pulumi_oci/datasafe/unset_user_assessment_baseline.py +++ b/sdk/python/pulumi_oci/datasafe/unset_user_assessment_baseline.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['UnsetUserAssessmentBaselineArgs', 'UnsetUserAssessmentBaseline'] @@ -23,7 +23,16 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "user_assessment_id", user_assessment_id) + UnsetUserAssessmentBaselineArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + user_assessment_id=user_assessment_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + user_assessment_id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("user_assessment_id", user_assessment_id) @property @pulumi.getter(name="userAssessmentId") @@ -54,8 +63,17 @@ def __init__(__self__, *, ** 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 """ + _UnsetUserAssessmentBaselineState._configure( + lambda key, value: pulumi.set(__self__, key, value), + user_assessment_id=user_assessment_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + user_assessment_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if user_assessment_id is not None: - pulumi.set(__self__, "user_assessment_id", user_assessment_id) + _setter("user_assessment_id", user_assessment_id) @property @pulumi.getter(name="userAssessmentId") @@ -151,6 +169,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + UnsetUserAssessmentBaselineArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/datasafe/user_assessment.py b/sdk/python/pulumi_oci/datasafe/user_assessment.py index 06ed63cfef..d5a61b3f63 100644 --- a/sdk/python/pulumi_oci/datasafe/user_assessment.py +++ b/sdk/python/pulumi_oci/datasafe/user_assessment.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -39,18 +39,39 @@ def __init__(__self__, *, Allowed version strings - "v1" v1's version specific schedule - Each of the above fields potentially introduce constraints. A workrequest is created only when clock time satisfies all the constraints. Constraints introduced: 1. seconds = (So, the allowed range for is [0, 59]) 2. minutes = (So, the allowed range for is [0, 59]) 3. hours = (So, the allowed range for is [0, 23]) can be either '*' (without quotes or a number between 1(Monday) and 7(Sunday)) 4. No constraint introduced when it is '*'. When not, day of week must equal the given value can be either '*' (without quotes or a number between 1 and 28) 5. No constraint introduced when it is '*'. When not, day of month must equal the given value """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "target_id", target_id) + UserAssessmentArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + target_id=target_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + schedule=schedule, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + target_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + schedule: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("target_id", target_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if schedule is not None: - pulumi.set(__self__, "schedule", schedule) + _setter("schedule", schedule) @property @pulumi.getter(name="compartmentId") @@ -201,52 +222,105 @@ def __init__(__self__, *, :param pulumi.Input[str] triggered_by: Indicates whether the user assessment was created by system or user. :param pulumi.Input[str] type: Type of user assessment. Type can be: """ + _UserAssessmentState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + ignored_assessment_ids=ignored_assessment_ids, + ignored_targets=ignored_targets, + is_baseline=is_baseline, + is_deviated_from_baseline=is_deviated_from_baseline, + last_compared_baseline_id=last_compared_baseline_id, + lifecycle_details=lifecycle_details, + schedule=schedule, + schedule_assessment_id=schedule_assessment_id, + state=state, + statistics=statistics, + system_tags=system_tags, + target_id=target_id, + target_ids=target_ids, + time_created=time_created, + time_last_assessed=time_last_assessed, + time_updated=time_updated, + triggered_by=triggered_by, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + ignored_assessment_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + ignored_targets: Optional[pulumi.Input[Sequence[pulumi.Input['UserAssessmentIgnoredTargetArgs']]]] = None, + is_baseline: Optional[pulumi.Input[bool]] = None, + is_deviated_from_baseline: Optional[pulumi.Input[bool]] = None, + last_compared_baseline_id: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + schedule: Optional[pulumi.Input[str]] = None, + schedule_assessment_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + statistics: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + target_id: Optional[pulumi.Input[str]] = None, + target_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_last_assessed: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + triggered_by: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if ignored_assessment_ids is not None: - pulumi.set(__self__, "ignored_assessment_ids", ignored_assessment_ids) + _setter("ignored_assessment_ids", ignored_assessment_ids) if ignored_targets is not None: - pulumi.set(__self__, "ignored_targets", ignored_targets) + _setter("ignored_targets", ignored_targets) if is_baseline is not None: - pulumi.set(__self__, "is_baseline", is_baseline) + _setter("is_baseline", is_baseline) if is_deviated_from_baseline is not None: - pulumi.set(__self__, "is_deviated_from_baseline", is_deviated_from_baseline) + _setter("is_deviated_from_baseline", is_deviated_from_baseline) if last_compared_baseline_id is not None: - pulumi.set(__self__, "last_compared_baseline_id", last_compared_baseline_id) + _setter("last_compared_baseline_id", last_compared_baseline_id) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if schedule is not None: - pulumi.set(__self__, "schedule", schedule) + _setter("schedule", schedule) if schedule_assessment_id is not None: - pulumi.set(__self__, "schedule_assessment_id", schedule_assessment_id) + _setter("schedule_assessment_id", schedule_assessment_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if statistics is not None: - pulumi.set(__self__, "statistics", statistics) + _setter("statistics", statistics) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if target_id is not None: - pulumi.set(__self__, "target_id", target_id) + _setter("target_id", target_id) if target_ids is not None: - pulumi.set(__self__, "target_ids", target_ids) + _setter("target_ids", target_ids) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_last_assessed is not None: - pulumi.set(__self__, "time_last_assessed", time_last_assessed) + _setter("time_last_assessed", time_last_assessed) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if triggered_by is not None: - pulumi.set(__self__, "triggered_by", triggered_by) + _setter("triggered_by", triggered_by) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter(name="compartmentId") @@ -646,6 +720,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + UserAssessmentArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/datascience/__init__.py b/sdk/python/pulumi_oci/datascience/__init__.py index fad9f6f65b..3ad87ace55 100644 --- a/sdk/python/pulumi_oci/datascience/__init__.py +++ b/sdk/python/pulumi_oci/datascience/__init__.py @@ -26,6 +26,8 @@ from .get_pipeline_run import * from .get_pipeline_runs import * from .get_pipelines import * +from .get_private_endpoint import * +from .get_private_endpoints import * from .get_project import * from .get_projects import * from .job import * @@ -39,6 +41,7 @@ from .notebook_session import * from .pipeline import * from .pipeline_run import * +from .private_endpoint import * from .project import * from ._inputs import * from . import outputs diff --git a/sdk/python/pulumi_oci/datascience/_inputs.py b/sdk/python/pulumi_oci/datascience/_inputs.py index 54abc3bb24..5b9b393639 100644 --- a/sdk/python/pulumi_oci/datascience/_inputs.py +++ b/sdk/python/pulumi_oci/datascience/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -65,6 +65,7 @@ 'GetNotebookSessionsFilterArgs', 'GetPipelineRunsFilterArgs', 'GetPipelinesFilterArgs', + 'GetPrivateEndpointsFilterArgs', 'GetProjectsFilterArgs', ] @@ -81,13 +82,28 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] environment_variables: Environment variables to set for the job. :param pulumi.Input[str] maximum_runtime_in_minutes: A time bound for the execution of the job. Timer starts when the job becomes active. """ - pulumi.set(__self__, "job_type", job_type) + JobJobConfigurationDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + job_type=job_type, + command_line_arguments=command_line_arguments, + environment_variables=environment_variables, + maximum_runtime_in_minutes=maximum_runtime_in_minutes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + job_type: pulumi.Input[str], + command_line_arguments: Optional[pulumi.Input[str]] = None, + environment_variables: Optional[pulumi.Input[Mapping[str, Any]]] = None, + maximum_runtime_in_minutes: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("job_type", job_type) if command_line_arguments is not None: - pulumi.set(__self__, "command_line_arguments", command_line_arguments) + _setter("command_line_arguments", command_line_arguments) if environment_variables is not None: - pulumi.set(__self__, "environment_variables", environment_variables) + _setter("environment_variables", environment_variables) if maximum_runtime_in_minutes is not None: - pulumi.set(__self__, "maximum_runtime_in_minutes", maximum_runtime_in_minutes) + _setter("maximum_runtime_in_minutes", maximum_runtime_in_minutes) @property @pulumi.getter(name="jobType") @@ -153,13 +169,30 @@ def __init__(__self__, *, :param pulumi.Input['JobJobInfrastructureConfigurationDetailsJobShapeConfigDetailsArgs'] job_shape_config_details: (Updatable) Details for the job run shape configuration. Specify only when a flex shape is selected. :param pulumi.Input[str] subnet_id: (Updatable) The subnet to create a secondary vnic in to attach to the instance running the job """ - pulumi.set(__self__, "block_storage_size_in_gbs", block_storage_size_in_gbs) - pulumi.set(__self__, "job_infrastructure_type", job_infrastructure_type) - pulumi.set(__self__, "shape_name", shape_name) + JobJobInfrastructureConfigurationDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + block_storage_size_in_gbs=block_storage_size_in_gbs, + job_infrastructure_type=job_infrastructure_type, + shape_name=shape_name, + job_shape_config_details=job_shape_config_details, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + block_storage_size_in_gbs: pulumi.Input[int], + job_infrastructure_type: pulumi.Input[str], + shape_name: pulumi.Input[str], + job_shape_config_details: Optional[pulumi.Input['JobJobInfrastructureConfigurationDetailsJobShapeConfigDetailsArgs']] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("block_storage_size_in_gbs", block_storage_size_in_gbs) + _setter("job_infrastructure_type", job_infrastructure_type) + _setter("shape_name", shape_name) if job_shape_config_details is not None: - pulumi.set(__self__, "job_shape_config_details", job_shape_config_details) + _setter("job_shape_config_details", job_shape_config_details) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="blockStorageSizeInGbs") @@ -231,10 +264,21 @@ def __init__(__self__, *, :param pulumi.Input[float] memory_in_gbs: (Updatable) The total amount of memory available to the job run instance, in gigabytes. :param pulumi.Input[float] ocpus: (Updatable) The total number of OCPUs available to the job run instance. """ + JobJobInfrastructureConfigurationDetailsJobShapeConfigDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: Optional[pulumi.Input[float]] = None, + ocpus: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) if ocpus is not None: - pulumi.set(__self__, "ocpus", ocpus) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -274,14 +318,29 @@ def __init__(__self__, *, :param pulumi.Input[str] log_group_id: The log group id for where log objects are for job runs. :param pulumi.Input[str] log_id: The log id the job run will push logs too. """ + JobJobLogConfigurationDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + enable_auto_log_creation=enable_auto_log_creation, + enable_logging=enable_logging, + log_group_id=log_group_id, + log_id=log_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + enable_auto_log_creation: Optional[pulumi.Input[bool]] = None, + enable_logging: Optional[pulumi.Input[bool]] = None, + log_group_id: Optional[pulumi.Input[str]] = None, + log_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if enable_auto_log_creation is not None: - pulumi.set(__self__, "enable_auto_log_creation", enable_auto_log_creation) + _setter("enable_auto_log_creation", enable_auto_log_creation) if enable_logging is not None: - pulumi.set(__self__, "enable_logging", enable_logging) + _setter("enable_logging", enable_logging) if log_group_id is not None: - pulumi.set(__self__, "log_group_id", log_group_id) + _setter("log_group_id", log_group_id) if log_id is not None: - pulumi.set(__self__, "log_id", log_id) + _setter("log_id", log_id) @property @pulumi.getter(name="enableAutoLogCreation") @@ -345,13 +404,28 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] environment_variables: Environment variables to set for the job. :param pulumi.Input[str] maximum_runtime_in_minutes: A time bound for the execution of the job. Timer starts when the job becomes active. """ - pulumi.set(__self__, "job_type", job_type) + JobRunJobConfigurationOverrideDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + job_type=job_type, + command_line_arguments=command_line_arguments, + environment_variables=environment_variables, + maximum_runtime_in_minutes=maximum_runtime_in_minutes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + job_type: pulumi.Input[str], + command_line_arguments: Optional[pulumi.Input[str]] = None, + environment_variables: Optional[pulumi.Input[Mapping[str, Any]]] = None, + maximum_runtime_in_minutes: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("job_type", job_type) if command_line_arguments is not None: - pulumi.set(__self__, "command_line_arguments", command_line_arguments) + _setter("command_line_arguments", command_line_arguments) if environment_variables is not None: - pulumi.set(__self__, "environment_variables", environment_variables) + _setter("environment_variables", environment_variables) if maximum_runtime_in_minutes is not None: - pulumi.set(__self__, "maximum_runtime_in_minutes", maximum_runtime_in_minutes) + _setter("maximum_runtime_in_minutes", maximum_runtime_in_minutes) @property @pulumi.getter(name="jobType") @@ -417,16 +491,33 @@ def __init__(__self__, *, :param pulumi.Input[str] shape_name: The shape used to launch the job run instances. :param pulumi.Input[str] subnet_id: The subnet to create a secondary vnic in to attach to the instance running the job """ + JobRunJobInfrastructureConfigurationDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + block_storage_size_in_gbs=block_storage_size_in_gbs, + job_infrastructure_type=job_infrastructure_type, + job_shape_config_details=job_shape_config_details, + shape_name=shape_name, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + block_storage_size_in_gbs: Optional[pulumi.Input[int]] = None, + job_infrastructure_type: Optional[pulumi.Input[str]] = None, + job_shape_config_details: Optional[pulumi.Input[Sequence[pulumi.Input['JobRunJobInfrastructureConfigurationDetailJobShapeConfigDetailArgs']]]] = None, + shape_name: Optional[pulumi.Input[str]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if block_storage_size_in_gbs is not None: - pulumi.set(__self__, "block_storage_size_in_gbs", block_storage_size_in_gbs) + _setter("block_storage_size_in_gbs", block_storage_size_in_gbs) if job_infrastructure_type is not None: - pulumi.set(__self__, "job_infrastructure_type", job_infrastructure_type) + _setter("job_infrastructure_type", job_infrastructure_type) if job_shape_config_details is not None: - pulumi.set(__self__, "job_shape_config_details", job_shape_config_details) + _setter("job_shape_config_details", job_shape_config_details) if shape_name is not None: - pulumi.set(__self__, "shape_name", shape_name) + _setter("shape_name", shape_name) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="blockStorageSizeInGbs") @@ -498,10 +589,21 @@ def __init__(__self__, *, :param pulumi.Input[float] memory_in_gbs: The total amount of memory available to the job run instance, in gigabytes. :param pulumi.Input[float] ocpus: The total number of OCPUs available to the job run instance. """ + JobRunJobInfrastructureConfigurationDetailJobShapeConfigDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: Optional[pulumi.Input[float]] = None, + ocpus: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) if ocpus is not None: - pulumi.set(__self__, "ocpus", ocpus) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -541,14 +643,29 @@ def __init__(__self__, *, :param pulumi.Input[str] log_group_id: The log group id for where log objects are for job runs. :param pulumi.Input[str] log_id: The log id the job run will push logs too. """ + JobRunJobLogConfigurationOverrideDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + enable_auto_log_creation=enable_auto_log_creation, + enable_logging=enable_logging, + log_group_id=log_group_id, + log_id=log_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + enable_auto_log_creation: Optional[pulumi.Input[bool]] = None, + enable_logging: Optional[pulumi.Input[bool]] = None, + log_group_id: Optional[pulumi.Input[str]] = None, + log_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if enable_auto_log_creation is not None: - pulumi.set(__self__, "enable_auto_log_creation", enable_auto_log_creation) + _setter("enable_auto_log_creation", enable_auto_log_creation) if enable_logging is not None: - pulumi.set(__self__, "enable_logging", enable_logging) + _setter("enable_logging", enable_logging) if log_group_id is not None: - pulumi.set(__self__, "log_group_id", log_group_id) + _setter("log_group_id", log_group_id) if log_id is not None: - pulumi.set(__self__, "log_id", log_id) + _setter("log_id", log_id) @property @pulumi.getter(name="enableAutoLogCreation") @@ -608,10 +725,21 @@ def __init__(__self__, *, :param pulumi.Input[str] log_group_id: The log group id for where log objects are for job runs. :param pulumi.Input[str] log_id: The log id the job run will push logs too. """ + JobRunLogDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + log_group_id=log_group_id, + log_id=log_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + log_group_id: Optional[pulumi.Input[str]] = None, + log_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if log_group_id is not None: - pulumi.set(__self__, "log_group_id", log_group_id) + _setter("log_group_id", log_group_id) if log_id is not None: - pulumi.set(__self__, "log_id", log_id) + _setter("log_id", log_id) @property @pulumi.getter(name="logGroupId") @@ -659,14 +787,29 @@ def __init__(__self__, *, Allowed values for libraryName: scikit-learn, xgboost, tensorflow, pytorch, mxnet, keras, lightGBM, pymc3, pyOD, spacy, prophet, sktime, statsmodels, cuml, oracle_automl, h2o, transformers, nltk, emcee, pystan, bert, gensim, flair, word2vec, ensemble, other """ + ModelCustomMetadataListArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + category=category, + description=description, + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + category: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + key: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if category is not None: - pulumi.set(__self__, "category", category) + _setter("category", category) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -746,14 +889,29 @@ def __init__(__self__, *, Allowed values for libraryName: scikit-learn, xgboost, tensorflow, pytorch, mxnet, keras, lightGBM, pymc3, pyOD, spacy, prophet, sktime, statsmodels, cuml, oracle_automl, h2o, transformers, nltk, emcee, pystan, bert, gensim, flair, word2vec, ensemble, other """ + ModelDefinedMetadataListArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + category=category, + description=description, + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + category: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + key: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if category is not None: - pulumi.set(__self__, "category", category) + _setter("category", category) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -821,10 +979,21 @@ def __init__(__self__, *, :param pulumi.Input['ModelDeploymentCategoryLogDetailsAccessArgs'] access: (Updatable) The log details. :param pulumi.Input['ModelDeploymentCategoryLogDetailsPredictArgs'] predict: (Updatable) The log details. """ + ModelDeploymentCategoryLogDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + access=access, + predict=predict, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access: Optional[pulumi.Input['ModelDeploymentCategoryLogDetailsAccessArgs']] = None, + predict: Optional[pulumi.Input['ModelDeploymentCategoryLogDetailsPredictArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if access is not None: - pulumi.set(__self__, "access", access) + _setter("access", access) if predict is not None: - pulumi.set(__self__, "predict", predict) + _setter("predict", predict) @property @pulumi.getter @@ -860,8 +1029,19 @@ def __init__(__self__, *, :param pulumi.Input[str] log_group_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a log group to work with. :param pulumi.Input[str] log_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a log to work with. """ - pulumi.set(__self__, "log_group_id", log_group_id) - pulumi.set(__self__, "log_id", log_id) + ModelDeploymentCategoryLogDetailsAccessArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + log_group_id=log_group_id, + log_id=log_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + log_group_id: pulumi.Input[str], + log_id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("log_group_id", log_group_id) + _setter("log_id", log_id) @property @pulumi.getter(name="logGroupId") @@ -897,8 +1077,19 @@ def __init__(__self__, *, :param pulumi.Input[str] log_group_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a log group to work with. :param pulumi.Input[str] log_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a log to work with. """ - pulumi.set(__self__, "log_group_id", log_group_id) - pulumi.set(__self__, "log_id", log_id) + ModelDeploymentCategoryLogDetailsPredictArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + log_group_id=log_group_id, + log_id=log_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + log_group_id: pulumi.Input[str], + log_id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("log_group_id", log_group_id) + _setter("log_id", log_id) @property @pulumi.getter(name="logGroupId") @@ -936,10 +1127,23 @@ def __init__(__self__, *, :param pulumi.Input['ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsArgs'] model_configuration_details: (Updatable) The model configuration details. :param pulumi.Input['ModelDeploymentModelDeploymentConfigurationDetailsEnvironmentConfigurationDetailsArgs'] environment_configuration_details: (Updatable) The configuration to carry the environment details thats used in Model Deployment creation """ - pulumi.set(__self__, "deployment_type", deployment_type) - pulumi.set(__self__, "model_configuration_details", model_configuration_details) + ModelDeploymentModelDeploymentConfigurationDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + deployment_type=deployment_type, + model_configuration_details=model_configuration_details, + environment_configuration_details=environment_configuration_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deployment_type: pulumi.Input[str], + model_configuration_details: pulumi.Input['ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsArgs'], + environment_configuration_details: Optional[pulumi.Input['ModelDeploymentModelDeploymentConfigurationDetailsEnvironmentConfigurationDetailsArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("deployment_type", deployment_type) + _setter("model_configuration_details", model_configuration_details) if environment_configuration_details is not None: - pulumi.set(__self__, "environment_configuration_details", environment_configuration_details) + _setter("environment_configuration_details", environment_configuration_details) @property @pulumi.getter(name="deploymentType") @@ -999,21 +1203,44 @@ def __init__(__self__, *, :param pulumi.Input[str] image_digest: (Updatable) The digest of the container image. For example, `sha256:881303a6b2738834d795a32b4a98eb0e5e3d1cad590a712d1e04f9b2fa90a030` :param pulumi.Input[int] server_port: (Updatable) The port on which the web server serving the inference is running. The port can be anything between `1024` and `65535`. The following ports cannot be used `24224`, `8446`, `8447`. """ - pulumi.set(__self__, "environment_configuration_type", environment_configuration_type) + ModelDeploymentModelDeploymentConfigurationDetailsEnvironmentConfigurationDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + environment_configuration_type=environment_configuration_type, + cmds=cmds, + entrypoints=entrypoints, + environment_variables=environment_variables, + health_check_port=health_check_port, + image=image, + image_digest=image_digest, + server_port=server_port, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + environment_configuration_type: pulumi.Input[str], + cmds: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + entrypoints: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + environment_variables: Optional[pulumi.Input[Mapping[str, Any]]] = None, + health_check_port: Optional[pulumi.Input[int]] = None, + image: Optional[pulumi.Input[str]] = None, + image_digest: Optional[pulumi.Input[str]] = None, + server_port: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("environment_configuration_type", environment_configuration_type) if cmds is not None: - pulumi.set(__self__, "cmds", cmds) + _setter("cmds", cmds) if entrypoints is not None: - pulumi.set(__self__, "entrypoints", entrypoints) + _setter("entrypoints", entrypoints) if environment_variables is not None: - pulumi.set(__self__, "environment_variables", environment_variables) + _setter("environment_variables", environment_variables) if health_check_port is not None: - pulumi.set(__self__, "health_check_port", health_check_port) + _setter("health_check_port", health_check_port) if image is not None: - pulumi.set(__self__, "image", image) + _setter("image", image) if image_digest is not None: - pulumi.set(__self__, "image_digest", image_digest) + _setter("image_digest", image_digest) if server_port is not None: - pulumi.set(__self__, "server_port", server_port) + _setter("server_port", server_port) @property @pulumi.getter(name="environmentConfigurationType") @@ -1122,15 +1349,30 @@ def __init__(__self__, *, """ :param pulumi.Input['ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsInstanceConfigurationArgs'] instance_configuration: (Updatable) The model deployment instance configuration :param pulumi.Input[str] model_id: (Updatable) The OCID of the model you want to deploy. - :param pulumi.Input[int] bandwidth_mbps: (Updatable) The network bandwidth for the model. + :param pulumi.Input[int] bandwidth_mbps: (Updatable) The minimum network bandwidth for the model deployment. :param pulumi.Input['ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsScalingPolicyArgs'] scaling_policy: (Updatable) The scaling policy to apply to each model of the deployment. """ - pulumi.set(__self__, "instance_configuration", instance_configuration) - pulumi.set(__self__, "model_id", model_id) + ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + instance_configuration=instance_configuration, + model_id=model_id, + bandwidth_mbps=bandwidth_mbps, + scaling_policy=scaling_policy, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + instance_configuration: pulumi.Input['ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsInstanceConfigurationArgs'], + model_id: pulumi.Input[str], + bandwidth_mbps: Optional[pulumi.Input[int]] = None, + scaling_policy: Optional[pulumi.Input['ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsScalingPolicyArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("instance_configuration", instance_configuration) + _setter("model_id", model_id) if bandwidth_mbps is not None: - pulumi.set(__self__, "bandwidth_mbps", bandwidth_mbps) + _setter("bandwidth_mbps", bandwidth_mbps) if scaling_policy is not None: - pulumi.set(__self__, "scaling_policy", scaling_policy) + _setter("scaling_policy", scaling_policy) @property @pulumi.getter(name="instanceConfiguration") @@ -1160,7 +1402,7 @@ def model_id(self, value: pulumi.Input[str]): @pulumi.getter(name="bandwidthMbps") def bandwidth_mbps(self) -> Optional[pulumi.Input[int]]: """ - (Updatable) The network bandwidth for the model. + (Updatable) The minimum network bandwidth for the model deployment. """ return pulumi.get(self, "bandwidth_mbps") @@ -1190,9 +1432,20 @@ def __init__(__self__, *, :param pulumi.Input[str] instance_shape_name: (Updatable) The shape used to launch the model deployment instances. :param pulumi.Input['ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsInstanceConfigurationModelDeploymentInstanceShapeConfigDetailsArgs'] model_deployment_instance_shape_config_details: (Updatable) Details for the model-deployment instance shape configuration. """ - pulumi.set(__self__, "instance_shape_name", instance_shape_name) + ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsInstanceConfigurationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + instance_shape_name=instance_shape_name, + model_deployment_instance_shape_config_details=model_deployment_instance_shape_config_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + instance_shape_name: pulumi.Input[str], + model_deployment_instance_shape_config_details: Optional[pulumi.Input['ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsInstanceConfigurationModelDeploymentInstanceShapeConfigDetailsArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("instance_shape_name", instance_shape_name) if model_deployment_instance_shape_config_details is not None: - pulumi.set(__self__, "model_deployment_instance_shape_config_details", model_deployment_instance_shape_config_details) + _setter("model_deployment_instance_shape_config_details", model_deployment_instance_shape_config_details) @property @pulumi.getter(name="instanceShapeName") @@ -1228,10 +1481,21 @@ def __init__(__self__, *, :param pulumi.Input[float] memory_in_gbs: (Updatable) A model-deployment instance of type VM.Standard.E3.Flex or VM.Standard.E4.Flex allows the memory to be specified with in the range of 6 to 1024 GB. VM.Standard3.Flex memory range is between 6 to 512 GB and VM.Optimized3.Flex memory range is between 6 to 256 GB. :param pulumi.Input[float] ocpus: (Updatable) A model-deployment instance of type VM.Standard.E3.Flex or VM.Standard.E4.Flex allows the ocpu count to be specified with in the range of 1 to 64 ocpu. VM.Standard3.Flex OCPU range is between 1 to 32 ocpu and for VM.Optimized3.Flex OCPU range is 1 to 18 ocpu. """ + ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsInstanceConfigurationModelDeploymentInstanceShapeConfigDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: Optional[pulumi.Input[float]] = None, + ocpus: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) if ocpus is not None: - pulumi.set(__self__, "ocpus", ocpus) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -1267,8 +1531,19 @@ def __init__(__self__, *, :param pulumi.Input[int] instance_count: (Updatable) The number of instances for the model deployment. :param pulumi.Input[str] policy_type: (Updatable) The type of scaling policy. """ - pulumi.set(__self__, "instance_count", instance_count) - pulumi.set(__self__, "policy_type", policy_type) + ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsScalingPolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + instance_count=instance_count, + policy_type=policy_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + instance_count: pulumi.Input[int], + policy_type: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("instance_count", instance_count) + _setter("policy_type", policy_type) @property @pulumi.getter(name="instanceCount") @@ -1301,20 +1576,41 @@ def __init__(__self__, *, shape: pulumi.Input[str], block_storage_size_in_gbs: Optional[pulumi.Input[int]] = None, notebook_session_shape_config_details: Optional[pulumi.Input['NotebookSessionNotebookSessionConfigDetailsNotebookSessionShapeConfigDetailsArgs']] = None, + private_endpoint_id: Optional[pulumi.Input[str]] = None, subnet_id: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] shape: (Updatable) The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint. :param pulumi.Input[int] block_storage_size_in_gbs: (Updatable) A notebook session instance is provided with a block storage volume. This specifies the size of the volume in GBs. :param pulumi.Input['NotebookSessionNotebookSessionConfigDetailsNotebookSessionShapeConfigDetailsArgs'] notebook_session_shape_config_details: (Updatable) Details for the notebook session shape configuration. + :param pulumi.Input[str] private_endpoint_id: (Updatable) The OCID of a Data Science private endpoint. :param pulumi.Input[str] subnet_id: (Updatable) A notebook session instance is provided with a VNIC for network access. This specifies the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet to create a VNIC in. The subnet should be in a VCN with a NAT gateway for egress to the internet. """ - pulumi.set(__self__, "shape", shape) + NotebookSessionNotebookSessionConfigDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + shape=shape, + block_storage_size_in_gbs=block_storage_size_in_gbs, + notebook_session_shape_config_details=notebook_session_shape_config_details, + private_endpoint_id=private_endpoint_id, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + shape: pulumi.Input[str], + block_storage_size_in_gbs: Optional[pulumi.Input[int]] = None, + notebook_session_shape_config_details: Optional[pulumi.Input['NotebookSessionNotebookSessionConfigDetailsNotebookSessionShapeConfigDetailsArgs']] = None, + private_endpoint_id: Optional[pulumi.Input[str]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("shape", shape) if block_storage_size_in_gbs is not None: - pulumi.set(__self__, "block_storage_size_in_gbs", block_storage_size_in_gbs) + _setter("block_storage_size_in_gbs", block_storage_size_in_gbs) if notebook_session_shape_config_details is not None: - pulumi.set(__self__, "notebook_session_shape_config_details", notebook_session_shape_config_details) + _setter("notebook_session_shape_config_details", notebook_session_shape_config_details) + if private_endpoint_id is not None: + _setter("private_endpoint_id", private_endpoint_id) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) @property @pulumi.getter @@ -1352,6 +1648,18 @@ def notebook_session_shape_config_details(self) -> Optional[pulumi.Input['Notebo def notebook_session_shape_config_details(self, value: Optional[pulumi.Input['NotebookSessionNotebookSessionConfigDetailsNotebookSessionShapeConfigDetailsArgs']]): pulumi.set(self, "notebook_session_shape_config_details", value) + @property + @pulumi.getter(name="privateEndpointId") + def private_endpoint_id(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) The OCID of a Data Science private endpoint. + """ + return pulumi.get(self, "private_endpoint_id") + + @private_endpoint_id.setter + def private_endpoint_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "private_endpoint_id", value) + @property @pulumi.getter(name="subnetId") def subnet_id(self) -> Optional[pulumi.Input[str]]: @@ -1374,10 +1682,21 @@ def __init__(__self__, *, :param pulumi.Input[float] memory_in_gbs: (Updatable) The total amount of memory available to the notebook session instance, in gigabytes. :param pulumi.Input[float] ocpus: (Updatable) The total number of OCPUs available to the notebook session instance. """ + NotebookSessionNotebookSessionConfigDetailsNotebookSessionShapeConfigDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: Optional[pulumi.Input[float]] = None, + ocpus: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) if ocpus is not None: - pulumi.set(__self__, "ocpus", ocpus) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -1410,19 +1729,40 @@ def __init__(__self__, *, shape: pulumi.Input[str], subnet_id: pulumi.Input[str], block_storage_size_in_gbs: Optional[pulumi.Input[int]] = None, - notebook_session_shape_config_details: Optional[pulumi.Input['NotebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetailsArgs']] = None): + notebook_session_shape_config_details: Optional[pulumi.Input['NotebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetailsArgs']] = None, + private_endpoint_id: Optional[pulumi.Input[str]] = None): """ :param pulumi.Input[str] shape: (Updatable) The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint. :param pulumi.Input[str] subnet_id: (Updatable) A notebook session instance is provided with a VNIC for network access. This specifies the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet to create a VNIC in. The subnet should be in a VCN with a NAT gateway for egress to the internet. :param pulumi.Input[int] block_storage_size_in_gbs: (Updatable) A notebook session instance is provided with a block storage volume. This specifies the size of the volume in GBs. :param pulumi.Input['NotebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetailsArgs'] notebook_session_shape_config_details: (Updatable) Details for the notebook session shape configuration. - """ - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "subnet_id", subnet_id) + :param pulumi.Input[str] private_endpoint_id: (Updatable) The OCID of a Data Science private endpoint. + """ + NotebookSessionNotebookSessionConfigurationDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + shape=shape, + subnet_id=subnet_id, + block_storage_size_in_gbs=block_storage_size_in_gbs, + notebook_session_shape_config_details=notebook_session_shape_config_details, + private_endpoint_id=private_endpoint_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + shape: pulumi.Input[str], + subnet_id: pulumi.Input[str], + block_storage_size_in_gbs: Optional[pulumi.Input[int]] = None, + notebook_session_shape_config_details: Optional[pulumi.Input['NotebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetailsArgs']] = None, + private_endpoint_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("shape", shape) + _setter("subnet_id", subnet_id) if block_storage_size_in_gbs is not None: - pulumi.set(__self__, "block_storage_size_in_gbs", block_storage_size_in_gbs) + _setter("block_storage_size_in_gbs", block_storage_size_in_gbs) if notebook_session_shape_config_details is not None: - pulumi.set(__self__, "notebook_session_shape_config_details", notebook_session_shape_config_details) + _setter("notebook_session_shape_config_details", notebook_session_shape_config_details) + if private_endpoint_id is not None: + _setter("private_endpoint_id", private_endpoint_id) @property @pulumi.getter @@ -1472,6 +1812,18 @@ def notebook_session_shape_config_details(self) -> Optional[pulumi.Input['Notebo def notebook_session_shape_config_details(self, value: Optional[pulumi.Input['NotebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetailsArgs']]): pulumi.set(self, "notebook_session_shape_config_details", value) + @property + @pulumi.getter(name="privateEndpointId") + def private_endpoint_id(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) The OCID of a Data Science private endpoint. + """ + return pulumi.get(self, "private_endpoint_id") + + @private_endpoint_id.setter + def private_endpoint_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "private_endpoint_id", value) + @pulumi.input_type class NotebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetailsArgs: @@ -1482,10 +1834,21 @@ def __init__(__self__, *, :param pulumi.Input[float] memory_in_gbs: (Updatable) The total amount of memory available to the notebook session instance, in gigabytes. :param pulumi.Input[float] ocpus: (Updatable) The total number of OCPUs available to the notebook session instance. """ + NotebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: Optional[pulumi.Input[float]] = None, + ocpus: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) if ocpus is not None: - pulumi.set(__self__, "ocpus", ocpus) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -1521,10 +1884,21 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] custom_environment_variables: (Updatable) Custom environment variables for Notebook Session. These key-value pairs will be available for customers in Notebook Sessions. :param pulumi.Input['NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetailsArgs'] notebook_session_git_config_details: (Updatable) Git configuration Details. """ + NotebookSessionNotebookSessionRuntimeConfigDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_environment_variables=custom_environment_variables, + notebook_session_git_config_details=notebook_session_git_config_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_environment_variables: Optional[pulumi.Input[Mapping[str, Any]]] = None, + notebook_session_git_config_details: Optional[pulumi.Input['NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetailsArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if custom_environment_variables is not None: - pulumi.set(__self__, "custom_environment_variables", custom_environment_variables) + _setter("custom_environment_variables", custom_environment_variables) if notebook_session_git_config_details is not None: - pulumi.set(__self__, "notebook_session_git_config_details", notebook_session_git_config_details) + _setter("notebook_session_git_config_details", notebook_session_git_config_details) @property @pulumi.getter(name="customEnvironmentVariables") @@ -1558,8 +1932,17 @@ def __init__(__self__, *, """ :param pulumi.Input[Sequence[pulumi.Input['NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetailsNotebookSessionGitRepoConfigCollectionArgs']]] notebook_session_git_repo_config_collections: (Updatable) A collection of Git repository configurations. """ + NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + notebook_session_git_repo_config_collections=notebook_session_git_repo_config_collections, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + notebook_session_git_repo_config_collections: Optional[pulumi.Input[Sequence[pulumi.Input['NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetailsNotebookSessionGitRepoConfigCollectionArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if notebook_session_git_repo_config_collections is not None: - pulumi.set(__self__, "notebook_session_git_repo_config_collections", notebook_session_git_repo_config_collections) + _setter("notebook_session_git_repo_config_collections", notebook_session_git_repo_config_collections) @property @pulumi.getter(name="notebookSessionGitRepoConfigCollections") @@ -1581,7 +1964,16 @@ def __init__(__self__, *, """ :param pulumi.Input[str] url: (Updatable) The repository URL """ - pulumi.set(__self__, "url", url) + NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetailsNotebookSessionGitRepoConfigCollectionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + url=url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + url: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("url", url) @property @pulumi.getter @@ -1609,13 +2001,28 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] environment_variables: (Updatable) Environment variables to set for step. :param pulumi.Input[str] maximum_runtime_in_minutes: (Updatable) A time bound for the execution of the step. """ - pulumi.set(__self__, "type", type) + PipelineConfigurationDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + command_line_arguments=command_line_arguments, + environment_variables=environment_variables, + maximum_runtime_in_minutes=maximum_runtime_in_minutes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + command_line_arguments: Optional[pulumi.Input[str]] = None, + environment_variables: Optional[pulumi.Input[Mapping[str, Any]]] = None, + maximum_runtime_in_minutes: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if command_line_arguments is not None: - pulumi.set(__self__, "command_line_arguments", command_line_arguments) + _setter("command_line_arguments", command_line_arguments) if environment_variables is not None: - pulumi.set(__self__, "environment_variables", environment_variables) + _setter("environment_variables", environment_variables) if maximum_runtime_in_minutes is not None: - pulumi.set(__self__, "maximum_runtime_in_minutes", maximum_runtime_in_minutes) + _setter("maximum_runtime_in_minutes", maximum_runtime_in_minutes) @property @pulumi.getter @@ -1677,10 +2084,23 @@ def __init__(__self__, *, :param pulumi.Input[str] shape_name: The shape used to launch the instance for all step runs in the pipeline. :param pulumi.Input['PipelineInfrastructureConfigurationDetailsShapeConfigDetailsArgs'] shape_config_details: Details for the pipeline step run shape configuration. Specify only when a flex shape is selected. """ - pulumi.set(__self__, "block_storage_size_in_gbs", block_storage_size_in_gbs) - pulumi.set(__self__, "shape_name", shape_name) + PipelineInfrastructureConfigurationDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + block_storage_size_in_gbs=block_storage_size_in_gbs, + shape_name=shape_name, + shape_config_details=shape_config_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + block_storage_size_in_gbs: pulumi.Input[int], + shape_name: pulumi.Input[str], + shape_config_details: Optional[pulumi.Input['PipelineInfrastructureConfigurationDetailsShapeConfigDetailsArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("block_storage_size_in_gbs", block_storage_size_in_gbs) + _setter("shape_name", shape_name) if shape_config_details is not None: - pulumi.set(__self__, "shape_config_details", shape_config_details) + _setter("shape_config_details", shape_config_details) @property @pulumi.getter(name="blockStorageSizeInGbs") @@ -1728,10 +2148,21 @@ def __init__(__self__, *, :param pulumi.Input[float] memory_in_gbs: A pipeline step run instance of type VM.Standard.E3.Flex allows memory to be specified. This specifies the size of the memory in GBs. :param pulumi.Input[float] ocpus: A pipeline step run instance of type VM.Standard.E3.Flex allows the ocpu count to be specified. """ + PipelineInfrastructureConfigurationDetailsShapeConfigDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: Optional[pulumi.Input[float]] = None, + ocpus: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) if ocpus is not None: - pulumi.set(__self__, "ocpus", ocpus) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -1771,14 +2202,29 @@ def __init__(__self__, *, :param pulumi.Input[str] log_group_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log group. :param pulumi.Input[str] log_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log. """ + PipelineLogConfigurationDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + enable_auto_log_creation=enable_auto_log_creation, + enable_logging=enable_logging, + log_group_id=log_group_id, + log_id=log_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + enable_auto_log_creation: Optional[pulumi.Input[bool]] = None, + enable_logging: Optional[pulumi.Input[bool]] = None, + log_group_id: Optional[pulumi.Input[str]] = None, + log_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if enable_auto_log_creation is not None: - pulumi.set(__self__, "enable_auto_log_creation", enable_auto_log_creation) + _setter("enable_auto_log_creation", enable_auto_log_creation) if enable_logging is not None: - pulumi.set(__self__, "enable_logging", enable_logging) + _setter("enable_logging", enable_logging) if log_group_id is not None: - pulumi.set(__self__, "log_group_id", log_group_id) + _setter("log_group_id", log_group_id) if log_id is not None: - pulumi.set(__self__, "log_id", log_id) + _setter("log_id", log_id) @property @pulumi.getter(name="enableAutoLogCreation") @@ -1842,14 +2288,29 @@ def __init__(__self__, *, :param pulumi.Input[str] maximum_runtime_in_minutes: A time bound for the execution of the step. :param pulumi.Input[str] type: The type of pipeline. """ + PipelineRunConfigurationDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + command_line_arguments=command_line_arguments, + environment_variables=environment_variables, + maximum_runtime_in_minutes=maximum_runtime_in_minutes, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + command_line_arguments: Optional[pulumi.Input[str]] = None, + environment_variables: Optional[pulumi.Input[Mapping[str, Any]]] = None, + maximum_runtime_in_minutes: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if command_line_arguments is not None: - pulumi.set(__self__, "command_line_arguments", command_line_arguments) + _setter("command_line_arguments", command_line_arguments) if environment_variables is not None: - pulumi.set(__self__, "environment_variables", environment_variables) + _setter("environment_variables", environment_variables) if maximum_runtime_in_minutes is not None: - pulumi.set(__self__, "maximum_runtime_in_minutes", maximum_runtime_in_minutes) + _setter("maximum_runtime_in_minutes", maximum_runtime_in_minutes) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter(name="commandLineArguments") @@ -1913,13 +2374,28 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] environment_variables: Environment variables to set for step. :param pulumi.Input[str] maximum_runtime_in_minutes: A time bound for the execution of the step. """ - pulumi.set(__self__, "type", type) + PipelineRunConfigurationOverrideDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + command_line_arguments=command_line_arguments, + environment_variables=environment_variables, + maximum_runtime_in_minutes=maximum_runtime_in_minutes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + command_line_arguments: Optional[pulumi.Input[str]] = None, + environment_variables: Optional[pulumi.Input[Mapping[str, Any]]] = None, + maximum_runtime_in_minutes: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if command_line_arguments is not None: - pulumi.set(__self__, "command_line_arguments", command_line_arguments) + _setter("command_line_arguments", command_line_arguments) if environment_variables is not None: - pulumi.set(__self__, "environment_variables", environment_variables) + _setter("environment_variables", environment_variables) if maximum_runtime_in_minutes is not None: - pulumi.set(__self__, "maximum_runtime_in_minutes", maximum_runtime_in_minutes) + _setter("maximum_runtime_in_minutes", maximum_runtime_in_minutes) @property @pulumi.getter @@ -1983,14 +2459,29 @@ def __init__(__self__, *, :param pulumi.Input[str] log_group_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log group. :param pulumi.Input[str] log_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log. """ + PipelineRunLogConfigurationOverrideDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + enable_auto_log_creation=enable_auto_log_creation, + enable_logging=enable_logging, + log_group_id=log_group_id, + log_id=log_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + enable_auto_log_creation: Optional[pulumi.Input[bool]] = None, + enable_logging: Optional[pulumi.Input[bool]] = None, + log_group_id: Optional[pulumi.Input[str]] = None, + log_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if enable_auto_log_creation is not None: - pulumi.set(__self__, "enable_auto_log_creation", enable_auto_log_creation) + _setter("enable_auto_log_creation", enable_auto_log_creation) if enable_logging is not None: - pulumi.set(__self__, "enable_logging", enable_logging) + _setter("enable_logging", enable_logging) if log_group_id is not None: - pulumi.set(__self__, "log_group_id", log_group_id) + _setter("log_group_id", log_group_id) if log_id is not None: - pulumi.set(__self__, "log_id", log_id) + _setter("log_id", log_id) @property @pulumi.getter(name="enableAutoLogCreation") @@ -2050,10 +2541,21 @@ def __init__(__self__, *, :param pulumi.Input[str] log_group_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log group. :param pulumi.Input[str] log_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log. """ + PipelineRunLogDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + log_group_id=log_group_id, + log_id=log_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + log_group_id: Optional[pulumi.Input[str]] = None, + log_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if log_group_id is not None: - pulumi.set(__self__, "log_group_id", log_group_id) + _setter("log_group_id", log_group_id) if log_id is not None: - pulumi.set(__self__, "log_id", log_id) + _setter("log_id", log_id) @property @pulumi.getter(name="logGroupId") @@ -2089,8 +2591,19 @@ def __init__(__self__, *, :param pulumi.Input['PipelineRunStepOverrideDetailStepConfigurationDetailsArgs'] step_configuration_details: The configuration details of a step. :param pulumi.Input[str] step_name: The name of the step. """ - pulumi.set(__self__, "step_configuration_details", step_configuration_details) - pulumi.set(__self__, "step_name", step_name) + PipelineRunStepOverrideDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + step_configuration_details=step_configuration_details, + step_name=step_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + step_configuration_details: pulumi.Input['PipelineRunStepOverrideDetailStepConfigurationDetailsArgs'], + step_name: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("step_configuration_details", step_configuration_details) + _setter("step_name", step_name) @property @pulumi.getter(name="stepConfigurationDetails") @@ -2128,12 +2641,25 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] environment_variables: Environment variables to set for step. :param pulumi.Input[str] maximum_runtime_in_minutes: A time bound for the execution of the step. """ + PipelineRunStepOverrideDetailStepConfigurationDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + command_line_arguments=command_line_arguments, + environment_variables=environment_variables, + maximum_runtime_in_minutes=maximum_runtime_in_minutes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + command_line_arguments: Optional[pulumi.Input[str]] = None, + environment_variables: Optional[pulumi.Input[Mapping[str, Any]]] = None, + maximum_runtime_in_minutes: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if command_line_arguments is not None: - pulumi.set(__self__, "command_line_arguments", command_line_arguments) + _setter("command_line_arguments", command_line_arguments) if environment_variables is not None: - pulumi.set(__self__, "environment_variables", environment_variables) + _setter("environment_variables", environment_variables) if maximum_runtime_in_minutes is not None: - pulumi.set(__self__, "maximum_runtime_in_minutes", maximum_runtime_in_minutes) + _setter("maximum_runtime_in_minutes", maximum_runtime_in_minutes) @property @pulumi.getter(name="commandLineArguments") @@ -2191,20 +2717,41 @@ def __init__(__self__, *, :param pulumi.Input[str] time_finished: The date and time the pipeline run request was finished in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). :param pulumi.Input[str] time_started: The date and time the pipeline run request was started in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). """ + PipelineRunStepRunArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + job_run_id=job_run_id, + lifecycle_details=lifecycle_details, + state=state, + step_name=step_name, + step_type=step_type, + time_finished=time_finished, + time_started=time_started, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + job_run_id: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + step_name: Optional[pulumi.Input[str]] = None, + step_type: Optional[pulumi.Input[str]] = None, + time_finished: Optional[pulumi.Input[str]] = None, + time_started: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if job_run_id is not None: - pulumi.set(__self__, "job_run_id", job_run_id) + _setter("job_run_id", job_run_id) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if step_name is not None: - pulumi.set(__self__, "step_name", step_name) + _setter("step_name", step_name) if step_type is not None: - pulumi.set(__self__, "step_type", step_type) + _setter("step_type", step_type) if time_finished is not None: - pulumi.set(__self__, "time_finished", time_finished) + _setter("time_finished", time_finished) if time_started is not None: - pulumi.set(__self__, "time_started", time_started) + _setter("time_started", time_started) @property @pulumi.getter(name="jobRunId") @@ -2303,15 +2850,34 @@ def __init__(__self__, *, """ :param pulumi.Input[str] step_name: (Updatable) The name of the step. It must be unique within the pipeline. This is used to create the pipeline DAG. """ - pulumi.set(__self__, "artifact_content_length", artifact_content_length) - pulumi.set(__self__, "pipeline_step_artifact", pipeline_step_artifact) - pulumi.set(__self__, "step_name", step_name) + PipelineStepArtifactArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + artifact_content_length=artifact_content_length, + pipeline_step_artifact=pipeline_step_artifact, + step_name=step_name, + artifact_content_disposition=artifact_content_disposition, + artifact_content_md5=artifact_content_md5, + artifact_last_modified=artifact_last_modified, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + artifact_content_length: pulumi.Input[str], + pipeline_step_artifact: pulumi.Input[str], + step_name: pulumi.Input[str], + artifact_content_disposition: Optional[pulumi.Input[str]] = None, + artifact_content_md5: Optional[pulumi.Input[str]] = None, + artifact_last_modified: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("artifact_content_length", artifact_content_length) + _setter("pipeline_step_artifact", pipeline_step_artifact) + _setter("step_name", step_name) if artifact_content_disposition is not None: - pulumi.set(__self__, "artifact_content_disposition", artifact_content_disposition) + _setter("artifact_content_disposition", artifact_content_disposition) if artifact_content_md5 is not None: - pulumi.set(__self__, "artifact_content_md5", artifact_content_md5) + _setter("artifact_content_md5", artifact_content_md5) if artifact_last_modified is not None: - pulumi.set(__self__, "artifact_last_modified", artifact_last_modified) + _setter("artifact_last_modified", artifact_last_modified) @property @pulumi.getter(name="artifactContentLength") @@ -2396,20 +2962,43 @@ def __init__(__self__, *, :param pulumi.Input['PipelineStepDetailStepConfigurationDetailsArgs'] step_configuration_details: (Updatable) The configuration details of a step. :param pulumi.Input['PipelineStepDetailStepInfrastructureConfigurationDetailsArgs'] step_infrastructure_configuration_details: The infrastructure configuration details of a pipeline or a step. """ - pulumi.set(__self__, "step_name", step_name) - pulumi.set(__self__, "step_type", step_type) + PipelineStepDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + step_name=step_name, + step_type=step_type, + depends_ons=depends_ons, + description=description, + is_artifact_uploaded=is_artifact_uploaded, + job_id=job_id, + step_configuration_details=step_configuration_details, + step_infrastructure_configuration_details=step_infrastructure_configuration_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + step_name: pulumi.Input[str], + step_type: pulumi.Input[str], + depends_ons: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + description: Optional[pulumi.Input[str]] = None, + is_artifact_uploaded: Optional[pulumi.Input[bool]] = None, + job_id: Optional[pulumi.Input[str]] = None, + step_configuration_details: Optional[pulumi.Input['PipelineStepDetailStepConfigurationDetailsArgs']] = None, + step_infrastructure_configuration_details: Optional[pulumi.Input['PipelineStepDetailStepInfrastructureConfigurationDetailsArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("step_name", step_name) + _setter("step_type", step_type) if depends_ons is not None: - pulumi.set(__self__, "depends_ons", depends_ons) + _setter("depends_ons", depends_ons) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if is_artifact_uploaded is not None: - pulumi.set(__self__, "is_artifact_uploaded", is_artifact_uploaded) + _setter("is_artifact_uploaded", is_artifact_uploaded) if job_id is not None: - pulumi.set(__self__, "job_id", job_id) + _setter("job_id", job_id) if step_configuration_details is not None: - pulumi.set(__self__, "step_configuration_details", step_configuration_details) + _setter("step_configuration_details", step_configuration_details) if step_infrastructure_configuration_details is not None: - pulumi.set(__self__, "step_infrastructure_configuration_details", step_infrastructure_configuration_details) + _setter("step_infrastructure_configuration_details", step_infrastructure_configuration_details) @property @pulumi.getter(name="stepName") @@ -2523,12 +3112,25 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] environment_variables: (Updatable) Environment variables to set for step. :param pulumi.Input[str] maximum_runtime_in_minutes: (Updatable) A time bound for the execution of the step. """ + PipelineStepDetailStepConfigurationDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + command_line_arguments=command_line_arguments, + environment_variables=environment_variables, + maximum_runtime_in_minutes=maximum_runtime_in_minutes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + command_line_arguments: Optional[pulumi.Input[str]] = None, + environment_variables: Optional[pulumi.Input[Mapping[str, Any]]] = None, + maximum_runtime_in_minutes: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if command_line_arguments is not None: - pulumi.set(__self__, "command_line_arguments", command_line_arguments) + _setter("command_line_arguments", command_line_arguments) if environment_variables is not None: - pulumi.set(__self__, "environment_variables", environment_variables) + _setter("environment_variables", environment_variables) if maximum_runtime_in_minutes is not None: - pulumi.set(__self__, "maximum_runtime_in_minutes", maximum_runtime_in_minutes) + _setter("maximum_runtime_in_minutes", maximum_runtime_in_minutes) @property @pulumi.getter(name="commandLineArguments") @@ -2578,10 +3180,23 @@ def __init__(__self__, *, :param pulumi.Input[str] shape_name: The shape used to launch the instance for all step runs in the pipeline. :param pulumi.Input['PipelineStepDetailStepInfrastructureConfigurationDetailsShapeConfigDetailsArgs'] shape_config_details: Details for the pipeline step run shape configuration. Specify only when a flex shape is selected. """ - pulumi.set(__self__, "block_storage_size_in_gbs", block_storage_size_in_gbs) - pulumi.set(__self__, "shape_name", shape_name) + PipelineStepDetailStepInfrastructureConfigurationDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + block_storage_size_in_gbs=block_storage_size_in_gbs, + shape_name=shape_name, + shape_config_details=shape_config_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + block_storage_size_in_gbs: pulumi.Input[int], + shape_name: pulumi.Input[str], + shape_config_details: Optional[pulumi.Input['PipelineStepDetailStepInfrastructureConfigurationDetailsShapeConfigDetailsArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("block_storage_size_in_gbs", block_storage_size_in_gbs) + _setter("shape_name", shape_name) if shape_config_details is not None: - pulumi.set(__self__, "shape_config_details", shape_config_details) + _setter("shape_config_details", shape_config_details) @property @pulumi.getter(name="blockStorageSizeInGbs") @@ -2629,10 +3244,21 @@ def __init__(__self__, *, :param pulumi.Input[float] memory_in_gbs: A pipeline step run instance of type VM.Standard.E3.Flex allows memory to be specified. This specifies the size of the memory in GBs. :param pulumi.Input[float] ocpus: A pipeline step run instance of type VM.Standard.E3.Flex allows the ocpu count to be specified. """ + PipelineStepDetailStepInfrastructureConfigurationDetailsShapeConfigDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: Optional[pulumi.Input[float]] = None, + ocpus: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) if ocpus is not None: - pulumi.set(__self__, "ocpus", ocpus) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -2668,10 +3294,23 @@ def __init__(__self__, *, """ :param str name: The name of the fast launch job config """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetFastLaunchJobConfigsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2710,10 +3349,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetJobRunsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2752,10 +3404,23 @@ def __init__(__self__, *, """ :param str name: The name of the job shape. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetJobShapesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2794,10 +3459,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetJobsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2836,10 +3514,23 @@ def __init__(__self__, *, """ :param str name: The name of the model deployment shape. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetModelDeploymentShapesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2878,10 +3569,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetModelDeploymentsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2920,10 +3624,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the entire name given. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetModelVersionSetsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2962,10 +3679,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetModelsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3004,10 +3734,23 @@ def __init__(__self__, *, """ :param str name: The name of the notebook session shape. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetNotebookSessionShapesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3046,10 +3789,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetNotebookSessionsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3085,10 +3841,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetPipelineRunsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3124,10 +3893,75 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetPipelinesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) + if regex is not None: + _setter("regex", regex) + + @property + @pulumi.getter + def name(self) -> str: + return pulumi.get(self, "name") + + @name.setter + def name(self, value: str): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def values(self) -> Sequence[str]: + return pulumi.get(self, "values") + + @values.setter + def values(self, value: Sequence[str]): + pulumi.set(self, "values", value) + + @property + @pulumi.getter + def regex(self) -> Optional[bool]: + return pulumi.get(self, "regex") + + @regex.setter + def regex(self, value: Optional[bool]): + pulumi.set(self, "regex", value) + + +@pulumi.input_type +class GetPrivateEndpointsFilterArgs: + def __init__(__self__, *, + name: str, + values: Sequence[str], + regex: Optional[bool] = None): + GetPrivateEndpointsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3163,10 +3997,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetProjectsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/datascience/get_fast_launch_job_configs.py b/sdk/python/pulumi_oci/datascience/get_fast_launch_job_configs.py index e341e861a7..e694413e40 100644 --- a/sdk/python/pulumi_oci/datascience/get_fast_launch_job_configs.py +++ b/sdk/python/pulumi_oci/datascience/get_fast_launch_job_configs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datascience/get_job.py b/sdk/python/pulumi_oci/datascience/get_job.py index 5734841852..5d83be0bc1 100644 --- a/sdk/python/pulumi_oci/datascience/get_job.py +++ b/sdk/python/pulumi_oci/datascience/get_job.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/datascience/get_job_run.py b/sdk/python/pulumi_oci/datascience/get_job_run.py index 6e20cbc912..b321e73565 100644 --- a/sdk/python/pulumi_oci/datascience/get_job_run.py +++ b/sdk/python/pulumi_oci/datascience/get_job_run.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/datascience/get_job_runs.py b/sdk/python/pulumi_oci/datascience/get_job_runs.py index 0cb282668e..cfd910514c 100644 --- a/sdk/python/pulumi_oci/datascience/get_job_runs.py +++ b/sdk/python/pulumi_oci/datascience/get_job_runs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datascience/get_job_shapes.py b/sdk/python/pulumi_oci/datascience/get_job_shapes.py index 79dec74993..6145806e6f 100644 --- a/sdk/python/pulumi_oci/datascience/get_job_shapes.py +++ b/sdk/python/pulumi_oci/datascience/get_job_shapes.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datascience/get_jobs.py b/sdk/python/pulumi_oci/datascience/get_jobs.py index ca7cd16d2d..996ae56b24 100644 --- a/sdk/python/pulumi_oci/datascience/get_jobs.py +++ b/sdk/python/pulumi_oci/datascience/get_jobs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datascience/get_model.py b/sdk/python/pulumi_oci/datascience/get_model.py index 5a72edf2de..69343fca59 100644 --- a/sdk/python/pulumi_oci/datascience/get_model.py +++ b/sdk/python/pulumi_oci/datascience/get_model.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/datascience/get_model_deployment.py b/sdk/python/pulumi_oci/datascience/get_model_deployment.py index 26ea18b243..253ffaa953 100644 --- a/sdk/python/pulumi_oci/datascience/get_model_deployment.py +++ b/sdk/python/pulumi_oci/datascience/get_model_deployment.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/datascience/get_model_deployment_shapes.py b/sdk/python/pulumi_oci/datascience/get_model_deployment_shapes.py index be3e32f5c9..5b2c4cf43d 100644 --- a/sdk/python/pulumi_oci/datascience/get_model_deployment_shapes.py +++ b/sdk/python/pulumi_oci/datascience/get_model_deployment_shapes.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datascience/get_model_deployments.py b/sdk/python/pulumi_oci/datascience/get_model_deployments.py index dde58ac9f0..639cf4f7aa 100644 --- a/sdk/python/pulumi_oci/datascience/get_model_deployments.py +++ b/sdk/python/pulumi_oci/datascience/get_model_deployments.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datascience/get_model_provenance.py b/sdk/python/pulumi_oci/datascience/get_model_provenance.py index c51fd4f821..d3f59231c6 100644 --- a/sdk/python/pulumi_oci/datascience/get_model_provenance.py +++ b/sdk/python/pulumi_oci/datascience/get_model_provenance.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/datascience/get_model_version_set.py b/sdk/python/pulumi_oci/datascience/get_model_version_set.py index 54cb96752d..6b9e1f961e 100644 --- a/sdk/python/pulumi_oci/datascience/get_model_version_set.py +++ b/sdk/python/pulumi_oci/datascience/get_model_version_set.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/datascience/get_model_version_sets.py b/sdk/python/pulumi_oci/datascience/get_model_version_sets.py index c8006dbd2d..9a3b08475a 100644 --- a/sdk/python/pulumi_oci/datascience/get_model_version_sets.py +++ b/sdk/python/pulumi_oci/datascience/get_model_version_sets.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datascience/get_models.py b/sdk/python/pulumi_oci/datascience/get_models.py index 5b3acd6a2e..f21242bb07 100644 --- a/sdk/python/pulumi_oci/datascience/get_models.py +++ b/sdk/python/pulumi_oci/datascience/get_models.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datascience/get_notebook_session.py b/sdk/python/pulumi_oci/datascience/get_notebook_session.py index 47fb4154a9..dd33e6841b 100644 --- a/sdk/python/pulumi_oci/datascience/get_notebook_session.py +++ b/sdk/python/pulumi_oci/datascience/get_notebook_session.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/datascience/get_notebook_session_shapes.py b/sdk/python/pulumi_oci/datascience/get_notebook_session_shapes.py index a9acacd902..f83e3805c4 100644 --- a/sdk/python/pulumi_oci/datascience/get_notebook_session_shapes.py +++ b/sdk/python/pulumi_oci/datascience/get_notebook_session_shapes.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datascience/get_notebook_sessions.py b/sdk/python/pulumi_oci/datascience/get_notebook_sessions.py index 8127fd3b40..75a0747a6a 100644 --- a/sdk/python/pulumi_oci/datascience/get_notebook_sessions.py +++ b/sdk/python/pulumi_oci/datascience/get_notebook_sessions.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datascience/get_pipeline.py b/sdk/python/pulumi_oci/datascience/get_pipeline.py index 797bf36858..ec1f6c33c2 100644 --- a/sdk/python/pulumi_oci/datascience/get_pipeline.py +++ b/sdk/python/pulumi_oci/datascience/get_pipeline.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/datascience/get_pipeline_run.py b/sdk/python/pulumi_oci/datascience/get_pipeline_run.py index c3085c028a..5c3a1ab427 100644 --- a/sdk/python/pulumi_oci/datascience/get_pipeline_run.py +++ b/sdk/python/pulumi_oci/datascience/get_pipeline_run.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/datascience/get_pipeline_runs.py b/sdk/python/pulumi_oci/datascience/get_pipeline_runs.py index dadaa45842..3b8c230982 100644 --- a/sdk/python/pulumi_oci/datascience/get_pipeline_runs.py +++ b/sdk/python/pulumi_oci/datascience/get_pipeline_runs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datascience/get_pipelines.py b/sdk/python/pulumi_oci/datascience/get_pipelines.py index 0ac13ca2bf..b87faff2ce 100644 --- a/sdk/python/pulumi_oci/datascience/get_pipelines.py +++ b/sdk/python/pulumi_oci/datascience/get_pipelines.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datascience/get_private_endpoint.py b/sdk/python/pulumi_oci/datascience/get_private_endpoint.py new file mode 100644 index 0000000000..45a124f609 --- /dev/null +++ b/sdk/python/pulumi_oci/datascience/get_private_endpoint.py @@ -0,0 +1,297 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from .. import _utilities + +__all__ = [ + 'GetPrivateEndpointResult', + 'AwaitableGetPrivateEndpointResult', + 'get_private_endpoint', + 'get_private_endpoint_output', +] + +@pulumi.output_type +class GetPrivateEndpointResult: + """ + A collection of values returned by getPrivateEndpoint. + """ + def __init__(__self__, compartment_id=None, created_by=None, data_science_private_endpoint_id=None, data_science_resource_type=None, defined_tags=None, description=None, display_name=None, fqdn=None, freeform_tags=None, id=None, lifecycle_details=None, nsg_ids=None, state=None, sub_domain=None, subnet_id=None, time_created=None, time_updated=None): + if compartment_id and not isinstance(compartment_id, str): + raise TypeError("Expected argument 'compartment_id' to be a str") + pulumi.set(__self__, "compartment_id", compartment_id) + if created_by and not isinstance(created_by, str): + raise TypeError("Expected argument 'created_by' to be a str") + pulumi.set(__self__, "created_by", created_by) + if data_science_private_endpoint_id and not isinstance(data_science_private_endpoint_id, str): + raise TypeError("Expected argument 'data_science_private_endpoint_id' to be a str") + pulumi.set(__self__, "data_science_private_endpoint_id", data_science_private_endpoint_id) + if data_science_resource_type and not isinstance(data_science_resource_type, str): + raise TypeError("Expected argument 'data_science_resource_type' to be a str") + pulumi.set(__self__, "data_science_resource_type", data_science_resource_type) + if defined_tags and not isinstance(defined_tags, dict): + raise TypeError("Expected argument 'defined_tags' to be a dict") + pulumi.set(__self__, "defined_tags", defined_tags) + if description and not isinstance(description, str): + raise TypeError("Expected argument 'description' to be a str") + pulumi.set(__self__, "description", description) + if display_name and not isinstance(display_name, str): + raise TypeError("Expected argument 'display_name' to be a str") + pulumi.set(__self__, "display_name", display_name) + if fqdn and not isinstance(fqdn, str): + raise TypeError("Expected argument 'fqdn' to be a str") + pulumi.set(__self__, "fqdn", fqdn) + if freeform_tags and not isinstance(freeform_tags, dict): + raise TypeError("Expected argument 'freeform_tags' to be a dict") + pulumi.set(__self__, "freeform_tags", freeform_tags) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if lifecycle_details and not isinstance(lifecycle_details, str): + raise TypeError("Expected argument 'lifecycle_details' to be a str") + pulumi.set(__self__, "lifecycle_details", lifecycle_details) + if nsg_ids and not isinstance(nsg_ids, list): + raise TypeError("Expected argument 'nsg_ids' to be a list") + pulumi.set(__self__, "nsg_ids", nsg_ids) + if state and not isinstance(state, str): + raise TypeError("Expected argument 'state' to be a str") + pulumi.set(__self__, "state", state) + if sub_domain and not isinstance(sub_domain, str): + raise TypeError("Expected argument 'sub_domain' to be a str") + pulumi.set(__self__, "sub_domain", sub_domain) + if subnet_id and not isinstance(subnet_id, str): + raise TypeError("Expected argument 'subnet_id' to be a str") + pulumi.set(__self__, "subnet_id", subnet_id) + if time_created and not isinstance(time_created, str): + raise TypeError("Expected argument 'time_created' to be a str") + pulumi.set(__self__, "time_created", time_created) + if time_updated and not isinstance(time_updated, str): + raise TypeError("Expected argument 'time_updated' to be a str") + pulumi.set(__self__, "time_updated", time_updated) + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> str: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create private endpoint. + """ + return pulumi.get(self, "compartment_id") + + @property + @pulumi.getter(name="createdBy") + def created_by(self) -> str: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user that created the private endpoint. + """ + return pulumi.get(self, "created_by") + + @property + @pulumi.getter(name="dataSciencePrivateEndpointId") + def data_science_private_endpoint_id(self) -> str: + return pulumi.get(self, "data_science_private_endpoint_id") + + @property + @pulumi.getter(name="dataScienceResourceType") + def data_science_resource_type(self) -> str: + """ + Data Science resource type. + """ + return pulumi.get(self, "data_science_resource_type") + + @property + @pulumi.getter(name="definedTags") + def defined_tags(self) -> Mapping[str, Any]: + """ + Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` + """ + return pulumi.get(self, "defined_tags") + + @property + @pulumi.getter + def description(self) -> str: + """ + A user friendly description. Avoid entering confidential information. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> str: + """ + A user friendly name. It doesn't have to be unique. Avoid entering confidential information. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter + def fqdn(self) -> str: + """ + Accesing the Data Science resource using FQDN. + """ + return pulumi.get(self, "fqdn") + + @property + @pulumi.getter(name="freeformTags") + def freeform_tags(self) -> Mapping[str, Any]: + """ + Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` + """ + return pulumi.get(self, "freeform_tags") + + @property + @pulumi.getter + def id(self) -> str: + """ + The OCID of a private endpoint. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="lifecycleDetails") + def lifecycle_details(self) -> str: + """ + Details of the state of Data Science private endpoint. + """ + return pulumi.get(self, "lifecycle_details") + + @property + @pulumi.getter(name="nsgIds") + def nsg_ids(self) -> Sequence[str]: + """ + An array of network security group OCIDs. + """ + return pulumi.get(self, "nsg_ids") + + @property + @pulumi.getter + def state(self) -> str: + """ + State of the Data Science private endpoint. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter(name="subDomain") + def sub_domain(self) -> str: + return pulumi.get(self, "sub_domain") + + @property + @pulumi.getter(name="subnetId") + def subnet_id(self) -> str: + """ + The OCID of a subnet. + """ + return pulumi.get(self, "subnet_id") + + @property + @pulumi.getter(name="timeCreated") + def time_created(self) -> str: + """ + The date and time that the Data Science private endpoint was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + """ + return pulumi.get(self, "time_created") + + @property + @pulumi.getter(name="timeUpdated") + def time_updated(self) -> str: + """ + The date and time that the Data Science private endpoint was updated expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + """ + return pulumi.get(self, "time_updated") + + +class AwaitableGetPrivateEndpointResult(GetPrivateEndpointResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetPrivateEndpointResult( + compartment_id=self.compartment_id, + created_by=self.created_by, + data_science_private_endpoint_id=self.data_science_private_endpoint_id, + data_science_resource_type=self.data_science_resource_type, + defined_tags=self.defined_tags, + description=self.description, + display_name=self.display_name, + fqdn=self.fqdn, + freeform_tags=self.freeform_tags, + id=self.id, + lifecycle_details=self.lifecycle_details, + nsg_ids=self.nsg_ids, + state=self.state, + sub_domain=self.sub_domain, + subnet_id=self.subnet_id, + time_created=self.time_created, + time_updated=self.time_updated) + + +def get_private_endpoint(data_science_private_endpoint_id: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPrivateEndpointResult: + """ + This data source provides details about a specific Data Science Private Endpoint resource in Oracle Cloud Infrastructure Data Science service. + + Retrieves an private endpoint using a `privateEndpointId`. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_data_science_private_endpoint = oci.DataScience.get_private_endpoint(data_science_private_endpoint_id=oci_datascience_private_endpoint["test_data_science_private_endpoint"]["id"]) + ``` + + + :param str data_science_private_endpoint_id: The unique ID for a Data Science private endpoint. + """ + __args__ = dict() + __args__['dataSciencePrivateEndpointId'] = data_science_private_endpoint_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('oci:DataScience/getPrivateEndpoint:getPrivateEndpoint', __args__, opts=opts, typ=GetPrivateEndpointResult).value + + return AwaitableGetPrivateEndpointResult( + compartment_id=pulumi.get(__ret__, 'compartment_id'), + created_by=pulumi.get(__ret__, 'created_by'), + data_science_private_endpoint_id=pulumi.get(__ret__, 'data_science_private_endpoint_id'), + data_science_resource_type=pulumi.get(__ret__, 'data_science_resource_type'), + defined_tags=pulumi.get(__ret__, 'defined_tags'), + description=pulumi.get(__ret__, 'description'), + display_name=pulumi.get(__ret__, 'display_name'), + fqdn=pulumi.get(__ret__, 'fqdn'), + freeform_tags=pulumi.get(__ret__, 'freeform_tags'), + id=pulumi.get(__ret__, 'id'), + lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'), + nsg_ids=pulumi.get(__ret__, 'nsg_ids'), + state=pulumi.get(__ret__, 'state'), + sub_domain=pulumi.get(__ret__, 'sub_domain'), + subnet_id=pulumi.get(__ret__, 'subnet_id'), + time_created=pulumi.get(__ret__, 'time_created'), + time_updated=pulumi.get(__ret__, 'time_updated')) + + +@_utilities.lift_output_func(get_private_endpoint) +def get_private_endpoint_output(data_science_private_endpoint_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPrivateEndpointResult]: + """ + This data source provides details about a specific Data Science Private Endpoint resource in Oracle Cloud Infrastructure Data Science service. + + Retrieves an private endpoint using a `privateEndpointId`. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_data_science_private_endpoint = oci.DataScience.get_private_endpoint(data_science_private_endpoint_id=oci_datascience_private_endpoint["test_data_science_private_endpoint"]["id"]) + ``` + + + :param str data_science_private_endpoint_id: The unique ID for a Data Science private endpoint. + """ + ... diff --git a/sdk/python/pulumi_oci/datascience/get_private_endpoints.py b/sdk/python/pulumi_oci/datascience/get_private_endpoints.py new file mode 100644 index 0000000000..f707a87ce5 --- /dev/null +++ b/sdk/python/pulumi_oci/datascience/get_private_endpoints.py @@ -0,0 +1,216 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs +from ._inputs import * + +__all__ = [ + 'GetPrivateEndpointsResult', + 'AwaitableGetPrivateEndpointsResult', + 'get_private_endpoints', + 'get_private_endpoints_output', +] + +@pulumi.output_type +class GetPrivateEndpointsResult: + """ + A collection of values returned by getPrivateEndpoints. + """ + def __init__(__self__, compartment_id=None, created_by=None, data_science_private_endpoints=None, data_science_resource_type=None, display_name=None, filters=None, id=None, state=None): + if compartment_id and not isinstance(compartment_id, str): + raise TypeError("Expected argument 'compartment_id' to be a str") + pulumi.set(__self__, "compartment_id", compartment_id) + if created_by and not isinstance(created_by, str): + raise TypeError("Expected argument 'created_by' to be a str") + pulumi.set(__self__, "created_by", created_by) + if data_science_private_endpoints and not isinstance(data_science_private_endpoints, list): + raise TypeError("Expected argument 'data_science_private_endpoints' to be a list") + pulumi.set(__self__, "data_science_private_endpoints", data_science_private_endpoints) + if data_science_resource_type and not isinstance(data_science_resource_type, str): + raise TypeError("Expected argument 'data_science_resource_type' to be a str") + pulumi.set(__self__, "data_science_resource_type", data_science_resource_type) + if display_name and not isinstance(display_name, str): + raise TypeError("Expected argument 'display_name' to be a str") + pulumi.set(__self__, "display_name", display_name) + if filters and not isinstance(filters, list): + raise TypeError("Expected argument 'filters' to be a list") + pulumi.set(__self__, "filters", filters) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if state and not isinstance(state, str): + raise TypeError("Expected argument 'state' to be a str") + pulumi.set(__self__, "state", state) + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> str: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create private endpoint. + """ + return pulumi.get(self, "compartment_id") + + @property + @pulumi.getter(name="createdBy") + def created_by(self) -> Optional[str]: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user that created the private endpoint. + """ + return pulumi.get(self, "created_by") + + @property + @pulumi.getter(name="dataSciencePrivateEndpoints") + def data_science_private_endpoints(self) -> Sequence['outputs.GetPrivateEndpointsDataSciencePrivateEndpointResult']: + """ + The list of data_science_private_endpoints. + """ + return pulumi.get(self, "data_science_private_endpoints") + + @property + @pulumi.getter(name="dataScienceResourceType") + def data_science_resource_type(self) -> Optional[str]: + """ + Data Science resource type. + """ + return pulumi.get(self, "data_science_resource_type") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> Optional[str]: + """ + A user friendly name. It doesn't have to be unique. Avoid entering confidential information. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter + def filters(self) -> Optional[Sequence['outputs.GetPrivateEndpointsFilterResult']]: + return pulumi.get(self, "filters") + + @property + @pulumi.getter + def id(self) -> str: + """ + The provider-assigned unique ID for this managed resource. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def state(self) -> Optional[str]: + """ + State of the Data Science private endpoint. + """ + return pulumi.get(self, "state") + + +class AwaitableGetPrivateEndpointsResult(GetPrivateEndpointsResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetPrivateEndpointsResult( + compartment_id=self.compartment_id, + created_by=self.created_by, + data_science_private_endpoints=self.data_science_private_endpoints, + data_science_resource_type=self.data_science_resource_type, + display_name=self.display_name, + filters=self.filters, + id=self.id, + state=self.state) + + +def get_private_endpoints(compartment_id: Optional[str] = None, + created_by: Optional[str] = None, + data_science_resource_type: Optional[str] = None, + display_name: Optional[str] = None, + filters: Optional[Sequence[pulumi.InputType['GetPrivateEndpointsFilterArgs']]] = None, + state: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPrivateEndpointsResult: + """ + This data source provides the list of Data Science Private Endpoints in Oracle Cloud Infrastructure Data Science service. + + Lists all Data Science private endpoints in the specified compartment. The query must include compartmentId. The query can also include one other parameter. If the query doesn't include compartmentId, or includes compartmentId with two or more other parameters, then an error is returned. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_data_science_private_endpoints = oci.DataScience.get_private_endpoints(compartment_id=var["compartment_id"], + created_by=var["data_science_private_endpoint_created_by"], + data_science_resource_type=var["data_science_private_endpoint_data_science_resource_type"], + display_name=var["data_science_private_endpoint_display_name"], + state=var["data_science_private_endpoint_state"]) + ``` + + + :param str compartment_id: Filter results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + :param str created_by: Filter results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the resource. + :param str data_science_resource_type: Resource types in the Data Science service such as notebooks. + :param str display_name: Filter results by its user-friendly name. + :param str state: The lifecycle state of the private endpoint. + """ + __args__ = dict() + __args__['compartmentId'] = compartment_id + __args__['createdBy'] = created_by + __args__['dataScienceResourceType'] = data_science_resource_type + __args__['displayName'] = display_name + __args__['filters'] = filters + __args__['state'] = state + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('oci:DataScience/getPrivateEndpoints:getPrivateEndpoints', __args__, opts=opts, typ=GetPrivateEndpointsResult).value + + return AwaitableGetPrivateEndpointsResult( + compartment_id=pulumi.get(__ret__, 'compartment_id'), + created_by=pulumi.get(__ret__, 'created_by'), + data_science_private_endpoints=pulumi.get(__ret__, 'data_science_private_endpoints'), + data_science_resource_type=pulumi.get(__ret__, 'data_science_resource_type'), + display_name=pulumi.get(__ret__, 'display_name'), + filters=pulumi.get(__ret__, 'filters'), + id=pulumi.get(__ret__, 'id'), + state=pulumi.get(__ret__, 'state')) + + +@_utilities.lift_output_func(get_private_endpoints) +def get_private_endpoints_output(compartment_id: Optional[pulumi.Input[str]] = None, + created_by: Optional[pulumi.Input[Optional[str]]] = None, + data_science_resource_type: Optional[pulumi.Input[Optional[str]]] = None, + display_name: Optional[pulumi.Input[Optional[str]]] = None, + filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetPrivateEndpointsFilterArgs']]]]] = None, + state: Optional[pulumi.Input[Optional[str]]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetPrivateEndpointsResult]: + """ + This data source provides the list of Data Science Private Endpoints in Oracle Cloud Infrastructure Data Science service. + + Lists all Data Science private endpoints in the specified compartment. The query must include compartmentId. The query can also include one other parameter. If the query doesn't include compartmentId, or includes compartmentId with two or more other parameters, then an error is returned. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_data_science_private_endpoints = oci.DataScience.get_private_endpoints(compartment_id=var["compartment_id"], + created_by=var["data_science_private_endpoint_created_by"], + data_science_resource_type=var["data_science_private_endpoint_data_science_resource_type"], + display_name=var["data_science_private_endpoint_display_name"], + state=var["data_science_private_endpoint_state"]) + ``` + + + :param str compartment_id: Filter results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + :param str created_by: Filter results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the resource. + :param str data_science_resource_type: Resource types in the Data Science service such as notebooks. + :param str display_name: Filter results by its user-friendly name. + :param str state: The lifecycle state of the private endpoint. + """ + ... diff --git a/sdk/python/pulumi_oci/datascience/get_project.py b/sdk/python/pulumi_oci/datascience/get_project.py index 6ef91598bd..b957fc3eb4 100644 --- a/sdk/python/pulumi_oci/datascience/get_project.py +++ b/sdk/python/pulumi_oci/datascience/get_project.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/datascience/get_projects.py b/sdk/python/pulumi_oci/datascience/get_projects.py index adc7eb6309..20480bd5e9 100644 --- a/sdk/python/pulumi_oci/datascience/get_projects.py +++ b/sdk/python/pulumi_oci/datascience/get_projects.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/datascience/job.py b/sdk/python/pulumi_oci/datascience/job.py index 91ffe076d3..5e033ecd63 100644 --- a/sdk/python/pulumi_oci/datascience/job.py +++ b/sdk/python/pulumi_oci/datascience/job.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -49,28 +49,61 @@ def __init__(__self__, *, :param pulumi.Input[str] job_artifact: The job artifact to upload. This can be done in a separate step or from cli/sdk. The Job will remain in "Creating" state until its artifact is uploaded. :param pulumi.Input['JobJobLogConfigurationDetailsArgs'] job_log_configuration_details: Logging configuration for resource. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "job_configuration_details", job_configuration_details) - pulumi.set(__self__, "job_infrastructure_configuration_details", job_infrastructure_configuration_details) - pulumi.set(__self__, "project_id", project_id) + JobArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + job_configuration_details=job_configuration_details, + job_infrastructure_configuration_details=job_infrastructure_configuration_details, + project_id=project_id, + artifact_content_disposition=artifact_content_disposition, + artifact_content_length=artifact_content_length, + defined_tags=defined_tags, + delete_related_job_runs=delete_related_job_runs, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + job_artifact=job_artifact, + job_log_configuration_details=job_log_configuration_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + job_configuration_details: pulumi.Input['JobJobConfigurationDetailsArgs'], + job_infrastructure_configuration_details: pulumi.Input['JobJobInfrastructureConfigurationDetailsArgs'], + project_id: pulumi.Input[str], + artifact_content_disposition: Optional[pulumi.Input[str]] = None, + artifact_content_length: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + delete_related_job_runs: Optional[pulumi.Input[bool]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + job_artifact: Optional[pulumi.Input[str]] = None, + job_log_configuration_details: Optional[pulumi.Input['JobJobLogConfigurationDetailsArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("job_configuration_details", job_configuration_details) + _setter("job_infrastructure_configuration_details", job_infrastructure_configuration_details) + _setter("project_id", project_id) if artifact_content_disposition is not None: - pulumi.set(__self__, "artifact_content_disposition", artifact_content_disposition) + _setter("artifact_content_disposition", artifact_content_disposition) if artifact_content_length is not None: - pulumi.set(__self__, "artifact_content_length", artifact_content_length) + _setter("artifact_content_length", artifact_content_length) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if delete_related_job_runs is not None: - pulumi.set(__self__, "delete_related_job_runs", delete_related_job_runs) + _setter("delete_related_job_runs", delete_related_job_runs) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if job_artifact is not None: - pulumi.set(__self__, "job_artifact", job_artifact) + _setter("job_artifact", job_artifact) if job_log_configuration_details is not None: - pulumi.set(__self__, "job_log_configuration_details", job_log_configuration_details) + _setter("job_log_configuration_details", job_log_configuration_details) @property @pulumi.getter(name="compartmentId") @@ -280,46 +313,93 @@ def __init__(__self__, *, :param pulumi.Input[str] state: The state of the job. :param pulumi.Input[str] time_created: The date and time the resource was created in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: 2020-08-06T21:10:29.41Z """ + _JobState._configure( + lambda key, value: pulumi.set(__self__, key, value), + artifact_content_disposition=artifact_content_disposition, + artifact_content_length=artifact_content_length, + artifact_content_md5=artifact_content_md5, + artifact_last_modified=artifact_last_modified, + compartment_id=compartment_id, + created_by=created_by, + defined_tags=defined_tags, + delete_related_job_runs=delete_related_job_runs, + description=description, + display_name=display_name, + empty_artifact=empty_artifact, + freeform_tags=freeform_tags, + job_artifact=job_artifact, + job_configuration_details=job_configuration_details, + job_infrastructure_configuration_details=job_infrastructure_configuration_details, + job_log_configuration_details=job_log_configuration_details, + lifecycle_details=lifecycle_details, + project_id=project_id, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + artifact_content_disposition: Optional[pulumi.Input[str]] = None, + artifact_content_length: Optional[pulumi.Input[str]] = None, + artifact_content_md5: Optional[pulumi.Input[str]] = None, + artifact_last_modified: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + created_by: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + delete_related_job_runs: Optional[pulumi.Input[bool]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + empty_artifact: Optional[pulumi.Input[bool]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + job_artifact: Optional[pulumi.Input[str]] = None, + job_configuration_details: Optional[pulumi.Input['JobJobConfigurationDetailsArgs']] = None, + job_infrastructure_configuration_details: Optional[pulumi.Input['JobJobInfrastructureConfigurationDetailsArgs']] = None, + job_log_configuration_details: Optional[pulumi.Input['JobJobLogConfigurationDetailsArgs']] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + project_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if artifact_content_disposition is not None: - pulumi.set(__self__, "artifact_content_disposition", artifact_content_disposition) + _setter("artifact_content_disposition", artifact_content_disposition) if artifact_content_length is not None: - pulumi.set(__self__, "artifact_content_length", artifact_content_length) + _setter("artifact_content_length", artifact_content_length) if artifact_content_md5 is not None: - pulumi.set(__self__, "artifact_content_md5", artifact_content_md5) + _setter("artifact_content_md5", artifact_content_md5) if artifact_last_modified is not None: - pulumi.set(__self__, "artifact_last_modified", artifact_last_modified) + _setter("artifact_last_modified", artifact_last_modified) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if created_by is not None: - pulumi.set(__self__, "created_by", created_by) + _setter("created_by", created_by) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if delete_related_job_runs is not None: - pulumi.set(__self__, "delete_related_job_runs", delete_related_job_runs) + _setter("delete_related_job_runs", delete_related_job_runs) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if empty_artifact is not None: - pulumi.set(__self__, "empty_artifact", empty_artifact) + _setter("empty_artifact", empty_artifact) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if job_artifact is not None: - pulumi.set(__self__, "job_artifact", job_artifact) + _setter("job_artifact", job_artifact) if job_configuration_details is not None: - pulumi.set(__self__, "job_configuration_details", job_configuration_details) + _setter("job_configuration_details", job_configuration_details) if job_infrastructure_configuration_details is not None: - pulumi.set(__self__, "job_infrastructure_configuration_details", job_infrastructure_configuration_details) + _setter("job_infrastructure_configuration_details", job_infrastructure_configuration_details) if job_log_configuration_details is not None: - pulumi.set(__self__, "job_log_configuration_details", job_log_configuration_details) + _setter("job_log_configuration_details", job_log_configuration_details) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if project_id is not None: - pulumi.set(__self__, "project_id", project_id) + _setter("project_id", project_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="artifactContentDisposition") @@ -720,6 +800,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + JobArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -758,12 +842,27 @@ def _internal_init(__self__, __props__.__dict__["display_name"] = display_name __props__.__dict__["freeform_tags"] = freeform_tags __props__.__dict__["job_artifact"] = job_artifact + if job_configuration_details is not None and not isinstance(job_configuration_details, JobJobConfigurationDetailsArgs): + job_configuration_details = job_configuration_details or {} + def _setter(key, value): + job_configuration_details[key] = value + JobJobConfigurationDetailsArgs._configure(_setter, **job_configuration_details) if job_configuration_details is None and not opts.urn: raise TypeError("Missing required property 'job_configuration_details'") __props__.__dict__["job_configuration_details"] = job_configuration_details + if job_infrastructure_configuration_details is not None and not isinstance(job_infrastructure_configuration_details, JobJobInfrastructureConfigurationDetailsArgs): + job_infrastructure_configuration_details = job_infrastructure_configuration_details or {} + def _setter(key, value): + job_infrastructure_configuration_details[key] = value + JobJobInfrastructureConfigurationDetailsArgs._configure(_setter, **job_infrastructure_configuration_details) if job_infrastructure_configuration_details is None and not opts.urn: raise TypeError("Missing required property 'job_infrastructure_configuration_details'") __props__.__dict__["job_infrastructure_configuration_details"] = job_infrastructure_configuration_details + if job_log_configuration_details is not None and not isinstance(job_log_configuration_details, JobJobLogConfigurationDetailsArgs): + job_log_configuration_details = job_log_configuration_details or {} + def _setter(key, value): + job_log_configuration_details[key] = value + JobJobLogConfigurationDetailsArgs._configure(_setter, **job_log_configuration_details) __props__.__dict__["job_log_configuration_details"] = job_log_configuration_details if project_id is None and not opts.urn: raise TypeError("Missing required property 'project_id'") diff --git a/sdk/python/pulumi_oci/datascience/job_run.py b/sdk/python/pulumi_oci/datascience/job_run.py index e76e4d8103..cc8448cda2 100644 --- a/sdk/python/pulumi_oci/datascience/job_run.py +++ b/sdk/python/pulumi_oci/datascience/job_run.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -41,21 +41,46 @@ def __init__(__self__, *, :param pulumi.Input['JobRunJobConfigurationOverrideDetailsArgs'] job_configuration_override_details: The job configuration details :param pulumi.Input['JobRunJobLogConfigurationOverrideDetailsArgs'] job_log_configuration_override_details: Logging configuration for resource. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "job_id", job_id) - pulumi.set(__self__, "project_id", project_id) + JobRunArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + job_id=job_id, + project_id=project_id, + asynchronous=asynchronous, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + job_configuration_override_details=job_configuration_override_details, + job_log_configuration_override_details=job_log_configuration_override_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + job_id: pulumi.Input[str], + project_id: pulumi.Input[str], + asynchronous: Optional[pulumi.Input[bool]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + job_configuration_override_details: Optional[pulumi.Input['JobRunJobConfigurationOverrideDetailsArgs']] = None, + job_log_configuration_override_details: Optional[pulumi.Input['JobRunJobLogConfigurationOverrideDetailsArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("job_id", job_id) + _setter("project_id", project_id) if asynchronous is not None: - pulumi.set(__self__, "asynchronous", asynchronous) + _setter("asynchronous", asynchronous) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if job_configuration_override_details is not None: - pulumi.set(__self__, "job_configuration_override_details", job_configuration_override_details) + _setter("job_configuration_override_details", job_configuration_override_details) if job_log_configuration_override_details is not None: - pulumi.set(__self__, "job_log_configuration_override_details", job_log_configuration_override_details) + _setter("job_log_configuration_override_details", job_log_configuration_override_details) @property @pulumi.getter(name="compartmentId") @@ -214,40 +239,81 @@ def __init__(__self__, *, :param pulumi.Input[str] time_finished: The date and time the job run request was finished in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). :param pulumi.Input[str] time_started: The date and time the job run request was started in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). """ + _JobRunState._configure( + lambda key, value: pulumi.set(__self__, key, value), + asynchronous=asynchronous, + compartment_id=compartment_id, + created_by=created_by, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + job_configuration_override_details=job_configuration_override_details, + job_id=job_id, + job_infrastructure_configuration_details=job_infrastructure_configuration_details, + job_log_configuration_override_details=job_log_configuration_override_details, + lifecycle_details=lifecycle_details, + log_details=log_details, + project_id=project_id, + state=state, + time_accepted=time_accepted, + time_finished=time_finished, + time_started=time_started, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + asynchronous: Optional[pulumi.Input[bool]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + created_by: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + job_configuration_override_details: Optional[pulumi.Input['JobRunJobConfigurationOverrideDetailsArgs']] = None, + job_id: Optional[pulumi.Input[str]] = None, + job_infrastructure_configuration_details: Optional[pulumi.Input[Sequence[pulumi.Input['JobRunJobInfrastructureConfigurationDetailArgs']]]] = None, + job_log_configuration_override_details: Optional[pulumi.Input['JobRunJobLogConfigurationOverrideDetailsArgs']] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + log_details: Optional[pulumi.Input[Sequence[pulumi.Input['JobRunLogDetailArgs']]]] = None, + project_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_accepted: Optional[pulumi.Input[str]] = None, + time_finished: Optional[pulumi.Input[str]] = None, + time_started: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if asynchronous is not None: - pulumi.set(__self__, "asynchronous", asynchronous) + _setter("asynchronous", asynchronous) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if created_by is not None: - pulumi.set(__self__, "created_by", created_by) + _setter("created_by", created_by) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if job_configuration_override_details is not None: - pulumi.set(__self__, "job_configuration_override_details", job_configuration_override_details) + _setter("job_configuration_override_details", job_configuration_override_details) if job_id is not None: - pulumi.set(__self__, "job_id", job_id) + _setter("job_id", job_id) if job_infrastructure_configuration_details is not None: - pulumi.set(__self__, "job_infrastructure_configuration_details", job_infrastructure_configuration_details) + _setter("job_infrastructure_configuration_details", job_infrastructure_configuration_details) if job_log_configuration_override_details is not None: - pulumi.set(__self__, "job_log_configuration_override_details", job_log_configuration_override_details) + _setter("job_log_configuration_override_details", job_log_configuration_override_details) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if log_details is not None: - pulumi.set(__self__, "log_details", log_details) + _setter("log_details", log_details) if project_id is not None: - pulumi.set(__self__, "project_id", project_id) + _setter("project_id", project_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_accepted is not None: - pulumi.set(__self__, "time_accepted", time_accepted) + _setter("time_accepted", time_accepted) if time_finished is not None: - pulumi.set(__self__, "time_finished", time_finished) + _setter("time_finished", time_finished) if time_started is not None: - pulumi.set(__self__, "time_started", time_started) + _setter("time_started", time_started) @property @pulumi.getter @@ -595,6 +661,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + JobRunArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -625,10 +695,20 @@ def _internal_init(__self__, __props__.__dict__["defined_tags"] = defined_tags __props__.__dict__["display_name"] = display_name __props__.__dict__["freeform_tags"] = freeform_tags + if job_configuration_override_details is not None and not isinstance(job_configuration_override_details, JobRunJobConfigurationOverrideDetailsArgs): + job_configuration_override_details = job_configuration_override_details or {} + def _setter(key, value): + job_configuration_override_details[key] = value + JobRunJobConfigurationOverrideDetailsArgs._configure(_setter, **job_configuration_override_details) __props__.__dict__["job_configuration_override_details"] = job_configuration_override_details if job_id is None and not opts.urn: raise TypeError("Missing required property 'job_id'") __props__.__dict__["job_id"] = job_id + if job_log_configuration_override_details is not None and not isinstance(job_log_configuration_override_details, JobRunJobLogConfigurationOverrideDetailsArgs): + job_log_configuration_override_details = job_log_configuration_override_details or {} + def _setter(key, value): + job_log_configuration_override_details[key] = value + JobRunJobLogConfigurationOverrideDetailsArgs._configure(_setter, **job_log_configuration_override_details) __props__.__dict__["job_log_configuration_override_details"] = job_log_configuration_override_details if project_id is None and not opts.urn: raise TypeError("Missing required property 'project_id'") diff --git a/sdk/python/pulumi_oci/datascience/model.py b/sdk/python/pulumi_oci/datascience/model.py index 5e11d21298..96ba9a28d6 100644 --- a/sdk/python/pulumi_oci/datascience/model.py +++ b/sdk/python/pulumi_oci/datascience/model.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -50,30 +50,65 @@ def __init__(__self__, *, :param pulumi.Input[str] output_schema: Output schema file content in String format :param pulumi.Input[str] state: The state of the model. """ - pulumi.set(__self__, "artifact_content_length", artifact_content_length) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "model_artifact", model_artifact) - pulumi.set(__self__, "project_id", project_id) + ModelArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + artifact_content_length=artifact_content_length, + compartment_id=compartment_id, + model_artifact=model_artifact, + project_id=project_id, + artifact_content_disposition=artifact_content_disposition, + custom_metadata_lists=custom_metadata_lists, + defined_metadata_lists=defined_metadata_lists, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + input_schema=input_schema, + output_schema=output_schema, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + artifact_content_length: pulumi.Input[str], + compartment_id: pulumi.Input[str], + model_artifact: pulumi.Input[str], + project_id: pulumi.Input[str], + artifact_content_disposition: Optional[pulumi.Input[str]] = None, + custom_metadata_lists: Optional[pulumi.Input[Sequence[pulumi.Input['ModelCustomMetadataListArgs']]]] = None, + defined_metadata_lists: Optional[pulumi.Input[Sequence[pulumi.Input['ModelDefinedMetadataListArgs']]]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + input_schema: Optional[pulumi.Input[str]] = None, + output_schema: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("artifact_content_length", artifact_content_length) + _setter("compartment_id", compartment_id) + _setter("model_artifact", model_artifact) + _setter("project_id", project_id) if artifact_content_disposition is not None: - pulumi.set(__self__, "artifact_content_disposition", artifact_content_disposition) + _setter("artifact_content_disposition", artifact_content_disposition) if custom_metadata_lists is not None: - pulumi.set(__self__, "custom_metadata_lists", custom_metadata_lists) + _setter("custom_metadata_lists", custom_metadata_lists) if defined_metadata_lists is not None: - pulumi.set(__self__, "defined_metadata_lists", defined_metadata_lists) + _setter("defined_metadata_lists", defined_metadata_lists) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if input_schema is not None: - pulumi.set(__self__, "input_schema", input_schema) + _setter("input_schema", input_schema) if output_schema is not None: - pulumi.set(__self__, "output_schema", output_schema) + _setter("output_schema", output_schema) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) @property @pulumi.getter(name="artifactContentLength") @@ -291,44 +326,89 @@ def __init__(__self__, *, :param pulumi.Input[str] state: The state of the model. :param pulumi.Input[str] time_created: The date and time the resource was created in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: 2019-08-25T21:10:29.41Z """ + _ModelState._configure( + lambda key, value: pulumi.set(__self__, key, value), + artifact_content_disposition=artifact_content_disposition, + artifact_content_length=artifact_content_length, + artifact_content_md5=artifact_content_md5, + artifact_last_modified=artifact_last_modified, + compartment_id=compartment_id, + created_by=created_by, + custom_metadata_lists=custom_metadata_lists, + defined_metadata_lists=defined_metadata_lists, + defined_tags=defined_tags, + description=description, + display_name=display_name, + empty_model=empty_model, + freeform_tags=freeform_tags, + input_schema=input_schema, + model_artifact=model_artifact, + output_schema=output_schema, + project_id=project_id, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + artifact_content_disposition: Optional[pulumi.Input[str]] = None, + artifact_content_length: Optional[pulumi.Input[str]] = None, + artifact_content_md5: Optional[pulumi.Input[str]] = None, + artifact_last_modified: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + created_by: Optional[pulumi.Input[str]] = None, + custom_metadata_lists: Optional[pulumi.Input[Sequence[pulumi.Input['ModelCustomMetadataListArgs']]]] = None, + defined_metadata_lists: Optional[pulumi.Input[Sequence[pulumi.Input['ModelDefinedMetadataListArgs']]]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + empty_model: Optional[pulumi.Input[bool]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + input_schema: Optional[pulumi.Input[str]] = None, + model_artifact: Optional[pulumi.Input[str]] = None, + output_schema: Optional[pulumi.Input[str]] = None, + project_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if artifact_content_disposition is not None: - pulumi.set(__self__, "artifact_content_disposition", artifact_content_disposition) + _setter("artifact_content_disposition", artifact_content_disposition) if artifact_content_length is not None: - pulumi.set(__self__, "artifact_content_length", artifact_content_length) + _setter("artifact_content_length", artifact_content_length) if artifact_content_md5 is not None: - pulumi.set(__self__, "artifact_content_md5", artifact_content_md5) + _setter("artifact_content_md5", artifact_content_md5) if artifact_last_modified is not None: - pulumi.set(__self__, "artifact_last_modified", artifact_last_modified) + _setter("artifact_last_modified", artifact_last_modified) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if created_by is not None: - pulumi.set(__self__, "created_by", created_by) + _setter("created_by", created_by) if custom_metadata_lists is not None: - pulumi.set(__self__, "custom_metadata_lists", custom_metadata_lists) + _setter("custom_metadata_lists", custom_metadata_lists) if defined_metadata_lists is not None: - pulumi.set(__self__, "defined_metadata_lists", defined_metadata_lists) + _setter("defined_metadata_lists", defined_metadata_lists) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if empty_model is not None: - pulumi.set(__self__, "empty_model", empty_model) + _setter("empty_model", empty_model) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if input_schema is not None: - pulumi.set(__self__, "input_schema", input_schema) + _setter("input_schema", input_schema) if model_artifact is not None: - pulumi.set(__self__, "model_artifact", model_artifact) + _setter("model_artifact", model_artifact) if output_schema is not None: - pulumi.set(__self__, "output_schema", output_schema) + _setter("output_schema", output_schema) if project_id is not None: - pulumi.set(__self__, "project_id", project_id) + _setter("project_id", project_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="artifactContentDisposition") @@ -701,6 +781,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ModelArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/datascience/model_artifact_export.py b/sdk/python/pulumi_oci/datascience/model_artifact_export.py index 1adc70ff18..8b8b4ccc45 100644 --- a/sdk/python/pulumi_oci/datascience/model_artifact_export.py +++ b/sdk/python/pulumi_oci/datascience/model_artifact_export.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['ModelArtifactExportArgs', 'ModelArtifactExport'] @@ -23,12 +23,31 @@ def __init__(__self__, *, """ The set of arguments for constructing a ModelArtifactExport resource. """ - pulumi.set(__self__, "artifact_source_type", artifact_source_type) - pulumi.set(__self__, "model_id", model_id) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "source_bucket", source_bucket) - pulumi.set(__self__, "source_object_name", source_object_name) - pulumi.set(__self__, "source_region", source_region) + ModelArtifactExportArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + artifact_source_type=artifact_source_type, + model_id=model_id, + namespace=namespace, + source_bucket=source_bucket, + source_object_name=source_object_name, + source_region=source_region, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + artifact_source_type: pulumi.Input[str], + model_id: pulumi.Input[str], + namespace: pulumi.Input[str], + source_bucket: pulumi.Input[str], + source_object_name: pulumi.Input[str], + source_region: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("artifact_source_type", artifact_source_type) + _setter("model_id", model_id) + _setter("namespace", namespace) + _setter("source_bucket", source_bucket) + _setter("source_object_name", source_object_name) + _setter("source_region", source_region) @property @pulumi.getter(name="artifactSourceType") @@ -97,18 +116,37 @@ def __init__(__self__, *, """ Input properties used for looking up and filtering ModelArtifactExport resources. """ + _ModelArtifactExportState._configure( + lambda key, value: pulumi.set(__self__, key, value), + artifact_source_type=artifact_source_type, + model_id=model_id, + namespace=namespace, + source_bucket=source_bucket, + source_object_name=source_object_name, + source_region=source_region, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + artifact_source_type: Optional[pulumi.Input[str]] = None, + model_id: Optional[pulumi.Input[str]] = None, + namespace: Optional[pulumi.Input[str]] = None, + source_bucket: Optional[pulumi.Input[str]] = None, + source_object_name: Optional[pulumi.Input[str]] = None, + source_region: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if artifact_source_type is not None: - pulumi.set(__self__, "artifact_source_type", artifact_source_type) + _setter("artifact_source_type", artifact_source_type) if model_id is not None: - pulumi.set(__self__, "model_id", model_id) + _setter("model_id", model_id) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if source_bucket is not None: - pulumi.set(__self__, "source_bucket", source_bucket) + _setter("source_bucket", source_bucket) if source_object_name is not None: - pulumi.set(__self__, "source_object_name", source_object_name) + _setter("source_object_name", source_object_name) if source_region is not None: - pulumi.set(__self__, "source_region", source_region) + _setter("source_region", source_region) @property @pulumi.getter(name="artifactSourceType") @@ -200,6 +238,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ModelArtifactExportArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/datascience/model_artifact_import.py b/sdk/python/pulumi_oci/datascience/model_artifact_import.py index d1dd0ec3f6..57aeba9e1e 100644 --- a/sdk/python/pulumi_oci/datascience/model_artifact_import.py +++ b/sdk/python/pulumi_oci/datascience/model_artifact_import.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['ModelArtifactImportArgs', 'ModelArtifactImport'] @@ -23,12 +23,31 @@ def __init__(__self__, *, """ The set of arguments for constructing a ModelArtifactImport resource. """ - pulumi.set(__self__, "artifact_source_type", artifact_source_type) - pulumi.set(__self__, "destination_bucket", destination_bucket) - pulumi.set(__self__, "destination_object_name", destination_object_name) - pulumi.set(__self__, "destination_region", destination_region) - pulumi.set(__self__, "model_id", model_id) - pulumi.set(__self__, "namespace", namespace) + ModelArtifactImportArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + artifact_source_type=artifact_source_type, + destination_bucket=destination_bucket, + destination_object_name=destination_object_name, + destination_region=destination_region, + model_id=model_id, + namespace=namespace, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + artifact_source_type: pulumi.Input[str], + destination_bucket: pulumi.Input[str], + destination_object_name: pulumi.Input[str], + destination_region: pulumi.Input[str], + model_id: pulumi.Input[str], + namespace: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("artifact_source_type", artifact_source_type) + _setter("destination_bucket", destination_bucket) + _setter("destination_object_name", destination_object_name) + _setter("destination_region", destination_region) + _setter("model_id", model_id) + _setter("namespace", namespace) @property @pulumi.getter(name="artifactSourceType") @@ -97,18 +116,37 @@ def __init__(__self__, *, """ Input properties used for looking up and filtering ModelArtifactImport resources. """ + _ModelArtifactImportState._configure( + lambda key, value: pulumi.set(__self__, key, value), + artifact_source_type=artifact_source_type, + destination_bucket=destination_bucket, + destination_object_name=destination_object_name, + destination_region=destination_region, + model_id=model_id, + namespace=namespace, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + artifact_source_type: Optional[pulumi.Input[str]] = None, + destination_bucket: Optional[pulumi.Input[str]] = None, + destination_object_name: Optional[pulumi.Input[str]] = None, + destination_region: Optional[pulumi.Input[str]] = None, + model_id: Optional[pulumi.Input[str]] = None, + namespace: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if artifact_source_type is not None: - pulumi.set(__self__, "artifact_source_type", artifact_source_type) + _setter("artifact_source_type", artifact_source_type) if destination_bucket is not None: - pulumi.set(__self__, "destination_bucket", destination_bucket) + _setter("destination_bucket", destination_bucket) if destination_object_name is not None: - pulumi.set(__self__, "destination_object_name", destination_object_name) + _setter("destination_object_name", destination_object_name) if destination_region is not None: - pulumi.set(__self__, "destination_region", destination_region) + _setter("destination_region", destination_region) if model_id is not None: - pulumi.set(__self__, "model_id", model_id) + _setter("model_id", model_id) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) @property @pulumi.getter(name="artifactSourceType") @@ -200,6 +238,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ModelArtifactImportArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/datascience/model_deployment.py b/sdk/python/pulumi_oci/datascience/model_deployment.py index 4dff2124d8..831912675b 100644 --- a/sdk/python/pulumi_oci/datascience/model_deployment.py +++ b/sdk/python/pulumi_oci/datascience/model_deployment.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -41,21 +41,46 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "model_deployment_configuration_details", model_deployment_configuration_details) - pulumi.set(__self__, "project_id", project_id) + ModelDeploymentArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + model_deployment_configuration_details=model_deployment_configuration_details, + project_id=project_id, + category_log_details=category_log_details, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + model_deployment_configuration_details: pulumi.Input['ModelDeploymentModelDeploymentConfigurationDetailsArgs'], + project_id: pulumi.Input[str], + category_log_details: Optional[pulumi.Input['ModelDeploymentCategoryLogDetailsArgs']] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + state: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("model_deployment_configuration_details", model_deployment_configuration_details) + _setter("project_id", project_id) if category_log_details is not None: - pulumi.set(__self__, "category_log_details", category_log_details) + _setter("category_log_details", category_log_details) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) @property @pulumi.getter(name="compartmentId") @@ -206,32 +231,65 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] time_created: The date and time the resource was created, in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: 2019-08-25T21:10:29.41Z """ + _ModelDeploymentState._configure( + lambda key, value: pulumi.set(__self__, key, value), + category_log_details=category_log_details, + compartment_id=compartment_id, + created_by=created_by, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + model_deployment_configuration_details=model_deployment_configuration_details, + model_deployment_url=model_deployment_url, + project_id=project_id, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + category_log_details: Optional[pulumi.Input['ModelDeploymentCategoryLogDetailsArgs']] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + created_by: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + model_deployment_configuration_details: Optional[pulumi.Input['ModelDeploymentModelDeploymentConfigurationDetailsArgs']] = None, + model_deployment_url: Optional[pulumi.Input[str]] = None, + project_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if category_log_details is not None: - pulumi.set(__self__, "category_log_details", category_log_details) + _setter("category_log_details", category_log_details) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if created_by is not None: - pulumi.set(__self__, "created_by", created_by) + _setter("created_by", created_by) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if model_deployment_configuration_details is not None: - pulumi.set(__self__, "model_deployment_configuration_details", model_deployment_configuration_details) + _setter("model_deployment_configuration_details", model_deployment_configuration_details) if model_deployment_url is not None: - pulumi.set(__self__, "model_deployment_url", model_deployment_url) + _setter("model_deployment_url", model_deployment_url) if project_id is not None: - pulumi.set(__self__, "project_id", project_id) + _setter("project_id", project_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="categoryLogDetails") @@ -581,6 +639,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ModelDeploymentArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -604,6 +666,11 @@ def _internal_init(__self__, raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = ModelDeploymentArgs.__new__(ModelDeploymentArgs) + if category_log_details is not None and not isinstance(category_log_details, ModelDeploymentCategoryLogDetailsArgs): + category_log_details = category_log_details or {} + def _setter(key, value): + category_log_details[key] = value + ModelDeploymentCategoryLogDetailsArgs._configure(_setter, **category_log_details) __props__.__dict__["category_log_details"] = category_log_details if compartment_id is None and not opts.urn: raise TypeError("Missing required property 'compartment_id'") @@ -612,6 +679,11 @@ def _internal_init(__self__, __props__.__dict__["description"] = description __props__.__dict__["display_name"] = display_name __props__.__dict__["freeform_tags"] = freeform_tags + if model_deployment_configuration_details is not None and not isinstance(model_deployment_configuration_details, ModelDeploymentModelDeploymentConfigurationDetailsArgs): + model_deployment_configuration_details = model_deployment_configuration_details or {} + def _setter(key, value): + model_deployment_configuration_details[key] = value + ModelDeploymentModelDeploymentConfigurationDetailsArgs._configure(_setter, **model_deployment_configuration_details) if model_deployment_configuration_details is None and not opts.urn: raise TypeError("Missing required property 'model_deployment_configuration_details'") __props__.__dict__["model_deployment_configuration_details"] = model_deployment_configuration_details diff --git a/sdk/python/pulumi_oci/datascience/model_provenance.py b/sdk/python/pulumi_oci/datascience/model_provenance.py index 5f21ac081c..0b0d83fcce 100644 --- a/sdk/python/pulumi_oci/datascience/model_provenance.py +++ b/sdk/python/pulumi_oci/datascience/model_provenance.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['ModelProvenanceArgs', 'ModelProvenance'] @@ -35,19 +35,40 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "model_id", model_id) + ModelProvenanceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + model_id=model_id, + git_branch=git_branch, + git_commit=git_commit, + repository_url=repository_url, + script_dir=script_dir, + training_id=training_id, + training_script=training_script, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + model_id: pulumi.Input[str], + git_branch: Optional[pulumi.Input[str]] = None, + git_commit: Optional[pulumi.Input[str]] = None, + repository_url: Optional[pulumi.Input[str]] = None, + script_dir: Optional[pulumi.Input[str]] = None, + training_id: Optional[pulumi.Input[str]] = None, + training_script: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("model_id", model_id) if git_branch is not None: - pulumi.set(__self__, "git_branch", git_branch) + _setter("git_branch", git_branch) if git_commit is not None: - pulumi.set(__self__, "git_commit", git_commit) + _setter("git_commit", git_commit) if repository_url is not None: - pulumi.set(__self__, "repository_url", repository_url) + _setter("repository_url", repository_url) if script_dir is not None: - pulumi.set(__self__, "script_dir", script_dir) + _setter("script_dir", script_dir) if training_id is not None: - pulumi.set(__self__, "training_id", training_id) + _setter("training_id", training_id) if training_script is not None: - pulumi.set(__self__, "training_script", training_script) + _setter("training_script", training_script) @property @pulumi.getter(name="modelId") @@ -162,20 +183,41 @@ def __init__(__self__, *, ** 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 """ + _ModelProvenanceState._configure( + lambda key, value: pulumi.set(__self__, key, value), + git_branch=git_branch, + git_commit=git_commit, + model_id=model_id, + repository_url=repository_url, + script_dir=script_dir, + training_id=training_id, + training_script=training_script, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + git_branch: Optional[pulumi.Input[str]] = None, + git_commit: Optional[pulumi.Input[str]] = None, + model_id: Optional[pulumi.Input[str]] = None, + repository_url: Optional[pulumi.Input[str]] = None, + script_dir: Optional[pulumi.Input[str]] = None, + training_id: Optional[pulumi.Input[str]] = None, + training_script: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if git_branch is not None: - pulumi.set(__self__, "git_branch", git_branch) + _setter("git_branch", git_branch) if git_commit is not None: - pulumi.set(__self__, "git_commit", git_commit) + _setter("git_commit", git_commit) if model_id is not None: - pulumi.set(__self__, "model_id", model_id) + _setter("model_id", model_id) if repository_url is not None: - pulumi.set(__self__, "repository_url", repository_url) + _setter("repository_url", repository_url) if script_dir is not None: - pulumi.set(__self__, "script_dir", script_dir) + _setter("script_dir", script_dir) if training_id is not None: - pulumi.set(__self__, "training_id", training_id) + _setter("training_id", training_id) if training_script is not None: - pulumi.set(__self__, "training_script", training_script) + _setter("training_script", training_script) @property @pulumi.getter(name="gitBranch") @@ -367,6 +409,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ModelProvenanceArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/datascience/model_version_set.py b/sdk/python/pulumi_oci/datascience/model_version_set.py index 64df09d14b..ef3f09accd 100644 --- a/sdk/python/pulumi_oci/datascience/model_version_set.py +++ b/sdk/python/pulumi_oci/datascience/model_version_set.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['ModelVersionSetArgs', 'ModelVersionSet'] @@ -33,16 +33,35 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` :param pulumi.Input[str] name: A user-friendly name for the resource. It must be unique and can't be modified. Avoid entering confidential information. Example: `My model version set` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "project_id", project_id) + ModelVersionSetArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + project_id=project_id, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + project_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("project_id", project_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter(name="compartmentId") @@ -151,26 +170,53 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time that the resource was created in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: 2019-08-25T21:10:29.41Z :param pulumi.Input[str] time_updated: The date and time that the resource was created in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: 2019-08-25T21:10:29.41Z """ + _ModelVersionSetState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + created_by=created_by, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + name=name, + project_id=project_id, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + created_by: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + name: Optional[pulumi.Input[str]] = None, + project_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if created_by is not None: - pulumi.set(__self__, "created_by", created_by) + _setter("created_by", created_by) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if project_id is not None: - pulumi.set(__self__, "project_id", project_id) + _setter("project_id", project_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -400,6 +446,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ModelVersionSetArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/datascience/notebook_session.py b/sdk/python/pulumi_oci/datascience/notebook_session.py index 157ae8a3f3..3be0128c8a 100644 --- a/sdk/python/pulumi_oci/datascience/notebook_session.py +++ b/sdk/python/pulumi_oci/datascience/notebook_session.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -41,22 +41,47 @@ def __init__(__self__, *, :param pulumi.Input['NotebookSessionNotebookSessionRuntimeConfigDetailsArgs'] notebook_session_runtime_config_details: (Updatable) Notebook Session runtime configuration details. :param pulumi.Input[str] state: The state of the notebook session. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "project_id", project_id) + NotebookSessionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + project_id=project_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + notebook_session_config_details=notebook_session_config_details, + notebook_session_configuration_details=notebook_session_configuration_details, + notebook_session_runtime_config_details=notebook_session_runtime_config_details, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + project_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + notebook_session_config_details: Optional[pulumi.Input['NotebookSessionNotebookSessionConfigDetailsArgs']] = None, + notebook_session_configuration_details: Optional[pulumi.Input['NotebookSessionNotebookSessionConfigurationDetailsArgs']] = None, + notebook_session_runtime_config_details: Optional[pulumi.Input['NotebookSessionNotebookSessionRuntimeConfigDetailsArgs']] = None, + state: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("project_id", project_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if notebook_session_config_details is not None: - pulumi.set(__self__, "notebook_session_config_details", notebook_session_config_details) + _setter("notebook_session_config_details", notebook_session_config_details) if notebook_session_configuration_details is not None: - pulumi.set(__self__, "notebook_session_configuration_details", notebook_session_configuration_details) + _setter("notebook_session_configuration_details", notebook_session_configuration_details) if notebook_session_runtime_config_details is not None: - pulumi.set(__self__, "notebook_session_runtime_config_details", notebook_session_runtime_config_details) + _setter("notebook_session_runtime_config_details", notebook_session_runtime_config_details) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) @property @pulumi.getter(name="compartmentId") @@ -207,32 +232,65 @@ def __init__(__self__, *, :param pulumi.Input[str] state: The state of the notebook session. :param pulumi.Input[str] time_created: The date and time the resource was created in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: 2019-08-25T21:10:29.41Z """ + _NotebookSessionState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + created_by=created_by, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + notebook_session_config_details=notebook_session_config_details, + notebook_session_configuration_details=notebook_session_configuration_details, + notebook_session_runtime_config_details=notebook_session_runtime_config_details, + notebook_session_url=notebook_session_url, + project_id=project_id, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + created_by: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + notebook_session_config_details: Optional[pulumi.Input['NotebookSessionNotebookSessionConfigDetailsArgs']] = None, + notebook_session_configuration_details: Optional[pulumi.Input['NotebookSessionNotebookSessionConfigurationDetailsArgs']] = None, + notebook_session_runtime_config_details: Optional[pulumi.Input['NotebookSessionNotebookSessionRuntimeConfigDetailsArgs']] = None, + notebook_session_url: Optional[pulumi.Input[str]] = None, + project_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if created_by is not None: - pulumi.set(__self__, "created_by", created_by) + _setter("created_by", created_by) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if notebook_session_config_details is not None: - pulumi.set(__self__, "notebook_session_config_details", notebook_session_config_details) + _setter("notebook_session_config_details", notebook_session_config_details) if notebook_session_configuration_details is not None: - pulumi.set(__self__, "notebook_session_configuration_details", notebook_session_configuration_details) + _setter("notebook_session_configuration_details", notebook_session_configuration_details) if notebook_session_runtime_config_details is not None: - pulumi.set(__self__, "notebook_session_runtime_config_details", notebook_session_runtime_config_details) + _setter("notebook_session_runtime_config_details", notebook_session_runtime_config_details) if notebook_session_url is not None: - pulumi.set(__self__, "notebook_session_url", notebook_session_url) + _setter("notebook_session_url", notebook_session_url) if project_id is not None: - pulumi.set(__self__, "project_id", project_id) + _setter("project_id", project_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -438,6 +496,7 @@ def __init__(__self__, memory_in_gbs=var["notebook_session_notebook_session_config_details_notebook_session_shape_config_details_memory_in_gbs"], ocpus=var["notebook_session_notebook_session_config_details_notebook_session_shape_config_details_ocpus"], ), + private_endpoint_id=oci_dataflow_private_endpoint["test_private_endpoint"]["id"], subnet_id=oci_core_subnet["test_subnet"]["id"], ), notebook_session_configuration_details=oci.data_science.NotebookSessionNotebookSessionConfigurationDetailsArgs( @@ -448,6 +507,7 @@ def __init__(__self__, memory_in_gbs=var["notebook_session_notebook_session_configuration_details_notebook_session_shape_config_details_memory_in_gbs"], ocpus=var["notebook_session_notebook_session_configuration_details_notebook_session_shape_config_details_ocpus"], ), + private_endpoint_id=oci_dataflow_private_endpoint["test_private_endpoint"]["id"], ), notebook_session_runtime_config_details=oci.data_science.NotebookSessionNotebookSessionRuntimeConfigDetailsArgs( custom_environment_variables=var["notebook_session_notebook_session_runtime_config_details_custom_environment_variables"], @@ -517,6 +577,7 @@ def __init__(__self__, memory_in_gbs=var["notebook_session_notebook_session_config_details_notebook_session_shape_config_details_memory_in_gbs"], ocpus=var["notebook_session_notebook_session_config_details_notebook_session_shape_config_details_ocpus"], ), + private_endpoint_id=oci_dataflow_private_endpoint["test_private_endpoint"]["id"], subnet_id=oci_core_subnet["test_subnet"]["id"], ), notebook_session_configuration_details=oci.data_science.NotebookSessionNotebookSessionConfigurationDetailsArgs( @@ -527,6 +588,7 @@ def __init__(__self__, memory_in_gbs=var["notebook_session_notebook_session_configuration_details_notebook_session_shape_config_details_memory_in_gbs"], ocpus=var["notebook_session_notebook_session_configuration_details_notebook_session_shape_config_details_ocpus"], ), + private_endpoint_id=oci_dataflow_private_endpoint["test_private_endpoint"]["id"], ), notebook_session_runtime_config_details=oci.data_science.NotebookSessionNotebookSessionRuntimeConfigDetailsArgs( custom_environment_variables=var["notebook_session_notebook_session_runtime_config_details_custom_environment_variables"], @@ -556,6 +618,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + NotebookSessionArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -585,8 +651,23 @@ def _internal_init(__self__, __props__.__dict__["defined_tags"] = defined_tags __props__.__dict__["display_name"] = display_name __props__.__dict__["freeform_tags"] = freeform_tags + if notebook_session_config_details is not None and not isinstance(notebook_session_config_details, NotebookSessionNotebookSessionConfigDetailsArgs): + notebook_session_config_details = notebook_session_config_details or {} + def _setter(key, value): + notebook_session_config_details[key] = value + NotebookSessionNotebookSessionConfigDetailsArgs._configure(_setter, **notebook_session_config_details) __props__.__dict__["notebook_session_config_details"] = notebook_session_config_details + if notebook_session_configuration_details is not None and not isinstance(notebook_session_configuration_details, NotebookSessionNotebookSessionConfigurationDetailsArgs): + notebook_session_configuration_details = notebook_session_configuration_details or {} + def _setter(key, value): + notebook_session_configuration_details[key] = value + NotebookSessionNotebookSessionConfigurationDetailsArgs._configure(_setter, **notebook_session_configuration_details) __props__.__dict__["notebook_session_configuration_details"] = notebook_session_configuration_details + if notebook_session_runtime_config_details is not None and not isinstance(notebook_session_runtime_config_details, NotebookSessionNotebookSessionRuntimeConfigDetailsArgs): + notebook_session_runtime_config_details = notebook_session_runtime_config_details or {} + def _setter(key, value): + notebook_session_runtime_config_details[key] = value + NotebookSessionNotebookSessionRuntimeConfigDetailsArgs._configure(_setter, **notebook_session_runtime_config_details) __props__.__dict__["notebook_session_runtime_config_details"] = notebook_session_runtime_config_details if project_id is None and not opts.urn: raise TypeError("Missing required property 'project_id'") diff --git a/sdk/python/pulumi_oci/datascience/outputs.py b/sdk/python/pulumi_oci/datascience/outputs.py index 2194ed07ec..37da3cdc0f 100644 --- a/sdk/python/pulumi_oci/datascience/outputs.py +++ b/sdk/python/pulumi_oci/datascience/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -164,6 +164,8 @@ 'GetPipelinesPipelineStepDetailStepConfigurationDetailResult', 'GetPipelinesPipelineStepDetailStepInfrastructureConfigurationDetailResult', 'GetPipelinesPipelineStepDetailStepInfrastructureConfigurationDetailShapeConfigDetailResult', + 'GetPrivateEndpointsDataSciencePrivateEndpointResult', + 'GetPrivateEndpointsFilterResult', 'GetProjectsFilterResult', 'GetProjectsProjectResult', ] @@ -204,13 +206,28 @@ def __init__(__self__, *, :param Mapping[str, Any] environment_variables: Environment variables to set for the job. :param str maximum_runtime_in_minutes: A time bound for the execution of the job. Timer starts when the job becomes active. """ - pulumi.set(__self__, "job_type", job_type) + JobJobConfigurationDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + job_type=job_type, + command_line_arguments=command_line_arguments, + environment_variables=environment_variables, + maximum_runtime_in_minutes=maximum_runtime_in_minutes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + job_type: str, + command_line_arguments: Optional[str] = None, + environment_variables: Optional[Mapping[str, Any]] = None, + maximum_runtime_in_minutes: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("job_type", job_type) if command_line_arguments is not None: - pulumi.set(__self__, "command_line_arguments", command_line_arguments) + _setter("command_line_arguments", command_line_arguments) if environment_variables is not None: - pulumi.set(__self__, "environment_variables", environment_variables) + _setter("environment_variables", environment_variables) if maximum_runtime_in_minutes is not None: - pulumi.set(__self__, "maximum_runtime_in_minutes", maximum_runtime_in_minutes) + _setter("maximum_runtime_in_minutes", maximum_runtime_in_minutes) @property @pulumi.getter(name="jobType") @@ -285,13 +302,30 @@ def __init__(__self__, *, :param 'JobJobInfrastructureConfigurationDetailsJobShapeConfigDetailsArgs' job_shape_config_details: (Updatable) Details for the job run shape configuration. Specify only when a flex shape is selected. :param str subnet_id: (Updatable) The subnet to create a secondary vnic in to attach to the instance running the job """ - pulumi.set(__self__, "block_storage_size_in_gbs", block_storage_size_in_gbs) - pulumi.set(__self__, "job_infrastructure_type", job_infrastructure_type) - pulumi.set(__self__, "shape_name", shape_name) + JobJobInfrastructureConfigurationDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + block_storage_size_in_gbs=block_storage_size_in_gbs, + job_infrastructure_type=job_infrastructure_type, + shape_name=shape_name, + job_shape_config_details=job_shape_config_details, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + block_storage_size_in_gbs: int, + job_infrastructure_type: str, + shape_name: str, + job_shape_config_details: Optional['outputs.JobJobInfrastructureConfigurationDetailsJobShapeConfigDetails'] = None, + subnet_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("block_storage_size_in_gbs", block_storage_size_in_gbs) + _setter("job_infrastructure_type", job_infrastructure_type) + _setter("shape_name", shape_name) if job_shape_config_details is not None: - pulumi.set(__self__, "job_shape_config_details", job_shape_config_details) + _setter("job_shape_config_details", job_shape_config_details) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="blockStorageSizeInGbs") @@ -360,10 +394,21 @@ def __init__(__self__, *, :param float memory_in_gbs: (Updatable) The total amount of memory available to the job run instance, in gigabytes. :param float ocpus: (Updatable) The total number of OCPUs available to the job run instance. """ + JobJobInfrastructureConfigurationDetailsJobShapeConfigDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: Optional[float] = None, + ocpus: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions]=None): if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) if ocpus is not None: - pulumi.set(__self__, "ocpus", ocpus) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -418,14 +463,29 @@ def __init__(__self__, *, :param str log_group_id: The log group id for where log objects are for job runs. :param str log_id: The log id the job run will push logs too. """ + JobJobLogConfigurationDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + enable_auto_log_creation=enable_auto_log_creation, + enable_logging=enable_logging, + log_group_id=log_group_id, + log_id=log_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + enable_auto_log_creation: Optional[bool] = None, + enable_logging: Optional[bool] = None, + log_group_id: Optional[str] = None, + log_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if enable_auto_log_creation is not None: - pulumi.set(__self__, "enable_auto_log_creation", enable_auto_log_creation) + _setter("enable_auto_log_creation", enable_auto_log_creation) if enable_logging is not None: - pulumi.set(__self__, "enable_logging", enable_logging) + _setter("enable_logging", enable_logging) if log_group_id is not None: - pulumi.set(__self__, "log_group_id", log_group_id) + _setter("log_group_id", log_group_id) if log_id is not None: - pulumi.set(__self__, "log_id", log_id) + _setter("log_id", log_id) @property @pulumi.getter(name="enableAutoLogCreation") @@ -496,13 +556,28 @@ def __init__(__self__, *, :param Mapping[str, Any] environment_variables: Environment variables to set for the job. :param str maximum_runtime_in_minutes: A time bound for the execution of the job. Timer starts when the job becomes active. """ - pulumi.set(__self__, "job_type", job_type) + JobRunJobConfigurationOverrideDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + job_type=job_type, + command_line_arguments=command_line_arguments, + environment_variables=environment_variables, + maximum_runtime_in_minutes=maximum_runtime_in_minutes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + job_type: str, + command_line_arguments: Optional[str] = None, + environment_variables: Optional[Mapping[str, Any]] = None, + maximum_runtime_in_minutes: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("job_type", job_type) if command_line_arguments is not None: - pulumi.set(__self__, "command_line_arguments", command_line_arguments) + _setter("command_line_arguments", command_line_arguments) if environment_variables is not None: - pulumi.set(__self__, "environment_variables", environment_variables) + _setter("environment_variables", environment_variables) if maximum_runtime_in_minutes is not None: - pulumi.set(__self__, "maximum_runtime_in_minutes", maximum_runtime_in_minutes) + _setter("maximum_runtime_in_minutes", maximum_runtime_in_minutes) @property @pulumi.getter(name="jobType") @@ -577,16 +652,33 @@ def __init__(__self__, *, :param str shape_name: The shape used to launch the job run instances. :param str subnet_id: The subnet to create a secondary vnic in to attach to the instance running the job """ + JobRunJobInfrastructureConfigurationDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + block_storage_size_in_gbs=block_storage_size_in_gbs, + job_infrastructure_type=job_infrastructure_type, + job_shape_config_details=job_shape_config_details, + shape_name=shape_name, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + block_storage_size_in_gbs: Optional[int] = None, + job_infrastructure_type: Optional[str] = None, + job_shape_config_details: Optional[Sequence['outputs.JobRunJobInfrastructureConfigurationDetailJobShapeConfigDetail']] = None, + shape_name: Optional[str] = None, + subnet_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if block_storage_size_in_gbs is not None: - pulumi.set(__self__, "block_storage_size_in_gbs", block_storage_size_in_gbs) + _setter("block_storage_size_in_gbs", block_storage_size_in_gbs) if job_infrastructure_type is not None: - pulumi.set(__self__, "job_infrastructure_type", job_infrastructure_type) + _setter("job_infrastructure_type", job_infrastructure_type) if job_shape_config_details is not None: - pulumi.set(__self__, "job_shape_config_details", job_shape_config_details) + _setter("job_shape_config_details", job_shape_config_details) if shape_name is not None: - pulumi.set(__self__, "shape_name", shape_name) + _setter("shape_name", shape_name) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="blockStorageSizeInGbs") @@ -655,10 +747,21 @@ def __init__(__self__, *, :param float memory_in_gbs: The total amount of memory available to the job run instance, in gigabytes. :param float ocpus: The total number of OCPUs available to the job run instance. """ + JobRunJobInfrastructureConfigurationDetailJobShapeConfigDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: Optional[float] = None, + ocpus: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions]=None): if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) if ocpus is not None: - pulumi.set(__self__, "ocpus", ocpus) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -713,14 +816,29 @@ def __init__(__self__, *, :param str log_group_id: The log group id for where log objects are for job runs. :param str log_id: The log id the job run will push logs too. """ + JobRunJobLogConfigurationOverrideDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + enable_auto_log_creation=enable_auto_log_creation, + enable_logging=enable_logging, + log_group_id=log_group_id, + log_id=log_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + enable_auto_log_creation: Optional[bool] = None, + enable_logging: Optional[bool] = None, + log_group_id: Optional[str] = None, + log_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if enable_auto_log_creation is not None: - pulumi.set(__self__, "enable_auto_log_creation", enable_auto_log_creation) + _setter("enable_auto_log_creation", enable_auto_log_creation) if enable_logging is not None: - pulumi.set(__self__, "enable_logging", enable_logging) + _setter("enable_logging", enable_logging) if log_group_id is not None: - pulumi.set(__self__, "log_group_id", log_group_id) + _setter("log_group_id", log_group_id) if log_id is not None: - pulumi.set(__self__, "log_id", log_id) + _setter("log_id", log_id) @property @pulumi.getter(name="enableAutoLogCreation") @@ -783,10 +901,21 @@ def __init__(__self__, *, :param str log_group_id: The log group id for where log objects are for job runs. :param str log_id: The log id the job run will push logs too. """ + JobRunLogDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + log_group_id=log_group_id, + log_id=log_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + log_group_id: Optional[str] = None, + log_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if log_group_id is not None: - pulumi.set(__self__, "log_group_id", log_group_id) + _setter("log_group_id", log_group_id) if log_id is not None: - pulumi.set(__self__, "log_id", log_id) + _setter("log_id", log_id) @property @pulumi.getter(name="logGroupId") @@ -826,14 +955,29 @@ def __init__(__self__, *, Allowed values for libraryName: scikit-learn, xgboost, tensorflow, pytorch, mxnet, keras, lightGBM, pymc3, pyOD, spacy, prophet, sktime, statsmodels, cuml, oracle_automl, h2o, transformers, nltk, emcee, pystan, bert, gensim, flair, word2vec, ensemble, other """ + ModelCustomMetadataList._configure( + lambda key, value: pulumi.set(__self__, key, value), + category=category, + description=description, + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + category: Optional[str] = None, + description: Optional[str] = None, + key: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if category is not None: - pulumi.set(__self__, "category", category) + _setter("category", category) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -897,14 +1041,29 @@ def __init__(__self__, *, Allowed values for libraryName: scikit-learn, xgboost, tensorflow, pytorch, mxnet, keras, lightGBM, pymc3, pyOD, spacy, prophet, sktime, statsmodels, cuml, oracle_automl, h2o, transformers, nltk, emcee, pystan, bert, gensim, flair, word2vec, ensemble, other """ + ModelDefinedMetadataList._configure( + lambda key, value: pulumi.set(__self__, key, value), + category=category, + description=description, + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + category: Optional[str] = None, + description: Optional[str] = None, + key: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if category is not None: - pulumi.set(__self__, "category", category) + _setter("category", category) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -956,10 +1115,21 @@ def __init__(__self__, *, :param 'ModelDeploymentCategoryLogDetailsAccessArgs' access: (Updatable) The log details. :param 'ModelDeploymentCategoryLogDetailsPredictArgs' predict: (Updatable) The log details. """ + ModelDeploymentCategoryLogDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + access=access, + predict=predict, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access: Optional['outputs.ModelDeploymentCategoryLogDetailsAccess'] = None, + predict: Optional['outputs.ModelDeploymentCategoryLogDetailsPredict'] = None, + opts: Optional[pulumi.ResourceOptions]=None): if access is not None: - pulumi.set(__self__, "access", access) + _setter("access", access) if predict is not None: - pulumi.set(__self__, "predict", predict) + _setter("predict", predict) @property @pulumi.getter @@ -1006,8 +1176,19 @@ def __init__(__self__, *, :param str log_group_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a log group to work with. :param str log_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a log to work with. """ - pulumi.set(__self__, "log_group_id", log_group_id) - pulumi.set(__self__, "log_id", log_id) + ModelDeploymentCategoryLogDetailsAccess._configure( + lambda key, value: pulumi.set(__self__, key, value), + log_group_id=log_group_id, + log_id=log_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + log_group_id: str, + log_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("log_group_id", log_group_id) + _setter("log_id", log_id) @property @pulumi.getter(name="logGroupId") @@ -1054,8 +1235,19 @@ def __init__(__self__, *, :param str log_group_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a log group to work with. :param str log_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a log to work with. """ - pulumi.set(__self__, "log_group_id", log_group_id) - pulumi.set(__self__, "log_id", log_id) + ModelDeploymentCategoryLogDetailsPredict._configure( + lambda key, value: pulumi.set(__self__, key, value), + log_group_id=log_group_id, + log_id=log_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + log_group_id: str, + log_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("log_group_id", log_group_id) + _setter("log_id", log_id) @property @pulumi.getter(name="logGroupId") @@ -1106,10 +1298,23 @@ def __init__(__self__, *, :param 'ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsArgs' model_configuration_details: (Updatable) The model configuration details. :param 'ModelDeploymentModelDeploymentConfigurationDetailsEnvironmentConfigurationDetailsArgs' environment_configuration_details: (Updatable) The configuration to carry the environment details thats used in Model Deployment creation """ - pulumi.set(__self__, "deployment_type", deployment_type) - pulumi.set(__self__, "model_configuration_details", model_configuration_details) + ModelDeploymentModelDeploymentConfigurationDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + deployment_type=deployment_type, + model_configuration_details=model_configuration_details, + environment_configuration_details=environment_configuration_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deployment_type: str, + model_configuration_details: 'outputs.ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetails', + environment_configuration_details: Optional['outputs.ModelDeploymentModelDeploymentConfigurationDetailsEnvironmentConfigurationDetails'] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("deployment_type", deployment_type) + _setter("model_configuration_details", model_configuration_details) if environment_configuration_details is not None: - pulumi.set(__self__, "environment_configuration_details", environment_configuration_details) + _setter("environment_configuration_details", environment_configuration_details) @property @pulumi.getter(name="deploymentType") @@ -1182,21 +1387,44 @@ def __init__(__self__, *, :param str image_digest: (Updatable) The digest of the container image. For example, `sha256:881303a6b2738834d795a32b4a98eb0e5e3d1cad590a712d1e04f9b2fa90a030` :param int server_port: (Updatable) The port on which the web server serving the inference is running. The port can be anything between `1024` and `65535`. The following ports cannot be used `24224`, `8446`, `8447`. """ - pulumi.set(__self__, "environment_configuration_type", environment_configuration_type) + ModelDeploymentModelDeploymentConfigurationDetailsEnvironmentConfigurationDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + environment_configuration_type=environment_configuration_type, + cmds=cmds, + entrypoints=entrypoints, + environment_variables=environment_variables, + health_check_port=health_check_port, + image=image, + image_digest=image_digest, + server_port=server_port, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + environment_configuration_type: str, + cmds: Optional[Sequence[str]] = None, + entrypoints: Optional[Sequence[str]] = None, + environment_variables: Optional[Mapping[str, Any]] = None, + health_check_port: Optional[int] = None, + image: Optional[str] = None, + image_digest: Optional[str] = None, + server_port: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("environment_configuration_type", environment_configuration_type) if cmds is not None: - pulumi.set(__self__, "cmds", cmds) + _setter("cmds", cmds) if entrypoints is not None: - pulumi.set(__self__, "entrypoints", entrypoints) + _setter("entrypoints", entrypoints) if environment_variables is not None: - pulumi.set(__self__, "environment_variables", environment_variables) + _setter("environment_variables", environment_variables) if health_check_port is not None: - pulumi.set(__self__, "health_check_port", health_check_port) + _setter("health_check_port", health_check_port) if image is not None: - pulumi.set(__self__, "image", image) + _setter("image", image) if image_digest is not None: - pulumi.set(__self__, "image_digest", image_digest) + _setter("image_digest", image_digest) if server_port is not None: - pulumi.set(__self__, "server_port", server_port) + _setter("server_port", server_port) @property @pulumi.getter(name="environmentConfigurationType") @@ -1296,15 +1524,30 @@ def __init__(__self__, *, """ :param 'ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsInstanceConfigurationArgs' instance_configuration: (Updatable) The model deployment instance configuration :param str model_id: (Updatable) The OCID of the model you want to deploy. - :param int bandwidth_mbps: (Updatable) The network bandwidth for the model. + :param int bandwidth_mbps: (Updatable) The minimum network bandwidth for the model deployment. :param 'ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsScalingPolicyArgs' scaling_policy: (Updatable) The scaling policy to apply to each model of the deployment. """ - pulumi.set(__self__, "instance_configuration", instance_configuration) - pulumi.set(__self__, "model_id", model_id) + ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + instance_configuration=instance_configuration, + model_id=model_id, + bandwidth_mbps=bandwidth_mbps, + scaling_policy=scaling_policy, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + instance_configuration: 'outputs.ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsInstanceConfiguration', + model_id: str, + bandwidth_mbps: Optional[int] = None, + scaling_policy: Optional['outputs.ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsScalingPolicy'] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("instance_configuration", instance_configuration) + _setter("model_id", model_id) if bandwidth_mbps is not None: - pulumi.set(__self__, "bandwidth_mbps", bandwidth_mbps) + _setter("bandwidth_mbps", bandwidth_mbps) if scaling_policy is not None: - pulumi.set(__self__, "scaling_policy", scaling_policy) + _setter("scaling_policy", scaling_policy) @property @pulumi.getter(name="instanceConfiguration") @@ -1326,7 +1569,7 @@ def model_id(self) -> str: @pulumi.getter(name="bandwidthMbps") def bandwidth_mbps(self) -> Optional[int]: """ - (Updatable) The network bandwidth for the model. + (Updatable) The minimum network bandwidth for the model deployment. """ return pulumi.get(self, "bandwidth_mbps") @@ -1367,9 +1610,20 @@ def __init__(__self__, *, :param str instance_shape_name: (Updatable) The shape used to launch the model deployment instances. :param 'ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsInstanceConfigurationModelDeploymentInstanceShapeConfigDetailsArgs' model_deployment_instance_shape_config_details: (Updatable) Details for the model-deployment instance shape configuration. """ - pulumi.set(__self__, "instance_shape_name", instance_shape_name) + ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsInstanceConfiguration._configure( + lambda key, value: pulumi.set(__self__, key, value), + instance_shape_name=instance_shape_name, + model_deployment_instance_shape_config_details=model_deployment_instance_shape_config_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + instance_shape_name: str, + model_deployment_instance_shape_config_details: Optional['outputs.ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsInstanceConfigurationModelDeploymentInstanceShapeConfigDetails'] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("instance_shape_name", instance_shape_name) if model_deployment_instance_shape_config_details is not None: - pulumi.set(__self__, "model_deployment_instance_shape_config_details", model_deployment_instance_shape_config_details) + _setter("model_deployment_instance_shape_config_details", model_deployment_instance_shape_config_details) @property @pulumi.getter(name="instanceShapeName") @@ -1414,10 +1668,21 @@ def __init__(__self__, *, :param float memory_in_gbs: (Updatable) A model-deployment instance of type VM.Standard.E3.Flex or VM.Standard.E4.Flex allows the memory to be specified with in the range of 6 to 1024 GB. VM.Standard3.Flex memory range is between 6 to 512 GB and VM.Optimized3.Flex memory range is between 6 to 256 GB. :param float ocpus: (Updatable) A model-deployment instance of type VM.Standard.E3.Flex or VM.Standard.E4.Flex allows the ocpu count to be specified with in the range of 1 to 64 ocpu. VM.Standard3.Flex OCPU range is between 1 to 32 ocpu and for VM.Optimized3.Flex OCPU range is 1 to 18 ocpu. """ + ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsInstanceConfigurationModelDeploymentInstanceShapeConfigDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: Optional[float] = None, + ocpus: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions]=None): if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) if ocpus is not None: - pulumi.set(__self__, "ocpus", ocpus) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -1464,8 +1729,19 @@ def __init__(__self__, *, :param int instance_count: (Updatable) The number of instances for the model deployment. :param str policy_type: (Updatable) The type of scaling policy. """ - pulumi.set(__self__, "instance_count", instance_count) - pulumi.set(__self__, "policy_type", policy_type) + ModelDeploymentModelDeploymentConfigurationDetailsModelConfigurationDetailsScalingPolicy._configure( + lambda key, value: pulumi.set(__self__, key, value), + instance_count=instance_count, + policy_type=policy_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + instance_count: int, + policy_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("instance_count", instance_count) + _setter("policy_type", policy_type) @property @pulumi.getter(name="instanceCount") @@ -1493,6 +1769,8 @@ def __key_warning(key: str): suggest = "block_storage_size_in_gbs" elif key == "notebookSessionShapeConfigDetails": suggest = "notebook_session_shape_config_details" + elif key == "privateEndpointId": + suggest = "private_endpoint_id" elif key == "subnetId": suggest = "subnet_id" @@ -1511,20 +1789,41 @@ def __init__(__self__, *, shape: str, block_storage_size_in_gbs: Optional[int] = None, notebook_session_shape_config_details: Optional['outputs.NotebookSessionNotebookSessionConfigDetailsNotebookSessionShapeConfigDetails'] = None, + private_endpoint_id: Optional[str] = None, subnet_id: Optional[str] = None): """ :param str shape: (Updatable) The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint. :param int block_storage_size_in_gbs: (Updatable) A notebook session instance is provided with a block storage volume. This specifies the size of the volume in GBs. :param 'NotebookSessionNotebookSessionConfigDetailsNotebookSessionShapeConfigDetailsArgs' notebook_session_shape_config_details: (Updatable) Details for the notebook session shape configuration. + :param str private_endpoint_id: (Updatable) The OCID of a Data Science private endpoint. :param str subnet_id: (Updatable) A notebook session instance is provided with a VNIC for network access. This specifies the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet to create a VNIC in. The subnet should be in a VCN with a NAT gateway for egress to the internet. """ - pulumi.set(__self__, "shape", shape) + NotebookSessionNotebookSessionConfigDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + shape=shape, + block_storage_size_in_gbs=block_storage_size_in_gbs, + notebook_session_shape_config_details=notebook_session_shape_config_details, + private_endpoint_id=private_endpoint_id, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + shape: str, + block_storage_size_in_gbs: Optional[int] = None, + notebook_session_shape_config_details: Optional['outputs.NotebookSessionNotebookSessionConfigDetailsNotebookSessionShapeConfigDetails'] = None, + private_endpoint_id: Optional[str] = None, + subnet_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("shape", shape) if block_storage_size_in_gbs is not None: - pulumi.set(__self__, "block_storage_size_in_gbs", block_storage_size_in_gbs) + _setter("block_storage_size_in_gbs", block_storage_size_in_gbs) if notebook_session_shape_config_details is not None: - pulumi.set(__self__, "notebook_session_shape_config_details", notebook_session_shape_config_details) + _setter("notebook_session_shape_config_details", notebook_session_shape_config_details) + if private_endpoint_id is not None: + _setter("private_endpoint_id", private_endpoint_id) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) @property @pulumi.getter @@ -1550,6 +1849,14 @@ def notebook_session_shape_config_details(self) -> Optional['outputs.NotebookSes """ return pulumi.get(self, "notebook_session_shape_config_details") + @property + @pulumi.getter(name="privateEndpointId") + def private_endpoint_id(self) -> Optional[str]: + """ + (Updatable) The OCID of a Data Science private endpoint. + """ + return pulumi.get(self, "private_endpoint_id") + @property @pulumi.getter(name="subnetId") def subnet_id(self) -> Optional[str]: @@ -1585,10 +1892,21 @@ def __init__(__self__, *, :param float memory_in_gbs: (Updatable) The total amount of memory available to the notebook session instance, in gigabytes. :param float ocpus: (Updatable) The total number of OCPUs available to the notebook session instance. """ + NotebookSessionNotebookSessionConfigDetailsNotebookSessionShapeConfigDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: Optional[float] = None, + ocpus: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions]=None): if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) if ocpus is not None: - pulumi.set(__self__, "ocpus", ocpus) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -1618,6 +1936,8 @@ def __key_warning(key: str): suggest = "block_storage_size_in_gbs" elif key == "notebookSessionShapeConfigDetails": suggest = "notebook_session_shape_config_details" + elif key == "privateEndpointId": + suggest = "private_endpoint_id" if suggest: pulumi.log.warn(f"Key '{key}' not found in NotebookSessionNotebookSessionConfigurationDetails. Access the value via the '{suggest}' property getter instead.") @@ -1634,19 +1954,40 @@ def __init__(__self__, *, shape: str, subnet_id: str, block_storage_size_in_gbs: Optional[int] = None, - notebook_session_shape_config_details: Optional['outputs.NotebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetails'] = None): + notebook_session_shape_config_details: Optional['outputs.NotebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetails'] = None, + private_endpoint_id: Optional[str] = None): """ :param str shape: (Updatable) The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint. :param str subnet_id: (Updatable) A notebook session instance is provided with a VNIC for network access. This specifies the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet to create a VNIC in. The subnet should be in a VCN with a NAT gateway for egress to the internet. :param int block_storage_size_in_gbs: (Updatable) A notebook session instance is provided with a block storage volume. This specifies the size of the volume in GBs. :param 'NotebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetailsArgs' notebook_session_shape_config_details: (Updatable) Details for the notebook session shape configuration. - """ - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "subnet_id", subnet_id) + :param str private_endpoint_id: (Updatable) The OCID of a Data Science private endpoint. + """ + NotebookSessionNotebookSessionConfigurationDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + shape=shape, + subnet_id=subnet_id, + block_storage_size_in_gbs=block_storage_size_in_gbs, + notebook_session_shape_config_details=notebook_session_shape_config_details, + private_endpoint_id=private_endpoint_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + shape: str, + subnet_id: str, + block_storage_size_in_gbs: Optional[int] = None, + notebook_session_shape_config_details: Optional['outputs.NotebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetails'] = None, + private_endpoint_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("shape", shape) + _setter("subnet_id", subnet_id) if block_storage_size_in_gbs is not None: - pulumi.set(__self__, "block_storage_size_in_gbs", block_storage_size_in_gbs) + _setter("block_storage_size_in_gbs", block_storage_size_in_gbs) if notebook_session_shape_config_details is not None: - pulumi.set(__self__, "notebook_session_shape_config_details", notebook_session_shape_config_details) + _setter("notebook_session_shape_config_details", notebook_session_shape_config_details) + if private_endpoint_id is not None: + _setter("private_endpoint_id", private_endpoint_id) @property @pulumi.getter @@ -1680,6 +2021,14 @@ def notebook_session_shape_config_details(self) -> Optional['outputs.NotebookSes """ return pulumi.get(self, "notebook_session_shape_config_details") + @property + @pulumi.getter(name="privateEndpointId") + def private_endpoint_id(self) -> Optional[str]: + """ + (Updatable) The OCID of a Data Science private endpoint. + """ + return pulumi.get(self, "private_endpoint_id") + @pulumi.output_type class NotebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetails(dict): @@ -1707,10 +2056,21 @@ def __init__(__self__, *, :param float memory_in_gbs: (Updatable) The total amount of memory available to the notebook session instance, in gigabytes. :param float ocpus: (Updatable) The total number of OCPUs available to the notebook session instance. """ + NotebookSessionNotebookSessionConfigurationDetailsNotebookSessionShapeConfigDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: Optional[float] = None, + ocpus: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions]=None): if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) if ocpus is not None: - pulumi.set(__self__, "ocpus", ocpus) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -1757,10 +2117,21 @@ def __init__(__self__, *, :param Mapping[str, Any] custom_environment_variables: (Updatable) Custom environment variables for Notebook Session. These key-value pairs will be available for customers in Notebook Sessions. :param 'NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetailsArgs' notebook_session_git_config_details: (Updatable) Git configuration Details. """ + NotebookSessionNotebookSessionRuntimeConfigDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_environment_variables=custom_environment_variables, + notebook_session_git_config_details=notebook_session_git_config_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_environment_variables: Optional[Mapping[str, Any]] = None, + notebook_session_git_config_details: Optional['outputs.NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetails'] = None, + opts: Optional[pulumi.ResourceOptions]=None): if custom_environment_variables is not None: - pulumi.set(__self__, "custom_environment_variables", custom_environment_variables) + _setter("custom_environment_variables", custom_environment_variables) if notebook_session_git_config_details is not None: - pulumi.set(__self__, "notebook_session_git_config_details", notebook_session_git_config_details) + _setter("notebook_session_git_config_details", notebook_session_git_config_details) @property @pulumi.getter(name="customEnvironmentVariables") @@ -1803,8 +2174,17 @@ def __init__(__self__, *, """ :param Sequence['NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetailsNotebookSessionGitRepoConfigCollectionArgs'] notebook_session_git_repo_config_collections: (Updatable) A collection of Git repository configurations. """ + NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + notebook_session_git_repo_config_collections=notebook_session_git_repo_config_collections, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + notebook_session_git_repo_config_collections: Optional[Sequence['outputs.NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetailsNotebookSessionGitRepoConfigCollection']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if notebook_session_git_repo_config_collections is not None: - pulumi.set(__self__, "notebook_session_git_repo_config_collections", notebook_session_git_repo_config_collections) + _setter("notebook_session_git_repo_config_collections", notebook_session_git_repo_config_collections) @property @pulumi.getter(name="notebookSessionGitRepoConfigCollections") @@ -1822,7 +2202,16 @@ def __init__(__self__, *, """ :param str url: (Updatable) The repository URL """ - pulumi.set(__self__, "url", url) + NotebookSessionNotebookSessionRuntimeConfigDetailsNotebookSessionGitConfigDetailsNotebookSessionGitRepoConfigCollection._configure( + lambda key, value: pulumi.set(__self__, key, value), + url=url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + url: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("url", url) @property @pulumi.getter @@ -1867,13 +2256,28 @@ def __init__(__self__, *, :param Mapping[str, Any] environment_variables: (Updatable) Environment variables to set for step. :param str maximum_runtime_in_minutes: (Updatable) A time bound for the execution of the step. """ - pulumi.set(__self__, "type", type) + PipelineConfigurationDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + command_line_arguments=command_line_arguments, + environment_variables=environment_variables, + maximum_runtime_in_minutes=maximum_runtime_in_minutes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + command_line_arguments: Optional[str] = None, + environment_variables: Optional[Mapping[str, Any]] = None, + maximum_runtime_in_minutes: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if command_line_arguments is not None: - pulumi.set(__self__, "command_line_arguments", command_line_arguments) + _setter("command_line_arguments", command_line_arguments) if environment_variables is not None: - pulumi.set(__self__, "environment_variables", environment_variables) + _setter("environment_variables", environment_variables) if maximum_runtime_in_minutes is not None: - pulumi.set(__self__, "maximum_runtime_in_minutes", maximum_runtime_in_minutes) + _setter("maximum_runtime_in_minutes", maximum_runtime_in_minutes) @property @pulumi.getter @@ -1940,10 +2344,23 @@ def __init__(__self__, *, :param str shape_name: The shape used to launch the instance for all step runs in the pipeline. :param 'PipelineInfrastructureConfigurationDetailsShapeConfigDetailsArgs' shape_config_details: Details for the pipeline step run shape configuration. Specify only when a flex shape is selected. """ - pulumi.set(__self__, "block_storage_size_in_gbs", block_storage_size_in_gbs) - pulumi.set(__self__, "shape_name", shape_name) + PipelineInfrastructureConfigurationDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + block_storage_size_in_gbs=block_storage_size_in_gbs, + shape_name=shape_name, + shape_config_details=shape_config_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + block_storage_size_in_gbs: int, + shape_name: str, + shape_config_details: Optional['outputs.PipelineInfrastructureConfigurationDetailsShapeConfigDetails'] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("block_storage_size_in_gbs", block_storage_size_in_gbs) + _setter("shape_name", shape_name) if shape_config_details is not None: - pulumi.set(__self__, "shape_config_details", shape_config_details) + _setter("shape_config_details", shape_config_details) @property @pulumi.getter(name="blockStorageSizeInGbs") @@ -1996,10 +2413,21 @@ def __init__(__self__, *, :param float memory_in_gbs: A pipeline step run instance of type VM.Standard.E3.Flex allows memory to be specified. This specifies the size of the memory in GBs. :param float ocpus: A pipeline step run instance of type VM.Standard.E3.Flex allows the ocpu count to be specified. """ + PipelineInfrastructureConfigurationDetailsShapeConfigDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: Optional[float] = None, + ocpus: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions]=None): if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) if ocpus is not None: - pulumi.set(__self__, "ocpus", ocpus) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -2054,14 +2482,29 @@ def __init__(__self__, *, :param str log_group_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log group. :param str log_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log. """ + PipelineLogConfigurationDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + enable_auto_log_creation=enable_auto_log_creation, + enable_logging=enable_logging, + log_group_id=log_group_id, + log_id=log_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + enable_auto_log_creation: Optional[bool] = None, + enable_logging: Optional[bool] = None, + log_group_id: Optional[str] = None, + log_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if enable_auto_log_creation is not None: - pulumi.set(__self__, "enable_auto_log_creation", enable_auto_log_creation) + _setter("enable_auto_log_creation", enable_auto_log_creation) if enable_logging is not None: - pulumi.set(__self__, "enable_logging", enable_logging) + _setter("enable_logging", enable_logging) if log_group_id is not None: - pulumi.set(__self__, "log_group_id", log_group_id) + _setter("log_group_id", log_group_id) if log_id is not None: - pulumi.set(__self__, "log_id", log_id) + _setter("log_id", log_id) @property @pulumi.getter(name="enableAutoLogCreation") @@ -2130,14 +2573,29 @@ def __init__(__self__, *, :param str maximum_runtime_in_minutes: A time bound for the execution of the step. :param str type: The type of pipeline. """ + PipelineRunConfigurationDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + command_line_arguments=command_line_arguments, + environment_variables=environment_variables, + maximum_runtime_in_minutes=maximum_runtime_in_minutes, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + command_line_arguments: Optional[str] = None, + environment_variables: Optional[Mapping[str, Any]] = None, + maximum_runtime_in_minutes: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if command_line_arguments is not None: - pulumi.set(__self__, "command_line_arguments", command_line_arguments) + _setter("command_line_arguments", command_line_arguments) if environment_variables is not None: - pulumi.set(__self__, "environment_variables", environment_variables) + _setter("environment_variables", environment_variables) if maximum_runtime_in_minutes is not None: - pulumi.set(__self__, "maximum_runtime_in_minutes", maximum_runtime_in_minutes) + _setter("maximum_runtime_in_minutes", maximum_runtime_in_minutes) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter(name="commandLineArguments") @@ -2206,13 +2664,28 @@ def __init__(__self__, *, :param Mapping[str, Any] environment_variables: Environment variables to set for step. :param str maximum_runtime_in_minutes: A time bound for the execution of the step. """ - pulumi.set(__self__, "type", type) + PipelineRunConfigurationOverrideDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + command_line_arguments=command_line_arguments, + environment_variables=environment_variables, + maximum_runtime_in_minutes=maximum_runtime_in_minutes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + command_line_arguments: Optional[str] = None, + environment_variables: Optional[Mapping[str, Any]] = None, + maximum_runtime_in_minutes: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if command_line_arguments is not None: - pulumi.set(__self__, "command_line_arguments", command_line_arguments) + _setter("command_line_arguments", command_line_arguments) if environment_variables is not None: - pulumi.set(__self__, "environment_variables", environment_variables) + _setter("environment_variables", environment_variables) if maximum_runtime_in_minutes is not None: - pulumi.set(__self__, "maximum_runtime_in_minutes", maximum_runtime_in_minutes) + _setter("maximum_runtime_in_minutes", maximum_runtime_in_minutes) @property @pulumi.getter @@ -2283,14 +2756,29 @@ def __init__(__self__, *, :param str log_group_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log group. :param str log_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log. """ + PipelineRunLogConfigurationOverrideDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + enable_auto_log_creation=enable_auto_log_creation, + enable_logging=enable_logging, + log_group_id=log_group_id, + log_id=log_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + enable_auto_log_creation: Optional[bool] = None, + enable_logging: Optional[bool] = None, + log_group_id: Optional[str] = None, + log_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if enable_auto_log_creation is not None: - pulumi.set(__self__, "enable_auto_log_creation", enable_auto_log_creation) + _setter("enable_auto_log_creation", enable_auto_log_creation) if enable_logging is not None: - pulumi.set(__self__, "enable_logging", enable_logging) + _setter("enable_logging", enable_logging) if log_group_id is not None: - pulumi.set(__self__, "log_group_id", log_group_id) + _setter("log_group_id", log_group_id) if log_id is not None: - pulumi.set(__self__, "log_id", log_id) + _setter("log_id", log_id) @property @pulumi.getter(name="enableAutoLogCreation") @@ -2353,10 +2841,21 @@ def __init__(__self__, *, :param str log_group_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log group. :param str log_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log. """ + PipelineRunLogDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + log_group_id=log_group_id, + log_id=log_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + log_group_id: Optional[str] = None, + log_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if log_group_id is not None: - pulumi.set(__self__, "log_group_id", log_group_id) + _setter("log_group_id", log_group_id) if log_id is not None: - pulumi.set(__self__, "log_id", log_id) + _setter("log_id", log_id) @property @pulumi.getter(name="logGroupId") @@ -2403,8 +2902,19 @@ def __init__(__self__, *, :param 'PipelineRunStepOverrideDetailStepConfigurationDetailsArgs' step_configuration_details: The configuration details of a step. :param str step_name: The name of the step. """ - pulumi.set(__self__, "step_configuration_details", step_configuration_details) - pulumi.set(__self__, "step_name", step_name) + PipelineRunStepOverrideDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + step_configuration_details=step_configuration_details, + step_name=step_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + step_configuration_details: 'outputs.PipelineRunStepOverrideDetailStepConfigurationDetails', + step_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("step_configuration_details", step_configuration_details) + _setter("step_name", step_name) @property @pulumi.getter(name="stepConfigurationDetails") @@ -2455,12 +2965,25 @@ def __init__(__self__, *, :param Mapping[str, Any] environment_variables: Environment variables to set for step. :param str maximum_runtime_in_minutes: A time bound for the execution of the step. """ + PipelineRunStepOverrideDetailStepConfigurationDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + command_line_arguments=command_line_arguments, + environment_variables=environment_variables, + maximum_runtime_in_minutes=maximum_runtime_in_minutes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + command_line_arguments: Optional[str] = None, + environment_variables: Optional[Mapping[str, Any]] = None, + maximum_runtime_in_minutes: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if command_line_arguments is not None: - pulumi.set(__self__, "command_line_arguments", command_line_arguments) + _setter("command_line_arguments", command_line_arguments) if environment_variables is not None: - pulumi.set(__self__, "environment_variables", environment_variables) + _setter("environment_variables", environment_variables) if maximum_runtime_in_minutes is not None: - pulumi.set(__self__, "maximum_runtime_in_minutes", maximum_runtime_in_minutes) + _setter("maximum_runtime_in_minutes", maximum_runtime_in_minutes) @property @pulumi.getter(name="commandLineArguments") @@ -2533,20 +3056,41 @@ def __init__(__self__, *, :param str time_finished: The date and time the pipeline run request was finished in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). :param str time_started: The date and time the pipeline run request was started in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). """ + PipelineRunStepRun._configure( + lambda key, value: pulumi.set(__self__, key, value), + job_run_id=job_run_id, + lifecycle_details=lifecycle_details, + state=state, + step_name=step_name, + step_type=step_type, + time_finished=time_finished, + time_started=time_started, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + job_run_id: Optional[str] = None, + lifecycle_details: Optional[str] = None, + state: Optional[str] = None, + step_name: Optional[str] = None, + step_type: Optional[str] = None, + time_finished: Optional[str] = None, + time_started: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if job_run_id is not None: - pulumi.set(__self__, "job_run_id", job_run_id) + _setter("job_run_id", job_run_id) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if step_name is not None: - pulumi.set(__self__, "step_name", step_name) + _setter("step_name", step_name) if step_type is not None: - pulumi.set(__self__, "step_type", step_type) + _setter("step_type", step_type) if time_finished is not None: - pulumi.set(__self__, "time_finished", time_finished) + _setter("time_finished", time_finished) if time_started is not None: - pulumi.set(__self__, "time_started", time_started) + _setter("time_started", time_started) @property @pulumi.getter(name="jobRunId") @@ -2644,15 +3188,34 @@ def __init__(__self__, *, """ :param str step_name: (Updatable) The name of the step. It must be unique within the pipeline. This is used to create the pipeline DAG. """ - pulumi.set(__self__, "artifact_content_length", artifact_content_length) - pulumi.set(__self__, "pipeline_step_artifact", pipeline_step_artifact) - pulumi.set(__self__, "step_name", step_name) + PipelineStepArtifact._configure( + lambda key, value: pulumi.set(__self__, key, value), + artifact_content_length=artifact_content_length, + pipeline_step_artifact=pipeline_step_artifact, + step_name=step_name, + artifact_content_disposition=artifact_content_disposition, + artifact_content_md5=artifact_content_md5, + artifact_last_modified=artifact_last_modified, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + artifact_content_length: str, + pipeline_step_artifact: str, + step_name: str, + artifact_content_disposition: Optional[str] = None, + artifact_content_md5: Optional[str] = None, + artifact_last_modified: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("artifact_content_length", artifact_content_length) + _setter("pipeline_step_artifact", pipeline_step_artifact) + _setter("step_name", step_name) if artifact_content_disposition is not None: - pulumi.set(__self__, "artifact_content_disposition", artifact_content_disposition) + _setter("artifact_content_disposition", artifact_content_disposition) if artifact_content_md5 is not None: - pulumi.set(__self__, "artifact_content_md5", artifact_content_md5) + _setter("artifact_content_md5", artifact_content_md5) if artifact_last_modified is not None: - pulumi.set(__self__, "artifact_last_modified", artifact_last_modified) + _setter("artifact_last_modified", artifact_last_modified) @property @pulumi.getter(name="artifactContentLength") @@ -2742,20 +3305,43 @@ def __init__(__self__, *, :param 'PipelineStepDetailStepConfigurationDetailsArgs' step_configuration_details: (Updatable) The configuration details of a step. :param 'PipelineStepDetailStepInfrastructureConfigurationDetailsArgs' step_infrastructure_configuration_details: The infrastructure configuration details of a pipeline or a step. """ - pulumi.set(__self__, "step_name", step_name) - pulumi.set(__self__, "step_type", step_type) + PipelineStepDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + step_name=step_name, + step_type=step_type, + depends_ons=depends_ons, + description=description, + is_artifact_uploaded=is_artifact_uploaded, + job_id=job_id, + step_configuration_details=step_configuration_details, + step_infrastructure_configuration_details=step_infrastructure_configuration_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + step_name: str, + step_type: str, + depends_ons: Optional[Sequence[str]] = None, + description: Optional[str] = None, + is_artifact_uploaded: Optional[bool] = None, + job_id: Optional[str] = None, + step_configuration_details: Optional['outputs.PipelineStepDetailStepConfigurationDetails'] = None, + step_infrastructure_configuration_details: Optional['outputs.PipelineStepDetailStepInfrastructureConfigurationDetails'] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("step_name", step_name) + _setter("step_type", step_type) if depends_ons is not None: - pulumi.set(__self__, "depends_ons", depends_ons) + _setter("depends_ons", depends_ons) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if is_artifact_uploaded is not None: - pulumi.set(__self__, "is_artifact_uploaded", is_artifact_uploaded) + _setter("is_artifact_uploaded", is_artifact_uploaded) if job_id is not None: - pulumi.set(__self__, "job_id", job_id) + _setter("job_id", job_id) if step_configuration_details is not None: - pulumi.set(__self__, "step_configuration_details", step_configuration_details) + _setter("step_configuration_details", step_configuration_details) if step_infrastructure_configuration_details is not None: - pulumi.set(__self__, "step_infrastructure_configuration_details", step_infrastructure_configuration_details) + _setter("step_infrastructure_configuration_details", step_infrastructure_configuration_details) @property @pulumi.getter(name="stepName") @@ -2858,12 +3444,25 @@ def __init__(__self__, *, :param Mapping[str, Any] environment_variables: (Updatable) Environment variables to set for step. :param str maximum_runtime_in_minutes: (Updatable) A time bound for the execution of the step. """ + PipelineStepDetailStepConfigurationDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + command_line_arguments=command_line_arguments, + environment_variables=environment_variables, + maximum_runtime_in_minutes=maximum_runtime_in_minutes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + command_line_arguments: Optional[str] = None, + environment_variables: Optional[Mapping[str, Any]] = None, + maximum_runtime_in_minutes: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if command_line_arguments is not None: - pulumi.set(__self__, "command_line_arguments", command_line_arguments) + _setter("command_line_arguments", command_line_arguments) if environment_variables is not None: - pulumi.set(__self__, "environment_variables", environment_variables) + _setter("environment_variables", environment_variables) if maximum_runtime_in_minutes is not None: - pulumi.set(__self__, "maximum_runtime_in_minutes", maximum_runtime_in_minutes) + _setter("maximum_runtime_in_minutes", maximum_runtime_in_minutes) @property @pulumi.getter(name="commandLineArguments") @@ -2922,10 +3521,23 @@ def __init__(__self__, *, :param str shape_name: The shape used to launch the instance for all step runs in the pipeline. :param 'PipelineStepDetailStepInfrastructureConfigurationDetailsShapeConfigDetailsArgs' shape_config_details: Details for the pipeline step run shape configuration. Specify only when a flex shape is selected. """ - pulumi.set(__self__, "block_storage_size_in_gbs", block_storage_size_in_gbs) - pulumi.set(__self__, "shape_name", shape_name) + PipelineStepDetailStepInfrastructureConfigurationDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + block_storage_size_in_gbs=block_storage_size_in_gbs, + shape_name=shape_name, + shape_config_details=shape_config_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + block_storage_size_in_gbs: int, + shape_name: str, + shape_config_details: Optional['outputs.PipelineStepDetailStepInfrastructureConfigurationDetailsShapeConfigDetails'] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("block_storage_size_in_gbs", block_storage_size_in_gbs) + _setter("shape_name", shape_name) if shape_config_details is not None: - pulumi.set(__self__, "shape_config_details", shape_config_details) + _setter("shape_config_details", shape_config_details) @property @pulumi.getter(name="blockStorageSizeInGbs") @@ -2978,10 +3590,21 @@ def __init__(__self__, *, :param float memory_in_gbs: A pipeline step run instance of type VM.Standard.E3.Flex allows memory to be specified. This specifies the size of the memory in GBs. :param float ocpus: A pipeline step run instance of type VM.Standard.E3.Flex allows the ocpu count to be specified. """ + PipelineStepDetailStepInfrastructureConfigurationDetailsShapeConfigDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: Optional[float] = None, + ocpus: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions]=None): if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) if ocpus is not None: - pulumi.set(__self__, "ocpus", ocpus) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -3017,12 +3640,31 @@ def __init__(__self__, *, :param str shape_name: The name of the fast launch job shape. :param str shape_series: The family that the compute shape belongs to. """ - pulumi.set(__self__, "core_count", core_count) - pulumi.set(__self__, "managed_egress_support", managed_egress_support) - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "shape_name", shape_name) - pulumi.set(__self__, "shape_series", shape_series) + GetFastLaunchJobConfigsFastLaunchJobConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + core_count=core_count, + managed_egress_support=managed_egress_support, + memory_in_gbs=memory_in_gbs, + name=name, + shape_name=shape_name, + shape_series=shape_series, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + core_count: int, + managed_egress_support: str, + memory_in_gbs: int, + name: str, + shape_name: str, + shape_series: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("core_count", core_count) + _setter("managed_egress_support", managed_egress_support) + _setter("memory_in_gbs", memory_in_gbs) + _setter("name", name) + _setter("shape_name", shape_name) + _setter("shape_series", shape_series) @property @pulumi.getter(name="coreCount") @@ -3082,10 +3724,23 @@ def __init__(__self__, *, """ :param str name: The name of the fast launch job config """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetFastLaunchJobConfigsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3119,10 +3774,25 @@ def __init__(__self__, *, :param str job_type: The type of job. :param str maximum_runtime_in_minutes: A time bound for the execution of the job. Timer starts when the job becomes active. """ - pulumi.set(__self__, "command_line_arguments", command_line_arguments) - pulumi.set(__self__, "environment_variables", environment_variables) - pulumi.set(__self__, "job_type", job_type) - pulumi.set(__self__, "maximum_runtime_in_minutes", maximum_runtime_in_minutes) + GetJobJobConfigurationDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + command_line_arguments=command_line_arguments, + environment_variables=environment_variables, + job_type=job_type, + maximum_runtime_in_minutes=maximum_runtime_in_minutes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + command_line_arguments: str, + environment_variables: Mapping[str, Any], + job_type: str, + maximum_runtime_in_minutes: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("command_line_arguments", command_line_arguments) + _setter("environment_variables", environment_variables) + _setter("job_type", job_type) + _setter("maximum_runtime_in_minutes", maximum_runtime_in_minutes) @property @pulumi.getter(name="commandLineArguments") @@ -3172,11 +3842,28 @@ def __init__(__self__, *, :param str shape_name: The shape used to launch the job run instances. :param str subnet_id: The subnet to create a secondary vnic in to attach to the instance running the job """ - pulumi.set(__self__, "block_storage_size_in_gbs", block_storage_size_in_gbs) - pulumi.set(__self__, "job_infrastructure_type", job_infrastructure_type) - pulumi.set(__self__, "job_shape_config_details", job_shape_config_details) - pulumi.set(__self__, "shape_name", shape_name) - pulumi.set(__self__, "subnet_id", subnet_id) + GetJobJobInfrastructureConfigurationDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + block_storage_size_in_gbs=block_storage_size_in_gbs, + job_infrastructure_type=job_infrastructure_type, + job_shape_config_details=job_shape_config_details, + shape_name=shape_name, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + block_storage_size_in_gbs: int, + job_infrastructure_type: str, + job_shape_config_details: Sequence['outputs.GetJobJobInfrastructureConfigurationDetailJobShapeConfigDetailResult'], + shape_name: str, + subnet_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("block_storage_size_in_gbs", block_storage_size_in_gbs) + _setter("job_infrastructure_type", job_infrastructure_type) + _setter("job_shape_config_details", job_shape_config_details) + _setter("shape_name", shape_name) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="blockStorageSizeInGbs") @@ -3228,8 +3915,19 @@ def __init__(__self__, *, :param float memory_in_gbs: The total amount of memory available to the job run instance, in gigabytes. :param float ocpus: The total number of OCPUs available to the job run instance. """ - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "ocpus", ocpus) + GetJobJobInfrastructureConfigurationDetailJobShapeConfigDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: float, + ocpus: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("memory_in_gbs", memory_in_gbs) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -3261,10 +3959,25 @@ def __init__(__self__, *, :param str log_group_id: The log group id for where log objects are for job runs. :param str log_id: The log id the job run will push logs too. """ - pulumi.set(__self__, "enable_auto_log_creation", enable_auto_log_creation) - pulumi.set(__self__, "enable_logging", enable_logging) - pulumi.set(__self__, "log_group_id", log_group_id) - pulumi.set(__self__, "log_id", log_id) + GetJobJobLogConfigurationDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + enable_auto_log_creation=enable_auto_log_creation, + enable_logging=enable_logging, + log_group_id=log_group_id, + log_id=log_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + enable_auto_log_creation: bool, + enable_logging: bool, + log_group_id: str, + log_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("enable_auto_log_creation", enable_auto_log_creation) + _setter("enable_logging", enable_logging) + _setter("log_group_id", log_group_id) + _setter("log_id", log_id) @property @pulumi.getter(name="enableAutoLogCreation") @@ -3312,10 +4025,25 @@ def __init__(__self__, *, :param str job_type: The type of job. :param str maximum_runtime_in_minutes: A time bound for the execution of the job. Timer starts when the job becomes active. """ - pulumi.set(__self__, "command_line_arguments", command_line_arguments) - pulumi.set(__self__, "environment_variables", environment_variables) - pulumi.set(__self__, "job_type", job_type) - pulumi.set(__self__, "maximum_runtime_in_minutes", maximum_runtime_in_minutes) + GetJobRunJobConfigurationOverrideDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + command_line_arguments=command_line_arguments, + environment_variables=environment_variables, + job_type=job_type, + maximum_runtime_in_minutes=maximum_runtime_in_minutes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + command_line_arguments: str, + environment_variables: Mapping[str, Any], + job_type: str, + maximum_runtime_in_minutes: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("command_line_arguments", command_line_arguments) + _setter("environment_variables", environment_variables) + _setter("job_type", job_type) + _setter("maximum_runtime_in_minutes", maximum_runtime_in_minutes) @property @pulumi.getter(name="commandLineArguments") @@ -3365,11 +4093,28 @@ def __init__(__self__, *, :param str shape_name: The shape used to launch the job run instances. :param str subnet_id: The subnet to create a secondary vnic in to attach to the instance running the job """ - pulumi.set(__self__, "block_storage_size_in_gbs", block_storage_size_in_gbs) - pulumi.set(__self__, "job_infrastructure_type", job_infrastructure_type) - pulumi.set(__self__, "job_shape_config_details", job_shape_config_details) - pulumi.set(__self__, "shape_name", shape_name) - pulumi.set(__self__, "subnet_id", subnet_id) + GetJobRunJobInfrastructureConfigurationDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + block_storage_size_in_gbs=block_storage_size_in_gbs, + job_infrastructure_type=job_infrastructure_type, + job_shape_config_details=job_shape_config_details, + shape_name=shape_name, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + block_storage_size_in_gbs: int, + job_infrastructure_type: str, + job_shape_config_details: Sequence['outputs.GetJobRunJobInfrastructureConfigurationDetailJobShapeConfigDetailResult'], + shape_name: str, + subnet_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("block_storage_size_in_gbs", block_storage_size_in_gbs) + _setter("job_infrastructure_type", job_infrastructure_type) + _setter("job_shape_config_details", job_shape_config_details) + _setter("shape_name", shape_name) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="blockStorageSizeInGbs") @@ -3421,8 +4166,19 @@ def __init__(__self__, *, :param float memory_in_gbs: The total amount of memory available to the job run instance, in gigabytes. :param float ocpus: The total number of OCPUs available to the job run instance. """ - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "ocpus", ocpus) + GetJobRunJobInfrastructureConfigurationDetailJobShapeConfigDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: float, + ocpus: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("memory_in_gbs", memory_in_gbs) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -3454,10 +4210,25 @@ def __init__(__self__, *, :param str log_group_id: The log group id for where log objects will be for job runs. :param str log_id: The log id of the log object the job run logs will be shipped to. """ - pulumi.set(__self__, "enable_auto_log_creation", enable_auto_log_creation) - pulumi.set(__self__, "enable_logging", enable_logging) - pulumi.set(__self__, "log_group_id", log_group_id) - pulumi.set(__self__, "log_id", log_id) + GetJobRunJobLogConfigurationOverrideDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + enable_auto_log_creation=enable_auto_log_creation, + enable_logging=enable_logging, + log_group_id=log_group_id, + log_id=log_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + enable_auto_log_creation: bool, + enable_logging: bool, + log_group_id: str, + log_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("enable_auto_log_creation", enable_auto_log_creation) + _setter("enable_logging", enable_logging) + _setter("log_group_id", log_group_id) + _setter("log_id", log_id) @property @pulumi.getter(name="enableAutoLogCreation") @@ -3501,8 +4272,19 @@ def __init__(__self__, *, :param str log_group_id: The log group id for where log objects will be for job runs. :param str log_id: The log id of the log object the job run logs will be shipped to. """ - pulumi.set(__self__, "log_group_id", log_group_id) - pulumi.set(__self__, "log_id", log_id) + GetJobRunLogDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + log_group_id=log_group_id, + log_id=log_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + log_group_id: str, + log_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("log_group_id", log_group_id) + _setter("log_id", log_id) @property @pulumi.getter(name="logGroupId") @@ -3527,10 +4309,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetJobRunsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3588,24 +4383,67 @@ def __init__(__self__, *, :param str time_finished: The date and time the job run request was finished in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). :param str time_started: The date and time the job run request was started in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). """ - pulumi.set(__self__, "asynchronous", asynchronous) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "created_by", created_by) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "job_configuration_override_details", job_configuration_override_details) - pulumi.set(__self__, "job_id", job_id) - pulumi.set(__self__, "job_infrastructure_configuration_details", job_infrastructure_configuration_details) - pulumi.set(__self__, "job_log_configuration_override_details", job_log_configuration_override_details) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "log_details", log_details) - pulumi.set(__self__, "project_id", project_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_accepted", time_accepted) - pulumi.set(__self__, "time_finished", time_finished) - pulumi.set(__self__, "time_started", time_started) + GetJobRunsJobRunResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + asynchronous=asynchronous, + compartment_id=compartment_id, + created_by=created_by, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + job_configuration_override_details=job_configuration_override_details, + job_id=job_id, + job_infrastructure_configuration_details=job_infrastructure_configuration_details, + job_log_configuration_override_details=job_log_configuration_override_details, + lifecycle_details=lifecycle_details, + log_details=log_details, + project_id=project_id, + state=state, + time_accepted=time_accepted, + time_finished=time_finished, + time_started=time_started, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + asynchronous: bool, + compartment_id: str, + created_by: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + job_configuration_override_details: Sequence['outputs.GetJobRunsJobRunJobConfigurationOverrideDetailResult'], + job_id: str, + job_infrastructure_configuration_details: Sequence['outputs.GetJobRunsJobRunJobInfrastructureConfigurationDetailResult'], + job_log_configuration_override_details: Sequence['outputs.GetJobRunsJobRunJobLogConfigurationOverrideDetailResult'], + lifecycle_details: str, + log_details: Sequence['outputs.GetJobRunsJobRunLogDetailResult'], + project_id: str, + state: str, + time_accepted: str, + time_finished: str, + time_started: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("asynchronous", asynchronous) + _setter("compartment_id", compartment_id) + _setter("created_by", created_by) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("job_configuration_override_details", job_configuration_override_details) + _setter("job_id", job_id) + _setter("job_infrastructure_configuration_details", job_infrastructure_configuration_details) + _setter("job_log_configuration_override_details", job_log_configuration_override_details) + _setter("lifecycle_details", lifecycle_details) + _setter("log_details", log_details) + _setter("project_id", project_id) + _setter("state", state) + _setter("time_accepted", time_accepted) + _setter("time_finished", time_finished) + _setter("time_started", time_started) @property @pulumi.getter @@ -3762,10 +4600,25 @@ def __init__(__self__, *, :param str job_type: The type of job. :param str maximum_runtime_in_minutes: A time bound for the execution of the job. Timer starts when the job becomes active. """ - pulumi.set(__self__, "command_line_arguments", command_line_arguments) - pulumi.set(__self__, "environment_variables", environment_variables) - pulumi.set(__self__, "job_type", job_type) - pulumi.set(__self__, "maximum_runtime_in_minutes", maximum_runtime_in_minutes) + GetJobRunsJobRunJobConfigurationOverrideDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + command_line_arguments=command_line_arguments, + environment_variables=environment_variables, + job_type=job_type, + maximum_runtime_in_minutes=maximum_runtime_in_minutes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + command_line_arguments: str, + environment_variables: Mapping[str, Any], + job_type: str, + maximum_runtime_in_minutes: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("command_line_arguments", command_line_arguments) + _setter("environment_variables", environment_variables) + _setter("job_type", job_type) + _setter("maximum_runtime_in_minutes", maximum_runtime_in_minutes) @property @pulumi.getter(name="commandLineArguments") @@ -3815,11 +4668,28 @@ def __init__(__self__, *, :param str shape_name: The shape used to launch the job run instances. :param str subnet_id: The subnet to create a secondary vnic in to attach to the instance running the job """ - pulumi.set(__self__, "block_storage_size_in_gbs", block_storage_size_in_gbs) - pulumi.set(__self__, "job_infrastructure_type", job_infrastructure_type) - pulumi.set(__self__, "job_shape_config_details", job_shape_config_details) - pulumi.set(__self__, "shape_name", shape_name) - pulumi.set(__self__, "subnet_id", subnet_id) + GetJobRunsJobRunJobInfrastructureConfigurationDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + block_storage_size_in_gbs=block_storage_size_in_gbs, + job_infrastructure_type=job_infrastructure_type, + job_shape_config_details=job_shape_config_details, + shape_name=shape_name, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + block_storage_size_in_gbs: int, + job_infrastructure_type: str, + job_shape_config_details: Sequence['outputs.GetJobRunsJobRunJobInfrastructureConfigurationDetailJobShapeConfigDetailResult'], + shape_name: str, + subnet_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("block_storage_size_in_gbs", block_storage_size_in_gbs) + _setter("job_infrastructure_type", job_infrastructure_type) + _setter("job_shape_config_details", job_shape_config_details) + _setter("shape_name", shape_name) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="blockStorageSizeInGbs") @@ -3871,8 +4741,19 @@ def __init__(__self__, *, :param float memory_in_gbs: The total amount of memory available to the job run instance, in gigabytes. :param float ocpus: The total number of OCPUs available to the job run instance. """ - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "ocpus", ocpus) + GetJobRunsJobRunJobInfrastructureConfigurationDetailJobShapeConfigDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: float, + ocpus: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("memory_in_gbs", memory_in_gbs) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -3904,10 +4785,25 @@ def __init__(__self__, *, :param str log_group_id: The log group id for where log objects will be for job runs. :param str log_id: The log id of the log object the job run logs will be shipped to. """ - pulumi.set(__self__, "enable_auto_log_creation", enable_auto_log_creation) - pulumi.set(__self__, "enable_logging", enable_logging) - pulumi.set(__self__, "log_group_id", log_group_id) - pulumi.set(__self__, "log_id", log_id) + GetJobRunsJobRunJobLogConfigurationOverrideDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + enable_auto_log_creation=enable_auto_log_creation, + enable_logging=enable_logging, + log_group_id=log_group_id, + log_id=log_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + enable_auto_log_creation: bool, + enable_logging: bool, + log_group_id: str, + log_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("enable_auto_log_creation", enable_auto_log_creation) + _setter("enable_logging", enable_logging) + _setter("log_group_id", log_group_id) + _setter("log_id", log_id) @property @pulumi.getter(name="enableAutoLogCreation") @@ -3951,8 +4847,19 @@ def __init__(__self__, *, :param str log_group_id: The log group id for where log objects will be for job runs. :param str log_id: The log id of the log object the job run logs will be shipped to. """ - pulumi.set(__self__, "log_group_id", log_group_id) - pulumi.set(__self__, "log_id", log_id) + GetJobRunsJobRunLogDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + log_group_id=log_group_id, + log_id=log_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + log_group_id: str, + log_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("log_group_id", log_group_id) + _setter("log_id", log_id) @property @pulumi.getter(name="logGroupId") @@ -3980,10 +4887,23 @@ def __init__(__self__, *, """ :param str name: The name of the job shape. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetJobShapesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4017,10 +4937,25 @@ def __init__(__self__, *, :param str name: The name of the job shape. :param str shape_series: The family that the compute shape belongs to. """ - pulumi.set(__self__, "core_count", core_count) - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "shape_series", shape_series) + GetJobShapesJobShapeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + core_count=core_count, + memory_in_gbs=memory_in_gbs, + name=name, + shape_series=shape_series, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + core_count: int, + memory_in_gbs: int, + name: str, + shape_series: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("core_count", core_count) + _setter("memory_in_gbs", memory_in_gbs) + _setter("name", name) + _setter("shape_series", shape_series) @property @pulumi.getter(name="coreCount") @@ -4061,10 +4996,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetJobsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4122,27 +5070,76 @@ def __init__(__self__, *, :param str state: Filter results by the specified lifecycle state. Must be a valid state for the resource type. :param str time_created: The date and time the resource was created in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: 2020-08-06T21:10:29.41Z """ - pulumi.set(__self__, "artifact_content_disposition", artifact_content_disposition) - pulumi.set(__self__, "artifact_content_length", artifact_content_length) - pulumi.set(__self__, "artifact_content_md5", artifact_content_md5) - pulumi.set(__self__, "artifact_last_modified", artifact_last_modified) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "created_by", created_by) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "delete_related_job_runs", delete_related_job_runs) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "empty_artifact", empty_artifact) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "job_artifact", job_artifact) - pulumi.set(__self__, "job_configuration_details", job_configuration_details) - pulumi.set(__self__, "job_infrastructure_configuration_details", job_infrastructure_configuration_details) - pulumi.set(__self__, "job_log_configuration_details", job_log_configuration_details) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "project_id", project_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) + GetJobsJobResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + artifact_content_disposition=artifact_content_disposition, + artifact_content_length=artifact_content_length, + artifact_content_md5=artifact_content_md5, + artifact_last_modified=artifact_last_modified, + compartment_id=compartment_id, + created_by=created_by, + defined_tags=defined_tags, + delete_related_job_runs=delete_related_job_runs, + description=description, + display_name=display_name, + empty_artifact=empty_artifact, + freeform_tags=freeform_tags, + id=id, + job_artifact=job_artifact, + job_configuration_details=job_configuration_details, + job_infrastructure_configuration_details=job_infrastructure_configuration_details, + job_log_configuration_details=job_log_configuration_details, + lifecycle_details=lifecycle_details, + project_id=project_id, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + artifact_content_disposition: str, + artifact_content_length: str, + artifact_content_md5: str, + artifact_last_modified: str, + compartment_id: str, + created_by: str, + defined_tags: Mapping[str, Any], + delete_related_job_runs: bool, + description: str, + display_name: str, + empty_artifact: bool, + freeform_tags: Mapping[str, Any], + id: str, + job_artifact: str, + job_configuration_details: Sequence['outputs.GetJobsJobJobConfigurationDetailResult'], + job_infrastructure_configuration_details: Sequence['outputs.GetJobsJobJobInfrastructureConfigurationDetailResult'], + job_log_configuration_details: Sequence['outputs.GetJobsJobJobLogConfigurationDetailResult'], + lifecycle_details: str, + project_id: str, + state: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("artifact_content_disposition", artifact_content_disposition) + _setter("artifact_content_length", artifact_content_length) + _setter("artifact_content_md5", artifact_content_md5) + _setter("artifact_last_modified", artifact_last_modified) + _setter("compartment_id", compartment_id) + _setter("created_by", created_by) + _setter("defined_tags", defined_tags) + _setter("delete_related_job_runs", delete_related_job_runs) + _setter("description", description) + _setter("display_name", display_name) + _setter("empty_artifact", empty_artifact) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("job_artifact", job_artifact) + _setter("job_configuration_details", job_configuration_details) + _setter("job_infrastructure_configuration_details", job_infrastructure_configuration_details) + _setter("job_log_configuration_details", job_log_configuration_details) + _setter("lifecycle_details", lifecycle_details) + _setter("project_id", project_id) + _setter("state", state) + _setter("time_created", time_created) @property @pulumi.getter(name="artifactContentDisposition") @@ -4305,10 +5302,25 @@ def __init__(__self__, *, :param str job_type: The type of job. :param str maximum_runtime_in_minutes: A time bound for the execution of the job. Timer starts when the job becomes active. """ - pulumi.set(__self__, "command_line_arguments", command_line_arguments) - pulumi.set(__self__, "environment_variables", environment_variables) - pulumi.set(__self__, "job_type", job_type) - pulumi.set(__self__, "maximum_runtime_in_minutes", maximum_runtime_in_minutes) + GetJobsJobJobConfigurationDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + command_line_arguments=command_line_arguments, + environment_variables=environment_variables, + job_type=job_type, + maximum_runtime_in_minutes=maximum_runtime_in_minutes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + command_line_arguments: str, + environment_variables: Mapping[str, Any], + job_type: str, + maximum_runtime_in_minutes: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("command_line_arguments", command_line_arguments) + _setter("environment_variables", environment_variables) + _setter("job_type", job_type) + _setter("maximum_runtime_in_minutes", maximum_runtime_in_minutes) @property @pulumi.getter(name="commandLineArguments") @@ -4358,11 +5370,28 @@ def __init__(__self__, *, :param str shape_name: The shape used to launch the job run instances. :param str subnet_id: The subnet to create a secondary vnic in to attach to the instance running the job """ - pulumi.set(__self__, "block_storage_size_in_gbs", block_storage_size_in_gbs) - pulumi.set(__self__, "job_infrastructure_type", job_infrastructure_type) - pulumi.set(__self__, "job_shape_config_details", job_shape_config_details) - pulumi.set(__self__, "shape_name", shape_name) - pulumi.set(__self__, "subnet_id", subnet_id) + GetJobsJobJobInfrastructureConfigurationDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + block_storage_size_in_gbs=block_storage_size_in_gbs, + job_infrastructure_type=job_infrastructure_type, + job_shape_config_details=job_shape_config_details, + shape_name=shape_name, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + block_storage_size_in_gbs: int, + job_infrastructure_type: str, + job_shape_config_details: Sequence['outputs.GetJobsJobJobInfrastructureConfigurationDetailJobShapeConfigDetailResult'], + shape_name: str, + subnet_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("block_storage_size_in_gbs", block_storage_size_in_gbs) + _setter("job_infrastructure_type", job_infrastructure_type) + _setter("job_shape_config_details", job_shape_config_details) + _setter("shape_name", shape_name) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="blockStorageSizeInGbs") @@ -4414,8 +5443,19 @@ def __init__(__self__, *, :param float memory_in_gbs: The total amount of memory available to the job run instance, in gigabytes. :param float ocpus: The total number of OCPUs available to the job run instance. """ - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "ocpus", ocpus) + GetJobsJobJobInfrastructureConfigurationDetailJobShapeConfigDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: float, + ocpus: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("memory_in_gbs", memory_in_gbs) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -4447,10 +5487,25 @@ def __init__(__self__, *, :param str log_group_id: The log group id for where log objects are for job runs. :param str log_id: The log id the job run will push logs too. """ - pulumi.set(__self__, "enable_auto_log_creation", enable_auto_log_creation) - pulumi.set(__self__, "enable_logging", enable_logging) - pulumi.set(__self__, "log_group_id", log_group_id) - pulumi.set(__self__, "log_id", log_id) + GetJobsJobJobLogConfigurationDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + enable_auto_log_creation=enable_auto_log_creation, + enable_logging=enable_logging, + log_group_id=log_group_id, + log_id=log_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + enable_auto_log_creation: bool, + enable_logging: bool, + log_group_id: str, + log_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("enable_auto_log_creation", enable_auto_log_creation) + _setter("enable_logging", enable_logging) + _setter("log_group_id", log_group_id) + _setter("log_id", log_id) @property @pulumi.getter(name="enableAutoLogCreation") @@ -4504,10 +5559,25 @@ def __init__(__self__, *, * testartifactresults :param str value: Allowed values for useCaseType: binary_classification, regression, multinomial_classification, clustering, recommender, dimensionality_reduction/representation, time_series_forecasting, anomaly_detection, topic_modeling, ner, sentiment_analysis, image_classification, object_localization, other """ - pulumi.set(__self__, "category", category) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetModelCustomMetadataListResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + category=category, + description=description, + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + category: str, + description: str, + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("category", category) + _setter("description", description) + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -4567,10 +5637,25 @@ def __init__(__self__, *, * testartifactresults :param str value: Allowed values for useCaseType: binary_classification, regression, multinomial_classification, clustering, recommender, dimensionality_reduction/representation, time_series_forecasting, anomaly_detection, topic_modeling, ner, sentiment_analysis, image_classification, object_localization, other """ - pulumi.set(__self__, "category", category) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetModelDefinedMetadataListResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + category=category, + description=description, + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + category: str, + description: str, + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("category", category) + _setter("description", description) + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -4620,8 +5705,19 @@ def __init__(__self__, *, :param Sequence['GetModelDeploymentCategoryLogDetailAccessArgs'] accesses: The log details. :param Sequence['GetModelDeploymentCategoryLogDetailPredictArgs'] predicts: The log details. """ - pulumi.set(__self__, "accesses", accesses) - pulumi.set(__self__, "predicts", predicts) + GetModelDeploymentCategoryLogDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + accesses=accesses, + predicts=predicts, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + accesses: Sequence['outputs.GetModelDeploymentCategoryLogDetailAccessResult'], + predicts: Sequence['outputs.GetModelDeploymentCategoryLogDetailPredictResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("accesses", accesses) + _setter("predicts", predicts) @property @pulumi.getter @@ -4649,8 +5745,19 @@ def __init__(__self__, *, :param str log_group_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a log group to work with. :param str log_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a log to work with. """ - pulumi.set(__self__, "log_group_id", log_group_id) - pulumi.set(__self__, "log_id", log_id) + GetModelDeploymentCategoryLogDetailAccessResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + log_group_id=log_group_id, + log_id=log_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + log_group_id: str, + log_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("log_group_id", log_group_id) + _setter("log_id", log_id) @property @pulumi.getter(name="logGroupId") @@ -4678,8 +5785,19 @@ def __init__(__self__, *, :param str log_group_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a log group to work with. :param str log_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a log to work with. """ - pulumi.set(__self__, "log_group_id", log_group_id) - pulumi.set(__self__, "log_id", log_id) + GetModelDeploymentCategoryLogDetailPredictResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + log_group_id=log_group_id, + log_id=log_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + log_group_id: str, + log_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("log_group_id", log_group_id) + _setter("log_id", log_id) @property @pulumi.getter(name="logGroupId") @@ -4709,9 +5827,22 @@ def __init__(__self__, *, :param Sequence['GetModelDeploymentModelDeploymentConfigurationDetailEnvironmentConfigurationDetailArgs'] environment_configuration_details: The configuration to carry the environment details thats used in Model Deployment creation :param Sequence['GetModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetailArgs'] model_configuration_details: The model configuration details. """ - pulumi.set(__self__, "deployment_type", deployment_type) - pulumi.set(__self__, "environment_configuration_details", environment_configuration_details) - pulumi.set(__self__, "model_configuration_details", model_configuration_details) + GetModelDeploymentModelDeploymentConfigurationDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + deployment_type=deployment_type, + environment_configuration_details=environment_configuration_details, + model_configuration_details=model_configuration_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deployment_type: str, + environment_configuration_details: Sequence['outputs.GetModelDeploymentModelDeploymentConfigurationDetailEnvironmentConfigurationDetailResult'], + model_configuration_details: Sequence['outputs.GetModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetailResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("deployment_type", deployment_type) + _setter("environment_configuration_details", environment_configuration_details) + _setter("model_configuration_details", model_configuration_details) @property @pulumi.getter(name="deploymentType") @@ -4759,14 +5890,37 @@ def __init__(__self__, *, :param str image_digest: The digest of the container image. For example, `sha256:881303a6b2738834d795a32b4a98eb0e5e3d1cad590a712d1e04f9b2fa90a030` :param int server_port: The port on which the web server serving the inference is running. The port can be anything between `1024` and `65535`. The following ports cannot be used `24224`, `8446`, `8447`. """ - pulumi.set(__self__, "cmds", cmds) - pulumi.set(__self__, "entrypoints", entrypoints) - pulumi.set(__self__, "environment_configuration_type", environment_configuration_type) - pulumi.set(__self__, "environment_variables", environment_variables) - pulumi.set(__self__, "health_check_port", health_check_port) - pulumi.set(__self__, "image", image) - pulumi.set(__self__, "image_digest", image_digest) - pulumi.set(__self__, "server_port", server_port) + GetModelDeploymentModelDeploymentConfigurationDetailEnvironmentConfigurationDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cmds=cmds, + entrypoints=entrypoints, + environment_configuration_type=environment_configuration_type, + environment_variables=environment_variables, + health_check_port=health_check_port, + image=image, + image_digest=image_digest, + server_port=server_port, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cmds: Sequence[str], + entrypoints: Sequence[str], + environment_configuration_type: str, + environment_variables: Mapping[str, Any], + health_check_port: int, + image: str, + image_digest: str, + server_port: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cmds", cmds) + _setter("entrypoints", entrypoints) + _setter("environment_configuration_type", environment_configuration_type) + _setter("environment_variables", environment_variables) + _setter("health_check_port", health_check_port) + _setter("image", image) + _setter("image_digest", image_digest) + _setter("server_port", server_port) @property @pulumi.getter @@ -4841,21 +5995,36 @@ def __init__(__self__, *, model_id: str, scaling_policies: Sequence['outputs.GetModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetailScalingPolicyResult']): """ - :param int bandwidth_mbps: The network bandwidth for the model. + :param int bandwidth_mbps: The minimum network bandwidth for the model deployment. :param Sequence['GetModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetailInstanceConfigurationArgs'] instance_configurations: The model deployment instance configuration :param str model_id: The OCID of the model you want to deploy. :param Sequence['GetModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetailScalingPolicyArgs'] scaling_policies: The scaling policy to apply to each model of the deployment. """ - pulumi.set(__self__, "bandwidth_mbps", bandwidth_mbps) - pulumi.set(__self__, "instance_configurations", instance_configurations) - pulumi.set(__self__, "model_id", model_id) - pulumi.set(__self__, "scaling_policies", scaling_policies) + GetModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bandwidth_mbps=bandwidth_mbps, + instance_configurations=instance_configurations, + model_id=model_id, + scaling_policies=scaling_policies, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bandwidth_mbps: int, + instance_configurations: Sequence['outputs.GetModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetailInstanceConfigurationResult'], + model_id: str, + scaling_policies: Sequence['outputs.GetModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetailScalingPolicyResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bandwidth_mbps", bandwidth_mbps) + _setter("instance_configurations", instance_configurations) + _setter("model_id", model_id) + _setter("scaling_policies", scaling_policies) @property @pulumi.getter(name="bandwidthMbps") def bandwidth_mbps(self) -> int: """ - The network bandwidth for the model. + The minimum network bandwidth for the model deployment. """ return pulumi.get(self, "bandwidth_mbps") @@ -4893,8 +6062,19 @@ def __init__(__self__, *, :param str instance_shape_name: The shape used to launch the model deployment instances. :param Sequence['GetModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetailInstanceConfigurationModelDeploymentInstanceShapeConfigDetailArgs'] model_deployment_instance_shape_config_details: Details for the model-deployment instance shape configuration. """ - pulumi.set(__self__, "instance_shape_name", instance_shape_name) - pulumi.set(__self__, "model_deployment_instance_shape_config_details", model_deployment_instance_shape_config_details) + GetModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetailInstanceConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + instance_shape_name=instance_shape_name, + model_deployment_instance_shape_config_details=model_deployment_instance_shape_config_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + instance_shape_name: str, + model_deployment_instance_shape_config_details: Sequence['outputs.GetModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetailInstanceConfigurationModelDeploymentInstanceShapeConfigDetailResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("instance_shape_name", instance_shape_name) + _setter("model_deployment_instance_shape_config_details", model_deployment_instance_shape_config_details) @property @pulumi.getter(name="instanceShapeName") @@ -4922,8 +6102,19 @@ def __init__(__self__, *, :param float memory_in_gbs: A model-deployment instance of type VM.Standard.E3.Flex or VM.Standard.E4.Flex allows the memory to be specified with in the range of 6 to 1024 GB. VM.Standard3.Flex memory range is between 6 and 512 GB and VM.Optimized3.Flex memory range is between 6 and 256 GB. :param float ocpus: A model-deployment instance of type VM.Standard.E3.Flex or VM.Standard.E4.Flex allows the ocpu count to be specified with in the range of 1 to 64 ocpu. VM.Standard3.Flex OCPU range is between 1 and 32 ocpu and for VM.Optimized3.Flex OCPU range is 1 to 18 ocpu. """ - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "ocpus", ocpus) + GetModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetailInstanceConfigurationModelDeploymentInstanceShapeConfigDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: float, + ocpus: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("memory_in_gbs", memory_in_gbs) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -4951,8 +6142,19 @@ def __init__(__self__, *, :param int instance_count: The number of instances for the model deployment. :param str policy_type: The type of scaling policy. """ - pulumi.set(__self__, "instance_count", instance_count) - pulumi.set(__self__, "policy_type", policy_type) + GetModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetailScalingPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + instance_count=instance_count, + policy_type=policy_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + instance_count: int, + policy_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("instance_count", instance_count) + _setter("policy_type", policy_type) @property @pulumi.getter(name="instanceCount") @@ -4980,10 +6182,23 @@ def __init__(__self__, *, """ :param str name: The name of the model deployment shape. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetModelDeploymentShapesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5017,10 +6232,25 @@ def __init__(__self__, *, :param str name: The name of the model deployment shape. :param str shape_series: The family that the compute shape belongs to. """ - pulumi.set(__self__, "core_count", core_count) - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "shape_series", shape_series) + GetModelDeploymentShapesModelDeploymentShapeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + core_count=core_count, + memory_in_gbs=memory_in_gbs, + name=name, + shape_series=shape_series, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + core_count: int, + memory_in_gbs: int, + name: str, + shape_series: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("core_count", core_count) + _setter("memory_in_gbs", memory_in_gbs) + _setter("name", name) + _setter("shape_series", shape_series) @property @pulumi.getter(name="coreCount") @@ -5061,10 +6291,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetModelDeploymentsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5115,20 +6358,55 @@ def __init__(__self__, *, :param str state: Filter results by the specified lifecycle state. Must be a valid state for the resource type. :param str time_created: The date and time the resource was created, in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: 2019-08-25T21:10:29.41Z """ - pulumi.set(__self__, "category_log_details", category_log_details) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "created_by", created_by) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "model_deployment_configuration_details", model_deployment_configuration_details) - pulumi.set(__self__, "model_deployment_url", model_deployment_url) - pulumi.set(__self__, "project_id", project_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) + GetModelDeploymentsModelDeploymentResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + category_log_details=category_log_details, + compartment_id=compartment_id, + created_by=created_by, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + model_deployment_configuration_details=model_deployment_configuration_details, + model_deployment_url=model_deployment_url, + project_id=project_id, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + category_log_details: Sequence['outputs.GetModelDeploymentsModelDeploymentCategoryLogDetailResult'], + compartment_id: str, + created_by: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + model_deployment_configuration_details: Sequence['outputs.GetModelDeploymentsModelDeploymentModelDeploymentConfigurationDetailResult'], + model_deployment_url: str, + project_id: str, + state: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("category_log_details", category_log_details) + _setter("compartment_id", compartment_id) + _setter("created_by", created_by) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("model_deployment_configuration_details", model_deployment_configuration_details) + _setter("model_deployment_url", model_deployment_url) + _setter("project_id", project_id) + _setter("state", state) + _setter("time_created", time_created) @property @pulumi.getter(name="categoryLogDetails") @@ -5252,8 +6530,19 @@ def __init__(__self__, *, :param Sequence['GetModelDeploymentsModelDeploymentCategoryLogDetailAccessArgs'] accesses: The log details. :param Sequence['GetModelDeploymentsModelDeploymentCategoryLogDetailPredictArgs'] predicts: The log details. """ - pulumi.set(__self__, "accesses", accesses) - pulumi.set(__self__, "predicts", predicts) + GetModelDeploymentsModelDeploymentCategoryLogDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + accesses=accesses, + predicts=predicts, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + accesses: Sequence['outputs.GetModelDeploymentsModelDeploymentCategoryLogDetailAccessResult'], + predicts: Sequence['outputs.GetModelDeploymentsModelDeploymentCategoryLogDetailPredictResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("accesses", accesses) + _setter("predicts", predicts) @property @pulumi.getter @@ -5281,8 +6570,19 @@ def __init__(__self__, *, :param str log_group_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a log group to work with. :param str log_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a log to work with. """ - pulumi.set(__self__, "log_group_id", log_group_id) - pulumi.set(__self__, "log_id", log_id) + GetModelDeploymentsModelDeploymentCategoryLogDetailAccessResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + log_group_id=log_group_id, + log_id=log_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + log_group_id: str, + log_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("log_group_id", log_group_id) + _setter("log_id", log_id) @property @pulumi.getter(name="logGroupId") @@ -5310,8 +6610,19 @@ def __init__(__self__, *, :param str log_group_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a log group to work with. :param str log_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of a log to work with. """ - pulumi.set(__self__, "log_group_id", log_group_id) - pulumi.set(__self__, "log_id", log_id) + GetModelDeploymentsModelDeploymentCategoryLogDetailPredictResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + log_group_id=log_group_id, + log_id=log_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + log_group_id: str, + log_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("log_group_id", log_group_id) + _setter("log_id", log_id) @property @pulumi.getter(name="logGroupId") @@ -5341,9 +6652,22 @@ def __init__(__self__, *, :param Sequence['GetModelDeploymentsModelDeploymentModelDeploymentConfigurationDetailEnvironmentConfigurationDetailArgs'] environment_configuration_details: The configuration to carry the environment details thats used in Model Deployment creation :param Sequence['GetModelDeploymentsModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetailArgs'] model_configuration_details: The model configuration details. """ - pulumi.set(__self__, "deployment_type", deployment_type) - pulumi.set(__self__, "environment_configuration_details", environment_configuration_details) - pulumi.set(__self__, "model_configuration_details", model_configuration_details) + GetModelDeploymentsModelDeploymentModelDeploymentConfigurationDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + deployment_type=deployment_type, + environment_configuration_details=environment_configuration_details, + model_configuration_details=model_configuration_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deployment_type: str, + environment_configuration_details: Sequence['outputs.GetModelDeploymentsModelDeploymentModelDeploymentConfigurationDetailEnvironmentConfigurationDetailResult'], + model_configuration_details: Sequence['outputs.GetModelDeploymentsModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetailResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("deployment_type", deployment_type) + _setter("environment_configuration_details", environment_configuration_details) + _setter("model_configuration_details", model_configuration_details) @property @pulumi.getter(name="deploymentType") @@ -5391,14 +6715,37 @@ def __init__(__self__, *, :param str image_digest: The digest of the container image. For example, `sha256:881303a6b2738834d795a32b4a98eb0e5e3d1cad590a712d1e04f9b2fa90a030` :param int server_port: The port on which the web server serving the inference is running. The port can be anything between `1024` and `65535`. The following ports cannot be used `24224`, `8446`, `8447`. """ - pulumi.set(__self__, "cmds", cmds) - pulumi.set(__self__, "entrypoints", entrypoints) - pulumi.set(__self__, "environment_configuration_type", environment_configuration_type) - pulumi.set(__self__, "environment_variables", environment_variables) - pulumi.set(__self__, "health_check_port", health_check_port) - pulumi.set(__self__, "image", image) - pulumi.set(__self__, "image_digest", image_digest) - pulumi.set(__self__, "server_port", server_port) + GetModelDeploymentsModelDeploymentModelDeploymentConfigurationDetailEnvironmentConfigurationDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cmds=cmds, + entrypoints=entrypoints, + environment_configuration_type=environment_configuration_type, + environment_variables=environment_variables, + health_check_port=health_check_port, + image=image, + image_digest=image_digest, + server_port=server_port, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cmds: Sequence[str], + entrypoints: Sequence[str], + environment_configuration_type: str, + environment_variables: Mapping[str, Any], + health_check_port: int, + image: str, + image_digest: str, + server_port: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cmds", cmds) + _setter("entrypoints", entrypoints) + _setter("environment_configuration_type", environment_configuration_type) + _setter("environment_variables", environment_variables) + _setter("health_check_port", health_check_port) + _setter("image", image) + _setter("image_digest", image_digest) + _setter("server_port", server_port) @property @pulumi.getter @@ -5473,21 +6820,36 @@ def __init__(__self__, *, model_id: str, scaling_policies: Sequence['outputs.GetModelDeploymentsModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetailScalingPolicyResult']): """ - :param int bandwidth_mbps: The network bandwidth for the model. + :param int bandwidth_mbps: The minimum network bandwidth for the model deployment. :param Sequence['GetModelDeploymentsModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetailInstanceConfigurationArgs'] instance_configurations: The model deployment instance configuration :param str model_id: The OCID of the model you want to deploy. :param Sequence['GetModelDeploymentsModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetailScalingPolicyArgs'] scaling_policies: The scaling policy to apply to each model of the deployment. """ - pulumi.set(__self__, "bandwidth_mbps", bandwidth_mbps) - pulumi.set(__self__, "instance_configurations", instance_configurations) - pulumi.set(__self__, "model_id", model_id) - pulumi.set(__self__, "scaling_policies", scaling_policies) + GetModelDeploymentsModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bandwidth_mbps=bandwidth_mbps, + instance_configurations=instance_configurations, + model_id=model_id, + scaling_policies=scaling_policies, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bandwidth_mbps: int, + instance_configurations: Sequence['outputs.GetModelDeploymentsModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetailInstanceConfigurationResult'], + model_id: str, + scaling_policies: Sequence['outputs.GetModelDeploymentsModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetailScalingPolicyResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bandwidth_mbps", bandwidth_mbps) + _setter("instance_configurations", instance_configurations) + _setter("model_id", model_id) + _setter("scaling_policies", scaling_policies) @property @pulumi.getter(name="bandwidthMbps") def bandwidth_mbps(self) -> int: """ - The network bandwidth for the model. + The minimum network bandwidth for the model deployment. """ return pulumi.get(self, "bandwidth_mbps") @@ -5525,8 +6887,19 @@ def __init__(__self__, *, :param str instance_shape_name: The shape used to launch the model deployment instances. :param Sequence['GetModelDeploymentsModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetailInstanceConfigurationModelDeploymentInstanceShapeConfigDetailArgs'] model_deployment_instance_shape_config_details: Details for the model-deployment instance shape configuration. """ - pulumi.set(__self__, "instance_shape_name", instance_shape_name) - pulumi.set(__self__, "model_deployment_instance_shape_config_details", model_deployment_instance_shape_config_details) + GetModelDeploymentsModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetailInstanceConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + instance_shape_name=instance_shape_name, + model_deployment_instance_shape_config_details=model_deployment_instance_shape_config_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + instance_shape_name: str, + model_deployment_instance_shape_config_details: Sequence['outputs.GetModelDeploymentsModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetailInstanceConfigurationModelDeploymentInstanceShapeConfigDetailResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("instance_shape_name", instance_shape_name) + _setter("model_deployment_instance_shape_config_details", model_deployment_instance_shape_config_details) @property @pulumi.getter(name="instanceShapeName") @@ -5554,8 +6927,19 @@ def __init__(__self__, *, :param float memory_in_gbs: A model-deployment instance of type VM.Standard.E3.Flex or VM.Standard.E4.Flex allows the memory to be specified with in the range of 6 to 1024 GB. VM.Standard3.Flex memory range is between 6 and 512 GB and VM.Optimized3.Flex memory range is between 6 and 256 GB. :param float ocpus: A model-deployment instance of type VM.Standard.E3.Flex or VM.Standard.E4.Flex allows the ocpu count to be specified with in the range of 1 to 64 ocpu. VM.Standard3.Flex OCPU range is between 1 and 32 ocpu and for VM.Optimized3.Flex OCPU range is 1 to 18 ocpu. """ - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "ocpus", ocpus) + GetModelDeploymentsModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetailInstanceConfigurationModelDeploymentInstanceShapeConfigDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: float, + ocpus: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("memory_in_gbs", memory_in_gbs) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -5583,8 +6967,19 @@ def __init__(__self__, *, :param int instance_count: The number of instances for the model deployment. :param str policy_type: The type of scaling policy. """ - pulumi.set(__self__, "instance_count", instance_count) - pulumi.set(__self__, "policy_type", policy_type) + GetModelDeploymentsModelDeploymentModelDeploymentConfigurationDetailModelConfigurationDetailScalingPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + instance_count=instance_count, + policy_type=policy_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + instance_count: int, + policy_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("instance_count", instance_count) + _setter("policy_type", policy_type) @property @pulumi.getter(name="instanceCount") @@ -5612,10 +7007,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the entire name given. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetModelVersionSetsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5663,17 +7071,46 @@ def __init__(__self__, *, :param str time_created: The date and time that the resource was created in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: 2019-08-25T21:10:29.41Z :param str time_updated: The date and time that the resource was created in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: 2019-08-25T21:10:29.41Z """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "created_by", created_by) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "project_id", project_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetModelVersionSetsModelVersionSetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + created_by=created_by, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + id=id, + name=name, + project_id=project_id, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + created_by: str, + defined_tags: Mapping[str, Any], + description: str, + freeform_tags: Mapping[str, Any], + id: str, + name: str, + project_id: str, + state: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("created_by", created_by) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("name", name) + _setter("project_id", project_id) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -5770,10 +7207,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetModelsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5830,26 +7280,73 @@ def __init__(__self__, *, :param str state: Filter results by the specified lifecycle state. Must be a valid state for the resource type. :param str time_created: The date and time the resource was created in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: 2019-08-25T21:10:29.41Z """ - pulumi.set(__self__, "artifact_content_disposition", artifact_content_disposition) - pulumi.set(__self__, "artifact_content_length", artifact_content_length) - pulumi.set(__self__, "artifact_content_md5", artifact_content_md5) - pulumi.set(__self__, "artifact_last_modified", artifact_last_modified) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "created_by", created_by) - pulumi.set(__self__, "custom_metadata_lists", custom_metadata_lists) - pulumi.set(__self__, "defined_metadata_lists", defined_metadata_lists) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "empty_model", empty_model) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "input_schema", input_schema) - pulumi.set(__self__, "model_artifact", model_artifact) - pulumi.set(__self__, "output_schema", output_schema) - pulumi.set(__self__, "project_id", project_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) + GetModelsModelResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + artifact_content_disposition=artifact_content_disposition, + artifact_content_length=artifact_content_length, + artifact_content_md5=artifact_content_md5, + artifact_last_modified=artifact_last_modified, + compartment_id=compartment_id, + created_by=created_by, + custom_metadata_lists=custom_metadata_lists, + defined_metadata_lists=defined_metadata_lists, + defined_tags=defined_tags, + description=description, + display_name=display_name, + empty_model=empty_model, + freeform_tags=freeform_tags, + id=id, + input_schema=input_schema, + model_artifact=model_artifact, + output_schema=output_schema, + project_id=project_id, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + artifact_content_disposition: str, + artifact_content_length: str, + artifact_content_md5: str, + artifact_last_modified: str, + compartment_id: str, + created_by: str, + custom_metadata_lists: Sequence['outputs.GetModelsModelCustomMetadataListResult'], + defined_metadata_lists: Sequence['outputs.GetModelsModelDefinedMetadataListResult'], + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + empty_model: bool, + freeform_tags: Mapping[str, Any], + id: str, + input_schema: str, + model_artifact: str, + output_schema: str, + project_id: str, + state: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("artifact_content_disposition", artifact_content_disposition) + _setter("artifact_content_length", artifact_content_length) + _setter("artifact_content_md5", artifact_content_md5) + _setter("artifact_last_modified", artifact_last_modified) + _setter("compartment_id", compartment_id) + _setter("created_by", created_by) + _setter("custom_metadata_lists", custom_metadata_lists) + _setter("defined_metadata_lists", defined_metadata_lists) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("empty_model", empty_model) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("input_schema", input_schema) + _setter("model_artifact", model_artifact) + _setter("output_schema", output_schema) + _setter("project_id", project_id) + _setter("state", state) + _setter("time_created", time_created) @property @pulumi.getter(name="artifactContentDisposition") @@ -6013,10 +7510,25 @@ def __init__(__self__, *, * testartifactresults :param str value: Allowed values for useCaseType: binary_classification, regression, multinomial_classification, clustering, recommender, dimensionality_reduction/representation, time_series_forecasting, anomaly_detection, topic_modeling, ner, sentiment_analysis, image_classification, object_localization, other """ - pulumi.set(__self__, "category", category) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetModelsModelCustomMetadataListResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + category=category, + description=description, + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + category: str, + description: str, + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("category", category) + _setter("description", description) + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -6076,10 +7588,25 @@ def __init__(__self__, *, * testartifactresults :param str value: Allowed values for useCaseType: binary_classification, regression, multinomial_classification, clustering, recommender, dimensionality_reduction/representation, time_series_forecasting, anomaly_detection, topic_modeling, ner, sentiment_analysis, image_classification, object_localization, other """ - pulumi.set(__self__, "category", category) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetModelsModelDefinedMetadataListResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + category=category, + description=description, + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + category: str, + description: str, + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("category", category) + _setter("description", description) + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -6125,18 +7652,38 @@ class GetNotebookSessionNotebookSessionConfigDetailResult(dict): def __init__(__self__, *, block_storage_size_in_gbs: int, notebook_session_shape_config_details: Sequence['outputs.GetNotebookSessionNotebookSessionConfigDetailNotebookSessionShapeConfigDetailResult'], + private_endpoint_id: str, shape: str, subnet_id: str): """ :param int block_storage_size_in_gbs: A notebook session instance is provided with a block storage volume. This specifies the size of the volume in GBs. :param Sequence['GetNotebookSessionNotebookSessionConfigDetailNotebookSessionShapeConfigDetailArgs'] notebook_session_shape_config_details: Details for the notebook session shape configuration. + :param str private_endpoint_id: The OCID of a Data Science private endpoint. :param str shape: The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint. :param str subnet_id: A notebook session instance is provided with a VNIC for network access. This specifies the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet to create a VNIC in. The subnet should be in a VCN with a NAT gateway for egress to the internet. """ - pulumi.set(__self__, "block_storage_size_in_gbs", block_storage_size_in_gbs) - pulumi.set(__self__, "notebook_session_shape_config_details", notebook_session_shape_config_details) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "subnet_id", subnet_id) + GetNotebookSessionNotebookSessionConfigDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + block_storage_size_in_gbs=block_storage_size_in_gbs, + notebook_session_shape_config_details=notebook_session_shape_config_details, + private_endpoint_id=private_endpoint_id, + shape=shape, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + block_storage_size_in_gbs: int, + notebook_session_shape_config_details: Sequence['outputs.GetNotebookSessionNotebookSessionConfigDetailNotebookSessionShapeConfigDetailResult'], + private_endpoint_id: str, + shape: str, + subnet_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("block_storage_size_in_gbs", block_storage_size_in_gbs) + _setter("notebook_session_shape_config_details", notebook_session_shape_config_details) + _setter("private_endpoint_id", private_endpoint_id) + _setter("shape", shape) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="blockStorageSizeInGbs") @@ -6154,6 +7701,14 @@ def notebook_session_shape_config_details(self) -> Sequence['outputs.GetNotebook """ return pulumi.get(self, "notebook_session_shape_config_details") + @property + @pulumi.getter(name="privateEndpointId") + def private_endpoint_id(self) -> str: + """ + The OCID of a Data Science private endpoint. + """ + return pulumi.get(self, "private_endpoint_id") + @property @pulumi.getter def shape(self) -> str: @@ -6180,8 +7735,19 @@ def __init__(__self__, *, :param float memory_in_gbs: The total amount of memory available to the notebook session instance, in gigabytes. :param float ocpus: The total number of OCPUs available to the notebook session instance. """ - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "ocpus", ocpus) + GetNotebookSessionNotebookSessionConfigDetailNotebookSessionShapeConfigDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: float, + ocpus: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("memory_in_gbs", memory_in_gbs) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -6205,18 +7771,38 @@ class GetNotebookSessionNotebookSessionConfigurationDetailResult(dict): def __init__(__self__, *, block_storage_size_in_gbs: int, notebook_session_shape_config_details: Sequence['outputs.GetNotebookSessionNotebookSessionConfigurationDetailNotebookSessionShapeConfigDetailResult'], + private_endpoint_id: str, shape: str, subnet_id: str): """ :param int block_storage_size_in_gbs: A notebook session instance is provided with a block storage volume. This specifies the size of the volume in GBs. :param Sequence['GetNotebookSessionNotebookSessionConfigurationDetailNotebookSessionShapeConfigDetailArgs'] notebook_session_shape_config_details: Details for the notebook session shape configuration. + :param str private_endpoint_id: The OCID of a Data Science private endpoint. :param str shape: The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint. :param str subnet_id: A notebook session instance is provided with a VNIC for network access. This specifies the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet to create a VNIC in. The subnet should be in a VCN with a NAT gateway for egress to the internet. """ - pulumi.set(__self__, "block_storage_size_in_gbs", block_storage_size_in_gbs) - pulumi.set(__self__, "notebook_session_shape_config_details", notebook_session_shape_config_details) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "subnet_id", subnet_id) + GetNotebookSessionNotebookSessionConfigurationDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + block_storage_size_in_gbs=block_storage_size_in_gbs, + notebook_session_shape_config_details=notebook_session_shape_config_details, + private_endpoint_id=private_endpoint_id, + shape=shape, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + block_storage_size_in_gbs: int, + notebook_session_shape_config_details: Sequence['outputs.GetNotebookSessionNotebookSessionConfigurationDetailNotebookSessionShapeConfigDetailResult'], + private_endpoint_id: str, + shape: str, + subnet_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("block_storage_size_in_gbs", block_storage_size_in_gbs) + _setter("notebook_session_shape_config_details", notebook_session_shape_config_details) + _setter("private_endpoint_id", private_endpoint_id) + _setter("shape", shape) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="blockStorageSizeInGbs") @@ -6234,6 +7820,14 @@ def notebook_session_shape_config_details(self) -> Sequence['outputs.GetNotebook """ return pulumi.get(self, "notebook_session_shape_config_details") + @property + @pulumi.getter(name="privateEndpointId") + def private_endpoint_id(self) -> str: + """ + The OCID of a Data Science private endpoint. + """ + return pulumi.get(self, "private_endpoint_id") + @property @pulumi.getter def shape(self) -> str: @@ -6260,8 +7854,19 @@ def __init__(__self__, *, :param float memory_in_gbs: The total amount of memory available to the notebook session instance, in gigabytes. :param float ocpus: The total number of OCPUs available to the notebook session instance. """ - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "ocpus", ocpus) + GetNotebookSessionNotebookSessionConfigurationDetailNotebookSessionShapeConfigDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: float, + ocpus: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("memory_in_gbs", memory_in_gbs) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -6289,8 +7894,19 @@ def __init__(__self__, *, :param Mapping[str, Any] custom_environment_variables: Custom environment variables for Notebook Session. These key-value pairs will be available for customers in Notebook Sessions. :param Sequence['GetNotebookSessionNotebookSessionRuntimeConfigDetailNotebookSessionGitConfigDetailArgs'] notebook_session_git_config_details: Git configuration Details. """ - pulumi.set(__self__, "custom_environment_variables", custom_environment_variables) - pulumi.set(__self__, "notebook_session_git_config_details", notebook_session_git_config_details) + GetNotebookSessionNotebookSessionRuntimeConfigDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_environment_variables=custom_environment_variables, + notebook_session_git_config_details=notebook_session_git_config_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_environment_variables: Mapping[str, Any], + notebook_session_git_config_details: Sequence['outputs.GetNotebookSessionNotebookSessionRuntimeConfigDetailNotebookSessionGitConfigDetailResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("custom_environment_variables", custom_environment_variables) + _setter("notebook_session_git_config_details", notebook_session_git_config_details) @property @pulumi.getter(name="customEnvironmentVariables") @@ -6316,7 +7932,16 @@ def __init__(__self__, *, """ :param Sequence['GetNotebookSessionNotebookSessionRuntimeConfigDetailNotebookSessionGitConfigDetailNotebookSessionGitRepoConfigCollectionArgs'] notebook_session_git_repo_config_collections: A collection of Git repository configurations. """ - pulumi.set(__self__, "notebook_session_git_repo_config_collections", notebook_session_git_repo_config_collections) + GetNotebookSessionNotebookSessionRuntimeConfigDetailNotebookSessionGitConfigDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + notebook_session_git_repo_config_collections=notebook_session_git_repo_config_collections, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + notebook_session_git_repo_config_collections: Sequence['outputs.GetNotebookSessionNotebookSessionRuntimeConfigDetailNotebookSessionGitConfigDetailNotebookSessionGitRepoConfigCollectionResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("notebook_session_git_repo_config_collections", notebook_session_git_repo_config_collections) @property @pulumi.getter(name="notebookSessionGitRepoConfigCollections") @@ -6334,7 +7959,16 @@ def __init__(__self__, *, """ :param str url: The repository URL """ - pulumi.set(__self__, "url", url) + GetNotebookSessionNotebookSessionRuntimeConfigDetailNotebookSessionGitConfigDetailNotebookSessionGitRepoConfigCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + url=url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + url: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("url", url) @property @pulumi.getter @@ -6354,10 +7988,23 @@ def __init__(__self__, *, """ :param str name: The name of the notebook session shape. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetNotebookSessionShapesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -6391,10 +8038,25 @@ def __init__(__self__, *, :param str name: The name of the notebook session shape. :param str shape_series: The family that the compute shape belongs to. """ - pulumi.set(__self__, "core_count", core_count) - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "shape_series", shape_series) + GetNotebookSessionShapesNotebookSessionShapeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + core_count=core_count, + memory_in_gbs=memory_in_gbs, + name=name, + shape_series=shape_series, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + core_count: int, + memory_in_gbs: int, + name: str, + shape_series: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("core_count", core_count) + _setter("memory_in_gbs", memory_in_gbs) + _setter("name", name) + _setter("shape_series", shape_series) @property @pulumi.getter(name="coreCount") @@ -6435,10 +8097,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetNotebookSessionsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -6489,20 +8164,55 @@ def __init__(__self__, *, :param str state: Filter results by the specified lifecycle state. Must be a valid state for the resource type. :param str time_created: The date and time the resource was created in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: 2019-08-25T21:10:29.41Z """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "created_by", created_by) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "notebook_session_config_details", notebook_session_config_details) - pulumi.set(__self__, "notebook_session_configuration_details", notebook_session_configuration_details) - pulumi.set(__self__, "notebook_session_runtime_config_details", notebook_session_runtime_config_details) - pulumi.set(__self__, "notebook_session_url", notebook_session_url) - pulumi.set(__self__, "project_id", project_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) + GetNotebookSessionsNotebookSessionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + created_by=created_by, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + notebook_session_config_details=notebook_session_config_details, + notebook_session_configuration_details=notebook_session_configuration_details, + notebook_session_runtime_config_details=notebook_session_runtime_config_details, + notebook_session_url=notebook_session_url, + project_id=project_id, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + created_by: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + notebook_session_config_details: Sequence['outputs.GetNotebookSessionsNotebookSessionNotebookSessionConfigDetailResult'], + notebook_session_configuration_details: Sequence['outputs.GetNotebookSessionsNotebookSessionNotebookSessionConfigurationDetailResult'], + notebook_session_runtime_config_details: Sequence['outputs.GetNotebookSessionsNotebookSessionNotebookSessionRuntimeConfigDetailResult'], + notebook_session_url: str, + project_id: str, + state: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("created_by", created_by) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("notebook_session_config_details", notebook_session_config_details) + _setter("notebook_session_configuration_details", notebook_session_configuration_details) + _setter("notebook_session_runtime_config_details", notebook_session_runtime_config_details) + _setter("notebook_session_url", notebook_session_url) + _setter("project_id", project_id) + _setter("state", state) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -6622,18 +8332,38 @@ class GetNotebookSessionsNotebookSessionNotebookSessionConfigDetailResult(dict): def __init__(__self__, *, block_storage_size_in_gbs: int, notebook_session_shape_config_details: Sequence['outputs.GetNotebookSessionsNotebookSessionNotebookSessionConfigDetailNotebookSessionShapeConfigDetailResult'], + private_endpoint_id: str, shape: str, subnet_id: str): """ :param int block_storage_size_in_gbs: A notebook session instance is provided with a block storage volume. This specifies the size of the volume in GBs. :param Sequence['GetNotebookSessionsNotebookSessionNotebookSessionConfigDetailNotebookSessionShapeConfigDetailArgs'] notebook_session_shape_config_details: Details for the notebook session shape configuration. + :param str private_endpoint_id: The OCID of a Data Science private endpoint. :param str shape: The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint. :param str subnet_id: A notebook session instance is provided with a VNIC for network access. This specifies the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet to create a VNIC in. The subnet should be in a VCN with a NAT gateway for egress to the internet. """ - pulumi.set(__self__, "block_storage_size_in_gbs", block_storage_size_in_gbs) - pulumi.set(__self__, "notebook_session_shape_config_details", notebook_session_shape_config_details) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "subnet_id", subnet_id) + GetNotebookSessionsNotebookSessionNotebookSessionConfigDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + block_storage_size_in_gbs=block_storage_size_in_gbs, + notebook_session_shape_config_details=notebook_session_shape_config_details, + private_endpoint_id=private_endpoint_id, + shape=shape, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + block_storage_size_in_gbs: int, + notebook_session_shape_config_details: Sequence['outputs.GetNotebookSessionsNotebookSessionNotebookSessionConfigDetailNotebookSessionShapeConfigDetailResult'], + private_endpoint_id: str, + shape: str, + subnet_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("block_storage_size_in_gbs", block_storage_size_in_gbs) + _setter("notebook_session_shape_config_details", notebook_session_shape_config_details) + _setter("private_endpoint_id", private_endpoint_id) + _setter("shape", shape) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="blockStorageSizeInGbs") @@ -6651,6 +8381,14 @@ def notebook_session_shape_config_details(self) -> Sequence['outputs.GetNotebook """ return pulumi.get(self, "notebook_session_shape_config_details") + @property + @pulumi.getter(name="privateEndpointId") + def private_endpoint_id(self) -> str: + """ + The OCID of a Data Science private endpoint. + """ + return pulumi.get(self, "private_endpoint_id") + @property @pulumi.getter def shape(self) -> str: @@ -6677,8 +8415,19 @@ def __init__(__self__, *, :param float memory_in_gbs: The total amount of memory available to the notebook session instance, in gigabytes. :param float ocpus: The total number of OCPUs available to the notebook session instance. """ - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "ocpus", ocpus) + GetNotebookSessionsNotebookSessionNotebookSessionConfigDetailNotebookSessionShapeConfigDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: float, + ocpus: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("memory_in_gbs", memory_in_gbs) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -6702,18 +8451,38 @@ class GetNotebookSessionsNotebookSessionNotebookSessionConfigurationDetailResult def __init__(__self__, *, block_storage_size_in_gbs: int, notebook_session_shape_config_details: Sequence['outputs.GetNotebookSessionsNotebookSessionNotebookSessionConfigurationDetailNotebookSessionShapeConfigDetailResult'], + private_endpoint_id: str, shape: str, subnet_id: str): """ :param int block_storage_size_in_gbs: A notebook session instance is provided with a block storage volume. This specifies the size of the volume in GBs. :param Sequence['GetNotebookSessionsNotebookSessionNotebookSessionConfigurationDetailNotebookSessionShapeConfigDetailArgs'] notebook_session_shape_config_details: Details for the notebook session shape configuration. + :param str private_endpoint_id: The OCID of a Data Science private endpoint. :param str shape: The shape used to launch the notebook session compute instance. The list of available shapes in a given compartment can be retrieved using the `ListNotebookSessionShapes` endpoint. :param str subnet_id: A notebook session instance is provided with a VNIC for network access. This specifies the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet to create a VNIC in. The subnet should be in a VCN with a NAT gateway for egress to the internet. """ - pulumi.set(__self__, "block_storage_size_in_gbs", block_storage_size_in_gbs) - pulumi.set(__self__, "notebook_session_shape_config_details", notebook_session_shape_config_details) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "subnet_id", subnet_id) + GetNotebookSessionsNotebookSessionNotebookSessionConfigurationDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + block_storage_size_in_gbs=block_storage_size_in_gbs, + notebook_session_shape_config_details=notebook_session_shape_config_details, + private_endpoint_id=private_endpoint_id, + shape=shape, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + block_storage_size_in_gbs: int, + notebook_session_shape_config_details: Sequence['outputs.GetNotebookSessionsNotebookSessionNotebookSessionConfigurationDetailNotebookSessionShapeConfigDetailResult'], + private_endpoint_id: str, + shape: str, + subnet_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("block_storage_size_in_gbs", block_storage_size_in_gbs) + _setter("notebook_session_shape_config_details", notebook_session_shape_config_details) + _setter("private_endpoint_id", private_endpoint_id) + _setter("shape", shape) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="blockStorageSizeInGbs") @@ -6731,6 +8500,14 @@ def notebook_session_shape_config_details(self) -> Sequence['outputs.GetNotebook """ return pulumi.get(self, "notebook_session_shape_config_details") + @property + @pulumi.getter(name="privateEndpointId") + def private_endpoint_id(self) -> str: + """ + The OCID of a Data Science private endpoint. + """ + return pulumi.get(self, "private_endpoint_id") + @property @pulumi.getter def shape(self) -> str: @@ -6757,8 +8534,19 @@ def __init__(__self__, *, :param float memory_in_gbs: The total amount of memory available to the notebook session instance, in gigabytes. :param float ocpus: The total number of OCPUs available to the notebook session instance. """ - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "ocpus", ocpus) + GetNotebookSessionsNotebookSessionNotebookSessionConfigurationDetailNotebookSessionShapeConfigDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: float, + ocpus: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("memory_in_gbs", memory_in_gbs) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -6786,8 +8574,19 @@ def __init__(__self__, *, :param Mapping[str, Any] custom_environment_variables: Custom environment variables for Notebook Session. These key-value pairs will be available for customers in Notebook Sessions. :param Sequence['GetNotebookSessionsNotebookSessionNotebookSessionRuntimeConfigDetailNotebookSessionGitConfigDetailArgs'] notebook_session_git_config_details: Git configuration Details. """ - pulumi.set(__self__, "custom_environment_variables", custom_environment_variables) - pulumi.set(__self__, "notebook_session_git_config_details", notebook_session_git_config_details) + GetNotebookSessionsNotebookSessionNotebookSessionRuntimeConfigDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_environment_variables=custom_environment_variables, + notebook_session_git_config_details=notebook_session_git_config_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_environment_variables: Mapping[str, Any], + notebook_session_git_config_details: Sequence['outputs.GetNotebookSessionsNotebookSessionNotebookSessionRuntimeConfigDetailNotebookSessionGitConfigDetailResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("custom_environment_variables", custom_environment_variables) + _setter("notebook_session_git_config_details", notebook_session_git_config_details) @property @pulumi.getter(name="customEnvironmentVariables") @@ -6813,7 +8612,16 @@ def __init__(__self__, *, """ :param Sequence['GetNotebookSessionsNotebookSessionNotebookSessionRuntimeConfigDetailNotebookSessionGitConfigDetailNotebookSessionGitRepoConfigCollectionArgs'] notebook_session_git_repo_config_collections: A collection of Git repository configurations. """ - pulumi.set(__self__, "notebook_session_git_repo_config_collections", notebook_session_git_repo_config_collections) + GetNotebookSessionsNotebookSessionNotebookSessionRuntimeConfigDetailNotebookSessionGitConfigDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + notebook_session_git_repo_config_collections=notebook_session_git_repo_config_collections, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + notebook_session_git_repo_config_collections: Sequence['outputs.GetNotebookSessionsNotebookSessionNotebookSessionRuntimeConfigDetailNotebookSessionGitConfigDetailNotebookSessionGitRepoConfigCollectionResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("notebook_session_git_repo_config_collections", notebook_session_git_repo_config_collections) @property @pulumi.getter(name="notebookSessionGitRepoConfigCollections") @@ -6831,7 +8639,16 @@ def __init__(__self__, *, """ :param str url: The repository URL """ - pulumi.set(__self__, "url", url) + GetNotebookSessionsNotebookSessionNotebookSessionRuntimeConfigDetailNotebookSessionGitConfigDetailNotebookSessionGitRepoConfigCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + url=url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + url: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("url", url) @property @pulumi.getter @@ -6855,10 +8672,25 @@ def __init__(__self__, *, :param str maximum_runtime_in_minutes: A time bound for the execution of the step. :param str type: The type of pipeline. """ - pulumi.set(__self__, "command_line_arguments", command_line_arguments) - pulumi.set(__self__, "environment_variables", environment_variables) - pulumi.set(__self__, "maximum_runtime_in_minutes", maximum_runtime_in_minutes) - pulumi.set(__self__, "type", type) + GetPipelineConfigurationDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + command_line_arguments=command_line_arguments, + environment_variables=environment_variables, + maximum_runtime_in_minutes=maximum_runtime_in_minutes, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + command_line_arguments: str, + environment_variables: Mapping[str, Any], + maximum_runtime_in_minutes: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("command_line_arguments", command_line_arguments) + _setter("environment_variables", environment_variables) + _setter("maximum_runtime_in_minutes", maximum_runtime_in_minutes) + _setter("type", type) @property @pulumi.getter(name="commandLineArguments") @@ -6904,9 +8736,22 @@ def __init__(__self__, *, :param Sequence['GetPipelineInfrastructureConfigurationDetailShapeConfigDetailArgs'] shape_config_details: Details for the pipeline step run shape configuration. Specify only when a flex shape is selected. :param str shape_name: The shape used to launch the instance for all step runs in the pipeline. """ - pulumi.set(__self__, "block_storage_size_in_gbs", block_storage_size_in_gbs) - pulumi.set(__self__, "shape_config_details", shape_config_details) - pulumi.set(__self__, "shape_name", shape_name) + GetPipelineInfrastructureConfigurationDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + block_storage_size_in_gbs=block_storage_size_in_gbs, + shape_config_details=shape_config_details, + shape_name=shape_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + block_storage_size_in_gbs: int, + shape_config_details: Sequence['outputs.GetPipelineInfrastructureConfigurationDetailShapeConfigDetailResult'], + shape_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("block_storage_size_in_gbs", block_storage_size_in_gbs) + _setter("shape_config_details", shape_config_details) + _setter("shape_name", shape_name) @property @pulumi.getter(name="blockStorageSizeInGbs") @@ -6942,8 +8787,19 @@ def __init__(__self__, *, :param float memory_in_gbs: A pipeline step run instance of type VM.Standard.E3.Flex allows memory to be specified. This specifies the size of the memory in GBs. :param float ocpus: A pipeline step run instance of type VM.Standard.E3.Flex allows the ocpu count to be specified. """ - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "ocpus", ocpus) + GetPipelineInfrastructureConfigurationDetailShapeConfigDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: float, + ocpus: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("memory_in_gbs", memory_in_gbs) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -6975,10 +8831,25 @@ def __init__(__self__, *, :param str log_group_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log group. :param str log_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log. """ - pulumi.set(__self__, "enable_auto_log_creation", enable_auto_log_creation) - pulumi.set(__self__, "enable_logging", enable_logging) - pulumi.set(__self__, "log_group_id", log_group_id) - pulumi.set(__self__, "log_id", log_id) + GetPipelineLogConfigurationDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + enable_auto_log_creation=enable_auto_log_creation, + enable_logging=enable_logging, + log_group_id=log_group_id, + log_id=log_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + enable_auto_log_creation: bool, + enable_logging: bool, + log_group_id: str, + log_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("enable_auto_log_creation", enable_auto_log_creation) + _setter("enable_logging", enable_logging) + _setter("log_group_id", log_group_id) + _setter("log_id", log_id) @property @pulumi.getter(name="enableAutoLogCreation") @@ -7026,10 +8897,25 @@ def __init__(__self__, *, :param str maximum_runtime_in_minutes: A time bound for the execution of the step. :param str type: The type of pipeline. """ - pulumi.set(__self__, "command_line_arguments", command_line_arguments) - pulumi.set(__self__, "environment_variables", environment_variables) - pulumi.set(__self__, "maximum_runtime_in_minutes", maximum_runtime_in_minutes) - pulumi.set(__self__, "type", type) + GetPipelineRunConfigurationDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + command_line_arguments=command_line_arguments, + environment_variables=environment_variables, + maximum_runtime_in_minutes=maximum_runtime_in_minutes, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + command_line_arguments: str, + environment_variables: Mapping[str, Any], + maximum_runtime_in_minutes: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("command_line_arguments", command_line_arguments) + _setter("environment_variables", environment_variables) + _setter("maximum_runtime_in_minutes", maximum_runtime_in_minutes) + _setter("type", type) @property @pulumi.getter(name="commandLineArguments") @@ -7077,10 +8963,25 @@ def __init__(__self__, *, :param str maximum_runtime_in_minutes: A time bound for the execution of the step. :param str type: The type of pipeline. """ - pulumi.set(__self__, "command_line_arguments", command_line_arguments) - pulumi.set(__self__, "environment_variables", environment_variables) - pulumi.set(__self__, "maximum_runtime_in_minutes", maximum_runtime_in_minutes) - pulumi.set(__self__, "type", type) + GetPipelineRunConfigurationOverrideDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + command_line_arguments=command_line_arguments, + environment_variables=environment_variables, + maximum_runtime_in_minutes=maximum_runtime_in_minutes, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + command_line_arguments: str, + environment_variables: Mapping[str, Any], + maximum_runtime_in_minutes: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("command_line_arguments", command_line_arguments) + _setter("environment_variables", environment_variables) + _setter("maximum_runtime_in_minutes", maximum_runtime_in_minutes) + _setter("type", type) @property @pulumi.getter(name="commandLineArguments") @@ -7128,10 +9029,25 @@ def __init__(__self__, *, :param str log_group_id: The log group id for where log objects will be for pipeline runs. :param str log_id: The log id of the log object the pipeline run logs will be shipped to. """ - pulumi.set(__self__, "enable_auto_log_creation", enable_auto_log_creation) - pulumi.set(__self__, "enable_logging", enable_logging) - pulumi.set(__self__, "log_group_id", log_group_id) - pulumi.set(__self__, "log_id", log_id) + GetPipelineRunLogConfigurationOverrideDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + enable_auto_log_creation=enable_auto_log_creation, + enable_logging=enable_logging, + log_group_id=log_group_id, + log_id=log_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + enable_auto_log_creation: bool, + enable_logging: bool, + log_group_id: str, + log_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("enable_auto_log_creation", enable_auto_log_creation) + _setter("enable_logging", enable_logging) + _setter("log_group_id", log_group_id) + _setter("log_id", log_id) @property @pulumi.getter(name="enableAutoLogCreation") @@ -7175,8 +9091,19 @@ def __init__(__self__, *, :param str log_group_id: The log group id for where log objects will be for pipeline runs. :param str log_id: The log id of the log object the pipeline run logs will be shipped to. """ - pulumi.set(__self__, "log_group_id", log_group_id) - pulumi.set(__self__, "log_id", log_id) + GetPipelineRunLogDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + log_group_id=log_group_id, + log_id=log_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + log_group_id: str, + log_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("log_group_id", log_group_id) + _setter("log_id", log_id) @property @pulumi.getter(name="logGroupId") @@ -7204,8 +9131,19 @@ def __init__(__self__, *, :param Sequence['GetPipelineRunStepOverrideDetailStepConfigurationDetailArgs'] step_configuration_details: The configuration details of a step. :param str step_name: The name of the step. """ - pulumi.set(__self__, "step_configuration_details", step_configuration_details) - pulumi.set(__self__, "step_name", step_name) + GetPipelineRunStepOverrideDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + step_configuration_details=step_configuration_details, + step_name=step_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + step_configuration_details: Sequence['outputs.GetPipelineRunStepOverrideDetailStepConfigurationDetailResult'], + step_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("step_configuration_details", step_configuration_details) + _setter("step_name", step_name) @property @pulumi.getter(name="stepConfigurationDetails") @@ -7235,9 +9173,22 @@ def __init__(__self__, *, :param Mapping[str, Any] environment_variables: Environment variables to set for step. :param str maximum_runtime_in_minutes: A time bound for the execution of the step. """ - pulumi.set(__self__, "command_line_arguments", command_line_arguments) - pulumi.set(__self__, "environment_variables", environment_variables) - pulumi.set(__self__, "maximum_runtime_in_minutes", maximum_runtime_in_minutes) + GetPipelineRunStepOverrideDetailStepConfigurationDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + command_line_arguments=command_line_arguments, + environment_variables=environment_variables, + maximum_runtime_in_minutes=maximum_runtime_in_minutes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + command_line_arguments: str, + environment_variables: Mapping[str, Any], + maximum_runtime_in_minutes: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("command_line_arguments", command_line_arguments) + _setter("environment_variables", environment_variables) + _setter("maximum_runtime_in_minutes", maximum_runtime_in_minutes) @property @pulumi.getter(name="commandLineArguments") @@ -7283,13 +9234,34 @@ def __init__(__self__, *, :param str time_finished: The date and time the pipeline run request was finished in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). :param str time_started: The date and time the pipeline run request was started in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). """ - pulumi.set(__self__, "job_run_id", job_run_id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "step_name", step_name) - pulumi.set(__self__, "step_type", step_type) - pulumi.set(__self__, "time_finished", time_finished) - pulumi.set(__self__, "time_started", time_started) + GetPipelineRunStepRunResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + job_run_id=job_run_id, + lifecycle_details=lifecycle_details, + state=state, + step_name=step_name, + step_type=step_type, + time_finished=time_finished, + time_started=time_started, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + job_run_id: str, + lifecycle_details: str, + state: str, + step_name: str, + step_type: str, + time_finished: str, + time_started: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("job_run_id", job_run_id) + _setter("lifecycle_details", lifecycle_details) + _setter("state", state) + _setter("step_name", step_name) + _setter("step_type", step_type) + _setter("time_finished", time_finished) + _setter("time_started", time_started) @property @pulumi.getter(name="jobRunId") @@ -7354,10 +9326,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetPipelineRunsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -7423,28 +9408,79 @@ def __init__(__self__, *, :param str time_started: The date and time the pipeline run request was started in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). :param str time_updated: The date and time the pipeline run was updated in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "configuration_details", configuration_details) - pulumi.set(__self__, "configuration_override_details", configuration_override_details) - pulumi.set(__self__, "created_by", created_by) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "delete_related_job_runs", delete_related_job_runs) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "log_configuration_override_details", log_configuration_override_details) - pulumi.set(__self__, "log_details", log_details) - pulumi.set(__self__, "pipeline_id", pipeline_id) - pulumi.set(__self__, "project_id", project_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "step_override_details", step_override_details) - pulumi.set(__self__, "step_runs", step_runs) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_accepted", time_accepted) - pulumi.set(__self__, "time_finished", time_finished) - pulumi.set(__self__, "time_started", time_started) - pulumi.set(__self__, "time_updated", time_updated) + GetPipelineRunsPipelineRunResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + configuration_details=configuration_details, + configuration_override_details=configuration_override_details, + created_by=created_by, + defined_tags=defined_tags, + delete_related_job_runs=delete_related_job_runs, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + log_configuration_override_details=log_configuration_override_details, + log_details=log_details, + pipeline_id=pipeline_id, + project_id=project_id, + state=state, + step_override_details=step_override_details, + step_runs=step_runs, + system_tags=system_tags, + time_accepted=time_accepted, + time_finished=time_finished, + time_started=time_started, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + configuration_details: Sequence['outputs.GetPipelineRunsPipelineRunConfigurationDetailResult'], + configuration_override_details: Sequence['outputs.GetPipelineRunsPipelineRunConfigurationOverrideDetailResult'], + created_by: str, + defined_tags: Mapping[str, Any], + delete_related_job_runs: bool, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + log_configuration_override_details: Sequence['outputs.GetPipelineRunsPipelineRunLogConfigurationOverrideDetailResult'], + log_details: Sequence['outputs.GetPipelineRunsPipelineRunLogDetailResult'], + pipeline_id: str, + project_id: str, + state: str, + step_override_details: Sequence['outputs.GetPipelineRunsPipelineRunStepOverrideDetailResult'], + step_runs: Sequence['outputs.GetPipelineRunsPipelineRunStepRunResult'], + system_tags: Mapping[str, Any], + time_accepted: str, + time_finished: str, + time_started: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("configuration_details", configuration_details) + _setter("configuration_override_details", configuration_override_details) + _setter("created_by", created_by) + _setter("defined_tags", defined_tags) + _setter("delete_related_job_runs", delete_related_job_runs) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("log_configuration_override_details", log_configuration_override_details) + _setter("log_details", log_details) + _setter("pipeline_id", pipeline_id) + _setter("project_id", project_id) + _setter("state", state) + _setter("step_override_details", step_override_details) + _setter("step_runs", step_runs) + _setter("system_tags", system_tags) + _setter("time_accepted", time_accepted) + _setter("time_finished", time_finished) + _setter("time_started", time_started) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -7633,10 +9669,25 @@ def __init__(__self__, *, :param str maximum_runtime_in_minutes: A time bound for the execution of the step. :param str type: The type of pipeline. """ - pulumi.set(__self__, "command_line_arguments", command_line_arguments) - pulumi.set(__self__, "environment_variables", environment_variables) - pulumi.set(__self__, "maximum_runtime_in_minutes", maximum_runtime_in_minutes) - pulumi.set(__self__, "type", type) + GetPipelineRunsPipelineRunConfigurationDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + command_line_arguments=command_line_arguments, + environment_variables=environment_variables, + maximum_runtime_in_minutes=maximum_runtime_in_minutes, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + command_line_arguments: str, + environment_variables: Mapping[str, Any], + maximum_runtime_in_minutes: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("command_line_arguments", command_line_arguments) + _setter("environment_variables", environment_variables) + _setter("maximum_runtime_in_minutes", maximum_runtime_in_minutes) + _setter("type", type) @property @pulumi.getter(name="commandLineArguments") @@ -7684,10 +9735,25 @@ def __init__(__self__, *, :param str maximum_runtime_in_minutes: A time bound for the execution of the step. :param str type: The type of pipeline. """ - pulumi.set(__self__, "command_line_arguments", command_line_arguments) - pulumi.set(__self__, "environment_variables", environment_variables) - pulumi.set(__self__, "maximum_runtime_in_minutes", maximum_runtime_in_minutes) - pulumi.set(__self__, "type", type) + GetPipelineRunsPipelineRunConfigurationOverrideDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + command_line_arguments=command_line_arguments, + environment_variables=environment_variables, + maximum_runtime_in_minutes=maximum_runtime_in_minutes, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + command_line_arguments: str, + environment_variables: Mapping[str, Any], + maximum_runtime_in_minutes: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("command_line_arguments", command_line_arguments) + _setter("environment_variables", environment_variables) + _setter("maximum_runtime_in_minutes", maximum_runtime_in_minutes) + _setter("type", type) @property @pulumi.getter(name="commandLineArguments") @@ -7735,10 +9801,25 @@ def __init__(__self__, *, :param str log_group_id: The log group id for where log objects will be for pipeline runs. :param str log_id: The log id of the log object the pipeline run logs will be shipped to. """ - pulumi.set(__self__, "enable_auto_log_creation", enable_auto_log_creation) - pulumi.set(__self__, "enable_logging", enable_logging) - pulumi.set(__self__, "log_group_id", log_group_id) - pulumi.set(__self__, "log_id", log_id) + GetPipelineRunsPipelineRunLogConfigurationOverrideDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + enable_auto_log_creation=enable_auto_log_creation, + enable_logging=enable_logging, + log_group_id=log_group_id, + log_id=log_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + enable_auto_log_creation: bool, + enable_logging: bool, + log_group_id: str, + log_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("enable_auto_log_creation", enable_auto_log_creation) + _setter("enable_logging", enable_logging) + _setter("log_group_id", log_group_id) + _setter("log_id", log_id) @property @pulumi.getter(name="enableAutoLogCreation") @@ -7782,8 +9863,19 @@ def __init__(__self__, *, :param str log_group_id: The log group id for where log objects will be for pipeline runs. :param str log_id: The log id of the log object the pipeline run logs will be shipped to. """ - pulumi.set(__self__, "log_group_id", log_group_id) - pulumi.set(__self__, "log_id", log_id) + GetPipelineRunsPipelineRunLogDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + log_group_id=log_group_id, + log_id=log_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + log_group_id: str, + log_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("log_group_id", log_group_id) + _setter("log_id", log_id) @property @pulumi.getter(name="logGroupId") @@ -7811,8 +9903,19 @@ def __init__(__self__, *, :param Sequence['GetPipelineRunsPipelineRunStepOverrideDetailStepConfigurationDetailArgs'] step_configuration_details: The configuration details of a step. :param str step_name: The name of the step. """ - pulumi.set(__self__, "step_configuration_details", step_configuration_details) - pulumi.set(__self__, "step_name", step_name) + GetPipelineRunsPipelineRunStepOverrideDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + step_configuration_details=step_configuration_details, + step_name=step_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + step_configuration_details: Sequence['outputs.GetPipelineRunsPipelineRunStepOverrideDetailStepConfigurationDetailResult'], + step_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("step_configuration_details", step_configuration_details) + _setter("step_name", step_name) @property @pulumi.getter(name="stepConfigurationDetails") @@ -7842,9 +9945,22 @@ def __init__(__self__, *, :param Mapping[str, Any] environment_variables: Environment variables to set for step. :param str maximum_runtime_in_minutes: A time bound for the execution of the step. """ - pulumi.set(__self__, "command_line_arguments", command_line_arguments) - pulumi.set(__self__, "environment_variables", environment_variables) - pulumi.set(__self__, "maximum_runtime_in_minutes", maximum_runtime_in_minutes) + GetPipelineRunsPipelineRunStepOverrideDetailStepConfigurationDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + command_line_arguments=command_line_arguments, + environment_variables=environment_variables, + maximum_runtime_in_minutes=maximum_runtime_in_minutes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + command_line_arguments: str, + environment_variables: Mapping[str, Any], + maximum_runtime_in_minutes: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("command_line_arguments", command_line_arguments) + _setter("environment_variables", environment_variables) + _setter("maximum_runtime_in_minutes", maximum_runtime_in_minutes) @property @pulumi.getter(name="commandLineArguments") @@ -7890,13 +10006,34 @@ def __init__(__self__, *, :param str time_finished: The date and time the pipeline run request was finished in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). :param str time_started: The date and time the pipeline run request was started in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). """ - pulumi.set(__self__, "job_run_id", job_run_id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "step_name", step_name) - pulumi.set(__self__, "step_type", step_type) - pulumi.set(__self__, "time_finished", time_finished) - pulumi.set(__self__, "time_started", time_started) + GetPipelineRunsPipelineRunStepRunResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + job_run_id=job_run_id, + lifecycle_details=lifecycle_details, + state=state, + step_name=step_name, + step_type=step_type, + time_finished=time_finished, + time_started=time_started, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + job_run_id: str, + lifecycle_details: str, + state: str, + step_name: str, + step_type: str, + time_finished: str, + time_started: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("job_run_id", job_run_id) + _setter("lifecycle_details", lifecycle_details) + _setter("state", state) + _setter("step_name", step_name) + _setter("step_type", step_type) + _setter("time_finished", time_finished) + _setter("time_started", time_started) @property @pulumi.getter(name="jobRunId") @@ -7967,12 +10104,31 @@ def __init__(__self__, *, """ :param str step_name: The name of the step. It must be unique within the pipeline. This is used to create the pipeline DAG. """ - pulumi.set(__self__, "artifact_content_disposition", artifact_content_disposition) - pulumi.set(__self__, "artifact_content_length", artifact_content_length) - pulumi.set(__self__, "artifact_content_md5", artifact_content_md5) - pulumi.set(__self__, "artifact_last_modified", artifact_last_modified) - pulumi.set(__self__, "pipeline_step_artifact", pipeline_step_artifact) - pulumi.set(__self__, "step_name", step_name) + GetPipelineStepArtifactResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + artifact_content_disposition=artifact_content_disposition, + artifact_content_length=artifact_content_length, + artifact_content_md5=artifact_content_md5, + artifact_last_modified=artifact_last_modified, + pipeline_step_artifact=pipeline_step_artifact, + step_name=step_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + artifact_content_disposition: str, + artifact_content_length: str, + artifact_content_md5: str, + artifact_last_modified: str, + pipeline_step_artifact: str, + step_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("artifact_content_disposition", artifact_content_disposition) + _setter("artifact_content_length", artifact_content_length) + _setter("artifact_content_md5", artifact_content_md5) + _setter("artifact_last_modified", artifact_last_modified) + _setter("pipeline_step_artifact", pipeline_step_artifact) + _setter("step_name", step_name) @property @pulumi.getter(name="artifactContentDisposition") @@ -8029,14 +10185,37 @@ def __init__(__self__, *, :param str step_name: The name of the step. It must be unique within the pipeline. This is used to create the pipeline DAG. :param str step_type: The type of step. """ - pulumi.set(__self__, "depends_ons", depends_ons) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "is_artifact_uploaded", is_artifact_uploaded) - pulumi.set(__self__, "job_id", job_id) - pulumi.set(__self__, "step_configuration_details", step_configuration_details) - pulumi.set(__self__, "step_infrastructure_configuration_details", step_infrastructure_configuration_details) - pulumi.set(__self__, "step_name", step_name) - pulumi.set(__self__, "step_type", step_type) + GetPipelineStepDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + depends_ons=depends_ons, + description=description, + is_artifact_uploaded=is_artifact_uploaded, + job_id=job_id, + step_configuration_details=step_configuration_details, + step_infrastructure_configuration_details=step_infrastructure_configuration_details, + step_name=step_name, + step_type=step_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + depends_ons: Sequence[str], + description: str, + is_artifact_uploaded: bool, + job_id: str, + step_configuration_details: Sequence['outputs.GetPipelineStepDetailStepConfigurationDetailResult'], + step_infrastructure_configuration_details: Sequence['outputs.GetPipelineStepDetailStepInfrastructureConfigurationDetailResult'], + step_name: str, + step_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("depends_ons", depends_ons) + _setter("description", description) + _setter("is_artifact_uploaded", is_artifact_uploaded) + _setter("job_id", job_id) + _setter("step_configuration_details", step_configuration_details) + _setter("step_infrastructure_configuration_details", step_infrastructure_configuration_details) + _setter("step_name", step_name) + _setter("step_type", step_type) @property @pulumi.getter(name="dependsOns") @@ -8114,9 +10293,22 @@ def __init__(__self__, *, :param Mapping[str, Any] environment_variables: Environment variables to set for step. :param str maximum_runtime_in_minutes: A time bound for the execution of the step. """ - pulumi.set(__self__, "command_line_arguments", command_line_arguments) - pulumi.set(__self__, "environment_variables", environment_variables) - pulumi.set(__self__, "maximum_runtime_in_minutes", maximum_runtime_in_minutes) + GetPipelineStepDetailStepConfigurationDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + command_line_arguments=command_line_arguments, + environment_variables=environment_variables, + maximum_runtime_in_minutes=maximum_runtime_in_minutes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + command_line_arguments: str, + environment_variables: Mapping[str, Any], + maximum_runtime_in_minutes: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("command_line_arguments", command_line_arguments) + _setter("environment_variables", environment_variables) + _setter("maximum_runtime_in_minutes", maximum_runtime_in_minutes) @property @pulumi.getter(name="commandLineArguments") @@ -8154,9 +10346,22 @@ def __init__(__self__, *, :param Sequence['GetPipelineStepDetailStepInfrastructureConfigurationDetailShapeConfigDetailArgs'] shape_config_details: Details for the pipeline step run shape configuration. Specify only when a flex shape is selected. :param str shape_name: The shape used to launch the instance for all step runs in the pipeline. """ - pulumi.set(__self__, "block_storage_size_in_gbs", block_storage_size_in_gbs) - pulumi.set(__self__, "shape_config_details", shape_config_details) - pulumi.set(__self__, "shape_name", shape_name) + GetPipelineStepDetailStepInfrastructureConfigurationDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + block_storage_size_in_gbs=block_storage_size_in_gbs, + shape_config_details=shape_config_details, + shape_name=shape_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + block_storage_size_in_gbs: int, + shape_config_details: Sequence['outputs.GetPipelineStepDetailStepInfrastructureConfigurationDetailShapeConfigDetailResult'], + shape_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("block_storage_size_in_gbs", block_storage_size_in_gbs) + _setter("shape_config_details", shape_config_details) + _setter("shape_name", shape_name) @property @pulumi.getter(name="blockStorageSizeInGbs") @@ -8192,8 +10397,19 @@ def __init__(__self__, *, :param float memory_in_gbs: A pipeline step run instance of type VM.Standard.E3.Flex allows memory to be specified. This specifies the size of the memory in GBs. :param float ocpus: A pipeline step run instance of type VM.Standard.E3.Flex allows the ocpu count to be specified. """ - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "ocpus", ocpus) + GetPipelineStepDetailStepInfrastructureConfigurationDetailShapeConfigDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: float, + ocpus: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("memory_in_gbs", memory_in_gbs) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -8218,10 +10434,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetPipelinesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -8280,25 +10509,70 @@ def __init__(__self__, *, :param str time_created: The date and time the resource was created in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: 2020-08-06T21:10:29.41Z :param str time_updated: The date and time the resource was updated in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: 2020-08-06T21:10:29.41Z """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "configuration_details", configuration_details) - pulumi.set(__self__, "created_by", created_by) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "delete_related_pipeline_runs", delete_related_pipeline_runs) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "infrastructure_configuration_details", infrastructure_configuration_details) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "log_configuration_details", log_configuration_details) - pulumi.set(__self__, "project_id", project_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "step_artifacts", step_artifacts) - pulumi.set(__self__, "step_details", step_details) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetPipelinesPipelineResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + configuration_details=configuration_details, + created_by=created_by, + defined_tags=defined_tags, + delete_related_pipeline_runs=delete_related_pipeline_runs, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + infrastructure_configuration_details=infrastructure_configuration_details, + lifecycle_details=lifecycle_details, + log_configuration_details=log_configuration_details, + project_id=project_id, + state=state, + step_artifacts=step_artifacts, + step_details=step_details, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + configuration_details: Sequence['outputs.GetPipelinesPipelineConfigurationDetailResult'], + created_by: str, + defined_tags: Mapping[str, Any], + delete_related_pipeline_runs: bool, + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + infrastructure_configuration_details: Sequence['outputs.GetPipelinesPipelineInfrastructureConfigurationDetailResult'], + lifecycle_details: str, + log_configuration_details: Sequence['outputs.GetPipelinesPipelineLogConfigurationDetailResult'], + project_id: str, + state: str, + step_artifacts: Sequence['outputs.GetPipelinesPipelineStepArtifactResult'], + step_details: Sequence['outputs.GetPipelinesPipelineStepDetailResult'], + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("configuration_details", configuration_details) + _setter("created_by", created_by) + _setter("defined_tags", defined_tags) + _setter("delete_related_pipeline_runs", delete_related_pipeline_runs) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("infrastructure_configuration_details", infrastructure_configuration_details) + _setter("lifecycle_details", lifecycle_details) + _setter("log_configuration_details", log_configuration_details) + _setter("project_id", project_id) + _setter("state", state) + _setter("step_artifacts", step_artifacts) + _setter("step_details", step_details) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -8460,10 +10734,25 @@ def __init__(__self__, *, :param str maximum_runtime_in_minutes: A time bound for the execution of the step. :param str type: The type of pipeline. """ - pulumi.set(__self__, "command_line_arguments", command_line_arguments) - pulumi.set(__self__, "environment_variables", environment_variables) - pulumi.set(__self__, "maximum_runtime_in_minutes", maximum_runtime_in_minutes) - pulumi.set(__self__, "type", type) + GetPipelinesPipelineConfigurationDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + command_line_arguments=command_line_arguments, + environment_variables=environment_variables, + maximum_runtime_in_minutes=maximum_runtime_in_minutes, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + command_line_arguments: str, + environment_variables: Mapping[str, Any], + maximum_runtime_in_minutes: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("command_line_arguments", command_line_arguments) + _setter("environment_variables", environment_variables) + _setter("maximum_runtime_in_minutes", maximum_runtime_in_minutes) + _setter("type", type) @property @pulumi.getter(name="commandLineArguments") @@ -8509,9 +10798,22 @@ def __init__(__self__, *, :param Sequence['GetPipelinesPipelineInfrastructureConfigurationDetailShapeConfigDetailArgs'] shape_config_details: Details for the pipeline step run shape configuration. Specify only when a flex shape is selected. :param str shape_name: The shape used to launch the instance for all step runs in the pipeline. """ - pulumi.set(__self__, "block_storage_size_in_gbs", block_storage_size_in_gbs) - pulumi.set(__self__, "shape_config_details", shape_config_details) - pulumi.set(__self__, "shape_name", shape_name) + GetPipelinesPipelineInfrastructureConfigurationDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + block_storage_size_in_gbs=block_storage_size_in_gbs, + shape_config_details=shape_config_details, + shape_name=shape_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + block_storage_size_in_gbs: int, + shape_config_details: Sequence['outputs.GetPipelinesPipelineInfrastructureConfigurationDetailShapeConfigDetailResult'], + shape_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("block_storage_size_in_gbs", block_storage_size_in_gbs) + _setter("shape_config_details", shape_config_details) + _setter("shape_name", shape_name) @property @pulumi.getter(name="blockStorageSizeInGbs") @@ -8547,8 +10849,19 @@ def __init__(__self__, *, :param float memory_in_gbs: A pipeline step run instance of type VM.Standard.E3.Flex allows memory to be specified. This specifies the size of the memory in GBs. :param float ocpus: A pipeline step run instance of type VM.Standard.E3.Flex allows the ocpu count to be specified. """ - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "ocpus", ocpus) + GetPipelinesPipelineInfrastructureConfigurationDetailShapeConfigDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: float, + ocpus: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("memory_in_gbs", memory_in_gbs) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -8580,10 +10893,25 @@ def __init__(__self__, *, :param str log_group_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log group. :param str log_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log. """ - pulumi.set(__self__, "enable_auto_log_creation", enable_auto_log_creation) - pulumi.set(__self__, "enable_logging", enable_logging) - pulumi.set(__self__, "log_group_id", log_group_id) - pulumi.set(__self__, "log_id", log_id) + GetPipelinesPipelineLogConfigurationDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + enable_auto_log_creation=enable_auto_log_creation, + enable_logging=enable_logging, + log_group_id=log_group_id, + log_id=log_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + enable_auto_log_creation: bool, + enable_logging: bool, + log_group_id: str, + log_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("enable_auto_log_creation", enable_auto_log_creation) + _setter("enable_logging", enable_logging) + _setter("log_group_id", log_group_id) + _setter("log_id", log_id) @property @pulumi.getter(name="enableAutoLogCreation") @@ -8630,12 +10958,31 @@ def __init__(__self__, *, """ :param str step_name: The name of the step. It must be unique within the pipeline. This is used to create the pipeline DAG. """ - pulumi.set(__self__, "artifact_content_disposition", artifact_content_disposition) - pulumi.set(__self__, "artifact_content_length", artifact_content_length) - pulumi.set(__self__, "artifact_content_md5", artifact_content_md5) - pulumi.set(__self__, "artifact_last_modified", artifact_last_modified) - pulumi.set(__self__, "pipeline_step_artifact", pipeline_step_artifact) - pulumi.set(__self__, "step_name", step_name) + GetPipelinesPipelineStepArtifactResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + artifact_content_disposition=artifact_content_disposition, + artifact_content_length=artifact_content_length, + artifact_content_md5=artifact_content_md5, + artifact_last_modified=artifact_last_modified, + pipeline_step_artifact=pipeline_step_artifact, + step_name=step_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + artifact_content_disposition: str, + artifact_content_length: str, + artifact_content_md5: str, + artifact_last_modified: str, + pipeline_step_artifact: str, + step_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("artifact_content_disposition", artifact_content_disposition) + _setter("artifact_content_length", artifact_content_length) + _setter("artifact_content_md5", artifact_content_md5) + _setter("artifact_last_modified", artifact_last_modified) + _setter("pipeline_step_artifact", pipeline_step_artifact) + _setter("step_name", step_name) @property @pulumi.getter(name="artifactContentDisposition") @@ -8692,14 +11039,37 @@ def __init__(__self__, *, :param str step_name: The name of the step. It must be unique within the pipeline. This is used to create the pipeline DAG. :param str step_type: The type of step. """ - pulumi.set(__self__, "depends_ons", depends_ons) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "is_artifact_uploaded", is_artifact_uploaded) - pulumi.set(__self__, "job_id", job_id) - pulumi.set(__self__, "step_configuration_details", step_configuration_details) - pulumi.set(__self__, "step_infrastructure_configuration_details", step_infrastructure_configuration_details) - pulumi.set(__self__, "step_name", step_name) - pulumi.set(__self__, "step_type", step_type) + GetPipelinesPipelineStepDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + depends_ons=depends_ons, + description=description, + is_artifact_uploaded=is_artifact_uploaded, + job_id=job_id, + step_configuration_details=step_configuration_details, + step_infrastructure_configuration_details=step_infrastructure_configuration_details, + step_name=step_name, + step_type=step_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + depends_ons: Sequence[str], + description: str, + is_artifact_uploaded: bool, + job_id: str, + step_configuration_details: Sequence['outputs.GetPipelinesPipelineStepDetailStepConfigurationDetailResult'], + step_infrastructure_configuration_details: Sequence['outputs.GetPipelinesPipelineStepDetailStepInfrastructureConfigurationDetailResult'], + step_name: str, + step_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("depends_ons", depends_ons) + _setter("description", description) + _setter("is_artifact_uploaded", is_artifact_uploaded) + _setter("job_id", job_id) + _setter("step_configuration_details", step_configuration_details) + _setter("step_infrastructure_configuration_details", step_infrastructure_configuration_details) + _setter("step_name", step_name) + _setter("step_type", step_type) @property @pulumi.getter(name="dependsOns") @@ -8777,9 +11147,22 @@ def __init__(__self__, *, :param Mapping[str, Any] environment_variables: Environment variables to set for step. :param str maximum_runtime_in_minutes: A time bound for the execution of the step. """ - pulumi.set(__self__, "command_line_arguments", command_line_arguments) - pulumi.set(__self__, "environment_variables", environment_variables) - pulumi.set(__self__, "maximum_runtime_in_minutes", maximum_runtime_in_minutes) + GetPipelinesPipelineStepDetailStepConfigurationDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + command_line_arguments=command_line_arguments, + environment_variables=environment_variables, + maximum_runtime_in_minutes=maximum_runtime_in_minutes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + command_line_arguments: str, + environment_variables: Mapping[str, Any], + maximum_runtime_in_minutes: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("command_line_arguments", command_line_arguments) + _setter("environment_variables", environment_variables) + _setter("maximum_runtime_in_minutes", maximum_runtime_in_minutes) @property @pulumi.getter(name="commandLineArguments") @@ -8817,9 +11200,22 @@ def __init__(__self__, *, :param Sequence['GetPipelinesPipelineStepDetailStepInfrastructureConfigurationDetailShapeConfigDetailArgs'] shape_config_details: Details for the pipeline step run shape configuration. Specify only when a flex shape is selected. :param str shape_name: The shape used to launch the instance for all step runs in the pipeline. """ - pulumi.set(__self__, "block_storage_size_in_gbs", block_storage_size_in_gbs) - pulumi.set(__self__, "shape_config_details", shape_config_details) - pulumi.set(__self__, "shape_name", shape_name) + GetPipelinesPipelineStepDetailStepInfrastructureConfigurationDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + block_storage_size_in_gbs=block_storage_size_in_gbs, + shape_config_details=shape_config_details, + shape_name=shape_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + block_storage_size_in_gbs: int, + shape_config_details: Sequence['outputs.GetPipelinesPipelineStepDetailStepInfrastructureConfigurationDetailShapeConfigDetailResult'], + shape_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("block_storage_size_in_gbs", block_storage_size_in_gbs) + _setter("shape_config_details", shape_config_details) + _setter("shape_name", shape_name) @property @pulumi.getter(name="blockStorageSizeInGbs") @@ -8855,8 +11251,19 @@ def __init__(__self__, *, :param float memory_in_gbs: A pipeline step run instance of type VM.Standard.E3.Flex allows memory to be specified. This specifies the size of the memory in GBs. :param float ocpus: A pipeline step run instance of type VM.Standard.E3.Flex allows the ocpu count to be specified. """ - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "ocpus", ocpus) + GetPipelinesPipelineStepDetailStepInfrastructureConfigurationDetailShapeConfigDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: float, + ocpus: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("memory_in_gbs", memory_in_gbs) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -8875,16 +11282,287 @@ def ocpus(self) -> float: return pulumi.get(self, "ocpus") +@pulumi.output_type +class GetPrivateEndpointsDataSciencePrivateEndpointResult(dict): + def __init__(__self__, *, + compartment_id: str, + created_by: str, + data_science_resource_type: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + fqdn: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + nsg_ids: Sequence[str], + state: str, + sub_domain: str, + subnet_id: str, + time_created: str, + time_updated: str): + """ + :param str compartment_id: Filter results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + :param str created_by: Filter results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the resource. + :param str data_science_resource_type: Resource types in the Data Science service such as notebooks. + :param Mapping[str, Any] defined_tags: Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` + :param str description: A user friendly description. Avoid entering confidential information. + :param str display_name: Filter results by its user-friendly name. + :param str fqdn: Accesing the Data Science resource using FQDN. + :param Mapping[str, Any] freeform_tags: Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` + :param str id: The OCID of a private endpoint. + :param str lifecycle_details: Details of the state of Data Science private endpoint. + :param Sequence[str] nsg_ids: An array of network security group OCIDs. + :param str state: The lifecycle state of the private endpoint. + :param str subnet_id: The OCID of a subnet. + :param str time_created: The date and time that the Data Science private endpoint was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + :param str time_updated: The date and time that the Data Science private endpoint was updated expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + """ + GetPrivateEndpointsDataSciencePrivateEndpointResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + created_by=created_by, + data_science_resource_type=data_science_resource_type, + defined_tags=defined_tags, + description=description, + display_name=display_name, + fqdn=fqdn, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + nsg_ids=nsg_ids, + state=state, + sub_domain=sub_domain, + subnet_id=subnet_id, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + created_by: str, + data_science_resource_type: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + fqdn: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + nsg_ids: Sequence[str], + state: str, + sub_domain: str, + subnet_id: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("created_by", created_by) + _setter("data_science_resource_type", data_science_resource_type) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("fqdn", fqdn) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("nsg_ids", nsg_ids) + _setter("state", state) + _setter("sub_domain", sub_domain) + _setter("subnet_id", subnet_id) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> str: + """ + Filter results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. + """ + return pulumi.get(self, "compartment_id") + + @property + @pulumi.getter(name="createdBy") + def created_by(self) -> str: + """ + Filter results by the [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user who created the resource. + """ + return pulumi.get(self, "created_by") + + @property + @pulumi.getter(name="dataScienceResourceType") + def data_science_resource_type(self) -> str: + """ + Resource types in the Data Science service such as notebooks. + """ + return pulumi.get(self, "data_science_resource_type") + + @property + @pulumi.getter(name="definedTags") + def defined_tags(self) -> Mapping[str, Any]: + """ + Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` + """ + return pulumi.get(self, "defined_tags") + + @property + @pulumi.getter + def description(self) -> str: + """ + A user friendly description. Avoid entering confidential information. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> str: + """ + Filter results by its user-friendly name. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter + def fqdn(self) -> str: + """ + Accesing the Data Science resource using FQDN. + """ + return pulumi.get(self, "fqdn") + + @property + @pulumi.getter(name="freeformTags") + def freeform_tags(self) -> Mapping[str, Any]: + """ + Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` + """ + return pulumi.get(self, "freeform_tags") + + @property + @pulumi.getter + def id(self) -> str: + """ + The OCID of a private endpoint. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="lifecycleDetails") + def lifecycle_details(self) -> str: + """ + Details of the state of Data Science private endpoint. + """ + return pulumi.get(self, "lifecycle_details") + + @property + @pulumi.getter(name="nsgIds") + def nsg_ids(self) -> Sequence[str]: + """ + An array of network security group OCIDs. + """ + return pulumi.get(self, "nsg_ids") + + @property + @pulumi.getter + def state(self) -> str: + """ + The lifecycle state of the private endpoint. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter(name="subDomain") + def sub_domain(self) -> str: + return pulumi.get(self, "sub_domain") + + @property + @pulumi.getter(name="subnetId") + def subnet_id(self) -> str: + """ + The OCID of a subnet. + """ + return pulumi.get(self, "subnet_id") + + @property + @pulumi.getter(name="timeCreated") + def time_created(self) -> str: + """ + The date and time that the Data Science private endpoint was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + """ + return pulumi.get(self, "time_created") + + @property + @pulumi.getter(name="timeUpdated") + def time_updated(self) -> str: + """ + The date and time that the Data Science private endpoint was updated expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + """ + return pulumi.get(self, "time_updated") + + +@pulumi.output_type +class GetPrivateEndpointsFilterResult(dict): + def __init__(__self__, *, + name: str, + values: Sequence[str], + regex: Optional[bool] = None): + GetPrivateEndpointsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) + if regex is not None: + _setter("regex", regex) + + @property + @pulumi.getter + def name(self) -> str: + return pulumi.get(self, "name") + + @property + @pulumi.getter + def values(self) -> Sequence[str]: + return pulumi.get(self, "values") + + @property + @pulumi.getter + def regex(self) -> Optional[bool]: + return pulumi.get(self, "regex") + + @pulumi.output_type class GetProjectsFilterResult(dict): def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetProjectsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -8925,15 +11603,40 @@ def __init__(__self__, *, :param str state: Filter results by the specified lifecycle state. Must be a valid state for the resource type. :param str time_created: The date and time the resource was created in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: 2019-08-25T21:10:29.41Z """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "created_by", created_by) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) + GetProjectsProjectResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + created_by=created_by, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + created_by: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + state: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("created_by", created_by) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("state", state) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") diff --git a/sdk/python/pulumi_oci/datascience/pipeline.py b/sdk/python/pulumi_oci/datascience/pipeline.py index 9af1a04fcf..c49ac18df8 100644 --- a/sdk/python/pulumi_oci/datascience/pipeline.py +++ b/sdk/python/pulumi_oci/datascience/pipeline.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -41,27 +41,58 @@ def __init__(__self__, *, :param pulumi.Input['PipelineInfrastructureConfigurationDetailsArgs'] infrastructure_configuration_details: The infrastructure configuration details of a pipeline or a step. :param pulumi.Input['PipelineLogConfigurationDetailsArgs'] log_configuration_details: (Updatable) The pipeline log configuration details. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "project_id", project_id) - pulumi.set(__self__, "step_details", step_details) + PipelineArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + project_id=project_id, + step_details=step_details, + configuration_details=configuration_details, + defined_tags=defined_tags, + delete_related_pipeline_runs=delete_related_pipeline_runs, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + infrastructure_configuration_details=infrastructure_configuration_details, + log_configuration_details=log_configuration_details, + step_artifact=step_artifact, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + project_id: pulumi.Input[str], + step_details: pulumi.Input[Sequence[pulumi.Input['PipelineStepDetailArgs']]], + configuration_details: Optional[pulumi.Input['PipelineConfigurationDetailsArgs']] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + delete_related_pipeline_runs: Optional[pulumi.Input[bool]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + infrastructure_configuration_details: Optional[pulumi.Input['PipelineInfrastructureConfigurationDetailsArgs']] = None, + log_configuration_details: Optional[pulumi.Input['PipelineLogConfigurationDetailsArgs']] = None, + step_artifact: Optional[pulumi.Input['PipelineStepArtifactArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("project_id", project_id) + _setter("step_details", step_details) if configuration_details is not None: - pulumi.set(__self__, "configuration_details", configuration_details) + _setter("configuration_details", configuration_details) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if delete_related_pipeline_runs is not None: - pulumi.set(__self__, "delete_related_pipeline_runs", delete_related_pipeline_runs) + _setter("delete_related_pipeline_runs", delete_related_pipeline_runs) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if infrastructure_configuration_details is not None: - pulumi.set(__self__, "infrastructure_configuration_details", infrastructure_configuration_details) + _setter("infrastructure_configuration_details", infrastructure_configuration_details) if log_configuration_details is not None: - pulumi.set(__self__, "log_configuration_details", log_configuration_details) + _setter("log_configuration_details", log_configuration_details) if step_artifact is not None: - pulumi.set(__self__, "step_artifact", step_artifact) + _setter("step_artifact", step_artifact) @property @pulumi.getter(name="compartmentId") @@ -242,42 +273,85 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the resource was created in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: 2020-08-06T21:10:29.41Z :param pulumi.Input[str] time_updated: The date and time the resource was updated in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: 2020-08-06T21:10:29.41Z """ + _PipelineState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + configuration_details=configuration_details, + created_by=created_by, + defined_tags=defined_tags, + delete_related_pipeline_runs=delete_related_pipeline_runs, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + infrastructure_configuration_details=infrastructure_configuration_details, + lifecycle_details=lifecycle_details, + log_configuration_details=log_configuration_details, + project_id=project_id, + state=state, + step_artifact=step_artifact, + step_details=step_details, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + configuration_details: Optional[pulumi.Input['PipelineConfigurationDetailsArgs']] = None, + created_by: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + delete_related_pipeline_runs: Optional[pulumi.Input[bool]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + infrastructure_configuration_details: Optional[pulumi.Input['PipelineInfrastructureConfigurationDetailsArgs']] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + log_configuration_details: Optional[pulumi.Input['PipelineLogConfigurationDetailsArgs']] = None, + project_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + step_artifact: Optional[pulumi.Input['PipelineStepArtifactArgs']] = None, + step_details: Optional[pulumi.Input[Sequence[pulumi.Input['PipelineStepDetailArgs']]]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if configuration_details is not None: - pulumi.set(__self__, "configuration_details", configuration_details) + _setter("configuration_details", configuration_details) if created_by is not None: - pulumi.set(__self__, "created_by", created_by) + _setter("created_by", created_by) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if delete_related_pipeline_runs is not None: - pulumi.set(__self__, "delete_related_pipeline_runs", delete_related_pipeline_runs) + _setter("delete_related_pipeline_runs", delete_related_pipeline_runs) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if infrastructure_configuration_details is not None: - pulumi.set(__self__, "infrastructure_configuration_details", infrastructure_configuration_details) + _setter("infrastructure_configuration_details", infrastructure_configuration_details) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if log_configuration_details is not None: - pulumi.set(__self__, "log_configuration_details", log_configuration_details) + _setter("log_configuration_details", log_configuration_details) if project_id is not None: - pulumi.set(__self__, "project_id", project_id) + _setter("project_id", project_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if step_artifact is not None: - pulumi.set(__self__, "step_artifact", step_artifact) + _setter("step_artifact", step_artifact) if step_details is not None: - pulumi.set(__self__, "step_details", step_details) + _setter("step_details", step_details) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -683,6 +757,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + PipelineArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -712,17 +790,37 @@ def _internal_init(__self__, if compartment_id is None and not opts.urn: raise TypeError("Missing required property 'compartment_id'") __props__.__dict__["compartment_id"] = compartment_id + if configuration_details is not None and not isinstance(configuration_details, PipelineConfigurationDetailsArgs): + configuration_details = configuration_details or {} + def _setter(key, value): + configuration_details[key] = value + PipelineConfigurationDetailsArgs._configure(_setter, **configuration_details) __props__.__dict__["configuration_details"] = configuration_details __props__.__dict__["defined_tags"] = defined_tags __props__.__dict__["delete_related_pipeline_runs"] = delete_related_pipeline_runs __props__.__dict__["description"] = description __props__.__dict__["display_name"] = display_name __props__.__dict__["freeform_tags"] = freeform_tags + if infrastructure_configuration_details is not None and not isinstance(infrastructure_configuration_details, PipelineInfrastructureConfigurationDetailsArgs): + infrastructure_configuration_details = infrastructure_configuration_details or {} + def _setter(key, value): + infrastructure_configuration_details[key] = value + PipelineInfrastructureConfigurationDetailsArgs._configure(_setter, **infrastructure_configuration_details) __props__.__dict__["infrastructure_configuration_details"] = infrastructure_configuration_details + if log_configuration_details is not None and not isinstance(log_configuration_details, PipelineLogConfigurationDetailsArgs): + log_configuration_details = log_configuration_details or {} + def _setter(key, value): + log_configuration_details[key] = value + PipelineLogConfigurationDetailsArgs._configure(_setter, **log_configuration_details) __props__.__dict__["log_configuration_details"] = log_configuration_details if project_id is None and not opts.urn: raise TypeError("Missing required property 'project_id'") __props__.__dict__["project_id"] = project_id + if step_artifact is not None and not isinstance(step_artifact, PipelineStepArtifactArgs): + step_artifact = step_artifact or {} + def _setter(key, value): + step_artifact[key] = value + PipelineStepArtifactArgs._configure(_setter, **step_artifact) __props__.__dict__["step_artifact"] = step_artifact if step_details is None and not opts.urn: raise TypeError("Missing required property 'step_details'") diff --git a/sdk/python/pulumi_oci/datascience/pipeline_run.py b/sdk/python/pulumi_oci/datascience/pipeline_run.py index 53e950b1fc..acf4f45c8d 100644 --- a/sdk/python/pulumi_oci/datascience/pipeline_run.py +++ b/sdk/python/pulumi_oci/datascience/pipeline_run.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -44,25 +44,54 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "pipeline_id", pipeline_id) - pulumi.set(__self__, "project_id", project_id) + PipelineRunArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + pipeline_id=pipeline_id, + project_id=project_id, + configuration_override_details=configuration_override_details, + defined_tags=defined_tags, + delete_related_job_runs=delete_related_job_runs, + display_name=display_name, + freeform_tags=freeform_tags, + log_configuration_override_details=log_configuration_override_details, + step_override_details=step_override_details, + system_tags=system_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + pipeline_id: pulumi.Input[str], + project_id: pulumi.Input[str], + configuration_override_details: Optional[pulumi.Input['PipelineRunConfigurationOverrideDetailsArgs']] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + delete_related_job_runs: Optional[pulumi.Input[bool]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + log_configuration_override_details: Optional[pulumi.Input['PipelineRunLogConfigurationOverrideDetailsArgs']] = None, + step_override_details: Optional[pulumi.Input[Sequence[pulumi.Input['PipelineRunStepOverrideDetailArgs']]]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("pipeline_id", pipeline_id) + _setter("project_id", project_id) if configuration_override_details is not None: - pulumi.set(__self__, "configuration_override_details", configuration_override_details) + _setter("configuration_override_details", configuration_override_details) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if delete_related_job_runs is not None: - pulumi.set(__self__, "delete_related_job_runs", delete_related_job_runs) + _setter("delete_related_job_runs", delete_related_job_runs) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if log_configuration_override_details is not None: - pulumi.set(__self__, "log_configuration_override_details", log_configuration_override_details) + _setter("log_configuration_override_details", log_configuration_override_details) if step_override_details is not None: - pulumi.set(__self__, "step_override_details", step_override_details) + _setter("step_override_details", step_override_details) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) @property @pulumi.getter(name="compartmentId") @@ -249,48 +278,97 @@ def __init__(__self__, *, :param pulumi.Input[str] time_started: The date and time the pipeline run request was started in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). :param pulumi.Input[str] time_updated: The date and time the pipeline run was updated in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). """ + _PipelineRunState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + configuration_details=configuration_details, + configuration_override_details=configuration_override_details, + created_by=created_by, + defined_tags=defined_tags, + delete_related_job_runs=delete_related_job_runs, + display_name=display_name, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + log_configuration_override_details=log_configuration_override_details, + log_details=log_details, + pipeline_id=pipeline_id, + project_id=project_id, + state=state, + step_override_details=step_override_details, + step_runs=step_runs, + system_tags=system_tags, + time_accepted=time_accepted, + time_finished=time_finished, + time_started=time_started, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + configuration_details: Optional[pulumi.Input[Sequence[pulumi.Input['PipelineRunConfigurationDetailArgs']]]] = None, + configuration_override_details: Optional[pulumi.Input['PipelineRunConfigurationOverrideDetailsArgs']] = None, + created_by: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + delete_related_job_runs: Optional[pulumi.Input[bool]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + log_configuration_override_details: Optional[pulumi.Input['PipelineRunLogConfigurationOverrideDetailsArgs']] = None, + log_details: Optional[pulumi.Input[Sequence[pulumi.Input['PipelineRunLogDetailArgs']]]] = None, + pipeline_id: Optional[pulumi.Input[str]] = None, + project_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + step_override_details: Optional[pulumi.Input[Sequence[pulumi.Input['PipelineRunStepOverrideDetailArgs']]]] = None, + step_runs: Optional[pulumi.Input[Sequence[pulumi.Input['PipelineRunStepRunArgs']]]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_accepted: Optional[pulumi.Input[str]] = None, + time_finished: Optional[pulumi.Input[str]] = None, + time_started: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if configuration_details is not None: - pulumi.set(__self__, "configuration_details", configuration_details) + _setter("configuration_details", configuration_details) if configuration_override_details is not None: - pulumi.set(__self__, "configuration_override_details", configuration_override_details) + _setter("configuration_override_details", configuration_override_details) if created_by is not None: - pulumi.set(__self__, "created_by", created_by) + _setter("created_by", created_by) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if delete_related_job_runs is not None: - pulumi.set(__self__, "delete_related_job_runs", delete_related_job_runs) + _setter("delete_related_job_runs", delete_related_job_runs) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if log_configuration_override_details is not None: - pulumi.set(__self__, "log_configuration_override_details", log_configuration_override_details) + _setter("log_configuration_override_details", log_configuration_override_details) if log_details is not None: - pulumi.set(__self__, "log_details", log_details) + _setter("log_details", log_details) if pipeline_id is not None: - pulumi.set(__self__, "pipeline_id", pipeline_id) + _setter("pipeline_id", pipeline_id) if project_id is not None: - pulumi.set(__self__, "project_id", project_id) + _setter("project_id", project_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if step_override_details is not None: - pulumi.set(__self__, "step_override_details", step_override_details) + _setter("step_override_details", step_override_details) if step_runs is not None: - pulumi.set(__self__, "step_runs", step_runs) + _setter("step_runs", step_runs) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_accepted is not None: - pulumi.set(__self__, "time_accepted", time_accepted) + _setter("time_accepted", time_accepted) if time_finished is not None: - pulumi.set(__self__, "time_finished", time_finished) + _setter("time_finished", time_finished) if time_started is not None: - pulumi.set(__self__, "time_started", time_started) + _setter("time_started", time_started) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -702,6 +780,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + PipelineRunArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -730,11 +812,21 @@ def _internal_init(__self__, if compartment_id is None and not opts.urn: raise TypeError("Missing required property 'compartment_id'") __props__.__dict__["compartment_id"] = compartment_id + if configuration_override_details is not None and not isinstance(configuration_override_details, PipelineRunConfigurationOverrideDetailsArgs): + configuration_override_details = configuration_override_details or {} + def _setter(key, value): + configuration_override_details[key] = value + PipelineRunConfigurationOverrideDetailsArgs._configure(_setter, **configuration_override_details) __props__.__dict__["configuration_override_details"] = configuration_override_details __props__.__dict__["defined_tags"] = defined_tags __props__.__dict__["delete_related_job_runs"] = delete_related_job_runs __props__.__dict__["display_name"] = display_name __props__.__dict__["freeform_tags"] = freeform_tags + if log_configuration_override_details is not None and not isinstance(log_configuration_override_details, PipelineRunLogConfigurationOverrideDetailsArgs): + log_configuration_override_details = log_configuration_override_details or {} + def _setter(key, value): + log_configuration_override_details[key] = value + PipelineRunLogConfigurationOverrideDetailsArgs._configure(_setter, **log_configuration_override_details) __props__.__dict__["log_configuration_override_details"] = log_configuration_override_details if pipeline_id is None and not opts.urn: raise TypeError("Missing required property 'pipeline_id'") diff --git a/sdk/python/pulumi_oci/datascience/private_endpoint.py b/sdk/python/pulumi_oci/datascience/private_endpoint.py new file mode 100644 index 0000000000..2883d98eec --- /dev/null +++ b/sdk/python/pulumi_oci/datascience/private_endpoint.py @@ -0,0 +1,850 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from .. import _utilities + +__all__ = ['PrivateEndpointArgs', 'PrivateEndpoint'] + +@pulumi.input_type +class PrivateEndpointArgs: + def __init__(__self__, *, + compartment_id: pulumi.Input[str], + data_science_resource_type: pulumi.Input[str], + subnet_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + sub_domain: Optional[pulumi.Input[str]] = None): + """ + The set of arguments for constructing a PrivateEndpoint resource. + :param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the private endpoint. + :param pulumi.Input[str] data_science_resource_type: Data Science resource type. + :param pulumi.Input[str] subnet_id: The OCID of the subnet. + + + ** 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 + :param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` + :param pulumi.Input[str] description: (Updatable) A user friendly description. Avoid entering confidential information. + :param pulumi.Input[str] display_name: (Updatable) A user friendly name. It doesn't have to be unique. Avoid entering confidential information. + :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` + :param pulumi.Input[Sequence[pulumi.Input[str]]] nsg_ids: (Updatable) An array of network security group OCIDs. + :param pulumi.Input[str] sub_domain: Subdomain for a private endpoint FQDN. + """ + PrivateEndpointArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + data_science_resource_type=data_science_resource_type, + subnet_id=subnet_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + nsg_ids=nsg_ids, + sub_domain=sub_domain, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + data_science_resource_type: pulumi.Input[str], + subnet_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + sub_domain: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("data_science_resource_type", data_science_resource_type) + _setter("subnet_id", subnet_id) + if defined_tags is not None: + _setter("defined_tags", defined_tags) + if description is not None: + _setter("description", description) + if display_name is not None: + _setter("display_name", display_name) + if freeform_tags is not None: + _setter("freeform_tags", freeform_tags) + if nsg_ids is not None: + _setter("nsg_ids", nsg_ids) + if sub_domain is not None: + _setter("sub_domain", sub_domain) + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> pulumi.Input[str]: + """ + (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the private endpoint. + """ + return pulumi.get(self, "compartment_id") + + @compartment_id.setter + def compartment_id(self, value: pulumi.Input[str]): + pulumi.set(self, "compartment_id", value) + + @property + @pulumi.getter(name="dataScienceResourceType") + def data_science_resource_type(self) -> pulumi.Input[str]: + """ + Data Science resource type. + """ + return pulumi.get(self, "data_science_resource_type") + + @data_science_resource_type.setter + def data_science_resource_type(self, value: pulumi.Input[str]): + pulumi.set(self, "data_science_resource_type", value) + + @property + @pulumi.getter(name="subnetId") + def subnet_id(self) -> pulumi.Input[str]: + """ + The OCID of the subnet. + + + ** 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 + """ + return pulumi.get(self, "subnet_id") + + @subnet_id.setter + def subnet_id(self, value: pulumi.Input[str]): + pulumi.set(self, "subnet_id", value) + + @property + @pulumi.getter(name="definedTags") + def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + """ + (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` + """ + return pulumi.get(self, "defined_tags") + + @defined_tags.setter + def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + pulumi.set(self, "defined_tags", value) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) A user friendly description. Avoid entering confidential information. + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) A user friendly name. It doesn't have to be unique. Avoid entering confidential information. + """ + return pulumi.get(self, "display_name") + + @display_name.setter + def display_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "display_name", value) + + @property + @pulumi.getter(name="freeformTags") + def freeform_tags(self) -> Optional[pulumi.Input[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. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` + """ + return pulumi.get(self, "freeform_tags") + + @freeform_tags.setter + def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + pulumi.set(self, "freeform_tags", value) + + @property + @pulumi.getter(name="nsgIds") + def nsg_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + (Updatable) An array of network security group OCIDs. + """ + return pulumi.get(self, "nsg_ids") + + @nsg_ids.setter + def nsg_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "nsg_ids", value) + + @property + @pulumi.getter(name="subDomain") + def sub_domain(self) -> Optional[pulumi.Input[str]]: + """ + Subdomain for a private endpoint FQDN. + """ + return pulumi.get(self, "sub_domain") + + @sub_domain.setter + def sub_domain(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "sub_domain", value) + + +@pulumi.input_type +class _PrivateEndpointState: + def __init__(__self__, *, + compartment_id: Optional[pulumi.Input[str]] = None, + created_by: Optional[pulumi.Input[str]] = None, + data_science_resource_type: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + fqdn: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + state: Optional[pulumi.Input[str]] = None, + sub_domain: Optional[pulumi.Input[str]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None): + """ + Input properties used for looking up and filtering PrivateEndpoint resources. + :param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the private endpoint. + :param pulumi.Input[str] created_by: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user that created the private endpoint. + :param pulumi.Input[str] data_science_resource_type: Data Science resource type. + :param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` + :param pulumi.Input[str] description: (Updatable) A user friendly description. Avoid entering confidential information. + :param pulumi.Input[str] display_name: (Updatable) A user friendly name. It doesn't have to be unique. Avoid entering confidential information. + :param pulumi.Input[str] fqdn: Accesing the Data Science resource using FQDN. + :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` + :param pulumi.Input[str] lifecycle_details: Details of the state of Data Science private endpoint. + :param pulumi.Input[Sequence[pulumi.Input[str]]] nsg_ids: (Updatable) An array of network security group OCIDs. + :param pulumi.Input[str] state: State of the Data Science private endpoint. + :param pulumi.Input[str] sub_domain: Subdomain for a private endpoint FQDN. + :param pulumi.Input[str] subnet_id: The OCID of the subnet. + + + ** 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 + :param pulumi.Input[str] time_created: The date and time that the Data Science private endpoint was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + :param pulumi.Input[str] time_updated: The date and time that the Data Science private endpoint was updated expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + """ + _PrivateEndpointState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + created_by=created_by, + data_science_resource_type=data_science_resource_type, + defined_tags=defined_tags, + description=description, + display_name=display_name, + fqdn=fqdn, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + nsg_ids=nsg_ids, + state=state, + sub_domain=sub_domain, + subnet_id=subnet_id, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + created_by: Optional[pulumi.Input[str]] = None, + data_science_resource_type: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + fqdn: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + state: Optional[pulumi.Input[str]] = None, + sub_domain: Optional[pulumi.Input[str]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if compartment_id is not None: + _setter("compartment_id", compartment_id) + if created_by is not None: + _setter("created_by", created_by) + if data_science_resource_type is not None: + _setter("data_science_resource_type", data_science_resource_type) + if defined_tags is not None: + _setter("defined_tags", defined_tags) + if description is not None: + _setter("description", description) + if display_name is not None: + _setter("display_name", display_name) + if fqdn is not None: + _setter("fqdn", fqdn) + if freeform_tags is not None: + _setter("freeform_tags", freeform_tags) + if lifecycle_details is not None: + _setter("lifecycle_details", lifecycle_details) + if nsg_ids is not None: + _setter("nsg_ids", nsg_ids) + if state is not None: + _setter("state", state) + if sub_domain is not None: + _setter("sub_domain", sub_domain) + if subnet_id is not None: + _setter("subnet_id", subnet_id) + if time_created is not None: + _setter("time_created", time_created) + if time_updated is not None: + _setter("time_updated", time_updated) + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the private endpoint. + """ + return pulumi.get(self, "compartment_id") + + @compartment_id.setter + def compartment_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "compartment_id", value) + + @property + @pulumi.getter(name="createdBy") + def created_by(self) -> Optional[pulumi.Input[str]]: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user that created the private endpoint. + """ + return pulumi.get(self, "created_by") + + @created_by.setter + def created_by(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "created_by", value) + + @property + @pulumi.getter(name="dataScienceResourceType") + def data_science_resource_type(self) -> Optional[pulumi.Input[str]]: + """ + Data Science resource type. + """ + return pulumi.get(self, "data_science_resource_type") + + @data_science_resource_type.setter + def data_science_resource_type(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "data_science_resource_type", value) + + @property + @pulumi.getter(name="definedTags") + def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + """ + (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` + """ + return pulumi.get(self, "defined_tags") + + @defined_tags.setter + def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + pulumi.set(self, "defined_tags", value) + + @property + @pulumi.getter + def description(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) A user friendly description. Avoid entering confidential information. + """ + return pulumi.get(self, "description") + + @description.setter + def description(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "description", value) + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) A user friendly name. It doesn't have to be unique. Avoid entering confidential information. + """ + return pulumi.get(self, "display_name") + + @display_name.setter + def display_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "display_name", value) + + @property + @pulumi.getter + def fqdn(self) -> Optional[pulumi.Input[str]]: + """ + Accesing the Data Science resource using FQDN. + """ + return pulumi.get(self, "fqdn") + + @fqdn.setter + def fqdn(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "fqdn", value) + + @property + @pulumi.getter(name="freeformTags") + def freeform_tags(self) -> Optional[pulumi.Input[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. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` + """ + return pulumi.get(self, "freeform_tags") + + @freeform_tags.setter + def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + pulumi.set(self, "freeform_tags", value) + + @property + @pulumi.getter(name="lifecycleDetails") + def lifecycle_details(self) -> Optional[pulumi.Input[str]]: + """ + Details of the state of Data Science private endpoint. + """ + return pulumi.get(self, "lifecycle_details") + + @lifecycle_details.setter + def lifecycle_details(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "lifecycle_details", value) + + @property + @pulumi.getter(name="nsgIds") + def nsg_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: + """ + (Updatable) An array of network security group OCIDs. + """ + return pulumi.get(self, "nsg_ids") + + @nsg_ids.setter + def nsg_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]): + pulumi.set(self, "nsg_ids", value) + + @property + @pulumi.getter + def state(self) -> Optional[pulumi.Input[str]]: + """ + State of the Data Science private endpoint. + """ + return pulumi.get(self, "state") + + @state.setter + def state(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "state", value) + + @property + @pulumi.getter(name="subDomain") + def sub_domain(self) -> Optional[pulumi.Input[str]]: + """ + Subdomain for a private endpoint FQDN. + """ + return pulumi.get(self, "sub_domain") + + @sub_domain.setter + def sub_domain(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "sub_domain", value) + + @property + @pulumi.getter(name="subnetId") + def subnet_id(self) -> Optional[pulumi.Input[str]]: + """ + The OCID of the subnet. + + + ** 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 + """ + return pulumi.get(self, "subnet_id") + + @subnet_id.setter + def subnet_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "subnet_id", value) + + @property + @pulumi.getter(name="timeCreated") + def time_created(self) -> Optional[pulumi.Input[str]]: + """ + The date and time that the Data Science private endpoint was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + """ + return pulumi.get(self, "time_created") + + @time_created.setter + def time_created(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "time_created", value) + + @property + @pulumi.getter(name="timeUpdated") + def time_updated(self) -> Optional[pulumi.Input[str]]: + """ + The date and time that the Data Science private endpoint was updated expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + """ + return pulumi.get(self, "time_updated") + + @time_updated.setter + def time_updated(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "time_updated", value) + + +class PrivateEndpoint(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + data_science_resource_type: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + sub_domain: Optional[pulumi.Input[str]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + This resource provides the Data Science Private Endpoint resource in Oracle Cloud Infrastructure Data Science service. + + Creates a Data Science private endpoint to be used by a Data Science resource. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_data_science_private_endpoint = oci.data_science.PrivateEndpoint("testDataSciencePrivateEndpoint", + compartment_id=var["compartment_id"], + data_science_resource_type=var["data_science_private_endpoint_data_science_resource_type"], + subnet_id=oci_core_subnet["test_subnet"]["id"], + defined_tags={ + "Operations.CostCenter": "42", + }, + description=var["data_science_private_endpoint_description"], + display_name=var["data_science_private_endpoint_display_name"], + freeform_tags={ + "Department": "Finance", + }, + nsg_ids=var["data_science_private_endpoint_nsg_ids"], + sub_domain=var["data_science_private_endpoint_sub_domain"]) + ``` + + ## Import + + DataSciencePrivateEndpoints can be imported using the `id`, e.g. + + ```sh + $ pulumi import oci:DataScience/privateEndpoint:PrivateEndpoint test_data_science_private_endpoint "id" + ``` + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the private endpoint. + :param pulumi.Input[str] data_science_resource_type: Data Science resource type. + :param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` + :param pulumi.Input[str] description: (Updatable) A user friendly description. Avoid entering confidential information. + :param pulumi.Input[str] display_name: (Updatable) A user friendly name. It doesn't have to be unique. Avoid entering confidential information. + :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` + :param pulumi.Input[Sequence[pulumi.Input[str]]] nsg_ids: (Updatable) An array of network security group OCIDs. + :param pulumi.Input[str] sub_domain: Subdomain for a private endpoint FQDN. + :param pulumi.Input[str] subnet_id: The OCID of the subnet. + + + ** 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 + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: PrivateEndpointArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + This resource provides the Data Science Private Endpoint resource in Oracle Cloud Infrastructure Data Science service. + + Creates a Data Science private endpoint to be used by a Data Science resource. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_data_science_private_endpoint = oci.data_science.PrivateEndpoint("testDataSciencePrivateEndpoint", + compartment_id=var["compartment_id"], + data_science_resource_type=var["data_science_private_endpoint_data_science_resource_type"], + subnet_id=oci_core_subnet["test_subnet"]["id"], + defined_tags={ + "Operations.CostCenter": "42", + }, + description=var["data_science_private_endpoint_description"], + display_name=var["data_science_private_endpoint_display_name"], + freeform_tags={ + "Department": "Finance", + }, + nsg_ids=var["data_science_private_endpoint_nsg_ids"], + sub_domain=var["data_science_private_endpoint_sub_domain"]) + ``` + + ## Import + + DataSciencePrivateEndpoints can be imported using the `id`, e.g. + + ```sh + $ pulumi import oci:DataScience/privateEndpoint:PrivateEndpoint test_data_science_private_endpoint "id" + ``` + + :param str resource_name: The name of the resource. + :param PrivateEndpointArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(PrivateEndpointArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + PrivateEndpointArgs._configure(_setter, **kwargs) + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + data_science_resource_type: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + sub_domain: Optional[pulumi.Input[str]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = PrivateEndpointArgs.__new__(PrivateEndpointArgs) + + if compartment_id is None and not opts.urn: + raise TypeError("Missing required property 'compartment_id'") + __props__.__dict__["compartment_id"] = compartment_id + if data_science_resource_type is None and not opts.urn: + raise TypeError("Missing required property 'data_science_resource_type'") + __props__.__dict__["data_science_resource_type"] = data_science_resource_type + __props__.__dict__["defined_tags"] = defined_tags + __props__.__dict__["description"] = description + __props__.__dict__["display_name"] = display_name + __props__.__dict__["freeform_tags"] = freeform_tags + __props__.__dict__["nsg_ids"] = nsg_ids + __props__.__dict__["sub_domain"] = sub_domain + if subnet_id is None and not opts.urn: + raise TypeError("Missing required property 'subnet_id'") + __props__.__dict__["subnet_id"] = subnet_id + __props__.__dict__["created_by"] = None + __props__.__dict__["fqdn"] = None + __props__.__dict__["lifecycle_details"] = None + __props__.__dict__["state"] = None + __props__.__dict__["time_created"] = None + __props__.__dict__["time_updated"] = None + super(PrivateEndpoint, __self__).__init__( + 'oci:DataScience/privateEndpoint:PrivateEndpoint', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + created_by: Optional[pulumi.Input[str]] = None, + data_science_resource_type: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + fqdn: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + state: Optional[pulumi.Input[str]] = None, + sub_domain: Optional[pulumi.Input[str]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None) -> 'PrivateEndpoint': + """ + Get an existing PrivateEndpoint resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the private endpoint. + :param pulumi.Input[str] created_by: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user that created the private endpoint. + :param pulumi.Input[str] data_science_resource_type: Data Science resource type. + :param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` + :param pulumi.Input[str] description: (Updatable) A user friendly description. Avoid entering confidential information. + :param pulumi.Input[str] display_name: (Updatable) A user friendly name. It doesn't have to be unique. Avoid entering confidential information. + :param pulumi.Input[str] fqdn: Accesing the Data Science resource using FQDN. + :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` + :param pulumi.Input[str] lifecycle_details: Details of the state of Data Science private endpoint. + :param pulumi.Input[Sequence[pulumi.Input[str]]] nsg_ids: (Updatable) An array of network security group OCIDs. + :param pulumi.Input[str] state: State of the Data Science private endpoint. + :param pulumi.Input[str] sub_domain: Subdomain for a private endpoint FQDN. + :param pulumi.Input[str] subnet_id: The OCID of the subnet. + + + ** 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 + :param pulumi.Input[str] time_created: The date and time that the Data Science private endpoint was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + :param pulumi.Input[str] time_updated: The date and time that the Data Science private endpoint was updated expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _PrivateEndpointState.__new__(_PrivateEndpointState) + + __props__.__dict__["compartment_id"] = compartment_id + __props__.__dict__["created_by"] = created_by + __props__.__dict__["data_science_resource_type"] = data_science_resource_type + __props__.__dict__["defined_tags"] = defined_tags + __props__.__dict__["description"] = description + __props__.__dict__["display_name"] = display_name + __props__.__dict__["fqdn"] = fqdn + __props__.__dict__["freeform_tags"] = freeform_tags + __props__.__dict__["lifecycle_details"] = lifecycle_details + __props__.__dict__["nsg_ids"] = nsg_ids + __props__.__dict__["state"] = state + __props__.__dict__["sub_domain"] = sub_domain + __props__.__dict__["subnet_id"] = subnet_id + __props__.__dict__["time_created"] = time_created + __props__.__dict__["time_updated"] = time_updated + return PrivateEndpoint(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> pulumi.Output[str]: + """ + (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment where you want to create the private endpoint. + """ + return pulumi.get(self, "compartment_id") + + @property + @pulumi.getter(name="createdBy") + def created_by(self) -> pulumi.Output[str]: + """ + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the user that created the private endpoint. + """ + return pulumi.get(self, "created_by") + + @property + @pulumi.getter(name="dataScienceResourceType") + def data_science_resource_type(self) -> pulumi.Output[str]: + """ + Data Science resource type. + """ + return pulumi.get(self, "data_science_resource_type") + + @property + @pulumi.getter(name="definedTags") + def defined_tags(self) -> pulumi.Output[Mapping[str, Any]]: + """ + (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` + """ + return pulumi.get(self, "defined_tags") + + @property + @pulumi.getter + def description(self) -> pulumi.Output[str]: + """ + (Updatable) A user friendly description. Avoid entering confidential information. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> pulumi.Output[str]: + """ + (Updatable) A user friendly name. It doesn't have to be unique. Avoid entering confidential information. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter + def fqdn(self) -> pulumi.Output[str]: + """ + Accesing the Data Science resource using FQDN. + """ + return pulumi.get(self, "fqdn") + + @property + @pulumi.getter(name="freeformTags") + def freeform_tags(self) -> pulumi.Output[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. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` + """ + return pulumi.get(self, "freeform_tags") + + @property + @pulumi.getter(name="lifecycleDetails") + def lifecycle_details(self) -> pulumi.Output[str]: + """ + Details of the state of Data Science private endpoint. + """ + return pulumi.get(self, "lifecycle_details") + + @property + @pulumi.getter(name="nsgIds") + def nsg_ids(self) -> pulumi.Output[Sequence[str]]: + """ + (Updatable) An array of network security group OCIDs. + """ + return pulumi.get(self, "nsg_ids") + + @property + @pulumi.getter + def state(self) -> pulumi.Output[str]: + """ + State of the Data Science private endpoint. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter(name="subDomain") + def sub_domain(self) -> pulumi.Output[str]: + """ + Subdomain for a private endpoint FQDN. + """ + return pulumi.get(self, "sub_domain") + + @property + @pulumi.getter(name="subnetId") + def subnet_id(self) -> pulumi.Output[str]: + """ + The OCID of the subnet. + + + ** 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 + """ + return pulumi.get(self, "subnet_id") + + @property + @pulumi.getter(name="timeCreated") + def time_created(self) -> pulumi.Output[str]: + """ + The date and time that the Data Science private endpoint was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + """ + return pulumi.get(self, "time_created") + + @property + @pulumi.getter(name="timeUpdated") + def time_updated(self) -> pulumi.Output[str]: + """ + The date and time that the Data Science private endpoint was updated expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` + """ + return pulumi.get(self, "time_updated") + diff --git a/sdk/python/pulumi_oci/datascience/project.py b/sdk/python/pulumi_oci/datascience/project.py index 282cead7c8..be7ece9c66 100644 --- a/sdk/python/pulumi_oci/datascience/project.py +++ b/sdk/python/pulumi_oci/datascience/project.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['ProjectArgs', 'Project'] @@ -31,15 +31,32 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) + ProjectArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="compartmentId") @@ -132,22 +149,45 @@ def __init__(__self__, *, :param pulumi.Input[str] state: The state of the project. :param pulumi.Input[str] time_created: The date and time the resource was created in the timestamp format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: 2019-08-25T21:10:29.41Z """ + _ProjectState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + created_by=created_by, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + created_by: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if created_by is not None: - pulumi.set(__self__, "created_by", created_by) + _setter("created_by", created_by) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -351,6 +391,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ProjectArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/devops/_inputs.py b/sdk/python/pulumi_oci/devops/_inputs.py index 99f490e643..3319af8faa 100644 --- a/sdk/python/pulumi_oci/devops/_inputs.py +++ b/sdk/python/pulumi_oci/devops/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -131,7 +131,16 @@ def __init__(__self__, *, """ :param pulumi.Input[Sequence[pulumi.Input['BuildPipelineBuildPipelineParametersItemArgs']]] items: (Updatable) List of parameters defined for a build pipeline. """ - pulumi.set(__self__, "items", items) + BuildPipelineBuildPipelineParametersArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: pulumi.Input[Sequence[pulumi.Input['BuildPipelineBuildPipelineParametersItemArgs']]], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -157,10 +166,23 @@ def __init__(__self__, *, :param pulumi.Input[str] name: (Updatable) Name of the parameter (case-sensitive). Parameter name must be ^[a-zA-Z][a-zA-Z_0-9]*$. Example: 'Build_Pipeline_param' is not same as 'build_pipeline_Param' :param pulumi.Input[str] description: (Updatable) Optional description about the build pipeline. """ - pulumi.set(__self__, "default_value", default_value) - pulumi.set(__self__, "name", name) + BuildPipelineBuildPipelineParametersItemArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + default_value=default_value, + name=name, + description=description, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + default_value: pulumi.Input[str], + name: pulumi.Input[str], + description: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("default_value", default_value) + _setter("name", name) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) @property @pulumi.getter(name="defaultValue") @@ -206,7 +228,16 @@ def __init__(__self__, *, """ :param pulumi.Input[Sequence[pulumi.Input['BuildPipelineStageBuildPipelineStagePredecessorCollectionItemArgs']]] items: (Updatable) Collection of artifacts that were generated in the Build stage and need to be pushed to the artifactory stores. In case of UPDATE operation, replaces existing artifacts list. Merging with existing artifacts is not supported. """ - pulumi.set(__self__, "items", items) + BuildPipelineStageBuildPipelineStagePredecessorCollectionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: pulumi.Input[Sequence[pulumi.Input['BuildPipelineStageBuildPipelineStagePredecessorCollectionItemArgs']]], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -228,7 +259,16 @@ def __init__(__self__, *, """ :param pulumi.Input[str] id: (Updatable) The OCID of the predecessor stage. If a stage is the first stage in the pipeline, then the ID is the pipeline's OCID. """ - pulumi.set(__self__, "id", id) + BuildPipelineStageBuildPipelineStagePredecessorCollectionItemArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) @property @pulumi.getter @@ -254,11 +294,24 @@ def __init__(__self__, *, :param pulumi.Input[int] memory_in_gbs: (Updatable) The total amount of memory set for the instance in gigabytes. :param pulumi.Input[int] ocpus: (Updatable) The total number of OCPUs set for the instance. """ - pulumi.set(__self__, "build_runner_type", build_runner_type) + BuildPipelineStageBuildRunnerShapeConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + build_runner_type=build_runner_type, + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + build_runner_type: pulumi.Input[str], + memory_in_gbs: Optional[pulumi.Input[int]] = None, + ocpus: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("build_runner_type", build_runner_type) if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) if ocpus is not None: - pulumi.set(__self__, "ocpus", ocpus) + _setter("ocpus", ocpus) @property @pulumi.getter(name="buildRunnerType") @@ -304,8 +357,17 @@ def __init__(__self__, *, """ :param pulumi.Input[Sequence[pulumi.Input['BuildPipelineStageBuildSourceCollectionItemArgs']]] items: (Updatable) Collection of artifacts that were generated in the Build stage and need to be pushed to the artifactory stores. In case of UPDATE operation, replaces existing artifacts list. Merging with existing artifacts is not supported. """ + BuildPipelineStageBuildSourceCollectionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Optional[pulumi.Input[Sequence[pulumi.Input['BuildPipelineStageBuildSourceCollectionItemArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) @property @pulumi.getter @@ -337,17 +399,36 @@ def __init__(__self__, *, :param pulumi.Input[str] repository_id: (Updatable) The DevOps code repository ID. :param pulumi.Input[str] repository_url: (Updatable) URL for the repository. """ - pulumi.set(__self__, "connection_type", connection_type) + BuildPipelineStageBuildSourceCollectionItemArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + connection_type=connection_type, + branch=branch, + connection_id=connection_id, + name=name, + repository_id=repository_id, + repository_url=repository_url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + connection_type: pulumi.Input[str], + branch: Optional[pulumi.Input[str]] = None, + connection_id: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + repository_id: Optional[pulumi.Input[str]] = None, + repository_url: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("connection_type", connection_type) if branch is not None: - pulumi.set(__self__, "branch", branch) + _setter("branch", branch) if connection_id is not None: - pulumi.set(__self__, "connection_id", connection_id) + _setter("connection_id", connection_id) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if repository_id is not None: - pulumi.set(__self__, "repository_id", repository_id) + _setter("repository_id", repository_id) if repository_url is not None: - pulumi.set(__self__, "repository_url", repository_url) + _setter("repository_url", repository_url) @property @pulumi.getter(name="connectionType") @@ -429,8 +510,17 @@ def __init__(__self__, *, """ :param pulumi.Input[Sequence[pulumi.Input['BuildPipelineStageDeliverArtifactCollectionItemArgs']]] items: (Updatable) Collection of artifacts that were generated in the Build stage and need to be pushed to the artifactory stores. In case of UPDATE operation, replaces existing artifacts list. Merging with existing artifacts is not supported. """ + BuildPipelineStageDeliverArtifactCollectionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Optional[pulumi.Input[Sequence[pulumi.Input['BuildPipelineStageDeliverArtifactCollectionItemArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) @property @pulumi.getter @@ -454,10 +544,21 @@ def __init__(__self__, *, :param pulumi.Input[str] artifact_id: (Updatable) Artifact identifier that contains the artifact definition. :param pulumi.Input[str] artifact_name: (Updatable) Name of the artifact specified in the build_spec.yaml file. """ + BuildPipelineStageDeliverArtifactCollectionItemArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + artifact_id=artifact_id, + artifact_name=artifact_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + artifact_id: Optional[pulumi.Input[str]] = None, + artifact_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if artifact_id is not None: - pulumi.set(__self__, "artifact_id", artifact_id) + _setter("artifact_id", artifact_id) if artifact_name is not None: - pulumi.set(__self__, "artifact_name", artifact_name) + _setter("artifact_name", artifact_name) @property @pulumi.getter(name="artifactId") @@ -495,10 +596,23 @@ def __init__(__self__, *, :param pulumi.Input[str] subnet_id: (Updatable) The OCID of the subnet where VNIC resources will be created for private endpoint. :param pulumi.Input[Sequence[pulumi.Input[str]]] nsg_ids: (Updatable) An array of network security group OCIDs. """ - pulumi.set(__self__, "network_channel_type", network_channel_type) - pulumi.set(__self__, "subnet_id", subnet_id) + BuildPipelineStagePrivateAccessConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + network_channel_type=network_channel_type, + subnet_id=subnet_id, + nsg_ids=nsg_ids, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + network_channel_type: pulumi.Input[str], + subnet_id: pulumi.Input[str], + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("network_channel_type", network_channel_type) + _setter("subnet_id", subnet_id) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) @property @pulumi.getter(name="networkChannelType") @@ -550,8 +664,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "wait_duration", wait_duration) - pulumi.set(__self__, "wait_type", wait_type) + BuildPipelineStageWaitCriteriaArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + wait_duration=wait_duration, + wait_type=wait_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + wait_duration: pulumi.Input[str], + wait_type: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("wait_duration", wait_duration) + _setter("wait_type", wait_type) @property @pulumi.getter(name="waitDuration") @@ -595,14 +720,29 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['BuildRunBuildOutputExportedVariableArgs']]] exported_variables: Specifies list of exported variables. :param pulumi.Input[Sequence[pulumi.Input['BuildRunBuildOutputVulnerabilityAuditSummaryCollectionArgs']]] vulnerability_audit_summary_collections: List of vulnerability audit summary. """ + BuildRunBuildOutputArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + artifact_override_parameters=artifact_override_parameters, + delivered_artifacts=delivered_artifacts, + exported_variables=exported_variables, + vulnerability_audit_summary_collections=vulnerability_audit_summary_collections, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + artifact_override_parameters: Optional[pulumi.Input[Sequence[pulumi.Input['BuildRunBuildOutputArtifactOverrideParameterArgs']]]] = None, + delivered_artifacts: Optional[pulumi.Input[Sequence[pulumi.Input['BuildRunBuildOutputDeliveredArtifactArgs']]]] = None, + exported_variables: Optional[pulumi.Input[Sequence[pulumi.Input['BuildRunBuildOutputExportedVariableArgs']]]] = None, + vulnerability_audit_summary_collections: Optional[pulumi.Input[Sequence[pulumi.Input['BuildRunBuildOutputVulnerabilityAuditSummaryCollectionArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if artifact_override_parameters is not None: - pulumi.set(__self__, "artifact_override_parameters", artifact_override_parameters) + _setter("artifact_override_parameters", artifact_override_parameters) if delivered_artifacts is not None: - pulumi.set(__self__, "delivered_artifacts", delivered_artifacts) + _setter("delivered_artifacts", delivered_artifacts) if exported_variables is not None: - pulumi.set(__self__, "exported_variables", exported_variables) + _setter("exported_variables", exported_variables) if vulnerability_audit_summary_collections is not None: - pulumi.set(__self__, "vulnerability_audit_summary_collections", vulnerability_audit_summary_collections) + _setter("vulnerability_audit_summary_collections", vulnerability_audit_summary_collections) @property @pulumi.getter(name="artifactOverrideParameters") @@ -660,8 +800,17 @@ def __init__(__self__, *, """ :param pulumi.Input[Sequence[pulumi.Input['BuildRunBuildOutputArtifactOverrideParameterItemArgs']]] items: List of arguments provided at the time of running the build. """ + BuildRunBuildOutputArtifactOverrideParameterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Optional[pulumi.Input[Sequence[pulumi.Input['BuildRunBuildOutputArtifactOverrideParameterItemArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) @property @pulumi.getter @@ -687,12 +836,25 @@ def __init__(__self__, *, :param pulumi.Input[str] name: Name of the parameter (case-sensitive). Parameter name must be ^[a-zA-Z][a-zA-Z_0-9]*$. Example: 'Build_Pipeline_param' is not same as 'build_pipeline_Param' :param pulumi.Input[str] value: Value of the argument. """ + BuildRunBuildOutputArtifactOverrideParameterItemArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + deploy_artifact_id=deploy_artifact_id, + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deploy_artifact_id: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if deploy_artifact_id is not None: - pulumi.set(__self__, "deploy_artifact_id", deploy_artifact_id) + _setter("deploy_artifact_id", deploy_artifact_id) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter(name="deployArtifactId") @@ -738,8 +900,17 @@ def __init__(__self__, *, """ :param pulumi.Input[Sequence[pulumi.Input['BuildRunBuildOutputDeliveredArtifactItemArgs']]] items: List of arguments provided at the time of running the build. """ + BuildRunBuildOutputDeliveredArtifactArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Optional[pulumi.Input[Sequence[pulumi.Input['BuildRunBuildOutputDeliveredArtifactItemArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) @property @pulumi.getter @@ -777,24 +948,49 @@ def __init__(__self__, *, :param pulumi.Input[str] path: Path of the repository where artifact was pushed :param pulumi.Input[str] version: Version of the artifact pushed """ + BuildRunBuildOutputDeliveredArtifactItemArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + artifact_repository_id=artifact_repository_id, + artifact_type=artifact_type, + delivered_artifact_hash=delivered_artifact_hash, + delivered_artifact_id=delivered_artifact_id, + deploy_artifact_id=deploy_artifact_id, + image_uri=image_uri, + output_artifact_name=output_artifact_name, + path=path, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + artifact_repository_id: Optional[pulumi.Input[str]] = None, + artifact_type: Optional[pulumi.Input[str]] = None, + delivered_artifact_hash: Optional[pulumi.Input[str]] = None, + delivered_artifact_id: Optional[pulumi.Input[str]] = None, + deploy_artifact_id: Optional[pulumi.Input[str]] = None, + image_uri: Optional[pulumi.Input[str]] = None, + output_artifact_name: Optional[pulumi.Input[str]] = None, + path: Optional[pulumi.Input[str]] = None, + version: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if artifact_repository_id is not None: - pulumi.set(__self__, "artifact_repository_id", artifact_repository_id) + _setter("artifact_repository_id", artifact_repository_id) if artifact_type is not None: - pulumi.set(__self__, "artifact_type", artifact_type) + _setter("artifact_type", artifact_type) if delivered_artifact_hash is not None: - pulumi.set(__self__, "delivered_artifact_hash", delivered_artifact_hash) + _setter("delivered_artifact_hash", delivered_artifact_hash) if delivered_artifact_id is not None: - pulumi.set(__self__, "delivered_artifact_id", delivered_artifact_id) + _setter("delivered_artifact_id", delivered_artifact_id) if deploy_artifact_id is not None: - pulumi.set(__self__, "deploy_artifact_id", deploy_artifact_id) + _setter("deploy_artifact_id", deploy_artifact_id) if image_uri is not None: - pulumi.set(__self__, "image_uri", image_uri) + _setter("image_uri", image_uri) if output_artifact_name is not None: - pulumi.set(__self__, "output_artifact_name", output_artifact_name) + _setter("output_artifact_name", output_artifact_name) if path is not None: - pulumi.set(__self__, "path", path) + _setter("path", path) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter(name="artifactRepositoryId") @@ -912,8 +1108,17 @@ def __init__(__self__, *, """ :param pulumi.Input[Sequence[pulumi.Input['BuildRunBuildOutputExportedVariableItemArgs']]] items: List of arguments provided at the time of running the build. """ + BuildRunBuildOutputExportedVariableArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Optional[pulumi.Input[Sequence[pulumi.Input['BuildRunBuildOutputExportedVariableItemArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) @property @pulumi.getter @@ -937,10 +1142,21 @@ def __init__(__self__, *, :param pulumi.Input[str] name: Name of the parameter (case-sensitive). Parameter name must be ^[a-zA-Z][a-zA-Z_0-9]*$. Example: 'Build_Pipeline_param' is not same as 'build_pipeline_Param' :param pulumi.Input[str] value: Value of the argument. """ + BuildRunBuildOutputExportedVariableItemArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -974,8 +1190,17 @@ def __init__(__self__, *, """ :param pulumi.Input[Sequence[pulumi.Input['BuildRunBuildOutputVulnerabilityAuditSummaryCollectionItemArgs']]] items: List of arguments provided at the time of running the build. """ + BuildRunBuildOutputVulnerabilityAuditSummaryCollectionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Optional[pulumi.Input[Sequence[pulumi.Input['BuildRunBuildOutputVulnerabilityAuditSummaryCollectionItemArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) @property @pulumi.getter @@ -1001,12 +1226,25 @@ def __init__(__self__, *, :param pulumi.Input[str] commit_hash: Commit hash pertinent to the repository URL and the specified branch. :param pulumi.Input[str] vulnerability_audit_id: The OCID of the vulnerability audit. """ + BuildRunBuildOutputVulnerabilityAuditSummaryCollectionItemArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + build_stage_id=build_stage_id, + commit_hash=commit_hash, + vulnerability_audit_id=vulnerability_audit_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + build_stage_id: Optional[pulumi.Input[str]] = None, + commit_hash: Optional[pulumi.Input[str]] = None, + vulnerability_audit_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if build_stage_id is not None: - pulumi.set(__self__, "build_stage_id", build_stage_id) + _setter("build_stage_id", build_stage_id) if commit_hash is not None: - pulumi.set(__self__, "commit_hash", commit_hash) + _setter("commit_hash", commit_hash) if vulnerability_audit_id is not None: - pulumi.set(__self__, "vulnerability_audit_id", vulnerability_audit_id) + _setter("vulnerability_audit_id", vulnerability_audit_id) @property @pulumi.getter(name="buildStageId") @@ -1052,7 +1290,16 @@ def __init__(__self__, *, """ :param pulumi.Input[Sequence[pulumi.Input['BuildRunBuildRunArgumentsItemArgs']]] items: List of arguments provided at the time of running the build. """ - pulumi.set(__self__, "items", items) + BuildRunBuildRunArgumentsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: pulumi.Input[Sequence[pulumi.Input['BuildRunBuildRunArgumentsItemArgs']]], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1076,8 +1323,19 @@ def __init__(__self__, *, :param pulumi.Input[str] name: Name of the parameter (case-sensitive). Parameter name must be ^[a-zA-Z][a-zA-Z_0-9]*$. Example: 'Build_Pipeline_param' is not same as 'build_pipeline_Param' :param pulumi.Input[str] value: Value of the argument. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + BuildRunBuildRunArgumentsItemArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: pulumi.Input[str], + value: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("value", value) @property @pulumi.getter @@ -1115,12 +1373,25 @@ def __init__(__self__, *, :param pulumi.Input[str] time_finished: The time the build run finished. Format defined by [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339). :param pulumi.Input[str] time_started: The time the build run started. Format defined by [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339). """ + BuildRunBuildRunProgressArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + build_pipeline_stage_run_progress=build_pipeline_stage_run_progress, + time_finished=time_finished, + time_started=time_started, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + build_pipeline_stage_run_progress: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_finished: Optional[pulumi.Input[str]] = None, + time_started: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if build_pipeline_stage_run_progress is not None: - pulumi.set(__self__, "build_pipeline_stage_run_progress", build_pipeline_stage_run_progress) + _setter("build_pipeline_stage_run_progress", build_pipeline_stage_run_progress) if time_finished is not None: - pulumi.set(__self__, "time_finished", time_finished) + _setter("time_finished", time_finished) if time_started is not None: - pulumi.set(__self__, "time_started", time_started) + _setter("time_started", time_started) @property @pulumi.getter(name="buildPipelineStageRunProgress") @@ -1172,14 +1443,29 @@ def __init__(__self__, *, :param pulumi.Input[str] trigger_id: The trigger that invoked the build run. :param pulumi.Input[Sequence[pulumi.Input['BuildRunBuildRunSourceTriggerInfoArgs']]] trigger_infos: Trigger details that need to be used for the BuildRun """ + BuildRunBuildRunSourceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + repository_id=repository_id, + source_type=source_type, + trigger_id=trigger_id, + trigger_infos=trigger_infos, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + repository_id: Optional[pulumi.Input[str]] = None, + source_type: Optional[pulumi.Input[str]] = None, + trigger_id: Optional[pulumi.Input[str]] = None, + trigger_infos: Optional[pulumi.Input[Sequence[pulumi.Input['BuildRunBuildRunSourceTriggerInfoArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if repository_id is not None: - pulumi.set(__self__, "repository_id", repository_id) + _setter("repository_id", repository_id) if source_type is not None: - pulumi.set(__self__, "source_type", source_type) + _setter("source_type", source_type) if trigger_id is not None: - pulumi.set(__self__, "trigger_id", trigger_id) + _setter("trigger_id", trigger_id) if trigger_infos is not None: - pulumi.set(__self__, "trigger_infos", trigger_infos) + _setter("trigger_infos", trigger_infos) @property @pulumi.getter(name="repositoryId") @@ -1239,10 +1525,21 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['BuildRunBuildRunSourceTriggerInfoActionArgs']]] actions: The list of actions that are to be performed for this Trigger :param pulumi.Input[str] display_name: (Updatable) Build run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. """ + BuildRunBuildRunSourceTriggerInfoArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + actions=actions, + display_name=display_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + actions: Optional[pulumi.Input[Sequence[pulumi.Input['BuildRunBuildRunSourceTriggerInfoActionArgs']]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if actions is not None: - pulumi.set(__self__, "actions", actions) + _setter("actions", actions) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) @property @pulumi.getter @@ -1280,12 +1577,25 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['BuildRunBuildRunSourceTriggerInfoActionFilterArgs']]] filters: The filters for the trigger. :param pulumi.Input[str] type: The type of action that will be taken. Allowed value is TRIGGER_BUILD_PIPELINE. """ + BuildRunBuildRunSourceTriggerInfoActionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + build_pipeline_id=build_pipeline_id, + filters=filters, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + build_pipeline_id: Optional[pulumi.Input[str]] = None, + filters: Optional[pulumi.Input[Sequence[pulumi.Input['BuildRunBuildRunSourceTriggerInfoActionFilterArgs']]]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if build_pipeline_id is not None: - pulumi.set(__self__, "build_pipeline_id", build_pipeline_id) + _setter("build_pipeline_id", build_pipeline_id) if filters is not None: - pulumi.set(__self__, "filters", filters) + _setter("filters", filters) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter(name="buildPipelineId") @@ -1336,14 +1646,29 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['BuildRunBuildRunSourceTriggerInfoActionFilterIncludeArgs']]] includes: Attributes to filter GitLab self-hosted server events. :param pulumi.Input[str] trigger_source: Source of the trigger. Allowed values are, GITHUB and GITLAB. """ + BuildRunBuildRunSourceTriggerInfoActionFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + events=events, + excludes=excludes, + includes=includes, + trigger_source=trigger_source, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + events: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + excludes: Optional[pulumi.Input[Sequence[pulumi.Input['BuildRunBuildRunSourceTriggerInfoActionFilterExcludeArgs']]]] = None, + includes: Optional[pulumi.Input[Sequence[pulumi.Input['BuildRunBuildRunSourceTriggerInfoActionFilterIncludeArgs']]]] = None, + trigger_source: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if events is not None: - pulumi.set(__self__, "events", events) + _setter("events", events) if excludes is not None: - pulumi.set(__self__, "excludes", excludes) + _setter("excludes", excludes) if includes is not None: - pulumi.set(__self__, "includes", includes) + _setter("includes", includes) if trigger_source is not None: - pulumi.set(__self__, "trigger_source", trigger_source) + _setter("trigger_source", trigger_source) @property @pulumi.getter @@ -1395,8 +1720,17 @@ def trigger_source(self, value: Optional[pulumi.Input[str]]): class BuildRunBuildRunSourceTriggerInfoActionFilterExcludeArgs: def __init__(__self__, *, file_filters: Optional[pulumi.Input[Sequence[pulumi.Input['BuildRunBuildRunSourceTriggerInfoActionFilterExcludeFileFilterArgs']]]] = None): + BuildRunBuildRunSourceTriggerInfoActionFilterExcludeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + file_filters=file_filters, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + file_filters: Optional[pulumi.Input[Sequence[pulumi.Input['BuildRunBuildRunSourceTriggerInfoActionFilterExcludeFileFilterArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if file_filters is not None: - pulumi.set(__self__, "file_filters", file_filters) + _setter("file_filters", file_filters) @property @pulumi.getter(name="fileFilters") @@ -1412,8 +1746,17 @@ def file_filters(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['Build class BuildRunBuildRunSourceTriggerInfoActionFilterExcludeFileFilterArgs: def __init__(__self__, *, file_paths: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + BuildRunBuildRunSourceTriggerInfoActionFilterExcludeFileFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + file_paths=file_paths, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + file_paths: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if file_paths is not None: - pulumi.set(__self__, "file_paths", file_paths) + _setter("file_paths", file_paths) @property @pulumi.getter(name="filePaths") @@ -1437,14 +1780,29 @@ def __init__(__self__, *, :param pulumi.Input[str] head_ref: Branch for push event; source branch for pull requests. :param pulumi.Input[str] repository_name: The repository name for trigger events. """ + BuildRunBuildRunSourceTriggerInfoActionFilterIncludeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + base_ref=base_ref, + file_filters=file_filters, + head_ref=head_ref, + repository_name=repository_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + base_ref: Optional[pulumi.Input[str]] = None, + file_filters: Optional[pulumi.Input[Sequence[pulumi.Input['BuildRunBuildRunSourceTriggerInfoActionFilterIncludeFileFilterArgs']]]] = None, + head_ref: Optional[pulumi.Input[str]] = None, + repository_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if base_ref is not None: - pulumi.set(__self__, "base_ref", base_ref) + _setter("base_ref", base_ref) if file_filters is not None: - pulumi.set(__self__, "file_filters", file_filters) + _setter("file_filters", file_filters) if head_ref is not None: - pulumi.set(__self__, "head_ref", head_ref) + _setter("head_ref", head_ref) if repository_name is not None: - pulumi.set(__self__, "repository_name", repository_name) + _setter("repository_name", repository_name) @property @pulumi.getter(name="baseRef") @@ -1496,8 +1854,17 @@ def repository_name(self, value: Optional[pulumi.Input[str]]): class BuildRunBuildRunSourceTriggerInfoActionFilterIncludeFileFilterArgs: def __init__(__self__, *, file_paths: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None): + BuildRunBuildRunSourceTriggerInfoActionFilterIncludeFileFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + file_paths=file_paths, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + file_paths: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if file_paths is not None: - pulumi.set(__self__, "file_paths", file_paths) + _setter("file_paths", file_paths) @property @pulumi.getter(name="filePaths") @@ -1520,9 +1887,22 @@ def __init__(__self__, *, :param pulumi.Input[str] repository_branch: Name of the repository branch. :param pulumi.Input[str] repository_url: Repository URL. """ - pulumi.set(__self__, "commit_hash", commit_hash) - pulumi.set(__self__, "repository_branch", repository_branch) - pulumi.set(__self__, "repository_url", repository_url) + BuildRunCommitInfoArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + commit_hash=commit_hash, + repository_branch=repository_branch, + repository_url=repository_url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + commit_hash: pulumi.Input[str], + repository_branch: pulumi.Input[str], + repository_url: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("commit_hash", commit_hash) + _setter("repository_branch", repository_branch) + _setter("repository_url", repository_url) @property @pulumi.getter(name="commitHash") @@ -1572,12 +1952,25 @@ def __init__(__self__, *, :param pulumi.Input[str] result: The latest result of whether the credentials pass the validation. :param pulumi.Input[str] time_validated: The latest timestamp when the connection was validated. Format defined by [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339). """ + ConnectionLastConnectionValidationResultArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + message=message, + result=result, + time_validated=time_validated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + message: Optional[pulumi.Input[str]] = None, + result: Optional[pulumi.Input[str]] = None, + time_validated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if message is not None: - pulumi.set(__self__, "message", message) + _setter("message", message) if result is not None: - pulumi.set(__self__, "result", result) + _setter("result", result) if time_validated is not None: - pulumi.set(__self__, "time_validated", time_validated) + _setter("time_validated", time_validated) @property @pulumi.getter @@ -1625,8 +2018,19 @@ def __init__(__self__, *, :param pulumi.Input[str] ca_certificate_bundle_id: (Updatable) The OCID of Oracle Cloud Infrastructure certificate service CA bundle. :param pulumi.Input[str] tls_verify_mode: (Updatable) The type of TLS verification. """ - pulumi.set(__self__, "ca_certificate_bundle_id", ca_certificate_bundle_id) - pulumi.set(__self__, "tls_verify_mode", tls_verify_mode) + ConnectionTlsVerifyConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + ca_certificate_bundle_id=ca_certificate_bundle_id, + tls_verify_mode=tls_verify_mode, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ca_certificate_bundle_id: pulumi.Input[str], + tls_verify_mode: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ca_certificate_bundle_id", ca_certificate_bundle_id) + _setter("tls_verify_mode", tls_verify_mode) @property @pulumi.getter(name="caCertificateBundleId") @@ -1676,23 +2080,48 @@ def __init__(__self__, *, :param pulumi.Input[str] image_uri: (Updatable) Specifies OCIR Image Path - optionally include tag. :param pulumi.Input[str] repository_id: (Updatable) The OCID of a repository """ - pulumi.set(__self__, "deploy_artifact_source_type", deploy_artifact_source_type) + DeployArtifactDeployArtifactSourceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + deploy_artifact_source_type=deploy_artifact_source_type, + base64encoded_content=base64encoded_content, + chart_url=chart_url, + deploy_artifact_path=deploy_artifact_path, + deploy_artifact_version=deploy_artifact_version, + helm_verification_key_source=helm_verification_key_source, + image_digest=image_digest, + image_uri=image_uri, + repository_id=repository_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deploy_artifact_source_type: pulumi.Input[str], + base64encoded_content: Optional[pulumi.Input[str]] = None, + chart_url: Optional[pulumi.Input[str]] = None, + deploy_artifact_path: Optional[pulumi.Input[str]] = None, + deploy_artifact_version: Optional[pulumi.Input[str]] = None, + helm_verification_key_source: Optional[pulumi.Input['DeployArtifactDeployArtifactSourceHelmVerificationKeySourceArgs']] = None, + image_digest: Optional[pulumi.Input[str]] = None, + image_uri: Optional[pulumi.Input[str]] = None, + repository_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("deploy_artifact_source_type", deploy_artifact_source_type) if base64encoded_content is not None: - pulumi.set(__self__, "base64encoded_content", base64encoded_content) + _setter("base64encoded_content", base64encoded_content) if chart_url is not None: - pulumi.set(__self__, "chart_url", chart_url) + _setter("chart_url", chart_url) if deploy_artifact_path is not None: - pulumi.set(__self__, "deploy_artifact_path", deploy_artifact_path) + _setter("deploy_artifact_path", deploy_artifact_path) if deploy_artifact_version is not None: - pulumi.set(__self__, "deploy_artifact_version", deploy_artifact_version) + _setter("deploy_artifact_version", deploy_artifact_version) if helm_verification_key_source is not None: - pulumi.set(__self__, "helm_verification_key_source", helm_verification_key_source) + _setter("helm_verification_key_source", helm_verification_key_source) if image_digest is not None: - pulumi.set(__self__, "image_digest", image_digest) + _setter("image_digest", image_digest) if image_uri is not None: - pulumi.set(__self__, "image_uri", image_uri) + _setter("image_uri", image_uri) if repository_id is not None: - pulumi.set(__self__, "repository_id", repository_id) + _setter("repository_id", repository_id) @property @pulumi.getter(name="deployArtifactSourceType") @@ -1816,13 +2245,28 @@ def __init__(__self__, *, :param pulumi.Input[str] previous_public_key: (Updatable) Previous version of Base64 encoding of the public key which is in binary GPG exported format. This would be used for key rotation scenarios. :param pulumi.Input[str] vault_secret_id: (Updatable) The OCID of the Vault Secret containing the verification key versions. """ - pulumi.set(__self__, "verification_key_source_type", verification_key_source_type) + DeployArtifactDeployArtifactSourceHelmVerificationKeySourceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + verification_key_source_type=verification_key_source_type, + current_public_key=current_public_key, + previous_public_key=previous_public_key, + vault_secret_id=vault_secret_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + verification_key_source_type: pulumi.Input[str], + current_public_key: Optional[pulumi.Input[str]] = None, + previous_public_key: Optional[pulumi.Input[str]] = None, + vault_secret_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("verification_key_source_type", verification_key_source_type) if current_public_key is not None: - pulumi.set(__self__, "current_public_key", current_public_key) + _setter("current_public_key", current_public_key) if previous_public_key is not None: - pulumi.set(__self__, "previous_public_key", previous_public_key) + _setter("previous_public_key", previous_public_key) if vault_secret_id is not None: - pulumi.set(__self__, "vault_secret_id", vault_secret_id) + _setter("vault_secret_id", vault_secret_id) @property @pulumi.getter(name="verificationKeySourceType") @@ -1880,8 +2324,17 @@ def __init__(__self__, *, """ :param pulumi.Input[Sequence[pulumi.Input['DeployEnvironmentComputeInstanceGroupSelectorsItemArgs']]] items: (Updatable) A list of selectors for the instance group. UNION operator is used for combining the instances selected by each selector. """ + DeployEnvironmentComputeInstanceGroupSelectorsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Optional[pulumi.Input[Sequence[pulumi.Input['DeployEnvironmentComputeInstanceGroupSelectorsItemArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) @property @pulumi.getter @@ -1909,13 +2362,28 @@ def __init__(__self__, *, :param pulumi.Input[str] query: (Updatable) Query expression confirming to the Oracle Cloud Infrastructure Search Language syntax to select compute instances for the group. The language is documented at https://docs.oracle.com/en-us/iaas/Content/Search/Concepts/querysyntax.htm :param pulumi.Input[str] region: (Updatable) Region identifier referred by the deployment environment. Region identifiers are listed at https://docs.oracle.com/en-us/iaas/Content/General/Concepts/regions.htm """ - pulumi.set(__self__, "selector_type", selector_type) + DeployEnvironmentComputeInstanceGroupSelectorsItemArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + selector_type=selector_type, + compute_instance_ids=compute_instance_ids, + query=query, + region=region, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + selector_type: pulumi.Input[str], + compute_instance_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + query: Optional[pulumi.Input[str]] = None, + region: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("selector_type", selector_type) if compute_instance_ids is not None: - pulumi.set(__self__, "compute_instance_ids", compute_instance_ids) + _setter("compute_instance_ids", compute_instance_ids) if query is not None: - pulumi.set(__self__, "query", query) + _setter("query", query) if region is not None: - pulumi.set(__self__, "region", region) + _setter("region", region) @property @pulumi.getter(name="selectorType") @@ -1977,10 +2445,23 @@ def __init__(__self__, *, :param pulumi.Input[str] subnet_id: (Updatable) The OCID of the subnet where VNIC resources will be created for private endpoint. :param pulumi.Input[Sequence[pulumi.Input[str]]] nsg_ids: (Updatable) An array of network security group OCIDs. """ - pulumi.set(__self__, "network_channel_type", network_channel_type) - pulumi.set(__self__, "subnet_id", subnet_id) + DeployEnvironmentNetworkChannelArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + network_channel_type=network_channel_type, + subnet_id=subnet_id, + nsg_ids=nsg_ids, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + network_channel_type: pulumi.Input[str], + subnet_id: pulumi.Input[str], + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("network_channel_type", network_channel_type) + _setter("subnet_id", subnet_id) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) @property @pulumi.getter(name="networkChannelType") @@ -2026,8 +2507,17 @@ def __init__(__self__, *, """ :param pulumi.Input[Sequence[pulumi.Input['DeployPipelineDeployPipelineArtifactItemArgs']]] items: (Updatable) List of parameters defined for a deployment pipeline. """ + DeployPipelineDeployPipelineArtifactArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Optional[pulumi.Input[Sequence[pulumi.Input['DeployPipelineDeployPipelineArtifactItemArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) @property @pulumi.getter @@ -2053,12 +2543,25 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['DeployPipelineDeployPipelineArtifactItemDeployPipelineStageArgs']]] deploy_pipeline_stages: List of stages. :param pulumi.Input[str] display_name: (Updatable) Deployment pipeline display name. Avoid entering confidential information. """ + DeployPipelineDeployPipelineArtifactItemArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + deploy_artifact_id=deploy_artifact_id, + deploy_pipeline_stages=deploy_pipeline_stages, + display_name=display_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deploy_artifact_id: Optional[pulumi.Input[str]] = None, + deploy_pipeline_stages: Optional[pulumi.Input[Sequence[pulumi.Input['DeployPipelineDeployPipelineArtifactItemDeployPipelineStageArgs']]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if deploy_artifact_id is not None: - pulumi.set(__self__, "deploy_artifact_id", deploy_artifact_id) + _setter("deploy_artifact_id", deploy_artifact_id) if deploy_pipeline_stages is not None: - pulumi.set(__self__, "deploy_pipeline_stages", deploy_pipeline_stages) + _setter("deploy_pipeline_stages", deploy_pipeline_stages) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) @property @pulumi.getter(name="deployArtifactId") @@ -2104,8 +2607,17 @@ def __init__(__self__, *, """ :param pulumi.Input[Sequence[pulumi.Input['DeployPipelineDeployPipelineArtifactItemDeployPipelineStageItemArgs']]] items: (Updatable) List of parameters defined for a deployment pipeline. """ + DeployPipelineDeployPipelineArtifactItemDeployPipelineStageArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Optional[pulumi.Input[Sequence[pulumi.Input['DeployPipelineDeployPipelineArtifactItemDeployPipelineStageItemArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) @property @pulumi.getter @@ -2129,10 +2641,21 @@ def __init__(__self__, *, :param pulumi.Input[str] deploy_stage_id: The OCID of a stage :param pulumi.Input[str] display_name: (Updatable) Deployment pipeline display name. Avoid entering confidential information. """ + DeployPipelineDeployPipelineArtifactItemDeployPipelineStageItemArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + deploy_stage_id=deploy_stage_id, + display_name=display_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deploy_stage_id: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if deploy_stage_id is not None: - pulumi.set(__self__, "deploy_stage_id", deploy_stage_id) + _setter("deploy_stage_id", deploy_stage_id) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) @property @pulumi.getter(name="deployStageId") @@ -2166,8 +2689,17 @@ def __init__(__self__, *, """ :param pulumi.Input[Sequence[pulumi.Input['DeployPipelineDeployPipelineEnvironmentItemArgs']]] items: (Updatable) List of parameters defined for a deployment pipeline. """ + DeployPipelineDeployPipelineEnvironmentArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Optional[pulumi.Input[Sequence[pulumi.Input['DeployPipelineDeployPipelineEnvironmentItemArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) @property @pulumi.getter @@ -2193,12 +2725,25 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['DeployPipelineDeployPipelineEnvironmentItemDeployPipelineStageArgs']]] deploy_pipeline_stages: List of stages. :param pulumi.Input[str] display_name: (Updatable) Deployment pipeline display name. Avoid entering confidential information. """ + DeployPipelineDeployPipelineEnvironmentItemArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + deploy_environment_id=deploy_environment_id, + deploy_pipeline_stages=deploy_pipeline_stages, + display_name=display_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deploy_environment_id: Optional[pulumi.Input[str]] = None, + deploy_pipeline_stages: Optional[pulumi.Input[Sequence[pulumi.Input['DeployPipelineDeployPipelineEnvironmentItemDeployPipelineStageArgs']]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if deploy_environment_id is not None: - pulumi.set(__self__, "deploy_environment_id", deploy_environment_id) + _setter("deploy_environment_id", deploy_environment_id) if deploy_pipeline_stages is not None: - pulumi.set(__self__, "deploy_pipeline_stages", deploy_pipeline_stages) + _setter("deploy_pipeline_stages", deploy_pipeline_stages) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) @property @pulumi.getter(name="deployEnvironmentId") @@ -2244,8 +2789,17 @@ def __init__(__self__, *, """ :param pulumi.Input[Sequence[pulumi.Input['DeployPipelineDeployPipelineEnvironmentItemDeployPipelineStageItemArgs']]] items: (Updatable) List of parameters defined for a deployment pipeline. """ + DeployPipelineDeployPipelineEnvironmentItemDeployPipelineStageArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Optional[pulumi.Input[Sequence[pulumi.Input['DeployPipelineDeployPipelineEnvironmentItemDeployPipelineStageItemArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) @property @pulumi.getter @@ -2269,10 +2823,21 @@ def __init__(__self__, *, :param pulumi.Input[str] deploy_stage_id: The OCID of a stage :param pulumi.Input[str] display_name: (Updatable) Deployment pipeline display name. Avoid entering confidential information. """ + DeployPipelineDeployPipelineEnvironmentItemDeployPipelineStageItemArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + deploy_stage_id=deploy_stage_id, + display_name=display_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deploy_stage_id: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if deploy_stage_id is not None: - pulumi.set(__self__, "deploy_stage_id", deploy_stage_id) + _setter("deploy_stage_id", deploy_stage_id) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) @property @pulumi.getter(name="deployStageId") @@ -2306,7 +2871,16 @@ def __init__(__self__, *, """ :param pulumi.Input[Sequence[pulumi.Input['DeployPipelineDeployPipelineParametersItemArgs']]] items: (Updatable) List of parameters defined for a deployment pipeline. """ - pulumi.set(__self__, "items", items) + DeployPipelineDeployPipelineParametersArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: pulumi.Input[Sequence[pulumi.Input['DeployPipelineDeployPipelineParametersItemArgs']]], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -2332,11 +2906,24 @@ def __init__(__self__, *, :param pulumi.Input[str] default_value: (Updatable) Default value of the parameter. :param pulumi.Input[str] description: (Updatable) Optional description about the deployment pipeline. """ - pulumi.set(__self__, "name", name) + DeployPipelineDeployPipelineParametersItemArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + default_value=default_value, + description=description, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: pulumi.Input[str], + default_value: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) if default_value is not None: - pulumi.set(__self__, "default_value", default_value) + _setter("default_value", default_value) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) @property @pulumi.getter @@ -2384,8 +2971,19 @@ def __init__(__self__, *, :param pulumi.Input[str] approval_policy_type: (Updatable) Approval policy type. :param pulumi.Input[int] number_of_approvals_required: (Updatable) A minimum number of approvals required for stage to proceed. """ - pulumi.set(__self__, "approval_policy_type", approval_policy_type) - pulumi.set(__self__, "number_of_approvals_required", number_of_approvals_required) + DeployStageApprovalPolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + approval_policy_type=approval_policy_type, + number_of_approvals_required=number_of_approvals_required, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + approval_policy_type: pulumi.Input[str], + number_of_approvals_required: pulumi.Input[int], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("approval_policy_type", approval_policy_type) + _setter("number_of_approvals_required", number_of_approvals_required) @property @pulumi.getter(name="approvalPolicyType") @@ -2419,8 +3017,17 @@ def __init__(__self__, *, """ :param pulumi.Input[Sequence[pulumi.Input[str]]] items: (Updatable) List of parameters defined to set helm value. """ + DeployStageBlueBackendIpsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) @property @pulumi.getter @@ -2448,10 +3055,25 @@ def __init__(__self__, *, :param pulumi.Input[str] namespace_b: Second Namespace for deployment. :param pulumi.Input[str] strategy_type: Canary strategy type. """ - pulumi.set(__self__, "ingress_name", ingress_name) - pulumi.set(__self__, "namespace_a", namespace_a) - pulumi.set(__self__, "namespace_b", namespace_b) - pulumi.set(__self__, "strategy_type", strategy_type) + DeployStageBlueGreenStrategyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + ingress_name=ingress_name, + namespace_a=namespace_a, + namespace_b=namespace_b, + strategy_type=strategy_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ingress_name: pulumi.Input[str], + namespace_a: pulumi.Input[str], + namespace_b: pulumi.Input[str], + strategy_type: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ingress_name", ingress_name) + _setter("namespace_a", namespace_a) + _setter("namespace_b", namespace_b) + _setter("strategy_type", strategy_type) @property @pulumi.getter(name="ingressName") @@ -2513,9 +3135,22 @@ def __init__(__self__, *, :param pulumi.Input[str] namespace: (Updatable) Default namespace to be used for Kubernetes deployment when not specified in the manifest. :param pulumi.Input[str] strategy_type: Canary strategy type. """ - pulumi.set(__self__, "ingress_name", ingress_name) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "strategy_type", strategy_type) + DeployStageCanaryStrategyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + ingress_name=ingress_name, + namespace=namespace, + strategy_type=strategy_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ingress_name: pulumi.Input[str], + namespace: pulumi.Input[str], + strategy_type: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ingress_name", ingress_name) + _setter("namespace", namespace) + _setter("strategy_type", strategy_type) @property @pulumi.getter(name="ingressName") @@ -2571,14 +3206,33 @@ def __init__(__self__, *, :param pulumi.Input[str] availability_domain: (Updatable) Availability domain where the ContainerInstance will be created. :param pulumi.Input[str] compartment_id: (Updatable) The OCID of the compartment where the ContainerInstance will be created. """ - pulumi.set(__self__, "container_config_type", container_config_type) - pulumi.set(__self__, "network_channel", network_channel) - pulumi.set(__self__, "shape_config", shape_config) - pulumi.set(__self__, "shape_name", shape_name) + DeployStageContainerConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + container_config_type=container_config_type, + network_channel=network_channel, + shape_config=shape_config, + shape_name=shape_name, + availability_domain=availability_domain, + compartment_id=compartment_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + container_config_type: pulumi.Input[str], + network_channel: pulumi.Input['DeployStageContainerConfigNetworkChannelArgs'], + shape_config: pulumi.Input['DeployStageContainerConfigShapeConfigArgs'], + shape_name: pulumi.Input[str], + availability_domain: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("container_config_type", container_config_type) + _setter("network_channel", network_channel) + _setter("shape_config", shape_config) + _setter("shape_name", shape_name) if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) @property @pulumi.getter(name="containerConfigType") @@ -2664,10 +3318,23 @@ def __init__(__self__, *, :param pulumi.Input[str] subnet_id: (Updatable) The OCID of the subnet where VNIC resources will be created for private endpoint. :param pulumi.Input[Sequence[pulumi.Input[str]]] nsg_ids: (Updatable) An array of network security group OCIDs. """ - pulumi.set(__self__, "network_channel_type", network_channel_type) - pulumi.set(__self__, "subnet_id", subnet_id) + DeployStageContainerConfigNetworkChannelArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + network_channel_type=network_channel_type, + subnet_id=subnet_id, + nsg_ids=nsg_ids, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + network_channel_type: pulumi.Input[str], + subnet_id: pulumi.Input[str], + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("network_channel_type", network_channel_type) + _setter("subnet_id", subnet_id) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) @property @pulumi.getter(name="networkChannelType") @@ -2715,9 +3382,20 @@ def __init__(__self__, *, :param pulumi.Input[float] ocpus: (Updatable) The total number of OCPUs available to the instance. :param pulumi.Input[float] memory_in_gbs: (Updatable) The total amount of memory available to the instance, in gigabytes. """ - pulumi.set(__self__, "ocpus", ocpus) + DeployStageContainerConfigShapeConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + ocpus=ocpus, + memory_in_gbs=memory_in_gbs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ocpus: pulumi.Input[float], + memory_in_gbs: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ocpus", ocpus) if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) @property @pulumi.getter @@ -2751,7 +3429,16 @@ def __init__(__self__, *, """ :param pulumi.Input[Sequence[pulumi.Input['DeployStageDeployStagePredecessorCollectionItemArgs']]] items: (Updatable) List of parameters defined to set helm value. """ - pulumi.set(__self__, "items", items) + DeployStageDeployStagePredecessorCollectionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: pulumi.Input[Sequence[pulumi.Input['DeployStageDeployStagePredecessorCollectionItemArgs']]], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -2773,7 +3460,16 @@ def __init__(__self__, *, """ :param pulumi.Input[str] id: (Updatable) The OCID of the predecessor stage. If a stage is the first stage in the pipeline, then the ID is the pipeline's OCID. """ - pulumi.set(__self__, "id", id) + DeployStageDeployStagePredecessorCollectionItemArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) @property @pulumi.getter @@ -2799,11 +3495,24 @@ def __init__(__self__, *, :param pulumi.Input[int] failure_count: (Updatable) The threshold count of failed instances in the group, which when reached or exceeded sets the stage as FAILED. :param pulumi.Input[int] failure_percentage: (Updatable) The failure percentage threshold, which when reached or exceeded sets the stage as FAILED. Percentage is computed as the ceiling value of the number of failed instances over the total count of the instances in the group. """ - pulumi.set(__self__, "policy_type", policy_type) + DeployStageFailurePolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + policy_type=policy_type, + failure_count=failure_count, + failure_percentage=failure_percentage, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + policy_type: pulumi.Input[str], + failure_count: Optional[pulumi.Input[int]] = None, + failure_percentage: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("policy_type", policy_type) if failure_count is not None: - pulumi.set(__self__, "failure_count", failure_count) + _setter("failure_count", failure_count) if failure_percentage is not None: - pulumi.set(__self__, "failure_percentage", failure_percentage) + _setter("failure_percentage", failure_percentage) @property @pulumi.getter(name="policyType") @@ -2849,8 +3558,17 @@ def __init__(__self__, *, """ :param pulumi.Input[Sequence[pulumi.Input[str]]] items: (Updatable) List of parameters defined to set helm value. """ + DeployStageGreenBackendIpsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) @property @pulumi.getter @@ -2878,14 +3596,29 @@ def __init__(__self__, *, :param pulumi.Input[str] load_balancer_id: (Updatable) The OCID of the load balancer. :param pulumi.Input[str] state: The current state of the deployment stage. """ + DeployStageLoadBalancerConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + backend_port=backend_port, + listener_name=listener_name, + load_balancer_id=load_balancer_id, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backend_port: Optional[pulumi.Input[int]] = None, + listener_name: Optional[pulumi.Input[str]] = None, + load_balancer_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if backend_port is not None: - pulumi.set(__self__, "backend_port", backend_port) + _setter("backend_port", backend_port) if listener_name is not None: - pulumi.set(__self__, "listener_name", listener_name) + _setter("listener_name", listener_name) if load_balancer_id is not None: - pulumi.set(__self__, "load_balancer_id", load_balancer_id) + _setter("load_balancer_id", load_balancer_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) @property @pulumi.getter(name="backendPort") @@ -2949,14 +3682,29 @@ def __init__(__self__, *, :param pulumi.Input[str] load_balancer_id: (Updatable) The OCID of the load balancer. :param pulumi.Input[str] state: The current state of the deployment stage. """ + DeployStageProductionLoadBalancerConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + backend_port=backend_port, + listener_name=listener_name, + load_balancer_id=load_balancer_id, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backend_port: Optional[pulumi.Input[int]] = None, + listener_name: Optional[pulumi.Input[str]] = None, + load_balancer_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if backend_port is not None: - pulumi.set(__self__, "backend_port", backend_port) + _setter("backend_port", backend_port) if listener_name is not None: - pulumi.set(__self__, "listener_name", listener_name) + _setter("listener_name", listener_name) if load_balancer_id is not None: - pulumi.set(__self__, "load_balancer_id", load_balancer_id) + _setter("load_balancer_id", load_balancer_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) @property @pulumi.getter(name="backendPort") @@ -3014,8 +3762,17 @@ def __init__(__self__, *, """ :param pulumi.Input[str] policy_type: (Updatable) The type of policy used for rolling out a deployment stage. """ + DeployStageRollbackPolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + policy_type=policy_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + policy_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if policy_type is not None: - pulumi.set(__self__, "policy_type", policy_type) + _setter("policy_type", policy_type) @property @pulumi.getter(name="policyType") @@ -3045,16 +3802,33 @@ def __init__(__self__, *, :param pulumi.Input[str] policy_type: (Updatable) The type of policy used for rolling out a deployment stage. :param pulumi.Input[float] ramp_limit_percent: (Updatable) Indicates the criteria to stop. """ + DeployStageRolloutPolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + batch_count=batch_count, + batch_delay_in_seconds=batch_delay_in_seconds, + batch_percentage=batch_percentage, + policy_type=policy_type, + ramp_limit_percent=ramp_limit_percent, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + batch_count: Optional[pulumi.Input[int]] = None, + batch_delay_in_seconds: Optional[pulumi.Input[int]] = None, + batch_percentage: Optional[pulumi.Input[int]] = None, + policy_type: Optional[pulumi.Input[str]] = None, + ramp_limit_percent: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if batch_count is not None: - pulumi.set(__self__, "batch_count", batch_count) + _setter("batch_count", batch_count) if batch_delay_in_seconds is not None: - pulumi.set(__self__, "batch_delay_in_seconds", batch_delay_in_seconds) + _setter("batch_delay_in_seconds", batch_delay_in_seconds) if batch_percentage is not None: - pulumi.set(__self__, "batch_percentage", batch_percentage) + _setter("batch_percentage", batch_percentage) if policy_type is not None: - pulumi.set(__self__, "policy_type", policy_type) + _setter("policy_type", policy_type) if ramp_limit_percent is not None: - pulumi.set(__self__, "ramp_limit_percent", ramp_limit_percent) + _setter("ramp_limit_percent", ramp_limit_percent) @property @pulumi.getter(name="batchCount") @@ -3124,8 +3898,17 @@ def __init__(__self__, *, """ :param pulumi.Input[Sequence[pulumi.Input['DeployStageSetStringItemArgs']]] items: (Updatable) List of parameters defined to set helm value. """ + DeployStageSetStringArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Optional[pulumi.Input[Sequence[pulumi.Input['DeployStageSetStringItemArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) @property @pulumi.getter @@ -3149,10 +3932,21 @@ def __init__(__self__, *, :param pulumi.Input[str] name: (Updatable) Name of the parameter (case-sensitive). :param pulumi.Input[str] value: (Updatable) Value of the parameter. """ + DeployStageSetStringItemArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -3186,8 +3980,17 @@ def __init__(__self__, *, """ :param pulumi.Input[Sequence[pulumi.Input['DeployStageSetValuesItemArgs']]] items: (Updatable) List of parameters defined to set helm value. """ + DeployStageSetValuesArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Optional[pulumi.Input[Sequence[pulumi.Input['DeployStageSetValuesItemArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) @property @pulumi.getter @@ -3211,10 +4014,21 @@ def __init__(__self__, *, :param pulumi.Input[str] name: (Updatable) Name of the parameter (case-sensitive). :param pulumi.Input[str] value: (Updatable) Value of the parameter. """ + DeployStageSetValuesItemArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -3254,14 +4068,29 @@ def __init__(__self__, *, :param pulumi.Input[str] load_balancer_id: (Updatable) The OCID of the load balancer. :param pulumi.Input[str] state: The current state of the deployment stage. """ + DeployStageTestLoadBalancerConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + backend_port=backend_port, + listener_name=listener_name, + load_balancer_id=load_balancer_id, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backend_port: Optional[pulumi.Input[int]] = None, + listener_name: Optional[pulumi.Input[str]] = None, + load_balancer_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if backend_port is not None: - pulumi.set(__self__, "backend_port", backend_port) + _setter("backend_port", backend_port) if listener_name is not None: - pulumi.set(__self__, "listener_name", listener_name) + _setter("listener_name", listener_name) if load_balancer_id is not None: - pulumi.set(__self__, "load_balancer_id", load_balancer_id) + _setter("load_balancer_id", load_balancer_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) @property @pulumi.getter(name="backendPort") @@ -3325,8 +4154,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "wait_duration", wait_duration) - pulumi.set(__self__, "wait_type", wait_type) + DeployStageWaitCriteriaArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + wait_duration=wait_duration, + wait_type=wait_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + wait_duration: pulumi.Input[str], + wait_type: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("wait_duration", wait_duration) + _setter("wait_type", wait_type) @property @pulumi.getter(name="waitDuration") @@ -3364,8 +4204,17 @@ def __init__(__self__, *, """ :param pulumi.Input[Sequence[pulumi.Input['DeploymentDeployArtifactOverrideArgumentsItemArgs']]] items: List of arguments provided at the time of deployment. """ + DeploymentDeployArtifactOverrideArgumentsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Optional[pulumi.Input[Sequence[pulumi.Input['DeploymentDeployArtifactOverrideArgumentsItemArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) @property @pulumi.getter @@ -3392,12 +4241,25 @@ def __init__(__self__, *, :param pulumi.Input[str] value: value of the argument. * To retrieve Helm Diff for Helm stages in the pipeline add deployment_arguments with name=PLAN_DRY_RUN and value=true """ + DeploymentDeployArtifactOverrideArgumentsItemArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + deploy_artifact_id=deploy_artifact_id, + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deploy_artifact_id: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if deploy_artifact_id is not None: - pulumi.set(__self__, "deploy_artifact_id", deploy_artifact_id) + _setter("deploy_artifact_id", deploy_artifact_id) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter(name="deployArtifactId") @@ -3444,8 +4306,17 @@ def __init__(__self__, *, """ :param pulumi.Input[Sequence[pulumi.Input['DeploymentDeployPipelineArtifactItemArgs']]] items: List of arguments provided at the time of deployment. """ + DeploymentDeployPipelineArtifactArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Optional[pulumi.Input[Sequence[pulumi.Input['DeploymentDeployPipelineArtifactItemArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) @property @pulumi.getter @@ -3471,12 +4342,25 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['DeploymentDeployPipelineArtifactItemDeployPipelineStageArgs']]] deploy_pipeline_stages: List of stages. :param pulumi.Input[str] display_name: (Updatable) Deployment display name. Avoid entering confidential information. """ + DeploymentDeployPipelineArtifactItemArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + deploy_artifact_id=deploy_artifact_id, + deploy_pipeline_stages=deploy_pipeline_stages, + display_name=display_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deploy_artifact_id: Optional[pulumi.Input[str]] = None, + deploy_pipeline_stages: Optional[pulumi.Input[Sequence[pulumi.Input['DeploymentDeployPipelineArtifactItemDeployPipelineStageArgs']]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if deploy_artifact_id is not None: - pulumi.set(__self__, "deploy_artifact_id", deploy_artifact_id) + _setter("deploy_artifact_id", deploy_artifact_id) if deploy_pipeline_stages is not None: - pulumi.set(__self__, "deploy_pipeline_stages", deploy_pipeline_stages) + _setter("deploy_pipeline_stages", deploy_pipeline_stages) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) @property @pulumi.getter(name="deployArtifactId") @@ -3522,8 +4406,17 @@ def __init__(__self__, *, """ :param pulumi.Input[Sequence[pulumi.Input['DeploymentDeployPipelineArtifactItemDeployPipelineStageItemArgs']]] items: List of arguments provided at the time of deployment. """ + DeploymentDeployPipelineArtifactItemDeployPipelineStageArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Optional[pulumi.Input[Sequence[pulumi.Input['DeploymentDeployPipelineArtifactItemDeployPipelineStageItemArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) @property @pulumi.getter @@ -3547,10 +4440,21 @@ def __init__(__self__, *, :param pulumi.Input[str] deploy_stage_id: The OCID of the stage. :param pulumi.Input[str] display_name: (Updatable) Deployment display name. Avoid entering confidential information. """ + DeploymentDeployPipelineArtifactItemDeployPipelineStageItemArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + deploy_stage_id=deploy_stage_id, + display_name=display_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deploy_stage_id: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if deploy_stage_id is not None: - pulumi.set(__self__, "deploy_stage_id", deploy_stage_id) + _setter("deploy_stage_id", deploy_stage_id) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) @property @pulumi.getter(name="deployStageId") @@ -3584,8 +4488,17 @@ def __init__(__self__, *, """ :param pulumi.Input[Sequence[pulumi.Input['DeploymentDeployPipelineEnvironmentItemArgs']]] items: List of arguments provided at the time of deployment. """ + DeploymentDeployPipelineEnvironmentArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Optional[pulumi.Input[Sequence[pulumi.Input['DeploymentDeployPipelineEnvironmentItemArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) @property @pulumi.getter @@ -3611,12 +4524,25 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['DeploymentDeployPipelineEnvironmentItemDeployPipelineStageArgs']]] deploy_pipeline_stages: List of stages. :param pulumi.Input[str] display_name: (Updatable) Deployment display name. Avoid entering confidential information. """ + DeploymentDeployPipelineEnvironmentItemArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + deploy_environment_id=deploy_environment_id, + deploy_pipeline_stages=deploy_pipeline_stages, + display_name=display_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deploy_environment_id: Optional[pulumi.Input[str]] = None, + deploy_pipeline_stages: Optional[pulumi.Input[Sequence[pulumi.Input['DeploymentDeployPipelineEnvironmentItemDeployPipelineStageArgs']]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if deploy_environment_id is not None: - pulumi.set(__self__, "deploy_environment_id", deploy_environment_id) + _setter("deploy_environment_id", deploy_environment_id) if deploy_pipeline_stages is not None: - pulumi.set(__self__, "deploy_pipeline_stages", deploy_pipeline_stages) + _setter("deploy_pipeline_stages", deploy_pipeline_stages) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) @property @pulumi.getter(name="deployEnvironmentId") @@ -3662,8 +4588,17 @@ def __init__(__self__, *, """ :param pulumi.Input[Sequence[pulumi.Input['DeploymentDeployPipelineEnvironmentItemDeployPipelineStageItemArgs']]] items: List of arguments provided at the time of deployment. """ + DeploymentDeployPipelineEnvironmentItemDeployPipelineStageArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Optional[pulumi.Input[Sequence[pulumi.Input['DeploymentDeployPipelineEnvironmentItemDeployPipelineStageItemArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) @property @pulumi.getter @@ -3687,10 +4622,21 @@ def __init__(__self__, *, :param pulumi.Input[str] deploy_stage_id: The OCID of the stage. :param pulumi.Input[str] display_name: (Updatable) Deployment display name. Avoid entering confidential information. """ + DeploymentDeployPipelineEnvironmentItemDeployPipelineStageItemArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + deploy_stage_id=deploy_stage_id, + display_name=display_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deploy_stage_id: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if deploy_stage_id is not None: - pulumi.set(__self__, "deploy_stage_id", deploy_stage_id) + _setter("deploy_stage_id", deploy_stage_id) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) @property @pulumi.getter(name="deployStageId") @@ -3724,8 +4670,17 @@ def __init__(__self__, *, """ :param pulumi.Input[Sequence[pulumi.Input['DeploymentDeployStageOverrideArgumentsItemArgs']]] items: List of arguments provided at the time of deployment. """ + DeploymentDeployStageOverrideArgumentsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Optional[pulumi.Input[Sequence[pulumi.Input['DeploymentDeployStageOverrideArgumentsItemArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) @property @pulumi.getter @@ -3752,12 +4707,25 @@ def __init__(__self__, *, :param pulumi.Input[str] value: value of the argument. * To retrieve Helm Diff for Helm stages in the pipeline add deployment_arguments with name=PLAN_DRY_RUN and value=true """ + DeploymentDeployStageOverrideArgumentsItemArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + deploy_stage_id=deploy_stage_id, + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deploy_stage_id: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if deploy_stage_id is not None: - pulumi.set(__self__, "deploy_stage_id", deploy_stage_id) + _setter("deploy_stage_id", deploy_stage_id) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter(name="deployStageId") @@ -3804,8 +4772,17 @@ def __init__(__self__, *, """ :param pulumi.Input[Sequence[pulumi.Input['DeploymentDeploymentArgumentsItemArgs']]] items: List of arguments provided at the time of deployment. """ + DeploymentDeploymentArgumentsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Optional[pulumi.Input[Sequence[pulumi.Input['DeploymentDeploymentArgumentsItemArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) @property @pulumi.getter @@ -3830,10 +4807,21 @@ def __init__(__self__, *, :param pulumi.Input[str] value: value of the argument. * To retrieve Helm Diff for Helm stages in the pipeline add deployment_arguments with name=PLAN_DRY_RUN and value=true """ + DeploymentDeploymentArgumentsItemArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -3872,12 +4860,25 @@ def __init__(__self__, *, :param pulumi.Input[str] time_finished: Time the deployment is finished. Format defined by [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339). :param pulumi.Input[str] time_started: Time the deployment is started. Format defined by [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339). """ + DeploymentDeploymentExecutionProgressArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + deploy_stage_execution_progress=deploy_stage_execution_progress, + time_finished=time_finished, + time_started=time_started, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deploy_stage_execution_progress: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_finished: Optional[pulumi.Input[str]] = None, + time_started: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if deploy_stage_execution_progress is not None: - pulumi.set(__self__, "deploy_stage_execution_progress", deploy_stage_execution_progress) + _setter("deploy_stage_execution_progress", deploy_stage_execution_progress) if time_finished is not None: - pulumi.set(__self__, "time_finished", time_finished) + _setter("time_finished", time_finished) if time_started is not None: - pulumi.set(__self__, "time_started", time_started) + _setter("time_started", time_started) @property @pulumi.getter(name="deployStageExecutionProgress") @@ -3927,7 +4928,16 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "topic_id", topic_id) + ProjectNotificationConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + topic_id=topic_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + topic_id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("topic_id", topic_id) @property @pulumi.getter(name="topicId") @@ -3957,12 +4967,25 @@ def __init__(__self__, *, :param pulumi.Input[str] repository_url: (Updatable) URL of external repository you want to mirror. :param pulumi.Input['RepositoryMirrorRepositoryConfigTriggerScheduleArgs'] trigger_schedule: (Updatable) Specifies a trigger schedule. Timing information for when to initiate automated syncs. """ + RepositoryMirrorRepositoryConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + connector_id=connector_id, + repository_url=repository_url, + trigger_schedule=trigger_schedule, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + connector_id: Optional[pulumi.Input[str]] = None, + repository_url: Optional[pulumi.Input[str]] = None, + trigger_schedule: Optional[pulumi.Input['RepositoryMirrorRepositoryConfigTriggerScheduleArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if connector_id is not None: - pulumi.set(__self__, "connector_id", connector_id) + _setter("connector_id", connector_id) if repository_url is not None: - pulumi.set(__self__, "repository_url", repository_url) + _setter("repository_url", repository_url) if trigger_schedule is not None: - pulumi.set(__self__, "trigger_schedule", trigger_schedule) + _setter("trigger_schedule", trigger_schedule) @property @pulumi.getter(name="connectorId") @@ -4010,9 +5033,20 @@ def __init__(__self__, *, :param pulumi.Input[str] schedule_type: (Updatable) Different types of trigger schedule: NONE - No automated synchronization schedule. DEFAULT - Trigger schedule is every 30 minutes. CUSTOM - Custom triggering schedule. :param pulumi.Input[str] custom_schedule: (Updatable) Valid if type is CUSTOM. Following RFC 5545 recurrence rules, we can specify starting time, occurrence frequency, and interval size. Example for frequency could be DAILY/WEEKLY/HOURLY or any RFC 5545 supported frequency, which is followed by start time of this window. You can control the start time with BYHOUR, BYMINUTE and BYSECONDS. It is followed by the interval size. """ - pulumi.set(__self__, "schedule_type", schedule_type) + RepositoryMirrorRepositoryConfigTriggerScheduleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + schedule_type=schedule_type, + custom_schedule=custom_schedule, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + schedule_type: pulumi.Input[str], + custom_schedule: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("schedule_type", schedule_type) if custom_schedule is not None: - pulumi.set(__self__, "custom_schedule", custom_schedule) + _setter("custom_schedule", custom_schedule) @property @pulumi.getter(name="scheduleType") @@ -4050,10 +5084,23 @@ def __init__(__self__, *, :param pulumi.Input[str] type: (Updatable) The type of action that will be taken. Allowed value is TRIGGER_BUILD_PIPELINE. :param pulumi.Input['TriggerActionFilterArgs'] filter: (Updatable) The filters for the trigger. """ - pulumi.set(__self__, "build_pipeline_id", build_pipeline_id) - pulumi.set(__self__, "type", type) + TriggerActionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + build_pipeline_id=build_pipeline_id, + type=type, + filter=filter, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + build_pipeline_id: pulumi.Input[str], + type: pulumi.Input[str], + filter: Optional[pulumi.Input['TriggerActionFilterArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("build_pipeline_id", build_pipeline_id) + _setter("type", type) if filter is not None: - pulumi.set(__self__, "filter", filter) + _setter("filter", filter) @property @pulumi.getter(name="buildPipelineId") @@ -4109,13 +5156,28 @@ def __init__(__self__, *, :param pulumi.Input['TriggerActionFilterExcludeArgs'] exclude: (Updatable) Attributes to filter GitLab self-hosted server events. File filter criteria - Changes only affecting excluded files will not invoke a build. if both include and exclude filter are used then exclusion filter will be applied on the result set of inclusion filter. :param pulumi.Input['TriggerActionFilterIncludeArgs'] include: (Updatable) Attributes to filter GitLab self-hosted server events. """ - pulumi.set(__self__, "trigger_source", trigger_source) + TriggerActionFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + trigger_source=trigger_source, + events=events, + exclude=exclude, + include=include, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + trigger_source: pulumi.Input[str], + events: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + exclude: Optional[pulumi.Input['TriggerActionFilterExcludeArgs']] = None, + include: Optional[pulumi.Input['TriggerActionFilterIncludeArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("trigger_source", trigger_source) if events is not None: - pulumi.set(__self__, "events", events) + _setter("events", events) if exclude is not None: - pulumi.set(__self__, "exclude", exclude) + _setter("exclude", exclude) if include is not None: - pulumi.set(__self__, "include", include) + _setter("include", include) @property @pulumi.getter(name="triggerSource") @@ -4177,8 +5239,17 @@ def __init__(__self__, *, """ :param pulumi.Input['TriggerActionFilterExcludeFileFilterArgs'] file_filter: (Updatable) Attributes to support include/exclude files for triggering build runs. """ + TriggerActionFilterExcludeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + file_filter=file_filter, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + file_filter: Optional[pulumi.Input['TriggerActionFilterExcludeFileFilterArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if file_filter is not None: - pulumi.set(__self__, "file_filter", file_filter) + _setter("file_filter", file_filter) @property @pulumi.getter(name="fileFilter") @@ -4200,8 +5271,17 @@ def __init__(__self__, *, """ :param pulumi.Input[Sequence[pulumi.Input[str]]] file_paths: (Updatable) The file paths/glob pattern for files. """ + TriggerActionFilterExcludeFileFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + file_paths=file_paths, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + file_paths: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if file_paths is not None: - pulumi.set(__self__, "file_paths", file_paths) + _setter("file_paths", file_paths) @property @pulumi.getter(name="filePaths") @@ -4229,14 +5309,29 @@ def __init__(__self__, *, :param pulumi.Input[str] head_ref: (Updatable) Branch for push event; source branch for pull requests. :param pulumi.Input[str] repository_name: (Updatable) The repository name for trigger events. """ + TriggerActionFilterIncludeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + base_ref=base_ref, + file_filter=file_filter, + head_ref=head_ref, + repository_name=repository_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + base_ref: Optional[pulumi.Input[str]] = None, + file_filter: Optional[pulumi.Input['TriggerActionFilterIncludeFileFilterArgs']] = None, + head_ref: Optional[pulumi.Input[str]] = None, + repository_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if base_ref is not None: - pulumi.set(__self__, "base_ref", base_ref) + _setter("base_ref", base_ref) if file_filter is not None: - pulumi.set(__self__, "file_filter", file_filter) + _setter("file_filter", file_filter) if head_ref is not None: - pulumi.set(__self__, "head_ref", head_ref) + _setter("head_ref", head_ref) if repository_name is not None: - pulumi.set(__self__, "repository_name", repository_name) + _setter("repository_name", repository_name) @property @pulumi.getter(name="baseRef") @@ -4294,8 +5389,17 @@ def __init__(__self__, *, """ :param pulumi.Input[Sequence[pulumi.Input[str]]] file_paths: (Updatable) The file paths/glob pattern for files. """ + TriggerActionFilterIncludeFileFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + file_paths=file_paths, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + file_paths: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if file_paths is not None: - pulumi.set(__self__, "file_paths", file_paths) + _setter("file_paths", file_paths) @property @pulumi.getter(name="filePaths") @@ -4319,10 +5423,23 @@ def __init__(__self__, *, """ :param str name: Name of the build source. This must be unique within a build source collection. The name can be used by customers to locate the working directory pertinent to this repository. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetBuildPipelineStagesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4364,10 +5481,23 @@ def __init__(__self__, *, """ :param str name: Name of the parameter (case-sensitive). Parameter name must be ^[a-zA-Z][a-zA-Z_0-9]*$. Example: 'Build_Pipeline_param' is not same as 'build_pipeline_Param' """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetBuildPipelinesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4409,10 +5539,23 @@ def __init__(__self__, *, """ :param str name: Name of the step. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetBuildRunsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4451,10 +5594,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetConnectionsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4490,10 +5646,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDeployArtifactsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4529,10 +5698,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDeployEnvironmentsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4571,10 +5753,23 @@ def __init__(__self__, *, """ :param str name: Name of the parameter (case-sensitive). Parameter name must be ^[a-zA-Z][a-zA-Z_0-9]*$. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDeployPipelinesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4616,10 +5811,23 @@ def __init__(__self__, *, """ :param str name: Name of the parameter (case-sensitive). """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDeployStagesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4661,10 +5869,23 @@ def __init__(__self__, *, """ :param str name: Name of the step. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDeploymentsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4706,10 +5927,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the entire name given. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetProjectsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4751,10 +5985,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the entire name given. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetRepositoriesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4793,10 +6040,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetRepositoryAuthorsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4832,10 +6092,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetRepositoryCommitsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4871,10 +6144,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetRepositoryDiffsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4910,10 +6196,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetRepositoryMirrorRecordsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4952,10 +6251,23 @@ def __init__(__self__, *, """ :param str name: Name of file or directory. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetRepositoryPathsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4994,10 +6306,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetRepositoryRefsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5033,10 +6358,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetTriggersFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/devops/build_pipeline.py b/sdk/python/pulumi_oci/devops/build_pipeline.py index 146d7f7b3f..4b61652eb1 100644 --- a/sdk/python/pulumi_oci/devops/build_pipeline.py +++ b/sdk/python/pulumi_oci/devops/build_pipeline.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -35,17 +35,36 @@ def __init__(__self__, *, :param pulumi.Input[str] display_name: (Updatable) Build pipeline display name. Avoid entering confidential information. :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` """ - pulumi.set(__self__, "project_id", project_id) + BuildPipelineArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + project_id=project_id, + build_pipeline_parameters=build_pipeline_parameters, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + project_id: pulumi.Input[str], + build_pipeline_parameters: Optional[pulumi.Input['BuildPipelineBuildPipelineParametersArgs']] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("project_id", project_id) if build_pipeline_parameters is not None: - pulumi.set(__self__, "build_pipeline_parameters", build_pipeline_parameters) + _setter("build_pipeline_parameters", build_pipeline_parameters) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="projectId") @@ -158,30 +177,61 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The time the build pipeline was created. Format defined by [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339). :param pulumi.Input[str] time_updated: The time the build pipeline was updated. Format defined by [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339). """ + _BuildPipelineState._configure( + lambda key, value: pulumi.set(__self__, key, value), + build_pipeline_parameters=build_pipeline_parameters, + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + project_id=project_id, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + build_pipeline_parameters: Optional[pulumi.Input['BuildPipelineBuildPipelineParametersArgs']] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + project_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if build_pipeline_parameters is not None: - pulumi.set(__self__, "build_pipeline_parameters", build_pipeline_parameters) + _setter("build_pipeline_parameters", build_pipeline_parameters) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if project_id is not None: - pulumi.set(__self__, "project_id", project_id) + _setter("project_id", project_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="buildPipelineParameters") @@ -449,6 +499,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + BuildPipelineArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -469,6 +523,11 @@ def _internal_init(__self__, raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = BuildPipelineArgs.__new__(BuildPipelineArgs) + if build_pipeline_parameters is not None and not isinstance(build_pipeline_parameters, BuildPipelineBuildPipelineParametersArgs): + build_pipeline_parameters = build_pipeline_parameters or {} + def _setter(key, value): + build_pipeline_parameters[key] = value + BuildPipelineBuildPipelineParametersArgs._configure(_setter, **build_pipeline_parameters) __props__.__dict__["build_pipeline_parameters"] = build_pipeline_parameters __props__.__dict__["defined_tags"] = defined_tags __props__.__dict__["description"] = description diff --git a/sdk/python/pulumi_oci/devops/build_pipeline_stage.py b/sdk/python/pulumi_oci/devops/build_pipeline_stage.py index b5dd635c41..81e420520b 100644 --- a/sdk/python/pulumi_oci/devops/build_pipeline_stage.py +++ b/sdk/python/pulumi_oci/devops/build_pipeline_stage.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -55,39 +55,82 @@ def __init__(__self__, *, :param pulumi.Input[int] stage_execution_timeout_in_seconds: (Updatable) Timeout for the build stage execution. Specify value in seconds. :param pulumi.Input['BuildPipelineStageWaitCriteriaArgs'] wait_criteria: (Updatable) Specifies wait criteria for the Wait stage. """ - pulumi.set(__self__, "build_pipeline_id", build_pipeline_id) - pulumi.set(__self__, "build_pipeline_stage_predecessor_collection", build_pipeline_stage_predecessor_collection) - pulumi.set(__self__, "build_pipeline_stage_type", build_pipeline_stage_type) + BuildPipelineStageArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + build_pipeline_id=build_pipeline_id, + build_pipeline_stage_predecessor_collection=build_pipeline_stage_predecessor_collection, + build_pipeline_stage_type=build_pipeline_stage_type, + build_runner_shape_config=build_runner_shape_config, + build_source_collection=build_source_collection, + build_spec_file=build_spec_file, + defined_tags=defined_tags, + deliver_artifact_collection=deliver_artifact_collection, + deploy_pipeline_id=deploy_pipeline_id, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + image=image, + is_pass_all_parameters_enabled=is_pass_all_parameters_enabled, + primary_build_source=primary_build_source, + private_access_config=private_access_config, + stage_execution_timeout_in_seconds=stage_execution_timeout_in_seconds, + wait_criteria=wait_criteria, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + build_pipeline_id: pulumi.Input[str], + build_pipeline_stage_predecessor_collection: pulumi.Input['BuildPipelineStageBuildPipelineStagePredecessorCollectionArgs'], + build_pipeline_stage_type: pulumi.Input[str], + build_runner_shape_config: Optional[pulumi.Input['BuildPipelineStageBuildRunnerShapeConfigArgs']] = None, + build_source_collection: Optional[pulumi.Input['BuildPipelineStageBuildSourceCollectionArgs']] = None, + build_spec_file: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + deliver_artifact_collection: Optional[pulumi.Input['BuildPipelineStageDeliverArtifactCollectionArgs']] = None, + deploy_pipeline_id: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + image: Optional[pulumi.Input[str]] = None, + is_pass_all_parameters_enabled: Optional[pulumi.Input[bool]] = None, + primary_build_source: Optional[pulumi.Input[str]] = None, + private_access_config: Optional[pulumi.Input['BuildPipelineStagePrivateAccessConfigArgs']] = None, + stage_execution_timeout_in_seconds: Optional[pulumi.Input[int]] = None, + wait_criteria: Optional[pulumi.Input['BuildPipelineStageWaitCriteriaArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("build_pipeline_id", build_pipeline_id) + _setter("build_pipeline_stage_predecessor_collection", build_pipeline_stage_predecessor_collection) + _setter("build_pipeline_stage_type", build_pipeline_stage_type) if build_runner_shape_config is not None: - pulumi.set(__self__, "build_runner_shape_config", build_runner_shape_config) + _setter("build_runner_shape_config", build_runner_shape_config) if build_source_collection is not None: - pulumi.set(__self__, "build_source_collection", build_source_collection) + _setter("build_source_collection", build_source_collection) if build_spec_file is not None: - pulumi.set(__self__, "build_spec_file", build_spec_file) + _setter("build_spec_file", build_spec_file) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if deliver_artifact_collection is not None: - pulumi.set(__self__, "deliver_artifact_collection", deliver_artifact_collection) + _setter("deliver_artifact_collection", deliver_artifact_collection) if deploy_pipeline_id is not None: - pulumi.set(__self__, "deploy_pipeline_id", deploy_pipeline_id) + _setter("deploy_pipeline_id", deploy_pipeline_id) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if image is not None: - pulumi.set(__self__, "image", image) + _setter("image", image) if is_pass_all_parameters_enabled is not None: - pulumi.set(__self__, "is_pass_all_parameters_enabled", is_pass_all_parameters_enabled) + _setter("is_pass_all_parameters_enabled", is_pass_all_parameters_enabled) if primary_build_source is not None: - pulumi.set(__self__, "primary_build_source", primary_build_source) + _setter("primary_build_source", primary_build_source) if private_access_config is not None: - pulumi.set(__self__, "private_access_config", private_access_config) + _setter("private_access_config", private_access_config) if stage_execution_timeout_in_seconds is not None: - pulumi.set(__self__, "stage_execution_timeout_in_seconds", stage_execution_timeout_in_seconds) + _setter("stage_execution_timeout_in_seconds", stage_execution_timeout_in_seconds) if wait_criteria is not None: - pulumi.set(__self__, "wait_criteria", wait_criteria) + _setter("wait_criteria", wait_criteria) @property @pulumi.getter(name="buildPipelineId") @@ -362,56 +405,113 @@ def __init__(__self__, *, :param pulumi.Input[str] time_updated: The time the stage was updated. Format defined by [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339). :param pulumi.Input['BuildPipelineStageWaitCriteriaArgs'] wait_criteria: (Updatable) Specifies wait criteria for the Wait stage. """ + _BuildPipelineStageState._configure( + lambda key, value: pulumi.set(__self__, key, value), + build_pipeline_id=build_pipeline_id, + build_pipeline_stage_predecessor_collection=build_pipeline_stage_predecessor_collection, + build_pipeline_stage_type=build_pipeline_stage_type, + build_runner_shape_config=build_runner_shape_config, + build_source_collection=build_source_collection, + build_spec_file=build_spec_file, + compartment_id=compartment_id, + defined_tags=defined_tags, + deliver_artifact_collection=deliver_artifact_collection, + deploy_pipeline_id=deploy_pipeline_id, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + image=image, + is_pass_all_parameters_enabled=is_pass_all_parameters_enabled, + lifecycle_details=lifecycle_details, + primary_build_source=primary_build_source, + private_access_config=private_access_config, + project_id=project_id, + stage_execution_timeout_in_seconds=stage_execution_timeout_in_seconds, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + wait_criteria=wait_criteria, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + build_pipeline_id: Optional[pulumi.Input[str]] = None, + build_pipeline_stage_predecessor_collection: Optional[pulumi.Input['BuildPipelineStageBuildPipelineStagePredecessorCollectionArgs']] = None, + build_pipeline_stage_type: Optional[pulumi.Input[str]] = None, + build_runner_shape_config: Optional[pulumi.Input['BuildPipelineStageBuildRunnerShapeConfigArgs']] = None, + build_source_collection: Optional[pulumi.Input['BuildPipelineStageBuildSourceCollectionArgs']] = None, + build_spec_file: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + deliver_artifact_collection: Optional[pulumi.Input['BuildPipelineStageDeliverArtifactCollectionArgs']] = None, + deploy_pipeline_id: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + image: Optional[pulumi.Input[str]] = None, + is_pass_all_parameters_enabled: Optional[pulumi.Input[bool]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + primary_build_source: Optional[pulumi.Input[str]] = None, + private_access_config: Optional[pulumi.Input['BuildPipelineStagePrivateAccessConfigArgs']] = None, + project_id: Optional[pulumi.Input[str]] = None, + stage_execution_timeout_in_seconds: Optional[pulumi.Input[int]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + wait_criteria: Optional[pulumi.Input['BuildPipelineStageWaitCriteriaArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if build_pipeline_id is not None: - pulumi.set(__self__, "build_pipeline_id", build_pipeline_id) + _setter("build_pipeline_id", build_pipeline_id) if build_pipeline_stage_predecessor_collection is not None: - pulumi.set(__self__, "build_pipeline_stage_predecessor_collection", build_pipeline_stage_predecessor_collection) + _setter("build_pipeline_stage_predecessor_collection", build_pipeline_stage_predecessor_collection) if build_pipeline_stage_type is not None: - pulumi.set(__self__, "build_pipeline_stage_type", build_pipeline_stage_type) + _setter("build_pipeline_stage_type", build_pipeline_stage_type) if build_runner_shape_config is not None: - pulumi.set(__self__, "build_runner_shape_config", build_runner_shape_config) + _setter("build_runner_shape_config", build_runner_shape_config) if build_source_collection is not None: - pulumi.set(__self__, "build_source_collection", build_source_collection) + _setter("build_source_collection", build_source_collection) if build_spec_file is not None: - pulumi.set(__self__, "build_spec_file", build_spec_file) + _setter("build_spec_file", build_spec_file) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if deliver_artifact_collection is not None: - pulumi.set(__self__, "deliver_artifact_collection", deliver_artifact_collection) + _setter("deliver_artifact_collection", deliver_artifact_collection) if deploy_pipeline_id is not None: - pulumi.set(__self__, "deploy_pipeline_id", deploy_pipeline_id) + _setter("deploy_pipeline_id", deploy_pipeline_id) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if image is not None: - pulumi.set(__self__, "image", image) + _setter("image", image) if is_pass_all_parameters_enabled is not None: - pulumi.set(__self__, "is_pass_all_parameters_enabled", is_pass_all_parameters_enabled) + _setter("is_pass_all_parameters_enabled", is_pass_all_parameters_enabled) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if primary_build_source is not None: - pulumi.set(__self__, "primary_build_source", primary_build_source) + _setter("primary_build_source", primary_build_source) if private_access_config is not None: - pulumi.set(__self__, "private_access_config", private_access_config) + _setter("private_access_config", private_access_config) if project_id is not None: - pulumi.set(__self__, "project_id", project_id) + _setter("project_id", project_id) if stage_execution_timeout_in_seconds is not None: - pulumi.set(__self__, "stage_execution_timeout_in_seconds", stage_execution_timeout_in_seconds) + _setter("stage_execution_timeout_in_seconds", stage_execution_timeout_in_seconds) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if wait_criteria is not None: - pulumi.set(__self__, "wait_criteria", wait_criteria) + _setter("wait_criteria", wait_criteria) @property @pulumi.getter(name="buildPipelineId") @@ -921,6 +1021,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + BuildPipelineStageArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -956,16 +1060,36 @@ def _internal_init(__self__, if build_pipeline_id is None and not opts.urn: raise TypeError("Missing required property 'build_pipeline_id'") __props__.__dict__["build_pipeline_id"] = build_pipeline_id + if build_pipeline_stage_predecessor_collection is not None and not isinstance(build_pipeline_stage_predecessor_collection, BuildPipelineStageBuildPipelineStagePredecessorCollectionArgs): + build_pipeline_stage_predecessor_collection = build_pipeline_stage_predecessor_collection or {} + def _setter(key, value): + build_pipeline_stage_predecessor_collection[key] = value + BuildPipelineStageBuildPipelineStagePredecessorCollectionArgs._configure(_setter, **build_pipeline_stage_predecessor_collection) if build_pipeline_stage_predecessor_collection is None and not opts.urn: raise TypeError("Missing required property 'build_pipeline_stage_predecessor_collection'") __props__.__dict__["build_pipeline_stage_predecessor_collection"] = build_pipeline_stage_predecessor_collection if build_pipeline_stage_type is None and not opts.urn: raise TypeError("Missing required property 'build_pipeline_stage_type'") __props__.__dict__["build_pipeline_stage_type"] = build_pipeline_stage_type + if build_runner_shape_config is not None and not isinstance(build_runner_shape_config, BuildPipelineStageBuildRunnerShapeConfigArgs): + build_runner_shape_config = build_runner_shape_config or {} + def _setter(key, value): + build_runner_shape_config[key] = value + BuildPipelineStageBuildRunnerShapeConfigArgs._configure(_setter, **build_runner_shape_config) __props__.__dict__["build_runner_shape_config"] = build_runner_shape_config + if build_source_collection is not None and not isinstance(build_source_collection, BuildPipelineStageBuildSourceCollectionArgs): + build_source_collection = build_source_collection or {} + def _setter(key, value): + build_source_collection[key] = value + BuildPipelineStageBuildSourceCollectionArgs._configure(_setter, **build_source_collection) __props__.__dict__["build_source_collection"] = build_source_collection __props__.__dict__["build_spec_file"] = build_spec_file __props__.__dict__["defined_tags"] = defined_tags + if deliver_artifact_collection is not None and not isinstance(deliver_artifact_collection, BuildPipelineStageDeliverArtifactCollectionArgs): + deliver_artifact_collection = deliver_artifact_collection or {} + def _setter(key, value): + deliver_artifact_collection[key] = value + BuildPipelineStageDeliverArtifactCollectionArgs._configure(_setter, **deliver_artifact_collection) __props__.__dict__["deliver_artifact_collection"] = deliver_artifact_collection __props__.__dict__["deploy_pipeline_id"] = deploy_pipeline_id __props__.__dict__["description"] = description @@ -974,8 +1098,18 @@ def _internal_init(__self__, __props__.__dict__["image"] = image __props__.__dict__["is_pass_all_parameters_enabled"] = is_pass_all_parameters_enabled __props__.__dict__["primary_build_source"] = primary_build_source + if private_access_config is not None and not isinstance(private_access_config, BuildPipelineStagePrivateAccessConfigArgs): + private_access_config = private_access_config or {} + def _setter(key, value): + private_access_config[key] = value + BuildPipelineStagePrivateAccessConfigArgs._configure(_setter, **private_access_config) __props__.__dict__["private_access_config"] = private_access_config __props__.__dict__["stage_execution_timeout_in_seconds"] = stage_execution_timeout_in_seconds + if wait_criteria is not None and not isinstance(wait_criteria, BuildPipelineStageWaitCriteriaArgs): + wait_criteria = wait_criteria or {} + def _setter(key, value): + wait_criteria[key] = value + BuildPipelineStageWaitCriteriaArgs._configure(_setter, **wait_criteria) __props__.__dict__["wait_criteria"] = wait_criteria __props__.__dict__["compartment_id"] = None __props__.__dict__["lifecycle_details"] = None diff --git a/sdk/python/pulumi_oci/devops/build_run.py b/sdk/python/pulumi_oci/devops/build_run.py index bced55ea2e..32e5547ee2 100644 --- a/sdk/python/pulumi_oci/devops/build_run.py +++ b/sdk/python/pulumi_oci/devops/build_run.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -35,17 +35,36 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "build_pipeline_id", build_pipeline_id) + BuildRunArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + build_pipeline_id=build_pipeline_id, + build_run_arguments=build_run_arguments, + commit_info=commit_info, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + build_pipeline_id: pulumi.Input[str], + build_run_arguments: Optional[pulumi.Input['BuildRunBuildRunArgumentsArgs']] = None, + commit_info: Optional[pulumi.Input['BuildRunCommitInfoArgs']] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("build_pipeline_id", build_pipeline_id) if build_run_arguments is not None: - pulumi.set(__self__, "build_run_arguments", build_run_arguments) + _setter("build_run_arguments", build_run_arguments) if commit_info is not None: - pulumi.set(__self__, "commit_info", commit_info) + _setter("commit_info", commit_info) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="buildPipelineId") @@ -166,38 +185,77 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The time the build run was created. Format defined by [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339). :param pulumi.Input[str] time_updated: The time the build run was updated. Format defined by [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339). """ + _BuildRunState._configure( + lambda key, value: pulumi.set(__self__, key, value), + build_outputs=build_outputs, + build_pipeline_id=build_pipeline_id, + build_run_arguments=build_run_arguments, + build_run_progresses=build_run_progresses, + build_run_sources=build_run_sources, + commit_info=commit_info, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + project_id=project_id, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + build_outputs: Optional[pulumi.Input[Sequence[pulumi.Input['BuildRunBuildOutputArgs']]]] = None, + build_pipeline_id: Optional[pulumi.Input[str]] = None, + build_run_arguments: Optional[pulumi.Input['BuildRunBuildRunArgumentsArgs']] = None, + build_run_progresses: Optional[pulumi.Input[Sequence[pulumi.Input['BuildRunBuildRunProgressArgs']]]] = None, + build_run_sources: Optional[pulumi.Input[Sequence[pulumi.Input['BuildRunBuildRunSourceArgs']]]] = None, + commit_info: Optional[pulumi.Input['BuildRunCommitInfoArgs']] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + project_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if build_outputs is not None: - pulumi.set(__self__, "build_outputs", build_outputs) + _setter("build_outputs", build_outputs) if build_pipeline_id is not None: - pulumi.set(__self__, "build_pipeline_id", build_pipeline_id) + _setter("build_pipeline_id", build_pipeline_id) if build_run_arguments is not None: - pulumi.set(__self__, "build_run_arguments", build_run_arguments) + _setter("build_run_arguments", build_run_arguments) if build_run_progresses is not None: - pulumi.set(__self__, "build_run_progresses", build_run_progresses) + _setter("build_run_progresses", build_run_progresses) if build_run_sources is not None: - pulumi.set(__self__, "build_run_sources", build_run_sources) + _setter("build_run_sources", build_run_sources) if commit_info is not None: - pulumi.set(__self__, "commit_info", commit_info) + _setter("commit_info", commit_info) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if project_id is not None: - pulumi.set(__self__, "project_id", project_id) + _setter("project_id", project_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="buildOutputs") @@ -519,6 +577,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + BuildRunArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -542,7 +604,17 @@ def _internal_init(__self__, if build_pipeline_id is None and not opts.urn: raise TypeError("Missing required property 'build_pipeline_id'") __props__.__dict__["build_pipeline_id"] = build_pipeline_id + if build_run_arguments is not None and not isinstance(build_run_arguments, BuildRunBuildRunArgumentsArgs): + build_run_arguments = build_run_arguments or {} + def _setter(key, value): + build_run_arguments[key] = value + BuildRunBuildRunArgumentsArgs._configure(_setter, **build_run_arguments) __props__.__dict__["build_run_arguments"] = build_run_arguments + if commit_info is not None and not isinstance(commit_info, BuildRunCommitInfoArgs): + commit_info = commit_info or {} + def _setter(key, value): + commit_info[key] = value + BuildRunCommitInfoArgs._configure(_setter, **commit_info) __props__.__dict__["commit_info"] = commit_info __props__.__dict__["defined_tags"] = defined_tags __props__.__dict__["display_name"] = display_name diff --git a/sdk/python/pulumi_oci/devops/connection.py b/sdk/python/pulumi_oci/devops/connection.py index 00fedd8b1e..1ed87dcfdc 100644 --- a/sdk/python/pulumi_oci/devops/connection.py +++ b/sdk/python/pulumi_oci/devops/connection.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -45,26 +45,55 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "connection_type", connection_type) - pulumi.set(__self__, "project_id", project_id) + ConnectionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + connection_type=connection_type, + project_id=project_id, + access_token=access_token, + app_password=app_password, + base_url=base_url, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + tls_verify_config=tls_verify_config, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + connection_type: pulumi.Input[str], + project_id: pulumi.Input[str], + access_token: Optional[pulumi.Input[str]] = None, + app_password: Optional[pulumi.Input[str]] = None, + base_url: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + tls_verify_config: Optional[pulumi.Input['ConnectionTlsVerifyConfigArgs']] = None, + username: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("connection_type", connection_type) + _setter("project_id", project_id) if access_token is not None: - pulumi.set(__self__, "access_token", access_token) + _setter("access_token", access_token) if app_password is not None: - pulumi.set(__self__, "app_password", app_password) + _setter("app_password", app_password) if base_url is not None: - pulumi.set(__self__, "base_url", base_url) + _setter("base_url", base_url) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if tls_verify_config is not None: - pulumi.set(__self__, "tls_verify_config", tls_verify_config) + _setter("tls_verify_config", tls_verify_config) if username is not None: - pulumi.set(__self__, "username", username) + _setter("username", username) @property @pulumi.getter(name="connectionType") @@ -247,40 +276,81 @@ def __init__(__self__, *, ** 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 """ + _ConnectionState._configure( + lambda key, value: pulumi.set(__self__, key, value), + access_token=access_token, + app_password=app_password, + base_url=base_url, + compartment_id=compartment_id, + connection_type=connection_type, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + last_connection_validation_results=last_connection_validation_results, + project_id=project_id, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + tls_verify_config=tls_verify_config, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access_token: Optional[pulumi.Input[str]] = None, + app_password: Optional[pulumi.Input[str]] = None, + base_url: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + connection_type: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + last_connection_validation_results: Optional[pulumi.Input[Sequence[pulumi.Input['ConnectionLastConnectionValidationResultArgs']]]] = None, + project_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + tls_verify_config: Optional[pulumi.Input['ConnectionTlsVerifyConfigArgs']] = None, + username: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if access_token is not None: - pulumi.set(__self__, "access_token", access_token) + _setter("access_token", access_token) if app_password is not None: - pulumi.set(__self__, "app_password", app_password) + _setter("app_password", app_password) if base_url is not None: - pulumi.set(__self__, "base_url", base_url) + _setter("base_url", base_url) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if connection_type is not None: - pulumi.set(__self__, "connection_type", connection_type) + _setter("connection_type", connection_type) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if last_connection_validation_results is not None: - pulumi.set(__self__, "last_connection_validation_results", last_connection_validation_results) + _setter("last_connection_validation_results", last_connection_validation_results) if project_id is not None: - pulumi.set(__self__, "project_id", project_id) + _setter("project_id", project_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if tls_verify_config is not None: - pulumi.set(__self__, "tls_verify_config", tls_verify_config) + _setter("tls_verify_config", tls_verify_config) if username is not None: - pulumi.set(__self__, "username", username) + _setter("username", username) @property @pulumi.getter(name="accessToken") @@ -622,6 +692,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ConnectionArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -660,6 +734,11 @@ def _internal_init(__self__, if project_id is None and not opts.urn: raise TypeError("Missing required property 'project_id'") __props__.__dict__["project_id"] = project_id + if tls_verify_config is not None and not isinstance(tls_verify_config, ConnectionTlsVerifyConfigArgs): + tls_verify_config = tls_verify_config or {} + def _setter(key, value): + tls_verify_config[key] = value + ConnectionTlsVerifyConfigArgs._configure(_setter, **tls_verify_config) __props__.__dict__["tls_verify_config"] = tls_verify_config __props__.__dict__["username"] = username __props__.__dict__["compartment_id"] = None diff --git a/sdk/python/pulumi_oci/devops/deploy_artifact.py b/sdk/python/pulumi_oci/devops/deploy_artifact.py index 417071b6ae..ba7b1bcb02 100644 --- a/sdk/python/pulumi_oci/devops/deploy_artifact.py +++ b/sdk/python/pulumi_oci/devops/deploy_artifact.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -39,18 +39,41 @@ def __init__(__self__, *, :param pulumi.Input[str] display_name: (Updatable) Deployment artifact display name. Avoid entering confidential information. :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` """ - pulumi.set(__self__, "argument_substitution_mode", argument_substitution_mode) - pulumi.set(__self__, "deploy_artifact_source", deploy_artifact_source) - pulumi.set(__self__, "deploy_artifact_type", deploy_artifact_type) - pulumi.set(__self__, "project_id", project_id) + DeployArtifactArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + argument_substitution_mode=argument_substitution_mode, + deploy_artifact_source=deploy_artifact_source, + deploy_artifact_type=deploy_artifact_type, + project_id=project_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + argument_substitution_mode: pulumi.Input[str], + deploy_artifact_source: pulumi.Input['DeployArtifactDeployArtifactSourceArgs'], + deploy_artifact_type: pulumi.Input[str], + project_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("argument_substitution_mode", argument_substitution_mode) + _setter("deploy_artifact_source", deploy_artifact_source) + _setter("deploy_artifact_type", deploy_artifact_type) + _setter("project_id", project_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="argumentSubstitutionMode") @@ -191,34 +214,69 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: Time the deployment artifact was created. Format defined by [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339). :param pulumi.Input[str] time_updated: Time the deployment artifact was updated. Format defined by [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339). """ + _DeployArtifactState._configure( + lambda key, value: pulumi.set(__self__, key, value), + argument_substitution_mode=argument_substitution_mode, + compartment_id=compartment_id, + defined_tags=defined_tags, + deploy_artifact_source=deploy_artifact_source, + deploy_artifact_type=deploy_artifact_type, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + project_id=project_id, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + argument_substitution_mode: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + deploy_artifact_source: Optional[pulumi.Input['DeployArtifactDeployArtifactSourceArgs']] = None, + deploy_artifact_type: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + project_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if argument_substitution_mode is not None: - pulumi.set(__self__, "argument_substitution_mode", argument_substitution_mode) + _setter("argument_substitution_mode", argument_substitution_mode) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if deploy_artifact_source is not None: - pulumi.set(__self__, "deploy_artifact_source", deploy_artifact_source) + _setter("deploy_artifact_source", deploy_artifact_source) if deploy_artifact_type is not None: - pulumi.set(__self__, "deploy_artifact_type", deploy_artifact_type) + _setter("deploy_artifact_type", deploy_artifact_type) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if project_id is not None: - pulumi.set(__self__, "project_id", project_id) + _setter("project_id", project_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="argumentSubstitutionMode") @@ -536,6 +594,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DeployArtifactArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -562,6 +624,11 @@ def _internal_init(__self__, raise TypeError("Missing required property 'argument_substitution_mode'") __props__.__dict__["argument_substitution_mode"] = argument_substitution_mode __props__.__dict__["defined_tags"] = defined_tags + if deploy_artifact_source is not None and not isinstance(deploy_artifact_source, DeployArtifactDeployArtifactSourceArgs): + deploy_artifact_source = deploy_artifact_source or {} + def _setter(key, value): + deploy_artifact_source[key] = value + DeployArtifactDeployArtifactSourceArgs._configure(_setter, **deploy_artifact_source) if deploy_artifact_source is None and not opts.urn: raise TypeError("Missing required property 'deploy_artifact_source'") __props__.__dict__["deploy_artifact_source"] = deploy_artifact_source diff --git a/sdk/python/pulumi_oci/devops/deploy_environment.py b/sdk/python/pulumi_oci/devops/deploy_environment.py index 9f911bc9f0..0ae5132881 100644 --- a/sdk/python/pulumi_oci/devops/deploy_environment.py +++ b/sdk/python/pulumi_oci/devops/deploy_environment.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -43,24 +43,51 @@ def __init__(__self__, *, :param pulumi.Input[str] function_id: (Updatable) The OCID of the Function. :param pulumi.Input['DeployEnvironmentNetworkChannelArgs'] network_channel: (Updatable) Specifies the configuration needed when the target Oracle Cloud Infrastructure resource, i.e., OKE cluster, resides in customer's private network. """ - pulumi.set(__self__, "deploy_environment_type", deploy_environment_type) - pulumi.set(__self__, "project_id", project_id) + DeployEnvironmentArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + deploy_environment_type=deploy_environment_type, + project_id=project_id, + cluster_id=cluster_id, + compute_instance_group_selectors=compute_instance_group_selectors, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + function_id=function_id, + network_channel=network_channel, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deploy_environment_type: pulumi.Input[str], + project_id: pulumi.Input[str], + cluster_id: Optional[pulumi.Input[str]] = None, + compute_instance_group_selectors: Optional[pulumi.Input['DeployEnvironmentComputeInstanceGroupSelectorsArgs']] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + function_id: Optional[pulumi.Input[str]] = None, + network_channel: Optional[pulumi.Input['DeployEnvironmentNetworkChannelArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("deploy_environment_type", deploy_environment_type) + _setter("project_id", project_id) if cluster_id is not None: - pulumi.set(__self__, "cluster_id", cluster_id) + _setter("cluster_id", cluster_id) if compute_instance_group_selectors is not None: - pulumi.set(__self__, "compute_instance_group_selectors", compute_instance_group_selectors) + _setter("compute_instance_group_selectors", compute_instance_group_selectors) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if function_id is not None: - pulumi.set(__self__, "function_id", function_id) + _setter("function_id", function_id) if network_channel is not None: - pulumi.set(__self__, "network_channel", network_channel) + _setter("network_channel", network_channel) @property @pulumi.getter(name="deployEnvironmentType") @@ -229,38 +256,77 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: Time the deployment environment was created. Format defined by [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339). :param pulumi.Input[str] time_updated: Time the deployment environment was updated. Format defined by [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339). """ + _DeployEnvironmentState._configure( + lambda key, value: pulumi.set(__self__, key, value), + cluster_id=cluster_id, + compartment_id=compartment_id, + compute_instance_group_selectors=compute_instance_group_selectors, + defined_tags=defined_tags, + deploy_environment_type=deploy_environment_type, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + function_id=function_id, + lifecycle_details=lifecycle_details, + network_channel=network_channel, + project_id=project_id, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cluster_id: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + compute_instance_group_selectors: Optional[pulumi.Input['DeployEnvironmentComputeInstanceGroupSelectorsArgs']] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + deploy_environment_type: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + function_id: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + network_channel: Optional[pulumi.Input['DeployEnvironmentNetworkChannelArgs']] = None, + project_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if cluster_id is not None: - pulumi.set(__self__, "cluster_id", cluster_id) + _setter("cluster_id", cluster_id) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if compute_instance_group_selectors is not None: - pulumi.set(__self__, "compute_instance_group_selectors", compute_instance_group_selectors) + _setter("compute_instance_group_selectors", compute_instance_group_selectors) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if deploy_environment_type is not None: - pulumi.set(__self__, "deploy_environment_type", deploy_environment_type) + _setter("deploy_environment_type", deploy_environment_type) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if function_id is not None: - pulumi.set(__self__, "function_id", function_id) + _setter("function_id", function_id) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if network_channel is not None: - pulumi.set(__self__, "network_channel", network_channel) + _setter("network_channel", network_channel) if project_id is not None: - pulumi.set(__self__, "project_id", project_id) + _setter("project_id", project_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="clusterId") @@ -602,6 +668,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DeployEnvironmentArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -627,6 +697,11 @@ def _internal_init(__self__, __props__ = DeployEnvironmentArgs.__new__(DeployEnvironmentArgs) __props__.__dict__["cluster_id"] = cluster_id + if compute_instance_group_selectors is not None and not isinstance(compute_instance_group_selectors, DeployEnvironmentComputeInstanceGroupSelectorsArgs): + compute_instance_group_selectors = compute_instance_group_selectors or {} + def _setter(key, value): + compute_instance_group_selectors[key] = value + DeployEnvironmentComputeInstanceGroupSelectorsArgs._configure(_setter, **compute_instance_group_selectors) __props__.__dict__["compute_instance_group_selectors"] = compute_instance_group_selectors __props__.__dict__["defined_tags"] = defined_tags if deploy_environment_type is None and not opts.urn: @@ -636,6 +711,11 @@ def _internal_init(__self__, __props__.__dict__["display_name"] = display_name __props__.__dict__["freeform_tags"] = freeform_tags __props__.__dict__["function_id"] = function_id + if network_channel is not None and not isinstance(network_channel, DeployEnvironmentNetworkChannelArgs): + network_channel = network_channel or {} + def _setter(key, value): + network_channel[key] = value + DeployEnvironmentNetworkChannelArgs._configure(_setter, **network_channel) __props__.__dict__["network_channel"] = network_channel if project_id is None and not opts.urn: raise TypeError("Missing required property 'project_id'") diff --git a/sdk/python/pulumi_oci/devops/deploy_pipeline.py b/sdk/python/pulumi_oci/devops/deploy_pipeline.py index a0a92af6b2..5999b16bfc 100644 --- a/sdk/python/pulumi_oci/devops/deploy_pipeline.py +++ b/sdk/python/pulumi_oci/devops/deploy_pipeline.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -35,17 +35,36 @@ def __init__(__self__, *, :param pulumi.Input[str] display_name: (Updatable) Deployment pipeline display name. Avoid entering confidential information. :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` """ - pulumi.set(__self__, "project_id", project_id) + DeployPipelineArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + project_id=project_id, + defined_tags=defined_tags, + deploy_pipeline_parameters=deploy_pipeline_parameters, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + project_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + deploy_pipeline_parameters: Optional[pulumi.Input['DeployPipelineDeployPipelineParametersArgs']] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("project_id", project_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if deploy_pipeline_parameters is not None: - pulumi.set(__self__, "deploy_pipeline_parameters", deploy_pipeline_parameters) + _setter("deploy_pipeline_parameters", deploy_pipeline_parameters) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="projectId") @@ -162,34 +181,69 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: Time the deployment pipeline was created. Format defined by [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339). :param pulumi.Input[str] time_updated: Time the deployment pipeline was updated. Format defined by [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339). """ + _DeployPipelineState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + deploy_pipeline_artifacts=deploy_pipeline_artifacts, + deploy_pipeline_environments=deploy_pipeline_environments, + deploy_pipeline_parameters=deploy_pipeline_parameters, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + project_id=project_id, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + deploy_pipeline_artifacts: Optional[pulumi.Input[Sequence[pulumi.Input['DeployPipelineDeployPipelineArtifactArgs']]]] = None, + deploy_pipeline_environments: Optional[pulumi.Input[Sequence[pulumi.Input['DeployPipelineDeployPipelineEnvironmentArgs']]]] = None, + deploy_pipeline_parameters: Optional[pulumi.Input['DeployPipelineDeployPipelineParametersArgs']] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + project_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if deploy_pipeline_artifacts is not None: - pulumi.set(__self__, "deploy_pipeline_artifacts", deploy_pipeline_artifacts) + _setter("deploy_pipeline_artifacts", deploy_pipeline_artifacts) if deploy_pipeline_environments is not None: - pulumi.set(__self__, "deploy_pipeline_environments", deploy_pipeline_environments) + _setter("deploy_pipeline_environments", deploy_pipeline_environments) if deploy_pipeline_parameters is not None: - pulumi.set(__self__, "deploy_pipeline_parameters", deploy_pipeline_parameters) + _setter("deploy_pipeline_parameters", deploy_pipeline_parameters) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if project_id is not None: - pulumi.set(__self__, "project_id", project_id) + _setter("project_id", project_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -481,6 +535,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DeployPipelineArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -502,6 +560,11 @@ def _internal_init(__self__, __props__ = DeployPipelineArgs.__new__(DeployPipelineArgs) __props__.__dict__["defined_tags"] = defined_tags + if deploy_pipeline_parameters is not None and not isinstance(deploy_pipeline_parameters, DeployPipelineDeployPipelineParametersArgs): + deploy_pipeline_parameters = deploy_pipeline_parameters or {} + def _setter(key, value): + deploy_pipeline_parameters[key] = value + DeployPipelineDeployPipelineParametersArgs._configure(_setter, **deploy_pipeline_parameters) __props__.__dict__["deploy_pipeline_parameters"] = deploy_pipeline_parameters __props__.__dict__["description"] = description __props__.__dict__["display_name"] = display_name diff --git a/sdk/python/pulumi_oci/devops/deploy_stage.py b/sdk/python/pulumi_oci/devops/deploy_stage.py index 6b4a53f750..707a27f7e4 100644 --- a/sdk/python/pulumi_oci/devops/deploy_stage.py +++ b/sdk/python/pulumi_oci/devops/deploy_stage.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -139,123 +139,250 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] values_artifact_ids: (Updatable) List of values.yaml file artifact OCIDs. :param pulumi.Input['DeployStageWaitCriteriaArgs'] wait_criteria: (Updatable) Specifies wait criteria for the Wait stage. """ - pulumi.set(__self__, "deploy_pipeline_id", deploy_pipeline_id) - pulumi.set(__self__, "deploy_stage_predecessor_collection", deploy_stage_predecessor_collection) - pulumi.set(__self__, "deploy_stage_type", deploy_stage_type) + DeployStageArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + deploy_pipeline_id=deploy_pipeline_id, + deploy_stage_predecessor_collection=deploy_stage_predecessor_collection, + deploy_stage_type=deploy_stage_type, + approval_policy=approval_policy, + are_hooks_enabled=are_hooks_enabled, + blue_backend_ips=blue_backend_ips, + blue_green_strategy=blue_green_strategy, + canary_strategy=canary_strategy, + command_spec_deploy_artifact_id=command_spec_deploy_artifact_id, + compute_instance_group_blue_green_deployment_deploy_stage_id=compute_instance_group_blue_green_deployment_deploy_stage_id, + compute_instance_group_canary_deploy_stage_id=compute_instance_group_canary_deploy_stage_id, + compute_instance_group_canary_traffic_shift_deploy_stage_id=compute_instance_group_canary_traffic_shift_deploy_stage_id, + compute_instance_group_deploy_environment_id=compute_instance_group_deploy_environment_id, + config=config, + container_config=container_config, + defined_tags=defined_tags, + deploy_artifact_id=deploy_artifact_id, + deploy_artifact_ids=deploy_artifact_ids, + deploy_environment_id_a=deploy_environment_id_a, + deploy_environment_id_b=deploy_environment_id_b, + deployment_spec_deploy_artifact_id=deployment_spec_deploy_artifact_id, + description=description, + display_name=display_name, + docker_image_deploy_artifact_id=docker_image_deploy_artifact_id, + failure_policy=failure_policy, + freeform_tags=freeform_tags, + function_deploy_environment_id=function_deploy_environment_id, + function_timeout_in_seconds=function_timeout_in_seconds, + green_backend_ips=green_backend_ips, + helm_chart_deploy_artifact_id=helm_chart_deploy_artifact_id, + is_async=is_async, + is_debug_enabled=is_debug_enabled, + is_force_enabled=is_force_enabled, + is_validation_enabled=is_validation_enabled, + kubernetes_manifest_deploy_artifact_ids=kubernetes_manifest_deploy_artifact_ids, + load_balancer_config=load_balancer_config, + max_history=max_history, + max_memory_in_mbs=max_memory_in_mbs, + namespace=namespace, + oke_blue_green_deploy_stage_id=oke_blue_green_deploy_stage_id, + oke_canary_deploy_stage_id=oke_canary_deploy_stage_id, + oke_canary_traffic_shift_deploy_stage_id=oke_canary_traffic_shift_deploy_stage_id, + oke_cluster_deploy_environment_id=oke_cluster_deploy_environment_id, + production_load_balancer_config=production_load_balancer_config, + release_name=release_name, + rollback_policy=rollback_policy, + rollout_policy=rollout_policy, + set_string=set_string, + set_values=set_values, + should_cleanup_on_fail=should_cleanup_on_fail, + should_not_wait=should_not_wait, + should_reset_values=should_reset_values, + should_reuse_values=should_reuse_values, + should_skip_crds=should_skip_crds, + should_skip_render_subchart_notes=should_skip_render_subchart_notes, + test_load_balancer_config=test_load_balancer_config, + timeout_in_seconds=timeout_in_seconds, + traffic_shift_target=traffic_shift_target, + values_artifact_ids=values_artifact_ids, + wait_criteria=wait_criteria, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deploy_pipeline_id: pulumi.Input[str], + deploy_stage_predecessor_collection: pulumi.Input['DeployStageDeployStagePredecessorCollectionArgs'], + deploy_stage_type: pulumi.Input[str], + approval_policy: Optional[pulumi.Input['DeployStageApprovalPolicyArgs']] = None, + are_hooks_enabled: Optional[pulumi.Input[bool]] = None, + blue_backend_ips: Optional[pulumi.Input['DeployStageBlueBackendIpsArgs']] = None, + blue_green_strategy: Optional[pulumi.Input['DeployStageBlueGreenStrategyArgs']] = None, + canary_strategy: Optional[pulumi.Input['DeployStageCanaryStrategyArgs']] = None, + command_spec_deploy_artifact_id: Optional[pulumi.Input[str]] = None, + compute_instance_group_blue_green_deployment_deploy_stage_id: Optional[pulumi.Input[str]] = None, + compute_instance_group_canary_deploy_stage_id: Optional[pulumi.Input[str]] = None, + compute_instance_group_canary_traffic_shift_deploy_stage_id: Optional[pulumi.Input[str]] = None, + compute_instance_group_deploy_environment_id: Optional[pulumi.Input[str]] = None, + config: Optional[pulumi.Input[Mapping[str, Any]]] = None, + container_config: Optional[pulumi.Input['DeployStageContainerConfigArgs']] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + deploy_artifact_id: Optional[pulumi.Input[str]] = None, + deploy_artifact_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + deploy_environment_id_a: Optional[pulumi.Input[str]] = None, + deploy_environment_id_b: Optional[pulumi.Input[str]] = None, + deployment_spec_deploy_artifact_id: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + docker_image_deploy_artifact_id: Optional[pulumi.Input[str]] = None, + failure_policy: Optional[pulumi.Input['DeployStageFailurePolicyArgs']] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + function_deploy_environment_id: Optional[pulumi.Input[str]] = None, + function_timeout_in_seconds: Optional[pulumi.Input[int]] = None, + green_backend_ips: Optional[pulumi.Input['DeployStageGreenBackendIpsArgs']] = None, + helm_chart_deploy_artifact_id: Optional[pulumi.Input[str]] = None, + is_async: Optional[pulumi.Input[bool]] = None, + is_debug_enabled: Optional[pulumi.Input[bool]] = None, + is_force_enabled: Optional[pulumi.Input[bool]] = None, + is_validation_enabled: Optional[pulumi.Input[bool]] = None, + kubernetes_manifest_deploy_artifact_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + load_balancer_config: Optional[pulumi.Input['DeployStageLoadBalancerConfigArgs']] = None, + max_history: Optional[pulumi.Input[int]] = None, + max_memory_in_mbs: Optional[pulumi.Input[str]] = None, + namespace: Optional[pulumi.Input[str]] = None, + oke_blue_green_deploy_stage_id: Optional[pulumi.Input[str]] = None, + oke_canary_deploy_stage_id: Optional[pulumi.Input[str]] = None, + oke_canary_traffic_shift_deploy_stage_id: Optional[pulumi.Input[str]] = None, + oke_cluster_deploy_environment_id: Optional[pulumi.Input[str]] = None, + production_load_balancer_config: Optional[pulumi.Input['DeployStageProductionLoadBalancerConfigArgs']] = None, + release_name: Optional[pulumi.Input[str]] = None, + rollback_policy: Optional[pulumi.Input['DeployStageRollbackPolicyArgs']] = None, + rollout_policy: Optional[pulumi.Input['DeployStageRolloutPolicyArgs']] = None, + set_string: Optional[pulumi.Input['DeployStageSetStringArgs']] = None, + set_values: Optional[pulumi.Input['DeployStageSetValuesArgs']] = None, + should_cleanup_on_fail: Optional[pulumi.Input[bool]] = None, + should_not_wait: Optional[pulumi.Input[bool]] = None, + should_reset_values: Optional[pulumi.Input[bool]] = None, + should_reuse_values: Optional[pulumi.Input[bool]] = None, + should_skip_crds: Optional[pulumi.Input[bool]] = None, + should_skip_render_subchart_notes: Optional[pulumi.Input[bool]] = None, + test_load_balancer_config: Optional[pulumi.Input['DeployStageTestLoadBalancerConfigArgs']] = None, + timeout_in_seconds: Optional[pulumi.Input[int]] = None, + traffic_shift_target: Optional[pulumi.Input[str]] = None, + values_artifact_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + wait_criteria: Optional[pulumi.Input['DeployStageWaitCriteriaArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("deploy_pipeline_id", deploy_pipeline_id) + _setter("deploy_stage_predecessor_collection", deploy_stage_predecessor_collection) + _setter("deploy_stage_type", deploy_stage_type) if approval_policy is not None: - pulumi.set(__self__, "approval_policy", approval_policy) + _setter("approval_policy", approval_policy) if are_hooks_enabled is not None: - pulumi.set(__self__, "are_hooks_enabled", are_hooks_enabled) + _setter("are_hooks_enabled", are_hooks_enabled) if blue_backend_ips is not None: - pulumi.set(__self__, "blue_backend_ips", blue_backend_ips) + _setter("blue_backend_ips", blue_backend_ips) if blue_green_strategy is not None: - pulumi.set(__self__, "blue_green_strategy", blue_green_strategy) + _setter("blue_green_strategy", blue_green_strategy) if canary_strategy is not None: - pulumi.set(__self__, "canary_strategy", canary_strategy) + _setter("canary_strategy", canary_strategy) if command_spec_deploy_artifact_id is not None: - pulumi.set(__self__, "command_spec_deploy_artifact_id", command_spec_deploy_artifact_id) + _setter("command_spec_deploy_artifact_id", command_spec_deploy_artifact_id) if compute_instance_group_blue_green_deployment_deploy_stage_id is not None: - pulumi.set(__self__, "compute_instance_group_blue_green_deployment_deploy_stage_id", compute_instance_group_blue_green_deployment_deploy_stage_id) + _setter("compute_instance_group_blue_green_deployment_deploy_stage_id", compute_instance_group_blue_green_deployment_deploy_stage_id) if compute_instance_group_canary_deploy_stage_id is not None: - pulumi.set(__self__, "compute_instance_group_canary_deploy_stage_id", compute_instance_group_canary_deploy_stage_id) + _setter("compute_instance_group_canary_deploy_stage_id", compute_instance_group_canary_deploy_stage_id) if compute_instance_group_canary_traffic_shift_deploy_stage_id is not None: - pulumi.set(__self__, "compute_instance_group_canary_traffic_shift_deploy_stage_id", compute_instance_group_canary_traffic_shift_deploy_stage_id) + _setter("compute_instance_group_canary_traffic_shift_deploy_stage_id", compute_instance_group_canary_traffic_shift_deploy_stage_id) if compute_instance_group_deploy_environment_id is not None: - pulumi.set(__self__, "compute_instance_group_deploy_environment_id", compute_instance_group_deploy_environment_id) + _setter("compute_instance_group_deploy_environment_id", compute_instance_group_deploy_environment_id) if config is not None: - pulumi.set(__self__, "config", config) + _setter("config", config) if container_config is not None: - pulumi.set(__self__, "container_config", container_config) + _setter("container_config", container_config) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if deploy_artifact_id is not None: - pulumi.set(__self__, "deploy_artifact_id", deploy_artifact_id) + _setter("deploy_artifact_id", deploy_artifact_id) if deploy_artifact_ids is not None: - pulumi.set(__self__, "deploy_artifact_ids", deploy_artifact_ids) + _setter("deploy_artifact_ids", deploy_artifact_ids) if deploy_environment_id_a is not None: - pulumi.set(__self__, "deploy_environment_id_a", deploy_environment_id_a) + _setter("deploy_environment_id_a", deploy_environment_id_a) if deploy_environment_id_b is not None: - pulumi.set(__self__, "deploy_environment_id_b", deploy_environment_id_b) + _setter("deploy_environment_id_b", deploy_environment_id_b) if deployment_spec_deploy_artifact_id is not None: - pulumi.set(__self__, "deployment_spec_deploy_artifact_id", deployment_spec_deploy_artifact_id) + _setter("deployment_spec_deploy_artifact_id", deployment_spec_deploy_artifact_id) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if docker_image_deploy_artifact_id is not None: - pulumi.set(__self__, "docker_image_deploy_artifact_id", docker_image_deploy_artifact_id) + _setter("docker_image_deploy_artifact_id", docker_image_deploy_artifact_id) if failure_policy is not None: - pulumi.set(__self__, "failure_policy", failure_policy) + _setter("failure_policy", failure_policy) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if function_deploy_environment_id is not None: - pulumi.set(__self__, "function_deploy_environment_id", function_deploy_environment_id) + _setter("function_deploy_environment_id", function_deploy_environment_id) if function_timeout_in_seconds is not None: - pulumi.set(__self__, "function_timeout_in_seconds", function_timeout_in_seconds) + _setter("function_timeout_in_seconds", function_timeout_in_seconds) if green_backend_ips is not None: - pulumi.set(__self__, "green_backend_ips", green_backend_ips) + _setter("green_backend_ips", green_backend_ips) if helm_chart_deploy_artifact_id is not None: - pulumi.set(__self__, "helm_chart_deploy_artifact_id", helm_chart_deploy_artifact_id) + _setter("helm_chart_deploy_artifact_id", helm_chart_deploy_artifact_id) if is_async is not None: - pulumi.set(__self__, "is_async", is_async) + _setter("is_async", is_async) if is_debug_enabled is not None: - pulumi.set(__self__, "is_debug_enabled", is_debug_enabled) + _setter("is_debug_enabled", is_debug_enabled) if is_force_enabled is not None: - pulumi.set(__self__, "is_force_enabled", is_force_enabled) + _setter("is_force_enabled", is_force_enabled) if is_validation_enabled is not None: - pulumi.set(__self__, "is_validation_enabled", is_validation_enabled) + _setter("is_validation_enabled", is_validation_enabled) if kubernetes_manifest_deploy_artifact_ids is not None: - pulumi.set(__self__, "kubernetes_manifest_deploy_artifact_ids", kubernetes_manifest_deploy_artifact_ids) + _setter("kubernetes_manifest_deploy_artifact_ids", kubernetes_manifest_deploy_artifact_ids) if load_balancer_config is not None: - pulumi.set(__self__, "load_balancer_config", load_balancer_config) + _setter("load_balancer_config", load_balancer_config) if max_history is not None: - pulumi.set(__self__, "max_history", max_history) + _setter("max_history", max_history) if max_memory_in_mbs is not None: - pulumi.set(__self__, "max_memory_in_mbs", max_memory_in_mbs) + _setter("max_memory_in_mbs", max_memory_in_mbs) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if oke_blue_green_deploy_stage_id is not None: - pulumi.set(__self__, "oke_blue_green_deploy_stage_id", oke_blue_green_deploy_stage_id) + _setter("oke_blue_green_deploy_stage_id", oke_blue_green_deploy_stage_id) if oke_canary_deploy_stage_id is not None: - pulumi.set(__self__, "oke_canary_deploy_stage_id", oke_canary_deploy_stage_id) + _setter("oke_canary_deploy_stage_id", oke_canary_deploy_stage_id) if oke_canary_traffic_shift_deploy_stage_id is not None: - pulumi.set(__self__, "oke_canary_traffic_shift_deploy_stage_id", oke_canary_traffic_shift_deploy_stage_id) + _setter("oke_canary_traffic_shift_deploy_stage_id", oke_canary_traffic_shift_deploy_stage_id) if oke_cluster_deploy_environment_id is not None: - pulumi.set(__self__, "oke_cluster_deploy_environment_id", oke_cluster_deploy_environment_id) + _setter("oke_cluster_deploy_environment_id", oke_cluster_deploy_environment_id) if production_load_balancer_config is not None: - pulumi.set(__self__, "production_load_balancer_config", production_load_balancer_config) + _setter("production_load_balancer_config", production_load_balancer_config) if release_name is not None: - pulumi.set(__self__, "release_name", release_name) + _setter("release_name", release_name) if rollback_policy is not None: - pulumi.set(__self__, "rollback_policy", rollback_policy) + _setter("rollback_policy", rollback_policy) if rollout_policy is not None: - pulumi.set(__self__, "rollout_policy", rollout_policy) + _setter("rollout_policy", rollout_policy) if set_string is not None: - pulumi.set(__self__, "set_string", set_string) + _setter("set_string", set_string) if set_values is not None: - pulumi.set(__self__, "set_values", set_values) + _setter("set_values", set_values) if should_cleanup_on_fail is not None: - pulumi.set(__self__, "should_cleanup_on_fail", should_cleanup_on_fail) + _setter("should_cleanup_on_fail", should_cleanup_on_fail) if should_not_wait is not None: - pulumi.set(__self__, "should_not_wait", should_not_wait) + _setter("should_not_wait", should_not_wait) if should_reset_values is not None: - pulumi.set(__self__, "should_reset_values", should_reset_values) + _setter("should_reset_values", should_reset_values) if should_reuse_values is not None: - pulumi.set(__self__, "should_reuse_values", should_reuse_values) + _setter("should_reuse_values", should_reuse_values) if should_skip_crds is not None: - pulumi.set(__self__, "should_skip_crds", should_skip_crds) + _setter("should_skip_crds", should_skip_crds) if should_skip_render_subchart_notes is not None: - pulumi.set(__self__, "should_skip_render_subchart_notes", should_skip_render_subchart_notes) + _setter("should_skip_render_subchart_notes", should_skip_render_subchart_notes) if test_load_balancer_config is not None: - pulumi.set(__self__, "test_load_balancer_config", test_load_balancer_config) + _setter("test_load_balancer_config", test_load_balancer_config) if timeout_in_seconds is not None: - pulumi.set(__self__, "timeout_in_seconds", timeout_in_seconds) + _setter("timeout_in_seconds", timeout_in_seconds) if traffic_shift_target is not None: - pulumi.set(__self__, "traffic_shift_target", traffic_shift_target) + _setter("traffic_shift_target", traffic_shift_target) if values_artifact_ids is not None: - pulumi.set(__self__, "values_artifact_ids", values_artifact_ids) + _setter("values_artifact_ids", values_artifact_ids) if wait_criteria is not None: - pulumi.set(__self__, "wait_criteria", wait_criteria) + _setter("wait_criteria", wait_criteria) @property @pulumi.getter(name="deployPipelineId") @@ -1118,140 +1245,281 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] values_artifact_ids: (Updatable) List of values.yaml file artifact OCIDs. :param pulumi.Input['DeployStageWaitCriteriaArgs'] wait_criteria: (Updatable) Specifies wait criteria for the Wait stage. """ + _DeployStageState._configure( + lambda key, value: pulumi.set(__self__, key, value), + approval_policy=approval_policy, + are_hooks_enabled=are_hooks_enabled, + blue_backend_ips=blue_backend_ips, + blue_green_strategy=blue_green_strategy, + canary_strategy=canary_strategy, + command_spec_deploy_artifact_id=command_spec_deploy_artifact_id, + compartment_id=compartment_id, + compute_instance_group_blue_green_deployment_deploy_stage_id=compute_instance_group_blue_green_deployment_deploy_stage_id, + compute_instance_group_canary_deploy_stage_id=compute_instance_group_canary_deploy_stage_id, + compute_instance_group_canary_traffic_shift_deploy_stage_id=compute_instance_group_canary_traffic_shift_deploy_stage_id, + compute_instance_group_deploy_environment_id=compute_instance_group_deploy_environment_id, + config=config, + container_config=container_config, + defined_tags=defined_tags, + deploy_artifact_id=deploy_artifact_id, + deploy_artifact_ids=deploy_artifact_ids, + deploy_environment_id_a=deploy_environment_id_a, + deploy_environment_id_b=deploy_environment_id_b, + deploy_pipeline_id=deploy_pipeline_id, + deploy_stage_predecessor_collection=deploy_stage_predecessor_collection, + deploy_stage_type=deploy_stage_type, + deployment_spec_deploy_artifact_id=deployment_spec_deploy_artifact_id, + description=description, + display_name=display_name, + docker_image_deploy_artifact_id=docker_image_deploy_artifact_id, + failure_policy=failure_policy, + freeform_tags=freeform_tags, + function_deploy_environment_id=function_deploy_environment_id, + function_timeout_in_seconds=function_timeout_in_seconds, + green_backend_ips=green_backend_ips, + helm_chart_deploy_artifact_id=helm_chart_deploy_artifact_id, + is_async=is_async, + is_debug_enabled=is_debug_enabled, + is_force_enabled=is_force_enabled, + is_validation_enabled=is_validation_enabled, + kubernetes_manifest_deploy_artifact_ids=kubernetes_manifest_deploy_artifact_ids, + lifecycle_details=lifecycle_details, + load_balancer_config=load_balancer_config, + max_history=max_history, + max_memory_in_mbs=max_memory_in_mbs, + namespace=namespace, + oke_blue_green_deploy_stage_id=oke_blue_green_deploy_stage_id, + oke_canary_deploy_stage_id=oke_canary_deploy_stage_id, + oke_canary_traffic_shift_deploy_stage_id=oke_canary_traffic_shift_deploy_stage_id, + oke_cluster_deploy_environment_id=oke_cluster_deploy_environment_id, + production_load_balancer_config=production_load_balancer_config, + project_id=project_id, + release_name=release_name, + rollback_policy=rollback_policy, + rollout_policy=rollout_policy, + set_string=set_string, + set_values=set_values, + should_cleanup_on_fail=should_cleanup_on_fail, + should_not_wait=should_not_wait, + should_reset_values=should_reset_values, + should_reuse_values=should_reuse_values, + should_skip_crds=should_skip_crds, + should_skip_render_subchart_notes=should_skip_render_subchart_notes, + state=state, + system_tags=system_tags, + test_load_balancer_config=test_load_balancer_config, + time_created=time_created, + time_updated=time_updated, + timeout_in_seconds=timeout_in_seconds, + traffic_shift_target=traffic_shift_target, + values_artifact_ids=values_artifact_ids, + wait_criteria=wait_criteria, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + approval_policy: Optional[pulumi.Input['DeployStageApprovalPolicyArgs']] = None, + are_hooks_enabled: Optional[pulumi.Input[bool]] = None, + blue_backend_ips: Optional[pulumi.Input['DeployStageBlueBackendIpsArgs']] = None, + blue_green_strategy: Optional[pulumi.Input['DeployStageBlueGreenStrategyArgs']] = None, + canary_strategy: Optional[pulumi.Input['DeployStageCanaryStrategyArgs']] = None, + command_spec_deploy_artifact_id: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + compute_instance_group_blue_green_deployment_deploy_stage_id: Optional[pulumi.Input[str]] = None, + compute_instance_group_canary_deploy_stage_id: Optional[pulumi.Input[str]] = None, + compute_instance_group_canary_traffic_shift_deploy_stage_id: Optional[pulumi.Input[str]] = None, + compute_instance_group_deploy_environment_id: Optional[pulumi.Input[str]] = None, + config: Optional[pulumi.Input[Mapping[str, Any]]] = None, + container_config: Optional[pulumi.Input['DeployStageContainerConfigArgs']] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + deploy_artifact_id: Optional[pulumi.Input[str]] = None, + deploy_artifact_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + deploy_environment_id_a: Optional[pulumi.Input[str]] = None, + deploy_environment_id_b: Optional[pulumi.Input[str]] = None, + deploy_pipeline_id: Optional[pulumi.Input[str]] = None, + deploy_stage_predecessor_collection: Optional[pulumi.Input['DeployStageDeployStagePredecessorCollectionArgs']] = None, + deploy_stage_type: Optional[pulumi.Input[str]] = None, + deployment_spec_deploy_artifact_id: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + docker_image_deploy_artifact_id: Optional[pulumi.Input[str]] = None, + failure_policy: Optional[pulumi.Input['DeployStageFailurePolicyArgs']] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + function_deploy_environment_id: Optional[pulumi.Input[str]] = None, + function_timeout_in_seconds: Optional[pulumi.Input[int]] = None, + green_backend_ips: Optional[pulumi.Input['DeployStageGreenBackendIpsArgs']] = None, + helm_chart_deploy_artifact_id: Optional[pulumi.Input[str]] = None, + is_async: Optional[pulumi.Input[bool]] = None, + is_debug_enabled: Optional[pulumi.Input[bool]] = None, + is_force_enabled: Optional[pulumi.Input[bool]] = None, + is_validation_enabled: Optional[pulumi.Input[bool]] = None, + kubernetes_manifest_deploy_artifact_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + load_balancer_config: Optional[pulumi.Input['DeployStageLoadBalancerConfigArgs']] = None, + max_history: Optional[pulumi.Input[int]] = None, + max_memory_in_mbs: Optional[pulumi.Input[str]] = None, + namespace: Optional[pulumi.Input[str]] = None, + oke_blue_green_deploy_stage_id: Optional[pulumi.Input[str]] = None, + oke_canary_deploy_stage_id: Optional[pulumi.Input[str]] = None, + oke_canary_traffic_shift_deploy_stage_id: Optional[pulumi.Input[str]] = None, + oke_cluster_deploy_environment_id: Optional[pulumi.Input[str]] = None, + production_load_balancer_config: Optional[pulumi.Input['DeployStageProductionLoadBalancerConfigArgs']] = None, + project_id: Optional[pulumi.Input[str]] = None, + release_name: Optional[pulumi.Input[str]] = None, + rollback_policy: Optional[pulumi.Input['DeployStageRollbackPolicyArgs']] = None, + rollout_policy: Optional[pulumi.Input['DeployStageRolloutPolicyArgs']] = None, + set_string: Optional[pulumi.Input['DeployStageSetStringArgs']] = None, + set_values: Optional[pulumi.Input['DeployStageSetValuesArgs']] = None, + should_cleanup_on_fail: Optional[pulumi.Input[bool]] = None, + should_not_wait: Optional[pulumi.Input[bool]] = None, + should_reset_values: Optional[pulumi.Input[bool]] = None, + should_reuse_values: Optional[pulumi.Input[bool]] = None, + should_skip_crds: Optional[pulumi.Input[bool]] = None, + should_skip_render_subchart_notes: Optional[pulumi.Input[bool]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + test_load_balancer_config: Optional[pulumi.Input['DeployStageTestLoadBalancerConfigArgs']] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + timeout_in_seconds: Optional[pulumi.Input[int]] = None, + traffic_shift_target: Optional[pulumi.Input[str]] = None, + values_artifact_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + wait_criteria: Optional[pulumi.Input['DeployStageWaitCriteriaArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if approval_policy is not None: - pulumi.set(__self__, "approval_policy", approval_policy) + _setter("approval_policy", approval_policy) if are_hooks_enabled is not None: - pulumi.set(__self__, "are_hooks_enabled", are_hooks_enabled) + _setter("are_hooks_enabled", are_hooks_enabled) if blue_backend_ips is not None: - pulumi.set(__self__, "blue_backend_ips", blue_backend_ips) + _setter("blue_backend_ips", blue_backend_ips) if blue_green_strategy is not None: - pulumi.set(__self__, "blue_green_strategy", blue_green_strategy) + _setter("blue_green_strategy", blue_green_strategy) if canary_strategy is not None: - pulumi.set(__self__, "canary_strategy", canary_strategy) + _setter("canary_strategy", canary_strategy) if command_spec_deploy_artifact_id is not None: - pulumi.set(__self__, "command_spec_deploy_artifact_id", command_spec_deploy_artifact_id) + _setter("command_spec_deploy_artifact_id", command_spec_deploy_artifact_id) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if compute_instance_group_blue_green_deployment_deploy_stage_id is not None: - pulumi.set(__self__, "compute_instance_group_blue_green_deployment_deploy_stage_id", compute_instance_group_blue_green_deployment_deploy_stage_id) + _setter("compute_instance_group_blue_green_deployment_deploy_stage_id", compute_instance_group_blue_green_deployment_deploy_stage_id) if compute_instance_group_canary_deploy_stage_id is not None: - pulumi.set(__self__, "compute_instance_group_canary_deploy_stage_id", compute_instance_group_canary_deploy_stage_id) + _setter("compute_instance_group_canary_deploy_stage_id", compute_instance_group_canary_deploy_stage_id) if compute_instance_group_canary_traffic_shift_deploy_stage_id is not None: - pulumi.set(__self__, "compute_instance_group_canary_traffic_shift_deploy_stage_id", compute_instance_group_canary_traffic_shift_deploy_stage_id) + _setter("compute_instance_group_canary_traffic_shift_deploy_stage_id", compute_instance_group_canary_traffic_shift_deploy_stage_id) if compute_instance_group_deploy_environment_id is not None: - pulumi.set(__self__, "compute_instance_group_deploy_environment_id", compute_instance_group_deploy_environment_id) + _setter("compute_instance_group_deploy_environment_id", compute_instance_group_deploy_environment_id) if config is not None: - pulumi.set(__self__, "config", config) + _setter("config", config) if container_config is not None: - pulumi.set(__self__, "container_config", container_config) + _setter("container_config", container_config) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if deploy_artifact_id is not None: - pulumi.set(__self__, "deploy_artifact_id", deploy_artifact_id) + _setter("deploy_artifact_id", deploy_artifact_id) if deploy_artifact_ids is not None: - pulumi.set(__self__, "deploy_artifact_ids", deploy_artifact_ids) + _setter("deploy_artifact_ids", deploy_artifact_ids) if deploy_environment_id_a is not None: - pulumi.set(__self__, "deploy_environment_id_a", deploy_environment_id_a) + _setter("deploy_environment_id_a", deploy_environment_id_a) if deploy_environment_id_b is not None: - pulumi.set(__self__, "deploy_environment_id_b", deploy_environment_id_b) + _setter("deploy_environment_id_b", deploy_environment_id_b) if deploy_pipeline_id is not None: - pulumi.set(__self__, "deploy_pipeline_id", deploy_pipeline_id) + _setter("deploy_pipeline_id", deploy_pipeline_id) if deploy_stage_predecessor_collection is not None: - pulumi.set(__self__, "deploy_stage_predecessor_collection", deploy_stage_predecessor_collection) + _setter("deploy_stage_predecessor_collection", deploy_stage_predecessor_collection) if deploy_stage_type is not None: - pulumi.set(__self__, "deploy_stage_type", deploy_stage_type) + _setter("deploy_stage_type", deploy_stage_type) if deployment_spec_deploy_artifact_id is not None: - pulumi.set(__self__, "deployment_spec_deploy_artifact_id", deployment_spec_deploy_artifact_id) + _setter("deployment_spec_deploy_artifact_id", deployment_spec_deploy_artifact_id) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if docker_image_deploy_artifact_id is not None: - pulumi.set(__self__, "docker_image_deploy_artifact_id", docker_image_deploy_artifact_id) + _setter("docker_image_deploy_artifact_id", docker_image_deploy_artifact_id) if failure_policy is not None: - pulumi.set(__self__, "failure_policy", failure_policy) + _setter("failure_policy", failure_policy) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if function_deploy_environment_id is not None: - pulumi.set(__self__, "function_deploy_environment_id", function_deploy_environment_id) + _setter("function_deploy_environment_id", function_deploy_environment_id) if function_timeout_in_seconds is not None: - pulumi.set(__self__, "function_timeout_in_seconds", function_timeout_in_seconds) + _setter("function_timeout_in_seconds", function_timeout_in_seconds) if green_backend_ips is not None: - pulumi.set(__self__, "green_backend_ips", green_backend_ips) + _setter("green_backend_ips", green_backend_ips) if helm_chart_deploy_artifact_id is not None: - pulumi.set(__self__, "helm_chart_deploy_artifact_id", helm_chart_deploy_artifact_id) + _setter("helm_chart_deploy_artifact_id", helm_chart_deploy_artifact_id) if is_async is not None: - pulumi.set(__self__, "is_async", is_async) + _setter("is_async", is_async) if is_debug_enabled is not None: - pulumi.set(__self__, "is_debug_enabled", is_debug_enabled) + _setter("is_debug_enabled", is_debug_enabled) if is_force_enabled is not None: - pulumi.set(__self__, "is_force_enabled", is_force_enabled) + _setter("is_force_enabled", is_force_enabled) if is_validation_enabled is not None: - pulumi.set(__self__, "is_validation_enabled", is_validation_enabled) + _setter("is_validation_enabled", is_validation_enabled) if kubernetes_manifest_deploy_artifact_ids is not None: - pulumi.set(__self__, "kubernetes_manifest_deploy_artifact_ids", kubernetes_manifest_deploy_artifact_ids) + _setter("kubernetes_manifest_deploy_artifact_ids", kubernetes_manifest_deploy_artifact_ids) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if load_balancer_config is not None: - pulumi.set(__self__, "load_balancer_config", load_balancer_config) + _setter("load_balancer_config", load_balancer_config) if max_history is not None: - pulumi.set(__self__, "max_history", max_history) + _setter("max_history", max_history) if max_memory_in_mbs is not None: - pulumi.set(__self__, "max_memory_in_mbs", max_memory_in_mbs) + _setter("max_memory_in_mbs", max_memory_in_mbs) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if oke_blue_green_deploy_stage_id is not None: - pulumi.set(__self__, "oke_blue_green_deploy_stage_id", oke_blue_green_deploy_stage_id) + _setter("oke_blue_green_deploy_stage_id", oke_blue_green_deploy_stage_id) if oke_canary_deploy_stage_id is not None: - pulumi.set(__self__, "oke_canary_deploy_stage_id", oke_canary_deploy_stage_id) + _setter("oke_canary_deploy_stage_id", oke_canary_deploy_stage_id) if oke_canary_traffic_shift_deploy_stage_id is not None: - pulumi.set(__self__, "oke_canary_traffic_shift_deploy_stage_id", oke_canary_traffic_shift_deploy_stage_id) + _setter("oke_canary_traffic_shift_deploy_stage_id", oke_canary_traffic_shift_deploy_stage_id) if oke_cluster_deploy_environment_id is not None: - pulumi.set(__self__, "oke_cluster_deploy_environment_id", oke_cluster_deploy_environment_id) + _setter("oke_cluster_deploy_environment_id", oke_cluster_deploy_environment_id) if production_load_balancer_config is not None: - pulumi.set(__self__, "production_load_balancer_config", production_load_balancer_config) + _setter("production_load_balancer_config", production_load_balancer_config) if project_id is not None: - pulumi.set(__self__, "project_id", project_id) + _setter("project_id", project_id) if release_name is not None: - pulumi.set(__self__, "release_name", release_name) + _setter("release_name", release_name) if rollback_policy is not None: - pulumi.set(__self__, "rollback_policy", rollback_policy) + _setter("rollback_policy", rollback_policy) if rollout_policy is not None: - pulumi.set(__self__, "rollout_policy", rollout_policy) + _setter("rollout_policy", rollout_policy) if set_string is not None: - pulumi.set(__self__, "set_string", set_string) + _setter("set_string", set_string) if set_values is not None: - pulumi.set(__self__, "set_values", set_values) + _setter("set_values", set_values) if should_cleanup_on_fail is not None: - pulumi.set(__self__, "should_cleanup_on_fail", should_cleanup_on_fail) + _setter("should_cleanup_on_fail", should_cleanup_on_fail) if should_not_wait is not None: - pulumi.set(__self__, "should_not_wait", should_not_wait) + _setter("should_not_wait", should_not_wait) if should_reset_values is not None: - pulumi.set(__self__, "should_reset_values", should_reset_values) + _setter("should_reset_values", should_reset_values) if should_reuse_values is not None: - pulumi.set(__self__, "should_reuse_values", should_reuse_values) + _setter("should_reuse_values", should_reuse_values) if should_skip_crds is not None: - pulumi.set(__self__, "should_skip_crds", should_skip_crds) + _setter("should_skip_crds", should_skip_crds) if should_skip_render_subchart_notes is not None: - pulumi.set(__self__, "should_skip_render_subchart_notes", should_skip_render_subchart_notes) + _setter("should_skip_render_subchart_notes", should_skip_render_subchart_notes) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if test_load_balancer_config is not None: - pulumi.set(__self__, "test_load_balancer_config", test_load_balancer_config) + _setter("test_load_balancer_config", test_load_balancer_config) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if timeout_in_seconds is not None: - pulumi.set(__self__, "timeout_in_seconds", timeout_in_seconds) + _setter("timeout_in_seconds", timeout_in_seconds) if traffic_shift_target is not None: - pulumi.set(__self__, "traffic_shift_target", traffic_shift_target) + _setter("traffic_shift_target", traffic_shift_target) if values_artifact_ids is not None: - pulumi.set(__self__, "values_artifact_ids", values_artifact_ids) + _setter("values_artifact_ids", values_artifact_ids) if wait_criteria is not None: - pulumi.set(__self__, "wait_criteria", wait_criteria) + _setter("wait_criteria", wait_criteria) @property @pulumi.getter(name="approvalPolicy") @@ -2229,6 +2497,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DeployStageArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -2303,10 +2575,30 @@ def _internal_init(__self__, raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = DeployStageArgs.__new__(DeployStageArgs) + if approval_policy is not None and not isinstance(approval_policy, DeployStageApprovalPolicyArgs): + approval_policy = approval_policy or {} + def _setter(key, value): + approval_policy[key] = value + DeployStageApprovalPolicyArgs._configure(_setter, **approval_policy) __props__.__dict__["approval_policy"] = approval_policy __props__.__dict__["are_hooks_enabled"] = are_hooks_enabled + if blue_backend_ips is not None and not isinstance(blue_backend_ips, DeployStageBlueBackendIpsArgs): + blue_backend_ips = blue_backend_ips or {} + def _setter(key, value): + blue_backend_ips[key] = value + DeployStageBlueBackendIpsArgs._configure(_setter, **blue_backend_ips) __props__.__dict__["blue_backend_ips"] = blue_backend_ips + if blue_green_strategy is not None and not isinstance(blue_green_strategy, DeployStageBlueGreenStrategyArgs): + blue_green_strategy = blue_green_strategy or {} + def _setter(key, value): + blue_green_strategy[key] = value + DeployStageBlueGreenStrategyArgs._configure(_setter, **blue_green_strategy) __props__.__dict__["blue_green_strategy"] = blue_green_strategy + if canary_strategy is not None and not isinstance(canary_strategy, DeployStageCanaryStrategyArgs): + canary_strategy = canary_strategy or {} + def _setter(key, value): + canary_strategy[key] = value + DeployStageCanaryStrategyArgs._configure(_setter, **canary_strategy) __props__.__dict__["canary_strategy"] = canary_strategy __props__.__dict__["command_spec_deploy_artifact_id"] = command_spec_deploy_artifact_id __props__.__dict__["compute_instance_group_blue_green_deployment_deploy_stage_id"] = compute_instance_group_blue_green_deployment_deploy_stage_id @@ -2314,6 +2606,11 @@ def _internal_init(__self__, __props__.__dict__["compute_instance_group_canary_traffic_shift_deploy_stage_id"] = compute_instance_group_canary_traffic_shift_deploy_stage_id __props__.__dict__["compute_instance_group_deploy_environment_id"] = compute_instance_group_deploy_environment_id __props__.__dict__["config"] = config + if container_config is not None and not isinstance(container_config, DeployStageContainerConfigArgs): + container_config = container_config or {} + def _setter(key, value): + container_config[key] = value + DeployStageContainerConfigArgs._configure(_setter, **container_config) __props__.__dict__["container_config"] = container_config __props__.__dict__["defined_tags"] = defined_tags __props__.__dict__["deploy_artifact_id"] = deploy_artifact_id @@ -2323,6 +2620,11 @@ def _internal_init(__self__, if deploy_pipeline_id is None and not opts.urn: raise TypeError("Missing required property 'deploy_pipeline_id'") __props__.__dict__["deploy_pipeline_id"] = deploy_pipeline_id + if deploy_stage_predecessor_collection is not None and not isinstance(deploy_stage_predecessor_collection, DeployStageDeployStagePredecessorCollectionArgs): + deploy_stage_predecessor_collection = deploy_stage_predecessor_collection or {} + def _setter(key, value): + deploy_stage_predecessor_collection[key] = value + DeployStageDeployStagePredecessorCollectionArgs._configure(_setter, **deploy_stage_predecessor_collection) if deploy_stage_predecessor_collection is None and not opts.urn: raise TypeError("Missing required property 'deploy_stage_predecessor_collection'") __props__.__dict__["deploy_stage_predecessor_collection"] = deploy_stage_predecessor_collection @@ -2333,10 +2635,20 @@ def _internal_init(__self__, __props__.__dict__["description"] = description __props__.__dict__["display_name"] = display_name __props__.__dict__["docker_image_deploy_artifact_id"] = docker_image_deploy_artifact_id + if failure_policy is not None and not isinstance(failure_policy, DeployStageFailurePolicyArgs): + failure_policy = failure_policy or {} + def _setter(key, value): + failure_policy[key] = value + DeployStageFailurePolicyArgs._configure(_setter, **failure_policy) __props__.__dict__["failure_policy"] = failure_policy __props__.__dict__["freeform_tags"] = freeform_tags __props__.__dict__["function_deploy_environment_id"] = function_deploy_environment_id __props__.__dict__["function_timeout_in_seconds"] = function_timeout_in_seconds + if green_backend_ips is not None and not isinstance(green_backend_ips, DeployStageGreenBackendIpsArgs): + green_backend_ips = green_backend_ips or {} + def _setter(key, value): + green_backend_ips[key] = value + DeployStageGreenBackendIpsArgs._configure(_setter, **green_backend_ips) __props__.__dict__["green_backend_ips"] = green_backend_ips __props__.__dict__["helm_chart_deploy_artifact_id"] = helm_chart_deploy_artifact_id __props__.__dict__["is_async"] = is_async @@ -2344,6 +2656,11 @@ def _internal_init(__self__, __props__.__dict__["is_force_enabled"] = is_force_enabled __props__.__dict__["is_validation_enabled"] = is_validation_enabled __props__.__dict__["kubernetes_manifest_deploy_artifact_ids"] = kubernetes_manifest_deploy_artifact_ids + if load_balancer_config is not None and not isinstance(load_balancer_config, DeployStageLoadBalancerConfigArgs): + load_balancer_config = load_balancer_config or {} + def _setter(key, value): + load_balancer_config[key] = value + DeployStageLoadBalancerConfigArgs._configure(_setter, **load_balancer_config) __props__.__dict__["load_balancer_config"] = load_balancer_config __props__.__dict__["max_history"] = max_history __props__.__dict__["max_memory_in_mbs"] = max_memory_in_mbs @@ -2352,11 +2669,36 @@ def _internal_init(__self__, __props__.__dict__["oke_canary_deploy_stage_id"] = oke_canary_deploy_stage_id __props__.__dict__["oke_canary_traffic_shift_deploy_stage_id"] = oke_canary_traffic_shift_deploy_stage_id __props__.__dict__["oke_cluster_deploy_environment_id"] = oke_cluster_deploy_environment_id + if production_load_balancer_config is not None and not isinstance(production_load_balancer_config, DeployStageProductionLoadBalancerConfigArgs): + production_load_balancer_config = production_load_balancer_config or {} + def _setter(key, value): + production_load_balancer_config[key] = value + DeployStageProductionLoadBalancerConfigArgs._configure(_setter, **production_load_balancer_config) __props__.__dict__["production_load_balancer_config"] = production_load_balancer_config __props__.__dict__["release_name"] = release_name + if rollback_policy is not None and not isinstance(rollback_policy, DeployStageRollbackPolicyArgs): + rollback_policy = rollback_policy or {} + def _setter(key, value): + rollback_policy[key] = value + DeployStageRollbackPolicyArgs._configure(_setter, **rollback_policy) __props__.__dict__["rollback_policy"] = rollback_policy + if rollout_policy is not None and not isinstance(rollout_policy, DeployStageRolloutPolicyArgs): + rollout_policy = rollout_policy or {} + def _setter(key, value): + rollout_policy[key] = value + DeployStageRolloutPolicyArgs._configure(_setter, **rollout_policy) __props__.__dict__["rollout_policy"] = rollout_policy + if set_string is not None and not isinstance(set_string, DeployStageSetStringArgs): + set_string = set_string or {} + def _setter(key, value): + set_string[key] = value + DeployStageSetStringArgs._configure(_setter, **set_string) __props__.__dict__["set_string"] = set_string + if set_values is not None and not isinstance(set_values, DeployStageSetValuesArgs): + set_values = set_values or {} + def _setter(key, value): + set_values[key] = value + DeployStageSetValuesArgs._configure(_setter, **set_values) __props__.__dict__["set_values"] = set_values __props__.__dict__["should_cleanup_on_fail"] = should_cleanup_on_fail __props__.__dict__["should_not_wait"] = should_not_wait @@ -2364,10 +2706,20 @@ def _internal_init(__self__, __props__.__dict__["should_reuse_values"] = should_reuse_values __props__.__dict__["should_skip_crds"] = should_skip_crds __props__.__dict__["should_skip_render_subchart_notes"] = should_skip_render_subchart_notes + if test_load_balancer_config is not None and not isinstance(test_load_balancer_config, DeployStageTestLoadBalancerConfigArgs): + test_load_balancer_config = test_load_balancer_config or {} + def _setter(key, value): + test_load_balancer_config[key] = value + DeployStageTestLoadBalancerConfigArgs._configure(_setter, **test_load_balancer_config) __props__.__dict__["test_load_balancer_config"] = test_load_balancer_config __props__.__dict__["timeout_in_seconds"] = timeout_in_seconds __props__.__dict__["traffic_shift_target"] = traffic_shift_target __props__.__dict__["values_artifact_ids"] = values_artifact_ids + if wait_criteria is not None and not isinstance(wait_criteria, DeployStageWaitCriteriaArgs): + wait_criteria = wait_criteria or {} + def _setter(key, value): + wait_criteria[key] = value + DeployStageWaitCriteriaArgs._configure(_setter, **wait_criteria) __props__.__dict__["wait_criteria"] = wait_criteria __props__.__dict__["compartment_id"] = None __props__.__dict__["lifecycle_details"] = None diff --git a/sdk/python/pulumi_oci/devops/deployment.py b/sdk/python/pulumi_oci/devops/deployment.py index 706c2fa70e..8eebc0f915 100644 --- a/sdk/python/pulumi_oci/devops/deployment.py +++ b/sdk/python/pulumi_oci/devops/deployment.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -45,26 +45,55 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values. Additionally, while `trigger_new_devops_deployment` is set true each apply will force the destruction and recreation of the resource with the new property values. """ - pulumi.set(__self__, "deploy_pipeline_id", deploy_pipeline_id) - pulumi.set(__self__, "deployment_type", deployment_type) + DeploymentArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + deploy_pipeline_id=deploy_pipeline_id, + deployment_type=deployment_type, + defined_tags=defined_tags, + deploy_artifact_override_arguments=deploy_artifact_override_arguments, + deploy_stage_id=deploy_stage_id, + deploy_stage_override_arguments=deploy_stage_override_arguments, + deployment_arguments=deployment_arguments, + display_name=display_name, + freeform_tags=freeform_tags, + previous_deployment_id=previous_deployment_id, + trigger_new_devops_deployment=trigger_new_devops_deployment, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deploy_pipeline_id: pulumi.Input[str], + deployment_type: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + deploy_artifact_override_arguments: Optional[pulumi.Input['DeploymentDeployArtifactOverrideArgumentsArgs']] = None, + deploy_stage_id: Optional[pulumi.Input[str]] = None, + deploy_stage_override_arguments: Optional[pulumi.Input['DeploymentDeployStageOverrideArgumentsArgs']] = None, + deployment_arguments: Optional[pulumi.Input['DeploymentDeploymentArgumentsArgs']] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + previous_deployment_id: Optional[pulumi.Input[str]] = None, + trigger_new_devops_deployment: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("deploy_pipeline_id", deploy_pipeline_id) + _setter("deployment_type", deployment_type) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if deploy_artifact_override_arguments is not None: - pulumi.set(__self__, "deploy_artifact_override_arguments", deploy_artifact_override_arguments) + _setter("deploy_artifact_override_arguments", deploy_artifact_override_arguments) if deploy_stage_id is not None: - pulumi.set(__self__, "deploy_stage_id", deploy_stage_id) + _setter("deploy_stage_id", deploy_stage_id) if deploy_stage_override_arguments is not None: - pulumi.set(__self__, "deploy_stage_override_arguments", deploy_stage_override_arguments) + _setter("deploy_stage_override_arguments", deploy_stage_override_arguments) if deployment_arguments is not None: - pulumi.set(__self__, "deployment_arguments", deployment_arguments) + _setter("deployment_arguments", deployment_arguments) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if previous_deployment_id is not None: - pulumi.set(__self__, "previous_deployment_id", previous_deployment_id) + _setter("previous_deployment_id", previous_deployment_id) if trigger_new_devops_deployment is not None: - pulumi.set(__self__, "trigger_new_devops_deployment", trigger_new_devops_deployment) + _setter("trigger_new_devops_deployment", trigger_new_devops_deployment) @property @pulumi.getter(name="deployPipelineId") @@ -255,48 +284,97 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values. Additionally, while `trigger_new_devops_deployment` is set true each apply will force the destruction and recreation of the resource with the new property values. """ + _DeploymentState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + deploy_artifact_override_arguments=deploy_artifact_override_arguments, + deploy_pipeline_artifacts=deploy_pipeline_artifacts, + deploy_pipeline_environments=deploy_pipeline_environments, + deploy_pipeline_id=deploy_pipeline_id, + deploy_stage_id=deploy_stage_id, + deploy_stage_override_arguments=deploy_stage_override_arguments, + deployment_arguments=deployment_arguments, + deployment_execution_progresses=deployment_execution_progresses, + deployment_type=deployment_type, + display_name=display_name, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + previous_deployment_id=previous_deployment_id, + project_id=project_id, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + trigger_new_devops_deployment=trigger_new_devops_deployment, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + deploy_artifact_override_arguments: Optional[pulumi.Input['DeploymentDeployArtifactOverrideArgumentsArgs']] = None, + deploy_pipeline_artifacts: Optional[pulumi.Input[Sequence[pulumi.Input['DeploymentDeployPipelineArtifactArgs']]]] = None, + deploy_pipeline_environments: Optional[pulumi.Input[Sequence[pulumi.Input['DeploymentDeployPipelineEnvironmentArgs']]]] = None, + deploy_pipeline_id: Optional[pulumi.Input[str]] = None, + deploy_stage_id: Optional[pulumi.Input[str]] = None, + deploy_stage_override_arguments: Optional[pulumi.Input['DeploymentDeployStageOverrideArgumentsArgs']] = None, + deployment_arguments: Optional[pulumi.Input['DeploymentDeploymentArgumentsArgs']] = None, + deployment_execution_progresses: Optional[pulumi.Input[Sequence[pulumi.Input['DeploymentDeploymentExecutionProgressArgs']]]] = None, + deployment_type: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + previous_deployment_id: Optional[pulumi.Input[str]] = None, + project_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + trigger_new_devops_deployment: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if deploy_artifact_override_arguments is not None: - pulumi.set(__self__, "deploy_artifact_override_arguments", deploy_artifact_override_arguments) + _setter("deploy_artifact_override_arguments", deploy_artifact_override_arguments) if deploy_pipeline_artifacts is not None: - pulumi.set(__self__, "deploy_pipeline_artifacts", deploy_pipeline_artifacts) + _setter("deploy_pipeline_artifacts", deploy_pipeline_artifacts) if deploy_pipeline_environments is not None: - pulumi.set(__self__, "deploy_pipeline_environments", deploy_pipeline_environments) + _setter("deploy_pipeline_environments", deploy_pipeline_environments) if deploy_pipeline_id is not None: - pulumi.set(__self__, "deploy_pipeline_id", deploy_pipeline_id) + _setter("deploy_pipeline_id", deploy_pipeline_id) if deploy_stage_id is not None: - pulumi.set(__self__, "deploy_stage_id", deploy_stage_id) + _setter("deploy_stage_id", deploy_stage_id) if deploy_stage_override_arguments is not None: - pulumi.set(__self__, "deploy_stage_override_arguments", deploy_stage_override_arguments) + _setter("deploy_stage_override_arguments", deploy_stage_override_arguments) if deployment_arguments is not None: - pulumi.set(__self__, "deployment_arguments", deployment_arguments) + _setter("deployment_arguments", deployment_arguments) if deployment_execution_progresses is not None: - pulumi.set(__self__, "deployment_execution_progresses", deployment_execution_progresses) + _setter("deployment_execution_progresses", deployment_execution_progresses) if deployment_type is not None: - pulumi.set(__self__, "deployment_type", deployment_type) + _setter("deployment_type", deployment_type) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if previous_deployment_id is not None: - pulumi.set(__self__, "previous_deployment_id", previous_deployment_id) + _setter("previous_deployment_id", previous_deployment_id) if project_id is not None: - pulumi.set(__self__, "project_id", project_id) + _setter("project_id", project_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if trigger_new_devops_deployment is not None: - pulumi.set(__self__, "trigger_new_devops_deployment", trigger_new_devops_deployment) + _setter("trigger_new_devops_deployment", trigger_new_devops_deployment) @property @pulumi.getter(name="compartmentId") @@ -632,6 +710,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DeploymentArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -658,12 +740,27 @@ def _internal_init(__self__, __props__ = DeploymentArgs.__new__(DeploymentArgs) __props__.__dict__["defined_tags"] = defined_tags + if deploy_artifact_override_arguments is not None and not isinstance(deploy_artifact_override_arguments, DeploymentDeployArtifactOverrideArgumentsArgs): + deploy_artifact_override_arguments = deploy_artifact_override_arguments or {} + def _setter(key, value): + deploy_artifact_override_arguments[key] = value + DeploymentDeployArtifactOverrideArgumentsArgs._configure(_setter, **deploy_artifact_override_arguments) __props__.__dict__["deploy_artifact_override_arguments"] = deploy_artifact_override_arguments if deploy_pipeline_id is None and not opts.urn: raise TypeError("Missing required property 'deploy_pipeline_id'") __props__.__dict__["deploy_pipeline_id"] = deploy_pipeline_id __props__.__dict__["deploy_stage_id"] = deploy_stage_id + if deploy_stage_override_arguments is not None and not isinstance(deploy_stage_override_arguments, DeploymentDeployStageOverrideArgumentsArgs): + deploy_stage_override_arguments = deploy_stage_override_arguments or {} + def _setter(key, value): + deploy_stage_override_arguments[key] = value + DeploymentDeployStageOverrideArgumentsArgs._configure(_setter, **deploy_stage_override_arguments) __props__.__dict__["deploy_stage_override_arguments"] = deploy_stage_override_arguments + if deployment_arguments is not None and not isinstance(deployment_arguments, DeploymentDeploymentArgumentsArgs): + deployment_arguments = deployment_arguments or {} + def _setter(key, value): + deployment_arguments[key] = value + DeploymentDeploymentArgumentsArgs._configure(_setter, **deployment_arguments) __props__.__dict__["deployment_arguments"] = deployment_arguments if deployment_type is None and not opts.urn: raise TypeError("Missing required property 'deployment_type'") diff --git a/sdk/python/pulumi_oci/devops/get_build_pipeline.py b/sdk/python/pulumi_oci/devops/get_build_pipeline.py index 714348cd7c..6705a1aa5b 100644 --- a/sdk/python/pulumi_oci/devops/get_build_pipeline.py +++ b/sdk/python/pulumi_oci/devops/get_build_pipeline.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/devops/get_build_pipeline_stage.py b/sdk/python/pulumi_oci/devops/get_build_pipeline_stage.py index 338d7fb043..877a1c1a40 100644 --- a/sdk/python/pulumi_oci/devops/get_build_pipeline_stage.py +++ b/sdk/python/pulumi_oci/devops/get_build_pipeline_stage.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/devops/get_build_pipeline_stages.py b/sdk/python/pulumi_oci/devops/get_build_pipeline_stages.py index 670a849ef4..dbc0b62088 100644 --- a/sdk/python/pulumi_oci/devops/get_build_pipeline_stages.py +++ b/sdk/python/pulumi_oci/devops/get_build_pipeline_stages.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/devops/get_build_pipelines.py b/sdk/python/pulumi_oci/devops/get_build_pipelines.py index db6dc7fe61..b2b00b5693 100644 --- a/sdk/python/pulumi_oci/devops/get_build_pipelines.py +++ b/sdk/python/pulumi_oci/devops/get_build_pipelines.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/devops/get_build_run.py b/sdk/python/pulumi_oci/devops/get_build_run.py index 77b946638c..338330dbd9 100644 --- a/sdk/python/pulumi_oci/devops/get_build_run.py +++ b/sdk/python/pulumi_oci/devops/get_build_run.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/devops/get_build_runs.py b/sdk/python/pulumi_oci/devops/get_build_runs.py index b154605a09..caa1c89603 100644 --- a/sdk/python/pulumi_oci/devops/get_build_runs.py +++ b/sdk/python/pulumi_oci/devops/get_build_runs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/devops/get_connection.py b/sdk/python/pulumi_oci/devops/get_connection.py index 7a06e3e939..2f6efe1b15 100644 --- a/sdk/python/pulumi_oci/devops/get_connection.py +++ b/sdk/python/pulumi_oci/devops/get_connection.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/devops/get_connections.py b/sdk/python/pulumi_oci/devops/get_connections.py index 9a4c0a010c..b9706b899c 100644 --- a/sdk/python/pulumi_oci/devops/get_connections.py +++ b/sdk/python/pulumi_oci/devops/get_connections.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/devops/get_deploy_artifact.py b/sdk/python/pulumi_oci/devops/get_deploy_artifact.py index b50f868281..68c60369e0 100644 --- a/sdk/python/pulumi_oci/devops/get_deploy_artifact.py +++ b/sdk/python/pulumi_oci/devops/get_deploy_artifact.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/devops/get_deploy_artifacts.py b/sdk/python/pulumi_oci/devops/get_deploy_artifacts.py index 124ae84ccf..138c7278f3 100644 --- a/sdk/python/pulumi_oci/devops/get_deploy_artifacts.py +++ b/sdk/python/pulumi_oci/devops/get_deploy_artifacts.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/devops/get_deploy_environment.py b/sdk/python/pulumi_oci/devops/get_deploy_environment.py index 4047105c9f..1b30595a6e 100644 --- a/sdk/python/pulumi_oci/devops/get_deploy_environment.py +++ b/sdk/python/pulumi_oci/devops/get_deploy_environment.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/devops/get_deploy_environments.py b/sdk/python/pulumi_oci/devops/get_deploy_environments.py index 91c1d2ef6b..d043cc8760 100644 --- a/sdk/python/pulumi_oci/devops/get_deploy_environments.py +++ b/sdk/python/pulumi_oci/devops/get_deploy_environments.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/devops/get_deploy_pipeline.py b/sdk/python/pulumi_oci/devops/get_deploy_pipeline.py index 6eeff8674e..801d7bf258 100644 --- a/sdk/python/pulumi_oci/devops/get_deploy_pipeline.py +++ b/sdk/python/pulumi_oci/devops/get_deploy_pipeline.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/devops/get_deploy_pipelines.py b/sdk/python/pulumi_oci/devops/get_deploy_pipelines.py index 803055b7c5..8e625f7790 100644 --- a/sdk/python/pulumi_oci/devops/get_deploy_pipelines.py +++ b/sdk/python/pulumi_oci/devops/get_deploy_pipelines.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/devops/get_deploy_stage.py b/sdk/python/pulumi_oci/devops/get_deploy_stage.py index 66beb094b0..08b200381c 100644 --- a/sdk/python/pulumi_oci/devops/get_deploy_stage.py +++ b/sdk/python/pulumi_oci/devops/get_deploy_stage.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/devops/get_deploy_stages.py b/sdk/python/pulumi_oci/devops/get_deploy_stages.py index e5128ccbdf..3d4d2ea069 100644 --- a/sdk/python/pulumi_oci/devops/get_deploy_stages.py +++ b/sdk/python/pulumi_oci/devops/get_deploy_stages.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/devops/get_deployment.py b/sdk/python/pulumi_oci/devops/get_deployment.py index c4bf1a04a0..15b02fd31a 100644 --- a/sdk/python/pulumi_oci/devops/get_deployment.py +++ b/sdk/python/pulumi_oci/devops/get_deployment.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/devops/get_deployments.py b/sdk/python/pulumi_oci/devops/get_deployments.py index 60c7e69f17..0f33f1191f 100644 --- a/sdk/python/pulumi_oci/devops/get_deployments.py +++ b/sdk/python/pulumi_oci/devops/get_deployments.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/devops/get_project.py b/sdk/python/pulumi_oci/devops/get_project.py index 2ae3ccc5c4..ea11985dd2 100644 --- a/sdk/python/pulumi_oci/devops/get_project.py +++ b/sdk/python/pulumi_oci/devops/get_project.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/devops/get_projects.py b/sdk/python/pulumi_oci/devops/get_projects.py index 6a0c96b396..5f92620328 100644 --- a/sdk/python/pulumi_oci/devops/get_projects.py +++ b/sdk/python/pulumi_oci/devops/get_projects.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/devops/get_repo_file_line.py b/sdk/python/pulumi_oci/devops/get_repo_file_line.py index db0e7151d7..e22664e92c 100644 --- a/sdk/python/pulumi_oci/devops/get_repo_file_line.py +++ b/sdk/python/pulumi_oci/devops/get_repo_file_line.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/devops/get_repositories.py b/sdk/python/pulumi_oci/devops/get_repositories.py index fc8946cbe6..e6f6752f2a 100644 --- a/sdk/python/pulumi_oci/devops/get_repositories.py +++ b/sdk/python/pulumi_oci/devops/get_repositories.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/devops/get_repository.py b/sdk/python/pulumi_oci/devops/get_repository.py index 046cd15474..d3aaf24516 100644 --- a/sdk/python/pulumi_oci/devops/get_repository.py +++ b/sdk/python/pulumi_oci/devops/get_repository.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/devops/get_repository_archive_content.py b/sdk/python/pulumi_oci/devops/get_repository_archive_content.py index 9a3d2c55ff..c2d5f404ea 100644 --- a/sdk/python/pulumi_oci/devops/get_repository_archive_content.py +++ b/sdk/python/pulumi_oci/devops/get_repository_archive_content.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/devops/get_repository_author.py b/sdk/python/pulumi_oci/devops/get_repository_author.py index f29c2d9ec1..c1029ccf5e 100644 --- a/sdk/python/pulumi_oci/devops/get_repository_author.py +++ b/sdk/python/pulumi_oci/devops/get_repository_author.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/devops/get_repository_authors.py b/sdk/python/pulumi_oci/devops/get_repository_authors.py index 6c30503481..e1622c3468 100644 --- a/sdk/python/pulumi_oci/devops/get_repository_authors.py +++ b/sdk/python/pulumi_oci/devops/get_repository_authors.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/devops/get_repository_commit.py b/sdk/python/pulumi_oci/devops/get_repository_commit.py index 87369bd253..7804e1a84e 100644 --- a/sdk/python/pulumi_oci/devops/get_repository_commit.py +++ b/sdk/python/pulumi_oci/devops/get_repository_commit.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/devops/get_repository_commits.py b/sdk/python/pulumi_oci/devops/get_repository_commits.py index 23c95d7ef6..e9a74ce17b 100644 --- a/sdk/python/pulumi_oci/devops/get_repository_commits.py +++ b/sdk/python/pulumi_oci/devops/get_repository_commits.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/devops/get_repository_diff.py b/sdk/python/pulumi_oci/devops/get_repository_diff.py index 7190e751ca..a256a2ffc2 100644 --- a/sdk/python/pulumi_oci/devops/get_repository_diff.py +++ b/sdk/python/pulumi_oci/devops/get_repository_diff.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/devops/get_repository_diffs.py b/sdk/python/pulumi_oci/devops/get_repository_diffs.py index fa023bb908..666faa5adf 100644 --- a/sdk/python/pulumi_oci/devops/get_repository_diffs.py +++ b/sdk/python/pulumi_oci/devops/get_repository_diffs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/devops/get_repository_file_diff.py b/sdk/python/pulumi_oci/devops/get_repository_file_diff.py index 594e87f80d..d45fe2b813 100644 --- a/sdk/python/pulumi_oci/devops/get_repository_file_diff.py +++ b/sdk/python/pulumi_oci/devops/get_repository_file_diff.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/devops/get_repository_file_line.py b/sdk/python/pulumi_oci/devops/get_repository_file_line.py index c8ce160154..679515afeb 100644 --- a/sdk/python/pulumi_oci/devops/get_repository_file_line.py +++ b/sdk/python/pulumi_oci/devops/get_repository_file_line.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/devops/get_repository_mirror_record.py b/sdk/python/pulumi_oci/devops/get_repository_mirror_record.py index 8828691178..c92d9379fc 100644 --- a/sdk/python/pulumi_oci/devops/get_repository_mirror_record.py +++ b/sdk/python/pulumi_oci/devops/get_repository_mirror_record.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/devops/get_repository_mirror_records.py b/sdk/python/pulumi_oci/devops/get_repository_mirror_records.py index 20d020d9d9..e508c029b5 100644 --- a/sdk/python/pulumi_oci/devops/get_repository_mirror_records.py +++ b/sdk/python/pulumi_oci/devops/get_repository_mirror_records.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/devops/get_repository_object.py b/sdk/python/pulumi_oci/devops/get_repository_object.py index a47c08e528..dad4327515 100644 --- a/sdk/python/pulumi_oci/devops/get_repository_object.py +++ b/sdk/python/pulumi_oci/devops/get_repository_object.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/devops/get_repository_object_content.py b/sdk/python/pulumi_oci/devops/get_repository_object_content.py index a6c6fb9b30..150694acb5 100644 --- a/sdk/python/pulumi_oci/devops/get_repository_object_content.py +++ b/sdk/python/pulumi_oci/devops/get_repository_object_content.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/devops/get_repository_path.py b/sdk/python/pulumi_oci/devops/get_repository_path.py index 30d489e2d0..c99096edd2 100644 --- a/sdk/python/pulumi_oci/devops/get_repository_path.py +++ b/sdk/python/pulumi_oci/devops/get_repository_path.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/devops/get_repository_paths.py b/sdk/python/pulumi_oci/devops/get_repository_paths.py index 02c75d9347..4fd0011988 100644 --- a/sdk/python/pulumi_oci/devops/get_repository_paths.py +++ b/sdk/python/pulumi_oci/devops/get_repository_paths.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/devops/get_repository_ref.py b/sdk/python/pulumi_oci/devops/get_repository_ref.py index a7728c06bc..a4351e46ea 100644 --- a/sdk/python/pulumi_oci/devops/get_repository_ref.py +++ b/sdk/python/pulumi_oci/devops/get_repository_ref.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/devops/get_repository_refs.py b/sdk/python/pulumi_oci/devops/get_repository_refs.py index 30b02b4b08..1b86d346d2 100644 --- a/sdk/python/pulumi_oci/devops/get_repository_refs.py +++ b/sdk/python/pulumi_oci/devops/get_repository_refs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/devops/get_trigger.py b/sdk/python/pulumi_oci/devops/get_trigger.py index dcffab87ec..46e816ecfc 100644 --- a/sdk/python/pulumi_oci/devops/get_trigger.py +++ b/sdk/python/pulumi_oci/devops/get_trigger.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/devops/get_triggers.py b/sdk/python/pulumi_oci/devops/get_triggers.py index 60bec82db4..0fc8bfa2fb 100644 --- a/sdk/python/pulumi_oci/devops/get_triggers.py +++ b/sdk/python/pulumi_oci/devops/get_triggers.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/devops/outputs.py b/sdk/python/pulumi_oci/devops/outputs.py index 58ee74354a..0908670a47 100644 --- a/sdk/python/pulumi_oci/devops/outputs.py +++ b/sdk/python/pulumi_oci/devops/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -357,7 +357,16 @@ def __init__(__self__, *, """ :param Sequence['BuildPipelineBuildPipelineParametersItemArgs'] items: (Updatable) List of parameters defined for a build pipeline. """ - pulumi.set(__self__, "items", items) + BuildPipelineBuildPipelineParameters._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.BuildPipelineBuildPipelineParametersItem'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -396,10 +405,23 @@ def __init__(__self__, *, :param str name: (Updatable) Name of the parameter (case-sensitive). Parameter name must be ^[a-zA-Z][a-zA-Z_0-9]*$. Example: 'Build_Pipeline_param' is not same as 'build_pipeline_Param' :param str description: (Updatable) Optional description about the build pipeline. """ - pulumi.set(__self__, "default_value", default_value) - pulumi.set(__self__, "name", name) + BuildPipelineBuildPipelineParametersItem._configure( + lambda key, value: pulumi.set(__self__, key, value), + default_value=default_value, + name=name, + description=description, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + default_value: str, + name: str, + description: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("default_value", default_value) + _setter("name", name) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) @property @pulumi.getter(name="defaultValue") @@ -433,7 +455,16 @@ def __init__(__self__, *, """ :param Sequence['BuildPipelineStageBuildPipelineStagePredecessorCollectionItemArgs'] items: (Updatable) Collection of artifacts that were generated in the Build stage and need to be pushed to the artifactory stores. In case of UPDATE operation, replaces existing artifacts list. Merging with existing artifacts is not supported. """ - pulumi.set(__self__, "items", items) + BuildPipelineStageBuildPipelineStagePredecessorCollection._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.BuildPipelineStageBuildPipelineStagePredecessorCollectionItem'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -451,7 +482,16 @@ def __init__(__self__, *, """ :param str id: (Updatable) The OCID of the predecessor stage. If a stage is the first stage in the pipeline, then the ID is the pipeline's OCID. """ - pulumi.set(__self__, "id", id) + BuildPipelineStageBuildPipelineStagePredecessorCollectionItem._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) @property @pulumi.getter @@ -492,11 +532,24 @@ def __init__(__self__, *, :param int memory_in_gbs: (Updatable) The total amount of memory set for the instance in gigabytes. :param int ocpus: (Updatable) The total number of OCPUs set for the instance. """ - pulumi.set(__self__, "build_runner_type", build_runner_type) + BuildPipelineStageBuildRunnerShapeConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + build_runner_type=build_runner_type, + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + build_runner_type: str, + memory_in_gbs: Optional[int] = None, + ocpus: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("build_runner_type", build_runner_type) if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) if ocpus is not None: - pulumi.set(__self__, "ocpus", ocpus) + _setter("ocpus", ocpus) @property @pulumi.getter(name="buildRunnerType") @@ -530,8 +583,17 @@ def __init__(__self__, *, """ :param Sequence['BuildPipelineStageBuildSourceCollectionItemArgs'] items: (Updatable) Collection of artifacts that were generated in the Build stage and need to be pushed to the artifactory stores. In case of UPDATE operation, replaces existing artifacts list. Merging with existing artifacts is not supported. """ + BuildPipelineStageBuildSourceCollection._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Optional[Sequence['outputs.BuildPipelineStageBuildSourceCollectionItem']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) @property @pulumi.getter @@ -582,17 +644,36 @@ def __init__(__self__, *, :param str repository_id: (Updatable) The DevOps code repository ID. :param str repository_url: (Updatable) URL for the repository. """ - pulumi.set(__self__, "connection_type", connection_type) + BuildPipelineStageBuildSourceCollectionItem._configure( + lambda key, value: pulumi.set(__self__, key, value), + connection_type=connection_type, + branch=branch, + connection_id=connection_id, + name=name, + repository_id=repository_id, + repository_url=repository_url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + connection_type: str, + branch: Optional[str] = None, + connection_id: Optional[str] = None, + name: Optional[str] = None, + repository_id: Optional[str] = None, + repository_url: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("connection_type", connection_type) if branch is not None: - pulumi.set(__self__, "branch", branch) + _setter("branch", branch) if connection_id is not None: - pulumi.set(__self__, "connection_id", connection_id) + _setter("connection_id", connection_id) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if repository_id is not None: - pulumi.set(__self__, "repository_id", repository_id) + _setter("repository_id", repository_id) if repository_url is not None: - pulumi.set(__self__, "repository_url", repository_url) + _setter("repository_url", repository_url) @property @pulumi.getter(name="connectionType") @@ -650,8 +731,17 @@ def __init__(__self__, *, """ :param Sequence['BuildPipelineStageDeliverArtifactCollectionItemArgs'] items: (Updatable) Collection of artifacts that were generated in the Build stage and need to be pushed to the artifactory stores. In case of UPDATE operation, replaces existing artifacts list. Merging with existing artifacts is not supported. """ + BuildPipelineStageDeliverArtifactCollection._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Optional[Sequence['outputs.BuildPipelineStageDeliverArtifactCollectionItem']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) @property @pulumi.getter @@ -690,10 +780,21 @@ def __init__(__self__, *, :param str artifact_id: (Updatable) Artifact identifier that contains the artifact definition. :param str artifact_name: (Updatable) Name of the artifact specified in the build_spec.yaml file. """ + BuildPipelineStageDeliverArtifactCollectionItem._configure( + lambda key, value: pulumi.set(__self__, key, value), + artifact_id=artifact_id, + artifact_name=artifact_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + artifact_id: Optional[str] = None, + artifact_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if artifact_id is not None: - pulumi.set(__self__, "artifact_id", artifact_id) + _setter("artifact_id", artifact_id) if artifact_name is not None: - pulumi.set(__self__, "artifact_name", artifact_name) + _setter("artifact_name", artifact_name) @property @pulumi.getter(name="artifactId") @@ -744,10 +845,23 @@ def __init__(__self__, *, :param str subnet_id: (Updatable) The OCID of the subnet where VNIC resources will be created for private endpoint. :param Sequence[str] nsg_ids: (Updatable) An array of network security group OCIDs. """ - pulumi.set(__self__, "network_channel_type", network_channel_type) - pulumi.set(__self__, "subnet_id", subnet_id) + BuildPipelineStagePrivateAccessConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + network_channel_type=network_channel_type, + subnet_id=subnet_id, + nsg_ids=nsg_ids, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + network_channel_type: str, + subnet_id: str, + nsg_ids: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("network_channel_type", network_channel_type) + _setter("subnet_id", subnet_id) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) @property @pulumi.getter(name="networkChannelType") @@ -806,8 +920,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "wait_duration", wait_duration) - pulumi.set(__self__, "wait_type", wait_type) + BuildPipelineStageWaitCriteria._configure( + lambda key, value: pulumi.set(__self__, key, value), + wait_duration=wait_duration, + wait_type=wait_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + wait_duration: str, + wait_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("wait_duration", wait_duration) + _setter("wait_type", wait_type) @property @pulumi.getter(name="waitDuration") @@ -866,14 +991,29 @@ def __init__(__self__, *, :param Sequence['BuildRunBuildOutputExportedVariableArgs'] exported_variables: Specifies list of exported variables. :param Sequence['BuildRunBuildOutputVulnerabilityAuditSummaryCollectionArgs'] vulnerability_audit_summary_collections: List of vulnerability audit summary. """ + BuildRunBuildOutput._configure( + lambda key, value: pulumi.set(__self__, key, value), + artifact_override_parameters=artifact_override_parameters, + delivered_artifacts=delivered_artifacts, + exported_variables=exported_variables, + vulnerability_audit_summary_collections=vulnerability_audit_summary_collections, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + artifact_override_parameters: Optional[Sequence['outputs.BuildRunBuildOutputArtifactOverrideParameter']] = None, + delivered_artifacts: Optional[Sequence['outputs.BuildRunBuildOutputDeliveredArtifact']] = None, + exported_variables: Optional[Sequence['outputs.BuildRunBuildOutputExportedVariable']] = None, + vulnerability_audit_summary_collections: Optional[Sequence['outputs.BuildRunBuildOutputVulnerabilityAuditSummaryCollection']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if artifact_override_parameters is not None: - pulumi.set(__self__, "artifact_override_parameters", artifact_override_parameters) + _setter("artifact_override_parameters", artifact_override_parameters) if delivered_artifacts is not None: - pulumi.set(__self__, "delivered_artifacts", delivered_artifacts) + _setter("delivered_artifacts", delivered_artifacts) if exported_variables is not None: - pulumi.set(__self__, "exported_variables", exported_variables) + _setter("exported_variables", exported_variables) if vulnerability_audit_summary_collections is not None: - pulumi.set(__self__, "vulnerability_audit_summary_collections", vulnerability_audit_summary_collections) + _setter("vulnerability_audit_summary_collections", vulnerability_audit_summary_collections) @property @pulumi.getter(name="artifactOverrideParameters") @@ -915,8 +1055,17 @@ def __init__(__self__, *, """ :param Sequence['BuildRunBuildOutputArtifactOverrideParameterItemArgs'] items: List of arguments provided at the time of running the build. """ + BuildRunBuildOutputArtifactOverrideParameter._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Optional[Sequence['outputs.BuildRunBuildOutputArtifactOverrideParameterItem']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) @property @pulumi.getter @@ -955,12 +1104,25 @@ def __init__(__self__, *, :param str name: Name of the parameter (case-sensitive). Parameter name must be ^[a-zA-Z][a-zA-Z_0-9]*$. Example: 'Build_Pipeline_param' is not same as 'build_pipeline_Param' :param str value: Value of the argument. """ + BuildRunBuildOutputArtifactOverrideParameterItem._configure( + lambda key, value: pulumi.set(__self__, key, value), + deploy_artifact_id=deploy_artifact_id, + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deploy_artifact_id: Optional[str] = None, + name: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if deploy_artifact_id is not None: - pulumi.set(__self__, "deploy_artifact_id", deploy_artifact_id) + _setter("deploy_artifact_id", deploy_artifact_id) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter(name="deployArtifactId") @@ -994,8 +1156,17 @@ def __init__(__self__, *, """ :param Sequence['BuildRunBuildOutputDeliveredArtifactItemArgs'] items: List of arguments provided at the time of running the build. """ + BuildRunBuildOutputDeliveredArtifact._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Optional[Sequence['outputs.BuildRunBuildOutputDeliveredArtifactItem']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) @property @pulumi.getter @@ -1058,24 +1229,49 @@ def __init__(__self__, *, :param str path: Path of the repository where artifact was pushed :param str version: Version of the artifact pushed """ + BuildRunBuildOutputDeliveredArtifactItem._configure( + lambda key, value: pulumi.set(__self__, key, value), + artifact_repository_id=artifact_repository_id, + artifact_type=artifact_type, + delivered_artifact_hash=delivered_artifact_hash, + delivered_artifact_id=delivered_artifact_id, + deploy_artifact_id=deploy_artifact_id, + image_uri=image_uri, + output_artifact_name=output_artifact_name, + path=path, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + artifact_repository_id: Optional[str] = None, + artifact_type: Optional[str] = None, + delivered_artifact_hash: Optional[str] = None, + delivered_artifact_id: Optional[str] = None, + deploy_artifact_id: Optional[str] = None, + image_uri: Optional[str] = None, + output_artifact_name: Optional[str] = None, + path: Optional[str] = None, + version: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if artifact_repository_id is not None: - pulumi.set(__self__, "artifact_repository_id", artifact_repository_id) + _setter("artifact_repository_id", artifact_repository_id) if artifact_type is not None: - pulumi.set(__self__, "artifact_type", artifact_type) + _setter("artifact_type", artifact_type) if delivered_artifact_hash is not None: - pulumi.set(__self__, "delivered_artifact_hash", delivered_artifact_hash) + _setter("delivered_artifact_hash", delivered_artifact_hash) if delivered_artifact_id is not None: - pulumi.set(__self__, "delivered_artifact_id", delivered_artifact_id) + _setter("delivered_artifact_id", delivered_artifact_id) if deploy_artifact_id is not None: - pulumi.set(__self__, "deploy_artifact_id", deploy_artifact_id) + _setter("deploy_artifact_id", deploy_artifact_id) if image_uri is not None: - pulumi.set(__self__, "image_uri", image_uri) + _setter("image_uri", image_uri) if output_artifact_name is not None: - pulumi.set(__self__, "output_artifact_name", output_artifact_name) + _setter("output_artifact_name", output_artifact_name) if path is not None: - pulumi.set(__self__, "path", path) + _setter("path", path) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter(name="artifactRepositoryId") @@ -1157,8 +1353,17 @@ def __init__(__self__, *, """ :param Sequence['BuildRunBuildOutputExportedVariableItemArgs'] items: List of arguments provided at the time of running the build. """ + BuildRunBuildOutputExportedVariable._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Optional[Sequence['outputs.BuildRunBuildOutputExportedVariableItem']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) @property @pulumi.getter @@ -1178,10 +1383,21 @@ def __init__(__self__, *, :param str name: Name of the parameter (case-sensitive). Parameter name must be ^[a-zA-Z][a-zA-Z_0-9]*$. Example: 'Build_Pipeline_param' is not same as 'build_pipeline_Param' :param str value: Value of the argument. """ + BuildRunBuildOutputExportedVariableItem._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -1207,8 +1423,17 @@ def __init__(__self__, *, """ :param Sequence['BuildRunBuildOutputVulnerabilityAuditSummaryCollectionItemArgs'] items: List of arguments provided at the time of running the build. """ + BuildRunBuildOutputVulnerabilityAuditSummaryCollection._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Optional[Sequence['outputs.BuildRunBuildOutputVulnerabilityAuditSummaryCollectionItem']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) @property @pulumi.getter @@ -1251,12 +1476,25 @@ def __init__(__self__, *, :param str commit_hash: Commit hash pertinent to the repository URL and the specified branch. :param str vulnerability_audit_id: The OCID of the vulnerability audit. """ + BuildRunBuildOutputVulnerabilityAuditSummaryCollectionItem._configure( + lambda key, value: pulumi.set(__self__, key, value), + build_stage_id=build_stage_id, + commit_hash=commit_hash, + vulnerability_audit_id=vulnerability_audit_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + build_stage_id: Optional[str] = None, + commit_hash: Optional[str] = None, + vulnerability_audit_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if build_stage_id is not None: - pulumi.set(__self__, "build_stage_id", build_stage_id) + _setter("build_stage_id", build_stage_id) if commit_hash is not None: - pulumi.set(__self__, "commit_hash", commit_hash) + _setter("commit_hash", commit_hash) if vulnerability_audit_id is not None: - pulumi.set(__self__, "vulnerability_audit_id", vulnerability_audit_id) + _setter("vulnerability_audit_id", vulnerability_audit_id) @property @pulumi.getter(name="buildStageId") @@ -1290,7 +1528,16 @@ def __init__(__self__, *, """ :param Sequence['BuildRunBuildRunArgumentsItemArgs'] items: List of arguments provided at the time of running the build. """ - pulumi.set(__self__, "items", items) + BuildRunBuildRunArguments._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.BuildRunBuildRunArgumentsItem'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1310,8 +1557,19 @@ def __init__(__self__, *, :param str name: Name of the parameter (case-sensitive). Parameter name must be ^[a-zA-Z][a-zA-Z_0-9]*$. Example: 'Build_Pipeline_param' is not same as 'build_pipeline_Param' :param str value: Value of the argument. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + BuildRunBuildRunArgumentsItem._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("value", value) @property @pulumi.getter @@ -1362,12 +1620,25 @@ def __init__(__self__, *, :param str time_finished: The time the build run finished. Format defined by [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339). :param str time_started: The time the build run started. Format defined by [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339). """ + BuildRunBuildRunProgress._configure( + lambda key, value: pulumi.set(__self__, key, value), + build_pipeline_stage_run_progress=build_pipeline_stage_run_progress, + time_finished=time_finished, + time_started=time_started, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + build_pipeline_stage_run_progress: Optional[Mapping[str, Any]] = None, + time_finished: Optional[str] = None, + time_started: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if build_pipeline_stage_run_progress is not None: - pulumi.set(__self__, "build_pipeline_stage_run_progress", build_pipeline_stage_run_progress) + _setter("build_pipeline_stage_run_progress", build_pipeline_stage_run_progress) if time_finished is not None: - pulumi.set(__self__, "time_finished", time_finished) + _setter("time_finished", time_finished) if time_started is not None: - pulumi.set(__self__, "time_started", time_started) + _setter("time_started", time_started) @property @pulumi.getter(name="buildPipelineStageRunProgress") @@ -1430,14 +1701,29 @@ def __init__(__self__, *, :param str trigger_id: The trigger that invoked the build run. :param Sequence['BuildRunBuildRunSourceTriggerInfoArgs'] trigger_infos: Trigger details that need to be used for the BuildRun """ + BuildRunBuildRunSource._configure( + lambda key, value: pulumi.set(__self__, key, value), + repository_id=repository_id, + source_type=source_type, + trigger_id=trigger_id, + trigger_infos=trigger_infos, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + repository_id: Optional[str] = None, + source_type: Optional[str] = None, + trigger_id: Optional[str] = None, + trigger_infos: Optional[Sequence['outputs.BuildRunBuildRunSourceTriggerInfo']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if repository_id is not None: - pulumi.set(__self__, "repository_id", repository_id) + _setter("repository_id", repository_id) if source_type is not None: - pulumi.set(__self__, "source_type", source_type) + _setter("source_type", source_type) if trigger_id is not None: - pulumi.set(__self__, "trigger_id", trigger_id) + _setter("trigger_id", trigger_id) if trigger_infos is not None: - pulumi.set(__self__, "trigger_infos", trigger_infos) + _setter("trigger_infos", trigger_infos) @property @pulumi.getter(name="repositoryId") @@ -1498,10 +1784,21 @@ def __init__(__self__, *, :param Sequence['BuildRunBuildRunSourceTriggerInfoActionArgs'] actions: The list of actions that are to be performed for this Trigger :param str display_name: (Updatable) Build run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. """ + BuildRunBuildRunSourceTriggerInfo._configure( + lambda key, value: pulumi.set(__self__, key, value), + actions=actions, + display_name=display_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + actions: Optional[Sequence['outputs.BuildRunBuildRunSourceTriggerInfoAction']] = None, + display_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if actions is not None: - pulumi.set(__self__, "actions", actions) + _setter("actions", actions) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) @property @pulumi.getter @@ -1548,12 +1845,25 @@ def __init__(__self__, *, :param Sequence['BuildRunBuildRunSourceTriggerInfoActionFilterArgs'] filters: The filters for the trigger. :param str type: The type of action that will be taken. Allowed value is TRIGGER_BUILD_PIPELINE. """ + BuildRunBuildRunSourceTriggerInfoAction._configure( + lambda key, value: pulumi.set(__self__, key, value), + build_pipeline_id=build_pipeline_id, + filters=filters, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + build_pipeline_id: Optional[str] = None, + filters: Optional[Sequence['outputs.BuildRunBuildRunSourceTriggerInfoActionFilter']] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if build_pipeline_id is not None: - pulumi.set(__self__, "build_pipeline_id", build_pipeline_id) + _setter("build_pipeline_id", build_pipeline_id) if filters is not None: - pulumi.set(__self__, "filters", filters) + _setter("filters", filters) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter(name="buildPipelineId") @@ -1609,14 +1919,29 @@ def __init__(__self__, *, :param Sequence['BuildRunBuildRunSourceTriggerInfoActionFilterIncludeArgs'] includes: Attributes to filter GitLab self-hosted server events. :param str trigger_source: Source of the trigger. Allowed values are, GITHUB and GITLAB. """ + BuildRunBuildRunSourceTriggerInfoActionFilter._configure( + lambda key, value: pulumi.set(__self__, key, value), + events=events, + excludes=excludes, + includes=includes, + trigger_source=trigger_source, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + events: Optional[Sequence[str]] = None, + excludes: Optional[Sequence['outputs.BuildRunBuildRunSourceTriggerInfoActionFilterExclude']] = None, + includes: Optional[Sequence['outputs.BuildRunBuildRunSourceTriggerInfoActionFilterInclude']] = None, + trigger_source: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if events is not None: - pulumi.set(__self__, "events", events) + _setter("events", events) if excludes is not None: - pulumi.set(__self__, "excludes", excludes) + _setter("excludes", excludes) if includes is not None: - pulumi.set(__self__, "includes", includes) + _setter("includes", includes) if trigger_source is not None: - pulumi.set(__self__, "trigger_source", trigger_source) + _setter("trigger_source", trigger_source) @property @pulumi.getter @@ -1669,8 +1994,17 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, file_filters: Optional[Sequence['outputs.BuildRunBuildRunSourceTriggerInfoActionFilterExcludeFileFilter']] = None): + BuildRunBuildRunSourceTriggerInfoActionFilterExclude._configure( + lambda key, value: pulumi.set(__self__, key, value), + file_filters=file_filters, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + file_filters: Optional[Sequence['outputs.BuildRunBuildRunSourceTriggerInfoActionFilterExcludeFileFilter']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if file_filters is not None: - pulumi.set(__self__, "file_filters", file_filters) + _setter("file_filters", file_filters) @property @pulumi.getter(name="fileFilters") @@ -1699,8 +2033,17 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, file_paths: Optional[Sequence[str]] = None): + BuildRunBuildRunSourceTriggerInfoActionFilterExcludeFileFilter._configure( + lambda key, value: pulumi.set(__self__, key, value), + file_paths=file_paths, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + file_paths: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if file_paths is not None: - pulumi.set(__self__, "file_paths", file_paths) + _setter("file_paths", file_paths) @property @pulumi.getter(name="filePaths") @@ -1743,14 +2086,29 @@ def __init__(__self__, *, :param str head_ref: Branch for push event; source branch for pull requests. :param str repository_name: The repository name for trigger events. """ + BuildRunBuildRunSourceTriggerInfoActionFilterInclude._configure( + lambda key, value: pulumi.set(__self__, key, value), + base_ref=base_ref, + file_filters=file_filters, + head_ref=head_ref, + repository_name=repository_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + base_ref: Optional[str] = None, + file_filters: Optional[Sequence['outputs.BuildRunBuildRunSourceTriggerInfoActionFilterIncludeFileFilter']] = None, + head_ref: Optional[str] = None, + repository_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if base_ref is not None: - pulumi.set(__self__, "base_ref", base_ref) + _setter("base_ref", base_ref) if file_filters is not None: - pulumi.set(__self__, "file_filters", file_filters) + _setter("file_filters", file_filters) if head_ref is not None: - pulumi.set(__self__, "head_ref", head_ref) + _setter("head_ref", head_ref) if repository_name is not None: - pulumi.set(__self__, "repository_name", repository_name) + _setter("repository_name", repository_name) @property @pulumi.getter(name="baseRef") @@ -1803,8 +2161,17 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, file_paths: Optional[Sequence[str]] = None): + BuildRunBuildRunSourceTriggerInfoActionFilterIncludeFileFilter._configure( + lambda key, value: pulumi.set(__self__, key, value), + file_paths=file_paths, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + file_paths: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if file_paths is not None: - pulumi.set(__self__, "file_paths", file_paths) + _setter("file_paths", file_paths) @property @pulumi.getter(name="filePaths") @@ -1844,9 +2211,22 @@ def __init__(__self__, *, :param str repository_branch: Name of the repository branch. :param str repository_url: Repository URL. """ - pulumi.set(__self__, "commit_hash", commit_hash) - pulumi.set(__self__, "repository_branch", repository_branch) - pulumi.set(__self__, "repository_url", repository_url) + BuildRunCommitInfo._configure( + lambda key, value: pulumi.set(__self__, key, value), + commit_hash=commit_hash, + repository_branch=repository_branch, + repository_url=repository_url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + commit_hash: str, + repository_branch: str, + repository_url: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("commit_hash", commit_hash) + _setter("repository_branch", repository_branch) + _setter("repository_url", repository_url) @property @pulumi.getter(name="commitHash") @@ -1901,12 +2281,25 @@ def __init__(__self__, *, :param str result: The latest result of whether the credentials pass the validation. :param str time_validated: The latest timestamp when the connection was validated. Format defined by [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339). """ + ConnectionLastConnectionValidationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + message=message, + result=result, + time_validated=time_validated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + message: Optional[str] = None, + result: Optional[str] = None, + time_validated: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if message is not None: - pulumi.set(__self__, "message", message) + _setter("message", message) if result is not None: - pulumi.set(__self__, "result", result) + _setter("result", result) if time_validated is not None: - pulumi.set(__self__, "time_validated", time_validated) + _setter("time_validated", time_validated) @property @pulumi.getter @@ -1961,8 +2354,19 @@ def __init__(__self__, *, :param str ca_certificate_bundle_id: (Updatable) The OCID of Oracle Cloud Infrastructure certificate service CA bundle. :param str tls_verify_mode: (Updatable) The type of TLS verification. """ - pulumi.set(__self__, "ca_certificate_bundle_id", ca_certificate_bundle_id) - pulumi.set(__self__, "tls_verify_mode", tls_verify_mode) + ConnectionTlsVerifyConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + ca_certificate_bundle_id=ca_certificate_bundle_id, + tls_verify_mode=tls_verify_mode, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ca_certificate_bundle_id: str, + tls_verify_mode: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ca_certificate_bundle_id", ca_certificate_bundle_id) + _setter("tls_verify_mode", tls_verify_mode) @property @pulumi.getter(name="caCertificateBundleId") @@ -2037,23 +2441,48 @@ def __init__(__self__, *, :param str image_uri: (Updatable) Specifies OCIR Image Path - optionally include tag. :param str repository_id: (Updatable) The OCID of a repository """ - pulumi.set(__self__, "deploy_artifact_source_type", deploy_artifact_source_type) + DeployArtifactDeployArtifactSource._configure( + lambda key, value: pulumi.set(__self__, key, value), + deploy_artifact_source_type=deploy_artifact_source_type, + base64encoded_content=base64encoded_content, + chart_url=chart_url, + deploy_artifact_path=deploy_artifact_path, + deploy_artifact_version=deploy_artifact_version, + helm_verification_key_source=helm_verification_key_source, + image_digest=image_digest, + image_uri=image_uri, + repository_id=repository_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deploy_artifact_source_type: str, + base64encoded_content: Optional[str] = None, + chart_url: Optional[str] = None, + deploy_artifact_path: Optional[str] = None, + deploy_artifact_version: Optional[str] = None, + helm_verification_key_source: Optional['outputs.DeployArtifactDeployArtifactSourceHelmVerificationKeySource'] = None, + image_digest: Optional[str] = None, + image_uri: Optional[str] = None, + repository_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("deploy_artifact_source_type", deploy_artifact_source_type) if base64encoded_content is not None: - pulumi.set(__self__, "base64encoded_content", base64encoded_content) + _setter("base64encoded_content", base64encoded_content) if chart_url is not None: - pulumi.set(__self__, "chart_url", chart_url) + _setter("chart_url", chart_url) if deploy_artifact_path is not None: - pulumi.set(__self__, "deploy_artifact_path", deploy_artifact_path) + _setter("deploy_artifact_path", deploy_artifact_path) if deploy_artifact_version is not None: - pulumi.set(__self__, "deploy_artifact_version", deploy_artifact_version) + _setter("deploy_artifact_version", deploy_artifact_version) if helm_verification_key_source is not None: - pulumi.set(__self__, "helm_verification_key_source", helm_verification_key_source) + _setter("helm_verification_key_source", helm_verification_key_source) if image_digest is not None: - pulumi.set(__self__, "image_digest", image_digest) + _setter("image_digest", image_digest) if image_uri is not None: - pulumi.set(__self__, "image_uri", image_uri) + _setter("image_uri", image_uri) if repository_id is not None: - pulumi.set(__self__, "repository_id", repository_id) + _setter("repository_id", repository_id) @property @pulumi.getter(name="deployArtifactSourceType") @@ -2164,13 +2593,28 @@ def __init__(__self__, *, :param str previous_public_key: (Updatable) Previous version of Base64 encoding of the public key which is in binary GPG exported format. This would be used for key rotation scenarios. :param str vault_secret_id: (Updatable) The OCID of the Vault Secret containing the verification key versions. """ - pulumi.set(__self__, "verification_key_source_type", verification_key_source_type) + DeployArtifactDeployArtifactSourceHelmVerificationKeySource._configure( + lambda key, value: pulumi.set(__self__, key, value), + verification_key_source_type=verification_key_source_type, + current_public_key=current_public_key, + previous_public_key=previous_public_key, + vault_secret_id=vault_secret_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + verification_key_source_type: str, + current_public_key: Optional[str] = None, + previous_public_key: Optional[str] = None, + vault_secret_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("verification_key_source_type", verification_key_source_type) if current_public_key is not None: - pulumi.set(__self__, "current_public_key", current_public_key) + _setter("current_public_key", current_public_key) if previous_public_key is not None: - pulumi.set(__self__, "previous_public_key", previous_public_key) + _setter("previous_public_key", previous_public_key) if vault_secret_id is not None: - pulumi.set(__self__, "vault_secret_id", vault_secret_id) + _setter("vault_secret_id", vault_secret_id) @property @pulumi.getter(name="verificationKeySourceType") @@ -2212,8 +2656,17 @@ def __init__(__self__, *, """ :param Sequence['DeployEnvironmentComputeInstanceGroupSelectorsItemArgs'] items: (Updatable) A list of selectors for the instance group. UNION operator is used for combining the instances selected by each selector. """ + DeployEnvironmentComputeInstanceGroupSelectors._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Optional[Sequence['outputs.DeployEnvironmentComputeInstanceGroupSelectorsItem']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) @property @pulumi.getter @@ -2256,13 +2709,28 @@ def __init__(__self__, *, :param str query: (Updatable) Query expression confirming to the Oracle Cloud Infrastructure Search Language syntax to select compute instances for the group. The language is documented at https://docs.oracle.com/en-us/iaas/Content/Search/Concepts/querysyntax.htm :param str region: (Updatable) Region identifier referred by the deployment environment. Region identifiers are listed at https://docs.oracle.com/en-us/iaas/Content/General/Concepts/regions.htm """ - pulumi.set(__self__, "selector_type", selector_type) + DeployEnvironmentComputeInstanceGroupSelectorsItem._configure( + lambda key, value: pulumi.set(__self__, key, value), + selector_type=selector_type, + compute_instance_ids=compute_instance_ids, + query=query, + region=region, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + selector_type: str, + compute_instance_ids: Optional[Sequence[str]] = None, + query: Optional[str] = None, + region: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("selector_type", selector_type) if compute_instance_ids is not None: - pulumi.set(__self__, "compute_instance_ids", compute_instance_ids) + _setter("compute_instance_ids", compute_instance_ids) if query is not None: - pulumi.set(__self__, "query", query) + _setter("query", query) if region is not None: - pulumi.set(__self__, "region", region) + _setter("region", region) @property @pulumi.getter(name="selectorType") @@ -2329,10 +2797,23 @@ def __init__(__self__, *, :param str subnet_id: (Updatable) The OCID of the subnet where VNIC resources will be created for private endpoint. :param Sequence[str] nsg_ids: (Updatable) An array of network security group OCIDs. """ - pulumi.set(__self__, "network_channel_type", network_channel_type) - pulumi.set(__self__, "subnet_id", subnet_id) + DeployEnvironmentNetworkChannel._configure( + lambda key, value: pulumi.set(__self__, key, value), + network_channel_type=network_channel_type, + subnet_id=subnet_id, + nsg_ids=nsg_ids, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + network_channel_type: str, + subnet_id: str, + nsg_ids: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("network_channel_type", network_channel_type) + _setter("subnet_id", subnet_id) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) @property @pulumi.getter(name="networkChannelType") @@ -2366,8 +2847,17 @@ def __init__(__self__, *, """ :param Sequence['DeployPipelineDeployPipelineArtifactItemArgs'] items: (Updatable) List of parameters defined for a deployment pipeline. """ + DeployPipelineDeployPipelineArtifact._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Optional[Sequence['outputs.DeployPipelineDeployPipelineArtifactItem']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) @property @pulumi.getter @@ -2410,12 +2900,25 @@ def __init__(__self__, *, :param Sequence['DeployPipelineDeployPipelineArtifactItemDeployPipelineStageArgs'] deploy_pipeline_stages: List of stages. :param str display_name: (Updatable) Deployment pipeline display name. Avoid entering confidential information. """ + DeployPipelineDeployPipelineArtifactItem._configure( + lambda key, value: pulumi.set(__self__, key, value), + deploy_artifact_id=deploy_artifact_id, + deploy_pipeline_stages=deploy_pipeline_stages, + display_name=display_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deploy_artifact_id: Optional[str] = None, + deploy_pipeline_stages: Optional[Sequence['outputs.DeployPipelineDeployPipelineArtifactItemDeployPipelineStage']] = None, + display_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if deploy_artifact_id is not None: - pulumi.set(__self__, "deploy_artifact_id", deploy_artifact_id) + _setter("deploy_artifact_id", deploy_artifact_id) if deploy_pipeline_stages is not None: - pulumi.set(__self__, "deploy_pipeline_stages", deploy_pipeline_stages) + _setter("deploy_pipeline_stages", deploy_pipeline_stages) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) @property @pulumi.getter(name="deployArtifactId") @@ -2449,8 +2952,17 @@ def __init__(__self__, *, """ :param Sequence['DeployPipelineDeployPipelineArtifactItemDeployPipelineStageItemArgs'] items: (Updatable) List of parameters defined for a deployment pipeline. """ + DeployPipelineDeployPipelineArtifactItemDeployPipelineStage._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Optional[Sequence['outputs.DeployPipelineDeployPipelineArtifactItemDeployPipelineStageItem']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) @property @pulumi.getter @@ -2489,10 +3001,21 @@ def __init__(__self__, *, :param str deploy_stage_id: The OCID of a stage :param str display_name: (Updatable) Deployment pipeline display name. Avoid entering confidential information. """ + DeployPipelineDeployPipelineArtifactItemDeployPipelineStageItem._configure( + lambda key, value: pulumi.set(__self__, key, value), + deploy_stage_id=deploy_stage_id, + display_name=display_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deploy_stage_id: Optional[str] = None, + display_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if deploy_stage_id is not None: - pulumi.set(__self__, "deploy_stage_id", deploy_stage_id) + _setter("deploy_stage_id", deploy_stage_id) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) @property @pulumi.getter(name="deployStageId") @@ -2518,8 +3041,17 @@ def __init__(__self__, *, """ :param Sequence['DeployPipelineDeployPipelineEnvironmentItemArgs'] items: (Updatable) List of parameters defined for a deployment pipeline. """ + DeployPipelineDeployPipelineEnvironment._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Optional[Sequence['outputs.DeployPipelineDeployPipelineEnvironmentItem']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) @property @pulumi.getter @@ -2562,12 +3094,25 @@ def __init__(__self__, *, :param Sequence['DeployPipelineDeployPipelineEnvironmentItemDeployPipelineStageArgs'] deploy_pipeline_stages: List of stages. :param str display_name: (Updatable) Deployment pipeline display name. Avoid entering confidential information. """ + DeployPipelineDeployPipelineEnvironmentItem._configure( + lambda key, value: pulumi.set(__self__, key, value), + deploy_environment_id=deploy_environment_id, + deploy_pipeline_stages=deploy_pipeline_stages, + display_name=display_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deploy_environment_id: Optional[str] = None, + deploy_pipeline_stages: Optional[Sequence['outputs.DeployPipelineDeployPipelineEnvironmentItemDeployPipelineStage']] = None, + display_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if deploy_environment_id is not None: - pulumi.set(__self__, "deploy_environment_id", deploy_environment_id) + _setter("deploy_environment_id", deploy_environment_id) if deploy_pipeline_stages is not None: - pulumi.set(__self__, "deploy_pipeline_stages", deploy_pipeline_stages) + _setter("deploy_pipeline_stages", deploy_pipeline_stages) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) @property @pulumi.getter(name="deployEnvironmentId") @@ -2601,8 +3146,17 @@ def __init__(__self__, *, """ :param Sequence['DeployPipelineDeployPipelineEnvironmentItemDeployPipelineStageItemArgs'] items: (Updatable) List of parameters defined for a deployment pipeline. """ + DeployPipelineDeployPipelineEnvironmentItemDeployPipelineStage._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Optional[Sequence['outputs.DeployPipelineDeployPipelineEnvironmentItemDeployPipelineStageItem']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) @property @pulumi.getter @@ -2641,10 +3195,21 @@ def __init__(__self__, *, :param str deploy_stage_id: The OCID of a stage :param str display_name: (Updatable) Deployment pipeline display name. Avoid entering confidential information. """ + DeployPipelineDeployPipelineEnvironmentItemDeployPipelineStageItem._configure( + lambda key, value: pulumi.set(__self__, key, value), + deploy_stage_id=deploy_stage_id, + display_name=display_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deploy_stage_id: Optional[str] = None, + display_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if deploy_stage_id is not None: - pulumi.set(__self__, "deploy_stage_id", deploy_stage_id) + _setter("deploy_stage_id", deploy_stage_id) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) @property @pulumi.getter(name="deployStageId") @@ -2670,7 +3235,16 @@ def __init__(__self__, *, """ :param Sequence['DeployPipelineDeployPipelineParametersItemArgs'] items: (Updatable) List of parameters defined for a deployment pipeline. """ - pulumi.set(__self__, "items", items) + DeployPipelineDeployPipelineParameters._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.DeployPipelineDeployPipelineParametersItem'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -2709,11 +3283,24 @@ def __init__(__self__, *, :param str default_value: (Updatable) Default value of the parameter. :param str description: (Updatable) Optional description about the deployment pipeline. """ - pulumi.set(__self__, "name", name) + DeployPipelineDeployPipelineParametersItem._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + default_value=default_value, + description=description, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + default_value: Optional[str] = None, + description: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) if default_value is not None: - pulumi.set(__self__, "default_value", default_value) + _setter("default_value", default_value) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) @property @pulumi.getter @@ -2768,8 +3355,19 @@ def __init__(__self__, *, :param str approval_policy_type: (Updatable) Approval policy type. :param int number_of_approvals_required: (Updatable) A minimum number of approvals required for stage to proceed. """ - pulumi.set(__self__, "approval_policy_type", approval_policy_type) - pulumi.set(__self__, "number_of_approvals_required", number_of_approvals_required) + DeployStageApprovalPolicy._configure( + lambda key, value: pulumi.set(__self__, key, value), + approval_policy_type=approval_policy_type, + number_of_approvals_required=number_of_approvals_required, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + approval_policy_type: str, + number_of_approvals_required: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("approval_policy_type", approval_policy_type) + _setter("number_of_approvals_required", number_of_approvals_required) @property @pulumi.getter(name="approvalPolicyType") @@ -2795,8 +3393,17 @@ def __init__(__self__, *, """ :param Sequence[str] items: (Updatable) List of parameters defined to set helm value. """ + DeployStageBlueBackendIps._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) @property @pulumi.getter @@ -2843,10 +3450,25 @@ def __init__(__self__, *, :param str namespace_b: Second Namespace for deployment. :param str strategy_type: Canary strategy type. """ - pulumi.set(__self__, "ingress_name", ingress_name) - pulumi.set(__self__, "namespace_a", namespace_a) - pulumi.set(__self__, "namespace_b", namespace_b) - pulumi.set(__self__, "strategy_type", strategy_type) + DeployStageBlueGreenStrategy._configure( + lambda key, value: pulumi.set(__self__, key, value), + ingress_name=ingress_name, + namespace_a=namespace_a, + namespace_b=namespace_b, + strategy_type=strategy_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ingress_name: str, + namespace_a: str, + namespace_b: str, + strategy_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ingress_name", ingress_name) + _setter("namespace_a", namespace_a) + _setter("namespace_b", namespace_b) + _setter("strategy_type", strategy_type) @property @pulumi.getter(name="ingressName") @@ -2911,9 +3533,22 @@ def __init__(__self__, *, :param str namespace: (Updatable) Default namespace to be used for Kubernetes deployment when not specified in the manifest. :param str strategy_type: Canary strategy type. """ - pulumi.set(__self__, "ingress_name", ingress_name) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "strategy_type", strategy_type) + DeployStageCanaryStrategy._configure( + lambda key, value: pulumi.set(__self__, key, value), + ingress_name=ingress_name, + namespace=namespace, + strategy_type=strategy_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ingress_name: str, + namespace: str, + strategy_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ingress_name", ingress_name) + _setter("namespace", namespace) + _setter("strategy_type", strategy_type) @property @pulumi.getter(name="ingressName") @@ -2984,14 +3619,33 @@ def __init__(__self__, *, :param str availability_domain: (Updatable) Availability domain where the ContainerInstance will be created. :param str compartment_id: (Updatable) The OCID of the compartment where the ContainerInstance will be created. """ - pulumi.set(__self__, "container_config_type", container_config_type) - pulumi.set(__self__, "network_channel", network_channel) - pulumi.set(__self__, "shape_config", shape_config) - pulumi.set(__self__, "shape_name", shape_name) + DeployStageContainerConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + container_config_type=container_config_type, + network_channel=network_channel, + shape_config=shape_config, + shape_name=shape_name, + availability_domain=availability_domain, + compartment_id=compartment_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + container_config_type: str, + network_channel: 'outputs.DeployStageContainerConfigNetworkChannel', + shape_config: 'outputs.DeployStageContainerConfigShapeConfig', + shape_name: str, + availability_domain: Optional[str] = None, + compartment_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("container_config_type", container_config_type) + _setter("network_channel", network_channel) + _setter("shape_config", shape_config) + _setter("shape_name", shape_name) if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) @property @pulumi.getter(name="containerConfigType") @@ -3074,10 +3728,23 @@ def __init__(__self__, *, :param str subnet_id: (Updatable) The OCID of the subnet where VNIC resources will be created for private endpoint. :param Sequence[str] nsg_ids: (Updatable) An array of network security group OCIDs. """ - pulumi.set(__self__, "network_channel_type", network_channel_type) - pulumi.set(__self__, "subnet_id", subnet_id) + DeployStageContainerConfigNetworkChannel._configure( + lambda key, value: pulumi.set(__self__, key, value), + network_channel_type=network_channel_type, + subnet_id=subnet_id, + nsg_ids=nsg_ids, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + network_channel_type: str, + subnet_id: str, + nsg_ids: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("network_channel_type", network_channel_type) + _setter("subnet_id", subnet_id) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) @property @pulumi.getter(name="networkChannelType") @@ -3130,9 +3797,20 @@ def __init__(__self__, *, :param float ocpus: (Updatable) The total number of OCPUs available to the instance. :param float memory_in_gbs: (Updatable) The total amount of memory available to the instance, in gigabytes. """ - pulumi.set(__self__, "ocpus", ocpus) + DeployStageContainerConfigShapeConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + ocpus=ocpus, + memory_in_gbs=memory_in_gbs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ocpus: float, + memory_in_gbs: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ocpus", ocpus) if memory_in_gbs is not None: - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) + _setter("memory_in_gbs", memory_in_gbs) @property @pulumi.getter @@ -3158,7 +3836,16 @@ def __init__(__self__, *, """ :param Sequence['DeployStageDeployStagePredecessorCollectionItemArgs'] items: (Updatable) List of parameters defined to set helm value. """ - pulumi.set(__self__, "items", items) + DeployStageDeployStagePredecessorCollection._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.DeployStageDeployStagePredecessorCollectionItem'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -3176,7 +3863,16 @@ def __init__(__self__, *, """ :param str id: (Updatable) The OCID of the predecessor stage. If a stage is the first stage in the pipeline, then the ID is the pipeline's OCID. """ - pulumi.set(__self__, "id", id) + DeployStageDeployStagePredecessorCollectionItem._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) @property @pulumi.getter @@ -3219,11 +3915,24 @@ def __init__(__self__, *, :param int failure_count: (Updatable) The threshold count of failed instances in the group, which when reached or exceeded sets the stage as FAILED. :param int failure_percentage: (Updatable) The failure percentage threshold, which when reached or exceeded sets the stage as FAILED. Percentage is computed as the ceiling value of the number of failed instances over the total count of the instances in the group. """ - pulumi.set(__self__, "policy_type", policy_type) + DeployStageFailurePolicy._configure( + lambda key, value: pulumi.set(__self__, key, value), + policy_type=policy_type, + failure_count=failure_count, + failure_percentage=failure_percentage, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + policy_type: str, + failure_count: Optional[int] = None, + failure_percentage: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("policy_type", policy_type) if failure_count is not None: - pulumi.set(__self__, "failure_count", failure_count) + _setter("failure_count", failure_count) if failure_percentage is not None: - pulumi.set(__self__, "failure_percentage", failure_percentage) + _setter("failure_percentage", failure_percentage) @property @pulumi.getter(name="policyType") @@ -3257,8 +3966,17 @@ def __init__(__self__, *, """ :param Sequence[str] items: (Updatable) List of parameters defined to set helm value. """ + DeployStageGreenBackendIps._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) @property @pulumi.getter @@ -3303,14 +4021,29 @@ def __init__(__self__, *, :param str load_balancer_id: (Updatable) The OCID of the load balancer. :param str state: The current state of the deployment stage. """ + DeployStageLoadBalancerConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + backend_port=backend_port, + listener_name=listener_name, + load_balancer_id=load_balancer_id, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backend_port: Optional[int] = None, + listener_name: Optional[str] = None, + load_balancer_id: Optional[str] = None, + state: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if backend_port is not None: - pulumi.set(__self__, "backend_port", backend_port) + _setter("backend_port", backend_port) if listener_name is not None: - pulumi.set(__self__, "listener_name", listener_name) + _setter("listener_name", listener_name) if load_balancer_id is not None: - pulumi.set(__self__, "load_balancer_id", load_balancer_id) + _setter("load_balancer_id", load_balancer_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) @property @pulumi.getter(name="backendPort") @@ -3379,14 +4112,29 @@ def __init__(__self__, *, :param str load_balancer_id: (Updatable) The OCID of the load balancer. :param str state: The current state of the deployment stage. """ + DeployStageProductionLoadBalancerConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + backend_port=backend_port, + listener_name=listener_name, + load_balancer_id=load_balancer_id, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backend_port: Optional[int] = None, + listener_name: Optional[str] = None, + load_balancer_id: Optional[str] = None, + state: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if backend_port is not None: - pulumi.set(__self__, "backend_port", backend_port) + _setter("backend_port", backend_port) if listener_name is not None: - pulumi.set(__self__, "listener_name", listener_name) + _setter("listener_name", listener_name) if load_balancer_id is not None: - pulumi.set(__self__, "load_balancer_id", load_balancer_id) + _setter("load_balancer_id", load_balancer_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) @property @pulumi.getter(name="backendPort") @@ -3445,8 +4193,17 @@ def __init__(__self__, *, """ :param str policy_type: (Updatable) The type of policy used for rolling out a deployment stage. """ + DeployStageRollbackPolicy._configure( + lambda key, value: pulumi.set(__self__, key, value), + policy_type=policy_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + policy_type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if policy_type is not None: - pulumi.set(__self__, "policy_type", policy_type) + _setter("policy_type", policy_type) @property @pulumi.getter(name="policyType") @@ -3497,16 +4254,33 @@ def __init__(__self__, *, :param str policy_type: (Updatable) The type of policy used for rolling out a deployment stage. :param float ramp_limit_percent: (Updatable) Indicates the criteria to stop. """ + DeployStageRolloutPolicy._configure( + lambda key, value: pulumi.set(__self__, key, value), + batch_count=batch_count, + batch_delay_in_seconds=batch_delay_in_seconds, + batch_percentage=batch_percentage, + policy_type=policy_type, + ramp_limit_percent=ramp_limit_percent, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + batch_count: Optional[int] = None, + batch_delay_in_seconds: Optional[int] = None, + batch_percentage: Optional[int] = None, + policy_type: Optional[str] = None, + ramp_limit_percent: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions]=None): if batch_count is not None: - pulumi.set(__self__, "batch_count", batch_count) + _setter("batch_count", batch_count) if batch_delay_in_seconds is not None: - pulumi.set(__self__, "batch_delay_in_seconds", batch_delay_in_seconds) + _setter("batch_delay_in_seconds", batch_delay_in_seconds) if batch_percentage is not None: - pulumi.set(__self__, "batch_percentage", batch_percentage) + _setter("batch_percentage", batch_percentage) if policy_type is not None: - pulumi.set(__self__, "policy_type", policy_type) + _setter("policy_type", policy_type) if ramp_limit_percent is not None: - pulumi.set(__self__, "ramp_limit_percent", ramp_limit_percent) + _setter("ramp_limit_percent", ramp_limit_percent) @property @pulumi.getter(name="batchCount") @@ -3556,8 +4330,17 @@ def __init__(__self__, *, """ :param Sequence['DeployStageSetStringItemArgs'] items: (Updatable) List of parameters defined to set helm value. """ + DeployStageSetString._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Optional[Sequence['outputs.DeployStageSetStringItem']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) @property @pulumi.getter @@ -3577,10 +4360,21 @@ def __init__(__self__, *, :param str name: (Updatable) Name of the parameter (case-sensitive). :param str value: (Updatable) Value of the parameter. """ + DeployStageSetStringItem._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -3606,8 +4400,17 @@ def __init__(__self__, *, """ :param Sequence['DeployStageSetValuesItemArgs'] items: (Updatable) List of parameters defined to set helm value. """ + DeployStageSetValues._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Optional[Sequence['outputs.DeployStageSetValuesItem']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) @property @pulumi.getter @@ -3627,10 +4430,21 @@ def __init__(__self__, *, :param str name: (Updatable) Name of the parameter (case-sensitive). :param str value: (Updatable) Value of the parameter. """ + DeployStageSetValuesItem._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -3683,14 +4497,29 @@ def __init__(__self__, *, :param str load_balancer_id: (Updatable) The OCID of the load balancer. :param str state: The current state of the deployment stage. """ + DeployStageTestLoadBalancerConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + backend_port=backend_port, + listener_name=listener_name, + load_balancer_id=load_balancer_id, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backend_port: Optional[int] = None, + listener_name: Optional[str] = None, + load_balancer_id: Optional[str] = None, + state: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if backend_port is not None: - pulumi.set(__self__, "backend_port", backend_port) + _setter("backend_port", backend_port) if listener_name is not None: - pulumi.set(__self__, "listener_name", listener_name) + _setter("listener_name", listener_name) if load_balancer_id is not None: - pulumi.set(__self__, "load_balancer_id", load_balancer_id) + _setter("load_balancer_id", load_balancer_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) @property @pulumi.getter(name="backendPort") @@ -3757,8 +4586,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "wait_duration", wait_duration) - pulumi.set(__self__, "wait_type", wait_type) + DeployStageWaitCriteria._configure( + lambda key, value: pulumi.set(__self__, key, value), + wait_duration=wait_duration, + wait_type=wait_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + wait_duration: str, + wait_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("wait_duration", wait_duration) + _setter("wait_type", wait_type) @property @pulumi.getter(name="waitDuration") @@ -3788,8 +4628,17 @@ def __init__(__self__, *, """ :param Sequence['DeploymentDeployArtifactOverrideArgumentsItemArgs'] items: List of arguments provided at the time of deployment. """ + DeploymentDeployArtifactOverrideArguments._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Optional[Sequence['outputs.DeploymentDeployArtifactOverrideArgumentsItem']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) @property @pulumi.getter @@ -3829,12 +4678,25 @@ def __init__(__self__, *, :param str value: value of the argument. * To retrieve Helm Diff for Helm stages in the pipeline add deployment_arguments with name=PLAN_DRY_RUN and value=true """ + DeploymentDeployArtifactOverrideArgumentsItem._configure( + lambda key, value: pulumi.set(__self__, key, value), + deploy_artifact_id=deploy_artifact_id, + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deploy_artifact_id: Optional[str] = None, + name: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if deploy_artifact_id is not None: - pulumi.set(__self__, "deploy_artifact_id", deploy_artifact_id) + _setter("deploy_artifact_id", deploy_artifact_id) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter(name="deployArtifactId") @@ -3869,8 +4731,17 @@ def __init__(__self__, *, """ :param Sequence['DeploymentDeployPipelineArtifactItemArgs'] items: List of arguments provided at the time of deployment. """ + DeploymentDeployPipelineArtifact._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Optional[Sequence['outputs.DeploymentDeployPipelineArtifactItem']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) @property @pulumi.getter @@ -3913,12 +4784,25 @@ def __init__(__self__, *, :param Sequence['DeploymentDeployPipelineArtifactItemDeployPipelineStageArgs'] deploy_pipeline_stages: List of stages. :param str display_name: (Updatable) Deployment display name. Avoid entering confidential information. """ + DeploymentDeployPipelineArtifactItem._configure( + lambda key, value: pulumi.set(__self__, key, value), + deploy_artifact_id=deploy_artifact_id, + deploy_pipeline_stages=deploy_pipeline_stages, + display_name=display_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deploy_artifact_id: Optional[str] = None, + deploy_pipeline_stages: Optional[Sequence['outputs.DeploymentDeployPipelineArtifactItemDeployPipelineStage']] = None, + display_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if deploy_artifact_id is not None: - pulumi.set(__self__, "deploy_artifact_id", deploy_artifact_id) + _setter("deploy_artifact_id", deploy_artifact_id) if deploy_pipeline_stages is not None: - pulumi.set(__self__, "deploy_pipeline_stages", deploy_pipeline_stages) + _setter("deploy_pipeline_stages", deploy_pipeline_stages) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) @property @pulumi.getter(name="deployArtifactId") @@ -3952,8 +4836,17 @@ def __init__(__self__, *, """ :param Sequence['DeploymentDeployPipelineArtifactItemDeployPipelineStageItemArgs'] items: List of arguments provided at the time of deployment. """ + DeploymentDeployPipelineArtifactItemDeployPipelineStage._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Optional[Sequence['outputs.DeploymentDeployPipelineArtifactItemDeployPipelineStageItem']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) @property @pulumi.getter @@ -3992,10 +4885,21 @@ def __init__(__self__, *, :param str deploy_stage_id: The OCID of the stage. :param str display_name: (Updatable) Deployment display name. Avoid entering confidential information. """ + DeploymentDeployPipelineArtifactItemDeployPipelineStageItem._configure( + lambda key, value: pulumi.set(__self__, key, value), + deploy_stage_id=deploy_stage_id, + display_name=display_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deploy_stage_id: Optional[str] = None, + display_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if deploy_stage_id is not None: - pulumi.set(__self__, "deploy_stage_id", deploy_stage_id) + _setter("deploy_stage_id", deploy_stage_id) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) @property @pulumi.getter(name="deployStageId") @@ -4021,8 +4925,17 @@ def __init__(__self__, *, """ :param Sequence['DeploymentDeployPipelineEnvironmentItemArgs'] items: List of arguments provided at the time of deployment. """ + DeploymentDeployPipelineEnvironment._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Optional[Sequence['outputs.DeploymentDeployPipelineEnvironmentItem']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) @property @pulumi.getter @@ -4065,12 +4978,25 @@ def __init__(__self__, *, :param Sequence['DeploymentDeployPipelineEnvironmentItemDeployPipelineStageArgs'] deploy_pipeline_stages: List of stages. :param str display_name: (Updatable) Deployment display name. Avoid entering confidential information. """ + DeploymentDeployPipelineEnvironmentItem._configure( + lambda key, value: pulumi.set(__self__, key, value), + deploy_environment_id=deploy_environment_id, + deploy_pipeline_stages=deploy_pipeline_stages, + display_name=display_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deploy_environment_id: Optional[str] = None, + deploy_pipeline_stages: Optional[Sequence['outputs.DeploymentDeployPipelineEnvironmentItemDeployPipelineStage']] = None, + display_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if deploy_environment_id is not None: - pulumi.set(__self__, "deploy_environment_id", deploy_environment_id) + _setter("deploy_environment_id", deploy_environment_id) if deploy_pipeline_stages is not None: - pulumi.set(__self__, "deploy_pipeline_stages", deploy_pipeline_stages) + _setter("deploy_pipeline_stages", deploy_pipeline_stages) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) @property @pulumi.getter(name="deployEnvironmentId") @@ -4104,8 +5030,17 @@ def __init__(__self__, *, """ :param Sequence['DeploymentDeployPipelineEnvironmentItemDeployPipelineStageItemArgs'] items: List of arguments provided at the time of deployment. """ + DeploymentDeployPipelineEnvironmentItemDeployPipelineStage._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Optional[Sequence['outputs.DeploymentDeployPipelineEnvironmentItemDeployPipelineStageItem']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) @property @pulumi.getter @@ -4144,10 +5079,21 @@ def __init__(__self__, *, :param str deploy_stage_id: The OCID of the stage. :param str display_name: (Updatable) Deployment display name. Avoid entering confidential information. """ + DeploymentDeployPipelineEnvironmentItemDeployPipelineStageItem._configure( + lambda key, value: pulumi.set(__self__, key, value), + deploy_stage_id=deploy_stage_id, + display_name=display_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deploy_stage_id: Optional[str] = None, + display_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if deploy_stage_id is not None: - pulumi.set(__self__, "deploy_stage_id", deploy_stage_id) + _setter("deploy_stage_id", deploy_stage_id) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) @property @pulumi.getter(name="deployStageId") @@ -4173,8 +5119,17 @@ def __init__(__self__, *, """ :param Sequence['DeploymentDeployStageOverrideArgumentsItemArgs'] items: List of arguments provided at the time of deployment. """ + DeploymentDeployStageOverrideArguments._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Optional[Sequence['outputs.DeploymentDeployStageOverrideArgumentsItem']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) @property @pulumi.getter @@ -4214,12 +5169,25 @@ def __init__(__self__, *, :param str value: value of the argument. * To retrieve Helm Diff for Helm stages in the pipeline add deployment_arguments with name=PLAN_DRY_RUN and value=true """ + DeploymentDeployStageOverrideArgumentsItem._configure( + lambda key, value: pulumi.set(__self__, key, value), + deploy_stage_id=deploy_stage_id, + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deploy_stage_id: Optional[str] = None, + name: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if deploy_stage_id is not None: - pulumi.set(__self__, "deploy_stage_id", deploy_stage_id) + _setter("deploy_stage_id", deploy_stage_id) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter(name="deployStageId") @@ -4254,8 +5222,17 @@ def __init__(__self__, *, """ :param Sequence['DeploymentDeploymentArgumentsItemArgs'] items: List of arguments provided at the time of deployment. """ + DeploymentDeploymentArguments._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Optional[Sequence['outputs.DeploymentDeploymentArgumentsItem']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) @property @pulumi.getter @@ -4276,10 +5253,21 @@ def __init__(__self__, *, :param str value: value of the argument. * To retrieve Helm Diff for Helm stages in the pipeline add deployment_arguments with name=PLAN_DRY_RUN and value=true """ + DeploymentDeploymentArgumentsItem._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -4331,12 +5319,25 @@ def __init__(__self__, *, :param str time_finished: Time the deployment is finished. Format defined by [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339). :param str time_started: Time the deployment is started. Format defined by [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339). """ + DeploymentDeploymentExecutionProgress._configure( + lambda key, value: pulumi.set(__self__, key, value), + deploy_stage_execution_progress=deploy_stage_execution_progress, + time_finished=time_finished, + time_started=time_started, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deploy_stage_execution_progress: Optional[Mapping[str, Any]] = None, + time_finished: Optional[str] = None, + time_started: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if deploy_stage_execution_progress is not None: - pulumi.set(__self__, "deploy_stage_execution_progress", deploy_stage_execution_progress) + _setter("deploy_stage_execution_progress", deploy_stage_execution_progress) if time_finished is not None: - pulumi.set(__self__, "time_finished", time_finished) + _setter("time_finished", time_finished) if time_started is not None: - pulumi.set(__self__, "time_started", time_started) + _setter("time_started", time_started) @property @pulumi.getter(name="deployStageExecutionProgress") @@ -4391,7 +5392,16 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "topic_id", topic_id) + ProjectNotificationConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + topic_id=topic_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + topic_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("topic_id", topic_id) @property @pulumi.getter(name="topicId") @@ -4438,12 +5448,25 @@ def __init__(__self__, *, :param str repository_url: (Updatable) URL of external repository you want to mirror. :param 'RepositoryMirrorRepositoryConfigTriggerScheduleArgs' trigger_schedule: (Updatable) Specifies a trigger schedule. Timing information for when to initiate automated syncs. """ + RepositoryMirrorRepositoryConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + connector_id=connector_id, + repository_url=repository_url, + trigger_schedule=trigger_schedule, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + connector_id: Optional[str] = None, + repository_url: Optional[str] = None, + trigger_schedule: Optional['outputs.RepositoryMirrorRepositoryConfigTriggerSchedule'] = None, + opts: Optional[pulumi.ResourceOptions]=None): if connector_id is not None: - pulumi.set(__self__, "connector_id", connector_id) + _setter("connector_id", connector_id) if repository_url is not None: - pulumi.set(__self__, "repository_url", repository_url) + _setter("repository_url", repository_url) if trigger_schedule is not None: - pulumi.set(__self__, "trigger_schedule", trigger_schedule) + _setter("trigger_schedule", trigger_schedule) @property @pulumi.getter(name="connectorId") @@ -4498,9 +5521,20 @@ def __init__(__self__, *, :param str schedule_type: (Updatable) Different types of trigger schedule: NONE - No automated synchronization schedule. DEFAULT - Trigger schedule is every 30 minutes. CUSTOM - Custom triggering schedule. :param str custom_schedule: (Updatable) Valid if type is CUSTOM. Following RFC 5545 recurrence rules, we can specify starting time, occurrence frequency, and interval size. Example for frequency could be DAILY/WEEKLY/HOURLY or any RFC 5545 supported frequency, which is followed by start time of this window. You can control the start time with BYHOUR, BYMINUTE and BYSECONDS. It is followed by the interval size. """ - pulumi.set(__self__, "schedule_type", schedule_type) + RepositoryMirrorRepositoryConfigTriggerSchedule._configure( + lambda key, value: pulumi.set(__self__, key, value), + schedule_type=schedule_type, + custom_schedule=custom_schedule, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + schedule_type: str, + custom_schedule: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("schedule_type", schedule_type) if custom_schedule is not None: - pulumi.set(__self__, "custom_schedule", custom_schedule) + _setter("custom_schedule", custom_schedule) @property @pulumi.getter(name="scheduleType") @@ -4547,10 +5581,23 @@ def __init__(__self__, *, :param str type: (Updatable) The type of action that will be taken. Allowed value is TRIGGER_BUILD_PIPELINE. :param 'TriggerActionFilterArgs' filter: (Updatable) The filters for the trigger. """ - pulumi.set(__self__, "build_pipeline_id", build_pipeline_id) - pulumi.set(__self__, "type", type) + TriggerAction._configure( + lambda key, value: pulumi.set(__self__, key, value), + build_pipeline_id=build_pipeline_id, + type=type, + filter=filter, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + build_pipeline_id: str, + type: str, + filter: Optional['outputs.TriggerActionFilter'] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("build_pipeline_id", build_pipeline_id) + _setter("type", type) if filter is not None: - pulumi.set(__self__, "filter", filter) + _setter("filter", filter) @property @pulumi.getter(name="buildPipelineId") @@ -4611,13 +5658,28 @@ def __init__(__self__, *, :param 'TriggerActionFilterExcludeArgs' exclude: (Updatable) Attributes to filter GitLab self-hosted server events. File filter criteria - Changes only affecting excluded files will not invoke a build. if both include and exclude filter are used then exclusion filter will be applied on the result set of inclusion filter. :param 'TriggerActionFilterIncludeArgs' include: (Updatable) Attributes to filter GitLab self-hosted server events. """ - pulumi.set(__self__, "trigger_source", trigger_source) + TriggerActionFilter._configure( + lambda key, value: pulumi.set(__self__, key, value), + trigger_source=trigger_source, + events=events, + exclude=exclude, + include=include, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + trigger_source: str, + events: Optional[Sequence[str]] = None, + exclude: Optional['outputs.TriggerActionFilterExclude'] = None, + include: Optional['outputs.TriggerActionFilterInclude'] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("trigger_source", trigger_source) if events is not None: - pulumi.set(__self__, "events", events) + _setter("events", events) if exclude is not None: - pulumi.set(__self__, "exclude", exclude) + _setter("exclude", exclude) if include is not None: - pulumi.set(__self__, "include", include) + _setter("include", include) @property @pulumi.getter(name="triggerSource") @@ -4680,8 +5742,17 @@ def __init__(__self__, *, """ :param 'TriggerActionFilterExcludeFileFilterArgs' file_filter: (Updatable) Attributes to support include/exclude files for triggering build runs. """ + TriggerActionFilterExclude._configure( + lambda key, value: pulumi.set(__self__, key, value), + file_filter=file_filter, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + file_filter: Optional['outputs.TriggerActionFilterExcludeFileFilter'] = None, + opts: Optional[pulumi.ResourceOptions]=None): if file_filter is not None: - pulumi.set(__self__, "file_filter", file_filter) + _setter("file_filter", file_filter) @property @pulumi.getter(name="fileFilter") @@ -4716,8 +5787,17 @@ def __init__(__self__, *, """ :param Sequence[str] file_paths: (Updatable) The file paths/glob pattern for files. """ + TriggerActionFilterExcludeFileFilter._configure( + lambda key, value: pulumi.set(__self__, key, value), + file_paths=file_paths, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + file_paths: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if file_paths is not None: - pulumi.set(__self__, "file_paths", file_paths) + _setter("file_paths", file_paths) @property @pulumi.getter(name="filePaths") @@ -4764,14 +5844,29 @@ def __init__(__self__, *, :param str head_ref: (Updatable) Branch for push event; source branch for pull requests. :param str repository_name: (Updatable) The repository name for trigger events. """ + TriggerActionFilterInclude._configure( + lambda key, value: pulumi.set(__self__, key, value), + base_ref=base_ref, + file_filter=file_filter, + head_ref=head_ref, + repository_name=repository_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + base_ref: Optional[str] = None, + file_filter: Optional['outputs.TriggerActionFilterIncludeFileFilter'] = None, + head_ref: Optional[str] = None, + repository_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if base_ref is not None: - pulumi.set(__self__, "base_ref", base_ref) + _setter("base_ref", base_ref) if file_filter is not None: - pulumi.set(__self__, "file_filter", file_filter) + _setter("file_filter", file_filter) if head_ref is not None: - pulumi.set(__self__, "head_ref", head_ref) + _setter("head_ref", head_ref) if repository_name is not None: - pulumi.set(__self__, "repository_name", repository_name) + _setter("repository_name", repository_name) @property @pulumi.getter(name="baseRef") @@ -4830,8 +5925,17 @@ def __init__(__self__, *, """ :param Sequence[str] file_paths: (Updatable) The file paths/glob pattern for files. """ + TriggerActionFilterIncludeFileFilter._configure( + lambda key, value: pulumi.set(__self__, key, value), + file_paths=file_paths, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + file_paths: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if file_paths is not None: - pulumi.set(__self__, "file_paths", file_paths) + _setter("file_paths", file_paths) @property @pulumi.getter(name="filePaths") @@ -4849,7 +5953,16 @@ def __init__(__self__, *, """ :param Sequence['GetBuildPipelineBuildPipelineParameterItemArgs'] items: List of parameters defined for a build pipeline. """ - pulumi.set(__self__, "items", items) + GetBuildPipelineBuildPipelineParameterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetBuildPipelineBuildPipelineParameterItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -4871,9 +5984,22 @@ def __init__(__self__, *, :param str description: Optional description about the build pipeline. :param str name: Name of the parameter (case-sensitive). Parameter name must be ^[a-zA-Z][a-zA-Z_0-9]*$. Example: 'Build_Pipeline_param' is not same as 'build_pipeline_Param' """ - pulumi.set(__self__, "default_value", default_value) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "name", name) + GetBuildPipelineBuildPipelineParameterItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + default_value=default_value, + description=description, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + default_value: str, + description: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("default_value", default_value) + _setter("description", description) + _setter("name", name) @property @pulumi.getter(name="defaultValue") @@ -4907,7 +6033,16 @@ def __init__(__self__, *, """ :param Sequence['GetBuildPipelineStageBuildPipelineStagePredecessorCollectionItemArgs'] items: Collection of artifacts that were generated in the Build stage and need to be pushed to the artifactory stores. In case of UPDATE operation, replaces existing artifacts list. Merging with existing artifacts is not supported. """ - pulumi.set(__self__, "items", items) + GetBuildPipelineStageBuildPipelineStagePredecessorCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetBuildPipelineStageBuildPipelineStagePredecessorCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -4925,7 +6060,16 @@ def __init__(__self__, *, """ :param str id: Unique identifier that is immutable on creation. """ - pulumi.set(__self__, "id", id) + GetBuildPipelineStageBuildPipelineStagePredecessorCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) @property @pulumi.getter @@ -4947,9 +6091,22 @@ def __init__(__self__, *, :param int memory_in_gbs: The total amount of memory set for the instance in gigabytes. :param int ocpus: The total number of OCPUs set for the instance. """ - pulumi.set(__self__, "build_runner_type", build_runner_type) - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "ocpus", ocpus) + GetBuildPipelineStageBuildRunnerShapeConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + build_runner_type=build_runner_type, + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + build_runner_type: str, + memory_in_gbs: int, + ocpus: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("build_runner_type", build_runner_type) + _setter("memory_in_gbs", memory_in_gbs) + _setter("ocpus", ocpus) @property @pulumi.getter(name="buildRunnerType") @@ -4983,7 +6140,16 @@ def __init__(__self__, *, """ :param Sequence['GetBuildPipelineStageBuildSourceCollectionItemArgs'] items: Collection of artifacts that were generated in the Build stage and need to be pushed to the artifactory stores. In case of UPDATE operation, replaces existing artifacts list. Merging with existing artifacts is not supported. """ - pulumi.set(__self__, "items", items) + GetBuildPipelineStageBuildSourceCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetBuildPipelineStageBuildSourceCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -5011,12 +6177,31 @@ def __init__(__self__, *, :param str repository_id: The DevOps code repository ID. :param str repository_url: URL for the repository. """ - pulumi.set(__self__, "branch", branch) - pulumi.set(__self__, "connection_id", connection_id) - pulumi.set(__self__, "connection_type", connection_type) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "repository_id", repository_id) - pulumi.set(__self__, "repository_url", repository_url) + GetBuildPipelineStageBuildSourceCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + branch=branch, + connection_id=connection_id, + connection_type=connection_type, + name=name, + repository_id=repository_id, + repository_url=repository_url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + branch: str, + connection_id: str, + connection_type: str, + name: str, + repository_id: str, + repository_url: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("branch", branch) + _setter("connection_id", connection_id) + _setter("connection_type", connection_type) + _setter("name", name) + _setter("repository_id", repository_id) + _setter("repository_url", repository_url) @property @pulumi.getter @@ -5074,7 +6259,16 @@ def __init__(__self__, *, """ :param Sequence['GetBuildPipelineStageDeliverArtifactCollectionItemArgs'] items: Collection of artifacts that were generated in the Build stage and need to be pushed to the artifactory stores. In case of UPDATE operation, replaces existing artifacts list. Merging with existing artifacts is not supported. """ - pulumi.set(__self__, "items", items) + GetBuildPipelineStageDeliverArtifactCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetBuildPipelineStageDeliverArtifactCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -5094,8 +6288,19 @@ def __init__(__self__, *, :param str artifact_id: Artifact identifier that contains the artifact definition. :param str artifact_name: Name of the artifact specified in the build_spec.yaml file. """ - pulumi.set(__self__, "artifact_id", artifact_id) - pulumi.set(__self__, "artifact_name", artifact_name) + GetBuildPipelineStageDeliverArtifactCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + artifact_id=artifact_id, + artifact_name=artifact_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + artifact_id: str, + artifact_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("artifact_id", artifact_id) + _setter("artifact_name", artifact_name) @property @pulumi.getter(name="artifactId") @@ -5125,9 +6330,22 @@ def __init__(__self__, *, :param Sequence[str] nsg_ids: An array of network security group OCIDs. :param str subnet_id: The OCID of the subnet where VNIC resources will be created for private endpoint. """ - pulumi.set(__self__, "network_channel_type", network_channel_type) - pulumi.set(__self__, "nsg_ids", nsg_ids) - pulumi.set(__self__, "subnet_id", subnet_id) + GetBuildPipelineStagePrivateAccessConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + network_channel_type=network_channel_type, + nsg_ids=nsg_ids, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + network_channel_type: str, + nsg_ids: Sequence[str], + subnet_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("network_channel_type", network_channel_type) + _setter("nsg_ids", nsg_ids) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="networkChannelType") @@ -5163,8 +6381,19 @@ def __init__(__self__, *, :param str wait_duration: The absolute wait duration. An ISO 8601 formatted duration string. Minimum waitDuration should be 5 seconds. Maximum waitDuration can be up to 2 days. :param str wait_type: Wait criteria type. """ - pulumi.set(__self__, "wait_duration", wait_duration) - pulumi.set(__self__, "wait_type", wait_type) + GetBuildPipelineStageWaitCriteriaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + wait_duration=wait_duration, + wait_type=wait_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + wait_duration: str, + wait_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("wait_duration", wait_duration) + _setter("wait_type", wait_type) @property @pulumi.getter(name="waitDuration") @@ -5190,7 +6419,16 @@ def __init__(__self__, *, """ :param Sequence['GetBuildPipelineStagesBuildPipelineStageCollectionItemArgs'] items: Collection of artifacts that were generated in the Build stage and need to be pushed to the artifactory stores. In case of UPDATE operation, replaces existing artifacts list. Merging with existing artifacts is not supported. """ - pulumi.set(__self__, "items", items) + GetBuildPipelineStagesBuildPipelineStageCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetBuildPipelineStagesBuildPipelineStageCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -5260,33 +6498,94 @@ def __init__(__self__, *, :param str time_updated: The time the stage was updated. Format defined by [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339). :param 'GetBuildPipelineStagesBuildPipelineStageCollectionItemWaitCriteriaArgs' wait_criteria: Specifies wait criteria for the Wait stage. """ - pulumi.set(__self__, "build_pipeline_id", build_pipeline_id) - pulumi.set(__self__, "build_pipeline_stage_predecessor_collections", build_pipeline_stage_predecessor_collections) - pulumi.set(__self__, "build_pipeline_stage_type", build_pipeline_stage_type) - pulumi.set(__self__, "build_runner_shape_config", build_runner_shape_config) - pulumi.set(__self__, "build_source_collection", build_source_collection) - pulumi.set(__self__, "build_spec_file", build_spec_file) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "connection_type", connection_type) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "deliver_artifact_collection", deliver_artifact_collection) - pulumi.set(__self__, "deploy_pipeline_id", deploy_pipeline_id) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "image", image) - pulumi.set(__self__, "is_pass_all_parameters_enabled", is_pass_all_parameters_enabled) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "primary_build_source", primary_build_source) - pulumi.set(__self__, "private_access_config", private_access_config) - pulumi.set(__self__, "project_id", project_id) - pulumi.set(__self__, "stage_execution_timeout_in_seconds", stage_execution_timeout_in_seconds) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "wait_criteria", wait_criteria) + GetBuildPipelineStagesBuildPipelineStageCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + build_pipeline_id=build_pipeline_id, + build_pipeline_stage_predecessor_collections=build_pipeline_stage_predecessor_collections, + build_pipeline_stage_type=build_pipeline_stage_type, + build_runner_shape_config=build_runner_shape_config, + build_source_collection=build_source_collection, + build_spec_file=build_spec_file, + compartment_id=compartment_id, + connection_type=connection_type, + defined_tags=defined_tags, + deliver_artifact_collection=deliver_artifact_collection, + deploy_pipeline_id=deploy_pipeline_id, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + image=image, + is_pass_all_parameters_enabled=is_pass_all_parameters_enabled, + lifecycle_details=lifecycle_details, + primary_build_source=primary_build_source, + private_access_config=private_access_config, + project_id=project_id, + stage_execution_timeout_in_seconds=stage_execution_timeout_in_seconds, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + wait_criteria=wait_criteria, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + build_pipeline_id: str, + build_pipeline_stage_predecessor_collections: Sequence['outputs.GetBuildPipelineStagesBuildPipelineStageCollectionItemBuildPipelineStagePredecessorCollectionResult'], + build_pipeline_stage_type: str, + build_runner_shape_config: 'outputs.GetBuildPipelineStagesBuildPipelineStageCollectionItemBuildRunnerShapeConfigResult', + build_source_collection: 'outputs.GetBuildPipelineStagesBuildPipelineStageCollectionItemBuildSourceCollectionResult', + build_spec_file: str, + compartment_id: str, + connection_type: str, + defined_tags: Mapping[str, Any], + deliver_artifact_collection: 'outputs.GetBuildPipelineStagesBuildPipelineStageCollectionItemDeliverArtifactCollectionResult', + deploy_pipeline_id: str, + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + image: str, + is_pass_all_parameters_enabled: bool, + lifecycle_details: str, + primary_build_source: str, + private_access_config: 'outputs.GetBuildPipelineStagesBuildPipelineStageCollectionItemPrivateAccessConfigResult', + project_id: str, + stage_execution_timeout_in_seconds: int, + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + wait_criteria: 'outputs.GetBuildPipelineStagesBuildPipelineStageCollectionItemWaitCriteriaResult', + opts: Optional[pulumi.ResourceOptions]=None): + _setter("build_pipeline_id", build_pipeline_id) + _setter("build_pipeline_stage_predecessor_collections", build_pipeline_stage_predecessor_collections) + _setter("build_pipeline_stage_type", build_pipeline_stage_type) + _setter("build_runner_shape_config", build_runner_shape_config) + _setter("build_source_collection", build_source_collection) + _setter("build_spec_file", build_spec_file) + _setter("compartment_id", compartment_id) + _setter("connection_type", connection_type) + _setter("defined_tags", defined_tags) + _setter("deliver_artifact_collection", deliver_artifact_collection) + _setter("deploy_pipeline_id", deploy_pipeline_id) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("image", image) + _setter("is_pass_all_parameters_enabled", is_pass_all_parameters_enabled) + _setter("lifecycle_details", lifecycle_details) + _setter("primary_build_source", primary_build_source) + _setter("private_access_config", private_access_config) + _setter("project_id", project_id) + _setter("stage_execution_timeout_in_seconds", stage_execution_timeout_in_seconds) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("wait_criteria", wait_criteria) @property @pulumi.getter(name="buildPipelineId") @@ -5512,7 +6811,16 @@ def __init__(__self__, *, """ :param Sequence['GetBuildPipelineStagesBuildPipelineStageCollectionItemBuildPipelineStagePredecessorCollectionItemArgs'] items: Collection of artifacts that were generated in the Build stage and need to be pushed to the artifactory stores. In case of UPDATE operation, replaces existing artifacts list. Merging with existing artifacts is not supported. """ - pulumi.set(__self__, "items", items) + GetBuildPipelineStagesBuildPipelineStageCollectionItemBuildPipelineStagePredecessorCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetBuildPipelineStagesBuildPipelineStageCollectionItemBuildPipelineStagePredecessorCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -5530,7 +6838,16 @@ def __init__(__self__, *, """ :param str id: Unique identifier or OCID for listing a single resource by ID. """ - pulumi.set(__self__, "id", id) + GetBuildPipelineStagesBuildPipelineStageCollectionItemBuildPipelineStagePredecessorCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) @property @pulumi.getter @@ -5552,9 +6869,22 @@ def __init__(__self__, *, :param int memory_in_gbs: The total amount of memory set for the instance in gigabytes. :param int ocpus: The total number of OCPUs set for the instance. """ - pulumi.set(__self__, "build_runner_type", build_runner_type) - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "ocpus", ocpus) + GetBuildPipelineStagesBuildPipelineStageCollectionItemBuildRunnerShapeConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + build_runner_type=build_runner_type, + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + build_runner_type: str, + memory_in_gbs: int, + ocpus: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("build_runner_type", build_runner_type) + _setter("memory_in_gbs", memory_in_gbs) + _setter("ocpus", ocpus) @property @pulumi.getter(name="buildRunnerType") @@ -5588,7 +6918,16 @@ def __init__(__self__, *, """ :param Sequence['GetBuildPipelineStagesBuildPipelineStageCollectionItemBuildSourceCollectionItemArgs'] items: Collection of artifacts that were generated in the Build stage and need to be pushed to the artifactory stores. In case of UPDATE operation, replaces existing artifacts list. Merging with existing artifacts is not supported. """ - pulumi.set(__self__, "items", items) + GetBuildPipelineStagesBuildPipelineStageCollectionItemBuildSourceCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetBuildPipelineStagesBuildPipelineStageCollectionItemBuildSourceCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -5616,12 +6955,31 @@ def __init__(__self__, *, :param str repository_id: The DevOps code repository ID. :param str repository_url: URL for the repository. """ - pulumi.set(__self__, "branch", branch) - pulumi.set(__self__, "connection_id", connection_id) - pulumi.set(__self__, "connection_type", connection_type) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "repository_id", repository_id) - pulumi.set(__self__, "repository_url", repository_url) + GetBuildPipelineStagesBuildPipelineStageCollectionItemBuildSourceCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + branch=branch, + connection_id=connection_id, + connection_type=connection_type, + name=name, + repository_id=repository_id, + repository_url=repository_url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + branch: str, + connection_id: str, + connection_type: str, + name: str, + repository_id: str, + repository_url: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("branch", branch) + _setter("connection_id", connection_id) + _setter("connection_type", connection_type) + _setter("name", name) + _setter("repository_id", repository_id) + _setter("repository_url", repository_url) @property @pulumi.getter @@ -5679,7 +7037,16 @@ def __init__(__self__, *, """ :param Sequence['GetBuildPipelineStagesBuildPipelineStageCollectionItemDeliverArtifactCollectionItemArgs'] items: Collection of artifacts that were generated in the Build stage and need to be pushed to the artifactory stores. In case of UPDATE operation, replaces existing artifacts list. Merging with existing artifacts is not supported. """ - pulumi.set(__self__, "items", items) + GetBuildPipelineStagesBuildPipelineStageCollectionItemDeliverArtifactCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetBuildPipelineStagesBuildPipelineStageCollectionItemDeliverArtifactCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -5699,8 +7066,19 @@ def __init__(__self__, *, :param str artifact_id: Artifact identifier that contains the artifact definition. :param str artifact_name: Name of the artifact specified in the build_spec.yaml file. """ - pulumi.set(__self__, "artifact_id", artifact_id) - pulumi.set(__self__, "artifact_name", artifact_name) + GetBuildPipelineStagesBuildPipelineStageCollectionItemDeliverArtifactCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + artifact_id=artifact_id, + artifact_name=artifact_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + artifact_id: str, + artifact_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("artifact_id", artifact_id) + _setter("artifact_name", artifact_name) @property @pulumi.getter(name="artifactId") @@ -5730,9 +7108,22 @@ def __init__(__self__, *, :param Sequence[str] nsg_ids: An array of network security group OCIDs. :param str subnet_id: The OCID of the subnet where VNIC resources will be created for private endpoint. """ - pulumi.set(__self__, "network_channel_type", network_channel_type) - pulumi.set(__self__, "nsg_ids", nsg_ids) - pulumi.set(__self__, "subnet_id", subnet_id) + GetBuildPipelineStagesBuildPipelineStageCollectionItemPrivateAccessConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + network_channel_type=network_channel_type, + nsg_ids=nsg_ids, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + network_channel_type: str, + nsg_ids: Sequence[str], + subnet_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("network_channel_type", network_channel_type) + _setter("nsg_ids", nsg_ids) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="networkChannelType") @@ -5768,8 +7159,19 @@ def __init__(__self__, *, :param str wait_duration: The absolute wait duration. An ISO 8601 formatted duration string. Minimum waitDuration should be 5 seconds. Maximum waitDuration can be up to 2 days. :param str wait_type: Wait criteria type. """ - pulumi.set(__self__, "wait_duration", wait_duration) - pulumi.set(__self__, "wait_type", wait_type) + GetBuildPipelineStagesBuildPipelineStageCollectionItemWaitCriteriaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + wait_duration=wait_duration, + wait_type=wait_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + wait_duration: str, + wait_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("wait_duration", wait_duration) + _setter("wait_type", wait_type) @property @pulumi.getter(name="waitDuration") @@ -5797,10 +7199,23 @@ def __init__(__self__, *, """ :param str name: Name of the build source. This must be unique within a build source collection. The name can be used by customers to locate the working directory pertinent to this repository. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetBuildPipelineStagesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5828,7 +7243,16 @@ def __init__(__self__, *, """ :param Sequence['GetBuildPipelinesBuildPipelineCollectionItemArgs'] items: List of parameters defined for a build pipeline. """ - pulumi.set(__self__, "items", items) + GetBuildPipelinesBuildPipelineCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetBuildPipelinesBuildPipelineCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -5870,19 +7294,52 @@ def __init__(__self__, *, :param str time_created: The time the build pipeline was created. Format defined by [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339). :param str time_updated: The time the build pipeline was updated. Format defined by [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339). """ - pulumi.set(__self__, "build_pipeline_parameters", build_pipeline_parameters) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "project_id", project_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetBuildPipelinesBuildPipelineCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + build_pipeline_parameters=build_pipeline_parameters, + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + project_id=project_id, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + build_pipeline_parameters: Sequence['outputs.GetBuildPipelinesBuildPipelineCollectionItemBuildPipelineParameterResult'], + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + project_id: str, + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("build_pipeline_parameters", build_pipeline_parameters) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("project_id", project_id) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="buildPipelineParameters") @@ -5996,7 +7453,16 @@ def __init__(__self__, *, """ :param Sequence['GetBuildPipelinesBuildPipelineCollectionItemBuildPipelineParameterItemArgs'] items: List of parameters defined for a build pipeline. """ - pulumi.set(__self__, "items", items) + GetBuildPipelinesBuildPipelineCollectionItemBuildPipelineParameterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetBuildPipelinesBuildPipelineCollectionItemBuildPipelineParameterItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -6018,9 +7484,22 @@ def __init__(__self__, *, :param str description: Optional description about the build pipeline. :param str name: Name of the parameter (case-sensitive). Parameter name must be ^[a-zA-Z][a-zA-Z_0-9]*$. Example: 'Build_Pipeline_param' is not same as 'build_pipeline_Param' """ - pulumi.set(__self__, "default_value", default_value) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "name", name) + GetBuildPipelinesBuildPipelineCollectionItemBuildPipelineParameterItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + default_value=default_value, + description=description, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + default_value: str, + description: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("default_value", default_value) + _setter("description", description) + _setter("name", name) @property @pulumi.getter(name="defaultValue") @@ -6056,10 +7535,23 @@ def __init__(__self__, *, """ :param str name: Name of the parameter (case-sensitive). Parameter name must be ^[a-zA-Z][a-zA-Z_0-9]*$. Example: 'Build_Pipeline_param' is not same as 'build_pipeline_Param' """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetBuildPipelinesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -6093,10 +7585,25 @@ def __init__(__self__, *, :param Sequence['GetBuildRunBuildOutputExportedVariableArgs'] exported_variables: Specifies list of exported variables. :param Sequence['GetBuildRunBuildOutputVulnerabilityAuditSummaryCollectionArgs'] vulnerability_audit_summary_collections: List of vulnerability audit summary. """ - pulumi.set(__self__, "artifact_override_parameters", artifact_override_parameters) - pulumi.set(__self__, "delivered_artifacts", delivered_artifacts) - pulumi.set(__self__, "exported_variables", exported_variables) - pulumi.set(__self__, "vulnerability_audit_summary_collections", vulnerability_audit_summary_collections) + GetBuildRunBuildOutputResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + artifact_override_parameters=artifact_override_parameters, + delivered_artifacts=delivered_artifacts, + exported_variables=exported_variables, + vulnerability_audit_summary_collections=vulnerability_audit_summary_collections, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + artifact_override_parameters: Sequence['outputs.GetBuildRunBuildOutputArtifactOverrideParameterResult'], + delivered_artifacts: Sequence['outputs.GetBuildRunBuildOutputDeliveredArtifactResult'], + exported_variables: Sequence['outputs.GetBuildRunBuildOutputExportedVariableResult'], + vulnerability_audit_summary_collections: Sequence['outputs.GetBuildRunBuildOutputVulnerabilityAuditSummaryCollectionResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("artifact_override_parameters", artifact_override_parameters) + _setter("delivered_artifacts", delivered_artifacts) + _setter("exported_variables", exported_variables) + _setter("vulnerability_audit_summary_collections", vulnerability_audit_summary_collections) @property @pulumi.getter(name="artifactOverrideParameters") @@ -6138,7 +7645,16 @@ def __init__(__self__, *, """ :param Sequence['GetBuildRunBuildOutputArtifactOverrideParameterItemArgs'] items: List of exported variables. """ - pulumi.set(__self__, "items", items) + GetBuildRunBuildOutputArtifactOverrideParameterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetBuildRunBuildOutputArtifactOverrideParameterItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -6160,9 +7676,22 @@ def __init__(__self__, *, :param str name: Name of the step. :param str value: Value of the argument. """ - pulumi.set(__self__, "deploy_artifact_id", deploy_artifact_id) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + GetBuildRunBuildOutputArtifactOverrideParameterItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + deploy_artifact_id=deploy_artifact_id, + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deploy_artifact_id: str, + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("deploy_artifact_id", deploy_artifact_id) + _setter("name", name) + _setter("value", value) @property @pulumi.getter(name="deployArtifactId") @@ -6196,7 +7725,16 @@ def __init__(__self__, *, """ :param Sequence['GetBuildRunBuildOutputDeliveredArtifactItemArgs'] items: List of exported variables. """ - pulumi.set(__self__, "items", items) + GetBuildRunBuildOutputDeliveredArtifactResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetBuildRunBuildOutputDeliveredArtifactItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -6230,15 +7768,40 @@ def __init__(__self__, *, :param str path: Path of the repository where artifact was pushed :param str version: Version of the artifact pushed """ - pulumi.set(__self__, "artifact_repository_id", artifact_repository_id) - pulumi.set(__self__, "artifact_type", artifact_type) - pulumi.set(__self__, "delivered_artifact_hash", delivered_artifact_hash) - pulumi.set(__self__, "delivered_artifact_id", delivered_artifact_id) - pulumi.set(__self__, "deploy_artifact_id", deploy_artifact_id) - pulumi.set(__self__, "image_uri", image_uri) - pulumi.set(__self__, "output_artifact_name", output_artifact_name) - pulumi.set(__self__, "path", path) - pulumi.set(__self__, "version", version) + GetBuildRunBuildOutputDeliveredArtifactItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + artifact_repository_id=artifact_repository_id, + artifact_type=artifact_type, + delivered_artifact_hash=delivered_artifact_hash, + delivered_artifact_id=delivered_artifact_id, + deploy_artifact_id=deploy_artifact_id, + image_uri=image_uri, + output_artifact_name=output_artifact_name, + path=path, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + artifact_repository_id: str, + artifact_type: str, + delivered_artifact_hash: str, + delivered_artifact_id: str, + deploy_artifact_id: str, + image_uri: str, + output_artifact_name: str, + path: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("artifact_repository_id", artifact_repository_id) + _setter("artifact_type", artifact_type) + _setter("delivered_artifact_hash", delivered_artifact_hash) + _setter("delivered_artifact_id", delivered_artifact_id) + _setter("deploy_artifact_id", deploy_artifact_id) + _setter("image_uri", image_uri) + _setter("output_artifact_name", output_artifact_name) + _setter("path", path) + _setter("version", version) @property @pulumi.getter(name="artifactRepositoryId") @@ -6320,7 +7883,16 @@ def __init__(__self__, *, """ :param Sequence['GetBuildRunBuildOutputExportedVariableItemArgs'] items: List of exported variables. """ - pulumi.set(__self__, "items", items) + GetBuildRunBuildOutputExportedVariableResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetBuildRunBuildOutputExportedVariableItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -6340,8 +7912,19 @@ def __init__(__self__, *, :param str name: Name of the step. :param str value: Value of the argument. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + GetBuildRunBuildOutputExportedVariableItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("value", value) @property @pulumi.getter @@ -6367,7 +7950,16 @@ def __init__(__self__, *, """ :param Sequence['GetBuildRunBuildOutputVulnerabilityAuditSummaryCollectionItemArgs'] items: List of exported variables. """ - pulumi.set(__self__, "items", items) + GetBuildRunBuildOutputVulnerabilityAuditSummaryCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetBuildRunBuildOutputVulnerabilityAuditSummaryCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -6389,9 +7981,22 @@ def __init__(__self__, *, :param str commit_hash: Commit hash pertinent to the repository URL and the specified branch. :param str vulnerability_audit_id: The OCID of the vulnerability audit. """ - pulumi.set(__self__, "build_stage_id", build_stage_id) - pulumi.set(__self__, "commit_hash", commit_hash) - pulumi.set(__self__, "vulnerability_audit_id", vulnerability_audit_id) + GetBuildRunBuildOutputVulnerabilityAuditSummaryCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + build_stage_id=build_stage_id, + commit_hash=commit_hash, + vulnerability_audit_id=vulnerability_audit_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + build_stage_id: str, + commit_hash: str, + vulnerability_audit_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("build_stage_id", build_stage_id) + _setter("commit_hash", commit_hash) + _setter("vulnerability_audit_id", vulnerability_audit_id) @property @pulumi.getter(name="buildStageId") @@ -6425,7 +8030,16 @@ def __init__(__self__, *, """ :param Sequence['GetBuildRunBuildRunArgumentItemArgs'] items: List of exported variables. """ - pulumi.set(__self__, "items", items) + GetBuildRunBuildRunArgumentResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetBuildRunBuildRunArgumentItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -6445,8 +8059,19 @@ def __init__(__self__, *, :param str name: Name of the step. :param str value: Value of the argument. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + GetBuildRunBuildRunArgumentItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("value", value) @property @pulumi.getter @@ -6476,9 +8101,22 @@ def __init__(__self__, *, :param str time_finished: The time the build run finished. Format defined by [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339). :param str time_started: The time the build run started. Format defined by [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339). """ - pulumi.set(__self__, "build_pipeline_stage_run_progress", build_pipeline_stage_run_progress) - pulumi.set(__self__, "time_finished", time_finished) - pulumi.set(__self__, "time_started", time_started) + GetBuildRunBuildRunProgressResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + build_pipeline_stage_run_progress=build_pipeline_stage_run_progress, + time_finished=time_finished, + time_started=time_started, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + build_pipeline_stage_run_progress: Mapping[str, Any], + time_finished: str, + time_started: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("build_pipeline_stage_run_progress", build_pipeline_stage_run_progress) + _setter("time_finished", time_finished) + _setter("time_started", time_started) @property @pulumi.getter(name="buildPipelineStageRunProgress") @@ -6518,10 +8156,25 @@ def __init__(__self__, *, :param str trigger_id: The trigger that invoked the build run. :param Sequence['GetBuildRunBuildRunSourceTriggerInfoArgs'] trigger_infos: Trigger details that need to be used for the BuildRun """ - pulumi.set(__self__, "repository_id", repository_id) - pulumi.set(__self__, "source_type", source_type) - pulumi.set(__self__, "trigger_id", trigger_id) - pulumi.set(__self__, "trigger_infos", trigger_infos) + GetBuildRunBuildRunSourceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + repository_id=repository_id, + source_type=source_type, + trigger_id=trigger_id, + trigger_infos=trigger_infos, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + repository_id: str, + source_type: str, + trigger_id: str, + trigger_infos: Sequence['outputs.GetBuildRunBuildRunSourceTriggerInfoResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("repository_id", repository_id) + _setter("source_type", source_type) + _setter("trigger_id", trigger_id) + _setter("trigger_infos", trigger_infos) @property @pulumi.getter(name="repositoryId") @@ -6565,8 +8218,19 @@ def __init__(__self__, *, :param Sequence['GetBuildRunBuildRunSourceTriggerInfoActionArgs'] actions: The list of actions that are to be performed for this Trigger :param str display_name: Build run display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. """ - pulumi.set(__self__, "actions", actions) - pulumi.set(__self__, "display_name", display_name) + GetBuildRunBuildRunSourceTriggerInfoResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + actions=actions, + display_name=display_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + actions: Sequence['outputs.GetBuildRunBuildRunSourceTriggerInfoActionResult'], + display_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("actions", actions) + _setter("display_name", display_name) @property @pulumi.getter @@ -6596,9 +8260,22 @@ def __init__(__self__, *, :param Sequence['GetBuildRunBuildRunSourceTriggerInfoActionFilterArgs'] filters: The filters for the trigger. :param str type: The type of action that will be taken. Allowed value is TRIGGER_BUILD_PIPELINE. """ - pulumi.set(__self__, "build_pipeline_id", build_pipeline_id) - pulumi.set(__self__, "filters", filters) - pulumi.set(__self__, "type", type) + GetBuildRunBuildRunSourceTriggerInfoActionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + build_pipeline_id=build_pipeline_id, + filters=filters, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + build_pipeline_id: str, + filters: Sequence['outputs.GetBuildRunBuildRunSourceTriggerInfoActionFilterResult'], + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("build_pipeline_id", build_pipeline_id) + _setter("filters", filters) + _setter("type", type) @property @pulumi.getter(name="buildPipelineId") @@ -6637,10 +8314,25 @@ def __init__(__self__, *, :param Sequence['GetBuildRunBuildRunSourceTriggerInfoActionFilterIncludeArgs'] includes: Attributes to filter GitLab self-hosted server events. :param str trigger_source: Source of the trigger. Allowed values are, GITHUB and GITLAB. """ - pulumi.set(__self__, "events", events) - pulumi.set(__self__, "excludes", excludes) - pulumi.set(__self__, "includes", includes) - pulumi.set(__self__, "trigger_source", trigger_source) + GetBuildRunBuildRunSourceTriggerInfoActionFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + events=events, + excludes=excludes, + includes=includes, + trigger_source=trigger_source, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + events: Sequence[str], + excludes: Sequence['outputs.GetBuildRunBuildRunSourceTriggerInfoActionFilterExcludeResult'], + includes: Sequence['outputs.GetBuildRunBuildRunSourceTriggerInfoActionFilterIncludeResult'], + trigger_source: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("events", events) + _setter("excludes", excludes) + _setter("includes", includes) + _setter("trigger_source", trigger_source) @property @pulumi.getter @@ -6676,7 +8368,16 @@ def trigger_source(self) -> str: class GetBuildRunBuildRunSourceTriggerInfoActionFilterExcludeResult(dict): def __init__(__self__, *, file_filters: Sequence['outputs.GetBuildRunBuildRunSourceTriggerInfoActionFilterExcludeFileFilterResult']): - pulumi.set(__self__, "file_filters", file_filters) + GetBuildRunBuildRunSourceTriggerInfoActionFilterExcludeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + file_filters=file_filters, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + file_filters: Sequence['outputs.GetBuildRunBuildRunSourceTriggerInfoActionFilterExcludeFileFilterResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("file_filters", file_filters) @property @pulumi.getter(name="fileFilters") @@ -6688,7 +8389,16 @@ def file_filters(self) -> Sequence['outputs.GetBuildRunBuildRunSourceTriggerInfo class GetBuildRunBuildRunSourceTriggerInfoActionFilterExcludeFileFilterResult(dict): def __init__(__self__, *, file_paths: Sequence[str]): - pulumi.set(__self__, "file_paths", file_paths) + GetBuildRunBuildRunSourceTriggerInfoActionFilterExcludeFileFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + file_paths=file_paths, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + file_paths: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("file_paths", file_paths) @property @pulumi.getter(name="filePaths") @@ -6708,10 +8418,25 @@ def __init__(__self__, *, :param str head_ref: Branch for push event; source branch for pull requests. :param str repository_name: The repository name for trigger events. """ - pulumi.set(__self__, "base_ref", base_ref) - pulumi.set(__self__, "file_filters", file_filters) - pulumi.set(__self__, "head_ref", head_ref) - pulumi.set(__self__, "repository_name", repository_name) + GetBuildRunBuildRunSourceTriggerInfoActionFilterIncludeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + base_ref=base_ref, + file_filters=file_filters, + head_ref=head_ref, + repository_name=repository_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + base_ref: str, + file_filters: Sequence['outputs.GetBuildRunBuildRunSourceTriggerInfoActionFilterIncludeFileFilterResult'], + head_ref: str, + repository_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("base_ref", base_ref) + _setter("file_filters", file_filters) + _setter("head_ref", head_ref) + _setter("repository_name", repository_name) @property @pulumi.getter(name="baseRef") @@ -6747,7 +8472,16 @@ def repository_name(self) -> str: class GetBuildRunBuildRunSourceTriggerInfoActionFilterIncludeFileFilterResult(dict): def __init__(__self__, *, file_paths: Sequence[str]): - pulumi.set(__self__, "file_paths", file_paths) + GetBuildRunBuildRunSourceTriggerInfoActionFilterIncludeFileFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + file_paths=file_paths, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + file_paths: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("file_paths", file_paths) @property @pulumi.getter(name="filePaths") @@ -6766,9 +8500,22 @@ def __init__(__self__, *, :param str repository_branch: Name of the repository branch. :param str repository_url: Repository URL. """ - pulumi.set(__self__, "commit_hash", commit_hash) - pulumi.set(__self__, "repository_branch", repository_branch) - pulumi.set(__self__, "repository_url", repository_url) + GetBuildRunCommitInfoResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + commit_hash=commit_hash, + repository_branch=repository_branch, + repository_url=repository_url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + commit_hash: str, + repository_branch: str, + repository_url: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("commit_hash", commit_hash) + _setter("repository_branch", repository_branch) + _setter("repository_url", repository_url) @property @pulumi.getter(name="commitHash") @@ -6802,7 +8549,16 @@ def __init__(__self__, *, """ :param Sequence['GetBuildRunsBuildRunSummaryCollectionItemArgs'] items: List of exported variables. """ - pulumi.set(__self__, "items", items) + GetBuildRunsBuildRunSummaryCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetBuildRunsBuildRunSummaryCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -6849,22 +8605,61 @@ def __init__(__self__, *, :param str time_created: The time the build run was created. Format defined by [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339). :param str time_updated: The time the build run was updated. Format defined by [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339). """ - pulumi.set(__self__, "build_pipeline_id", build_pipeline_id) - pulumi.set(__self__, "build_run_arguments", build_run_arguments) - pulumi.set(__self__, "build_run_progress_summaries", build_run_progress_summaries) - pulumi.set(__self__, "build_run_sources", build_run_sources) - pulumi.set(__self__, "commit_info", commit_info) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "project_id", project_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetBuildRunsBuildRunSummaryCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + build_pipeline_id=build_pipeline_id, + build_run_arguments=build_run_arguments, + build_run_progress_summaries=build_run_progress_summaries, + build_run_sources=build_run_sources, + commit_info=commit_info, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + project_id=project_id, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + build_pipeline_id: str, + build_run_arguments: 'outputs.GetBuildRunsBuildRunSummaryCollectionItemBuildRunArgumentsResult', + build_run_progress_summaries: Sequence['outputs.GetBuildRunsBuildRunSummaryCollectionItemBuildRunProgressSummaryResult'], + build_run_sources: Sequence['outputs.GetBuildRunsBuildRunSummaryCollectionItemBuildRunSourceResult'], + commit_info: 'outputs.GetBuildRunsBuildRunSummaryCollectionItemCommitInfoResult', + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + project_id: str, + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("build_pipeline_id", build_pipeline_id) + _setter("build_run_arguments", build_run_arguments) + _setter("build_run_progress_summaries", build_run_progress_summaries) + _setter("build_run_sources", build_run_sources) + _setter("commit_info", commit_info) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("project_id", project_id) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="buildPipelineId") @@ -6999,7 +8794,16 @@ def __init__(__self__, *, """ :param Sequence['GetBuildRunsBuildRunSummaryCollectionItemBuildRunArgumentsItemArgs'] items: List of exported variables. """ - pulumi.set(__self__, "items", items) + GetBuildRunsBuildRunSummaryCollectionItemBuildRunArgumentsResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetBuildRunsBuildRunSummaryCollectionItemBuildRunArgumentsItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -7019,8 +8823,19 @@ def __init__(__self__, *, :param str name: Name of the step. :param str value: Value of the argument. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + GetBuildRunsBuildRunSummaryCollectionItemBuildRunArgumentsItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("value", value) @property @pulumi.getter @@ -7048,8 +8863,19 @@ def __init__(__self__, *, :param str time_finished: The time the build run finished. Format defined by [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339). :param str time_started: The time the build run started. Format defined by [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339). """ - pulumi.set(__self__, "time_finished", time_finished) - pulumi.set(__self__, "time_started", time_started) + GetBuildRunsBuildRunSummaryCollectionItemBuildRunProgressSummaryResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + time_finished=time_finished, + time_started=time_started, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + time_finished: str, + time_started: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("time_finished", time_finished) + _setter("time_started", time_started) @property @pulumi.getter(name="timeFinished") @@ -7079,9 +8905,22 @@ def __init__(__self__, *, :param str source_type: The source from which the build run is triggered. :param Sequence['GetBuildRunsBuildRunSummaryCollectionItemBuildRunSourceTriggerInfoArgs'] trigger_infos: Trigger details that need to be used for the BuildRun """ - pulumi.set(__self__, "repository_id", repository_id) - pulumi.set(__self__, "source_type", source_type) - pulumi.set(__self__, "trigger_infos", trigger_infos) + GetBuildRunsBuildRunSummaryCollectionItemBuildRunSourceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + repository_id=repository_id, + source_type=source_type, + trigger_infos=trigger_infos, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + repository_id: str, + source_type: str, + trigger_infos: Sequence['outputs.GetBuildRunsBuildRunSummaryCollectionItemBuildRunSourceTriggerInfoResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("repository_id", repository_id) + _setter("source_type", source_type) + _setter("trigger_infos", trigger_infos) @property @pulumi.getter(name="repositoryId") @@ -7119,9 +8958,22 @@ def __init__(__self__, *, :param str display_name: A filter to return only resources that match the entire display name given. :param str trigger_id: The trigger that invoked the build run. """ - pulumi.set(__self__, "actions", actions) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "trigger_id", trigger_id) + GetBuildRunsBuildRunSummaryCollectionItemBuildRunSourceTriggerInfoResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + actions=actions, + display_name=display_name, + trigger_id=trigger_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + actions: Sequence['outputs.GetBuildRunsBuildRunSummaryCollectionItemBuildRunSourceTriggerInfoActionResult'], + display_name: str, + trigger_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("actions", actions) + _setter("display_name", display_name) + _setter("trigger_id", trigger_id) @property @pulumi.getter @@ -7159,9 +9011,22 @@ def __init__(__self__, *, :param Sequence['GetBuildRunsBuildRunSummaryCollectionItemBuildRunSourceTriggerInfoActionFilterArgs'] filters: The filters for the trigger. :param str type: The type of action that will be taken. Allowed value is TRIGGER_BUILD_PIPELINE. """ - pulumi.set(__self__, "build_pipeline_id", build_pipeline_id) - pulumi.set(__self__, "filters", filters) - pulumi.set(__self__, "type", type) + GetBuildRunsBuildRunSummaryCollectionItemBuildRunSourceTriggerInfoActionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + build_pipeline_id=build_pipeline_id, + filters=filters, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + build_pipeline_id: str, + filters: Sequence['outputs.GetBuildRunsBuildRunSummaryCollectionItemBuildRunSourceTriggerInfoActionFilterResult'], + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("build_pipeline_id", build_pipeline_id) + _setter("filters", filters) + _setter("type", type) @property @pulumi.getter(name="buildPipelineId") @@ -7199,9 +9064,22 @@ def __init__(__self__, *, :param Sequence['GetBuildRunsBuildRunSummaryCollectionItemBuildRunSourceTriggerInfoActionFilterIncludeArgs'] includes: Attributes to filter GitLab self-hosted server events. :param str trigger_source: Source of the trigger. Allowed values are, GITHUB and GITLAB. """ - pulumi.set(__self__, "events", events) - pulumi.set(__self__, "includes", includes) - pulumi.set(__self__, "trigger_source", trigger_source) + GetBuildRunsBuildRunSummaryCollectionItemBuildRunSourceTriggerInfoActionFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + events=events, + includes=includes, + trigger_source=trigger_source, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + events: Sequence[str], + includes: Sequence['outputs.GetBuildRunsBuildRunSummaryCollectionItemBuildRunSourceTriggerInfoActionFilterIncludeResult'], + trigger_source: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("events", events) + _setter("includes", includes) + _setter("trigger_source", trigger_source) @property @pulumi.getter @@ -7237,8 +9115,19 @@ def __init__(__self__, *, :param str base_ref: The target branch for pull requests; not applicable for push requests. :param str head_ref: Branch for push event; source branch for pull requests. """ - pulumi.set(__self__, "base_ref", base_ref) - pulumi.set(__self__, "head_ref", head_ref) + GetBuildRunsBuildRunSummaryCollectionItemBuildRunSourceTriggerInfoActionFilterIncludeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + base_ref=base_ref, + head_ref=head_ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + base_ref: str, + head_ref: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("base_ref", base_ref) + _setter("head_ref", head_ref) @property @pulumi.getter(name="baseRef") @@ -7268,9 +9157,22 @@ def __init__(__self__, *, :param str repository_branch: Name of the repository branch. :param str repository_url: Repository URL. """ - pulumi.set(__self__, "commit_hash", commit_hash) - pulumi.set(__self__, "repository_branch", repository_branch) - pulumi.set(__self__, "repository_url", repository_url) + GetBuildRunsBuildRunSummaryCollectionItemCommitInfoResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + commit_hash=commit_hash, + repository_branch=repository_branch, + repository_url=repository_url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + commit_hash: str, + repository_branch: str, + repository_url: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("commit_hash", commit_hash) + _setter("repository_branch", repository_branch) + _setter("repository_url", repository_url) @property @pulumi.getter(name="commitHash") @@ -7306,10 +9208,23 @@ def __init__(__self__, *, """ :param str name: Name of the step. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetBuildRunsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -7341,9 +9256,22 @@ def __init__(__self__, *, :param str result: The latest result of whether the credentials pass the validation. :param str time_validated: The latest timestamp when the connection was validated. Format defined by [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339). """ - pulumi.set(__self__, "message", message) - pulumi.set(__self__, "result", result) - pulumi.set(__self__, "time_validated", time_validated) + GetConnectionLastConnectionValidationResultResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + message=message, + result=result, + time_validated=time_validated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + message: str, + result: str, + time_validated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("message", message) + _setter("result", result) + _setter("time_validated", time_validated) @property @pulumi.getter @@ -7379,8 +9307,19 @@ def __init__(__self__, *, :param str ca_certificate_bundle_id: The OCID of Oracle Cloud Infrastructure certificate service CA bundle. :param str tls_verify_mode: The type of TLS verification. """ - pulumi.set(__self__, "ca_certificate_bundle_id", ca_certificate_bundle_id) - pulumi.set(__self__, "tls_verify_mode", tls_verify_mode) + GetConnectionTlsVerifyConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ca_certificate_bundle_id=ca_certificate_bundle_id, + tls_verify_mode=tls_verify_mode, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ca_certificate_bundle_id: str, + tls_verify_mode: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ca_certificate_bundle_id", ca_certificate_bundle_id) + _setter("tls_verify_mode", tls_verify_mode) @property @pulumi.getter(name="caCertificateBundleId") @@ -7403,7 +9342,16 @@ def tls_verify_mode(self) -> str: class GetConnectionsConnectionCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetConnectionsConnectionCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetConnectionsConnectionCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetConnectionsConnectionCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -7452,24 +9400,67 @@ def __init__(__self__, *, :param Sequence['GetConnectionsConnectionCollectionItemTlsVerifyConfigArgs'] tls_verify_configs: TLS configuration used by build service to verify TLS connection. :param str username: Public Bitbucket Cloud Username in plain text """ - pulumi.set(__self__, "access_token", access_token) - pulumi.set(__self__, "app_password", app_password) - pulumi.set(__self__, "base_url", base_url) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "connection_type", connection_type) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "last_connection_validation_results", last_connection_validation_results) - pulumi.set(__self__, "project_id", project_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "tls_verify_configs", tls_verify_configs) - pulumi.set(__self__, "username", username) + GetConnectionsConnectionCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + access_token=access_token, + app_password=app_password, + base_url=base_url, + compartment_id=compartment_id, + connection_type=connection_type, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + last_connection_validation_results=last_connection_validation_results, + project_id=project_id, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + tls_verify_configs=tls_verify_configs, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access_token: str, + app_password: str, + base_url: str, + compartment_id: str, + connection_type: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + last_connection_validation_results: Sequence['outputs.GetConnectionsConnectionCollectionItemLastConnectionValidationResultResult'], + project_id: str, + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + tls_verify_configs: Sequence['outputs.GetConnectionsConnectionCollectionItemTlsVerifyConfigResult'], + username: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("access_token", access_token) + _setter("app_password", app_password) + _setter("base_url", base_url) + _setter("compartment_id", compartment_id) + _setter("connection_type", connection_type) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("last_connection_validation_results", last_connection_validation_results) + _setter("project_id", project_id) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("tls_verify_configs", tls_verify_configs) + _setter("username", username) @property @pulumi.getter(name="accessToken") @@ -7627,9 +9618,22 @@ def __init__(__self__, *, :param str result: The latest result of whether the credentials pass the validation. :param str time_validated: The latest timestamp when the connection was validated. Format defined by [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339). """ - pulumi.set(__self__, "message", message) - pulumi.set(__self__, "result", result) - pulumi.set(__self__, "time_validated", time_validated) + GetConnectionsConnectionCollectionItemLastConnectionValidationResultResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + message=message, + result=result, + time_validated=time_validated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + message: str, + result: str, + time_validated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("message", message) + _setter("result", result) + _setter("time_validated", time_validated) @property @pulumi.getter @@ -7665,8 +9669,19 @@ def __init__(__self__, *, :param str ca_certificate_bundle_id: The OCID of Oracle Cloud Infrastructure certificate service CA bundle. :param str tls_verify_mode: The type of TLS verification. """ - pulumi.set(__self__, "ca_certificate_bundle_id", ca_certificate_bundle_id) - pulumi.set(__self__, "tls_verify_mode", tls_verify_mode) + GetConnectionsConnectionCollectionItemTlsVerifyConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ca_certificate_bundle_id=ca_certificate_bundle_id, + tls_verify_mode=tls_verify_mode, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ca_certificate_bundle_id: str, + tls_verify_mode: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ca_certificate_bundle_id", ca_certificate_bundle_id) + _setter("tls_verify_mode", tls_verify_mode) @property @pulumi.getter(name="caCertificateBundleId") @@ -7691,10 +9706,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetConnectionsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -7735,15 +9763,40 @@ def __init__(__self__, *, :param str image_uri: Specifies OCIR Image Path - optionally include tag. :param str repository_id: The OCID of a repository """ - pulumi.set(__self__, "base64encoded_content", base64encoded_content) - pulumi.set(__self__, "chart_url", chart_url) - pulumi.set(__self__, "deploy_artifact_path", deploy_artifact_path) - pulumi.set(__self__, "deploy_artifact_source_type", deploy_artifact_source_type) - pulumi.set(__self__, "deploy_artifact_version", deploy_artifact_version) - pulumi.set(__self__, "helm_verification_key_sources", helm_verification_key_sources) - pulumi.set(__self__, "image_digest", image_digest) - pulumi.set(__self__, "image_uri", image_uri) - pulumi.set(__self__, "repository_id", repository_id) + GetDeployArtifactDeployArtifactSourceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + base64encoded_content=base64encoded_content, + chart_url=chart_url, + deploy_artifact_path=deploy_artifact_path, + deploy_artifact_source_type=deploy_artifact_source_type, + deploy_artifact_version=deploy_artifact_version, + helm_verification_key_sources=helm_verification_key_sources, + image_digest=image_digest, + image_uri=image_uri, + repository_id=repository_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + base64encoded_content: str, + chart_url: str, + deploy_artifact_path: str, + deploy_artifact_source_type: str, + deploy_artifact_version: str, + helm_verification_key_sources: Sequence['outputs.GetDeployArtifactDeployArtifactSourceHelmVerificationKeySourceResult'], + image_digest: str, + image_uri: str, + repository_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("base64encoded_content", base64encoded_content) + _setter("chart_url", chart_url) + _setter("deploy_artifact_path", deploy_artifact_path) + _setter("deploy_artifact_source_type", deploy_artifact_source_type) + _setter("deploy_artifact_version", deploy_artifact_version) + _setter("helm_verification_key_sources", helm_verification_key_sources) + _setter("image_digest", image_digest) + _setter("image_uri", image_uri) + _setter("repository_id", repository_id) @property @pulumi.getter(name="base64encodedContent") @@ -7831,10 +9884,25 @@ def __init__(__self__, *, :param str vault_secret_id: The OCID of the Vault Secret containing the verification key versions. :param str verification_key_source_type: Specifies type of verification material. """ - pulumi.set(__self__, "current_public_key", current_public_key) - pulumi.set(__self__, "previous_public_key", previous_public_key) - pulumi.set(__self__, "vault_secret_id", vault_secret_id) - pulumi.set(__self__, "verification_key_source_type", verification_key_source_type) + GetDeployArtifactDeployArtifactSourceHelmVerificationKeySourceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + current_public_key=current_public_key, + previous_public_key=previous_public_key, + vault_secret_id=vault_secret_id, + verification_key_source_type=verification_key_source_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + current_public_key: str, + previous_public_key: str, + vault_secret_id: str, + verification_key_source_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("current_public_key", current_public_key) + _setter("previous_public_key", previous_public_key) + _setter("vault_secret_id", vault_secret_id) + _setter("verification_key_source_type", verification_key_source_type) @property @pulumi.getter(name="currentPublicKey") @@ -7873,7 +9941,16 @@ def verification_key_source_type(self) -> str: class GetDeployArtifactsDeployArtifactCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetDeployArtifactsDeployArtifactCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetDeployArtifactsDeployArtifactCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeployArtifactsDeployArtifactCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -7916,21 +9993,58 @@ def __init__(__self__, *, :param str time_created: Time the deployment artifact was created. Format defined by [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339). :param str time_updated: Time the deployment artifact was updated. Format defined by [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339). """ - pulumi.set(__self__, "argument_substitution_mode", argument_substitution_mode) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "deploy_artifact_sources", deploy_artifact_sources) - pulumi.set(__self__, "deploy_artifact_type", deploy_artifact_type) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "project_id", project_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetDeployArtifactsDeployArtifactCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + argument_substitution_mode=argument_substitution_mode, + compartment_id=compartment_id, + defined_tags=defined_tags, + deploy_artifact_sources=deploy_artifact_sources, + deploy_artifact_type=deploy_artifact_type, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + project_id=project_id, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + argument_substitution_mode: str, + compartment_id: str, + defined_tags: Mapping[str, Any], + deploy_artifact_sources: Sequence['outputs.GetDeployArtifactsDeployArtifactCollectionItemDeployArtifactSourceResult'], + deploy_artifact_type: str, + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + project_id: str, + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("argument_substitution_mode", argument_substitution_mode) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("deploy_artifact_sources", deploy_artifact_sources) + _setter("deploy_artifact_type", deploy_artifact_type) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("project_id", project_id) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="argumentSubstitutionMode") @@ -8076,15 +10190,40 @@ def __init__(__self__, *, :param str image_uri: Specifies OCIR Image Path - optionally include tag. :param str repository_id: The OCID of a repository """ - pulumi.set(__self__, "base64encoded_content", base64encoded_content) - pulumi.set(__self__, "chart_url", chart_url) - pulumi.set(__self__, "deploy_artifact_path", deploy_artifact_path) - pulumi.set(__self__, "deploy_artifact_source_type", deploy_artifact_source_type) - pulumi.set(__self__, "deploy_artifact_version", deploy_artifact_version) - pulumi.set(__self__, "helm_verification_key_sources", helm_verification_key_sources) - pulumi.set(__self__, "image_digest", image_digest) - pulumi.set(__self__, "image_uri", image_uri) - pulumi.set(__self__, "repository_id", repository_id) + GetDeployArtifactsDeployArtifactCollectionItemDeployArtifactSourceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + base64encoded_content=base64encoded_content, + chart_url=chart_url, + deploy_artifact_path=deploy_artifact_path, + deploy_artifact_source_type=deploy_artifact_source_type, + deploy_artifact_version=deploy_artifact_version, + helm_verification_key_sources=helm_verification_key_sources, + image_digest=image_digest, + image_uri=image_uri, + repository_id=repository_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + base64encoded_content: str, + chart_url: str, + deploy_artifact_path: str, + deploy_artifact_source_type: str, + deploy_artifact_version: str, + helm_verification_key_sources: Sequence['outputs.GetDeployArtifactsDeployArtifactCollectionItemDeployArtifactSourceHelmVerificationKeySourceResult'], + image_digest: str, + image_uri: str, + repository_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("base64encoded_content", base64encoded_content) + _setter("chart_url", chart_url) + _setter("deploy_artifact_path", deploy_artifact_path) + _setter("deploy_artifact_source_type", deploy_artifact_source_type) + _setter("deploy_artifact_version", deploy_artifact_version) + _setter("helm_verification_key_sources", helm_verification_key_sources) + _setter("image_digest", image_digest) + _setter("image_uri", image_uri) + _setter("repository_id", repository_id) @property @pulumi.getter(name="base64encodedContent") @@ -8172,10 +10311,25 @@ def __init__(__self__, *, :param str vault_secret_id: The OCID of the Vault Secret containing the verification key versions. :param str verification_key_source_type: Specifies type of verification material. """ - pulumi.set(__self__, "current_public_key", current_public_key) - pulumi.set(__self__, "previous_public_key", previous_public_key) - pulumi.set(__self__, "vault_secret_id", vault_secret_id) - pulumi.set(__self__, "verification_key_source_type", verification_key_source_type) + GetDeployArtifactsDeployArtifactCollectionItemDeployArtifactSourceHelmVerificationKeySourceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + current_public_key=current_public_key, + previous_public_key=previous_public_key, + vault_secret_id=vault_secret_id, + verification_key_source_type=verification_key_source_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + current_public_key: str, + previous_public_key: str, + vault_secret_id: str, + verification_key_source_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("current_public_key", current_public_key) + _setter("previous_public_key", previous_public_key) + _setter("vault_secret_id", vault_secret_id) + _setter("verification_key_source_type", verification_key_source_type) @property @pulumi.getter(name="currentPublicKey") @@ -8216,10 +10370,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDeployArtifactsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -8244,7 +10411,16 @@ def __init__(__self__, *, """ :param Sequence['GetDeployEnvironmentComputeInstanceGroupSelectorItemArgs'] items: A list of selectors for the instance group. UNION operator is used for combining the instances selected by each selector. """ - pulumi.set(__self__, "items", items) + GetDeployEnvironmentComputeInstanceGroupSelectorResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeployEnvironmentComputeInstanceGroupSelectorItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -8268,10 +10444,25 @@ def __init__(__self__, *, :param str region: Region identifier referred by the deployment environment. Region identifiers are listed at https://docs.oracle.com/en-us/iaas/Content/General/Concepts/regions.htm :param str selector_type: Defines the type of the instance selector for the group. """ - pulumi.set(__self__, "compute_instance_ids", compute_instance_ids) - pulumi.set(__self__, "query", query) - pulumi.set(__self__, "region", region) - pulumi.set(__self__, "selector_type", selector_type) + GetDeployEnvironmentComputeInstanceGroupSelectorItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compute_instance_ids=compute_instance_ids, + query=query, + region=region, + selector_type=selector_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compute_instance_ids: Sequence[str], + query: str, + region: str, + selector_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compute_instance_ids", compute_instance_ids) + _setter("query", query) + _setter("region", region) + _setter("selector_type", selector_type) @property @pulumi.getter(name="computeInstanceIds") @@ -8317,9 +10508,22 @@ def __init__(__self__, *, :param Sequence[str] nsg_ids: An array of network security group OCIDs. :param str subnet_id: The OCID of the subnet where VNIC resources will be created for private endpoint. """ - pulumi.set(__self__, "network_channel_type", network_channel_type) - pulumi.set(__self__, "nsg_ids", nsg_ids) - pulumi.set(__self__, "subnet_id", subnet_id) + GetDeployEnvironmentNetworkChannelResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + network_channel_type=network_channel_type, + nsg_ids=nsg_ids, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + network_channel_type: str, + nsg_ids: Sequence[str], + subnet_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("network_channel_type", network_channel_type) + _setter("nsg_ids", nsg_ids) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="networkChannelType") @@ -8353,7 +10557,16 @@ def __init__(__self__, *, """ :param Sequence['GetDeployEnvironmentsDeployEnvironmentCollectionItemArgs'] items: A list of selectors for the instance group. UNION operator is used for combining the instances selected by each selector. """ - pulumi.set(__self__, "items", items) + GetDeployEnvironmentsDeployEnvironmentCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeployEnvironmentsDeployEnvironmentCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -8403,23 +10616,64 @@ def __init__(__self__, *, :param str time_created: Time the deployment environment was created. Format defined by [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339). :param str time_updated: Time the deployment environment was updated. Format defined by [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339). """ - pulumi.set(__self__, "cluster_id", cluster_id) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "compute_instance_group_selectors", compute_instance_group_selectors) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "deploy_environment_type", deploy_environment_type) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "function_id", function_id) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "network_channels", network_channels) - pulumi.set(__self__, "project_id", project_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetDeployEnvironmentsDeployEnvironmentCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cluster_id=cluster_id, + compartment_id=compartment_id, + compute_instance_group_selectors=compute_instance_group_selectors, + defined_tags=defined_tags, + deploy_environment_type=deploy_environment_type, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + function_id=function_id, + id=id, + lifecycle_details=lifecycle_details, + network_channels=network_channels, + project_id=project_id, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cluster_id: str, + compartment_id: str, + compute_instance_group_selectors: Sequence['outputs.GetDeployEnvironmentsDeployEnvironmentCollectionItemComputeInstanceGroupSelectorResult'], + defined_tags: Mapping[str, Any], + deploy_environment_type: str, + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + function_id: str, + id: str, + lifecycle_details: str, + network_channels: Sequence['outputs.GetDeployEnvironmentsDeployEnvironmentCollectionItemNetworkChannelResult'], + project_id: str, + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cluster_id", cluster_id) + _setter("compartment_id", compartment_id) + _setter("compute_instance_group_selectors", compute_instance_group_selectors) + _setter("defined_tags", defined_tags) + _setter("deploy_environment_type", deploy_environment_type) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("function_id", function_id) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("network_channels", network_channels) + _setter("project_id", project_id) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="clusterId") @@ -8565,7 +10819,16 @@ def __init__(__self__, *, """ :param Sequence['GetDeployEnvironmentsDeployEnvironmentCollectionItemComputeInstanceGroupSelectorItemArgs'] items: A list of selectors for the instance group. UNION operator is used for combining the instances selected by each selector. """ - pulumi.set(__self__, "items", items) + GetDeployEnvironmentsDeployEnvironmentCollectionItemComputeInstanceGroupSelectorResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeployEnvironmentsDeployEnvironmentCollectionItemComputeInstanceGroupSelectorItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -8589,10 +10852,25 @@ def __init__(__self__, *, :param str region: Region identifier referred by the deployment environment. Region identifiers are listed at https://docs.oracle.com/en-us/iaas/Content/General/Concepts/regions.htm :param str selector_type: Defines the type of the instance selector for the group. """ - pulumi.set(__self__, "compute_instance_ids", compute_instance_ids) - pulumi.set(__self__, "query", query) - pulumi.set(__self__, "region", region) - pulumi.set(__self__, "selector_type", selector_type) + GetDeployEnvironmentsDeployEnvironmentCollectionItemComputeInstanceGroupSelectorItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compute_instance_ids=compute_instance_ids, + query=query, + region=region, + selector_type=selector_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compute_instance_ids: Sequence[str], + query: str, + region: str, + selector_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compute_instance_ids", compute_instance_ids) + _setter("query", query) + _setter("region", region) + _setter("selector_type", selector_type) @property @pulumi.getter(name="computeInstanceIds") @@ -8638,9 +10916,22 @@ def __init__(__self__, *, :param Sequence[str] nsg_ids: An array of network security group OCIDs. :param str subnet_id: The OCID of the subnet where VNIC resources will be created for private endpoint. """ - pulumi.set(__self__, "network_channel_type", network_channel_type) - pulumi.set(__self__, "nsg_ids", nsg_ids) - pulumi.set(__self__, "subnet_id", subnet_id) + GetDeployEnvironmentsDeployEnvironmentCollectionItemNetworkChannelResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + network_channel_type=network_channel_type, + nsg_ids=nsg_ids, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + network_channel_type: str, + nsg_ids: Sequence[str], + subnet_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("network_channel_type", network_channel_type) + _setter("nsg_ids", nsg_ids) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="networkChannelType") @@ -8673,10 +10964,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDeployEnvironmentsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -8701,7 +11005,16 @@ def __init__(__self__, *, """ :param Sequence['GetDeployPipelineDeployPipelineArtifactItemArgs'] items: List of parameters defined for a deployment pipeline. """ - pulumi.set(__self__, "items", items) + GetDeployPipelineDeployPipelineArtifactResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeployPipelineDeployPipelineArtifactItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -8723,9 +11036,22 @@ def __init__(__self__, *, :param Sequence['GetDeployPipelineDeployPipelineArtifactItemDeployPipelineStageArgs'] deploy_pipeline_stages: List of stages. :param str display_name: Deployment pipeline display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. """ - pulumi.set(__self__, "deploy_artifact_id", deploy_artifact_id) - pulumi.set(__self__, "deploy_pipeline_stages", deploy_pipeline_stages) - pulumi.set(__self__, "display_name", display_name) + GetDeployPipelineDeployPipelineArtifactItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + deploy_artifact_id=deploy_artifact_id, + deploy_pipeline_stages=deploy_pipeline_stages, + display_name=display_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deploy_artifact_id: str, + deploy_pipeline_stages: Sequence['outputs.GetDeployPipelineDeployPipelineArtifactItemDeployPipelineStageResult'], + display_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("deploy_artifact_id", deploy_artifact_id) + _setter("deploy_pipeline_stages", deploy_pipeline_stages) + _setter("display_name", display_name) @property @pulumi.getter(name="deployArtifactId") @@ -8759,7 +11085,16 @@ def __init__(__self__, *, """ :param Sequence['GetDeployPipelineDeployPipelineArtifactItemDeployPipelineStageItemArgs'] items: List of parameters defined for a deployment pipeline. """ - pulumi.set(__self__, "items", items) + GetDeployPipelineDeployPipelineArtifactItemDeployPipelineStageResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeployPipelineDeployPipelineArtifactItemDeployPipelineStageItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -8779,8 +11114,19 @@ def __init__(__self__, *, :param str deploy_stage_id: The OCID of a stage :param str display_name: Deployment pipeline display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. """ - pulumi.set(__self__, "deploy_stage_id", deploy_stage_id) - pulumi.set(__self__, "display_name", display_name) + GetDeployPipelineDeployPipelineArtifactItemDeployPipelineStageItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + deploy_stage_id=deploy_stage_id, + display_name=display_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deploy_stage_id: str, + display_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("deploy_stage_id", deploy_stage_id) + _setter("display_name", display_name) @property @pulumi.getter(name="deployStageId") @@ -8806,7 +11152,16 @@ def __init__(__self__, *, """ :param Sequence['GetDeployPipelineDeployPipelineEnvironmentItemArgs'] items: List of parameters defined for a deployment pipeline. """ - pulumi.set(__self__, "items", items) + GetDeployPipelineDeployPipelineEnvironmentResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeployPipelineDeployPipelineEnvironmentItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -8828,9 +11183,22 @@ def __init__(__self__, *, :param Sequence['GetDeployPipelineDeployPipelineEnvironmentItemDeployPipelineStageArgs'] deploy_pipeline_stages: List of stages. :param str display_name: Deployment pipeline display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. """ - pulumi.set(__self__, "deploy_environment_id", deploy_environment_id) - pulumi.set(__self__, "deploy_pipeline_stages", deploy_pipeline_stages) - pulumi.set(__self__, "display_name", display_name) + GetDeployPipelineDeployPipelineEnvironmentItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + deploy_environment_id=deploy_environment_id, + deploy_pipeline_stages=deploy_pipeline_stages, + display_name=display_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deploy_environment_id: str, + deploy_pipeline_stages: Sequence['outputs.GetDeployPipelineDeployPipelineEnvironmentItemDeployPipelineStageResult'], + display_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("deploy_environment_id", deploy_environment_id) + _setter("deploy_pipeline_stages", deploy_pipeline_stages) + _setter("display_name", display_name) @property @pulumi.getter(name="deployEnvironmentId") @@ -8864,7 +11232,16 @@ def __init__(__self__, *, """ :param Sequence['GetDeployPipelineDeployPipelineEnvironmentItemDeployPipelineStageItemArgs'] items: List of parameters defined for a deployment pipeline. """ - pulumi.set(__self__, "items", items) + GetDeployPipelineDeployPipelineEnvironmentItemDeployPipelineStageResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeployPipelineDeployPipelineEnvironmentItemDeployPipelineStageItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -8884,8 +11261,19 @@ def __init__(__self__, *, :param str deploy_stage_id: The OCID of a stage :param str display_name: Deployment pipeline display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. """ - pulumi.set(__self__, "deploy_stage_id", deploy_stage_id) - pulumi.set(__self__, "display_name", display_name) + GetDeployPipelineDeployPipelineEnvironmentItemDeployPipelineStageItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + deploy_stage_id=deploy_stage_id, + display_name=display_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deploy_stage_id: str, + display_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("deploy_stage_id", deploy_stage_id) + _setter("display_name", display_name) @property @pulumi.getter(name="deployStageId") @@ -8911,7 +11299,16 @@ def __init__(__self__, *, """ :param Sequence['GetDeployPipelineDeployPipelineParameterItemArgs'] items: List of parameters defined for a deployment pipeline. """ - pulumi.set(__self__, "items", items) + GetDeployPipelineDeployPipelineParameterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeployPipelineDeployPipelineParameterItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -8933,9 +11330,22 @@ def __init__(__self__, *, :param str description: Optional description about the deployment pipeline. :param str name: Name of the parameter (case-sensitive). Parameter name must be ^[a-zA-Z][a-zA-Z_0-9]*$. """ - pulumi.set(__self__, "default_value", default_value) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "name", name) + GetDeployPipelineDeployPipelineParameterItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + default_value=default_value, + description=description, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + default_value: str, + description: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("default_value", default_value) + _setter("description", description) + _setter("name", name) @property @pulumi.getter(name="defaultValue") @@ -8969,7 +11379,16 @@ def __init__(__self__, *, """ :param Sequence['GetDeployPipelinesDeployPipelineCollectionItemArgs'] items: List of parameters defined for a deployment pipeline. """ - pulumi.set(__self__, "items", items) + GetDeployPipelinesDeployPipelineCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeployPipelinesDeployPipelineCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -9015,21 +11434,58 @@ def __init__(__self__, *, :param str time_created: Time the deployment pipeline was created. Format defined by [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339). :param str time_updated: Time the deployment pipeline was updated. Format defined by [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339). """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "deploy_pipeline_artifacts", deploy_pipeline_artifacts) - pulumi.set(__self__, "deploy_pipeline_environments", deploy_pipeline_environments) - pulumi.set(__self__, "deploy_pipeline_parameters", deploy_pipeline_parameters) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "project_id", project_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetDeployPipelinesDeployPipelineCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + deploy_pipeline_artifacts=deploy_pipeline_artifacts, + deploy_pipeline_environments=deploy_pipeline_environments, + deploy_pipeline_parameters=deploy_pipeline_parameters, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + project_id=project_id, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + deploy_pipeline_artifacts: Sequence['outputs.GetDeployPipelinesDeployPipelineCollectionItemDeployPipelineArtifactResult'], + deploy_pipeline_environments: Sequence['outputs.GetDeployPipelinesDeployPipelineCollectionItemDeployPipelineEnvironmentResult'], + deploy_pipeline_parameters: Sequence['outputs.GetDeployPipelinesDeployPipelineCollectionItemDeployPipelineParameterResult'], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + project_id: str, + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("deploy_pipeline_artifacts", deploy_pipeline_artifacts) + _setter("deploy_pipeline_environments", deploy_pipeline_environments) + _setter("deploy_pipeline_parameters", deploy_pipeline_parameters) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("project_id", project_id) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -9159,7 +11615,16 @@ def __init__(__self__, *, """ :param Sequence['GetDeployPipelinesDeployPipelineCollectionItemDeployPipelineArtifactItemArgs'] items: List of parameters defined for a deployment pipeline. """ - pulumi.set(__self__, "items", items) + GetDeployPipelinesDeployPipelineCollectionItemDeployPipelineArtifactResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeployPipelinesDeployPipelineCollectionItemDeployPipelineArtifactItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -9181,9 +11646,22 @@ def __init__(__self__, *, :param Sequence['GetDeployPipelinesDeployPipelineCollectionItemDeployPipelineArtifactItemDeployPipelineStageArgs'] deploy_pipeline_stages: List of stages. :param str display_name: A filter to return only resources that match the entire display name given. """ - pulumi.set(__self__, "deploy_artifact_id", deploy_artifact_id) - pulumi.set(__self__, "deploy_pipeline_stages", deploy_pipeline_stages) - pulumi.set(__self__, "display_name", display_name) + GetDeployPipelinesDeployPipelineCollectionItemDeployPipelineArtifactItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + deploy_artifact_id=deploy_artifact_id, + deploy_pipeline_stages=deploy_pipeline_stages, + display_name=display_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deploy_artifact_id: str, + deploy_pipeline_stages: Sequence['outputs.GetDeployPipelinesDeployPipelineCollectionItemDeployPipelineArtifactItemDeployPipelineStageResult'], + display_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("deploy_artifact_id", deploy_artifact_id) + _setter("deploy_pipeline_stages", deploy_pipeline_stages) + _setter("display_name", display_name) @property @pulumi.getter(name="deployArtifactId") @@ -9217,7 +11695,16 @@ def __init__(__self__, *, """ :param Sequence['GetDeployPipelinesDeployPipelineCollectionItemDeployPipelineArtifactItemDeployPipelineStageItemArgs'] items: List of parameters defined for a deployment pipeline. """ - pulumi.set(__self__, "items", items) + GetDeployPipelinesDeployPipelineCollectionItemDeployPipelineArtifactItemDeployPipelineStageResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeployPipelinesDeployPipelineCollectionItemDeployPipelineArtifactItemDeployPipelineStageItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -9237,8 +11724,19 @@ def __init__(__self__, *, :param str deploy_stage_id: The OCID of a stage :param str display_name: A filter to return only resources that match the entire display name given. """ - pulumi.set(__self__, "deploy_stage_id", deploy_stage_id) - pulumi.set(__self__, "display_name", display_name) + GetDeployPipelinesDeployPipelineCollectionItemDeployPipelineArtifactItemDeployPipelineStageItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + deploy_stage_id=deploy_stage_id, + display_name=display_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deploy_stage_id: str, + display_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("deploy_stage_id", deploy_stage_id) + _setter("display_name", display_name) @property @pulumi.getter(name="deployStageId") @@ -9264,7 +11762,16 @@ def __init__(__self__, *, """ :param Sequence['GetDeployPipelinesDeployPipelineCollectionItemDeployPipelineEnvironmentItemArgs'] items: List of parameters defined for a deployment pipeline. """ - pulumi.set(__self__, "items", items) + GetDeployPipelinesDeployPipelineCollectionItemDeployPipelineEnvironmentResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeployPipelinesDeployPipelineCollectionItemDeployPipelineEnvironmentItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -9286,9 +11793,22 @@ def __init__(__self__, *, :param Sequence['GetDeployPipelinesDeployPipelineCollectionItemDeployPipelineEnvironmentItemDeployPipelineStageArgs'] deploy_pipeline_stages: List of stages. :param str display_name: A filter to return only resources that match the entire display name given. """ - pulumi.set(__self__, "deploy_environment_id", deploy_environment_id) - pulumi.set(__self__, "deploy_pipeline_stages", deploy_pipeline_stages) - pulumi.set(__self__, "display_name", display_name) + GetDeployPipelinesDeployPipelineCollectionItemDeployPipelineEnvironmentItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + deploy_environment_id=deploy_environment_id, + deploy_pipeline_stages=deploy_pipeline_stages, + display_name=display_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deploy_environment_id: str, + deploy_pipeline_stages: Sequence['outputs.GetDeployPipelinesDeployPipelineCollectionItemDeployPipelineEnvironmentItemDeployPipelineStageResult'], + display_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("deploy_environment_id", deploy_environment_id) + _setter("deploy_pipeline_stages", deploy_pipeline_stages) + _setter("display_name", display_name) @property @pulumi.getter(name="deployEnvironmentId") @@ -9322,7 +11842,16 @@ def __init__(__self__, *, """ :param Sequence['GetDeployPipelinesDeployPipelineCollectionItemDeployPipelineEnvironmentItemDeployPipelineStageItemArgs'] items: List of parameters defined for a deployment pipeline. """ - pulumi.set(__self__, "items", items) + GetDeployPipelinesDeployPipelineCollectionItemDeployPipelineEnvironmentItemDeployPipelineStageResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeployPipelinesDeployPipelineCollectionItemDeployPipelineEnvironmentItemDeployPipelineStageItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -9342,8 +11871,19 @@ def __init__(__self__, *, :param str deploy_stage_id: The OCID of a stage :param str display_name: A filter to return only resources that match the entire display name given. """ - pulumi.set(__self__, "deploy_stage_id", deploy_stage_id) - pulumi.set(__self__, "display_name", display_name) + GetDeployPipelinesDeployPipelineCollectionItemDeployPipelineEnvironmentItemDeployPipelineStageItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + deploy_stage_id=deploy_stage_id, + display_name=display_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deploy_stage_id: str, + display_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("deploy_stage_id", deploy_stage_id) + _setter("display_name", display_name) @property @pulumi.getter(name="deployStageId") @@ -9369,7 +11909,16 @@ def __init__(__self__, *, """ :param Sequence['GetDeployPipelinesDeployPipelineCollectionItemDeployPipelineParameterItemArgs'] items: List of parameters defined for a deployment pipeline. """ - pulumi.set(__self__, "items", items) + GetDeployPipelinesDeployPipelineCollectionItemDeployPipelineParameterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeployPipelinesDeployPipelineCollectionItemDeployPipelineParameterItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -9391,9 +11940,22 @@ def __init__(__self__, *, :param str description: Optional description about the deployment pipeline. :param str name: Name of the parameter (case-sensitive). Parameter name must be ^[a-zA-Z][a-zA-Z_0-9]*$. """ - pulumi.set(__self__, "default_value", default_value) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "name", name) + GetDeployPipelinesDeployPipelineCollectionItemDeployPipelineParameterItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + default_value=default_value, + description=description, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + default_value: str, + description: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("default_value", default_value) + _setter("description", description) + _setter("name", name) @property @pulumi.getter(name="defaultValue") @@ -9429,10 +11991,23 @@ def __init__(__self__, *, """ :param str name: Name of the parameter (case-sensitive). Parameter name must be ^[a-zA-Z][a-zA-Z_0-9]*$. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDeployPipelinesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -9462,8 +12037,19 @@ def __init__(__self__, *, :param str approval_policy_type: Approval policy type. :param int number_of_approvals_required: A minimum number of approvals required for stage to proceed. """ - pulumi.set(__self__, "approval_policy_type", approval_policy_type) - pulumi.set(__self__, "number_of_approvals_required", number_of_approvals_required) + GetDeployStageApprovalPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + approval_policy_type=approval_policy_type, + number_of_approvals_required=number_of_approvals_required, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + approval_policy_type: str, + number_of_approvals_required: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("approval_policy_type", approval_policy_type) + _setter("number_of_approvals_required", number_of_approvals_required) @property @pulumi.getter(name="approvalPolicyType") @@ -9489,7 +12075,16 @@ def __init__(__self__, *, """ :param Sequence[str] items: List of parameters defined to set helm value. """ - pulumi.set(__self__, "items", items) + GetDeployStageBlueBackendIpResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -9513,10 +12108,25 @@ def __init__(__self__, *, :param str namespace_b: Second Namespace for deployment. :param str strategy_type: Canary strategy type. """ - pulumi.set(__self__, "ingress_name", ingress_name) - pulumi.set(__self__, "namespace_a", namespace_a) - pulumi.set(__self__, "namespace_b", namespace_b) - pulumi.set(__self__, "strategy_type", strategy_type) + GetDeployStageBlueGreenStrategyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ingress_name=ingress_name, + namespace_a=namespace_a, + namespace_b=namespace_b, + strategy_type=strategy_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ingress_name: str, + namespace_a: str, + namespace_b: str, + strategy_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ingress_name", ingress_name) + _setter("namespace_a", namespace_a) + _setter("namespace_b", namespace_b) + _setter("strategy_type", strategy_type) @property @pulumi.getter(name="ingressName") @@ -9562,9 +12172,22 @@ def __init__(__self__, *, :param str namespace: Default Namespace to be used for Kubernetes deployment when not specified in the manifest. :param str strategy_type: Canary strategy type. """ - pulumi.set(__self__, "ingress_name", ingress_name) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "strategy_type", strategy_type) + GetDeployStageCanaryStrategyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ingress_name=ingress_name, + namespace=namespace, + strategy_type=strategy_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ingress_name: str, + namespace: str, + strategy_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ingress_name", ingress_name) + _setter("namespace", namespace) + _setter("strategy_type", strategy_type) @property @pulumi.getter(name="ingressName") @@ -9608,12 +12231,31 @@ def __init__(__self__, *, :param Sequence['GetDeployStageContainerConfigShapeConfigArgs'] shape_configs: Determines the size and amount of resources available to the instance. :param str shape_name: The shape of the ContainerInstance. The shape determines the resources available to the ContainerInstance. """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "container_config_type", container_config_type) - pulumi.set(__self__, "network_channels", network_channels) - pulumi.set(__self__, "shape_configs", shape_configs) - pulumi.set(__self__, "shape_name", shape_name) + GetDeployStageContainerConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + compartment_id=compartment_id, + container_config_type=container_config_type, + network_channels=network_channels, + shape_configs=shape_configs, + shape_name=shape_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + compartment_id: str, + container_config_type: str, + network_channels: Sequence['outputs.GetDeployStageContainerConfigNetworkChannelResult'], + shape_configs: Sequence['outputs.GetDeployStageContainerConfigShapeConfigResult'], + shape_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("compartment_id", compartment_id) + _setter("container_config_type", container_config_type) + _setter("network_channels", network_channels) + _setter("shape_configs", shape_configs) + _setter("shape_name", shape_name) @property @pulumi.getter(name="availabilityDomain") @@ -9675,9 +12317,22 @@ def __init__(__self__, *, :param Sequence[str] nsg_ids: An array of network security group OCIDs. :param str subnet_id: The OCID of the subnet where VNIC resources will be created for private endpoint. """ - pulumi.set(__self__, "network_channel_type", network_channel_type) - pulumi.set(__self__, "nsg_ids", nsg_ids) - pulumi.set(__self__, "subnet_id", subnet_id) + GetDeployStageContainerConfigNetworkChannelResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + network_channel_type=network_channel_type, + nsg_ids=nsg_ids, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + network_channel_type: str, + nsg_ids: Sequence[str], + subnet_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("network_channel_type", network_channel_type) + _setter("nsg_ids", nsg_ids) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="networkChannelType") @@ -9713,8 +12368,19 @@ def __init__(__self__, *, :param float memory_in_gbs: The total amount of memory available to the instance, in gigabytes. :param float ocpus: The total number of OCPUs available to the instance. """ - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "ocpus", ocpus) + GetDeployStageContainerConfigShapeConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: float, + ocpus: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("memory_in_gbs", memory_in_gbs) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -9740,7 +12406,16 @@ def __init__(__self__, *, """ :param Sequence['GetDeployStageDeployStagePredecessorCollectionItemArgs'] items: List of parameters defined to set helm value. """ - pulumi.set(__self__, "items", items) + GetDeployStageDeployStagePredecessorCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeployStageDeployStagePredecessorCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -9758,7 +12433,16 @@ def __init__(__self__, *, """ :param str id: Unique identifier that is immutable on creation. """ - pulumi.set(__self__, "id", id) + GetDeployStageDeployStagePredecessorCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) @property @pulumi.getter @@ -9780,9 +12464,22 @@ def __init__(__self__, *, :param int failure_percentage: The failure percentage threshold, which when reached or exceeded sets the stage as FAILED. Percentage is computed as the ceiling value of the number of failed instances over the total count of the instances in the group. :param str policy_type: The type of policy used for rolling out a deployment stage. """ - pulumi.set(__self__, "failure_count", failure_count) - pulumi.set(__self__, "failure_percentage", failure_percentage) - pulumi.set(__self__, "policy_type", policy_type) + GetDeployStageFailurePolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + failure_count=failure_count, + failure_percentage=failure_percentage, + policy_type=policy_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + failure_count: int, + failure_percentage: int, + policy_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("failure_count", failure_count) + _setter("failure_percentage", failure_percentage) + _setter("policy_type", policy_type) @property @pulumi.getter(name="failureCount") @@ -9816,7 +12513,16 @@ def __init__(__self__, *, """ :param Sequence[str] items: List of parameters defined to set helm value. """ - pulumi.set(__self__, "items", items) + GetDeployStageGreenBackendIpResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -9840,10 +12546,25 @@ def __init__(__self__, *, :param str load_balancer_id: The OCID of the load balancer. :param str state: The current state of the deployment stage. """ - pulumi.set(__self__, "backend_port", backend_port) - pulumi.set(__self__, "listener_name", listener_name) - pulumi.set(__self__, "load_balancer_id", load_balancer_id) - pulumi.set(__self__, "state", state) + GetDeployStageLoadBalancerConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + backend_port=backend_port, + listener_name=listener_name, + load_balancer_id=load_balancer_id, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backend_port: int, + listener_name: str, + load_balancer_id: str, + state: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("backend_port", backend_port) + _setter("listener_name", listener_name) + _setter("load_balancer_id", load_balancer_id) + _setter("state", state) @property @pulumi.getter(name="backendPort") @@ -9891,10 +12612,25 @@ def __init__(__self__, *, :param str load_balancer_id: The OCID of the load balancer. :param str state: The current state of the deployment stage. """ - pulumi.set(__self__, "backend_port", backend_port) - pulumi.set(__self__, "listener_name", listener_name) - pulumi.set(__self__, "load_balancer_id", load_balancer_id) - pulumi.set(__self__, "state", state) + GetDeployStageProductionLoadBalancerConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + backend_port=backend_port, + listener_name=listener_name, + load_balancer_id=load_balancer_id, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backend_port: int, + listener_name: str, + load_balancer_id: str, + state: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("backend_port", backend_port) + _setter("listener_name", listener_name) + _setter("load_balancer_id", load_balancer_id) + _setter("state", state) @property @pulumi.getter(name="backendPort") @@ -9936,7 +12672,16 @@ def __init__(__self__, *, """ :param str policy_type: The type of policy used for rolling out a deployment stage. """ - pulumi.set(__self__, "policy_type", policy_type) + GetDeployStageRollbackPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + policy_type=policy_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + policy_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("policy_type", policy_type) @property @pulumi.getter(name="policyType") @@ -9962,11 +12707,28 @@ def __init__(__self__, *, :param str policy_type: The type of policy used for rolling out a deployment stage. :param float ramp_limit_percent: Indicates the criteria to stop. """ - pulumi.set(__self__, "batch_count", batch_count) - pulumi.set(__self__, "batch_delay_in_seconds", batch_delay_in_seconds) - pulumi.set(__self__, "batch_percentage", batch_percentage) - pulumi.set(__self__, "policy_type", policy_type) - pulumi.set(__self__, "ramp_limit_percent", ramp_limit_percent) + GetDeployStageRolloutPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + batch_count=batch_count, + batch_delay_in_seconds=batch_delay_in_seconds, + batch_percentage=batch_percentage, + policy_type=policy_type, + ramp_limit_percent=ramp_limit_percent, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + batch_count: int, + batch_delay_in_seconds: int, + batch_percentage: int, + policy_type: str, + ramp_limit_percent: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("batch_count", batch_count) + _setter("batch_delay_in_seconds", batch_delay_in_seconds) + _setter("batch_percentage", batch_percentage) + _setter("policy_type", policy_type) + _setter("ramp_limit_percent", ramp_limit_percent) @property @pulumi.getter(name="batchCount") @@ -10016,7 +12778,16 @@ def __init__(__self__, *, """ :param Sequence['GetDeployStageSetStringItemArgs'] items: List of parameters defined to set helm value. """ - pulumi.set(__self__, "items", items) + GetDeployStageSetStringResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeployStageSetStringItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -10036,8 +12807,19 @@ def __init__(__self__, *, :param str name: Name of the parameter (case-sensitive). :param str value: Value of the parameter. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + GetDeployStageSetStringItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("value", value) @property @pulumi.getter @@ -10063,7 +12845,16 @@ def __init__(__self__, *, """ :param Sequence['GetDeployStageSetValueItemArgs'] items: List of parameters defined to set helm value. """ - pulumi.set(__self__, "items", items) + GetDeployStageSetValueResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeployStageSetValueItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -10083,8 +12874,19 @@ def __init__(__self__, *, :param str name: Name of the parameter (case-sensitive). :param str value: Value of the parameter. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + GetDeployStageSetValueItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("value", value) @property @pulumi.getter @@ -10116,10 +12918,25 @@ def __init__(__self__, *, :param str load_balancer_id: The OCID of the load balancer. :param str state: The current state of the deployment stage. """ - pulumi.set(__self__, "backend_port", backend_port) - pulumi.set(__self__, "listener_name", listener_name) - pulumi.set(__self__, "load_balancer_id", load_balancer_id) - pulumi.set(__self__, "state", state) + GetDeployStageTestLoadBalancerConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + backend_port=backend_port, + listener_name=listener_name, + load_balancer_id=load_balancer_id, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backend_port: int, + listener_name: str, + load_balancer_id: str, + state: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("backend_port", backend_port) + _setter("listener_name", listener_name) + _setter("load_balancer_id", load_balancer_id) + _setter("state", state) @property @pulumi.getter(name="backendPort") @@ -10163,8 +12980,19 @@ def __init__(__self__, *, :param str wait_duration: The absolute wait duration. An ISO 8601 formatted duration string. Minimum waitDuration should be 5 seconds. Maximum waitDuration can be up to 2 days. :param str wait_type: Wait criteria type. """ - pulumi.set(__self__, "wait_duration", wait_duration) - pulumi.set(__self__, "wait_type", wait_type) + GetDeployStageWaitCriteriaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + wait_duration=wait_duration, + wait_type=wait_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + wait_duration: str, + wait_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("wait_duration", wait_duration) + _setter("wait_type", wait_type) @property @pulumi.getter(name="waitDuration") @@ -10190,7 +13018,16 @@ def __init__(__self__, *, """ :param Sequence['GetDeployStagesDeployStageCollectionItemArgs'] items: List of parameters defined to set helm value. """ - pulumi.set(__self__, "items", items) + GetDeployStagesDeployStageCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeployStagesDeployStageCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -10342,74 +13179,217 @@ def __init__(__self__, *, :param Sequence[str] values_artifact_ids: List of values.yaml file artifact OCIDs. :param Sequence['GetDeployStagesDeployStageCollectionItemWaitCriteriaArgs'] wait_criterias: Specifies wait criteria for the Wait stage. """ - pulumi.set(__self__, "approval_policies", approval_policies) - pulumi.set(__self__, "are_hooks_enabled", are_hooks_enabled) - pulumi.set(__self__, "blue_backend_ips", blue_backend_ips) - pulumi.set(__self__, "blue_green_strategies", blue_green_strategies) - pulumi.set(__self__, "canary_strategies", canary_strategies) - pulumi.set(__self__, "command_spec_deploy_artifact_id", command_spec_deploy_artifact_id) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "compute_instance_group_blue_green_deployment_deploy_stage_id", compute_instance_group_blue_green_deployment_deploy_stage_id) - pulumi.set(__self__, "compute_instance_group_canary_deploy_stage_id", compute_instance_group_canary_deploy_stage_id) - pulumi.set(__self__, "compute_instance_group_canary_traffic_shift_deploy_stage_id", compute_instance_group_canary_traffic_shift_deploy_stage_id) - pulumi.set(__self__, "compute_instance_group_deploy_environment_id", compute_instance_group_deploy_environment_id) - pulumi.set(__self__, "config", config) - pulumi.set(__self__, "container_configs", container_configs) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "deploy_artifact_id", deploy_artifact_id) - pulumi.set(__self__, "deploy_artifact_ids", deploy_artifact_ids) - pulumi.set(__self__, "deploy_environment_id_a", deploy_environment_id_a) - pulumi.set(__self__, "deploy_environment_id_b", deploy_environment_id_b) - pulumi.set(__self__, "deploy_pipeline_id", deploy_pipeline_id) - pulumi.set(__self__, "deploy_stage_predecessor_collections", deploy_stage_predecessor_collections) - pulumi.set(__self__, "deploy_stage_type", deploy_stage_type) - pulumi.set(__self__, "deployment_spec_deploy_artifact_id", deployment_spec_deploy_artifact_id) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "docker_image_deploy_artifact_id", docker_image_deploy_artifact_id) - pulumi.set(__self__, "failure_policies", failure_policies) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "function_deploy_environment_id", function_deploy_environment_id) - pulumi.set(__self__, "function_timeout_in_seconds", function_timeout_in_seconds) - pulumi.set(__self__, "green_backend_ips", green_backend_ips) - pulumi.set(__self__, "helm_chart_deploy_artifact_id", helm_chart_deploy_artifact_id) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_async", is_async) - pulumi.set(__self__, "is_debug_enabled", is_debug_enabled) - pulumi.set(__self__, "is_force_enabled", is_force_enabled) - pulumi.set(__self__, "is_validation_enabled", is_validation_enabled) - pulumi.set(__self__, "kubernetes_manifest_deploy_artifact_ids", kubernetes_manifest_deploy_artifact_ids) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "load_balancer_configs", load_balancer_configs) - pulumi.set(__self__, "max_history", max_history) - pulumi.set(__self__, "max_memory_in_mbs", max_memory_in_mbs) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "oke_blue_green_deploy_stage_id", oke_blue_green_deploy_stage_id) - pulumi.set(__self__, "oke_canary_deploy_stage_id", oke_canary_deploy_stage_id) - pulumi.set(__self__, "oke_canary_traffic_shift_deploy_stage_id", oke_canary_traffic_shift_deploy_stage_id) - pulumi.set(__self__, "oke_cluster_deploy_environment_id", oke_cluster_deploy_environment_id) - pulumi.set(__self__, "production_load_balancer_configs", production_load_balancer_configs) - pulumi.set(__self__, "project_id", project_id) - pulumi.set(__self__, "release_name", release_name) - pulumi.set(__self__, "rollback_policies", rollback_policies) - pulumi.set(__self__, "rollout_policies", rollout_policies) - pulumi.set(__self__, "set_strings", set_strings) - pulumi.set(__self__, "set_values", set_values) - pulumi.set(__self__, "should_cleanup_on_fail", should_cleanup_on_fail) - pulumi.set(__self__, "should_not_wait", should_not_wait) - pulumi.set(__self__, "should_reset_values", should_reset_values) - pulumi.set(__self__, "should_reuse_values", should_reuse_values) - pulumi.set(__self__, "should_skip_crds", should_skip_crds) - pulumi.set(__self__, "should_skip_render_subchart_notes", should_skip_render_subchart_notes) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "test_load_balancer_configs", test_load_balancer_configs) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "timeout_in_seconds", timeout_in_seconds) - pulumi.set(__self__, "traffic_shift_target", traffic_shift_target) - pulumi.set(__self__, "values_artifact_ids", values_artifact_ids) - pulumi.set(__self__, "wait_criterias", wait_criterias) + GetDeployStagesDeployStageCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + approval_policies=approval_policies, + are_hooks_enabled=are_hooks_enabled, + blue_backend_ips=blue_backend_ips, + blue_green_strategies=blue_green_strategies, + canary_strategies=canary_strategies, + command_spec_deploy_artifact_id=command_spec_deploy_artifact_id, + compartment_id=compartment_id, + compute_instance_group_blue_green_deployment_deploy_stage_id=compute_instance_group_blue_green_deployment_deploy_stage_id, + compute_instance_group_canary_deploy_stage_id=compute_instance_group_canary_deploy_stage_id, + compute_instance_group_canary_traffic_shift_deploy_stage_id=compute_instance_group_canary_traffic_shift_deploy_stage_id, + compute_instance_group_deploy_environment_id=compute_instance_group_deploy_environment_id, + config=config, + container_configs=container_configs, + defined_tags=defined_tags, + deploy_artifact_id=deploy_artifact_id, + deploy_artifact_ids=deploy_artifact_ids, + deploy_environment_id_a=deploy_environment_id_a, + deploy_environment_id_b=deploy_environment_id_b, + deploy_pipeline_id=deploy_pipeline_id, + deploy_stage_predecessor_collections=deploy_stage_predecessor_collections, + deploy_stage_type=deploy_stage_type, + deployment_spec_deploy_artifact_id=deployment_spec_deploy_artifact_id, + description=description, + display_name=display_name, + docker_image_deploy_artifact_id=docker_image_deploy_artifact_id, + failure_policies=failure_policies, + freeform_tags=freeform_tags, + function_deploy_environment_id=function_deploy_environment_id, + function_timeout_in_seconds=function_timeout_in_seconds, + green_backend_ips=green_backend_ips, + helm_chart_deploy_artifact_id=helm_chart_deploy_artifact_id, + id=id, + is_async=is_async, + is_debug_enabled=is_debug_enabled, + is_force_enabled=is_force_enabled, + is_validation_enabled=is_validation_enabled, + kubernetes_manifest_deploy_artifact_ids=kubernetes_manifest_deploy_artifact_ids, + lifecycle_details=lifecycle_details, + load_balancer_configs=load_balancer_configs, + max_history=max_history, + max_memory_in_mbs=max_memory_in_mbs, + namespace=namespace, + oke_blue_green_deploy_stage_id=oke_blue_green_deploy_stage_id, + oke_canary_deploy_stage_id=oke_canary_deploy_stage_id, + oke_canary_traffic_shift_deploy_stage_id=oke_canary_traffic_shift_deploy_stage_id, + oke_cluster_deploy_environment_id=oke_cluster_deploy_environment_id, + production_load_balancer_configs=production_load_balancer_configs, + project_id=project_id, + release_name=release_name, + rollback_policies=rollback_policies, + rollout_policies=rollout_policies, + set_strings=set_strings, + set_values=set_values, + should_cleanup_on_fail=should_cleanup_on_fail, + should_not_wait=should_not_wait, + should_reset_values=should_reset_values, + should_reuse_values=should_reuse_values, + should_skip_crds=should_skip_crds, + should_skip_render_subchart_notes=should_skip_render_subchart_notes, + state=state, + system_tags=system_tags, + test_load_balancer_configs=test_load_balancer_configs, + time_created=time_created, + time_updated=time_updated, + timeout_in_seconds=timeout_in_seconds, + traffic_shift_target=traffic_shift_target, + values_artifact_ids=values_artifact_ids, + wait_criterias=wait_criterias, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + approval_policies: Sequence['outputs.GetDeployStagesDeployStageCollectionItemApprovalPolicyResult'], + are_hooks_enabled: bool, + blue_backend_ips: Sequence['outputs.GetDeployStagesDeployStageCollectionItemBlueBackendIpResult'], + blue_green_strategies: Sequence['outputs.GetDeployStagesDeployStageCollectionItemBlueGreenStrategyResult'], + canary_strategies: Sequence['outputs.GetDeployStagesDeployStageCollectionItemCanaryStrategyResult'], + command_spec_deploy_artifact_id: str, + compartment_id: str, + compute_instance_group_blue_green_deployment_deploy_stage_id: str, + compute_instance_group_canary_deploy_stage_id: str, + compute_instance_group_canary_traffic_shift_deploy_stage_id: str, + compute_instance_group_deploy_environment_id: str, + config: Mapping[str, Any], + container_configs: Sequence['outputs.GetDeployStagesDeployStageCollectionItemContainerConfigResult'], + defined_tags: Mapping[str, Any], + deploy_artifact_id: str, + deploy_artifact_ids: Sequence[str], + deploy_environment_id_a: str, + deploy_environment_id_b: str, + deploy_pipeline_id: str, + deploy_stage_predecessor_collections: Sequence['outputs.GetDeployStagesDeployStageCollectionItemDeployStagePredecessorCollectionResult'], + deploy_stage_type: str, + deployment_spec_deploy_artifact_id: str, + description: str, + display_name: str, + docker_image_deploy_artifact_id: str, + failure_policies: Sequence['outputs.GetDeployStagesDeployStageCollectionItemFailurePolicyResult'], + freeform_tags: Mapping[str, Any], + function_deploy_environment_id: str, + function_timeout_in_seconds: int, + green_backend_ips: Sequence['outputs.GetDeployStagesDeployStageCollectionItemGreenBackendIpResult'], + helm_chart_deploy_artifact_id: str, + id: str, + is_async: bool, + is_debug_enabled: bool, + is_force_enabled: bool, + is_validation_enabled: bool, + kubernetes_manifest_deploy_artifact_ids: Sequence[str], + lifecycle_details: str, + load_balancer_configs: Sequence['outputs.GetDeployStagesDeployStageCollectionItemLoadBalancerConfigResult'], + max_history: int, + max_memory_in_mbs: str, + namespace: str, + oke_blue_green_deploy_stage_id: str, + oke_canary_deploy_stage_id: str, + oke_canary_traffic_shift_deploy_stage_id: str, + oke_cluster_deploy_environment_id: str, + production_load_balancer_configs: Sequence['outputs.GetDeployStagesDeployStageCollectionItemProductionLoadBalancerConfigResult'], + project_id: str, + release_name: str, + rollback_policies: Sequence['outputs.GetDeployStagesDeployStageCollectionItemRollbackPolicyResult'], + rollout_policies: Sequence['outputs.GetDeployStagesDeployStageCollectionItemRolloutPolicyResult'], + set_strings: Sequence['outputs.GetDeployStagesDeployStageCollectionItemSetStringResult'], + set_values: Sequence['outputs.GetDeployStagesDeployStageCollectionItemSetValueResult'], + should_cleanup_on_fail: bool, + should_not_wait: bool, + should_reset_values: bool, + should_reuse_values: bool, + should_skip_crds: bool, + should_skip_render_subchart_notes: bool, + state: str, + system_tags: Mapping[str, Any], + test_load_balancer_configs: Sequence['outputs.GetDeployStagesDeployStageCollectionItemTestLoadBalancerConfigResult'], + time_created: str, + time_updated: str, + timeout_in_seconds: int, + traffic_shift_target: str, + values_artifact_ids: Sequence[str], + wait_criterias: Sequence['outputs.GetDeployStagesDeployStageCollectionItemWaitCriteriaResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("approval_policies", approval_policies) + _setter("are_hooks_enabled", are_hooks_enabled) + _setter("blue_backend_ips", blue_backend_ips) + _setter("blue_green_strategies", blue_green_strategies) + _setter("canary_strategies", canary_strategies) + _setter("command_spec_deploy_artifact_id", command_spec_deploy_artifact_id) + _setter("compartment_id", compartment_id) + _setter("compute_instance_group_blue_green_deployment_deploy_stage_id", compute_instance_group_blue_green_deployment_deploy_stage_id) + _setter("compute_instance_group_canary_deploy_stage_id", compute_instance_group_canary_deploy_stage_id) + _setter("compute_instance_group_canary_traffic_shift_deploy_stage_id", compute_instance_group_canary_traffic_shift_deploy_stage_id) + _setter("compute_instance_group_deploy_environment_id", compute_instance_group_deploy_environment_id) + _setter("config", config) + _setter("container_configs", container_configs) + _setter("defined_tags", defined_tags) + _setter("deploy_artifact_id", deploy_artifact_id) + _setter("deploy_artifact_ids", deploy_artifact_ids) + _setter("deploy_environment_id_a", deploy_environment_id_a) + _setter("deploy_environment_id_b", deploy_environment_id_b) + _setter("deploy_pipeline_id", deploy_pipeline_id) + _setter("deploy_stage_predecessor_collections", deploy_stage_predecessor_collections) + _setter("deploy_stage_type", deploy_stage_type) + _setter("deployment_spec_deploy_artifact_id", deployment_spec_deploy_artifact_id) + _setter("description", description) + _setter("display_name", display_name) + _setter("docker_image_deploy_artifact_id", docker_image_deploy_artifact_id) + _setter("failure_policies", failure_policies) + _setter("freeform_tags", freeform_tags) + _setter("function_deploy_environment_id", function_deploy_environment_id) + _setter("function_timeout_in_seconds", function_timeout_in_seconds) + _setter("green_backend_ips", green_backend_ips) + _setter("helm_chart_deploy_artifact_id", helm_chart_deploy_artifact_id) + _setter("id", id) + _setter("is_async", is_async) + _setter("is_debug_enabled", is_debug_enabled) + _setter("is_force_enabled", is_force_enabled) + _setter("is_validation_enabled", is_validation_enabled) + _setter("kubernetes_manifest_deploy_artifact_ids", kubernetes_manifest_deploy_artifact_ids) + _setter("lifecycle_details", lifecycle_details) + _setter("load_balancer_configs", load_balancer_configs) + _setter("max_history", max_history) + _setter("max_memory_in_mbs", max_memory_in_mbs) + _setter("namespace", namespace) + _setter("oke_blue_green_deploy_stage_id", oke_blue_green_deploy_stage_id) + _setter("oke_canary_deploy_stage_id", oke_canary_deploy_stage_id) + _setter("oke_canary_traffic_shift_deploy_stage_id", oke_canary_traffic_shift_deploy_stage_id) + _setter("oke_cluster_deploy_environment_id", oke_cluster_deploy_environment_id) + _setter("production_load_balancer_configs", production_load_balancer_configs) + _setter("project_id", project_id) + _setter("release_name", release_name) + _setter("rollback_policies", rollback_policies) + _setter("rollout_policies", rollout_policies) + _setter("set_strings", set_strings) + _setter("set_values", set_values) + _setter("should_cleanup_on_fail", should_cleanup_on_fail) + _setter("should_not_wait", should_not_wait) + _setter("should_reset_values", should_reset_values) + _setter("should_reuse_values", should_reuse_values) + _setter("should_skip_crds", should_skip_crds) + _setter("should_skip_render_subchart_notes", should_skip_render_subchart_notes) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("test_load_balancer_configs", test_load_balancer_configs) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("timeout_in_seconds", timeout_in_seconds) + _setter("traffic_shift_target", traffic_shift_target) + _setter("values_artifact_ids", values_artifact_ids) + _setter("wait_criterias", wait_criterias) @property @pulumi.getter(name="approvalPolicies") @@ -10965,8 +13945,19 @@ def __init__(__self__, *, :param str approval_policy_type: Approval policy type. :param int number_of_approvals_required: A minimum number of approvals required for stage to proceed. """ - pulumi.set(__self__, "approval_policy_type", approval_policy_type) - pulumi.set(__self__, "number_of_approvals_required", number_of_approvals_required) + GetDeployStagesDeployStageCollectionItemApprovalPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + approval_policy_type=approval_policy_type, + number_of_approvals_required=number_of_approvals_required, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + approval_policy_type: str, + number_of_approvals_required: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("approval_policy_type", approval_policy_type) + _setter("number_of_approvals_required", number_of_approvals_required) @property @pulumi.getter(name="approvalPolicyType") @@ -10992,7 +13983,16 @@ def __init__(__self__, *, """ :param Sequence[str] items: List of parameters defined to set helm value. """ - pulumi.set(__self__, "items", items) + GetDeployStagesDeployStageCollectionItemBlueBackendIpResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -11016,10 +14016,25 @@ def __init__(__self__, *, :param str namespace_b: Second Namespace for deployment. :param str strategy_type: Canary strategy type. """ - pulumi.set(__self__, "ingress_name", ingress_name) - pulumi.set(__self__, "namespace_a", namespace_a) - pulumi.set(__self__, "namespace_b", namespace_b) - pulumi.set(__self__, "strategy_type", strategy_type) + GetDeployStagesDeployStageCollectionItemBlueGreenStrategyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ingress_name=ingress_name, + namespace_a=namespace_a, + namespace_b=namespace_b, + strategy_type=strategy_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ingress_name: str, + namespace_a: str, + namespace_b: str, + strategy_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ingress_name", ingress_name) + _setter("namespace_a", namespace_a) + _setter("namespace_b", namespace_b) + _setter("strategy_type", strategy_type) @property @pulumi.getter(name="ingressName") @@ -11065,9 +14080,22 @@ def __init__(__self__, *, :param str namespace: Default Namespace to be used for Kubernetes deployment when not specified in the manifest. :param str strategy_type: Canary strategy type. """ - pulumi.set(__self__, "ingress_name", ingress_name) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "strategy_type", strategy_type) + GetDeployStagesDeployStageCollectionItemCanaryStrategyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ingress_name=ingress_name, + namespace=namespace, + strategy_type=strategy_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ingress_name: str, + namespace: str, + strategy_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ingress_name", ingress_name) + _setter("namespace", namespace) + _setter("strategy_type", strategy_type) @property @pulumi.getter(name="ingressName") @@ -11111,12 +14139,31 @@ def __init__(__self__, *, :param Sequence['GetDeployStagesDeployStageCollectionItemContainerConfigShapeConfigArgs'] shape_configs: Determines the size and amount of resources available to the instance. :param str shape_name: The shape of the ContainerInstance. The shape determines the resources available to the ContainerInstance. """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "container_config_type", container_config_type) - pulumi.set(__self__, "network_channels", network_channels) - pulumi.set(__self__, "shape_configs", shape_configs) - pulumi.set(__self__, "shape_name", shape_name) + GetDeployStagesDeployStageCollectionItemContainerConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + compartment_id=compartment_id, + container_config_type=container_config_type, + network_channels=network_channels, + shape_configs=shape_configs, + shape_name=shape_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + compartment_id: str, + container_config_type: str, + network_channels: Sequence['outputs.GetDeployStagesDeployStageCollectionItemContainerConfigNetworkChannelResult'], + shape_configs: Sequence['outputs.GetDeployStagesDeployStageCollectionItemContainerConfigShapeConfigResult'], + shape_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("compartment_id", compartment_id) + _setter("container_config_type", container_config_type) + _setter("network_channels", network_channels) + _setter("shape_configs", shape_configs) + _setter("shape_name", shape_name) @property @pulumi.getter(name="availabilityDomain") @@ -11178,9 +14225,22 @@ def __init__(__self__, *, :param Sequence[str] nsg_ids: An array of network security group OCIDs. :param str subnet_id: The OCID of the subnet where VNIC resources will be created for private endpoint. """ - pulumi.set(__self__, "network_channel_type", network_channel_type) - pulumi.set(__self__, "nsg_ids", nsg_ids) - pulumi.set(__self__, "subnet_id", subnet_id) + GetDeployStagesDeployStageCollectionItemContainerConfigNetworkChannelResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + network_channel_type=network_channel_type, + nsg_ids=nsg_ids, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + network_channel_type: str, + nsg_ids: Sequence[str], + subnet_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("network_channel_type", network_channel_type) + _setter("nsg_ids", nsg_ids) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="networkChannelType") @@ -11216,8 +14276,19 @@ def __init__(__self__, *, :param float memory_in_gbs: The total amount of memory available to the instance, in gigabytes. :param float ocpus: The total number of OCPUs available to the instance. """ - pulumi.set(__self__, "memory_in_gbs", memory_in_gbs) - pulumi.set(__self__, "ocpus", ocpus) + GetDeployStagesDeployStageCollectionItemContainerConfigShapeConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + memory_in_gbs=memory_in_gbs, + ocpus=ocpus, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + memory_in_gbs: float, + ocpus: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("memory_in_gbs", memory_in_gbs) + _setter("ocpus", ocpus) @property @pulumi.getter(name="memoryInGbs") @@ -11243,7 +14314,16 @@ def __init__(__self__, *, """ :param Sequence['GetDeployStagesDeployStageCollectionItemDeployStagePredecessorCollectionItemArgs'] items: List of parameters defined to set helm value. """ - pulumi.set(__self__, "items", items) + GetDeployStagesDeployStageCollectionItemDeployStagePredecessorCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeployStagesDeployStageCollectionItemDeployStagePredecessorCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -11261,7 +14341,16 @@ def __init__(__self__, *, """ :param str id: Unique identifier or OCID for listing a single resource by ID. """ - pulumi.set(__self__, "id", id) + GetDeployStagesDeployStageCollectionItemDeployStagePredecessorCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) @property @pulumi.getter @@ -11283,9 +14372,22 @@ def __init__(__self__, *, :param int failure_percentage: The failure percentage threshold, which when reached or exceeded sets the stage as FAILED. Percentage is computed as the ceiling value of the number of failed instances over the total count of the instances in the group. :param str policy_type: The type of policy used for rolling out a deployment stage. """ - pulumi.set(__self__, "failure_count", failure_count) - pulumi.set(__self__, "failure_percentage", failure_percentage) - pulumi.set(__self__, "policy_type", policy_type) + GetDeployStagesDeployStageCollectionItemFailurePolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + failure_count=failure_count, + failure_percentage=failure_percentage, + policy_type=policy_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + failure_count: int, + failure_percentage: int, + policy_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("failure_count", failure_count) + _setter("failure_percentage", failure_percentage) + _setter("policy_type", policy_type) @property @pulumi.getter(name="failureCount") @@ -11319,7 +14421,16 @@ def __init__(__self__, *, """ :param Sequence[str] items: List of parameters defined to set helm value. """ - pulumi.set(__self__, "items", items) + GetDeployStagesDeployStageCollectionItemGreenBackendIpResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -11343,10 +14454,25 @@ def __init__(__self__, *, :param str load_balancer_id: The OCID of the load balancer. :param str state: A filter to return only deployment stages that matches the given lifecycle state. """ - pulumi.set(__self__, "backend_port", backend_port) - pulumi.set(__self__, "listener_name", listener_name) - pulumi.set(__self__, "load_balancer_id", load_balancer_id) - pulumi.set(__self__, "state", state) + GetDeployStagesDeployStageCollectionItemLoadBalancerConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + backend_port=backend_port, + listener_name=listener_name, + load_balancer_id=load_balancer_id, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backend_port: int, + listener_name: str, + load_balancer_id: str, + state: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("backend_port", backend_port) + _setter("listener_name", listener_name) + _setter("load_balancer_id", load_balancer_id) + _setter("state", state) @property @pulumi.getter(name="backendPort") @@ -11394,10 +14520,25 @@ def __init__(__self__, *, :param str load_balancer_id: The OCID of the load balancer. :param str state: A filter to return only deployment stages that matches the given lifecycle state. """ - pulumi.set(__self__, "backend_port", backend_port) - pulumi.set(__self__, "listener_name", listener_name) - pulumi.set(__self__, "load_balancer_id", load_balancer_id) - pulumi.set(__self__, "state", state) + GetDeployStagesDeployStageCollectionItemProductionLoadBalancerConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + backend_port=backend_port, + listener_name=listener_name, + load_balancer_id=load_balancer_id, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backend_port: int, + listener_name: str, + load_balancer_id: str, + state: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("backend_port", backend_port) + _setter("listener_name", listener_name) + _setter("load_balancer_id", load_balancer_id) + _setter("state", state) @property @pulumi.getter(name="backendPort") @@ -11439,7 +14580,16 @@ def __init__(__self__, *, """ :param str policy_type: The type of policy used for rolling out a deployment stage. """ - pulumi.set(__self__, "policy_type", policy_type) + GetDeployStagesDeployStageCollectionItemRollbackPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + policy_type=policy_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + policy_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("policy_type", policy_type) @property @pulumi.getter(name="policyType") @@ -11465,11 +14615,28 @@ def __init__(__self__, *, :param str policy_type: The type of policy used for rolling out a deployment stage. :param float ramp_limit_percent: Indicates the criteria to stop. """ - pulumi.set(__self__, "batch_count", batch_count) - pulumi.set(__self__, "batch_delay_in_seconds", batch_delay_in_seconds) - pulumi.set(__self__, "batch_percentage", batch_percentage) - pulumi.set(__self__, "policy_type", policy_type) - pulumi.set(__self__, "ramp_limit_percent", ramp_limit_percent) + GetDeployStagesDeployStageCollectionItemRolloutPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + batch_count=batch_count, + batch_delay_in_seconds=batch_delay_in_seconds, + batch_percentage=batch_percentage, + policy_type=policy_type, + ramp_limit_percent=ramp_limit_percent, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + batch_count: int, + batch_delay_in_seconds: int, + batch_percentage: int, + policy_type: str, + ramp_limit_percent: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("batch_count", batch_count) + _setter("batch_delay_in_seconds", batch_delay_in_seconds) + _setter("batch_percentage", batch_percentage) + _setter("policy_type", policy_type) + _setter("ramp_limit_percent", ramp_limit_percent) @property @pulumi.getter(name="batchCount") @@ -11519,7 +14686,16 @@ def __init__(__self__, *, """ :param Sequence['GetDeployStagesDeployStageCollectionItemSetStringItemArgs'] items: List of parameters defined to set helm value. """ - pulumi.set(__self__, "items", items) + GetDeployStagesDeployStageCollectionItemSetStringResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeployStagesDeployStageCollectionItemSetStringItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -11539,8 +14715,19 @@ def __init__(__self__, *, :param str name: Name of the parameter (case-sensitive). :param str value: Value of the parameter. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + GetDeployStagesDeployStageCollectionItemSetStringItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("value", value) @property @pulumi.getter @@ -11566,7 +14753,16 @@ def __init__(__self__, *, """ :param Sequence['GetDeployStagesDeployStageCollectionItemSetValueItemArgs'] items: List of parameters defined to set helm value. """ - pulumi.set(__self__, "items", items) + GetDeployStagesDeployStageCollectionItemSetValueResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeployStagesDeployStageCollectionItemSetValueItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -11586,8 +14782,19 @@ def __init__(__self__, *, :param str name: Name of the parameter (case-sensitive). :param str value: Value of the parameter. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + GetDeployStagesDeployStageCollectionItemSetValueItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("value", value) @property @pulumi.getter @@ -11619,10 +14826,25 @@ def __init__(__self__, *, :param str load_balancer_id: The OCID of the load balancer. :param str state: A filter to return only deployment stages that matches the given lifecycle state. """ - pulumi.set(__self__, "backend_port", backend_port) - pulumi.set(__self__, "listener_name", listener_name) - pulumi.set(__self__, "load_balancer_id", load_balancer_id) - pulumi.set(__self__, "state", state) + GetDeployStagesDeployStageCollectionItemTestLoadBalancerConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + backend_port=backend_port, + listener_name=listener_name, + load_balancer_id=load_balancer_id, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backend_port: int, + listener_name: str, + load_balancer_id: str, + state: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("backend_port", backend_port) + _setter("listener_name", listener_name) + _setter("load_balancer_id", load_balancer_id) + _setter("state", state) @property @pulumi.getter(name="backendPort") @@ -11666,8 +14888,19 @@ def __init__(__self__, *, :param str wait_duration: The absolute wait duration. An ISO 8601 formatted duration string. Minimum waitDuration should be 5 seconds. Maximum waitDuration can be up to 2 days. :param str wait_type: Wait criteria type. """ - pulumi.set(__self__, "wait_duration", wait_duration) - pulumi.set(__self__, "wait_type", wait_type) + GetDeployStagesDeployStageCollectionItemWaitCriteriaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + wait_duration=wait_duration, + wait_type=wait_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + wait_duration: str, + wait_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("wait_duration", wait_duration) + _setter("wait_type", wait_type) @property @pulumi.getter(name="waitDuration") @@ -11695,10 +14928,23 @@ def __init__(__self__, *, """ :param str name: Name of the parameter (case-sensitive). """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDeployStagesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -11726,7 +14972,16 @@ def __init__(__self__, *, """ :param Sequence['GetDeploymentDeployArtifactOverrideArgumentItemArgs'] items: A list of stage predecessors for a stage. """ - pulumi.set(__self__, "items", items) + GetDeploymentDeployArtifactOverrideArgumentResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeploymentDeployArtifactOverrideArgumentItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -11748,9 +15003,22 @@ def __init__(__self__, *, :param str name: Name of the step. :param str value: value of the argument. """ - pulumi.set(__self__, "deploy_artifact_id", deploy_artifact_id) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + GetDeploymentDeployArtifactOverrideArgumentItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + deploy_artifact_id=deploy_artifact_id, + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deploy_artifact_id: str, + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("deploy_artifact_id", deploy_artifact_id) + _setter("name", name) + _setter("value", value) @property @pulumi.getter(name="deployArtifactId") @@ -11784,7 +15052,16 @@ def __init__(__self__, *, """ :param Sequence['GetDeploymentDeployPipelineArtifactItemArgs'] items: A list of stage predecessors for a stage. """ - pulumi.set(__self__, "items", items) + GetDeploymentDeployPipelineArtifactResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeploymentDeployPipelineArtifactItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -11806,9 +15083,22 @@ def __init__(__self__, *, :param Sequence['GetDeploymentDeployPipelineArtifactItemDeployPipelineStageArgs'] deploy_pipeline_stages: List of stages. :param str display_name: Deployment identifier which can be renamed and is not necessarily unique. Avoid entering confidential information. """ - pulumi.set(__self__, "deploy_artifact_id", deploy_artifact_id) - pulumi.set(__self__, "deploy_pipeline_stages", deploy_pipeline_stages) - pulumi.set(__self__, "display_name", display_name) + GetDeploymentDeployPipelineArtifactItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + deploy_artifact_id=deploy_artifact_id, + deploy_pipeline_stages=deploy_pipeline_stages, + display_name=display_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deploy_artifact_id: str, + deploy_pipeline_stages: Sequence['outputs.GetDeploymentDeployPipelineArtifactItemDeployPipelineStageResult'], + display_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("deploy_artifact_id", deploy_artifact_id) + _setter("deploy_pipeline_stages", deploy_pipeline_stages) + _setter("display_name", display_name) @property @pulumi.getter(name="deployArtifactId") @@ -11842,7 +15132,16 @@ def __init__(__self__, *, """ :param Sequence['GetDeploymentDeployPipelineArtifactItemDeployPipelineStageItemArgs'] items: A list of stage predecessors for a stage. """ - pulumi.set(__self__, "items", items) + GetDeploymentDeployPipelineArtifactItemDeployPipelineStageResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeploymentDeployPipelineArtifactItemDeployPipelineStageItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -11862,8 +15161,19 @@ def __init__(__self__, *, :param str deploy_stage_id: The OCID of the stage. :param str display_name: Deployment identifier which can be renamed and is not necessarily unique. Avoid entering confidential information. """ - pulumi.set(__self__, "deploy_stage_id", deploy_stage_id) - pulumi.set(__self__, "display_name", display_name) + GetDeploymentDeployPipelineArtifactItemDeployPipelineStageItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + deploy_stage_id=deploy_stage_id, + display_name=display_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deploy_stage_id: str, + display_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("deploy_stage_id", deploy_stage_id) + _setter("display_name", display_name) @property @pulumi.getter(name="deployStageId") @@ -11889,7 +15199,16 @@ def __init__(__self__, *, """ :param Sequence['GetDeploymentDeployPipelineEnvironmentItemArgs'] items: A list of stage predecessors for a stage. """ - pulumi.set(__self__, "items", items) + GetDeploymentDeployPipelineEnvironmentResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeploymentDeployPipelineEnvironmentItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -11911,9 +15230,22 @@ def __init__(__self__, *, :param Sequence['GetDeploymentDeployPipelineEnvironmentItemDeployPipelineStageArgs'] deploy_pipeline_stages: List of stages. :param str display_name: Deployment identifier which can be renamed and is not necessarily unique. Avoid entering confidential information. """ - pulumi.set(__self__, "deploy_environment_id", deploy_environment_id) - pulumi.set(__self__, "deploy_pipeline_stages", deploy_pipeline_stages) - pulumi.set(__self__, "display_name", display_name) + GetDeploymentDeployPipelineEnvironmentItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + deploy_environment_id=deploy_environment_id, + deploy_pipeline_stages=deploy_pipeline_stages, + display_name=display_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deploy_environment_id: str, + deploy_pipeline_stages: Sequence['outputs.GetDeploymentDeployPipelineEnvironmentItemDeployPipelineStageResult'], + display_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("deploy_environment_id", deploy_environment_id) + _setter("deploy_pipeline_stages", deploy_pipeline_stages) + _setter("display_name", display_name) @property @pulumi.getter(name="deployEnvironmentId") @@ -11947,7 +15279,16 @@ def __init__(__self__, *, """ :param Sequence['GetDeploymentDeployPipelineEnvironmentItemDeployPipelineStageItemArgs'] items: A list of stage predecessors for a stage. """ - pulumi.set(__self__, "items", items) + GetDeploymentDeployPipelineEnvironmentItemDeployPipelineStageResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeploymentDeployPipelineEnvironmentItemDeployPipelineStageItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -11967,8 +15308,19 @@ def __init__(__self__, *, :param str deploy_stage_id: The OCID of the stage. :param str display_name: Deployment identifier which can be renamed and is not necessarily unique. Avoid entering confidential information. """ - pulumi.set(__self__, "deploy_stage_id", deploy_stage_id) - pulumi.set(__self__, "display_name", display_name) + GetDeploymentDeployPipelineEnvironmentItemDeployPipelineStageItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + deploy_stage_id=deploy_stage_id, + display_name=display_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deploy_stage_id: str, + display_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("deploy_stage_id", deploy_stage_id) + _setter("display_name", display_name) @property @pulumi.getter(name="deployStageId") @@ -11994,7 +15346,16 @@ def __init__(__self__, *, """ :param Sequence['GetDeploymentDeployStageOverrideArgumentItemArgs'] items: A list of stage predecessors for a stage. """ - pulumi.set(__self__, "items", items) + GetDeploymentDeployStageOverrideArgumentResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeploymentDeployStageOverrideArgumentItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -12016,9 +15377,22 @@ def __init__(__self__, *, :param str name: Name of the step. :param str value: value of the argument. """ - pulumi.set(__self__, "deploy_stage_id", deploy_stage_id) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + GetDeploymentDeployStageOverrideArgumentItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + deploy_stage_id=deploy_stage_id, + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deploy_stage_id: str, + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("deploy_stage_id", deploy_stage_id) + _setter("name", name) + _setter("value", value) @property @pulumi.getter(name="deployStageId") @@ -12052,7 +15426,16 @@ def __init__(__self__, *, """ :param Sequence['GetDeploymentDeploymentArgumentItemArgs'] items: A list of stage predecessors for a stage. """ - pulumi.set(__self__, "items", items) + GetDeploymentDeploymentArgumentResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeploymentDeploymentArgumentItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -12072,8 +15455,19 @@ def __init__(__self__, *, :param str name: Name of the step. :param str value: value of the argument. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + GetDeploymentDeploymentArgumentItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("value", value) @property @pulumi.getter @@ -12103,9 +15497,22 @@ def __init__(__self__, *, :param str time_finished: Time the deployment is finished. Format defined by [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339). :param str time_started: Time the deployment is started. Format defined by [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339). """ - pulumi.set(__self__, "deploy_stage_execution_progress", deploy_stage_execution_progress) - pulumi.set(__self__, "time_finished", time_finished) - pulumi.set(__self__, "time_started", time_started) + GetDeploymentDeploymentExecutionProgressResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + deploy_stage_execution_progress=deploy_stage_execution_progress, + time_finished=time_finished, + time_started=time_started, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deploy_stage_execution_progress: Mapping[str, Any], + time_finished: str, + time_started: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("deploy_stage_execution_progress", deploy_stage_execution_progress) + _setter("time_finished", time_finished) + _setter("time_started", time_started) @property @pulumi.getter(name="deployStageExecutionProgress") @@ -12139,7 +15546,16 @@ def __init__(__self__, *, """ :param Sequence['GetDeploymentsDeploymentCollectionItemArgs'] items: A list of stage predecessors for a stage. """ - pulumi.set(__self__, "items", items) + GetDeploymentsDeploymentCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeploymentsDeploymentCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -12198,28 +15614,79 @@ def __init__(__self__, *, :param str time_created: Time the deployment was created. Format defined by [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339). :param str time_updated: Time the deployment was updated. Format defined by [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339). """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "deploy_artifact_override_arguments", deploy_artifact_override_arguments) - pulumi.set(__self__, "deploy_pipeline_artifacts", deploy_pipeline_artifacts) - pulumi.set(__self__, "deploy_pipeline_environments", deploy_pipeline_environments) - pulumi.set(__self__, "deploy_pipeline_id", deploy_pipeline_id) - pulumi.set(__self__, "deploy_stage_id", deploy_stage_id) - pulumi.set(__self__, "deploy_stage_override_arguments", deploy_stage_override_arguments) - pulumi.set(__self__, "deployment_arguments", deployment_arguments) - pulumi.set(__self__, "deployment_execution_progresses", deployment_execution_progresses) - pulumi.set(__self__, "deployment_type", deployment_type) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "previous_deployment_id", previous_deployment_id) - pulumi.set(__self__, "project_id", project_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "trigger_new_devops_deployment", trigger_new_devops_deployment) + GetDeploymentsDeploymentCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + deploy_artifact_override_arguments=deploy_artifact_override_arguments, + deploy_pipeline_artifacts=deploy_pipeline_artifacts, + deploy_pipeline_environments=deploy_pipeline_environments, + deploy_pipeline_id=deploy_pipeline_id, + deploy_stage_id=deploy_stage_id, + deploy_stage_override_arguments=deploy_stage_override_arguments, + deployment_arguments=deployment_arguments, + deployment_execution_progresses=deployment_execution_progresses, + deployment_type=deployment_type, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + previous_deployment_id=previous_deployment_id, + project_id=project_id, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + trigger_new_devops_deployment=trigger_new_devops_deployment, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + deploy_artifact_override_arguments: Sequence['outputs.GetDeploymentsDeploymentCollectionItemDeployArtifactOverrideArgumentResult'], + deploy_pipeline_artifacts: Sequence['outputs.GetDeploymentsDeploymentCollectionItemDeployPipelineArtifactResult'], + deploy_pipeline_environments: Sequence['outputs.GetDeploymentsDeploymentCollectionItemDeployPipelineEnvironmentResult'], + deploy_pipeline_id: str, + deploy_stage_id: str, + deploy_stage_override_arguments: Sequence['outputs.GetDeploymentsDeploymentCollectionItemDeployStageOverrideArgumentResult'], + deployment_arguments: Sequence['outputs.GetDeploymentsDeploymentCollectionItemDeploymentArgumentResult'], + deployment_execution_progresses: Sequence['outputs.GetDeploymentsDeploymentCollectionItemDeploymentExecutionProgressResult'], + deployment_type: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + previous_deployment_id: str, + project_id: str, + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + trigger_new_devops_deployment: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("deploy_artifact_override_arguments", deploy_artifact_override_arguments) + _setter("deploy_pipeline_artifacts", deploy_pipeline_artifacts) + _setter("deploy_pipeline_environments", deploy_pipeline_environments) + _setter("deploy_pipeline_id", deploy_pipeline_id) + _setter("deploy_stage_id", deploy_stage_id) + _setter("deploy_stage_override_arguments", deploy_stage_override_arguments) + _setter("deployment_arguments", deployment_arguments) + _setter("deployment_execution_progresses", deployment_execution_progresses) + _setter("deployment_type", deployment_type) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("previous_deployment_id", previous_deployment_id) + _setter("project_id", project_id) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("trigger_new_devops_deployment", trigger_new_devops_deployment) @property @pulumi.getter(name="compartmentId") @@ -12402,7 +15869,16 @@ def __init__(__self__, *, """ :param Sequence['GetDeploymentsDeploymentCollectionItemDeployArtifactOverrideArgumentItemArgs'] items: A list of stage predecessors for a stage. """ - pulumi.set(__self__, "items", items) + GetDeploymentsDeploymentCollectionItemDeployArtifactOverrideArgumentResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeploymentsDeploymentCollectionItemDeployArtifactOverrideArgumentItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -12424,9 +15900,22 @@ def __init__(__self__, *, :param str name: Name of the step. :param str value: value of the argument. """ - pulumi.set(__self__, "deploy_artifact_id", deploy_artifact_id) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + GetDeploymentsDeploymentCollectionItemDeployArtifactOverrideArgumentItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + deploy_artifact_id=deploy_artifact_id, + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deploy_artifact_id: str, + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("deploy_artifact_id", deploy_artifact_id) + _setter("name", name) + _setter("value", value) @property @pulumi.getter(name="deployArtifactId") @@ -12460,7 +15949,16 @@ def __init__(__self__, *, """ :param Sequence['GetDeploymentsDeploymentCollectionItemDeployPipelineArtifactItemArgs'] items: A list of stage predecessors for a stage. """ - pulumi.set(__self__, "items", items) + GetDeploymentsDeploymentCollectionItemDeployPipelineArtifactResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeploymentsDeploymentCollectionItemDeployPipelineArtifactItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -12482,9 +15980,22 @@ def __init__(__self__, *, :param Sequence['GetDeploymentsDeploymentCollectionItemDeployPipelineArtifactItemDeployPipelineStageArgs'] deploy_pipeline_stages: List of stages. :param str display_name: A filter to return only resources that match the entire display name given. """ - pulumi.set(__self__, "deploy_artifact_id", deploy_artifact_id) - pulumi.set(__self__, "deploy_pipeline_stages", deploy_pipeline_stages) - pulumi.set(__self__, "display_name", display_name) + GetDeploymentsDeploymentCollectionItemDeployPipelineArtifactItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + deploy_artifact_id=deploy_artifact_id, + deploy_pipeline_stages=deploy_pipeline_stages, + display_name=display_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deploy_artifact_id: str, + deploy_pipeline_stages: Sequence['outputs.GetDeploymentsDeploymentCollectionItemDeployPipelineArtifactItemDeployPipelineStageResult'], + display_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("deploy_artifact_id", deploy_artifact_id) + _setter("deploy_pipeline_stages", deploy_pipeline_stages) + _setter("display_name", display_name) @property @pulumi.getter(name="deployArtifactId") @@ -12518,7 +16029,16 @@ def __init__(__self__, *, """ :param Sequence['GetDeploymentsDeploymentCollectionItemDeployPipelineArtifactItemDeployPipelineStageItemArgs'] items: A list of stage predecessors for a stage. """ - pulumi.set(__self__, "items", items) + GetDeploymentsDeploymentCollectionItemDeployPipelineArtifactItemDeployPipelineStageResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeploymentsDeploymentCollectionItemDeployPipelineArtifactItemDeployPipelineStageItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -12538,8 +16058,19 @@ def __init__(__self__, *, :param str deploy_stage_id: The OCID of the stage. :param str display_name: A filter to return only resources that match the entire display name given. """ - pulumi.set(__self__, "deploy_stage_id", deploy_stage_id) - pulumi.set(__self__, "display_name", display_name) + GetDeploymentsDeploymentCollectionItemDeployPipelineArtifactItemDeployPipelineStageItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + deploy_stage_id=deploy_stage_id, + display_name=display_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deploy_stage_id: str, + display_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("deploy_stage_id", deploy_stage_id) + _setter("display_name", display_name) @property @pulumi.getter(name="deployStageId") @@ -12565,7 +16096,16 @@ def __init__(__self__, *, """ :param Sequence['GetDeploymentsDeploymentCollectionItemDeployPipelineEnvironmentItemArgs'] items: A list of stage predecessors for a stage. """ - pulumi.set(__self__, "items", items) + GetDeploymentsDeploymentCollectionItemDeployPipelineEnvironmentResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeploymentsDeploymentCollectionItemDeployPipelineEnvironmentItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -12587,9 +16127,22 @@ def __init__(__self__, *, :param Sequence['GetDeploymentsDeploymentCollectionItemDeployPipelineEnvironmentItemDeployPipelineStageArgs'] deploy_pipeline_stages: List of stages. :param str display_name: A filter to return only resources that match the entire display name given. """ - pulumi.set(__self__, "deploy_environment_id", deploy_environment_id) - pulumi.set(__self__, "deploy_pipeline_stages", deploy_pipeline_stages) - pulumi.set(__self__, "display_name", display_name) + GetDeploymentsDeploymentCollectionItemDeployPipelineEnvironmentItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + deploy_environment_id=deploy_environment_id, + deploy_pipeline_stages=deploy_pipeline_stages, + display_name=display_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deploy_environment_id: str, + deploy_pipeline_stages: Sequence['outputs.GetDeploymentsDeploymentCollectionItemDeployPipelineEnvironmentItemDeployPipelineStageResult'], + display_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("deploy_environment_id", deploy_environment_id) + _setter("deploy_pipeline_stages", deploy_pipeline_stages) + _setter("display_name", display_name) @property @pulumi.getter(name="deployEnvironmentId") @@ -12623,7 +16176,16 @@ def __init__(__self__, *, """ :param Sequence['GetDeploymentsDeploymentCollectionItemDeployPipelineEnvironmentItemDeployPipelineStageItemArgs'] items: A list of stage predecessors for a stage. """ - pulumi.set(__self__, "items", items) + GetDeploymentsDeploymentCollectionItemDeployPipelineEnvironmentItemDeployPipelineStageResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeploymentsDeploymentCollectionItemDeployPipelineEnvironmentItemDeployPipelineStageItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -12643,8 +16205,19 @@ def __init__(__self__, *, :param str deploy_stage_id: The OCID of the stage. :param str display_name: A filter to return only resources that match the entire display name given. """ - pulumi.set(__self__, "deploy_stage_id", deploy_stage_id) - pulumi.set(__self__, "display_name", display_name) + GetDeploymentsDeploymentCollectionItemDeployPipelineEnvironmentItemDeployPipelineStageItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + deploy_stage_id=deploy_stage_id, + display_name=display_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deploy_stage_id: str, + display_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("deploy_stage_id", deploy_stage_id) + _setter("display_name", display_name) @property @pulumi.getter(name="deployStageId") @@ -12670,7 +16243,16 @@ def __init__(__self__, *, """ :param Sequence['GetDeploymentsDeploymentCollectionItemDeployStageOverrideArgumentItemArgs'] items: A list of stage predecessors for a stage. """ - pulumi.set(__self__, "items", items) + GetDeploymentsDeploymentCollectionItemDeployStageOverrideArgumentResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeploymentsDeploymentCollectionItemDeployStageOverrideArgumentItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -12692,9 +16274,22 @@ def __init__(__self__, *, :param str name: Name of the step. :param str value: value of the argument. """ - pulumi.set(__self__, "deploy_stage_id", deploy_stage_id) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + GetDeploymentsDeploymentCollectionItemDeployStageOverrideArgumentItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + deploy_stage_id=deploy_stage_id, + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deploy_stage_id: str, + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("deploy_stage_id", deploy_stage_id) + _setter("name", name) + _setter("value", value) @property @pulumi.getter(name="deployStageId") @@ -12728,7 +16323,16 @@ def __init__(__self__, *, """ :param Sequence['GetDeploymentsDeploymentCollectionItemDeploymentArgumentItemArgs'] items: A list of stage predecessors for a stage. """ - pulumi.set(__self__, "items", items) + GetDeploymentsDeploymentCollectionItemDeploymentArgumentResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeploymentsDeploymentCollectionItemDeploymentArgumentItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -12748,8 +16352,19 @@ def __init__(__self__, *, :param str name: Name of the step. :param str value: value of the argument. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + GetDeploymentsDeploymentCollectionItemDeploymentArgumentItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("value", value) @property @pulumi.getter @@ -12779,9 +16394,22 @@ def __init__(__self__, *, :param str time_finished: Time the deployment is finished. Format defined by [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339). :param str time_started: Time the deployment is started. Format defined by [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339). """ - pulumi.set(__self__, "deploy_stage_execution_progress", deploy_stage_execution_progress) - pulumi.set(__self__, "time_finished", time_finished) - pulumi.set(__self__, "time_started", time_started) + GetDeploymentsDeploymentCollectionItemDeploymentExecutionProgressResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + deploy_stage_execution_progress=deploy_stage_execution_progress, + time_finished=time_finished, + time_started=time_started, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deploy_stage_execution_progress: Mapping[str, Any], + time_finished: str, + time_started: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("deploy_stage_execution_progress", deploy_stage_execution_progress) + _setter("time_finished", time_finished) + _setter("time_started", time_started) @property @pulumi.getter(name="deployStageExecutionProgress") @@ -12817,10 +16445,23 @@ def __init__(__self__, *, """ :param str name: Name of the step. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDeploymentsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -12848,7 +16489,16 @@ def __init__(__self__, *, """ :param str topic_id: The topic ID for notifications. """ - pulumi.set(__self__, "topic_id", topic_id) + GetProjectNotificationConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + topic_id=topic_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + topic_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("topic_id", topic_id) @property @pulumi.getter(name="topicId") @@ -12868,10 +16518,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the entire name given. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetProjectsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -12896,7 +16559,16 @@ def regex(self) -> Optional[bool]: class GetProjectsProjectCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetProjectsProjectCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetProjectsProjectCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetProjectsProjectCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -12935,19 +16607,52 @@ def __init__(__self__, *, :param str time_created: Time the project was created. Format defined by [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339). :param str time_updated: Time the project was updated. Format defined by [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339). """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "notification_configs", notification_configs) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetProjectsProjectCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + name=name, + namespace=namespace, + notification_configs=notification_configs, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + name: str, + namespace: str, + notification_configs: Sequence['outputs.GetProjectsProjectCollectionItemNotificationConfigResult'], + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("name", name) + _setter("namespace", namespace) + _setter("notification_configs", notification_configs) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -13061,7 +16766,16 @@ def __init__(__self__, *, """ :param str topic_id: The topic ID for notifications. """ - pulumi.set(__self__, "topic_id", topic_id) + GetProjectsProjectCollectionItemNotificationConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + topic_id=topic_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + topic_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("topic_id", topic_id) @property @pulumi.getter(name="topicId") @@ -13081,8 +16795,19 @@ def __init__(__self__, *, :param str line_content: The content of the line. :param int line_number: The line number. """ - pulumi.set(__self__, "line_content", line_content) - pulumi.set(__self__, "line_number", line_number) + GetRepoFileLineLineResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + line_content=line_content, + line_number=line_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + line_content: str, + line_number: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("line_content", line_content) + _setter("line_number", line_number) @property @pulumi.getter(name="lineContent") @@ -13110,10 +16835,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the entire name given. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetRepositoriesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -13138,7 +16876,16 @@ def regex(self) -> Optional[bool]: class GetRepositoriesRepositoryCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetRepositoriesRepositoryCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetRepositoriesRepositoryCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetRepositoriesRepositoryCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -13196,29 +16943,82 @@ def __init__(__self__, *, :param str time_updated: The time the repository was updated. Format defined by [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339). :param Sequence[str] trigger_build_events: Trigger build events supported for this repository: PUSH - Build is triggered when a push event occurs. COMMIT_UPDATES - Build is triggered when new commits are mirrored into a repository. """ - pulumi.set(__self__, "branch_count", branch_count) - pulumi.set(__self__, "commit_count", commit_count) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "default_branch", default_branch) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "http_url", http_url) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "mirror_repository_config", mirror_repository_config) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "project_id", project_id) - pulumi.set(__self__, "project_name", project_name) - pulumi.set(__self__, "repository_type", repository_type) - pulumi.set(__self__, "size_in_bytes", size_in_bytes) - pulumi.set(__self__, "ssh_url", ssh_url) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "trigger_build_events", trigger_build_events) + GetRepositoriesRepositoryCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + branch_count=branch_count, + commit_count=commit_count, + compartment_id=compartment_id, + default_branch=default_branch, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + http_url=http_url, + id=id, + lifecycle_details=lifecycle_details, + mirror_repository_config=mirror_repository_config, + name=name, + namespace=namespace, + project_id=project_id, + project_name=project_name, + repository_type=repository_type, + size_in_bytes=size_in_bytes, + ssh_url=ssh_url, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + trigger_build_events=trigger_build_events, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + branch_count: int, + commit_count: int, + compartment_id: str, + default_branch: str, + defined_tags: Mapping[str, Any], + description: str, + freeform_tags: Mapping[str, Any], + http_url: str, + id: str, + lifecycle_details: str, + mirror_repository_config: 'outputs.GetRepositoriesRepositoryCollectionItemMirrorRepositoryConfigResult', + name: str, + namespace: str, + project_id: str, + project_name: str, + repository_type: str, + size_in_bytes: str, + ssh_url: str, + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + trigger_build_events: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("branch_count", branch_count) + _setter("commit_count", commit_count) + _setter("compartment_id", compartment_id) + _setter("default_branch", default_branch) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("freeform_tags", freeform_tags) + _setter("http_url", http_url) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("mirror_repository_config", mirror_repository_config) + _setter("name", name) + _setter("namespace", namespace) + _setter("project_id", project_id) + _setter("project_name", project_name) + _setter("repository_type", repository_type) + _setter("size_in_bytes", size_in_bytes) + _setter("ssh_url", ssh_url) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("trigger_build_events", trigger_build_events) @property @pulumi.getter(name="branchCount") @@ -13413,9 +17213,22 @@ def __init__(__self__, *, :param str repository_url: URL of external repository you want to mirror. :param 'GetRepositoriesRepositoryCollectionItemMirrorRepositoryConfigTriggerScheduleArgs' trigger_schedule: Specifies a trigger schedule. Timing information for when to initiate automated syncs. """ - pulumi.set(__self__, "connector_id", connector_id) - pulumi.set(__self__, "repository_url", repository_url) - pulumi.set(__self__, "trigger_schedule", trigger_schedule) + GetRepositoriesRepositoryCollectionItemMirrorRepositoryConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + connector_id=connector_id, + repository_url=repository_url, + trigger_schedule=trigger_schedule, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + connector_id: str, + repository_url: str, + trigger_schedule: 'outputs.GetRepositoriesRepositoryCollectionItemMirrorRepositoryConfigTriggerScheduleResult', + opts: Optional[pulumi.ResourceOptions]=None): + _setter("connector_id", connector_id) + _setter("repository_url", repository_url) + _setter("trigger_schedule", trigger_schedule) @property @pulumi.getter(name="connectorId") @@ -13451,8 +17264,19 @@ def __init__(__self__, *, :param str custom_schedule: Valid if type is CUSTOM. Following RFC 5545 recurrence rules, we can specify starting time, occurrence frequency, and interval size. Example for frequency could be DAILY/WEEKLY/HOURLY or any RFC 5545 supported frequency, which is followed by start time of this window. You can control the start time with BYHOUR, BYMINUTE and BYSECONDS. It is followed by the interval size. :param str schedule_type: Different types of trigger schedule: NONE - No automated synchronization schedule. DEFAULT - Trigger schedule is every 30 minutes. CUSTOM - Custom triggering schedule. """ - pulumi.set(__self__, "custom_schedule", custom_schedule) - pulumi.set(__self__, "schedule_type", schedule_type) + GetRepositoriesRepositoryCollectionItemMirrorRepositoryConfigTriggerScheduleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_schedule=custom_schedule, + schedule_type=schedule_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_schedule: str, + schedule_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("custom_schedule", custom_schedule) + _setter("schedule_type", schedule_type) @property @pulumi.getter(name="customSchedule") @@ -13482,9 +17306,22 @@ def __init__(__self__, *, :param Mapping[str, Any] defined_tags: Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace.bar-key": "value"}` :param Mapping[str, Any] freeform_tags: Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` """ - pulumi.set(__self__, "author_name", author_name) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "freeform_tags", freeform_tags) + GetRepositoryAuthorItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + author_name=author_name, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + author_name: str, + defined_tags: Mapping[str, Any], + freeform_tags: Mapping[str, Any], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("author_name", author_name) + _setter("defined_tags", defined_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="authorName") @@ -13517,10 +17354,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetRepositoryAuthorsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -13545,7 +17395,16 @@ def __init__(__self__, *, """ :param Sequence['GetRepositoryAuthorsRepositoryAuthorCollectionItemArgs'] items: List of author objects. """ - pulumi.set(__self__, "items", items) + GetRepositoryAuthorsRepositoryAuthorCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetRepositoryAuthorsRepositoryAuthorCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -13567,9 +17426,22 @@ def __init__(__self__, *, :param Mapping[str, Any] defined_tags: Defined tags for this resource. Each key is predefined and scoped to a namespace. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"foo-namespace.bar-key": "value"}` :param Mapping[str, Any] freeform_tags: Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` """ - pulumi.set(__self__, "author_name", author_name) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "freeform_tags", freeform_tags) + GetRepositoryAuthorsRepositoryAuthorCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + author_name=author_name, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + author_name: str, + defined_tags: Mapping[str, Any], + freeform_tags: Mapping[str, Any], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("author_name", author_name) + _setter("defined_tags", defined_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="authorName") @@ -13602,10 +17474,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetRepositoryCommitsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -13627,7 +17512,16 @@ def regex(self) -> Optional[bool]: class GetRepositoryCommitsRepositoryCommitCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetRepositoryCommitsRepositoryCommitCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetRepositoryCommitsRepositoryCommitCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetRepositoryCommitsRepositoryCommitCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -13660,17 +17554,46 @@ def __init__(__self__, *, :param str time_created: The time at which commit was created. :param str tree_id: Tree information for the specified commit. """ - pulumi.set(__self__, "author_email", author_email) - pulumi.set(__self__, "author_name", author_name) - pulumi.set(__self__, "commit_id", commit_id) - pulumi.set(__self__, "commit_message", commit_message) - pulumi.set(__self__, "committer_email", committer_email) - pulumi.set(__self__, "committer_name", committer_name) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "parent_commit_ids", parent_commit_ids) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "tree_id", tree_id) + GetRepositoryCommitsRepositoryCommitCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + author_email=author_email, + author_name=author_name, + commit_id=commit_id, + commit_message=commit_message, + committer_email=committer_email, + committer_name=committer_name, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + parent_commit_ids=parent_commit_ids, + time_created=time_created, + tree_id=tree_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + author_email: str, + author_name: str, + commit_id: str, + commit_message: str, + committer_email: str, + committer_name: str, + defined_tags: Mapping[str, Any], + freeform_tags: Mapping[str, Any], + parent_commit_ids: Sequence[str], + time_created: str, + tree_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("author_email", author_email) + _setter("author_name", author_name) + _setter("commit_id", commit_id) + _setter("commit_message", commit_message) + _setter("committer_email", committer_email) + _setter("committer_name", committer_name) + _setter("defined_tags", defined_tags) + _setter("freeform_tags", freeform_tags) + _setter("parent_commit_ids", parent_commit_ids) + _setter("time_created", time_created) + _setter("tree_id", tree_id) @property @pulumi.getter(name="authorEmail") @@ -13770,11 +17693,28 @@ def __init__(__self__, *, :param int target_line: Line number in target version where changes begin. :param int target_span: Number of lines chunk spans in target version. """ - pulumi.set(__self__, "base_line", base_line) - pulumi.set(__self__, "base_span", base_span) - pulumi.set(__self__, "diff_sections", diff_sections) - pulumi.set(__self__, "target_line", target_line) - pulumi.set(__self__, "target_span", target_span) + GetRepositoryDiffChangeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + base_line=base_line, + base_span=base_span, + diff_sections=diff_sections, + target_line=target_line, + target_span=target_span, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + base_line: int, + base_span: int, + diff_sections: Sequence['outputs.GetRepositoryDiffChangeDiffSectionResult'], + target_line: int, + target_span: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("base_line", base_line) + _setter("base_span", base_span) + _setter("diff_sections", diff_sections) + _setter("target_line", target_line) + _setter("target_span", target_span) @property @pulumi.getter(name="baseLine") @@ -13826,8 +17766,19 @@ def __init__(__self__, *, :param Sequence['GetRepositoryDiffChangeDiffSectionLineArgs'] lines: The lines within changed section. :param str type: Type of change. """ - pulumi.set(__self__, "lines", lines) - pulumi.set(__self__, "type", type) + GetRepositoryDiffChangeDiffSectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + lines=lines, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + lines: Sequence['outputs.GetRepositoryDiffChangeDiffSectionLineResult'], + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("lines", lines) + _setter("type", type) @property @pulumi.getter @@ -13859,10 +17810,25 @@ def __init__(__self__, *, :param str line_content: The contents of a line. :param int target_line: Line number in target version where changes begin. """ - pulumi.set(__self__, "base_line", base_line) - pulumi.set(__self__, "conflict_marker", conflict_marker) - pulumi.set(__self__, "line_content", line_content) - pulumi.set(__self__, "target_line", target_line) + GetRepositoryDiffChangeDiffSectionLineResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + base_line=base_line, + conflict_marker=conflict_marker, + line_content=line_content, + target_line=target_line, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + base_line: int, + conflict_marker: str, + line_content: str, + target_line: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("base_line", base_line) + _setter("conflict_marker", conflict_marker) + _setter("line_content", line_content) + _setter("target_line", target_line) @property @pulumi.getter(name="baseLine") @@ -13901,7 +17867,16 @@ def target_line(self) -> int: class GetRepositoryDiffsDiffCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetRepositoryDiffsDiffCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetRepositoryDiffsDiffCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetRepositoryDiffsDiffCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -13931,15 +17906,40 @@ def __init__(__self__, *, :param str old_id: The ID of the changed object on the base version. :param str old_path: The path on the base version to the changed object. """ - pulumi.set(__self__, "are_conflicts_in_file", are_conflicts_in_file) - pulumi.set(__self__, "changes", changes) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "is_binary", is_binary) - pulumi.set(__self__, "is_large", is_large) - pulumi.set(__self__, "new_id", new_id) - pulumi.set(__self__, "new_path", new_path) - pulumi.set(__self__, "old_id", old_id) - pulumi.set(__self__, "old_path", old_path) + GetRepositoryDiffsDiffCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + are_conflicts_in_file=are_conflicts_in_file, + changes=changes, + freeform_tags=freeform_tags, + is_binary=is_binary, + is_large=is_large, + new_id=new_id, + new_path=new_path, + old_id=old_id, + old_path=old_path, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + are_conflicts_in_file: bool, + changes: Sequence['outputs.GetRepositoryDiffsDiffCollectionItemChangeResult'], + freeform_tags: Mapping[str, Any], + is_binary: bool, + is_large: bool, + new_id: str, + new_path: str, + old_id: str, + old_path: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("are_conflicts_in_file", are_conflicts_in_file) + _setter("changes", changes) + _setter("freeform_tags", freeform_tags) + _setter("is_binary", is_binary) + _setter("is_large", is_large) + _setter("new_id", new_id) + _setter("new_path", new_path) + _setter("old_id", old_id) + _setter("old_path", old_path) @property @pulumi.getter(name="areConflictsInFile") @@ -14026,11 +18026,28 @@ def __init__(__self__, *, :param int target_line: Line number in target version where changes begin. :param int target_span: Number of lines chunk spans in target version. """ - pulumi.set(__self__, "base_line", base_line) - pulumi.set(__self__, "base_span", base_span) - pulumi.set(__self__, "diff_sections", diff_sections) - pulumi.set(__self__, "target_line", target_line) - pulumi.set(__self__, "target_span", target_span) + GetRepositoryDiffsDiffCollectionItemChangeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + base_line=base_line, + base_span=base_span, + diff_sections=diff_sections, + target_line=target_line, + target_span=target_span, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + base_line: int, + base_span: int, + diff_sections: Sequence['outputs.GetRepositoryDiffsDiffCollectionItemChangeDiffSectionResult'], + target_line: int, + target_span: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("base_line", base_line) + _setter("base_span", base_span) + _setter("diff_sections", diff_sections) + _setter("target_line", target_line) + _setter("target_span", target_span) @property @pulumi.getter(name="baseLine") @@ -14082,8 +18099,19 @@ def __init__(__self__, *, :param Sequence['GetRepositoryDiffsDiffCollectionItemChangeDiffSectionLineArgs'] lines: The lines within changed section. :param str type: Type of change. """ - pulumi.set(__self__, "lines", lines) - pulumi.set(__self__, "type", type) + GetRepositoryDiffsDiffCollectionItemChangeDiffSectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + lines=lines, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + lines: Sequence['outputs.GetRepositoryDiffsDiffCollectionItemChangeDiffSectionLineResult'], + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("lines", lines) + _setter("type", type) @property @pulumi.getter @@ -14115,10 +18143,25 @@ def __init__(__self__, *, :param str line_content: The contents of a line. :param int target_line: Line number in target version where changes begin. """ - pulumi.set(__self__, "base_line", base_line) - pulumi.set(__self__, "conflict_marker", conflict_marker) - pulumi.set(__self__, "line_content", line_content) - pulumi.set(__self__, "target_line", target_line) + GetRepositoryDiffsDiffCollectionItemChangeDiffSectionLineResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + base_line=base_line, + conflict_marker=conflict_marker, + line_content=line_content, + target_line=target_line, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + base_line: int, + conflict_marker: str, + line_content: str, + target_line: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("base_line", base_line) + _setter("conflict_marker", conflict_marker) + _setter("line_content", line_content) + _setter("target_line", target_line) @property @pulumi.getter(name="baseLine") @@ -14159,10 +18202,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetRepositoryDiffsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -14195,11 +18251,28 @@ def __init__(__self__, *, :param int target_line: Line number in target version where changes begin. :param int target_span: Number of lines chunk spans in target version. """ - pulumi.set(__self__, "base_line", base_line) - pulumi.set(__self__, "base_span", base_span) - pulumi.set(__self__, "diff_sections", diff_sections) - pulumi.set(__self__, "target_line", target_line) - pulumi.set(__self__, "target_span", target_span) + GetRepositoryFileDiffChangeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + base_line=base_line, + base_span=base_span, + diff_sections=diff_sections, + target_line=target_line, + target_span=target_span, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + base_line: int, + base_span: int, + diff_sections: Sequence['outputs.GetRepositoryFileDiffChangeDiffSectionResult'], + target_line: int, + target_span: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("base_line", base_line) + _setter("base_span", base_span) + _setter("diff_sections", diff_sections) + _setter("target_line", target_line) + _setter("target_span", target_span) @property @pulumi.getter(name="baseLine") @@ -14251,8 +18324,19 @@ def __init__(__self__, *, :param Sequence['GetRepositoryFileDiffChangeDiffSectionLineArgs'] lines: The lines within changed section. :param str type: Type of change. """ - pulumi.set(__self__, "lines", lines) - pulumi.set(__self__, "type", type) + GetRepositoryFileDiffChangeDiffSectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + lines=lines, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + lines: Sequence['outputs.GetRepositoryFileDiffChangeDiffSectionLineResult'], + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("lines", lines) + _setter("type", type) @property @pulumi.getter @@ -14284,10 +18368,25 @@ def __init__(__self__, *, :param str line_content: The contents of a line. :param int target_line: Line number in target version where changes begin. """ - pulumi.set(__self__, "base_line", base_line) - pulumi.set(__self__, "conflict_marker", conflict_marker) - pulumi.set(__self__, "line_content", line_content) - pulumi.set(__self__, "target_line", target_line) + GetRepositoryFileDiffChangeDiffSectionLineResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + base_line=base_line, + conflict_marker=conflict_marker, + line_content=line_content, + target_line=target_line, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + base_line: int, + conflict_marker: str, + line_content: str, + target_line: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("base_line", base_line) + _setter("conflict_marker", conflict_marker) + _setter("line_content", line_content) + _setter("target_line", target_line) @property @pulumi.getter(name="baseLine") @@ -14331,8 +18430,19 @@ def __init__(__self__, *, :param str line_content: The content of the line. :param int line_number: The line number. """ - pulumi.set(__self__, "line_content", line_content) - pulumi.set(__self__, "line_number", line_number) + GetRepositoryFileLineLineResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + line_content=line_content, + line_number=line_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + line_content: str, + line_number: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("line_content", line_content) + _setter("line_number", line_number) @property @pulumi.getter(name="lineContent") @@ -14357,10 +18467,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetRepositoryMirrorRecordsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -14382,7 +18505,16 @@ def regex(self) -> Optional[bool]: class GetRepositoryMirrorRecordsRepositoryMirrorRecordCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetRepositoryMirrorRecordsRepositoryMirrorRecordCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetRepositoryMirrorRecordsRepositoryMirrorRecordCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetRepositoryMirrorRecordsRepositoryMirrorRecordCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -14405,12 +18537,31 @@ def __init__(__self__, *, :param str time_started: The time to start a mirror operation. :param str work_request_id: Workrequest ID to track current mirror operation. """ - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "mirror_status", mirror_status) - pulumi.set(__self__, "time_completed", time_completed) - pulumi.set(__self__, "time_enqueued", time_enqueued) - pulumi.set(__self__, "time_started", time_started) - pulumi.set(__self__, "work_request_id", work_request_id) + GetRepositoryMirrorRecordsRepositoryMirrorRecordCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + freeform_tags=freeform_tags, + mirror_status=mirror_status, + time_completed=time_completed, + time_enqueued=time_enqueued, + time_started=time_started, + work_request_id=work_request_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + freeform_tags: Mapping[str, Any], + mirror_status: str, + time_completed: str, + time_enqueued: str, + time_started: str, + work_request_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("freeform_tags", freeform_tags) + _setter("mirror_status", mirror_status) + _setter("time_completed", time_completed) + _setter("time_enqueued", time_enqueued) + _setter("time_started", time_started) + _setter("work_request_id", work_request_id) @property @pulumi.getter(name="freeformTags") @@ -14466,9 +18617,22 @@ def __init__(__self__, *, :param str repository_url: URL of external repository you want to mirror. :param Sequence['GetRepositoryMirrorRepositoryConfigTriggerScheduleArgs'] trigger_schedules: Specifies a trigger schedule. Timing information for when to initiate automated syncs. """ - pulumi.set(__self__, "connector_id", connector_id) - pulumi.set(__self__, "repository_url", repository_url) - pulumi.set(__self__, "trigger_schedules", trigger_schedules) + GetRepositoryMirrorRepositoryConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + connector_id=connector_id, + repository_url=repository_url, + trigger_schedules=trigger_schedules, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + connector_id: str, + repository_url: str, + trigger_schedules: Sequence['outputs.GetRepositoryMirrorRepositoryConfigTriggerScheduleResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("connector_id", connector_id) + _setter("repository_url", repository_url) + _setter("trigger_schedules", trigger_schedules) @property @pulumi.getter(name="connectorId") @@ -14504,8 +18668,19 @@ def __init__(__self__, *, :param str custom_schedule: Valid if type is CUSTOM. Following RFC 5545 recurrence rules, we can specify starting time, occurrence frequency, and interval size. Example for frequency could be DAILY/WEEKLY/HOURLY or any RFC 5545 supported frequency, which is followed by start time of this window. You can control the start time with BYHOUR, BYMINUTE and BYSECONDS. It is followed by the interval size. :param str schedule_type: Different types of trigger schedule: NONE - No automated synchronization schedule. DEFAULT - Trigger schedule is every 30 minutes. CUSTOM - Custom triggering schedule. """ - pulumi.set(__self__, "custom_schedule", custom_schedule) - pulumi.set(__self__, "schedule_type", schedule_type) + GetRepositoryMirrorRepositoryConfigTriggerScheduleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_schedule=custom_schedule, + schedule_type=schedule_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_schedule: str, + schedule_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("custom_schedule", custom_schedule) + _setter("schedule_type", schedule_type) @property @pulumi.getter(name="customSchedule") @@ -14545,14 +18720,37 @@ def __init__(__self__, *, :param str submodule_git_url: The git URL of the submodule. :param str type: File or directory. """ - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "path", path) - pulumi.set(__self__, "sha", sha) - pulumi.set(__self__, "size_in_bytes", size_in_bytes) - pulumi.set(__self__, "submodule_git_url", submodule_git_url) - pulumi.set(__self__, "type", type) + GetRepositoryPathItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + defined_tags=defined_tags, + freeform_tags=freeform_tags, + name=name, + path=path, + sha=sha, + size_in_bytes=size_in_bytes, + submodule_git_url=submodule_git_url, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + defined_tags: Mapping[str, Any], + freeform_tags: Mapping[str, Any], + name: str, + path: str, + sha: str, + size_in_bytes: str, + submodule_git_url: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("defined_tags", defined_tags) + _setter("freeform_tags", freeform_tags) + _setter("name", name) + _setter("path", path) + _setter("sha", sha) + _setter("size_in_bytes", size_in_bytes) + _setter("submodule_git_url", submodule_git_url) + _setter("type", type) @property @pulumi.getter(name="definedTags") @@ -14628,10 +18826,23 @@ def __init__(__self__, *, """ :param str name: Name of file or directory. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetRepositoryPathsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -14659,7 +18870,16 @@ def __init__(__self__, *, """ :param Sequence['GetRepositoryPathsRepositoryPathCollectionItemArgs'] items: List of objects describing files or directories in a repository. """ - pulumi.set(__self__, "items", items) + GetRepositoryPathsRepositoryPathCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetRepositoryPathsRepositoryPathCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -14691,14 +18911,37 @@ def __init__(__self__, *, :param str submodule_git_url: The git URL of the submodule. :param str type: File or directory. """ - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "path", path) - pulumi.set(__self__, "sha", sha) - pulumi.set(__self__, "size_in_bytes", size_in_bytes) - pulumi.set(__self__, "submodule_git_url", submodule_git_url) - pulumi.set(__self__, "type", type) + GetRepositoryPathsRepositoryPathCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + defined_tags=defined_tags, + freeform_tags=freeform_tags, + name=name, + path=path, + sha=sha, + size_in_bytes=size_in_bytes, + submodule_git_url=submodule_git_url, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + defined_tags: Mapping[str, Any], + freeform_tags: Mapping[str, Any], + name: str, + path: str, + sha: str, + size_in_bytes: str, + submodule_git_url: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("defined_tags", defined_tags) + _setter("freeform_tags", freeform_tags) + _setter("name", name) + _setter("path", path) + _setter("sha", sha) + _setter("size_in_bytes", size_in_bytes) + _setter("submodule_git_url", submodule_git_url) + _setter("type", type) @property @pulumi.getter(name="definedTags") @@ -14771,10 +19014,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetRepositoryRefsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -14796,7 +19052,16 @@ def regex(self) -> Optional[bool]: class GetRepositoryRefsRepositoryRefCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetRepositoryRefsRepositoryRefCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetRepositoryRefsRepositoryRefCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetRepositoryRefsRepositoryRefCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -14826,15 +19091,40 @@ def __init__(__self__, *, :param str ref_type: Reference type to distinguish between branch and tag. If it is not specified, all references are returned. :param str repository_id: Unique repository identifier. """ - pulumi.set(__self__, "commit_id", commit_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "full_ref_name", full_ref_name) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "object_id", object_id) - pulumi.set(__self__, "ref_name", ref_name) - pulumi.set(__self__, "ref_type", ref_type) - pulumi.set(__self__, "repository_id", repository_id) + GetRepositoryRefsRepositoryRefCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + commit_id=commit_id, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + full_ref_name=full_ref_name, + id=id, + object_id=object_id, + ref_name=ref_name, + ref_type=ref_type, + repository_id=repository_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + commit_id: str, + defined_tags: Mapping[str, Any], + freeform_tags: Mapping[str, Any], + full_ref_name: str, + id: str, + object_id: str, + ref_name: str, + ref_type: str, + repository_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("commit_id", commit_id) + _setter("defined_tags", defined_tags) + _setter("freeform_tags", freeform_tags) + _setter("full_ref_name", full_ref_name) + _setter("id", id) + _setter("object_id", object_id) + _setter("ref_name", ref_name) + _setter("ref_type", ref_type) + _setter("repository_id", repository_id) @property @pulumi.getter(name="commitId") @@ -14917,9 +19207,22 @@ def __init__(__self__, *, :param Sequence['GetTriggerActionFilterArgs'] filters: The filters for the trigger. :param str type: The type of action that will be taken. Allowed value is TRIGGER_BUILD_PIPELINE. """ - pulumi.set(__self__, "build_pipeline_id", build_pipeline_id) - pulumi.set(__self__, "filters", filters) - pulumi.set(__self__, "type", type) + GetTriggerActionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + build_pipeline_id=build_pipeline_id, + filters=filters, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + build_pipeline_id: str, + filters: Sequence['outputs.GetTriggerActionFilterResult'], + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("build_pipeline_id", build_pipeline_id) + _setter("filters", filters) + _setter("type", type) @property @pulumi.getter(name="buildPipelineId") @@ -14958,10 +19261,25 @@ def __init__(__self__, *, :param Sequence['GetTriggerActionFilterIncludeArgs'] includes: Attributes to filter GitLab self-hosted server events. :param str trigger_source: Source of the trigger. Allowed values are, GITHUB and GITLAB. """ - pulumi.set(__self__, "events", events) - pulumi.set(__self__, "excludes", excludes) - pulumi.set(__self__, "includes", includes) - pulumi.set(__self__, "trigger_source", trigger_source) + GetTriggerActionFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + events=events, + excludes=excludes, + includes=includes, + trigger_source=trigger_source, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + events: Sequence[str], + excludes: Sequence['outputs.GetTriggerActionFilterExcludeResult'], + includes: Sequence['outputs.GetTriggerActionFilterIncludeResult'], + trigger_source: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("events", events) + _setter("excludes", excludes) + _setter("includes", includes) + _setter("trigger_source", trigger_source) @property @pulumi.getter @@ -14997,7 +19315,16 @@ def trigger_source(self) -> str: class GetTriggerActionFilterExcludeResult(dict): def __init__(__self__, *, file_filters: Sequence['outputs.GetTriggerActionFilterExcludeFileFilterResult']): - pulumi.set(__self__, "file_filters", file_filters) + GetTriggerActionFilterExcludeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + file_filters=file_filters, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + file_filters: Sequence['outputs.GetTriggerActionFilterExcludeFileFilterResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("file_filters", file_filters) @property @pulumi.getter(name="fileFilters") @@ -15009,7 +19336,16 @@ def file_filters(self) -> Sequence['outputs.GetTriggerActionFilterExcludeFileFil class GetTriggerActionFilterExcludeFileFilterResult(dict): def __init__(__self__, *, file_paths: Sequence[str]): - pulumi.set(__self__, "file_paths", file_paths) + GetTriggerActionFilterExcludeFileFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + file_paths=file_paths, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + file_paths: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("file_paths", file_paths) @property @pulumi.getter(name="filePaths") @@ -15029,10 +19365,25 @@ def __init__(__self__, *, :param str head_ref: Branch for push event; source branch for pull requests. :param str repository_name: The repository name for trigger events. """ - pulumi.set(__self__, "base_ref", base_ref) - pulumi.set(__self__, "file_filters", file_filters) - pulumi.set(__self__, "head_ref", head_ref) - pulumi.set(__self__, "repository_name", repository_name) + GetTriggerActionFilterIncludeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + base_ref=base_ref, + file_filters=file_filters, + head_ref=head_ref, + repository_name=repository_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + base_ref: str, + file_filters: Sequence['outputs.GetTriggerActionFilterIncludeFileFilterResult'], + head_ref: str, + repository_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("base_ref", base_ref) + _setter("file_filters", file_filters) + _setter("head_ref", head_ref) + _setter("repository_name", repository_name) @property @pulumi.getter(name="baseRef") @@ -15068,7 +19419,16 @@ def repository_name(self) -> str: class GetTriggerActionFilterIncludeFileFilterResult(dict): def __init__(__self__, *, file_paths: Sequence[str]): - pulumi.set(__self__, "file_paths", file_paths) + GetTriggerActionFilterIncludeFileFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + file_paths=file_paths, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + file_paths: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("file_paths", file_paths) @property @pulumi.getter(name="filePaths") @@ -15082,10 +19442,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetTriggersFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -15107,7 +19480,16 @@ def regex(self) -> Optional[bool]: class GetTriggersTriggerCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetTriggersTriggerCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetTriggersTriggerCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetTriggersTriggerCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -15153,23 +19535,64 @@ def __init__(__self__, *, :param str trigger_source: Source of the trigger. Allowed values are, GITHUB and GITLAB. :param str trigger_url: The endpoint that listens to trigger events. """ - pulumi.set(__self__, "actions", actions) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "connection_id", connection_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "project_id", project_id) - pulumi.set(__self__, "repository_id", repository_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "trigger_source", trigger_source) - pulumi.set(__self__, "trigger_url", trigger_url) + GetTriggersTriggerCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + actions=actions, + compartment_id=compartment_id, + connection_id=connection_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + project_id=project_id, + repository_id=repository_id, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + trigger_source=trigger_source, + trigger_url=trigger_url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + actions: Sequence['outputs.GetTriggersTriggerCollectionItemActionResult'], + compartment_id: str, + connection_id: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + project_id: str, + repository_id: str, + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + trigger_source: str, + trigger_url: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("actions", actions) + _setter("compartment_id", compartment_id) + _setter("connection_id", connection_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("project_id", project_id) + _setter("repository_id", repository_id) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("trigger_source", trigger_source) + _setter("trigger_url", trigger_url) @property @pulumi.getter @@ -15316,9 +19739,22 @@ def __init__(__self__, *, :param Sequence['GetTriggersTriggerCollectionItemActionFilterArgs'] filters: The filters for the trigger. :param str type: The type of action that will be taken. Allowed value is TRIGGER_BUILD_PIPELINE. """ - pulumi.set(__self__, "build_pipeline_id", build_pipeline_id) - pulumi.set(__self__, "filters", filters) - pulumi.set(__self__, "type", type) + GetTriggersTriggerCollectionItemActionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + build_pipeline_id=build_pipeline_id, + filters=filters, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + build_pipeline_id: str, + filters: Sequence['outputs.GetTriggersTriggerCollectionItemActionFilterResult'], + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("build_pipeline_id", build_pipeline_id) + _setter("filters", filters) + _setter("type", type) @property @pulumi.getter(name="buildPipelineId") @@ -15357,10 +19793,25 @@ def __init__(__self__, *, :param Sequence['GetTriggersTriggerCollectionItemActionFilterIncludeArgs'] includes: Attributes to filter GitLab self-hosted server events. :param str trigger_source: Source of the trigger. Allowed values are, GITHUB and GITLAB. """ - pulumi.set(__self__, "events", events) - pulumi.set(__self__, "excludes", excludes) - pulumi.set(__self__, "includes", includes) - pulumi.set(__self__, "trigger_source", trigger_source) + GetTriggersTriggerCollectionItemActionFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + events=events, + excludes=excludes, + includes=includes, + trigger_source=trigger_source, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + events: Sequence[str], + excludes: Sequence['outputs.GetTriggersTriggerCollectionItemActionFilterExcludeResult'], + includes: Sequence['outputs.GetTriggersTriggerCollectionItemActionFilterIncludeResult'], + trigger_source: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("events", events) + _setter("excludes", excludes) + _setter("includes", includes) + _setter("trigger_source", trigger_source) @property @pulumi.getter @@ -15396,7 +19847,16 @@ def trigger_source(self) -> str: class GetTriggersTriggerCollectionItemActionFilterExcludeResult(dict): def __init__(__self__, *, file_filters: Sequence['outputs.GetTriggersTriggerCollectionItemActionFilterExcludeFileFilterResult']): - pulumi.set(__self__, "file_filters", file_filters) + GetTriggersTriggerCollectionItemActionFilterExcludeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + file_filters=file_filters, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + file_filters: Sequence['outputs.GetTriggersTriggerCollectionItemActionFilterExcludeFileFilterResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("file_filters", file_filters) @property @pulumi.getter(name="fileFilters") @@ -15408,7 +19868,16 @@ def file_filters(self) -> Sequence['outputs.GetTriggersTriggerCollectionItemActi class GetTriggersTriggerCollectionItemActionFilterExcludeFileFilterResult(dict): def __init__(__self__, *, file_paths: Sequence[str]): - pulumi.set(__self__, "file_paths", file_paths) + GetTriggersTriggerCollectionItemActionFilterExcludeFileFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + file_paths=file_paths, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + file_paths: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("file_paths", file_paths) @property @pulumi.getter(name="filePaths") @@ -15428,10 +19897,25 @@ def __init__(__self__, *, :param str head_ref: Branch for push event; source branch for pull requests. :param str repository_name: The repository name for trigger events. """ - pulumi.set(__self__, "base_ref", base_ref) - pulumi.set(__self__, "file_filters", file_filters) - pulumi.set(__self__, "head_ref", head_ref) - pulumi.set(__self__, "repository_name", repository_name) + GetTriggersTriggerCollectionItemActionFilterIncludeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + base_ref=base_ref, + file_filters=file_filters, + head_ref=head_ref, + repository_name=repository_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + base_ref: str, + file_filters: Sequence['outputs.GetTriggersTriggerCollectionItemActionFilterIncludeFileFilterResult'], + head_ref: str, + repository_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("base_ref", base_ref) + _setter("file_filters", file_filters) + _setter("head_ref", head_ref) + _setter("repository_name", repository_name) @property @pulumi.getter(name="baseRef") @@ -15467,7 +19951,16 @@ def repository_name(self) -> str: class GetTriggersTriggerCollectionItemActionFilterIncludeFileFilterResult(dict): def __init__(__self__, *, file_paths: Sequence[str]): - pulumi.set(__self__, "file_paths", file_paths) + GetTriggersTriggerCollectionItemActionFilterIncludeFileFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + file_paths=file_paths, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + file_paths: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("file_paths", file_paths) @property @pulumi.getter(name="filePaths") diff --git a/sdk/python/pulumi_oci/devops/project.py b/sdk/python/pulumi_oci/devops/project.py index 08a6501e64..da90cbf51d 100644 --- a/sdk/python/pulumi_oci/devops/project.py +++ b/sdk/python/pulumi_oci/devops/project.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -31,16 +31,35 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` :param pulumi.Input[str] name: Project name (case-sensitive). """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "notification_config", notification_config) + ProjectArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + notification_config=notification_config, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + notification_config: pulumi.Input['ProjectNotificationConfigArgs'], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("notification_config", notification_config) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter(name="compartmentId") @@ -145,30 +164,61 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: Time the project was created. Format defined by [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339). :param pulumi.Input[str] time_updated: Time the project was updated. Format defined by [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339). """ + _ProjectState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + name=name, + namespace=namespace, + notification_config=notification_config, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + namespace: Optional[pulumi.Input[str]] = None, + notification_config: Optional[pulumi.Input['ProjectNotificationConfigArgs']] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if notification_config is not None: - pulumi.set(__self__, "notification_config", notification_config) + _setter("notification_config", notification_config) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -418,6 +468,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ProjectArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -445,6 +499,11 @@ def _internal_init(__self__, __props__.__dict__["description"] = description __props__.__dict__["freeform_tags"] = freeform_tags __props__.__dict__["name"] = name + if notification_config is not None and not isinstance(notification_config, ProjectNotificationConfigArgs): + notification_config = notification_config or {} + def _setter(key, value): + notification_config[key] = value + ProjectNotificationConfigArgs._configure(_setter, **notification_config) if notification_config is None and not opts.urn: raise TypeError("Missing required property 'notification_config'") __props__.__dict__["notification_config"] = notification_config diff --git a/sdk/python/pulumi_oci/devops/repository.py b/sdk/python/pulumi_oci/devops/repository.py index b6868b7fd3..813156901f 100644 --- a/sdk/python/pulumi_oci/devops/repository.py +++ b/sdk/python/pulumi_oci/devops/repository.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -39,20 +39,43 @@ def __init__(__self__, *, :param pulumi.Input['RepositoryMirrorRepositoryConfigArgs'] mirror_repository_config: (Updatable) Configuration information for mirroring the repository. :param pulumi.Input[str] name: (Updatable) Unique name of a repository. """ - pulumi.set(__self__, "project_id", project_id) - pulumi.set(__self__, "repository_type", repository_type) + RepositoryArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + project_id=project_id, + repository_type=repository_type, + default_branch=default_branch, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + mirror_repository_config=mirror_repository_config, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + project_id: pulumi.Input[str], + repository_type: pulumi.Input[str], + default_branch: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + mirror_repository_config: Optional[pulumi.Input['RepositoryMirrorRepositoryConfigArgs']] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("project_id", project_id) + _setter("repository_type", repository_type) if default_branch is not None: - pulumi.set(__self__, "default_branch", default_branch) + _setter("default_branch", default_branch) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if mirror_repository_config is not None: - pulumi.set(__self__, "mirror_repository_config", mirror_repository_config) + _setter("mirror_repository_config", mirror_repository_config) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter(name="projectId") @@ -209,50 +232,101 @@ def __init__(__self__, *, :param pulumi.Input[str] time_updated: The time the repository was updated. Format defined by [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339). :param pulumi.Input[Sequence[pulumi.Input[str]]] trigger_build_events: Trigger build events supported for this repository: PUSH - Build is triggered when a push event occurs. COMMIT_UPDATES - Build is triggered when new commits are mirrored into a repository. """ + _RepositoryState._configure( + lambda key, value: pulumi.set(__self__, key, value), + branch_count=branch_count, + commit_count=commit_count, + compartment_id=compartment_id, + default_branch=default_branch, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + http_url=http_url, + lifecyle_details=lifecyle_details, + mirror_repository_config=mirror_repository_config, + name=name, + namespace=namespace, + project_id=project_id, + project_name=project_name, + repository_type=repository_type, + size_in_bytes=size_in_bytes, + ssh_url=ssh_url, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + trigger_build_events=trigger_build_events, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + branch_count: Optional[pulumi.Input[int]] = None, + commit_count: Optional[pulumi.Input[int]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + default_branch: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + http_url: Optional[pulumi.Input[str]] = None, + lifecyle_details: Optional[pulumi.Input[str]] = None, + mirror_repository_config: Optional[pulumi.Input['RepositoryMirrorRepositoryConfigArgs']] = None, + name: Optional[pulumi.Input[str]] = None, + namespace: Optional[pulumi.Input[str]] = None, + project_id: Optional[pulumi.Input[str]] = None, + project_name: Optional[pulumi.Input[str]] = None, + repository_type: Optional[pulumi.Input[str]] = None, + size_in_bytes: Optional[pulumi.Input[str]] = None, + ssh_url: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + trigger_build_events: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if branch_count is not None: - pulumi.set(__self__, "branch_count", branch_count) + _setter("branch_count", branch_count) if commit_count is not None: - pulumi.set(__self__, "commit_count", commit_count) + _setter("commit_count", commit_count) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if default_branch is not None: - pulumi.set(__self__, "default_branch", default_branch) + _setter("default_branch", default_branch) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if http_url is not None: - pulumi.set(__self__, "http_url", http_url) + _setter("http_url", http_url) if lifecyle_details is not None: - pulumi.set(__self__, "lifecyle_details", lifecyle_details) + _setter("lifecyle_details", lifecyle_details) if mirror_repository_config is not None: - pulumi.set(__self__, "mirror_repository_config", mirror_repository_config) + _setter("mirror_repository_config", mirror_repository_config) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if project_id is not None: - pulumi.set(__self__, "project_id", project_id) + _setter("project_id", project_id) if project_name is not None: - pulumi.set(__self__, "project_name", project_name) + _setter("project_name", project_name) if repository_type is not None: - pulumi.set(__self__, "repository_type", repository_type) + _setter("repository_type", repository_type) if size_in_bytes is not None: - pulumi.set(__self__, "size_in_bytes", size_in_bytes) + _setter("size_in_bytes", size_in_bytes) if ssh_url is not None: - pulumi.set(__self__, "ssh_url", ssh_url) + _setter("ssh_url", ssh_url) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if trigger_build_events is not None: - pulumi.set(__self__, "trigger_build_events", trigger_build_events) + _setter("trigger_build_events", trigger_build_events) @property @pulumi.getter(name="branchCount") @@ -648,6 +722,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + RepositoryArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -674,6 +752,11 @@ def _internal_init(__self__, __props__.__dict__["defined_tags"] = defined_tags __props__.__dict__["description"] = description __props__.__dict__["freeform_tags"] = freeform_tags + if mirror_repository_config is not None and not isinstance(mirror_repository_config, RepositoryMirrorRepositoryConfigArgs): + mirror_repository_config = mirror_repository_config or {} + def _setter(key, value): + mirror_repository_config[key] = value + RepositoryMirrorRepositoryConfigArgs._configure(_setter, **mirror_repository_config) __props__.__dict__["mirror_repository_config"] = mirror_repository_config __props__.__dict__["name"] = name if project_id is None and not opts.urn: diff --git a/sdk/python/pulumi_oci/devops/repository_mirror.py b/sdk/python/pulumi_oci/devops/repository_mirror.py index 3bb0c8b8a3..255ce778f9 100644 --- a/sdk/python/pulumi_oci/devops/repository_mirror.py +++ b/sdk/python/pulumi_oci/devops/repository_mirror.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['RepositoryMirrorArgs', 'RepositoryMirror'] @@ -23,7 +23,16 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "repository_id", repository_id) + RepositoryMirrorArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + repository_id=repository_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + repository_id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("repository_id", repository_id) @property @pulumi.getter(name="repositoryId") @@ -54,8 +63,17 @@ def __init__(__self__, *, ** 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 """ + _RepositoryMirrorState._configure( + lambda key, value: pulumi.set(__self__, key, value), + repository_id=repository_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + repository_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if repository_id is not None: - pulumi.set(__self__, "repository_id", repository_id) + _setter("repository_id", repository_id) @property @pulumi.getter(name="repositoryId") @@ -149,6 +167,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + RepositoryMirrorArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/devops/repository_ref.py b/sdk/python/pulumi_oci/devops/repository_ref.py index 1d8a1d32fd..41062f58c3 100644 --- a/sdk/python/pulumi_oci/devops/repository_ref.py +++ b/sdk/python/pulumi_oci/devops/repository_ref.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['RepositoryRefArgs', 'RepositoryRef'] @@ -31,13 +31,30 @@ def __init__(__self__, *, :param pulumi.Input[str] commit_id: (Updatable) Commit ID pointed to by the new branch. :param pulumi.Input[str] object_id: (Updatable) SHA-1 hash value of the object pointed to by the tag. """ - pulumi.set(__self__, "ref_name", ref_name) - pulumi.set(__self__, "ref_type", ref_type) - pulumi.set(__self__, "repository_id", repository_id) + RepositoryRefArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + ref_name=ref_name, + ref_type=ref_type, + repository_id=repository_id, + commit_id=commit_id, + object_id=object_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ref_name: pulumi.Input[str], + ref_type: pulumi.Input[str], + repository_id: pulumi.Input[str], + commit_id: Optional[pulumi.Input[str]] = None, + object_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ref_name", ref_name) + _setter("ref_type", ref_type) + _setter("repository_id", repository_id) if commit_id is not None: - pulumi.set(__self__, "commit_id", commit_id) + _setter("commit_id", commit_id) if object_id is not None: - pulumi.set(__self__, "object_id", object_id) + _setter("object_id", object_id) @property @pulumi.getter(name="refName") @@ -130,22 +147,45 @@ def __init__(__self__, *, ** 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 """ + _RepositoryRefState._configure( + lambda key, value: pulumi.set(__self__, key, value), + commit_id=commit_id, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + full_ref_name=full_ref_name, + object_id=object_id, + ref_name=ref_name, + ref_type=ref_type, + repository_id=repository_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + commit_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + full_ref_name: Optional[pulumi.Input[str]] = None, + object_id: Optional[pulumi.Input[str]] = None, + ref_name: Optional[pulumi.Input[str]] = None, + ref_type: Optional[pulumi.Input[str]] = None, + repository_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if commit_id is not None: - pulumi.set(__self__, "commit_id", commit_id) + _setter("commit_id", commit_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if full_ref_name is not None: - pulumi.set(__self__, "full_ref_name", full_ref_name) + _setter("full_ref_name", full_ref_name) if object_id is not None: - pulumi.set(__self__, "object_id", object_id) + _setter("object_id", object_id) if ref_name is not None: - pulumi.set(__self__, "ref_name", ref_name) + _setter("ref_name", ref_name) if ref_type is not None: - pulumi.set(__self__, "ref_type", ref_type) + _setter("ref_type", ref_type) if repository_id is not None: - pulumi.set(__self__, "repository_id", repository_id) + _setter("repository_id", repository_id) @property @pulumi.getter(name="commitId") @@ -341,6 +381,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + RepositoryRefArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/devops/trigger.py b/sdk/python/pulumi_oci/devops/trigger.py index 2b81f7d145..aa43075108 100644 --- a/sdk/python/pulumi_oci/devops/trigger.py +++ b/sdk/python/pulumi_oci/devops/trigger.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -41,21 +41,46 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"bar-key": "value"}` :param pulumi.Input[str] repository_id: (Updatable) The OCID of the DevOps code repository. """ - pulumi.set(__self__, "actions", actions) - pulumi.set(__self__, "project_id", project_id) - pulumi.set(__self__, "trigger_source", trigger_source) + TriggerArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + actions=actions, + project_id=project_id, + trigger_source=trigger_source, + connection_id=connection_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + repository_id=repository_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + actions: pulumi.Input[Sequence[pulumi.Input['TriggerActionArgs']]], + project_id: pulumi.Input[str], + trigger_source: pulumi.Input[str], + connection_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + repository_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("actions", actions) + _setter("project_id", project_id) + _setter("trigger_source", trigger_source) if connection_id is not None: - pulumi.set(__self__, "connection_id", connection_id) + _setter("connection_id", connection_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if repository_id is not None: - pulumi.set(__self__, "repository_id", repository_id) + _setter("repository_id", repository_id) @property @pulumi.getter @@ -212,38 +237,77 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] trigger_url: The endpoint that listens to trigger events. """ + _TriggerState._configure( + lambda key, value: pulumi.set(__self__, key, value), + actions=actions, + compartment_id=compartment_id, + connection_id=connection_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + project_id=project_id, + repository_id=repository_id, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + trigger_source=trigger_source, + trigger_url=trigger_url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + actions: Optional[pulumi.Input[Sequence[pulumi.Input['TriggerActionArgs']]]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + connection_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + project_id: Optional[pulumi.Input[str]] = None, + repository_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + trigger_source: Optional[pulumi.Input[str]] = None, + trigger_url: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if actions is not None: - pulumi.set(__self__, "actions", actions) + _setter("actions", actions) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if connection_id is not None: - pulumi.set(__self__, "connection_id", connection_id) + _setter("connection_id", connection_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if project_id is not None: - pulumi.set(__self__, "project_id", project_id) + _setter("project_id", project_id) if repository_id is not None: - pulumi.set(__self__, "repository_id", repository_id) + _setter("repository_id", repository_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if trigger_source is not None: - pulumi.set(__self__, "trigger_source", trigger_source) + _setter("trigger_source", trigger_source) if trigger_url is not None: - pulumi.set(__self__, "trigger_url", trigger_url) + _setter("trigger_url", trigger_url) @property @pulumi.getter @@ -581,6 +645,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + TriggerArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/disasterrecovery/_inputs.py b/sdk/python/pulumi_oci/disasterrecovery/_inputs.py index a7c6190602..d2c101bc82 100644 --- a/sdk/python/pulumi_oci/disasterrecovery/_inputs.py +++ b/sdk/python/pulumi_oci/disasterrecovery/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -39,11 +39,24 @@ def __init__(__self__, *, :param pulumi.Input[bool] are_prechecks_enabled: A flag indicating whether prechecks should be executed before the plan execution. Example: `false` :param pulumi.Input[bool] are_warnings_ignored: A flag indicating whether warnings should be ignored during the switchover precheck. Example: `true` """ - pulumi.set(__self__, "plan_execution_type", plan_execution_type) + DrPlanExecutionExecutionOptionsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + plan_execution_type=plan_execution_type, + are_prechecks_enabled=are_prechecks_enabled, + are_warnings_ignored=are_warnings_ignored, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + plan_execution_type: pulumi.Input[str], + are_prechecks_enabled: Optional[pulumi.Input[bool]] = None, + are_warnings_ignored: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("plan_execution_type", plan_execution_type) if are_prechecks_enabled is not None: - pulumi.set(__self__, "are_prechecks_enabled", are_prechecks_enabled) + _setter("are_prechecks_enabled", are_prechecks_enabled) if are_warnings_ignored is not None: - pulumi.set(__self__, "are_warnings_ignored", are_warnings_ignored) + _setter("are_warnings_ignored", are_warnings_ignored) @property @pulumi.getter(name="planExecutionType") @@ -105,24 +118,49 @@ def __init__(__self__, *, :param pulumi.Input[str] time_started: The date and time at which DR Plan Execution began. An RFC3339 formatted datetime string. Example: `2019-03-29T09:36:42Z` :param pulumi.Input[str] type: The plan group type. """ + DrPlanExecutionGroupExecutionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + execution_duration_in_sec=execution_duration_in_sec, + group_id=group_id, + status=status, + status_details=status_details, + step_executions=step_executions, + time_ended=time_ended, + time_started=time_started, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: Optional[pulumi.Input[str]] = None, + execution_duration_in_sec: Optional[pulumi.Input[int]] = None, + group_id: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[str]] = None, + status_details: Optional[pulumi.Input[str]] = None, + step_executions: Optional[pulumi.Input[Sequence[pulumi.Input['DrPlanExecutionGroupExecutionStepExecutionArgs']]]] = None, + time_ended: Optional[pulumi.Input[str]] = None, + time_started: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if execution_duration_in_sec is not None: - pulumi.set(__self__, "execution_duration_in_sec", execution_duration_in_sec) + _setter("execution_duration_in_sec", execution_duration_in_sec) if group_id is not None: - pulumi.set(__self__, "group_id", group_id) + _setter("group_id", group_id) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if status_details is not None: - pulumi.set(__self__, "status_details", status_details) + _setter("status_details", status_details) if step_executions is not None: - pulumi.set(__self__, "step_executions", step_executions) + _setter("step_executions", step_executions) if time_ended is not None: - pulumi.set(__self__, "time_ended", time_ended) + _setter("time_ended", time_ended) if time_started is not None: - pulumi.set(__self__, "time_started", time_started) + _setter("time_started", time_started) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter(name="displayName") @@ -258,26 +296,53 @@ def __init__(__self__, *, :param pulumi.Input[str] time_started: The date and time at which DR Plan Execution began. An RFC3339 formatted datetime string. Example: `2019-03-29T09:36:42Z` :param pulumi.Input[str] type: The plan group type. """ + DrPlanExecutionGroupExecutionStepExecutionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + execution_duration_in_sec=execution_duration_in_sec, + group_id=group_id, + log_locations=log_locations, + status=status, + status_details=status_details, + step_id=step_id, + time_ended=time_ended, + time_started=time_started, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: Optional[pulumi.Input[str]] = None, + execution_duration_in_sec: Optional[pulumi.Input[int]] = None, + group_id: Optional[pulumi.Input[str]] = None, + log_locations: Optional[pulumi.Input[Sequence[pulumi.Input['DrPlanExecutionGroupExecutionStepExecutionLogLocationArgs']]]] = None, + status: Optional[pulumi.Input[str]] = None, + status_details: Optional[pulumi.Input[str]] = None, + step_id: Optional[pulumi.Input[str]] = None, + time_ended: Optional[pulumi.Input[str]] = None, + time_started: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if execution_duration_in_sec is not None: - pulumi.set(__self__, "execution_duration_in_sec", execution_duration_in_sec) + _setter("execution_duration_in_sec", execution_duration_in_sec) if group_id is not None: - pulumi.set(__self__, "group_id", group_id) + _setter("group_id", group_id) if log_locations is not None: - pulumi.set(__self__, "log_locations", log_locations) + _setter("log_locations", log_locations) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if status_details is not None: - pulumi.set(__self__, "status_details", status_details) + _setter("status_details", status_details) if step_id is not None: - pulumi.set(__self__, "step_id", step_id) + _setter("step_id", step_id) if time_ended is not None: - pulumi.set(__self__, "time_ended", time_ended) + _setter("time_ended", time_ended) if time_started is not None: - pulumi.set(__self__, "time_started", time_started) + _setter("time_started", time_started) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter(name="displayName") @@ -411,12 +476,25 @@ def __init__(__self__, *, :param pulumi.Input[str] namespace: The namespace in Object Storage (Note - this is usually the tenancy name). Example: `myocitenancy` :param pulumi.Input[str] object: The object name inside the Object Storage bucket. Example: `switchover_plan_executions` """ + DrPlanExecutionGroupExecutionStepExecutionLogLocationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + namespace=namespace, + object=object, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: Optional[pulumi.Input[str]] = None, + namespace: Optional[pulumi.Input[str]] = None, + object: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if bucket is not None: - pulumi.set(__self__, "bucket", bucket) + _setter("bucket", bucket) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if object is not None: - pulumi.set(__self__, "object", object) + _setter("object", object) @property @pulumi.getter @@ -466,12 +544,25 @@ def __init__(__self__, *, :param pulumi.Input[str] namespace: The namespace in Object Storage (Note - this is usually the tenancy name). Example: `myocitenancy` :param pulumi.Input[str] object: The object name inside the Object Storage bucket. Example: `switchover_plan_executions` """ + DrPlanExecutionLogLocationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + namespace=namespace, + object=object, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: Optional[pulumi.Input[str]] = None, + namespace: Optional[pulumi.Input[str]] = None, + object: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if bucket is not None: - pulumi.set(__self__, "bucket", bucket) + _setter("bucket", bucket) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if object is not None: - pulumi.set(__self__, "object", object) + _setter("object", object) @property @pulumi.getter @@ -527,14 +618,29 @@ def __init__(__self__, *, ** 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 """ + DrPlanPlanGroupArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + id=id, + steps=steps, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: Optional[pulumi.Input[str]] = None, + id: Optional[pulumi.Input[str]] = None, + steps: Optional[pulumi.Input[Sequence[pulumi.Input['DrPlanPlanGroupStepArgs']]]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if steps is not None: - pulumi.set(__self__, "steps", steps) + _setter("steps", steps) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter(name="displayName") @@ -616,24 +722,49 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[Sequence[pulumi.Input['DrPlanPlanGroupStepUserDefinedStepArgs']]] user_defined_steps: The details for a user-defined step in a DR Plan. """ + DrPlanPlanGroupStepArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + error_mode=error_mode, + group_id=group_id, + id=id, + is_enabled=is_enabled, + member_id=member_id, + timeout=timeout, + type=type, + user_defined_steps=user_defined_steps, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: Optional[pulumi.Input[str]] = None, + error_mode: Optional[pulumi.Input[str]] = None, + group_id: Optional[pulumi.Input[str]] = None, + id: Optional[pulumi.Input[str]] = None, + is_enabled: Optional[pulumi.Input[bool]] = None, + member_id: Optional[pulumi.Input[str]] = None, + timeout: Optional[pulumi.Input[int]] = None, + type: Optional[pulumi.Input[str]] = None, + user_defined_steps: Optional[pulumi.Input[Sequence[pulumi.Input['DrPlanPlanGroupStepUserDefinedStepArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if error_mode is not None: - pulumi.set(__self__, "error_mode", error_mode) + _setter("error_mode", error_mode) if group_id is not None: - pulumi.set(__self__, "group_id", group_id) + _setter("group_id", group_id) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) if member_id is not None: - pulumi.set(__self__, "member_id", member_id) + _setter("member_id", member_id) if timeout is not None: - pulumi.set(__self__, "timeout", timeout) + _setter("timeout", timeout) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if user_defined_steps is not None: - pulumi.set(__self__, "user_defined_steps", user_defined_steps) + _setter("user_defined_steps", user_defined_steps) @property @pulumi.getter(name="displayName") @@ -771,24 +902,49 @@ def __init__(__self__, *, :param pulumi.Input[str] script_command: The script name and arguments. Example: `/usr/bin/python3 /home/opc/scripts/my_app_script.py arg1 arg2 arg3` :param pulumi.Input[str] step_type: The type of the step. """ + DrPlanPlanGroupStepUserDefinedStepArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + function_id=function_id, + function_region=function_region, + object_storage_script_locations=object_storage_script_locations, + request_body=request_body, + run_as_user=run_as_user, + run_on_instance_id=run_on_instance_id, + run_on_instance_region=run_on_instance_region, + script_command=script_command, + step_type=step_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + function_id: Optional[pulumi.Input[str]] = None, + function_region: Optional[pulumi.Input[str]] = None, + object_storage_script_locations: Optional[pulumi.Input[Sequence[pulumi.Input['DrPlanPlanGroupStepUserDefinedStepObjectStorageScriptLocationArgs']]]] = None, + request_body: Optional[pulumi.Input[str]] = None, + run_as_user: Optional[pulumi.Input[str]] = None, + run_on_instance_id: Optional[pulumi.Input[str]] = None, + run_on_instance_region: Optional[pulumi.Input[str]] = None, + script_command: Optional[pulumi.Input[str]] = None, + step_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if function_id is not None: - pulumi.set(__self__, "function_id", function_id) + _setter("function_id", function_id) if function_region is not None: - pulumi.set(__self__, "function_region", function_region) + _setter("function_region", function_region) if object_storage_script_locations is not None: - pulumi.set(__self__, "object_storage_script_locations", object_storage_script_locations) + _setter("object_storage_script_locations", object_storage_script_locations) if request_body is not None: - pulumi.set(__self__, "request_body", request_body) + _setter("request_body", request_body) if run_as_user is not None: - pulumi.set(__self__, "run_as_user", run_as_user) + _setter("run_as_user", run_as_user) if run_on_instance_id is not None: - pulumi.set(__self__, "run_on_instance_id", run_on_instance_id) + _setter("run_on_instance_id", run_on_instance_id) if run_on_instance_region is not None: - pulumi.set(__self__, "run_on_instance_region", run_on_instance_region) + _setter("run_on_instance_region", run_on_instance_region) if script_command is not None: - pulumi.set(__self__, "script_command", script_command) + _setter("script_command", script_command) if step_type is not None: - pulumi.set(__self__, "step_type", step_type) + _setter("step_type", step_type) @property @pulumi.getter(name="functionId") @@ -910,12 +1066,25 @@ def __init__(__self__, *, :param pulumi.Input[str] namespace: The namespace in Object Storage (Note - this is usually the tenancy name). Example: `myocitenancy` :param pulumi.Input[str] object: The object name inside the Object Storage bucket. Example: `validate_app_start.sh` """ + DrPlanPlanGroupStepUserDefinedStepObjectStorageScriptLocationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + namespace=namespace, + object=object, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: Optional[pulumi.Input[str]] = None, + namespace: Optional[pulumi.Input[str]] = None, + object: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if bucket is not None: - pulumi.set(__self__, "bucket", bucket) + _setter("bucket", bucket) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if object is not None: - pulumi.set(__self__, "object", object) + _setter("object", object) @property @pulumi.getter @@ -965,11 +1134,24 @@ def __init__(__self__, *, :param pulumi.Input[str] peer_id: The OCID of the peer (remote) DR Protection Group. Example: `ocid1.drprotectiongroup.oc1.iad.<unique_id>` :param pulumi.Input[str] peer_region: The region of the peer (remote) DR Protection Group. Example: `us-ashburn-1` """ - pulumi.set(__self__, "role", role) + DrProtectionGroupAssociationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + role=role, + peer_id=peer_id, + peer_region=peer_region, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + role: pulumi.Input[str], + peer_id: Optional[pulumi.Input[str]] = None, + peer_region: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("role", role) if peer_id is not None: - pulumi.set(__self__, "peer_id", peer_id) + _setter("peer_id", peer_id) if peer_region is not None: - pulumi.set(__self__, "peer_region", peer_region) + _setter("peer_region", peer_region) @property @pulumi.getter @@ -1019,10 +1201,23 @@ def __init__(__self__, *, :param pulumi.Input[str] namespace: (Updatable) The namespace in Object Storage (Note - this is usually the tenancy name). Example: `myocitenancy` :param pulumi.Input[str] object: The object name inside the Object Storage bucket. Example: `switchover_plan_executions` """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "namespace", namespace) + DrProtectionGroupLogLocationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + namespace=namespace, + object=object, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: pulumi.Input[str], + namespace: pulumi.Input[str], + object: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("namespace", namespace) if object is not None: - pulumi.set(__self__, "object", object) + _setter("object", object) @property @pulumi.getter @@ -1086,24 +1281,51 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['DrProtectionGroupMemberVnicMappingArgs']]] vnic_mapping: (Updatable) A list of Compute Instance VNIC mappings. :param pulumi.Input[Sequence[pulumi.Input['DrProtectionGroupMemberVnicMappingArgs']]] vnic_mappings: (Updatable) A list of Compute Instance VNIC mappings. """ - pulumi.set(__self__, "member_id", member_id) - pulumi.set(__self__, "member_type", member_type) + DrProtectionGroupMemberArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + member_id=member_id, + member_type=member_type, + destination_capacity_reservation_id=destination_capacity_reservation_id, + destination_compartment_id=destination_compartment_id, + destination_dedicated_vm_host_id=destination_dedicated_vm_host_id, + is_movable=is_movable, + is_retain_fault_domain=is_retain_fault_domain, + password_vault_secret_id=password_vault_secret_id, + vnic_mapping=vnic_mapping, + vnic_mappings=vnic_mappings, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + member_id: pulumi.Input[str], + member_type: pulumi.Input[str], + destination_capacity_reservation_id: Optional[pulumi.Input[str]] = None, + destination_compartment_id: Optional[pulumi.Input[str]] = None, + destination_dedicated_vm_host_id: Optional[pulumi.Input[str]] = None, + is_movable: Optional[pulumi.Input[bool]] = None, + is_retain_fault_domain: Optional[pulumi.Input[bool]] = None, + password_vault_secret_id: Optional[pulumi.Input[str]] = None, + vnic_mapping: Optional[pulumi.Input[Sequence[pulumi.Input['DrProtectionGroupMemberVnicMappingArgs']]]] = None, + vnic_mappings: Optional[pulumi.Input[Sequence[pulumi.Input['DrProtectionGroupMemberVnicMappingArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("member_id", member_id) + _setter("member_type", member_type) if destination_capacity_reservation_id is not None: - pulumi.set(__self__, "destination_capacity_reservation_id", destination_capacity_reservation_id) + _setter("destination_capacity_reservation_id", destination_capacity_reservation_id) if destination_compartment_id is not None: - pulumi.set(__self__, "destination_compartment_id", destination_compartment_id) + _setter("destination_compartment_id", destination_compartment_id) if destination_dedicated_vm_host_id is not None: - pulumi.set(__self__, "destination_dedicated_vm_host_id", destination_dedicated_vm_host_id) + _setter("destination_dedicated_vm_host_id", destination_dedicated_vm_host_id) if is_movable is not None: - pulumi.set(__self__, "is_movable", is_movable) + _setter("is_movable", is_movable) if is_retain_fault_domain is not None: - pulumi.set(__self__, "is_retain_fault_domain", is_retain_fault_domain) + _setter("is_retain_fault_domain", is_retain_fault_domain) if password_vault_secret_id is not None: - pulumi.set(__self__, "password_vault_secret_id", password_vault_secret_id) + _setter("password_vault_secret_id", password_vault_secret_id) if vnic_mapping is not None: - pulumi.set(__self__, "vnic_mapping", vnic_mapping) + _setter("vnic_mapping", vnic_mapping) if vnic_mappings is not None: - pulumi.set(__self__, "vnic_mappings", vnic_mappings) + _setter("vnic_mappings", vnic_mappings) @property @pulumi.getter(name="memberId") @@ -1241,16 +1463,33 @@ def __init__(__self__, *, :param pulumi.Input[str] destination_subnet_id: (Updatable) The OCID of the destination (remote) subnet to which this VNIC should connect. Example: `ocid1.subnet.oc1..<unique_id>` :param pulumi.Input[str] source_vnic_id: (Updatable) The OCID of the VNIC. Example: `ocid1.vnic.oc1..<unique_id>` """ + DrProtectionGroupMemberVnicMappingArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + destination_nsg_id_lists=destination_nsg_id_lists, + destination_primary_private_ip_address=destination_primary_private_ip_address, + destination_primary_private_ip_hostname_label=destination_primary_private_ip_hostname_label, + destination_subnet_id=destination_subnet_id, + source_vnic_id=source_vnic_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + destination_nsg_id_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + destination_primary_private_ip_address: Optional[pulumi.Input[str]] = None, + destination_primary_private_ip_hostname_label: Optional[pulumi.Input[str]] = None, + destination_subnet_id: Optional[pulumi.Input[str]] = None, + source_vnic_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if destination_nsg_id_lists is not None: - pulumi.set(__self__, "destination_nsg_id_lists", destination_nsg_id_lists) + _setter("destination_nsg_id_lists", destination_nsg_id_lists) if destination_primary_private_ip_address is not None: - pulumi.set(__self__, "destination_primary_private_ip_address", destination_primary_private_ip_address) + _setter("destination_primary_private_ip_address", destination_primary_private_ip_address) if destination_primary_private_ip_hostname_label is not None: - pulumi.set(__self__, "destination_primary_private_ip_hostname_label", destination_primary_private_ip_hostname_label) + _setter("destination_primary_private_ip_hostname_label", destination_primary_private_ip_hostname_label) if destination_subnet_id is not None: - pulumi.set(__self__, "destination_subnet_id", destination_subnet_id) + _setter("destination_subnet_id", destination_subnet_id) if source_vnic_id is not None: - pulumi.set(__self__, "source_vnic_id", source_vnic_id) + _setter("source_vnic_id", source_vnic_id) @property @pulumi.getter(name="destinationNsgIdLists") @@ -1319,10 +1558,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDrPlanExecutionsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1358,10 +1610,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDrPlansFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1397,10 +1662,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDrProtectionGroupsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/disasterrecovery/dr_plan.py b/sdk/python/pulumi_oci/disasterrecovery/dr_plan.py index fe8bd0846c..f1a125b20e 100644 --- a/sdk/python/pulumi_oci/disasterrecovery/dr_plan.py +++ b/sdk/python/pulumi_oci/disasterrecovery/dr_plan.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -33,13 +33,30 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"Operations.CostCenter": "42"}` :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"Department": "Finance"}` """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "dr_protection_group_id", dr_protection_group_id) - pulumi.set(__self__, "type", type) + DrPlanArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + dr_protection_group_id=dr_protection_group_id, + type=type, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: pulumi.Input[str], + dr_protection_group_id: pulumi.Input[str], + type: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("dr_protection_group_id", dr_protection_group_id) + _setter("type", type) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="displayName") @@ -144,34 +161,69 @@ def __init__(__self__, *, ** 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 """ + _DrPlanState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + dr_protection_group_id=dr_protection_group_id, + freeform_tags=freeform_tags, + life_cycle_details=life_cycle_details, + peer_dr_protection_group_id=peer_dr_protection_group_id, + peer_region=peer_region, + plan_groups=plan_groups, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + dr_protection_group_id: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + life_cycle_details: Optional[pulumi.Input[str]] = None, + peer_dr_protection_group_id: Optional[pulumi.Input[str]] = None, + peer_region: Optional[pulumi.Input[str]] = None, + plan_groups: Optional[pulumi.Input[Sequence[pulumi.Input['DrPlanPlanGroupArgs']]]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if dr_protection_group_id is not None: - pulumi.set(__self__, "dr_protection_group_id", dr_protection_group_id) + _setter("dr_protection_group_id", dr_protection_group_id) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if life_cycle_details is not None: - pulumi.set(__self__, "life_cycle_details", life_cycle_details) + _setter("life_cycle_details", life_cycle_details) if peer_dr_protection_group_id is not None: - pulumi.set(__self__, "peer_dr_protection_group_id", peer_dr_protection_group_id) + _setter("peer_dr_protection_group_id", peer_dr_protection_group_id) if peer_region is not None: - pulumi.set(__self__, "peer_region", peer_region) + _setter("peer_region", peer_region) if plan_groups is not None: - pulumi.set(__self__, "plan_groups", plan_groups) + _setter("plan_groups", plan_groups) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter(name="compartmentId") @@ -447,6 +499,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DrPlanArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/disasterrecovery/dr_plan_execution.py b/sdk/python/pulumi_oci/disasterrecovery/dr_plan_execution.py index 24eea01bbd..bf8caa05b5 100644 --- a/sdk/python/pulumi_oci/disasterrecovery/dr_plan_execution.py +++ b/sdk/python/pulumi_oci/disasterrecovery/dr_plan_execution.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -33,14 +33,31 @@ def __init__(__self__, *, :param pulumi.Input[str] display_name: (Updatable) The display name of the DR Plan Execution. Example: `Execution - EBS Switchover PHX to IAD` :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"Department": "Finance"}` """ - pulumi.set(__self__, "execution_options", execution_options) - pulumi.set(__self__, "plan_id", plan_id) + DrPlanExecutionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + execution_options=execution_options, + plan_id=plan_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + execution_options: pulumi.Input['DrPlanExecutionExecutionOptionsArgs'], + plan_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("execution_options", execution_options) + _setter("plan_id", plan_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="executionOptions") @@ -157,46 +174,93 @@ def __init__(__self__, *, :param pulumi.Input[str] time_started: The date and time at which DR Plan Execution began. An RFC3339 formatted datetime string. Example: `2019-03-29T09:36:42Z` :param pulumi.Input[str] time_updated: The time at which DR Plan Execution was last updated. An RFC3339 formatted datetime string. Example: `2019-03-29T09:36:42Z` """ + _DrPlanExecutionState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + dr_protection_group_id=dr_protection_group_id, + execution_duration_in_sec=execution_duration_in_sec, + execution_options=execution_options, + freeform_tags=freeform_tags, + group_executions=group_executions, + life_cycle_details=life_cycle_details, + log_locations=log_locations, + peer_dr_protection_group_id=peer_dr_protection_group_id, + peer_region=peer_region, + plan_execution_type=plan_execution_type, + plan_id=plan_id, + state=state, + system_tags=system_tags, + time_created=time_created, + time_ended=time_ended, + time_started=time_started, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + dr_protection_group_id: Optional[pulumi.Input[str]] = None, + execution_duration_in_sec: Optional[pulumi.Input[int]] = None, + execution_options: Optional[pulumi.Input['DrPlanExecutionExecutionOptionsArgs']] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + group_executions: Optional[pulumi.Input[Sequence[pulumi.Input['DrPlanExecutionGroupExecutionArgs']]]] = None, + life_cycle_details: Optional[pulumi.Input[str]] = None, + log_locations: Optional[pulumi.Input[Sequence[pulumi.Input['DrPlanExecutionLogLocationArgs']]]] = None, + peer_dr_protection_group_id: Optional[pulumi.Input[str]] = None, + peer_region: Optional[pulumi.Input[str]] = None, + plan_execution_type: Optional[pulumi.Input[str]] = None, + plan_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_ended: Optional[pulumi.Input[str]] = None, + time_started: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if dr_protection_group_id is not None: - pulumi.set(__self__, "dr_protection_group_id", dr_protection_group_id) + _setter("dr_protection_group_id", dr_protection_group_id) if execution_duration_in_sec is not None: - pulumi.set(__self__, "execution_duration_in_sec", execution_duration_in_sec) + _setter("execution_duration_in_sec", execution_duration_in_sec) if execution_options is not None: - pulumi.set(__self__, "execution_options", execution_options) + _setter("execution_options", execution_options) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if group_executions is not None: - pulumi.set(__self__, "group_executions", group_executions) + _setter("group_executions", group_executions) if life_cycle_details is not None: - pulumi.set(__self__, "life_cycle_details", life_cycle_details) + _setter("life_cycle_details", life_cycle_details) if log_locations is not None: - pulumi.set(__self__, "log_locations", log_locations) + _setter("log_locations", log_locations) if peer_dr_protection_group_id is not None: - pulumi.set(__self__, "peer_dr_protection_group_id", peer_dr_protection_group_id) + _setter("peer_dr_protection_group_id", peer_dr_protection_group_id) if peer_region is not None: - pulumi.set(__self__, "peer_region", peer_region) + _setter("peer_region", peer_region) if plan_execution_type is not None: - pulumi.set(__self__, "plan_execution_type", plan_execution_type) + _setter("plan_execution_type", plan_execution_type) if plan_id is not None: - pulumi.set(__self__, "plan_id", plan_id) + _setter("plan_id", plan_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_ended is not None: - pulumi.set(__self__, "time_ended", time_ended) + _setter("time_ended", time_ended) if time_started is not None: - pulumi.set(__self__, "time_started", time_started) + _setter("time_started", time_started) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -552,6 +616,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DrPlanExecutionArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -573,6 +641,11 @@ def _internal_init(__self__, __props__.__dict__["defined_tags"] = defined_tags __props__.__dict__["display_name"] = display_name + if execution_options is not None and not isinstance(execution_options, DrPlanExecutionExecutionOptionsArgs): + execution_options = execution_options or {} + def _setter(key, value): + execution_options[key] = value + DrPlanExecutionExecutionOptionsArgs._configure(_setter, **execution_options) if execution_options is None and not opts.urn: raise TypeError("Missing required property 'execution_options'") __props__.__dict__["execution_options"] = execution_options diff --git a/sdk/python/pulumi_oci/disasterrecovery/dr_protection_group.py b/sdk/python/pulumi_oci/disasterrecovery/dr_protection_group.py index 9983397356..f481bbf7f4 100644 --- a/sdk/python/pulumi_oci/disasterrecovery/dr_protection_group.py +++ b/sdk/python/pulumi_oci/disasterrecovery/dr_protection_group.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -39,19 +39,42 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"Department": "Finance"}` :param pulumi.Input[Sequence[pulumi.Input['DrProtectionGroupMemberArgs']]] members: (Updatable) A list of DR Protection Group members. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "log_location", log_location) + DrProtectionGroupArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + log_location=log_location, + association=association, + defined_tags=defined_tags, + disassociate_trigger=disassociate_trigger, + freeform_tags=freeform_tags, + members=members, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + log_location: pulumi.Input['DrProtectionGroupLogLocationArgs'], + association: Optional[pulumi.Input['DrProtectionGroupAssociationArgs']] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + disassociate_trigger: Optional[pulumi.Input[int]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + members: Optional[pulumi.Input[Sequence[pulumi.Input['DrProtectionGroupMemberArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) + _setter("log_location", log_location) if association is not None: - pulumi.set(__self__, "association", association) + _setter("association", association) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if disassociate_trigger is not None: - pulumi.set(__self__, "disassociate_trigger", disassociate_trigger) + _setter("disassociate_trigger", disassociate_trigger) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if members is not None: - pulumi.set(__self__, "members", members) + _setter("members", members) @property @pulumi.getter(name="compartmentId") @@ -196,38 +219,77 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the DR Protection Group was created. An RFC3339 formatted datetime string. Example: `2019-03-29T09:36:42Z` :param pulumi.Input[str] time_updated: The date and time the DR Protection Group was updated. An RFC3339 formatted datetime string. Example: `2019-03-29T09:36:42Z` """ + _DrProtectionGroupState._configure( + lambda key, value: pulumi.set(__self__, key, value), + association=association, + compartment_id=compartment_id, + defined_tags=defined_tags, + disassociate_trigger=disassociate_trigger, + display_name=display_name, + freeform_tags=freeform_tags, + life_cycle_details=life_cycle_details, + log_location=log_location, + members=members, + peer_id=peer_id, + peer_region=peer_region, + role=role, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + association: Optional[pulumi.Input['DrProtectionGroupAssociationArgs']] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + disassociate_trigger: Optional[pulumi.Input[int]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + life_cycle_details: Optional[pulumi.Input[str]] = None, + log_location: Optional[pulumi.Input['DrProtectionGroupLogLocationArgs']] = None, + members: Optional[pulumi.Input[Sequence[pulumi.Input['DrProtectionGroupMemberArgs']]]] = None, + peer_id: Optional[pulumi.Input[str]] = None, + peer_region: Optional[pulumi.Input[str]] = None, + role: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if association is not None: - pulumi.set(__self__, "association", association) + _setter("association", association) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if disassociate_trigger is not None: - pulumi.set(__self__, "disassociate_trigger", disassociate_trigger) + _setter("disassociate_trigger", disassociate_trigger) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if life_cycle_details is not None: - pulumi.set(__self__, "life_cycle_details", life_cycle_details) + _setter("life_cycle_details", life_cycle_details) if log_location is not None: - pulumi.set(__self__, "log_location", log_location) + _setter("log_location", log_location) if members is not None: - pulumi.set(__self__, "members", members) + _setter("members", members) if peer_id is not None: - pulumi.set(__self__, "peer_id", peer_id) + _setter("peer_id", peer_id) if peer_region is not None: - pulumi.set(__self__, "peer_region", peer_region) + _setter("peer_region", peer_region) if role is not None: - pulumi.set(__self__, "role", role) + _setter("role", role) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter @@ -597,6 +659,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DrProtectionGroupArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -619,6 +685,11 @@ def _internal_init(__self__, raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = DrProtectionGroupArgs.__new__(DrProtectionGroupArgs) + if association is not None and not isinstance(association, DrProtectionGroupAssociationArgs): + association = association or {} + def _setter(key, value): + association[key] = value + DrProtectionGroupAssociationArgs._configure(_setter, **association) __props__.__dict__["association"] = association if compartment_id is None and not opts.urn: raise TypeError("Missing required property 'compartment_id'") @@ -629,6 +700,11 @@ def _internal_init(__self__, raise TypeError("Missing required property 'display_name'") __props__.__dict__["display_name"] = display_name __props__.__dict__["freeform_tags"] = freeform_tags + if log_location is not None and not isinstance(log_location, DrProtectionGroupLogLocationArgs): + log_location = log_location or {} + def _setter(key, value): + log_location[key] = value + DrProtectionGroupLogLocationArgs._configure(_setter, **log_location) if log_location is None and not opts.urn: raise TypeError("Missing required property 'log_location'") __props__.__dict__["log_location"] = log_location diff --git a/sdk/python/pulumi_oci/disasterrecovery/get_dr_plan.py b/sdk/python/pulumi_oci/disasterrecovery/get_dr_plan.py index 86fe9200a2..e8fe51a99e 100644 --- a/sdk/python/pulumi_oci/disasterrecovery/get_dr_plan.py +++ b/sdk/python/pulumi_oci/disasterrecovery/get_dr_plan.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/disasterrecovery/get_dr_plan_execution.py b/sdk/python/pulumi_oci/disasterrecovery/get_dr_plan_execution.py index 7776c9c165..9c9c9e1331 100644 --- a/sdk/python/pulumi_oci/disasterrecovery/get_dr_plan_execution.py +++ b/sdk/python/pulumi_oci/disasterrecovery/get_dr_plan_execution.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/disasterrecovery/get_dr_plan_executions.py b/sdk/python/pulumi_oci/disasterrecovery/get_dr_plan_executions.py index abf01b7681..6edc7a266a 100644 --- a/sdk/python/pulumi_oci/disasterrecovery/get_dr_plan_executions.py +++ b/sdk/python/pulumi_oci/disasterrecovery/get_dr_plan_executions.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/disasterrecovery/get_dr_plans.py b/sdk/python/pulumi_oci/disasterrecovery/get_dr_plans.py index 1c77a6e9fa..340e5fcbd1 100644 --- a/sdk/python/pulumi_oci/disasterrecovery/get_dr_plans.py +++ b/sdk/python/pulumi_oci/disasterrecovery/get_dr_plans.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/disasterrecovery/get_dr_protection_group.py b/sdk/python/pulumi_oci/disasterrecovery/get_dr_protection_group.py index 61bb0a76a9..b84fa6baa3 100644 --- a/sdk/python/pulumi_oci/disasterrecovery/get_dr_protection_group.py +++ b/sdk/python/pulumi_oci/disasterrecovery/get_dr_protection_group.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/disasterrecovery/get_dr_protection_groups.py b/sdk/python/pulumi_oci/disasterrecovery/get_dr_protection_groups.py index a15e704378..1521e091d6 100644 --- a/sdk/python/pulumi_oci/disasterrecovery/get_dr_protection_groups.py +++ b/sdk/python/pulumi_oci/disasterrecovery/get_dr_protection_groups.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/disasterrecovery/outputs.py b/sdk/python/pulumi_oci/disasterrecovery/outputs.py index 1068e4dc63..7c6058e37a 100644 --- a/sdk/python/pulumi_oci/disasterrecovery/outputs.py +++ b/sdk/python/pulumi_oci/disasterrecovery/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -93,11 +93,24 @@ def __init__(__self__, *, :param bool are_prechecks_enabled: A flag indicating whether prechecks should be executed before the plan execution. Example: `false` :param bool are_warnings_ignored: A flag indicating whether warnings should be ignored during the switchover precheck. Example: `true` """ - pulumi.set(__self__, "plan_execution_type", plan_execution_type) + DrPlanExecutionExecutionOptions._configure( + lambda key, value: pulumi.set(__self__, key, value), + plan_execution_type=plan_execution_type, + are_prechecks_enabled=are_prechecks_enabled, + are_warnings_ignored=are_warnings_ignored, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + plan_execution_type: str, + are_prechecks_enabled: Optional[bool] = None, + are_warnings_ignored: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("plan_execution_type", plan_execution_type) if are_prechecks_enabled is not None: - pulumi.set(__self__, "are_prechecks_enabled", are_prechecks_enabled) + _setter("are_prechecks_enabled", are_prechecks_enabled) if are_warnings_ignored is not None: - pulumi.set(__self__, "are_warnings_ignored", are_warnings_ignored) + _setter("are_warnings_ignored", are_warnings_ignored) @property @pulumi.getter(name="planExecutionType") @@ -176,24 +189,49 @@ def __init__(__self__, *, :param str time_started: The date and time at which DR Plan Execution began. An RFC3339 formatted datetime string. Example: `2019-03-29T09:36:42Z` :param str type: The plan group type. """ + DrPlanExecutionGroupExecution._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + execution_duration_in_sec=execution_duration_in_sec, + group_id=group_id, + status=status, + status_details=status_details, + step_executions=step_executions, + time_ended=time_ended, + time_started=time_started, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: Optional[str] = None, + execution_duration_in_sec: Optional[int] = None, + group_id: Optional[str] = None, + status: Optional[str] = None, + status_details: Optional[str] = None, + step_executions: Optional[Sequence['outputs.DrPlanExecutionGroupExecutionStepExecution']] = None, + time_ended: Optional[str] = None, + time_started: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if execution_duration_in_sec is not None: - pulumi.set(__self__, "execution_duration_in_sec", execution_duration_in_sec) + _setter("execution_duration_in_sec", execution_duration_in_sec) if group_id is not None: - pulumi.set(__self__, "group_id", group_id) + _setter("group_id", group_id) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if status_details is not None: - pulumi.set(__self__, "status_details", status_details) + _setter("status_details", status_details) if step_executions is not None: - pulumi.set(__self__, "step_executions", step_executions) + _setter("step_executions", step_executions) if time_ended is not None: - pulumi.set(__self__, "time_ended", time_ended) + _setter("time_ended", time_ended) if time_started is not None: - pulumi.set(__self__, "time_started", time_started) + _setter("time_started", time_started) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter(name="displayName") @@ -324,26 +362,53 @@ def __init__(__self__, *, :param str time_started: The date and time at which DR Plan Execution began. An RFC3339 formatted datetime string. Example: `2019-03-29T09:36:42Z` :param str type: The plan group type. """ + DrPlanExecutionGroupExecutionStepExecution._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + execution_duration_in_sec=execution_duration_in_sec, + group_id=group_id, + log_locations=log_locations, + status=status, + status_details=status_details, + step_id=step_id, + time_ended=time_ended, + time_started=time_started, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: Optional[str] = None, + execution_duration_in_sec: Optional[int] = None, + group_id: Optional[str] = None, + log_locations: Optional[Sequence['outputs.DrPlanExecutionGroupExecutionStepExecutionLogLocation']] = None, + status: Optional[str] = None, + status_details: Optional[str] = None, + step_id: Optional[str] = None, + time_ended: Optional[str] = None, + time_started: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if execution_duration_in_sec is not None: - pulumi.set(__self__, "execution_duration_in_sec", execution_duration_in_sec) + _setter("execution_duration_in_sec", execution_duration_in_sec) if group_id is not None: - pulumi.set(__self__, "group_id", group_id) + _setter("group_id", group_id) if log_locations is not None: - pulumi.set(__self__, "log_locations", log_locations) + _setter("log_locations", log_locations) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if status_details is not None: - pulumi.set(__self__, "status_details", status_details) + _setter("status_details", status_details) if step_id is not None: - pulumi.set(__self__, "step_id", step_id) + _setter("step_id", step_id) if time_ended is not None: - pulumi.set(__self__, "time_ended", time_ended) + _setter("time_ended", time_ended) if time_started is not None: - pulumi.set(__self__, "time_started", time_started) + _setter("time_started", time_started) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter(name="displayName") @@ -437,12 +502,25 @@ def __init__(__self__, *, :param str namespace: The namespace in Object Storage (Note - this is usually the tenancy name). Example: `myocitenancy` :param str object: The object name inside the Object Storage bucket. Example: `switchover_plan_executions` """ + DrPlanExecutionGroupExecutionStepExecutionLogLocation._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + namespace=namespace, + object=object, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: Optional[str] = None, + namespace: Optional[str] = None, + object: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if bucket is not None: - pulumi.set(__self__, "bucket", bucket) + _setter("bucket", bucket) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if object is not None: - pulumi.set(__self__, "object", object) + _setter("object", object) @property @pulumi.getter @@ -480,12 +558,25 @@ def __init__(__self__, *, :param str namespace: The namespace in Object Storage (Note - this is usually the tenancy name). Example: `myocitenancy` :param str object: The object name inside the Object Storage bucket. Example: `switchover_plan_executions` """ + DrPlanExecutionLogLocation._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + namespace=namespace, + object=object, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: Optional[str] = None, + namespace: Optional[str] = None, + object: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if bucket is not None: - pulumi.set(__self__, "bucket", bucket) + _setter("bucket", bucket) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if object is not None: - pulumi.set(__self__, "object", object) + _setter("object", object) @property @pulumi.getter @@ -546,14 +637,29 @@ def __init__(__self__, *, ** 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 """ + DrPlanPlanGroup._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + id=id, + steps=steps, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: Optional[str] = None, + id: Optional[str] = None, + steps: Optional[Sequence['outputs.DrPlanPlanGroupStep']] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if steps is not None: - pulumi.set(__self__, "steps", steps) + _setter("steps", steps) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter(name="displayName") @@ -646,24 +752,49 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param Sequence['DrPlanPlanGroupStepUserDefinedStepArgs'] user_defined_steps: The details for a user-defined step in a DR Plan. """ + DrPlanPlanGroupStep._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + error_mode=error_mode, + group_id=group_id, + id=id, + is_enabled=is_enabled, + member_id=member_id, + timeout=timeout, + type=type, + user_defined_steps=user_defined_steps, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: Optional[str] = None, + error_mode: Optional[str] = None, + group_id: Optional[str] = None, + id: Optional[str] = None, + is_enabled: Optional[bool] = None, + member_id: Optional[str] = None, + timeout: Optional[int] = None, + type: Optional[str] = None, + user_defined_steps: Optional[Sequence['outputs.DrPlanPlanGroupStepUserDefinedStep']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if error_mode is not None: - pulumi.set(__self__, "error_mode", error_mode) + _setter("error_mode", error_mode) if group_id is not None: - pulumi.set(__self__, "group_id", group_id) + _setter("group_id", group_id) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) if member_id is not None: - pulumi.set(__self__, "member_id", member_id) + _setter("member_id", member_id) if timeout is not None: - pulumi.set(__self__, "timeout", timeout) + _setter("timeout", timeout) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if user_defined_steps is not None: - pulumi.set(__self__, "user_defined_steps", user_defined_steps) + _setter("user_defined_steps", user_defined_steps) @property @pulumi.getter(name="displayName") @@ -798,24 +929,49 @@ def __init__(__self__, *, :param str script_command: The script name and arguments. Example: `/usr/bin/python3 /home/opc/scripts/my_app_script.py arg1 arg2 arg3` :param str step_type: The type of the step. """ + DrPlanPlanGroupStepUserDefinedStep._configure( + lambda key, value: pulumi.set(__self__, key, value), + function_id=function_id, + function_region=function_region, + object_storage_script_locations=object_storage_script_locations, + request_body=request_body, + run_as_user=run_as_user, + run_on_instance_id=run_on_instance_id, + run_on_instance_region=run_on_instance_region, + script_command=script_command, + step_type=step_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + function_id: Optional[str] = None, + function_region: Optional[str] = None, + object_storage_script_locations: Optional[Sequence['outputs.DrPlanPlanGroupStepUserDefinedStepObjectStorageScriptLocation']] = None, + request_body: Optional[str] = None, + run_as_user: Optional[str] = None, + run_on_instance_id: Optional[str] = None, + run_on_instance_region: Optional[str] = None, + script_command: Optional[str] = None, + step_type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if function_id is not None: - pulumi.set(__self__, "function_id", function_id) + _setter("function_id", function_id) if function_region is not None: - pulumi.set(__self__, "function_region", function_region) + _setter("function_region", function_region) if object_storage_script_locations is not None: - pulumi.set(__self__, "object_storage_script_locations", object_storage_script_locations) + _setter("object_storage_script_locations", object_storage_script_locations) if request_body is not None: - pulumi.set(__self__, "request_body", request_body) + _setter("request_body", request_body) if run_as_user is not None: - pulumi.set(__self__, "run_as_user", run_as_user) + _setter("run_as_user", run_as_user) if run_on_instance_id is not None: - pulumi.set(__self__, "run_on_instance_id", run_on_instance_id) + _setter("run_on_instance_id", run_on_instance_id) if run_on_instance_region is not None: - pulumi.set(__self__, "run_on_instance_region", run_on_instance_region) + _setter("run_on_instance_region", run_on_instance_region) if script_command is not None: - pulumi.set(__self__, "script_command", script_command) + _setter("script_command", script_command) if step_type is not None: - pulumi.set(__self__, "step_type", step_type) + _setter("step_type", step_type) @property @pulumi.getter(name="functionId") @@ -901,12 +1057,25 @@ def __init__(__self__, *, :param str namespace: The namespace in Object Storage (Note - this is usually the tenancy name). Example: `myocitenancy` :param str object: The object name inside the Object Storage bucket. Example: `validate_app_start.sh` """ + DrPlanPlanGroupStepUserDefinedStepObjectStorageScriptLocation._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + namespace=namespace, + object=object, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: Optional[str] = None, + namespace: Optional[str] = None, + object: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if bucket is not None: - pulumi.set(__self__, "bucket", bucket) + _setter("bucket", bucket) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if object is not None: - pulumi.set(__self__, "object", object) + _setter("object", object) @property @pulumi.getter @@ -963,11 +1132,24 @@ def __init__(__self__, *, :param str peer_id: The OCID of the peer (remote) DR Protection Group. Example: `ocid1.drprotectiongroup.oc1.iad.<unique_id>` :param str peer_region: The region of the peer (remote) DR Protection Group. Example: `us-ashburn-1` """ - pulumi.set(__self__, "role", role) + DrProtectionGroupAssociation._configure( + lambda key, value: pulumi.set(__self__, key, value), + role=role, + peer_id=peer_id, + peer_region=peer_region, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + role: str, + peer_id: Optional[str] = None, + peer_region: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("role", role) if peer_id is not None: - pulumi.set(__self__, "peer_id", peer_id) + _setter("peer_id", peer_id) if peer_region is not None: - pulumi.set(__self__, "peer_region", peer_region) + _setter("peer_region", peer_region) @property @pulumi.getter @@ -1005,10 +1187,23 @@ def __init__(__self__, *, :param str namespace: (Updatable) The namespace in Object Storage (Note - this is usually the tenancy name). Example: `myocitenancy` :param str object: The object name inside the Object Storage bucket. Example: `switchover_plan_executions` """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "namespace", namespace) + DrProtectionGroupLogLocation._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + namespace=namespace, + object=object, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + namespace: str, + object: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("namespace", namespace) if object is not None: - pulumi.set(__self__, "object", object) + _setter("object", object) @property @pulumi.getter @@ -1095,24 +1290,51 @@ def __init__(__self__, *, :param Sequence['DrProtectionGroupMemberVnicMappingArgs'] vnic_mapping: (Updatable) A list of Compute Instance VNIC mappings. :param Sequence['DrProtectionGroupMemberVnicMappingArgs'] vnic_mappings: (Updatable) A list of Compute Instance VNIC mappings. """ - pulumi.set(__self__, "member_id", member_id) - pulumi.set(__self__, "member_type", member_type) + DrProtectionGroupMember._configure( + lambda key, value: pulumi.set(__self__, key, value), + member_id=member_id, + member_type=member_type, + destination_capacity_reservation_id=destination_capacity_reservation_id, + destination_compartment_id=destination_compartment_id, + destination_dedicated_vm_host_id=destination_dedicated_vm_host_id, + is_movable=is_movable, + is_retain_fault_domain=is_retain_fault_domain, + password_vault_secret_id=password_vault_secret_id, + vnic_mapping=vnic_mapping, + vnic_mappings=vnic_mappings, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + member_id: str, + member_type: str, + destination_capacity_reservation_id: Optional[str] = None, + destination_compartment_id: Optional[str] = None, + destination_dedicated_vm_host_id: Optional[str] = None, + is_movable: Optional[bool] = None, + is_retain_fault_domain: Optional[bool] = None, + password_vault_secret_id: Optional[str] = None, + vnic_mapping: Optional[Sequence['outputs.DrProtectionGroupMemberVnicMapping']] = None, + vnic_mappings: Optional[Sequence['outputs.DrProtectionGroupMemberVnicMapping']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("member_id", member_id) + _setter("member_type", member_type) if destination_capacity_reservation_id is not None: - pulumi.set(__self__, "destination_capacity_reservation_id", destination_capacity_reservation_id) + _setter("destination_capacity_reservation_id", destination_capacity_reservation_id) if destination_compartment_id is not None: - pulumi.set(__self__, "destination_compartment_id", destination_compartment_id) + _setter("destination_compartment_id", destination_compartment_id) if destination_dedicated_vm_host_id is not None: - pulumi.set(__self__, "destination_dedicated_vm_host_id", destination_dedicated_vm_host_id) + _setter("destination_dedicated_vm_host_id", destination_dedicated_vm_host_id) if is_movable is not None: - pulumi.set(__self__, "is_movable", is_movable) + _setter("is_movable", is_movable) if is_retain_fault_domain is not None: - pulumi.set(__self__, "is_retain_fault_domain", is_retain_fault_domain) + _setter("is_retain_fault_domain", is_retain_fault_domain) if password_vault_secret_id is not None: - pulumi.set(__self__, "password_vault_secret_id", password_vault_secret_id) + _setter("password_vault_secret_id", password_vault_secret_id) if vnic_mapping is not None: - pulumi.set(__self__, "vnic_mapping", vnic_mapping) + _setter("vnic_mapping", vnic_mapping) if vnic_mappings is not None: - pulumi.set(__self__, "vnic_mappings", vnic_mappings) + _setter("vnic_mappings", vnic_mappings) @property @pulumi.getter(name="memberId") @@ -1235,16 +1457,33 @@ def __init__(__self__, *, :param str destination_subnet_id: (Updatable) The OCID of the destination (remote) subnet to which this VNIC should connect. Example: `ocid1.subnet.oc1..<unique_id>` :param str source_vnic_id: (Updatable) The OCID of the VNIC. Example: `ocid1.vnic.oc1..<unique_id>` """ + DrProtectionGroupMemberVnicMapping._configure( + lambda key, value: pulumi.set(__self__, key, value), + destination_nsg_id_lists=destination_nsg_id_lists, + destination_primary_private_ip_address=destination_primary_private_ip_address, + destination_primary_private_ip_hostname_label=destination_primary_private_ip_hostname_label, + destination_subnet_id=destination_subnet_id, + source_vnic_id=source_vnic_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + destination_nsg_id_lists: Optional[Sequence[str]] = None, + destination_primary_private_ip_address: Optional[str] = None, + destination_primary_private_ip_hostname_label: Optional[str] = None, + destination_subnet_id: Optional[str] = None, + source_vnic_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if destination_nsg_id_lists is not None: - pulumi.set(__self__, "destination_nsg_id_lists", destination_nsg_id_lists) + _setter("destination_nsg_id_lists", destination_nsg_id_lists) if destination_primary_private_ip_address is not None: - pulumi.set(__self__, "destination_primary_private_ip_address", destination_primary_private_ip_address) + _setter("destination_primary_private_ip_address", destination_primary_private_ip_address) if destination_primary_private_ip_hostname_label is not None: - pulumi.set(__self__, "destination_primary_private_ip_hostname_label", destination_primary_private_ip_hostname_label) + _setter("destination_primary_private_ip_hostname_label", destination_primary_private_ip_hostname_label) if destination_subnet_id is not None: - pulumi.set(__self__, "destination_subnet_id", destination_subnet_id) + _setter("destination_subnet_id", destination_subnet_id) if source_vnic_id is not None: - pulumi.set(__self__, "source_vnic_id", source_vnic_id) + _setter("source_vnic_id", source_vnic_id) @property @pulumi.getter(name="destinationNsgIdLists") @@ -1298,9 +1537,22 @@ def __init__(__self__, *, :param bool are_warnings_ignored: A flag indicating whether warnings should be ignored during the plan execution. Example: `false` :param str plan_execution_type: The type of the DR Plan executed. """ - pulumi.set(__self__, "are_prechecks_enabled", are_prechecks_enabled) - pulumi.set(__self__, "are_warnings_ignored", are_warnings_ignored) - pulumi.set(__self__, "plan_execution_type", plan_execution_type) + GetDrPlanExecutionExecutionOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + are_prechecks_enabled=are_prechecks_enabled, + are_warnings_ignored=are_warnings_ignored, + plan_execution_type=plan_execution_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + are_prechecks_enabled: bool, + are_warnings_ignored: bool, + plan_execution_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("are_prechecks_enabled", are_prechecks_enabled) + _setter("are_warnings_ignored", are_warnings_ignored) + _setter("plan_execution_type", plan_execution_type) @property @pulumi.getter(name="arePrechecksEnabled") @@ -1350,15 +1602,40 @@ def __init__(__self__, *, :param str time_started: The date and time at which DR Plan Execution began. An RFC3339 formatted datetime string. Example: `2019-03-29T09:36:42Z` :param str type: The plan group type. """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "execution_duration_in_sec", execution_duration_in_sec) - pulumi.set(__self__, "group_id", group_id) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "status_details", status_details) - pulumi.set(__self__, "step_executions", step_executions) - pulumi.set(__self__, "time_ended", time_ended) - pulumi.set(__self__, "time_started", time_started) - pulumi.set(__self__, "type", type) + GetDrPlanExecutionGroupExecutionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + execution_duration_in_sec=execution_duration_in_sec, + group_id=group_id, + status=status, + status_details=status_details, + step_executions=step_executions, + time_ended=time_ended, + time_started=time_started, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + execution_duration_in_sec: int, + group_id: str, + status: str, + status_details: str, + step_executions: Sequence['outputs.GetDrPlanExecutionGroupExecutionStepExecutionResult'], + time_ended: str, + time_started: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("execution_duration_in_sec", execution_duration_in_sec) + _setter("group_id", group_id) + _setter("status", status) + _setter("status_details", status_details) + _setter("step_executions", step_executions) + _setter("time_ended", time_ended) + _setter("time_started", time_started) + _setter("type", type) @property @pulumi.getter(name="displayName") @@ -1458,16 +1735,43 @@ def __init__(__self__, *, :param str time_started: The date and time at which DR Plan Execution began. An RFC3339 formatted datetime string. Example: `2019-03-29T09:36:42Z` :param str type: The plan group type. """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "execution_duration_in_sec", execution_duration_in_sec) - pulumi.set(__self__, "group_id", group_id) - pulumi.set(__self__, "log_locations", log_locations) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "status_details", status_details) - pulumi.set(__self__, "step_id", step_id) - pulumi.set(__self__, "time_ended", time_ended) - pulumi.set(__self__, "time_started", time_started) - pulumi.set(__self__, "type", type) + GetDrPlanExecutionGroupExecutionStepExecutionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + execution_duration_in_sec=execution_duration_in_sec, + group_id=group_id, + log_locations=log_locations, + status=status, + status_details=status_details, + step_id=step_id, + time_ended=time_ended, + time_started=time_started, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + execution_duration_in_sec: int, + group_id: str, + log_locations: Sequence['outputs.GetDrPlanExecutionGroupExecutionStepExecutionLogLocationResult'], + status: str, + status_details: str, + step_id: str, + time_ended: str, + time_started: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("execution_duration_in_sec", execution_duration_in_sec) + _setter("group_id", group_id) + _setter("log_locations", log_locations) + _setter("status", status) + _setter("status_details", status_details) + _setter("step_id", step_id) + _setter("time_ended", time_ended) + _setter("time_started", time_started) + _setter("type", type) @property @pulumi.getter(name="displayName") @@ -1561,9 +1865,22 @@ def __init__(__self__, *, :param str namespace: The namespace in Object Storage (Note - this is usually the tenancy name). Example: `myocitenancy` :param str object: The object name inside the Object Storage bucket. Example: `switchover_plan_executions` """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "object", object) + GetDrPlanExecutionGroupExecutionStepExecutionLogLocationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + namespace=namespace, + object=object, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + namespace: str, + object: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("namespace", namespace) + _setter("object", object) @property @pulumi.getter @@ -1601,9 +1918,22 @@ def __init__(__self__, *, :param str namespace: The namespace in Object Storage (Note - this is usually the tenancy name). Example: `myocitenancy` :param str object: The object name inside the Object Storage bucket. Example: `switchover_plan_executions` """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "object", object) + GetDrPlanExecutionLogLocationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + namespace=namespace, + object=object, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + namespace: str, + object: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("namespace", namespace) + _setter("object", object) @property @pulumi.getter @@ -1634,7 +1964,16 @@ def object(self) -> str: class GetDrPlanExecutionsDrPlanExecutionCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetDrPlanExecutionsDrPlanExecutionCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetDrPlanExecutionsDrPlanExecutionCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDrPlanExecutionsDrPlanExecutionCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1689,27 +2028,76 @@ def __init__(__self__, *, :param str time_started: The date and time at which DR Plan Execution began. An RFC3339 formatted datetime string. Example: `2019-03-29T09:36:42Z` :param str time_updated: The time at which DR Plan Execution was last updated. An RFC3339 formatted datetime string. Example: `2019-03-29T09:36:42Z` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "dr_protection_group_id", dr_protection_group_id) - pulumi.set(__self__, "execution_duration_in_sec", execution_duration_in_sec) - pulumi.set(__self__, "execution_options", execution_options) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "group_executions", group_executions) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "life_cycle_details", life_cycle_details) - pulumi.set(__self__, "log_locations", log_locations) - pulumi.set(__self__, "peer_dr_protection_group_id", peer_dr_protection_group_id) - pulumi.set(__self__, "peer_region", peer_region) - pulumi.set(__self__, "plan_execution_type", plan_execution_type) - pulumi.set(__self__, "plan_id", plan_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_ended", time_ended) - pulumi.set(__self__, "time_started", time_started) - pulumi.set(__self__, "time_updated", time_updated) + GetDrPlanExecutionsDrPlanExecutionCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + dr_protection_group_id=dr_protection_group_id, + execution_duration_in_sec=execution_duration_in_sec, + execution_options=execution_options, + freeform_tags=freeform_tags, + group_executions=group_executions, + id=id, + life_cycle_details=life_cycle_details, + log_locations=log_locations, + peer_dr_protection_group_id=peer_dr_protection_group_id, + peer_region=peer_region, + plan_execution_type=plan_execution_type, + plan_id=plan_id, + state=state, + system_tags=system_tags, + time_created=time_created, + time_ended=time_ended, + time_started=time_started, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + dr_protection_group_id: str, + execution_duration_in_sec: int, + execution_options: Sequence['outputs.GetDrPlanExecutionsDrPlanExecutionCollectionItemExecutionOptionResult'], + freeform_tags: Mapping[str, Any], + group_executions: Sequence['outputs.GetDrPlanExecutionsDrPlanExecutionCollectionItemGroupExecutionResult'], + id: str, + life_cycle_details: str, + log_locations: Sequence['outputs.GetDrPlanExecutionsDrPlanExecutionCollectionItemLogLocationResult'], + peer_dr_protection_group_id: str, + peer_region: str, + plan_execution_type: str, + plan_id: str, + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_ended: str, + time_started: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("dr_protection_group_id", dr_protection_group_id) + _setter("execution_duration_in_sec", execution_duration_in_sec) + _setter("execution_options", execution_options) + _setter("freeform_tags", freeform_tags) + _setter("group_executions", group_executions) + _setter("id", id) + _setter("life_cycle_details", life_cycle_details) + _setter("log_locations", log_locations) + _setter("peer_dr_protection_group_id", peer_dr_protection_group_id) + _setter("peer_region", peer_region) + _setter("plan_execution_type", plan_execution_type) + _setter("plan_id", plan_id) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_ended", time_ended) + _setter("time_started", time_started) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -1891,9 +2279,22 @@ def __init__(__self__, *, :param bool are_warnings_ignored: A flag indicating whether warnings should be ignored during the plan execution. Example: `false` :param str plan_execution_type: The type of the DR Plan executed. """ - pulumi.set(__self__, "are_prechecks_enabled", are_prechecks_enabled) - pulumi.set(__self__, "are_warnings_ignored", are_warnings_ignored) - pulumi.set(__self__, "plan_execution_type", plan_execution_type) + GetDrPlanExecutionsDrPlanExecutionCollectionItemExecutionOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + are_prechecks_enabled=are_prechecks_enabled, + are_warnings_ignored=are_warnings_ignored, + plan_execution_type=plan_execution_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + are_prechecks_enabled: bool, + are_warnings_ignored: bool, + plan_execution_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("are_prechecks_enabled", are_prechecks_enabled) + _setter("are_warnings_ignored", are_warnings_ignored) + _setter("plan_execution_type", plan_execution_type) @property @pulumi.getter(name="arePrechecksEnabled") @@ -1943,15 +2344,40 @@ def __init__(__self__, *, :param str time_started: The date and time at which DR Plan Execution began. An RFC3339 formatted datetime string. Example: `2019-03-29T09:36:42Z` :param str type: The plan group type. """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "execution_duration_in_sec", execution_duration_in_sec) - pulumi.set(__self__, "group_id", group_id) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "status_details", status_details) - pulumi.set(__self__, "step_executions", step_executions) - pulumi.set(__self__, "time_ended", time_ended) - pulumi.set(__self__, "time_started", time_started) - pulumi.set(__self__, "type", type) + GetDrPlanExecutionsDrPlanExecutionCollectionItemGroupExecutionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + execution_duration_in_sec=execution_duration_in_sec, + group_id=group_id, + status=status, + status_details=status_details, + step_executions=step_executions, + time_ended=time_ended, + time_started=time_started, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + execution_duration_in_sec: int, + group_id: str, + status: str, + status_details: str, + step_executions: Sequence['outputs.GetDrPlanExecutionsDrPlanExecutionCollectionItemGroupExecutionStepExecutionResult'], + time_ended: str, + time_started: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("execution_duration_in_sec", execution_duration_in_sec) + _setter("group_id", group_id) + _setter("status", status) + _setter("status_details", status_details) + _setter("step_executions", step_executions) + _setter("time_ended", time_ended) + _setter("time_started", time_started) + _setter("type", type) @property @pulumi.getter(name="displayName") @@ -2051,16 +2477,43 @@ def __init__(__self__, *, :param str time_started: The date and time at which DR Plan Execution began. An RFC3339 formatted datetime string. Example: `2019-03-29T09:36:42Z` :param str type: The plan group type. """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "execution_duration_in_sec", execution_duration_in_sec) - pulumi.set(__self__, "group_id", group_id) - pulumi.set(__self__, "log_locations", log_locations) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "status_details", status_details) - pulumi.set(__self__, "step_id", step_id) - pulumi.set(__self__, "time_ended", time_ended) - pulumi.set(__self__, "time_started", time_started) - pulumi.set(__self__, "type", type) + GetDrPlanExecutionsDrPlanExecutionCollectionItemGroupExecutionStepExecutionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + execution_duration_in_sec=execution_duration_in_sec, + group_id=group_id, + log_locations=log_locations, + status=status, + status_details=status_details, + step_id=step_id, + time_ended=time_ended, + time_started=time_started, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + execution_duration_in_sec: int, + group_id: str, + log_locations: Sequence['outputs.GetDrPlanExecutionsDrPlanExecutionCollectionItemGroupExecutionStepExecutionLogLocationResult'], + status: str, + status_details: str, + step_id: str, + time_ended: str, + time_started: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("execution_duration_in_sec", execution_duration_in_sec) + _setter("group_id", group_id) + _setter("log_locations", log_locations) + _setter("status", status) + _setter("status_details", status_details) + _setter("step_id", step_id) + _setter("time_ended", time_ended) + _setter("time_started", time_started) + _setter("type", type) @property @pulumi.getter(name="displayName") @@ -2154,9 +2607,22 @@ def __init__(__self__, *, :param str namespace: The namespace in Object Storage (Note - this is usually the tenancy name). Example: `myocitenancy` :param str object: The object name inside the Object Storage bucket. Example: `switchover_plan_executions` """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "object", object) + GetDrPlanExecutionsDrPlanExecutionCollectionItemGroupExecutionStepExecutionLogLocationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + namespace=namespace, + object=object, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + namespace: str, + object: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("namespace", namespace) + _setter("object", object) @property @pulumi.getter @@ -2194,9 +2660,22 @@ def __init__(__self__, *, :param str namespace: The namespace in Object Storage (Note - this is usually the tenancy name). Example: `myocitenancy` :param str object: The object name inside the Object Storage bucket. Example: `switchover_plan_executions` """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "object", object) + GetDrPlanExecutionsDrPlanExecutionCollectionItemLogLocationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + namespace=namespace, + object=object, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + namespace: str, + object: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("namespace", namespace) + _setter("object", object) @property @pulumi.getter @@ -2229,10 +2708,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDrPlanExecutionsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2263,10 +2755,25 @@ def __init__(__self__, *, :param Sequence['GetDrPlanPlanGroupStepArgs'] steps: The list of steps in this plan group. :param str type: The type of this DR Plan. """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "steps", steps) - pulumi.set(__self__, "type", type) + GetDrPlanPlanGroupResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + id=id, + steps=steps, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + id: str, + steps: Sequence['outputs.GetDrPlanPlanGroupStepResult'], + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("id", id) + _setter("steps", steps) + _setter("type", type) @property @pulumi.getter(name="displayName") @@ -2324,15 +2831,40 @@ def __init__(__self__, *, :param str type: The type of this DR Plan. :param Sequence['GetDrPlanPlanGroupStepUserDefinedStepArgs'] user_defined_steps: The details for a user-defined step in a DR Plan. """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "error_mode", error_mode) - pulumi.set(__self__, "group_id", group_id) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "member_id", member_id) - pulumi.set(__self__, "timeout", timeout) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "user_defined_steps", user_defined_steps) + GetDrPlanPlanGroupStepResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + error_mode=error_mode, + group_id=group_id, + id=id, + is_enabled=is_enabled, + member_id=member_id, + timeout=timeout, + type=type, + user_defined_steps=user_defined_steps, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + error_mode: str, + group_id: str, + id: str, + is_enabled: bool, + member_id: str, + timeout: int, + type: str, + user_defined_steps: Sequence['outputs.GetDrPlanPlanGroupStepUserDefinedStepResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("error_mode", error_mode) + _setter("group_id", group_id) + _setter("id", id) + _setter("is_enabled", is_enabled) + _setter("member_id", member_id) + _setter("timeout", timeout) + _setter("type", type) + _setter("user_defined_steps", user_defined_steps) @property @pulumi.getter(name="displayName") @@ -2430,15 +2962,40 @@ def __init__(__self__, *, :param str script_command: The script name and arguments. Example: `/usr/bin/python3 /home/opc/scripts/my_app_script.py arg1 arg2 arg3` :param str step_type: The type of the step. """ - pulumi.set(__self__, "function_id", function_id) - pulumi.set(__self__, "function_region", function_region) - pulumi.set(__self__, "object_storage_script_locations", object_storage_script_locations) - pulumi.set(__self__, "request_body", request_body) - pulumi.set(__self__, "run_as_user", run_as_user) - pulumi.set(__self__, "run_on_instance_id", run_on_instance_id) - pulumi.set(__self__, "run_on_instance_region", run_on_instance_region) - pulumi.set(__self__, "script_command", script_command) - pulumi.set(__self__, "step_type", step_type) + GetDrPlanPlanGroupStepUserDefinedStepResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + function_id=function_id, + function_region=function_region, + object_storage_script_locations=object_storage_script_locations, + request_body=request_body, + run_as_user=run_as_user, + run_on_instance_id=run_on_instance_id, + run_on_instance_region=run_on_instance_region, + script_command=script_command, + step_type=step_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + function_id: str, + function_region: str, + object_storage_script_locations: Sequence['outputs.GetDrPlanPlanGroupStepUserDefinedStepObjectStorageScriptLocationResult'], + request_body: str, + run_as_user: str, + run_on_instance_id: str, + run_on_instance_region: str, + script_command: str, + step_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("function_id", function_id) + _setter("function_region", function_region) + _setter("object_storage_script_locations", object_storage_script_locations) + _setter("request_body", request_body) + _setter("run_as_user", run_as_user) + _setter("run_on_instance_id", run_on_instance_id) + _setter("run_on_instance_region", run_on_instance_region) + _setter("script_command", script_command) + _setter("step_type", step_type) @property @pulumi.getter(name="functionId") @@ -2524,9 +3081,22 @@ def __init__(__self__, *, :param str namespace: The namespace in Object Storage (Note - this is usually the tenancy name). Example: `myocitenancy` :param str object: The object name inside the Object Storage bucket. Example: `validate_app_start.sh` """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "object", object) + GetDrPlanPlanGroupStepUserDefinedStepObjectStorageScriptLocationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + namespace=namespace, + object=object, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + namespace: str, + object: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("namespace", namespace) + _setter("object", object) @property @pulumi.getter @@ -2557,7 +3127,16 @@ def object(self) -> str: class GetDrPlansDrPlanCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetDrPlansDrPlanCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetDrPlansDrPlanCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDrPlansDrPlanCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -2600,21 +3179,58 @@ def __init__(__self__, *, :param str time_updated: The date and time the DR Plan was updated. An RFC3339 formatted datetime string. Example: `2019-03-29T09:36:42Z` :param str type: The type of this DR Plan. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "dr_protection_group_id", dr_protection_group_id) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "life_cycle_details", life_cycle_details) - pulumi.set(__self__, "peer_dr_protection_group_id", peer_dr_protection_group_id) - pulumi.set(__self__, "peer_region", peer_region) - pulumi.set(__self__, "plan_groups", plan_groups) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "type", type) + GetDrPlansDrPlanCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + dr_protection_group_id=dr_protection_group_id, + freeform_tags=freeform_tags, + id=id, + life_cycle_details=life_cycle_details, + peer_dr_protection_group_id=peer_dr_protection_group_id, + peer_region=peer_region, + plan_groups=plan_groups, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + dr_protection_group_id: str, + freeform_tags: Mapping[str, Any], + id: str, + life_cycle_details: str, + peer_dr_protection_group_id: str, + peer_region: str, + plan_groups: Sequence['outputs.GetDrPlansDrPlanCollectionItemPlanGroupResult'], + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("dr_protection_group_id", dr_protection_group_id) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("life_cycle_details", life_cycle_details) + _setter("peer_dr_protection_group_id", peer_dr_protection_group_id) + _setter("peer_region", peer_region) + _setter("plan_groups", plan_groups) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("type", type) @property @pulumi.getter(name="compartmentId") @@ -2750,10 +3366,25 @@ def __init__(__self__, *, :param Sequence['GetDrPlansDrPlanCollectionItemPlanGroupStepArgs'] steps: The list of steps in this plan group. :param str type: The type of this DR Plan. """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "steps", steps) - pulumi.set(__self__, "type", type) + GetDrPlansDrPlanCollectionItemPlanGroupResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + id=id, + steps=steps, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + id: str, + steps: Sequence['outputs.GetDrPlansDrPlanCollectionItemPlanGroupStepResult'], + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("id", id) + _setter("steps", steps) + _setter("type", type) @property @pulumi.getter(name="displayName") @@ -2811,15 +3442,40 @@ def __init__(__self__, *, :param str type: The type of this DR Plan. :param Sequence['GetDrPlansDrPlanCollectionItemPlanGroupStepUserDefinedStepArgs'] user_defined_steps: The details for a user-defined step in a DR Plan. """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "error_mode", error_mode) - pulumi.set(__self__, "group_id", group_id) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "member_id", member_id) - pulumi.set(__self__, "timeout", timeout) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "user_defined_steps", user_defined_steps) + GetDrPlansDrPlanCollectionItemPlanGroupStepResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + error_mode=error_mode, + group_id=group_id, + id=id, + is_enabled=is_enabled, + member_id=member_id, + timeout=timeout, + type=type, + user_defined_steps=user_defined_steps, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + error_mode: str, + group_id: str, + id: str, + is_enabled: bool, + member_id: str, + timeout: int, + type: str, + user_defined_steps: Sequence['outputs.GetDrPlansDrPlanCollectionItemPlanGroupStepUserDefinedStepResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("error_mode", error_mode) + _setter("group_id", group_id) + _setter("id", id) + _setter("is_enabled", is_enabled) + _setter("member_id", member_id) + _setter("timeout", timeout) + _setter("type", type) + _setter("user_defined_steps", user_defined_steps) @property @pulumi.getter(name="displayName") @@ -2917,15 +3573,40 @@ def __init__(__self__, *, :param str script_command: The script name and arguments. Example: `/usr/bin/python3 /home/opc/scripts/my_app_script.py arg1 arg2 arg3` :param str step_type: The type of the step. """ - pulumi.set(__self__, "function_id", function_id) - pulumi.set(__self__, "function_region", function_region) - pulumi.set(__self__, "object_storage_script_locations", object_storage_script_locations) - pulumi.set(__self__, "request_body", request_body) - pulumi.set(__self__, "run_as_user", run_as_user) - pulumi.set(__self__, "run_on_instance_id", run_on_instance_id) - pulumi.set(__self__, "run_on_instance_region", run_on_instance_region) - pulumi.set(__self__, "script_command", script_command) - pulumi.set(__self__, "step_type", step_type) + GetDrPlansDrPlanCollectionItemPlanGroupStepUserDefinedStepResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + function_id=function_id, + function_region=function_region, + object_storage_script_locations=object_storage_script_locations, + request_body=request_body, + run_as_user=run_as_user, + run_on_instance_id=run_on_instance_id, + run_on_instance_region=run_on_instance_region, + script_command=script_command, + step_type=step_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + function_id: str, + function_region: str, + object_storage_script_locations: Sequence['outputs.GetDrPlansDrPlanCollectionItemPlanGroupStepUserDefinedStepObjectStorageScriptLocationResult'], + request_body: str, + run_as_user: str, + run_on_instance_id: str, + run_on_instance_region: str, + script_command: str, + step_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("function_id", function_id) + _setter("function_region", function_region) + _setter("object_storage_script_locations", object_storage_script_locations) + _setter("request_body", request_body) + _setter("run_as_user", run_as_user) + _setter("run_on_instance_id", run_on_instance_id) + _setter("run_on_instance_region", run_on_instance_region) + _setter("script_command", script_command) + _setter("step_type", step_type) @property @pulumi.getter(name="functionId") @@ -3011,9 +3692,22 @@ def __init__(__self__, *, :param str namespace: The namespace in Object Storage (Note - this is usually the tenancy name). Example: `myocitenancy` :param str object: The object name inside the Object Storage bucket. Example: `validate_app_start.sh` """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "object", object) + GetDrPlansDrPlanCollectionItemPlanGroupStepUserDefinedStepObjectStorageScriptLocationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + namespace=namespace, + object=object, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + namespace: str, + object: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("namespace", namespace) + _setter("object", object) @property @pulumi.getter @@ -3046,10 +3740,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDrPlansFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3078,9 +3785,22 @@ def __init__(__self__, *, :param str peer_region: The region of the peer (remote) DR Protection Group. Example: `us-ashburn-1` :param str role: The role of the DR Protection Group. """ - pulumi.set(__self__, "peer_id", peer_id) - pulumi.set(__self__, "peer_region", peer_region) - pulumi.set(__self__, "role", role) + GetDrProtectionGroupAssociationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + peer_id=peer_id, + peer_region=peer_region, + role=role, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + peer_id: str, + peer_region: str, + role: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("peer_id", peer_id) + _setter("peer_region", peer_region) + _setter("role", role) @property @pulumi.getter(name="peerId") @@ -3118,9 +3838,22 @@ def __init__(__self__, *, :param str namespace: The namespace in Object Storage (Note - this is usually the tenancy name). Example: `myocitenancy` :param str object: The object name inside the Object Storage bucket. Example: `switchover_plan_executions` """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "object", object) + GetDrProtectionGroupLogLocationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + namespace=namespace, + object=object, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + namespace: str, + object: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("namespace", namespace) + _setter("object", object) @property @pulumi.getter @@ -3172,16 +3905,43 @@ def __init__(__self__, *, :param Sequence['GetDrProtectionGroupMemberVnicMappingArgs'] vnic_mapping: A list of compute instance VNIC mappings. :param Sequence['GetDrProtectionGroupMemberVnicMappingArgs'] vnic_mappings: A list of compute instance VNIC mappings. """ - pulumi.set(__self__, "destination_capacity_reservation_id", destination_capacity_reservation_id) - pulumi.set(__self__, "destination_compartment_id", destination_compartment_id) - pulumi.set(__self__, "destination_dedicated_vm_host_id", destination_dedicated_vm_host_id) - pulumi.set(__self__, "is_movable", is_movable) - pulumi.set(__self__, "is_retain_fault_domain", is_retain_fault_domain) - pulumi.set(__self__, "member_id", member_id) - pulumi.set(__self__, "member_type", member_type) - pulumi.set(__self__, "password_vault_secret_id", password_vault_secret_id) - pulumi.set(__self__, "vnic_mapping", vnic_mapping) - pulumi.set(__self__, "vnic_mappings", vnic_mappings) + GetDrProtectionGroupMemberResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + destination_capacity_reservation_id=destination_capacity_reservation_id, + destination_compartment_id=destination_compartment_id, + destination_dedicated_vm_host_id=destination_dedicated_vm_host_id, + is_movable=is_movable, + is_retain_fault_domain=is_retain_fault_domain, + member_id=member_id, + member_type=member_type, + password_vault_secret_id=password_vault_secret_id, + vnic_mapping=vnic_mapping, + vnic_mappings=vnic_mappings, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + destination_capacity_reservation_id: str, + destination_compartment_id: str, + destination_dedicated_vm_host_id: str, + is_movable: bool, + is_retain_fault_domain: bool, + member_id: str, + member_type: str, + password_vault_secret_id: str, + vnic_mapping: Sequence['outputs.GetDrProtectionGroupMemberVnicMappingResult'], + vnic_mappings: Sequence['outputs.GetDrProtectionGroupMemberVnicMappingResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("destination_capacity_reservation_id", destination_capacity_reservation_id) + _setter("destination_compartment_id", destination_compartment_id) + _setter("destination_dedicated_vm_host_id", destination_dedicated_vm_host_id) + _setter("is_movable", is_movable) + _setter("is_retain_fault_domain", is_retain_fault_domain) + _setter("member_id", member_id) + _setter("member_type", member_type) + _setter("password_vault_secret_id", password_vault_secret_id) + _setter("vnic_mapping", vnic_mapping) + _setter("vnic_mappings", vnic_mappings) @property @pulumi.getter(name="destinationCapacityReservationId") @@ -3279,11 +4039,28 @@ def __init__(__self__, *, :param str destination_subnet_id: The OCID of the destination (remote) subnet to which this VNIC should connect. Example: `ocid1.subnet.oc1..<unique_id>` :param str source_vnic_id: The OCID of the VNIC. Example: `ocid1.vnic.oc1..<unique_id>` """ - pulumi.set(__self__, "destination_nsg_id_lists", destination_nsg_id_lists) - pulumi.set(__self__, "destination_primary_private_ip_address", destination_primary_private_ip_address) - pulumi.set(__self__, "destination_primary_private_ip_hostname_label", destination_primary_private_ip_hostname_label) - pulumi.set(__self__, "destination_subnet_id", destination_subnet_id) - pulumi.set(__self__, "source_vnic_id", source_vnic_id) + GetDrProtectionGroupMemberVnicMappingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + destination_nsg_id_lists=destination_nsg_id_lists, + destination_primary_private_ip_address=destination_primary_private_ip_address, + destination_primary_private_ip_hostname_label=destination_primary_private_ip_hostname_label, + destination_subnet_id=destination_subnet_id, + source_vnic_id=source_vnic_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + destination_nsg_id_lists: Sequence[str], + destination_primary_private_ip_address: str, + destination_primary_private_ip_hostname_label: str, + destination_subnet_id: str, + source_vnic_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("destination_nsg_id_lists", destination_nsg_id_lists) + _setter("destination_primary_private_ip_address", destination_primary_private_ip_address) + _setter("destination_primary_private_ip_hostname_label", destination_primary_private_ip_hostname_label) + _setter("destination_subnet_id", destination_subnet_id) + _setter("source_vnic_id", source_vnic_id) @property @pulumi.getter(name="destinationNsgIdLists") @@ -3330,7 +4107,16 @@ def source_vnic_id(self) -> str: class GetDrProtectionGroupsDrProtectionGroupCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetDrProtectionGroupsDrProtectionGroupCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetDrProtectionGroupsDrProtectionGroupCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDrProtectionGroupsDrProtectionGroupCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -3375,23 +4161,64 @@ def __init__(__self__, *, :param str time_created: The date and time the DR Protection Group was created. An RFC3339 formatted datetime string. Example: `2019-03-29T09:36:42Z` :param str time_updated: The date and time the DR Protection Group was updated. An RFC3339 formatted datetime string. Example: `2019-03-29T09:36:42Z` """ - pulumi.set(__self__, "associations", associations) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "disassociate_trigger", disassociate_trigger) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "life_cycle_details", life_cycle_details) - pulumi.set(__self__, "log_locations", log_locations) - pulumi.set(__self__, "members", members) - pulumi.set(__self__, "peer_id", peer_id) - pulumi.set(__self__, "peer_region", peer_region) - pulumi.set(__self__, "role", role) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetDrProtectionGroupsDrProtectionGroupCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + associations=associations, + compartment_id=compartment_id, + defined_tags=defined_tags, + disassociate_trigger=disassociate_trigger, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + life_cycle_details=life_cycle_details, + log_locations=log_locations, + members=members, + peer_id=peer_id, + peer_region=peer_region, + role=role, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + associations: Sequence['outputs.GetDrProtectionGroupsDrProtectionGroupCollectionItemAssociationResult'], + compartment_id: str, + defined_tags: Mapping[str, Any], + disassociate_trigger: int, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + life_cycle_details: str, + log_locations: Sequence['outputs.GetDrProtectionGroupsDrProtectionGroupCollectionItemLogLocationResult'], + members: Sequence['outputs.GetDrProtectionGroupsDrProtectionGroupCollectionItemMemberResult'], + peer_id: str, + peer_region: str, + role: str, + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("associations", associations) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("disassociate_trigger", disassociate_trigger) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("life_cycle_details", life_cycle_details) + _setter("log_locations", log_locations) + _setter("members", members) + _setter("peer_id", peer_id) + _setter("peer_region", peer_region) + _setter("role", role) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter @@ -3535,9 +4362,22 @@ def __init__(__self__, *, :param str peer_region: The region of the peer (remote) DR Protection Group. Example: `us-ashburn-1` :param str role: The DR Protection Group Role. """ - pulumi.set(__self__, "peer_id", peer_id) - pulumi.set(__self__, "peer_region", peer_region) - pulumi.set(__self__, "role", role) + GetDrProtectionGroupsDrProtectionGroupCollectionItemAssociationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + peer_id=peer_id, + peer_region=peer_region, + role=role, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + peer_id: str, + peer_region: str, + role: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("peer_id", peer_id) + _setter("peer_region", peer_region) + _setter("role", role) @property @pulumi.getter(name="peerId") @@ -3575,9 +4415,22 @@ def __init__(__self__, *, :param str namespace: The namespace in Object Storage (Note - this is usually the tenancy name). Example: `myocitenancy` :param str object: The object name inside the Object Storage bucket. Example: `switchover_plan_executions` """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "object", object) + GetDrProtectionGroupsDrProtectionGroupCollectionItemLogLocationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + namespace=namespace, + object=object, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + namespace: str, + object: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("namespace", namespace) + _setter("object", object) @property @pulumi.getter @@ -3629,16 +4482,43 @@ def __init__(__self__, *, :param Sequence['GetDrProtectionGroupsDrProtectionGroupCollectionItemMemberVnicMappingArgs'] vnic_mapping: A list of compute instance VNIC mappings. :param Sequence['GetDrProtectionGroupsDrProtectionGroupCollectionItemMemberVnicMappingArgs'] vnic_mappings: A list of compute instance VNIC mappings. """ - pulumi.set(__self__, "destination_capacity_reservation_id", destination_capacity_reservation_id) - pulumi.set(__self__, "destination_compartment_id", destination_compartment_id) - pulumi.set(__self__, "destination_dedicated_vm_host_id", destination_dedicated_vm_host_id) - pulumi.set(__self__, "is_movable", is_movable) - pulumi.set(__self__, "is_retain_fault_domain", is_retain_fault_domain) - pulumi.set(__self__, "member_id", member_id) - pulumi.set(__self__, "member_type", member_type) - pulumi.set(__self__, "password_vault_secret_id", password_vault_secret_id) - pulumi.set(__self__, "vnic_mapping", vnic_mapping) - pulumi.set(__self__, "vnic_mappings", vnic_mappings) + GetDrProtectionGroupsDrProtectionGroupCollectionItemMemberResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + destination_capacity_reservation_id=destination_capacity_reservation_id, + destination_compartment_id=destination_compartment_id, + destination_dedicated_vm_host_id=destination_dedicated_vm_host_id, + is_movable=is_movable, + is_retain_fault_domain=is_retain_fault_domain, + member_id=member_id, + member_type=member_type, + password_vault_secret_id=password_vault_secret_id, + vnic_mapping=vnic_mapping, + vnic_mappings=vnic_mappings, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + destination_capacity_reservation_id: str, + destination_compartment_id: str, + destination_dedicated_vm_host_id: str, + is_movable: bool, + is_retain_fault_domain: bool, + member_id: str, + member_type: str, + password_vault_secret_id: str, + vnic_mapping: Sequence['outputs.GetDrProtectionGroupsDrProtectionGroupCollectionItemMemberVnicMappingResult'], + vnic_mappings: Sequence['outputs.GetDrProtectionGroupsDrProtectionGroupCollectionItemMemberVnicMappingResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("destination_capacity_reservation_id", destination_capacity_reservation_id) + _setter("destination_compartment_id", destination_compartment_id) + _setter("destination_dedicated_vm_host_id", destination_dedicated_vm_host_id) + _setter("is_movable", is_movable) + _setter("is_retain_fault_domain", is_retain_fault_domain) + _setter("member_id", member_id) + _setter("member_type", member_type) + _setter("password_vault_secret_id", password_vault_secret_id) + _setter("vnic_mapping", vnic_mapping) + _setter("vnic_mappings", vnic_mappings) @property @pulumi.getter(name="destinationCapacityReservationId") @@ -3736,11 +4616,28 @@ def __init__(__self__, *, :param str destination_subnet_id: The OCID of the destination (remote) subnet to which this VNIC should connect. Example: `ocid1.subnet.oc1..<unique_id>` :param str source_vnic_id: The OCID of the VNIC. Example: `ocid1.vnic.oc1..<unique_id>` """ - pulumi.set(__self__, "destination_nsg_id_lists", destination_nsg_id_lists) - pulumi.set(__self__, "destination_primary_private_ip_address", destination_primary_private_ip_address) - pulumi.set(__self__, "destination_primary_private_ip_hostname_label", destination_primary_private_ip_hostname_label) - pulumi.set(__self__, "destination_subnet_id", destination_subnet_id) - pulumi.set(__self__, "source_vnic_id", source_vnic_id) + GetDrProtectionGroupsDrProtectionGroupCollectionItemMemberVnicMappingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + destination_nsg_id_lists=destination_nsg_id_lists, + destination_primary_private_ip_address=destination_primary_private_ip_address, + destination_primary_private_ip_hostname_label=destination_primary_private_ip_hostname_label, + destination_subnet_id=destination_subnet_id, + source_vnic_id=source_vnic_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + destination_nsg_id_lists: Sequence[str], + destination_primary_private_ip_address: str, + destination_primary_private_ip_hostname_label: str, + destination_subnet_id: str, + source_vnic_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("destination_nsg_id_lists", destination_nsg_id_lists) + _setter("destination_primary_private_ip_address", destination_primary_private_ip_address) + _setter("destination_primary_private_ip_hostname_label", destination_primary_private_ip_hostname_label) + _setter("destination_subnet_id", destination_subnet_id) + _setter("source_vnic_id", source_vnic_id) @property @pulumi.getter(name="destinationNsgIdLists") @@ -3789,10 +4686,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDrProtectionGroupsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/dns/_inputs.py b/sdk/python/pulumi_oci/dns/_inputs.py index 9b2bfad0d2..2307b9c7ea 100644 --- a/sdk/python/pulumi_oci/dns/_inputs.py +++ b/sdk/python/pulumi_oci/dns/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -49,12 +49,25 @@ def __init__(__self__, *, :param pulumi.Input[int] port: The server's port. :param pulumi.Input[str] tsig_key_id: The OCID of the TSIG key. """ + ActionCreateZoneFromZoneFileExternalDownstreamArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + address=address, + port=port, + tsig_key_id=tsig_key_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address: Optional[pulumi.Input[str]] = None, + port: Optional[pulumi.Input[int]] = None, + tsig_key_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if address is not None: - pulumi.set(__self__, "address", address) + _setter("address", address) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if tsig_key_id is not None: - pulumi.set(__self__, "tsig_key_id", tsig_key_id) + _setter("tsig_key_id", tsig_key_id) @property @pulumi.getter @@ -104,12 +117,25 @@ def __init__(__self__, *, :param pulumi.Input[int] port: The server's port. :param pulumi.Input[str] tsig_key_id: The OCID of the TSIG key. """ + ActionCreateZoneFromZoneFileExternalMasterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + address=address, + port=port, + tsig_key_id=tsig_key_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address: Optional[pulumi.Input[str]] = None, + port: Optional[pulumi.Input[int]] = None, + tsig_key_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if address is not None: - pulumi.set(__self__, "address", address) + _setter("address", address) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if tsig_key_id is not None: - pulumi.set(__self__, "tsig_key_id", tsig_key_id) + _setter("tsig_key_id", tsig_key_id) @property @pulumi.getter @@ -155,8 +181,17 @@ def __init__(__self__, *, """ :param pulumi.Input[str] hostname: The hostname of the nameserver. """ + ActionCreateZoneFromZoneFileNameserverArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + hostname=hostname, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hostname: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if hostname is not None: - pulumi.set(__self__, "hostname", hostname) + _setter("hostname", hostname) @property @pulumi.getter @@ -184,14 +219,29 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_transfer_source: A Boolean flag indicating whether or not the server is a zone data transfer source. :param pulumi.Input[int] port: The server's port. """ + ActionCreateZoneFromZoneFileZoneTransferServerArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + address=address, + is_transfer_destination=is_transfer_destination, + is_transfer_source=is_transfer_source, + port=port, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address: Optional[pulumi.Input[str]] = None, + is_transfer_destination: Optional[pulumi.Input[bool]] = None, + is_transfer_source: Optional[pulumi.Input[bool]] = None, + port: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if address is not None: - pulumi.set(__self__, "address", address) + _setter("address", address) if is_transfer_destination is not None: - pulumi.set(__self__, "is_transfer_destination", is_transfer_destination) + _setter("is_transfer_destination", is_transfer_destination) if is_transfer_source is not None: - pulumi.set(__self__, "is_transfer_source", is_transfer_source) + _setter("is_transfer_source", is_transfer_source) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) @property @pulumi.getter @@ -249,7 +299,16 @@ def __init__(__self__, *, """ :param pulumi.Input[str] view_id: (Updatable) The OCID of the view. """ - pulumi.set(__self__, "view_id", view_id) + ResolverAttachedViewArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + view_id=view_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + view_id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("view_id", view_id) @property @pulumi.getter(name="viewId") @@ -293,30 +352,61 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339. :param pulumi.Input[str] time_updated: The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339. """ + ResolverEndpointArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + endpoint_type=endpoint_type, + forwarding_address=forwarding_address, + is_forwarding=is_forwarding, + is_listening=is_listening, + listening_address=listening_address, + name=name, + self=self, + state=state, + subnet_id=subnet_id, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + endpoint_type: Optional[pulumi.Input[str]] = None, + forwarding_address: Optional[pulumi.Input[str]] = None, + is_forwarding: Optional[pulumi.Input[bool]] = None, + is_listening: Optional[pulumi.Input[bool]] = None, + listening_address: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + self: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if endpoint_type is not None: - pulumi.set(__self__, "endpoint_type", endpoint_type) + _setter("endpoint_type", endpoint_type) if forwarding_address is not None: - pulumi.set(__self__, "forwarding_address", forwarding_address) + _setter("forwarding_address", forwarding_address) if is_forwarding is not None: - pulumi.set(__self__, "is_forwarding", is_forwarding) + _setter("is_forwarding", is_forwarding) if is_listening is not None: - pulumi.set(__self__, "is_listening", is_listening) + _setter("is_listening", is_listening) if listening_address is not None: - pulumi.set(__self__, "listening_address", listening_address) + _setter("listening_address", listening_address) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if self is not None: - pulumi.set(__self__, "self", self) + _setter("self", self) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -478,13 +568,30 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] client_address_conditions: (Updatable) A list of CIDR blocks. The query must come from a client within one of the blocks in order for the rule action to apply. :param pulumi.Input[Sequence[pulumi.Input[str]]] qname_cover_conditions: (Updatable) A list of domain names. The query must be covered by one of the domains in order for the rule action to apply. """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "destination_addresses", destination_addresses) - pulumi.set(__self__, "source_endpoint_name", source_endpoint_name) + ResolverRuleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + destination_addresses=destination_addresses, + source_endpoint_name=source_endpoint_name, + client_address_conditions=client_address_conditions, + qname_cover_conditions=qname_cover_conditions, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: pulumi.Input[str], + destination_addresses: pulumi.Input[Sequence[pulumi.Input[str]]], + source_endpoint_name: pulumi.Input[str], + client_address_conditions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + qname_cover_conditions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("destination_addresses", destination_addresses) + _setter("source_endpoint_name", source_endpoint_name) if client_address_conditions is not None: - pulumi.set(__self__, "client_address_conditions", client_address_conditions) + _setter("client_address_conditions", client_address_conditions) if qname_cover_conditions is not None: - pulumi.set(__self__, "qname_cover_conditions", qname_cover_conditions) + _setter("qname_cover_conditions", qname_cover_conditions) @property @pulumi.getter @@ -566,16 +673,37 @@ def __init__(__self__, *, :param pulumi.Input[str] record_hash: A unique identifier for the record within its zone. :param pulumi.Input[str] rrset_version: The latest version of the record's zone in which its RRSet differs from the preceding version. """ - pulumi.set(__self__, "domain", domain) - pulumi.set(__self__, "rdata", rdata) - pulumi.set(__self__, "rtype", rtype) - pulumi.set(__self__, "ttl", ttl) + RrsetItemArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + domain=domain, + rdata=rdata, + rtype=rtype, + ttl=ttl, + is_protected=is_protected, + record_hash=record_hash, + rrset_version=rrset_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + domain: pulumi.Input[str], + rdata: pulumi.Input[str], + rtype: pulumi.Input[str], + ttl: pulumi.Input[int], + is_protected: Optional[pulumi.Input[bool]] = None, + record_hash: Optional[pulumi.Input[str]] = None, + rrset_version: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("domain", domain) + _setter("rdata", rdata) + _setter("rtype", rtype) + _setter("ttl", ttl) if is_protected is not None: - pulumi.set(__self__, "is_protected", is_protected) + _setter("is_protected", is_protected) if record_hash is not None: - pulumi.set(__self__, "record_hash", record_hash) + _setter("record_hash", record_hash) if rrset_version is not None: - pulumi.set(__self__, "rrset_version", rrset_version) + _setter("rrset_version", rrset_version) @property @pulumi.getter @@ -677,13 +805,30 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_disabled: Set this property to `true` to indicate that the answer is administratively disabled, such as when the corresponding server is down for maintenance. An answer's `isDisabled` property can be referenced in `answerCondition` properties in rules using `answer.isDisabled`. :param pulumi.Input[str] pool: The freeform name of a group of one or more records in which this record is included, such as "LAX data center". An answer's `pool` property can be referenced in `answerCondition` properties of rules using `answer.pool`. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "rdata", rdata) - pulumi.set(__self__, "rtype", rtype) + SteeringPolicyAnswerArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + rdata=rdata, + rtype=rtype, + is_disabled=is_disabled, + pool=pool, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: pulumi.Input[str], + rdata: pulumi.Input[str], + rtype: pulumi.Input[str], + is_disabled: Optional[pulumi.Input[bool]] = None, + pool: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("rdata", rdata) + _setter("rtype", rtype) if is_disabled is not None: - pulumi.set(__self__, "is_disabled", is_disabled) + _setter("is_disabled", is_disabled) if pool is not None: - pulumi.set(__self__, "pool", pool) + _setter("pool", pool) @property @pulumi.getter @@ -761,15 +906,32 @@ def __init__(__self__, *, :param pulumi.Input[int] default_count: Defines a default count if `cases` is not defined for the rule or a matching case does not define `count`. `defaultCount` is **not** applied if `cases` is defined and there are no matching cases. In this scenario, the next rule will be processed. If no rules remain to be processed, the answer will be chosen from the remaining list of answers. :param pulumi.Input[str] description: A user-defined description of the rule's purpose or behavior. """ - pulumi.set(__self__, "rule_type", rule_type) + SteeringPolicyRuleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + rule_type=rule_type, + cases=cases, + default_answer_datas=default_answer_datas, + default_count=default_count, + description=description, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + rule_type: pulumi.Input[str], + cases: Optional[pulumi.Input[Sequence[pulumi.Input['SteeringPolicyRuleCaseArgs']]]] = None, + default_answer_datas: Optional[pulumi.Input[Sequence[pulumi.Input['SteeringPolicyRuleDefaultAnswerDataArgs']]]] = None, + default_count: Optional[pulumi.Input[int]] = None, + description: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("rule_type", rule_type) if cases is not None: - pulumi.set(__self__, "cases", cases) + _setter("cases", cases) if default_answer_datas is not None: - pulumi.set(__self__, "default_answer_datas", default_answer_datas) + _setter("default_answer_datas", default_answer_datas) if default_count is not None: - pulumi.set(__self__, "default_count", default_count) + _setter("default_count", default_count) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) @property @pulumi.getter(name="ruleType") @@ -843,12 +1005,25 @@ def __init__(__self__, *, :param pulumi.Input[str] case_condition: An expression that uses conditions at the time of a DNS query to indicate whether a case matches. Conditions may include the geographical location, IP subnet, or ASN the DNS query originated. **Example:** If you have an office that uses the subnet `192.0.2.0/24` you could use a `caseCondition` expression `query.client.subnet in ('192.0.2.0/24')` to define a case that matches queries from that office. :param pulumi.Input[int] count: The number of answers allowed to remain after the limit rule has been processed, keeping only the first of the remaining answers in the list. Example: If the `count` property is set to `2` and four answers remain before the limit rule is processed, only the first two answers in the list will remain after the limit rule has been processed. """ + SteeringPolicyRuleCaseArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + answer_datas=answer_datas, + case_condition=case_condition, + count=count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + answer_datas: Optional[pulumi.Input[Sequence[pulumi.Input['SteeringPolicyRuleCaseAnswerDataArgs']]]] = None, + case_condition: Optional[pulumi.Input[str]] = None, + count: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if answer_datas is not None: - pulumi.set(__self__, "answer_datas", answer_datas) + _setter("answer_datas", answer_datas) if case_condition is not None: - pulumi.set(__self__, "case_condition", case_condition) + _setter("case_condition", case_condition) if count is not None: - pulumi.set(__self__, "count", count) + _setter("count", count) @property @pulumi.getter(name="answerDatas") @@ -898,12 +1073,25 @@ def __init__(__self__, *, :param pulumi.Input[bool] should_keep: Keeps the answer only if the value is `true`. :param pulumi.Input[int] value: The rank assigned to the set of answers that match the expression in `answerCondition`. Answers with the lowest values move to the beginning of the list without changing the relative order of those with the same value. Answers can be given a value between `0` and `255`. """ + SteeringPolicyRuleCaseAnswerDataArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + answer_condition=answer_condition, + should_keep=should_keep, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + answer_condition: Optional[pulumi.Input[str]] = None, + should_keep: Optional[pulumi.Input[bool]] = None, + value: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if answer_condition is not None: - pulumi.set(__self__, "answer_condition", answer_condition) + _setter("answer_condition", answer_condition) if should_keep is not None: - pulumi.set(__self__, "should_keep", should_keep) + _setter("should_keep", should_keep) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter(name="answerCondition") @@ -953,12 +1141,25 @@ def __init__(__self__, *, :param pulumi.Input[bool] should_keep: Keeps the answer only if the value is `true`. :param pulumi.Input[int] value: The rank assigned to the set of answers that match the expression in `answerCondition`. Answers with the lowest values move to the beginning of the list without changing the relative order of those with the same value. Answers can be given a value between `0` and `255`. """ + SteeringPolicyRuleDefaultAnswerDataArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + answer_condition=answer_condition, + should_keep=should_keep, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + answer_condition: Optional[pulumi.Input[str]] = None, + should_keep: Optional[pulumi.Input[bool]] = None, + value: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if answer_condition is not None: - pulumi.set(__self__, "answer_condition", answer_condition) + _setter("answer_condition", answer_condition) if should_keep is not None: - pulumi.set(__self__, "should_keep", should_keep) + _setter("should_keep", should_keep) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter(name="answerCondition") @@ -1008,11 +1209,24 @@ def __init__(__self__, *, :param pulumi.Input[int] port: (Updatable) The server's port. Port value must be a value of 53, otherwise omit the port value. :param pulumi.Input[str] tsig_key_id: (Updatable) The OCID of the TSIG key. """ - pulumi.set(__self__, "address", address) + ZoneExternalDownstreamArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + address=address, + port=port, + tsig_key_id=tsig_key_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address: pulumi.Input[str], + port: Optional[pulumi.Input[int]] = None, + tsig_key_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("address", address) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if tsig_key_id is not None: - pulumi.set(__self__, "tsig_key_id", tsig_key_id) + _setter("tsig_key_id", tsig_key_id) @property @pulumi.getter @@ -1062,11 +1276,24 @@ def __init__(__self__, *, :param pulumi.Input[int] port: (Updatable) The server's port. Port value must be a value of 53, otherwise omit the port value. :param pulumi.Input[str] tsig_key_id: (Updatable) The OCID of the TSIG key. """ - pulumi.set(__self__, "address", address) + ZoneExternalMasterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + address=address, + port=port, + tsig_key_id=tsig_key_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address: pulumi.Input[str], + port: Optional[pulumi.Input[int]] = None, + tsig_key_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("address", address) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if tsig_key_id is not None: - pulumi.set(__self__, "tsig_key_id", tsig_key_id) + _setter("tsig_key_id", tsig_key_id) @property @pulumi.getter @@ -1112,8 +1339,17 @@ def __init__(__self__, *, """ :param pulumi.Input[str] hostname: The hostname of the nameserver. """ + ZoneNameserverArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + hostname=hostname, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hostname: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if hostname is not None: - pulumi.set(__self__, "hostname", hostname) + _setter("hostname", hostname) @property @pulumi.getter @@ -1141,14 +1377,29 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_transfer_source: A Boolean flag indicating whether or not the server is a zone data transfer source. :param pulumi.Input[int] port: (Updatable) The server's port. Port value must be a value of 53, otherwise omit the port value. """ + ZoneZoneTransferServerArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + address=address, + is_transfer_destination=is_transfer_destination, + is_transfer_source=is_transfer_source, + port=port, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address: Optional[pulumi.Input[str]] = None, + is_transfer_destination: Optional[pulumi.Input[bool]] = None, + is_transfer_source: Optional[pulumi.Input[bool]] = None, + port: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if address is not None: - pulumi.set(__self__, "address", address) + _setter("address", address) if is_transfer_destination is not None: - pulumi.set(__self__, "is_transfer_destination", is_transfer_destination) + _setter("is_transfer_destination", is_transfer_destination) if is_transfer_source is not None: - pulumi.set(__self__, "is_transfer_source", is_transfer_source) + _setter("is_transfer_source", is_transfer_source) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) @property @pulumi.getter @@ -1205,10 +1456,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetRecordsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1247,10 +1511,23 @@ def __init__(__self__, *, """ :param str name: The name of a resource. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetResolverEndpointsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1289,10 +1566,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetResolversFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1328,10 +1618,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetRrsetsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1370,10 +1673,23 @@ def __init__(__self__, *, """ :param str name: A user-friendly name for the answer, unique within the steering policy. An answer's `name` property can be referenced in `answerCondition` properties of rules using `answer.name`. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSteeringPoliciesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1412,10 +1728,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSteeringPolicyAttachmentsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1454,10 +1783,23 @@ def __init__(__self__, *, """ :param str name: The name of a resource. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetTsigKeysFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1496,10 +1838,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetViewsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1538,10 +1893,23 @@ def __init__(__self__, *, """ :param str name: A case-sensitive filter for zone names. Will match any zone with a name that equals the provided value. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetZonesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/dns/action_create_zone_from_zone_file.py b/sdk/python/pulumi_oci/dns/action_create_zone_from_zone_file.py index 6150ae8639..8be109e954 100644 --- a/sdk/python/pulumi_oci/dns/action_create_zone_from_zone_file.py +++ b/sdk/python/pulumi_oci/dns/action_create_zone_from_zone_file.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -31,12 +31,27 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "create_zone_from_zone_file_details", create_zone_from_zone_file_details) + ActionCreateZoneFromZoneFileArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + create_zone_from_zone_file_details=create_zone_from_zone_file_details, + scope=scope, + view_id=view_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + create_zone_from_zone_file_details: pulumi.Input[str], + scope: Optional[pulumi.Input[str]] = None, + view_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("create_zone_from_zone_file_details", create_zone_from_zone_file_details) if scope is not None: - pulumi.set(__self__, "scope", scope) + _setter("scope", scope) if view_id is not None: - pulumi.set(__self__, "view_id", view_id) + _setter("view_id", view_id) @property @pulumi.getter(name="compartmentId") @@ -137,42 +152,85 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['ActionCreateZoneFromZoneFileZoneTransferServerArgs']]] zone_transfer_servers: The Oracle Cloud Infrastructure nameservers that transfer the zone data with external nameservers. :param pulumi.Input[str] zone_type: The type of the zone. Must be either `PRIMARY` or `SECONDARY`. `SECONDARY` is only supported for GLOBAL zones. """ + _ActionCreateZoneFromZoneFileState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + create_zone_from_zone_file_details=create_zone_from_zone_file_details, + defined_tags=defined_tags, + external_downstreams=external_downstreams, + external_masters=external_masters, + freeform_tags=freeform_tags, + is_protected=is_protected, + name=name, + nameservers=nameservers, + scope=scope, + self=self, + serial=serial, + state=state, + time_created=time_created, + version=version, + view_id=view_id, + zone_transfer_servers=zone_transfer_servers, + zone_type=zone_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + create_zone_from_zone_file_details: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + external_downstreams: Optional[pulumi.Input[Sequence[pulumi.Input['ActionCreateZoneFromZoneFileExternalDownstreamArgs']]]] = None, + external_masters: Optional[pulumi.Input[Sequence[pulumi.Input['ActionCreateZoneFromZoneFileExternalMasterArgs']]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_protected: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + nameservers: Optional[pulumi.Input[Sequence[pulumi.Input['ActionCreateZoneFromZoneFileNameserverArgs']]]] = None, + scope: Optional[pulumi.Input[str]] = None, + self: Optional[pulumi.Input[str]] = None, + serial: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + version: Optional[pulumi.Input[str]] = None, + view_id: Optional[pulumi.Input[str]] = None, + zone_transfer_servers: Optional[pulumi.Input[Sequence[pulumi.Input['ActionCreateZoneFromZoneFileZoneTransferServerArgs']]]] = None, + zone_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if create_zone_from_zone_file_details is not None: - pulumi.set(__self__, "create_zone_from_zone_file_details", create_zone_from_zone_file_details) + _setter("create_zone_from_zone_file_details", create_zone_from_zone_file_details) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if external_downstreams is not None: - pulumi.set(__self__, "external_downstreams", external_downstreams) + _setter("external_downstreams", external_downstreams) if external_masters is not None: - pulumi.set(__self__, "external_masters", external_masters) + _setter("external_masters", external_masters) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_protected is not None: - pulumi.set(__self__, "is_protected", is_protected) + _setter("is_protected", is_protected) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if nameservers is not None: - pulumi.set(__self__, "nameservers", nameservers) + _setter("nameservers", nameservers) if scope is not None: - pulumi.set(__self__, "scope", scope) + _setter("scope", scope) if self is not None: - pulumi.set(__self__, "self", self) + _setter("self", self) if serial is not None: - pulumi.set(__self__, "serial", serial) + _setter("serial", serial) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) if view_id is not None: - pulumi.set(__self__, "view_id", view_id) + _setter("view_id", view_id) if zone_transfer_servers is not None: - pulumi.set(__self__, "zone_transfer_servers", zone_transfer_servers) + _setter("zone_transfer_servers", zone_transfer_servers) if zone_type is not None: - pulumi.set(__self__, "zone_type", zone_type) + _setter("zone_type", zone_type) @property @pulumi.getter(name="compartmentId") @@ -488,6 +546,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ActionCreateZoneFromZoneFileArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/dns/get_records.py b/sdk/python/pulumi_oci/dns/get_records.py index b2be832ea1..95987778f2 100644 --- a/sdk/python/pulumi_oci/dns/get_records.py +++ b/sdk/python/pulumi_oci/dns/get_records.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/dns/get_resolver.py b/sdk/python/pulumi_oci/dns/get_resolver.py index 36bc14650d..344a90730e 100644 --- a/sdk/python/pulumi_oci/dns/get_resolver.py +++ b/sdk/python/pulumi_oci/dns/get_resolver.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/dns/get_resolver_endpoint.py b/sdk/python/pulumi_oci/dns/get_resolver_endpoint.py index 5cfa3ab986..732c7e06de 100644 --- a/sdk/python/pulumi_oci/dns/get_resolver_endpoint.py +++ b/sdk/python/pulumi_oci/dns/get_resolver_endpoint.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/dns/get_resolver_endpoints.py b/sdk/python/pulumi_oci/dns/get_resolver_endpoints.py index 09983848fc..2653da4f30 100644 --- a/sdk/python/pulumi_oci/dns/get_resolver_endpoints.py +++ b/sdk/python/pulumi_oci/dns/get_resolver_endpoints.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/dns/get_resolvers.py b/sdk/python/pulumi_oci/dns/get_resolvers.py index 75c3403c26..2045975290 100644 --- a/sdk/python/pulumi_oci/dns/get_resolvers.py +++ b/sdk/python/pulumi_oci/dns/get_resolvers.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/dns/get_rrset.py b/sdk/python/pulumi_oci/dns/get_rrset.py index 9b126fc84a..d6f040c446 100644 --- a/sdk/python/pulumi_oci/dns/get_rrset.py +++ b/sdk/python/pulumi_oci/dns/get_rrset.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/dns/get_rrsets.py b/sdk/python/pulumi_oci/dns/get_rrsets.py index d85005ecf5..44eddd5466 100644 --- a/sdk/python/pulumi_oci/dns/get_rrsets.py +++ b/sdk/python/pulumi_oci/dns/get_rrsets.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/dns/get_steering_policies.py b/sdk/python/pulumi_oci/dns/get_steering_policies.py index fde1d97802..e590573485 100644 --- a/sdk/python/pulumi_oci/dns/get_steering_policies.py +++ b/sdk/python/pulumi_oci/dns/get_steering_policies.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/dns/get_steering_policy.py b/sdk/python/pulumi_oci/dns/get_steering_policy.py index b2823b3002..bd68196c72 100644 --- a/sdk/python/pulumi_oci/dns/get_steering_policy.py +++ b/sdk/python/pulumi_oci/dns/get_steering_policy.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/dns/get_steering_policy_attachment.py b/sdk/python/pulumi_oci/dns/get_steering_policy_attachment.py index 4550888c56..204b293119 100644 --- a/sdk/python/pulumi_oci/dns/get_steering_policy_attachment.py +++ b/sdk/python/pulumi_oci/dns/get_steering_policy_attachment.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/dns/get_steering_policy_attachments.py b/sdk/python/pulumi_oci/dns/get_steering_policy_attachments.py index 826d57a44c..a73bb18e86 100644 --- a/sdk/python/pulumi_oci/dns/get_steering_policy_attachments.py +++ b/sdk/python/pulumi_oci/dns/get_steering_policy_attachments.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/dns/get_tsig_key.py b/sdk/python/pulumi_oci/dns/get_tsig_key.py index 824c98716e..006292ae10 100644 --- a/sdk/python/pulumi_oci/dns/get_tsig_key.py +++ b/sdk/python/pulumi_oci/dns/get_tsig_key.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/dns/get_tsig_keys.py b/sdk/python/pulumi_oci/dns/get_tsig_keys.py index 36529eaaf0..d0b2a1ebe0 100644 --- a/sdk/python/pulumi_oci/dns/get_tsig_keys.py +++ b/sdk/python/pulumi_oci/dns/get_tsig_keys.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/dns/get_view.py b/sdk/python/pulumi_oci/dns/get_view.py index cfd20524e9..d08488c7be 100644 --- a/sdk/python/pulumi_oci/dns/get_view.py +++ b/sdk/python/pulumi_oci/dns/get_view.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/dns/get_views.py b/sdk/python/pulumi_oci/dns/get_views.py index b6a20593e0..3547b4dd97 100644 --- a/sdk/python/pulumi_oci/dns/get_views.py +++ b/sdk/python/pulumi_oci/dns/get_views.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/dns/get_zones.py b/sdk/python/pulumi_oci/dns/get_zones.py index 0437a9d58e..e57d745651 100644 --- a/sdk/python/pulumi_oci/dns/get_zones.py +++ b/sdk/python/pulumi_oci/dns/get_zones.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/dns/outputs.py b/sdk/python/pulumi_oci/dns/outputs.py index c100e31be4..97b8da9ab5 100644 --- a/sdk/python/pulumi_oci/dns/outputs.py +++ b/sdk/python/pulumi_oci/dns/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -98,12 +98,25 @@ def __init__(__self__, *, :param int port: The server's port. :param str tsig_key_id: The OCID of the TSIG key. """ + ActionCreateZoneFromZoneFileExternalDownstream._configure( + lambda key, value: pulumi.set(__self__, key, value), + address=address, + port=port, + tsig_key_id=tsig_key_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address: Optional[str] = None, + port: Optional[int] = None, + tsig_key_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if address is not None: - pulumi.set(__self__, "address", address) + _setter("address", address) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if tsig_key_id is not None: - pulumi.set(__self__, "tsig_key_id", tsig_key_id) + _setter("tsig_key_id", tsig_key_id) @property @pulumi.getter @@ -158,12 +171,25 @@ def __init__(__self__, *, :param int port: The server's port. :param str tsig_key_id: The OCID of the TSIG key. """ + ActionCreateZoneFromZoneFileExternalMaster._configure( + lambda key, value: pulumi.set(__self__, key, value), + address=address, + port=port, + tsig_key_id=tsig_key_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address: Optional[str] = None, + port: Optional[int] = None, + tsig_key_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if address is not None: - pulumi.set(__self__, "address", address) + _setter("address", address) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if tsig_key_id is not None: - pulumi.set(__self__, "tsig_key_id", tsig_key_id) + _setter("tsig_key_id", tsig_key_id) @property @pulumi.getter @@ -197,8 +223,17 @@ def __init__(__self__, *, """ :param str hostname: The hostname of the nameserver. """ + ActionCreateZoneFromZoneFileNameserver._configure( + lambda key, value: pulumi.set(__self__, key, value), + hostname=hostname, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hostname: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if hostname is not None: - pulumi.set(__self__, "hostname", hostname) + _setter("hostname", hostname) @property @pulumi.getter @@ -241,14 +276,29 @@ def __init__(__self__, *, :param bool is_transfer_source: A Boolean flag indicating whether or not the server is a zone data transfer source. :param int port: The server's port. """ + ActionCreateZoneFromZoneFileZoneTransferServer._configure( + lambda key, value: pulumi.set(__self__, key, value), + address=address, + is_transfer_destination=is_transfer_destination, + is_transfer_source=is_transfer_source, + port=port, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address: Optional[str] = None, + is_transfer_destination: Optional[bool] = None, + is_transfer_source: Optional[bool] = None, + port: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if address is not None: - pulumi.set(__self__, "address", address) + _setter("address", address) if is_transfer_destination is not None: - pulumi.set(__self__, "is_transfer_destination", is_transfer_destination) + _setter("is_transfer_destination", is_transfer_destination) if is_transfer_source is not None: - pulumi.set(__self__, "is_transfer_source", is_transfer_source) + _setter("is_transfer_source", is_transfer_source) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) @property @pulumi.getter @@ -307,7 +357,16 @@ def __init__(__self__, *, """ :param str view_id: (Updatable) The OCID of the view. """ - pulumi.set(__self__, "view_id", view_id) + ResolverAttachedView._configure( + lambda key, value: pulumi.set(__self__, key, value), + view_id=view_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + view_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("view_id", view_id) @property @pulumi.getter(name="viewId") @@ -380,30 +439,61 @@ def __init__(__self__, *, :param str time_created: The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339. :param str time_updated: The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339. """ + ResolverEndpoint._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + endpoint_type=endpoint_type, + forwarding_address=forwarding_address, + is_forwarding=is_forwarding, + is_listening=is_listening, + listening_address=listening_address, + name=name, + self=self, + state=state, + subnet_id=subnet_id, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[str] = None, + endpoint_type: Optional[str] = None, + forwarding_address: Optional[str] = None, + is_forwarding: Optional[bool] = None, + is_listening: Optional[bool] = None, + listening_address: Optional[str] = None, + name: Optional[str] = None, + self: Optional[str] = None, + state: Optional[str] = None, + subnet_id: Optional[str] = None, + time_created: Optional[str] = None, + time_updated: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if endpoint_type is not None: - pulumi.set(__self__, "endpoint_type", endpoint_type) + _setter("endpoint_type", endpoint_type) if forwarding_address is not None: - pulumi.set(__self__, "forwarding_address", forwarding_address) + _setter("forwarding_address", forwarding_address) if is_forwarding is not None: - pulumi.set(__self__, "is_forwarding", is_forwarding) + _setter("is_forwarding", is_forwarding) if is_listening is not None: - pulumi.set(__self__, "is_listening", is_listening) + _setter("is_listening", is_listening) if listening_address is not None: - pulumi.set(__self__, "listening_address", listening_address) + _setter("listening_address", listening_address) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if self is not None: - pulumi.set(__self__, "self", self) + _setter("self", self) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -540,13 +630,30 @@ def __init__(__self__, *, :param Sequence[str] client_address_conditions: (Updatable) A list of CIDR blocks. The query must come from a client within one of the blocks in order for the rule action to apply. :param Sequence[str] qname_cover_conditions: (Updatable) A list of domain names. The query must be covered by one of the domains in order for the rule action to apply. """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "destination_addresses", destination_addresses) - pulumi.set(__self__, "source_endpoint_name", source_endpoint_name) + ResolverRule._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + destination_addresses=destination_addresses, + source_endpoint_name=source_endpoint_name, + client_address_conditions=client_address_conditions, + qname_cover_conditions=qname_cover_conditions, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: str, + destination_addresses: Sequence[str], + source_endpoint_name: str, + client_address_conditions: Optional[Sequence[str]] = None, + qname_cover_conditions: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("destination_addresses", destination_addresses) + _setter("source_endpoint_name", source_endpoint_name) if client_address_conditions is not None: - pulumi.set(__self__, "client_address_conditions", client_address_conditions) + _setter("client_address_conditions", client_address_conditions) if qname_cover_conditions is not None: - pulumi.set(__self__, "qname_cover_conditions", qname_cover_conditions) + _setter("qname_cover_conditions", qname_cover_conditions) @property @pulumi.getter @@ -629,16 +736,37 @@ def __init__(__self__, *, :param str record_hash: A unique identifier for the record within its zone. :param str rrset_version: The latest version of the record's zone in which its RRSet differs from the preceding version. """ - pulumi.set(__self__, "domain", domain) - pulumi.set(__self__, "rdata", rdata) - pulumi.set(__self__, "rtype", rtype) - pulumi.set(__self__, "ttl", ttl) + RrsetItem._configure( + lambda key, value: pulumi.set(__self__, key, value), + domain=domain, + rdata=rdata, + rtype=rtype, + ttl=ttl, + is_protected=is_protected, + record_hash=record_hash, + rrset_version=rrset_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + domain: str, + rdata: str, + rtype: str, + ttl: int, + is_protected: Optional[bool] = None, + record_hash: Optional[str] = None, + rrset_version: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("domain", domain) + _setter("rdata", rdata) + _setter("rtype", rtype) + _setter("ttl", ttl) if is_protected is not None: - pulumi.set(__self__, "is_protected", is_protected) + _setter("is_protected", is_protected) if record_hash is not None: - pulumi.set(__self__, "record_hash", record_hash) + _setter("record_hash", record_hash) if rrset_version is not None: - pulumi.set(__self__, "rrset_version", rrset_version) + _setter("rrset_version", rrset_version) @property @pulumi.getter @@ -729,13 +857,30 @@ def __init__(__self__, *, :param bool is_disabled: Set this property to `true` to indicate that the answer is administratively disabled, such as when the corresponding server is down for maintenance. An answer's `isDisabled` property can be referenced in `answerCondition` properties in rules using `answer.isDisabled`. :param str pool: The freeform name of a group of one or more records in which this record is included, such as "LAX data center". An answer's `pool` property can be referenced in `answerCondition` properties of rules using `answer.pool`. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "rdata", rdata) - pulumi.set(__self__, "rtype", rtype) + SteeringPolicyAnswer._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + rdata=rdata, + rtype=rtype, + is_disabled=is_disabled, + pool=pool, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + rdata: str, + rtype: str, + is_disabled: Optional[bool] = None, + pool: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("rdata", rdata) + _setter("rtype", rtype) if is_disabled is not None: - pulumi.set(__self__, "is_disabled", is_disabled) + _setter("is_disabled", is_disabled) if pool is not None: - pulumi.set(__self__, "pool", pool) + _setter("pool", pool) @property @pulumi.getter @@ -814,15 +959,32 @@ def __init__(__self__, *, :param int default_count: Defines a default count if `cases` is not defined for the rule or a matching case does not define `count`. `defaultCount` is **not** applied if `cases` is defined and there are no matching cases. In this scenario, the next rule will be processed. If no rules remain to be processed, the answer will be chosen from the remaining list of answers. :param str description: A user-defined description of the rule's purpose or behavior. """ - pulumi.set(__self__, "rule_type", rule_type) + SteeringPolicyRule._configure( + lambda key, value: pulumi.set(__self__, key, value), + rule_type=rule_type, + cases=cases, + default_answer_datas=default_answer_datas, + default_count=default_count, + description=description, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + rule_type: str, + cases: Optional[Sequence['outputs.SteeringPolicyRuleCase']] = None, + default_answer_datas: Optional[Sequence['outputs.SteeringPolicyRuleDefaultAnswerData']] = None, + default_count: Optional[int] = None, + description: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("rule_type", rule_type) if cases is not None: - pulumi.set(__self__, "cases", cases) + _setter("cases", cases) if default_answer_datas is not None: - pulumi.set(__self__, "default_answer_datas", default_answer_datas) + _setter("default_answer_datas", default_answer_datas) if default_count is not None: - pulumi.set(__self__, "default_count", default_count) + _setter("default_count", default_count) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) @property @pulumi.getter(name="ruleType") @@ -895,12 +1057,25 @@ def __init__(__self__, *, :param str case_condition: An expression that uses conditions at the time of a DNS query to indicate whether a case matches. Conditions may include the geographical location, IP subnet, or ASN the DNS query originated. **Example:** If you have an office that uses the subnet `192.0.2.0/24` you could use a `caseCondition` expression `query.client.subnet in ('192.0.2.0/24')` to define a case that matches queries from that office. :param int count: The number of answers allowed to remain after the limit rule has been processed, keeping only the first of the remaining answers in the list. Example: If the `count` property is set to `2` and four answers remain before the limit rule is processed, only the first two answers in the list will remain after the limit rule has been processed. """ + SteeringPolicyRuleCase._configure( + lambda key, value: pulumi.set(__self__, key, value), + answer_datas=answer_datas, + case_condition=case_condition, + count=count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + answer_datas: Optional[Sequence['outputs.SteeringPolicyRuleCaseAnswerData']] = None, + case_condition: Optional[str] = None, + count: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if answer_datas is not None: - pulumi.set(__self__, "answer_datas", answer_datas) + _setter("answer_datas", answer_datas) if case_condition is not None: - pulumi.set(__self__, "case_condition", case_condition) + _setter("case_condition", case_condition) if count is not None: - pulumi.set(__self__, "count", count) + _setter("count", count) @property @pulumi.getter(name="answerDatas") @@ -957,12 +1132,25 @@ def __init__(__self__, *, :param bool should_keep: Keeps the answer only if the value is `true`. :param int value: The rank assigned to the set of answers that match the expression in `answerCondition`. Answers with the lowest values move to the beginning of the list without changing the relative order of those with the same value. Answers can be given a value between `0` and `255`. """ + SteeringPolicyRuleCaseAnswerData._configure( + lambda key, value: pulumi.set(__self__, key, value), + answer_condition=answer_condition, + should_keep=should_keep, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + answer_condition: Optional[str] = None, + should_keep: Optional[bool] = None, + value: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if answer_condition is not None: - pulumi.set(__self__, "answer_condition", answer_condition) + _setter("answer_condition", answer_condition) if should_keep is not None: - pulumi.set(__self__, "should_keep", should_keep) + _setter("should_keep", should_keep) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter(name="answerCondition") @@ -1019,12 +1207,25 @@ def __init__(__self__, *, :param bool should_keep: Keeps the answer only if the value is `true`. :param int value: The rank assigned to the set of answers that match the expression in `answerCondition`. Answers with the lowest values move to the beginning of the list without changing the relative order of those with the same value. Answers can be given a value between `0` and `255`. """ + SteeringPolicyRuleDefaultAnswerData._configure( + lambda key, value: pulumi.set(__self__, key, value), + answer_condition=answer_condition, + should_keep=should_keep, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + answer_condition: Optional[str] = None, + should_keep: Optional[bool] = None, + value: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if answer_condition is not None: - pulumi.set(__self__, "answer_condition", answer_condition) + _setter("answer_condition", answer_condition) if should_keep is not None: - pulumi.set(__self__, "should_keep", should_keep) + _setter("should_keep", should_keep) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter(name="answerCondition") @@ -1079,11 +1280,24 @@ def __init__(__self__, *, :param int port: (Updatable) The server's port. Port value must be a value of 53, otherwise omit the port value. :param str tsig_key_id: (Updatable) The OCID of the TSIG key. """ - pulumi.set(__self__, "address", address) + ZoneExternalDownstream._configure( + lambda key, value: pulumi.set(__self__, key, value), + address=address, + port=port, + tsig_key_id=tsig_key_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address: str, + port: Optional[int] = None, + tsig_key_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("address", address) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if tsig_key_id is not None: - pulumi.set(__self__, "tsig_key_id", tsig_key_id) + _setter("tsig_key_id", tsig_key_id) @property @pulumi.getter @@ -1138,11 +1352,24 @@ def __init__(__self__, *, :param int port: (Updatable) The server's port. Port value must be a value of 53, otherwise omit the port value. :param str tsig_key_id: (Updatable) The OCID of the TSIG key. """ - pulumi.set(__self__, "address", address) + ZoneExternalMaster._configure( + lambda key, value: pulumi.set(__self__, key, value), + address=address, + port=port, + tsig_key_id=tsig_key_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address: str, + port: Optional[int] = None, + tsig_key_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("address", address) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if tsig_key_id is not None: - pulumi.set(__self__, "tsig_key_id", tsig_key_id) + _setter("tsig_key_id", tsig_key_id) @property @pulumi.getter @@ -1176,8 +1403,17 @@ def __init__(__self__, *, """ :param str hostname: The hostname of the nameserver. """ + ZoneNameserver._configure( + lambda key, value: pulumi.set(__self__, key, value), + hostname=hostname, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hostname: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if hostname is not None: - pulumi.set(__self__, "hostname", hostname) + _setter("hostname", hostname) @property @pulumi.getter @@ -1220,14 +1456,29 @@ def __init__(__self__, *, :param bool is_transfer_source: A Boolean flag indicating whether or not the server is a zone data transfer source. :param int port: (Updatable) The server's port. Port value must be a value of 53, otherwise omit the port value. """ + ZoneZoneTransferServer._configure( + lambda key, value: pulumi.set(__self__, key, value), + address=address, + is_transfer_destination=is_transfer_destination, + is_transfer_source=is_transfer_source, + port=port, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address: Optional[str] = None, + is_transfer_destination: Optional[bool] = None, + is_transfer_source: Optional[bool] = None, + port: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if address is not None: - pulumi.set(__self__, "address", address) + _setter("address", address) if is_transfer_destination is not None: - pulumi.set(__self__, "is_transfer_destination", is_transfer_destination) + _setter("is_transfer_destination", is_transfer_destination) if is_transfer_source is not None: - pulumi.set(__self__, "is_transfer_source", is_transfer_source) + _setter("is_transfer_source", is_transfer_source) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) @property @pulumi.getter @@ -1268,10 +1519,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetRecordsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1312,18 +1576,43 @@ def __init__(__self__, *, :param str rdata: The record's data, as whitespace-delimited tokens in type-specific presentation format. All RDATA is normalized and the returned presentation of your RDATA may differ from its initial input. For more information about RDATA, see [Supported DNS Resource Record Types](https://docs.cloud.oracle.com/iaas/Content/DNS/Reference/supporteddnsresource.htm) :param int ttl: The Time To Live for the record, in seconds. """ - pulumi.set(__self__, "domain", domain) - pulumi.set(__self__, "is_protected", is_protected) - pulumi.set(__self__, "record_hash", record_hash) - pulumi.set(__self__, "rrset_version", rrset_version) - pulumi.set(__self__, "rtype", rtype) - pulumi.set(__self__, "zone_name_or_id", zone_name_or_id) + GetRecordsRecordResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + domain=domain, + is_protected=is_protected, + record_hash=record_hash, + rrset_version=rrset_version, + rtype=rtype, + zone_name_or_id=zone_name_or_id, + compartment_id=compartment_id, + rdata=rdata, + ttl=ttl, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + domain: str, + is_protected: bool, + record_hash: str, + rrset_version: str, + rtype: str, + zone_name_or_id: str, + compartment_id: Optional[str] = None, + rdata: Optional[str] = None, + ttl: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("domain", domain) + _setter("is_protected", is_protected) + _setter("record_hash", record_hash) + _setter("rrset_version", rrset_version) + _setter("rtype", rtype) + _setter("zone_name_or_id", zone_name_or_id) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if rdata is not None: - pulumi.set(__self__, "rdata", rdata) + _setter("rdata", rdata) if ttl is not None: - pulumi.set(__self__, "ttl", ttl) + _setter("ttl", ttl) @property @pulumi.getter @@ -1414,7 +1703,16 @@ def __init__(__self__, *, """ :param str view_id: The OCID of the view. """ - pulumi.set(__self__, "view_id", view_id) + GetResolverAttachedViewResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + view_id=view_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + view_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("view_id", view_id) @property @pulumi.getter(name="viewId") @@ -1454,18 +1752,49 @@ def __init__(__self__, *, :param str time_created: The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339. :param str time_updated: The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "endpoint_type", endpoint_type) - pulumi.set(__self__, "forwarding_address", forwarding_address) - pulumi.set(__self__, "is_forwarding", is_forwarding) - pulumi.set(__self__, "is_listening", is_listening) - pulumi.set(__self__, "listening_address", listening_address) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "self", self) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetResolverEndpointResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + endpoint_type=endpoint_type, + forwarding_address=forwarding_address, + is_forwarding=is_forwarding, + is_listening=is_listening, + listening_address=listening_address, + name=name, + self=self, + state=state, + subnet_id=subnet_id, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + endpoint_type: str, + forwarding_address: str, + is_forwarding: bool, + is_listening: bool, + listening_address: str, + name: str, + self: str, + state: str, + subnet_id: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("endpoint_type", endpoint_type) + _setter("forwarding_address", forwarding_address) + _setter("is_forwarding", is_forwarding) + _setter("is_listening", is_listening) + _setter("listening_address", listening_address) + _setter("name", name) + _setter("self", self) + _setter("state", state) + _setter("subnet_id", subnet_id) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -1573,10 +1902,23 @@ def __init__(__self__, *, """ :param str name: The name of a resource. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetResolverEndpointsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1632,23 +1974,60 @@ def __init__(__self__, *, :param Sequence[str] nsg_ids: An array of network security group OCIDs for the resolver endpoint. These must be part of the VCN that the resolver endpoint is a part of. :param str scope: Value must be `PRIVATE` when listing private name resolver endpoints. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "endpoint_type", endpoint_type) - pulumi.set(__self__, "forwarding_address", forwarding_address) - pulumi.set(__self__, "is_forwarding", is_forwarding) - pulumi.set(__self__, "is_listening", is_listening) - pulumi.set(__self__, "listening_address", listening_address) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "resolver_id", resolver_id) - pulumi.set(__self__, "self", self) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetResolverEndpointsResolverEndpointResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + endpoint_type=endpoint_type, + forwarding_address=forwarding_address, + is_forwarding=is_forwarding, + is_listening=is_listening, + listening_address=listening_address, + name=name, + resolver_id=resolver_id, + self=self, + state=state, + subnet_id=subnet_id, + time_created=time_created, + time_updated=time_updated, + nsg_ids=nsg_ids, + scope=scope, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + endpoint_type: str, + forwarding_address: str, + is_forwarding: bool, + is_listening: bool, + listening_address: str, + name: str, + resolver_id: str, + self: str, + state: str, + subnet_id: str, + time_created: str, + time_updated: str, + nsg_ids: Optional[Sequence[str]] = None, + scope: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("endpoint_type", endpoint_type) + _setter("forwarding_address", forwarding_address) + _setter("is_forwarding", is_forwarding) + _setter("is_listening", is_listening) + _setter("listening_address", listening_address) + _setter("name", name) + _setter("resolver_id", resolver_id) + _setter("self", self) + _setter("state", state) + _setter("subnet_id", subnet_id) + _setter("time_created", time_created) + _setter("time_updated", time_updated) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) if scope is not None: - pulumi.set(__self__, "scope", scope) + _setter("scope", scope) @property @pulumi.getter(name="compartmentId") @@ -1786,11 +2165,28 @@ def __init__(__self__, *, :param Sequence[str] qname_cover_conditions: A list of domain names. The query must be covered by one of the domains in order for the rule action to apply. :param str source_endpoint_name: Case-insensitive name of an endpoint, that is a sub-resource of the resolver, to use as the forwarding interface. The endpoint must have isForwarding set to true. """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "client_address_conditions", client_address_conditions) - pulumi.set(__self__, "destination_addresses", destination_addresses) - pulumi.set(__self__, "qname_cover_conditions", qname_cover_conditions) - pulumi.set(__self__, "source_endpoint_name", source_endpoint_name) + GetResolverRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + client_address_conditions=client_address_conditions, + destination_addresses=destination_addresses, + qname_cover_conditions=qname_cover_conditions, + source_endpoint_name=source_endpoint_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: str, + client_address_conditions: Sequence[str], + destination_addresses: Sequence[str], + qname_cover_conditions: Sequence[str], + source_endpoint_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("client_address_conditions", client_address_conditions) + _setter("destination_addresses", destination_addresses) + _setter("qname_cover_conditions", qname_cover_conditions) + _setter("source_endpoint_name", source_endpoint_name) @property @pulumi.getter @@ -1839,10 +2235,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetResolversFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1895,23 +2304,64 @@ def __init__(__self__, *, :param str time_created: The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339. :param str time_updated: The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339. """ - pulumi.set(__self__, "attached_vcn_id", attached_vcn_id) - pulumi.set(__self__, "attached_views", attached_views) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "default_view_id", default_view_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "endpoints", endpoints) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_protected", is_protected) - pulumi.set(__self__, "resolver_id", resolver_id) - pulumi.set(__self__, "rules", rules) - pulumi.set(__self__, "scope", scope) - pulumi.set(__self__, "self", self) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetResolversResolverResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + attached_vcn_id=attached_vcn_id, + attached_views=attached_views, + compartment_id=compartment_id, + default_view_id=default_view_id, + defined_tags=defined_tags, + display_name=display_name, + endpoints=endpoints, + freeform_tags=freeform_tags, + id=id, + is_protected=is_protected, + resolver_id=resolver_id, + rules=rules, + scope=scope, + self=self, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attached_vcn_id: str, + attached_views: Sequence['outputs.GetResolversResolverAttachedViewResult'], + compartment_id: str, + default_view_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + endpoints: Sequence['outputs.GetResolversResolverEndpointResult'], + freeform_tags: Mapping[str, Any], + id: str, + is_protected: bool, + resolver_id: str, + rules: Sequence['outputs.GetResolversResolverRuleResult'], + scope: str, + self: str, + state: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("attached_vcn_id", attached_vcn_id) + _setter("attached_views", attached_views) + _setter("compartment_id", compartment_id) + _setter("default_view_id", default_view_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("endpoints", endpoints) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_protected", is_protected) + _setter("resolver_id", resolver_id) + _setter("rules", rules) + _setter("scope", scope) + _setter("self", self) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="attachedVcnId") @@ -2042,7 +2492,16 @@ def time_updated(self) -> str: class GetResolversResolverAttachedViewResult(dict): def __init__(__self__, *, view_id: str): - pulumi.set(__self__, "view_id", view_id) + GetResolversResolverAttachedViewResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + view_id=view_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + view_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("view_id", view_id) @property @pulumi.getter(name="viewId") @@ -2072,18 +2531,49 @@ def __init__(__self__, *, :param str time_created: The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339. :param str time_updated: The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "endpoint_type", endpoint_type) - pulumi.set(__self__, "forwarding_address", forwarding_address) - pulumi.set(__self__, "is_forwarding", is_forwarding) - pulumi.set(__self__, "is_listening", is_listening) - pulumi.set(__self__, "listening_address", listening_address) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "self", self) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetResolversResolverEndpointResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + endpoint_type=endpoint_type, + forwarding_address=forwarding_address, + is_forwarding=is_forwarding, + is_listening=is_listening, + listening_address=listening_address, + name=name, + self=self, + state=state, + subnet_id=subnet_id, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + endpoint_type: str, + forwarding_address: str, + is_forwarding: bool, + is_listening: bool, + listening_address: str, + name: str, + self: str, + state: str, + subnet_id: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("endpoint_type", endpoint_type) + _setter("forwarding_address", forwarding_address) + _setter("is_forwarding", is_forwarding) + _setter("is_listening", is_listening) + _setter("listening_address", listening_address) + _setter("name", name) + _setter("self", self) + _setter("state", state) + _setter("subnet_id", subnet_id) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -2169,11 +2659,28 @@ def __init__(__self__, *, destination_addresses: Sequence[str], qname_cover_conditions: Sequence[str], source_endpoint_name: str): - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "client_address_conditions", client_address_conditions) - pulumi.set(__self__, "destination_addresses", destination_addresses) - pulumi.set(__self__, "qname_cover_conditions", qname_cover_conditions) - pulumi.set(__self__, "source_endpoint_name", source_endpoint_name) + GetResolversResolverRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + client_address_conditions=client_address_conditions, + destination_addresses=destination_addresses, + qname_cover_conditions=qname_cover_conditions, + source_endpoint_name=source_endpoint_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: str, + client_address_conditions: Sequence[str], + destination_addresses: Sequence[str], + qname_cover_conditions: Sequence[str], + source_endpoint_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("client_address_conditions", client_address_conditions) + _setter("destination_addresses", destination_addresses) + _setter("qname_cover_conditions", qname_cover_conditions) + _setter("source_endpoint_name", source_endpoint_name) @property @pulumi.getter @@ -2220,13 +2727,34 @@ def __init__(__self__, *, :param str rtype: The type of the target RRSet within the target zone. :param int ttl: The Time To Live for the record, in seconds. """ - pulumi.set(__self__, "domain", domain) - pulumi.set(__self__, "is_protected", is_protected) - pulumi.set(__self__, "rdata", rdata) - pulumi.set(__self__, "record_hash", record_hash) - pulumi.set(__self__, "rrset_version", rrset_version) - pulumi.set(__self__, "rtype", rtype) - pulumi.set(__self__, "ttl", ttl) + GetRrsetItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + domain=domain, + is_protected=is_protected, + rdata=rdata, + record_hash=record_hash, + rrset_version=rrset_version, + rtype=rtype, + ttl=ttl, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + domain: str, + is_protected: bool, + rdata: str, + record_hash: str, + rrset_version: str, + rtype: str, + ttl: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("domain", domain) + _setter("is_protected", is_protected) + _setter("rdata", rdata) + _setter("record_hash", record_hash) + _setter("rrset_version", rrset_version) + _setter("rtype", rtype) + _setter("ttl", ttl) @property @pulumi.getter @@ -2291,10 +2819,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetRrsetsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2322,9 +2863,22 @@ def __init__(__self__, *, :param str domain: The target fully-qualified domain name (FQDN) within the target zone. :param str rtype: Search by record type. Will match any record whose [type](https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4) (case-insensitive) equals the provided value. """ - pulumi.set(__self__, "domain", domain) - pulumi.set(__self__, "items", items) - pulumi.set(__self__, "rtype", rtype) + GetRrsetsRrsetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + domain=domain, + items=items, + rtype=rtype, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + domain: str, + items: Sequence['outputs.GetRrsetsRrsetItemResult'], + rtype: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("domain", domain) + _setter("items", items) + _setter("rtype", rtype) @property @pulumi.getter @@ -2367,13 +2921,34 @@ def __init__(__self__, *, :param str rtype: Search by record type. Will match any record whose [type](https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4) (case-insensitive) equals the provided value. :param int ttl: The Time To Live for the record, in seconds. """ - pulumi.set(__self__, "domain", domain) - pulumi.set(__self__, "is_protected", is_protected) - pulumi.set(__self__, "rdata", rdata) - pulumi.set(__self__, "record_hash", record_hash) - pulumi.set(__self__, "rrset_version", rrset_version) - pulumi.set(__self__, "rtype", rtype) - pulumi.set(__self__, "ttl", ttl) + GetRrsetsRrsetItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + domain=domain, + is_protected=is_protected, + rdata=rdata, + record_hash=record_hash, + rrset_version=rrset_version, + rtype=rtype, + ttl=ttl, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + domain: str, + is_protected: bool, + rdata: str, + record_hash: str, + rrset_version: str, + rtype: str, + ttl: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("domain", domain) + _setter("is_protected", is_protected) + _setter("rdata", rdata) + _setter("record_hash", record_hash) + _setter("rrset_version", rrset_version) + _setter("rtype", rtype) + _setter("ttl", ttl) @property @pulumi.getter @@ -2441,10 +3016,23 @@ def __init__(__self__, *, """ :param str name: A user-friendly name for the answer, unique within the steering policy. An answer's `name` property can be referenced in `answerCondition` properties of rules using `answer.name`. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSteeringPoliciesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2496,19 +3084,52 @@ def __init__(__self__, *, :param str time_created: The date and time the resource was created, expressed in RFC 3339 timestamp format. :param int ttl: The Time To Live (TTL) for responses from the steering policy, in seconds. If not specified during creation, a value of 30 seconds will be used. """ - pulumi.set(__self__, "answers", answers) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "health_check_monitor_id", health_check_monitor_id) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "rules", rules) - pulumi.set(__self__, "self", self) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "template", template) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "ttl", ttl) + GetSteeringPoliciesSteeringPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + answers=answers, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + health_check_monitor_id=health_check_monitor_id, + id=id, + rules=rules, + self=self, + state=state, + template=template, + time_created=time_created, + ttl=ttl, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + answers: Sequence['outputs.GetSteeringPoliciesSteeringPolicyAnswerResult'], + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + health_check_monitor_id: str, + id: str, + rules: Sequence['outputs.GetSteeringPoliciesSteeringPolicyRuleResult'], + self: str, + state: str, + template: str, + time_created: str, + ttl: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("answers", answers) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("health_check_monitor_id", health_check_monitor_id) + _setter("id", id) + _setter("rules", rules) + _setter("self", self) + _setter("state", state) + _setter("template", template) + _setter("time_created", time_created) + _setter("ttl", ttl) @property @pulumi.getter @@ -2630,11 +3251,28 @@ def __init__(__self__, *, :param str rdata: The record's data, as whitespace-delimited tokens in type-specific presentation format. All RDATA is normalized and the returned presentation of your RDATA may differ from its initial input. For more information about RDATA, see [Supported DNS Resource Record Types](https://docs.cloud.oracle.com/iaas/Content/DNS/Reference/supporteddnsresource.htm). :param str rtype: The type of DNS record, such as A or CNAME. Only A, AAAA, and CNAME are supported. For more information, see [Supported DNS Resource Record Types](https://docs.cloud.oracle.com/iaas/Content/DNS/Reference/supporteddnsresource.htm). """ - pulumi.set(__self__, "is_disabled", is_disabled) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "pool", pool) - pulumi.set(__self__, "rdata", rdata) - pulumi.set(__self__, "rtype", rtype) + GetSteeringPoliciesSteeringPolicyAnswerResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_disabled=is_disabled, + name=name, + pool=pool, + rdata=rdata, + rtype=rtype, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_disabled: bool, + name: str, + pool: str, + rdata: str, + rtype: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_disabled", is_disabled) + _setter("name", name) + _setter("pool", pool) + _setter("rdata", rdata) + _setter("rtype", rtype) @property @pulumi.getter(name="isDisabled") @@ -2692,11 +3330,28 @@ def __init__(__self__, *, :param str description: A user-defined description of the rule's purpose or behavior. :param str rule_type: The type of a rule determines its sorting/filtering behavior. """ - pulumi.set(__self__, "cases", cases) - pulumi.set(__self__, "default_answer_datas", default_answer_datas) - pulumi.set(__self__, "default_count", default_count) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "rule_type", rule_type) + GetSteeringPoliciesSteeringPolicyRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cases=cases, + default_answer_datas=default_answer_datas, + default_count=default_count, + description=description, + rule_type=rule_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cases: Sequence['outputs.GetSteeringPoliciesSteeringPolicyRuleCaseResult'], + default_answer_datas: Sequence['outputs.GetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataResult'], + default_count: int, + description: str, + rule_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cases", cases) + _setter("default_answer_datas", default_answer_datas) + _setter("default_count", default_count) + _setter("description", description) + _setter("rule_type", rule_type) @property @pulumi.getter @@ -2750,9 +3405,22 @@ def __init__(__self__, *, :param str case_condition: An expression that uses conditions at the time of a DNS query to indicate whether a case matches. Conditions may include the geographical location, IP subnet, or ASN the DNS query originated. **Example:** If you have an office that uses the subnet `192.0.2.0/24` you could use a `caseCondition` expression `query.client.subnet in ('192.0.2.0/24')` to define a case that matches queries from that office. :param int count: The number of answers allowed to remain after the limit rule has been processed, keeping only the first of the remaining answers in the list. Example: If the `count` property is set to `2` and four answers remain before the limit rule is processed, only the first two answers in the list will remain after the limit rule has been processed. """ - pulumi.set(__self__, "answer_datas", answer_datas) - pulumi.set(__self__, "case_condition", case_condition) - pulumi.set(__self__, "count", count) + GetSteeringPoliciesSteeringPolicyRuleCaseResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + answer_datas=answer_datas, + case_condition=case_condition, + count=count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + answer_datas: Sequence['outputs.GetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataResult'], + case_condition: str, + count: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("answer_datas", answer_datas) + _setter("case_condition", case_condition) + _setter("count", count) @property @pulumi.getter(name="answerDatas") @@ -2790,9 +3458,22 @@ def __init__(__self__, *, :param bool should_keep: Keeps the answer only if the value is `true`. :param int value: The rank assigned to the set of answers that match the expression in `answerCondition`. Answers with the lowest values move to the beginning of the list without changing the relative order of those with the same value. Answers can be given a value between `0` and `255`. """ - pulumi.set(__self__, "answer_condition", answer_condition) - pulumi.set(__self__, "should_keep", should_keep) - pulumi.set(__self__, "value", value) + GetSteeringPoliciesSteeringPolicyRuleCaseAnswerDataResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + answer_condition=answer_condition, + should_keep=should_keep, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + answer_condition: str, + should_keep: bool, + value: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("answer_condition", answer_condition) + _setter("should_keep", should_keep) + _setter("value", value) @property @pulumi.getter(name="answerCondition") @@ -2830,9 +3511,22 @@ def __init__(__self__, *, :param bool should_keep: Keeps the answer only if the value is `true`. :param int value: The rank assigned to the set of answers that match the expression in `answerCondition`. Answers with the lowest values move to the beginning of the list without changing the relative order of those with the same value. Answers can be given a value between `0` and `255`. """ - pulumi.set(__self__, "answer_condition", answer_condition) - pulumi.set(__self__, "should_keep", should_keep) - pulumi.set(__self__, "value", value) + GetSteeringPoliciesSteeringPolicyRuleDefaultAnswerDataResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + answer_condition=answer_condition, + should_keep=should_keep, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + answer_condition: str, + should_keep: bool, + value: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("answer_condition", answer_condition) + _setter("should_keep", should_keep) + _setter("value", value) @property @pulumi.getter(name="answerCondition") @@ -2874,11 +3568,28 @@ def __init__(__self__, *, :param str rdata: The record's data, as whitespace-delimited tokens in type-specific presentation format. All RDATA is normalized and the returned presentation of your RDATA may differ from its initial input. For more information about RDATA, see [Supported DNS Resource Record Types](https://docs.cloud.oracle.com/iaas/Content/DNS/Reference/supporteddnsresource.htm). :param str rtype: The type of DNS record, such as A or CNAME. Only A, AAAA, and CNAME are supported. For more information, see [Supported DNS Resource Record Types](https://docs.cloud.oracle.com/iaas/Content/DNS/Reference/supporteddnsresource.htm). """ - pulumi.set(__self__, "is_disabled", is_disabled) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "pool", pool) - pulumi.set(__self__, "rdata", rdata) - pulumi.set(__self__, "rtype", rtype) + GetSteeringPolicyAnswerResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_disabled=is_disabled, + name=name, + pool=pool, + rdata=rdata, + rtype=rtype, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_disabled: bool, + name: str, + pool: str, + rdata: str, + rtype: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_disabled", is_disabled) + _setter("name", name) + _setter("pool", pool) + _setter("rdata", rdata) + _setter("rtype", rtype) @property @pulumi.getter(name="isDisabled") @@ -2927,10 +3638,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSteeringPolicyAttachmentsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2973,16 +3697,43 @@ def __init__(__self__, *, :param str time_created: The date and time the resource was created, expressed in RFC 3339 timestamp format. :param str zone_id: Search by zone OCID. Will match any resource whose zone ID matches the provided value. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "domain_name", domain_name) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "rtypes", rtypes) - pulumi.set(__self__, "self", self) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "steering_policy_id", steering_policy_id) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "zone_id", zone_id) + GetSteeringPolicyAttachmentsSteeringPolicyAttachmentResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + domain_name=domain_name, + id=id, + rtypes=rtypes, + self=self, + state=state, + steering_policy_id=steering_policy_id, + time_created=time_created, + zone_id=zone_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + display_name: str, + domain_name: str, + id: str, + rtypes: Sequence[str], + self: str, + state: str, + steering_policy_id: str, + time_created: str, + zone_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) + _setter("domain_name", domain_name) + _setter("id", id) + _setter("rtypes", rtypes) + _setter("self", self) + _setter("state", state) + _setter("steering_policy_id", steering_policy_id) + _setter("time_created", time_created) + _setter("zone_id", zone_id) @property @pulumi.getter(name="compartmentId") @@ -3080,11 +3831,28 @@ def __init__(__self__, *, :param str description: A user-defined description of the rule's purpose or behavior. :param str rule_type: The type of a rule determines its sorting/filtering behavior. """ - pulumi.set(__self__, "cases", cases) - pulumi.set(__self__, "default_answer_datas", default_answer_datas) - pulumi.set(__self__, "default_count", default_count) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "rule_type", rule_type) + GetSteeringPolicyRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cases=cases, + default_answer_datas=default_answer_datas, + default_count=default_count, + description=description, + rule_type=rule_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cases: Sequence['outputs.GetSteeringPolicyRuleCaseResult'], + default_answer_datas: Sequence['outputs.GetSteeringPolicyRuleDefaultAnswerDataResult'], + default_count: int, + description: str, + rule_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cases", cases) + _setter("default_answer_datas", default_answer_datas) + _setter("default_count", default_count) + _setter("description", description) + _setter("rule_type", rule_type) @property @pulumi.getter @@ -3138,9 +3906,22 @@ def __init__(__self__, *, :param str case_condition: An expression that uses conditions at the time of a DNS query to indicate whether a case matches. Conditions may include the geographical location, IP subnet, or ASN the DNS query originated. **Example:** If you have an office that uses the subnet `192.0.2.0/24` you could use a `caseCondition` expression `query.client.subnet in ('192.0.2.0/24')` to define a case that matches queries from that office. :param int count: The number of answers allowed to remain after the limit rule has been processed, keeping only the first of the remaining answers in the list. Example: If the `count` property is set to `2` and four answers remain before the limit rule is processed, only the first two answers in the list will remain after the limit rule has been processed. """ - pulumi.set(__self__, "answer_datas", answer_datas) - pulumi.set(__self__, "case_condition", case_condition) - pulumi.set(__self__, "count", count) + GetSteeringPolicyRuleCaseResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + answer_datas=answer_datas, + case_condition=case_condition, + count=count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + answer_datas: Sequence['outputs.GetSteeringPolicyRuleCaseAnswerDataResult'], + case_condition: str, + count: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("answer_datas", answer_datas) + _setter("case_condition", case_condition) + _setter("count", count) @property @pulumi.getter(name="answerDatas") @@ -3178,9 +3959,22 @@ def __init__(__self__, *, :param bool should_keep: Keeps the answer only if the value is `true`. :param int value: The rank assigned to the set of answers that match the expression in `answerCondition`. Answers with the lowest values move to the beginning of the list without changing the relative order of those with the same value. Answers can be given a value between `0` and `255`. """ - pulumi.set(__self__, "answer_condition", answer_condition) - pulumi.set(__self__, "should_keep", should_keep) - pulumi.set(__self__, "value", value) + GetSteeringPolicyRuleCaseAnswerDataResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + answer_condition=answer_condition, + should_keep=should_keep, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + answer_condition: str, + should_keep: bool, + value: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("answer_condition", answer_condition) + _setter("should_keep", should_keep) + _setter("value", value) @property @pulumi.getter(name="answerCondition") @@ -3218,9 +4012,22 @@ def __init__(__self__, *, :param bool should_keep: Keeps the answer only if the value is `true`. :param int value: The rank assigned to the set of answers that match the expression in `answerCondition`. Answers with the lowest values move to the beginning of the list without changing the relative order of those with the same value. Answers can be given a value between `0` and `255`. """ - pulumi.set(__self__, "answer_condition", answer_condition) - pulumi.set(__self__, "should_keep", should_keep) - pulumi.set(__self__, "value", value) + GetSteeringPolicyRuleDefaultAnswerDataResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + answer_condition=answer_condition, + should_keep=should_keep, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + answer_condition: str, + should_keep: bool, + value: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("answer_condition", answer_condition) + _setter("should_keep", should_keep) + _setter("value", value) @property @pulumi.getter(name="answerCondition") @@ -3256,10 +4063,23 @@ def __init__(__self__, *, """ :param str name: The name of a resource. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetTsigKeysFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3307,17 +4127,46 @@ def __init__(__self__, *, :param str time_created: The date and time the resource was created, expressed in RFC 3339 timestamp format. :param str time_updated: The date and time the resource was last updated, expressed in RFC 3339 timestamp format. """ - pulumi.set(__self__, "algorithm", algorithm) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "secret", secret) - pulumi.set(__self__, "self", self) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetTsigKeysTsigKeyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + algorithm=algorithm, + compartment_id=compartment_id, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + id=id, + name=name, + secret=secret, + self=self, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + algorithm: str, + compartment_id: str, + defined_tags: Mapping[str, Any], + freeform_tags: Mapping[str, Any], + id: str, + name: str, + secret: str, + self: str, + state: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("algorithm", algorithm) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("name", name) + _setter("secret", secret) + _setter("self", self) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter @@ -3414,10 +4263,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetViewsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3462,17 +4324,46 @@ def __init__(__self__, *, :param str time_created: The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339. :param str time_updated: The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_protected", is_protected) - pulumi.set(__self__, "scope", scope) - pulumi.set(__self__, "self", self) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetViewsViewResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + is_protected=is_protected, + scope=scope, + self=self, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + is_protected: bool, + scope: str, + self: str, + state: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_protected", is_protected) + _setter("scope", scope) + _setter("self", self) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -3572,10 +4463,23 @@ def __init__(__self__, *, """ :param str name: A case-sensitive filter for zone names. Will match any zone with a name that equals the provided value. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetZonesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3638,24 +4542,67 @@ def __init__(__self__, *, :param Sequence['GetZonesZoneZoneTransferServerArgs'] zone_transfer_servers: The Oracle Cloud Infrastructure nameservers that transfer the zone data with external nameservers. :param str zone_type: Search by zone type, `PRIMARY` or `SECONDARY`. Will match any zone whose type equals the provided value. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "external_downstreams", external_downstreams) - pulumi.set(__self__, "external_masters", external_masters) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_protected", is_protected) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "nameservers", nameservers) - pulumi.set(__self__, "scope", scope) - pulumi.set(__self__, "self", self) - pulumi.set(__self__, "serial", serial) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "version", version) - pulumi.set(__self__, "view_id", view_id) - pulumi.set(__self__, "zone_transfer_servers", zone_transfer_servers) - pulumi.set(__self__, "zone_type", zone_type) + GetZonesZoneResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + external_downstreams=external_downstreams, + external_masters=external_masters, + freeform_tags=freeform_tags, + id=id, + is_protected=is_protected, + name=name, + nameservers=nameservers, + scope=scope, + self=self, + serial=serial, + state=state, + time_created=time_created, + version=version, + view_id=view_id, + zone_transfer_servers=zone_transfer_servers, + zone_type=zone_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + external_downstreams: Sequence['outputs.GetZonesZoneExternalDownstreamResult'], + external_masters: Sequence['outputs.GetZonesZoneExternalMasterResult'], + freeform_tags: Mapping[str, Any], + id: str, + is_protected: bool, + name: str, + nameservers: Sequence['outputs.GetZonesZoneNameserverResult'], + scope: str, + self: str, + serial: int, + state: str, + time_created: str, + version: str, + view_id: str, + zone_transfer_servers: Sequence['outputs.GetZonesZoneZoneTransferServerResult'], + zone_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("external_downstreams", external_downstreams) + _setter("external_masters", external_masters) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_protected", is_protected) + _setter("name", name) + _setter("nameservers", nameservers) + _setter("scope", scope) + _setter("self", self) + _setter("serial", serial) + _setter("state", state) + _setter("time_created", time_created) + _setter("version", version) + _setter("view_id", view_id) + _setter("zone_transfer_servers", zone_transfer_servers) + _setter("zone_type", zone_type) @property @pulumi.getter(name="compartmentId") @@ -3814,9 +4761,22 @@ def __init__(__self__, *, :param int port: The server's port. Port value must be a value of 53, otherwise omit the port value. :param str tsig_key_id: Search for zones that are associated with a TSIG key. """ - pulumi.set(__self__, "address", address) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "tsig_key_id", tsig_key_id) + GetZonesZoneExternalDownstreamResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + address=address, + port=port, + tsig_key_id=tsig_key_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address: str, + port: int, + tsig_key_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("address", address) + _setter("port", port) + _setter("tsig_key_id", tsig_key_id) @property @pulumi.getter @@ -3854,9 +4814,22 @@ def __init__(__self__, *, :param int port: The server's port. Port value must be a value of 53, otherwise omit the port value. :param str tsig_key_id: Search for zones that are associated with a TSIG key. """ - pulumi.set(__self__, "address", address) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "tsig_key_id", tsig_key_id) + GetZonesZoneExternalMasterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + address=address, + port=port, + tsig_key_id=tsig_key_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address: str, + port: int, + tsig_key_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("address", address) + _setter("port", port) + _setter("tsig_key_id", tsig_key_id) @property @pulumi.getter @@ -3890,7 +4863,16 @@ def __init__(__self__, *, """ :param str hostname: The hostname of the nameserver. """ - pulumi.set(__self__, "hostname", hostname) + GetZonesZoneNameserverResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + hostname=hostname, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hostname: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("hostname", hostname) @property @pulumi.getter @@ -3914,10 +4896,25 @@ def __init__(__self__, *, :param bool is_transfer_source: A Boolean flag indicating whether or not the server is a zone data transfer source. :param int port: The server's port. Port value must be a value of 53, otherwise omit the port value. """ - pulumi.set(__self__, "address", address) - pulumi.set(__self__, "is_transfer_destination", is_transfer_destination) - pulumi.set(__self__, "is_transfer_source", is_transfer_source) - pulumi.set(__self__, "port", port) + GetZonesZoneZoneTransferServerResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + address=address, + is_transfer_destination=is_transfer_destination, + is_transfer_source=is_transfer_source, + port=port, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address: str, + is_transfer_destination: bool, + is_transfer_source: bool, + port: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("address", address) + _setter("is_transfer_destination", is_transfer_destination) + _setter("is_transfer_source", is_transfer_source) + _setter("port", port) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/dns/record.py b/sdk/python/pulumi_oci/dns/record.py index 05ab4e2f3d..e343ce019e 100644 --- a/sdk/python/pulumi_oci/dns/record.py +++ b/sdk/python/pulumi_oci/dns/record.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['RecordArgs', 'Record'] @@ -33,24 +33,43 @@ def __init__(__self__, *, :param pulumi.Input[str] rdata: (Updatable) The record's data, as whitespace-delimited tokens in type-specific presentation format. All RDATA is normalized and the returned presentation of your RDATA may differ from its initial input. For more information about RDATA, see [Supported DNS Resource Record Types](https://docs.cloud.oracle.com/iaas/Content/DNS/Reference/supporteddnsresource.htm) :param pulumi.Input[int] ttl: (Updatable) The Time To Live for the record, in seconds. """ + RecordArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + domain=domain, + rtype=rtype, + zone_name_or_id=zone_name_or_id, + compartment_id=compartment_id, + rdata=rdata, + ttl=ttl, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + domain: pulumi.Input[str], + rtype: pulumi.Input[str], + zone_name_or_id: pulumi.Input[str], + compartment_id: Optional[pulumi.Input[str]] = None, + rdata: Optional[pulumi.Input[str]] = None, + ttl: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if domain is not None: warnings.warn("""The 'oci_dns_record' resource has been deprecated. Please use 'oci_dns_rrset' instead.""", DeprecationWarning) pulumi.log.warn("""domain is deprecated: The 'oci_dns_record' resource has been deprecated. Please use 'oci_dns_rrset' instead.""") - pulumi.set(__self__, "domain", domain) + _setter("domain", domain) if rtype is not None: warnings.warn("""The 'oci_dns_record' resource has been deprecated. Please use 'oci_dns_rrset' instead.""", DeprecationWarning) pulumi.log.warn("""rtype is deprecated: The 'oci_dns_record' resource has been deprecated. Please use 'oci_dns_rrset' instead.""") - pulumi.set(__self__, "rtype", rtype) + _setter("rtype", rtype) if zone_name_or_id is not None: warnings.warn("""The 'oci_dns_record' resource has been deprecated. Please use 'oci_dns_rrset' instead.""", DeprecationWarning) pulumi.log.warn("""zone_name_or_id is deprecated: The 'oci_dns_record' resource has been deprecated. Please use 'oci_dns_rrset' instead.""") - pulumi.set(__self__, "zone_name_or_id", zone_name_or_id) + _setter("zone_name_or_id", zone_name_or_id) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if rdata is not None: - pulumi.set(__self__, "rdata", rdata) + _setter("rdata", rdata) if ttl is not None: - pulumi.set(__self__, "ttl", ttl) + _setter("ttl", ttl) @property @pulumi.getter @@ -166,33 +185,58 @@ def __init__(__self__, *, ** 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 """ + _RecordState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + domain=domain, + is_protected=is_protected, + rdata=rdata, + record_hash=record_hash, + rrset_version=rrset_version, + rtype=rtype, + ttl=ttl, + zone_name_or_id=zone_name_or_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + domain: Optional[pulumi.Input[str]] = None, + is_protected: Optional[pulumi.Input[bool]] = None, + rdata: Optional[pulumi.Input[str]] = None, + record_hash: Optional[pulumi.Input[str]] = None, + rrset_version: Optional[pulumi.Input[str]] = None, + rtype: Optional[pulumi.Input[str]] = None, + ttl: Optional[pulumi.Input[int]] = None, + zone_name_or_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if domain is not None: warnings.warn("""The 'oci_dns_record' resource has been deprecated. Please use 'oci_dns_rrset' instead.""", DeprecationWarning) pulumi.log.warn("""domain is deprecated: The 'oci_dns_record' resource has been deprecated. Please use 'oci_dns_rrset' instead.""") if domain is not None: - pulumi.set(__self__, "domain", domain) + _setter("domain", domain) if is_protected is not None: - pulumi.set(__self__, "is_protected", is_protected) + _setter("is_protected", is_protected) if rdata is not None: - pulumi.set(__self__, "rdata", rdata) + _setter("rdata", rdata) if record_hash is not None: - pulumi.set(__self__, "record_hash", record_hash) + _setter("record_hash", record_hash) if rrset_version is not None: - pulumi.set(__self__, "rrset_version", rrset_version) + _setter("rrset_version", rrset_version) if rtype is not None: warnings.warn("""The 'oci_dns_record' resource has been deprecated. Please use 'oci_dns_rrset' instead.""", DeprecationWarning) pulumi.log.warn("""rtype is deprecated: The 'oci_dns_record' resource has been deprecated. Please use 'oci_dns_rrset' instead.""") if rtype is not None: - pulumi.set(__self__, "rtype", rtype) + _setter("rtype", rtype) if ttl is not None: - pulumi.set(__self__, "ttl", ttl) + _setter("ttl", ttl) if zone_name_or_id is not None: warnings.warn("""The 'oci_dns_record' resource has been deprecated. Please use 'oci_dns_rrset' instead.""", DeprecationWarning) pulumi.log.warn("""zone_name_or_id is deprecated: The 'oci_dns_record' resource has been deprecated. Please use 'oci_dns_rrset' instead.""") if zone_name_or_id is not None: - pulumi.set(__self__, "zone_name_or_id", zone_name_or_id) + _setter("zone_name_or_id", zone_name_or_id) @property @pulumi.getter(name="compartmentId") @@ -417,6 +461,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + RecordArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -438,23 +486,14 @@ def _internal_init(__self__, __props__ = RecordArgs.__new__(RecordArgs) __props__.__dict__["compartment_id"] = compartment_id - if domain is not None and not opts.urn: - warnings.warn("""The 'oci_dns_record' resource has been deprecated. Please use 'oci_dns_rrset' instead.""", DeprecationWarning) - pulumi.log.warn("""domain is deprecated: The 'oci_dns_record' resource has been deprecated. Please use 'oci_dns_rrset' instead.""") if domain is None and not opts.urn: raise TypeError("Missing required property 'domain'") __props__.__dict__["domain"] = domain __props__.__dict__["rdata"] = rdata - if rtype is not None and not opts.urn: - warnings.warn("""The 'oci_dns_record' resource has been deprecated. Please use 'oci_dns_rrset' instead.""", DeprecationWarning) - pulumi.log.warn("""rtype is deprecated: The 'oci_dns_record' resource has been deprecated. Please use 'oci_dns_rrset' instead.""") if rtype is None and not opts.urn: raise TypeError("Missing required property 'rtype'") __props__.__dict__["rtype"] = rtype __props__.__dict__["ttl"] = ttl - if zone_name_or_id is not None and not opts.urn: - warnings.warn("""The 'oci_dns_record' resource has been deprecated. Please use 'oci_dns_rrset' instead.""", DeprecationWarning) - pulumi.log.warn("""zone_name_or_id is deprecated: The 'oci_dns_record' resource has been deprecated. Please use 'oci_dns_rrset' instead.""") if zone_name_or_id is None and not opts.urn: raise TypeError("Missing required property 'zone_name_or_id'") __props__.__dict__["zone_name_or_id"] = zone_name_or_id diff --git a/sdk/python/pulumi_oci/dns/resolver.py b/sdk/python/pulumi_oci/dns/resolver.py index 31fda761bb..d45fbf5f54 100644 --- a/sdk/python/pulumi_oci/dns/resolver.py +++ b/sdk/python/pulumi_oci/dns/resolver.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -43,21 +43,44 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "resolver_id", resolver_id) + ResolverArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + resolver_id=resolver_id, + attached_views=attached_views, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + rules=rules, + scope=scope, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + resolver_id: pulumi.Input[str], + attached_views: Optional[pulumi.Input[Sequence[pulumi.Input['ResolverAttachedViewArgs']]]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + rules: Optional[pulumi.Input[Sequence[pulumi.Input['ResolverRuleArgs']]]] = None, + scope: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("resolver_id", resolver_id) if attached_views is not None: - pulumi.set(__self__, "attached_views", attached_views) + _setter("attached_views", attached_views) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if rules is not None: - pulumi.set(__self__, "rules", rules) + _setter("rules", rules) if scope is not None: - pulumi.set(__self__, "scope", scope) + _setter("scope", scope) @property @pulumi.getter(name="resolverId") @@ -210,38 +233,77 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339. :param pulumi.Input[str] time_updated: The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339. """ + _ResolverState._configure( + lambda key, value: pulumi.set(__self__, key, value), + attached_vcn_id=attached_vcn_id, + attached_views=attached_views, + compartment_id=compartment_id, + default_view_id=default_view_id, + defined_tags=defined_tags, + display_name=display_name, + endpoints=endpoints, + freeform_tags=freeform_tags, + is_protected=is_protected, + resolver_id=resolver_id, + rules=rules, + scope=scope, + self=self, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attached_vcn_id: Optional[pulumi.Input[str]] = None, + attached_views: Optional[pulumi.Input[Sequence[pulumi.Input['ResolverAttachedViewArgs']]]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + default_view_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + endpoints: Optional[pulumi.Input[Sequence[pulumi.Input['ResolverEndpointArgs']]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_protected: Optional[pulumi.Input[bool]] = None, + resolver_id: Optional[pulumi.Input[str]] = None, + rules: Optional[pulumi.Input[Sequence[pulumi.Input['ResolverRuleArgs']]]] = None, + scope: Optional[pulumi.Input[str]] = None, + self: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if attached_vcn_id is not None: - pulumi.set(__self__, "attached_vcn_id", attached_vcn_id) + _setter("attached_vcn_id", attached_vcn_id) if attached_views is not None: - pulumi.set(__self__, "attached_views", attached_views) + _setter("attached_views", attached_views) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if default_view_id is not None: - pulumi.set(__self__, "default_view_id", default_view_id) + _setter("default_view_id", default_view_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if endpoints is not None: - pulumi.set(__self__, "endpoints", endpoints) + _setter("endpoints", endpoints) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_protected is not None: - pulumi.set(__self__, "is_protected", is_protected) + _setter("is_protected", is_protected) if resolver_id is not None: - pulumi.set(__self__, "resolver_id", resolver_id) + _setter("resolver_id", resolver_id) if rules is not None: - pulumi.set(__self__, "rules", rules) + _setter("rules", rules) if scope is not None: - pulumi.set(__self__, "scope", scope) + _setter("scope", scope) if self is not None: - pulumi.set(__self__, "self", self) + _setter("self", self) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="attachedVcnId") @@ -525,6 +587,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ResolverArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/dns/resolver_endpoint.py b/sdk/python/pulumi_oci/dns/resolver_endpoint.py index 0ffc27003e..4686a4c848 100644 --- a/sdk/python/pulumi_oci/dns/resolver_endpoint.py +++ b/sdk/python/pulumi_oci/dns/resolver_endpoint.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['ResolverEndpointInitArgs', 'ResolverEndpoint'] @@ -41,22 +41,49 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] nsg_ids: An array of network security group OCIDs for the resolver endpoint. These must be part of the VCN that the resolver endpoint is a part of. :param pulumi.Input[str] scope: Value must be `PRIVATE` when creating private name resolver endpoints. """ - pulumi.set(__self__, "is_forwarding", is_forwarding) - pulumi.set(__self__, "is_listening", is_listening) - pulumi.set(__self__, "resolver_id", resolver_id) - pulumi.set(__self__, "subnet_id", subnet_id) + ResolverEndpointInitArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_forwarding=is_forwarding, + is_listening=is_listening, + resolver_id=resolver_id, + subnet_id=subnet_id, + endpoint_type=endpoint_type, + forwarding_address=forwarding_address, + listening_address=listening_address, + name=name, + nsg_ids=nsg_ids, + scope=scope, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_forwarding: pulumi.Input[bool], + is_listening: pulumi.Input[bool], + resolver_id: pulumi.Input[str], + subnet_id: pulumi.Input[str], + endpoint_type: Optional[pulumi.Input[str]] = None, + forwarding_address: Optional[pulumi.Input[str]] = None, + listening_address: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + scope: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_forwarding", is_forwarding) + _setter("is_listening", is_listening) + _setter("resolver_id", resolver_id) + _setter("subnet_id", subnet_id) if endpoint_type is not None: - pulumi.set(__self__, "endpoint_type", endpoint_type) + _setter("endpoint_type", endpoint_type) if forwarding_address is not None: - pulumi.set(__self__, "forwarding_address", forwarding_address) + _setter("forwarding_address", forwarding_address) if listening_address is not None: - pulumi.set(__self__, "listening_address", listening_address) + _setter("listening_address", listening_address) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) if scope is not None: - pulumi.set(__self__, "scope", scope) + _setter("scope", scope) @property @pulumi.getter(name="isForwarding") @@ -223,36 +250,73 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339. :param pulumi.Input[str] time_updated: The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339. """ + _ResolverEndpointState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + endpoint_type=endpoint_type, + forwarding_address=forwarding_address, + is_forwarding=is_forwarding, + is_listening=is_listening, + listening_address=listening_address, + name=name, + nsg_ids=nsg_ids, + resolver_id=resolver_id, + scope=scope, + self=self, + state=state, + subnet_id=subnet_id, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + endpoint_type: Optional[pulumi.Input[str]] = None, + forwarding_address: Optional[pulumi.Input[str]] = None, + is_forwarding: Optional[pulumi.Input[bool]] = None, + is_listening: Optional[pulumi.Input[bool]] = None, + listening_address: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + resolver_id: Optional[pulumi.Input[str]] = None, + scope: Optional[pulumi.Input[str]] = None, + self: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if endpoint_type is not None: - pulumi.set(__self__, "endpoint_type", endpoint_type) + _setter("endpoint_type", endpoint_type) if forwarding_address is not None: - pulumi.set(__self__, "forwarding_address", forwarding_address) + _setter("forwarding_address", forwarding_address) if is_forwarding is not None: - pulumi.set(__self__, "is_forwarding", is_forwarding) + _setter("is_forwarding", is_forwarding) if is_listening is not None: - pulumi.set(__self__, "is_listening", is_listening) + _setter("is_listening", is_listening) if listening_address is not None: - pulumi.set(__self__, "listening_address", listening_address) + _setter("listening_address", listening_address) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) if resolver_id is not None: - pulumi.set(__self__, "resolver_id", resolver_id) + _setter("resolver_id", resolver_id) if scope is not None: - pulumi.set(__self__, "scope", scope) + _setter("scope", scope) if self is not None: - pulumi.set(__self__, "self", self) + _setter("self", self) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -560,6 +624,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ResolverEndpointInitArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/dns/rrset.py b/sdk/python/pulumi_oci/dns/rrset.py index 1a0c3088b8..b3ce105ada 100644 --- a/sdk/python/pulumi_oci/dns/rrset.py +++ b/sdk/python/pulumi_oci/dns/rrset.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -39,17 +39,38 @@ def __init__(__self__, *, This value will be null for zones in the global DNS and `PRIVATE` when creating private Rrsets. :param pulumi.Input[str] view_id: The OCID of the view the resource is associated with. """ - pulumi.set(__self__, "domain", domain) - pulumi.set(__self__, "rtype", rtype) - pulumi.set(__self__, "zone_name_or_id", zone_name_or_id) + RrsetArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + domain=domain, + rtype=rtype, + zone_name_or_id=zone_name_or_id, + compartment_id=compartment_id, + items=items, + scope=scope, + view_id=view_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + domain: pulumi.Input[str], + rtype: pulumi.Input[str], + zone_name_or_id: pulumi.Input[str], + compartment_id: Optional[pulumi.Input[str]] = None, + items: Optional[pulumi.Input[Sequence[pulumi.Input['RrsetItemArgs']]]] = None, + scope: Optional[pulumi.Input[str]] = None, + view_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("domain", domain) + _setter("rtype", rtype) + _setter("zone_name_or_id", zone_name_or_id) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) if scope is not None: - pulumi.set(__self__, "scope", scope) + _setter("scope", scope) if view_id is not None: - pulumi.set(__self__, "view_id", view_id) + _setter("view_id", view_id) @property @pulumi.getter @@ -168,20 +189,41 @@ def __init__(__self__, *, ** 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 """ + _RrsetState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + domain=domain, + items=items, + rtype=rtype, + scope=scope, + view_id=view_id, + zone_name_or_id=zone_name_or_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + domain: Optional[pulumi.Input[str]] = None, + items: Optional[pulumi.Input[Sequence[pulumi.Input['RrsetItemArgs']]]] = None, + rtype: Optional[pulumi.Input[str]] = None, + scope: Optional[pulumi.Input[str]] = None, + view_id: Optional[pulumi.Input[str]] = None, + zone_name_or_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if domain is not None: - pulumi.set(__self__, "domain", domain) + _setter("domain", domain) if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) if rtype is not None: - pulumi.set(__self__, "rtype", rtype) + _setter("rtype", rtype) if scope is not None: - pulumi.set(__self__, "scope", scope) + _setter("scope", scope) if view_id is not None: - pulumi.set(__self__, "view_id", view_id) + _setter("view_id", view_id) if zone_name_or_id is not None: - pulumi.set(__self__, "zone_name_or_id", zone_name_or_id) + _setter("zone_name_or_id", zone_name_or_id) @property @pulumi.getter(name="compartmentId") @@ -401,6 +443,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + RrsetArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/dns/steering_policy.py b/sdk/python/pulumi_oci/dns/steering_policy.py index 199d561e2d..fe351a27b1 100644 --- a/sdk/python/pulumi_oci/dns/steering_policy.py +++ b/sdk/python/pulumi_oci/dns/steering_policy.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -53,21 +53,46 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "template", template) + SteeringPolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + template=template, + answers=answers, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + health_check_monitor_id=health_check_monitor_id, + rules=rules, + ttl=ttl, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + template: pulumi.Input[str], + answers: Optional[pulumi.Input[Sequence[pulumi.Input['SteeringPolicyAnswerArgs']]]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + health_check_monitor_id: Optional[pulumi.Input[str]] = None, + rules: Optional[pulumi.Input[Sequence[pulumi.Input['SteeringPolicyRuleArgs']]]] = None, + ttl: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) + _setter("template", template) if answers is not None: - pulumi.set(__self__, "answers", answers) + _setter("answers", answers) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if health_check_monitor_id is not None: - pulumi.set(__self__, "health_check_monitor_id", health_check_monitor_id) + _setter("health_check_monitor_id", health_check_monitor_id) if rules is not None: - pulumi.set(__self__, "rules", rules) + _setter("rules", rules) if ttl is not None: - pulumi.set(__self__, "ttl", ttl) + _setter("ttl", ttl) @property @pulumi.getter(name="compartmentId") @@ -240,30 +265,61 @@ def __init__(__self__, *, ** 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 """ + _SteeringPolicyState._configure( + lambda key, value: pulumi.set(__self__, key, value), + answers=answers, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + health_check_monitor_id=health_check_monitor_id, + rules=rules, + self=self, + state=state, + template=template, + time_created=time_created, + ttl=ttl, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + answers: Optional[pulumi.Input[Sequence[pulumi.Input['SteeringPolicyAnswerArgs']]]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + health_check_monitor_id: Optional[pulumi.Input[str]] = None, + rules: Optional[pulumi.Input[Sequence[pulumi.Input['SteeringPolicyRuleArgs']]]] = None, + self: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + template: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + ttl: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if answers is not None: - pulumi.set(__self__, "answers", answers) + _setter("answers", answers) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if health_check_monitor_id is not None: - pulumi.set(__self__, "health_check_monitor_id", health_check_monitor_id) + _setter("health_check_monitor_id", health_check_monitor_id) if rules is not None: - pulumi.set(__self__, "rules", rules) + _setter("rules", rules) if self is not None: - pulumi.set(__self__, "self", self) + _setter("self", self) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if template is not None: - pulumi.set(__self__, "template", template) + _setter("template", template) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if ttl is not None: - pulumi.set(__self__, "ttl", ttl) + _setter("ttl", ttl) @property @pulumi.getter @@ -597,6 +653,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + SteeringPolicyArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/dns/steering_policy_attachment.py b/sdk/python/pulumi_oci/dns/steering_policy_attachment.py index 0519651354..d8b99c8af6 100644 --- a/sdk/python/pulumi_oci/dns/steering_policy_attachment.py +++ b/sdk/python/pulumi_oci/dns/steering_policy_attachment.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['SteeringPolicyAttachmentArgs', 'SteeringPolicyAttachment'] @@ -29,11 +29,26 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] display_name: (Updatable) A user-friendly name for the steering policy attachment. Does not have to be unique and can be changed. Avoid entering confidential information. """ - pulumi.set(__self__, "domain_name", domain_name) - pulumi.set(__self__, "steering_policy_id", steering_policy_id) - pulumi.set(__self__, "zone_id", zone_id) + SteeringPolicyAttachmentArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + domain_name=domain_name, + steering_policy_id=steering_policy_id, + zone_id=zone_id, + display_name=display_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + domain_name: pulumi.Input[str], + steering_policy_id: pulumi.Input[str], + zone_id: pulumi.Input[str], + display_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("domain_name", domain_name) + _setter("steering_policy_id", steering_policy_id) + _setter("zone_id", zone_id) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) @property @pulumi.getter(name="domainName") @@ -116,24 +131,49 @@ def __init__(__self__, *, ** 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 """ + _SteeringPolicyAttachmentState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + domain_name=domain_name, + rtypes=rtypes, + self=self, + state=state, + steering_policy_id=steering_policy_id, + time_created=time_created, + zone_id=zone_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + domain_name: Optional[pulumi.Input[str]] = None, + rtypes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + self: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + steering_policy_id: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + zone_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if domain_name is not None: - pulumi.set(__self__, "domain_name", domain_name) + _setter("domain_name", domain_name) if rtypes is not None: - pulumi.set(__self__, "rtypes", rtypes) + _setter("rtypes", rtypes) if self is not None: - pulumi.set(__self__, "self", self) + _setter("self", self) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if steering_policy_id is not None: - pulumi.set(__self__, "steering_policy_id", steering_policy_id) + _setter("steering_policy_id", steering_policy_id) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if zone_id is not None: - pulumi.set(__self__, "zone_id", zone_id) + _setter("zone_id", zone_id) @property @pulumi.getter(name="compartmentId") @@ -347,6 +387,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + SteeringPolicyAttachmentArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/dns/tsig_key.py b/sdk/python/pulumi_oci/dns/tsig_key.py index c2768501f8..ee9b6e3cfc 100644 --- a/sdk/python/pulumi_oci/dns/tsig_key.py +++ b/sdk/python/pulumi_oci/dns/tsig_key.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['TsigKeyArgs', 'TsigKey'] @@ -37,15 +37,34 @@ def __init__(__self__, *, **Example:** `{"Department": "Finance"}` :param pulumi.Input[str] name: A globally unique domain name identifying the key for a given pair of hosts. """ - pulumi.set(__self__, "algorithm", algorithm) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "secret", secret) + TsigKeyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + algorithm=algorithm, + compartment_id=compartment_id, + secret=secret, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + algorithm: pulumi.Input[str], + compartment_id: pulumi.Input[str], + secret: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("algorithm", algorithm) + _setter("compartment_id", compartment_id) + _setter("secret", secret) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -162,26 +181,53 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the resource was created, expressed in RFC 3339 timestamp format. :param pulumi.Input[str] time_updated: The date and time the resource was last updated, expressed in RFC 3339 timestamp format. """ + _TsigKeyState._configure( + lambda key, value: pulumi.set(__self__, key, value), + algorithm=algorithm, + compartment_id=compartment_id, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + name=name, + secret=secret, + self=self, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + algorithm: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + name: Optional[pulumi.Input[str]] = None, + secret: Optional[pulumi.Input[str]] = None, + self: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if algorithm is not None: - pulumi.set(__self__, "algorithm", algorithm) + _setter("algorithm", algorithm) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if secret is not None: - pulumi.set(__self__, "secret", secret) + _setter("secret", secret) if self is not None: - pulumi.set(__self__, "self", self) + _setter("self", self) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter @@ -413,6 +459,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + TsigKeyArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/dns/view.py b/sdk/python/pulumi_oci/dns/view.py index 24db3825b0..2ced9e1606 100644 --- a/sdk/python/pulumi_oci/dns/view.py +++ b/sdk/python/pulumi_oci/dns/view.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['ViewArgs', 'View'] @@ -35,15 +35,32 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) + ViewArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + scope=scope, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + scope: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if scope is not None: - pulumi.set(__self__, "scope", scope) + _setter("scope", scope) @property @pulumi.getter(name="compartmentId") @@ -148,26 +165,53 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339. :param pulumi.Input[str] time_updated: The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ" format with a Z offset, as defined by RFC 3339. """ + _ViewState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + is_protected=is_protected, + scope=scope, + self=self, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_protected: Optional[pulumi.Input[bool]] = None, + scope: Optional[pulumi.Input[str]] = None, + self: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_protected is not None: - pulumi.set(__self__, "is_protected", is_protected) + _setter("is_protected", is_protected) if scope is not None: - pulumi.set(__self__, "scope", scope) + _setter("scope", scope) if self is not None: - pulumi.set(__self__, "self", self) + _setter("self", self) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -395,6 +439,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ViewArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/dns/zone.py b/sdk/python/pulumi_oci/dns/zone.py index 822751b59c..64a4201397 100644 --- a/sdk/python/pulumi_oci/dns/zone.py +++ b/sdk/python/pulumi_oci/dns/zone.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -46,22 +46,47 @@ def __init__(__self__, *, This value will be null for zones in the global DNS and `PRIVATE` when creating a private zone. :param pulumi.Input[str] view_id: The OCID of the private view containing the zone. This value will be null for zones in the global DNS, which are publicly resolvable and not part of a private view. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "zone_type", zone_type) + ZoneArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + zone_type=zone_type, + defined_tags=defined_tags, + external_downstreams=external_downstreams, + external_masters=external_masters, + freeform_tags=freeform_tags, + name=name, + scope=scope, + view_id=view_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + zone_type: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + external_downstreams: Optional[pulumi.Input[Sequence[pulumi.Input['ZoneExternalDownstreamArgs']]]] = None, + external_masters: Optional[pulumi.Input[Sequence[pulumi.Input['ZoneExternalMasterArgs']]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + name: Optional[pulumi.Input[str]] = None, + scope: Optional[pulumi.Input[str]] = None, + view_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("zone_type", zone_type) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if external_downstreams is not None: - pulumi.set(__self__, "external_downstreams", external_downstreams) + _setter("external_downstreams", external_downstreams) if external_masters is not None: - pulumi.set(__self__, "external_masters", external_masters) + _setter("external_masters", external_masters) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if scope is not None: - pulumi.set(__self__, "scope", scope) + _setter("scope", scope) if view_id is not None: - pulumi.set(__self__, "view_id", view_id) + _setter("view_id", view_id) @property @pulumi.getter(name="compartmentId") @@ -230,40 +255,81 @@ def __init__(__self__, *, ** 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 """ + _ZoneState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + external_downstreams=external_downstreams, + external_masters=external_masters, + freeform_tags=freeform_tags, + is_protected=is_protected, + name=name, + nameservers=nameservers, + scope=scope, + self=self, + serial=serial, + state=state, + time_created=time_created, + version=version, + view_id=view_id, + zone_transfer_servers=zone_transfer_servers, + zone_type=zone_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + external_downstreams: Optional[pulumi.Input[Sequence[pulumi.Input['ZoneExternalDownstreamArgs']]]] = None, + external_masters: Optional[pulumi.Input[Sequence[pulumi.Input['ZoneExternalMasterArgs']]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_protected: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + nameservers: Optional[pulumi.Input[Sequence[pulumi.Input['ZoneNameserverArgs']]]] = None, + scope: Optional[pulumi.Input[str]] = None, + self: Optional[pulumi.Input[str]] = None, + serial: Optional[pulumi.Input[int]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + version: Optional[pulumi.Input[str]] = None, + view_id: Optional[pulumi.Input[str]] = None, + zone_transfer_servers: Optional[pulumi.Input[Sequence[pulumi.Input['ZoneZoneTransferServerArgs']]]] = None, + zone_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if external_downstreams is not None: - pulumi.set(__self__, "external_downstreams", external_downstreams) + _setter("external_downstreams", external_downstreams) if external_masters is not None: - pulumi.set(__self__, "external_masters", external_masters) + _setter("external_masters", external_masters) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_protected is not None: - pulumi.set(__self__, "is_protected", is_protected) + _setter("is_protected", is_protected) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if nameservers is not None: - pulumi.set(__self__, "nameservers", nameservers) + _setter("nameservers", nameservers) if scope is not None: - pulumi.set(__self__, "scope", scope) + _setter("scope", scope) if self is not None: - pulumi.set(__self__, "self", self) + _setter("self", self) if serial is not None: - pulumi.set(__self__, "serial", serial) + _setter("serial", serial) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) if view_id is not None: - pulumi.set(__self__, "view_id", view_id) + _setter("view_id", view_id) if zone_transfer_servers is not None: - pulumi.set(__self__, "zone_transfer_servers", zone_transfer_servers) + _setter("zone_transfer_servers", zone_transfer_servers) if zone_type is not None: - pulumi.set(__self__, "zone_type", zone_type) + _setter("zone_type", zone_type) @property @pulumi.getter(name="compartmentId") @@ -615,6 +681,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ZoneArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/email/_inputs.py b/sdk/python/pulumi_oci/email/_inputs.py index 4b0cb3bc1a..bbe855ce3c 100644 --- a/sdk/python/pulumi_oci/email/_inputs.py +++ b/sdk/python/pulumi_oci/email/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -25,10 +25,23 @@ def __init__(__self__, *, """ :param str name: A filter to only return resources that match the given name exactly. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDkimsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -70,10 +83,23 @@ def __init__(__self__, *, """ :param str name: A filter to only return resources that match the given name exactly. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetEmailDomainsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -112,10 +138,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSendersFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -151,10 +190,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSuppressionsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/email/dkim.py b/sdk/python/pulumi_oci/email/dkim.py index ac0772e30c..4da542048b 100644 --- a/sdk/python/pulumi_oci/email/dkim.py +++ b/sdk/python/pulumi_oci/email/dkim.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['DkimArgs', 'Dkim'] @@ -35,15 +35,32 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "email_domain_id", email_domain_id) + DkimArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + email_domain_id=email_domain_id, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + email_domain_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("email_domain_id", email_domain_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter(name="emailDomainId") @@ -156,34 +173,69 @@ def __init__(__self__, *, :param pulumi.Input[str] time_updated: The time of the last change to the DKIM configuration, due to a state change or an update operation. Times are expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, "YYYY-MM-ddThh:mmZ". :param pulumi.Input[str] txt_record_value: The DNS TXT record value to provision to the DKIM DNS subdomain in place of using a CNAME record. This is used in cases where a CNAME can not be used, such as when the cnameRecordValue would exceed the maximum length for a DNS entry. This can also be used by customers who have an existing procedure to directly provision TXT records for DKIM. Be aware that many DNS APIs will require you to break this string into segments of less than 255 characters. """ + _DkimState._configure( + lambda key, value: pulumi.set(__self__, key, value), + cname_record_value=cname_record_value, + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + dns_subdomain_name=dns_subdomain_name, + email_domain_id=email_domain_id, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + name=name, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + txt_record_value=txt_record_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cname_record_value: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + dns_subdomain_name: Optional[pulumi.Input[str]] = None, + email_domain_id: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + txt_record_value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if cname_record_value is not None: - pulumi.set(__self__, "cname_record_value", cname_record_value) + _setter("cname_record_value", cname_record_value) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if dns_subdomain_name is not None: - pulumi.set(__self__, "dns_subdomain_name", dns_subdomain_name) + _setter("dns_subdomain_name", dns_subdomain_name) if email_domain_id is not None: - pulumi.set(__self__, "email_domain_id", email_domain_id) + _setter("email_domain_id", email_domain_id) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if txt_record_value is not None: - pulumi.set(__self__, "txt_record_value", txt_record_value) + _setter("txt_record_value", txt_record_value) @property @pulumi.getter(name="cnameRecordValue") @@ -473,6 +525,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DkimArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/email/email_domain.py b/sdk/python/pulumi_oci/email/email_domain.py index 7274611a6a..749b6734d8 100644 --- a/sdk/python/pulumi_oci/email/email_domain.py +++ b/sdk/python/pulumi_oci/email/email_domain.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['EmailDomainArgs', 'EmailDomain'] @@ -31,15 +31,32 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) + EmailDomainArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter(name="compartmentId") @@ -136,26 +153,53 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] system_tags: Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` :param pulumi.Input[str] time_created: The time the email domain was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, "YYYY-MM-ddThh:mmZ". Example: `2021-02-12T22:47:12.613Z` """ + _EmailDomainState._configure( + lambda key, value: pulumi.set(__self__, key, value), + active_dkim_id=active_dkim_id, + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + is_spf=is_spf, + name=name, + state=state, + system_tags=system_tags, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + active_dkim_id: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_spf: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if active_dkim_id is not None: - pulumi.set(__self__, "active_dkim_id", active_dkim_id) + _setter("active_dkim_id", active_dkim_id) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_spf is not None: - pulumi.set(__self__, "is_spf", is_spf) + _setter("is_spf", is_spf) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="activeDkimId") @@ -381,6 +425,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + EmailDomainArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/email/get_dkim.py b/sdk/python/pulumi_oci/email/get_dkim.py index 97370e066d..ed032dd9a1 100644 --- a/sdk/python/pulumi_oci/email/get_dkim.py +++ b/sdk/python/pulumi_oci/email/get_dkim.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/email/get_dkims.py b/sdk/python/pulumi_oci/email/get_dkims.py index 9f35b32be0..66db119fc4 100644 --- a/sdk/python/pulumi_oci/email/get_dkims.py +++ b/sdk/python/pulumi_oci/email/get_dkims.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/email/get_email_domain.py b/sdk/python/pulumi_oci/email/get_email_domain.py index 53f28d75cc..80553395b1 100644 --- a/sdk/python/pulumi_oci/email/get_email_domain.py +++ b/sdk/python/pulumi_oci/email/get_email_domain.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/email/get_email_domains.py b/sdk/python/pulumi_oci/email/get_email_domains.py index 07a2f3fc9c..7c2e70734b 100644 --- a/sdk/python/pulumi_oci/email/get_email_domains.py +++ b/sdk/python/pulumi_oci/email/get_email_domains.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/email/get_sender.py b/sdk/python/pulumi_oci/email/get_sender.py index 149983641f..da66945fe3 100644 --- a/sdk/python/pulumi_oci/email/get_sender.py +++ b/sdk/python/pulumi_oci/email/get_sender.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/email/get_senders.py b/sdk/python/pulumi_oci/email/get_senders.py index 246993cfe2..bc868e282d 100644 --- a/sdk/python/pulumi_oci/email/get_senders.py +++ b/sdk/python/pulumi_oci/email/get_senders.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/email/get_suppression.py b/sdk/python/pulumi_oci/email/get_suppression.py index e34363efc6..4b265335ac 100644 --- a/sdk/python/pulumi_oci/email/get_suppression.py +++ b/sdk/python/pulumi_oci/email/get_suppression.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/email/get_suppressions.py b/sdk/python/pulumi_oci/email/get_suppressions.py index e1a82df685..f97ba1e669 100644 --- a/sdk/python/pulumi_oci/email/get_suppressions.py +++ b/sdk/python/pulumi_oci/email/get_suppressions.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/email/outputs.py b/sdk/python/pulumi_oci/email/outputs.py index 415baccd45..0dd8f9fb38 100644 --- a/sdk/python/pulumi_oci/email/outputs.py +++ b/sdk/python/pulumi_oci/email/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -27,7 +27,16 @@ class GetDkimsDkimCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetDkimsDkimCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetDkimsDkimCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDkimsDkimCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -70,21 +79,58 @@ def __init__(__self__, *, :param str time_updated: The time of the last change to the DKIM configuration, due to a state change or an update operation. Times are expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, "YYYY-MM-ddThh:mmZ". :param str txt_record_value: The DNS TXT record value to provision to the DKIM DNS subdomain in place of using a CNAME record. This is used in cases where a CNAME can not be used, such as when the cnameRecordValue would exceed the maximum length for a DNS entry. This can also be used by customers who have an existing procedure to directly provision TXT records for DKIM. Be aware that many DNS APIs will require you to break this string into segments of less than 255 characters. """ - pulumi.set(__self__, "cname_record_value", cname_record_value) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "dns_subdomain_name", dns_subdomain_name) - pulumi.set(__self__, "email_domain_id", email_domain_id) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "txt_record_value", txt_record_value) + GetDkimsDkimCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cname_record_value=cname_record_value, + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + dns_subdomain_name=dns_subdomain_name, + email_domain_id=email_domain_id, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + name=name, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + txt_record_value=txt_record_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cname_record_value: str, + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + dns_subdomain_name: str, + email_domain_id: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + name: str, + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + txt_record_value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cname_record_value", cname_record_value) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("dns_subdomain_name", dns_subdomain_name) + _setter("email_domain_id", email_domain_id) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("name", name) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("txt_record_value", txt_record_value) @property @pulumi.getter(name="cnameRecordValue") @@ -216,10 +262,23 @@ def __init__(__self__, *, """ :param str name: A filter to only return resources that match the given name exactly. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDkimsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -244,7 +303,16 @@ def regex(self) -> Optional[bool]: class GetEmailDomainsEmailDomainCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetEmailDomainsEmailDomainCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetEmailDomainsEmailDomainCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetEmailDomainsEmailDomainCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -279,17 +347,46 @@ def __init__(__self__, *, :param Mapping[str, Any] system_tags: Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` :param str time_created: The time the email domain was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format, "YYYY-MM-ddThh:mmZ". Example: `2021-02-12T22:47:12.613Z` """ - pulumi.set(__self__, "active_dkim_id", active_dkim_id) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_spf", is_spf) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) + GetEmailDomainsEmailDomainCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + active_dkim_id=active_dkim_id, + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + id=id, + is_spf=is_spf, + name=name, + state=state, + system_tags=system_tags, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + active_dkim_id: str, + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + freeform_tags: Mapping[str, Any], + id: str, + is_spf: bool, + name: str, + state: str, + system_tags: Mapping[str, Any], + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("active_dkim_id", active_dkim_id) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_spf", is_spf) + _setter("name", name) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) @property @pulumi.getter(name="activeDkimId") @@ -389,10 +486,23 @@ def __init__(__self__, *, """ :param str name: A filter to only return resources that match the given name exactly. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetEmailDomainsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -419,10 +529,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSendersFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -463,15 +586,40 @@ def __init__(__self__, *, :param str state: The current state of a sender. :param str time_created: The date and time the approved sender was added in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "email_address", email_address) - pulumi.set(__self__, "email_domain_id", email_domain_id) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_spf", is_spf) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) + GetSendersSenderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + email_address=email_address, + email_domain_id=email_domain_id, + freeform_tags=freeform_tags, + id=id, + is_spf=is_spf, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + email_address: str, + email_domain_id: str, + freeform_tags: Mapping[str, Any], + id: str, + is_spf: bool, + state: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("email_address", email_address) + _setter("email_domain_id", email_domain_id) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_spf", is_spf) + _setter("state", state) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -552,10 +700,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSuppressionsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -596,15 +757,40 @@ def __init__(__self__, *, :param str time_created: The date and time a recipient's email address was added to the suppression list, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339. :param str time_last_suppressed: The last date and time the suppression prevented submission in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "email_address", email_address) - pulumi.set(__self__, "error_detail", error_detail) - pulumi.set(__self__, "error_source", error_source) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "message_id", message_id) - pulumi.set(__self__, "reason", reason) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_last_suppressed", time_last_suppressed) + GetSuppressionsSuppressionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + email_address=email_address, + error_detail=error_detail, + error_source=error_source, + id=id, + message_id=message_id, + reason=reason, + time_created=time_created, + time_last_suppressed=time_last_suppressed, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + email_address: str, + error_detail: str, + error_source: str, + id: str, + message_id: str, + reason: str, + time_created: str, + time_last_suppressed: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("email_address", email_address) + _setter("error_detail", error_detail) + _setter("error_source", error_source) + _setter("id", id) + _setter("message_id", message_id) + _setter("reason", reason) + _setter("time_created", time_created) + _setter("time_last_suppressed", time_last_suppressed) @property @pulumi.getter(name="compartmentId") diff --git a/sdk/python/pulumi_oci/email/sender.py b/sdk/python/pulumi_oci/email/sender.py index 3f38593f71..7da8f984f8 100644 --- a/sdk/python/pulumi_oci/email/sender.py +++ b/sdk/python/pulumi_oci/email/sender.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['SenderArgs', 'Sender'] @@ -29,12 +29,27 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "email_address", email_address) + SenderArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + email_address=email_address, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + email_address: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("email_address", email_address) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="compartmentId") @@ -115,22 +130,45 @@ def __init__(__self__, *, :param pulumi.Input[str] state: The current status of the approved sender. :param pulumi.Input[str] time_created: The date and time the approved sender was added in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339. """ + _SenderState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + email_address=email_address, + email_domain_id=email_domain_id, + freeform_tags=freeform_tags, + is_spf=is_spf, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + email_address: Optional[pulumi.Input[str]] = None, + email_domain_id: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_spf: Optional[pulumi.Input[bool]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if email_address is not None: - pulumi.set(__self__, "email_address", email_address) + _setter("email_address", email_address) if email_domain_id is not None: - pulumi.set(__self__, "email_domain_id", email_domain_id) + _setter("email_domain_id", email_domain_id) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_spf is not None: - pulumi.set(__self__, "is_spf", is_spf) + _setter("is_spf", is_spf) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -330,6 +368,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + SenderArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/email/suppression.py b/sdk/python/pulumi_oci/email/suppression.py index 53121d60c6..6a0f9647a4 100644 --- a/sdk/python/pulumi_oci/email/suppression.py +++ b/sdk/python/pulumi_oci/email/suppression.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['SuppressionArgs', 'Suppression'] @@ -25,8 +25,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "email_address", email_address) + SuppressionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + email_address=email_address, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + email_address: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("email_address", email_address) @property @pulumi.getter(name="compartmentId") @@ -83,22 +94,45 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time a recipient's email address was added to the suppression list, in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339. :param pulumi.Input[str] time_last_suppressed: The last date and time the suppression prevented submission in "YYYY-MM-ddThh:mmZ" format with a Z offset, as defined by RFC 3339. """ + _SuppressionState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + email_address=email_address, + error_detail=error_detail, + error_source=error_source, + message_id=message_id, + reason=reason, + time_created=time_created, + time_last_suppressed=time_last_suppressed, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + email_address: Optional[pulumi.Input[str]] = None, + error_detail: Optional[pulumi.Input[str]] = None, + error_source: Optional[pulumi.Input[str]] = None, + message_id: Optional[pulumi.Input[str]] = None, + reason: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_last_suppressed: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if email_address is not None: - pulumi.set(__self__, "email_address", email_address) + _setter("email_address", email_address) if error_detail is not None: - pulumi.set(__self__, "error_detail", error_detail) + _setter("error_detail", error_detail) if error_source is not None: - pulumi.set(__self__, "error_source", error_source) + _setter("error_source", error_source) if message_id is not None: - pulumi.set(__self__, "message_id", message_id) + _setter("message_id", message_id) if reason is not None: - pulumi.set(__self__, "reason", reason) + _setter("reason", reason) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_last_suppressed is not None: - pulumi.set(__self__, "time_last_suppressed", time_last_suppressed) + _setter("time_last_suppressed", time_last_suppressed) @property @pulumi.getter(name="compartmentId") @@ -288,6 +322,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + SuppressionArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/emwarehouse/_inputs.py b/sdk/python/pulumi_oci/emwarehouse/_inputs.py index c727aae169..857e0c829a 100644 --- a/sdk/python/pulumi_oci/emwarehouse/_inputs.py +++ b/sdk/python/pulumi_oci/emwarehouse/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -20,10 +20,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetEmWarehousesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -59,10 +72,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetEtlRunsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/emwarehouse/em_warehouse.py b/sdk/python/pulumi_oci/emwarehouse/em_warehouse.py index 22bfe2c12a..a5d6f20612 100644 --- a/sdk/python/pulumi_oci/emwarehouse/em_warehouse.py +++ b/sdk/python/pulumi_oci/emwarehouse/em_warehouse.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['EmWarehouseArgs', 'EmWarehouse'] @@ -33,15 +33,34 @@ def __init__(__self__, *, :param pulumi.Input[str] display_name: EmWarehouse Identifier :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "em_bridge_id", em_bridge_id) - pulumi.set(__self__, "operations_insights_warehouse_id", operations_insights_warehouse_id) + EmWarehouseArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + em_bridge_id=em_bridge_id, + operations_insights_warehouse_id=operations_insights_warehouse_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + em_bridge_id: pulumi.Input[str], + operations_insights_warehouse_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("em_bridge_id", em_bridge_id) + _setter("operations_insights_warehouse_id", operations_insights_warehouse_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="compartmentId") @@ -160,36 +179,73 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The time the the EmWarehouse was created. An RFC3339 formatted datetime string :param pulumi.Input[str] time_updated: The time the EmWarehouse was updated. An RFC3339 formatted datetime string """ + _EmWarehouseState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + em_bridge_id=em_bridge_id, + em_warehouse_type=em_warehouse_type, + freeform_tags=freeform_tags, + latest_etl_run_message=latest_etl_run_message, + latest_etl_run_status=latest_etl_run_status, + latest_etl_run_time=latest_etl_run_time, + lifecycle_details=lifecycle_details, + operations_insights_warehouse_id=operations_insights_warehouse_id, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + em_bridge_id: Optional[pulumi.Input[str]] = None, + em_warehouse_type: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + latest_etl_run_message: Optional[pulumi.Input[str]] = None, + latest_etl_run_status: Optional[pulumi.Input[str]] = None, + latest_etl_run_time: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + operations_insights_warehouse_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if em_bridge_id is not None: - pulumi.set(__self__, "em_bridge_id", em_bridge_id) + _setter("em_bridge_id", em_bridge_id) if em_warehouse_type is not None: - pulumi.set(__self__, "em_warehouse_type", em_warehouse_type) + _setter("em_warehouse_type", em_warehouse_type) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if latest_etl_run_message is not None: - pulumi.set(__self__, "latest_etl_run_message", latest_etl_run_message) + _setter("latest_etl_run_message", latest_etl_run_message) if latest_etl_run_status is not None: - pulumi.set(__self__, "latest_etl_run_status", latest_etl_run_status) + _setter("latest_etl_run_status", latest_etl_run_status) if latest_etl_run_time is not None: - pulumi.set(__self__, "latest_etl_run_time", latest_etl_run_time) + _setter("latest_etl_run_time", latest_etl_run_time) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if operations_insights_warehouse_id is not None: - pulumi.set(__self__, "operations_insights_warehouse_id", operations_insights_warehouse_id) + _setter("operations_insights_warehouse_id", operations_insights_warehouse_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -481,6 +537,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + EmWarehouseArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/emwarehouse/get_em_warehouse.py b/sdk/python/pulumi_oci/emwarehouse/get_em_warehouse.py index 5fad979ba4..9ce1968d11 100644 --- a/sdk/python/pulumi_oci/emwarehouse/get_em_warehouse.py +++ b/sdk/python/pulumi_oci/emwarehouse/get_em_warehouse.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/emwarehouse/get_em_warehouses.py b/sdk/python/pulumi_oci/emwarehouse/get_em_warehouses.py index 9e934f0c8e..6d168259f6 100644 --- a/sdk/python/pulumi_oci/emwarehouse/get_em_warehouses.py +++ b/sdk/python/pulumi_oci/emwarehouse/get_em_warehouses.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/emwarehouse/get_etl_run.py b/sdk/python/pulumi_oci/emwarehouse/get_etl_run.py index 717bcb7146..93fb9abd5c 100644 --- a/sdk/python/pulumi_oci/emwarehouse/get_etl_run.py +++ b/sdk/python/pulumi_oci/emwarehouse/get_etl_run.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/emwarehouse/get_etl_runs.py b/sdk/python/pulumi_oci/emwarehouse/get_etl_runs.py index f59e290db7..0b47a34d17 100644 --- a/sdk/python/pulumi_oci/emwarehouse/get_etl_runs.py +++ b/sdk/python/pulumi_oci/emwarehouse/get_etl_runs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/emwarehouse/get_resource_usage.py b/sdk/python/pulumi_oci/emwarehouse/get_resource_usage.py index e6ac1a6e32..5999e5667f 100644 --- a/sdk/python/pulumi_oci/emwarehouse/get_resource_usage.py +++ b/sdk/python/pulumi_oci/emwarehouse/get_resource_usage.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/emwarehouse/outputs.py b/sdk/python/pulumi_oci/emwarehouse/outputs.py index 87669a15f9..5143fa2b5a 100644 --- a/sdk/python/pulumi_oci/emwarehouse/outputs.py +++ b/sdk/python/pulumi_oci/emwarehouse/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -26,7 +26,16 @@ class GetEmWarehousesEmWarehouseCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetEmWarehousesEmWarehouseCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetEmWarehousesEmWarehouseCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetEmWarehousesEmWarehouseCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -71,22 +80,61 @@ def __init__(__self__, *, :param str time_created: The time the the EmWarehouse was created. An RFC3339 formatted datetime string :param str time_updated: The time the EmWarehouse was updated. An RFC3339 formatted datetime string """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "em_bridge_id", em_bridge_id) - pulumi.set(__self__, "em_warehouse_type", em_warehouse_type) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "latest_etl_run_message", latest_etl_run_message) - pulumi.set(__self__, "latest_etl_run_status", latest_etl_run_status) - pulumi.set(__self__, "latest_etl_run_time", latest_etl_run_time) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "operations_insights_warehouse_id", operations_insights_warehouse_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetEmWarehousesEmWarehouseCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + em_bridge_id=em_bridge_id, + em_warehouse_type=em_warehouse_type, + freeform_tags=freeform_tags, + id=id, + latest_etl_run_message=latest_etl_run_message, + latest_etl_run_status=latest_etl_run_status, + latest_etl_run_time=latest_etl_run_time, + lifecycle_details=lifecycle_details, + operations_insights_warehouse_id=operations_insights_warehouse_id, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + em_bridge_id: str, + em_warehouse_type: str, + freeform_tags: Mapping[str, Any], + id: str, + latest_etl_run_message: str, + latest_etl_run_status: str, + latest_etl_run_time: str, + lifecycle_details: str, + operations_insights_warehouse_id: str, + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("em_bridge_id", em_bridge_id) + _setter("em_warehouse_type", em_warehouse_type) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("latest_etl_run_message", latest_etl_run_message) + _setter("latest_etl_run_status", latest_etl_run_status) + _setter("latest_etl_run_time", latest_etl_run_time) + _setter("lifecycle_details", lifecycle_details) + _setter("operations_insights_warehouse_id", operations_insights_warehouse_id) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -223,10 +271,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetEmWarehousesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -271,17 +332,46 @@ def __init__(__self__, *, :param str time_created: Time when the dataflow run was created :param str time_updated: Time when the dataflow run was updated """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "data_read_in_bytes", data_read_in_bytes) - pulumi.set(__self__, "data_written", data_written) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "run_duration_in_milliseconds", run_duration_in_milliseconds) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetEtlRunItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + data_read_in_bytes=data_read_in_bytes, + data_written=data_written, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + run_duration_in_milliseconds=run_duration_in_milliseconds, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + data_read_in_bytes: str, + data_written: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + lifecycle_details: str, + run_duration_in_milliseconds: str, + state: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("data_read_in_bytes", data_read_in_bytes) + _setter("data_written", data_written) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("lifecycle_details", lifecycle_details) + _setter("run_duration_in_milliseconds", run_duration_in_milliseconds) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -379,7 +469,16 @@ def __init__(__self__, *, """ :param Sequence['GetEtlRunsEtlRunCollectionItemArgs'] items: List of runs """ - pulumi.set(__self__, "items", items) + GetEtlRunsEtlRunCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetEtlRunsEtlRunCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -397,7 +496,16 @@ def __init__(__self__, *, """ :param Sequence['GetEtlRunsEtlRunCollectionItemItemArgs'] items: List of runs """ - pulumi.set(__self__, "items", items) + GetEtlRunsEtlRunCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetEtlRunsEtlRunCollectionItemItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -435,17 +543,46 @@ def __init__(__self__, *, :param str time_created: Time when the dataflow run was created :param str time_updated: Time when the dataflow run was updated """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "data_read_in_bytes", data_read_in_bytes) - pulumi.set(__self__, "data_written", data_written) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "run_duration_in_milliseconds", run_duration_in_milliseconds) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetEtlRunsEtlRunCollectionItemItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + data_read_in_bytes=data_read_in_bytes, + data_written=data_written, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + run_duration_in_milliseconds=run_duration_in_milliseconds, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + data_read_in_bytes: str, + data_written: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + lifecycle_details: str, + run_duration_in_milliseconds: str, + state: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("data_read_in_bytes", data_read_in_bytes) + _setter("data_written", data_written) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("lifecycle_details", lifecycle_details) + _setter("run_duration_in_milliseconds", run_duration_in_milliseconds) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -542,10 +679,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetEtlRunsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -576,10 +726,25 @@ def __init__(__self__, *, :param str em_id: operations Insights Warehouse Identifier :param int targets_count: EmInstance Target count """ - pulumi.set(__self__, "em_discoverer_url", em_discoverer_url) - pulumi.set(__self__, "em_host", em_host) - pulumi.set(__self__, "em_id", em_id) - pulumi.set(__self__, "targets_count", targets_count) + GetResourceUsageEmInstanceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + em_discoverer_url=em_discoverer_url, + em_host=em_host, + em_id=em_id, + targets_count=targets_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + em_discoverer_url: str, + em_host: str, + em_id: str, + targets_count: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("em_discoverer_url", em_discoverer_url) + _setter("em_host", em_host) + _setter("em_id", em_id) + _setter("targets_count", targets_count) @property @pulumi.getter(name="emDiscovererUrl") diff --git a/sdk/python/pulumi_oci/events/_inputs.py b/sdk/python/pulumi_oci/events/_inputs.py index f2748c3b86..abc6f273c8 100644 --- a/sdk/python/pulumi_oci/events/_inputs.py +++ b/sdk/python/pulumi_oci/events/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -22,7 +22,16 @@ def __init__(__self__, *, """ :param pulumi.Input[Sequence[pulumi.Input['RuleActionsActionArgs']]] actions: (Updatable) A list of one or more ActionDetails objects. """ - pulumi.set(__self__, "actions", actions) + RuleActionsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + actions=actions, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + actions: pulumi.Input[Sequence[pulumi.Input['RuleActionsActionArgs']]], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("actions", actions) @property @pulumi.getter @@ -67,22 +76,47 @@ def __init__(__self__, *, :param pulumi.Input[str] stream_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stream to which messages are delivered. :param pulumi.Input[str] topic_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the topic to which messages are delivered. """ - pulumi.set(__self__, "action_type", action_type) - pulumi.set(__self__, "is_enabled", is_enabled) + RuleActionsActionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + action_type=action_type, + is_enabled=is_enabled, + description=description, + function_id=function_id, + id=id, + lifecycle_message=lifecycle_message, + state=state, + stream_id=stream_id, + topic_id=topic_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action_type: pulumi.Input[str], + is_enabled: pulumi.Input[bool], + description: Optional[pulumi.Input[str]] = None, + function_id: Optional[pulumi.Input[str]] = None, + id: Optional[pulumi.Input[str]] = None, + lifecycle_message: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + stream_id: Optional[pulumi.Input[str]] = None, + topic_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action_type", action_type) + _setter("is_enabled", is_enabled) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if function_id is not None: - pulumi.set(__self__, "function_id", function_id) + _setter("function_id", function_id) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if lifecycle_message is not None: - pulumi.set(__self__, "lifecycle_message", lifecycle_message) + _setter("lifecycle_message", lifecycle_message) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if stream_id is not None: - pulumi.set(__self__, "stream_id", stream_id) + _setter("stream_id", stream_id) if topic_id is not None: - pulumi.set(__self__, "topic_id", topic_id) + _setter("topic_id", topic_id) @property @pulumi.getter(name="actionType") @@ -206,10 +240,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetRulesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/events/get_rule.py b/sdk/python/pulumi_oci/events/get_rule.py index 7f49d93f49..7c14b0769e 100644 --- a/sdk/python/pulumi_oci/events/get_rule.py +++ b/sdk/python/pulumi_oci/events/get_rule.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/events/get_rules.py b/sdk/python/pulumi_oci/events/get_rules.py index 2f4807d72a..f782bd12b6 100644 --- a/sdk/python/pulumi_oci/events/get_rules.py +++ b/sdk/python/pulumi_oci/events/get_rules.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/events/outputs.py b/sdk/python/pulumi_oci/events/outputs.py index 556dc5edc1..e66ee53e55 100644 --- a/sdk/python/pulumi_oci/events/outputs.py +++ b/sdk/python/pulumi_oci/events/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -28,7 +28,16 @@ def __init__(__self__, *, """ :param Sequence['RuleActionsActionArgs'] actions: (Updatable) A list of one or more ActionDetails objects. """ - pulumi.set(__self__, "actions", actions) + RuleActions._configure( + lambda key, value: pulumi.set(__self__, key, value), + actions=actions, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + actions: Sequence['outputs.RuleActionsAction'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("actions", actions) @property @pulumi.getter @@ -96,22 +105,47 @@ def __init__(__self__, *, :param str stream_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stream to which messages are delivered. :param str topic_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the topic to which messages are delivered. """ - pulumi.set(__self__, "action_type", action_type) - pulumi.set(__self__, "is_enabled", is_enabled) + RuleActionsAction._configure( + lambda key, value: pulumi.set(__self__, key, value), + action_type=action_type, + is_enabled=is_enabled, + description=description, + function_id=function_id, + id=id, + lifecycle_message=lifecycle_message, + state=state, + stream_id=stream_id, + topic_id=topic_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action_type: str, + is_enabled: bool, + description: Optional[str] = None, + function_id: Optional[str] = None, + id: Optional[str] = None, + lifecycle_message: Optional[str] = None, + state: Optional[str] = None, + stream_id: Optional[str] = None, + topic_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action_type", action_type) + _setter("is_enabled", is_enabled) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if function_id is not None: - pulumi.set(__self__, "function_id", function_id) + _setter("function_id", function_id) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if lifecycle_message is not None: - pulumi.set(__self__, "lifecycle_message", lifecycle_message) + _setter("lifecycle_message", lifecycle_message) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if stream_id is not None: - pulumi.set(__self__, "stream_id", stream_id) + _setter("stream_id", stream_id) if topic_id is not None: - pulumi.set(__self__, "topic_id", topic_id) + _setter("topic_id", topic_id) @property @pulumi.getter(name="actionType") @@ -200,7 +234,16 @@ def __init__(__self__, *, """ :param Sequence['GetRuleActionActionArgs'] actions: A list of one or more Action objects. """ - pulumi.set(__self__, "actions", actions) + GetRuleActionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + actions=actions, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + actions: Sequence['outputs.GetRuleActionActionResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("actions", actions) @property @pulumi.getter @@ -237,15 +280,40 @@ def __init__(__self__, *, :param str stream_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stream to which messages are delivered. :param str topic_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the topic to which messages are delivered. """ - pulumi.set(__self__, "action_type", action_type) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "function_id", function_id) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "lifecycle_message", lifecycle_message) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "stream_id", stream_id) - pulumi.set(__self__, "topic_id", topic_id) + GetRuleActionActionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action_type=action_type, + description=description, + function_id=function_id, + id=id, + is_enabled=is_enabled, + lifecycle_message=lifecycle_message, + state=state, + stream_id=stream_id, + topic_id=topic_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action_type: str, + description: str, + function_id: str, + id: str, + is_enabled: bool, + lifecycle_message: str, + state: str, + stream_id: str, + topic_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action_type", action_type) + _setter("description", description) + _setter("function_id", function_id) + _setter("id", id) + _setter("is_enabled", is_enabled) + _setter("lifecycle_message", lifecycle_message) + _setter("state", state) + _setter("stream_id", stream_id) + _setter("topic_id", topic_id) @property @pulumi.getter(name="actionType") @@ -329,10 +397,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetRulesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -380,18 +461,49 @@ def __init__(__self__, *, :param str state: A filter to return only rules that match the lifecycle state in this parameter. Example: `Creating` :param str time_created: The time this rule was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-09-12T22:47:12.613Z` """ - pulumi.set(__self__, "actions", actions) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "condition", condition) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "lifecycle_message", lifecycle_message) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) + GetRulesRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + actions=actions, + compartment_id=compartment_id, + condition=condition, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + is_enabled=is_enabled, + lifecycle_message=lifecycle_message, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + actions: Sequence['outputs.GetRulesRuleActionResult'], + compartment_id: str, + condition: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + is_enabled: bool, + lifecycle_message: str, + state: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("actions", actions) + _setter("compartment_id", compartment_id) + _setter("condition", condition) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_enabled", is_enabled) + _setter("lifecycle_message", lifecycle_message) + _setter("state", state) + _setter("time_created", time_created) @property @pulumi.getter @@ -498,7 +610,16 @@ def __init__(__self__, *, """ :param Sequence['GetRulesRuleActionActionArgs'] actions: A list of one or more Action objects. """ - pulumi.set(__self__, "actions", actions) + GetRulesRuleActionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + actions=actions, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + actions: Sequence['outputs.GetRulesRuleActionActionResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("actions", actions) @property @pulumi.getter @@ -535,15 +656,40 @@ def __init__(__self__, *, :param str stream_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stream to which messages are delivered. :param str topic_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the topic to which messages are delivered. """ - pulumi.set(__self__, "action_type", action_type) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "function_id", function_id) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "lifecycle_message", lifecycle_message) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "stream_id", stream_id) - pulumi.set(__self__, "topic_id", topic_id) + GetRulesRuleActionActionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action_type=action_type, + description=description, + function_id=function_id, + id=id, + is_enabled=is_enabled, + lifecycle_message=lifecycle_message, + state=state, + stream_id=stream_id, + topic_id=topic_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action_type: str, + description: str, + function_id: str, + id: str, + is_enabled: bool, + lifecycle_message: str, + state: str, + stream_id: str, + topic_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action_type", action_type) + _setter("description", description) + _setter("function_id", function_id) + _setter("id", id) + _setter("is_enabled", is_enabled) + _setter("lifecycle_message", lifecycle_message) + _setter("state", state) + _setter("stream_id", stream_id) + _setter("topic_id", topic_id) @property @pulumi.getter(name="actionType") diff --git a/sdk/python/pulumi_oci/events/rule.py b/sdk/python/pulumi_oci/events/rule.py index c136829562..fe6a5112a4 100644 --- a/sdk/python/pulumi_oci/events/rule.py +++ b/sdk/python/pulumi_oci/events/rule.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -51,17 +51,40 @@ def __init__(__self__, *, :param pulumi.Input[str] description: (Updatable) A string that describes the details of the rule. It does not have to be unique, and you can change it. Avoid entering confidential information. :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. Exists for cross-compatibility only. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` """ - pulumi.set(__self__, "actions", actions) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "condition", condition) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "is_enabled", is_enabled) + RuleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + actions=actions, + compartment_id=compartment_id, + condition=condition, + display_name=display_name, + is_enabled=is_enabled, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + actions: pulumi.Input['RuleActionsArgs'], + compartment_id: pulumi.Input[str], + condition: pulumi.Input[str], + display_name: pulumi.Input[str], + is_enabled: pulumi.Input[bool], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("actions", actions) + _setter("compartment_id", compartment_id) + _setter("condition", condition) + _setter("display_name", display_name) + _setter("is_enabled", is_enabled) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter @@ -220,28 +243,57 @@ def __init__(__self__, *, :param pulumi.Input[str] state: The current state of the rule. :param pulumi.Input[str] time_created: The time this rule was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-09-12T22:47:12.613Z` """ + _RuleState._configure( + lambda key, value: pulumi.set(__self__, key, value), + actions=actions, + compartment_id=compartment_id, + condition=condition, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + is_enabled=is_enabled, + lifecycle_message=lifecycle_message, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + actions: Optional[pulumi.Input['RuleActionsArgs']] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + condition: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_enabled: Optional[pulumi.Input[bool]] = None, + lifecycle_message: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if actions is not None: - pulumi.set(__self__, "actions", actions) + _setter("actions", actions) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if condition is not None: - pulumi.set(__self__, "condition", condition) + _setter("condition", condition) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) if lifecycle_message is not None: - pulumi.set(__self__, "lifecycle_message", lifecycle_message) + _setter("lifecycle_message", lifecycle_message) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter @@ -535,6 +587,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + RuleArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -557,6 +613,11 @@ def _internal_init(__self__, raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = RuleArgs.__new__(RuleArgs) + if actions is not None and not isinstance(actions, RuleActionsArgs): + actions = actions or {} + def _setter(key, value): + actions[key] = value + RuleActionsArgs._configure(_setter, **actions) if actions is None and not opts.urn: raise TypeError("Missing required property 'actions'") __props__.__dict__["actions"] = actions diff --git a/sdk/python/pulumi_oci/filestorage/_inputs.py b/sdk/python/pulumi_oci/filestorage/_inputs.py index 308601bb43..f00ae30dbf 100644 --- a/sdk/python/pulumi_oci/filestorage/_inputs.py +++ b/sdk/python/pulumi_oci/filestorage/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -50,21 +50,44 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_anonymous_access_allowed: (Updatable) Whether or not to enable anonymous access to the file system through this export in cases where a user isn't found in the LDAP server used for ID mapping. If true, and the user is not found in the LDAP directory, the operation uses the Squash UID and Squash GID. :param pulumi.Input[bool] require_privileged_source_port: (Updatable) If `true`, clients accessing the file system through this export must connect from a privileged source port. If unspecified, defaults to `true`. """ - pulumi.set(__self__, "source", source) + ExportExportOptionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + source=source, + access=access, + allowed_auths=allowed_auths, + anonymous_gid=anonymous_gid, + anonymous_uid=anonymous_uid, + identity_squash=identity_squash, + is_anonymous_access_allowed=is_anonymous_access_allowed, + require_privileged_source_port=require_privileged_source_port, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + source: pulumi.Input[str], + access: Optional[pulumi.Input[str]] = None, + allowed_auths: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + anonymous_gid: Optional[pulumi.Input[str]] = None, + anonymous_uid: Optional[pulumi.Input[str]] = None, + identity_squash: Optional[pulumi.Input[str]] = None, + is_anonymous_access_allowed: Optional[pulumi.Input[bool]] = None, + require_privileged_source_port: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("source", source) if access is not None: - pulumi.set(__self__, "access", access) + _setter("access", access) if allowed_auths is not None: - pulumi.set(__self__, "allowed_auths", allowed_auths) + _setter("allowed_auths", allowed_auths) if anonymous_gid is not None: - pulumi.set(__self__, "anonymous_gid", anonymous_gid) + _setter("anonymous_gid", anonymous_gid) if anonymous_uid is not None: - pulumi.set(__self__, "anonymous_uid", anonymous_uid) + _setter("anonymous_uid", anonymous_uid) if identity_squash is not None: - pulumi.set(__self__, "identity_squash", identity_squash) + _setter("identity_squash", identity_squash) if is_anonymous_access_allowed is not None: - pulumi.set(__self__, "is_anonymous_access_allowed", is_anonymous_access_allowed) + _setter("is_anonymous_access_allowed", is_anonymous_access_allowed) if require_privileged_source_port is not None: - pulumi.set(__self__, "require_privileged_source_port", require_privileged_source_port) + _setter("require_privileged_source_port", require_privileged_source_port) @property @pulumi.getter @@ -178,10 +201,21 @@ def __init__(__self__, *, ** 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 """ + FileSystemSourceDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + parent_file_system_id=parent_file_system_id, + source_snapshot_id=source_snapshot_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + parent_file_system_id: Optional[pulumi.Input[str]] = None, + source_snapshot_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if parent_file_system_id is not None: - pulumi.set(__self__, "parent_file_system_id", parent_file_system_id) + _setter("parent_file_system_id", parent_file_system_id) if source_snapshot_id is not None: - pulumi.set(__self__, "source_snapshot_id", source_snapshot_id) + _setter("source_snapshot_id", source_snapshot_id) @property @pulumi.getter(name="parentFileSystemId") @@ -235,22 +269,47 @@ def __init__(__self__, *, :param pulumi.Input[str] schedule_prefix: (Updatable) A name prefix to be applied to snapshots created by this schedule. Example: `compliance1` :param pulumi.Input[str] time_schedule_start: (Updatable) The starting point used to begin the scheduling of the snapshots based upon recurrence string in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. If no `timeScheduleStart` is provided, the value will be set to the time when the schedule was created. """ - pulumi.set(__self__, "period", period) - pulumi.set(__self__, "time_zone", time_zone) + FilesystemSnapshotPolicyScheduleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + period=period, + time_zone=time_zone, + day_of_month=day_of_month, + day_of_week=day_of_week, + hour_of_day=hour_of_day, + month=month, + retention_duration_in_seconds=retention_duration_in_seconds, + schedule_prefix=schedule_prefix, + time_schedule_start=time_schedule_start, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + period: pulumi.Input[str], + time_zone: pulumi.Input[str], + day_of_month: Optional[pulumi.Input[int]] = None, + day_of_week: Optional[pulumi.Input[str]] = None, + hour_of_day: Optional[pulumi.Input[int]] = None, + month: Optional[pulumi.Input[str]] = None, + retention_duration_in_seconds: Optional[pulumi.Input[str]] = None, + schedule_prefix: Optional[pulumi.Input[str]] = None, + time_schedule_start: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("period", period) + _setter("time_zone", time_zone) if day_of_month is not None: - pulumi.set(__self__, "day_of_month", day_of_month) + _setter("day_of_month", day_of_month) if day_of_week is not None: - pulumi.set(__self__, "day_of_week", day_of_week) + _setter("day_of_week", day_of_week) if hour_of_day is not None: - pulumi.set(__self__, "hour_of_day", hour_of_day) + _setter("hour_of_day", hour_of_day) if month is not None: - pulumi.set(__self__, "month", month) + _setter("month", month) if retention_duration_in_seconds is not None: - pulumi.set(__self__, "retention_duration_in_seconds", retention_duration_in_seconds) + _setter("retention_duration_in_seconds", retention_duration_in_seconds) if schedule_prefix is not None: - pulumi.set(__self__, "schedule_prefix", schedule_prefix) + _setter("schedule_prefix", schedule_prefix) if time_schedule_start is not None: - pulumi.set(__self__, "time_schedule_start", time_schedule_start) + _setter("time_schedule_start", time_schedule_start) @property @pulumi.getter @@ -376,15 +435,32 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_kerberos_enabled: (Updatable) Specifies whether to enable or disable Kerberos. :param pulumi.Input[str] key_tab_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the keytab Secret in the Vault. """ - pulumi.set(__self__, "kerberos_realm", kerberos_realm) + MountTargetKerberosArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + kerberos_realm=kerberos_realm, + backup_key_tab_secret_version=backup_key_tab_secret_version, + current_key_tab_secret_version=current_key_tab_secret_version, + is_kerberos_enabled=is_kerberos_enabled, + key_tab_secret_id=key_tab_secret_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + kerberos_realm: pulumi.Input[str], + backup_key_tab_secret_version: Optional[pulumi.Input[int]] = None, + current_key_tab_secret_version: Optional[pulumi.Input[int]] = None, + is_kerberos_enabled: Optional[pulumi.Input[bool]] = None, + key_tab_secret_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("kerberos_realm", kerberos_realm) if backup_key_tab_secret_version is not None: - pulumi.set(__self__, "backup_key_tab_secret_version", backup_key_tab_secret_version) + _setter("backup_key_tab_secret_version", backup_key_tab_secret_version) if current_key_tab_secret_version is not None: - pulumi.set(__self__, "current_key_tab_secret_version", current_key_tab_secret_version) + _setter("current_key_tab_secret_version", current_key_tab_secret_version) if is_kerberos_enabled is not None: - pulumi.set(__self__, "is_kerberos_enabled", is_kerberos_enabled) + _setter("is_kerberos_enabled", is_kerberos_enabled) if key_tab_secret_id is not None: - pulumi.set(__self__, "key_tab_secret_id", key_tab_secret_id) + _setter("key_tab_secret_id", key_tab_secret_id) @property @pulumi.getter(name="kerberosRealm") @@ -468,22 +544,45 @@ def __init__(__self__, *, :param pulumi.Input[str] schema_type: (Updatable) Schema type of the LDAP account. :param pulumi.Input[str] user_search_base: (Updatable) All LDAP searches are recursive starting at this user. Example: `CN=User,DC=domain,DC=com` """ + MountTargetLdapIdmapArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + cache_lifetime_seconds=cache_lifetime_seconds, + cache_refresh_interval_seconds=cache_refresh_interval_seconds, + group_search_base=group_search_base, + negative_cache_lifetime_seconds=negative_cache_lifetime_seconds, + outbound_connector1id=outbound_connector1id, + outbound_connector2id=outbound_connector2id, + schema_type=schema_type, + user_search_base=user_search_base, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cache_lifetime_seconds: Optional[pulumi.Input[int]] = None, + cache_refresh_interval_seconds: Optional[pulumi.Input[int]] = None, + group_search_base: Optional[pulumi.Input[str]] = None, + negative_cache_lifetime_seconds: Optional[pulumi.Input[int]] = None, + outbound_connector1id: Optional[pulumi.Input[str]] = None, + outbound_connector2id: Optional[pulumi.Input[str]] = None, + schema_type: Optional[pulumi.Input[str]] = None, + user_search_base: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if cache_lifetime_seconds is not None: - pulumi.set(__self__, "cache_lifetime_seconds", cache_lifetime_seconds) + _setter("cache_lifetime_seconds", cache_lifetime_seconds) if cache_refresh_interval_seconds is not None: - pulumi.set(__self__, "cache_refresh_interval_seconds", cache_refresh_interval_seconds) + _setter("cache_refresh_interval_seconds", cache_refresh_interval_seconds) if group_search_base is not None: - pulumi.set(__self__, "group_search_base", group_search_base) + _setter("group_search_base", group_search_base) if negative_cache_lifetime_seconds is not None: - pulumi.set(__self__, "negative_cache_lifetime_seconds", negative_cache_lifetime_seconds) + _setter("negative_cache_lifetime_seconds", negative_cache_lifetime_seconds) if outbound_connector1id is not None: - pulumi.set(__self__, "outbound_connector1id", outbound_connector1id) + _setter("outbound_connector1id", outbound_connector1id) if outbound_connector2id is not None: - pulumi.set(__self__, "outbound_connector2id", outbound_connector2id) + _setter("outbound_connector2id", outbound_connector2id) if schema_type is not None: - pulumi.set(__self__, "schema_type", schema_type) + _setter("schema_type", schema_type) if user_search_base is not None: - pulumi.set(__self__, "user_search_base", user_search_base) + _setter("user_search_base", user_search_base) @property @pulumi.getter(name="cacheLifetimeSeconds") @@ -591,8 +690,19 @@ def __init__(__self__, *, :param pulumi.Input[str] hostname: Name of the DNS server. :param pulumi.Input[str] port: Port of the DNS server. """ - pulumi.set(__self__, "hostname", hostname) - pulumi.set(__self__, "port", port) + OutboundConnectorEndpointArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + hostname=hostname, + port=port, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hostname: pulumi.Input[str], + port: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("hostname", hostname) + _setter("port", port) @property @pulumi.getter @@ -625,10 +735,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetExportSetsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -664,10 +787,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetExportsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -703,10 +839,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetFileSystemsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -742,10 +891,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetFilesystemSnapshotPoliciesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -781,10 +943,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetMountTargetsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -820,10 +995,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetOutboundConnectorsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -859,10 +1047,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetReplicationTargetsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -898,10 +1099,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetReplicationsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -940,10 +1154,23 @@ def __init__(__self__, *, """ :param str name: Name of the snapshot. This value is immutable. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSnapshotsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/filestorage/export.py b/sdk/python/pulumi_oci/filestorage/export.py index 7b5b6b5d1d..95eea4abca 100644 --- a/sdk/python/pulumi_oci/filestorage/export.py +++ b/sdk/python/pulumi_oci/filestorage/export.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -44,13 +44,30 @@ def __init__(__self__, *, The export's `exportOptions` can be changed after creation using the `UpdateExport` operation. :param pulumi.Input[bool] is_idmap_groups_for_sys_auth: (Updatable) Whether or not the export should use ID mapping for Unix groups rather than the group list provided within an NFS request's RPC header. When this flag is true the Unix UID from the RPC header is used to retrieve the list of secondary groups from a the ID mapping subsystem. The primary GID is always taken from the RPC header. If ID mapping is not configured, incorrectly configured, unavailable, or cannot be used to determine a list of secondary groups then an empty secondary group list is used for authorization. If the number of groups exceeds the limit of 256 groups, the list retrieved from LDAP is truncated to the first 256 groups read. """ - pulumi.set(__self__, "export_set_id", export_set_id) - pulumi.set(__self__, "file_system_id", file_system_id) - pulumi.set(__self__, "path", path) + ExportArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + export_set_id=export_set_id, + file_system_id=file_system_id, + path=path, + export_options=export_options, + is_idmap_groups_for_sys_auth=is_idmap_groups_for_sys_auth, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + export_set_id: pulumi.Input[str], + file_system_id: pulumi.Input[str], + path: pulumi.Input[str], + export_options: Optional[pulumi.Input[Sequence[pulumi.Input['ExportExportOptionArgs']]]] = None, + is_idmap_groups_for_sys_auth: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("export_set_id", export_set_id) + _setter("file_system_id", file_system_id) + _setter("path", path) if export_options is not None: - pulumi.set(__self__, "export_options", export_options) + _setter("export_options", export_options) if is_idmap_groups_for_sys_auth is not None: - pulumi.set(__self__, "is_idmap_groups_for_sys_auth", is_idmap_groups_for_sys_auth) + _setter("is_idmap_groups_for_sys_auth", is_idmap_groups_for_sys_auth) @property @pulumi.getter(name="exportSetId") @@ -163,20 +180,41 @@ def __init__(__self__, *, :param pulumi.Input[str] state: The current state of this export. :param pulumi.Input[str] time_created: The date and time the export was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` """ + _ExportState._configure( + lambda key, value: pulumi.set(__self__, key, value), + export_options=export_options, + export_set_id=export_set_id, + file_system_id=file_system_id, + is_idmap_groups_for_sys_auth=is_idmap_groups_for_sys_auth, + path=path, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + export_options: Optional[pulumi.Input[Sequence[pulumi.Input['ExportExportOptionArgs']]]] = None, + export_set_id: Optional[pulumi.Input[str]] = None, + file_system_id: Optional[pulumi.Input[str]] = None, + is_idmap_groups_for_sys_auth: Optional[pulumi.Input[bool]] = None, + path: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if export_options is not None: - pulumi.set(__self__, "export_options", export_options) + _setter("export_options", export_options) if export_set_id is not None: - pulumi.set(__self__, "export_set_id", export_set_id) + _setter("export_set_id", export_set_id) if file_system_id is not None: - pulumi.set(__self__, "file_system_id", file_system_id) + _setter("file_system_id", file_system_id) if is_idmap_groups_for_sys_auth is not None: - pulumi.set(__self__, "is_idmap_groups_for_sys_auth", is_idmap_groups_for_sys_auth) + _setter("is_idmap_groups_for_sys_auth", is_idmap_groups_for_sys_auth) if path is not None: - pulumi.set(__self__, "path", path) + _setter("path", path) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="exportOptions") @@ -402,6 +440,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ExportArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/filestorage/export_set.py b/sdk/python/pulumi_oci/filestorage/export_set.py index 12b13361db..fa251fc0ba 100644 --- a/sdk/python/pulumi_oci/filestorage/export_set.py +++ b/sdk/python/pulumi_oci/filestorage/export_set.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['ExportSetArgs', 'ExportSet'] @@ -28,13 +28,28 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "mount_target_id", mount_target_id) + ExportSetArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + mount_target_id=mount_target_id, + display_name=display_name, + max_fs_stat_bytes=max_fs_stat_bytes, + max_fs_stat_files=max_fs_stat_files, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + mount_target_id: pulumi.Input[str], + display_name: Optional[pulumi.Input[str]] = None, + max_fs_stat_bytes: Optional[pulumi.Input[str]] = None, + max_fs_stat_files: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("mount_target_id", mount_target_id) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if max_fs_stat_bytes is not None: - pulumi.set(__self__, "max_fs_stat_bytes", max_fs_stat_bytes) + _setter("max_fs_stat_bytes", max_fs_stat_bytes) if max_fs_stat_files is not None: - pulumi.set(__self__, "max_fs_stat_files", max_fs_stat_files) + _setter("max_fs_stat_files", max_fs_stat_files) @property @pulumi.getter(name="mountTargetId") @@ -115,24 +130,49 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the export set was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` :param pulumi.Input[str] vcn_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual cloud network (VCN) the export set is in. """ + _ExportSetState._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + compartment_id=compartment_id, + display_name=display_name, + max_fs_stat_bytes=max_fs_stat_bytes, + max_fs_stat_files=max_fs_stat_files, + mount_target_id=mount_target_id, + state=state, + time_created=time_created, + vcn_id=vcn_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + max_fs_stat_bytes: Optional[pulumi.Input[str]] = None, + max_fs_stat_files: Optional[pulumi.Input[str]] = None, + mount_target_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + vcn_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if max_fs_stat_bytes is not None: - pulumi.set(__self__, "max_fs_stat_bytes", max_fs_stat_bytes) + _setter("max_fs_stat_bytes", max_fs_stat_bytes) if max_fs_stat_files is not None: - pulumi.set(__self__, "max_fs_stat_files", max_fs_stat_files) + _setter("max_fs_stat_files", max_fs_stat_files) if mount_target_id is not None: - pulumi.set(__self__, "mount_target_id", mount_target_id) + _setter("mount_target_id", mount_target_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if vcn_id is not None: - pulumi.set(__self__, "vcn_id", vcn_id) + _setter("vcn_id", vcn_id) @property @pulumi.getter(name="availabilityDomain") @@ -326,6 +366,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ExportSetArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/filestorage/file_system.py b/sdk/python/pulumi_oci/filestorage/file_system.py index b8d85bb4c6..d43a1a67ec 100644 --- a/sdk/python/pulumi_oci/filestorage/file_system.py +++ b/sdk/python/pulumi_oci/filestorage/file_system.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -41,20 +41,43 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "compartment_id", compartment_id) + FileSystemArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + filesystem_snapshot_policy_id=filesystem_snapshot_policy_id, + freeform_tags=freeform_tags, + kms_key_id=kms_key_id, + source_snapshot_id=source_snapshot_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: pulumi.Input[str], + compartment_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + filesystem_snapshot_policy_id: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + kms_key_id: Optional[pulumi.Input[str]] = None, + source_snapshot_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if filesystem_snapshot_policy_id is not None: - pulumi.set(__self__, "filesystem_snapshot_policy_id", filesystem_snapshot_policy_id) + _setter("filesystem_snapshot_policy_id", filesystem_snapshot_policy_id) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) if source_snapshot_id is not None: - pulumi.set(__self__, "source_snapshot_id", source_snapshot_id) + _setter("source_snapshot_id", source_snapshot_id) @property @pulumi.getter(name="availabilityDomain") @@ -205,40 +228,81 @@ def __init__(__self__, *, :param pulumi.Input[str] state: The current state of the file system. :param pulumi.Input[str] time_created: The date and time the file system was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` """ + _FileSystemState._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + filesystem_snapshot_policy_id=filesystem_snapshot_policy_id, + freeform_tags=freeform_tags, + is_clone_parent=is_clone_parent, + is_hydrated=is_hydrated, + is_targetable=is_targetable, + kms_key_id=kms_key_id, + lifecycle_details=lifecycle_details, + metered_bytes=metered_bytes, + replication_target_id=replication_target_id, + source_details=source_details, + source_snapshot_id=source_snapshot_id, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + filesystem_snapshot_policy_id: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_clone_parent: Optional[pulumi.Input[bool]] = None, + is_hydrated: Optional[pulumi.Input[bool]] = None, + is_targetable: Optional[pulumi.Input[bool]] = None, + kms_key_id: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + metered_bytes: Optional[pulumi.Input[str]] = None, + replication_target_id: Optional[pulumi.Input[str]] = None, + source_details: Optional[pulumi.Input[Sequence[pulumi.Input['FileSystemSourceDetailArgs']]]] = None, + source_snapshot_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if filesystem_snapshot_policy_id is not None: - pulumi.set(__self__, "filesystem_snapshot_policy_id", filesystem_snapshot_policy_id) + _setter("filesystem_snapshot_policy_id", filesystem_snapshot_policy_id) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_clone_parent is not None: - pulumi.set(__self__, "is_clone_parent", is_clone_parent) + _setter("is_clone_parent", is_clone_parent) if is_hydrated is not None: - pulumi.set(__self__, "is_hydrated", is_hydrated) + _setter("is_hydrated", is_hydrated) if is_targetable is not None: - pulumi.set(__self__, "is_targetable", is_targetable) + _setter("is_targetable", is_targetable) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if metered_bytes is not None: - pulumi.set(__self__, "metered_bytes", metered_bytes) + _setter("metered_bytes", metered_bytes) if replication_target_id is not None: - pulumi.set(__self__, "replication_target_id", replication_target_id) + _setter("replication_target_id", replication_target_id) if source_details is not None: - pulumi.set(__self__, "source_details", source_details) + _setter("source_details", source_details) if source_snapshot_id is not None: - pulumi.set(__self__, "source_snapshot_id", source_snapshot_id) + _setter("source_snapshot_id", source_snapshot_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="availabilityDomain") @@ -622,6 +686,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + FileSystemArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -780,7 +848,7 @@ def display_name(self) -> pulumi.Output[str]: @property @pulumi.getter(name="filesystemSnapshotPolicyId") - def filesystem_snapshot_policy_id(self) -> pulumi.Output[str]: + def filesystem_snapshot_policy_id(self) -> pulumi.Output[Optional[str]]: """ (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated file system snapshot policy, which controls the frequency of snapshot creation and retention period of the taken snapshots. diff --git a/sdk/python/pulumi_oci/filestorage/filesystem_snapshot_policy.py b/sdk/python/pulumi_oci/filestorage/filesystem_snapshot_policy.py index 181db04e38..3e36309dd7 100644 --- a/sdk/python/pulumi_oci/filestorage/filesystem_snapshot_policy.py +++ b/sdk/python/pulumi_oci/filestorage/filesystem_snapshot_policy.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -41,20 +41,43 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "compartment_id", compartment_id) + FilesystemSnapshotPolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + policy_prefix=policy_prefix, + schedules=schedules, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: pulumi.Input[str], + compartment_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + policy_prefix: Optional[pulumi.Input[str]] = None, + schedules: Optional[pulumi.Input[Sequence[pulumi.Input['FilesystemSnapshotPolicyScheduleArgs']]]] = None, + state: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if policy_prefix is not None: - pulumi.set(__self__, "policy_prefix", policy_prefix) + _setter("policy_prefix", policy_prefix) if schedules is not None: - pulumi.set(__self__, "schedules", schedules) + _setter("schedules", schedules) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) @property @pulumi.getter(name="availabilityDomain") @@ -189,24 +212,49 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] time_created: The date and time the file system snapshot policy was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` """ + _FilesystemSnapshotPolicyState._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + policy_prefix=policy_prefix, + schedules=schedules, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + policy_prefix: Optional[pulumi.Input[str]] = None, + schedules: Optional[pulumi.Input[Sequence[pulumi.Input['FilesystemSnapshotPolicyScheduleArgs']]]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if policy_prefix is not None: - pulumi.set(__self__, "policy_prefix", policy_prefix) + _setter("policy_prefix", policy_prefix) if schedules is not None: - pulumi.set(__self__, "schedules", schedules) + _setter("schedules", schedules) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="availabilityDomain") @@ -464,6 +512,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + FilesystemSnapshotPolicyArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/filestorage/get_export_sets.py b/sdk/python/pulumi_oci/filestorage/get_export_sets.py index cc8189af63..84493e8789 100644 --- a/sdk/python/pulumi_oci/filestorage/get_export_sets.py +++ b/sdk/python/pulumi_oci/filestorage/get_export_sets.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/filestorage/get_exports.py b/sdk/python/pulumi_oci/filestorage/get_exports.py index 575322ee3f..b27a5a31b7 100644 --- a/sdk/python/pulumi_oci/filestorage/get_exports.py +++ b/sdk/python/pulumi_oci/filestorage/get_exports.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/filestorage/get_file_systems.py b/sdk/python/pulumi_oci/filestorage/get_file_systems.py index 4cef694571..2f8aea1ecf 100644 --- a/sdk/python/pulumi_oci/filestorage/get_file_systems.py +++ b/sdk/python/pulumi_oci/filestorage/get_file_systems.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/filestorage/get_filesystem_snapshot_policies.py b/sdk/python/pulumi_oci/filestorage/get_filesystem_snapshot_policies.py index 54749a8659..d77fc6739f 100644 --- a/sdk/python/pulumi_oci/filestorage/get_filesystem_snapshot_policies.py +++ b/sdk/python/pulumi_oci/filestorage/get_filesystem_snapshot_policies.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/filestorage/get_filesystem_snapshot_policy.py b/sdk/python/pulumi_oci/filestorage/get_filesystem_snapshot_policy.py index 1d733eaadf..b177235144 100644 --- a/sdk/python/pulumi_oci/filestorage/get_filesystem_snapshot_policy.py +++ b/sdk/python/pulumi_oci/filestorage/get_filesystem_snapshot_policy.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/filestorage/get_mount_targets.py b/sdk/python/pulumi_oci/filestorage/get_mount_targets.py index db025e631b..e597467c12 100644 --- a/sdk/python/pulumi_oci/filestorage/get_mount_targets.py +++ b/sdk/python/pulumi_oci/filestorage/get_mount_targets.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/filestorage/get_outbound_connector.py b/sdk/python/pulumi_oci/filestorage/get_outbound_connector.py index 33c3bfd4c9..de67bf289d 100644 --- a/sdk/python/pulumi_oci/filestorage/get_outbound_connector.py +++ b/sdk/python/pulumi_oci/filestorage/get_outbound_connector.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/filestorage/get_outbound_connectors.py b/sdk/python/pulumi_oci/filestorage/get_outbound_connectors.py index 9f343841c7..5965ad17d3 100644 --- a/sdk/python/pulumi_oci/filestorage/get_outbound_connectors.py +++ b/sdk/python/pulumi_oci/filestorage/get_outbound_connectors.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/filestorage/get_replication.py b/sdk/python/pulumi_oci/filestorage/get_replication.py index d130aa156f..cd58e033f2 100644 --- a/sdk/python/pulumi_oci/filestorage/get_replication.py +++ b/sdk/python/pulumi_oci/filestorage/get_replication.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/filestorage/get_replication_target.py b/sdk/python/pulumi_oci/filestorage/get_replication_target.py index 00e3de6569..62d74c7713 100644 --- a/sdk/python/pulumi_oci/filestorage/get_replication_target.py +++ b/sdk/python/pulumi_oci/filestorage/get_replication_target.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/filestorage/get_replication_targets.py b/sdk/python/pulumi_oci/filestorage/get_replication_targets.py index e5b3a3808b..33bfca38c3 100644 --- a/sdk/python/pulumi_oci/filestorage/get_replication_targets.py +++ b/sdk/python/pulumi_oci/filestorage/get_replication_targets.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/filestorage/get_replications.py b/sdk/python/pulumi_oci/filestorage/get_replications.py index cd50771764..dccc0365a3 100644 --- a/sdk/python/pulumi_oci/filestorage/get_replications.py +++ b/sdk/python/pulumi_oci/filestorage/get_replications.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/filestorage/get_snapshot.py b/sdk/python/pulumi_oci/filestorage/get_snapshot.py index bffb84d994..ed9b8c29c2 100644 --- a/sdk/python/pulumi_oci/filestorage/get_snapshot.py +++ b/sdk/python/pulumi_oci/filestorage/get_snapshot.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/filestorage/get_snapshots.py b/sdk/python/pulumi_oci/filestorage/get_snapshots.py index 6d7fcbb5e1..6b9c18617a 100644 --- a/sdk/python/pulumi_oci/filestorage/get_snapshots.py +++ b/sdk/python/pulumi_oci/filestorage/get_snapshots.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/filestorage/mount_target.py b/sdk/python/pulumi_oci/filestorage/mount_target.py index 3483c834a5..fb5defeac5 100644 --- a/sdk/python/pulumi_oci/filestorage/mount_target.py +++ b/sdk/python/pulumi_oci/filestorage/mount_target.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -57,27 +57,58 @@ def __init__(__self__, *, :param pulumi.Input['MountTargetLdapIdmapArgs'] ldap_idmap: (Updatable) Mount target details about the LDAP ID mapping configuration. :param pulumi.Input[Sequence[pulumi.Input[str]]] nsg_ids: (Updatable) A list of Network Security Group [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with this mount target. A maximum of 5 is allowed. Setting this to an empty array after the list is created removes the mount target from all NSGs. For more information about NSGs, see [Security Rules](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/securityrules.htm). """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "subnet_id", subnet_id) + MountTargetArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + compartment_id=compartment_id, + subnet_id=subnet_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + hostname_label=hostname_label, + idmap_type=idmap_type, + ip_address=ip_address, + kerberos=kerberos, + ldap_idmap=ldap_idmap, + nsg_ids=nsg_ids, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: pulumi.Input[str], + compartment_id: pulumi.Input[str], + subnet_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + hostname_label: Optional[pulumi.Input[str]] = None, + idmap_type: Optional[pulumi.Input[str]] = None, + ip_address: Optional[pulumi.Input[str]] = None, + kerberos: Optional[pulumi.Input['MountTargetKerberosArgs']] = None, + ldap_idmap: Optional[pulumi.Input['MountTargetLdapIdmapArgs']] = None, + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("compartment_id", compartment_id) + _setter("subnet_id", subnet_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if hostname_label is not None: - pulumi.set(__self__, "hostname_label", hostname_label) + _setter("hostname_label", hostname_label) if idmap_type is not None: - pulumi.set(__self__, "idmap_type", idmap_type) + _setter("idmap_type", idmap_type) if ip_address is not None: - pulumi.set(__self__, "ip_address", ip_address) + _setter("ip_address", ip_address) if kerberos is not None: - pulumi.set(__self__, "kerberos", kerberos) + _setter("kerberos", kerberos) if ldap_idmap is not None: - pulumi.set(__self__, "ldap_idmap", ldap_idmap) + _setter("ldap_idmap", ldap_idmap) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) @property @pulumi.getter(name="availabilityDomain") @@ -292,40 +323,81 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] time_created: The date and time the mount target was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` """ + _MountTargetState._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + export_set_id=export_set_id, + freeform_tags=freeform_tags, + hostname_label=hostname_label, + idmap_type=idmap_type, + ip_address=ip_address, + kerberos=kerberos, + ldap_idmap=ldap_idmap, + lifecycle_details=lifecycle_details, + nsg_ids=nsg_ids, + private_ip_ids=private_ip_ids, + state=state, + subnet_id=subnet_id, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + export_set_id: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + hostname_label: Optional[pulumi.Input[str]] = None, + idmap_type: Optional[pulumi.Input[str]] = None, + ip_address: Optional[pulumi.Input[str]] = None, + kerberos: Optional[pulumi.Input['MountTargetKerberosArgs']] = None, + ldap_idmap: Optional[pulumi.Input['MountTargetLdapIdmapArgs']] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + private_ip_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + state: Optional[pulumi.Input[str]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if export_set_id is not None: - pulumi.set(__self__, "export_set_id", export_set_id) + _setter("export_set_id", export_set_id) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if hostname_label is not None: - pulumi.set(__self__, "hostname_label", hostname_label) + _setter("hostname_label", hostname_label) if idmap_type is not None: - pulumi.set(__self__, "idmap_type", idmap_type) + _setter("idmap_type", idmap_type) if ip_address is not None: - pulumi.set(__self__, "ip_address", ip_address) + _setter("ip_address", ip_address) if kerberos is not None: - pulumi.set(__self__, "kerberos", kerberos) + _setter("kerberos", kerberos) if ldap_idmap is not None: - pulumi.set(__self__, "ldap_idmap", ldap_idmap) + _setter("ldap_idmap", ldap_idmap) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) if private_ip_ids is not None: - pulumi.set(__self__, "private_ip_ids", private_ip_ids) + _setter("private_ip_ids", private_ip_ids) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="availabilityDomain") @@ -777,6 +849,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + MountTargetArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -815,7 +891,17 @@ def _internal_init(__self__, __props__.__dict__["hostname_label"] = hostname_label __props__.__dict__["idmap_type"] = idmap_type __props__.__dict__["ip_address"] = ip_address + if kerberos is not None and not isinstance(kerberos, MountTargetKerberosArgs): + kerberos = kerberos or {} + def _setter(key, value): + kerberos[key] = value + MountTargetKerberosArgs._configure(_setter, **kerberos) __props__.__dict__["kerberos"] = kerberos + if ldap_idmap is not None and not isinstance(ldap_idmap, MountTargetLdapIdmapArgs): + ldap_idmap = ldap_idmap or {} + def _setter(key, value): + ldap_idmap[key] = value + MountTargetLdapIdmapArgs._configure(_setter, **ldap_idmap) __props__.__dict__["ldap_idmap"] = ldap_idmap __props__.__dict__["nsg_ids"] = nsg_ids if subnet_id is None and not opts.urn: diff --git a/sdk/python/pulumi_oci/filestorage/outbound_connector.py b/sdk/python/pulumi_oci/filestorage/outbound_connector.py index cb3feddf01..ff584ce309 100644 --- a/sdk/python/pulumi_oci/filestorage/outbound_connector.py +++ b/sdk/python/pulumi_oci/filestorage/outbound_connector.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -43,21 +43,48 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "bind_distinguished_name", bind_distinguished_name) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "connector_type", connector_type) - pulumi.set(__self__, "endpoints", endpoints) + OutboundConnectorArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + bind_distinguished_name=bind_distinguished_name, + compartment_id=compartment_id, + connector_type=connector_type, + endpoints=endpoints, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + password_secret_id=password_secret_id, + password_secret_version=password_secret_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: pulumi.Input[str], + bind_distinguished_name: pulumi.Input[str], + compartment_id: pulumi.Input[str], + connector_type: pulumi.Input[str], + endpoints: pulumi.Input[Sequence[pulumi.Input['OutboundConnectorEndpointArgs']]], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + password_secret_id: Optional[pulumi.Input[str]] = None, + password_secret_version: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("bind_distinguished_name", bind_distinguished_name) + _setter("compartment_id", compartment_id) + _setter("connector_type", connector_type) + _setter("endpoints", endpoints) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if password_secret_id is not None: - pulumi.set(__self__, "password_secret_id", password_secret_id) + _setter("password_secret_id", password_secret_id) if password_secret_version is not None: - pulumi.set(__self__, "password_secret_version", password_secret_version) + _setter("password_secret_version", password_secret_version) @property @pulumi.getter(name="availabilityDomain") @@ -218,30 +245,61 @@ def __init__(__self__, *, :param pulumi.Input[str] state: The current state of this outbound connector. :param pulumi.Input[str] time_created: The date and time the outbound connector was created in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` """ + _OutboundConnectorState._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + bind_distinguished_name=bind_distinguished_name, + compartment_id=compartment_id, + connector_type=connector_type, + defined_tags=defined_tags, + display_name=display_name, + endpoints=endpoints, + freeform_tags=freeform_tags, + password_secret_id=password_secret_id, + password_secret_version=password_secret_version, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: Optional[pulumi.Input[str]] = None, + bind_distinguished_name: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + connector_type: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + endpoints: Optional[pulumi.Input[Sequence[pulumi.Input['OutboundConnectorEndpointArgs']]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + password_secret_id: Optional[pulumi.Input[str]] = None, + password_secret_version: Optional[pulumi.Input[int]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if bind_distinguished_name is not None: - pulumi.set(__self__, "bind_distinguished_name", bind_distinguished_name) + _setter("bind_distinguished_name", bind_distinguished_name) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if connector_type is not None: - pulumi.set(__self__, "connector_type", connector_type) + _setter("connector_type", connector_type) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if endpoints is not None: - pulumi.set(__self__, "endpoints", endpoints) + _setter("endpoints", endpoints) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if password_secret_id is not None: - pulumi.set(__self__, "password_secret_id", password_secret_id) + _setter("password_secret_id", password_secret_id) if password_secret_version is not None: - pulumi.set(__self__, "password_secret_version", password_secret_version) + _setter("password_secret_version", password_secret_version) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="availabilityDomain") @@ -557,6 +615,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + OutboundConnectorArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/filestorage/outputs.py b/sdk/python/pulumi_oci/filestorage/outputs.py index c6b543b028..91476054af 100644 --- a/sdk/python/pulumi_oci/filestorage/outputs.py +++ b/sdk/python/pulumi_oci/filestorage/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -95,21 +95,44 @@ def __init__(__self__, *, :param bool is_anonymous_access_allowed: (Updatable) Whether or not to enable anonymous access to the file system through this export in cases where a user isn't found in the LDAP server used for ID mapping. If true, and the user is not found in the LDAP directory, the operation uses the Squash UID and Squash GID. :param bool require_privileged_source_port: (Updatable) If `true`, clients accessing the file system through this export must connect from a privileged source port. If unspecified, defaults to `true`. """ - pulumi.set(__self__, "source", source) + ExportExportOption._configure( + lambda key, value: pulumi.set(__self__, key, value), + source=source, + access=access, + allowed_auths=allowed_auths, + anonymous_gid=anonymous_gid, + anonymous_uid=anonymous_uid, + identity_squash=identity_squash, + is_anonymous_access_allowed=is_anonymous_access_allowed, + require_privileged_source_port=require_privileged_source_port, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + source: str, + access: Optional[str] = None, + allowed_auths: Optional[Sequence[str]] = None, + anonymous_gid: Optional[str] = None, + anonymous_uid: Optional[str] = None, + identity_squash: Optional[str] = None, + is_anonymous_access_allowed: Optional[bool] = None, + require_privileged_source_port: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("source", source) if access is not None: - pulumi.set(__self__, "access", access) + _setter("access", access) if allowed_auths is not None: - pulumi.set(__self__, "allowed_auths", allowed_auths) + _setter("allowed_auths", allowed_auths) if anonymous_gid is not None: - pulumi.set(__self__, "anonymous_gid", anonymous_gid) + _setter("anonymous_gid", anonymous_gid) if anonymous_uid is not None: - pulumi.set(__self__, "anonymous_uid", anonymous_uid) + _setter("anonymous_uid", anonymous_uid) if identity_squash is not None: - pulumi.set(__self__, "identity_squash", identity_squash) + _setter("identity_squash", identity_squash) if is_anonymous_access_allowed is not None: - pulumi.set(__self__, "is_anonymous_access_allowed", is_anonymous_access_allowed) + _setter("is_anonymous_access_allowed", is_anonymous_access_allowed) if require_privileged_source_port is not None: - pulumi.set(__self__, "require_privileged_source_port", require_privileged_source_port) + _setter("require_privileged_source_port", require_privileged_source_port) @property @pulumi.getter @@ -210,10 +233,21 @@ def __init__(__self__, *, ** 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 """ + FileSystemSourceDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + parent_file_system_id=parent_file_system_id, + source_snapshot_id=source_snapshot_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + parent_file_system_id: Optional[str] = None, + source_snapshot_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if parent_file_system_id is not None: - pulumi.set(__self__, "parent_file_system_id", parent_file_system_id) + _setter("parent_file_system_id", parent_file_system_id) if source_snapshot_id is not None: - pulumi.set(__self__, "source_snapshot_id", source_snapshot_id) + _setter("source_snapshot_id", source_snapshot_id) @property @pulumi.getter(name="parentFileSystemId") @@ -288,22 +322,47 @@ def __init__(__self__, *, :param str schedule_prefix: (Updatable) A name prefix to be applied to snapshots created by this schedule. Example: `compliance1` :param str time_schedule_start: (Updatable) The starting point used to begin the scheduling of the snapshots based upon recurrence string in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. If no `timeScheduleStart` is provided, the value will be set to the time when the schedule was created. """ - pulumi.set(__self__, "period", period) - pulumi.set(__self__, "time_zone", time_zone) + FilesystemSnapshotPolicySchedule._configure( + lambda key, value: pulumi.set(__self__, key, value), + period=period, + time_zone=time_zone, + day_of_month=day_of_month, + day_of_week=day_of_week, + hour_of_day=hour_of_day, + month=month, + retention_duration_in_seconds=retention_duration_in_seconds, + schedule_prefix=schedule_prefix, + time_schedule_start=time_schedule_start, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + period: str, + time_zone: str, + day_of_month: Optional[int] = None, + day_of_week: Optional[str] = None, + hour_of_day: Optional[int] = None, + month: Optional[str] = None, + retention_duration_in_seconds: Optional[str] = None, + schedule_prefix: Optional[str] = None, + time_schedule_start: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("period", period) + _setter("time_zone", time_zone) if day_of_month is not None: - pulumi.set(__self__, "day_of_month", day_of_month) + _setter("day_of_month", day_of_month) if day_of_week is not None: - pulumi.set(__self__, "day_of_week", day_of_week) + _setter("day_of_week", day_of_week) if hour_of_day is not None: - pulumi.set(__self__, "hour_of_day", hour_of_day) + _setter("hour_of_day", hour_of_day) if month is not None: - pulumi.set(__self__, "month", month) + _setter("month", month) if retention_duration_in_seconds is not None: - pulumi.set(__self__, "retention_duration_in_seconds", retention_duration_in_seconds) + _setter("retention_duration_in_seconds", retention_duration_in_seconds) if schedule_prefix is not None: - pulumi.set(__self__, "schedule_prefix", schedule_prefix) + _setter("schedule_prefix", schedule_prefix) if time_schedule_start is not None: - pulumi.set(__self__, "time_schedule_start", time_schedule_start) + _setter("time_schedule_start", time_schedule_start) @property @pulumi.getter @@ -418,15 +477,32 @@ def __init__(__self__, *, :param bool is_kerberos_enabled: (Updatable) Specifies whether to enable or disable Kerberos. :param str key_tab_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the keytab Secret in the Vault. """ - pulumi.set(__self__, "kerberos_realm", kerberos_realm) + MountTargetKerberos._configure( + lambda key, value: pulumi.set(__self__, key, value), + kerberos_realm=kerberos_realm, + backup_key_tab_secret_version=backup_key_tab_secret_version, + current_key_tab_secret_version=current_key_tab_secret_version, + is_kerberos_enabled=is_kerberos_enabled, + key_tab_secret_id=key_tab_secret_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + kerberos_realm: str, + backup_key_tab_secret_version: Optional[int] = None, + current_key_tab_secret_version: Optional[int] = None, + is_kerberos_enabled: Optional[bool] = None, + key_tab_secret_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("kerberos_realm", kerberos_realm) if backup_key_tab_secret_version is not None: - pulumi.set(__self__, "backup_key_tab_secret_version", backup_key_tab_secret_version) + _setter("backup_key_tab_secret_version", backup_key_tab_secret_version) if current_key_tab_secret_version is not None: - pulumi.set(__self__, "current_key_tab_secret_version", current_key_tab_secret_version) + _setter("current_key_tab_secret_version", current_key_tab_secret_version) if is_kerberos_enabled is not None: - pulumi.set(__self__, "is_kerberos_enabled", is_kerberos_enabled) + _setter("is_kerberos_enabled", is_kerberos_enabled) if key_tab_secret_id is not None: - pulumi.set(__self__, "key_tab_secret_id", key_tab_secret_id) + _setter("key_tab_secret_id", key_tab_secret_id) @property @pulumi.getter(name="kerberosRealm") @@ -521,22 +597,45 @@ def __init__(__self__, *, :param str schema_type: (Updatable) Schema type of the LDAP account. :param str user_search_base: (Updatable) All LDAP searches are recursive starting at this user. Example: `CN=User,DC=domain,DC=com` """ + MountTargetLdapIdmap._configure( + lambda key, value: pulumi.set(__self__, key, value), + cache_lifetime_seconds=cache_lifetime_seconds, + cache_refresh_interval_seconds=cache_refresh_interval_seconds, + group_search_base=group_search_base, + negative_cache_lifetime_seconds=negative_cache_lifetime_seconds, + outbound_connector1id=outbound_connector1id, + outbound_connector2id=outbound_connector2id, + schema_type=schema_type, + user_search_base=user_search_base, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cache_lifetime_seconds: Optional[int] = None, + cache_refresh_interval_seconds: Optional[int] = None, + group_search_base: Optional[str] = None, + negative_cache_lifetime_seconds: Optional[int] = None, + outbound_connector1id: Optional[str] = None, + outbound_connector2id: Optional[str] = None, + schema_type: Optional[str] = None, + user_search_base: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if cache_lifetime_seconds is not None: - pulumi.set(__self__, "cache_lifetime_seconds", cache_lifetime_seconds) + _setter("cache_lifetime_seconds", cache_lifetime_seconds) if cache_refresh_interval_seconds is not None: - pulumi.set(__self__, "cache_refresh_interval_seconds", cache_refresh_interval_seconds) + _setter("cache_refresh_interval_seconds", cache_refresh_interval_seconds) if group_search_base is not None: - pulumi.set(__self__, "group_search_base", group_search_base) + _setter("group_search_base", group_search_base) if negative_cache_lifetime_seconds is not None: - pulumi.set(__self__, "negative_cache_lifetime_seconds", negative_cache_lifetime_seconds) + _setter("negative_cache_lifetime_seconds", negative_cache_lifetime_seconds) if outbound_connector1id is not None: - pulumi.set(__self__, "outbound_connector1id", outbound_connector1id) + _setter("outbound_connector1id", outbound_connector1id) if outbound_connector2id is not None: - pulumi.set(__self__, "outbound_connector2id", outbound_connector2id) + _setter("outbound_connector2id", outbound_connector2id) if schema_type is not None: - pulumi.set(__self__, "schema_type", schema_type) + _setter("schema_type", schema_type) if user_search_base is not None: - pulumi.set(__self__, "user_search_base", user_search_base) + _setter("user_search_base", user_search_base) @property @pulumi.getter(name="cacheLifetimeSeconds") @@ -612,8 +711,19 @@ def __init__(__self__, *, :param str hostname: Name of the DNS server. :param str port: Port of the DNS server. """ - pulumi.set(__self__, "hostname", hostname) - pulumi.set(__self__, "port", port) + OutboundConnectorEndpoint._configure( + lambda key, value: pulumi.set(__self__, key, value), + hostname=hostname, + port=port, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hostname: str, + port: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("hostname", hostname) + _setter("port", port) @property @pulumi.getter @@ -656,16 +766,43 @@ def __init__(__self__, *, :param str time_created: The date and time the export set was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` :param str vcn_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the virtual cloud network (VCN) the export set is in. """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "max_fs_stat_bytes", max_fs_stat_bytes) - pulumi.set(__self__, "max_fs_stat_files", max_fs_stat_files) - pulumi.set(__self__, "mount_target_id", mount_target_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "vcn_id", vcn_id) + GetExportSetsExportSetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + compartment_id=compartment_id, + display_name=display_name, + id=id, + max_fs_stat_bytes=max_fs_stat_bytes, + max_fs_stat_files=max_fs_stat_files, + mount_target_id=mount_target_id, + state=state, + time_created=time_created, + vcn_id=vcn_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + compartment_id: str, + display_name: str, + id: str, + max_fs_stat_bytes: str, + max_fs_stat_files: str, + mount_target_id: str, + state: str, + time_created: str, + vcn_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) + _setter("id", id) + _setter("max_fs_stat_bytes", max_fs_stat_bytes) + _setter("max_fs_stat_files", max_fs_stat_files) + _setter("mount_target_id", mount_target_id) + _setter("state", state) + _setter("time_created", time_created) + _setter("vcn_id", vcn_id) @property @pulumi.getter(name="availabilityDomain") @@ -751,10 +888,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetExportSetsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -793,14 +943,37 @@ def __init__(__self__, *, :param str state: Filter results by the specified lifecycle state. Must be a valid state for the resource type. :param str time_created: The date and time the export was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` """ - pulumi.set(__self__, "export_options", export_options) - pulumi.set(__self__, "export_set_id", export_set_id) - pulumi.set(__self__, "file_system_id", file_system_id) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_idmap_groups_for_sys_auth", is_idmap_groups_for_sys_auth) - pulumi.set(__self__, "path", path) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) + GetExportsExportResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + export_options=export_options, + export_set_id=export_set_id, + file_system_id=file_system_id, + id=id, + is_idmap_groups_for_sys_auth=is_idmap_groups_for_sys_auth, + path=path, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + export_options: Sequence['outputs.GetExportsExportExportOptionResult'], + export_set_id: str, + file_system_id: str, + id: str, + is_idmap_groups_for_sys_auth: bool, + path: str, + state: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("export_options", export_options) + _setter("export_set_id", export_set_id) + _setter("file_system_id", file_system_id) + _setter("id", id) + _setter("is_idmap_groups_for_sys_auth", is_idmap_groups_for_sys_auth) + _setter("path", path) + _setter("state", state) + _setter("time_created", time_created) @property @pulumi.getter(name="exportOptions") @@ -888,14 +1061,37 @@ def __init__(__self__, *, :param bool require_privileged_source_port: If `true`, clients accessing the file system through this export must connect from a privileged source port. If unspecified, defaults to `true`. :param str source: Clients these options should apply to. Must be a either single IPv4 address or single IPv4 CIDR block. """ - pulumi.set(__self__, "access", access) - pulumi.set(__self__, "allowed_auths", allowed_auths) - pulumi.set(__self__, "anonymous_gid", anonymous_gid) - pulumi.set(__self__, "anonymous_uid", anonymous_uid) - pulumi.set(__self__, "identity_squash", identity_squash) - pulumi.set(__self__, "is_anonymous_access_allowed", is_anonymous_access_allowed) - pulumi.set(__self__, "require_privileged_source_port", require_privileged_source_port) - pulumi.set(__self__, "source", source) + GetExportsExportExportOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + access=access, + allowed_auths=allowed_auths, + anonymous_gid=anonymous_gid, + anonymous_uid=anonymous_uid, + identity_squash=identity_squash, + is_anonymous_access_allowed=is_anonymous_access_allowed, + require_privileged_source_port=require_privileged_source_port, + source=source, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access: str, + allowed_auths: Sequence[str], + anonymous_gid: str, + anonymous_uid: str, + identity_squash: str, + is_anonymous_access_allowed: bool, + require_privileged_source_port: bool, + source: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("access", access) + _setter("allowed_auths", allowed_auths) + _setter("anonymous_gid", anonymous_gid) + _setter("anonymous_uid", anonymous_uid) + _setter("identity_squash", identity_squash) + _setter("is_anonymous_access_allowed", is_anonymous_access_allowed) + _setter("require_privileged_source_port", require_privileged_source_port) + _setter("source", source) @property @pulumi.getter @@ -968,10 +1164,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetExportsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1030,24 +1239,67 @@ def __init__(__self__, *, :param str state: Filter results by the specified lifecycle state. Must be a valid state for the resource type. :param str time_created: The date and time the file system was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "filesystem_snapshot_policy_id", filesystem_snapshot_policy_id) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_clone_parent", is_clone_parent) - pulumi.set(__self__, "is_hydrated", is_hydrated) - pulumi.set(__self__, "is_targetable", is_targetable) - pulumi.set(__self__, "kms_key_id", kms_key_id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "metered_bytes", metered_bytes) - pulumi.set(__self__, "replication_target_id", replication_target_id) - pulumi.set(__self__, "source_details", source_details) - pulumi.set(__self__, "source_snapshot_id", source_snapshot_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) + GetFileSystemsFileSystemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + filesystem_snapshot_policy_id=filesystem_snapshot_policy_id, + freeform_tags=freeform_tags, + id=id, + is_clone_parent=is_clone_parent, + is_hydrated=is_hydrated, + is_targetable=is_targetable, + kms_key_id=kms_key_id, + lifecycle_details=lifecycle_details, + metered_bytes=metered_bytes, + replication_target_id=replication_target_id, + source_details=source_details, + source_snapshot_id=source_snapshot_id, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + filesystem_snapshot_policy_id: str, + freeform_tags: Mapping[str, Any], + id: str, + is_clone_parent: bool, + is_hydrated: bool, + is_targetable: bool, + kms_key_id: str, + lifecycle_details: str, + metered_bytes: str, + replication_target_id: str, + source_details: Sequence['outputs.GetFileSystemsFileSystemSourceDetailResult'], + source_snapshot_id: str, + state: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("filesystem_snapshot_policy_id", filesystem_snapshot_policy_id) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_clone_parent", is_clone_parent) + _setter("is_hydrated", is_hydrated) + _setter("is_targetable", is_targetable) + _setter("kms_key_id", kms_key_id) + _setter("lifecycle_details", lifecycle_details) + _setter("metered_bytes", metered_bytes) + _setter("replication_target_id", replication_target_id) + _setter("source_details", source_details) + _setter("source_snapshot_id", source_snapshot_id) + _setter("state", state) + _setter("time_created", time_created) @property @pulumi.getter(name="availabilityDomain") @@ -1203,8 +1455,19 @@ def __init__(__self__, *, :param str parent_file_system_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the file system that contains the source snapshot of a cloned file system. See [Cloning a File System](https://docs.cloud.oracle.com/iaas/Content/File/Tasks/cloningFS.htm). :param str source_snapshot_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the snapshot used to create a cloned file system. See [Cloning a File System](https://docs.cloud.oracle.com/iaas/Content/File/Tasks/cloningFS.htm). """ - pulumi.set(__self__, "parent_file_system_id", parent_file_system_id) - pulumi.set(__self__, "source_snapshot_id", source_snapshot_id) + GetFileSystemsFileSystemSourceDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + parent_file_system_id=parent_file_system_id, + source_snapshot_id=source_snapshot_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + parent_file_system_id: str, + source_snapshot_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("parent_file_system_id", parent_file_system_id) + _setter("source_snapshot_id", source_snapshot_id) @property @pulumi.getter(name="parentFileSystemId") @@ -1229,10 +1492,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetFileSystemsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1275,16 +1551,43 @@ def __init__(__self__, *, :param str state: Filter results by the specified lifecycle state. Must be a valid state for the resource type. :param str time_created: The date and time the file system snapshot policy was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "policy_prefix", policy_prefix) - pulumi.set(__self__, "schedules", schedules) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) + GetFilesystemSnapshotPoliciesFilesystemSnapshotPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + policy_prefix=policy_prefix, + schedules=schedules, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + policy_prefix: str, + schedules: Sequence['outputs.GetFilesystemSnapshotPoliciesFilesystemSnapshotPolicyScheduleResult'], + state: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("policy_prefix", policy_prefix) + _setter("schedules", schedules) + _setter("state", state) + _setter("time_created", time_created) @property @pulumi.getter(name="availabilityDomain") @@ -1390,15 +1693,40 @@ def __init__(__self__, *, :param str time_schedule_start: The starting point used to begin the scheduling of the snapshots based upon recurrence string in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. If no `timeScheduleStart` is provided, the value will be set to the time when the schedule was created. :param str time_zone: Time zone used for scheduling the snapshot. """ - pulumi.set(__self__, "day_of_month", day_of_month) - pulumi.set(__self__, "day_of_week", day_of_week) - pulumi.set(__self__, "hour_of_day", hour_of_day) - pulumi.set(__self__, "month", month) - pulumi.set(__self__, "period", period) - pulumi.set(__self__, "retention_duration_in_seconds", retention_duration_in_seconds) - pulumi.set(__self__, "schedule_prefix", schedule_prefix) - pulumi.set(__self__, "time_schedule_start", time_schedule_start) - pulumi.set(__self__, "time_zone", time_zone) + GetFilesystemSnapshotPoliciesFilesystemSnapshotPolicyScheduleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + day_of_month=day_of_month, + day_of_week=day_of_week, + hour_of_day=hour_of_day, + month=month, + period=period, + retention_duration_in_seconds=retention_duration_in_seconds, + schedule_prefix=schedule_prefix, + time_schedule_start=time_schedule_start, + time_zone=time_zone, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + day_of_month: int, + day_of_week: str, + hour_of_day: int, + month: str, + period: str, + retention_duration_in_seconds: str, + schedule_prefix: str, + time_schedule_start: str, + time_zone: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("day_of_month", day_of_month) + _setter("day_of_week", day_of_week) + _setter("hour_of_day", hour_of_day) + _setter("month", month) + _setter("period", period) + _setter("retention_duration_in_seconds", retention_duration_in_seconds) + _setter("schedule_prefix", schedule_prefix) + _setter("time_schedule_start", time_schedule_start) + _setter("time_zone", time_zone) @property @pulumi.getter(name="dayOfMonth") @@ -1479,10 +1807,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetFilesystemSnapshotPoliciesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1523,15 +1864,40 @@ def __init__(__self__, *, :param str time_schedule_start: The starting point used to begin the scheduling of the snapshots based upon recurrence string in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. If no `timeScheduleStart` is provided, the value will be set to the time when the schedule was created. :param str time_zone: Time zone used for scheduling the snapshot. """ - pulumi.set(__self__, "day_of_month", day_of_month) - pulumi.set(__self__, "day_of_week", day_of_week) - pulumi.set(__self__, "hour_of_day", hour_of_day) - pulumi.set(__self__, "month", month) - pulumi.set(__self__, "period", period) - pulumi.set(__self__, "retention_duration_in_seconds", retention_duration_in_seconds) - pulumi.set(__self__, "schedule_prefix", schedule_prefix) - pulumi.set(__self__, "time_schedule_start", time_schedule_start) - pulumi.set(__self__, "time_zone", time_zone) + GetFilesystemSnapshotPolicyScheduleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + day_of_month=day_of_month, + day_of_week=day_of_week, + hour_of_day=hour_of_day, + month=month, + period=period, + retention_duration_in_seconds=retention_duration_in_seconds, + schedule_prefix=schedule_prefix, + time_schedule_start=time_schedule_start, + time_zone=time_zone, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + day_of_month: int, + day_of_week: str, + hour_of_day: int, + month: str, + period: str, + retention_duration_in_seconds: str, + schedule_prefix: str, + time_schedule_start: str, + time_zone: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("day_of_month", day_of_month) + _setter("day_of_week", day_of_week) + _setter("hour_of_day", hour_of_day) + _setter("month", month) + _setter("period", period) + _setter("retention_duration_in_seconds", retention_duration_in_seconds) + _setter("schedule_prefix", schedule_prefix) + _setter("time_schedule_start", time_schedule_start) + _setter("time_zone", time_zone) @property @pulumi.getter(name="dayOfMonth") @@ -1612,10 +1978,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetMountTargetsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1672,24 +2051,67 @@ def __init__(__self__, *, :param str subnet_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet the mount target is in. :param str time_created: The date and time the mount target was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "export_set_id", export_set_id) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "hostname_label", hostname_label) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "idmap_type", idmap_type) - pulumi.set(__self__, "ip_address", ip_address) - pulumi.set(__self__, "kerberos", kerberos) - pulumi.set(__self__, "ldap_idmaps", ldap_idmaps) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "nsg_ids", nsg_ids) - pulumi.set(__self__, "private_ip_ids", private_ip_ids) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "time_created", time_created) + GetMountTargetsMountTargetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + export_set_id=export_set_id, + freeform_tags=freeform_tags, + hostname_label=hostname_label, + id=id, + idmap_type=idmap_type, + ip_address=ip_address, + kerberos=kerberos, + ldap_idmaps=ldap_idmaps, + lifecycle_details=lifecycle_details, + nsg_ids=nsg_ids, + private_ip_ids=private_ip_ids, + state=state, + subnet_id=subnet_id, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + export_set_id: str, + freeform_tags: Mapping[str, Any], + hostname_label: str, + id: str, + idmap_type: str, + ip_address: str, + kerberos: Sequence['outputs.GetMountTargetsMountTargetKerberoResult'], + ldap_idmaps: Sequence['outputs.GetMountTargetsMountTargetLdapIdmapResult'], + lifecycle_details: str, + nsg_ids: Sequence[str], + private_ip_ids: Sequence[str], + state: str, + subnet_id: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("export_set_id", export_set_id) + _setter("freeform_tags", freeform_tags) + _setter("hostname_label", hostname_label) + _setter("id", id) + _setter("idmap_type", idmap_type) + _setter("ip_address", ip_address) + _setter("kerberos", kerberos) + _setter("ldap_idmaps", ldap_idmaps) + _setter("lifecycle_details", lifecycle_details) + _setter("nsg_ids", nsg_ids) + _setter("private_ip_ids", private_ip_ids) + _setter("state", state) + _setter("subnet_id", subnet_id) + _setter("time_created", time_created) @property @pulumi.getter(name="availabilityDomain") @@ -1845,11 +2267,28 @@ def __init__(__self__, *, :param str kerberos_realm: The Kerberos realm that the mount target will join. :param str key_tab_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the keytab secret in the Vault. """ - pulumi.set(__self__, "backup_key_tab_secret_version", backup_key_tab_secret_version) - pulumi.set(__self__, "current_key_tab_secret_version", current_key_tab_secret_version) - pulumi.set(__self__, "is_kerberos_enabled", is_kerberos_enabled) - pulumi.set(__self__, "kerberos_realm", kerberos_realm) - pulumi.set(__self__, "key_tab_secret_id", key_tab_secret_id) + GetMountTargetsMountTargetKerberoResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + backup_key_tab_secret_version=backup_key_tab_secret_version, + current_key_tab_secret_version=current_key_tab_secret_version, + is_kerberos_enabled=is_kerberos_enabled, + kerberos_realm=kerberos_realm, + key_tab_secret_id=key_tab_secret_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backup_key_tab_secret_version: int, + current_key_tab_secret_version: int, + is_kerberos_enabled: bool, + kerberos_realm: str, + key_tab_secret_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("backup_key_tab_secret_version", backup_key_tab_secret_version) + _setter("current_key_tab_secret_version", current_key_tab_secret_version) + _setter("is_kerberos_enabled", is_kerberos_enabled) + _setter("kerberos_realm", kerberos_realm) + _setter("key_tab_secret_id", key_tab_secret_id) @property @pulumi.getter(name="backupKeyTabSecretVersion") @@ -1913,14 +2352,37 @@ def __init__(__self__, *, :param str schema_type: Schema type of the LDAP account. :param str user_search_base: All LDAP searches are recursive starting at this user. Example: `CN=User,DC=domain,DC=com` """ - pulumi.set(__self__, "cache_lifetime_seconds", cache_lifetime_seconds) - pulumi.set(__self__, "cache_refresh_interval_seconds", cache_refresh_interval_seconds) - pulumi.set(__self__, "group_search_base", group_search_base) - pulumi.set(__self__, "negative_cache_lifetime_seconds", negative_cache_lifetime_seconds) - pulumi.set(__self__, "outbound_connector1id", outbound_connector1id) - pulumi.set(__self__, "outbound_connector2id", outbound_connector2id) - pulumi.set(__self__, "schema_type", schema_type) - pulumi.set(__self__, "user_search_base", user_search_base) + GetMountTargetsMountTargetLdapIdmapResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cache_lifetime_seconds=cache_lifetime_seconds, + cache_refresh_interval_seconds=cache_refresh_interval_seconds, + group_search_base=group_search_base, + negative_cache_lifetime_seconds=negative_cache_lifetime_seconds, + outbound_connector1id=outbound_connector1id, + outbound_connector2id=outbound_connector2id, + schema_type=schema_type, + user_search_base=user_search_base, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cache_lifetime_seconds: int, + cache_refresh_interval_seconds: int, + group_search_base: str, + negative_cache_lifetime_seconds: int, + outbound_connector1id: str, + outbound_connector2id: str, + schema_type: str, + user_search_base: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cache_lifetime_seconds", cache_lifetime_seconds) + _setter("cache_refresh_interval_seconds", cache_refresh_interval_seconds) + _setter("group_search_base", group_search_base) + _setter("negative_cache_lifetime_seconds", negative_cache_lifetime_seconds) + _setter("outbound_connector1id", outbound_connector1id) + _setter("outbound_connector2id", outbound_connector2id) + _setter("schema_type", schema_type) + _setter("user_search_base", user_search_base) @property @pulumi.getter(name="cacheLifetimeSeconds") @@ -1996,8 +2458,19 @@ def __init__(__self__, *, :param str hostname: Name of the DNS server. :param str port: Port of the DNS server. """ - pulumi.set(__self__, "hostname", hostname) - pulumi.set(__self__, "port", port) + GetOutboundConnectorEndpointResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + hostname=hostname, + port=port, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hostname: str, + port: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("hostname", hostname) + _setter("port", port) @property @pulumi.getter @@ -2022,10 +2495,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetOutboundConnectorsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2074,19 +2560,52 @@ def __init__(__self__, *, :param str state: Filter results by the specified lifecycle state. Must be a valid state for the resource type. :param str time_created: The date and time the outbound connector was created in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "bind_distinguished_name", bind_distinguished_name) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "connector_type", connector_type) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "endpoints", endpoints) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "password_secret_id", password_secret_id) - pulumi.set(__self__, "password_secret_version", password_secret_version) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) + GetOutboundConnectorsOutboundConnectorResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + bind_distinguished_name=bind_distinguished_name, + compartment_id=compartment_id, + connector_type=connector_type, + defined_tags=defined_tags, + display_name=display_name, + endpoints=endpoints, + freeform_tags=freeform_tags, + id=id, + password_secret_id=password_secret_id, + password_secret_version=password_secret_version, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + bind_distinguished_name: str, + compartment_id: str, + connector_type: str, + defined_tags: Mapping[str, Any], + display_name: str, + endpoints: Sequence['outputs.GetOutboundConnectorsOutboundConnectorEndpointResult'], + freeform_tags: Mapping[str, Any], + id: str, + password_secret_id: str, + password_secret_version: int, + state: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("bind_distinguished_name", bind_distinguished_name) + _setter("compartment_id", compartment_id) + _setter("connector_type", connector_type) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("endpoints", endpoints) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("password_secret_id", password_secret_id) + _setter("password_secret_version", password_secret_version) + _setter("state", state) + _setter("time_created", time_created) @property @pulumi.getter(name="availabilityDomain") @@ -2202,8 +2721,19 @@ def __init__(__self__, *, :param str hostname: Name of the DNS server. :param str port: Port of the DNS server. """ - pulumi.set(__self__, "hostname", hostname) - pulumi.set(__self__, "port", port) + GetOutboundConnectorsOutboundConnectorEndpointResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + hostname=hostname, + port=port, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hostname: str, + port: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("hostname", hostname) + _setter("port", port) @property @pulumi.getter @@ -2228,10 +2758,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetReplicationTargetsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2286,22 +2829,61 @@ def __init__(__self__, *, :param str target_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of target filesystem. :param str time_created: The date and time the replication target was created in target region. in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2021-01-04T20:01:29.100Z` """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "delta_progress", delta_progress) - pulumi.set(__self__, "delta_status", delta_status) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "last_snapshot_id", last_snapshot_id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "recovery_point_time", recovery_point_time) - pulumi.set(__self__, "replication_id", replication_id) - pulumi.set(__self__, "source_id", source_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "target_id", target_id) - pulumi.set(__self__, "time_created", time_created) + GetReplicationTargetsReplicationTargetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + compartment_id=compartment_id, + defined_tags=defined_tags, + delta_progress=delta_progress, + delta_status=delta_status, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + last_snapshot_id=last_snapshot_id, + lifecycle_details=lifecycle_details, + recovery_point_time=recovery_point_time, + replication_id=replication_id, + source_id=source_id, + state=state, + target_id=target_id, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + compartment_id: str, + defined_tags: Mapping[str, Any], + delta_progress: str, + delta_status: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + last_snapshot_id: str, + lifecycle_details: str, + recovery_point_time: str, + replication_id: str, + source_id: str, + state: str, + target_id: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("delta_progress", delta_progress) + _setter("delta_status", delta_status) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("last_snapshot_id", last_snapshot_id) + _setter("lifecycle_details", lifecycle_details) + _setter("recovery_point_time", recovery_point_time) + _setter("replication_id", replication_id) + _setter("source_id", source_id) + _setter("state", state) + _setter("target_id", target_id) + _setter("time_created", time_created) @property @pulumi.getter(name="availabilityDomain") @@ -2438,10 +3020,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetReplicationsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2498,23 +3093,64 @@ def __init__(__self__, *, :param str target_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the target file system. :param str time_created: The date and time the replication was created in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2021-01-04T20:01:29.100Z` """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "delta_progress", delta_progress) - pulumi.set(__self__, "delta_status", delta_status) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "last_snapshot_id", last_snapshot_id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "recovery_point_time", recovery_point_time) - pulumi.set(__self__, "replication_interval", replication_interval) - pulumi.set(__self__, "replication_target_id", replication_target_id) - pulumi.set(__self__, "source_id", source_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "target_id", target_id) - pulumi.set(__self__, "time_created", time_created) + GetReplicationsReplicationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + compartment_id=compartment_id, + defined_tags=defined_tags, + delta_progress=delta_progress, + delta_status=delta_status, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + last_snapshot_id=last_snapshot_id, + lifecycle_details=lifecycle_details, + recovery_point_time=recovery_point_time, + replication_interval=replication_interval, + replication_target_id=replication_target_id, + source_id=source_id, + state=state, + target_id=target_id, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + compartment_id: str, + defined_tags: Mapping[str, Any], + delta_progress: str, + delta_status: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + last_snapshot_id: str, + lifecycle_details: str, + recovery_point_time: str, + replication_interval: str, + replication_target_id: str, + source_id: str, + state: str, + target_id: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("delta_progress", delta_progress) + _setter("delta_status", delta_status) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("last_snapshot_id", last_snapshot_id) + _setter("lifecycle_details", lifecycle_details) + _setter("recovery_point_time", recovery_point_time) + _setter("replication_interval", replication_interval) + _setter("replication_target_id", replication_target_id) + _setter("source_id", source_id) + _setter("state", state) + _setter("target_id", target_id) + _setter("time_created", time_created) @property @pulumi.getter(name="availabilityDomain") @@ -2662,10 +3298,23 @@ def __init__(__self__, *, """ :param str name: Name of the snapshot. This value is immutable. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSnapshotsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2722,20 +3371,55 @@ def __init__(__self__, *, :param str state: Filter results by the specified lifecycle state. Must be a valid state for the resource type. :param str time_created: The date and time the snapshot was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` """ - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "expiration_time", expiration_time) - pulumi.set(__self__, "file_system_id", file_system_id) - pulumi.set(__self__, "filesystem_snapshot_policy_id", filesystem_snapshot_policy_id) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_clone_source", is_clone_source) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "provenance_id", provenance_id) - pulumi.set(__self__, "snapshot_time", snapshot_time) - pulumi.set(__self__, "snapshot_type", snapshot_type) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) + GetSnapshotsSnapshotResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + defined_tags=defined_tags, + expiration_time=expiration_time, + file_system_id=file_system_id, + filesystem_snapshot_policy_id=filesystem_snapshot_policy_id, + freeform_tags=freeform_tags, + id=id, + is_clone_source=is_clone_source, + lifecycle_details=lifecycle_details, + name=name, + provenance_id=provenance_id, + snapshot_time=snapshot_time, + snapshot_type=snapshot_type, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + defined_tags: Mapping[str, Any], + expiration_time: str, + file_system_id: str, + filesystem_snapshot_policy_id: str, + freeform_tags: Mapping[str, Any], + id: str, + is_clone_source: bool, + lifecycle_details: str, + name: str, + provenance_id: str, + snapshot_time: str, + snapshot_type: str, + state: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("defined_tags", defined_tags) + _setter("expiration_time", expiration_time) + _setter("file_system_id", file_system_id) + _setter("filesystem_snapshot_policy_id", filesystem_snapshot_policy_id) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_clone_source", is_clone_source) + _setter("lifecycle_details", lifecycle_details) + _setter("name", name) + _setter("provenance_id", provenance_id) + _setter("snapshot_time", snapshot_time) + _setter("snapshot_type", snapshot_type) + _setter("state", state) + _setter("time_created", time_created) @property @pulumi.getter(name="definedTags") diff --git a/sdk/python/pulumi_oci/filestorage/replication.py b/sdk/python/pulumi_oci/filestorage/replication.py index b9a32ce993..bc1b26143a 100644 --- a/sdk/python/pulumi_oci/filestorage/replication.py +++ b/sdk/python/pulumi_oci/filestorage/replication.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['ReplicationArgs', 'Replication'] @@ -35,17 +35,38 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] freeform_tags: (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` :param pulumi.Input[str] replication_interval: (Updatable) Duration in minutes between replication snapshots. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "source_id", source_id) - pulumi.set(__self__, "target_id", target_id) + ReplicationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + source_id=source_id, + target_id=target_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + replication_interval=replication_interval, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + source_id: pulumi.Input[str], + target_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + replication_interval: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("source_id", source_id) + _setter("target_id", target_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if replication_interval is not None: - pulumi.set(__self__, "replication_interval", replication_interval) + _setter("replication_interval", replication_interval) @property @pulumi.getter(name="compartmentId") @@ -178,38 +199,77 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] time_created: The date and time the replication was created in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2021-01-04T20:01:29.100Z` """ + _ReplicationState._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + compartment_id=compartment_id, + defined_tags=defined_tags, + delta_progress=delta_progress, + delta_status=delta_status, + display_name=display_name, + freeform_tags=freeform_tags, + last_snapshot_id=last_snapshot_id, + lifecycle_details=lifecycle_details, + recovery_point_time=recovery_point_time, + replication_interval=replication_interval, + replication_target_id=replication_target_id, + source_id=source_id, + state=state, + target_id=target_id, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + delta_progress: Optional[pulumi.Input[str]] = None, + delta_status: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + last_snapshot_id: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + recovery_point_time: Optional[pulumi.Input[str]] = None, + replication_interval: Optional[pulumi.Input[str]] = None, + replication_target_id: Optional[pulumi.Input[str]] = None, + source_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + target_id: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if delta_progress is not None: - pulumi.set(__self__, "delta_progress", delta_progress) + _setter("delta_progress", delta_progress) if delta_status is not None: - pulumi.set(__self__, "delta_status", delta_status) + _setter("delta_status", delta_status) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if last_snapshot_id is not None: - pulumi.set(__self__, "last_snapshot_id", last_snapshot_id) + _setter("last_snapshot_id", last_snapshot_id) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if recovery_point_time is not None: - pulumi.set(__self__, "recovery_point_time", recovery_point_time) + _setter("recovery_point_time", recovery_point_time) if replication_interval is not None: - pulumi.set(__self__, "replication_interval", replication_interval) + _setter("replication_interval", replication_interval) if replication_target_id is not None: - pulumi.set(__self__, "replication_target_id", replication_target_id) + _setter("replication_target_id", replication_target_id) if source_id is not None: - pulumi.set(__self__, "source_id", source_id) + _setter("source_id", source_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if target_id is not None: - pulumi.set(__self__, "target_id", target_id) + _setter("target_id", target_id) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="availabilityDomain") @@ -569,6 +629,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ReplicationArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/filestorage/snapshot.py b/sdk/python/pulumi_oci/filestorage/snapshot.py index 72ba5edd75..5f55f0e757 100644 --- a/sdk/python/pulumi_oci/filestorage/snapshot.py +++ b/sdk/python/pulumi_oci/filestorage/snapshot.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['SnapshotArgs', 'Snapshot'] @@ -35,15 +35,32 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "file_system_id", file_system_id) + SnapshotArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + file_system_id=file_system_id, + defined_tags=defined_tags, + expiration_time=expiration_time, + freeform_tags=freeform_tags, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + file_system_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + expiration_time: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("file_system_id", file_system_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if expiration_time is not None: - pulumi.set(__self__, "expiration_time", expiration_time) + _setter("expiration_time", expiration_time) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter(name="fileSystemId") @@ -157,32 +174,65 @@ def __init__(__self__, *, :param pulumi.Input[str] state: The current state of the snapshot. :param pulumi.Input[str] time_created: The date and time the snapshot was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` """ + _SnapshotState._configure( + lambda key, value: pulumi.set(__self__, key, value), + defined_tags=defined_tags, + expiration_time=expiration_time, + file_system_id=file_system_id, + filesystem_snapshot_policy_id=filesystem_snapshot_policy_id, + freeform_tags=freeform_tags, + is_clone_source=is_clone_source, + lifecycle_details=lifecycle_details, + name=name, + provenance_id=provenance_id, + snapshot_time=snapshot_time, + snapshot_type=snapshot_type, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + expiration_time: Optional[pulumi.Input[str]] = None, + file_system_id: Optional[pulumi.Input[str]] = None, + filesystem_snapshot_policy_id: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_clone_source: Optional[pulumi.Input[bool]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + provenance_id: Optional[pulumi.Input[str]] = None, + snapshot_time: Optional[pulumi.Input[str]] = None, + snapshot_type: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if expiration_time is not None: - pulumi.set(__self__, "expiration_time", expiration_time) + _setter("expiration_time", expiration_time) if file_system_id is not None: - pulumi.set(__self__, "file_system_id", file_system_id) + _setter("file_system_id", file_system_id) if filesystem_snapshot_policy_id is not None: - pulumi.set(__self__, "filesystem_snapshot_policy_id", filesystem_snapshot_policy_id) + _setter("filesystem_snapshot_policy_id", filesystem_snapshot_policy_id) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_clone_source is not None: - pulumi.set(__self__, "is_clone_source", is_clone_source) + _setter("is_clone_source", is_clone_source) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if provenance_id is not None: - pulumi.set(__self__, "provenance_id", provenance_id) + _setter("provenance_id", provenance_id) if snapshot_time is not None: - pulumi.set(__self__, "snapshot_time", snapshot_time) + _setter("snapshot_time", snapshot_time) if snapshot_type is not None: - pulumi.set(__self__, "snapshot_type", snapshot_type) + _setter("snapshot_type", snapshot_type) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="definedTags") @@ -457,6 +507,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + SnapshotArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/functions/_inputs.py b/sdk/python/pulumi_oci/functions/_inputs.py index 9e9ac2de3c..3b91c168cf 100644 --- a/sdk/python/pulumi_oci/functions/_inputs.py +++ b/sdk/python/pulumi_oci/functions/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -40,9 +40,20 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_policy_enabled: (Updatable) Define if image signature verification policy is enabled for the application. :param pulumi.Input[Sequence[pulumi.Input['ApplicationImagePolicyConfigKeyDetailArgs']]] key_details: (Updatable) A list of KMS key details. """ - pulumi.set(__self__, "is_policy_enabled", is_policy_enabled) + ApplicationImagePolicyConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_policy_enabled=is_policy_enabled, + key_details=key_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_policy_enabled: pulumi.Input[bool], + key_details: Optional[pulumi.Input[Sequence[pulumi.Input['ApplicationImagePolicyConfigKeyDetailArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_policy_enabled", is_policy_enabled) if key_details is not None: - pulumi.set(__self__, "key_details", key_details) + _setter("key_details", key_details) @property @pulumi.getter(name="isPolicyEnabled") @@ -76,7 +87,16 @@ def __init__(__self__, *, """ :param pulumi.Input[str] kms_key_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)s of the KMS key that will be used to verify the image signature. """ - pulumi.set(__self__, "kms_key_id", kms_key_id) + ApplicationImagePolicyConfigKeyDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + kms_key_id=kms_key_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + kms_key_id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("kms_key_id", kms_key_id) @property @pulumi.getter(name="kmsKeyId") @@ -104,10 +124,21 @@ def __init__(__self__, *, ** 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 """ + ApplicationTraceConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + domain_id=domain_id, + is_enabled=is_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + domain_id: Optional[pulumi.Input[str]] = None, + is_enabled: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if domain_id is not None: - pulumi.set(__self__, "domain_id", domain_id) + _setter("domain_id", domain_id) if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) @property @pulumi.getter(name="domainId") @@ -147,9 +178,20 @@ def __init__(__self__, *, :param pulumi.Input[str] strategy: (Updatable) The strategy for provisioned concurrency to be used. :param pulumi.Input[int] count: (Updatable) Configuration specifying a constant amount of provisioned concurrency. """ - pulumi.set(__self__, "strategy", strategy) + FunctionProvisionedConcurrencyConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + strategy=strategy, + count=count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + strategy: pulumi.Input[str], + count: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("strategy", strategy) if count is not None: - pulumi.set(__self__, "count", count) + _setter("count", count) @property @pulumi.getter @@ -185,8 +227,19 @@ def __init__(__self__, *, :param pulumi.Input[str] pbf_listing_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the PbfListing this function is sourced from. :param pulumi.Input[str] source_type: Type of the Function Source. Possible values: PRE_BUILT_FUNCTIONS. """ - pulumi.set(__self__, "pbf_listing_id", pbf_listing_id) - pulumi.set(__self__, "source_type", source_type) + FunctionSourceDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + pbf_listing_id=pbf_listing_id, + source_type=source_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + pbf_listing_id: pulumi.Input[str], + source_type: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("pbf_listing_id", pbf_listing_id) + _setter("source_type", source_type) @property @pulumi.getter(name="pbfListingId") @@ -224,8 +277,17 @@ def __init__(__self__, *, ** 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 """ + FunctionTraceConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) @property @pulumi.getter(name="isEnabled") @@ -250,10 +312,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetApplicationsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -289,10 +364,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetFunctionsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -328,10 +416,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetFusionEnvironmentAdminUsersFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -367,10 +468,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetFusionEnvironmentDataMaskingActivitiesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -406,10 +520,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetFusionEnvironmentFamiliesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -445,10 +572,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetFusionEnvironmentRefreshActivitiesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -484,10 +624,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetFusionEnvironmentScheduledActivitiesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -523,10 +676,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetFusionEnvironmentServiceAttachmentsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -562,10 +728,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetFusionEnvironmentTimeAvailableForRefreshsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -601,10 +780,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetFusionEnvironmentsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -643,10 +835,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the service trigger source of a PBF. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetPbfListingTriggersFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -688,10 +893,23 @@ def __init__(__self__, *, """ :param str name: Matches a PbfListingVersion based on a provided semantic version name for a PbfListingVersion. Each PbfListingVersion name is unique with respect to its associated PbfListing. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetPbfListingVersionsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -733,10 +951,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the entire PBF name given. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetPbfListingsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/functions/application.py b/sdk/python/pulumi_oci/functions/application.py index 410f311b69..1f1cebeca6 100644 --- a/sdk/python/pulumi_oci/functions/application.py +++ b/sdk/python/pulumi_oci/functions/application.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -43,25 +43,54 @@ def __init__(__self__, *, :param pulumi.Input[str] syslog_url: (Updatable) A syslog URL to which to send all function logs. Supports tcp, udp, and tcp+tls. The syslog URL must be reachable from all of the subnets configured for the application. Note: If you enable the Oracle Cloud Infrastructure Logging service for this application, the syslogUrl value is ignored. Function logs are sent to the Oracle Cloud Infrastructure Logging service, and not to the syslog URL. Example: `tcp://logserver.myserver:1234` :param pulumi.Input['ApplicationTraceConfigArgs'] trace_config: (Updatable) Define the tracing configuration for an application. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "subnet_ids", subnet_ids) + ApplicationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + subnet_ids=subnet_ids, + config=config, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + image_policy_config=image_policy_config, + network_security_group_ids=network_security_group_ids, + shape=shape, + syslog_url=syslog_url, + trace_config=trace_config, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + subnet_ids: pulumi.Input[Sequence[pulumi.Input[str]]], + config: Optional[pulumi.Input[Mapping[str, Any]]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + image_policy_config: Optional[pulumi.Input['ApplicationImagePolicyConfigArgs']] = None, + network_security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + shape: Optional[pulumi.Input[str]] = None, + syslog_url: Optional[pulumi.Input[str]] = None, + trace_config: Optional[pulumi.Input['ApplicationTraceConfigArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) + _setter("subnet_ids", subnet_ids) if config is not None: - pulumi.set(__self__, "config", config) + _setter("config", config) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if image_policy_config is not None: - pulumi.set(__self__, "image_policy_config", image_policy_config) + _setter("image_policy_config", image_policy_config) if network_security_group_ids is not None: - pulumi.set(__self__, "network_security_group_ids", network_security_group_ids) + _setter("network_security_group_ids", network_security_group_ids) if shape is not None: - pulumi.set(__self__, "shape", shape) + _setter("shape", shape) if syslog_url is not None: - pulumi.set(__self__, "syslog_url", syslog_url) + _setter("syslog_url", syslog_url) if trace_config is not None: - pulumi.set(__self__, "trace_config", trace_config) + _setter("trace_config", trace_config) @property @pulumi.getter(name="compartmentId") @@ -234,34 +263,69 @@ def __init__(__self__, *, :param pulumi.Input[str] time_updated: The time the application was updated, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-09-12T22:47:12.613Z` :param pulumi.Input['ApplicationTraceConfigArgs'] trace_config: (Updatable) Define the tracing configuration for an application. """ + _ApplicationState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + config=config, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + image_policy_config=image_policy_config, + network_security_group_ids=network_security_group_ids, + shape=shape, + state=state, + subnet_ids=subnet_ids, + syslog_url=syslog_url, + time_created=time_created, + time_updated=time_updated, + trace_config=trace_config, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + config: Optional[pulumi.Input[Mapping[str, Any]]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + image_policy_config: Optional[pulumi.Input['ApplicationImagePolicyConfigArgs']] = None, + network_security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + shape: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + subnet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + syslog_url: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + trace_config: Optional[pulumi.Input['ApplicationTraceConfigArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if config is not None: - pulumi.set(__self__, "config", config) + _setter("config", config) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if image_policy_config is not None: - pulumi.set(__self__, "image_policy_config", image_policy_config) + _setter("image_policy_config", image_policy_config) if network_security_group_ids is not None: - pulumi.set(__self__, "network_security_group_ids", network_security_group_ids) + _setter("network_security_group_ids", network_security_group_ids) if shape is not None: - pulumi.set(__self__, "shape", shape) + _setter("shape", shape) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if subnet_ids is not None: - pulumi.set(__self__, "subnet_ids", subnet_ids) + _setter("subnet_ids", subnet_ids) if syslog_url is not None: - pulumi.set(__self__, "syslog_url", syslog_url) + _setter("syslog_url", syslog_url) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if trace_config is not None: - pulumi.set(__self__, "trace_config", trace_config) + _setter("trace_config", trace_config) @property @pulumi.getter(name="compartmentId") @@ -565,6 +629,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ApplicationArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -599,6 +667,11 @@ def _internal_init(__self__, raise TypeError("Missing required property 'display_name'") __props__.__dict__["display_name"] = display_name __props__.__dict__["freeform_tags"] = freeform_tags + if image_policy_config is not None and not isinstance(image_policy_config, ApplicationImagePolicyConfigArgs): + image_policy_config = image_policy_config or {} + def _setter(key, value): + image_policy_config[key] = value + ApplicationImagePolicyConfigArgs._configure(_setter, **image_policy_config) __props__.__dict__["image_policy_config"] = image_policy_config __props__.__dict__["network_security_group_ids"] = network_security_group_ids __props__.__dict__["shape"] = shape @@ -606,6 +679,11 @@ def _internal_init(__self__, raise TypeError("Missing required property 'subnet_ids'") __props__.__dict__["subnet_ids"] = subnet_ids __props__.__dict__["syslog_url"] = syslog_url + if trace_config is not None and not isinstance(trace_config, ApplicationTraceConfigArgs): + trace_config = trace_config or {} + def _setter(key, value): + trace_config[key] = value + ApplicationTraceConfigArgs._configure(_setter, **trace_config) __props__.__dict__["trace_config"] = trace_config __props__.__dict__["state"] = None __props__.__dict__["time_created"] = None diff --git a/sdk/python/pulumi_oci/functions/function.py b/sdk/python/pulumi_oci/functions/function.py index c54ef8e724..87184377bd 100644 --- a/sdk/python/pulumi_oci/functions/function.py +++ b/sdk/python/pulumi_oci/functions/function.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -45,27 +45,58 @@ def __init__(__self__, *, :param pulumi.Input[int] timeout_in_seconds: (Updatable) Timeout for executions of the function. Value in seconds. :param pulumi.Input['FunctionTraceConfigArgs'] trace_config: (Updatable) Define the tracing configuration for a function. """ - pulumi.set(__self__, "application_id", application_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "memory_in_mbs", memory_in_mbs) + FunctionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + application_id=application_id, + display_name=display_name, + memory_in_mbs=memory_in_mbs, + config=config, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + image=image, + image_digest=image_digest, + provisioned_concurrency_config=provisioned_concurrency_config, + source_details=source_details, + timeout_in_seconds=timeout_in_seconds, + trace_config=trace_config, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + application_id: pulumi.Input[str], + display_name: pulumi.Input[str], + memory_in_mbs: pulumi.Input[str], + config: Optional[pulumi.Input[Mapping[str, Any]]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + image: Optional[pulumi.Input[str]] = None, + image_digest: Optional[pulumi.Input[str]] = None, + provisioned_concurrency_config: Optional[pulumi.Input['FunctionProvisionedConcurrencyConfigArgs']] = None, + source_details: Optional[pulumi.Input['FunctionSourceDetailsArgs']] = None, + timeout_in_seconds: Optional[pulumi.Input[int]] = None, + trace_config: Optional[pulumi.Input['FunctionTraceConfigArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("application_id", application_id) + _setter("display_name", display_name) + _setter("memory_in_mbs", memory_in_mbs) if config is not None: - pulumi.set(__self__, "config", config) + _setter("config", config) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if image is not None: - pulumi.set(__self__, "image", image) + _setter("image", image) if image_digest is not None: - pulumi.set(__self__, "image_digest", image_digest) + _setter("image_digest", image_digest) if provisioned_concurrency_config is not None: - pulumi.set(__self__, "provisioned_concurrency_config", provisioned_concurrency_config) + _setter("provisioned_concurrency_config", provisioned_concurrency_config) if source_details is not None: - pulumi.set(__self__, "source_details", source_details) + _setter("source_details", source_details) if timeout_in_seconds is not None: - pulumi.set(__self__, "timeout_in_seconds", timeout_in_seconds) + _setter("timeout_in_seconds", timeout_in_seconds) if trace_config is not None: - pulumi.set(__self__, "trace_config", trace_config) + _setter("trace_config", trace_config) @property @pulumi.getter(name="applicationId") @@ -258,42 +289,85 @@ def __init__(__self__, *, :param pulumi.Input[int] timeout_in_seconds: (Updatable) Timeout for executions of the function. Value in seconds. :param pulumi.Input['FunctionTraceConfigArgs'] trace_config: (Updatable) Define the tracing configuration for a function. """ + _FunctionState._configure( + lambda key, value: pulumi.set(__self__, key, value), + application_id=application_id, + compartment_id=compartment_id, + config=config, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + image=image, + image_digest=image_digest, + invoke_endpoint=invoke_endpoint, + memory_in_mbs=memory_in_mbs, + provisioned_concurrency_config=provisioned_concurrency_config, + shape=shape, + source_details=source_details, + state=state, + time_created=time_created, + time_updated=time_updated, + timeout_in_seconds=timeout_in_seconds, + trace_config=trace_config, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + application_id: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + config: Optional[pulumi.Input[Mapping[str, Any]]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + image: Optional[pulumi.Input[str]] = None, + image_digest: Optional[pulumi.Input[str]] = None, + invoke_endpoint: Optional[pulumi.Input[str]] = None, + memory_in_mbs: Optional[pulumi.Input[str]] = None, + provisioned_concurrency_config: Optional[pulumi.Input['FunctionProvisionedConcurrencyConfigArgs']] = None, + shape: Optional[pulumi.Input[str]] = None, + source_details: Optional[pulumi.Input['FunctionSourceDetailsArgs']] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + timeout_in_seconds: Optional[pulumi.Input[int]] = None, + trace_config: Optional[pulumi.Input['FunctionTraceConfigArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if application_id is not None: - pulumi.set(__self__, "application_id", application_id) + _setter("application_id", application_id) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if config is not None: - pulumi.set(__self__, "config", config) + _setter("config", config) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if image is not None: - pulumi.set(__self__, "image", image) + _setter("image", image) if image_digest is not None: - pulumi.set(__self__, "image_digest", image_digest) + _setter("image_digest", image_digest) if invoke_endpoint is not None: - pulumi.set(__self__, "invoke_endpoint", invoke_endpoint) + _setter("invoke_endpoint", invoke_endpoint) if memory_in_mbs is not None: - pulumi.set(__self__, "memory_in_mbs", memory_in_mbs) + _setter("memory_in_mbs", memory_in_mbs) if provisioned_concurrency_config is not None: - pulumi.set(__self__, "provisioned_concurrency_config", provisioned_concurrency_config) + _setter("provisioned_concurrency_config", provisioned_concurrency_config) if shape is not None: - pulumi.set(__self__, "shape", shape) + _setter("shape", shape) if source_details is not None: - pulumi.set(__self__, "source_details", source_details) + _setter("source_details", source_details) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if timeout_in_seconds is not None: - pulumi.set(__self__, "timeout_in_seconds", timeout_in_seconds) + _setter("timeout_in_seconds", timeout_in_seconds) if trace_config is not None: - pulumi.set(__self__, "trace_config", trace_config) + _setter("trace_config", trace_config) @property @pulumi.getter(name="applicationId") @@ -657,6 +731,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + FunctionArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -697,9 +775,24 @@ def _internal_init(__self__, if memory_in_mbs is None and not opts.urn: raise TypeError("Missing required property 'memory_in_mbs'") __props__.__dict__["memory_in_mbs"] = memory_in_mbs + if provisioned_concurrency_config is not None and not isinstance(provisioned_concurrency_config, FunctionProvisionedConcurrencyConfigArgs): + provisioned_concurrency_config = provisioned_concurrency_config or {} + def _setter(key, value): + provisioned_concurrency_config[key] = value + FunctionProvisionedConcurrencyConfigArgs._configure(_setter, **provisioned_concurrency_config) __props__.__dict__["provisioned_concurrency_config"] = provisioned_concurrency_config + if source_details is not None and not isinstance(source_details, FunctionSourceDetailsArgs): + source_details = source_details or {} + def _setter(key, value): + source_details[key] = value + FunctionSourceDetailsArgs._configure(_setter, **source_details) __props__.__dict__["source_details"] = source_details __props__.__dict__["timeout_in_seconds"] = timeout_in_seconds + if trace_config is not None and not isinstance(trace_config, FunctionTraceConfigArgs): + trace_config = trace_config or {} + def _setter(key, value): + trace_config[key] = value + FunctionTraceConfigArgs._configure(_setter, **trace_config) __props__.__dict__["trace_config"] = trace_config __props__.__dict__["compartment_id"] = None __props__.__dict__["invoke_endpoint"] = None diff --git a/sdk/python/pulumi_oci/functions/get_application.py b/sdk/python/pulumi_oci/functions/get_application.py index ec35639f44..01000df9a6 100644 --- a/sdk/python/pulumi_oci/functions/get_application.py +++ b/sdk/python/pulumi_oci/functions/get_application.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/functions/get_applications.py b/sdk/python/pulumi_oci/functions/get_applications.py index a0ea9b7c99..355814b7b7 100644 --- a/sdk/python/pulumi_oci/functions/get_applications.py +++ b/sdk/python/pulumi_oci/functions/get_applications.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/functions/get_function.py b/sdk/python/pulumi_oci/functions/get_function.py index 647c2881ae..d64214ae02 100644 --- a/sdk/python/pulumi_oci/functions/get_function.py +++ b/sdk/python/pulumi_oci/functions/get_function.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/functions/get_functions.py b/sdk/python/pulumi_oci/functions/get_functions.py index 175e1db4f7..f6ae9c9e36 100644 --- a/sdk/python/pulumi_oci/functions/get_functions.py +++ b/sdk/python/pulumi_oci/functions/get_functions.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/functions/get_fusion_environment.py b/sdk/python/pulumi_oci/functions/get_fusion_environment.py index 131e3a1729..2c54d35bb9 100644 --- a/sdk/python/pulumi_oci/functions/get_fusion_environment.py +++ b/sdk/python/pulumi_oci/functions/get_fusion_environment.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/functions/get_fusion_environment_admin_user.py b/sdk/python/pulumi_oci/functions/get_fusion_environment_admin_user.py index 82c98cbebf..ff60fde4e2 100644 --- a/sdk/python/pulumi_oci/functions/get_fusion_environment_admin_user.py +++ b/sdk/python/pulumi_oci/functions/get_fusion_environment_admin_user.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/functions/get_fusion_environment_admin_users.py b/sdk/python/pulumi_oci/functions/get_fusion_environment_admin_users.py index 5432e05968..581300866b 100644 --- a/sdk/python/pulumi_oci/functions/get_fusion_environment_admin_users.py +++ b/sdk/python/pulumi_oci/functions/get_fusion_environment_admin_users.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/functions/get_fusion_environment_data_masking_activities.py b/sdk/python/pulumi_oci/functions/get_fusion_environment_data_masking_activities.py index 9273b04fe3..0b3b3ef957 100644 --- a/sdk/python/pulumi_oci/functions/get_fusion_environment_data_masking_activities.py +++ b/sdk/python/pulumi_oci/functions/get_fusion_environment_data_masking_activities.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/functions/get_fusion_environment_data_masking_activity.py b/sdk/python/pulumi_oci/functions/get_fusion_environment_data_masking_activity.py index ea42aa9ff2..8cbacd8a87 100644 --- a/sdk/python/pulumi_oci/functions/get_fusion_environment_data_masking_activity.py +++ b/sdk/python/pulumi_oci/functions/get_fusion_environment_data_masking_activity.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/functions/get_fusion_environment_families.py b/sdk/python/pulumi_oci/functions/get_fusion_environment_families.py index 2919a0676a..78c57a4ec8 100644 --- a/sdk/python/pulumi_oci/functions/get_fusion_environment_families.py +++ b/sdk/python/pulumi_oci/functions/get_fusion_environment_families.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/functions/get_fusion_environment_family.py b/sdk/python/pulumi_oci/functions/get_fusion_environment_family.py index e6c96616aa..8db574c193 100644 --- a/sdk/python/pulumi_oci/functions/get_fusion_environment_family.py +++ b/sdk/python/pulumi_oci/functions/get_fusion_environment_family.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/functions/get_fusion_environment_family_limits_and_usage.py b/sdk/python/pulumi_oci/functions/get_fusion_environment_family_limits_and_usage.py index 1083ac5639..e125eaeb71 100644 --- a/sdk/python/pulumi_oci/functions/get_fusion_environment_family_limits_and_usage.py +++ b/sdk/python/pulumi_oci/functions/get_fusion_environment_family_limits_and_usage.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/functions/get_fusion_environment_family_subscription_detail.py b/sdk/python/pulumi_oci/functions/get_fusion_environment_family_subscription_detail.py index bf6c53a555..3b83371ab8 100644 --- a/sdk/python/pulumi_oci/functions/get_fusion_environment_family_subscription_detail.py +++ b/sdk/python/pulumi_oci/functions/get_fusion_environment_family_subscription_detail.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/functions/get_fusion_environment_refresh_activities.py b/sdk/python/pulumi_oci/functions/get_fusion_environment_refresh_activities.py index f2194c67bb..8accbe8401 100644 --- a/sdk/python/pulumi_oci/functions/get_fusion_environment_refresh_activities.py +++ b/sdk/python/pulumi_oci/functions/get_fusion_environment_refresh_activities.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/functions/get_fusion_environment_refresh_activity.py b/sdk/python/pulumi_oci/functions/get_fusion_environment_refresh_activity.py index 91063ce97d..dba66e3f2c 100644 --- a/sdk/python/pulumi_oci/functions/get_fusion_environment_refresh_activity.py +++ b/sdk/python/pulumi_oci/functions/get_fusion_environment_refresh_activity.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/functions/get_fusion_environment_scheduled_activities.py b/sdk/python/pulumi_oci/functions/get_fusion_environment_scheduled_activities.py index 0204cb4707..f9ef521f01 100644 --- a/sdk/python/pulumi_oci/functions/get_fusion_environment_scheduled_activities.py +++ b/sdk/python/pulumi_oci/functions/get_fusion_environment_scheduled_activities.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/functions/get_fusion_environment_scheduled_activity.py b/sdk/python/pulumi_oci/functions/get_fusion_environment_scheduled_activity.py index f88e96bb64..96f2f029ce 100644 --- a/sdk/python/pulumi_oci/functions/get_fusion_environment_scheduled_activity.py +++ b/sdk/python/pulumi_oci/functions/get_fusion_environment_scheduled_activity.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/functions/get_fusion_environment_service_attachment.py b/sdk/python/pulumi_oci/functions/get_fusion_environment_service_attachment.py index 7bcf476f77..4b369cb4a6 100644 --- a/sdk/python/pulumi_oci/functions/get_fusion_environment_service_attachment.py +++ b/sdk/python/pulumi_oci/functions/get_fusion_environment_service_attachment.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/functions/get_fusion_environment_service_attachments.py b/sdk/python/pulumi_oci/functions/get_fusion_environment_service_attachments.py index 94d46de7dc..c7b2d886de 100644 --- a/sdk/python/pulumi_oci/functions/get_fusion_environment_service_attachments.py +++ b/sdk/python/pulumi_oci/functions/get_fusion_environment_service_attachments.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/functions/get_fusion_environment_status.py b/sdk/python/pulumi_oci/functions/get_fusion_environment_status.py index 95035bd90d..6c36b1a129 100644 --- a/sdk/python/pulumi_oci/functions/get_fusion_environment_status.py +++ b/sdk/python/pulumi_oci/functions/get_fusion_environment_status.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/functions/get_fusion_environment_time_available_for_refresh.py b/sdk/python/pulumi_oci/functions/get_fusion_environment_time_available_for_refresh.py index 7be30922fb..65fa775206 100644 --- a/sdk/python/pulumi_oci/functions/get_fusion_environment_time_available_for_refresh.py +++ b/sdk/python/pulumi_oci/functions/get_fusion_environment_time_available_for_refresh.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/functions/get_fusion_environment_time_available_for_refreshs.py b/sdk/python/pulumi_oci/functions/get_fusion_environment_time_available_for_refreshs.py index 29e494a62d..e62e67fafd 100644 --- a/sdk/python/pulumi_oci/functions/get_fusion_environment_time_available_for_refreshs.py +++ b/sdk/python/pulumi_oci/functions/get_fusion_environment_time_available_for_refreshs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/functions/get_fusion_environments.py b/sdk/python/pulumi_oci/functions/get_fusion_environments.py index b53be30b6f..49e051543a 100644 --- a/sdk/python/pulumi_oci/functions/get_fusion_environments.py +++ b/sdk/python/pulumi_oci/functions/get_fusion_environments.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/functions/get_pbf_listing.py b/sdk/python/pulumi_oci/functions/get_pbf_listing.py index 9dcbe136b0..d93a665648 100644 --- a/sdk/python/pulumi_oci/functions/get_pbf_listing.py +++ b/sdk/python/pulumi_oci/functions/get_pbf_listing.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/functions/get_pbf_listing_triggers.py b/sdk/python/pulumi_oci/functions/get_pbf_listing_triggers.py index 89b036dba5..8ae1f71405 100644 --- a/sdk/python/pulumi_oci/functions/get_pbf_listing_triggers.py +++ b/sdk/python/pulumi_oci/functions/get_pbf_listing_triggers.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/functions/get_pbf_listing_version.py b/sdk/python/pulumi_oci/functions/get_pbf_listing_version.py index 28112bf1cd..449035f690 100644 --- a/sdk/python/pulumi_oci/functions/get_pbf_listing_version.py +++ b/sdk/python/pulumi_oci/functions/get_pbf_listing_version.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/functions/get_pbf_listing_versions.py b/sdk/python/pulumi_oci/functions/get_pbf_listing_versions.py index 380b0a6d70..270daac380 100644 --- a/sdk/python/pulumi_oci/functions/get_pbf_listing_versions.py +++ b/sdk/python/pulumi_oci/functions/get_pbf_listing_versions.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/functions/get_pbf_listings.py b/sdk/python/pulumi_oci/functions/get_pbf_listings.py index 48aba3f3bb..52814cdad2 100644 --- a/sdk/python/pulumi_oci/functions/get_pbf_listings.py +++ b/sdk/python/pulumi_oci/functions/get_pbf_listings.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/functions/invoke_function.py b/sdk/python/pulumi_oci/functions/invoke_function.py index b19a41273f..e4b4fedd96 100644 --- a/sdk/python/pulumi_oci/functions/invoke_function.py +++ b/sdk/python/pulumi_oci/functions/invoke_function.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['InvokeFunctionArgs', 'InvokeFunction'] @@ -32,19 +32,40 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] invoke_function_body: The body of the function invocation. Note: The maximum size of the request is limited. This limit is currently 6MB and the endpoint will not accept requests that are bigger than this limit. Cannot be defined if `input_body_source_path` or `invoke_function_body_base64_encoded` is defined. """ - pulumi.set(__self__, "function_id", function_id) + InvokeFunctionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + function_id=function_id, + base64_encode_content=base64_encode_content, + fn_intent=fn_intent, + fn_invoke_type=fn_invoke_type, + input_body_source_path=input_body_source_path, + invoke_function_body=invoke_function_body, + invoke_function_body_base64_encoded=invoke_function_body_base64_encoded, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + function_id: pulumi.Input[str], + base64_encode_content: Optional[pulumi.Input[bool]] = None, + fn_intent: Optional[pulumi.Input[str]] = None, + fn_invoke_type: Optional[pulumi.Input[str]] = None, + input_body_source_path: Optional[pulumi.Input[str]] = None, + invoke_function_body: Optional[pulumi.Input[str]] = None, + invoke_function_body_base64_encoded: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("function_id", function_id) if base64_encode_content is not None: - pulumi.set(__self__, "base64_encode_content", base64_encode_content) + _setter("base64_encode_content", base64_encode_content) if fn_intent is not None: - pulumi.set(__self__, "fn_intent", fn_intent) + _setter("fn_intent", fn_intent) if fn_invoke_type is not None: - pulumi.set(__self__, "fn_invoke_type", fn_invoke_type) + _setter("fn_invoke_type", fn_invoke_type) if input_body_source_path is not None: - pulumi.set(__self__, "input_body_source_path", input_body_source_path) + _setter("input_body_source_path", input_body_source_path) if invoke_function_body is not None: - pulumi.set(__self__, "invoke_function_body", invoke_function_body) + _setter("invoke_function_body", invoke_function_body) if invoke_function_body_base64_encoded is not None: - pulumi.set(__self__, "invoke_function_body_base64_encoded", invoke_function_body_base64_encoded) + _setter("invoke_function_body_base64_encoded", invoke_function_body_base64_encoded) @property @pulumi.getter(name="functionId") @@ -152,24 +173,49 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] invoke_function_body: The body of the function invocation. Note: The maximum size of the request is limited. This limit is currently 6MB and the endpoint will not accept requests that are bigger than this limit. Cannot be defined if `input_body_source_path` or `invoke_function_body_base64_encoded` is defined. """ + _InvokeFunctionState._configure( + lambda key, value: pulumi.set(__self__, key, value), + base64_encode_content=base64_encode_content, + content=content, + fn_intent=fn_intent, + fn_invoke_type=fn_invoke_type, + function_id=function_id, + input_body_source_path=input_body_source_path, + invoke_endpoint=invoke_endpoint, + invoke_function_body=invoke_function_body, + invoke_function_body_base64_encoded=invoke_function_body_base64_encoded, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + base64_encode_content: Optional[pulumi.Input[bool]] = None, + content: Optional[pulumi.Input[str]] = None, + fn_intent: Optional[pulumi.Input[str]] = None, + fn_invoke_type: Optional[pulumi.Input[str]] = None, + function_id: Optional[pulumi.Input[str]] = None, + input_body_source_path: Optional[pulumi.Input[str]] = None, + invoke_endpoint: Optional[pulumi.Input[str]] = None, + invoke_function_body: Optional[pulumi.Input[str]] = None, + invoke_function_body_base64_encoded: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if base64_encode_content is not None: - pulumi.set(__self__, "base64_encode_content", base64_encode_content) + _setter("base64_encode_content", base64_encode_content) if content is not None: - pulumi.set(__self__, "content", content) + _setter("content", content) if fn_intent is not None: - pulumi.set(__self__, "fn_intent", fn_intent) + _setter("fn_intent", fn_intent) if fn_invoke_type is not None: - pulumi.set(__self__, "fn_invoke_type", fn_invoke_type) + _setter("fn_invoke_type", fn_invoke_type) if function_id is not None: - pulumi.set(__self__, "function_id", function_id) + _setter("function_id", function_id) if input_body_source_path is not None: - pulumi.set(__self__, "input_body_source_path", input_body_source_path) + _setter("input_body_source_path", input_body_source_path) if invoke_endpoint is not None: - pulumi.set(__self__, "invoke_endpoint", invoke_endpoint) + _setter("invoke_endpoint", invoke_endpoint) if invoke_function_body is not None: - pulumi.set(__self__, "invoke_function_body", invoke_function_body) + _setter("invoke_function_body", invoke_function_body) if invoke_function_body_base64_encoded is not None: - pulumi.set(__self__, "invoke_function_body_base64_encoded", invoke_function_body_base64_encoded) + _setter("invoke_function_body_base64_encoded", invoke_function_body_base64_encoded) @property @pulumi.getter(name="base64EncodeContent") @@ -360,6 +406,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + InvokeFunctionArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/functions/outputs.py b/sdk/python/pulumi_oci/functions/outputs.py index fdc95832b7..4268e700c0 100644 --- a/sdk/python/pulumi_oci/functions/outputs.py +++ b/sdk/python/pulumi_oci/functions/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -136,9 +136,20 @@ def __init__(__self__, *, :param bool is_policy_enabled: (Updatable) Define if image signature verification policy is enabled for the application. :param Sequence['ApplicationImagePolicyConfigKeyDetailArgs'] key_details: (Updatable) A list of KMS key details. """ - pulumi.set(__self__, "is_policy_enabled", is_policy_enabled) + ApplicationImagePolicyConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_policy_enabled=is_policy_enabled, + key_details=key_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_policy_enabled: bool, + key_details: Optional[Sequence['outputs.ApplicationImagePolicyConfigKeyDetail']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_policy_enabled", is_policy_enabled) if key_details is not None: - pulumi.set(__self__, "key_details", key_details) + _setter("key_details", key_details) @property @pulumi.getter(name="isPolicyEnabled") @@ -181,7 +192,16 @@ def __init__(__self__, *, """ :param str kms_key_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)s of the KMS key that will be used to verify the image signature. """ - pulumi.set(__self__, "kms_key_id", kms_key_id) + ApplicationImagePolicyConfigKeyDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + kms_key_id=kms_key_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + kms_key_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("kms_key_id", kms_key_id) @property @pulumi.getter(name="kmsKeyId") @@ -224,10 +244,21 @@ def __init__(__self__, *, ** 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 """ + ApplicationTraceConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + domain_id=domain_id, + is_enabled=is_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + domain_id: Optional[str] = None, + is_enabled: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): if domain_id is not None: - pulumi.set(__self__, "domain_id", domain_id) + _setter("domain_id", domain_id) if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) @property @pulumi.getter(name="domainId") @@ -259,9 +290,20 @@ def __init__(__self__, *, :param str strategy: (Updatable) The strategy for provisioned concurrency to be used. :param int count: (Updatable) Configuration specifying a constant amount of provisioned concurrency. """ - pulumi.set(__self__, "strategy", strategy) + FunctionProvisionedConcurrencyConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + strategy=strategy, + count=count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + strategy: str, + count: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("strategy", strategy) if count is not None: - pulumi.set(__self__, "count", count) + _setter("count", count) @property @pulumi.getter @@ -308,8 +350,19 @@ def __init__(__self__, *, :param str pbf_listing_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the PbfListing this function is sourced from. :param str source_type: Type of the Function Source. Possible values: PRE_BUILT_FUNCTIONS. """ - pulumi.set(__self__, "pbf_listing_id", pbf_listing_id) - pulumi.set(__self__, "source_type", source_type) + FunctionSourceDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + pbf_listing_id=pbf_listing_id, + source_type=source_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + pbf_listing_id: str, + source_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("pbf_listing_id", pbf_listing_id) + _setter("source_type", source_type) @property @pulumi.getter(name="pbfListingId") @@ -356,8 +409,17 @@ def __init__(__self__, *, ** 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 """ + FunctionTraceConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) @property @pulumi.getter(name="isEnabled") @@ -381,8 +443,19 @@ def __init__(__self__, *, :param bool is_policy_enabled: Define if image signature verification policy is enabled for the application. :param Sequence['GetApplicationImagePolicyConfigKeyDetailArgs'] key_details: A list of KMS key details. """ - pulumi.set(__self__, "is_policy_enabled", is_policy_enabled) - pulumi.set(__self__, "key_details", key_details) + GetApplicationImagePolicyConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_policy_enabled=is_policy_enabled, + key_details=key_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_policy_enabled: bool, + key_details: Sequence['outputs.GetApplicationImagePolicyConfigKeyDetailResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_policy_enabled", is_policy_enabled) + _setter("key_details", key_details) @property @pulumi.getter(name="isPolicyEnabled") @@ -408,7 +481,16 @@ def __init__(__self__, *, """ :param str kms_key_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)s of the KMS key that will be used to verify the image signature. """ - pulumi.set(__self__, "kms_key_id", kms_key_id) + GetApplicationImagePolicyConfigKeyDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + kms_key_id=kms_key_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + kms_key_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("kms_key_id", kms_key_id) @property @pulumi.getter(name="kmsKeyId") @@ -428,8 +510,19 @@ def __init__(__self__, *, :param str domain_id: The OCID of the collector (e.g. an APM Domain) trace events will be sent to. :param bool is_enabled: Define if tracing is enabled for the resource. """ - pulumi.set(__self__, "domain_id", domain_id) - pulumi.set(__self__, "is_enabled", is_enabled) + GetApplicationTraceConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + domain_id=domain_id, + is_enabled=is_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + domain_id: str, + is_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("domain_id", domain_id) + _setter("is_enabled", is_enabled) @property @pulumi.getter(name="domainId") @@ -483,21 +576,58 @@ def __init__(__self__, *, :param str time_updated: The time the application was updated, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-09-12T22:47:12.613Z` :param Sequence['GetApplicationsApplicationTraceConfigArgs'] trace_configs: Define the tracing configuration for an application. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "config", config) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "image_policy_configs", image_policy_configs) - pulumi.set(__self__, "network_security_group_ids", network_security_group_ids) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "subnet_ids", subnet_ids) - pulumi.set(__self__, "syslog_url", syslog_url) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "trace_configs", trace_configs) + GetApplicationsApplicationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + config=config, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + image_policy_configs=image_policy_configs, + network_security_group_ids=network_security_group_ids, + shape=shape, + state=state, + subnet_ids=subnet_ids, + syslog_url=syslog_url, + time_created=time_created, + time_updated=time_updated, + trace_configs=trace_configs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + config: Mapping[str, Any], + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + image_policy_configs: Sequence['outputs.GetApplicationsApplicationImagePolicyConfigResult'], + network_security_group_ids: Sequence[str], + shape: str, + state: str, + subnet_ids: Sequence[str], + syslog_url: str, + time_created: str, + time_updated: str, + trace_configs: Sequence['outputs.GetApplicationsApplicationTraceConfigResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("config", config) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("image_policy_configs", image_policy_configs) + _setter("network_security_group_ids", network_security_group_ids) + _setter("shape", shape) + _setter("state", state) + _setter("subnet_ids", subnet_ids) + _setter("syslog_url", syslog_url) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("trace_configs", trace_configs) @property @pulumi.getter(name="compartmentId") @@ -629,8 +759,19 @@ def __init__(__self__, *, :param bool is_policy_enabled: Define if image signature verification policy is enabled for the application. :param Sequence['GetApplicationsApplicationImagePolicyConfigKeyDetailArgs'] key_details: A list of KMS key details. """ - pulumi.set(__self__, "is_policy_enabled", is_policy_enabled) - pulumi.set(__self__, "key_details", key_details) + GetApplicationsApplicationImagePolicyConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_policy_enabled=is_policy_enabled, + key_details=key_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_policy_enabled: bool, + key_details: Sequence['outputs.GetApplicationsApplicationImagePolicyConfigKeyDetailResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_policy_enabled", is_policy_enabled) + _setter("key_details", key_details) @property @pulumi.getter(name="isPolicyEnabled") @@ -656,7 +797,16 @@ def __init__(__self__, *, """ :param str kms_key_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)s of the KMS key that will be used to verify the image signature. """ - pulumi.set(__self__, "kms_key_id", kms_key_id) + GetApplicationsApplicationImagePolicyConfigKeyDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + kms_key_id=kms_key_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + kms_key_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("kms_key_id", kms_key_id) @property @pulumi.getter(name="kmsKeyId") @@ -676,8 +826,19 @@ def __init__(__self__, *, :param str domain_id: The OCID of the collector (e.g. an APM Domain) trace events will be sent to. :param bool is_enabled: Define if tracing is enabled for the resource. """ - pulumi.set(__self__, "domain_id", domain_id) - pulumi.set(__self__, "is_enabled", is_enabled) + GetApplicationsApplicationTraceConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + domain_id=domain_id, + is_enabled=is_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + domain_id: str, + is_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("domain_id", domain_id) + _setter("is_enabled", is_enabled) @property @pulumi.getter(name="domainId") @@ -702,10 +863,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetApplicationsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -732,8 +906,19 @@ def __init__(__self__, *, :param int count: Configuration specifying a constant amount of provisioned concurrency. :param str strategy: The strategy for provisioned concurrency to be used. """ - pulumi.set(__self__, "count", count) - pulumi.set(__self__, "strategy", strategy) + GetFunctionProvisionedConcurrencyConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + count=count, + strategy=strategy, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + count: int, + strategy: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("count", count) + _setter("strategy", strategy) @property @pulumi.getter @@ -761,8 +946,19 @@ def __init__(__self__, *, :param str pbf_listing_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the PbfListing this function is sourced from. :param str source_type: Type of the Function Source. Possible values: PRE_BUILT_FUNCTIONS. """ - pulumi.set(__self__, "pbf_listing_id", pbf_listing_id) - pulumi.set(__self__, "source_type", source_type) + GetFunctionSourceDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + pbf_listing_id=pbf_listing_id, + source_type=source_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + pbf_listing_id: str, + source_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("pbf_listing_id", pbf_listing_id) + _setter("source_type", source_type) @property @pulumi.getter(name="pbfListingId") @@ -788,7 +984,16 @@ def __init__(__self__, *, """ :param bool is_enabled: Define if tracing is enabled for the resource. """ - pulumi.set(__self__, "is_enabled", is_enabled) + GetFunctionTraceConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_enabled", is_enabled) @property @pulumi.getter(name="isEnabled") @@ -805,10 +1010,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetFunctionsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -869,25 +1087,70 @@ def __init__(__self__, *, :param int timeout_in_seconds: Timeout for executions of the function. Value in seconds. :param Sequence['GetFunctionsFunctionTraceConfigArgs'] trace_configs: Define the tracing configuration for a function. """ - pulumi.set(__self__, "application_id", application_id) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "config", config) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "image", image) - pulumi.set(__self__, "image_digest", image_digest) - pulumi.set(__self__, "invoke_endpoint", invoke_endpoint) - pulumi.set(__self__, "memory_in_mbs", memory_in_mbs) - pulumi.set(__self__, "provisioned_concurrency_configs", provisioned_concurrency_configs) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "source_details", source_details) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "timeout_in_seconds", timeout_in_seconds) - pulumi.set(__self__, "trace_configs", trace_configs) + GetFunctionsFunctionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + application_id=application_id, + compartment_id=compartment_id, + config=config, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + image=image, + image_digest=image_digest, + invoke_endpoint=invoke_endpoint, + memory_in_mbs=memory_in_mbs, + provisioned_concurrency_configs=provisioned_concurrency_configs, + shape=shape, + source_details=source_details, + state=state, + time_created=time_created, + time_updated=time_updated, + timeout_in_seconds=timeout_in_seconds, + trace_configs=trace_configs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + application_id: str, + compartment_id: str, + config: Mapping[str, Any], + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + image: str, + image_digest: str, + invoke_endpoint: str, + memory_in_mbs: str, + provisioned_concurrency_configs: Sequence['outputs.GetFunctionsFunctionProvisionedConcurrencyConfigResult'], + shape: str, + source_details: Sequence['outputs.GetFunctionsFunctionSourceDetailResult'], + state: str, + time_created: str, + time_updated: str, + timeout_in_seconds: int, + trace_configs: Sequence['outputs.GetFunctionsFunctionTraceConfigResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("application_id", application_id) + _setter("compartment_id", compartment_id) + _setter("config", config) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("image", image) + _setter("image_digest", image_digest) + _setter("invoke_endpoint", invoke_endpoint) + _setter("memory_in_mbs", memory_in_mbs) + _setter("provisioned_concurrency_configs", provisioned_concurrency_configs) + _setter("shape", shape) + _setter("source_details", source_details) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("timeout_in_seconds", timeout_in_seconds) + _setter("trace_configs", trace_configs) @property @pulumi.getter(name="applicationId") @@ -1051,8 +1314,19 @@ def __init__(__self__, *, :param int count: Configuration specifying a constant amount of provisioned concurrency. :param str strategy: The strategy for provisioned concurrency to be used. """ - pulumi.set(__self__, "count", count) - pulumi.set(__self__, "strategy", strategy) + GetFunctionsFunctionProvisionedConcurrencyConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + count=count, + strategy=strategy, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + count: int, + strategy: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("count", count) + _setter("strategy", strategy) @property @pulumi.getter @@ -1080,8 +1354,19 @@ def __init__(__self__, *, :param str pbf_listing_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the PbfListing this function is sourced from. :param str source_type: Type of the Function Source. Possible values: PRE_BUILT_FUNCTIONS. """ - pulumi.set(__self__, "pbf_listing_id", pbf_listing_id) - pulumi.set(__self__, "source_type", source_type) + GetFunctionsFunctionSourceDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + pbf_listing_id=pbf_listing_id, + source_type=source_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + pbf_listing_id: str, + source_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("pbf_listing_id", pbf_listing_id) + _setter("source_type", source_type) @property @pulumi.getter(name="pbfListingId") @@ -1107,7 +1392,16 @@ def __init__(__self__, *, """ :param bool is_enabled: Define if tracing is enabled for the resource. """ - pulumi.set(__self__, "is_enabled", is_enabled) + GetFunctionsFunctionTraceConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_enabled", is_enabled) @property @pulumi.getter(name="isEnabled") @@ -1131,10 +1425,25 @@ def __init__(__self__, *, :param str last_name: Admin users last name :param str username: Admin username """ - pulumi.set(__self__, "email_address", email_address) - pulumi.set(__self__, "first_name", first_name) - pulumi.set(__self__, "last_name", last_name) - pulumi.set(__self__, "username", username) + GetFusionEnvironmentAdminUserItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + email_address=email_address, + first_name=first_name, + last_name=last_name, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + email_address: str, + first_name: str, + last_name: str, + username: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("email_address", email_address) + _setter("first_name", first_name) + _setter("last_name", last_name) + _setter("username", username) @property @pulumi.getter(name="emailAddress") @@ -1176,7 +1485,16 @@ def __init__(__self__, *, """ :param Sequence['GetFusionEnvironmentAdminUsersAdminUserCollectionItemArgs'] items: A page of AdminUserSummary objects. """ - pulumi.set(__self__, "items", items) + GetFusionEnvironmentAdminUsersAdminUserCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetFusionEnvironmentAdminUsersAdminUserCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1206,14 +1524,37 @@ def __init__(__self__, *, :param str last_name: Admin users last name :param str username: Admin username """ - pulumi.set(__self__, "email_address", email_address) - pulumi.set(__self__, "first_name", first_name) - pulumi.set(__self__, "fusion_environment_id", fusion_environment_id) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "items", items) - pulumi.set(__self__, "last_name", last_name) - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "username", username) + GetFusionEnvironmentAdminUsersAdminUserCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + email_address=email_address, + first_name=first_name, + fusion_environment_id=fusion_environment_id, + id=id, + items=items, + last_name=last_name, + password=password, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + email_address: str, + first_name: str, + fusion_environment_id: str, + id: str, + items: Sequence['outputs.GetFusionEnvironmentAdminUsersAdminUserCollectionItemItemResult'], + last_name: str, + password: str, + username: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("email_address", email_address) + _setter("first_name", first_name) + _setter("fusion_environment_id", fusion_environment_id) + _setter("id", id) + _setter("items", items) + _setter("last_name", last_name) + _setter("password", password) + _setter("username", username) @property @pulumi.getter(name="emailAddress") @@ -1287,10 +1628,25 @@ def __init__(__self__, *, :param str last_name: Admin users last name :param str username: Admin username """ - pulumi.set(__self__, "email_address", email_address) - pulumi.set(__self__, "first_name", first_name) - pulumi.set(__self__, "last_name", last_name) - pulumi.set(__self__, "username", username) + GetFusionEnvironmentAdminUsersAdminUserCollectionItemItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + email_address=email_address, + first_name=first_name, + last_name=last_name, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + email_address: str, + first_name: str, + last_name: str, + username: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("email_address", email_address) + _setter("first_name", first_name) + _setter("last_name", last_name) + _setter("username", username) @property @pulumi.getter(name="emailAddress") @@ -1331,10 +1687,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetFusionEnvironmentAdminUsersFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1360,11 +1729,28 @@ def __init__(__self__, *, last_name: str, password: str, username: str): - pulumi.set(__self__, "email_address", email_address) - pulumi.set(__self__, "first_name", first_name) - pulumi.set(__self__, "last_name", last_name) - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "username", username) + GetFusionEnvironmentCreateFusionEnvironmentAdminUserDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + email_address=email_address, + first_name=first_name, + last_name=last_name, + password=password, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + email_address: str, + first_name: str, + last_name: str, + password: str, + username: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("email_address", email_address) + _setter("first_name", first_name) + _setter("last_name", last_name) + _setter("password", password) + _setter("username", username) @property @pulumi.getter(name="emailAddress") @@ -1396,7 +1782,16 @@ def username(self) -> str: class GetFusionEnvironmentDataMaskingActivitiesDataMaskingActivityCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetFusionEnvironmentDataMaskingActivitiesDataMaskingActivityCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetFusionEnvironmentDataMaskingActivitiesDataMaskingActivityCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetFusionEnvironmentDataMaskingActivitiesDataMaskingActivityCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1420,12 +1815,31 @@ def __init__(__self__, *, :param str time_masking_finish: The time the data masking activity ended. An RFC3339 formatted datetime string. :param str time_masking_start: The time the data masking activity started. An RFC3339 formatted datetime string. """ - pulumi.set(__self__, "fusion_environment_id", fusion_environment_id) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_resume_data_masking", is_resume_data_masking) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_masking_finish", time_masking_finish) - pulumi.set(__self__, "time_masking_start", time_masking_start) + GetFusionEnvironmentDataMaskingActivitiesDataMaskingActivityCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + fusion_environment_id=fusion_environment_id, + id=id, + is_resume_data_masking=is_resume_data_masking, + state=state, + time_masking_finish=time_masking_finish, + time_masking_start=time_masking_start, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + fusion_environment_id: str, + id: str, + is_resume_data_masking: bool, + state: str, + time_masking_finish: str, + time_masking_start: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("fusion_environment_id", fusion_environment_id) + _setter("id", id) + _setter("is_resume_data_masking", is_resume_data_masking) + _setter("state", state) + _setter("time_masking_finish", time_masking_finish) + _setter("time_masking_start", time_masking_start) @property @pulumi.getter(name="fusionEnvironmentId") @@ -1479,10 +1893,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetFusionEnvironmentDataMaskingActivitiesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1506,10 +1933,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetFusionEnvironmentFamiliesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1531,7 +1971,16 @@ def regex(self) -> Optional[bool]: class GetFusionEnvironmentFamiliesFusionEnvironmentFamilyCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetFusionEnvironmentFamiliesFusionEnvironmentFamilyCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetFusionEnvironmentFamiliesFusionEnvironmentFamilyCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetFusionEnvironmentFamiliesFusionEnvironmentFamilyCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1569,19 +2018,52 @@ def __init__(__self__, *, :param str system_name: Environment Specific Guid/ System Name :param str time_created: The time the the FusionEnvironmentFamily was created. An RFC3339 formatted datetime string. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "family_maintenance_policies", family_maintenance_policies) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_subscription_update_needed", is_subscription_update_needed) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "subscription_ids", subscription_ids) - pulumi.set(__self__, "system_name", system_name) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetFusionEnvironmentFamiliesFusionEnvironmentFamilyCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + family_maintenance_policies=family_maintenance_policies, + freeform_tags=freeform_tags, + id=id, + is_subscription_update_needed=is_subscription_update_needed, + lifecycle_details=lifecycle_details, + state=state, + subscription_ids=subscription_ids, + system_name=system_name, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + family_maintenance_policies: Sequence['outputs.GetFusionEnvironmentFamiliesFusionEnvironmentFamilyCollectionItemFamilyMaintenancePolicyResult'], + freeform_tags: Mapping[str, Any], + id: str, + is_subscription_update_needed: bool, + lifecycle_details: str, + state: str, + subscription_ids: Sequence[str], + system_name: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("family_maintenance_policies", family_maintenance_policies) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_subscription_update_needed", is_subscription_update_needed) + _setter("lifecycle_details", lifecycle_details) + _setter("state", state) + _setter("subscription_ids", subscription_ids) + _setter("system_name", system_name) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -1696,9 +2178,22 @@ def __init__(__self__, *, :param bool is_monthly_patching_enabled: When True, monthly patching is enabled for the environment family. :param str quarterly_upgrade_begin_times: The quarterly maintenance month group schedule of the Fusion environment family. """ - pulumi.set(__self__, "concurrent_maintenance", concurrent_maintenance) - pulumi.set(__self__, "is_monthly_patching_enabled", is_monthly_patching_enabled) - pulumi.set(__self__, "quarterly_upgrade_begin_times", quarterly_upgrade_begin_times) + GetFusionEnvironmentFamiliesFusionEnvironmentFamilyCollectionItemFamilyMaintenancePolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + concurrent_maintenance=concurrent_maintenance, + is_monthly_patching_enabled=is_monthly_patching_enabled, + quarterly_upgrade_begin_times=quarterly_upgrade_begin_times, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + concurrent_maintenance: str, + is_monthly_patching_enabled: bool, + quarterly_upgrade_begin_times: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("concurrent_maintenance", concurrent_maintenance) + _setter("is_monthly_patching_enabled", is_monthly_patching_enabled) + _setter("quarterly_upgrade_begin_times", quarterly_upgrade_begin_times) @property @pulumi.getter(name="concurrentMaintenance") @@ -1736,9 +2231,22 @@ def __init__(__self__, *, :param bool is_monthly_patching_enabled: When True, monthly patching is enabled for the environment family. :param str quarterly_upgrade_begin_times: The quarterly maintenance month group schedule of the Fusion environment family. """ - pulumi.set(__self__, "concurrent_maintenance", concurrent_maintenance) - pulumi.set(__self__, "is_monthly_patching_enabled", is_monthly_patching_enabled) - pulumi.set(__self__, "quarterly_upgrade_begin_times", quarterly_upgrade_begin_times) + GetFusionEnvironmentFamilyFamilyMaintenancePolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + concurrent_maintenance=concurrent_maintenance, + is_monthly_patching_enabled=is_monthly_patching_enabled, + quarterly_upgrade_begin_times=quarterly_upgrade_begin_times, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + concurrent_maintenance: str, + is_monthly_patching_enabled: bool, + quarterly_upgrade_begin_times: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("concurrent_maintenance", concurrent_maintenance) + _setter("is_monthly_patching_enabled", is_monthly_patching_enabled) + _setter("quarterly_upgrade_begin_times", quarterly_upgrade_begin_times) @property @pulumi.getter(name="concurrentMaintenance") @@ -1773,8 +2281,19 @@ def __init__(__self__, *, """ :param int usage: The usage of current environment. """ - pulumi.set(__self__, "limit", limit) - pulumi.set(__self__, "usage", usage) + GetFusionEnvironmentFamilyLimitsAndUsageDevelopmentLimitAndUsageResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + limit=limit, + usage=usage, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + limit: int, + usage: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("limit", limit) + _setter("usage", usage) @property @pulumi.getter @@ -1798,8 +2317,19 @@ def __init__(__self__, *, """ :param int usage: The usage of current environment. """ - pulumi.set(__self__, "limit", limit) - pulumi.set(__self__, "usage", usage) + GetFusionEnvironmentFamilyLimitsAndUsageProductionLimitAndUsageResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + limit=limit, + usage=usage, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + limit: int, + usage: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("limit", limit) + _setter("usage", usage) @property @pulumi.getter @@ -1823,8 +2353,19 @@ def __init__(__self__, *, """ :param int usage: The usage of current environment. """ - pulumi.set(__self__, "limit", limit) - pulumi.set(__self__, "usage", usage) + GetFusionEnvironmentFamilyLimitsAndUsageTestLimitAndUsageResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + limit=limit, + usage=usage, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + limit: int, + usage: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("limit", limit) + _setter("usage", usage) @property @pulumi.getter @@ -1853,10 +2394,25 @@ def __init__(__self__, *, :param str service_name: The type of subscription, such as 'CLOUDCM'/'SAAS'/'CRM', etc. :param Sequence['GetFusionEnvironmentFamilySubscriptionDetailSubscriptionSkusArgs'] skuses: Stock keeping unit. """ - pulumi.set(__self__, "classic_subscription_id", classic_subscription_id) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "service_name", service_name) - pulumi.set(__self__, "skuses", skuses) + GetFusionEnvironmentFamilySubscriptionDetailSubscriptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + classic_subscription_id=classic_subscription_id, + id=id, + service_name=service_name, + skuses=skuses, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + classic_subscription_id: str, + id: str, + service_name: str, + skuses: Sequence['outputs.GetFusionEnvironmentFamilySubscriptionDetailSubscriptionSkusResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("classic_subscription_id", classic_subscription_id) + _setter("id", id) + _setter("service_name", service_name) + _setter("skuses", skuses) @property @pulumi.getter(name="classicSubscriptionId") @@ -1906,11 +2462,28 @@ def __init__(__self__, *, :param int quantity: Quantity of the stock units. :param str sku: Stock keeping unit id. """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "license_part_description", license_part_description) - pulumi.set(__self__, "metric_name", metric_name) - pulumi.set(__self__, "quantity", quantity) - pulumi.set(__self__, "sku", sku) + GetFusionEnvironmentFamilySubscriptionDetailSubscriptionSkusResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + license_part_description=license_part_description, + metric_name=metric_name, + quantity=quantity, + sku=sku, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + license_part_description: str, + metric_name: str, + quantity: int, + sku: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("license_part_description", license_part_description) + _setter("metric_name", metric_name) + _setter("quantity", quantity) + _setter("sku", sku) @property @pulumi.getter @@ -1963,13 +2536,34 @@ def __init__(__self__, *, scheduled_key_status: str, scheduled_key_version: str, scheduled_lifecycle_state: str): - pulumi.set(__self__, "active_key_id", active_key_id) - pulumi.set(__self__, "active_key_version", active_key_version) - pulumi.set(__self__, "current_key_lifecycle_state", current_key_lifecycle_state) - pulumi.set(__self__, "scheduled_key_id", scheduled_key_id) - pulumi.set(__self__, "scheduled_key_status", scheduled_key_status) - pulumi.set(__self__, "scheduled_key_version", scheduled_key_version) - pulumi.set(__self__, "scheduled_lifecycle_state", scheduled_lifecycle_state) + GetFusionEnvironmentKmsKeyInfoResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + active_key_id=active_key_id, + active_key_version=active_key_version, + current_key_lifecycle_state=current_key_lifecycle_state, + scheduled_key_id=scheduled_key_id, + scheduled_key_status=scheduled_key_status, + scheduled_key_version=scheduled_key_version, + scheduled_lifecycle_state=scheduled_lifecycle_state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + active_key_id: str, + active_key_version: str, + current_key_lifecycle_state: str, + scheduled_key_id: str, + scheduled_key_status: str, + scheduled_key_version: str, + scheduled_lifecycle_state: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("active_key_id", active_key_id) + _setter("active_key_version", active_key_version) + _setter("current_key_lifecycle_state", current_key_lifecycle_state) + _setter("scheduled_key_id", scheduled_key_id) + _setter("scheduled_key_status", scheduled_key_status) + _setter("scheduled_key_version", scheduled_key_version) + _setter("scheduled_lifecycle_state", scheduled_lifecycle_state) @property @pulumi.getter(name="activeKeyId") @@ -2018,9 +2612,22 @@ def __init__(__self__, *, :param str monthly_patching_override: Whether the Fusion environment will be updated monthly or updated on the quarterly cycle. This setting overrides the monthly patching setting of its Fusion environment family. :param Sequence['GetFusionEnvironmentMaintenancePolicyQuarterlyUpgradeBeginTimeArgs'] quarterly_upgrade_begin_times: Determines the quarterly upgrade begin times (monthly maintenance group schedule ) of the Fusion environment. """ - pulumi.set(__self__, "environment_maintenance_override", environment_maintenance_override) - pulumi.set(__self__, "monthly_patching_override", monthly_patching_override) - pulumi.set(__self__, "quarterly_upgrade_begin_times", quarterly_upgrade_begin_times) + GetFusionEnvironmentMaintenancePolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + environment_maintenance_override=environment_maintenance_override, + monthly_patching_override=monthly_patching_override, + quarterly_upgrade_begin_times=quarterly_upgrade_begin_times, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + environment_maintenance_override: str, + monthly_patching_override: str, + quarterly_upgrade_begin_times: Sequence['outputs.GetFusionEnvironmentMaintenancePolicyQuarterlyUpgradeBeginTimeResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("environment_maintenance_override", environment_maintenance_override) + _setter("monthly_patching_override", monthly_patching_override) + _setter("quarterly_upgrade_begin_times", quarterly_upgrade_begin_times) @property @pulumi.getter(name="environmentMaintenanceOverride") @@ -2056,8 +2663,19 @@ def __init__(__self__, *, :param str begin_times_value: The frequency and month when maintenance occurs for the Fusion environment. :param str override_type: Determines if the maintenance schedule of the Fusion environment is inherited from the Fusion environment family. """ - pulumi.set(__self__, "begin_times_value", begin_times_value) - pulumi.set(__self__, "override_type", override_type) + GetFusionEnvironmentMaintenancePolicyQuarterlyUpgradeBeginTimeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + begin_times_value=begin_times_value, + override_type=override_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + begin_times_value: str, + override_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("begin_times_value", begin_times_value) + _setter("override_type", override_type) @property @pulumi.getter(name="beginTimesValue") @@ -2087,9 +2705,22 @@ def __init__(__self__, *, :param str time_finished: The time of when the last refresh finish :param str time_of_restoration_point: The point of time of the latest DB backup for the last refresh """ - pulumi.set(__self__, "source_fusion_environment_id", source_fusion_environment_id) - pulumi.set(__self__, "time_finished", time_finished) - pulumi.set(__self__, "time_of_restoration_point", time_of_restoration_point) + GetFusionEnvironmentRefreshResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + source_fusion_environment_id=source_fusion_environment_id, + time_finished=time_finished, + time_of_restoration_point=time_of_restoration_point, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + source_fusion_environment_id: str, + time_finished: str, + time_of_restoration_point: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("source_fusion_environment_id", source_fusion_environment_id) + _setter("time_finished", time_finished) + _setter("time_of_restoration_point", time_of_restoration_point) @property @pulumi.getter(name="sourceFusionEnvironmentId") @@ -2122,10 +2753,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetFusionEnvironmentRefreshActivitiesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2147,7 +2791,16 @@ def regex(self) -> Optional[bool]: class GetFusionEnvironmentRefreshActivitiesRefreshActivityCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetFusionEnvironmentRefreshActivitiesRefreshActivityCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetFusionEnvironmentRefreshActivitiesRefreshActivityCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetFusionEnvironmentRefreshActivitiesRefreshActivityCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -2187,20 +2840,55 @@ def __init__(__self__, *, :param str time_of_restoration_point: The date and time of the most recent source environment backup used for the environment refresh. :param str time_updated: The time the refresh activity record was updated. An RFC3339 formatted datetime string. """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "fusion_environment_id", fusion_environment_id) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "refresh_activity_id", refresh_activity_id) - pulumi.set(__self__, "refresh_issue_details_lists", refresh_issue_details_lists) - pulumi.set(__self__, "service_availability", service_availability) - pulumi.set(__self__, "source_fusion_environment_id", source_fusion_environment_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_accepted", time_accepted) - pulumi.set(__self__, "time_expected_finish", time_expected_finish) - pulumi.set(__self__, "time_finished", time_finished) - pulumi.set(__self__, "time_of_restoration_point", time_of_restoration_point) - pulumi.set(__self__, "time_updated", time_updated) + GetFusionEnvironmentRefreshActivitiesRefreshActivityCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + fusion_environment_id=fusion_environment_id, + id=id, + lifecycle_details=lifecycle_details, + refresh_activity_id=refresh_activity_id, + refresh_issue_details_lists=refresh_issue_details_lists, + service_availability=service_availability, + source_fusion_environment_id=source_fusion_environment_id, + state=state, + time_accepted=time_accepted, + time_expected_finish=time_expected_finish, + time_finished=time_finished, + time_of_restoration_point=time_of_restoration_point, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + fusion_environment_id: str, + id: str, + lifecycle_details: str, + refresh_activity_id: str, + refresh_issue_details_lists: Sequence['outputs.GetFusionEnvironmentRefreshActivitiesRefreshActivityCollectionItemRefreshIssueDetailsListResult'], + service_availability: str, + source_fusion_environment_id: str, + state: str, + time_accepted: str, + time_expected_finish: str, + time_finished: str, + time_of_restoration_point: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("fusion_environment_id", fusion_environment_id) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("refresh_activity_id", refresh_activity_id) + _setter("refresh_issue_details_lists", refresh_issue_details_lists) + _setter("service_availability", service_availability) + _setter("source_fusion_environment_id", source_fusion_environment_id) + _setter("state", state) + _setter("time_accepted", time_accepted) + _setter("time_expected_finish", time_expected_finish) + _setter("time_finished", time_finished) + _setter("time_of_restoration_point", time_of_restoration_point) + _setter("time_updated", time_updated) @property @pulumi.getter(name="displayName") @@ -2319,7 +3007,16 @@ def __init__(__self__, *, """ :param str refresh_issues: Detail reasons of refresh failure or validation failure that needs to be shown to customer. """ - pulumi.set(__self__, "refresh_issues", refresh_issues) + GetFusionEnvironmentRefreshActivitiesRefreshActivityCollectionItemRefreshIssueDetailsListResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + refresh_issues=refresh_issues, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + refresh_issues: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("refresh_issues", refresh_issues) @property @pulumi.getter(name="refreshIssues") @@ -2337,7 +3034,16 @@ def __init__(__self__, *, """ :param str refresh_issues: Detail reasons of refresh failure or validation failure that needs to be shown to customer. """ - pulumi.set(__self__, "refresh_issues", refresh_issues) + GetFusionEnvironmentRefreshActivityRefreshIssueDetailsListResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + refresh_issues=refresh_issues, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + refresh_issues: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("refresh_issues", refresh_issues) @property @pulumi.getter(name="refreshIssues") @@ -2358,9 +3064,22 @@ def __init__(__self__, *, :param str action: Rule type :param str description: A brief description of the access control rule. Avoid entering confidential information. example: `192.168.0.0/16 and 2001:db8::/32 are trusted clients. Whitelist them.` """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "conditions", conditions) - pulumi.set(__self__, "description", description) + GetFusionEnvironmentRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + conditions=conditions, + description=description, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: str, + conditions: Sequence['outputs.GetFusionEnvironmentRuleConditionResult'], + description: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("conditions", conditions) + _setter("description", description) @property @pulumi.getter @@ -2393,8 +3112,19 @@ def __init__(__self__, *, :param str attribute_name: RuleCondition type :param str attribute_value: The OCID of the originating VCN that an incoming packet must match. You can use this condition in conjunction with `SourceVcnIpAddressCondition`. **NOTE:** If you define this condition for a rule without a `SourceVcnIpAddressCondition`, this condition matches all incoming traffic in the specified VCN. """ - pulumi.set(__self__, "attribute_name", attribute_name) - pulumi.set(__self__, "attribute_value", attribute_value) + GetFusionEnvironmentRuleConditionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + attribute_name=attribute_name, + attribute_value=attribute_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attribute_name: str, + attribute_value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("attribute_name", attribute_name) + _setter("attribute_value", attribute_value) @property @pulumi.getter(name="attributeName") @@ -2419,10 +3149,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetFusionEnvironmentScheduledActivitiesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2444,7 +3187,16 @@ def regex(self) -> Optional[bool]: class GetFusionEnvironmentScheduledActivitiesScheduledActivityCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetFusionEnvironmentScheduledActivitiesScheduledActivityCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetFusionEnvironmentScheduledActivitiesScheduledActivityCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetFusionEnvironmentScheduledActivitiesScheduledActivityCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -2485,21 +3237,58 @@ def __init__(__self__, *, :param str time_scheduled_start: Current time the scheduled activity is scheduled to start. An RFC3339 formatted datetime string. :param str time_updated: The time the scheduled activity record was updated. An RFC3339 formatted datetime string. """ - pulumi.set(__self__, "actions", actions) - pulumi.set(__self__, "delay_in_hours", delay_in_hours) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "fusion_environment_id", fusion_environment_id) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "run_cycle", run_cycle) - pulumi.set(__self__, "service_availability", service_availability) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_accepted", time_accepted) - pulumi.set(__self__, "time_expected_finish", time_expected_finish) - pulumi.set(__self__, "time_finished", time_finished) - pulumi.set(__self__, "time_scheduled_start", time_scheduled_start) - pulumi.set(__self__, "time_updated", time_updated) + GetFusionEnvironmentScheduledActivitiesScheduledActivityCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + actions=actions, + delay_in_hours=delay_in_hours, + display_name=display_name, + freeform_tags=freeform_tags, + fusion_environment_id=fusion_environment_id, + id=id, + lifecycle_details=lifecycle_details, + run_cycle=run_cycle, + service_availability=service_availability, + state=state, + time_accepted=time_accepted, + time_expected_finish=time_expected_finish, + time_finished=time_finished, + time_scheduled_start=time_scheduled_start, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + actions: Sequence['outputs.GetFusionEnvironmentScheduledActivitiesScheduledActivityCollectionItemActionResult'], + delay_in_hours: int, + display_name: str, + freeform_tags: Mapping[str, Any], + fusion_environment_id: str, + id: str, + lifecycle_details: str, + run_cycle: str, + service_availability: str, + state: str, + time_accepted: str, + time_expected_finish: str, + time_finished: str, + time_scheduled_start: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("actions", actions) + _setter("delay_in_hours", delay_in_hours) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("fusion_environment_id", fusion_environment_id) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("run_cycle", run_cycle) + _setter("service_availability", service_availability) + _setter("state", state) + _setter("time_accepted", time_accepted) + _setter("time_expected_finish", time_expected_finish) + _setter("time_finished", time_finished) + _setter("time_scheduled_start", time_scheduled_start) + _setter("time_updated", time_updated) @property @pulumi.getter @@ -2639,15 +3428,40 @@ def __init__(__self__, *, :param str state: A filter that returns all resources that match the specified status :param str version: name of the repo """ - pulumi.set(__self__, "action_type", action_type) - pulumi.set(__self__, "artifact", artifact) - pulumi.set(__self__, "category", category) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "mode", mode) - pulumi.set(__self__, "qualifier", qualifier) - pulumi.set(__self__, "reference_key", reference_key) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "version", version) + GetFusionEnvironmentScheduledActivitiesScheduledActivityCollectionItemActionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action_type=action_type, + artifact=artifact, + category=category, + description=description, + mode=mode, + qualifier=qualifier, + reference_key=reference_key, + state=state, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action_type: str, + artifact: str, + category: str, + description: str, + mode: str, + qualifier: str, + reference_key: str, + state: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action_type", action_type) + _setter("artifact", artifact) + _setter("category", category) + _setter("description", description) + _setter("mode", mode) + _setter("qualifier", qualifier) + _setter("reference_key", reference_key) + _setter("state", state) + _setter("version", version) @property @pulumi.getter(name="actionType") @@ -2745,15 +3559,40 @@ def __init__(__self__, *, :param str state: The current state of the scheduledActivity. :param str version: name of the repo """ - pulumi.set(__self__, "action_type", action_type) - pulumi.set(__self__, "artifact", artifact) - pulumi.set(__self__, "category", category) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "mode", mode) - pulumi.set(__self__, "qualifier", qualifier) - pulumi.set(__self__, "reference_key", reference_key) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "version", version) + GetFusionEnvironmentScheduledActivityActionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action_type=action_type, + artifact=artifact, + category=category, + description=description, + mode=mode, + qualifier=qualifier, + reference_key=reference_key, + state=state, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action_type: str, + artifact: str, + category: str, + description: str, + mode: str, + qualifier: str, + reference_key: str, + state: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action_type", action_type) + _setter("artifact", artifact) + _setter("category", category) + _setter("description", description) + _setter("mode", mode) + _setter("qualifier", qualifier) + _setter("reference_key", reference_key) + _setter("state", state) + _setter("version", version) @property @pulumi.getter(name="actionType") @@ -2834,10 +3673,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetFusionEnvironmentServiceAttachmentsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2859,7 +3711,16 @@ def regex(self) -> Optional[bool]: class GetFusionEnvironmentServiceAttachmentsServiceAttachmentCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetFusionEnvironmentServiceAttachmentsServiceAttachmentCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetFusionEnvironmentServiceAttachmentsServiceAttachmentCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetFusionEnvironmentServiceAttachmentsServiceAttachmentCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -2898,19 +3759,52 @@ def __init__(__self__, *, :param str time_created: The time the the ServiceInstance was created. An RFC3339 formatted datetime string :param str time_updated: The time the ServiceInstance was updated. An RFC3339 formatted datetime string """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "fusion_environment_id", fusion_environment_id) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_sku_based", is_sku_based) - pulumi.set(__self__, "service_instance_id", service_instance_id) - pulumi.set(__self__, "service_instance_type", service_instance_type) - pulumi.set(__self__, "service_url", service_url) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetFusionEnvironmentServiceAttachmentsServiceAttachmentCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + fusion_environment_id=fusion_environment_id, + id=id, + is_sku_based=is_sku_based, + service_instance_id=service_instance_id, + service_instance_type=service_instance_type, + service_url=service_url, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + fusion_environment_id: str, + id: str, + is_sku_based: bool, + service_instance_id: str, + service_instance_type: str, + service_url: str, + state: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("fusion_environment_id", fusion_environment_id) + _setter("id", id) + _setter("is_sku_based", is_sku_based) + _setter("service_instance_id", service_instance_id) + _setter("service_instance_type", service_instance_type) + _setter("service_url", service_url) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -3024,7 +3918,16 @@ def __init__(__self__, *, """ :param str time_available_for_refresh: refresh time. """ - pulumi.set(__self__, "time_available_for_refresh", time_available_for_refresh) + GetFusionEnvironmentTimeAvailableForRefreshItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + time_available_for_refresh=time_available_for_refresh, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + time_available_for_refresh: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("time_available_for_refresh", time_available_for_refresh) @property @pulumi.getter(name="timeAvailableForRefresh") @@ -3041,10 +3944,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetFusionEnvironmentTimeAvailableForRefreshsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3069,7 +3985,16 @@ def __init__(__self__, *, """ :param Sequence['GetFusionEnvironmentTimeAvailableForRefreshsTimeAvailableForRefreshCollectionItemArgs'] items: A list of available refresh time objects. """ - pulumi.set(__self__, "items", items) + GetFusionEnvironmentTimeAvailableForRefreshsTimeAvailableForRefreshCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetFusionEnvironmentTimeAvailableForRefreshsTimeAvailableForRefreshCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -3087,7 +4012,16 @@ def __init__(__self__, *, """ :param str time_available_for_refresh: refresh time. """ - pulumi.set(__self__, "time_available_for_refresh", time_available_for_refresh) + GetFusionEnvironmentTimeAvailableForRefreshsTimeAvailableForRefreshCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + time_available_for_refresh=time_available_for_refresh, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + time_available_for_refresh: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("time_available_for_refresh", time_available_for_refresh) @property @pulumi.getter(name="timeAvailableForRefresh") @@ -3104,10 +4038,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetFusionEnvironmentsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3129,7 +4076,16 @@ def regex(self) -> Optional[bool]: class GetFusionEnvironmentsFusionEnvironmentCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetFusionEnvironmentsFusionEnvironmentCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetFusionEnvironmentsFusionEnvironmentCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetFusionEnvironmentsFusionEnvironmentCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -3199,35 +4155,100 @@ def __init__(__self__, *, :param str time_updated: The time the FusionEnvironment was updated. An RFC3339 formatted datetime string :param str version: Version of Fusion Apps used by this environment """ - pulumi.set(__self__, "additional_language_packs", additional_language_packs) - pulumi.set(__self__, "applied_patch_bundles", applied_patch_bundles) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "create_fusion_environment_admin_user_details", create_fusion_environment_admin_user_details) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "dns_prefix", dns_prefix) - pulumi.set(__self__, "domain_id", domain_id) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "fusion_environment_family_id", fusion_environment_family_id) - pulumi.set(__self__, "fusion_environment_type", fusion_environment_type) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "idcs_domain_url", idcs_domain_url) - pulumi.set(__self__, "is_break_glass_enabled", is_break_glass_enabled) - pulumi.set(__self__, "kms_key_id", kms_key_id) - pulumi.set(__self__, "kms_key_infos", kms_key_infos) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "lockbox_id", lockbox_id) - pulumi.set(__self__, "maintenance_policies", maintenance_policies) - pulumi.set(__self__, "public_url", public_url) - pulumi.set(__self__, "refreshes", refreshes) - pulumi.set(__self__, "rules", rules) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "subscription_ids", subscription_ids) - pulumi.set(__self__, "system_name", system_name) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_upcoming_maintenance", time_upcoming_maintenance) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "version", version) + GetFusionEnvironmentsFusionEnvironmentCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + additional_language_packs=additional_language_packs, + applied_patch_bundles=applied_patch_bundles, + compartment_id=compartment_id, + create_fusion_environment_admin_user_details=create_fusion_environment_admin_user_details, + defined_tags=defined_tags, + display_name=display_name, + dns_prefix=dns_prefix, + domain_id=domain_id, + freeform_tags=freeform_tags, + fusion_environment_family_id=fusion_environment_family_id, + fusion_environment_type=fusion_environment_type, + id=id, + idcs_domain_url=idcs_domain_url, + is_break_glass_enabled=is_break_glass_enabled, + kms_key_id=kms_key_id, + kms_key_infos=kms_key_infos, + lifecycle_details=lifecycle_details, + lockbox_id=lockbox_id, + maintenance_policies=maintenance_policies, + public_url=public_url, + refreshes=refreshes, + rules=rules, + state=state, + subscription_ids=subscription_ids, + system_name=system_name, + time_created=time_created, + time_upcoming_maintenance=time_upcoming_maintenance, + time_updated=time_updated, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + additional_language_packs: Sequence[str], + applied_patch_bundles: Sequence[str], + compartment_id: str, + create_fusion_environment_admin_user_details: Sequence['outputs.GetFusionEnvironmentsFusionEnvironmentCollectionItemCreateFusionEnvironmentAdminUserDetailResult'], + defined_tags: Mapping[str, Any], + display_name: str, + dns_prefix: str, + domain_id: str, + freeform_tags: Mapping[str, Any], + fusion_environment_family_id: str, + fusion_environment_type: str, + id: str, + idcs_domain_url: str, + is_break_glass_enabled: bool, + kms_key_id: str, + kms_key_infos: Sequence['outputs.GetFusionEnvironmentsFusionEnvironmentCollectionItemKmsKeyInfoResult'], + lifecycle_details: str, + lockbox_id: str, + maintenance_policies: Sequence['outputs.GetFusionEnvironmentsFusionEnvironmentCollectionItemMaintenancePolicyResult'], + public_url: str, + refreshes: Sequence['outputs.GetFusionEnvironmentsFusionEnvironmentCollectionItemRefreshResult'], + rules: Sequence['outputs.GetFusionEnvironmentsFusionEnvironmentCollectionItemRuleResult'], + state: str, + subscription_ids: Sequence[str], + system_name: str, + time_created: str, + time_upcoming_maintenance: str, + time_updated: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("additional_language_packs", additional_language_packs) + _setter("applied_patch_bundles", applied_patch_bundles) + _setter("compartment_id", compartment_id) + _setter("create_fusion_environment_admin_user_details", create_fusion_environment_admin_user_details) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("dns_prefix", dns_prefix) + _setter("domain_id", domain_id) + _setter("freeform_tags", freeform_tags) + _setter("fusion_environment_family_id", fusion_environment_family_id) + _setter("fusion_environment_type", fusion_environment_type) + _setter("id", id) + _setter("idcs_domain_url", idcs_domain_url) + _setter("is_break_glass_enabled", is_break_glass_enabled) + _setter("kms_key_id", kms_key_id) + _setter("kms_key_infos", kms_key_infos) + _setter("lifecycle_details", lifecycle_details) + _setter("lockbox_id", lockbox_id) + _setter("maintenance_policies", maintenance_policies) + _setter("public_url", public_url) + _setter("refreshes", refreshes) + _setter("rules", rules) + _setter("state", state) + _setter("subscription_ids", subscription_ids) + _setter("system_name", system_name) + _setter("time_created", time_created) + _setter("time_upcoming_maintenance", time_upcoming_maintenance) + _setter("time_updated", time_updated) + _setter("version", version) @property @pulumi.getter(name="additionalLanguagePacks") @@ -3467,11 +4488,28 @@ def __init__(__self__, *, last_name: str, password: str, username: str): - pulumi.set(__self__, "email_address", email_address) - pulumi.set(__self__, "first_name", first_name) - pulumi.set(__self__, "last_name", last_name) - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "username", username) + GetFusionEnvironmentsFusionEnvironmentCollectionItemCreateFusionEnvironmentAdminUserDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + email_address=email_address, + first_name=first_name, + last_name=last_name, + password=password, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + email_address: str, + first_name: str, + last_name: str, + password: str, + username: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("email_address", email_address) + _setter("first_name", first_name) + _setter("last_name", last_name) + _setter("password", password) + _setter("username", username) @property @pulumi.getter(name="emailAddress") @@ -3509,13 +4547,34 @@ def __init__(__self__, *, scheduled_key_status: str, scheduled_key_version: str, scheduled_lifecycle_state: str): - pulumi.set(__self__, "active_key_id", active_key_id) - pulumi.set(__self__, "active_key_version", active_key_version) - pulumi.set(__self__, "current_key_lifecycle_state", current_key_lifecycle_state) - pulumi.set(__self__, "scheduled_key_id", scheduled_key_id) - pulumi.set(__self__, "scheduled_key_status", scheduled_key_status) - pulumi.set(__self__, "scheduled_key_version", scheduled_key_version) - pulumi.set(__self__, "scheduled_lifecycle_state", scheduled_lifecycle_state) + GetFusionEnvironmentsFusionEnvironmentCollectionItemKmsKeyInfoResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + active_key_id=active_key_id, + active_key_version=active_key_version, + current_key_lifecycle_state=current_key_lifecycle_state, + scheduled_key_id=scheduled_key_id, + scheduled_key_status=scheduled_key_status, + scheduled_key_version=scheduled_key_version, + scheduled_lifecycle_state=scheduled_lifecycle_state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + active_key_id: str, + active_key_version: str, + current_key_lifecycle_state: str, + scheduled_key_id: str, + scheduled_key_status: str, + scheduled_key_version: str, + scheduled_lifecycle_state: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("active_key_id", active_key_id) + _setter("active_key_version", active_key_version) + _setter("current_key_lifecycle_state", current_key_lifecycle_state) + _setter("scheduled_key_id", scheduled_key_id) + _setter("scheduled_key_status", scheduled_key_status) + _setter("scheduled_key_version", scheduled_key_version) + _setter("scheduled_lifecycle_state", scheduled_lifecycle_state) @property @pulumi.getter(name="activeKeyId") @@ -3564,9 +4623,22 @@ def __init__(__self__, *, :param str monthly_patching_override: Whether the Fusion environment will be updated monthly or updated on the quarterly cycle. This setting overrides the monthly patching setting of its Fusion environment family. :param Sequence['GetFusionEnvironmentsFusionEnvironmentCollectionItemMaintenancePolicyQuarterlyUpgradeBeginTimeArgs'] quarterly_upgrade_begin_times: Determines the quarterly upgrade begin times (monthly maintenance group schedule ) of the Fusion environment. """ - pulumi.set(__self__, "environment_maintenance_override", environment_maintenance_override) - pulumi.set(__self__, "monthly_patching_override", monthly_patching_override) - pulumi.set(__self__, "quarterly_upgrade_begin_times", quarterly_upgrade_begin_times) + GetFusionEnvironmentsFusionEnvironmentCollectionItemMaintenancePolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + environment_maintenance_override=environment_maintenance_override, + monthly_patching_override=monthly_patching_override, + quarterly_upgrade_begin_times=quarterly_upgrade_begin_times, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + environment_maintenance_override: str, + monthly_patching_override: str, + quarterly_upgrade_begin_times: Sequence['outputs.GetFusionEnvironmentsFusionEnvironmentCollectionItemMaintenancePolicyQuarterlyUpgradeBeginTimeResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("environment_maintenance_override", environment_maintenance_override) + _setter("monthly_patching_override", monthly_patching_override) + _setter("quarterly_upgrade_begin_times", quarterly_upgrade_begin_times) @property @pulumi.getter(name="environmentMaintenanceOverride") @@ -3602,8 +4674,19 @@ def __init__(__self__, *, :param str begin_times_value: The frequency and month when maintenance occurs for the Fusion environment. :param str override_type: Determines if the maintenance schedule of the Fusion environment is inherited from the Fusion environment family. """ - pulumi.set(__self__, "begin_times_value", begin_times_value) - pulumi.set(__self__, "override_type", override_type) + GetFusionEnvironmentsFusionEnvironmentCollectionItemMaintenancePolicyQuarterlyUpgradeBeginTimeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + begin_times_value=begin_times_value, + override_type=override_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + begin_times_value: str, + override_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("begin_times_value", begin_times_value) + _setter("override_type", override_type) @property @pulumi.getter(name="beginTimesValue") @@ -3633,9 +4716,22 @@ def __init__(__self__, *, :param str time_finished: The time of when the last refresh finish :param str time_of_restoration_point: The point of time of the latest DB backup for the last refresh """ - pulumi.set(__self__, "source_fusion_environment_id", source_fusion_environment_id) - pulumi.set(__self__, "time_finished", time_finished) - pulumi.set(__self__, "time_of_restoration_point", time_of_restoration_point) + GetFusionEnvironmentsFusionEnvironmentCollectionItemRefreshResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + source_fusion_environment_id=source_fusion_environment_id, + time_finished=time_finished, + time_of_restoration_point=time_of_restoration_point, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + source_fusion_environment_id: str, + time_finished: str, + time_of_restoration_point: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("source_fusion_environment_id", source_fusion_environment_id) + _setter("time_finished", time_finished) + _setter("time_of_restoration_point", time_of_restoration_point) @property @pulumi.getter(name="sourceFusionEnvironmentId") @@ -3672,9 +4768,22 @@ def __init__(__self__, *, :param str action: Rule type :param str description: A brief description of the access control rule. Avoid entering confidential information. example: `192.168.0.0/16 and 2001:db8::/32 are trusted clients. Whitelist them.` """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "conditions", conditions) - pulumi.set(__self__, "description", description) + GetFusionEnvironmentsFusionEnvironmentCollectionItemRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + conditions=conditions, + description=description, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: str, + conditions: Sequence['outputs.GetFusionEnvironmentsFusionEnvironmentCollectionItemRuleConditionResult'], + description: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("conditions", conditions) + _setter("description", description) @property @pulumi.getter @@ -3707,8 +4816,19 @@ def __init__(__self__, *, :param str attribute_name: RuleCondition type :param str attribute_value: The OCID of the originating VCN that an incoming packet must match. You can use this condition in conjunction with `SourceVcnIpAddressCondition`. **NOTE:** If you define this condition for a rule without a `SourceVcnIpAddressCondition`, this condition matches all incoming traffic in the specified VCN. """ - pulumi.set(__self__, "attribute_name", attribute_name) - pulumi.set(__self__, "attribute_value", attribute_value) + GetFusionEnvironmentsFusionEnvironmentCollectionItemRuleConditionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + attribute_name=attribute_name, + attribute_value=attribute_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attribute_name: str, + attribute_value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("attribute_name", attribute_name) + _setter("attribute_value", attribute_value) @property @pulumi.getter(name="attributeName") @@ -3734,7 +4854,16 @@ def __init__(__self__, *, """ :param str name: A brief descriptive name for the PBF trigger. """ - pulumi.set(__self__, "name", name) + GetPbfListingPublisherDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -3752,7 +4881,16 @@ def __init__(__self__, *, """ :param str name: A brief descriptive name for the PBF trigger. """ - pulumi.set(__self__, "name", name) + GetPbfListingTriggerResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -3772,10 +4910,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the service trigger source of a PBF. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetPbfListingTriggersFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3803,7 +4954,16 @@ def __init__(__self__, *, """ :param Sequence['GetPbfListingTriggersTriggersCollectionItemArgs'] items: List of TriggerSummary. """ - pulumi.set(__self__, "items", items) + GetPbfListingTriggersTriggersCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetPbfListingTriggersTriggersCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -3821,7 +4981,16 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the service trigger source of a PBF. """ - pulumi.set(__self__, "name", name) + GetPbfListingTriggersTriggersCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -3843,9 +5012,22 @@ def __init__(__self__, *, :param bool is_optional: Is this a required config or an optional one. Requests with required config params missing will be rejected. :param str key: The key name of the config param. """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "is_optional", is_optional) - pulumi.set(__self__, "key", key) + GetPbfListingVersionConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + is_optional=is_optional, + key=key, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + is_optional: bool, + key: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("is_optional", is_optional) + _setter("key", key) @property @pulumi.getter @@ -3881,8 +5063,19 @@ def __init__(__self__, *, :param str min_memory_required_in_mbs: Minimum memory required by this PBF. The user should use memory greater than or equal to this value while configuring the Function. :param Sequence['GetPbfListingVersionRequirementPolicyArgs'] policies: List of policies required for this PBF execution. """ - pulumi.set(__self__, "min_memory_required_in_mbs", min_memory_required_in_mbs) - pulumi.set(__self__, "policies", policies) + GetPbfListingVersionRequirementResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + min_memory_required_in_mbs=min_memory_required_in_mbs, + policies=policies, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + min_memory_required_in_mbs: str, + policies: Sequence['outputs.GetPbfListingVersionRequirementPolicyResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("min_memory_required_in_mbs", min_memory_required_in_mbs) + _setter("policies", policies) @property @pulumi.getter(name="minMemoryRequiredInMbs") @@ -3910,8 +5103,19 @@ def __init__(__self__, *, :param str description: Details about why this policy is required and what it will be used for. :param str policy: Policy required for PBF execution """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "policy", policy) + GetPbfListingVersionRequirementPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + policy=policy, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + policy: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("policy", policy) @property @pulumi.getter @@ -3937,7 +5141,16 @@ def __init__(__self__, *, """ :param str name: A brief descriptive name for the PBF trigger. """ - pulumi.set(__self__, "name", name) + GetPbfListingVersionTriggerResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -3957,10 +5170,23 @@ def __init__(__self__, *, """ :param str name: Matches a PbfListingVersion based on a provided semantic version name for a PbfListingVersion. Each PbfListingVersion name is unique with respect to its associated PbfListing. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetPbfListingVersionsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3988,7 +5214,16 @@ def __init__(__self__, *, """ :param Sequence['GetPbfListingVersionsPbfListingVersionsCollectionItemArgs'] items: List of PbfListingVersionSummary. """ - pulumi.set(__self__, "items", items) + GetPbfListingVersionsPbfListingVersionsCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetPbfListingVersionsPbfListingVersionsCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -4030,19 +5265,52 @@ def __init__(__self__, *, :param str time_updated: The last time the PbfListingVersion was updated. An RFC3339 formatted datetime string. :param Sequence['GetPbfListingVersionsPbfListingVersionsCollectionItemTriggerArgs'] triggers: An array of Trigger. A list of triggers that may activate the PBF. """ - pulumi.set(__self__, "change_summary", change_summary) - pulumi.set(__self__, "configs", configs) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "pbf_listing_id", pbf_listing_id) - pulumi.set(__self__, "requirements", requirements) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "triggers", triggers) + GetPbfListingVersionsPbfListingVersionsCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + change_summary=change_summary, + configs=configs, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + id=id, + name=name, + pbf_listing_id=pbf_listing_id, + requirements=requirements, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + triggers=triggers, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + change_summary: str, + configs: Sequence['outputs.GetPbfListingVersionsPbfListingVersionsCollectionItemConfigResult'], + defined_tags: Mapping[str, Any], + freeform_tags: Mapping[str, Any], + id: str, + name: str, + pbf_listing_id: str, + requirements: Sequence['outputs.GetPbfListingVersionsPbfListingVersionsCollectionItemRequirementResult'], + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + triggers: Sequence['outputs.GetPbfListingVersionsPbfListingVersionsCollectionItemTriggerResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("change_summary", change_summary) + _setter("configs", configs) + _setter("defined_tags", defined_tags) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("name", name) + _setter("pbf_listing_id", pbf_listing_id) + _setter("requirements", requirements) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("triggers", triggers) @property @pulumi.getter(name="changeSummary") @@ -4160,9 +5428,22 @@ def __init__(__self__, *, :param bool is_optional: Is this a required config or an optional one. Requests with required config params missing will be rejected. :param str key: The key name of the config param. """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "is_optional", is_optional) - pulumi.set(__self__, "key", key) + GetPbfListingVersionsPbfListingVersionsCollectionItemConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + is_optional=is_optional, + key=key, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + is_optional: bool, + key: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("is_optional", is_optional) + _setter("key", key) @property @pulumi.getter @@ -4198,8 +5479,19 @@ def __init__(__self__, *, :param str min_memory_required_in_mbs: Minimum memory required by this PBF. The user should use memory greater than or equal to this value while configuring the Function. :param Sequence['GetPbfListingVersionsPbfListingVersionsCollectionItemRequirementPolicyArgs'] policies: List of policies required for this PBF execution. """ - pulumi.set(__self__, "min_memory_required_in_mbs", min_memory_required_in_mbs) - pulumi.set(__self__, "policies", policies) + GetPbfListingVersionsPbfListingVersionsCollectionItemRequirementResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + min_memory_required_in_mbs=min_memory_required_in_mbs, + policies=policies, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + min_memory_required_in_mbs: str, + policies: Sequence['outputs.GetPbfListingVersionsPbfListingVersionsCollectionItemRequirementPolicyResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("min_memory_required_in_mbs", min_memory_required_in_mbs) + _setter("policies", policies) @property @pulumi.getter(name="minMemoryRequiredInMbs") @@ -4227,8 +5519,19 @@ def __init__(__self__, *, :param str description: Details about why this policy is required and what it will be used for. :param str policy: Policy required for PBF execution """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "policy", policy) + GetPbfListingVersionsPbfListingVersionsCollectionItemRequirementPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + policy=policy, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + policy: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("policy", policy) @property @pulumi.getter @@ -4254,7 +5557,16 @@ def __init__(__self__, *, """ :param str name: Matches a PbfListingVersion based on a provided semantic version name for a PbfListingVersion. Each PbfListingVersion name is unique with respect to its associated PbfListing. """ - pulumi.set(__self__, "name", name) + GetPbfListingVersionsPbfListingVersionsCollectionItemTriggerResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -4274,10 +5586,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the entire PBF name given. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetPbfListingsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4305,7 +5630,16 @@ def __init__(__self__, *, """ :param Sequence['GetPbfListingsPbfListingsCollectionItemArgs'] items: List of PbfListingSummary. """ - pulumi.set(__self__, "items", items) + GetPbfListingsPbfListingsCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetPbfListingsPbfListingsCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -4343,17 +5677,46 @@ def __init__(__self__, *, :param str time_updated: The last time the PbfListing was updated. An RFC3339 formatted datetime string. :param Sequence['GetPbfListingsPbfListingsCollectionItemTriggerArgs'] triggers: An array of Trigger. A list of triggers that may activate the PBF. """ - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "publisher_details", publisher_details) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "triggers", triggers) + GetPbfListingsPbfListingsCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + id=id, + name=name, + publisher_details=publisher_details, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + triggers=triggers, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + defined_tags: Mapping[str, Any], + description: str, + freeform_tags: Mapping[str, Any], + id: str, + name: str, + publisher_details: Sequence['outputs.GetPbfListingsPbfListingsCollectionItemPublisherDetailResult'], + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + triggers: Sequence['outputs.GetPbfListingsPbfListingsCollectionItemTriggerResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("name", name) + _setter("publisher_details", publisher_details) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("triggers", triggers) @property @pulumi.getter(name="definedTags") @@ -4451,7 +5814,16 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the entire PBF name given. """ - pulumi.set(__self__, "name", name) + GetPbfListingsPbfListingsCollectionItemPublisherDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -4469,7 +5841,16 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the entire PBF name given. """ - pulumi.set(__self__, "name", name) + GetPbfListingsPbfListingsCollectionItemTriggerResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/fusionapps/_inputs.py b/sdk/python/pulumi_oci/fusionapps/_inputs.py index 8bc10d70fc..5d50b16238 100644 --- a/sdk/python/pulumi_oci/fusionapps/_inputs.py +++ b/sdk/python/pulumi_oci/fusionapps/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -39,14 +39,29 @@ def __init__(__self__, *, ** 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 """ + FusionEnvironmentAdminUserItemArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + email_address=email_address, + first_name=first_name, + last_name=last_name, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + email_address: Optional[pulumi.Input[str]] = None, + first_name: Optional[pulumi.Input[str]] = None, + last_name: Optional[pulumi.Input[str]] = None, + username: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if email_address is not None: - pulumi.set(__self__, "email_address", email_address) + _setter("email_address", email_address) if first_name is not None: - pulumi.set(__self__, "first_name", first_name) + _setter("first_name", first_name) if last_name is not None: - pulumi.set(__self__, "last_name", last_name) + _setter("last_name", last_name) if username is not None: - pulumi.set(__self__, "username", username) + _setter("username", username) @property @pulumi.getter(name="emailAddress") @@ -116,11 +131,28 @@ def __init__(__self__, *, :param pulumi.Input[str] password: The password for the administrator. :param pulumi.Input[str] username: The username for the administrator. """ - pulumi.set(__self__, "email_address", email_address) - pulumi.set(__self__, "first_name", first_name) - pulumi.set(__self__, "last_name", last_name) - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "username", username) + FusionEnvironmentCreateFusionEnvironmentAdminUserDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + email_address=email_address, + first_name=first_name, + last_name=last_name, + password=password, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + email_address: pulumi.Input[str], + first_name: pulumi.Input[str], + last_name: pulumi.Input[str], + password: pulumi.Input[str], + username: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("email_address", email_address) + _setter("first_name", first_name) + _setter("last_name", last_name) + _setter("password", password) + _setter("username", username) @property @pulumi.getter(name="emailAddress") @@ -194,12 +226,25 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_monthly_patching_enabled: (Updatable) When True, monthly patching is enabled for the environment family. :param pulumi.Input[str] quarterly_upgrade_begin_times: The quarterly maintenance month group schedule of the Fusion environment family. """ + FusionEnvironmentFamilyFamilyMaintenancePolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + concurrent_maintenance=concurrent_maintenance, + is_monthly_patching_enabled=is_monthly_patching_enabled, + quarterly_upgrade_begin_times=quarterly_upgrade_begin_times, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + concurrent_maintenance: Optional[pulumi.Input[str]] = None, + is_monthly_patching_enabled: Optional[pulumi.Input[bool]] = None, + quarterly_upgrade_begin_times: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if concurrent_maintenance is not None: - pulumi.set(__self__, "concurrent_maintenance", concurrent_maintenance) + _setter("concurrent_maintenance", concurrent_maintenance) if is_monthly_patching_enabled is not None: - pulumi.set(__self__, "is_monthly_patching_enabled", is_monthly_patching_enabled) + _setter("is_monthly_patching_enabled", is_monthly_patching_enabled) if quarterly_upgrade_begin_times is not None: - pulumi.set(__self__, "quarterly_upgrade_begin_times", quarterly_upgrade_begin_times) + _setter("quarterly_upgrade_begin_times", quarterly_upgrade_begin_times) @property @pulumi.getter(name="concurrentMaintenance") @@ -248,20 +293,41 @@ def __init__(__self__, *, scheduled_key_status: Optional[pulumi.Input[str]] = None, scheduled_key_version: Optional[pulumi.Input[str]] = None, scheduled_lifecycle_state: Optional[pulumi.Input[str]] = None): + FusionEnvironmentKmsKeyInfoArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + active_key_id=active_key_id, + active_key_version=active_key_version, + current_key_lifecycle_state=current_key_lifecycle_state, + scheduled_key_id=scheduled_key_id, + scheduled_key_status=scheduled_key_status, + scheduled_key_version=scheduled_key_version, + scheduled_lifecycle_state=scheduled_lifecycle_state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + active_key_id: Optional[pulumi.Input[str]] = None, + active_key_version: Optional[pulumi.Input[str]] = None, + current_key_lifecycle_state: Optional[pulumi.Input[str]] = None, + scheduled_key_id: Optional[pulumi.Input[str]] = None, + scheduled_key_status: Optional[pulumi.Input[str]] = None, + scheduled_key_version: Optional[pulumi.Input[str]] = None, + scheduled_lifecycle_state: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if active_key_id is not None: - pulumi.set(__self__, "active_key_id", active_key_id) + _setter("active_key_id", active_key_id) if active_key_version is not None: - pulumi.set(__self__, "active_key_version", active_key_version) + _setter("active_key_version", active_key_version) if current_key_lifecycle_state is not None: - pulumi.set(__self__, "current_key_lifecycle_state", current_key_lifecycle_state) + _setter("current_key_lifecycle_state", current_key_lifecycle_state) if scheduled_key_id is not None: - pulumi.set(__self__, "scheduled_key_id", scheduled_key_id) + _setter("scheduled_key_id", scheduled_key_id) if scheduled_key_status is not None: - pulumi.set(__self__, "scheduled_key_status", scheduled_key_status) + _setter("scheduled_key_status", scheduled_key_status) if scheduled_key_version is not None: - pulumi.set(__self__, "scheduled_key_version", scheduled_key_version) + _setter("scheduled_key_version", scheduled_key_version) if scheduled_lifecycle_state is not None: - pulumi.set(__self__, "scheduled_lifecycle_state", scheduled_lifecycle_state) + _setter("scheduled_lifecycle_state", scheduled_lifecycle_state) @property @pulumi.getter(name="activeKeyId") @@ -338,12 +404,25 @@ def __init__(__self__, *, :param pulumi.Input[str] monthly_patching_override: (Updatable) When "ENABLED", the Fusion environment is patched monthly. When "DISABLED", the Fusion environment is not patched monthly. This setting overrides the environment family setting. When not set, the environment follows the environment family policy. :param pulumi.Input[Sequence[pulumi.Input['FusionEnvironmentMaintenancePolicyQuarterlyUpgradeBeginTimeArgs']]] quarterly_upgrade_begin_times: Determines the quarterly upgrade begin times (monthly maintenance group schedule ) of the Fusion environment. """ + FusionEnvironmentMaintenancePolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + environment_maintenance_override=environment_maintenance_override, + monthly_patching_override=monthly_patching_override, + quarterly_upgrade_begin_times=quarterly_upgrade_begin_times, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + environment_maintenance_override: Optional[pulumi.Input[str]] = None, + monthly_patching_override: Optional[pulumi.Input[str]] = None, + quarterly_upgrade_begin_times: Optional[pulumi.Input[Sequence[pulumi.Input['FusionEnvironmentMaintenancePolicyQuarterlyUpgradeBeginTimeArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if environment_maintenance_override is not None: - pulumi.set(__self__, "environment_maintenance_override", environment_maintenance_override) + _setter("environment_maintenance_override", environment_maintenance_override) if monthly_patching_override is not None: - pulumi.set(__self__, "monthly_patching_override", monthly_patching_override) + _setter("monthly_patching_override", monthly_patching_override) if quarterly_upgrade_begin_times is not None: - pulumi.set(__self__, "quarterly_upgrade_begin_times", quarterly_upgrade_begin_times) + _setter("quarterly_upgrade_begin_times", quarterly_upgrade_begin_times) @property @pulumi.getter(name="environmentMaintenanceOverride") @@ -391,10 +470,21 @@ def __init__(__self__, *, :param pulumi.Input[str] begin_times_value: The frequency and month when maintenance occurs for the Fusion environment. :param pulumi.Input[str] override_type: Determines if the maintenance schedule of the Fusion environment is inherited from the Fusion environment family. """ + FusionEnvironmentMaintenancePolicyQuarterlyUpgradeBeginTimeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + begin_times_value=begin_times_value, + override_type=override_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + begin_times_value: Optional[pulumi.Input[str]] = None, + override_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if begin_times_value is not None: - pulumi.set(__self__, "begin_times_value", begin_times_value) + _setter("begin_times_value", begin_times_value) if override_type is not None: - pulumi.set(__self__, "override_type", override_type) + _setter("override_type", override_type) @property @pulumi.getter(name="beginTimesValue") @@ -432,12 +522,25 @@ def __init__(__self__, *, :param pulumi.Input[str] time_finished: The time of when the last refresh finish :param pulumi.Input[str] time_of_restoration_point: The point of time of the latest DB backup for the last refresh """ + FusionEnvironmentRefreshArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + source_fusion_environment_id=source_fusion_environment_id, + time_finished=time_finished, + time_of_restoration_point=time_of_restoration_point, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + source_fusion_environment_id: Optional[pulumi.Input[str]] = None, + time_finished: Optional[pulumi.Input[str]] = None, + time_of_restoration_point: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if source_fusion_environment_id is not None: - pulumi.set(__self__, "source_fusion_environment_id", source_fusion_environment_id) + _setter("source_fusion_environment_id", source_fusion_environment_id) if time_finished is not None: - pulumi.set(__self__, "time_finished", time_finished) + _setter("time_finished", time_finished) if time_of_restoration_point is not None: - pulumi.set(__self__, "time_of_restoration_point", time_of_restoration_point) + _setter("time_of_restoration_point", time_of_restoration_point) @property @pulumi.getter(name="sourceFusionEnvironmentId") @@ -483,8 +586,17 @@ def __init__(__self__, *, """ :param pulumi.Input[str] refresh_issues: Detail reasons of refresh failure or validation failure that needs to be shown to customer. """ + FusionEnvironmentRefreshActivityRefreshIssueDetailsListArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + refresh_issues=refresh_issues, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + refresh_issues: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if refresh_issues is not None: - pulumi.set(__self__, "refresh_issues", refresh_issues) + _setter("refresh_issues", refresh_issues) @property @pulumi.getter(name="refreshIssues") @@ -514,10 +626,23 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "conditions", conditions) + FusionEnvironmentRuleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + conditions=conditions, + description=description, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: pulumi.Input[str], + conditions: pulumi.Input[Sequence[pulumi.Input['FusionEnvironmentRuleConditionArgs']]], + description: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("conditions", conditions) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) @property @pulumi.getter @@ -569,8 +694,19 @@ def __init__(__self__, *, :param pulumi.Input[str] attribute_name: (Updatable) RuleCondition type :param pulumi.Input[str] attribute_value: (Updatable) The OCID of the originating VCN that an incoming packet must match. You can use this condition in conjunction with `SourceVcnIpAddressCondition`. **NOTE:** If you define this condition for a rule without a `SourceVcnIpAddressCondition`, this condition matches all incoming traffic in the specified VCN. """ - pulumi.set(__self__, "attribute_name", attribute_name) - pulumi.set(__self__, "attribute_value", attribute_value) + FusionEnvironmentRuleConditionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + attribute_name=attribute_name, + attribute_value=attribute_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attribute_name: pulumi.Input[str], + attribute_value: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("attribute_name", attribute_name) + _setter("attribute_value", attribute_value) @property @pulumi.getter(name="attributeName") diff --git a/sdk/python/pulumi_oci/fusionapps/fusion_environment.py b/sdk/python/pulumi_oci/fusionapps/fusion_environment.py index 37cefa52d1..800ac1d5f0 100644 --- a/sdk/python/pulumi_oci/fusionapps/fusion_environment.py +++ b/sdk/python/pulumi_oci/fusionapps/fusion_environment.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -43,25 +43,56 @@ def __init__(__self__, *, :param pulumi.Input['FusionEnvironmentMaintenancePolicyArgs'] maintenance_policy: (Updatable) The policy that specifies the maintenance and upgrade preferences for an environment. For more information about the options, see [Understanding Environment Maintenance](https://docs.cloud.oracle.com/iaas/Content/fusion-applications/plan-environment-family.htm#about-env-maintenance). :param pulumi.Input[Sequence[pulumi.Input['FusionEnvironmentRuleArgs']]] rules: (Updatable) Rules. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "create_fusion_environment_admin_user_details", create_fusion_environment_admin_user_details) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "fusion_environment_family_id", fusion_environment_family_id) - pulumi.set(__self__, "fusion_environment_type", fusion_environment_type) + FusionEnvironmentArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + create_fusion_environment_admin_user_details=create_fusion_environment_admin_user_details, + display_name=display_name, + fusion_environment_family_id=fusion_environment_family_id, + fusion_environment_type=fusion_environment_type, + additional_language_packs=additional_language_packs, + defined_tags=defined_tags, + dns_prefix=dns_prefix, + freeform_tags=freeform_tags, + kms_key_id=kms_key_id, + maintenance_policy=maintenance_policy, + rules=rules, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + create_fusion_environment_admin_user_details: pulumi.Input['FusionEnvironmentCreateFusionEnvironmentAdminUserDetailsArgs'], + display_name: pulumi.Input[str], + fusion_environment_family_id: pulumi.Input[str], + fusion_environment_type: pulumi.Input[str], + additional_language_packs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + dns_prefix: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + kms_key_id: Optional[pulumi.Input[str]] = None, + maintenance_policy: Optional[pulumi.Input['FusionEnvironmentMaintenancePolicyArgs']] = None, + rules: Optional[pulumi.Input[Sequence[pulumi.Input['FusionEnvironmentRuleArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("create_fusion_environment_admin_user_details", create_fusion_environment_admin_user_details) + _setter("display_name", display_name) + _setter("fusion_environment_family_id", fusion_environment_family_id) + _setter("fusion_environment_type", fusion_environment_type) if additional_language_packs is not None: - pulumi.set(__self__, "additional_language_packs", additional_language_packs) + _setter("additional_language_packs", additional_language_packs) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if dns_prefix is not None: - pulumi.set(__self__, "dns_prefix", dns_prefix) + _setter("dns_prefix", dns_prefix) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) if maintenance_policy is not None: - pulumi.set(__self__, "maintenance_policy", maintenance_policy) + _setter("maintenance_policy", maintenance_policy) if rules is not None: - pulumi.set(__self__, "rules", rules) + _setter("rules", rules) @property @pulumi.getter(name="compartmentId") @@ -270,62 +301,125 @@ def __init__(__self__, *, :param pulumi.Input[str] time_updated: The time the FusionEnvironment was updated. An RFC3339 formatted datetime string :param pulumi.Input[str] version: Version of Fusion Apps used by this environment """ + _FusionEnvironmentState._configure( + lambda key, value: pulumi.set(__self__, key, value), + additional_language_packs=additional_language_packs, + applied_patch_bundles=applied_patch_bundles, + compartment_id=compartment_id, + create_fusion_environment_admin_user_details=create_fusion_environment_admin_user_details, + defined_tags=defined_tags, + display_name=display_name, + dns_prefix=dns_prefix, + domain_id=domain_id, + freeform_tags=freeform_tags, + fusion_environment_family_id=fusion_environment_family_id, + fusion_environment_type=fusion_environment_type, + idcs_domain_url=idcs_domain_url, + is_break_glass_enabled=is_break_glass_enabled, + kms_key_id=kms_key_id, + kms_key_infos=kms_key_infos, + lifecycle_details=lifecycle_details, + lockbox_id=lockbox_id, + maintenance_policy=maintenance_policy, + public_url=public_url, + refreshes=refreshes, + rules=rules, + state=state, + subscription_ids=subscription_ids, + system_name=system_name, + time_created=time_created, + time_upcoming_maintenance=time_upcoming_maintenance, + time_updated=time_updated, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + additional_language_packs: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + applied_patch_bundles: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + create_fusion_environment_admin_user_details: Optional[pulumi.Input['FusionEnvironmentCreateFusionEnvironmentAdminUserDetailsArgs']] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + dns_prefix: Optional[pulumi.Input[str]] = None, + domain_id: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + fusion_environment_family_id: Optional[pulumi.Input[str]] = None, + fusion_environment_type: Optional[pulumi.Input[str]] = None, + idcs_domain_url: Optional[pulumi.Input[str]] = None, + is_break_glass_enabled: Optional[pulumi.Input[bool]] = None, + kms_key_id: Optional[pulumi.Input[str]] = None, + kms_key_infos: Optional[pulumi.Input[Sequence[pulumi.Input['FusionEnvironmentKmsKeyInfoArgs']]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + lockbox_id: Optional[pulumi.Input[str]] = None, + maintenance_policy: Optional[pulumi.Input['FusionEnvironmentMaintenancePolicyArgs']] = None, + public_url: Optional[pulumi.Input[str]] = None, + refreshes: Optional[pulumi.Input[Sequence[pulumi.Input['FusionEnvironmentRefreshArgs']]]] = None, + rules: Optional[pulumi.Input[Sequence[pulumi.Input['FusionEnvironmentRuleArgs']]]] = None, + state: Optional[pulumi.Input[str]] = None, + subscription_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + system_name: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_upcoming_maintenance: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + version: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if additional_language_packs is not None: - pulumi.set(__self__, "additional_language_packs", additional_language_packs) + _setter("additional_language_packs", additional_language_packs) if applied_patch_bundles is not None: - pulumi.set(__self__, "applied_patch_bundles", applied_patch_bundles) + _setter("applied_patch_bundles", applied_patch_bundles) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if create_fusion_environment_admin_user_details is not None: - pulumi.set(__self__, "create_fusion_environment_admin_user_details", create_fusion_environment_admin_user_details) + _setter("create_fusion_environment_admin_user_details", create_fusion_environment_admin_user_details) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if dns_prefix is not None: - pulumi.set(__self__, "dns_prefix", dns_prefix) + _setter("dns_prefix", dns_prefix) if domain_id is not None: - pulumi.set(__self__, "domain_id", domain_id) + _setter("domain_id", domain_id) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if fusion_environment_family_id is not None: - pulumi.set(__self__, "fusion_environment_family_id", fusion_environment_family_id) + _setter("fusion_environment_family_id", fusion_environment_family_id) if fusion_environment_type is not None: - pulumi.set(__self__, "fusion_environment_type", fusion_environment_type) + _setter("fusion_environment_type", fusion_environment_type) if idcs_domain_url is not None: - pulumi.set(__self__, "idcs_domain_url", idcs_domain_url) + _setter("idcs_domain_url", idcs_domain_url) if is_break_glass_enabled is not None: - pulumi.set(__self__, "is_break_glass_enabled", is_break_glass_enabled) + _setter("is_break_glass_enabled", is_break_glass_enabled) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) if kms_key_infos is not None: - pulumi.set(__self__, "kms_key_infos", kms_key_infos) + _setter("kms_key_infos", kms_key_infos) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if lockbox_id is not None: - pulumi.set(__self__, "lockbox_id", lockbox_id) + _setter("lockbox_id", lockbox_id) if maintenance_policy is not None: - pulumi.set(__self__, "maintenance_policy", maintenance_policy) + _setter("maintenance_policy", maintenance_policy) if public_url is not None: - pulumi.set(__self__, "public_url", public_url) + _setter("public_url", public_url) if refreshes is not None: - pulumi.set(__self__, "refreshes", refreshes) + _setter("refreshes", refreshes) if rules is not None: - pulumi.set(__self__, "rules", rules) + _setter("rules", rules) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if subscription_ids is not None: - pulumi.set(__self__, "subscription_ids", subscription_ids) + _setter("subscription_ids", subscription_ids) if system_name is not None: - pulumi.set(__self__, "system_name", system_name) + _setter("system_name", system_name) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_upcoming_maintenance is not None: - pulumi.set(__self__, "time_upcoming_maintenance", time_upcoming_maintenance) + _setter("time_upcoming_maintenance", time_upcoming_maintenance) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter(name="additionalLanguagePacks") @@ -821,6 +915,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + FusionEnvironmentArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -851,6 +949,11 @@ def _internal_init(__self__, if compartment_id is None and not opts.urn: raise TypeError("Missing required property 'compartment_id'") __props__.__dict__["compartment_id"] = compartment_id + if create_fusion_environment_admin_user_details is not None and not isinstance(create_fusion_environment_admin_user_details, FusionEnvironmentCreateFusionEnvironmentAdminUserDetailsArgs): + create_fusion_environment_admin_user_details = create_fusion_environment_admin_user_details or {} + def _setter(key, value): + create_fusion_environment_admin_user_details[key] = value + FusionEnvironmentCreateFusionEnvironmentAdminUserDetailsArgs._configure(_setter, **create_fusion_environment_admin_user_details) if create_fusion_environment_admin_user_details is None and not opts.urn: raise TypeError("Missing required property 'create_fusion_environment_admin_user_details'") __props__.__dict__["create_fusion_environment_admin_user_details"] = create_fusion_environment_admin_user_details @@ -867,6 +970,11 @@ def _internal_init(__self__, raise TypeError("Missing required property 'fusion_environment_type'") __props__.__dict__["fusion_environment_type"] = fusion_environment_type __props__.__dict__["kms_key_id"] = kms_key_id + if maintenance_policy is not None and not isinstance(maintenance_policy, FusionEnvironmentMaintenancePolicyArgs): + maintenance_policy = maintenance_policy or {} + def _setter(key, value): + maintenance_policy[key] = value + FusionEnvironmentMaintenancePolicyArgs._configure(_setter, **maintenance_policy) __props__.__dict__["maintenance_policy"] = maintenance_policy __props__.__dict__["rules"] = rules __props__.__dict__["applied_patch_bundles"] = None diff --git a/sdk/python/pulumi_oci/fusionapps/fusion_environment_admin_user.py b/sdk/python/pulumi_oci/fusionapps/fusion_environment_admin_user.py index 08641fe7aa..ced4569a60 100644 --- a/sdk/python/pulumi_oci/fusionapps/fusion_environment_admin_user.py +++ b/sdk/python/pulumi_oci/fusionapps/fusion_environment_admin_user.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -35,12 +35,31 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "email_address", email_address) - pulumi.set(__self__, "first_name", first_name) - pulumi.set(__self__, "fusion_environment_id", fusion_environment_id) - pulumi.set(__self__, "last_name", last_name) - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "username", username) + FusionEnvironmentAdminUserArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + email_address=email_address, + first_name=first_name, + fusion_environment_id=fusion_environment_id, + last_name=last_name, + password=password, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + email_address: pulumi.Input[str], + first_name: pulumi.Input[str], + fusion_environment_id: pulumi.Input[str], + last_name: pulumi.Input[str], + password: pulumi.Input[str], + username: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("email_address", email_address) + _setter("first_name", first_name) + _setter("fusion_environment_id", fusion_environment_id) + _setter("last_name", last_name) + _setter("password", password) + _setter("username", username) @property @pulumi.getter(name="emailAddress") @@ -143,20 +162,41 @@ def __init__(__self__, *, ** 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 """ + _FusionEnvironmentAdminUserState._configure( + lambda key, value: pulumi.set(__self__, key, value), + email_address=email_address, + first_name=first_name, + fusion_environment_id=fusion_environment_id, + items=items, + last_name=last_name, + password=password, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + email_address: Optional[pulumi.Input[str]] = None, + first_name: Optional[pulumi.Input[str]] = None, + fusion_environment_id: Optional[pulumi.Input[str]] = None, + items: Optional[pulumi.Input[Sequence[pulumi.Input['FusionEnvironmentAdminUserItemArgs']]]] = None, + last_name: Optional[pulumi.Input[str]] = None, + password: Optional[pulumi.Input[str]] = None, + username: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if email_address is not None: - pulumi.set(__self__, "email_address", email_address) + _setter("email_address", email_address) if first_name is not None: - pulumi.set(__self__, "first_name", first_name) + _setter("first_name", first_name) if fusion_environment_id is not None: - pulumi.set(__self__, "fusion_environment_id", fusion_environment_id) + _setter("fusion_environment_id", fusion_environment_id) if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) if last_name is not None: - pulumi.set(__self__, "last_name", last_name) + _setter("last_name", last_name) if password is not None: - pulumi.set(__self__, "password", password) + _setter("password", password) if username is not None: - pulumi.set(__self__, "username", username) + _setter("username", username) @property @pulumi.getter(name="emailAddress") @@ -344,6 +384,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + FusionEnvironmentAdminUserArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/fusionapps/fusion_environment_data_masking_activity.py b/sdk/python/pulumi_oci/fusionapps/fusion_environment_data_masking_activity.py index a5c58773a3..1c9b6d1fc3 100644 --- a/sdk/python/pulumi_oci/fusionapps/fusion_environment_data_masking_activity.py +++ b/sdk/python/pulumi_oci/fusionapps/fusion_environment_data_masking_activity.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['FusionEnvironmentDataMaskingActivityArgs', 'FusionEnvironmentDataMaskingActivity'] @@ -25,9 +25,20 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "fusion_environment_id", fusion_environment_id) + FusionEnvironmentDataMaskingActivityArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + fusion_environment_id=fusion_environment_id, + is_resume_data_masking=is_resume_data_masking, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + fusion_environment_id: pulumi.Input[str], + is_resume_data_masking: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("fusion_environment_id", fusion_environment_id) if is_resume_data_masking is not None: - pulumi.set(__self__, "is_resume_data_masking", is_resume_data_masking) + _setter("is_resume_data_masking", is_resume_data_masking) @property @pulumi.getter(name="fusionEnvironmentId") @@ -78,16 +89,33 @@ def __init__(__self__, *, :param pulumi.Input[str] time_masking_finish: The time the data masking activity ended. An RFC3339 formatted datetime string. :param pulumi.Input[str] time_masking_start: The time the data masking activity started. An RFC3339 formatted datetime string. """ + _FusionEnvironmentDataMaskingActivityState._configure( + lambda key, value: pulumi.set(__self__, key, value), + fusion_environment_id=fusion_environment_id, + is_resume_data_masking=is_resume_data_masking, + state=state, + time_masking_finish=time_masking_finish, + time_masking_start=time_masking_start, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + fusion_environment_id: Optional[pulumi.Input[str]] = None, + is_resume_data_masking: Optional[pulumi.Input[bool]] = None, + state: Optional[pulumi.Input[str]] = None, + time_masking_finish: Optional[pulumi.Input[str]] = None, + time_masking_start: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if fusion_environment_id is not None: - pulumi.set(__self__, "fusion_environment_id", fusion_environment_id) + _setter("fusion_environment_id", fusion_environment_id) if is_resume_data_masking is not None: - pulumi.set(__self__, "is_resume_data_masking", is_resume_data_masking) + _setter("is_resume_data_masking", is_resume_data_masking) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_masking_finish is not None: - pulumi.set(__self__, "time_masking_finish", time_masking_finish) + _setter("time_masking_finish", time_masking_finish) if time_masking_start is not None: - pulumi.set(__self__, "time_masking_start", time_masking_start) + _setter("time_masking_start", time_masking_start) @property @pulumi.getter(name="fusionEnvironmentId") @@ -235,6 +263,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + FusionEnvironmentDataMaskingActivityArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/fusionapps/fusion_environment_family.py b/sdk/python/pulumi_oci/fusionapps/fusion_environment_family.py index a58c3d316c..cd1ab1b527 100644 --- a/sdk/python/pulumi_oci/fusionapps/fusion_environment_family.py +++ b/sdk/python/pulumi_oci/fusionapps/fusion_environment_family.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -36,17 +36,38 @@ def __init__(__self__, *, :param pulumi.Input['FusionEnvironmentFamilyFamilyMaintenancePolicyArgs'] family_maintenance_policy: (Updatable) The policy that specifies the maintenance and upgrade preferences for an environment. For more information about the options, see [Understanding Environment Maintenance](https://docs.cloud.oracle.com/iaas/Content/fusion-applications/plan-environment-family.htm#about-env-maintenance). :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "subscription_ids", subscription_ids) + FusionEnvironmentFamilyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + subscription_ids=subscription_ids, + defined_tags=defined_tags, + family_maintenance_policy=family_maintenance_policy, + freeform_tags=freeform_tags, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + subscription_ids: pulumi.Input[Sequence[pulumi.Input[str]]], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + family_maintenance_policy: Optional[pulumi.Input['FusionEnvironmentFamilyFamilyMaintenancePolicyArgs']] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) + _setter("subscription_ids", subscription_ids) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if family_maintenance_policy is not None: - pulumi.set(__self__, "family_maintenance_policy", family_maintenance_policy) + _setter("family_maintenance_policy", family_maintenance_policy) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -167,30 +188,61 @@ def __init__(__self__, *, :param pulumi.Input[str] system_name: Environment Specific Guid/ System Name :param pulumi.Input[str] time_created: The time the the FusionEnvironmentFamily was created. An RFC3339 formatted datetime string. """ + _FusionEnvironmentFamilyState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + family_maintenance_policy=family_maintenance_policy, + freeform_tags=freeform_tags, + is_subscription_update_needed=is_subscription_update_needed, + lifecycle_details=lifecycle_details, + state=state, + subscription_ids=subscription_ids, + system_name=system_name, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + family_maintenance_policy: Optional[pulumi.Input['FusionEnvironmentFamilyFamilyMaintenancePolicyArgs']] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_subscription_update_needed: Optional[pulumi.Input[bool]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + subscription_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + system_name: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if family_maintenance_policy is not None: - pulumi.set(__self__, "family_maintenance_policy", family_maintenance_policy) + _setter("family_maintenance_policy", family_maintenance_policy) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_subscription_update_needed is not None: - pulumi.set(__self__, "is_subscription_update_needed", is_subscription_update_needed) + _setter("is_subscription_update_needed", is_subscription_update_needed) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if subscription_ids is not None: - pulumi.set(__self__, "subscription_ids", subscription_ids) + _setter("subscription_ids", subscription_ids) if system_name is not None: - pulumi.set(__self__, "system_name", system_name) + _setter("system_name", system_name) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -452,6 +504,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + FusionEnvironmentFamilyArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -480,6 +536,11 @@ def _internal_init(__self__, if display_name is None and not opts.urn: raise TypeError("Missing required property 'display_name'") __props__.__dict__["display_name"] = display_name + if family_maintenance_policy is not None and not isinstance(family_maintenance_policy, FusionEnvironmentFamilyFamilyMaintenancePolicyArgs): + family_maintenance_policy = family_maintenance_policy or {} + def _setter(key, value): + family_maintenance_policy[key] = value + FusionEnvironmentFamilyFamilyMaintenancePolicyArgs._configure(_setter, **family_maintenance_policy) __props__.__dict__["family_maintenance_policy"] = family_maintenance_policy __props__.__dict__["freeform_tags"] = freeform_tags if subscription_ids is None and not opts.urn: diff --git a/sdk/python/pulumi_oci/fusionapps/fusion_environment_refresh_activity.py b/sdk/python/pulumi_oci/fusionapps/fusion_environment_refresh_activity.py index fffa83a7cd..715dcad3cb 100644 --- a/sdk/python/pulumi_oci/fusionapps/fusion_environment_refresh_activity.py +++ b/sdk/python/pulumi_oci/fusionapps/fusion_environment_refresh_activity.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -27,8 +27,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "fusion_environment_id", fusion_environment_id) - pulumi.set(__self__, "source_fusion_environment_id", source_fusion_environment_id) + FusionEnvironmentRefreshActivityArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + fusion_environment_id=fusion_environment_id, + source_fusion_environment_id=source_fusion_environment_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + fusion_environment_id: pulumi.Input[str], + source_fusion_environment_id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("fusion_environment_id", fusion_environment_id) + _setter("source_fusion_environment_id", source_fusion_environment_id) @property @pulumi.getter(name="fusionEnvironmentId") @@ -94,32 +105,65 @@ def __init__(__self__, *, :param pulumi.Input[str] time_of_restoration_point: The date and time of the most recent source environment backup used for the environment refresh. :param pulumi.Input[str] time_updated: The time the refresh activity record was updated. An RFC3339 formatted datetime string. """ + _FusionEnvironmentRefreshActivityState._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + fusion_environment_id=fusion_environment_id, + lifecycle_details=lifecycle_details, + refresh_activity_id=refresh_activity_id, + refresh_issue_details_lists=refresh_issue_details_lists, + service_availability=service_availability, + source_fusion_environment_id=source_fusion_environment_id, + state=state, + time_accepted=time_accepted, + time_expected_finish=time_expected_finish, + time_finished=time_finished, + time_of_restoration_point=time_of_restoration_point, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: Optional[pulumi.Input[str]] = None, + fusion_environment_id: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + refresh_activity_id: Optional[pulumi.Input[str]] = None, + refresh_issue_details_lists: Optional[pulumi.Input[Sequence[pulumi.Input['FusionEnvironmentRefreshActivityRefreshIssueDetailsListArgs']]]] = None, + service_availability: Optional[pulumi.Input[str]] = None, + source_fusion_environment_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_accepted: Optional[pulumi.Input[str]] = None, + time_expected_finish: Optional[pulumi.Input[str]] = None, + time_finished: Optional[pulumi.Input[str]] = None, + time_of_restoration_point: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if fusion_environment_id is not None: - pulumi.set(__self__, "fusion_environment_id", fusion_environment_id) + _setter("fusion_environment_id", fusion_environment_id) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if refresh_activity_id is not None: - pulumi.set(__self__, "refresh_activity_id", refresh_activity_id) + _setter("refresh_activity_id", refresh_activity_id) if refresh_issue_details_lists is not None: - pulumi.set(__self__, "refresh_issue_details_lists", refresh_issue_details_lists) + _setter("refresh_issue_details_lists", refresh_issue_details_lists) if service_availability is not None: - pulumi.set(__self__, "service_availability", service_availability) + _setter("service_availability", service_availability) if source_fusion_environment_id is not None: - pulumi.set(__self__, "source_fusion_environment_id", source_fusion_environment_id) + _setter("source_fusion_environment_id", source_fusion_environment_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_accepted is not None: - pulumi.set(__self__, "time_accepted", time_accepted) + _setter("time_accepted", time_accepted) if time_expected_finish is not None: - pulumi.set(__self__, "time_expected_finish", time_expected_finish) + _setter("time_expected_finish", time_expected_finish) if time_finished is not None: - pulumi.set(__self__, "time_finished", time_finished) + _setter("time_finished", time_finished) if time_of_restoration_point is not None: - pulumi.set(__self__, "time_of_restoration_point", time_of_restoration_point) + _setter("time_of_restoration_point", time_of_restoration_point) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="displayName") @@ -360,6 +404,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + FusionEnvironmentRefreshActivityArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/fusionapps/fusion_environment_service_attachment.py b/sdk/python/pulumi_oci/fusionapps/fusion_environment_service_attachment.py index 9395d40ff7..9bffb6ad28 100644 --- a/sdk/python/pulumi_oci/fusionapps/fusion_environment_service_attachment.py +++ b/sdk/python/pulumi_oci/fusionapps/fusion_environment_service_attachment.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['FusionEnvironmentServiceAttachmentArgs', 'FusionEnvironmentServiceAttachment'] @@ -29,11 +29,26 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[Mapping[str, Any]] defined_tags: Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` """ - pulumi.set(__self__, "fusion_environment_id", fusion_environment_id) - pulumi.set(__self__, "service_instance_id", service_instance_id) - pulumi.set(__self__, "service_instance_type", service_instance_type) + FusionEnvironmentServiceAttachmentArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + fusion_environment_id=fusion_environment_id, + service_instance_id=service_instance_id, + service_instance_type=service_instance_type, + defined_tags=defined_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + fusion_environment_id: pulumi.Input[str], + service_instance_id: pulumi.Input[str], + service_instance_type: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("fusion_environment_id", fusion_environment_id) + _setter("service_instance_id", service_instance_id) + _setter("service_instance_type", service_instance_type) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) @property @pulumi.getter(name="fusionEnvironmentId") @@ -122,30 +137,61 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The time the the ServiceInstance was created. An RFC3339 formatted datetime string :param pulumi.Input[str] time_updated: The time the ServiceInstance was updated. An RFC3339 formatted datetime string """ + _FusionEnvironmentServiceAttachmentState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + fusion_environment_id=fusion_environment_id, + is_sku_based=is_sku_based, + service_instance_id=service_instance_id, + service_instance_type=service_instance_type, + service_url=service_url, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + fusion_environment_id: Optional[pulumi.Input[str]] = None, + is_sku_based: Optional[pulumi.Input[bool]] = None, + service_instance_id: Optional[pulumi.Input[str]] = None, + service_instance_type: Optional[pulumi.Input[str]] = None, + service_url: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if fusion_environment_id is not None: - pulumi.set(__self__, "fusion_environment_id", fusion_environment_id) + _setter("fusion_environment_id", fusion_environment_id) if is_sku_based is not None: - pulumi.set(__self__, "is_sku_based", is_sku_based) + _setter("is_sku_based", is_sku_based) if service_instance_id is not None: - pulumi.set(__self__, "service_instance_id", service_instance_id) + _setter("service_instance_id", service_instance_id) if service_instance_type is not None: - pulumi.set(__self__, "service_instance_type", service_instance_type) + _setter("service_instance_type", service_instance_type) if service_url is not None: - pulumi.set(__self__, "service_url", service_url) + _setter("service_url", service_url) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -383,6 +429,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + FusionEnvironmentServiceAttachmentArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/fusionapps/outputs.py b/sdk/python/pulumi_oci/fusionapps/outputs.py index b1271e0afa..e8459d38bb 100644 --- a/sdk/python/pulumi_oci/fusionapps/outputs.py +++ b/sdk/python/pulumi_oci/fusionapps/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -61,14 +61,29 @@ def __init__(__self__, *, ** 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 """ + FusionEnvironmentAdminUserItem._configure( + lambda key, value: pulumi.set(__self__, key, value), + email_address=email_address, + first_name=first_name, + last_name=last_name, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + email_address: Optional[str] = None, + first_name: Optional[str] = None, + last_name: Optional[str] = None, + username: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if email_address is not None: - pulumi.set(__self__, "email_address", email_address) + _setter("email_address", email_address) if first_name is not None: - pulumi.set(__self__, "first_name", first_name) + _setter("first_name", first_name) if last_name is not None: - pulumi.set(__self__, "last_name", last_name) + _setter("last_name", last_name) if username is not None: - pulumi.set(__self__, "username", username) + _setter("username", username) @property @pulumi.getter(name="emailAddress") @@ -143,11 +158,28 @@ def __init__(__self__, *, :param str password: The password for the administrator. :param str username: The username for the administrator. """ - pulumi.set(__self__, "email_address", email_address) - pulumi.set(__self__, "first_name", first_name) - pulumi.set(__self__, "last_name", last_name) - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "username", username) + FusionEnvironmentCreateFusionEnvironmentAdminUserDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + email_address=email_address, + first_name=first_name, + last_name=last_name, + password=password, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + email_address: str, + first_name: str, + last_name: str, + password: str, + username: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("email_address", email_address) + _setter("first_name", first_name) + _setter("last_name", last_name) + _setter("password", password) + _setter("username", username) @property @pulumi.getter(name="emailAddress") @@ -222,12 +254,25 @@ def __init__(__self__, *, :param bool is_monthly_patching_enabled: (Updatable) When True, monthly patching is enabled for the environment family. :param str quarterly_upgrade_begin_times: The quarterly maintenance month group schedule of the Fusion environment family. """ + FusionEnvironmentFamilyFamilyMaintenancePolicy._configure( + lambda key, value: pulumi.set(__self__, key, value), + concurrent_maintenance=concurrent_maintenance, + is_monthly_patching_enabled=is_monthly_patching_enabled, + quarterly_upgrade_begin_times=quarterly_upgrade_begin_times, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + concurrent_maintenance: Optional[str] = None, + is_monthly_patching_enabled: Optional[bool] = None, + quarterly_upgrade_begin_times: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if concurrent_maintenance is not None: - pulumi.set(__self__, "concurrent_maintenance", concurrent_maintenance) + _setter("concurrent_maintenance", concurrent_maintenance) if is_monthly_patching_enabled is not None: - pulumi.set(__self__, "is_monthly_patching_enabled", is_monthly_patching_enabled) + _setter("is_monthly_patching_enabled", is_monthly_patching_enabled) if quarterly_upgrade_begin_times is not None: - pulumi.set(__self__, "quarterly_upgrade_begin_times", quarterly_upgrade_begin_times) + _setter("quarterly_upgrade_begin_times", quarterly_upgrade_begin_times) @property @pulumi.getter(name="concurrentMaintenance") @@ -293,20 +338,41 @@ def __init__(__self__, *, scheduled_key_status: Optional[str] = None, scheduled_key_version: Optional[str] = None, scheduled_lifecycle_state: Optional[str] = None): + FusionEnvironmentKmsKeyInfo._configure( + lambda key, value: pulumi.set(__self__, key, value), + active_key_id=active_key_id, + active_key_version=active_key_version, + current_key_lifecycle_state=current_key_lifecycle_state, + scheduled_key_id=scheduled_key_id, + scheduled_key_status=scheduled_key_status, + scheduled_key_version=scheduled_key_version, + scheduled_lifecycle_state=scheduled_lifecycle_state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + active_key_id: Optional[str] = None, + active_key_version: Optional[str] = None, + current_key_lifecycle_state: Optional[str] = None, + scheduled_key_id: Optional[str] = None, + scheduled_key_status: Optional[str] = None, + scheduled_key_version: Optional[str] = None, + scheduled_lifecycle_state: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if active_key_id is not None: - pulumi.set(__self__, "active_key_id", active_key_id) + _setter("active_key_id", active_key_id) if active_key_version is not None: - pulumi.set(__self__, "active_key_version", active_key_version) + _setter("active_key_version", active_key_version) if current_key_lifecycle_state is not None: - pulumi.set(__self__, "current_key_lifecycle_state", current_key_lifecycle_state) + _setter("current_key_lifecycle_state", current_key_lifecycle_state) if scheduled_key_id is not None: - pulumi.set(__self__, "scheduled_key_id", scheduled_key_id) + _setter("scheduled_key_id", scheduled_key_id) if scheduled_key_status is not None: - pulumi.set(__self__, "scheduled_key_status", scheduled_key_status) + _setter("scheduled_key_status", scheduled_key_status) if scheduled_key_version is not None: - pulumi.set(__self__, "scheduled_key_version", scheduled_key_version) + _setter("scheduled_key_version", scheduled_key_version) if scheduled_lifecycle_state is not None: - pulumi.set(__self__, "scheduled_lifecycle_state", scheduled_lifecycle_state) + _setter("scheduled_lifecycle_state", scheduled_lifecycle_state) @property @pulumi.getter(name="activeKeyId") @@ -376,12 +442,25 @@ def __init__(__self__, *, :param str monthly_patching_override: (Updatable) When "ENABLED", the Fusion environment is patched monthly. When "DISABLED", the Fusion environment is not patched monthly. This setting overrides the environment family setting. When not set, the environment follows the environment family policy. :param Sequence['FusionEnvironmentMaintenancePolicyQuarterlyUpgradeBeginTimeArgs'] quarterly_upgrade_begin_times: Determines the quarterly upgrade begin times (monthly maintenance group schedule ) of the Fusion environment. """ + FusionEnvironmentMaintenancePolicy._configure( + lambda key, value: pulumi.set(__self__, key, value), + environment_maintenance_override=environment_maintenance_override, + monthly_patching_override=monthly_patching_override, + quarterly_upgrade_begin_times=quarterly_upgrade_begin_times, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + environment_maintenance_override: Optional[str] = None, + monthly_patching_override: Optional[str] = None, + quarterly_upgrade_begin_times: Optional[Sequence['outputs.FusionEnvironmentMaintenancePolicyQuarterlyUpgradeBeginTime']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if environment_maintenance_override is not None: - pulumi.set(__self__, "environment_maintenance_override", environment_maintenance_override) + _setter("environment_maintenance_override", environment_maintenance_override) if monthly_patching_override is not None: - pulumi.set(__self__, "monthly_patching_override", monthly_patching_override) + _setter("monthly_patching_override", monthly_patching_override) if quarterly_upgrade_begin_times is not None: - pulumi.set(__self__, "quarterly_upgrade_begin_times", quarterly_upgrade_begin_times) + _setter("quarterly_upgrade_begin_times", quarterly_upgrade_begin_times) @property @pulumi.getter(name="environmentMaintenanceOverride") @@ -436,10 +515,21 @@ def __init__(__self__, *, :param str begin_times_value: The frequency and month when maintenance occurs for the Fusion environment. :param str override_type: Determines if the maintenance schedule of the Fusion environment is inherited from the Fusion environment family. """ + FusionEnvironmentMaintenancePolicyQuarterlyUpgradeBeginTime._configure( + lambda key, value: pulumi.set(__self__, key, value), + begin_times_value=begin_times_value, + override_type=override_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + begin_times_value: Optional[str] = None, + override_type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if begin_times_value is not None: - pulumi.set(__self__, "begin_times_value", begin_times_value) + _setter("begin_times_value", begin_times_value) if override_type is not None: - pulumi.set(__self__, "override_type", override_type) + _setter("override_type", override_type) @property @pulumi.getter(name="beginTimesValue") @@ -490,12 +580,25 @@ def __init__(__self__, *, :param str time_finished: The time of when the last refresh finish :param str time_of_restoration_point: The point of time of the latest DB backup for the last refresh """ + FusionEnvironmentRefresh._configure( + lambda key, value: pulumi.set(__self__, key, value), + source_fusion_environment_id=source_fusion_environment_id, + time_finished=time_finished, + time_of_restoration_point=time_of_restoration_point, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + source_fusion_environment_id: Optional[str] = None, + time_finished: Optional[str] = None, + time_of_restoration_point: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if source_fusion_environment_id is not None: - pulumi.set(__self__, "source_fusion_environment_id", source_fusion_environment_id) + _setter("source_fusion_environment_id", source_fusion_environment_id) if time_finished is not None: - pulumi.set(__self__, "time_finished", time_finished) + _setter("time_finished", time_finished) if time_of_restoration_point is not None: - pulumi.set(__self__, "time_of_restoration_point", time_of_restoration_point) + _setter("time_of_restoration_point", time_of_restoration_point) @property @pulumi.getter(name="sourceFusionEnvironmentId") @@ -546,8 +649,17 @@ def __init__(__self__, *, """ :param str refresh_issues: Detail reasons of refresh failure or validation failure that needs to be shown to customer. """ + FusionEnvironmentRefreshActivityRefreshIssueDetailsList._configure( + lambda key, value: pulumi.set(__self__, key, value), + refresh_issues=refresh_issues, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + refresh_issues: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if refresh_issues is not None: - pulumi.set(__self__, "refresh_issues", refresh_issues) + _setter("refresh_issues", refresh_issues) @property @pulumi.getter(name="refreshIssues") @@ -573,10 +685,23 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "conditions", conditions) + FusionEnvironmentRule._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + conditions=conditions, + description=description, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: str, + conditions: Sequence['outputs.FusionEnvironmentRuleCondition'], + description: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("conditions", conditions) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) @property @pulumi.getter @@ -635,8 +760,19 @@ def __init__(__self__, *, :param str attribute_name: (Updatable) RuleCondition type :param str attribute_value: (Updatable) The OCID of the originating VCN that an incoming packet must match. You can use this condition in conjunction with `SourceVcnIpAddressCondition`. **NOTE:** If you define this condition for a rule without a `SourceVcnIpAddressCondition`, this condition matches all incoming traffic in the specified VCN. """ - pulumi.set(__self__, "attribute_name", attribute_name) - pulumi.set(__self__, "attribute_value", attribute_value) + FusionEnvironmentRuleCondition._configure( + lambda key, value: pulumi.set(__self__, key, value), + attribute_name=attribute_name, + attribute_value=attribute_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attribute_name: str, + attribute_value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("attribute_name", attribute_name) + _setter("attribute_value", attribute_value) @property @pulumi.getter(name="attributeName") diff --git a/sdk/python/pulumi_oci/genericartifactscontent/artifact_by_path.py b/sdk/python/pulumi_oci/genericartifactscontent/artifact_by_path.py index a5c43e6377..2eb7726cd0 100644 --- a/sdk/python/pulumi_oci/genericartifactscontent/artifact_by_path.py +++ b/sdk/python/pulumi_oci/genericartifactscontent/artifact_by_path.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['ArtifactByPathArgs', 'ArtifactByPath'] @@ -31,13 +31,30 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] source: A path to a file on the local system to be uploaded as the artifact. Cannot be defined if `content` is defined. """ - pulumi.set(__self__, "artifact_path", artifact_path) - pulumi.set(__self__, "repository_id", repository_id) - pulumi.set(__self__, "version", version) + ArtifactByPathArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + artifact_path=artifact_path, + repository_id=repository_id, + version=version, + content=content, + source=source, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + artifact_path: pulumi.Input[str], + repository_id: pulumi.Input[str], + version: pulumi.Input[str], + content: Optional[pulumi.Input[str]] = None, + source: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("artifact_path", artifact_path) + _setter("repository_id", repository_id) + _setter("version", version) if content is not None: - pulumi.set(__self__, "content", content) + _setter("content", content) if source is not None: - pulumi.set(__self__, "source", source) + _setter("source", source) @property @pulumi.getter(name="artifactPath") @@ -141,34 +158,69 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: An RFC 3339 timestamp indicating when the repository was created. :param pulumi.Input[str] version: A user-defined string to describe the artifact version. Example: `1.1.0` or `1.2-beta-2` """ + _ArtifactByPathState._configure( + lambda key, value: pulumi.set(__self__, key, value), + artifact_id=artifact_id, + artifact_path=artifact_path, + compartment_id=compartment_id, + content=content, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + repository_id=repository_id, + sha256=sha256, + size_in_bytes=size_in_bytes, + source=source, + state=state, + time_created=time_created, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + artifact_id: Optional[pulumi.Input[str]] = None, + artifact_path: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + content: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + repository_id: Optional[pulumi.Input[str]] = None, + sha256: Optional[pulumi.Input[str]] = None, + size_in_bytes: Optional[pulumi.Input[str]] = None, + source: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + version: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if artifact_id is not None: - pulumi.set(__self__, "artifact_id", artifact_id) + _setter("artifact_id", artifact_id) if artifact_path is not None: - pulumi.set(__self__, "artifact_path", artifact_path) + _setter("artifact_path", artifact_path) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if content is not None: - pulumi.set(__self__, "content", content) + _setter("content", content) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if repository_id is not None: - pulumi.set(__self__, "repository_id", repository_id) + _setter("repository_id", repository_id) if sha256 is not None: - pulumi.set(__self__, "sha256", sha256) + _setter("sha256", sha256) if size_in_bytes is not None: - pulumi.set(__self__, "size_in_bytes", size_in_bytes) + _setter("size_in_bytes", size_in_bytes) if source is not None: - pulumi.set(__self__, "source", source) + _setter("source", source) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter(name="artifactId") @@ -421,6 +473,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ArtifactByPathArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/genericartifactscontent/get_artifact_by_path.py b/sdk/python/pulumi_oci/genericartifactscontent/get_artifact_by_path.py index bf569bf4a6..bb0c703570 100644 --- a/sdk/python/pulumi_oci/genericartifactscontent/get_artifact_by_path.py +++ b/sdk/python/pulumi_oci/genericartifactscontent/get_artifact_by_path.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/genericartifactscontent/get_generic_artifacts_content.py b/sdk/python/pulumi_oci/genericartifactscontent/get_generic_artifacts_content.py index 01726354dc..b0572a2116 100644 --- a/sdk/python/pulumi_oci/genericartifactscontent/get_generic_artifacts_content.py +++ b/sdk/python/pulumi_oci/genericartifactscontent/get_generic_artifacts_content.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/goldengate/_inputs.py b/sdk/python/pulumi_oci/goldengate/_inputs.py index 30783c757f..634fb15556 100644 --- a/sdk/python/pulumi_oci/goldengate/_inputs.py +++ b/sdk/python/pulumi_oci/goldengate/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -39,10 +39,21 @@ def __init__(__self__, *, :param pulumi.Input[str] name: (Updatable) The name of the property entry. :param pulumi.Input[str] value: (Updatable) The value of the property entry. """ + ConnectionAdditionalAttributeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -80,12 +91,25 @@ def __init__(__self__, *, :param pulumi.Input[int] port: (Updatable) The port of an endpoint usually specified for a connection. :param pulumi.Input[str] private_ip: (Updatable) The private IP address of the connection's endpoint in the customer's VCN, typically a database endpoint or a big data endpoint (e.g. Kafka bootstrap server). In case the privateIp is provided, the subnetId must also be provided. In case the privateIp (and the subnetId) is not provided it is assumed the datasource is publicly accessible. In case the connection is accessible only privately, the lack of privateIp will result in not being able to access the connection. """ + ConnectionBootstrapServerArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + host=host, + port=port, + private_ip=private_ip, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host: Optional[pulumi.Input[str]] = None, + port: Optional[pulumi.Input[int]] = None, + private_ip: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if host is not None: - pulumi.set(__self__, "host", host) + _setter("host", host) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if private_ip is not None: - pulumi.set(__self__, "private_ip", private_ip) + _setter("private_ip", private_ip) @property @pulumi.getter @@ -131,8 +155,17 @@ def __init__(__self__, *, """ :param pulumi.Input[str] ingress_ip: A Private Endpoint IPv4 or IPv6 Address created in the customer's subnet. """ + ConnectionIngressIpArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + ingress_ip=ingress_ip, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ingress_ip: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ingress_ip is not None: - pulumi.set(__self__, "ingress_ip", ingress_ip) + _setter("ingress_ip", ingress_ip) @property @pulumi.getter(name="ingressIp") @@ -164,18 +197,37 @@ def __init__(__self__, *, :param pulumi.Input[str] time_diagnostic_end: The time until which the diagnostic collection should collect the logs. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. :param pulumi.Input[str] time_diagnostic_start: The time from which the diagnostic collection should collect the logs. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. """ + DeploymentDeploymentDiagnosticDataArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + diagnostic_state=diagnostic_state, + namespace=namespace, + object=object, + time_diagnostic_end=time_diagnostic_end, + time_diagnostic_start=time_diagnostic_start, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: Optional[pulumi.Input[str]] = None, + diagnostic_state: Optional[pulumi.Input[str]] = None, + namespace: Optional[pulumi.Input[str]] = None, + object: Optional[pulumi.Input[str]] = None, + time_diagnostic_end: Optional[pulumi.Input[str]] = None, + time_diagnostic_start: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if bucket is not None: - pulumi.set(__self__, "bucket", bucket) + _setter("bucket", bucket) if diagnostic_state is not None: - pulumi.set(__self__, "diagnostic_state", diagnostic_state) + _setter("diagnostic_state", diagnostic_state) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if object is not None: - pulumi.set(__self__, "object", object) + _setter("object", object) if time_diagnostic_end is not None: - pulumi.set(__self__, "time_diagnostic_end", time_diagnostic_end) + _setter("time_diagnostic_end", time_diagnostic_end) if time_diagnostic_start is not None: - pulumi.set(__self__, "time_diagnostic_start", time_diagnostic_start) + _setter("time_diagnostic_start", time_diagnostic_start) @property @pulumi.getter @@ -265,16 +317,33 @@ def __init__(__self__, *, :param pulumi.Input[int] major_release_upgrade_period_in_days: (Updatable) Defines auto upgrade period for major releases. Manually configured period cannot be longer than service defined period for major releases. Not passing this field during create will equate to using the service default. :param pulumi.Input[int] security_patch_upgrade_period_in_days: (Updatable) Defines auto upgrade period for releases with security fix. Manually configured period cannot be longer than service defined period for security releases. Not passing this field during create will equate to using the service default. """ + DeploymentMaintenanceConfigurationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + bundle_release_upgrade_period_in_days=bundle_release_upgrade_period_in_days, + interim_release_upgrade_period_in_days=interim_release_upgrade_period_in_days, + is_interim_release_auto_upgrade_enabled=is_interim_release_auto_upgrade_enabled, + major_release_upgrade_period_in_days=major_release_upgrade_period_in_days, + security_patch_upgrade_period_in_days=security_patch_upgrade_period_in_days, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bundle_release_upgrade_period_in_days: Optional[pulumi.Input[int]] = None, + interim_release_upgrade_period_in_days: Optional[pulumi.Input[int]] = None, + is_interim_release_auto_upgrade_enabled: Optional[pulumi.Input[bool]] = None, + major_release_upgrade_period_in_days: Optional[pulumi.Input[int]] = None, + security_patch_upgrade_period_in_days: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if bundle_release_upgrade_period_in_days is not None: - pulumi.set(__self__, "bundle_release_upgrade_period_in_days", bundle_release_upgrade_period_in_days) + _setter("bundle_release_upgrade_period_in_days", bundle_release_upgrade_period_in_days) if interim_release_upgrade_period_in_days is not None: - pulumi.set(__self__, "interim_release_upgrade_period_in_days", interim_release_upgrade_period_in_days) + _setter("interim_release_upgrade_period_in_days", interim_release_upgrade_period_in_days) if is_interim_release_auto_upgrade_enabled is not None: - pulumi.set(__self__, "is_interim_release_auto_upgrade_enabled", is_interim_release_auto_upgrade_enabled) + _setter("is_interim_release_auto_upgrade_enabled", is_interim_release_auto_upgrade_enabled) if major_release_upgrade_period_in_days is not None: - pulumi.set(__self__, "major_release_upgrade_period_in_days", major_release_upgrade_period_in_days) + _setter("major_release_upgrade_period_in_days", major_release_upgrade_period_in_days) if security_patch_upgrade_period_in_days is not None: - pulumi.set(__self__, "security_patch_upgrade_period_in_days", security_patch_upgrade_period_in_days) + _setter("security_patch_upgrade_period_in_days", security_patch_upgrade_period_in_days) @property @pulumi.getter(name="bundleReleaseUpgradePeriodInDays") @@ -346,8 +415,19 @@ def __init__(__self__, *, :param pulumi.Input[str] day: (Updatable) Days of the week. :param pulumi.Input[int] start_hour: (Updatable) Start hour for maintenance period. Hour is in UTC. """ - pulumi.set(__self__, "day", day) - pulumi.set(__self__, "start_hour", start_hour) + DeploymentMaintenanceWindowArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + day=day, + start_hour=start_hour, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + day: pulumi.Input[str], + start_hour: pulumi.Input[int], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("day", day) + _setter("start_hour", start_hour) @property @pulumi.getter @@ -397,23 +477,48 @@ def __init__(__self__, *, :param pulumi.Input[str] ogg_version: (Updatable) Version of ogg to use by deployment. By updating version you can upgrade your deployment to a newer version. Downgrade to older version is not supported. :param pulumi.Input[str] password_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the deployment password is stored. """ - pulumi.set(__self__, "deployment_name", deployment_name) + DeploymentOggDataArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + deployment_name=deployment_name, + admin_password=admin_password, + admin_username=admin_username, + certificate=certificate, + credential_store=credential_store, + identity_domain_id=identity_domain_id, + key=key, + ogg_version=ogg_version, + password_secret_id=password_secret_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deployment_name: pulumi.Input[str], + admin_password: Optional[pulumi.Input[str]] = None, + admin_username: Optional[pulumi.Input[str]] = None, + certificate: Optional[pulumi.Input[str]] = None, + credential_store: Optional[pulumi.Input[str]] = None, + identity_domain_id: Optional[pulumi.Input[str]] = None, + key: Optional[pulumi.Input[str]] = None, + ogg_version: Optional[pulumi.Input[str]] = None, + password_secret_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("deployment_name", deployment_name) if admin_password is not None: - pulumi.set(__self__, "admin_password", admin_password) + _setter("admin_password", admin_password) if admin_username is not None: - pulumi.set(__self__, "admin_username", admin_username) + _setter("admin_username", admin_username) if certificate is not None: - pulumi.set(__self__, "certificate", certificate) + _setter("certificate", certificate) if credential_store is not None: - pulumi.set(__self__, "credential_store", credential_store) + _setter("credential_store", credential_store) if identity_domain_id is not None: - pulumi.set(__self__, "identity_domain_id", identity_domain_id) + _setter("identity_domain_id", identity_domain_id) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if ogg_version is not None: - pulumi.set(__self__, "ogg_version", ogg_version) + _setter("ogg_version", ogg_version) if password_secret_id is not None: - pulumi.set(__self__, "password_secret_id", password_secret_id) + _setter("password_secret_id", password_secret_id) @property @pulumi.getter(name="deploymentName") @@ -533,10 +638,23 @@ def __init__(__self__, *, """ :param str name: The name of the connection in the assignment (aliasName). """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetConnectionAssignmentsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -578,10 +696,23 @@ def __init__(__self__, *, """ :param str name: The name of the property entry. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetConnectionsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -620,10 +751,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDatabaseRegistrationsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -659,10 +803,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDeploymentBackupsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -698,10 +855,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDeploymentTypesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -737,10 +907,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDeploymentUpgradesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -776,10 +959,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDeploymentVersionsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -815,10 +1011,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDeploymentsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -854,10 +1063,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetMessagesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -893,10 +1115,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetTrailFilesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -932,10 +1167,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetTrailSequencesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/goldengate/connection.py b/sdk/python/pulumi_oci/goldengate/connection.py index 1b79b5fed5..6608f211e4 100644 --- a/sdk/python/pulumi_oci/goldengate/connection.py +++ b/sdk/python/pulumi_oci/goldengate/connection.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -154,134 +154,273 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "connection_type", connection_type) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "technology_type", technology_type) + ConnectionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + connection_type=connection_type, + display_name=display_name, + technology_type=technology_type, + access_key_id=access_key_id, + account_key=account_key, + account_name=account_name, + additional_attributes=additional_attributes, + authentication_type=authentication_type, + azure_tenant_id=azure_tenant_id, + bootstrap_servers=bootstrap_servers, + client_id=client_id, + client_secret=client_secret, + connection_factory=connection_factory, + connection_string=connection_string, + connection_url=connection_url, + consumer_properties=consumer_properties, + core_site_xml=core_site_xml, + database_id=database_id, + database_name=database_name, + db_system_id=db_system_id, + defined_tags=defined_tags, + deployment_id=deployment_id, + description=description, + endpoint=endpoint, + freeform_tags=freeform_tags, + host=host, + jndi_connection_factory=jndi_connection_factory, + jndi_initial_context_factory=jndi_initial_context_factory, + jndi_provider_url=jndi_provider_url, + jndi_security_credentials=jndi_security_credentials, + jndi_security_principal=jndi_security_principal, + key_id=key_id, + key_store=key_store, + key_store_password=key_store_password, + nsg_ids=nsg_ids, + password=password, + port=port, + private_ip=private_ip, + private_key_file=private_key_file, + private_key_passphrase=private_key_passphrase, + producer_properties=producer_properties, + public_key_fingerprint=public_key_fingerprint, + region=region, + sas_token=sas_token, + secret_access_key=secret_access_key, + security_protocol=security_protocol, + session_mode=session_mode, + should_use_jndi=should_use_jndi, + should_validate_server_certificate=should_validate_server_certificate, + ssl_ca=ssl_ca, + ssl_cert=ssl_cert, + ssl_crl=ssl_crl, + ssl_key=ssl_key, + ssl_key_password=ssl_key_password, + ssl_mode=ssl_mode, + stream_pool_id=stream_pool_id, + subnet_id=subnet_id, + tenancy_id=tenancy_id, + trust_store=trust_store, + trust_store_password=trust_store_password, + url=url, + user_id=user_id, + username=username, + vault_id=vault_id, + wallet=wallet, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + connection_type: pulumi.Input[str], + display_name: pulumi.Input[str], + technology_type: pulumi.Input[str], + access_key_id: Optional[pulumi.Input[str]] = None, + account_key: Optional[pulumi.Input[str]] = None, + account_name: Optional[pulumi.Input[str]] = None, + additional_attributes: Optional[pulumi.Input[Sequence[pulumi.Input['ConnectionAdditionalAttributeArgs']]]] = None, + authentication_type: Optional[pulumi.Input[str]] = None, + azure_tenant_id: Optional[pulumi.Input[str]] = None, + bootstrap_servers: Optional[pulumi.Input[Sequence[pulumi.Input['ConnectionBootstrapServerArgs']]]] = None, + client_id: Optional[pulumi.Input[str]] = None, + client_secret: Optional[pulumi.Input[str]] = None, + connection_factory: Optional[pulumi.Input[str]] = None, + connection_string: Optional[pulumi.Input[str]] = None, + connection_url: Optional[pulumi.Input[str]] = None, + consumer_properties: Optional[pulumi.Input[str]] = None, + core_site_xml: Optional[pulumi.Input[str]] = None, + database_id: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + db_system_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + deployment_id: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + endpoint: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + host: Optional[pulumi.Input[str]] = None, + jndi_connection_factory: Optional[pulumi.Input[str]] = None, + jndi_initial_context_factory: Optional[pulumi.Input[str]] = None, + jndi_provider_url: Optional[pulumi.Input[str]] = None, + jndi_security_credentials: Optional[pulumi.Input[str]] = None, + jndi_security_principal: Optional[pulumi.Input[str]] = None, + key_id: Optional[pulumi.Input[str]] = None, + key_store: Optional[pulumi.Input[str]] = None, + key_store_password: Optional[pulumi.Input[str]] = None, + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + password: Optional[pulumi.Input[str]] = None, + port: Optional[pulumi.Input[int]] = None, + private_ip: Optional[pulumi.Input[str]] = None, + private_key_file: Optional[pulumi.Input[str]] = None, + private_key_passphrase: Optional[pulumi.Input[str]] = None, + producer_properties: Optional[pulumi.Input[str]] = None, + public_key_fingerprint: Optional[pulumi.Input[str]] = None, + region: Optional[pulumi.Input[str]] = None, + sas_token: Optional[pulumi.Input[str]] = None, + secret_access_key: Optional[pulumi.Input[str]] = None, + security_protocol: Optional[pulumi.Input[str]] = None, + session_mode: Optional[pulumi.Input[str]] = None, + should_use_jndi: Optional[pulumi.Input[bool]] = None, + should_validate_server_certificate: Optional[pulumi.Input[bool]] = None, + ssl_ca: Optional[pulumi.Input[str]] = None, + ssl_cert: Optional[pulumi.Input[str]] = None, + ssl_crl: Optional[pulumi.Input[str]] = None, + ssl_key: Optional[pulumi.Input[str]] = None, + ssl_key_password: Optional[pulumi.Input[str]] = None, + ssl_mode: Optional[pulumi.Input[str]] = None, + stream_pool_id: Optional[pulumi.Input[str]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + tenancy_id: Optional[pulumi.Input[str]] = None, + trust_store: Optional[pulumi.Input[str]] = None, + trust_store_password: Optional[pulumi.Input[str]] = None, + url: Optional[pulumi.Input[str]] = None, + user_id: Optional[pulumi.Input[str]] = None, + username: Optional[pulumi.Input[str]] = None, + vault_id: Optional[pulumi.Input[str]] = None, + wallet: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("connection_type", connection_type) + _setter("display_name", display_name) + _setter("technology_type", technology_type) if access_key_id is not None: - pulumi.set(__self__, "access_key_id", access_key_id) + _setter("access_key_id", access_key_id) if account_key is not None: - pulumi.set(__self__, "account_key", account_key) + _setter("account_key", account_key) if account_name is not None: - pulumi.set(__self__, "account_name", account_name) + _setter("account_name", account_name) if additional_attributes is not None: - pulumi.set(__self__, "additional_attributes", additional_attributes) + _setter("additional_attributes", additional_attributes) if authentication_type is not None: - pulumi.set(__self__, "authentication_type", authentication_type) + _setter("authentication_type", authentication_type) if azure_tenant_id is not None: - pulumi.set(__self__, "azure_tenant_id", azure_tenant_id) + _setter("azure_tenant_id", azure_tenant_id) if bootstrap_servers is not None: - pulumi.set(__self__, "bootstrap_servers", bootstrap_servers) + _setter("bootstrap_servers", bootstrap_servers) if client_id is not None: - pulumi.set(__self__, "client_id", client_id) + _setter("client_id", client_id) if client_secret is not None: - pulumi.set(__self__, "client_secret", client_secret) + _setter("client_secret", client_secret) if connection_factory is not None: - pulumi.set(__self__, "connection_factory", connection_factory) + _setter("connection_factory", connection_factory) if connection_string is not None: - pulumi.set(__self__, "connection_string", connection_string) + _setter("connection_string", connection_string) if connection_url is not None: - pulumi.set(__self__, "connection_url", connection_url) + _setter("connection_url", connection_url) if consumer_properties is not None: - pulumi.set(__self__, "consumer_properties", consumer_properties) + _setter("consumer_properties", consumer_properties) if core_site_xml is not None: - pulumi.set(__self__, "core_site_xml", core_site_xml) + _setter("core_site_xml", core_site_xml) if database_id is not None: - pulumi.set(__self__, "database_id", database_id) + _setter("database_id", database_id) if database_name is not None: - pulumi.set(__self__, "database_name", database_name) + _setter("database_name", database_name) if db_system_id is not None: - pulumi.set(__self__, "db_system_id", db_system_id) + _setter("db_system_id", db_system_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if deployment_id is not None: - pulumi.set(__self__, "deployment_id", deployment_id) + _setter("deployment_id", deployment_id) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if endpoint is not None: - pulumi.set(__self__, "endpoint", endpoint) + _setter("endpoint", endpoint) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if host is not None: - pulumi.set(__self__, "host", host) + _setter("host", host) if jndi_connection_factory is not None: - pulumi.set(__self__, "jndi_connection_factory", jndi_connection_factory) + _setter("jndi_connection_factory", jndi_connection_factory) if jndi_initial_context_factory is not None: - pulumi.set(__self__, "jndi_initial_context_factory", jndi_initial_context_factory) + _setter("jndi_initial_context_factory", jndi_initial_context_factory) if jndi_provider_url is not None: - pulumi.set(__self__, "jndi_provider_url", jndi_provider_url) + _setter("jndi_provider_url", jndi_provider_url) if jndi_security_credentials is not None: - pulumi.set(__self__, "jndi_security_credentials", jndi_security_credentials) + _setter("jndi_security_credentials", jndi_security_credentials) if jndi_security_principal is not None: - pulumi.set(__self__, "jndi_security_principal", jndi_security_principal) + _setter("jndi_security_principal", jndi_security_principal) if key_id is not None: - pulumi.set(__self__, "key_id", key_id) + _setter("key_id", key_id) if key_store is not None: - pulumi.set(__self__, "key_store", key_store) + _setter("key_store", key_store) if key_store_password is not None: - pulumi.set(__self__, "key_store_password", key_store_password) + _setter("key_store_password", key_store_password) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) if password is not None: - pulumi.set(__self__, "password", password) + _setter("password", password) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if private_ip is not None: - pulumi.set(__self__, "private_ip", private_ip) + _setter("private_ip", private_ip) if private_key_file is not None: - pulumi.set(__self__, "private_key_file", private_key_file) + _setter("private_key_file", private_key_file) if private_key_passphrase is not None: - pulumi.set(__self__, "private_key_passphrase", private_key_passphrase) + _setter("private_key_passphrase", private_key_passphrase) if producer_properties is not None: - pulumi.set(__self__, "producer_properties", producer_properties) + _setter("producer_properties", producer_properties) if public_key_fingerprint is not None: - pulumi.set(__self__, "public_key_fingerprint", public_key_fingerprint) + _setter("public_key_fingerprint", public_key_fingerprint) if region is not None: - pulumi.set(__self__, "region", region) + _setter("region", region) if sas_token is not None: - pulumi.set(__self__, "sas_token", sas_token) + _setter("sas_token", sas_token) if secret_access_key is not None: - pulumi.set(__self__, "secret_access_key", secret_access_key) + _setter("secret_access_key", secret_access_key) if security_protocol is not None: - pulumi.set(__self__, "security_protocol", security_protocol) + _setter("security_protocol", security_protocol) if session_mode is not None: - pulumi.set(__self__, "session_mode", session_mode) + _setter("session_mode", session_mode) if should_use_jndi is not None: - pulumi.set(__self__, "should_use_jndi", should_use_jndi) + _setter("should_use_jndi", should_use_jndi) if should_validate_server_certificate is not None: - pulumi.set(__self__, "should_validate_server_certificate", should_validate_server_certificate) + _setter("should_validate_server_certificate", should_validate_server_certificate) if ssl_ca is not None: - pulumi.set(__self__, "ssl_ca", ssl_ca) + _setter("ssl_ca", ssl_ca) if ssl_cert is not None: - pulumi.set(__self__, "ssl_cert", ssl_cert) + _setter("ssl_cert", ssl_cert) if ssl_crl is not None: - pulumi.set(__self__, "ssl_crl", ssl_crl) + _setter("ssl_crl", ssl_crl) if ssl_key is not None: - pulumi.set(__self__, "ssl_key", ssl_key) + _setter("ssl_key", ssl_key) if ssl_key_password is not None: - pulumi.set(__self__, "ssl_key_password", ssl_key_password) + _setter("ssl_key_password", ssl_key_password) if ssl_mode is not None: - pulumi.set(__self__, "ssl_mode", ssl_mode) + _setter("ssl_mode", ssl_mode) if stream_pool_id is not None: - pulumi.set(__self__, "stream_pool_id", stream_pool_id) + _setter("stream_pool_id", stream_pool_id) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) if tenancy_id is not None: - pulumi.set(__self__, "tenancy_id", tenancy_id) + _setter("tenancy_id", tenancy_id) if trust_store is not None: - pulumi.set(__self__, "trust_store", trust_store) + _setter("trust_store", trust_store) if trust_store_password is not None: - pulumi.set(__self__, "trust_store_password", trust_store_password) + _setter("trust_store_password", trust_store_password) if url is not None: - pulumi.set(__self__, "url", url) + _setter("url", url) if user_id is not None: - pulumi.set(__self__, "user_id", user_id) + _setter("user_id", user_id) if username is not None: - pulumi.set(__self__, "username", username) + _setter("username", username) if vault_id is not None: - pulumi.set(__self__, "vault_id", vault_id) + _setter("vault_id", vault_id) if wallet is not None: - pulumi.set(__self__, "wallet", wallet) + _setter("wallet", wallet) @property @pulumi.getter(name="compartmentId") @@ -1232,150 +1371,301 @@ def __init__(__self__, *, ** 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 """ + _ConnectionState._configure( + lambda key, value: pulumi.set(__self__, key, value), + access_key_id=access_key_id, + account_key=account_key, + account_name=account_name, + additional_attributes=additional_attributes, + authentication_type=authentication_type, + azure_tenant_id=azure_tenant_id, + bootstrap_servers=bootstrap_servers, + client_id=client_id, + client_secret=client_secret, + compartment_id=compartment_id, + connection_factory=connection_factory, + connection_string=connection_string, + connection_type=connection_type, + connection_url=connection_url, + consumer_properties=consumer_properties, + core_site_xml=core_site_xml, + database_id=database_id, + database_name=database_name, + db_system_id=db_system_id, + defined_tags=defined_tags, + deployment_id=deployment_id, + description=description, + display_name=display_name, + endpoint=endpoint, + freeform_tags=freeform_tags, + host=host, + ingress_ips=ingress_ips, + jndi_connection_factory=jndi_connection_factory, + jndi_initial_context_factory=jndi_initial_context_factory, + jndi_provider_url=jndi_provider_url, + jndi_security_credentials=jndi_security_credentials, + jndi_security_principal=jndi_security_principal, + key_id=key_id, + key_store=key_store, + key_store_password=key_store_password, + lifecycle_details=lifecycle_details, + nsg_ids=nsg_ids, + password=password, + port=port, + private_ip=private_ip, + private_key_file=private_key_file, + private_key_passphrase=private_key_passphrase, + producer_properties=producer_properties, + public_key_fingerprint=public_key_fingerprint, + region=region, + sas_token=sas_token, + secret_access_key=secret_access_key, + security_protocol=security_protocol, + session_mode=session_mode, + should_use_jndi=should_use_jndi, + should_validate_server_certificate=should_validate_server_certificate, + ssl_ca=ssl_ca, + ssl_cert=ssl_cert, + ssl_crl=ssl_crl, + ssl_key=ssl_key, + ssl_key_password=ssl_key_password, + ssl_mode=ssl_mode, + state=state, + stream_pool_id=stream_pool_id, + subnet_id=subnet_id, + system_tags=system_tags, + technology_type=technology_type, + tenancy_id=tenancy_id, + time_created=time_created, + time_updated=time_updated, + trust_store=trust_store, + trust_store_password=trust_store_password, + url=url, + user_id=user_id, + username=username, + vault_id=vault_id, + wallet=wallet, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access_key_id: Optional[pulumi.Input[str]] = None, + account_key: Optional[pulumi.Input[str]] = None, + account_name: Optional[pulumi.Input[str]] = None, + additional_attributes: Optional[pulumi.Input[Sequence[pulumi.Input['ConnectionAdditionalAttributeArgs']]]] = None, + authentication_type: Optional[pulumi.Input[str]] = None, + azure_tenant_id: Optional[pulumi.Input[str]] = None, + bootstrap_servers: Optional[pulumi.Input[Sequence[pulumi.Input['ConnectionBootstrapServerArgs']]]] = None, + client_id: Optional[pulumi.Input[str]] = None, + client_secret: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + connection_factory: Optional[pulumi.Input[str]] = None, + connection_string: Optional[pulumi.Input[str]] = None, + connection_type: Optional[pulumi.Input[str]] = None, + connection_url: Optional[pulumi.Input[str]] = None, + consumer_properties: Optional[pulumi.Input[str]] = None, + core_site_xml: Optional[pulumi.Input[str]] = None, + database_id: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + db_system_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + deployment_id: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + endpoint: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + host: Optional[pulumi.Input[str]] = None, + ingress_ips: Optional[pulumi.Input[Sequence[pulumi.Input['ConnectionIngressIpArgs']]]] = None, + jndi_connection_factory: Optional[pulumi.Input[str]] = None, + jndi_initial_context_factory: Optional[pulumi.Input[str]] = None, + jndi_provider_url: Optional[pulumi.Input[str]] = None, + jndi_security_credentials: Optional[pulumi.Input[str]] = None, + jndi_security_principal: Optional[pulumi.Input[str]] = None, + key_id: Optional[pulumi.Input[str]] = None, + key_store: Optional[pulumi.Input[str]] = None, + key_store_password: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + password: Optional[pulumi.Input[str]] = None, + port: Optional[pulumi.Input[int]] = None, + private_ip: Optional[pulumi.Input[str]] = None, + private_key_file: Optional[pulumi.Input[str]] = None, + private_key_passphrase: Optional[pulumi.Input[str]] = None, + producer_properties: Optional[pulumi.Input[str]] = None, + public_key_fingerprint: Optional[pulumi.Input[str]] = None, + region: Optional[pulumi.Input[str]] = None, + sas_token: Optional[pulumi.Input[str]] = None, + secret_access_key: Optional[pulumi.Input[str]] = None, + security_protocol: Optional[pulumi.Input[str]] = None, + session_mode: Optional[pulumi.Input[str]] = None, + should_use_jndi: Optional[pulumi.Input[bool]] = None, + should_validate_server_certificate: Optional[pulumi.Input[bool]] = None, + ssl_ca: Optional[pulumi.Input[str]] = None, + ssl_cert: Optional[pulumi.Input[str]] = None, + ssl_crl: Optional[pulumi.Input[str]] = None, + ssl_key: Optional[pulumi.Input[str]] = None, + ssl_key_password: Optional[pulumi.Input[str]] = None, + ssl_mode: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + stream_pool_id: Optional[pulumi.Input[str]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + technology_type: Optional[pulumi.Input[str]] = None, + tenancy_id: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + trust_store: Optional[pulumi.Input[str]] = None, + trust_store_password: Optional[pulumi.Input[str]] = None, + url: Optional[pulumi.Input[str]] = None, + user_id: Optional[pulumi.Input[str]] = None, + username: Optional[pulumi.Input[str]] = None, + vault_id: Optional[pulumi.Input[str]] = None, + wallet: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if access_key_id is not None: - pulumi.set(__self__, "access_key_id", access_key_id) + _setter("access_key_id", access_key_id) if account_key is not None: - pulumi.set(__self__, "account_key", account_key) + _setter("account_key", account_key) if account_name is not None: - pulumi.set(__self__, "account_name", account_name) + _setter("account_name", account_name) if additional_attributes is not None: - pulumi.set(__self__, "additional_attributes", additional_attributes) + _setter("additional_attributes", additional_attributes) if authentication_type is not None: - pulumi.set(__self__, "authentication_type", authentication_type) + _setter("authentication_type", authentication_type) if azure_tenant_id is not None: - pulumi.set(__self__, "azure_tenant_id", azure_tenant_id) + _setter("azure_tenant_id", azure_tenant_id) if bootstrap_servers is not None: - pulumi.set(__self__, "bootstrap_servers", bootstrap_servers) + _setter("bootstrap_servers", bootstrap_servers) if client_id is not None: - pulumi.set(__self__, "client_id", client_id) + _setter("client_id", client_id) if client_secret is not None: - pulumi.set(__self__, "client_secret", client_secret) + _setter("client_secret", client_secret) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if connection_factory is not None: - pulumi.set(__self__, "connection_factory", connection_factory) + _setter("connection_factory", connection_factory) if connection_string is not None: - pulumi.set(__self__, "connection_string", connection_string) + _setter("connection_string", connection_string) if connection_type is not None: - pulumi.set(__self__, "connection_type", connection_type) + _setter("connection_type", connection_type) if connection_url is not None: - pulumi.set(__self__, "connection_url", connection_url) + _setter("connection_url", connection_url) if consumer_properties is not None: - pulumi.set(__self__, "consumer_properties", consumer_properties) + _setter("consumer_properties", consumer_properties) if core_site_xml is not None: - pulumi.set(__self__, "core_site_xml", core_site_xml) + _setter("core_site_xml", core_site_xml) if database_id is not None: - pulumi.set(__self__, "database_id", database_id) + _setter("database_id", database_id) if database_name is not None: - pulumi.set(__self__, "database_name", database_name) + _setter("database_name", database_name) if db_system_id is not None: - pulumi.set(__self__, "db_system_id", db_system_id) + _setter("db_system_id", db_system_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if deployment_id is not None: - pulumi.set(__self__, "deployment_id", deployment_id) + _setter("deployment_id", deployment_id) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if endpoint is not None: - pulumi.set(__self__, "endpoint", endpoint) + _setter("endpoint", endpoint) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if host is not None: - pulumi.set(__self__, "host", host) + _setter("host", host) if ingress_ips is not None: - pulumi.set(__self__, "ingress_ips", ingress_ips) + _setter("ingress_ips", ingress_ips) if jndi_connection_factory is not None: - pulumi.set(__self__, "jndi_connection_factory", jndi_connection_factory) + _setter("jndi_connection_factory", jndi_connection_factory) if jndi_initial_context_factory is not None: - pulumi.set(__self__, "jndi_initial_context_factory", jndi_initial_context_factory) + _setter("jndi_initial_context_factory", jndi_initial_context_factory) if jndi_provider_url is not None: - pulumi.set(__self__, "jndi_provider_url", jndi_provider_url) + _setter("jndi_provider_url", jndi_provider_url) if jndi_security_credentials is not None: - pulumi.set(__self__, "jndi_security_credentials", jndi_security_credentials) + _setter("jndi_security_credentials", jndi_security_credentials) if jndi_security_principal is not None: - pulumi.set(__self__, "jndi_security_principal", jndi_security_principal) + _setter("jndi_security_principal", jndi_security_principal) if key_id is not None: - pulumi.set(__self__, "key_id", key_id) + _setter("key_id", key_id) if key_store is not None: - pulumi.set(__self__, "key_store", key_store) + _setter("key_store", key_store) if key_store_password is not None: - pulumi.set(__self__, "key_store_password", key_store_password) + _setter("key_store_password", key_store_password) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) if password is not None: - pulumi.set(__self__, "password", password) + _setter("password", password) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if private_ip is not None: - pulumi.set(__self__, "private_ip", private_ip) + _setter("private_ip", private_ip) if private_key_file is not None: - pulumi.set(__self__, "private_key_file", private_key_file) + _setter("private_key_file", private_key_file) if private_key_passphrase is not None: - pulumi.set(__self__, "private_key_passphrase", private_key_passphrase) + _setter("private_key_passphrase", private_key_passphrase) if producer_properties is not None: - pulumi.set(__self__, "producer_properties", producer_properties) + _setter("producer_properties", producer_properties) if public_key_fingerprint is not None: - pulumi.set(__self__, "public_key_fingerprint", public_key_fingerprint) + _setter("public_key_fingerprint", public_key_fingerprint) if region is not None: - pulumi.set(__self__, "region", region) + _setter("region", region) if sas_token is not None: - pulumi.set(__self__, "sas_token", sas_token) + _setter("sas_token", sas_token) if secret_access_key is not None: - pulumi.set(__self__, "secret_access_key", secret_access_key) + _setter("secret_access_key", secret_access_key) if security_protocol is not None: - pulumi.set(__self__, "security_protocol", security_protocol) + _setter("security_protocol", security_protocol) if session_mode is not None: - pulumi.set(__self__, "session_mode", session_mode) + _setter("session_mode", session_mode) if should_use_jndi is not None: - pulumi.set(__self__, "should_use_jndi", should_use_jndi) + _setter("should_use_jndi", should_use_jndi) if should_validate_server_certificate is not None: - pulumi.set(__self__, "should_validate_server_certificate", should_validate_server_certificate) + _setter("should_validate_server_certificate", should_validate_server_certificate) if ssl_ca is not None: - pulumi.set(__self__, "ssl_ca", ssl_ca) + _setter("ssl_ca", ssl_ca) if ssl_cert is not None: - pulumi.set(__self__, "ssl_cert", ssl_cert) + _setter("ssl_cert", ssl_cert) if ssl_crl is not None: - pulumi.set(__self__, "ssl_crl", ssl_crl) + _setter("ssl_crl", ssl_crl) if ssl_key is not None: - pulumi.set(__self__, "ssl_key", ssl_key) + _setter("ssl_key", ssl_key) if ssl_key_password is not None: - pulumi.set(__self__, "ssl_key_password", ssl_key_password) + _setter("ssl_key_password", ssl_key_password) if ssl_mode is not None: - pulumi.set(__self__, "ssl_mode", ssl_mode) + _setter("ssl_mode", ssl_mode) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if stream_pool_id is not None: - pulumi.set(__self__, "stream_pool_id", stream_pool_id) + _setter("stream_pool_id", stream_pool_id) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if technology_type is not None: - pulumi.set(__self__, "technology_type", technology_type) + _setter("technology_type", technology_type) if tenancy_id is not None: - pulumi.set(__self__, "tenancy_id", tenancy_id) + _setter("tenancy_id", tenancy_id) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if trust_store is not None: - pulumi.set(__self__, "trust_store", trust_store) + _setter("trust_store", trust_store) if trust_store_password is not None: - pulumi.set(__self__, "trust_store_password", trust_store_password) + _setter("trust_store_password", trust_store_password) if url is not None: - pulumi.set(__self__, "url", url) + _setter("url", url) if user_id is not None: - pulumi.set(__self__, "user_id", user_id) + _setter("user_id", user_id) if username is not None: - pulumi.set(__self__, "username", username) + _setter("username", username) if vault_id is not None: - pulumi.set(__self__, "vault_id", vault_id) + _setter("vault_id", vault_id) if wallet is not None: - pulumi.set(__self__, "wallet", wallet) + _setter("wallet", wallet) @property @pulumi.getter(name="accessKeyId") @@ -2603,6 +2893,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ConnectionArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/goldengate/connection_assignment.py b/sdk/python/pulumi_oci/goldengate/connection_assignment.py index 9479fff5b8..1361ff48a1 100644 --- a/sdk/python/pulumi_oci/goldengate/connection_assignment.py +++ b/sdk/python/pulumi_oci/goldengate/connection_assignment.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['ConnectionAssignmentArgs', 'ConnectionAssignment'] @@ -25,8 +25,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "connection_id", connection_id) - pulumi.set(__self__, "deployment_id", deployment_id) + ConnectionAssignmentArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + connection_id=connection_id, + deployment_id=deployment_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + connection_id: pulumi.Input[str], + deployment_id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("connection_id", connection_id) + _setter("deployment_id", deployment_id) @property @pulumi.getter(name="connectionId") @@ -81,20 +92,41 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The time the resource was created. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. :param pulumi.Input[str] time_updated: The time the resource was last updated. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. """ + _ConnectionAssignmentState._configure( + lambda key, value: pulumi.set(__self__, key, value), + alias_name=alias_name, + compartment_id=compartment_id, + connection_id=connection_id, + deployment_id=deployment_id, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + alias_name: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + connection_id: Optional[pulumi.Input[str]] = None, + deployment_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if alias_name is not None: - pulumi.set(__self__, "alias_name", alias_name) + _setter("alias_name", alias_name) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if connection_id is not None: - pulumi.set(__self__, "connection_id", connection_id) + _setter("connection_id", connection_id) if deployment_id is not None: - pulumi.set(__self__, "deployment_id", deployment_id) + _setter("deployment_id", deployment_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="aliasName") @@ -266,6 +298,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ConnectionAssignmentArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/goldengate/database_registration.py b/sdk/python/pulumi_oci/goldengate/database_registration.py index 4ec937b20a..9fc4eb63a5 100644 --- a/sdk/python/pulumi_oci/goldengate/database_registration.py +++ b/sdk/python/pulumi_oci/goldengate/database_registration.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['DatabaseRegistrationArgs', 'DatabaseRegistration'] @@ -57,36 +57,79 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "alias_name", alias_name) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "fqdn", fqdn) - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "username", username) + DatabaseRegistrationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + alias_name=alias_name, + compartment_id=compartment_id, + display_name=display_name, + fqdn=fqdn, + password=password, + username=username, + connection_string=connection_string, + database_id=database_id, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + ip_address=ip_address, + key_id=key_id, + secret_compartment_id=secret_compartment_id, + session_mode=session_mode, + subnet_id=subnet_id, + vault_id=vault_id, + wallet=wallet, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + alias_name: pulumi.Input[str], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + fqdn: pulumi.Input[str], + password: pulumi.Input[str], + username: pulumi.Input[str], + connection_string: Optional[pulumi.Input[str]] = None, + database_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + ip_address: Optional[pulumi.Input[str]] = None, + key_id: Optional[pulumi.Input[str]] = None, + secret_compartment_id: Optional[pulumi.Input[str]] = None, + session_mode: Optional[pulumi.Input[str]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + vault_id: Optional[pulumi.Input[str]] = None, + wallet: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("alias_name", alias_name) + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) + _setter("fqdn", fqdn) + _setter("password", password) + _setter("username", username) if connection_string is not None: - pulumi.set(__self__, "connection_string", connection_string) + _setter("connection_string", connection_string) if database_id is not None: - pulumi.set(__self__, "database_id", database_id) + _setter("database_id", database_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if ip_address is not None: - pulumi.set(__self__, "ip_address", ip_address) + _setter("ip_address", ip_address) if key_id is not None: - pulumi.set(__self__, "key_id", key_id) + _setter("key_id", key_id) if secret_compartment_id is not None: - pulumi.set(__self__, "secret_compartment_id", secret_compartment_id) + _setter("secret_compartment_id", secret_compartment_id) if session_mode is not None: - pulumi.set(__self__, "session_mode", session_mode) + _setter("session_mode", session_mode) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) if vault_id is not None: - pulumi.set(__self__, "vault_id", vault_id) + _setter("vault_id", vault_id) if wallet is not None: - pulumi.set(__self__, "wallet", wallet) + _setter("wallet", wallet) @property @pulumi.getter(name="aliasName") @@ -369,56 +412,113 @@ def __init__(__self__, *, ** 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 """ + _DatabaseRegistrationState._configure( + lambda key, value: pulumi.set(__self__, key, value), + alias_name=alias_name, + compartment_id=compartment_id, + connection_string=connection_string, + database_id=database_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + fqdn=fqdn, + freeform_tags=freeform_tags, + ip_address=ip_address, + key_id=key_id, + lifecycle_details=lifecycle_details, + password=password, + rce_private_ip=rce_private_ip, + secret_compartment_id=secret_compartment_id, + secret_id=secret_id, + session_mode=session_mode, + state=state, + subnet_id=subnet_id, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + username=username, + vault_id=vault_id, + wallet=wallet, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + alias_name: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + connection_string: Optional[pulumi.Input[str]] = None, + database_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + fqdn: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + ip_address: Optional[pulumi.Input[str]] = None, + key_id: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + password: Optional[pulumi.Input[str]] = None, + rce_private_ip: Optional[pulumi.Input[str]] = None, + secret_compartment_id: Optional[pulumi.Input[str]] = None, + secret_id: Optional[pulumi.Input[str]] = None, + session_mode: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + username: Optional[pulumi.Input[str]] = None, + vault_id: Optional[pulumi.Input[str]] = None, + wallet: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if alias_name is not None: - pulumi.set(__self__, "alias_name", alias_name) + _setter("alias_name", alias_name) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if connection_string is not None: - pulumi.set(__self__, "connection_string", connection_string) + _setter("connection_string", connection_string) if database_id is not None: - pulumi.set(__self__, "database_id", database_id) + _setter("database_id", database_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if fqdn is not None: - pulumi.set(__self__, "fqdn", fqdn) + _setter("fqdn", fqdn) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if ip_address is not None: - pulumi.set(__self__, "ip_address", ip_address) + _setter("ip_address", ip_address) if key_id is not None: - pulumi.set(__self__, "key_id", key_id) + _setter("key_id", key_id) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if password is not None: - pulumi.set(__self__, "password", password) + _setter("password", password) if rce_private_ip is not None: - pulumi.set(__self__, "rce_private_ip", rce_private_ip) + _setter("rce_private_ip", rce_private_ip) if secret_compartment_id is not None: - pulumi.set(__self__, "secret_compartment_id", secret_compartment_id) + _setter("secret_compartment_id", secret_compartment_id) if secret_id is not None: - pulumi.set(__self__, "secret_id", secret_id) + _setter("secret_id", secret_id) if session_mode is not None: - pulumi.set(__self__, "session_mode", session_mode) + _setter("session_mode", session_mode) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if username is not None: - pulumi.set(__self__, "username", username) + _setter("username", username) if vault_id is not None: - pulumi.set(__self__, "vault_id", vault_id) + _setter("vault_id", vault_id) if wallet is not None: - pulumi.set(__self__, "wallet", wallet) + _setter("wallet", wallet) @property @pulumi.getter(name="aliasName") @@ -880,6 +980,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DatabaseRegistrationArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/goldengate/deployment.py b/sdk/python/pulumi_oci/goldengate/deployment.py index 77696bdcde..9f9fd701ed 100644 --- a/sdk/python/pulumi_oci/goldengate/deployment.py +++ b/sdk/python/pulumi_oci/goldengate/deployment.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -53,37 +53,79 @@ def __init__(__self__, *, :param pulumi.Input['DeploymentMaintenanceWindowArgs'] maintenance_window: (Updatable) Defines the maintenance window for create operation, when automatic actions can be performed. :param pulumi.Input[Sequence[pulumi.Input[str]]] nsg_ids: (Updatable) An array of Network Security Group OCIDs used to define network access for either Deployments or Connections. :param pulumi.Input['DeploymentOggDataArgs'] ogg_data: (Updatable) Deployment Data for creating an OggDeployment - :param pulumi.Input[str] state: Possible lifecycle states. - """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "cpu_core_count", cpu_core_count) - pulumi.set(__self__, "deployment_type", deployment_type) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "is_auto_scaling_enabled", is_auto_scaling_enabled) - pulumi.set(__self__, "license_model", license_model) - pulumi.set(__self__, "subnet_id", subnet_id) + """ + DeploymentArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + cpu_core_count=cpu_core_count, + deployment_type=deployment_type, + display_name=display_name, + is_auto_scaling_enabled=is_auto_scaling_enabled, + license_model=license_model, + subnet_id=subnet_id, + defined_tags=defined_tags, + deployment_backup_id=deployment_backup_id, + description=description, + fqdn=fqdn, + freeform_tags=freeform_tags, + is_public=is_public, + maintenance_configuration=maintenance_configuration, + maintenance_window=maintenance_window, + nsg_ids=nsg_ids, + ogg_data=ogg_data, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + cpu_core_count: pulumi.Input[int], + deployment_type: pulumi.Input[str], + display_name: pulumi.Input[str], + is_auto_scaling_enabled: pulumi.Input[bool], + license_model: pulumi.Input[str], + subnet_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + deployment_backup_id: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + fqdn: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_public: Optional[pulumi.Input[bool]] = None, + maintenance_configuration: Optional[pulumi.Input['DeploymentMaintenanceConfigurationArgs']] = None, + maintenance_window: Optional[pulumi.Input['DeploymentMaintenanceWindowArgs']] = None, + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + ogg_data: Optional[pulumi.Input['DeploymentOggDataArgs']] = None, + state: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("cpu_core_count", cpu_core_count) + _setter("deployment_type", deployment_type) + _setter("display_name", display_name) + _setter("is_auto_scaling_enabled", is_auto_scaling_enabled) + _setter("license_model", license_model) + _setter("subnet_id", subnet_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if deployment_backup_id is not None: - pulumi.set(__self__, "deployment_backup_id", deployment_backup_id) + _setter("deployment_backup_id", deployment_backup_id) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if fqdn is not None: - pulumi.set(__self__, "fqdn", fqdn) + _setter("fqdn", fqdn) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_public is not None: - pulumi.set(__self__, "is_public", is_public) + _setter("is_public", is_public) if maintenance_configuration is not None: - pulumi.set(__self__, "maintenance_configuration", maintenance_configuration) + _setter("maintenance_configuration", maintenance_configuration) if maintenance_window is not None: - pulumi.set(__self__, "maintenance_window", maintenance_window) + _setter("maintenance_window", maintenance_window) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) if ogg_data is not None: - pulumi.set(__self__, "ogg_data", ogg_data) + _setter("ogg_data", ogg_data) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) @property @pulumi.getter(name="compartmentId") @@ -292,9 +334,6 @@ def ogg_data(self, value: Optional[pulumi.Input['DeploymentOggDataArgs']]): @property @pulumi.getter def state(self) -> Optional[pulumi.Input[str]]: - """ - Possible lifecycle states. - """ return pulumi.get(self, "state") @state.setter @@ -370,7 +409,6 @@ def __init__(__self__, *, :param pulumi.Input['DeploymentOggDataArgs'] ogg_data: (Updatable) Deployment Data for creating an OggDeployment :param pulumi.Input[str] private_ip_address: The private IP address in the customer's VCN representing the access point for the associated endpoint service in the GoldenGate service VCN. :param pulumi.Input[str] public_ip_address: The public IP address representing the access point for the Deployment. - :param pulumi.Input[str] state: Possible lifecycle states. :param pulumi.Input[str] storage_utilization_in_bytes: The amount of storage being utilized (in bytes) :param pulumi.Input[str] subnet_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet being referenced. :param pulumi.Input[Mapping[str, Any]] system_tags: The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{orcl-cloud: {free-tier-retain: true}}` @@ -380,78 +418,157 @@ def __init__(__self__, *, :param pulumi.Input[str] time_updated: The time the resource was last updated. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. :param pulumi.Input[str] time_upgrade_required: Note: Deprecated: Use timeOfNextMaintenance instead, or related upgrade records to check, when deployment will be forced to upgrade to a newer version. Old description: The date the existing version in use will no longer be considered as usable and an upgrade will be required. This date is typically 6 months after the version was released for use by GGS. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. """ + _DeploymentState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + cpu_core_count=cpu_core_count, + defined_tags=defined_tags, + deployment_backup_id=deployment_backup_id, + deployment_diagnostic_datas=deployment_diagnostic_datas, + deployment_type=deployment_type, + deployment_url=deployment_url, + description=description, + display_name=display_name, + fqdn=fqdn, + freeform_tags=freeform_tags, + is_auto_scaling_enabled=is_auto_scaling_enabled, + is_healthy=is_healthy, + is_latest_version=is_latest_version, + is_public=is_public, + is_storage_utilization_limit_exceeded=is_storage_utilization_limit_exceeded, + license_model=license_model, + lifecycle_details=lifecycle_details, + lifecycle_sub_state=lifecycle_sub_state, + maintenance_configuration=maintenance_configuration, + maintenance_window=maintenance_window, + next_maintenance_action_type=next_maintenance_action_type, + next_maintenance_description=next_maintenance_description, + nsg_ids=nsg_ids, + ogg_data=ogg_data, + private_ip_address=private_ip_address, + public_ip_address=public_ip_address, + state=state, + storage_utilization_in_bytes=storage_utilization_in_bytes, + subnet_id=subnet_id, + system_tags=system_tags, + time_created=time_created, + time_of_next_maintenance=time_of_next_maintenance, + time_ogg_version_supported_until=time_ogg_version_supported_until, + time_updated=time_updated, + time_upgrade_required=time_upgrade_required, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + cpu_core_count: Optional[pulumi.Input[int]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + deployment_backup_id: Optional[pulumi.Input[str]] = None, + deployment_diagnostic_datas: Optional[pulumi.Input[Sequence[pulumi.Input['DeploymentDeploymentDiagnosticDataArgs']]]] = None, + deployment_type: Optional[pulumi.Input[str]] = None, + deployment_url: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + fqdn: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_auto_scaling_enabled: Optional[pulumi.Input[bool]] = None, + is_healthy: Optional[pulumi.Input[bool]] = None, + is_latest_version: Optional[pulumi.Input[bool]] = None, + is_public: Optional[pulumi.Input[bool]] = None, + is_storage_utilization_limit_exceeded: Optional[pulumi.Input[bool]] = None, + license_model: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + lifecycle_sub_state: Optional[pulumi.Input[str]] = None, + maintenance_configuration: Optional[pulumi.Input['DeploymentMaintenanceConfigurationArgs']] = None, + maintenance_window: Optional[pulumi.Input['DeploymentMaintenanceWindowArgs']] = None, + next_maintenance_action_type: Optional[pulumi.Input[str]] = None, + next_maintenance_description: Optional[pulumi.Input[str]] = None, + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + ogg_data: Optional[pulumi.Input['DeploymentOggDataArgs']] = None, + private_ip_address: Optional[pulumi.Input[str]] = None, + public_ip_address: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + storage_utilization_in_bytes: Optional[pulumi.Input[str]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_of_next_maintenance: Optional[pulumi.Input[str]] = None, + time_ogg_version_supported_until: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + time_upgrade_required: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if cpu_core_count is not None: - pulumi.set(__self__, "cpu_core_count", cpu_core_count) + _setter("cpu_core_count", cpu_core_count) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if deployment_backup_id is not None: - pulumi.set(__self__, "deployment_backup_id", deployment_backup_id) + _setter("deployment_backup_id", deployment_backup_id) if deployment_diagnostic_datas is not None: - pulumi.set(__self__, "deployment_diagnostic_datas", deployment_diagnostic_datas) + _setter("deployment_diagnostic_datas", deployment_diagnostic_datas) if deployment_type is not None: - pulumi.set(__self__, "deployment_type", deployment_type) + _setter("deployment_type", deployment_type) if deployment_url is not None: - pulumi.set(__self__, "deployment_url", deployment_url) + _setter("deployment_url", deployment_url) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if fqdn is not None: - pulumi.set(__self__, "fqdn", fqdn) + _setter("fqdn", fqdn) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_auto_scaling_enabled is not None: - pulumi.set(__self__, "is_auto_scaling_enabled", is_auto_scaling_enabled) + _setter("is_auto_scaling_enabled", is_auto_scaling_enabled) if is_healthy is not None: - pulumi.set(__self__, "is_healthy", is_healthy) + _setter("is_healthy", is_healthy) if is_latest_version is not None: - pulumi.set(__self__, "is_latest_version", is_latest_version) + _setter("is_latest_version", is_latest_version) if is_public is not None: - pulumi.set(__self__, "is_public", is_public) + _setter("is_public", is_public) if is_storage_utilization_limit_exceeded is not None: - pulumi.set(__self__, "is_storage_utilization_limit_exceeded", is_storage_utilization_limit_exceeded) + _setter("is_storage_utilization_limit_exceeded", is_storage_utilization_limit_exceeded) if license_model is not None: - pulumi.set(__self__, "license_model", license_model) + _setter("license_model", license_model) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if lifecycle_sub_state is not None: - pulumi.set(__self__, "lifecycle_sub_state", lifecycle_sub_state) + _setter("lifecycle_sub_state", lifecycle_sub_state) if maintenance_configuration is not None: - pulumi.set(__self__, "maintenance_configuration", maintenance_configuration) + _setter("maintenance_configuration", maintenance_configuration) if maintenance_window is not None: - pulumi.set(__self__, "maintenance_window", maintenance_window) + _setter("maintenance_window", maintenance_window) if next_maintenance_action_type is not None: - pulumi.set(__self__, "next_maintenance_action_type", next_maintenance_action_type) + _setter("next_maintenance_action_type", next_maintenance_action_type) if next_maintenance_description is not None: - pulumi.set(__self__, "next_maintenance_description", next_maintenance_description) + _setter("next_maintenance_description", next_maintenance_description) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) if ogg_data is not None: - pulumi.set(__self__, "ogg_data", ogg_data) + _setter("ogg_data", ogg_data) if private_ip_address is not None: - pulumi.set(__self__, "private_ip_address", private_ip_address) + _setter("private_ip_address", private_ip_address) if public_ip_address is not None: - pulumi.set(__self__, "public_ip_address", public_ip_address) + _setter("public_ip_address", public_ip_address) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if storage_utilization_in_bytes is not None: - pulumi.set(__self__, "storage_utilization_in_bytes", storage_utilization_in_bytes) + _setter("storage_utilization_in_bytes", storage_utilization_in_bytes) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_of_next_maintenance is not None: - pulumi.set(__self__, "time_of_next_maintenance", time_of_next_maintenance) + _setter("time_of_next_maintenance", time_of_next_maintenance) if time_ogg_version_supported_until is not None: - pulumi.set(__self__, "time_ogg_version_supported_until", time_ogg_version_supported_until) + _setter("time_ogg_version_supported_until", time_ogg_version_supported_until) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if time_upgrade_required is not None: - pulumi.set(__self__, "time_upgrade_required", time_upgrade_required) + _setter("time_upgrade_required", time_upgrade_required) @property @pulumi.getter(name="compartmentId") @@ -780,9 +897,6 @@ def public_ip_address(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter def state(self) -> Optional[pulumi.Input[str]]: - """ - Possible lifecycle states. - """ return pulumi.get(self, "state") @state.setter @@ -941,7 +1055,6 @@ def __init__(__self__, :param pulumi.Input[pulumi.InputType['DeploymentMaintenanceWindowArgs']] maintenance_window: (Updatable) Defines the maintenance window for create operation, when automatic actions can be performed. :param pulumi.Input[Sequence[pulumi.Input[str]]] nsg_ids: (Updatable) An array of Network Security Group OCIDs used to define network access for either Deployments or Connections. :param pulumi.Input[pulumi.InputType['DeploymentOggDataArgs']] ogg_data: (Updatable) Deployment Data for creating an OggDeployment - :param pulumi.Input[str] state: Possible lifecycle states. :param pulumi.Input[str] subnet_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet being referenced. """ ... @@ -973,6 +1086,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DeploymentArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -1029,9 +1146,24 @@ def _internal_init(__self__, if license_model is None and not opts.urn: raise TypeError("Missing required property 'license_model'") __props__.__dict__["license_model"] = license_model + if maintenance_configuration is not None and not isinstance(maintenance_configuration, DeploymentMaintenanceConfigurationArgs): + maintenance_configuration = maintenance_configuration or {} + def _setter(key, value): + maintenance_configuration[key] = value + DeploymentMaintenanceConfigurationArgs._configure(_setter, **maintenance_configuration) __props__.__dict__["maintenance_configuration"] = maintenance_configuration + if maintenance_window is not None and not isinstance(maintenance_window, DeploymentMaintenanceWindowArgs): + maintenance_window = maintenance_window or {} + def _setter(key, value): + maintenance_window[key] = value + DeploymentMaintenanceWindowArgs._configure(_setter, **maintenance_window) __props__.__dict__["maintenance_window"] = maintenance_window __props__.__dict__["nsg_ids"] = nsg_ids + if ogg_data is not None and not isinstance(ogg_data, DeploymentOggDataArgs): + ogg_data = ogg_data or {} + def _setter(key, value): + ogg_data[key] = value + DeploymentOggDataArgs._configure(_setter, **ogg_data) __props__.__dict__["ogg_data"] = ogg_data __props__.__dict__["state"] = state if subnet_id is None and not opts.urn: @@ -1135,7 +1267,6 @@ def get(resource_name: str, :param pulumi.Input[pulumi.InputType['DeploymentOggDataArgs']] ogg_data: (Updatable) Deployment Data for creating an OggDeployment :param pulumi.Input[str] private_ip_address: The private IP address in the customer's VCN representing the access point for the associated endpoint service in the GoldenGate service VCN. :param pulumi.Input[str] public_ip_address: The public IP address representing the access point for the Deployment. - :param pulumi.Input[str] state: Possible lifecycle states. :param pulumi.Input[str] storage_utilization_in_bytes: The amount of storage being utilized (in bytes) :param pulumi.Input[str] subnet_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet being referenced. :param pulumi.Input[Mapping[str, Any]] system_tags: The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{orcl-cloud: {free-tier-retain: true}}` @@ -1406,9 +1537,6 @@ def public_ip_address(self) -> pulumi.Output[str]: @property @pulumi.getter def state(self) -> pulumi.Output[str]: - """ - Possible lifecycle states. - """ return pulumi.get(self, "state") @property diff --git a/sdk/python/pulumi_oci/goldengate/deployment_backup.py b/sdk/python/pulumi_oci/goldengate/deployment_backup.py index b5b4ead8fd..272ca10f68 100644 --- a/sdk/python/pulumi_oci/goldengate/deployment_backup.py +++ b/sdk/python/pulumi_oci/goldengate/deployment_backup.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['DeploymentBackupArgs', 'DeploymentBackup'] @@ -37,16 +37,39 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Tags defined for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) A simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "deployment_id", deployment_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "object", object) + DeploymentBackupArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + compartment_id=compartment_id, + deployment_id=deployment_id, + display_name=display_name, + namespace=namespace, + object=object, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: pulumi.Input[str], + compartment_id: pulumi.Input[str], + deployment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + namespace: pulumi.Input[str], + object: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("compartment_id", compartment_id) + _setter("deployment_id", deployment_id) + _setter("display_name", display_name) + _setter("namespace", namespace) + _setter("object", object) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter @@ -197,44 +220,89 @@ def __init__(__self__, *, :param pulumi.Input[str] time_of_backup: The time of the resource backup. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. :param pulumi.Input[str] time_updated: The time the resource was last updated. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. """ + _DeploymentBackupState._configure( + lambda key, value: pulumi.set(__self__, key, value), + backup_type=backup_type, + bucket=bucket, + compartment_id=compartment_id, + defined_tags=defined_tags, + deployment_id=deployment_id, + display_name=display_name, + freeform_tags=freeform_tags, + is_automatic=is_automatic, + lifecycle_details=lifecycle_details, + namespace=namespace, + object=object, + ogg_version=ogg_version, + size_in_bytes=size_in_bytes, + state=state, + system_tags=system_tags, + time_backup_finished=time_backup_finished, + time_created=time_created, + time_of_backup=time_of_backup, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backup_type: Optional[pulumi.Input[str]] = None, + bucket: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + deployment_id: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_automatic: Optional[pulumi.Input[bool]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + namespace: Optional[pulumi.Input[str]] = None, + object: Optional[pulumi.Input[str]] = None, + ogg_version: Optional[pulumi.Input[str]] = None, + size_in_bytes: Optional[pulumi.Input[float]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_backup_finished: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_of_backup: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if backup_type is not None: - pulumi.set(__self__, "backup_type", backup_type) + _setter("backup_type", backup_type) if bucket is not None: - pulumi.set(__self__, "bucket", bucket) + _setter("bucket", bucket) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if deployment_id is not None: - pulumi.set(__self__, "deployment_id", deployment_id) + _setter("deployment_id", deployment_id) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_automatic is not None: - pulumi.set(__self__, "is_automatic", is_automatic) + _setter("is_automatic", is_automatic) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if object is not None: - pulumi.set(__self__, "object", object) + _setter("object", object) if ogg_version is not None: - pulumi.set(__self__, "ogg_version", ogg_version) + _setter("ogg_version", ogg_version) if size_in_bytes is not None: - pulumi.set(__self__, "size_in_bytes", size_in_bytes) + _setter("size_in_bytes", size_in_bytes) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_backup_finished is not None: - pulumi.set(__self__, "time_backup_finished", time_backup_finished) + _setter("time_backup_finished", time_backup_finished) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_of_backup is not None: - pulumi.set(__self__, "time_of_backup", time_of_backup) + _setter("time_of_backup", time_of_backup) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="backupType") @@ -582,6 +650,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DeploymentBackupArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/goldengate/get_connection.py b/sdk/python/pulumi_oci/goldengate/get_connection.py index aec3a73d35..0f906facec 100644 --- a/sdk/python/pulumi_oci/goldengate/get_connection.py +++ b/sdk/python/pulumi_oci/goldengate/get_connection.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/goldengate/get_connection_assignment.py b/sdk/python/pulumi_oci/goldengate/get_connection_assignment.py index 68f180f602..817ef5682e 100644 --- a/sdk/python/pulumi_oci/goldengate/get_connection_assignment.py +++ b/sdk/python/pulumi_oci/goldengate/get_connection_assignment.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/goldengate/get_connection_assignments.py b/sdk/python/pulumi_oci/goldengate/get_connection_assignments.py index a5b3aca203..d3004f538a 100644 --- a/sdk/python/pulumi_oci/goldengate/get_connection_assignments.py +++ b/sdk/python/pulumi_oci/goldengate/get_connection_assignments.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/goldengate/get_connections.py b/sdk/python/pulumi_oci/goldengate/get_connections.py index 452cf66d4e..0a4eb1449b 100644 --- a/sdk/python/pulumi_oci/goldengate/get_connections.py +++ b/sdk/python/pulumi_oci/goldengate/get_connections.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/goldengate/get_database_registration.py b/sdk/python/pulumi_oci/goldengate/get_database_registration.py index 9bb12c2730..79bdfb6a8e 100644 --- a/sdk/python/pulumi_oci/goldengate/get_database_registration.py +++ b/sdk/python/pulumi_oci/goldengate/get_database_registration.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/goldengate/get_database_registrations.py b/sdk/python/pulumi_oci/goldengate/get_database_registrations.py index 3db8541439..3014029cad 100644 --- a/sdk/python/pulumi_oci/goldengate/get_database_registrations.py +++ b/sdk/python/pulumi_oci/goldengate/get_database_registrations.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/goldengate/get_deployment.py b/sdk/python/pulumi_oci/goldengate/get_deployment.py index d719c2ec32..3ab59e3a3b 100644 --- a/sdk/python/pulumi_oci/goldengate/get_deployment.py +++ b/sdk/python/pulumi_oci/goldengate/get_deployment.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/goldengate/get_deployment_backup.py b/sdk/python/pulumi_oci/goldengate/get_deployment_backup.py index 8827380942..662fadea79 100644 --- a/sdk/python/pulumi_oci/goldengate/get_deployment_backup.py +++ b/sdk/python/pulumi_oci/goldengate/get_deployment_backup.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/goldengate/get_deployment_backups.py b/sdk/python/pulumi_oci/goldengate/get_deployment_backups.py index ca1b8b79c2..51ff0dbe39 100644 --- a/sdk/python/pulumi_oci/goldengate/get_deployment_backups.py +++ b/sdk/python/pulumi_oci/goldengate/get_deployment_backups.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/goldengate/get_deployment_type.py b/sdk/python/pulumi_oci/goldengate/get_deployment_type.py index fd8d48fdf5..f06ef1ae77 100644 --- a/sdk/python/pulumi_oci/goldengate/get_deployment_type.py +++ b/sdk/python/pulumi_oci/goldengate/get_deployment_type.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/goldengate/get_deployment_types.py b/sdk/python/pulumi_oci/goldengate/get_deployment_types.py index 3028cff7eb..857f6bf57b 100644 --- a/sdk/python/pulumi_oci/goldengate/get_deployment_types.py +++ b/sdk/python/pulumi_oci/goldengate/get_deployment_types.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/goldengate/get_deployment_upgrade.py b/sdk/python/pulumi_oci/goldengate/get_deployment_upgrade.py index c1d4b296a6..6a1de77be4 100644 --- a/sdk/python/pulumi_oci/goldengate/get_deployment_upgrade.py +++ b/sdk/python/pulumi_oci/goldengate/get_deployment_upgrade.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/goldengate/get_deployment_upgrades.py b/sdk/python/pulumi_oci/goldengate/get_deployment_upgrades.py index d880d533a9..a2db272c57 100644 --- a/sdk/python/pulumi_oci/goldengate/get_deployment_upgrades.py +++ b/sdk/python/pulumi_oci/goldengate/get_deployment_upgrades.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/goldengate/get_deployment_versions.py b/sdk/python/pulumi_oci/goldengate/get_deployment_versions.py index 4554bdac9d..4aeb9ab800 100644 --- a/sdk/python/pulumi_oci/goldengate/get_deployment_versions.py +++ b/sdk/python/pulumi_oci/goldengate/get_deployment_versions.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/goldengate/get_deployments.py b/sdk/python/pulumi_oci/goldengate/get_deployments.py index 077ce64a6b..359e02f64e 100644 --- a/sdk/python/pulumi_oci/goldengate/get_deployments.py +++ b/sdk/python/pulumi_oci/goldengate/get_deployments.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/goldengate/get_message.py b/sdk/python/pulumi_oci/goldengate/get_message.py index 8d1af63f2c..c1b4f83aee 100644 --- a/sdk/python/pulumi_oci/goldengate/get_message.py +++ b/sdk/python/pulumi_oci/goldengate/get_message.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/goldengate/get_messages.py b/sdk/python/pulumi_oci/goldengate/get_messages.py index 7b65e12832..fc7d383162 100644 --- a/sdk/python/pulumi_oci/goldengate/get_messages.py +++ b/sdk/python/pulumi_oci/goldengate/get_messages.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/goldengate/get_trail_file.py b/sdk/python/pulumi_oci/goldengate/get_trail_file.py index 3c6509951f..d7b231f06c 100644 --- a/sdk/python/pulumi_oci/goldengate/get_trail_file.py +++ b/sdk/python/pulumi_oci/goldengate/get_trail_file.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/goldengate/get_trail_files.py b/sdk/python/pulumi_oci/goldengate/get_trail_files.py index 8387ebfec3..bd15eb083d 100644 --- a/sdk/python/pulumi_oci/goldengate/get_trail_files.py +++ b/sdk/python/pulumi_oci/goldengate/get_trail_files.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/goldengate/get_trail_sequence.py b/sdk/python/pulumi_oci/goldengate/get_trail_sequence.py index dacd500185..5b1dec0664 100644 --- a/sdk/python/pulumi_oci/goldengate/get_trail_sequence.py +++ b/sdk/python/pulumi_oci/goldengate/get_trail_sequence.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/goldengate/get_trail_sequences.py b/sdk/python/pulumi_oci/goldengate/get_trail_sequences.py index ff87cf348d..697b60ab05 100644 --- a/sdk/python/pulumi_oci/goldengate/get_trail_sequences.py +++ b/sdk/python/pulumi_oci/goldengate/get_trail_sequences.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/goldengate/outputs.py b/sdk/python/pulumi_oci/goldengate/outputs.py index 0f118f8a74..2dc60f6b5f 100644 --- a/sdk/python/pulumi_oci/goldengate/outputs.py +++ b/sdk/python/pulumi_oci/goldengate/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -80,10 +80,21 @@ def __init__(__self__, *, :param str name: (Updatable) The name of the property entry. :param str value: (Updatable) The value of the property entry. """ + ConnectionAdditionalAttribute._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -130,12 +141,25 @@ def __init__(__self__, *, :param int port: (Updatable) The port of an endpoint usually specified for a connection. :param str private_ip: (Updatable) The private IP address of the connection's endpoint in the customer's VCN, typically a database endpoint or a big data endpoint (e.g. Kafka bootstrap server). In case the privateIp is provided, the subnetId must also be provided. In case the privateIp (and the subnetId) is not provided it is assumed the datasource is publicly accessible. In case the connection is accessible only privately, the lack of privateIp will result in not being able to access the connection. """ + ConnectionBootstrapServer._configure( + lambda key, value: pulumi.set(__self__, key, value), + host=host, + port=port, + private_ip=private_ip, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host: Optional[str] = None, + port: Optional[int] = None, + private_ip: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if host is not None: - pulumi.set(__self__, "host", host) + _setter("host", host) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if private_ip is not None: - pulumi.set(__self__, "private_ip", private_ip) + _setter("private_ip", private_ip) @property @pulumi.getter @@ -186,8 +210,17 @@ def __init__(__self__, *, """ :param str ingress_ip: A Private Endpoint IPv4 or IPv6 Address created in the customer's subnet. """ + ConnectionIngressIp._configure( + lambda key, value: pulumi.set(__self__, key, value), + ingress_ip=ingress_ip, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ingress_ip: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ingress_ip is not None: - pulumi.set(__self__, "ingress_ip", ingress_ip) + _setter("ingress_ip", ingress_ip) @property @pulumi.getter(name="ingressIp") @@ -236,18 +269,37 @@ def __init__(__self__, *, :param str time_diagnostic_end: The time until which the diagnostic collection should collect the logs. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. :param str time_diagnostic_start: The time from which the diagnostic collection should collect the logs. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. """ + DeploymentDeploymentDiagnosticData._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + diagnostic_state=diagnostic_state, + namespace=namespace, + object=object, + time_diagnostic_end=time_diagnostic_end, + time_diagnostic_start=time_diagnostic_start, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: Optional[str] = None, + diagnostic_state: Optional[str] = None, + namespace: Optional[str] = None, + object: Optional[str] = None, + time_diagnostic_end: Optional[str] = None, + time_diagnostic_start: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if bucket is not None: - pulumi.set(__self__, "bucket", bucket) + _setter("bucket", bucket) if diagnostic_state is not None: - pulumi.set(__self__, "diagnostic_state", diagnostic_state) + _setter("diagnostic_state", diagnostic_state) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if object is not None: - pulumi.set(__self__, "object", object) + _setter("object", object) if time_diagnostic_end is not None: - pulumi.set(__self__, "time_diagnostic_end", time_diagnostic_end) + _setter("time_diagnostic_end", time_diagnostic_end) if time_diagnostic_start is not None: - pulumi.set(__self__, "time_diagnostic_start", time_diagnostic_start) + _setter("time_diagnostic_start", time_diagnostic_start) @property @pulumi.getter @@ -338,16 +390,33 @@ def __init__(__self__, *, :param int major_release_upgrade_period_in_days: (Updatable) Defines auto upgrade period for major releases. Manually configured period cannot be longer than service defined period for major releases. Not passing this field during create will equate to using the service default. :param int security_patch_upgrade_period_in_days: (Updatable) Defines auto upgrade period for releases with security fix. Manually configured period cannot be longer than service defined period for security releases. Not passing this field during create will equate to using the service default. """ + DeploymentMaintenanceConfiguration._configure( + lambda key, value: pulumi.set(__self__, key, value), + bundle_release_upgrade_period_in_days=bundle_release_upgrade_period_in_days, + interim_release_upgrade_period_in_days=interim_release_upgrade_period_in_days, + is_interim_release_auto_upgrade_enabled=is_interim_release_auto_upgrade_enabled, + major_release_upgrade_period_in_days=major_release_upgrade_period_in_days, + security_patch_upgrade_period_in_days=security_patch_upgrade_period_in_days, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bundle_release_upgrade_period_in_days: Optional[int] = None, + interim_release_upgrade_period_in_days: Optional[int] = None, + is_interim_release_auto_upgrade_enabled: Optional[bool] = None, + major_release_upgrade_period_in_days: Optional[int] = None, + security_patch_upgrade_period_in_days: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if bundle_release_upgrade_period_in_days is not None: - pulumi.set(__self__, "bundle_release_upgrade_period_in_days", bundle_release_upgrade_period_in_days) + _setter("bundle_release_upgrade_period_in_days", bundle_release_upgrade_period_in_days) if interim_release_upgrade_period_in_days is not None: - pulumi.set(__self__, "interim_release_upgrade_period_in_days", interim_release_upgrade_period_in_days) + _setter("interim_release_upgrade_period_in_days", interim_release_upgrade_period_in_days) if is_interim_release_auto_upgrade_enabled is not None: - pulumi.set(__self__, "is_interim_release_auto_upgrade_enabled", is_interim_release_auto_upgrade_enabled) + _setter("is_interim_release_auto_upgrade_enabled", is_interim_release_auto_upgrade_enabled) if major_release_upgrade_period_in_days is not None: - pulumi.set(__self__, "major_release_upgrade_period_in_days", major_release_upgrade_period_in_days) + _setter("major_release_upgrade_period_in_days", major_release_upgrade_period_in_days) if security_patch_upgrade_period_in_days is not None: - pulumi.set(__self__, "security_patch_upgrade_period_in_days", security_patch_upgrade_period_in_days) + _setter("security_patch_upgrade_period_in_days", security_patch_upgrade_period_in_days) @property @pulumi.getter(name="bundleReleaseUpgradePeriodInDays") @@ -416,8 +485,19 @@ def __init__(__self__, *, :param str day: (Updatable) Days of the week. :param int start_hour: (Updatable) Start hour for maintenance period. Hour is in UTC. """ - pulumi.set(__self__, "day", day) - pulumi.set(__self__, "start_hour", start_hour) + DeploymentMaintenanceWindow._configure( + lambda key, value: pulumi.set(__self__, key, value), + day=day, + start_hour=start_hour, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + day: str, + start_hour: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("day", day) + _setter("start_hour", start_hour) @property @pulumi.getter @@ -488,23 +568,48 @@ def __init__(__self__, *, :param str ogg_version: (Updatable) Version of ogg to use by deployment. By updating version you can upgrade your deployment to a newer version. Downgrade to older version is not supported. :param str password_secret_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the deployment password is stored. """ - pulumi.set(__self__, "deployment_name", deployment_name) + DeploymentOggData._configure( + lambda key, value: pulumi.set(__self__, key, value), + deployment_name=deployment_name, + admin_password=admin_password, + admin_username=admin_username, + certificate=certificate, + credential_store=credential_store, + identity_domain_id=identity_domain_id, + key=key, + ogg_version=ogg_version, + password_secret_id=password_secret_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deployment_name: str, + admin_password: Optional[str] = None, + admin_username: Optional[str] = None, + certificate: Optional[str] = None, + credential_store: Optional[str] = None, + identity_domain_id: Optional[str] = None, + key: Optional[str] = None, + ogg_version: Optional[str] = None, + password_secret_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("deployment_name", deployment_name) if admin_password is not None: - pulumi.set(__self__, "admin_password", admin_password) + _setter("admin_password", admin_password) if admin_username is not None: - pulumi.set(__self__, "admin_username", admin_username) + _setter("admin_username", admin_username) if certificate is not None: - pulumi.set(__self__, "certificate", certificate) + _setter("certificate", certificate) if credential_store is not None: - pulumi.set(__self__, "credential_store", credential_store) + _setter("credential_store", credential_store) if identity_domain_id is not None: - pulumi.set(__self__, "identity_domain_id", identity_domain_id) + _setter("identity_domain_id", identity_domain_id) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if ogg_version is not None: - pulumi.set(__self__, "ogg_version", ogg_version) + _setter("ogg_version", ogg_version) if password_secret_id is not None: - pulumi.set(__self__, "password_secret_id", password_secret_id) + _setter("password_secret_id", password_secret_id) @property @pulumi.getter(name="deploymentName") @@ -588,8 +693,19 @@ def __init__(__self__, *, :param str name: The name of the property entry. :param str value: The value of the property entry. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + GetConnectionAdditionalAttributeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("value", value) @property @pulumi.getter @@ -612,7 +728,16 @@ def value(self) -> str: class GetConnectionAssignmentsConnectionAssignmentCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetConnectionAssignmentsConnectionAssignmentCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetConnectionAssignmentsConnectionAssignmentCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetConnectionAssignmentsConnectionAssignmentCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -641,14 +766,37 @@ def __init__(__self__, *, :param str time_created: The time the resource was created. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. :param str time_updated: The time the resource was last updated. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. """ - pulumi.set(__self__, "alias_name", alias_name) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "connection_id", connection_id) - pulumi.set(__self__, "deployment_id", deployment_id) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetConnectionAssignmentsConnectionAssignmentCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + alias_name=alias_name, + compartment_id=compartment_id, + connection_id=connection_id, + deployment_id=deployment_id, + id=id, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + alias_name: str, + compartment_id: str, + connection_id: str, + deployment_id: str, + id: str, + state: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("alias_name", alias_name) + _setter("compartment_id", compartment_id) + _setter("connection_id", connection_id) + _setter("deployment_id", deployment_id) + _setter("id", id) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="aliasName") @@ -724,10 +872,23 @@ def __init__(__self__, *, """ :param str name: The name of the connection in the assignment (aliasName). """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetConnectionAssignmentsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -759,9 +920,22 @@ def __init__(__self__, *, :param int port: The port of an endpoint usually specified for a connection. :param str private_ip: The private IP address of the connection's endpoint in the customer's VCN, typically a database endpoint or a big data endpoint (e.g. Kafka bootstrap server). In case the privateIp is provided, the subnetId must also be provided. In case the privateIp (and the subnetId) is not provided it is assumed the datasource is publicly accessible. In case the connection is accessible only privately, the lack of privateIp will result in not being able to access the connection. """ - pulumi.set(__self__, "host", host) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "private_ip", private_ip) + GetConnectionBootstrapServerResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + host=host, + port=port, + private_ip=private_ip, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host: str, + port: int, + private_ip: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("host", host) + _setter("port", port) + _setter("private_ip", private_ip) @property @pulumi.getter @@ -795,7 +969,16 @@ def __init__(__self__, *, """ :param str ingress_ip: A Private Endpoint IPv4 or IPv6 Address created in the customer's subnet. """ - pulumi.set(__self__, "ingress_ip", ingress_ip) + GetConnectionIngressIpResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ingress_ip=ingress_ip, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ingress_ip: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ingress_ip", ingress_ip) @property @pulumi.getter(name="ingressIp") @@ -810,7 +993,16 @@ def ingress_ip(self) -> str: class GetConnectionsConnectionCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetConnectionsConnectionCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetConnectionsConnectionCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetConnectionsConnectionCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -948,79 +1140,232 @@ def __init__(__self__, *, :param str username: The username Oracle GoldenGate uses to connect the associated system of the given technology. This username must already exist and be available by the system/application to be connected to and must conform to the case sensitivity requirements defined in it. :param str vault_id: Refers to the customer's vault OCID. If provided, it references a vault where GoldenGate can manage secrets. Customers must add policies to permit GoldenGate to manage secrets contained within this vault. """ - pulumi.set(__self__, "access_key_id", access_key_id) - pulumi.set(__self__, "account_key", account_key) - pulumi.set(__self__, "account_name", account_name) - pulumi.set(__self__, "additional_attributes", additional_attributes) - pulumi.set(__self__, "authentication_type", authentication_type) - pulumi.set(__self__, "azure_tenant_id", azure_tenant_id) - pulumi.set(__self__, "bootstrap_servers", bootstrap_servers) - pulumi.set(__self__, "client_id", client_id) - pulumi.set(__self__, "client_secret", client_secret) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "connection_factory", connection_factory) - pulumi.set(__self__, "connection_string", connection_string) - pulumi.set(__self__, "connection_type", connection_type) - pulumi.set(__self__, "connection_url", connection_url) - pulumi.set(__self__, "consumer_properties", consumer_properties) - pulumi.set(__self__, "core_site_xml", core_site_xml) - pulumi.set(__self__, "database_id", database_id) - pulumi.set(__self__, "database_name", database_name) - pulumi.set(__self__, "db_system_id", db_system_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "deployment_id", deployment_id) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "endpoint", endpoint) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "host", host) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "ingress_ips", ingress_ips) - pulumi.set(__self__, "jndi_connection_factory", jndi_connection_factory) - pulumi.set(__self__, "jndi_initial_context_factory", jndi_initial_context_factory) - pulumi.set(__self__, "jndi_provider_url", jndi_provider_url) - pulumi.set(__self__, "jndi_security_credentials", jndi_security_credentials) - pulumi.set(__self__, "jndi_security_principal", jndi_security_principal) - pulumi.set(__self__, "key_id", key_id) - pulumi.set(__self__, "key_store", key_store) - pulumi.set(__self__, "key_store_password", key_store_password) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "nsg_ids", nsg_ids) - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "private_ip", private_ip) - pulumi.set(__self__, "private_key_file", private_key_file) - pulumi.set(__self__, "private_key_passphrase", private_key_passphrase) - pulumi.set(__self__, "producer_properties", producer_properties) - pulumi.set(__self__, "public_key_fingerprint", public_key_fingerprint) - pulumi.set(__self__, "region", region) - pulumi.set(__self__, "sas_token", sas_token) - pulumi.set(__self__, "secret_access_key", secret_access_key) - pulumi.set(__self__, "security_protocol", security_protocol) - pulumi.set(__self__, "session_mode", session_mode) - pulumi.set(__self__, "should_use_jndi", should_use_jndi) - pulumi.set(__self__, "should_validate_server_certificate", should_validate_server_certificate) - pulumi.set(__self__, "ssl_ca", ssl_ca) - pulumi.set(__self__, "ssl_cert", ssl_cert) - pulumi.set(__self__, "ssl_crl", ssl_crl) - pulumi.set(__self__, "ssl_key", ssl_key) - pulumi.set(__self__, "ssl_key_password", ssl_key_password) - pulumi.set(__self__, "ssl_mode", ssl_mode) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "stream_pool_id", stream_pool_id) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "technology_type", technology_type) - pulumi.set(__self__, "tenancy_id", tenancy_id) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "trust_store", trust_store) - pulumi.set(__self__, "trust_store_password", trust_store_password) - pulumi.set(__self__, "url", url) - pulumi.set(__self__, "user_id", user_id) - pulumi.set(__self__, "username", username) - pulumi.set(__self__, "vault_id", vault_id) - pulumi.set(__self__, "wallet", wallet) + GetConnectionsConnectionCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + access_key_id=access_key_id, + account_key=account_key, + account_name=account_name, + additional_attributes=additional_attributes, + authentication_type=authentication_type, + azure_tenant_id=azure_tenant_id, + bootstrap_servers=bootstrap_servers, + client_id=client_id, + client_secret=client_secret, + compartment_id=compartment_id, + connection_factory=connection_factory, + connection_string=connection_string, + connection_type=connection_type, + connection_url=connection_url, + consumer_properties=consumer_properties, + core_site_xml=core_site_xml, + database_id=database_id, + database_name=database_name, + db_system_id=db_system_id, + defined_tags=defined_tags, + deployment_id=deployment_id, + description=description, + display_name=display_name, + endpoint=endpoint, + freeform_tags=freeform_tags, + host=host, + id=id, + ingress_ips=ingress_ips, + jndi_connection_factory=jndi_connection_factory, + jndi_initial_context_factory=jndi_initial_context_factory, + jndi_provider_url=jndi_provider_url, + jndi_security_credentials=jndi_security_credentials, + jndi_security_principal=jndi_security_principal, + key_id=key_id, + key_store=key_store, + key_store_password=key_store_password, + lifecycle_details=lifecycle_details, + nsg_ids=nsg_ids, + password=password, + port=port, + private_ip=private_ip, + private_key_file=private_key_file, + private_key_passphrase=private_key_passphrase, + producer_properties=producer_properties, + public_key_fingerprint=public_key_fingerprint, + region=region, + sas_token=sas_token, + secret_access_key=secret_access_key, + security_protocol=security_protocol, + session_mode=session_mode, + should_use_jndi=should_use_jndi, + should_validate_server_certificate=should_validate_server_certificate, + ssl_ca=ssl_ca, + ssl_cert=ssl_cert, + ssl_crl=ssl_crl, + ssl_key=ssl_key, + ssl_key_password=ssl_key_password, + ssl_mode=ssl_mode, + state=state, + stream_pool_id=stream_pool_id, + subnet_id=subnet_id, + system_tags=system_tags, + technology_type=technology_type, + tenancy_id=tenancy_id, + time_created=time_created, + time_updated=time_updated, + trust_store=trust_store, + trust_store_password=trust_store_password, + url=url, + user_id=user_id, + username=username, + vault_id=vault_id, + wallet=wallet, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access_key_id: str, + account_key: str, + account_name: str, + additional_attributes: Sequence['outputs.GetConnectionsConnectionCollectionItemAdditionalAttributeResult'], + authentication_type: str, + azure_tenant_id: str, + bootstrap_servers: Sequence['outputs.GetConnectionsConnectionCollectionItemBootstrapServerResult'], + client_id: str, + client_secret: str, + compartment_id: str, + connection_factory: str, + connection_string: str, + connection_type: str, + connection_url: str, + consumer_properties: str, + core_site_xml: str, + database_id: str, + database_name: str, + db_system_id: str, + defined_tags: Mapping[str, Any], + deployment_id: str, + description: str, + display_name: str, + endpoint: str, + freeform_tags: Mapping[str, Any], + host: str, + id: str, + ingress_ips: Sequence['outputs.GetConnectionsConnectionCollectionItemIngressIpResult'], + jndi_connection_factory: str, + jndi_initial_context_factory: str, + jndi_provider_url: str, + jndi_security_credentials: str, + jndi_security_principal: str, + key_id: str, + key_store: str, + key_store_password: str, + lifecycle_details: str, + nsg_ids: Sequence[str], + password: str, + port: int, + private_ip: str, + private_key_file: str, + private_key_passphrase: str, + producer_properties: str, + public_key_fingerprint: str, + region: str, + sas_token: str, + secret_access_key: str, + security_protocol: str, + session_mode: str, + should_use_jndi: bool, + should_validate_server_certificate: bool, + ssl_ca: str, + ssl_cert: str, + ssl_crl: str, + ssl_key: str, + ssl_key_password: str, + ssl_mode: str, + state: str, + stream_pool_id: str, + subnet_id: str, + system_tags: Mapping[str, Any], + technology_type: str, + tenancy_id: str, + time_created: str, + time_updated: str, + trust_store: str, + trust_store_password: str, + url: str, + user_id: str, + username: str, + vault_id: str, + wallet: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("access_key_id", access_key_id) + _setter("account_key", account_key) + _setter("account_name", account_name) + _setter("additional_attributes", additional_attributes) + _setter("authentication_type", authentication_type) + _setter("azure_tenant_id", azure_tenant_id) + _setter("bootstrap_servers", bootstrap_servers) + _setter("client_id", client_id) + _setter("client_secret", client_secret) + _setter("compartment_id", compartment_id) + _setter("connection_factory", connection_factory) + _setter("connection_string", connection_string) + _setter("connection_type", connection_type) + _setter("connection_url", connection_url) + _setter("consumer_properties", consumer_properties) + _setter("core_site_xml", core_site_xml) + _setter("database_id", database_id) + _setter("database_name", database_name) + _setter("db_system_id", db_system_id) + _setter("defined_tags", defined_tags) + _setter("deployment_id", deployment_id) + _setter("description", description) + _setter("display_name", display_name) + _setter("endpoint", endpoint) + _setter("freeform_tags", freeform_tags) + _setter("host", host) + _setter("id", id) + _setter("ingress_ips", ingress_ips) + _setter("jndi_connection_factory", jndi_connection_factory) + _setter("jndi_initial_context_factory", jndi_initial_context_factory) + _setter("jndi_provider_url", jndi_provider_url) + _setter("jndi_security_credentials", jndi_security_credentials) + _setter("jndi_security_principal", jndi_security_principal) + _setter("key_id", key_id) + _setter("key_store", key_store) + _setter("key_store_password", key_store_password) + _setter("lifecycle_details", lifecycle_details) + _setter("nsg_ids", nsg_ids) + _setter("password", password) + _setter("port", port) + _setter("private_ip", private_ip) + _setter("private_key_file", private_key_file) + _setter("private_key_passphrase", private_key_passphrase) + _setter("producer_properties", producer_properties) + _setter("public_key_fingerprint", public_key_fingerprint) + _setter("region", region) + _setter("sas_token", sas_token) + _setter("secret_access_key", secret_access_key) + _setter("security_protocol", security_protocol) + _setter("session_mode", session_mode) + _setter("should_use_jndi", should_use_jndi) + _setter("should_validate_server_certificate", should_validate_server_certificate) + _setter("ssl_ca", ssl_ca) + _setter("ssl_cert", ssl_cert) + _setter("ssl_crl", ssl_crl) + _setter("ssl_key", ssl_key) + _setter("ssl_key_password", ssl_key_password) + _setter("ssl_mode", ssl_mode) + _setter("state", state) + _setter("stream_pool_id", stream_pool_id) + _setter("subnet_id", subnet_id) + _setter("system_tags", system_tags) + _setter("technology_type", technology_type) + _setter("tenancy_id", tenancy_id) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("trust_store", trust_store) + _setter("trust_store_password", trust_store_password) + _setter("url", url) + _setter("user_id", user_id) + _setter("username", username) + _setter("vault_id", vault_id) + _setter("wallet", wallet) @property @pulumi.getter(name="accessKeyId") @@ -1553,8 +1898,19 @@ def __init__(__self__, *, :param str name: The name of the property entry. :param str value: The value of the property entry. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + GetConnectionsConnectionCollectionItemAdditionalAttributeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("value", value) @property @pulumi.getter @@ -1584,9 +1940,22 @@ def __init__(__self__, *, :param int port: The port of an endpoint usually specified for a connection. :param str private_ip: The private IP address of the connection's endpoint in the customer's VCN, typically a database endpoint or a big data endpoint (e.g. Kafka bootstrap server). In case the privateIp is provided, the subnetId must also be provided. In case the privateIp (and the subnetId) is not provided it is assumed the datasource is publicly accessible. In case the connection is accessible only privately, the lack of privateIp will result in not being able to access the connection. """ - pulumi.set(__self__, "host", host) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "private_ip", private_ip) + GetConnectionsConnectionCollectionItemBootstrapServerResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + host=host, + port=port, + private_ip=private_ip, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host: str, + port: int, + private_ip: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("host", host) + _setter("port", port) + _setter("private_ip", private_ip) @property @pulumi.getter @@ -1620,7 +1989,16 @@ def __init__(__self__, *, """ :param str ingress_ip: A Private Endpoint IPv4 or IPv6 Address created in the customer's subnet. """ - pulumi.set(__self__, "ingress_ip", ingress_ip) + GetConnectionsConnectionCollectionItemIngressIpResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ingress_ip=ingress_ip, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ingress_ip: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ingress_ip", ingress_ip) @property @pulumi.getter(name="ingressIp") @@ -1640,10 +2018,23 @@ def __init__(__self__, *, """ :param str name: The name of the property entry. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetConnectionsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1668,7 +2059,16 @@ def regex(self) -> Optional[bool]: class GetDatabaseRegistrationsDatabaseRegistrationCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetDatabaseRegistrationsDatabaseRegistrationCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetDatabaseRegistrationsDatabaseRegistrationCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDatabaseRegistrationsDatabaseRegistrationCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1731,32 +2131,91 @@ def __init__(__self__, *, :param str username: The username Oracle GoldenGate uses to connect the associated system of the given technology. This username must already exist and be available by the system/application to be connected to and must conform to the case sensitivty requirments defined in it. :param str vault_id: Refers to the customer's vault OCID. If provided, it references a vault where GoldenGate can manage secrets. Customers must add policies to permit GoldenGate to manage secrets contained within this vault. """ - pulumi.set(__self__, "alias_name", alias_name) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "connection_string", connection_string) - pulumi.set(__self__, "database_id", database_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "fqdn", fqdn) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "ip_address", ip_address) - pulumi.set(__self__, "key_id", key_id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "rce_private_ip", rce_private_ip) - pulumi.set(__self__, "secret_compartment_id", secret_compartment_id) - pulumi.set(__self__, "secret_id", secret_id) - pulumi.set(__self__, "session_mode", session_mode) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "username", username) - pulumi.set(__self__, "vault_id", vault_id) - pulumi.set(__self__, "wallet", wallet) + GetDatabaseRegistrationsDatabaseRegistrationCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + alias_name=alias_name, + compartment_id=compartment_id, + connection_string=connection_string, + database_id=database_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + fqdn=fqdn, + freeform_tags=freeform_tags, + id=id, + ip_address=ip_address, + key_id=key_id, + lifecycle_details=lifecycle_details, + password=password, + rce_private_ip=rce_private_ip, + secret_compartment_id=secret_compartment_id, + secret_id=secret_id, + session_mode=session_mode, + state=state, + subnet_id=subnet_id, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + username=username, + vault_id=vault_id, + wallet=wallet, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + alias_name: str, + compartment_id: str, + connection_string: str, + database_id: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + fqdn: str, + freeform_tags: Mapping[str, Any], + id: str, + ip_address: str, + key_id: str, + lifecycle_details: str, + password: str, + rce_private_ip: str, + secret_compartment_id: str, + secret_id: str, + session_mode: str, + state: str, + subnet_id: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + username: str, + vault_id: str, + wallet: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("alias_name", alias_name) + _setter("compartment_id", compartment_id) + _setter("connection_string", connection_string) + _setter("database_id", database_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("fqdn", fqdn) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("ip_address", ip_address) + _setter("key_id", key_id) + _setter("lifecycle_details", lifecycle_details) + _setter("password", password) + _setter("rce_private_ip", rce_private_ip) + _setter("secret_compartment_id", secret_compartment_id) + _setter("secret_id", secret_id) + _setter("session_mode", session_mode) + _setter("state", state) + _setter("subnet_id", subnet_id) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("username", username) + _setter("vault_id", vault_id) + _setter("wallet", wallet) @property @pulumi.getter(name="aliasName") @@ -1967,10 +2426,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDatabaseRegistrationsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1992,7 +2464,16 @@ def regex(self) -> Optional[bool]: class GetDeploymentBackupsDeploymentBackupCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetDeploymentBackupsDeploymentBackupCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetDeploymentBackupsDeploymentBackupCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeploymentBackupsDeploymentBackupCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -2045,26 +2526,73 @@ def __init__(__self__, *, :param str time_of_backup: The time of the resource backup. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. :param str time_updated: The time the resource was last updated. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. """ - pulumi.set(__self__, "backup_type", backup_type) - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "deployment_id", deployment_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_automatic", is_automatic) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "object", object) - pulumi.set(__self__, "ogg_version", ogg_version) - pulumi.set(__self__, "size_in_bytes", size_in_bytes) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_backup_finished", time_backup_finished) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_of_backup", time_of_backup) - pulumi.set(__self__, "time_updated", time_updated) + GetDeploymentBackupsDeploymentBackupCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + backup_type=backup_type, + bucket=bucket, + compartment_id=compartment_id, + defined_tags=defined_tags, + deployment_id=deployment_id, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + is_automatic=is_automatic, + lifecycle_details=lifecycle_details, + namespace=namespace, + object=object, + ogg_version=ogg_version, + size_in_bytes=size_in_bytes, + state=state, + system_tags=system_tags, + time_backup_finished=time_backup_finished, + time_created=time_created, + time_of_backup=time_of_backup, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backup_type: str, + bucket: str, + compartment_id: str, + defined_tags: Mapping[str, Any], + deployment_id: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + is_automatic: bool, + lifecycle_details: str, + namespace: str, + object: str, + ogg_version: str, + size_in_bytes: float, + state: str, + system_tags: Mapping[str, Any], + time_backup_finished: str, + time_created: str, + time_of_backup: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("backup_type", backup_type) + _setter("bucket", bucket) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("deployment_id", deployment_id) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_automatic", is_automatic) + _setter("lifecycle_details", lifecycle_details) + _setter("namespace", namespace) + _setter("object", object) + _setter("ogg_version", ogg_version) + _setter("size_in_bytes", size_in_bytes) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_backup_finished", time_backup_finished) + _setter("time_created", time_created) + _setter("time_of_backup", time_of_backup) + _setter("time_updated", time_updated) @property @pulumi.getter(name="backupType") @@ -2233,10 +2761,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDeploymentBackupsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2271,12 +2812,31 @@ def __init__(__self__, *, :param str time_diagnostic_end: The time until which the diagnostic collection should collect the logs. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. :param str time_diagnostic_start: The time from which the diagnostic collection should collect the logs. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "diagnostic_state", diagnostic_state) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "object", object) - pulumi.set(__self__, "time_diagnostic_end", time_diagnostic_end) - pulumi.set(__self__, "time_diagnostic_start", time_diagnostic_start) + GetDeploymentDeploymentDiagnosticDataResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + diagnostic_state=diagnostic_state, + namespace=namespace, + object=object, + time_diagnostic_end=time_diagnostic_end, + time_diagnostic_start=time_diagnostic_start, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + diagnostic_state: str, + namespace: str, + object: str, + time_diagnostic_end: str, + time_diagnostic_start: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("diagnostic_state", diagnostic_state) + _setter("namespace", namespace) + _setter("object", object) + _setter("time_diagnostic_end", time_diagnostic_end) + _setter("time_diagnostic_start", time_diagnostic_start) @property @pulumi.getter @@ -2342,11 +2902,28 @@ def __init__(__self__, *, :param int major_release_upgrade_period_in_days: Defines auto upgrade period for major releases. Manually configured period cannot be longer than service defined period for major releases. Not passing this field during create will equate to using the service default. :param int security_patch_upgrade_period_in_days: Defines auto upgrade period for releases with security fix. Manually configured period cannot be longer than service defined period for security releases. Not passing this field during create will equate to using the service default. """ - pulumi.set(__self__, "bundle_release_upgrade_period_in_days", bundle_release_upgrade_period_in_days) - pulumi.set(__self__, "interim_release_upgrade_period_in_days", interim_release_upgrade_period_in_days) - pulumi.set(__self__, "is_interim_release_auto_upgrade_enabled", is_interim_release_auto_upgrade_enabled) - pulumi.set(__self__, "major_release_upgrade_period_in_days", major_release_upgrade_period_in_days) - pulumi.set(__self__, "security_patch_upgrade_period_in_days", security_patch_upgrade_period_in_days) + GetDeploymentMaintenanceConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bundle_release_upgrade_period_in_days=bundle_release_upgrade_period_in_days, + interim_release_upgrade_period_in_days=interim_release_upgrade_period_in_days, + is_interim_release_auto_upgrade_enabled=is_interim_release_auto_upgrade_enabled, + major_release_upgrade_period_in_days=major_release_upgrade_period_in_days, + security_patch_upgrade_period_in_days=security_patch_upgrade_period_in_days, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bundle_release_upgrade_period_in_days: int, + interim_release_upgrade_period_in_days: int, + is_interim_release_auto_upgrade_enabled: bool, + major_release_upgrade_period_in_days: int, + security_patch_upgrade_period_in_days: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bundle_release_upgrade_period_in_days", bundle_release_upgrade_period_in_days) + _setter("interim_release_upgrade_period_in_days", interim_release_upgrade_period_in_days) + _setter("is_interim_release_auto_upgrade_enabled", is_interim_release_auto_upgrade_enabled) + _setter("major_release_upgrade_period_in_days", major_release_upgrade_period_in_days) + _setter("security_patch_upgrade_period_in_days", security_patch_upgrade_period_in_days) @property @pulumi.getter(name="bundleReleaseUpgradePeriodInDays") @@ -2398,8 +2975,19 @@ def __init__(__self__, *, :param str day: Days of the week. :param int start_hour: Start hour for maintenance period. Hour is in UTC. """ - pulumi.set(__self__, "day", day) - pulumi.set(__self__, "start_hour", start_hour) + GetDeploymentMaintenanceWindowResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + day=day, + start_hour=start_hour, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + day: str, + start_hour: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("day", day) + _setter("start_hour", start_hour) @property @pulumi.getter @@ -2439,15 +3027,40 @@ def __init__(__self__, *, :param str ogg_version: Version of OGG :param str password_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the deployment password is stored. """ - pulumi.set(__self__, "admin_password", admin_password) - pulumi.set(__self__, "admin_username", admin_username) - pulumi.set(__self__, "certificate", certificate) - pulumi.set(__self__, "credential_store", credential_store) - pulumi.set(__self__, "deployment_name", deployment_name) - pulumi.set(__self__, "identity_domain_id", identity_domain_id) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "ogg_version", ogg_version) - pulumi.set(__self__, "password_secret_id", password_secret_id) + GetDeploymentOggDataResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + admin_password=admin_password, + admin_username=admin_username, + certificate=certificate, + credential_store=credential_store, + deployment_name=deployment_name, + identity_domain_id=identity_domain_id, + key=key, + ogg_version=ogg_version, + password_secret_id=password_secret_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + admin_password: str, + admin_username: str, + certificate: str, + credential_store: str, + deployment_name: str, + identity_domain_id: str, + key: str, + ogg_version: str, + password_secret_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("admin_password", admin_password) + _setter("admin_username", admin_username) + _setter("certificate", certificate) + _setter("credential_store", credential_store) + _setter("deployment_name", deployment_name) + _setter("identity_domain_id", identity_domain_id) + _setter("key", key) + _setter("ogg_version", ogg_version) + _setter("password_secret_id", password_secret_id) @property @pulumi.getter(name="adminPassword") @@ -2533,12 +3146,31 @@ def __init__(__self__, *, :param Sequence[str] source_technologies: List of the supported technologies generally. The value is a freeform text string generally consisting of a description of the technology and optionally the speific version(s) support. For example, [ "Oracle Database 19c", "Oracle Exadata", "OCI Streaming" ] :param Sequence[str] target_technologies: List of the supported technologies generally. The value is a freeform text string generally consisting of a description of the technology and optionally the speific version(s) support. For example, [ "Oracle Database 19c", "Oracle Exadata", "OCI Streaming" ] """ - pulumi.set(__self__, "category", category) - pulumi.set(__self__, "connection_types", connection_types) - pulumi.set(__self__, "deployment_type", deployment_type) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "source_technologies", source_technologies) - pulumi.set(__self__, "target_technologies", target_technologies) + GetDeploymentTypeItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + category=category, + connection_types=connection_types, + deployment_type=deployment_type, + display_name=display_name, + source_technologies=source_technologies, + target_technologies=target_technologies, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + category: str, + connection_types: Sequence[str], + deployment_type: str, + display_name: str, + source_technologies: Sequence[str], + target_technologies: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("category", category) + _setter("connection_types", connection_types) + _setter("deployment_type", deployment_type) + _setter("display_name", display_name) + _setter("source_technologies", source_technologies) + _setter("target_technologies", target_technologies) @property @pulumi.getter @@ -2596,7 +3228,16 @@ def __init__(__self__, *, """ :param Sequence['GetDeploymentTypesDeploymentTypeCollectionItemArgs'] items: Array of DeploymentTypeSummary """ - pulumi.set(__self__, "items", items) + GetDeploymentTypesDeploymentTypeCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeploymentTypesDeploymentTypeCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -2626,13 +3267,34 @@ def __init__(__self__, *, :param Sequence[str] source_technologies: List of the supported technologies generally. The value is a freeform text string generally consisting of a description of the technology and optionally the speific version(s) support. For example, [ "Oracle Database 19c", "Oracle Exadata", "OCI Streaming" ] :param Sequence[str] target_technologies: List of the supported technologies generally. The value is a freeform text string generally consisting of a description of the technology and optionally the speific version(s) support. For example, [ "Oracle Database 19c", "Oracle Exadata", "OCI Streaming" ] """ - pulumi.set(__self__, "category", category) - pulumi.set(__self__, "connection_types", connection_types) - pulumi.set(__self__, "deployment_type", deployment_type) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "ogg_version", ogg_version) - pulumi.set(__self__, "source_technologies", source_technologies) - pulumi.set(__self__, "target_technologies", target_technologies) + GetDeploymentTypesDeploymentTypeCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + category=category, + connection_types=connection_types, + deployment_type=deployment_type, + display_name=display_name, + ogg_version=ogg_version, + source_technologies=source_technologies, + target_technologies=target_technologies, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + category: str, + connection_types: Sequence[str], + deployment_type: str, + display_name: str, + ogg_version: str, + source_technologies: Sequence[str], + target_technologies: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("category", category) + _setter("connection_types", connection_types) + _setter("deployment_type", deployment_type) + _setter("display_name", display_name) + _setter("ogg_version", ogg_version) + _setter("source_technologies", source_technologies) + _setter("target_technologies", target_technologies) @property @pulumi.getter @@ -2697,10 +3359,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDeploymentTypesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2722,7 +3397,16 @@ def regex(self) -> Optional[bool]: class GetDeploymentUpgradesDeploymentUpgradeCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetDeploymentUpgradesDeploymentUpgradeCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetDeploymentUpgradesDeploymentUpgradeCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeploymentUpgradesDeploymentUpgradeCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -2795,35 +3479,100 @@ def __init__(__self__, *, :param str time_started: The date and time the request was started. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. :param str time_updated: The time the resource was last updated. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "deployment_id", deployment_id) - pulumi.set(__self__, "deployment_upgrade_type", deployment_upgrade_type) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_cancel_allowed", is_cancel_allowed) - pulumi.set(__self__, "is_reschedule_allowed", is_reschedule_allowed) - pulumi.set(__self__, "is_rollback_allowed", is_rollback_allowed) - pulumi.set(__self__, "is_security_fix", is_security_fix) - pulumi.set(__self__, "is_snoozed", is_snoozed) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "lifecycle_sub_state", lifecycle_sub_state) - pulumi.set(__self__, "ogg_version", ogg_version) - pulumi.set(__self__, "previous_ogg_version", previous_ogg_version) - pulumi.set(__self__, "release_type", release_type) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_finished", time_finished) - pulumi.set(__self__, "time_ogg_version_supported_until", time_ogg_version_supported_until) - pulumi.set(__self__, "time_released", time_released) - pulumi.set(__self__, "time_schedule", time_schedule) - pulumi.set(__self__, "time_schedule_max", time_schedule_max) - pulumi.set(__self__, "time_snoozed_until", time_snoozed_until) - pulumi.set(__self__, "time_started", time_started) - pulumi.set(__self__, "time_updated", time_updated) + GetDeploymentUpgradesDeploymentUpgradeCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + deployment_id=deployment_id, + deployment_upgrade_type=deployment_upgrade_type, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + is_cancel_allowed=is_cancel_allowed, + is_reschedule_allowed=is_reschedule_allowed, + is_rollback_allowed=is_rollback_allowed, + is_security_fix=is_security_fix, + is_snoozed=is_snoozed, + lifecycle_details=lifecycle_details, + lifecycle_sub_state=lifecycle_sub_state, + ogg_version=ogg_version, + previous_ogg_version=previous_ogg_version, + release_type=release_type, + state=state, + system_tags=system_tags, + time_created=time_created, + time_finished=time_finished, + time_ogg_version_supported_until=time_ogg_version_supported_until, + time_released=time_released, + time_schedule=time_schedule, + time_schedule_max=time_schedule_max, + time_snoozed_until=time_snoozed_until, + time_started=time_started, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + deployment_id: str, + deployment_upgrade_type: str, + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + is_cancel_allowed: bool, + is_reschedule_allowed: bool, + is_rollback_allowed: bool, + is_security_fix: bool, + is_snoozed: bool, + lifecycle_details: str, + lifecycle_sub_state: str, + ogg_version: str, + previous_ogg_version: str, + release_type: str, + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_finished: str, + time_ogg_version_supported_until: str, + time_released: str, + time_schedule: str, + time_schedule_max: str, + time_snoozed_until: str, + time_started: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("deployment_id", deployment_id) + _setter("deployment_upgrade_type", deployment_upgrade_type) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_cancel_allowed", is_cancel_allowed) + _setter("is_reschedule_allowed", is_reschedule_allowed) + _setter("is_rollback_allowed", is_rollback_allowed) + _setter("is_security_fix", is_security_fix) + _setter("is_snoozed", is_snoozed) + _setter("lifecycle_details", lifecycle_details) + _setter("lifecycle_sub_state", lifecycle_sub_state) + _setter("ogg_version", ogg_version) + _setter("previous_ogg_version", previous_ogg_version) + _setter("release_type", release_type) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_finished", time_finished) + _setter("time_ogg_version_supported_until", time_ogg_version_supported_until) + _setter("time_released", time_released) + _setter("time_schedule", time_schedule) + _setter("time_schedule_max", time_schedule_max) + _setter("time_snoozed_until", time_snoozed_until) + _setter("time_started", time_started) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -3066,10 +3815,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDeploymentUpgradesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3094,7 +3856,16 @@ def __init__(__self__, *, """ :param Sequence['GetDeploymentVersionsDeploymentVersionCollectionItemArgs'] items: Array of DeploymentVersionSummary. """ - pulumi.set(__self__, "items", items) + GetDeploymentVersionsDeploymentVersionCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeploymentVersionsDeploymentVersionCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -3122,12 +3893,31 @@ def __init__(__self__, *, :param str time_released: The time the resource was released. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. :param str time_supported_until: The time until OGG version is supported. After this date has passed OGG version will not be available anymore. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. """ - pulumi.set(__self__, "deployment_type", deployment_type) - pulumi.set(__self__, "is_security_fix", is_security_fix) - pulumi.set(__self__, "ogg_version", ogg_version) - pulumi.set(__self__, "release_type", release_type) - pulumi.set(__self__, "time_released", time_released) - pulumi.set(__self__, "time_supported_until", time_supported_until) + GetDeploymentVersionsDeploymentVersionCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + deployment_type=deployment_type, + is_security_fix=is_security_fix, + ogg_version=ogg_version, + release_type=release_type, + time_released=time_released, + time_supported_until=time_supported_until, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deployment_type: str, + is_security_fix: bool, + ogg_version: str, + release_type: str, + time_released: str, + time_supported_until: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("deployment_type", deployment_type) + _setter("is_security_fix", is_security_fix) + _setter("ogg_version", ogg_version) + _setter("release_type", release_type) + _setter("time_released", time_released) + _setter("time_supported_until", time_supported_until) @property @pulumi.getter(name="deploymentType") @@ -3184,10 +3974,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDeploymentVersionsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3209,7 +4012,16 @@ def regex(self) -> Optional[bool]: class GetDeploymentsDeploymentCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetDeploymentsDeploymentCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetDeploymentsDeploymentCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDeploymentsDeploymentCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -3296,43 +4108,124 @@ def __init__(__self__, *, :param str time_updated: The time the resource was last updated. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. :param str time_upgrade_required: Note: Deprecated: Use timeOfNextMaintenance instead, or related upgrade records to check, when deployment will be forced to upgrade to a newer version. Old description: The date the existing version in use will no longer be considered as usable and an upgrade will be required. This date is typically 6 months after the version was released for use by GGS. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "cpu_core_count", cpu_core_count) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "deployment_backup_id", deployment_backup_id) - pulumi.set(__self__, "deployment_diagnostic_datas", deployment_diagnostic_datas) - pulumi.set(__self__, "deployment_type", deployment_type) - pulumi.set(__self__, "deployment_url", deployment_url) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "fqdn", fqdn) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_auto_scaling_enabled", is_auto_scaling_enabled) - pulumi.set(__self__, "is_healthy", is_healthy) - pulumi.set(__self__, "is_latest_version", is_latest_version) - pulumi.set(__self__, "is_public", is_public) - pulumi.set(__self__, "is_storage_utilization_limit_exceeded", is_storage_utilization_limit_exceeded) - pulumi.set(__self__, "license_model", license_model) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "lifecycle_sub_state", lifecycle_sub_state) - pulumi.set(__self__, "maintenance_configurations", maintenance_configurations) - pulumi.set(__self__, "maintenance_windows", maintenance_windows) - pulumi.set(__self__, "next_maintenance_action_type", next_maintenance_action_type) - pulumi.set(__self__, "next_maintenance_description", next_maintenance_description) - pulumi.set(__self__, "nsg_ids", nsg_ids) - pulumi.set(__self__, "ogg_datas", ogg_datas) - pulumi.set(__self__, "private_ip_address", private_ip_address) - pulumi.set(__self__, "public_ip_address", public_ip_address) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "storage_utilization_in_bytes", storage_utilization_in_bytes) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_of_next_maintenance", time_of_next_maintenance) - pulumi.set(__self__, "time_ogg_version_supported_until", time_ogg_version_supported_until) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "time_upgrade_required", time_upgrade_required) + GetDeploymentsDeploymentCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + cpu_core_count=cpu_core_count, + defined_tags=defined_tags, + deployment_backup_id=deployment_backup_id, + deployment_diagnostic_datas=deployment_diagnostic_datas, + deployment_type=deployment_type, + deployment_url=deployment_url, + description=description, + display_name=display_name, + fqdn=fqdn, + freeform_tags=freeform_tags, + id=id, + is_auto_scaling_enabled=is_auto_scaling_enabled, + is_healthy=is_healthy, + is_latest_version=is_latest_version, + is_public=is_public, + is_storage_utilization_limit_exceeded=is_storage_utilization_limit_exceeded, + license_model=license_model, + lifecycle_details=lifecycle_details, + lifecycle_sub_state=lifecycle_sub_state, + maintenance_configurations=maintenance_configurations, + maintenance_windows=maintenance_windows, + next_maintenance_action_type=next_maintenance_action_type, + next_maintenance_description=next_maintenance_description, + nsg_ids=nsg_ids, + ogg_datas=ogg_datas, + private_ip_address=private_ip_address, + public_ip_address=public_ip_address, + state=state, + storage_utilization_in_bytes=storage_utilization_in_bytes, + subnet_id=subnet_id, + system_tags=system_tags, + time_created=time_created, + time_of_next_maintenance=time_of_next_maintenance, + time_ogg_version_supported_until=time_ogg_version_supported_until, + time_updated=time_updated, + time_upgrade_required=time_upgrade_required, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + cpu_core_count: int, + defined_tags: Mapping[str, Any], + deployment_backup_id: str, + deployment_diagnostic_datas: Sequence['outputs.GetDeploymentsDeploymentCollectionItemDeploymentDiagnosticDataResult'], + deployment_type: str, + deployment_url: str, + description: str, + display_name: str, + fqdn: str, + freeform_tags: Mapping[str, Any], + id: str, + is_auto_scaling_enabled: bool, + is_healthy: bool, + is_latest_version: bool, + is_public: bool, + is_storage_utilization_limit_exceeded: bool, + license_model: str, + lifecycle_details: str, + lifecycle_sub_state: str, + maintenance_configurations: Sequence['outputs.GetDeploymentsDeploymentCollectionItemMaintenanceConfigurationResult'], + maintenance_windows: Sequence['outputs.GetDeploymentsDeploymentCollectionItemMaintenanceWindowResult'], + next_maintenance_action_type: str, + next_maintenance_description: str, + nsg_ids: Sequence[str], + ogg_datas: Sequence['outputs.GetDeploymentsDeploymentCollectionItemOggDataResult'], + private_ip_address: str, + public_ip_address: str, + state: str, + storage_utilization_in_bytes: str, + subnet_id: str, + system_tags: Mapping[str, Any], + time_created: str, + time_of_next_maintenance: str, + time_ogg_version_supported_until: str, + time_updated: str, + time_upgrade_required: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("cpu_core_count", cpu_core_count) + _setter("defined_tags", defined_tags) + _setter("deployment_backup_id", deployment_backup_id) + _setter("deployment_diagnostic_datas", deployment_diagnostic_datas) + _setter("deployment_type", deployment_type) + _setter("deployment_url", deployment_url) + _setter("description", description) + _setter("display_name", display_name) + _setter("fqdn", fqdn) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_auto_scaling_enabled", is_auto_scaling_enabled) + _setter("is_healthy", is_healthy) + _setter("is_latest_version", is_latest_version) + _setter("is_public", is_public) + _setter("is_storage_utilization_limit_exceeded", is_storage_utilization_limit_exceeded) + _setter("license_model", license_model) + _setter("lifecycle_details", lifecycle_details) + _setter("lifecycle_sub_state", lifecycle_sub_state) + _setter("maintenance_configurations", maintenance_configurations) + _setter("maintenance_windows", maintenance_windows) + _setter("next_maintenance_action_type", next_maintenance_action_type) + _setter("next_maintenance_description", next_maintenance_description) + _setter("nsg_ids", nsg_ids) + _setter("ogg_datas", ogg_datas) + _setter("private_ip_address", private_ip_address) + _setter("public_ip_address", public_ip_address) + _setter("state", state) + _setter("storage_utilization_in_bytes", storage_utilization_in_bytes) + _setter("subnet_id", subnet_id) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_of_next_maintenance", time_of_next_maintenance) + _setter("time_ogg_version_supported_until", time_ogg_version_supported_until) + _setter("time_updated", time_updated) + _setter("time_upgrade_required", time_upgrade_required) @property @pulumi.getter(name="compartmentId") @@ -3648,12 +4541,31 @@ def __init__(__self__, *, :param str time_diagnostic_end: The time until which the diagnostic collection should collect the logs. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. :param str time_diagnostic_start: The time from which the diagnostic collection should collect the logs. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "diagnostic_state", diagnostic_state) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "object", object) - pulumi.set(__self__, "time_diagnostic_end", time_diagnostic_end) - pulumi.set(__self__, "time_diagnostic_start", time_diagnostic_start) + GetDeploymentsDeploymentCollectionItemDeploymentDiagnosticDataResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + diagnostic_state=diagnostic_state, + namespace=namespace, + object=object, + time_diagnostic_end=time_diagnostic_end, + time_diagnostic_start=time_diagnostic_start, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + diagnostic_state: str, + namespace: str, + object: str, + time_diagnostic_end: str, + time_diagnostic_start: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("diagnostic_state", diagnostic_state) + _setter("namespace", namespace) + _setter("object", object) + _setter("time_diagnostic_end", time_diagnostic_end) + _setter("time_diagnostic_start", time_diagnostic_start) @property @pulumi.getter @@ -3719,11 +4631,28 @@ def __init__(__self__, *, :param int major_release_upgrade_period_in_days: Defines auto upgrade period for major releases. Manually configured period cannot be longer than service defined period for major releases. Not passing this field during create will equate to using the service default. :param int security_patch_upgrade_period_in_days: Defines auto upgrade period for releases with security fix. Manually configured period cannot be longer than service defined period for security releases. Not passing this field during create will equate to using the service default. """ - pulumi.set(__self__, "bundle_release_upgrade_period_in_days", bundle_release_upgrade_period_in_days) - pulumi.set(__self__, "interim_release_upgrade_period_in_days", interim_release_upgrade_period_in_days) - pulumi.set(__self__, "is_interim_release_auto_upgrade_enabled", is_interim_release_auto_upgrade_enabled) - pulumi.set(__self__, "major_release_upgrade_period_in_days", major_release_upgrade_period_in_days) - pulumi.set(__self__, "security_patch_upgrade_period_in_days", security_patch_upgrade_period_in_days) + GetDeploymentsDeploymentCollectionItemMaintenanceConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bundle_release_upgrade_period_in_days=bundle_release_upgrade_period_in_days, + interim_release_upgrade_period_in_days=interim_release_upgrade_period_in_days, + is_interim_release_auto_upgrade_enabled=is_interim_release_auto_upgrade_enabled, + major_release_upgrade_period_in_days=major_release_upgrade_period_in_days, + security_patch_upgrade_period_in_days=security_patch_upgrade_period_in_days, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bundle_release_upgrade_period_in_days: int, + interim_release_upgrade_period_in_days: int, + is_interim_release_auto_upgrade_enabled: bool, + major_release_upgrade_period_in_days: int, + security_patch_upgrade_period_in_days: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bundle_release_upgrade_period_in_days", bundle_release_upgrade_period_in_days) + _setter("interim_release_upgrade_period_in_days", interim_release_upgrade_period_in_days) + _setter("is_interim_release_auto_upgrade_enabled", is_interim_release_auto_upgrade_enabled) + _setter("major_release_upgrade_period_in_days", major_release_upgrade_period_in_days) + _setter("security_patch_upgrade_period_in_days", security_patch_upgrade_period_in_days) @property @pulumi.getter(name="bundleReleaseUpgradePeriodInDays") @@ -3775,8 +4704,19 @@ def __init__(__self__, *, :param str day: Days of the week. :param int start_hour: Start hour for maintenance period. Hour is in UTC. """ - pulumi.set(__self__, "day", day) - pulumi.set(__self__, "start_hour", start_hour) + GetDeploymentsDeploymentCollectionItemMaintenanceWindowResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + day=day, + start_hour=start_hour, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + day: str, + start_hour: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("day", day) + _setter("start_hour", start_hour) @property @pulumi.getter @@ -3816,15 +4756,40 @@ def __init__(__self__, *, :param str ogg_version: Version of OGG :param str password_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the deployment password is stored. """ - pulumi.set(__self__, "admin_password", admin_password) - pulumi.set(__self__, "admin_username", admin_username) - pulumi.set(__self__, "certificate", certificate) - pulumi.set(__self__, "credential_store", credential_store) - pulumi.set(__self__, "deployment_name", deployment_name) - pulumi.set(__self__, "identity_domain_id", identity_domain_id) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "ogg_version", ogg_version) - pulumi.set(__self__, "password_secret_id", password_secret_id) + GetDeploymentsDeploymentCollectionItemOggDataResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + admin_password=admin_password, + admin_username=admin_username, + certificate=certificate, + credential_store=credential_store, + deployment_name=deployment_name, + identity_domain_id=identity_domain_id, + key=key, + ogg_version=ogg_version, + password_secret_id=password_secret_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + admin_password: str, + admin_username: str, + certificate: str, + credential_store: str, + deployment_name: str, + identity_domain_id: str, + key: str, + ogg_version: str, + password_secret_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("admin_password", admin_password) + _setter("admin_username", admin_username) + _setter("certificate", certificate) + _setter("credential_store", credential_store) + _setter("deployment_name", deployment_name) + _setter("identity_domain_id", identity_domain_id) + _setter("key", key) + _setter("ogg_version", ogg_version) + _setter("password_secret_id", password_secret_id) @property @pulumi.getter(name="adminPassword") @@ -3899,10 +4864,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDeploymentsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3931,9 +4909,22 @@ def __init__(__self__, *, :param str deployment_message_status: The deployment Message Status. :param str id: The deployment Message Id. """ - pulumi.set(__self__, "deployment_message", deployment_message) - pulumi.set(__self__, "deployment_message_status", deployment_message_status) - pulumi.set(__self__, "id", id) + GetMessageItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + deployment_message=deployment_message, + deployment_message_status=deployment_message_status, + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deployment_message: str, + deployment_message_status: str, + id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("deployment_message", deployment_message) + _setter("deployment_message_status", deployment_message_status) + _setter("id", id) @property @pulumi.getter(name="deploymentMessage") @@ -3967,7 +4958,16 @@ def __init__(__self__, *, """ :param Sequence['GetMessagesDeploymentMessagesCollectionItemArgs'] items: An array of DeploymentMessages. """ - pulumi.set(__self__, "items", items) + GetMessagesDeploymentMessagesCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetMessagesDeploymentMessagesCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -3989,9 +4989,22 @@ def __init__(__self__, *, :param str deployment_message_status: The deployment Message Status. :param str id: The deployment Message Id. """ - pulumi.set(__self__, "deployment_message", deployment_message) - pulumi.set(__self__, "deployment_message_status", deployment_message_status) - pulumi.set(__self__, "id", id) + GetMessagesDeploymentMessagesCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + deployment_message=deployment_message, + deployment_message_status=deployment_message_status, + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + deployment_message: str, + deployment_message_status: str, + id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("deployment_message", deployment_message) + _setter("deployment_message_status", deployment_message_status) + _setter("id", id) @property @pulumi.getter(name="deploymentMessage") @@ -4024,10 +5037,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetMessagesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4068,15 +5094,40 @@ def __init__(__self__, *, :param str time_last_updated: The time the resource was last updated. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. :param str trail_file_id: A Trail File identifier """ - pulumi.set(__self__, "consumers", consumers) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "max_sequence_number", max_sequence_number) - pulumi.set(__self__, "min_sequence_number", min_sequence_number) - pulumi.set(__self__, "number_of_sequences", number_of_sequences) - pulumi.set(__self__, "producer", producer) - pulumi.set(__self__, "size_in_bytes", size_in_bytes) - pulumi.set(__self__, "time_last_updated", time_last_updated) - pulumi.set(__self__, "trail_file_id", trail_file_id) + GetTrailFileItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + consumers=consumers, + display_name=display_name, + max_sequence_number=max_sequence_number, + min_sequence_number=min_sequence_number, + number_of_sequences=number_of_sequences, + producer=producer, + size_in_bytes=size_in_bytes, + time_last_updated=time_last_updated, + trail_file_id=trail_file_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + consumers: Sequence[str], + display_name: str, + max_sequence_number: str, + min_sequence_number: str, + number_of_sequences: int, + producer: str, + size_in_bytes: float, + time_last_updated: str, + trail_file_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("consumers", consumers) + _setter("display_name", display_name) + _setter("max_sequence_number", max_sequence_number) + _setter("min_sequence_number", min_sequence_number) + _setter("number_of_sequences", number_of_sequences) + _setter("producer", producer) + _setter("size_in_bytes", size_in_bytes) + _setter("time_last_updated", time_last_updated) + _setter("trail_file_id", trail_file_id) @property @pulumi.getter @@ -4157,10 +5208,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetTrailFilesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4187,8 +5251,19 @@ def __init__(__self__, *, :param Sequence['GetTrailFilesTrailFileCollectionItemArgs'] items: An array of TrailFiles. :param str time_last_fetched: The time the data was last fetched from the deployment. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. """ - pulumi.set(__self__, "items", items) - pulumi.set(__self__, "time_last_fetched", time_last_fetched) + GetTrailFilesTrailFileCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + time_last_fetched=time_last_fetched, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetTrailFilesTrailFileCollectionItemResult'], + time_last_fetched: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) + _setter("time_last_fetched", time_last_fetched) @property @pulumi.getter @@ -4230,15 +5305,40 @@ def __init__(__self__, *, :param str time_last_updated: The time the resource was last updated. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. :param str trail_file_id: A Trail File identifier """ - pulumi.set(__self__, "consumers", consumers) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "max_sequence_number", max_sequence_number) - pulumi.set(__self__, "min_sequence_number", min_sequence_number) - pulumi.set(__self__, "number_of_sequences", number_of_sequences) - pulumi.set(__self__, "producer", producer) - pulumi.set(__self__, "size_in_bytes", size_in_bytes) - pulumi.set(__self__, "time_last_updated", time_last_updated) - pulumi.set(__self__, "trail_file_id", trail_file_id) + GetTrailFilesTrailFileCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + consumers=consumers, + display_name=display_name, + max_sequence_number=max_sequence_number, + min_sequence_number=min_sequence_number, + number_of_sequences=number_of_sequences, + producer=producer, + size_in_bytes=size_in_bytes, + time_last_updated=time_last_updated, + trail_file_id=trail_file_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + consumers: Sequence[str], + display_name: str, + max_sequence_number: str, + min_sequence_number: str, + number_of_sequences: int, + producer: str, + size_in_bytes: float, + time_last_updated: str, + trail_file_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("consumers", consumers) + _setter("display_name", display_name) + _setter("max_sequence_number", max_sequence_number) + _setter("min_sequence_number", min_sequence_number) + _setter("number_of_sequences", number_of_sequences) + _setter("producer", producer) + _setter("size_in_bytes", size_in_bytes) + _setter("time_last_updated", time_last_updated) + _setter("trail_file_id", trail_file_id) @property @pulumi.getter @@ -4326,10 +5426,25 @@ def __init__(__self__, *, :param float size_in_bytes: The size of the backup stored in object storage (in bytes) :param str time_last_updated: The time the resource was last updated. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "sequence_id", sequence_id) - pulumi.set(__self__, "size_in_bytes", size_in_bytes) - pulumi.set(__self__, "time_last_updated", time_last_updated) + GetTrailSequenceItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + sequence_id=sequence_id, + size_in_bytes=size_in_bytes, + time_last_updated=time_last_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + sequence_id: str, + size_in_bytes: float, + time_last_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("sequence_id", sequence_id) + _setter("size_in_bytes", size_in_bytes) + _setter("time_last_updated", time_last_updated) @property @pulumi.getter(name="displayName") @@ -4370,10 +5485,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetTrailSequencesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4400,8 +5528,19 @@ def __init__(__self__, *, :param Sequence['GetTrailSequencesTrailSequenceCollectionItemArgs'] items: An array of TrailSequences. :param str time_last_fetched: The time the data was last fetched from the deployment. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. """ - pulumi.set(__self__, "items", items) - pulumi.set(__self__, "time_last_fetched", time_last_fetched) + GetTrailSequencesTrailSequenceCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + time_last_fetched=time_last_fetched, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetTrailSequencesTrailSequenceCollectionItemResult'], + time_last_fetched: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) + _setter("time_last_fetched", time_last_fetched) @property @pulumi.getter @@ -4433,10 +5572,25 @@ def __init__(__self__, *, :param float size_in_bytes: The size of the backup stored in object storage (in bytes) :param str time_last_updated: The time the resource was last updated. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "sequence_id", sequence_id) - pulumi.set(__self__, "size_in_bytes", size_in_bytes) - pulumi.set(__self__, "time_last_updated", time_last_updated) + GetTrailSequencesTrailSequenceCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + sequence_id=sequence_id, + size_in_bytes=size_in_bytes, + time_last_updated=time_last_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + sequence_id: str, + size_in_bytes: float, + time_last_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("sequence_id", sequence_id) + _setter("size_in_bytes", size_in_bytes) + _setter("time_last_updated", time_last_updated) @property @pulumi.getter(name="displayName") diff --git a/sdk/python/pulumi_oci/healthchecks/_inputs.py b/sdk/python/pulumi_oci/healthchecks/_inputs.py index 32fb372bb4..2ffe46c61e 100644 --- a/sdk/python/pulumi_oci/healthchecks/_inputs.py +++ b/sdk/python/pulumi_oci/healthchecks/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -23,10 +23,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetHttpMonitorsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -62,10 +75,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetHttpProbeResultsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -101,10 +127,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetPingMonitorsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -140,10 +179,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetPingProbeResultsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -182,10 +234,23 @@ def __init__(__self__, *, """ :param str name: Filters results that exactly match the `name` field. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVantagePointsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/healthchecks/get_http_monitor.py b/sdk/python/pulumi_oci/healthchecks/get_http_monitor.py index a47c4b6e26..b9060e35f7 100644 --- a/sdk/python/pulumi_oci/healthchecks/get_http_monitor.py +++ b/sdk/python/pulumi_oci/healthchecks/get_http_monitor.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/healthchecks/get_http_monitors.py b/sdk/python/pulumi_oci/healthchecks/get_http_monitors.py index 4bd3ce41ef..7a10bc5387 100644 --- a/sdk/python/pulumi_oci/healthchecks/get_http_monitors.py +++ b/sdk/python/pulumi_oci/healthchecks/get_http_monitors.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/healthchecks/get_http_probe_results.py b/sdk/python/pulumi_oci/healthchecks/get_http_probe_results.py index f8891b1e37..203e9e8e6e 100644 --- a/sdk/python/pulumi_oci/healthchecks/get_http_probe_results.py +++ b/sdk/python/pulumi_oci/healthchecks/get_http_probe_results.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/healthchecks/get_ping_monitor.py b/sdk/python/pulumi_oci/healthchecks/get_ping_monitor.py index afb9ecc2bb..53f8eeab0a 100644 --- a/sdk/python/pulumi_oci/healthchecks/get_ping_monitor.py +++ b/sdk/python/pulumi_oci/healthchecks/get_ping_monitor.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/healthchecks/get_ping_monitors.py b/sdk/python/pulumi_oci/healthchecks/get_ping_monitors.py index a4571563e4..639abf8276 100644 --- a/sdk/python/pulumi_oci/healthchecks/get_ping_monitors.py +++ b/sdk/python/pulumi_oci/healthchecks/get_ping_monitors.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/healthchecks/get_ping_probe_results.py b/sdk/python/pulumi_oci/healthchecks/get_ping_probe_results.py index b3e6fffa0e..bef5253e84 100644 --- a/sdk/python/pulumi_oci/healthchecks/get_ping_probe_results.py +++ b/sdk/python/pulumi_oci/healthchecks/get_ping_probe_results.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/healthchecks/get_vantage_points.py b/sdk/python/pulumi_oci/healthchecks/get_vantage_points.py index 18a4406cab..7d90039013 100644 --- a/sdk/python/pulumi_oci/healthchecks/get_vantage_points.py +++ b/sdk/python/pulumi_oci/healthchecks/get_vantage_points.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/healthchecks/http_monitor.py b/sdk/python/pulumi_oci/healthchecks/http_monitor.py index 7969c30c0e..68356a068d 100644 --- a/sdk/python/pulumi_oci/healthchecks/http_monitor.py +++ b/sdk/python/pulumi_oci/healthchecks/http_monitor.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['HttpMonitorArgs', 'HttpMonitor'] @@ -51,29 +51,64 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "interval_in_seconds", interval_in_seconds) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "targets", targets) + HttpMonitorArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + interval_in_seconds=interval_in_seconds, + protocol=protocol, + targets=targets, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + headers=headers, + is_enabled=is_enabled, + method=method, + path=path, + port=port, + timeout_in_seconds=timeout_in_seconds, + vantage_point_names=vantage_point_names, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + interval_in_seconds: pulumi.Input[int], + protocol: pulumi.Input[str], + targets: pulumi.Input[Sequence[pulumi.Input[str]]], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + headers: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_enabled: Optional[pulumi.Input[bool]] = None, + method: Optional[pulumi.Input[str]] = None, + path: Optional[pulumi.Input[str]] = None, + port: Optional[pulumi.Input[int]] = None, + timeout_in_seconds: Optional[pulumi.Input[int]] = None, + vantage_point_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) + _setter("interval_in_seconds", interval_in_seconds) + _setter("protocol", protocol) + _setter("targets", targets) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if headers is not None: - pulumi.set(__self__, "headers", headers) + _setter("headers", headers) if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) if method is not None: - pulumi.set(__self__, "method", method) + _setter("method", method) if path is not None: - pulumi.set(__self__, "path", path) + _setter("path", path) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if timeout_in_seconds is not None: - pulumi.set(__self__, "timeout_in_seconds", timeout_in_seconds) + _setter("timeout_in_seconds", timeout_in_seconds) if vantage_point_names is not None: - pulumi.set(__self__, "vantage_point_names", vantage_point_names) + _setter("vantage_point_names", vantage_point_names) @property @pulumi.getter(name="compartmentId") @@ -296,40 +331,81 @@ def __init__(__self__, *, ** 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 """ + _HttpMonitorState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + headers=headers, + home_region=home_region, + interval_in_seconds=interval_in_seconds, + is_enabled=is_enabled, + method=method, + path=path, + port=port, + protocol=protocol, + results_url=results_url, + targets=targets, + time_created=time_created, + timeout_in_seconds=timeout_in_seconds, + vantage_point_names=vantage_point_names, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + headers: Optional[pulumi.Input[Mapping[str, Any]]] = None, + home_region: Optional[pulumi.Input[str]] = None, + interval_in_seconds: Optional[pulumi.Input[int]] = None, + is_enabled: Optional[pulumi.Input[bool]] = None, + method: Optional[pulumi.Input[str]] = None, + path: Optional[pulumi.Input[str]] = None, + port: Optional[pulumi.Input[int]] = None, + protocol: Optional[pulumi.Input[str]] = None, + results_url: Optional[pulumi.Input[str]] = None, + targets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + timeout_in_seconds: Optional[pulumi.Input[int]] = None, + vantage_point_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if headers is not None: - pulumi.set(__self__, "headers", headers) + _setter("headers", headers) if home_region is not None: - pulumi.set(__self__, "home_region", home_region) + _setter("home_region", home_region) if interval_in_seconds is not None: - pulumi.set(__self__, "interval_in_seconds", interval_in_seconds) + _setter("interval_in_seconds", interval_in_seconds) if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) if method is not None: - pulumi.set(__self__, "method", method) + _setter("method", method) if path is not None: - pulumi.set(__self__, "path", path) + _setter("path", path) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if protocol is not None: - pulumi.set(__self__, "protocol", protocol) + _setter("protocol", protocol) if results_url is not None: - pulumi.set(__self__, "results_url", results_url) + _setter("results_url", results_url) if targets is not None: - pulumi.set(__self__, "targets", targets) + _setter("targets", targets) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if timeout_in_seconds is not None: - pulumi.set(__self__, "timeout_in_seconds", timeout_in_seconds) + _setter("timeout_in_seconds", timeout_in_seconds) if vantage_point_names is not None: - pulumi.set(__self__, "vantage_point_names", vantage_point_names) + _setter("vantage_point_names", vantage_point_names) @property @pulumi.getter(name="compartmentId") @@ -685,6 +761,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + HttpMonitorArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/healthchecks/http_probe.py b/sdk/python/pulumi_oci/healthchecks/http_probe.py index 6f786a01e7..b73803b874 100644 --- a/sdk/python/pulumi_oci/healthchecks/http_probe.py +++ b/sdk/python/pulumi_oci/healthchecks/http_probe.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['HttpProbeArgs', 'HttpProbe'] @@ -41,21 +41,46 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "targets", targets) + HttpProbeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + protocol=protocol, + targets=targets, + headers=headers, + method=method, + path=path, + port=port, + timeout_in_seconds=timeout_in_seconds, + vantage_point_names=vantage_point_names, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + protocol: pulumi.Input[str], + targets: pulumi.Input[Sequence[pulumi.Input[str]]], + headers: Optional[pulumi.Input[Mapping[str, Any]]] = None, + method: Optional[pulumi.Input[str]] = None, + path: Optional[pulumi.Input[str]] = None, + port: Optional[pulumi.Input[int]] = None, + timeout_in_seconds: Optional[pulumi.Input[int]] = None, + vantage_point_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("protocol", protocol) + _setter("targets", targets) if headers is not None: - pulumi.set(__self__, "headers", headers) + _setter("headers", headers) if method is not None: - pulumi.set(__self__, "method", method) + _setter("method", method) if path is not None: - pulumi.set(__self__, "path", path) + _setter("path", path) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if timeout_in_seconds is not None: - pulumi.set(__self__, "timeout_in_seconds", timeout_in_seconds) + _setter("timeout_in_seconds", timeout_in_seconds) if vantage_point_names is not None: - pulumi.set(__self__, "vantage_point_names", vantage_point_names) + _setter("vantage_point_names", vantage_point_names) @property @pulumi.getter(name="compartmentId") @@ -208,30 +233,61 @@ def __init__(__self__, *, ** 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 """ + _HttpProbeState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + headers=headers, + home_region=home_region, + method=method, + path=path, + port=port, + protocol=protocol, + results_url=results_url, + targets=targets, + time_created=time_created, + timeout_in_seconds=timeout_in_seconds, + vantage_point_names=vantage_point_names, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + headers: Optional[pulumi.Input[Mapping[str, Any]]] = None, + home_region: Optional[pulumi.Input[str]] = None, + method: Optional[pulumi.Input[str]] = None, + path: Optional[pulumi.Input[str]] = None, + port: Optional[pulumi.Input[int]] = None, + protocol: Optional[pulumi.Input[str]] = None, + results_url: Optional[pulumi.Input[str]] = None, + targets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + timeout_in_seconds: Optional[pulumi.Input[int]] = None, + vantage_point_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if headers is not None: - pulumi.set(__self__, "headers", headers) + _setter("headers", headers) if home_region is not None: - pulumi.set(__self__, "home_region", home_region) + _setter("home_region", home_region) if method is not None: - pulumi.set(__self__, "method", method) + _setter("method", method) if path is not None: - pulumi.set(__self__, "path", path) + _setter("path", path) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if protocol is not None: - pulumi.set(__self__, "protocol", protocol) + _setter("protocol", protocol) if results_url is not None: - pulumi.set(__self__, "results_url", results_url) + _setter("results_url", results_url) if targets is not None: - pulumi.set(__self__, "targets", targets) + _setter("targets", targets) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if timeout_in_seconds is not None: - pulumi.set(__self__, "timeout_in_seconds", timeout_in_seconds) + _setter("timeout_in_seconds", timeout_in_seconds) if vantage_point_names is not None: - pulumi.set(__self__, "vantage_point_names", vantage_point_names) + _setter("vantage_point_names", vantage_point_names) @property @pulumi.getter(name="compartmentId") @@ -501,6 +557,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + HttpProbeArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/healthchecks/outputs.py b/sdk/python/pulumi_oci/healthchecks/outputs.py index be7e6e66b1..d96fee212d 100644 --- a/sdk/python/pulumi_oci/healthchecks/outputs.py +++ b/sdk/python/pulumi_oci/healthchecks/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -35,10 +35,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetHttpMonitorsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -97,24 +110,67 @@ def __init__(__self__, *, :param int timeout_in_seconds: The probe timeout in seconds. Valid values: 10, 20, 30, and 60. The probe timeout must be less than or equal to `intervalInSeconds` for monitors. :param Sequence[str] vantage_point_names: A list of names of vantage points from which to execute the probe. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "headers", headers) - pulumi.set(__self__, "home_region", home_region) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "interval_in_seconds", interval_in_seconds) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "method", method) - pulumi.set(__self__, "path", path) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "results_url", results_url) - pulumi.set(__self__, "targets", targets) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "timeout_in_seconds", timeout_in_seconds) - pulumi.set(__self__, "vantage_point_names", vantage_point_names) + GetHttpMonitorsHttpMonitorResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + headers=headers, + home_region=home_region, + id=id, + interval_in_seconds=interval_in_seconds, + is_enabled=is_enabled, + method=method, + path=path, + port=port, + protocol=protocol, + results_url=results_url, + targets=targets, + time_created=time_created, + timeout_in_seconds=timeout_in_seconds, + vantage_point_names=vantage_point_names, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + headers: Mapping[str, Any], + home_region: str, + id: str, + interval_in_seconds: int, + is_enabled: bool, + method: str, + path: str, + port: int, + protocol: str, + results_url: str, + targets: Sequence[str], + time_created: str, + timeout_in_seconds: int, + vantage_point_names: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("headers", headers) + _setter("home_region", home_region) + _setter("id", id) + _setter("interval_in_seconds", interval_in_seconds) + _setter("is_enabled", is_enabled) + _setter("method", method) + _setter("path", path) + _setter("port", port) + _setter("protocol", protocol) + _setter("results_url", results_url) + _setter("targets", targets) + _setter("time_created", time_created) + _setter("timeout_in_seconds", timeout_in_seconds) + _setter("vantage_point_names", vantage_point_names) @property @pulumi.getter(name="compartmentId") @@ -267,10 +323,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetHttpProbeResultsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -346,30 +415,85 @@ def __init__(__self__, *, :param str target: Filters results that match the `target`. :param str vantage_point_name: The name of the vantage point that executed the probe. """ - pulumi.set(__self__, "connect_end", connect_end) - pulumi.set(__self__, "connect_start", connect_start) - pulumi.set(__self__, "connections", connections) - pulumi.set(__self__, "dns", dns) - pulumi.set(__self__, "domain_lookup_end", domain_lookup_end) - pulumi.set(__self__, "domain_lookup_start", domain_lookup_start) - pulumi.set(__self__, "duration", duration) - pulumi.set(__self__, "encoded_body_size", encoded_body_size) - pulumi.set(__self__, "error_category", error_category) - pulumi.set(__self__, "error_message", error_message) - pulumi.set(__self__, "fetch_start", fetch_start) - pulumi.set(__self__, "is_healthy", is_healthy) - pulumi.set(__self__, "is_timed_out", is_timed_out) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "probe_configuration_id", probe_configuration_id) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "request_start", request_start) - pulumi.set(__self__, "response_end", response_end) - pulumi.set(__self__, "response_start", response_start) - pulumi.set(__self__, "secure_connection_start", secure_connection_start) - pulumi.set(__self__, "start_time", start_time) - pulumi.set(__self__, "status_code", status_code) - pulumi.set(__self__, "target", target) - pulumi.set(__self__, "vantage_point_name", vantage_point_name) + GetHttpProbeResultsHttpProbeResultResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + connect_end=connect_end, + connect_start=connect_start, + connections=connections, + dns=dns, + domain_lookup_end=domain_lookup_end, + domain_lookup_start=domain_lookup_start, + duration=duration, + encoded_body_size=encoded_body_size, + error_category=error_category, + error_message=error_message, + fetch_start=fetch_start, + is_healthy=is_healthy, + is_timed_out=is_timed_out, + key=key, + probe_configuration_id=probe_configuration_id, + protocol=protocol, + request_start=request_start, + response_end=response_end, + response_start=response_start, + secure_connection_start=secure_connection_start, + start_time=start_time, + status_code=status_code, + target=target, + vantage_point_name=vantage_point_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + connect_end: float, + connect_start: float, + connections: Sequence['outputs.GetHttpProbeResultsHttpProbeResultConnectionResult'], + dns: Sequence['outputs.GetHttpProbeResultsHttpProbeResultDnResult'], + domain_lookup_end: float, + domain_lookup_start: float, + duration: float, + encoded_body_size: int, + error_category: str, + error_message: str, + fetch_start: float, + is_healthy: bool, + is_timed_out: bool, + key: str, + probe_configuration_id: str, + protocol: str, + request_start: float, + response_end: float, + response_start: float, + secure_connection_start: float, + start_time: float, + status_code: int, + target: str, + vantage_point_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("connect_end", connect_end) + _setter("connect_start", connect_start) + _setter("connections", connections) + _setter("dns", dns) + _setter("domain_lookup_end", domain_lookup_end) + _setter("domain_lookup_start", domain_lookup_start) + _setter("duration", duration) + _setter("encoded_body_size", encoded_body_size) + _setter("error_category", error_category) + _setter("error_message", error_message) + _setter("fetch_start", fetch_start) + _setter("is_healthy", is_healthy) + _setter("is_timed_out", is_timed_out) + _setter("key", key) + _setter("probe_configuration_id", probe_configuration_id) + _setter("protocol", protocol) + _setter("request_start", request_start) + _setter("response_end", response_end) + _setter("response_start", response_start) + _setter("secure_connection_start", secure_connection_start) + _setter("start_time", start_time) + _setter("status_code", status_code) + _setter("target", target) + _setter("vantage_point_name", vantage_point_name) @property @pulumi.getter(name="connectEnd") @@ -582,10 +706,25 @@ def __init__(__self__, *, :param int port: The port. :param float secure_connect_duration: The duration to secure the connection. This value will be zero for insecure connections. Calculated using `connectEnd` minus `secureConnectionStart`. """ - pulumi.set(__self__, "address", address) - pulumi.set(__self__, "connect_duration", connect_duration) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "secure_connect_duration", secure_connect_duration) + GetHttpProbeResultsHttpProbeResultConnectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + address=address, + connect_duration=connect_duration, + port=port, + secure_connect_duration=secure_connect_duration, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address: str, + connect_duration: float, + port: int, + secure_connect_duration: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("address", address) + _setter("connect_duration", connect_duration) + _setter("port", port) + _setter("secure_connect_duration", secure_connect_duration) @property @pulumi.getter @@ -629,8 +768,19 @@ def __init__(__self__, *, :param Sequence[str] addresses: The addresses returned by DNS resolution. :param float domain_lookup_duration: Total DNS resolution duration, in milliseconds. Calculated using `domainLookupEnd` minus `domainLookupStart`. """ - pulumi.set(__self__, "addresses", addresses) - pulumi.set(__self__, "domain_lookup_duration", domain_lookup_duration) + GetHttpProbeResultsHttpProbeResultDnResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + addresses=addresses, + domain_lookup_duration=domain_lookup_duration, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + addresses: Sequence[str], + domain_lookup_duration: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("addresses", addresses) + _setter("domain_lookup_duration", domain_lookup_duration) @property @pulumi.getter @@ -655,10 +805,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetPingMonitorsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -711,21 +874,58 @@ def __init__(__self__, *, :param int timeout_in_seconds: The probe timeout in seconds. Valid values: 10, 20, 30, and 60. The probe timeout must be less than or equal to `intervalInSeconds` for monitors. :param Sequence[str] vantage_point_names: A list of names of vantage points from which to execute the probe. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "home_region", home_region) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "interval_in_seconds", interval_in_seconds) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "results_url", results_url) - pulumi.set(__self__, "targets", targets) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "timeout_in_seconds", timeout_in_seconds) - pulumi.set(__self__, "vantage_point_names", vantage_point_names) + GetPingMonitorsPingMonitorResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + home_region=home_region, + id=id, + interval_in_seconds=interval_in_seconds, + is_enabled=is_enabled, + port=port, + protocol=protocol, + results_url=results_url, + targets=targets, + time_created=time_created, + timeout_in_seconds=timeout_in_seconds, + vantage_point_names=vantage_point_names, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + home_region: str, + id: str, + interval_in_seconds: int, + is_enabled: bool, + port: int, + protocol: str, + results_url: str, + targets: Sequence[str], + time_created: str, + timeout_in_seconds: int, + vantage_point_names: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("home_region", home_region) + _setter("id", id) + _setter("interval_in_seconds", interval_in_seconds) + _setter("is_enabled", is_enabled) + _setter("port", port) + _setter("protocol", protocol) + _setter("results_url", results_url) + _setter("targets", targets) + _setter("time_created", time_created) + _setter("timeout_in_seconds", timeout_in_seconds) + _setter("vantage_point_names", vantage_point_names) @property @pulumi.getter(name="compartmentId") @@ -854,10 +1054,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetPingProbeResultsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -917,22 +1130,61 @@ def __init__(__self__, *, :param str target: Filters results that match the `target`. :param str vantage_point_name: The name of the vantage point that executed the probe. """ - pulumi.set(__self__, "connections", connections) - pulumi.set(__self__, "dns", dns) - pulumi.set(__self__, "domain_lookup_end", domain_lookup_end) - pulumi.set(__self__, "domain_lookup_start", domain_lookup_start) - pulumi.set(__self__, "error_category", error_category) - pulumi.set(__self__, "error_message", error_message) - pulumi.set(__self__, "icmp_code", icmp_code) - pulumi.set(__self__, "is_healthy", is_healthy) - pulumi.set(__self__, "is_timed_out", is_timed_out) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "latency_in_ms", latency_in_ms) - pulumi.set(__self__, "probe_configuration_id", probe_configuration_id) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "start_time", start_time) - pulumi.set(__self__, "target", target) - pulumi.set(__self__, "vantage_point_name", vantage_point_name) + GetPingProbeResultsPingProbeResultResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + connections=connections, + dns=dns, + domain_lookup_end=domain_lookup_end, + domain_lookup_start=domain_lookup_start, + error_category=error_category, + error_message=error_message, + icmp_code=icmp_code, + is_healthy=is_healthy, + is_timed_out=is_timed_out, + key=key, + latency_in_ms=latency_in_ms, + probe_configuration_id=probe_configuration_id, + protocol=protocol, + start_time=start_time, + target=target, + vantage_point_name=vantage_point_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + connections: Sequence['outputs.GetPingProbeResultsPingProbeResultConnectionResult'], + dns: Sequence['outputs.GetPingProbeResultsPingProbeResultDnResult'], + domain_lookup_end: float, + domain_lookup_start: float, + error_category: str, + error_message: str, + icmp_code: int, + is_healthy: bool, + is_timed_out: bool, + key: str, + latency_in_ms: float, + probe_configuration_id: str, + protocol: str, + start_time: float, + target: str, + vantage_point_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("connections", connections) + _setter("dns", dns) + _setter("domain_lookup_end", domain_lookup_end) + _setter("domain_lookup_start", domain_lookup_start) + _setter("error_category", error_category) + _setter("error_message", error_message) + _setter("icmp_code", icmp_code) + _setter("is_healthy", is_healthy) + _setter("is_timed_out", is_timed_out) + _setter("key", key) + _setter("latency_in_ms", latency_in_ms) + _setter("probe_configuration_id", probe_configuration_id) + _setter("protocol", protocol) + _setter("start_time", start_time) + _setter("target", target) + _setter("vantage_point_name", vantage_point_name) @property @pulumi.getter @@ -1077,8 +1329,19 @@ def __init__(__self__, *, :param str address: The connection IP address. :param int port: The port. """ - pulumi.set(__self__, "address", address) - pulumi.set(__self__, "port", port) + GetPingProbeResultsPingProbeResultConnectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + address=address, + port=port, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address: str, + port: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("address", address) + _setter("port", port) @property @pulumi.getter @@ -1106,8 +1369,19 @@ def __init__(__self__, *, :param Sequence[str] addresses: The addresses returned by DNS resolution. :param float domain_lookup_duration: Total DNS resolution duration, in milliseconds. Calculated using `domainLookupEnd` minus `domainLookupStart`. """ - pulumi.set(__self__, "addresses", addresses) - pulumi.set(__self__, "domain_lookup_duration", domain_lookup_duration) + GetPingProbeResultsPingProbeResultDnResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + addresses=addresses, + domain_lookup_duration=domain_lookup_duration, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + addresses: Sequence[str], + domain_lookup_duration: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("addresses", addresses) + _setter("domain_lookup_duration", domain_lookup_duration) @property @pulumi.getter @@ -1135,10 +1409,23 @@ def __init__(__self__, *, """ :param str name: Filters results that exactly match the `name` field. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVantagePointsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1174,11 +1461,28 @@ def __init__(__self__, *, :param str provider_name: The organization on whose infrastructure this vantage point resides. Provider names are not unique, as Oracle Cloud Infrastructure maintains many vantage points in each major provider. :param Sequence['GetVantagePointsHealthChecksVantagePointRoutingArgs'] routings: An array of objects that describe how traffic to this vantage point is routed, including which prefixes and ASNs connect it to the internet. """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "geos", geos) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "provider_name", provider_name) - pulumi.set(__self__, "routings", routings) + GetVantagePointsHealthChecksVantagePointResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + geos=geos, + name=name, + provider_name=provider_name, + routings=routings, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + geos: Sequence['outputs.GetVantagePointsHealthChecksVantagePointGeoResult'], + name: str, + provider_name: str, + routings: Sequence['outputs.GetVantagePointsHealthChecksVantagePointRoutingResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("geos", geos) + _setter("name", name) + _setter("provider_name", provider_name) + _setter("routings", routings) @property @pulumi.getter(name="displayName") @@ -1240,13 +1544,34 @@ def __init__(__self__, *, :param float latitude: Degrees north of the Equator. :param float longitude: Degrees east of the prime meridian. """ - pulumi.set(__self__, "admin_div_code", admin_div_code) - pulumi.set(__self__, "city_name", city_name) - pulumi.set(__self__, "country_code", country_code) - pulumi.set(__self__, "country_name", country_name) - pulumi.set(__self__, "geo_key", geo_key) - pulumi.set(__self__, "latitude", latitude) - pulumi.set(__self__, "longitude", longitude) + GetVantagePointsHealthChecksVantagePointGeoResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + admin_div_code=admin_div_code, + city_name=city_name, + country_code=country_code, + country_name=country_name, + geo_key=geo_key, + latitude=latitude, + longitude=longitude, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + admin_div_code: str, + city_name: str, + country_code: str, + country_name: str, + geo_key: str, + latitude: float, + longitude: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("admin_div_code", admin_div_code) + _setter("city_name", city_name) + _setter("country_code", country_code) + _setter("country_name", country_name) + _setter("geo_key", geo_key) + _setter("latitude", latitude) + _setter("longitude", longitude) @property @pulumi.getter(name="adminDivCode") @@ -1318,10 +1643,25 @@ def __init__(__self__, *, :param str prefix: An IP prefix (CIDR syntax) that is less specific than `address`, through which `address` is routed. :param int weight: An integer between 0 and 100 used to select between multiple origin ASNs when routing to `prefix`. Most prefixes have exactly one origin ASN, in which case `weight` will be 100. """ - pulumi.set(__self__, "as_label", as_label) - pulumi.set(__self__, "asn", asn) - pulumi.set(__self__, "prefix", prefix) - pulumi.set(__self__, "weight", weight) + GetVantagePointsHealthChecksVantagePointRoutingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + as_label=as_label, + asn=asn, + prefix=prefix, + weight=weight, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + as_label: str, + asn: int, + prefix: str, + weight: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("as_label", as_label) + _setter("asn", asn) + _setter("prefix", prefix) + _setter("weight", weight) @property @pulumi.getter(name="asLabel") diff --git a/sdk/python/pulumi_oci/healthchecks/ping_monitor.py b/sdk/python/pulumi_oci/healthchecks/ping_monitor.py index ebd9ce8b7f..23471456a2 100644 --- a/sdk/python/pulumi_oci/healthchecks/ping_monitor.py +++ b/sdk/python/pulumi_oci/healthchecks/ping_monitor.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['PingMonitorArgs', 'PingMonitor'] @@ -43,23 +43,52 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "interval_in_seconds", interval_in_seconds) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "targets", targets) + PingMonitorArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + interval_in_seconds=interval_in_seconds, + protocol=protocol, + targets=targets, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + is_enabled=is_enabled, + port=port, + timeout_in_seconds=timeout_in_seconds, + vantage_point_names=vantage_point_names, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + interval_in_seconds: pulumi.Input[int], + protocol: pulumi.Input[str], + targets: pulumi.Input[Sequence[pulumi.Input[str]]], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_enabled: Optional[pulumi.Input[bool]] = None, + port: Optional[pulumi.Input[int]] = None, + timeout_in_seconds: Optional[pulumi.Input[int]] = None, + vantage_point_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) + _setter("interval_in_seconds", interval_in_seconds) + _setter("protocol", protocol) + _setter("targets", targets) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if timeout_in_seconds is not None: - pulumi.set(__self__, "timeout_in_seconds", timeout_in_seconds) + _setter("timeout_in_seconds", timeout_in_seconds) if vantage_point_names is not None: - pulumi.set(__self__, "vantage_point_names", vantage_point_names) + _setter("vantage_point_names", vantage_point_names) @property @pulumi.getter(name="compartmentId") @@ -236,34 +265,69 @@ def __init__(__self__, *, ** 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 """ + _PingMonitorState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + home_region=home_region, + interval_in_seconds=interval_in_seconds, + is_enabled=is_enabled, + port=port, + protocol=protocol, + results_url=results_url, + targets=targets, + time_created=time_created, + timeout_in_seconds=timeout_in_seconds, + vantage_point_names=vantage_point_names, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + home_region: Optional[pulumi.Input[str]] = None, + interval_in_seconds: Optional[pulumi.Input[int]] = None, + is_enabled: Optional[pulumi.Input[bool]] = None, + port: Optional[pulumi.Input[int]] = None, + protocol: Optional[pulumi.Input[str]] = None, + results_url: Optional[pulumi.Input[str]] = None, + targets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + timeout_in_seconds: Optional[pulumi.Input[int]] = None, + vantage_point_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if home_region is not None: - pulumi.set(__self__, "home_region", home_region) + _setter("home_region", home_region) if interval_in_seconds is not None: - pulumi.set(__self__, "interval_in_seconds", interval_in_seconds) + _setter("interval_in_seconds", interval_in_seconds) if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if protocol is not None: - pulumi.set(__self__, "protocol", protocol) + _setter("protocol", protocol) if results_url is not None: - pulumi.set(__self__, "results_url", results_url) + _setter("results_url", results_url) if targets is not None: - pulumi.set(__self__, "targets", targets) + _setter("targets", targets) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if timeout_in_seconds is not None: - pulumi.set(__self__, "timeout_in_seconds", timeout_in_seconds) + _setter("timeout_in_seconds", timeout_in_seconds) if vantage_point_names is not None: - pulumi.set(__self__, "vantage_point_names", vantage_point_names) + _setter("vantage_point_names", vantage_point_names) @property @pulumi.getter(name="compartmentId") @@ -567,6 +631,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + PingMonitorArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/healthchecks/ping_probe.py b/sdk/python/pulumi_oci/healthchecks/ping_probe.py index 552b3afb33..f88abec817 100644 --- a/sdk/python/pulumi_oci/healthchecks/ping_probe.py +++ b/sdk/python/pulumi_oci/healthchecks/ping_probe.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['PingProbeArgs', 'PingProbe'] @@ -33,15 +33,34 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "targets", targets) + PingProbeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + protocol=protocol, + targets=targets, + port=port, + timeout_in_seconds=timeout_in_seconds, + vantage_point_names=vantage_point_names, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + protocol: pulumi.Input[str], + targets: pulumi.Input[Sequence[pulumi.Input[str]]], + port: Optional[pulumi.Input[int]] = None, + timeout_in_seconds: Optional[pulumi.Input[int]] = None, + vantage_point_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("protocol", protocol) + _setter("targets", targets) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if timeout_in_seconds is not None: - pulumi.set(__self__, "timeout_in_seconds", timeout_in_seconds) + _setter("timeout_in_seconds", timeout_in_seconds) if vantage_point_names is not None: - pulumi.set(__self__, "vantage_point_names", vantage_point_names) + _setter("vantage_point_names", vantage_point_names) @property @pulumi.getter(name="compartmentId") @@ -148,24 +167,49 @@ def __init__(__self__, *, ** 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 """ + _PingProbeState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + home_region=home_region, + port=port, + protocol=protocol, + results_url=results_url, + targets=targets, + time_created=time_created, + timeout_in_seconds=timeout_in_seconds, + vantage_point_names=vantage_point_names, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + home_region: Optional[pulumi.Input[str]] = None, + port: Optional[pulumi.Input[int]] = None, + protocol: Optional[pulumi.Input[str]] = None, + results_url: Optional[pulumi.Input[str]] = None, + targets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + timeout_in_seconds: Optional[pulumi.Input[int]] = None, + vantage_point_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if home_region is not None: - pulumi.set(__self__, "home_region", home_region) + _setter("home_region", home_region) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if protocol is not None: - pulumi.set(__self__, "protocol", protocol) + _setter("protocol", protocol) if results_url is not None: - pulumi.set(__self__, "results_url", results_url) + _setter("results_url", results_url) if targets is not None: - pulumi.set(__self__, "targets", targets) + _setter("targets", targets) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if timeout_in_seconds is not None: - pulumi.set(__self__, "timeout_in_seconds", timeout_in_seconds) + _setter("timeout_in_seconds", timeout_in_seconds) if vantage_point_names is not None: - pulumi.set(__self__, "vantage_point_names", vantage_point_names) + _setter("vantage_point_names", vantage_point_names) @property @pulumi.getter(name="compartmentId") @@ -383,6 +427,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + PingProbeArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/identity/_inputs.py b/sdk/python/pulumi_oci/identity/_inputs.py index 22bedc8183..55bd82c449 100644 --- a/sdk/python/pulumi_oci/identity/_inputs.py +++ b/sdk/python/pulumi_oci/identity/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -364,8 +364,17 @@ def __init__(__self__, *, """ :param pulumi.Input[Sequence[pulumi.Input[str]]] network_source_ids: (Updatable) Network Source ids """ + AuthenticationPolicyNetworkPolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + network_source_ids=network_source_ids, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + network_source_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if network_source_ids is not None: - pulumi.set(__self__, "network_source_ids", network_source_ids) + _setter("network_source_ids", network_source_ids) @property @pulumi.getter(name="networkSourceIds") @@ -401,18 +410,37 @@ def __init__(__self__, *, ** 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 """ + AuthenticationPolicyPasswordPolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_lowercase_characters_required=is_lowercase_characters_required, + is_numeric_characters_required=is_numeric_characters_required, + is_special_characters_required=is_special_characters_required, + is_uppercase_characters_required=is_uppercase_characters_required, + is_username_containment_allowed=is_username_containment_allowed, + minimum_password_length=minimum_password_length, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_lowercase_characters_required: Optional[pulumi.Input[bool]] = None, + is_numeric_characters_required: Optional[pulumi.Input[bool]] = None, + is_special_characters_required: Optional[pulumi.Input[bool]] = None, + is_uppercase_characters_required: Optional[pulumi.Input[bool]] = None, + is_username_containment_allowed: Optional[pulumi.Input[bool]] = None, + minimum_password_length: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_lowercase_characters_required is not None: - pulumi.set(__self__, "is_lowercase_characters_required", is_lowercase_characters_required) + _setter("is_lowercase_characters_required", is_lowercase_characters_required) if is_numeric_characters_required is not None: - pulumi.set(__self__, "is_numeric_characters_required", is_numeric_characters_required) + _setter("is_numeric_characters_required", is_numeric_characters_required) if is_special_characters_required is not None: - pulumi.set(__self__, "is_special_characters_required", is_special_characters_required) + _setter("is_special_characters_required", is_special_characters_required) if is_uppercase_characters_required is not None: - pulumi.set(__self__, "is_uppercase_characters_required", is_uppercase_characters_required) + _setter("is_uppercase_characters_required", is_uppercase_characters_required) if is_username_containment_allowed is not None: - pulumi.set(__self__, "is_username_containment_allowed", is_username_containment_allowed) + _setter("is_username_containment_allowed", is_username_containment_allowed) if minimum_password_length is not None: - pulumi.set(__self__, "minimum_password_length", minimum_password_length) + _setter("minimum_password_length", minimum_password_length) @property @pulumi.getter(name="isLowercaseCharactersRequired") @@ -502,12 +530,25 @@ def __init__(__self__, *, :param pulumi.Input[str] state: The current state. :param pulumi.Input[str] url: Region agnostic domain URL. """ + DomainReplicaRegionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + region=region, + state=state, + url=url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + region: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + url: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if region is not None: - pulumi.set(__self__, "region", region) + _setter("region", region) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if url is not None: - pulumi.set(__self__, "url", url) + _setter("url", url) @property @pulumi.getter @@ -611,15 +652,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAccountRecoverySettingIdcsCreatedByArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -797,15 +855,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAccountRecoverySettingIdcsLastModifiedByArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -983,16 +1058,33 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsAccountRecoverySettingMetaArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: Optional[pulumi.Input[str]] = None, + last_modified: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + resource_type: Optional[pulumi.Input[str]] = None, + version: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if created is not None: - pulumi.set(__self__, "created", created) + _setter("created", created) if last_modified is not None: - pulumi.set(__self__, "last_modified", last_modified) + _setter("last_modified", last_modified) if location is not None: - pulumi.set(__self__, "location", location) + _setter("location", location) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter @@ -1134,8 +1226,19 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsAccountRecoverySettingTagArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: pulumi.Input[str], + value: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -1251,15 +1354,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsApiKeyIdcsCreatedByArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -1445,15 +1565,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsApiKeyIdcsLastModifiedByArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -1635,16 +1772,33 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsApiKeyMetaArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: Optional[pulumi.Input[str]] = None, + last_modified: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + resource_type: Optional[pulumi.Input[str]] = None, + version: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if created is not None: - pulumi.set(__self__, "created", created) + _setter("created", created) if last_modified is not None: - pulumi.set(__self__, "last_modified", last_modified) + _setter("last_modified", last_modified) if location is not None: - pulumi.set(__self__, "location", location) + _setter("location", location) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter @@ -1790,8 +1944,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsApiKeyTagArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: pulumi.Input[str], + value: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -1860,8 +2025,17 @@ def __init__(__self__, *, * type: boolean * uniqueness: none """ + DomainsApiKeyUrnietfparamsscimschemasoracleidcsextensionselfChangeUserArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + allow_self_change=allow_self_change, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allow_self_change: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if allow_self_change is not None: - pulumi.set(__self__, "allow_self_change", allow_self_change) + _setter("allow_self_change", allow_self_change) @property @pulumi.getter(name="allowSelfChange") @@ -1956,16 +2130,33 @@ def __init__(__self__, *, ** 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 """ + DomainsApiKeyUserArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + name=name, + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -2151,16 +2342,33 @@ def __init__(__self__, *, ** 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 """ + DomainsAppAccountArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + active=active, + name=name, + owner_id=owner_id, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + active: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + owner_id: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if active is not None: - pulumi.set(__self__, "active", active) + _setter("active", active) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if owner_id is not None: - pulumi.set(__self__, "owner_id", owner_id) + _setter("owner_id", owner_id) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -2330,13 +2538,28 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAppAdminRoleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + description=description, + display=display, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + description: Optional[pulumi.Input[str]] = None, + display: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -2480,13 +2703,28 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAppAliasAppArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + description=description, + display=display, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + description: Optional[pulumi.Input[str]] = None, + display: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -2619,11 +2857,24 @@ def __init__(__self__, *, * type: boolean * uniqueness: none """ - pulumi.set(__self__, "fqs", fqs) + DomainsAppAllowedScopeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + fqs=fqs, + id_of_defining_app=id_of_defining_app, + read_only=read_only, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + fqs: pulumi.Input[str], + id_of_defining_app: Optional[pulumi.Input[str]] = None, + read_only: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("fqs", fqs) if id_of_defining_app is not None: - pulumi.set(__self__, "id_of_defining_app", id_of_defining_app) + _setter("id_of_defining_app", id_of_defining_app) if read_only is not None: - pulumi.set(__self__, "read_only", read_only) + _setter("read_only", read_only) @property @pulumi.getter @@ -2739,10 +2990,23 @@ def __init__(__self__, *, * type: boolean * uniqueness: none """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsAppAllowedTagArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + read_only=read_only, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: pulumi.Input[str], + value: pulumi.Input[str], + read_only: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) if read_only is not None: - pulumi.set(__self__, "read_only", read_only) + _setter("read_only", read_only) @property @pulumi.getter @@ -2847,9 +3111,20 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAppAppSignonPolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + ref: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -2929,9 +3204,20 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAppAppsNetworkPerimeterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + ref: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -3011,9 +3297,20 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAppAsOpcServiceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + ref: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -3239,35 +3536,72 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "name", name) + DomainsAppAttrRenderingMetadataArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + datatype=datatype, + helptext=helptext, + label=label, + max_length=max_length, + max_size=max_size, + min_length=min_length, + min_size=min_size, + order=order, + read_only=read_only, + regexp=regexp, + required=required, + section=section, + visible=visible, + widget=widget, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: pulumi.Input[str], + datatype: Optional[pulumi.Input[str]] = None, + helptext: Optional[pulumi.Input[str]] = None, + label: Optional[pulumi.Input[str]] = None, + max_length: Optional[pulumi.Input[int]] = None, + max_size: Optional[pulumi.Input[int]] = None, + min_length: Optional[pulumi.Input[int]] = None, + min_size: Optional[pulumi.Input[int]] = None, + order: Optional[pulumi.Input[int]] = None, + read_only: Optional[pulumi.Input[bool]] = None, + regexp: Optional[pulumi.Input[str]] = None, + required: Optional[pulumi.Input[bool]] = None, + section: Optional[pulumi.Input[str]] = None, + visible: Optional[pulumi.Input[bool]] = None, + widget: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) if datatype is not None: - pulumi.set(__self__, "datatype", datatype) + _setter("datatype", datatype) if helptext is not None: - pulumi.set(__self__, "helptext", helptext) + _setter("helptext", helptext) if label is not None: - pulumi.set(__self__, "label", label) + _setter("label", label) if max_length is not None: - pulumi.set(__self__, "max_length", max_length) + _setter("max_length", max_length) if max_size is not None: - pulumi.set(__self__, "max_size", max_size) + _setter("max_size", max_size) if min_length is not None: - pulumi.set(__self__, "min_length", min_length) + _setter("min_length", min_length) if min_size is not None: - pulumi.set(__self__, "min_size", min_size) + _setter("min_size", min_size) if order is not None: - pulumi.set(__self__, "order", order) + _setter("order", order) if read_only is not None: - pulumi.set(__self__, "read_only", read_only) + _setter("read_only", read_only) if regexp is not None: - pulumi.set(__self__, "regexp", regexp) + _setter("regexp", regexp) if required is not None: - pulumi.set(__self__, "required", required) + _setter("required", required) if section is not None: - pulumi.set(__self__, "section", section) + _setter("section", section) if visible is not None: - pulumi.set(__self__, "visible", visible) + _setter("visible", visible) if widget is not None: - pulumi.set(__self__, "widget", widget) + _setter("widget", widget) @property @pulumi.getter @@ -3649,13 +3983,28 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAppBasedOnTemplateArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + last_modified=last_modified, + ref=ref, + well_known_id=well_known_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + last_modified: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + well_known_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if last_modified is not None: - pulumi.set(__self__, "last_modified", last_modified) + _setter("last_modified", last_modified) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if well_known_id is not None: - pulumi.set(__self__, "well_known_id", well_known_id) + _setter("well_known_id", well_known_id) @property @pulumi.getter @@ -3815,15 +4164,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "cert_alias", cert_alias) + DomainsAppCertificateArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + cert_alias=cert_alias, + kid=kid, + sha1thumbprint=sha1thumbprint, + x509base64certificate=x509base64certificate, + x5t=x5t, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cert_alias: pulumi.Input[str], + kid: Optional[pulumi.Input[str]] = None, + sha1thumbprint: Optional[pulumi.Input[str]] = None, + x509base64certificate: Optional[pulumi.Input[str]] = None, + x5t: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cert_alias", cert_alias) if kid is not None: - pulumi.set(__self__, "kid", kid) + _setter("kid", kid) if sha1thumbprint is not None: - pulumi.set(__self__, "sha1thumbprint", sha1thumbprint) + _setter("sha1thumbprint", sha1thumbprint) if x509base64certificate is not None: - pulumi.set(__self__, "x509base64certificate", x509base64certificate) + _setter("x509base64certificate", x509base64certificate) if x5t is not None: - pulumi.set(__self__, "x5t", x5t) + _setter("x5t", x5t) @property @pulumi.getter(name="certAlias") @@ -3969,8 +4335,19 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + DomainsAppCloudControlPropertyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: pulumi.Input[str], + values: pulumi.Input[Sequence[pulumi.Input[str]]], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) @property @pulumi.getter @@ -4041,7 +4418,16 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "name", name) + DomainsAppEditableAttributeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -4139,16 +4525,33 @@ def __init__(__self__, *, ** 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 """ + DomainsAppGrantArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + grant_mechanism=grant_mechanism, + grantee_id=grantee_id, + grantee_type=grantee_type, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + grant_mechanism: Optional[pulumi.Input[str]] = None, + grantee_id: Optional[pulumi.Input[str]] = None, + grantee_type: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if grant_mechanism is not None: - pulumi.set(__self__, "grant_mechanism", grant_mechanism) + _setter("grant_mechanism", grant_mechanism) if grantee_id is not None: - pulumi.set(__self__, "grantee_id", grantee_id) + _setter("grantee_id", grantee_id) if grantee_type is not None: - pulumi.set(__self__, "grantee_type", grantee_type) + _setter("grantee_type", grantee_type) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter(name="grantMechanism") @@ -4381,23 +4784,48 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAppGrantedAppRoleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + admin_role=admin_role, + app_id=app_id, + app_name=app_name, + display=display, + legacy_group_name=legacy_group_name, + read_only=read_only, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + admin_role: Optional[pulumi.Input[bool]] = None, + app_id: Optional[pulumi.Input[str]] = None, + app_name: Optional[pulumi.Input[str]] = None, + display: Optional[pulumi.Input[str]] = None, + legacy_group_name: Optional[pulumi.Input[str]] = None, + read_only: Optional[pulumi.Input[bool]] = None, + ref: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if admin_role is not None: - pulumi.set(__self__, "admin_role", admin_role) + _setter("admin_role", admin_role) if app_id is not None: - pulumi.set(__self__, "app_id", app_id) + _setter("app_id", app_id) if app_name is not None: - pulumi.set(__self__, "app_name", app_name) + _setter("app_name", app_name) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if legacy_group_name is not None: - pulumi.set(__self__, "legacy_group_name", legacy_group_name) + _setter("legacy_group_name", legacy_group_name) if read_only is not None: - pulumi.set(__self__, "read_only", read_only) + _setter("read_only", read_only) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -4669,15 +5097,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAppIdcsCreatedByArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -4863,15 +5308,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAppIdcsLastModifiedByArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -5030,11 +5492,24 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAppIdentityProviderArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -5135,9 +5610,20 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAppIdpPolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + ref: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -5250,16 +5736,33 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsAppMetaArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: Optional[pulumi.Input[str]] = None, + last_modified: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + resource_type: Optional[pulumi.Input[str]] = None, + version: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if created is not None: - pulumi.set(__self__, "created", created) + _setter("created", created) if last_modified is not None: - pulumi.set(__self__, "last_modified", last_modified) + _setter("last_modified", last_modified) if location is not None: - pulumi.set(__self__, "location", location) + _setter("location", location) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter @@ -5404,9 +5907,20 @@ def __init__(__self__, *, * type: boolean * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAppProtectableSecondaryAudienceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + read_only=read_only, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + read_only: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if read_only is not None: - pulumi.set(__self__, "read_only", read_only) + _setter("read_only", read_only) @property @pulumi.getter @@ -5488,9 +6002,20 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAppRadiusPolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + ref: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -5601,15 +6126,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAppRoleAppArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + name=name, + ref=ref, + service_instance_identifier=service_instance_identifier, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + service_instance_identifier: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if service_instance_identifier is not None: - pulumi.set(__self__, "service_instance_identifier", service_instance_identifier) + _setter("service_instance_identifier", service_instance_identifier) @property @pulumi.getter @@ -5784,15 +6326,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAppRoleIdcsCreatedByArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -5970,15 +6529,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAppRoleIdcsLastModifiedByArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -6144,12 +6720,27 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + DomainsAppRoleMemberArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + display=display, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -6305,16 +6896,33 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsAppRoleMetaArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: Optional[pulumi.Input[str]] = None, + last_modified: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + resource_type: Optional[pulumi.Input[str]] = None, + version: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if created is not None: - pulumi.set(__self__, "created", created) + _setter("created", created) if last_modified is not None: - pulumi.set(__self__, "last_modified", last_modified) + _setter("last_modified", last_modified) if location is not None: - pulumi.set(__self__, "location", location) + _setter("location", location) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter @@ -6456,8 +7064,19 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsAppRoleTagArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: pulumi.Input[str], + value: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -6535,9 +7154,20 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAppSamlServiceProviderArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + ref: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -6666,17 +7296,36 @@ def __init__(__self__, *, * type: boolean * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAppScopeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + description=description, + display_name=display_name, + fqs=fqs, + read_only=read_only, + requires_consent=requires_consent, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + fqs: Optional[pulumi.Input[str]] = None, + read_only: Optional[pulumi.Input[bool]] = None, + requires_consent: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if fqs is not None: - pulumi.set(__self__, "fqs", fqs) + _setter("fqs", fqs) if read_only is not None: - pulumi.set(__self__, "read_only", read_only) + _setter("read_only", read_only) if requires_consent is not None: - pulumi.set(__self__, "requires_consent", requires_consent) + _setter("requires_consent", requires_consent) @property @pulumi.getter @@ -6849,9 +7498,20 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "name", name) + DomainsAppServiceParamArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: pulumi.Input[str], + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -6935,9 +7595,20 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAppSignonPolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + ref: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -7019,8 +7690,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsAppTagArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: pulumi.Input[str], + value: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -7117,11 +7799,24 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAppTermsOfUseArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + name=name, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + name: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -7226,9 +7921,20 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAppTrustPolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + ref: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -7317,12 +8023,25 @@ def __init__(__self__, *, * mutability: readOnly * returned: request """ + DomainsAppUrnietfparamsscimschemasoracleidcsextensionOciTagsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + defined_tags=defined_tags, + freeform_tags=freeform_tags, + tag_slug=tag_slug, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + defined_tags: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAppUrnietfparamsscimschemasoracleidcsextensionOciTagsDefinedTagArgs']]]] = None, + freeform_tags: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAppUrnietfparamsscimschemasoracleidcsextensionOciTagsFreeformTagArgs']]]] = None, + tag_slug: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if tag_slug is not None: - pulumi.set(__self__, "tag_slug", tag_slug) + _setter("tag_slug", tag_slug) @property @pulumi.getter(name="definedTags") @@ -7436,9 +8155,22 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "value", value) + DomainsAppUrnietfparamsscimschemasoracleidcsextensionOciTagsDefinedTagArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + namespace=namespace, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: pulumi.Input[str], + namespace: pulumi.Input[str], + value: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("namespace", namespace) + _setter("value", value) @property @pulumi.getter @@ -7545,8 +8277,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsAppUrnietfparamsscimschemasoracleidcsextensionOciTagsFreeformTagArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: pulumi.Input[str], + value: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -7629,10 +8372,21 @@ def __init__(__self__, *, * type: string * uniqueness: server """ + DomainsAppUrnietfparamsscimschemasoracleidcsextensiondbcsAppArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + domain_app=domain_app, + domain_name=domain_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + domain_app: Optional[pulumi.Input['DomainsAppUrnietfparamsscimschemasoracleidcsextensiondbcsAppDomainAppArgs']] = None, + domain_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if domain_app is not None: - pulumi.set(__self__, "domain_app", domain_app) + _setter("domain_app", domain_app) if domain_name is not None: - pulumi.set(__self__, "domain_name", domain_name) + _setter("domain_name", domain_name) @property @pulumi.getter(name="domainApp") @@ -7724,11 +8478,24 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAppUrnietfparamsscimschemasoracleidcsextensiondbcsAppDomainAppArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -7871,16 +8638,33 @@ def __init__(__self__, *, * returned: default * type: complex """ + DomainsAppUrnietfparamsscimschemasoracleidcsextensionenterpriseAppAppArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + allow_authz_decision_ttl=allow_authz_decision_ttl, + allow_authz_policy=allow_authz_policy, + app_resources=app_resources, + deny_authz_decision_ttl=deny_authz_decision_ttl, + deny_authz_policy=deny_authz_policy, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allow_authz_decision_ttl: Optional[pulumi.Input[int]] = None, + allow_authz_policy: Optional[pulumi.Input['DomainsAppUrnietfparamsscimschemasoracleidcsextensionenterpriseAppAppAllowAuthzPolicyArgs']] = None, + app_resources: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAppUrnietfparamsscimschemasoracleidcsextensionenterpriseAppAppAppResourceArgs']]]] = None, + deny_authz_decision_ttl: Optional[pulumi.Input[int]] = None, + deny_authz_policy: Optional[pulumi.Input['DomainsAppUrnietfparamsscimschemasoracleidcsextensionenterpriseAppAppDenyAuthzPolicyArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if allow_authz_decision_ttl is not None: - pulumi.set(__self__, "allow_authz_decision_ttl", allow_authz_decision_ttl) + _setter("allow_authz_decision_ttl", allow_authz_decision_ttl) if allow_authz_policy is not None: - pulumi.set(__self__, "allow_authz_policy", allow_authz_policy) + _setter("allow_authz_policy", allow_authz_policy) if app_resources is not None: - pulumi.set(__self__, "app_resources", app_resources) + _setter("app_resources", app_resources) if deny_authz_decision_ttl is not None: - pulumi.set(__self__, "deny_authz_decision_ttl", deny_authz_decision_ttl) + _setter("deny_authz_decision_ttl", deny_authz_decision_ttl) if deny_authz_policy is not None: - pulumi.set(__self__, "deny_authz_policy", deny_authz_policy) + _setter("deny_authz_policy", deny_authz_policy) @property @pulumi.getter(name="allowAuthzDecisionTtl") @@ -8032,9 +8816,20 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAppUrnietfparamsscimschemasoracleidcsextensionenterpriseAppAppAllowAuthzPolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + ref: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -8114,9 +8909,20 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAppUrnietfparamsscimschemasoracleidcsextensionenterpriseAppAppAppResourceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + ref: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -8196,9 +9002,20 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAppUrnietfparamsscimschemasoracleidcsextensionenterpriseAppAppDenyAuthzPolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + ref: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -8359,24 +9176,49 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsAppUrnietfparamsscimschemasoracleidcsextensionformFillAppAppArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + configuration=configuration, + form_cred_method=form_cred_method, + form_credential_sharing_group_id=form_credential_sharing_group_id, + form_fill_url_matches=form_fill_url_matches, + form_type=form_type, + reveal_password_on_form=reveal_password_on_form, + sync_from_template=sync_from_template, + user_name_form_expression=user_name_form_expression, + user_name_form_template=user_name_form_template, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + configuration: Optional[pulumi.Input[str]] = None, + form_cred_method: Optional[pulumi.Input[str]] = None, + form_credential_sharing_group_id: Optional[pulumi.Input[str]] = None, + form_fill_url_matches: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAppUrnietfparamsscimschemasoracleidcsextensionformFillAppAppFormFillUrlMatchArgs']]]] = None, + form_type: Optional[pulumi.Input[str]] = None, + reveal_password_on_form: Optional[pulumi.Input[bool]] = None, + sync_from_template: Optional[pulumi.Input[bool]] = None, + user_name_form_expression: Optional[pulumi.Input[str]] = None, + user_name_form_template: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if configuration is not None: - pulumi.set(__self__, "configuration", configuration) + _setter("configuration", configuration) if form_cred_method is not None: - pulumi.set(__self__, "form_cred_method", form_cred_method) + _setter("form_cred_method", form_cred_method) if form_credential_sharing_group_id is not None: - pulumi.set(__self__, "form_credential_sharing_group_id", form_credential_sharing_group_id) + _setter("form_credential_sharing_group_id", form_credential_sharing_group_id) if form_fill_url_matches is not None: - pulumi.set(__self__, "form_fill_url_matches", form_fill_url_matches) + _setter("form_fill_url_matches", form_fill_url_matches) if form_type is not None: - pulumi.set(__self__, "form_type", form_type) + _setter("form_type", form_type) if reveal_password_on_form is not None: - pulumi.set(__self__, "reveal_password_on_form", reveal_password_on_form) + _setter("reveal_password_on_form", reveal_password_on_form) if sync_from_template is not None: - pulumi.set(__self__, "sync_from_template", sync_from_template) + _setter("sync_from_template", sync_from_template) if user_name_form_expression is not None: - pulumi.set(__self__, "user_name_form_expression", user_name_form_expression) + _setter("user_name_form_expression", user_name_form_expression) if user_name_form_template is not None: - pulumi.set(__self__, "user_name_form_template", user_name_form_template) + _setter("user_name_form_template", user_name_form_template) @property @pulumi.getter @@ -8605,9 +9447,20 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "form_url", form_url) + DomainsAppUrnietfparamsscimschemasoracleidcsextensionformFillAppAppFormFillUrlMatchArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + form_url=form_url, + form_url_match_type=form_url_match_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + form_url: pulumi.Input[str], + form_url_match_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("form_url", form_url) if form_url_match_type is not None: - pulumi.set(__self__, "form_url_match_type", form_url_match_type) + _setter("form_url_match_type", form_url_match_type) @property @pulumi.getter(name="formUrl") @@ -8766,24 +9619,49 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsAppUrnietfparamsscimschemasoracleidcsextensionformFillAppTemplateAppTemplateArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + configuration=configuration, + form_cred_method=form_cred_method, + form_credential_sharing_group_id=form_credential_sharing_group_id, + form_fill_url_matches=form_fill_url_matches, + form_type=form_type, + reveal_password_on_form=reveal_password_on_form, + sync_from_template=sync_from_template, + user_name_form_expression=user_name_form_expression, + user_name_form_template=user_name_form_template, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + configuration: Optional[pulumi.Input[str]] = None, + form_cred_method: Optional[pulumi.Input[str]] = None, + form_credential_sharing_group_id: Optional[pulumi.Input[str]] = None, + form_fill_url_matches: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAppUrnietfparamsscimschemasoracleidcsextensionformFillAppTemplateAppTemplateFormFillUrlMatchArgs']]]] = None, + form_type: Optional[pulumi.Input[str]] = None, + reveal_password_on_form: Optional[pulumi.Input[bool]] = None, + sync_from_template: Optional[pulumi.Input[bool]] = None, + user_name_form_expression: Optional[pulumi.Input[str]] = None, + user_name_form_template: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if configuration is not None: - pulumi.set(__self__, "configuration", configuration) + _setter("configuration", configuration) if form_cred_method is not None: - pulumi.set(__self__, "form_cred_method", form_cred_method) + _setter("form_cred_method", form_cred_method) if form_credential_sharing_group_id is not None: - pulumi.set(__self__, "form_credential_sharing_group_id", form_credential_sharing_group_id) + _setter("form_credential_sharing_group_id", form_credential_sharing_group_id) if form_fill_url_matches is not None: - pulumi.set(__self__, "form_fill_url_matches", form_fill_url_matches) + _setter("form_fill_url_matches", form_fill_url_matches) if form_type is not None: - pulumi.set(__self__, "form_type", form_type) + _setter("form_type", form_type) if reveal_password_on_form is not None: - pulumi.set(__self__, "reveal_password_on_form", reveal_password_on_form) + _setter("reveal_password_on_form", reveal_password_on_form) if sync_from_template is not None: - pulumi.set(__self__, "sync_from_template", sync_from_template) + _setter("sync_from_template", sync_from_template) if user_name_form_expression is not None: - pulumi.set(__self__, "user_name_form_expression", user_name_form_expression) + _setter("user_name_form_expression", user_name_form_expression) if user_name_form_template is not None: - pulumi.set(__self__, "user_name_form_template", user_name_form_template) + _setter("user_name_form_template", user_name_form_template) @property @pulumi.getter @@ -9012,9 +9890,20 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "form_url", form_url) + DomainsAppUrnietfparamsscimschemasoracleidcsextensionformFillAppTemplateAppTemplateFormFillUrlMatchArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + form_url=form_url, + form_url_match_type=form_url_match_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + form_url: pulumi.Input[str], + form_url_match_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("form_url", form_url) if form_url_match_type is not None: - pulumi.set(__self__, "form_url_match_type", form_url_match_type) + _setter("form_url_match_type", form_url_match_type) @property @pulumi.getter(name="formUrl") @@ -9144,20 +10033,41 @@ def __init__(__self__, *, * type: integer * uniqueness: none """ + DomainsAppUrnietfparamsscimschemasoracleidcsextensionkerberosRealmAppArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + default_encryption_salt_type=default_encryption_salt_type, + master_key=master_key, + max_renewable_age=max_renewable_age, + max_ticket_life=max_ticket_life, + realm_name=realm_name, + supported_encryption_salt_types=supported_encryption_salt_types, + ticket_flags=ticket_flags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + default_encryption_salt_type: Optional[pulumi.Input[str]] = None, + master_key: Optional[pulumi.Input[str]] = None, + max_renewable_age: Optional[pulumi.Input[int]] = None, + max_ticket_life: Optional[pulumi.Input[int]] = None, + realm_name: Optional[pulumi.Input[str]] = None, + supported_encryption_salt_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + ticket_flags: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if default_encryption_salt_type is not None: - pulumi.set(__self__, "default_encryption_salt_type", default_encryption_salt_type) + _setter("default_encryption_salt_type", default_encryption_salt_type) if master_key is not None: - pulumi.set(__self__, "master_key", master_key) + _setter("master_key", master_key) if max_renewable_age is not None: - pulumi.set(__self__, "max_renewable_age", max_renewable_age) + _setter("max_renewable_age", max_renewable_age) if max_ticket_life is not None: - pulumi.set(__self__, "max_ticket_life", max_ticket_life) + _setter("max_ticket_life", max_ticket_life) if realm_name is not None: - pulumi.set(__self__, "realm_name", realm_name) + _setter("realm_name", realm_name) if supported_encryption_salt_types is not None: - pulumi.set(__self__, "supported_encryption_salt_types", supported_encryption_salt_types) + _setter("supported_encryption_salt_types", supported_encryption_salt_types) if ticket_flags is not None: - pulumi.set(__self__, "ticket_flags", ticket_flags) + _setter("ticket_flags", ticket_flags) @property @pulumi.getter(name="defaultEncryptionSaltType") @@ -9618,54 +10528,109 @@ def __init__(__self__, *, * returned: default * type: string """ + DomainsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_form_visible=account_form_visible, + admin_consent_granted=admin_consent_granted, + bundle_configuration_properties=bundle_configuration_properties, + bundle_pool_configuration=bundle_pool_configuration, + can_be_authoritative=can_be_authoritative, + connected=connected, + connector_bundles=connector_bundles, + enable_auth_sync_new_user_notification=enable_auth_sync_new_user_notification, + enable_sync=enable_sync, + enable_sync_summary_report_notification=enable_sync_summary_report_notification, + flat_file_bundle_configuration_properties=flat_file_bundle_configuration_properties, + flat_file_connector_bundle=flat_file_connector_bundle, + identity_bridges=identity_bridges, + is_authoritative=is_authoritative, + is_directory=is_directory, + is_on_premise_app=is_on_premise_app, + is_schema_customization_supported=is_schema_customization_supported, + is_schema_discovery_supported=is_schema_discovery_supported, + is_three_legged_oauth_enabled=is_three_legged_oauth_enabled, + is_two_legged_oauth_enabled=is_two_legged_oauth_enabled, + object_classes=object_classes, + sync_config_last_modified=sync_config_last_modified, + three_legged_oauth_credential=three_legged_oauth_credential, + three_legged_oauth_provider_name=three_legged_oauth_provider_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_form_visible: Optional[pulumi.Input[bool]] = None, + admin_consent_granted: Optional[pulumi.Input[bool]] = None, + bundle_configuration_properties: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppBundleConfigurationPropertyArgs']]]] = None, + bundle_pool_configuration: Optional[pulumi.Input['DomainsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppBundlePoolConfigurationArgs']] = None, + can_be_authoritative: Optional[pulumi.Input[bool]] = None, + connected: Optional[pulumi.Input[bool]] = None, + connector_bundles: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppConnectorBundleArgs']]]] = None, + enable_auth_sync_new_user_notification: Optional[pulumi.Input[bool]] = None, + enable_sync: Optional[pulumi.Input[bool]] = None, + enable_sync_summary_report_notification: Optional[pulumi.Input[bool]] = None, + flat_file_bundle_configuration_properties: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppFlatFileBundleConfigurationPropertyArgs']]]] = None, + flat_file_connector_bundle: Optional[pulumi.Input['DomainsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppFlatFileConnectorBundleArgs']] = None, + identity_bridges: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppIdentityBridgeArgs']]]] = None, + is_authoritative: Optional[pulumi.Input[bool]] = None, + is_directory: Optional[pulumi.Input[bool]] = None, + is_on_premise_app: Optional[pulumi.Input[bool]] = None, + is_schema_customization_supported: Optional[pulumi.Input[bool]] = None, + is_schema_discovery_supported: Optional[pulumi.Input[bool]] = None, + is_three_legged_oauth_enabled: Optional[pulumi.Input[bool]] = None, + is_two_legged_oauth_enabled: Optional[pulumi.Input[bool]] = None, + object_classes: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppObjectClassArgs']]]] = None, + sync_config_last_modified: Optional[pulumi.Input[str]] = None, + three_legged_oauth_credential: Optional[pulumi.Input['DomainsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppThreeLeggedOauthCredentialArgs']] = None, + three_legged_oauth_provider_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if account_form_visible is not None: - pulumi.set(__self__, "account_form_visible", account_form_visible) + _setter("account_form_visible", account_form_visible) if admin_consent_granted is not None: - pulumi.set(__self__, "admin_consent_granted", admin_consent_granted) + _setter("admin_consent_granted", admin_consent_granted) if bundle_configuration_properties is not None: - pulumi.set(__self__, "bundle_configuration_properties", bundle_configuration_properties) + _setter("bundle_configuration_properties", bundle_configuration_properties) if bundle_pool_configuration is not None: - pulumi.set(__self__, "bundle_pool_configuration", bundle_pool_configuration) + _setter("bundle_pool_configuration", bundle_pool_configuration) if can_be_authoritative is not None: - pulumi.set(__self__, "can_be_authoritative", can_be_authoritative) + _setter("can_be_authoritative", can_be_authoritative) if connected is not None: - pulumi.set(__self__, "connected", connected) + _setter("connected", connected) if connector_bundles is not None: - pulumi.set(__self__, "connector_bundles", connector_bundles) + _setter("connector_bundles", connector_bundles) if enable_auth_sync_new_user_notification is not None: - pulumi.set(__self__, "enable_auth_sync_new_user_notification", enable_auth_sync_new_user_notification) + _setter("enable_auth_sync_new_user_notification", enable_auth_sync_new_user_notification) if enable_sync is not None: - pulumi.set(__self__, "enable_sync", enable_sync) + _setter("enable_sync", enable_sync) if enable_sync_summary_report_notification is not None: - pulumi.set(__self__, "enable_sync_summary_report_notification", enable_sync_summary_report_notification) + _setter("enable_sync_summary_report_notification", enable_sync_summary_report_notification) if flat_file_bundle_configuration_properties is not None: - pulumi.set(__self__, "flat_file_bundle_configuration_properties", flat_file_bundle_configuration_properties) + _setter("flat_file_bundle_configuration_properties", flat_file_bundle_configuration_properties) if flat_file_connector_bundle is not None: - pulumi.set(__self__, "flat_file_connector_bundle", flat_file_connector_bundle) + _setter("flat_file_connector_bundle", flat_file_connector_bundle) if identity_bridges is not None: - pulumi.set(__self__, "identity_bridges", identity_bridges) + _setter("identity_bridges", identity_bridges) if is_authoritative is not None: - pulumi.set(__self__, "is_authoritative", is_authoritative) + _setter("is_authoritative", is_authoritative) if is_directory is not None: - pulumi.set(__self__, "is_directory", is_directory) + _setter("is_directory", is_directory) if is_on_premise_app is not None: - pulumi.set(__self__, "is_on_premise_app", is_on_premise_app) + _setter("is_on_premise_app", is_on_premise_app) if is_schema_customization_supported is not None: - pulumi.set(__self__, "is_schema_customization_supported", is_schema_customization_supported) + _setter("is_schema_customization_supported", is_schema_customization_supported) if is_schema_discovery_supported is not None: - pulumi.set(__self__, "is_schema_discovery_supported", is_schema_discovery_supported) + _setter("is_schema_discovery_supported", is_schema_discovery_supported) if is_three_legged_oauth_enabled is not None: - pulumi.set(__self__, "is_three_legged_oauth_enabled", is_three_legged_oauth_enabled) + _setter("is_three_legged_oauth_enabled", is_three_legged_oauth_enabled) if is_two_legged_oauth_enabled is not None: - pulumi.set(__self__, "is_two_legged_oauth_enabled", is_two_legged_oauth_enabled) + _setter("is_two_legged_oauth_enabled", is_two_legged_oauth_enabled) if object_classes is not None: - pulumi.set(__self__, "object_classes", object_classes) + _setter("object_classes", object_classes) if sync_config_last_modified is not None: - pulumi.set(__self__, "sync_config_last_modified", sync_config_last_modified) + _setter("sync_config_last_modified", sync_config_last_modified) if three_legged_oauth_credential is not None: - pulumi.set(__self__, "three_legged_oauth_credential", three_legged_oauth_credential) + _setter("three_legged_oauth_credential", three_legged_oauth_credential) if three_legged_oauth_provider_name is not None: - pulumi.set(__self__, "three_legged_oauth_provider_name", three_legged_oauth_provider_name) + _setter("three_legged_oauth_provider_name", three_legged_oauth_provider_name) @property @pulumi.getter(name="accountFormVisible") @@ -10318,19 +11283,42 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "icf_type", icf_type) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "required", required) + DomainsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppBundleConfigurationPropertyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + icf_type=icf_type, + name=name, + required=required, + confidential=confidential, + display_name=display_name, + help_message=help_message, + order=order, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + icf_type: pulumi.Input[str], + name: pulumi.Input[str], + required: pulumi.Input[bool], + confidential: Optional[pulumi.Input[bool]] = None, + display_name: Optional[pulumi.Input[str]] = None, + help_message: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[int]] = None, + values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("icf_type", icf_type) + _setter("name", name) + _setter("required", required) if confidential is not None: - pulumi.set(__self__, "confidential", confidential) + _setter("confidential", confidential) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if help_message is not None: - pulumi.set(__self__, "help_message", help_message) + _setter("help_message", help_message) if order is not None: - pulumi.set(__self__, "order", order) + _setter("order", order) if values is not None: - pulumi.set(__self__, "values", values) + _setter("values", values) @property @pulumi.getter(name="icfType") @@ -10578,16 +11566,33 @@ def __init__(__self__, *, * type: integer * uniqueness: none """ + DomainsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppBundlePoolConfigurationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + max_idle=max_idle, + max_objects=max_objects, + max_wait=max_wait, + min_evictable_idle_time_millis=min_evictable_idle_time_millis, + min_idle=min_idle, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max_idle: Optional[pulumi.Input[int]] = None, + max_objects: Optional[pulumi.Input[int]] = None, + max_wait: Optional[pulumi.Input[int]] = None, + min_evictable_idle_time_millis: Optional[pulumi.Input[int]] = None, + min_idle: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if max_idle is not None: - pulumi.set(__self__, "max_idle", max_idle) + _setter("max_idle", max_idle) if max_objects is not None: - pulumi.set(__self__, "max_objects", max_objects) + _setter("max_objects", max_objects) if max_wait is not None: - pulumi.set(__self__, "max_wait", max_wait) + _setter("max_wait", max_wait) if min_evictable_idle_time_millis is not None: - pulumi.set(__self__, "min_evictable_idle_time_millis", min_evictable_idle_time_millis) + _setter("min_evictable_idle_time_millis", min_evictable_idle_time_millis) if min_idle is not None: - pulumi.set(__self__, "min_idle", min_idle) + _setter("min_idle", min_idle) @property @pulumi.getter(name="maxIdle") @@ -10771,14 +11776,31 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + DomainsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppConnectorBundleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + display=display, + ref=ref, + well_known_id=well_known_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + well_known_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if well_known_id is not None: - pulumi.set(__self__, "well_known_id", well_known_id) + _setter("well_known_id", well_known_id) @property @pulumi.getter @@ -11002,19 +12024,42 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "icf_type", icf_type) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "required", required) + DomainsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppFlatFileBundleConfigurationPropertyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + icf_type=icf_type, + name=name, + required=required, + confidential=confidential, + display_name=display_name, + help_message=help_message, + order=order, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + icf_type: pulumi.Input[str], + name: pulumi.Input[str], + required: pulumi.Input[bool], + confidential: Optional[pulumi.Input[bool]] = None, + display_name: Optional[pulumi.Input[str]] = None, + help_message: Optional[pulumi.Input[str]] = None, + order: Optional[pulumi.Input[int]] = None, + values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("icf_type", icf_type) + _setter("name", name) + _setter("required", required) if confidential is not None: - pulumi.set(__self__, "confidential", confidential) + _setter("confidential", confidential) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if help_message is not None: - pulumi.set(__self__, "help_message", help_message) + _setter("help_message", help_message) if order is not None: - pulumi.set(__self__, "order", order) + _setter("order", order) if values is not None: - pulumi.set(__self__, "values", values) + _setter("values", values) @property @pulumi.getter(name="icfType") @@ -11253,13 +12298,28 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppFlatFileConnectorBundleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ref=ref, + well_known_id=well_known_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + well_known_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if well_known_id is not None: - pulumi.set(__self__, "well_known_id", well_known_id) + _setter("well_known_id", well_known_id) @property @pulumi.getter @@ -11399,12 +12459,25 @@ def __init__(__self__, *, ** 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 """ + DomainsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppIdentityBridgeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -11557,16 +12630,35 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + DomainsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppObjectClassArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + display=display, + is_account_object_class=is_account_object_class, + ref=ref, + resource_type=resource_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + is_account_object_class: Optional[pulumi.Input[bool]] = None, + ref: Optional[pulumi.Input[str]] = None, + resource_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if is_account_object_class is not None: - pulumi.set(__self__, "is_account_object_class", is_account_object_class) + _setter("is_account_object_class", is_account_object_class) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) @property @pulumi.getter @@ -11746,12 +12838,25 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppThreeLeggedOauthCredentialArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + access_token=access_token, + access_token_expiry=access_token_expiry, + refresh_token=refresh_token, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access_token: Optional[pulumi.Input[str]] = None, + access_token_expiry: Optional[pulumi.Input[str]] = None, + refresh_token: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if access_token is not None: - pulumi.set(__self__, "access_token", access_token) + _setter("access_token", access_token) if access_token_expiry is not None: - pulumi.set(__self__, "access_token_expiry", access_token_expiry) + _setter("access_token_expiry", access_token_expiry) if refresh_token is not None: - pulumi.set(__self__, "refresh_token", refresh_token) + _setter("refresh_token", refresh_token) @property @pulumi.getter(name="accessToken") @@ -11854,9 +12959,20 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "multicloud_service_type", multicloud_service_type) + DomainsAppUrnietfparamsscimschemasoracleidcsextensionmulticloudServiceAppAppArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + multicloud_service_type=multicloud_service_type, + multicloud_platform_url=multicloud_platform_url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + multicloud_service_type: pulumi.Input[str], + multicloud_platform_url: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("multicloud_service_type", multicloud_service_type) if multicloud_platform_url is not None: - pulumi.set(__self__, "multicloud_platform_url", multicloud_platform_url) + _setter("multicloud_platform_url", multicloud_platform_url) @property @pulumi.getter(name="multicloudServiceType") @@ -12001,20 +13117,41 @@ def __init__(__self__, *, * type: string * uniqueness: server """ + DomainsAppUrnietfparamsscimschemasoracleidcsextensionopcServiceAppArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + current_federation_mode=current_federation_mode, + current_synchronization_mode=current_synchronization_mode, + enabling_next_fed_sync_modes=enabling_next_fed_sync_modes, + next_federation_mode=next_federation_mode, + next_synchronization_mode=next_synchronization_mode, + region=region, + service_instance_identifier=service_instance_identifier, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + current_federation_mode: Optional[pulumi.Input[str]] = None, + current_synchronization_mode: Optional[pulumi.Input[str]] = None, + enabling_next_fed_sync_modes: Optional[pulumi.Input[bool]] = None, + next_federation_mode: Optional[pulumi.Input[str]] = None, + next_synchronization_mode: Optional[pulumi.Input[str]] = None, + region: Optional[pulumi.Input[str]] = None, + service_instance_identifier: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if current_federation_mode is not None: - pulumi.set(__self__, "current_federation_mode", current_federation_mode) + _setter("current_federation_mode", current_federation_mode) if current_synchronization_mode is not None: - pulumi.set(__self__, "current_synchronization_mode", current_synchronization_mode) + _setter("current_synchronization_mode", current_synchronization_mode) if enabling_next_fed_sync_modes is not None: - pulumi.set(__self__, "enabling_next_fed_sync_modes", enabling_next_fed_sync_modes) + _setter("enabling_next_fed_sync_modes", enabling_next_fed_sync_modes) if next_federation_mode is not None: - pulumi.set(__self__, "next_federation_mode", next_federation_mode) + _setter("next_federation_mode", next_federation_mode) if next_synchronization_mode is not None: - pulumi.set(__self__, "next_synchronization_mode", next_synchronization_mode) + _setter("next_synchronization_mode", next_synchronization_mode) if region is not None: - pulumi.set(__self__, "region", region) + _setter("region", region) if service_instance_identifier is not None: - pulumi.set(__self__, "service_instance_identifier", service_instance_identifier) + _setter("service_instance_identifier", service_instance_identifier) @property @pulumi.getter(name="currentFederationMode") @@ -12376,32 +13513,69 @@ def __init__(__self__, *, * returned: default * type: string """ - pulumi.set(__self__, "client_ip", client_ip) - pulumi.set(__self__, "include_group_in_response", include_group_in_response) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "secret_key", secret_key) + DomainsAppUrnietfparamsscimschemasoracleidcsextensionradiusAppAppArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + client_ip=client_ip, + include_group_in_response=include_group_in_response, + port=port, + secret_key=secret_key, + capture_client_ip=capture_client_ip, + country_code_response_attribute_id=country_code_response_attribute_id, + end_user_ip_attribute=end_user_ip_attribute, + group_membership_radius_attribute=group_membership_radius_attribute, + group_membership_to_returns=group_membership_to_returns, + group_name_format=group_name_format, + password_and_otp_together=password_and_otp_together, + radius_vendor_specific_id=radius_vendor_specific_id, + response_format=response_format, + response_format_delimiter=response_format_delimiter, + type_of_radius_app=type_of_radius_app, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + client_ip: pulumi.Input[str], + include_group_in_response: pulumi.Input[bool], + port: pulumi.Input[str], + secret_key: pulumi.Input[str], + capture_client_ip: Optional[pulumi.Input[bool]] = None, + country_code_response_attribute_id: Optional[pulumi.Input[str]] = None, + end_user_ip_attribute: Optional[pulumi.Input[str]] = None, + group_membership_radius_attribute: Optional[pulumi.Input[str]] = None, + group_membership_to_returns: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAppUrnietfparamsscimschemasoracleidcsextensionradiusAppAppGroupMembershipToReturnArgs']]]] = None, + group_name_format: Optional[pulumi.Input[str]] = None, + password_and_otp_together: Optional[pulumi.Input[bool]] = None, + radius_vendor_specific_id: Optional[pulumi.Input[str]] = None, + response_format: Optional[pulumi.Input[str]] = None, + response_format_delimiter: Optional[pulumi.Input[str]] = None, + type_of_radius_app: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("client_ip", client_ip) + _setter("include_group_in_response", include_group_in_response) + _setter("port", port) + _setter("secret_key", secret_key) if capture_client_ip is not None: - pulumi.set(__self__, "capture_client_ip", capture_client_ip) + _setter("capture_client_ip", capture_client_ip) if country_code_response_attribute_id is not None: - pulumi.set(__self__, "country_code_response_attribute_id", country_code_response_attribute_id) + _setter("country_code_response_attribute_id", country_code_response_attribute_id) if end_user_ip_attribute is not None: - pulumi.set(__self__, "end_user_ip_attribute", end_user_ip_attribute) + _setter("end_user_ip_attribute", end_user_ip_attribute) if group_membership_radius_attribute is not None: - pulumi.set(__self__, "group_membership_radius_attribute", group_membership_radius_attribute) + _setter("group_membership_radius_attribute", group_membership_radius_attribute) if group_membership_to_returns is not None: - pulumi.set(__self__, "group_membership_to_returns", group_membership_to_returns) + _setter("group_membership_to_returns", group_membership_to_returns) if group_name_format is not None: - pulumi.set(__self__, "group_name_format", group_name_format) + _setter("group_name_format", group_name_format) if password_and_otp_together is not None: - pulumi.set(__self__, "password_and_otp_together", password_and_otp_together) + _setter("password_and_otp_together", password_and_otp_together) if radius_vendor_specific_id is not None: - pulumi.set(__self__, "radius_vendor_specific_id", radius_vendor_specific_id) + _setter("radius_vendor_specific_id", radius_vendor_specific_id) if response_format is not None: - pulumi.set(__self__, "response_format", response_format) + _setter("response_format", response_format) if response_format_delimiter is not None: - pulumi.set(__self__, "response_format_delimiter", response_format_delimiter) + _setter("response_format_delimiter", response_format_delimiter) if type_of_radius_app is not None: - pulumi.set(__self__, "type_of_radius_app", type_of_radius_app) + _setter("type_of_radius_app", type_of_radius_app) @property @pulumi.getter(name="clientIp") @@ -12790,11 +13964,24 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAppUrnietfparamsscimschemasoracleidcsextensionradiusAppAppGroupMembershipToReturnArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -12883,8 +14070,17 @@ def __init__(__self__, *, * type: boolean * uniqueness: none """ + DomainsAppUrnietfparamsscimschemasoracleidcsextensionrequestableAppArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + requestable=requestable, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + requestable: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if requestable is not None: - pulumi.set(__self__, "requestable", requestable) + _setter("requestable", requestable) @property @pulumi.getter @@ -13260,60 +14456,121 @@ def __init__(__self__, *, * type: complex * uniqueness: none """ + DomainsAppUrnietfparamsscimschemasoracleidcsextensionsamlServiceProviderAppArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + assertion_consumer_url=assertion_consumer_url, + encrypt_assertion=encrypt_assertion, + encryption_algorithm=encryption_algorithm, + encryption_certificate=encryption_certificate, + federation_protocol=federation_protocol, + group_assertion_attributes=group_assertion_attributes, + hok_acs_url=hok_acs_url, + hok_required=hok_required, + include_signing_cert_in_signature=include_signing_cert_in_signature, + key_encryption_algorithm=key_encryption_algorithm, + last_notification_sent_time=last_notification_sent_time, + logout_binding=logout_binding, + logout_enabled=logout_enabled, + logout_request_url=logout_request_url, + logout_response_url=logout_response_url, + metadata=metadata, + name_id_format=name_id_format, + name_id_userstore_attribute=name_id_userstore_attribute, + outbound_assertion_attributes=outbound_assertion_attributes, + partner_provider_id=partner_provider_id, + partner_provider_pattern=partner_provider_pattern, + sign_response_or_assertion=sign_response_or_assertion, + signature_hash_algorithm=signature_hash_algorithm, + signing_certificate=signing_certificate, + succinct_id=succinct_id, + tenant_provider_id=tenant_provider_id, + user_assertion_attributes=user_assertion_attributes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + assertion_consumer_url: Optional[pulumi.Input[str]] = None, + encrypt_assertion: Optional[pulumi.Input[bool]] = None, + encryption_algorithm: Optional[pulumi.Input[str]] = None, + encryption_certificate: Optional[pulumi.Input[str]] = None, + federation_protocol: Optional[pulumi.Input[str]] = None, + group_assertion_attributes: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAppUrnietfparamsscimschemasoracleidcsextensionsamlServiceProviderAppGroupAssertionAttributeArgs']]]] = None, + hok_acs_url: Optional[pulumi.Input[str]] = None, + hok_required: Optional[pulumi.Input[bool]] = None, + include_signing_cert_in_signature: Optional[pulumi.Input[bool]] = None, + key_encryption_algorithm: Optional[pulumi.Input[str]] = None, + last_notification_sent_time: Optional[pulumi.Input[str]] = None, + logout_binding: Optional[pulumi.Input[str]] = None, + logout_enabled: Optional[pulumi.Input[bool]] = None, + logout_request_url: Optional[pulumi.Input[str]] = None, + logout_response_url: Optional[pulumi.Input[str]] = None, + metadata: Optional[pulumi.Input[str]] = None, + name_id_format: Optional[pulumi.Input[str]] = None, + name_id_userstore_attribute: Optional[pulumi.Input[str]] = None, + outbound_assertion_attributes: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAppUrnietfparamsscimschemasoracleidcsextensionsamlServiceProviderAppOutboundAssertionAttributeArgs']]]] = None, + partner_provider_id: Optional[pulumi.Input[str]] = None, + partner_provider_pattern: Optional[pulumi.Input[str]] = None, + sign_response_or_assertion: Optional[pulumi.Input[str]] = None, + signature_hash_algorithm: Optional[pulumi.Input[str]] = None, + signing_certificate: Optional[pulumi.Input[str]] = None, + succinct_id: Optional[pulumi.Input[str]] = None, + tenant_provider_id: Optional[pulumi.Input[str]] = None, + user_assertion_attributes: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAppUrnietfparamsscimschemasoracleidcsextensionsamlServiceProviderAppUserAssertionAttributeArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if assertion_consumer_url is not None: - pulumi.set(__self__, "assertion_consumer_url", assertion_consumer_url) + _setter("assertion_consumer_url", assertion_consumer_url) if encrypt_assertion is not None: - pulumi.set(__self__, "encrypt_assertion", encrypt_assertion) + _setter("encrypt_assertion", encrypt_assertion) if encryption_algorithm is not None: - pulumi.set(__self__, "encryption_algorithm", encryption_algorithm) + _setter("encryption_algorithm", encryption_algorithm) if encryption_certificate is not None: - pulumi.set(__self__, "encryption_certificate", encryption_certificate) + _setter("encryption_certificate", encryption_certificate) if federation_protocol is not None: - pulumi.set(__self__, "federation_protocol", federation_protocol) + _setter("federation_protocol", federation_protocol) if group_assertion_attributes is not None: - pulumi.set(__self__, "group_assertion_attributes", group_assertion_attributes) + _setter("group_assertion_attributes", group_assertion_attributes) if hok_acs_url is not None: - pulumi.set(__self__, "hok_acs_url", hok_acs_url) + _setter("hok_acs_url", hok_acs_url) if hok_required is not None: - pulumi.set(__self__, "hok_required", hok_required) + _setter("hok_required", hok_required) if include_signing_cert_in_signature is not None: - pulumi.set(__self__, "include_signing_cert_in_signature", include_signing_cert_in_signature) + _setter("include_signing_cert_in_signature", include_signing_cert_in_signature) if key_encryption_algorithm is not None: - pulumi.set(__self__, "key_encryption_algorithm", key_encryption_algorithm) + _setter("key_encryption_algorithm", key_encryption_algorithm) if last_notification_sent_time is not None: - pulumi.set(__self__, "last_notification_sent_time", last_notification_sent_time) + _setter("last_notification_sent_time", last_notification_sent_time) if logout_binding is not None: - pulumi.set(__self__, "logout_binding", logout_binding) + _setter("logout_binding", logout_binding) if logout_enabled is not None: - pulumi.set(__self__, "logout_enabled", logout_enabled) + _setter("logout_enabled", logout_enabled) if logout_request_url is not None: - pulumi.set(__self__, "logout_request_url", logout_request_url) + _setter("logout_request_url", logout_request_url) if logout_response_url is not None: - pulumi.set(__self__, "logout_response_url", logout_response_url) + _setter("logout_response_url", logout_response_url) if metadata is not None: - pulumi.set(__self__, "metadata", metadata) + _setter("metadata", metadata) if name_id_format is not None: - pulumi.set(__self__, "name_id_format", name_id_format) + _setter("name_id_format", name_id_format) if name_id_userstore_attribute is not None: - pulumi.set(__self__, "name_id_userstore_attribute", name_id_userstore_attribute) + _setter("name_id_userstore_attribute", name_id_userstore_attribute) if outbound_assertion_attributes is not None: - pulumi.set(__self__, "outbound_assertion_attributes", outbound_assertion_attributes) + _setter("outbound_assertion_attributes", outbound_assertion_attributes) if partner_provider_id is not None: - pulumi.set(__self__, "partner_provider_id", partner_provider_id) + _setter("partner_provider_id", partner_provider_id) if partner_provider_pattern is not None: - pulumi.set(__self__, "partner_provider_pattern", partner_provider_pattern) + _setter("partner_provider_pattern", partner_provider_pattern) if sign_response_or_assertion is not None: - pulumi.set(__self__, "sign_response_or_assertion", sign_response_or_assertion) + _setter("sign_response_or_assertion", sign_response_or_assertion) if signature_hash_algorithm is not None: - pulumi.set(__self__, "signature_hash_algorithm", signature_hash_algorithm) + _setter("signature_hash_algorithm", signature_hash_algorithm) if signing_certificate is not None: - pulumi.set(__self__, "signing_certificate", signing_certificate) + _setter("signing_certificate", signing_certificate) if succinct_id is not None: - pulumi.set(__self__, "succinct_id", succinct_id) + _setter("succinct_id", succinct_id) if tenant_provider_id is not None: - pulumi.set(__self__, "tenant_provider_id", tenant_provider_id) + _setter("tenant_provider_id", tenant_provider_id) if user_assertion_attributes is not None: - pulumi.set(__self__, "user_assertion_attributes", user_assertion_attributes) + _setter("user_assertion_attributes", user_assertion_attributes) @property @pulumi.getter(name="assertionConsumerUrl") @@ -13995,13 +15252,28 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "name", name) + DomainsAppUrnietfparamsscimschemasoracleidcsextensionsamlServiceProviderAppGroupAssertionAttributeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + condition=condition, + format=format, + group_name=group_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: pulumi.Input[str], + condition: Optional[pulumi.Input[str]] = None, + format: Optional[pulumi.Input[str]] = None, + group_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) if condition is not None: - pulumi.set(__self__, "condition", condition) + _setter("condition", condition) if format is not None: - pulumi.set(__self__, "format", format) + _setter("format", format) if group_name is not None: - pulumi.set(__self__, "group_name", group_name) + _setter("group_name", group_name) @property @pulumi.getter @@ -14148,11 +15420,24 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAppUrnietfparamsscimschemasoracleidcsextensionsamlServiceProviderAppOutboundAssertionAttributeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + direction=direction, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + direction: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if direction is not None: - pulumi.set(__self__, "direction", direction) + _setter("direction", direction) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -14274,10 +15559,23 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "user_store_attribute_name", user_store_attribute_name) + DomainsAppUrnietfparamsscimschemasoracleidcsextensionsamlServiceProviderAppUserAssertionAttributeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + user_store_attribute_name=user_store_attribute_name, + format=format, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: pulumi.Input[str], + user_store_attribute_name: pulumi.Input[str], + format: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("user_store_attribute_name", user_store_attribute_name) if format is not None: - pulumi.set(__self__, "format", format) + _setter("format", format) @property @pulumi.getter @@ -14397,12 +15695,25 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsAppUrnietfparamsscimschemasoracleidcsextensionwebTierPolicyAppArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + resource_ref=resource_ref, + web_tier_policy_az_control=web_tier_policy_az_control, + web_tier_policy_json=web_tier_policy_json, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + resource_ref: Optional[pulumi.Input[bool]] = None, + web_tier_policy_az_control: Optional[pulumi.Input[str]] = None, + web_tier_policy_json: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if resource_ref is not None: - pulumi.set(__self__, "resource_ref", resource_ref) + _setter("resource_ref", resource_ref) if web_tier_policy_az_control is not None: - pulumi.set(__self__, "web_tier_policy_az_control", web_tier_policy_az_control) + _setter("web_tier_policy_az_control", web_tier_policy_az_control) if web_tier_policy_json is not None: - pulumi.set(__self__, "web_tier_policy_json", web_tier_policy_json) + _setter("web_tier_policy_json", web_tier_policy_json) @property @pulumi.getter(name="resourceRef") @@ -14525,13 +15836,28 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAppUserRoleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + description=description, + display=display, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + description: Optional[pulumi.Input[str]] = None, + display: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -14691,15 +16017,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAuthTokenIdcsCreatedByArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -14885,15 +16228,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAuthTokenIdcsLastModifiedByArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -15075,16 +16435,33 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsAuthTokenMetaArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: Optional[pulumi.Input[str]] = None, + last_modified: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + resource_type: Optional[pulumi.Input[str]] = None, + version: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if created is not None: - pulumi.set(__self__, "created", created) + _setter("created", created) if last_modified is not None: - pulumi.set(__self__, "last_modified", last_modified) + _setter("last_modified", last_modified) if location is not None: - pulumi.set(__self__, "location", location) + _setter("location", location) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter @@ -15230,8 +16607,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsAuthTokenTagArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: pulumi.Input[str], + value: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -15300,8 +16688,17 @@ def __init__(__self__, *, * type: boolean * uniqueness: none """ + DomainsAuthTokenUrnietfparamsscimschemasoracleidcsextensionselfChangeUserArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + allow_self_change=allow_self_change, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allow_self_change: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if allow_self_change is not None: - pulumi.set(__self__, "allow_self_change", allow_self_change) + _setter("allow_self_change", allow_self_change) @property @pulumi.getter(name="allowSelfChange") @@ -15396,16 +16793,33 @@ def __init__(__self__, *, ** 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 """ + DomainsAuthTokenUserArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + name=name, + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -15601,12 +17015,31 @@ def __init__(__self__, *, * type: boolean * uniqueness: none """ - pulumi.set(__self__, "help_desk_code_expiry_in_mins", help_desk_code_expiry_in_mins) - pulumi.set(__self__, "help_desk_generation_enabled", help_desk_generation_enabled) - pulumi.set(__self__, "help_desk_max_usage", help_desk_max_usage) - pulumi.set(__self__, "length", length) - pulumi.set(__self__, "max_active", max_active) - pulumi.set(__self__, "self_service_generation_enabled", self_service_generation_enabled) + DomainsAuthenticationFactorSettingBypassCodeSettingsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + help_desk_code_expiry_in_mins=help_desk_code_expiry_in_mins, + help_desk_generation_enabled=help_desk_generation_enabled, + help_desk_max_usage=help_desk_max_usage, + length=length, + max_active=max_active, + self_service_generation_enabled=self_service_generation_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + help_desk_code_expiry_in_mins: pulumi.Input[int], + help_desk_generation_enabled: pulumi.Input[bool], + help_desk_max_usage: pulumi.Input[int], + length: pulumi.Input[int], + max_active: pulumi.Input[int], + self_service_generation_enabled: pulumi.Input[bool], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("help_desk_code_expiry_in_mins", help_desk_code_expiry_in_mins) + _setter("help_desk_generation_enabled", help_desk_generation_enabled) + _setter("help_desk_max_usage", help_desk_max_usage) + _setter("length", length) + _setter("max_active", max_active) + _setter("self_service_generation_enabled", self_service_generation_enabled) @property @pulumi.getter(name="helpDeskCodeExpiryInMins") @@ -15933,21 +17366,58 @@ def __init__(__self__, *, * type: boolean * uniqueness: none """ - pulumi.set(__self__, "device_protection_policy", device_protection_policy) - pulumi.set(__self__, "initial_lockout_period_in_secs", initial_lockout_period_in_secs) - pulumi.set(__self__, "key_pair_length", key_pair_length) - pulumi.set(__self__, "lockout_escalation_pattern", lockout_escalation_pattern) - pulumi.set(__self__, "max_failures_before_lockout", max_failures_before_lockout) - pulumi.set(__self__, "max_failures_before_warning", max_failures_before_warning) - pulumi.set(__self__, "max_lockout_interval_in_secs", max_lockout_interval_in_secs) - pulumi.set(__self__, "min_pin_length", min_pin_length) - pulumi.set(__self__, "policy_update_freq_in_days", policy_update_freq_in_days) - pulumi.set(__self__, "request_signing_algo", request_signing_algo) - pulumi.set(__self__, "shared_secret_encoding", shared_secret_encoding) - pulumi.set(__self__, "unlock_app_for_each_request_enabled", unlock_app_for_each_request_enabled) - pulumi.set(__self__, "unlock_app_interval_in_secs", unlock_app_interval_in_secs) - pulumi.set(__self__, "unlock_on_app_foreground_enabled", unlock_on_app_foreground_enabled) - pulumi.set(__self__, "unlock_on_app_start_enabled", unlock_on_app_start_enabled) + DomainsAuthenticationFactorSettingClientAppSettingsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + device_protection_policy=device_protection_policy, + initial_lockout_period_in_secs=initial_lockout_period_in_secs, + key_pair_length=key_pair_length, + lockout_escalation_pattern=lockout_escalation_pattern, + max_failures_before_lockout=max_failures_before_lockout, + max_failures_before_warning=max_failures_before_warning, + max_lockout_interval_in_secs=max_lockout_interval_in_secs, + min_pin_length=min_pin_length, + policy_update_freq_in_days=policy_update_freq_in_days, + request_signing_algo=request_signing_algo, + shared_secret_encoding=shared_secret_encoding, + unlock_app_for_each_request_enabled=unlock_app_for_each_request_enabled, + unlock_app_interval_in_secs=unlock_app_interval_in_secs, + unlock_on_app_foreground_enabled=unlock_on_app_foreground_enabled, + unlock_on_app_start_enabled=unlock_on_app_start_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + device_protection_policy: pulumi.Input[str], + initial_lockout_period_in_secs: pulumi.Input[int], + key_pair_length: pulumi.Input[int], + lockout_escalation_pattern: pulumi.Input[str], + max_failures_before_lockout: pulumi.Input[int], + max_failures_before_warning: pulumi.Input[int], + max_lockout_interval_in_secs: pulumi.Input[int], + min_pin_length: pulumi.Input[int], + policy_update_freq_in_days: pulumi.Input[int], + request_signing_algo: pulumi.Input[str], + shared_secret_encoding: pulumi.Input[str], + unlock_app_for_each_request_enabled: pulumi.Input[bool], + unlock_app_interval_in_secs: pulumi.Input[int], + unlock_on_app_foreground_enabled: pulumi.Input[bool], + unlock_on_app_start_enabled: pulumi.Input[bool], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("device_protection_policy", device_protection_policy) + _setter("initial_lockout_period_in_secs", initial_lockout_period_in_secs) + _setter("key_pair_length", key_pair_length) + _setter("lockout_escalation_pattern", lockout_escalation_pattern) + _setter("max_failures_before_lockout", max_failures_before_lockout) + _setter("max_failures_before_warning", max_failures_before_warning) + _setter("max_lockout_interval_in_secs", max_lockout_interval_in_secs) + _setter("min_pin_length", min_pin_length) + _setter("policy_update_freq_in_days", policy_update_freq_in_days) + _setter("request_signing_algo", request_signing_algo) + _setter("shared_secret_encoding", shared_secret_encoding) + _setter("unlock_app_for_each_request_enabled", unlock_app_for_each_request_enabled) + _setter("unlock_app_interval_in_secs", unlock_app_interval_in_secs) + _setter("unlock_on_app_foreground_enabled", unlock_on_app_foreground_enabled) + _setter("unlock_on_app_start_enabled", unlock_on_app_start_enabled) @property @pulumi.getter(name="deviceProtectionPolicy") @@ -16324,9 +17794,22 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + DomainsAuthenticationFactorSettingCompliancePolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: pulumi.Input[str], + name: pulumi.Input[str], + value: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("name", name) + _setter("value", value) @property @pulumi.getter @@ -16424,9 +17907,20 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "email_link_enabled", email_link_enabled) + DomainsAuthenticationFactorSettingEmailSettingsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + email_link_enabled=email_link_enabled, + email_link_custom_url=email_link_custom_url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + email_link_enabled: pulumi.Input[bool], + email_link_custom_url: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("email_link_enabled", email_link_enabled) if email_link_custom_url is not None: - pulumi.set(__self__, "email_link_custom_url", email_link_custom_url) + _setter("email_link_custom_url", email_link_custom_url) @property @pulumi.getter(name="emailLinkEnabled") @@ -16543,11 +18037,28 @@ def __init__(__self__, *, * type: boolean * uniqueness: none """ - pulumi.set(__self__, "max_endpoint_trust_duration_in_days", max_endpoint_trust_duration_in_days) - pulumi.set(__self__, "max_enrolled_devices", max_enrolled_devices) - pulumi.set(__self__, "max_incorrect_attempts", max_incorrect_attempts) - pulumi.set(__self__, "max_trusted_endpoints", max_trusted_endpoints) - pulumi.set(__self__, "trusted_endpoints_enabled", trusted_endpoints_enabled) + DomainsAuthenticationFactorSettingEndpointRestrictionsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + max_endpoint_trust_duration_in_days=max_endpoint_trust_duration_in_days, + max_enrolled_devices=max_enrolled_devices, + max_incorrect_attempts=max_incorrect_attempts, + max_trusted_endpoints=max_trusted_endpoints, + trusted_endpoints_enabled=trusted_endpoints_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max_endpoint_trust_duration_in_days: pulumi.Input[int], + max_enrolled_devices: pulumi.Input[int], + max_incorrect_attempts: pulumi.Input[int], + max_trusted_endpoints: pulumi.Input[int], + trusted_endpoints_enabled: pulumi.Input[bool], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max_endpoint_trust_duration_in_days", max_endpoint_trust_duration_in_days) + _setter("max_enrolled_devices", max_enrolled_devices) + _setter("max_incorrect_attempts", max_incorrect_attempts) + _setter("max_trusted_endpoints", max_trusted_endpoints) + _setter("trusted_endpoints_enabled", trusted_endpoints_enabled) @property @pulumi.getter(name="maxEndpointTrustDurationInDays") @@ -16728,15 +18239,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAuthenticationFactorSettingIdcsCreatedByArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -16914,15 +18442,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAuthenticationFactorSettingIdcsLastModifiedByArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -17062,10 +18607,21 @@ def __init__(__self__, *, * type: boolean * uniqueness: none """ + DomainsAuthenticationFactorSettingIdentityStoreSettingsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + mobile_number_enabled=mobile_number_enabled, + mobile_number_update_enabled=mobile_number_update_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + mobile_number_enabled: Optional[pulumi.Input[bool]] = None, + mobile_number_update_enabled: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if mobile_number_enabled is not None: - pulumi.set(__self__, "mobile_number_enabled", mobile_number_enabled) + _setter("mobile_number_enabled", mobile_number_enabled) if mobile_number_update_enabled is not None: - pulumi.set(__self__, "mobile_number_update_enabled", mobile_number_update_enabled) + _setter("mobile_number_update_enabled", mobile_number_update_enabled) @property @pulumi.getter(name="mobileNumberEnabled") @@ -17175,16 +18731,33 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsAuthenticationFactorSettingMetaArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: Optional[pulumi.Input[str]] = None, + last_modified: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + resource_type: Optional[pulumi.Input[str]] = None, + version: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if created is not None: - pulumi.set(__self__, "created", created) + _setter("created", created) if last_modified is not None: - pulumi.set(__self__, "last_modified", last_modified) + _setter("last_modified", last_modified) if location is not None: - pulumi.set(__self__, "location", location) + _setter("location", location) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter @@ -17315,7 +18888,16 @@ def __init__(__self__, *, * type: boolean * uniqueness: none """ - pulumi.set(__self__, "pull_enabled", pull_enabled) + DomainsAuthenticationFactorSettingNotificationSettingsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + pull_enabled=pull_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + pull_enabled: pulumi.Input[bool], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("pull_enabled", pull_enabled) @property @pulumi.getter(name="pullEnabled") @@ -17370,8 +18952,19 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsAuthenticationFactorSettingTagArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: pulumi.Input[str], + value: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -17436,7 +19029,16 @@ def __init__(__self__, *, * type: boolean * uniqueness: none """ - pulumi.set(__self__, "duo_security", duo_security) + DomainsAuthenticationFactorSettingThirdPartyFactorArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + duo_security=duo_security, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + duo_security: pulumi.Input[bool], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("duo_security", duo_security) @property @pulumi.getter(name="duoSecurity") @@ -17599,16 +19201,43 @@ def __init__(__self__, *, * type: integer * uniqueness: none """ - pulumi.set(__self__, "email_otp_validity_duration_in_mins", email_otp_validity_duration_in_mins) - pulumi.set(__self__, "email_passcode_length", email_passcode_length) - pulumi.set(__self__, "hashing_algorithm", hashing_algorithm) - pulumi.set(__self__, "jwt_validity_duration_in_secs", jwt_validity_duration_in_secs) - pulumi.set(__self__, "key_refresh_interval_in_days", key_refresh_interval_in_days) - pulumi.set(__self__, "passcode_length", passcode_length) - pulumi.set(__self__, "sms_otp_validity_duration_in_mins", sms_otp_validity_duration_in_mins) - pulumi.set(__self__, "sms_passcode_length", sms_passcode_length) - pulumi.set(__self__, "time_step_in_secs", time_step_in_secs) - pulumi.set(__self__, "time_step_tolerance", time_step_tolerance) + DomainsAuthenticationFactorSettingTotpSettingsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + email_otp_validity_duration_in_mins=email_otp_validity_duration_in_mins, + email_passcode_length=email_passcode_length, + hashing_algorithm=hashing_algorithm, + jwt_validity_duration_in_secs=jwt_validity_duration_in_secs, + key_refresh_interval_in_days=key_refresh_interval_in_days, + passcode_length=passcode_length, + sms_otp_validity_duration_in_mins=sms_otp_validity_duration_in_mins, + sms_passcode_length=sms_passcode_length, + time_step_in_secs=time_step_in_secs, + time_step_tolerance=time_step_tolerance, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + email_otp_validity_duration_in_mins: pulumi.Input[int], + email_passcode_length: pulumi.Input[int], + hashing_algorithm: pulumi.Input[str], + jwt_validity_duration_in_secs: pulumi.Input[int], + key_refresh_interval_in_days: pulumi.Input[int], + passcode_length: pulumi.Input[int], + sms_otp_validity_duration_in_mins: pulumi.Input[int], + sms_passcode_length: pulumi.Input[int], + time_step_in_secs: pulumi.Input[int], + time_step_tolerance: pulumi.Input[int], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("email_otp_validity_duration_in_mins", email_otp_validity_duration_in_mins) + _setter("email_passcode_length", email_passcode_length) + _setter("hashing_algorithm", hashing_algorithm) + _setter("jwt_validity_duration_in_secs", jwt_validity_duration_in_secs) + _setter("key_refresh_interval_in_days", key_refresh_interval_in_days) + _setter("passcode_length", passcode_length) + _setter("sms_otp_validity_duration_in_mins", sms_otp_validity_duration_in_mins) + _setter("sms_passcode_length", sms_passcode_length) + _setter("time_step_in_secs", time_step_in_secs) + _setter("time_step_tolerance", time_step_tolerance) @property @pulumi.getter(name="emailOtpValidityDurationInMins") @@ -17969,16 +19598,41 @@ def __init__(__self__, *, * type: integer * uniqueness: none """ - pulumi.set(__self__, "attestation", attestation) - pulumi.set(__self__, "authenticator_selection_attachment", authenticator_selection_attachment) - pulumi.set(__self__, "authenticator_selection_require_resident_key", authenticator_selection_require_resident_key) - pulumi.set(__self__, "authenticator_selection_resident_key", authenticator_selection_resident_key) - pulumi.set(__self__, "authenticator_selection_user_verification", authenticator_selection_user_verification) - pulumi.set(__self__, "exclude_credentials", exclude_credentials) - pulumi.set(__self__, "public_key_types", public_key_types) - pulumi.set(__self__, "timeout", timeout) + DomainsAuthenticationFactorSettingUrnietfparamsscimschemasoracleidcsextensionfidoAuthenticationFactorSettingsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + attestation=attestation, + authenticator_selection_attachment=authenticator_selection_attachment, + authenticator_selection_require_resident_key=authenticator_selection_require_resident_key, + authenticator_selection_resident_key=authenticator_selection_resident_key, + authenticator_selection_user_verification=authenticator_selection_user_verification, + exclude_credentials=exclude_credentials, + public_key_types=public_key_types, + timeout=timeout, + domain_validation_level=domain_validation_level, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attestation: pulumi.Input[str], + authenticator_selection_attachment: pulumi.Input[str], + authenticator_selection_require_resident_key: pulumi.Input[bool], + authenticator_selection_resident_key: pulumi.Input[str], + authenticator_selection_user_verification: pulumi.Input[str], + exclude_credentials: pulumi.Input[bool], + public_key_types: pulumi.Input[Sequence[pulumi.Input[str]]], + timeout: pulumi.Input[int], + domain_validation_level: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("attestation", attestation) + _setter("authenticator_selection_attachment", authenticator_selection_attachment) + _setter("authenticator_selection_require_resident_key", authenticator_selection_require_resident_key) + _setter("authenticator_selection_resident_key", authenticator_selection_resident_key) + _setter("authenticator_selection_user_verification", authenticator_selection_user_verification) + _setter("exclude_credentials", exclude_credentials) + _setter("public_key_types", public_key_types) + _setter("timeout", timeout) if domain_validation_level is not None: - pulumi.set(__self__, "domain_validation_level", domain_validation_level) + _setter("domain_validation_level", domain_validation_level) @property @pulumi.getter @@ -18210,8 +19864,17 @@ def __init__(__self__, *, * type: complex * uniqueness: none """ + DomainsAuthenticationFactorSettingUrnietfparamsscimschemasoracleidcsextensionthirdPartyAuthenticationFactorSettingsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + duo_security_settings=duo_security_settings, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + duo_security_settings: Optional[pulumi.Input['DomainsAuthenticationFactorSettingUrnietfparamsscimschemasoracleidcsextensionthirdPartyAuthenticationFactorSettingsDuoSecuritySettingsArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if duo_security_settings is not None: - pulumi.set(__self__, "duo_security_settings", duo_security_settings) + _setter("duo_security_settings", duo_security_settings) @property @pulumi.getter(name="duoSecuritySettings") @@ -18307,12 +19970,29 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "api_hostname", api_hostname) - pulumi.set(__self__, "integration_key", integration_key) - pulumi.set(__self__, "secret_key", secret_key) - pulumi.set(__self__, "user_mapping_attribute", user_mapping_attribute) + DomainsAuthenticationFactorSettingUrnietfparamsscimschemasoracleidcsextensionthirdPartyAuthenticationFactorSettingsDuoSecuritySettingsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + api_hostname=api_hostname, + integration_key=integration_key, + secret_key=secret_key, + user_mapping_attribute=user_mapping_attribute, + attestation_key=attestation_key, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + api_hostname: pulumi.Input[str], + integration_key: pulumi.Input[str], + secret_key: pulumi.Input[str], + user_mapping_attribute: pulumi.Input[str], + attestation_key: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("api_hostname", api_hostname) + _setter("integration_key", integration_key) + _setter("secret_key", secret_key) + _setter("user_mapping_attribute", user_mapping_attribute) if attestation_key is not None: - pulumi.set(__self__, "attestation_key", attestation_key) + _setter("attestation_key", attestation_key) @property @pulumi.getter(name="apiHostname") @@ -18499,15 +20179,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsCustomerSecretKeyIdcsCreatedByArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -18693,15 +20390,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsCustomerSecretKeyIdcsLastModifiedByArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -18883,16 +20597,33 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsCustomerSecretKeyMetaArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: Optional[pulumi.Input[str]] = None, + last_modified: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + resource_type: Optional[pulumi.Input[str]] = None, + version: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if created is not None: - pulumi.set(__self__, "created", created) + _setter("created", created) if last_modified is not None: - pulumi.set(__self__, "last_modified", last_modified) + _setter("last_modified", last_modified) if location is not None: - pulumi.set(__self__, "location", location) + _setter("location", location) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter @@ -19038,8 +20769,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsCustomerSecretKeyTagArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: pulumi.Input[str], + value: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -19108,8 +20850,17 @@ def __init__(__self__, *, * type: boolean * uniqueness: none """ + DomainsCustomerSecretKeyUrnietfparamsscimschemasoracleidcsextensionselfChangeUserArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + allow_self_change=allow_self_change, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allow_self_change: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if allow_self_change is not None: - pulumi.set(__self__, "allow_self_change", allow_self_change) + _setter("allow_self_change", allow_self_change) @property @pulumi.getter(name="allowSelfChange") @@ -19204,16 +20955,33 @@ def __init__(__self__, *, ** 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 """ + DomainsCustomerSecretKeyUserArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + name=name, + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -19420,19 +21188,40 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsDynamicResourceGroupDynamicGroupAppRoleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + admin_role=admin_role, + app_id=app_id, + app_name=app_name, + display=display, + legacy_group_name=legacy_group_name, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + admin_role: Optional[pulumi.Input[bool]] = None, + app_id: Optional[pulumi.Input[str]] = None, + app_name: Optional[pulumi.Input[str]] = None, + display: Optional[pulumi.Input[str]] = None, + legacy_group_name: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if admin_role is not None: - pulumi.set(__self__, "admin_role", admin_role) + _setter("admin_role", admin_role) if app_id is not None: - pulumi.set(__self__, "app_id", app_id) + _setter("app_id", app_id) if app_name is not None: - pulumi.set(__self__, "app_name", app_name) + _setter("app_name", app_name) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if legacy_group_name is not None: - pulumi.set(__self__, "legacy_group_name", legacy_group_name) + _setter("legacy_group_name", legacy_group_name) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -19649,14 +21438,29 @@ def __init__(__self__, *, * idcsSearchable: true * uniqueness: none """ + DomainsDynamicResourceGroupGrantArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + app_id=app_id, + grant_mechanism=grant_mechanism, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + app_id: Optional[pulumi.Input[str]] = None, + grant_mechanism: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if app_id is not None: - pulumi.set(__self__, "app_id", app_id) + _setter("app_id", app_id) if grant_mechanism is not None: - pulumi.set(__self__, "grant_mechanism", grant_mechanism) + _setter("grant_mechanism", grant_mechanism) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter(name="appId") @@ -19819,15 +21623,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsDynamicResourceGroupIdcsCreatedByArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -20007,15 +21828,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsDynamicResourceGroupIdcsLastModifiedByArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -20194,16 +22032,33 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsDynamicResourceGroupMetaArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: Optional[pulumi.Input[str]] = None, + last_modified: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + resource_type: Optional[pulumi.Input[str]] = None, + version: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if created is not None: - pulumi.set(__self__, "created", created) + _setter("created", created) if last_modified is not None: - pulumi.set(__self__, "last_modified", last_modified) + _setter("last_modified", last_modified) if location is not None: - pulumi.set(__self__, "location", location) + _setter("location", location) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter @@ -20347,8 +22202,19 @@ def __init__(__self__, *, * idcsSearchable: true * uniqueness: none """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsDynamicResourceGroupTagArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: pulumi.Input[str], + value: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -20441,12 +22307,25 @@ def __init__(__self__, *, ** 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 """ + DomainsDynamicResourceGroupUrnietfparamsscimschemasoracleidcsextensionOciTagsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + defined_tags=defined_tags, + freeform_tags=freeform_tags, + tag_slug=tag_slug, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + defined_tags: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsDynamicResourceGroupUrnietfparamsscimschemasoracleidcsextensionOciTagsDefinedTagArgs']]]] = None, + freeform_tags: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsDynamicResourceGroupUrnietfparamsscimschemasoracleidcsextensionOciTagsFreeformTagArgs']]]] = None, + tag_slug: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if tag_slug is not None: - pulumi.set(__self__, "tag_slug", tag_slug) + _setter("tag_slug", tag_slug) @property @pulumi.getter(name="definedTags") @@ -20562,9 +22441,22 @@ def __init__(__self__, *, * idcsSearchable: true * uniqueness: none """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "value", value) + DomainsDynamicResourceGroupUrnietfparamsscimschemasoracleidcsextensionOciTagsDefinedTagArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + namespace=namespace, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: pulumi.Input[str], + namespace: pulumi.Input[str], + value: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("namespace", namespace) + _setter("value", value) @property @pulumi.getter @@ -20667,8 +22559,19 @@ def __init__(__self__, *, * idcsSearchable: true * uniqueness: none """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsDynamicResourceGroupUrnietfparamsscimschemasoracleidcsextensionOciTagsFreeformTagArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: pulumi.Input[str], + value: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -20758,11 +22661,24 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsGrantAppArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -20860,9 +22776,20 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsGrantAppEntitlementCollectionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + ref: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -20939,8 +22866,19 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "attribute_name", attribute_name) - pulumi.set(__self__, "attribute_value", attribute_value) + DomainsGrantEntitlementArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + attribute_name=attribute_name, + attribute_value=attribute_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attribute_name: pulumi.Input[str], + attribute_value: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("attribute_name", attribute_name) + _setter("attribute_value", attribute_value) @property @pulumi.getter(name="attributeName") @@ -21041,12 +22979,27 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + DomainsGrantGranteeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + display=display, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -21190,14 +23143,29 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsGrantGrantorArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -21353,15 +23321,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsGrantIdcsCreatedByArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -21539,15 +23524,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsGrantIdcsLastModifiedByArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -21725,16 +23727,33 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsGrantMetaArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: Optional[pulumi.Input[str]] = None, + last_modified: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + resource_type: Optional[pulumi.Input[str]] = None, + version: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if created is not None: - pulumi.set(__self__, "created", created) + _setter("created", created) if last_modified is not None: - pulumi.set(__self__, "last_modified", last_modified) + _setter("last_modified", last_modified) if location is not None: - pulumi.set(__self__, "location", location) + _setter("location", location) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter @@ -21876,8 +23895,19 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsGrantTagArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: pulumi.Input[str], + value: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -21995,15 +24025,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsGroupIdcsCreatedByArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -22193,15 +24240,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsGroupIdcsLastModifiedByArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -22430,20 +24494,43 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + DomainsGroupMemberArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + date_added=date_added, + display=display, + membership_ocid=membership_ocid, + name=name, + ocid=ocid, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + value: pulumi.Input[str], + date_added: Optional[pulumi.Input[str]] = None, + display: Optional[pulumi.Input[str]] = None, + membership_ocid: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("value", value) if date_added is not None: - pulumi.set(__self__, "date_added", date_added) + _setter("date_added", date_added) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if membership_ocid is not None: - pulumi.set(__self__, "membership_ocid", membership_ocid) + _setter("membership_ocid", membership_ocid) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -22696,16 +24783,33 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsGroupMetaArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: Optional[pulumi.Input[str]] = None, + last_modified: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + resource_type: Optional[pulumi.Input[str]] = None, + version: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if created is not None: - pulumi.set(__self__, "created", created) + _setter("created", created) if last_modified is not None: - pulumi.set(__self__, "last_modified", last_modified) + _setter("last_modified", last_modified) if location is not None: - pulumi.set(__self__, "location", location) + _setter("location", location) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter @@ -22850,8 +24954,19 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsGroupTagArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: pulumi.Input[str], + value: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -22941,12 +25056,25 @@ def __init__(__self__, *, * mutability: readOnly * returned: request """ + DomainsGroupUrnietfparamsscimschemasoracleidcsextensionOciTagsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + defined_tags=defined_tags, + freeform_tags=freeform_tags, + tag_slug=tag_slug, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + defined_tags: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsGroupUrnietfparamsscimschemasoracleidcsextensionOciTagsDefinedTagArgs']]]] = None, + freeform_tags: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsGroupUrnietfparamsscimschemasoracleidcsextensionOciTagsFreeformTagArgs']]]] = None, + tag_slug: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if tag_slug is not None: - pulumi.set(__self__, "tag_slug", tag_slug) + _setter("tag_slug", tag_slug) @property @pulumi.getter(name="definedTags") @@ -23059,9 +25187,22 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "value", value) + DomainsGroupUrnietfparamsscimschemasoracleidcsextensionOciTagsDefinedTagArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + namespace=namespace, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: pulumi.Input[str], + namespace: pulumi.Input[str], + value: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("namespace", namespace) + _setter("value", value) @property @pulumi.getter @@ -23166,8 +25307,19 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsGroupUrnietfparamsscimschemasoracleidcsextensionOciTagsFreeformTagArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: pulumi.Input[str], + value: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -23276,14 +25428,29 @@ def __init__(__self__, *, * returned: request * type: complex """ + DomainsGroupUrnietfparamsscimschemasoracleidcsextensiondbcsGroupArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + domain_level_schema=domain_level_schema, + domain_level_schema_names=domain_level_schema_names, + instance_level_schema=instance_level_schema, + instance_level_schema_names=instance_level_schema_names, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + domain_level_schema: Optional[pulumi.Input[str]] = None, + domain_level_schema_names: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsGroupUrnietfparamsscimschemasoracleidcsextensiondbcsGroupDomainLevelSchemaNameArgs']]]] = None, + instance_level_schema: Optional[pulumi.Input[str]] = None, + instance_level_schema_names: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsGroupUrnietfparamsscimschemasoracleidcsextensiondbcsGroupInstanceLevelSchemaNameArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if domain_level_schema is not None: - pulumi.set(__self__, "domain_level_schema", domain_level_schema) + _setter("domain_level_schema", domain_level_schema) if domain_level_schema_names is not None: - pulumi.set(__self__, "domain_level_schema_names", domain_level_schema_names) + _setter("domain_level_schema_names", domain_level_schema_names) if instance_level_schema is not None: - pulumi.set(__self__, "instance_level_schema", instance_level_schema) + _setter("instance_level_schema", instance_level_schema) if instance_level_schema_names is not None: - pulumi.set(__self__, "instance_level_schema_names", instance_level_schema_names) + _setter("instance_level_schema_names", instance_level_schema_names) @property @pulumi.getter(name="domainLevelSchema") @@ -23413,8 +25580,19 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "domain_name", domain_name) - pulumi.set(__self__, "schema_name", schema_name) + DomainsGroupUrnietfparamsscimschemasoracleidcsextensiondbcsGroupDomainLevelSchemaNameArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + domain_name=domain_name, + schema_name=schema_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + domain_name: pulumi.Input[str], + schema_name: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("domain_name", domain_name) + _setter("schema_name", schema_name) @property @pulumi.getter(name="domainName") @@ -23498,8 +25676,19 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "db_instance_id", db_instance_id) - pulumi.set(__self__, "schema_name", schema_name) + DomainsGroupUrnietfparamsscimschemasoracleidcsextensiondbcsGroupInstanceLevelSchemaNameArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_instance_id=db_instance_id, + schema_name=schema_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_instance_id: pulumi.Input[str], + schema_name: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("db_instance_id", db_instance_id) + _setter("schema_name", schema_name) @property @pulumi.getter(name="dbInstanceId") @@ -23583,10 +25772,21 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsGroupUrnietfparamsscimschemasoracleidcsextensiondynamicGroupArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + membership_rule=membership_rule, + membership_type=membership_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + membership_rule: Optional[pulumi.Input[str]] = None, + membership_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if membership_rule is not None: - pulumi.set(__self__, "membership_rule", membership_rule) + _setter("membership_rule", membership_rule) if membership_type is not None: - pulumi.set(__self__, "membership_type", membership_type) + _setter("membership_type", membership_type) @property @pulumi.getter(name="membershipRule") @@ -23735,20 +25935,41 @@ def __init__(__self__, *, * type: complex * uniqueness: none """ + DomainsGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + app_roles=app_roles, + creation_mechanism=creation_mechanism, + description=description, + grants=grants, + owners=owners, + password_policies=password_policies, + synced_from_apps=synced_from_apps, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + app_roles: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupAppRoleArgs']]]] = None, + creation_mechanism: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + grants: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupGrantArgs']]]] = None, + owners: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupOwnerArgs']]]] = None, + password_policies: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupPasswordPolicyArgs']]]] = None, + synced_from_apps: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupSyncedFromAppArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if app_roles is not None: - pulumi.set(__self__, "app_roles", app_roles) + _setter("app_roles", app_roles) if creation_mechanism is not None: - pulumi.set(__self__, "creation_mechanism", creation_mechanism) + _setter("creation_mechanism", creation_mechanism) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if grants is not None: - pulumi.set(__self__, "grants", grants) + _setter("grants", grants) if owners is not None: - pulumi.set(__self__, "owners", owners) + _setter("owners", owners) if password_policies is not None: - pulumi.set(__self__, "password_policies", password_policies) + _setter("password_policies", password_policies) if synced_from_apps is not None: - pulumi.set(__self__, "synced_from_apps", synced_from_apps) + _setter("synced_from_apps", synced_from_apps) @property @pulumi.getter(name="appRoles") @@ -24020,21 +26241,44 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupAppRoleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + admin_role=admin_role, + app_id=app_id, + app_name=app_name, + display=display, + legacy_group_name=legacy_group_name, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + admin_role: Optional[pulumi.Input[bool]] = None, + app_id: Optional[pulumi.Input[str]] = None, + app_name: Optional[pulumi.Input[str]] = None, + display: Optional[pulumi.Input[str]] = None, + legacy_group_name: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if admin_role is not None: - pulumi.set(__self__, "admin_role", admin_role) + _setter("admin_role", admin_role) if app_id is not None: - pulumi.set(__self__, "app_id", app_id) + _setter("app_id", app_id) if app_name is not None: - pulumi.set(__self__, "app_name", app_name) + _setter("app_name", app_name) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if legacy_group_name is not None: - pulumi.set(__self__, "legacy_group_name", legacy_group_name) + _setter("legacy_group_name", legacy_group_name) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -24277,14 +26521,29 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupGrantArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + app_id=app_id, + grant_mechanism=grant_mechanism, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + app_id: Optional[pulumi.Input[str]] = None, + grant_mechanism: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if app_id is not None: - pulumi.set(__self__, "app_id", app_id) + _setter("app_id", app_id) if grant_mechanism is not None: - pulumi.set(__self__, "grant_mechanism", grant_mechanism) + _setter("grant_mechanism", grant_mechanism) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter(name="appId") @@ -24440,12 +26699,27 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + DomainsGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupOwnerArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + display=display, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -24600,13 +26874,28 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupPasswordPolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + name=name, + priority=priority, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + name: Optional[pulumi.Input[str]] = None, + priority: Optional[pulumi.Input[int]] = None, + ref: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if priority is not None: - pulumi.set(__self__, "priority", priority) + _setter("priority", priority) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -24761,12 +27050,27 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + DomainsGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupSyncedFromAppArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + display=display, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -24879,8 +27183,17 @@ def __init__(__self__, *, * type: integer * uniqueness: server """ + DomainsGroupUrnietfparamsscimschemasoracleidcsextensionposixGroupArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + gid_number=gid_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + gid_number: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if gid_number is not None: - pulumi.set(__self__, "gid_number", gid_number) + _setter("gid_number", gid_number) @property @pulumi.getter(name="gidNumber") @@ -24928,8 +27241,17 @@ def __init__(__self__, *, ** 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 """ + DomainsGroupUrnietfparamsscimschemasoracleidcsextensionrequestableGroupArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + requestable=requestable, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + requestable: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if requestable is not None: - pulumi.set(__self__, "requestable", requestable) + _setter("requestable", requestable) @property @pulumi.getter @@ -25016,12 +27338,27 @@ def __init__(__self__, *, * returned: default * type: reference """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + DomainsIdentityProviderCorrelationPolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + display=display, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -25181,15 +27518,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsIdentityProviderIdcsCreatedByArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -25371,15 +27725,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsIdentityProviderIdcsLastModifiedByArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -25535,11 +27906,24 @@ def __init__(__self__, *, * returned: default * type: reference """ - pulumi.set(__self__, "value", value) + DomainsIdentityProviderJitUserProvAssignedGroupArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -25636,9 +28020,20 @@ def __init__(__self__, *, * returned: default * type: reference """ - pulumi.set(__self__, "value", value) + DomainsIdentityProviderJitUserProvAttributesArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + ref: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -25723,10 +28118,23 @@ def __init__(__self__, *, * returned: default * type: reference """ - pulumi.set(__self__, "idp_group", idp_group) - pulumi.set(__self__, "value", value) + DomainsIdentityProviderJitUserProvGroupMappingArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + idp_group=idp_group, + value=value, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + idp_group: pulumi.Input[str], + value: pulumi.Input[str], + ref: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("idp_group", idp_group) + _setter("value", value) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter(name="idpGroup") @@ -25858,16 +28266,33 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsIdentityProviderMetaArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: Optional[pulumi.Input[str]] = None, + last_modified: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + resource_type: Optional[pulumi.Input[str]] = None, + version: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if created is not None: - pulumi.set(__self__, "created", created) + _setter("created", created) if last_modified is not None: - pulumi.set(__self__, "last_modified", last_modified) + _setter("last_modified", last_modified) if location is not None: - pulumi.set(__self__, "location", location) + _setter("location", location) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter @@ -26009,8 +28434,19 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsIdentityProviderTagArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: pulumi.Input[str], + value: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -26286,33 +28722,72 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "account_linking_enabled", account_linking_enabled) - pulumi.set(__self__, "consumer_key", consumer_key) - pulumi.set(__self__, "consumer_secret", consumer_secret) - pulumi.set(__self__, "registration_enabled", registration_enabled) - pulumi.set(__self__, "service_provider_name", service_provider_name) + DomainsIdentityProviderUrnietfparamsscimschemasoracleidcsextensionsocialIdentityProviderArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_linking_enabled=account_linking_enabled, + consumer_key=consumer_key, + consumer_secret=consumer_secret, + registration_enabled=registration_enabled, + service_provider_name=service_provider_name, + access_token_url=access_token_url, + admin_scopes=admin_scopes, + authz_url=authz_url, + client_credential_in_payload=client_credential_in_payload, + clock_skew_in_seconds=clock_skew_in_seconds, + discovery_url=discovery_url, + id_attribute=id_attribute, + profile_url=profile_url, + redirect_url=redirect_url, + scopes=scopes, + status=status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_linking_enabled: pulumi.Input[bool], + consumer_key: pulumi.Input[str], + consumer_secret: pulumi.Input[str], + registration_enabled: pulumi.Input[bool], + service_provider_name: pulumi.Input[str], + access_token_url: Optional[pulumi.Input[str]] = None, + admin_scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + authz_url: Optional[pulumi.Input[str]] = None, + client_credential_in_payload: Optional[pulumi.Input[bool]] = None, + clock_skew_in_seconds: Optional[pulumi.Input[int]] = None, + discovery_url: Optional[pulumi.Input[str]] = None, + id_attribute: Optional[pulumi.Input[str]] = None, + profile_url: Optional[pulumi.Input[str]] = None, + redirect_url: Optional[pulumi.Input[str]] = None, + scopes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + status: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("account_linking_enabled", account_linking_enabled) + _setter("consumer_key", consumer_key) + _setter("consumer_secret", consumer_secret) + _setter("registration_enabled", registration_enabled) + _setter("service_provider_name", service_provider_name) if access_token_url is not None: - pulumi.set(__self__, "access_token_url", access_token_url) + _setter("access_token_url", access_token_url) if admin_scopes is not None: - pulumi.set(__self__, "admin_scopes", admin_scopes) + _setter("admin_scopes", admin_scopes) if authz_url is not None: - pulumi.set(__self__, "authz_url", authz_url) + _setter("authz_url", authz_url) if client_credential_in_payload is not None: - pulumi.set(__self__, "client_credential_in_payload", client_credential_in_payload) + _setter("client_credential_in_payload", client_credential_in_payload) if clock_skew_in_seconds is not None: - pulumi.set(__self__, "clock_skew_in_seconds", clock_skew_in_seconds) + _setter("clock_skew_in_seconds", clock_skew_in_seconds) if discovery_url is not None: - pulumi.set(__self__, "discovery_url", discovery_url) + _setter("discovery_url", discovery_url) if id_attribute is not None: - pulumi.set(__self__, "id_attribute", id_attribute) + _setter("id_attribute", id_attribute) if profile_url is not None: - pulumi.set(__self__, "profile_url", profile_url) + _setter("profile_url", profile_url) if redirect_url is not None: - pulumi.set(__self__, "redirect_url", redirect_url) + _setter("redirect_url", redirect_url) if scopes is not None: - pulumi.set(__self__, "scopes", scopes) + _setter("scopes", scopes) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) @property @pulumi.getter(name="accountLinkingEnabled") @@ -26942,37 +29417,78 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "cert_match_attribute", cert_match_attribute) - pulumi.set(__self__, "signing_certificate_chains", signing_certificate_chains) - pulumi.set(__self__, "user_match_attribute", user_match_attribute) + DomainsIdentityProviderUrnietfparamsscimschemasoracleidcsextensionx509identityProviderArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + cert_match_attribute=cert_match_attribute, + signing_certificate_chains=signing_certificate_chains, + user_match_attribute=user_match_attribute, + crl_check_on_ocsp_failure_enabled=crl_check_on_ocsp_failure_enabled, + crl_enabled=crl_enabled, + crl_location=crl_location, + crl_reload_duration=crl_reload_duration, + eku_validation_enabled=eku_validation_enabled, + eku_values=eku_values, + ocsp_allow_unknown_response_status=ocsp_allow_unknown_response_status, + ocsp_enable_signed_response=ocsp_enable_signed_response, + ocsp_enabled=ocsp_enabled, + ocsp_responder_url=ocsp_responder_url, + ocsp_revalidate_time=ocsp_revalidate_time, + ocsp_server_name=ocsp_server_name, + ocsp_trust_cert_chains=ocsp_trust_cert_chains, + other_cert_match_attribute=other_cert_match_attribute, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cert_match_attribute: pulumi.Input[str], + signing_certificate_chains: pulumi.Input[Sequence[pulumi.Input[str]]], + user_match_attribute: pulumi.Input[str], + crl_check_on_ocsp_failure_enabled: Optional[pulumi.Input[bool]] = None, + crl_enabled: Optional[pulumi.Input[bool]] = None, + crl_location: Optional[pulumi.Input[str]] = None, + crl_reload_duration: Optional[pulumi.Input[int]] = None, + eku_validation_enabled: Optional[pulumi.Input[bool]] = None, + eku_values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + ocsp_allow_unknown_response_status: Optional[pulumi.Input[bool]] = None, + ocsp_enable_signed_response: Optional[pulumi.Input[bool]] = None, + ocsp_enabled: Optional[pulumi.Input[bool]] = None, + ocsp_responder_url: Optional[pulumi.Input[str]] = None, + ocsp_revalidate_time: Optional[pulumi.Input[int]] = None, + ocsp_server_name: Optional[pulumi.Input[str]] = None, + ocsp_trust_cert_chains: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + other_cert_match_attribute: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cert_match_attribute", cert_match_attribute) + _setter("signing_certificate_chains", signing_certificate_chains) + _setter("user_match_attribute", user_match_attribute) if crl_check_on_ocsp_failure_enabled is not None: - pulumi.set(__self__, "crl_check_on_ocsp_failure_enabled", crl_check_on_ocsp_failure_enabled) + _setter("crl_check_on_ocsp_failure_enabled", crl_check_on_ocsp_failure_enabled) if crl_enabled is not None: - pulumi.set(__self__, "crl_enabled", crl_enabled) + _setter("crl_enabled", crl_enabled) if crl_location is not None: - pulumi.set(__self__, "crl_location", crl_location) + _setter("crl_location", crl_location) if crl_reload_duration is not None: - pulumi.set(__self__, "crl_reload_duration", crl_reload_duration) + _setter("crl_reload_duration", crl_reload_duration) if eku_validation_enabled is not None: - pulumi.set(__self__, "eku_validation_enabled", eku_validation_enabled) + _setter("eku_validation_enabled", eku_validation_enabled) if eku_values is not None: - pulumi.set(__self__, "eku_values", eku_values) + _setter("eku_values", eku_values) if ocsp_allow_unknown_response_status is not None: - pulumi.set(__self__, "ocsp_allow_unknown_response_status", ocsp_allow_unknown_response_status) + _setter("ocsp_allow_unknown_response_status", ocsp_allow_unknown_response_status) if ocsp_enable_signed_response is not None: - pulumi.set(__self__, "ocsp_enable_signed_response", ocsp_enable_signed_response) + _setter("ocsp_enable_signed_response", ocsp_enable_signed_response) if ocsp_enabled is not None: - pulumi.set(__self__, "ocsp_enabled", ocsp_enabled) + _setter("ocsp_enabled", ocsp_enabled) if ocsp_responder_url is not None: - pulumi.set(__self__, "ocsp_responder_url", ocsp_responder_url) + _setter("ocsp_responder_url", ocsp_responder_url) if ocsp_revalidate_time is not None: - pulumi.set(__self__, "ocsp_revalidate_time", ocsp_revalidate_time) + _setter("ocsp_revalidate_time", ocsp_revalidate_time) if ocsp_server_name is not None: - pulumi.set(__self__, "ocsp_server_name", ocsp_server_name) + _setter("ocsp_server_name", ocsp_server_name) if ocsp_trust_cert_chains is not None: - pulumi.set(__self__, "ocsp_trust_cert_chains", ocsp_trust_cert_chains) + _setter("ocsp_trust_cert_chains", ocsp_trust_cert_chains) if other_cert_match_attribute is not None: - pulumi.set(__self__, "other_cert_match_attribute", other_cert_match_attribute) + _setter("other_cert_match_attribute", other_cert_match_attribute) @property @pulumi.getter(name="certMatchAttribute") @@ -27447,15 +29963,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsIdentitySettingIdcsCreatedByArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -27631,15 +30164,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsIdentitySettingIdcsLastModifiedByArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -27816,16 +30366,33 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsIdentitySettingMetaArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: Optional[pulumi.Input[str]] = None, + last_modified: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + resource_type: Optional[pulumi.Input[str]] = None, + version: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if created is not None: - pulumi.set(__self__, "created", created) + _setter("created", created) if last_modified is not None: - pulumi.set(__self__, "last_modified", last_modified) + _setter("last_modified", last_modified) if location is not None: - pulumi.set(__self__, "location", location) + _setter("location", location) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter @@ -27995,14 +30562,29 @@ def __init__(__self__, *, * type: boolean * uniqueness: none """ + DomainsIdentitySettingMyProfileArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + allow_end_users_to_change_their_password=allow_end_users_to_change_their_password, + allow_end_users_to_link_their_support_account=allow_end_users_to_link_their_support_account, + allow_end_users_to_manage_their_capabilities=allow_end_users_to_manage_their_capabilities, + allow_end_users_to_update_their_security_settings=allow_end_users_to_update_their_security_settings, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allow_end_users_to_change_their_password: Optional[pulumi.Input[bool]] = None, + allow_end_users_to_link_their_support_account: Optional[pulumi.Input[bool]] = None, + allow_end_users_to_manage_their_capabilities: Optional[pulumi.Input[bool]] = None, + allow_end_users_to_update_their_security_settings: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if allow_end_users_to_change_their_password is not None: - pulumi.set(__self__, "allow_end_users_to_change_their_password", allow_end_users_to_change_their_password) + _setter("allow_end_users_to_change_their_password", allow_end_users_to_change_their_password) if allow_end_users_to_link_their_support_account is not None: - pulumi.set(__self__, "allow_end_users_to_link_their_support_account", allow_end_users_to_link_their_support_account) + _setter("allow_end_users_to_link_their_support_account", allow_end_users_to_link_their_support_account) if allow_end_users_to_manage_their_capabilities is not None: - pulumi.set(__self__, "allow_end_users_to_manage_their_capabilities", allow_end_users_to_manage_their_capabilities) + _setter("allow_end_users_to_manage_their_capabilities", allow_end_users_to_manage_their_capabilities) if allow_end_users_to_update_their_security_settings is not None: - pulumi.set(__self__, "allow_end_users_to_update_their_security_settings", allow_end_users_to_update_their_security_settings) + _setter("allow_end_users_to_update_their_security_settings", allow_end_users_to_update_their_security_settings) @property @pulumi.getter(name="allowEndUsersToChangeTheirPassword") @@ -28128,10 +30710,21 @@ def __init__(__self__, *, * type: integer * uniqueness: none """ + DomainsIdentitySettingPosixGidArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + manual_assignment_ends_at=manual_assignment_ends_at, + manual_assignment_starts_from=manual_assignment_starts_from, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + manual_assignment_ends_at: Optional[pulumi.Input[int]] = None, + manual_assignment_starts_from: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if manual_assignment_ends_at is not None: - pulumi.set(__self__, "manual_assignment_ends_at", manual_assignment_ends_at) + _setter("manual_assignment_ends_at", manual_assignment_ends_at) if manual_assignment_starts_from is not None: - pulumi.set(__self__, "manual_assignment_starts_from", manual_assignment_starts_from) + _setter("manual_assignment_starts_from", manual_assignment_starts_from) @property @pulumi.getter(name="manualAssignmentEndsAt") @@ -28211,10 +30804,21 @@ def __init__(__self__, *, * type: integer * uniqueness: none """ + DomainsIdentitySettingPosixUidArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + manual_assignment_ends_at=manual_assignment_ends_at, + manual_assignment_starts_from=manual_assignment_starts_from, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + manual_assignment_ends_at: Optional[pulumi.Input[int]] = None, + manual_assignment_starts_from: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if manual_assignment_ends_at is not None: - pulumi.set(__self__, "manual_assignment_ends_at", manual_assignment_ends_at) + _setter("manual_assignment_ends_at", manual_assignment_ends_at) if manual_assignment_starts_from is not None: - pulumi.set(__self__, "manual_assignment_starts_from", manual_assignment_starts_from) + _setter("manual_assignment_starts_from", manual_assignment_starts_from) @property @pulumi.getter(name="manualAssignmentEndsAt") @@ -28292,8 +30896,19 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsIdentitySettingTagArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: pulumi.Input[str], + value: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -28367,9 +30982,20 @@ def __init__(__self__, *, * type: integer * uniqueness: none """ - pulumi.set(__self__, "type", type) + DomainsIdentitySettingTokenArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + expires_after=expires_after, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + expires_after: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if expires_after is not None: - pulumi.set(__self__, "expires_after", expires_after) + _setter("expires_after", expires_after) @property @pulumi.getter @@ -28479,15 +31105,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsKmsiSettingIdcsCreatedByArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -28665,15 +31308,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsKmsiSettingIdcsLastModifiedByArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -28851,16 +31511,33 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsKmsiSettingMetaArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: Optional[pulumi.Input[str]] = None, + last_modified: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + resource_type: Optional[pulumi.Input[str]] = None, + version: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if created is not None: - pulumi.set(__self__, "created", created) + _setter("created", created) if last_modified is not None: - pulumi.set(__self__, "last_modified", last_modified) + _setter("last_modified", last_modified) if location is not None: - pulumi.set(__self__, "location", location) + _setter("location", location) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter @@ -29002,8 +31679,19 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsKmsiSettingTagArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: pulumi.Input[str], + value: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -29119,15 +31807,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsMyApiKeyIdcsCreatedByArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -29313,15 +32018,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsMyApiKeyIdcsLastModifiedByArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -29503,16 +32225,33 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsMyApiKeyMetaArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: Optional[pulumi.Input[str]] = None, + last_modified: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + resource_type: Optional[pulumi.Input[str]] = None, + version: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if created is not None: - pulumi.set(__self__, "created", created) + _setter("created", created) if last_modified is not None: - pulumi.set(__self__, "last_modified", last_modified) + _setter("last_modified", last_modified) if location is not None: - pulumi.set(__self__, "location", location) + _setter("location", location) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter @@ -29658,8 +32397,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsMyApiKeyTagArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: pulumi.Input[str], + value: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -29779,16 +32529,33 @@ def __init__(__self__, *, ** 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 """ + DomainsMyApiKeyUserArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + name=name, + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -29974,15 +32741,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsMyAuthTokenIdcsCreatedByArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -30168,15 +32952,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsMyAuthTokenIdcsLastModifiedByArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -30358,16 +33159,33 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsMyAuthTokenMetaArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: Optional[pulumi.Input[str]] = None, + last_modified: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + resource_type: Optional[pulumi.Input[str]] = None, + version: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if created is not None: - pulumi.set(__self__, "created", created) + _setter("created", created) if last_modified is not None: - pulumi.set(__self__, "last_modified", last_modified) + _setter("last_modified", last_modified) if location is not None: - pulumi.set(__self__, "location", location) + _setter("location", location) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter @@ -30513,8 +33331,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsMyAuthTokenTagArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: pulumi.Input[str], + value: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -30634,16 +33463,33 @@ def __init__(__self__, *, ** 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 """ + DomainsMyAuthTokenUserArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + name=name, + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -30829,15 +33675,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsMyCustomerSecretKeyIdcsCreatedByArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -31023,15 +33886,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsMyCustomerSecretKeyIdcsLastModifiedByArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -31213,16 +34093,33 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsMyCustomerSecretKeyMetaArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: Optional[pulumi.Input[str]] = None, + last_modified: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + resource_type: Optional[pulumi.Input[str]] = None, + version: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if created is not None: - pulumi.set(__self__, "created", created) + _setter("created", created) if last_modified is not None: - pulumi.set(__self__, "last_modified", last_modified) + _setter("last_modified", last_modified) if location is not None: - pulumi.set(__self__, "location", location) + _setter("location", location) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter @@ -31368,8 +34265,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsMyCustomerSecretKeyTagArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: pulumi.Input[str], + value: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -31489,16 +34397,33 @@ def __init__(__self__, *, ** 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 """ + DomainsMyCustomerSecretKeyUserArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + name=name, + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -31684,15 +34609,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsMyOauth2clientCredentialIdcsCreatedByArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -31878,15 +34820,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsMyOauth2clientCredentialIdcsLastModifiedByArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -32068,16 +35027,33 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsMyOauth2clientCredentialMetaArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: Optional[pulumi.Input[str]] = None, + last_modified: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + resource_type: Optional[pulumi.Input[str]] = None, + version: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if created is not None: - pulumi.set(__self__, "created", created) + _setter("created", created) if last_modified is not None: - pulumi.set(__self__, "last_modified", last_modified) + _setter("last_modified", last_modified) if location is not None: - pulumi.set(__self__, "location", location) + _setter("location", location) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter @@ -32215,8 +35191,19 @@ def __init__(__self__, *, * required: true * returned: default """ - pulumi.set(__self__, "audience", audience) - pulumi.set(__self__, "scope", scope) + DomainsMyOauth2clientCredentialScopeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + audience=audience, + scope=scope, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + audience: pulumi.Input[str], + scope: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("audience", audience) + _setter("scope", scope) @property @pulumi.getter @@ -32292,8 +35279,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsMyOauth2clientCredentialTagArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: pulumi.Input[str], + value: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -32413,16 +35411,33 @@ def __init__(__self__, *, ** 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 """ + DomainsMyOauth2clientCredentialUserArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + name=name, + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -32604,15 +35619,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsMyRequestIdcsCreatedByArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -32790,15 +35822,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsMyRequestIdcsLastModifiedByArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -32976,16 +36025,33 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsMyRequestMetaArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: Optional[pulumi.Input[str]] = None, + last_modified: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + resource_type: Optional[pulumi.Input[str]] = None, + version: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if created is not None: - pulumi.set(__self__, "created", created) + _setter("created", created) if last_modified is not None: - pulumi.set(__self__, "last_modified", last_modified) + _setter("last_modified", last_modified) if location is not None: - pulumi.set(__self__, "location", location) + _setter("location", location) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter @@ -33151,12 +36217,27 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + DomainsMyRequestRequestingArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + display=display, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -33286,11 +36367,24 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsMyRequestRequestorArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -33386,8 +36480,19 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsMyRequestTagArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: pulumi.Input[str], + value: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -33499,15 +36604,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsMySmtpCredentialIdcsCreatedByArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -33685,15 +36807,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsMySmtpCredentialIdcsLastModifiedByArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -33871,16 +37010,33 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsMySmtpCredentialMetaArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: Optional[pulumi.Input[str]] = None, + last_modified: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + resource_type: Optional[pulumi.Input[str]] = None, + version: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if created is not None: - pulumi.set(__self__, "created", created) + _setter("created", created) if last_modified is not None: - pulumi.set(__self__, "last_modified", last_modified) + _setter("last_modified", last_modified) if location is not None: - pulumi.set(__self__, "location", location) + _setter("location", location) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter @@ -34022,8 +37178,19 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsMySmtpCredentialTagArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: pulumi.Input[str], + value: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -34135,16 +37302,33 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsMySmtpCredentialUserArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + name=name, + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -34322,15 +37506,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsMySupportAccountIdcsCreatedByArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -34508,15 +37709,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsMySupportAccountIdcsLastModifiedByArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -34694,16 +37912,33 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsMySupportAccountMetaArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: Optional[pulumi.Input[str]] = None, + last_modified: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + resource_type: Optional[pulumi.Input[str]] = None, + version: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if created is not None: - pulumi.set(__self__, "created", created) + _setter("created", created) if last_modified is not None: - pulumi.set(__self__, "last_modified", last_modified) + _setter("last_modified", last_modified) if location is not None: - pulumi.set(__self__, "location", location) + _setter("location", location) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter @@ -34845,8 +38080,19 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsMySupportAccountTagArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: pulumi.Input[str], + value: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -34958,16 +38204,33 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsMySupportAccountUserArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + name=name, + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -35149,15 +38412,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsMyUserDbCredentialIdcsCreatedByArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -35343,15 +38623,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsMyUserDbCredentialIdcsLastModifiedByArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -35533,16 +38830,33 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsMyUserDbCredentialMetaArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: Optional[pulumi.Input[str]] = None, + last_modified: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + resource_type: Optional[pulumi.Input[str]] = None, + version: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if created is not None: - pulumi.set(__self__, "created", created) + _setter("created", created) if last_modified is not None: - pulumi.set(__self__, "last_modified", last_modified) + _setter("last_modified", last_modified) if location is not None: - pulumi.set(__self__, "location", location) + _setter("location", location) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter @@ -35688,8 +39002,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsMyUserDbCredentialTagArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: pulumi.Input[str], + value: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -35809,15 +39134,32 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsMyUserDbCredentialUserArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + name=name, + ocid=ocid, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -36003,15 +39345,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsOauth2clientCredentialIdcsCreatedByArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -36197,15 +39556,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsOauth2clientCredentialIdcsLastModifiedByArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -36387,16 +39763,33 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsOauth2clientCredentialMetaArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: Optional[pulumi.Input[str]] = None, + last_modified: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + resource_type: Optional[pulumi.Input[str]] = None, + version: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if created is not None: - pulumi.set(__self__, "created", created) + _setter("created", created) if last_modified is not None: - pulumi.set(__self__, "last_modified", last_modified) + _setter("last_modified", last_modified) if location is not None: - pulumi.set(__self__, "location", location) + _setter("location", location) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter @@ -36534,8 +39927,19 @@ def __init__(__self__, *, * required: true * returned: default """ - pulumi.set(__self__, "audience", audience) - pulumi.set(__self__, "scope", scope) + DomainsOauth2clientCredentialScopeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + audience=audience, + scope=scope, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + audience: pulumi.Input[str], + scope: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("audience", audience) + _setter("scope", scope) @property @pulumi.getter @@ -36611,8 +40015,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsOauth2clientCredentialTagArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: pulumi.Input[str], + value: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -36681,8 +40096,17 @@ def __init__(__self__, *, * type: boolean * uniqueness: none """ + DomainsOauth2clientCredentialUrnietfparamsscimschemasoracleidcsextensionselfChangeUserArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + allow_self_change=allow_self_change, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allow_self_change: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if allow_self_change is not None: - pulumi.set(__self__, "allow_self_change", allow_self_change) + _setter("allow_self_change", allow_self_change) @property @pulumi.getter(name="allowSelfChange") @@ -36777,16 +40201,33 @@ def __init__(__self__, *, ** 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 """ + DomainsOauth2clientCredentialUserArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + name=name, + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -36932,8 +40373,19 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsPasswordPolicyConfiguredPasswordPolicyRuleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: pulumi.Input[str], + value: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -37021,11 +40473,24 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsPasswordPolicyGroupArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -37159,15 +40624,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsPasswordPolicyIdcsCreatedByArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -37345,15 +40827,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsPasswordPolicyIdcsLastModifiedByArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -37531,16 +41030,33 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsPasswordPolicyMetaArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: Optional[pulumi.Input[str]] = None, + last_modified: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + resource_type: Optional[pulumi.Input[str]] = None, + version: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if created is not None: - pulumi.set(__self__, "created", created) + _setter("created", created) if last_modified is not None: - pulumi.set(__self__, "last_modified", last_modified) + _setter("last_modified", last_modified) if location is not None: - pulumi.set(__self__, "location", location) + _setter("location", location) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter @@ -37682,8 +41198,19 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsPasswordPolicyTagArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: pulumi.Input[str], + value: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -37799,15 +41326,32 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "value", value) + DomainsSecurityQuestionIdcsCreatedByArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -37993,15 +41537,32 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "value", value) + DomainsSecurityQuestionIdcsLastModifiedByArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -38183,16 +41744,33 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsSecurityQuestionMetaArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: Optional[pulumi.Input[str]] = None, + last_modified: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + resource_type: Optional[pulumi.Input[str]] = None, + version: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if created is not None: - pulumi.set(__self__, "created", created) + _setter("created", created) if last_modified is not None: - pulumi.set(__self__, "last_modified", last_modified) + _setter("last_modified", last_modified) if location is not None: - pulumi.set(__self__, "location", location) + _setter("location", location) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter @@ -38347,10 +41925,23 @@ def __init__(__self__, *, * type: boolean * uniqueness: none """ - pulumi.set(__self__, "locale", locale) - pulumi.set(__self__, "value", value) + DomainsSecurityQuestionQuestionTextArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + locale=locale, + value=value, + default=default, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + locale: pulumi.Input[str], + value: pulumi.Input[str], + default: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("locale", locale) + _setter("value", value) if default is not None: - pulumi.set(__self__, "default", default) + _setter("default", default) @property @pulumi.getter @@ -38485,15 +42076,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsSecurityQuestionSettingIdcsCreatedByArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -38671,15 +42279,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsSecurityQuestionSettingIdcsLastModifiedByArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -38857,16 +42482,33 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsSecurityQuestionSettingMetaArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: Optional[pulumi.Input[str]] = None, + last_modified: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + resource_type: Optional[pulumi.Input[str]] = None, + version: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if created is not None: - pulumi.set(__self__, "created", created) + _setter("created", created) if last_modified is not None: - pulumi.set(__self__, "last_modified", last_modified) + _setter("last_modified", last_modified) if location is not None: - pulumi.set(__self__, "location", location) + _setter("location", location) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter @@ -39008,8 +42650,19 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsSecurityQuestionSettingTagArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: pulumi.Input[str], + value: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -39085,8 +42738,19 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsSecurityQuestionTagArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: pulumi.Input[str], + value: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -39198,15 +42862,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsSmtpCredentialIdcsCreatedByArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -39384,15 +43065,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsSmtpCredentialIdcsLastModifiedByArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -39570,16 +43268,33 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsSmtpCredentialMetaArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: Optional[pulumi.Input[str]] = None, + last_modified: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + resource_type: Optional[pulumi.Input[str]] = None, + version: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if created is not None: - pulumi.set(__self__, "created", created) + _setter("created", created) if last_modified is not None: - pulumi.set(__self__, "last_modified", last_modified) + _setter("last_modified", last_modified) if location is not None: - pulumi.set(__self__, "location", location) + _setter("location", location) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter @@ -39721,8 +43436,19 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsSmtpCredentialTagArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: pulumi.Input[str], + value: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -39787,8 +43513,17 @@ def __init__(__self__, *, * type: boolean * uniqueness: none """ + DomainsSmtpCredentialUrnietfparamsscimschemasoracleidcsextensionselfChangeUserArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + allow_self_change=allow_self_change, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allow_self_change: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if allow_self_change is not None: - pulumi.set(__self__, "allow_self_change", allow_self_change) + _setter("allow_self_change", allow_self_change) @property @pulumi.getter(name="allowSelfChange") @@ -39879,16 +43614,33 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsSmtpCredentialUserArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + name=name, + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -40102,21 +43854,44 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "type", type) + DomainsUserAddressArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + country=country, + formatted=formatted, + locality=locality, + postal_code=postal_code, + primary=primary, + region=region, + street_address=street_address, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + country: Optional[pulumi.Input[str]] = None, + formatted: Optional[pulumi.Input[str]] = None, + locality: Optional[pulumi.Input[str]] = None, + postal_code: Optional[pulumi.Input[str]] = None, + primary: Optional[pulumi.Input[bool]] = None, + region: Optional[pulumi.Input[str]] = None, + street_address: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if country is not None: - pulumi.set(__self__, "country", country) + _setter("country", country) if formatted is not None: - pulumi.set(__self__, "formatted", formatted) + _setter("formatted", formatted) if locality is not None: - pulumi.set(__self__, "locality", locality) + _setter("locality", locality) if postal_code is not None: - pulumi.set(__self__, "postal_code", postal_code) + _setter("postal_code", postal_code) if primary is not None: - pulumi.set(__self__, "primary", primary) + _setter("primary", primary) if region is not None: - pulumi.set(__self__, "region", region) + _setter("region", region) if street_address is not None: - pulumi.set(__self__, "street_address", street_address) + _setter("street_address", street_address) @property @pulumi.getter @@ -40364,15 +44139,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsUserDbCredentialIdcsCreatedByArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -40558,15 +44350,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsUserDbCredentialIdcsLastModifiedByArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -40748,16 +44557,33 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsUserDbCredentialMetaArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: Optional[pulumi.Input[str]] = None, + last_modified: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + resource_type: Optional[pulumi.Input[str]] = None, + version: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if created is not None: - pulumi.set(__self__, "created", created) + _setter("created", created) if last_modified is not None: - pulumi.set(__self__, "last_modified", last_modified) + _setter("last_modified", last_modified) if location is not None: - pulumi.set(__self__, "location", location) + _setter("location", location) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter @@ -40903,8 +44729,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsUserDbCredentialTagArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: pulumi.Input[str], + value: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -40973,8 +44810,17 @@ def __init__(__self__, *, * type: boolean * uniqueness: none """ + DomainsUserDbCredentialUrnietfparamsscimschemasoracleidcsextensionselfChangeUserArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + allow_self_change=allow_self_change, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allow_self_change: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if allow_self_change is not None: - pulumi.set(__self__, "allow_self_change", allow_self_change) + _setter("allow_self_change", allow_self_change) @property @pulumi.getter(name="allowSelfChange") @@ -41069,15 +44915,32 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsUserDbCredentialUserArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + name=name, + ocid=ocid, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -41275,16 +45138,35 @@ def __init__(__self__, *, * type: boolean * uniqueness: none """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + DomainsUserEmailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + pending_verification_data=pending_verification_data, + primary=primary, + secondary=secondary, + verified=verified, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + value: pulumi.Input[str], + pending_verification_data: Optional[pulumi.Input[str]] = None, + primary: Optional[pulumi.Input[bool]] = None, + secondary: Optional[pulumi.Input[bool]] = None, + verified: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("value", value) if pending_verification_data is not None: - pulumi.set(__self__, "pending_verification_data", pending_verification_data) + _setter("pending_verification_data", pending_verification_data) if primary is not None: - pulumi.set(__self__, "primary", primary) + _setter("primary", primary) if secondary is not None: - pulumi.set(__self__, "secondary", secondary) + _setter("secondary", secondary) if verified is not None: - pulumi.set(__self__, "verified", verified) + _setter("verified", verified) @property @pulumi.getter @@ -41476,12 +45358,27 @@ def __init__(__self__, *, * type: boolean * uniqueness: none """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + DomainsUserEntitlementArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + display=display, + primary=primary, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + primary: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if primary is not None: - pulumi.set(__self__, "primary", primary) + _setter("primary", primary) @property @pulumi.getter @@ -41692,23 +45589,48 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsUserGroupArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + date_added=date_added, + display=display, + external_id=external_id, + membership_ocid=membership_ocid, + non_unique_display=non_unique_display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + date_added: Optional[pulumi.Input[str]] = None, + display: Optional[pulumi.Input[str]] = None, + external_id: Optional[pulumi.Input[str]] = None, + membership_ocid: Optional[pulumi.Input[str]] = None, + non_unique_display: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if date_added is not None: - pulumi.set(__self__, "date_added", date_added) + _setter("date_added", date_added) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if external_id is not None: - pulumi.set(__self__, "external_id", external_id) + _setter("external_id", external_id) if membership_ocid is not None: - pulumi.set(__self__, "membership_ocid", membership_ocid) + _setter("membership_ocid", membership_ocid) if non_unique_display is not None: - pulumi.set(__self__, "non_unique_display", non_unique_display) + _setter("non_unique_display", non_unique_display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -41985,15 +45907,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsUserIdcsCreatedByArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -42179,15 +46118,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsUserIdcsLastModifiedByArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -42357,12 +46313,27 @@ def __init__(__self__, *, * type: boolean * uniqueness: none """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + DomainsUserImArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + display=display, + primary=primary, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + primary: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if primary is not None: - pulumi.set(__self__, "primary", primary) + _setter("primary", primary) @property @pulumi.getter @@ -42518,16 +46489,33 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsUserMetaArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: Optional[pulumi.Input[str]] = None, + last_modified: Optional[pulumi.Input[str]] = None, + location: Optional[pulumi.Input[str]] = None, + resource_type: Optional[pulumi.Input[str]] = None, + version: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if created is not None: - pulumi.set(__self__, "created", created) + _setter("created", created) if last_modified is not None: - pulumi.set(__self__, "last_modified", last_modified) + _setter("last_modified", last_modified) if location is not None: - pulumi.set(__self__, "location", location) + _setter("location", location) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter @@ -42720,17 +46708,36 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "family_name", family_name) + DomainsUserNameArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + family_name=family_name, + formatted=formatted, + given_name=given_name, + honorific_prefix=honorific_prefix, + honorific_suffix=honorific_suffix, + middle_name=middle_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + family_name: pulumi.Input[str], + formatted: Optional[pulumi.Input[str]] = None, + given_name: Optional[pulumi.Input[str]] = None, + honorific_prefix: Optional[pulumi.Input[str]] = None, + honorific_suffix: Optional[pulumi.Input[str]] = None, + middle_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("family_name", family_name) if formatted is not None: - pulumi.set(__self__, "formatted", formatted) + _setter("formatted", formatted) if given_name is not None: - pulumi.set(__self__, "given_name", given_name) + _setter("given_name", given_name) if honorific_prefix is not None: - pulumi.set(__self__, "honorific_prefix", honorific_prefix) + _setter("honorific_prefix", honorific_prefix) if honorific_suffix is not None: - pulumi.set(__self__, "honorific_suffix", honorific_suffix) + _setter("honorific_suffix", honorific_suffix) if middle_name is not None: - pulumi.set(__self__, "middle_name", middle_name) + _setter("middle_name", middle_name) @property @pulumi.getter(name="familyName") @@ -42933,14 +46940,31 @@ def __init__(__self__, *, * type: boolean * uniqueness: none """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + DomainsUserPhoneNumberArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + display=display, + primary=primary, + verified=verified, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + primary: Optional[pulumi.Input[bool]] = None, + verified: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if primary is not None: - pulumi.set(__self__, "primary", primary) + _setter("primary", primary) if verified is not None: - pulumi.set(__self__, "verified", verified) + _setter("verified", verified) @property @pulumi.getter @@ -43106,12 +47130,27 @@ def __init__(__self__, *, * type: boolean * uniqueness: none """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + DomainsUserPhotoArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + display=display, + primary=primary, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + primary: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if primary is not None: - pulumi.set(__self__, "primary", primary) + _setter("primary", primary) @property @pulumi.getter @@ -43255,12 +47294,27 @@ def __init__(__self__, *, * type: boolean * uniqueness: none """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + DomainsUserRoleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + display=display, + primary=primary, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + primary: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if primary is not None: - pulumi.set(__self__, "primary", primary) + _setter("primary", primary) @property @pulumi.getter @@ -43385,8 +47439,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsUserTagArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: pulumi.Input[str], + value: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -43530,18 +47595,37 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsUserUrnietfparamsscimschemasextensionenterprise20userArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + cost_center=cost_center, + department=department, + division=division, + employee_number=employee_number, + manager=manager, + organization=organization, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cost_center: Optional[pulumi.Input[str]] = None, + department: Optional[pulumi.Input[str]] = None, + division: Optional[pulumi.Input[str]] = None, + employee_number: Optional[pulumi.Input[str]] = None, + manager: Optional[pulumi.Input['DomainsUserUrnietfparamsscimschemasextensionenterprise20userManagerArgs']] = None, + organization: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if cost_center is not None: - pulumi.set(__self__, "cost_center", cost_center) + _setter("cost_center", cost_center) if department is not None: - pulumi.set(__self__, "department", department) + _setter("department", department) if division is not None: - pulumi.set(__self__, "division", division) + _setter("division", division) if employee_number is not None: - pulumi.set(__self__, "employee_number", employee_number) + _setter("employee_number", employee_number) if manager is not None: - pulumi.set(__self__, "manager", manager) + _setter("manager", manager) if organization is not None: - pulumi.set(__self__, "organization", organization) + _setter("organization", organization) @property @pulumi.getter(name="costCenter") @@ -43735,12 +47819,25 @@ def __init__(__self__, *, ** 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 """ + DomainsUserUrnietfparamsscimschemasextensionenterprise20userManagerArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter(name="displayName") @@ -43852,12 +47949,25 @@ def __init__(__self__, *, * mutability: readOnly * returned: request """ + DomainsUserUrnietfparamsscimschemasoracleidcsextensionOciTagsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + defined_tags=defined_tags, + freeform_tags=freeform_tags, + tag_slug=tag_slug, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + defined_tags: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsUserUrnietfparamsscimschemasoracleidcsextensionOciTagsDefinedTagArgs']]]] = None, + freeform_tags: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsUserUrnietfparamsscimschemasoracleidcsextensionOciTagsFreeformTagArgs']]]] = None, + tag_slug: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if tag_slug is not None: - pulumi.set(__self__, "tag_slug", tag_slug) + _setter("tag_slug", tag_slug) @property @pulumi.getter(name="definedTags") @@ -43972,9 +48082,22 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "value", value) + DomainsUserUrnietfparamsscimschemasoracleidcsextensionOciTagsDefinedTagArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + namespace=namespace, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: pulumi.Input[str], + namespace: pulumi.Input[str], + value: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("namespace", namespace) + _setter("value", value) @property @pulumi.getter @@ -44083,8 +48206,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsUserUrnietfparamsscimschemasoracleidcsextensionOciTagsFreeformTagArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: pulumi.Input[str], + value: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -44168,10 +48302,21 @@ def __init__(__self__, *, * type: complex * uniqueness: none """ + DomainsUserUrnietfparamsscimschemasoracleidcsextensionadaptiveUserArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + risk_level=risk_level, + risk_scores=risk_scores, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + risk_level: Optional[pulumi.Input[str]] = None, + risk_scores: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsUserUrnietfparamsscimschemasoracleidcsextensionadaptiveUserRiskScoreArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if risk_level is not None: - pulumi.set(__self__, "risk_level", risk_level) + _setter("risk_level", risk_level) if risk_scores is not None: - pulumi.set(__self__, "risk_scores", risk_scores) + _setter("risk_scores", risk_scores) @property @pulumi.getter(name="riskLevel") @@ -44321,16 +48466,37 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "last_update_timestamp", last_update_timestamp) - pulumi.set(__self__, "risk_level", risk_level) - pulumi.set(__self__, "score", score) - pulumi.set(__self__, "value", value) + DomainsUserUrnietfparamsscimschemasoracleidcsextensionadaptiveUserRiskScoreArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + last_update_timestamp=last_update_timestamp, + risk_level=risk_level, + score=score, + value=value, + ref=ref, + source=source, + status=status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + last_update_timestamp: pulumi.Input[str], + risk_level: pulumi.Input[str], + score: pulumi.Input[int], + value: pulumi.Input[str], + ref: Optional[pulumi.Input[str]] = None, + source: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("last_update_timestamp", last_update_timestamp) + _setter("risk_level", risk_level) + _setter("score", score) + _setter("value", value) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if source is not None: - pulumi.set(__self__, "source", source) + _setter("source", source) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) @property @pulumi.getter(name="lastUpdateTimestamp") @@ -44615,22 +48781,45 @@ def __init__(__self__, *, * type: boolean * uniqueness: none """ + DomainsUserUrnietfparamsscimschemasoracleidcsextensioncapabilitiesUserArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + can_use_api_keys=can_use_api_keys, + can_use_auth_tokens=can_use_auth_tokens, + can_use_console=can_use_console, + can_use_console_password=can_use_console_password, + can_use_customer_secret_keys=can_use_customer_secret_keys, + can_use_db_credentials=can_use_db_credentials, + can_use_oauth2client_credentials=can_use_oauth2client_credentials, + can_use_smtp_credentials=can_use_smtp_credentials, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + can_use_api_keys: Optional[pulumi.Input[bool]] = None, + can_use_auth_tokens: Optional[pulumi.Input[bool]] = None, + can_use_console: Optional[pulumi.Input[bool]] = None, + can_use_console_password: Optional[pulumi.Input[bool]] = None, + can_use_customer_secret_keys: Optional[pulumi.Input[bool]] = None, + can_use_db_credentials: Optional[pulumi.Input[bool]] = None, + can_use_oauth2client_credentials: Optional[pulumi.Input[bool]] = None, + can_use_smtp_credentials: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if can_use_api_keys is not None: - pulumi.set(__self__, "can_use_api_keys", can_use_api_keys) + _setter("can_use_api_keys", can_use_api_keys) if can_use_auth_tokens is not None: - pulumi.set(__self__, "can_use_auth_tokens", can_use_auth_tokens) + _setter("can_use_auth_tokens", can_use_auth_tokens) if can_use_console is not None: - pulumi.set(__self__, "can_use_console", can_use_console) + _setter("can_use_console", can_use_console) if can_use_console_password is not None: - pulumi.set(__self__, "can_use_console_password", can_use_console_password) + _setter("can_use_console_password", can_use_console_password) if can_use_customer_secret_keys is not None: - pulumi.set(__self__, "can_use_customer_secret_keys", can_use_customer_secret_keys) + _setter("can_use_customer_secret_keys", can_use_customer_secret_keys) if can_use_db_credentials is not None: - pulumi.set(__self__, "can_use_db_credentials", can_use_db_credentials) + _setter("can_use_db_credentials", can_use_db_credentials) if can_use_oauth2client_credentials is not None: - pulumi.set(__self__, "can_use_oauth2client_credentials", can_use_oauth2client_credentials) + _setter("can_use_oauth2client_credentials", can_use_oauth2client_credentials) if can_use_smtp_credentials is not None: - pulumi.set(__self__, "can_use_smtp_credentials", can_use_smtp_credentials) + _setter("can_use_smtp_credentials", can_use_smtp_credentials) @property @pulumi.getter(name="canUseApiKeys") @@ -44857,10 +49046,21 @@ def __init__(__self__, *, * uniqueness: none * idcsSearchable: true """ + DomainsUserUrnietfparamsscimschemasoracleidcsextensiondbCredentialsUserArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_login_attempts=db_login_attempts, + db_user_name=db_user_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_login_attempts: Optional[pulumi.Input[int]] = None, + db_user_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if db_login_attempts is not None: - pulumi.set(__self__, "db_login_attempts", db_login_attempts) + _setter("db_login_attempts", db_login_attempts) if db_user_name is not None: - pulumi.set(__self__, "db_user_name", db_user_name) + _setter("db_user_name", db_user_name) @property @pulumi.getter(name="dbLoginAttempts") @@ -44985,16 +49185,33 @@ def __init__(__self__, *, * type: complex * uniqueness: none """ + DomainsUserUrnietfparamsscimschemasoracleidcsextensiondbUserUserArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_global_roles=db_global_roles, + domain_level_schema=domain_level_schema, + instance_level_schema=instance_level_schema, + is_db_user=is_db_user, + password_verifiers=password_verifiers, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_global_roles: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + domain_level_schema: Optional[pulumi.Input[str]] = None, + instance_level_schema: Optional[pulumi.Input[str]] = None, + is_db_user: Optional[pulumi.Input[bool]] = None, + password_verifiers: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsUserUrnietfparamsscimschemasoracleidcsextensiondbUserUserPasswordVerifierArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if db_global_roles is not None: - pulumi.set(__self__, "db_global_roles", db_global_roles) + _setter("db_global_roles", db_global_roles) if domain_level_schema is not None: - pulumi.set(__self__, "domain_level_schema", domain_level_schema) + _setter("domain_level_schema", domain_level_schema) if instance_level_schema is not None: - pulumi.set(__self__, "instance_level_schema", instance_level_schema) + _setter("instance_level_schema", instance_level_schema) if is_db_user is not None: - pulumi.set(__self__, "is_db_user", is_db_user) + _setter("is_db_user", is_db_user) if password_verifiers is not None: - pulumi.set(__self__, "password_verifiers", password_verifiers) + _setter("password_verifiers", password_verifiers) @property @pulumi.getter(name="dbGlobalRoles") @@ -45148,8 +49365,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + DomainsUserUrnietfparamsscimschemasoracleidcsextensiondbUserUserPasswordVerifierArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + value: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -45214,8 +49442,17 @@ def __init__(__self__, *, * type: complex * uniqueness: none """ + DomainsUserUrnietfparamsscimschemasoracleidcsextensionkerberosUserUserArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + realm_users=realm_users, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + realm_users: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsUserUrnietfparamsscimschemasoracleidcsextensionkerberosUserUserRealmUserArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if realm_users is not None: - pulumi.set(__self__, "realm_users", realm_users) + _setter("realm_users", realm_users) @property @pulumi.getter(name="realmUsers") @@ -45295,13 +49532,28 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsUserUrnietfparamsscimschemasoracleidcsextensionkerberosUserUserRealmUserArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + principal_name=principal_name, + realm_name=realm_name, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + principal_name: Optional[pulumi.Input[str]] = None, + realm_name: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if principal_name is not None: - pulumi.set(__self__, "principal_name", principal_name) + _setter("principal_name", principal_name) if realm_name is not None: - pulumi.set(__self__, "realm_name", realm_name) + _setter("realm_name", realm_name) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -45551,28 +49803,57 @@ def __init__(__self__, *, * type: complex * uniqueness: none """ + DomainsUserUrnietfparamsscimschemasoracleidcsextensionmfaUserArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + bypass_codes=bypass_codes, + devices=devices, + login_attempts=login_attempts, + mfa_enabled_on=mfa_enabled_on, + mfa_ignored_apps=mfa_ignored_apps, + mfa_status=mfa_status, + preferred_authentication_factor=preferred_authentication_factor, + preferred_authentication_method=preferred_authentication_method, + preferred_device=preferred_device, + preferred_third_party_vendor=preferred_third_party_vendor, + trusted_user_agents=trusted_user_agents, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bypass_codes: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsUserUrnietfparamsscimschemasoracleidcsextensionmfaUserBypassCodeArgs']]]] = None, + devices: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsUserUrnietfparamsscimschemasoracleidcsextensionmfaUserDeviceArgs']]]] = None, + login_attempts: Optional[pulumi.Input[int]] = None, + mfa_enabled_on: Optional[pulumi.Input[str]] = None, + mfa_ignored_apps: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + mfa_status: Optional[pulumi.Input[str]] = None, + preferred_authentication_factor: Optional[pulumi.Input[str]] = None, + preferred_authentication_method: Optional[pulumi.Input[str]] = None, + preferred_device: Optional[pulumi.Input['DomainsUserUrnietfparamsscimschemasoracleidcsextensionmfaUserPreferredDeviceArgs']] = None, + preferred_third_party_vendor: Optional[pulumi.Input[str]] = None, + trusted_user_agents: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsUserUrnietfparamsscimschemasoracleidcsextensionmfaUserTrustedUserAgentArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if bypass_codes is not None: - pulumi.set(__self__, "bypass_codes", bypass_codes) + _setter("bypass_codes", bypass_codes) if devices is not None: - pulumi.set(__self__, "devices", devices) + _setter("devices", devices) if login_attempts is not None: - pulumi.set(__self__, "login_attempts", login_attempts) + _setter("login_attempts", login_attempts) if mfa_enabled_on is not None: - pulumi.set(__self__, "mfa_enabled_on", mfa_enabled_on) + _setter("mfa_enabled_on", mfa_enabled_on) if mfa_ignored_apps is not None: - pulumi.set(__self__, "mfa_ignored_apps", mfa_ignored_apps) + _setter("mfa_ignored_apps", mfa_ignored_apps) if mfa_status is not None: - pulumi.set(__self__, "mfa_status", mfa_status) + _setter("mfa_status", mfa_status) if preferred_authentication_factor is not None: - pulumi.set(__self__, "preferred_authentication_factor", preferred_authentication_factor) + _setter("preferred_authentication_factor", preferred_authentication_factor) if preferred_authentication_method is not None: - pulumi.set(__self__, "preferred_authentication_method", preferred_authentication_method) + _setter("preferred_authentication_method", preferred_authentication_method) if preferred_device is not None: - pulumi.set(__self__, "preferred_device", preferred_device) + _setter("preferred_device", preferred_device) if preferred_third_party_vendor is not None: - pulumi.set(__self__, "preferred_third_party_vendor", preferred_third_party_vendor) + _setter("preferred_third_party_vendor", preferred_third_party_vendor) if trusted_user_agents is not None: - pulumi.set(__self__, "trusted_user_agents", trusted_user_agents) + _setter("trusted_user_agents", trusted_user_agents) @property @pulumi.getter(name="bypassCodes") @@ -45869,9 +50150,20 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsUserUrnietfparamsscimschemasoracleidcsextensionmfaUserBypassCodeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + ref: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -46044,23 +50336,48 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsUserUrnietfparamsscimschemasoracleidcsextensionmfaUserDeviceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + authentication_method=authentication_method, + display=display, + factor_status=factor_status, + factor_type=factor_type, + last_sync_time=last_sync_time, + ref=ref, + status=status, + third_party_vendor_name=third_party_vendor_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + authentication_method: Optional[pulumi.Input[str]] = None, + display: Optional[pulumi.Input[str]] = None, + factor_status: Optional[pulumi.Input[str]] = None, + factor_type: Optional[pulumi.Input[str]] = None, + last_sync_time: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[str]] = None, + third_party_vendor_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if authentication_method is not None: - pulumi.set(__self__, "authentication_method", authentication_method) + _setter("authentication_method", authentication_method) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if factor_status is not None: - pulumi.set(__self__, "factor_status", factor_status) + _setter("factor_status", factor_status) if factor_type is not None: - pulumi.set(__self__, "factor_type", factor_type) + _setter("factor_type", factor_type) if last_sync_time is not None: - pulumi.set(__self__, "last_sync_time", last_sync_time) + _setter("last_sync_time", last_sync_time) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if third_party_vendor_name is not None: - pulumi.set(__self__, "third_party_vendor_name", third_party_vendor_name) + _setter("third_party_vendor_name", third_party_vendor_name) @property @pulumi.getter @@ -46314,11 +50631,24 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsUserUrnietfparamsscimschemasoracleidcsextensionmfaUserPreferredDeviceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -46434,11 +50764,24 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsUserUrnietfparamsscimschemasoracleidcsextensionmfaUserTrustedUserAgentArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -46614,22 +50957,45 @@ def __init__(__self__, *, * type: boolean * uniqueness: none """ + DomainsUserUrnietfparamsscimschemasoracleidcsextensionpasswordStateUserArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + applicable_password_policy=applicable_password_policy, + cant_change=cant_change, + cant_expire=cant_expire, + expired=expired, + last_failed_validation_date=last_failed_validation_date, + last_successful_set_date=last_successful_set_date, + last_successful_validation_date=last_successful_validation_date, + must_change=must_change, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + applicable_password_policy: Optional[pulumi.Input['DomainsUserUrnietfparamsscimschemasoracleidcsextensionpasswordStateUserApplicablePasswordPolicyArgs']] = None, + cant_change: Optional[pulumi.Input[bool]] = None, + cant_expire: Optional[pulumi.Input[bool]] = None, + expired: Optional[pulumi.Input[bool]] = None, + last_failed_validation_date: Optional[pulumi.Input[str]] = None, + last_successful_set_date: Optional[pulumi.Input[str]] = None, + last_successful_validation_date: Optional[pulumi.Input[str]] = None, + must_change: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if applicable_password_policy is not None: - pulumi.set(__self__, "applicable_password_policy", applicable_password_policy) + _setter("applicable_password_policy", applicable_password_policy) if cant_change is not None: - pulumi.set(__self__, "cant_change", cant_change) + _setter("cant_change", cant_change) if cant_expire is not None: - pulumi.set(__self__, "cant_expire", cant_expire) + _setter("cant_expire", cant_expire) if expired is not None: - pulumi.set(__self__, "expired", expired) + _setter("expired", expired) if last_failed_validation_date is not None: - pulumi.set(__self__, "last_failed_validation_date", last_failed_validation_date) + _setter("last_failed_validation_date", last_failed_validation_date) if last_successful_set_date is not None: - pulumi.set(__self__, "last_successful_set_date", last_successful_set_date) + _setter("last_successful_set_date", last_successful_set_date) if last_successful_validation_date is not None: - pulumi.set(__self__, "last_successful_validation_date", last_successful_validation_date) + _setter("last_successful_validation_date", last_successful_validation_date) if must_change is not None: - pulumi.set(__self__, "must_change", must_change) + _setter("must_change", must_change) @property @pulumi.getter(name="applicablePasswordPolicy") @@ -46868,13 +51234,28 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsUserUrnietfparamsscimschemasoracleidcsextensionpasswordStateUserApplicablePasswordPolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + priority=priority, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + priority: Optional[pulumi.Input[int]] = None, + ref: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if priority is not None: - pulumi.set(__self__, "priority", priority) + _setter("priority", priority) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -47016,12 +51397,25 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsUserUrnietfparamsscimschemasoracleidcsextensionpasswordlessUserArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + factor_identifier=factor_identifier, + factor_method=factor_method, + factor_type=factor_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + factor_identifier: Optional[pulumi.Input['DomainsUserUrnietfparamsscimschemasoracleidcsextensionpasswordlessUserFactorIdentifierArgs']] = None, + factor_method: Optional[pulumi.Input[str]] = None, + factor_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if factor_identifier is not None: - pulumi.set(__self__, "factor_identifier", factor_identifier) + _setter("factor_identifier", factor_identifier) if factor_method is not None: - pulumi.set(__self__, "factor_method", factor_method) + _setter("factor_method", factor_method) if factor_type is not None: - pulumi.set(__self__, "factor_type", factor_type) + _setter("factor_type", factor_type) @property @pulumi.getter(name="factorIdentifier") @@ -47140,11 +51534,24 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsUserUrnietfparamsscimschemasoracleidcsextensionpasswordlessUserFactorIdentifierArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -47276,16 +51683,33 @@ def __init__(__self__, *, * type: integer * uniqueness: server """ + DomainsUserUrnietfparamsscimschemasoracleidcsextensionposixUserArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + gecos=gecos, + gid_number=gid_number, + home_directory=home_directory, + login_shell=login_shell, + uid_number=uid_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + gecos: Optional[pulumi.Input[str]] = None, + gid_number: Optional[pulumi.Input[int]] = None, + home_directory: Optional[pulumi.Input[str]] = None, + login_shell: Optional[pulumi.Input[str]] = None, + uid_number: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if gecos is not None: - pulumi.set(__self__, "gecos", gecos) + _setter("gecos", gecos) if gid_number is not None: - pulumi.set(__self__, "gid_number", gid_number) + _setter("gid_number", gid_number) if home_directory is not None: - pulumi.set(__self__, "home_directory", home_directory) + _setter("home_directory", home_directory) if login_shell is not None: - pulumi.set(__self__, "login_shell", login_shell) + _setter("login_shell", login_shell) if uid_number is not None: - pulumi.set(__self__, "uid_number", uid_number) + _setter("uid_number", uid_number) @property @pulumi.getter @@ -47409,8 +51833,17 @@ def __init__(__self__, *, * type: complex * uniqueness: none """ + DomainsUserUrnietfparamsscimschemasoracleidcsextensionsecurityQuestionsUserArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + sec_questions=sec_questions, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + sec_questions: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsUserUrnietfparamsscimschemasoracleidcsextensionsecurityQuestionsUserSecQuestionArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if sec_questions is not None: - pulumi.set(__self__, "sec_questions", sec_questions) + _setter("sec_questions", sec_questions) @property @pulumi.getter(name="secQuestions") @@ -47492,12 +51925,27 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "answer", answer) - pulumi.set(__self__, "value", value) + DomainsUserUrnietfparamsscimschemasoracleidcsextensionsecurityQuestionsUserSecQuestionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + answer=answer, + value=value, + hint_text=hint_text, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + answer: pulumi.Input[str], + value: pulumi.Input[str], + hint_text: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("answer", answer) + _setter("value", value) if hint_text is not None: - pulumi.set(__self__, "hint_text", hint_text) + _setter("hint_text", hint_text) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -47611,8 +52059,17 @@ def __init__(__self__, *, * type: boolean * uniqueness: none """ + DomainsUserUrnietfparamsscimschemasoracleidcsextensionselfChangeUserArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + allow_self_change=allow_self_change, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allow_self_change: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if allow_self_change is not None: - pulumi.set(__self__, "allow_self_change", allow_self_change) + _setter("allow_self_change", allow_self_change) @property @pulumi.getter(name="allowSelfChange") @@ -47679,11 +52136,24 @@ def __init__(__self__, *, * type: complex * uniqueness: none """ - pulumi.set(__self__, "self_registration_profile", self_registration_profile) + DomainsUserUrnietfparamsscimschemasoracleidcsextensionselfRegistrationUserArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + self_registration_profile=self_registration_profile, + consent_granted=consent_granted, + user_token=user_token, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + self_registration_profile: pulumi.Input['DomainsUserUrnietfparamsscimschemasoracleidcsextensionselfRegistrationUserSelfRegistrationProfileArgs'], + consent_granted: Optional[pulumi.Input[bool]] = None, + user_token: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("self_registration_profile", self_registration_profile) if consent_granted is not None: - pulumi.set(__self__, "consent_granted", consent_granted) + _setter("consent_granted", consent_granted) if user_token is not None: - pulumi.set(__self__, "user_token", user_token) + _setter("user_token", user_token) @property @pulumi.getter(name="selfRegistrationProfile") @@ -47796,11 +52266,24 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsUserUrnietfparamsscimschemasoracleidcsextensionselfRegistrationUserSelfRegistrationProfileArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -47888,8 +52371,17 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsUserUrnietfparamsscimschemasoracleidcsextensionsffUserArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + sff_auth_keys=sff_auth_keys, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + sff_auth_keys: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if sff_auth_keys is not None: - pulumi.set(__self__, "sff_auth_keys", sff_auth_keys) + _setter("sff_auth_keys", sff_auth_keys) @property @pulumi.getter(name="sffAuthKeys") @@ -47931,8 +52423,17 @@ def __init__(__self__, *, * type: complex * uniqueness: none """ + DomainsUserUrnietfparamsscimschemasoracleidcsextensionsocialAccountUserArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + social_accounts=social_accounts, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + social_accounts: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsUserUrnietfparamsscimschemasoracleidcsextensionsocialAccountUserSocialAccountArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if social_accounts is not None: - pulumi.set(__self__, "social_accounts", social_accounts) + _setter("social_accounts", social_accounts) @property @pulumi.getter(name="socialAccounts") @@ -48002,11 +52503,24 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsUserUrnietfparamsscimschemasoracleidcsextensionsocialAccountUserSocialAccountArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -48097,8 +52611,17 @@ def __init__(__self__, *, * type: complex * uniqueness: none """ + DomainsUserUrnietfparamsscimschemasoracleidcsextensiontermsOfUseUserArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + terms_of_use_consents=terms_of_use_consents, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + terms_of_use_consents: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsUserUrnietfparamsscimschemasoracleidcsextensiontermsOfUseUserTermsOfUseConsentArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if terms_of_use_consents is not None: - pulumi.set(__self__, "terms_of_use_consents", terms_of_use_consents) + _setter("terms_of_use_consents", terms_of_use_consents) @property @pulumi.getter(name="termsOfUseConsents") @@ -48158,9 +52681,20 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsUserUrnietfparamsscimschemasoracleidcsextensiontermsOfUseUserTermsOfUseConsentArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + ref: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -48300,18 +52834,37 @@ def __init__(__self__, *, * type: complex * uniqueness: none """ + DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserCredentialsUserArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + api_keys=api_keys, + auth_tokens=auth_tokens, + customer_secret_keys=customer_secret_keys, + db_credentials=db_credentials, + o_auth2client_credentials=o_auth2client_credentials, + smtp_credentials=smtp_credentials, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + api_keys: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserCredentialsUserApiKeyArgs']]]] = None, + auth_tokens: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserCredentialsUserAuthTokenArgs']]]] = None, + customer_secret_keys: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserCredentialsUserCustomerSecretKeyArgs']]]] = None, + db_credentials: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserCredentialsUserDbCredentialArgs']]]] = None, + o_auth2client_credentials: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserCredentialsUserOAuth2clientCredentialArgs']]]] = None, + smtp_credentials: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserCredentialsUserSmtpCredentialArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if api_keys is not None: - pulumi.set(__self__, "api_keys", api_keys) + _setter("api_keys", api_keys) if auth_tokens is not None: - pulumi.set(__self__, "auth_tokens", auth_tokens) + _setter("auth_tokens", auth_tokens) if customer_secret_keys is not None: - pulumi.set(__self__, "customer_secret_keys", customer_secret_keys) + _setter("customer_secret_keys", customer_secret_keys) if db_credentials is not None: - pulumi.set(__self__, "db_credentials", db_credentials) + _setter("db_credentials", db_credentials) if o_auth2client_credentials is not None: - pulumi.set(__self__, "o_auth2client_credentials", o_auth2client_credentials) + _setter("o_auth2client_credentials", o_auth2client_credentials) if smtp_credentials is not None: - pulumi.set(__self__, "smtp_credentials", smtp_credentials) + _setter("smtp_credentials", smtp_credentials) @property @pulumi.getter(name="apiKeys") @@ -48519,14 +53072,29 @@ def __init__(__self__, *, ** 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 """ + DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserCredentialsUserApiKeyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -48672,12 +53240,25 @@ def __init__(__self__, *, ** 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 """ + DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserCredentialsUserAuthTokenArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -48799,12 +53380,25 @@ def __init__(__self__, *, ** 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 """ + DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserCredentialsUserCustomerSecretKeyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -48926,12 +53520,25 @@ def __init__(__self__, *, ** 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 """ + DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserCredentialsUserDbCredentialArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -49053,12 +53660,25 @@ def __init__(__self__, *, ** 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 """ + DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserCredentialsUserOAuth2clientCredentialArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -49180,12 +53800,25 @@ def __init__(__self__, *, ** 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 """ + DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserCredentialsUserSmtpCredentialArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -49386,24 +54019,49 @@ def __init__(__self__, *, * type: complex * uniqueness: none """ + DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserStateUserArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + last_failed_login_date=last_failed_login_date, + last_successful_login_date=last_successful_login_date, + locked=locked, + login_attempts=login_attempts, + max_concurrent_sessions=max_concurrent_sessions, + previous_successful_login_date=previous_successful_login_date, + recovery_attempts=recovery_attempts, + recovery_enroll_attempts=recovery_enroll_attempts, + recovery_locked=recovery_locked, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + last_failed_login_date: Optional[pulumi.Input[str]] = None, + last_successful_login_date: Optional[pulumi.Input[str]] = None, + locked: Optional[pulumi.Input['DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserStateUserLockedArgs']] = None, + login_attempts: Optional[pulumi.Input[int]] = None, + max_concurrent_sessions: Optional[pulumi.Input[int]] = None, + previous_successful_login_date: Optional[pulumi.Input[str]] = None, + recovery_attempts: Optional[pulumi.Input[int]] = None, + recovery_enroll_attempts: Optional[pulumi.Input[int]] = None, + recovery_locked: Optional[pulumi.Input['DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserStateUserRecoveryLockedArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if last_failed_login_date is not None: - pulumi.set(__self__, "last_failed_login_date", last_failed_login_date) + _setter("last_failed_login_date", last_failed_login_date) if last_successful_login_date is not None: - pulumi.set(__self__, "last_successful_login_date", last_successful_login_date) + _setter("last_successful_login_date", last_successful_login_date) if locked is not None: - pulumi.set(__self__, "locked", locked) + _setter("locked", locked) if login_attempts is not None: - pulumi.set(__self__, "login_attempts", login_attempts) + _setter("login_attempts", login_attempts) if max_concurrent_sessions is not None: - pulumi.set(__self__, "max_concurrent_sessions", max_concurrent_sessions) + _setter("max_concurrent_sessions", max_concurrent_sessions) if previous_successful_login_date is not None: - pulumi.set(__self__, "previous_successful_login_date", previous_successful_login_date) + _setter("previous_successful_login_date", previous_successful_login_date) if recovery_attempts is not None: - pulumi.set(__self__, "recovery_attempts", recovery_attempts) + _setter("recovery_attempts", recovery_attempts) if recovery_enroll_attempts is not None: - pulumi.set(__self__, "recovery_enroll_attempts", recovery_enroll_attempts) + _setter("recovery_enroll_attempts", recovery_enroll_attempts) if recovery_locked is not None: - pulumi.set(__self__, "recovery_locked", recovery_locked) + _setter("recovery_locked", recovery_locked) @property @pulumi.getter(name="lastFailedLoginDate") @@ -49678,14 +54336,29 @@ def __init__(__self__, *, * type: integer * uniqueness: none """ + DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserStateUserLockedArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + expired=expired, + lock_date=lock_date, + on=on, + reason=reason, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + expired: Optional[pulumi.Input[bool]] = None, + lock_date: Optional[pulumi.Input[str]] = None, + on: Optional[pulumi.Input[bool]] = None, + reason: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if expired is not None: - pulumi.set(__self__, "expired", expired) + _setter("expired", expired) if lock_date is not None: - pulumi.set(__self__, "lock_date", lock_date) + _setter("lock_date", lock_date) if on is not None: - pulumi.set(__self__, "on", on) + _setter("on", on) if reason is not None: - pulumi.set(__self__, "reason", reason) + _setter("reason", reason) @property @pulumi.getter @@ -49818,10 +54491,21 @@ def __init__(__self__, *, * type: boolean * uniqueness: none """ + DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserStateUserRecoveryLockedArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + lock_date=lock_date, + on=on, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + lock_date: Optional[pulumi.Input[str]] = None, + on: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if lock_date is not None: - pulumi.set(__self__, "lock_date", lock_date) + _setter("lock_date", lock_date) if on is not None: - pulumi.set(__self__, "on", on) + _setter("on", on) @property @pulumi.getter(name="lockDate") @@ -50196,54 +54880,109 @@ def __init__(__self__, *, * type: complex * uniqueness: none """ + DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserUserArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_recovery_required=account_recovery_required, + accounts=accounts, + app_roles=app_roles, + applicable_authentication_target_apps=applicable_authentication_target_apps, + bypass_notification=bypass_notification, + creation_mechanism=creation_mechanism, + delegated_authentication_target_app=delegated_authentication_target_app, + do_not_show_getting_started=do_not_show_getting_started, + grants=grants, + group_membership_last_modified=group_membership_last_modified, + idcs_app_roles_limited_to_groups=idcs_app_roles_limited_to_groups, + is_account_recovery_enrolled=is_account_recovery_enrolled, + is_authentication_delegated=is_authentication_delegated, + is_federated_user=is_federated_user, + is_group_membership_normalized=is_group_membership_normalized, + is_group_membership_synced_to_users_groups=is_group_membership_synced_to_users_groups, + notification_email_template_id=notification_email_template_id, + preferred_ui_landing_page=preferred_ui_landing_page, + status=status, + support_accounts=support_accounts, + synced_from_app=synced_from_app, + user_flow_controlled_by_external_client=user_flow_controlled_by_external_client, + user_provider=user_provider, + user_tokens=user_tokens, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_recovery_required: Optional[pulumi.Input[bool]] = None, + accounts: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserUserAccountArgs']]]] = None, + app_roles: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserUserAppRoleArgs']]]] = None, + applicable_authentication_target_apps: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserUserApplicableAuthenticationTargetAppArgs']]]] = None, + bypass_notification: Optional[pulumi.Input[bool]] = None, + creation_mechanism: Optional[pulumi.Input[str]] = None, + delegated_authentication_target_app: Optional[pulumi.Input['DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserUserDelegatedAuthenticationTargetAppArgs']] = None, + do_not_show_getting_started: Optional[pulumi.Input[bool]] = None, + grants: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserUserGrantArgs']]]] = None, + group_membership_last_modified: Optional[pulumi.Input[str]] = None, + idcs_app_roles_limited_to_groups: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserUserIdcsAppRolesLimitedToGroupArgs']]]] = None, + is_account_recovery_enrolled: Optional[pulumi.Input[bool]] = None, + is_authentication_delegated: Optional[pulumi.Input[bool]] = None, + is_federated_user: Optional[pulumi.Input[bool]] = None, + is_group_membership_normalized: Optional[pulumi.Input[bool]] = None, + is_group_membership_synced_to_users_groups: Optional[pulumi.Input[bool]] = None, + notification_email_template_id: Optional[pulumi.Input[str]] = None, + preferred_ui_landing_page: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[str]] = None, + support_accounts: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserUserSupportAccountArgs']]]] = None, + synced_from_app: Optional[pulumi.Input['DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserUserSyncedFromAppArgs']] = None, + user_flow_controlled_by_external_client: Optional[pulumi.Input[bool]] = None, + user_provider: Optional[pulumi.Input[str]] = None, + user_tokens: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserUserUserTokenArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if account_recovery_required is not None: - pulumi.set(__self__, "account_recovery_required", account_recovery_required) + _setter("account_recovery_required", account_recovery_required) if accounts is not None: - pulumi.set(__self__, "accounts", accounts) + _setter("accounts", accounts) if app_roles is not None: - pulumi.set(__self__, "app_roles", app_roles) + _setter("app_roles", app_roles) if applicable_authentication_target_apps is not None: - pulumi.set(__self__, "applicable_authentication_target_apps", applicable_authentication_target_apps) + _setter("applicable_authentication_target_apps", applicable_authentication_target_apps) if bypass_notification is not None: - pulumi.set(__self__, "bypass_notification", bypass_notification) + _setter("bypass_notification", bypass_notification) if creation_mechanism is not None: - pulumi.set(__self__, "creation_mechanism", creation_mechanism) + _setter("creation_mechanism", creation_mechanism) if delegated_authentication_target_app is not None: - pulumi.set(__self__, "delegated_authentication_target_app", delegated_authentication_target_app) + _setter("delegated_authentication_target_app", delegated_authentication_target_app) if do_not_show_getting_started is not None: - pulumi.set(__self__, "do_not_show_getting_started", do_not_show_getting_started) + _setter("do_not_show_getting_started", do_not_show_getting_started) if grants is not None: - pulumi.set(__self__, "grants", grants) + _setter("grants", grants) if group_membership_last_modified is not None: - pulumi.set(__self__, "group_membership_last_modified", group_membership_last_modified) + _setter("group_membership_last_modified", group_membership_last_modified) if idcs_app_roles_limited_to_groups is not None: - pulumi.set(__self__, "idcs_app_roles_limited_to_groups", idcs_app_roles_limited_to_groups) + _setter("idcs_app_roles_limited_to_groups", idcs_app_roles_limited_to_groups) if is_account_recovery_enrolled is not None: - pulumi.set(__self__, "is_account_recovery_enrolled", is_account_recovery_enrolled) + _setter("is_account_recovery_enrolled", is_account_recovery_enrolled) if is_authentication_delegated is not None: - pulumi.set(__self__, "is_authentication_delegated", is_authentication_delegated) + _setter("is_authentication_delegated", is_authentication_delegated) if is_federated_user is not None: - pulumi.set(__self__, "is_federated_user", is_federated_user) + _setter("is_federated_user", is_federated_user) if is_group_membership_normalized is not None: - pulumi.set(__self__, "is_group_membership_normalized", is_group_membership_normalized) + _setter("is_group_membership_normalized", is_group_membership_normalized) if is_group_membership_synced_to_users_groups is not None: - pulumi.set(__self__, "is_group_membership_synced_to_users_groups", is_group_membership_synced_to_users_groups) + _setter("is_group_membership_synced_to_users_groups", is_group_membership_synced_to_users_groups) if notification_email_template_id is not None: - pulumi.set(__self__, "notification_email_template_id", notification_email_template_id) + _setter("notification_email_template_id", notification_email_template_id) if preferred_ui_landing_page is not None: - pulumi.set(__self__, "preferred_ui_landing_page", preferred_ui_landing_page) + _setter("preferred_ui_landing_page", preferred_ui_landing_page) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if support_accounts is not None: - pulumi.set(__self__, "support_accounts", support_accounts) + _setter("support_accounts", support_accounts) if synced_from_app is not None: - pulumi.set(__self__, "synced_from_app", synced_from_app) + _setter("synced_from_app", synced_from_app) if user_flow_controlled_by_external_client is not None: - pulumi.set(__self__, "user_flow_controlled_by_external_client", user_flow_controlled_by_external_client) + _setter("user_flow_controlled_by_external_client", user_flow_controlled_by_external_client) if user_provider is not None: - pulumi.set(__self__, "user_provider", user_provider) + _setter("user_provider", user_provider) if user_tokens is not None: - pulumi.set(__self__, "user_tokens", user_tokens) + _setter("user_tokens", user_tokens) @property @pulumi.getter(name="accountRecoveryRequired") @@ -50876,16 +55615,33 @@ def __init__(__self__, *, ** 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 """ + DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserUserAccountArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + active=active, + app_id=app_id, + name=name, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + active: Optional[pulumi.Input[bool]] = None, + app_id: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if active is not None: - pulumi.set(__self__, "active", active) + _setter("active", active) if app_id is not None: - pulumi.set(__self__, "app_id", app_id) + _setter("app_id", app_id) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -51105,21 +55861,44 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserUserAppRoleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + admin_role=admin_role, + app_id=app_id, + app_name=app_name, + display=display, + legacy_group_name=legacy_group_name, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + admin_role: Optional[pulumi.Input[bool]] = None, + app_id: Optional[pulumi.Input[str]] = None, + app_name: Optional[pulumi.Input[str]] = None, + display: Optional[pulumi.Input[str]] = None, + legacy_group_name: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if admin_role is not None: - pulumi.set(__self__, "admin_role", admin_role) + _setter("admin_role", admin_role) if app_id is not None: - pulumi.set(__self__, "app_id", app_id) + _setter("app_id", app_id) if app_name is not None: - pulumi.set(__self__, "app_name", app_name) + _setter("app_name", app_name) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if legacy_group_name is not None: - pulumi.set(__self__, "legacy_group_name", legacy_group_name) + _setter("legacy_group_name", legacy_group_name) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -51366,15 +56145,32 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "type", type) + DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserUserApplicableAuthenticationTargetAppArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + display=display, + ref=ref, + target_request_timeout=target_request_timeout, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + target_request_timeout: Optional[pulumi.Input[int]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if target_request_timeout is not None: - pulumi.set(__self__, "target_request_timeout", target_request_timeout) + _setter("target_request_timeout", target_request_timeout) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -51546,12 +56342,27 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserUserDelegatedAuthenticationTargetAppArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + display=display, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -51718,16 +56529,33 @@ def __init__(__self__, *, ** 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 """ + DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserUserGrantArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + app_id=app_id, + grant_mechanism=grant_mechanism, + grantor_id=grantor_id, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + app_id: Optional[pulumi.Input[str]] = None, + grant_mechanism: Optional[pulumi.Input[str]] = None, + grantor_id: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if app_id is not None: - pulumi.set(__self__, "app_id", app_id) + _setter("app_id", app_id) if grant_mechanism is not None: - pulumi.set(__self__, "grant_mechanism", grant_mechanism) + _setter("grant_mechanism", grant_mechanism) if grantor_id is not None: - pulumi.set(__self__, "grantor_id", grantor_id) + _setter("grantor_id", grantor_id) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter(name="appId") @@ -51921,14 +56749,31 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "idcs_app_role_id", idcs_app_role_id) - pulumi.set(__self__, "value", value) + DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserUserIdcsAppRolesLimitedToGroupArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + idcs_app_role_id=idcs_app_role_id, + value=value, + display=display, + ocid=ocid, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + idcs_app_role_id: pulumi.Input[str], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("idcs_app_role_id", idcs_app_role_id) + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter(name="idcsAppRoleId") @@ -52123,16 +56968,33 @@ def __init__(__self__, *, ** 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 """ + DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserUserSupportAccountArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + ocid=ocid, + ref=ref, + user_id=user_id, + user_provider=user_provider, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ocid: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + user_id: Optional[pulumi.Input[str]] = None, + user_provider: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if user_id is not None: - pulumi.set(__self__, "user_id", user_id) + _setter("user_id", user_id) if user_provider is not None: - pulumi.set(__self__, "user_provider", user_provider) + _setter("user_provider", user_provider) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -52310,12 +57172,27 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserUserSyncedFromAppArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + display=display, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + ref: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -52441,10 +57318,21 @@ def __init__(__self__, *, ** 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 """ + DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserUserUserTokenArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ref: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -52548,13 +57436,28 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsUserX509certificateArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + primary=primary, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + display: Optional[pulumi.Input[str]] = None, + primary: Optional[pulumi.Input[bool]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if primary is not None: - pulumi.set(__self__, "primary", primary) + _setter("primary", primary) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -52650,8 +57553,19 @@ class NetworkSourceVirtualSourceListArgs: def __init__(__self__, *, ip_ranges: pulumi.Input[Sequence[pulumi.Input[str]]], vcn_id: pulumi.Input[str]): - pulumi.set(__self__, "ip_ranges", ip_ranges) - pulumi.set(__self__, "vcn_id", vcn_id) + NetworkSourceVirtualSourceListArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + ip_ranges=ip_ranges, + vcn_id=vcn_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ip_ranges: pulumi.Input[Sequence[pulumi.Input[str]]], + vcn_id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ip_ranges", ip_ranges) + _setter("vcn_id", vcn_id) @property @pulumi.getter(name="ipRanges") @@ -52681,8 +57595,19 @@ def __init__(__self__, *, :param pulumi.Input[str] validator_type: (Updatable) Specifies the type of validation: a static value (no validation) or a list. :param pulumi.Input[Sequence[pulumi.Input[str]]] values: (Updatable) The list of allowed values for a definedTag value. """ - pulumi.set(__self__, "validator_type", validator_type) - pulumi.set(__self__, "values", values) + TagValidatorArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + validator_type=validator_type, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + validator_type: pulumi.Input[str], + values: pulumi.Input[Sequence[pulumi.Input[str]]], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("validator_type", validator_type) + _setter("values", values) @property @pulumi.getter(name="validatorType") @@ -52728,20 +57653,41 @@ def __init__(__self__, *, :param pulumi.Input[bool] can_use_oauth2client_credentials: Indicates if the user can use OAuth2 credentials and tokens. :param pulumi.Input[bool] can_use_smtp_credentials: Indicates if the user can use SMTP passwords. """ + UserCapabilityArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + can_use_api_keys=can_use_api_keys, + can_use_auth_tokens=can_use_auth_tokens, + can_use_console_password=can_use_console_password, + can_use_customer_secret_keys=can_use_customer_secret_keys, + can_use_db_credentials=can_use_db_credentials, + can_use_oauth2client_credentials=can_use_oauth2client_credentials, + can_use_smtp_credentials=can_use_smtp_credentials, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + can_use_api_keys: Optional[pulumi.Input[bool]] = None, + can_use_auth_tokens: Optional[pulumi.Input[bool]] = None, + can_use_console_password: Optional[pulumi.Input[bool]] = None, + can_use_customer_secret_keys: Optional[pulumi.Input[bool]] = None, + can_use_db_credentials: Optional[pulumi.Input[bool]] = None, + can_use_oauth2client_credentials: Optional[pulumi.Input[bool]] = None, + can_use_smtp_credentials: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if can_use_api_keys is not None: - pulumi.set(__self__, "can_use_api_keys", can_use_api_keys) + _setter("can_use_api_keys", can_use_api_keys) if can_use_auth_tokens is not None: - pulumi.set(__self__, "can_use_auth_tokens", can_use_auth_tokens) + _setter("can_use_auth_tokens", can_use_auth_tokens) if can_use_console_password is not None: - pulumi.set(__self__, "can_use_console_password", can_use_console_password) + _setter("can_use_console_password", can_use_console_password) if can_use_customer_secret_keys is not None: - pulumi.set(__self__, "can_use_customer_secret_keys", can_use_customer_secret_keys) + _setter("can_use_customer_secret_keys", can_use_customer_secret_keys) if can_use_db_credentials is not None: - pulumi.set(__self__, "can_use_db_credentials", can_use_db_credentials) + _setter("can_use_db_credentials", can_use_db_credentials) if can_use_oauth2client_credentials is not None: - pulumi.set(__self__, "can_use_oauth2client_credentials", can_use_oauth2client_credentials) + _setter("can_use_oauth2client_credentials", can_use_oauth2client_credentials) if can_use_smtp_credentials is not None: - pulumi.set(__self__, "can_use_smtp_credentials", can_use_smtp_credentials) + _setter("can_use_smtp_credentials", can_use_smtp_credentials) @property @pulumi.getter(name="canUseApiKeys") @@ -52837,10 +57783,23 @@ def __init__(__self__, *, """ :param str name: The license type name. Example: "Oracle Apps Premium" """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAllowedDomainLicenseTypesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -52879,10 +57838,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetApiKeysFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -52918,10 +57890,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAuthTokensFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -52960,10 +57945,23 @@ def __init__(__self__, *, """ :param str name: The name of the Availability Domain. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAvailabilityDomainsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -53005,10 +58003,23 @@ def __init__(__self__, *, """ :param str name: A filter to only return resources that match the given name exactly. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetCompartmentsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -53051,10 +58062,23 @@ def __init__(__self__, *, :param str name: The name assigned to the tag during creation. This is the tag key definition. The name must be unique within the tag namespace and cannot be changed. :param Sequence[str] values: The list of allowed values for a definedTag value. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetCostTrackingTagsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -53096,10 +58120,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetCustomerSecretKeysFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -53138,10 +58175,23 @@ def __init__(__self__, *, """ :param str name: A filter to only return resources that match the given name exactly. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDbCredentialsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -53183,10 +58233,23 @@ def __init__(__self__, *, """ :param str name: A filter to only return resources that match the given name exactly. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDomainsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -53228,10 +58291,23 @@ def __init__(__self__, *, """ :param str name: A filter to only return resources that match the given name exactly. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDynamicGroupsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -53273,10 +58349,23 @@ def __init__(__self__, *, """ :param str name: The name of the Fault Domain. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetFaultDomainsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -53318,10 +58407,23 @@ def __init__(__self__, *, """ :param str name: A filter to only return resources that match the given name exactly. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetGroupsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -53360,10 +58462,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetIamWorkRequestErrorsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -53399,10 +58514,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetIamWorkRequestLogsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -53438,10 +58566,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetIamWorkRequestsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -53480,10 +58621,23 @@ def __init__(__self__, *, """ :param str name: A filter to only return resources that match the given name exactly. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetIdentityProviderGroupsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -53525,10 +58679,23 @@ def __init__(__self__, *, """ :param str name: A filter to only return resources that match the given name exactly. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetIdentityProvidersFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -53567,10 +58734,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetIdpGroupMappingsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -53609,10 +58789,23 @@ def __init__(__self__, *, """ :param str name: A filter to only return resources that match the given name exactly. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetNetworkSourcesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -53654,10 +58847,23 @@ def __init__(__self__, *, """ :param str name: A filter to only return resources that match the given name exactly. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetPoliciesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -53696,10 +58902,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetRegionSubscriptionsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -53738,10 +58957,23 @@ def __init__(__self__, *, """ :param str name: The name of the region. See [Regions and Availability Domains](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/regions.htm) for the full list of supported region names. Example: `us-phoenix-1` """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetRegionsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -53780,10 +59012,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSmtpCredentialsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -53819,10 +59064,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetTagDefaultsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -53861,10 +59119,23 @@ def __init__(__self__, *, """ :param str name: The name of the tag namespace. It must be unique across all tag namespaces in the tenancy and cannot be changed. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetTagNamespacesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -53903,10 +59174,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetTagStandardTagNamespaceTemplatesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -53946,10 +59230,23 @@ def __init__(__self__, *, :param str name: The name assigned to the tag during creation. This is the tag key definition. The name must be unique within the tag namespace and cannot be changed. :param Sequence[str] values: The list of allowed values for a definedTag value. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetTagsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -53991,10 +59288,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetUserGroupMembershipsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -54033,10 +59343,23 @@ def __init__(__self__, *, """ :param str name: A filter to only return resources that match the given name exactly. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetUsersFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/identity/api_key.py b/sdk/python/pulumi_oci/identity/api_key.py index d89bafc480..cffc049dd1 100644 --- a/sdk/python/pulumi_oci/identity/api_key.py +++ b/sdk/python/pulumi_oci/identity/api_key.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['ApiKeyArgs', 'ApiKey'] @@ -25,8 +25,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "key_value", key_value) - pulumi.set(__self__, "user_id", user_id) + ApiKeyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key_value=key_value, + user_id=user_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key_value: pulumi.Input[str], + user_id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key_value", key_value) + _setter("user_id", user_id) @property @pulumi.getter(name="keyValue") @@ -79,18 +90,37 @@ def __init__(__self__, *, ** 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 """ + _ApiKeyState._configure( + lambda key, value: pulumi.set(__self__, key, value), + fingerprint=fingerprint, + inactive_status=inactive_status, + key_value=key_value, + state=state, + time_created=time_created, + user_id=user_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + fingerprint: Optional[pulumi.Input[str]] = None, + inactive_status: Optional[pulumi.Input[str]] = None, + key_value: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + user_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if fingerprint is not None: - pulumi.set(__self__, "fingerprint", fingerprint) + _setter("fingerprint", fingerprint) if inactive_status is not None: - pulumi.set(__self__, "inactive_status", inactive_status) + _setter("inactive_status", inactive_status) if key_value is not None: - pulumi.set(__self__, "key_value", key_value) + _setter("key_value", key_value) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if user_id is not None: - pulumi.set(__self__, "user_id", user_id) + _setter("user_id", user_id) @property @pulumi.getter @@ -272,6 +302,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ApiKeyArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/identity/auth_token.py b/sdk/python/pulumi_oci/identity/auth_token.py index b642eba273..19de7df7b1 100644 --- a/sdk/python/pulumi_oci/identity/auth_token.py +++ b/sdk/python/pulumi_oci/identity/auth_token.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['AuthTokenArgs', 'AuthToken'] @@ -25,8 +25,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "user_id", user_id) + AuthTokenArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + user_id=user_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: pulumi.Input[str], + user_id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("user_id", user_id) @property @pulumi.getter @@ -81,20 +92,41 @@ def __init__(__self__, *, ** 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 """ + _AuthTokenState._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + inactive_state=inactive_state, + state=state, + time_created=time_created, + time_expires=time_expires, + token=token, + user_id=user_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: Optional[pulumi.Input[str]] = None, + inactive_state: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_expires: Optional[pulumi.Input[str]] = None, + token: Optional[pulumi.Input[str]] = None, + user_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if inactive_state is not None: - pulumi.set(__self__, "inactive_state", inactive_state) + _setter("inactive_state", inactive_state) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_expires is not None: - pulumi.set(__self__, "time_expires", time_expires) + _setter("time_expires", time_expires) if token is not None: - pulumi.set(__self__, "token", token) + _setter("token", token) if user_id is not None: - pulumi.set(__self__, "user_id", user_id) + _setter("user_id", user_id) @property @pulumi.getter @@ -284,6 +316,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + AuthTokenArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/identity/authentication_policy.py b/sdk/python/pulumi_oci/identity/authentication_policy.py index 2cd89233f9..b22a34a286 100644 --- a/sdk/python/pulumi_oci/identity/authentication_policy.py +++ b/sdk/python/pulumi_oci/identity/authentication_policy.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -25,11 +25,24 @@ def __init__(__self__, *, :param pulumi.Input['AuthenticationPolicyNetworkPolicyArgs'] network_policy: (Updatable) Network policy, Consists of a list of Network Source ids. :param pulumi.Input['AuthenticationPolicyPasswordPolicyArgs'] password_policy: (Updatable) Password policy, currently set for the given compartment. """ - pulumi.set(__self__, "compartment_id", compartment_id) + AuthenticationPolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + network_policy=network_policy, + password_policy=password_policy, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + network_policy: Optional[pulumi.Input['AuthenticationPolicyNetworkPolicyArgs']] = None, + password_policy: Optional[pulumi.Input['AuthenticationPolicyPasswordPolicyArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) if network_policy is not None: - pulumi.set(__self__, "network_policy", network_policy) + _setter("network_policy", network_policy) if password_policy is not None: - pulumi.set(__self__, "password_policy", password_policy) + _setter("password_policy", password_policy) @property @pulumi.getter(name="compartmentId") @@ -80,12 +93,25 @@ def __init__(__self__, *, :param pulumi.Input['AuthenticationPolicyNetworkPolicyArgs'] network_policy: (Updatable) Network policy, Consists of a list of Network Source ids. :param pulumi.Input['AuthenticationPolicyPasswordPolicyArgs'] password_policy: (Updatable) Password policy, currently set for the given compartment. """ + _AuthenticationPolicyState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + network_policy=network_policy, + password_policy=password_policy, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + network_policy: Optional[pulumi.Input['AuthenticationPolicyNetworkPolicyArgs']] = None, + password_policy: Optional[pulumi.Input['AuthenticationPolicyPasswordPolicyArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if network_policy is not None: - pulumi.set(__self__, "network_policy", network_policy) + _setter("network_policy", network_policy) if password_policy is not None: - pulumi.set(__self__, "password_policy", password_policy) + _setter("password_policy", password_policy) @property @pulumi.getter(name="compartmentId") @@ -223,6 +249,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + AuthenticationPolicyArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -243,7 +273,17 @@ def _internal_init(__self__, if compartment_id is None and not opts.urn: raise TypeError("Missing required property 'compartment_id'") __props__.__dict__["compartment_id"] = compartment_id + if network_policy is not None and not isinstance(network_policy, AuthenticationPolicyNetworkPolicyArgs): + network_policy = network_policy or {} + def _setter(key, value): + network_policy[key] = value + AuthenticationPolicyNetworkPolicyArgs._configure(_setter, **network_policy) __props__.__dict__["network_policy"] = network_policy + if password_policy is not None and not isinstance(password_policy, AuthenticationPolicyPasswordPolicyArgs): + password_policy = password_policy or {} + def _setter(key, value): + password_policy[key] = value + AuthenticationPolicyPasswordPolicyArgs._configure(_setter, **password_policy) __props__.__dict__["password_policy"] = password_policy super(AuthenticationPolicy, __self__).__init__( 'oci:Identity/authenticationPolicy:AuthenticationPolicy', diff --git a/sdk/python/pulumi_oci/identity/compartment.py b/sdk/python/pulumi_oci/identity/compartment.py index 7f53228e09..9917e8139f 100644 --- a/sdk/python/pulumi_oci/identity/compartment.py +++ b/sdk/python/pulumi_oci/identity/compartment.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['CompartmentArgs', 'Compartment'] @@ -32,17 +32,36 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] freeform_tags: (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` :param pulumi.Input[str] name: (Updatable) The name you assign to the compartment during creation. The name must be unique across all compartments in the parent compartment. Avoid entering confidential information. """ - pulumi.set(__self__, "description", description) + CompartmentArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + compartment_id=compartment_id, + defined_tags=defined_tags, + enable_delete=enable_delete, + freeform_tags=freeform_tags, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: pulumi.Input[str], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + enable_delete: Optional[pulumi.Input[bool]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if enable_delete is not None: - pulumi.set(__self__, "enable_delete", enable_delete) + _setter("enable_delete", enable_delete) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -149,26 +168,53 @@ def __init__(__self__, *, :param pulumi.Input[str] state: The compartment's current state. :param pulumi.Input[str] time_created: Date and time the compartment was created, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z` """ + _CompartmentState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + enable_delete=enable_delete, + freeform_tags=freeform_tags, + inactive_state=inactive_state, + is_accessible=is_accessible, + name=name, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + enable_delete: Optional[pulumi.Input[bool]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + inactive_state: Optional[pulumi.Input[str]] = None, + is_accessible: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if enable_delete is not None: - pulumi.set(__self__, "enable_delete", enable_delete) + _setter("enable_delete", enable_delete) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if inactive_state is not None: - pulumi.set(__self__, "inactive_state", inactive_state) + _setter("inactive_state", inactive_state) if is_accessible is not None: - pulumi.set(__self__, "is_accessible", is_accessible) + _setter("is_accessible", is_accessible) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -386,6 +432,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + CompartmentArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/identity/customer_secret_key.py b/sdk/python/pulumi_oci/identity/customer_secret_key.py index da6d541402..92f7917288 100644 --- a/sdk/python/pulumi_oci/identity/customer_secret_key.py +++ b/sdk/python/pulumi_oci/identity/customer_secret_key.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['CustomerSecretKeyArgs', 'CustomerSecretKey'] @@ -25,8 +25,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "user_id", user_id) + CustomerSecretKeyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + user_id=user_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: pulumi.Input[str], + user_id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("user_id", user_id) @property @pulumi.getter(name="displayName") @@ -81,20 +92,41 @@ def __init__(__self__, *, ** 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 """ + _CustomerSecretKeyState._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + inactive_state=inactive_state, + key=key, + state=state, + time_created=time_created, + time_expires=time_expires, + user_id=user_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: Optional[pulumi.Input[str]] = None, + inactive_state: Optional[pulumi.Input[str]] = None, + key: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_expires: Optional[pulumi.Input[str]] = None, + user_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if inactive_state is not None: - pulumi.set(__self__, "inactive_state", inactive_state) + _setter("inactive_state", inactive_state) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_expires is not None: - pulumi.set(__self__, "time_expires", time_expires) + _setter("time_expires", time_expires) if user_id is not None: - pulumi.set(__self__, "user_id", user_id) + _setter("user_id", user_id) @property @pulumi.getter(name="displayName") @@ -286,6 +318,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + CustomerSecretKeyArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/identity/db_credential.py b/sdk/python/pulumi_oci/identity/db_credential.py index 498dfb406b..77e5fdb5d5 100644 --- a/sdk/python/pulumi_oci/identity/db_credential.py +++ b/sdk/python/pulumi_oci/identity/db_credential.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['DbCredentialArgs', 'DbCredential'] @@ -27,9 +27,22 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "user_id", user_id) + DbCredentialArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + password=password, + user_id=user_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: pulumi.Input[str], + password: pulumi.Input[str], + user_id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("password", password) + _setter("user_id", user_id) @property @pulumi.getter @@ -96,20 +109,41 @@ def __init__(__self__, *, ** 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 """ + _DbCredentialState._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + lifecycle_details=lifecycle_details, + password=password, + state=state, + time_created=time_created, + time_expires=time_expires, + user_id=user_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + password: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_expires: Optional[pulumi.Input[str]] = None, + user_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if password is not None: - pulumi.set(__self__, "password", password) + _setter("password", password) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_expires is not None: - pulumi.set(__self__, "time_expires", time_expires) + _setter("time_expires", time_expires) if user_id is not None: - pulumi.set(__self__, "user_id", user_id) + _setter("user_id", user_id) @property @pulumi.getter @@ -277,6 +311,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DbCredentialArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/identity/domain.py b/sdk/python/pulumi_oci/identity/domain.py index bf2943aaae..752f8d48e0 100644 --- a/sdk/python/pulumi_oci/identity/domain.py +++ b/sdk/python/pulumi_oci/identity/domain.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -53,31 +53,68 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_primary_email_required: Optional field to indicate whether users in the domain are required to have a primary email address or not Defaults to true :param pulumi.Input[str] state: The current state. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "home_region", home_region) - pulumi.set(__self__, "license_type", license_type) + DomainArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + description=description, + display_name=display_name, + home_region=home_region, + license_type=license_type, + admin_email=admin_email, + admin_first_name=admin_first_name, + admin_last_name=admin_last_name, + admin_user_name=admin_user_name, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + is_hidden_on_login=is_hidden_on_login, + is_notification_bypassed=is_notification_bypassed, + is_primary_email_required=is_primary_email_required, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + description: pulumi.Input[str], + display_name: pulumi.Input[str], + home_region: pulumi.Input[str], + license_type: pulumi.Input[str], + admin_email: Optional[pulumi.Input[str]] = None, + admin_first_name: Optional[pulumi.Input[str]] = None, + admin_last_name: Optional[pulumi.Input[str]] = None, + admin_user_name: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_hidden_on_login: Optional[pulumi.Input[bool]] = None, + is_notification_bypassed: Optional[pulumi.Input[bool]] = None, + is_primary_email_required: Optional[pulumi.Input[bool]] = None, + state: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("description", description) + _setter("display_name", display_name) + _setter("home_region", home_region) + _setter("license_type", license_type) if admin_email is not None: - pulumi.set(__self__, "admin_email", admin_email) + _setter("admin_email", admin_email) if admin_first_name is not None: - pulumi.set(__self__, "admin_first_name", admin_first_name) + _setter("admin_first_name", admin_first_name) if admin_last_name is not None: - pulumi.set(__self__, "admin_last_name", admin_last_name) + _setter("admin_last_name", admin_last_name) if admin_user_name is not None: - pulumi.set(__self__, "admin_user_name", admin_user_name) + _setter("admin_user_name", admin_user_name) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_hidden_on_login is not None: - pulumi.set(__self__, "is_hidden_on_login", is_hidden_on_login) + _setter("is_hidden_on_login", is_hidden_on_login) if is_notification_bypassed is not None: - pulumi.set(__self__, "is_notification_bypassed", is_notification_bypassed) + _setter("is_notification_bypassed", is_notification_bypassed) if is_primary_email_required is not None: - pulumi.set(__self__, "is_primary_email_required", is_primary_email_required) + _setter("is_primary_email_required", is_primary_email_required) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) @property @pulumi.getter(name="compartmentId") @@ -316,48 +353,97 @@ def __init__(__self__, *, :param pulumi.Input[str] type: The type of the domain. :param pulumi.Input[str] url: Region agnostic domain URL. """ + _DomainState._configure( + lambda key, value: pulumi.set(__self__, key, value), + admin_email=admin_email, + admin_first_name=admin_first_name, + admin_last_name=admin_last_name, + admin_user_name=admin_user_name, + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + home_region=home_region, + home_region_url=home_region_url, + is_hidden_on_login=is_hidden_on_login, + is_notification_bypassed=is_notification_bypassed, + is_primary_email_required=is_primary_email_required, + license_type=license_type, + lifecycle_details=lifecycle_details, + replica_regions=replica_regions, + state=state, + time_created=time_created, + type=type, + url=url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + admin_email: Optional[pulumi.Input[str]] = None, + admin_first_name: Optional[pulumi.Input[str]] = None, + admin_last_name: Optional[pulumi.Input[str]] = None, + admin_user_name: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + home_region: Optional[pulumi.Input[str]] = None, + home_region_url: Optional[pulumi.Input[str]] = None, + is_hidden_on_login: Optional[pulumi.Input[bool]] = None, + is_notification_bypassed: Optional[pulumi.Input[bool]] = None, + is_primary_email_required: Optional[pulumi.Input[bool]] = None, + license_type: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + replica_regions: Optional[pulumi.Input[Sequence[pulumi.Input['DomainReplicaRegionArgs']]]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + url: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if admin_email is not None: - pulumi.set(__self__, "admin_email", admin_email) + _setter("admin_email", admin_email) if admin_first_name is not None: - pulumi.set(__self__, "admin_first_name", admin_first_name) + _setter("admin_first_name", admin_first_name) if admin_last_name is not None: - pulumi.set(__self__, "admin_last_name", admin_last_name) + _setter("admin_last_name", admin_last_name) if admin_user_name is not None: - pulumi.set(__self__, "admin_user_name", admin_user_name) + _setter("admin_user_name", admin_user_name) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if home_region is not None: - pulumi.set(__self__, "home_region", home_region) + _setter("home_region", home_region) if home_region_url is not None: - pulumi.set(__self__, "home_region_url", home_region_url) + _setter("home_region_url", home_region_url) if is_hidden_on_login is not None: - pulumi.set(__self__, "is_hidden_on_login", is_hidden_on_login) + _setter("is_hidden_on_login", is_hidden_on_login) if is_notification_bypassed is not None: - pulumi.set(__self__, "is_notification_bypassed", is_notification_bypassed) + _setter("is_notification_bypassed", is_notification_bypassed) if is_primary_email_required is not None: - pulumi.set(__self__, "is_primary_email_required", is_primary_email_required) + _setter("is_primary_email_required", is_primary_email_required) if license_type is not None: - pulumi.set(__self__, "license_type", license_type) + _setter("license_type", license_type) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if replica_regions is not None: - pulumi.set(__self__, "replica_regions", replica_regions) + _setter("replica_regions", replica_regions) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if url is not None: - pulumi.set(__self__, "url", url) + _setter("url", url) @property @pulumi.getter(name="adminEmail") @@ -785,6 +871,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DomainArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/identity/domain_replication_to_region.py b/sdk/python/pulumi_oci/identity/domain_replication_to_region.py index 6e70e2855a..b026f987dd 100644 --- a/sdk/python/pulumi_oci/identity/domain_replication_to_region.py +++ b/sdk/python/pulumi_oci/identity/domain_replication_to_region.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['DomainReplicationToRegionArgs', 'DomainReplicationToRegion'] @@ -25,9 +25,20 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "domain_id", domain_id) + DomainReplicationToRegionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + domain_id=domain_id, + replica_region=replica_region, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + domain_id: pulumi.Input[str], + replica_region: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("domain_id", domain_id) if replica_region is not None: - pulumi.set(__self__, "replica_region", replica_region) + _setter("replica_region", replica_region) @property @pulumi.getter(name="domainId") @@ -72,10 +83,21 @@ def __init__(__self__, *, ** 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 """ + _DomainReplicationToRegionState._configure( + lambda key, value: pulumi.set(__self__, key, value), + domain_id=domain_id, + replica_region=replica_region, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + domain_id: Optional[pulumi.Input[str]] = None, + replica_region: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if domain_id is not None: - pulumi.set(__self__, "domain_id", domain_id) + _setter("domain_id", domain_id) if replica_region is not None: - pulumi.set(__self__, "replica_region", replica_region) + _setter("replica_region", replica_region) @property @pulumi.getter(name="domainId") @@ -203,6 +225,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DomainReplicationToRegionArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/identity/domains_account_recovery_setting.py b/sdk/python/pulumi_oci/identity/domains_account_recovery_setting.py index 308a21e1b9..f70b8e892d 100644 --- a/sdk/python/pulumi_oci/identity/domains_account_recovery_setting.py +++ b/sdk/python/pulumi_oci/identity/domains_account_recovery_setting.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -116,26 +116,59 @@ def __init__(__self__, *, * type: complex * uniqueness: none """ - pulumi.set(__self__, "account_recovery_setting_id", account_recovery_setting_id) - pulumi.set(__self__, "factors", factors) - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) - pulumi.set(__self__, "lockout_duration", lockout_duration) - pulumi.set(__self__, "max_incorrect_attempts", max_incorrect_attempts) - pulumi.set(__self__, "schemas", schemas) + DomainsAccountRecoverySettingArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_recovery_setting_id=account_recovery_setting_id, + factors=factors, + idcs_endpoint=idcs_endpoint, + lockout_duration=lockout_duration, + max_incorrect_attempts=max_incorrect_attempts, + schemas=schemas, + attribute_sets=attribute_sets, + attributes=attributes, + authorization=authorization, + external_id=external_id, + ocid=ocid, + resource_type_schema_version=resource_type_schema_version, + tags=tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_recovery_setting_id: pulumi.Input[str], + factors: pulumi.Input[Sequence[pulumi.Input[str]]], + idcs_endpoint: pulumi.Input[str], + lockout_duration: pulumi.Input[int], + max_incorrect_attempts: pulumi.Input[int], + schemas: pulumi.Input[Sequence[pulumi.Input[str]]], + attribute_sets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + attributes: Optional[pulumi.Input[str]] = None, + authorization: Optional[pulumi.Input[str]] = None, + external_id: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + resource_type_schema_version: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAccountRecoverySettingTagArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("account_recovery_setting_id", account_recovery_setting_id) + _setter("factors", factors) + _setter("idcs_endpoint", idcs_endpoint) + _setter("lockout_duration", lockout_duration) + _setter("max_incorrect_attempts", max_incorrect_attempts) + _setter("schemas", schemas) if attribute_sets is not None: - pulumi.set(__self__, "attribute_sets", attribute_sets) + _setter("attribute_sets", attribute_sets) if attributes is not None: - pulumi.set(__self__, "attributes", attributes) + _setter("attributes", attributes) if authorization is not None: - pulumi.set(__self__, "authorization", authorization) + _setter("authorization", authorization) if external_id is not None: - pulumi.set(__self__, "external_id", external_id) + _setter("external_id", external_id) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if resource_type_schema_version is not None: - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) + _setter("resource_type_schema_version", resource_type_schema_version) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) @property @pulumi.getter(name="accountRecoverySettingId") @@ -575,50 +608,101 @@ def __init__(__self__, *, ** 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 """ + _DomainsAccountRecoverySettingState._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_recovery_setting_id=account_recovery_setting_id, + attribute_sets=attribute_sets, + attributes=attributes, + authorization=authorization, + compartment_ocid=compartment_ocid, + delete_in_progress=delete_in_progress, + domain_ocid=domain_ocid, + external_id=external_id, + factors=factors, + idcs_created_bies=idcs_created_bies, + idcs_endpoint=idcs_endpoint, + idcs_last_modified_bies=idcs_last_modified_bies, + idcs_last_upgraded_in_release=idcs_last_upgraded_in_release, + idcs_prevented_operations=idcs_prevented_operations, + lockout_duration=lockout_duration, + max_incorrect_attempts=max_incorrect_attempts, + metas=metas, + ocid=ocid, + resource_type_schema_version=resource_type_schema_version, + schemas=schemas, + tags=tags, + tenancy_ocid=tenancy_ocid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_recovery_setting_id: Optional[pulumi.Input[str]] = None, + attribute_sets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + attributes: Optional[pulumi.Input[str]] = None, + authorization: Optional[pulumi.Input[str]] = None, + compartment_ocid: Optional[pulumi.Input[str]] = None, + delete_in_progress: Optional[pulumi.Input[bool]] = None, + domain_ocid: Optional[pulumi.Input[str]] = None, + external_id: Optional[pulumi.Input[str]] = None, + factors: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + idcs_created_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAccountRecoverySettingIdcsCreatedByArgs']]]] = None, + idcs_endpoint: Optional[pulumi.Input[str]] = None, + idcs_last_modified_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAccountRecoverySettingIdcsLastModifiedByArgs']]]] = None, + idcs_last_upgraded_in_release: Optional[pulumi.Input[str]] = None, + idcs_prevented_operations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + lockout_duration: Optional[pulumi.Input[int]] = None, + max_incorrect_attempts: Optional[pulumi.Input[int]] = None, + metas: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAccountRecoverySettingMetaArgs']]]] = None, + ocid: Optional[pulumi.Input[str]] = None, + resource_type_schema_version: Optional[pulumi.Input[str]] = None, + schemas: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAccountRecoverySettingTagArgs']]]] = None, + tenancy_ocid: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if account_recovery_setting_id is not None: - pulumi.set(__self__, "account_recovery_setting_id", account_recovery_setting_id) + _setter("account_recovery_setting_id", account_recovery_setting_id) if attribute_sets is not None: - pulumi.set(__self__, "attribute_sets", attribute_sets) + _setter("attribute_sets", attribute_sets) if attributes is not None: - pulumi.set(__self__, "attributes", attributes) + _setter("attributes", attributes) if authorization is not None: - pulumi.set(__self__, "authorization", authorization) + _setter("authorization", authorization) if compartment_ocid is not None: - pulumi.set(__self__, "compartment_ocid", compartment_ocid) + _setter("compartment_ocid", compartment_ocid) if delete_in_progress is not None: - pulumi.set(__self__, "delete_in_progress", delete_in_progress) + _setter("delete_in_progress", delete_in_progress) if domain_ocid is not None: - pulumi.set(__self__, "domain_ocid", domain_ocid) + _setter("domain_ocid", domain_ocid) if external_id is not None: - pulumi.set(__self__, "external_id", external_id) + _setter("external_id", external_id) if factors is not None: - pulumi.set(__self__, "factors", factors) + _setter("factors", factors) if idcs_created_bies is not None: - pulumi.set(__self__, "idcs_created_bies", idcs_created_bies) + _setter("idcs_created_bies", idcs_created_bies) if idcs_endpoint is not None: - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) + _setter("idcs_endpoint", idcs_endpoint) if idcs_last_modified_bies is not None: - pulumi.set(__self__, "idcs_last_modified_bies", idcs_last_modified_bies) + _setter("idcs_last_modified_bies", idcs_last_modified_bies) if idcs_last_upgraded_in_release is not None: - pulumi.set(__self__, "idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) + _setter("idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) if idcs_prevented_operations is not None: - pulumi.set(__self__, "idcs_prevented_operations", idcs_prevented_operations) + _setter("idcs_prevented_operations", idcs_prevented_operations) if lockout_duration is not None: - pulumi.set(__self__, "lockout_duration", lockout_duration) + _setter("lockout_duration", lockout_duration) if max_incorrect_attempts is not None: - pulumi.set(__self__, "max_incorrect_attempts", max_incorrect_attempts) + _setter("max_incorrect_attempts", max_incorrect_attempts) if metas is not None: - pulumi.set(__self__, "metas", metas) + _setter("metas", metas) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if resource_type_schema_version is not None: - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) + _setter("resource_type_schema_version", resource_type_schema_version) if schemas is not None: - pulumi.set(__self__, "schemas", schemas) + _setter("schemas", schemas) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if tenancy_ocid is not None: - pulumi.set(__self__, "tenancy_ocid", tenancy_ocid) + _setter("tenancy_ocid", tenancy_ocid) @property @pulumi.getter(name="accountRecoverySettingId") @@ -1193,6 +1277,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DomainsAccountRecoverySettingArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/identity/domains_api_key.py b/sdk/python/pulumi_oci/identity/domains_api_key.py index 4a671a6a8d..8d3fa0a7e4 100644 --- a/sdk/python/pulumi_oci/identity/domains_api_key.py +++ b/sdk/python/pulumi_oci/identity/domains_api_key.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -102,27 +102,58 @@ def __init__(__self__, *, * type: complex * uniqueness: none """ - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "schemas", schemas) + DomainsApiKeyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + idcs_endpoint=idcs_endpoint, + key=key, + schemas=schemas, + attribute_sets=attribute_sets, + attributes=attributes, + authorization=authorization, + description=description, + ocid=ocid, + resource_type_schema_version=resource_type_schema_version, + tags=tags, + urnietfparamsscimschemasoracleidcsextensionself_change_user=urnietfparamsscimschemasoracleidcsextensionself_change_user, + user=user, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + idcs_endpoint: pulumi.Input[str], + key: pulumi.Input[str], + schemas: pulumi.Input[Sequence[pulumi.Input[str]]], + attribute_sets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + attributes: Optional[pulumi.Input[str]] = None, + authorization: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + resource_type_schema_version: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsApiKeyTagArgs']]]] = None, + urnietfparamsscimschemasoracleidcsextensionself_change_user: Optional[pulumi.Input['DomainsApiKeyUrnietfparamsscimschemasoracleidcsextensionselfChangeUserArgs']] = None, + user: Optional[pulumi.Input['DomainsApiKeyUserArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("idcs_endpoint", idcs_endpoint) + _setter("key", key) + _setter("schemas", schemas) if attribute_sets is not None: - pulumi.set(__self__, "attribute_sets", attribute_sets) + _setter("attribute_sets", attribute_sets) if attributes is not None: - pulumi.set(__self__, "attributes", attributes) + _setter("attributes", attributes) if authorization is not None: - pulumi.set(__self__, "authorization", authorization) + _setter("authorization", authorization) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if resource_type_schema_version is not None: - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) + _setter("resource_type_schema_version", resource_type_schema_version) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if urnietfparamsscimschemasoracleidcsextensionself_change_user is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionself_change_user", urnietfparamsscimschemasoracleidcsextensionself_change_user) + _setter("urnietfparamsscimschemasoracleidcsextensionself_change_user", urnietfparamsscimschemasoracleidcsextensionself_change_user) if user is not None: - pulumi.set(__self__, "user", user) + _setter("user", user) @property @pulumi.getter(name="idcsEndpoint") @@ -532,50 +563,101 @@ def __init__(__self__, *, * type: complex * uniqueness: none """ + _DomainsApiKeyState._configure( + lambda key, value: pulumi.set(__self__, key, value), + attribute_sets=attribute_sets, + attributes=attributes, + authorization=authorization, + compartment_ocid=compartment_ocid, + delete_in_progress=delete_in_progress, + description=description, + domain_ocid=domain_ocid, + fingerprint=fingerprint, + idcs_created_bies=idcs_created_bies, + idcs_endpoint=idcs_endpoint, + idcs_last_modified_bies=idcs_last_modified_bies, + idcs_last_upgraded_in_release=idcs_last_upgraded_in_release, + idcs_prevented_operations=idcs_prevented_operations, + key=key, + metas=metas, + ocid=ocid, + resource_type_schema_version=resource_type_schema_version, + schemas=schemas, + tags=tags, + tenancy_ocid=tenancy_ocid, + urnietfparamsscimschemasoracleidcsextensionself_change_user=urnietfparamsscimschemasoracleidcsextensionself_change_user, + user=user, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attribute_sets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + attributes: Optional[pulumi.Input[str]] = None, + authorization: Optional[pulumi.Input[str]] = None, + compartment_ocid: Optional[pulumi.Input[str]] = None, + delete_in_progress: Optional[pulumi.Input[bool]] = None, + description: Optional[pulumi.Input[str]] = None, + domain_ocid: Optional[pulumi.Input[str]] = None, + fingerprint: Optional[pulumi.Input[str]] = None, + idcs_created_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsApiKeyIdcsCreatedByArgs']]]] = None, + idcs_endpoint: Optional[pulumi.Input[str]] = None, + idcs_last_modified_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsApiKeyIdcsLastModifiedByArgs']]]] = None, + idcs_last_upgraded_in_release: Optional[pulumi.Input[str]] = None, + idcs_prevented_operations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + key: Optional[pulumi.Input[str]] = None, + metas: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsApiKeyMetaArgs']]]] = None, + ocid: Optional[pulumi.Input[str]] = None, + resource_type_schema_version: Optional[pulumi.Input[str]] = None, + schemas: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsApiKeyTagArgs']]]] = None, + tenancy_ocid: Optional[pulumi.Input[str]] = None, + urnietfparamsscimschemasoracleidcsextensionself_change_user: Optional[pulumi.Input['DomainsApiKeyUrnietfparamsscimschemasoracleidcsextensionselfChangeUserArgs']] = None, + user: Optional[pulumi.Input['DomainsApiKeyUserArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if attribute_sets is not None: - pulumi.set(__self__, "attribute_sets", attribute_sets) + _setter("attribute_sets", attribute_sets) if attributes is not None: - pulumi.set(__self__, "attributes", attributes) + _setter("attributes", attributes) if authorization is not None: - pulumi.set(__self__, "authorization", authorization) + _setter("authorization", authorization) if compartment_ocid is not None: - pulumi.set(__self__, "compartment_ocid", compartment_ocid) + _setter("compartment_ocid", compartment_ocid) if delete_in_progress is not None: - pulumi.set(__self__, "delete_in_progress", delete_in_progress) + _setter("delete_in_progress", delete_in_progress) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if domain_ocid is not None: - pulumi.set(__self__, "domain_ocid", domain_ocid) + _setter("domain_ocid", domain_ocid) if fingerprint is not None: - pulumi.set(__self__, "fingerprint", fingerprint) + _setter("fingerprint", fingerprint) if idcs_created_bies is not None: - pulumi.set(__self__, "idcs_created_bies", idcs_created_bies) + _setter("idcs_created_bies", idcs_created_bies) if idcs_endpoint is not None: - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) + _setter("idcs_endpoint", idcs_endpoint) if idcs_last_modified_bies is not None: - pulumi.set(__self__, "idcs_last_modified_bies", idcs_last_modified_bies) + _setter("idcs_last_modified_bies", idcs_last_modified_bies) if idcs_last_upgraded_in_release is not None: - pulumi.set(__self__, "idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) + _setter("idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) if idcs_prevented_operations is not None: - pulumi.set(__self__, "idcs_prevented_operations", idcs_prevented_operations) + _setter("idcs_prevented_operations", idcs_prevented_operations) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if metas is not None: - pulumi.set(__self__, "metas", metas) + _setter("metas", metas) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if resource_type_schema_version is not None: - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) + _setter("resource_type_schema_version", resource_type_schema_version) if schemas is not None: - pulumi.set(__self__, "schemas", schemas) + _setter("schemas", schemas) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if tenancy_ocid is not None: - pulumi.set(__self__, "tenancy_ocid", tenancy_ocid) + _setter("tenancy_ocid", tenancy_ocid) if urnietfparamsscimschemasoracleidcsextensionself_change_user is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionself_change_user", urnietfparamsscimschemasoracleidcsextensionself_change_user) + _setter("urnietfparamsscimschemasoracleidcsextensionself_change_user", urnietfparamsscimschemasoracleidcsextensionself_change_user) if user is not None: - pulumi.set(__self__, "user", user) + _setter("user", user) @property @pulumi.getter(name="attributeSets") @@ -1130,6 +1212,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DomainsApiKeyArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -1172,7 +1258,17 @@ def _internal_init(__self__, raise TypeError("Missing required property 'schemas'") __props__.__dict__["schemas"] = schemas __props__.__dict__["tags"] = tags + if urnietfparamsscimschemasoracleidcsextensionself_change_user is not None and not isinstance(urnietfparamsscimschemasoracleidcsextensionself_change_user, DomainsApiKeyUrnietfparamsscimschemasoracleidcsextensionselfChangeUserArgs): + urnietfparamsscimschemasoracleidcsextensionself_change_user = urnietfparamsscimschemasoracleidcsextensionself_change_user or {} + def _setter(key, value): + urnietfparamsscimschemasoracleidcsextensionself_change_user[key] = value + DomainsApiKeyUrnietfparamsscimschemasoracleidcsextensionselfChangeUserArgs._configure(_setter, **urnietfparamsscimschemasoracleidcsextensionself_change_user) __props__.__dict__["urnietfparamsscimschemasoracleidcsextensionself_change_user"] = urnietfparamsscimschemasoracleidcsextensionself_change_user + if user is not None and not isinstance(user, DomainsApiKeyUserArgs): + user = user or {} + def _setter(key, value): + user[key] = value + DomainsApiKeyUserArgs._configure(_setter, **user) __props__.__dict__["user"] = user __props__.__dict__["compartment_ocid"] = None __props__.__dict__["delete_in_progress"] = None diff --git a/sdk/python/pulumi_oci/identity/domains_app.py b/sdk/python/pulumi_oci/identity/domains_app.py index 354264e5ae..16fc6ab57a 100644 --- a/sdk/python/pulumi_oci/identity/domains_app.py +++ b/sdk/python/pulumi_oci/identity/domains_app.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -991,192 +991,389 @@ def __init__(__self__, *, :param pulumi.Input['DomainsAppUrnietfparamsscimschemasoracleidcsextensionsamlServiceProviderAppArgs'] urnietfparamsscimschemasoracleidcsextensionsaml_service_provider_app: (Updatable) This extension defines attributes related to the Service Providers configuration. :param pulumi.Input['DomainsAppUrnietfparamsscimschemasoracleidcsextensionwebTierPolicyAppArgs'] urnietfparamsscimschemasoracleidcsextensionweb_tier_policy_app: (Updatable) WebTier Policy """ - pulumi.set(__self__, "based_on_template", based_on_template) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) - pulumi.set(__self__, "schemas", schemas) + DomainsAppArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + based_on_template=based_on_template, + display_name=display_name, + idcs_endpoint=idcs_endpoint, + schemas=schemas, + access_token_expiry=access_token_expiry, + active=active, + alias_apps=alias_apps, + all_url_schemes_allowed=all_url_schemes_allowed, + allow_access_control=allow_access_control, + allow_offline=allow_offline, + allowed_grants=allowed_grants, + allowed_operations=allowed_operations, + allowed_scopes=allowed_scopes, + allowed_tags=allowed_tags, + app_icon=app_icon, + app_signon_policy=app_signon_policy, + app_thumbnail=app_thumbnail, + apps_network_perimeters=apps_network_perimeters, + as_opc_service=as_opc_service, + attr_rendering_metadatas=attr_rendering_metadatas, + attribute_sets=attribute_sets, + attributes=attributes, + audience=audience, + authorization=authorization, + bypass_consent=bypass_consent, + certificates=certificates, + client_ip_checking=client_ip_checking, + client_type=client_type, + contact_email_address=contact_email_address, + delegated_service_names=delegated_service_names, + description=description, + disable_kmsi_token_authentication=disable_kmsi_token_authentication, + error_page_url=error_page_url, + home_page_url=home_page_url, + icon=icon, + id_token_enc_algo=id_token_enc_algo, + identity_providers=identity_providers, + idp_policy=idp_policy, + is_alias_app=is_alias_app, + is_enterprise_app=is_enterprise_app, + is_form_fill=is_form_fill, + is_kerberos_realm=is_kerberos_realm, + is_login_target=is_login_target, + is_mobile_target=is_mobile_target, + is_multicloud_service_app=is_multicloud_service_app, + is_oauth_client=is_oauth_client, + is_oauth_resource=is_oauth_resource, + is_obligation_capable=is_obligation_capable, + is_radius_app=is_radius_app, + is_saml_service_provider=is_saml_service_provider, + is_unmanaged_app=is_unmanaged_app, + is_web_tier_policy=is_web_tier_policy, + landing_page_url=landing_page_url, + linking_callback_url=linking_callback_url, + login_mechanism=login_mechanism, + login_page_url=login_page_url, + logout_page_url=logout_page_url, + logout_uri=logout_uri, + name=name, + ocid=ocid, + post_logout_redirect_uris=post_logout_redirect_uris, + privacy_policy_url=privacy_policy_url, + product_logo_url=product_logo_url, + product_name=product_name, + protectable_secondary_audiences=protectable_secondary_audiences, + radius_policy=radius_policy, + redirect_uris=redirect_uris, + refresh_token_expiry=refresh_token_expiry, + resource_type_schema_version=resource_type_schema_version, + saml_service_provider=saml_service_provider, + scopes=scopes, + secondary_audiences=secondary_audiences, + service_params=service_params, + service_type_urn=service_type_urn, + service_type_version=service_type_version, + show_in_my_apps=show_in_my_apps, + signon_policy=signon_policy, + tags=tags, + terms_of_service_url=terms_of_service_url, + terms_of_use=terms_of_use, + trust_policies=trust_policies, + trust_scope=trust_scope, + urnietfparamsscimschemasoracleidcsextension_oci_tags=urnietfparamsscimschemasoracleidcsextension_oci_tags, + urnietfparamsscimschemasoracleidcsextensiondbcs_app=urnietfparamsscimschemasoracleidcsextensiondbcs_app, + urnietfparamsscimschemasoracleidcsextensionenterprise_app_app=urnietfparamsscimschemasoracleidcsextensionenterprise_app_app, + urnietfparamsscimschemasoracleidcsextensionform_fill_app_app=urnietfparamsscimschemasoracleidcsextensionform_fill_app_app, + urnietfparamsscimschemasoracleidcsextensionform_fill_app_template_app_template=urnietfparamsscimschemasoracleidcsextensionform_fill_app_template_app_template, + urnietfparamsscimschemasoracleidcsextensionkerberos_realm_app=urnietfparamsscimschemasoracleidcsextensionkerberos_realm_app, + urnietfparamsscimschemasoracleidcsextensionmanagedapp_app=urnietfparamsscimschemasoracleidcsextensionmanagedapp_app, + urnietfparamsscimschemasoracleidcsextensionmulticloud_service_app_app=urnietfparamsscimschemasoracleidcsextensionmulticloud_service_app_app, + urnietfparamsscimschemasoracleidcsextensionopc_service_app=urnietfparamsscimschemasoracleidcsextensionopc_service_app, + urnietfparamsscimschemasoracleidcsextensionradius_app_app=urnietfparamsscimschemasoracleidcsextensionradius_app_app, + urnietfparamsscimschemasoracleidcsextensionrequestable_app=urnietfparamsscimschemasoracleidcsextensionrequestable_app, + urnietfparamsscimschemasoracleidcsextensionsaml_service_provider_app=urnietfparamsscimschemasoracleidcsextensionsaml_service_provider_app, + urnietfparamsscimschemasoracleidcsextensionweb_tier_policy_app=urnietfparamsscimschemasoracleidcsextensionweb_tier_policy_app, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + based_on_template: pulumi.Input['DomainsAppBasedOnTemplateArgs'], + display_name: pulumi.Input[str], + idcs_endpoint: pulumi.Input[str], + schemas: pulumi.Input[Sequence[pulumi.Input[str]]], + access_token_expiry: Optional[pulumi.Input[int]] = None, + active: Optional[pulumi.Input[bool]] = None, + alias_apps: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAppAliasAppArgs']]]] = None, + all_url_schemes_allowed: Optional[pulumi.Input[bool]] = None, + allow_access_control: Optional[pulumi.Input[bool]] = None, + allow_offline: Optional[pulumi.Input[bool]] = None, + allowed_grants: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + allowed_operations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + allowed_scopes: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAppAllowedScopeArgs']]]] = None, + allowed_tags: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAppAllowedTagArgs']]]] = None, + app_icon: Optional[pulumi.Input[str]] = None, + app_signon_policy: Optional[pulumi.Input['DomainsAppAppSignonPolicyArgs']] = None, + app_thumbnail: Optional[pulumi.Input[str]] = None, + apps_network_perimeters: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAppAppsNetworkPerimeterArgs']]]] = None, + as_opc_service: Optional[pulumi.Input['DomainsAppAsOpcServiceArgs']] = None, + attr_rendering_metadatas: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAppAttrRenderingMetadataArgs']]]] = None, + attribute_sets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + attributes: Optional[pulumi.Input[str]] = None, + audience: Optional[pulumi.Input[str]] = None, + authorization: Optional[pulumi.Input[str]] = None, + bypass_consent: Optional[pulumi.Input[bool]] = None, + certificates: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAppCertificateArgs']]]] = None, + client_ip_checking: Optional[pulumi.Input[str]] = None, + client_type: Optional[pulumi.Input[str]] = None, + contact_email_address: Optional[pulumi.Input[str]] = None, + delegated_service_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + description: Optional[pulumi.Input[str]] = None, + disable_kmsi_token_authentication: Optional[pulumi.Input[bool]] = None, + error_page_url: Optional[pulumi.Input[str]] = None, + home_page_url: Optional[pulumi.Input[str]] = None, + icon: Optional[pulumi.Input[str]] = None, + id_token_enc_algo: Optional[pulumi.Input[str]] = None, + identity_providers: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAppIdentityProviderArgs']]]] = None, + idp_policy: Optional[pulumi.Input['DomainsAppIdpPolicyArgs']] = None, + is_alias_app: Optional[pulumi.Input[bool]] = None, + is_enterprise_app: Optional[pulumi.Input[bool]] = None, + is_form_fill: Optional[pulumi.Input[bool]] = None, + is_kerberos_realm: Optional[pulumi.Input[bool]] = None, + is_login_target: Optional[pulumi.Input[bool]] = None, + is_mobile_target: Optional[pulumi.Input[bool]] = None, + is_multicloud_service_app: Optional[pulumi.Input[bool]] = None, + is_oauth_client: Optional[pulumi.Input[bool]] = None, + is_oauth_resource: Optional[pulumi.Input[bool]] = None, + is_obligation_capable: Optional[pulumi.Input[bool]] = None, + is_radius_app: Optional[pulumi.Input[bool]] = None, + is_saml_service_provider: Optional[pulumi.Input[bool]] = None, + is_unmanaged_app: Optional[pulumi.Input[bool]] = None, + is_web_tier_policy: Optional[pulumi.Input[bool]] = None, + landing_page_url: Optional[pulumi.Input[str]] = None, + linking_callback_url: Optional[pulumi.Input[str]] = None, + login_mechanism: Optional[pulumi.Input[str]] = None, + login_page_url: Optional[pulumi.Input[str]] = None, + logout_page_url: Optional[pulumi.Input[str]] = None, + logout_uri: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + post_logout_redirect_uris: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + privacy_policy_url: Optional[pulumi.Input[str]] = None, + product_logo_url: Optional[pulumi.Input[str]] = None, + product_name: Optional[pulumi.Input[str]] = None, + protectable_secondary_audiences: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAppProtectableSecondaryAudienceArgs']]]] = None, + radius_policy: Optional[pulumi.Input['DomainsAppRadiusPolicyArgs']] = None, + redirect_uris: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + refresh_token_expiry: Optional[pulumi.Input[int]] = None, + resource_type_schema_version: Optional[pulumi.Input[str]] = None, + saml_service_provider: Optional[pulumi.Input['DomainsAppSamlServiceProviderArgs']] = None, + scopes: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAppScopeArgs']]]] = None, + secondary_audiences: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + service_params: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAppServiceParamArgs']]]] = None, + service_type_urn: Optional[pulumi.Input[str]] = None, + service_type_version: Optional[pulumi.Input[str]] = None, + show_in_my_apps: Optional[pulumi.Input[bool]] = None, + signon_policy: Optional[pulumi.Input['DomainsAppSignonPolicyArgs']] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAppTagArgs']]]] = None, + terms_of_service_url: Optional[pulumi.Input[str]] = None, + terms_of_use: Optional[pulumi.Input['DomainsAppTermsOfUseArgs']] = None, + trust_policies: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAppTrustPolicyArgs']]]] = None, + trust_scope: Optional[pulumi.Input[str]] = None, + urnietfparamsscimschemasoracleidcsextension_oci_tags: Optional[pulumi.Input['DomainsAppUrnietfparamsscimschemasoracleidcsextensionOciTagsArgs']] = None, + urnietfparamsscimschemasoracleidcsextensiondbcs_app: Optional[pulumi.Input['DomainsAppUrnietfparamsscimschemasoracleidcsextensiondbcsAppArgs']] = None, + urnietfparamsscimschemasoracleidcsextensionenterprise_app_app: Optional[pulumi.Input['DomainsAppUrnietfparamsscimschemasoracleidcsextensionenterpriseAppAppArgs']] = None, + urnietfparamsscimschemasoracleidcsextensionform_fill_app_app: Optional[pulumi.Input['DomainsAppUrnietfparamsscimschemasoracleidcsextensionformFillAppAppArgs']] = None, + urnietfparamsscimschemasoracleidcsextensionform_fill_app_template_app_template: Optional[pulumi.Input['DomainsAppUrnietfparamsscimschemasoracleidcsextensionformFillAppTemplateAppTemplateArgs']] = None, + urnietfparamsscimschemasoracleidcsextensionkerberos_realm_app: Optional[pulumi.Input['DomainsAppUrnietfparamsscimschemasoracleidcsextensionkerberosRealmAppArgs']] = None, + urnietfparamsscimschemasoracleidcsextensionmanagedapp_app: Optional[pulumi.Input['DomainsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppArgs']] = None, + urnietfparamsscimschemasoracleidcsextensionmulticloud_service_app_app: Optional[pulumi.Input['DomainsAppUrnietfparamsscimschemasoracleidcsextensionmulticloudServiceAppAppArgs']] = None, + urnietfparamsscimschemasoracleidcsextensionopc_service_app: Optional[pulumi.Input['DomainsAppUrnietfparamsscimschemasoracleidcsextensionopcServiceAppArgs']] = None, + urnietfparamsscimschemasoracleidcsextensionradius_app_app: Optional[pulumi.Input['DomainsAppUrnietfparamsscimschemasoracleidcsextensionradiusAppAppArgs']] = None, + urnietfparamsscimschemasoracleidcsextensionrequestable_app: Optional[pulumi.Input['DomainsAppUrnietfparamsscimschemasoracleidcsextensionrequestableAppArgs']] = None, + urnietfparamsscimschemasoracleidcsextensionsaml_service_provider_app: Optional[pulumi.Input['DomainsAppUrnietfparamsscimschemasoracleidcsextensionsamlServiceProviderAppArgs']] = None, + urnietfparamsscimschemasoracleidcsextensionweb_tier_policy_app: Optional[pulumi.Input['DomainsAppUrnietfparamsscimschemasoracleidcsextensionwebTierPolicyAppArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("based_on_template", based_on_template) + _setter("display_name", display_name) + _setter("idcs_endpoint", idcs_endpoint) + _setter("schemas", schemas) if access_token_expiry is not None: - pulumi.set(__self__, "access_token_expiry", access_token_expiry) + _setter("access_token_expiry", access_token_expiry) if active is not None: - pulumi.set(__self__, "active", active) + _setter("active", active) if alias_apps is not None: - pulumi.set(__self__, "alias_apps", alias_apps) + _setter("alias_apps", alias_apps) if all_url_schemes_allowed is not None: - pulumi.set(__self__, "all_url_schemes_allowed", all_url_schemes_allowed) + _setter("all_url_schemes_allowed", all_url_schemes_allowed) if allow_access_control is not None: - pulumi.set(__self__, "allow_access_control", allow_access_control) + _setter("allow_access_control", allow_access_control) if allow_offline is not None: - pulumi.set(__self__, "allow_offline", allow_offline) + _setter("allow_offline", allow_offline) if allowed_grants is not None: - pulumi.set(__self__, "allowed_grants", allowed_grants) + _setter("allowed_grants", allowed_grants) if allowed_operations is not None: - pulumi.set(__self__, "allowed_operations", allowed_operations) + _setter("allowed_operations", allowed_operations) if allowed_scopes is not None: - pulumi.set(__self__, "allowed_scopes", allowed_scopes) + _setter("allowed_scopes", allowed_scopes) if allowed_tags is not None: - pulumi.set(__self__, "allowed_tags", allowed_tags) + _setter("allowed_tags", allowed_tags) if app_icon is not None: - pulumi.set(__self__, "app_icon", app_icon) + _setter("app_icon", app_icon) if app_signon_policy is not None: - pulumi.set(__self__, "app_signon_policy", app_signon_policy) + _setter("app_signon_policy", app_signon_policy) if app_thumbnail is not None: - pulumi.set(__self__, "app_thumbnail", app_thumbnail) + _setter("app_thumbnail", app_thumbnail) if apps_network_perimeters is not None: - pulumi.set(__self__, "apps_network_perimeters", apps_network_perimeters) + _setter("apps_network_perimeters", apps_network_perimeters) if as_opc_service is not None: - pulumi.set(__self__, "as_opc_service", as_opc_service) + _setter("as_opc_service", as_opc_service) if attr_rendering_metadatas is not None: - pulumi.set(__self__, "attr_rendering_metadatas", attr_rendering_metadatas) + _setter("attr_rendering_metadatas", attr_rendering_metadatas) if attribute_sets is not None: - pulumi.set(__self__, "attribute_sets", attribute_sets) + _setter("attribute_sets", attribute_sets) if attributes is not None: - pulumi.set(__self__, "attributes", attributes) + _setter("attributes", attributes) if audience is not None: - pulumi.set(__self__, "audience", audience) + _setter("audience", audience) if authorization is not None: - pulumi.set(__self__, "authorization", authorization) + _setter("authorization", authorization) if bypass_consent is not None: - pulumi.set(__self__, "bypass_consent", bypass_consent) + _setter("bypass_consent", bypass_consent) if certificates is not None: - pulumi.set(__self__, "certificates", certificates) + _setter("certificates", certificates) if client_ip_checking is not None: - pulumi.set(__self__, "client_ip_checking", client_ip_checking) + _setter("client_ip_checking", client_ip_checking) if client_type is not None: - pulumi.set(__self__, "client_type", client_type) + _setter("client_type", client_type) if contact_email_address is not None: - pulumi.set(__self__, "contact_email_address", contact_email_address) + _setter("contact_email_address", contact_email_address) if delegated_service_names is not None: - pulumi.set(__self__, "delegated_service_names", delegated_service_names) + _setter("delegated_service_names", delegated_service_names) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if disable_kmsi_token_authentication is not None: - pulumi.set(__self__, "disable_kmsi_token_authentication", disable_kmsi_token_authentication) + _setter("disable_kmsi_token_authentication", disable_kmsi_token_authentication) if error_page_url is not None: - pulumi.set(__self__, "error_page_url", error_page_url) + _setter("error_page_url", error_page_url) if home_page_url is not None: - pulumi.set(__self__, "home_page_url", home_page_url) + _setter("home_page_url", home_page_url) if icon is not None: - pulumi.set(__self__, "icon", icon) + _setter("icon", icon) if id_token_enc_algo is not None: - pulumi.set(__self__, "id_token_enc_algo", id_token_enc_algo) + _setter("id_token_enc_algo", id_token_enc_algo) if identity_providers is not None: - pulumi.set(__self__, "identity_providers", identity_providers) + _setter("identity_providers", identity_providers) if idp_policy is not None: - pulumi.set(__self__, "idp_policy", idp_policy) + _setter("idp_policy", idp_policy) if is_alias_app is not None: - pulumi.set(__self__, "is_alias_app", is_alias_app) + _setter("is_alias_app", is_alias_app) if is_enterprise_app is not None: - pulumi.set(__self__, "is_enterprise_app", is_enterprise_app) + _setter("is_enterprise_app", is_enterprise_app) if is_form_fill is not None: - pulumi.set(__self__, "is_form_fill", is_form_fill) + _setter("is_form_fill", is_form_fill) if is_kerberos_realm is not None: - pulumi.set(__self__, "is_kerberos_realm", is_kerberos_realm) + _setter("is_kerberos_realm", is_kerberos_realm) if is_login_target is not None: - pulumi.set(__self__, "is_login_target", is_login_target) + _setter("is_login_target", is_login_target) if is_mobile_target is not None: - pulumi.set(__self__, "is_mobile_target", is_mobile_target) + _setter("is_mobile_target", is_mobile_target) if is_multicloud_service_app is not None: - pulumi.set(__self__, "is_multicloud_service_app", is_multicloud_service_app) + _setter("is_multicloud_service_app", is_multicloud_service_app) if is_oauth_client is not None: - pulumi.set(__self__, "is_oauth_client", is_oauth_client) + _setter("is_oauth_client", is_oauth_client) if is_oauth_resource is not None: - pulumi.set(__self__, "is_oauth_resource", is_oauth_resource) + _setter("is_oauth_resource", is_oauth_resource) if is_obligation_capable is not None: - pulumi.set(__self__, "is_obligation_capable", is_obligation_capable) + _setter("is_obligation_capable", is_obligation_capable) if is_radius_app is not None: - pulumi.set(__self__, "is_radius_app", is_radius_app) + _setter("is_radius_app", is_radius_app) if is_saml_service_provider is not None: - pulumi.set(__self__, "is_saml_service_provider", is_saml_service_provider) + _setter("is_saml_service_provider", is_saml_service_provider) if is_unmanaged_app is not None: - pulumi.set(__self__, "is_unmanaged_app", is_unmanaged_app) + _setter("is_unmanaged_app", is_unmanaged_app) if is_web_tier_policy is not None: - pulumi.set(__self__, "is_web_tier_policy", is_web_tier_policy) + _setter("is_web_tier_policy", is_web_tier_policy) if landing_page_url is not None: - pulumi.set(__self__, "landing_page_url", landing_page_url) + _setter("landing_page_url", landing_page_url) if linking_callback_url is not None: - pulumi.set(__self__, "linking_callback_url", linking_callback_url) + _setter("linking_callback_url", linking_callback_url) if login_mechanism is not None: - pulumi.set(__self__, "login_mechanism", login_mechanism) + _setter("login_mechanism", login_mechanism) if login_page_url is not None: - pulumi.set(__self__, "login_page_url", login_page_url) + _setter("login_page_url", login_page_url) if logout_page_url is not None: - pulumi.set(__self__, "logout_page_url", logout_page_url) + _setter("logout_page_url", logout_page_url) if logout_uri is not None: - pulumi.set(__self__, "logout_uri", logout_uri) + _setter("logout_uri", logout_uri) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if post_logout_redirect_uris is not None: - pulumi.set(__self__, "post_logout_redirect_uris", post_logout_redirect_uris) + _setter("post_logout_redirect_uris", post_logout_redirect_uris) if privacy_policy_url is not None: - pulumi.set(__self__, "privacy_policy_url", privacy_policy_url) + _setter("privacy_policy_url", privacy_policy_url) if product_logo_url is not None: - pulumi.set(__self__, "product_logo_url", product_logo_url) + _setter("product_logo_url", product_logo_url) if product_name is not None: - pulumi.set(__self__, "product_name", product_name) + _setter("product_name", product_name) if protectable_secondary_audiences is not None: - pulumi.set(__self__, "protectable_secondary_audiences", protectable_secondary_audiences) + _setter("protectable_secondary_audiences", protectable_secondary_audiences) if radius_policy is not None: - pulumi.set(__self__, "radius_policy", radius_policy) + _setter("radius_policy", radius_policy) if redirect_uris is not None: - pulumi.set(__self__, "redirect_uris", redirect_uris) + _setter("redirect_uris", redirect_uris) if refresh_token_expiry is not None: - pulumi.set(__self__, "refresh_token_expiry", refresh_token_expiry) + _setter("refresh_token_expiry", refresh_token_expiry) if resource_type_schema_version is not None: - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) + _setter("resource_type_schema_version", resource_type_schema_version) if saml_service_provider is not None: - pulumi.set(__self__, "saml_service_provider", saml_service_provider) + _setter("saml_service_provider", saml_service_provider) if scopes is not None: - pulumi.set(__self__, "scopes", scopes) + _setter("scopes", scopes) if secondary_audiences is not None: - pulumi.set(__self__, "secondary_audiences", secondary_audiences) + _setter("secondary_audiences", secondary_audiences) if service_params is not None: - pulumi.set(__self__, "service_params", service_params) + _setter("service_params", service_params) if service_type_urn is not None: - pulumi.set(__self__, "service_type_urn", service_type_urn) + _setter("service_type_urn", service_type_urn) if service_type_version is not None: - pulumi.set(__self__, "service_type_version", service_type_version) + _setter("service_type_version", service_type_version) if show_in_my_apps is not None: - pulumi.set(__self__, "show_in_my_apps", show_in_my_apps) + _setter("show_in_my_apps", show_in_my_apps) if signon_policy is not None: - pulumi.set(__self__, "signon_policy", signon_policy) + _setter("signon_policy", signon_policy) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if terms_of_service_url is not None: - pulumi.set(__self__, "terms_of_service_url", terms_of_service_url) + _setter("terms_of_service_url", terms_of_service_url) if terms_of_use is not None: - pulumi.set(__self__, "terms_of_use", terms_of_use) + _setter("terms_of_use", terms_of_use) if trust_policies is not None: - pulumi.set(__self__, "trust_policies", trust_policies) + _setter("trust_policies", trust_policies) if trust_scope is not None: - pulumi.set(__self__, "trust_scope", trust_scope) + _setter("trust_scope", trust_scope) if urnietfparamsscimschemasoracleidcsextension_oci_tags is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextension_oci_tags", urnietfparamsscimschemasoracleidcsextension_oci_tags) + _setter("urnietfparamsscimschemasoracleidcsextension_oci_tags", urnietfparamsscimschemasoracleidcsextension_oci_tags) if urnietfparamsscimschemasoracleidcsextensiondbcs_app is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensiondbcs_app", urnietfparamsscimschemasoracleidcsextensiondbcs_app) + _setter("urnietfparamsscimschemasoracleidcsextensiondbcs_app", urnietfparamsscimschemasoracleidcsextensiondbcs_app) if urnietfparamsscimschemasoracleidcsextensionenterprise_app_app is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionenterprise_app_app", urnietfparamsscimschemasoracleidcsextensionenterprise_app_app) + _setter("urnietfparamsscimschemasoracleidcsextensionenterprise_app_app", urnietfparamsscimschemasoracleidcsextensionenterprise_app_app) if urnietfparamsscimschemasoracleidcsextensionform_fill_app_app is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionform_fill_app_app", urnietfparamsscimschemasoracleidcsextensionform_fill_app_app) + _setter("urnietfparamsscimschemasoracleidcsextensionform_fill_app_app", urnietfparamsscimschemasoracleidcsextensionform_fill_app_app) if urnietfparamsscimschemasoracleidcsextensionform_fill_app_template_app_template is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionform_fill_app_template_app_template", urnietfparamsscimschemasoracleidcsextensionform_fill_app_template_app_template) + _setter("urnietfparamsscimschemasoracleidcsextensionform_fill_app_template_app_template", urnietfparamsscimschemasoracleidcsextensionform_fill_app_template_app_template) if urnietfparamsscimschemasoracleidcsextensionkerberos_realm_app is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionkerberos_realm_app", urnietfparamsscimschemasoracleidcsextensionkerberos_realm_app) + _setter("urnietfparamsscimschemasoracleidcsextensionkerberos_realm_app", urnietfparamsscimschemasoracleidcsextensionkerberos_realm_app) if urnietfparamsscimschemasoracleidcsextensionmanagedapp_app is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionmanagedapp_app", urnietfparamsscimschemasoracleidcsextensionmanagedapp_app) + _setter("urnietfparamsscimschemasoracleidcsextensionmanagedapp_app", urnietfparamsscimschemasoracleidcsextensionmanagedapp_app) if urnietfparamsscimschemasoracleidcsextensionmulticloud_service_app_app is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionmulticloud_service_app_app", urnietfparamsscimschemasoracleidcsextensionmulticloud_service_app_app) + _setter("urnietfparamsscimschemasoracleidcsextensionmulticloud_service_app_app", urnietfparamsscimschemasoracleidcsextensionmulticloud_service_app_app) if urnietfparamsscimschemasoracleidcsextensionopc_service_app is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionopc_service_app", urnietfparamsscimschemasoracleidcsextensionopc_service_app) + _setter("urnietfparamsscimschemasoracleidcsextensionopc_service_app", urnietfparamsscimschemasoracleidcsextensionopc_service_app) if urnietfparamsscimschemasoracleidcsextensionradius_app_app is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionradius_app_app", urnietfparamsscimschemasoracleidcsextensionradius_app_app) + _setter("urnietfparamsscimschemasoracleidcsextensionradius_app_app", urnietfparamsscimschemasoracleidcsextensionradius_app_app) if urnietfparamsscimschemasoracleidcsextensionrequestable_app is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionrequestable_app", urnietfparamsscimschemasoracleidcsextensionrequestable_app) + _setter("urnietfparamsscimschemasoracleidcsextensionrequestable_app", urnietfparamsscimschemasoracleidcsextensionrequestable_app) if urnietfparamsscimschemasoracleidcsextensionsaml_service_provider_app is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionsaml_service_provider_app", urnietfparamsscimschemasoracleidcsextensionsaml_service_provider_app) + _setter("urnietfparamsscimschemasoracleidcsextensionsaml_service_provider_app", urnietfparamsscimschemasoracleidcsextensionsaml_service_provider_app) if urnietfparamsscimschemasoracleidcsextensionweb_tier_policy_app is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionweb_tier_policy_app", urnietfparamsscimschemasoracleidcsextensionweb_tier_policy_app) + _setter("urnietfparamsscimschemasoracleidcsextensionweb_tier_policy_app", urnietfparamsscimschemasoracleidcsextensionweb_tier_policy_app) @property @pulumi.getter(name="basedOnTemplate") @@ -4388,248 +4585,497 @@ def __init__(__self__, *, * returned: request * type: complex """ + _DomainsAppState._configure( + lambda key, value: pulumi.set(__self__, key, value), + access_token_expiry=access_token_expiry, + accounts=accounts, + active=active, + admin_roles=admin_roles, + alias_apps=alias_apps, + all_url_schemes_allowed=all_url_schemes_allowed, + allow_access_control=allow_access_control, + allow_offline=allow_offline, + allowed_grants=allowed_grants, + allowed_operations=allowed_operations, + allowed_scopes=allowed_scopes, + allowed_tags=allowed_tags, + app_icon=app_icon, + app_signon_policy=app_signon_policy, + app_thumbnail=app_thumbnail, + apps_network_perimeters=apps_network_perimeters, + as_opc_service=as_opc_service, + attr_rendering_metadatas=attr_rendering_metadatas, + attribute_sets=attribute_sets, + attributes=attributes, + audience=audience, + authorization=authorization, + based_on_template=based_on_template, + bypass_consent=bypass_consent, + callback_service_url=callback_service_url, + certificates=certificates, + client_ip_checking=client_ip_checking, + client_secret=client_secret, + client_type=client_type, + cloud_control_properties=cloud_control_properties, + compartment_ocid=compartment_ocid, + contact_email_address=contact_email_address, + delegated_service_names=delegated_service_names, + delete_in_progress=delete_in_progress, + description=description, + disable_kmsi_token_authentication=disable_kmsi_token_authentication, + display_name=display_name, + domain_ocid=domain_ocid, + editable_attributes=editable_attributes, + error_page_url=error_page_url, + granted_app_roles=granted_app_roles, + grants=grants, + hashed_client_secret=hashed_client_secret, + home_page_url=home_page_url, + icon=icon, + id_token_enc_algo=id_token_enc_algo, + idcs_created_bies=idcs_created_bies, + idcs_endpoint=idcs_endpoint, + idcs_last_modified_bies=idcs_last_modified_bies, + idcs_last_upgraded_in_release=idcs_last_upgraded_in_release, + idcs_prevented_operations=idcs_prevented_operations, + identity_providers=identity_providers, + idp_policy=idp_policy, + infrastructure=infrastructure, + is_alias_app=is_alias_app, + is_database_service=is_database_service, + is_enterprise_app=is_enterprise_app, + is_form_fill=is_form_fill, + is_kerberos_realm=is_kerberos_realm, + is_login_target=is_login_target, + is_managed_app=is_managed_app, + is_mobile_target=is_mobile_target, + is_multicloud_service_app=is_multicloud_service_app, + is_oauth_client=is_oauth_client, + is_oauth_resource=is_oauth_resource, + is_obligation_capable=is_obligation_capable, + is_opc_service=is_opc_service, + is_radius_app=is_radius_app, + is_saml_service_provider=is_saml_service_provider, + is_unmanaged_app=is_unmanaged_app, + is_web_tier_policy=is_web_tier_policy, + landing_page_url=landing_page_url, + linking_callback_url=linking_callback_url, + login_mechanism=login_mechanism, + login_page_url=login_page_url, + logout_page_url=logout_page_url, + logout_uri=logout_uri, + metas=metas, + meter_as_opc_service=meter_as_opc_service, + migrated=migrated, + name=name, + ocid=ocid, + post_logout_redirect_uris=post_logout_redirect_uris, + privacy_policy_url=privacy_policy_url, + product_logo_url=product_logo_url, + product_name=product_name, + protectable_secondary_audiences=protectable_secondary_audiences, + radius_policy=radius_policy, + ready_to_upgrade=ready_to_upgrade, + redirect_uris=redirect_uris, + refresh_token_expiry=refresh_token_expiry, + resource_type_schema_version=resource_type_schema_version, + saml_service_provider=saml_service_provider, + schemas=schemas, + scopes=scopes, + secondary_audiences=secondary_audiences, + service_params=service_params, + service_type_urn=service_type_urn, + service_type_version=service_type_version, + show_in_my_apps=show_in_my_apps, + signon_policy=signon_policy, + tags=tags, + tenancy_ocid=tenancy_ocid, + terms_of_service_url=terms_of_service_url, + terms_of_use=terms_of_use, + trust_policies=trust_policies, + trust_scope=trust_scope, + urnietfparamsscimschemasoracleidcsextension_oci_tags=urnietfparamsscimschemasoracleidcsextension_oci_tags, + urnietfparamsscimschemasoracleidcsextensiondbcs_app=urnietfparamsscimschemasoracleidcsextensiondbcs_app, + urnietfparamsscimschemasoracleidcsextensionenterprise_app_app=urnietfparamsscimschemasoracleidcsextensionenterprise_app_app, + urnietfparamsscimschemasoracleidcsextensionform_fill_app_app=urnietfparamsscimschemasoracleidcsextensionform_fill_app_app, + urnietfparamsscimschemasoracleidcsextensionform_fill_app_template_app_template=urnietfparamsscimschemasoracleidcsextensionform_fill_app_template_app_template, + urnietfparamsscimschemasoracleidcsextensionkerberos_realm_app=urnietfparamsscimschemasoracleidcsextensionkerberos_realm_app, + urnietfparamsscimschemasoracleidcsextensionmanagedapp_app=urnietfparamsscimschemasoracleidcsextensionmanagedapp_app, + urnietfparamsscimschemasoracleidcsextensionmulticloud_service_app_app=urnietfparamsscimschemasoracleidcsextensionmulticloud_service_app_app, + urnietfparamsscimschemasoracleidcsextensionopc_service_app=urnietfparamsscimschemasoracleidcsextensionopc_service_app, + urnietfparamsscimschemasoracleidcsextensionradius_app_app=urnietfparamsscimschemasoracleidcsextensionradius_app_app, + urnietfparamsscimschemasoracleidcsextensionrequestable_app=urnietfparamsscimschemasoracleidcsextensionrequestable_app, + urnietfparamsscimschemasoracleidcsextensionsaml_service_provider_app=urnietfparamsscimschemasoracleidcsextensionsaml_service_provider_app, + urnietfparamsscimschemasoracleidcsextensionweb_tier_policy_app=urnietfparamsscimschemasoracleidcsextensionweb_tier_policy_app, + user_roles=user_roles, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access_token_expiry: Optional[pulumi.Input[int]] = None, + accounts: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAppAccountArgs']]]] = None, + active: Optional[pulumi.Input[bool]] = None, + admin_roles: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAppAdminRoleArgs']]]] = None, + alias_apps: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAppAliasAppArgs']]]] = None, + all_url_schemes_allowed: Optional[pulumi.Input[bool]] = None, + allow_access_control: Optional[pulumi.Input[bool]] = None, + allow_offline: Optional[pulumi.Input[bool]] = None, + allowed_grants: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + allowed_operations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + allowed_scopes: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAppAllowedScopeArgs']]]] = None, + allowed_tags: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAppAllowedTagArgs']]]] = None, + app_icon: Optional[pulumi.Input[str]] = None, + app_signon_policy: Optional[pulumi.Input['DomainsAppAppSignonPolicyArgs']] = None, + app_thumbnail: Optional[pulumi.Input[str]] = None, + apps_network_perimeters: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAppAppsNetworkPerimeterArgs']]]] = None, + as_opc_service: Optional[pulumi.Input['DomainsAppAsOpcServiceArgs']] = None, + attr_rendering_metadatas: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAppAttrRenderingMetadataArgs']]]] = None, + attribute_sets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + attributes: Optional[pulumi.Input[str]] = None, + audience: Optional[pulumi.Input[str]] = None, + authorization: Optional[pulumi.Input[str]] = None, + based_on_template: Optional[pulumi.Input['DomainsAppBasedOnTemplateArgs']] = None, + bypass_consent: Optional[pulumi.Input[bool]] = None, + callback_service_url: Optional[pulumi.Input[str]] = None, + certificates: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAppCertificateArgs']]]] = None, + client_ip_checking: Optional[pulumi.Input[str]] = None, + client_secret: Optional[pulumi.Input[str]] = None, + client_type: Optional[pulumi.Input[str]] = None, + cloud_control_properties: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAppCloudControlPropertyArgs']]]] = None, + compartment_ocid: Optional[pulumi.Input[str]] = None, + contact_email_address: Optional[pulumi.Input[str]] = None, + delegated_service_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + delete_in_progress: Optional[pulumi.Input[bool]] = None, + description: Optional[pulumi.Input[str]] = None, + disable_kmsi_token_authentication: Optional[pulumi.Input[bool]] = None, + display_name: Optional[pulumi.Input[str]] = None, + domain_ocid: Optional[pulumi.Input[str]] = None, + editable_attributes: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAppEditableAttributeArgs']]]] = None, + error_page_url: Optional[pulumi.Input[str]] = None, + granted_app_roles: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAppGrantedAppRoleArgs']]]] = None, + grants: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAppGrantArgs']]]] = None, + hashed_client_secret: Optional[pulumi.Input[str]] = None, + home_page_url: Optional[pulumi.Input[str]] = None, + icon: Optional[pulumi.Input[str]] = None, + id_token_enc_algo: Optional[pulumi.Input[str]] = None, + idcs_created_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAppIdcsCreatedByArgs']]]] = None, + idcs_endpoint: Optional[pulumi.Input[str]] = None, + idcs_last_modified_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAppIdcsLastModifiedByArgs']]]] = None, + idcs_last_upgraded_in_release: Optional[pulumi.Input[str]] = None, + idcs_prevented_operations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + identity_providers: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAppIdentityProviderArgs']]]] = None, + idp_policy: Optional[pulumi.Input['DomainsAppIdpPolicyArgs']] = None, + infrastructure: Optional[pulumi.Input[bool]] = None, + is_alias_app: Optional[pulumi.Input[bool]] = None, + is_database_service: Optional[pulumi.Input[bool]] = None, + is_enterprise_app: Optional[pulumi.Input[bool]] = None, + is_form_fill: Optional[pulumi.Input[bool]] = None, + is_kerberos_realm: Optional[pulumi.Input[bool]] = None, + is_login_target: Optional[pulumi.Input[bool]] = None, + is_managed_app: Optional[pulumi.Input[bool]] = None, + is_mobile_target: Optional[pulumi.Input[bool]] = None, + is_multicloud_service_app: Optional[pulumi.Input[bool]] = None, + is_oauth_client: Optional[pulumi.Input[bool]] = None, + is_oauth_resource: Optional[pulumi.Input[bool]] = None, + is_obligation_capable: Optional[pulumi.Input[bool]] = None, + is_opc_service: Optional[pulumi.Input[bool]] = None, + is_radius_app: Optional[pulumi.Input[bool]] = None, + is_saml_service_provider: Optional[pulumi.Input[bool]] = None, + is_unmanaged_app: Optional[pulumi.Input[bool]] = None, + is_web_tier_policy: Optional[pulumi.Input[bool]] = None, + landing_page_url: Optional[pulumi.Input[str]] = None, + linking_callback_url: Optional[pulumi.Input[str]] = None, + login_mechanism: Optional[pulumi.Input[str]] = None, + login_page_url: Optional[pulumi.Input[str]] = None, + logout_page_url: Optional[pulumi.Input[str]] = None, + logout_uri: Optional[pulumi.Input[str]] = None, + metas: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAppMetaArgs']]]] = None, + meter_as_opc_service: Optional[pulumi.Input[bool]] = None, + migrated: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + post_logout_redirect_uris: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + privacy_policy_url: Optional[pulumi.Input[str]] = None, + product_logo_url: Optional[pulumi.Input[str]] = None, + product_name: Optional[pulumi.Input[str]] = None, + protectable_secondary_audiences: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAppProtectableSecondaryAudienceArgs']]]] = None, + radius_policy: Optional[pulumi.Input['DomainsAppRadiusPolicyArgs']] = None, + ready_to_upgrade: Optional[pulumi.Input[bool]] = None, + redirect_uris: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + refresh_token_expiry: Optional[pulumi.Input[int]] = None, + resource_type_schema_version: Optional[pulumi.Input[str]] = None, + saml_service_provider: Optional[pulumi.Input['DomainsAppSamlServiceProviderArgs']] = None, + schemas: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + scopes: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAppScopeArgs']]]] = None, + secondary_audiences: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + service_params: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAppServiceParamArgs']]]] = None, + service_type_urn: Optional[pulumi.Input[str]] = None, + service_type_version: Optional[pulumi.Input[str]] = None, + show_in_my_apps: Optional[pulumi.Input[bool]] = None, + signon_policy: Optional[pulumi.Input['DomainsAppSignonPolicyArgs']] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAppTagArgs']]]] = None, + tenancy_ocid: Optional[pulumi.Input[str]] = None, + terms_of_service_url: Optional[pulumi.Input[str]] = None, + terms_of_use: Optional[pulumi.Input['DomainsAppTermsOfUseArgs']] = None, + trust_policies: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAppTrustPolicyArgs']]]] = None, + trust_scope: Optional[pulumi.Input[str]] = None, + urnietfparamsscimschemasoracleidcsextension_oci_tags: Optional[pulumi.Input['DomainsAppUrnietfparamsscimschemasoracleidcsextensionOciTagsArgs']] = None, + urnietfparamsscimschemasoracleidcsextensiondbcs_app: Optional[pulumi.Input['DomainsAppUrnietfparamsscimschemasoracleidcsextensiondbcsAppArgs']] = None, + urnietfparamsscimschemasoracleidcsextensionenterprise_app_app: Optional[pulumi.Input['DomainsAppUrnietfparamsscimschemasoracleidcsextensionenterpriseAppAppArgs']] = None, + urnietfparamsscimschemasoracleidcsextensionform_fill_app_app: Optional[pulumi.Input['DomainsAppUrnietfparamsscimschemasoracleidcsextensionformFillAppAppArgs']] = None, + urnietfparamsscimschemasoracleidcsextensionform_fill_app_template_app_template: Optional[pulumi.Input['DomainsAppUrnietfparamsscimschemasoracleidcsextensionformFillAppTemplateAppTemplateArgs']] = None, + urnietfparamsscimschemasoracleidcsextensionkerberos_realm_app: Optional[pulumi.Input['DomainsAppUrnietfparamsscimschemasoracleidcsextensionkerberosRealmAppArgs']] = None, + urnietfparamsscimschemasoracleidcsextensionmanagedapp_app: Optional[pulumi.Input['DomainsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppArgs']] = None, + urnietfparamsscimschemasoracleidcsextensionmulticloud_service_app_app: Optional[pulumi.Input['DomainsAppUrnietfparamsscimschemasoracleidcsextensionmulticloudServiceAppAppArgs']] = None, + urnietfparamsscimschemasoracleidcsextensionopc_service_app: Optional[pulumi.Input['DomainsAppUrnietfparamsscimschemasoracleidcsextensionopcServiceAppArgs']] = None, + urnietfparamsscimschemasoracleidcsextensionradius_app_app: Optional[pulumi.Input['DomainsAppUrnietfparamsscimschemasoracleidcsextensionradiusAppAppArgs']] = None, + urnietfparamsscimschemasoracleidcsextensionrequestable_app: Optional[pulumi.Input['DomainsAppUrnietfparamsscimschemasoracleidcsextensionrequestableAppArgs']] = None, + urnietfparamsscimschemasoracleidcsextensionsaml_service_provider_app: Optional[pulumi.Input['DomainsAppUrnietfparamsscimschemasoracleidcsextensionsamlServiceProviderAppArgs']] = None, + urnietfparamsscimschemasoracleidcsextensionweb_tier_policy_app: Optional[pulumi.Input['DomainsAppUrnietfparamsscimschemasoracleidcsextensionwebTierPolicyAppArgs']] = None, + user_roles: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAppUserRoleArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if access_token_expiry is not None: - pulumi.set(__self__, "access_token_expiry", access_token_expiry) + _setter("access_token_expiry", access_token_expiry) if accounts is not None: - pulumi.set(__self__, "accounts", accounts) + _setter("accounts", accounts) if active is not None: - pulumi.set(__self__, "active", active) + _setter("active", active) if admin_roles is not None: - pulumi.set(__self__, "admin_roles", admin_roles) + _setter("admin_roles", admin_roles) if alias_apps is not None: - pulumi.set(__self__, "alias_apps", alias_apps) + _setter("alias_apps", alias_apps) if all_url_schemes_allowed is not None: - pulumi.set(__self__, "all_url_schemes_allowed", all_url_schemes_allowed) + _setter("all_url_schemes_allowed", all_url_schemes_allowed) if allow_access_control is not None: - pulumi.set(__self__, "allow_access_control", allow_access_control) + _setter("allow_access_control", allow_access_control) if allow_offline is not None: - pulumi.set(__self__, "allow_offline", allow_offline) + _setter("allow_offline", allow_offline) if allowed_grants is not None: - pulumi.set(__self__, "allowed_grants", allowed_grants) + _setter("allowed_grants", allowed_grants) if allowed_operations is not None: - pulumi.set(__self__, "allowed_operations", allowed_operations) + _setter("allowed_operations", allowed_operations) if allowed_scopes is not None: - pulumi.set(__self__, "allowed_scopes", allowed_scopes) + _setter("allowed_scopes", allowed_scopes) if allowed_tags is not None: - pulumi.set(__self__, "allowed_tags", allowed_tags) + _setter("allowed_tags", allowed_tags) if app_icon is not None: - pulumi.set(__self__, "app_icon", app_icon) + _setter("app_icon", app_icon) if app_signon_policy is not None: - pulumi.set(__self__, "app_signon_policy", app_signon_policy) + _setter("app_signon_policy", app_signon_policy) if app_thumbnail is not None: - pulumi.set(__self__, "app_thumbnail", app_thumbnail) + _setter("app_thumbnail", app_thumbnail) if apps_network_perimeters is not None: - pulumi.set(__self__, "apps_network_perimeters", apps_network_perimeters) + _setter("apps_network_perimeters", apps_network_perimeters) if as_opc_service is not None: - pulumi.set(__self__, "as_opc_service", as_opc_service) + _setter("as_opc_service", as_opc_service) if attr_rendering_metadatas is not None: - pulumi.set(__self__, "attr_rendering_metadatas", attr_rendering_metadatas) + _setter("attr_rendering_metadatas", attr_rendering_metadatas) if attribute_sets is not None: - pulumi.set(__self__, "attribute_sets", attribute_sets) + _setter("attribute_sets", attribute_sets) if attributes is not None: - pulumi.set(__self__, "attributes", attributes) + _setter("attributes", attributes) if audience is not None: - pulumi.set(__self__, "audience", audience) + _setter("audience", audience) if authorization is not None: - pulumi.set(__self__, "authorization", authorization) + _setter("authorization", authorization) if based_on_template is not None: - pulumi.set(__self__, "based_on_template", based_on_template) + _setter("based_on_template", based_on_template) if bypass_consent is not None: - pulumi.set(__self__, "bypass_consent", bypass_consent) + _setter("bypass_consent", bypass_consent) if callback_service_url is not None: - pulumi.set(__self__, "callback_service_url", callback_service_url) + _setter("callback_service_url", callback_service_url) if certificates is not None: - pulumi.set(__self__, "certificates", certificates) + _setter("certificates", certificates) if client_ip_checking is not None: - pulumi.set(__self__, "client_ip_checking", client_ip_checking) + _setter("client_ip_checking", client_ip_checking) if client_secret is not None: - pulumi.set(__self__, "client_secret", client_secret) + _setter("client_secret", client_secret) if client_type is not None: - pulumi.set(__self__, "client_type", client_type) + _setter("client_type", client_type) if cloud_control_properties is not None: - pulumi.set(__self__, "cloud_control_properties", cloud_control_properties) + _setter("cloud_control_properties", cloud_control_properties) if compartment_ocid is not None: - pulumi.set(__self__, "compartment_ocid", compartment_ocid) + _setter("compartment_ocid", compartment_ocid) if contact_email_address is not None: - pulumi.set(__self__, "contact_email_address", contact_email_address) + _setter("contact_email_address", contact_email_address) if delegated_service_names is not None: - pulumi.set(__self__, "delegated_service_names", delegated_service_names) + _setter("delegated_service_names", delegated_service_names) if delete_in_progress is not None: - pulumi.set(__self__, "delete_in_progress", delete_in_progress) + _setter("delete_in_progress", delete_in_progress) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if disable_kmsi_token_authentication is not None: - pulumi.set(__self__, "disable_kmsi_token_authentication", disable_kmsi_token_authentication) + _setter("disable_kmsi_token_authentication", disable_kmsi_token_authentication) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if domain_ocid is not None: - pulumi.set(__self__, "domain_ocid", domain_ocid) + _setter("domain_ocid", domain_ocid) if editable_attributes is not None: - pulumi.set(__self__, "editable_attributes", editable_attributes) + _setter("editable_attributes", editable_attributes) if error_page_url is not None: - pulumi.set(__self__, "error_page_url", error_page_url) + _setter("error_page_url", error_page_url) if granted_app_roles is not None: - pulumi.set(__self__, "granted_app_roles", granted_app_roles) + _setter("granted_app_roles", granted_app_roles) if grants is not None: - pulumi.set(__self__, "grants", grants) + _setter("grants", grants) if hashed_client_secret is not None: - pulumi.set(__self__, "hashed_client_secret", hashed_client_secret) + _setter("hashed_client_secret", hashed_client_secret) if home_page_url is not None: - pulumi.set(__self__, "home_page_url", home_page_url) + _setter("home_page_url", home_page_url) if icon is not None: - pulumi.set(__self__, "icon", icon) + _setter("icon", icon) if id_token_enc_algo is not None: - pulumi.set(__self__, "id_token_enc_algo", id_token_enc_algo) + _setter("id_token_enc_algo", id_token_enc_algo) if idcs_created_bies is not None: - pulumi.set(__self__, "idcs_created_bies", idcs_created_bies) + _setter("idcs_created_bies", idcs_created_bies) if idcs_endpoint is not None: - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) + _setter("idcs_endpoint", idcs_endpoint) if idcs_last_modified_bies is not None: - pulumi.set(__self__, "idcs_last_modified_bies", idcs_last_modified_bies) + _setter("idcs_last_modified_bies", idcs_last_modified_bies) if idcs_last_upgraded_in_release is not None: - pulumi.set(__self__, "idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) + _setter("idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) if idcs_prevented_operations is not None: - pulumi.set(__self__, "idcs_prevented_operations", idcs_prevented_operations) + _setter("idcs_prevented_operations", idcs_prevented_operations) if identity_providers is not None: - pulumi.set(__self__, "identity_providers", identity_providers) + _setter("identity_providers", identity_providers) if idp_policy is not None: - pulumi.set(__self__, "idp_policy", idp_policy) + _setter("idp_policy", idp_policy) if infrastructure is not None: - pulumi.set(__self__, "infrastructure", infrastructure) + _setter("infrastructure", infrastructure) if is_alias_app is not None: - pulumi.set(__self__, "is_alias_app", is_alias_app) + _setter("is_alias_app", is_alias_app) if is_database_service is not None: - pulumi.set(__self__, "is_database_service", is_database_service) + _setter("is_database_service", is_database_service) if is_enterprise_app is not None: - pulumi.set(__self__, "is_enterprise_app", is_enterprise_app) + _setter("is_enterprise_app", is_enterprise_app) if is_form_fill is not None: - pulumi.set(__self__, "is_form_fill", is_form_fill) + _setter("is_form_fill", is_form_fill) if is_kerberos_realm is not None: - pulumi.set(__self__, "is_kerberos_realm", is_kerberos_realm) + _setter("is_kerberos_realm", is_kerberos_realm) if is_login_target is not None: - pulumi.set(__self__, "is_login_target", is_login_target) + _setter("is_login_target", is_login_target) if is_managed_app is not None: - pulumi.set(__self__, "is_managed_app", is_managed_app) + _setter("is_managed_app", is_managed_app) if is_mobile_target is not None: - pulumi.set(__self__, "is_mobile_target", is_mobile_target) + _setter("is_mobile_target", is_mobile_target) if is_multicloud_service_app is not None: - pulumi.set(__self__, "is_multicloud_service_app", is_multicloud_service_app) + _setter("is_multicloud_service_app", is_multicloud_service_app) if is_oauth_client is not None: - pulumi.set(__self__, "is_oauth_client", is_oauth_client) + _setter("is_oauth_client", is_oauth_client) if is_oauth_resource is not None: - pulumi.set(__self__, "is_oauth_resource", is_oauth_resource) + _setter("is_oauth_resource", is_oauth_resource) if is_obligation_capable is not None: - pulumi.set(__self__, "is_obligation_capable", is_obligation_capable) + _setter("is_obligation_capable", is_obligation_capable) if is_opc_service is not None: - pulumi.set(__self__, "is_opc_service", is_opc_service) + _setter("is_opc_service", is_opc_service) if is_radius_app is not None: - pulumi.set(__self__, "is_radius_app", is_radius_app) + _setter("is_radius_app", is_radius_app) if is_saml_service_provider is not None: - pulumi.set(__self__, "is_saml_service_provider", is_saml_service_provider) + _setter("is_saml_service_provider", is_saml_service_provider) if is_unmanaged_app is not None: - pulumi.set(__self__, "is_unmanaged_app", is_unmanaged_app) + _setter("is_unmanaged_app", is_unmanaged_app) if is_web_tier_policy is not None: - pulumi.set(__self__, "is_web_tier_policy", is_web_tier_policy) + _setter("is_web_tier_policy", is_web_tier_policy) if landing_page_url is not None: - pulumi.set(__self__, "landing_page_url", landing_page_url) + _setter("landing_page_url", landing_page_url) if linking_callback_url is not None: - pulumi.set(__self__, "linking_callback_url", linking_callback_url) + _setter("linking_callback_url", linking_callback_url) if login_mechanism is not None: - pulumi.set(__self__, "login_mechanism", login_mechanism) + _setter("login_mechanism", login_mechanism) if login_page_url is not None: - pulumi.set(__self__, "login_page_url", login_page_url) + _setter("login_page_url", login_page_url) if logout_page_url is not None: - pulumi.set(__self__, "logout_page_url", logout_page_url) + _setter("logout_page_url", logout_page_url) if logout_uri is not None: - pulumi.set(__self__, "logout_uri", logout_uri) + _setter("logout_uri", logout_uri) if metas is not None: - pulumi.set(__self__, "metas", metas) + _setter("metas", metas) if meter_as_opc_service is not None: - pulumi.set(__self__, "meter_as_opc_service", meter_as_opc_service) + _setter("meter_as_opc_service", meter_as_opc_service) if migrated is not None: - pulumi.set(__self__, "migrated", migrated) + _setter("migrated", migrated) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if post_logout_redirect_uris is not None: - pulumi.set(__self__, "post_logout_redirect_uris", post_logout_redirect_uris) + _setter("post_logout_redirect_uris", post_logout_redirect_uris) if privacy_policy_url is not None: - pulumi.set(__self__, "privacy_policy_url", privacy_policy_url) + _setter("privacy_policy_url", privacy_policy_url) if product_logo_url is not None: - pulumi.set(__self__, "product_logo_url", product_logo_url) + _setter("product_logo_url", product_logo_url) if product_name is not None: - pulumi.set(__self__, "product_name", product_name) + _setter("product_name", product_name) if protectable_secondary_audiences is not None: - pulumi.set(__self__, "protectable_secondary_audiences", protectable_secondary_audiences) + _setter("protectable_secondary_audiences", protectable_secondary_audiences) if radius_policy is not None: - pulumi.set(__self__, "radius_policy", radius_policy) + _setter("radius_policy", radius_policy) if ready_to_upgrade is not None: - pulumi.set(__self__, "ready_to_upgrade", ready_to_upgrade) + _setter("ready_to_upgrade", ready_to_upgrade) if redirect_uris is not None: - pulumi.set(__self__, "redirect_uris", redirect_uris) + _setter("redirect_uris", redirect_uris) if refresh_token_expiry is not None: - pulumi.set(__self__, "refresh_token_expiry", refresh_token_expiry) + _setter("refresh_token_expiry", refresh_token_expiry) if resource_type_schema_version is not None: - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) + _setter("resource_type_schema_version", resource_type_schema_version) if saml_service_provider is not None: - pulumi.set(__self__, "saml_service_provider", saml_service_provider) + _setter("saml_service_provider", saml_service_provider) if schemas is not None: - pulumi.set(__self__, "schemas", schemas) + _setter("schemas", schemas) if scopes is not None: - pulumi.set(__self__, "scopes", scopes) + _setter("scopes", scopes) if secondary_audiences is not None: - pulumi.set(__self__, "secondary_audiences", secondary_audiences) + _setter("secondary_audiences", secondary_audiences) if service_params is not None: - pulumi.set(__self__, "service_params", service_params) + _setter("service_params", service_params) if service_type_urn is not None: - pulumi.set(__self__, "service_type_urn", service_type_urn) + _setter("service_type_urn", service_type_urn) if service_type_version is not None: - pulumi.set(__self__, "service_type_version", service_type_version) + _setter("service_type_version", service_type_version) if show_in_my_apps is not None: - pulumi.set(__self__, "show_in_my_apps", show_in_my_apps) + _setter("show_in_my_apps", show_in_my_apps) if signon_policy is not None: - pulumi.set(__self__, "signon_policy", signon_policy) + _setter("signon_policy", signon_policy) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if tenancy_ocid is not None: - pulumi.set(__self__, "tenancy_ocid", tenancy_ocid) + _setter("tenancy_ocid", tenancy_ocid) if terms_of_service_url is not None: - pulumi.set(__self__, "terms_of_service_url", terms_of_service_url) + _setter("terms_of_service_url", terms_of_service_url) if terms_of_use is not None: - pulumi.set(__self__, "terms_of_use", terms_of_use) + _setter("terms_of_use", terms_of_use) if trust_policies is not None: - pulumi.set(__self__, "trust_policies", trust_policies) + _setter("trust_policies", trust_policies) if trust_scope is not None: - pulumi.set(__self__, "trust_scope", trust_scope) + _setter("trust_scope", trust_scope) if urnietfparamsscimschemasoracleidcsextension_oci_tags is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextension_oci_tags", urnietfparamsscimschemasoracleidcsextension_oci_tags) + _setter("urnietfparamsscimschemasoracleidcsextension_oci_tags", urnietfparamsscimschemasoracleidcsextension_oci_tags) if urnietfparamsscimschemasoracleidcsextensiondbcs_app is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensiondbcs_app", urnietfparamsscimschemasoracleidcsextensiondbcs_app) + _setter("urnietfparamsscimschemasoracleidcsextensiondbcs_app", urnietfparamsscimschemasoracleidcsextensiondbcs_app) if urnietfparamsscimschemasoracleidcsextensionenterprise_app_app is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionenterprise_app_app", urnietfparamsscimschemasoracleidcsextensionenterprise_app_app) + _setter("urnietfparamsscimschemasoracleidcsextensionenterprise_app_app", urnietfparamsscimschemasoracleidcsextensionenterprise_app_app) if urnietfparamsscimschemasoracleidcsextensionform_fill_app_app is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionform_fill_app_app", urnietfparamsscimschemasoracleidcsextensionform_fill_app_app) + _setter("urnietfparamsscimschemasoracleidcsextensionform_fill_app_app", urnietfparamsscimschemasoracleidcsextensionform_fill_app_app) if urnietfparamsscimschemasoracleidcsextensionform_fill_app_template_app_template is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionform_fill_app_template_app_template", urnietfparamsscimschemasoracleidcsextensionform_fill_app_template_app_template) + _setter("urnietfparamsscimschemasoracleidcsextensionform_fill_app_template_app_template", urnietfparamsscimschemasoracleidcsextensionform_fill_app_template_app_template) if urnietfparamsscimschemasoracleidcsextensionkerberos_realm_app is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionkerberos_realm_app", urnietfparamsscimschemasoracleidcsextensionkerberos_realm_app) + _setter("urnietfparamsscimschemasoracleidcsextensionkerberos_realm_app", urnietfparamsscimschemasoracleidcsextensionkerberos_realm_app) if urnietfparamsscimschemasoracleidcsextensionmanagedapp_app is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionmanagedapp_app", urnietfparamsscimschemasoracleidcsextensionmanagedapp_app) + _setter("urnietfparamsscimschemasoracleidcsextensionmanagedapp_app", urnietfparamsscimschemasoracleidcsextensionmanagedapp_app) if urnietfparamsscimschemasoracleidcsextensionmulticloud_service_app_app is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionmulticloud_service_app_app", urnietfparamsscimschemasoracleidcsextensionmulticloud_service_app_app) + _setter("urnietfparamsscimschemasoracleidcsextensionmulticloud_service_app_app", urnietfparamsscimschemasoracleidcsextensionmulticloud_service_app_app) if urnietfparamsscimschemasoracleidcsextensionopc_service_app is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionopc_service_app", urnietfparamsscimschemasoracleidcsextensionopc_service_app) + _setter("urnietfparamsscimschemasoracleidcsextensionopc_service_app", urnietfparamsscimschemasoracleidcsextensionopc_service_app) if urnietfparamsscimschemasoracleidcsextensionradius_app_app is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionradius_app_app", urnietfparamsscimschemasoracleidcsextensionradius_app_app) + _setter("urnietfparamsscimschemasoracleidcsextensionradius_app_app", urnietfparamsscimschemasoracleidcsextensionradius_app_app) if urnietfparamsscimschemasoracleidcsextensionrequestable_app is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionrequestable_app", urnietfparamsscimschemasoracleidcsextensionrequestable_app) + _setter("urnietfparamsscimschemasoracleidcsextensionrequestable_app", urnietfparamsscimschemasoracleidcsextensionrequestable_app) if urnietfparamsscimschemasoracleidcsextensionsaml_service_provider_app is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionsaml_service_provider_app", urnietfparamsscimschemasoracleidcsextensionsaml_service_provider_app) + _setter("urnietfparamsscimschemasoracleidcsextensionsaml_service_provider_app", urnietfparamsscimschemasoracleidcsextensionsaml_service_provider_app) if urnietfparamsscimschemasoracleidcsextensionweb_tier_policy_app is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionweb_tier_policy_app", urnietfparamsscimschemasoracleidcsextensionweb_tier_policy_app) + _setter("urnietfparamsscimschemasoracleidcsextensionweb_tier_policy_app", urnietfparamsscimschemasoracleidcsextensionweb_tier_policy_app) if user_roles is not None: - pulumi.set(__self__, "user_roles", user_roles) + _setter("user_roles", user_roles) @property @pulumi.getter(name="accessTokenExpiry") @@ -8146,6 +8592,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DomainsAppArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -8266,15 +8716,30 @@ def _internal_init(__self__, __props__.__dict__["allowed_scopes"] = allowed_scopes __props__.__dict__["allowed_tags"] = allowed_tags __props__.__dict__["app_icon"] = app_icon + if app_signon_policy is not None and not isinstance(app_signon_policy, DomainsAppAppSignonPolicyArgs): + app_signon_policy = app_signon_policy or {} + def _setter(key, value): + app_signon_policy[key] = value + DomainsAppAppSignonPolicyArgs._configure(_setter, **app_signon_policy) __props__.__dict__["app_signon_policy"] = app_signon_policy __props__.__dict__["app_thumbnail"] = app_thumbnail __props__.__dict__["apps_network_perimeters"] = apps_network_perimeters + if as_opc_service is not None and not isinstance(as_opc_service, DomainsAppAsOpcServiceArgs): + as_opc_service = as_opc_service or {} + def _setter(key, value): + as_opc_service[key] = value + DomainsAppAsOpcServiceArgs._configure(_setter, **as_opc_service) __props__.__dict__["as_opc_service"] = as_opc_service __props__.__dict__["attr_rendering_metadatas"] = attr_rendering_metadatas __props__.__dict__["attribute_sets"] = attribute_sets __props__.__dict__["attributes"] = attributes __props__.__dict__["audience"] = audience __props__.__dict__["authorization"] = authorization + if based_on_template is not None and not isinstance(based_on_template, DomainsAppBasedOnTemplateArgs): + based_on_template = based_on_template or {} + def _setter(key, value): + based_on_template[key] = value + DomainsAppBasedOnTemplateArgs._configure(_setter, **based_on_template) if based_on_template is None and not opts.urn: raise TypeError("Missing required property 'based_on_template'") __props__.__dict__["based_on_template"] = based_on_template @@ -8297,6 +8762,11 @@ def _internal_init(__self__, raise TypeError("Missing required property 'idcs_endpoint'") __props__.__dict__["idcs_endpoint"] = idcs_endpoint __props__.__dict__["identity_providers"] = identity_providers + if idp_policy is not None and not isinstance(idp_policy, DomainsAppIdpPolicyArgs): + idp_policy = idp_policy or {} + def _setter(key, value): + idp_policy[key] = value + DomainsAppIdpPolicyArgs._configure(_setter, **idp_policy) __props__.__dict__["idp_policy"] = idp_policy __props__.__dict__["is_alias_app"] = is_alias_app __props__.__dict__["is_enterprise_app"] = is_enterprise_app @@ -8325,10 +8795,20 @@ def _internal_init(__self__, __props__.__dict__["product_logo_url"] = product_logo_url __props__.__dict__["product_name"] = product_name __props__.__dict__["protectable_secondary_audiences"] = protectable_secondary_audiences + if radius_policy is not None and not isinstance(radius_policy, DomainsAppRadiusPolicyArgs): + radius_policy = radius_policy or {} + def _setter(key, value): + radius_policy[key] = value + DomainsAppRadiusPolicyArgs._configure(_setter, **radius_policy) __props__.__dict__["radius_policy"] = radius_policy __props__.__dict__["redirect_uris"] = redirect_uris __props__.__dict__["refresh_token_expiry"] = refresh_token_expiry __props__.__dict__["resource_type_schema_version"] = resource_type_schema_version + if saml_service_provider is not None and not isinstance(saml_service_provider, DomainsAppSamlServiceProviderArgs): + saml_service_provider = saml_service_provider or {} + def _setter(key, value): + saml_service_provider[key] = value + DomainsAppSamlServiceProviderArgs._configure(_setter, **saml_service_provider) __props__.__dict__["saml_service_provider"] = saml_service_provider if schemas is None and not opts.urn: raise TypeError("Missing required property 'schemas'") @@ -8339,24 +8819,99 @@ def _internal_init(__self__, __props__.__dict__["service_type_urn"] = service_type_urn __props__.__dict__["service_type_version"] = service_type_version __props__.__dict__["show_in_my_apps"] = show_in_my_apps + if signon_policy is not None and not isinstance(signon_policy, DomainsAppSignonPolicyArgs): + signon_policy = signon_policy or {} + def _setter(key, value): + signon_policy[key] = value + DomainsAppSignonPolicyArgs._configure(_setter, **signon_policy) __props__.__dict__["signon_policy"] = signon_policy __props__.__dict__["tags"] = tags __props__.__dict__["terms_of_service_url"] = terms_of_service_url + if terms_of_use is not None and not isinstance(terms_of_use, DomainsAppTermsOfUseArgs): + terms_of_use = terms_of_use or {} + def _setter(key, value): + terms_of_use[key] = value + DomainsAppTermsOfUseArgs._configure(_setter, **terms_of_use) __props__.__dict__["terms_of_use"] = terms_of_use __props__.__dict__["trust_policies"] = trust_policies __props__.__dict__["trust_scope"] = trust_scope + if urnietfparamsscimschemasoracleidcsextension_oci_tags is not None and not isinstance(urnietfparamsscimschemasoracleidcsextension_oci_tags, DomainsAppUrnietfparamsscimschemasoracleidcsextensionOciTagsArgs): + urnietfparamsscimschemasoracleidcsextension_oci_tags = urnietfparamsscimschemasoracleidcsextension_oci_tags or {} + def _setter(key, value): + urnietfparamsscimschemasoracleidcsextension_oci_tags[key] = value + DomainsAppUrnietfparamsscimschemasoracleidcsextensionOciTagsArgs._configure(_setter, **urnietfparamsscimschemasoracleidcsextension_oci_tags) __props__.__dict__["urnietfparamsscimschemasoracleidcsextension_oci_tags"] = urnietfparamsscimschemasoracleidcsextension_oci_tags + if urnietfparamsscimschemasoracleidcsextensiondbcs_app is not None and not isinstance(urnietfparamsscimschemasoracleidcsextensiondbcs_app, DomainsAppUrnietfparamsscimschemasoracleidcsextensiondbcsAppArgs): + urnietfparamsscimschemasoracleidcsextensiondbcs_app = urnietfparamsscimschemasoracleidcsextensiondbcs_app or {} + def _setter(key, value): + urnietfparamsscimschemasoracleidcsextensiondbcs_app[key] = value + DomainsAppUrnietfparamsscimschemasoracleidcsextensiondbcsAppArgs._configure(_setter, **urnietfparamsscimschemasoracleidcsextensiondbcs_app) __props__.__dict__["urnietfparamsscimschemasoracleidcsextensiondbcs_app"] = urnietfparamsscimschemasoracleidcsextensiondbcs_app + if urnietfparamsscimschemasoracleidcsextensionenterprise_app_app is not None and not isinstance(urnietfparamsscimschemasoracleidcsextensionenterprise_app_app, DomainsAppUrnietfparamsscimschemasoracleidcsextensionenterpriseAppAppArgs): + urnietfparamsscimschemasoracleidcsextensionenterprise_app_app = urnietfparamsscimschemasoracleidcsextensionenterprise_app_app or {} + def _setter(key, value): + urnietfparamsscimschemasoracleidcsextensionenterprise_app_app[key] = value + DomainsAppUrnietfparamsscimschemasoracleidcsextensionenterpriseAppAppArgs._configure(_setter, **urnietfparamsscimschemasoracleidcsextensionenterprise_app_app) __props__.__dict__["urnietfparamsscimschemasoracleidcsextensionenterprise_app_app"] = urnietfparamsscimschemasoracleidcsextensionenterprise_app_app + if urnietfparamsscimschemasoracleidcsextensionform_fill_app_app is not None and not isinstance(urnietfparamsscimschemasoracleidcsextensionform_fill_app_app, DomainsAppUrnietfparamsscimschemasoracleidcsextensionformFillAppAppArgs): + urnietfparamsscimschemasoracleidcsextensionform_fill_app_app = urnietfparamsscimschemasoracleidcsextensionform_fill_app_app or {} + def _setter(key, value): + urnietfparamsscimschemasoracleidcsextensionform_fill_app_app[key] = value + DomainsAppUrnietfparamsscimschemasoracleidcsextensionformFillAppAppArgs._configure(_setter, **urnietfparamsscimschemasoracleidcsextensionform_fill_app_app) __props__.__dict__["urnietfparamsscimschemasoracleidcsextensionform_fill_app_app"] = urnietfparamsscimschemasoracleidcsextensionform_fill_app_app + if urnietfparamsscimschemasoracleidcsextensionform_fill_app_template_app_template is not None and not isinstance(urnietfparamsscimschemasoracleidcsextensionform_fill_app_template_app_template, DomainsAppUrnietfparamsscimschemasoracleidcsextensionformFillAppTemplateAppTemplateArgs): + urnietfparamsscimschemasoracleidcsextensionform_fill_app_template_app_template = urnietfparamsscimschemasoracleidcsextensionform_fill_app_template_app_template or {} + def _setter(key, value): + urnietfparamsscimschemasoracleidcsextensionform_fill_app_template_app_template[key] = value + DomainsAppUrnietfparamsscimschemasoracleidcsextensionformFillAppTemplateAppTemplateArgs._configure(_setter, **urnietfparamsscimschemasoracleidcsextensionform_fill_app_template_app_template) __props__.__dict__["urnietfparamsscimschemasoracleidcsextensionform_fill_app_template_app_template"] = urnietfparamsscimschemasoracleidcsextensionform_fill_app_template_app_template + if urnietfparamsscimschemasoracleidcsextensionkerberos_realm_app is not None and not isinstance(urnietfparamsscimschemasoracleidcsextensionkerberos_realm_app, DomainsAppUrnietfparamsscimschemasoracleidcsextensionkerberosRealmAppArgs): + urnietfparamsscimschemasoracleidcsextensionkerberos_realm_app = urnietfparamsscimschemasoracleidcsextensionkerberos_realm_app or {} + def _setter(key, value): + urnietfparamsscimschemasoracleidcsextensionkerberos_realm_app[key] = value + DomainsAppUrnietfparamsscimschemasoracleidcsextensionkerberosRealmAppArgs._configure(_setter, **urnietfparamsscimschemasoracleidcsextensionkerberos_realm_app) __props__.__dict__["urnietfparamsscimschemasoracleidcsextensionkerberos_realm_app"] = urnietfparamsscimschemasoracleidcsextensionkerberos_realm_app + if urnietfparamsscimschemasoracleidcsextensionmanagedapp_app is not None and not isinstance(urnietfparamsscimschemasoracleidcsextensionmanagedapp_app, DomainsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppArgs): + urnietfparamsscimschemasoracleidcsextensionmanagedapp_app = urnietfparamsscimschemasoracleidcsextensionmanagedapp_app or {} + def _setter(key, value): + urnietfparamsscimschemasoracleidcsextensionmanagedapp_app[key] = value + DomainsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppArgs._configure(_setter, **urnietfparamsscimschemasoracleidcsextensionmanagedapp_app) __props__.__dict__["urnietfparamsscimschemasoracleidcsextensionmanagedapp_app"] = urnietfparamsscimschemasoracleidcsextensionmanagedapp_app + if urnietfparamsscimschemasoracleidcsextensionmulticloud_service_app_app is not None and not isinstance(urnietfparamsscimschemasoracleidcsextensionmulticloud_service_app_app, DomainsAppUrnietfparamsscimschemasoracleidcsextensionmulticloudServiceAppAppArgs): + urnietfparamsscimschemasoracleidcsextensionmulticloud_service_app_app = urnietfparamsscimschemasoracleidcsextensionmulticloud_service_app_app or {} + def _setter(key, value): + urnietfparamsscimschemasoracleidcsextensionmulticloud_service_app_app[key] = value + DomainsAppUrnietfparamsscimschemasoracleidcsextensionmulticloudServiceAppAppArgs._configure(_setter, **urnietfparamsscimschemasoracleidcsextensionmulticloud_service_app_app) __props__.__dict__["urnietfparamsscimschemasoracleidcsextensionmulticloud_service_app_app"] = urnietfparamsscimschemasoracleidcsextensionmulticloud_service_app_app + if urnietfparamsscimschemasoracleidcsextensionopc_service_app is not None and not isinstance(urnietfparamsscimschemasoracleidcsextensionopc_service_app, DomainsAppUrnietfparamsscimschemasoracleidcsextensionopcServiceAppArgs): + urnietfparamsscimschemasoracleidcsextensionopc_service_app = urnietfparamsscimschemasoracleidcsextensionopc_service_app or {} + def _setter(key, value): + urnietfparamsscimschemasoracleidcsextensionopc_service_app[key] = value + DomainsAppUrnietfparamsscimschemasoracleidcsextensionopcServiceAppArgs._configure(_setter, **urnietfparamsscimschemasoracleidcsextensionopc_service_app) __props__.__dict__["urnietfparamsscimschemasoracleidcsextensionopc_service_app"] = urnietfparamsscimschemasoracleidcsextensionopc_service_app + if urnietfparamsscimschemasoracleidcsextensionradius_app_app is not None and not isinstance(urnietfparamsscimschemasoracleidcsextensionradius_app_app, DomainsAppUrnietfparamsscimschemasoracleidcsextensionradiusAppAppArgs): + urnietfparamsscimschemasoracleidcsextensionradius_app_app = urnietfparamsscimschemasoracleidcsextensionradius_app_app or {} + def _setter(key, value): + urnietfparamsscimschemasoracleidcsextensionradius_app_app[key] = value + DomainsAppUrnietfparamsscimschemasoracleidcsextensionradiusAppAppArgs._configure(_setter, **urnietfparamsscimschemasoracleidcsextensionradius_app_app) __props__.__dict__["urnietfparamsscimschemasoracleidcsextensionradius_app_app"] = urnietfparamsscimschemasoracleidcsextensionradius_app_app + if urnietfparamsscimschemasoracleidcsextensionrequestable_app is not None and not isinstance(urnietfparamsscimschemasoracleidcsextensionrequestable_app, DomainsAppUrnietfparamsscimschemasoracleidcsextensionrequestableAppArgs): + urnietfparamsscimschemasoracleidcsextensionrequestable_app = urnietfparamsscimschemasoracleidcsextensionrequestable_app or {} + def _setter(key, value): + urnietfparamsscimschemasoracleidcsextensionrequestable_app[key] = value + DomainsAppUrnietfparamsscimschemasoracleidcsextensionrequestableAppArgs._configure(_setter, **urnietfparamsscimschemasoracleidcsextensionrequestable_app) __props__.__dict__["urnietfparamsscimschemasoracleidcsextensionrequestable_app"] = urnietfparamsscimschemasoracleidcsextensionrequestable_app + if urnietfparamsscimschemasoracleidcsextensionsaml_service_provider_app is not None and not isinstance(urnietfparamsscimschemasoracleidcsextensionsaml_service_provider_app, DomainsAppUrnietfparamsscimschemasoracleidcsextensionsamlServiceProviderAppArgs): + urnietfparamsscimschemasoracleidcsextensionsaml_service_provider_app = urnietfparamsscimschemasoracleidcsextensionsaml_service_provider_app or {} + def _setter(key, value): + urnietfparamsscimschemasoracleidcsextensionsaml_service_provider_app[key] = value + DomainsAppUrnietfparamsscimschemasoracleidcsextensionsamlServiceProviderAppArgs._configure(_setter, **urnietfparamsscimschemasoracleidcsextensionsaml_service_provider_app) __props__.__dict__["urnietfparamsscimschemasoracleidcsextensionsaml_service_provider_app"] = urnietfparamsscimschemasoracleidcsextensionsaml_service_provider_app + if urnietfparamsscimschemasoracleidcsextensionweb_tier_policy_app is not None and not isinstance(urnietfparamsscimschemasoracleidcsextensionweb_tier_policy_app, DomainsAppUrnietfparamsscimschemasoracleidcsextensionwebTierPolicyAppArgs): + urnietfparamsscimschemasoracleidcsextensionweb_tier_policy_app = urnietfparamsscimschemasoracleidcsextensionweb_tier_policy_app or {} + def _setter(key, value): + urnietfparamsscimschemasoracleidcsextensionweb_tier_policy_app[key] = value + DomainsAppUrnietfparamsscimschemasoracleidcsextensionwebTierPolicyAppArgs._configure(_setter, **urnietfparamsscimschemasoracleidcsextensionweb_tier_policy_app) __props__.__dict__["urnietfparamsscimschemasoracleidcsextensionweb_tier_policy_app"] = urnietfparamsscimschemasoracleidcsextensionweb_tier_policy_app __props__.__dict__["accounts"] = None __props__.__dict__["admin_roles"] = None diff --git a/sdk/python/pulumi_oci/identity/domains_app_role.py b/sdk/python/pulumi_oci/identity/domains_app_role.py index c2c14bf4e5..f80040f748 100644 --- a/sdk/python/pulumi_oci/identity/domains_app_role.py +++ b/sdk/python/pulumi_oci/identity/domains_app_role.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -170,36 +170,77 @@ def __init__(__self__, *, * type: complex * uniqueness: none """ - pulumi.set(__self__, "app", app) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) - pulumi.set(__self__, "schemas", schemas) + DomainsAppRoleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + app=app, + display_name=display_name, + idcs_endpoint=idcs_endpoint, + schemas=schemas, + admin_role=admin_role, + attribute_sets=attribute_sets, + attributes=attributes, + authorization=authorization, + available_to_clients=available_to_clients, + available_to_groups=available_to_groups, + available_to_users=available_to_users, + description=description, + legacy_group_name=legacy_group_name, + ocid=ocid, + public=public, + resource_type_schema_version=resource_type_schema_version, + tags=tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + app: pulumi.Input['DomainsAppRoleAppArgs'], + display_name: pulumi.Input[str], + idcs_endpoint: pulumi.Input[str], + schemas: pulumi.Input[Sequence[pulumi.Input[str]]], + admin_role: Optional[pulumi.Input[bool]] = None, + attribute_sets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + attributes: Optional[pulumi.Input[str]] = None, + authorization: Optional[pulumi.Input[str]] = None, + available_to_clients: Optional[pulumi.Input[bool]] = None, + available_to_groups: Optional[pulumi.Input[bool]] = None, + available_to_users: Optional[pulumi.Input[bool]] = None, + description: Optional[pulumi.Input[str]] = None, + legacy_group_name: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + public: Optional[pulumi.Input[bool]] = None, + resource_type_schema_version: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAppRoleTagArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("app", app) + _setter("display_name", display_name) + _setter("idcs_endpoint", idcs_endpoint) + _setter("schemas", schemas) if admin_role is not None: - pulumi.set(__self__, "admin_role", admin_role) + _setter("admin_role", admin_role) if attribute_sets is not None: - pulumi.set(__self__, "attribute_sets", attribute_sets) + _setter("attribute_sets", attribute_sets) if attributes is not None: - pulumi.set(__self__, "attributes", attributes) + _setter("attributes", attributes) if authorization is not None: - pulumi.set(__self__, "authorization", authorization) + _setter("authorization", authorization) if available_to_clients is not None: - pulumi.set(__self__, "available_to_clients", available_to_clients) + _setter("available_to_clients", available_to_clients) if available_to_groups is not None: - pulumi.set(__self__, "available_to_groups", available_to_groups) + _setter("available_to_groups", available_to_groups) if available_to_users is not None: - pulumi.set(__self__, "available_to_users", available_to_users) + _setter("available_to_users", available_to_users) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if legacy_group_name is not None: - pulumi.set(__self__, "legacy_group_name", legacy_group_name) + _setter("legacy_group_name", legacy_group_name) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if public is not None: - pulumi.set(__self__, "public", public) + _setter("public", public) if resource_type_schema_version is not None: - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) + _setter("resource_type_schema_version", resource_type_schema_version) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) @property @pulumi.getter @@ -839,66 +880,133 @@ def __init__(__self__, *, ** 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 """ + _DomainsAppRoleState._configure( + lambda key, value: pulumi.set(__self__, key, value), + admin_role=admin_role, + app=app, + attribute_sets=attribute_sets, + attributes=attributes, + authorization=authorization, + available_to_clients=available_to_clients, + available_to_groups=available_to_groups, + available_to_users=available_to_users, + compartment_ocid=compartment_ocid, + delete_in_progress=delete_in_progress, + description=description, + display_name=display_name, + domain_ocid=domain_ocid, + idcs_created_bies=idcs_created_bies, + idcs_endpoint=idcs_endpoint, + idcs_last_modified_bies=idcs_last_modified_bies, + idcs_last_upgraded_in_release=idcs_last_upgraded_in_release, + idcs_prevented_operations=idcs_prevented_operations, + legacy_group_name=legacy_group_name, + limited_to_one_or_more_groups=limited_to_one_or_more_groups, + localized_display_name=localized_display_name, + members=members, + metas=metas, + ocid=ocid, + public=public, + resource_type_schema_version=resource_type_schema_version, + schemas=schemas, + tags=tags, + tenancy_ocid=tenancy_ocid, + unique_name=unique_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + admin_role: Optional[pulumi.Input[bool]] = None, + app: Optional[pulumi.Input['DomainsAppRoleAppArgs']] = None, + attribute_sets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + attributes: Optional[pulumi.Input[str]] = None, + authorization: Optional[pulumi.Input[str]] = None, + available_to_clients: Optional[pulumi.Input[bool]] = None, + available_to_groups: Optional[pulumi.Input[bool]] = None, + available_to_users: Optional[pulumi.Input[bool]] = None, + compartment_ocid: Optional[pulumi.Input[str]] = None, + delete_in_progress: Optional[pulumi.Input[bool]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + domain_ocid: Optional[pulumi.Input[str]] = None, + idcs_created_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAppRoleIdcsCreatedByArgs']]]] = None, + idcs_endpoint: Optional[pulumi.Input[str]] = None, + idcs_last_modified_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAppRoleIdcsLastModifiedByArgs']]]] = None, + idcs_last_upgraded_in_release: Optional[pulumi.Input[str]] = None, + idcs_prevented_operations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + legacy_group_name: Optional[pulumi.Input[str]] = None, + limited_to_one_or_more_groups: Optional[pulumi.Input[bool]] = None, + localized_display_name: Optional[pulumi.Input[str]] = None, + members: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAppRoleMemberArgs']]]] = None, + metas: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAppRoleMetaArgs']]]] = None, + ocid: Optional[pulumi.Input[str]] = None, + public: Optional[pulumi.Input[bool]] = None, + resource_type_schema_version: Optional[pulumi.Input[str]] = None, + schemas: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAppRoleTagArgs']]]] = None, + tenancy_ocid: Optional[pulumi.Input[str]] = None, + unique_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if admin_role is not None: - pulumi.set(__self__, "admin_role", admin_role) + _setter("admin_role", admin_role) if app is not None: - pulumi.set(__self__, "app", app) + _setter("app", app) if attribute_sets is not None: - pulumi.set(__self__, "attribute_sets", attribute_sets) + _setter("attribute_sets", attribute_sets) if attributes is not None: - pulumi.set(__self__, "attributes", attributes) + _setter("attributes", attributes) if authorization is not None: - pulumi.set(__self__, "authorization", authorization) + _setter("authorization", authorization) if available_to_clients is not None: - pulumi.set(__self__, "available_to_clients", available_to_clients) + _setter("available_to_clients", available_to_clients) if available_to_groups is not None: - pulumi.set(__self__, "available_to_groups", available_to_groups) + _setter("available_to_groups", available_to_groups) if available_to_users is not None: - pulumi.set(__self__, "available_to_users", available_to_users) + _setter("available_to_users", available_to_users) if compartment_ocid is not None: - pulumi.set(__self__, "compartment_ocid", compartment_ocid) + _setter("compartment_ocid", compartment_ocid) if delete_in_progress is not None: - pulumi.set(__self__, "delete_in_progress", delete_in_progress) + _setter("delete_in_progress", delete_in_progress) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if domain_ocid is not None: - pulumi.set(__self__, "domain_ocid", domain_ocid) + _setter("domain_ocid", domain_ocid) if idcs_created_bies is not None: - pulumi.set(__self__, "idcs_created_bies", idcs_created_bies) + _setter("idcs_created_bies", idcs_created_bies) if idcs_endpoint is not None: - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) + _setter("idcs_endpoint", idcs_endpoint) if idcs_last_modified_bies is not None: - pulumi.set(__self__, "idcs_last_modified_bies", idcs_last_modified_bies) + _setter("idcs_last_modified_bies", idcs_last_modified_bies) if idcs_last_upgraded_in_release is not None: - pulumi.set(__self__, "idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) + _setter("idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) if idcs_prevented_operations is not None: - pulumi.set(__self__, "idcs_prevented_operations", idcs_prevented_operations) + _setter("idcs_prevented_operations", idcs_prevented_operations) if legacy_group_name is not None: - pulumi.set(__self__, "legacy_group_name", legacy_group_name) + _setter("legacy_group_name", legacy_group_name) if limited_to_one_or_more_groups is not None: - pulumi.set(__self__, "limited_to_one_or_more_groups", limited_to_one_or_more_groups) + _setter("limited_to_one_or_more_groups", limited_to_one_or_more_groups) if localized_display_name is not None: - pulumi.set(__self__, "localized_display_name", localized_display_name) + _setter("localized_display_name", localized_display_name) if members is not None: - pulumi.set(__self__, "members", members) + _setter("members", members) if metas is not None: - pulumi.set(__self__, "metas", metas) + _setter("metas", metas) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if public is not None: - pulumi.set(__self__, "public", public) + _setter("public", public) if resource_type_schema_version is not None: - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) + _setter("resource_type_schema_version", resource_type_schema_version) if schemas is not None: - pulumi.set(__self__, "schemas", schemas) + _setter("schemas", schemas) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if tenancy_ocid is not None: - pulumi.set(__self__, "tenancy_ocid", tenancy_ocid) + _setter("tenancy_ocid", tenancy_ocid) if unique_name is not None: - pulumi.set(__self__, "unique_name", unique_name) + _setter("unique_name", unique_name) @property @pulumi.getter(name="adminRole") @@ -1713,6 +1821,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DomainsAppRoleArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -1745,6 +1857,11 @@ def _internal_init(__self__, __props__ = DomainsAppRoleArgs.__new__(DomainsAppRoleArgs) __props__.__dict__["admin_role"] = admin_role + if app is not None and not isinstance(app, DomainsAppRoleAppArgs): + app = app or {} + def _setter(key, value): + app[key] = value + DomainsAppRoleAppArgs._configure(_setter, **app) if app is None and not opts.urn: raise TypeError("Missing required property 'app'") __props__.__dict__["app"] = app diff --git a/sdk/python/pulumi_oci/identity/domains_auth_token.py b/sdk/python/pulumi_oci/identity/domains_auth_token.py index eefd48312e..475fd44ea4 100644 --- a/sdk/python/pulumi_oci/identity/domains_auth_token.py +++ b/sdk/python/pulumi_oci/identity/domains_auth_token.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -118,30 +118,63 @@ def __init__(__self__, *, * type: complex * uniqueness: none """ - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) - pulumi.set(__self__, "schemas", schemas) + DomainsAuthTokenArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + idcs_endpoint=idcs_endpoint, + schemas=schemas, + attribute_sets=attribute_sets, + attributes=attributes, + authorization=authorization, + description=description, + expires_on=expires_on, + ocid=ocid, + resource_type_schema_version=resource_type_schema_version, + status=status, + tags=tags, + urnietfparamsscimschemasoracleidcsextensionself_change_user=urnietfparamsscimschemasoracleidcsextensionself_change_user, + user=user, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + idcs_endpoint: pulumi.Input[str], + schemas: pulumi.Input[Sequence[pulumi.Input[str]]], + attribute_sets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + attributes: Optional[pulumi.Input[str]] = None, + authorization: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + expires_on: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + resource_type_schema_version: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAuthTokenTagArgs']]]] = None, + urnietfparamsscimschemasoracleidcsextensionself_change_user: Optional[pulumi.Input['DomainsAuthTokenUrnietfparamsscimschemasoracleidcsextensionselfChangeUserArgs']] = None, + user: Optional[pulumi.Input['DomainsAuthTokenUserArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("idcs_endpoint", idcs_endpoint) + _setter("schemas", schemas) if attribute_sets is not None: - pulumi.set(__self__, "attribute_sets", attribute_sets) + _setter("attribute_sets", attribute_sets) if attributes is not None: - pulumi.set(__self__, "attributes", attributes) + _setter("attributes", attributes) if authorization is not None: - pulumi.set(__self__, "authorization", authorization) + _setter("authorization", authorization) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if expires_on is not None: - pulumi.set(__self__, "expires_on", expires_on) + _setter("expires_on", expires_on) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if resource_type_schema_version is not None: - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) + _setter("resource_type_schema_version", resource_type_schema_version) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if urnietfparamsscimschemasoracleidcsextensionself_change_user is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionself_change_user", urnietfparamsscimschemasoracleidcsextensionself_change_user) + _setter("urnietfparamsscimschemasoracleidcsextensionself_change_user", urnietfparamsscimschemasoracleidcsextensionself_change_user) if user is not None: - pulumi.set(__self__, "user", user) + _setter("user", user) @property @pulumi.getter(name="idcsEndpoint") @@ -581,50 +614,101 @@ def __init__(__self__, *, * type: complex * uniqueness: none """ + _DomainsAuthTokenState._configure( + lambda key, value: pulumi.set(__self__, key, value), + attribute_sets=attribute_sets, + attributes=attributes, + authorization=authorization, + compartment_ocid=compartment_ocid, + delete_in_progress=delete_in_progress, + description=description, + domain_ocid=domain_ocid, + expires_on=expires_on, + idcs_created_bies=idcs_created_bies, + idcs_endpoint=idcs_endpoint, + idcs_last_modified_bies=idcs_last_modified_bies, + idcs_last_upgraded_in_release=idcs_last_upgraded_in_release, + idcs_prevented_operations=idcs_prevented_operations, + metas=metas, + ocid=ocid, + resource_type_schema_version=resource_type_schema_version, + schemas=schemas, + status=status, + tags=tags, + tenancy_ocid=tenancy_ocid, + urnietfparamsscimschemasoracleidcsextensionself_change_user=urnietfparamsscimschemasoracleidcsextensionself_change_user, + user=user, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attribute_sets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + attributes: Optional[pulumi.Input[str]] = None, + authorization: Optional[pulumi.Input[str]] = None, + compartment_ocid: Optional[pulumi.Input[str]] = None, + delete_in_progress: Optional[pulumi.Input[bool]] = None, + description: Optional[pulumi.Input[str]] = None, + domain_ocid: Optional[pulumi.Input[str]] = None, + expires_on: Optional[pulumi.Input[str]] = None, + idcs_created_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAuthTokenIdcsCreatedByArgs']]]] = None, + idcs_endpoint: Optional[pulumi.Input[str]] = None, + idcs_last_modified_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAuthTokenIdcsLastModifiedByArgs']]]] = None, + idcs_last_upgraded_in_release: Optional[pulumi.Input[str]] = None, + idcs_prevented_operations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + metas: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAuthTokenMetaArgs']]]] = None, + ocid: Optional[pulumi.Input[str]] = None, + resource_type_schema_version: Optional[pulumi.Input[str]] = None, + schemas: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + status: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAuthTokenTagArgs']]]] = None, + tenancy_ocid: Optional[pulumi.Input[str]] = None, + urnietfparamsscimschemasoracleidcsextensionself_change_user: Optional[pulumi.Input['DomainsAuthTokenUrnietfparamsscimschemasoracleidcsextensionselfChangeUserArgs']] = None, + user: Optional[pulumi.Input['DomainsAuthTokenUserArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if attribute_sets is not None: - pulumi.set(__self__, "attribute_sets", attribute_sets) + _setter("attribute_sets", attribute_sets) if attributes is not None: - pulumi.set(__self__, "attributes", attributes) + _setter("attributes", attributes) if authorization is not None: - pulumi.set(__self__, "authorization", authorization) + _setter("authorization", authorization) if compartment_ocid is not None: - pulumi.set(__self__, "compartment_ocid", compartment_ocid) + _setter("compartment_ocid", compartment_ocid) if delete_in_progress is not None: - pulumi.set(__self__, "delete_in_progress", delete_in_progress) + _setter("delete_in_progress", delete_in_progress) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if domain_ocid is not None: - pulumi.set(__self__, "domain_ocid", domain_ocid) + _setter("domain_ocid", domain_ocid) if expires_on is not None: - pulumi.set(__self__, "expires_on", expires_on) + _setter("expires_on", expires_on) if idcs_created_bies is not None: - pulumi.set(__self__, "idcs_created_bies", idcs_created_bies) + _setter("idcs_created_bies", idcs_created_bies) if idcs_endpoint is not None: - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) + _setter("idcs_endpoint", idcs_endpoint) if idcs_last_modified_bies is not None: - pulumi.set(__self__, "idcs_last_modified_bies", idcs_last_modified_bies) + _setter("idcs_last_modified_bies", idcs_last_modified_bies) if idcs_last_upgraded_in_release is not None: - pulumi.set(__self__, "idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) + _setter("idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) if idcs_prevented_operations is not None: - pulumi.set(__self__, "idcs_prevented_operations", idcs_prevented_operations) + _setter("idcs_prevented_operations", idcs_prevented_operations) if metas is not None: - pulumi.set(__self__, "metas", metas) + _setter("metas", metas) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if resource_type_schema_version is not None: - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) + _setter("resource_type_schema_version", resource_type_schema_version) if schemas is not None: - pulumi.set(__self__, "schemas", schemas) + _setter("schemas", schemas) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if tenancy_ocid is not None: - pulumi.set(__self__, "tenancy_ocid", tenancy_ocid) + _setter("tenancy_ocid", tenancy_ocid) if urnietfparamsscimschemasoracleidcsextensionself_change_user is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionself_change_user", urnietfparamsscimschemasoracleidcsextensionself_change_user) + _setter("urnietfparamsscimschemasoracleidcsextensionself_change_user", urnietfparamsscimschemasoracleidcsextensionself_change_user) if user is not None: - pulumi.set(__self__, "user", user) + _setter("user", user) @property @pulumi.getter(name="attributeSets") @@ -1199,6 +1283,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DomainsAuthTokenArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -1241,7 +1329,17 @@ def _internal_init(__self__, __props__.__dict__["schemas"] = schemas __props__.__dict__["status"] = status __props__.__dict__["tags"] = tags + if urnietfparamsscimschemasoracleidcsextensionself_change_user is not None and not isinstance(urnietfparamsscimschemasoracleidcsextensionself_change_user, DomainsAuthTokenUrnietfparamsscimschemasoracleidcsextensionselfChangeUserArgs): + urnietfparamsscimschemasoracleidcsextensionself_change_user = urnietfparamsscimschemasoracleidcsextensionself_change_user or {} + def _setter(key, value): + urnietfparamsscimschemasoracleidcsextensionself_change_user[key] = value + DomainsAuthTokenUrnietfparamsscimschemasoracleidcsextensionselfChangeUserArgs._configure(_setter, **urnietfparamsscimschemasoracleidcsextensionself_change_user) __props__.__dict__["urnietfparamsscimschemasoracleidcsextensionself_change_user"] = urnietfparamsscimschemasoracleidcsextensionself_change_user + if user is not None and not isinstance(user, DomainsAuthTokenUserArgs): + user = user or {} + def _setter(key, value): + user[key] = value + DomainsAuthTokenUserArgs._configure(_setter, **user) __props__.__dict__["user"] = user __props__.__dict__["compartment_ocid"] = None __props__.__dict__["delete_in_progress"] = None diff --git a/sdk/python/pulumi_oci/identity/domains_authentication_factor_setting.py b/sdk/python/pulumi_oci/identity/domains_authentication_factor_setting.py index ff1f0cca16..c8cac58d11 100644 --- a/sdk/python/pulumi_oci/identity/domains_authentication_factor_setting.py +++ b/sdk/python/pulumi_oci/identity/domains_authentication_factor_setting.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -342,57 +342,130 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "authentication_factor_setting_id", authentication_factor_setting_id) - pulumi.set(__self__, "bypass_code_enabled", bypass_code_enabled) - pulumi.set(__self__, "bypass_code_settings", bypass_code_settings) - pulumi.set(__self__, "client_app_settings", client_app_settings) - pulumi.set(__self__, "compliance_policies", compliance_policies) - pulumi.set(__self__, "endpoint_restrictions", endpoint_restrictions) - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) - pulumi.set(__self__, "mfa_enrollment_type", mfa_enrollment_type) - pulumi.set(__self__, "notification_settings", notification_settings) - pulumi.set(__self__, "push_enabled", push_enabled) - pulumi.set(__self__, "schemas", schemas) - pulumi.set(__self__, "security_questions_enabled", security_questions_enabled) - pulumi.set(__self__, "sms_enabled", sms_enabled) - pulumi.set(__self__, "totp_enabled", totp_enabled) - pulumi.set(__self__, "totp_settings", totp_settings) + DomainsAuthenticationFactorSettingArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + authentication_factor_setting_id=authentication_factor_setting_id, + bypass_code_enabled=bypass_code_enabled, + bypass_code_settings=bypass_code_settings, + client_app_settings=client_app_settings, + compliance_policies=compliance_policies, + endpoint_restrictions=endpoint_restrictions, + idcs_endpoint=idcs_endpoint, + mfa_enrollment_type=mfa_enrollment_type, + notification_settings=notification_settings, + push_enabled=push_enabled, + schemas=schemas, + security_questions_enabled=security_questions_enabled, + sms_enabled=sms_enabled, + totp_enabled=totp_enabled, + totp_settings=totp_settings, + attribute_sets=attribute_sets, + attributes=attributes, + authorization=authorization, + auto_enroll_email_factor_disabled=auto_enroll_email_factor_disabled, + email_enabled=email_enabled, + email_settings=email_settings, + fido_authenticator_enabled=fido_authenticator_enabled, + hide_backup_factor_enabled=hide_backup_factor_enabled, + identity_store_settings=identity_store_settings, + ocid=ocid, + phone_call_enabled=phone_call_enabled, + resource_type_schema_version=resource_type_schema_version, + tags=tags, + third_party_factor=third_party_factor, + urnietfparamsscimschemasoracleidcsextensionfido_authentication_factor_settings=urnietfparamsscimschemasoracleidcsextensionfido_authentication_factor_settings, + urnietfparamsscimschemasoracleidcsextensionthird_party_authentication_factor_settings=urnietfparamsscimschemasoracleidcsextensionthird_party_authentication_factor_settings, + user_enrollment_disabled_factors=user_enrollment_disabled_factors, + yubico_otp_enabled=yubico_otp_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + authentication_factor_setting_id: pulumi.Input[str], + bypass_code_enabled: pulumi.Input[bool], + bypass_code_settings: pulumi.Input['DomainsAuthenticationFactorSettingBypassCodeSettingsArgs'], + client_app_settings: pulumi.Input['DomainsAuthenticationFactorSettingClientAppSettingsArgs'], + compliance_policies: pulumi.Input[Sequence[pulumi.Input['DomainsAuthenticationFactorSettingCompliancePolicyArgs']]], + endpoint_restrictions: pulumi.Input['DomainsAuthenticationFactorSettingEndpointRestrictionsArgs'], + idcs_endpoint: pulumi.Input[str], + mfa_enrollment_type: pulumi.Input[str], + notification_settings: pulumi.Input['DomainsAuthenticationFactorSettingNotificationSettingsArgs'], + push_enabled: pulumi.Input[bool], + schemas: pulumi.Input[Sequence[pulumi.Input[str]]], + security_questions_enabled: pulumi.Input[bool], + sms_enabled: pulumi.Input[bool], + totp_enabled: pulumi.Input[bool], + totp_settings: pulumi.Input['DomainsAuthenticationFactorSettingTotpSettingsArgs'], + attribute_sets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + attributes: Optional[pulumi.Input[str]] = None, + authorization: Optional[pulumi.Input[str]] = None, + auto_enroll_email_factor_disabled: Optional[pulumi.Input[bool]] = None, + email_enabled: Optional[pulumi.Input[bool]] = None, + email_settings: Optional[pulumi.Input['DomainsAuthenticationFactorSettingEmailSettingsArgs']] = None, + fido_authenticator_enabled: Optional[pulumi.Input[bool]] = None, + hide_backup_factor_enabled: Optional[pulumi.Input[bool]] = None, + identity_store_settings: Optional[pulumi.Input['DomainsAuthenticationFactorSettingIdentityStoreSettingsArgs']] = None, + ocid: Optional[pulumi.Input[str]] = None, + phone_call_enabled: Optional[pulumi.Input[bool]] = None, + resource_type_schema_version: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAuthenticationFactorSettingTagArgs']]]] = None, + third_party_factor: Optional[pulumi.Input['DomainsAuthenticationFactorSettingThirdPartyFactorArgs']] = None, + urnietfparamsscimschemasoracleidcsextensionfido_authentication_factor_settings: Optional[pulumi.Input['DomainsAuthenticationFactorSettingUrnietfparamsscimschemasoracleidcsextensionfidoAuthenticationFactorSettingsArgs']] = None, + urnietfparamsscimschemasoracleidcsextensionthird_party_authentication_factor_settings: Optional[pulumi.Input['DomainsAuthenticationFactorSettingUrnietfparamsscimschemasoracleidcsextensionthirdPartyAuthenticationFactorSettingsArgs']] = None, + user_enrollment_disabled_factors: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + yubico_otp_enabled: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("authentication_factor_setting_id", authentication_factor_setting_id) + _setter("bypass_code_enabled", bypass_code_enabled) + _setter("bypass_code_settings", bypass_code_settings) + _setter("client_app_settings", client_app_settings) + _setter("compliance_policies", compliance_policies) + _setter("endpoint_restrictions", endpoint_restrictions) + _setter("idcs_endpoint", idcs_endpoint) + _setter("mfa_enrollment_type", mfa_enrollment_type) + _setter("notification_settings", notification_settings) + _setter("push_enabled", push_enabled) + _setter("schemas", schemas) + _setter("security_questions_enabled", security_questions_enabled) + _setter("sms_enabled", sms_enabled) + _setter("totp_enabled", totp_enabled) + _setter("totp_settings", totp_settings) if attribute_sets is not None: - pulumi.set(__self__, "attribute_sets", attribute_sets) + _setter("attribute_sets", attribute_sets) if attributes is not None: - pulumi.set(__self__, "attributes", attributes) + _setter("attributes", attributes) if authorization is not None: - pulumi.set(__self__, "authorization", authorization) + _setter("authorization", authorization) if auto_enroll_email_factor_disabled is not None: - pulumi.set(__self__, "auto_enroll_email_factor_disabled", auto_enroll_email_factor_disabled) + _setter("auto_enroll_email_factor_disabled", auto_enroll_email_factor_disabled) if email_enabled is not None: - pulumi.set(__self__, "email_enabled", email_enabled) + _setter("email_enabled", email_enabled) if email_settings is not None: - pulumi.set(__self__, "email_settings", email_settings) + _setter("email_settings", email_settings) if fido_authenticator_enabled is not None: - pulumi.set(__self__, "fido_authenticator_enabled", fido_authenticator_enabled) + _setter("fido_authenticator_enabled", fido_authenticator_enabled) if hide_backup_factor_enabled is not None: - pulumi.set(__self__, "hide_backup_factor_enabled", hide_backup_factor_enabled) + _setter("hide_backup_factor_enabled", hide_backup_factor_enabled) if identity_store_settings is not None: - pulumi.set(__self__, "identity_store_settings", identity_store_settings) + _setter("identity_store_settings", identity_store_settings) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if phone_call_enabled is not None: - pulumi.set(__self__, "phone_call_enabled", phone_call_enabled) + _setter("phone_call_enabled", phone_call_enabled) if resource_type_schema_version is not None: - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) + _setter("resource_type_schema_version", resource_type_schema_version) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if third_party_factor is not None: - pulumi.set(__self__, "third_party_factor", third_party_factor) + _setter("third_party_factor", third_party_factor) if urnietfparamsscimschemasoracleidcsextensionfido_authentication_factor_settings is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionfido_authentication_factor_settings", urnietfparamsscimschemasoracleidcsextensionfido_authentication_factor_settings) + _setter("urnietfparamsscimschemasoracleidcsextensionfido_authentication_factor_settings", urnietfparamsscimschemasoracleidcsextensionfido_authentication_factor_settings) if urnietfparamsscimschemasoracleidcsextensionthird_party_authentication_factor_settings is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionthird_party_authentication_factor_settings", urnietfparamsscimschemasoracleidcsextensionthird_party_authentication_factor_settings) + _setter("urnietfparamsscimschemasoracleidcsextensionthird_party_authentication_factor_settings", urnietfparamsscimschemasoracleidcsextensionthird_party_authentication_factor_settings) if user_enrollment_disabled_factors is not None: - pulumi.set(__self__, "user_enrollment_disabled_factors", user_enrollment_disabled_factors) + _setter("user_enrollment_disabled_factors", user_enrollment_disabled_factors) if yubico_otp_enabled is not None: - pulumi.set(__self__, "yubico_otp_enabled", yubico_otp_enabled) + _setter("yubico_otp_enabled", yubico_otp_enabled) @property @pulumi.getter(name="authenticationFactorSettingId") @@ -1493,92 +1566,185 @@ def __init__(__self__, *, ** 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 """ + _DomainsAuthenticationFactorSettingState._configure( + lambda key, value: pulumi.set(__self__, key, value), + attribute_sets=attribute_sets, + attributes=attributes, + authentication_factor_setting_id=authentication_factor_setting_id, + authorization=authorization, + auto_enroll_email_factor_disabled=auto_enroll_email_factor_disabled, + bypass_code_enabled=bypass_code_enabled, + bypass_code_settings=bypass_code_settings, + client_app_settings=client_app_settings, + compartment_ocid=compartment_ocid, + compliance_policies=compliance_policies, + delete_in_progress=delete_in_progress, + domain_ocid=domain_ocid, + email_enabled=email_enabled, + email_settings=email_settings, + endpoint_restrictions=endpoint_restrictions, + fido_authenticator_enabled=fido_authenticator_enabled, + hide_backup_factor_enabled=hide_backup_factor_enabled, + idcs_created_bies=idcs_created_bies, + idcs_endpoint=idcs_endpoint, + idcs_last_modified_bies=idcs_last_modified_bies, + idcs_last_upgraded_in_release=idcs_last_upgraded_in_release, + idcs_prevented_operations=idcs_prevented_operations, + identity_store_settings=identity_store_settings, + metas=metas, + mfa_enabled_category=mfa_enabled_category, + mfa_enrollment_type=mfa_enrollment_type, + notification_settings=notification_settings, + ocid=ocid, + phone_call_enabled=phone_call_enabled, + push_enabled=push_enabled, + resource_type_schema_version=resource_type_schema_version, + schemas=schemas, + security_questions_enabled=security_questions_enabled, + sms_enabled=sms_enabled, + tags=tags, + tenancy_ocid=tenancy_ocid, + third_party_factor=third_party_factor, + totp_enabled=totp_enabled, + totp_settings=totp_settings, + urnietfparamsscimschemasoracleidcsextensionfido_authentication_factor_settings=urnietfparamsscimschemasoracleidcsextensionfido_authentication_factor_settings, + urnietfparamsscimschemasoracleidcsextensionthird_party_authentication_factor_settings=urnietfparamsscimschemasoracleidcsextensionthird_party_authentication_factor_settings, + user_enrollment_disabled_factors=user_enrollment_disabled_factors, + yubico_otp_enabled=yubico_otp_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attribute_sets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + attributes: Optional[pulumi.Input[str]] = None, + authentication_factor_setting_id: Optional[pulumi.Input[str]] = None, + authorization: Optional[pulumi.Input[str]] = None, + auto_enroll_email_factor_disabled: Optional[pulumi.Input[bool]] = None, + bypass_code_enabled: Optional[pulumi.Input[bool]] = None, + bypass_code_settings: Optional[pulumi.Input['DomainsAuthenticationFactorSettingBypassCodeSettingsArgs']] = None, + client_app_settings: Optional[pulumi.Input['DomainsAuthenticationFactorSettingClientAppSettingsArgs']] = None, + compartment_ocid: Optional[pulumi.Input[str]] = None, + compliance_policies: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAuthenticationFactorSettingCompliancePolicyArgs']]]] = None, + delete_in_progress: Optional[pulumi.Input[bool]] = None, + domain_ocid: Optional[pulumi.Input[str]] = None, + email_enabled: Optional[pulumi.Input[bool]] = None, + email_settings: Optional[pulumi.Input['DomainsAuthenticationFactorSettingEmailSettingsArgs']] = None, + endpoint_restrictions: Optional[pulumi.Input['DomainsAuthenticationFactorSettingEndpointRestrictionsArgs']] = None, + fido_authenticator_enabled: Optional[pulumi.Input[bool]] = None, + hide_backup_factor_enabled: Optional[pulumi.Input[bool]] = None, + idcs_created_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAuthenticationFactorSettingIdcsCreatedByArgs']]]] = None, + idcs_endpoint: Optional[pulumi.Input[str]] = None, + idcs_last_modified_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAuthenticationFactorSettingIdcsLastModifiedByArgs']]]] = None, + idcs_last_upgraded_in_release: Optional[pulumi.Input[str]] = None, + idcs_prevented_operations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + identity_store_settings: Optional[pulumi.Input['DomainsAuthenticationFactorSettingIdentityStoreSettingsArgs']] = None, + metas: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAuthenticationFactorSettingMetaArgs']]]] = None, + mfa_enabled_category: Optional[pulumi.Input[str]] = None, + mfa_enrollment_type: Optional[pulumi.Input[str]] = None, + notification_settings: Optional[pulumi.Input['DomainsAuthenticationFactorSettingNotificationSettingsArgs']] = None, + ocid: Optional[pulumi.Input[str]] = None, + phone_call_enabled: Optional[pulumi.Input[bool]] = None, + push_enabled: Optional[pulumi.Input[bool]] = None, + resource_type_schema_version: Optional[pulumi.Input[str]] = None, + schemas: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + security_questions_enabled: Optional[pulumi.Input[bool]] = None, + sms_enabled: Optional[pulumi.Input[bool]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsAuthenticationFactorSettingTagArgs']]]] = None, + tenancy_ocid: Optional[pulumi.Input[str]] = None, + third_party_factor: Optional[pulumi.Input['DomainsAuthenticationFactorSettingThirdPartyFactorArgs']] = None, + totp_enabled: Optional[pulumi.Input[bool]] = None, + totp_settings: Optional[pulumi.Input['DomainsAuthenticationFactorSettingTotpSettingsArgs']] = None, + urnietfparamsscimschemasoracleidcsextensionfido_authentication_factor_settings: Optional[pulumi.Input['DomainsAuthenticationFactorSettingUrnietfparamsscimschemasoracleidcsextensionfidoAuthenticationFactorSettingsArgs']] = None, + urnietfparamsscimschemasoracleidcsextensionthird_party_authentication_factor_settings: Optional[pulumi.Input['DomainsAuthenticationFactorSettingUrnietfparamsscimschemasoracleidcsextensionthirdPartyAuthenticationFactorSettingsArgs']] = None, + user_enrollment_disabled_factors: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + yubico_otp_enabled: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if attribute_sets is not None: - pulumi.set(__self__, "attribute_sets", attribute_sets) + _setter("attribute_sets", attribute_sets) if attributes is not None: - pulumi.set(__self__, "attributes", attributes) + _setter("attributes", attributes) if authentication_factor_setting_id is not None: - pulumi.set(__self__, "authentication_factor_setting_id", authentication_factor_setting_id) + _setter("authentication_factor_setting_id", authentication_factor_setting_id) if authorization is not None: - pulumi.set(__self__, "authorization", authorization) + _setter("authorization", authorization) if auto_enroll_email_factor_disabled is not None: - pulumi.set(__self__, "auto_enroll_email_factor_disabled", auto_enroll_email_factor_disabled) + _setter("auto_enroll_email_factor_disabled", auto_enroll_email_factor_disabled) if bypass_code_enabled is not None: - pulumi.set(__self__, "bypass_code_enabled", bypass_code_enabled) + _setter("bypass_code_enabled", bypass_code_enabled) if bypass_code_settings is not None: - pulumi.set(__self__, "bypass_code_settings", bypass_code_settings) + _setter("bypass_code_settings", bypass_code_settings) if client_app_settings is not None: - pulumi.set(__self__, "client_app_settings", client_app_settings) + _setter("client_app_settings", client_app_settings) if compartment_ocid is not None: - pulumi.set(__self__, "compartment_ocid", compartment_ocid) + _setter("compartment_ocid", compartment_ocid) if compliance_policies is not None: - pulumi.set(__self__, "compliance_policies", compliance_policies) + _setter("compliance_policies", compliance_policies) if delete_in_progress is not None: - pulumi.set(__self__, "delete_in_progress", delete_in_progress) + _setter("delete_in_progress", delete_in_progress) if domain_ocid is not None: - pulumi.set(__self__, "domain_ocid", domain_ocid) + _setter("domain_ocid", domain_ocid) if email_enabled is not None: - pulumi.set(__self__, "email_enabled", email_enabled) + _setter("email_enabled", email_enabled) if email_settings is not None: - pulumi.set(__self__, "email_settings", email_settings) + _setter("email_settings", email_settings) if endpoint_restrictions is not None: - pulumi.set(__self__, "endpoint_restrictions", endpoint_restrictions) + _setter("endpoint_restrictions", endpoint_restrictions) if fido_authenticator_enabled is not None: - pulumi.set(__self__, "fido_authenticator_enabled", fido_authenticator_enabled) + _setter("fido_authenticator_enabled", fido_authenticator_enabled) if hide_backup_factor_enabled is not None: - pulumi.set(__self__, "hide_backup_factor_enabled", hide_backup_factor_enabled) + _setter("hide_backup_factor_enabled", hide_backup_factor_enabled) if idcs_created_bies is not None: - pulumi.set(__self__, "idcs_created_bies", idcs_created_bies) + _setter("idcs_created_bies", idcs_created_bies) if idcs_endpoint is not None: - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) + _setter("idcs_endpoint", idcs_endpoint) if idcs_last_modified_bies is not None: - pulumi.set(__self__, "idcs_last_modified_bies", idcs_last_modified_bies) + _setter("idcs_last_modified_bies", idcs_last_modified_bies) if idcs_last_upgraded_in_release is not None: - pulumi.set(__self__, "idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) + _setter("idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) if idcs_prevented_operations is not None: - pulumi.set(__self__, "idcs_prevented_operations", idcs_prevented_operations) + _setter("idcs_prevented_operations", idcs_prevented_operations) if identity_store_settings is not None: - pulumi.set(__self__, "identity_store_settings", identity_store_settings) + _setter("identity_store_settings", identity_store_settings) if metas is not None: - pulumi.set(__self__, "metas", metas) + _setter("metas", metas) if mfa_enabled_category is not None: - pulumi.set(__self__, "mfa_enabled_category", mfa_enabled_category) + _setter("mfa_enabled_category", mfa_enabled_category) if mfa_enrollment_type is not None: - pulumi.set(__self__, "mfa_enrollment_type", mfa_enrollment_type) + _setter("mfa_enrollment_type", mfa_enrollment_type) if notification_settings is not None: - pulumi.set(__self__, "notification_settings", notification_settings) + _setter("notification_settings", notification_settings) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if phone_call_enabled is not None: - pulumi.set(__self__, "phone_call_enabled", phone_call_enabled) + _setter("phone_call_enabled", phone_call_enabled) if push_enabled is not None: - pulumi.set(__self__, "push_enabled", push_enabled) + _setter("push_enabled", push_enabled) if resource_type_schema_version is not None: - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) + _setter("resource_type_schema_version", resource_type_schema_version) if schemas is not None: - pulumi.set(__self__, "schemas", schemas) + _setter("schemas", schemas) if security_questions_enabled is not None: - pulumi.set(__self__, "security_questions_enabled", security_questions_enabled) + _setter("security_questions_enabled", security_questions_enabled) if sms_enabled is not None: - pulumi.set(__self__, "sms_enabled", sms_enabled) + _setter("sms_enabled", sms_enabled) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if tenancy_ocid is not None: - pulumi.set(__self__, "tenancy_ocid", tenancy_ocid) + _setter("tenancy_ocid", tenancy_ocid) if third_party_factor is not None: - pulumi.set(__self__, "third_party_factor", third_party_factor) + _setter("third_party_factor", third_party_factor) if totp_enabled is not None: - pulumi.set(__self__, "totp_enabled", totp_enabled) + _setter("totp_enabled", totp_enabled) if totp_settings is not None: - pulumi.set(__self__, "totp_settings", totp_settings) + _setter("totp_settings", totp_settings) if urnietfparamsscimschemasoracleidcsextensionfido_authentication_factor_settings is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionfido_authentication_factor_settings", urnietfparamsscimschemasoracleidcsextensionfido_authentication_factor_settings) + _setter("urnietfparamsscimschemasoracleidcsextensionfido_authentication_factor_settings", urnietfparamsscimschemasoracleidcsextensionfido_authentication_factor_settings) if urnietfparamsscimschemasoracleidcsextensionthird_party_authentication_factor_settings is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionthird_party_authentication_factor_settings", urnietfparamsscimschemasoracleidcsextensionthird_party_authentication_factor_settings) + _setter("urnietfparamsscimschemasoracleidcsextensionthird_party_authentication_factor_settings", urnietfparamsscimschemasoracleidcsextensionthird_party_authentication_factor_settings) if user_enrollment_disabled_factors is not None: - pulumi.set(__self__, "user_enrollment_disabled_factors", user_enrollment_disabled_factors) + _setter("user_enrollment_disabled_factors", user_enrollment_disabled_factors) if yubico_otp_enabled is not None: - pulumi.set(__self__, "yubico_otp_enabled", yubico_otp_enabled) + _setter("yubico_otp_enabled", yubico_otp_enabled) @property @pulumi.getter(name="attributeSets") @@ -2824,6 +2990,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DomainsAuthenticationFactorSettingArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -2881,9 +3051,19 @@ def _internal_init(__self__, if bypass_code_enabled is None and not opts.urn: raise TypeError("Missing required property 'bypass_code_enabled'") __props__.__dict__["bypass_code_enabled"] = bypass_code_enabled + if bypass_code_settings is not None and not isinstance(bypass_code_settings, DomainsAuthenticationFactorSettingBypassCodeSettingsArgs): + bypass_code_settings = bypass_code_settings or {} + def _setter(key, value): + bypass_code_settings[key] = value + DomainsAuthenticationFactorSettingBypassCodeSettingsArgs._configure(_setter, **bypass_code_settings) if bypass_code_settings is None and not opts.urn: raise TypeError("Missing required property 'bypass_code_settings'") __props__.__dict__["bypass_code_settings"] = bypass_code_settings + if client_app_settings is not None and not isinstance(client_app_settings, DomainsAuthenticationFactorSettingClientAppSettingsArgs): + client_app_settings = client_app_settings or {} + def _setter(key, value): + client_app_settings[key] = value + DomainsAuthenticationFactorSettingClientAppSettingsArgs._configure(_setter, **client_app_settings) if client_app_settings is None and not opts.urn: raise TypeError("Missing required property 'client_app_settings'") __props__.__dict__["client_app_settings"] = client_app_settings @@ -2891,7 +3071,17 @@ def _internal_init(__self__, raise TypeError("Missing required property 'compliance_policies'") __props__.__dict__["compliance_policies"] = compliance_policies __props__.__dict__["email_enabled"] = email_enabled + if email_settings is not None and not isinstance(email_settings, DomainsAuthenticationFactorSettingEmailSettingsArgs): + email_settings = email_settings or {} + def _setter(key, value): + email_settings[key] = value + DomainsAuthenticationFactorSettingEmailSettingsArgs._configure(_setter, **email_settings) __props__.__dict__["email_settings"] = email_settings + if endpoint_restrictions is not None and not isinstance(endpoint_restrictions, DomainsAuthenticationFactorSettingEndpointRestrictionsArgs): + endpoint_restrictions = endpoint_restrictions or {} + def _setter(key, value): + endpoint_restrictions[key] = value + DomainsAuthenticationFactorSettingEndpointRestrictionsArgs._configure(_setter, **endpoint_restrictions) if endpoint_restrictions is None and not opts.urn: raise TypeError("Missing required property 'endpoint_restrictions'") __props__.__dict__["endpoint_restrictions"] = endpoint_restrictions @@ -2900,10 +3090,20 @@ def _internal_init(__self__, if idcs_endpoint is None and not opts.urn: raise TypeError("Missing required property 'idcs_endpoint'") __props__.__dict__["idcs_endpoint"] = idcs_endpoint + if identity_store_settings is not None and not isinstance(identity_store_settings, DomainsAuthenticationFactorSettingIdentityStoreSettingsArgs): + identity_store_settings = identity_store_settings or {} + def _setter(key, value): + identity_store_settings[key] = value + DomainsAuthenticationFactorSettingIdentityStoreSettingsArgs._configure(_setter, **identity_store_settings) __props__.__dict__["identity_store_settings"] = identity_store_settings if mfa_enrollment_type is None and not opts.urn: raise TypeError("Missing required property 'mfa_enrollment_type'") __props__.__dict__["mfa_enrollment_type"] = mfa_enrollment_type + if notification_settings is not None and not isinstance(notification_settings, DomainsAuthenticationFactorSettingNotificationSettingsArgs): + notification_settings = notification_settings or {} + def _setter(key, value): + notification_settings[key] = value + DomainsAuthenticationFactorSettingNotificationSettingsArgs._configure(_setter, **notification_settings) if notification_settings is None and not opts.urn: raise TypeError("Missing required property 'notification_settings'") __props__.__dict__["notification_settings"] = notification_settings @@ -2923,14 +3123,34 @@ def _internal_init(__self__, raise TypeError("Missing required property 'sms_enabled'") __props__.__dict__["sms_enabled"] = sms_enabled __props__.__dict__["tags"] = tags + if third_party_factor is not None and not isinstance(third_party_factor, DomainsAuthenticationFactorSettingThirdPartyFactorArgs): + third_party_factor = third_party_factor or {} + def _setter(key, value): + third_party_factor[key] = value + DomainsAuthenticationFactorSettingThirdPartyFactorArgs._configure(_setter, **third_party_factor) __props__.__dict__["third_party_factor"] = third_party_factor if totp_enabled is None and not opts.urn: raise TypeError("Missing required property 'totp_enabled'") __props__.__dict__["totp_enabled"] = totp_enabled + if totp_settings is not None and not isinstance(totp_settings, DomainsAuthenticationFactorSettingTotpSettingsArgs): + totp_settings = totp_settings or {} + def _setter(key, value): + totp_settings[key] = value + DomainsAuthenticationFactorSettingTotpSettingsArgs._configure(_setter, **totp_settings) if totp_settings is None and not opts.urn: raise TypeError("Missing required property 'totp_settings'") __props__.__dict__["totp_settings"] = totp_settings + if urnietfparamsscimschemasoracleidcsextensionfido_authentication_factor_settings is not None and not isinstance(urnietfparamsscimschemasoracleidcsextensionfido_authentication_factor_settings, DomainsAuthenticationFactorSettingUrnietfparamsscimschemasoracleidcsextensionfidoAuthenticationFactorSettingsArgs): + urnietfparamsscimschemasoracleidcsextensionfido_authentication_factor_settings = urnietfparamsscimschemasoracleidcsextensionfido_authentication_factor_settings or {} + def _setter(key, value): + urnietfparamsscimschemasoracleidcsextensionfido_authentication_factor_settings[key] = value + DomainsAuthenticationFactorSettingUrnietfparamsscimschemasoracleidcsextensionfidoAuthenticationFactorSettingsArgs._configure(_setter, **urnietfparamsscimschemasoracleidcsextensionfido_authentication_factor_settings) __props__.__dict__["urnietfparamsscimschemasoracleidcsextensionfido_authentication_factor_settings"] = urnietfparamsscimschemasoracleidcsextensionfido_authentication_factor_settings + if urnietfparamsscimschemasoracleidcsextensionthird_party_authentication_factor_settings is not None and not isinstance(urnietfparamsscimschemasoracleidcsextensionthird_party_authentication_factor_settings, DomainsAuthenticationFactorSettingUrnietfparamsscimschemasoracleidcsextensionthirdPartyAuthenticationFactorSettingsArgs): + urnietfparamsscimschemasoracleidcsextensionthird_party_authentication_factor_settings = urnietfparamsscimschemasoracleidcsextensionthird_party_authentication_factor_settings or {} + def _setter(key, value): + urnietfparamsscimschemasoracleidcsextensionthird_party_authentication_factor_settings[key] = value + DomainsAuthenticationFactorSettingUrnietfparamsscimschemasoracleidcsextensionthirdPartyAuthenticationFactorSettingsArgs._configure(_setter, **urnietfparamsscimschemasoracleidcsextensionthird_party_authentication_factor_settings) __props__.__dict__["urnietfparamsscimschemasoracleidcsextensionthird_party_authentication_factor_settings"] = urnietfparamsscimschemasoracleidcsextensionthird_party_authentication_factor_settings __props__.__dict__["user_enrollment_disabled_factors"] = user_enrollment_disabled_factors __props__.__dict__["yubico_otp_enabled"] = yubico_otp_enabled diff --git a/sdk/python/pulumi_oci/identity/domains_customer_secret_key.py b/sdk/python/pulumi_oci/identity/domains_customer_secret_key.py index e218435ee4..50c223dc79 100644 --- a/sdk/python/pulumi_oci/identity/domains_customer_secret_key.py +++ b/sdk/python/pulumi_oci/identity/domains_customer_secret_key.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -125,32 +125,67 @@ def __init__(__self__, *, * type: complex * uniqueness: none """ - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) - pulumi.set(__self__, "schemas", schemas) + DomainsCustomerSecretKeyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + idcs_endpoint=idcs_endpoint, + schemas=schemas, + attribute_sets=attribute_sets, + attributes=attributes, + authorization=authorization, + description=description, + display_name=display_name, + expires_on=expires_on, + ocid=ocid, + resource_type_schema_version=resource_type_schema_version, + status=status, + tags=tags, + urnietfparamsscimschemasoracleidcsextensionself_change_user=urnietfparamsscimschemasoracleidcsextensionself_change_user, + user=user, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + idcs_endpoint: pulumi.Input[str], + schemas: pulumi.Input[Sequence[pulumi.Input[str]]], + attribute_sets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + attributes: Optional[pulumi.Input[str]] = None, + authorization: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + expires_on: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + resource_type_schema_version: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsCustomerSecretKeyTagArgs']]]] = None, + urnietfparamsscimschemasoracleidcsextensionself_change_user: Optional[pulumi.Input['DomainsCustomerSecretKeyUrnietfparamsscimschemasoracleidcsextensionselfChangeUserArgs']] = None, + user: Optional[pulumi.Input['DomainsCustomerSecretKeyUserArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("idcs_endpoint", idcs_endpoint) + _setter("schemas", schemas) if attribute_sets is not None: - pulumi.set(__self__, "attribute_sets", attribute_sets) + _setter("attribute_sets", attribute_sets) if attributes is not None: - pulumi.set(__self__, "attributes", attributes) + _setter("attributes", attributes) if authorization is not None: - pulumi.set(__self__, "authorization", authorization) + _setter("authorization", authorization) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if expires_on is not None: - pulumi.set(__self__, "expires_on", expires_on) + _setter("expires_on", expires_on) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if resource_type_schema_version is not None: - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) + _setter("resource_type_schema_version", resource_type_schema_version) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if urnietfparamsscimschemasoracleidcsextensionself_change_user is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionself_change_user", urnietfparamsscimschemasoracleidcsextensionself_change_user) + _setter("urnietfparamsscimschemasoracleidcsextensionself_change_user", urnietfparamsscimschemasoracleidcsextensionself_change_user) if user is not None: - pulumi.set(__self__, "user", user) + _setter("user", user) @property @pulumi.getter(name="idcsEndpoint") @@ -623,54 +658,109 @@ def __init__(__self__, *, * type: complex * uniqueness: none """ + _DomainsCustomerSecretKeyState._configure( + lambda key, value: pulumi.set(__self__, key, value), + access_key=access_key, + attribute_sets=attribute_sets, + attributes=attributes, + authorization=authorization, + compartment_ocid=compartment_ocid, + delete_in_progress=delete_in_progress, + description=description, + display_name=display_name, + domain_ocid=domain_ocid, + expires_on=expires_on, + idcs_created_bies=idcs_created_bies, + idcs_endpoint=idcs_endpoint, + idcs_last_modified_bies=idcs_last_modified_bies, + idcs_last_upgraded_in_release=idcs_last_upgraded_in_release, + idcs_prevented_operations=idcs_prevented_operations, + metas=metas, + ocid=ocid, + resource_type_schema_version=resource_type_schema_version, + schemas=schemas, + status=status, + tags=tags, + tenancy_ocid=tenancy_ocid, + urnietfparamsscimschemasoracleidcsextensionself_change_user=urnietfparamsscimschemasoracleidcsextensionself_change_user, + user=user, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access_key: Optional[pulumi.Input[str]] = None, + attribute_sets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + attributes: Optional[pulumi.Input[str]] = None, + authorization: Optional[pulumi.Input[str]] = None, + compartment_ocid: Optional[pulumi.Input[str]] = None, + delete_in_progress: Optional[pulumi.Input[bool]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + domain_ocid: Optional[pulumi.Input[str]] = None, + expires_on: Optional[pulumi.Input[str]] = None, + idcs_created_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsCustomerSecretKeyIdcsCreatedByArgs']]]] = None, + idcs_endpoint: Optional[pulumi.Input[str]] = None, + idcs_last_modified_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsCustomerSecretKeyIdcsLastModifiedByArgs']]]] = None, + idcs_last_upgraded_in_release: Optional[pulumi.Input[str]] = None, + idcs_prevented_operations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + metas: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsCustomerSecretKeyMetaArgs']]]] = None, + ocid: Optional[pulumi.Input[str]] = None, + resource_type_schema_version: Optional[pulumi.Input[str]] = None, + schemas: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + status: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsCustomerSecretKeyTagArgs']]]] = None, + tenancy_ocid: Optional[pulumi.Input[str]] = None, + urnietfparamsscimschemasoracleidcsextensionself_change_user: Optional[pulumi.Input['DomainsCustomerSecretKeyUrnietfparamsscimschemasoracleidcsextensionselfChangeUserArgs']] = None, + user: Optional[pulumi.Input['DomainsCustomerSecretKeyUserArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if access_key is not None: - pulumi.set(__self__, "access_key", access_key) + _setter("access_key", access_key) if attribute_sets is not None: - pulumi.set(__self__, "attribute_sets", attribute_sets) + _setter("attribute_sets", attribute_sets) if attributes is not None: - pulumi.set(__self__, "attributes", attributes) + _setter("attributes", attributes) if authorization is not None: - pulumi.set(__self__, "authorization", authorization) + _setter("authorization", authorization) if compartment_ocid is not None: - pulumi.set(__self__, "compartment_ocid", compartment_ocid) + _setter("compartment_ocid", compartment_ocid) if delete_in_progress is not None: - pulumi.set(__self__, "delete_in_progress", delete_in_progress) + _setter("delete_in_progress", delete_in_progress) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if domain_ocid is not None: - pulumi.set(__self__, "domain_ocid", domain_ocid) + _setter("domain_ocid", domain_ocid) if expires_on is not None: - pulumi.set(__self__, "expires_on", expires_on) + _setter("expires_on", expires_on) if idcs_created_bies is not None: - pulumi.set(__self__, "idcs_created_bies", idcs_created_bies) + _setter("idcs_created_bies", idcs_created_bies) if idcs_endpoint is not None: - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) + _setter("idcs_endpoint", idcs_endpoint) if idcs_last_modified_bies is not None: - pulumi.set(__self__, "idcs_last_modified_bies", idcs_last_modified_bies) + _setter("idcs_last_modified_bies", idcs_last_modified_bies) if idcs_last_upgraded_in_release is not None: - pulumi.set(__self__, "idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) + _setter("idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) if idcs_prevented_operations is not None: - pulumi.set(__self__, "idcs_prevented_operations", idcs_prevented_operations) + _setter("idcs_prevented_operations", idcs_prevented_operations) if metas is not None: - pulumi.set(__self__, "metas", metas) + _setter("metas", metas) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if resource_type_schema_version is not None: - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) + _setter("resource_type_schema_version", resource_type_schema_version) if schemas is not None: - pulumi.set(__self__, "schemas", schemas) + _setter("schemas", schemas) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if tenancy_ocid is not None: - pulumi.set(__self__, "tenancy_ocid", tenancy_ocid) + _setter("tenancy_ocid", tenancy_ocid) if urnietfparamsscimschemasoracleidcsextensionself_change_user is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionself_change_user", urnietfparamsscimschemasoracleidcsextensionself_change_user) + _setter("urnietfparamsscimschemasoracleidcsextensionself_change_user", urnietfparamsscimschemasoracleidcsextensionself_change_user) if user is not None: - pulumi.set(__self__, "user", user) + _setter("user", user) @property @pulumi.getter(name="accessKey") @@ -1288,6 +1378,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DomainsCustomerSecretKeyArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -1332,7 +1426,17 @@ def _internal_init(__self__, __props__.__dict__["schemas"] = schemas __props__.__dict__["status"] = status __props__.__dict__["tags"] = tags + if urnietfparamsscimschemasoracleidcsextensionself_change_user is not None and not isinstance(urnietfparamsscimschemasoracleidcsextensionself_change_user, DomainsCustomerSecretKeyUrnietfparamsscimschemasoracleidcsextensionselfChangeUserArgs): + urnietfparamsscimschemasoracleidcsextensionself_change_user = urnietfparamsscimschemasoracleidcsextensionself_change_user or {} + def _setter(key, value): + urnietfparamsscimschemasoracleidcsextensionself_change_user[key] = value + DomainsCustomerSecretKeyUrnietfparamsscimschemasoracleidcsextensionselfChangeUserArgs._configure(_setter, **urnietfparamsscimschemasoracleidcsextensionself_change_user) __props__.__dict__["urnietfparamsscimschemasoracleidcsextensionself_change_user"] = urnietfparamsscimschemasoracleidcsextensionself_change_user + if user is not None and not isinstance(user, DomainsCustomerSecretKeyUserArgs): + user = user or {} + def _setter(key, value): + user[key] = value + DomainsCustomerSecretKeyUserArgs._configure(_setter, **user) __props__.__dict__["user"] = user __props__.__dict__["access_key"] = None __props__.__dict__["compartment_ocid"] = None diff --git a/sdk/python/pulumi_oci/identity/domains_dynamic_resource_group.py b/sdk/python/pulumi_oci/identity/domains_dynamic_resource_group.py index 573cca36d9..dcad68021b 100644 --- a/sdk/python/pulumi_oci/identity/domains_dynamic_resource_group.py +++ b/sdk/python/pulumi_oci/identity/domains_dynamic_resource_group.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -105,26 +105,57 @@ def __init__(__self__, *, * uniqueness: none :param pulumi.Input['DomainsDynamicResourceGroupUrnietfparamsscimschemasoracleidcsextensionOciTagsArgs'] urnietfparamsscimschemasoracleidcsextension_oci_tags: (Updatable) Oracle Cloud Infrastructure Tags. """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) - pulumi.set(__self__, "matching_rule", matching_rule) - pulumi.set(__self__, "schemas", schemas) + DomainsDynamicResourceGroupArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + idcs_endpoint=idcs_endpoint, + matching_rule=matching_rule, + schemas=schemas, + attribute_sets=attribute_sets, + attributes=attributes, + authorization=authorization, + description=description, + ocid=ocid, + resource_type_schema_version=resource_type_schema_version, + tags=tags, + urnietfparamsscimschemasoracleidcsextension_oci_tags=urnietfparamsscimschemasoracleidcsextension_oci_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: pulumi.Input[str], + idcs_endpoint: pulumi.Input[str], + matching_rule: pulumi.Input[str], + schemas: pulumi.Input[Sequence[pulumi.Input[str]]], + attribute_sets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + attributes: Optional[pulumi.Input[str]] = None, + authorization: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + resource_type_schema_version: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsDynamicResourceGroupTagArgs']]]] = None, + urnietfparamsscimschemasoracleidcsextension_oci_tags: Optional[pulumi.Input['DomainsDynamicResourceGroupUrnietfparamsscimschemasoracleidcsextensionOciTagsArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("idcs_endpoint", idcs_endpoint) + _setter("matching_rule", matching_rule) + _setter("schemas", schemas) if attribute_sets is not None: - pulumi.set(__self__, "attribute_sets", attribute_sets) + _setter("attribute_sets", attribute_sets) if attributes is not None: - pulumi.set(__self__, "attributes", attributes) + _setter("attributes", attributes) if authorization is not None: - pulumi.set(__self__, "authorization", authorization) + _setter("authorization", authorization) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if resource_type_schema_version is not None: - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) + _setter("resource_type_schema_version", resource_type_schema_version) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if urnietfparamsscimschemasoracleidcsextension_oci_tags is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextension_oci_tags", urnietfparamsscimschemasoracleidcsextension_oci_tags) + _setter("urnietfparamsscimschemasoracleidcsextension_oci_tags", urnietfparamsscimschemasoracleidcsextension_oci_tags) @property @pulumi.getter(name="displayName") @@ -553,52 +584,105 @@ def __init__(__self__, *, * uniqueness: none :param pulumi.Input['DomainsDynamicResourceGroupUrnietfparamsscimschemasoracleidcsextensionOciTagsArgs'] urnietfparamsscimschemasoracleidcsextension_oci_tags: (Updatable) Oracle Cloud Infrastructure Tags. """ + _DomainsDynamicResourceGroupState._configure( + lambda key, value: pulumi.set(__self__, key, value), + attribute_sets=attribute_sets, + attributes=attributes, + authorization=authorization, + compartment_ocid=compartment_ocid, + delete_in_progress=delete_in_progress, + description=description, + display_name=display_name, + domain_ocid=domain_ocid, + dynamic_group_app_roles=dynamic_group_app_roles, + grants=grants, + idcs_created_bies=idcs_created_bies, + idcs_endpoint=idcs_endpoint, + idcs_last_modified_bies=idcs_last_modified_bies, + idcs_last_upgraded_in_release=idcs_last_upgraded_in_release, + idcs_prevented_operations=idcs_prevented_operations, + matching_rule=matching_rule, + metas=metas, + ocid=ocid, + resource_type_schema_version=resource_type_schema_version, + schemas=schemas, + tags=tags, + tenancy_ocid=tenancy_ocid, + urnietfparamsscimschemasoracleidcsextension_oci_tags=urnietfparamsscimschemasoracleidcsextension_oci_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attribute_sets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + attributes: Optional[pulumi.Input[str]] = None, + authorization: Optional[pulumi.Input[str]] = None, + compartment_ocid: Optional[pulumi.Input[str]] = None, + delete_in_progress: Optional[pulumi.Input[bool]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + domain_ocid: Optional[pulumi.Input[str]] = None, + dynamic_group_app_roles: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsDynamicResourceGroupDynamicGroupAppRoleArgs']]]] = None, + grants: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsDynamicResourceGroupGrantArgs']]]] = None, + idcs_created_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsDynamicResourceGroupIdcsCreatedByArgs']]]] = None, + idcs_endpoint: Optional[pulumi.Input[str]] = None, + idcs_last_modified_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsDynamicResourceGroupIdcsLastModifiedByArgs']]]] = None, + idcs_last_upgraded_in_release: Optional[pulumi.Input[str]] = None, + idcs_prevented_operations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + matching_rule: Optional[pulumi.Input[str]] = None, + metas: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsDynamicResourceGroupMetaArgs']]]] = None, + ocid: Optional[pulumi.Input[str]] = None, + resource_type_schema_version: Optional[pulumi.Input[str]] = None, + schemas: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsDynamicResourceGroupTagArgs']]]] = None, + tenancy_ocid: Optional[pulumi.Input[str]] = None, + urnietfparamsscimschemasoracleidcsextension_oci_tags: Optional[pulumi.Input['DomainsDynamicResourceGroupUrnietfparamsscimschemasoracleidcsextensionOciTagsArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if attribute_sets is not None: - pulumi.set(__self__, "attribute_sets", attribute_sets) + _setter("attribute_sets", attribute_sets) if attributes is not None: - pulumi.set(__self__, "attributes", attributes) + _setter("attributes", attributes) if authorization is not None: - pulumi.set(__self__, "authorization", authorization) + _setter("authorization", authorization) if compartment_ocid is not None: - pulumi.set(__self__, "compartment_ocid", compartment_ocid) + _setter("compartment_ocid", compartment_ocid) if delete_in_progress is not None: - pulumi.set(__self__, "delete_in_progress", delete_in_progress) + _setter("delete_in_progress", delete_in_progress) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if domain_ocid is not None: - pulumi.set(__self__, "domain_ocid", domain_ocid) + _setter("domain_ocid", domain_ocid) if dynamic_group_app_roles is not None: - pulumi.set(__self__, "dynamic_group_app_roles", dynamic_group_app_roles) + _setter("dynamic_group_app_roles", dynamic_group_app_roles) if grants is not None: - pulumi.set(__self__, "grants", grants) + _setter("grants", grants) if idcs_created_bies is not None: - pulumi.set(__self__, "idcs_created_bies", idcs_created_bies) + _setter("idcs_created_bies", idcs_created_bies) if idcs_endpoint is not None: - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) + _setter("idcs_endpoint", idcs_endpoint) if idcs_last_modified_bies is not None: - pulumi.set(__self__, "idcs_last_modified_bies", idcs_last_modified_bies) + _setter("idcs_last_modified_bies", idcs_last_modified_bies) if idcs_last_upgraded_in_release is not None: - pulumi.set(__self__, "idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) + _setter("idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) if idcs_prevented_operations is not None: - pulumi.set(__self__, "idcs_prevented_operations", idcs_prevented_operations) + _setter("idcs_prevented_operations", idcs_prevented_operations) if matching_rule is not None: - pulumi.set(__self__, "matching_rule", matching_rule) + _setter("matching_rule", matching_rule) if metas is not None: - pulumi.set(__self__, "metas", metas) + _setter("metas", metas) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if resource_type_schema_version is not None: - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) + _setter("resource_type_schema_version", resource_type_schema_version) if schemas is not None: - pulumi.set(__self__, "schemas", schemas) + _setter("schemas", schemas) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if tenancy_ocid is not None: - pulumi.set(__self__, "tenancy_ocid", tenancy_ocid) + _setter("tenancy_ocid", tenancy_ocid) if urnietfparamsscimschemasoracleidcsextension_oci_tags is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextension_oci_tags", urnietfparamsscimschemasoracleidcsextension_oci_tags) + _setter("urnietfparamsscimschemasoracleidcsextension_oci_tags", urnietfparamsscimschemasoracleidcsextension_oci_tags) @property @pulumi.getter(name="attributeSets") @@ -1182,6 +1266,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DomainsDynamicResourceGroupArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -1227,6 +1315,11 @@ def _internal_init(__self__, raise TypeError("Missing required property 'schemas'") __props__.__dict__["schemas"] = schemas __props__.__dict__["tags"] = tags + if urnietfparamsscimschemasoracleidcsextension_oci_tags is not None and not isinstance(urnietfparamsscimschemasoracleidcsextension_oci_tags, DomainsDynamicResourceGroupUrnietfparamsscimschemasoracleidcsextensionOciTagsArgs): + urnietfparamsscimschemasoracleidcsextension_oci_tags = urnietfparamsscimschemasoracleidcsextension_oci_tags or {} + def _setter(key, value): + urnietfparamsscimschemasoracleidcsextension_oci_tags[key] = value + DomainsDynamicResourceGroupUrnietfparamsscimschemasoracleidcsextensionOciTagsArgs._configure(_setter, **urnietfparamsscimschemasoracleidcsextension_oci_tags) __props__.__dict__["urnietfparamsscimschemasoracleidcsextension_oci_tags"] = urnietfparamsscimschemasoracleidcsextension_oci_tags __props__.__dict__["compartment_ocid"] = None __props__.__dict__["delete_in_progress"] = None diff --git a/sdk/python/pulumi_oci/identity/domains_grant.py b/sdk/python/pulumi_oci/identity/domains_grant.py index 5eafe0bd36..170e00ce70 100644 --- a/sdk/python/pulumi_oci/identity/domains_grant.py +++ b/sdk/python/pulumi_oci/identity/domains_grant.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -142,30 +142,65 @@ def __init__(__self__, *, * type: complex * uniqueness: none """ - pulumi.set(__self__, "grant_mechanism", grant_mechanism) - pulumi.set(__self__, "grantee", grantee) - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) - pulumi.set(__self__, "schemas", schemas) + DomainsGrantArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + grant_mechanism=grant_mechanism, + grantee=grantee, + idcs_endpoint=idcs_endpoint, + schemas=schemas, + app=app, + app_entitlement_collection=app_entitlement_collection, + attribute_sets=attribute_sets, + attributes=attributes, + authorization=authorization, + entitlement=entitlement, + granted_attribute_values_json=granted_attribute_values_json, + ocid=ocid, + resource_type_schema_version=resource_type_schema_version, + tags=tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + grant_mechanism: pulumi.Input[str], + grantee: pulumi.Input['DomainsGrantGranteeArgs'], + idcs_endpoint: pulumi.Input[str], + schemas: pulumi.Input[Sequence[pulumi.Input[str]]], + app: Optional[pulumi.Input['DomainsGrantAppArgs']] = None, + app_entitlement_collection: Optional[pulumi.Input['DomainsGrantAppEntitlementCollectionArgs']] = None, + attribute_sets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + attributes: Optional[pulumi.Input[str]] = None, + authorization: Optional[pulumi.Input[str]] = None, + entitlement: Optional[pulumi.Input['DomainsGrantEntitlementArgs']] = None, + granted_attribute_values_json: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + resource_type_schema_version: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsGrantTagArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("grant_mechanism", grant_mechanism) + _setter("grantee", grantee) + _setter("idcs_endpoint", idcs_endpoint) + _setter("schemas", schemas) if app is not None: - pulumi.set(__self__, "app", app) + _setter("app", app) if app_entitlement_collection is not None: - pulumi.set(__self__, "app_entitlement_collection", app_entitlement_collection) + _setter("app_entitlement_collection", app_entitlement_collection) if attribute_sets is not None: - pulumi.set(__self__, "attribute_sets", attribute_sets) + _setter("attribute_sets", attribute_sets) if attributes is not None: - pulumi.set(__self__, "attributes", attributes) + _setter("attributes", attributes) if authorization is not None: - pulumi.set(__self__, "authorization", authorization) + _setter("authorization", authorization) if entitlement is not None: - pulumi.set(__self__, "entitlement", entitlement) + _setter("entitlement", entitlement) if granted_attribute_values_json is not None: - pulumi.set(__self__, "granted_attribute_values_json", granted_attribute_values_json) + _setter("granted_attribute_values_json", granted_attribute_values_json) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if resource_type_schema_version is not None: - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) + _setter("resource_type_schema_version", resource_type_schema_version) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) @property @pulumi.getter(name="grantMechanism") @@ -703,58 +738,117 @@ def __init__(__self__, *, ** 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 """ + _DomainsGrantState._configure( + lambda key, value: pulumi.set(__self__, key, value), + app=app, + app_entitlement_collection=app_entitlement_collection, + attribute_sets=attribute_sets, + attributes=attributes, + authorization=authorization, + compartment_ocid=compartment_ocid, + composite_key=composite_key, + delete_in_progress=delete_in_progress, + domain_ocid=domain_ocid, + entitlement=entitlement, + grant_mechanism=grant_mechanism, + granted_attribute_values_json=granted_attribute_values_json, + grantee=grantee, + grantors=grantors, + idcs_created_bies=idcs_created_bies, + idcs_endpoint=idcs_endpoint, + idcs_last_modified_bies=idcs_last_modified_bies, + idcs_last_upgraded_in_release=idcs_last_upgraded_in_release, + idcs_prevented_operations=idcs_prevented_operations, + is_fulfilled=is_fulfilled, + metas=metas, + ocid=ocid, + resource_type_schema_version=resource_type_schema_version, + schemas=schemas, + tags=tags, + tenancy_ocid=tenancy_ocid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + app: Optional[pulumi.Input['DomainsGrantAppArgs']] = None, + app_entitlement_collection: Optional[pulumi.Input['DomainsGrantAppEntitlementCollectionArgs']] = None, + attribute_sets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + attributes: Optional[pulumi.Input[str]] = None, + authorization: Optional[pulumi.Input[str]] = None, + compartment_ocid: Optional[pulumi.Input[str]] = None, + composite_key: Optional[pulumi.Input[str]] = None, + delete_in_progress: Optional[pulumi.Input[bool]] = None, + domain_ocid: Optional[pulumi.Input[str]] = None, + entitlement: Optional[pulumi.Input['DomainsGrantEntitlementArgs']] = None, + grant_mechanism: Optional[pulumi.Input[str]] = None, + granted_attribute_values_json: Optional[pulumi.Input[str]] = None, + grantee: Optional[pulumi.Input['DomainsGrantGranteeArgs']] = None, + grantors: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsGrantGrantorArgs']]]] = None, + idcs_created_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsGrantIdcsCreatedByArgs']]]] = None, + idcs_endpoint: Optional[pulumi.Input[str]] = None, + idcs_last_modified_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsGrantIdcsLastModifiedByArgs']]]] = None, + idcs_last_upgraded_in_release: Optional[pulumi.Input[str]] = None, + idcs_prevented_operations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + is_fulfilled: Optional[pulumi.Input[bool]] = None, + metas: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsGrantMetaArgs']]]] = None, + ocid: Optional[pulumi.Input[str]] = None, + resource_type_schema_version: Optional[pulumi.Input[str]] = None, + schemas: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsGrantTagArgs']]]] = None, + tenancy_ocid: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if app is not None: - pulumi.set(__self__, "app", app) + _setter("app", app) if app_entitlement_collection is not None: - pulumi.set(__self__, "app_entitlement_collection", app_entitlement_collection) + _setter("app_entitlement_collection", app_entitlement_collection) if attribute_sets is not None: - pulumi.set(__self__, "attribute_sets", attribute_sets) + _setter("attribute_sets", attribute_sets) if attributes is not None: - pulumi.set(__self__, "attributes", attributes) + _setter("attributes", attributes) if authorization is not None: - pulumi.set(__self__, "authorization", authorization) + _setter("authorization", authorization) if compartment_ocid is not None: - pulumi.set(__self__, "compartment_ocid", compartment_ocid) + _setter("compartment_ocid", compartment_ocid) if composite_key is not None: - pulumi.set(__self__, "composite_key", composite_key) + _setter("composite_key", composite_key) if delete_in_progress is not None: - pulumi.set(__self__, "delete_in_progress", delete_in_progress) + _setter("delete_in_progress", delete_in_progress) if domain_ocid is not None: - pulumi.set(__self__, "domain_ocid", domain_ocid) + _setter("domain_ocid", domain_ocid) if entitlement is not None: - pulumi.set(__self__, "entitlement", entitlement) + _setter("entitlement", entitlement) if grant_mechanism is not None: - pulumi.set(__self__, "grant_mechanism", grant_mechanism) + _setter("grant_mechanism", grant_mechanism) if granted_attribute_values_json is not None: - pulumi.set(__self__, "granted_attribute_values_json", granted_attribute_values_json) + _setter("granted_attribute_values_json", granted_attribute_values_json) if grantee is not None: - pulumi.set(__self__, "grantee", grantee) + _setter("grantee", grantee) if grantors is not None: - pulumi.set(__self__, "grantors", grantors) + _setter("grantors", grantors) if idcs_created_bies is not None: - pulumi.set(__self__, "idcs_created_bies", idcs_created_bies) + _setter("idcs_created_bies", idcs_created_bies) if idcs_endpoint is not None: - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) + _setter("idcs_endpoint", idcs_endpoint) if idcs_last_modified_bies is not None: - pulumi.set(__self__, "idcs_last_modified_bies", idcs_last_modified_bies) + _setter("idcs_last_modified_bies", idcs_last_modified_bies) if idcs_last_upgraded_in_release is not None: - pulumi.set(__self__, "idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) + _setter("idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) if idcs_prevented_operations is not None: - pulumi.set(__self__, "idcs_prevented_operations", idcs_prevented_operations) + _setter("idcs_prevented_operations", idcs_prevented_operations) if is_fulfilled is not None: - pulumi.set(__self__, "is_fulfilled", is_fulfilled) + _setter("is_fulfilled", is_fulfilled) if metas is not None: - pulumi.set(__self__, "metas", metas) + _setter("metas", metas) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if resource_type_schema_version is not None: - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) + _setter("resource_type_schema_version", resource_type_schema_version) if schemas is not None: - pulumi.set(__self__, "schemas", schemas) + _setter("schemas", schemas) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if tenancy_ocid is not None: - pulumi.set(__self__, "tenancy_ocid", tenancy_ocid) + _setter("tenancy_ocid", tenancy_ocid) @property @pulumi.getter @@ -1457,6 +1551,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DomainsGrantArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -1485,16 +1583,36 @@ def _internal_init(__self__, raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = DomainsGrantArgs.__new__(DomainsGrantArgs) + if app is not None and not isinstance(app, DomainsGrantAppArgs): + app = app or {} + def _setter(key, value): + app[key] = value + DomainsGrantAppArgs._configure(_setter, **app) __props__.__dict__["app"] = app + if app_entitlement_collection is not None and not isinstance(app_entitlement_collection, DomainsGrantAppEntitlementCollectionArgs): + app_entitlement_collection = app_entitlement_collection or {} + def _setter(key, value): + app_entitlement_collection[key] = value + DomainsGrantAppEntitlementCollectionArgs._configure(_setter, **app_entitlement_collection) __props__.__dict__["app_entitlement_collection"] = app_entitlement_collection __props__.__dict__["attribute_sets"] = attribute_sets __props__.__dict__["attributes"] = attributes __props__.__dict__["authorization"] = authorization + if entitlement is not None and not isinstance(entitlement, DomainsGrantEntitlementArgs): + entitlement = entitlement or {} + def _setter(key, value): + entitlement[key] = value + DomainsGrantEntitlementArgs._configure(_setter, **entitlement) __props__.__dict__["entitlement"] = entitlement if grant_mechanism is None and not opts.urn: raise TypeError("Missing required property 'grant_mechanism'") __props__.__dict__["grant_mechanism"] = grant_mechanism __props__.__dict__["granted_attribute_values_json"] = granted_attribute_values_json + if grantee is not None and not isinstance(grantee, DomainsGrantGranteeArgs): + grantee = grantee or {} + def _setter(key, value): + grantee[key] = value + DomainsGrantGranteeArgs._configure(_setter, **grantee) if grantee is None and not opts.urn: raise TypeError("Missing required property 'grantee'") __props__.__dict__["grantee"] = grantee diff --git a/sdk/python/pulumi_oci/identity/domains_group.py b/sdk/python/pulumi_oci/identity/domains_group.py index 18329c0f86..bbc0f96d2c 100644 --- a/sdk/python/pulumi_oci/identity/domains_group.py +++ b/sdk/python/pulumi_oci/identity/domains_group.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -130,37 +130,78 @@ def __init__(__self__, *, :param pulumi.Input['DomainsGroupUrnietfparamsscimschemasoracleidcsextensionposixGroupArgs'] urnietfparamsscimschemasoracleidcsextensionposix_group: (Updatable) POSIX Group extension :param pulumi.Input['DomainsGroupUrnietfparamsscimschemasoracleidcsextensionrequestableGroupArgs'] urnietfparamsscimschemasoracleidcsextensionrequestable_group: (Updatable) Requestable Group """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) - pulumi.set(__self__, "schemas", schemas) + DomainsGroupArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + idcs_endpoint=idcs_endpoint, + schemas=schemas, + attribute_sets=attribute_sets, + attributes=attributes, + authorization=authorization, + external_id=external_id, + members=members, + non_unique_display_name=non_unique_display_name, + ocid=ocid, + resource_type_schema_version=resource_type_schema_version, + tags=tags, + urnietfparamsscimschemasoracleidcsextension_oci_tags=urnietfparamsscimschemasoracleidcsextension_oci_tags, + urnietfparamsscimschemasoracleidcsextensiondynamic_group=urnietfparamsscimschemasoracleidcsextensiondynamic_group, + urnietfparamsscimschemasoracleidcsextensiongroup_group=urnietfparamsscimschemasoracleidcsextensiongroup_group, + urnietfparamsscimschemasoracleidcsextensionposix_group=urnietfparamsscimschemasoracleidcsextensionposix_group, + urnietfparamsscimschemasoracleidcsextensionrequestable_group=urnietfparamsscimschemasoracleidcsextensionrequestable_group, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: pulumi.Input[str], + idcs_endpoint: pulumi.Input[str], + schemas: pulumi.Input[Sequence[pulumi.Input[str]]], + attribute_sets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + attributes: Optional[pulumi.Input[str]] = None, + authorization: Optional[pulumi.Input[str]] = None, + external_id: Optional[pulumi.Input[str]] = None, + members: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsGroupMemberArgs']]]] = None, + non_unique_display_name: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + resource_type_schema_version: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsGroupTagArgs']]]] = None, + urnietfparamsscimschemasoracleidcsextension_oci_tags: Optional[pulumi.Input['DomainsGroupUrnietfparamsscimschemasoracleidcsextensionOciTagsArgs']] = None, + urnietfparamsscimschemasoracleidcsextensiondynamic_group: Optional[pulumi.Input['DomainsGroupUrnietfparamsscimschemasoracleidcsextensiondynamicGroupArgs']] = None, + urnietfparamsscimschemasoracleidcsextensiongroup_group: Optional[pulumi.Input['DomainsGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupArgs']] = None, + urnietfparamsscimschemasoracleidcsextensionposix_group: Optional[pulumi.Input['DomainsGroupUrnietfparamsscimschemasoracleidcsextensionposixGroupArgs']] = None, + urnietfparamsscimschemasoracleidcsextensionrequestable_group: Optional[pulumi.Input['DomainsGroupUrnietfparamsscimschemasoracleidcsextensionrequestableGroupArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("idcs_endpoint", idcs_endpoint) + _setter("schemas", schemas) if attribute_sets is not None: - pulumi.set(__self__, "attribute_sets", attribute_sets) + _setter("attribute_sets", attribute_sets) if attributes is not None: - pulumi.set(__self__, "attributes", attributes) + _setter("attributes", attributes) if authorization is not None: - pulumi.set(__self__, "authorization", authorization) + _setter("authorization", authorization) if external_id is not None: - pulumi.set(__self__, "external_id", external_id) + _setter("external_id", external_id) if members is not None: - pulumi.set(__self__, "members", members) + _setter("members", members) if non_unique_display_name is not None: - pulumi.set(__self__, "non_unique_display_name", non_unique_display_name) + _setter("non_unique_display_name", non_unique_display_name) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if resource_type_schema_version is not None: - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) + _setter("resource_type_schema_version", resource_type_schema_version) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if urnietfparamsscimschemasoracleidcsextension_oci_tags is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextension_oci_tags", urnietfparamsscimschemasoracleidcsextension_oci_tags) + _setter("urnietfparamsscimschemasoracleidcsextension_oci_tags", urnietfparamsscimschemasoracleidcsextension_oci_tags) if urnietfparamsscimschemasoracleidcsextensiondynamic_group is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensiondynamic_group", urnietfparamsscimschemasoracleidcsextensiondynamic_group) + _setter("urnietfparamsscimschemasoracleidcsextensiondynamic_group", urnietfparamsscimschemasoracleidcsextensiondynamic_group) if urnietfparamsscimschemasoracleidcsextensiongroup_group is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensiongroup_group", urnietfparamsscimschemasoracleidcsextensiongroup_group) + _setter("urnietfparamsscimschemasoracleidcsextensiongroup_group", urnietfparamsscimschemasoracleidcsextensiongroup_group) if urnietfparamsscimschemasoracleidcsextensionposix_group is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionposix_group", urnietfparamsscimschemasoracleidcsextensionposix_group) + _setter("urnietfparamsscimschemasoracleidcsextensionposix_group", urnietfparamsscimschemasoracleidcsextensionposix_group) if urnietfparamsscimschemasoracleidcsextensionrequestable_group is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionrequestable_group", urnietfparamsscimschemasoracleidcsextensionrequestable_group) + _setter("urnietfparamsscimschemasoracleidcsextensionrequestable_group", urnietfparamsscimschemasoracleidcsextensionrequestable_group) @property @pulumi.getter(name="displayName") @@ -666,60 +707,121 @@ def __init__(__self__, *, :param pulumi.Input['DomainsGroupUrnietfparamsscimschemasoracleidcsextensionposixGroupArgs'] urnietfparamsscimschemasoracleidcsextensionposix_group: (Updatable) POSIX Group extension :param pulumi.Input['DomainsGroupUrnietfparamsscimschemasoracleidcsextensionrequestableGroupArgs'] urnietfparamsscimschemasoracleidcsextensionrequestable_group: (Updatable) Requestable Group """ + _DomainsGroupState._configure( + lambda key, value: pulumi.set(__self__, key, value), + attribute_sets=attribute_sets, + attributes=attributes, + authorization=authorization, + compartment_ocid=compartment_ocid, + delete_in_progress=delete_in_progress, + display_name=display_name, + domain_ocid=domain_ocid, + external_id=external_id, + idcs_created_bies=idcs_created_bies, + idcs_endpoint=idcs_endpoint, + idcs_last_modified_bies=idcs_last_modified_bies, + idcs_last_upgraded_in_release=idcs_last_upgraded_in_release, + idcs_prevented_operations=idcs_prevented_operations, + members=members, + metas=metas, + non_unique_display_name=non_unique_display_name, + ocid=ocid, + resource_type_schema_version=resource_type_schema_version, + schemas=schemas, + tags=tags, + tenancy_ocid=tenancy_ocid, + urnietfparamsscimschemasoracleidcsextension_oci_tags=urnietfparamsscimschemasoracleidcsextension_oci_tags, + urnietfparamsscimschemasoracleidcsextensiondbcs_groups=urnietfparamsscimschemasoracleidcsextensiondbcs_groups, + urnietfparamsscimschemasoracleidcsextensiondynamic_group=urnietfparamsscimschemasoracleidcsextensiondynamic_group, + urnietfparamsscimschemasoracleidcsextensiongroup_group=urnietfparamsscimschemasoracleidcsextensiongroup_group, + urnietfparamsscimschemasoracleidcsextensionposix_group=urnietfparamsscimschemasoracleidcsextensionposix_group, + urnietfparamsscimschemasoracleidcsextensionrequestable_group=urnietfparamsscimschemasoracleidcsextensionrequestable_group, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attribute_sets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + attributes: Optional[pulumi.Input[str]] = None, + authorization: Optional[pulumi.Input[str]] = None, + compartment_ocid: Optional[pulumi.Input[str]] = None, + delete_in_progress: Optional[pulumi.Input[bool]] = None, + display_name: Optional[pulumi.Input[str]] = None, + domain_ocid: Optional[pulumi.Input[str]] = None, + external_id: Optional[pulumi.Input[str]] = None, + idcs_created_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsGroupIdcsCreatedByArgs']]]] = None, + idcs_endpoint: Optional[pulumi.Input[str]] = None, + idcs_last_modified_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsGroupIdcsLastModifiedByArgs']]]] = None, + idcs_last_upgraded_in_release: Optional[pulumi.Input[str]] = None, + idcs_prevented_operations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + members: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsGroupMemberArgs']]]] = None, + metas: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsGroupMetaArgs']]]] = None, + non_unique_display_name: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + resource_type_schema_version: Optional[pulumi.Input[str]] = None, + schemas: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsGroupTagArgs']]]] = None, + tenancy_ocid: Optional[pulumi.Input[str]] = None, + urnietfparamsscimschemasoracleidcsextension_oci_tags: Optional[pulumi.Input['DomainsGroupUrnietfparamsscimschemasoracleidcsextensionOciTagsArgs']] = None, + urnietfparamsscimschemasoracleidcsextensiondbcs_groups: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsGroupUrnietfparamsscimschemasoracleidcsextensiondbcsGroupArgs']]]] = None, + urnietfparamsscimschemasoracleidcsextensiondynamic_group: Optional[pulumi.Input['DomainsGroupUrnietfparamsscimschemasoracleidcsextensiondynamicGroupArgs']] = None, + urnietfparamsscimschemasoracleidcsextensiongroup_group: Optional[pulumi.Input['DomainsGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupArgs']] = None, + urnietfparamsscimschemasoracleidcsextensionposix_group: Optional[pulumi.Input['DomainsGroupUrnietfparamsscimschemasoracleidcsextensionposixGroupArgs']] = None, + urnietfparamsscimschemasoracleidcsextensionrequestable_group: Optional[pulumi.Input['DomainsGroupUrnietfparamsscimschemasoracleidcsextensionrequestableGroupArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if attribute_sets is not None: - pulumi.set(__self__, "attribute_sets", attribute_sets) + _setter("attribute_sets", attribute_sets) if attributes is not None: - pulumi.set(__self__, "attributes", attributes) + _setter("attributes", attributes) if authorization is not None: - pulumi.set(__self__, "authorization", authorization) + _setter("authorization", authorization) if compartment_ocid is not None: - pulumi.set(__self__, "compartment_ocid", compartment_ocid) + _setter("compartment_ocid", compartment_ocid) if delete_in_progress is not None: - pulumi.set(__self__, "delete_in_progress", delete_in_progress) + _setter("delete_in_progress", delete_in_progress) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if domain_ocid is not None: - pulumi.set(__self__, "domain_ocid", domain_ocid) + _setter("domain_ocid", domain_ocid) if external_id is not None: - pulumi.set(__self__, "external_id", external_id) + _setter("external_id", external_id) if idcs_created_bies is not None: - pulumi.set(__self__, "idcs_created_bies", idcs_created_bies) + _setter("idcs_created_bies", idcs_created_bies) if idcs_endpoint is not None: - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) + _setter("idcs_endpoint", idcs_endpoint) if idcs_last_modified_bies is not None: - pulumi.set(__self__, "idcs_last_modified_bies", idcs_last_modified_bies) + _setter("idcs_last_modified_bies", idcs_last_modified_bies) if idcs_last_upgraded_in_release is not None: - pulumi.set(__self__, "idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) + _setter("idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) if idcs_prevented_operations is not None: - pulumi.set(__self__, "idcs_prevented_operations", idcs_prevented_operations) + _setter("idcs_prevented_operations", idcs_prevented_operations) if members is not None: - pulumi.set(__self__, "members", members) + _setter("members", members) if metas is not None: - pulumi.set(__self__, "metas", metas) + _setter("metas", metas) if non_unique_display_name is not None: - pulumi.set(__self__, "non_unique_display_name", non_unique_display_name) + _setter("non_unique_display_name", non_unique_display_name) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if resource_type_schema_version is not None: - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) + _setter("resource_type_schema_version", resource_type_schema_version) if schemas is not None: - pulumi.set(__self__, "schemas", schemas) + _setter("schemas", schemas) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if tenancy_ocid is not None: - pulumi.set(__self__, "tenancy_ocid", tenancy_ocid) + _setter("tenancy_ocid", tenancy_ocid) if urnietfparamsscimschemasoracleidcsextension_oci_tags is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextension_oci_tags", urnietfparamsscimschemasoracleidcsextension_oci_tags) + _setter("urnietfparamsscimschemasoracleidcsextension_oci_tags", urnietfparamsscimschemasoracleidcsextension_oci_tags) if urnietfparamsscimschemasoracleidcsextensiondbcs_groups is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensiondbcs_groups", urnietfparamsscimschemasoracleidcsextensiondbcs_groups) + _setter("urnietfparamsscimschemasoracleidcsextensiondbcs_groups", urnietfparamsscimschemasoracleidcsextensiondbcs_groups) if urnietfparamsscimschemasoracleidcsextensiondynamic_group is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensiondynamic_group", urnietfparamsscimschemasoracleidcsextensiondynamic_group) + _setter("urnietfparamsscimschemasoracleidcsextensiondynamic_group", urnietfparamsscimschemasoracleidcsextensiondynamic_group) if urnietfparamsscimschemasoracleidcsextensiongroup_group is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensiongroup_group", urnietfparamsscimschemasoracleidcsextensiongroup_group) + _setter("urnietfparamsscimschemasoracleidcsextensiongroup_group", urnietfparamsscimschemasoracleidcsextensiongroup_group) if urnietfparamsscimschemasoracleidcsextensionposix_group is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionposix_group", urnietfparamsscimschemasoracleidcsextensionposix_group) + _setter("urnietfparamsscimschemasoracleidcsextensionposix_group", urnietfparamsscimschemasoracleidcsextensionposix_group) if urnietfparamsscimschemasoracleidcsextensionrequestable_group is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionrequestable_group", urnietfparamsscimschemasoracleidcsextensionrequestable_group) + _setter("urnietfparamsscimschemasoracleidcsextensionrequestable_group", urnietfparamsscimschemasoracleidcsextensionrequestable_group) @property @pulumi.getter(name="attributeSets") @@ -1370,6 +1472,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DomainsGroupArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -1419,10 +1525,35 @@ def _internal_init(__self__, raise TypeError("Missing required property 'schemas'") __props__.__dict__["schemas"] = schemas __props__.__dict__["tags"] = tags + if urnietfparamsscimschemasoracleidcsextension_oci_tags is not None and not isinstance(urnietfparamsscimschemasoracleidcsextension_oci_tags, DomainsGroupUrnietfparamsscimschemasoracleidcsextensionOciTagsArgs): + urnietfparamsscimschemasoracleidcsextension_oci_tags = urnietfparamsscimschemasoracleidcsextension_oci_tags or {} + def _setter(key, value): + urnietfparamsscimschemasoracleidcsextension_oci_tags[key] = value + DomainsGroupUrnietfparamsscimschemasoracleidcsextensionOciTagsArgs._configure(_setter, **urnietfparamsscimschemasoracleidcsextension_oci_tags) __props__.__dict__["urnietfparamsscimschemasoracleidcsextension_oci_tags"] = urnietfparamsscimschemasoracleidcsextension_oci_tags + if urnietfparamsscimschemasoracleidcsextensiondynamic_group is not None and not isinstance(urnietfparamsscimschemasoracleidcsextensiondynamic_group, DomainsGroupUrnietfparamsscimschemasoracleidcsextensiondynamicGroupArgs): + urnietfparamsscimschemasoracleidcsextensiondynamic_group = urnietfparamsscimschemasoracleidcsextensiondynamic_group or {} + def _setter(key, value): + urnietfparamsscimschemasoracleidcsextensiondynamic_group[key] = value + DomainsGroupUrnietfparamsscimschemasoracleidcsextensiondynamicGroupArgs._configure(_setter, **urnietfparamsscimschemasoracleidcsextensiondynamic_group) __props__.__dict__["urnietfparamsscimschemasoracleidcsextensiondynamic_group"] = urnietfparamsscimschemasoracleidcsextensiondynamic_group + if urnietfparamsscimschemasoracleidcsextensiongroup_group is not None and not isinstance(urnietfparamsscimschemasoracleidcsextensiongroup_group, DomainsGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupArgs): + urnietfparamsscimschemasoracleidcsextensiongroup_group = urnietfparamsscimschemasoracleidcsextensiongroup_group or {} + def _setter(key, value): + urnietfparamsscimschemasoracleidcsextensiongroup_group[key] = value + DomainsGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupArgs._configure(_setter, **urnietfparamsscimschemasoracleidcsextensiongroup_group) __props__.__dict__["urnietfparamsscimschemasoracleidcsextensiongroup_group"] = urnietfparamsscimschemasoracleidcsextensiongroup_group + if urnietfparamsscimschemasoracleidcsextensionposix_group is not None and not isinstance(urnietfparamsscimschemasoracleidcsextensionposix_group, DomainsGroupUrnietfparamsscimschemasoracleidcsextensionposixGroupArgs): + urnietfparamsscimschemasoracleidcsextensionposix_group = urnietfparamsscimschemasoracleidcsextensionposix_group or {} + def _setter(key, value): + urnietfparamsscimschemasoracleidcsextensionposix_group[key] = value + DomainsGroupUrnietfparamsscimschemasoracleidcsextensionposixGroupArgs._configure(_setter, **urnietfparamsscimschemasoracleidcsextensionposix_group) __props__.__dict__["urnietfparamsscimschemasoracleidcsextensionposix_group"] = urnietfparamsscimschemasoracleidcsextensionposix_group + if urnietfparamsscimschemasoracleidcsextensionrequestable_group is not None and not isinstance(urnietfparamsscimschemasoracleidcsextensionrequestable_group, DomainsGroupUrnietfparamsscimschemasoracleidcsextensionrequestableGroupArgs): + urnietfparamsscimschemasoracleidcsextensionrequestable_group = urnietfparamsscimschemasoracleidcsextensionrequestable_group or {} + def _setter(key, value): + urnietfparamsscimschemasoracleidcsextensionrequestable_group[key] = value + DomainsGroupUrnietfparamsscimschemasoracleidcsextensionrequestableGroupArgs._configure(_setter, **urnietfparamsscimschemasoracleidcsextensionrequestable_group) __props__.__dict__["urnietfparamsscimschemasoracleidcsextensionrequestable_group"] = urnietfparamsscimschemasoracleidcsextensionrequestable_group __props__.__dict__["compartment_ocid"] = None __props__.__dict__["delete_in_progress"] = None diff --git a/sdk/python/pulumi_oci/identity/domains_identity_provider.py b/sdk/python/pulumi_oci/identity/domains_identity_provider.py index f2d007e140..50282bbf86 100644 --- a/sdk/python/pulumi_oci/identity/domains_identity_provider.py +++ b/sdk/python/pulumi_oci/identity/domains_identity_provider.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -622,106 +622,217 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "enabled", enabled) - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) - pulumi.set(__self__, "partner_name", partner_name) - pulumi.set(__self__, "schemas", schemas) + DomainsIdentityProviderArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + enabled=enabled, + idcs_endpoint=idcs_endpoint, + partner_name=partner_name, + schemas=schemas, + assertion_attribute=assertion_attribute, + attribute_sets=attribute_sets, + attributes=attributes, + authn_request_binding=authn_request_binding, + authorization=authorization, + correlation_policy=correlation_policy, + description=description, + encryption_certificate=encryption_certificate, + external_id=external_id, + icon_url=icon_url, + idp_sso_url=idp_sso_url, + include_signing_cert_in_signature=include_signing_cert_in_signature, + jit_user_prov_assigned_groups=jit_user_prov_assigned_groups, + jit_user_prov_attribute_update_enabled=jit_user_prov_attribute_update_enabled, + jit_user_prov_attributes=jit_user_prov_attributes, + jit_user_prov_create_user_enabled=jit_user_prov_create_user_enabled, + jit_user_prov_enabled=jit_user_prov_enabled, + jit_user_prov_group_assertion_attribute_enabled=jit_user_prov_group_assertion_attribute_enabled, + jit_user_prov_group_assignment_method=jit_user_prov_group_assignment_method, + jit_user_prov_group_mapping_mode=jit_user_prov_group_mapping_mode, + jit_user_prov_group_mappings=jit_user_prov_group_mappings, + jit_user_prov_group_saml_attribute_name=jit_user_prov_group_saml_attribute_name, + jit_user_prov_group_static_list_enabled=jit_user_prov_group_static_list_enabled, + jit_user_prov_ignore_error_on_absent_groups=jit_user_prov_ignore_error_on_absent_groups, + logout_binding=logout_binding, + logout_enabled=logout_enabled, + logout_request_url=logout_request_url, + logout_response_url=logout_response_url, + metadata=metadata, + name_id_format=name_id_format, + ocid=ocid, + partner_provider_id=partner_provider_id, + requested_authentication_contexts=requested_authentication_contexts, + require_force_authn=require_force_authn, + requires_encrypted_assertion=requires_encrypted_assertion, + resource_type_schema_version=resource_type_schema_version, + saml_ho_krequired=saml_ho_krequired, + service_instance_identifier=service_instance_identifier, + shown_on_login_page=shown_on_login_page, + signature_hash_algorithm=signature_hash_algorithm, + signing_certificate=signing_certificate, + succinct_id=succinct_id, + tags=tags, + type=type, + urnietfparamsscimschemasoracleidcsextensionsocial_identity_provider=urnietfparamsscimschemasoracleidcsextensionsocial_identity_provider, + urnietfparamsscimschemasoracleidcsextensionx509identity_provider=urnietfparamsscimschemasoracleidcsextensionx509identity_provider, + user_mapping_method=user_mapping_method, + user_mapping_store_attribute=user_mapping_store_attribute, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + enabled: pulumi.Input[bool], + idcs_endpoint: pulumi.Input[str], + partner_name: pulumi.Input[str], + schemas: pulumi.Input[Sequence[pulumi.Input[str]]], + assertion_attribute: Optional[pulumi.Input[str]] = None, + attribute_sets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + attributes: Optional[pulumi.Input[str]] = None, + authn_request_binding: Optional[pulumi.Input[str]] = None, + authorization: Optional[pulumi.Input[str]] = None, + correlation_policy: Optional[pulumi.Input['DomainsIdentityProviderCorrelationPolicyArgs']] = None, + description: Optional[pulumi.Input[str]] = None, + encryption_certificate: Optional[pulumi.Input[str]] = None, + external_id: Optional[pulumi.Input[str]] = None, + icon_url: Optional[pulumi.Input[str]] = None, + idp_sso_url: Optional[pulumi.Input[str]] = None, + include_signing_cert_in_signature: Optional[pulumi.Input[bool]] = None, + jit_user_prov_assigned_groups: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsIdentityProviderJitUserProvAssignedGroupArgs']]]] = None, + jit_user_prov_attribute_update_enabled: Optional[pulumi.Input[bool]] = None, + jit_user_prov_attributes: Optional[pulumi.Input['DomainsIdentityProviderJitUserProvAttributesArgs']] = None, + jit_user_prov_create_user_enabled: Optional[pulumi.Input[bool]] = None, + jit_user_prov_enabled: Optional[pulumi.Input[bool]] = None, + jit_user_prov_group_assertion_attribute_enabled: Optional[pulumi.Input[bool]] = None, + jit_user_prov_group_assignment_method: Optional[pulumi.Input[str]] = None, + jit_user_prov_group_mapping_mode: Optional[pulumi.Input[str]] = None, + jit_user_prov_group_mappings: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsIdentityProviderJitUserProvGroupMappingArgs']]]] = None, + jit_user_prov_group_saml_attribute_name: Optional[pulumi.Input[str]] = None, + jit_user_prov_group_static_list_enabled: Optional[pulumi.Input[bool]] = None, + jit_user_prov_ignore_error_on_absent_groups: Optional[pulumi.Input[bool]] = None, + logout_binding: Optional[pulumi.Input[str]] = None, + logout_enabled: Optional[pulumi.Input[bool]] = None, + logout_request_url: Optional[pulumi.Input[str]] = None, + logout_response_url: Optional[pulumi.Input[str]] = None, + metadata: Optional[pulumi.Input[str]] = None, + name_id_format: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + partner_provider_id: Optional[pulumi.Input[str]] = None, + requested_authentication_contexts: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + require_force_authn: Optional[pulumi.Input[bool]] = None, + requires_encrypted_assertion: Optional[pulumi.Input[bool]] = None, + resource_type_schema_version: Optional[pulumi.Input[str]] = None, + saml_ho_krequired: Optional[pulumi.Input[bool]] = None, + service_instance_identifier: Optional[pulumi.Input[str]] = None, + shown_on_login_page: Optional[pulumi.Input[bool]] = None, + signature_hash_algorithm: Optional[pulumi.Input[str]] = None, + signing_certificate: Optional[pulumi.Input[str]] = None, + succinct_id: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsIdentityProviderTagArgs']]]] = None, + type: Optional[pulumi.Input[str]] = None, + urnietfparamsscimschemasoracleidcsextensionsocial_identity_provider: Optional[pulumi.Input['DomainsIdentityProviderUrnietfparamsscimschemasoracleidcsextensionsocialIdentityProviderArgs']] = None, + urnietfparamsscimschemasoracleidcsextensionx509identity_provider: Optional[pulumi.Input['DomainsIdentityProviderUrnietfparamsscimschemasoracleidcsextensionx509identityProviderArgs']] = None, + user_mapping_method: Optional[pulumi.Input[str]] = None, + user_mapping_store_attribute: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("enabled", enabled) + _setter("idcs_endpoint", idcs_endpoint) + _setter("partner_name", partner_name) + _setter("schemas", schemas) if assertion_attribute is not None: - pulumi.set(__self__, "assertion_attribute", assertion_attribute) + _setter("assertion_attribute", assertion_attribute) if attribute_sets is not None: - pulumi.set(__self__, "attribute_sets", attribute_sets) + _setter("attribute_sets", attribute_sets) if attributes is not None: - pulumi.set(__self__, "attributes", attributes) + _setter("attributes", attributes) if authn_request_binding is not None: - pulumi.set(__self__, "authn_request_binding", authn_request_binding) + _setter("authn_request_binding", authn_request_binding) if authorization is not None: - pulumi.set(__self__, "authorization", authorization) + _setter("authorization", authorization) if correlation_policy is not None: - pulumi.set(__self__, "correlation_policy", correlation_policy) + _setter("correlation_policy", correlation_policy) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if encryption_certificate is not None: - pulumi.set(__self__, "encryption_certificate", encryption_certificate) + _setter("encryption_certificate", encryption_certificate) if external_id is not None: - pulumi.set(__self__, "external_id", external_id) + _setter("external_id", external_id) if icon_url is not None: - pulumi.set(__self__, "icon_url", icon_url) + _setter("icon_url", icon_url) if idp_sso_url is not None: - pulumi.set(__self__, "idp_sso_url", idp_sso_url) + _setter("idp_sso_url", idp_sso_url) if include_signing_cert_in_signature is not None: - pulumi.set(__self__, "include_signing_cert_in_signature", include_signing_cert_in_signature) + _setter("include_signing_cert_in_signature", include_signing_cert_in_signature) if jit_user_prov_assigned_groups is not None: - pulumi.set(__self__, "jit_user_prov_assigned_groups", jit_user_prov_assigned_groups) + _setter("jit_user_prov_assigned_groups", jit_user_prov_assigned_groups) if jit_user_prov_attribute_update_enabled is not None: - pulumi.set(__self__, "jit_user_prov_attribute_update_enabled", jit_user_prov_attribute_update_enabled) + _setter("jit_user_prov_attribute_update_enabled", jit_user_prov_attribute_update_enabled) if jit_user_prov_attributes is not None: - pulumi.set(__self__, "jit_user_prov_attributes", jit_user_prov_attributes) + _setter("jit_user_prov_attributes", jit_user_prov_attributes) if jit_user_prov_create_user_enabled is not None: - pulumi.set(__self__, "jit_user_prov_create_user_enabled", jit_user_prov_create_user_enabled) + _setter("jit_user_prov_create_user_enabled", jit_user_prov_create_user_enabled) if jit_user_prov_enabled is not None: - pulumi.set(__self__, "jit_user_prov_enabled", jit_user_prov_enabled) + _setter("jit_user_prov_enabled", jit_user_prov_enabled) if jit_user_prov_group_assertion_attribute_enabled is not None: - pulumi.set(__self__, "jit_user_prov_group_assertion_attribute_enabled", jit_user_prov_group_assertion_attribute_enabled) + _setter("jit_user_prov_group_assertion_attribute_enabled", jit_user_prov_group_assertion_attribute_enabled) if jit_user_prov_group_assignment_method is not None: - pulumi.set(__self__, "jit_user_prov_group_assignment_method", jit_user_prov_group_assignment_method) + _setter("jit_user_prov_group_assignment_method", jit_user_prov_group_assignment_method) if jit_user_prov_group_mapping_mode is not None: - pulumi.set(__self__, "jit_user_prov_group_mapping_mode", jit_user_prov_group_mapping_mode) + _setter("jit_user_prov_group_mapping_mode", jit_user_prov_group_mapping_mode) if jit_user_prov_group_mappings is not None: - pulumi.set(__self__, "jit_user_prov_group_mappings", jit_user_prov_group_mappings) + _setter("jit_user_prov_group_mappings", jit_user_prov_group_mappings) if jit_user_prov_group_saml_attribute_name is not None: - pulumi.set(__self__, "jit_user_prov_group_saml_attribute_name", jit_user_prov_group_saml_attribute_name) + _setter("jit_user_prov_group_saml_attribute_name", jit_user_prov_group_saml_attribute_name) if jit_user_prov_group_static_list_enabled is not None: - pulumi.set(__self__, "jit_user_prov_group_static_list_enabled", jit_user_prov_group_static_list_enabled) + _setter("jit_user_prov_group_static_list_enabled", jit_user_prov_group_static_list_enabled) if jit_user_prov_ignore_error_on_absent_groups is not None: - pulumi.set(__self__, "jit_user_prov_ignore_error_on_absent_groups", jit_user_prov_ignore_error_on_absent_groups) + _setter("jit_user_prov_ignore_error_on_absent_groups", jit_user_prov_ignore_error_on_absent_groups) if logout_binding is not None: - pulumi.set(__self__, "logout_binding", logout_binding) + _setter("logout_binding", logout_binding) if logout_enabled is not None: - pulumi.set(__self__, "logout_enabled", logout_enabled) + _setter("logout_enabled", logout_enabled) if logout_request_url is not None: - pulumi.set(__self__, "logout_request_url", logout_request_url) + _setter("logout_request_url", logout_request_url) if logout_response_url is not None: - pulumi.set(__self__, "logout_response_url", logout_response_url) + _setter("logout_response_url", logout_response_url) if metadata is not None: - pulumi.set(__self__, "metadata", metadata) + _setter("metadata", metadata) if name_id_format is not None: - pulumi.set(__self__, "name_id_format", name_id_format) + _setter("name_id_format", name_id_format) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if partner_provider_id is not None: - pulumi.set(__self__, "partner_provider_id", partner_provider_id) + _setter("partner_provider_id", partner_provider_id) if requested_authentication_contexts is not None: - pulumi.set(__self__, "requested_authentication_contexts", requested_authentication_contexts) + _setter("requested_authentication_contexts", requested_authentication_contexts) if require_force_authn is not None: - pulumi.set(__self__, "require_force_authn", require_force_authn) + _setter("require_force_authn", require_force_authn) if requires_encrypted_assertion is not None: - pulumi.set(__self__, "requires_encrypted_assertion", requires_encrypted_assertion) + _setter("requires_encrypted_assertion", requires_encrypted_assertion) if resource_type_schema_version is not None: - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) + _setter("resource_type_schema_version", resource_type_schema_version) if saml_ho_krequired is not None: - pulumi.set(__self__, "saml_ho_krequired", saml_ho_krequired) + _setter("saml_ho_krequired", saml_ho_krequired) if service_instance_identifier is not None: - pulumi.set(__self__, "service_instance_identifier", service_instance_identifier) + _setter("service_instance_identifier", service_instance_identifier) if shown_on_login_page is not None: - pulumi.set(__self__, "shown_on_login_page", shown_on_login_page) + _setter("shown_on_login_page", shown_on_login_page) if signature_hash_algorithm is not None: - pulumi.set(__self__, "signature_hash_algorithm", signature_hash_algorithm) + _setter("signature_hash_algorithm", signature_hash_algorithm) if signing_certificate is not None: - pulumi.set(__self__, "signing_certificate", signing_certificate) + _setter("signing_certificate", signing_certificate) if succinct_id is not None: - pulumi.set(__self__, "succinct_id", succinct_id) + _setter("succinct_id", succinct_id) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if urnietfparamsscimschemasoracleidcsextensionsocial_identity_provider is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionsocial_identity_provider", urnietfparamsscimschemasoracleidcsextensionsocial_identity_provider) + _setter("urnietfparamsscimschemasoracleidcsextensionsocial_identity_provider", urnietfparamsscimschemasoracleidcsextensionsocial_identity_provider) if urnietfparamsscimschemasoracleidcsextensionx509identity_provider is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionx509identity_provider", urnietfparamsscimschemasoracleidcsextensionx509identity_provider) + _setter("urnietfparamsscimschemasoracleidcsextensionx509identity_provider", urnietfparamsscimschemasoracleidcsextensionx509identity_provider) if user_mapping_method is not None: - pulumi.set(__self__, "user_mapping_method", user_mapping_method) + _setter("user_mapping_method", user_mapping_method) if user_mapping_store_attribute is not None: - pulumi.set(__self__, "user_mapping_store_attribute", user_mapping_store_attribute) + _setter("user_mapping_store_attribute", user_mapping_store_attribute) @property @pulumi.getter @@ -2587,132 +2698,265 @@ def __init__(__self__, *, ** 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 """ + _DomainsIdentityProviderState._configure( + lambda key, value: pulumi.set(__self__, key, value), + assertion_attribute=assertion_attribute, + attribute_sets=attribute_sets, + attributes=attributes, + authn_request_binding=authn_request_binding, + authorization=authorization, + compartment_ocid=compartment_ocid, + correlation_policy=correlation_policy, + delete_in_progress=delete_in_progress, + description=description, + domain_ocid=domain_ocid, + enabled=enabled, + encryption_certificate=encryption_certificate, + external_id=external_id, + icon_url=icon_url, + idcs_created_bies=idcs_created_bies, + idcs_endpoint=idcs_endpoint, + idcs_last_modified_bies=idcs_last_modified_bies, + idcs_last_upgraded_in_release=idcs_last_upgraded_in_release, + idcs_prevented_operations=idcs_prevented_operations, + idp_sso_url=idp_sso_url, + include_signing_cert_in_signature=include_signing_cert_in_signature, + jit_user_prov_assigned_groups=jit_user_prov_assigned_groups, + jit_user_prov_attribute_update_enabled=jit_user_prov_attribute_update_enabled, + jit_user_prov_attributes=jit_user_prov_attributes, + jit_user_prov_create_user_enabled=jit_user_prov_create_user_enabled, + jit_user_prov_enabled=jit_user_prov_enabled, + jit_user_prov_group_assertion_attribute_enabled=jit_user_prov_group_assertion_attribute_enabled, + jit_user_prov_group_assignment_method=jit_user_prov_group_assignment_method, + jit_user_prov_group_mapping_mode=jit_user_prov_group_mapping_mode, + jit_user_prov_group_mappings=jit_user_prov_group_mappings, + jit_user_prov_group_saml_attribute_name=jit_user_prov_group_saml_attribute_name, + jit_user_prov_group_static_list_enabled=jit_user_prov_group_static_list_enabled, + jit_user_prov_ignore_error_on_absent_groups=jit_user_prov_ignore_error_on_absent_groups, + last_notification_sent_time=last_notification_sent_time, + logout_binding=logout_binding, + logout_enabled=logout_enabled, + logout_request_url=logout_request_url, + logout_response_url=logout_response_url, + metadata=metadata, + metas=metas, + name_id_format=name_id_format, + ocid=ocid, + partner_name=partner_name, + partner_provider_id=partner_provider_id, + requested_authentication_contexts=requested_authentication_contexts, + require_force_authn=require_force_authn, + requires_encrypted_assertion=requires_encrypted_assertion, + resource_type_schema_version=resource_type_schema_version, + saml_ho_krequired=saml_ho_krequired, + schemas=schemas, + service_instance_identifier=service_instance_identifier, + shown_on_login_page=shown_on_login_page, + signature_hash_algorithm=signature_hash_algorithm, + signing_certificate=signing_certificate, + succinct_id=succinct_id, + tags=tags, + tenancy_ocid=tenancy_ocid, + tenant_provider_id=tenant_provider_id, + type=type, + urnietfparamsscimschemasoracleidcsextensionsocial_identity_provider=urnietfparamsscimschemasoracleidcsextensionsocial_identity_provider, + urnietfparamsscimschemasoracleidcsextensionx509identity_provider=urnietfparamsscimschemasoracleidcsextensionx509identity_provider, + user_mapping_method=user_mapping_method, + user_mapping_store_attribute=user_mapping_store_attribute, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + assertion_attribute: Optional[pulumi.Input[str]] = None, + attribute_sets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + attributes: Optional[pulumi.Input[str]] = None, + authn_request_binding: Optional[pulumi.Input[str]] = None, + authorization: Optional[pulumi.Input[str]] = None, + compartment_ocid: Optional[pulumi.Input[str]] = None, + correlation_policy: Optional[pulumi.Input['DomainsIdentityProviderCorrelationPolicyArgs']] = None, + delete_in_progress: Optional[pulumi.Input[bool]] = None, + description: Optional[pulumi.Input[str]] = None, + domain_ocid: Optional[pulumi.Input[str]] = None, + enabled: Optional[pulumi.Input[bool]] = None, + encryption_certificate: Optional[pulumi.Input[str]] = None, + external_id: Optional[pulumi.Input[str]] = None, + icon_url: Optional[pulumi.Input[str]] = None, + idcs_created_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsIdentityProviderIdcsCreatedByArgs']]]] = None, + idcs_endpoint: Optional[pulumi.Input[str]] = None, + idcs_last_modified_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsIdentityProviderIdcsLastModifiedByArgs']]]] = None, + idcs_last_upgraded_in_release: Optional[pulumi.Input[str]] = None, + idcs_prevented_operations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + idp_sso_url: Optional[pulumi.Input[str]] = None, + include_signing_cert_in_signature: Optional[pulumi.Input[bool]] = None, + jit_user_prov_assigned_groups: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsIdentityProviderJitUserProvAssignedGroupArgs']]]] = None, + jit_user_prov_attribute_update_enabled: Optional[pulumi.Input[bool]] = None, + jit_user_prov_attributes: Optional[pulumi.Input['DomainsIdentityProviderJitUserProvAttributesArgs']] = None, + jit_user_prov_create_user_enabled: Optional[pulumi.Input[bool]] = None, + jit_user_prov_enabled: Optional[pulumi.Input[bool]] = None, + jit_user_prov_group_assertion_attribute_enabled: Optional[pulumi.Input[bool]] = None, + jit_user_prov_group_assignment_method: Optional[pulumi.Input[str]] = None, + jit_user_prov_group_mapping_mode: Optional[pulumi.Input[str]] = None, + jit_user_prov_group_mappings: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsIdentityProviderJitUserProvGroupMappingArgs']]]] = None, + jit_user_prov_group_saml_attribute_name: Optional[pulumi.Input[str]] = None, + jit_user_prov_group_static_list_enabled: Optional[pulumi.Input[bool]] = None, + jit_user_prov_ignore_error_on_absent_groups: Optional[pulumi.Input[bool]] = None, + last_notification_sent_time: Optional[pulumi.Input[str]] = None, + logout_binding: Optional[pulumi.Input[str]] = None, + logout_enabled: Optional[pulumi.Input[bool]] = None, + logout_request_url: Optional[pulumi.Input[str]] = None, + logout_response_url: Optional[pulumi.Input[str]] = None, + metadata: Optional[pulumi.Input[str]] = None, + metas: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsIdentityProviderMetaArgs']]]] = None, + name_id_format: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + partner_name: Optional[pulumi.Input[str]] = None, + partner_provider_id: Optional[pulumi.Input[str]] = None, + requested_authentication_contexts: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + require_force_authn: Optional[pulumi.Input[bool]] = None, + requires_encrypted_assertion: Optional[pulumi.Input[bool]] = None, + resource_type_schema_version: Optional[pulumi.Input[str]] = None, + saml_ho_krequired: Optional[pulumi.Input[bool]] = None, + schemas: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + service_instance_identifier: Optional[pulumi.Input[str]] = None, + shown_on_login_page: Optional[pulumi.Input[bool]] = None, + signature_hash_algorithm: Optional[pulumi.Input[str]] = None, + signing_certificate: Optional[pulumi.Input[str]] = None, + succinct_id: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsIdentityProviderTagArgs']]]] = None, + tenancy_ocid: Optional[pulumi.Input[str]] = None, + tenant_provider_id: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + urnietfparamsscimschemasoracleidcsextensionsocial_identity_provider: Optional[pulumi.Input['DomainsIdentityProviderUrnietfparamsscimschemasoracleidcsextensionsocialIdentityProviderArgs']] = None, + urnietfparamsscimschemasoracleidcsextensionx509identity_provider: Optional[pulumi.Input['DomainsIdentityProviderUrnietfparamsscimschemasoracleidcsextensionx509identityProviderArgs']] = None, + user_mapping_method: Optional[pulumi.Input[str]] = None, + user_mapping_store_attribute: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if assertion_attribute is not None: - pulumi.set(__self__, "assertion_attribute", assertion_attribute) + _setter("assertion_attribute", assertion_attribute) if attribute_sets is not None: - pulumi.set(__self__, "attribute_sets", attribute_sets) + _setter("attribute_sets", attribute_sets) if attributes is not None: - pulumi.set(__self__, "attributes", attributes) + _setter("attributes", attributes) if authn_request_binding is not None: - pulumi.set(__self__, "authn_request_binding", authn_request_binding) + _setter("authn_request_binding", authn_request_binding) if authorization is not None: - pulumi.set(__self__, "authorization", authorization) + _setter("authorization", authorization) if compartment_ocid is not None: - pulumi.set(__self__, "compartment_ocid", compartment_ocid) + _setter("compartment_ocid", compartment_ocid) if correlation_policy is not None: - pulumi.set(__self__, "correlation_policy", correlation_policy) + _setter("correlation_policy", correlation_policy) if delete_in_progress is not None: - pulumi.set(__self__, "delete_in_progress", delete_in_progress) + _setter("delete_in_progress", delete_in_progress) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if domain_ocid is not None: - pulumi.set(__self__, "domain_ocid", domain_ocid) + _setter("domain_ocid", domain_ocid) if enabled is not None: - pulumi.set(__self__, "enabled", enabled) + _setter("enabled", enabled) if encryption_certificate is not None: - pulumi.set(__self__, "encryption_certificate", encryption_certificate) + _setter("encryption_certificate", encryption_certificate) if external_id is not None: - pulumi.set(__self__, "external_id", external_id) + _setter("external_id", external_id) if icon_url is not None: - pulumi.set(__self__, "icon_url", icon_url) + _setter("icon_url", icon_url) if idcs_created_bies is not None: - pulumi.set(__self__, "idcs_created_bies", idcs_created_bies) + _setter("idcs_created_bies", idcs_created_bies) if idcs_endpoint is not None: - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) + _setter("idcs_endpoint", idcs_endpoint) if idcs_last_modified_bies is not None: - pulumi.set(__self__, "idcs_last_modified_bies", idcs_last_modified_bies) + _setter("idcs_last_modified_bies", idcs_last_modified_bies) if idcs_last_upgraded_in_release is not None: - pulumi.set(__self__, "idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) + _setter("idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) if idcs_prevented_operations is not None: - pulumi.set(__self__, "idcs_prevented_operations", idcs_prevented_operations) + _setter("idcs_prevented_operations", idcs_prevented_operations) if idp_sso_url is not None: - pulumi.set(__self__, "idp_sso_url", idp_sso_url) + _setter("idp_sso_url", idp_sso_url) if include_signing_cert_in_signature is not None: - pulumi.set(__self__, "include_signing_cert_in_signature", include_signing_cert_in_signature) + _setter("include_signing_cert_in_signature", include_signing_cert_in_signature) if jit_user_prov_assigned_groups is not None: - pulumi.set(__self__, "jit_user_prov_assigned_groups", jit_user_prov_assigned_groups) + _setter("jit_user_prov_assigned_groups", jit_user_prov_assigned_groups) if jit_user_prov_attribute_update_enabled is not None: - pulumi.set(__self__, "jit_user_prov_attribute_update_enabled", jit_user_prov_attribute_update_enabled) + _setter("jit_user_prov_attribute_update_enabled", jit_user_prov_attribute_update_enabled) if jit_user_prov_attributes is not None: - pulumi.set(__self__, "jit_user_prov_attributes", jit_user_prov_attributes) + _setter("jit_user_prov_attributes", jit_user_prov_attributes) if jit_user_prov_create_user_enabled is not None: - pulumi.set(__self__, "jit_user_prov_create_user_enabled", jit_user_prov_create_user_enabled) + _setter("jit_user_prov_create_user_enabled", jit_user_prov_create_user_enabled) if jit_user_prov_enabled is not None: - pulumi.set(__self__, "jit_user_prov_enabled", jit_user_prov_enabled) + _setter("jit_user_prov_enabled", jit_user_prov_enabled) if jit_user_prov_group_assertion_attribute_enabled is not None: - pulumi.set(__self__, "jit_user_prov_group_assertion_attribute_enabled", jit_user_prov_group_assertion_attribute_enabled) + _setter("jit_user_prov_group_assertion_attribute_enabled", jit_user_prov_group_assertion_attribute_enabled) if jit_user_prov_group_assignment_method is not None: - pulumi.set(__self__, "jit_user_prov_group_assignment_method", jit_user_prov_group_assignment_method) + _setter("jit_user_prov_group_assignment_method", jit_user_prov_group_assignment_method) if jit_user_prov_group_mapping_mode is not None: - pulumi.set(__self__, "jit_user_prov_group_mapping_mode", jit_user_prov_group_mapping_mode) + _setter("jit_user_prov_group_mapping_mode", jit_user_prov_group_mapping_mode) if jit_user_prov_group_mappings is not None: - pulumi.set(__self__, "jit_user_prov_group_mappings", jit_user_prov_group_mappings) + _setter("jit_user_prov_group_mappings", jit_user_prov_group_mappings) if jit_user_prov_group_saml_attribute_name is not None: - pulumi.set(__self__, "jit_user_prov_group_saml_attribute_name", jit_user_prov_group_saml_attribute_name) + _setter("jit_user_prov_group_saml_attribute_name", jit_user_prov_group_saml_attribute_name) if jit_user_prov_group_static_list_enabled is not None: - pulumi.set(__self__, "jit_user_prov_group_static_list_enabled", jit_user_prov_group_static_list_enabled) + _setter("jit_user_prov_group_static_list_enabled", jit_user_prov_group_static_list_enabled) if jit_user_prov_ignore_error_on_absent_groups is not None: - pulumi.set(__self__, "jit_user_prov_ignore_error_on_absent_groups", jit_user_prov_ignore_error_on_absent_groups) + _setter("jit_user_prov_ignore_error_on_absent_groups", jit_user_prov_ignore_error_on_absent_groups) if last_notification_sent_time is not None: - pulumi.set(__self__, "last_notification_sent_time", last_notification_sent_time) + _setter("last_notification_sent_time", last_notification_sent_time) if logout_binding is not None: - pulumi.set(__self__, "logout_binding", logout_binding) + _setter("logout_binding", logout_binding) if logout_enabled is not None: - pulumi.set(__self__, "logout_enabled", logout_enabled) + _setter("logout_enabled", logout_enabled) if logout_request_url is not None: - pulumi.set(__self__, "logout_request_url", logout_request_url) + _setter("logout_request_url", logout_request_url) if logout_response_url is not None: - pulumi.set(__self__, "logout_response_url", logout_response_url) + _setter("logout_response_url", logout_response_url) if metadata is not None: - pulumi.set(__self__, "metadata", metadata) + _setter("metadata", metadata) if metas is not None: - pulumi.set(__self__, "metas", metas) + _setter("metas", metas) if name_id_format is not None: - pulumi.set(__self__, "name_id_format", name_id_format) + _setter("name_id_format", name_id_format) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if partner_name is not None: - pulumi.set(__self__, "partner_name", partner_name) + _setter("partner_name", partner_name) if partner_provider_id is not None: - pulumi.set(__self__, "partner_provider_id", partner_provider_id) + _setter("partner_provider_id", partner_provider_id) if requested_authentication_contexts is not None: - pulumi.set(__self__, "requested_authentication_contexts", requested_authentication_contexts) + _setter("requested_authentication_contexts", requested_authentication_contexts) if require_force_authn is not None: - pulumi.set(__self__, "require_force_authn", require_force_authn) + _setter("require_force_authn", require_force_authn) if requires_encrypted_assertion is not None: - pulumi.set(__self__, "requires_encrypted_assertion", requires_encrypted_assertion) + _setter("requires_encrypted_assertion", requires_encrypted_assertion) if resource_type_schema_version is not None: - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) + _setter("resource_type_schema_version", resource_type_schema_version) if saml_ho_krequired is not None: - pulumi.set(__self__, "saml_ho_krequired", saml_ho_krequired) + _setter("saml_ho_krequired", saml_ho_krequired) if schemas is not None: - pulumi.set(__self__, "schemas", schemas) + _setter("schemas", schemas) if service_instance_identifier is not None: - pulumi.set(__self__, "service_instance_identifier", service_instance_identifier) + _setter("service_instance_identifier", service_instance_identifier) if shown_on_login_page is not None: - pulumi.set(__self__, "shown_on_login_page", shown_on_login_page) + _setter("shown_on_login_page", shown_on_login_page) if signature_hash_algorithm is not None: - pulumi.set(__self__, "signature_hash_algorithm", signature_hash_algorithm) + _setter("signature_hash_algorithm", signature_hash_algorithm) if signing_certificate is not None: - pulumi.set(__self__, "signing_certificate", signing_certificate) + _setter("signing_certificate", signing_certificate) if succinct_id is not None: - pulumi.set(__self__, "succinct_id", succinct_id) + _setter("succinct_id", succinct_id) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if tenancy_ocid is not None: - pulumi.set(__self__, "tenancy_ocid", tenancy_ocid) + _setter("tenancy_ocid", tenancy_ocid) if tenant_provider_id is not None: - pulumi.set(__self__, "tenant_provider_id", tenant_provider_id) + _setter("tenant_provider_id", tenant_provider_id) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if urnietfparamsscimschemasoracleidcsextensionsocial_identity_provider is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionsocial_identity_provider", urnietfparamsscimschemasoracleidcsextensionsocial_identity_provider) + _setter("urnietfparamsscimschemasoracleidcsextensionsocial_identity_provider", urnietfparamsscimschemasoracleidcsextensionsocial_identity_provider) if urnietfparamsscimschemasoracleidcsextensionx509identity_provider is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionx509identity_provider", urnietfparamsscimschemasoracleidcsextensionx509identity_provider) + _setter("urnietfparamsscimschemasoracleidcsextensionx509identity_provider", urnietfparamsscimschemasoracleidcsextensionx509identity_provider) if user_mapping_method is not None: - pulumi.set(__self__, "user_mapping_method", user_mapping_method) + _setter("user_mapping_method", user_mapping_method) if user_mapping_store_attribute is not None: - pulumi.set(__self__, "user_mapping_store_attribute", user_mapping_store_attribute) + _setter("user_mapping_store_attribute", user_mapping_store_attribute) @property @pulumi.getter(name="assertionAttribute") @@ -4733,6 +4977,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DomainsIdentityProviderArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -4804,6 +5052,11 @@ def _internal_init(__self__, __props__.__dict__["attributes"] = attributes __props__.__dict__["authn_request_binding"] = authn_request_binding __props__.__dict__["authorization"] = authorization + if correlation_policy is not None and not isinstance(correlation_policy, DomainsIdentityProviderCorrelationPolicyArgs): + correlation_policy = correlation_policy or {} + def _setter(key, value): + correlation_policy[key] = value + DomainsIdentityProviderCorrelationPolicyArgs._configure(_setter, **correlation_policy) __props__.__dict__["correlation_policy"] = correlation_policy __props__.__dict__["description"] = description if enabled is None and not opts.urn: @@ -4819,6 +5072,11 @@ def _internal_init(__self__, __props__.__dict__["include_signing_cert_in_signature"] = include_signing_cert_in_signature __props__.__dict__["jit_user_prov_assigned_groups"] = jit_user_prov_assigned_groups __props__.__dict__["jit_user_prov_attribute_update_enabled"] = jit_user_prov_attribute_update_enabled + if jit_user_prov_attributes is not None and not isinstance(jit_user_prov_attributes, DomainsIdentityProviderJitUserProvAttributesArgs): + jit_user_prov_attributes = jit_user_prov_attributes or {} + def _setter(key, value): + jit_user_prov_attributes[key] = value + DomainsIdentityProviderJitUserProvAttributesArgs._configure(_setter, **jit_user_prov_attributes) __props__.__dict__["jit_user_prov_attributes"] = jit_user_prov_attributes __props__.__dict__["jit_user_prov_create_user_enabled"] = jit_user_prov_create_user_enabled __props__.__dict__["jit_user_prov_enabled"] = jit_user_prov_enabled @@ -4855,7 +5113,17 @@ def _internal_init(__self__, __props__.__dict__["succinct_id"] = succinct_id __props__.__dict__["tags"] = tags __props__.__dict__["type"] = type + if urnietfparamsscimschemasoracleidcsextensionsocial_identity_provider is not None and not isinstance(urnietfparamsscimschemasoracleidcsextensionsocial_identity_provider, DomainsIdentityProviderUrnietfparamsscimschemasoracleidcsextensionsocialIdentityProviderArgs): + urnietfparamsscimschemasoracleidcsextensionsocial_identity_provider = urnietfparamsscimschemasoracleidcsextensionsocial_identity_provider or {} + def _setter(key, value): + urnietfparamsscimschemasoracleidcsextensionsocial_identity_provider[key] = value + DomainsIdentityProviderUrnietfparamsscimschemasoracleidcsextensionsocialIdentityProviderArgs._configure(_setter, **urnietfparamsscimschemasoracleidcsextensionsocial_identity_provider) __props__.__dict__["urnietfparamsscimschemasoracleidcsextensionsocial_identity_provider"] = urnietfparamsscimschemasoracleidcsextensionsocial_identity_provider + if urnietfparamsscimschemasoracleidcsextensionx509identity_provider is not None and not isinstance(urnietfparamsscimschemasoracleidcsextensionx509identity_provider, DomainsIdentityProviderUrnietfparamsscimschemasoracleidcsextensionx509identityProviderArgs): + urnietfparamsscimschemasoracleidcsextensionx509identity_provider = urnietfparamsscimschemasoracleidcsextensionx509identity_provider or {} + def _setter(key, value): + urnietfparamsscimschemasoracleidcsextensionx509identity_provider[key] = value + DomainsIdentityProviderUrnietfparamsscimschemasoracleidcsextensionx509identityProviderArgs._configure(_setter, **urnietfparamsscimschemasoracleidcsextensionx509identity_provider) __props__.__dict__["urnietfparamsscimschemasoracleidcsextensionx509identity_provider"] = urnietfparamsscimschemasoracleidcsextensionx509identity_provider __props__.__dict__["user_mapping_method"] = user_mapping_method __props__.__dict__["user_mapping_store_attribute"] = user_mapping_store_attribute diff --git a/sdk/python/pulumi_oci/identity/domains_identity_setting.py b/sdk/python/pulumi_oci/identity/domains_identity_setting.py index daaf46b954..c0dd64bf4e 100644 --- a/sdk/python/pulumi_oci/identity/domains_identity_setting.py +++ b/sdk/python/pulumi_oci/identity/domains_identity_setting.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -173,39 +173,82 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) - pulumi.set(__self__, "identity_setting_id", identity_setting_id) - pulumi.set(__self__, "schemas", schemas) + DomainsIdentitySettingArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + idcs_endpoint=idcs_endpoint, + identity_setting_id=identity_setting_id, + schemas=schemas, + attribute_sets=attribute_sets, + attributes=attributes, + authorization=authorization, + emit_locked_message_when_user_is_locked=emit_locked_message_when_user_is_locked, + external_id=external_id, + my_profile=my_profile, + ocid=ocid, + posix_gid=posix_gid, + posix_uid=posix_uid, + primary_email_required=primary_email_required, + resource_type_schema_version=resource_type_schema_version, + return_inactive_over_locked_message=return_inactive_over_locked_message, + tags=tags, + tokens=tokens, + user_allowed_to_set_recovery_email=user_allowed_to_set_recovery_email, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + idcs_endpoint: pulumi.Input[str], + identity_setting_id: pulumi.Input[str], + schemas: pulumi.Input[Sequence[pulumi.Input[str]]], + attribute_sets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + attributes: Optional[pulumi.Input[str]] = None, + authorization: Optional[pulumi.Input[str]] = None, + emit_locked_message_when_user_is_locked: Optional[pulumi.Input[bool]] = None, + external_id: Optional[pulumi.Input[str]] = None, + my_profile: Optional[pulumi.Input['DomainsIdentitySettingMyProfileArgs']] = None, + ocid: Optional[pulumi.Input[str]] = None, + posix_gid: Optional[pulumi.Input['DomainsIdentitySettingPosixGidArgs']] = None, + posix_uid: Optional[pulumi.Input['DomainsIdentitySettingPosixUidArgs']] = None, + primary_email_required: Optional[pulumi.Input[bool]] = None, + resource_type_schema_version: Optional[pulumi.Input[str]] = None, + return_inactive_over_locked_message: Optional[pulumi.Input[bool]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsIdentitySettingTagArgs']]]] = None, + tokens: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsIdentitySettingTokenArgs']]]] = None, + user_allowed_to_set_recovery_email: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("idcs_endpoint", idcs_endpoint) + _setter("identity_setting_id", identity_setting_id) + _setter("schemas", schemas) if attribute_sets is not None: - pulumi.set(__self__, "attribute_sets", attribute_sets) + _setter("attribute_sets", attribute_sets) if attributes is not None: - pulumi.set(__self__, "attributes", attributes) + _setter("attributes", attributes) if authorization is not None: - pulumi.set(__self__, "authorization", authorization) + _setter("authorization", authorization) if emit_locked_message_when_user_is_locked is not None: - pulumi.set(__self__, "emit_locked_message_when_user_is_locked", emit_locked_message_when_user_is_locked) + _setter("emit_locked_message_when_user_is_locked", emit_locked_message_when_user_is_locked) if external_id is not None: - pulumi.set(__self__, "external_id", external_id) + _setter("external_id", external_id) if my_profile is not None: - pulumi.set(__self__, "my_profile", my_profile) + _setter("my_profile", my_profile) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if posix_gid is not None: - pulumi.set(__self__, "posix_gid", posix_gid) + _setter("posix_gid", posix_gid) if posix_uid is not None: - pulumi.set(__self__, "posix_uid", posix_uid) + _setter("posix_uid", posix_uid) if primary_email_required is not None: - pulumi.set(__self__, "primary_email_required", primary_email_required) + _setter("primary_email_required", primary_email_required) if resource_type_schema_version is not None: - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) + _setter("resource_type_schema_version", resource_type_schema_version) if return_inactive_over_locked_message is not None: - pulumi.set(__self__, "return_inactive_over_locked_message", return_inactive_over_locked_message) + _setter("return_inactive_over_locked_message", return_inactive_over_locked_message) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if tokens is not None: - pulumi.set(__self__, "tokens", tokens) + _setter("tokens", tokens) if user_allowed_to_set_recovery_email is not None: - pulumi.set(__self__, "user_allowed_to_set_recovery_email", user_allowed_to_set_recovery_email) + _setter("user_allowed_to_set_recovery_email", user_allowed_to_set_recovery_email) @property @pulumi.getter(name="idcsEndpoint") @@ -818,62 +861,125 @@ def __init__(__self__, *, ** 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 """ + _DomainsIdentitySettingState._configure( + lambda key, value: pulumi.set(__self__, key, value), + attribute_sets=attribute_sets, + attributes=attributes, + authorization=authorization, + compartment_ocid=compartment_ocid, + delete_in_progress=delete_in_progress, + domain_ocid=domain_ocid, + emit_locked_message_when_user_is_locked=emit_locked_message_when_user_is_locked, + external_id=external_id, + idcs_created_bies=idcs_created_bies, + idcs_endpoint=idcs_endpoint, + idcs_last_modified_bies=idcs_last_modified_bies, + idcs_last_upgraded_in_release=idcs_last_upgraded_in_release, + idcs_prevented_operations=idcs_prevented_operations, + identity_setting_id=identity_setting_id, + metas=metas, + my_profile=my_profile, + ocid=ocid, + posix_gid=posix_gid, + posix_uid=posix_uid, + primary_email_required=primary_email_required, + remove_invalid_emails=remove_invalid_emails, + resource_type_schema_version=resource_type_schema_version, + return_inactive_over_locked_message=return_inactive_over_locked_message, + schemas=schemas, + tags=tags, + tenancy_ocid=tenancy_ocid, + tokens=tokens, + user_allowed_to_set_recovery_email=user_allowed_to_set_recovery_email, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attribute_sets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + attributes: Optional[pulumi.Input[str]] = None, + authorization: Optional[pulumi.Input[str]] = None, + compartment_ocid: Optional[pulumi.Input[str]] = None, + delete_in_progress: Optional[pulumi.Input[bool]] = None, + domain_ocid: Optional[pulumi.Input[str]] = None, + emit_locked_message_when_user_is_locked: Optional[pulumi.Input[bool]] = None, + external_id: Optional[pulumi.Input[str]] = None, + idcs_created_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsIdentitySettingIdcsCreatedByArgs']]]] = None, + idcs_endpoint: Optional[pulumi.Input[str]] = None, + idcs_last_modified_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsIdentitySettingIdcsLastModifiedByArgs']]]] = None, + idcs_last_upgraded_in_release: Optional[pulumi.Input[str]] = None, + idcs_prevented_operations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + identity_setting_id: Optional[pulumi.Input[str]] = None, + metas: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsIdentitySettingMetaArgs']]]] = None, + my_profile: Optional[pulumi.Input['DomainsIdentitySettingMyProfileArgs']] = None, + ocid: Optional[pulumi.Input[str]] = None, + posix_gid: Optional[pulumi.Input['DomainsIdentitySettingPosixGidArgs']] = None, + posix_uid: Optional[pulumi.Input['DomainsIdentitySettingPosixUidArgs']] = None, + primary_email_required: Optional[pulumi.Input[bool]] = None, + remove_invalid_emails: Optional[pulumi.Input[bool]] = None, + resource_type_schema_version: Optional[pulumi.Input[str]] = None, + return_inactive_over_locked_message: Optional[pulumi.Input[bool]] = None, + schemas: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsIdentitySettingTagArgs']]]] = None, + tenancy_ocid: Optional[pulumi.Input[str]] = None, + tokens: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsIdentitySettingTokenArgs']]]] = None, + user_allowed_to_set_recovery_email: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if attribute_sets is not None: - pulumi.set(__self__, "attribute_sets", attribute_sets) + _setter("attribute_sets", attribute_sets) if attributes is not None: - pulumi.set(__self__, "attributes", attributes) + _setter("attributes", attributes) if authorization is not None: - pulumi.set(__self__, "authorization", authorization) + _setter("authorization", authorization) if compartment_ocid is not None: - pulumi.set(__self__, "compartment_ocid", compartment_ocid) + _setter("compartment_ocid", compartment_ocid) if delete_in_progress is not None: - pulumi.set(__self__, "delete_in_progress", delete_in_progress) + _setter("delete_in_progress", delete_in_progress) if domain_ocid is not None: - pulumi.set(__self__, "domain_ocid", domain_ocid) + _setter("domain_ocid", domain_ocid) if emit_locked_message_when_user_is_locked is not None: - pulumi.set(__self__, "emit_locked_message_when_user_is_locked", emit_locked_message_when_user_is_locked) + _setter("emit_locked_message_when_user_is_locked", emit_locked_message_when_user_is_locked) if external_id is not None: - pulumi.set(__self__, "external_id", external_id) + _setter("external_id", external_id) if idcs_created_bies is not None: - pulumi.set(__self__, "idcs_created_bies", idcs_created_bies) + _setter("idcs_created_bies", idcs_created_bies) if idcs_endpoint is not None: - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) + _setter("idcs_endpoint", idcs_endpoint) if idcs_last_modified_bies is not None: - pulumi.set(__self__, "idcs_last_modified_bies", idcs_last_modified_bies) + _setter("idcs_last_modified_bies", idcs_last_modified_bies) if idcs_last_upgraded_in_release is not None: - pulumi.set(__self__, "idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) + _setter("idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) if idcs_prevented_operations is not None: - pulumi.set(__self__, "idcs_prevented_operations", idcs_prevented_operations) + _setter("idcs_prevented_operations", idcs_prevented_operations) if identity_setting_id is not None: - pulumi.set(__self__, "identity_setting_id", identity_setting_id) + _setter("identity_setting_id", identity_setting_id) if metas is not None: - pulumi.set(__self__, "metas", metas) + _setter("metas", metas) if my_profile is not None: - pulumi.set(__self__, "my_profile", my_profile) + _setter("my_profile", my_profile) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if posix_gid is not None: - pulumi.set(__self__, "posix_gid", posix_gid) + _setter("posix_gid", posix_gid) if posix_uid is not None: - pulumi.set(__self__, "posix_uid", posix_uid) + _setter("posix_uid", posix_uid) if primary_email_required is not None: - pulumi.set(__self__, "primary_email_required", primary_email_required) + _setter("primary_email_required", primary_email_required) if remove_invalid_emails is not None: - pulumi.set(__self__, "remove_invalid_emails", remove_invalid_emails) + _setter("remove_invalid_emails", remove_invalid_emails) if resource_type_schema_version is not None: - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) + _setter("resource_type_schema_version", resource_type_schema_version) if return_inactive_over_locked_message is not None: - pulumi.set(__self__, "return_inactive_over_locked_message", return_inactive_over_locked_message) + _setter("return_inactive_over_locked_message", return_inactive_over_locked_message) if schemas is not None: - pulumi.set(__self__, "schemas", schemas) + _setter("schemas", schemas) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if tenancy_ocid is not None: - pulumi.set(__self__, "tenancy_ocid", tenancy_ocid) + _setter("tenancy_ocid", tenancy_ocid) if tokens is not None: - pulumi.set(__self__, "tokens", tokens) + _setter("tokens", tokens) if user_allowed_to_set_recovery_email is not None: - pulumi.set(__self__, "user_allowed_to_set_recovery_email", user_allowed_to_set_recovery_email) + _setter("user_allowed_to_set_recovery_email", user_allowed_to_set_recovery_email) @property @pulumi.getter(name="attributeSets") @@ -1631,6 +1737,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DomainsIdentitySettingArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -1674,9 +1784,24 @@ def _internal_init(__self__, if identity_setting_id is None and not opts.urn: raise TypeError("Missing required property 'identity_setting_id'") __props__.__dict__["identity_setting_id"] = identity_setting_id + if my_profile is not None and not isinstance(my_profile, DomainsIdentitySettingMyProfileArgs): + my_profile = my_profile or {} + def _setter(key, value): + my_profile[key] = value + DomainsIdentitySettingMyProfileArgs._configure(_setter, **my_profile) __props__.__dict__["my_profile"] = my_profile __props__.__dict__["ocid"] = ocid + if posix_gid is not None and not isinstance(posix_gid, DomainsIdentitySettingPosixGidArgs): + posix_gid = posix_gid or {} + def _setter(key, value): + posix_gid[key] = value + DomainsIdentitySettingPosixGidArgs._configure(_setter, **posix_gid) __props__.__dict__["posix_gid"] = posix_gid + if posix_uid is not None and not isinstance(posix_uid, DomainsIdentitySettingPosixUidArgs): + posix_uid = posix_uid or {} + def _setter(key, value): + posix_uid[key] = value + DomainsIdentitySettingPosixUidArgs._configure(_setter, **posix_uid) __props__.__dict__["posix_uid"] = posix_uid __props__.__dict__["primary_email_required"] = primary_email_required __props__.__dict__["resource_type_schema_version"] = resource_type_schema_version diff --git a/sdk/python/pulumi_oci/identity/domains_kmsi_setting.py b/sdk/python/pulumi_oci/identity/domains_kmsi_setting.py index 575e894d6a..0e102ce764 100644 --- a/sdk/python/pulumi_oci/identity/domains_kmsi_setting.py +++ b/sdk/python/pulumi_oci/identity/domains_kmsi_setting.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -168,37 +168,78 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) - pulumi.set(__self__, "kmsi_setting_id", kmsi_setting_id) - pulumi.set(__self__, "schemas", schemas) + DomainsKmsiSettingArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + idcs_endpoint=idcs_endpoint, + kmsi_setting_id=kmsi_setting_id, + schemas=schemas, + attribute_sets=attribute_sets, + attributes=attributes, + authorization=authorization, + external_id=external_id, + kmsi_feature_enabled=kmsi_feature_enabled, + kmsi_prompt_enabled=kmsi_prompt_enabled, + last_enabled_on=last_enabled_on, + last_used_validity_in_days=last_used_validity_in_days, + max_allowed_sessions=max_allowed_sessions, + ocid=ocid, + resource_type_schema_version=resource_type_schema_version, + tags=tags, + token_validity_in_days=token_validity_in_days, + tou_prompt_disabled=tou_prompt_disabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + idcs_endpoint: pulumi.Input[str], + kmsi_setting_id: pulumi.Input[str], + schemas: pulumi.Input[Sequence[pulumi.Input[str]]], + attribute_sets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + attributes: Optional[pulumi.Input[str]] = None, + authorization: Optional[pulumi.Input[str]] = None, + external_id: Optional[pulumi.Input[str]] = None, + kmsi_feature_enabled: Optional[pulumi.Input[bool]] = None, + kmsi_prompt_enabled: Optional[pulumi.Input[bool]] = None, + last_enabled_on: Optional[pulumi.Input[str]] = None, + last_used_validity_in_days: Optional[pulumi.Input[int]] = None, + max_allowed_sessions: Optional[pulumi.Input[int]] = None, + ocid: Optional[pulumi.Input[str]] = None, + resource_type_schema_version: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsKmsiSettingTagArgs']]]] = None, + token_validity_in_days: Optional[pulumi.Input[int]] = None, + tou_prompt_disabled: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("idcs_endpoint", idcs_endpoint) + _setter("kmsi_setting_id", kmsi_setting_id) + _setter("schemas", schemas) if attribute_sets is not None: - pulumi.set(__self__, "attribute_sets", attribute_sets) + _setter("attribute_sets", attribute_sets) if attributes is not None: - pulumi.set(__self__, "attributes", attributes) + _setter("attributes", attributes) if authorization is not None: - pulumi.set(__self__, "authorization", authorization) + _setter("authorization", authorization) if external_id is not None: - pulumi.set(__self__, "external_id", external_id) + _setter("external_id", external_id) if kmsi_feature_enabled is not None: - pulumi.set(__self__, "kmsi_feature_enabled", kmsi_feature_enabled) + _setter("kmsi_feature_enabled", kmsi_feature_enabled) if kmsi_prompt_enabled is not None: - pulumi.set(__self__, "kmsi_prompt_enabled", kmsi_prompt_enabled) + _setter("kmsi_prompt_enabled", kmsi_prompt_enabled) if last_enabled_on is not None: - pulumi.set(__self__, "last_enabled_on", last_enabled_on) + _setter("last_enabled_on", last_enabled_on) if last_used_validity_in_days is not None: - pulumi.set(__self__, "last_used_validity_in_days", last_used_validity_in_days) + _setter("last_used_validity_in_days", last_used_validity_in_days) if max_allowed_sessions is not None: - pulumi.set(__self__, "max_allowed_sessions", max_allowed_sessions) + _setter("max_allowed_sessions", max_allowed_sessions) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if resource_type_schema_version is not None: - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) + _setter("resource_type_schema_version", resource_type_schema_version) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if token_validity_in_days is not None: - pulumi.set(__self__, "token_validity_in_days", token_validity_in_days) + _setter("token_validity_in_days", token_validity_in_days) if tou_prompt_disabled is not None: - pulumi.set(__self__, "tou_prompt_disabled", tou_prompt_disabled) + _setter("tou_prompt_disabled", tou_prompt_disabled) @property @pulumi.getter(name="idcsEndpoint") @@ -778,58 +819,117 @@ def __init__(__self__, *, ** 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 """ + _DomainsKmsiSettingState._configure( + lambda key, value: pulumi.set(__self__, key, value), + attribute_sets=attribute_sets, + attributes=attributes, + authorization=authorization, + compartment_ocid=compartment_ocid, + delete_in_progress=delete_in_progress, + domain_ocid=domain_ocid, + external_id=external_id, + idcs_created_bies=idcs_created_bies, + idcs_endpoint=idcs_endpoint, + idcs_last_modified_bies=idcs_last_modified_bies, + idcs_last_upgraded_in_release=idcs_last_upgraded_in_release, + idcs_prevented_operations=idcs_prevented_operations, + kmsi_feature_enabled=kmsi_feature_enabled, + kmsi_prompt_enabled=kmsi_prompt_enabled, + kmsi_setting_id=kmsi_setting_id, + last_enabled_on=last_enabled_on, + last_used_validity_in_days=last_used_validity_in_days, + max_allowed_sessions=max_allowed_sessions, + metas=metas, + ocid=ocid, + resource_type_schema_version=resource_type_schema_version, + schemas=schemas, + tags=tags, + tenancy_ocid=tenancy_ocid, + token_validity_in_days=token_validity_in_days, + tou_prompt_disabled=tou_prompt_disabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attribute_sets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + attributes: Optional[pulumi.Input[str]] = None, + authorization: Optional[pulumi.Input[str]] = None, + compartment_ocid: Optional[pulumi.Input[str]] = None, + delete_in_progress: Optional[pulumi.Input[bool]] = None, + domain_ocid: Optional[pulumi.Input[str]] = None, + external_id: Optional[pulumi.Input[str]] = None, + idcs_created_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsKmsiSettingIdcsCreatedByArgs']]]] = None, + idcs_endpoint: Optional[pulumi.Input[str]] = None, + idcs_last_modified_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsKmsiSettingIdcsLastModifiedByArgs']]]] = None, + idcs_last_upgraded_in_release: Optional[pulumi.Input[str]] = None, + idcs_prevented_operations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + kmsi_feature_enabled: Optional[pulumi.Input[bool]] = None, + kmsi_prompt_enabled: Optional[pulumi.Input[bool]] = None, + kmsi_setting_id: Optional[pulumi.Input[str]] = None, + last_enabled_on: Optional[pulumi.Input[str]] = None, + last_used_validity_in_days: Optional[pulumi.Input[int]] = None, + max_allowed_sessions: Optional[pulumi.Input[int]] = None, + metas: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsKmsiSettingMetaArgs']]]] = None, + ocid: Optional[pulumi.Input[str]] = None, + resource_type_schema_version: Optional[pulumi.Input[str]] = None, + schemas: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsKmsiSettingTagArgs']]]] = None, + tenancy_ocid: Optional[pulumi.Input[str]] = None, + token_validity_in_days: Optional[pulumi.Input[int]] = None, + tou_prompt_disabled: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if attribute_sets is not None: - pulumi.set(__self__, "attribute_sets", attribute_sets) + _setter("attribute_sets", attribute_sets) if attributes is not None: - pulumi.set(__self__, "attributes", attributes) + _setter("attributes", attributes) if authorization is not None: - pulumi.set(__self__, "authorization", authorization) + _setter("authorization", authorization) if compartment_ocid is not None: - pulumi.set(__self__, "compartment_ocid", compartment_ocid) + _setter("compartment_ocid", compartment_ocid) if delete_in_progress is not None: - pulumi.set(__self__, "delete_in_progress", delete_in_progress) + _setter("delete_in_progress", delete_in_progress) if domain_ocid is not None: - pulumi.set(__self__, "domain_ocid", domain_ocid) + _setter("domain_ocid", domain_ocid) if external_id is not None: - pulumi.set(__self__, "external_id", external_id) + _setter("external_id", external_id) if idcs_created_bies is not None: - pulumi.set(__self__, "idcs_created_bies", idcs_created_bies) + _setter("idcs_created_bies", idcs_created_bies) if idcs_endpoint is not None: - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) + _setter("idcs_endpoint", idcs_endpoint) if idcs_last_modified_bies is not None: - pulumi.set(__self__, "idcs_last_modified_bies", idcs_last_modified_bies) + _setter("idcs_last_modified_bies", idcs_last_modified_bies) if idcs_last_upgraded_in_release is not None: - pulumi.set(__self__, "idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) + _setter("idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) if idcs_prevented_operations is not None: - pulumi.set(__self__, "idcs_prevented_operations", idcs_prevented_operations) + _setter("idcs_prevented_operations", idcs_prevented_operations) if kmsi_feature_enabled is not None: - pulumi.set(__self__, "kmsi_feature_enabled", kmsi_feature_enabled) + _setter("kmsi_feature_enabled", kmsi_feature_enabled) if kmsi_prompt_enabled is not None: - pulumi.set(__self__, "kmsi_prompt_enabled", kmsi_prompt_enabled) + _setter("kmsi_prompt_enabled", kmsi_prompt_enabled) if kmsi_setting_id is not None: - pulumi.set(__self__, "kmsi_setting_id", kmsi_setting_id) + _setter("kmsi_setting_id", kmsi_setting_id) if last_enabled_on is not None: - pulumi.set(__self__, "last_enabled_on", last_enabled_on) + _setter("last_enabled_on", last_enabled_on) if last_used_validity_in_days is not None: - pulumi.set(__self__, "last_used_validity_in_days", last_used_validity_in_days) + _setter("last_used_validity_in_days", last_used_validity_in_days) if max_allowed_sessions is not None: - pulumi.set(__self__, "max_allowed_sessions", max_allowed_sessions) + _setter("max_allowed_sessions", max_allowed_sessions) if metas is not None: - pulumi.set(__self__, "metas", metas) + _setter("metas", metas) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if resource_type_schema_version is not None: - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) + _setter("resource_type_schema_version", resource_type_schema_version) if schemas is not None: - pulumi.set(__self__, "schemas", schemas) + _setter("schemas", schemas) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if tenancy_ocid is not None: - pulumi.set(__self__, "tenancy_ocid", tenancy_ocid) + _setter("tenancy_ocid", tenancy_ocid) if token_validity_in_days is not None: - pulumi.set(__self__, "token_validity_in_days", token_validity_in_days) + _setter("token_validity_in_days", token_validity_in_days) if tou_prompt_disabled is not None: - pulumi.set(__self__, "tou_prompt_disabled", tou_prompt_disabled) + _setter("tou_prompt_disabled", tou_prompt_disabled) @property @pulumi.getter(name="attributeSets") @@ -1544,6 +1644,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DomainsKmsiSettingArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/identity/domains_my_api_key.py b/sdk/python/pulumi_oci/identity/domains_my_api_key.py index ef0d7cf919..b5774d594c 100644 --- a/sdk/python/pulumi_oci/identity/domains_my_api_key.py +++ b/sdk/python/pulumi_oci/identity/domains_my_api_key.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -96,21 +96,46 @@ def __init__(__self__, *, * type: complex * uniqueness: none """ - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "schemas", schemas) + DomainsMyApiKeyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + idcs_endpoint=idcs_endpoint, + key=key, + schemas=schemas, + authorization=authorization, + description=description, + ocid=ocid, + resource_type_schema_version=resource_type_schema_version, + tags=tags, + user=user, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + idcs_endpoint: pulumi.Input[str], + key: pulumi.Input[str], + schemas: pulumi.Input[Sequence[pulumi.Input[str]]], + authorization: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + resource_type_schema_version: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsMyApiKeyTagArgs']]]] = None, + user: Optional[pulumi.Input['DomainsMyApiKeyUserArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("idcs_endpoint", idcs_endpoint) + _setter("key", key) + _setter("schemas", schemas) if authorization is not None: - pulumi.set(__self__, "authorization", authorization) + _setter("authorization", authorization) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if resource_type_schema_version is not None: - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) + _setter("resource_type_schema_version", resource_type_schema_version) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if user is not None: - pulumi.set(__self__, "user", user) + _setter("user", user) @property @pulumi.getter(name="idcsEndpoint") @@ -478,44 +503,89 @@ def __init__(__self__, *, * type: complex * uniqueness: none """ + _DomainsMyApiKeyState._configure( + lambda key, value: pulumi.set(__self__, key, value), + authorization=authorization, + compartment_ocid=compartment_ocid, + delete_in_progress=delete_in_progress, + description=description, + domain_ocid=domain_ocid, + fingerprint=fingerprint, + idcs_created_bies=idcs_created_bies, + idcs_endpoint=idcs_endpoint, + idcs_last_modified_bies=idcs_last_modified_bies, + idcs_last_upgraded_in_release=idcs_last_upgraded_in_release, + idcs_prevented_operations=idcs_prevented_operations, + key=key, + metas=metas, + ocid=ocid, + resource_type_schema_version=resource_type_schema_version, + schemas=schemas, + tags=tags, + tenancy_ocid=tenancy_ocid, + user=user, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + authorization: Optional[pulumi.Input[str]] = None, + compartment_ocid: Optional[pulumi.Input[str]] = None, + delete_in_progress: Optional[pulumi.Input[bool]] = None, + description: Optional[pulumi.Input[str]] = None, + domain_ocid: Optional[pulumi.Input[str]] = None, + fingerprint: Optional[pulumi.Input[str]] = None, + idcs_created_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsMyApiKeyIdcsCreatedByArgs']]]] = None, + idcs_endpoint: Optional[pulumi.Input[str]] = None, + idcs_last_modified_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsMyApiKeyIdcsLastModifiedByArgs']]]] = None, + idcs_last_upgraded_in_release: Optional[pulumi.Input[str]] = None, + idcs_prevented_operations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + key: Optional[pulumi.Input[str]] = None, + metas: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsMyApiKeyMetaArgs']]]] = None, + ocid: Optional[pulumi.Input[str]] = None, + resource_type_schema_version: Optional[pulumi.Input[str]] = None, + schemas: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsMyApiKeyTagArgs']]]] = None, + tenancy_ocid: Optional[pulumi.Input[str]] = None, + user: Optional[pulumi.Input['DomainsMyApiKeyUserArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if authorization is not None: - pulumi.set(__self__, "authorization", authorization) + _setter("authorization", authorization) if compartment_ocid is not None: - pulumi.set(__self__, "compartment_ocid", compartment_ocid) + _setter("compartment_ocid", compartment_ocid) if delete_in_progress is not None: - pulumi.set(__self__, "delete_in_progress", delete_in_progress) + _setter("delete_in_progress", delete_in_progress) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if domain_ocid is not None: - pulumi.set(__self__, "domain_ocid", domain_ocid) + _setter("domain_ocid", domain_ocid) if fingerprint is not None: - pulumi.set(__self__, "fingerprint", fingerprint) + _setter("fingerprint", fingerprint) if idcs_created_bies is not None: - pulumi.set(__self__, "idcs_created_bies", idcs_created_bies) + _setter("idcs_created_bies", idcs_created_bies) if idcs_endpoint is not None: - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) + _setter("idcs_endpoint", idcs_endpoint) if idcs_last_modified_bies is not None: - pulumi.set(__self__, "idcs_last_modified_bies", idcs_last_modified_bies) + _setter("idcs_last_modified_bies", idcs_last_modified_bies) if idcs_last_upgraded_in_release is not None: - pulumi.set(__self__, "idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) + _setter("idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) if idcs_prevented_operations is not None: - pulumi.set(__self__, "idcs_prevented_operations", idcs_prevented_operations) + _setter("idcs_prevented_operations", idcs_prevented_operations) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if metas is not None: - pulumi.set(__self__, "metas", metas) + _setter("metas", metas) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if resource_type_schema_version is not None: - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) + _setter("resource_type_schema_version", resource_type_schema_version) if schemas is not None: - pulumi.set(__self__, "schemas", schemas) + _setter("schemas", schemas) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if tenancy_ocid is not None: - pulumi.set(__self__, "tenancy_ocid", tenancy_ocid) + _setter("tenancy_ocid", tenancy_ocid) if user is not None: - pulumi.set(__self__, "user", user) + _setter("user", user) @property @pulumi.getter @@ -1028,6 +1098,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DomainsMyApiKeyArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -1065,6 +1139,11 @@ def _internal_init(__self__, raise TypeError("Missing required property 'schemas'") __props__.__dict__["schemas"] = schemas __props__.__dict__["tags"] = tags + if user is not None and not isinstance(user, DomainsMyApiKeyUserArgs): + user = user or {} + def _setter(key, value): + user[key] = value + DomainsMyApiKeyUserArgs._configure(_setter, **user) __props__.__dict__["user"] = user __props__.__dict__["compartment_ocid"] = None __props__.__dict__["delete_in_progress"] = None diff --git a/sdk/python/pulumi_oci/identity/domains_my_auth_token.py b/sdk/python/pulumi_oci/identity/domains_my_auth_token.py index a7f922f457..6b9a3c1fd7 100644 --- a/sdk/python/pulumi_oci/identity/domains_my_auth_token.py +++ b/sdk/python/pulumi_oci/identity/domains_my_auth_token.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -112,24 +112,51 @@ def __init__(__self__, *, * type: complex * uniqueness: none """ - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) - pulumi.set(__self__, "schemas", schemas) + DomainsMyAuthTokenArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + idcs_endpoint=idcs_endpoint, + schemas=schemas, + authorization=authorization, + description=description, + expires_on=expires_on, + ocid=ocid, + resource_type_schema_version=resource_type_schema_version, + status=status, + tags=tags, + user=user, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + idcs_endpoint: pulumi.Input[str], + schemas: pulumi.Input[Sequence[pulumi.Input[str]]], + authorization: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + expires_on: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + resource_type_schema_version: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsMyAuthTokenTagArgs']]]] = None, + user: Optional[pulumi.Input['DomainsMyAuthTokenUserArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("idcs_endpoint", idcs_endpoint) + _setter("schemas", schemas) if authorization is not None: - pulumi.set(__self__, "authorization", authorization) + _setter("authorization", authorization) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if expires_on is not None: - pulumi.set(__self__, "expires_on", expires_on) + _setter("expires_on", expires_on) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if resource_type_schema_version is not None: - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) + _setter("resource_type_schema_version", resource_type_schema_version) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if user is not None: - pulumi.set(__self__, "user", user) + _setter("user", user) @property @pulumi.getter(name="idcsEndpoint") @@ -527,44 +554,89 @@ def __init__(__self__, *, * type: complex * uniqueness: none """ + _DomainsMyAuthTokenState._configure( + lambda key, value: pulumi.set(__self__, key, value), + authorization=authorization, + compartment_ocid=compartment_ocid, + delete_in_progress=delete_in_progress, + description=description, + domain_ocid=domain_ocid, + expires_on=expires_on, + idcs_created_bies=idcs_created_bies, + idcs_endpoint=idcs_endpoint, + idcs_last_modified_bies=idcs_last_modified_bies, + idcs_last_upgraded_in_release=idcs_last_upgraded_in_release, + idcs_prevented_operations=idcs_prevented_operations, + metas=metas, + ocid=ocid, + resource_type_schema_version=resource_type_schema_version, + schemas=schemas, + status=status, + tags=tags, + tenancy_ocid=tenancy_ocid, + user=user, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + authorization: Optional[pulumi.Input[str]] = None, + compartment_ocid: Optional[pulumi.Input[str]] = None, + delete_in_progress: Optional[pulumi.Input[bool]] = None, + description: Optional[pulumi.Input[str]] = None, + domain_ocid: Optional[pulumi.Input[str]] = None, + expires_on: Optional[pulumi.Input[str]] = None, + idcs_created_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsMyAuthTokenIdcsCreatedByArgs']]]] = None, + idcs_endpoint: Optional[pulumi.Input[str]] = None, + idcs_last_modified_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsMyAuthTokenIdcsLastModifiedByArgs']]]] = None, + idcs_last_upgraded_in_release: Optional[pulumi.Input[str]] = None, + idcs_prevented_operations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + metas: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsMyAuthTokenMetaArgs']]]] = None, + ocid: Optional[pulumi.Input[str]] = None, + resource_type_schema_version: Optional[pulumi.Input[str]] = None, + schemas: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + status: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsMyAuthTokenTagArgs']]]] = None, + tenancy_ocid: Optional[pulumi.Input[str]] = None, + user: Optional[pulumi.Input['DomainsMyAuthTokenUserArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if authorization is not None: - pulumi.set(__self__, "authorization", authorization) + _setter("authorization", authorization) if compartment_ocid is not None: - pulumi.set(__self__, "compartment_ocid", compartment_ocid) + _setter("compartment_ocid", compartment_ocid) if delete_in_progress is not None: - pulumi.set(__self__, "delete_in_progress", delete_in_progress) + _setter("delete_in_progress", delete_in_progress) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if domain_ocid is not None: - pulumi.set(__self__, "domain_ocid", domain_ocid) + _setter("domain_ocid", domain_ocid) if expires_on is not None: - pulumi.set(__self__, "expires_on", expires_on) + _setter("expires_on", expires_on) if idcs_created_bies is not None: - pulumi.set(__self__, "idcs_created_bies", idcs_created_bies) + _setter("idcs_created_bies", idcs_created_bies) if idcs_endpoint is not None: - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) + _setter("idcs_endpoint", idcs_endpoint) if idcs_last_modified_bies is not None: - pulumi.set(__self__, "idcs_last_modified_bies", idcs_last_modified_bies) + _setter("idcs_last_modified_bies", idcs_last_modified_bies) if idcs_last_upgraded_in_release is not None: - pulumi.set(__self__, "idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) + _setter("idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) if idcs_prevented_operations is not None: - pulumi.set(__self__, "idcs_prevented_operations", idcs_prevented_operations) + _setter("idcs_prevented_operations", idcs_prevented_operations) if metas is not None: - pulumi.set(__self__, "metas", metas) + _setter("metas", metas) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if resource_type_schema_version is not None: - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) + _setter("resource_type_schema_version", resource_type_schema_version) if schemas is not None: - pulumi.set(__self__, "schemas", schemas) + _setter("schemas", schemas) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if tenancy_ocid is not None: - pulumi.set(__self__, "tenancy_ocid", tenancy_ocid) + _setter("tenancy_ocid", tenancy_ocid) if user is not None: - pulumi.set(__self__, "user", user) + _setter("user", user) @property @pulumi.getter @@ -1097,6 +1169,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DomainsMyAuthTokenArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -1134,6 +1210,11 @@ def _internal_init(__self__, __props__.__dict__["schemas"] = schemas __props__.__dict__["status"] = status __props__.__dict__["tags"] = tags + if user is not None and not isinstance(user, DomainsMyAuthTokenUserArgs): + user = user or {} + def _setter(key, value): + user[key] = value + DomainsMyAuthTokenUserArgs._configure(_setter, **user) __props__.__dict__["user"] = user __props__.__dict__["compartment_ocid"] = None __props__.__dict__["delete_in_progress"] = None diff --git a/sdk/python/pulumi_oci/identity/domains_my_customer_secret_key.py b/sdk/python/pulumi_oci/identity/domains_my_customer_secret_key.py index f8fb1f8cfd..8ac0f52b3b 100644 --- a/sdk/python/pulumi_oci/identity/domains_my_customer_secret_key.py +++ b/sdk/python/pulumi_oci/identity/domains_my_customer_secret_key.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -119,26 +119,55 @@ def __init__(__self__, *, * type: complex * uniqueness: none """ - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) - pulumi.set(__self__, "schemas", schemas) + DomainsMyCustomerSecretKeyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + idcs_endpoint=idcs_endpoint, + schemas=schemas, + authorization=authorization, + description=description, + display_name=display_name, + expires_on=expires_on, + ocid=ocid, + resource_type_schema_version=resource_type_schema_version, + status=status, + tags=tags, + user=user, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + idcs_endpoint: pulumi.Input[str], + schemas: pulumi.Input[Sequence[pulumi.Input[str]]], + authorization: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + expires_on: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + resource_type_schema_version: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsMyCustomerSecretKeyTagArgs']]]] = None, + user: Optional[pulumi.Input['DomainsMyCustomerSecretKeyUserArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("idcs_endpoint", idcs_endpoint) + _setter("schemas", schemas) if authorization is not None: - pulumi.set(__self__, "authorization", authorization) + _setter("authorization", authorization) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if expires_on is not None: - pulumi.set(__self__, "expires_on", expires_on) + _setter("expires_on", expires_on) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if resource_type_schema_version is not None: - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) + _setter("resource_type_schema_version", resource_type_schema_version) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if user is not None: - pulumi.set(__self__, "user", user) + _setter("user", user) @property @pulumi.getter(name="idcsEndpoint") @@ -569,48 +598,97 @@ def __init__(__self__, *, * type: complex * uniqueness: none """ + _DomainsMyCustomerSecretKeyState._configure( + lambda key, value: pulumi.set(__self__, key, value), + access_key=access_key, + authorization=authorization, + compartment_ocid=compartment_ocid, + delete_in_progress=delete_in_progress, + description=description, + display_name=display_name, + domain_ocid=domain_ocid, + expires_on=expires_on, + idcs_created_bies=idcs_created_bies, + idcs_endpoint=idcs_endpoint, + idcs_last_modified_bies=idcs_last_modified_bies, + idcs_last_upgraded_in_release=idcs_last_upgraded_in_release, + idcs_prevented_operations=idcs_prevented_operations, + metas=metas, + ocid=ocid, + resource_type_schema_version=resource_type_schema_version, + schemas=schemas, + status=status, + tags=tags, + tenancy_ocid=tenancy_ocid, + user=user, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access_key: Optional[pulumi.Input[str]] = None, + authorization: Optional[pulumi.Input[str]] = None, + compartment_ocid: Optional[pulumi.Input[str]] = None, + delete_in_progress: Optional[pulumi.Input[bool]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + domain_ocid: Optional[pulumi.Input[str]] = None, + expires_on: Optional[pulumi.Input[str]] = None, + idcs_created_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsMyCustomerSecretKeyIdcsCreatedByArgs']]]] = None, + idcs_endpoint: Optional[pulumi.Input[str]] = None, + idcs_last_modified_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsMyCustomerSecretKeyIdcsLastModifiedByArgs']]]] = None, + idcs_last_upgraded_in_release: Optional[pulumi.Input[str]] = None, + idcs_prevented_operations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + metas: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsMyCustomerSecretKeyMetaArgs']]]] = None, + ocid: Optional[pulumi.Input[str]] = None, + resource_type_schema_version: Optional[pulumi.Input[str]] = None, + schemas: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + status: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsMyCustomerSecretKeyTagArgs']]]] = None, + tenancy_ocid: Optional[pulumi.Input[str]] = None, + user: Optional[pulumi.Input['DomainsMyCustomerSecretKeyUserArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if access_key is not None: - pulumi.set(__self__, "access_key", access_key) + _setter("access_key", access_key) if authorization is not None: - pulumi.set(__self__, "authorization", authorization) + _setter("authorization", authorization) if compartment_ocid is not None: - pulumi.set(__self__, "compartment_ocid", compartment_ocid) + _setter("compartment_ocid", compartment_ocid) if delete_in_progress is not None: - pulumi.set(__self__, "delete_in_progress", delete_in_progress) + _setter("delete_in_progress", delete_in_progress) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if domain_ocid is not None: - pulumi.set(__self__, "domain_ocid", domain_ocid) + _setter("domain_ocid", domain_ocid) if expires_on is not None: - pulumi.set(__self__, "expires_on", expires_on) + _setter("expires_on", expires_on) if idcs_created_bies is not None: - pulumi.set(__self__, "idcs_created_bies", idcs_created_bies) + _setter("idcs_created_bies", idcs_created_bies) if idcs_endpoint is not None: - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) + _setter("idcs_endpoint", idcs_endpoint) if idcs_last_modified_bies is not None: - pulumi.set(__self__, "idcs_last_modified_bies", idcs_last_modified_bies) + _setter("idcs_last_modified_bies", idcs_last_modified_bies) if idcs_last_upgraded_in_release is not None: - pulumi.set(__self__, "idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) + _setter("idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) if idcs_prevented_operations is not None: - pulumi.set(__self__, "idcs_prevented_operations", idcs_prevented_operations) + _setter("idcs_prevented_operations", idcs_prevented_operations) if metas is not None: - pulumi.set(__self__, "metas", metas) + _setter("metas", metas) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if resource_type_schema_version is not None: - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) + _setter("resource_type_schema_version", resource_type_schema_version) if schemas is not None: - pulumi.set(__self__, "schemas", schemas) + _setter("schemas", schemas) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if tenancy_ocid is not None: - pulumi.set(__self__, "tenancy_ocid", tenancy_ocid) + _setter("tenancy_ocid", tenancy_ocid) if user is not None: - pulumi.set(__self__, "user", user) + _setter("user", user) @property @pulumi.getter(name="accessKey") @@ -1186,6 +1264,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DomainsMyCustomerSecretKeyArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -1225,6 +1307,11 @@ def _internal_init(__self__, __props__.__dict__["schemas"] = schemas __props__.__dict__["status"] = status __props__.__dict__["tags"] = tags + if user is not None and not isinstance(user, DomainsMyCustomerSecretKeyUserArgs): + user = user or {} + def _setter(key, value): + user[key] = value + DomainsMyCustomerSecretKeyUserArgs._configure(_setter, **user) __props__.__dict__["user"] = user __props__.__dict__["access_key"] = None __props__.__dict__["compartment_ocid"] = None diff --git a/sdk/python/pulumi_oci/identity/domains_my_oauth2client_credential.py b/sdk/python/pulumi_oci/identity/domains_my_oauth2client_credential.py index ee650e1075..d32dfd6d92 100644 --- a/sdk/python/pulumi_oci/identity/domains_my_oauth2client_credential.py +++ b/sdk/python/pulumi_oci/identity/domains_my_oauth2client_credential.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -149,29 +149,62 @@ def __init__(__self__, *, * type: complex * uniqueness: none """ - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) - pulumi.set(__self__, "schemas", schemas) - pulumi.set(__self__, "scopes", scopes) + DomainsMyOauth2clientCredentialArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + idcs_endpoint=idcs_endpoint, + schemas=schemas, + scopes=scopes, + authorization=authorization, + description=description, + expires_on=expires_on, + is_reset_secret=is_reset_secret, + name=name, + ocid=ocid, + resource_type_schema_version=resource_type_schema_version, + status=status, + tags=tags, + user=user, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + idcs_endpoint: pulumi.Input[str], + schemas: pulumi.Input[Sequence[pulumi.Input[str]]], + scopes: pulumi.Input[Sequence[pulumi.Input['DomainsMyOauth2clientCredentialScopeArgs']]], + authorization: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + expires_on: Optional[pulumi.Input[str]] = None, + is_reset_secret: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + resource_type_schema_version: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsMyOauth2clientCredentialTagArgs']]]] = None, + user: Optional[pulumi.Input['DomainsMyOauth2clientCredentialUserArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("idcs_endpoint", idcs_endpoint) + _setter("schemas", schemas) + _setter("scopes", scopes) if authorization is not None: - pulumi.set(__self__, "authorization", authorization) + _setter("authorization", authorization) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if expires_on is not None: - pulumi.set(__self__, "expires_on", expires_on) + _setter("expires_on", expires_on) if is_reset_secret is not None: - pulumi.set(__self__, "is_reset_secret", is_reset_secret) + _setter("is_reset_secret", is_reset_secret) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if resource_type_schema_version is not None: - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) + _setter("resource_type_schema_version", resource_type_schema_version) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if user is not None: - pulumi.set(__self__, "user", user) + _setter("user", user) @property @pulumi.getter(name="idcsEndpoint") @@ -673,50 +706,101 @@ def __init__(__self__, *, * type: complex * uniqueness: none """ + _DomainsMyOauth2clientCredentialState._configure( + lambda key, value: pulumi.set(__self__, key, value), + authorization=authorization, + compartment_ocid=compartment_ocid, + delete_in_progress=delete_in_progress, + description=description, + domain_ocid=domain_ocid, + expires_on=expires_on, + idcs_created_bies=idcs_created_bies, + idcs_endpoint=idcs_endpoint, + idcs_last_modified_bies=idcs_last_modified_bies, + idcs_last_upgraded_in_release=idcs_last_upgraded_in_release, + idcs_prevented_operations=idcs_prevented_operations, + is_reset_secret=is_reset_secret, + metas=metas, + name=name, + ocid=ocid, + resource_type_schema_version=resource_type_schema_version, + schemas=schemas, + scopes=scopes, + status=status, + tags=tags, + tenancy_ocid=tenancy_ocid, + user=user, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + authorization: Optional[pulumi.Input[str]] = None, + compartment_ocid: Optional[pulumi.Input[str]] = None, + delete_in_progress: Optional[pulumi.Input[bool]] = None, + description: Optional[pulumi.Input[str]] = None, + domain_ocid: Optional[pulumi.Input[str]] = None, + expires_on: Optional[pulumi.Input[str]] = None, + idcs_created_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsMyOauth2clientCredentialIdcsCreatedByArgs']]]] = None, + idcs_endpoint: Optional[pulumi.Input[str]] = None, + idcs_last_modified_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsMyOauth2clientCredentialIdcsLastModifiedByArgs']]]] = None, + idcs_last_upgraded_in_release: Optional[pulumi.Input[str]] = None, + idcs_prevented_operations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + is_reset_secret: Optional[pulumi.Input[bool]] = None, + metas: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsMyOauth2clientCredentialMetaArgs']]]] = None, + name: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + resource_type_schema_version: Optional[pulumi.Input[str]] = None, + schemas: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + scopes: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsMyOauth2clientCredentialScopeArgs']]]] = None, + status: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsMyOauth2clientCredentialTagArgs']]]] = None, + tenancy_ocid: Optional[pulumi.Input[str]] = None, + user: Optional[pulumi.Input['DomainsMyOauth2clientCredentialUserArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if authorization is not None: - pulumi.set(__self__, "authorization", authorization) + _setter("authorization", authorization) if compartment_ocid is not None: - pulumi.set(__self__, "compartment_ocid", compartment_ocid) + _setter("compartment_ocid", compartment_ocid) if delete_in_progress is not None: - pulumi.set(__self__, "delete_in_progress", delete_in_progress) + _setter("delete_in_progress", delete_in_progress) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if domain_ocid is not None: - pulumi.set(__self__, "domain_ocid", domain_ocid) + _setter("domain_ocid", domain_ocid) if expires_on is not None: - pulumi.set(__self__, "expires_on", expires_on) + _setter("expires_on", expires_on) if idcs_created_bies is not None: - pulumi.set(__self__, "idcs_created_bies", idcs_created_bies) + _setter("idcs_created_bies", idcs_created_bies) if idcs_endpoint is not None: - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) + _setter("idcs_endpoint", idcs_endpoint) if idcs_last_modified_bies is not None: - pulumi.set(__self__, "idcs_last_modified_bies", idcs_last_modified_bies) + _setter("idcs_last_modified_bies", idcs_last_modified_bies) if idcs_last_upgraded_in_release is not None: - pulumi.set(__self__, "idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) + _setter("idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) if idcs_prevented_operations is not None: - pulumi.set(__self__, "idcs_prevented_operations", idcs_prevented_operations) + _setter("idcs_prevented_operations", idcs_prevented_operations) if is_reset_secret is not None: - pulumi.set(__self__, "is_reset_secret", is_reset_secret) + _setter("is_reset_secret", is_reset_secret) if metas is not None: - pulumi.set(__self__, "metas", metas) + _setter("metas", metas) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if resource_type_schema_version is not None: - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) + _setter("resource_type_schema_version", resource_type_schema_version) if schemas is not None: - pulumi.set(__self__, "schemas", schemas) + _setter("schemas", schemas) if scopes is not None: - pulumi.set(__self__, "scopes", scopes) + _setter("scopes", scopes) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if tenancy_ocid is not None: - pulumi.set(__self__, "tenancy_ocid", tenancy_ocid) + _setter("tenancy_ocid", tenancy_ocid) if user is not None: - pulumi.set(__self__, "user", user) + _setter("user", user) @property @pulumi.getter @@ -1353,6 +1437,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DomainsMyOauth2clientCredentialArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -1398,6 +1486,11 @@ def _internal_init(__self__, __props__.__dict__["scopes"] = scopes __props__.__dict__["status"] = status __props__.__dict__["tags"] = tags + if user is not None and not isinstance(user, DomainsMyOauth2clientCredentialUserArgs): + user = user or {} + def _setter(key, value): + user[key] = value + DomainsMyOauth2clientCredentialUserArgs._configure(_setter, **user) __props__.__dict__["user"] = user __props__.__dict__["compartment_ocid"] = None __props__.__dict__["delete_in_progress"] = None diff --git a/sdk/python/pulumi_oci/identity/domains_my_request.py b/sdk/python/pulumi_oci/identity/domains_my_request.py index 9e15f4121a..870d007cb7 100644 --- a/sdk/python/pulumi_oci/identity/domains_my_request.py +++ b/sdk/python/pulumi_oci/identity/domains_my_request.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -111,26 +111,57 @@ def __init__(__self__, *, * type: complex * uniqueness: none """ - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) - pulumi.set(__self__, "justification", justification) - pulumi.set(__self__, "requesting", requesting) - pulumi.set(__self__, "schemas", schemas) + DomainsMyRequestArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + idcs_endpoint=idcs_endpoint, + justification=justification, + requesting=requesting, + schemas=schemas, + attribute_sets=attribute_sets, + attributes=attributes, + authorization=authorization, + ocid=ocid, + requestor=requestor, + resource_type_schema_version=resource_type_schema_version, + status=status, + tags=tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + idcs_endpoint: pulumi.Input[str], + justification: pulumi.Input[str], + requesting: pulumi.Input['DomainsMyRequestRequestingArgs'], + schemas: pulumi.Input[Sequence[pulumi.Input[str]]], + attribute_sets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + attributes: Optional[pulumi.Input[str]] = None, + authorization: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + requestor: Optional[pulumi.Input['DomainsMyRequestRequestorArgs']] = None, + resource_type_schema_version: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsMyRequestTagArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("idcs_endpoint", idcs_endpoint) + _setter("justification", justification) + _setter("requesting", requesting) + _setter("schemas", schemas) if attribute_sets is not None: - pulumi.set(__self__, "attribute_sets", attribute_sets) + _setter("attribute_sets", attribute_sets) if attributes is not None: - pulumi.set(__self__, "attributes", attributes) + _setter("attributes", attributes) if authorization is not None: - pulumi.set(__self__, "authorization", authorization) + _setter("authorization", authorization) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if requestor is not None: - pulumi.set(__self__, "requestor", requestor) + _setter("requestor", requestor) if resource_type_schema_version is not None: - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) + _setter("resource_type_schema_version", resource_type_schema_version) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) @property @pulumi.getter(name="idcsEndpoint") @@ -550,48 +581,97 @@ def __init__(__self__, *, ** 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 """ + _DomainsMyRequestState._configure( + lambda key, value: pulumi.set(__self__, key, value), + attribute_sets=attribute_sets, + attributes=attributes, + authorization=authorization, + compartment_ocid=compartment_ocid, + delete_in_progress=delete_in_progress, + domain_ocid=domain_ocid, + idcs_created_bies=idcs_created_bies, + idcs_endpoint=idcs_endpoint, + idcs_last_modified_bies=idcs_last_modified_bies, + idcs_last_upgraded_in_release=idcs_last_upgraded_in_release, + idcs_prevented_operations=idcs_prevented_operations, + justification=justification, + metas=metas, + ocid=ocid, + requesting=requesting, + requestor=requestor, + resource_type_schema_version=resource_type_schema_version, + schemas=schemas, + status=status, + tags=tags, + tenancy_ocid=tenancy_ocid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attribute_sets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + attributes: Optional[pulumi.Input[str]] = None, + authorization: Optional[pulumi.Input[str]] = None, + compartment_ocid: Optional[pulumi.Input[str]] = None, + delete_in_progress: Optional[pulumi.Input[bool]] = None, + domain_ocid: Optional[pulumi.Input[str]] = None, + idcs_created_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsMyRequestIdcsCreatedByArgs']]]] = None, + idcs_endpoint: Optional[pulumi.Input[str]] = None, + idcs_last_modified_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsMyRequestIdcsLastModifiedByArgs']]]] = None, + idcs_last_upgraded_in_release: Optional[pulumi.Input[str]] = None, + idcs_prevented_operations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + justification: Optional[pulumi.Input[str]] = None, + metas: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsMyRequestMetaArgs']]]] = None, + ocid: Optional[pulumi.Input[str]] = None, + requesting: Optional[pulumi.Input['DomainsMyRequestRequestingArgs']] = None, + requestor: Optional[pulumi.Input['DomainsMyRequestRequestorArgs']] = None, + resource_type_schema_version: Optional[pulumi.Input[str]] = None, + schemas: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + status: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsMyRequestTagArgs']]]] = None, + tenancy_ocid: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if attribute_sets is not None: - pulumi.set(__self__, "attribute_sets", attribute_sets) + _setter("attribute_sets", attribute_sets) if attributes is not None: - pulumi.set(__self__, "attributes", attributes) + _setter("attributes", attributes) if authorization is not None: - pulumi.set(__self__, "authorization", authorization) + _setter("authorization", authorization) if compartment_ocid is not None: - pulumi.set(__self__, "compartment_ocid", compartment_ocid) + _setter("compartment_ocid", compartment_ocid) if delete_in_progress is not None: - pulumi.set(__self__, "delete_in_progress", delete_in_progress) + _setter("delete_in_progress", delete_in_progress) if domain_ocid is not None: - pulumi.set(__self__, "domain_ocid", domain_ocid) + _setter("domain_ocid", domain_ocid) if idcs_created_bies is not None: - pulumi.set(__self__, "idcs_created_bies", idcs_created_bies) + _setter("idcs_created_bies", idcs_created_bies) if idcs_endpoint is not None: - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) + _setter("idcs_endpoint", idcs_endpoint) if idcs_last_modified_bies is not None: - pulumi.set(__self__, "idcs_last_modified_bies", idcs_last_modified_bies) + _setter("idcs_last_modified_bies", idcs_last_modified_bies) if idcs_last_upgraded_in_release is not None: - pulumi.set(__self__, "idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) + _setter("idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) if idcs_prevented_operations is not None: - pulumi.set(__self__, "idcs_prevented_operations", idcs_prevented_operations) + _setter("idcs_prevented_operations", idcs_prevented_operations) if justification is not None: - pulumi.set(__self__, "justification", justification) + _setter("justification", justification) if metas is not None: - pulumi.set(__self__, "metas", metas) + _setter("metas", metas) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if requesting is not None: - pulumi.set(__self__, "requesting", requesting) + _setter("requesting", requesting) if requestor is not None: - pulumi.set(__self__, "requestor", requestor) + _setter("requestor", requestor) if resource_type_schema_version is not None: - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) + _setter("resource_type_schema_version", resource_type_schema_version) if schemas is not None: - pulumi.set(__self__, "schemas", schemas) + _setter("schemas", schemas) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if tenancy_ocid is not None: - pulumi.set(__self__, "tenancy_ocid", tenancy_ocid) + _setter("tenancy_ocid", tenancy_ocid) @property @pulumi.getter(name="attributeSets") @@ -1138,6 +1218,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DomainsMyRequestArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -1174,9 +1258,19 @@ def _internal_init(__self__, raise TypeError("Missing required property 'justification'") __props__.__dict__["justification"] = justification __props__.__dict__["ocid"] = ocid + if requesting is not None and not isinstance(requesting, DomainsMyRequestRequestingArgs): + requesting = requesting or {} + def _setter(key, value): + requesting[key] = value + DomainsMyRequestRequestingArgs._configure(_setter, **requesting) if requesting is None and not opts.urn: raise TypeError("Missing required property 'requesting'") __props__.__dict__["requesting"] = requesting + if requestor is not None and not isinstance(requestor, DomainsMyRequestRequestorArgs): + requestor = requestor or {} + def _setter(key, value): + requestor[key] = value + DomainsMyRequestRequestorArgs._configure(_setter, **requestor) __props__.__dict__["requestor"] = requestor __props__.__dict__["resource_type_schema_version"] = resource_type_schema_version if schemas is None and not opts.urn: diff --git a/sdk/python/pulumi_oci/identity/domains_my_smtp_credential.py b/sdk/python/pulumi_oci/identity/domains_my_smtp_credential.py index e4c6672aba..612094cfc2 100644 --- a/sdk/python/pulumi_oci/identity/domains_my_smtp_credential.py +++ b/sdk/python/pulumi_oci/identity/domains_my_smtp_credential.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -110,24 +110,51 @@ def __init__(__self__, *, * type: complex * uniqueness: none """ - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) - pulumi.set(__self__, "schemas", schemas) + DomainsMySmtpCredentialArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + idcs_endpoint=idcs_endpoint, + schemas=schemas, + authorization=authorization, + description=description, + expires_on=expires_on, + ocid=ocid, + resource_type_schema_version=resource_type_schema_version, + status=status, + tags=tags, + user=user, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + idcs_endpoint: pulumi.Input[str], + schemas: pulumi.Input[Sequence[pulumi.Input[str]]], + authorization: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + expires_on: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + resource_type_schema_version: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsMySmtpCredentialTagArgs']]]] = None, + user: Optional[pulumi.Input['DomainsMySmtpCredentialUserArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("idcs_endpoint", idcs_endpoint) + _setter("schemas", schemas) if authorization is not None: - pulumi.set(__self__, "authorization", authorization) + _setter("authorization", authorization) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if expires_on is not None: - pulumi.set(__self__, "expires_on", expires_on) + _setter("expires_on", expires_on) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if resource_type_schema_version is not None: - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) + _setter("resource_type_schema_version", resource_type_schema_version) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if user is not None: - pulumi.set(__self__, "user", user) + _setter("user", user) @property @pulumi.getter(name="idcsEndpoint") @@ -534,46 +561,93 @@ def __init__(__self__, *, ** 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 """ + _DomainsMySmtpCredentialState._configure( + lambda key, value: pulumi.set(__self__, key, value), + authorization=authorization, + compartment_ocid=compartment_ocid, + delete_in_progress=delete_in_progress, + description=description, + domain_ocid=domain_ocid, + expires_on=expires_on, + idcs_created_bies=idcs_created_bies, + idcs_endpoint=idcs_endpoint, + idcs_last_modified_bies=idcs_last_modified_bies, + idcs_last_upgraded_in_release=idcs_last_upgraded_in_release, + idcs_prevented_operations=idcs_prevented_operations, + metas=metas, + ocid=ocid, + resource_type_schema_version=resource_type_schema_version, + schemas=schemas, + status=status, + tags=tags, + tenancy_ocid=tenancy_ocid, + user=user, + user_name=user_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + authorization: Optional[pulumi.Input[str]] = None, + compartment_ocid: Optional[pulumi.Input[str]] = None, + delete_in_progress: Optional[pulumi.Input[bool]] = None, + description: Optional[pulumi.Input[str]] = None, + domain_ocid: Optional[pulumi.Input[str]] = None, + expires_on: Optional[pulumi.Input[str]] = None, + idcs_created_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsMySmtpCredentialIdcsCreatedByArgs']]]] = None, + idcs_endpoint: Optional[pulumi.Input[str]] = None, + idcs_last_modified_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsMySmtpCredentialIdcsLastModifiedByArgs']]]] = None, + idcs_last_upgraded_in_release: Optional[pulumi.Input[str]] = None, + idcs_prevented_operations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + metas: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsMySmtpCredentialMetaArgs']]]] = None, + ocid: Optional[pulumi.Input[str]] = None, + resource_type_schema_version: Optional[pulumi.Input[str]] = None, + schemas: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + status: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsMySmtpCredentialTagArgs']]]] = None, + tenancy_ocid: Optional[pulumi.Input[str]] = None, + user: Optional[pulumi.Input['DomainsMySmtpCredentialUserArgs']] = None, + user_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if authorization is not None: - pulumi.set(__self__, "authorization", authorization) + _setter("authorization", authorization) if compartment_ocid is not None: - pulumi.set(__self__, "compartment_ocid", compartment_ocid) + _setter("compartment_ocid", compartment_ocid) if delete_in_progress is not None: - pulumi.set(__self__, "delete_in_progress", delete_in_progress) + _setter("delete_in_progress", delete_in_progress) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if domain_ocid is not None: - pulumi.set(__self__, "domain_ocid", domain_ocid) + _setter("domain_ocid", domain_ocid) if expires_on is not None: - pulumi.set(__self__, "expires_on", expires_on) + _setter("expires_on", expires_on) if idcs_created_bies is not None: - pulumi.set(__self__, "idcs_created_bies", idcs_created_bies) + _setter("idcs_created_bies", idcs_created_bies) if idcs_endpoint is not None: - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) + _setter("idcs_endpoint", idcs_endpoint) if idcs_last_modified_bies is not None: - pulumi.set(__self__, "idcs_last_modified_bies", idcs_last_modified_bies) + _setter("idcs_last_modified_bies", idcs_last_modified_bies) if idcs_last_upgraded_in_release is not None: - pulumi.set(__self__, "idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) + _setter("idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) if idcs_prevented_operations is not None: - pulumi.set(__self__, "idcs_prevented_operations", idcs_prevented_operations) + _setter("idcs_prevented_operations", idcs_prevented_operations) if metas is not None: - pulumi.set(__self__, "metas", metas) + _setter("metas", metas) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if resource_type_schema_version is not None: - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) + _setter("resource_type_schema_version", resource_type_schema_version) if schemas is not None: - pulumi.set(__self__, "schemas", schemas) + _setter("schemas", schemas) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if tenancy_ocid is not None: - pulumi.set(__self__, "tenancy_ocid", tenancy_ocid) + _setter("tenancy_ocid", tenancy_ocid) if user is not None: - pulumi.set(__self__, "user", user) + _setter("user", user) if user_name is not None: - pulumi.set(__self__, "user_name", user_name) + _setter("user_name", user_name) @property @pulumi.getter @@ -1125,6 +1199,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DomainsMySmtpCredentialArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -1162,6 +1240,11 @@ def _internal_init(__self__, __props__.__dict__["schemas"] = schemas __props__.__dict__["status"] = status __props__.__dict__["tags"] = tags + if user is not None and not isinstance(user, DomainsMySmtpCredentialUserArgs): + user = user or {} + def _setter(key, value): + user[key] = value + DomainsMySmtpCredentialUserArgs._configure(_setter, **user) __props__.__dict__["user"] = user __props__.__dict__["compartment_ocid"] = None __props__.__dict__["delete_in_progress"] = None diff --git a/sdk/python/pulumi_oci/identity/domains_my_support_account.py b/sdk/python/pulumi_oci/identity/domains_my_support_account.py index 303d9901d0..417f2bf530 100644 --- a/sdk/python/pulumi_oci/identity/domains_my_support_account.py +++ b/sdk/python/pulumi_oci/identity/domains_my_support_account.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -85,19 +85,42 @@ def __init__(__self__, *, * type: complex * uniqueness: none """ - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) - pulumi.set(__self__, "schemas", schemas) - pulumi.set(__self__, "token", token) + DomainsMySupportAccountArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + idcs_endpoint=idcs_endpoint, + schemas=schemas, + token=token, + authorization=authorization, + ocid=ocid, + resource_type_schema_version=resource_type_schema_version, + tags=tags, + user=user, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + idcs_endpoint: pulumi.Input[str], + schemas: pulumi.Input[Sequence[pulumi.Input[str]]], + token: pulumi.Input[str], + authorization: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + resource_type_schema_version: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsMySupportAccountTagArgs']]]] = None, + user: Optional[pulumi.Input['DomainsMySupportAccountUserArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("idcs_endpoint", idcs_endpoint) + _setter("schemas", schemas) + _setter("token", token) if authorization is not None: - pulumi.set(__self__, "authorization", authorization) + _setter("authorization", authorization) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if resource_type_schema_version is not None: - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) + _setter("resource_type_schema_version", resource_type_schema_version) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if user is not None: - pulumi.set(__self__, "user", user) + _setter("user", user) @property @pulumi.getter(name="idcsEndpoint") @@ -453,44 +476,89 @@ def __init__(__self__, *, ** 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 """ + _DomainsMySupportAccountState._configure( + lambda key, value: pulumi.set(__self__, key, value), + authorization=authorization, + compartment_ocid=compartment_ocid, + delete_in_progress=delete_in_progress, + domain_ocid=domain_ocid, + idcs_created_bies=idcs_created_bies, + idcs_endpoint=idcs_endpoint, + idcs_last_modified_bies=idcs_last_modified_bies, + idcs_last_upgraded_in_release=idcs_last_upgraded_in_release, + idcs_prevented_operations=idcs_prevented_operations, + metas=metas, + my_support_account_provider=my_support_account_provider, + ocid=ocid, + resource_type_schema_version=resource_type_schema_version, + schemas=schemas, + tags=tags, + tenancy_ocid=tenancy_ocid, + token=token, + user=user, + user_id=user_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + authorization: Optional[pulumi.Input[str]] = None, + compartment_ocid: Optional[pulumi.Input[str]] = None, + delete_in_progress: Optional[pulumi.Input[bool]] = None, + domain_ocid: Optional[pulumi.Input[str]] = None, + idcs_created_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsMySupportAccountIdcsCreatedByArgs']]]] = None, + idcs_endpoint: Optional[pulumi.Input[str]] = None, + idcs_last_modified_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsMySupportAccountIdcsLastModifiedByArgs']]]] = None, + idcs_last_upgraded_in_release: Optional[pulumi.Input[str]] = None, + idcs_prevented_operations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + metas: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsMySupportAccountMetaArgs']]]] = None, + my_support_account_provider: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + resource_type_schema_version: Optional[pulumi.Input[str]] = None, + schemas: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsMySupportAccountTagArgs']]]] = None, + tenancy_ocid: Optional[pulumi.Input[str]] = None, + token: Optional[pulumi.Input[str]] = None, + user: Optional[pulumi.Input['DomainsMySupportAccountUserArgs']] = None, + user_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if authorization is not None: - pulumi.set(__self__, "authorization", authorization) + _setter("authorization", authorization) if compartment_ocid is not None: - pulumi.set(__self__, "compartment_ocid", compartment_ocid) + _setter("compartment_ocid", compartment_ocid) if delete_in_progress is not None: - pulumi.set(__self__, "delete_in_progress", delete_in_progress) + _setter("delete_in_progress", delete_in_progress) if domain_ocid is not None: - pulumi.set(__self__, "domain_ocid", domain_ocid) + _setter("domain_ocid", domain_ocid) if idcs_created_bies is not None: - pulumi.set(__self__, "idcs_created_bies", idcs_created_bies) + _setter("idcs_created_bies", idcs_created_bies) if idcs_endpoint is not None: - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) + _setter("idcs_endpoint", idcs_endpoint) if idcs_last_modified_bies is not None: - pulumi.set(__self__, "idcs_last_modified_bies", idcs_last_modified_bies) + _setter("idcs_last_modified_bies", idcs_last_modified_bies) if idcs_last_upgraded_in_release is not None: - pulumi.set(__self__, "idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) + _setter("idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) if idcs_prevented_operations is not None: - pulumi.set(__self__, "idcs_prevented_operations", idcs_prevented_operations) + _setter("idcs_prevented_operations", idcs_prevented_operations) if metas is not None: - pulumi.set(__self__, "metas", metas) + _setter("metas", metas) if my_support_account_provider is not None: - pulumi.set(__self__, "my_support_account_provider", my_support_account_provider) + _setter("my_support_account_provider", my_support_account_provider) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if resource_type_schema_version is not None: - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) + _setter("resource_type_schema_version", resource_type_schema_version) if schemas is not None: - pulumi.set(__self__, "schemas", schemas) + _setter("schemas", schemas) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if tenancy_ocid is not None: - pulumi.set(__self__, "tenancy_ocid", tenancy_ocid) + _setter("tenancy_ocid", tenancy_ocid) if token is not None: - pulumi.set(__self__, "token", token) + _setter("token", token) if user is not None: - pulumi.set(__self__, "user", user) + _setter("user", user) if user_id is not None: - pulumi.set(__self__, "user_id", user_id) + _setter("user_id", user_id) @property @pulumi.getter @@ -1001,6 +1069,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DomainsMySupportAccountArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -1036,6 +1108,11 @@ def _internal_init(__self__, if token is None and not opts.urn: raise TypeError("Missing required property 'token'") __props__.__dict__["token"] = token + if user is not None and not isinstance(user, DomainsMySupportAccountUserArgs): + user = user or {} + def _setter(key, value): + user[key] = value + DomainsMySupportAccountUserArgs._configure(_setter, **user) __props__.__dict__["user"] = user __props__.__dict__["compartment_ocid"] = None __props__.__dict__["delete_in_progress"] = None diff --git a/sdk/python/pulumi_oci/identity/domains_my_user_db_credential.py b/sdk/python/pulumi_oci/identity/domains_my_user_db_credential.py index 1b49a8f052..99b56babbb 100644 --- a/sdk/python/pulumi_oci/identity/domains_my_user_db_credential.py +++ b/sdk/python/pulumi_oci/identity/domains_my_user_db_credential.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -121,25 +121,54 @@ def __init__(__self__, *, * type: complex * uniqueness: none """ - pulumi.set(__self__, "db_password", db_password) - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) - pulumi.set(__self__, "schemas", schemas) + DomainsMyUserDbCredentialArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_password=db_password, + idcs_endpoint=idcs_endpoint, + schemas=schemas, + authorization=authorization, + description=description, + expires_on=expires_on, + ocid=ocid, + resource_type_schema_version=resource_type_schema_version, + status=status, + tags=tags, + user=user, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_password: pulumi.Input[str], + idcs_endpoint: pulumi.Input[str], + schemas: pulumi.Input[Sequence[pulumi.Input[str]]], + authorization: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + expires_on: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + resource_type_schema_version: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsMyUserDbCredentialTagArgs']]]] = None, + user: Optional[pulumi.Input['DomainsMyUserDbCredentialUserArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("db_password", db_password) + _setter("idcs_endpoint", idcs_endpoint) + _setter("schemas", schemas) if authorization is not None: - pulumi.set(__self__, "authorization", authorization) + _setter("authorization", authorization) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if expires_on is not None: - pulumi.set(__self__, "expires_on", expires_on) + _setter("expires_on", expires_on) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if resource_type_schema_version is not None: - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) + _setter("resource_type_schema_version", resource_type_schema_version) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if user is not None: - pulumi.set(__self__, "user", user) + _setter("user", user) @property @pulumi.getter(name="dbPassword") @@ -615,58 +644,117 @@ def __init__(__self__, *, * type: complex * uniqueness: none """ + _DomainsMyUserDbCredentialState._configure( + lambda key, value: pulumi.set(__self__, key, value), + authorization=authorization, + compartment_ocid=compartment_ocid, + db_password=db_password, + delete_in_progress=delete_in_progress, + description=description, + domain_ocid=domain_ocid, + expired=expired, + expires_on=expires_on, + idcs_created_bies=idcs_created_bies, + idcs_endpoint=idcs_endpoint, + idcs_last_modified_bies=idcs_last_modified_bies, + idcs_last_upgraded_in_release=idcs_last_upgraded_in_release, + idcs_prevented_operations=idcs_prevented_operations, + last_set_date=last_set_date, + metas=metas, + mixed_db_password=mixed_db_password, + mixed_salt=mixed_salt, + name=name, + ocid=ocid, + resource_type_schema_version=resource_type_schema_version, + salt=salt, + schemas=schemas, + status=status, + tags=tags, + tenancy_ocid=tenancy_ocid, + user=user, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + authorization: Optional[pulumi.Input[str]] = None, + compartment_ocid: Optional[pulumi.Input[str]] = None, + db_password: Optional[pulumi.Input[str]] = None, + delete_in_progress: Optional[pulumi.Input[bool]] = None, + description: Optional[pulumi.Input[str]] = None, + domain_ocid: Optional[pulumi.Input[str]] = None, + expired: Optional[pulumi.Input[bool]] = None, + expires_on: Optional[pulumi.Input[str]] = None, + idcs_created_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsMyUserDbCredentialIdcsCreatedByArgs']]]] = None, + idcs_endpoint: Optional[pulumi.Input[str]] = None, + idcs_last_modified_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsMyUserDbCredentialIdcsLastModifiedByArgs']]]] = None, + idcs_last_upgraded_in_release: Optional[pulumi.Input[str]] = None, + idcs_prevented_operations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + last_set_date: Optional[pulumi.Input[str]] = None, + metas: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsMyUserDbCredentialMetaArgs']]]] = None, + mixed_db_password: Optional[pulumi.Input[str]] = None, + mixed_salt: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + resource_type_schema_version: Optional[pulumi.Input[str]] = None, + salt: Optional[pulumi.Input[str]] = None, + schemas: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + status: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsMyUserDbCredentialTagArgs']]]] = None, + tenancy_ocid: Optional[pulumi.Input[str]] = None, + user: Optional[pulumi.Input['DomainsMyUserDbCredentialUserArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if authorization is not None: - pulumi.set(__self__, "authorization", authorization) + _setter("authorization", authorization) if compartment_ocid is not None: - pulumi.set(__self__, "compartment_ocid", compartment_ocid) + _setter("compartment_ocid", compartment_ocid) if db_password is not None: - pulumi.set(__self__, "db_password", db_password) + _setter("db_password", db_password) if delete_in_progress is not None: - pulumi.set(__self__, "delete_in_progress", delete_in_progress) + _setter("delete_in_progress", delete_in_progress) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if domain_ocid is not None: - pulumi.set(__self__, "domain_ocid", domain_ocid) + _setter("domain_ocid", domain_ocid) if expired is not None: - pulumi.set(__self__, "expired", expired) + _setter("expired", expired) if expires_on is not None: - pulumi.set(__self__, "expires_on", expires_on) + _setter("expires_on", expires_on) if idcs_created_bies is not None: - pulumi.set(__self__, "idcs_created_bies", idcs_created_bies) + _setter("idcs_created_bies", idcs_created_bies) if idcs_endpoint is not None: - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) + _setter("idcs_endpoint", idcs_endpoint) if idcs_last_modified_bies is not None: - pulumi.set(__self__, "idcs_last_modified_bies", idcs_last_modified_bies) + _setter("idcs_last_modified_bies", idcs_last_modified_bies) if idcs_last_upgraded_in_release is not None: - pulumi.set(__self__, "idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) + _setter("idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) if idcs_prevented_operations is not None: - pulumi.set(__self__, "idcs_prevented_operations", idcs_prevented_operations) + _setter("idcs_prevented_operations", idcs_prevented_operations) if last_set_date is not None: - pulumi.set(__self__, "last_set_date", last_set_date) + _setter("last_set_date", last_set_date) if metas is not None: - pulumi.set(__self__, "metas", metas) + _setter("metas", metas) if mixed_db_password is not None: - pulumi.set(__self__, "mixed_db_password", mixed_db_password) + _setter("mixed_db_password", mixed_db_password) if mixed_salt is not None: - pulumi.set(__self__, "mixed_salt", mixed_salt) + _setter("mixed_salt", mixed_salt) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if resource_type_schema_version is not None: - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) + _setter("resource_type_schema_version", resource_type_schema_version) if salt is not None: - pulumi.set(__self__, "salt", salt) + _setter("salt", salt) if schemas is not None: - pulumi.set(__self__, "schemas", schemas) + _setter("schemas", schemas) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if tenancy_ocid is not None: - pulumi.set(__self__, "tenancy_ocid", tenancy_ocid) + _setter("tenancy_ocid", tenancy_ocid) if user is not None: - pulumi.set(__self__, "user", user) + _setter("user", user) @property @pulumi.getter @@ -1337,6 +1425,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DomainsMyUserDbCredentialArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -1378,6 +1470,11 @@ def _internal_init(__self__, __props__.__dict__["schemas"] = schemas __props__.__dict__["status"] = status __props__.__dict__["tags"] = tags + if user is not None and not isinstance(user, DomainsMyUserDbCredentialUserArgs): + user = user or {} + def _setter(key, value): + user[key] = value + DomainsMyUserDbCredentialUserArgs._configure(_setter, **user) __props__.__dict__["user"] = user __props__.__dict__["compartment_ocid"] = None __props__.__dict__["delete_in_progress"] = None diff --git a/sdk/python/pulumi_oci/identity/domains_oauth2client_credential.py b/sdk/python/pulumi_oci/identity/domains_oauth2client_credential.py index f6d5ded2fa..2ceb329f9c 100644 --- a/sdk/python/pulumi_oci/identity/domains_oauth2client_credential.py +++ b/sdk/python/pulumi_oci/identity/domains_oauth2client_credential.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -155,35 +155,74 @@ def __init__(__self__, *, * type: complex * uniqueness: none """ - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) - pulumi.set(__self__, "schemas", schemas) - pulumi.set(__self__, "scopes", scopes) + DomainsOauth2clientCredentialArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + idcs_endpoint=idcs_endpoint, + schemas=schemas, + scopes=scopes, + attribute_sets=attribute_sets, + attributes=attributes, + authorization=authorization, + description=description, + expires_on=expires_on, + is_reset_secret=is_reset_secret, + name=name, + ocid=ocid, + resource_type_schema_version=resource_type_schema_version, + status=status, + tags=tags, + urnietfparamsscimschemasoracleidcsextensionself_change_user=urnietfparamsscimschemasoracleidcsextensionself_change_user, + user=user, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + idcs_endpoint: pulumi.Input[str], + schemas: pulumi.Input[Sequence[pulumi.Input[str]]], + scopes: pulumi.Input[Sequence[pulumi.Input['DomainsOauth2clientCredentialScopeArgs']]], + attribute_sets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + attributes: Optional[pulumi.Input[str]] = None, + authorization: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + expires_on: Optional[pulumi.Input[str]] = None, + is_reset_secret: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + resource_type_schema_version: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsOauth2clientCredentialTagArgs']]]] = None, + urnietfparamsscimschemasoracleidcsextensionself_change_user: Optional[pulumi.Input['DomainsOauth2clientCredentialUrnietfparamsscimschemasoracleidcsextensionselfChangeUserArgs']] = None, + user: Optional[pulumi.Input['DomainsOauth2clientCredentialUserArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("idcs_endpoint", idcs_endpoint) + _setter("schemas", schemas) + _setter("scopes", scopes) if attribute_sets is not None: - pulumi.set(__self__, "attribute_sets", attribute_sets) + _setter("attribute_sets", attribute_sets) if attributes is not None: - pulumi.set(__self__, "attributes", attributes) + _setter("attributes", attributes) if authorization is not None: - pulumi.set(__self__, "authorization", authorization) + _setter("authorization", authorization) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if expires_on is not None: - pulumi.set(__self__, "expires_on", expires_on) + _setter("expires_on", expires_on) if is_reset_secret is not None: - pulumi.set(__self__, "is_reset_secret", is_reset_secret) + _setter("is_reset_secret", is_reset_secret) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if resource_type_schema_version is not None: - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) + _setter("resource_type_schema_version", resource_type_schema_version) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if urnietfparamsscimschemasoracleidcsextensionself_change_user is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionself_change_user", urnietfparamsscimschemasoracleidcsextensionself_change_user) + _setter("urnietfparamsscimschemasoracleidcsextensionself_change_user", urnietfparamsscimschemasoracleidcsextensionself_change_user) if user is not None: - pulumi.set(__self__, "user", user) + _setter("user", user) @property @pulumi.getter(name="idcsEndpoint") @@ -727,56 +766,113 @@ def __init__(__self__, *, * type: complex * uniqueness: none """ + _DomainsOauth2clientCredentialState._configure( + lambda key, value: pulumi.set(__self__, key, value), + attribute_sets=attribute_sets, + attributes=attributes, + authorization=authorization, + compartment_ocid=compartment_ocid, + delete_in_progress=delete_in_progress, + description=description, + domain_ocid=domain_ocid, + expires_on=expires_on, + idcs_created_bies=idcs_created_bies, + idcs_endpoint=idcs_endpoint, + idcs_last_modified_bies=idcs_last_modified_bies, + idcs_last_upgraded_in_release=idcs_last_upgraded_in_release, + idcs_prevented_operations=idcs_prevented_operations, + is_reset_secret=is_reset_secret, + metas=metas, + name=name, + ocid=ocid, + resource_type_schema_version=resource_type_schema_version, + schemas=schemas, + scopes=scopes, + status=status, + tags=tags, + tenancy_ocid=tenancy_ocid, + urnietfparamsscimschemasoracleidcsextensionself_change_user=urnietfparamsscimschemasoracleidcsextensionself_change_user, + user=user, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attribute_sets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + attributes: Optional[pulumi.Input[str]] = None, + authorization: Optional[pulumi.Input[str]] = None, + compartment_ocid: Optional[pulumi.Input[str]] = None, + delete_in_progress: Optional[pulumi.Input[bool]] = None, + description: Optional[pulumi.Input[str]] = None, + domain_ocid: Optional[pulumi.Input[str]] = None, + expires_on: Optional[pulumi.Input[str]] = None, + idcs_created_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsOauth2clientCredentialIdcsCreatedByArgs']]]] = None, + idcs_endpoint: Optional[pulumi.Input[str]] = None, + idcs_last_modified_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsOauth2clientCredentialIdcsLastModifiedByArgs']]]] = None, + idcs_last_upgraded_in_release: Optional[pulumi.Input[str]] = None, + idcs_prevented_operations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + is_reset_secret: Optional[pulumi.Input[bool]] = None, + metas: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsOauth2clientCredentialMetaArgs']]]] = None, + name: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + resource_type_schema_version: Optional[pulumi.Input[str]] = None, + schemas: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + scopes: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsOauth2clientCredentialScopeArgs']]]] = None, + status: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsOauth2clientCredentialTagArgs']]]] = None, + tenancy_ocid: Optional[pulumi.Input[str]] = None, + urnietfparamsscimschemasoracleidcsextensionself_change_user: Optional[pulumi.Input['DomainsOauth2clientCredentialUrnietfparamsscimschemasoracleidcsextensionselfChangeUserArgs']] = None, + user: Optional[pulumi.Input['DomainsOauth2clientCredentialUserArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if attribute_sets is not None: - pulumi.set(__self__, "attribute_sets", attribute_sets) + _setter("attribute_sets", attribute_sets) if attributes is not None: - pulumi.set(__self__, "attributes", attributes) + _setter("attributes", attributes) if authorization is not None: - pulumi.set(__self__, "authorization", authorization) + _setter("authorization", authorization) if compartment_ocid is not None: - pulumi.set(__self__, "compartment_ocid", compartment_ocid) + _setter("compartment_ocid", compartment_ocid) if delete_in_progress is not None: - pulumi.set(__self__, "delete_in_progress", delete_in_progress) + _setter("delete_in_progress", delete_in_progress) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if domain_ocid is not None: - pulumi.set(__self__, "domain_ocid", domain_ocid) + _setter("domain_ocid", domain_ocid) if expires_on is not None: - pulumi.set(__self__, "expires_on", expires_on) + _setter("expires_on", expires_on) if idcs_created_bies is not None: - pulumi.set(__self__, "idcs_created_bies", idcs_created_bies) + _setter("idcs_created_bies", idcs_created_bies) if idcs_endpoint is not None: - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) + _setter("idcs_endpoint", idcs_endpoint) if idcs_last_modified_bies is not None: - pulumi.set(__self__, "idcs_last_modified_bies", idcs_last_modified_bies) + _setter("idcs_last_modified_bies", idcs_last_modified_bies) if idcs_last_upgraded_in_release is not None: - pulumi.set(__self__, "idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) + _setter("idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) if idcs_prevented_operations is not None: - pulumi.set(__self__, "idcs_prevented_operations", idcs_prevented_operations) + _setter("idcs_prevented_operations", idcs_prevented_operations) if is_reset_secret is not None: - pulumi.set(__self__, "is_reset_secret", is_reset_secret) + _setter("is_reset_secret", is_reset_secret) if metas is not None: - pulumi.set(__self__, "metas", metas) + _setter("metas", metas) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if resource_type_schema_version is not None: - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) + _setter("resource_type_schema_version", resource_type_schema_version) if schemas is not None: - pulumi.set(__self__, "schemas", schemas) + _setter("schemas", schemas) if scopes is not None: - pulumi.set(__self__, "scopes", scopes) + _setter("scopes", scopes) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if tenancy_ocid is not None: - pulumi.set(__self__, "tenancy_ocid", tenancy_ocid) + _setter("tenancy_ocid", tenancy_ocid) if urnietfparamsscimschemasoracleidcsextensionself_change_user is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionself_change_user", urnietfparamsscimschemasoracleidcsextensionself_change_user) + _setter("urnietfparamsscimschemasoracleidcsextensionself_change_user", urnietfparamsscimschemasoracleidcsextensionself_change_user) if user is not None: - pulumi.set(__self__, "user", user) + _setter("user", user) @property @pulumi.getter(name="attributeSets") @@ -1455,6 +1551,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DomainsOauth2clientCredentialArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -1505,7 +1605,17 @@ def _internal_init(__self__, __props__.__dict__["scopes"] = scopes __props__.__dict__["status"] = status __props__.__dict__["tags"] = tags + if urnietfparamsscimschemasoracleidcsextensionself_change_user is not None and not isinstance(urnietfparamsscimschemasoracleidcsextensionself_change_user, DomainsOauth2clientCredentialUrnietfparamsscimschemasoracleidcsextensionselfChangeUserArgs): + urnietfparamsscimschemasoracleidcsextensionself_change_user = urnietfparamsscimschemasoracleidcsextensionself_change_user or {} + def _setter(key, value): + urnietfparamsscimschemasoracleidcsextensionself_change_user[key] = value + DomainsOauth2clientCredentialUrnietfparamsscimschemasoracleidcsextensionselfChangeUserArgs._configure(_setter, **urnietfparamsscimschemasoracleidcsextensionself_change_user) __props__.__dict__["urnietfparamsscimschemasoracleidcsextensionself_change_user"] = urnietfparamsscimschemasoracleidcsextensionself_change_user + if user is not None and not isinstance(user, DomainsOauth2clientCredentialUserArgs): + user = user or {} + def _setter(key, value): + user[key] = value + DomainsOauth2clientCredentialUserArgs._configure(_setter, **user) __props__.__dict__["user"] = user __props__.__dict__["compartment_ocid"] = None __props__.__dict__["delete_in_progress"] = None diff --git a/sdk/python/pulumi_oci/identity/domains_password_policy.py b/sdk/python/pulumi_oci/identity/domains_password_policy.py index 8555254134..4b9cd212e8 100644 --- a/sdk/python/pulumi_oci/identity/domains_password_policy.py +++ b/sdk/python/pulumi_oci/identity/domains_password_policy.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -489,94 +489,191 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) - pulumi.set(__self__, "schemas", schemas) + DomainsPasswordPolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + idcs_endpoint=idcs_endpoint, + schemas=schemas, + allowed_chars=allowed_chars, + attribute_sets=attribute_sets, + attributes=attributes, + authorization=authorization, + description=description, + dictionary_delimiter=dictionary_delimiter, + dictionary_location=dictionary_location, + dictionary_word_disallowed=dictionary_word_disallowed, + disallowed_chars=disallowed_chars, + disallowed_substrings=disallowed_substrings, + disallowed_user_attribute_values=disallowed_user_attribute_values, + distinct_characters=distinct_characters, + external_id=external_id, + first_name_disallowed=first_name_disallowed, + force_password_reset=force_password_reset, + groups=groups, + last_name_disallowed=last_name_disallowed, + lockout_duration=lockout_duration, + max_incorrect_attempts=max_incorrect_attempts, + max_length=max_length, + max_repeated_chars=max_repeated_chars, + max_special_chars=max_special_chars, + min_alpha_numerals=min_alpha_numerals, + min_alphas=min_alphas, + min_length=min_length, + min_lower_case=min_lower_case, + min_numerals=min_numerals, + min_password_age=min_password_age, + min_special_chars=min_special_chars, + min_unique_chars=min_unique_chars, + min_upper_case=min_upper_case, + name=name, + num_passwords_in_history=num_passwords_in_history, + ocid=ocid, + password_expire_warning=password_expire_warning, + password_expires_after=password_expires_after, + password_strength=password_strength, + priority=priority, + required_chars=required_chars, + resource_type_schema_version=resource_type_schema_version, + starts_with_alphabet=starts_with_alphabet, + tags=tags, + user_name_disallowed=user_name_disallowed, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + idcs_endpoint: pulumi.Input[str], + schemas: pulumi.Input[Sequence[pulumi.Input[str]]], + allowed_chars: Optional[pulumi.Input[str]] = None, + attribute_sets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + attributes: Optional[pulumi.Input[str]] = None, + authorization: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + dictionary_delimiter: Optional[pulumi.Input[str]] = None, + dictionary_location: Optional[pulumi.Input[str]] = None, + dictionary_word_disallowed: Optional[pulumi.Input[bool]] = None, + disallowed_chars: Optional[pulumi.Input[str]] = None, + disallowed_substrings: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + disallowed_user_attribute_values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + distinct_characters: Optional[pulumi.Input[int]] = None, + external_id: Optional[pulumi.Input[str]] = None, + first_name_disallowed: Optional[pulumi.Input[bool]] = None, + force_password_reset: Optional[pulumi.Input[bool]] = None, + groups: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsPasswordPolicyGroupArgs']]]] = None, + last_name_disallowed: Optional[pulumi.Input[bool]] = None, + lockout_duration: Optional[pulumi.Input[int]] = None, + max_incorrect_attempts: Optional[pulumi.Input[int]] = None, + max_length: Optional[pulumi.Input[int]] = None, + max_repeated_chars: Optional[pulumi.Input[int]] = None, + max_special_chars: Optional[pulumi.Input[int]] = None, + min_alpha_numerals: Optional[pulumi.Input[int]] = None, + min_alphas: Optional[pulumi.Input[int]] = None, + min_length: Optional[pulumi.Input[int]] = None, + min_lower_case: Optional[pulumi.Input[int]] = None, + min_numerals: Optional[pulumi.Input[int]] = None, + min_password_age: Optional[pulumi.Input[int]] = None, + min_special_chars: Optional[pulumi.Input[int]] = None, + min_unique_chars: Optional[pulumi.Input[int]] = None, + min_upper_case: Optional[pulumi.Input[int]] = None, + name: Optional[pulumi.Input[str]] = None, + num_passwords_in_history: Optional[pulumi.Input[int]] = None, + ocid: Optional[pulumi.Input[str]] = None, + password_expire_warning: Optional[pulumi.Input[int]] = None, + password_expires_after: Optional[pulumi.Input[int]] = None, + password_strength: Optional[pulumi.Input[str]] = None, + priority: Optional[pulumi.Input[int]] = None, + required_chars: Optional[pulumi.Input[str]] = None, + resource_type_schema_version: Optional[pulumi.Input[str]] = None, + starts_with_alphabet: Optional[pulumi.Input[bool]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsPasswordPolicyTagArgs']]]] = None, + user_name_disallowed: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("idcs_endpoint", idcs_endpoint) + _setter("schemas", schemas) if allowed_chars is not None: - pulumi.set(__self__, "allowed_chars", allowed_chars) + _setter("allowed_chars", allowed_chars) if attribute_sets is not None: - pulumi.set(__self__, "attribute_sets", attribute_sets) + _setter("attribute_sets", attribute_sets) if attributes is not None: - pulumi.set(__self__, "attributes", attributes) + _setter("attributes", attributes) if authorization is not None: - pulumi.set(__self__, "authorization", authorization) + _setter("authorization", authorization) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if dictionary_delimiter is not None: - pulumi.set(__self__, "dictionary_delimiter", dictionary_delimiter) + _setter("dictionary_delimiter", dictionary_delimiter) if dictionary_location is not None: - pulumi.set(__self__, "dictionary_location", dictionary_location) + _setter("dictionary_location", dictionary_location) if dictionary_word_disallowed is not None: - pulumi.set(__self__, "dictionary_word_disallowed", dictionary_word_disallowed) + _setter("dictionary_word_disallowed", dictionary_word_disallowed) if disallowed_chars is not None: - pulumi.set(__self__, "disallowed_chars", disallowed_chars) + _setter("disallowed_chars", disallowed_chars) if disallowed_substrings is not None: - pulumi.set(__self__, "disallowed_substrings", disallowed_substrings) + _setter("disallowed_substrings", disallowed_substrings) if disallowed_user_attribute_values is not None: - pulumi.set(__self__, "disallowed_user_attribute_values", disallowed_user_attribute_values) + _setter("disallowed_user_attribute_values", disallowed_user_attribute_values) if distinct_characters is not None: - pulumi.set(__self__, "distinct_characters", distinct_characters) + _setter("distinct_characters", distinct_characters) if external_id is not None: - pulumi.set(__self__, "external_id", external_id) + _setter("external_id", external_id) if first_name_disallowed is not None: - pulumi.set(__self__, "first_name_disallowed", first_name_disallowed) + _setter("first_name_disallowed", first_name_disallowed) if force_password_reset is not None: - pulumi.set(__self__, "force_password_reset", force_password_reset) + _setter("force_password_reset", force_password_reset) if groups is not None: - pulumi.set(__self__, "groups", groups) + _setter("groups", groups) if last_name_disallowed is not None: - pulumi.set(__self__, "last_name_disallowed", last_name_disallowed) + _setter("last_name_disallowed", last_name_disallowed) if lockout_duration is not None: - pulumi.set(__self__, "lockout_duration", lockout_duration) + _setter("lockout_duration", lockout_duration) if max_incorrect_attempts is not None: - pulumi.set(__self__, "max_incorrect_attempts", max_incorrect_attempts) + _setter("max_incorrect_attempts", max_incorrect_attempts) if max_length is not None: - pulumi.set(__self__, "max_length", max_length) + _setter("max_length", max_length) if max_repeated_chars is not None: - pulumi.set(__self__, "max_repeated_chars", max_repeated_chars) + _setter("max_repeated_chars", max_repeated_chars) if max_special_chars is not None: - pulumi.set(__self__, "max_special_chars", max_special_chars) + _setter("max_special_chars", max_special_chars) if min_alpha_numerals is not None: - pulumi.set(__self__, "min_alpha_numerals", min_alpha_numerals) + _setter("min_alpha_numerals", min_alpha_numerals) if min_alphas is not None: - pulumi.set(__self__, "min_alphas", min_alphas) + _setter("min_alphas", min_alphas) if min_length is not None: - pulumi.set(__self__, "min_length", min_length) + _setter("min_length", min_length) if min_lower_case is not None: - pulumi.set(__self__, "min_lower_case", min_lower_case) + _setter("min_lower_case", min_lower_case) if min_numerals is not None: - pulumi.set(__self__, "min_numerals", min_numerals) + _setter("min_numerals", min_numerals) if min_password_age is not None: - pulumi.set(__self__, "min_password_age", min_password_age) + _setter("min_password_age", min_password_age) if min_special_chars is not None: - pulumi.set(__self__, "min_special_chars", min_special_chars) + _setter("min_special_chars", min_special_chars) if min_unique_chars is not None: - pulumi.set(__self__, "min_unique_chars", min_unique_chars) + _setter("min_unique_chars", min_unique_chars) if min_upper_case is not None: - pulumi.set(__self__, "min_upper_case", min_upper_case) + _setter("min_upper_case", min_upper_case) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if num_passwords_in_history is not None: - pulumi.set(__self__, "num_passwords_in_history", num_passwords_in_history) + _setter("num_passwords_in_history", num_passwords_in_history) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if password_expire_warning is not None: - pulumi.set(__self__, "password_expire_warning", password_expire_warning) + _setter("password_expire_warning", password_expire_warning) if password_expires_after is not None: - pulumi.set(__self__, "password_expires_after", password_expires_after) + _setter("password_expires_after", password_expires_after) if password_strength is not None: - pulumi.set(__self__, "password_strength", password_strength) + _setter("password_strength", password_strength) if priority is not None: - pulumi.set(__self__, "priority", priority) + _setter("priority", priority) if required_chars is not None: - pulumi.set(__self__, "required_chars", required_chars) + _setter("required_chars", required_chars) if resource_type_schema_version is not None: - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) + _setter("resource_type_schema_version", resource_type_schema_version) if starts_with_alphabet is not None: - pulumi.set(__self__, "starts_with_alphabet", starts_with_alphabet) + _setter("starts_with_alphabet", starts_with_alphabet) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if user_name_disallowed is not None: - pulumi.set(__self__, "user_name_disallowed", user_name_disallowed) + _setter("user_name_disallowed", user_name_disallowed) @property @pulumi.getter(name="idcsEndpoint") @@ -2090,116 +2187,233 @@ def __init__(__self__, *, ** 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 """ + _DomainsPasswordPolicyState._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_chars=allowed_chars, + attribute_sets=attribute_sets, + attributes=attributes, + authorization=authorization, + compartment_ocid=compartment_ocid, + configured_password_policy_rules=configured_password_policy_rules, + delete_in_progress=delete_in_progress, + description=description, + dictionary_delimiter=dictionary_delimiter, + dictionary_location=dictionary_location, + dictionary_word_disallowed=dictionary_word_disallowed, + disallowed_chars=disallowed_chars, + disallowed_substrings=disallowed_substrings, + disallowed_user_attribute_values=disallowed_user_attribute_values, + distinct_characters=distinct_characters, + domain_ocid=domain_ocid, + external_id=external_id, + first_name_disallowed=first_name_disallowed, + force_password_reset=force_password_reset, + groups=groups, + idcs_created_bies=idcs_created_bies, + idcs_endpoint=idcs_endpoint, + idcs_last_modified_bies=idcs_last_modified_bies, + idcs_last_upgraded_in_release=idcs_last_upgraded_in_release, + idcs_prevented_operations=idcs_prevented_operations, + last_name_disallowed=last_name_disallowed, + lockout_duration=lockout_duration, + max_incorrect_attempts=max_incorrect_attempts, + max_length=max_length, + max_repeated_chars=max_repeated_chars, + max_special_chars=max_special_chars, + metas=metas, + min_alpha_numerals=min_alpha_numerals, + min_alphas=min_alphas, + min_length=min_length, + min_lower_case=min_lower_case, + min_numerals=min_numerals, + min_password_age=min_password_age, + min_special_chars=min_special_chars, + min_unique_chars=min_unique_chars, + min_upper_case=min_upper_case, + name=name, + num_passwords_in_history=num_passwords_in_history, + ocid=ocid, + password_expire_warning=password_expire_warning, + password_expires_after=password_expires_after, + password_strength=password_strength, + priority=priority, + required_chars=required_chars, + resource_type_schema_version=resource_type_schema_version, + schemas=schemas, + starts_with_alphabet=starts_with_alphabet, + tags=tags, + tenancy_ocid=tenancy_ocid, + user_name_disallowed=user_name_disallowed, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_chars: Optional[pulumi.Input[str]] = None, + attribute_sets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + attributes: Optional[pulumi.Input[str]] = None, + authorization: Optional[pulumi.Input[str]] = None, + compartment_ocid: Optional[pulumi.Input[str]] = None, + configured_password_policy_rules: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsPasswordPolicyConfiguredPasswordPolicyRuleArgs']]]] = None, + delete_in_progress: Optional[pulumi.Input[bool]] = None, + description: Optional[pulumi.Input[str]] = None, + dictionary_delimiter: Optional[pulumi.Input[str]] = None, + dictionary_location: Optional[pulumi.Input[str]] = None, + dictionary_word_disallowed: Optional[pulumi.Input[bool]] = None, + disallowed_chars: Optional[pulumi.Input[str]] = None, + disallowed_substrings: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + disallowed_user_attribute_values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + distinct_characters: Optional[pulumi.Input[int]] = None, + domain_ocid: Optional[pulumi.Input[str]] = None, + external_id: Optional[pulumi.Input[str]] = None, + first_name_disallowed: Optional[pulumi.Input[bool]] = None, + force_password_reset: Optional[pulumi.Input[bool]] = None, + groups: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsPasswordPolicyGroupArgs']]]] = None, + idcs_created_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsPasswordPolicyIdcsCreatedByArgs']]]] = None, + idcs_endpoint: Optional[pulumi.Input[str]] = None, + idcs_last_modified_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsPasswordPolicyIdcsLastModifiedByArgs']]]] = None, + idcs_last_upgraded_in_release: Optional[pulumi.Input[str]] = None, + idcs_prevented_operations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + last_name_disallowed: Optional[pulumi.Input[bool]] = None, + lockout_duration: Optional[pulumi.Input[int]] = None, + max_incorrect_attempts: Optional[pulumi.Input[int]] = None, + max_length: Optional[pulumi.Input[int]] = None, + max_repeated_chars: Optional[pulumi.Input[int]] = None, + max_special_chars: Optional[pulumi.Input[int]] = None, + metas: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsPasswordPolicyMetaArgs']]]] = None, + min_alpha_numerals: Optional[pulumi.Input[int]] = None, + min_alphas: Optional[pulumi.Input[int]] = None, + min_length: Optional[pulumi.Input[int]] = None, + min_lower_case: Optional[pulumi.Input[int]] = None, + min_numerals: Optional[pulumi.Input[int]] = None, + min_password_age: Optional[pulumi.Input[int]] = None, + min_special_chars: Optional[pulumi.Input[int]] = None, + min_unique_chars: Optional[pulumi.Input[int]] = None, + min_upper_case: Optional[pulumi.Input[int]] = None, + name: Optional[pulumi.Input[str]] = None, + num_passwords_in_history: Optional[pulumi.Input[int]] = None, + ocid: Optional[pulumi.Input[str]] = None, + password_expire_warning: Optional[pulumi.Input[int]] = None, + password_expires_after: Optional[pulumi.Input[int]] = None, + password_strength: Optional[pulumi.Input[str]] = None, + priority: Optional[pulumi.Input[int]] = None, + required_chars: Optional[pulumi.Input[str]] = None, + resource_type_schema_version: Optional[pulumi.Input[str]] = None, + schemas: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + starts_with_alphabet: Optional[pulumi.Input[bool]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsPasswordPolicyTagArgs']]]] = None, + tenancy_ocid: Optional[pulumi.Input[str]] = None, + user_name_disallowed: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if allowed_chars is not None: - pulumi.set(__self__, "allowed_chars", allowed_chars) + _setter("allowed_chars", allowed_chars) if attribute_sets is not None: - pulumi.set(__self__, "attribute_sets", attribute_sets) + _setter("attribute_sets", attribute_sets) if attributes is not None: - pulumi.set(__self__, "attributes", attributes) + _setter("attributes", attributes) if authorization is not None: - pulumi.set(__self__, "authorization", authorization) + _setter("authorization", authorization) if compartment_ocid is not None: - pulumi.set(__self__, "compartment_ocid", compartment_ocid) + _setter("compartment_ocid", compartment_ocid) if configured_password_policy_rules is not None: - pulumi.set(__self__, "configured_password_policy_rules", configured_password_policy_rules) + _setter("configured_password_policy_rules", configured_password_policy_rules) if delete_in_progress is not None: - pulumi.set(__self__, "delete_in_progress", delete_in_progress) + _setter("delete_in_progress", delete_in_progress) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if dictionary_delimiter is not None: - pulumi.set(__self__, "dictionary_delimiter", dictionary_delimiter) + _setter("dictionary_delimiter", dictionary_delimiter) if dictionary_location is not None: - pulumi.set(__self__, "dictionary_location", dictionary_location) + _setter("dictionary_location", dictionary_location) if dictionary_word_disallowed is not None: - pulumi.set(__self__, "dictionary_word_disallowed", dictionary_word_disallowed) + _setter("dictionary_word_disallowed", dictionary_word_disallowed) if disallowed_chars is not None: - pulumi.set(__self__, "disallowed_chars", disallowed_chars) + _setter("disallowed_chars", disallowed_chars) if disallowed_substrings is not None: - pulumi.set(__self__, "disallowed_substrings", disallowed_substrings) + _setter("disallowed_substrings", disallowed_substrings) if disallowed_user_attribute_values is not None: - pulumi.set(__self__, "disallowed_user_attribute_values", disallowed_user_attribute_values) + _setter("disallowed_user_attribute_values", disallowed_user_attribute_values) if distinct_characters is not None: - pulumi.set(__self__, "distinct_characters", distinct_characters) + _setter("distinct_characters", distinct_characters) if domain_ocid is not None: - pulumi.set(__self__, "domain_ocid", domain_ocid) + _setter("domain_ocid", domain_ocid) if external_id is not None: - pulumi.set(__self__, "external_id", external_id) + _setter("external_id", external_id) if first_name_disallowed is not None: - pulumi.set(__self__, "first_name_disallowed", first_name_disallowed) + _setter("first_name_disallowed", first_name_disallowed) if force_password_reset is not None: - pulumi.set(__self__, "force_password_reset", force_password_reset) + _setter("force_password_reset", force_password_reset) if groups is not None: - pulumi.set(__self__, "groups", groups) + _setter("groups", groups) if idcs_created_bies is not None: - pulumi.set(__self__, "idcs_created_bies", idcs_created_bies) + _setter("idcs_created_bies", idcs_created_bies) if idcs_endpoint is not None: - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) + _setter("idcs_endpoint", idcs_endpoint) if idcs_last_modified_bies is not None: - pulumi.set(__self__, "idcs_last_modified_bies", idcs_last_modified_bies) + _setter("idcs_last_modified_bies", idcs_last_modified_bies) if idcs_last_upgraded_in_release is not None: - pulumi.set(__self__, "idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) + _setter("idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) if idcs_prevented_operations is not None: - pulumi.set(__self__, "idcs_prevented_operations", idcs_prevented_operations) + _setter("idcs_prevented_operations", idcs_prevented_operations) if last_name_disallowed is not None: - pulumi.set(__self__, "last_name_disallowed", last_name_disallowed) + _setter("last_name_disallowed", last_name_disallowed) if lockout_duration is not None: - pulumi.set(__self__, "lockout_duration", lockout_duration) + _setter("lockout_duration", lockout_duration) if max_incorrect_attempts is not None: - pulumi.set(__self__, "max_incorrect_attempts", max_incorrect_attempts) + _setter("max_incorrect_attempts", max_incorrect_attempts) if max_length is not None: - pulumi.set(__self__, "max_length", max_length) + _setter("max_length", max_length) if max_repeated_chars is not None: - pulumi.set(__self__, "max_repeated_chars", max_repeated_chars) + _setter("max_repeated_chars", max_repeated_chars) if max_special_chars is not None: - pulumi.set(__self__, "max_special_chars", max_special_chars) + _setter("max_special_chars", max_special_chars) if metas is not None: - pulumi.set(__self__, "metas", metas) + _setter("metas", metas) if min_alpha_numerals is not None: - pulumi.set(__self__, "min_alpha_numerals", min_alpha_numerals) + _setter("min_alpha_numerals", min_alpha_numerals) if min_alphas is not None: - pulumi.set(__self__, "min_alphas", min_alphas) + _setter("min_alphas", min_alphas) if min_length is not None: - pulumi.set(__self__, "min_length", min_length) + _setter("min_length", min_length) if min_lower_case is not None: - pulumi.set(__self__, "min_lower_case", min_lower_case) + _setter("min_lower_case", min_lower_case) if min_numerals is not None: - pulumi.set(__self__, "min_numerals", min_numerals) + _setter("min_numerals", min_numerals) if min_password_age is not None: - pulumi.set(__self__, "min_password_age", min_password_age) + _setter("min_password_age", min_password_age) if min_special_chars is not None: - pulumi.set(__self__, "min_special_chars", min_special_chars) + _setter("min_special_chars", min_special_chars) if min_unique_chars is not None: - pulumi.set(__self__, "min_unique_chars", min_unique_chars) + _setter("min_unique_chars", min_unique_chars) if min_upper_case is not None: - pulumi.set(__self__, "min_upper_case", min_upper_case) + _setter("min_upper_case", min_upper_case) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if num_passwords_in_history is not None: - pulumi.set(__self__, "num_passwords_in_history", num_passwords_in_history) + _setter("num_passwords_in_history", num_passwords_in_history) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if password_expire_warning is not None: - pulumi.set(__self__, "password_expire_warning", password_expire_warning) + _setter("password_expire_warning", password_expire_warning) if password_expires_after is not None: - pulumi.set(__self__, "password_expires_after", password_expires_after) + _setter("password_expires_after", password_expires_after) if password_strength is not None: - pulumi.set(__self__, "password_strength", password_strength) + _setter("password_strength", password_strength) if priority is not None: - pulumi.set(__self__, "priority", priority) + _setter("priority", priority) if required_chars is not None: - pulumi.set(__self__, "required_chars", required_chars) + _setter("required_chars", required_chars) if resource_type_schema_version is not None: - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) + _setter("resource_type_schema_version", resource_type_schema_version) if schemas is not None: - pulumi.set(__self__, "schemas", schemas) + _setter("schemas", schemas) if starts_with_alphabet is not None: - pulumi.set(__self__, "starts_with_alphabet", starts_with_alphabet) + _setter("starts_with_alphabet", starts_with_alphabet) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if tenancy_ocid is not None: - pulumi.set(__self__, "tenancy_ocid", tenancy_ocid) + _setter("tenancy_ocid", tenancy_ocid) if user_name_disallowed is not None: - pulumi.set(__self__, "user_name_disallowed", user_name_disallowed) + _setter("user_name_disallowed", user_name_disallowed) @property @pulumi.getter(name="allowedChars") @@ -3858,6 +4072,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DomainsPasswordPolicyArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/identity/domains_security_question.py b/sdk/python/pulumi_oci/identity/domains_security_question.py index 4172fd1e42..779e5da353 100644 --- a/sdk/python/pulumi_oci/identity/domains_security_question.py +++ b/sdk/python/pulumi_oci/identity/domains_security_question.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -117,25 +117,56 @@ def __init__(__self__, *, * type: complex * uniqueness: none """ - pulumi.set(__self__, "active", active) - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) - pulumi.set(__self__, "question_texts", question_texts) - pulumi.set(__self__, "schemas", schemas) - pulumi.set(__self__, "type", type) + DomainsSecurityQuestionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + active=active, + idcs_endpoint=idcs_endpoint, + question_texts=question_texts, + schemas=schemas, + type=type, + attribute_sets=attribute_sets, + attributes=attributes, + authorization=authorization, + external_id=external_id, + ocid=ocid, + resource_type_schema_version=resource_type_schema_version, + tags=tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + active: pulumi.Input[bool], + idcs_endpoint: pulumi.Input[str], + question_texts: pulumi.Input[Sequence[pulumi.Input['DomainsSecurityQuestionQuestionTextArgs']]], + schemas: pulumi.Input[Sequence[pulumi.Input[str]]], + type: pulumi.Input[str], + attribute_sets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + attributes: Optional[pulumi.Input[str]] = None, + authorization: Optional[pulumi.Input[str]] = None, + external_id: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + resource_type_schema_version: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsSecurityQuestionTagArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("active", active) + _setter("idcs_endpoint", idcs_endpoint) + _setter("question_texts", question_texts) + _setter("schemas", schemas) + _setter("type", type) if attribute_sets is not None: - pulumi.set(__self__, "attribute_sets", attribute_sets) + _setter("attribute_sets", attribute_sets) if attributes is not None: - pulumi.set(__self__, "attributes", attributes) + _setter("attributes", attributes) if authorization is not None: - pulumi.set(__self__, "authorization", authorization) + _setter("authorization", authorization) if external_id is not None: - pulumi.set(__self__, "external_id", external_id) + _setter("external_id", external_id) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if resource_type_schema_version is not None: - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) + _setter("resource_type_schema_version", resource_type_schema_version) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) @property @pulumi.getter @@ -563,48 +594,97 @@ def __init__(__self__, *, ** 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 """ + _DomainsSecurityQuestionState._configure( + lambda key, value: pulumi.set(__self__, key, value), + active=active, + attribute_sets=attribute_sets, + attributes=attributes, + authorization=authorization, + compartment_ocid=compartment_ocid, + delete_in_progress=delete_in_progress, + domain_ocid=domain_ocid, + external_id=external_id, + idcs_created_bies=idcs_created_bies, + idcs_endpoint=idcs_endpoint, + idcs_last_modified_bies=idcs_last_modified_bies, + idcs_last_upgraded_in_release=idcs_last_upgraded_in_release, + idcs_prevented_operations=idcs_prevented_operations, + metas=metas, + ocid=ocid, + question_texts=question_texts, + resource_type_schema_version=resource_type_schema_version, + schemas=schemas, + tags=tags, + tenancy_ocid=tenancy_ocid, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + active: Optional[pulumi.Input[bool]] = None, + attribute_sets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + attributes: Optional[pulumi.Input[str]] = None, + authorization: Optional[pulumi.Input[str]] = None, + compartment_ocid: Optional[pulumi.Input[str]] = None, + delete_in_progress: Optional[pulumi.Input[bool]] = None, + domain_ocid: Optional[pulumi.Input[str]] = None, + external_id: Optional[pulumi.Input[str]] = None, + idcs_created_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsSecurityQuestionIdcsCreatedByArgs']]]] = None, + idcs_endpoint: Optional[pulumi.Input[str]] = None, + idcs_last_modified_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsSecurityQuestionIdcsLastModifiedByArgs']]]] = None, + idcs_last_upgraded_in_release: Optional[pulumi.Input[str]] = None, + idcs_prevented_operations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + metas: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsSecurityQuestionMetaArgs']]]] = None, + ocid: Optional[pulumi.Input[str]] = None, + question_texts: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsSecurityQuestionQuestionTextArgs']]]] = None, + resource_type_schema_version: Optional[pulumi.Input[str]] = None, + schemas: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsSecurityQuestionTagArgs']]]] = None, + tenancy_ocid: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if active is not None: - pulumi.set(__self__, "active", active) + _setter("active", active) if attribute_sets is not None: - pulumi.set(__self__, "attribute_sets", attribute_sets) + _setter("attribute_sets", attribute_sets) if attributes is not None: - pulumi.set(__self__, "attributes", attributes) + _setter("attributes", attributes) if authorization is not None: - pulumi.set(__self__, "authorization", authorization) + _setter("authorization", authorization) if compartment_ocid is not None: - pulumi.set(__self__, "compartment_ocid", compartment_ocid) + _setter("compartment_ocid", compartment_ocid) if delete_in_progress is not None: - pulumi.set(__self__, "delete_in_progress", delete_in_progress) + _setter("delete_in_progress", delete_in_progress) if domain_ocid is not None: - pulumi.set(__self__, "domain_ocid", domain_ocid) + _setter("domain_ocid", domain_ocid) if external_id is not None: - pulumi.set(__self__, "external_id", external_id) + _setter("external_id", external_id) if idcs_created_bies is not None: - pulumi.set(__self__, "idcs_created_bies", idcs_created_bies) + _setter("idcs_created_bies", idcs_created_bies) if idcs_endpoint is not None: - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) + _setter("idcs_endpoint", idcs_endpoint) if idcs_last_modified_bies is not None: - pulumi.set(__self__, "idcs_last_modified_bies", idcs_last_modified_bies) + _setter("idcs_last_modified_bies", idcs_last_modified_bies) if idcs_last_upgraded_in_release is not None: - pulumi.set(__self__, "idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) + _setter("idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) if idcs_prevented_operations is not None: - pulumi.set(__self__, "idcs_prevented_operations", idcs_prevented_operations) + _setter("idcs_prevented_operations", idcs_prevented_operations) if metas is not None: - pulumi.set(__self__, "metas", metas) + _setter("metas", metas) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if question_texts is not None: - pulumi.set(__self__, "question_texts", question_texts) + _setter("question_texts", question_texts) if resource_type_schema_version is not None: - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) + _setter("resource_type_schema_version", resource_type_schema_version) if schemas is not None: - pulumi.set(__self__, "schemas", schemas) + _setter("schemas", schemas) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if tenancy_ocid is not None: - pulumi.set(__self__, "tenancy_ocid", tenancy_ocid) + _setter("tenancy_ocid", tenancy_ocid) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -1167,6 +1247,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DomainsSecurityQuestionArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/identity/domains_security_question_setting.py b/sdk/python/pulumi_oci/identity/domains_security_question_setting.py index cd8fbcba06..3ba63cb105 100644 --- a/sdk/python/pulumi_oci/identity/domains_security_question_setting.py +++ b/sdk/python/pulumi_oci/identity/domains_security_question_setting.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -130,27 +130,62 @@ def __init__(__self__, *, * type: complex * uniqueness: none """ - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) - pulumi.set(__self__, "max_field_length", max_field_length) - pulumi.set(__self__, "min_answer_length", min_answer_length) - pulumi.set(__self__, "num_questions_to_ans", num_questions_to_ans) - pulumi.set(__self__, "num_questions_to_setup", num_questions_to_setup) - pulumi.set(__self__, "schemas", schemas) - pulumi.set(__self__, "security_question_setting_id", security_question_setting_id) + DomainsSecurityQuestionSettingArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + idcs_endpoint=idcs_endpoint, + max_field_length=max_field_length, + min_answer_length=min_answer_length, + num_questions_to_ans=num_questions_to_ans, + num_questions_to_setup=num_questions_to_setup, + schemas=schemas, + security_question_setting_id=security_question_setting_id, + attribute_sets=attribute_sets, + attributes=attributes, + authorization=authorization, + external_id=external_id, + ocid=ocid, + resource_type_schema_version=resource_type_schema_version, + tags=tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + idcs_endpoint: pulumi.Input[str], + max_field_length: pulumi.Input[int], + min_answer_length: pulumi.Input[int], + num_questions_to_ans: pulumi.Input[int], + num_questions_to_setup: pulumi.Input[int], + schemas: pulumi.Input[Sequence[pulumi.Input[str]]], + security_question_setting_id: pulumi.Input[str], + attribute_sets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + attributes: Optional[pulumi.Input[str]] = None, + authorization: Optional[pulumi.Input[str]] = None, + external_id: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + resource_type_schema_version: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsSecurityQuestionSettingTagArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("idcs_endpoint", idcs_endpoint) + _setter("max_field_length", max_field_length) + _setter("min_answer_length", min_answer_length) + _setter("num_questions_to_ans", num_questions_to_ans) + _setter("num_questions_to_setup", num_questions_to_setup) + _setter("schemas", schemas) + _setter("security_question_setting_id", security_question_setting_id) if attribute_sets is not None: - pulumi.set(__self__, "attribute_sets", attribute_sets) + _setter("attribute_sets", attribute_sets) if attributes is not None: - pulumi.set(__self__, "attributes", attributes) + _setter("attributes", attributes) if authorization is not None: - pulumi.set(__self__, "authorization", authorization) + _setter("authorization", authorization) if external_id is not None: - pulumi.set(__self__, "external_id", external_id) + _setter("external_id", external_id) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if resource_type_schema_version is not None: - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) + _setter("resource_type_schema_version", resource_type_schema_version) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) @property @pulumi.getter(name="idcsEndpoint") @@ -628,52 +663,105 @@ def __init__(__self__, *, ** 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 """ + _DomainsSecurityQuestionSettingState._configure( + lambda key, value: pulumi.set(__self__, key, value), + attribute_sets=attribute_sets, + attributes=attributes, + authorization=authorization, + compartment_ocid=compartment_ocid, + delete_in_progress=delete_in_progress, + domain_ocid=domain_ocid, + external_id=external_id, + idcs_created_bies=idcs_created_bies, + idcs_endpoint=idcs_endpoint, + idcs_last_modified_bies=idcs_last_modified_bies, + idcs_last_upgraded_in_release=idcs_last_upgraded_in_release, + idcs_prevented_operations=idcs_prevented_operations, + max_field_length=max_field_length, + metas=metas, + min_answer_length=min_answer_length, + num_questions_to_ans=num_questions_to_ans, + num_questions_to_setup=num_questions_to_setup, + ocid=ocid, + resource_type_schema_version=resource_type_schema_version, + schemas=schemas, + security_question_setting_id=security_question_setting_id, + tags=tags, + tenancy_ocid=tenancy_ocid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attribute_sets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + attributes: Optional[pulumi.Input[str]] = None, + authorization: Optional[pulumi.Input[str]] = None, + compartment_ocid: Optional[pulumi.Input[str]] = None, + delete_in_progress: Optional[pulumi.Input[bool]] = None, + domain_ocid: Optional[pulumi.Input[str]] = None, + external_id: Optional[pulumi.Input[str]] = None, + idcs_created_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsSecurityQuestionSettingIdcsCreatedByArgs']]]] = None, + idcs_endpoint: Optional[pulumi.Input[str]] = None, + idcs_last_modified_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsSecurityQuestionSettingIdcsLastModifiedByArgs']]]] = None, + idcs_last_upgraded_in_release: Optional[pulumi.Input[str]] = None, + idcs_prevented_operations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + max_field_length: Optional[pulumi.Input[int]] = None, + metas: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsSecurityQuestionSettingMetaArgs']]]] = None, + min_answer_length: Optional[pulumi.Input[int]] = None, + num_questions_to_ans: Optional[pulumi.Input[int]] = None, + num_questions_to_setup: Optional[pulumi.Input[int]] = None, + ocid: Optional[pulumi.Input[str]] = None, + resource_type_schema_version: Optional[pulumi.Input[str]] = None, + schemas: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + security_question_setting_id: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsSecurityQuestionSettingTagArgs']]]] = None, + tenancy_ocid: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if attribute_sets is not None: - pulumi.set(__self__, "attribute_sets", attribute_sets) + _setter("attribute_sets", attribute_sets) if attributes is not None: - pulumi.set(__self__, "attributes", attributes) + _setter("attributes", attributes) if authorization is not None: - pulumi.set(__self__, "authorization", authorization) + _setter("authorization", authorization) if compartment_ocid is not None: - pulumi.set(__self__, "compartment_ocid", compartment_ocid) + _setter("compartment_ocid", compartment_ocid) if delete_in_progress is not None: - pulumi.set(__self__, "delete_in_progress", delete_in_progress) + _setter("delete_in_progress", delete_in_progress) if domain_ocid is not None: - pulumi.set(__self__, "domain_ocid", domain_ocid) + _setter("domain_ocid", domain_ocid) if external_id is not None: - pulumi.set(__self__, "external_id", external_id) + _setter("external_id", external_id) if idcs_created_bies is not None: - pulumi.set(__self__, "idcs_created_bies", idcs_created_bies) + _setter("idcs_created_bies", idcs_created_bies) if idcs_endpoint is not None: - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) + _setter("idcs_endpoint", idcs_endpoint) if idcs_last_modified_bies is not None: - pulumi.set(__self__, "idcs_last_modified_bies", idcs_last_modified_bies) + _setter("idcs_last_modified_bies", idcs_last_modified_bies) if idcs_last_upgraded_in_release is not None: - pulumi.set(__self__, "idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) + _setter("idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) if idcs_prevented_operations is not None: - pulumi.set(__self__, "idcs_prevented_operations", idcs_prevented_operations) + _setter("idcs_prevented_operations", idcs_prevented_operations) if max_field_length is not None: - pulumi.set(__self__, "max_field_length", max_field_length) + _setter("max_field_length", max_field_length) if metas is not None: - pulumi.set(__self__, "metas", metas) + _setter("metas", metas) if min_answer_length is not None: - pulumi.set(__self__, "min_answer_length", min_answer_length) + _setter("min_answer_length", min_answer_length) if num_questions_to_ans is not None: - pulumi.set(__self__, "num_questions_to_ans", num_questions_to_ans) + _setter("num_questions_to_ans", num_questions_to_ans) if num_questions_to_setup is not None: - pulumi.set(__self__, "num_questions_to_setup", num_questions_to_setup) + _setter("num_questions_to_setup", num_questions_to_setup) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if resource_type_schema_version is not None: - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) + _setter("resource_type_schema_version", resource_type_schema_version) if schemas is not None: - pulumi.set(__self__, "schemas", schemas) + _setter("schemas", schemas) if security_question_setting_id is not None: - pulumi.set(__self__, "security_question_setting_id", security_question_setting_id) + _setter("security_question_setting_id", security_question_setting_id) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if tenancy_ocid is not None: - pulumi.set(__self__, "tenancy_ocid", tenancy_ocid) + _setter("tenancy_ocid", tenancy_ocid) @property @pulumi.getter(name="attributeSets") @@ -1286,6 +1374,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DomainsSecurityQuestionSettingArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/identity/domains_smtp_credential.py b/sdk/python/pulumi_oci/identity/domains_smtp_credential.py index dc960a86f2..d54e4656fa 100644 --- a/sdk/python/pulumi_oci/identity/domains_smtp_credential.py +++ b/sdk/python/pulumi_oci/identity/domains_smtp_credential.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -116,30 +116,63 @@ def __init__(__self__, *, * type: complex * uniqueness: none """ - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) - pulumi.set(__self__, "schemas", schemas) + DomainsSmtpCredentialArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + idcs_endpoint=idcs_endpoint, + schemas=schemas, + attribute_sets=attribute_sets, + attributes=attributes, + authorization=authorization, + description=description, + expires_on=expires_on, + ocid=ocid, + resource_type_schema_version=resource_type_schema_version, + status=status, + tags=tags, + urnietfparamsscimschemasoracleidcsextensionself_change_user=urnietfparamsscimschemasoracleidcsextensionself_change_user, + user=user, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + idcs_endpoint: pulumi.Input[str], + schemas: pulumi.Input[Sequence[pulumi.Input[str]]], + attribute_sets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + attributes: Optional[pulumi.Input[str]] = None, + authorization: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + expires_on: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + resource_type_schema_version: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsSmtpCredentialTagArgs']]]] = None, + urnietfparamsscimschemasoracleidcsextensionself_change_user: Optional[pulumi.Input['DomainsSmtpCredentialUrnietfparamsscimschemasoracleidcsextensionselfChangeUserArgs']] = None, + user: Optional[pulumi.Input['DomainsSmtpCredentialUserArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("idcs_endpoint", idcs_endpoint) + _setter("schemas", schemas) if attribute_sets is not None: - pulumi.set(__self__, "attribute_sets", attribute_sets) + _setter("attribute_sets", attribute_sets) if attributes is not None: - pulumi.set(__self__, "attributes", attributes) + _setter("attributes", attributes) if authorization is not None: - pulumi.set(__self__, "authorization", authorization) + _setter("authorization", authorization) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if expires_on is not None: - pulumi.set(__self__, "expires_on", expires_on) + _setter("expires_on", expires_on) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if resource_type_schema_version is not None: - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) + _setter("resource_type_schema_version", resource_type_schema_version) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if urnietfparamsscimschemasoracleidcsextensionself_change_user is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionself_change_user", urnietfparamsscimschemasoracleidcsextensionself_change_user) + _setter("urnietfparamsscimschemasoracleidcsextensionself_change_user", urnietfparamsscimschemasoracleidcsextensionself_change_user) if user is not None: - pulumi.set(__self__, "user", user) + _setter("user", user) @property @pulumi.getter(name="idcsEndpoint") @@ -588,52 +621,105 @@ def __init__(__self__, *, ** 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 """ + _DomainsSmtpCredentialState._configure( + lambda key, value: pulumi.set(__self__, key, value), + attribute_sets=attribute_sets, + attributes=attributes, + authorization=authorization, + compartment_ocid=compartment_ocid, + delete_in_progress=delete_in_progress, + description=description, + domain_ocid=domain_ocid, + expires_on=expires_on, + idcs_created_bies=idcs_created_bies, + idcs_endpoint=idcs_endpoint, + idcs_last_modified_bies=idcs_last_modified_bies, + idcs_last_upgraded_in_release=idcs_last_upgraded_in_release, + idcs_prevented_operations=idcs_prevented_operations, + metas=metas, + ocid=ocid, + resource_type_schema_version=resource_type_schema_version, + schemas=schemas, + status=status, + tags=tags, + tenancy_ocid=tenancy_ocid, + urnietfparamsscimschemasoracleidcsextensionself_change_user=urnietfparamsscimschemasoracleidcsextensionself_change_user, + user=user, + user_name=user_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attribute_sets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + attributes: Optional[pulumi.Input[str]] = None, + authorization: Optional[pulumi.Input[str]] = None, + compartment_ocid: Optional[pulumi.Input[str]] = None, + delete_in_progress: Optional[pulumi.Input[bool]] = None, + description: Optional[pulumi.Input[str]] = None, + domain_ocid: Optional[pulumi.Input[str]] = None, + expires_on: Optional[pulumi.Input[str]] = None, + idcs_created_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsSmtpCredentialIdcsCreatedByArgs']]]] = None, + idcs_endpoint: Optional[pulumi.Input[str]] = None, + idcs_last_modified_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsSmtpCredentialIdcsLastModifiedByArgs']]]] = None, + idcs_last_upgraded_in_release: Optional[pulumi.Input[str]] = None, + idcs_prevented_operations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + metas: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsSmtpCredentialMetaArgs']]]] = None, + ocid: Optional[pulumi.Input[str]] = None, + resource_type_schema_version: Optional[pulumi.Input[str]] = None, + schemas: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + status: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsSmtpCredentialTagArgs']]]] = None, + tenancy_ocid: Optional[pulumi.Input[str]] = None, + urnietfparamsscimschemasoracleidcsextensionself_change_user: Optional[pulumi.Input['DomainsSmtpCredentialUrnietfparamsscimschemasoracleidcsextensionselfChangeUserArgs']] = None, + user: Optional[pulumi.Input['DomainsSmtpCredentialUserArgs']] = None, + user_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if attribute_sets is not None: - pulumi.set(__self__, "attribute_sets", attribute_sets) + _setter("attribute_sets", attribute_sets) if attributes is not None: - pulumi.set(__self__, "attributes", attributes) + _setter("attributes", attributes) if authorization is not None: - pulumi.set(__self__, "authorization", authorization) + _setter("authorization", authorization) if compartment_ocid is not None: - pulumi.set(__self__, "compartment_ocid", compartment_ocid) + _setter("compartment_ocid", compartment_ocid) if delete_in_progress is not None: - pulumi.set(__self__, "delete_in_progress", delete_in_progress) + _setter("delete_in_progress", delete_in_progress) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if domain_ocid is not None: - pulumi.set(__self__, "domain_ocid", domain_ocid) + _setter("domain_ocid", domain_ocid) if expires_on is not None: - pulumi.set(__self__, "expires_on", expires_on) + _setter("expires_on", expires_on) if idcs_created_bies is not None: - pulumi.set(__self__, "idcs_created_bies", idcs_created_bies) + _setter("idcs_created_bies", idcs_created_bies) if idcs_endpoint is not None: - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) + _setter("idcs_endpoint", idcs_endpoint) if idcs_last_modified_bies is not None: - pulumi.set(__self__, "idcs_last_modified_bies", idcs_last_modified_bies) + _setter("idcs_last_modified_bies", idcs_last_modified_bies) if idcs_last_upgraded_in_release is not None: - pulumi.set(__self__, "idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) + _setter("idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) if idcs_prevented_operations is not None: - pulumi.set(__self__, "idcs_prevented_operations", idcs_prevented_operations) + _setter("idcs_prevented_operations", idcs_prevented_operations) if metas is not None: - pulumi.set(__self__, "metas", metas) + _setter("metas", metas) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if resource_type_schema_version is not None: - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) + _setter("resource_type_schema_version", resource_type_schema_version) if schemas is not None: - pulumi.set(__self__, "schemas", schemas) + _setter("schemas", schemas) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if tenancy_ocid is not None: - pulumi.set(__self__, "tenancy_ocid", tenancy_ocid) + _setter("tenancy_ocid", tenancy_ocid) if urnietfparamsscimschemasoracleidcsextensionself_change_user is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionself_change_user", urnietfparamsscimschemasoracleidcsextensionself_change_user) + _setter("urnietfparamsscimschemasoracleidcsextensionself_change_user", urnietfparamsscimschemasoracleidcsextensionself_change_user) if user is not None: - pulumi.set(__self__, "user", user) + _setter("user", user) if user_name is not None: - pulumi.set(__self__, "user_name", user_name) + _setter("user_name", user_name) @property @pulumi.getter(name="attributeSets") @@ -1227,6 +1313,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DomainsSmtpCredentialArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -1269,7 +1359,17 @@ def _internal_init(__self__, __props__.__dict__["schemas"] = schemas __props__.__dict__["status"] = status __props__.__dict__["tags"] = tags + if urnietfparamsscimschemasoracleidcsextensionself_change_user is not None and not isinstance(urnietfparamsscimschemasoracleidcsextensionself_change_user, DomainsSmtpCredentialUrnietfparamsscimschemasoracleidcsextensionselfChangeUserArgs): + urnietfparamsscimschemasoracleidcsextensionself_change_user = urnietfparamsscimschemasoracleidcsextensionself_change_user or {} + def _setter(key, value): + urnietfparamsscimschemasoracleidcsextensionself_change_user[key] = value + DomainsSmtpCredentialUrnietfparamsscimschemasoracleidcsextensionselfChangeUserArgs._configure(_setter, **urnietfparamsscimschemasoracleidcsextensionself_change_user) __props__.__dict__["urnietfparamsscimschemasoracleidcsextensionself_change_user"] = urnietfparamsscimschemasoracleidcsextensionself_change_user + if user is not None and not isinstance(user, DomainsSmtpCredentialUserArgs): + user = user or {} + def _setter(key, value): + user[key] = value + DomainsSmtpCredentialUserArgs._configure(_setter, **user) __props__.__dict__["user"] = user __props__.__dict__["compartment_ocid"] = None __props__.__dict__["delete_in_progress"] = None diff --git a/sdk/python/pulumi_oci/identity/domains_user.py b/sdk/python/pulumi_oci/identity/domains_user.py index 283cb126b6..a614935d2d 100644 --- a/sdk/python/pulumi_oci/identity/domains_user.py +++ b/sdk/python/pulumi_oci/identity/domains_user.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -397,96 +397,197 @@ def __init__(__self__, *, * type: complex * uniqueness: none """ - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "schemas", schemas) - pulumi.set(__self__, "user_name", user_name) + DomainsUserArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + idcs_endpoint=idcs_endpoint, + name=name, + schemas=schemas, + user_name=user_name, + active=active, + addresses=addresses, + attribute_sets=attribute_sets, + attributes=attributes, + authorization=authorization, + description=description, + display_name=display_name, + emails=emails, + entitlements=entitlements, + external_id=external_id, + ims=ims, + locale=locale, + nick_name=nick_name, + ocid=ocid, + password=password, + phone_numbers=phone_numbers, + photos=photos, + preferred_language=preferred_language, + profile_url=profile_url, + resource_type_schema_version=resource_type_schema_version, + roles=roles, + tags=tags, + timezone=timezone, + title=title, + urnietfparamsscimschemasextensionenterprise20user=urnietfparamsscimschemasextensionenterprise20user, + urnietfparamsscimschemasoracleidcsextension_oci_tags=urnietfparamsscimschemasoracleidcsextension_oci_tags, + urnietfparamsscimschemasoracleidcsextensionadaptive_user=urnietfparamsscimschemasoracleidcsextensionadaptive_user, + urnietfparamsscimschemasoracleidcsextensioncapabilities_user=urnietfparamsscimschemasoracleidcsextensioncapabilities_user, + urnietfparamsscimschemasoracleidcsextensiondb_credentials_user=urnietfparamsscimschemasoracleidcsextensiondb_credentials_user, + urnietfparamsscimschemasoracleidcsextensionkerberos_user_user=urnietfparamsscimschemasoracleidcsextensionkerberos_user_user, + urnietfparamsscimschemasoracleidcsextensionmfa_user=urnietfparamsscimschemasoracleidcsextensionmfa_user, + urnietfparamsscimschemasoracleidcsextensionpasswordless_user=urnietfparamsscimschemasoracleidcsextensionpasswordless_user, + urnietfparamsscimschemasoracleidcsextensionposix_user=urnietfparamsscimschemasoracleidcsextensionposix_user, + urnietfparamsscimschemasoracleidcsextensionsecurity_questions_user=urnietfparamsscimschemasoracleidcsextensionsecurity_questions_user, + urnietfparamsscimschemasoracleidcsextensionself_change_user=urnietfparamsscimschemasoracleidcsextensionself_change_user, + urnietfparamsscimschemasoracleidcsextensionself_registration_user=urnietfparamsscimschemasoracleidcsextensionself_registration_user, + urnietfparamsscimschemasoracleidcsextensionsff_user=urnietfparamsscimschemasoracleidcsextensionsff_user, + urnietfparamsscimschemasoracleidcsextensionsocial_account_user=urnietfparamsscimschemasoracleidcsextensionsocial_account_user, + urnietfparamsscimschemasoracleidcsextensionterms_of_use_user=urnietfparamsscimschemasoracleidcsextensionterms_of_use_user, + urnietfparamsscimschemasoracleidcsextensionuser_state_user=urnietfparamsscimschemasoracleidcsextensionuser_state_user, + urnietfparamsscimschemasoracleidcsextensionuser_user=urnietfparamsscimschemasoracleidcsextensionuser_user, + user_type=user_type, + x509certificates=x509certificates, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + idcs_endpoint: pulumi.Input[str], + name: pulumi.Input['DomainsUserNameArgs'], + schemas: pulumi.Input[Sequence[pulumi.Input[str]]], + user_name: pulumi.Input[str], + active: Optional[pulumi.Input[bool]] = None, + addresses: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsUserAddressArgs']]]] = None, + attribute_sets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + attributes: Optional[pulumi.Input[str]] = None, + authorization: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + emails: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsUserEmailArgs']]]] = None, + entitlements: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsUserEntitlementArgs']]]] = None, + external_id: Optional[pulumi.Input[str]] = None, + ims: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsUserImArgs']]]] = None, + locale: Optional[pulumi.Input[str]] = None, + nick_name: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + password: Optional[pulumi.Input[str]] = None, + phone_numbers: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsUserPhoneNumberArgs']]]] = None, + photos: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsUserPhotoArgs']]]] = None, + preferred_language: Optional[pulumi.Input[str]] = None, + profile_url: Optional[pulumi.Input[str]] = None, + resource_type_schema_version: Optional[pulumi.Input[str]] = None, + roles: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsUserRoleArgs']]]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsUserTagArgs']]]] = None, + timezone: Optional[pulumi.Input[str]] = None, + title: Optional[pulumi.Input[str]] = None, + urnietfparamsscimschemasextensionenterprise20user: Optional[pulumi.Input['DomainsUserUrnietfparamsscimschemasextensionenterprise20userArgs']] = None, + urnietfparamsscimschemasoracleidcsextension_oci_tags: Optional[pulumi.Input['DomainsUserUrnietfparamsscimschemasoracleidcsextensionOciTagsArgs']] = None, + urnietfparamsscimschemasoracleidcsextensionadaptive_user: Optional[pulumi.Input['DomainsUserUrnietfparamsscimschemasoracleidcsextensionadaptiveUserArgs']] = None, + urnietfparamsscimschemasoracleidcsextensioncapabilities_user: Optional[pulumi.Input['DomainsUserUrnietfparamsscimschemasoracleidcsextensioncapabilitiesUserArgs']] = None, + urnietfparamsscimschemasoracleidcsextensiondb_credentials_user: Optional[pulumi.Input['DomainsUserUrnietfparamsscimschemasoracleidcsextensiondbCredentialsUserArgs']] = None, + urnietfparamsscimschemasoracleidcsextensionkerberos_user_user: Optional[pulumi.Input['DomainsUserUrnietfparamsscimschemasoracleidcsextensionkerberosUserUserArgs']] = None, + urnietfparamsscimschemasoracleidcsextensionmfa_user: Optional[pulumi.Input['DomainsUserUrnietfparamsscimschemasoracleidcsextensionmfaUserArgs']] = None, + urnietfparamsscimschemasoracleidcsextensionpasswordless_user: Optional[pulumi.Input['DomainsUserUrnietfparamsscimschemasoracleidcsextensionpasswordlessUserArgs']] = None, + urnietfparamsscimschemasoracleidcsextensionposix_user: Optional[pulumi.Input['DomainsUserUrnietfparamsscimschemasoracleidcsextensionposixUserArgs']] = None, + urnietfparamsscimschemasoracleidcsextensionsecurity_questions_user: Optional[pulumi.Input['DomainsUserUrnietfparamsscimschemasoracleidcsextensionsecurityQuestionsUserArgs']] = None, + urnietfparamsscimschemasoracleidcsextensionself_change_user: Optional[pulumi.Input['DomainsUserUrnietfparamsscimschemasoracleidcsextensionselfChangeUserArgs']] = None, + urnietfparamsscimschemasoracleidcsextensionself_registration_user: Optional[pulumi.Input['DomainsUserUrnietfparamsscimschemasoracleidcsextensionselfRegistrationUserArgs']] = None, + urnietfparamsscimschemasoracleidcsextensionsff_user: Optional[pulumi.Input['DomainsUserUrnietfparamsscimschemasoracleidcsextensionsffUserArgs']] = None, + urnietfparamsscimschemasoracleidcsextensionsocial_account_user: Optional[pulumi.Input['DomainsUserUrnietfparamsscimschemasoracleidcsextensionsocialAccountUserArgs']] = None, + urnietfparamsscimschemasoracleidcsextensionterms_of_use_user: Optional[pulumi.Input['DomainsUserUrnietfparamsscimschemasoracleidcsextensiontermsOfUseUserArgs']] = None, + urnietfparamsscimschemasoracleidcsextensionuser_state_user: Optional[pulumi.Input['DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserStateUserArgs']] = None, + urnietfparamsscimschemasoracleidcsextensionuser_user: Optional[pulumi.Input['DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserUserArgs']] = None, + user_type: Optional[pulumi.Input[str]] = None, + x509certificates: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsUserX509certificateArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("idcs_endpoint", idcs_endpoint) + _setter("name", name) + _setter("schemas", schemas) + _setter("user_name", user_name) if active is not None: - pulumi.set(__self__, "active", active) + _setter("active", active) if addresses is not None: - pulumi.set(__self__, "addresses", addresses) + _setter("addresses", addresses) if attribute_sets is not None: - pulumi.set(__self__, "attribute_sets", attribute_sets) + _setter("attribute_sets", attribute_sets) if attributes is not None: - pulumi.set(__self__, "attributes", attributes) + _setter("attributes", attributes) if authorization is not None: - pulumi.set(__self__, "authorization", authorization) + _setter("authorization", authorization) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if emails is not None: - pulumi.set(__self__, "emails", emails) + _setter("emails", emails) if entitlements is not None: - pulumi.set(__self__, "entitlements", entitlements) + _setter("entitlements", entitlements) if external_id is not None: - pulumi.set(__self__, "external_id", external_id) + _setter("external_id", external_id) if ims is not None: - pulumi.set(__self__, "ims", ims) + _setter("ims", ims) if locale is not None: - pulumi.set(__self__, "locale", locale) + _setter("locale", locale) if nick_name is not None: - pulumi.set(__self__, "nick_name", nick_name) + _setter("nick_name", nick_name) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if password is not None: - pulumi.set(__self__, "password", password) + _setter("password", password) if phone_numbers is not None: - pulumi.set(__self__, "phone_numbers", phone_numbers) + _setter("phone_numbers", phone_numbers) if photos is not None: - pulumi.set(__self__, "photos", photos) + _setter("photos", photos) if preferred_language is not None: - pulumi.set(__self__, "preferred_language", preferred_language) + _setter("preferred_language", preferred_language) if profile_url is not None: - pulumi.set(__self__, "profile_url", profile_url) + _setter("profile_url", profile_url) if resource_type_schema_version is not None: - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) + _setter("resource_type_schema_version", resource_type_schema_version) if roles is not None: - pulumi.set(__self__, "roles", roles) + _setter("roles", roles) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if timezone is not None: - pulumi.set(__self__, "timezone", timezone) + _setter("timezone", timezone) if title is not None: - pulumi.set(__self__, "title", title) + _setter("title", title) if urnietfparamsscimschemasextensionenterprise20user is not None: - pulumi.set(__self__, "urnietfparamsscimschemasextensionenterprise20user", urnietfparamsscimschemasextensionenterprise20user) + _setter("urnietfparamsscimschemasextensionenterprise20user", urnietfparamsscimschemasextensionenterprise20user) if urnietfparamsscimschemasoracleidcsextension_oci_tags is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextension_oci_tags", urnietfparamsscimschemasoracleidcsextension_oci_tags) + _setter("urnietfparamsscimschemasoracleidcsextension_oci_tags", urnietfparamsscimschemasoracleidcsextension_oci_tags) if urnietfparamsscimschemasoracleidcsextensionadaptive_user is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionadaptive_user", urnietfparamsscimschemasoracleidcsextensionadaptive_user) + _setter("urnietfparamsscimschemasoracleidcsextensionadaptive_user", urnietfparamsscimschemasoracleidcsextensionadaptive_user) if urnietfparamsscimschemasoracleidcsextensioncapabilities_user is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensioncapabilities_user", urnietfparamsscimschemasoracleidcsextensioncapabilities_user) + _setter("urnietfparamsscimschemasoracleidcsextensioncapabilities_user", urnietfparamsscimschemasoracleidcsextensioncapabilities_user) if urnietfparamsscimschemasoracleidcsextensiondb_credentials_user is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensiondb_credentials_user", urnietfparamsscimschemasoracleidcsextensiondb_credentials_user) + _setter("urnietfparamsscimschemasoracleidcsextensiondb_credentials_user", urnietfparamsscimschemasoracleidcsextensiondb_credentials_user) if urnietfparamsscimschemasoracleidcsextensionkerberos_user_user is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionkerberos_user_user", urnietfparamsscimschemasoracleidcsextensionkerberos_user_user) + _setter("urnietfparamsscimschemasoracleidcsextensionkerberos_user_user", urnietfparamsscimschemasoracleidcsextensionkerberos_user_user) if urnietfparamsscimschemasoracleidcsextensionmfa_user is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionmfa_user", urnietfparamsscimschemasoracleidcsextensionmfa_user) + _setter("urnietfparamsscimschemasoracleidcsextensionmfa_user", urnietfparamsscimschemasoracleidcsextensionmfa_user) if urnietfparamsscimschemasoracleidcsextensionpasswordless_user is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionpasswordless_user", urnietfparamsscimschemasoracleidcsextensionpasswordless_user) + _setter("urnietfparamsscimschemasoracleidcsextensionpasswordless_user", urnietfparamsscimschemasoracleidcsextensionpasswordless_user) if urnietfparamsscimschemasoracleidcsextensionposix_user is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionposix_user", urnietfparamsscimschemasoracleidcsextensionposix_user) + _setter("urnietfparamsscimschemasoracleidcsextensionposix_user", urnietfparamsscimschemasoracleidcsextensionposix_user) if urnietfparamsscimschemasoracleidcsextensionsecurity_questions_user is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionsecurity_questions_user", urnietfparamsscimschemasoracleidcsextensionsecurity_questions_user) + _setter("urnietfparamsscimschemasoracleidcsextensionsecurity_questions_user", urnietfparamsscimschemasoracleidcsextensionsecurity_questions_user) if urnietfparamsscimschemasoracleidcsextensionself_change_user is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionself_change_user", urnietfparamsscimschemasoracleidcsextensionself_change_user) + _setter("urnietfparamsscimschemasoracleidcsextensionself_change_user", urnietfparamsscimschemasoracleidcsextensionself_change_user) if urnietfparamsscimschemasoracleidcsextensionself_registration_user is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionself_registration_user", urnietfparamsscimschemasoracleidcsextensionself_registration_user) + _setter("urnietfparamsscimschemasoracleidcsextensionself_registration_user", urnietfparamsscimschemasoracleidcsextensionself_registration_user) if urnietfparamsscimschemasoracleidcsextensionsff_user is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionsff_user", urnietfparamsscimschemasoracleidcsextensionsff_user) + _setter("urnietfparamsscimschemasoracleidcsextensionsff_user", urnietfparamsscimschemasoracleidcsextensionsff_user) if urnietfparamsscimschemasoracleidcsextensionsocial_account_user is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionsocial_account_user", urnietfparamsscimschemasoracleidcsextensionsocial_account_user) + _setter("urnietfparamsscimschemasoracleidcsextensionsocial_account_user", urnietfparamsscimschemasoracleidcsextensionsocial_account_user) if urnietfparamsscimschemasoracleidcsextensionterms_of_use_user is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionterms_of_use_user", urnietfparamsscimschemasoracleidcsextensionterms_of_use_user) + _setter("urnietfparamsscimschemasoracleidcsextensionterms_of_use_user", urnietfparamsscimschemasoracleidcsextensionterms_of_use_user) if urnietfparamsscimschemasoracleidcsextensionuser_state_user is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionuser_state_user", urnietfparamsscimschemasoracleidcsextensionuser_state_user) + _setter("urnietfparamsscimschemasoracleidcsextensionuser_state_user", urnietfparamsscimschemasoracleidcsextensionuser_state_user) if urnietfparamsscimschemasoracleidcsextensionuser_user is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionuser_user", urnietfparamsscimschemasoracleidcsextensionuser_user) + _setter("urnietfparamsscimschemasoracleidcsextensionuser_user", urnietfparamsscimschemasoracleidcsextensionuser_user) if user_type is not None: - pulumi.set(__self__, "user_type", user_type) + _setter("user_type", user_type) if x509certificates is not None: - pulumi.set(__self__, "x509certificates", x509certificates) + _setter("x509certificates", x509certificates) @property @pulumi.getter(name="idcsEndpoint") @@ -1842,126 +1943,253 @@ def __init__(__self__, *, * type: complex * uniqueness: none """ + _DomainsUserState._configure( + lambda key, value: pulumi.set(__self__, key, value), + active=active, + addresses=addresses, + attribute_sets=attribute_sets, + attributes=attributes, + authorization=authorization, + compartment_ocid=compartment_ocid, + delete_in_progress=delete_in_progress, + description=description, + display_name=display_name, + domain_ocid=domain_ocid, + emails=emails, + entitlements=entitlements, + external_id=external_id, + groups=groups, + idcs_created_bies=idcs_created_bies, + idcs_endpoint=idcs_endpoint, + idcs_last_modified_bies=idcs_last_modified_bies, + idcs_last_upgraded_in_release=idcs_last_upgraded_in_release, + idcs_prevented_operations=idcs_prevented_operations, + ims=ims, + locale=locale, + metas=metas, + name=name, + nick_name=nick_name, + ocid=ocid, + password=password, + phone_numbers=phone_numbers, + photos=photos, + preferred_language=preferred_language, + profile_url=profile_url, + resource_type_schema_version=resource_type_schema_version, + roles=roles, + schemas=schemas, + tags=tags, + tenancy_ocid=tenancy_ocid, + timezone=timezone, + title=title, + urnietfparamsscimschemasextensionenterprise20user=urnietfparamsscimschemasextensionenterprise20user, + urnietfparamsscimschemasoracleidcsextension_oci_tags=urnietfparamsscimschemasoracleidcsextension_oci_tags, + urnietfparamsscimschemasoracleidcsextensionadaptive_user=urnietfparamsscimschemasoracleidcsextensionadaptive_user, + urnietfparamsscimschemasoracleidcsextensioncapabilities_user=urnietfparamsscimschemasoracleidcsextensioncapabilities_user, + urnietfparamsscimschemasoracleidcsextensiondb_credentials_user=urnietfparamsscimschemasoracleidcsextensiondb_credentials_user, + urnietfparamsscimschemasoracleidcsextensiondb_user_users=urnietfparamsscimschemasoracleidcsextensiondb_user_users, + urnietfparamsscimschemasoracleidcsextensionkerberos_user_user=urnietfparamsscimschemasoracleidcsextensionkerberos_user_user, + urnietfparamsscimschemasoracleidcsextensionmfa_user=urnietfparamsscimschemasoracleidcsextensionmfa_user, + urnietfparamsscimschemasoracleidcsextensionpassword_state_users=urnietfparamsscimschemasoracleidcsextensionpassword_state_users, + urnietfparamsscimschemasoracleidcsextensionpasswordless_user=urnietfparamsscimschemasoracleidcsextensionpasswordless_user, + urnietfparamsscimschemasoracleidcsextensionposix_user=urnietfparamsscimschemasoracleidcsextensionposix_user, + urnietfparamsscimschemasoracleidcsextensionsecurity_questions_user=urnietfparamsscimschemasoracleidcsextensionsecurity_questions_user, + urnietfparamsscimschemasoracleidcsextensionself_change_user=urnietfparamsscimschemasoracleidcsextensionself_change_user, + urnietfparamsscimschemasoracleidcsextensionself_registration_user=urnietfparamsscimschemasoracleidcsextensionself_registration_user, + urnietfparamsscimschemasoracleidcsextensionsff_user=urnietfparamsscimschemasoracleidcsextensionsff_user, + urnietfparamsscimschemasoracleidcsextensionsocial_account_user=urnietfparamsscimschemasoracleidcsextensionsocial_account_user, + urnietfparamsscimschemasoracleidcsextensionterms_of_use_user=urnietfparamsscimschemasoracleidcsextensionterms_of_use_user, + urnietfparamsscimschemasoracleidcsextensionuser_credentials_users=urnietfparamsscimschemasoracleidcsextensionuser_credentials_users, + urnietfparamsscimschemasoracleidcsextensionuser_state_user=urnietfparamsscimschemasoracleidcsextensionuser_state_user, + urnietfparamsscimschemasoracleidcsextensionuser_user=urnietfparamsscimschemasoracleidcsextensionuser_user, + user_name=user_name, + user_type=user_type, + x509certificates=x509certificates, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + active: Optional[pulumi.Input[bool]] = None, + addresses: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsUserAddressArgs']]]] = None, + attribute_sets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + attributes: Optional[pulumi.Input[str]] = None, + authorization: Optional[pulumi.Input[str]] = None, + compartment_ocid: Optional[pulumi.Input[str]] = None, + delete_in_progress: Optional[pulumi.Input[bool]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + domain_ocid: Optional[pulumi.Input[str]] = None, + emails: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsUserEmailArgs']]]] = None, + entitlements: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsUserEntitlementArgs']]]] = None, + external_id: Optional[pulumi.Input[str]] = None, + groups: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsUserGroupArgs']]]] = None, + idcs_created_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsUserIdcsCreatedByArgs']]]] = None, + idcs_endpoint: Optional[pulumi.Input[str]] = None, + idcs_last_modified_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsUserIdcsLastModifiedByArgs']]]] = None, + idcs_last_upgraded_in_release: Optional[pulumi.Input[str]] = None, + idcs_prevented_operations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + ims: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsUserImArgs']]]] = None, + locale: Optional[pulumi.Input[str]] = None, + metas: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsUserMetaArgs']]]] = None, + name: Optional[pulumi.Input['DomainsUserNameArgs']] = None, + nick_name: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + password: Optional[pulumi.Input[str]] = None, + phone_numbers: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsUserPhoneNumberArgs']]]] = None, + photos: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsUserPhotoArgs']]]] = None, + preferred_language: Optional[pulumi.Input[str]] = None, + profile_url: Optional[pulumi.Input[str]] = None, + resource_type_schema_version: Optional[pulumi.Input[str]] = None, + roles: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsUserRoleArgs']]]] = None, + schemas: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsUserTagArgs']]]] = None, + tenancy_ocid: Optional[pulumi.Input[str]] = None, + timezone: Optional[pulumi.Input[str]] = None, + title: Optional[pulumi.Input[str]] = None, + urnietfparamsscimschemasextensionenterprise20user: Optional[pulumi.Input['DomainsUserUrnietfparamsscimschemasextensionenterprise20userArgs']] = None, + urnietfparamsscimschemasoracleidcsextension_oci_tags: Optional[pulumi.Input['DomainsUserUrnietfparamsscimschemasoracleidcsextensionOciTagsArgs']] = None, + urnietfparamsscimschemasoracleidcsextensionadaptive_user: Optional[pulumi.Input['DomainsUserUrnietfparamsscimschemasoracleidcsextensionadaptiveUserArgs']] = None, + urnietfparamsscimschemasoracleidcsextensioncapabilities_user: Optional[pulumi.Input['DomainsUserUrnietfparamsscimschemasoracleidcsextensioncapabilitiesUserArgs']] = None, + urnietfparamsscimschemasoracleidcsextensiondb_credentials_user: Optional[pulumi.Input['DomainsUserUrnietfparamsscimschemasoracleidcsextensiondbCredentialsUserArgs']] = None, + urnietfparamsscimschemasoracleidcsextensiondb_user_users: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsUserUrnietfparamsscimschemasoracleidcsextensiondbUserUserArgs']]]] = None, + urnietfparamsscimschemasoracleidcsextensionkerberos_user_user: Optional[pulumi.Input['DomainsUserUrnietfparamsscimschemasoracleidcsextensionkerberosUserUserArgs']] = None, + urnietfparamsscimschemasoracleidcsextensionmfa_user: Optional[pulumi.Input['DomainsUserUrnietfparamsscimschemasoracleidcsextensionmfaUserArgs']] = None, + urnietfparamsscimschemasoracleidcsextensionpassword_state_users: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsUserUrnietfparamsscimschemasoracleidcsextensionpasswordStateUserArgs']]]] = None, + urnietfparamsscimschemasoracleidcsextensionpasswordless_user: Optional[pulumi.Input['DomainsUserUrnietfparamsscimschemasoracleidcsextensionpasswordlessUserArgs']] = None, + urnietfparamsscimschemasoracleidcsextensionposix_user: Optional[pulumi.Input['DomainsUserUrnietfparamsscimschemasoracleidcsextensionposixUserArgs']] = None, + urnietfparamsscimschemasoracleidcsextensionsecurity_questions_user: Optional[pulumi.Input['DomainsUserUrnietfparamsscimschemasoracleidcsextensionsecurityQuestionsUserArgs']] = None, + urnietfparamsscimschemasoracleidcsextensionself_change_user: Optional[pulumi.Input['DomainsUserUrnietfparamsscimschemasoracleidcsextensionselfChangeUserArgs']] = None, + urnietfparamsscimschemasoracleidcsextensionself_registration_user: Optional[pulumi.Input['DomainsUserUrnietfparamsscimschemasoracleidcsextensionselfRegistrationUserArgs']] = None, + urnietfparamsscimschemasoracleidcsextensionsff_user: Optional[pulumi.Input['DomainsUserUrnietfparamsscimschemasoracleidcsextensionsffUserArgs']] = None, + urnietfparamsscimschemasoracleidcsextensionsocial_account_user: Optional[pulumi.Input['DomainsUserUrnietfparamsscimschemasoracleidcsextensionsocialAccountUserArgs']] = None, + urnietfparamsscimschemasoracleidcsextensionterms_of_use_user: Optional[pulumi.Input['DomainsUserUrnietfparamsscimschemasoracleidcsextensiontermsOfUseUserArgs']] = None, + urnietfparamsscimschemasoracleidcsextensionuser_credentials_users: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserCredentialsUserArgs']]]] = None, + urnietfparamsscimschemasoracleidcsextensionuser_state_user: Optional[pulumi.Input['DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserStateUserArgs']] = None, + urnietfparamsscimschemasoracleidcsextensionuser_user: Optional[pulumi.Input['DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserUserArgs']] = None, + user_name: Optional[pulumi.Input[str]] = None, + user_type: Optional[pulumi.Input[str]] = None, + x509certificates: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsUserX509certificateArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if active is not None: - pulumi.set(__self__, "active", active) + _setter("active", active) if addresses is not None: - pulumi.set(__self__, "addresses", addresses) + _setter("addresses", addresses) if attribute_sets is not None: - pulumi.set(__self__, "attribute_sets", attribute_sets) + _setter("attribute_sets", attribute_sets) if attributes is not None: - pulumi.set(__self__, "attributes", attributes) + _setter("attributes", attributes) if authorization is not None: - pulumi.set(__self__, "authorization", authorization) + _setter("authorization", authorization) if compartment_ocid is not None: - pulumi.set(__self__, "compartment_ocid", compartment_ocid) + _setter("compartment_ocid", compartment_ocid) if delete_in_progress is not None: - pulumi.set(__self__, "delete_in_progress", delete_in_progress) + _setter("delete_in_progress", delete_in_progress) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if domain_ocid is not None: - pulumi.set(__self__, "domain_ocid", domain_ocid) + _setter("domain_ocid", domain_ocid) if emails is not None: - pulumi.set(__self__, "emails", emails) + _setter("emails", emails) if entitlements is not None: - pulumi.set(__self__, "entitlements", entitlements) + _setter("entitlements", entitlements) if external_id is not None: - pulumi.set(__self__, "external_id", external_id) + _setter("external_id", external_id) if groups is not None: - pulumi.set(__self__, "groups", groups) + _setter("groups", groups) if idcs_created_bies is not None: - pulumi.set(__self__, "idcs_created_bies", idcs_created_bies) + _setter("idcs_created_bies", idcs_created_bies) if idcs_endpoint is not None: - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) + _setter("idcs_endpoint", idcs_endpoint) if idcs_last_modified_bies is not None: - pulumi.set(__self__, "idcs_last_modified_bies", idcs_last_modified_bies) + _setter("idcs_last_modified_bies", idcs_last_modified_bies) if idcs_last_upgraded_in_release is not None: - pulumi.set(__self__, "idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) + _setter("idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) if idcs_prevented_operations is not None: - pulumi.set(__self__, "idcs_prevented_operations", idcs_prevented_operations) + _setter("idcs_prevented_operations", idcs_prevented_operations) if ims is not None: - pulumi.set(__self__, "ims", ims) + _setter("ims", ims) if locale is not None: - pulumi.set(__self__, "locale", locale) + _setter("locale", locale) if metas is not None: - pulumi.set(__self__, "metas", metas) + _setter("metas", metas) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if nick_name is not None: - pulumi.set(__self__, "nick_name", nick_name) + _setter("nick_name", nick_name) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if password is not None: - pulumi.set(__self__, "password", password) + _setter("password", password) if phone_numbers is not None: - pulumi.set(__self__, "phone_numbers", phone_numbers) + _setter("phone_numbers", phone_numbers) if photos is not None: - pulumi.set(__self__, "photos", photos) + _setter("photos", photos) if preferred_language is not None: - pulumi.set(__self__, "preferred_language", preferred_language) + _setter("preferred_language", preferred_language) if profile_url is not None: - pulumi.set(__self__, "profile_url", profile_url) + _setter("profile_url", profile_url) if resource_type_schema_version is not None: - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) + _setter("resource_type_schema_version", resource_type_schema_version) if roles is not None: - pulumi.set(__self__, "roles", roles) + _setter("roles", roles) if schemas is not None: - pulumi.set(__self__, "schemas", schemas) + _setter("schemas", schemas) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if tenancy_ocid is not None: - pulumi.set(__self__, "tenancy_ocid", tenancy_ocid) + _setter("tenancy_ocid", tenancy_ocid) if timezone is not None: - pulumi.set(__self__, "timezone", timezone) + _setter("timezone", timezone) if title is not None: - pulumi.set(__self__, "title", title) + _setter("title", title) if urnietfparamsscimschemasextensionenterprise20user is not None: - pulumi.set(__self__, "urnietfparamsscimschemasextensionenterprise20user", urnietfparamsscimschemasextensionenterprise20user) + _setter("urnietfparamsscimschemasextensionenterprise20user", urnietfparamsscimschemasextensionenterprise20user) if urnietfparamsscimschemasoracleidcsextension_oci_tags is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextension_oci_tags", urnietfparamsscimschemasoracleidcsextension_oci_tags) + _setter("urnietfparamsscimschemasoracleidcsextension_oci_tags", urnietfparamsscimschemasoracleidcsextension_oci_tags) if urnietfparamsscimschemasoracleidcsextensionadaptive_user is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionadaptive_user", urnietfparamsscimschemasoracleidcsextensionadaptive_user) + _setter("urnietfparamsscimschemasoracleidcsextensionadaptive_user", urnietfparamsscimschemasoracleidcsextensionadaptive_user) if urnietfparamsscimschemasoracleidcsextensioncapabilities_user is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensioncapabilities_user", urnietfparamsscimschemasoracleidcsextensioncapabilities_user) + _setter("urnietfparamsscimschemasoracleidcsextensioncapabilities_user", urnietfparamsscimschemasoracleidcsextensioncapabilities_user) if urnietfparamsscimschemasoracleidcsextensiondb_credentials_user is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensiondb_credentials_user", urnietfparamsscimschemasoracleidcsextensiondb_credentials_user) + _setter("urnietfparamsscimschemasoracleidcsextensiondb_credentials_user", urnietfparamsscimschemasoracleidcsextensiondb_credentials_user) if urnietfparamsscimschemasoracleidcsextensiondb_user_users is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensiondb_user_users", urnietfparamsscimschemasoracleidcsextensiondb_user_users) + _setter("urnietfparamsscimschemasoracleidcsextensiondb_user_users", urnietfparamsscimschemasoracleidcsextensiondb_user_users) if urnietfparamsscimschemasoracleidcsextensionkerberos_user_user is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionkerberos_user_user", urnietfparamsscimschemasoracleidcsextensionkerberos_user_user) + _setter("urnietfparamsscimschemasoracleidcsextensionkerberos_user_user", urnietfparamsscimschemasoracleidcsextensionkerberos_user_user) if urnietfparamsscimschemasoracleidcsextensionmfa_user is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionmfa_user", urnietfparamsscimschemasoracleidcsextensionmfa_user) + _setter("urnietfparamsscimschemasoracleidcsextensionmfa_user", urnietfparamsscimschemasoracleidcsextensionmfa_user) if urnietfparamsscimschemasoracleidcsextensionpassword_state_users is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionpassword_state_users", urnietfparamsscimschemasoracleidcsextensionpassword_state_users) + _setter("urnietfparamsscimschemasoracleidcsextensionpassword_state_users", urnietfparamsscimschemasoracleidcsextensionpassword_state_users) if urnietfparamsscimschemasoracleidcsextensionpasswordless_user is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionpasswordless_user", urnietfparamsscimschemasoracleidcsextensionpasswordless_user) + _setter("urnietfparamsscimschemasoracleidcsextensionpasswordless_user", urnietfparamsscimschemasoracleidcsextensionpasswordless_user) if urnietfparamsscimschemasoracleidcsextensionposix_user is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionposix_user", urnietfparamsscimschemasoracleidcsextensionposix_user) + _setter("urnietfparamsscimschemasoracleidcsextensionposix_user", urnietfparamsscimschemasoracleidcsextensionposix_user) if urnietfparamsscimschemasoracleidcsextensionsecurity_questions_user is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionsecurity_questions_user", urnietfparamsscimschemasoracleidcsextensionsecurity_questions_user) + _setter("urnietfparamsscimschemasoracleidcsextensionsecurity_questions_user", urnietfparamsscimschemasoracleidcsextensionsecurity_questions_user) if urnietfparamsscimschemasoracleidcsextensionself_change_user is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionself_change_user", urnietfparamsscimschemasoracleidcsextensionself_change_user) + _setter("urnietfparamsscimschemasoracleidcsextensionself_change_user", urnietfparamsscimschemasoracleidcsextensionself_change_user) if urnietfparamsscimschemasoracleidcsextensionself_registration_user is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionself_registration_user", urnietfparamsscimschemasoracleidcsextensionself_registration_user) + _setter("urnietfparamsscimschemasoracleidcsextensionself_registration_user", urnietfparamsscimschemasoracleidcsextensionself_registration_user) if urnietfparamsscimschemasoracleidcsextensionsff_user is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionsff_user", urnietfparamsscimschemasoracleidcsextensionsff_user) + _setter("urnietfparamsscimschemasoracleidcsextensionsff_user", urnietfparamsscimschemasoracleidcsextensionsff_user) if urnietfparamsscimschemasoracleidcsextensionsocial_account_user is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionsocial_account_user", urnietfparamsscimschemasoracleidcsextensionsocial_account_user) + _setter("urnietfparamsscimschemasoracleidcsextensionsocial_account_user", urnietfparamsscimschemasoracleidcsextensionsocial_account_user) if urnietfparamsscimschemasoracleidcsextensionterms_of_use_user is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionterms_of_use_user", urnietfparamsscimschemasoracleidcsextensionterms_of_use_user) + _setter("urnietfparamsscimschemasoracleidcsextensionterms_of_use_user", urnietfparamsscimschemasoracleidcsextensionterms_of_use_user) if urnietfparamsscimschemasoracleidcsextensionuser_credentials_users is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionuser_credentials_users", urnietfparamsscimschemasoracleidcsextensionuser_credentials_users) + _setter("urnietfparamsscimschemasoracleidcsextensionuser_credentials_users", urnietfparamsscimschemasoracleidcsextensionuser_credentials_users) if urnietfparamsscimschemasoracleidcsextensionuser_state_user is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionuser_state_user", urnietfparamsscimschemasoracleidcsextensionuser_state_user) + _setter("urnietfparamsscimschemasoracleidcsextensionuser_state_user", urnietfparamsscimschemasoracleidcsextensionuser_state_user) if urnietfparamsscimschemasoracleidcsextensionuser_user is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionuser_user", urnietfparamsscimschemasoracleidcsextensionuser_user) + _setter("urnietfparamsscimschemasoracleidcsextensionuser_user", urnietfparamsscimschemasoracleidcsextensionuser_user) if user_name is not None: - pulumi.set(__self__, "user_name", user_name) + _setter("user_name", user_name) if user_type is not None: - pulumi.set(__self__, "user_type", user_type) + _setter("user_type", user_type) if x509certificates is not None: - pulumi.set(__self__, "x509certificates", x509certificates) + _setter("x509certificates", x509certificates) @property @pulumi.getter @@ -3492,6 +3720,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DomainsUserArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -3568,6 +3800,11 @@ def _internal_init(__self__, __props__.__dict__["idcs_endpoint"] = idcs_endpoint __props__.__dict__["ims"] = ims __props__.__dict__["locale"] = locale + if name is not None and not isinstance(name, DomainsUserNameArgs): + name = name or {} + def _setter(key, value): + name[key] = value + DomainsUserNameArgs._configure(_setter, **name) if name is None and not opts.urn: raise TypeError("Missing required property 'name'") __props__.__dict__["name"] = name @@ -3586,22 +3823,107 @@ def _internal_init(__self__, __props__.__dict__["tags"] = tags __props__.__dict__["timezone"] = timezone __props__.__dict__["title"] = title + if urnietfparamsscimschemasextensionenterprise20user is not None and not isinstance(urnietfparamsscimschemasextensionenterprise20user, DomainsUserUrnietfparamsscimschemasextensionenterprise20userArgs): + urnietfparamsscimschemasextensionenterprise20user = urnietfparamsscimschemasextensionenterprise20user or {} + def _setter(key, value): + urnietfparamsscimschemasextensionenterprise20user[key] = value + DomainsUserUrnietfparamsscimschemasextensionenterprise20userArgs._configure(_setter, **urnietfparamsscimschemasextensionenterprise20user) __props__.__dict__["urnietfparamsscimschemasextensionenterprise20user"] = urnietfparamsscimschemasextensionenterprise20user + if urnietfparamsscimschemasoracleidcsextension_oci_tags is not None and not isinstance(urnietfparamsscimschemasoracleidcsextension_oci_tags, DomainsUserUrnietfparamsscimschemasoracleidcsextensionOciTagsArgs): + urnietfparamsscimschemasoracleidcsextension_oci_tags = urnietfparamsscimschemasoracleidcsextension_oci_tags or {} + def _setter(key, value): + urnietfparamsscimschemasoracleidcsextension_oci_tags[key] = value + DomainsUserUrnietfparamsscimschemasoracleidcsextensionOciTagsArgs._configure(_setter, **urnietfparamsscimschemasoracleidcsextension_oci_tags) __props__.__dict__["urnietfparamsscimschemasoracleidcsextension_oci_tags"] = urnietfparamsscimschemasoracleidcsextension_oci_tags + if urnietfparamsscimschemasoracleidcsextensionadaptive_user is not None and not isinstance(urnietfparamsscimschemasoracleidcsextensionadaptive_user, DomainsUserUrnietfparamsscimschemasoracleidcsextensionadaptiveUserArgs): + urnietfparamsscimschemasoracleidcsextensionadaptive_user = urnietfparamsscimschemasoracleidcsextensionadaptive_user or {} + def _setter(key, value): + urnietfparamsscimschemasoracleidcsextensionadaptive_user[key] = value + DomainsUserUrnietfparamsscimschemasoracleidcsextensionadaptiveUserArgs._configure(_setter, **urnietfparamsscimschemasoracleidcsextensionadaptive_user) __props__.__dict__["urnietfparamsscimschemasoracleidcsextensionadaptive_user"] = urnietfparamsscimschemasoracleidcsextensionadaptive_user + if urnietfparamsscimschemasoracleidcsextensioncapabilities_user is not None and not isinstance(urnietfparamsscimschemasoracleidcsextensioncapabilities_user, DomainsUserUrnietfparamsscimschemasoracleidcsextensioncapabilitiesUserArgs): + urnietfparamsscimschemasoracleidcsextensioncapabilities_user = urnietfparamsscimschemasoracleidcsextensioncapabilities_user or {} + def _setter(key, value): + urnietfparamsscimschemasoracleidcsextensioncapabilities_user[key] = value + DomainsUserUrnietfparamsscimschemasoracleidcsextensioncapabilitiesUserArgs._configure(_setter, **urnietfparamsscimschemasoracleidcsextensioncapabilities_user) __props__.__dict__["urnietfparamsscimschemasoracleidcsextensioncapabilities_user"] = urnietfparamsscimschemasoracleidcsextensioncapabilities_user + if urnietfparamsscimschemasoracleidcsextensiondb_credentials_user is not None and not isinstance(urnietfparamsscimschemasoracleidcsextensiondb_credentials_user, DomainsUserUrnietfparamsscimschemasoracleidcsextensiondbCredentialsUserArgs): + urnietfparamsscimschemasoracleidcsextensiondb_credentials_user = urnietfparamsscimschemasoracleidcsextensiondb_credentials_user or {} + def _setter(key, value): + urnietfparamsscimschemasoracleidcsextensiondb_credentials_user[key] = value + DomainsUserUrnietfparamsscimschemasoracleidcsextensiondbCredentialsUserArgs._configure(_setter, **urnietfparamsscimschemasoracleidcsextensiondb_credentials_user) __props__.__dict__["urnietfparamsscimschemasoracleidcsextensiondb_credentials_user"] = urnietfparamsscimschemasoracleidcsextensiondb_credentials_user + if urnietfparamsscimschemasoracleidcsextensionkerberos_user_user is not None and not isinstance(urnietfparamsscimschemasoracleidcsextensionkerberos_user_user, DomainsUserUrnietfparamsscimschemasoracleidcsextensionkerberosUserUserArgs): + urnietfparamsscimschemasoracleidcsextensionkerberos_user_user = urnietfparamsscimschemasoracleidcsextensionkerberos_user_user or {} + def _setter(key, value): + urnietfparamsscimschemasoracleidcsextensionkerberos_user_user[key] = value + DomainsUserUrnietfparamsscimschemasoracleidcsextensionkerberosUserUserArgs._configure(_setter, **urnietfparamsscimschemasoracleidcsextensionkerberos_user_user) __props__.__dict__["urnietfparamsscimschemasoracleidcsextensionkerberos_user_user"] = urnietfparamsscimschemasoracleidcsextensionkerberos_user_user + if urnietfparamsscimschemasoracleidcsextensionmfa_user is not None and not isinstance(urnietfparamsscimschemasoracleidcsextensionmfa_user, DomainsUserUrnietfparamsscimschemasoracleidcsextensionmfaUserArgs): + urnietfparamsscimschemasoracleidcsextensionmfa_user = urnietfparamsscimschemasoracleidcsextensionmfa_user or {} + def _setter(key, value): + urnietfparamsscimschemasoracleidcsextensionmfa_user[key] = value + DomainsUserUrnietfparamsscimschemasoracleidcsextensionmfaUserArgs._configure(_setter, **urnietfparamsscimschemasoracleidcsextensionmfa_user) __props__.__dict__["urnietfparamsscimschemasoracleidcsextensionmfa_user"] = urnietfparamsscimschemasoracleidcsextensionmfa_user + if urnietfparamsscimschemasoracleidcsextensionpasswordless_user is not None and not isinstance(urnietfparamsscimschemasoracleidcsextensionpasswordless_user, DomainsUserUrnietfparamsscimschemasoracleidcsextensionpasswordlessUserArgs): + urnietfparamsscimschemasoracleidcsextensionpasswordless_user = urnietfparamsscimschemasoracleidcsextensionpasswordless_user or {} + def _setter(key, value): + urnietfparamsscimschemasoracleidcsextensionpasswordless_user[key] = value + DomainsUserUrnietfparamsscimschemasoracleidcsextensionpasswordlessUserArgs._configure(_setter, **urnietfparamsscimschemasoracleidcsextensionpasswordless_user) __props__.__dict__["urnietfparamsscimschemasoracleidcsextensionpasswordless_user"] = urnietfparamsscimschemasoracleidcsextensionpasswordless_user + if urnietfparamsscimschemasoracleidcsextensionposix_user is not None and not isinstance(urnietfparamsscimschemasoracleidcsextensionposix_user, DomainsUserUrnietfparamsscimschemasoracleidcsextensionposixUserArgs): + urnietfparamsscimschemasoracleidcsextensionposix_user = urnietfparamsscimschemasoracleidcsextensionposix_user or {} + def _setter(key, value): + urnietfparamsscimschemasoracleidcsextensionposix_user[key] = value + DomainsUserUrnietfparamsscimschemasoracleidcsextensionposixUserArgs._configure(_setter, **urnietfparamsscimschemasoracleidcsextensionposix_user) __props__.__dict__["urnietfparamsscimschemasoracleidcsextensionposix_user"] = urnietfparamsscimschemasoracleidcsextensionposix_user + if urnietfparamsscimschemasoracleidcsextensionsecurity_questions_user is not None and not isinstance(urnietfparamsscimschemasoracleidcsextensionsecurity_questions_user, DomainsUserUrnietfparamsscimschemasoracleidcsextensionsecurityQuestionsUserArgs): + urnietfparamsscimschemasoracleidcsextensionsecurity_questions_user = urnietfparamsscimschemasoracleidcsextensionsecurity_questions_user or {} + def _setter(key, value): + urnietfparamsscimschemasoracleidcsextensionsecurity_questions_user[key] = value + DomainsUserUrnietfparamsscimschemasoracleidcsextensionsecurityQuestionsUserArgs._configure(_setter, **urnietfparamsscimschemasoracleidcsextensionsecurity_questions_user) __props__.__dict__["urnietfparamsscimschemasoracleidcsextensionsecurity_questions_user"] = urnietfparamsscimschemasoracleidcsextensionsecurity_questions_user + if urnietfparamsscimschemasoracleidcsextensionself_change_user is not None and not isinstance(urnietfparamsscimschemasoracleidcsextensionself_change_user, DomainsUserUrnietfparamsscimschemasoracleidcsextensionselfChangeUserArgs): + urnietfparamsscimschemasoracleidcsextensionself_change_user = urnietfparamsscimschemasoracleidcsextensionself_change_user or {} + def _setter(key, value): + urnietfparamsscimschemasoracleidcsextensionself_change_user[key] = value + DomainsUserUrnietfparamsscimschemasoracleidcsextensionselfChangeUserArgs._configure(_setter, **urnietfparamsscimschemasoracleidcsextensionself_change_user) __props__.__dict__["urnietfparamsscimschemasoracleidcsextensionself_change_user"] = urnietfparamsscimschemasoracleidcsextensionself_change_user + if urnietfparamsscimschemasoracleidcsextensionself_registration_user is not None and not isinstance(urnietfparamsscimschemasoracleidcsextensionself_registration_user, DomainsUserUrnietfparamsscimschemasoracleidcsextensionselfRegistrationUserArgs): + urnietfparamsscimschemasoracleidcsextensionself_registration_user = urnietfparamsscimschemasoracleidcsextensionself_registration_user or {} + def _setter(key, value): + urnietfparamsscimschemasoracleidcsextensionself_registration_user[key] = value + DomainsUserUrnietfparamsscimschemasoracleidcsextensionselfRegistrationUserArgs._configure(_setter, **urnietfparamsscimschemasoracleidcsextensionself_registration_user) __props__.__dict__["urnietfparamsscimschemasoracleidcsextensionself_registration_user"] = urnietfparamsscimschemasoracleidcsextensionself_registration_user + if urnietfparamsscimschemasoracleidcsextensionsff_user is not None and not isinstance(urnietfparamsscimschemasoracleidcsextensionsff_user, DomainsUserUrnietfparamsscimschemasoracleidcsextensionsffUserArgs): + urnietfparamsscimschemasoracleidcsextensionsff_user = urnietfparamsscimschemasoracleidcsextensionsff_user or {} + def _setter(key, value): + urnietfparamsscimschemasoracleidcsextensionsff_user[key] = value + DomainsUserUrnietfparamsscimschemasoracleidcsextensionsffUserArgs._configure(_setter, **urnietfparamsscimschemasoracleidcsextensionsff_user) __props__.__dict__["urnietfparamsscimschemasoracleidcsextensionsff_user"] = urnietfparamsscimschemasoracleidcsextensionsff_user + if urnietfparamsscimschemasoracleidcsextensionsocial_account_user is not None and not isinstance(urnietfparamsscimschemasoracleidcsextensionsocial_account_user, DomainsUserUrnietfparamsscimschemasoracleidcsextensionsocialAccountUserArgs): + urnietfparamsscimschemasoracleidcsextensionsocial_account_user = urnietfparamsscimschemasoracleidcsextensionsocial_account_user or {} + def _setter(key, value): + urnietfparamsscimschemasoracleidcsextensionsocial_account_user[key] = value + DomainsUserUrnietfparamsscimschemasoracleidcsextensionsocialAccountUserArgs._configure(_setter, **urnietfparamsscimschemasoracleidcsextensionsocial_account_user) __props__.__dict__["urnietfparamsscimschemasoracleidcsextensionsocial_account_user"] = urnietfparamsscimschemasoracleidcsextensionsocial_account_user + if urnietfparamsscimschemasoracleidcsextensionterms_of_use_user is not None and not isinstance(urnietfparamsscimschemasoracleidcsextensionterms_of_use_user, DomainsUserUrnietfparamsscimschemasoracleidcsextensiontermsOfUseUserArgs): + urnietfparamsscimschemasoracleidcsextensionterms_of_use_user = urnietfparamsscimschemasoracleidcsextensionterms_of_use_user or {} + def _setter(key, value): + urnietfparamsscimschemasoracleidcsextensionterms_of_use_user[key] = value + DomainsUserUrnietfparamsscimschemasoracleidcsextensiontermsOfUseUserArgs._configure(_setter, **urnietfparamsscimschemasoracleidcsextensionterms_of_use_user) __props__.__dict__["urnietfparamsscimschemasoracleidcsextensionterms_of_use_user"] = urnietfparamsscimschemasoracleidcsextensionterms_of_use_user + if urnietfparamsscimschemasoracleidcsextensionuser_state_user is not None and not isinstance(urnietfparamsscimschemasoracleidcsextensionuser_state_user, DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserStateUserArgs): + urnietfparamsscimschemasoracleidcsextensionuser_state_user = urnietfparamsscimschemasoracleidcsextensionuser_state_user or {} + def _setter(key, value): + urnietfparamsscimschemasoracleidcsextensionuser_state_user[key] = value + DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserStateUserArgs._configure(_setter, **urnietfparamsscimschemasoracleidcsextensionuser_state_user) __props__.__dict__["urnietfparamsscimschemasoracleidcsextensionuser_state_user"] = urnietfparamsscimschemasoracleidcsextensionuser_state_user + if urnietfparamsscimschemasoracleidcsextensionuser_user is not None and not isinstance(urnietfparamsscimschemasoracleidcsextensionuser_user, DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserUserArgs): + urnietfparamsscimschemasoracleidcsextensionuser_user = urnietfparamsscimschemasoracleidcsextensionuser_user or {} + def _setter(key, value): + urnietfparamsscimschemasoracleidcsextensionuser_user[key] = value + DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserUserArgs._configure(_setter, **urnietfparamsscimschemasoracleidcsextensionuser_user) __props__.__dict__["urnietfparamsscimschemasoracleidcsextensionuser_user"] = urnietfparamsscimschemasoracleidcsextensionuser_user if user_name is None and not opts.urn: raise TypeError("Missing required property 'user_name'") diff --git a/sdk/python/pulumi_oci/identity/domains_user_db_credential.py b/sdk/python/pulumi_oci/identity/domains_user_db_credential.py index a21d622d55..abfbf5766b 100644 --- a/sdk/python/pulumi_oci/identity/domains_user_db_credential.py +++ b/sdk/python/pulumi_oci/identity/domains_user_db_credential.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -127,31 +127,66 @@ def __init__(__self__, *, * type: complex * uniqueness: none """ - pulumi.set(__self__, "db_password", db_password) - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) - pulumi.set(__self__, "schemas", schemas) + DomainsUserDbCredentialArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_password=db_password, + idcs_endpoint=idcs_endpoint, + schemas=schemas, + attribute_sets=attribute_sets, + attributes=attributes, + authorization=authorization, + description=description, + expires_on=expires_on, + ocid=ocid, + resource_type_schema_version=resource_type_schema_version, + status=status, + tags=tags, + urnietfparamsscimschemasoracleidcsextensionself_change_user=urnietfparamsscimschemasoracleidcsextensionself_change_user, + user=user, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_password: pulumi.Input[str], + idcs_endpoint: pulumi.Input[str], + schemas: pulumi.Input[Sequence[pulumi.Input[str]]], + attribute_sets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + attributes: Optional[pulumi.Input[str]] = None, + authorization: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + expires_on: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + resource_type_schema_version: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsUserDbCredentialTagArgs']]]] = None, + urnietfparamsscimschemasoracleidcsextensionself_change_user: Optional[pulumi.Input['DomainsUserDbCredentialUrnietfparamsscimschemasoracleidcsextensionselfChangeUserArgs']] = None, + user: Optional[pulumi.Input['DomainsUserDbCredentialUserArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("db_password", db_password) + _setter("idcs_endpoint", idcs_endpoint) + _setter("schemas", schemas) if attribute_sets is not None: - pulumi.set(__self__, "attribute_sets", attribute_sets) + _setter("attribute_sets", attribute_sets) if attributes is not None: - pulumi.set(__self__, "attributes", attributes) + _setter("attributes", attributes) if authorization is not None: - pulumi.set(__self__, "authorization", authorization) + _setter("authorization", authorization) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if expires_on is not None: - pulumi.set(__self__, "expires_on", expires_on) + _setter("expires_on", expires_on) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if resource_type_schema_version is not None: - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) + _setter("resource_type_schema_version", resource_type_schema_version) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if urnietfparamsscimschemasoracleidcsextensionself_change_user is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionself_change_user", urnietfparamsscimschemasoracleidcsextensionself_change_user) + _setter("urnietfparamsscimschemasoracleidcsextensionself_change_user", urnietfparamsscimschemasoracleidcsextensionself_change_user) if user is not None: - pulumi.set(__self__, "user", user) + _setter("user", user) @property @pulumi.getter(name="dbPassword") @@ -669,64 +704,129 @@ def __init__(__self__, *, * type: complex * uniqueness: none """ + _DomainsUserDbCredentialState._configure( + lambda key, value: pulumi.set(__self__, key, value), + attribute_sets=attribute_sets, + attributes=attributes, + authorization=authorization, + compartment_ocid=compartment_ocid, + db_password=db_password, + delete_in_progress=delete_in_progress, + description=description, + domain_ocid=domain_ocid, + expired=expired, + expires_on=expires_on, + idcs_created_bies=idcs_created_bies, + idcs_endpoint=idcs_endpoint, + idcs_last_modified_bies=idcs_last_modified_bies, + idcs_last_upgraded_in_release=idcs_last_upgraded_in_release, + idcs_prevented_operations=idcs_prevented_operations, + last_set_date=last_set_date, + metas=metas, + mixed_db_password=mixed_db_password, + mixed_salt=mixed_salt, + name=name, + ocid=ocid, + resource_type_schema_version=resource_type_schema_version, + salt=salt, + schemas=schemas, + status=status, + tags=tags, + tenancy_ocid=tenancy_ocid, + urnietfparamsscimschemasoracleidcsextensionself_change_user=urnietfparamsscimschemasoracleidcsextensionself_change_user, + user=user, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attribute_sets: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + attributes: Optional[pulumi.Input[str]] = None, + authorization: Optional[pulumi.Input[str]] = None, + compartment_ocid: Optional[pulumi.Input[str]] = None, + db_password: Optional[pulumi.Input[str]] = None, + delete_in_progress: Optional[pulumi.Input[bool]] = None, + description: Optional[pulumi.Input[str]] = None, + domain_ocid: Optional[pulumi.Input[str]] = None, + expired: Optional[pulumi.Input[bool]] = None, + expires_on: Optional[pulumi.Input[str]] = None, + idcs_created_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsUserDbCredentialIdcsCreatedByArgs']]]] = None, + idcs_endpoint: Optional[pulumi.Input[str]] = None, + idcs_last_modified_bies: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsUserDbCredentialIdcsLastModifiedByArgs']]]] = None, + idcs_last_upgraded_in_release: Optional[pulumi.Input[str]] = None, + idcs_prevented_operations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + last_set_date: Optional[pulumi.Input[str]] = None, + metas: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsUserDbCredentialMetaArgs']]]] = None, + mixed_db_password: Optional[pulumi.Input[str]] = None, + mixed_salt: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + ocid: Optional[pulumi.Input[str]] = None, + resource_type_schema_version: Optional[pulumi.Input[str]] = None, + salt: Optional[pulumi.Input[str]] = None, + schemas: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + status: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['DomainsUserDbCredentialTagArgs']]]] = None, + tenancy_ocid: Optional[pulumi.Input[str]] = None, + urnietfparamsscimschemasoracleidcsextensionself_change_user: Optional[pulumi.Input['DomainsUserDbCredentialUrnietfparamsscimschemasoracleidcsextensionselfChangeUserArgs']] = None, + user: Optional[pulumi.Input['DomainsUserDbCredentialUserArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if attribute_sets is not None: - pulumi.set(__self__, "attribute_sets", attribute_sets) + _setter("attribute_sets", attribute_sets) if attributes is not None: - pulumi.set(__self__, "attributes", attributes) + _setter("attributes", attributes) if authorization is not None: - pulumi.set(__self__, "authorization", authorization) + _setter("authorization", authorization) if compartment_ocid is not None: - pulumi.set(__self__, "compartment_ocid", compartment_ocid) + _setter("compartment_ocid", compartment_ocid) if db_password is not None: - pulumi.set(__self__, "db_password", db_password) + _setter("db_password", db_password) if delete_in_progress is not None: - pulumi.set(__self__, "delete_in_progress", delete_in_progress) + _setter("delete_in_progress", delete_in_progress) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if domain_ocid is not None: - pulumi.set(__self__, "domain_ocid", domain_ocid) + _setter("domain_ocid", domain_ocid) if expired is not None: - pulumi.set(__self__, "expired", expired) + _setter("expired", expired) if expires_on is not None: - pulumi.set(__self__, "expires_on", expires_on) + _setter("expires_on", expires_on) if idcs_created_bies is not None: - pulumi.set(__self__, "idcs_created_bies", idcs_created_bies) + _setter("idcs_created_bies", idcs_created_bies) if idcs_endpoint is not None: - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) + _setter("idcs_endpoint", idcs_endpoint) if idcs_last_modified_bies is not None: - pulumi.set(__self__, "idcs_last_modified_bies", idcs_last_modified_bies) + _setter("idcs_last_modified_bies", idcs_last_modified_bies) if idcs_last_upgraded_in_release is not None: - pulumi.set(__self__, "idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) + _setter("idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) if idcs_prevented_operations is not None: - pulumi.set(__self__, "idcs_prevented_operations", idcs_prevented_operations) + _setter("idcs_prevented_operations", idcs_prevented_operations) if last_set_date is not None: - pulumi.set(__self__, "last_set_date", last_set_date) + _setter("last_set_date", last_set_date) if metas is not None: - pulumi.set(__self__, "metas", metas) + _setter("metas", metas) if mixed_db_password is not None: - pulumi.set(__self__, "mixed_db_password", mixed_db_password) + _setter("mixed_db_password", mixed_db_password) if mixed_salt is not None: - pulumi.set(__self__, "mixed_salt", mixed_salt) + _setter("mixed_salt", mixed_salt) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if resource_type_schema_version is not None: - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) + _setter("resource_type_schema_version", resource_type_schema_version) if salt is not None: - pulumi.set(__self__, "salt", salt) + _setter("salt", salt) if schemas is not None: - pulumi.set(__self__, "schemas", schemas) + _setter("schemas", schemas) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if tenancy_ocid is not None: - pulumi.set(__self__, "tenancy_ocid", tenancy_ocid) + _setter("tenancy_ocid", tenancy_ocid) if urnietfparamsscimschemasoracleidcsextensionself_change_user is not None: - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionself_change_user", urnietfparamsscimschemasoracleidcsextensionself_change_user) + _setter("urnietfparamsscimschemasoracleidcsextensionself_change_user", urnietfparamsscimschemasoracleidcsextensionself_change_user) if user is not None: - pulumi.set(__self__, "user", user) + _setter("user", user) @property @pulumi.getter(name="attributeSets") @@ -1439,6 +1539,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DomainsUserDbCredentialArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -1485,7 +1589,17 @@ def _internal_init(__self__, __props__.__dict__["schemas"] = schemas __props__.__dict__["status"] = status __props__.__dict__["tags"] = tags + if urnietfparamsscimschemasoracleidcsextensionself_change_user is not None and not isinstance(urnietfparamsscimschemasoracleidcsextensionself_change_user, DomainsUserDbCredentialUrnietfparamsscimschemasoracleidcsextensionselfChangeUserArgs): + urnietfparamsscimschemasoracleidcsextensionself_change_user = urnietfparamsscimschemasoracleidcsextensionself_change_user or {} + def _setter(key, value): + urnietfparamsscimschemasoracleidcsextensionself_change_user[key] = value + DomainsUserDbCredentialUrnietfparamsscimschemasoracleidcsextensionselfChangeUserArgs._configure(_setter, **urnietfparamsscimschemasoracleidcsextensionself_change_user) __props__.__dict__["urnietfparamsscimschemasoracleidcsextensionself_change_user"] = urnietfparamsscimschemasoracleidcsextensionself_change_user + if user is not None and not isinstance(user, DomainsUserDbCredentialUserArgs): + user = user or {} + def _setter(key, value): + user[key] = value + DomainsUserDbCredentialUserArgs._configure(_setter, **user) __props__.__dict__["user"] = user __props__.__dict__["compartment_ocid"] = None __props__.__dict__["delete_in_progress"] = None diff --git a/sdk/python/pulumi_oci/identity/dynamic_group.py b/sdk/python/pulumi_oci/identity/dynamic_group.py index 9982a50a4d..10e55f50bf 100644 --- a/sdk/python/pulumi_oci/identity/dynamic_group.py +++ b/sdk/python/pulumi_oci/identity/dynamic_group.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['DynamicGroupArgs', 'DynamicGroup'] @@ -33,15 +33,34 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "matching_rule", matching_rule) + DynamicGroupArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + description=description, + matching_rule=matching_rule, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + description: pulumi.Input[str], + matching_rule: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("description", description) + _setter("matching_rule", matching_rule) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter(name="compartmentId") @@ -148,24 +167,49 @@ def __init__(__self__, *, :param pulumi.Input[str] state: The group's current state. :param pulumi.Input[str] time_created: Date and time the group was created, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z` """ + _DynamicGroupState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + inactive_state=inactive_state, + matching_rule=matching_rule, + name=name, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + inactive_state: Optional[pulumi.Input[str]] = None, + matching_rule: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if inactive_state is not None: - pulumi.set(__self__, "inactive_state", inactive_state) + _setter("inactive_state", inactive_state) if matching_rule is not None: - pulumi.set(__self__, "matching_rule", matching_rule) + _setter("matching_rule", matching_rule) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -411,6 +455,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DynamicGroupArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/identity/get_allowed_domain_license_types.py b/sdk/python/pulumi_oci/identity/get_allowed_domain_license_types.py index f4245cbc4c..04c6fe979f 100644 --- a/sdk/python/pulumi_oci/identity/get_allowed_domain_license_types.py +++ b/sdk/python/pulumi_oci/identity/get_allowed_domain_license_types.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/identity/get_api_keys.py b/sdk/python/pulumi_oci/identity/get_api_keys.py index 50de3dbb70..8cde19bfb6 100644 --- a/sdk/python/pulumi_oci/identity/get_api_keys.py +++ b/sdk/python/pulumi_oci/identity/get_api_keys.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/identity/get_auth_tokens.py b/sdk/python/pulumi_oci/identity/get_auth_tokens.py index adad532ce9..3b934e6d0d 100644 --- a/sdk/python/pulumi_oci/identity/get_auth_tokens.py +++ b/sdk/python/pulumi_oci/identity/get_auth_tokens.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/identity/get_authentication_policy.py b/sdk/python/pulumi_oci/identity/get_authentication_policy.py index 74d68ce104..bedafd8631 100644 --- a/sdk/python/pulumi_oci/identity/get_authentication_policy.py +++ b/sdk/python/pulumi_oci/identity/get_authentication_policy.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_availability_domain.py b/sdk/python/pulumi_oci/identity/get_availability_domain.py index 7e5f78e3e8..9453249d12 100644 --- a/sdk/python/pulumi_oci/identity/get_availability_domain.py +++ b/sdk/python/pulumi_oci/identity/get_availability_domain.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/identity/get_availability_domains.py b/sdk/python/pulumi_oci/identity/get_availability_domains.py index f4d59f9641..c2b7bc887e 100644 --- a/sdk/python/pulumi_oci/identity/get_availability_domains.py +++ b/sdk/python/pulumi_oci/identity/get_availability_domains.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/identity/get_compartment.py b/sdk/python/pulumi_oci/identity/get_compartment.py index 02996f58aa..08da72bd46 100644 --- a/sdk/python/pulumi_oci/identity/get_compartment.py +++ b/sdk/python/pulumi_oci/identity/get_compartment.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/identity/get_compartments.py b/sdk/python/pulumi_oci/identity/get_compartments.py index 38210b698b..940d447cba 100644 --- a/sdk/python/pulumi_oci/identity/get_compartments.py +++ b/sdk/python/pulumi_oci/identity/get_compartments.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/identity/get_cost_tracking_tags.py b/sdk/python/pulumi_oci/identity/get_cost_tracking_tags.py index 77a53e7e4b..71cf038b2f 100644 --- a/sdk/python/pulumi_oci/identity/get_cost_tracking_tags.py +++ b/sdk/python/pulumi_oci/identity/get_cost_tracking_tags.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/identity/get_customer_secret_keys.py b/sdk/python/pulumi_oci/identity/get_customer_secret_keys.py index 13dfb847f3..dafef0fb89 100644 --- a/sdk/python/pulumi_oci/identity/get_customer_secret_keys.py +++ b/sdk/python/pulumi_oci/identity/get_customer_secret_keys.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/identity/get_db_credentials.py b/sdk/python/pulumi_oci/identity/get_db_credentials.py index fefe6d140e..5f9685caa6 100644 --- a/sdk/python/pulumi_oci/identity/get_db_credentials.py +++ b/sdk/python/pulumi_oci/identity/get_db_credentials.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/identity/get_domain.py b/sdk/python/pulumi_oci/identity/get_domain.py index fdaaaffab9..60b8cd8928 100644 --- a/sdk/python/pulumi_oci/identity/get_domain.py +++ b/sdk/python/pulumi_oci/identity/get_domain.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_domains.py b/sdk/python/pulumi_oci/identity/get_domains.py index 4d4c869d07..714a78bf53 100644 --- a/sdk/python/pulumi_oci/identity/get_domains.py +++ b/sdk/python/pulumi_oci/identity/get_domains.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/identity/get_domains_account_mgmt_info.py b/sdk/python/pulumi_oci/identity/get_domains_account_mgmt_info.py index e1debd41a5..4c66adfb6a 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_account_mgmt_info.py +++ b/sdk/python/pulumi_oci/identity/get_domains_account_mgmt_info.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_domains_account_mgmt_infos.py b/sdk/python/pulumi_oci/identity/get_domains_account_mgmt_infos.py index df1e1db85f..f29428cb93 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_account_mgmt_infos.py +++ b/sdk/python/pulumi_oci/identity/get_domains_account_mgmt_infos.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_domains_account_recovery_setting.py b/sdk/python/pulumi_oci/identity/get_domains_account_recovery_setting.py index e78a837305..fce7796e15 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_account_recovery_setting.py +++ b/sdk/python/pulumi_oci/identity/get_domains_account_recovery_setting.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_domains_account_recovery_settings.py b/sdk/python/pulumi_oci/identity/get_domains_account_recovery_settings.py index 1c2f9fb82e..63ce8c920f 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_account_recovery_settings.py +++ b/sdk/python/pulumi_oci/identity/get_domains_account_recovery_settings.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_domains_api_key.py b/sdk/python/pulumi_oci/identity/get_domains_api_key.py index 406e78e274..51e08b06c0 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_api_key.py +++ b/sdk/python/pulumi_oci/identity/get_domains_api_key.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_domains_api_keys.py b/sdk/python/pulumi_oci/identity/get_domains_api_keys.py index 6631659eac..3318723b61 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_api_keys.py +++ b/sdk/python/pulumi_oci/identity/get_domains_api_keys.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_domains_app.py b/sdk/python/pulumi_oci/identity/get_domains_app.py index 85e06e6cba..43c0561ace 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_app.py +++ b/sdk/python/pulumi_oci/identity/get_domains_app.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_domains_app_role.py b/sdk/python/pulumi_oci/identity/get_domains_app_role.py index 72368d731b..bef24e2f7a 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_app_role.py +++ b/sdk/python/pulumi_oci/identity/get_domains_app_role.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_domains_app_roles.py b/sdk/python/pulumi_oci/identity/get_domains_app_roles.py index c4ef90ffe9..f525faf10f 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_app_roles.py +++ b/sdk/python/pulumi_oci/identity/get_domains_app_roles.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_domains_apps.py b/sdk/python/pulumi_oci/identity/get_domains_apps.py index 26e6d88d98..4d9a63ef64 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_apps.py +++ b/sdk/python/pulumi_oci/identity/get_domains_apps.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_domains_auth_token.py b/sdk/python/pulumi_oci/identity/get_domains_auth_token.py index 27c3dcd0d0..03e9c6fe88 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_auth_token.py +++ b/sdk/python/pulumi_oci/identity/get_domains_auth_token.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_domains_auth_tokens.py b/sdk/python/pulumi_oci/identity/get_domains_auth_tokens.py index cb9ce5dec1..5e65f0135f 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_auth_tokens.py +++ b/sdk/python/pulumi_oci/identity/get_domains_auth_tokens.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_domains_authentication_factor_setting.py b/sdk/python/pulumi_oci/identity/get_domains_authentication_factor_setting.py index fc633477d3..f7f10428da 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_authentication_factor_setting.py +++ b/sdk/python/pulumi_oci/identity/get_domains_authentication_factor_setting.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_domains_authentication_factor_settings.py b/sdk/python/pulumi_oci/identity/get_domains_authentication_factor_settings.py index a192d75a14..713c7bbc65 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_authentication_factor_settings.py +++ b/sdk/python/pulumi_oci/identity/get_domains_authentication_factor_settings.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_domains_customer_secret_key.py b/sdk/python/pulumi_oci/identity/get_domains_customer_secret_key.py index 0224bb71a9..80d0699bf9 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_customer_secret_key.py +++ b/sdk/python/pulumi_oci/identity/get_domains_customer_secret_key.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_domains_customer_secret_keys.py b/sdk/python/pulumi_oci/identity/get_domains_customer_secret_keys.py index dd87df4094..9b9d3e2b2b 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_customer_secret_keys.py +++ b/sdk/python/pulumi_oci/identity/get_domains_customer_secret_keys.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_domains_dynamic_resource_group.py b/sdk/python/pulumi_oci/identity/get_domains_dynamic_resource_group.py index 5825c8b918..fe9232fa6c 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_dynamic_resource_group.py +++ b/sdk/python/pulumi_oci/identity/get_domains_dynamic_resource_group.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_domains_dynamic_resource_groups.py b/sdk/python/pulumi_oci/identity/get_domains_dynamic_resource_groups.py index e5f4e2cded..5a03397377 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_dynamic_resource_groups.py +++ b/sdk/python/pulumi_oci/identity/get_domains_dynamic_resource_groups.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_domains_grant.py b/sdk/python/pulumi_oci/identity/get_domains_grant.py index 18e433cb32..b5298d870c 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_grant.py +++ b/sdk/python/pulumi_oci/identity/get_domains_grant.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_domains_grants.py b/sdk/python/pulumi_oci/identity/get_domains_grants.py index 5be2c2cae3..bf3b6e4f44 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_grants.py +++ b/sdk/python/pulumi_oci/identity/get_domains_grants.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_domains_group.py b/sdk/python/pulumi_oci/identity/get_domains_group.py index 79cd9c9c6d..65469fcb53 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_group.py +++ b/sdk/python/pulumi_oci/identity/get_domains_group.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_domains_groups.py b/sdk/python/pulumi_oci/identity/get_domains_groups.py index 30ab4bcdf5..a880bba700 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_groups.py +++ b/sdk/python/pulumi_oci/identity/get_domains_groups.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_domains_identity_provider.py b/sdk/python/pulumi_oci/identity/get_domains_identity_provider.py index 772aa6eeb2..094b1f6f57 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_identity_provider.py +++ b/sdk/python/pulumi_oci/identity/get_domains_identity_provider.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_domains_identity_providers.py b/sdk/python/pulumi_oci/identity/get_domains_identity_providers.py index 953c2df9f8..caa71a30c7 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_identity_providers.py +++ b/sdk/python/pulumi_oci/identity/get_domains_identity_providers.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_domains_identity_setting.py b/sdk/python/pulumi_oci/identity/get_domains_identity_setting.py index 21fcc0826a..441b61cd98 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_identity_setting.py +++ b/sdk/python/pulumi_oci/identity/get_domains_identity_setting.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_domains_identity_settings.py b/sdk/python/pulumi_oci/identity/get_domains_identity_settings.py index 674ffabd7b..5a3413b995 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_identity_settings.py +++ b/sdk/python/pulumi_oci/identity/get_domains_identity_settings.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_domains_kmsi_setting.py b/sdk/python/pulumi_oci/identity/get_domains_kmsi_setting.py index 496e933ee2..97869683a1 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_kmsi_setting.py +++ b/sdk/python/pulumi_oci/identity/get_domains_kmsi_setting.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_domains_kmsi_settings.py b/sdk/python/pulumi_oci/identity/get_domains_kmsi_settings.py index d1bdec7bff..c78a7806b2 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_kmsi_settings.py +++ b/sdk/python/pulumi_oci/identity/get_domains_kmsi_settings.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_domains_my_api_key.py b/sdk/python/pulumi_oci/identity/get_domains_my_api_key.py index 12de785efc..a076a40d81 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_my_api_key.py +++ b/sdk/python/pulumi_oci/identity/get_domains_my_api_key.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_domains_my_api_keys.py b/sdk/python/pulumi_oci/identity/get_domains_my_api_keys.py index 17b0c8d1e8..a67ce727f6 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_my_api_keys.py +++ b/sdk/python/pulumi_oci/identity/get_domains_my_api_keys.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_domains_my_apps.py b/sdk/python/pulumi_oci/identity/get_domains_my_apps.py index 49a89a0f52..a25da8738f 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_my_apps.py +++ b/sdk/python/pulumi_oci/identity/get_domains_my_apps.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_domains_my_auth_token.py b/sdk/python/pulumi_oci/identity/get_domains_my_auth_token.py index 84af9e7f6a..43a1d59686 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_my_auth_token.py +++ b/sdk/python/pulumi_oci/identity/get_domains_my_auth_token.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_domains_my_auth_tokens.py b/sdk/python/pulumi_oci/identity/get_domains_my_auth_tokens.py index 582aab73f4..c1e18c9fe3 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_my_auth_tokens.py +++ b/sdk/python/pulumi_oci/identity/get_domains_my_auth_tokens.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_domains_my_customer_secret_key.py b/sdk/python/pulumi_oci/identity/get_domains_my_customer_secret_key.py index 3282d262d2..682083c3c4 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_my_customer_secret_key.py +++ b/sdk/python/pulumi_oci/identity/get_domains_my_customer_secret_key.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_domains_my_customer_secret_keys.py b/sdk/python/pulumi_oci/identity/get_domains_my_customer_secret_keys.py index abb22db85e..6b228efd51 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_my_customer_secret_keys.py +++ b/sdk/python/pulumi_oci/identity/get_domains_my_customer_secret_keys.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_domains_my_device.py b/sdk/python/pulumi_oci/identity/get_domains_my_device.py index 65854f5815..53a40cd304 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_my_device.py +++ b/sdk/python/pulumi_oci/identity/get_domains_my_device.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_domains_my_devices.py b/sdk/python/pulumi_oci/identity/get_domains_my_devices.py index c544b5c84a..aacd0cbce0 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_my_devices.py +++ b/sdk/python/pulumi_oci/identity/get_domains_my_devices.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_domains_my_groups.py b/sdk/python/pulumi_oci/identity/get_domains_my_groups.py index 27f1365dad..c05f530cc9 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_my_groups.py +++ b/sdk/python/pulumi_oci/identity/get_domains_my_groups.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_domains_my_oauth2client_credential.py b/sdk/python/pulumi_oci/identity/get_domains_my_oauth2client_credential.py index 5c8f278ffe..2e5812b3bb 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_my_oauth2client_credential.py +++ b/sdk/python/pulumi_oci/identity/get_domains_my_oauth2client_credential.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_domains_my_oauth2client_credentials.py b/sdk/python/pulumi_oci/identity/get_domains_my_oauth2client_credentials.py index 067de29e7c..f05fc4950a 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_my_oauth2client_credentials.py +++ b/sdk/python/pulumi_oci/identity/get_domains_my_oauth2client_credentials.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_domains_my_requestable_groups.py b/sdk/python/pulumi_oci/identity/get_domains_my_requestable_groups.py index e0d0e35167..ff796772da 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_my_requestable_groups.py +++ b/sdk/python/pulumi_oci/identity/get_domains_my_requestable_groups.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_domains_my_requests.py b/sdk/python/pulumi_oci/identity/get_domains_my_requests.py index f557032f79..abff74aab1 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_my_requests.py +++ b/sdk/python/pulumi_oci/identity/get_domains_my_requests.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_domains_my_smtp_credential.py b/sdk/python/pulumi_oci/identity/get_domains_my_smtp_credential.py index d1b28c067e..c35f34c6ba 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_my_smtp_credential.py +++ b/sdk/python/pulumi_oci/identity/get_domains_my_smtp_credential.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_domains_my_smtp_credentials.py b/sdk/python/pulumi_oci/identity/get_domains_my_smtp_credentials.py index f6bd82b04d..5eaaeb87d8 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_my_smtp_credentials.py +++ b/sdk/python/pulumi_oci/identity/get_domains_my_smtp_credentials.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_domains_my_support_account.py b/sdk/python/pulumi_oci/identity/get_domains_my_support_account.py index 3a62d90e4f..9100d5bbe5 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_my_support_account.py +++ b/sdk/python/pulumi_oci/identity/get_domains_my_support_account.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_domains_my_support_accounts.py b/sdk/python/pulumi_oci/identity/get_domains_my_support_accounts.py index ee95880b3f..413a1dd932 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_my_support_accounts.py +++ b/sdk/python/pulumi_oci/identity/get_domains_my_support_accounts.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_domains_my_trusted_user_agent.py b/sdk/python/pulumi_oci/identity/get_domains_my_trusted_user_agent.py index 7cd90a7ebe..a51effcc87 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_my_trusted_user_agent.py +++ b/sdk/python/pulumi_oci/identity/get_domains_my_trusted_user_agent.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_domains_my_trusted_user_agents.py b/sdk/python/pulumi_oci/identity/get_domains_my_trusted_user_agents.py index aa5b8c4745..a8a3b112c1 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_my_trusted_user_agents.py +++ b/sdk/python/pulumi_oci/identity/get_domains_my_trusted_user_agents.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_domains_my_user_db_credential.py b/sdk/python/pulumi_oci/identity/get_domains_my_user_db_credential.py index a7779315cc..0e6e4dce79 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_my_user_db_credential.py +++ b/sdk/python/pulumi_oci/identity/get_domains_my_user_db_credential.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_domains_my_user_db_credentials.py b/sdk/python/pulumi_oci/identity/get_domains_my_user_db_credentials.py index f0e1a1a6f8..849e3af1cf 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_my_user_db_credentials.py +++ b/sdk/python/pulumi_oci/identity/get_domains_my_user_db_credentials.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_domains_oauth2client_credential.py b/sdk/python/pulumi_oci/identity/get_domains_oauth2client_credential.py index 80a855fa0f..9d957d2a14 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_oauth2client_credential.py +++ b/sdk/python/pulumi_oci/identity/get_domains_oauth2client_credential.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_domains_oauth2client_credentials.py b/sdk/python/pulumi_oci/identity/get_domains_oauth2client_credentials.py index c7a0cee389..22cf53e6e9 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_oauth2client_credentials.py +++ b/sdk/python/pulumi_oci/identity/get_domains_oauth2client_credentials.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_domains_password_policies.py b/sdk/python/pulumi_oci/identity/get_domains_password_policies.py index c458f6f49c..6106f1c326 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_password_policies.py +++ b/sdk/python/pulumi_oci/identity/get_domains_password_policies.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_domains_password_policy.py b/sdk/python/pulumi_oci/identity/get_domains_password_policy.py index 90db29c1a5..75fb3cb2b5 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_password_policy.py +++ b/sdk/python/pulumi_oci/identity/get_domains_password_policy.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_domains_resource_type_schema_attributes.py b/sdk/python/pulumi_oci/identity/get_domains_resource_type_schema_attributes.py index 60e3f6959c..c8441003ff 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_resource_type_schema_attributes.py +++ b/sdk/python/pulumi_oci/identity/get_domains_resource_type_schema_attributes.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_domains_security_question.py b/sdk/python/pulumi_oci/identity/get_domains_security_question.py index cda9200cc7..89e05fcc87 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_security_question.py +++ b/sdk/python/pulumi_oci/identity/get_domains_security_question.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_domains_security_question_setting.py b/sdk/python/pulumi_oci/identity/get_domains_security_question_setting.py index 4ae7d70cab..9dbca83ce5 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_security_question_setting.py +++ b/sdk/python/pulumi_oci/identity/get_domains_security_question_setting.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_domains_security_question_settings.py b/sdk/python/pulumi_oci/identity/get_domains_security_question_settings.py index 757ee80c54..88d17492b1 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_security_question_settings.py +++ b/sdk/python/pulumi_oci/identity/get_domains_security_question_settings.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_domains_security_questions.py b/sdk/python/pulumi_oci/identity/get_domains_security_questions.py index b8b330d435..dc32d4565a 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_security_questions.py +++ b/sdk/python/pulumi_oci/identity/get_domains_security_questions.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_domains_smtp_credential.py b/sdk/python/pulumi_oci/identity/get_domains_smtp_credential.py index 3eb478bd91..7bb58f9a15 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_smtp_credential.py +++ b/sdk/python/pulumi_oci/identity/get_domains_smtp_credential.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_domains_smtp_credentials.py b/sdk/python/pulumi_oci/identity/get_domains_smtp_credentials.py index bf7f29a7e1..672c12f07a 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_smtp_credentials.py +++ b/sdk/python/pulumi_oci/identity/get_domains_smtp_credentials.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_domains_user.py b/sdk/python/pulumi_oci/identity/get_domains_user.py index 32c32c639a..f570fa84f0 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_user.py +++ b/sdk/python/pulumi_oci/identity/get_domains_user.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_domains_user_attributes_setting.py b/sdk/python/pulumi_oci/identity/get_domains_user_attributes_setting.py index 288c891ca5..a60cc50601 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_user_attributes_setting.py +++ b/sdk/python/pulumi_oci/identity/get_domains_user_attributes_setting.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_domains_user_attributes_settings.py b/sdk/python/pulumi_oci/identity/get_domains_user_attributes_settings.py index a3c3f9358c..85b53208c7 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_user_attributes_settings.py +++ b/sdk/python/pulumi_oci/identity/get_domains_user_attributes_settings.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_domains_user_db_credential.py b/sdk/python/pulumi_oci/identity/get_domains_user_db_credential.py index e54b36922f..5c17303474 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_user_db_credential.py +++ b/sdk/python/pulumi_oci/identity/get_domains_user_db_credential.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_domains_user_db_credentials.py b/sdk/python/pulumi_oci/identity/get_domains_user_db_credentials.py index ec9d45083d..1f071b148e 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_user_db_credentials.py +++ b/sdk/python/pulumi_oci/identity/get_domains_user_db_credentials.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_domains_users.py b/sdk/python/pulumi_oci/identity/get_domains_users.py index 146a869048..4f34c1793d 100644 --- a/sdk/python/pulumi_oci/identity/get_domains_users.py +++ b/sdk/python/pulumi_oci/identity/get_domains_users.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_dynamic_groups.py b/sdk/python/pulumi_oci/identity/get_dynamic_groups.py index 872d1db173..c53d4dd399 100644 --- a/sdk/python/pulumi_oci/identity/get_dynamic_groups.py +++ b/sdk/python/pulumi_oci/identity/get_dynamic_groups.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/identity/get_fault_domains.py b/sdk/python/pulumi_oci/identity/get_fault_domains.py index fbe46ff522..ba2c6e6e02 100644 --- a/sdk/python/pulumi_oci/identity/get_fault_domains.py +++ b/sdk/python/pulumi_oci/identity/get_fault_domains.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/identity/get_group.py b/sdk/python/pulumi_oci/identity/get_group.py index e0c57e04dc..3303ce09ce 100644 --- a/sdk/python/pulumi_oci/identity/get_group.py +++ b/sdk/python/pulumi_oci/identity/get_group.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/identity/get_groups.py b/sdk/python/pulumi_oci/identity/get_groups.py index 9f56e09234..946bed176c 100644 --- a/sdk/python/pulumi_oci/identity/get_groups.py +++ b/sdk/python/pulumi_oci/identity/get_groups.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/identity/get_iam_work_request.py b/sdk/python/pulumi_oci/identity/get_iam_work_request.py index 5f5f38e11d..19e73cf0c9 100644 --- a/sdk/python/pulumi_oci/identity/get_iam_work_request.py +++ b/sdk/python/pulumi_oci/identity/get_iam_work_request.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_iam_work_request_errors.py b/sdk/python/pulumi_oci/identity/get_iam_work_request_errors.py index 969430f506..d7ff517f9f 100644 --- a/sdk/python/pulumi_oci/identity/get_iam_work_request_errors.py +++ b/sdk/python/pulumi_oci/identity/get_iam_work_request_errors.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/identity/get_iam_work_request_logs.py b/sdk/python/pulumi_oci/identity/get_iam_work_request_logs.py index 5c232ddcda..708b2cec8a 100644 --- a/sdk/python/pulumi_oci/identity/get_iam_work_request_logs.py +++ b/sdk/python/pulumi_oci/identity/get_iam_work_request_logs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/identity/get_iam_work_requests.py b/sdk/python/pulumi_oci/identity/get_iam_work_requests.py index 69f7f40353..867ea02c5b 100644 --- a/sdk/python/pulumi_oci/identity/get_iam_work_requests.py +++ b/sdk/python/pulumi_oci/identity/get_iam_work_requests.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/identity/get_identity_provider_groups.py b/sdk/python/pulumi_oci/identity/get_identity_provider_groups.py index 91d6d3ecb5..a1fb69669e 100644 --- a/sdk/python/pulumi_oci/identity/get_identity_provider_groups.py +++ b/sdk/python/pulumi_oci/identity/get_identity_provider_groups.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/identity/get_identity_providers.py b/sdk/python/pulumi_oci/identity/get_identity_providers.py index 42d773e10e..5f4b85c0a9 100644 --- a/sdk/python/pulumi_oci/identity/get_identity_providers.py +++ b/sdk/python/pulumi_oci/identity/get_identity_providers.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/identity/get_idp_group_mappings.py b/sdk/python/pulumi_oci/identity/get_idp_group_mappings.py index d1d163b748..5006104774 100644 --- a/sdk/python/pulumi_oci/identity/get_idp_group_mappings.py +++ b/sdk/python/pulumi_oci/identity/get_idp_group_mappings.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/identity/get_network_source.py b/sdk/python/pulumi_oci/identity/get_network_source.py index 220878c522..aea4ff4b8e 100644 --- a/sdk/python/pulumi_oci/identity/get_network_source.py +++ b/sdk/python/pulumi_oci/identity/get_network_source.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_network_sources.py b/sdk/python/pulumi_oci/identity/get_network_sources.py index 07d2738b8d..8fe3657698 100644 --- a/sdk/python/pulumi_oci/identity/get_network_sources.py +++ b/sdk/python/pulumi_oci/identity/get_network_sources.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/identity/get_policies.py b/sdk/python/pulumi_oci/identity/get_policies.py index bf486b17c8..a6898ce323 100644 --- a/sdk/python/pulumi_oci/identity/get_policies.py +++ b/sdk/python/pulumi_oci/identity/get_policies.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/identity/get_region_subscriptions.py b/sdk/python/pulumi_oci/identity/get_region_subscriptions.py index d2aeeb92cb..131835ec8c 100644 --- a/sdk/python/pulumi_oci/identity/get_region_subscriptions.py +++ b/sdk/python/pulumi_oci/identity/get_region_subscriptions.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/identity/get_regions.py b/sdk/python/pulumi_oci/identity/get_regions.py index f2930ad10b..5c9e8d938b 100644 --- a/sdk/python/pulumi_oci/identity/get_regions.py +++ b/sdk/python/pulumi_oci/identity/get_regions.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/identity/get_smtp_credentials.py b/sdk/python/pulumi_oci/identity/get_smtp_credentials.py index 37edc9cbd6..37a55c349f 100644 --- a/sdk/python/pulumi_oci/identity/get_smtp_credentials.py +++ b/sdk/python/pulumi_oci/identity/get_smtp_credentials.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/identity/get_tag.py b/sdk/python/pulumi_oci/identity/get_tag.py index bb64bf3b4f..ca7230cfd6 100644 --- a/sdk/python/pulumi_oci/identity/get_tag.py +++ b/sdk/python/pulumi_oci/identity/get_tag.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_tag_default.py b/sdk/python/pulumi_oci/identity/get_tag_default.py index 54b6e5b57f..ee93ae1ef7 100644 --- a/sdk/python/pulumi_oci/identity/get_tag_default.py +++ b/sdk/python/pulumi_oci/identity/get_tag_default.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/identity/get_tag_defaults.py b/sdk/python/pulumi_oci/identity/get_tag_defaults.py index 27c74dc64c..bd333716fc 100644 --- a/sdk/python/pulumi_oci/identity/get_tag_defaults.py +++ b/sdk/python/pulumi_oci/identity/get_tag_defaults.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/identity/get_tag_namespaces.py b/sdk/python/pulumi_oci/identity/get_tag_namespaces.py index c73b96402f..21eddecee4 100644 --- a/sdk/python/pulumi_oci/identity/get_tag_namespaces.py +++ b/sdk/python/pulumi_oci/identity/get_tag_namespaces.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/identity/get_tag_standard_tag_namespace_template.py b/sdk/python/pulumi_oci/identity/get_tag_standard_tag_namespace_template.py index 61ccbaafb4..2738fe76dd 100644 --- a/sdk/python/pulumi_oci/identity/get_tag_standard_tag_namespace_template.py +++ b/sdk/python/pulumi_oci/identity/get_tag_standard_tag_namespace_template.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_tag_standard_tag_namespace_templates.py b/sdk/python/pulumi_oci/identity/get_tag_standard_tag_namespace_templates.py index 2ef73cf306..c7bf5e7064 100644 --- a/sdk/python/pulumi_oci/identity/get_tag_standard_tag_namespace_templates.py +++ b/sdk/python/pulumi_oci/identity/get_tag_standard_tag_namespace_templates.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/identity/get_tags.py b/sdk/python/pulumi_oci/identity/get_tags.py index def6c7c3f6..62d673bdb0 100644 --- a/sdk/python/pulumi_oci/identity/get_tags.py +++ b/sdk/python/pulumi_oci/identity/get_tags.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/identity/get_tenancy.py b/sdk/python/pulumi_oci/identity/get_tenancy.py index cbd2a02f0a..b2cf5f9744 100644 --- a/sdk/python/pulumi_oci/identity/get_tenancy.py +++ b/sdk/python/pulumi_oci/identity/get_tenancy.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/identity/get_ui_password.py b/sdk/python/pulumi_oci/identity/get_ui_password.py index 9d4010a5f8..45eea00a66 100644 --- a/sdk/python/pulumi_oci/identity/get_ui_password.py +++ b/sdk/python/pulumi_oci/identity/get_ui_password.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/identity/get_user.py b/sdk/python/pulumi_oci/identity/get_user.py index c50547f7ba..432f8d10b9 100644 --- a/sdk/python/pulumi_oci/identity/get_user.py +++ b/sdk/python/pulumi_oci/identity/get_user.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/identity/get_user_group_memberships.py b/sdk/python/pulumi_oci/identity/get_user_group_memberships.py index b662875ee6..163dc70541 100644 --- a/sdk/python/pulumi_oci/identity/get_user_group_memberships.py +++ b/sdk/python/pulumi_oci/identity/get_user_group_memberships.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/identity/get_users.py b/sdk/python/pulumi_oci/identity/get_users.py index 126e46d181..0faa3f7d85 100644 --- a/sdk/python/pulumi_oci/identity/get_users.py +++ b/sdk/python/pulumi_oci/identity/get_users.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/identity/group.py b/sdk/python/pulumi_oci/identity/group.py index b660382704..b9d8c6af2d 100644 --- a/sdk/python/pulumi_oci/identity/group.py +++ b/sdk/python/pulumi_oci/identity/group.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['GroupArgs', 'Group'] @@ -31,15 +31,32 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "description", description) + GroupArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + compartment_id=compartment_id, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: pulumi.Input[str], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -132,22 +149,45 @@ def __init__(__self__, *, :param pulumi.Input[str] state: The group's current state. :param pulumi.Input[str] time_created: Date and time the group was created, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z` """ + _GroupState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + inactive_state=inactive_state, + name=name, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + inactive_state: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if inactive_state is not None: - pulumi.set(__self__, "inactive_state", inactive_state) + _setter("inactive_state", inactive_state) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -381,6 +421,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + GroupArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/identity/identity_provider.py b/sdk/python/pulumi_oci/identity/identity_provider.py index 8a2b66c3f1..bf4b72ed36 100644 --- a/sdk/python/pulumi_oci/identity/identity_provider.py +++ b/sdk/python/pulumi_oci/identity/identity_provider.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['IdentityProviderArgs', 'IdentityProvider'] @@ -41,20 +41,47 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] freeform_tags: (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` :param pulumi.Input[str] name: The name you assign to the `IdentityProvider` during creation. The name must be unique across all `IdentityProvider` objects in the tenancy and cannot be changed. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "metadata", metadata) - pulumi.set(__self__, "metadata_url", metadata_url) - pulumi.set(__self__, "product_type", product_type) - pulumi.set(__self__, "protocol", protocol) + IdentityProviderArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + description=description, + metadata=metadata, + metadata_url=metadata_url, + product_type=product_type, + protocol=protocol, + defined_tags=defined_tags, + freeform_attributes=freeform_attributes, + freeform_tags=freeform_tags, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + description: pulumi.Input[str], + metadata: pulumi.Input[str], + metadata_url: pulumi.Input[str], + product_type: pulumi.Input[str], + protocol: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_attributes: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("description", description) + _setter("metadata", metadata) + _setter("metadata_url", metadata_url) + _setter("product_type", product_type) + _setter("protocol", protocol) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_attributes is not None: - pulumi.set(__self__, "freeform_attributes", freeform_attributes) + _setter("freeform_attributes", freeform_attributes) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter(name="compartmentId") @@ -221,36 +248,73 @@ def __init__(__self__, *, :param pulumi.Input[str] state: The current state. :param pulumi.Input[str] time_created: Date and time the `IdentityProvider` was created, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z` """ + _IdentityProviderState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + freeform_attributes=freeform_attributes, + freeform_tags=freeform_tags, + inactive_state=inactive_state, + metadata=metadata, + metadata_url=metadata_url, + name=name, + product_type=product_type, + protocol=protocol, + redirect_url=redirect_url, + signing_certificate=signing_certificate, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_attributes: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + inactive_state: Optional[pulumi.Input[str]] = None, + metadata: Optional[pulumi.Input[str]] = None, + metadata_url: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + product_type: Optional[pulumi.Input[str]] = None, + protocol: Optional[pulumi.Input[str]] = None, + redirect_url: Optional[pulumi.Input[str]] = None, + signing_certificate: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_attributes is not None: - pulumi.set(__self__, "freeform_attributes", freeform_attributes) + _setter("freeform_attributes", freeform_attributes) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if inactive_state is not None: - pulumi.set(__self__, "inactive_state", inactive_state) + _setter("inactive_state", inactive_state) if metadata is not None: - pulumi.set(__self__, "metadata", metadata) + _setter("metadata", metadata) if metadata_url is not None: - pulumi.set(__self__, "metadata_url", metadata_url) + _setter("metadata_url", metadata_url) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if product_type is not None: - pulumi.set(__self__, "product_type", product_type) + _setter("product_type", product_type) if protocol is not None: - pulumi.set(__self__, "protocol", protocol) + _setter("protocol", protocol) if redirect_url is not None: - pulumi.set(__self__, "redirect_url", redirect_url) + _setter("redirect_url", redirect_url) if signing_certificate is not None: - pulumi.set(__self__, "signing_certificate", signing_certificate) + _setter("signing_certificate", signing_certificate) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -586,6 +650,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + IdentityProviderArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/identity/idp_group_mapping.py b/sdk/python/pulumi_oci/identity/idp_group_mapping.py index 9d71379db6..3befd73c1f 100644 --- a/sdk/python/pulumi_oci/identity/idp_group_mapping.py +++ b/sdk/python/pulumi_oci/identity/idp_group_mapping.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['IdpGroupMappingArgs', 'IdpGroupMapping'] @@ -27,9 +27,22 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "group_id", group_id) - pulumi.set(__self__, "identity_provider_id", identity_provider_id) - pulumi.set(__self__, "idp_group_name", idp_group_name) + IdpGroupMappingArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + group_id=group_id, + identity_provider_id=identity_provider_id, + idp_group_name=idp_group_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + group_id: pulumi.Input[str], + identity_provider_id: pulumi.Input[str], + idp_group_name: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("group_id", group_id) + _setter("identity_provider_id", identity_provider_id) + _setter("idp_group_name", idp_group_name) @property @pulumi.getter(name="groupId") @@ -96,20 +109,41 @@ def __init__(__self__, *, :param pulumi.Input[str] state: The mapping's current state. :param pulumi.Input[str] time_created: Date and time the mapping was created, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z` """ + _IdpGroupMappingState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + group_id=group_id, + identity_provider_id=identity_provider_id, + idp_group_name=idp_group_name, + inactive_state=inactive_state, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + group_id: Optional[pulumi.Input[str]] = None, + identity_provider_id: Optional[pulumi.Input[str]] = None, + idp_group_name: Optional[pulumi.Input[str]] = None, + inactive_state: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if group_id is not None: - pulumi.set(__self__, "group_id", group_id) + _setter("group_id", group_id) if identity_provider_id is not None: - pulumi.set(__self__, "identity_provider_id", identity_provider_id) + _setter("identity_provider_id", identity_provider_id) if idp_group_name is not None: - pulumi.set(__self__, "idp_group_name", idp_group_name) + _setter("idp_group_name", idp_group_name) if inactive_state is not None: - pulumi.set(__self__, "inactive_state", inactive_state) + _setter("inactive_state", inactive_state) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -291,6 +325,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + IdpGroupMappingArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/identity/import_standard_tags_management.py b/sdk/python/pulumi_oci/identity/import_standard_tags_management.py index 212f03f11e..5c5f50e993 100644 --- a/sdk/python/pulumi_oci/identity/import_standard_tags_management.py +++ b/sdk/python/pulumi_oci/identity/import_standard_tags_management.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['ImportStandardTagsManagementArgs', 'ImportStandardTagsManagement'] @@ -25,8 +25,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "standard_tag_namespace_name", standard_tag_namespace_name) + ImportStandardTagsManagementArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + standard_tag_namespace_name=standard_tag_namespace_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + standard_tag_namespace_name: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("standard_tag_namespace_name", standard_tag_namespace_name) @property @pulumi.getter(name="compartmentId") @@ -72,12 +83,25 @@ def __init__(__self__, *, ** 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 """ + _ImportStandardTagsManagementState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + standard_tag_namespace_name=standard_tag_namespace_name, + work_request_id=work_request_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + standard_tag_namespace_name: Optional[pulumi.Input[str]] = None, + work_request_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if standard_tag_namespace_name is not None: - pulumi.set(__self__, "standard_tag_namespace_name", standard_tag_namespace_name) + _setter("standard_tag_namespace_name", standard_tag_namespace_name) if work_request_id is not None: - pulumi.set(__self__, "work_request_id", work_request_id) + _setter("work_request_id", work_request_id) @property @pulumi.getter(name="compartmentId") @@ -200,6 +224,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ImportStandardTagsManagementArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/identity/network_source.py b/sdk/python/pulumi_oci/identity/network_source.py index bbe0ce4a5b..f2f6cc0187 100644 --- a/sdk/python/pulumi_oci/identity/network_source.py +++ b/sdk/python/pulumi_oci/identity/network_source.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -39,20 +39,43 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "description", description) + NetworkSourceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + description=description, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + name=name, + public_source_lists=public_source_lists, + services=services, + virtual_source_lists=virtual_source_lists, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + description: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + name: Optional[pulumi.Input[str]] = None, + public_source_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + services: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + virtual_source_lists: Optional[pulumi.Input[Sequence[pulumi.Input['NetworkSourceVirtualSourceListArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("description", description) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if public_source_lists is not None: - pulumi.set(__self__, "public_source_lists", public_source_lists) + _setter("public_source_lists", public_source_lists) if services is not None: - pulumi.set(__self__, "services", services) + _setter("services", services) if virtual_source_lists is not None: - pulumi.set(__self__, "virtual_source_lists", virtual_source_lists) + _setter("virtual_source_lists", virtual_source_lists) @property @pulumi.getter(name="compartmentId") @@ -187,28 +210,57 @@ def __init__(__self__, *, ** 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 """ + _NetworkSourceState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + inactive_state=inactive_state, + name=name, + public_source_lists=public_source_lists, + services=services, + state=state, + time_created=time_created, + virtual_source_lists=virtual_source_lists, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + inactive_state: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + public_source_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + services: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + virtual_source_lists: Optional[pulumi.Input[Sequence[pulumi.Input['NetworkSourceVirtualSourceListArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if inactive_state is not None: - pulumi.set(__self__, "inactive_state", inactive_state) + _setter("inactive_state", inactive_state) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if public_source_lists is not None: - pulumi.set(__self__, "public_source_lists", public_source_lists) + _setter("public_source_lists", public_source_lists) if services is not None: - pulumi.set(__self__, "services", services) + _setter("services", services) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if virtual_source_lists is not None: - pulumi.set(__self__, "virtual_source_lists", virtual_source_lists) + _setter("virtual_source_lists", virtual_source_lists) @property @pulumi.getter(name="compartmentId") @@ -490,6 +542,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + NetworkSourceArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/identity/outputs.py b/sdk/python/pulumi_oci/identity/outputs.py index e77e3fb13e..88740994c2 100644 --- a/sdk/python/pulumi_oci/identity/outputs.py +++ b/sdk/python/pulumi_oci/identity/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -1172,8 +1172,17 @@ def __init__(__self__, *, """ :param Sequence[str] network_source_ids: (Updatable) Network Source ids """ + AuthenticationPolicyNetworkPolicy._configure( + lambda key, value: pulumi.set(__self__, key, value), + network_source_ids=network_source_ids, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + network_source_ids: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if network_source_ids is not None: - pulumi.set(__self__, "network_source_ids", network_source_ids) + _setter("network_source_ids", network_source_ids) @property @pulumi.getter(name="networkSourceIds") @@ -1232,18 +1241,37 @@ def __init__(__self__, *, ** 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 """ + AuthenticationPolicyPasswordPolicy._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_lowercase_characters_required=is_lowercase_characters_required, + is_numeric_characters_required=is_numeric_characters_required, + is_special_characters_required=is_special_characters_required, + is_uppercase_characters_required=is_uppercase_characters_required, + is_username_containment_allowed=is_username_containment_allowed, + minimum_password_length=minimum_password_length, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_lowercase_characters_required: Optional[bool] = None, + is_numeric_characters_required: Optional[bool] = None, + is_special_characters_required: Optional[bool] = None, + is_uppercase_characters_required: Optional[bool] = None, + is_username_containment_allowed: Optional[bool] = None, + minimum_password_length: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_lowercase_characters_required is not None: - pulumi.set(__self__, "is_lowercase_characters_required", is_lowercase_characters_required) + _setter("is_lowercase_characters_required", is_lowercase_characters_required) if is_numeric_characters_required is not None: - pulumi.set(__self__, "is_numeric_characters_required", is_numeric_characters_required) + _setter("is_numeric_characters_required", is_numeric_characters_required) if is_special_characters_required is not None: - pulumi.set(__self__, "is_special_characters_required", is_special_characters_required) + _setter("is_special_characters_required", is_special_characters_required) if is_uppercase_characters_required is not None: - pulumi.set(__self__, "is_uppercase_characters_required", is_uppercase_characters_required) + _setter("is_uppercase_characters_required", is_uppercase_characters_required) if is_username_containment_allowed is not None: - pulumi.set(__self__, "is_username_containment_allowed", is_username_containment_allowed) + _setter("is_username_containment_allowed", is_username_containment_allowed) if minimum_password_length is not None: - pulumi.set(__self__, "minimum_password_length", minimum_password_length) + _setter("minimum_password_length", minimum_password_length) @property @pulumi.getter(name="isLowercaseCharactersRequired") @@ -1309,12 +1337,25 @@ def __init__(__self__, *, :param str state: The current state. :param str url: Region agnostic domain URL. """ + DomainReplicaRegion._configure( + lambda key, value: pulumi.set(__self__, key, value), + region=region, + state=state, + url=url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + region: Optional[str] = None, + state: Optional[str] = None, + url: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if region is not None: - pulumi.set(__self__, "region", region) + _setter("region", region) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if url is not None: - pulumi.set(__self__, "url", url) + _setter("url", url) @property @pulumi.getter @@ -1406,15 +1447,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAccountRecoverySettingIdcsCreatedBy._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -1572,15 +1630,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAccountRecoverySettingIdcsLastModifiedBy._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -1757,16 +1832,33 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsAccountRecoverySettingMeta._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: Optional[str] = None, + last_modified: Optional[str] = None, + location: Optional[str] = None, + resource_type: Optional[str] = None, + version: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if created is not None: - pulumi.set(__self__, "created", created) + _setter("created", created) if last_modified is not None: - pulumi.set(__self__, "last_modified", last_modified) + _setter("last_modified", last_modified) if location is not None: - pulumi.set(__self__, "location", location) + _setter("location", location) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter @@ -1888,8 +1980,19 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsAccountRecoverySettingTag._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -1997,15 +2100,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsApiKeyIdcsCreatedBy._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -2171,15 +2291,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsApiKeyIdcsLastModifiedBy._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -2360,16 +2497,33 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsApiKeyMeta._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: Optional[str] = None, + last_modified: Optional[str] = None, + location: Optional[str] = None, + resource_type: Optional[str] = None, + version: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if created is not None: - pulumi.set(__self__, "created", created) + _setter("created", created) if last_modified is not None: - pulumi.set(__self__, "last_modified", last_modified) + _setter("last_modified", last_modified) if location is not None: - pulumi.set(__self__, "location", location) + _setter("location", location) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter @@ -2495,8 +2649,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsApiKeyTag._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -2574,8 +2739,17 @@ def __init__(__self__, *, * type: boolean * uniqueness: none """ + DomainsApiKeyUrnietfparamsscimschemasoracleidcsextensionselfChangeUser._configure( + lambda key, value: pulumi.set(__self__, key, value), + allow_self_change=allow_self_change, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allow_self_change: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): if allow_self_change is not None: - pulumi.set(__self__, "allow_self_change", allow_self_change) + _setter("allow_self_change", allow_self_change) @property @pulumi.getter(name="allowSelfChange") @@ -2666,16 +2840,33 @@ def __init__(__self__, *, ** 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 """ + DomainsApiKeyUser._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + name=name, + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: Optional[str] = None, + name: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -2858,16 +3049,33 @@ def __init__(__self__, *, ** 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 """ + DomainsAppAccount._configure( + lambda key, value: pulumi.set(__self__, key, value), + active=active, + name=name, + owner_id=owner_id, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + active: Optional[bool] = None, + name: Optional[str] = None, + owner_id: Optional[str] = None, + ref: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if active is not None: - pulumi.set(__self__, "active", active) + _setter("active", active) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if owner_id is not None: - pulumi.set(__self__, "owner_id", owner_id) + _setter("owner_id", owner_id) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -3017,13 +3225,28 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAppAdminRole._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + description=description, + display=display, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + description: Optional[str] = None, + display: Optional[str] = None, + ref: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -3151,13 +3374,28 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAppAliasApp._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + description=description, + display=display, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + description: Optional[str] = None, + display: Optional[str] = None, + ref: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -3293,11 +3531,24 @@ def __init__(__self__, *, * type: boolean * uniqueness: none """ - pulumi.set(__self__, "fqs", fqs) + DomainsAppAllowedScope._configure( + lambda key, value: pulumi.set(__self__, key, value), + fqs=fqs, + id_of_defining_app=id_of_defining_app, + read_only=read_only, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + fqs: str, + id_of_defining_app: Optional[str] = None, + read_only: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("fqs", fqs) if id_of_defining_app is not None: - pulumi.set(__self__, "id_of_defining_app", id_of_defining_app) + _setter("id_of_defining_app", id_of_defining_app) if read_only is not None: - pulumi.set(__self__, "read_only", read_only) + _setter("read_only", read_only) @property @pulumi.getter @@ -3418,10 +3669,23 @@ def __init__(__self__, *, * type: boolean * uniqueness: none """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsAppAllowedTag._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + read_only=read_only, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + read_only: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) if read_only is not None: - pulumi.set(__self__, "read_only", read_only) + _setter("read_only", read_only) @property @pulumi.getter @@ -3514,9 +3778,20 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAppAppSignonPolicy._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + ref: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -3588,9 +3863,20 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAppAppsNetworkPerimeter._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + ref: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -3662,9 +3948,20 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAppAsOpcService._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + ref: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -3907,35 +4204,72 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "name", name) + DomainsAppAttrRenderingMetadata._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + datatype=datatype, + helptext=helptext, + label=label, + max_length=max_length, + max_size=max_size, + min_length=min_length, + min_size=min_size, + order=order, + read_only=read_only, + regexp=regexp, + required=required, + section=section, + visible=visible, + widget=widget, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + datatype: Optional[str] = None, + helptext: Optional[str] = None, + label: Optional[str] = None, + max_length: Optional[int] = None, + max_size: Optional[int] = None, + min_length: Optional[int] = None, + min_size: Optional[int] = None, + order: Optional[int] = None, + read_only: Optional[bool] = None, + regexp: Optional[str] = None, + required: Optional[bool] = None, + section: Optional[str] = None, + visible: Optional[bool] = None, + widget: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) if datatype is not None: - pulumi.set(__self__, "datatype", datatype) + _setter("datatype", datatype) if helptext is not None: - pulumi.set(__self__, "helptext", helptext) + _setter("helptext", helptext) if label is not None: - pulumi.set(__self__, "label", label) + _setter("label", label) if max_length is not None: - pulumi.set(__self__, "max_length", max_length) + _setter("max_length", max_length) if max_size is not None: - pulumi.set(__self__, "max_size", max_size) + _setter("max_size", max_size) if min_length is not None: - pulumi.set(__self__, "min_length", min_length) + _setter("min_length", min_length) if min_size is not None: - pulumi.set(__self__, "min_size", min_size) + _setter("min_size", min_size) if order is not None: - pulumi.set(__self__, "order", order) + _setter("order", order) if read_only is not None: - pulumi.set(__self__, "read_only", read_only) + _setter("read_only", read_only) if regexp is not None: - pulumi.set(__self__, "regexp", regexp) + _setter("regexp", regexp) if required is not None: - pulumi.set(__self__, "required", required) + _setter("required", required) if section is not None: - pulumi.set(__self__, "section", section) + _setter("section", section) if visible is not None: - pulumi.set(__self__, "visible", visible) + _setter("visible", visible) if widget is not None: - pulumi.set(__self__, "widget", widget) + _setter("widget", widget) @property @pulumi.getter @@ -4276,13 +4610,28 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAppBasedOnTemplate._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + last_modified=last_modified, + ref=ref, + well_known_id=well_known_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + last_modified: Optional[str] = None, + ref: Optional[str] = None, + well_known_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if last_modified is not None: - pulumi.set(__self__, "last_modified", last_modified) + _setter("last_modified", last_modified) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if well_known_id is not None: - pulumi.set(__self__, "well_known_id", well_known_id) + _setter("well_known_id", well_known_id) @property @pulumi.getter @@ -4443,15 +4792,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "cert_alias", cert_alias) + DomainsAppCertificate._configure( + lambda key, value: pulumi.set(__self__, key, value), + cert_alias=cert_alias, + kid=kid, + sha1thumbprint=sha1thumbprint, + x509base64certificate=x509base64certificate, + x5t=x5t, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cert_alias: str, + kid: Optional[str] = None, + sha1thumbprint: Optional[str] = None, + x509base64certificate: Optional[str] = None, + x5t: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cert_alias", cert_alias) if kid is not None: - pulumi.set(__self__, "kid", kid) + _setter("kid", kid) if sha1thumbprint is not None: - pulumi.set(__self__, "sha1thumbprint", sha1thumbprint) + _setter("sha1thumbprint", sha1thumbprint) if x509base64certificate is not None: - pulumi.set(__self__, "x509base64certificate", x509base64certificate) + _setter("x509base64certificate", x509base64certificate) if x5t is not None: - pulumi.set(__self__, "x5t", x5t) + _setter("x5t", x5t) @property @pulumi.getter(name="certAlias") @@ -4577,8 +4943,19 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + DomainsAppCloudControlProperty._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) @property @pulumi.getter @@ -4641,7 +5018,16 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "name", name) + DomainsAppEditableAttribute._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -4756,16 +5142,33 @@ def __init__(__self__, *, ** 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 """ + DomainsAppGrant._configure( + lambda key, value: pulumi.set(__self__, key, value), + grant_mechanism=grant_mechanism, + grantee_id=grantee_id, + grantee_type=grantee_type, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + grant_mechanism: Optional[str] = None, + grantee_id: Optional[str] = None, + grantee_type: Optional[str] = None, + ref: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if grant_mechanism is not None: - pulumi.set(__self__, "grant_mechanism", grant_mechanism) + _setter("grant_mechanism", grant_mechanism) if grantee_id is not None: - pulumi.set(__self__, "grantee_id", grantee_id) + _setter("grantee_id", grantee_id) if grantee_type is not None: - pulumi.set(__self__, "grantee_type", grantee_type) + _setter("grantee_type", grantee_type) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter(name="grantMechanism") @@ -5003,23 +5406,48 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAppGrantedAppRole._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + admin_role=admin_role, + app_id=app_id, + app_name=app_name, + display=display, + legacy_group_name=legacy_group_name, + read_only=read_only, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + admin_role: Optional[bool] = None, + app_id: Optional[str] = None, + app_name: Optional[str] = None, + display: Optional[str] = None, + legacy_group_name: Optional[str] = None, + read_only: Optional[bool] = None, + ref: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if admin_role is not None: - pulumi.set(__self__, "admin_role", admin_role) + _setter("admin_role", admin_role) if app_id is not None: - pulumi.set(__self__, "app_id", app_id) + _setter("app_id", app_id) if app_name is not None: - pulumi.set(__self__, "app_name", app_name) + _setter("app_name", app_name) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if legacy_group_name is not None: - pulumi.set(__self__, "legacy_group_name", legacy_group_name) + _setter("legacy_group_name", legacy_group_name) if read_only is not None: - pulumi.set(__self__, "read_only", read_only) + _setter("read_only", read_only) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -5255,15 +5683,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAppIdcsCreatedBy._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -5429,15 +5874,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAppIdcsLastModifiedBy._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -5576,11 +6038,24 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAppIdentityProvider._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ref: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -5669,9 +6144,20 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAppIdpPolicy._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + ref: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -5795,16 +6281,33 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsAppMeta._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: Optional[str] = None, + last_modified: Optional[str] = None, + location: Optional[str] = None, + resource_type: Optional[str] = None, + version: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if created is not None: - pulumi.set(__self__, "created", created) + _setter("created", created) if last_modified is not None: - pulumi.set(__self__, "last_modified", last_modified) + _setter("last_modified", last_modified) if location is not None: - pulumi.set(__self__, "location", location) + _setter("location", location) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter @@ -5946,9 +6449,20 @@ def __init__(__self__, *, * type: boolean * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAppProtectableSecondaryAudience._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + read_only=read_only, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + read_only: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if read_only is not None: - pulumi.set(__self__, "read_only", read_only) + _setter("read_only", read_only) @property @pulumi.getter @@ -6022,9 +6536,20 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAppRadiusPolicy._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + ref: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -6144,15 +6669,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAppRoleApp._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + name=name, + ref=ref, + service_instance_identifier=service_instance_identifier, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + name: Optional[str] = None, + ref: Optional[str] = None, + service_instance_identifier: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if service_instance_identifier is not None: - pulumi.set(__self__, "service_instance_identifier", service_instance_identifier) + _setter("service_instance_identifier", service_instance_identifier) @property @pulumi.getter @@ -6307,15 +6849,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAppRoleIdcsCreatedBy._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -6473,15 +7032,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAppRoleIdcsLastModifiedBy._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -6627,12 +7203,27 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + DomainsAppRoleMember._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + display=display, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + value: str, + display: Optional[str] = None, + ref: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -6791,16 +7382,33 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsAppRoleMeta._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: Optional[str] = None, + last_modified: Optional[str] = None, + location: Optional[str] = None, + resource_type: Optional[str] = None, + version: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if created is not None: - pulumi.set(__self__, "created", created) + _setter("created", created) if last_modified is not None: - pulumi.set(__self__, "last_modified", last_modified) + _setter("last_modified", last_modified) if location is not None: - pulumi.set(__self__, "location", location) + _setter("location", location) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter @@ -6922,8 +7530,19 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsAppRoleTag._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -6993,9 +7612,20 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAppSamlServiceProvider._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + ref: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -7137,17 +7767,36 @@ def __init__(__self__, *, * type: boolean * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAppScope._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + description=description, + display_name=display_name, + fqs=fqs, + read_only=read_only, + requires_consent=requires_consent, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + description: Optional[str] = None, + display_name: Optional[str] = None, + fqs: Optional[str] = None, + read_only: Optional[bool] = None, + requires_consent: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if fqs is not None: - pulumi.set(__self__, "fqs", fqs) + _setter("fqs", fqs) if read_only is not None: - pulumi.set(__self__, "read_only", read_only) + _setter("read_only", read_only) if requires_consent is not None: - pulumi.set(__self__, "requires_consent", requires_consent) + _setter("requires_consent", requires_consent) @property @pulumi.getter @@ -7296,9 +7945,20 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "name", name) + DomainsAppServiceParam._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -7374,9 +8034,20 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAppSignonPolicy._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + ref: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -7450,8 +8121,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsAppTag._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -7540,11 +8222,24 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAppTermsOfUse._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + name=name, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + name: Optional[str] = None, + ref: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -7637,9 +8332,20 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAppTrustPolicy._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + ref: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -7741,12 +8447,25 @@ def __init__(__self__, *, * mutability: readOnly * returned: request """ + DomainsAppUrnietfparamsscimschemasoracleidcsextensionOciTags._configure( + lambda key, value: pulumi.set(__self__, key, value), + defined_tags=defined_tags, + freeform_tags=freeform_tags, + tag_slug=tag_slug, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + defined_tags: Optional[Sequence['outputs.DomainsAppUrnietfparamsscimschemasoracleidcsextensionOciTagsDefinedTag']] = None, + freeform_tags: Optional[Sequence['outputs.DomainsAppUrnietfparamsscimschemasoracleidcsextensionOciTagsFreeformTag']] = None, + tag_slug: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if tag_slug is not None: - pulumi.set(__self__, "tag_slug", tag_slug) + _setter("tag_slug", tag_slug) @property @pulumi.getter(name="definedTags") @@ -7848,9 +8567,22 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "value", value) + DomainsAppUrnietfparamsscimschemasoracleidcsextensionOciTagsDefinedTag._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + namespace=namespace, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + namespace: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("namespace", namespace) + _setter("value", value) @property @pulumi.getter @@ -7945,8 +8677,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsAppUrnietfparamsscimschemasoracleidcsextensionOciTagsFreeformTag._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -8040,10 +8783,21 @@ def __init__(__self__, *, * type: string * uniqueness: server """ + DomainsAppUrnietfparamsscimschemasoracleidcsextensiondbcsApp._configure( + lambda key, value: pulumi.set(__self__, key, value), + domain_app=domain_app, + domain_name=domain_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + domain_app: Optional['outputs.DomainsAppUrnietfparamsscimschemasoracleidcsextensiondbcsAppDomainApp'] = None, + domain_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if domain_app is not None: - pulumi.set(__self__, "domain_app", domain_app) + _setter("domain_app", domain_app) if domain_name is not None: - pulumi.set(__self__, "domain_name", domain_name) + _setter("domain_name", domain_name) @property @pulumi.getter(name="domainApp") @@ -8127,11 +8881,24 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAppUrnietfparamsscimschemasoracleidcsextensiondbcsAppDomainApp._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ref: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -8287,16 +9054,33 @@ def __init__(__self__, *, * returned: default * type: complex """ + DomainsAppUrnietfparamsscimschemasoracleidcsextensionenterpriseAppApp._configure( + lambda key, value: pulumi.set(__self__, key, value), + allow_authz_decision_ttl=allow_authz_decision_ttl, + allow_authz_policy=allow_authz_policy, + app_resources=app_resources, + deny_authz_decision_ttl=deny_authz_decision_ttl, + deny_authz_policy=deny_authz_policy, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allow_authz_decision_ttl: Optional[int] = None, + allow_authz_policy: Optional['outputs.DomainsAppUrnietfparamsscimschemasoracleidcsextensionenterpriseAppAppAllowAuthzPolicy'] = None, + app_resources: Optional[Sequence['outputs.DomainsAppUrnietfparamsscimschemasoracleidcsextensionenterpriseAppAppAppResource']] = None, + deny_authz_decision_ttl: Optional[int] = None, + deny_authz_policy: Optional['outputs.DomainsAppUrnietfparamsscimschemasoracleidcsextensionenterpriseAppAppDenyAuthzPolicy'] = None, + opts: Optional[pulumi.ResourceOptions]=None): if allow_authz_decision_ttl is not None: - pulumi.set(__self__, "allow_authz_decision_ttl", allow_authz_decision_ttl) + _setter("allow_authz_decision_ttl", allow_authz_decision_ttl) if allow_authz_policy is not None: - pulumi.set(__self__, "allow_authz_policy", allow_authz_policy) + _setter("allow_authz_policy", allow_authz_policy) if app_resources is not None: - pulumi.set(__self__, "app_resources", app_resources) + _setter("app_resources", app_resources) if deny_authz_decision_ttl is not None: - pulumi.set(__self__, "deny_authz_decision_ttl", deny_authz_decision_ttl) + _setter("deny_authz_decision_ttl", deny_authz_decision_ttl) if deny_authz_policy is not None: - pulumi.set(__self__, "deny_authz_policy", deny_authz_policy) + _setter("deny_authz_policy", deny_authz_policy) @property @pulumi.getter(name="allowAuthzDecisionTtl") @@ -8428,9 +9212,20 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAppUrnietfparamsscimschemasoracleidcsextensionenterpriseAppAppAllowAuthzPolicy._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + ref: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -8502,9 +9297,20 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAppUrnietfparamsscimschemasoracleidcsextensionenterpriseAppAppAppResource._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + ref: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -8576,9 +9382,20 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAppUrnietfparamsscimschemasoracleidcsextensionenterpriseAppAppDenyAuthzPolicy._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + ref: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -8762,24 +9579,49 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsAppUrnietfparamsscimschemasoracleidcsextensionformFillAppApp._configure( + lambda key, value: pulumi.set(__self__, key, value), + configuration=configuration, + form_cred_method=form_cred_method, + form_credential_sharing_group_id=form_credential_sharing_group_id, + form_fill_url_matches=form_fill_url_matches, + form_type=form_type, + reveal_password_on_form=reveal_password_on_form, + sync_from_template=sync_from_template, + user_name_form_expression=user_name_form_expression, + user_name_form_template=user_name_form_template, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + configuration: Optional[str] = None, + form_cred_method: Optional[str] = None, + form_credential_sharing_group_id: Optional[str] = None, + form_fill_url_matches: Optional[Sequence['outputs.DomainsAppUrnietfparamsscimschemasoracleidcsextensionformFillAppAppFormFillUrlMatch']] = None, + form_type: Optional[str] = None, + reveal_password_on_form: Optional[bool] = None, + sync_from_template: Optional[bool] = None, + user_name_form_expression: Optional[str] = None, + user_name_form_template: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if configuration is not None: - pulumi.set(__self__, "configuration", configuration) + _setter("configuration", configuration) if form_cred_method is not None: - pulumi.set(__self__, "form_cred_method", form_cred_method) + _setter("form_cred_method", form_cred_method) if form_credential_sharing_group_id is not None: - pulumi.set(__self__, "form_credential_sharing_group_id", form_credential_sharing_group_id) + _setter("form_credential_sharing_group_id", form_credential_sharing_group_id) if form_fill_url_matches is not None: - pulumi.set(__self__, "form_fill_url_matches", form_fill_url_matches) + _setter("form_fill_url_matches", form_fill_url_matches) if form_type is not None: - pulumi.set(__self__, "form_type", form_type) + _setter("form_type", form_type) if reveal_password_on_form is not None: - pulumi.set(__self__, "reveal_password_on_form", reveal_password_on_form) + _setter("reveal_password_on_form", reveal_password_on_form) if sync_from_template is not None: - pulumi.set(__self__, "sync_from_template", sync_from_template) + _setter("sync_from_template", sync_from_template) if user_name_form_expression is not None: - pulumi.set(__self__, "user_name_form_expression", user_name_form_expression) + _setter("user_name_form_expression", user_name_form_expression) if user_name_form_template is not None: - pulumi.set(__self__, "user_name_form_template", user_name_form_template) + _setter("user_name_form_template", user_name_form_template) @property @pulumi.getter @@ -8991,9 +9833,20 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "form_url", form_url) + DomainsAppUrnietfparamsscimschemasoracleidcsextensionformFillAppAppFormFillUrlMatch._configure( + lambda key, value: pulumi.set(__self__, key, value), + form_url=form_url, + form_url_match_type=form_url_match_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + form_url: str, + form_url_match_type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("form_url", form_url) if form_url_match_type is not None: - pulumi.set(__self__, "form_url_match_type", form_url_match_type) + _setter("form_url_match_type", form_url_match_type) @property @pulumi.getter(name="formUrl") @@ -9175,24 +10028,49 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsAppUrnietfparamsscimschemasoracleidcsextensionformFillAppTemplateAppTemplate._configure( + lambda key, value: pulumi.set(__self__, key, value), + configuration=configuration, + form_cred_method=form_cred_method, + form_credential_sharing_group_id=form_credential_sharing_group_id, + form_fill_url_matches=form_fill_url_matches, + form_type=form_type, + reveal_password_on_form=reveal_password_on_form, + sync_from_template=sync_from_template, + user_name_form_expression=user_name_form_expression, + user_name_form_template=user_name_form_template, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + configuration: Optional[str] = None, + form_cred_method: Optional[str] = None, + form_credential_sharing_group_id: Optional[str] = None, + form_fill_url_matches: Optional[Sequence['outputs.DomainsAppUrnietfparamsscimschemasoracleidcsextensionformFillAppTemplateAppTemplateFormFillUrlMatch']] = None, + form_type: Optional[str] = None, + reveal_password_on_form: Optional[bool] = None, + sync_from_template: Optional[bool] = None, + user_name_form_expression: Optional[str] = None, + user_name_form_template: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if configuration is not None: - pulumi.set(__self__, "configuration", configuration) + _setter("configuration", configuration) if form_cred_method is not None: - pulumi.set(__self__, "form_cred_method", form_cred_method) + _setter("form_cred_method", form_cred_method) if form_credential_sharing_group_id is not None: - pulumi.set(__self__, "form_credential_sharing_group_id", form_credential_sharing_group_id) + _setter("form_credential_sharing_group_id", form_credential_sharing_group_id) if form_fill_url_matches is not None: - pulumi.set(__self__, "form_fill_url_matches", form_fill_url_matches) + _setter("form_fill_url_matches", form_fill_url_matches) if form_type is not None: - pulumi.set(__self__, "form_type", form_type) + _setter("form_type", form_type) if reveal_password_on_form is not None: - pulumi.set(__self__, "reveal_password_on_form", reveal_password_on_form) + _setter("reveal_password_on_form", reveal_password_on_form) if sync_from_template is not None: - pulumi.set(__self__, "sync_from_template", sync_from_template) + _setter("sync_from_template", sync_from_template) if user_name_form_expression is not None: - pulumi.set(__self__, "user_name_form_expression", user_name_form_expression) + _setter("user_name_form_expression", user_name_form_expression) if user_name_form_template is not None: - pulumi.set(__self__, "user_name_form_template", user_name_form_template) + _setter("user_name_form_template", user_name_form_template) @property @pulumi.getter @@ -9404,9 +10282,20 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "form_url", form_url) + DomainsAppUrnietfparamsscimschemasoracleidcsextensionformFillAppTemplateAppTemplateFormFillUrlMatch._configure( + lambda key, value: pulumi.set(__self__, key, value), + form_url=form_url, + form_url_match_type=form_url_match_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + form_url: str, + form_url_match_type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("form_url", form_url) if form_url_match_type is not None: - pulumi.set(__self__, "form_url_match_type", form_url_match_type) + _setter("form_url_match_type", form_url_match_type) @property @pulumi.getter(name="formUrl") @@ -9557,20 +10446,41 @@ def __init__(__self__, *, * type: integer * uniqueness: none """ + DomainsAppUrnietfparamsscimschemasoracleidcsextensionkerberosRealmApp._configure( + lambda key, value: pulumi.set(__self__, key, value), + default_encryption_salt_type=default_encryption_salt_type, + master_key=master_key, + max_renewable_age=max_renewable_age, + max_ticket_life=max_ticket_life, + realm_name=realm_name, + supported_encryption_salt_types=supported_encryption_salt_types, + ticket_flags=ticket_flags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + default_encryption_salt_type: Optional[str] = None, + master_key: Optional[str] = None, + max_renewable_age: Optional[int] = None, + max_ticket_life: Optional[int] = None, + realm_name: Optional[str] = None, + supported_encryption_salt_types: Optional[Sequence[str]] = None, + ticket_flags: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if default_encryption_salt_type is not None: - pulumi.set(__self__, "default_encryption_salt_type", default_encryption_salt_type) + _setter("default_encryption_salt_type", default_encryption_salt_type) if master_key is not None: - pulumi.set(__self__, "master_key", master_key) + _setter("master_key", master_key) if max_renewable_age is not None: - pulumi.set(__self__, "max_renewable_age", max_renewable_age) + _setter("max_renewable_age", max_renewable_age) if max_ticket_life is not None: - pulumi.set(__self__, "max_ticket_life", max_ticket_life) + _setter("max_ticket_life", max_ticket_life) if realm_name is not None: - pulumi.set(__self__, "realm_name", realm_name) + _setter("realm_name", realm_name) if supported_encryption_salt_types is not None: - pulumi.set(__self__, "supported_encryption_salt_types", supported_encryption_salt_types) + _setter("supported_encryption_salt_types", supported_encryption_salt_types) if ticket_flags is not None: - pulumi.set(__self__, "ticket_flags", ticket_flags) + _setter("ticket_flags", ticket_flags) @property @pulumi.getter(name="defaultEncryptionSaltType") @@ -10064,54 +10974,109 @@ def __init__(__self__, *, * returned: default * type: string """ + DomainsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappApp._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_form_visible=account_form_visible, + admin_consent_granted=admin_consent_granted, + bundle_configuration_properties=bundle_configuration_properties, + bundle_pool_configuration=bundle_pool_configuration, + can_be_authoritative=can_be_authoritative, + connected=connected, + connector_bundles=connector_bundles, + enable_auth_sync_new_user_notification=enable_auth_sync_new_user_notification, + enable_sync=enable_sync, + enable_sync_summary_report_notification=enable_sync_summary_report_notification, + flat_file_bundle_configuration_properties=flat_file_bundle_configuration_properties, + flat_file_connector_bundle=flat_file_connector_bundle, + identity_bridges=identity_bridges, + is_authoritative=is_authoritative, + is_directory=is_directory, + is_on_premise_app=is_on_premise_app, + is_schema_customization_supported=is_schema_customization_supported, + is_schema_discovery_supported=is_schema_discovery_supported, + is_three_legged_oauth_enabled=is_three_legged_oauth_enabled, + is_two_legged_oauth_enabled=is_two_legged_oauth_enabled, + object_classes=object_classes, + sync_config_last_modified=sync_config_last_modified, + three_legged_oauth_credential=three_legged_oauth_credential, + three_legged_oauth_provider_name=three_legged_oauth_provider_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_form_visible: Optional[bool] = None, + admin_consent_granted: Optional[bool] = None, + bundle_configuration_properties: Optional[Sequence['outputs.DomainsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppBundleConfigurationProperty']] = None, + bundle_pool_configuration: Optional['outputs.DomainsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppBundlePoolConfiguration'] = None, + can_be_authoritative: Optional[bool] = None, + connected: Optional[bool] = None, + connector_bundles: Optional[Sequence['outputs.DomainsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppConnectorBundle']] = None, + enable_auth_sync_new_user_notification: Optional[bool] = None, + enable_sync: Optional[bool] = None, + enable_sync_summary_report_notification: Optional[bool] = None, + flat_file_bundle_configuration_properties: Optional[Sequence['outputs.DomainsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppFlatFileBundleConfigurationProperty']] = None, + flat_file_connector_bundle: Optional['outputs.DomainsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppFlatFileConnectorBundle'] = None, + identity_bridges: Optional[Sequence['outputs.DomainsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppIdentityBridge']] = None, + is_authoritative: Optional[bool] = None, + is_directory: Optional[bool] = None, + is_on_premise_app: Optional[bool] = None, + is_schema_customization_supported: Optional[bool] = None, + is_schema_discovery_supported: Optional[bool] = None, + is_three_legged_oauth_enabled: Optional[bool] = None, + is_two_legged_oauth_enabled: Optional[bool] = None, + object_classes: Optional[Sequence['outputs.DomainsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppObjectClass']] = None, + sync_config_last_modified: Optional[str] = None, + three_legged_oauth_credential: Optional['outputs.DomainsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppThreeLeggedOauthCredential'] = None, + three_legged_oauth_provider_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if account_form_visible is not None: - pulumi.set(__self__, "account_form_visible", account_form_visible) + _setter("account_form_visible", account_form_visible) if admin_consent_granted is not None: - pulumi.set(__self__, "admin_consent_granted", admin_consent_granted) + _setter("admin_consent_granted", admin_consent_granted) if bundle_configuration_properties is not None: - pulumi.set(__self__, "bundle_configuration_properties", bundle_configuration_properties) + _setter("bundle_configuration_properties", bundle_configuration_properties) if bundle_pool_configuration is not None: - pulumi.set(__self__, "bundle_pool_configuration", bundle_pool_configuration) + _setter("bundle_pool_configuration", bundle_pool_configuration) if can_be_authoritative is not None: - pulumi.set(__self__, "can_be_authoritative", can_be_authoritative) + _setter("can_be_authoritative", can_be_authoritative) if connected is not None: - pulumi.set(__self__, "connected", connected) + _setter("connected", connected) if connector_bundles is not None: - pulumi.set(__self__, "connector_bundles", connector_bundles) + _setter("connector_bundles", connector_bundles) if enable_auth_sync_new_user_notification is not None: - pulumi.set(__self__, "enable_auth_sync_new_user_notification", enable_auth_sync_new_user_notification) + _setter("enable_auth_sync_new_user_notification", enable_auth_sync_new_user_notification) if enable_sync is not None: - pulumi.set(__self__, "enable_sync", enable_sync) + _setter("enable_sync", enable_sync) if enable_sync_summary_report_notification is not None: - pulumi.set(__self__, "enable_sync_summary_report_notification", enable_sync_summary_report_notification) + _setter("enable_sync_summary_report_notification", enable_sync_summary_report_notification) if flat_file_bundle_configuration_properties is not None: - pulumi.set(__self__, "flat_file_bundle_configuration_properties", flat_file_bundle_configuration_properties) + _setter("flat_file_bundle_configuration_properties", flat_file_bundle_configuration_properties) if flat_file_connector_bundle is not None: - pulumi.set(__self__, "flat_file_connector_bundle", flat_file_connector_bundle) + _setter("flat_file_connector_bundle", flat_file_connector_bundle) if identity_bridges is not None: - pulumi.set(__self__, "identity_bridges", identity_bridges) + _setter("identity_bridges", identity_bridges) if is_authoritative is not None: - pulumi.set(__self__, "is_authoritative", is_authoritative) + _setter("is_authoritative", is_authoritative) if is_directory is not None: - pulumi.set(__self__, "is_directory", is_directory) + _setter("is_directory", is_directory) if is_on_premise_app is not None: - pulumi.set(__self__, "is_on_premise_app", is_on_premise_app) + _setter("is_on_premise_app", is_on_premise_app) if is_schema_customization_supported is not None: - pulumi.set(__self__, "is_schema_customization_supported", is_schema_customization_supported) + _setter("is_schema_customization_supported", is_schema_customization_supported) if is_schema_discovery_supported is not None: - pulumi.set(__self__, "is_schema_discovery_supported", is_schema_discovery_supported) + _setter("is_schema_discovery_supported", is_schema_discovery_supported) if is_three_legged_oauth_enabled is not None: - pulumi.set(__self__, "is_three_legged_oauth_enabled", is_three_legged_oauth_enabled) + _setter("is_three_legged_oauth_enabled", is_three_legged_oauth_enabled) if is_two_legged_oauth_enabled is not None: - pulumi.set(__self__, "is_two_legged_oauth_enabled", is_two_legged_oauth_enabled) + _setter("is_two_legged_oauth_enabled", is_two_legged_oauth_enabled) if object_classes is not None: - pulumi.set(__self__, "object_classes", object_classes) + _setter("object_classes", object_classes) if sync_config_last_modified is not None: - pulumi.set(__self__, "sync_config_last_modified", sync_config_last_modified) + _setter("sync_config_last_modified", sync_config_last_modified) if three_legged_oauth_credential is not None: - pulumi.set(__self__, "three_legged_oauth_credential", three_legged_oauth_credential) + _setter("three_legged_oauth_credential", three_legged_oauth_credential) if three_legged_oauth_provider_name is not None: - pulumi.set(__self__, "three_legged_oauth_provider_name", three_legged_oauth_provider_name) + _setter("three_legged_oauth_provider_name", three_legged_oauth_provider_name) @property @pulumi.getter(name="accountFormVisible") @@ -10689,19 +11654,42 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "icf_type", icf_type) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "required", required) + DomainsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppBundleConfigurationProperty._configure( + lambda key, value: pulumi.set(__self__, key, value), + icf_type=icf_type, + name=name, + required=required, + confidential=confidential, + display_name=display_name, + help_message=help_message, + order=order, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + icf_type: str, + name: str, + required: bool, + confidential: Optional[bool] = None, + display_name: Optional[str] = None, + help_message: Optional[str] = None, + order: Optional[int] = None, + values: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("icf_type", icf_type) + _setter("name", name) + _setter("required", required) if confidential is not None: - pulumi.set(__self__, "confidential", confidential) + _setter("confidential", confidential) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if help_message is not None: - pulumi.set(__self__, "help_message", help_message) + _setter("help_message", help_message) if order is not None: - pulumi.set(__self__, "order", order) + _setter("order", order) if values is not None: - pulumi.set(__self__, "values", values) + _setter("values", values) @property @pulumi.getter(name="icfType") @@ -10942,16 +11930,33 @@ def __init__(__self__, *, * type: integer * uniqueness: none """ + DomainsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppBundlePoolConfiguration._configure( + lambda key, value: pulumi.set(__self__, key, value), + max_idle=max_idle, + max_objects=max_objects, + max_wait=max_wait, + min_evictable_idle_time_millis=min_evictable_idle_time_millis, + min_idle=min_idle, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max_idle: Optional[int] = None, + max_objects: Optional[int] = None, + max_wait: Optional[int] = None, + min_evictable_idle_time_millis: Optional[int] = None, + min_idle: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if max_idle is not None: - pulumi.set(__self__, "max_idle", max_idle) + _setter("max_idle", max_idle) if max_objects is not None: - pulumi.set(__self__, "max_objects", max_objects) + _setter("max_objects", max_objects) if max_wait is not None: - pulumi.set(__self__, "max_wait", max_wait) + _setter("max_wait", max_wait) if min_evictable_idle_time_millis is not None: - pulumi.set(__self__, "min_evictable_idle_time_millis", min_evictable_idle_time_millis) + _setter("min_evictable_idle_time_millis", min_evictable_idle_time_millis) if min_idle is not None: - pulumi.set(__self__, "min_idle", min_idle) + _setter("min_idle", min_idle) @property @pulumi.getter(name="maxIdle") @@ -11132,14 +12137,31 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + DomainsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppConnectorBundle._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + display=display, + ref=ref, + well_known_id=well_known_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + value: str, + display: Optional[str] = None, + ref: Optional[str] = None, + well_known_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if well_known_id is not None: - pulumi.set(__self__, "well_known_id", well_known_id) + _setter("well_known_id", well_known_id) @property @pulumi.getter @@ -11364,19 +12386,42 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "icf_type", icf_type) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "required", required) + DomainsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppFlatFileBundleConfigurationProperty._configure( + lambda key, value: pulumi.set(__self__, key, value), + icf_type=icf_type, + name=name, + required=required, + confidential=confidential, + display_name=display_name, + help_message=help_message, + order=order, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + icf_type: str, + name: str, + required: bool, + confidential: Optional[bool] = None, + display_name: Optional[str] = None, + help_message: Optional[str] = None, + order: Optional[int] = None, + values: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("icf_type", icf_type) + _setter("name", name) + _setter("required", required) if confidential is not None: - pulumi.set(__self__, "confidential", confidential) + _setter("confidential", confidential) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if help_message is not None: - pulumi.set(__self__, "help_message", help_message) + _setter("help_message", help_message) if order is not None: - pulumi.set(__self__, "order", order) + _setter("order", order) if values is not None: - pulumi.set(__self__, "values", values) + _setter("values", values) @property @pulumi.getter(name="icfType") @@ -11600,13 +12645,28 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppFlatFileConnectorBundle._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ref=ref, + well_known_id=well_known_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ref: Optional[str] = None, + well_known_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if well_known_id is not None: - pulumi.set(__self__, "well_known_id", well_known_id) + _setter("well_known_id", well_known_id) @property @pulumi.getter @@ -11730,12 +12790,25 @@ def __init__(__self__, *, ** 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 """ + DomainsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppIdentityBridge._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[str] = None, + ref: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -11895,16 +12968,35 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + DomainsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppObjectClass._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + display=display, + is_account_object_class=is_account_object_class, + ref=ref, + resource_type=resource_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + value: str, + display: Optional[str] = None, + is_account_object_class: Optional[bool] = None, + ref: Optional[str] = None, + resource_type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if is_account_object_class is not None: - pulumi.set(__self__, "is_account_object_class", is_account_object_class) + _setter("is_account_object_class", is_account_object_class) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) @property @pulumi.getter @@ -12081,12 +13173,25 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppThreeLeggedOauthCredential._configure( + lambda key, value: pulumi.set(__self__, key, value), + access_token=access_token, + access_token_expiry=access_token_expiry, + refresh_token=refresh_token, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access_token: Optional[str] = None, + access_token_expiry: Optional[str] = None, + refresh_token: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if access_token is not None: - pulumi.set(__self__, "access_token", access_token) + _setter("access_token", access_token) if access_token_expiry is not None: - pulumi.set(__self__, "access_token_expiry", access_token_expiry) + _setter("access_token_expiry", access_token_expiry) if refresh_token is not None: - pulumi.set(__self__, "refresh_token", refresh_token) + _setter("refresh_token", refresh_token) @property @pulumi.getter(name="accessToken") @@ -12196,9 +13301,20 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "multicloud_service_type", multicloud_service_type) + DomainsAppUrnietfparamsscimschemasoracleidcsextensionmulticloudServiceAppApp._configure( + lambda key, value: pulumi.set(__self__, key, value), + multicloud_service_type=multicloud_service_type, + multicloud_platform_url=multicloud_platform_url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + multicloud_service_type: str, + multicloud_platform_url: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("multicloud_service_type", multicloud_service_type) if multicloud_platform_url is not None: - pulumi.set(__self__, "multicloud_platform_url", multicloud_platform_url) + _setter("multicloud_platform_url", multicloud_platform_url) @property @pulumi.getter(name="multicloudServiceType") @@ -12362,20 +13478,41 @@ def __init__(__self__, *, * type: string * uniqueness: server """ + DomainsAppUrnietfparamsscimschemasoracleidcsextensionopcServiceApp._configure( + lambda key, value: pulumi.set(__self__, key, value), + current_federation_mode=current_federation_mode, + current_synchronization_mode=current_synchronization_mode, + enabling_next_fed_sync_modes=enabling_next_fed_sync_modes, + next_federation_mode=next_federation_mode, + next_synchronization_mode=next_synchronization_mode, + region=region, + service_instance_identifier=service_instance_identifier, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + current_federation_mode: Optional[str] = None, + current_synchronization_mode: Optional[str] = None, + enabling_next_fed_sync_modes: Optional[bool] = None, + next_federation_mode: Optional[str] = None, + next_synchronization_mode: Optional[str] = None, + region: Optional[str] = None, + service_instance_identifier: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if current_federation_mode is not None: - pulumi.set(__self__, "current_federation_mode", current_federation_mode) + _setter("current_federation_mode", current_federation_mode) if current_synchronization_mode is not None: - pulumi.set(__self__, "current_synchronization_mode", current_synchronization_mode) + _setter("current_synchronization_mode", current_synchronization_mode) if enabling_next_fed_sync_modes is not None: - pulumi.set(__self__, "enabling_next_fed_sync_modes", enabling_next_fed_sync_modes) + _setter("enabling_next_fed_sync_modes", enabling_next_fed_sync_modes) if next_federation_mode is not None: - pulumi.set(__self__, "next_federation_mode", next_federation_mode) + _setter("next_federation_mode", next_federation_mode) if next_synchronization_mode is not None: - pulumi.set(__self__, "next_synchronization_mode", next_synchronization_mode) + _setter("next_synchronization_mode", next_synchronization_mode) if region is not None: - pulumi.set(__self__, "region", region) + _setter("region", region) if service_instance_identifier is not None: - pulumi.set(__self__, "service_instance_identifier", service_instance_identifier) + _setter("service_instance_identifier", service_instance_identifier) @property @pulumi.getter(name="currentFederationMode") @@ -12752,32 +13889,69 @@ def __init__(__self__, *, * returned: default * type: string """ - pulumi.set(__self__, "client_ip", client_ip) - pulumi.set(__self__, "include_group_in_response", include_group_in_response) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "secret_key", secret_key) + DomainsAppUrnietfparamsscimschemasoracleidcsextensionradiusAppApp._configure( + lambda key, value: pulumi.set(__self__, key, value), + client_ip=client_ip, + include_group_in_response=include_group_in_response, + port=port, + secret_key=secret_key, + capture_client_ip=capture_client_ip, + country_code_response_attribute_id=country_code_response_attribute_id, + end_user_ip_attribute=end_user_ip_attribute, + group_membership_radius_attribute=group_membership_radius_attribute, + group_membership_to_returns=group_membership_to_returns, + group_name_format=group_name_format, + password_and_otp_together=password_and_otp_together, + radius_vendor_specific_id=radius_vendor_specific_id, + response_format=response_format, + response_format_delimiter=response_format_delimiter, + type_of_radius_app=type_of_radius_app, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + client_ip: str, + include_group_in_response: bool, + port: str, + secret_key: str, + capture_client_ip: Optional[bool] = None, + country_code_response_attribute_id: Optional[str] = None, + end_user_ip_attribute: Optional[str] = None, + group_membership_radius_attribute: Optional[str] = None, + group_membership_to_returns: Optional[Sequence['outputs.DomainsAppUrnietfparamsscimschemasoracleidcsextensionradiusAppAppGroupMembershipToReturn']] = None, + group_name_format: Optional[str] = None, + password_and_otp_together: Optional[bool] = None, + radius_vendor_specific_id: Optional[str] = None, + response_format: Optional[str] = None, + response_format_delimiter: Optional[str] = None, + type_of_radius_app: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("client_ip", client_ip) + _setter("include_group_in_response", include_group_in_response) + _setter("port", port) + _setter("secret_key", secret_key) if capture_client_ip is not None: - pulumi.set(__self__, "capture_client_ip", capture_client_ip) + _setter("capture_client_ip", capture_client_ip) if country_code_response_attribute_id is not None: - pulumi.set(__self__, "country_code_response_attribute_id", country_code_response_attribute_id) + _setter("country_code_response_attribute_id", country_code_response_attribute_id) if end_user_ip_attribute is not None: - pulumi.set(__self__, "end_user_ip_attribute", end_user_ip_attribute) + _setter("end_user_ip_attribute", end_user_ip_attribute) if group_membership_radius_attribute is not None: - pulumi.set(__self__, "group_membership_radius_attribute", group_membership_radius_attribute) + _setter("group_membership_radius_attribute", group_membership_radius_attribute) if group_membership_to_returns is not None: - pulumi.set(__self__, "group_membership_to_returns", group_membership_to_returns) + _setter("group_membership_to_returns", group_membership_to_returns) if group_name_format is not None: - pulumi.set(__self__, "group_name_format", group_name_format) + _setter("group_name_format", group_name_format) if password_and_otp_together is not None: - pulumi.set(__self__, "password_and_otp_together", password_and_otp_together) + _setter("password_and_otp_together", password_and_otp_together) if radius_vendor_specific_id is not None: - pulumi.set(__self__, "radius_vendor_specific_id", radius_vendor_specific_id) + _setter("radius_vendor_specific_id", radius_vendor_specific_id) if response_format is not None: - pulumi.set(__self__, "response_format", response_format) + _setter("response_format", response_format) if response_format_delimiter is not None: - pulumi.set(__self__, "response_format_delimiter", response_format_delimiter) + _setter("response_format_delimiter", response_format_delimiter) if type_of_radius_app is not None: - pulumi.set(__self__, "type_of_radius_app", type_of_radius_app) + _setter("type_of_radius_app", type_of_radius_app) @property @pulumi.getter(name="clientIp") @@ -13106,11 +14280,24 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAppUrnietfparamsscimschemasoracleidcsextensionradiusAppAppGroupMembershipToReturn._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ref: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -13187,8 +14374,17 @@ def __init__(__self__, *, * type: boolean * uniqueness: none """ + DomainsAppUrnietfparamsscimschemasoracleidcsextensionrequestableApp._configure( + lambda key, value: pulumi.set(__self__, key, value), + requestable=requestable, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + requestable: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): if requestable is not None: - pulumi.set(__self__, "requestable", requestable) + _setter("requestable", requestable) @property @pulumi.getter @@ -13627,60 +14823,121 @@ def __init__(__self__, *, * type: complex * uniqueness: none """ + DomainsAppUrnietfparamsscimschemasoracleidcsextensionsamlServiceProviderApp._configure( + lambda key, value: pulumi.set(__self__, key, value), + assertion_consumer_url=assertion_consumer_url, + encrypt_assertion=encrypt_assertion, + encryption_algorithm=encryption_algorithm, + encryption_certificate=encryption_certificate, + federation_protocol=federation_protocol, + group_assertion_attributes=group_assertion_attributes, + hok_acs_url=hok_acs_url, + hok_required=hok_required, + include_signing_cert_in_signature=include_signing_cert_in_signature, + key_encryption_algorithm=key_encryption_algorithm, + last_notification_sent_time=last_notification_sent_time, + logout_binding=logout_binding, + logout_enabled=logout_enabled, + logout_request_url=logout_request_url, + logout_response_url=logout_response_url, + metadata=metadata, + name_id_format=name_id_format, + name_id_userstore_attribute=name_id_userstore_attribute, + outbound_assertion_attributes=outbound_assertion_attributes, + partner_provider_id=partner_provider_id, + partner_provider_pattern=partner_provider_pattern, + sign_response_or_assertion=sign_response_or_assertion, + signature_hash_algorithm=signature_hash_algorithm, + signing_certificate=signing_certificate, + succinct_id=succinct_id, + tenant_provider_id=tenant_provider_id, + user_assertion_attributes=user_assertion_attributes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + assertion_consumer_url: Optional[str] = None, + encrypt_assertion: Optional[bool] = None, + encryption_algorithm: Optional[str] = None, + encryption_certificate: Optional[str] = None, + federation_protocol: Optional[str] = None, + group_assertion_attributes: Optional[Sequence['outputs.DomainsAppUrnietfparamsscimschemasoracleidcsextensionsamlServiceProviderAppGroupAssertionAttribute']] = None, + hok_acs_url: Optional[str] = None, + hok_required: Optional[bool] = None, + include_signing_cert_in_signature: Optional[bool] = None, + key_encryption_algorithm: Optional[str] = None, + last_notification_sent_time: Optional[str] = None, + logout_binding: Optional[str] = None, + logout_enabled: Optional[bool] = None, + logout_request_url: Optional[str] = None, + logout_response_url: Optional[str] = None, + metadata: Optional[str] = None, + name_id_format: Optional[str] = None, + name_id_userstore_attribute: Optional[str] = None, + outbound_assertion_attributes: Optional[Sequence['outputs.DomainsAppUrnietfparamsscimschemasoracleidcsextensionsamlServiceProviderAppOutboundAssertionAttribute']] = None, + partner_provider_id: Optional[str] = None, + partner_provider_pattern: Optional[str] = None, + sign_response_or_assertion: Optional[str] = None, + signature_hash_algorithm: Optional[str] = None, + signing_certificate: Optional[str] = None, + succinct_id: Optional[str] = None, + tenant_provider_id: Optional[str] = None, + user_assertion_attributes: Optional[Sequence['outputs.DomainsAppUrnietfparamsscimschemasoracleidcsextensionsamlServiceProviderAppUserAssertionAttribute']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if assertion_consumer_url is not None: - pulumi.set(__self__, "assertion_consumer_url", assertion_consumer_url) + _setter("assertion_consumer_url", assertion_consumer_url) if encrypt_assertion is not None: - pulumi.set(__self__, "encrypt_assertion", encrypt_assertion) + _setter("encrypt_assertion", encrypt_assertion) if encryption_algorithm is not None: - pulumi.set(__self__, "encryption_algorithm", encryption_algorithm) + _setter("encryption_algorithm", encryption_algorithm) if encryption_certificate is not None: - pulumi.set(__self__, "encryption_certificate", encryption_certificate) + _setter("encryption_certificate", encryption_certificate) if federation_protocol is not None: - pulumi.set(__self__, "federation_protocol", federation_protocol) + _setter("federation_protocol", federation_protocol) if group_assertion_attributes is not None: - pulumi.set(__self__, "group_assertion_attributes", group_assertion_attributes) + _setter("group_assertion_attributes", group_assertion_attributes) if hok_acs_url is not None: - pulumi.set(__self__, "hok_acs_url", hok_acs_url) + _setter("hok_acs_url", hok_acs_url) if hok_required is not None: - pulumi.set(__self__, "hok_required", hok_required) + _setter("hok_required", hok_required) if include_signing_cert_in_signature is not None: - pulumi.set(__self__, "include_signing_cert_in_signature", include_signing_cert_in_signature) + _setter("include_signing_cert_in_signature", include_signing_cert_in_signature) if key_encryption_algorithm is not None: - pulumi.set(__self__, "key_encryption_algorithm", key_encryption_algorithm) + _setter("key_encryption_algorithm", key_encryption_algorithm) if last_notification_sent_time is not None: - pulumi.set(__self__, "last_notification_sent_time", last_notification_sent_time) + _setter("last_notification_sent_time", last_notification_sent_time) if logout_binding is not None: - pulumi.set(__self__, "logout_binding", logout_binding) + _setter("logout_binding", logout_binding) if logout_enabled is not None: - pulumi.set(__self__, "logout_enabled", logout_enabled) + _setter("logout_enabled", logout_enabled) if logout_request_url is not None: - pulumi.set(__self__, "logout_request_url", logout_request_url) + _setter("logout_request_url", logout_request_url) if logout_response_url is not None: - pulumi.set(__self__, "logout_response_url", logout_response_url) + _setter("logout_response_url", logout_response_url) if metadata is not None: - pulumi.set(__self__, "metadata", metadata) + _setter("metadata", metadata) if name_id_format is not None: - pulumi.set(__self__, "name_id_format", name_id_format) + _setter("name_id_format", name_id_format) if name_id_userstore_attribute is not None: - pulumi.set(__self__, "name_id_userstore_attribute", name_id_userstore_attribute) + _setter("name_id_userstore_attribute", name_id_userstore_attribute) if outbound_assertion_attributes is not None: - pulumi.set(__self__, "outbound_assertion_attributes", outbound_assertion_attributes) + _setter("outbound_assertion_attributes", outbound_assertion_attributes) if partner_provider_id is not None: - pulumi.set(__self__, "partner_provider_id", partner_provider_id) + _setter("partner_provider_id", partner_provider_id) if partner_provider_pattern is not None: - pulumi.set(__self__, "partner_provider_pattern", partner_provider_pattern) + _setter("partner_provider_pattern", partner_provider_pattern) if sign_response_or_assertion is not None: - pulumi.set(__self__, "sign_response_or_assertion", sign_response_or_assertion) + _setter("sign_response_or_assertion", sign_response_or_assertion) if signature_hash_algorithm is not None: - pulumi.set(__self__, "signature_hash_algorithm", signature_hash_algorithm) + _setter("signature_hash_algorithm", signature_hash_algorithm) if signing_certificate is not None: - pulumi.set(__self__, "signing_certificate", signing_certificate) + _setter("signing_certificate", signing_certificate) if succinct_id is not None: - pulumi.set(__self__, "succinct_id", succinct_id) + _setter("succinct_id", succinct_id) if tenant_provider_id is not None: - pulumi.set(__self__, "tenant_provider_id", tenant_provider_id) + _setter("tenant_provider_id", tenant_provider_id) if user_assertion_attributes is not None: - pulumi.set(__self__, "user_assertion_attributes", user_assertion_attributes) + _setter("user_assertion_attributes", user_assertion_attributes) @property @pulumi.getter(name="assertionConsumerUrl") @@ -14271,13 +15528,28 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "name", name) + DomainsAppUrnietfparamsscimschemasoracleidcsextensionsamlServiceProviderAppGroupAssertionAttribute._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + condition=condition, + format=format, + group_name=group_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + condition: Optional[str] = None, + format: Optional[str] = None, + group_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) if condition is not None: - pulumi.set(__self__, "condition", condition) + _setter("condition", condition) if format is not None: - pulumi.set(__self__, "format", format) + _setter("format", format) if group_name is not None: - pulumi.set(__self__, "group_name", group_name) + _setter("group_name", group_name) @property @pulumi.getter @@ -14408,11 +15680,24 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAppUrnietfparamsscimschemasoracleidcsextensionsamlServiceProviderAppOutboundAssertionAttribute._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + direction=direction, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + direction: Optional[str] = None, + ref: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if direction is not None: - pulumi.set(__self__, "direction", direction) + _setter("direction", direction) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -14539,10 +15824,23 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "user_store_attribute_name", user_store_attribute_name) + DomainsAppUrnietfparamsscimschemasoracleidcsextensionsamlServiceProviderAppUserAssertionAttribute._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + user_store_attribute_name=user_store_attribute_name, + format=format, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + user_store_attribute_name: str, + format: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("user_store_attribute_name", user_store_attribute_name) if format is not None: - pulumi.set(__self__, "format", format) + _setter("format", format) @property @pulumi.getter @@ -14671,12 +15969,25 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsAppUrnietfparamsscimschemasoracleidcsextensionwebTierPolicyApp._configure( + lambda key, value: pulumi.set(__self__, key, value), + resource_ref=resource_ref, + web_tier_policy_az_control=web_tier_policy_az_control, + web_tier_policy_json=web_tier_policy_json, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + resource_ref: Optional[bool] = None, + web_tier_policy_az_control: Optional[str] = None, + web_tier_policy_json: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if resource_ref is not None: - pulumi.set(__self__, "resource_ref", resource_ref) + _setter("resource_ref", resource_ref) if web_tier_policy_az_control is not None: - pulumi.set(__self__, "web_tier_policy_az_control", web_tier_policy_az_control) + _setter("web_tier_policy_az_control", web_tier_policy_az_control) if web_tier_policy_json is not None: - pulumi.set(__self__, "web_tier_policy_json", web_tier_policy_json) + _setter("web_tier_policy_json", web_tier_policy_json) @property @pulumi.getter(name="resourceRef") @@ -14787,13 +16098,28 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAppUserRole._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + description=description, + display=display, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + description: Optional[str] = None, + display: Optional[str] = None, + ref: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -14937,15 +16263,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAuthTokenIdcsCreatedBy._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -15111,15 +16454,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAuthTokenIdcsLastModifiedBy._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -15300,16 +16660,33 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsAuthTokenMeta._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: Optional[str] = None, + last_modified: Optional[str] = None, + location: Optional[str] = None, + resource_type: Optional[str] = None, + version: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if created is not None: - pulumi.set(__self__, "created", created) + _setter("created", created) if last_modified is not None: - pulumi.set(__self__, "last_modified", last_modified) + _setter("last_modified", last_modified) if location is not None: - pulumi.set(__self__, "location", location) + _setter("location", location) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter @@ -15435,8 +16812,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsAuthTokenTag._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -15514,8 +16902,17 @@ def __init__(__self__, *, * type: boolean * uniqueness: none """ + DomainsAuthTokenUrnietfparamsscimschemasoracleidcsextensionselfChangeUser._configure( + lambda key, value: pulumi.set(__self__, key, value), + allow_self_change=allow_self_change, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allow_self_change: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): if allow_self_change is not None: - pulumi.set(__self__, "allow_self_change", allow_self_change) + _setter("allow_self_change", allow_self_change) @property @pulumi.getter(name="allowSelfChange") @@ -15606,16 +17003,33 @@ def __init__(__self__, *, ** 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 """ + DomainsAuthTokenUser._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + name=name, + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: Optional[str] = None, + name: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -15816,12 +17230,31 @@ def __init__(__self__, *, * type: boolean * uniqueness: none """ - pulumi.set(__self__, "help_desk_code_expiry_in_mins", help_desk_code_expiry_in_mins) - pulumi.set(__self__, "help_desk_generation_enabled", help_desk_generation_enabled) - pulumi.set(__self__, "help_desk_max_usage", help_desk_max_usage) - pulumi.set(__self__, "length", length) - pulumi.set(__self__, "max_active", max_active) - pulumi.set(__self__, "self_service_generation_enabled", self_service_generation_enabled) + DomainsAuthenticationFactorSettingBypassCodeSettings._configure( + lambda key, value: pulumi.set(__self__, key, value), + help_desk_code_expiry_in_mins=help_desk_code_expiry_in_mins, + help_desk_generation_enabled=help_desk_generation_enabled, + help_desk_max_usage=help_desk_max_usage, + length=length, + max_active=max_active, + self_service_generation_enabled=self_service_generation_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + help_desk_code_expiry_in_mins: int, + help_desk_generation_enabled: bool, + help_desk_max_usage: int, + length: int, + max_active: int, + self_service_generation_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("help_desk_code_expiry_in_mins", help_desk_code_expiry_in_mins) + _setter("help_desk_generation_enabled", help_desk_generation_enabled) + _setter("help_desk_max_usage", help_desk_max_usage) + _setter("length", length) + _setter("max_active", max_active) + _setter("self_service_generation_enabled", self_service_generation_enabled) @property @pulumi.getter(name="helpDeskCodeExpiryInMins") @@ -16169,21 +17602,58 @@ def __init__(__self__, *, * type: boolean * uniqueness: none """ - pulumi.set(__self__, "device_protection_policy", device_protection_policy) - pulumi.set(__self__, "initial_lockout_period_in_secs", initial_lockout_period_in_secs) - pulumi.set(__self__, "key_pair_length", key_pair_length) - pulumi.set(__self__, "lockout_escalation_pattern", lockout_escalation_pattern) - pulumi.set(__self__, "max_failures_before_lockout", max_failures_before_lockout) - pulumi.set(__self__, "max_failures_before_warning", max_failures_before_warning) - pulumi.set(__self__, "max_lockout_interval_in_secs", max_lockout_interval_in_secs) - pulumi.set(__self__, "min_pin_length", min_pin_length) - pulumi.set(__self__, "policy_update_freq_in_days", policy_update_freq_in_days) - pulumi.set(__self__, "request_signing_algo", request_signing_algo) - pulumi.set(__self__, "shared_secret_encoding", shared_secret_encoding) - pulumi.set(__self__, "unlock_app_for_each_request_enabled", unlock_app_for_each_request_enabled) - pulumi.set(__self__, "unlock_app_interval_in_secs", unlock_app_interval_in_secs) - pulumi.set(__self__, "unlock_on_app_foreground_enabled", unlock_on_app_foreground_enabled) - pulumi.set(__self__, "unlock_on_app_start_enabled", unlock_on_app_start_enabled) + DomainsAuthenticationFactorSettingClientAppSettings._configure( + lambda key, value: pulumi.set(__self__, key, value), + device_protection_policy=device_protection_policy, + initial_lockout_period_in_secs=initial_lockout_period_in_secs, + key_pair_length=key_pair_length, + lockout_escalation_pattern=lockout_escalation_pattern, + max_failures_before_lockout=max_failures_before_lockout, + max_failures_before_warning=max_failures_before_warning, + max_lockout_interval_in_secs=max_lockout_interval_in_secs, + min_pin_length=min_pin_length, + policy_update_freq_in_days=policy_update_freq_in_days, + request_signing_algo=request_signing_algo, + shared_secret_encoding=shared_secret_encoding, + unlock_app_for_each_request_enabled=unlock_app_for_each_request_enabled, + unlock_app_interval_in_secs=unlock_app_interval_in_secs, + unlock_on_app_foreground_enabled=unlock_on_app_foreground_enabled, + unlock_on_app_start_enabled=unlock_on_app_start_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + device_protection_policy: str, + initial_lockout_period_in_secs: int, + key_pair_length: int, + lockout_escalation_pattern: str, + max_failures_before_lockout: int, + max_failures_before_warning: int, + max_lockout_interval_in_secs: int, + min_pin_length: int, + policy_update_freq_in_days: int, + request_signing_algo: str, + shared_secret_encoding: str, + unlock_app_for_each_request_enabled: bool, + unlock_app_interval_in_secs: int, + unlock_on_app_foreground_enabled: bool, + unlock_on_app_start_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("device_protection_policy", device_protection_policy) + _setter("initial_lockout_period_in_secs", initial_lockout_period_in_secs) + _setter("key_pair_length", key_pair_length) + _setter("lockout_escalation_pattern", lockout_escalation_pattern) + _setter("max_failures_before_lockout", max_failures_before_lockout) + _setter("max_failures_before_warning", max_failures_before_warning) + _setter("max_lockout_interval_in_secs", max_lockout_interval_in_secs) + _setter("min_pin_length", min_pin_length) + _setter("policy_update_freq_in_days", policy_update_freq_in_days) + _setter("request_signing_algo", request_signing_algo) + _setter("shared_secret_encoding", shared_secret_encoding) + _setter("unlock_app_for_each_request_enabled", unlock_app_for_each_request_enabled) + _setter("unlock_app_interval_in_secs", unlock_app_interval_in_secs) + _setter("unlock_on_app_foreground_enabled", unlock_on_app_foreground_enabled) + _setter("unlock_on_app_start_enabled", unlock_on_app_start_enabled) @property @pulumi.getter(name="deviceProtectionPolicy") @@ -16500,9 +17970,22 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + DomainsAuthenticationFactorSettingCompliancePolicy._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: str, + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("name", name) + _setter("value", value) @property @pulumi.getter @@ -16607,9 +18090,20 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "email_link_enabled", email_link_enabled) + DomainsAuthenticationFactorSettingEmailSettings._configure( + lambda key, value: pulumi.set(__self__, key, value), + email_link_enabled=email_link_enabled, + email_link_custom_url=email_link_custom_url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + email_link_enabled: bool, + email_link_custom_url: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("email_link_enabled", email_link_enabled) if email_link_custom_url is not None: - pulumi.set(__self__, "email_link_custom_url", email_link_custom_url) + _setter("email_link_custom_url", email_link_custom_url) @property @pulumi.getter(name="emailLinkEnabled") @@ -16743,11 +18237,28 @@ def __init__(__self__, *, * type: boolean * uniqueness: none """ - pulumi.set(__self__, "max_endpoint_trust_duration_in_days", max_endpoint_trust_duration_in_days) - pulumi.set(__self__, "max_enrolled_devices", max_enrolled_devices) - pulumi.set(__self__, "max_incorrect_attempts", max_incorrect_attempts) - pulumi.set(__self__, "max_trusted_endpoints", max_trusted_endpoints) - pulumi.set(__self__, "trusted_endpoints_enabled", trusted_endpoints_enabled) + DomainsAuthenticationFactorSettingEndpointRestrictions._configure( + lambda key, value: pulumi.set(__self__, key, value), + max_endpoint_trust_duration_in_days=max_endpoint_trust_duration_in_days, + max_enrolled_devices=max_enrolled_devices, + max_incorrect_attempts=max_incorrect_attempts, + max_trusted_endpoints=max_trusted_endpoints, + trusted_endpoints_enabled=trusted_endpoints_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max_endpoint_trust_duration_in_days: int, + max_enrolled_devices: int, + max_incorrect_attempts: int, + max_trusted_endpoints: int, + trusted_endpoints_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max_endpoint_trust_duration_in_days", max_endpoint_trust_duration_in_days) + _setter("max_enrolled_devices", max_enrolled_devices) + _setter("max_incorrect_attempts", max_incorrect_attempts) + _setter("max_trusted_endpoints", max_trusted_endpoints) + _setter("trusted_endpoints_enabled", trusted_endpoints_enabled) @property @pulumi.getter(name="maxEndpointTrustDurationInDays") @@ -16908,15 +18419,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAuthenticationFactorSettingIdcsCreatedBy._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -17074,15 +18602,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsAuthenticationFactorSettingIdcsLastModifiedBy._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -17221,10 +18766,21 @@ def __init__(__self__, *, * type: boolean * uniqueness: none """ + DomainsAuthenticationFactorSettingIdentityStoreSettings._configure( + lambda key, value: pulumi.set(__self__, key, value), + mobile_number_enabled=mobile_number_enabled, + mobile_number_update_enabled=mobile_number_update_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + mobile_number_enabled: Optional[bool] = None, + mobile_number_update_enabled: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): if mobile_number_enabled is not None: - pulumi.set(__self__, "mobile_number_enabled", mobile_number_enabled) + _setter("mobile_number_enabled", mobile_number_enabled) if mobile_number_update_enabled is not None: - pulumi.set(__self__, "mobile_number_update_enabled", mobile_number_update_enabled) + _setter("mobile_number_update_enabled", mobile_number_update_enabled) @property @pulumi.getter(name="mobileNumberEnabled") @@ -17345,16 +18901,33 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsAuthenticationFactorSettingMeta._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: Optional[str] = None, + last_modified: Optional[str] = None, + location: Optional[str] = None, + resource_type: Optional[str] = None, + version: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if created is not None: - pulumi.set(__self__, "created", created) + _setter("created", created) if last_modified is not None: - pulumi.set(__self__, "last_modified", last_modified) + _setter("last_modified", last_modified) if location is not None: - pulumi.set(__self__, "location", location) + _setter("location", location) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter @@ -17482,7 +19055,16 @@ def __init__(__self__, *, * type: boolean * uniqueness: none """ - pulumi.set(__self__, "pull_enabled", pull_enabled) + DomainsAuthenticationFactorSettingNotificationSettings._configure( + lambda key, value: pulumi.set(__self__, key, value), + pull_enabled=pull_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + pull_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("pull_enabled", pull_enabled) @property @pulumi.getter(name="pullEnabled") @@ -17533,8 +19115,19 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsAuthenticationFactorSettingTag._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -17608,7 +19201,16 @@ def __init__(__self__, *, * type: boolean * uniqueness: none """ - pulumi.set(__self__, "duo_security", duo_security) + DomainsAuthenticationFactorSettingThirdPartyFactor._configure( + lambda key, value: pulumi.set(__self__, key, value), + duo_security=duo_security, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + duo_security: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("duo_security", duo_security) @property @pulumi.getter(name="duoSecurity") @@ -17802,16 +19404,43 @@ def __init__(__self__, *, * type: integer * uniqueness: none """ - pulumi.set(__self__, "email_otp_validity_duration_in_mins", email_otp_validity_duration_in_mins) - pulumi.set(__self__, "email_passcode_length", email_passcode_length) - pulumi.set(__self__, "hashing_algorithm", hashing_algorithm) - pulumi.set(__self__, "jwt_validity_duration_in_secs", jwt_validity_duration_in_secs) - pulumi.set(__self__, "key_refresh_interval_in_days", key_refresh_interval_in_days) - pulumi.set(__self__, "passcode_length", passcode_length) - pulumi.set(__self__, "sms_otp_validity_duration_in_mins", sms_otp_validity_duration_in_mins) - pulumi.set(__self__, "sms_passcode_length", sms_passcode_length) - pulumi.set(__self__, "time_step_in_secs", time_step_in_secs) - pulumi.set(__self__, "time_step_tolerance", time_step_tolerance) + DomainsAuthenticationFactorSettingTotpSettings._configure( + lambda key, value: pulumi.set(__self__, key, value), + email_otp_validity_duration_in_mins=email_otp_validity_duration_in_mins, + email_passcode_length=email_passcode_length, + hashing_algorithm=hashing_algorithm, + jwt_validity_duration_in_secs=jwt_validity_duration_in_secs, + key_refresh_interval_in_days=key_refresh_interval_in_days, + passcode_length=passcode_length, + sms_otp_validity_duration_in_mins=sms_otp_validity_duration_in_mins, + sms_passcode_length=sms_passcode_length, + time_step_in_secs=time_step_in_secs, + time_step_tolerance=time_step_tolerance, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + email_otp_validity_duration_in_mins: int, + email_passcode_length: int, + hashing_algorithm: str, + jwt_validity_duration_in_secs: int, + key_refresh_interval_in_days: int, + passcode_length: int, + sms_otp_validity_duration_in_mins: int, + sms_passcode_length: int, + time_step_in_secs: int, + time_step_tolerance: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("email_otp_validity_duration_in_mins", email_otp_validity_duration_in_mins) + _setter("email_passcode_length", email_passcode_length) + _setter("hashing_algorithm", hashing_algorithm) + _setter("jwt_validity_duration_in_secs", jwt_validity_duration_in_secs) + _setter("key_refresh_interval_in_days", key_refresh_interval_in_days) + _setter("passcode_length", passcode_length) + _setter("sms_otp_validity_duration_in_mins", sms_otp_validity_duration_in_mins) + _setter("sms_passcode_length", sms_passcode_length) + _setter("time_step_in_secs", time_step_in_secs) + _setter("time_step_tolerance", time_step_tolerance) @property @pulumi.getter(name="emailOtpValidityDurationInMins") @@ -18161,16 +19790,41 @@ def __init__(__self__, *, * type: integer * uniqueness: none """ - pulumi.set(__self__, "attestation", attestation) - pulumi.set(__self__, "authenticator_selection_attachment", authenticator_selection_attachment) - pulumi.set(__self__, "authenticator_selection_require_resident_key", authenticator_selection_require_resident_key) - pulumi.set(__self__, "authenticator_selection_resident_key", authenticator_selection_resident_key) - pulumi.set(__self__, "authenticator_selection_user_verification", authenticator_selection_user_verification) - pulumi.set(__self__, "exclude_credentials", exclude_credentials) - pulumi.set(__self__, "public_key_types", public_key_types) - pulumi.set(__self__, "timeout", timeout) + DomainsAuthenticationFactorSettingUrnietfparamsscimschemasoracleidcsextensionfidoAuthenticationFactorSettings._configure( + lambda key, value: pulumi.set(__self__, key, value), + attestation=attestation, + authenticator_selection_attachment=authenticator_selection_attachment, + authenticator_selection_require_resident_key=authenticator_selection_require_resident_key, + authenticator_selection_resident_key=authenticator_selection_resident_key, + authenticator_selection_user_verification=authenticator_selection_user_verification, + exclude_credentials=exclude_credentials, + public_key_types=public_key_types, + timeout=timeout, + domain_validation_level=domain_validation_level, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attestation: str, + authenticator_selection_attachment: str, + authenticator_selection_require_resident_key: bool, + authenticator_selection_resident_key: str, + authenticator_selection_user_verification: str, + exclude_credentials: bool, + public_key_types: Sequence[str], + timeout: int, + domain_validation_level: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("attestation", attestation) + _setter("authenticator_selection_attachment", authenticator_selection_attachment) + _setter("authenticator_selection_require_resident_key", authenticator_selection_require_resident_key) + _setter("authenticator_selection_resident_key", authenticator_selection_resident_key) + _setter("authenticator_selection_user_verification", authenticator_selection_user_verification) + _setter("exclude_credentials", exclude_credentials) + _setter("public_key_types", public_key_types) + _setter("timeout", timeout) if domain_validation_level is not None: - pulumi.set(__self__, "domain_validation_level", domain_validation_level) + _setter("domain_validation_level", domain_validation_level) @property @pulumi.getter @@ -18383,8 +20037,17 @@ def __init__(__self__, *, * type: complex * uniqueness: none """ + DomainsAuthenticationFactorSettingUrnietfparamsscimschemasoracleidcsextensionthirdPartyAuthenticationFactorSettings._configure( + lambda key, value: pulumi.set(__self__, key, value), + duo_security_settings=duo_security_settings, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + duo_security_settings: Optional['outputs.DomainsAuthenticationFactorSettingUrnietfparamsscimschemasoracleidcsextensionthirdPartyAuthenticationFactorSettingsDuoSecuritySettings'] = None, + opts: Optional[pulumi.ResourceOptions]=None): if duo_security_settings is not None: - pulumi.set(__self__, "duo_security_settings", duo_security_settings) + _setter("duo_security_settings", duo_security_settings) @property @pulumi.getter(name="duoSecuritySettings") @@ -18501,12 +20164,29 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "api_hostname", api_hostname) - pulumi.set(__self__, "integration_key", integration_key) - pulumi.set(__self__, "secret_key", secret_key) - pulumi.set(__self__, "user_mapping_attribute", user_mapping_attribute) + DomainsAuthenticationFactorSettingUrnietfparamsscimschemasoracleidcsextensionthirdPartyAuthenticationFactorSettingsDuoSecuritySettings._configure( + lambda key, value: pulumi.set(__self__, key, value), + api_hostname=api_hostname, + integration_key=integration_key, + secret_key=secret_key, + user_mapping_attribute=user_mapping_attribute, + attestation_key=attestation_key, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + api_hostname: str, + integration_key: str, + secret_key: str, + user_mapping_attribute: str, + attestation_key: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("api_hostname", api_hostname) + _setter("integration_key", integration_key) + _setter("secret_key", secret_key) + _setter("user_mapping_attribute", user_mapping_attribute) if attestation_key is not None: - pulumi.set(__self__, "attestation_key", attestation_key) + _setter("attestation_key", attestation_key) @property @pulumi.getter(name="apiHostname") @@ -18673,15 +20353,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsCustomerSecretKeyIdcsCreatedBy._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -18847,15 +20544,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsCustomerSecretKeyIdcsLastModifiedBy._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -19036,16 +20750,33 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsCustomerSecretKeyMeta._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: Optional[str] = None, + last_modified: Optional[str] = None, + location: Optional[str] = None, + resource_type: Optional[str] = None, + version: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if created is not None: - pulumi.set(__self__, "created", created) + _setter("created", created) if last_modified is not None: - pulumi.set(__self__, "last_modified", last_modified) + _setter("last_modified", last_modified) if location is not None: - pulumi.set(__self__, "location", location) + _setter("location", location) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter @@ -19171,8 +20902,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsCustomerSecretKeyTag._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -19250,8 +20992,17 @@ def __init__(__self__, *, * type: boolean * uniqueness: none """ + DomainsCustomerSecretKeyUrnietfparamsscimschemasoracleidcsextensionselfChangeUser._configure( + lambda key, value: pulumi.set(__self__, key, value), + allow_self_change=allow_self_change, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allow_self_change: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): if allow_self_change is not None: - pulumi.set(__self__, "allow_self_change", allow_self_change) + _setter("allow_self_change", allow_self_change) @property @pulumi.getter(name="allowSelfChange") @@ -19342,16 +21093,33 @@ def __init__(__self__, *, ** 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 """ + DomainsCustomerSecretKeyUser._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + name=name, + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: Optional[str] = None, + name: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -19561,19 +21329,40 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsDynamicResourceGroupDynamicGroupAppRole._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + admin_role=admin_role, + app_id=app_id, + app_name=app_name, + display=display, + legacy_group_name=legacy_group_name, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + admin_role: Optional[bool] = None, + app_id: Optional[str] = None, + app_name: Optional[str] = None, + display: Optional[str] = None, + legacy_group_name: Optional[str] = None, + ref: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if admin_role is not None: - pulumi.set(__self__, "admin_role", admin_role) + _setter("admin_role", admin_role) if app_id is not None: - pulumi.set(__self__, "app_id", app_id) + _setter("app_id", app_id) if app_name is not None: - pulumi.set(__self__, "app_name", app_name) + _setter("app_name", app_name) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if legacy_group_name is not None: - pulumi.set(__self__, "legacy_group_name", legacy_group_name) + _setter("legacy_group_name", legacy_group_name) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -19781,14 +21570,29 @@ def __init__(__self__, *, * idcsSearchable: true * uniqueness: none """ + DomainsDynamicResourceGroupGrant._configure( + lambda key, value: pulumi.set(__self__, key, value), + app_id=app_id, + grant_mechanism=grant_mechanism, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + app_id: Optional[str] = None, + grant_mechanism: Optional[str] = None, + ref: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if app_id is not None: - pulumi.set(__self__, "app_id", app_id) + _setter("app_id", app_id) if grant_mechanism is not None: - pulumi.set(__self__, "grant_mechanism", grant_mechanism) + _setter("grant_mechanism", grant_mechanism) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter(name="appId") @@ -19935,15 +21739,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsDynamicResourceGroupIdcsCreatedBy._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -20103,15 +21924,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsDynamicResourceGroupIdcsLastModifiedBy._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -20289,16 +22127,33 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsDynamicResourceGroupMeta._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: Optional[str] = None, + last_modified: Optional[str] = None, + location: Optional[str] = None, + resource_type: Optional[str] = None, + version: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if created is not None: - pulumi.set(__self__, "created", created) + _setter("created", created) if last_modified is not None: - pulumi.set(__self__, "last_modified", last_modified) + _setter("last_modified", last_modified) if location is not None: - pulumi.set(__self__, "location", location) + _setter("location", location) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter @@ -20422,8 +22277,19 @@ def __init__(__self__, *, * idcsSearchable: true * uniqueness: none """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsDynamicResourceGroupTag._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -20529,12 +22395,25 @@ def __init__(__self__, *, ** 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 """ + DomainsDynamicResourceGroupUrnietfparamsscimschemasoracleidcsextensionOciTags._configure( + lambda key, value: pulumi.set(__self__, key, value), + defined_tags=defined_tags, + freeform_tags=freeform_tags, + tag_slug=tag_slug, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + defined_tags: Optional[Sequence['outputs.DomainsDynamicResourceGroupUrnietfparamsscimschemasoracleidcsextensionOciTagsDefinedTag']] = None, + freeform_tags: Optional[Sequence['outputs.DomainsDynamicResourceGroupUrnietfparamsscimschemasoracleidcsextensionOciTagsFreeformTag']] = None, + tag_slug: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if tag_slug is not None: - pulumi.set(__self__, "tag_slug", tag_slug) + _setter("tag_slug", tag_slug) @property @pulumi.getter(name="definedTags") @@ -20638,9 +22517,22 @@ def __init__(__self__, *, * idcsSearchable: true * uniqueness: none """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "value", value) + DomainsDynamicResourceGroupUrnietfparamsscimschemasoracleidcsextensionOciTagsDefinedTag._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + namespace=namespace, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + namespace: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("namespace", namespace) + _setter("value", value) @property @pulumi.getter @@ -20731,8 +22623,19 @@ def __init__(__self__, *, * idcsSearchable: true * uniqueness: none """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsDynamicResourceGroupUrnietfparamsscimschemasoracleidcsextensionOciTagsFreeformTag._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -20814,11 +22717,24 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsGrantApp._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ref: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -20904,9 +22820,20 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsGrantAppEntitlementCollection._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + ref: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -20994,8 +22921,19 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "attribute_name", attribute_name) - pulumi.set(__self__, "attribute_value", attribute_value) + DomainsGrantEntitlement._configure( + lambda key, value: pulumi.set(__self__, key, value), + attribute_name=attribute_name, + attribute_value=attribute_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attribute_name: str, + attribute_value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("attribute_name", attribute_name) + _setter("attribute_value", attribute_value) @property @pulumi.getter(name="attributeName") @@ -21088,12 +23026,27 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + DomainsGrantGrantee._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + display=display, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + value: str, + display: Optional[str] = None, + ref: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -21221,14 +23174,29 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsGrantGrantor._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: Optional[str] = None, + ref: Optional[str] = None, + type: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -21368,15 +23336,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsGrantIdcsCreatedBy._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -21534,15 +23519,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsGrantIdcsLastModifiedBy._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -21719,16 +23721,33 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsGrantMeta._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: Optional[str] = None, + last_modified: Optional[str] = None, + location: Optional[str] = None, + resource_type: Optional[str] = None, + version: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if created is not None: - pulumi.set(__self__, "created", created) + _setter("created", created) if last_modified is not None: - pulumi.set(__self__, "last_modified", last_modified) + _setter("last_modified", last_modified) if location is not None: - pulumi.set(__self__, "location", location) + _setter("location", location) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter @@ -21850,8 +23869,19 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsGrantTag._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -21961,15 +23991,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsGroupIdcsCreatedBy._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -22139,15 +24186,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsGroupIdcsLastModifiedBy._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -22375,20 +24439,43 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + DomainsGroupMember._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + date_added=date_added, + display=display, + membership_ocid=membership_ocid, + name=name, + ocid=ocid, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + value: str, + date_added: Optional[str] = None, + display: Optional[str] = None, + membership_ocid: Optional[str] = None, + name: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("value", value) if date_added is not None: - pulumi.set(__self__, "date_added", date_added) + _setter("date_added", date_added) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if membership_ocid is not None: - pulumi.set(__self__, "membership_ocid", membership_ocid) + _setter("membership_ocid", membership_ocid) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -22628,16 +24715,33 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsGroupMeta._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: Optional[str] = None, + last_modified: Optional[str] = None, + location: Optional[str] = None, + resource_type: Optional[str] = None, + version: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if created is not None: - pulumi.set(__self__, "created", created) + _setter("created", created) if last_modified is not None: - pulumi.set(__self__, "last_modified", last_modified) + _setter("last_modified", last_modified) if location is not None: - pulumi.set(__self__, "location", location) + _setter("location", location) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter @@ -22762,8 +24866,19 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsGroupTag._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -22866,12 +24981,25 @@ def __init__(__self__, *, * mutability: readOnly * returned: request """ + DomainsGroupUrnietfparamsscimschemasoracleidcsextensionOciTags._configure( + lambda key, value: pulumi.set(__self__, key, value), + defined_tags=defined_tags, + freeform_tags=freeform_tags, + tag_slug=tag_slug, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + defined_tags: Optional[Sequence['outputs.DomainsGroupUrnietfparamsscimschemasoracleidcsextensionOciTagsDefinedTag']] = None, + freeform_tags: Optional[Sequence['outputs.DomainsGroupUrnietfparamsscimschemasoracleidcsextensionOciTagsFreeformTag']] = None, + tag_slug: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if tag_slug is not None: - pulumi.set(__self__, "tag_slug", tag_slug) + _setter("tag_slug", tag_slug) @property @pulumi.getter(name="definedTags") @@ -22972,9 +25100,22 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "value", value) + DomainsGroupUrnietfparamsscimschemasoracleidcsextensionOciTagsDefinedTag._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + namespace=namespace, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + namespace: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("namespace", namespace) + _setter("value", value) @property @pulumi.getter @@ -23067,8 +25208,19 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsGroupUrnietfparamsscimschemasoracleidcsextensionOciTagsFreeformTag._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -23192,14 +25344,29 @@ def __init__(__self__, *, * returned: request * type: complex """ + DomainsGroupUrnietfparamsscimschemasoracleidcsextensiondbcsGroup._configure( + lambda key, value: pulumi.set(__self__, key, value), + domain_level_schema=domain_level_schema, + domain_level_schema_names=domain_level_schema_names, + instance_level_schema=instance_level_schema, + instance_level_schema_names=instance_level_schema_names, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + domain_level_schema: Optional[str] = None, + domain_level_schema_names: Optional[Sequence['outputs.DomainsGroupUrnietfparamsscimschemasoracleidcsextensiondbcsGroupDomainLevelSchemaName']] = None, + instance_level_schema: Optional[str] = None, + instance_level_schema_names: Optional[Sequence['outputs.DomainsGroupUrnietfparamsscimschemasoracleidcsextensiondbcsGroupInstanceLevelSchemaName']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if domain_level_schema is not None: - pulumi.set(__self__, "domain_level_schema", domain_level_schema) + _setter("domain_level_schema", domain_level_schema) if domain_level_schema_names is not None: - pulumi.set(__self__, "domain_level_schema_names", domain_level_schema_names) + _setter("domain_level_schema_names", domain_level_schema_names) if instance_level_schema is not None: - pulumi.set(__self__, "instance_level_schema", instance_level_schema) + _setter("instance_level_schema", instance_level_schema) if instance_level_schema_names is not None: - pulumi.set(__self__, "instance_level_schema_names", instance_level_schema_names) + _setter("instance_level_schema_names", instance_level_schema_names) @property @pulumi.getter(name="domainLevelSchema") @@ -23332,8 +25499,19 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "domain_name", domain_name) - pulumi.set(__self__, "schema_name", schema_name) + DomainsGroupUrnietfparamsscimschemasoracleidcsextensiondbcsGroupDomainLevelSchemaName._configure( + lambda key, value: pulumi.set(__self__, key, value), + domain_name=domain_name, + schema_name=schema_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + domain_name: str, + schema_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("domain_name", domain_name) + _setter("schema_name", schema_name) @property @pulumi.getter(name="domainName") @@ -23428,8 +25606,19 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "db_instance_id", db_instance_id) - pulumi.set(__self__, "schema_name", schema_name) + DomainsGroupUrnietfparamsscimschemasoracleidcsextensiondbcsGroupInstanceLevelSchemaName._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_instance_id=db_instance_id, + schema_name=schema_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_instance_id: str, + schema_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("db_instance_id", db_instance_id) + _setter("schema_name", schema_name) @property @pulumi.getter(name="dbInstanceId") @@ -23524,10 +25713,21 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsGroupUrnietfparamsscimschemasoracleidcsextensiondynamicGroup._configure( + lambda key, value: pulumi.set(__self__, key, value), + membership_rule=membership_rule, + membership_type=membership_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + membership_rule: Optional[str] = None, + membership_type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if membership_rule is not None: - pulumi.set(__self__, "membership_rule", membership_rule) + _setter("membership_rule", membership_rule) if membership_type is not None: - pulumi.set(__self__, "membership_type", membership_type) + _setter("membership_type", membership_type) @property @pulumi.getter(name="membershipRule") @@ -23691,20 +25891,41 @@ def __init__(__self__, *, * type: complex * uniqueness: none """ + DomainsGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroup._configure( + lambda key, value: pulumi.set(__self__, key, value), + app_roles=app_roles, + creation_mechanism=creation_mechanism, + description=description, + grants=grants, + owners=owners, + password_policies=password_policies, + synced_from_apps=synced_from_apps, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + app_roles: Optional[Sequence['outputs.DomainsGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupAppRole']] = None, + creation_mechanism: Optional[str] = None, + description: Optional[str] = None, + grants: Optional[Sequence['outputs.DomainsGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupGrant']] = None, + owners: Optional[Sequence['outputs.DomainsGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupOwner']] = None, + password_policies: Optional[Sequence['outputs.DomainsGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupPasswordPolicy']] = None, + synced_from_apps: Optional[Sequence['outputs.DomainsGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupSyncedFromApp']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if app_roles is not None: - pulumi.set(__self__, "app_roles", app_roles) + _setter("app_roles", app_roles) if creation_mechanism is not None: - pulumi.set(__self__, "creation_mechanism", creation_mechanism) + _setter("creation_mechanism", creation_mechanism) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if grants is not None: - pulumi.set(__self__, "grants", grants) + _setter("grants", grants) if owners is not None: - pulumi.set(__self__, "owners", owners) + _setter("owners", owners) if password_policies is not None: - pulumi.set(__self__, "password_policies", password_policies) + _setter("password_policies", password_policies) if synced_from_apps is not None: - pulumi.set(__self__, "synced_from_apps", synced_from_apps) + _setter("synced_from_apps", synced_from_apps) @property @pulumi.getter(name="appRoles") @@ -23971,21 +26192,44 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupAppRole._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + admin_role=admin_role, + app_id=app_id, + app_name=app_name, + display=display, + legacy_group_name=legacy_group_name, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + admin_role: Optional[bool] = None, + app_id: Optional[str] = None, + app_name: Optional[str] = None, + display: Optional[str] = None, + legacy_group_name: Optional[str] = None, + ref: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if admin_role is not None: - pulumi.set(__self__, "admin_role", admin_role) + _setter("admin_role", admin_role) if app_id is not None: - pulumi.set(__self__, "app_id", app_id) + _setter("app_id", app_id) if app_name is not None: - pulumi.set(__self__, "app_name", app_name) + _setter("app_name", app_name) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if legacy_group_name is not None: - pulumi.set(__self__, "legacy_group_name", legacy_group_name) + _setter("legacy_group_name", legacy_group_name) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -24215,14 +26459,29 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupGrant._configure( + lambda key, value: pulumi.set(__self__, key, value), + app_id=app_id, + grant_mechanism=grant_mechanism, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + app_id: Optional[str] = None, + grant_mechanism: Optional[str] = None, + ref: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if app_id is not None: - pulumi.set(__self__, "app_id", app_id) + _setter("app_id", app_id) if grant_mechanism is not None: - pulumi.set(__self__, "grant_mechanism", grant_mechanism) + _setter("grant_mechanism", grant_mechanism) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter(name="appId") @@ -24362,12 +26621,27 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + DomainsGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupOwner._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + display=display, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + value: str, + display: Optional[str] = None, + ref: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -24506,13 +26780,28 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupPasswordPolicy._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + name=name, + priority=priority, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + name: Optional[str] = None, + priority: Optional[int] = None, + ref: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if priority is not None: - pulumi.set(__self__, "priority", priority) + _setter("priority", priority) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -24651,12 +26940,27 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + DomainsGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupSyncedFromApp._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + display=display, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + value: str, + display: Optional[str] = None, + ref: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -24770,8 +27074,17 @@ def __init__(__self__, *, * type: integer * uniqueness: server """ + DomainsGroupUrnietfparamsscimschemasoracleidcsextensionposixGroup._configure( + lambda key, value: pulumi.set(__self__, key, value), + gid_number=gid_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + gid_number: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if gid_number is not None: - pulumi.set(__self__, "gid_number", gid_number) + _setter("gid_number", gid_number) @property @pulumi.getter(name="gidNumber") @@ -24815,8 +27128,17 @@ def __init__(__self__, *, ** 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 """ + DomainsGroupUrnietfparamsscimschemasoracleidcsextensionrequestableGroup._configure( + lambda key, value: pulumi.set(__self__, key, value), + requestable=requestable, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + requestable: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): if requestable is not None: - pulumi.set(__self__, "requestable", requestable) + _setter("requestable", requestable) @property @pulumi.getter @@ -24899,12 +27221,27 @@ def __init__(__self__, *, * returned: default * type: reference """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + DomainsIdentityProviderCorrelationPolicy._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + display=display, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + value: str, + display: Optional[str] = None, + ref: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -25048,15 +27385,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsIdentityProviderIdcsCreatedBy._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -25218,15 +27572,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsIdentityProviderIdcsLastModifiedBy._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -25362,11 +27733,24 @@ def __init__(__self__, *, * returned: default * type: reference """ - pulumi.set(__self__, "value", value) + DomainsIdentityProviderJitUserProvAssignedGroup._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ref: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -25451,9 +27835,20 @@ def __init__(__self__, *, * returned: default * type: reference """ - pulumi.set(__self__, "value", value) + DomainsIdentityProviderJitUserProvAttributes._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + ref: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -25547,10 +27942,23 @@ def __init__(__self__, *, * returned: default * type: reference """ - pulumi.set(__self__, "idp_group", idp_group) - pulumi.set(__self__, "value", value) + DomainsIdentityProviderJitUserProvGroupMapping._configure( + lambda key, value: pulumi.set(__self__, key, value), + idp_group=idp_group, + value=value, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + idp_group: str, + value: str, + ref: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("idp_group", idp_group) + _setter("value", value) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter(name="idpGroup") @@ -25689,16 +28097,33 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsIdentityProviderMeta._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: Optional[str] = None, + last_modified: Optional[str] = None, + location: Optional[str] = None, + resource_type: Optional[str] = None, + version: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if created is not None: - pulumi.set(__self__, "created", created) + _setter("created", created) if last_modified is not None: - pulumi.set(__self__, "last_modified", last_modified) + _setter("last_modified", last_modified) if location is not None: - pulumi.set(__self__, "location", location) + _setter("location", location) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter @@ -25820,8 +28245,19 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsIdentityProviderTag._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -26132,33 +28568,72 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "account_linking_enabled", account_linking_enabled) - pulumi.set(__self__, "consumer_key", consumer_key) - pulumi.set(__self__, "consumer_secret", consumer_secret) - pulumi.set(__self__, "registration_enabled", registration_enabled) - pulumi.set(__self__, "service_provider_name", service_provider_name) + DomainsIdentityProviderUrnietfparamsscimschemasoracleidcsextensionsocialIdentityProvider._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_linking_enabled=account_linking_enabled, + consumer_key=consumer_key, + consumer_secret=consumer_secret, + registration_enabled=registration_enabled, + service_provider_name=service_provider_name, + access_token_url=access_token_url, + admin_scopes=admin_scopes, + authz_url=authz_url, + client_credential_in_payload=client_credential_in_payload, + clock_skew_in_seconds=clock_skew_in_seconds, + discovery_url=discovery_url, + id_attribute=id_attribute, + profile_url=profile_url, + redirect_url=redirect_url, + scopes=scopes, + status=status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_linking_enabled: bool, + consumer_key: str, + consumer_secret: str, + registration_enabled: bool, + service_provider_name: str, + access_token_url: Optional[str] = None, + admin_scopes: Optional[Sequence[str]] = None, + authz_url: Optional[str] = None, + client_credential_in_payload: Optional[bool] = None, + clock_skew_in_seconds: Optional[int] = None, + discovery_url: Optional[str] = None, + id_attribute: Optional[str] = None, + profile_url: Optional[str] = None, + redirect_url: Optional[str] = None, + scopes: Optional[Sequence[str]] = None, + status: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("account_linking_enabled", account_linking_enabled) + _setter("consumer_key", consumer_key) + _setter("consumer_secret", consumer_secret) + _setter("registration_enabled", registration_enabled) + _setter("service_provider_name", service_provider_name) if access_token_url is not None: - pulumi.set(__self__, "access_token_url", access_token_url) + _setter("access_token_url", access_token_url) if admin_scopes is not None: - pulumi.set(__self__, "admin_scopes", admin_scopes) + _setter("admin_scopes", admin_scopes) if authz_url is not None: - pulumi.set(__self__, "authz_url", authz_url) + _setter("authz_url", authz_url) if client_credential_in_payload is not None: - pulumi.set(__self__, "client_credential_in_payload", client_credential_in_payload) + _setter("client_credential_in_payload", client_credential_in_payload) if clock_skew_in_seconds is not None: - pulumi.set(__self__, "clock_skew_in_seconds", clock_skew_in_seconds) + _setter("clock_skew_in_seconds", clock_skew_in_seconds) if discovery_url is not None: - pulumi.set(__self__, "discovery_url", discovery_url) + _setter("discovery_url", discovery_url) if id_attribute is not None: - pulumi.set(__self__, "id_attribute", id_attribute) + _setter("id_attribute", id_attribute) if profile_url is not None: - pulumi.set(__self__, "profile_url", profile_url) + _setter("profile_url", profile_url) if redirect_url is not None: - pulumi.set(__self__, "redirect_url", redirect_url) + _setter("redirect_url", redirect_url) if scopes is not None: - pulumi.set(__self__, "scopes", scopes) + _setter("scopes", scopes) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) @property @pulumi.getter(name="accountLinkingEnabled") @@ -26773,37 +29248,78 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "cert_match_attribute", cert_match_attribute) - pulumi.set(__self__, "signing_certificate_chains", signing_certificate_chains) - pulumi.set(__self__, "user_match_attribute", user_match_attribute) + DomainsIdentityProviderUrnietfparamsscimschemasoracleidcsextensionx509identityProvider._configure( + lambda key, value: pulumi.set(__self__, key, value), + cert_match_attribute=cert_match_attribute, + signing_certificate_chains=signing_certificate_chains, + user_match_attribute=user_match_attribute, + crl_check_on_ocsp_failure_enabled=crl_check_on_ocsp_failure_enabled, + crl_enabled=crl_enabled, + crl_location=crl_location, + crl_reload_duration=crl_reload_duration, + eku_validation_enabled=eku_validation_enabled, + eku_values=eku_values, + ocsp_allow_unknown_response_status=ocsp_allow_unknown_response_status, + ocsp_enable_signed_response=ocsp_enable_signed_response, + ocsp_enabled=ocsp_enabled, + ocsp_responder_url=ocsp_responder_url, + ocsp_revalidate_time=ocsp_revalidate_time, + ocsp_server_name=ocsp_server_name, + ocsp_trust_cert_chains=ocsp_trust_cert_chains, + other_cert_match_attribute=other_cert_match_attribute, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cert_match_attribute: str, + signing_certificate_chains: Sequence[str], + user_match_attribute: str, + crl_check_on_ocsp_failure_enabled: Optional[bool] = None, + crl_enabled: Optional[bool] = None, + crl_location: Optional[str] = None, + crl_reload_duration: Optional[int] = None, + eku_validation_enabled: Optional[bool] = None, + eku_values: Optional[Sequence[str]] = None, + ocsp_allow_unknown_response_status: Optional[bool] = None, + ocsp_enable_signed_response: Optional[bool] = None, + ocsp_enabled: Optional[bool] = None, + ocsp_responder_url: Optional[str] = None, + ocsp_revalidate_time: Optional[int] = None, + ocsp_server_name: Optional[str] = None, + ocsp_trust_cert_chains: Optional[Sequence[str]] = None, + other_cert_match_attribute: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cert_match_attribute", cert_match_attribute) + _setter("signing_certificate_chains", signing_certificate_chains) + _setter("user_match_attribute", user_match_attribute) if crl_check_on_ocsp_failure_enabled is not None: - pulumi.set(__self__, "crl_check_on_ocsp_failure_enabled", crl_check_on_ocsp_failure_enabled) + _setter("crl_check_on_ocsp_failure_enabled", crl_check_on_ocsp_failure_enabled) if crl_enabled is not None: - pulumi.set(__self__, "crl_enabled", crl_enabled) + _setter("crl_enabled", crl_enabled) if crl_location is not None: - pulumi.set(__self__, "crl_location", crl_location) + _setter("crl_location", crl_location) if crl_reload_duration is not None: - pulumi.set(__self__, "crl_reload_duration", crl_reload_duration) + _setter("crl_reload_duration", crl_reload_duration) if eku_validation_enabled is not None: - pulumi.set(__self__, "eku_validation_enabled", eku_validation_enabled) + _setter("eku_validation_enabled", eku_validation_enabled) if eku_values is not None: - pulumi.set(__self__, "eku_values", eku_values) + _setter("eku_values", eku_values) if ocsp_allow_unknown_response_status is not None: - pulumi.set(__self__, "ocsp_allow_unknown_response_status", ocsp_allow_unknown_response_status) + _setter("ocsp_allow_unknown_response_status", ocsp_allow_unknown_response_status) if ocsp_enable_signed_response is not None: - pulumi.set(__self__, "ocsp_enable_signed_response", ocsp_enable_signed_response) + _setter("ocsp_enable_signed_response", ocsp_enable_signed_response) if ocsp_enabled is not None: - pulumi.set(__self__, "ocsp_enabled", ocsp_enabled) + _setter("ocsp_enabled", ocsp_enabled) if ocsp_responder_url is not None: - pulumi.set(__self__, "ocsp_responder_url", ocsp_responder_url) + _setter("ocsp_responder_url", ocsp_responder_url) if ocsp_revalidate_time is not None: - pulumi.set(__self__, "ocsp_revalidate_time", ocsp_revalidate_time) + _setter("ocsp_revalidate_time", ocsp_revalidate_time) if ocsp_server_name is not None: - pulumi.set(__self__, "ocsp_server_name", ocsp_server_name) + _setter("ocsp_server_name", ocsp_server_name) if ocsp_trust_cert_chains is not None: - pulumi.set(__self__, "ocsp_trust_cert_chains", ocsp_trust_cert_chains) + _setter("ocsp_trust_cert_chains", ocsp_trust_cert_chains) if other_cert_match_attribute is not None: - pulumi.set(__self__, "other_cert_match_attribute", other_cert_match_attribute) + _setter("other_cert_match_attribute", other_cert_match_attribute) @property @pulumi.getter(name="certMatchAttribute") @@ -27210,15 +29726,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsIdentitySettingIdcsCreatedBy._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -27374,15 +29907,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsIdentitySettingIdcsLastModifiedBy._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -27558,16 +30108,33 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsIdentitySettingMeta._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: Optional[str] = None, + last_modified: Optional[str] = None, + location: Optional[str] = None, + resource_type: Optional[str] = None, + version: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if created is not None: - pulumi.set(__self__, "created", created) + _setter("created", created) if last_modified is not None: - pulumi.set(__self__, "last_modified", last_modified) + _setter("last_modified", last_modified) if location is not None: - pulumi.set(__self__, "location", location) + _setter("location", location) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter @@ -27740,14 +30307,29 @@ def __init__(__self__, *, * type: boolean * uniqueness: none """ + DomainsIdentitySettingMyProfile._configure( + lambda key, value: pulumi.set(__self__, key, value), + allow_end_users_to_change_their_password=allow_end_users_to_change_their_password, + allow_end_users_to_link_their_support_account=allow_end_users_to_link_their_support_account, + allow_end_users_to_manage_their_capabilities=allow_end_users_to_manage_their_capabilities, + allow_end_users_to_update_their_security_settings=allow_end_users_to_update_their_security_settings, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allow_end_users_to_change_their_password: Optional[bool] = None, + allow_end_users_to_link_their_support_account: Optional[bool] = None, + allow_end_users_to_manage_their_capabilities: Optional[bool] = None, + allow_end_users_to_update_their_security_settings: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): if allow_end_users_to_change_their_password is not None: - pulumi.set(__self__, "allow_end_users_to_change_their_password", allow_end_users_to_change_their_password) + _setter("allow_end_users_to_change_their_password", allow_end_users_to_change_their_password) if allow_end_users_to_link_their_support_account is not None: - pulumi.set(__self__, "allow_end_users_to_link_their_support_account", allow_end_users_to_link_their_support_account) + _setter("allow_end_users_to_link_their_support_account", allow_end_users_to_link_their_support_account) if allow_end_users_to_manage_their_capabilities is not None: - pulumi.set(__self__, "allow_end_users_to_manage_their_capabilities", allow_end_users_to_manage_their_capabilities) + _setter("allow_end_users_to_manage_their_capabilities", allow_end_users_to_manage_their_capabilities) if allow_end_users_to_update_their_security_settings is not None: - pulumi.set(__self__, "allow_end_users_to_update_their_security_settings", allow_end_users_to_update_their_security_settings) + _setter("allow_end_users_to_update_their_security_settings", allow_end_users_to_update_their_security_settings) @property @pulumi.getter(name="allowEndUsersToChangeTheirPassword") @@ -27876,10 +30458,21 @@ def __init__(__self__, *, * type: integer * uniqueness: none """ + DomainsIdentitySettingPosixGid._configure( + lambda key, value: pulumi.set(__self__, key, value), + manual_assignment_ends_at=manual_assignment_ends_at, + manual_assignment_starts_from=manual_assignment_starts_from, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + manual_assignment_ends_at: Optional[int] = None, + manual_assignment_starts_from: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if manual_assignment_ends_at is not None: - pulumi.set(__self__, "manual_assignment_ends_at", manual_assignment_ends_at) + _setter("manual_assignment_ends_at", manual_assignment_ends_at) if manual_assignment_starts_from is not None: - pulumi.set(__self__, "manual_assignment_starts_from", manual_assignment_starts_from) + _setter("manual_assignment_starts_from", manual_assignment_starts_from) @property @pulumi.getter(name="manualAssignmentEndsAt") @@ -27970,10 +30563,21 @@ def __init__(__self__, *, * type: integer * uniqueness: none """ + DomainsIdentitySettingPosixUid._configure( + lambda key, value: pulumi.set(__self__, key, value), + manual_assignment_ends_at=manual_assignment_ends_at, + manual_assignment_starts_from=manual_assignment_starts_from, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + manual_assignment_ends_at: Optional[int] = None, + manual_assignment_starts_from: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if manual_assignment_ends_at is not None: - pulumi.set(__self__, "manual_assignment_ends_at", manual_assignment_ends_at) + _setter("manual_assignment_ends_at", manual_assignment_ends_at) if manual_assignment_starts_from is not None: - pulumi.set(__self__, "manual_assignment_starts_from", manual_assignment_starts_from) + _setter("manual_assignment_starts_from", manual_assignment_starts_from) @property @pulumi.getter(name="manualAssignmentEndsAt") @@ -28043,8 +30647,19 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsIdentitySettingTag._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -28127,9 +30742,20 @@ def __init__(__self__, *, * type: integer * uniqueness: none """ - pulumi.set(__self__, "type", type) + DomainsIdentitySettingToken._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + expires_after=expires_after, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + expires_after: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if expires_after is not None: - pulumi.set(__self__, "expires_after", expires_after) + _setter("expires_after", expires_after) @property @pulumi.getter @@ -28231,15 +30857,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsKmsiSettingIdcsCreatedBy._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -28397,15 +31040,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsKmsiSettingIdcsLastModifiedBy._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -28582,16 +31242,33 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsKmsiSettingMeta._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: Optional[str] = None, + last_modified: Optional[str] = None, + location: Optional[str] = None, + resource_type: Optional[str] = None, + version: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if created is not None: - pulumi.set(__self__, "created", created) + _setter("created", created) if last_modified is not None: - pulumi.set(__self__, "last_modified", last_modified) + _setter("last_modified", last_modified) if location is not None: - pulumi.set(__self__, "location", location) + _setter("location", location) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter @@ -28713,8 +31390,19 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsKmsiSettingTag._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -28822,15 +31510,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsMyApiKeyIdcsCreatedBy._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -28996,15 +31701,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsMyApiKeyIdcsLastModifiedBy._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -29185,16 +31907,33 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsMyApiKeyMeta._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: Optional[str] = None, + last_modified: Optional[str] = None, + location: Optional[str] = None, + resource_type: Optional[str] = None, + version: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if created is not None: - pulumi.set(__self__, "created", created) + _setter("created", created) if last_modified is not None: - pulumi.set(__self__, "last_modified", last_modified) + _setter("last_modified", last_modified) if location is not None: - pulumi.set(__self__, "location", location) + _setter("location", location) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter @@ -29320,8 +32059,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsMyApiKeyTag._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -29433,16 +32183,33 @@ def __init__(__self__, *, ** 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 """ + DomainsMyApiKeyUser._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + name=name, + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: Optional[str] = None, + name: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -29608,15 +32375,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsMyAuthTokenIdcsCreatedBy._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -29782,15 +32566,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsMyAuthTokenIdcsLastModifiedBy._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -29971,16 +32772,33 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsMyAuthTokenMeta._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: Optional[str] = None, + last_modified: Optional[str] = None, + location: Optional[str] = None, + resource_type: Optional[str] = None, + version: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if created is not None: - pulumi.set(__self__, "created", created) + _setter("created", created) if last_modified is not None: - pulumi.set(__self__, "last_modified", last_modified) + _setter("last_modified", last_modified) if location is not None: - pulumi.set(__self__, "location", location) + _setter("location", location) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter @@ -30106,8 +32924,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsMyAuthTokenTag._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -30219,16 +33048,33 @@ def __init__(__self__, *, ** 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 """ + DomainsMyAuthTokenUser._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + name=name, + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: Optional[str] = None, + name: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -30394,15 +33240,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsMyCustomerSecretKeyIdcsCreatedBy._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -30568,15 +33431,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsMyCustomerSecretKeyIdcsLastModifiedBy._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -30757,16 +33637,33 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsMyCustomerSecretKeyMeta._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: Optional[str] = None, + last_modified: Optional[str] = None, + location: Optional[str] = None, + resource_type: Optional[str] = None, + version: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if created is not None: - pulumi.set(__self__, "created", created) + _setter("created", created) if last_modified is not None: - pulumi.set(__self__, "last_modified", last_modified) + _setter("last_modified", last_modified) if location is not None: - pulumi.set(__self__, "location", location) + _setter("location", location) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter @@ -30892,8 +33789,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsMyCustomerSecretKeyTag._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -31005,16 +33913,33 @@ def __init__(__self__, *, ** 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 """ + DomainsMyCustomerSecretKeyUser._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + name=name, + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: Optional[str] = None, + name: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -31180,15 +34105,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsMyOauth2clientCredentialIdcsCreatedBy._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -31354,15 +34296,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsMyOauth2clientCredentialIdcsLastModifiedBy._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -31543,16 +34502,33 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsMyOauth2clientCredentialMeta._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: Optional[str] = None, + last_modified: Optional[str] = None, + location: Optional[str] = None, + resource_type: Optional[str] = None, + version: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if created is not None: - pulumi.set(__self__, "created", created) + _setter("created", created) if last_modified is not None: - pulumi.set(__self__, "last_modified", last_modified) + _setter("last_modified", last_modified) if location is not None: - pulumi.set(__self__, "location", location) + _setter("location", location) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter @@ -31670,8 +34646,19 @@ def __init__(__self__, *, * required: true * returned: default """ - pulumi.set(__self__, "audience", audience) - pulumi.set(__self__, "scope", scope) + DomainsMyOauth2clientCredentialScope._configure( + lambda key, value: pulumi.set(__self__, key, value), + audience=audience, + scope=scope, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + audience: str, + scope: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("audience", audience) + _setter("scope", scope) @property @pulumi.getter @@ -31739,8 +34726,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsMyOauth2clientCredentialTag._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -31852,16 +34850,33 @@ def __init__(__self__, *, ** 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 """ + DomainsMyOauth2clientCredentialUser._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + name=name, + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: Optional[str] = None, + name: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -32023,15 +35038,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsMyRequestIdcsCreatedBy._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -32189,15 +35221,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsMyRequestIdcsLastModifiedBy._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -32374,16 +35423,33 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsMyRequestMeta._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: Optional[str] = None, + last_modified: Optional[str] = None, + location: Optional[str] = None, + resource_type: Optional[str] = None, + version: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if created is not None: - pulumi.set(__self__, "created", created) + _setter("created", created) if last_modified is not None: - pulumi.set(__self__, "last_modified", last_modified) + _setter("last_modified", last_modified) if location is not None: - pulumi.set(__self__, "location", location) + _setter("location", location) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter @@ -32529,12 +35595,27 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + DomainsMyRequestRequesting._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + display=display, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + value: str, + display: Optional[str] = None, + ref: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -32648,11 +35729,24 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsMyRequestRequestor._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ref: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -32736,8 +35830,19 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsMyRequestTag._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -32841,15 +35946,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsMySmtpCredentialIdcsCreatedBy._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -33007,15 +36129,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsMySmtpCredentialIdcsLastModifiedBy._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -33192,16 +36331,33 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsMySmtpCredentialMeta._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: Optional[str] = None, + last_modified: Optional[str] = None, + location: Optional[str] = None, + resource_type: Optional[str] = None, + version: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if created is not None: - pulumi.set(__self__, "created", created) + _setter("created", created) if last_modified is not None: - pulumi.set(__self__, "last_modified", last_modified) + _setter("last_modified", last_modified) if location is not None: - pulumi.set(__self__, "location", location) + _setter("location", location) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter @@ -33323,8 +36479,19 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsMySmtpCredentialTag._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -33428,16 +36595,33 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsMySmtpCredentialUser._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + name=name, + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: Optional[str] = None, + name: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -33595,15 +36779,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsMySupportAccountIdcsCreatedBy._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -33761,15 +36962,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsMySupportAccountIdcsLastModifiedBy._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -33946,16 +37164,33 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsMySupportAccountMeta._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: Optional[str] = None, + last_modified: Optional[str] = None, + location: Optional[str] = None, + resource_type: Optional[str] = None, + version: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if created is not None: - pulumi.set(__self__, "created", created) + _setter("created", created) if last_modified is not None: - pulumi.set(__self__, "last_modified", last_modified) + _setter("last_modified", last_modified) if location is not None: - pulumi.set(__self__, "location", location) + _setter("location", location) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter @@ -34077,8 +37312,19 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsMySupportAccountTag._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -34182,16 +37428,33 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsMySupportAccountUser._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + name=name, + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: Optional[str] = None, + name: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -34353,15 +37616,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsMyUserDbCredentialIdcsCreatedBy._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -34527,15 +37807,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsMyUserDbCredentialIdcsLastModifiedBy._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -34716,16 +38013,33 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsMyUserDbCredentialMeta._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: Optional[str] = None, + last_modified: Optional[str] = None, + location: Optional[str] = None, + resource_type: Optional[str] = None, + version: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if created is not None: - pulumi.set(__self__, "created", created) + _setter("created", created) if last_modified is not None: - pulumi.set(__self__, "last_modified", last_modified) + _setter("last_modified", last_modified) if location is not None: - pulumi.set(__self__, "location", location) + _setter("location", location) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter @@ -34851,8 +38165,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsMyUserDbCredentialTag._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -34964,15 +38289,32 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsMyUserDbCredentialUser._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + name=name, + ocid=ocid, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + name: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -35138,15 +38480,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsOauth2clientCredentialIdcsCreatedBy._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -35312,15 +38671,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsOauth2clientCredentialIdcsLastModifiedBy._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -35501,16 +38877,33 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsOauth2clientCredentialMeta._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: Optional[str] = None, + last_modified: Optional[str] = None, + location: Optional[str] = None, + resource_type: Optional[str] = None, + version: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if created is not None: - pulumi.set(__self__, "created", created) + _setter("created", created) if last_modified is not None: - pulumi.set(__self__, "last_modified", last_modified) + _setter("last_modified", last_modified) if location is not None: - pulumi.set(__self__, "location", location) + _setter("location", location) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter @@ -35628,8 +39021,19 @@ def __init__(__self__, *, * required: true * returned: default """ - pulumi.set(__self__, "audience", audience) - pulumi.set(__self__, "scope", scope) + DomainsOauth2clientCredentialScope._configure( + lambda key, value: pulumi.set(__self__, key, value), + audience=audience, + scope=scope, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + audience: str, + scope: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("audience", audience) + _setter("scope", scope) @property @pulumi.getter @@ -35697,8 +39101,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsOauth2clientCredentialTag._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -35776,8 +39191,17 @@ def __init__(__self__, *, * type: boolean * uniqueness: none """ + DomainsOauth2clientCredentialUrnietfparamsscimschemasoracleidcsextensionselfChangeUser._configure( + lambda key, value: pulumi.set(__self__, key, value), + allow_self_change=allow_self_change, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allow_self_change: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): if allow_self_change is not None: - pulumi.set(__self__, "allow_self_change", allow_self_change) + _setter("allow_self_change", allow_self_change) @property @pulumi.getter(name="allowSelfChange") @@ -35868,16 +39292,33 @@ def __init__(__self__, *, ** 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 """ + DomainsOauth2clientCredentialUser._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + name=name, + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: Optional[str] = None, + name: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -36003,8 +39444,19 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsPasswordPolicyConfiguredPasswordPolicyRule._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -36084,11 +39536,24 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsPasswordPolicyGroup._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ref: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -36210,15 +39675,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsPasswordPolicyIdcsCreatedBy._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -36376,15 +39858,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsPasswordPolicyIdcsLastModifiedBy._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -36561,16 +40060,33 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsPasswordPolicyMeta._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: Optional[str] = None, + last_modified: Optional[str] = None, + location: Optional[str] = None, + resource_type: Optional[str] = None, + version: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if created is not None: - pulumi.set(__self__, "created", created) + _setter("created", created) if last_modified is not None: - pulumi.set(__self__, "last_modified", last_modified) + _setter("last_modified", last_modified) if location is not None: - pulumi.set(__self__, "location", location) + _setter("location", location) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter @@ -36692,8 +40208,19 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsPasswordPolicyTag._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -36801,15 +40328,32 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "value", value) + DomainsSecurityQuestionIdcsCreatedBy._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -36975,15 +40519,32 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "value", value) + DomainsSecurityQuestionIdcsLastModifiedBy._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -37164,16 +40725,33 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsSecurityQuestionMeta._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: Optional[str] = None, + last_modified: Optional[str] = None, + location: Optional[str] = None, + resource_type: Optional[str] = None, + version: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if created is not None: - pulumi.set(__self__, "created", created) + _setter("created", created) if last_modified is not None: - pulumi.set(__self__, "last_modified", last_modified) + _setter("last_modified", last_modified) if location is not None: - pulumi.set(__self__, "location", location) + _setter("location", location) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter @@ -37308,10 +40886,23 @@ def __init__(__self__, *, * type: boolean * uniqueness: none """ - pulumi.set(__self__, "locale", locale) - pulumi.set(__self__, "value", value) + DomainsSecurityQuestionQuestionText._configure( + lambda key, value: pulumi.set(__self__, key, value), + locale=locale, + value=value, + default=default, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + locale: str, + value: str, + default: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("locale", locale) + _setter("value", value) if default is not None: - pulumi.set(__self__, "default", default) + _setter("default", default) @property @pulumi.getter @@ -37434,15 +41025,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsSecurityQuestionSettingIdcsCreatedBy._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -37600,15 +41208,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsSecurityQuestionSettingIdcsLastModifiedBy._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -37785,16 +41410,33 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsSecurityQuestionSettingMeta._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: Optional[str] = None, + last_modified: Optional[str] = None, + location: Optional[str] = None, + resource_type: Optional[str] = None, + version: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if created is not None: - pulumi.set(__self__, "created", created) + _setter("created", created) if last_modified is not None: - pulumi.set(__self__, "last_modified", last_modified) + _setter("last_modified", last_modified) if location is not None: - pulumi.set(__self__, "location", location) + _setter("location", location) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter @@ -37916,8 +41558,19 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsSecurityQuestionSettingTag._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -37985,8 +41638,19 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsSecurityQuestionTag._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -38090,15 +41754,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsSmtpCredentialIdcsCreatedBy._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -38256,15 +41937,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsSmtpCredentialIdcsLastModifiedBy._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -38441,16 +42139,33 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsSmtpCredentialMeta._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: Optional[str] = None, + last_modified: Optional[str] = None, + location: Optional[str] = None, + resource_type: Optional[str] = None, + version: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if created is not None: - pulumi.set(__self__, "created", created) + _setter("created", created) if last_modified is not None: - pulumi.set(__self__, "last_modified", last_modified) + _setter("last_modified", last_modified) if location is not None: - pulumi.set(__self__, "location", location) + _setter("location", location) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter @@ -38572,8 +42287,19 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsSmtpCredentialTag._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -38647,8 +42373,17 @@ def __init__(__self__, *, * type: boolean * uniqueness: none """ + DomainsSmtpCredentialUrnietfparamsscimschemasoracleidcsextensionselfChangeUser._configure( + lambda key, value: pulumi.set(__self__, key, value), + allow_self_change=allow_self_change, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allow_self_change: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): if allow_self_change is not None: - pulumi.set(__self__, "allow_self_change", allow_self_change) + _setter("allow_self_change", allow_self_change) @property @pulumi.getter(name="allowSelfChange") @@ -38735,16 +42470,33 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsSmtpCredentialUser._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + name=name, + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: Optional[str] = None, + name: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -38957,21 +42709,44 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "type", type) + DomainsUserAddress._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + country=country, + formatted=formatted, + locality=locality, + postal_code=postal_code, + primary=primary, + region=region, + street_address=street_address, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + country: Optional[str] = None, + formatted: Optional[str] = None, + locality: Optional[str] = None, + postal_code: Optional[str] = None, + primary: Optional[bool] = None, + region: Optional[str] = None, + street_address: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if country is not None: - pulumi.set(__self__, "country", country) + _setter("country", country) if formatted is not None: - pulumi.set(__self__, "formatted", formatted) + _setter("formatted", formatted) if locality is not None: - pulumi.set(__self__, "locality", locality) + _setter("locality", locality) if postal_code is not None: - pulumi.set(__self__, "postal_code", postal_code) + _setter("postal_code", postal_code) if primary is not None: - pulumi.set(__self__, "primary", primary) + _setter("primary", primary) if region is not None: - pulumi.set(__self__, "region", region) + _setter("region", region) if street_address is not None: - pulumi.set(__self__, "street_address", street_address) + _setter("street_address", street_address) @property @pulumi.getter @@ -39187,15 +42962,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsUserDbCredentialIdcsCreatedBy._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -39361,15 +43153,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsUserDbCredentialIdcsLastModifiedBy._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -39550,16 +43359,33 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsUserDbCredentialMeta._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: Optional[str] = None, + last_modified: Optional[str] = None, + location: Optional[str] = None, + resource_type: Optional[str] = None, + version: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if created is not None: - pulumi.set(__self__, "created", created) + _setter("created", created) if last_modified is not None: - pulumi.set(__self__, "last_modified", last_modified) + _setter("last_modified", last_modified) if location is not None: - pulumi.set(__self__, "location", location) + _setter("location", location) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter @@ -39685,8 +43511,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsUserDbCredentialTag._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -39764,8 +43601,17 @@ def __init__(__self__, *, * type: boolean * uniqueness: none """ + DomainsUserDbCredentialUrnietfparamsscimschemasoracleidcsextensionselfChangeUser._configure( + lambda key, value: pulumi.set(__self__, key, value), + allow_self_change=allow_self_change, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allow_self_change: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): if allow_self_change is not None: - pulumi.set(__self__, "allow_self_change", allow_self_change) + _setter("allow_self_change", allow_self_change) @property @pulumi.getter(name="allowSelfChange") @@ -39856,15 +43702,32 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsUserDbCredentialUser._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + name=name, + ocid=ocid, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + name: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -40059,16 +43922,35 @@ def __init__(__self__, *, * type: boolean * uniqueness: none """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + DomainsUserEmail._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + pending_verification_data=pending_verification_data, + primary=primary, + secondary=secondary, + verified=verified, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + value: str, + pending_verification_data: Optional[str] = None, + primary: Optional[bool] = None, + secondary: Optional[bool] = None, + verified: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("value", value) if pending_verification_data is not None: - pulumi.set(__self__, "pending_verification_data", pending_verification_data) + _setter("pending_verification_data", pending_verification_data) if primary is not None: - pulumi.set(__self__, "primary", primary) + _setter("primary", primary) if secondary is not None: - pulumi.set(__self__, "secondary", secondary) + _setter("secondary", secondary) if verified is not None: - pulumi.set(__self__, "verified", verified) + _setter("verified", verified) @property @pulumi.getter @@ -40236,12 +44118,27 @@ def __init__(__self__, *, * type: boolean * uniqueness: none """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + DomainsUserEntitlement._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + display=display, + primary=primary, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + value: str, + display: Optional[str] = None, + primary: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if primary is not None: - pulumi.set(__self__, "primary", primary) + _setter("primary", primary) @property @pulumi.getter @@ -40459,23 +44356,48 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsUserGroup._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + date_added=date_added, + display=display, + external_id=external_id, + membership_ocid=membership_ocid, + non_unique_display=non_unique_display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + date_added: Optional[str] = None, + display: Optional[str] = None, + external_id: Optional[str] = None, + membership_ocid: Optional[str] = None, + non_unique_display: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if date_added is not None: - pulumi.set(__self__, "date_added", date_added) + _setter("date_added", date_added) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if external_id is not None: - pulumi.set(__self__, "external_id", external_id) + _setter("external_id", external_id) if membership_ocid is not None: - pulumi.set(__self__, "membership_ocid", membership_ocid) + _setter("membership_ocid", membership_ocid) if non_unique_display is not None: - pulumi.set(__self__, "non_unique_display", non_unique_display) + _setter("non_unique_display", non_unique_display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -40716,15 +44638,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsUserIdcsCreatedBy._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -40890,15 +44829,32 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsUserIdcsLastModifiedBy._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ocid=ocid, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -41048,12 +45004,27 @@ def __init__(__self__, *, * type: boolean * uniqueness: none """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + DomainsUserIm._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + display=display, + primary=primary, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + value: str, + display: Optional[str] = None, + primary: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if primary is not None: - pulumi.set(__self__, "primary", primary) + _setter("primary", primary) @property @pulumi.getter @@ -41212,16 +45183,33 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsUserMeta._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: Optional[str] = None, + last_modified: Optional[str] = None, + location: Optional[str] = None, + resource_type: Optional[str] = None, + version: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if created is not None: - pulumi.set(__self__, "created", created) + _setter("created", created) if last_modified is not None: - pulumi.set(__self__, "last_modified", last_modified) + _setter("last_modified", last_modified) if location is not None: - pulumi.set(__self__, "location", location) + _setter("location", location) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter @@ -41419,17 +45407,36 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "family_name", family_name) + DomainsUserName._configure( + lambda key, value: pulumi.set(__self__, key, value), + family_name=family_name, + formatted=formatted, + given_name=given_name, + honorific_prefix=honorific_prefix, + honorific_suffix=honorific_suffix, + middle_name=middle_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + family_name: str, + formatted: Optional[str] = None, + given_name: Optional[str] = None, + honorific_prefix: Optional[str] = None, + honorific_suffix: Optional[str] = None, + middle_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("family_name", family_name) if formatted is not None: - pulumi.set(__self__, "formatted", formatted) + _setter("formatted", formatted) if given_name is not None: - pulumi.set(__self__, "given_name", given_name) + _setter("given_name", given_name) if honorific_prefix is not None: - pulumi.set(__self__, "honorific_prefix", honorific_prefix) + _setter("honorific_prefix", honorific_prefix) if honorific_suffix is not None: - pulumi.set(__self__, "honorific_suffix", honorific_suffix) + _setter("honorific_suffix", honorific_suffix) if middle_name is not None: - pulumi.set(__self__, "middle_name", middle_name) + _setter("middle_name", middle_name) @property @pulumi.getter(name="familyName") @@ -41608,14 +45615,31 @@ def __init__(__self__, *, * type: boolean * uniqueness: none """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + DomainsUserPhoneNumber._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + display=display, + primary=primary, + verified=verified, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + value: str, + display: Optional[str] = None, + primary: Optional[bool] = None, + verified: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if primary is not None: - pulumi.set(__self__, "primary", primary) + _setter("primary", primary) if verified is not None: - pulumi.set(__self__, "verified", verified) + _setter("verified", verified) @property @pulumi.getter @@ -41761,12 +45785,27 @@ def __init__(__self__, *, * type: boolean * uniqueness: none """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + DomainsUserPhoto._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + display=display, + primary=primary, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + value: str, + display: Optional[str] = None, + primary: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if primary is not None: - pulumi.set(__self__, "primary", primary) + _setter("primary", primary) @property @pulumi.getter @@ -41894,12 +45933,27 @@ def __init__(__self__, *, * type: boolean * uniqueness: none """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + DomainsUserRole._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + display=display, + primary=primary, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + value: str, + display: Optional[str] = None, + primary: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if primary is not None: - pulumi.set(__self__, "primary", primary) + _setter("primary", primary) @property @pulumi.getter @@ -42008,8 +46062,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsUserTag._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -42164,18 +46229,37 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsUserUrnietfparamsscimschemasextensionenterprise20user._configure( + lambda key, value: pulumi.set(__self__, key, value), + cost_center=cost_center, + department=department, + division=division, + employee_number=employee_number, + manager=manager, + organization=organization, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cost_center: Optional[str] = None, + department: Optional[str] = None, + division: Optional[str] = None, + employee_number: Optional[str] = None, + manager: Optional['outputs.DomainsUserUrnietfparamsscimschemasextensionenterprise20userManager'] = None, + organization: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if cost_center is not None: - pulumi.set(__self__, "cost_center", cost_center) + _setter("cost_center", cost_center) if department is not None: - pulumi.set(__self__, "department", department) + _setter("department", department) if division is not None: - pulumi.set(__self__, "division", division) + _setter("division", division) if employee_number is not None: - pulumi.set(__self__, "employee_number", employee_number) + _setter("employee_number", employee_number) if manager is not None: - pulumi.set(__self__, "manager", manager) + _setter("manager", manager) if organization is not None: - pulumi.set(__self__, "organization", organization) + _setter("organization", organization) @property @pulumi.getter(name="costCenter") @@ -42362,12 +46446,25 @@ def __init__(__self__, *, ** 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 """ + DomainsUserUrnietfparamsscimschemasextensionenterprise20userManager._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: Optional[str] = None, + ref: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter(name="displayName") @@ -42488,12 +46585,25 @@ def __init__(__self__, *, * mutability: readOnly * returned: request """ + DomainsUserUrnietfparamsscimschemasoracleidcsextensionOciTags._configure( + lambda key, value: pulumi.set(__self__, key, value), + defined_tags=defined_tags, + freeform_tags=freeform_tags, + tag_slug=tag_slug, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + defined_tags: Optional[Sequence['outputs.DomainsUserUrnietfparamsscimschemasoracleidcsextensionOciTagsDefinedTag']] = None, + freeform_tags: Optional[Sequence['outputs.DomainsUserUrnietfparamsscimschemasoracleidcsextensionOciTagsFreeformTag']] = None, + tag_slug: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if tag_slug is not None: - pulumi.set(__self__, "tag_slug", tag_slug) + _setter("tag_slug", tag_slug) @property @pulumi.getter(name="definedTags") @@ -42596,9 +46706,22 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "value", value) + DomainsUserUrnietfparamsscimschemasoracleidcsextensionOciTagsDefinedTag._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + namespace=namespace, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + namespace: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("namespace", namespace) + _setter("value", value) @property @pulumi.getter @@ -42695,8 +46818,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + DomainsUserUrnietfparamsscimschemasoracleidcsextensionOciTagsFreeformTag._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -42791,10 +46925,21 @@ def __init__(__self__, *, * type: complex * uniqueness: none """ + DomainsUserUrnietfparamsscimschemasoracleidcsextensionadaptiveUser._configure( + lambda key, value: pulumi.set(__self__, key, value), + risk_level=risk_level, + risk_scores=risk_scores, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + risk_level: Optional[str] = None, + risk_scores: Optional[Sequence['outputs.DomainsUserUrnietfparamsscimschemasoracleidcsextensionadaptiveUserRiskScore']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if risk_level is not None: - pulumi.set(__self__, "risk_level", risk_level) + _setter("risk_level", risk_level) if risk_scores is not None: - pulumi.set(__self__, "risk_scores", risk_scores) + _setter("risk_scores", risk_scores) @property @pulumi.getter(name="riskLevel") @@ -42955,16 +47100,37 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "last_update_timestamp", last_update_timestamp) - pulumi.set(__self__, "risk_level", risk_level) - pulumi.set(__self__, "score", score) - pulumi.set(__self__, "value", value) + DomainsUserUrnietfparamsscimschemasoracleidcsextensionadaptiveUserRiskScore._configure( + lambda key, value: pulumi.set(__self__, key, value), + last_update_timestamp=last_update_timestamp, + risk_level=risk_level, + score=score, + value=value, + ref=ref, + source=source, + status=status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + last_update_timestamp: str, + risk_level: str, + score: int, + value: str, + ref: Optional[str] = None, + source: Optional[str] = None, + status: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("last_update_timestamp", last_update_timestamp) + _setter("risk_level", risk_level) + _setter("score", score) + _setter("value", value) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if source is not None: - pulumi.set(__self__, "source", source) + _setter("source", source) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) @property @pulumi.getter(name="lastUpdateTimestamp") @@ -43252,22 +47418,45 @@ def __init__(__self__, *, * type: boolean * uniqueness: none """ + DomainsUserUrnietfparamsscimschemasoracleidcsextensioncapabilitiesUser._configure( + lambda key, value: pulumi.set(__self__, key, value), + can_use_api_keys=can_use_api_keys, + can_use_auth_tokens=can_use_auth_tokens, + can_use_console=can_use_console, + can_use_console_password=can_use_console_password, + can_use_customer_secret_keys=can_use_customer_secret_keys, + can_use_db_credentials=can_use_db_credentials, + can_use_oauth2client_credentials=can_use_oauth2client_credentials, + can_use_smtp_credentials=can_use_smtp_credentials, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + can_use_api_keys: Optional[bool] = None, + can_use_auth_tokens: Optional[bool] = None, + can_use_console: Optional[bool] = None, + can_use_console_password: Optional[bool] = None, + can_use_customer_secret_keys: Optional[bool] = None, + can_use_db_credentials: Optional[bool] = None, + can_use_oauth2client_credentials: Optional[bool] = None, + can_use_smtp_credentials: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): if can_use_api_keys is not None: - pulumi.set(__self__, "can_use_api_keys", can_use_api_keys) + _setter("can_use_api_keys", can_use_api_keys) if can_use_auth_tokens is not None: - pulumi.set(__self__, "can_use_auth_tokens", can_use_auth_tokens) + _setter("can_use_auth_tokens", can_use_auth_tokens) if can_use_console is not None: - pulumi.set(__self__, "can_use_console", can_use_console) + _setter("can_use_console", can_use_console) if can_use_console_password is not None: - pulumi.set(__self__, "can_use_console_password", can_use_console_password) + _setter("can_use_console_password", can_use_console_password) if can_use_customer_secret_keys is not None: - pulumi.set(__self__, "can_use_customer_secret_keys", can_use_customer_secret_keys) + _setter("can_use_customer_secret_keys", can_use_customer_secret_keys) if can_use_db_credentials is not None: - pulumi.set(__self__, "can_use_db_credentials", can_use_db_credentials) + _setter("can_use_db_credentials", can_use_db_credentials) if can_use_oauth2client_credentials is not None: - pulumi.set(__self__, "can_use_oauth2client_credentials", can_use_oauth2client_credentials) + _setter("can_use_oauth2client_credentials", can_use_oauth2client_credentials) if can_use_smtp_credentials is not None: - pulumi.set(__self__, "can_use_smtp_credentials", can_use_smtp_credentials) + _setter("can_use_smtp_credentials", can_use_smtp_credentials) @property @pulumi.getter(name="canUseApiKeys") @@ -43481,10 +47670,21 @@ def __init__(__self__, *, * uniqueness: none * idcsSearchable: true """ + DomainsUserUrnietfparamsscimschemasoracleidcsextensiondbCredentialsUser._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_login_attempts=db_login_attempts, + db_user_name=db_user_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_login_attempts: Optional[int] = None, + db_user_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if db_login_attempts is not None: - pulumi.set(__self__, "db_login_attempts", db_login_attempts) + _setter("db_login_attempts", db_login_attempts) if db_user_name is not None: - pulumi.set(__self__, "db_user_name", db_user_name) + _setter("db_user_name", db_user_name) @property @pulumi.getter(name="dbLoginAttempts") @@ -43626,16 +47826,33 @@ def __init__(__self__, *, * type: complex * uniqueness: none """ + DomainsUserUrnietfparamsscimschemasoracleidcsextensiondbUserUser._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_global_roles=db_global_roles, + domain_level_schema=domain_level_schema, + instance_level_schema=instance_level_schema, + is_db_user=is_db_user, + password_verifiers=password_verifiers, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_global_roles: Optional[Sequence[str]] = None, + domain_level_schema: Optional[str] = None, + instance_level_schema: Optional[str] = None, + is_db_user: Optional[bool] = None, + password_verifiers: Optional[Sequence['outputs.DomainsUserUrnietfparamsscimschemasoracleidcsextensiondbUserUserPasswordVerifier']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if db_global_roles is not None: - pulumi.set(__self__, "db_global_roles", db_global_roles) + _setter("db_global_roles", db_global_roles) if domain_level_schema is not None: - pulumi.set(__self__, "domain_level_schema", domain_level_schema) + _setter("domain_level_schema", domain_level_schema) if instance_level_schema is not None: - pulumi.set(__self__, "instance_level_schema", instance_level_schema) + _setter("instance_level_schema", instance_level_schema) if is_db_user is not None: - pulumi.set(__self__, "is_db_user", is_db_user) + _setter("is_db_user", is_db_user) if password_verifiers is not None: - pulumi.set(__self__, "password_verifiers", password_verifiers) + _setter("password_verifiers", password_verifiers) @property @pulumi.getter(name="dbGlobalRoles") @@ -43769,8 +47986,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + DomainsUserUrnietfparamsscimschemasoracleidcsextensiondbUserUserPasswordVerifier._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -43844,8 +48072,17 @@ def __init__(__self__, *, * type: complex * uniqueness: none """ + DomainsUserUrnietfparamsscimschemasoracleidcsextensionkerberosUserUser._configure( + lambda key, value: pulumi.set(__self__, key, value), + realm_users=realm_users, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + realm_users: Optional[Sequence['outputs.DomainsUserUrnietfparamsscimschemasoracleidcsextensionkerberosUserUserRealmUser']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if realm_users is not None: - pulumi.set(__self__, "realm_users", realm_users) + _setter("realm_users", realm_users) @property @pulumi.getter(name="realmUsers") @@ -43940,13 +48177,28 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsUserUrnietfparamsscimschemasoracleidcsextensionkerberosUserUserRealmUser._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + principal_name=principal_name, + realm_name=realm_name, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + principal_name: Optional[str] = None, + realm_name: Optional[str] = None, + ref: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if principal_name is not None: - pulumi.set(__self__, "principal_name", principal_name) + _setter("principal_name", principal_name) if realm_name is not None: - pulumi.set(__self__, "realm_name", realm_name) + _setter("realm_name", realm_name) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -44215,28 +48467,57 @@ def __init__(__self__, *, * type: complex * uniqueness: none """ + DomainsUserUrnietfparamsscimschemasoracleidcsextensionmfaUser._configure( + lambda key, value: pulumi.set(__self__, key, value), + bypass_codes=bypass_codes, + devices=devices, + login_attempts=login_attempts, + mfa_enabled_on=mfa_enabled_on, + mfa_ignored_apps=mfa_ignored_apps, + mfa_status=mfa_status, + preferred_authentication_factor=preferred_authentication_factor, + preferred_authentication_method=preferred_authentication_method, + preferred_device=preferred_device, + preferred_third_party_vendor=preferred_third_party_vendor, + trusted_user_agents=trusted_user_agents, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bypass_codes: Optional[Sequence['outputs.DomainsUserUrnietfparamsscimschemasoracleidcsextensionmfaUserBypassCode']] = None, + devices: Optional[Sequence['outputs.DomainsUserUrnietfparamsscimschemasoracleidcsextensionmfaUserDevice']] = None, + login_attempts: Optional[int] = None, + mfa_enabled_on: Optional[str] = None, + mfa_ignored_apps: Optional[Sequence[str]] = None, + mfa_status: Optional[str] = None, + preferred_authentication_factor: Optional[str] = None, + preferred_authentication_method: Optional[str] = None, + preferred_device: Optional['outputs.DomainsUserUrnietfparamsscimschemasoracleidcsextensionmfaUserPreferredDevice'] = None, + preferred_third_party_vendor: Optional[str] = None, + trusted_user_agents: Optional[Sequence['outputs.DomainsUserUrnietfparamsscimschemasoracleidcsextensionmfaUserTrustedUserAgent']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if bypass_codes is not None: - pulumi.set(__self__, "bypass_codes", bypass_codes) + _setter("bypass_codes", bypass_codes) if devices is not None: - pulumi.set(__self__, "devices", devices) + _setter("devices", devices) if login_attempts is not None: - pulumi.set(__self__, "login_attempts", login_attempts) + _setter("login_attempts", login_attempts) if mfa_enabled_on is not None: - pulumi.set(__self__, "mfa_enabled_on", mfa_enabled_on) + _setter("mfa_enabled_on", mfa_enabled_on) if mfa_ignored_apps is not None: - pulumi.set(__self__, "mfa_ignored_apps", mfa_ignored_apps) + _setter("mfa_ignored_apps", mfa_ignored_apps) if mfa_status is not None: - pulumi.set(__self__, "mfa_status", mfa_status) + _setter("mfa_status", mfa_status) if preferred_authentication_factor is not None: - pulumi.set(__self__, "preferred_authentication_factor", preferred_authentication_factor) + _setter("preferred_authentication_factor", preferred_authentication_factor) if preferred_authentication_method is not None: - pulumi.set(__self__, "preferred_authentication_method", preferred_authentication_method) + _setter("preferred_authentication_method", preferred_authentication_method) if preferred_device is not None: - pulumi.set(__self__, "preferred_device", preferred_device) + _setter("preferred_device", preferred_device) if preferred_third_party_vendor is not None: - pulumi.set(__self__, "preferred_third_party_vendor", preferred_third_party_vendor) + _setter("preferred_third_party_vendor", preferred_third_party_vendor) if trusted_user_agents is not None: - pulumi.set(__self__, "trusted_user_agents", trusted_user_agents) + _setter("trusted_user_agents", trusted_user_agents) @property @pulumi.getter(name="bypassCodes") @@ -44489,9 +48770,20 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsUserUrnietfparamsscimschemasoracleidcsextensionmfaUserBypassCode._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + ref: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -44681,23 +48973,48 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsUserUrnietfparamsscimschemasoracleidcsextensionmfaUserDevice._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + authentication_method=authentication_method, + display=display, + factor_status=factor_status, + factor_type=factor_type, + last_sync_time=last_sync_time, + ref=ref, + status=status, + third_party_vendor_name=third_party_vendor_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + authentication_method: Optional[str] = None, + display: Optional[str] = None, + factor_status: Optional[str] = None, + factor_type: Optional[str] = None, + last_sync_time: Optional[str] = None, + ref: Optional[str] = None, + status: Optional[str] = None, + third_party_vendor_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if authentication_method is not None: - pulumi.set(__self__, "authentication_method", authentication_method) + _setter("authentication_method", authentication_method) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if factor_status is not None: - pulumi.set(__self__, "factor_status", factor_status) + _setter("factor_status", factor_status) if factor_type is not None: - pulumi.set(__self__, "factor_type", factor_type) + _setter("factor_type", factor_type) if last_sync_time is not None: - pulumi.set(__self__, "last_sync_time", last_sync_time) + _setter("last_sync_time", last_sync_time) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if third_party_vendor_name is not None: - pulumi.set(__self__, "third_party_vendor_name", third_party_vendor_name) + _setter("third_party_vendor_name", third_party_vendor_name) @property @pulumi.getter @@ -44915,11 +49232,24 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsUserUrnietfparamsscimschemasoracleidcsextensionmfaUserPreferredDevice._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ref: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -45023,11 +49353,24 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsUserUrnietfparamsscimschemasoracleidcsextensionmfaUserTrustedUserAgent._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ref: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -45220,22 +49563,45 @@ def __init__(__self__, *, * type: boolean * uniqueness: none """ + DomainsUserUrnietfparamsscimschemasoracleidcsextensionpasswordStateUser._configure( + lambda key, value: pulumi.set(__self__, key, value), + applicable_password_policy=applicable_password_policy, + cant_change=cant_change, + cant_expire=cant_expire, + expired=expired, + last_failed_validation_date=last_failed_validation_date, + last_successful_set_date=last_successful_set_date, + last_successful_validation_date=last_successful_validation_date, + must_change=must_change, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + applicable_password_policy: Optional['outputs.DomainsUserUrnietfparamsscimschemasoracleidcsextensionpasswordStateUserApplicablePasswordPolicy'] = None, + cant_change: Optional[bool] = None, + cant_expire: Optional[bool] = None, + expired: Optional[bool] = None, + last_failed_validation_date: Optional[str] = None, + last_successful_set_date: Optional[str] = None, + last_successful_validation_date: Optional[str] = None, + must_change: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): if applicable_password_policy is not None: - pulumi.set(__self__, "applicable_password_policy", applicable_password_policy) + _setter("applicable_password_policy", applicable_password_policy) if cant_change is not None: - pulumi.set(__self__, "cant_change", cant_change) + _setter("cant_change", cant_change) if cant_expire is not None: - pulumi.set(__self__, "cant_expire", cant_expire) + _setter("cant_expire", cant_expire) if expired is not None: - pulumi.set(__self__, "expired", expired) + _setter("expired", expired) if last_failed_validation_date is not None: - pulumi.set(__self__, "last_failed_validation_date", last_failed_validation_date) + _setter("last_failed_validation_date", last_failed_validation_date) if last_successful_set_date is not None: - pulumi.set(__self__, "last_successful_set_date", last_successful_set_date) + _setter("last_successful_set_date", last_successful_set_date) if last_successful_validation_date is not None: - pulumi.set(__self__, "last_successful_validation_date", last_successful_validation_date) + _setter("last_successful_validation_date", last_successful_validation_date) if must_change is not None: - pulumi.set(__self__, "must_change", must_change) + _setter("must_change", must_change) @property @pulumi.getter(name="applicablePasswordPolicy") @@ -45442,13 +49808,28 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsUserUrnietfparamsscimschemasoracleidcsextensionpasswordStateUserApplicablePasswordPolicy._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + priority=priority, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + priority: Optional[int] = None, + ref: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if priority is not None: - pulumi.set(__self__, "priority", priority) + _setter("priority", priority) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -45595,12 +49976,25 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsUserUrnietfparamsscimschemasoracleidcsextensionpasswordlessUser._configure( + lambda key, value: pulumi.set(__self__, key, value), + factor_identifier=factor_identifier, + factor_method=factor_method, + factor_type=factor_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + factor_identifier: Optional['outputs.DomainsUserUrnietfparamsscimschemasoracleidcsextensionpasswordlessUserFactorIdentifier'] = None, + factor_method: Optional[str] = None, + factor_type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if factor_identifier is not None: - pulumi.set(__self__, "factor_identifier", factor_identifier) + _setter("factor_identifier", factor_identifier) if factor_method is not None: - pulumi.set(__self__, "factor_method", factor_method) + _setter("factor_method", factor_method) if factor_type is not None: - pulumi.set(__self__, "factor_type", factor_type) + _setter("factor_type", factor_type) @property @pulumi.getter(name="factorIdentifier") @@ -45707,11 +50101,24 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsUserUrnietfparamsscimschemasoracleidcsextensionpasswordlessUserFactorIdentifier._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ref: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -45854,16 +50261,33 @@ def __init__(__self__, *, * type: integer * uniqueness: server """ + DomainsUserUrnietfparamsscimschemasoracleidcsextensionposixUser._configure( + lambda key, value: pulumi.set(__self__, key, value), + gecos=gecos, + gid_number=gid_number, + home_directory=home_directory, + login_shell=login_shell, + uid_number=uid_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + gecos: Optional[str] = None, + gid_number: Optional[int] = None, + home_directory: Optional[str] = None, + login_shell: Optional[str] = None, + uid_number: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if gecos is not None: - pulumi.set(__self__, "gecos", gecos) + _setter("gecos", gecos) if gid_number is not None: - pulumi.set(__self__, "gid_number", gid_number) + _setter("gid_number", gid_number) if home_directory is not None: - pulumi.set(__self__, "home_directory", home_directory) + _setter("home_directory", home_directory) if login_shell is not None: - pulumi.set(__self__, "login_shell", login_shell) + _setter("login_shell", login_shell) if uid_number is not None: - pulumi.set(__self__, "uid_number", uid_number) + _setter("uid_number", uid_number) @property @pulumi.getter @@ -45984,8 +50408,17 @@ def __init__(__self__, *, * type: complex * uniqueness: none """ + DomainsUserUrnietfparamsscimschemasoracleidcsextensionsecurityQuestionsUser._configure( + lambda key, value: pulumi.set(__self__, key, value), + sec_questions=sec_questions, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + sec_questions: Optional[Sequence['outputs.DomainsUserUrnietfparamsscimschemasoracleidcsextensionsecurityQuestionsUserSecQuestion']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if sec_questions is not None: - pulumi.set(__self__, "sec_questions", sec_questions) + _setter("sec_questions", sec_questions) @property @pulumi.getter(name="secQuestions") @@ -46080,12 +50513,27 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "answer", answer) - pulumi.set(__self__, "value", value) + DomainsUserUrnietfparamsscimschemasoracleidcsextensionsecurityQuestionsUserSecQuestion._configure( + lambda key, value: pulumi.set(__self__, key, value), + answer=answer, + value=value, + hint_text=hint_text, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + answer: str, + value: str, + hint_text: Optional[str] = None, + ref: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("answer", answer) + _setter("value", value) if hint_text is not None: - pulumi.set(__self__, "hint_text", hint_text) + _setter("hint_text", hint_text) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -46200,8 +50648,17 @@ def __init__(__self__, *, * type: boolean * uniqueness: none """ + DomainsUserUrnietfparamsscimschemasoracleidcsextensionselfChangeUser._configure( + lambda key, value: pulumi.set(__self__, key, value), + allow_self_change=allow_self_change, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allow_self_change: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): if allow_self_change is not None: - pulumi.set(__self__, "allow_self_change", allow_self_change) + _setter("allow_self_change", allow_self_change) @property @pulumi.getter(name="allowSelfChange") @@ -46285,11 +50742,24 @@ def __init__(__self__, *, * type: complex * uniqueness: none """ - pulumi.set(__self__, "self_registration_profile", self_registration_profile) + DomainsUserUrnietfparamsscimschemasoracleidcsextensionselfRegistrationUser._configure( + lambda key, value: pulumi.set(__self__, key, value), + self_registration_profile=self_registration_profile, + consent_granted=consent_granted, + user_token=user_token, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + self_registration_profile: 'outputs.DomainsUserUrnietfparamsscimschemasoracleidcsextensionselfRegistrationUserSelfRegistrationProfile', + consent_granted: Optional[bool] = None, + user_token: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("self_registration_profile", self_registration_profile) if consent_granted is not None: - pulumi.set(__self__, "consent_granted", consent_granted) + _setter("consent_granted", consent_granted) if user_token is not None: - pulumi.set(__self__, "user_token", user_token) + _setter("user_token", user_token) @property @pulumi.getter(name="selfRegistrationProfile") @@ -46390,11 +50860,24 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsUserUrnietfparamsscimschemasoracleidcsextensionselfRegistrationUserSelfRegistrationProfile._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ref: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -46487,8 +50970,17 @@ def __init__(__self__, *, * type: string * uniqueness: none """ + DomainsUserUrnietfparamsscimschemasoracleidcsextensionsffUser._configure( + lambda key, value: pulumi.set(__self__, key, value), + sff_auth_keys=sff_auth_keys, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + sff_auth_keys: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if sff_auth_keys is not None: - pulumi.set(__self__, "sff_auth_keys", sff_auth_keys) + _setter("sff_auth_keys", sff_auth_keys) @property @pulumi.getter(name="sffAuthKeys") @@ -46543,8 +51035,17 @@ def __init__(__self__, *, * type: complex * uniqueness: none """ + DomainsUserUrnietfparamsscimschemasoracleidcsextensionsocialAccountUser._configure( + lambda key, value: pulumi.set(__self__, key, value), + social_accounts=social_accounts, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + social_accounts: Optional[Sequence['outputs.DomainsUserUrnietfparamsscimschemasoracleidcsextensionsocialAccountUserSocialAccount']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if social_accounts is not None: - pulumi.set(__self__, "social_accounts", social_accounts) + _setter("social_accounts", social_accounts) @property @pulumi.getter(name="socialAccounts") @@ -46610,11 +51111,24 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsUserUrnietfparamsscimschemasoracleidcsextensionsocialAccountUserSocialAccount._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + ref: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -46710,8 +51224,17 @@ def __init__(__self__, *, * type: complex * uniqueness: none """ + DomainsUserUrnietfparamsscimschemasoracleidcsextensiontermsOfUseUser._configure( + lambda key, value: pulumi.set(__self__, key, value), + terms_of_use_consents=terms_of_use_consents, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + terms_of_use_consents: Optional[Sequence['outputs.DomainsUserUrnietfparamsscimschemasoracleidcsextensiontermsOfUseUserTermsOfUseConsent']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if terms_of_use_consents is not None: - pulumi.set(__self__, "terms_of_use_consents", terms_of_use_consents) + _setter("terms_of_use_consents", terms_of_use_consents) @property @pulumi.getter(name="termsOfUseConsents") @@ -46767,9 +51290,20 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsUserUrnietfparamsscimschemasoracleidcsextensiontermsOfUseUserTermsOfUseConsent._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + ref: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -46928,18 +51462,37 @@ def __init__(__self__, *, * type: complex * uniqueness: none """ + DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserCredentialsUser._configure( + lambda key, value: pulumi.set(__self__, key, value), + api_keys=api_keys, + auth_tokens=auth_tokens, + customer_secret_keys=customer_secret_keys, + db_credentials=db_credentials, + o_auth2client_credentials=o_auth2client_credentials, + smtp_credentials=smtp_credentials, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + api_keys: Optional[Sequence['outputs.DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserCredentialsUserApiKey']] = None, + auth_tokens: Optional[Sequence['outputs.DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserCredentialsUserAuthToken']] = None, + customer_secret_keys: Optional[Sequence['outputs.DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserCredentialsUserCustomerSecretKey']] = None, + db_credentials: Optional[Sequence['outputs.DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserCredentialsUserDbCredential']] = None, + o_auth2client_credentials: Optional[Sequence['outputs.DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserCredentialsUserOAuth2clientCredential']] = None, + smtp_credentials: Optional[Sequence['outputs.DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserCredentialsUserSmtpCredential']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if api_keys is not None: - pulumi.set(__self__, "api_keys", api_keys) + _setter("api_keys", api_keys) if auth_tokens is not None: - pulumi.set(__self__, "auth_tokens", auth_tokens) + _setter("auth_tokens", auth_tokens) if customer_secret_keys is not None: - pulumi.set(__self__, "customer_secret_keys", customer_secret_keys) + _setter("customer_secret_keys", customer_secret_keys) if db_credentials is not None: - pulumi.set(__self__, "db_credentials", db_credentials) + _setter("db_credentials", db_credentials) if o_auth2client_credentials is not None: - pulumi.set(__self__, "o_auth2client_credentials", o_auth2client_credentials) + _setter("o_auth2client_credentials", o_auth2client_credentials) if smtp_credentials is not None: - pulumi.set(__self__, "smtp_credentials", smtp_credentials) + _setter("smtp_credentials", smtp_credentials) @property @pulumi.getter(name="apiKeys") @@ -47123,14 +51676,29 @@ def __init__(__self__, *, ** 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 """ + DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserCredentialsUserApiKey._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -47260,12 +51828,25 @@ def __init__(__self__, *, ** 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 """ + DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserCredentialsUserAuthToken._configure( + lambda key, value: pulumi.set(__self__, key, value), + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ocid: Optional[str] = None, + ref: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -47375,12 +51956,25 @@ def __init__(__self__, *, ** 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 """ + DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserCredentialsUserCustomerSecretKey._configure( + lambda key, value: pulumi.set(__self__, key, value), + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ocid: Optional[str] = None, + ref: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -47490,12 +52084,25 @@ def __init__(__self__, *, ** 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 """ + DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserCredentialsUserDbCredential._configure( + lambda key, value: pulumi.set(__self__, key, value), + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ocid: Optional[str] = None, + ref: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -47605,12 +52212,25 @@ def __init__(__self__, *, ** 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 """ + DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserCredentialsUserOAuth2clientCredential._configure( + lambda key, value: pulumi.set(__self__, key, value), + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ocid: Optional[str] = None, + ref: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -47720,12 +52340,25 @@ def __init__(__self__, *, ** 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 """ + DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserCredentialsUserSmtpCredential._configure( + lambda key, value: pulumi.set(__self__, key, value), + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ocid: Optional[str] = None, + ref: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -47945,24 +52578,49 @@ def __init__(__self__, *, * type: complex * uniqueness: none """ + DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserStateUser._configure( + lambda key, value: pulumi.set(__self__, key, value), + last_failed_login_date=last_failed_login_date, + last_successful_login_date=last_successful_login_date, + locked=locked, + login_attempts=login_attempts, + max_concurrent_sessions=max_concurrent_sessions, + previous_successful_login_date=previous_successful_login_date, + recovery_attempts=recovery_attempts, + recovery_enroll_attempts=recovery_enroll_attempts, + recovery_locked=recovery_locked, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + last_failed_login_date: Optional[str] = None, + last_successful_login_date: Optional[str] = None, + locked: Optional['outputs.DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserStateUserLocked'] = None, + login_attempts: Optional[int] = None, + max_concurrent_sessions: Optional[int] = None, + previous_successful_login_date: Optional[str] = None, + recovery_attempts: Optional[int] = None, + recovery_enroll_attempts: Optional[int] = None, + recovery_locked: Optional['outputs.DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserStateUserRecoveryLocked'] = None, + opts: Optional[pulumi.ResourceOptions]=None): if last_failed_login_date is not None: - pulumi.set(__self__, "last_failed_login_date", last_failed_login_date) + _setter("last_failed_login_date", last_failed_login_date) if last_successful_login_date is not None: - pulumi.set(__self__, "last_successful_login_date", last_successful_login_date) + _setter("last_successful_login_date", last_successful_login_date) if locked is not None: - pulumi.set(__self__, "locked", locked) + _setter("locked", locked) if login_attempts is not None: - pulumi.set(__self__, "login_attempts", login_attempts) + _setter("login_attempts", login_attempts) if max_concurrent_sessions is not None: - pulumi.set(__self__, "max_concurrent_sessions", max_concurrent_sessions) + _setter("max_concurrent_sessions", max_concurrent_sessions) if previous_successful_login_date is not None: - pulumi.set(__self__, "previous_successful_login_date", previous_successful_login_date) + _setter("previous_successful_login_date", previous_successful_login_date) if recovery_attempts is not None: - pulumi.set(__self__, "recovery_attempts", recovery_attempts) + _setter("recovery_attempts", recovery_attempts) if recovery_enroll_attempts is not None: - pulumi.set(__self__, "recovery_enroll_attempts", recovery_enroll_attempts) + _setter("recovery_enroll_attempts", recovery_enroll_attempts) if recovery_locked is not None: - pulumi.set(__self__, "recovery_locked", recovery_locked) + _setter("recovery_locked", recovery_locked) @property @pulumi.getter(name="lastFailedLoginDate") @@ -48218,14 +52876,29 @@ def __init__(__self__, *, * type: integer * uniqueness: none """ + DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserStateUserLocked._configure( + lambda key, value: pulumi.set(__self__, key, value), + expired=expired, + lock_date=lock_date, + on=on, + reason=reason, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + expired: Optional[bool] = None, + lock_date: Optional[str] = None, + on: Optional[bool] = None, + reason: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if expired is not None: - pulumi.set(__self__, "expired", expired) + _setter("expired", expired) if lock_date is not None: - pulumi.set(__self__, "lock_date", lock_date) + _setter("lock_date", lock_date) if on is not None: - pulumi.set(__self__, "on", on) + _setter("on", on) if reason is not None: - pulumi.set(__self__, "reason", reason) + _setter("reason", reason) @property @pulumi.getter @@ -48359,10 +53032,21 @@ def __init__(__self__, *, * type: boolean * uniqueness: none """ + DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserStateUserRecoveryLocked._configure( + lambda key, value: pulumi.set(__self__, key, value), + lock_date=lock_date, + on=on, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + lock_date: Optional[str] = None, + on: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): if lock_date is not None: - pulumi.set(__self__, "lock_date", lock_date) + _setter("lock_date", lock_date) if on is not None: - pulumi.set(__self__, "on", on) + _setter("on", on) @property @pulumi.getter(name="lockDate") @@ -48786,54 +53470,109 @@ def __init__(__self__, *, * type: complex * uniqueness: none """ + DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserUser._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_recovery_required=account_recovery_required, + accounts=accounts, + app_roles=app_roles, + applicable_authentication_target_apps=applicable_authentication_target_apps, + bypass_notification=bypass_notification, + creation_mechanism=creation_mechanism, + delegated_authentication_target_app=delegated_authentication_target_app, + do_not_show_getting_started=do_not_show_getting_started, + grants=grants, + group_membership_last_modified=group_membership_last_modified, + idcs_app_roles_limited_to_groups=idcs_app_roles_limited_to_groups, + is_account_recovery_enrolled=is_account_recovery_enrolled, + is_authentication_delegated=is_authentication_delegated, + is_federated_user=is_federated_user, + is_group_membership_normalized=is_group_membership_normalized, + is_group_membership_synced_to_users_groups=is_group_membership_synced_to_users_groups, + notification_email_template_id=notification_email_template_id, + preferred_ui_landing_page=preferred_ui_landing_page, + status=status, + support_accounts=support_accounts, + synced_from_app=synced_from_app, + user_flow_controlled_by_external_client=user_flow_controlled_by_external_client, + user_provider=user_provider, + user_tokens=user_tokens, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_recovery_required: Optional[bool] = None, + accounts: Optional[Sequence['outputs.DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserUserAccount']] = None, + app_roles: Optional[Sequence['outputs.DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserUserAppRole']] = None, + applicable_authentication_target_apps: Optional[Sequence['outputs.DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserUserApplicableAuthenticationTargetApp']] = None, + bypass_notification: Optional[bool] = None, + creation_mechanism: Optional[str] = None, + delegated_authentication_target_app: Optional['outputs.DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserUserDelegatedAuthenticationTargetApp'] = None, + do_not_show_getting_started: Optional[bool] = None, + grants: Optional[Sequence['outputs.DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserUserGrant']] = None, + group_membership_last_modified: Optional[str] = None, + idcs_app_roles_limited_to_groups: Optional[Sequence['outputs.DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserUserIdcsAppRolesLimitedToGroup']] = None, + is_account_recovery_enrolled: Optional[bool] = None, + is_authentication_delegated: Optional[bool] = None, + is_federated_user: Optional[bool] = None, + is_group_membership_normalized: Optional[bool] = None, + is_group_membership_synced_to_users_groups: Optional[bool] = None, + notification_email_template_id: Optional[str] = None, + preferred_ui_landing_page: Optional[str] = None, + status: Optional[str] = None, + support_accounts: Optional[Sequence['outputs.DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserUserSupportAccount']] = None, + synced_from_app: Optional['outputs.DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserUserSyncedFromApp'] = None, + user_flow_controlled_by_external_client: Optional[bool] = None, + user_provider: Optional[str] = None, + user_tokens: Optional[Sequence['outputs.DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserUserUserToken']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if account_recovery_required is not None: - pulumi.set(__self__, "account_recovery_required", account_recovery_required) + _setter("account_recovery_required", account_recovery_required) if accounts is not None: - pulumi.set(__self__, "accounts", accounts) + _setter("accounts", accounts) if app_roles is not None: - pulumi.set(__self__, "app_roles", app_roles) + _setter("app_roles", app_roles) if applicable_authentication_target_apps is not None: - pulumi.set(__self__, "applicable_authentication_target_apps", applicable_authentication_target_apps) + _setter("applicable_authentication_target_apps", applicable_authentication_target_apps) if bypass_notification is not None: - pulumi.set(__self__, "bypass_notification", bypass_notification) + _setter("bypass_notification", bypass_notification) if creation_mechanism is not None: - pulumi.set(__self__, "creation_mechanism", creation_mechanism) + _setter("creation_mechanism", creation_mechanism) if delegated_authentication_target_app is not None: - pulumi.set(__self__, "delegated_authentication_target_app", delegated_authentication_target_app) + _setter("delegated_authentication_target_app", delegated_authentication_target_app) if do_not_show_getting_started is not None: - pulumi.set(__self__, "do_not_show_getting_started", do_not_show_getting_started) + _setter("do_not_show_getting_started", do_not_show_getting_started) if grants is not None: - pulumi.set(__self__, "grants", grants) + _setter("grants", grants) if group_membership_last_modified is not None: - pulumi.set(__self__, "group_membership_last_modified", group_membership_last_modified) + _setter("group_membership_last_modified", group_membership_last_modified) if idcs_app_roles_limited_to_groups is not None: - pulumi.set(__self__, "idcs_app_roles_limited_to_groups", idcs_app_roles_limited_to_groups) + _setter("idcs_app_roles_limited_to_groups", idcs_app_roles_limited_to_groups) if is_account_recovery_enrolled is not None: - pulumi.set(__self__, "is_account_recovery_enrolled", is_account_recovery_enrolled) + _setter("is_account_recovery_enrolled", is_account_recovery_enrolled) if is_authentication_delegated is not None: - pulumi.set(__self__, "is_authentication_delegated", is_authentication_delegated) + _setter("is_authentication_delegated", is_authentication_delegated) if is_federated_user is not None: - pulumi.set(__self__, "is_federated_user", is_federated_user) + _setter("is_federated_user", is_federated_user) if is_group_membership_normalized is not None: - pulumi.set(__self__, "is_group_membership_normalized", is_group_membership_normalized) + _setter("is_group_membership_normalized", is_group_membership_normalized) if is_group_membership_synced_to_users_groups is not None: - pulumi.set(__self__, "is_group_membership_synced_to_users_groups", is_group_membership_synced_to_users_groups) + _setter("is_group_membership_synced_to_users_groups", is_group_membership_synced_to_users_groups) if notification_email_template_id is not None: - pulumi.set(__self__, "notification_email_template_id", notification_email_template_id) + _setter("notification_email_template_id", notification_email_template_id) if preferred_ui_landing_page is not None: - pulumi.set(__self__, "preferred_ui_landing_page", preferred_ui_landing_page) + _setter("preferred_ui_landing_page", preferred_ui_landing_page) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if support_accounts is not None: - pulumi.set(__self__, "support_accounts", support_accounts) + _setter("support_accounts", support_accounts) if synced_from_app is not None: - pulumi.set(__self__, "synced_from_app", synced_from_app) + _setter("synced_from_app", synced_from_app) if user_flow_controlled_by_external_client is not None: - pulumi.set(__self__, "user_flow_controlled_by_external_client", user_flow_controlled_by_external_client) + _setter("user_flow_controlled_by_external_client", user_flow_controlled_by_external_client) if user_provider is not None: - pulumi.set(__self__, "user_provider", user_provider) + _setter("user_provider", user_provider) if user_tokens is not None: - pulumi.set(__self__, "user_tokens", user_tokens) + _setter("user_tokens", user_tokens) @property @pulumi.getter(name="accountRecoveryRequired") @@ -49387,16 +54126,33 @@ def __init__(__self__, *, ** 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 """ + DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserUserAccount._configure( + lambda key, value: pulumi.set(__self__, key, value), + active=active, + app_id=app_id, + name=name, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + active: Optional[bool] = None, + app_id: Optional[str] = None, + name: Optional[str] = None, + ref: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if active is not None: - pulumi.set(__self__, "active", active) + _setter("active", active) if app_id is not None: - pulumi.set(__self__, "app_id", app_id) + _setter("app_id", app_id) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -49619,21 +54375,44 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserUserAppRole._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + admin_role=admin_role, + app_id=app_id, + app_name=app_name, + display=display, + legacy_group_name=legacy_group_name, + ref=ref, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + admin_role: Optional[bool] = None, + app_id: Optional[str] = None, + app_name: Optional[str] = None, + display: Optional[str] = None, + legacy_group_name: Optional[str] = None, + ref: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if admin_role is not None: - pulumi.set(__self__, "admin_role", admin_role) + _setter("admin_role", admin_role) if app_id is not None: - pulumi.set(__self__, "app_id", app_id) + _setter("app_id", app_id) if app_name is not None: - pulumi.set(__self__, "app_name", app_name) + _setter("app_name", app_name) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if legacy_group_name is not None: - pulumi.set(__self__, "legacy_group_name", legacy_group_name) + _setter("legacy_group_name", legacy_group_name) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -49865,15 +54644,32 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "type", type) + DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserUserApplicableAuthenticationTargetApp._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + display=display, + ref=ref, + target_request_timeout=target_request_timeout, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + display: Optional[str] = None, + ref: Optional[str] = None, + target_request_timeout: Optional[int] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if target_request_timeout is not None: - pulumi.set(__self__, "target_request_timeout", target_request_timeout) + _setter("target_request_timeout", target_request_timeout) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -50025,12 +54821,27 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserUserDelegatedAuthenticationTargetApp._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + display=display, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + value: str, + display: Optional[str] = None, + ref: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -50202,16 +55013,33 @@ def __init__(__self__, *, ** 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 """ + DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserUserGrant._configure( + lambda key, value: pulumi.set(__self__, key, value), + app_id=app_id, + grant_mechanism=grant_mechanism, + grantor_id=grantor_id, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + app_id: Optional[str] = None, + grant_mechanism: Optional[str] = None, + grantor_id: Optional[str] = None, + ref: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if app_id is not None: - pulumi.set(__self__, "app_id", app_id) + _setter("app_id", app_id) if grant_mechanism is not None: - pulumi.set(__self__, "grant_mechanism", grant_mechanism) + _setter("grant_mechanism", grant_mechanism) if grantor_id is not None: - pulumi.set(__self__, "grantor_id", grantor_id) + _setter("grantor_id", grantor_id) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter(name="appId") @@ -50402,14 +55230,31 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "idcs_app_role_id", idcs_app_role_id) - pulumi.set(__self__, "value", value) + DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserUserIdcsAppRolesLimitedToGroup._configure( + lambda key, value: pulumi.set(__self__, key, value), + idcs_app_role_id=idcs_app_role_id, + value=value, + display=display, + ocid=ocid, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + idcs_app_role_id: str, + value: str, + display: Optional[str] = None, + ocid: Optional[str] = None, + ref: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("idcs_app_role_id", idcs_app_role_id) + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter(name="idcsAppRoleId") @@ -50603,16 +55448,33 @@ def __init__(__self__, *, ** 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 """ + DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserUserSupportAccount._configure( + lambda key, value: pulumi.set(__self__, key, value), + ocid=ocid, + ref=ref, + user_id=user_id, + user_provider=user_provider, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ocid: Optional[str] = None, + ref: Optional[str] = None, + user_id: Optional[str] = None, + user_provider: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ocid is not None: - pulumi.set(__self__, "ocid", ocid) + _setter("ocid", ocid) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if user_id is not None: - pulumi.set(__self__, "user_id", user_id) + _setter("user_id", user_id) if user_provider is not None: - pulumi.set(__self__, "user_provider", user_provider) + _setter("user_provider", user_provider) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -50770,12 +55632,27 @@ def __init__(__self__, *, * type: reference * uniqueness: none """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserUserSyncedFromApp._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + display=display, + ref=ref, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + value: str, + display: Optional[str] = None, + ref: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) @property @pulumi.getter @@ -50885,10 +55762,21 @@ def __init__(__self__, *, ** 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 """ + DomainsUserUrnietfparamsscimschemasoracleidcsextensionuserUserUserToken._configure( + lambda key, value: pulumi.set(__self__, key, value), + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ref: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ref is not None: - pulumi.set(__self__, "ref", ref) + _setter("ref", ref) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -50984,13 +55872,28 @@ def __init__(__self__, *, * type: string * uniqueness: none """ - pulumi.set(__self__, "value", value) + DomainsUserX509certificate._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + display=display, + primary=primary, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + display: Optional[str] = None, + primary: Optional[bool] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if display is not None: - pulumi.set(__self__, "display", display) + _setter("display", display) if primary is not None: - pulumi.set(__self__, "primary", primary) + _setter("primary", primary) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -51089,8 +55992,19 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, ip_ranges: Sequence[str], vcn_id: str): - pulumi.set(__self__, "ip_ranges", ip_ranges) - pulumi.set(__self__, "vcn_id", vcn_id) + NetworkSourceVirtualSourceList._configure( + lambda key, value: pulumi.set(__self__, key, value), + ip_ranges=ip_ranges, + vcn_id=vcn_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ip_ranges: Sequence[str], + vcn_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ip_ranges", ip_ranges) + _setter("vcn_id", vcn_id) @property @pulumi.getter(name="ipRanges") @@ -51129,8 +56043,19 @@ def __init__(__self__, *, :param str validator_type: (Updatable) Specifies the type of validation: a static value (no validation) or a list. :param Sequence[str] values: (Updatable) The list of allowed values for a definedTag value. """ - pulumi.set(__self__, "validator_type", validator_type) - pulumi.set(__self__, "values", values) + TagValidator._configure( + lambda key, value: pulumi.set(__self__, key, value), + validator_type=validator_type, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + validator_type: str, + values: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("validator_type", validator_type) + _setter("values", values) @property @pulumi.getter(name="validatorType") @@ -51197,20 +56122,41 @@ def __init__(__self__, *, :param bool can_use_oauth2client_credentials: Indicates if the user can use OAuth2 credentials and tokens. :param bool can_use_smtp_credentials: Indicates if the user can use SMTP passwords. """ + UserCapability._configure( + lambda key, value: pulumi.set(__self__, key, value), + can_use_api_keys=can_use_api_keys, + can_use_auth_tokens=can_use_auth_tokens, + can_use_console_password=can_use_console_password, + can_use_customer_secret_keys=can_use_customer_secret_keys, + can_use_db_credentials=can_use_db_credentials, + can_use_oauth2client_credentials=can_use_oauth2client_credentials, + can_use_smtp_credentials=can_use_smtp_credentials, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + can_use_api_keys: Optional[bool] = None, + can_use_auth_tokens: Optional[bool] = None, + can_use_console_password: Optional[bool] = None, + can_use_customer_secret_keys: Optional[bool] = None, + can_use_db_credentials: Optional[bool] = None, + can_use_oauth2client_credentials: Optional[bool] = None, + can_use_smtp_credentials: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): if can_use_api_keys is not None: - pulumi.set(__self__, "can_use_api_keys", can_use_api_keys) + _setter("can_use_api_keys", can_use_api_keys) if can_use_auth_tokens is not None: - pulumi.set(__self__, "can_use_auth_tokens", can_use_auth_tokens) + _setter("can_use_auth_tokens", can_use_auth_tokens) if can_use_console_password is not None: - pulumi.set(__self__, "can_use_console_password", can_use_console_password) + _setter("can_use_console_password", can_use_console_password) if can_use_customer_secret_keys is not None: - pulumi.set(__self__, "can_use_customer_secret_keys", can_use_customer_secret_keys) + _setter("can_use_customer_secret_keys", can_use_customer_secret_keys) if can_use_db_credentials is not None: - pulumi.set(__self__, "can_use_db_credentials", can_use_db_credentials) + _setter("can_use_db_credentials", can_use_db_credentials) if can_use_oauth2client_credentials is not None: - pulumi.set(__self__, "can_use_oauth2client_credentials", can_use_oauth2client_credentials) + _setter("can_use_oauth2client_credentials", can_use_oauth2client_credentials) if can_use_smtp_credentials is not None: - pulumi.set(__self__, "can_use_smtp_credentials", can_use_smtp_credentials) + _setter("can_use_smtp_credentials", can_use_smtp_credentials) @property @pulumi.getter(name="canUseApiKeys") @@ -51280,9 +56226,22 @@ def __init__(__self__, *, :param str license_type: The license type identifier. Example: "oracle-apps-premium" :param str name: The license type name. Example: "Oracle Apps Premium" """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "license_type", license_type) - pulumi.set(__self__, "name", name) + GetAllowedDomainLicenseTypesAllowedDomainLicenseTypeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + license_type=license_type, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + license_type: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("license_type", license_type) + _setter("name", name) @property @pulumi.getter @@ -51318,10 +56277,23 @@ def __init__(__self__, *, """ :param str name: The license type name. Example: "Oracle Apps Premium" """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAllowedDomainLicenseTypesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -51361,13 +56333,34 @@ def __init__(__self__, *, :param str time_created: Date and time the `ApiKey` object was created, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z` :param str user_id: The OCID of the user. """ - pulumi.set(__self__, "fingerprint", fingerprint) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "inactive_status", inactive_status) - pulumi.set(__self__, "key_value", key_value) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "user_id", user_id) + GetApiKeysApiKeyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + fingerprint=fingerprint, + id=id, + inactive_status=inactive_status, + key_value=key_value, + state=state, + time_created=time_created, + user_id=user_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + fingerprint: str, + id: str, + inactive_status: str, + key_value: str, + state: str, + time_created: str, + user_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("fingerprint", fingerprint) + _setter("id", id) + _setter("inactive_status", inactive_status) + _setter("key_value", key_value) + _setter("state", state) + _setter("time_created", time_created) + _setter("user_id", user_id) @property @pulumi.getter @@ -51432,10 +56425,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetApiKeysFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -51459,10 +56465,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAuthTokensFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -51501,14 +56520,37 @@ def __init__(__self__, *, :param str token: The auth token. The value is available only in the response for `CreateAuthToken`, and not for `ListAuthTokens` or `UpdateAuthToken`. :param str user_id: The OCID of the user. """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "inactive_state", inactive_state) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_expires", time_expires) - pulumi.set(__self__, "token", token) - pulumi.set(__self__, "user_id", user_id) + GetAuthTokensTokenResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + id=id, + inactive_state=inactive_state, + state=state, + time_created=time_created, + time_expires=time_expires, + token=token, + user_id=user_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + id: str, + inactive_state: str, + state: str, + time_created: str, + time_expires: str, + token: str, + user_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("id", id) + _setter("inactive_state", inactive_state) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_expires", time_expires) + _setter("token", token) + _setter("user_id", user_id) @property @pulumi.getter @@ -51582,7 +56624,16 @@ def __init__(__self__, *, """ :param Sequence[str] network_source_ids: Network Source ids """ - pulumi.set(__self__, "network_source_ids", network_source_ids) + GetAuthenticationPolicyNetworkPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + network_source_ids=network_source_ids, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + network_source_ids: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("network_source_ids", network_source_ids) @property @pulumi.getter(name="networkSourceIds") @@ -51610,12 +56661,31 @@ def __init__(__self__, *, :param bool is_username_containment_allowed: User name is allowed to be part of the password. :param int minimum_password_length: Minimum password length required. """ - pulumi.set(__self__, "is_lowercase_characters_required", is_lowercase_characters_required) - pulumi.set(__self__, "is_numeric_characters_required", is_numeric_characters_required) - pulumi.set(__self__, "is_special_characters_required", is_special_characters_required) - pulumi.set(__self__, "is_uppercase_characters_required", is_uppercase_characters_required) - pulumi.set(__self__, "is_username_containment_allowed", is_username_containment_allowed) - pulumi.set(__self__, "minimum_password_length", minimum_password_length) + GetAuthenticationPolicyPasswordPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_lowercase_characters_required=is_lowercase_characters_required, + is_numeric_characters_required=is_numeric_characters_required, + is_special_characters_required=is_special_characters_required, + is_uppercase_characters_required=is_uppercase_characters_required, + is_username_containment_allowed=is_username_containment_allowed, + minimum_password_length=minimum_password_length, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_lowercase_characters_required: bool, + is_numeric_characters_required: bool, + is_special_characters_required: bool, + is_uppercase_characters_required: bool, + is_username_containment_allowed: bool, + minimum_password_length: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_lowercase_characters_required", is_lowercase_characters_required) + _setter("is_numeric_characters_required", is_numeric_characters_required) + _setter("is_special_characters_required", is_special_characters_required) + _setter("is_uppercase_characters_required", is_uppercase_characters_required) + _setter("is_username_containment_allowed", is_username_containment_allowed) + _setter("minimum_password_length", minimum_password_length) @property @pulumi.getter(name="isLowercaseCharactersRequired") @@ -51677,9 +56747,22 @@ def __init__(__self__, *, :param str id: The OCID of the Availability Domain. :param str name: The name of the Availability Domain. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "name", name) + GetAvailabilityDomainsAvailabilityDomainResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + id=id, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + id: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("id", id) + _setter("name", name) @property @pulumi.getter(name="compartmentId") @@ -51715,10 +56798,23 @@ def __init__(__self__, *, """ :param str name: The name of the Availability Domain. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAvailabilityDomainsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -51765,17 +56861,46 @@ def __init__(__self__, *, :param str state: A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. :param str time_created: Date and time the compartment was created, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "enable_delete", enable_delete) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "inactive_state", inactive_state) - pulumi.set(__self__, "is_accessible", is_accessible) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) + GetCompartmentsCompartmentResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + enable_delete=enable_delete, + freeform_tags=freeform_tags, + id=id, + inactive_state=inactive_state, + is_accessible=is_accessible, + name=name, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + enable_delete: bool, + freeform_tags: Mapping[str, Any], + id: str, + inactive_state: str, + is_accessible: bool, + name: str, + state: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("enable_delete", enable_delete) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("inactive_state", inactive_state) + _setter("is_accessible", is_accessible) + _setter("name", name) + _setter("state", state) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -51872,10 +56997,23 @@ def __init__(__self__, *, """ :param str name: A filter to only return resources that match the given name exactly. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetCompartmentsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -51906,10 +57044,23 @@ def __init__(__self__, *, :param str name: The name assigned to the tag during creation. This is the tag key definition. The name must be unique within the tag namespace and cannot be changed. :param Sequence[str] values: The list of allowed values for a definedTag value. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetCostTrackingTagsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -51964,19 +57115,52 @@ def __init__(__self__, *, :param str time_created: Date and time the tag was created, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z` :param Sequence['GetCostTrackingTagsTagValidatorArgs'] validators: Validates a definedTag value. Each validator performs validation steps in addition to the standard validation for definedTag values. For more information, see [Limits on Tags](https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/taggingoverview.htm#Limits). """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_cost_tracking", is_cost_tracking) - pulumi.set(__self__, "is_retired", is_retired) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "tag_namespace_id", tag_namespace_id) - pulumi.set(__self__, "tag_namespace_name", tag_namespace_name) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "validators", validators) + GetCostTrackingTagsTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + id=id, + is_cost_tracking=is_cost_tracking, + is_retired=is_retired, + name=name, + state=state, + tag_namespace_id=tag_namespace_id, + tag_namespace_name=tag_namespace_name, + time_created=time_created, + validators=validators, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + freeform_tags: Mapping[str, Any], + id: str, + is_cost_tracking: bool, + is_retired: bool, + name: str, + state: str, + tag_namespace_id: str, + tag_namespace_name: str, + time_created: str, + validators: Sequence['outputs.GetCostTrackingTagsTagValidatorResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_cost_tracking", is_cost_tracking) + _setter("is_retired", is_retired) + _setter("name", name) + _setter("state", state) + _setter("tag_namespace_id", tag_namespace_id) + _setter("tag_namespace_name", tag_namespace_name) + _setter("time_created", time_created) + _setter("validators", validators) @property @pulumi.getter(name="compartmentId") @@ -52092,8 +57276,19 @@ def __init__(__self__, *, :param str validator_type: Specifies the type of validation: a static value (no validation) or a list. :param Sequence[str] values: The list of allowed values for a definedTag value. """ - pulumi.set(__self__, "validator_type", validator_type) - pulumi.set(__self__, "values", values) + GetCostTrackingTagsTagValidatorResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + validator_type=validator_type, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + validator_type: str, + values: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("validator_type", validator_type) + _setter("values", values) @property @pulumi.getter(name="validatorType") @@ -52132,14 +57327,37 @@ def __init__(__self__, *, :param str time_expires: Date and time when this password will expire, in the format defined by RFC3339. Null if it never expires. Example: `2016-08-25T21:10:29.600Z` :param str user_id: The OCID of the user. """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "inactive_state", inactive_state) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_expires", time_expires) - pulumi.set(__self__, "user_id", user_id) + GetCustomerSecretKeysCustomerSecretKeyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + id=id, + inactive_state=inactive_state, + key=key, + state=state, + time_created=time_created, + time_expires=time_expires, + user_id=user_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + id: str, + inactive_state: str, + key: str, + state: str, + time_created: str, + time_expires: str, + user_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("id", id) + _setter("inactive_state", inactive_state) + _setter("key", key) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_expires", time_expires) + _setter("user_id", user_id) @property @pulumi.getter(name="displayName") @@ -52209,10 +57427,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetCustomerSecretKeysFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -52249,14 +57480,37 @@ def __init__(__self__, *, :param str time_expires: Date and time when this credential will expire, in the format defined by RFC3339. Null if it never expires. Example: `2016-08-25T21:10:29.600Z` :param str user_id: The OCID of the user. """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_expires", time_expires) - pulumi.set(__self__, "user_id", user_id) + GetDbCredentialsDbCredentialResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + id=id, + lifecycle_details=lifecycle_details, + password=password, + state=state, + time_created=time_created, + time_expires=time_expires, + user_id=user_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + id: str, + lifecycle_details: str, + password: str, + state: str, + time_created: str, + time_expires: str, + user_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("password", password) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_expires", time_expires) + _setter("user_id", user_id) @property @pulumi.getter @@ -52326,10 +57580,23 @@ def __init__(__self__, *, """ :param str name: A filter to only return resources that match the given name exactly. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDbCredentialsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -52361,9 +57628,22 @@ def __init__(__self__, *, :param str state: The current state. :param str url: Region agnostic domain URL. """ - pulumi.set(__self__, "region", region) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "url", url) + GetDomainReplicaRegionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + region=region, + state=state, + url=url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + region: str, + state: str, + url: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("region", region) + _setter("state", state) + _setter("url", url) @property @pulumi.getter @@ -52433,25 +57713,70 @@ def __init__(__self__, *, :param bool show_in_my_apps: If true, this App will be displayed in the MyApps page of each end-user who has access to the App. :param str value: UserWalletArtifact identifier """ - pulumi.set(__self__, "active", active) - pulumi.set(__self__, "app_icon", app_icon) - pulumi.set(__self__, "app_thumbnail", app_thumbnail) - pulumi.set(__self__, "audience", audience) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "is_alias_app", is_alias_app) - pulumi.set(__self__, "is_authoritative", is_authoritative) - pulumi.set(__self__, "is_login_target", is_login_target) - pulumi.set(__self__, "is_managed_app", is_managed_app) - pulumi.set(__self__, "is_oauth_resource", is_oauth_resource) - pulumi.set(__self__, "is_opc_service", is_opc_service) - pulumi.set(__self__, "is_unmanaged_app", is_unmanaged_app) - pulumi.set(__self__, "login_mechanism", login_mechanism) - pulumi.set(__self__, "meter_as_opc_service", meter_as_opc_service) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "service_type_urn", service_type_urn) - pulumi.set(__self__, "show_in_my_apps", show_in_my_apps) - pulumi.set(__self__, "value", value) + GetDomainsAccountMgmtInfoAppResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + active=active, + app_icon=app_icon, + app_thumbnail=app_thumbnail, + audience=audience, + description=description, + display=display, + is_alias_app=is_alias_app, + is_authoritative=is_authoritative, + is_login_target=is_login_target, + is_managed_app=is_managed_app, + is_oauth_resource=is_oauth_resource, + is_opc_service=is_opc_service, + is_unmanaged_app=is_unmanaged_app, + login_mechanism=login_mechanism, + meter_as_opc_service=meter_as_opc_service, + ref=ref, + service_type_urn=service_type_urn, + show_in_my_apps=show_in_my_apps, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + active: bool, + app_icon: str, + app_thumbnail: str, + audience: str, + description: str, + display: str, + is_alias_app: bool, + is_authoritative: bool, + is_login_target: bool, + is_managed_app: bool, + is_oauth_resource: bool, + is_opc_service: bool, + is_unmanaged_app: bool, + login_mechanism: str, + meter_as_opc_service: bool, + ref: str, + service_type_urn: str, + show_in_my_apps: bool, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("active", active) + _setter("app_icon", app_icon) + _setter("app_thumbnail", app_thumbnail) + _setter("audience", audience) + _setter("description", description) + _setter("display", display) + _setter("is_alias_app", is_alias_app) + _setter("is_authoritative", is_authoritative) + _setter("is_login_target", is_login_target) + _setter("is_managed_app", is_managed_app) + _setter("is_oauth_resource", is_oauth_resource) + _setter("is_opc_service", is_opc_service) + _setter("is_unmanaged_app", is_unmanaged_app) + _setter("login_mechanism", login_mechanism) + _setter("meter_as_opc_service", meter_as_opc_service) + _setter("ref", ref) + _setter("service_type_urn", service_type_urn) + _setter("show_in_my_apps", show_in_my_apps) + _setter("value", value) @property @pulumi.getter @@ -52621,11 +57946,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: UserWalletArtifact identifier """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsAccountMgmtInfoIdcsCreatedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -52683,11 +58025,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: UserWalletArtifact identifier """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsAccountMgmtInfoIdcsLastModifiedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -52745,11 +58104,28 @@ def __init__(__self__, *, :param str user_name: User name :param str value: UserWalletArtifact identifier """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "email", email) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "user_name", user_name) - pulumi.set(__self__, "value", value) + GetDomainsAccountMgmtInfoMatchingOwnerResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + email=email, + ref=ref, + user_name=user_name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + email: str, + ref: str, + user_name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("email", email) + _setter("ref", ref) + _setter("user_name", user_name) + _setter("value", value) @property @pulumi.getter @@ -52807,11 +58183,28 @@ def __init__(__self__, *, :param str resource_type: Resource Type of the Account :param str version: The version of the Resource being returned. This value must be the same as the ETag HTTP response header. """ - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "version", version) + GetDomainsAccountMgmtInfoMetaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: str, + last_modified: str, + location: str, + resource_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created", created) + _setter("last_modified", last_modified) + _setter("location", location) + _setter("resource_type", resource_type) + _setter("version", version) @property @pulumi.getter @@ -52865,9 +58258,22 @@ def __init__(__self__, *, :param str ref: UserWalletArtifact URI :param str value: UserWalletArtifact identifier """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsAccountMgmtInfoObjectClassResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -52909,11 +58315,28 @@ def __init__(__self__, *, :param str user_name: User name :param str value: UserWalletArtifact identifier """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "email", email) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "user_name", user_name) - pulumi.set(__self__, "value", value) + GetDomainsAccountMgmtInfoOwnerResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + email=email, + ref=ref, + user_name=user_name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + email: str, + ref: str, + user_name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("email", email) + _setter("ref", ref) + _setter("user_name", user_name) + _setter("value", value) @property @pulumi.getter @@ -52967,9 +58390,22 @@ def __init__(__self__, *, :param str ref: UserWalletArtifact URI :param str value: UserWalletArtifact identifier """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsAccountMgmtInfoResourceTypeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -53005,8 +58441,19 @@ def __init__(__self__, *, :param str key: Key or name of the tag. :param str value: UserWalletArtifact identifier """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsAccountMgmtInfoTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -53034,8 +58481,19 @@ def __init__(__self__, *, :param str ref: UserWalletArtifact URI :param str value: UserWalletArtifact identifier """ - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsAccountMgmtInfoUserWalletArtifactResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -53138,46 +58596,133 @@ def __init__(__self__, *, :param str uid: Unique identifier of the Account :param Sequence['GetDomainsAccountMgmtInfosAccountMgmtInfoUserWalletArtifactArgs'] user_wallet_artifacts: The UserWalletArtifact that contains the credentials that the system will use when performing Secure Form-Fill to log the user in to this application """ - pulumi.set(__self__, "account_mgmt_info_id", account_mgmt_info_id) - pulumi.set(__self__, "account_type", account_type) - pulumi.set(__self__, "active", active) - pulumi.set(__self__, "apps", apps) - pulumi.set(__self__, "attribute_sets", attribute_sets) - pulumi.set(__self__, "attributes", attributes) - pulumi.set(__self__, "authorization", authorization) - pulumi.set(__self__, "compartment_ocid", compartment_ocid) - pulumi.set(__self__, "composite_key", composite_key) - pulumi.set(__self__, "delete_in_progress", delete_in_progress) - pulumi.set(__self__, "do_not_back_fill_grants", do_not_back_fill_grants) - pulumi.set(__self__, "do_not_perform_action_on_target", do_not_perform_action_on_target) - pulumi.set(__self__, "domain_ocid", domain_ocid) - pulumi.set(__self__, "favorite", favorite) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "idcs_created_bies", idcs_created_bies) - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) - pulumi.set(__self__, "idcs_last_modified_bies", idcs_last_modified_bies) - pulumi.set(__self__, "idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) - pulumi.set(__self__, "idcs_prevented_operations", idcs_prevented_operations) - pulumi.set(__self__, "is_account", is_account) - pulumi.set(__self__, "last_accessed", last_accessed) - pulumi.set(__self__, "matching_owners", matching_owners) - pulumi.set(__self__, "metas", metas) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "object_classes", object_classes) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "operation_context", operation_context) - pulumi.set(__self__, "owners", owners) - pulumi.set(__self__, "preview_only", preview_only) - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) - pulumi.set(__self__, "resource_types", resource_types) - pulumi.set(__self__, "schemas", schemas) - pulumi.set(__self__, "sync_response", sync_response) - pulumi.set(__self__, "sync_situation", sync_situation) - pulumi.set(__self__, "sync_timestamp", sync_timestamp) - pulumi.set(__self__, "tags", tags) - pulumi.set(__self__, "tenancy_ocid", tenancy_ocid) - pulumi.set(__self__, "uid", uid) - pulumi.set(__self__, "user_wallet_artifacts", user_wallet_artifacts) + GetDomainsAccountMgmtInfosAccountMgmtInfoResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_mgmt_info_id=account_mgmt_info_id, + account_type=account_type, + active=active, + apps=apps, + attribute_sets=attribute_sets, + attributes=attributes, + authorization=authorization, + compartment_ocid=compartment_ocid, + composite_key=composite_key, + delete_in_progress=delete_in_progress, + do_not_back_fill_grants=do_not_back_fill_grants, + do_not_perform_action_on_target=do_not_perform_action_on_target, + domain_ocid=domain_ocid, + favorite=favorite, + id=id, + idcs_created_bies=idcs_created_bies, + idcs_endpoint=idcs_endpoint, + idcs_last_modified_bies=idcs_last_modified_bies, + idcs_last_upgraded_in_release=idcs_last_upgraded_in_release, + idcs_prevented_operations=idcs_prevented_operations, + is_account=is_account, + last_accessed=last_accessed, + matching_owners=matching_owners, + metas=metas, + name=name, + object_classes=object_classes, + ocid=ocid, + operation_context=operation_context, + owners=owners, + preview_only=preview_only, + resource_type_schema_version=resource_type_schema_version, + resource_types=resource_types, + schemas=schemas, + sync_response=sync_response, + sync_situation=sync_situation, + sync_timestamp=sync_timestamp, + tags=tags, + tenancy_ocid=tenancy_ocid, + uid=uid, + user_wallet_artifacts=user_wallet_artifacts, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_mgmt_info_id: str, + account_type: str, + active: bool, + apps: Sequence['outputs.GetDomainsAccountMgmtInfosAccountMgmtInfoAppResult'], + attribute_sets: Sequence[str], + attributes: str, + authorization: str, + compartment_ocid: str, + composite_key: str, + delete_in_progress: bool, + do_not_back_fill_grants: bool, + do_not_perform_action_on_target: bool, + domain_ocid: str, + favorite: bool, + id: str, + idcs_created_bies: Sequence['outputs.GetDomainsAccountMgmtInfosAccountMgmtInfoIdcsCreatedByResult'], + idcs_endpoint: str, + idcs_last_modified_bies: Sequence['outputs.GetDomainsAccountMgmtInfosAccountMgmtInfoIdcsLastModifiedByResult'], + idcs_last_upgraded_in_release: str, + idcs_prevented_operations: Sequence[str], + is_account: bool, + last_accessed: str, + matching_owners: Sequence['outputs.GetDomainsAccountMgmtInfosAccountMgmtInfoMatchingOwnerResult'], + metas: Sequence['outputs.GetDomainsAccountMgmtInfosAccountMgmtInfoMetaResult'], + name: str, + object_classes: Sequence['outputs.GetDomainsAccountMgmtInfosAccountMgmtInfoObjectClassResult'], + ocid: str, + operation_context: str, + owners: Sequence['outputs.GetDomainsAccountMgmtInfosAccountMgmtInfoOwnerResult'], + preview_only: bool, + resource_type_schema_version: str, + resource_types: Sequence['outputs.GetDomainsAccountMgmtInfosAccountMgmtInfoResourceTypeResult'], + schemas: Sequence[str], + sync_response: str, + sync_situation: str, + sync_timestamp: str, + tags: Sequence['outputs.GetDomainsAccountMgmtInfosAccountMgmtInfoTagResult'], + tenancy_ocid: str, + uid: str, + user_wallet_artifacts: Sequence['outputs.GetDomainsAccountMgmtInfosAccountMgmtInfoUserWalletArtifactResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("account_mgmt_info_id", account_mgmt_info_id) + _setter("account_type", account_type) + _setter("active", active) + _setter("apps", apps) + _setter("attribute_sets", attribute_sets) + _setter("attributes", attributes) + _setter("authorization", authorization) + _setter("compartment_ocid", compartment_ocid) + _setter("composite_key", composite_key) + _setter("delete_in_progress", delete_in_progress) + _setter("do_not_back_fill_grants", do_not_back_fill_grants) + _setter("do_not_perform_action_on_target", do_not_perform_action_on_target) + _setter("domain_ocid", domain_ocid) + _setter("favorite", favorite) + _setter("id", id) + _setter("idcs_created_bies", idcs_created_bies) + _setter("idcs_endpoint", idcs_endpoint) + _setter("idcs_last_modified_bies", idcs_last_modified_bies) + _setter("idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) + _setter("idcs_prevented_operations", idcs_prevented_operations) + _setter("is_account", is_account) + _setter("last_accessed", last_accessed) + _setter("matching_owners", matching_owners) + _setter("metas", metas) + _setter("name", name) + _setter("object_classes", object_classes) + _setter("ocid", ocid) + _setter("operation_context", operation_context) + _setter("owners", owners) + _setter("preview_only", preview_only) + _setter("resource_type_schema_version", resource_type_schema_version) + _setter("resource_types", resource_types) + _setter("schemas", schemas) + _setter("sync_response", sync_response) + _setter("sync_situation", sync_situation) + _setter("sync_timestamp", sync_timestamp) + _setter("tags", tags) + _setter("tenancy_ocid", tenancy_ocid) + _setter("uid", uid) + _setter("user_wallet_artifacts", user_wallet_artifacts) @property @pulumi.getter(name="accountMgmtInfoId") @@ -53540,25 +59085,70 @@ def __init__(__self__, *, :param bool show_in_my_apps: If true, this App will be displayed in the MyApps page of each end-user who has access to the App. :param str value: UserWalletArtifact identifier """ - pulumi.set(__self__, "active", active) - pulumi.set(__self__, "app_icon", app_icon) - pulumi.set(__self__, "app_thumbnail", app_thumbnail) - pulumi.set(__self__, "audience", audience) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "is_alias_app", is_alias_app) - pulumi.set(__self__, "is_authoritative", is_authoritative) - pulumi.set(__self__, "is_login_target", is_login_target) - pulumi.set(__self__, "is_managed_app", is_managed_app) - pulumi.set(__self__, "is_oauth_resource", is_oauth_resource) - pulumi.set(__self__, "is_opc_service", is_opc_service) - pulumi.set(__self__, "is_unmanaged_app", is_unmanaged_app) - pulumi.set(__self__, "login_mechanism", login_mechanism) - pulumi.set(__self__, "meter_as_opc_service", meter_as_opc_service) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "service_type_urn", service_type_urn) - pulumi.set(__self__, "show_in_my_apps", show_in_my_apps) - pulumi.set(__self__, "value", value) + GetDomainsAccountMgmtInfosAccountMgmtInfoAppResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + active=active, + app_icon=app_icon, + app_thumbnail=app_thumbnail, + audience=audience, + description=description, + display=display, + is_alias_app=is_alias_app, + is_authoritative=is_authoritative, + is_login_target=is_login_target, + is_managed_app=is_managed_app, + is_oauth_resource=is_oauth_resource, + is_opc_service=is_opc_service, + is_unmanaged_app=is_unmanaged_app, + login_mechanism=login_mechanism, + meter_as_opc_service=meter_as_opc_service, + ref=ref, + service_type_urn=service_type_urn, + show_in_my_apps=show_in_my_apps, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + active: bool, + app_icon: str, + app_thumbnail: str, + audience: str, + description: str, + display: str, + is_alias_app: bool, + is_authoritative: bool, + is_login_target: bool, + is_managed_app: bool, + is_oauth_resource: bool, + is_opc_service: bool, + is_unmanaged_app: bool, + login_mechanism: str, + meter_as_opc_service: bool, + ref: str, + service_type_urn: str, + show_in_my_apps: bool, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("active", active) + _setter("app_icon", app_icon) + _setter("app_thumbnail", app_thumbnail) + _setter("audience", audience) + _setter("description", description) + _setter("display", display) + _setter("is_alias_app", is_alias_app) + _setter("is_authoritative", is_authoritative) + _setter("is_login_target", is_login_target) + _setter("is_managed_app", is_managed_app) + _setter("is_oauth_resource", is_oauth_resource) + _setter("is_opc_service", is_opc_service) + _setter("is_unmanaged_app", is_unmanaged_app) + _setter("login_mechanism", login_mechanism) + _setter("meter_as_opc_service", meter_as_opc_service) + _setter("ref", ref) + _setter("service_type_urn", service_type_urn) + _setter("show_in_my_apps", show_in_my_apps) + _setter("value", value) @property @pulumi.getter @@ -53728,11 +59318,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: UserWalletArtifact identifier """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsAccountMgmtInfosAccountMgmtInfoIdcsCreatedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -53790,11 +59397,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: UserWalletArtifact identifier """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsAccountMgmtInfosAccountMgmtInfoIdcsLastModifiedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -53852,11 +59476,28 @@ def __init__(__self__, *, :param str user_name: User name :param str value: UserWalletArtifact identifier """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "email", email) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "user_name", user_name) - pulumi.set(__self__, "value", value) + GetDomainsAccountMgmtInfosAccountMgmtInfoMatchingOwnerResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + email=email, + ref=ref, + user_name=user_name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + email: str, + ref: str, + user_name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("email", email) + _setter("ref", ref) + _setter("user_name", user_name) + _setter("value", value) @property @pulumi.getter @@ -53914,11 +59555,28 @@ def __init__(__self__, *, :param str resource_type: Resource Type of the Account :param str version: The version of the Resource being returned. This value must be the same as the ETag HTTP response header. """ - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "version", version) + GetDomainsAccountMgmtInfosAccountMgmtInfoMetaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: str, + last_modified: str, + location: str, + resource_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created", created) + _setter("last_modified", last_modified) + _setter("location", location) + _setter("resource_type", resource_type) + _setter("version", version) @property @pulumi.getter @@ -53972,9 +59630,22 @@ def __init__(__self__, *, :param str ref: UserWalletArtifact URI :param str value: UserWalletArtifact identifier """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsAccountMgmtInfosAccountMgmtInfoObjectClassResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -54016,11 +59687,28 @@ def __init__(__self__, *, :param str user_name: User name :param str value: UserWalletArtifact identifier """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "email", email) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "user_name", user_name) - pulumi.set(__self__, "value", value) + GetDomainsAccountMgmtInfosAccountMgmtInfoOwnerResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + email=email, + ref=ref, + user_name=user_name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + email: str, + ref: str, + user_name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("email", email) + _setter("ref", ref) + _setter("user_name", user_name) + _setter("value", value) @property @pulumi.getter @@ -54074,9 +59762,22 @@ def __init__(__self__, *, :param str ref: UserWalletArtifact URI :param str value: UserWalletArtifact identifier """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsAccountMgmtInfosAccountMgmtInfoResourceTypeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -54112,8 +59813,19 @@ def __init__(__self__, *, :param str key: Key or name of the tag. :param str value: UserWalletArtifact identifier """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsAccountMgmtInfosAccountMgmtInfoTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -54141,8 +59853,19 @@ def __init__(__self__, *, :param str ref: UserWalletArtifact URI :param str value: UserWalletArtifact identifier """ - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsAccountMgmtInfosAccountMgmtInfoUserWalletArtifactResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -54176,11 +59899,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: Value of the tag. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsAccountRecoverySettingIdcsCreatedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -54238,11 +59978,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: Value of the tag. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsAccountRecoverySettingIdcsLastModifiedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -54300,11 +60057,28 @@ def __init__(__self__, *, :param str resource_type: Name of the resource type of the resource--for example, Users or Groups :param str version: The version of the Resource being returned. This value must be the same as the ETag HTTP response header. """ - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "version", version) + GetDomainsAccountRecoverySettingMetaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: str, + last_modified: str, + location: str, + resource_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created", created) + _setter("last_modified", last_modified) + _setter("location", location) + _setter("resource_type", resource_type) + _setter("version", version) @property @pulumi.getter @@ -54356,8 +60130,19 @@ def __init__(__self__, *, :param str key: Key or name of the tag. :param str value: Value of the tag. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsAccountRecoverySettingTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -54426,29 +60211,82 @@ def __init__(__self__, *, :param Sequence['GetDomainsAccountRecoverySettingsAccountRecoverySettingTagArgs'] tags: A list of tags on this resource. :param str tenancy_ocid: Oracle Cloud Infrastructure Tenant Id (ocid) in which the resource lives. """ - pulumi.set(__self__, "account_recovery_setting_id", account_recovery_setting_id) - pulumi.set(__self__, "attribute_sets", attribute_sets) - pulumi.set(__self__, "attributes", attributes) - pulumi.set(__self__, "authorization", authorization) - pulumi.set(__self__, "compartment_ocid", compartment_ocid) - pulumi.set(__self__, "delete_in_progress", delete_in_progress) - pulumi.set(__self__, "domain_ocid", domain_ocid) - pulumi.set(__self__, "external_id", external_id) - pulumi.set(__self__, "factors", factors) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "idcs_created_bies", idcs_created_bies) - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) - pulumi.set(__self__, "idcs_last_modified_bies", idcs_last_modified_bies) - pulumi.set(__self__, "idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) - pulumi.set(__self__, "idcs_prevented_operations", idcs_prevented_operations) - pulumi.set(__self__, "lockout_duration", lockout_duration) - pulumi.set(__self__, "max_incorrect_attempts", max_incorrect_attempts) - pulumi.set(__self__, "metas", metas) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) - pulumi.set(__self__, "schemas", schemas) - pulumi.set(__self__, "tags", tags) - pulumi.set(__self__, "tenancy_ocid", tenancy_ocid) + GetDomainsAccountRecoverySettingsAccountRecoverySettingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_recovery_setting_id=account_recovery_setting_id, + attribute_sets=attribute_sets, + attributes=attributes, + authorization=authorization, + compartment_ocid=compartment_ocid, + delete_in_progress=delete_in_progress, + domain_ocid=domain_ocid, + external_id=external_id, + factors=factors, + id=id, + idcs_created_bies=idcs_created_bies, + idcs_endpoint=idcs_endpoint, + idcs_last_modified_bies=idcs_last_modified_bies, + idcs_last_upgraded_in_release=idcs_last_upgraded_in_release, + idcs_prevented_operations=idcs_prevented_operations, + lockout_duration=lockout_duration, + max_incorrect_attempts=max_incorrect_attempts, + metas=metas, + ocid=ocid, + resource_type_schema_version=resource_type_schema_version, + schemas=schemas, + tags=tags, + tenancy_ocid=tenancy_ocid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_recovery_setting_id: str, + attribute_sets: Sequence[str], + attributes: str, + authorization: str, + compartment_ocid: str, + delete_in_progress: bool, + domain_ocid: str, + external_id: str, + factors: Sequence[str], + id: str, + idcs_created_bies: Sequence['outputs.GetDomainsAccountRecoverySettingsAccountRecoverySettingIdcsCreatedByResult'], + idcs_endpoint: str, + idcs_last_modified_bies: Sequence['outputs.GetDomainsAccountRecoverySettingsAccountRecoverySettingIdcsLastModifiedByResult'], + idcs_last_upgraded_in_release: str, + idcs_prevented_operations: Sequence[str], + lockout_duration: int, + max_incorrect_attempts: int, + metas: Sequence['outputs.GetDomainsAccountRecoverySettingsAccountRecoverySettingMetaResult'], + ocid: str, + resource_type_schema_version: str, + schemas: Sequence[str], + tags: Sequence['outputs.GetDomainsAccountRecoverySettingsAccountRecoverySettingTagResult'], + tenancy_ocid: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("account_recovery_setting_id", account_recovery_setting_id) + _setter("attribute_sets", attribute_sets) + _setter("attributes", attributes) + _setter("authorization", authorization) + _setter("compartment_ocid", compartment_ocid) + _setter("delete_in_progress", delete_in_progress) + _setter("domain_ocid", domain_ocid) + _setter("external_id", external_id) + _setter("factors", factors) + _setter("id", id) + _setter("idcs_created_bies", idcs_created_bies) + _setter("idcs_endpoint", idcs_endpoint) + _setter("idcs_last_modified_bies", idcs_last_modified_bies) + _setter("idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) + _setter("idcs_prevented_operations", idcs_prevented_operations) + _setter("lockout_duration", lockout_duration) + _setter("max_incorrect_attempts", max_incorrect_attempts) + _setter("metas", metas) + _setter("ocid", ocid) + _setter("resource_type_schema_version", resource_type_schema_version) + _setter("schemas", schemas) + _setter("tags", tags) + _setter("tenancy_ocid", tenancy_ocid) @property @pulumi.getter(name="accountRecoverySettingId") @@ -54647,11 +60485,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: Value of the tag. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsAccountRecoverySettingsAccountRecoverySettingIdcsCreatedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -54709,11 +60564,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: Value of the tag. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsAccountRecoverySettingsAccountRecoverySettingIdcsLastModifiedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -54771,11 +60643,28 @@ def __init__(__self__, *, :param str resource_type: Name of the resource type of the resource--for example, Users or Groups :param str version: The version of the Resource being returned. This value must be the same as the ETag HTTP response header. """ - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "version", version) + GetDomainsAccountRecoverySettingsAccountRecoverySettingMetaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: str, + last_modified: str, + location: str, + resource_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created", created) + _setter("last_modified", last_modified) + _setter("location", location) + _setter("resource_type", resource_type) + _setter("version", version) @property @pulumi.getter @@ -54827,8 +60716,19 @@ def __init__(__self__, *, :param str key: Key or name of the tag. :param str value: Value of the tag. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsAccountRecoverySettingsAccountRecoverySettingTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -54862,11 +60762,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: The user's ID. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsApiKeyIdcsCreatedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -54924,11 +60841,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: The user's ID. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsApiKeyIdcsLastModifiedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -54986,11 +60920,28 @@ def __init__(__self__, *, :param str resource_type: Name of the resource type of the resource--for example, Users or Groups :param str version: The version of the Resource being returned. This value must be the same as the ETag HTTP response header. """ - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "version", version) + GetDomainsApiKeyMetaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: str, + last_modified: str, + location: str, + resource_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created", created) + _setter("last_modified", last_modified) + _setter("location", location) + _setter("resource_type", resource_type) + _setter("version", version) @property @pulumi.getter @@ -55042,8 +60993,19 @@ def __init__(__self__, *, :param str key: Key or name of the tag. :param str value: The user's ID. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsApiKeyTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -55069,7 +61031,16 @@ def __init__(__self__, *, """ :param bool allow_self_change: If true, allows requesting user to update themselves. If false, requesting user can't update themself (default). """ - pulumi.set(__self__, "allow_self_change", allow_self_change) + GetDomainsApiKeyUrnietfparamsscimschemasoracleidcsextensionselfChangeUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allow_self_change=allow_self_change, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allow_self_change: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allow_self_change", allow_self_change) @property @pulumi.getter(name="allowSelfChange") @@ -55095,11 +61066,28 @@ def __init__(__self__, *, :param str ref: The URI that corresponds to the user linked to this credential. :param str value: The user's ID. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsApiKeyUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + name=name, + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + name: str, + ocid: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("name", name) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -55193,29 +61181,82 @@ def __init__(__self__, *, :param Sequence['GetDomainsApiKeysApiKeyUrnietfparamsscimschemasoracleidcsextensionselfChangeUserArgs'] urnietfparamsscimschemasoracleidcsextensionself_change_users: Controls whether a user can update themselves or not via User related APIs :param Sequence['GetDomainsApiKeysApiKeyUserArgs'] users: The user linked to the API key. """ - pulumi.set(__self__, "attribute_sets", attribute_sets) - pulumi.set(__self__, "attributes", attributes) - pulumi.set(__self__, "authorization", authorization) - pulumi.set(__self__, "compartment_ocid", compartment_ocid) - pulumi.set(__self__, "delete_in_progress", delete_in_progress) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "domain_ocid", domain_ocid) - pulumi.set(__self__, "fingerprint", fingerprint) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "idcs_created_bies", idcs_created_bies) - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) - pulumi.set(__self__, "idcs_last_modified_bies", idcs_last_modified_bies) - pulumi.set(__self__, "idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) - pulumi.set(__self__, "idcs_prevented_operations", idcs_prevented_operations) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "metas", metas) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) - pulumi.set(__self__, "schemas", schemas) - pulumi.set(__self__, "tags", tags) - pulumi.set(__self__, "tenancy_ocid", tenancy_ocid) - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionself_change_users", urnietfparamsscimschemasoracleidcsextensionself_change_users) - pulumi.set(__self__, "users", users) + GetDomainsApiKeysApiKeyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + attribute_sets=attribute_sets, + attributes=attributes, + authorization=authorization, + compartment_ocid=compartment_ocid, + delete_in_progress=delete_in_progress, + description=description, + domain_ocid=domain_ocid, + fingerprint=fingerprint, + id=id, + idcs_created_bies=idcs_created_bies, + idcs_endpoint=idcs_endpoint, + idcs_last_modified_bies=idcs_last_modified_bies, + idcs_last_upgraded_in_release=idcs_last_upgraded_in_release, + idcs_prevented_operations=idcs_prevented_operations, + key=key, + metas=metas, + ocid=ocid, + resource_type_schema_version=resource_type_schema_version, + schemas=schemas, + tags=tags, + tenancy_ocid=tenancy_ocid, + urnietfparamsscimschemasoracleidcsextensionself_change_users=urnietfparamsscimschemasoracleidcsextensionself_change_users, + users=users, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attribute_sets: Sequence[str], + attributes: str, + authorization: str, + compartment_ocid: str, + delete_in_progress: bool, + description: str, + domain_ocid: str, + fingerprint: str, + id: str, + idcs_created_bies: Sequence['outputs.GetDomainsApiKeysApiKeyIdcsCreatedByResult'], + idcs_endpoint: str, + idcs_last_modified_bies: Sequence['outputs.GetDomainsApiKeysApiKeyIdcsLastModifiedByResult'], + idcs_last_upgraded_in_release: str, + idcs_prevented_operations: Sequence[str], + key: str, + metas: Sequence['outputs.GetDomainsApiKeysApiKeyMetaResult'], + ocid: str, + resource_type_schema_version: str, + schemas: Sequence[str], + tags: Sequence['outputs.GetDomainsApiKeysApiKeyTagResult'], + tenancy_ocid: str, + urnietfparamsscimschemasoracleidcsextensionself_change_users: Sequence['outputs.GetDomainsApiKeysApiKeyUrnietfparamsscimschemasoracleidcsextensionselfChangeUserResult'], + users: Sequence['outputs.GetDomainsApiKeysApiKeyUserResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("attribute_sets", attribute_sets) + _setter("attributes", attributes) + _setter("authorization", authorization) + _setter("compartment_ocid", compartment_ocid) + _setter("delete_in_progress", delete_in_progress) + _setter("description", description) + _setter("domain_ocid", domain_ocid) + _setter("fingerprint", fingerprint) + _setter("id", id) + _setter("idcs_created_bies", idcs_created_bies) + _setter("idcs_endpoint", idcs_endpoint) + _setter("idcs_last_modified_bies", idcs_last_modified_bies) + _setter("idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) + _setter("idcs_prevented_operations", idcs_prevented_operations) + _setter("key", key) + _setter("metas", metas) + _setter("ocid", ocid) + _setter("resource_type_schema_version", resource_type_schema_version) + _setter("schemas", schemas) + _setter("tags", tags) + _setter("tenancy_ocid", tenancy_ocid) + _setter("urnietfparamsscimschemasoracleidcsextensionself_change_users", urnietfparamsscimschemasoracleidcsextensionself_change_users) + _setter("users", users) @property @pulumi.getter(name="attributeSets") @@ -55417,11 +61458,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: The user's ID. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsApiKeysApiKeyIdcsCreatedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -55479,11 +61537,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: The user's ID. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsApiKeysApiKeyIdcsLastModifiedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -55541,11 +61616,28 @@ def __init__(__self__, *, :param str resource_type: Name of the resource type of the resource--for example, Users or Groups :param str version: The version of the Resource being returned. This value must be the same as the ETag HTTP response header. """ - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "version", version) + GetDomainsApiKeysApiKeyMetaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: str, + last_modified: str, + location: str, + resource_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created", created) + _setter("last_modified", last_modified) + _setter("location", location) + _setter("resource_type", resource_type) + _setter("version", version) @property @pulumi.getter @@ -55597,8 +61689,19 @@ def __init__(__self__, *, :param str key: Key or name of the tag. :param str value: The user's ID. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsApiKeysApiKeyTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -55624,7 +61727,16 @@ def __init__(__self__, *, """ :param bool allow_self_change: If true, allows requesting user to update themselves. If false, requesting user can't update themself (default). """ - pulumi.set(__self__, "allow_self_change", allow_self_change) + GetDomainsApiKeysApiKeyUrnietfparamsscimschemasoracleidcsextensionselfChangeUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allow_self_change=allow_self_change, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allow_self_change: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allow_self_change", allow_self_change) @property @pulumi.getter(name="allowSelfChange") @@ -55650,11 +61762,28 @@ def __init__(__self__, *, :param str ref: The URI that corresponds to the user linked to this credential. :param str value: The user's ID. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsApiKeysApiKeyUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + name=name, + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + name: str, + ocid: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("name", name) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -55712,11 +61841,28 @@ def __init__(__self__, *, :param str ref: URI of the AppRole. :param str value: ID of the AppRole. """ - pulumi.set(__self__, "active", active) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "owner_id", owner_id) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsAppAccountResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + active=active, + name=name, + owner_id=owner_id, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + active: bool, + name: str, + owner_id: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("active", active) + _setter("name", name) + _setter("owner_id", owner_id) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -55772,10 +61918,25 @@ def __init__(__self__, *, :param str ref: URI of the AppRole. :param str value: ID of the AppRole. """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsAppAdminRoleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + display=display, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + display: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("display", display) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -55823,10 +61984,25 @@ def __init__(__self__, *, :param str ref: URI of the AppRole. :param str value: ID of the AppRole. """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsAppAliasAppResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + display=display, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + display: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("display", display) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -55872,9 +62048,22 @@ def __init__(__self__, *, :param str id_of_defining_app: The ID of the App that defines this scope. :param bool read_only: If true, indicates that this value must be protected. """ - pulumi.set(__self__, "fqs", fqs) - pulumi.set(__self__, "id_of_defining_app", id_of_defining_app) - pulumi.set(__self__, "read_only", read_only) + GetDomainsAppAllowedScopeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + fqs=fqs, + id_of_defining_app=id_of_defining_app, + read_only=read_only, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + fqs: str, + id_of_defining_app: str, + read_only: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("fqs", fqs) + _setter("id_of_defining_app", id_of_defining_app) + _setter("read_only", read_only) @property @pulumi.getter @@ -55912,9 +62101,22 @@ def __init__(__self__, *, :param bool read_only: If true, indicates that this value must be protected. :param str value: ID of the AppRole. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "read_only", read_only) - pulumi.set(__self__, "value", value) + GetDomainsAppAllowedTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + read_only=read_only, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + read_only: bool, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("read_only", read_only) + _setter("value", value) @property @pulumi.getter @@ -55950,8 +62152,19 @@ def __init__(__self__, *, :param str ref: URI of the AppRole. :param str value: ID of the AppRole. """ - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsAppAppSignonPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -55979,8 +62192,19 @@ def __init__(__self__, *, :param str ref: URI of the AppRole. :param str value: ID of the AppRole. """ - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsAppAppsNetworkPerimeterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -56008,8 +62232,19 @@ def __init__(__self__, *, :param str ref: URI of the AppRole. :param str value: ID of the AppRole. """ - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsAppAsOpcServiceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -56063,21 +62298,58 @@ def __init__(__self__, *, :param bool visible: Indicates whether the attribute is to be shown on the application creation UI. :param str widget: UI widget to use for the attribute. """ - pulumi.set(__self__, "datatype", datatype) - pulumi.set(__self__, "helptext", helptext) - pulumi.set(__self__, "label", label) - pulumi.set(__self__, "max_length", max_length) - pulumi.set(__self__, "max_size", max_size) - pulumi.set(__self__, "min_length", min_length) - pulumi.set(__self__, "min_size", min_size) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "order", order) - pulumi.set(__self__, "read_only", read_only) - pulumi.set(__self__, "regexp", regexp) - pulumi.set(__self__, "required", required) - pulumi.set(__self__, "section", section) - pulumi.set(__self__, "visible", visible) - pulumi.set(__self__, "widget", widget) + GetDomainsAppAttrRenderingMetadataResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + datatype=datatype, + helptext=helptext, + label=label, + max_length=max_length, + max_size=max_size, + min_length=min_length, + min_size=min_size, + name=name, + order=order, + read_only=read_only, + regexp=regexp, + required=required, + section=section, + visible=visible, + widget=widget, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + datatype: str, + helptext: str, + label: str, + max_length: int, + max_size: int, + min_length: int, + min_size: int, + name: str, + order: int, + read_only: bool, + regexp: str, + required: bool, + section: str, + visible: bool, + widget: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("datatype", datatype) + _setter("helptext", helptext) + _setter("label", label) + _setter("max_length", max_length) + _setter("max_size", max_size) + _setter("min_length", min_length) + _setter("min_size", min_size) + _setter("name", name) + _setter("order", order) + _setter("read_only", read_only) + _setter("regexp", regexp) + _setter("required", required) + _setter("section", section) + _setter("visible", visible) + _setter("widget", widget) @property @pulumi.getter @@ -56213,10 +62485,25 @@ def __init__(__self__, *, :param str value: ID of the AppRole. :param str well_known_id: Unique well-known identifier used to reference connector bundle. """ - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) - pulumi.set(__self__, "well_known_id", well_known_id) + GetDomainsAppBasedOnTemplateResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + last_modified=last_modified, + ref=ref, + value=value, + well_known_id=well_known_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + last_modified: str, + ref: str, + value: str, + well_known_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("last_modified", last_modified) + _setter("ref", ref) + _setter("value", value) + _setter("well_known_id", well_known_id) @property @pulumi.getter(name="lastModified") @@ -56266,11 +62553,28 @@ def __init__(__self__, *, :param str x509base64certificate: Base-64-encoded certificate. :param str x5t: Certificate x5t """ - pulumi.set(__self__, "cert_alias", cert_alias) - pulumi.set(__self__, "kid", kid) - pulumi.set(__self__, "sha1thumbprint", sha1thumbprint) - pulumi.set(__self__, "x509base64certificate", x509base64certificate) - pulumi.set(__self__, "x5t", x5t) + GetDomainsAppCertificateResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cert_alias=cert_alias, + kid=kid, + sha1thumbprint=sha1thumbprint, + x509base64certificate=x509base64certificate, + x5t=x5t, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cert_alias: str, + kid: str, + sha1thumbprint: str, + x509base64certificate: str, + x5t: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cert_alias", cert_alias) + _setter("kid", kid) + _setter("sha1thumbprint", sha1thumbprint) + _setter("x509base64certificate", x509base64certificate) + _setter("x5t", x5t) @property @pulumi.getter(name="certAlias") @@ -56322,8 +62626,19 @@ def __init__(__self__, *, :param str name: The attribute represents the name of the attribute that will be used in the Security Assertion Markup Language (SAML) assertion :param Sequence[str] values: The value(s) of the property. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDomainsAppCloudControlPropertyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) @property @pulumi.getter @@ -56349,7 +62664,16 @@ def __init__(__self__, *, """ :param str name: The attribute represents the name of the attribute that will be used in the Security Assertion Markup Language (SAML) assertion """ - pulumi.set(__self__, "name", name) + GetDomainsAppEditableAttributeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -56378,11 +62702,28 @@ def __init__(__self__, *, :param str ref: URI of the AppRole. :param str value: ID of the AppRole. """ - pulumi.set(__self__, "grant_mechanism", grant_mechanism) - pulumi.set(__self__, "grantee_id", grantee_id) - pulumi.set(__self__, "grantee_type", grantee_type) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsAppGrantResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + grant_mechanism=grant_mechanism, + grantee_id=grantee_id, + grantee_type=grantee_type, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + grant_mechanism: str, + grantee_id: str, + grantee_type: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("grant_mechanism", grant_mechanism) + _setter("grantee_id", grantee_id) + _setter("grantee_type", grantee_type) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter(name="grantMechanism") @@ -56451,15 +62792,40 @@ def __init__(__self__, *, :param str type: Object Class type. Allowed values are AccountObjectClass, ManagedObjectClass. :param str value: ID of the AppRole. """ - pulumi.set(__self__, "admin_role", admin_role) - pulumi.set(__self__, "app_id", app_id) - pulumi.set(__self__, "app_name", app_name) - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "legacy_group_name", legacy_group_name) - pulumi.set(__self__, "read_only", read_only) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsAppGrantedAppRoleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + admin_role=admin_role, + app_id=app_id, + app_name=app_name, + display=display, + legacy_group_name=legacy_group_name, + read_only=read_only, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + admin_role: bool, + app_id: str, + app_name: str, + display: str, + legacy_group_name: str, + read_only: bool, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("admin_role", admin_role) + _setter("app_id", app_id) + _setter("app_name", app_name) + _setter("display", display) + _setter("legacy_group_name", legacy_group_name) + _setter("read_only", read_only) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter(name="adminRole") @@ -56549,11 +62915,28 @@ def __init__(__self__, *, :param str type: Object Class type. Allowed values are AccountObjectClass, ManagedObjectClass. :param str value: ID of the AppRole. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsAppIdcsCreatedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -56611,11 +62994,28 @@ def __init__(__self__, *, :param str type: Object Class type. Allowed values are AccountObjectClass, ManagedObjectClass. :param str value: ID of the AppRole. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsAppIdcsLastModifiedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -56669,9 +63069,22 @@ def __init__(__self__, *, :param str ref: URI of the AppRole. :param str value: ID of the AppRole. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsAppIdentityProviderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -56707,8 +63120,19 @@ def __init__(__self__, *, :param str ref: URI of the AppRole. :param str value: ID of the AppRole. """ - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsAppIdpPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -56742,11 +63166,28 @@ def __init__(__self__, *, :param str resource_type: Object class resource type :param str version: The version of the Resource being returned. This value must be the same as the ETag HTTP response header. """ - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "version", version) + GetDomainsAppMetaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: str, + last_modified: str, + location: str, + resource_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created", created) + _setter("last_modified", last_modified) + _setter("location", location) + _setter("resource_type", resource_type) + _setter("version", version) @property @pulumi.getter @@ -56798,8 +63239,19 @@ def __init__(__self__, *, :param bool read_only: If true, indicates that this value must be protected. :param str value: ID of the AppRole. """ - pulumi.set(__self__, "read_only", read_only) - pulumi.set(__self__, "value", value) + GetDomainsAppProtectableSecondaryAudienceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + read_only=read_only, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + read_only: bool, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("read_only", read_only) + _setter("value", value) @property @pulumi.getter(name="readOnly") @@ -56827,8 +63279,19 @@ def __init__(__self__, *, :param str ref: URI of the AppRole. :param str value: ID of the AppRole. """ - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsAppRadiusPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -56862,11 +63325,28 @@ def __init__(__self__, *, :param str service_instance_identifier: The serviceInstanceIdentifier of the App that defines this AppRole. This value will match the opcServiceInstanceGUID of any service-instance that the App represents. :param str value: Value of the tag. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "service_instance_identifier", service_instance_identifier) - pulumi.set(__self__, "value", value) + GetDomainsAppRoleAppResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + name=name, + ref=ref, + service_instance_identifier=service_instance_identifier, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + name: str, + ref: str, + service_instance_identifier: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("name", name) + _setter("ref", ref) + _setter("service_instance_identifier", service_instance_identifier) + _setter("value", value) @property @pulumi.getter @@ -56924,11 +63404,28 @@ def __init__(__self__, *, :param str type: Indicates the type of Resource--for example, User, Group or DynamicResourceGroup :param str value: Value of the tag. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsAppRoleIdcsCreatedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -56986,11 +63483,28 @@ def __init__(__self__, *, :param str type: Indicates the type of Resource--for example, User, Group or DynamicResourceGroup :param str value: Value of the tag. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsAppRoleIdcsLastModifiedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -57046,10 +63560,25 @@ def __init__(__self__, *, :param str type: Indicates the type of Resource--for example, User, Group or DynamicResourceGroup :param str value: Value of the tag. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsAppRoleMemberResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -57099,11 +63628,28 @@ def __init__(__self__, *, :param str resource_type: Name of the resource type of the resource--for example, Users or Groups :param str version: The version of the Resource being returned. This value must be the same as the ETag HTTP response header. """ - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "version", version) + GetDomainsAppRoleMetaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: str, + last_modified: str, + location: str, + resource_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created", created) + _setter("last_modified", last_modified) + _setter("location", location) + _setter("resource_type", resource_type) + _setter("version", version) @property @pulumi.getter @@ -57155,8 +63701,19 @@ def __init__(__self__, *, :param str key: Key or name of the tag. :param str value: Value of the tag. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsAppRoleTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -57242,37 +63799,106 @@ def __init__(__self__, *, :param str tenancy_ocid: Oracle Cloud Infrastructure Tenant Id (ocid) in which the resource lives. :param str unique_name: AppRole unique name """ - pulumi.set(__self__, "admin_role", admin_role) - pulumi.set(__self__, "apps", apps) - pulumi.set(__self__, "attribute_sets", attribute_sets) - pulumi.set(__self__, "attributes", attributes) - pulumi.set(__self__, "authorization", authorization) - pulumi.set(__self__, "available_to_clients", available_to_clients) - pulumi.set(__self__, "available_to_groups", available_to_groups) - pulumi.set(__self__, "available_to_users", available_to_users) - pulumi.set(__self__, "compartment_ocid", compartment_ocid) - pulumi.set(__self__, "delete_in_progress", delete_in_progress) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "domain_ocid", domain_ocid) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "idcs_created_bies", idcs_created_bies) - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) - pulumi.set(__self__, "idcs_last_modified_bies", idcs_last_modified_bies) - pulumi.set(__self__, "idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) - pulumi.set(__self__, "idcs_prevented_operations", idcs_prevented_operations) - pulumi.set(__self__, "legacy_group_name", legacy_group_name) - pulumi.set(__self__, "limited_to_one_or_more_groups", limited_to_one_or_more_groups) - pulumi.set(__self__, "localized_display_name", localized_display_name) - pulumi.set(__self__, "members", members) - pulumi.set(__self__, "metas", metas) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "public", public) - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) - pulumi.set(__self__, "schemas", schemas) - pulumi.set(__self__, "tags", tags) - pulumi.set(__self__, "tenancy_ocid", tenancy_ocid) - pulumi.set(__self__, "unique_name", unique_name) + GetDomainsAppRolesAppRoleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + admin_role=admin_role, + apps=apps, + attribute_sets=attribute_sets, + attributes=attributes, + authorization=authorization, + available_to_clients=available_to_clients, + available_to_groups=available_to_groups, + available_to_users=available_to_users, + compartment_ocid=compartment_ocid, + delete_in_progress=delete_in_progress, + description=description, + display_name=display_name, + domain_ocid=domain_ocid, + id=id, + idcs_created_bies=idcs_created_bies, + idcs_endpoint=idcs_endpoint, + idcs_last_modified_bies=idcs_last_modified_bies, + idcs_last_upgraded_in_release=idcs_last_upgraded_in_release, + idcs_prevented_operations=idcs_prevented_operations, + legacy_group_name=legacy_group_name, + limited_to_one_or_more_groups=limited_to_one_or_more_groups, + localized_display_name=localized_display_name, + members=members, + metas=metas, + ocid=ocid, + public=public, + resource_type_schema_version=resource_type_schema_version, + schemas=schemas, + tags=tags, + tenancy_ocid=tenancy_ocid, + unique_name=unique_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + admin_role: bool, + apps: Sequence['outputs.GetDomainsAppRolesAppRoleAppResult'], + attribute_sets: Sequence[str], + attributes: str, + authorization: str, + available_to_clients: bool, + available_to_groups: bool, + available_to_users: bool, + compartment_ocid: str, + delete_in_progress: bool, + description: str, + display_name: str, + domain_ocid: str, + id: str, + idcs_created_bies: Sequence['outputs.GetDomainsAppRolesAppRoleIdcsCreatedByResult'], + idcs_endpoint: str, + idcs_last_modified_bies: Sequence['outputs.GetDomainsAppRolesAppRoleIdcsLastModifiedByResult'], + idcs_last_upgraded_in_release: str, + idcs_prevented_operations: Sequence[str], + legacy_group_name: str, + limited_to_one_or_more_groups: bool, + localized_display_name: str, + members: Sequence['outputs.GetDomainsAppRolesAppRoleMemberResult'], + metas: Sequence['outputs.GetDomainsAppRolesAppRoleMetaResult'], + ocid: str, + public: bool, + resource_type_schema_version: str, + schemas: Sequence[str], + tags: Sequence['outputs.GetDomainsAppRolesAppRoleTagResult'], + tenancy_ocid: str, + unique_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("admin_role", admin_role) + _setter("apps", apps) + _setter("attribute_sets", attribute_sets) + _setter("attributes", attributes) + _setter("authorization", authorization) + _setter("available_to_clients", available_to_clients) + _setter("available_to_groups", available_to_groups) + _setter("available_to_users", available_to_users) + _setter("compartment_ocid", compartment_ocid) + _setter("delete_in_progress", delete_in_progress) + _setter("description", description) + _setter("display_name", display_name) + _setter("domain_ocid", domain_ocid) + _setter("id", id) + _setter("idcs_created_bies", idcs_created_bies) + _setter("idcs_endpoint", idcs_endpoint) + _setter("idcs_last_modified_bies", idcs_last_modified_bies) + _setter("idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) + _setter("idcs_prevented_operations", idcs_prevented_operations) + _setter("legacy_group_name", legacy_group_name) + _setter("limited_to_one_or_more_groups", limited_to_one_or_more_groups) + _setter("localized_display_name", localized_display_name) + _setter("members", members) + _setter("metas", metas) + _setter("ocid", ocid) + _setter("public", public) + _setter("resource_type_schema_version", resource_type_schema_version) + _setter("schemas", schemas) + _setter("tags", tags) + _setter("tenancy_ocid", tenancy_ocid) + _setter("unique_name", unique_name) @property @pulumi.getter(name="adminRole") @@ -57538,11 +64164,28 @@ def __init__(__self__, *, :param str service_instance_identifier: The serviceInstanceIdentifier of the App that defines this AppRole. This value will match the opcServiceInstanceGUID of any service-instance that the App represents. :param str value: Value of the tag. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "service_instance_identifier", service_instance_identifier) - pulumi.set(__self__, "value", value) + GetDomainsAppRolesAppRoleAppResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + name=name, + ref=ref, + service_instance_identifier=service_instance_identifier, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + name: str, + ref: str, + service_instance_identifier: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("name", name) + _setter("ref", ref) + _setter("service_instance_identifier", service_instance_identifier) + _setter("value", value) @property @pulumi.getter @@ -57600,11 +64243,28 @@ def __init__(__self__, *, :param str type: Indicates the type of Resource--for example, User, Group or DynamicResourceGroup :param str value: Value of the tag. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsAppRolesAppRoleIdcsCreatedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -57662,11 +64322,28 @@ def __init__(__self__, *, :param str type: Indicates the type of Resource--for example, User, Group or DynamicResourceGroup :param str value: Value of the tag. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsAppRolesAppRoleIdcsLastModifiedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -57722,10 +64399,25 @@ def __init__(__self__, *, :param str type: Indicates the type of Resource--for example, User, Group or DynamicResourceGroup :param str value: Value of the tag. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsAppRolesAppRoleMemberResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -57775,11 +64467,28 @@ def __init__(__self__, *, :param str resource_type: Name of the resource type of the resource--for example, Users or Groups :param str version: The version of the Resource being returned. This value must be the same as the ETag HTTP response header. """ - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "version", version) + GetDomainsAppRolesAppRoleMetaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: str, + last_modified: str, + location: str, + resource_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created", created) + _setter("last_modified", last_modified) + _setter("location", location) + _setter("resource_type", resource_type) + _setter("version", version) @property @pulumi.getter @@ -57831,8 +64540,19 @@ def __init__(__self__, *, :param str key: Key or name of the tag. :param str value: Value of the tag. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsAppRolesAppRoleTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -57860,8 +64580,19 @@ def __init__(__self__, *, :param str ref: URI of the AppRole. :param str value: ID of the AppRole. """ - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsAppSamlServiceProviderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -57897,12 +64628,31 @@ def __init__(__self__, *, :param bool requires_consent: If true, indicates that a user must provide consent to access this scope. Note: Used only when this App acts as an OAuth Resource. :param str value: ID of the AppRole. """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "fqs", fqs) - pulumi.set(__self__, "read_only", read_only) - pulumi.set(__self__, "requires_consent", requires_consent) - pulumi.set(__self__, "value", value) + GetDomainsAppScopeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + display_name=display_name, + fqs=fqs, + read_only=read_only, + requires_consent=requires_consent, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + display_name: str, + fqs: str, + read_only: bool, + requires_consent: bool, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("display_name", display_name) + _setter("fqs", fqs) + _setter("read_only", read_only) + _setter("requires_consent", requires_consent) + _setter("value", value) @property @pulumi.getter @@ -57962,8 +64712,19 @@ def __init__(__self__, *, :param str name: The attribute represents the name of the attribute that will be used in the Security Assertion Markup Language (SAML) assertion :param str value: ID of the AppRole. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + GetDomainsAppServiceParamResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("value", value) @property @pulumi.getter @@ -57991,8 +64752,19 @@ def __init__(__self__, *, :param str ref: URI of the AppRole. :param str value: ID of the AppRole. """ - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsAppSignonPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -58020,8 +64792,19 @@ def __init__(__self__, *, :param str key: Oracle Cloud Infrastructure Tag key :param str value: ID of the AppRole. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsAppTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -58051,9 +64834,22 @@ def __init__(__self__, *, :param str ref: URI of the AppRole. :param str value: ID of the AppRole. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsAppTermsOfUseResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -58089,8 +64885,19 @@ def __init__(__self__, *, :param str ref: URI of the AppRole. :param str value: ID of the AppRole. """ - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsAppTrustPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -58120,9 +64927,22 @@ def __init__(__self__, *, :param Sequence['GetDomainsAppUrnietfparamsscimschemasoracleidcsextensionOciTagFreeformTagArgs'] freeform_tags: Oracle Cloud Infrastructure Freeform Tags :param str tag_slug: Oracle Cloud Infrastructure Tag slug """ - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "tag_slug", tag_slug) + GetDomainsAppUrnietfparamsscimschemasoracleidcsextensionOciTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + defined_tags=defined_tags, + freeform_tags=freeform_tags, + tag_slug=tag_slug, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + defined_tags: Sequence['outputs.GetDomainsAppUrnietfparamsscimschemasoracleidcsextensionOciTagDefinedTagResult'], + freeform_tags: Sequence['outputs.GetDomainsAppUrnietfparamsscimschemasoracleidcsextensionOciTagFreeformTagResult'], + tag_slug: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("defined_tags", defined_tags) + _setter("freeform_tags", freeform_tags) + _setter("tag_slug", tag_slug) @property @pulumi.getter(name="definedTags") @@ -58160,9 +64980,22 @@ def __init__(__self__, *, :param str namespace: Oracle Cloud Infrastructure Tag namespace :param str value: ID of the AppRole. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "value", value) + GetDomainsAppUrnietfparamsscimschemasoracleidcsextensionOciTagDefinedTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + namespace=namespace, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + namespace: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("namespace", namespace) + _setter("value", value) @property @pulumi.getter @@ -58198,8 +65031,19 @@ def __init__(__self__, *, :param str key: Oracle Cloud Infrastructure Tag key :param str value: ID of the AppRole. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsAppUrnietfparamsscimschemasoracleidcsextensionOciTagFreeformTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -58227,8 +65071,19 @@ def __init__(__self__, *, :param Sequence['GetDomainsAppUrnietfparamsscimschemasoracleidcsextensiondbcsAppDomainAppArgs'] domain_apps: Description: :param str domain_name: The name of the Enterprise Domain that contains any number of DBInstances. If specified, the value must be unique. A non-null value indicates that App represents a DBDomain. A value of null indicates that the App represents an DB-instance. """ - pulumi.set(__self__, "domain_apps", domain_apps) - pulumi.set(__self__, "domain_name", domain_name) + GetDomainsAppUrnietfparamsscimschemasoracleidcsextensiondbcsAppResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + domain_apps=domain_apps, + domain_name=domain_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + domain_apps: Sequence['outputs.GetDomainsAppUrnietfparamsscimschemasoracleidcsextensiondbcsAppDomainAppResult'], + domain_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("domain_apps", domain_apps) + _setter("domain_name", domain_name) @property @pulumi.getter(name="domainApps") @@ -58258,9 +65113,22 @@ def __init__(__self__, *, :param str ref: URI of the AppRole. :param str value: ID of the AppRole. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsAppUrnietfparamsscimschemasoracleidcsextensiondbcsAppDomainAppResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -58302,11 +65170,28 @@ def __init__(__self__, *, :param int deny_authz_decision_ttl: Deny Authz policy decision expiry time in seconds. :param Sequence['GetDomainsAppUrnietfparamsscimschemasoracleidcsextensionenterpriseAppAppDenyAuthzPolicyArgs'] deny_authz_policies: Deny Authz Policy. """ - pulumi.set(__self__, "allow_authz_decision_ttl", allow_authz_decision_ttl) - pulumi.set(__self__, "allow_authz_policies", allow_authz_policies) - pulumi.set(__self__, "app_resources", app_resources) - pulumi.set(__self__, "deny_authz_decision_ttl", deny_authz_decision_ttl) - pulumi.set(__self__, "deny_authz_policies", deny_authz_policies) + GetDomainsAppUrnietfparamsscimschemasoracleidcsextensionenterpriseAppAppResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allow_authz_decision_ttl=allow_authz_decision_ttl, + allow_authz_policies=allow_authz_policies, + app_resources=app_resources, + deny_authz_decision_ttl=deny_authz_decision_ttl, + deny_authz_policies=deny_authz_policies, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allow_authz_decision_ttl: int, + allow_authz_policies: Sequence['outputs.GetDomainsAppUrnietfparamsscimschemasoracleidcsextensionenterpriseAppAppAllowAuthzPolicyResult'], + app_resources: Sequence['outputs.GetDomainsAppUrnietfparamsscimschemasoracleidcsextensionenterpriseAppAppAppResourceResult'], + deny_authz_decision_ttl: int, + deny_authz_policies: Sequence['outputs.GetDomainsAppUrnietfparamsscimschemasoracleidcsextensionenterpriseAppAppDenyAuthzPolicyResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allow_authz_decision_ttl", allow_authz_decision_ttl) + _setter("allow_authz_policies", allow_authz_policies) + _setter("app_resources", app_resources) + _setter("deny_authz_decision_ttl", deny_authz_decision_ttl) + _setter("deny_authz_policies", deny_authz_policies) @property @pulumi.getter(name="allowAuthzDecisionTtl") @@ -58358,8 +65243,19 @@ def __init__(__self__, *, :param str ref: URI of the AppRole. :param str value: ID of the AppRole. """ - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsAppUrnietfparamsscimschemasoracleidcsextensionenterpriseAppAppAllowAuthzPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -58387,8 +65283,19 @@ def __init__(__self__, *, :param str ref: URI of the AppRole. :param str value: ID of the AppRole. """ - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsAppUrnietfparamsscimschemasoracleidcsextensionenterpriseAppAppAppResourceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -58416,8 +65323,19 @@ def __init__(__self__, *, :param str ref: URI of the AppRole. :param str value: ID of the AppRole. """ - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsAppUrnietfparamsscimschemasoracleidcsextensionenterpriseAppAppDenyAuthzPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -58459,15 +65377,40 @@ def __init__(__self__, *, :param str user_name_form_expression: Indicates the custom expression, which can combine concat and substring operations with literals and with any attribute of the Oracle Identity Cloud Service User :param str user_name_form_template: Format for generating a username. This value can be Username or Email Address; any other value will be treated as a custom expression. A custom expression may combine 'concat' and 'substring' operations with literals and with any attribute of the Oracle Identity Cloud Service user. """ - pulumi.set(__self__, "configuration", configuration) - pulumi.set(__self__, "form_cred_method", form_cred_method) - pulumi.set(__self__, "form_credential_sharing_group_id", form_credential_sharing_group_id) - pulumi.set(__self__, "form_fill_url_matches", form_fill_url_matches) - pulumi.set(__self__, "form_type", form_type) - pulumi.set(__self__, "reveal_password_on_form", reveal_password_on_form) - pulumi.set(__self__, "sync_from_template", sync_from_template) - pulumi.set(__self__, "user_name_form_expression", user_name_form_expression) - pulumi.set(__self__, "user_name_form_template", user_name_form_template) + GetDomainsAppUrnietfparamsscimschemasoracleidcsextensionformFillAppAppResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + configuration=configuration, + form_cred_method=form_cred_method, + form_credential_sharing_group_id=form_credential_sharing_group_id, + form_fill_url_matches=form_fill_url_matches, + form_type=form_type, + reveal_password_on_form=reveal_password_on_form, + sync_from_template=sync_from_template, + user_name_form_expression=user_name_form_expression, + user_name_form_template=user_name_form_template, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + configuration: str, + form_cred_method: str, + form_credential_sharing_group_id: str, + form_fill_url_matches: Sequence['outputs.GetDomainsAppUrnietfparamsscimschemasoracleidcsextensionformFillAppAppFormFillUrlMatchResult'], + form_type: str, + reveal_password_on_form: bool, + sync_from_template: bool, + user_name_form_expression: str, + user_name_form_template: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("configuration", configuration) + _setter("form_cred_method", form_cred_method) + _setter("form_credential_sharing_group_id", form_credential_sharing_group_id) + _setter("form_fill_url_matches", form_fill_url_matches) + _setter("form_type", form_type) + _setter("reveal_password_on_form", reveal_password_on_form) + _setter("sync_from_template", sync_from_template) + _setter("user_name_form_expression", user_name_form_expression) + _setter("user_name_form_template", user_name_form_template) @property @pulumi.getter @@ -58551,8 +65494,19 @@ def __init__(__self__, *, :param str form_url: An application formUrl that FormFill will match against any formUrl that a User enters in trying to access the target-service which this App represents. :param str form_url_match_type: Indicates how to interpret the value of 'formUrl' when matching against a user-specified formUrl. The system currently supports only 'Exact', which indicates that the value of 'formUrl' should be treated as a literal value. """ - pulumi.set(__self__, "form_url", form_url) - pulumi.set(__self__, "form_url_match_type", form_url_match_type) + GetDomainsAppUrnietfparamsscimschemasoracleidcsextensionformFillAppAppFormFillUrlMatchResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + form_url=form_url, + form_url_match_type=form_url_match_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + form_url: str, + form_url_match_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("form_url", form_url) + _setter("form_url_match_type", form_url_match_type) @property @pulumi.getter(name="formUrl") @@ -58594,15 +65548,40 @@ def __init__(__self__, *, :param str user_name_form_expression: Indicates the custom expression, which can combine concat and substring operations with literals and with any attribute of the Oracle Identity Cloud Service User :param str user_name_form_template: Format for generating a username. This value can be Username or Email Address; any other value will be treated as a custom expression. A custom expression may combine 'concat' and 'substring' operations with literals and with any attribute of the Oracle Identity Cloud Service user. """ - pulumi.set(__self__, "configuration", configuration) - pulumi.set(__self__, "form_cred_method", form_cred_method) - pulumi.set(__self__, "form_credential_sharing_group_id", form_credential_sharing_group_id) - pulumi.set(__self__, "form_fill_url_matches", form_fill_url_matches) - pulumi.set(__self__, "form_type", form_type) - pulumi.set(__self__, "reveal_password_on_form", reveal_password_on_form) - pulumi.set(__self__, "sync_from_template", sync_from_template) - pulumi.set(__self__, "user_name_form_expression", user_name_form_expression) - pulumi.set(__self__, "user_name_form_template", user_name_form_template) + GetDomainsAppUrnietfparamsscimschemasoracleidcsextensionformFillAppTemplateAppTemplateResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + configuration=configuration, + form_cred_method=form_cred_method, + form_credential_sharing_group_id=form_credential_sharing_group_id, + form_fill_url_matches=form_fill_url_matches, + form_type=form_type, + reveal_password_on_form=reveal_password_on_form, + sync_from_template=sync_from_template, + user_name_form_expression=user_name_form_expression, + user_name_form_template=user_name_form_template, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + configuration: str, + form_cred_method: str, + form_credential_sharing_group_id: str, + form_fill_url_matches: Sequence['outputs.GetDomainsAppUrnietfparamsscimschemasoracleidcsextensionformFillAppTemplateAppTemplateFormFillUrlMatchResult'], + form_type: str, + reveal_password_on_form: bool, + sync_from_template: bool, + user_name_form_expression: str, + user_name_form_template: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("configuration", configuration) + _setter("form_cred_method", form_cred_method) + _setter("form_credential_sharing_group_id", form_credential_sharing_group_id) + _setter("form_fill_url_matches", form_fill_url_matches) + _setter("form_type", form_type) + _setter("reveal_password_on_form", reveal_password_on_form) + _setter("sync_from_template", sync_from_template) + _setter("user_name_form_expression", user_name_form_expression) + _setter("user_name_form_template", user_name_form_template) @property @pulumi.getter @@ -58686,8 +65665,19 @@ def __init__(__self__, *, :param str form_url: An application formUrl that FormFill will match against any formUrl that a User enters in trying to access the target-service which this App represents. :param str form_url_match_type: Indicates how to interpret the value of 'formUrl' when matching against a user-specified formUrl. The system currently supports only 'Exact', which indicates that the value of 'formUrl' should be treated as a literal value. """ - pulumi.set(__self__, "form_url", form_url) - pulumi.set(__self__, "form_url_match_type", form_url_match_type) + GetDomainsAppUrnietfparamsscimschemasoracleidcsextensionformFillAppTemplateAppTemplateFormFillUrlMatchResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + form_url=form_url, + form_url_match_type=form_url_match_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + form_url: str, + form_url_match_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("form_url", form_url) + _setter("form_url_match_type", form_url_match_type) @property @pulumi.getter(name="formUrl") @@ -58725,13 +65715,34 @@ def __init__(__self__, *, :param Sequence[str] supported_encryption_salt_types: The types of salt that are available for the system to use when encrypting Kerberos-specific artifacts for this App. :param int ticket_flags: Ticket Flags """ - pulumi.set(__self__, "default_encryption_salt_type", default_encryption_salt_type) - pulumi.set(__self__, "master_key", master_key) - pulumi.set(__self__, "max_renewable_age", max_renewable_age) - pulumi.set(__self__, "max_ticket_life", max_ticket_life) - pulumi.set(__self__, "realm_name", realm_name) - pulumi.set(__self__, "supported_encryption_salt_types", supported_encryption_salt_types) - pulumi.set(__self__, "ticket_flags", ticket_flags) + GetDomainsAppUrnietfparamsscimschemasoracleidcsextensionkerberosRealmAppResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + default_encryption_salt_type=default_encryption_salt_type, + master_key=master_key, + max_renewable_age=max_renewable_age, + max_ticket_life=max_ticket_life, + realm_name=realm_name, + supported_encryption_salt_types=supported_encryption_salt_types, + ticket_flags=ticket_flags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + default_encryption_salt_type: str, + master_key: str, + max_renewable_age: int, + max_ticket_life: int, + realm_name: str, + supported_encryption_salt_types: Sequence[str], + ticket_flags: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("default_encryption_salt_type", default_encryption_salt_type) + _setter("master_key", master_key) + _setter("max_renewable_age", max_renewable_age) + _setter("max_ticket_life", max_ticket_life) + _setter("realm_name", realm_name) + _setter("supported_encryption_salt_types", supported_encryption_salt_types) + _setter("ticket_flags", ticket_flags) @property @pulumi.getter(name="defaultEncryptionSaltType") @@ -58843,30 +65854,85 @@ def __init__(__self__, *, :param Sequence['GetDomainsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppThreeLeggedOauthCredentialArgs'] three_legged_oauth_credentials: The value of this attribute persists any OAuth access token that the system uses to connect to this ManagedApp. The system obtains this access token using an OAuth protocol flow that could be two-legged or three-legged. A two-legged flow involves only the requester and the server. A three-legged flow also requires the consent of a user -- in this case the consent of an administrator. :param str three_legged_oauth_provider_name: Three legged OAuth provider name in Oracle Identity Cloud Service. """ - pulumi.set(__self__, "account_form_visible", account_form_visible) - pulumi.set(__self__, "admin_consent_granted", admin_consent_granted) - pulumi.set(__self__, "bundle_configuration_properties", bundle_configuration_properties) - pulumi.set(__self__, "bundle_pool_configurations", bundle_pool_configurations) - pulumi.set(__self__, "can_be_authoritative", can_be_authoritative) - pulumi.set(__self__, "connected", connected) - pulumi.set(__self__, "connector_bundles", connector_bundles) - pulumi.set(__self__, "enable_auth_sync_new_user_notification", enable_auth_sync_new_user_notification) - pulumi.set(__self__, "enable_sync", enable_sync) - pulumi.set(__self__, "enable_sync_summary_report_notification", enable_sync_summary_report_notification) - pulumi.set(__self__, "flat_file_bundle_configuration_properties", flat_file_bundle_configuration_properties) - pulumi.set(__self__, "flat_file_connector_bundles", flat_file_connector_bundles) - pulumi.set(__self__, "identity_bridges", identity_bridges) - pulumi.set(__self__, "is_authoritative", is_authoritative) - pulumi.set(__self__, "is_directory", is_directory) - pulumi.set(__self__, "is_on_premise_app", is_on_premise_app) - pulumi.set(__self__, "is_schema_customization_supported", is_schema_customization_supported) - pulumi.set(__self__, "is_schema_discovery_supported", is_schema_discovery_supported) - pulumi.set(__self__, "is_three_legged_oauth_enabled", is_three_legged_oauth_enabled) - pulumi.set(__self__, "is_two_legged_oauth_enabled", is_two_legged_oauth_enabled) - pulumi.set(__self__, "object_classes", object_classes) - pulumi.set(__self__, "sync_config_last_modified", sync_config_last_modified) - pulumi.set(__self__, "three_legged_oauth_credentials", three_legged_oauth_credentials) - pulumi.set(__self__, "three_legged_oauth_provider_name", three_legged_oauth_provider_name) + GetDomainsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_form_visible=account_form_visible, + admin_consent_granted=admin_consent_granted, + bundle_configuration_properties=bundle_configuration_properties, + bundle_pool_configurations=bundle_pool_configurations, + can_be_authoritative=can_be_authoritative, + connected=connected, + connector_bundles=connector_bundles, + enable_auth_sync_new_user_notification=enable_auth_sync_new_user_notification, + enable_sync=enable_sync, + enable_sync_summary_report_notification=enable_sync_summary_report_notification, + flat_file_bundle_configuration_properties=flat_file_bundle_configuration_properties, + flat_file_connector_bundles=flat_file_connector_bundles, + identity_bridges=identity_bridges, + is_authoritative=is_authoritative, + is_directory=is_directory, + is_on_premise_app=is_on_premise_app, + is_schema_customization_supported=is_schema_customization_supported, + is_schema_discovery_supported=is_schema_discovery_supported, + is_three_legged_oauth_enabled=is_three_legged_oauth_enabled, + is_two_legged_oauth_enabled=is_two_legged_oauth_enabled, + object_classes=object_classes, + sync_config_last_modified=sync_config_last_modified, + three_legged_oauth_credentials=three_legged_oauth_credentials, + three_legged_oauth_provider_name=three_legged_oauth_provider_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_form_visible: bool, + admin_consent_granted: bool, + bundle_configuration_properties: Sequence['outputs.GetDomainsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppBundleConfigurationPropertyResult'], + bundle_pool_configurations: Sequence['outputs.GetDomainsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppBundlePoolConfigurationResult'], + can_be_authoritative: bool, + connected: bool, + connector_bundles: Sequence['outputs.GetDomainsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppConnectorBundleResult'], + enable_auth_sync_new_user_notification: bool, + enable_sync: bool, + enable_sync_summary_report_notification: bool, + flat_file_bundle_configuration_properties: Sequence['outputs.GetDomainsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppFlatFileBundleConfigurationPropertyResult'], + flat_file_connector_bundles: Sequence['outputs.GetDomainsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppFlatFileConnectorBundleResult'], + identity_bridges: Sequence['outputs.GetDomainsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppIdentityBridgeResult'], + is_authoritative: bool, + is_directory: bool, + is_on_premise_app: bool, + is_schema_customization_supported: bool, + is_schema_discovery_supported: bool, + is_three_legged_oauth_enabled: bool, + is_two_legged_oauth_enabled: bool, + object_classes: Sequence['outputs.GetDomainsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppObjectClassResult'], + sync_config_last_modified: str, + three_legged_oauth_credentials: Sequence['outputs.GetDomainsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppThreeLeggedOauthCredentialResult'], + three_legged_oauth_provider_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("account_form_visible", account_form_visible) + _setter("admin_consent_granted", admin_consent_granted) + _setter("bundle_configuration_properties", bundle_configuration_properties) + _setter("bundle_pool_configurations", bundle_pool_configurations) + _setter("can_be_authoritative", can_be_authoritative) + _setter("connected", connected) + _setter("connector_bundles", connector_bundles) + _setter("enable_auth_sync_new_user_notification", enable_auth_sync_new_user_notification) + _setter("enable_sync", enable_sync) + _setter("enable_sync_summary_report_notification", enable_sync_summary_report_notification) + _setter("flat_file_bundle_configuration_properties", flat_file_bundle_configuration_properties) + _setter("flat_file_connector_bundles", flat_file_connector_bundles) + _setter("identity_bridges", identity_bridges) + _setter("is_authoritative", is_authoritative) + _setter("is_directory", is_directory) + _setter("is_on_premise_app", is_on_premise_app) + _setter("is_schema_customization_supported", is_schema_customization_supported) + _setter("is_schema_discovery_supported", is_schema_discovery_supported) + _setter("is_three_legged_oauth_enabled", is_three_legged_oauth_enabled) + _setter("is_two_legged_oauth_enabled", is_two_legged_oauth_enabled) + _setter("object_classes", object_classes) + _setter("sync_config_last_modified", sync_config_last_modified) + _setter("three_legged_oauth_credentials", three_legged_oauth_credentials) + _setter("three_legged_oauth_provider_name", three_legged_oauth_provider_name) @property @pulumi.getter(name="accountFormVisible") @@ -59082,14 +66148,37 @@ def __init__(__self__, *, :param bool required: If true, this flatfile bundle configuration property is required to connect to the target connected managed app. This attribute maps to \\"isRequired\\" attribute in \\"ConfigurationProperty\\" in ICF. :param Sequence[str] values: ID of the AppRole. """ - pulumi.set(__self__, "confidential", confidential) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "help_message", help_message) - pulumi.set(__self__, "icf_type", icf_type) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "order", order) - pulumi.set(__self__, "required", required) - pulumi.set(__self__, "values", values) + GetDomainsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppBundleConfigurationPropertyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + confidential=confidential, + display_name=display_name, + help_message=help_message, + icf_type=icf_type, + name=name, + order=order, + required=required, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + confidential: bool, + display_name: str, + help_message: str, + icf_type: str, + name: str, + order: int, + required: bool, + values: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("confidential", confidential) + _setter("display_name", display_name) + _setter("help_message", help_message) + _setter("icf_type", icf_type) + _setter("name", name) + _setter("order", order) + _setter("required", required) + _setter("values", values) @property @pulumi.getter @@ -59171,11 +66260,28 @@ def __init__(__self__, *, :param int min_evictable_idle_time_millis: Minimum time (in milliseconds) to wait before evicting an idle conenctor instance from the pool. :param int min_idle: Minimum number of idle connector instances in the pool. """ - pulumi.set(__self__, "max_idle", max_idle) - pulumi.set(__self__, "max_objects", max_objects) - pulumi.set(__self__, "max_wait", max_wait) - pulumi.set(__self__, "min_evictable_idle_time_millis", min_evictable_idle_time_millis) - pulumi.set(__self__, "min_idle", min_idle) + GetDomainsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppBundlePoolConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + max_idle=max_idle, + max_objects=max_objects, + max_wait=max_wait, + min_evictable_idle_time_millis=min_evictable_idle_time_millis, + min_idle=min_idle, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max_idle: int, + max_objects: int, + max_wait: int, + min_evictable_idle_time_millis: int, + min_idle: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max_idle", max_idle) + _setter("max_objects", max_objects) + _setter("max_wait", max_wait) + _setter("min_evictable_idle_time_millis", min_evictable_idle_time_millis) + _setter("min_idle", min_idle) @property @pulumi.getter(name="maxIdle") @@ -59233,11 +66339,28 @@ def __init__(__self__, *, :param str value: ID of the AppRole. :param str well_known_id: Unique well-known identifier used to reference connector bundle. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) - pulumi.set(__self__, "well_known_id", well_known_id) + GetDomainsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppConnectorBundleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ref=ref, + type=type, + value=value, + well_known_id=well_known_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ref: str, + type: str, + value: str, + well_known_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) + _setter("well_known_id", well_known_id) @property @pulumi.getter @@ -59301,14 +66424,37 @@ def __init__(__self__, *, :param bool required: If true, this flatfile bundle configuration property is required to connect to the target connected managed app. This attribute maps to \\"isRequired\\" attribute in \\"ConfigurationProperty\\" in ICF. :param Sequence[str] values: ID of the AppRole. """ - pulumi.set(__self__, "confidential", confidential) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "help_message", help_message) - pulumi.set(__self__, "icf_type", icf_type) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "order", order) - pulumi.set(__self__, "required", required) - pulumi.set(__self__, "values", values) + GetDomainsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppFlatFileBundleConfigurationPropertyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + confidential=confidential, + display_name=display_name, + help_message=help_message, + icf_type=icf_type, + name=name, + order=order, + required=required, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + confidential: bool, + display_name: str, + help_message: str, + icf_type: str, + name: str, + order: int, + required: bool, + values: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("confidential", confidential) + _setter("display_name", display_name) + _setter("help_message", help_message) + _setter("icf_type", icf_type) + _setter("name", name) + _setter("order", order) + _setter("required", required) + _setter("values", values) @property @pulumi.getter @@ -59388,10 +66534,25 @@ def __init__(__self__, *, :param str value: ID of the AppRole. :param str well_known_id: Unique well-known identifier used to reference connector bundle. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) - pulumi.set(__self__, "well_known_id", well_known_id) + GetDomainsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppFlatFileConnectorBundleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ref=ref, + value=value, + well_known_id=well_known_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ref: str, + value: str, + well_known_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ref", ref) + _setter("value", value) + _setter("well_known_id", well_known_id) @property @pulumi.getter @@ -59437,9 +66598,22 @@ def __init__(__self__, *, :param str ref: URI of the AppRole. :param str value: ID of the AppRole. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppIdentityBridgeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -59483,12 +66657,31 @@ def __init__(__self__, *, :param str type: Object Class type. Allowed values are AccountObjectClass, ManagedObjectClass. :param str value: ID of the AppRole. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "is_account_object_class", is_account_object_class) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppObjectClassResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + is_account_object_class=is_account_object_class, + ref=ref, + resource_type=resource_type, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + is_account_object_class: bool, + ref: str, + resource_type: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("is_account_object_class", is_account_object_class) + _setter("ref", ref) + _setter("resource_type", resource_type) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -59550,9 +66743,22 @@ def __init__(__self__, *, :param str access_token_expiry: Access token expiry :param str refresh_token: Refresh Token """ - pulumi.set(__self__, "access_token", access_token) - pulumi.set(__self__, "access_token_expiry", access_token_expiry) - pulumi.set(__self__, "refresh_token", refresh_token) + GetDomainsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppThreeLeggedOauthCredentialResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + access_token=access_token, + access_token_expiry=access_token_expiry, + refresh_token=refresh_token, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access_token: str, + access_token_expiry: str, + refresh_token: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("access_token", access_token) + _setter("access_token_expiry", access_token_expiry) + _setter("refresh_token", refresh_token) @property @pulumi.getter(name="accessToken") @@ -59588,8 +66794,19 @@ def __init__(__self__, *, :param str multicloud_platform_url: The multicloud platform service URL which the application will invoke for runtime operations such as AWSCredentials api invocation :param str multicloud_service_type: Specifies the service type for which the application is configured for multicloud integration. For applicable external service types, app will invoke multicloud service for runtime operations """ - pulumi.set(__self__, "multicloud_platform_url", multicloud_platform_url) - pulumi.set(__self__, "multicloud_service_type", multicloud_service_type) + GetDomainsAppUrnietfparamsscimschemasoracleidcsextensionmulticloudServiceAppAppResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + multicloud_platform_url=multicloud_platform_url, + multicloud_service_type=multicloud_service_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + multicloud_platform_url: str, + multicloud_service_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("multicloud_platform_url", multicloud_platform_url) + _setter("multicloud_service_type", multicloud_service_type) @property @pulumi.getter(name="multicloudPlatformUrl") @@ -59627,13 +66844,34 @@ def __init__(__self__, *, :param str region: This value identifies the OPC region in which the service is running. :param str service_instance_identifier: This value specifies the unique identifier assigned to an instance of an Oracle Public Cloud service app. """ - pulumi.set(__self__, "current_federation_mode", current_federation_mode) - pulumi.set(__self__, "current_synchronization_mode", current_synchronization_mode) - pulumi.set(__self__, "enabling_next_fed_sync_modes", enabling_next_fed_sync_modes) - pulumi.set(__self__, "next_federation_mode", next_federation_mode) - pulumi.set(__self__, "next_synchronization_mode", next_synchronization_mode) - pulumi.set(__self__, "region", region) - pulumi.set(__self__, "service_instance_identifier", service_instance_identifier) + GetDomainsAppUrnietfparamsscimschemasoracleidcsextensionopcServiceAppResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + current_federation_mode=current_federation_mode, + current_synchronization_mode=current_synchronization_mode, + enabling_next_fed_sync_modes=enabling_next_fed_sync_modes, + next_federation_mode=next_federation_mode, + next_synchronization_mode=next_synchronization_mode, + region=region, + service_instance_identifier=service_instance_identifier, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + current_federation_mode: str, + current_synchronization_mode: str, + enabling_next_fed_sync_modes: bool, + next_federation_mode: str, + next_synchronization_mode: str, + region: str, + service_instance_identifier: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("current_federation_mode", current_federation_mode) + _setter("current_synchronization_mode", current_synchronization_mode) + _setter("enabling_next_fed_sync_modes", enabling_next_fed_sync_modes) + _setter("next_federation_mode", next_federation_mode) + _setter("next_synchronization_mode", next_synchronization_mode) + _setter("region", region) + _setter("service_instance_identifier", service_instance_identifier) @property @pulumi.getter(name="currentFederationMode") @@ -59727,21 +66965,58 @@ def __init__(__self__, *, :param str secret_key: Secret key used to secure communication between RADIUS Proxy and RADIUS client :param str type_of_radius_app: Value consists of type of RADIUS App. Type can be Oracle Database, VPN etc """ - pulumi.set(__self__, "capture_client_ip", capture_client_ip) - pulumi.set(__self__, "client_ip", client_ip) - pulumi.set(__self__, "country_code_response_attribute_id", country_code_response_attribute_id) - pulumi.set(__self__, "end_user_ip_attribute", end_user_ip_attribute) - pulumi.set(__self__, "group_membership_radius_attribute", group_membership_radius_attribute) - pulumi.set(__self__, "group_membership_to_returns", group_membership_to_returns) - pulumi.set(__self__, "group_name_format", group_name_format) - pulumi.set(__self__, "include_group_in_response", include_group_in_response) - pulumi.set(__self__, "password_and_otp_together", password_and_otp_together) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "radius_vendor_specific_id", radius_vendor_specific_id) - pulumi.set(__self__, "response_format", response_format) - pulumi.set(__self__, "response_format_delimiter", response_format_delimiter) - pulumi.set(__self__, "secret_key", secret_key) - pulumi.set(__self__, "type_of_radius_app", type_of_radius_app) + GetDomainsAppUrnietfparamsscimschemasoracleidcsextensionradiusAppAppResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + capture_client_ip=capture_client_ip, + client_ip=client_ip, + country_code_response_attribute_id=country_code_response_attribute_id, + end_user_ip_attribute=end_user_ip_attribute, + group_membership_radius_attribute=group_membership_radius_attribute, + group_membership_to_returns=group_membership_to_returns, + group_name_format=group_name_format, + include_group_in_response=include_group_in_response, + password_and_otp_together=password_and_otp_together, + port=port, + radius_vendor_specific_id=radius_vendor_specific_id, + response_format=response_format, + response_format_delimiter=response_format_delimiter, + secret_key=secret_key, + type_of_radius_app=type_of_radius_app, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + capture_client_ip: bool, + client_ip: str, + country_code_response_attribute_id: str, + end_user_ip_attribute: str, + group_membership_radius_attribute: str, + group_membership_to_returns: Sequence['outputs.GetDomainsAppUrnietfparamsscimschemasoracleidcsextensionradiusAppAppGroupMembershipToReturnResult'], + group_name_format: str, + include_group_in_response: bool, + password_and_otp_together: bool, + port: str, + radius_vendor_specific_id: str, + response_format: str, + response_format_delimiter: str, + secret_key: str, + type_of_radius_app: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("capture_client_ip", capture_client_ip) + _setter("client_ip", client_ip) + _setter("country_code_response_attribute_id", country_code_response_attribute_id) + _setter("end_user_ip_attribute", end_user_ip_attribute) + _setter("group_membership_radius_attribute", group_membership_radius_attribute) + _setter("group_membership_to_returns", group_membership_to_returns) + _setter("group_name_format", group_name_format) + _setter("include_group_in_response", include_group_in_response) + _setter("password_and_otp_together", password_and_otp_together) + _setter("port", port) + _setter("radius_vendor_specific_id", radius_vendor_specific_id) + _setter("response_format", response_format) + _setter("response_format_delimiter", response_format_delimiter) + _setter("secret_key", secret_key) + _setter("type_of_radius_app", type_of_radius_app) @property @pulumi.getter(name="captureClientIp") @@ -59875,9 +67150,22 @@ def __init__(__self__, *, :param str ref: URI of the AppRole. :param str value: ID of the AppRole. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsAppUrnietfparamsscimschemasoracleidcsextensionradiusAppAppGroupMembershipToReturnResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -59911,7 +67199,16 @@ def __init__(__self__, *, """ :param bool requestable: Flag controlling whether resource can be request by user through self service console. """ - pulumi.set(__self__, "requestable", requestable) + GetDomainsAppUrnietfparamsscimschemasoracleidcsextensionrequestableAppResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + requestable=requestable, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + requestable: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("requestable", requestable) @property @pulumi.getter @@ -59981,33 +67278,94 @@ def __init__(__self__, *, :param str tenant_provider_id: The alternate Provider ID to be used as the Oracle Identity Cloud Service providerID (instead of the one in SamlSettings) when interacting with this SP. :param Sequence['GetDomainsAppUrnietfparamsscimschemasoracleidcsextensionsamlServiceProviderAppUserAssertionAttributeArgs'] user_assertion_attributes: Each value of this attribute describes an attribute of User that will be sent in a Security Assertion Markup Language (SAML) assertion. """ - pulumi.set(__self__, "assertion_consumer_url", assertion_consumer_url) - pulumi.set(__self__, "encrypt_assertion", encrypt_assertion) - pulumi.set(__self__, "encryption_algorithm", encryption_algorithm) - pulumi.set(__self__, "encryption_certificate", encryption_certificate) - pulumi.set(__self__, "federation_protocol", federation_protocol) - pulumi.set(__self__, "group_assertion_attributes", group_assertion_attributes) - pulumi.set(__self__, "hok_acs_url", hok_acs_url) - pulumi.set(__self__, "hok_required", hok_required) - pulumi.set(__self__, "include_signing_cert_in_signature", include_signing_cert_in_signature) - pulumi.set(__self__, "key_encryption_algorithm", key_encryption_algorithm) - pulumi.set(__self__, "last_notification_sent_time", last_notification_sent_time) - pulumi.set(__self__, "logout_binding", logout_binding) - pulumi.set(__self__, "logout_enabled", logout_enabled) - pulumi.set(__self__, "logout_request_url", logout_request_url) - pulumi.set(__self__, "logout_response_url", logout_response_url) - pulumi.set(__self__, "metadata", metadata) - pulumi.set(__self__, "name_id_format", name_id_format) - pulumi.set(__self__, "name_id_userstore_attribute", name_id_userstore_attribute) - pulumi.set(__self__, "outbound_assertion_attributes", outbound_assertion_attributes) - pulumi.set(__self__, "partner_provider_id", partner_provider_id) - pulumi.set(__self__, "partner_provider_pattern", partner_provider_pattern) - pulumi.set(__self__, "sign_response_or_assertion", sign_response_or_assertion) - pulumi.set(__self__, "signature_hash_algorithm", signature_hash_algorithm) - pulumi.set(__self__, "signing_certificate", signing_certificate) - pulumi.set(__self__, "succinct_id", succinct_id) - pulumi.set(__self__, "tenant_provider_id", tenant_provider_id) - pulumi.set(__self__, "user_assertion_attributes", user_assertion_attributes) + GetDomainsAppUrnietfparamsscimschemasoracleidcsextensionsamlServiceProviderAppResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + assertion_consumer_url=assertion_consumer_url, + encrypt_assertion=encrypt_assertion, + encryption_algorithm=encryption_algorithm, + encryption_certificate=encryption_certificate, + federation_protocol=federation_protocol, + group_assertion_attributes=group_assertion_attributes, + hok_acs_url=hok_acs_url, + hok_required=hok_required, + include_signing_cert_in_signature=include_signing_cert_in_signature, + key_encryption_algorithm=key_encryption_algorithm, + last_notification_sent_time=last_notification_sent_time, + logout_binding=logout_binding, + logout_enabled=logout_enabled, + logout_request_url=logout_request_url, + logout_response_url=logout_response_url, + metadata=metadata, + name_id_format=name_id_format, + name_id_userstore_attribute=name_id_userstore_attribute, + outbound_assertion_attributes=outbound_assertion_attributes, + partner_provider_id=partner_provider_id, + partner_provider_pattern=partner_provider_pattern, + sign_response_or_assertion=sign_response_or_assertion, + signature_hash_algorithm=signature_hash_algorithm, + signing_certificate=signing_certificate, + succinct_id=succinct_id, + tenant_provider_id=tenant_provider_id, + user_assertion_attributes=user_assertion_attributes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + assertion_consumer_url: str, + encrypt_assertion: bool, + encryption_algorithm: str, + encryption_certificate: str, + federation_protocol: str, + group_assertion_attributes: Sequence['outputs.GetDomainsAppUrnietfparamsscimschemasoracleidcsextensionsamlServiceProviderAppGroupAssertionAttributeResult'], + hok_acs_url: str, + hok_required: bool, + include_signing_cert_in_signature: bool, + key_encryption_algorithm: str, + last_notification_sent_time: str, + logout_binding: str, + logout_enabled: bool, + logout_request_url: str, + logout_response_url: str, + metadata: str, + name_id_format: str, + name_id_userstore_attribute: str, + outbound_assertion_attributes: Sequence['outputs.GetDomainsAppUrnietfparamsscimschemasoracleidcsextensionsamlServiceProviderAppOutboundAssertionAttributeResult'], + partner_provider_id: str, + partner_provider_pattern: str, + sign_response_or_assertion: str, + signature_hash_algorithm: str, + signing_certificate: str, + succinct_id: str, + tenant_provider_id: str, + user_assertion_attributes: Sequence['outputs.GetDomainsAppUrnietfparamsscimschemasoracleidcsextensionsamlServiceProviderAppUserAssertionAttributeResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("assertion_consumer_url", assertion_consumer_url) + _setter("encrypt_assertion", encrypt_assertion) + _setter("encryption_algorithm", encryption_algorithm) + _setter("encryption_certificate", encryption_certificate) + _setter("federation_protocol", federation_protocol) + _setter("group_assertion_attributes", group_assertion_attributes) + _setter("hok_acs_url", hok_acs_url) + _setter("hok_required", hok_required) + _setter("include_signing_cert_in_signature", include_signing_cert_in_signature) + _setter("key_encryption_algorithm", key_encryption_algorithm) + _setter("last_notification_sent_time", last_notification_sent_time) + _setter("logout_binding", logout_binding) + _setter("logout_enabled", logout_enabled) + _setter("logout_request_url", logout_request_url) + _setter("logout_response_url", logout_response_url) + _setter("metadata", metadata) + _setter("name_id_format", name_id_format) + _setter("name_id_userstore_attribute", name_id_userstore_attribute) + _setter("outbound_assertion_attributes", outbound_assertion_attributes) + _setter("partner_provider_id", partner_provider_id) + _setter("partner_provider_pattern", partner_provider_pattern) + _setter("sign_response_or_assertion", sign_response_or_assertion) + _setter("signature_hash_algorithm", signature_hash_algorithm) + _setter("signing_certificate", signing_certificate) + _setter("succinct_id", succinct_id) + _setter("tenant_provider_id", tenant_provider_id) + _setter("user_assertion_attributes", user_assertion_attributes) @property @pulumi.getter(name="assertionConsumerUrl") @@ -60239,10 +67597,25 @@ def __init__(__self__, *, :param str group_name: Indicates the group name that are supported for the group assertion attributes. :param str name: The attribute represents the name of the attribute that will be used in the Security Assertion Markup Language (SAML) assertion """ - pulumi.set(__self__, "condition", condition) - pulumi.set(__self__, "format", format) - pulumi.set(__self__, "group_name", group_name) - pulumi.set(__self__, "name", name) + GetDomainsAppUrnietfparamsscimschemasoracleidcsextensionsamlServiceProviderAppGroupAssertionAttributeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + condition=condition, + format=format, + group_name=group_name, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + condition: str, + format: str, + group_name: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("condition", condition) + _setter("format", format) + _setter("group_name", group_name) + _setter("name", name) @property @pulumi.getter @@ -60288,9 +67661,22 @@ def __init__(__self__, *, :param str ref: URI of the AppRole. :param str value: ID of the AppRole. """ - pulumi.set(__self__, "direction", direction) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsAppUrnietfparamsscimschemasoracleidcsextensionsamlServiceProviderAppOutboundAssertionAttributeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + direction=direction, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + direction: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("direction", direction) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -60328,9 +67714,22 @@ def __init__(__self__, *, :param str name: The attribute represents the name of the attribute that will be used in the Security Assertion Markup Language (SAML) assertion :param str user_store_attribute_name: This attribute specifies which user attribute should be used to create the value of the SAML assertion attribute. The userstore attribute can be constructed by using attributes from the Oracle Identity Cloud Service Core Users schema.
Note: Attributes from extensions to the Core User schema are not supported in v1.0. """ - pulumi.set(__self__, "format", format) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "user_store_attribute_name", user_store_attribute_name) + GetDomainsAppUrnietfparamsscimschemasoracleidcsextensionsamlServiceProviderAppUserAssertionAttributeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + format=format, + name=name, + user_store_attribute_name=user_store_attribute_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + format: str, + name: str, + user_store_attribute_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("format", format) + _setter("name", name) + _setter("user_store_attribute_name", user_store_attribute_name) @property @pulumi.getter @@ -60368,9 +67767,22 @@ def __init__(__self__, *, :param str web_tier_policy_az_control: Webtier policy AZ Control :param str web_tier_policy_json: Store the web tier policy for an application as a string in Javascript Object Notification (JSON) format. """ - pulumi.set(__self__, "resource_ref", resource_ref) - pulumi.set(__self__, "web_tier_policy_az_control", web_tier_policy_az_control) - pulumi.set(__self__, "web_tier_policy_json", web_tier_policy_json) + GetDomainsAppUrnietfparamsscimschemasoracleidcsextensionwebTierPolicyAppResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + resource_ref=resource_ref, + web_tier_policy_az_control=web_tier_policy_az_control, + web_tier_policy_json=web_tier_policy_json, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + resource_ref: bool, + web_tier_policy_az_control: str, + web_tier_policy_json: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("resource_ref", resource_ref) + _setter("web_tier_policy_az_control", web_tier_policy_az_control) + _setter("web_tier_policy_json", web_tier_policy_json) @property @pulumi.getter(name="resourceRef") @@ -60410,10 +67822,25 @@ def __init__(__self__, *, :param str ref: URI of the AppRole. :param str value: ID of the AppRole. """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsAppUserRoleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + display=display, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + display: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("display", display) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -60697,128 +68124,379 @@ def __init__(__self__, *, :param Sequence['GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensionwebTierPolicyAppArgs'] urnietfparamsscimschemasoracleidcsextensionweb_tier_policy_apps: WebTier Policy :param Sequence['GetDomainsAppsAppUserRoleArgs'] user_roles: A list of AppRoles defined by this UnmanagedApp. Membership in each of these AppRoles confers end-user privilege within this App. """ - pulumi.set(__self__, "access_token_expiry", access_token_expiry) - pulumi.set(__self__, "accounts", accounts) - pulumi.set(__self__, "active", active) - pulumi.set(__self__, "admin_roles", admin_roles) - pulumi.set(__self__, "alias_apps", alias_apps) - pulumi.set(__self__, "all_url_schemes_allowed", all_url_schemes_allowed) - pulumi.set(__self__, "allow_access_control", allow_access_control) - pulumi.set(__self__, "allow_offline", allow_offline) - pulumi.set(__self__, "allowed_grants", allowed_grants) - pulumi.set(__self__, "allowed_operations", allowed_operations) - pulumi.set(__self__, "allowed_scopes", allowed_scopes) - pulumi.set(__self__, "allowed_tags", allowed_tags) - pulumi.set(__self__, "app_icon", app_icon) - pulumi.set(__self__, "app_signon_policies", app_signon_policies) - pulumi.set(__self__, "app_thumbnail", app_thumbnail) - pulumi.set(__self__, "apps_network_perimeters", apps_network_perimeters) - pulumi.set(__self__, "as_opc_services", as_opc_services) - pulumi.set(__self__, "attr_rendering_metadatas", attr_rendering_metadatas) - pulumi.set(__self__, "attribute_sets", attribute_sets) - pulumi.set(__self__, "attributes", attributes) - pulumi.set(__self__, "audience", audience) - pulumi.set(__self__, "authorization", authorization) - pulumi.set(__self__, "based_on_templates", based_on_templates) - pulumi.set(__self__, "bypass_consent", bypass_consent) - pulumi.set(__self__, "callback_service_url", callback_service_url) - pulumi.set(__self__, "certificates", certificates) - pulumi.set(__self__, "client_ip_checking", client_ip_checking) - pulumi.set(__self__, "client_secret", client_secret) - pulumi.set(__self__, "client_type", client_type) - pulumi.set(__self__, "cloud_control_properties", cloud_control_properties) - pulumi.set(__self__, "compartment_ocid", compartment_ocid) - pulumi.set(__self__, "contact_email_address", contact_email_address) - pulumi.set(__self__, "delegated_service_names", delegated_service_names) - pulumi.set(__self__, "delete_in_progress", delete_in_progress) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "disable_kmsi_token_authentication", disable_kmsi_token_authentication) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "domain_ocid", domain_ocid) - pulumi.set(__self__, "editable_attributes", editable_attributes) - pulumi.set(__self__, "error_page_url", error_page_url) - pulumi.set(__self__, "granted_app_roles", granted_app_roles) - pulumi.set(__self__, "grants", grants) - pulumi.set(__self__, "hashed_client_secret", hashed_client_secret) - pulumi.set(__self__, "home_page_url", home_page_url) - pulumi.set(__self__, "icon", icon) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "id_token_enc_algo", id_token_enc_algo) - pulumi.set(__self__, "idcs_created_bies", idcs_created_bies) - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) - pulumi.set(__self__, "idcs_last_modified_bies", idcs_last_modified_bies) - pulumi.set(__self__, "idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) - pulumi.set(__self__, "idcs_prevented_operations", idcs_prevented_operations) - pulumi.set(__self__, "identity_providers", identity_providers) - pulumi.set(__self__, "idp_policies", idp_policies) - pulumi.set(__self__, "infrastructure", infrastructure) - pulumi.set(__self__, "is_alias_app", is_alias_app) - pulumi.set(__self__, "is_database_service", is_database_service) - pulumi.set(__self__, "is_enterprise_app", is_enterprise_app) - pulumi.set(__self__, "is_form_fill", is_form_fill) - pulumi.set(__self__, "is_kerberos_realm", is_kerberos_realm) - pulumi.set(__self__, "is_login_target", is_login_target) - pulumi.set(__self__, "is_managed_app", is_managed_app) - pulumi.set(__self__, "is_mobile_target", is_mobile_target) - pulumi.set(__self__, "is_multicloud_service_app", is_multicloud_service_app) - pulumi.set(__self__, "is_oauth_client", is_oauth_client) - pulumi.set(__self__, "is_oauth_resource", is_oauth_resource) - pulumi.set(__self__, "is_obligation_capable", is_obligation_capable) - pulumi.set(__self__, "is_opc_service", is_opc_service) - pulumi.set(__self__, "is_radius_app", is_radius_app) - pulumi.set(__self__, "is_saml_service_provider", is_saml_service_provider) - pulumi.set(__self__, "is_unmanaged_app", is_unmanaged_app) - pulumi.set(__self__, "is_web_tier_policy", is_web_tier_policy) - pulumi.set(__self__, "landing_page_url", landing_page_url) - pulumi.set(__self__, "linking_callback_url", linking_callback_url) - pulumi.set(__self__, "login_mechanism", login_mechanism) - pulumi.set(__self__, "login_page_url", login_page_url) - pulumi.set(__self__, "logout_page_url", logout_page_url) - pulumi.set(__self__, "logout_uri", logout_uri) - pulumi.set(__self__, "metas", metas) - pulumi.set(__self__, "meter_as_opc_service", meter_as_opc_service) - pulumi.set(__self__, "migrated", migrated) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "post_logout_redirect_uris", post_logout_redirect_uris) - pulumi.set(__self__, "privacy_policy_url", privacy_policy_url) - pulumi.set(__self__, "product_logo_url", product_logo_url) - pulumi.set(__self__, "product_name", product_name) - pulumi.set(__self__, "protectable_secondary_audiences", protectable_secondary_audiences) - pulumi.set(__self__, "radius_policies", radius_policies) - pulumi.set(__self__, "ready_to_upgrade", ready_to_upgrade) - pulumi.set(__self__, "redirect_uris", redirect_uris) - pulumi.set(__self__, "refresh_token_expiry", refresh_token_expiry) - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) - pulumi.set(__self__, "saml_service_providers", saml_service_providers) - pulumi.set(__self__, "schemas", schemas) - pulumi.set(__self__, "scopes", scopes) - pulumi.set(__self__, "secondary_audiences", secondary_audiences) - pulumi.set(__self__, "service_params", service_params) - pulumi.set(__self__, "service_type_urn", service_type_urn) - pulumi.set(__self__, "service_type_version", service_type_version) - pulumi.set(__self__, "show_in_my_apps", show_in_my_apps) - pulumi.set(__self__, "signon_policies", signon_policies) - pulumi.set(__self__, "tags", tags) - pulumi.set(__self__, "tenancy_ocid", tenancy_ocid) - pulumi.set(__self__, "terms_of_service_url", terms_of_service_url) - pulumi.set(__self__, "terms_of_uses", terms_of_uses) - pulumi.set(__self__, "trust_policies", trust_policies) - pulumi.set(__self__, "trust_scope", trust_scope) - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextension_oci_tags", urnietfparamsscimschemasoracleidcsextension_oci_tags) - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensiondbcs_apps", urnietfparamsscimschemasoracleidcsextensiondbcs_apps) - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionenterprise_app_apps", urnietfparamsscimschemasoracleidcsextensionenterprise_app_apps) - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionform_fill_app_apps", urnietfparamsscimschemasoracleidcsextensionform_fill_app_apps) - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionform_fill_app_template_app_templates", urnietfparamsscimschemasoracleidcsextensionform_fill_app_template_app_templates) - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionkerberos_realm_apps", urnietfparamsscimschemasoracleidcsextensionkerberos_realm_apps) - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionmanagedapp_apps", urnietfparamsscimschemasoracleidcsextensionmanagedapp_apps) - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionmulticloud_service_app_apps", urnietfparamsscimschemasoracleidcsextensionmulticloud_service_app_apps) - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionopc_service_apps", urnietfparamsscimschemasoracleidcsextensionopc_service_apps) - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionradius_app_apps", urnietfparamsscimschemasoracleidcsextensionradius_app_apps) - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionrequestable_apps", urnietfparamsscimschemasoracleidcsextensionrequestable_apps) - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionsaml_service_provider_apps", urnietfparamsscimschemasoracleidcsextensionsaml_service_provider_apps) - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionweb_tier_policy_apps", urnietfparamsscimschemasoracleidcsextensionweb_tier_policy_apps) - pulumi.set(__self__, "user_roles", user_roles) + GetDomainsAppsAppResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + access_token_expiry=access_token_expiry, + accounts=accounts, + active=active, + admin_roles=admin_roles, + alias_apps=alias_apps, + all_url_schemes_allowed=all_url_schemes_allowed, + allow_access_control=allow_access_control, + allow_offline=allow_offline, + allowed_grants=allowed_grants, + allowed_operations=allowed_operations, + allowed_scopes=allowed_scopes, + allowed_tags=allowed_tags, + app_icon=app_icon, + app_signon_policies=app_signon_policies, + app_thumbnail=app_thumbnail, + apps_network_perimeters=apps_network_perimeters, + as_opc_services=as_opc_services, + attr_rendering_metadatas=attr_rendering_metadatas, + attribute_sets=attribute_sets, + attributes=attributes, + audience=audience, + authorization=authorization, + based_on_templates=based_on_templates, + bypass_consent=bypass_consent, + callback_service_url=callback_service_url, + certificates=certificates, + client_ip_checking=client_ip_checking, + client_secret=client_secret, + client_type=client_type, + cloud_control_properties=cloud_control_properties, + compartment_ocid=compartment_ocid, + contact_email_address=contact_email_address, + delegated_service_names=delegated_service_names, + delete_in_progress=delete_in_progress, + description=description, + disable_kmsi_token_authentication=disable_kmsi_token_authentication, + display_name=display_name, + domain_ocid=domain_ocid, + editable_attributes=editable_attributes, + error_page_url=error_page_url, + granted_app_roles=granted_app_roles, + grants=grants, + hashed_client_secret=hashed_client_secret, + home_page_url=home_page_url, + icon=icon, + id=id, + id_token_enc_algo=id_token_enc_algo, + idcs_created_bies=idcs_created_bies, + idcs_endpoint=idcs_endpoint, + idcs_last_modified_bies=idcs_last_modified_bies, + idcs_last_upgraded_in_release=idcs_last_upgraded_in_release, + idcs_prevented_operations=idcs_prevented_operations, + identity_providers=identity_providers, + idp_policies=idp_policies, + infrastructure=infrastructure, + is_alias_app=is_alias_app, + is_database_service=is_database_service, + is_enterprise_app=is_enterprise_app, + is_form_fill=is_form_fill, + is_kerberos_realm=is_kerberos_realm, + is_login_target=is_login_target, + is_managed_app=is_managed_app, + is_mobile_target=is_mobile_target, + is_multicloud_service_app=is_multicloud_service_app, + is_oauth_client=is_oauth_client, + is_oauth_resource=is_oauth_resource, + is_obligation_capable=is_obligation_capable, + is_opc_service=is_opc_service, + is_radius_app=is_radius_app, + is_saml_service_provider=is_saml_service_provider, + is_unmanaged_app=is_unmanaged_app, + is_web_tier_policy=is_web_tier_policy, + landing_page_url=landing_page_url, + linking_callback_url=linking_callback_url, + login_mechanism=login_mechanism, + login_page_url=login_page_url, + logout_page_url=logout_page_url, + logout_uri=logout_uri, + metas=metas, + meter_as_opc_service=meter_as_opc_service, + migrated=migrated, + name=name, + ocid=ocid, + post_logout_redirect_uris=post_logout_redirect_uris, + privacy_policy_url=privacy_policy_url, + product_logo_url=product_logo_url, + product_name=product_name, + protectable_secondary_audiences=protectable_secondary_audiences, + radius_policies=radius_policies, + ready_to_upgrade=ready_to_upgrade, + redirect_uris=redirect_uris, + refresh_token_expiry=refresh_token_expiry, + resource_type_schema_version=resource_type_schema_version, + saml_service_providers=saml_service_providers, + schemas=schemas, + scopes=scopes, + secondary_audiences=secondary_audiences, + service_params=service_params, + service_type_urn=service_type_urn, + service_type_version=service_type_version, + show_in_my_apps=show_in_my_apps, + signon_policies=signon_policies, + tags=tags, + tenancy_ocid=tenancy_ocid, + terms_of_service_url=terms_of_service_url, + terms_of_uses=terms_of_uses, + trust_policies=trust_policies, + trust_scope=trust_scope, + urnietfparamsscimschemasoracleidcsextension_oci_tags=urnietfparamsscimschemasoracleidcsextension_oci_tags, + urnietfparamsscimschemasoracleidcsextensiondbcs_apps=urnietfparamsscimschemasoracleidcsextensiondbcs_apps, + urnietfparamsscimschemasoracleidcsextensionenterprise_app_apps=urnietfparamsscimschemasoracleidcsextensionenterprise_app_apps, + urnietfparamsscimschemasoracleidcsextensionform_fill_app_apps=urnietfparamsscimschemasoracleidcsextensionform_fill_app_apps, + urnietfparamsscimschemasoracleidcsextensionform_fill_app_template_app_templates=urnietfparamsscimschemasoracleidcsextensionform_fill_app_template_app_templates, + urnietfparamsscimschemasoracleidcsextensionkerberos_realm_apps=urnietfparamsscimschemasoracleidcsextensionkerberos_realm_apps, + urnietfparamsscimschemasoracleidcsextensionmanagedapp_apps=urnietfparamsscimschemasoracleidcsextensionmanagedapp_apps, + urnietfparamsscimschemasoracleidcsextensionmulticloud_service_app_apps=urnietfparamsscimschemasoracleidcsextensionmulticloud_service_app_apps, + urnietfparamsscimschemasoracleidcsextensionopc_service_apps=urnietfparamsscimschemasoracleidcsextensionopc_service_apps, + urnietfparamsscimschemasoracleidcsextensionradius_app_apps=urnietfparamsscimschemasoracleidcsextensionradius_app_apps, + urnietfparamsscimschemasoracleidcsextensionrequestable_apps=urnietfparamsscimschemasoracleidcsextensionrequestable_apps, + urnietfparamsscimschemasoracleidcsextensionsaml_service_provider_apps=urnietfparamsscimschemasoracleidcsextensionsaml_service_provider_apps, + urnietfparamsscimschemasoracleidcsextensionweb_tier_policy_apps=urnietfparamsscimschemasoracleidcsextensionweb_tier_policy_apps, + user_roles=user_roles, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access_token_expiry: int, + accounts: Sequence['outputs.GetDomainsAppsAppAccountResult'], + active: bool, + admin_roles: Sequence['outputs.GetDomainsAppsAppAdminRoleResult'], + alias_apps: Sequence['outputs.GetDomainsAppsAppAliasAppResult'], + all_url_schemes_allowed: bool, + allow_access_control: bool, + allow_offline: bool, + allowed_grants: Sequence[str], + allowed_operations: Sequence[str], + allowed_scopes: Sequence['outputs.GetDomainsAppsAppAllowedScopeResult'], + allowed_tags: Sequence['outputs.GetDomainsAppsAppAllowedTagResult'], + app_icon: str, + app_signon_policies: Sequence['outputs.GetDomainsAppsAppAppSignonPolicyResult'], + app_thumbnail: str, + apps_network_perimeters: Sequence['outputs.GetDomainsAppsAppAppsNetworkPerimeterResult'], + as_opc_services: Sequence['outputs.GetDomainsAppsAppAsOpcServiceResult'], + attr_rendering_metadatas: Sequence['outputs.GetDomainsAppsAppAttrRenderingMetadataResult'], + attribute_sets: Sequence[str], + attributes: str, + audience: str, + authorization: str, + based_on_templates: Sequence['outputs.GetDomainsAppsAppBasedOnTemplateResult'], + bypass_consent: bool, + callback_service_url: str, + certificates: Sequence['outputs.GetDomainsAppsAppCertificateResult'], + client_ip_checking: str, + client_secret: str, + client_type: str, + cloud_control_properties: Sequence['outputs.GetDomainsAppsAppCloudControlPropertyResult'], + compartment_ocid: str, + contact_email_address: str, + delegated_service_names: Sequence[str], + delete_in_progress: bool, + description: str, + disable_kmsi_token_authentication: bool, + display_name: str, + domain_ocid: str, + editable_attributes: Sequence['outputs.GetDomainsAppsAppEditableAttributeResult'], + error_page_url: str, + granted_app_roles: Sequence['outputs.GetDomainsAppsAppGrantedAppRoleResult'], + grants: Sequence['outputs.GetDomainsAppsAppGrantResult'], + hashed_client_secret: str, + home_page_url: str, + icon: str, + id: str, + id_token_enc_algo: str, + idcs_created_bies: Sequence['outputs.GetDomainsAppsAppIdcsCreatedByResult'], + idcs_endpoint: str, + idcs_last_modified_bies: Sequence['outputs.GetDomainsAppsAppIdcsLastModifiedByResult'], + idcs_last_upgraded_in_release: str, + idcs_prevented_operations: Sequence[str], + identity_providers: Sequence['outputs.GetDomainsAppsAppIdentityProviderResult'], + idp_policies: Sequence['outputs.GetDomainsAppsAppIdpPolicyResult'], + infrastructure: bool, + is_alias_app: bool, + is_database_service: bool, + is_enterprise_app: bool, + is_form_fill: bool, + is_kerberos_realm: bool, + is_login_target: bool, + is_managed_app: bool, + is_mobile_target: bool, + is_multicloud_service_app: bool, + is_oauth_client: bool, + is_oauth_resource: bool, + is_obligation_capable: bool, + is_opc_service: bool, + is_radius_app: bool, + is_saml_service_provider: bool, + is_unmanaged_app: bool, + is_web_tier_policy: bool, + landing_page_url: str, + linking_callback_url: str, + login_mechanism: str, + login_page_url: str, + logout_page_url: str, + logout_uri: str, + metas: Sequence['outputs.GetDomainsAppsAppMetaResult'], + meter_as_opc_service: bool, + migrated: bool, + name: str, + ocid: str, + post_logout_redirect_uris: Sequence[str], + privacy_policy_url: str, + product_logo_url: str, + product_name: str, + protectable_secondary_audiences: Sequence['outputs.GetDomainsAppsAppProtectableSecondaryAudienceResult'], + radius_policies: Sequence['outputs.GetDomainsAppsAppRadiusPolicyResult'], + ready_to_upgrade: bool, + redirect_uris: Sequence[str], + refresh_token_expiry: int, + resource_type_schema_version: str, + saml_service_providers: Sequence['outputs.GetDomainsAppsAppSamlServiceProviderResult'], + schemas: Sequence[str], + scopes: Sequence['outputs.GetDomainsAppsAppScopeResult'], + secondary_audiences: Sequence[str], + service_params: Sequence['outputs.GetDomainsAppsAppServiceParamResult'], + service_type_urn: str, + service_type_version: str, + show_in_my_apps: bool, + signon_policies: Sequence['outputs.GetDomainsAppsAppSignonPolicyResult'], + tags: Sequence['outputs.GetDomainsAppsAppTagResult'], + tenancy_ocid: str, + terms_of_service_url: str, + terms_of_uses: Sequence['outputs.GetDomainsAppsAppTermsOfUseResult'], + trust_policies: Sequence['outputs.GetDomainsAppsAppTrustPolicyResult'], + trust_scope: str, + urnietfparamsscimschemasoracleidcsextension_oci_tags: Sequence['outputs.GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensionOciTagResult'], + urnietfparamsscimschemasoracleidcsextensiondbcs_apps: Sequence['outputs.GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensiondbcsAppResult'], + urnietfparamsscimschemasoracleidcsextensionenterprise_app_apps: Sequence['outputs.GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensionenterpriseAppAppResult'], + urnietfparamsscimschemasoracleidcsextensionform_fill_app_apps: Sequence['outputs.GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensionformFillAppAppResult'], + urnietfparamsscimschemasoracleidcsextensionform_fill_app_template_app_templates: Sequence['outputs.GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensionformFillAppTemplateAppTemplateResult'], + urnietfparamsscimschemasoracleidcsextensionkerberos_realm_apps: Sequence['outputs.GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensionkerberosRealmAppResult'], + urnietfparamsscimschemasoracleidcsextensionmanagedapp_apps: Sequence['outputs.GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppResult'], + urnietfparamsscimschemasoracleidcsextensionmulticloud_service_app_apps: Sequence['outputs.GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensionmulticloudServiceAppAppResult'], + urnietfparamsscimschemasoracleidcsextensionopc_service_apps: Sequence['outputs.GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensionopcServiceAppResult'], + urnietfparamsscimschemasoracleidcsextensionradius_app_apps: Sequence['outputs.GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensionradiusAppAppResult'], + urnietfparamsscimschemasoracleidcsextensionrequestable_apps: Sequence['outputs.GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensionrequestableAppResult'], + urnietfparamsscimschemasoracleidcsextensionsaml_service_provider_apps: Sequence['outputs.GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensionsamlServiceProviderAppResult'], + urnietfparamsscimschemasoracleidcsextensionweb_tier_policy_apps: Sequence['outputs.GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensionwebTierPolicyAppResult'], + user_roles: Sequence['outputs.GetDomainsAppsAppUserRoleResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("access_token_expiry", access_token_expiry) + _setter("accounts", accounts) + _setter("active", active) + _setter("admin_roles", admin_roles) + _setter("alias_apps", alias_apps) + _setter("all_url_schemes_allowed", all_url_schemes_allowed) + _setter("allow_access_control", allow_access_control) + _setter("allow_offline", allow_offline) + _setter("allowed_grants", allowed_grants) + _setter("allowed_operations", allowed_operations) + _setter("allowed_scopes", allowed_scopes) + _setter("allowed_tags", allowed_tags) + _setter("app_icon", app_icon) + _setter("app_signon_policies", app_signon_policies) + _setter("app_thumbnail", app_thumbnail) + _setter("apps_network_perimeters", apps_network_perimeters) + _setter("as_opc_services", as_opc_services) + _setter("attr_rendering_metadatas", attr_rendering_metadatas) + _setter("attribute_sets", attribute_sets) + _setter("attributes", attributes) + _setter("audience", audience) + _setter("authorization", authorization) + _setter("based_on_templates", based_on_templates) + _setter("bypass_consent", bypass_consent) + _setter("callback_service_url", callback_service_url) + _setter("certificates", certificates) + _setter("client_ip_checking", client_ip_checking) + _setter("client_secret", client_secret) + _setter("client_type", client_type) + _setter("cloud_control_properties", cloud_control_properties) + _setter("compartment_ocid", compartment_ocid) + _setter("contact_email_address", contact_email_address) + _setter("delegated_service_names", delegated_service_names) + _setter("delete_in_progress", delete_in_progress) + _setter("description", description) + _setter("disable_kmsi_token_authentication", disable_kmsi_token_authentication) + _setter("display_name", display_name) + _setter("domain_ocid", domain_ocid) + _setter("editable_attributes", editable_attributes) + _setter("error_page_url", error_page_url) + _setter("granted_app_roles", granted_app_roles) + _setter("grants", grants) + _setter("hashed_client_secret", hashed_client_secret) + _setter("home_page_url", home_page_url) + _setter("icon", icon) + _setter("id", id) + _setter("id_token_enc_algo", id_token_enc_algo) + _setter("idcs_created_bies", idcs_created_bies) + _setter("idcs_endpoint", idcs_endpoint) + _setter("idcs_last_modified_bies", idcs_last_modified_bies) + _setter("idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) + _setter("idcs_prevented_operations", idcs_prevented_operations) + _setter("identity_providers", identity_providers) + _setter("idp_policies", idp_policies) + _setter("infrastructure", infrastructure) + _setter("is_alias_app", is_alias_app) + _setter("is_database_service", is_database_service) + _setter("is_enterprise_app", is_enterprise_app) + _setter("is_form_fill", is_form_fill) + _setter("is_kerberos_realm", is_kerberos_realm) + _setter("is_login_target", is_login_target) + _setter("is_managed_app", is_managed_app) + _setter("is_mobile_target", is_mobile_target) + _setter("is_multicloud_service_app", is_multicloud_service_app) + _setter("is_oauth_client", is_oauth_client) + _setter("is_oauth_resource", is_oauth_resource) + _setter("is_obligation_capable", is_obligation_capable) + _setter("is_opc_service", is_opc_service) + _setter("is_radius_app", is_radius_app) + _setter("is_saml_service_provider", is_saml_service_provider) + _setter("is_unmanaged_app", is_unmanaged_app) + _setter("is_web_tier_policy", is_web_tier_policy) + _setter("landing_page_url", landing_page_url) + _setter("linking_callback_url", linking_callback_url) + _setter("login_mechanism", login_mechanism) + _setter("login_page_url", login_page_url) + _setter("logout_page_url", logout_page_url) + _setter("logout_uri", logout_uri) + _setter("metas", metas) + _setter("meter_as_opc_service", meter_as_opc_service) + _setter("migrated", migrated) + _setter("name", name) + _setter("ocid", ocid) + _setter("post_logout_redirect_uris", post_logout_redirect_uris) + _setter("privacy_policy_url", privacy_policy_url) + _setter("product_logo_url", product_logo_url) + _setter("product_name", product_name) + _setter("protectable_secondary_audiences", protectable_secondary_audiences) + _setter("radius_policies", radius_policies) + _setter("ready_to_upgrade", ready_to_upgrade) + _setter("redirect_uris", redirect_uris) + _setter("refresh_token_expiry", refresh_token_expiry) + _setter("resource_type_schema_version", resource_type_schema_version) + _setter("saml_service_providers", saml_service_providers) + _setter("schemas", schemas) + _setter("scopes", scopes) + _setter("secondary_audiences", secondary_audiences) + _setter("service_params", service_params) + _setter("service_type_urn", service_type_urn) + _setter("service_type_version", service_type_version) + _setter("show_in_my_apps", show_in_my_apps) + _setter("signon_policies", signon_policies) + _setter("tags", tags) + _setter("tenancy_ocid", tenancy_ocid) + _setter("terms_of_service_url", terms_of_service_url) + _setter("terms_of_uses", terms_of_uses) + _setter("trust_policies", trust_policies) + _setter("trust_scope", trust_scope) + _setter("urnietfparamsscimschemasoracleidcsextension_oci_tags", urnietfparamsscimschemasoracleidcsextension_oci_tags) + _setter("urnietfparamsscimschemasoracleidcsextensiondbcs_apps", urnietfparamsscimschemasoracleidcsextensiondbcs_apps) + _setter("urnietfparamsscimschemasoracleidcsextensionenterprise_app_apps", urnietfparamsscimschemasoracleidcsextensionenterprise_app_apps) + _setter("urnietfparamsscimschemasoracleidcsextensionform_fill_app_apps", urnietfparamsscimschemasoracleidcsextensionform_fill_app_apps) + _setter("urnietfparamsscimschemasoracleidcsextensionform_fill_app_template_app_templates", urnietfparamsscimschemasoracleidcsextensionform_fill_app_template_app_templates) + _setter("urnietfparamsscimschemasoracleidcsextensionkerberos_realm_apps", urnietfparamsscimschemasoracleidcsextensionkerberos_realm_apps) + _setter("urnietfparamsscimschemasoracleidcsextensionmanagedapp_apps", urnietfparamsscimschemasoracleidcsextensionmanagedapp_apps) + _setter("urnietfparamsscimschemasoracleidcsextensionmulticloud_service_app_apps", urnietfparamsscimschemasoracleidcsextensionmulticloud_service_app_apps) + _setter("urnietfparamsscimschemasoracleidcsextensionopc_service_apps", urnietfparamsscimschemasoracleidcsextensionopc_service_apps) + _setter("urnietfparamsscimschemasoracleidcsextensionradius_app_apps", urnietfparamsscimschemasoracleidcsextensionradius_app_apps) + _setter("urnietfparamsscimschemasoracleidcsextensionrequestable_apps", urnietfparamsscimschemasoracleidcsextensionrequestable_apps) + _setter("urnietfparamsscimschemasoracleidcsextensionsaml_service_provider_apps", urnietfparamsscimschemasoracleidcsextensionsaml_service_provider_apps) + _setter("urnietfparamsscimschemasoracleidcsextensionweb_tier_policy_apps", urnietfparamsscimschemasoracleidcsextensionweb_tier_policy_apps) + _setter("user_roles", user_roles) @property @pulumi.getter(name="accessTokenExpiry") @@ -61812,11 +69490,28 @@ def __init__(__self__, *, :param str ref: URI of the AppRole. :param str value: ID of the AppRole. """ - pulumi.set(__self__, "active", active) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "owner_id", owner_id) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsAppsAppAccountResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + active=active, + name=name, + owner_id=owner_id, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + active: bool, + name: str, + owner_id: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("active", active) + _setter("name", name) + _setter("owner_id", owner_id) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -61872,10 +69567,25 @@ def __init__(__self__, *, :param str ref: URI of the AppRole. :param str value: ID of the AppRole. """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsAppsAppAdminRoleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + display=display, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + display: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("display", display) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -61923,10 +69633,25 @@ def __init__(__self__, *, :param str ref: URI of the AppRole. :param str value: ID of the AppRole. """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsAppsAppAliasAppResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + display=display, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + display: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("display", display) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -61972,9 +69697,22 @@ def __init__(__self__, *, :param str id_of_defining_app: The ID of the App that defines this scope. :param bool read_only: If true, indicates that this value must be protected. """ - pulumi.set(__self__, "fqs", fqs) - pulumi.set(__self__, "id_of_defining_app", id_of_defining_app) - pulumi.set(__self__, "read_only", read_only) + GetDomainsAppsAppAllowedScopeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + fqs=fqs, + id_of_defining_app=id_of_defining_app, + read_only=read_only, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + fqs: str, + id_of_defining_app: str, + read_only: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("fqs", fqs) + _setter("id_of_defining_app", id_of_defining_app) + _setter("read_only", read_only) @property @pulumi.getter @@ -62012,9 +69750,22 @@ def __init__(__self__, *, :param bool read_only: If true, indicates that this value must be protected. :param str value: ID of the AppRole. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "read_only", read_only) - pulumi.set(__self__, "value", value) + GetDomainsAppsAppAllowedTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + read_only=read_only, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + read_only: bool, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("read_only", read_only) + _setter("value", value) @property @pulumi.getter @@ -62050,8 +69801,19 @@ def __init__(__self__, *, :param str ref: URI of the AppRole. :param str value: ID of the AppRole. """ - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsAppsAppAppSignonPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -62079,8 +69841,19 @@ def __init__(__self__, *, :param str ref: URI of the AppRole. :param str value: ID of the AppRole. """ - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsAppsAppAppsNetworkPerimeterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -62108,8 +69881,19 @@ def __init__(__self__, *, :param str ref: URI of the AppRole. :param str value: ID of the AppRole. """ - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsAppsAppAsOpcServiceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -62163,21 +69947,58 @@ def __init__(__self__, *, :param bool visible: Indicates whether the attribute is to be shown on the application creation UI. :param str widget: UI widget to use for the attribute. """ - pulumi.set(__self__, "datatype", datatype) - pulumi.set(__self__, "helptext", helptext) - pulumi.set(__self__, "label", label) - pulumi.set(__self__, "max_length", max_length) - pulumi.set(__self__, "max_size", max_size) - pulumi.set(__self__, "min_length", min_length) - pulumi.set(__self__, "min_size", min_size) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "order", order) - pulumi.set(__self__, "read_only", read_only) - pulumi.set(__self__, "regexp", regexp) - pulumi.set(__self__, "required", required) - pulumi.set(__self__, "section", section) - pulumi.set(__self__, "visible", visible) - pulumi.set(__self__, "widget", widget) + GetDomainsAppsAppAttrRenderingMetadataResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + datatype=datatype, + helptext=helptext, + label=label, + max_length=max_length, + max_size=max_size, + min_length=min_length, + min_size=min_size, + name=name, + order=order, + read_only=read_only, + regexp=regexp, + required=required, + section=section, + visible=visible, + widget=widget, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + datatype: str, + helptext: str, + label: str, + max_length: int, + max_size: int, + min_length: int, + min_size: int, + name: str, + order: int, + read_only: bool, + regexp: str, + required: bool, + section: str, + visible: bool, + widget: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("datatype", datatype) + _setter("helptext", helptext) + _setter("label", label) + _setter("max_length", max_length) + _setter("max_size", max_size) + _setter("min_length", min_length) + _setter("min_size", min_size) + _setter("name", name) + _setter("order", order) + _setter("read_only", read_only) + _setter("regexp", regexp) + _setter("required", required) + _setter("section", section) + _setter("visible", visible) + _setter("widget", widget) @property @pulumi.getter @@ -62313,10 +70134,25 @@ def __init__(__self__, *, :param str value: ID of the AppRole. :param str well_known_id: Unique well-known identifier used to reference connector bundle. """ - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) - pulumi.set(__self__, "well_known_id", well_known_id) + GetDomainsAppsAppBasedOnTemplateResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + last_modified=last_modified, + ref=ref, + value=value, + well_known_id=well_known_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + last_modified: str, + ref: str, + value: str, + well_known_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("last_modified", last_modified) + _setter("ref", ref) + _setter("value", value) + _setter("well_known_id", well_known_id) @property @pulumi.getter(name="lastModified") @@ -62366,11 +70202,28 @@ def __init__(__self__, *, :param str x509base64certificate: Base-64-encoded certificate. :param str x5t: Certificate x5t """ - pulumi.set(__self__, "cert_alias", cert_alias) - pulumi.set(__self__, "kid", kid) - pulumi.set(__self__, "sha1thumbprint", sha1thumbprint) - pulumi.set(__self__, "x509base64certificate", x509base64certificate) - pulumi.set(__self__, "x5t", x5t) + GetDomainsAppsAppCertificateResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cert_alias=cert_alias, + kid=kid, + sha1thumbprint=sha1thumbprint, + x509base64certificate=x509base64certificate, + x5t=x5t, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cert_alias: str, + kid: str, + sha1thumbprint: str, + x509base64certificate: str, + x5t: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cert_alias", cert_alias) + _setter("kid", kid) + _setter("sha1thumbprint", sha1thumbprint) + _setter("x509base64certificate", x509base64certificate) + _setter("x5t", x5t) @property @pulumi.getter(name="certAlias") @@ -62422,8 +70275,19 @@ def __init__(__self__, *, :param str name: The attribute represents the name of the attribute that will be used in the Security Assertion Markup Language (SAML) assertion :param Sequence[str] values: The value(s) of the property. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDomainsAppsAppCloudControlPropertyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) @property @pulumi.getter @@ -62449,7 +70313,16 @@ def __init__(__self__, *, """ :param str name: The attribute represents the name of the attribute that will be used in the Security Assertion Markup Language (SAML) assertion """ - pulumi.set(__self__, "name", name) + GetDomainsAppsAppEditableAttributeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -62478,11 +70351,28 @@ def __init__(__self__, *, :param str ref: URI of the AppRole. :param str value: ID of the AppRole. """ - pulumi.set(__self__, "grant_mechanism", grant_mechanism) - pulumi.set(__self__, "grantee_id", grantee_id) - pulumi.set(__self__, "grantee_type", grantee_type) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsAppsAppGrantResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + grant_mechanism=grant_mechanism, + grantee_id=grantee_id, + grantee_type=grantee_type, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + grant_mechanism: str, + grantee_id: str, + grantee_type: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("grant_mechanism", grant_mechanism) + _setter("grantee_id", grantee_id) + _setter("grantee_type", grantee_type) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter(name="grantMechanism") @@ -62551,15 +70441,40 @@ def __init__(__self__, *, :param str type: Object Class type. Allowed values are AccountObjectClass, ManagedObjectClass. :param str value: ID of the AppRole. """ - pulumi.set(__self__, "admin_role", admin_role) - pulumi.set(__self__, "app_id", app_id) - pulumi.set(__self__, "app_name", app_name) - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "legacy_group_name", legacy_group_name) - pulumi.set(__self__, "read_only", read_only) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsAppsAppGrantedAppRoleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + admin_role=admin_role, + app_id=app_id, + app_name=app_name, + display=display, + legacy_group_name=legacy_group_name, + read_only=read_only, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + admin_role: bool, + app_id: str, + app_name: str, + display: str, + legacy_group_name: str, + read_only: bool, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("admin_role", admin_role) + _setter("app_id", app_id) + _setter("app_name", app_name) + _setter("display", display) + _setter("legacy_group_name", legacy_group_name) + _setter("read_only", read_only) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter(name="adminRole") @@ -62649,11 +70564,28 @@ def __init__(__self__, *, :param str type: Object Class type. Allowed values are AccountObjectClass, ManagedObjectClass. :param str value: ID of the AppRole. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsAppsAppIdcsCreatedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -62711,11 +70643,28 @@ def __init__(__self__, *, :param str type: Object Class type. Allowed values are AccountObjectClass, ManagedObjectClass. :param str value: ID of the AppRole. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsAppsAppIdcsLastModifiedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -62769,9 +70718,22 @@ def __init__(__self__, *, :param str ref: URI of the AppRole. :param str value: ID of the AppRole. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsAppsAppIdentityProviderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -62807,8 +70769,19 @@ def __init__(__self__, *, :param str ref: URI of the AppRole. :param str value: ID of the AppRole. """ - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsAppsAppIdpPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -62842,11 +70815,28 @@ def __init__(__self__, *, :param str resource_type: Object class resource type :param str version: The version of the Resource being returned. This value must be the same as the ETag HTTP response header. """ - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "version", version) + GetDomainsAppsAppMetaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: str, + last_modified: str, + location: str, + resource_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created", created) + _setter("last_modified", last_modified) + _setter("location", location) + _setter("resource_type", resource_type) + _setter("version", version) @property @pulumi.getter @@ -62898,8 +70888,19 @@ def __init__(__self__, *, :param bool read_only: If true, indicates that this value must be protected. :param str value: ID of the AppRole. """ - pulumi.set(__self__, "read_only", read_only) - pulumi.set(__self__, "value", value) + GetDomainsAppsAppProtectableSecondaryAudienceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + read_only=read_only, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + read_only: bool, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("read_only", read_only) + _setter("value", value) @property @pulumi.getter(name="readOnly") @@ -62927,8 +70928,19 @@ def __init__(__self__, *, :param str ref: URI of the AppRole. :param str value: ID of the AppRole. """ - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsAppsAppRadiusPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -62956,8 +70968,19 @@ def __init__(__self__, *, :param str ref: URI of the AppRole. :param str value: ID of the AppRole. """ - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsAppsAppSamlServiceProviderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -62993,12 +71016,31 @@ def __init__(__self__, *, :param bool requires_consent: If true, indicates that a user must provide consent to access this scope. Note: Used only when this App acts as an OAuth Resource. :param str value: ID of the AppRole. """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "fqs", fqs) - pulumi.set(__self__, "read_only", read_only) - pulumi.set(__self__, "requires_consent", requires_consent) - pulumi.set(__self__, "value", value) + GetDomainsAppsAppScopeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + display_name=display_name, + fqs=fqs, + read_only=read_only, + requires_consent=requires_consent, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + display_name: str, + fqs: str, + read_only: bool, + requires_consent: bool, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("display_name", display_name) + _setter("fqs", fqs) + _setter("read_only", read_only) + _setter("requires_consent", requires_consent) + _setter("value", value) @property @pulumi.getter @@ -63058,8 +71100,19 @@ def __init__(__self__, *, :param str name: The attribute represents the name of the attribute that will be used in the Security Assertion Markup Language (SAML) assertion :param str value: ID of the AppRole. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + GetDomainsAppsAppServiceParamResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("value", value) @property @pulumi.getter @@ -63087,8 +71140,19 @@ def __init__(__self__, *, :param str ref: URI of the AppRole. :param str value: ID of the AppRole. """ - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsAppsAppSignonPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -63116,8 +71180,19 @@ def __init__(__self__, *, :param str key: Oracle Cloud Infrastructure Tag key :param str value: ID of the AppRole. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsAppsAppTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -63147,9 +71222,22 @@ def __init__(__self__, *, :param str ref: URI of the AppRole. :param str value: ID of the AppRole. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsAppsAppTermsOfUseResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -63185,8 +71273,19 @@ def __init__(__self__, *, :param str ref: URI of the AppRole. :param str value: ID of the AppRole. """ - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsAppsAppTrustPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -63216,9 +71315,22 @@ def __init__(__self__, *, :param Sequence['GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensionOciTagFreeformTagArgs'] freeform_tags: Oracle Cloud Infrastructure Freeform Tags :param str tag_slug: Oracle Cloud Infrastructure Tag slug """ - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "tag_slug", tag_slug) + GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensionOciTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + defined_tags=defined_tags, + freeform_tags=freeform_tags, + tag_slug=tag_slug, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + defined_tags: Sequence['outputs.GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensionOciTagDefinedTagResult'], + freeform_tags: Sequence['outputs.GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensionOciTagFreeformTagResult'], + tag_slug: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("defined_tags", defined_tags) + _setter("freeform_tags", freeform_tags) + _setter("tag_slug", tag_slug) @property @pulumi.getter(name="definedTags") @@ -63256,9 +71368,22 @@ def __init__(__self__, *, :param str namespace: Oracle Cloud Infrastructure Tag namespace :param str value: ID of the AppRole. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "value", value) + GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensionOciTagDefinedTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + namespace=namespace, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + namespace: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("namespace", namespace) + _setter("value", value) @property @pulumi.getter @@ -63294,8 +71419,19 @@ def __init__(__self__, *, :param str key: Oracle Cloud Infrastructure Tag key :param str value: ID of the AppRole. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensionOciTagFreeformTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -63323,8 +71459,19 @@ def __init__(__self__, *, :param Sequence['GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensiondbcsAppDomainAppArgs'] domain_apps: Description: :param str domain_name: The name of the Enterprise Domain that contains any number of DBInstances. If specified, the value must be unique. A non-null value indicates that App represents a DBDomain. A value of null indicates that the App represents an DB-instance. """ - pulumi.set(__self__, "domain_apps", domain_apps) - pulumi.set(__self__, "domain_name", domain_name) + GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensiondbcsAppResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + domain_apps=domain_apps, + domain_name=domain_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + domain_apps: Sequence['outputs.GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensiondbcsAppDomainAppResult'], + domain_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("domain_apps", domain_apps) + _setter("domain_name", domain_name) @property @pulumi.getter(name="domainApps") @@ -63354,9 +71501,22 @@ def __init__(__self__, *, :param str ref: URI of the AppRole. :param str value: ID of the AppRole. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensiondbcsAppDomainAppResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -63398,11 +71558,28 @@ def __init__(__self__, *, :param int deny_authz_decision_ttl: Deny Authz policy decision expiry time in seconds. :param Sequence['GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensionenterpriseAppAppDenyAuthzPolicyArgs'] deny_authz_policies: Deny Authz Policy. """ - pulumi.set(__self__, "allow_authz_decision_ttl", allow_authz_decision_ttl) - pulumi.set(__self__, "allow_authz_policies", allow_authz_policies) - pulumi.set(__self__, "app_resources", app_resources) - pulumi.set(__self__, "deny_authz_decision_ttl", deny_authz_decision_ttl) - pulumi.set(__self__, "deny_authz_policies", deny_authz_policies) + GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensionenterpriseAppAppResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allow_authz_decision_ttl=allow_authz_decision_ttl, + allow_authz_policies=allow_authz_policies, + app_resources=app_resources, + deny_authz_decision_ttl=deny_authz_decision_ttl, + deny_authz_policies=deny_authz_policies, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allow_authz_decision_ttl: int, + allow_authz_policies: Sequence['outputs.GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensionenterpriseAppAppAllowAuthzPolicyResult'], + app_resources: Sequence['outputs.GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensionenterpriseAppAppAppResourceResult'], + deny_authz_decision_ttl: int, + deny_authz_policies: Sequence['outputs.GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensionenterpriseAppAppDenyAuthzPolicyResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allow_authz_decision_ttl", allow_authz_decision_ttl) + _setter("allow_authz_policies", allow_authz_policies) + _setter("app_resources", app_resources) + _setter("deny_authz_decision_ttl", deny_authz_decision_ttl) + _setter("deny_authz_policies", deny_authz_policies) @property @pulumi.getter(name="allowAuthzDecisionTtl") @@ -63454,8 +71631,19 @@ def __init__(__self__, *, :param str ref: URI of the AppRole. :param str value: ID of the AppRole. """ - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensionenterpriseAppAppAllowAuthzPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -63483,8 +71671,19 @@ def __init__(__self__, *, :param str ref: URI of the AppRole. :param str value: ID of the AppRole. """ - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensionenterpriseAppAppAppResourceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -63512,8 +71711,19 @@ def __init__(__self__, *, :param str ref: URI of the AppRole. :param str value: ID of the AppRole. """ - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensionenterpriseAppAppDenyAuthzPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -63555,15 +71765,40 @@ def __init__(__self__, *, :param str user_name_form_expression: Indicates the custom expression, which can combine concat and substring operations with literals and with any attribute of the Oracle Identity Cloud Service User :param str user_name_form_template: Format for generating a username. This value can be Username or Email Address; any other value will be treated as a custom expression. A custom expression may combine 'concat' and 'substring' operations with literals and with any attribute of the Oracle Identity Cloud Service user. """ - pulumi.set(__self__, "configuration", configuration) - pulumi.set(__self__, "form_cred_method", form_cred_method) - pulumi.set(__self__, "form_credential_sharing_group_id", form_credential_sharing_group_id) - pulumi.set(__self__, "form_fill_url_matches", form_fill_url_matches) - pulumi.set(__self__, "form_type", form_type) - pulumi.set(__self__, "reveal_password_on_form", reveal_password_on_form) - pulumi.set(__self__, "sync_from_template", sync_from_template) - pulumi.set(__self__, "user_name_form_expression", user_name_form_expression) - pulumi.set(__self__, "user_name_form_template", user_name_form_template) + GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensionformFillAppAppResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + configuration=configuration, + form_cred_method=form_cred_method, + form_credential_sharing_group_id=form_credential_sharing_group_id, + form_fill_url_matches=form_fill_url_matches, + form_type=form_type, + reveal_password_on_form=reveal_password_on_form, + sync_from_template=sync_from_template, + user_name_form_expression=user_name_form_expression, + user_name_form_template=user_name_form_template, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + configuration: str, + form_cred_method: str, + form_credential_sharing_group_id: str, + form_fill_url_matches: Sequence['outputs.GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensionformFillAppAppFormFillUrlMatchResult'], + form_type: str, + reveal_password_on_form: bool, + sync_from_template: bool, + user_name_form_expression: str, + user_name_form_template: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("configuration", configuration) + _setter("form_cred_method", form_cred_method) + _setter("form_credential_sharing_group_id", form_credential_sharing_group_id) + _setter("form_fill_url_matches", form_fill_url_matches) + _setter("form_type", form_type) + _setter("reveal_password_on_form", reveal_password_on_form) + _setter("sync_from_template", sync_from_template) + _setter("user_name_form_expression", user_name_form_expression) + _setter("user_name_form_template", user_name_form_template) @property @pulumi.getter @@ -63647,8 +71882,19 @@ def __init__(__self__, *, :param str form_url: An application formUrl that FormFill will match against any formUrl that a User enters in trying to access the target-service which this App represents. :param str form_url_match_type: Indicates how to interpret the value of 'formUrl' when matching against a user-specified formUrl. The system currently supports only 'Exact', which indicates that the value of 'formUrl' should be treated as a literal value. """ - pulumi.set(__self__, "form_url", form_url) - pulumi.set(__self__, "form_url_match_type", form_url_match_type) + GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensionformFillAppAppFormFillUrlMatchResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + form_url=form_url, + form_url_match_type=form_url_match_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + form_url: str, + form_url_match_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("form_url", form_url) + _setter("form_url_match_type", form_url_match_type) @property @pulumi.getter(name="formUrl") @@ -63690,15 +71936,40 @@ def __init__(__self__, *, :param str user_name_form_expression: Indicates the custom expression, which can combine concat and substring operations with literals and with any attribute of the Oracle Identity Cloud Service User :param str user_name_form_template: Format for generating a username. This value can be Username or Email Address; any other value will be treated as a custom expression. A custom expression may combine 'concat' and 'substring' operations with literals and with any attribute of the Oracle Identity Cloud Service user. """ - pulumi.set(__self__, "configuration", configuration) - pulumi.set(__self__, "form_cred_method", form_cred_method) - pulumi.set(__self__, "form_credential_sharing_group_id", form_credential_sharing_group_id) - pulumi.set(__self__, "form_fill_url_matches", form_fill_url_matches) - pulumi.set(__self__, "form_type", form_type) - pulumi.set(__self__, "reveal_password_on_form", reveal_password_on_form) - pulumi.set(__self__, "sync_from_template", sync_from_template) - pulumi.set(__self__, "user_name_form_expression", user_name_form_expression) - pulumi.set(__self__, "user_name_form_template", user_name_form_template) + GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensionformFillAppTemplateAppTemplateResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + configuration=configuration, + form_cred_method=form_cred_method, + form_credential_sharing_group_id=form_credential_sharing_group_id, + form_fill_url_matches=form_fill_url_matches, + form_type=form_type, + reveal_password_on_form=reveal_password_on_form, + sync_from_template=sync_from_template, + user_name_form_expression=user_name_form_expression, + user_name_form_template=user_name_form_template, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + configuration: str, + form_cred_method: str, + form_credential_sharing_group_id: str, + form_fill_url_matches: Sequence['outputs.GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensionformFillAppTemplateAppTemplateFormFillUrlMatchResult'], + form_type: str, + reveal_password_on_form: bool, + sync_from_template: bool, + user_name_form_expression: str, + user_name_form_template: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("configuration", configuration) + _setter("form_cred_method", form_cred_method) + _setter("form_credential_sharing_group_id", form_credential_sharing_group_id) + _setter("form_fill_url_matches", form_fill_url_matches) + _setter("form_type", form_type) + _setter("reveal_password_on_form", reveal_password_on_form) + _setter("sync_from_template", sync_from_template) + _setter("user_name_form_expression", user_name_form_expression) + _setter("user_name_form_template", user_name_form_template) @property @pulumi.getter @@ -63782,8 +72053,19 @@ def __init__(__self__, *, :param str form_url: An application formUrl that FormFill will match against any formUrl that a User enters in trying to access the target-service which this App represents. :param str form_url_match_type: Indicates how to interpret the value of 'formUrl' when matching against a user-specified formUrl. The system currently supports only 'Exact', which indicates that the value of 'formUrl' should be treated as a literal value. """ - pulumi.set(__self__, "form_url", form_url) - pulumi.set(__self__, "form_url_match_type", form_url_match_type) + GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensionformFillAppTemplateAppTemplateFormFillUrlMatchResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + form_url=form_url, + form_url_match_type=form_url_match_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + form_url: str, + form_url_match_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("form_url", form_url) + _setter("form_url_match_type", form_url_match_type) @property @pulumi.getter(name="formUrl") @@ -63821,13 +72103,34 @@ def __init__(__self__, *, :param Sequence[str] supported_encryption_salt_types: The types of salt that are available for the system to use when encrypting Kerberos-specific artifacts for this App. :param int ticket_flags: Ticket Flags """ - pulumi.set(__self__, "default_encryption_salt_type", default_encryption_salt_type) - pulumi.set(__self__, "master_key", master_key) - pulumi.set(__self__, "max_renewable_age", max_renewable_age) - pulumi.set(__self__, "max_ticket_life", max_ticket_life) - pulumi.set(__self__, "realm_name", realm_name) - pulumi.set(__self__, "supported_encryption_salt_types", supported_encryption_salt_types) - pulumi.set(__self__, "ticket_flags", ticket_flags) + GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensionkerberosRealmAppResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + default_encryption_salt_type=default_encryption_salt_type, + master_key=master_key, + max_renewable_age=max_renewable_age, + max_ticket_life=max_ticket_life, + realm_name=realm_name, + supported_encryption_salt_types=supported_encryption_salt_types, + ticket_flags=ticket_flags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + default_encryption_salt_type: str, + master_key: str, + max_renewable_age: int, + max_ticket_life: int, + realm_name: str, + supported_encryption_salt_types: Sequence[str], + ticket_flags: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("default_encryption_salt_type", default_encryption_salt_type) + _setter("master_key", master_key) + _setter("max_renewable_age", max_renewable_age) + _setter("max_ticket_life", max_ticket_life) + _setter("realm_name", realm_name) + _setter("supported_encryption_salt_types", supported_encryption_salt_types) + _setter("ticket_flags", ticket_flags) @property @pulumi.getter(name="defaultEncryptionSaltType") @@ -63939,30 +72242,85 @@ def __init__(__self__, *, :param Sequence['GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppThreeLeggedOauthCredentialArgs'] three_legged_oauth_credentials: The value of this attribute persists any OAuth access token that the system uses to connect to this ManagedApp. The system obtains this access token using an OAuth protocol flow that could be two-legged or three-legged. A two-legged flow involves only the requester and the server. A three-legged flow also requires the consent of a user -- in this case the consent of an administrator. :param str three_legged_oauth_provider_name: Three legged OAuth provider name in Oracle Identity Cloud Service. """ - pulumi.set(__self__, "account_form_visible", account_form_visible) - pulumi.set(__self__, "admin_consent_granted", admin_consent_granted) - pulumi.set(__self__, "bundle_configuration_properties", bundle_configuration_properties) - pulumi.set(__self__, "bundle_pool_configurations", bundle_pool_configurations) - pulumi.set(__self__, "can_be_authoritative", can_be_authoritative) - pulumi.set(__self__, "connected", connected) - pulumi.set(__self__, "connector_bundles", connector_bundles) - pulumi.set(__self__, "enable_auth_sync_new_user_notification", enable_auth_sync_new_user_notification) - pulumi.set(__self__, "enable_sync", enable_sync) - pulumi.set(__self__, "enable_sync_summary_report_notification", enable_sync_summary_report_notification) - pulumi.set(__self__, "flat_file_bundle_configuration_properties", flat_file_bundle_configuration_properties) - pulumi.set(__self__, "flat_file_connector_bundles", flat_file_connector_bundles) - pulumi.set(__self__, "identity_bridges", identity_bridges) - pulumi.set(__self__, "is_authoritative", is_authoritative) - pulumi.set(__self__, "is_directory", is_directory) - pulumi.set(__self__, "is_on_premise_app", is_on_premise_app) - pulumi.set(__self__, "is_schema_customization_supported", is_schema_customization_supported) - pulumi.set(__self__, "is_schema_discovery_supported", is_schema_discovery_supported) - pulumi.set(__self__, "is_three_legged_oauth_enabled", is_three_legged_oauth_enabled) - pulumi.set(__self__, "is_two_legged_oauth_enabled", is_two_legged_oauth_enabled) - pulumi.set(__self__, "object_classes", object_classes) - pulumi.set(__self__, "sync_config_last_modified", sync_config_last_modified) - pulumi.set(__self__, "three_legged_oauth_credentials", three_legged_oauth_credentials) - pulumi.set(__self__, "three_legged_oauth_provider_name", three_legged_oauth_provider_name) + GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_form_visible=account_form_visible, + admin_consent_granted=admin_consent_granted, + bundle_configuration_properties=bundle_configuration_properties, + bundle_pool_configurations=bundle_pool_configurations, + can_be_authoritative=can_be_authoritative, + connected=connected, + connector_bundles=connector_bundles, + enable_auth_sync_new_user_notification=enable_auth_sync_new_user_notification, + enable_sync=enable_sync, + enable_sync_summary_report_notification=enable_sync_summary_report_notification, + flat_file_bundle_configuration_properties=flat_file_bundle_configuration_properties, + flat_file_connector_bundles=flat_file_connector_bundles, + identity_bridges=identity_bridges, + is_authoritative=is_authoritative, + is_directory=is_directory, + is_on_premise_app=is_on_premise_app, + is_schema_customization_supported=is_schema_customization_supported, + is_schema_discovery_supported=is_schema_discovery_supported, + is_three_legged_oauth_enabled=is_three_legged_oauth_enabled, + is_two_legged_oauth_enabled=is_two_legged_oauth_enabled, + object_classes=object_classes, + sync_config_last_modified=sync_config_last_modified, + three_legged_oauth_credentials=three_legged_oauth_credentials, + three_legged_oauth_provider_name=three_legged_oauth_provider_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_form_visible: bool, + admin_consent_granted: bool, + bundle_configuration_properties: Sequence['outputs.GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppBundleConfigurationPropertyResult'], + bundle_pool_configurations: Sequence['outputs.GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppBundlePoolConfigurationResult'], + can_be_authoritative: bool, + connected: bool, + connector_bundles: Sequence['outputs.GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppConnectorBundleResult'], + enable_auth_sync_new_user_notification: bool, + enable_sync: bool, + enable_sync_summary_report_notification: bool, + flat_file_bundle_configuration_properties: Sequence['outputs.GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppFlatFileBundleConfigurationPropertyResult'], + flat_file_connector_bundles: Sequence['outputs.GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppFlatFileConnectorBundleResult'], + identity_bridges: Sequence['outputs.GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppIdentityBridgeResult'], + is_authoritative: bool, + is_directory: bool, + is_on_premise_app: bool, + is_schema_customization_supported: bool, + is_schema_discovery_supported: bool, + is_three_legged_oauth_enabled: bool, + is_two_legged_oauth_enabled: bool, + object_classes: Sequence['outputs.GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppObjectClassResult'], + sync_config_last_modified: str, + three_legged_oauth_credentials: Sequence['outputs.GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppThreeLeggedOauthCredentialResult'], + three_legged_oauth_provider_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("account_form_visible", account_form_visible) + _setter("admin_consent_granted", admin_consent_granted) + _setter("bundle_configuration_properties", bundle_configuration_properties) + _setter("bundle_pool_configurations", bundle_pool_configurations) + _setter("can_be_authoritative", can_be_authoritative) + _setter("connected", connected) + _setter("connector_bundles", connector_bundles) + _setter("enable_auth_sync_new_user_notification", enable_auth_sync_new_user_notification) + _setter("enable_sync", enable_sync) + _setter("enable_sync_summary_report_notification", enable_sync_summary_report_notification) + _setter("flat_file_bundle_configuration_properties", flat_file_bundle_configuration_properties) + _setter("flat_file_connector_bundles", flat_file_connector_bundles) + _setter("identity_bridges", identity_bridges) + _setter("is_authoritative", is_authoritative) + _setter("is_directory", is_directory) + _setter("is_on_premise_app", is_on_premise_app) + _setter("is_schema_customization_supported", is_schema_customization_supported) + _setter("is_schema_discovery_supported", is_schema_discovery_supported) + _setter("is_three_legged_oauth_enabled", is_three_legged_oauth_enabled) + _setter("is_two_legged_oauth_enabled", is_two_legged_oauth_enabled) + _setter("object_classes", object_classes) + _setter("sync_config_last_modified", sync_config_last_modified) + _setter("three_legged_oauth_credentials", three_legged_oauth_credentials) + _setter("three_legged_oauth_provider_name", three_legged_oauth_provider_name) @property @pulumi.getter(name="accountFormVisible") @@ -64178,14 +72536,37 @@ def __init__(__self__, *, :param bool required: If true, this flatfile bundle configuration property is required to connect to the target connected managed app. This attribute maps to \\"isRequired\\" attribute in \\"ConfigurationProperty\\" in ICF. :param Sequence[str] values: ID of the AppRole. """ - pulumi.set(__self__, "confidential", confidential) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "help_message", help_message) - pulumi.set(__self__, "icf_type", icf_type) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "order", order) - pulumi.set(__self__, "required", required) - pulumi.set(__self__, "values", values) + GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppBundleConfigurationPropertyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + confidential=confidential, + display_name=display_name, + help_message=help_message, + icf_type=icf_type, + name=name, + order=order, + required=required, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + confidential: bool, + display_name: str, + help_message: str, + icf_type: str, + name: str, + order: int, + required: bool, + values: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("confidential", confidential) + _setter("display_name", display_name) + _setter("help_message", help_message) + _setter("icf_type", icf_type) + _setter("name", name) + _setter("order", order) + _setter("required", required) + _setter("values", values) @property @pulumi.getter @@ -64267,11 +72648,28 @@ def __init__(__self__, *, :param int min_evictable_idle_time_millis: Minimum time (in milliseconds) to wait before evicting an idle conenctor instance from the pool. :param int min_idle: Minimum number of idle connector instances in the pool. """ - pulumi.set(__self__, "max_idle", max_idle) - pulumi.set(__self__, "max_objects", max_objects) - pulumi.set(__self__, "max_wait", max_wait) - pulumi.set(__self__, "min_evictable_idle_time_millis", min_evictable_idle_time_millis) - pulumi.set(__self__, "min_idle", min_idle) + GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppBundlePoolConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + max_idle=max_idle, + max_objects=max_objects, + max_wait=max_wait, + min_evictable_idle_time_millis=min_evictable_idle_time_millis, + min_idle=min_idle, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max_idle: int, + max_objects: int, + max_wait: int, + min_evictable_idle_time_millis: int, + min_idle: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max_idle", max_idle) + _setter("max_objects", max_objects) + _setter("max_wait", max_wait) + _setter("min_evictable_idle_time_millis", min_evictable_idle_time_millis) + _setter("min_idle", min_idle) @property @pulumi.getter(name="maxIdle") @@ -64329,11 +72727,28 @@ def __init__(__self__, *, :param str value: ID of the AppRole. :param str well_known_id: Unique well-known identifier used to reference connector bundle. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) - pulumi.set(__self__, "well_known_id", well_known_id) + GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppConnectorBundleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ref=ref, + type=type, + value=value, + well_known_id=well_known_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ref: str, + type: str, + value: str, + well_known_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) + _setter("well_known_id", well_known_id) @property @pulumi.getter @@ -64397,14 +72812,37 @@ def __init__(__self__, *, :param bool required: If true, this flatfile bundle configuration property is required to connect to the target connected managed app. This attribute maps to \\"isRequired\\" attribute in \\"ConfigurationProperty\\" in ICF. :param Sequence[str] values: ID of the AppRole. """ - pulumi.set(__self__, "confidential", confidential) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "help_message", help_message) - pulumi.set(__self__, "icf_type", icf_type) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "order", order) - pulumi.set(__self__, "required", required) - pulumi.set(__self__, "values", values) + GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppFlatFileBundleConfigurationPropertyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + confidential=confidential, + display_name=display_name, + help_message=help_message, + icf_type=icf_type, + name=name, + order=order, + required=required, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + confidential: bool, + display_name: str, + help_message: str, + icf_type: str, + name: str, + order: int, + required: bool, + values: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("confidential", confidential) + _setter("display_name", display_name) + _setter("help_message", help_message) + _setter("icf_type", icf_type) + _setter("name", name) + _setter("order", order) + _setter("required", required) + _setter("values", values) @property @pulumi.getter @@ -64484,10 +72922,25 @@ def __init__(__self__, *, :param str value: ID of the AppRole. :param str well_known_id: Unique well-known identifier used to reference connector bundle. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) - pulumi.set(__self__, "well_known_id", well_known_id) + GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppFlatFileConnectorBundleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ref=ref, + value=value, + well_known_id=well_known_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ref: str, + value: str, + well_known_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ref", ref) + _setter("value", value) + _setter("well_known_id", well_known_id) @property @pulumi.getter @@ -64533,9 +72986,22 @@ def __init__(__self__, *, :param str ref: URI of the AppRole. :param str value: ID of the AppRole. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppIdentityBridgeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -64579,12 +73045,31 @@ def __init__(__self__, *, :param str type: Object Class type. Allowed values are AccountObjectClass, ManagedObjectClass. :param str value: ID of the AppRole. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "is_account_object_class", is_account_object_class) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppObjectClassResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + is_account_object_class=is_account_object_class, + ref=ref, + resource_type=resource_type, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + is_account_object_class: bool, + ref: str, + resource_type: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("is_account_object_class", is_account_object_class) + _setter("ref", ref) + _setter("resource_type", resource_type) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -64646,9 +73131,22 @@ def __init__(__self__, *, :param str access_token_expiry: Access token expiry :param str refresh_token: Refresh Token """ - pulumi.set(__self__, "access_token", access_token) - pulumi.set(__self__, "access_token_expiry", access_token_expiry) - pulumi.set(__self__, "refresh_token", refresh_token) + GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensionmanagedappAppThreeLeggedOauthCredentialResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + access_token=access_token, + access_token_expiry=access_token_expiry, + refresh_token=refresh_token, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access_token: str, + access_token_expiry: str, + refresh_token: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("access_token", access_token) + _setter("access_token_expiry", access_token_expiry) + _setter("refresh_token", refresh_token) @property @pulumi.getter(name="accessToken") @@ -64684,8 +73182,19 @@ def __init__(__self__, *, :param str multicloud_platform_url: The multicloud platform service URL which the application will invoke for runtime operations such as AWSCredentials api invocation :param str multicloud_service_type: Specifies the service type for which the application is configured for multicloud integration. For applicable external service types, app will invoke multicloud service for runtime operations """ - pulumi.set(__self__, "multicloud_platform_url", multicloud_platform_url) - pulumi.set(__self__, "multicloud_service_type", multicloud_service_type) + GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensionmulticloudServiceAppAppResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + multicloud_platform_url=multicloud_platform_url, + multicloud_service_type=multicloud_service_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + multicloud_platform_url: str, + multicloud_service_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("multicloud_platform_url", multicloud_platform_url) + _setter("multicloud_service_type", multicloud_service_type) @property @pulumi.getter(name="multicloudPlatformUrl") @@ -64723,13 +73232,34 @@ def __init__(__self__, *, :param str region: This value identifies the OPC region in which the service is running. :param str service_instance_identifier: This value specifies the unique identifier assigned to an instance of an Oracle Public Cloud service app. """ - pulumi.set(__self__, "current_federation_mode", current_federation_mode) - pulumi.set(__self__, "current_synchronization_mode", current_synchronization_mode) - pulumi.set(__self__, "enabling_next_fed_sync_modes", enabling_next_fed_sync_modes) - pulumi.set(__self__, "next_federation_mode", next_federation_mode) - pulumi.set(__self__, "next_synchronization_mode", next_synchronization_mode) - pulumi.set(__self__, "region", region) - pulumi.set(__self__, "service_instance_identifier", service_instance_identifier) + GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensionopcServiceAppResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + current_federation_mode=current_federation_mode, + current_synchronization_mode=current_synchronization_mode, + enabling_next_fed_sync_modes=enabling_next_fed_sync_modes, + next_federation_mode=next_federation_mode, + next_synchronization_mode=next_synchronization_mode, + region=region, + service_instance_identifier=service_instance_identifier, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + current_federation_mode: str, + current_synchronization_mode: str, + enabling_next_fed_sync_modes: bool, + next_federation_mode: str, + next_synchronization_mode: str, + region: str, + service_instance_identifier: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("current_federation_mode", current_federation_mode) + _setter("current_synchronization_mode", current_synchronization_mode) + _setter("enabling_next_fed_sync_modes", enabling_next_fed_sync_modes) + _setter("next_federation_mode", next_federation_mode) + _setter("next_synchronization_mode", next_synchronization_mode) + _setter("region", region) + _setter("service_instance_identifier", service_instance_identifier) @property @pulumi.getter(name="currentFederationMode") @@ -64823,21 +73353,58 @@ def __init__(__self__, *, :param str secret_key: Secret key used to secure communication between RADIUS Proxy and RADIUS client :param str type_of_radius_app: Value consists of type of RADIUS App. Type can be Oracle Database, VPN etc """ - pulumi.set(__self__, "capture_client_ip", capture_client_ip) - pulumi.set(__self__, "client_ip", client_ip) - pulumi.set(__self__, "country_code_response_attribute_id", country_code_response_attribute_id) - pulumi.set(__self__, "end_user_ip_attribute", end_user_ip_attribute) - pulumi.set(__self__, "group_membership_radius_attribute", group_membership_radius_attribute) - pulumi.set(__self__, "group_membership_to_returns", group_membership_to_returns) - pulumi.set(__self__, "group_name_format", group_name_format) - pulumi.set(__self__, "include_group_in_response", include_group_in_response) - pulumi.set(__self__, "password_and_otp_together", password_and_otp_together) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "radius_vendor_specific_id", radius_vendor_specific_id) - pulumi.set(__self__, "response_format", response_format) - pulumi.set(__self__, "response_format_delimiter", response_format_delimiter) - pulumi.set(__self__, "secret_key", secret_key) - pulumi.set(__self__, "type_of_radius_app", type_of_radius_app) + GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensionradiusAppAppResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + capture_client_ip=capture_client_ip, + client_ip=client_ip, + country_code_response_attribute_id=country_code_response_attribute_id, + end_user_ip_attribute=end_user_ip_attribute, + group_membership_radius_attribute=group_membership_radius_attribute, + group_membership_to_returns=group_membership_to_returns, + group_name_format=group_name_format, + include_group_in_response=include_group_in_response, + password_and_otp_together=password_and_otp_together, + port=port, + radius_vendor_specific_id=radius_vendor_specific_id, + response_format=response_format, + response_format_delimiter=response_format_delimiter, + secret_key=secret_key, + type_of_radius_app=type_of_radius_app, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + capture_client_ip: bool, + client_ip: str, + country_code_response_attribute_id: str, + end_user_ip_attribute: str, + group_membership_radius_attribute: str, + group_membership_to_returns: Sequence['outputs.GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensionradiusAppAppGroupMembershipToReturnResult'], + group_name_format: str, + include_group_in_response: bool, + password_and_otp_together: bool, + port: str, + radius_vendor_specific_id: str, + response_format: str, + response_format_delimiter: str, + secret_key: str, + type_of_radius_app: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("capture_client_ip", capture_client_ip) + _setter("client_ip", client_ip) + _setter("country_code_response_attribute_id", country_code_response_attribute_id) + _setter("end_user_ip_attribute", end_user_ip_attribute) + _setter("group_membership_radius_attribute", group_membership_radius_attribute) + _setter("group_membership_to_returns", group_membership_to_returns) + _setter("group_name_format", group_name_format) + _setter("include_group_in_response", include_group_in_response) + _setter("password_and_otp_together", password_and_otp_together) + _setter("port", port) + _setter("radius_vendor_specific_id", radius_vendor_specific_id) + _setter("response_format", response_format) + _setter("response_format_delimiter", response_format_delimiter) + _setter("secret_key", secret_key) + _setter("type_of_radius_app", type_of_radius_app) @property @pulumi.getter(name="captureClientIp") @@ -64971,9 +73538,22 @@ def __init__(__self__, *, :param str ref: URI of the AppRole. :param str value: ID of the AppRole. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensionradiusAppAppGroupMembershipToReturnResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -65007,7 +73587,16 @@ def __init__(__self__, *, """ :param bool requestable: Flag controlling whether resource can be request by user through self service console. """ - pulumi.set(__self__, "requestable", requestable) + GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensionrequestableAppResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + requestable=requestable, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + requestable: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("requestable", requestable) @property @pulumi.getter @@ -65077,33 +73666,94 @@ def __init__(__self__, *, :param str tenant_provider_id: The alternate Provider ID to be used as the Oracle Identity Cloud Service providerID (instead of the one in SamlSettings) when interacting with this SP. :param Sequence['GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensionsamlServiceProviderAppUserAssertionAttributeArgs'] user_assertion_attributes: Each value of this attribute describes an attribute of User that will be sent in a Security Assertion Markup Language (SAML) assertion. """ - pulumi.set(__self__, "assertion_consumer_url", assertion_consumer_url) - pulumi.set(__self__, "encrypt_assertion", encrypt_assertion) - pulumi.set(__self__, "encryption_algorithm", encryption_algorithm) - pulumi.set(__self__, "encryption_certificate", encryption_certificate) - pulumi.set(__self__, "federation_protocol", federation_protocol) - pulumi.set(__self__, "group_assertion_attributes", group_assertion_attributes) - pulumi.set(__self__, "hok_acs_url", hok_acs_url) - pulumi.set(__self__, "hok_required", hok_required) - pulumi.set(__self__, "include_signing_cert_in_signature", include_signing_cert_in_signature) - pulumi.set(__self__, "key_encryption_algorithm", key_encryption_algorithm) - pulumi.set(__self__, "last_notification_sent_time", last_notification_sent_time) - pulumi.set(__self__, "logout_binding", logout_binding) - pulumi.set(__self__, "logout_enabled", logout_enabled) - pulumi.set(__self__, "logout_request_url", logout_request_url) - pulumi.set(__self__, "logout_response_url", logout_response_url) - pulumi.set(__self__, "metadata", metadata) - pulumi.set(__self__, "name_id_format", name_id_format) - pulumi.set(__self__, "name_id_userstore_attribute", name_id_userstore_attribute) - pulumi.set(__self__, "outbound_assertion_attributes", outbound_assertion_attributes) - pulumi.set(__self__, "partner_provider_id", partner_provider_id) - pulumi.set(__self__, "partner_provider_pattern", partner_provider_pattern) - pulumi.set(__self__, "sign_response_or_assertion", sign_response_or_assertion) - pulumi.set(__self__, "signature_hash_algorithm", signature_hash_algorithm) - pulumi.set(__self__, "signing_certificate", signing_certificate) - pulumi.set(__self__, "succinct_id", succinct_id) - pulumi.set(__self__, "tenant_provider_id", tenant_provider_id) - pulumi.set(__self__, "user_assertion_attributes", user_assertion_attributes) + GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensionsamlServiceProviderAppResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + assertion_consumer_url=assertion_consumer_url, + encrypt_assertion=encrypt_assertion, + encryption_algorithm=encryption_algorithm, + encryption_certificate=encryption_certificate, + federation_protocol=federation_protocol, + group_assertion_attributes=group_assertion_attributes, + hok_acs_url=hok_acs_url, + hok_required=hok_required, + include_signing_cert_in_signature=include_signing_cert_in_signature, + key_encryption_algorithm=key_encryption_algorithm, + last_notification_sent_time=last_notification_sent_time, + logout_binding=logout_binding, + logout_enabled=logout_enabled, + logout_request_url=logout_request_url, + logout_response_url=logout_response_url, + metadata=metadata, + name_id_format=name_id_format, + name_id_userstore_attribute=name_id_userstore_attribute, + outbound_assertion_attributes=outbound_assertion_attributes, + partner_provider_id=partner_provider_id, + partner_provider_pattern=partner_provider_pattern, + sign_response_or_assertion=sign_response_or_assertion, + signature_hash_algorithm=signature_hash_algorithm, + signing_certificate=signing_certificate, + succinct_id=succinct_id, + tenant_provider_id=tenant_provider_id, + user_assertion_attributes=user_assertion_attributes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + assertion_consumer_url: str, + encrypt_assertion: bool, + encryption_algorithm: str, + encryption_certificate: str, + federation_protocol: str, + group_assertion_attributes: Sequence['outputs.GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensionsamlServiceProviderAppGroupAssertionAttributeResult'], + hok_acs_url: str, + hok_required: bool, + include_signing_cert_in_signature: bool, + key_encryption_algorithm: str, + last_notification_sent_time: str, + logout_binding: str, + logout_enabled: bool, + logout_request_url: str, + logout_response_url: str, + metadata: str, + name_id_format: str, + name_id_userstore_attribute: str, + outbound_assertion_attributes: Sequence['outputs.GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensionsamlServiceProviderAppOutboundAssertionAttributeResult'], + partner_provider_id: str, + partner_provider_pattern: str, + sign_response_or_assertion: str, + signature_hash_algorithm: str, + signing_certificate: str, + succinct_id: str, + tenant_provider_id: str, + user_assertion_attributes: Sequence['outputs.GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensionsamlServiceProviderAppUserAssertionAttributeResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("assertion_consumer_url", assertion_consumer_url) + _setter("encrypt_assertion", encrypt_assertion) + _setter("encryption_algorithm", encryption_algorithm) + _setter("encryption_certificate", encryption_certificate) + _setter("federation_protocol", federation_protocol) + _setter("group_assertion_attributes", group_assertion_attributes) + _setter("hok_acs_url", hok_acs_url) + _setter("hok_required", hok_required) + _setter("include_signing_cert_in_signature", include_signing_cert_in_signature) + _setter("key_encryption_algorithm", key_encryption_algorithm) + _setter("last_notification_sent_time", last_notification_sent_time) + _setter("logout_binding", logout_binding) + _setter("logout_enabled", logout_enabled) + _setter("logout_request_url", logout_request_url) + _setter("logout_response_url", logout_response_url) + _setter("metadata", metadata) + _setter("name_id_format", name_id_format) + _setter("name_id_userstore_attribute", name_id_userstore_attribute) + _setter("outbound_assertion_attributes", outbound_assertion_attributes) + _setter("partner_provider_id", partner_provider_id) + _setter("partner_provider_pattern", partner_provider_pattern) + _setter("sign_response_or_assertion", sign_response_or_assertion) + _setter("signature_hash_algorithm", signature_hash_algorithm) + _setter("signing_certificate", signing_certificate) + _setter("succinct_id", succinct_id) + _setter("tenant_provider_id", tenant_provider_id) + _setter("user_assertion_attributes", user_assertion_attributes) @property @pulumi.getter(name="assertionConsumerUrl") @@ -65335,10 +73985,25 @@ def __init__(__self__, *, :param str group_name: Indicates the group name that are supported for the group assertion attributes. :param str name: The attribute represents the name of the attribute that will be used in the Security Assertion Markup Language (SAML) assertion """ - pulumi.set(__self__, "condition", condition) - pulumi.set(__self__, "format", format) - pulumi.set(__self__, "group_name", group_name) - pulumi.set(__self__, "name", name) + GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensionsamlServiceProviderAppGroupAssertionAttributeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + condition=condition, + format=format, + group_name=group_name, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + condition: str, + format: str, + group_name: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("condition", condition) + _setter("format", format) + _setter("group_name", group_name) + _setter("name", name) @property @pulumi.getter @@ -65384,9 +74049,22 @@ def __init__(__self__, *, :param str ref: URI of the AppRole. :param str value: ID of the AppRole. """ - pulumi.set(__self__, "direction", direction) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensionsamlServiceProviderAppOutboundAssertionAttributeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + direction=direction, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + direction: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("direction", direction) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -65424,9 +74102,22 @@ def __init__(__self__, *, :param str name: The attribute represents the name of the attribute that will be used in the Security Assertion Markup Language (SAML) assertion :param str user_store_attribute_name: This attribute specifies which user attribute should be used to create the value of the SAML assertion attribute. The userstore attribute can be constructed by using attributes from the Oracle Identity Cloud Service Core Users schema.
Note: Attributes from extensions to the Core User schema are not supported in v1.0. """ - pulumi.set(__self__, "format", format) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "user_store_attribute_name", user_store_attribute_name) + GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensionsamlServiceProviderAppUserAssertionAttributeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + format=format, + name=name, + user_store_attribute_name=user_store_attribute_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + format: str, + name: str, + user_store_attribute_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("format", format) + _setter("name", name) + _setter("user_store_attribute_name", user_store_attribute_name) @property @pulumi.getter @@ -65464,9 +74155,22 @@ def __init__(__self__, *, :param str web_tier_policy_az_control: Webtier policy AZ Control :param str web_tier_policy_json: Store the web tier policy for an application as a string in Javascript Object Notification (JSON) format. """ - pulumi.set(__self__, "resource_ref", resource_ref) - pulumi.set(__self__, "web_tier_policy_az_control", web_tier_policy_az_control) - pulumi.set(__self__, "web_tier_policy_json", web_tier_policy_json) + GetDomainsAppsAppUrnietfparamsscimschemasoracleidcsextensionwebTierPolicyAppResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + resource_ref=resource_ref, + web_tier_policy_az_control=web_tier_policy_az_control, + web_tier_policy_json=web_tier_policy_json, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + resource_ref: bool, + web_tier_policy_az_control: str, + web_tier_policy_json: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("resource_ref", resource_ref) + _setter("web_tier_policy_az_control", web_tier_policy_az_control) + _setter("web_tier_policy_json", web_tier_policy_json) @property @pulumi.getter(name="resourceRef") @@ -65506,10 +74210,25 @@ def __init__(__self__, *, :param str ref: URI of the AppRole. :param str value: ID of the AppRole. """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsAppsAppUserRoleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + display=display, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + display: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("display", display) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -65559,11 +74278,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: The user's ID. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsAuthTokenIdcsCreatedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -65621,11 +74357,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: The user's ID. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsAuthTokenIdcsLastModifiedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -65683,11 +74436,28 @@ def __init__(__self__, *, :param str resource_type: Name of the resource type of the resource--for example, Users or Groups :param str version: The version of the Resource being returned. This value must be the same as the ETag HTTP response header. """ - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "version", version) + GetDomainsAuthTokenMetaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: str, + last_modified: str, + location: str, + resource_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created", created) + _setter("last_modified", last_modified) + _setter("location", location) + _setter("resource_type", resource_type) + _setter("version", version) @property @pulumi.getter @@ -65739,8 +74509,19 @@ def __init__(__self__, *, :param str key: Key or name of the tag. :param str value: The user's ID. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsAuthTokenTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -65766,7 +74547,16 @@ def __init__(__self__, *, """ :param bool allow_self_change: If true, allows requesting user to update themselves. If false, requesting user can't update themself (default). """ - pulumi.set(__self__, "allow_self_change", allow_self_change) + GetDomainsAuthTokenUrnietfparamsscimschemasoracleidcsextensionselfChangeUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allow_self_change=allow_self_change, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allow_self_change: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allow_self_change", allow_self_change) @property @pulumi.getter(name="allowSelfChange") @@ -65792,11 +74582,28 @@ def __init__(__self__, *, :param str ref: The URI that corresponds to the user linked to this credential :param str value: The user's ID. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsAuthTokenUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + name=name, + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + name: str, + ocid: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("name", name) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -65890,29 +74697,82 @@ def __init__(__self__, *, :param Sequence['GetDomainsAuthTokensAuthTokenUrnietfparamsscimschemasoracleidcsextensionselfChangeUserArgs'] urnietfparamsscimschemasoracleidcsextensionself_change_users: Controls whether a user can update themselves or not via User related APIs :param Sequence['GetDomainsAuthTokensAuthTokenUserArgs'] users: The user linked to the Auth token. """ - pulumi.set(__self__, "attribute_sets", attribute_sets) - pulumi.set(__self__, "attributes", attributes) - pulumi.set(__self__, "authorization", authorization) - pulumi.set(__self__, "compartment_ocid", compartment_ocid) - pulumi.set(__self__, "delete_in_progress", delete_in_progress) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "domain_ocid", domain_ocid) - pulumi.set(__self__, "expires_on", expires_on) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "idcs_created_bies", idcs_created_bies) - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) - pulumi.set(__self__, "idcs_last_modified_bies", idcs_last_modified_bies) - pulumi.set(__self__, "idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) - pulumi.set(__self__, "idcs_prevented_operations", idcs_prevented_operations) - pulumi.set(__self__, "metas", metas) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) - pulumi.set(__self__, "schemas", schemas) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "tags", tags) - pulumi.set(__self__, "tenancy_ocid", tenancy_ocid) - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionself_change_users", urnietfparamsscimschemasoracleidcsextensionself_change_users) - pulumi.set(__self__, "users", users) + GetDomainsAuthTokensAuthTokenResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + attribute_sets=attribute_sets, + attributes=attributes, + authorization=authorization, + compartment_ocid=compartment_ocid, + delete_in_progress=delete_in_progress, + description=description, + domain_ocid=domain_ocid, + expires_on=expires_on, + id=id, + idcs_created_bies=idcs_created_bies, + idcs_endpoint=idcs_endpoint, + idcs_last_modified_bies=idcs_last_modified_bies, + idcs_last_upgraded_in_release=idcs_last_upgraded_in_release, + idcs_prevented_operations=idcs_prevented_operations, + metas=metas, + ocid=ocid, + resource_type_schema_version=resource_type_schema_version, + schemas=schemas, + status=status, + tags=tags, + tenancy_ocid=tenancy_ocid, + urnietfparamsscimschemasoracleidcsextensionself_change_users=urnietfparamsscimschemasoracleidcsextensionself_change_users, + users=users, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attribute_sets: Sequence[str], + attributes: str, + authorization: str, + compartment_ocid: str, + delete_in_progress: bool, + description: str, + domain_ocid: str, + expires_on: str, + id: str, + idcs_created_bies: Sequence['outputs.GetDomainsAuthTokensAuthTokenIdcsCreatedByResult'], + idcs_endpoint: str, + idcs_last_modified_bies: Sequence['outputs.GetDomainsAuthTokensAuthTokenIdcsLastModifiedByResult'], + idcs_last_upgraded_in_release: str, + idcs_prevented_operations: Sequence[str], + metas: Sequence['outputs.GetDomainsAuthTokensAuthTokenMetaResult'], + ocid: str, + resource_type_schema_version: str, + schemas: Sequence[str], + status: str, + tags: Sequence['outputs.GetDomainsAuthTokensAuthTokenTagResult'], + tenancy_ocid: str, + urnietfparamsscimschemasoracleidcsextensionself_change_users: Sequence['outputs.GetDomainsAuthTokensAuthTokenUrnietfparamsscimschemasoracleidcsextensionselfChangeUserResult'], + users: Sequence['outputs.GetDomainsAuthTokensAuthTokenUserResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("attribute_sets", attribute_sets) + _setter("attributes", attributes) + _setter("authorization", authorization) + _setter("compartment_ocid", compartment_ocid) + _setter("delete_in_progress", delete_in_progress) + _setter("description", description) + _setter("domain_ocid", domain_ocid) + _setter("expires_on", expires_on) + _setter("id", id) + _setter("idcs_created_bies", idcs_created_bies) + _setter("idcs_endpoint", idcs_endpoint) + _setter("idcs_last_modified_bies", idcs_last_modified_bies) + _setter("idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) + _setter("idcs_prevented_operations", idcs_prevented_operations) + _setter("metas", metas) + _setter("ocid", ocid) + _setter("resource_type_schema_version", resource_type_schema_version) + _setter("schemas", schemas) + _setter("status", status) + _setter("tags", tags) + _setter("tenancy_ocid", tenancy_ocid) + _setter("urnietfparamsscimschemasoracleidcsextensionself_change_users", urnietfparamsscimschemasoracleidcsextensionself_change_users) + _setter("users", users) @property @pulumi.getter(name="attributeSets") @@ -66114,11 +74974,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: The user's ID. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsAuthTokensAuthTokenIdcsCreatedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -66176,11 +75053,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: The user's ID. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsAuthTokensAuthTokenIdcsLastModifiedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -66238,11 +75132,28 @@ def __init__(__self__, *, :param str resource_type: Name of the resource type of the resource--for example, Users or Groups :param str version: The version of the Resource being returned. This value must be the same as the ETag HTTP response header. """ - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "version", version) + GetDomainsAuthTokensAuthTokenMetaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: str, + last_modified: str, + location: str, + resource_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created", created) + _setter("last_modified", last_modified) + _setter("location", location) + _setter("resource_type", resource_type) + _setter("version", version) @property @pulumi.getter @@ -66294,8 +75205,19 @@ def __init__(__self__, *, :param str key: Key or name of the tag. :param str value: The user's ID. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsAuthTokensAuthTokenTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -66321,7 +75243,16 @@ def __init__(__self__, *, """ :param bool allow_self_change: If true, allows requesting user to update themselves. If false, requesting user can't update themself (default). """ - pulumi.set(__self__, "allow_self_change", allow_self_change) + GetDomainsAuthTokensAuthTokenUrnietfparamsscimschemasoracleidcsextensionselfChangeUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allow_self_change=allow_self_change, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allow_self_change: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allow_self_change", allow_self_change) @property @pulumi.getter(name="allowSelfChange") @@ -66347,11 +75278,28 @@ def __init__(__self__, *, :param str ref: The URI that corresponds to the user linked to this credential :param str value: The user's ID. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsAuthTokensAuthTokenUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + name=name, + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + name: str, + ocid: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("name", name) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -66411,12 +75359,31 @@ def __init__(__self__, *, :param int max_active: The maximum number of bypass codes that can be issued to any user :param bool self_service_generation_enabled: If true, indicates that self-service bypass code generation is enabled """ - pulumi.set(__self__, "help_desk_code_expiry_in_mins", help_desk_code_expiry_in_mins) - pulumi.set(__self__, "help_desk_generation_enabled", help_desk_generation_enabled) - pulumi.set(__self__, "help_desk_max_usage", help_desk_max_usage) - pulumi.set(__self__, "length", length) - pulumi.set(__self__, "max_active", max_active) - pulumi.set(__self__, "self_service_generation_enabled", self_service_generation_enabled) + GetDomainsAuthenticationFactorSettingBypassCodeSettingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + help_desk_code_expiry_in_mins=help_desk_code_expiry_in_mins, + help_desk_generation_enabled=help_desk_generation_enabled, + help_desk_max_usage=help_desk_max_usage, + length=length, + max_active=max_active, + self_service_generation_enabled=self_service_generation_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + help_desk_code_expiry_in_mins: int, + help_desk_generation_enabled: bool, + help_desk_max_usage: int, + length: int, + max_active: int, + self_service_generation_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("help_desk_code_expiry_in_mins", help_desk_code_expiry_in_mins) + _setter("help_desk_generation_enabled", help_desk_generation_enabled) + _setter("help_desk_max_usage", help_desk_max_usage) + _setter("length", length) + _setter("max_active", max_active) + _setter("self_service_generation_enabled", self_service_generation_enabled) @property @pulumi.getter(name="helpDeskCodeExpiryInMins") @@ -66502,21 +75469,58 @@ def __init__(__self__, *, :param bool unlock_on_app_foreground_enabled: If true, indicates that the system should require the user to unlock the client App, when the client App comes to the foreground in the display of the device. In order to unlock the App, the user must supply a Personal Identification Number (PIN) or a biometric authentication-factor. :param bool unlock_on_app_start_enabled: If true, indicates that the system should require the user to unlock the client App whenever the App is started. In order to unlock the App, the user must supply a Personal Identification Number (PIN) or a biometric authentication-factor. """ - pulumi.set(__self__, "device_protection_policy", device_protection_policy) - pulumi.set(__self__, "initial_lockout_period_in_secs", initial_lockout_period_in_secs) - pulumi.set(__self__, "key_pair_length", key_pair_length) - pulumi.set(__self__, "lockout_escalation_pattern", lockout_escalation_pattern) - pulumi.set(__self__, "max_failures_before_lockout", max_failures_before_lockout) - pulumi.set(__self__, "max_failures_before_warning", max_failures_before_warning) - pulumi.set(__self__, "max_lockout_interval_in_secs", max_lockout_interval_in_secs) - pulumi.set(__self__, "min_pin_length", min_pin_length) - pulumi.set(__self__, "policy_update_freq_in_days", policy_update_freq_in_days) - pulumi.set(__self__, "request_signing_algo", request_signing_algo) - pulumi.set(__self__, "shared_secret_encoding", shared_secret_encoding) - pulumi.set(__self__, "unlock_app_for_each_request_enabled", unlock_app_for_each_request_enabled) - pulumi.set(__self__, "unlock_app_interval_in_secs", unlock_app_interval_in_secs) - pulumi.set(__self__, "unlock_on_app_foreground_enabled", unlock_on_app_foreground_enabled) - pulumi.set(__self__, "unlock_on_app_start_enabled", unlock_on_app_start_enabled) + GetDomainsAuthenticationFactorSettingClientAppSettingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + device_protection_policy=device_protection_policy, + initial_lockout_period_in_secs=initial_lockout_period_in_secs, + key_pair_length=key_pair_length, + lockout_escalation_pattern=lockout_escalation_pattern, + max_failures_before_lockout=max_failures_before_lockout, + max_failures_before_warning=max_failures_before_warning, + max_lockout_interval_in_secs=max_lockout_interval_in_secs, + min_pin_length=min_pin_length, + policy_update_freq_in_days=policy_update_freq_in_days, + request_signing_algo=request_signing_algo, + shared_secret_encoding=shared_secret_encoding, + unlock_app_for_each_request_enabled=unlock_app_for_each_request_enabled, + unlock_app_interval_in_secs=unlock_app_interval_in_secs, + unlock_on_app_foreground_enabled=unlock_on_app_foreground_enabled, + unlock_on_app_start_enabled=unlock_on_app_start_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + device_protection_policy: str, + initial_lockout_period_in_secs: int, + key_pair_length: int, + lockout_escalation_pattern: str, + max_failures_before_lockout: int, + max_failures_before_warning: int, + max_lockout_interval_in_secs: int, + min_pin_length: int, + policy_update_freq_in_days: int, + request_signing_algo: str, + shared_secret_encoding: str, + unlock_app_for_each_request_enabled: bool, + unlock_app_interval_in_secs: int, + unlock_on_app_foreground_enabled: bool, + unlock_on_app_start_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("device_protection_policy", device_protection_policy) + _setter("initial_lockout_period_in_secs", initial_lockout_period_in_secs) + _setter("key_pair_length", key_pair_length) + _setter("lockout_escalation_pattern", lockout_escalation_pattern) + _setter("max_failures_before_lockout", max_failures_before_lockout) + _setter("max_failures_before_warning", max_failures_before_warning) + _setter("max_lockout_interval_in_secs", max_lockout_interval_in_secs) + _setter("min_pin_length", min_pin_length) + _setter("policy_update_freq_in_days", policy_update_freq_in_days) + _setter("request_signing_algo", request_signing_algo) + _setter("shared_secret_encoding", shared_secret_encoding) + _setter("unlock_app_for_each_request_enabled", unlock_app_for_each_request_enabled) + _setter("unlock_app_interval_in_secs", unlock_app_interval_in_secs) + _setter("unlock_on_app_foreground_enabled", unlock_on_app_foreground_enabled) + _setter("unlock_on_app_start_enabled", unlock_on_app_start_enabled) @property @pulumi.getter(name="deviceProtectionPolicy") @@ -66650,9 +75654,22 @@ def __init__(__self__, *, :param str name: The name of the attribute being evaluated :param str value: Value of the tag. """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + GetDomainsAuthenticationFactorSettingCompliancePolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: str, + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("name", name) + _setter("value", value) @property @pulumi.getter @@ -66688,8 +75705,19 @@ def __init__(__self__, *, :param str email_link_custom_url: Custom redirect Url which will be used in email link :param bool email_link_enabled: Specifies whether Email link is enabled or not. """ - pulumi.set(__self__, "email_link_custom_url", email_link_custom_url) - pulumi.set(__self__, "email_link_enabled", email_link_enabled) + GetDomainsAuthenticationFactorSettingEmailSettingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + email_link_custom_url=email_link_custom_url, + email_link_enabled=email_link_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + email_link_custom_url: str, + email_link_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("email_link_custom_url", email_link_custom_url) + _setter("email_link_enabled", email_link_enabled) @property @pulumi.getter(name="emailLinkCustomUrl") @@ -66723,11 +75751,28 @@ def __init__(__self__, *, :param int max_trusted_endpoints: Max number of trusted endpoints per user :param bool trusted_endpoints_enabled: Specify if trusted endpoints are enabled """ - pulumi.set(__self__, "max_endpoint_trust_duration_in_days", max_endpoint_trust_duration_in_days) - pulumi.set(__self__, "max_enrolled_devices", max_enrolled_devices) - pulumi.set(__self__, "max_incorrect_attempts", max_incorrect_attempts) - pulumi.set(__self__, "max_trusted_endpoints", max_trusted_endpoints) - pulumi.set(__self__, "trusted_endpoints_enabled", trusted_endpoints_enabled) + GetDomainsAuthenticationFactorSettingEndpointRestrictionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + max_endpoint_trust_duration_in_days=max_endpoint_trust_duration_in_days, + max_enrolled_devices=max_enrolled_devices, + max_incorrect_attempts=max_incorrect_attempts, + max_trusted_endpoints=max_trusted_endpoints, + trusted_endpoints_enabled=trusted_endpoints_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max_endpoint_trust_duration_in_days: int, + max_enrolled_devices: int, + max_incorrect_attempts: int, + max_trusted_endpoints: int, + trusted_endpoints_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max_endpoint_trust_duration_in_days", max_endpoint_trust_duration_in_days) + _setter("max_enrolled_devices", max_enrolled_devices) + _setter("max_incorrect_attempts", max_incorrect_attempts) + _setter("max_trusted_endpoints", max_trusted_endpoints) + _setter("trusted_endpoints_enabled", trusted_endpoints_enabled) @property @pulumi.getter(name="maxEndpointTrustDurationInDays") @@ -66785,11 +75830,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: Value of the tag. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsAuthenticationFactorSettingIdcsCreatedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -66847,11 +75909,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: Value of the tag. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsAuthenticationFactorSettingIdcsLastModifiedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -66903,8 +75982,19 @@ def __init__(__self__, *, :param bool mobile_number_enabled: If true, indicates that Multi-Factor Authentication should use the mobile number in the identity store :param bool mobile_number_update_enabled: If true, indicates that the user can update the mobile number in the user's Multi-Factor Authentication profile """ - pulumi.set(__self__, "mobile_number_enabled", mobile_number_enabled) - pulumi.set(__self__, "mobile_number_update_enabled", mobile_number_update_enabled) + GetDomainsAuthenticationFactorSettingIdentityStoreSettingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + mobile_number_enabled=mobile_number_enabled, + mobile_number_update_enabled=mobile_number_update_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + mobile_number_enabled: bool, + mobile_number_update_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("mobile_number_enabled", mobile_number_enabled) + _setter("mobile_number_update_enabled", mobile_number_update_enabled) @property @pulumi.getter(name="mobileNumberEnabled") @@ -66938,11 +76028,28 @@ def __init__(__self__, *, :param str resource_type: Name of the resource type of the resource--for example, Users or Groups :param str version: The version of the Resource being returned. This value must be the same as the ETag HTTP response header. """ - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "version", version) + GetDomainsAuthenticationFactorSettingMetaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: str, + last_modified: str, + location: str, + resource_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created", created) + _setter("last_modified", last_modified) + _setter("location", location) + _setter("resource_type", resource_type) + _setter("version", version) @property @pulumi.getter @@ -66992,7 +76099,16 @@ def __init__(__self__, *, """ :param bool pull_enabled: If true, indicates that the Mobile App Pull Notification channel is enabled for authentication """ - pulumi.set(__self__, "pull_enabled", pull_enabled) + GetDomainsAuthenticationFactorSettingNotificationSettingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + pull_enabled=pull_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + pull_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("pull_enabled", pull_enabled) @property @pulumi.getter(name="pullEnabled") @@ -67012,8 +76128,19 @@ def __init__(__self__, *, :param str key: Key or name of the tag. :param str value: Value of the tag. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsAuthenticationFactorSettingTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -67039,7 +76166,16 @@ def __init__(__self__, *, """ :param bool duo_security: To enable Duo Security factor """ - pulumi.set(__self__, "duo_security", duo_security) + GetDomainsAuthenticationFactorSettingThirdPartyFactorResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + duo_security=duo_security, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + duo_security: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("duo_security", duo_security) @property @pulumi.getter(name="duoSecurity") @@ -67075,16 +76211,43 @@ def __init__(__self__, *, :param int time_step_in_secs: Time (in secs) to be used as the time step :param int time_step_tolerance: The tolerance/step-size that the system should use when validating a One-Time Passcode """ - pulumi.set(__self__, "email_otp_validity_duration_in_mins", email_otp_validity_duration_in_mins) - pulumi.set(__self__, "email_passcode_length", email_passcode_length) - pulumi.set(__self__, "hashing_algorithm", hashing_algorithm) - pulumi.set(__self__, "jwt_validity_duration_in_secs", jwt_validity_duration_in_secs) - pulumi.set(__self__, "key_refresh_interval_in_days", key_refresh_interval_in_days) - pulumi.set(__self__, "passcode_length", passcode_length) - pulumi.set(__self__, "sms_otp_validity_duration_in_mins", sms_otp_validity_duration_in_mins) - pulumi.set(__self__, "sms_passcode_length", sms_passcode_length) - pulumi.set(__self__, "time_step_in_secs", time_step_in_secs) - pulumi.set(__self__, "time_step_tolerance", time_step_tolerance) + GetDomainsAuthenticationFactorSettingTotpSettingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + email_otp_validity_duration_in_mins=email_otp_validity_duration_in_mins, + email_passcode_length=email_passcode_length, + hashing_algorithm=hashing_algorithm, + jwt_validity_duration_in_secs=jwt_validity_duration_in_secs, + key_refresh_interval_in_days=key_refresh_interval_in_days, + passcode_length=passcode_length, + sms_otp_validity_duration_in_mins=sms_otp_validity_duration_in_mins, + sms_passcode_length=sms_passcode_length, + time_step_in_secs=time_step_in_secs, + time_step_tolerance=time_step_tolerance, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + email_otp_validity_duration_in_mins: int, + email_passcode_length: int, + hashing_algorithm: str, + jwt_validity_duration_in_secs: int, + key_refresh_interval_in_days: int, + passcode_length: int, + sms_otp_validity_duration_in_mins: int, + sms_passcode_length: int, + time_step_in_secs: int, + time_step_tolerance: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("email_otp_validity_duration_in_mins", email_otp_validity_duration_in_mins) + _setter("email_passcode_length", email_passcode_length) + _setter("hashing_algorithm", hashing_algorithm) + _setter("jwt_validity_duration_in_secs", jwt_validity_duration_in_secs) + _setter("key_refresh_interval_in_days", key_refresh_interval_in_days) + _setter("passcode_length", passcode_length) + _setter("sms_otp_validity_duration_in_mins", sms_otp_validity_duration_in_mins) + _setter("sms_passcode_length", sms_passcode_length) + _setter("time_step_in_secs", time_step_in_secs) + _setter("time_step_tolerance", time_step_tolerance) @property @pulumi.getter(name="emailOtpValidityDurationInMins") @@ -67190,15 +76353,40 @@ def __init__(__self__, *, :param Sequence[str] public_key_types: List of server supported public key algorithms :param int timeout: Timeout for the fido authentication to complete """ - pulumi.set(__self__, "attestation", attestation) - pulumi.set(__self__, "authenticator_selection_attachment", authenticator_selection_attachment) - pulumi.set(__self__, "authenticator_selection_require_resident_key", authenticator_selection_require_resident_key) - pulumi.set(__self__, "authenticator_selection_resident_key", authenticator_selection_resident_key) - pulumi.set(__self__, "authenticator_selection_user_verification", authenticator_selection_user_verification) - pulumi.set(__self__, "domain_validation_level", domain_validation_level) - pulumi.set(__self__, "exclude_credentials", exclude_credentials) - pulumi.set(__self__, "public_key_types", public_key_types) - pulumi.set(__self__, "timeout", timeout) + GetDomainsAuthenticationFactorSettingUrnietfparamsscimschemasoracleidcsextensionfidoAuthenticationFactorSettingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + attestation=attestation, + authenticator_selection_attachment=authenticator_selection_attachment, + authenticator_selection_require_resident_key=authenticator_selection_require_resident_key, + authenticator_selection_resident_key=authenticator_selection_resident_key, + authenticator_selection_user_verification=authenticator_selection_user_verification, + domain_validation_level=domain_validation_level, + exclude_credentials=exclude_credentials, + public_key_types=public_key_types, + timeout=timeout, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attestation: str, + authenticator_selection_attachment: str, + authenticator_selection_require_resident_key: bool, + authenticator_selection_resident_key: str, + authenticator_selection_user_verification: str, + domain_validation_level: int, + exclude_credentials: bool, + public_key_types: Sequence[str], + timeout: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("attestation", attestation) + _setter("authenticator_selection_attachment", authenticator_selection_attachment) + _setter("authenticator_selection_require_resident_key", authenticator_selection_require_resident_key) + _setter("authenticator_selection_resident_key", authenticator_selection_resident_key) + _setter("authenticator_selection_user_verification", authenticator_selection_user_verification) + _setter("domain_validation_level", domain_validation_level) + _setter("exclude_credentials", exclude_credentials) + _setter("public_key_types", public_key_types) + _setter("timeout", timeout) @property @pulumi.getter @@ -67280,7 +76468,16 @@ def __init__(__self__, *, """ :param Sequence['GetDomainsAuthenticationFactorSettingUrnietfparamsscimschemasoracleidcsextensionthirdPartyAuthenticationFactorSettingDuoSecuritySettingArgs'] duo_security_settings: Settings related to Duo Security """ - pulumi.set(__self__, "duo_security_settings", duo_security_settings) + GetDomainsAuthenticationFactorSettingUrnietfparamsscimschemasoracleidcsextensionthirdPartyAuthenticationFactorSettingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + duo_security_settings=duo_security_settings, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + duo_security_settings: Sequence['outputs.GetDomainsAuthenticationFactorSettingUrnietfparamsscimschemasoracleidcsextensionthirdPartyAuthenticationFactorSettingDuoSecuritySettingResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("duo_security_settings", duo_security_settings) @property @pulumi.getter(name="duoSecuritySettings") @@ -67306,11 +76503,28 @@ def __init__(__self__, *, :param str secret_key: Secret key from Duo Security authenticator :param str user_mapping_attribute: User attribute mapping value """ - pulumi.set(__self__, "api_hostname", api_hostname) - pulumi.set(__self__, "attestation_key", attestation_key) - pulumi.set(__self__, "integration_key", integration_key) - pulumi.set(__self__, "secret_key", secret_key) - pulumi.set(__self__, "user_mapping_attribute", user_mapping_attribute) + GetDomainsAuthenticationFactorSettingUrnietfparamsscimschemasoracleidcsextensionthirdPartyAuthenticationFactorSettingDuoSecuritySettingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + api_hostname=api_hostname, + attestation_key=attestation_key, + integration_key=integration_key, + secret_key=secret_key, + user_mapping_attribute=user_mapping_attribute, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + api_hostname: str, + attestation_key: str, + integration_key: str, + secret_key: str, + user_mapping_attribute: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("api_hostname", api_hostname) + _setter("attestation_key", attestation_key) + _setter("integration_key", integration_key) + _setter("secret_key", secret_key) + _setter("user_mapping_attribute", user_mapping_attribute) @property @pulumi.getter(name="apiHostname") @@ -67445,50 +76659,145 @@ def __init__(__self__, *, :param Sequence[str] user_enrollment_disabled_factors: Factors for which enrollment should be blocked for End User :param bool yubico_otp_enabled: If true, indicates that the Yubico OTP is enabled for authentication """ - pulumi.set(__self__, "attribute_sets", attribute_sets) - pulumi.set(__self__, "attributes", attributes) - pulumi.set(__self__, "authentication_factor_setting_id", authentication_factor_setting_id) - pulumi.set(__self__, "authorization", authorization) - pulumi.set(__self__, "auto_enroll_email_factor_disabled", auto_enroll_email_factor_disabled) - pulumi.set(__self__, "bypass_code_enabled", bypass_code_enabled) - pulumi.set(__self__, "bypass_code_settings", bypass_code_settings) - pulumi.set(__self__, "client_app_settings", client_app_settings) - pulumi.set(__self__, "compartment_ocid", compartment_ocid) - pulumi.set(__self__, "compliance_policies", compliance_policies) - pulumi.set(__self__, "delete_in_progress", delete_in_progress) - pulumi.set(__self__, "domain_ocid", domain_ocid) - pulumi.set(__self__, "email_enabled", email_enabled) - pulumi.set(__self__, "email_settings", email_settings) - pulumi.set(__self__, "endpoint_restrictions", endpoint_restrictions) - pulumi.set(__self__, "fido_authenticator_enabled", fido_authenticator_enabled) - pulumi.set(__self__, "hide_backup_factor_enabled", hide_backup_factor_enabled) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "idcs_created_bies", idcs_created_bies) - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) - pulumi.set(__self__, "idcs_last_modified_bies", idcs_last_modified_bies) - pulumi.set(__self__, "idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) - pulumi.set(__self__, "idcs_prevented_operations", idcs_prevented_operations) - pulumi.set(__self__, "identity_store_settings", identity_store_settings) - pulumi.set(__self__, "metas", metas) - pulumi.set(__self__, "mfa_enabled_category", mfa_enabled_category) - pulumi.set(__self__, "mfa_enrollment_type", mfa_enrollment_type) - pulumi.set(__self__, "notification_settings", notification_settings) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "phone_call_enabled", phone_call_enabled) - pulumi.set(__self__, "push_enabled", push_enabled) - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) - pulumi.set(__self__, "schemas", schemas) - pulumi.set(__self__, "security_questions_enabled", security_questions_enabled) - pulumi.set(__self__, "sms_enabled", sms_enabled) - pulumi.set(__self__, "tags", tags) - pulumi.set(__self__, "tenancy_ocid", tenancy_ocid) - pulumi.set(__self__, "third_party_factors", third_party_factors) - pulumi.set(__self__, "totp_enabled", totp_enabled) - pulumi.set(__self__, "totp_settings", totp_settings) - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionfido_authentication_factor_settings", urnietfparamsscimschemasoracleidcsextensionfido_authentication_factor_settings) - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionthird_party_authentication_factor_settings", urnietfparamsscimschemasoracleidcsextensionthird_party_authentication_factor_settings) - pulumi.set(__self__, "user_enrollment_disabled_factors", user_enrollment_disabled_factors) - pulumi.set(__self__, "yubico_otp_enabled", yubico_otp_enabled) + GetDomainsAuthenticationFactorSettingsAuthenticationFactorSettingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + attribute_sets=attribute_sets, + attributes=attributes, + authentication_factor_setting_id=authentication_factor_setting_id, + authorization=authorization, + auto_enroll_email_factor_disabled=auto_enroll_email_factor_disabled, + bypass_code_enabled=bypass_code_enabled, + bypass_code_settings=bypass_code_settings, + client_app_settings=client_app_settings, + compartment_ocid=compartment_ocid, + compliance_policies=compliance_policies, + delete_in_progress=delete_in_progress, + domain_ocid=domain_ocid, + email_enabled=email_enabled, + email_settings=email_settings, + endpoint_restrictions=endpoint_restrictions, + fido_authenticator_enabled=fido_authenticator_enabled, + hide_backup_factor_enabled=hide_backup_factor_enabled, + id=id, + idcs_created_bies=idcs_created_bies, + idcs_endpoint=idcs_endpoint, + idcs_last_modified_bies=idcs_last_modified_bies, + idcs_last_upgraded_in_release=idcs_last_upgraded_in_release, + idcs_prevented_operations=idcs_prevented_operations, + identity_store_settings=identity_store_settings, + metas=metas, + mfa_enabled_category=mfa_enabled_category, + mfa_enrollment_type=mfa_enrollment_type, + notification_settings=notification_settings, + ocid=ocid, + phone_call_enabled=phone_call_enabled, + push_enabled=push_enabled, + resource_type_schema_version=resource_type_schema_version, + schemas=schemas, + security_questions_enabled=security_questions_enabled, + sms_enabled=sms_enabled, + tags=tags, + tenancy_ocid=tenancy_ocid, + third_party_factors=third_party_factors, + totp_enabled=totp_enabled, + totp_settings=totp_settings, + urnietfparamsscimschemasoracleidcsextensionfido_authentication_factor_settings=urnietfparamsscimschemasoracleidcsextensionfido_authentication_factor_settings, + urnietfparamsscimschemasoracleidcsextensionthird_party_authentication_factor_settings=urnietfparamsscimschemasoracleidcsextensionthird_party_authentication_factor_settings, + user_enrollment_disabled_factors=user_enrollment_disabled_factors, + yubico_otp_enabled=yubico_otp_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attribute_sets: Sequence[str], + attributes: str, + authentication_factor_setting_id: str, + authorization: str, + auto_enroll_email_factor_disabled: bool, + bypass_code_enabled: bool, + bypass_code_settings: Sequence['outputs.GetDomainsAuthenticationFactorSettingsAuthenticationFactorSettingBypassCodeSettingResult'], + client_app_settings: Sequence['outputs.GetDomainsAuthenticationFactorSettingsAuthenticationFactorSettingClientAppSettingResult'], + compartment_ocid: str, + compliance_policies: Sequence['outputs.GetDomainsAuthenticationFactorSettingsAuthenticationFactorSettingCompliancePolicyResult'], + delete_in_progress: bool, + domain_ocid: str, + email_enabled: bool, + email_settings: Sequence['outputs.GetDomainsAuthenticationFactorSettingsAuthenticationFactorSettingEmailSettingResult'], + endpoint_restrictions: Sequence['outputs.GetDomainsAuthenticationFactorSettingsAuthenticationFactorSettingEndpointRestrictionResult'], + fido_authenticator_enabled: bool, + hide_backup_factor_enabled: bool, + id: str, + idcs_created_bies: Sequence['outputs.GetDomainsAuthenticationFactorSettingsAuthenticationFactorSettingIdcsCreatedByResult'], + idcs_endpoint: str, + idcs_last_modified_bies: Sequence['outputs.GetDomainsAuthenticationFactorSettingsAuthenticationFactorSettingIdcsLastModifiedByResult'], + idcs_last_upgraded_in_release: str, + idcs_prevented_operations: Sequence[str], + identity_store_settings: Sequence['outputs.GetDomainsAuthenticationFactorSettingsAuthenticationFactorSettingIdentityStoreSettingResult'], + metas: Sequence['outputs.GetDomainsAuthenticationFactorSettingsAuthenticationFactorSettingMetaResult'], + mfa_enabled_category: str, + mfa_enrollment_type: str, + notification_settings: Sequence['outputs.GetDomainsAuthenticationFactorSettingsAuthenticationFactorSettingNotificationSettingResult'], + ocid: str, + phone_call_enabled: bool, + push_enabled: bool, + resource_type_schema_version: str, + schemas: Sequence[str], + security_questions_enabled: bool, + sms_enabled: bool, + tags: Sequence['outputs.GetDomainsAuthenticationFactorSettingsAuthenticationFactorSettingTagResult'], + tenancy_ocid: str, + third_party_factors: Sequence['outputs.GetDomainsAuthenticationFactorSettingsAuthenticationFactorSettingThirdPartyFactorResult'], + totp_enabled: bool, + totp_settings: Sequence['outputs.GetDomainsAuthenticationFactorSettingsAuthenticationFactorSettingTotpSettingResult'], + urnietfparamsscimschemasoracleidcsextensionfido_authentication_factor_settings: Sequence['outputs.GetDomainsAuthenticationFactorSettingsAuthenticationFactorSettingUrnietfparamsscimschemasoracleidcsextensionfidoAuthenticationFactorSettingResult'], + urnietfparamsscimschemasoracleidcsextensionthird_party_authentication_factor_settings: Sequence['outputs.GetDomainsAuthenticationFactorSettingsAuthenticationFactorSettingUrnietfparamsscimschemasoracleidcsextensionthirdPartyAuthenticationFactorSettingResult'], + user_enrollment_disabled_factors: Sequence[str], + yubico_otp_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("attribute_sets", attribute_sets) + _setter("attributes", attributes) + _setter("authentication_factor_setting_id", authentication_factor_setting_id) + _setter("authorization", authorization) + _setter("auto_enroll_email_factor_disabled", auto_enroll_email_factor_disabled) + _setter("bypass_code_enabled", bypass_code_enabled) + _setter("bypass_code_settings", bypass_code_settings) + _setter("client_app_settings", client_app_settings) + _setter("compartment_ocid", compartment_ocid) + _setter("compliance_policies", compliance_policies) + _setter("delete_in_progress", delete_in_progress) + _setter("domain_ocid", domain_ocid) + _setter("email_enabled", email_enabled) + _setter("email_settings", email_settings) + _setter("endpoint_restrictions", endpoint_restrictions) + _setter("fido_authenticator_enabled", fido_authenticator_enabled) + _setter("hide_backup_factor_enabled", hide_backup_factor_enabled) + _setter("id", id) + _setter("idcs_created_bies", idcs_created_bies) + _setter("idcs_endpoint", idcs_endpoint) + _setter("idcs_last_modified_bies", idcs_last_modified_bies) + _setter("idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) + _setter("idcs_prevented_operations", idcs_prevented_operations) + _setter("identity_store_settings", identity_store_settings) + _setter("metas", metas) + _setter("mfa_enabled_category", mfa_enabled_category) + _setter("mfa_enrollment_type", mfa_enrollment_type) + _setter("notification_settings", notification_settings) + _setter("ocid", ocid) + _setter("phone_call_enabled", phone_call_enabled) + _setter("push_enabled", push_enabled) + _setter("resource_type_schema_version", resource_type_schema_version) + _setter("schemas", schemas) + _setter("security_questions_enabled", security_questions_enabled) + _setter("sms_enabled", sms_enabled) + _setter("tags", tags) + _setter("tenancy_ocid", tenancy_ocid) + _setter("third_party_factors", third_party_factors) + _setter("totp_enabled", totp_enabled) + _setter("totp_settings", totp_settings) + _setter("urnietfparamsscimschemasoracleidcsextensionfido_authentication_factor_settings", urnietfparamsscimschemasoracleidcsextensionfido_authentication_factor_settings) + _setter("urnietfparamsscimschemasoracleidcsextensionthird_party_authentication_factor_settings", urnietfparamsscimschemasoracleidcsextensionthird_party_authentication_factor_settings) + _setter("user_enrollment_disabled_factors", user_enrollment_disabled_factors) + _setter("yubico_otp_enabled", yubico_otp_enabled) @property @pulumi.getter(name="attributeSets") @@ -67857,12 +77166,31 @@ def __init__(__self__, *, :param int max_active: The maximum number of bypass codes that can be issued to any user :param bool self_service_generation_enabled: If true, indicates that self-service bypass code generation is enabled """ - pulumi.set(__self__, "help_desk_code_expiry_in_mins", help_desk_code_expiry_in_mins) - pulumi.set(__self__, "help_desk_generation_enabled", help_desk_generation_enabled) - pulumi.set(__self__, "help_desk_max_usage", help_desk_max_usage) - pulumi.set(__self__, "length", length) - pulumi.set(__self__, "max_active", max_active) - pulumi.set(__self__, "self_service_generation_enabled", self_service_generation_enabled) + GetDomainsAuthenticationFactorSettingsAuthenticationFactorSettingBypassCodeSettingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + help_desk_code_expiry_in_mins=help_desk_code_expiry_in_mins, + help_desk_generation_enabled=help_desk_generation_enabled, + help_desk_max_usage=help_desk_max_usage, + length=length, + max_active=max_active, + self_service_generation_enabled=self_service_generation_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + help_desk_code_expiry_in_mins: int, + help_desk_generation_enabled: bool, + help_desk_max_usage: int, + length: int, + max_active: int, + self_service_generation_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("help_desk_code_expiry_in_mins", help_desk_code_expiry_in_mins) + _setter("help_desk_generation_enabled", help_desk_generation_enabled) + _setter("help_desk_max_usage", help_desk_max_usage) + _setter("length", length) + _setter("max_active", max_active) + _setter("self_service_generation_enabled", self_service_generation_enabled) @property @pulumi.getter(name="helpDeskCodeExpiryInMins") @@ -67948,21 +77276,58 @@ def __init__(__self__, *, :param bool unlock_on_app_foreground_enabled: If true, indicates that the system should require the user to unlock the client App, when the client App comes to the foreground in the display of the device. In order to unlock the App, the user must supply a Personal Identification Number (PIN) or a biometric authentication-factor. :param bool unlock_on_app_start_enabled: If true, indicates that the system should require the user to unlock the client App whenever the App is started. In order to unlock the App, the user must supply a Personal Identification Number (PIN) or a biometric authentication-factor. """ - pulumi.set(__self__, "device_protection_policy", device_protection_policy) - pulumi.set(__self__, "initial_lockout_period_in_secs", initial_lockout_period_in_secs) - pulumi.set(__self__, "key_pair_length", key_pair_length) - pulumi.set(__self__, "lockout_escalation_pattern", lockout_escalation_pattern) - pulumi.set(__self__, "max_failures_before_lockout", max_failures_before_lockout) - pulumi.set(__self__, "max_failures_before_warning", max_failures_before_warning) - pulumi.set(__self__, "max_lockout_interval_in_secs", max_lockout_interval_in_secs) - pulumi.set(__self__, "min_pin_length", min_pin_length) - pulumi.set(__self__, "policy_update_freq_in_days", policy_update_freq_in_days) - pulumi.set(__self__, "request_signing_algo", request_signing_algo) - pulumi.set(__self__, "shared_secret_encoding", shared_secret_encoding) - pulumi.set(__self__, "unlock_app_for_each_request_enabled", unlock_app_for_each_request_enabled) - pulumi.set(__self__, "unlock_app_interval_in_secs", unlock_app_interval_in_secs) - pulumi.set(__self__, "unlock_on_app_foreground_enabled", unlock_on_app_foreground_enabled) - pulumi.set(__self__, "unlock_on_app_start_enabled", unlock_on_app_start_enabled) + GetDomainsAuthenticationFactorSettingsAuthenticationFactorSettingClientAppSettingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + device_protection_policy=device_protection_policy, + initial_lockout_period_in_secs=initial_lockout_period_in_secs, + key_pair_length=key_pair_length, + lockout_escalation_pattern=lockout_escalation_pattern, + max_failures_before_lockout=max_failures_before_lockout, + max_failures_before_warning=max_failures_before_warning, + max_lockout_interval_in_secs=max_lockout_interval_in_secs, + min_pin_length=min_pin_length, + policy_update_freq_in_days=policy_update_freq_in_days, + request_signing_algo=request_signing_algo, + shared_secret_encoding=shared_secret_encoding, + unlock_app_for_each_request_enabled=unlock_app_for_each_request_enabled, + unlock_app_interval_in_secs=unlock_app_interval_in_secs, + unlock_on_app_foreground_enabled=unlock_on_app_foreground_enabled, + unlock_on_app_start_enabled=unlock_on_app_start_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + device_protection_policy: str, + initial_lockout_period_in_secs: int, + key_pair_length: int, + lockout_escalation_pattern: str, + max_failures_before_lockout: int, + max_failures_before_warning: int, + max_lockout_interval_in_secs: int, + min_pin_length: int, + policy_update_freq_in_days: int, + request_signing_algo: str, + shared_secret_encoding: str, + unlock_app_for_each_request_enabled: bool, + unlock_app_interval_in_secs: int, + unlock_on_app_foreground_enabled: bool, + unlock_on_app_start_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("device_protection_policy", device_protection_policy) + _setter("initial_lockout_period_in_secs", initial_lockout_period_in_secs) + _setter("key_pair_length", key_pair_length) + _setter("lockout_escalation_pattern", lockout_escalation_pattern) + _setter("max_failures_before_lockout", max_failures_before_lockout) + _setter("max_failures_before_warning", max_failures_before_warning) + _setter("max_lockout_interval_in_secs", max_lockout_interval_in_secs) + _setter("min_pin_length", min_pin_length) + _setter("policy_update_freq_in_days", policy_update_freq_in_days) + _setter("request_signing_algo", request_signing_algo) + _setter("shared_secret_encoding", shared_secret_encoding) + _setter("unlock_app_for_each_request_enabled", unlock_app_for_each_request_enabled) + _setter("unlock_app_interval_in_secs", unlock_app_interval_in_secs) + _setter("unlock_on_app_foreground_enabled", unlock_on_app_foreground_enabled) + _setter("unlock_on_app_start_enabled", unlock_on_app_start_enabled) @property @pulumi.getter(name="deviceProtectionPolicy") @@ -68096,9 +77461,22 @@ def __init__(__self__, *, :param str name: The name of the attribute being evaluated :param str value: Value of the tag. """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + GetDomainsAuthenticationFactorSettingsAuthenticationFactorSettingCompliancePolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: str, + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("name", name) + _setter("value", value) @property @pulumi.getter @@ -68134,8 +77512,19 @@ def __init__(__self__, *, :param str email_link_custom_url: Custom redirect Url which will be used in email link :param bool email_link_enabled: Specifies whether Email link is enabled or not. """ - pulumi.set(__self__, "email_link_custom_url", email_link_custom_url) - pulumi.set(__self__, "email_link_enabled", email_link_enabled) + GetDomainsAuthenticationFactorSettingsAuthenticationFactorSettingEmailSettingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + email_link_custom_url=email_link_custom_url, + email_link_enabled=email_link_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + email_link_custom_url: str, + email_link_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("email_link_custom_url", email_link_custom_url) + _setter("email_link_enabled", email_link_enabled) @property @pulumi.getter(name="emailLinkCustomUrl") @@ -68169,11 +77558,28 @@ def __init__(__self__, *, :param int max_trusted_endpoints: Max number of trusted endpoints per user :param bool trusted_endpoints_enabled: Specify if trusted endpoints are enabled """ - pulumi.set(__self__, "max_endpoint_trust_duration_in_days", max_endpoint_trust_duration_in_days) - pulumi.set(__self__, "max_enrolled_devices", max_enrolled_devices) - pulumi.set(__self__, "max_incorrect_attempts", max_incorrect_attempts) - pulumi.set(__self__, "max_trusted_endpoints", max_trusted_endpoints) - pulumi.set(__self__, "trusted_endpoints_enabled", trusted_endpoints_enabled) + GetDomainsAuthenticationFactorSettingsAuthenticationFactorSettingEndpointRestrictionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + max_endpoint_trust_duration_in_days=max_endpoint_trust_duration_in_days, + max_enrolled_devices=max_enrolled_devices, + max_incorrect_attempts=max_incorrect_attempts, + max_trusted_endpoints=max_trusted_endpoints, + trusted_endpoints_enabled=trusted_endpoints_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max_endpoint_trust_duration_in_days: int, + max_enrolled_devices: int, + max_incorrect_attempts: int, + max_trusted_endpoints: int, + trusted_endpoints_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max_endpoint_trust_duration_in_days", max_endpoint_trust_duration_in_days) + _setter("max_enrolled_devices", max_enrolled_devices) + _setter("max_incorrect_attempts", max_incorrect_attempts) + _setter("max_trusted_endpoints", max_trusted_endpoints) + _setter("trusted_endpoints_enabled", trusted_endpoints_enabled) @property @pulumi.getter(name="maxEndpointTrustDurationInDays") @@ -68231,11 +77637,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: Value of the tag. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsAuthenticationFactorSettingsAuthenticationFactorSettingIdcsCreatedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -68293,11 +77716,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: Value of the tag. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsAuthenticationFactorSettingsAuthenticationFactorSettingIdcsLastModifiedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -68349,8 +77789,19 @@ def __init__(__self__, *, :param bool mobile_number_enabled: If true, indicates that Multi-Factor Authentication should use the mobile number in the identity store :param bool mobile_number_update_enabled: If true, indicates that the user can update the mobile number in the user's Multi-Factor Authentication profile """ - pulumi.set(__self__, "mobile_number_enabled", mobile_number_enabled) - pulumi.set(__self__, "mobile_number_update_enabled", mobile_number_update_enabled) + GetDomainsAuthenticationFactorSettingsAuthenticationFactorSettingIdentityStoreSettingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + mobile_number_enabled=mobile_number_enabled, + mobile_number_update_enabled=mobile_number_update_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + mobile_number_enabled: bool, + mobile_number_update_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("mobile_number_enabled", mobile_number_enabled) + _setter("mobile_number_update_enabled", mobile_number_update_enabled) @property @pulumi.getter(name="mobileNumberEnabled") @@ -68384,11 +77835,28 @@ def __init__(__self__, *, :param str resource_type: Name of the resource type of the resource--for example, Users or Groups :param str version: The version of the Resource being returned. This value must be the same as the ETag HTTP response header. """ - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "version", version) + GetDomainsAuthenticationFactorSettingsAuthenticationFactorSettingMetaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: str, + last_modified: str, + location: str, + resource_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created", created) + _setter("last_modified", last_modified) + _setter("location", location) + _setter("resource_type", resource_type) + _setter("version", version) @property @pulumi.getter @@ -68438,7 +77906,16 @@ def __init__(__self__, *, """ :param bool pull_enabled: If true, indicates that the Mobile App Pull Notification channel is enabled for authentication """ - pulumi.set(__self__, "pull_enabled", pull_enabled) + GetDomainsAuthenticationFactorSettingsAuthenticationFactorSettingNotificationSettingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + pull_enabled=pull_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + pull_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("pull_enabled", pull_enabled) @property @pulumi.getter(name="pullEnabled") @@ -68458,8 +77935,19 @@ def __init__(__self__, *, :param str key: Key or name of the tag. :param str value: Value of the tag. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsAuthenticationFactorSettingsAuthenticationFactorSettingTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -68485,7 +77973,16 @@ def __init__(__self__, *, """ :param bool duo_security: To enable Duo Security factor """ - pulumi.set(__self__, "duo_security", duo_security) + GetDomainsAuthenticationFactorSettingsAuthenticationFactorSettingThirdPartyFactorResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + duo_security=duo_security, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + duo_security: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("duo_security", duo_security) @property @pulumi.getter(name="duoSecurity") @@ -68521,16 +78018,43 @@ def __init__(__self__, *, :param int time_step_in_secs: Time (in secs) to be used as the time step :param int time_step_tolerance: The tolerance/step-size that the system should use when validating a One-Time Passcode """ - pulumi.set(__self__, "email_otp_validity_duration_in_mins", email_otp_validity_duration_in_mins) - pulumi.set(__self__, "email_passcode_length", email_passcode_length) - pulumi.set(__self__, "hashing_algorithm", hashing_algorithm) - pulumi.set(__self__, "jwt_validity_duration_in_secs", jwt_validity_duration_in_secs) - pulumi.set(__self__, "key_refresh_interval_in_days", key_refresh_interval_in_days) - pulumi.set(__self__, "passcode_length", passcode_length) - pulumi.set(__self__, "sms_otp_validity_duration_in_mins", sms_otp_validity_duration_in_mins) - pulumi.set(__self__, "sms_passcode_length", sms_passcode_length) - pulumi.set(__self__, "time_step_in_secs", time_step_in_secs) - pulumi.set(__self__, "time_step_tolerance", time_step_tolerance) + GetDomainsAuthenticationFactorSettingsAuthenticationFactorSettingTotpSettingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + email_otp_validity_duration_in_mins=email_otp_validity_duration_in_mins, + email_passcode_length=email_passcode_length, + hashing_algorithm=hashing_algorithm, + jwt_validity_duration_in_secs=jwt_validity_duration_in_secs, + key_refresh_interval_in_days=key_refresh_interval_in_days, + passcode_length=passcode_length, + sms_otp_validity_duration_in_mins=sms_otp_validity_duration_in_mins, + sms_passcode_length=sms_passcode_length, + time_step_in_secs=time_step_in_secs, + time_step_tolerance=time_step_tolerance, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + email_otp_validity_duration_in_mins: int, + email_passcode_length: int, + hashing_algorithm: str, + jwt_validity_duration_in_secs: int, + key_refresh_interval_in_days: int, + passcode_length: int, + sms_otp_validity_duration_in_mins: int, + sms_passcode_length: int, + time_step_in_secs: int, + time_step_tolerance: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("email_otp_validity_duration_in_mins", email_otp_validity_duration_in_mins) + _setter("email_passcode_length", email_passcode_length) + _setter("hashing_algorithm", hashing_algorithm) + _setter("jwt_validity_duration_in_secs", jwt_validity_duration_in_secs) + _setter("key_refresh_interval_in_days", key_refresh_interval_in_days) + _setter("passcode_length", passcode_length) + _setter("sms_otp_validity_duration_in_mins", sms_otp_validity_duration_in_mins) + _setter("sms_passcode_length", sms_passcode_length) + _setter("time_step_in_secs", time_step_in_secs) + _setter("time_step_tolerance", time_step_tolerance) @property @pulumi.getter(name="emailOtpValidityDurationInMins") @@ -68636,15 +78160,40 @@ def __init__(__self__, *, :param Sequence[str] public_key_types: List of server supported public key algorithms :param int timeout: Timeout for the fido authentication to complete """ - pulumi.set(__self__, "attestation", attestation) - pulumi.set(__self__, "authenticator_selection_attachment", authenticator_selection_attachment) - pulumi.set(__self__, "authenticator_selection_require_resident_key", authenticator_selection_require_resident_key) - pulumi.set(__self__, "authenticator_selection_resident_key", authenticator_selection_resident_key) - pulumi.set(__self__, "authenticator_selection_user_verification", authenticator_selection_user_verification) - pulumi.set(__self__, "domain_validation_level", domain_validation_level) - pulumi.set(__self__, "exclude_credentials", exclude_credentials) - pulumi.set(__self__, "public_key_types", public_key_types) - pulumi.set(__self__, "timeout", timeout) + GetDomainsAuthenticationFactorSettingsAuthenticationFactorSettingUrnietfparamsscimschemasoracleidcsextensionfidoAuthenticationFactorSettingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + attestation=attestation, + authenticator_selection_attachment=authenticator_selection_attachment, + authenticator_selection_require_resident_key=authenticator_selection_require_resident_key, + authenticator_selection_resident_key=authenticator_selection_resident_key, + authenticator_selection_user_verification=authenticator_selection_user_verification, + domain_validation_level=domain_validation_level, + exclude_credentials=exclude_credentials, + public_key_types=public_key_types, + timeout=timeout, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attestation: str, + authenticator_selection_attachment: str, + authenticator_selection_require_resident_key: bool, + authenticator_selection_resident_key: str, + authenticator_selection_user_verification: str, + domain_validation_level: int, + exclude_credentials: bool, + public_key_types: Sequence[str], + timeout: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("attestation", attestation) + _setter("authenticator_selection_attachment", authenticator_selection_attachment) + _setter("authenticator_selection_require_resident_key", authenticator_selection_require_resident_key) + _setter("authenticator_selection_resident_key", authenticator_selection_resident_key) + _setter("authenticator_selection_user_verification", authenticator_selection_user_verification) + _setter("domain_validation_level", domain_validation_level) + _setter("exclude_credentials", exclude_credentials) + _setter("public_key_types", public_key_types) + _setter("timeout", timeout) @property @pulumi.getter @@ -68726,7 +78275,16 @@ def __init__(__self__, *, """ :param Sequence['GetDomainsAuthenticationFactorSettingsAuthenticationFactorSettingUrnietfparamsscimschemasoracleidcsextensionthirdPartyAuthenticationFactorSettingDuoSecuritySettingArgs'] duo_security_settings: Settings related to Duo Security """ - pulumi.set(__self__, "duo_security_settings", duo_security_settings) + GetDomainsAuthenticationFactorSettingsAuthenticationFactorSettingUrnietfparamsscimschemasoracleidcsextensionthirdPartyAuthenticationFactorSettingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + duo_security_settings=duo_security_settings, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + duo_security_settings: Sequence['outputs.GetDomainsAuthenticationFactorSettingsAuthenticationFactorSettingUrnietfparamsscimschemasoracleidcsextensionthirdPartyAuthenticationFactorSettingDuoSecuritySettingResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("duo_security_settings", duo_security_settings) @property @pulumi.getter(name="duoSecuritySettings") @@ -68752,11 +78310,28 @@ def __init__(__self__, *, :param str secret_key: Secret key from Duo Security authenticator :param str user_mapping_attribute: User attribute mapping value """ - pulumi.set(__self__, "api_hostname", api_hostname) - pulumi.set(__self__, "attestation_key", attestation_key) - pulumi.set(__self__, "integration_key", integration_key) - pulumi.set(__self__, "secret_key", secret_key) - pulumi.set(__self__, "user_mapping_attribute", user_mapping_attribute) + GetDomainsAuthenticationFactorSettingsAuthenticationFactorSettingUrnietfparamsscimschemasoracleidcsextensionthirdPartyAuthenticationFactorSettingDuoSecuritySettingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + api_hostname=api_hostname, + attestation_key=attestation_key, + integration_key=integration_key, + secret_key=secret_key, + user_mapping_attribute=user_mapping_attribute, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + api_hostname: str, + attestation_key: str, + integration_key: str, + secret_key: str, + user_mapping_attribute: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("api_hostname", api_hostname) + _setter("attestation_key", attestation_key) + _setter("integration_key", integration_key) + _setter("secret_key", secret_key) + _setter("user_mapping_attribute", user_mapping_attribute) @property @pulumi.getter(name="apiHostname") @@ -68814,11 +78389,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: The user's ID. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsCustomerSecretKeyIdcsCreatedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -68876,11 +78468,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: The user's ID. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsCustomerSecretKeyIdcsLastModifiedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -68938,11 +78547,28 @@ def __init__(__self__, *, :param str resource_type: Name of the resource type of the resource--for example, Users or Groups :param str version: The version of the Resource being returned. This value must be the same as the ETag HTTP response header. """ - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "version", version) + GetDomainsCustomerSecretKeyMetaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: str, + last_modified: str, + location: str, + resource_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created", created) + _setter("last_modified", last_modified) + _setter("location", location) + _setter("resource_type", resource_type) + _setter("version", version) @property @pulumi.getter @@ -68994,8 +78620,19 @@ def __init__(__self__, *, :param str key: Key or name of the tag. :param str value: The user's ID. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsCustomerSecretKeyTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -69021,7 +78658,16 @@ def __init__(__self__, *, """ :param bool allow_self_change: If true, allows requesting user to update themselves. If false, requesting user can't update themself (default). """ - pulumi.set(__self__, "allow_self_change", allow_self_change) + GetDomainsCustomerSecretKeyUrnietfparamsscimschemasoracleidcsextensionselfChangeUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allow_self_change=allow_self_change, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allow_self_change: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allow_self_change", allow_self_change) @property @pulumi.getter(name="allowSelfChange") @@ -69047,11 +78693,28 @@ def __init__(__self__, *, :param str ref: The URI that corresponds to the user linked to this credential. :param str value: The user's ID. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsCustomerSecretKeyUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + name=name, + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + name: str, + ocid: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("name", name) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -69149,31 +78812,88 @@ def __init__(__self__, *, :param Sequence['GetDomainsCustomerSecretKeysCustomerSecretKeyUrnietfparamsscimschemasoracleidcsextensionselfChangeUserArgs'] urnietfparamsscimschemasoracleidcsextensionself_change_users: Controls whether a user can update themselves or not via User related APIs :param Sequence['GetDomainsCustomerSecretKeysCustomerSecretKeyUserArgs'] users: User linked to customer secret key """ - pulumi.set(__self__, "access_key", access_key) - pulumi.set(__self__, "attribute_sets", attribute_sets) - pulumi.set(__self__, "attributes", attributes) - pulumi.set(__self__, "authorization", authorization) - pulumi.set(__self__, "compartment_ocid", compartment_ocid) - pulumi.set(__self__, "delete_in_progress", delete_in_progress) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "domain_ocid", domain_ocid) - pulumi.set(__self__, "expires_on", expires_on) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "idcs_created_bies", idcs_created_bies) - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) - pulumi.set(__self__, "idcs_last_modified_bies", idcs_last_modified_bies) - pulumi.set(__self__, "idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) - pulumi.set(__self__, "idcs_prevented_operations", idcs_prevented_operations) - pulumi.set(__self__, "metas", metas) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) - pulumi.set(__self__, "schemas", schemas) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "tags", tags) - pulumi.set(__self__, "tenancy_ocid", tenancy_ocid) - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionself_change_users", urnietfparamsscimschemasoracleidcsextensionself_change_users) - pulumi.set(__self__, "users", users) + GetDomainsCustomerSecretKeysCustomerSecretKeyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + access_key=access_key, + attribute_sets=attribute_sets, + attributes=attributes, + authorization=authorization, + compartment_ocid=compartment_ocid, + delete_in_progress=delete_in_progress, + description=description, + display_name=display_name, + domain_ocid=domain_ocid, + expires_on=expires_on, + id=id, + idcs_created_bies=idcs_created_bies, + idcs_endpoint=idcs_endpoint, + idcs_last_modified_bies=idcs_last_modified_bies, + idcs_last_upgraded_in_release=idcs_last_upgraded_in_release, + idcs_prevented_operations=idcs_prevented_operations, + metas=metas, + ocid=ocid, + resource_type_schema_version=resource_type_schema_version, + schemas=schemas, + status=status, + tags=tags, + tenancy_ocid=tenancy_ocid, + urnietfparamsscimschemasoracleidcsextensionself_change_users=urnietfparamsscimschemasoracleidcsextensionself_change_users, + users=users, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access_key: str, + attribute_sets: Sequence[str], + attributes: str, + authorization: str, + compartment_ocid: str, + delete_in_progress: bool, + description: str, + display_name: str, + domain_ocid: str, + expires_on: str, + id: str, + idcs_created_bies: Sequence['outputs.GetDomainsCustomerSecretKeysCustomerSecretKeyIdcsCreatedByResult'], + idcs_endpoint: str, + idcs_last_modified_bies: Sequence['outputs.GetDomainsCustomerSecretKeysCustomerSecretKeyIdcsLastModifiedByResult'], + idcs_last_upgraded_in_release: str, + idcs_prevented_operations: Sequence[str], + metas: Sequence['outputs.GetDomainsCustomerSecretKeysCustomerSecretKeyMetaResult'], + ocid: str, + resource_type_schema_version: str, + schemas: Sequence[str], + status: str, + tags: Sequence['outputs.GetDomainsCustomerSecretKeysCustomerSecretKeyTagResult'], + tenancy_ocid: str, + urnietfparamsscimschemasoracleidcsextensionself_change_users: Sequence['outputs.GetDomainsCustomerSecretKeysCustomerSecretKeyUrnietfparamsscimschemasoracleidcsextensionselfChangeUserResult'], + users: Sequence['outputs.GetDomainsCustomerSecretKeysCustomerSecretKeyUserResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("access_key", access_key) + _setter("attribute_sets", attribute_sets) + _setter("attributes", attributes) + _setter("authorization", authorization) + _setter("compartment_ocid", compartment_ocid) + _setter("delete_in_progress", delete_in_progress) + _setter("description", description) + _setter("display_name", display_name) + _setter("domain_ocid", domain_ocid) + _setter("expires_on", expires_on) + _setter("id", id) + _setter("idcs_created_bies", idcs_created_bies) + _setter("idcs_endpoint", idcs_endpoint) + _setter("idcs_last_modified_bies", idcs_last_modified_bies) + _setter("idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) + _setter("idcs_prevented_operations", idcs_prevented_operations) + _setter("metas", metas) + _setter("ocid", ocid) + _setter("resource_type_schema_version", resource_type_schema_version) + _setter("schemas", schemas) + _setter("status", status) + _setter("tags", tags) + _setter("tenancy_ocid", tenancy_ocid) + _setter("urnietfparamsscimschemasoracleidcsextensionself_change_users", urnietfparamsscimschemasoracleidcsextensionself_change_users) + _setter("users", users) @property @pulumi.getter(name="accessKey") @@ -69391,11 +79111,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: The user's ID. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsCustomerSecretKeysCustomerSecretKeyIdcsCreatedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -69453,11 +79190,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: The user's ID. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsCustomerSecretKeysCustomerSecretKeyIdcsLastModifiedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -69515,11 +79269,28 @@ def __init__(__self__, *, :param str resource_type: Name of the resource type of the resource--for example, Users or Groups :param str version: The version of the Resource being returned. This value must be the same as the ETag HTTP response header. """ - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "version", version) + GetDomainsCustomerSecretKeysCustomerSecretKeyMetaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: str, + last_modified: str, + location: str, + resource_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created", created) + _setter("last_modified", last_modified) + _setter("location", location) + _setter("resource_type", resource_type) + _setter("version", version) @property @pulumi.getter @@ -69571,8 +79342,19 @@ def __init__(__self__, *, :param str key: Key or name of the tag. :param str value: The user's ID. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsCustomerSecretKeysCustomerSecretKeyTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -69598,7 +79380,16 @@ def __init__(__self__, *, """ :param bool allow_self_change: If true, allows requesting user to update themselves. If false, requesting user can't update themself (default). """ - pulumi.set(__self__, "allow_self_change", allow_self_change) + GetDomainsCustomerSecretKeysCustomerSecretKeyUrnietfparamsscimschemasoracleidcsextensionselfChangeUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allow_self_change=allow_self_change, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allow_self_change: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allow_self_change", allow_self_change) @property @pulumi.getter(name="allowSelfChange") @@ -69624,11 +79415,28 @@ def __init__(__self__, *, :param str ref: The URI that corresponds to the user linked to this credential. :param str value: The user's ID. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsCustomerSecretKeysCustomerSecretKeyUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + name=name, + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + name: str, + ocid: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("name", name) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -69714,28 +79522,79 @@ def __init__(__self__, *, :param str type: The domain type :param str url: The region agnostic domain URL """ - pulumi.set(__self__, "admin_email", admin_email) - pulumi.set(__self__, "admin_first_name", admin_first_name) - pulumi.set(__self__, "admin_last_name", admin_last_name) - pulumi.set(__self__, "admin_user_name", admin_user_name) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "home_region", home_region) - pulumi.set(__self__, "home_region_url", home_region_url) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_hidden_on_login", is_hidden_on_login) - pulumi.set(__self__, "is_notification_bypassed", is_notification_bypassed) - pulumi.set(__self__, "is_primary_email_required", is_primary_email_required) - pulumi.set(__self__, "license_type", license_type) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "replica_regions", replica_regions) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "url", url) + GetDomainsDomainResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + admin_email=admin_email, + admin_first_name=admin_first_name, + admin_last_name=admin_last_name, + admin_user_name=admin_user_name, + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + home_region=home_region, + home_region_url=home_region_url, + id=id, + is_hidden_on_login=is_hidden_on_login, + is_notification_bypassed=is_notification_bypassed, + is_primary_email_required=is_primary_email_required, + license_type=license_type, + lifecycle_details=lifecycle_details, + replica_regions=replica_regions, + state=state, + time_created=time_created, + type=type, + url=url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + admin_email: str, + admin_first_name: str, + admin_last_name: str, + admin_user_name: str, + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + home_region: str, + home_region_url: str, + id: str, + is_hidden_on_login: bool, + is_notification_bypassed: bool, + is_primary_email_required: bool, + license_type: str, + lifecycle_details: str, + replica_regions: Sequence['outputs.GetDomainsDomainReplicaRegionResult'], + state: str, + time_created: str, + type: str, + url: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("admin_email", admin_email) + _setter("admin_first_name", admin_first_name) + _setter("admin_last_name", admin_last_name) + _setter("admin_user_name", admin_user_name) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("home_region", home_region) + _setter("home_region_url", home_region_url) + _setter("id", id) + _setter("is_hidden_on_login", is_hidden_on_login) + _setter("is_notification_bypassed", is_notification_bypassed) + _setter("is_primary_email_required", is_primary_email_required) + _setter("license_type", license_type) + _setter("lifecycle_details", lifecycle_details) + _setter("replica_regions", replica_regions) + _setter("state", state) + _setter("time_created", time_created) + _setter("type", type) + _setter("url", url) @property @pulumi.getter(name="adminEmail") @@ -69907,9 +79766,22 @@ def __init__(__self__, *, :param str state: A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. :param str url: The region agnostic domain URL """ - pulumi.set(__self__, "region", region) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "url", url) + GetDomainsDomainReplicaRegionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + region=region, + state=state, + url=url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + region: str, + state: str, + url: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("region", region) + _setter("state", state) + _setter("url", url) @property @pulumi.getter @@ -69955,13 +79827,34 @@ def __init__(__self__, *, :param str ref: The URI of the SCIM resource that represents the User or App who modified this Resource :param str value: Oracle Cloud Infrastructure Tag value """ - pulumi.set(__self__, "admin_role", admin_role) - pulumi.set(__self__, "app_id", app_id) - pulumi.set(__self__, "app_name", app_name) - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "legacy_group_name", legacy_group_name) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsDynamicResourceGroupDynamicGroupAppRoleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + admin_role=admin_role, + app_id=app_id, + app_name=app_name, + display=display, + legacy_group_name=legacy_group_name, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + admin_role: bool, + app_id: str, + app_name: str, + display: str, + legacy_group_name: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("admin_role", admin_role) + _setter("app_id", app_id) + _setter("app_name", app_name) + _setter("display", display) + _setter("legacy_group_name", legacy_group_name) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter(name="adminRole") @@ -70036,10 +79929,25 @@ def __init__(__self__, *, :param str ref: The URI of the SCIM resource that represents the User or App who modified this Resource :param str value: Oracle Cloud Infrastructure Tag value """ - pulumi.set(__self__, "app_id", app_id) - pulumi.set(__self__, "grant_mechanism", grant_mechanism) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsDynamicResourceGroupGrantResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + app_id=app_id, + grant_mechanism=grant_mechanism, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + app_id: str, + grant_mechanism: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("app_id", app_id) + _setter("grant_mechanism", grant_mechanism) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter(name="appId") @@ -70092,11 +80000,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: Oracle Cloud Infrastructure Tag value """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsDynamicResourceGroupIdcsCreatedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -70154,11 +80079,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: Oracle Cloud Infrastructure Tag value """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsDynamicResourceGroupIdcsLastModifiedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -70216,11 +80158,28 @@ def __init__(__self__, *, :param str resource_type: Name of the resource type of the resource--for example, Users or Groups :param str version: The version of the Resource being returned. This value must be the same as the ETag HTTP response header. """ - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "version", version) + GetDomainsDynamicResourceGroupMetaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: str, + last_modified: str, + location: str, + resource_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created", created) + _setter("last_modified", last_modified) + _setter("location", location) + _setter("resource_type", resource_type) + _setter("version", version) @property @pulumi.getter @@ -70272,8 +80231,19 @@ def __init__(__self__, *, :param str key: Oracle Cloud Infrastructure Tag key :param str value: Oracle Cloud Infrastructure Tag value """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsDynamicResourceGroupTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -70303,9 +80273,22 @@ def __init__(__self__, *, :param Sequence['GetDomainsDynamicResourceGroupUrnietfparamsscimschemasoracleidcsextensionOciTagFreeformTagArgs'] freeform_tags: Oracle Cloud Infrastructure Freeform Tags :param str tag_slug: Oracle Cloud Infrastructure Tag slug """ - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "tag_slug", tag_slug) + GetDomainsDynamicResourceGroupUrnietfparamsscimschemasoracleidcsextensionOciTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + defined_tags=defined_tags, + freeform_tags=freeform_tags, + tag_slug=tag_slug, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + defined_tags: Sequence['outputs.GetDomainsDynamicResourceGroupUrnietfparamsscimschemasoracleidcsextensionOciTagDefinedTagResult'], + freeform_tags: Sequence['outputs.GetDomainsDynamicResourceGroupUrnietfparamsscimschemasoracleidcsextensionOciTagFreeformTagResult'], + tag_slug: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("defined_tags", defined_tags) + _setter("freeform_tags", freeform_tags) + _setter("tag_slug", tag_slug) @property @pulumi.getter(name="definedTags") @@ -70343,9 +80326,22 @@ def __init__(__self__, *, :param str namespace: Oracle Cloud Infrastructure Tag namespace :param str value: Oracle Cloud Infrastructure Tag value """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "value", value) + GetDomainsDynamicResourceGroupUrnietfparamsscimschemasoracleidcsextensionOciTagDefinedTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + namespace=namespace, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + namespace: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("namespace", namespace) + _setter("value", value) @property @pulumi.getter @@ -70381,8 +80377,19 @@ def __init__(__self__, *, :param str key: Oracle Cloud Infrastructure Tag key :param str value: Oracle Cloud Infrastructure Tag value """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsDynamicResourceGroupUrnietfparamsscimschemasoracleidcsextensionOciTagFreeformTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -70454,30 +80461,85 @@ def __init__(__self__, *, :param str tenancy_ocid: Oracle Cloud Infrastructure Tenant Id (ocid) in which the resource lives. :param Sequence['GetDomainsDynamicResourceGroupsDynamicResourceGroupUrnietfparamsscimschemasoracleidcsextensionOciTagArgs'] urnietfparamsscimschemasoracleidcsextension_oci_tags: Oracle Cloud Infrastructure Tags. """ - pulumi.set(__self__, "attribute_sets", attribute_sets) - pulumi.set(__self__, "attributes", attributes) - pulumi.set(__self__, "authorization", authorization) - pulumi.set(__self__, "compartment_ocid", compartment_ocid) - pulumi.set(__self__, "delete_in_progress", delete_in_progress) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "domain_ocid", domain_ocid) - pulumi.set(__self__, "dynamic_group_app_roles", dynamic_group_app_roles) - pulumi.set(__self__, "grants", grants) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "idcs_created_bies", idcs_created_bies) - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) - pulumi.set(__self__, "idcs_last_modified_bies", idcs_last_modified_bies) - pulumi.set(__self__, "idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) - pulumi.set(__self__, "idcs_prevented_operations", idcs_prevented_operations) - pulumi.set(__self__, "matching_rule", matching_rule) - pulumi.set(__self__, "metas", metas) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) - pulumi.set(__self__, "schemas", schemas) - pulumi.set(__self__, "tags", tags) - pulumi.set(__self__, "tenancy_ocid", tenancy_ocid) - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextension_oci_tags", urnietfparamsscimschemasoracleidcsextension_oci_tags) + GetDomainsDynamicResourceGroupsDynamicResourceGroupResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + attribute_sets=attribute_sets, + attributes=attributes, + authorization=authorization, + compartment_ocid=compartment_ocid, + delete_in_progress=delete_in_progress, + description=description, + display_name=display_name, + domain_ocid=domain_ocid, + dynamic_group_app_roles=dynamic_group_app_roles, + grants=grants, + id=id, + idcs_created_bies=idcs_created_bies, + idcs_endpoint=idcs_endpoint, + idcs_last_modified_bies=idcs_last_modified_bies, + idcs_last_upgraded_in_release=idcs_last_upgraded_in_release, + idcs_prevented_operations=idcs_prevented_operations, + matching_rule=matching_rule, + metas=metas, + ocid=ocid, + resource_type_schema_version=resource_type_schema_version, + schemas=schemas, + tags=tags, + tenancy_ocid=tenancy_ocid, + urnietfparamsscimschemasoracleidcsextension_oci_tags=urnietfparamsscimschemasoracleidcsextension_oci_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attribute_sets: Sequence[str], + attributes: str, + authorization: str, + compartment_ocid: str, + delete_in_progress: bool, + description: str, + display_name: str, + domain_ocid: str, + dynamic_group_app_roles: Sequence['outputs.GetDomainsDynamicResourceGroupsDynamicResourceGroupDynamicGroupAppRoleResult'], + grants: Sequence['outputs.GetDomainsDynamicResourceGroupsDynamicResourceGroupGrantResult'], + id: str, + idcs_created_bies: Sequence['outputs.GetDomainsDynamicResourceGroupsDynamicResourceGroupIdcsCreatedByResult'], + idcs_endpoint: str, + idcs_last_modified_bies: Sequence['outputs.GetDomainsDynamicResourceGroupsDynamicResourceGroupIdcsLastModifiedByResult'], + idcs_last_upgraded_in_release: str, + idcs_prevented_operations: Sequence[str], + matching_rule: str, + metas: Sequence['outputs.GetDomainsDynamicResourceGroupsDynamicResourceGroupMetaResult'], + ocid: str, + resource_type_schema_version: str, + schemas: Sequence[str], + tags: Sequence['outputs.GetDomainsDynamicResourceGroupsDynamicResourceGroupTagResult'], + tenancy_ocid: str, + urnietfparamsscimschemasoracleidcsextension_oci_tags: Sequence['outputs.GetDomainsDynamicResourceGroupsDynamicResourceGroupUrnietfparamsscimschemasoracleidcsextensionOciTagResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("attribute_sets", attribute_sets) + _setter("attributes", attributes) + _setter("authorization", authorization) + _setter("compartment_ocid", compartment_ocid) + _setter("delete_in_progress", delete_in_progress) + _setter("description", description) + _setter("display_name", display_name) + _setter("domain_ocid", domain_ocid) + _setter("dynamic_group_app_roles", dynamic_group_app_roles) + _setter("grants", grants) + _setter("id", id) + _setter("idcs_created_bies", idcs_created_bies) + _setter("idcs_endpoint", idcs_endpoint) + _setter("idcs_last_modified_bies", idcs_last_modified_bies) + _setter("idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) + _setter("idcs_prevented_operations", idcs_prevented_operations) + _setter("matching_rule", matching_rule) + _setter("metas", metas) + _setter("ocid", ocid) + _setter("resource_type_schema_version", resource_type_schema_version) + _setter("schemas", schemas) + _setter("tags", tags) + _setter("tenancy_ocid", tenancy_ocid) + _setter("urnietfparamsscimschemasoracleidcsextension_oci_tags", urnietfparamsscimschemasoracleidcsextension_oci_tags) @property @pulumi.getter(name="attributeSets") @@ -70691,13 +80753,34 @@ def __init__(__self__, *, :param str ref: The URI of the SCIM resource that represents the User or App who modified this Resource :param str value: Oracle Cloud Infrastructure Tag value """ - pulumi.set(__self__, "admin_role", admin_role) - pulumi.set(__self__, "app_id", app_id) - pulumi.set(__self__, "app_name", app_name) - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "legacy_group_name", legacy_group_name) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsDynamicResourceGroupsDynamicResourceGroupDynamicGroupAppRoleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + admin_role=admin_role, + app_id=app_id, + app_name=app_name, + display=display, + legacy_group_name=legacy_group_name, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + admin_role: bool, + app_id: str, + app_name: str, + display: str, + legacy_group_name: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("admin_role", admin_role) + _setter("app_id", app_id) + _setter("app_name", app_name) + _setter("display", display) + _setter("legacy_group_name", legacy_group_name) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter(name="adminRole") @@ -70772,10 +80855,25 @@ def __init__(__self__, *, :param str ref: The URI of the SCIM resource that represents the User or App who modified this Resource :param str value: Oracle Cloud Infrastructure Tag value """ - pulumi.set(__self__, "app_id", app_id) - pulumi.set(__self__, "grant_mechanism", grant_mechanism) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsDynamicResourceGroupsDynamicResourceGroupGrantResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + app_id=app_id, + grant_mechanism=grant_mechanism, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + app_id: str, + grant_mechanism: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("app_id", app_id) + _setter("grant_mechanism", grant_mechanism) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter(name="appId") @@ -70828,11 +80926,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: Oracle Cloud Infrastructure Tag value """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsDynamicResourceGroupsDynamicResourceGroupIdcsCreatedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -70890,11 +81005,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: Oracle Cloud Infrastructure Tag value """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsDynamicResourceGroupsDynamicResourceGroupIdcsLastModifiedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -70952,11 +81084,28 @@ def __init__(__self__, *, :param str resource_type: Name of the resource type of the resource--for example, Users or Groups :param str version: The version of the Resource being returned. This value must be the same as the ETag HTTP response header. """ - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "version", version) + GetDomainsDynamicResourceGroupsDynamicResourceGroupMetaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: str, + last_modified: str, + location: str, + resource_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created", created) + _setter("last_modified", last_modified) + _setter("location", location) + _setter("resource_type", resource_type) + _setter("version", version) @property @pulumi.getter @@ -71008,8 +81157,19 @@ def __init__(__self__, *, :param str key: Oracle Cloud Infrastructure Tag key :param str value: Oracle Cloud Infrastructure Tag value """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsDynamicResourceGroupsDynamicResourceGroupTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -71039,9 +81199,22 @@ def __init__(__self__, *, :param Sequence['GetDomainsDynamicResourceGroupsDynamicResourceGroupUrnietfparamsscimschemasoracleidcsextensionOciTagFreeformTagArgs'] freeform_tags: Oracle Cloud Infrastructure Freeform Tags :param str tag_slug: Oracle Cloud Infrastructure Tag slug """ - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "tag_slug", tag_slug) + GetDomainsDynamicResourceGroupsDynamicResourceGroupUrnietfparamsscimschemasoracleidcsextensionOciTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + defined_tags=defined_tags, + freeform_tags=freeform_tags, + tag_slug=tag_slug, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + defined_tags: Sequence['outputs.GetDomainsDynamicResourceGroupsDynamicResourceGroupUrnietfparamsscimschemasoracleidcsextensionOciTagDefinedTagResult'], + freeform_tags: Sequence['outputs.GetDomainsDynamicResourceGroupsDynamicResourceGroupUrnietfparamsscimschemasoracleidcsextensionOciTagFreeformTagResult'], + tag_slug: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("defined_tags", defined_tags) + _setter("freeform_tags", freeform_tags) + _setter("tag_slug", tag_slug) @property @pulumi.getter(name="definedTags") @@ -71079,9 +81252,22 @@ def __init__(__self__, *, :param str namespace: Oracle Cloud Infrastructure Tag namespace :param str value: Oracle Cloud Infrastructure Tag value """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "value", value) + GetDomainsDynamicResourceGroupsDynamicResourceGroupUrnietfparamsscimschemasoracleidcsextensionOciTagDefinedTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + namespace=namespace, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + namespace: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("namespace", namespace) + _setter("value", value) @property @pulumi.getter @@ -71117,8 +81303,19 @@ def __init__(__self__, *, :param str key: Oracle Cloud Infrastructure Tag key :param str value: Oracle Cloud Infrastructure Tag value """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsDynamicResourceGroupsDynamicResourceGroupUrnietfparamsscimschemasoracleidcsextensionOciTagFreeformTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -71146,10 +81343,23 @@ def __init__(__self__, *, """ :param str name: A filter to only return resources that match the given name exactly. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDomainsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -71181,9 +81391,22 @@ def __init__(__self__, *, :param str ref: The URI of the SCIM resource that represents the User or App who modified this Resource :param str value: Value of the tag. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsGrantAppResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -71219,8 +81442,19 @@ def __init__(__self__, *, :param str ref: The URI of the SCIM resource that represents the User or App who modified this Resource :param str value: Value of the tag. """ - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsGrantAppEntitlementCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -71248,8 +81482,19 @@ def __init__(__self__, *, :param str attribute_name: The name of the attribute whose value (specified by attributeValue) confers privilege within the service-instance (specified by app). :param str attribute_value: The value of the attribute (specified by attributeName) that confers privilege within the service-instance (specified by app). If attributeName is 'appRoles', then attributeValue is the ID of the AppRole. """ - pulumi.set(__self__, "attribute_name", attribute_name) - pulumi.set(__self__, "attribute_value", attribute_value) + GetDomainsGrantEntitlementResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + attribute_name=attribute_name, + attribute_value=attribute_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attribute_name: str, + attribute_value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("attribute_name", attribute_name) + _setter("attribute_value", attribute_value) @property @pulumi.getter(name="attributeName") @@ -71281,10 +81526,25 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: Value of the tag. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsGrantGranteeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -71332,10 +81592,25 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: Value of the tag. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsGrantGrantorResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -71385,11 +81660,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: Value of the tag. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsGrantIdcsCreatedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -71447,11 +81739,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: Value of the tag. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsGrantIdcsLastModifiedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -71509,11 +81818,28 @@ def __init__(__self__, *, :param str resource_type: Name of the resource type of the resource--for example, Users or Groups :param str version: The version of the Resource being returned. This value must be the same as the ETag HTTP response header. """ - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "version", version) + GetDomainsGrantMetaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: str, + last_modified: str, + location: str, + resource_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created", created) + _setter("last_modified", last_modified) + _setter("location", location) + _setter("resource_type", resource_type) + _setter("version", version) @property @pulumi.getter @@ -71565,8 +81891,19 @@ def __init__(__self__, *, :param str key: Key or name of the tag. :param str value: Value of the tag. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsGrantTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -71647,33 +81984,94 @@ def __init__(__self__, *, :param Sequence['GetDomainsGrantsGrantTagArgs'] tags: A list of tags on this resource. :param str tenancy_ocid: Oracle Cloud Infrastructure Tenant Id (ocid) in which the resource lives. """ - pulumi.set(__self__, "app_entitlement_collections", app_entitlement_collections) - pulumi.set(__self__, "apps", apps) - pulumi.set(__self__, "attribute_sets", attribute_sets) - pulumi.set(__self__, "attributes", attributes) - pulumi.set(__self__, "authorization", authorization) - pulumi.set(__self__, "compartment_ocid", compartment_ocid) - pulumi.set(__self__, "composite_key", composite_key) - pulumi.set(__self__, "delete_in_progress", delete_in_progress) - pulumi.set(__self__, "domain_ocid", domain_ocid) - pulumi.set(__self__, "entitlements", entitlements) - pulumi.set(__self__, "grant_mechanism", grant_mechanism) - pulumi.set(__self__, "granted_attribute_values_json", granted_attribute_values_json) - pulumi.set(__self__, "grantees", grantees) - pulumi.set(__self__, "grantors", grantors) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "idcs_created_bies", idcs_created_bies) - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) - pulumi.set(__self__, "idcs_last_modified_bies", idcs_last_modified_bies) - pulumi.set(__self__, "idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) - pulumi.set(__self__, "idcs_prevented_operations", idcs_prevented_operations) - pulumi.set(__self__, "is_fulfilled", is_fulfilled) - pulumi.set(__self__, "metas", metas) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) - pulumi.set(__self__, "schemas", schemas) - pulumi.set(__self__, "tags", tags) - pulumi.set(__self__, "tenancy_ocid", tenancy_ocid) + GetDomainsGrantsGrantResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + app_entitlement_collections=app_entitlement_collections, + apps=apps, + attribute_sets=attribute_sets, + attributes=attributes, + authorization=authorization, + compartment_ocid=compartment_ocid, + composite_key=composite_key, + delete_in_progress=delete_in_progress, + domain_ocid=domain_ocid, + entitlements=entitlements, + grant_mechanism=grant_mechanism, + granted_attribute_values_json=granted_attribute_values_json, + grantees=grantees, + grantors=grantors, + id=id, + idcs_created_bies=idcs_created_bies, + idcs_endpoint=idcs_endpoint, + idcs_last_modified_bies=idcs_last_modified_bies, + idcs_last_upgraded_in_release=idcs_last_upgraded_in_release, + idcs_prevented_operations=idcs_prevented_operations, + is_fulfilled=is_fulfilled, + metas=metas, + ocid=ocid, + resource_type_schema_version=resource_type_schema_version, + schemas=schemas, + tags=tags, + tenancy_ocid=tenancy_ocid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + app_entitlement_collections: Sequence['outputs.GetDomainsGrantsGrantAppEntitlementCollectionResult'], + apps: Sequence['outputs.GetDomainsGrantsGrantAppResult'], + attribute_sets: Sequence[str], + attributes: str, + authorization: str, + compartment_ocid: str, + composite_key: str, + delete_in_progress: bool, + domain_ocid: str, + entitlements: Sequence['outputs.GetDomainsGrantsGrantEntitlementResult'], + grant_mechanism: str, + granted_attribute_values_json: str, + grantees: Sequence['outputs.GetDomainsGrantsGrantGranteeResult'], + grantors: Sequence['outputs.GetDomainsGrantsGrantGrantorResult'], + id: str, + idcs_created_bies: Sequence['outputs.GetDomainsGrantsGrantIdcsCreatedByResult'], + idcs_endpoint: str, + idcs_last_modified_bies: Sequence['outputs.GetDomainsGrantsGrantIdcsLastModifiedByResult'], + idcs_last_upgraded_in_release: str, + idcs_prevented_operations: Sequence[str], + is_fulfilled: bool, + metas: Sequence['outputs.GetDomainsGrantsGrantMetaResult'], + ocid: str, + resource_type_schema_version: str, + schemas: Sequence[str], + tags: Sequence['outputs.GetDomainsGrantsGrantTagResult'], + tenancy_ocid: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("app_entitlement_collections", app_entitlement_collections) + _setter("apps", apps) + _setter("attribute_sets", attribute_sets) + _setter("attributes", attributes) + _setter("authorization", authorization) + _setter("compartment_ocid", compartment_ocid) + _setter("composite_key", composite_key) + _setter("delete_in_progress", delete_in_progress) + _setter("domain_ocid", domain_ocid) + _setter("entitlements", entitlements) + _setter("grant_mechanism", grant_mechanism) + _setter("granted_attribute_values_json", granted_attribute_values_json) + _setter("grantees", grantees) + _setter("grantors", grantors) + _setter("id", id) + _setter("idcs_created_bies", idcs_created_bies) + _setter("idcs_endpoint", idcs_endpoint) + _setter("idcs_last_modified_bies", idcs_last_modified_bies) + _setter("idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) + _setter("idcs_prevented_operations", idcs_prevented_operations) + _setter("is_fulfilled", is_fulfilled) + _setter("metas", metas) + _setter("ocid", ocid) + _setter("resource_type_schema_version", resource_type_schema_version) + _setter("schemas", schemas) + _setter("tags", tags) + _setter("tenancy_ocid", tenancy_ocid) @property @pulumi.getter(name="appEntitlementCollections") @@ -71906,9 +82304,22 @@ def __init__(__self__, *, :param str ref: The URI of the SCIM resource that represents the User or App who modified this Resource :param str value: Value of the tag. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsGrantsGrantAppResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -71944,8 +82355,19 @@ def __init__(__self__, *, :param str ref: The URI of the SCIM resource that represents the User or App who modified this Resource :param str value: Value of the tag. """ - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsGrantsGrantAppEntitlementCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -71973,8 +82395,19 @@ def __init__(__self__, *, :param str attribute_name: The name of the attribute whose value (specified by attributeValue) confers privilege within the service-instance (specified by app). :param str attribute_value: The value of the attribute (specified by attributeName) that confers privilege within the service-instance (specified by app). If attributeName is 'appRoles', then attributeValue is the ID of the AppRole. """ - pulumi.set(__self__, "attribute_name", attribute_name) - pulumi.set(__self__, "attribute_value", attribute_value) + GetDomainsGrantsGrantEntitlementResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + attribute_name=attribute_name, + attribute_value=attribute_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attribute_name: str, + attribute_value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("attribute_name", attribute_name) + _setter("attribute_value", attribute_value) @property @pulumi.getter(name="attributeName") @@ -72006,10 +82439,25 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: Value of the tag. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsGrantsGrantGranteeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -72057,10 +82505,25 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: Value of the tag. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsGrantsGrantGrantorResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -72110,11 +82573,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: Value of the tag. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsGrantsGrantIdcsCreatedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -72172,11 +82652,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: Value of the tag. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsGrantsGrantIdcsLastModifiedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -72234,11 +82731,28 @@ def __init__(__self__, *, :param str resource_type: Name of the resource type of the resource--for example, Users or Groups :param str version: The version of the Resource being returned. This value must be the same as the ETag HTTP response header. """ - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "version", version) + GetDomainsGrantsGrantMetaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: str, + last_modified: str, + location: str, + resource_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created", created) + _setter("last_modified", last_modified) + _setter("location", location) + _setter("resource_type", resource_type) + _setter("version", version) @property @pulumi.getter @@ -72290,8 +82804,19 @@ def __init__(__self__, *, :param str key: Key or name of the tag. :param str value: Value of the tag. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsGrantsGrantTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -72325,11 +82850,28 @@ def __init__(__self__, *, :param str type: The type of the entity that created this Group. :param str value: The ID of the App. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsGroupIdcsCreatedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -72387,11 +82929,28 @@ def __init__(__self__, *, :param str type: The type of the entity that created this Group. :param str value: The ID of the App. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsGroupIdcsLastModifiedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -72455,14 +83014,37 @@ def __init__(__self__, *, :param str type: The type of the entity that created this Group. :param str value: The ID of the App. """ - pulumi.set(__self__, "date_added", date_added) - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "membership_ocid", membership_ocid) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsGroupMemberResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + date_added=date_added, + display=display, + membership_ocid=membership_ocid, + name=name, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + date_added: str, + display: str, + membership_ocid: str, + name: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("date_added", date_added) + _setter("display", display) + _setter("membership_ocid", membership_ocid) + _setter("name", name) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter(name="dateAdded") @@ -72544,11 +83126,28 @@ def __init__(__self__, *, :param str resource_type: Name of the resource type of the resource--for example, Users or Groups :param str version: The version of the Resource being returned. This value must be the same as the ETag HTTP response header. """ - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "version", version) + GetDomainsGroupMetaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: str, + last_modified: str, + location: str, + resource_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created", created) + _setter("last_modified", last_modified) + _setter("location", location) + _setter("resource_type", resource_type) + _setter("version", version) @property @pulumi.getter @@ -72600,8 +83199,19 @@ def __init__(__self__, *, :param str key: Oracle Cloud Infrastructure Tag key :param str value: The ID of the App. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsGroupTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -72631,9 +83241,22 @@ def __init__(__self__, *, :param Sequence['GetDomainsGroupUrnietfparamsscimschemasoracleidcsextensionOciTagFreeformTagArgs'] freeform_tags: Oracle Cloud Infrastructure Freeform Tags :param str tag_slug: Oracle Cloud Infrastructure Tag slug """ - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "tag_slug", tag_slug) + GetDomainsGroupUrnietfparamsscimschemasoracleidcsextensionOciTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + defined_tags=defined_tags, + freeform_tags=freeform_tags, + tag_slug=tag_slug, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + defined_tags: Sequence['outputs.GetDomainsGroupUrnietfparamsscimschemasoracleidcsextensionOciTagDefinedTagResult'], + freeform_tags: Sequence['outputs.GetDomainsGroupUrnietfparamsscimschemasoracleidcsextensionOciTagFreeformTagResult'], + tag_slug: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("defined_tags", defined_tags) + _setter("freeform_tags", freeform_tags) + _setter("tag_slug", tag_slug) @property @pulumi.getter(name="definedTags") @@ -72671,9 +83294,22 @@ def __init__(__self__, *, :param str namespace: Oracle Cloud Infrastructure Tag namespace :param str value: The ID of the App. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "value", value) + GetDomainsGroupUrnietfparamsscimschemasoracleidcsextensionOciTagDefinedTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + namespace=namespace, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + namespace: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("namespace", namespace) + _setter("value", value) @property @pulumi.getter @@ -72709,8 +83345,19 @@ def __init__(__self__, *, :param str key: Oracle Cloud Infrastructure Tag key :param str value: The ID of the App. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsGroupUrnietfparamsscimschemasoracleidcsextensionOciTagFreeformTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -72742,10 +83389,25 @@ def __init__(__self__, *, :param str instance_level_schema: DBCS instance-level schema-name. This attribute refers implicitly to a value of 'instanceLevelSchemaNames' for a particular DB Instance. :param Sequence['GetDomainsGroupUrnietfparamsscimschemasoracleidcsextensiondbcsGroupInstanceLevelSchemaNameArgs'] instance_level_schema_names: DBCS instance-level schema-names. Each schema-name is specific to a DB Instance. """ - pulumi.set(__self__, "domain_level_schema", domain_level_schema) - pulumi.set(__self__, "domain_level_schema_names", domain_level_schema_names) - pulumi.set(__self__, "instance_level_schema", instance_level_schema) - pulumi.set(__self__, "instance_level_schema_names", instance_level_schema_names) + GetDomainsGroupUrnietfparamsscimschemasoracleidcsextensiondbcsGroupResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + domain_level_schema=domain_level_schema, + domain_level_schema_names=domain_level_schema_names, + instance_level_schema=instance_level_schema, + instance_level_schema_names=instance_level_schema_names, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + domain_level_schema: str, + domain_level_schema_names: Sequence['outputs.GetDomainsGroupUrnietfparamsscimschemasoracleidcsextensiondbcsGroupDomainLevelSchemaNameResult'], + instance_level_schema: str, + instance_level_schema_names: Sequence['outputs.GetDomainsGroupUrnietfparamsscimschemasoracleidcsextensiondbcsGroupInstanceLevelSchemaNameResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("domain_level_schema", domain_level_schema) + _setter("domain_level_schema_names", domain_level_schema_names) + _setter("instance_level_schema", instance_level_schema) + _setter("instance_level_schema_names", instance_level_schema_names) @property @pulumi.getter(name="domainLevelSchema") @@ -72789,8 +83451,19 @@ def __init__(__self__, *, :param str domain_name: DBCS Domain Name :param str schema_name: The DBCS schema-name granted to this Group for the DB instance that 'dbInstanceId' specifies. """ - pulumi.set(__self__, "domain_name", domain_name) - pulumi.set(__self__, "schema_name", schema_name) + GetDomainsGroupUrnietfparamsscimschemasoracleidcsextensiondbcsGroupDomainLevelSchemaNameResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + domain_name=domain_name, + schema_name=schema_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + domain_name: str, + schema_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("domain_name", domain_name) + _setter("schema_name", schema_name) @property @pulumi.getter(name="domainName") @@ -72818,8 +83491,19 @@ def __init__(__self__, *, :param str db_instance_id: App Id of DBCS App instance :param str schema_name: The DBCS schema-name granted to this Group for the DB instance that 'dbInstanceId' specifies. """ - pulumi.set(__self__, "db_instance_id", db_instance_id) - pulumi.set(__self__, "schema_name", schema_name) + GetDomainsGroupUrnietfparamsscimschemasoracleidcsextensiondbcsGroupInstanceLevelSchemaNameResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_instance_id=db_instance_id, + schema_name=schema_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_instance_id: str, + schema_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("db_instance_id", db_instance_id) + _setter("schema_name", schema_name) @property @pulumi.getter(name="dbInstanceId") @@ -72847,8 +83531,19 @@ def __init__(__self__, *, :param str membership_rule: Membership rule :param str membership_type: Membership type """ - pulumi.set(__self__, "membership_rule", membership_rule) - pulumi.set(__self__, "membership_type", membership_type) + GetDomainsGroupUrnietfparamsscimschemasoracleidcsextensiondynamicGroupResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + membership_rule=membership_rule, + membership_type=membership_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + membership_rule: str, + membership_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("membership_rule", membership_rule) + _setter("membership_type", membership_type) @property @pulumi.getter(name="membershipRule") @@ -72886,13 +83581,34 @@ def __init__(__self__, *, :param Sequence['GetDomainsGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupPasswordPolicyArgs'] password_policies: Password Policy associated with this Group. :param Sequence['GetDomainsGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupSyncedFromAppArgs'] synced_from_apps: The entity that created this Group. """ - pulumi.set(__self__, "app_roles", app_roles) - pulumi.set(__self__, "creation_mechanism", creation_mechanism) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "grants", grants) - pulumi.set(__self__, "owners", owners) - pulumi.set(__self__, "password_policies", password_policies) - pulumi.set(__self__, "synced_from_apps", synced_from_apps) + GetDomainsGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + app_roles=app_roles, + creation_mechanism=creation_mechanism, + description=description, + grants=grants, + owners=owners, + password_policies=password_policies, + synced_from_apps=synced_from_apps, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + app_roles: Sequence['outputs.GetDomainsGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupAppRoleResult'], + creation_mechanism: str, + description: str, + grants: Sequence['outputs.GetDomainsGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupGrantResult'], + owners: Sequence['outputs.GetDomainsGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupOwnerResult'], + password_policies: Sequence['outputs.GetDomainsGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupPasswordPolicyResult'], + synced_from_apps: Sequence['outputs.GetDomainsGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupSyncedFromAppResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("app_roles", app_roles) + _setter("creation_mechanism", creation_mechanism) + _setter("description", description) + _setter("grants", grants) + _setter("owners", owners) + _setter("password_policies", password_policies) + _setter("synced_from_apps", synced_from_apps) @property @pulumi.getter(name="appRoles") @@ -72972,14 +83688,37 @@ def __init__(__self__, *, :param str type: The type of the entity that created this Group. :param str value: The ID of the App. """ - pulumi.set(__self__, "admin_role", admin_role) - pulumi.set(__self__, "app_id", app_id) - pulumi.set(__self__, "app_name", app_name) - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "legacy_group_name", legacy_group_name) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupAppRoleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + admin_role=admin_role, + app_id=app_id, + app_name=app_name, + display=display, + legacy_group_name=legacy_group_name, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + admin_role: bool, + app_id: str, + app_name: str, + display: str, + legacy_group_name: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("admin_role", admin_role) + _setter("app_id", app_id) + _setter("app_name", app_name) + _setter("display", display) + _setter("legacy_group_name", legacy_group_name) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter(name="adminRole") @@ -73062,10 +83801,25 @@ def __init__(__self__, *, :param str ref: App URI :param str value: The ID of the App. """ - pulumi.set(__self__, "app_id", app_id) - pulumi.set(__self__, "grant_mechanism", grant_mechanism) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupGrantResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + app_id=app_id, + grant_mechanism=grant_mechanism, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + app_id: str, + grant_mechanism: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("app_id", app_id) + _setter("grant_mechanism", grant_mechanism) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter(name="appId") @@ -73116,10 +83870,25 @@ def __init__(__self__, *, :param str type: The type of the entity that created this Group. :param str value: The ID of the App. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupOwnerResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -73167,10 +83936,25 @@ def __init__(__self__, *, :param str ref: App URI :param str value: The ID of the App. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "priority", priority) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupPasswordPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + priority=priority, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + priority: int, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("priority", priority) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -73218,10 +84002,25 @@ def __init__(__self__, *, :param str type: The type of the entity that created this Group. :param str value: The ID of the App. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupSyncedFromAppResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -73263,7 +84062,16 @@ def __init__(__self__, *, """ :param int gid_number: Integer uniquely identifying a group in a POSIX administrative domain """ - pulumi.set(__self__, "gid_number", gid_number) + GetDomainsGroupUrnietfparamsscimschemasoracleidcsextensionposixGroupResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + gid_number=gid_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + gid_number: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("gid_number", gid_number) @property @pulumi.getter(name="gidNumber") @@ -73281,7 +84089,16 @@ def __init__(__self__, *, """ :param bool requestable: Flag controlling whether group membership can be request by user through self service console. """ - pulumi.set(__self__, "requestable", requestable) + GetDomainsGroupUrnietfparamsscimschemasoracleidcsextensionrequestableGroupResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + requestable=requestable, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + requestable: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("requestable", requestable) @property @pulumi.getter @@ -73353,34 +84170,97 @@ def __init__(__self__, *, :param Sequence['GetDomainsGroupsGroupUrnietfparamsscimschemasoracleidcsextensionposixGroupArgs'] urnietfparamsscimschemasoracleidcsextensionposix_groups: POSIX Group extension :param Sequence['GetDomainsGroupsGroupUrnietfparamsscimschemasoracleidcsextensionrequestableGroupArgs'] urnietfparamsscimschemasoracleidcsextensionrequestable_groups: Requestable Group """ - pulumi.set(__self__, "attribute_sets", attribute_sets) - pulumi.set(__self__, "attributes", attributes) - pulumi.set(__self__, "authorization", authorization) - pulumi.set(__self__, "compartment_ocid", compartment_ocid) - pulumi.set(__self__, "delete_in_progress", delete_in_progress) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "domain_ocid", domain_ocid) - pulumi.set(__self__, "external_id", external_id) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "idcs_created_bies", idcs_created_bies) - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) - pulumi.set(__self__, "idcs_last_modified_bies", idcs_last_modified_bies) - pulumi.set(__self__, "idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) - pulumi.set(__self__, "idcs_prevented_operations", idcs_prevented_operations) - pulumi.set(__self__, "members", members) - pulumi.set(__self__, "metas", metas) - pulumi.set(__self__, "non_unique_display_name", non_unique_display_name) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) - pulumi.set(__self__, "schemas", schemas) - pulumi.set(__self__, "tags", tags) - pulumi.set(__self__, "tenancy_ocid", tenancy_ocid) - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextension_oci_tags", urnietfparamsscimschemasoracleidcsextension_oci_tags) - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensiondbcs_groups", urnietfparamsscimschemasoracleidcsextensiondbcs_groups) - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensiondynamic_groups", urnietfparamsscimschemasoracleidcsextensiondynamic_groups) - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensiongroup_groups", urnietfparamsscimschemasoracleidcsextensiongroup_groups) - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionposix_groups", urnietfparamsscimschemasoracleidcsextensionposix_groups) - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionrequestable_groups", urnietfparamsscimschemasoracleidcsextensionrequestable_groups) + GetDomainsGroupsGroupResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + attribute_sets=attribute_sets, + attributes=attributes, + authorization=authorization, + compartment_ocid=compartment_ocid, + delete_in_progress=delete_in_progress, + display_name=display_name, + domain_ocid=domain_ocid, + external_id=external_id, + id=id, + idcs_created_bies=idcs_created_bies, + idcs_endpoint=idcs_endpoint, + idcs_last_modified_bies=idcs_last_modified_bies, + idcs_last_upgraded_in_release=idcs_last_upgraded_in_release, + idcs_prevented_operations=idcs_prevented_operations, + members=members, + metas=metas, + non_unique_display_name=non_unique_display_name, + ocid=ocid, + resource_type_schema_version=resource_type_schema_version, + schemas=schemas, + tags=tags, + tenancy_ocid=tenancy_ocid, + urnietfparamsscimschemasoracleidcsextension_oci_tags=urnietfparamsscimschemasoracleidcsextension_oci_tags, + urnietfparamsscimschemasoracleidcsextensiondbcs_groups=urnietfparamsscimschemasoracleidcsextensiondbcs_groups, + urnietfparamsscimschemasoracleidcsextensiondynamic_groups=urnietfparamsscimschemasoracleidcsextensiondynamic_groups, + urnietfparamsscimschemasoracleidcsextensiongroup_groups=urnietfparamsscimschemasoracleidcsextensiongroup_groups, + urnietfparamsscimschemasoracleidcsextensionposix_groups=urnietfparamsscimschemasoracleidcsextensionposix_groups, + urnietfparamsscimschemasoracleidcsextensionrequestable_groups=urnietfparamsscimschemasoracleidcsextensionrequestable_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attribute_sets: Sequence[str], + attributes: str, + authorization: str, + compartment_ocid: str, + delete_in_progress: bool, + display_name: str, + domain_ocid: str, + external_id: str, + id: str, + idcs_created_bies: Sequence['outputs.GetDomainsGroupsGroupIdcsCreatedByResult'], + idcs_endpoint: str, + idcs_last_modified_bies: Sequence['outputs.GetDomainsGroupsGroupIdcsLastModifiedByResult'], + idcs_last_upgraded_in_release: str, + idcs_prevented_operations: Sequence[str], + members: Sequence['outputs.GetDomainsGroupsGroupMemberResult'], + metas: Sequence['outputs.GetDomainsGroupsGroupMetaResult'], + non_unique_display_name: str, + ocid: str, + resource_type_schema_version: str, + schemas: Sequence[str], + tags: Sequence['outputs.GetDomainsGroupsGroupTagResult'], + tenancy_ocid: str, + urnietfparamsscimschemasoracleidcsextension_oci_tags: Sequence['outputs.GetDomainsGroupsGroupUrnietfparamsscimschemasoracleidcsextensionOciTagResult'], + urnietfparamsscimschemasoracleidcsextensiondbcs_groups: Sequence['outputs.GetDomainsGroupsGroupUrnietfparamsscimschemasoracleidcsextensiondbcsGroupResult'], + urnietfparamsscimschemasoracleidcsextensiondynamic_groups: Sequence['outputs.GetDomainsGroupsGroupUrnietfparamsscimschemasoracleidcsextensiondynamicGroupResult'], + urnietfparamsscimschemasoracleidcsextensiongroup_groups: Sequence['outputs.GetDomainsGroupsGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupResult'], + urnietfparamsscimschemasoracleidcsextensionposix_groups: Sequence['outputs.GetDomainsGroupsGroupUrnietfparamsscimschemasoracleidcsextensionposixGroupResult'], + urnietfparamsscimschemasoracleidcsextensionrequestable_groups: Sequence['outputs.GetDomainsGroupsGroupUrnietfparamsscimschemasoracleidcsextensionrequestableGroupResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("attribute_sets", attribute_sets) + _setter("attributes", attributes) + _setter("authorization", authorization) + _setter("compartment_ocid", compartment_ocid) + _setter("delete_in_progress", delete_in_progress) + _setter("display_name", display_name) + _setter("domain_ocid", domain_ocid) + _setter("external_id", external_id) + _setter("id", id) + _setter("idcs_created_bies", idcs_created_bies) + _setter("idcs_endpoint", idcs_endpoint) + _setter("idcs_last_modified_bies", idcs_last_modified_bies) + _setter("idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) + _setter("idcs_prevented_operations", idcs_prevented_operations) + _setter("members", members) + _setter("metas", metas) + _setter("non_unique_display_name", non_unique_display_name) + _setter("ocid", ocid) + _setter("resource_type_schema_version", resource_type_schema_version) + _setter("schemas", schemas) + _setter("tags", tags) + _setter("tenancy_ocid", tenancy_ocid) + _setter("urnietfparamsscimschemasoracleidcsextension_oci_tags", urnietfparamsscimschemasoracleidcsextension_oci_tags) + _setter("urnietfparamsscimschemasoracleidcsextensiondbcs_groups", urnietfparamsscimschemasoracleidcsextensiondbcs_groups) + _setter("urnietfparamsscimschemasoracleidcsextensiondynamic_groups", urnietfparamsscimschemasoracleidcsextensiondynamic_groups) + _setter("urnietfparamsscimschemasoracleidcsextensiongroup_groups", urnietfparamsscimschemasoracleidcsextensiongroup_groups) + _setter("urnietfparamsscimschemasoracleidcsextensionposix_groups", urnietfparamsscimschemasoracleidcsextensionposix_groups) + _setter("urnietfparamsscimschemasoracleidcsextensionrequestable_groups", urnietfparamsscimschemasoracleidcsextensionrequestable_groups) @property @pulumi.getter(name="attributeSets") @@ -73622,11 +84502,28 @@ def __init__(__self__, *, :param str type: The type of the entity that created this Group. :param str value: The ID of the App. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsGroupsGroupIdcsCreatedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -73684,11 +84581,28 @@ def __init__(__self__, *, :param str type: The type of the entity that created this Group. :param str value: The ID of the App. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsGroupsGroupIdcsLastModifiedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -73752,14 +84666,37 @@ def __init__(__self__, *, :param str type: The type of the entity that created this Group. :param str value: The ID of the App. """ - pulumi.set(__self__, "date_added", date_added) - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "membership_ocid", membership_ocid) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsGroupsGroupMemberResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + date_added=date_added, + display=display, + membership_ocid=membership_ocid, + name=name, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + date_added: str, + display: str, + membership_ocid: str, + name: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("date_added", date_added) + _setter("display", display) + _setter("membership_ocid", membership_ocid) + _setter("name", name) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter(name="dateAdded") @@ -73841,11 +84778,28 @@ def __init__(__self__, *, :param str resource_type: Name of the resource type of the resource--for example, Users or Groups :param str version: The version of the Resource being returned. This value must be the same as the ETag HTTP response header. """ - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "version", version) + GetDomainsGroupsGroupMetaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: str, + last_modified: str, + location: str, + resource_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created", created) + _setter("last_modified", last_modified) + _setter("location", location) + _setter("resource_type", resource_type) + _setter("version", version) @property @pulumi.getter @@ -73897,8 +84851,19 @@ def __init__(__self__, *, :param str key: Oracle Cloud Infrastructure Tag key :param str value: The ID of the App. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsGroupsGroupTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -73928,9 +84893,22 @@ def __init__(__self__, *, :param Sequence['GetDomainsGroupsGroupUrnietfparamsscimschemasoracleidcsextensionOciTagFreeformTagArgs'] freeform_tags: Oracle Cloud Infrastructure Freeform Tags :param str tag_slug: Oracle Cloud Infrastructure Tag slug """ - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "tag_slug", tag_slug) + GetDomainsGroupsGroupUrnietfparamsscimschemasoracleidcsextensionOciTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + defined_tags=defined_tags, + freeform_tags=freeform_tags, + tag_slug=tag_slug, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + defined_tags: Sequence['outputs.GetDomainsGroupsGroupUrnietfparamsscimschemasoracleidcsextensionOciTagDefinedTagResult'], + freeform_tags: Sequence['outputs.GetDomainsGroupsGroupUrnietfparamsscimschemasoracleidcsextensionOciTagFreeformTagResult'], + tag_slug: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("defined_tags", defined_tags) + _setter("freeform_tags", freeform_tags) + _setter("tag_slug", tag_slug) @property @pulumi.getter(name="definedTags") @@ -73968,9 +84946,22 @@ def __init__(__self__, *, :param str namespace: Oracle Cloud Infrastructure Tag namespace :param str value: The ID of the App. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "value", value) + GetDomainsGroupsGroupUrnietfparamsscimschemasoracleidcsextensionOciTagDefinedTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + namespace=namespace, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + namespace: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("namespace", namespace) + _setter("value", value) @property @pulumi.getter @@ -74006,8 +84997,19 @@ def __init__(__self__, *, :param str key: Oracle Cloud Infrastructure Tag key :param str value: The ID of the App. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsGroupsGroupUrnietfparamsscimschemasoracleidcsextensionOciTagFreeformTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -74039,10 +85041,25 @@ def __init__(__self__, *, :param str instance_level_schema: DBCS instance-level schema-name. This attribute refers implicitly to a value of 'instanceLevelSchemaNames' for a particular DB Instance. :param Sequence['GetDomainsGroupsGroupUrnietfparamsscimschemasoracleidcsextensiondbcsGroupInstanceLevelSchemaNameArgs'] instance_level_schema_names: DBCS instance-level schema-names. Each schema-name is specific to a DB Instance. """ - pulumi.set(__self__, "domain_level_schema", domain_level_schema) - pulumi.set(__self__, "domain_level_schema_names", domain_level_schema_names) - pulumi.set(__self__, "instance_level_schema", instance_level_schema) - pulumi.set(__self__, "instance_level_schema_names", instance_level_schema_names) + GetDomainsGroupsGroupUrnietfparamsscimschemasoracleidcsextensiondbcsGroupResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + domain_level_schema=domain_level_schema, + domain_level_schema_names=domain_level_schema_names, + instance_level_schema=instance_level_schema, + instance_level_schema_names=instance_level_schema_names, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + domain_level_schema: str, + domain_level_schema_names: Sequence['outputs.GetDomainsGroupsGroupUrnietfparamsscimschemasoracleidcsextensiondbcsGroupDomainLevelSchemaNameResult'], + instance_level_schema: str, + instance_level_schema_names: Sequence['outputs.GetDomainsGroupsGroupUrnietfparamsscimschemasoracleidcsextensiondbcsGroupInstanceLevelSchemaNameResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("domain_level_schema", domain_level_schema) + _setter("domain_level_schema_names", domain_level_schema_names) + _setter("instance_level_schema", instance_level_schema) + _setter("instance_level_schema_names", instance_level_schema_names) @property @pulumi.getter(name="domainLevelSchema") @@ -74086,8 +85103,19 @@ def __init__(__self__, *, :param str domain_name: DBCS Domain Name :param str schema_name: The DBCS schema-name granted to this Group for the DB instance that 'dbInstanceId' specifies. """ - pulumi.set(__self__, "domain_name", domain_name) - pulumi.set(__self__, "schema_name", schema_name) + GetDomainsGroupsGroupUrnietfparamsscimschemasoracleidcsextensiondbcsGroupDomainLevelSchemaNameResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + domain_name=domain_name, + schema_name=schema_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + domain_name: str, + schema_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("domain_name", domain_name) + _setter("schema_name", schema_name) @property @pulumi.getter(name="domainName") @@ -74115,8 +85143,19 @@ def __init__(__self__, *, :param str db_instance_id: App Id of DBCS App instance :param str schema_name: The DBCS schema-name granted to this Group for the DB instance that 'dbInstanceId' specifies. """ - pulumi.set(__self__, "db_instance_id", db_instance_id) - pulumi.set(__self__, "schema_name", schema_name) + GetDomainsGroupsGroupUrnietfparamsscimschemasoracleidcsextensiondbcsGroupInstanceLevelSchemaNameResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_instance_id=db_instance_id, + schema_name=schema_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_instance_id: str, + schema_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("db_instance_id", db_instance_id) + _setter("schema_name", schema_name) @property @pulumi.getter(name="dbInstanceId") @@ -74144,8 +85183,19 @@ def __init__(__self__, *, :param str membership_rule: Membership rule :param str membership_type: Membership type """ - pulumi.set(__self__, "membership_rule", membership_rule) - pulumi.set(__self__, "membership_type", membership_type) + GetDomainsGroupsGroupUrnietfparamsscimschemasoracleidcsextensiondynamicGroupResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + membership_rule=membership_rule, + membership_type=membership_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + membership_rule: str, + membership_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("membership_rule", membership_rule) + _setter("membership_type", membership_type) @property @pulumi.getter(name="membershipRule") @@ -74183,13 +85233,34 @@ def __init__(__self__, *, :param Sequence['GetDomainsGroupsGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupPasswordPolicyArgs'] password_policies: Password Policy associated with this Group. :param Sequence['GetDomainsGroupsGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupSyncedFromAppArgs'] synced_from_apps: The entity that created this Group. """ - pulumi.set(__self__, "app_roles", app_roles) - pulumi.set(__self__, "creation_mechanism", creation_mechanism) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "grants", grants) - pulumi.set(__self__, "owners", owners) - pulumi.set(__self__, "password_policies", password_policies) - pulumi.set(__self__, "synced_from_apps", synced_from_apps) + GetDomainsGroupsGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + app_roles=app_roles, + creation_mechanism=creation_mechanism, + description=description, + grants=grants, + owners=owners, + password_policies=password_policies, + synced_from_apps=synced_from_apps, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + app_roles: Sequence['outputs.GetDomainsGroupsGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupAppRoleResult'], + creation_mechanism: str, + description: str, + grants: Sequence['outputs.GetDomainsGroupsGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupGrantResult'], + owners: Sequence['outputs.GetDomainsGroupsGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupOwnerResult'], + password_policies: Sequence['outputs.GetDomainsGroupsGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupPasswordPolicyResult'], + synced_from_apps: Sequence['outputs.GetDomainsGroupsGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupSyncedFromAppResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("app_roles", app_roles) + _setter("creation_mechanism", creation_mechanism) + _setter("description", description) + _setter("grants", grants) + _setter("owners", owners) + _setter("password_policies", password_policies) + _setter("synced_from_apps", synced_from_apps) @property @pulumi.getter(name="appRoles") @@ -74269,14 +85340,37 @@ def __init__(__self__, *, :param str type: The type of the entity that created this Group. :param str value: The ID of the App. """ - pulumi.set(__self__, "admin_role", admin_role) - pulumi.set(__self__, "app_id", app_id) - pulumi.set(__self__, "app_name", app_name) - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "legacy_group_name", legacy_group_name) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsGroupsGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupAppRoleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + admin_role=admin_role, + app_id=app_id, + app_name=app_name, + display=display, + legacy_group_name=legacy_group_name, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + admin_role: bool, + app_id: str, + app_name: str, + display: str, + legacy_group_name: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("admin_role", admin_role) + _setter("app_id", app_id) + _setter("app_name", app_name) + _setter("display", display) + _setter("legacy_group_name", legacy_group_name) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter(name="adminRole") @@ -74359,10 +85453,25 @@ def __init__(__self__, *, :param str ref: App URI :param str value: The ID of the App. """ - pulumi.set(__self__, "app_id", app_id) - pulumi.set(__self__, "grant_mechanism", grant_mechanism) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsGroupsGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupGrantResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + app_id=app_id, + grant_mechanism=grant_mechanism, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + app_id: str, + grant_mechanism: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("app_id", app_id) + _setter("grant_mechanism", grant_mechanism) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter(name="appId") @@ -74413,10 +85522,25 @@ def __init__(__self__, *, :param str type: The type of the entity that created this Group. :param str value: The ID of the App. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsGroupsGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupOwnerResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -74464,10 +85588,25 @@ def __init__(__self__, *, :param str ref: App URI :param str value: The ID of the App. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "priority", priority) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsGroupsGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupPasswordPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + priority=priority, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + priority: int, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("priority", priority) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -74515,10 +85654,25 @@ def __init__(__self__, *, :param str type: The type of the entity that created this Group. :param str value: The ID of the App. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsGroupsGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupSyncedFromAppResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -74560,7 +85714,16 @@ def __init__(__self__, *, """ :param int gid_number: Integer uniquely identifying a group in a POSIX administrative domain """ - pulumi.set(__self__, "gid_number", gid_number) + GetDomainsGroupsGroupUrnietfparamsscimschemasoracleidcsextensionposixGroupResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + gid_number=gid_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + gid_number: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("gid_number", gid_number) @property @pulumi.getter(name="gidNumber") @@ -74578,7 +85741,16 @@ def __init__(__self__, *, """ :param bool requestable: Flag controlling whether group membership can be request by user through self service console. """ - pulumi.set(__self__, "requestable", requestable) + GetDomainsGroupsGroupUrnietfparamsscimschemasoracleidcsextensionrequestableGroupResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + requestable=requestable, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + requestable: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("requestable", requestable) @property @pulumi.getter @@ -74602,10 +85774,25 @@ def __init__(__self__, *, :param str type: Identity Provider Type :param str value: Value of the tag. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsIdentityProviderCorrelationPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -74655,11 +85842,28 @@ def __init__(__self__, *, :param str type: Identity Provider Type :param str value: Value of the tag. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsIdentityProviderIdcsCreatedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -74717,11 +85921,28 @@ def __init__(__self__, *, :param str type: Identity Provider Type :param str value: Value of the tag. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsIdentityProviderIdcsLastModifiedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -74775,9 +85996,22 @@ def __init__(__self__, *, :param str ref: Group URI :param str value: Value of the tag. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsIdentityProviderJitUserProvAssignedGroupResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -74813,8 +86047,19 @@ def __init__(__self__, *, :param str ref: Group URI :param str value: Value of the tag. """ - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsIdentityProviderJitUserProvAttributeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -74844,9 +86089,22 @@ def __init__(__self__, *, :param str ref: Group URI :param str value: Value of the tag. """ - pulumi.set(__self__, "idp_group", idp_group) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsIdentityProviderJitUserProvGroupMappingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + idp_group=idp_group, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + idp_group: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("idp_group", idp_group) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter(name="idpGroup") @@ -74888,11 +86146,28 @@ def __init__(__self__, *, :param str resource_type: Name of the resource type of the resource--for example, Users or Groups :param str version: The version of the Resource being returned. This value must be the same as the ETag HTTP response header. """ - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "version", version) + GetDomainsIdentityProviderMetaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: str, + last_modified: str, + location: str, + resource_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created", created) + _setter("last_modified", last_modified) + _setter("location", location) + _setter("resource_type", resource_type) + _setter("version", version) @property @pulumi.getter @@ -74944,8 +86219,19 @@ def __init__(__self__, *, :param str key: Key or name of the tag. :param str value: Value of the tag. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsIdentityProviderTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -75001,22 +86287,61 @@ def __init__(__self__, *, :param str service_provider_name: Service Provider Name :param str status: Status """ - pulumi.set(__self__, "access_token_url", access_token_url) - pulumi.set(__self__, "account_linking_enabled", account_linking_enabled) - pulumi.set(__self__, "admin_scopes", admin_scopes) - pulumi.set(__self__, "authz_url", authz_url) - pulumi.set(__self__, "client_credential_in_payload", client_credential_in_payload) - pulumi.set(__self__, "clock_skew_in_seconds", clock_skew_in_seconds) - pulumi.set(__self__, "consumer_key", consumer_key) - pulumi.set(__self__, "consumer_secret", consumer_secret) - pulumi.set(__self__, "discovery_url", discovery_url) - pulumi.set(__self__, "id_attribute", id_attribute) - pulumi.set(__self__, "profile_url", profile_url) - pulumi.set(__self__, "redirect_url", redirect_url) - pulumi.set(__self__, "registration_enabled", registration_enabled) - pulumi.set(__self__, "scopes", scopes) - pulumi.set(__self__, "service_provider_name", service_provider_name) - pulumi.set(__self__, "status", status) + GetDomainsIdentityProviderUrnietfparamsscimschemasoracleidcsextensionsocialIdentityProviderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + access_token_url=access_token_url, + account_linking_enabled=account_linking_enabled, + admin_scopes=admin_scopes, + authz_url=authz_url, + client_credential_in_payload=client_credential_in_payload, + clock_skew_in_seconds=clock_skew_in_seconds, + consumer_key=consumer_key, + consumer_secret=consumer_secret, + discovery_url=discovery_url, + id_attribute=id_attribute, + profile_url=profile_url, + redirect_url=redirect_url, + registration_enabled=registration_enabled, + scopes=scopes, + service_provider_name=service_provider_name, + status=status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access_token_url: str, + account_linking_enabled: bool, + admin_scopes: Sequence[str], + authz_url: str, + client_credential_in_payload: bool, + clock_skew_in_seconds: int, + consumer_key: str, + consumer_secret: str, + discovery_url: str, + id_attribute: str, + profile_url: str, + redirect_url: str, + registration_enabled: bool, + scopes: Sequence[str], + service_provider_name: str, + status: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("access_token_url", access_token_url) + _setter("account_linking_enabled", account_linking_enabled) + _setter("admin_scopes", admin_scopes) + _setter("authz_url", authz_url) + _setter("client_credential_in_payload", client_credential_in_payload) + _setter("clock_skew_in_seconds", clock_skew_in_seconds) + _setter("consumer_key", consumer_key) + _setter("consumer_secret", consumer_secret) + _setter("discovery_url", discovery_url) + _setter("id_attribute", id_attribute) + _setter("profile_url", profile_url) + _setter("redirect_url", redirect_url) + _setter("registration_enabled", registration_enabled) + _setter("scopes", scopes) + _setter("service_provider_name", service_provider_name) + _setter("status", status) @property @pulumi.getter(name="accessTokenUrl") @@ -75186,23 +86511,64 @@ def __init__(__self__, *, :param Sequence[str] signing_certificate_chains: Certificate alias list to create a chain for the incoming client certificate :param str user_match_attribute: This property specifies the userstore attribute value that must match the incoming certificate attribute. """ - pulumi.set(__self__, "cert_match_attribute", cert_match_attribute) - pulumi.set(__self__, "crl_check_on_ocsp_failure_enabled", crl_check_on_ocsp_failure_enabled) - pulumi.set(__self__, "crl_enabled", crl_enabled) - pulumi.set(__self__, "crl_location", crl_location) - pulumi.set(__self__, "crl_reload_duration", crl_reload_duration) - pulumi.set(__self__, "eku_validation_enabled", eku_validation_enabled) - pulumi.set(__self__, "eku_values", eku_values) - pulumi.set(__self__, "ocsp_allow_unknown_response_status", ocsp_allow_unknown_response_status) - pulumi.set(__self__, "ocsp_enable_signed_response", ocsp_enable_signed_response) - pulumi.set(__self__, "ocsp_enabled", ocsp_enabled) - pulumi.set(__self__, "ocsp_responder_url", ocsp_responder_url) - pulumi.set(__self__, "ocsp_revalidate_time", ocsp_revalidate_time) - pulumi.set(__self__, "ocsp_server_name", ocsp_server_name) - pulumi.set(__self__, "ocsp_trust_cert_chains", ocsp_trust_cert_chains) - pulumi.set(__self__, "other_cert_match_attribute", other_cert_match_attribute) - pulumi.set(__self__, "signing_certificate_chains", signing_certificate_chains) - pulumi.set(__self__, "user_match_attribute", user_match_attribute) + GetDomainsIdentityProviderUrnietfparamsscimschemasoracleidcsextensionx509identityProviderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cert_match_attribute=cert_match_attribute, + crl_check_on_ocsp_failure_enabled=crl_check_on_ocsp_failure_enabled, + crl_enabled=crl_enabled, + crl_location=crl_location, + crl_reload_duration=crl_reload_duration, + eku_validation_enabled=eku_validation_enabled, + eku_values=eku_values, + ocsp_allow_unknown_response_status=ocsp_allow_unknown_response_status, + ocsp_enable_signed_response=ocsp_enable_signed_response, + ocsp_enabled=ocsp_enabled, + ocsp_responder_url=ocsp_responder_url, + ocsp_revalidate_time=ocsp_revalidate_time, + ocsp_server_name=ocsp_server_name, + ocsp_trust_cert_chains=ocsp_trust_cert_chains, + other_cert_match_attribute=other_cert_match_attribute, + signing_certificate_chains=signing_certificate_chains, + user_match_attribute=user_match_attribute, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cert_match_attribute: str, + crl_check_on_ocsp_failure_enabled: bool, + crl_enabled: bool, + crl_location: str, + crl_reload_duration: int, + eku_validation_enabled: bool, + eku_values: Sequence[str], + ocsp_allow_unknown_response_status: bool, + ocsp_enable_signed_response: bool, + ocsp_enabled: bool, + ocsp_responder_url: str, + ocsp_revalidate_time: int, + ocsp_server_name: str, + ocsp_trust_cert_chains: Sequence[str], + other_cert_match_attribute: str, + signing_certificate_chains: Sequence[str], + user_match_attribute: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cert_match_attribute", cert_match_attribute) + _setter("crl_check_on_ocsp_failure_enabled", crl_check_on_ocsp_failure_enabled) + _setter("crl_enabled", crl_enabled) + _setter("crl_location", crl_location) + _setter("crl_reload_duration", crl_reload_duration) + _setter("eku_validation_enabled", eku_validation_enabled) + _setter("eku_values", eku_values) + _setter("ocsp_allow_unknown_response_status", ocsp_allow_unknown_response_status) + _setter("ocsp_enable_signed_response", ocsp_enable_signed_response) + _setter("ocsp_enabled", ocsp_enabled) + _setter("ocsp_responder_url", ocsp_responder_url) + _setter("ocsp_revalidate_time", ocsp_revalidate_time) + _setter("ocsp_server_name", ocsp_server_name) + _setter("ocsp_trust_cert_chains", ocsp_trust_cert_chains) + _setter("other_cert_match_attribute", other_cert_match_attribute) + _setter("signing_certificate_chains", signing_certificate_chains) + _setter("user_match_attribute", user_match_attribute) @property @pulumi.getter(name="certMatchAttribute") @@ -75474,70 +86840,205 @@ def __init__(__self__, *, :param str user_mapping_method: User mapping method. :param str user_mapping_store_attribute: This property specifies the userstore attribute value that must match the incoming assertion attribute value or the incoming nameid attribute value in order to identify the user during SSO.
You can construct the userMappingStoreAttribute value by specifying attributes from the Oracle Identity Cloud Service Core Users schema. For examples of how to construct the userMappingStoreAttribute value, see the Example of a Request Body section of the Examples tab for the POST and PUT methods of the /IdentityProviders endpoint. """ - pulumi.set(__self__, "assertion_attribute", assertion_attribute) - pulumi.set(__self__, "attribute_sets", attribute_sets) - pulumi.set(__self__, "attributes", attributes) - pulumi.set(__self__, "authn_request_binding", authn_request_binding) - pulumi.set(__self__, "authorization", authorization) - pulumi.set(__self__, "compartment_ocid", compartment_ocid) - pulumi.set(__self__, "correlation_policies", correlation_policies) - pulumi.set(__self__, "delete_in_progress", delete_in_progress) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "domain_ocid", domain_ocid) - pulumi.set(__self__, "enabled", enabled) - pulumi.set(__self__, "encryption_certificate", encryption_certificate) - pulumi.set(__self__, "external_id", external_id) - pulumi.set(__self__, "icon_url", icon_url) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "idcs_created_bies", idcs_created_bies) - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) - pulumi.set(__self__, "idcs_last_modified_bies", idcs_last_modified_bies) - pulumi.set(__self__, "idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) - pulumi.set(__self__, "idcs_prevented_operations", idcs_prevented_operations) - pulumi.set(__self__, "idp_sso_url", idp_sso_url) - pulumi.set(__self__, "include_signing_cert_in_signature", include_signing_cert_in_signature) - pulumi.set(__self__, "jit_user_prov_assigned_groups", jit_user_prov_assigned_groups) - pulumi.set(__self__, "jit_user_prov_attribute_update_enabled", jit_user_prov_attribute_update_enabled) - pulumi.set(__self__, "jit_user_prov_attributes", jit_user_prov_attributes) - pulumi.set(__self__, "jit_user_prov_create_user_enabled", jit_user_prov_create_user_enabled) - pulumi.set(__self__, "jit_user_prov_enabled", jit_user_prov_enabled) - pulumi.set(__self__, "jit_user_prov_group_assertion_attribute_enabled", jit_user_prov_group_assertion_attribute_enabled) - pulumi.set(__self__, "jit_user_prov_group_assignment_method", jit_user_prov_group_assignment_method) - pulumi.set(__self__, "jit_user_prov_group_mapping_mode", jit_user_prov_group_mapping_mode) - pulumi.set(__self__, "jit_user_prov_group_mappings", jit_user_prov_group_mappings) - pulumi.set(__self__, "jit_user_prov_group_saml_attribute_name", jit_user_prov_group_saml_attribute_name) - pulumi.set(__self__, "jit_user_prov_group_static_list_enabled", jit_user_prov_group_static_list_enabled) - pulumi.set(__self__, "jit_user_prov_ignore_error_on_absent_groups", jit_user_prov_ignore_error_on_absent_groups) - pulumi.set(__self__, "last_notification_sent_time", last_notification_sent_time) - pulumi.set(__self__, "logout_binding", logout_binding) - pulumi.set(__self__, "logout_enabled", logout_enabled) - pulumi.set(__self__, "logout_request_url", logout_request_url) - pulumi.set(__self__, "logout_response_url", logout_response_url) - pulumi.set(__self__, "metadata", metadata) - pulumi.set(__self__, "metas", metas) - pulumi.set(__self__, "name_id_format", name_id_format) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "partner_name", partner_name) - pulumi.set(__self__, "partner_provider_id", partner_provider_id) - pulumi.set(__self__, "requested_authentication_contexts", requested_authentication_contexts) - pulumi.set(__self__, "require_force_authn", require_force_authn) - pulumi.set(__self__, "requires_encrypted_assertion", requires_encrypted_assertion) - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) - pulumi.set(__self__, "saml_ho_krequired", saml_ho_krequired) - pulumi.set(__self__, "schemas", schemas) - pulumi.set(__self__, "service_instance_identifier", service_instance_identifier) - pulumi.set(__self__, "shown_on_login_page", shown_on_login_page) - pulumi.set(__self__, "signature_hash_algorithm", signature_hash_algorithm) - pulumi.set(__self__, "signing_certificate", signing_certificate) - pulumi.set(__self__, "succinct_id", succinct_id) - pulumi.set(__self__, "tags", tags) - pulumi.set(__self__, "tenancy_ocid", tenancy_ocid) - pulumi.set(__self__, "tenant_provider_id", tenant_provider_id) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionsocial_identity_providers", urnietfparamsscimschemasoracleidcsextensionsocial_identity_providers) - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionx509identity_providers", urnietfparamsscimschemasoracleidcsextensionx509identity_providers) - pulumi.set(__self__, "user_mapping_method", user_mapping_method) - pulumi.set(__self__, "user_mapping_store_attribute", user_mapping_store_attribute) + GetDomainsIdentityProvidersIdentityProviderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + assertion_attribute=assertion_attribute, + attribute_sets=attribute_sets, + attributes=attributes, + authn_request_binding=authn_request_binding, + authorization=authorization, + compartment_ocid=compartment_ocid, + correlation_policies=correlation_policies, + delete_in_progress=delete_in_progress, + description=description, + domain_ocid=domain_ocid, + enabled=enabled, + encryption_certificate=encryption_certificate, + external_id=external_id, + icon_url=icon_url, + id=id, + idcs_created_bies=idcs_created_bies, + idcs_endpoint=idcs_endpoint, + idcs_last_modified_bies=idcs_last_modified_bies, + idcs_last_upgraded_in_release=idcs_last_upgraded_in_release, + idcs_prevented_operations=idcs_prevented_operations, + idp_sso_url=idp_sso_url, + include_signing_cert_in_signature=include_signing_cert_in_signature, + jit_user_prov_assigned_groups=jit_user_prov_assigned_groups, + jit_user_prov_attribute_update_enabled=jit_user_prov_attribute_update_enabled, + jit_user_prov_attributes=jit_user_prov_attributes, + jit_user_prov_create_user_enabled=jit_user_prov_create_user_enabled, + jit_user_prov_enabled=jit_user_prov_enabled, + jit_user_prov_group_assertion_attribute_enabled=jit_user_prov_group_assertion_attribute_enabled, + jit_user_prov_group_assignment_method=jit_user_prov_group_assignment_method, + jit_user_prov_group_mapping_mode=jit_user_prov_group_mapping_mode, + jit_user_prov_group_mappings=jit_user_prov_group_mappings, + jit_user_prov_group_saml_attribute_name=jit_user_prov_group_saml_attribute_name, + jit_user_prov_group_static_list_enabled=jit_user_prov_group_static_list_enabled, + jit_user_prov_ignore_error_on_absent_groups=jit_user_prov_ignore_error_on_absent_groups, + last_notification_sent_time=last_notification_sent_time, + logout_binding=logout_binding, + logout_enabled=logout_enabled, + logout_request_url=logout_request_url, + logout_response_url=logout_response_url, + metadata=metadata, + metas=metas, + name_id_format=name_id_format, + ocid=ocid, + partner_name=partner_name, + partner_provider_id=partner_provider_id, + requested_authentication_contexts=requested_authentication_contexts, + require_force_authn=require_force_authn, + requires_encrypted_assertion=requires_encrypted_assertion, + resource_type_schema_version=resource_type_schema_version, + saml_ho_krequired=saml_ho_krequired, + schemas=schemas, + service_instance_identifier=service_instance_identifier, + shown_on_login_page=shown_on_login_page, + signature_hash_algorithm=signature_hash_algorithm, + signing_certificate=signing_certificate, + succinct_id=succinct_id, + tags=tags, + tenancy_ocid=tenancy_ocid, + tenant_provider_id=tenant_provider_id, + type=type, + urnietfparamsscimschemasoracleidcsextensionsocial_identity_providers=urnietfparamsscimschemasoracleidcsextensionsocial_identity_providers, + urnietfparamsscimschemasoracleidcsextensionx509identity_providers=urnietfparamsscimschemasoracleidcsextensionx509identity_providers, + user_mapping_method=user_mapping_method, + user_mapping_store_attribute=user_mapping_store_attribute, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + assertion_attribute: str, + attribute_sets: Sequence[str], + attributes: str, + authn_request_binding: str, + authorization: str, + compartment_ocid: str, + correlation_policies: Sequence['outputs.GetDomainsIdentityProvidersIdentityProviderCorrelationPolicyResult'], + delete_in_progress: bool, + description: str, + domain_ocid: str, + enabled: bool, + encryption_certificate: str, + external_id: str, + icon_url: str, + id: str, + idcs_created_bies: Sequence['outputs.GetDomainsIdentityProvidersIdentityProviderIdcsCreatedByResult'], + idcs_endpoint: str, + idcs_last_modified_bies: Sequence['outputs.GetDomainsIdentityProvidersIdentityProviderIdcsLastModifiedByResult'], + idcs_last_upgraded_in_release: str, + idcs_prevented_operations: Sequence[str], + idp_sso_url: str, + include_signing_cert_in_signature: bool, + jit_user_prov_assigned_groups: Sequence['outputs.GetDomainsIdentityProvidersIdentityProviderJitUserProvAssignedGroupResult'], + jit_user_prov_attribute_update_enabled: bool, + jit_user_prov_attributes: Sequence['outputs.GetDomainsIdentityProvidersIdentityProviderJitUserProvAttributeResult'], + jit_user_prov_create_user_enabled: bool, + jit_user_prov_enabled: bool, + jit_user_prov_group_assertion_attribute_enabled: bool, + jit_user_prov_group_assignment_method: str, + jit_user_prov_group_mapping_mode: str, + jit_user_prov_group_mappings: Sequence['outputs.GetDomainsIdentityProvidersIdentityProviderJitUserProvGroupMappingResult'], + jit_user_prov_group_saml_attribute_name: str, + jit_user_prov_group_static_list_enabled: bool, + jit_user_prov_ignore_error_on_absent_groups: bool, + last_notification_sent_time: str, + logout_binding: str, + logout_enabled: bool, + logout_request_url: str, + logout_response_url: str, + metadata: str, + metas: Sequence['outputs.GetDomainsIdentityProvidersIdentityProviderMetaResult'], + name_id_format: str, + ocid: str, + partner_name: str, + partner_provider_id: str, + requested_authentication_contexts: Sequence[str], + require_force_authn: bool, + requires_encrypted_assertion: bool, + resource_type_schema_version: str, + saml_ho_krequired: bool, + schemas: Sequence[str], + service_instance_identifier: str, + shown_on_login_page: bool, + signature_hash_algorithm: str, + signing_certificate: str, + succinct_id: str, + tags: Sequence['outputs.GetDomainsIdentityProvidersIdentityProviderTagResult'], + tenancy_ocid: str, + tenant_provider_id: str, + type: str, + urnietfparamsscimschemasoracleidcsextensionsocial_identity_providers: Sequence['outputs.GetDomainsIdentityProvidersIdentityProviderUrnietfparamsscimschemasoracleidcsextensionsocialIdentityProviderResult'], + urnietfparamsscimschemasoracleidcsextensionx509identity_providers: Sequence['outputs.GetDomainsIdentityProvidersIdentityProviderUrnietfparamsscimschemasoracleidcsextensionx509identityProviderResult'], + user_mapping_method: str, + user_mapping_store_attribute: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("assertion_attribute", assertion_attribute) + _setter("attribute_sets", attribute_sets) + _setter("attributes", attributes) + _setter("authn_request_binding", authn_request_binding) + _setter("authorization", authorization) + _setter("compartment_ocid", compartment_ocid) + _setter("correlation_policies", correlation_policies) + _setter("delete_in_progress", delete_in_progress) + _setter("description", description) + _setter("domain_ocid", domain_ocid) + _setter("enabled", enabled) + _setter("encryption_certificate", encryption_certificate) + _setter("external_id", external_id) + _setter("icon_url", icon_url) + _setter("id", id) + _setter("idcs_created_bies", idcs_created_bies) + _setter("idcs_endpoint", idcs_endpoint) + _setter("idcs_last_modified_bies", idcs_last_modified_bies) + _setter("idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) + _setter("idcs_prevented_operations", idcs_prevented_operations) + _setter("idp_sso_url", idp_sso_url) + _setter("include_signing_cert_in_signature", include_signing_cert_in_signature) + _setter("jit_user_prov_assigned_groups", jit_user_prov_assigned_groups) + _setter("jit_user_prov_attribute_update_enabled", jit_user_prov_attribute_update_enabled) + _setter("jit_user_prov_attributes", jit_user_prov_attributes) + _setter("jit_user_prov_create_user_enabled", jit_user_prov_create_user_enabled) + _setter("jit_user_prov_enabled", jit_user_prov_enabled) + _setter("jit_user_prov_group_assertion_attribute_enabled", jit_user_prov_group_assertion_attribute_enabled) + _setter("jit_user_prov_group_assignment_method", jit_user_prov_group_assignment_method) + _setter("jit_user_prov_group_mapping_mode", jit_user_prov_group_mapping_mode) + _setter("jit_user_prov_group_mappings", jit_user_prov_group_mappings) + _setter("jit_user_prov_group_saml_attribute_name", jit_user_prov_group_saml_attribute_name) + _setter("jit_user_prov_group_static_list_enabled", jit_user_prov_group_static_list_enabled) + _setter("jit_user_prov_ignore_error_on_absent_groups", jit_user_prov_ignore_error_on_absent_groups) + _setter("last_notification_sent_time", last_notification_sent_time) + _setter("logout_binding", logout_binding) + _setter("logout_enabled", logout_enabled) + _setter("logout_request_url", logout_request_url) + _setter("logout_response_url", logout_response_url) + _setter("metadata", metadata) + _setter("metas", metas) + _setter("name_id_format", name_id_format) + _setter("ocid", ocid) + _setter("partner_name", partner_name) + _setter("partner_provider_id", partner_provider_id) + _setter("requested_authentication_contexts", requested_authentication_contexts) + _setter("require_force_authn", require_force_authn) + _setter("requires_encrypted_assertion", requires_encrypted_assertion) + _setter("resource_type_schema_version", resource_type_schema_version) + _setter("saml_ho_krequired", saml_ho_krequired) + _setter("schemas", schemas) + _setter("service_instance_identifier", service_instance_identifier) + _setter("shown_on_login_page", shown_on_login_page) + _setter("signature_hash_algorithm", signature_hash_algorithm) + _setter("signing_certificate", signing_certificate) + _setter("succinct_id", succinct_id) + _setter("tags", tags) + _setter("tenancy_ocid", tenancy_ocid) + _setter("tenant_provider_id", tenant_provider_id) + _setter("type", type) + _setter("urnietfparamsscimschemasoracleidcsextensionsocial_identity_providers", urnietfparamsscimschemasoracleidcsextensionsocial_identity_providers) + _setter("urnietfparamsscimschemasoracleidcsextensionx509identity_providers", urnietfparamsscimschemasoracleidcsextensionx509identity_providers) + _setter("user_mapping_method", user_mapping_method) + _setter("user_mapping_store_attribute", user_mapping_store_attribute) @property @pulumi.getter(name="assertionAttribute") @@ -76065,10 +87566,25 @@ def __init__(__self__, *, :param str type: Identity Provider Type :param str value: Value of the tag. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsIdentityProvidersIdentityProviderCorrelationPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -76118,11 +87634,28 @@ def __init__(__self__, *, :param str type: Identity Provider Type :param str value: Value of the tag. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsIdentityProvidersIdentityProviderIdcsCreatedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -76180,11 +87713,28 @@ def __init__(__self__, *, :param str type: Identity Provider Type :param str value: Value of the tag. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsIdentityProvidersIdentityProviderIdcsLastModifiedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -76238,9 +87788,22 @@ def __init__(__self__, *, :param str ref: Group URI :param str value: Value of the tag. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsIdentityProvidersIdentityProviderJitUserProvAssignedGroupResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -76276,8 +87839,19 @@ def __init__(__self__, *, :param str ref: Group URI :param str value: Value of the tag. """ - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsIdentityProvidersIdentityProviderJitUserProvAttributeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -76307,9 +87881,22 @@ def __init__(__self__, *, :param str ref: Group URI :param str value: Value of the tag. """ - pulumi.set(__self__, "idp_group", idp_group) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsIdentityProvidersIdentityProviderJitUserProvGroupMappingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + idp_group=idp_group, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + idp_group: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("idp_group", idp_group) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter(name="idpGroup") @@ -76351,11 +87938,28 @@ def __init__(__self__, *, :param str resource_type: Name of the resource type of the resource--for example, Users or Groups :param str version: The version of the Resource being returned. This value must be the same as the ETag HTTP response header. """ - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "version", version) + GetDomainsIdentityProvidersIdentityProviderMetaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: str, + last_modified: str, + location: str, + resource_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created", created) + _setter("last_modified", last_modified) + _setter("location", location) + _setter("resource_type", resource_type) + _setter("version", version) @property @pulumi.getter @@ -76407,8 +88011,19 @@ def __init__(__self__, *, :param str key: Key or name of the tag. :param str value: Value of the tag. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsIdentityProvidersIdentityProviderTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -76464,22 +88079,61 @@ def __init__(__self__, *, :param str service_provider_name: Service Provider Name :param str status: Status """ - pulumi.set(__self__, "access_token_url", access_token_url) - pulumi.set(__self__, "account_linking_enabled", account_linking_enabled) - pulumi.set(__self__, "admin_scopes", admin_scopes) - pulumi.set(__self__, "authz_url", authz_url) - pulumi.set(__self__, "client_credential_in_payload", client_credential_in_payload) - pulumi.set(__self__, "clock_skew_in_seconds", clock_skew_in_seconds) - pulumi.set(__self__, "consumer_key", consumer_key) - pulumi.set(__self__, "consumer_secret", consumer_secret) - pulumi.set(__self__, "discovery_url", discovery_url) - pulumi.set(__self__, "id_attribute", id_attribute) - pulumi.set(__self__, "profile_url", profile_url) - pulumi.set(__self__, "redirect_url", redirect_url) - pulumi.set(__self__, "registration_enabled", registration_enabled) - pulumi.set(__self__, "scopes", scopes) - pulumi.set(__self__, "service_provider_name", service_provider_name) - pulumi.set(__self__, "status", status) + GetDomainsIdentityProvidersIdentityProviderUrnietfparamsscimschemasoracleidcsextensionsocialIdentityProviderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + access_token_url=access_token_url, + account_linking_enabled=account_linking_enabled, + admin_scopes=admin_scopes, + authz_url=authz_url, + client_credential_in_payload=client_credential_in_payload, + clock_skew_in_seconds=clock_skew_in_seconds, + consumer_key=consumer_key, + consumer_secret=consumer_secret, + discovery_url=discovery_url, + id_attribute=id_attribute, + profile_url=profile_url, + redirect_url=redirect_url, + registration_enabled=registration_enabled, + scopes=scopes, + service_provider_name=service_provider_name, + status=status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access_token_url: str, + account_linking_enabled: bool, + admin_scopes: Sequence[str], + authz_url: str, + client_credential_in_payload: bool, + clock_skew_in_seconds: int, + consumer_key: str, + consumer_secret: str, + discovery_url: str, + id_attribute: str, + profile_url: str, + redirect_url: str, + registration_enabled: bool, + scopes: Sequence[str], + service_provider_name: str, + status: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("access_token_url", access_token_url) + _setter("account_linking_enabled", account_linking_enabled) + _setter("admin_scopes", admin_scopes) + _setter("authz_url", authz_url) + _setter("client_credential_in_payload", client_credential_in_payload) + _setter("clock_skew_in_seconds", clock_skew_in_seconds) + _setter("consumer_key", consumer_key) + _setter("consumer_secret", consumer_secret) + _setter("discovery_url", discovery_url) + _setter("id_attribute", id_attribute) + _setter("profile_url", profile_url) + _setter("redirect_url", redirect_url) + _setter("registration_enabled", registration_enabled) + _setter("scopes", scopes) + _setter("service_provider_name", service_provider_name) + _setter("status", status) @property @pulumi.getter(name="accessTokenUrl") @@ -76649,23 +88303,64 @@ def __init__(__self__, *, :param Sequence[str] signing_certificate_chains: Certificate alias list to create a chain for the incoming client certificate :param str user_match_attribute: This property specifies the userstore attribute value that must match the incoming certificate attribute. """ - pulumi.set(__self__, "cert_match_attribute", cert_match_attribute) - pulumi.set(__self__, "crl_check_on_ocsp_failure_enabled", crl_check_on_ocsp_failure_enabled) - pulumi.set(__self__, "crl_enabled", crl_enabled) - pulumi.set(__self__, "crl_location", crl_location) - pulumi.set(__self__, "crl_reload_duration", crl_reload_duration) - pulumi.set(__self__, "eku_validation_enabled", eku_validation_enabled) - pulumi.set(__self__, "eku_values", eku_values) - pulumi.set(__self__, "ocsp_allow_unknown_response_status", ocsp_allow_unknown_response_status) - pulumi.set(__self__, "ocsp_enable_signed_response", ocsp_enable_signed_response) - pulumi.set(__self__, "ocsp_enabled", ocsp_enabled) - pulumi.set(__self__, "ocsp_responder_url", ocsp_responder_url) - pulumi.set(__self__, "ocsp_revalidate_time", ocsp_revalidate_time) - pulumi.set(__self__, "ocsp_server_name", ocsp_server_name) - pulumi.set(__self__, "ocsp_trust_cert_chains", ocsp_trust_cert_chains) - pulumi.set(__self__, "other_cert_match_attribute", other_cert_match_attribute) - pulumi.set(__self__, "signing_certificate_chains", signing_certificate_chains) - pulumi.set(__self__, "user_match_attribute", user_match_attribute) + GetDomainsIdentityProvidersIdentityProviderUrnietfparamsscimschemasoracleidcsextensionx509identityProviderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cert_match_attribute=cert_match_attribute, + crl_check_on_ocsp_failure_enabled=crl_check_on_ocsp_failure_enabled, + crl_enabled=crl_enabled, + crl_location=crl_location, + crl_reload_duration=crl_reload_duration, + eku_validation_enabled=eku_validation_enabled, + eku_values=eku_values, + ocsp_allow_unknown_response_status=ocsp_allow_unknown_response_status, + ocsp_enable_signed_response=ocsp_enable_signed_response, + ocsp_enabled=ocsp_enabled, + ocsp_responder_url=ocsp_responder_url, + ocsp_revalidate_time=ocsp_revalidate_time, + ocsp_server_name=ocsp_server_name, + ocsp_trust_cert_chains=ocsp_trust_cert_chains, + other_cert_match_attribute=other_cert_match_attribute, + signing_certificate_chains=signing_certificate_chains, + user_match_attribute=user_match_attribute, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cert_match_attribute: str, + crl_check_on_ocsp_failure_enabled: bool, + crl_enabled: bool, + crl_location: str, + crl_reload_duration: int, + eku_validation_enabled: bool, + eku_values: Sequence[str], + ocsp_allow_unknown_response_status: bool, + ocsp_enable_signed_response: bool, + ocsp_enabled: bool, + ocsp_responder_url: str, + ocsp_revalidate_time: int, + ocsp_server_name: str, + ocsp_trust_cert_chains: Sequence[str], + other_cert_match_attribute: str, + signing_certificate_chains: Sequence[str], + user_match_attribute: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cert_match_attribute", cert_match_attribute) + _setter("crl_check_on_ocsp_failure_enabled", crl_check_on_ocsp_failure_enabled) + _setter("crl_enabled", crl_enabled) + _setter("crl_location", crl_location) + _setter("crl_reload_duration", crl_reload_duration) + _setter("eku_validation_enabled", eku_validation_enabled) + _setter("eku_values", eku_values) + _setter("ocsp_allow_unknown_response_status", ocsp_allow_unknown_response_status) + _setter("ocsp_enable_signed_response", ocsp_enable_signed_response) + _setter("ocsp_enabled", ocsp_enabled) + _setter("ocsp_responder_url", ocsp_responder_url) + _setter("ocsp_revalidate_time", ocsp_revalidate_time) + _setter("ocsp_server_name", ocsp_server_name) + _setter("ocsp_trust_cert_chains", ocsp_trust_cert_chains) + _setter("other_cert_match_attribute", other_cert_match_attribute) + _setter("signing_certificate_chains", signing_certificate_chains) + _setter("user_match_attribute", user_match_attribute) @property @pulumi.getter(name="certMatchAttribute") @@ -76819,11 +88514,28 @@ def __init__(__self__, *, :param str type: The token type. :param str value: Value of the tag. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsIdentitySettingIdcsCreatedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -76881,11 +88593,28 @@ def __init__(__self__, *, :param str type: The token type. :param str value: Value of the tag. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsIdentitySettingIdcsLastModifiedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -76943,11 +88672,28 @@ def __init__(__self__, *, :param str resource_type: Name of the resource type of the resource--for example, Users or Groups :param str version: The version of the Resource being returned. This value must be the same as the ETag HTTP response header. """ - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "version", version) + GetDomainsIdentitySettingMetaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: str, + last_modified: str, + location: str, + resource_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created", created) + _setter("last_modified", last_modified) + _setter("location", location) + _setter("resource_type", resource_type) + _setter("version", version) @property @pulumi.getter @@ -77003,10 +88749,25 @@ def __init__(__self__, *, :param bool allow_end_users_to_manage_their_capabilities: Whether to allow users to update their capabilities. :param bool allow_end_users_to_update_their_security_settings: Whether to allow users to update their security settings. """ - pulumi.set(__self__, "allow_end_users_to_change_their_password", allow_end_users_to_change_their_password) - pulumi.set(__self__, "allow_end_users_to_link_their_support_account", allow_end_users_to_link_their_support_account) - pulumi.set(__self__, "allow_end_users_to_manage_their_capabilities", allow_end_users_to_manage_their_capabilities) - pulumi.set(__self__, "allow_end_users_to_update_their_security_settings", allow_end_users_to_update_their_security_settings) + GetDomainsIdentitySettingMyProfileResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allow_end_users_to_change_their_password=allow_end_users_to_change_their_password, + allow_end_users_to_link_their_support_account=allow_end_users_to_link_their_support_account, + allow_end_users_to_manage_their_capabilities=allow_end_users_to_manage_their_capabilities, + allow_end_users_to_update_their_security_settings=allow_end_users_to_update_their_security_settings, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allow_end_users_to_change_their_password: bool, + allow_end_users_to_link_their_support_account: bool, + allow_end_users_to_manage_their_capabilities: bool, + allow_end_users_to_update_their_security_settings: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allow_end_users_to_change_their_password", allow_end_users_to_change_their_password) + _setter("allow_end_users_to_link_their_support_account", allow_end_users_to_link_their_support_account) + _setter("allow_end_users_to_manage_their_capabilities", allow_end_users_to_manage_their_capabilities) + _setter("allow_end_users_to_update_their_security_settings", allow_end_users_to_update_their_security_settings) @property @pulumi.getter(name="allowEndUsersToChangeTheirPassword") @@ -77050,8 +88811,19 @@ def __init__(__self__, *, :param int manual_assignment_ends_at: The number at which the Posix Uid Manual assignment ends. :param int manual_assignment_starts_from: The number from which the Posix Uid Manual assignment starts. """ - pulumi.set(__self__, "manual_assignment_ends_at", manual_assignment_ends_at) - pulumi.set(__self__, "manual_assignment_starts_from", manual_assignment_starts_from) + GetDomainsIdentitySettingPosixGidResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + manual_assignment_ends_at=manual_assignment_ends_at, + manual_assignment_starts_from=manual_assignment_starts_from, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + manual_assignment_ends_at: int, + manual_assignment_starts_from: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("manual_assignment_ends_at", manual_assignment_ends_at) + _setter("manual_assignment_starts_from", manual_assignment_starts_from) @property @pulumi.getter(name="manualAssignmentEndsAt") @@ -77079,8 +88851,19 @@ def __init__(__self__, *, :param int manual_assignment_ends_at: The number at which the Posix Uid Manual assignment ends. :param int manual_assignment_starts_from: The number from which the Posix Uid Manual assignment starts. """ - pulumi.set(__self__, "manual_assignment_ends_at", manual_assignment_ends_at) - pulumi.set(__self__, "manual_assignment_starts_from", manual_assignment_starts_from) + GetDomainsIdentitySettingPosixUidResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + manual_assignment_ends_at=manual_assignment_ends_at, + manual_assignment_starts_from=manual_assignment_starts_from, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + manual_assignment_ends_at: int, + manual_assignment_starts_from: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("manual_assignment_ends_at", manual_assignment_ends_at) + _setter("manual_assignment_starts_from", manual_assignment_starts_from) @property @pulumi.getter(name="manualAssignmentEndsAt") @@ -77108,8 +88891,19 @@ def __init__(__self__, *, :param str key: Key or name of the tag. :param str value: Value of the tag. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsIdentitySettingTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -77137,8 +88931,19 @@ def __init__(__self__, *, :param int expires_after: Indicates the number of minutes after which the token expires automatically. :param str type: The token type. """ - pulumi.set(__self__, "expires_after", expires_after) - pulumi.set(__self__, "type", type) + GetDomainsIdentitySettingTokenResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + expires_after=expires_after, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + expires_after: int, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("expires_after", expires_after) + _setter("type", type) @property @pulumi.getter(name="expiresAfter") @@ -77219,35 +89024,100 @@ def __init__(__self__, *, :param Sequence['GetDomainsIdentitySettingsIdentitySettingTokenArgs'] tokens: A list of tokens and their expiry length. :param bool user_allowed_to_set_recovery_email: Indicates whether a user is allowed to change their own recovery email. """ - pulumi.set(__self__, "attribute_sets", attribute_sets) - pulumi.set(__self__, "attributes", attributes) - pulumi.set(__self__, "authorization", authorization) - pulumi.set(__self__, "compartment_ocid", compartment_ocid) - pulumi.set(__self__, "delete_in_progress", delete_in_progress) - pulumi.set(__self__, "domain_ocid", domain_ocid) - pulumi.set(__self__, "emit_locked_message_when_user_is_locked", emit_locked_message_when_user_is_locked) - pulumi.set(__self__, "external_id", external_id) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "idcs_created_bies", idcs_created_bies) - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) - pulumi.set(__self__, "idcs_last_modified_bies", idcs_last_modified_bies) - pulumi.set(__self__, "idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) - pulumi.set(__self__, "idcs_prevented_operations", idcs_prevented_operations) - pulumi.set(__self__, "identity_setting_id", identity_setting_id) - pulumi.set(__self__, "metas", metas) - pulumi.set(__self__, "my_profiles", my_profiles) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "posix_gids", posix_gids) - pulumi.set(__self__, "posix_uids", posix_uids) - pulumi.set(__self__, "primary_email_required", primary_email_required) - pulumi.set(__self__, "remove_invalid_emails", remove_invalid_emails) - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) - pulumi.set(__self__, "return_inactive_over_locked_message", return_inactive_over_locked_message) - pulumi.set(__self__, "schemas", schemas) - pulumi.set(__self__, "tags", tags) - pulumi.set(__self__, "tenancy_ocid", tenancy_ocid) - pulumi.set(__self__, "tokens", tokens) - pulumi.set(__self__, "user_allowed_to_set_recovery_email", user_allowed_to_set_recovery_email) + GetDomainsIdentitySettingsIdentitySettingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + attribute_sets=attribute_sets, + attributes=attributes, + authorization=authorization, + compartment_ocid=compartment_ocid, + delete_in_progress=delete_in_progress, + domain_ocid=domain_ocid, + emit_locked_message_when_user_is_locked=emit_locked_message_when_user_is_locked, + external_id=external_id, + id=id, + idcs_created_bies=idcs_created_bies, + idcs_endpoint=idcs_endpoint, + idcs_last_modified_bies=idcs_last_modified_bies, + idcs_last_upgraded_in_release=idcs_last_upgraded_in_release, + idcs_prevented_operations=idcs_prevented_operations, + identity_setting_id=identity_setting_id, + metas=metas, + my_profiles=my_profiles, + ocid=ocid, + posix_gids=posix_gids, + posix_uids=posix_uids, + primary_email_required=primary_email_required, + remove_invalid_emails=remove_invalid_emails, + resource_type_schema_version=resource_type_schema_version, + return_inactive_over_locked_message=return_inactive_over_locked_message, + schemas=schemas, + tags=tags, + tenancy_ocid=tenancy_ocid, + tokens=tokens, + user_allowed_to_set_recovery_email=user_allowed_to_set_recovery_email, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attribute_sets: Sequence[str], + attributes: str, + authorization: str, + compartment_ocid: str, + delete_in_progress: bool, + domain_ocid: str, + emit_locked_message_when_user_is_locked: bool, + external_id: str, + id: str, + idcs_created_bies: Sequence['outputs.GetDomainsIdentitySettingsIdentitySettingIdcsCreatedByResult'], + idcs_endpoint: str, + idcs_last_modified_bies: Sequence['outputs.GetDomainsIdentitySettingsIdentitySettingIdcsLastModifiedByResult'], + idcs_last_upgraded_in_release: str, + idcs_prevented_operations: Sequence[str], + identity_setting_id: str, + metas: Sequence['outputs.GetDomainsIdentitySettingsIdentitySettingMetaResult'], + my_profiles: Sequence['outputs.GetDomainsIdentitySettingsIdentitySettingMyProfileResult'], + ocid: str, + posix_gids: Sequence['outputs.GetDomainsIdentitySettingsIdentitySettingPosixGidResult'], + posix_uids: Sequence['outputs.GetDomainsIdentitySettingsIdentitySettingPosixUidResult'], + primary_email_required: bool, + remove_invalid_emails: bool, + resource_type_schema_version: str, + return_inactive_over_locked_message: bool, + schemas: Sequence[str], + tags: Sequence['outputs.GetDomainsIdentitySettingsIdentitySettingTagResult'], + tenancy_ocid: str, + tokens: Sequence['outputs.GetDomainsIdentitySettingsIdentitySettingTokenResult'], + user_allowed_to_set_recovery_email: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("attribute_sets", attribute_sets) + _setter("attributes", attributes) + _setter("authorization", authorization) + _setter("compartment_ocid", compartment_ocid) + _setter("delete_in_progress", delete_in_progress) + _setter("domain_ocid", domain_ocid) + _setter("emit_locked_message_when_user_is_locked", emit_locked_message_when_user_is_locked) + _setter("external_id", external_id) + _setter("id", id) + _setter("idcs_created_bies", idcs_created_bies) + _setter("idcs_endpoint", idcs_endpoint) + _setter("idcs_last_modified_bies", idcs_last_modified_bies) + _setter("idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) + _setter("idcs_prevented_operations", idcs_prevented_operations) + _setter("identity_setting_id", identity_setting_id) + _setter("metas", metas) + _setter("my_profiles", my_profiles) + _setter("ocid", ocid) + _setter("posix_gids", posix_gids) + _setter("posix_uids", posix_uids) + _setter("primary_email_required", primary_email_required) + _setter("remove_invalid_emails", remove_invalid_emails) + _setter("resource_type_schema_version", resource_type_schema_version) + _setter("return_inactive_over_locked_message", return_inactive_over_locked_message) + _setter("schemas", schemas) + _setter("tags", tags) + _setter("tenancy_ocid", tenancy_ocid) + _setter("tokens", tokens) + _setter("user_allowed_to_set_recovery_email", user_allowed_to_set_recovery_email) @property @pulumi.getter(name="attributeSets") @@ -77494,11 +89364,28 @@ def __init__(__self__, *, :param str type: The token type. :param str value: Value of the tag. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsIdentitySettingsIdentitySettingIdcsCreatedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -77556,11 +89443,28 @@ def __init__(__self__, *, :param str type: The token type. :param str value: Value of the tag. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsIdentitySettingsIdentitySettingIdcsLastModifiedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -77618,11 +89522,28 @@ def __init__(__self__, *, :param str resource_type: Name of the resource type of the resource--for example, Users or Groups :param str version: The version of the Resource being returned. This value must be the same as the ETag HTTP response header. """ - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "version", version) + GetDomainsIdentitySettingsIdentitySettingMetaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: str, + last_modified: str, + location: str, + resource_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created", created) + _setter("last_modified", last_modified) + _setter("location", location) + _setter("resource_type", resource_type) + _setter("version", version) @property @pulumi.getter @@ -77678,10 +89599,25 @@ def __init__(__self__, *, :param bool allow_end_users_to_manage_their_capabilities: Whether to allow users to update their capabilities. :param bool allow_end_users_to_update_their_security_settings: Whether to allow users to update their security settings. """ - pulumi.set(__self__, "allow_end_users_to_change_their_password", allow_end_users_to_change_their_password) - pulumi.set(__self__, "allow_end_users_to_link_their_support_account", allow_end_users_to_link_their_support_account) - pulumi.set(__self__, "allow_end_users_to_manage_their_capabilities", allow_end_users_to_manage_their_capabilities) - pulumi.set(__self__, "allow_end_users_to_update_their_security_settings", allow_end_users_to_update_their_security_settings) + GetDomainsIdentitySettingsIdentitySettingMyProfileResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allow_end_users_to_change_their_password=allow_end_users_to_change_their_password, + allow_end_users_to_link_their_support_account=allow_end_users_to_link_their_support_account, + allow_end_users_to_manage_their_capabilities=allow_end_users_to_manage_their_capabilities, + allow_end_users_to_update_their_security_settings=allow_end_users_to_update_their_security_settings, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allow_end_users_to_change_their_password: bool, + allow_end_users_to_link_their_support_account: bool, + allow_end_users_to_manage_their_capabilities: bool, + allow_end_users_to_update_their_security_settings: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allow_end_users_to_change_their_password", allow_end_users_to_change_their_password) + _setter("allow_end_users_to_link_their_support_account", allow_end_users_to_link_their_support_account) + _setter("allow_end_users_to_manage_their_capabilities", allow_end_users_to_manage_their_capabilities) + _setter("allow_end_users_to_update_their_security_settings", allow_end_users_to_update_their_security_settings) @property @pulumi.getter(name="allowEndUsersToChangeTheirPassword") @@ -77725,8 +89661,19 @@ def __init__(__self__, *, :param int manual_assignment_ends_at: The number at which the Posix Uid Manual assignment ends. :param int manual_assignment_starts_from: The number from which the Posix Uid Manual assignment starts. """ - pulumi.set(__self__, "manual_assignment_ends_at", manual_assignment_ends_at) - pulumi.set(__self__, "manual_assignment_starts_from", manual_assignment_starts_from) + GetDomainsIdentitySettingsIdentitySettingPosixGidResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + manual_assignment_ends_at=manual_assignment_ends_at, + manual_assignment_starts_from=manual_assignment_starts_from, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + manual_assignment_ends_at: int, + manual_assignment_starts_from: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("manual_assignment_ends_at", manual_assignment_ends_at) + _setter("manual_assignment_starts_from", manual_assignment_starts_from) @property @pulumi.getter(name="manualAssignmentEndsAt") @@ -77754,8 +89701,19 @@ def __init__(__self__, *, :param int manual_assignment_ends_at: The number at which the Posix Uid Manual assignment ends. :param int manual_assignment_starts_from: The number from which the Posix Uid Manual assignment starts. """ - pulumi.set(__self__, "manual_assignment_ends_at", manual_assignment_ends_at) - pulumi.set(__self__, "manual_assignment_starts_from", manual_assignment_starts_from) + GetDomainsIdentitySettingsIdentitySettingPosixUidResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + manual_assignment_ends_at=manual_assignment_ends_at, + manual_assignment_starts_from=manual_assignment_starts_from, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + manual_assignment_ends_at: int, + manual_assignment_starts_from: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("manual_assignment_ends_at", manual_assignment_ends_at) + _setter("manual_assignment_starts_from", manual_assignment_starts_from) @property @pulumi.getter(name="manualAssignmentEndsAt") @@ -77783,8 +89741,19 @@ def __init__(__self__, *, :param str key: Key or name of the tag. :param str value: Value of the tag. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsIdentitySettingsIdentitySettingTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -77812,8 +89781,19 @@ def __init__(__self__, *, :param int expires_after: Indicates the number of minutes after which the token expires automatically. :param str type: The token type. """ - pulumi.set(__self__, "expires_after", expires_after) - pulumi.set(__self__, "type", type) + GetDomainsIdentitySettingsIdentitySettingTokenResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + expires_after=expires_after, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + expires_after: int, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("expires_after", expires_after) + _setter("type", type) @property @pulumi.getter(name="expiresAfter") @@ -77847,11 +89827,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: Value of the tag. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsKmsiSettingIdcsCreatedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -77909,11 +89906,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: Value of the tag. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsKmsiSettingIdcsLastModifiedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -77971,11 +89985,28 @@ def __init__(__self__, *, :param str resource_type: Name of the resource type of the resource--for example, Users or Groups :param str version: The version of the Resource being returned. This value must be the same as the ETag HTTP response header. """ - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "version", version) + GetDomainsKmsiSettingMetaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: str, + last_modified: str, + location: str, + resource_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created", created) + _setter("last_modified", last_modified) + _setter("location", location) + _setter("resource_type", resource_type) + _setter("version", version) @property @pulumi.getter @@ -78027,8 +90058,19 @@ def __init__(__self__, *, :param str key: Key or name of the tag. :param str value: Value of the tag. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsKmsiSettingTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -78105,33 +90147,94 @@ def __init__(__self__, *, :param int token_validity_in_days: Identifier represents validity duration in days. :param bool tou_prompt_disabled: Identifier represents whether user is prompted for ToU or not. """ - pulumi.set(__self__, "attribute_sets", attribute_sets) - pulumi.set(__self__, "attributes", attributes) - pulumi.set(__self__, "authorization", authorization) - pulumi.set(__self__, "compartment_ocid", compartment_ocid) - pulumi.set(__self__, "delete_in_progress", delete_in_progress) - pulumi.set(__self__, "domain_ocid", domain_ocid) - pulumi.set(__self__, "external_id", external_id) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "idcs_created_bies", idcs_created_bies) - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) - pulumi.set(__self__, "idcs_last_modified_bies", idcs_last_modified_bies) - pulumi.set(__self__, "idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) - pulumi.set(__self__, "idcs_prevented_operations", idcs_prevented_operations) - pulumi.set(__self__, "kmsi_feature_enabled", kmsi_feature_enabled) - pulumi.set(__self__, "kmsi_prompt_enabled", kmsi_prompt_enabled) - pulumi.set(__self__, "kmsi_setting_id", kmsi_setting_id) - pulumi.set(__self__, "last_enabled_on", last_enabled_on) - pulumi.set(__self__, "last_used_validity_in_days", last_used_validity_in_days) - pulumi.set(__self__, "max_allowed_sessions", max_allowed_sessions) - pulumi.set(__self__, "metas", metas) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) - pulumi.set(__self__, "schemas", schemas) - pulumi.set(__self__, "tags", tags) - pulumi.set(__self__, "tenancy_ocid", tenancy_ocid) - pulumi.set(__self__, "token_validity_in_days", token_validity_in_days) - pulumi.set(__self__, "tou_prompt_disabled", tou_prompt_disabled) + GetDomainsKmsiSettingsKmsiSettingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + attribute_sets=attribute_sets, + attributes=attributes, + authorization=authorization, + compartment_ocid=compartment_ocid, + delete_in_progress=delete_in_progress, + domain_ocid=domain_ocid, + external_id=external_id, + id=id, + idcs_created_bies=idcs_created_bies, + idcs_endpoint=idcs_endpoint, + idcs_last_modified_bies=idcs_last_modified_bies, + idcs_last_upgraded_in_release=idcs_last_upgraded_in_release, + idcs_prevented_operations=idcs_prevented_operations, + kmsi_feature_enabled=kmsi_feature_enabled, + kmsi_prompt_enabled=kmsi_prompt_enabled, + kmsi_setting_id=kmsi_setting_id, + last_enabled_on=last_enabled_on, + last_used_validity_in_days=last_used_validity_in_days, + max_allowed_sessions=max_allowed_sessions, + metas=metas, + ocid=ocid, + resource_type_schema_version=resource_type_schema_version, + schemas=schemas, + tags=tags, + tenancy_ocid=tenancy_ocid, + token_validity_in_days=token_validity_in_days, + tou_prompt_disabled=tou_prompt_disabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attribute_sets: Sequence[str], + attributes: str, + authorization: str, + compartment_ocid: str, + delete_in_progress: bool, + domain_ocid: str, + external_id: str, + id: str, + idcs_created_bies: Sequence['outputs.GetDomainsKmsiSettingsKmsiSettingIdcsCreatedByResult'], + idcs_endpoint: str, + idcs_last_modified_bies: Sequence['outputs.GetDomainsKmsiSettingsKmsiSettingIdcsLastModifiedByResult'], + idcs_last_upgraded_in_release: str, + idcs_prevented_operations: Sequence[str], + kmsi_feature_enabled: bool, + kmsi_prompt_enabled: bool, + kmsi_setting_id: str, + last_enabled_on: str, + last_used_validity_in_days: int, + max_allowed_sessions: int, + metas: Sequence['outputs.GetDomainsKmsiSettingsKmsiSettingMetaResult'], + ocid: str, + resource_type_schema_version: str, + schemas: Sequence[str], + tags: Sequence['outputs.GetDomainsKmsiSettingsKmsiSettingTagResult'], + tenancy_ocid: str, + token_validity_in_days: int, + tou_prompt_disabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("attribute_sets", attribute_sets) + _setter("attributes", attributes) + _setter("authorization", authorization) + _setter("compartment_ocid", compartment_ocid) + _setter("delete_in_progress", delete_in_progress) + _setter("domain_ocid", domain_ocid) + _setter("external_id", external_id) + _setter("id", id) + _setter("idcs_created_bies", idcs_created_bies) + _setter("idcs_endpoint", idcs_endpoint) + _setter("idcs_last_modified_bies", idcs_last_modified_bies) + _setter("idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) + _setter("idcs_prevented_operations", idcs_prevented_operations) + _setter("kmsi_feature_enabled", kmsi_feature_enabled) + _setter("kmsi_prompt_enabled", kmsi_prompt_enabled) + _setter("kmsi_setting_id", kmsi_setting_id) + _setter("last_enabled_on", last_enabled_on) + _setter("last_used_validity_in_days", last_used_validity_in_days) + _setter("max_allowed_sessions", max_allowed_sessions) + _setter("metas", metas) + _setter("ocid", ocid) + _setter("resource_type_schema_version", resource_type_schema_version) + _setter("schemas", schemas) + _setter("tags", tags) + _setter("tenancy_ocid", tenancy_ocid) + _setter("token_validity_in_days", token_validity_in_days) + _setter("tou_prompt_disabled", tou_prompt_disabled) @property @pulumi.getter(name="attributeSets") @@ -78362,11 +90465,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: Value of the tag. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsKmsiSettingsKmsiSettingIdcsCreatedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -78424,11 +90544,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: Value of the tag. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsKmsiSettingsKmsiSettingIdcsLastModifiedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -78486,11 +90623,28 @@ def __init__(__self__, *, :param str resource_type: Name of the resource type of the resource--for example, Users or Groups :param str version: The version of the Resource being returned. This value must be the same as the ETag HTTP response header. """ - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "version", version) + GetDomainsKmsiSettingsKmsiSettingMetaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: str, + last_modified: str, + location: str, + resource_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created", created) + _setter("last_modified", last_modified) + _setter("location", location) + _setter("resource_type", resource_type) + _setter("version", version) @property @pulumi.getter @@ -78542,8 +90696,19 @@ def __init__(__self__, *, :param str key: Key or name of the tag. :param str value: Value of the tag. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsKmsiSettingsKmsiSettingTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -78577,11 +90742,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: The user's ID. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsMyApiKeyIdcsCreatedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -78639,11 +90821,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: The user's ID. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsMyApiKeyIdcsLastModifiedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -78701,11 +90900,28 @@ def __init__(__self__, *, :param str resource_type: Name of the resource type of the resource--for example, Users or Groups :param str version: The version of the Resource being returned. This value must be the same as the ETag HTTP response header. """ - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "version", version) + GetDomainsMyApiKeyMetaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: str, + last_modified: str, + location: str, + resource_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created", created) + _setter("last_modified", last_modified) + _setter("location", location) + _setter("resource_type", resource_type) + _setter("version", version) @property @pulumi.getter @@ -78757,8 +90973,19 @@ def __init__(__self__, *, :param str key: Key or name of the tag. :param str value: The user's ID. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsMyApiKeyTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -78792,11 +91019,28 @@ def __init__(__self__, *, :param str ref: The URI that corresponds to the user linked to this credential. :param str value: The user's ID. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsMyApiKeyUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + name=name, + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + name: str, + ocid: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("name", name) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -78884,26 +91128,73 @@ def __init__(__self__, *, :param str tenancy_ocid: Oracle Cloud Infrastructure Tenant Id (ocid) in which the resource lives. :param Sequence['GetDomainsMyApiKeysMyApiKeyUserArgs'] users: The user linked to the API key. """ - pulumi.set(__self__, "authorization", authorization) - pulumi.set(__self__, "compartment_ocid", compartment_ocid) - pulumi.set(__self__, "delete_in_progress", delete_in_progress) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "domain_ocid", domain_ocid) - pulumi.set(__self__, "fingerprint", fingerprint) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "idcs_created_bies", idcs_created_bies) - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) - pulumi.set(__self__, "idcs_last_modified_bies", idcs_last_modified_bies) - pulumi.set(__self__, "idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) - pulumi.set(__self__, "idcs_prevented_operations", idcs_prevented_operations) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "metas", metas) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) - pulumi.set(__self__, "schemas", schemas) - pulumi.set(__self__, "tags", tags) - pulumi.set(__self__, "tenancy_ocid", tenancy_ocid) - pulumi.set(__self__, "users", users) + GetDomainsMyApiKeysMyApiKeyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + authorization=authorization, + compartment_ocid=compartment_ocid, + delete_in_progress=delete_in_progress, + description=description, + domain_ocid=domain_ocid, + fingerprint=fingerprint, + id=id, + idcs_created_bies=idcs_created_bies, + idcs_endpoint=idcs_endpoint, + idcs_last_modified_bies=idcs_last_modified_bies, + idcs_last_upgraded_in_release=idcs_last_upgraded_in_release, + idcs_prevented_operations=idcs_prevented_operations, + key=key, + metas=metas, + ocid=ocid, + resource_type_schema_version=resource_type_schema_version, + schemas=schemas, + tags=tags, + tenancy_ocid=tenancy_ocid, + users=users, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + authorization: str, + compartment_ocid: str, + delete_in_progress: bool, + description: str, + domain_ocid: str, + fingerprint: str, + id: str, + idcs_created_bies: Sequence['outputs.GetDomainsMyApiKeysMyApiKeyIdcsCreatedByResult'], + idcs_endpoint: str, + idcs_last_modified_bies: Sequence['outputs.GetDomainsMyApiKeysMyApiKeyIdcsLastModifiedByResult'], + idcs_last_upgraded_in_release: str, + idcs_prevented_operations: Sequence[str], + key: str, + metas: Sequence['outputs.GetDomainsMyApiKeysMyApiKeyMetaResult'], + ocid: str, + resource_type_schema_version: str, + schemas: Sequence[str], + tags: Sequence['outputs.GetDomainsMyApiKeysMyApiKeyTagResult'], + tenancy_ocid: str, + users: Sequence['outputs.GetDomainsMyApiKeysMyApiKeyUserResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("authorization", authorization) + _setter("compartment_ocid", compartment_ocid) + _setter("delete_in_progress", delete_in_progress) + _setter("description", description) + _setter("domain_ocid", domain_ocid) + _setter("fingerprint", fingerprint) + _setter("id", id) + _setter("idcs_created_bies", idcs_created_bies) + _setter("idcs_endpoint", idcs_endpoint) + _setter("idcs_last_modified_bies", idcs_last_modified_bies) + _setter("idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) + _setter("idcs_prevented_operations", idcs_prevented_operations) + _setter("key", key) + _setter("metas", metas) + _setter("ocid", ocid) + _setter("resource_type_schema_version", resource_type_schema_version) + _setter("schemas", schemas) + _setter("tags", tags) + _setter("tenancy_ocid", tenancy_ocid) + _setter("users", users) @property @pulumi.getter @@ -79081,11 +91372,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: The user's ID. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsMyApiKeysMyApiKeyIdcsCreatedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -79143,11 +91451,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: The user's ID. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsMyApiKeysMyApiKeyIdcsLastModifiedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -79205,11 +91530,28 @@ def __init__(__self__, *, :param str resource_type: Name of the resource type of the resource--for example, Users or Groups :param str version: The version of the Resource being returned. This value must be the same as the ETag HTTP response header. """ - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "version", version) + GetDomainsMyApiKeysMyApiKeyMetaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: str, + last_modified: str, + location: str, + resource_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created", created) + _setter("last_modified", last_modified) + _setter("location", location) + _setter("resource_type", resource_type) + _setter("version", version) @property @pulumi.getter @@ -79261,8 +91603,19 @@ def __init__(__self__, *, :param str key: Key or name of the tag. :param str value: The user's ID. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsMyApiKeysMyApiKeyTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -79296,11 +91649,28 @@ def __init__(__self__, *, :param str ref: The URI that corresponds to the user linked to this credential. :param str value: The user's ID. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsMyApiKeysMyApiKeyUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + name=name, + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + name: str, + ocid: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("name", name) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -79396,30 +91766,85 @@ def __init__(__self__, *, :param str uid: Unique identifier of the Account. :param Sequence['GetDomainsMyAppsMyAppUserWalletArtifactArgs'] user_wallet_artifacts: The UserWalletArtifact that contains the credentials that the system will use in performing Secure Form-Fill to log the User into this application. """ - pulumi.set(__self__, "account_type", account_type) - pulumi.set(__self__, "active", active) - pulumi.set(__self__, "apps", apps) - pulumi.set(__self__, "compartment_ocid", compartment_ocid) - pulumi.set(__self__, "delete_in_progress", delete_in_progress) - pulumi.set(__self__, "domain_ocid", domain_ocid) - pulumi.set(__self__, "favorite", favorite) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "idcs_created_bies", idcs_created_bies) - pulumi.set(__self__, "idcs_last_modified_bies", idcs_last_modified_bies) - pulumi.set(__self__, "idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) - pulumi.set(__self__, "idcs_prevented_operations", idcs_prevented_operations) - pulumi.set(__self__, "is_account", is_account) - pulumi.set(__self__, "last_accessed", last_accessed) - pulumi.set(__self__, "launch_url", launch_url) - pulumi.set(__self__, "metas", metas) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "owners", owners) - pulumi.set(__self__, "schemas", schemas) - pulumi.set(__self__, "tags", tags) - pulumi.set(__self__, "tenancy_ocid", tenancy_ocid) - pulumi.set(__self__, "uid", uid) - pulumi.set(__self__, "user_wallet_artifacts", user_wallet_artifacts) + GetDomainsMyAppsMyAppResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_type=account_type, + active=active, + apps=apps, + compartment_ocid=compartment_ocid, + delete_in_progress=delete_in_progress, + domain_ocid=domain_ocid, + favorite=favorite, + id=id, + idcs_created_bies=idcs_created_bies, + idcs_last_modified_bies=idcs_last_modified_bies, + idcs_last_upgraded_in_release=idcs_last_upgraded_in_release, + idcs_prevented_operations=idcs_prevented_operations, + is_account=is_account, + last_accessed=last_accessed, + launch_url=launch_url, + metas=metas, + name=name, + ocid=ocid, + owners=owners, + schemas=schemas, + tags=tags, + tenancy_ocid=tenancy_ocid, + uid=uid, + user_wallet_artifacts=user_wallet_artifacts, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_type: str, + active: bool, + apps: Sequence['outputs.GetDomainsMyAppsMyAppAppResult'], + compartment_ocid: str, + delete_in_progress: bool, + domain_ocid: str, + favorite: bool, + id: str, + idcs_created_bies: Sequence['outputs.GetDomainsMyAppsMyAppIdcsCreatedByResult'], + idcs_last_modified_bies: Sequence['outputs.GetDomainsMyAppsMyAppIdcsLastModifiedByResult'], + idcs_last_upgraded_in_release: str, + idcs_prevented_operations: Sequence[str], + is_account: bool, + last_accessed: str, + launch_url: str, + metas: Sequence['outputs.GetDomainsMyAppsMyAppMetaResult'], + name: str, + ocid: str, + owners: Sequence['outputs.GetDomainsMyAppsMyAppOwnerResult'], + schemas: Sequence[str], + tags: Sequence['outputs.GetDomainsMyAppsMyAppTagResult'], + tenancy_ocid: str, + uid: str, + user_wallet_artifacts: Sequence['outputs.GetDomainsMyAppsMyAppUserWalletArtifactResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("account_type", account_type) + _setter("active", active) + _setter("apps", apps) + _setter("compartment_ocid", compartment_ocid) + _setter("delete_in_progress", delete_in_progress) + _setter("domain_ocid", domain_ocid) + _setter("favorite", favorite) + _setter("id", id) + _setter("idcs_created_bies", idcs_created_bies) + _setter("idcs_last_modified_bies", idcs_last_modified_bies) + _setter("idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) + _setter("idcs_prevented_operations", idcs_prevented_operations) + _setter("is_account", is_account) + _setter("last_accessed", last_accessed) + _setter("launch_url", launch_url) + _setter("metas", metas) + _setter("name", name) + _setter("ocid", ocid) + _setter("owners", owners) + _setter("schemas", schemas) + _setter("tags", tags) + _setter("tenancy_ocid", tenancy_ocid) + _setter("uid", uid) + _setter("user_wallet_artifacts", user_wallet_artifacts) @property @pulumi.getter(name="accountType") @@ -79645,19 +92070,52 @@ def __init__(__self__, *, :param bool show_in_my_apps: If true, this App will be displayed in the MyApps page of each end-user who has access to this App. :param str value: UserWalletArtifact identifier """ - pulumi.set(__self__, "active", active) - pulumi.set(__self__, "app_icon", app_icon) - pulumi.set(__self__, "app_thumbnail", app_thumbnail) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "is_alias_app", is_alias_app) - pulumi.set(__self__, "is_login_target", is_login_target) - pulumi.set(__self__, "is_opc_service", is_opc_service) - pulumi.set(__self__, "login_mechanism", login_mechanism) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "service_type_urn", service_type_urn) - pulumi.set(__self__, "show_in_my_apps", show_in_my_apps) - pulumi.set(__self__, "value", value) + GetDomainsMyAppsMyAppAppResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + active=active, + app_icon=app_icon, + app_thumbnail=app_thumbnail, + description=description, + display=display, + is_alias_app=is_alias_app, + is_login_target=is_login_target, + is_opc_service=is_opc_service, + login_mechanism=login_mechanism, + ref=ref, + service_type_urn=service_type_urn, + show_in_my_apps=show_in_my_apps, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + active: bool, + app_icon: str, + app_thumbnail: str, + description: str, + display: str, + is_alias_app: bool, + is_login_target: bool, + is_opc_service: bool, + login_mechanism: str, + ref: str, + service_type_urn: str, + show_in_my_apps: bool, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("active", active) + _setter("app_icon", app_icon) + _setter("app_thumbnail", app_thumbnail) + _setter("description", description) + _setter("display", display) + _setter("is_alias_app", is_alias_app) + _setter("is_login_target", is_login_target) + _setter("is_opc_service", is_opc_service) + _setter("login_mechanism", login_mechanism) + _setter("ref", ref) + _setter("service_type_urn", service_type_urn) + _setter("show_in_my_apps", show_in_my_apps) + _setter("value", value) @property @pulumi.getter @@ -79779,11 +92237,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: UserWalletArtifact identifier """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsMyAppsMyAppIdcsCreatedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -79841,11 +92316,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: UserWalletArtifact identifier """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsMyAppsMyAppIdcsLastModifiedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -79903,11 +92395,28 @@ def __init__(__self__, *, :param str resource_type: Name of the resource type of the resource--for example, Users or Groups :param str version: The version of the Resource being returned. This value must be the same as the ETag HTTP response header. """ - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "version", version) + GetDomainsMyAppsMyAppMetaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: str, + last_modified: str, + location: str, + resource_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created", created) + _setter("last_modified", last_modified) + _setter("location", location) + _setter("resource_type", resource_type) + _setter("version", version) @property @pulumi.getter @@ -79961,9 +92470,22 @@ def __init__(__self__, *, :param str ref: UserWalletArtifact URI :param str value: UserWalletArtifact identifier """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsMyAppsMyAppOwnerResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -79999,8 +92521,19 @@ def __init__(__self__, *, :param str key: Key or name of the tag. :param str value: UserWalletArtifact identifier """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsMyAppsMyAppTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -80028,8 +92561,19 @@ def __init__(__self__, *, :param str ref: UserWalletArtifact URI :param str value: UserWalletArtifact identifier """ - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsMyAppsMyAppUserWalletArtifactResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -80063,11 +92607,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: The user's ID. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsMyAuthTokenIdcsCreatedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -80125,11 +92686,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: The user's ID. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsMyAuthTokenIdcsLastModifiedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -80187,11 +92765,28 @@ def __init__(__self__, *, :param str resource_type: Name of the resource type of the resource--for example, Users or Groups :param str version: The version of the Resource being returned. This value must be the same as the ETag HTTP response header. """ - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "version", version) + GetDomainsMyAuthTokenMetaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: str, + last_modified: str, + location: str, + resource_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created", created) + _setter("last_modified", last_modified) + _setter("location", location) + _setter("resource_type", resource_type) + _setter("version", version) @property @pulumi.getter @@ -80243,8 +92838,19 @@ def __init__(__self__, *, :param str key: Key or name of the tag. :param str value: The user's ID. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsMyAuthTokenTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -80278,11 +92884,28 @@ def __init__(__self__, *, :param str ref: The URI that corresponds to the user linked to this credential :param str value: The user's ID. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsMyAuthTokenUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + name=name, + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + name: str, + ocid: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("name", name) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -80370,26 +92993,73 @@ def __init__(__self__, *, :param str tenancy_ocid: Oracle Cloud Infrastructure Tenant Id (ocid) in which the resource lives. :param Sequence['GetDomainsMyAuthTokensMyAuthTokenUserArgs'] users: The user linked to the Auth token. """ - pulumi.set(__self__, "authorization", authorization) - pulumi.set(__self__, "compartment_ocid", compartment_ocid) - pulumi.set(__self__, "delete_in_progress", delete_in_progress) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "domain_ocid", domain_ocid) - pulumi.set(__self__, "expires_on", expires_on) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "idcs_created_bies", idcs_created_bies) - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) - pulumi.set(__self__, "idcs_last_modified_bies", idcs_last_modified_bies) - pulumi.set(__self__, "idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) - pulumi.set(__self__, "idcs_prevented_operations", idcs_prevented_operations) - pulumi.set(__self__, "metas", metas) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) - pulumi.set(__self__, "schemas", schemas) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "tags", tags) - pulumi.set(__self__, "tenancy_ocid", tenancy_ocid) - pulumi.set(__self__, "users", users) + GetDomainsMyAuthTokensMyAuthTokenResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + authorization=authorization, + compartment_ocid=compartment_ocid, + delete_in_progress=delete_in_progress, + description=description, + domain_ocid=domain_ocid, + expires_on=expires_on, + id=id, + idcs_created_bies=idcs_created_bies, + idcs_endpoint=idcs_endpoint, + idcs_last_modified_bies=idcs_last_modified_bies, + idcs_last_upgraded_in_release=idcs_last_upgraded_in_release, + idcs_prevented_operations=idcs_prevented_operations, + metas=metas, + ocid=ocid, + resource_type_schema_version=resource_type_schema_version, + schemas=schemas, + status=status, + tags=tags, + tenancy_ocid=tenancy_ocid, + users=users, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + authorization: str, + compartment_ocid: str, + delete_in_progress: bool, + description: str, + domain_ocid: str, + expires_on: str, + id: str, + idcs_created_bies: Sequence['outputs.GetDomainsMyAuthTokensMyAuthTokenIdcsCreatedByResult'], + idcs_endpoint: str, + idcs_last_modified_bies: Sequence['outputs.GetDomainsMyAuthTokensMyAuthTokenIdcsLastModifiedByResult'], + idcs_last_upgraded_in_release: str, + idcs_prevented_operations: Sequence[str], + metas: Sequence['outputs.GetDomainsMyAuthTokensMyAuthTokenMetaResult'], + ocid: str, + resource_type_schema_version: str, + schemas: Sequence[str], + status: str, + tags: Sequence['outputs.GetDomainsMyAuthTokensMyAuthTokenTagResult'], + tenancy_ocid: str, + users: Sequence['outputs.GetDomainsMyAuthTokensMyAuthTokenUserResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("authorization", authorization) + _setter("compartment_ocid", compartment_ocid) + _setter("delete_in_progress", delete_in_progress) + _setter("description", description) + _setter("domain_ocid", domain_ocid) + _setter("expires_on", expires_on) + _setter("id", id) + _setter("idcs_created_bies", idcs_created_bies) + _setter("idcs_endpoint", idcs_endpoint) + _setter("idcs_last_modified_bies", idcs_last_modified_bies) + _setter("idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) + _setter("idcs_prevented_operations", idcs_prevented_operations) + _setter("metas", metas) + _setter("ocid", ocid) + _setter("resource_type_schema_version", resource_type_schema_version) + _setter("schemas", schemas) + _setter("status", status) + _setter("tags", tags) + _setter("tenancy_ocid", tenancy_ocid) + _setter("users", users) @property @pulumi.getter @@ -80567,11 +93237,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: The user's ID. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsMyAuthTokensMyAuthTokenIdcsCreatedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -80629,11 +93316,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: The user's ID. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsMyAuthTokensMyAuthTokenIdcsLastModifiedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -80691,11 +93395,28 @@ def __init__(__self__, *, :param str resource_type: Name of the resource type of the resource--for example, Users or Groups :param str version: The version of the Resource being returned. This value must be the same as the ETag HTTP response header. """ - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "version", version) + GetDomainsMyAuthTokensMyAuthTokenMetaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: str, + last_modified: str, + location: str, + resource_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created", created) + _setter("last_modified", last_modified) + _setter("location", location) + _setter("resource_type", resource_type) + _setter("version", version) @property @pulumi.getter @@ -80747,8 +93468,19 @@ def __init__(__self__, *, :param str key: Key or name of the tag. :param str value: The user's ID. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsMyAuthTokensMyAuthTokenTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -80782,11 +93514,28 @@ def __init__(__self__, *, :param str ref: The URI that corresponds to the user linked to this credential :param str value: The user's ID. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsMyAuthTokensMyAuthTokenUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + name=name, + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + name: str, + ocid: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("name", name) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -80844,11 +93593,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: The user's ID. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsMyCustomerSecretKeyIdcsCreatedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -80906,11 +93672,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: The user's ID. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsMyCustomerSecretKeyIdcsLastModifiedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -80968,11 +93751,28 @@ def __init__(__self__, *, :param str resource_type: Name of the resource type of the resource--for example, Users or Groups :param str version: The version of the Resource being returned. This value must be the same as the ETag HTTP response header. """ - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "version", version) + GetDomainsMyCustomerSecretKeyMetaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: str, + last_modified: str, + location: str, + resource_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created", created) + _setter("last_modified", last_modified) + _setter("location", location) + _setter("resource_type", resource_type) + _setter("version", version) @property @pulumi.getter @@ -81024,8 +93824,19 @@ def __init__(__self__, *, :param str key: Key or name of the tag. :param str value: The user's ID. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsMyCustomerSecretKeyTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -81059,11 +93870,28 @@ def __init__(__self__, *, :param str ref: The URI that corresponds to the user linked to this credential. :param str value: The user's ID. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsMyCustomerSecretKeyUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + name=name, + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + name: str, + ocid: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("name", name) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -81155,28 +93983,79 @@ def __init__(__self__, *, :param str tenancy_ocid: Oracle Cloud Infrastructure Tenant Id (ocid) in which the resource lives. :param Sequence['GetDomainsMyCustomerSecretKeysMyCustomerSecretKeyUserArgs'] users: User linked to customer secret key """ - pulumi.set(__self__, "access_key", access_key) - pulumi.set(__self__, "authorization", authorization) - pulumi.set(__self__, "compartment_ocid", compartment_ocid) - pulumi.set(__self__, "delete_in_progress", delete_in_progress) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "domain_ocid", domain_ocid) - pulumi.set(__self__, "expires_on", expires_on) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "idcs_created_bies", idcs_created_bies) - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) - pulumi.set(__self__, "idcs_last_modified_bies", idcs_last_modified_bies) - pulumi.set(__self__, "idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) - pulumi.set(__self__, "idcs_prevented_operations", idcs_prevented_operations) - pulumi.set(__self__, "metas", metas) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) - pulumi.set(__self__, "schemas", schemas) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "tags", tags) - pulumi.set(__self__, "tenancy_ocid", tenancy_ocid) - pulumi.set(__self__, "users", users) + GetDomainsMyCustomerSecretKeysMyCustomerSecretKeyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + access_key=access_key, + authorization=authorization, + compartment_ocid=compartment_ocid, + delete_in_progress=delete_in_progress, + description=description, + display_name=display_name, + domain_ocid=domain_ocid, + expires_on=expires_on, + id=id, + idcs_created_bies=idcs_created_bies, + idcs_endpoint=idcs_endpoint, + idcs_last_modified_bies=idcs_last_modified_bies, + idcs_last_upgraded_in_release=idcs_last_upgraded_in_release, + idcs_prevented_operations=idcs_prevented_operations, + metas=metas, + ocid=ocid, + resource_type_schema_version=resource_type_schema_version, + schemas=schemas, + status=status, + tags=tags, + tenancy_ocid=tenancy_ocid, + users=users, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access_key: str, + authorization: str, + compartment_ocid: str, + delete_in_progress: bool, + description: str, + display_name: str, + domain_ocid: str, + expires_on: str, + id: str, + idcs_created_bies: Sequence['outputs.GetDomainsMyCustomerSecretKeysMyCustomerSecretKeyIdcsCreatedByResult'], + idcs_endpoint: str, + idcs_last_modified_bies: Sequence['outputs.GetDomainsMyCustomerSecretKeysMyCustomerSecretKeyIdcsLastModifiedByResult'], + idcs_last_upgraded_in_release: str, + idcs_prevented_operations: Sequence[str], + metas: Sequence['outputs.GetDomainsMyCustomerSecretKeysMyCustomerSecretKeyMetaResult'], + ocid: str, + resource_type_schema_version: str, + schemas: Sequence[str], + status: str, + tags: Sequence['outputs.GetDomainsMyCustomerSecretKeysMyCustomerSecretKeyTagResult'], + tenancy_ocid: str, + users: Sequence['outputs.GetDomainsMyCustomerSecretKeysMyCustomerSecretKeyUserResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("access_key", access_key) + _setter("authorization", authorization) + _setter("compartment_ocid", compartment_ocid) + _setter("delete_in_progress", delete_in_progress) + _setter("description", description) + _setter("display_name", display_name) + _setter("domain_ocid", domain_ocid) + _setter("expires_on", expires_on) + _setter("id", id) + _setter("idcs_created_bies", idcs_created_bies) + _setter("idcs_endpoint", idcs_endpoint) + _setter("idcs_last_modified_bies", idcs_last_modified_bies) + _setter("idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) + _setter("idcs_prevented_operations", idcs_prevented_operations) + _setter("metas", metas) + _setter("ocid", ocid) + _setter("resource_type_schema_version", resource_type_schema_version) + _setter("schemas", schemas) + _setter("status", status) + _setter("tags", tags) + _setter("tenancy_ocid", tenancy_ocid) + _setter("users", users) @property @pulumi.getter(name="accessKey") @@ -81370,11 +94249,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: The user's ID. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsMyCustomerSecretKeysMyCustomerSecretKeyIdcsCreatedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -81432,11 +94328,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: The user's ID. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsMyCustomerSecretKeysMyCustomerSecretKeyIdcsLastModifiedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -81494,11 +94407,28 @@ def __init__(__self__, *, :param str resource_type: Name of the resource type of the resource--for example, Users or Groups :param str version: The version of the Resource being returned. This value must be the same as the ETag HTTP response header. """ - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "version", version) + GetDomainsMyCustomerSecretKeysMyCustomerSecretKeyMetaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: str, + last_modified: str, + location: str, + resource_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created", created) + _setter("last_modified", last_modified) + _setter("location", location) + _setter("resource_type", resource_type) + _setter("version", version) @property @pulumi.getter @@ -81550,8 +94480,19 @@ def __init__(__self__, *, :param str key: Key or name of the tag. :param str value: The user's ID. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsMyCustomerSecretKeysMyCustomerSecretKeyTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -81585,11 +94526,28 @@ def __init__(__self__, *, :param str ref: The URI that corresponds to the user linked to this credential. :param str value: The user's ID. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsMyCustomerSecretKeysMyCustomerSecretKeyUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + name=name, + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + name: str, + ocid: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("name", name) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -81641,8 +94599,19 @@ def __init__(__self__, *, :param str key: Key or name of the tag. :param str value: The identifier of the user """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsMyDeviceAdditionalAttributeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -81672,9 +94641,22 @@ def __init__(__self__, *, :param str status: Device Status :param str type: The type of resource, User or App, that modified this Resource """ - pulumi.set(__self__, "public_key", public_key) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "type", type) + GetDomainsMyDeviceAuthenticationFactorResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + public_key=public_key, + status=status, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + public_key: str, + status: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("public_key", public_key) + _setter("status", status) + _setter("type", type) @property @pulumi.getter(name="publicKey") @@ -81716,11 +94698,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: The identifier of the user """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsMyDeviceIdcsCreatedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -81778,11 +94777,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: The identifier of the user """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsMyDeviceIdcsLastModifiedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -81840,11 +94856,28 @@ def __init__(__self__, *, :param str resource_type: Name of the resource type of the resource--for example, Users or Groups :param str version: The version of the Resource being returned. This value must be the same as the ETag HTTP response header. """ - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "version", version) + GetDomainsMyDeviceMetaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: str, + last_modified: str, + location: str, + resource_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created", created) + _setter("last_modified", last_modified) + _setter("location", location) + _setter("resource_type", resource_type) + _setter("version", version) @property @pulumi.getter @@ -81898,9 +94931,22 @@ def __init__(__self__, *, :param str name: Device Compliance name :param str value: The identifier of the user """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + GetDomainsMyDeviceNonComplianceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: str, + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("name", name) + _setter("value", value) @property @pulumi.getter @@ -81936,8 +94982,19 @@ def __init__(__self__, *, :param str ref: The URI that corresponds to the member Resource of this device :param str value: The identifier of the user """ - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsMyDevicePushNotificationTargetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -81965,8 +95022,19 @@ def __init__(__self__, *, :param str key: Key or name of the tag. :param str value: The identifier of the user """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsMyDeviceTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -81998,10 +95066,25 @@ def __init__(__self__, *, :param str third_party_vendor_name: The vendor name of the third party factor :param str value: The identifier of the user """ - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "third_party_factor_type", third_party_factor_type) - pulumi.set(__self__, "third_party_vendor_name", third_party_vendor_name) - pulumi.set(__self__, "value", value) + GetDomainsMyDeviceThirdPartyFactorResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ref=ref, + third_party_factor_type=third_party_factor_type, + third_party_vendor_name=third_party_vendor_name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ref: str, + third_party_factor_type: str, + third_party_vendor_name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ref", ref) + _setter("third_party_factor_type", third_party_factor_type) + _setter("third_party_vendor_name", third_party_vendor_name) + _setter("value", value) @property @pulumi.getter @@ -82049,10 +95132,25 @@ def __init__(__self__, *, :param str ref: The URI that corresponds to the member Resource of this device :param str value: The identifier of the user """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsMyDeviceUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -82181,51 +95279,148 @@ def __init__(__self__, *, :param Sequence['GetDomainsMyDevicesMyDeviceThirdPartyFactorArgs'] third_party_factors: User's third-party authentication factor details :param Sequence['GetDomainsMyDevicesMyDeviceUserArgs'] users: Device member """ - pulumi.set(__self__, "additional_attributes", additional_attributes) - pulumi.set(__self__, "app_version", app_version) - pulumi.set(__self__, "attribute_sets", attribute_sets) - pulumi.set(__self__, "attributes", attributes) - pulumi.set(__self__, "authentication_factors", authentication_factors) - pulumi.set(__self__, "authentication_method", authentication_method) - pulumi.set(__self__, "authorization", authorization) - pulumi.set(__self__, "base_public_key", base_public_key) - pulumi.set(__self__, "compartment_ocid", compartment_ocid) - pulumi.set(__self__, "country_code", country_code) - pulumi.set(__self__, "delete_in_progress", delete_in_progress) - pulumi.set(__self__, "device_type", device_type) - pulumi.set(__self__, "device_uuid", device_uuid) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "domain_ocid", domain_ocid) - pulumi.set(__self__, "expires_on", expires_on) - pulumi.set(__self__, "external_id", external_id) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "idcs_created_bies", idcs_created_bies) - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) - pulumi.set(__self__, "idcs_last_modified_bies", idcs_last_modified_bies) - pulumi.set(__self__, "idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) - pulumi.set(__self__, "idcs_prevented_operations", idcs_prevented_operations) - pulumi.set(__self__, "is_acc_rec_enabled", is_acc_rec_enabled) - pulumi.set(__self__, "is_compliant", is_compliant) - pulumi.set(__self__, "last_sync_time", last_sync_time) - pulumi.set(__self__, "last_validated_time", last_validated_time) - pulumi.set(__self__, "metas", metas) - pulumi.set(__self__, "my_device_id", my_device_id) - pulumi.set(__self__, "non_compliances", non_compliances) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "package_id", package_id) - pulumi.set(__self__, "phone_number", phone_number) - pulumi.set(__self__, "platform", platform) - pulumi.set(__self__, "push_notification_targets", push_notification_targets) - pulumi.set(__self__, "reason", reason) - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) - pulumi.set(__self__, "schemas", schemas) - pulumi.set(__self__, "seed", seed) - pulumi.set(__self__, "seed_dek_id", seed_dek_id) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "tags", tags) - pulumi.set(__self__, "tenancy_ocid", tenancy_ocid) - pulumi.set(__self__, "third_party_factors", third_party_factors) - pulumi.set(__self__, "users", users) + GetDomainsMyDevicesMyDeviceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + additional_attributes=additional_attributes, + app_version=app_version, + attribute_sets=attribute_sets, + attributes=attributes, + authentication_factors=authentication_factors, + authentication_method=authentication_method, + authorization=authorization, + base_public_key=base_public_key, + compartment_ocid=compartment_ocid, + country_code=country_code, + delete_in_progress=delete_in_progress, + device_type=device_type, + device_uuid=device_uuid, + display_name=display_name, + domain_ocid=domain_ocid, + expires_on=expires_on, + external_id=external_id, + id=id, + idcs_created_bies=idcs_created_bies, + idcs_endpoint=idcs_endpoint, + idcs_last_modified_bies=idcs_last_modified_bies, + idcs_last_upgraded_in_release=idcs_last_upgraded_in_release, + idcs_prevented_operations=idcs_prevented_operations, + is_acc_rec_enabled=is_acc_rec_enabled, + is_compliant=is_compliant, + last_sync_time=last_sync_time, + last_validated_time=last_validated_time, + metas=metas, + my_device_id=my_device_id, + non_compliances=non_compliances, + ocid=ocid, + package_id=package_id, + phone_number=phone_number, + platform=platform, + push_notification_targets=push_notification_targets, + reason=reason, + resource_type_schema_version=resource_type_schema_version, + schemas=schemas, + seed=seed, + seed_dek_id=seed_dek_id, + status=status, + tags=tags, + tenancy_ocid=tenancy_ocid, + third_party_factors=third_party_factors, + users=users, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + additional_attributes: Sequence['outputs.GetDomainsMyDevicesMyDeviceAdditionalAttributeResult'], + app_version: str, + attribute_sets: Sequence[str], + attributes: str, + authentication_factors: Sequence['outputs.GetDomainsMyDevicesMyDeviceAuthenticationFactorResult'], + authentication_method: str, + authorization: str, + base_public_key: str, + compartment_ocid: str, + country_code: str, + delete_in_progress: bool, + device_type: str, + device_uuid: str, + display_name: str, + domain_ocid: str, + expires_on: int, + external_id: str, + id: str, + idcs_created_bies: Sequence['outputs.GetDomainsMyDevicesMyDeviceIdcsCreatedByResult'], + idcs_endpoint: str, + idcs_last_modified_bies: Sequence['outputs.GetDomainsMyDevicesMyDeviceIdcsLastModifiedByResult'], + idcs_last_upgraded_in_release: str, + idcs_prevented_operations: Sequence[str], + is_acc_rec_enabled: bool, + is_compliant: bool, + last_sync_time: str, + last_validated_time: str, + metas: Sequence['outputs.GetDomainsMyDevicesMyDeviceMetaResult'], + my_device_id: str, + non_compliances: Sequence['outputs.GetDomainsMyDevicesMyDeviceNonComplianceResult'], + ocid: str, + package_id: str, + phone_number: str, + platform: str, + push_notification_targets: Sequence['outputs.GetDomainsMyDevicesMyDevicePushNotificationTargetResult'], + reason: str, + resource_type_schema_version: str, + schemas: Sequence[str], + seed: str, + seed_dek_id: str, + status: str, + tags: Sequence['outputs.GetDomainsMyDevicesMyDeviceTagResult'], + tenancy_ocid: str, + third_party_factors: Sequence['outputs.GetDomainsMyDevicesMyDeviceThirdPartyFactorResult'], + users: Sequence['outputs.GetDomainsMyDevicesMyDeviceUserResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("additional_attributes", additional_attributes) + _setter("app_version", app_version) + _setter("attribute_sets", attribute_sets) + _setter("attributes", attributes) + _setter("authentication_factors", authentication_factors) + _setter("authentication_method", authentication_method) + _setter("authorization", authorization) + _setter("base_public_key", base_public_key) + _setter("compartment_ocid", compartment_ocid) + _setter("country_code", country_code) + _setter("delete_in_progress", delete_in_progress) + _setter("device_type", device_type) + _setter("device_uuid", device_uuid) + _setter("display_name", display_name) + _setter("domain_ocid", domain_ocid) + _setter("expires_on", expires_on) + _setter("external_id", external_id) + _setter("id", id) + _setter("idcs_created_bies", idcs_created_bies) + _setter("idcs_endpoint", idcs_endpoint) + _setter("idcs_last_modified_bies", idcs_last_modified_bies) + _setter("idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) + _setter("idcs_prevented_operations", idcs_prevented_operations) + _setter("is_acc_rec_enabled", is_acc_rec_enabled) + _setter("is_compliant", is_compliant) + _setter("last_sync_time", last_sync_time) + _setter("last_validated_time", last_validated_time) + _setter("metas", metas) + _setter("my_device_id", my_device_id) + _setter("non_compliances", non_compliances) + _setter("ocid", ocid) + _setter("package_id", package_id) + _setter("phone_number", phone_number) + _setter("platform", platform) + _setter("push_notification_targets", push_notification_targets) + _setter("reason", reason) + _setter("resource_type_schema_version", resource_type_schema_version) + _setter("schemas", schemas) + _setter("seed", seed) + _setter("seed_dek_id", seed_dek_id) + _setter("status", status) + _setter("tags", tags) + _setter("tenancy_ocid", tenancy_ocid) + _setter("third_party_factors", third_party_factors) + _setter("users", users) @property @pulumi.getter(name="additionalAttributes") @@ -82594,8 +95789,19 @@ def __init__(__self__, *, :param str key: Key or name of the tag. :param str value: The identifier of the user """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsMyDevicesMyDeviceAdditionalAttributeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -82625,9 +95831,22 @@ def __init__(__self__, *, :param str status: Device Status :param str type: The type of resource, User or App, that modified this Resource """ - pulumi.set(__self__, "public_key", public_key) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "type", type) + GetDomainsMyDevicesMyDeviceAuthenticationFactorResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + public_key=public_key, + status=status, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + public_key: str, + status: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("public_key", public_key) + _setter("status", status) + _setter("type", type) @property @pulumi.getter(name="publicKey") @@ -82669,11 +95888,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: The identifier of the user """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsMyDevicesMyDeviceIdcsCreatedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -82731,11 +95967,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: The identifier of the user """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsMyDevicesMyDeviceIdcsLastModifiedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -82793,11 +96046,28 @@ def __init__(__self__, *, :param str resource_type: Name of the resource type of the resource--for example, Users or Groups :param str version: The version of the Resource being returned. This value must be the same as the ETag HTTP response header. """ - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "version", version) + GetDomainsMyDevicesMyDeviceMetaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: str, + last_modified: str, + location: str, + resource_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created", created) + _setter("last_modified", last_modified) + _setter("location", location) + _setter("resource_type", resource_type) + _setter("version", version) @property @pulumi.getter @@ -82851,9 +96121,22 @@ def __init__(__self__, *, :param str name: Device Compliance name :param str value: The identifier of the user """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + GetDomainsMyDevicesMyDeviceNonComplianceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: str, + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("name", name) + _setter("value", value) @property @pulumi.getter @@ -82889,8 +96172,19 @@ def __init__(__self__, *, :param str ref: The URI that corresponds to the member Resource of this device :param str value: The identifier of the user """ - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsMyDevicesMyDevicePushNotificationTargetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -82918,8 +96212,19 @@ def __init__(__self__, *, :param str key: Key or name of the tag. :param str value: The identifier of the user """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsMyDevicesMyDeviceTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -82951,10 +96256,25 @@ def __init__(__self__, *, :param str third_party_vendor_name: The vendor name of the third party factor :param str value: The identifier of the user """ - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "third_party_factor_type", third_party_factor_type) - pulumi.set(__self__, "third_party_vendor_name", third_party_vendor_name) - pulumi.set(__self__, "value", value) + GetDomainsMyDevicesMyDeviceThirdPartyFactorResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ref=ref, + third_party_factor_type=third_party_factor_type, + third_party_vendor_name=third_party_vendor_name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ref: str, + third_party_factor_type: str, + third_party_vendor_name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ref", ref) + _setter("third_party_factor_type", third_party_factor_type) + _setter("third_party_vendor_name", third_party_vendor_name) + _setter("value", value) @property @pulumi.getter @@ -83002,10 +96322,25 @@ def __init__(__self__, *, :param str ref: The URI that corresponds to the member Resource of this device :param str value: The identifier of the user """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsMyDevicesMyDeviceUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -83083,25 +96418,70 @@ def __init__(__self__, *, :param Sequence['GetDomainsMyGroupsMyGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupArgs'] urnietfparamsscimschemasoracleidcsextensiongroup_groups: Oracle Identity Cloud Service Group :param Sequence['GetDomainsMyGroupsMyGroupUrnietfparamsscimschemasoracleidcsextensionposixGroupArgs'] urnietfparamsscimschemasoracleidcsextensionposix_groups: POSIX Group extension """ - pulumi.set(__self__, "compartment_ocid", compartment_ocid) - pulumi.set(__self__, "delete_in_progress", delete_in_progress) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "domain_ocid", domain_ocid) - pulumi.set(__self__, "external_id", external_id) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "idcs_created_bies", idcs_created_bies) - pulumi.set(__self__, "idcs_last_modified_bies", idcs_last_modified_bies) - pulumi.set(__self__, "idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) - pulumi.set(__self__, "idcs_prevented_operations", idcs_prevented_operations) - pulumi.set(__self__, "members", members) - pulumi.set(__self__, "metas", metas) - pulumi.set(__self__, "non_unique_display_name", non_unique_display_name) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "schemas", schemas) - pulumi.set(__self__, "tags", tags) - pulumi.set(__self__, "tenancy_ocid", tenancy_ocid) - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensiongroup_groups", urnietfparamsscimschemasoracleidcsextensiongroup_groups) - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionposix_groups", urnietfparamsscimschemasoracleidcsextensionposix_groups) + GetDomainsMyGroupsMyGroupResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_ocid=compartment_ocid, + delete_in_progress=delete_in_progress, + display_name=display_name, + domain_ocid=domain_ocid, + external_id=external_id, + id=id, + idcs_created_bies=idcs_created_bies, + idcs_last_modified_bies=idcs_last_modified_bies, + idcs_last_upgraded_in_release=idcs_last_upgraded_in_release, + idcs_prevented_operations=idcs_prevented_operations, + members=members, + metas=metas, + non_unique_display_name=non_unique_display_name, + ocid=ocid, + schemas=schemas, + tags=tags, + tenancy_ocid=tenancy_ocid, + urnietfparamsscimschemasoracleidcsextensiongroup_groups=urnietfparamsscimschemasoracleidcsextensiongroup_groups, + urnietfparamsscimschemasoracleidcsextensionposix_groups=urnietfparamsscimschemasoracleidcsextensionposix_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_ocid: str, + delete_in_progress: bool, + display_name: str, + domain_ocid: str, + external_id: str, + id: str, + idcs_created_bies: Sequence['outputs.GetDomainsMyGroupsMyGroupIdcsCreatedByResult'], + idcs_last_modified_bies: Sequence['outputs.GetDomainsMyGroupsMyGroupIdcsLastModifiedByResult'], + idcs_last_upgraded_in_release: str, + idcs_prevented_operations: Sequence[str], + members: Sequence['outputs.GetDomainsMyGroupsMyGroupMemberResult'], + metas: Sequence['outputs.GetDomainsMyGroupsMyGroupMetaResult'], + non_unique_display_name: str, + ocid: str, + schemas: Sequence[str], + tags: Sequence['outputs.GetDomainsMyGroupsMyGroupTagResult'], + tenancy_ocid: str, + urnietfparamsscimschemasoracleidcsextensiongroup_groups: Sequence['outputs.GetDomainsMyGroupsMyGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupResult'], + urnietfparamsscimschemasoracleidcsextensionposix_groups: Sequence['outputs.GetDomainsMyGroupsMyGroupUrnietfparamsscimschemasoracleidcsextensionposixGroupResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_ocid", compartment_ocid) + _setter("delete_in_progress", delete_in_progress) + _setter("display_name", display_name) + _setter("domain_ocid", domain_ocid) + _setter("external_id", external_id) + _setter("id", id) + _setter("idcs_created_bies", idcs_created_bies) + _setter("idcs_last_modified_bies", idcs_last_modified_bies) + _setter("idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) + _setter("idcs_prevented_operations", idcs_prevented_operations) + _setter("members", members) + _setter("metas", metas) + _setter("non_unique_display_name", non_unique_display_name) + _setter("ocid", ocid) + _setter("schemas", schemas) + _setter("tags", tags) + _setter("tenancy_ocid", tenancy_ocid) + _setter("urnietfparamsscimschemasoracleidcsextensiongroup_groups", urnietfparamsscimschemasoracleidcsextensiongroup_groups) + _setter("urnietfparamsscimschemasoracleidcsextensionposix_groups", urnietfparamsscimschemasoracleidcsextensionposix_groups) @property @pulumi.getter(name="compartmentOcid") @@ -83271,11 +96651,28 @@ def __init__(__self__, *, :param str type: The type of the entity that created this Group. :param str value: The ID of the App. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsMyGroupsMyGroupIdcsCreatedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -83333,11 +96730,28 @@ def __init__(__self__, *, :param str type: The type of the entity that created this Group. :param str value: The ID of the App. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsMyGroupsMyGroupIdcsLastModifiedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -83401,14 +96815,37 @@ def __init__(__self__, *, :param str type: The type of the entity that created this Group. :param str value: The ID of the App. """ - pulumi.set(__self__, "date_added", date_added) - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "membership_ocid", membership_ocid) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsMyGroupsMyGroupMemberResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + date_added=date_added, + display=display, + membership_ocid=membership_ocid, + name=name, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + date_added: str, + display: str, + membership_ocid: str, + name: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("date_added", date_added) + _setter("display", display) + _setter("membership_ocid", membership_ocid) + _setter("name", name) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter(name="dateAdded") @@ -83490,11 +96927,28 @@ def __init__(__self__, *, :param str resource_type: Name of the resource type of the resource--for example, Users or Groups :param str version: The version of the Resource being returned. This value must be the same as the ETag HTTP response header. """ - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "version", version) + GetDomainsMyGroupsMyGroupMetaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: str, + last_modified: str, + location: str, + resource_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created", created) + _setter("last_modified", last_modified) + _setter("location", location) + _setter("resource_type", resource_type) + _setter("version", version) @property @pulumi.getter @@ -83546,8 +97000,19 @@ def __init__(__self__, *, :param str key: Key or name of the tag. :param str value: The ID of the App. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsMyGroupsMyGroupTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -83585,13 +97050,34 @@ def __init__(__self__, *, :param Sequence['GetDomainsMyGroupsMyGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupPasswordPolicyArgs'] password_policies: Password Policy associated with this Group. :param Sequence['GetDomainsMyGroupsMyGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupSyncedFromAppArgs'] synced_from_apps: The entity that created this Group. """ - pulumi.set(__self__, "app_roles", app_roles) - pulumi.set(__self__, "creation_mechanism", creation_mechanism) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "grants", grants) - pulumi.set(__self__, "owners", owners) - pulumi.set(__self__, "password_policies", password_policies) - pulumi.set(__self__, "synced_from_apps", synced_from_apps) + GetDomainsMyGroupsMyGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + app_roles=app_roles, + creation_mechanism=creation_mechanism, + description=description, + grants=grants, + owners=owners, + password_policies=password_policies, + synced_from_apps=synced_from_apps, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + app_roles: Sequence['outputs.GetDomainsMyGroupsMyGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupAppRoleResult'], + creation_mechanism: str, + description: str, + grants: Sequence['outputs.GetDomainsMyGroupsMyGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupGrantResult'], + owners: Sequence['outputs.GetDomainsMyGroupsMyGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupOwnerResult'], + password_policies: Sequence['outputs.GetDomainsMyGroupsMyGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupPasswordPolicyResult'], + synced_from_apps: Sequence['outputs.GetDomainsMyGroupsMyGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupSyncedFromAppResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("app_roles", app_roles) + _setter("creation_mechanism", creation_mechanism) + _setter("description", description) + _setter("grants", grants) + _setter("owners", owners) + _setter("password_policies", password_policies) + _setter("synced_from_apps", synced_from_apps) @property @pulumi.getter(name="appRoles") @@ -83671,14 +97157,37 @@ def __init__(__self__, *, :param str type: The type of the entity that created this Group. :param str value: The ID of the App. """ - pulumi.set(__self__, "admin_role", admin_role) - pulumi.set(__self__, "app_id", app_id) - pulumi.set(__self__, "app_name", app_name) - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "legacy_group_name", legacy_group_name) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsMyGroupsMyGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupAppRoleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + admin_role=admin_role, + app_id=app_id, + app_name=app_name, + display=display, + legacy_group_name=legacy_group_name, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + admin_role: bool, + app_id: str, + app_name: str, + display: str, + legacy_group_name: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("admin_role", admin_role) + _setter("app_id", app_id) + _setter("app_name", app_name) + _setter("display", display) + _setter("legacy_group_name", legacy_group_name) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter(name="adminRole") @@ -83761,10 +97270,25 @@ def __init__(__self__, *, :param str ref: App URI :param str value: The ID of the App. """ - pulumi.set(__self__, "app_id", app_id) - pulumi.set(__self__, "grant_mechanism", grant_mechanism) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsMyGroupsMyGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupGrantResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + app_id=app_id, + grant_mechanism=grant_mechanism, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + app_id: str, + grant_mechanism: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("app_id", app_id) + _setter("grant_mechanism", grant_mechanism) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter(name="appId") @@ -83815,10 +97339,25 @@ def __init__(__self__, *, :param str type: The type of the entity that created this Group. :param str value: The ID of the App. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsMyGroupsMyGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupOwnerResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -83866,10 +97405,25 @@ def __init__(__self__, *, :param str ref: App URI :param str value: The ID of the App. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "priority", priority) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsMyGroupsMyGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupPasswordPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + priority=priority, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + priority: int, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("priority", priority) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -83917,10 +97471,25 @@ def __init__(__self__, *, :param str type: The type of the entity that created this Group. :param str value: The ID of the App. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsMyGroupsMyGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupSyncedFromAppResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -83962,7 +97531,16 @@ def __init__(__self__, *, """ :param int gid_number: Integer uniquely identifying a group in a POSIX administrative domain """ - pulumi.set(__self__, "gid_number", gid_number) + GetDomainsMyGroupsMyGroupUrnietfparamsscimschemasoracleidcsextensionposixGroupResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + gid_number=gid_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + gid_number: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("gid_number", gid_number) @property @pulumi.getter(name="gidNumber") @@ -83988,11 +97566,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: The user's ID. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsMyOauth2clientCredentialIdcsCreatedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -84050,11 +97645,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: The user's ID. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsMyOauth2clientCredentialIdcsLastModifiedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -84112,11 +97724,28 @@ def __init__(__self__, *, :param str resource_type: Name of the resource type of the resource--for example, Users or Groups :param str version: The version of the Resource being returned. This value must be the same as the ETag HTTP response header. """ - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "version", version) + GetDomainsMyOauth2clientCredentialMetaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: str, + last_modified: str, + location: str, + resource_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created", created) + _setter("last_modified", last_modified) + _setter("location", location) + _setter("resource_type", resource_type) + _setter("version", version) @property @pulumi.getter @@ -84168,8 +97797,19 @@ def __init__(__self__, *, :param str audience: Audience :param str scope: Scope """ - pulumi.set(__self__, "audience", audience) - pulumi.set(__self__, "scope", scope) + GetDomainsMyOauth2clientCredentialScopeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + audience=audience, + scope=scope, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + audience: str, + scope: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("audience", audience) + _setter("scope", scope) @property @pulumi.getter @@ -84197,8 +97837,19 @@ def __init__(__self__, *, :param str key: Key or name of the tag. :param str value: The user's ID. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsMyOauth2clientCredentialTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -84232,11 +97883,28 @@ def __init__(__self__, *, :param str ref: The URI that corresponds to the user linked to this credential. :param str value: The user's ID. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsMyOauth2clientCredentialUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + name=name, + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + name: str, + ocid: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("name", name) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -84330,29 +97998,82 @@ def __init__(__self__, *, :param str tenancy_ocid: Oracle Cloud Infrastructure Tenant Id (ocid) in which the resource lives. :param Sequence['GetDomainsMyOauth2clientCredentialsMyOauth2clientCredentialUserArgs'] users: The user linked to the OAuth2 client credential. """ - pulumi.set(__self__, "authorization", authorization) - pulumi.set(__self__, "compartment_ocid", compartment_ocid) - pulumi.set(__self__, "delete_in_progress", delete_in_progress) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "domain_ocid", domain_ocid) - pulumi.set(__self__, "expires_on", expires_on) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "idcs_created_bies", idcs_created_bies) - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) - pulumi.set(__self__, "idcs_last_modified_bies", idcs_last_modified_bies) - pulumi.set(__self__, "idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) - pulumi.set(__self__, "idcs_prevented_operations", idcs_prevented_operations) - pulumi.set(__self__, "is_reset_secret", is_reset_secret) - pulumi.set(__self__, "metas", metas) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) - pulumi.set(__self__, "schemas", schemas) - pulumi.set(__self__, "scopes", scopes) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "tags", tags) - pulumi.set(__self__, "tenancy_ocid", tenancy_ocid) - pulumi.set(__self__, "users", users) + GetDomainsMyOauth2clientCredentialsMyOauth2clientCredentialResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + authorization=authorization, + compartment_ocid=compartment_ocid, + delete_in_progress=delete_in_progress, + description=description, + domain_ocid=domain_ocid, + expires_on=expires_on, + id=id, + idcs_created_bies=idcs_created_bies, + idcs_endpoint=idcs_endpoint, + idcs_last_modified_bies=idcs_last_modified_bies, + idcs_last_upgraded_in_release=idcs_last_upgraded_in_release, + idcs_prevented_operations=idcs_prevented_operations, + is_reset_secret=is_reset_secret, + metas=metas, + name=name, + ocid=ocid, + resource_type_schema_version=resource_type_schema_version, + schemas=schemas, + scopes=scopes, + status=status, + tags=tags, + tenancy_ocid=tenancy_ocid, + users=users, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + authorization: str, + compartment_ocid: str, + delete_in_progress: bool, + description: str, + domain_ocid: str, + expires_on: str, + id: str, + idcs_created_bies: Sequence['outputs.GetDomainsMyOauth2clientCredentialsMyOauth2clientCredentialIdcsCreatedByResult'], + idcs_endpoint: str, + idcs_last_modified_bies: Sequence['outputs.GetDomainsMyOauth2clientCredentialsMyOauth2clientCredentialIdcsLastModifiedByResult'], + idcs_last_upgraded_in_release: str, + idcs_prevented_operations: Sequence[str], + is_reset_secret: bool, + metas: Sequence['outputs.GetDomainsMyOauth2clientCredentialsMyOauth2clientCredentialMetaResult'], + name: str, + ocid: str, + resource_type_schema_version: str, + schemas: Sequence[str], + scopes: Sequence['outputs.GetDomainsMyOauth2clientCredentialsMyOauth2clientCredentialScopeResult'], + status: str, + tags: Sequence['outputs.GetDomainsMyOauth2clientCredentialsMyOauth2clientCredentialTagResult'], + tenancy_ocid: str, + users: Sequence['outputs.GetDomainsMyOauth2clientCredentialsMyOauth2clientCredentialUserResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("authorization", authorization) + _setter("compartment_ocid", compartment_ocid) + _setter("delete_in_progress", delete_in_progress) + _setter("description", description) + _setter("domain_ocid", domain_ocid) + _setter("expires_on", expires_on) + _setter("id", id) + _setter("idcs_created_bies", idcs_created_bies) + _setter("idcs_endpoint", idcs_endpoint) + _setter("idcs_last_modified_bies", idcs_last_modified_bies) + _setter("idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) + _setter("idcs_prevented_operations", idcs_prevented_operations) + _setter("is_reset_secret", is_reset_secret) + _setter("metas", metas) + _setter("name", name) + _setter("ocid", ocid) + _setter("resource_type_schema_version", resource_type_schema_version) + _setter("schemas", schemas) + _setter("scopes", scopes) + _setter("status", status) + _setter("tags", tags) + _setter("tenancy_ocid", tenancy_ocid) + _setter("users", users) @property @pulumi.getter @@ -84554,11 +98275,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: The user's ID. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsMyOauth2clientCredentialsMyOauth2clientCredentialIdcsCreatedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -84616,11 +98354,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: The user's ID. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsMyOauth2clientCredentialsMyOauth2clientCredentialIdcsLastModifiedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -84678,11 +98433,28 @@ def __init__(__self__, *, :param str resource_type: Name of the resource type of the resource--for example, Users or Groups :param str version: The version of the Resource being returned. This value must be the same as the ETag HTTP response header. """ - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "version", version) + GetDomainsMyOauth2clientCredentialsMyOauth2clientCredentialMetaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: str, + last_modified: str, + location: str, + resource_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created", created) + _setter("last_modified", last_modified) + _setter("location", location) + _setter("resource_type", resource_type) + _setter("version", version) @property @pulumi.getter @@ -84734,8 +98506,19 @@ def __init__(__self__, *, :param str audience: Audience :param str scope: Scope """ - pulumi.set(__self__, "audience", audience) - pulumi.set(__self__, "scope", scope) + GetDomainsMyOauth2clientCredentialsMyOauth2clientCredentialScopeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + audience=audience, + scope=scope, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + audience: str, + scope: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("audience", audience) + _setter("scope", scope) @property @pulumi.getter @@ -84763,8 +98546,19 @@ def __init__(__self__, *, :param str key: Key or name of the tag. :param str value: The user's ID. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsMyOauth2clientCredentialsMyOauth2clientCredentialTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -84798,11 +98592,28 @@ def __init__(__self__, *, :param str ref: The URI that corresponds to the user linked to this credential. :param str value: The user's ID. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsMyOauth2clientCredentialsMyOauth2clientCredentialUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + name=name, + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + name: str, + ocid: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("name", name) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -84888,25 +98699,70 @@ def __init__(__self__, *, :param Sequence['GetDomainsMyRequestableGroupsMyRequestableGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupArgs'] urnietfparamsscimschemasoracleidcsextensiongroup_groups: Oracle Identity Cloud Service Group :param Sequence['GetDomainsMyRequestableGroupsMyRequestableGroupUrnietfparamsscimschemasoracleidcsextensionrequestableGroupArgs'] urnietfparamsscimschemasoracleidcsextensionrequestable_groups: Requestable Group """ - pulumi.set(__self__, "compartment_ocid", compartment_ocid) - pulumi.set(__self__, "delete_in_progress", delete_in_progress) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "domain_ocid", domain_ocid) - pulumi.set(__self__, "external_id", external_id) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "idcs_created_bies", idcs_created_bies) - pulumi.set(__self__, "idcs_last_modified_bies", idcs_last_modified_bies) - pulumi.set(__self__, "idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) - pulumi.set(__self__, "idcs_prevented_operations", idcs_prevented_operations) - pulumi.set(__self__, "members", members) - pulumi.set(__self__, "metas", metas) - pulumi.set(__self__, "non_unique_display_name", non_unique_display_name) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "schemas", schemas) - pulumi.set(__self__, "tags", tags) - pulumi.set(__self__, "tenancy_ocid", tenancy_ocid) - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensiongroup_groups", urnietfparamsscimschemasoracleidcsextensiongroup_groups) - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionrequestable_groups", urnietfparamsscimschemasoracleidcsextensionrequestable_groups) + GetDomainsMyRequestableGroupsMyRequestableGroupResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_ocid=compartment_ocid, + delete_in_progress=delete_in_progress, + display_name=display_name, + domain_ocid=domain_ocid, + external_id=external_id, + id=id, + idcs_created_bies=idcs_created_bies, + idcs_last_modified_bies=idcs_last_modified_bies, + idcs_last_upgraded_in_release=idcs_last_upgraded_in_release, + idcs_prevented_operations=idcs_prevented_operations, + members=members, + metas=metas, + non_unique_display_name=non_unique_display_name, + ocid=ocid, + schemas=schemas, + tags=tags, + tenancy_ocid=tenancy_ocid, + urnietfparamsscimschemasoracleidcsextensiongroup_groups=urnietfparamsscimschemasoracleidcsextensiongroup_groups, + urnietfparamsscimschemasoracleidcsextensionrequestable_groups=urnietfparamsscimschemasoracleidcsextensionrequestable_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_ocid: str, + delete_in_progress: bool, + display_name: str, + domain_ocid: str, + external_id: str, + id: str, + idcs_created_bies: Sequence['outputs.GetDomainsMyRequestableGroupsMyRequestableGroupIdcsCreatedByResult'], + idcs_last_modified_bies: Sequence['outputs.GetDomainsMyRequestableGroupsMyRequestableGroupIdcsLastModifiedByResult'], + idcs_last_upgraded_in_release: str, + idcs_prevented_operations: Sequence[str], + members: Sequence['outputs.GetDomainsMyRequestableGroupsMyRequestableGroupMemberResult'], + metas: Sequence['outputs.GetDomainsMyRequestableGroupsMyRequestableGroupMetaResult'], + non_unique_display_name: str, + ocid: str, + schemas: Sequence[str], + tags: Sequence['outputs.GetDomainsMyRequestableGroupsMyRequestableGroupTagResult'], + tenancy_ocid: str, + urnietfparamsscimschemasoracleidcsextensiongroup_groups: Sequence['outputs.GetDomainsMyRequestableGroupsMyRequestableGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupResult'], + urnietfparamsscimschemasoracleidcsextensionrequestable_groups: Sequence['outputs.GetDomainsMyRequestableGroupsMyRequestableGroupUrnietfparamsscimschemasoracleidcsextensionrequestableGroupResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_ocid", compartment_ocid) + _setter("delete_in_progress", delete_in_progress) + _setter("display_name", display_name) + _setter("domain_ocid", domain_ocid) + _setter("external_id", external_id) + _setter("id", id) + _setter("idcs_created_bies", idcs_created_bies) + _setter("idcs_last_modified_bies", idcs_last_modified_bies) + _setter("idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) + _setter("idcs_prevented_operations", idcs_prevented_operations) + _setter("members", members) + _setter("metas", metas) + _setter("non_unique_display_name", non_unique_display_name) + _setter("ocid", ocid) + _setter("schemas", schemas) + _setter("tags", tags) + _setter("tenancy_ocid", tenancy_ocid) + _setter("urnietfparamsscimschemasoracleidcsextensiongroup_groups", urnietfparamsscimschemasoracleidcsextensiongroup_groups) + _setter("urnietfparamsscimschemasoracleidcsextensionrequestable_groups", urnietfparamsscimschemasoracleidcsextensionrequestable_groups) @property @pulumi.getter(name="compartmentOcid") @@ -85076,11 +98932,28 @@ def __init__(__self__, *, :param str type: The type of the entity that created this Group. :param str value: The ID of the App. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsMyRequestableGroupsMyRequestableGroupIdcsCreatedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -85138,11 +99011,28 @@ def __init__(__self__, *, :param str type: The type of the entity that created this Group. :param str value: The ID of the App. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsMyRequestableGroupsMyRequestableGroupIdcsLastModifiedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -85206,14 +99096,37 @@ def __init__(__self__, *, :param str type: The type of the entity that created this Group. :param str value: The ID of the App. """ - pulumi.set(__self__, "date_added", date_added) - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "membership_ocid", membership_ocid) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsMyRequestableGroupsMyRequestableGroupMemberResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + date_added=date_added, + display=display, + membership_ocid=membership_ocid, + name=name, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + date_added: str, + display: str, + membership_ocid: str, + name: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("date_added", date_added) + _setter("display", display) + _setter("membership_ocid", membership_ocid) + _setter("name", name) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter(name="dateAdded") @@ -85295,11 +99208,28 @@ def __init__(__self__, *, :param str resource_type: Name of the resource type of the resource--for example, Users or Groups :param str version: The version of the Resource being returned. This value must be the same as the ETag HTTP response header. """ - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "version", version) + GetDomainsMyRequestableGroupsMyRequestableGroupMetaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: str, + last_modified: str, + location: str, + resource_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created", created) + _setter("last_modified", last_modified) + _setter("location", location) + _setter("resource_type", resource_type) + _setter("version", version) @property @pulumi.getter @@ -85351,8 +99281,19 @@ def __init__(__self__, *, :param str key: Key or name of the tag. :param str value: The ID of the App. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsMyRequestableGroupsMyRequestableGroupTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -85390,13 +99331,34 @@ def __init__(__self__, *, :param Sequence['GetDomainsMyRequestableGroupsMyRequestableGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupPasswordPolicyArgs'] password_policies: Password Policy associated with this Group. :param Sequence['GetDomainsMyRequestableGroupsMyRequestableGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupSyncedFromAppArgs'] synced_from_apps: The entity that created this Group. """ - pulumi.set(__self__, "app_roles", app_roles) - pulumi.set(__self__, "creation_mechanism", creation_mechanism) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "grants", grants) - pulumi.set(__self__, "owners", owners) - pulumi.set(__self__, "password_policies", password_policies) - pulumi.set(__self__, "synced_from_apps", synced_from_apps) + GetDomainsMyRequestableGroupsMyRequestableGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + app_roles=app_roles, + creation_mechanism=creation_mechanism, + description=description, + grants=grants, + owners=owners, + password_policies=password_policies, + synced_from_apps=synced_from_apps, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + app_roles: Sequence['outputs.GetDomainsMyRequestableGroupsMyRequestableGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupAppRoleResult'], + creation_mechanism: str, + description: str, + grants: Sequence['outputs.GetDomainsMyRequestableGroupsMyRequestableGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupGrantResult'], + owners: Sequence['outputs.GetDomainsMyRequestableGroupsMyRequestableGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupOwnerResult'], + password_policies: Sequence['outputs.GetDomainsMyRequestableGroupsMyRequestableGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupPasswordPolicyResult'], + synced_from_apps: Sequence['outputs.GetDomainsMyRequestableGroupsMyRequestableGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupSyncedFromAppResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("app_roles", app_roles) + _setter("creation_mechanism", creation_mechanism) + _setter("description", description) + _setter("grants", grants) + _setter("owners", owners) + _setter("password_policies", password_policies) + _setter("synced_from_apps", synced_from_apps) @property @pulumi.getter(name="appRoles") @@ -85476,14 +99438,37 @@ def __init__(__self__, *, :param str type: The type of the entity that created this Group. :param str value: The ID of the App. """ - pulumi.set(__self__, "admin_role", admin_role) - pulumi.set(__self__, "app_id", app_id) - pulumi.set(__self__, "app_name", app_name) - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "legacy_group_name", legacy_group_name) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsMyRequestableGroupsMyRequestableGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupAppRoleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + admin_role=admin_role, + app_id=app_id, + app_name=app_name, + display=display, + legacy_group_name=legacy_group_name, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + admin_role: bool, + app_id: str, + app_name: str, + display: str, + legacy_group_name: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("admin_role", admin_role) + _setter("app_id", app_id) + _setter("app_name", app_name) + _setter("display", display) + _setter("legacy_group_name", legacy_group_name) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter(name="adminRole") @@ -85566,10 +99551,25 @@ def __init__(__self__, *, :param str ref: App URI :param str value: The ID of the App. """ - pulumi.set(__self__, "app_id", app_id) - pulumi.set(__self__, "grant_mechanism", grant_mechanism) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsMyRequestableGroupsMyRequestableGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupGrantResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + app_id=app_id, + grant_mechanism=grant_mechanism, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + app_id: str, + grant_mechanism: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("app_id", app_id) + _setter("grant_mechanism", grant_mechanism) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter(name="appId") @@ -85620,10 +99620,25 @@ def __init__(__self__, *, :param str type: The type of the entity that created this Group. :param str value: The ID of the App. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsMyRequestableGroupsMyRequestableGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupOwnerResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -85671,10 +99686,25 @@ def __init__(__self__, *, :param str ref: App URI :param str value: The ID of the App. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "priority", priority) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsMyRequestableGroupsMyRequestableGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupPasswordPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + priority=priority, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + priority: int, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("priority", priority) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -85722,10 +99752,25 @@ def __init__(__self__, *, :param str type: The type of the entity that created this Group. :param str value: The ID of the App. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsMyRequestableGroupsMyRequestableGroupUrnietfparamsscimschemasoracleidcsextensiongroupGroupSyncedFromAppResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -85767,7 +99812,16 @@ def __init__(__self__, *, """ :param bool requestable: Flag controlling whether group membership can be request by user through self service console. """ - pulumi.set(__self__, "requestable", requestable) + GetDomainsMyRequestableGroupsMyRequestableGroupUrnietfparamsscimschemasoracleidcsextensionrequestableGroupResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + requestable=requestable, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + requestable: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("requestable", requestable) @property @pulumi.getter @@ -85817,23 +99871,64 @@ def __init__(__self__, *, :param Sequence['GetDomainsMyRequestsMyRequestTagArgs'] tags: A list of tags on this resource. :param str tenancy_ocid: Oracle Cloud Infrastructure Tenant Id (ocid) in which the resource lives. """ - pulumi.set(__self__, "compartment_ocid", compartment_ocid) - pulumi.set(__self__, "delete_in_progress", delete_in_progress) - pulumi.set(__self__, "domain_ocid", domain_ocid) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "idcs_created_bies", idcs_created_bies) - pulumi.set(__self__, "idcs_last_modified_bies", idcs_last_modified_bies) - pulumi.set(__self__, "idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) - pulumi.set(__self__, "idcs_prevented_operations", idcs_prevented_operations) - pulumi.set(__self__, "justification", justification) - pulumi.set(__self__, "metas", metas) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "requestings", requestings) - pulumi.set(__self__, "requestors", requestors) - pulumi.set(__self__, "schemas", schemas) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "tags", tags) - pulumi.set(__self__, "tenancy_ocid", tenancy_ocid) + GetDomainsMyRequestsMyRequestResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_ocid=compartment_ocid, + delete_in_progress=delete_in_progress, + domain_ocid=domain_ocid, + id=id, + idcs_created_bies=idcs_created_bies, + idcs_last_modified_bies=idcs_last_modified_bies, + idcs_last_upgraded_in_release=idcs_last_upgraded_in_release, + idcs_prevented_operations=idcs_prevented_operations, + justification=justification, + metas=metas, + ocid=ocid, + requestings=requestings, + requestors=requestors, + schemas=schemas, + status=status, + tags=tags, + tenancy_ocid=tenancy_ocid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_ocid: str, + delete_in_progress: bool, + domain_ocid: str, + id: str, + idcs_created_bies: Sequence['outputs.GetDomainsMyRequestsMyRequestIdcsCreatedByResult'], + idcs_last_modified_bies: Sequence['outputs.GetDomainsMyRequestsMyRequestIdcsLastModifiedByResult'], + idcs_last_upgraded_in_release: str, + idcs_prevented_operations: Sequence[str], + justification: str, + metas: Sequence['outputs.GetDomainsMyRequestsMyRequestMetaResult'], + ocid: str, + requestings: Sequence['outputs.GetDomainsMyRequestsMyRequestRequestingResult'], + requestors: Sequence['outputs.GetDomainsMyRequestsMyRequestRequestorResult'], + schemas: Sequence[str], + status: str, + tags: Sequence['outputs.GetDomainsMyRequestsMyRequestTagResult'], + tenancy_ocid: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_ocid", compartment_ocid) + _setter("delete_in_progress", delete_in_progress) + _setter("domain_ocid", domain_ocid) + _setter("id", id) + _setter("idcs_created_bies", idcs_created_bies) + _setter("idcs_last_modified_bies", idcs_last_modified_bies) + _setter("idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) + _setter("idcs_prevented_operations", idcs_prevented_operations) + _setter("justification", justification) + _setter("metas", metas) + _setter("ocid", ocid) + _setter("requestings", requestings) + _setter("requestors", requestors) + _setter("schemas", schemas) + _setter("status", status) + _setter("tags", tags) + _setter("tenancy_ocid", tenancy_ocid) @property @pulumi.getter(name="compartmentOcid") @@ -85987,11 +100082,28 @@ def __init__(__self__, *, :param str type: Requestable type. Allowed values are Group and App. :param str value: Value of the tag. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsMyRequestsMyRequestIdcsCreatedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -86049,11 +100161,28 @@ def __init__(__self__, *, :param str type: Requestable type. Allowed values are Group and App. :param str value: Value of the tag. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsMyRequestsMyRequestIdcsLastModifiedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -86111,11 +100240,28 @@ def __init__(__self__, *, :param str resource_type: Name of the resource type of the resource--for example, Users or Groups :param str version: The version of the Resource being returned. This value must be the same as the ETag HTTP response header. """ - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "version", version) + GetDomainsMyRequestsMyRequestMetaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: str, + last_modified: str, + location: str, + resource_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created", created) + _setter("last_modified", last_modified) + _setter("location", location) + _setter("resource_type", resource_type) + _setter("version", version) @property @pulumi.getter @@ -86171,10 +100317,25 @@ def __init__(__self__, *, :param str type: Requestable type. Allowed values are Group and App. :param str value: Value of the tag. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsMyRequestsMyRequestRequestingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -86220,9 +100381,22 @@ def __init__(__self__, *, :param str ref: User URI :param str value: Value of the tag. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsMyRequestsMyRequestRequestorResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -86258,8 +100432,19 @@ def __init__(__self__, *, :param str key: Key or name of the tag. :param str value: Value of the tag. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsMyRequestsMyRequestTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -86293,11 +100478,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: User's id """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsMySmtpCredentialIdcsCreatedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -86355,11 +100557,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: User's id """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsMySmtpCredentialIdcsLastModifiedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -86417,11 +100636,28 @@ def __init__(__self__, *, :param str resource_type: Name of the resource type of the resource--for example, Users or Groups :param str version: The version of the Resource being returned. This value must be the same as the ETag HTTP response header. """ - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "version", version) + GetDomainsMySmtpCredentialMetaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: str, + last_modified: str, + location: str, + resource_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created", created) + _setter("last_modified", last_modified) + _setter("location", location) + _setter("resource_type", resource_type) + _setter("version", version) @property @pulumi.getter @@ -86473,8 +100709,19 @@ def __init__(__self__, *, :param str key: Key or name of the tag. :param str value: User's id """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsMySmtpCredentialTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -86508,11 +100755,28 @@ def __init__(__self__, *, :param str ref: The URI that corresponds to the user linked to this credential :param str value: User's id """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsMySmtpCredentialUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + name=name, + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + name: str, + ocid: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("name", name) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -86602,27 +100866,76 @@ def __init__(__self__, *, :param str user_name: User name :param Sequence['GetDomainsMySmtpCredentialsMySmtpCredentialUserArgs'] users: User linked to smtp credential """ - pulumi.set(__self__, "authorization", authorization) - pulumi.set(__self__, "compartment_ocid", compartment_ocid) - pulumi.set(__self__, "delete_in_progress", delete_in_progress) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "domain_ocid", domain_ocid) - pulumi.set(__self__, "expires_on", expires_on) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "idcs_created_bies", idcs_created_bies) - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) - pulumi.set(__self__, "idcs_last_modified_bies", idcs_last_modified_bies) - pulumi.set(__self__, "idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) - pulumi.set(__self__, "idcs_prevented_operations", idcs_prevented_operations) - pulumi.set(__self__, "metas", metas) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) - pulumi.set(__self__, "schemas", schemas) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "tags", tags) - pulumi.set(__self__, "tenancy_ocid", tenancy_ocid) - pulumi.set(__self__, "user_name", user_name) - pulumi.set(__self__, "users", users) + GetDomainsMySmtpCredentialsMySmtpCredentialResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + authorization=authorization, + compartment_ocid=compartment_ocid, + delete_in_progress=delete_in_progress, + description=description, + domain_ocid=domain_ocid, + expires_on=expires_on, + id=id, + idcs_created_bies=idcs_created_bies, + idcs_endpoint=idcs_endpoint, + idcs_last_modified_bies=idcs_last_modified_bies, + idcs_last_upgraded_in_release=idcs_last_upgraded_in_release, + idcs_prevented_operations=idcs_prevented_operations, + metas=metas, + ocid=ocid, + resource_type_schema_version=resource_type_schema_version, + schemas=schemas, + status=status, + tags=tags, + tenancy_ocid=tenancy_ocid, + user_name=user_name, + users=users, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + authorization: str, + compartment_ocid: str, + delete_in_progress: bool, + description: str, + domain_ocid: str, + expires_on: str, + id: str, + idcs_created_bies: Sequence['outputs.GetDomainsMySmtpCredentialsMySmtpCredentialIdcsCreatedByResult'], + idcs_endpoint: str, + idcs_last_modified_bies: Sequence['outputs.GetDomainsMySmtpCredentialsMySmtpCredentialIdcsLastModifiedByResult'], + idcs_last_upgraded_in_release: str, + idcs_prevented_operations: Sequence[str], + metas: Sequence['outputs.GetDomainsMySmtpCredentialsMySmtpCredentialMetaResult'], + ocid: str, + resource_type_schema_version: str, + schemas: Sequence[str], + status: str, + tags: Sequence['outputs.GetDomainsMySmtpCredentialsMySmtpCredentialTagResult'], + tenancy_ocid: str, + user_name: str, + users: Sequence['outputs.GetDomainsMySmtpCredentialsMySmtpCredentialUserResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("authorization", authorization) + _setter("compartment_ocid", compartment_ocid) + _setter("delete_in_progress", delete_in_progress) + _setter("description", description) + _setter("domain_ocid", domain_ocid) + _setter("expires_on", expires_on) + _setter("id", id) + _setter("idcs_created_bies", idcs_created_bies) + _setter("idcs_endpoint", idcs_endpoint) + _setter("idcs_last_modified_bies", idcs_last_modified_bies) + _setter("idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) + _setter("idcs_prevented_operations", idcs_prevented_operations) + _setter("metas", metas) + _setter("ocid", ocid) + _setter("resource_type_schema_version", resource_type_schema_version) + _setter("schemas", schemas) + _setter("status", status) + _setter("tags", tags) + _setter("tenancy_ocid", tenancy_ocid) + _setter("user_name", user_name) + _setter("users", users) @property @pulumi.getter @@ -86808,11 +101121,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: User's id """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsMySmtpCredentialsMySmtpCredentialIdcsCreatedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -86870,11 +101200,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: User's id """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsMySmtpCredentialsMySmtpCredentialIdcsLastModifiedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -86932,11 +101279,28 @@ def __init__(__self__, *, :param str resource_type: Name of the resource type of the resource--for example, Users or Groups :param str version: The version of the Resource being returned. This value must be the same as the ETag HTTP response header. """ - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "version", version) + GetDomainsMySmtpCredentialsMySmtpCredentialMetaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: str, + last_modified: str, + location: str, + resource_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created", created) + _setter("last_modified", last_modified) + _setter("location", location) + _setter("resource_type", resource_type) + _setter("version", version) @property @pulumi.getter @@ -86988,8 +101352,19 @@ def __init__(__self__, *, :param str key: Key or name of the tag. :param str value: User's id """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsMySmtpCredentialsMySmtpCredentialTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -87023,11 +101398,28 @@ def __init__(__self__, *, :param str ref: The URI that corresponds to the user linked to this credential :param str value: User's id """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsMySmtpCredentialsMySmtpCredentialUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + name=name, + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + name: str, + ocid: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("name", name) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -87085,11 +101477,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: User's id """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsMySupportAccountIdcsCreatedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -87147,11 +101556,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: User's id """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsMySupportAccountIdcsLastModifiedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -87209,11 +101635,28 @@ def __init__(__self__, *, :param str resource_type: Name of the resource type of the resource--for example, Users or Groups :param str version: The version of the Resource being returned. This value must be the same as the ETag HTTP response header. """ - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "version", version) + GetDomainsMySupportAccountMetaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: str, + last_modified: str, + location: str, + resource_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created", created) + _setter("last_modified", last_modified) + _setter("location", location) + _setter("resource_type", resource_type) + _setter("version", version) @property @pulumi.getter @@ -87265,8 +101708,19 @@ def __init__(__self__, *, :param str key: Key or name of the tag. :param str value: User's id """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsMySupportAccountTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -87300,11 +101754,28 @@ def __init__(__self__, *, :param str ref: The URI that corresponds to the user linked to this Support Account :param str value: User's id """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsMySupportAccountUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + name=name, + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + name: str, + ocid: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("name", name) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -87392,26 +101863,73 @@ def __init__(__self__, *, :param str user_id: User Support User Id :param Sequence['GetDomainsMySupportAccountsMySupportAccountUserArgs'] users: User linked to Support Account """ - pulumi.set(__self__, "authorization", authorization) - pulumi.set(__self__, "compartment_ocid", compartment_ocid) - pulumi.set(__self__, "delete_in_progress", delete_in_progress) - pulumi.set(__self__, "domain_ocid", domain_ocid) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "idcs_created_bies", idcs_created_bies) - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) - pulumi.set(__self__, "idcs_last_modified_bies", idcs_last_modified_bies) - pulumi.set(__self__, "idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) - pulumi.set(__self__, "idcs_prevented_operations", idcs_prevented_operations) - pulumi.set(__self__, "metas", metas) - pulumi.set(__self__, "my_support_account_provider", my_support_account_provider) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) - pulumi.set(__self__, "schemas", schemas) - pulumi.set(__self__, "tags", tags) - pulumi.set(__self__, "tenancy_ocid", tenancy_ocid) - pulumi.set(__self__, "token", token) - pulumi.set(__self__, "user_id", user_id) - pulumi.set(__self__, "users", users) + GetDomainsMySupportAccountsMySupportAccountResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + authorization=authorization, + compartment_ocid=compartment_ocid, + delete_in_progress=delete_in_progress, + domain_ocid=domain_ocid, + id=id, + idcs_created_bies=idcs_created_bies, + idcs_endpoint=idcs_endpoint, + idcs_last_modified_bies=idcs_last_modified_bies, + idcs_last_upgraded_in_release=idcs_last_upgraded_in_release, + idcs_prevented_operations=idcs_prevented_operations, + metas=metas, + my_support_account_provider=my_support_account_provider, + ocid=ocid, + resource_type_schema_version=resource_type_schema_version, + schemas=schemas, + tags=tags, + tenancy_ocid=tenancy_ocid, + token=token, + user_id=user_id, + users=users, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + authorization: str, + compartment_ocid: str, + delete_in_progress: bool, + domain_ocid: str, + id: str, + idcs_created_bies: Sequence['outputs.GetDomainsMySupportAccountsMySupportAccountIdcsCreatedByResult'], + idcs_endpoint: str, + idcs_last_modified_bies: Sequence['outputs.GetDomainsMySupportAccountsMySupportAccountIdcsLastModifiedByResult'], + idcs_last_upgraded_in_release: str, + idcs_prevented_operations: Sequence[str], + metas: Sequence['outputs.GetDomainsMySupportAccountsMySupportAccountMetaResult'], + my_support_account_provider: str, + ocid: str, + resource_type_schema_version: str, + schemas: Sequence[str], + tags: Sequence['outputs.GetDomainsMySupportAccountsMySupportAccountTagResult'], + tenancy_ocid: str, + token: str, + user_id: str, + users: Sequence['outputs.GetDomainsMySupportAccountsMySupportAccountUserResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("authorization", authorization) + _setter("compartment_ocid", compartment_ocid) + _setter("delete_in_progress", delete_in_progress) + _setter("domain_ocid", domain_ocid) + _setter("id", id) + _setter("idcs_created_bies", idcs_created_bies) + _setter("idcs_endpoint", idcs_endpoint) + _setter("idcs_last_modified_bies", idcs_last_modified_bies) + _setter("idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) + _setter("idcs_prevented_operations", idcs_prevented_operations) + _setter("metas", metas) + _setter("my_support_account_provider", my_support_account_provider) + _setter("ocid", ocid) + _setter("resource_type_schema_version", resource_type_schema_version) + _setter("schemas", schemas) + _setter("tags", tags) + _setter("tenancy_ocid", tenancy_ocid) + _setter("token", token) + _setter("user_id", user_id) + _setter("users", users) @property @pulumi.getter @@ -87589,11 +102107,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: User's id """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsMySupportAccountsMySupportAccountIdcsCreatedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -87651,11 +102186,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: User's id """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsMySupportAccountsMySupportAccountIdcsLastModifiedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -87713,11 +102265,28 @@ def __init__(__self__, *, :param str resource_type: Name of the resource type of the resource--for example, Users or Groups :param str version: The version of the Resource being returned. This value must be the same as the ETag HTTP response header. """ - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "version", version) + GetDomainsMySupportAccountsMySupportAccountMetaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: str, + last_modified: str, + location: str, + resource_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created", created) + _setter("last_modified", last_modified) + _setter("location", location) + _setter("resource_type", resource_type) + _setter("version", version) @property @pulumi.getter @@ -87769,8 +102338,19 @@ def __init__(__self__, *, :param str key: Key or name of the tag. :param str value: User's id """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsMySupportAccountsMySupportAccountTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -87804,11 +102384,28 @@ def __init__(__self__, *, :param str ref: The URI that corresponds to the user linked to this Support Account :param str value: User's id """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsMySupportAccountsMySupportAccountUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + name=name, + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + name: str, + ocid: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("name", name) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -87866,11 +102463,28 @@ def __init__(__self__, *, :param str type: Trusted Factor :param str value: The SCIM ID of the user for whom the trust-token was issued. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsMyTrustedUserAgentIdcsCreatedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -87928,11 +102542,28 @@ def __init__(__self__, *, :param str type: Trusted Factor :param str value: The SCIM ID of the user for whom the trust-token was issued. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsMyTrustedUserAgentIdcsLastModifiedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -87990,11 +102621,28 @@ def __init__(__self__, *, :param str resource_type: Name of the resource type of the resource--for example, Users or Groups :param str version: The version of the Resource being returned. This value must be the same as the ETag HTTP response header. """ - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "version", version) + GetDomainsMyTrustedUserAgentMetaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: str, + last_modified: str, + location: str, + resource_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created", created) + _setter("last_modified", last_modified) + _setter("location", location) + _setter("resource_type", resource_type) + _setter("version", version) @property @pulumi.getter @@ -88046,8 +102694,19 @@ def __init__(__self__, *, :param str key: Key or name of the tag. :param str value: The SCIM ID of the user for whom the trust-token was issued. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsMyTrustedUserAgentTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -88077,9 +102736,22 @@ def __init__(__self__, *, :param str creation_time: trust factor creation time :param str type: Trusted Factor """ - pulumi.set(__self__, "category", category) - pulumi.set(__self__, "creation_time", creation_time) - pulumi.set(__self__, "type", type) + GetDomainsMyTrustedUserAgentTrustedFactorResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + category=category, + creation_time=creation_time, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + category: str, + creation_time: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("category", category) + _setter("creation_time", creation_time) + _setter("type", type) @property @pulumi.getter @@ -88119,10 +102791,25 @@ def __init__(__self__, *, :param str ref: Full URI to the user for whom the trust-token was issued. :param str value: The SCIM ID of the user for whom the trust-token was issued. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsMyTrustedUserAgentUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -88217,34 +102904,97 @@ def __init__(__self__, *, :param Sequence['GetDomainsMyTrustedUserAgentsMyTrustedUserAgentTrustedFactorArgs'] trusted_factors: Trusted 2FA Factors :param Sequence['GetDomainsMyTrustedUserAgentsMyTrustedUserAgentUserArgs'] users: user for whom the trust-token was issued """ - pulumi.set(__self__, "attribute_sets", attribute_sets) - pulumi.set(__self__, "attributes", attributes) - pulumi.set(__self__, "authorization", authorization) - pulumi.set(__self__, "compartment_ocid", compartment_ocid) - pulumi.set(__self__, "delete_in_progress", delete_in_progress) - pulumi.set(__self__, "domain_ocid", domain_ocid) - pulumi.set(__self__, "expiry_time", expiry_time) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "idcs_created_bies", idcs_created_bies) - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) - pulumi.set(__self__, "idcs_last_modified_bies", idcs_last_modified_bies) - pulumi.set(__self__, "idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) - pulumi.set(__self__, "idcs_prevented_operations", idcs_prevented_operations) - pulumi.set(__self__, "last_used_on", last_used_on) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "metas", metas) - pulumi.set(__self__, "my_trusted_user_agent_id", my_trusted_user_agent_id) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "platform", platform) - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) - pulumi.set(__self__, "schemas", schemas) - pulumi.set(__self__, "tags", tags) - pulumi.set(__self__, "tenancy_ocid", tenancy_ocid) - pulumi.set(__self__, "token_type", token_type) - pulumi.set(__self__, "trust_token", trust_token) - pulumi.set(__self__, "trusted_factors", trusted_factors) - pulumi.set(__self__, "users", users) + GetDomainsMyTrustedUserAgentsMyTrustedUserAgentResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + attribute_sets=attribute_sets, + attributes=attributes, + authorization=authorization, + compartment_ocid=compartment_ocid, + delete_in_progress=delete_in_progress, + domain_ocid=domain_ocid, + expiry_time=expiry_time, + id=id, + idcs_created_bies=idcs_created_bies, + idcs_endpoint=idcs_endpoint, + idcs_last_modified_bies=idcs_last_modified_bies, + idcs_last_upgraded_in_release=idcs_last_upgraded_in_release, + idcs_prevented_operations=idcs_prevented_operations, + last_used_on=last_used_on, + location=location, + metas=metas, + my_trusted_user_agent_id=my_trusted_user_agent_id, + name=name, + ocid=ocid, + platform=platform, + resource_type_schema_version=resource_type_schema_version, + schemas=schemas, + tags=tags, + tenancy_ocid=tenancy_ocid, + token_type=token_type, + trust_token=trust_token, + trusted_factors=trusted_factors, + users=users, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attribute_sets: Sequence[str], + attributes: str, + authorization: str, + compartment_ocid: str, + delete_in_progress: bool, + domain_ocid: str, + expiry_time: str, + id: str, + idcs_created_bies: Sequence['outputs.GetDomainsMyTrustedUserAgentsMyTrustedUserAgentIdcsCreatedByResult'], + idcs_endpoint: str, + idcs_last_modified_bies: Sequence['outputs.GetDomainsMyTrustedUserAgentsMyTrustedUserAgentIdcsLastModifiedByResult'], + idcs_last_upgraded_in_release: str, + idcs_prevented_operations: Sequence[str], + last_used_on: str, + location: str, + metas: Sequence['outputs.GetDomainsMyTrustedUserAgentsMyTrustedUserAgentMetaResult'], + my_trusted_user_agent_id: str, + name: str, + ocid: str, + platform: str, + resource_type_schema_version: str, + schemas: Sequence[str], + tags: Sequence['outputs.GetDomainsMyTrustedUserAgentsMyTrustedUserAgentTagResult'], + tenancy_ocid: str, + token_type: str, + trust_token: str, + trusted_factors: Sequence['outputs.GetDomainsMyTrustedUserAgentsMyTrustedUserAgentTrustedFactorResult'], + users: Sequence['outputs.GetDomainsMyTrustedUserAgentsMyTrustedUserAgentUserResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("attribute_sets", attribute_sets) + _setter("attributes", attributes) + _setter("authorization", authorization) + _setter("compartment_ocid", compartment_ocid) + _setter("delete_in_progress", delete_in_progress) + _setter("domain_ocid", domain_ocid) + _setter("expiry_time", expiry_time) + _setter("id", id) + _setter("idcs_created_bies", idcs_created_bies) + _setter("idcs_endpoint", idcs_endpoint) + _setter("idcs_last_modified_bies", idcs_last_modified_bies) + _setter("idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) + _setter("idcs_prevented_operations", idcs_prevented_operations) + _setter("last_used_on", last_used_on) + _setter("location", location) + _setter("metas", metas) + _setter("my_trusted_user_agent_id", my_trusted_user_agent_id) + _setter("name", name) + _setter("ocid", ocid) + _setter("platform", platform) + _setter("resource_type_schema_version", resource_type_schema_version) + _setter("schemas", schemas) + _setter("tags", tags) + _setter("tenancy_ocid", tenancy_ocid) + _setter("token_type", token_type) + _setter("trust_token", trust_token) + _setter("trusted_factors", trusted_factors) + _setter("users", users) @property @pulumi.getter(name="attributeSets") @@ -88483,11 +103233,28 @@ def __init__(__self__, *, :param str type: Trusted Factor :param str value: The SCIM ID of the user for whom the trust-token was issued. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsMyTrustedUserAgentsMyTrustedUserAgentIdcsCreatedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -88545,11 +103312,28 @@ def __init__(__self__, *, :param str type: Trusted Factor :param str value: The SCIM ID of the user for whom the trust-token was issued. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsMyTrustedUserAgentsMyTrustedUserAgentIdcsLastModifiedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -88607,11 +103391,28 @@ def __init__(__self__, *, :param str resource_type: Name of the resource type of the resource--for example, Users or Groups :param str version: The version of the Resource being returned. This value must be the same as the ETag HTTP response header. """ - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "version", version) + GetDomainsMyTrustedUserAgentsMyTrustedUserAgentMetaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: str, + last_modified: str, + location: str, + resource_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created", created) + _setter("last_modified", last_modified) + _setter("location", location) + _setter("resource_type", resource_type) + _setter("version", version) @property @pulumi.getter @@ -88663,8 +103464,19 @@ def __init__(__self__, *, :param str key: Key or name of the tag. :param str value: The SCIM ID of the user for whom the trust-token was issued. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsMyTrustedUserAgentsMyTrustedUserAgentTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -88694,9 +103506,22 @@ def __init__(__self__, *, :param str creation_time: trust factor creation time :param str type: Trusted Factor """ - pulumi.set(__self__, "category", category) - pulumi.set(__self__, "creation_time", creation_time) - pulumi.set(__self__, "type", type) + GetDomainsMyTrustedUserAgentsMyTrustedUserAgentTrustedFactorResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + category=category, + creation_time=creation_time, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + category: str, + creation_time: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("category", category) + _setter("creation_time", creation_time) + _setter("type", type) @property @pulumi.getter @@ -88736,10 +103561,25 @@ def __init__(__self__, *, :param str ref: Full URI to the user for whom the trust-token was issued. :param str value: The SCIM ID of the user for whom the trust-token was issued. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsMyTrustedUserAgentsMyTrustedUserAgentUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -88789,11 +103629,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: The user's identifier. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsMyUserDbCredentialIdcsCreatedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -88851,11 +103708,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: The user's identifier. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsMyUserDbCredentialIdcsLastModifiedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -88913,11 +103787,28 @@ def __init__(__self__, *, :param str resource_type: Name of the resource type of the resource--for example, Users or Groups :param str version: The version of the Resource being returned. This value must be the same as the ETag HTTP response header. """ - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "version", version) + GetDomainsMyUserDbCredentialMetaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: str, + last_modified: str, + location: str, + resource_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created", created) + _setter("last_modified", last_modified) + _setter("location", location) + _setter("resource_type", resource_type) + _setter("version", version) @property @pulumi.getter @@ -88969,8 +103860,19 @@ def __init__(__self__, *, :param str key: Key or name of the tag. :param str value: The user's identifier. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsMyUserDbCredentialTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -89004,11 +103906,28 @@ def __init__(__self__, *, :param str ref: The URI that corresponds to the user linked to this credential. :param str value: The user's identifier. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsMyUserDbCredentialUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + name=name, + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + name: str, + ocid: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("name", name) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -89110,33 +104029,94 @@ def __init__(__self__, *, :param str tenancy_ocid: Oracle Cloud Infrastructure Tenant Id (ocid) in which the resource lives. :param Sequence['GetDomainsMyUserDbCredentialsMyUserDbCredentialUserArgs'] users: The user linked to the database credential. """ - pulumi.set(__self__, "authorization", authorization) - pulumi.set(__self__, "compartment_ocid", compartment_ocid) - pulumi.set(__self__, "db_password", db_password) - pulumi.set(__self__, "delete_in_progress", delete_in_progress) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "domain_ocid", domain_ocid) - pulumi.set(__self__, "expired", expired) - pulumi.set(__self__, "expires_on", expires_on) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "idcs_created_bies", idcs_created_bies) - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) - pulumi.set(__self__, "idcs_last_modified_bies", idcs_last_modified_bies) - pulumi.set(__self__, "idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) - pulumi.set(__self__, "idcs_prevented_operations", idcs_prevented_operations) - pulumi.set(__self__, "last_set_date", last_set_date) - pulumi.set(__self__, "metas", metas) - pulumi.set(__self__, "mixed_db_password", mixed_db_password) - pulumi.set(__self__, "mixed_salt", mixed_salt) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) - pulumi.set(__self__, "salt", salt) - pulumi.set(__self__, "schemas", schemas) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "tags", tags) - pulumi.set(__self__, "tenancy_ocid", tenancy_ocid) - pulumi.set(__self__, "users", users) + GetDomainsMyUserDbCredentialsMyUserDbCredentialResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + authorization=authorization, + compartment_ocid=compartment_ocid, + db_password=db_password, + delete_in_progress=delete_in_progress, + description=description, + domain_ocid=domain_ocid, + expired=expired, + expires_on=expires_on, + id=id, + idcs_created_bies=idcs_created_bies, + idcs_endpoint=idcs_endpoint, + idcs_last_modified_bies=idcs_last_modified_bies, + idcs_last_upgraded_in_release=idcs_last_upgraded_in_release, + idcs_prevented_operations=idcs_prevented_operations, + last_set_date=last_set_date, + metas=metas, + mixed_db_password=mixed_db_password, + mixed_salt=mixed_salt, + name=name, + ocid=ocid, + resource_type_schema_version=resource_type_schema_version, + salt=salt, + schemas=schemas, + status=status, + tags=tags, + tenancy_ocid=tenancy_ocid, + users=users, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + authorization: str, + compartment_ocid: str, + db_password: str, + delete_in_progress: bool, + description: str, + domain_ocid: str, + expired: bool, + expires_on: str, + id: str, + idcs_created_bies: Sequence['outputs.GetDomainsMyUserDbCredentialsMyUserDbCredentialIdcsCreatedByResult'], + idcs_endpoint: str, + idcs_last_modified_bies: Sequence['outputs.GetDomainsMyUserDbCredentialsMyUserDbCredentialIdcsLastModifiedByResult'], + idcs_last_upgraded_in_release: str, + idcs_prevented_operations: Sequence[str], + last_set_date: str, + metas: Sequence['outputs.GetDomainsMyUserDbCredentialsMyUserDbCredentialMetaResult'], + mixed_db_password: str, + mixed_salt: str, + name: str, + ocid: str, + resource_type_schema_version: str, + salt: str, + schemas: Sequence[str], + status: str, + tags: Sequence['outputs.GetDomainsMyUserDbCredentialsMyUserDbCredentialTagResult'], + tenancy_ocid: str, + users: Sequence['outputs.GetDomainsMyUserDbCredentialsMyUserDbCredentialUserResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("authorization", authorization) + _setter("compartment_ocid", compartment_ocid) + _setter("db_password", db_password) + _setter("delete_in_progress", delete_in_progress) + _setter("description", description) + _setter("domain_ocid", domain_ocid) + _setter("expired", expired) + _setter("expires_on", expires_on) + _setter("id", id) + _setter("idcs_created_bies", idcs_created_bies) + _setter("idcs_endpoint", idcs_endpoint) + _setter("idcs_last_modified_bies", idcs_last_modified_bies) + _setter("idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) + _setter("idcs_prevented_operations", idcs_prevented_operations) + _setter("last_set_date", last_set_date) + _setter("metas", metas) + _setter("mixed_db_password", mixed_db_password) + _setter("mixed_salt", mixed_salt) + _setter("name", name) + _setter("ocid", ocid) + _setter("resource_type_schema_version", resource_type_schema_version) + _setter("salt", salt) + _setter("schemas", schemas) + _setter("status", status) + _setter("tags", tags) + _setter("tenancy_ocid", tenancy_ocid) + _setter("users", users) @property @pulumi.getter @@ -89370,11 +104350,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: The user's identifier. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsMyUserDbCredentialsMyUserDbCredentialIdcsCreatedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -89432,11 +104429,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: The user's identifier. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsMyUserDbCredentialsMyUserDbCredentialIdcsLastModifiedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -89494,11 +104508,28 @@ def __init__(__self__, *, :param str resource_type: Name of the resource type of the resource--for example, Users or Groups :param str version: The version of the Resource being returned. This value must be the same as the ETag HTTP response header. """ - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "version", version) + GetDomainsMyUserDbCredentialsMyUserDbCredentialMetaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: str, + last_modified: str, + location: str, + resource_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created", created) + _setter("last_modified", last_modified) + _setter("location", location) + _setter("resource_type", resource_type) + _setter("version", version) @property @pulumi.getter @@ -89550,8 +104581,19 @@ def __init__(__self__, *, :param str key: Key or name of the tag. :param str value: The user's identifier. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsMyUserDbCredentialsMyUserDbCredentialTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -89585,11 +104627,28 @@ def __init__(__self__, *, :param str ref: The URI that corresponds to the user linked to this credential. :param str value: The user's identifier. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsMyUserDbCredentialsMyUserDbCredentialUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + name=name, + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + name: str, + ocid: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("name", name) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -89647,11 +104706,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: The user's ID. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsOauth2clientCredentialIdcsCreatedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -89709,11 +104785,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: The user's ID. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsOauth2clientCredentialIdcsLastModifiedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -89771,11 +104864,28 @@ def __init__(__self__, *, :param str resource_type: Name of the resource type of the resource--for example, Users or Groups :param str version: The version of the Resource being returned. This value must be the same as the ETag HTTP response header. """ - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "version", version) + GetDomainsOauth2clientCredentialMetaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: str, + last_modified: str, + location: str, + resource_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created", created) + _setter("last_modified", last_modified) + _setter("location", location) + _setter("resource_type", resource_type) + _setter("version", version) @property @pulumi.getter @@ -89827,8 +104937,19 @@ def __init__(__self__, *, :param str audience: Audience :param str scope: Scope """ - pulumi.set(__self__, "audience", audience) - pulumi.set(__self__, "scope", scope) + GetDomainsOauth2clientCredentialScopeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + audience=audience, + scope=scope, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + audience: str, + scope: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("audience", audience) + _setter("scope", scope) @property @pulumi.getter @@ -89856,8 +104977,19 @@ def __init__(__self__, *, :param str key: Key or name of the tag. :param str value: The user's ID. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsOauth2clientCredentialTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -89883,7 +105015,16 @@ def __init__(__self__, *, """ :param bool allow_self_change: If true, allows requesting user to update themselves. If false, requesting user can't update themself (default). """ - pulumi.set(__self__, "allow_self_change", allow_self_change) + GetDomainsOauth2clientCredentialUrnietfparamsscimschemasoracleidcsextensionselfChangeUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allow_self_change=allow_self_change, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allow_self_change: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allow_self_change", allow_self_change) @property @pulumi.getter(name="allowSelfChange") @@ -89909,11 +105050,28 @@ def __init__(__self__, *, :param str ref: The URI that corresponds to the user linked to this credential. :param str value: The user's ID. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsOauth2clientCredentialUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + name=name, + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + name: str, + ocid: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("name", name) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -90013,32 +105171,91 @@ def __init__(__self__, *, :param Sequence['GetDomainsOauth2clientCredentialsOauth2clientCredentialUrnietfparamsscimschemasoracleidcsextensionselfChangeUserArgs'] urnietfparamsscimschemasoracleidcsextensionself_change_users: Controls whether a user can update themselves or not via User related APIs :param Sequence['GetDomainsOauth2clientCredentialsOauth2clientCredentialUserArgs'] users: The user linked to the OAuth2 client credential. """ - pulumi.set(__self__, "attribute_sets", attribute_sets) - pulumi.set(__self__, "attributes", attributes) - pulumi.set(__self__, "authorization", authorization) - pulumi.set(__self__, "compartment_ocid", compartment_ocid) - pulumi.set(__self__, "delete_in_progress", delete_in_progress) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "domain_ocid", domain_ocid) - pulumi.set(__self__, "expires_on", expires_on) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "idcs_created_bies", idcs_created_bies) - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) - pulumi.set(__self__, "idcs_last_modified_bies", idcs_last_modified_bies) - pulumi.set(__self__, "idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) - pulumi.set(__self__, "idcs_prevented_operations", idcs_prevented_operations) - pulumi.set(__self__, "is_reset_secret", is_reset_secret) - pulumi.set(__self__, "metas", metas) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) - pulumi.set(__self__, "schemas", schemas) - pulumi.set(__self__, "scopes", scopes) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "tags", tags) - pulumi.set(__self__, "tenancy_ocid", tenancy_ocid) - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionself_change_users", urnietfparamsscimschemasoracleidcsextensionself_change_users) - pulumi.set(__self__, "users", users) + GetDomainsOauth2clientCredentialsOauth2clientCredentialResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + attribute_sets=attribute_sets, + attributes=attributes, + authorization=authorization, + compartment_ocid=compartment_ocid, + delete_in_progress=delete_in_progress, + description=description, + domain_ocid=domain_ocid, + expires_on=expires_on, + id=id, + idcs_created_bies=idcs_created_bies, + idcs_endpoint=idcs_endpoint, + idcs_last_modified_bies=idcs_last_modified_bies, + idcs_last_upgraded_in_release=idcs_last_upgraded_in_release, + idcs_prevented_operations=idcs_prevented_operations, + is_reset_secret=is_reset_secret, + metas=metas, + name=name, + ocid=ocid, + resource_type_schema_version=resource_type_schema_version, + schemas=schemas, + scopes=scopes, + status=status, + tags=tags, + tenancy_ocid=tenancy_ocid, + urnietfparamsscimschemasoracleidcsextensionself_change_users=urnietfparamsscimschemasoracleidcsextensionself_change_users, + users=users, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attribute_sets: Sequence[str], + attributes: str, + authorization: str, + compartment_ocid: str, + delete_in_progress: bool, + description: str, + domain_ocid: str, + expires_on: str, + id: str, + idcs_created_bies: Sequence['outputs.GetDomainsOauth2clientCredentialsOauth2clientCredentialIdcsCreatedByResult'], + idcs_endpoint: str, + idcs_last_modified_bies: Sequence['outputs.GetDomainsOauth2clientCredentialsOauth2clientCredentialIdcsLastModifiedByResult'], + idcs_last_upgraded_in_release: str, + idcs_prevented_operations: Sequence[str], + is_reset_secret: bool, + metas: Sequence['outputs.GetDomainsOauth2clientCredentialsOauth2clientCredentialMetaResult'], + name: str, + ocid: str, + resource_type_schema_version: str, + schemas: Sequence[str], + scopes: Sequence['outputs.GetDomainsOauth2clientCredentialsOauth2clientCredentialScopeResult'], + status: str, + tags: Sequence['outputs.GetDomainsOauth2clientCredentialsOauth2clientCredentialTagResult'], + tenancy_ocid: str, + urnietfparamsscimschemasoracleidcsextensionself_change_users: Sequence['outputs.GetDomainsOauth2clientCredentialsOauth2clientCredentialUrnietfparamsscimschemasoracleidcsextensionselfChangeUserResult'], + users: Sequence['outputs.GetDomainsOauth2clientCredentialsOauth2clientCredentialUserResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("attribute_sets", attribute_sets) + _setter("attributes", attributes) + _setter("authorization", authorization) + _setter("compartment_ocid", compartment_ocid) + _setter("delete_in_progress", delete_in_progress) + _setter("description", description) + _setter("domain_ocid", domain_ocid) + _setter("expires_on", expires_on) + _setter("id", id) + _setter("idcs_created_bies", idcs_created_bies) + _setter("idcs_endpoint", idcs_endpoint) + _setter("idcs_last_modified_bies", idcs_last_modified_bies) + _setter("idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) + _setter("idcs_prevented_operations", idcs_prevented_operations) + _setter("is_reset_secret", is_reset_secret) + _setter("metas", metas) + _setter("name", name) + _setter("ocid", ocid) + _setter("resource_type_schema_version", resource_type_schema_version) + _setter("schemas", schemas) + _setter("scopes", scopes) + _setter("status", status) + _setter("tags", tags) + _setter("tenancy_ocid", tenancy_ocid) + _setter("urnietfparamsscimschemasoracleidcsextensionself_change_users", urnietfparamsscimschemasoracleidcsextensionself_change_users) + _setter("users", users) @property @pulumi.getter(name="attributeSets") @@ -90264,11 +105481,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: The user's ID. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsOauth2clientCredentialsOauth2clientCredentialIdcsCreatedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -90326,11 +105560,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: The user's ID. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsOauth2clientCredentialsOauth2clientCredentialIdcsLastModifiedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -90388,11 +105639,28 @@ def __init__(__self__, *, :param str resource_type: Name of the resource type of the resource--for example, Users or Groups :param str version: The version of the Resource being returned. This value must be the same as the ETag HTTP response header. """ - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "version", version) + GetDomainsOauth2clientCredentialsOauth2clientCredentialMetaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: str, + last_modified: str, + location: str, + resource_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created", created) + _setter("last_modified", last_modified) + _setter("location", location) + _setter("resource_type", resource_type) + _setter("version", version) @property @pulumi.getter @@ -90444,8 +105712,19 @@ def __init__(__self__, *, :param str audience: Audience :param str scope: Scope """ - pulumi.set(__self__, "audience", audience) - pulumi.set(__self__, "scope", scope) + GetDomainsOauth2clientCredentialsOauth2clientCredentialScopeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + audience=audience, + scope=scope, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + audience: str, + scope: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("audience", audience) + _setter("scope", scope) @property @pulumi.getter @@ -90473,8 +105752,19 @@ def __init__(__self__, *, :param str key: Key or name of the tag. :param str value: The user's ID. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsOauth2clientCredentialsOauth2clientCredentialTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -90500,7 +105790,16 @@ def __init__(__self__, *, """ :param bool allow_self_change: If true, allows requesting user to update themselves. If false, requesting user can't update themself (default). """ - pulumi.set(__self__, "allow_self_change", allow_self_change) + GetDomainsOauth2clientCredentialsOauth2clientCredentialUrnietfparamsscimschemasoracleidcsextensionselfChangeUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allow_self_change=allow_self_change, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allow_self_change: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allow_self_change", allow_self_change) @property @pulumi.getter(name="allowSelfChange") @@ -90526,11 +105825,28 @@ def __init__(__self__, *, :param str ref: The URI that corresponds to the user linked to this credential. :param str value: The user's ID. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsOauth2clientCredentialsOauth2clientCredentialUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + name=name, + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + name: str, + ocid: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("name", name) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -90690,62 +106006,181 @@ def __init__(__self__, *, :param str tenancy_ocid: Oracle Cloud Infrastructure Tenant Id (ocid) in which the resource lives. :param bool user_name_disallowed: Indicates a sequence of characters that match the username cannot be the password. Password validation against policy will be ignored if length of user name is less than or equal to 3 characters. """ - pulumi.set(__self__, "allowed_chars", allowed_chars) - pulumi.set(__self__, "attribute_sets", attribute_sets) - pulumi.set(__self__, "attributes", attributes) - pulumi.set(__self__, "authorization", authorization) - pulumi.set(__self__, "compartment_ocid", compartment_ocid) - pulumi.set(__self__, "configured_password_policy_rules", configured_password_policy_rules) - pulumi.set(__self__, "delete_in_progress", delete_in_progress) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "dictionary_delimiter", dictionary_delimiter) - pulumi.set(__self__, "dictionary_location", dictionary_location) - pulumi.set(__self__, "dictionary_word_disallowed", dictionary_word_disallowed) - pulumi.set(__self__, "disallowed_chars", disallowed_chars) - pulumi.set(__self__, "disallowed_substrings", disallowed_substrings) - pulumi.set(__self__, "disallowed_user_attribute_values", disallowed_user_attribute_values) - pulumi.set(__self__, "distinct_characters", distinct_characters) - pulumi.set(__self__, "domain_ocid", domain_ocid) - pulumi.set(__self__, "external_id", external_id) - pulumi.set(__self__, "first_name_disallowed", first_name_disallowed) - pulumi.set(__self__, "force_password_reset", force_password_reset) - pulumi.set(__self__, "groups", groups) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "idcs_created_bies", idcs_created_bies) - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) - pulumi.set(__self__, "idcs_last_modified_bies", idcs_last_modified_bies) - pulumi.set(__self__, "idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) - pulumi.set(__self__, "idcs_prevented_operations", idcs_prevented_operations) - pulumi.set(__self__, "last_name_disallowed", last_name_disallowed) - pulumi.set(__self__, "lockout_duration", lockout_duration) - pulumi.set(__self__, "max_incorrect_attempts", max_incorrect_attempts) - pulumi.set(__self__, "max_length", max_length) - pulumi.set(__self__, "max_repeated_chars", max_repeated_chars) - pulumi.set(__self__, "max_special_chars", max_special_chars) - pulumi.set(__self__, "metas", metas) - pulumi.set(__self__, "min_alpha_numerals", min_alpha_numerals) - pulumi.set(__self__, "min_alphas", min_alphas) - pulumi.set(__self__, "min_length", min_length) - pulumi.set(__self__, "min_lower_case", min_lower_case) - pulumi.set(__self__, "min_numerals", min_numerals) - pulumi.set(__self__, "min_password_age", min_password_age) - pulumi.set(__self__, "min_special_chars", min_special_chars) - pulumi.set(__self__, "min_unique_chars", min_unique_chars) - pulumi.set(__self__, "min_upper_case", min_upper_case) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "num_passwords_in_history", num_passwords_in_history) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "password_expire_warning", password_expire_warning) - pulumi.set(__self__, "password_expires_after", password_expires_after) - pulumi.set(__self__, "password_strength", password_strength) - pulumi.set(__self__, "priority", priority) - pulumi.set(__self__, "required_chars", required_chars) - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) - pulumi.set(__self__, "schemas", schemas) - pulumi.set(__self__, "starts_with_alphabet", starts_with_alphabet) - pulumi.set(__self__, "tags", tags) - pulumi.set(__self__, "tenancy_ocid", tenancy_ocid) - pulumi.set(__self__, "user_name_disallowed", user_name_disallowed) + GetDomainsPasswordPoliciesPasswordPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_chars=allowed_chars, + attribute_sets=attribute_sets, + attributes=attributes, + authorization=authorization, + compartment_ocid=compartment_ocid, + configured_password_policy_rules=configured_password_policy_rules, + delete_in_progress=delete_in_progress, + description=description, + dictionary_delimiter=dictionary_delimiter, + dictionary_location=dictionary_location, + dictionary_word_disallowed=dictionary_word_disallowed, + disallowed_chars=disallowed_chars, + disallowed_substrings=disallowed_substrings, + disallowed_user_attribute_values=disallowed_user_attribute_values, + distinct_characters=distinct_characters, + domain_ocid=domain_ocid, + external_id=external_id, + first_name_disallowed=first_name_disallowed, + force_password_reset=force_password_reset, + groups=groups, + id=id, + idcs_created_bies=idcs_created_bies, + idcs_endpoint=idcs_endpoint, + idcs_last_modified_bies=idcs_last_modified_bies, + idcs_last_upgraded_in_release=idcs_last_upgraded_in_release, + idcs_prevented_operations=idcs_prevented_operations, + last_name_disallowed=last_name_disallowed, + lockout_duration=lockout_duration, + max_incorrect_attempts=max_incorrect_attempts, + max_length=max_length, + max_repeated_chars=max_repeated_chars, + max_special_chars=max_special_chars, + metas=metas, + min_alpha_numerals=min_alpha_numerals, + min_alphas=min_alphas, + min_length=min_length, + min_lower_case=min_lower_case, + min_numerals=min_numerals, + min_password_age=min_password_age, + min_special_chars=min_special_chars, + min_unique_chars=min_unique_chars, + min_upper_case=min_upper_case, + name=name, + num_passwords_in_history=num_passwords_in_history, + ocid=ocid, + password_expire_warning=password_expire_warning, + password_expires_after=password_expires_after, + password_strength=password_strength, + priority=priority, + required_chars=required_chars, + resource_type_schema_version=resource_type_schema_version, + schemas=schemas, + starts_with_alphabet=starts_with_alphabet, + tags=tags, + tenancy_ocid=tenancy_ocid, + user_name_disallowed=user_name_disallowed, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_chars: str, + attribute_sets: Sequence[str], + attributes: str, + authorization: str, + compartment_ocid: str, + configured_password_policy_rules: Sequence['outputs.GetDomainsPasswordPoliciesPasswordPolicyConfiguredPasswordPolicyRuleResult'], + delete_in_progress: bool, + description: str, + dictionary_delimiter: str, + dictionary_location: str, + dictionary_word_disallowed: bool, + disallowed_chars: str, + disallowed_substrings: Sequence[str], + disallowed_user_attribute_values: Sequence[str], + distinct_characters: int, + domain_ocid: str, + external_id: str, + first_name_disallowed: bool, + force_password_reset: bool, + groups: Sequence['outputs.GetDomainsPasswordPoliciesPasswordPolicyGroupResult'], + id: str, + idcs_created_bies: Sequence['outputs.GetDomainsPasswordPoliciesPasswordPolicyIdcsCreatedByResult'], + idcs_endpoint: str, + idcs_last_modified_bies: Sequence['outputs.GetDomainsPasswordPoliciesPasswordPolicyIdcsLastModifiedByResult'], + idcs_last_upgraded_in_release: str, + idcs_prevented_operations: Sequence[str], + last_name_disallowed: bool, + lockout_duration: int, + max_incorrect_attempts: int, + max_length: int, + max_repeated_chars: int, + max_special_chars: int, + metas: Sequence['outputs.GetDomainsPasswordPoliciesPasswordPolicyMetaResult'], + min_alpha_numerals: int, + min_alphas: int, + min_length: int, + min_lower_case: int, + min_numerals: int, + min_password_age: int, + min_special_chars: int, + min_unique_chars: int, + min_upper_case: int, + name: str, + num_passwords_in_history: int, + ocid: str, + password_expire_warning: int, + password_expires_after: int, + password_strength: str, + priority: int, + required_chars: str, + resource_type_schema_version: str, + schemas: Sequence[str], + starts_with_alphabet: bool, + tags: Sequence['outputs.GetDomainsPasswordPoliciesPasswordPolicyTagResult'], + tenancy_ocid: str, + user_name_disallowed: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allowed_chars", allowed_chars) + _setter("attribute_sets", attribute_sets) + _setter("attributes", attributes) + _setter("authorization", authorization) + _setter("compartment_ocid", compartment_ocid) + _setter("configured_password_policy_rules", configured_password_policy_rules) + _setter("delete_in_progress", delete_in_progress) + _setter("description", description) + _setter("dictionary_delimiter", dictionary_delimiter) + _setter("dictionary_location", dictionary_location) + _setter("dictionary_word_disallowed", dictionary_word_disallowed) + _setter("disallowed_chars", disallowed_chars) + _setter("disallowed_substrings", disallowed_substrings) + _setter("disallowed_user_attribute_values", disallowed_user_attribute_values) + _setter("distinct_characters", distinct_characters) + _setter("domain_ocid", domain_ocid) + _setter("external_id", external_id) + _setter("first_name_disallowed", first_name_disallowed) + _setter("force_password_reset", force_password_reset) + _setter("groups", groups) + _setter("id", id) + _setter("idcs_created_bies", idcs_created_bies) + _setter("idcs_endpoint", idcs_endpoint) + _setter("idcs_last_modified_bies", idcs_last_modified_bies) + _setter("idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) + _setter("idcs_prevented_operations", idcs_prevented_operations) + _setter("last_name_disallowed", last_name_disallowed) + _setter("lockout_duration", lockout_duration) + _setter("max_incorrect_attempts", max_incorrect_attempts) + _setter("max_length", max_length) + _setter("max_repeated_chars", max_repeated_chars) + _setter("max_special_chars", max_special_chars) + _setter("metas", metas) + _setter("min_alpha_numerals", min_alpha_numerals) + _setter("min_alphas", min_alphas) + _setter("min_length", min_length) + _setter("min_lower_case", min_lower_case) + _setter("min_numerals", min_numerals) + _setter("min_password_age", min_password_age) + _setter("min_special_chars", min_special_chars) + _setter("min_unique_chars", min_unique_chars) + _setter("min_upper_case", min_upper_case) + _setter("name", name) + _setter("num_passwords_in_history", num_passwords_in_history) + _setter("ocid", ocid) + _setter("password_expire_warning", password_expire_warning) + _setter("password_expires_after", password_expires_after) + _setter("password_strength", password_strength) + _setter("priority", priority) + _setter("required_chars", required_chars) + _setter("resource_type_schema_version", resource_type_schema_version) + _setter("schemas", schemas) + _setter("starts_with_alphabet", starts_with_alphabet) + _setter("tags", tags) + _setter("tenancy_ocid", tenancy_ocid) + _setter("user_name_disallowed", user_name_disallowed) @property @pulumi.getter(name="allowedChars") @@ -91205,8 +106640,19 @@ def __init__(__self__, *, :param str key: Key or name of the tag. :param str value: Value of the tag. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsPasswordPoliciesPasswordPolicyConfiguredPasswordPolicyRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -91236,9 +106682,22 @@ def __init__(__self__, *, :param str ref: The URI of the SCIM resource that represents the User or App who modified this Resource :param str value: Value of the tag. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsPasswordPoliciesPasswordPolicyGroupResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -91280,11 +106739,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: Value of the tag. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsPasswordPoliciesPasswordPolicyIdcsCreatedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -91342,11 +106818,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: Value of the tag. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsPasswordPoliciesPasswordPolicyIdcsLastModifiedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -91404,11 +106897,28 @@ def __init__(__self__, *, :param str resource_type: Name of the resource type of the resource--for example, Users or Groups :param str version: The version of the Resource being returned. This value must be the same as the ETag HTTP response header. """ - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "version", version) + GetDomainsPasswordPoliciesPasswordPolicyMetaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: str, + last_modified: str, + location: str, + resource_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created", created) + _setter("last_modified", last_modified) + _setter("location", location) + _setter("resource_type", resource_type) + _setter("version", version) @property @pulumi.getter @@ -91460,8 +106970,19 @@ def __init__(__self__, *, :param str key: Key or name of the tag. :param str value: Value of the tag. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsPasswordPoliciesPasswordPolicyTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -91489,8 +107010,19 @@ def __init__(__self__, *, :param str key: Key or name of the tag. :param str value: Value of the tag. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsPasswordPolicyConfiguredPasswordPolicyRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -91520,9 +107052,22 @@ def __init__(__self__, *, :param str ref: The URI of the SCIM resource that represents the User or App who modified this Resource :param str value: Value of the tag. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsPasswordPolicyGroupResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -91564,11 +107109,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: Value of the tag. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsPasswordPolicyIdcsCreatedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -91626,11 +107188,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: Value of the tag. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsPasswordPolicyIdcsLastModifiedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -91688,11 +107267,28 @@ def __init__(__self__, *, :param str resource_type: Name of the resource type of the resource--for example, Users or Groups :param str version: The version of the Resource being returned. This value must be the same as the ETag HTTP response header. """ - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "version", version) + GetDomainsPasswordPolicyMetaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: str, + last_modified: str, + location: str, + resource_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created", created) + _setter("last_modified", last_modified) + _setter("location", location) + _setter("resource_type", resource_type) + _setter("version", version) @property @pulumi.getter @@ -91744,8 +107340,19 @@ def __init__(__self__, *, :param str key: Key or name of the tag. :param str value: Value of the tag. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsPasswordPolicyTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -91917,76 +107524,223 @@ def __init__(__self__, *, :param str type: The attribute's data type--for example, String :param str uniqueness: A single keyword value that specifies how the Service Provider enforces uniqueness of attribute values. A server MAY reject an invalid value based on uniqueness by returning an HTTP response code of 400 (Bad Request). A client MAY enforce uniqueness on the client side to a greater degree than the Service Provider enforces. For example, a client could make a value unique while the server has the uniqueness of \\"none\\". """ - pulumi.set(__self__, "canonical_values", canonical_values) - pulumi.set(__self__, "case_exact", case_exact) - pulumi.set(__self__, "compartment_ocid", compartment_ocid) - pulumi.set(__self__, "delete_in_progress", delete_in_progress) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "domain_ocid", domain_ocid) - pulumi.set(__self__, "end_user_mutability", end_user_mutability) - pulumi.set(__self__, "end_user_mutability_allowed_values", end_user_mutability_allowed_values) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "idcs_added_since_release_number", idcs_added_since_release_number) - pulumi.set(__self__, "idcs_added_since_version", idcs_added_since_version) - pulumi.set(__self__, "idcs_attribute_cacheable", idcs_attribute_cacheable) - pulumi.set(__self__, "idcs_attribute_mappable", idcs_attribute_mappable) - pulumi.set(__self__, "idcs_auditable", idcs_auditable) - pulumi.set(__self__, "idcs_auto_increment_seq_name", idcs_auto_increment_seq_name) - pulumi.set(__self__, "idcs_canonical_value_source_filter", idcs_canonical_value_source_filter) - pulumi.set(__self__, "idcs_canonical_value_source_resource_type", idcs_canonical_value_source_resource_type) - pulumi.set(__self__, "idcs_composite_keys", idcs_composite_keys) - pulumi.set(__self__, "idcs_created_bies", idcs_created_bies) - pulumi.set(__self__, "idcs_csv_column_header_name", idcs_csv_column_header_name) - pulumi.set(__self__, "idcs_custom_attribute", idcs_custom_attribute) - pulumi.set(__self__, "idcs_deprecated_since_release_number", idcs_deprecated_since_release_number) - pulumi.set(__self__, "idcs_deprecated_since_version", idcs_deprecated_since_version) - pulumi.set(__self__, "idcs_display_name", idcs_display_name) - pulumi.set(__self__, "idcs_display_name_message_id", idcs_display_name_message_id) - pulumi.set(__self__, "idcs_fetch_complex_attribute_values", idcs_fetch_complex_attribute_values) - pulumi.set(__self__, "idcs_from_target_mapper", idcs_from_target_mapper) - pulumi.set(__self__, "idcs_fully_qualified_name", idcs_fully_qualified_name) - pulumi.set(__self__, "idcs_generated", idcs_generated) - pulumi.set(__self__, "idcs_icf_attribute_type", idcs_icf_attribute_type) - pulumi.set(__self__, "idcs_icf_bundle_attribute_name", idcs_icf_bundle_attribute_name) - pulumi.set(__self__, "idcs_icf_required", idcs_icf_required) - pulumi.set(__self__, "idcs_indirect_ref_resource_attributes", idcs_indirect_ref_resource_attributes) - pulumi.set(__self__, "idcs_internal", idcs_internal) - pulumi.set(__self__, "idcs_last_modified_bies", idcs_last_modified_bies) - pulumi.set(__self__, "idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) - pulumi.set(__self__, "idcs_max_length", idcs_max_length) - pulumi.set(__self__, "idcs_max_value", idcs_max_value) - pulumi.set(__self__, "idcs_min_length", idcs_min_length) - pulumi.set(__self__, "idcs_min_value", idcs_min_value) - pulumi.set(__self__, "idcs_multi_language", idcs_multi_language) - pulumi.set(__self__, "idcs_prevented_operations", idcs_prevented_operations) - pulumi.set(__self__, "idcs_ref_resource_attribute", idcs_ref_resource_attribute) - pulumi.set(__self__, "idcs_ref_resource_attributes", idcs_ref_resource_attributes) - pulumi.set(__self__, "idcs_schema_urn", idcs_schema_urn) - pulumi.set(__self__, "idcs_scim_compliant", idcs_scim_compliant) - pulumi.set(__self__, "idcs_searchable", idcs_searchable) - pulumi.set(__self__, "idcs_sensitive", idcs_sensitive) - pulumi.set(__self__, "idcs_target_attribute_name", idcs_target_attribute_name) - pulumi.set(__self__, "idcs_target_attribute_name_to_migrate_from", idcs_target_attribute_name_to_migrate_from) - pulumi.set(__self__, "idcs_target_norm_attribute_name", idcs_target_norm_attribute_name) - pulumi.set(__self__, "idcs_target_unique_constraint_name", idcs_target_unique_constraint_name) - pulumi.set(__self__, "idcs_to_target_mapper", idcs_to_target_mapper) - pulumi.set(__self__, "idcs_trim_string_value", idcs_trim_string_value) - pulumi.set(__self__, "idcs_validate_reference", idcs_validate_reference) - pulumi.set(__self__, "idcs_value_persisted", idcs_value_persisted) - pulumi.set(__self__, "metas", metas) - pulumi.set(__self__, "multi_valued", multi_valued) - pulumi.set(__self__, "mutability", mutability) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "reference_types", reference_types) - pulumi.set(__self__, "required", required) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "returned", returned) - pulumi.set(__self__, "schemas", schemas) - pulumi.set(__self__, "tags", tags) - pulumi.set(__self__, "tenancy_ocid", tenancy_ocid) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "uniqueness", uniqueness) + GetDomainsResourceTypeSchemaAttributesResourceTypeSchemaAttributeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + canonical_values=canonical_values, + case_exact=case_exact, + compartment_ocid=compartment_ocid, + delete_in_progress=delete_in_progress, + description=description, + domain_ocid=domain_ocid, + end_user_mutability=end_user_mutability, + end_user_mutability_allowed_values=end_user_mutability_allowed_values, + id=id, + idcs_added_since_release_number=idcs_added_since_release_number, + idcs_added_since_version=idcs_added_since_version, + idcs_attribute_cacheable=idcs_attribute_cacheable, + idcs_attribute_mappable=idcs_attribute_mappable, + idcs_auditable=idcs_auditable, + idcs_auto_increment_seq_name=idcs_auto_increment_seq_name, + idcs_canonical_value_source_filter=idcs_canonical_value_source_filter, + idcs_canonical_value_source_resource_type=idcs_canonical_value_source_resource_type, + idcs_composite_keys=idcs_composite_keys, + idcs_created_bies=idcs_created_bies, + idcs_csv_column_header_name=idcs_csv_column_header_name, + idcs_custom_attribute=idcs_custom_attribute, + idcs_deprecated_since_release_number=idcs_deprecated_since_release_number, + idcs_deprecated_since_version=idcs_deprecated_since_version, + idcs_display_name=idcs_display_name, + idcs_display_name_message_id=idcs_display_name_message_id, + idcs_fetch_complex_attribute_values=idcs_fetch_complex_attribute_values, + idcs_from_target_mapper=idcs_from_target_mapper, + idcs_fully_qualified_name=idcs_fully_qualified_name, + idcs_generated=idcs_generated, + idcs_icf_attribute_type=idcs_icf_attribute_type, + idcs_icf_bundle_attribute_name=idcs_icf_bundle_attribute_name, + idcs_icf_required=idcs_icf_required, + idcs_indirect_ref_resource_attributes=idcs_indirect_ref_resource_attributes, + idcs_internal=idcs_internal, + idcs_last_modified_bies=idcs_last_modified_bies, + idcs_last_upgraded_in_release=idcs_last_upgraded_in_release, + idcs_max_length=idcs_max_length, + idcs_max_value=idcs_max_value, + idcs_min_length=idcs_min_length, + idcs_min_value=idcs_min_value, + idcs_multi_language=idcs_multi_language, + idcs_prevented_operations=idcs_prevented_operations, + idcs_ref_resource_attribute=idcs_ref_resource_attribute, + idcs_ref_resource_attributes=idcs_ref_resource_attributes, + idcs_schema_urn=idcs_schema_urn, + idcs_scim_compliant=idcs_scim_compliant, + idcs_searchable=idcs_searchable, + idcs_sensitive=idcs_sensitive, + idcs_target_attribute_name=idcs_target_attribute_name, + idcs_target_attribute_name_to_migrate_from=idcs_target_attribute_name_to_migrate_from, + idcs_target_norm_attribute_name=idcs_target_norm_attribute_name, + idcs_target_unique_constraint_name=idcs_target_unique_constraint_name, + idcs_to_target_mapper=idcs_to_target_mapper, + idcs_trim_string_value=idcs_trim_string_value, + idcs_validate_reference=idcs_validate_reference, + idcs_value_persisted=idcs_value_persisted, + metas=metas, + multi_valued=multi_valued, + mutability=mutability, + name=name, + ocid=ocid, + reference_types=reference_types, + required=required, + resource_type=resource_type, + returned=returned, + schemas=schemas, + tags=tags, + tenancy_ocid=tenancy_ocid, + type=type, + uniqueness=uniqueness, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + canonical_values: Sequence[str], + case_exact: bool, + compartment_ocid: str, + delete_in_progress: bool, + description: str, + domain_ocid: str, + end_user_mutability: str, + end_user_mutability_allowed_values: Sequence[str], + id: str, + idcs_added_since_release_number: str, + idcs_added_since_version: int, + idcs_attribute_cacheable: bool, + idcs_attribute_mappable: bool, + idcs_auditable: bool, + idcs_auto_increment_seq_name: str, + idcs_canonical_value_source_filter: str, + idcs_canonical_value_source_resource_type: str, + idcs_composite_keys: Sequence[str], + idcs_created_bies: Sequence['outputs.GetDomainsResourceTypeSchemaAttributesResourceTypeSchemaAttributeIdcsCreatedByResult'], + idcs_csv_column_header_name: str, + idcs_custom_attribute: bool, + idcs_deprecated_since_release_number: str, + idcs_deprecated_since_version: int, + idcs_display_name: str, + idcs_display_name_message_id: str, + idcs_fetch_complex_attribute_values: bool, + idcs_from_target_mapper: str, + idcs_fully_qualified_name: str, + idcs_generated: bool, + idcs_icf_attribute_type: str, + idcs_icf_bundle_attribute_name: str, + idcs_icf_required: bool, + idcs_indirect_ref_resource_attributes: Sequence[str], + idcs_internal: bool, + idcs_last_modified_bies: Sequence['outputs.GetDomainsResourceTypeSchemaAttributesResourceTypeSchemaAttributeIdcsLastModifiedByResult'], + idcs_last_upgraded_in_release: str, + idcs_max_length: int, + idcs_max_value: int, + idcs_min_length: int, + idcs_min_value: int, + idcs_multi_language: bool, + idcs_prevented_operations: Sequence[str], + idcs_ref_resource_attribute: str, + idcs_ref_resource_attributes: Sequence[str], + idcs_schema_urn: str, + idcs_scim_compliant: bool, + idcs_searchable: bool, + idcs_sensitive: str, + idcs_target_attribute_name: str, + idcs_target_attribute_name_to_migrate_from: str, + idcs_target_norm_attribute_name: str, + idcs_target_unique_constraint_name: str, + idcs_to_target_mapper: str, + idcs_trim_string_value: bool, + idcs_validate_reference: bool, + idcs_value_persisted: bool, + metas: Sequence['outputs.GetDomainsResourceTypeSchemaAttributesResourceTypeSchemaAttributeMetaResult'], + multi_valued: bool, + mutability: str, + name: str, + ocid: str, + reference_types: Sequence[str], + required: bool, + resource_type: str, + returned: str, + schemas: Sequence[str], + tags: Sequence['outputs.GetDomainsResourceTypeSchemaAttributesResourceTypeSchemaAttributeTagResult'], + tenancy_ocid: str, + type: str, + uniqueness: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("canonical_values", canonical_values) + _setter("case_exact", case_exact) + _setter("compartment_ocid", compartment_ocid) + _setter("delete_in_progress", delete_in_progress) + _setter("description", description) + _setter("domain_ocid", domain_ocid) + _setter("end_user_mutability", end_user_mutability) + _setter("end_user_mutability_allowed_values", end_user_mutability_allowed_values) + _setter("id", id) + _setter("idcs_added_since_release_number", idcs_added_since_release_number) + _setter("idcs_added_since_version", idcs_added_since_version) + _setter("idcs_attribute_cacheable", idcs_attribute_cacheable) + _setter("idcs_attribute_mappable", idcs_attribute_mappable) + _setter("idcs_auditable", idcs_auditable) + _setter("idcs_auto_increment_seq_name", idcs_auto_increment_seq_name) + _setter("idcs_canonical_value_source_filter", idcs_canonical_value_source_filter) + _setter("idcs_canonical_value_source_resource_type", idcs_canonical_value_source_resource_type) + _setter("idcs_composite_keys", idcs_composite_keys) + _setter("idcs_created_bies", idcs_created_bies) + _setter("idcs_csv_column_header_name", idcs_csv_column_header_name) + _setter("idcs_custom_attribute", idcs_custom_attribute) + _setter("idcs_deprecated_since_release_number", idcs_deprecated_since_release_number) + _setter("idcs_deprecated_since_version", idcs_deprecated_since_version) + _setter("idcs_display_name", idcs_display_name) + _setter("idcs_display_name_message_id", idcs_display_name_message_id) + _setter("idcs_fetch_complex_attribute_values", idcs_fetch_complex_attribute_values) + _setter("idcs_from_target_mapper", idcs_from_target_mapper) + _setter("idcs_fully_qualified_name", idcs_fully_qualified_name) + _setter("idcs_generated", idcs_generated) + _setter("idcs_icf_attribute_type", idcs_icf_attribute_type) + _setter("idcs_icf_bundle_attribute_name", idcs_icf_bundle_attribute_name) + _setter("idcs_icf_required", idcs_icf_required) + _setter("idcs_indirect_ref_resource_attributes", idcs_indirect_ref_resource_attributes) + _setter("idcs_internal", idcs_internal) + _setter("idcs_last_modified_bies", idcs_last_modified_bies) + _setter("idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) + _setter("idcs_max_length", idcs_max_length) + _setter("idcs_max_value", idcs_max_value) + _setter("idcs_min_length", idcs_min_length) + _setter("idcs_min_value", idcs_min_value) + _setter("idcs_multi_language", idcs_multi_language) + _setter("idcs_prevented_operations", idcs_prevented_operations) + _setter("idcs_ref_resource_attribute", idcs_ref_resource_attribute) + _setter("idcs_ref_resource_attributes", idcs_ref_resource_attributes) + _setter("idcs_schema_urn", idcs_schema_urn) + _setter("idcs_scim_compliant", idcs_scim_compliant) + _setter("idcs_searchable", idcs_searchable) + _setter("idcs_sensitive", idcs_sensitive) + _setter("idcs_target_attribute_name", idcs_target_attribute_name) + _setter("idcs_target_attribute_name_to_migrate_from", idcs_target_attribute_name_to_migrate_from) + _setter("idcs_target_norm_attribute_name", idcs_target_norm_attribute_name) + _setter("idcs_target_unique_constraint_name", idcs_target_unique_constraint_name) + _setter("idcs_to_target_mapper", idcs_to_target_mapper) + _setter("idcs_trim_string_value", idcs_trim_string_value) + _setter("idcs_validate_reference", idcs_validate_reference) + _setter("idcs_value_persisted", idcs_value_persisted) + _setter("metas", metas) + _setter("multi_valued", multi_valued) + _setter("mutability", mutability) + _setter("name", name) + _setter("ocid", ocid) + _setter("reference_types", reference_types) + _setter("required", required) + _setter("resource_type", resource_type) + _setter("returned", returned) + _setter("schemas", schemas) + _setter("tags", tags) + _setter("tenancy_ocid", tenancy_ocid) + _setter("type", type) + _setter("uniqueness", uniqueness) @property @pulumi.getter(name="canonicalValues") @@ -92572,11 +108326,28 @@ def __init__(__self__, *, :param str type: The attribute's data type--for example, String :param str value: Value of the tag. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsResourceTypeSchemaAttributesResourceTypeSchemaAttributeIdcsCreatedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -92634,11 +108405,28 @@ def __init__(__self__, *, :param str type: The attribute's data type--for example, String :param str value: Value of the tag. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsResourceTypeSchemaAttributesResourceTypeSchemaAttributeIdcsLastModifiedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -92696,11 +108484,28 @@ def __init__(__self__, *, :param str resource_type: ResourceType this attribute belongs to. :param str version: The version of the Resource being returned. This value must be the same as the ETag HTTP response header. """ - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "version", version) + GetDomainsResourceTypeSchemaAttributesResourceTypeSchemaAttributeMetaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: str, + last_modified: str, + location: str, + resource_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created", created) + _setter("last_modified", last_modified) + _setter("location", location) + _setter("resource_type", resource_type) + _setter("version", version) @property @pulumi.getter @@ -92752,8 +108557,19 @@ def __init__(__self__, *, :param str key: Key or name of the tag. :param str value: Value of the tag. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsResourceTypeSchemaAttributesResourceTypeSchemaAttributeTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -92787,11 +108603,28 @@ def __init__(__self__, *, :param str type: This indicates if the question is a Custom Question added by the Security Admin. :param str value: Value of the tag. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsSecurityQuestionIdcsCreatedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -92849,11 +108682,28 @@ def __init__(__self__, *, :param str type: This indicates if the question is a Custom Question added by the Security Admin. :param str value: Value of the tag. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsSecurityQuestionIdcsLastModifiedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -92911,11 +108761,28 @@ def __init__(__self__, *, :param str resource_type: Name of the resource type of the resource--for example, Users or Groups :param str version: The version of the Resource being returned. This value must be the same as the ETag HTTP response header. """ - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "version", version) + GetDomainsSecurityQuestionMetaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: str, + last_modified: str, + location: str, + resource_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created", created) + _setter("last_modified", last_modified) + _setter("location", location) + _setter("resource_type", resource_type) + _setter("version", version) @property @pulumi.getter @@ -92969,9 +108836,22 @@ def __init__(__self__, *, :param str locale: The locale :param str value: Value of the tag. """ - pulumi.set(__self__, "default", default) - pulumi.set(__self__, "locale", locale) - pulumi.set(__self__, "value", value) + GetDomainsSecurityQuestionQuestionTextResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + default=default, + locale=locale, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + default: bool, + locale: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("default", default) + _setter("locale", locale) + _setter("value", value) @property @pulumi.getter @@ -93013,11 +108893,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: Value of the tag. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsSecurityQuestionSettingIdcsCreatedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -93075,11 +108972,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: Value of the tag. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsSecurityQuestionSettingIdcsLastModifiedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -93137,11 +109051,28 @@ def __init__(__self__, *, :param str resource_type: Name of the resource type of the resource--for example, Users or Groups :param str version: The version of the Resource being returned. This value must be the same as the ETag HTTP response header. """ - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "version", version) + GetDomainsSecurityQuestionSettingMetaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: str, + last_modified: str, + location: str, + resource_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created", created) + _setter("last_modified", last_modified) + _setter("location", location) + _setter("resource_type", resource_type) + _setter("version", version) @property @pulumi.getter @@ -93193,8 +109124,19 @@ def __init__(__self__, *, :param str key: Key or name of the tag. :param str value: Value of the tag. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsSecurityQuestionSettingTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -93265,30 +109207,85 @@ def __init__(__self__, *, :param Sequence['GetDomainsSecurityQuestionSettingsSecurityQuestionSettingTagArgs'] tags: A list of tags on this resource. :param str tenancy_ocid: Oracle Cloud Infrastructure Tenant Id (ocid) in which the resource lives. """ - pulumi.set(__self__, "attribute_sets", attribute_sets) - pulumi.set(__self__, "attributes", attributes) - pulumi.set(__self__, "authorization", authorization) - pulumi.set(__self__, "compartment_ocid", compartment_ocid) - pulumi.set(__self__, "delete_in_progress", delete_in_progress) - pulumi.set(__self__, "domain_ocid", domain_ocid) - pulumi.set(__self__, "external_id", external_id) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "idcs_created_bies", idcs_created_bies) - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) - pulumi.set(__self__, "idcs_last_modified_bies", idcs_last_modified_bies) - pulumi.set(__self__, "idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) - pulumi.set(__self__, "idcs_prevented_operations", idcs_prevented_operations) - pulumi.set(__self__, "max_field_length", max_field_length) - pulumi.set(__self__, "metas", metas) - pulumi.set(__self__, "min_answer_length", min_answer_length) - pulumi.set(__self__, "num_questions_to_ans", num_questions_to_ans) - pulumi.set(__self__, "num_questions_to_setup", num_questions_to_setup) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) - pulumi.set(__self__, "schemas", schemas) - pulumi.set(__self__, "security_question_setting_id", security_question_setting_id) - pulumi.set(__self__, "tags", tags) - pulumi.set(__self__, "tenancy_ocid", tenancy_ocid) + GetDomainsSecurityQuestionSettingsSecurityQuestionSettingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + attribute_sets=attribute_sets, + attributes=attributes, + authorization=authorization, + compartment_ocid=compartment_ocid, + delete_in_progress=delete_in_progress, + domain_ocid=domain_ocid, + external_id=external_id, + id=id, + idcs_created_bies=idcs_created_bies, + idcs_endpoint=idcs_endpoint, + idcs_last_modified_bies=idcs_last_modified_bies, + idcs_last_upgraded_in_release=idcs_last_upgraded_in_release, + idcs_prevented_operations=idcs_prevented_operations, + max_field_length=max_field_length, + metas=metas, + min_answer_length=min_answer_length, + num_questions_to_ans=num_questions_to_ans, + num_questions_to_setup=num_questions_to_setup, + ocid=ocid, + resource_type_schema_version=resource_type_schema_version, + schemas=schemas, + security_question_setting_id=security_question_setting_id, + tags=tags, + tenancy_ocid=tenancy_ocid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attribute_sets: Sequence[str], + attributes: str, + authorization: str, + compartment_ocid: str, + delete_in_progress: bool, + domain_ocid: str, + external_id: str, + id: str, + idcs_created_bies: Sequence['outputs.GetDomainsSecurityQuestionSettingsSecurityQuestionSettingIdcsCreatedByResult'], + idcs_endpoint: str, + idcs_last_modified_bies: Sequence['outputs.GetDomainsSecurityQuestionSettingsSecurityQuestionSettingIdcsLastModifiedByResult'], + idcs_last_upgraded_in_release: str, + idcs_prevented_operations: Sequence[str], + max_field_length: int, + metas: Sequence['outputs.GetDomainsSecurityQuestionSettingsSecurityQuestionSettingMetaResult'], + min_answer_length: int, + num_questions_to_ans: int, + num_questions_to_setup: int, + ocid: str, + resource_type_schema_version: str, + schemas: Sequence[str], + security_question_setting_id: str, + tags: Sequence['outputs.GetDomainsSecurityQuestionSettingsSecurityQuestionSettingTagResult'], + tenancy_ocid: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("attribute_sets", attribute_sets) + _setter("attributes", attributes) + _setter("authorization", authorization) + _setter("compartment_ocid", compartment_ocid) + _setter("delete_in_progress", delete_in_progress) + _setter("domain_ocid", domain_ocid) + _setter("external_id", external_id) + _setter("id", id) + _setter("idcs_created_bies", idcs_created_bies) + _setter("idcs_endpoint", idcs_endpoint) + _setter("idcs_last_modified_bies", idcs_last_modified_bies) + _setter("idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) + _setter("idcs_prevented_operations", idcs_prevented_operations) + _setter("max_field_length", max_field_length) + _setter("metas", metas) + _setter("min_answer_length", min_answer_length) + _setter("num_questions_to_ans", num_questions_to_ans) + _setter("num_questions_to_setup", num_questions_to_setup) + _setter("ocid", ocid) + _setter("resource_type_schema_version", resource_type_schema_version) + _setter("schemas", schemas) + _setter("security_question_setting_id", security_question_setting_id) + _setter("tags", tags) + _setter("tenancy_ocid", tenancy_ocid) @property @pulumi.getter(name="attributeSets") @@ -93495,11 +109492,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: Value of the tag. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsSecurityQuestionSettingsSecurityQuestionSettingIdcsCreatedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -93557,11 +109571,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: Value of the tag. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsSecurityQuestionSettingsSecurityQuestionSettingIdcsLastModifiedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -93619,11 +109650,28 @@ def __init__(__self__, *, :param str resource_type: Name of the resource type of the resource--for example, Users or Groups :param str version: The version of the Resource being returned. This value must be the same as the ETag HTTP response header. """ - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "version", version) + GetDomainsSecurityQuestionSettingsSecurityQuestionSettingMetaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: str, + last_modified: str, + location: str, + resource_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created", created) + _setter("last_modified", last_modified) + _setter("location", location) + _setter("resource_type", resource_type) + _setter("version", version) @property @pulumi.getter @@ -93675,8 +109723,19 @@ def __init__(__self__, *, :param str key: Key or name of the tag. :param str value: Value of the tag. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsSecurityQuestionSettingsSecurityQuestionSettingTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -93704,8 +109763,19 @@ def __init__(__self__, *, :param str key: Key or name of the tag. :param str value: Value of the tag. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsSecurityQuestionTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -93773,28 +109843,79 @@ def __init__(__self__, *, :param str tenancy_ocid: Oracle Cloud Infrastructure Tenant Id (ocid) in which the resource lives. :param str type: This indicates if the question is a Custom Question added by the Security Admin. """ - pulumi.set(__self__, "active", active) - pulumi.set(__self__, "attribute_sets", attribute_sets) - pulumi.set(__self__, "attributes", attributes) - pulumi.set(__self__, "authorization", authorization) - pulumi.set(__self__, "compartment_ocid", compartment_ocid) - pulumi.set(__self__, "delete_in_progress", delete_in_progress) - pulumi.set(__self__, "domain_ocid", domain_ocid) - pulumi.set(__self__, "external_id", external_id) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "idcs_created_bies", idcs_created_bies) - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) - pulumi.set(__self__, "idcs_last_modified_bies", idcs_last_modified_bies) - pulumi.set(__self__, "idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) - pulumi.set(__self__, "idcs_prevented_operations", idcs_prevented_operations) - pulumi.set(__self__, "metas", metas) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "question_texts", question_texts) - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) - pulumi.set(__self__, "schemas", schemas) - pulumi.set(__self__, "tags", tags) - pulumi.set(__self__, "tenancy_ocid", tenancy_ocid) - pulumi.set(__self__, "type", type) + GetDomainsSecurityQuestionsSecurityQuestionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + active=active, + attribute_sets=attribute_sets, + attributes=attributes, + authorization=authorization, + compartment_ocid=compartment_ocid, + delete_in_progress=delete_in_progress, + domain_ocid=domain_ocid, + external_id=external_id, + id=id, + idcs_created_bies=idcs_created_bies, + idcs_endpoint=idcs_endpoint, + idcs_last_modified_bies=idcs_last_modified_bies, + idcs_last_upgraded_in_release=idcs_last_upgraded_in_release, + idcs_prevented_operations=idcs_prevented_operations, + metas=metas, + ocid=ocid, + question_texts=question_texts, + resource_type_schema_version=resource_type_schema_version, + schemas=schemas, + tags=tags, + tenancy_ocid=tenancy_ocid, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + active: bool, + attribute_sets: Sequence[str], + attributes: str, + authorization: str, + compartment_ocid: str, + delete_in_progress: bool, + domain_ocid: str, + external_id: str, + id: str, + idcs_created_bies: Sequence['outputs.GetDomainsSecurityQuestionsSecurityQuestionIdcsCreatedByResult'], + idcs_endpoint: str, + idcs_last_modified_bies: Sequence['outputs.GetDomainsSecurityQuestionsSecurityQuestionIdcsLastModifiedByResult'], + idcs_last_upgraded_in_release: str, + idcs_prevented_operations: Sequence[str], + metas: Sequence['outputs.GetDomainsSecurityQuestionsSecurityQuestionMetaResult'], + ocid: str, + question_texts: Sequence['outputs.GetDomainsSecurityQuestionsSecurityQuestionQuestionTextResult'], + resource_type_schema_version: str, + schemas: Sequence[str], + tags: Sequence['outputs.GetDomainsSecurityQuestionsSecurityQuestionTagResult'], + tenancy_ocid: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("active", active) + _setter("attribute_sets", attribute_sets) + _setter("attributes", attributes) + _setter("authorization", authorization) + _setter("compartment_ocid", compartment_ocid) + _setter("delete_in_progress", delete_in_progress) + _setter("domain_ocid", domain_ocid) + _setter("external_id", external_id) + _setter("id", id) + _setter("idcs_created_bies", idcs_created_bies) + _setter("idcs_endpoint", idcs_endpoint) + _setter("idcs_last_modified_bies", idcs_last_modified_bies) + _setter("idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) + _setter("idcs_prevented_operations", idcs_prevented_operations) + _setter("metas", metas) + _setter("ocid", ocid) + _setter("question_texts", question_texts) + _setter("resource_type_schema_version", resource_type_schema_version) + _setter("schemas", schemas) + _setter("tags", tags) + _setter("tenancy_ocid", tenancy_ocid) + _setter("type", type) @property @pulumi.getter @@ -93988,11 +110109,28 @@ def __init__(__self__, *, :param str type: This indicates if the question is a Custom Question added by the Security Admin. :param str value: Value of the tag. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsSecurityQuestionsSecurityQuestionIdcsCreatedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -94050,11 +110188,28 @@ def __init__(__self__, *, :param str type: This indicates if the question is a Custom Question added by the Security Admin. :param str value: Value of the tag. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsSecurityQuestionsSecurityQuestionIdcsLastModifiedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -94112,11 +110267,28 @@ def __init__(__self__, *, :param str resource_type: Name of the resource type of the resource--for example, Users or Groups :param str version: The version of the Resource being returned. This value must be the same as the ETag HTTP response header. """ - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "version", version) + GetDomainsSecurityQuestionsSecurityQuestionMetaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: str, + last_modified: str, + location: str, + resource_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created", created) + _setter("last_modified", last_modified) + _setter("location", location) + _setter("resource_type", resource_type) + _setter("version", version) @property @pulumi.getter @@ -94170,9 +110342,22 @@ def __init__(__self__, *, :param str locale: The locale :param str value: Value of the tag. """ - pulumi.set(__self__, "default", default) - pulumi.set(__self__, "locale", locale) - pulumi.set(__self__, "value", value) + GetDomainsSecurityQuestionsSecurityQuestionQuestionTextResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + default=default, + locale=locale, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + default: bool, + locale: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("default", default) + _setter("locale", locale) + _setter("value", value) @property @pulumi.getter @@ -94208,8 +110393,19 @@ def __init__(__self__, *, :param str key: Key or name of the tag. :param str value: Value of the tag. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsSecurityQuestionsSecurityQuestionTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -94243,11 +110439,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: User's id """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsSmtpCredentialIdcsCreatedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -94305,11 +110518,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: User's id """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsSmtpCredentialIdcsLastModifiedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -94367,11 +110597,28 @@ def __init__(__self__, *, :param str resource_type: Name of the resource type of the resource--for example, Users or Groups :param str version: The version of the Resource being returned. This value must be the same as the ETag HTTP response header. """ - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "version", version) + GetDomainsSmtpCredentialMetaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: str, + last_modified: str, + location: str, + resource_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created", created) + _setter("last_modified", last_modified) + _setter("location", location) + _setter("resource_type", resource_type) + _setter("version", version) @property @pulumi.getter @@ -94423,8 +110670,19 @@ def __init__(__self__, *, :param str key: Key or name of the tag. :param str value: User's id """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsSmtpCredentialTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -94450,7 +110708,16 @@ def __init__(__self__, *, """ :param bool allow_self_change: If true, allows requesting user to update themselves. If false, requesting user can't update themself (default). """ - pulumi.set(__self__, "allow_self_change", allow_self_change) + GetDomainsSmtpCredentialUrnietfparamsscimschemasoracleidcsextensionselfChangeUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allow_self_change=allow_self_change, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allow_self_change: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allow_self_change", allow_self_change) @property @pulumi.getter(name="allowSelfChange") @@ -94476,11 +110743,28 @@ def __init__(__self__, *, :param str ref: The URI that corresponds to the user linked to this credential :param str value: User's id """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsSmtpCredentialUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + name=name, + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + name: str, + ocid: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("name", name) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -94576,30 +110860,85 @@ def __init__(__self__, *, :param str user_name: User name :param Sequence['GetDomainsSmtpCredentialsSmtpCredentialUserArgs'] users: User linked to smtp credential """ - pulumi.set(__self__, "attribute_sets", attribute_sets) - pulumi.set(__self__, "attributes", attributes) - pulumi.set(__self__, "authorization", authorization) - pulumi.set(__self__, "compartment_ocid", compartment_ocid) - pulumi.set(__self__, "delete_in_progress", delete_in_progress) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "domain_ocid", domain_ocid) - pulumi.set(__self__, "expires_on", expires_on) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "idcs_created_bies", idcs_created_bies) - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) - pulumi.set(__self__, "idcs_last_modified_bies", idcs_last_modified_bies) - pulumi.set(__self__, "idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) - pulumi.set(__self__, "idcs_prevented_operations", idcs_prevented_operations) - pulumi.set(__self__, "metas", metas) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) - pulumi.set(__self__, "schemas", schemas) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "tags", tags) - pulumi.set(__self__, "tenancy_ocid", tenancy_ocid) - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionself_change_users", urnietfparamsscimschemasoracleidcsextensionself_change_users) - pulumi.set(__self__, "user_name", user_name) - pulumi.set(__self__, "users", users) + GetDomainsSmtpCredentialsSmtpCredentialResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + attribute_sets=attribute_sets, + attributes=attributes, + authorization=authorization, + compartment_ocid=compartment_ocid, + delete_in_progress=delete_in_progress, + description=description, + domain_ocid=domain_ocid, + expires_on=expires_on, + id=id, + idcs_created_bies=idcs_created_bies, + idcs_endpoint=idcs_endpoint, + idcs_last_modified_bies=idcs_last_modified_bies, + idcs_last_upgraded_in_release=idcs_last_upgraded_in_release, + idcs_prevented_operations=idcs_prevented_operations, + metas=metas, + ocid=ocid, + resource_type_schema_version=resource_type_schema_version, + schemas=schemas, + status=status, + tags=tags, + tenancy_ocid=tenancy_ocid, + urnietfparamsscimschemasoracleidcsextensionself_change_users=urnietfparamsscimschemasoracleidcsextensionself_change_users, + user_name=user_name, + users=users, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attribute_sets: Sequence[str], + attributes: str, + authorization: str, + compartment_ocid: str, + delete_in_progress: bool, + description: str, + domain_ocid: str, + expires_on: str, + id: str, + idcs_created_bies: Sequence['outputs.GetDomainsSmtpCredentialsSmtpCredentialIdcsCreatedByResult'], + idcs_endpoint: str, + idcs_last_modified_bies: Sequence['outputs.GetDomainsSmtpCredentialsSmtpCredentialIdcsLastModifiedByResult'], + idcs_last_upgraded_in_release: str, + idcs_prevented_operations: Sequence[str], + metas: Sequence['outputs.GetDomainsSmtpCredentialsSmtpCredentialMetaResult'], + ocid: str, + resource_type_schema_version: str, + schemas: Sequence[str], + status: str, + tags: Sequence['outputs.GetDomainsSmtpCredentialsSmtpCredentialTagResult'], + tenancy_ocid: str, + urnietfparamsscimschemasoracleidcsextensionself_change_users: Sequence['outputs.GetDomainsSmtpCredentialsSmtpCredentialUrnietfparamsscimschemasoracleidcsextensionselfChangeUserResult'], + user_name: str, + users: Sequence['outputs.GetDomainsSmtpCredentialsSmtpCredentialUserResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("attribute_sets", attribute_sets) + _setter("attributes", attributes) + _setter("authorization", authorization) + _setter("compartment_ocid", compartment_ocid) + _setter("delete_in_progress", delete_in_progress) + _setter("description", description) + _setter("domain_ocid", domain_ocid) + _setter("expires_on", expires_on) + _setter("id", id) + _setter("idcs_created_bies", idcs_created_bies) + _setter("idcs_endpoint", idcs_endpoint) + _setter("idcs_last_modified_bies", idcs_last_modified_bies) + _setter("idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) + _setter("idcs_prevented_operations", idcs_prevented_operations) + _setter("metas", metas) + _setter("ocid", ocid) + _setter("resource_type_schema_version", resource_type_schema_version) + _setter("schemas", schemas) + _setter("status", status) + _setter("tags", tags) + _setter("tenancy_ocid", tenancy_ocid) + _setter("urnietfparamsscimschemasoracleidcsextensionself_change_users", urnietfparamsscimschemasoracleidcsextensionself_change_users) + _setter("user_name", user_name) + _setter("users", users) @property @pulumi.getter(name="attributeSets") @@ -94809,11 +111148,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: User's id """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsSmtpCredentialsSmtpCredentialIdcsCreatedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -94871,11 +111227,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: User's id """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsSmtpCredentialsSmtpCredentialIdcsLastModifiedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -94933,11 +111306,28 @@ def __init__(__self__, *, :param str resource_type: Name of the resource type of the resource--for example, Users or Groups :param str version: The version of the Resource being returned. This value must be the same as the ETag HTTP response header. """ - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "version", version) + GetDomainsSmtpCredentialsSmtpCredentialMetaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: str, + last_modified: str, + location: str, + resource_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created", created) + _setter("last_modified", last_modified) + _setter("location", location) + _setter("resource_type", resource_type) + _setter("version", version) @property @pulumi.getter @@ -94989,8 +111379,19 @@ def __init__(__self__, *, :param str key: Key or name of the tag. :param str value: User's id """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsSmtpCredentialsSmtpCredentialTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -95016,7 +111417,16 @@ def __init__(__self__, *, """ :param bool allow_self_change: If true, allows requesting user to update themselves. If false, requesting user can't update themself (default). """ - pulumi.set(__self__, "allow_self_change", allow_self_change) + GetDomainsSmtpCredentialsSmtpCredentialUrnietfparamsscimschemasoracleidcsextensionselfChangeUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allow_self_change=allow_self_change, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allow_self_change: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allow_self_change", allow_self_change) @property @pulumi.getter(name="allowSelfChange") @@ -95042,11 +111452,28 @@ def __init__(__self__, *, :param str ref: The URI that corresponds to the user linked to this credential :param str value: User's id """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsSmtpCredentialsSmtpCredentialUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + name=name, + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + name: str, + ocid: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("name", name) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -95110,14 +111537,37 @@ def __init__(__self__, *, :param str street_address: The full street address component, which may include house number, street name, PO BOX, and multi-line extended street address information. This attribute MAY contain newlines. :param str type: A label indicating the attribute's function. """ - pulumi.set(__self__, "country", country) - pulumi.set(__self__, "formatted", formatted) - pulumi.set(__self__, "locality", locality) - pulumi.set(__self__, "postal_code", postal_code) - pulumi.set(__self__, "primary", primary) - pulumi.set(__self__, "region", region) - pulumi.set(__self__, "street_address", street_address) - pulumi.set(__self__, "type", type) + GetDomainsUserAddressResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + country=country, + formatted=formatted, + locality=locality, + postal_code=postal_code, + primary=primary, + region=region, + street_address=street_address, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + country: str, + formatted: str, + locality: str, + postal_code: str, + primary: bool, + region: str, + street_address: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("country", country) + _setter("formatted", formatted) + _setter("locality", locality) + _setter("postal_code", postal_code) + _setter("primary", primary) + _setter("region", region) + _setter("street_address", street_address) + _setter("type", type) @property @pulumi.getter @@ -95195,9 +111645,22 @@ def __init__(__self__, *, :param Sequence[str] end_user_mutability_canonical_values: Specifies the list of User mutabilities allowed. :param str name: Fully-qualified attribute or complex mapping Name """ - pulumi.set(__self__, "end_user_mutability", end_user_mutability) - pulumi.set(__self__, "end_user_mutability_canonical_values", end_user_mutability_canonical_values) - pulumi.set(__self__, "name", name) + GetDomainsUserAttributesSettingAttributeSettingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + end_user_mutability=end_user_mutability, + end_user_mutability_canonical_values=end_user_mutability_canonical_values, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + end_user_mutability: str, + end_user_mutability_canonical_values: Sequence[str], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("end_user_mutability", end_user_mutability) + _setter("end_user_mutability_canonical_values", end_user_mutability_canonical_values) + _setter("name", name) @property @pulumi.getter(name="endUserMutability") @@ -95239,11 +111702,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: Value of the tag. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsUserAttributesSettingIdcsCreatedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -95301,11 +111781,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: Value of the tag. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsUserAttributesSettingIdcsLastModifiedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -95363,11 +111860,28 @@ def __init__(__self__, *, :param str resource_type: Name of the resource type of the resource--for example, Users or Groups :param str version: The version of the Resource being returned. This value must be the same as the ETag HTTP response header. """ - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "version", version) + GetDomainsUserAttributesSettingMetaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: str, + last_modified: str, + location: str, + resource_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created", created) + _setter("last_modified", last_modified) + _setter("location", location) + _setter("resource_type", resource_type) + _setter("version", version) @property @pulumi.getter @@ -95419,8 +111933,19 @@ def __init__(__self__, *, :param str key: Key or name of the tag. :param str value: Value of the tag. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsUserAttributesSettingTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -95483,26 +112008,73 @@ def __init__(__self__, *, :param Sequence['GetDomainsUserAttributesSettingsUserAttributesSettingTagArgs'] tags: A list of tags on this resource. :param str tenancy_ocid: Oracle Cloud Infrastructure Tenant Id (ocid) in which the resource lives. """ - pulumi.set(__self__, "attribute_sets", attribute_sets) - pulumi.set(__self__, "attribute_settings", attribute_settings) - pulumi.set(__self__, "attributes", attributes) - pulumi.set(__self__, "authorization", authorization) - pulumi.set(__self__, "compartment_ocid", compartment_ocid) - pulumi.set(__self__, "delete_in_progress", delete_in_progress) - pulumi.set(__self__, "domain_ocid", domain_ocid) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "idcs_created_bies", idcs_created_bies) - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) - pulumi.set(__self__, "idcs_last_modified_bies", idcs_last_modified_bies) - pulumi.set(__self__, "idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) - pulumi.set(__self__, "idcs_prevented_operations", idcs_prevented_operations) - pulumi.set(__self__, "metas", metas) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) - pulumi.set(__self__, "schemas", schemas) - pulumi.set(__self__, "tags", tags) - pulumi.set(__self__, "tenancy_ocid", tenancy_ocid) - pulumi.set(__self__, "user_attributes_setting_id", user_attributes_setting_id) + GetDomainsUserAttributesSettingsUserAttributesSettingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + attribute_sets=attribute_sets, + attribute_settings=attribute_settings, + attributes=attributes, + authorization=authorization, + compartment_ocid=compartment_ocid, + delete_in_progress=delete_in_progress, + domain_ocid=domain_ocid, + id=id, + idcs_created_bies=idcs_created_bies, + idcs_endpoint=idcs_endpoint, + idcs_last_modified_bies=idcs_last_modified_bies, + idcs_last_upgraded_in_release=idcs_last_upgraded_in_release, + idcs_prevented_operations=idcs_prevented_operations, + metas=metas, + ocid=ocid, + resource_type_schema_version=resource_type_schema_version, + schemas=schemas, + tags=tags, + tenancy_ocid=tenancy_ocid, + user_attributes_setting_id=user_attributes_setting_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attribute_sets: Sequence[str], + attribute_settings: Sequence['outputs.GetDomainsUserAttributesSettingsUserAttributesSettingAttributeSettingResult'], + attributes: str, + authorization: str, + compartment_ocid: str, + delete_in_progress: bool, + domain_ocid: str, + id: str, + idcs_created_bies: Sequence['outputs.GetDomainsUserAttributesSettingsUserAttributesSettingIdcsCreatedByResult'], + idcs_endpoint: str, + idcs_last_modified_bies: Sequence['outputs.GetDomainsUserAttributesSettingsUserAttributesSettingIdcsLastModifiedByResult'], + idcs_last_upgraded_in_release: str, + idcs_prevented_operations: Sequence[str], + metas: Sequence['outputs.GetDomainsUserAttributesSettingsUserAttributesSettingMetaResult'], + ocid: str, + resource_type_schema_version: str, + schemas: Sequence[str], + tags: Sequence['outputs.GetDomainsUserAttributesSettingsUserAttributesSettingTagResult'], + tenancy_ocid: str, + user_attributes_setting_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("attribute_sets", attribute_sets) + _setter("attribute_settings", attribute_settings) + _setter("attributes", attributes) + _setter("authorization", authorization) + _setter("compartment_ocid", compartment_ocid) + _setter("delete_in_progress", delete_in_progress) + _setter("domain_ocid", domain_ocid) + _setter("id", id) + _setter("idcs_created_bies", idcs_created_bies) + _setter("idcs_endpoint", idcs_endpoint) + _setter("idcs_last_modified_bies", idcs_last_modified_bies) + _setter("idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) + _setter("idcs_prevented_operations", idcs_prevented_operations) + _setter("metas", metas) + _setter("ocid", ocid) + _setter("resource_type_schema_version", resource_type_schema_version) + _setter("schemas", schemas) + _setter("tags", tags) + _setter("tenancy_ocid", tenancy_ocid) + _setter("user_attributes_setting_id", user_attributes_setting_id) @property @pulumi.getter(name="attributeSets") @@ -95673,9 +112245,22 @@ def __init__(__self__, *, :param Sequence[str] end_user_mutability_canonical_values: Specifies the list of User mutabilities allowed. :param str name: Fully-qualified attribute or complex mapping Name """ - pulumi.set(__self__, "end_user_mutability", end_user_mutability) - pulumi.set(__self__, "end_user_mutability_canonical_values", end_user_mutability_canonical_values) - pulumi.set(__self__, "name", name) + GetDomainsUserAttributesSettingsUserAttributesSettingAttributeSettingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + end_user_mutability=end_user_mutability, + end_user_mutability_canonical_values=end_user_mutability_canonical_values, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + end_user_mutability: str, + end_user_mutability_canonical_values: Sequence[str], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("end_user_mutability", end_user_mutability) + _setter("end_user_mutability_canonical_values", end_user_mutability_canonical_values) + _setter("name", name) @property @pulumi.getter(name="endUserMutability") @@ -95717,11 +112302,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: Value of the tag. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsUserAttributesSettingsUserAttributesSettingIdcsCreatedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -95779,11 +112381,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: Value of the tag. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsUserAttributesSettingsUserAttributesSettingIdcsLastModifiedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -95841,11 +112460,28 @@ def __init__(__self__, *, :param str resource_type: Name of the resource type of the resource--for example, Users or Groups :param str version: The version of the Resource being returned. This value must be the same as the ETag HTTP response header. """ - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "version", version) + GetDomainsUserAttributesSettingsUserAttributesSettingMetaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: str, + last_modified: str, + location: str, + resource_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created", created) + _setter("last_modified", last_modified) + _setter("location", location) + _setter("resource_type", resource_type) + _setter("version", version) @property @pulumi.getter @@ -95897,8 +112533,19 @@ def __init__(__self__, *, :param str key: Key or name of the tag. :param str value: Value of the tag. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsUserAttributesSettingsUserAttributesSettingTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -95932,11 +112579,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: The user's identifier. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsUserDbCredentialIdcsCreatedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -95994,11 +112658,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: The user's identifier. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsUserDbCredentialIdcsLastModifiedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -96056,11 +112737,28 @@ def __init__(__self__, *, :param str resource_type: Name of the resource type of the resource--for example, Users or Groups :param str version: The version of the Resource being returned. This value must be the same as the ETag HTTP response header. """ - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "version", version) + GetDomainsUserDbCredentialMetaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: str, + last_modified: str, + location: str, + resource_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created", created) + _setter("last_modified", last_modified) + _setter("location", location) + _setter("resource_type", resource_type) + _setter("version", version) @property @pulumi.getter @@ -96112,8 +112810,19 @@ def __init__(__self__, *, :param str key: Key or name of the tag. :param str value: The user's identifier. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsUserDbCredentialTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -96139,7 +112848,16 @@ def __init__(__self__, *, """ :param bool allow_self_change: If true, allows requesting user to update themselves. If false, requesting user can't update themself (default). """ - pulumi.set(__self__, "allow_self_change", allow_self_change) + GetDomainsUserDbCredentialUrnietfparamsscimschemasoracleidcsextensionselfChangeUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allow_self_change=allow_self_change, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allow_self_change: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allow_self_change", allow_self_change) @property @pulumi.getter(name="allowSelfChange") @@ -96165,11 +112883,28 @@ def __init__(__self__, *, :param str ref: The URI that corresponds to the user linked to this credential. :param str value: The user's identifier. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsUserDbCredentialUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + name=name, + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + name: str, + ocid: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("name", name) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -96277,36 +113012,103 @@ def __init__(__self__, *, :param Sequence['GetDomainsUserDbCredentialsUserDbCredentialUrnietfparamsscimschemasoracleidcsextensionselfChangeUserArgs'] urnietfparamsscimschemasoracleidcsextensionself_change_users: Controls whether a user can update themselves or not via User related APIs :param Sequence['GetDomainsUserDbCredentialsUserDbCredentialUserArgs'] users: The user linked to the database credential. """ - pulumi.set(__self__, "attribute_sets", attribute_sets) - pulumi.set(__self__, "attributes", attributes) - pulumi.set(__self__, "authorization", authorization) - pulumi.set(__self__, "compartment_ocid", compartment_ocid) - pulumi.set(__self__, "db_password", db_password) - pulumi.set(__self__, "delete_in_progress", delete_in_progress) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "domain_ocid", domain_ocid) - pulumi.set(__self__, "expired", expired) - pulumi.set(__self__, "expires_on", expires_on) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "idcs_created_bies", idcs_created_bies) - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) - pulumi.set(__self__, "idcs_last_modified_bies", idcs_last_modified_bies) - pulumi.set(__self__, "idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) - pulumi.set(__self__, "idcs_prevented_operations", idcs_prevented_operations) - pulumi.set(__self__, "last_set_date", last_set_date) - pulumi.set(__self__, "metas", metas) - pulumi.set(__self__, "mixed_db_password", mixed_db_password) - pulumi.set(__self__, "mixed_salt", mixed_salt) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) - pulumi.set(__self__, "salt", salt) - pulumi.set(__self__, "schemas", schemas) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "tags", tags) - pulumi.set(__self__, "tenancy_ocid", tenancy_ocid) - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionself_change_users", urnietfparamsscimschemasoracleidcsextensionself_change_users) - pulumi.set(__self__, "users", users) + GetDomainsUserDbCredentialsUserDbCredentialResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + attribute_sets=attribute_sets, + attributes=attributes, + authorization=authorization, + compartment_ocid=compartment_ocid, + db_password=db_password, + delete_in_progress=delete_in_progress, + description=description, + domain_ocid=domain_ocid, + expired=expired, + expires_on=expires_on, + id=id, + idcs_created_bies=idcs_created_bies, + idcs_endpoint=idcs_endpoint, + idcs_last_modified_bies=idcs_last_modified_bies, + idcs_last_upgraded_in_release=idcs_last_upgraded_in_release, + idcs_prevented_operations=idcs_prevented_operations, + last_set_date=last_set_date, + metas=metas, + mixed_db_password=mixed_db_password, + mixed_salt=mixed_salt, + name=name, + ocid=ocid, + resource_type_schema_version=resource_type_schema_version, + salt=salt, + schemas=schemas, + status=status, + tags=tags, + tenancy_ocid=tenancy_ocid, + urnietfparamsscimschemasoracleidcsextensionself_change_users=urnietfparamsscimschemasoracleidcsextensionself_change_users, + users=users, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attribute_sets: Sequence[str], + attributes: str, + authorization: str, + compartment_ocid: str, + db_password: str, + delete_in_progress: bool, + description: str, + domain_ocid: str, + expired: bool, + expires_on: str, + id: str, + idcs_created_bies: Sequence['outputs.GetDomainsUserDbCredentialsUserDbCredentialIdcsCreatedByResult'], + idcs_endpoint: str, + idcs_last_modified_bies: Sequence['outputs.GetDomainsUserDbCredentialsUserDbCredentialIdcsLastModifiedByResult'], + idcs_last_upgraded_in_release: str, + idcs_prevented_operations: Sequence[str], + last_set_date: str, + metas: Sequence['outputs.GetDomainsUserDbCredentialsUserDbCredentialMetaResult'], + mixed_db_password: str, + mixed_salt: str, + name: str, + ocid: str, + resource_type_schema_version: str, + salt: str, + schemas: Sequence[str], + status: str, + tags: Sequence['outputs.GetDomainsUserDbCredentialsUserDbCredentialTagResult'], + tenancy_ocid: str, + urnietfparamsscimschemasoracleidcsextensionself_change_users: Sequence['outputs.GetDomainsUserDbCredentialsUserDbCredentialUrnietfparamsscimschemasoracleidcsextensionselfChangeUserResult'], + users: Sequence['outputs.GetDomainsUserDbCredentialsUserDbCredentialUserResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("attribute_sets", attribute_sets) + _setter("attributes", attributes) + _setter("authorization", authorization) + _setter("compartment_ocid", compartment_ocid) + _setter("db_password", db_password) + _setter("delete_in_progress", delete_in_progress) + _setter("description", description) + _setter("domain_ocid", domain_ocid) + _setter("expired", expired) + _setter("expires_on", expires_on) + _setter("id", id) + _setter("idcs_created_bies", idcs_created_bies) + _setter("idcs_endpoint", idcs_endpoint) + _setter("idcs_last_modified_bies", idcs_last_modified_bies) + _setter("idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) + _setter("idcs_prevented_operations", idcs_prevented_operations) + _setter("last_set_date", last_set_date) + _setter("metas", metas) + _setter("mixed_db_password", mixed_db_password) + _setter("mixed_salt", mixed_salt) + _setter("name", name) + _setter("ocid", ocid) + _setter("resource_type_schema_version", resource_type_schema_version) + _setter("salt", salt) + _setter("schemas", schemas) + _setter("status", status) + _setter("tags", tags) + _setter("tenancy_ocid", tenancy_ocid) + _setter("urnietfparamsscimschemasoracleidcsextensionself_change_users", urnietfparamsscimschemasoracleidcsextensionself_change_users) + _setter("users", users) @property @pulumi.getter(name="attributeSets") @@ -96564,11 +113366,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: The user's identifier. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsUserDbCredentialsUserDbCredentialIdcsCreatedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -96626,11 +113445,28 @@ def __init__(__self__, *, :param str type: The type of resource, User or App, that modified this Resource :param str value: The user's identifier. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsUserDbCredentialsUserDbCredentialIdcsLastModifiedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -96688,11 +113524,28 @@ def __init__(__self__, *, :param str resource_type: Name of the resource type of the resource--for example, Users or Groups :param str version: The version of the Resource being returned. This value must be the same as the ETag HTTP response header. """ - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "version", version) + GetDomainsUserDbCredentialsUserDbCredentialMetaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: str, + last_modified: str, + location: str, + resource_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created", created) + _setter("last_modified", last_modified) + _setter("location", location) + _setter("resource_type", resource_type) + _setter("version", version) @property @pulumi.getter @@ -96744,8 +113597,19 @@ def __init__(__self__, *, :param str key: Key or name of the tag. :param str value: The user's identifier. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsUserDbCredentialsUserDbCredentialTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -96771,7 +113635,16 @@ def __init__(__self__, *, """ :param bool allow_self_change: If true, allows requesting user to update themselves. If false, requesting user can't update themself (default). """ - pulumi.set(__self__, "allow_self_change", allow_self_change) + GetDomainsUserDbCredentialsUserDbCredentialUrnietfparamsscimschemasoracleidcsextensionselfChangeUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allow_self_change=allow_self_change, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allow_self_change: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allow_self_change", allow_self_change) @property @pulumi.getter(name="allowSelfChange") @@ -96797,11 +113670,28 @@ def __init__(__self__, *, :param str ref: The URI that corresponds to the user linked to this credential. :param str value: The user's identifier. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsUserDbCredentialsUserDbCredentialUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + name=name, + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + name: str, + ocid: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("name", name) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -96861,12 +113751,31 @@ def __init__(__self__, *, :param str value: The value of a X509 certificate. :param bool verified: A Boolean value that indicates if the phone number is verified. """ - pulumi.set(__self__, "pending_verification_data", pending_verification_data) - pulumi.set(__self__, "primary", primary) - pulumi.set(__self__, "secondary", secondary) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) - pulumi.set(__self__, "verified", verified) + GetDomainsUserEmailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + pending_verification_data=pending_verification_data, + primary=primary, + secondary=secondary, + type=type, + value=value, + verified=verified, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + pending_verification_data: str, + primary: bool, + secondary: bool, + type: str, + value: str, + verified: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("pending_verification_data", pending_verification_data) + _setter("primary", primary) + _setter("secondary", secondary) + _setter("type", type) + _setter("value", value) + _setter("verified", verified) @property @pulumi.getter(name="pendingVerificationData") @@ -96930,10 +113839,25 @@ def __init__(__self__, *, :param str type: A label indicating the attribute's function. :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "primary", primary) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsUserEntitlementResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + primary=primary, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + primary: bool, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("primary", primary) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -96991,15 +113915,40 @@ def __init__(__self__, *, :param str type: A label indicating the attribute's function. :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "date_added", date_added) - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "external_id", external_id) - pulumi.set(__self__, "membership_ocid", membership_ocid) - pulumi.set(__self__, "non_unique_display", non_unique_display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsUserGroupResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + date_added=date_added, + display=display, + external_id=external_id, + membership_ocid=membership_ocid, + non_unique_display=non_unique_display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + date_added: str, + display: str, + external_id: str, + membership_ocid: str, + non_unique_display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("date_added", date_added) + _setter("display", display) + _setter("external_id", external_id) + _setter("membership_ocid", membership_ocid) + _setter("non_unique_display", non_unique_display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter(name="dateAdded") @@ -97089,11 +114038,28 @@ def __init__(__self__, *, :param str type: A label indicating the attribute's function. :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsUserIdcsCreatedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -97151,11 +114117,28 @@ def __init__(__self__, *, :param str type: A label indicating the attribute's function. :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsUserIdcsLastModifiedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -97211,10 +114194,25 @@ def __init__(__self__, *, :param str type: A label indicating the attribute's function. :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "primary", primary) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsUserImResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + primary=primary, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + primary: bool, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("primary", primary) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -97264,11 +114262,28 @@ def __init__(__self__, *, :param str resource_type: Name of the resource type of the resource--for example, Users or Groups :param str version: The version of the Resource being returned. This value must be the same as the ETag HTTP response header. """ - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "version", version) + GetDomainsUserMetaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: str, + last_modified: str, + location: str, + resource_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created", created) + _setter("last_modified", last_modified) + _setter("location", location) + _setter("resource_type", resource_type) + _setter("version", version) @property @pulumi.getter @@ -97328,12 +114343,31 @@ def __init__(__self__, *, :param str honorific_suffix: Suffix :param str middle_name: Middle name """ - pulumi.set(__self__, "family_name", family_name) - pulumi.set(__self__, "formatted", formatted) - pulumi.set(__self__, "given_name", given_name) - pulumi.set(__self__, "honorific_prefix", honorific_prefix) - pulumi.set(__self__, "honorific_suffix", honorific_suffix) - pulumi.set(__self__, "middle_name", middle_name) + GetDomainsUserNameResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + family_name=family_name, + formatted=formatted, + given_name=given_name, + honorific_prefix=honorific_prefix, + honorific_suffix=honorific_suffix, + middle_name=middle_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + family_name: str, + formatted: str, + given_name: str, + honorific_prefix: str, + honorific_suffix: str, + middle_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("family_name", family_name) + _setter("formatted", formatted) + _setter("given_name", given_name) + _setter("honorific_prefix", honorific_prefix) + _setter("honorific_suffix", honorific_suffix) + _setter("middle_name", middle_name) @property @pulumi.getter(name="familyName") @@ -97399,11 +114433,28 @@ def __init__(__self__, *, :param str value: The value of a X509 certificate. :param bool verified: A Boolean value that indicates if the phone number is verified. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "primary", primary) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) - pulumi.set(__self__, "verified", verified) + GetDomainsUserPhoneNumberResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + primary=primary, + type=type, + value=value, + verified=verified, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + primary: bool, + type: str, + value: str, + verified: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("primary", primary) + _setter("type", type) + _setter("value", value) + _setter("verified", verified) @property @pulumi.getter @@ -97459,10 +114510,25 @@ def __init__(__self__, *, :param str type: A label indicating the attribute's function. :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "primary", primary) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsUserPhotoResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + primary=primary, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + primary: bool, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("primary", primary) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -97510,10 +114576,25 @@ def __init__(__self__, *, :param str type: A label indicating the attribute's function. :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "primary", primary) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsUserRoleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + primary=primary, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + primary: bool, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("primary", primary) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -97557,8 +114638,19 @@ def __init__(__self__, *, :param str key: The user's API key value. :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsUserTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -97594,12 +114686,31 @@ def __init__(__self__, *, :param Sequence['GetDomainsUserUrnietfparamsscimschemasextensionenterprise20userManagerArgs'] managers: The User's manager. A complex type that optionally allows Service Providers to represent organizational hierarchy by referencing the 'id' attribute of another User. :param str organization: Identifies the name of an organization. """ - pulumi.set(__self__, "cost_center", cost_center) - pulumi.set(__self__, "department", department) - pulumi.set(__self__, "division", division) - pulumi.set(__self__, "employee_number", employee_number) - pulumi.set(__self__, "managers", managers) - pulumi.set(__self__, "organization", organization) + GetDomainsUserUrnietfparamsscimschemasextensionenterprise20userResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cost_center=cost_center, + department=department, + division=division, + employee_number=employee_number, + managers=managers, + organization=organization, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cost_center: str, + department: str, + division: str, + employee_number: str, + managers: Sequence['outputs.GetDomainsUserUrnietfparamsscimschemasextensionenterprise20userManagerResult'], + organization: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cost_center", cost_center) + _setter("department", department) + _setter("division", division) + _setter("employee_number", employee_number) + _setter("managers", managers) + _setter("organization", organization) @property @pulumi.getter(name="costCenter") @@ -97661,9 +114772,22 @@ def __init__(__self__, *, :param str ref: User Token URI :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsUserUrnietfparamsscimschemasextensionenterprise20userManagerResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter(name="displayName") @@ -97701,9 +114825,22 @@ def __init__(__self__, *, :param Sequence['GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionOciTagFreeformTagArgs'] freeform_tags: Oracle Cloud Infrastructure Freeform Tags :param str tag_slug: Oracle Cloud Infrastructure Tag slug """ - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "tag_slug", tag_slug) + GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionOciTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + defined_tags=defined_tags, + freeform_tags=freeform_tags, + tag_slug=tag_slug, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + defined_tags: Sequence['outputs.GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionOciTagDefinedTagResult'], + freeform_tags: Sequence['outputs.GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionOciTagFreeformTagResult'], + tag_slug: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("defined_tags", defined_tags) + _setter("freeform_tags", freeform_tags) + _setter("tag_slug", tag_slug) @property @pulumi.getter(name="definedTags") @@ -97741,9 +114878,22 @@ def __init__(__self__, *, :param str namespace: Oracle Cloud Infrastructure Tag namespace :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "value", value) + GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionOciTagDefinedTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + namespace=namespace, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + namespace: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("namespace", namespace) + _setter("value", value) @property @pulumi.getter @@ -97779,8 +114929,19 @@ def __init__(__self__, *, :param str key: The user's API key value. :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionOciTagFreeformTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -97808,8 +114969,19 @@ def __init__(__self__, *, :param str risk_level: Risk Level :param Sequence['GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionadaptiveUserRiskScoreArgs'] risk_scores: The risk score pertaining to the user. """ - pulumi.set(__self__, "risk_level", risk_level) - pulumi.set(__self__, "risk_scores", risk_scores) + GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionadaptiveUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + risk_level=risk_level, + risk_scores=risk_scores, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + risk_level: str, + risk_scores: Sequence['outputs.GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionadaptiveUserRiskScoreResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("risk_level", risk_level) + _setter("risk_scores", risk_scores) @property @pulumi.getter(name="riskLevel") @@ -97847,13 +115019,34 @@ def __init__(__self__, *, :param str status: A supplemental status indicating the reason why a user is disabled :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "last_update_timestamp", last_update_timestamp) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "risk_level", risk_level) - pulumi.set(__self__, "score", score) - pulumi.set(__self__, "source", source) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "value", value) + GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionadaptiveUserRiskScoreResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + last_update_timestamp=last_update_timestamp, + ref=ref, + risk_level=risk_level, + score=score, + source=source, + status=status, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + last_update_timestamp: str, + ref: str, + risk_level: str, + score: int, + source: str, + status: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("last_update_timestamp", last_update_timestamp) + _setter("ref", ref) + _setter("risk_level", risk_level) + _setter("score", score) + _setter("source", source) + _setter("status", status) + _setter("value", value) @property @pulumi.getter(name="lastUpdateTimestamp") @@ -97933,14 +115126,37 @@ def __init__(__self__, *, :param bool can_use_oauth2client_credentials: Indicates whether a user can use OAuth2 client credentials. :param bool can_use_smtp_credentials: Indicates whether a user can use SMTP credentials. """ - pulumi.set(__self__, "can_use_api_keys", can_use_api_keys) - pulumi.set(__self__, "can_use_auth_tokens", can_use_auth_tokens) - pulumi.set(__self__, "can_use_console", can_use_console) - pulumi.set(__self__, "can_use_console_password", can_use_console_password) - pulumi.set(__self__, "can_use_customer_secret_keys", can_use_customer_secret_keys) - pulumi.set(__self__, "can_use_db_credentials", can_use_db_credentials) - pulumi.set(__self__, "can_use_oauth2client_credentials", can_use_oauth2client_credentials) - pulumi.set(__self__, "can_use_smtp_credentials", can_use_smtp_credentials) + GetDomainsUserUrnietfparamsscimschemasoracleidcsextensioncapabilitiesUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + can_use_api_keys=can_use_api_keys, + can_use_auth_tokens=can_use_auth_tokens, + can_use_console=can_use_console, + can_use_console_password=can_use_console_password, + can_use_customer_secret_keys=can_use_customer_secret_keys, + can_use_db_credentials=can_use_db_credentials, + can_use_oauth2client_credentials=can_use_oauth2client_credentials, + can_use_smtp_credentials=can_use_smtp_credentials, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + can_use_api_keys: bool, + can_use_auth_tokens: bool, + can_use_console: bool, + can_use_console_password: bool, + can_use_customer_secret_keys: bool, + can_use_db_credentials: bool, + can_use_oauth2client_credentials: bool, + can_use_smtp_credentials: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("can_use_api_keys", can_use_api_keys) + _setter("can_use_auth_tokens", can_use_auth_tokens) + _setter("can_use_console", can_use_console) + _setter("can_use_console_password", can_use_console_password) + _setter("can_use_customer_secret_keys", can_use_customer_secret_keys) + _setter("can_use_db_credentials", can_use_db_credentials) + _setter("can_use_oauth2client_credentials", can_use_oauth2client_credentials) + _setter("can_use_smtp_credentials", can_use_smtp_credentials) @property @pulumi.getter(name="canUseApiKeys") @@ -98016,8 +115232,19 @@ def __init__(__self__, *, :param int db_login_attempts: The number of failed login attempts. The value is reset to 0 after a successful login. :param str db_user_name: The database username. """ - pulumi.set(__self__, "db_login_attempts", db_login_attempts) - pulumi.set(__self__, "db_user_name", db_user_name) + GetDomainsUserUrnietfparamsscimschemasoracleidcsextensiondbCredentialsUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_login_attempts=db_login_attempts, + db_user_name=db_user_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_login_attempts: int, + db_user_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("db_login_attempts", db_login_attempts) + _setter("db_user_name", db_user_name) @property @pulumi.getter(name="dbLoginAttempts") @@ -98051,11 +115278,28 @@ def __init__(__self__, *, :param bool is_db_user: If true, indicates this is a database user. :param Sequence['GetDomainsUserUrnietfparamsscimschemasoracleidcsextensiondbUserUserPasswordVerifierArgs'] password_verifiers: Password Verifiers for DB User. """ - pulumi.set(__self__, "db_global_roles", db_global_roles) - pulumi.set(__self__, "domain_level_schema", domain_level_schema) - pulumi.set(__self__, "instance_level_schema", instance_level_schema) - pulumi.set(__self__, "is_db_user", is_db_user) - pulumi.set(__self__, "password_verifiers", password_verifiers) + GetDomainsUserUrnietfparamsscimschemasoracleidcsextensiondbUserUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_global_roles=db_global_roles, + domain_level_schema=domain_level_schema, + instance_level_schema=instance_level_schema, + is_db_user=is_db_user, + password_verifiers=password_verifiers, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_global_roles: Sequence[str], + domain_level_schema: str, + instance_level_schema: str, + is_db_user: bool, + password_verifiers: Sequence['outputs.GetDomainsUserUrnietfparamsscimschemasoracleidcsextensiondbUserUserPasswordVerifierResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("db_global_roles", db_global_roles) + _setter("domain_level_schema", domain_level_schema) + _setter("instance_level_schema", instance_level_schema) + _setter("is_db_user", is_db_user) + _setter("password_verifiers", password_verifiers) @property @pulumi.getter(name="dbGlobalRoles") @@ -98107,8 +115351,19 @@ def __init__(__self__, *, :param str type: A label indicating the attribute's function. :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsUserUrnietfparamsscimschemasoracleidcsextensiondbUserUserPasswordVerifierResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -98134,7 +115389,16 @@ def __init__(__self__, *, """ :param Sequence['GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionkerberosUserUserRealmUserArgs'] realm_users: A list of kerberos realm users for an Oracle Identity Cloud Service User """ - pulumi.set(__self__, "realm_users", realm_users) + GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionkerberosUserUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + realm_users=realm_users, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + realm_users: Sequence['outputs.GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionkerberosUserUserRealmUserResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("realm_users", realm_users) @property @pulumi.getter(name="realmUsers") @@ -98158,10 +115422,25 @@ def __init__(__self__, *, :param str ref: User Token URI :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "principal_name", principal_name) - pulumi.set(__self__, "realm_name", realm_name) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionkerberosUserUserRealmUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + principal_name=principal_name, + realm_name=realm_name, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + principal_name: str, + realm_name: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("principal_name", principal_name) + _setter("realm_name", realm_name) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter(name="principalName") @@ -98223,17 +115502,46 @@ def __init__(__self__, *, :param str preferred_third_party_vendor: The preferred third-party vendor name. :param Sequence['GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionmfaUserTrustedUserAgentArgs'] trusted_user_agents: A list of trusted User Agents owned by this user. Multi-Factored Authentication uses Trusted User Agents to authenticate users. A User Agent is software application that a user uses to issue requests. For example, a User Agent could be a particular browser (possibly one of several executing on a desktop or laptop) or a particular mobile application (again, oneof several executing on a particular mobile device). A User Agent is trusted once the Multi-Factor Authentication has verified it in some way. """ - pulumi.set(__self__, "bypass_codes", bypass_codes) - pulumi.set(__self__, "devices", devices) - pulumi.set(__self__, "login_attempts", login_attempts) - pulumi.set(__self__, "mfa_enabled_on", mfa_enabled_on) - pulumi.set(__self__, "mfa_ignored_apps", mfa_ignored_apps) - pulumi.set(__self__, "mfa_status", mfa_status) - pulumi.set(__self__, "preferred_authentication_factor", preferred_authentication_factor) - pulumi.set(__self__, "preferred_authentication_method", preferred_authentication_method) - pulumi.set(__self__, "preferred_devices", preferred_devices) - pulumi.set(__self__, "preferred_third_party_vendor", preferred_third_party_vendor) - pulumi.set(__self__, "trusted_user_agents", trusted_user_agents) + GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionmfaUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bypass_codes=bypass_codes, + devices=devices, + login_attempts=login_attempts, + mfa_enabled_on=mfa_enabled_on, + mfa_ignored_apps=mfa_ignored_apps, + mfa_status=mfa_status, + preferred_authentication_factor=preferred_authentication_factor, + preferred_authentication_method=preferred_authentication_method, + preferred_devices=preferred_devices, + preferred_third_party_vendor=preferred_third_party_vendor, + trusted_user_agents=trusted_user_agents, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bypass_codes: Sequence['outputs.GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionmfaUserBypassCodeResult'], + devices: Sequence['outputs.GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionmfaUserDeviceResult'], + login_attempts: int, + mfa_enabled_on: str, + mfa_ignored_apps: Sequence[str], + mfa_status: str, + preferred_authentication_factor: str, + preferred_authentication_method: str, + preferred_devices: Sequence['outputs.GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionmfaUserPreferredDeviceResult'], + preferred_third_party_vendor: str, + trusted_user_agents: Sequence['outputs.GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionmfaUserTrustedUserAgentResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bypass_codes", bypass_codes) + _setter("devices", devices) + _setter("login_attempts", login_attempts) + _setter("mfa_enabled_on", mfa_enabled_on) + _setter("mfa_ignored_apps", mfa_ignored_apps) + _setter("mfa_status", mfa_status) + _setter("preferred_authentication_factor", preferred_authentication_factor) + _setter("preferred_authentication_method", preferred_authentication_method) + _setter("preferred_devices", preferred_devices) + _setter("preferred_third_party_vendor", preferred_third_party_vendor) + _setter("trusted_user_agents", trusted_user_agents) @property @pulumi.getter(name="bypassCodes") @@ -98333,8 +115641,19 @@ def __init__(__self__, *, :param str ref: User Token URI :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionmfaUserBypassCodeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -98376,15 +115695,40 @@ def __init__(__self__, *, :param str third_party_vendor_name: The third-party factor vendor name. :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "authentication_method", authentication_method) - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "factor_status", factor_status) - pulumi.set(__self__, "factor_type", factor_type) - pulumi.set(__self__, "last_sync_time", last_sync_time) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "third_party_vendor_name", third_party_vendor_name) - pulumi.set(__self__, "value", value) + GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionmfaUserDeviceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + authentication_method=authentication_method, + display=display, + factor_status=factor_status, + factor_type=factor_type, + last_sync_time=last_sync_time, + ref=ref, + status=status, + third_party_vendor_name=third_party_vendor_name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + authentication_method: str, + display: str, + factor_status: str, + factor_type: str, + last_sync_time: str, + ref: str, + status: str, + third_party_vendor_name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("authentication_method", authentication_method) + _setter("display", display) + _setter("factor_status", factor_status) + _setter("factor_type", factor_type) + _setter("last_sync_time", last_sync_time) + _setter("ref", ref) + _setter("status", status) + _setter("third_party_vendor_name", third_party_vendor_name) + _setter("value", value) @property @pulumi.getter(name="authenticationMethod") @@ -98470,9 +115814,22 @@ def __init__(__self__, *, :param str ref: User Token URI :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionmfaUserPreferredDeviceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -98510,9 +115867,22 @@ def __init__(__self__, *, :param str ref: User Token URI :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionmfaUserTrustedUserAgentResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -98560,14 +115930,37 @@ def __init__(__self__, *, :param str last_successful_validation_date: A DateTime that specifies the date and time when last successful password validation was set :param bool must_change: Indicates that the subject password value MUST change on next login. If not changed, typically the account is locked. The value may be set indirectly when the subject's current password expires or directly set by an administrator. """ - pulumi.set(__self__, "applicable_password_policies", applicable_password_policies) - pulumi.set(__self__, "cant_change", cant_change) - pulumi.set(__self__, "cant_expire", cant_expire) - pulumi.set(__self__, "expired", expired) - pulumi.set(__self__, "last_failed_validation_date", last_failed_validation_date) - pulumi.set(__self__, "last_successful_set_date", last_successful_set_date) - pulumi.set(__self__, "last_successful_validation_date", last_successful_validation_date) - pulumi.set(__self__, "must_change", must_change) + GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionpasswordStateUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + applicable_password_policies=applicable_password_policies, + cant_change=cant_change, + cant_expire=cant_expire, + expired=expired, + last_failed_validation_date=last_failed_validation_date, + last_successful_set_date=last_successful_set_date, + last_successful_validation_date=last_successful_validation_date, + must_change=must_change, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + applicable_password_policies: Sequence['outputs.GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionpasswordStateUserApplicablePasswordPolicyResult'], + cant_change: bool, + cant_expire: bool, + expired: bool, + last_failed_validation_date: str, + last_successful_set_date: str, + last_successful_validation_date: str, + must_change: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("applicable_password_policies", applicable_password_policies) + _setter("cant_change", cant_change) + _setter("cant_expire", cant_expire) + _setter("expired", expired) + _setter("last_failed_validation_date", last_failed_validation_date) + _setter("last_successful_set_date", last_successful_set_date) + _setter("last_successful_validation_date", last_successful_validation_date) + _setter("must_change", must_change) @property @pulumi.getter(name="applicablePasswordPolicies") @@ -98647,10 +116040,25 @@ def __init__(__self__, *, :param str ref: User Token URI :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "priority", priority) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionpasswordStateUserApplicablePasswordPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + priority=priority, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + priority: int, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("priority", priority) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -98696,9 +116104,22 @@ def __init__(__self__, *, :param str factor_method: Authentication Factor Method :param str factor_type: Authentication Factor Type """ - pulumi.set(__self__, "factor_identifiers", factor_identifiers) - pulumi.set(__self__, "factor_method", factor_method) - pulumi.set(__self__, "factor_type", factor_type) + GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionpasswordlessUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + factor_identifiers=factor_identifiers, + factor_method=factor_method, + factor_type=factor_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + factor_identifiers: Sequence['outputs.GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionpasswordlessUserFactorIdentifierResult'], + factor_method: str, + factor_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("factor_identifiers", factor_identifiers) + _setter("factor_method", factor_method) + _setter("factor_type", factor_type) @property @pulumi.getter(name="factorIdentifiers") @@ -98736,9 +116157,22 @@ def __init__(__self__, *, :param str ref: User Token URI :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionpasswordlessUserFactorIdentifierResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -98780,11 +116214,28 @@ def __init__(__self__, *, :param str login_shell: The path to the login shell of the POSIX account :param int uid_number: Integer uniquely identifying a user in a POSIX administrative domain """ - pulumi.set(__self__, "gecos", gecos) - pulumi.set(__self__, "gid_number", gid_number) - pulumi.set(__self__, "home_directory", home_directory) - pulumi.set(__self__, "login_shell", login_shell) - pulumi.set(__self__, "uid_number", uid_number) + GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionposixUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + gecos=gecos, + gid_number=gid_number, + home_directory=home_directory, + login_shell=login_shell, + uid_number=uid_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + gecos: str, + gid_number: int, + home_directory: str, + login_shell: str, + uid_number: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("gecos", gecos) + _setter("gid_number", gid_number) + _setter("home_directory", home_directory) + _setter("login_shell", login_shell) + _setter("uid_number", uid_number) @property @pulumi.getter @@ -98834,7 +116285,16 @@ def __init__(__self__, *, """ :param Sequence['GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionsecurityQuestionsUserSecQuestionArgs'] sec_questions: The schema used to mnage security question and answers provided by a user for account recovery and/or MFA. While setting up security questions, a user can also provide a hint for the answer. """ - pulumi.set(__self__, "sec_questions", sec_questions) + GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionsecurityQuestionsUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + sec_questions=sec_questions, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + sec_questions: Sequence['outputs.GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionsecurityQuestionsUserSecQuestionResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("sec_questions", sec_questions) @property @pulumi.getter(name="secQuestions") @@ -98858,10 +116318,25 @@ def __init__(__self__, *, :param str ref: User Token URI :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "answer", answer) - pulumi.set(__self__, "hint_text", hint_text) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionsecurityQuestionsUserSecQuestionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + answer=answer, + hint_text=hint_text, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + answer: str, + hint_text: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("answer", answer) + _setter("hint_text", hint_text) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -98903,7 +116378,16 @@ def __init__(__self__, *, """ :param bool allow_self_change: If true, allows requesting user to update themselves. If false, requesting user can't update themself (default). """ - pulumi.set(__self__, "allow_self_change", allow_self_change) + GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionselfChangeUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allow_self_change=allow_self_change, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allow_self_change: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allow_self_change", allow_self_change) @property @pulumi.getter(name="allowSelfChange") @@ -98925,9 +116409,22 @@ def __init__(__self__, *, :param Sequence['GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionselfRegistrationUserSelfRegistrationProfileArgs'] self_registration_profiles: Self registration profile used when user is self registered. :param str user_token: User token returned if userFlowControlledByExternalClient is true """ - pulumi.set(__self__, "consent_granted", consent_granted) - pulumi.set(__self__, "self_registration_profiles", self_registration_profiles) - pulumi.set(__self__, "user_token", user_token) + GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionselfRegistrationUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + consent_granted=consent_granted, + self_registration_profiles=self_registration_profiles, + user_token=user_token, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + consent_granted: bool, + self_registration_profiles: Sequence['outputs.GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionselfRegistrationUserSelfRegistrationProfileResult'], + user_token: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("consent_granted", consent_granted) + _setter("self_registration_profiles", self_registration_profiles) + _setter("user_token", user_token) @property @pulumi.getter(name="consentGranted") @@ -98965,9 +116462,22 @@ def __init__(__self__, *, :param str ref: User Token URI :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionselfRegistrationUserSelfRegistrationProfileResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -99001,7 +116511,16 @@ def __init__(__self__, *, """ :param str sff_auth_keys: SFF auth keys clob """ - pulumi.set(__self__, "sff_auth_keys", sff_auth_keys) + GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionsffUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + sff_auth_keys=sff_auth_keys, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + sff_auth_keys: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("sff_auth_keys", sff_auth_keys) @property @pulumi.getter(name="sffAuthKeys") @@ -99019,7 +116538,16 @@ def __init__(__self__, *, """ :param Sequence['GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionsocialAccountUserSocialAccountArgs'] social_accounts: Description: """ - pulumi.set(__self__, "social_accounts", social_accounts) + GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionsocialAccountUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + social_accounts=social_accounts, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + social_accounts: Sequence['outputs.GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionsocialAccountUserSocialAccountResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("social_accounts", social_accounts) @property @pulumi.getter(name="socialAccounts") @@ -99041,9 +116569,22 @@ def __init__(__self__, *, :param str ref: User Token URI :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionsocialAccountUserSocialAccountResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -99077,7 +116618,16 @@ def __init__(__self__, *, """ :param Sequence['GetDomainsUserUrnietfparamsscimschemasoracleidcsextensiontermsOfUseUserTermsOfUseConsentArgs'] terms_of_use_consents: Description: """ - pulumi.set(__self__, "terms_of_use_consents", terms_of_use_consents) + GetDomainsUserUrnietfparamsscimschemasoracleidcsextensiontermsOfUseUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + terms_of_use_consents=terms_of_use_consents, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + terms_of_use_consents: Sequence['outputs.GetDomainsUserUrnietfparamsscimschemasoracleidcsextensiontermsOfUseUserTermsOfUseConsentResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("terms_of_use_consents", terms_of_use_consents) @property @pulumi.getter(name="termsOfUseConsents") @@ -99097,8 +116647,19 @@ def __init__(__self__, *, :param str ref: User Token URI :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsUserUrnietfparamsscimschemasoracleidcsextensiontermsOfUseUserTermsOfUseConsentResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -99134,12 +116695,31 @@ def __init__(__self__, *, :param Sequence['GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionuserCredentialsUserOAuth2clientCredentialArgs'] o_auth2client_credentials: A list of OAuth2 client credentials corresponding to a user. :param Sequence['GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionuserCredentialsUserSmtpCredentialArgs'] smtp_credentials: A list of SMTP credentials corresponding to user. """ - pulumi.set(__self__, "api_keys", api_keys) - pulumi.set(__self__, "auth_tokens", auth_tokens) - pulumi.set(__self__, "customer_secret_keys", customer_secret_keys) - pulumi.set(__self__, "db_credentials", db_credentials) - pulumi.set(__self__, "o_auth2client_credentials", o_auth2client_credentials) - pulumi.set(__self__, "smtp_credentials", smtp_credentials) + GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionuserCredentialsUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + api_keys=api_keys, + auth_tokens=auth_tokens, + customer_secret_keys=customer_secret_keys, + db_credentials=db_credentials, + o_auth2client_credentials=o_auth2client_credentials, + smtp_credentials=smtp_credentials, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + api_keys: Sequence['outputs.GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionuserCredentialsUserApiKeyResult'], + auth_tokens: Sequence['outputs.GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionuserCredentialsUserAuthTokenResult'], + customer_secret_keys: Sequence['outputs.GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionuserCredentialsUserCustomerSecretKeyResult'], + db_credentials: Sequence['outputs.GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionuserCredentialsUserDbCredentialResult'], + o_auth2client_credentials: Sequence['outputs.GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionuserCredentialsUserOAuth2clientCredentialResult'], + smtp_credentials: Sequence['outputs.GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionuserCredentialsUserSmtpCredentialResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("api_keys", api_keys) + _setter("auth_tokens", auth_tokens) + _setter("customer_secret_keys", customer_secret_keys) + _setter("db_credentials", db_credentials) + _setter("o_auth2client_credentials", o_auth2client_credentials) + _setter("smtp_credentials", smtp_credentials) @property @pulumi.getter(name="apiKeys") @@ -99203,10 +116783,25 @@ def __init__(__self__, *, :param str ref: User Token URI :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionuserCredentialsUserApiKeyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + ocid: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -99252,9 +116847,22 @@ def __init__(__self__, *, :param str ref: User Token URI :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionuserCredentialsUserAuthTokenResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ocid: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ocid", ocid) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -99292,9 +116900,22 @@ def __init__(__self__, *, :param str ref: User Token URI :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionuserCredentialsUserCustomerSecretKeyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ocid: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ocid", ocid) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -99332,9 +116953,22 @@ def __init__(__self__, *, :param str ref: User Token URI :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionuserCredentialsUserDbCredentialResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ocid: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ocid", ocid) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -99372,9 +117006,22 @@ def __init__(__self__, *, :param str ref: User Token URI :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionuserCredentialsUserOAuth2clientCredentialResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ocid: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ocid", ocid) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -99412,9 +117059,22 @@ def __init__(__self__, *, :param str ref: User Token URI :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionuserCredentialsUserSmtpCredentialResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ocid: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ocid", ocid) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -99464,15 +117124,40 @@ def __init__(__self__, *, :param int recovery_enroll_attempts: The number of failed account recovery enrollment attempts. :param Sequence['GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionuserStateUserRecoveryLockedArgs'] recovery_lockeds: A complex attribute that indicates a password recovery is locked (blocking any new sessions). """ - pulumi.set(__self__, "last_failed_login_date", last_failed_login_date) - pulumi.set(__self__, "last_successful_login_date", last_successful_login_date) - pulumi.set(__self__, "lockeds", lockeds) - pulumi.set(__self__, "login_attempts", login_attempts) - pulumi.set(__self__, "max_concurrent_sessions", max_concurrent_sessions) - pulumi.set(__self__, "previous_successful_login_date", previous_successful_login_date) - pulumi.set(__self__, "recovery_attempts", recovery_attempts) - pulumi.set(__self__, "recovery_enroll_attempts", recovery_enroll_attempts) - pulumi.set(__self__, "recovery_lockeds", recovery_lockeds) + GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionuserStateUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + last_failed_login_date=last_failed_login_date, + last_successful_login_date=last_successful_login_date, + lockeds=lockeds, + login_attempts=login_attempts, + max_concurrent_sessions=max_concurrent_sessions, + previous_successful_login_date=previous_successful_login_date, + recovery_attempts=recovery_attempts, + recovery_enroll_attempts=recovery_enroll_attempts, + recovery_lockeds=recovery_lockeds, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + last_failed_login_date: str, + last_successful_login_date: str, + lockeds: Sequence['outputs.GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionuserStateUserLockedResult'], + login_attempts: int, + max_concurrent_sessions: int, + previous_successful_login_date: str, + recovery_attempts: int, + recovery_enroll_attempts: int, + recovery_lockeds: Sequence['outputs.GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionuserStateUserRecoveryLockedResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("last_failed_login_date", last_failed_login_date) + _setter("last_successful_login_date", last_successful_login_date) + _setter("lockeds", lockeds) + _setter("login_attempts", login_attempts) + _setter("max_concurrent_sessions", max_concurrent_sessions) + _setter("previous_successful_login_date", previous_successful_login_date) + _setter("recovery_attempts", recovery_attempts) + _setter("recovery_enroll_attempts", recovery_enroll_attempts) + _setter("recovery_lockeds", recovery_lockeds) @property @pulumi.getter(name="lastFailedLoginDate") @@ -99560,10 +117245,25 @@ def __init__(__self__, *, :param bool on: Indicates that the recovery is locked. :param int reason: Indicates the reason for locking the account. Valid values are: 0 - failed password login attempts, 1 - admin lock, 2 - failed reset password attempts, 3 - failed MFA login attempts, 4 - failed MFA login attempts for federated user, 5 - failed Database login attempts """ - pulumi.set(__self__, "expired", expired) - pulumi.set(__self__, "lock_date", lock_date) - pulumi.set(__self__, "on", on) - pulumi.set(__self__, "reason", reason) + GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionuserStateUserLockedResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + expired=expired, + lock_date=lock_date, + on=on, + reason=reason, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + expired: bool, + lock_date: str, + on: bool, + reason: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("expired", expired) + _setter("lock_date", lock_date) + _setter("on", on) + _setter("reason", reason) @property @pulumi.getter @@ -99607,8 +117307,19 @@ def __init__(__self__, *, :param str lock_date: The date and time that the current resource was locked. :param bool on: Indicates that the recovery is locked. """ - pulumi.set(__self__, "lock_date", lock_date) - pulumi.set(__self__, "on", on) + GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionuserStateUserRecoveryLockedResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + lock_date=lock_date, + on=on, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + lock_date: str, + on: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("lock_date", lock_date) + _setter("on", on) @property @pulumi.getter(name="lockDate") @@ -99680,30 +117391,85 @@ def __init__(__self__, *, :param str user_provider: User Support Account Provider :param Sequence['GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionuserUserUserTokenArgs'] user_tokens: User token returned if userFlowControlledByExternalClient is true """ - pulumi.set(__self__, "account_recovery_required", account_recovery_required) - pulumi.set(__self__, "accounts", accounts) - pulumi.set(__self__, "app_roles", app_roles) - pulumi.set(__self__, "applicable_authentication_target_apps", applicable_authentication_target_apps) - pulumi.set(__self__, "bypass_notification", bypass_notification) - pulumi.set(__self__, "creation_mechanism", creation_mechanism) - pulumi.set(__self__, "delegated_authentication_target_apps", delegated_authentication_target_apps) - pulumi.set(__self__, "do_not_show_getting_started", do_not_show_getting_started) - pulumi.set(__self__, "grants", grants) - pulumi.set(__self__, "group_membership_last_modified", group_membership_last_modified) - pulumi.set(__self__, "idcs_app_roles_limited_to_groups", idcs_app_roles_limited_to_groups) - pulumi.set(__self__, "is_account_recovery_enrolled", is_account_recovery_enrolled) - pulumi.set(__self__, "is_authentication_delegated", is_authentication_delegated) - pulumi.set(__self__, "is_federated_user", is_federated_user) - pulumi.set(__self__, "is_group_membership_normalized", is_group_membership_normalized) - pulumi.set(__self__, "is_group_membership_synced_to_users_groups", is_group_membership_synced_to_users_groups) - pulumi.set(__self__, "notification_email_template_id", notification_email_template_id) - pulumi.set(__self__, "preferred_ui_landing_page", preferred_ui_landing_page) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "support_accounts", support_accounts) - pulumi.set(__self__, "synced_from_apps", synced_from_apps) - pulumi.set(__self__, "user_flow_controlled_by_external_client", user_flow_controlled_by_external_client) - pulumi.set(__self__, "user_provider", user_provider) - pulumi.set(__self__, "user_tokens", user_tokens) + GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionuserUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_recovery_required=account_recovery_required, + accounts=accounts, + app_roles=app_roles, + applicable_authentication_target_apps=applicable_authentication_target_apps, + bypass_notification=bypass_notification, + creation_mechanism=creation_mechanism, + delegated_authentication_target_apps=delegated_authentication_target_apps, + do_not_show_getting_started=do_not_show_getting_started, + grants=grants, + group_membership_last_modified=group_membership_last_modified, + idcs_app_roles_limited_to_groups=idcs_app_roles_limited_to_groups, + is_account_recovery_enrolled=is_account_recovery_enrolled, + is_authentication_delegated=is_authentication_delegated, + is_federated_user=is_federated_user, + is_group_membership_normalized=is_group_membership_normalized, + is_group_membership_synced_to_users_groups=is_group_membership_synced_to_users_groups, + notification_email_template_id=notification_email_template_id, + preferred_ui_landing_page=preferred_ui_landing_page, + status=status, + support_accounts=support_accounts, + synced_from_apps=synced_from_apps, + user_flow_controlled_by_external_client=user_flow_controlled_by_external_client, + user_provider=user_provider, + user_tokens=user_tokens, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_recovery_required: bool, + accounts: Sequence['outputs.GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionuserUserAccountResult'], + app_roles: Sequence['outputs.GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionuserUserAppRoleResult'], + applicable_authentication_target_apps: Sequence['outputs.GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionuserUserApplicableAuthenticationTargetAppResult'], + bypass_notification: bool, + creation_mechanism: str, + delegated_authentication_target_apps: Sequence['outputs.GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionuserUserDelegatedAuthenticationTargetAppResult'], + do_not_show_getting_started: bool, + grants: Sequence['outputs.GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionuserUserGrantResult'], + group_membership_last_modified: str, + idcs_app_roles_limited_to_groups: Sequence['outputs.GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionuserUserIdcsAppRolesLimitedToGroupResult'], + is_account_recovery_enrolled: bool, + is_authentication_delegated: bool, + is_federated_user: bool, + is_group_membership_normalized: bool, + is_group_membership_synced_to_users_groups: bool, + notification_email_template_id: str, + preferred_ui_landing_page: str, + status: str, + support_accounts: Sequence['outputs.GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionuserUserSupportAccountResult'], + synced_from_apps: Sequence['outputs.GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionuserUserSyncedFromAppResult'], + user_flow_controlled_by_external_client: bool, + user_provider: str, + user_tokens: Sequence['outputs.GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionuserUserUserTokenResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("account_recovery_required", account_recovery_required) + _setter("accounts", accounts) + _setter("app_roles", app_roles) + _setter("applicable_authentication_target_apps", applicable_authentication_target_apps) + _setter("bypass_notification", bypass_notification) + _setter("creation_mechanism", creation_mechanism) + _setter("delegated_authentication_target_apps", delegated_authentication_target_apps) + _setter("do_not_show_getting_started", do_not_show_getting_started) + _setter("grants", grants) + _setter("group_membership_last_modified", group_membership_last_modified) + _setter("idcs_app_roles_limited_to_groups", idcs_app_roles_limited_to_groups) + _setter("is_account_recovery_enrolled", is_account_recovery_enrolled) + _setter("is_authentication_delegated", is_authentication_delegated) + _setter("is_federated_user", is_federated_user) + _setter("is_group_membership_normalized", is_group_membership_normalized) + _setter("is_group_membership_synced_to_users_groups", is_group_membership_synced_to_users_groups) + _setter("notification_email_template_id", notification_email_template_id) + _setter("preferred_ui_landing_page", preferred_ui_landing_page) + _setter("status", status) + _setter("support_accounts", support_accounts) + _setter("synced_from_apps", synced_from_apps) + _setter("user_flow_controlled_by_external_client", user_flow_controlled_by_external_client) + _setter("user_provider", user_provider) + _setter("user_tokens", user_tokens) @property @pulumi.getter(name="accountRecoveryRequired") @@ -99913,11 +117679,28 @@ def __init__(__self__, *, :param str ref: User Token URI :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "active", active) - pulumi.set(__self__, "app_id", app_id) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionuserUserAccountResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + active=active, + app_id=app_id, + name=name, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + active: bool, + app_id: str, + name: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("active", active) + _setter("app_id", app_id) + _setter("name", name) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -99981,14 +117764,37 @@ def __init__(__self__, *, :param str type: A label indicating the attribute's function. :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "admin_role", admin_role) - pulumi.set(__self__, "app_id", app_id) - pulumi.set(__self__, "app_name", app_name) - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "legacy_group_name", legacy_group_name) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionuserUserAppRoleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + admin_role=admin_role, + app_id=app_id, + app_name=app_name, + display=display, + legacy_group_name=legacy_group_name, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + admin_role: bool, + app_id: str, + app_name: str, + display: str, + legacy_group_name: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("admin_role", admin_role) + _setter("app_id", app_id) + _setter("app_name", app_name) + _setter("display", display) + _setter("legacy_group_name", legacy_group_name) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter(name="adminRole") @@ -100070,11 +117876,28 @@ def __init__(__self__, *, :param str type: A label indicating the attribute's function. :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "target_request_timeout", target_request_timeout) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionuserUserApplicableAuthenticationTargetAppResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ref=ref, + target_request_timeout=target_request_timeout, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ref: str, + target_request_timeout: int, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ref", ref) + _setter("target_request_timeout", target_request_timeout) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -100130,10 +117953,25 @@ def __init__(__self__, *, :param str type: A label indicating the attribute's function. :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionuserUserDelegatedAuthenticationTargetAppResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -100186,11 +118024,28 @@ def __init__(__self__, *, :param str ref: User Token URI :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "app_id", app_id) - pulumi.set(__self__, "grant_mechanism", grant_mechanism) - pulumi.set(__self__, "grantor_id", grantor_id) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionuserUserGrantResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + app_id=app_id, + grant_mechanism=grant_mechanism, + grantor_id=grantor_id, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + app_id: str, + grant_mechanism: str, + grantor_id: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("app_id", app_id) + _setter("grant_mechanism", grant_mechanism) + _setter("grantor_id", grantor_id) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter(name="appId") @@ -100251,11 +118106,28 @@ def __init__(__self__, *, :param str ref: User Token URI :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "idcs_app_role_id", idcs_app_role_id) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionuserUserIdcsAppRolesLimitedToGroupResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + idcs_app_role_id=idcs_app_role_id, + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + idcs_app_role_id: str, + ocid: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("idcs_app_role_id", idcs_app_role_id) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -100313,11 +118185,28 @@ def __init__(__self__, *, :param str user_provider: User Support Account Provider :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "user_id", user_id) - pulumi.set(__self__, "user_provider", user_provider) - pulumi.set(__self__, "value", value) + GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionuserUserSupportAccountResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ocid=ocid, + ref=ref, + user_id=user_id, + user_provider=user_provider, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ocid: str, + ref: str, + user_id: str, + user_provider: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ocid", ocid) + _setter("ref", ref) + _setter("user_id", user_id) + _setter("user_provider", user_provider) + _setter("value", value) @property @pulumi.getter @@ -100373,10 +118262,25 @@ def __init__(__self__, *, :param str type: A label indicating the attribute's function. :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionuserUserSyncedFromAppResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -100420,8 +118324,19 @@ def __init__(__self__, *, :param str ref: User Token URI :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsUserUrnietfparamsscimschemasoracleidcsextensionuserUserUserTokenResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -100453,10 +118368,25 @@ def __init__(__self__, *, :param str type: A label indicating the attribute's function. :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "primary", primary) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsUserX509certificateResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + primary=primary, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + primary: bool, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("primary", primary) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -100618,67 +118548,196 @@ def __init__(__self__, *, :param str user_type: Used to identify the organization-to-user relationship :param Sequence['GetDomainsUsersUserX509certificateArgs'] x509certificates: A list of certificates issued to the User. """ - pulumi.set(__self__, "active", active) - pulumi.set(__self__, "addresses", addresses) - pulumi.set(__self__, "attribute_sets", attribute_sets) - pulumi.set(__self__, "attributes", attributes) - pulumi.set(__self__, "authorization", authorization) - pulumi.set(__self__, "compartment_ocid", compartment_ocid) - pulumi.set(__self__, "delete_in_progress", delete_in_progress) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "domain_ocid", domain_ocid) - pulumi.set(__self__, "emails", emails) - pulumi.set(__self__, "entitlements", entitlements) - pulumi.set(__self__, "external_id", external_id) - pulumi.set(__self__, "groups", groups) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "idcs_created_bies", idcs_created_bies) - pulumi.set(__self__, "idcs_endpoint", idcs_endpoint) - pulumi.set(__self__, "idcs_last_modified_bies", idcs_last_modified_bies) - pulumi.set(__self__, "idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) - pulumi.set(__self__, "idcs_prevented_operations", idcs_prevented_operations) - pulumi.set(__self__, "ims", ims) - pulumi.set(__self__, "locale", locale) - pulumi.set(__self__, "metas", metas) - pulumi.set(__self__, "names", names) - pulumi.set(__self__, "nick_name", nick_name) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "phone_numbers", phone_numbers) - pulumi.set(__self__, "photos", photos) - pulumi.set(__self__, "preferred_language", preferred_language) - pulumi.set(__self__, "profile_url", profile_url) - pulumi.set(__self__, "resource_type_schema_version", resource_type_schema_version) - pulumi.set(__self__, "roles", roles) - pulumi.set(__self__, "schemas", schemas) - pulumi.set(__self__, "tags", tags) - pulumi.set(__self__, "tenancy_ocid", tenancy_ocid) - pulumi.set(__self__, "timezone", timezone) - pulumi.set(__self__, "title", title) - pulumi.set(__self__, "urnietfparamsscimschemasextensionenterprise20users", urnietfparamsscimschemasextensionenterprise20users) - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextension_oci_tags", urnietfparamsscimschemasoracleidcsextension_oci_tags) - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionadaptive_users", urnietfparamsscimschemasoracleidcsextensionadaptive_users) - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensioncapabilities_users", urnietfparamsscimschemasoracleidcsextensioncapabilities_users) - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensiondb_credentials_users", urnietfparamsscimschemasoracleidcsextensiondb_credentials_users) - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensiondb_user_users", urnietfparamsscimschemasoracleidcsextensiondb_user_users) - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionkerberos_user_users", urnietfparamsscimschemasoracleidcsextensionkerberos_user_users) - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionmfa_users", urnietfparamsscimschemasoracleidcsextensionmfa_users) - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionpassword_state_users", urnietfparamsscimschemasoracleidcsextensionpassword_state_users) - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionpasswordless_users", urnietfparamsscimschemasoracleidcsextensionpasswordless_users) - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionposix_users", urnietfparamsscimschemasoracleidcsextensionposix_users) - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionsecurity_questions_users", urnietfparamsscimschemasoracleidcsextensionsecurity_questions_users) - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionself_change_users", urnietfparamsscimschemasoracleidcsextensionself_change_users) - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionself_registration_users", urnietfparamsscimschemasoracleidcsextensionself_registration_users) - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionsff_users", urnietfparamsscimschemasoracleidcsextensionsff_users) - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionsocial_account_users", urnietfparamsscimschemasoracleidcsextensionsocial_account_users) - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionterms_of_use_users", urnietfparamsscimschemasoracleidcsextensionterms_of_use_users) - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionuser_credentials_users", urnietfparamsscimschemasoracleidcsextensionuser_credentials_users) - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionuser_state_users", urnietfparamsscimschemasoracleidcsextensionuser_state_users) - pulumi.set(__self__, "urnietfparamsscimschemasoracleidcsextensionuser_users", urnietfparamsscimschemasoracleidcsextensionuser_users) - pulumi.set(__self__, "user_name", user_name) - pulumi.set(__self__, "user_type", user_type) - pulumi.set(__self__, "x509certificates", x509certificates) + GetDomainsUsersUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + active=active, + addresses=addresses, + attribute_sets=attribute_sets, + attributes=attributes, + authorization=authorization, + compartment_ocid=compartment_ocid, + delete_in_progress=delete_in_progress, + description=description, + display_name=display_name, + domain_ocid=domain_ocid, + emails=emails, + entitlements=entitlements, + external_id=external_id, + groups=groups, + id=id, + idcs_created_bies=idcs_created_bies, + idcs_endpoint=idcs_endpoint, + idcs_last_modified_bies=idcs_last_modified_bies, + idcs_last_upgraded_in_release=idcs_last_upgraded_in_release, + idcs_prevented_operations=idcs_prevented_operations, + ims=ims, + locale=locale, + metas=metas, + names=names, + nick_name=nick_name, + ocid=ocid, + password=password, + phone_numbers=phone_numbers, + photos=photos, + preferred_language=preferred_language, + profile_url=profile_url, + resource_type_schema_version=resource_type_schema_version, + roles=roles, + schemas=schemas, + tags=tags, + tenancy_ocid=tenancy_ocid, + timezone=timezone, + title=title, + urnietfparamsscimschemasextensionenterprise20users=urnietfparamsscimschemasextensionenterprise20users, + urnietfparamsscimschemasoracleidcsextension_oci_tags=urnietfparamsscimschemasoracleidcsextension_oci_tags, + urnietfparamsscimschemasoracleidcsextensionadaptive_users=urnietfparamsscimschemasoracleidcsextensionadaptive_users, + urnietfparamsscimschemasoracleidcsextensioncapabilities_users=urnietfparamsscimschemasoracleidcsextensioncapabilities_users, + urnietfparamsscimschemasoracleidcsextensiondb_credentials_users=urnietfparamsscimschemasoracleidcsextensiondb_credentials_users, + urnietfparamsscimschemasoracleidcsextensiondb_user_users=urnietfparamsscimschemasoracleidcsextensiondb_user_users, + urnietfparamsscimschemasoracleidcsextensionkerberos_user_users=urnietfparamsscimschemasoracleidcsextensionkerberos_user_users, + urnietfparamsscimschemasoracleidcsextensionmfa_users=urnietfparamsscimschemasoracleidcsextensionmfa_users, + urnietfparamsscimschemasoracleidcsextensionpassword_state_users=urnietfparamsscimschemasoracleidcsextensionpassword_state_users, + urnietfparamsscimschemasoracleidcsextensionpasswordless_users=urnietfparamsscimschemasoracleidcsextensionpasswordless_users, + urnietfparamsscimschemasoracleidcsextensionposix_users=urnietfparamsscimschemasoracleidcsextensionposix_users, + urnietfparamsscimschemasoracleidcsextensionsecurity_questions_users=urnietfparamsscimschemasoracleidcsextensionsecurity_questions_users, + urnietfparamsscimschemasoracleidcsextensionself_change_users=urnietfparamsscimschemasoracleidcsextensionself_change_users, + urnietfparamsscimschemasoracleidcsextensionself_registration_users=urnietfparamsscimschemasoracleidcsextensionself_registration_users, + urnietfparamsscimschemasoracleidcsextensionsff_users=urnietfparamsscimschemasoracleidcsextensionsff_users, + urnietfparamsscimschemasoracleidcsextensionsocial_account_users=urnietfparamsscimschemasoracleidcsextensionsocial_account_users, + urnietfparamsscimschemasoracleidcsextensionterms_of_use_users=urnietfparamsscimschemasoracleidcsextensionterms_of_use_users, + urnietfparamsscimschemasoracleidcsextensionuser_credentials_users=urnietfparamsscimschemasoracleidcsextensionuser_credentials_users, + urnietfparamsscimschemasoracleidcsextensionuser_state_users=urnietfparamsscimschemasoracleidcsextensionuser_state_users, + urnietfparamsscimschemasoracleidcsextensionuser_users=urnietfparamsscimschemasoracleidcsextensionuser_users, + user_name=user_name, + user_type=user_type, + x509certificates=x509certificates, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + active: bool, + addresses: Sequence['outputs.GetDomainsUsersUserAddressResult'], + attribute_sets: Sequence[str], + attributes: str, + authorization: str, + compartment_ocid: str, + delete_in_progress: bool, + description: str, + display_name: str, + domain_ocid: str, + emails: Sequence['outputs.GetDomainsUsersUserEmailResult'], + entitlements: Sequence['outputs.GetDomainsUsersUserEntitlementResult'], + external_id: str, + groups: Sequence['outputs.GetDomainsUsersUserGroupResult'], + id: str, + idcs_created_bies: Sequence['outputs.GetDomainsUsersUserIdcsCreatedByResult'], + idcs_endpoint: str, + idcs_last_modified_bies: Sequence['outputs.GetDomainsUsersUserIdcsLastModifiedByResult'], + idcs_last_upgraded_in_release: str, + idcs_prevented_operations: Sequence[str], + ims: Sequence['outputs.GetDomainsUsersUserImResult'], + locale: str, + metas: Sequence['outputs.GetDomainsUsersUserMetaResult'], + names: Sequence['outputs.GetDomainsUsersUserNameResult'], + nick_name: str, + ocid: str, + password: str, + phone_numbers: Sequence['outputs.GetDomainsUsersUserPhoneNumberResult'], + photos: Sequence['outputs.GetDomainsUsersUserPhotoResult'], + preferred_language: str, + profile_url: str, + resource_type_schema_version: str, + roles: Sequence['outputs.GetDomainsUsersUserRoleResult'], + schemas: Sequence[str], + tags: Sequence['outputs.GetDomainsUsersUserTagResult'], + tenancy_ocid: str, + timezone: str, + title: str, + urnietfparamsscimschemasextensionenterprise20users: Sequence['outputs.GetDomainsUsersUserUrnietfparamsscimschemasextensionenterprise20userResult'], + urnietfparamsscimschemasoracleidcsextension_oci_tags: Sequence['outputs.GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionOciTagResult'], + urnietfparamsscimschemasoracleidcsextensionadaptive_users: Sequence['outputs.GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionadaptiveUserResult'], + urnietfparamsscimschemasoracleidcsextensioncapabilities_users: Sequence['outputs.GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensioncapabilitiesUserResult'], + urnietfparamsscimschemasoracleidcsextensiondb_credentials_users: Sequence['outputs.GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensiondbCredentialsUserResult'], + urnietfparamsscimschemasoracleidcsextensiondb_user_users: Sequence['outputs.GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensiondbUserUserResult'], + urnietfparamsscimschemasoracleidcsextensionkerberos_user_users: Sequence['outputs.GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionkerberosUserUserResult'], + urnietfparamsscimschemasoracleidcsextensionmfa_users: Sequence['outputs.GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionmfaUserResult'], + urnietfparamsscimschemasoracleidcsextensionpassword_state_users: Sequence['outputs.GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionpasswordStateUserResult'], + urnietfparamsscimschemasoracleidcsextensionpasswordless_users: Sequence['outputs.GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionpasswordlessUserResult'], + urnietfparamsscimschemasoracleidcsextensionposix_users: Sequence['outputs.GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionposixUserResult'], + urnietfparamsscimschemasoracleidcsextensionsecurity_questions_users: Sequence['outputs.GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionsecurityQuestionsUserResult'], + urnietfparamsscimschemasoracleidcsextensionself_change_users: Sequence['outputs.GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionselfChangeUserResult'], + urnietfparamsscimschemasoracleidcsextensionself_registration_users: Sequence['outputs.GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionselfRegistrationUserResult'], + urnietfparamsscimschemasoracleidcsextensionsff_users: Sequence['outputs.GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionsffUserResult'], + urnietfparamsscimschemasoracleidcsextensionsocial_account_users: Sequence['outputs.GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionsocialAccountUserResult'], + urnietfparamsscimschemasoracleidcsextensionterms_of_use_users: Sequence['outputs.GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensiontermsOfUseUserResult'], + urnietfparamsscimschemasoracleidcsextensionuser_credentials_users: Sequence['outputs.GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionuserCredentialsUserResult'], + urnietfparamsscimschemasoracleidcsextensionuser_state_users: Sequence['outputs.GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionuserStateUserResult'], + urnietfparamsscimschemasoracleidcsextensionuser_users: Sequence['outputs.GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionuserUserResult'], + user_name: str, + user_type: str, + x509certificates: Sequence['outputs.GetDomainsUsersUserX509certificateResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("active", active) + _setter("addresses", addresses) + _setter("attribute_sets", attribute_sets) + _setter("attributes", attributes) + _setter("authorization", authorization) + _setter("compartment_ocid", compartment_ocid) + _setter("delete_in_progress", delete_in_progress) + _setter("description", description) + _setter("display_name", display_name) + _setter("domain_ocid", domain_ocid) + _setter("emails", emails) + _setter("entitlements", entitlements) + _setter("external_id", external_id) + _setter("groups", groups) + _setter("id", id) + _setter("idcs_created_bies", idcs_created_bies) + _setter("idcs_endpoint", idcs_endpoint) + _setter("idcs_last_modified_bies", idcs_last_modified_bies) + _setter("idcs_last_upgraded_in_release", idcs_last_upgraded_in_release) + _setter("idcs_prevented_operations", idcs_prevented_operations) + _setter("ims", ims) + _setter("locale", locale) + _setter("metas", metas) + _setter("names", names) + _setter("nick_name", nick_name) + _setter("ocid", ocid) + _setter("password", password) + _setter("phone_numbers", phone_numbers) + _setter("photos", photos) + _setter("preferred_language", preferred_language) + _setter("profile_url", profile_url) + _setter("resource_type_schema_version", resource_type_schema_version) + _setter("roles", roles) + _setter("schemas", schemas) + _setter("tags", tags) + _setter("tenancy_ocid", tenancy_ocid) + _setter("timezone", timezone) + _setter("title", title) + _setter("urnietfparamsscimschemasextensionenterprise20users", urnietfparamsscimschemasextensionenterprise20users) + _setter("urnietfparamsscimschemasoracleidcsextension_oci_tags", urnietfparamsscimschemasoracleidcsextension_oci_tags) + _setter("urnietfparamsscimschemasoracleidcsextensionadaptive_users", urnietfparamsscimschemasoracleidcsextensionadaptive_users) + _setter("urnietfparamsscimschemasoracleidcsextensioncapabilities_users", urnietfparamsscimschemasoracleidcsextensioncapabilities_users) + _setter("urnietfparamsscimschemasoracleidcsextensiondb_credentials_users", urnietfparamsscimschemasoracleidcsextensiondb_credentials_users) + _setter("urnietfparamsscimschemasoracleidcsextensiondb_user_users", urnietfparamsscimschemasoracleidcsextensiondb_user_users) + _setter("urnietfparamsscimschemasoracleidcsextensionkerberos_user_users", urnietfparamsscimschemasoracleidcsextensionkerberos_user_users) + _setter("urnietfparamsscimschemasoracleidcsextensionmfa_users", urnietfparamsscimschemasoracleidcsextensionmfa_users) + _setter("urnietfparamsscimschemasoracleidcsextensionpassword_state_users", urnietfparamsscimschemasoracleidcsextensionpassword_state_users) + _setter("urnietfparamsscimschemasoracleidcsextensionpasswordless_users", urnietfparamsscimschemasoracleidcsextensionpasswordless_users) + _setter("urnietfparamsscimschemasoracleidcsextensionposix_users", urnietfparamsscimschemasoracleidcsextensionposix_users) + _setter("urnietfparamsscimschemasoracleidcsextensionsecurity_questions_users", urnietfparamsscimschemasoracleidcsextensionsecurity_questions_users) + _setter("urnietfparamsscimschemasoracleidcsextensionself_change_users", urnietfparamsscimschemasoracleidcsextensionself_change_users) + _setter("urnietfparamsscimschemasoracleidcsextensionself_registration_users", urnietfparamsscimschemasoracleidcsextensionself_registration_users) + _setter("urnietfparamsscimschemasoracleidcsextensionsff_users", urnietfparamsscimschemasoracleidcsextensionsff_users) + _setter("urnietfparamsscimschemasoracleidcsextensionsocial_account_users", urnietfparamsscimschemasoracleidcsextensionsocial_account_users) + _setter("urnietfparamsscimschemasoracleidcsextensionterms_of_use_users", urnietfparamsscimschemasoracleidcsextensionterms_of_use_users) + _setter("urnietfparamsscimschemasoracleidcsextensionuser_credentials_users", urnietfparamsscimschemasoracleidcsextensionuser_credentials_users) + _setter("urnietfparamsscimschemasoracleidcsextensionuser_state_users", urnietfparamsscimschemasoracleidcsextensionuser_state_users) + _setter("urnietfparamsscimschemasoracleidcsextensionuser_users", urnietfparamsscimschemasoracleidcsextensionuser_users) + _setter("user_name", user_name) + _setter("user_type", user_type) + _setter("x509certificates", x509certificates) @property @pulumi.getter @@ -101190,14 +119249,37 @@ def __init__(__self__, *, :param str street_address: The full street address component, which may include house number, street name, PO BOX, and multi-line extended street address information. This attribute MAY contain newlines. :param str type: A label indicating the attribute's function. """ - pulumi.set(__self__, "country", country) - pulumi.set(__self__, "formatted", formatted) - pulumi.set(__self__, "locality", locality) - pulumi.set(__self__, "postal_code", postal_code) - pulumi.set(__self__, "primary", primary) - pulumi.set(__self__, "region", region) - pulumi.set(__self__, "street_address", street_address) - pulumi.set(__self__, "type", type) + GetDomainsUsersUserAddressResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + country=country, + formatted=formatted, + locality=locality, + postal_code=postal_code, + primary=primary, + region=region, + street_address=street_address, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + country: str, + formatted: str, + locality: str, + postal_code: str, + primary: bool, + region: str, + street_address: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("country", country) + _setter("formatted", formatted) + _setter("locality", locality) + _setter("postal_code", postal_code) + _setter("primary", primary) + _setter("region", region) + _setter("street_address", street_address) + _setter("type", type) @property @pulumi.getter @@ -101281,12 +119363,31 @@ def __init__(__self__, *, :param str value: The value of a X509 certificate. :param bool verified: A Boolean value that indicates if the phone number is verified. """ - pulumi.set(__self__, "pending_verification_data", pending_verification_data) - pulumi.set(__self__, "primary", primary) - pulumi.set(__self__, "secondary", secondary) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) - pulumi.set(__self__, "verified", verified) + GetDomainsUsersUserEmailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + pending_verification_data=pending_verification_data, + primary=primary, + secondary=secondary, + type=type, + value=value, + verified=verified, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + pending_verification_data: str, + primary: bool, + secondary: bool, + type: str, + value: str, + verified: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("pending_verification_data", pending_verification_data) + _setter("primary", primary) + _setter("secondary", secondary) + _setter("type", type) + _setter("value", value) + _setter("verified", verified) @property @pulumi.getter(name="pendingVerificationData") @@ -101350,10 +119451,25 @@ def __init__(__self__, *, :param str type: A label indicating the attribute's function. :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "primary", primary) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsUsersUserEntitlementResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + primary=primary, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + primary: bool, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("primary", primary) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -101411,15 +119527,40 @@ def __init__(__self__, *, :param str type: A label indicating the attribute's function. :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "date_added", date_added) - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "external_id", external_id) - pulumi.set(__self__, "membership_ocid", membership_ocid) - pulumi.set(__self__, "non_unique_display", non_unique_display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsUsersUserGroupResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + date_added=date_added, + display=display, + external_id=external_id, + membership_ocid=membership_ocid, + non_unique_display=non_unique_display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + date_added: str, + display: str, + external_id: str, + membership_ocid: str, + non_unique_display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("date_added", date_added) + _setter("display", display) + _setter("external_id", external_id) + _setter("membership_ocid", membership_ocid) + _setter("non_unique_display", non_unique_display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter(name="dateAdded") @@ -101509,11 +119650,28 @@ def __init__(__self__, *, :param str type: A label indicating the attribute's function. :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsUsersUserIdcsCreatedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -101571,11 +119729,28 @@ def __init__(__self__, *, :param str type: A label indicating the attribute's function. :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsUsersUserIdcsLastModifiedByResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ocid=ocid, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ocid: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -101631,10 +119806,25 @@ def __init__(__self__, *, :param str type: A label indicating the attribute's function. :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "primary", primary) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsUsersUserImResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + primary=primary, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + primary: bool, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("primary", primary) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -101684,11 +119874,28 @@ def __init__(__self__, *, :param str resource_type: Name of the resource type of the resource--for example, Users or Groups :param str version: The version of the Resource being returned. This value must be the same as the ETag HTTP response header. """ - pulumi.set(__self__, "created", created) - pulumi.set(__self__, "last_modified", last_modified) - pulumi.set(__self__, "location", location) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "version", version) + GetDomainsUsersUserMetaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created=created, + last_modified=last_modified, + location=location, + resource_type=resource_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created: str, + last_modified: str, + location: str, + resource_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created", created) + _setter("last_modified", last_modified) + _setter("location", location) + _setter("resource_type", resource_type) + _setter("version", version) @property @pulumi.getter @@ -101748,12 +119955,31 @@ def __init__(__self__, *, :param str honorific_suffix: Suffix :param str middle_name: Middle name """ - pulumi.set(__self__, "family_name", family_name) - pulumi.set(__self__, "formatted", formatted) - pulumi.set(__self__, "given_name", given_name) - pulumi.set(__self__, "honorific_prefix", honorific_prefix) - pulumi.set(__self__, "honorific_suffix", honorific_suffix) - pulumi.set(__self__, "middle_name", middle_name) + GetDomainsUsersUserNameResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + family_name=family_name, + formatted=formatted, + given_name=given_name, + honorific_prefix=honorific_prefix, + honorific_suffix=honorific_suffix, + middle_name=middle_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + family_name: str, + formatted: str, + given_name: str, + honorific_prefix: str, + honorific_suffix: str, + middle_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("family_name", family_name) + _setter("formatted", formatted) + _setter("given_name", given_name) + _setter("honorific_prefix", honorific_prefix) + _setter("honorific_suffix", honorific_suffix) + _setter("middle_name", middle_name) @property @pulumi.getter(name="familyName") @@ -101819,11 +120045,28 @@ def __init__(__self__, *, :param str value: The value of a X509 certificate. :param bool verified: A Boolean value that indicates if the phone number is verified. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "primary", primary) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) - pulumi.set(__self__, "verified", verified) + GetDomainsUsersUserPhoneNumberResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + primary=primary, + type=type, + value=value, + verified=verified, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + primary: bool, + type: str, + value: str, + verified: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("primary", primary) + _setter("type", type) + _setter("value", value) + _setter("verified", verified) @property @pulumi.getter @@ -101879,10 +120122,25 @@ def __init__(__self__, *, :param str type: A label indicating the attribute's function. :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "primary", primary) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsUsersUserPhotoResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + primary=primary, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + primary: bool, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("primary", primary) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -101930,10 +120188,25 @@ def __init__(__self__, *, :param str type: A label indicating the attribute's function. :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "primary", primary) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsUsersUserRoleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + primary=primary, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + primary: bool, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("primary", primary) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -101977,8 +120250,19 @@ def __init__(__self__, *, :param str key: The user's API key value. :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsUsersUserTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -102014,12 +120298,31 @@ def __init__(__self__, *, :param Sequence['GetDomainsUsersUserUrnietfparamsscimschemasextensionenterprise20userManagerArgs'] managers: The User's manager. A complex type that optionally allows Service Providers to represent organizational hierarchy by referencing the 'id' attribute of another User. :param str organization: Identifies the name of an organization. """ - pulumi.set(__self__, "cost_center", cost_center) - pulumi.set(__self__, "department", department) - pulumi.set(__self__, "division", division) - pulumi.set(__self__, "employee_number", employee_number) - pulumi.set(__self__, "managers", managers) - pulumi.set(__self__, "organization", organization) + GetDomainsUsersUserUrnietfparamsscimschemasextensionenterprise20userResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cost_center=cost_center, + department=department, + division=division, + employee_number=employee_number, + managers=managers, + organization=organization, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cost_center: str, + department: str, + division: str, + employee_number: str, + managers: Sequence['outputs.GetDomainsUsersUserUrnietfparamsscimschemasextensionenterprise20userManagerResult'], + organization: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cost_center", cost_center) + _setter("department", department) + _setter("division", division) + _setter("employee_number", employee_number) + _setter("managers", managers) + _setter("organization", organization) @property @pulumi.getter(name="costCenter") @@ -102081,9 +120384,22 @@ def __init__(__self__, *, :param str ref: User Token URI :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsUsersUserUrnietfparamsscimschemasextensionenterprise20userManagerResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter(name="displayName") @@ -102121,9 +120437,22 @@ def __init__(__self__, *, :param Sequence['GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionOciTagFreeformTagArgs'] freeform_tags: Oracle Cloud Infrastructure Freeform Tags :param str tag_slug: Oracle Cloud Infrastructure Tag slug """ - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "tag_slug", tag_slug) + GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionOciTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + defined_tags=defined_tags, + freeform_tags=freeform_tags, + tag_slug=tag_slug, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + defined_tags: Sequence['outputs.GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionOciTagDefinedTagResult'], + freeform_tags: Sequence['outputs.GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionOciTagFreeformTagResult'], + tag_slug: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("defined_tags", defined_tags) + _setter("freeform_tags", freeform_tags) + _setter("tag_slug", tag_slug) @property @pulumi.getter(name="definedTags") @@ -102161,9 +120490,22 @@ def __init__(__self__, *, :param str namespace: Oracle Cloud Infrastructure Tag namespace :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "value", value) + GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionOciTagDefinedTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + namespace=namespace, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + namespace: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("namespace", namespace) + _setter("value", value) @property @pulumi.getter @@ -102199,8 +120541,19 @@ def __init__(__self__, *, :param str key: The user's API key value. :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "value", value) + GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionOciTagFreeformTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("value", value) @property @pulumi.getter @@ -102228,8 +120581,19 @@ def __init__(__self__, *, :param str risk_level: Risk Level :param Sequence['GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionadaptiveUserRiskScoreArgs'] risk_scores: The risk score pertaining to the user. """ - pulumi.set(__self__, "risk_level", risk_level) - pulumi.set(__self__, "risk_scores", risk_scores) + GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionadaptiveUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + risk_level=risk_level, + risk_scores=risk_scores, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + risk_level: str, + risk_scores: Sequence['outputs.GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionadaptiveUserRiskScoreResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("risk_level", risk_level) + _setter("risk_scores", risk_scores) @property @pulumi.getter(name="riskLevel") @@ -102267,13 +120631,34 @@ def __init__(__self__, *, :param str status: A supplemental status indicating the reason why a user is disabled :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "last_update_timestamp", last_update_timestamp) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "risk_level", risk_level) - pulumi.set(__self__, "score", score) - pulumi.set(__self__, "source", source) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "value", value) + GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionadaptiveUserRiskScoreResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + last_update_timestamp=last_update_timestamp, + ref=ref, + risk_level=risk_level, + score=score, + source=source, + status=status, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + last_update_timestamp: str, + ref: str, + risk_level: str, + score: int, + source: str, + status: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("last_update_timestamp", last_update_timestamp) + _setter("ref", ref) + _setter("risk_level", risk_level) + _setter("score", score) + _setter("source", source) + _setter("status", status) + _setter("value", value) @property @pulumi.getter(name="lastUpdateTimestamp") @@ -102353,14 +120738,37 @@ def __init__(__self__, *, :param bool can_use_oauth2client_credentials: Indicates whether a user can use OAuth2 client credentials. :param bool can_use_smtp_credentials: Indicates whether a user can use SMTP credentials. """ - pulumi.set(__self__, "can_use_api_keys", can_use_api_keys) - pulumi.set(__self__, "can_use_auth_tokens", can_use_auth_tokens) - pulumi.set(__self__, "can_use_console", can_use_console) - pulumi.set(__self__, "can_use_console_password", can_use_console_password) - pulumi.set(__self__, "can_use_customer_secret_keys", can_use_customer_secret_keys) - pulumi.set(__self__, "can_use_db_credentials", can_use_db_credentials) - pulumi.set(__self__, "can_use_oauth2client_credentials", can_use_oauth2client_credentials) - pulumi.set(__self__, "can_use_smtp_credentials", can_use_smtp_credentials) + GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensioncapabilitiesUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + can_use_api_keys=can_use_api_keys, + can_use_auth_tokens=can_use_auth_tokens, + can_use_console=can_use_console, + can_use_console_password=can_use_console_password, + can_use_customer_secret_keys=can_use_customer_secret_keys, + can_use_db_credentials=can_use_db_credentials, + can_use_oauth2client_credentials=can_use_oauth2client_credentials, + can_use_smtp_credentials=can_use_smtp_credentials, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + can_use_api_keys: bool, + can_use_auth_tokens: bool, + can_use_console: bool, + can_use_console_password: bool, + can_use_customer_secret_keys: bool, + can_use_db_credentials: bool, + can_use_oauth2client_credentials: bool, + can_use_smtp_credentials: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("can_use_api_keys", can_use_api_keys) + _setter("can_use_auth_tokens", can_use_auth_tokens) + _setter("can_use_console", can_use_console) + _setter("can_use_console_password", can_use_console_password) + _setter("can_use_customer_secret_keys", can_use_customer_secret_keys) + _setter("can_use_db_credentials", can_use_db_credentials) + _setter("can_use_oauth2client_credentials", can_use_oauth2client_credentials) + _setter("can_use_smtp_credentials", can_use_smtp_credentials) @property @pulumi.getter(name="canUseApiKeys") @@ -102436,8 +120844,19 @@ def __init__(__self__, *, :param int db_login_attempts: The number of failed login attempts. The value is reset to 0 after a successful login. :param str db_user_name: The database username. """ - pulumi.set(__self__, "db_login_attempts", db_login_attempts) - pulumi.set(__self__, "db_user_name", db_user_name) + GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensiondbCredentialsUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_login_attempts=db_login_attempts, + db_user_name=db_user_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_login_attempts: int, + db_user_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("db_login_attempts", db_login_attempts) + _setter("db_user_name", db_user_name) @property @pulumi.getter(name="dbLoginAttempts") @@ -102471,11 +120890,28 @@ def __init__(__self__, *, :param bool is_db_user: If true, indicates this is a database user. :param Sequence['GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensiondbUserUserPasswordVerifierArgs'] password_verifiers: Password Verifiers for DB User. """ - pulumi.set(__self__, "db_global_roles", db_global_roles) - pulumi.set(__self__, "domain_level_schema", domain_level_schema) - pulumi.set(__self__, "instance_level_schema", instance_level_schema) - pulumi.set(__self__, "is_db_user", is_db_user) - pulumi.set(__self__, "password_verifiers", password_verifiers) + GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensiondbUserUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_global_roles=db_global_roles, + domain_level_schema=domain_level_schema, + instance_level_schema=instance_level_schema, + is_db_user=is_db_user, + password_verifiers=password_verifiers, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_global_roles: Sequence[str], + domain_level_schema: str, + instance_level_schema: str, + is_db_user: bool, + password_verifiers: Sequence['outputs.GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensiondbUserUserPasswordVerifierResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("db_global_roles", db_global_roles) + _setter("domain_level_schema", domain_level_schema) + _setter("instance_level_schema", instance_level_schema) + _setter("is_db_user", is_db_user) + _setter("password_verifiers", password_verifiers) @property @pulumi.getter(name="dbGlobalRoles") @@ -102527,8 +120963,19 @@ def __init__(__self__, *, :param str type: A label indicating the attribute's function. :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensiondbUserUserPasswordVerifierResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -102554,7 +121001,16 @@ def __init__(__self__, *, """ :param Sequence['GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionkerberosUserUserRealmUserArgs'] realm_users: A list of kerberos realm users for an Oracle Identity Cloud Service User """ - pulumi.set(__self__, "realm_users", realm_users) + GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionkerberosUserUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + realm_users=realm_users, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + realm_users: Sequence['outputs.GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionkerberosUserUserRealmUserResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("realm_users", realm_users) @property @pulumi.getter(name="realmUsers") @@ -102578,10 +121034,25 @@ def __init__(__self__, *, :param str ref: User Token URI :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "principal_name", principal_name) - pulumi.set(__self__, "realm_name", realm_name) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionkerberosUserUserRealmUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + principal_name=principal_name, + realm_name=realm_name, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + principal_name: str, + realm_name: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("principal_name", principal_name) + _setter("realm_name", realm_name) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter(name="principalName") @@ -102643,17 +121114,46 @@ def __init__(__self__, *, :param str preferred_third_party_vendor: The preferred third-party vendor name. :param Sequence['GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionmfaUserTrustedUserAgentArgs'] trusted_user_agents: A list of trusted User Agents owned by this user. Multi-Factored Authentication uses Trusted User Agents to authenticate users. A User Agent is software application that a user uses to issue requests. For example, a User Agent could be a particular browser (possibly one of several executing on a desktop or laptop) or a particular mobile application (again, oneof several executing on a particular mobile device). A User Agent is trusted once the Multi-Factor Authentication has verified it in some way. """ - pulumi.set(__self__, "bypass_codes", bypass_codes) - pulumi.set(__self__, "devices", devices) - pulumi.set(__self__, "login_attempts", login_attempts) - pulumi.set(__self__, "mfa_enabled_on", mfa_enabled_on) - pulumi.set(__self__, "mfa_ignored_apps", mfa_ignored_apps) - pulumi.set(__self__, "mfa_status", mfa_status) - pulumi.set(__self__, "preferred_authentication_factor", preferred_authentication_factor) - pulumi.set(__self__, "preferred_authentication_method", preferred_authentication_method) - pulumi.set(__self__, "preferred_devices", preferred_devices) - pulumi.set(__self__, "preferred_third_party_vendor", preferred_third_party_vendor) - pulumi.set(__self__, "trusted_user_agents", trusted_user_agents) + GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionmfaUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bypass_codes=bypass_codes, + devices=devices, + login_attempts=login_attempts, + mfa_enabled_on=mfa_enabled_on, + mfa_ignored_apps=mfa_ignored_apps, + mfa_status=mfa_status, + preferred_authentication_factor=preferred_authentication_factor, + preferred_authentication_method=preferred_authentication_method, + preferred_devices=preferred_devices, + preferred_third_party_vendor=preferred_third_party_vendor, + trusted_user_agents=trusted_user_agents, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bypass_codes: Sequence['outputs.GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionmfaUserBypassCodeResult'], + devices: Sequence['outputs.GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionmfaUserDeviceResult'], + login_attempts: int, + mfa_enabled_on: str, + mfa_ignored_apps: Sequence[str], + mfa_status: str, + preferred_authentication_factor: str, + preferred_authentication_method: str, + preferred_devices: Sequence['outputs.GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionmfaUserPreferredDeviceResult'], + preferred_third_party_vendor: str, + trusted_user_agents: Sequence['outputs.GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionmfaUserTrustedUserAgentResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bypass_codes", bypass_codes) + _setter("devices", devices) + _setter("login_attempts", login_attempts) + _setter("mfa_enabled_on", mfa_enabled_on) + _setter("mfa_ignored_apps", mfa_ignored_apps) + _setter("mfa_status", mfa_status) + _setter("preferred_authentication_factor", preferred_authentication_factor) + _setter("preferred_authentication_method", preferred_authentication_method) + _setter("preferred_devices", preferred_devices) + _setter("preferred_third_party_vendor", preferred_third_party_vendor) + _setter("trusted_user_agents", trusted_user_agents) @property @pulumi.getter(name="bypassCodes") @@ -102753,8 +121253,19 @@ def __init__(__self__, *, :param str ref: User Token URI :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionmfaUserBypassCodeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -102796,15 +121307,40 @@ def __init__(__self__, *, :param str third_party_vendor_name: The third-party factor vendor name. :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "authentication_method", authentication_method) - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "factor_status", factor_status) - pulumi.set(__self__, "factor_type", factor_type) - pulumi.set(__self__, "last_sync_time", last_sync_time) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "third_party_vendor_name", third_party_vendor_name) - pulumi.set(__self__, "value", value) + GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionmfaUserDeviceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + authentication_method=authentication_method, + display=display, + factor_status=factor_status, + factor_type=factor_type, + last_sync_time=last_sync_time, + ref=ref, + status=status, + third_party_vendor_name=third_party_vendor_name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + authentication_method: str, + display: str, + factor_status: str, + factor_type: str, + last_sync_time: str, + ref: str, + status: str, + third_party_vendor_name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("authentication_method", authentication_method) + _setter("display", display) + _setter("factor_status", factor_status) + _setter("factor_type", factor_type) + _setter("last_sync_time", last_sync_time) + _setter("ref", ref) + _setter("status", status) + _setter("third_party_vendor_name", third_party_vendor_name) + _setter("value", value) @property @pulumi.getter(name="authenticationMethod") @@ -102890,9 +121426,22 @@ def __init__(__self__, *, :param str ref: User Token URI :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionmfaUserPreferredDeviceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -102930,9 +121479,22 @@ def __init__(__self__, *, :param str ref: User Token URI :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionmfaUserTrustedUserAgentResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -102980,14 +121542,37 @@ def __init__(__self__, *, :param str last_successful_validation_date: A DateTime that specifies the date and time when last successful password validation was set :param bool must_change: Indicates that the subject password value MUST change on next login. If not changed, typically the account is locked. The value may be set indirectly when the subject's current password expires or directly set by an administrator. """ - pulumi.set(__self__, "applicable_password_policies", applicable_password_policies) - pulumi.set(__self__, "cant_change", cant_change) - pulumi.set(__self__, "cant_expire", cant_expire) - pulumi.set(__self__, "expired", expired) - pulumi.set(__self__, "last_failed_validation_date", last_failed_validation_date) - pulumi.set(__self__, "last_successful_set_date", last_successful_set_date) - pulumi.set(__self__, "last_successful_validation_date", last_successful_validation_date) - pulumi.set(__self__, "must_change", must_change) + GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionpasswordStateUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + applicable_password_policies=applicable_password_policies, + cant_change=cant_change, + cant_expire=cant_expire, + expired=expired, + last_failed_validation_date=last_failed_validation_date, + last_successful_set_date=last_successful_set_date, + last_successful_validation_date=last_successful_validation_date, + must_change=must_change, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + applicable_password_policies: Sequence['outputs.GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionpasswordStateUserApplicablePasswordPolicyResult'], + cant_change: bool, + cant_expire: bool, + expired: bool, + last_failed_validation_date: str, + last_successful_set_date: str, + last_successful_validation_date: str, + must_change: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("applicable_password_policies", applicable_password_policies) + _setter("cant_change", cant_change) + _setter("cant_expire", cant_expire) + _setter("expired", expired) + _setter("last_failed_validation_date", last_failed_validation_date) + _setter("last_successful_set_date", last_successful_set_date) + _setter("last_successful_validation_date", last_successful_validation_date) + _setter("must_change", must_change) @property @pulumi.getter(name="applicablePasswordPolicies") @@ -103067,10 +121652,25 @@ def __init__(__self__, *, :param str ref: User Token URI :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "priority", priority) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionpasswordStateUserApplicablePasswordPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + priority=priority, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + priority: int, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("priority", priority) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -103116,9 +121716,22 @@ def __init__(__self__, *, :param str factor_method: Authentication Factor Method :param str factor_type: Authentication Factor Type """ - pulumi.set(__self__, "factor_identifiers", factor_identifiers) - pulumi.set(__self__, "factor_method", factor_method) - pulumi.set(__self__, "factor_type", factor_type) + GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionpasswordlessUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + factor_identifiers=factor_identifiers, + factor_method=factor_method, + factor_type=factor_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + factor_identifiers: Sequence['outputs.GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionpasswordlessUserFactorIdentifierResult'], + factor_method: str, + factor_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("factor_identifiers", factor_identifiers) + _setter("factor_method", factor_method) + _setter("factor_type", factor_type) @property @pulumi.getter(name="factorIdentifiers") @@ -103156,9 +121769,22 @@ def __init__(__self__, *, :param str ref: User Token URI :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionpasswordlessUserFactorIdentifierResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -103200,11 +121826,28 @@ def __init__(__self__, *, :param str login_shell: The path to the login shell of the POSIX account :param int uid_number: Integer uniquely identifying a user in a POSIX administrative domain """ - pulumi.set(__self__, "gecos", gecos) - pulumi.set(__self__, "gid_number", gid_number) - pulumi.set(__self__, "home_directory", home_directory) - pulumi.set(__self__, "login_shell", login_shell) - pulumi.set(__self__, "uid_number", uid_number) + GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionposixUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + gecos=gecos, + gid_number=gid_number, + home_directory=home_directory, + login_shell=login_shell, + uid_number=uid_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + gecos: str, + gid_number: int, + home_directory: str, + login_shell: str, + uid_number: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("gecos", gecos) + _setter("gid_number", gid_number) + _setter("home_directory", home_directory) + _setter("login_shell", login_shell) + _setter("uid_number", uid_number) @property @pulumi.getter @@ -103254,7 +121897,16 @@ def __init__(__self__, *, """ :param Sequence['GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionsecurityQuestionsUserSecQuestionArgs'] sec_questions: The schema used to mnage security question and answers provided by a user for account recovery and/or MFA. While setting up security questions, a user can also provide a hint for the answer. """ - pulumi.set(__self__, "sec_questions", sec_questions) + GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionsecurityQuestionsUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + sec_questions=sec_questions, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + sec_questions: Sequence['outputs.GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionsecurityQuestionsUserSecQuestionResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("sec_questions", sec_questions) @property @pulumi.getter(name="secQuestions") @@ -103278,10 +121930,25 @@ def __init__(__self__, *, :param str ref: User Token URI :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "answer", answer) - pulumi.set(__self__, "hint_text", hint_text) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionsecurityQuestionsUserSecQuestionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + answer=answer, + hint_text=hint_text, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + answer: str, + hint_text: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("answer", answer) + _setter("hint_text", hint_text) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -103323,7 +121990,16 @@ def __init__(__self__, *, """ :param bool allow_self_change: If true, allows requesting user to update themselves. If false, requesting user can't update themself (default). """ - pulumi.set(__self__, "allow_self_change", allow_self_change) + GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionselfChangeUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allow_self_change=allow_self_change, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allow_self_change: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allow_self_change", allow_self_change) @property @pulumi.getter(name="allowSelfChange") @@ -103345,9 +122021,22 @@ def __init__(__self__, *, :param Sequence['GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionselfRegistrationUserSelfRegistrationProfileArgs'] self_registration_profiles: Self registration profile used when user is self registered. :param str user_token: User token returned if userFlowControlledByExternalClient is true """ - pulumi.set(__self__, "consent_granted", consent_granted) - pulumi.set(__self__, "self_registration_profiles", self_registration_profiles) - pulumi.set(__self__, "user_token", user_token) + GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionselfRegistrationUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + consent_granted=consent_granted, + self_registration_profiles=self_registration_profiles, + user_token=user_token, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + consent_granted: bool, + self_registration_profiles: Sequence['outputs.GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionselfRegistrationUserSelfRegistrationProfileResult'], + user_token: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("consent_granted", consent_granted) + _setter("self_registration_profiles", self_registration_profiles) + _setter("user_token", user_token) @property @pulumi.getter(name="consentGranted") @@ -103385,9 +122074,22 @@ def __init__(__self__, *, :param str ref: User Token URI :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionselfRegistrationUserSelfRegistrationProfileResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -103421,7 +122123,16 @@ def __init__(__self__, *, """ :param str sff_auth_keys: SFF auth keys clob """ - pulumi.set(__self__, "sff_auth_keys", sff_auth_keys) + GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionsffUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + sff_auth_keys=sff_auth_keys, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + sff_auth_keys: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("sff_auth_keys", sff_auth_keys) @property @pulumi.getter(name="sffAuthKeys") @@ -103439,7 +122150,16 @@ def __init__(__self__, *, """ :param Sequence['GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionsocialAccountUserSocialAccountArgs'] social_accounts: Description: """ - pulumi.set(__self__, "social_accounts", social_accounts) + GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionsocialAccountUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + social_accounts=social_accounts, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + social_accounts: Sequence['outputs.GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionsocialAccountUserSocialAccountResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("social_accounts", social_accounts) @property @pulumi.getter(name="socialAccounts") @@ -103461,9 +122181,22 @@ def __init__(__self__, *, :param str ref: User Token URI :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionsocialAccountUserSocialAccountResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -103497,7 +122230,16 @@ def __init__(__self__, *, """ :param Sequence['GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensiontermsOfUseUserTermsOfUseConsentArgs'] terms_of_use_consents: Description: """ - pulumi.set(__self__, "terms_of_use_consents", terms_of_use_consents) + GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensiontermsOfUseUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + terms_of_use_consents=terms_of_use_consents, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + terms_of_use_consents: Sequence['outputs.GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensiontermsOfUseUserTermsOfUseConsentResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("terms_of_use_consents", terms_of_use_consents) @property @pulumi.getter(name="termsOfUseConsents") @@ -103517,8 +122259,19 @@ def __init__(__self__, *, :param str ref: User Token URI :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensiontermsOfUseUserTermsOfUseConsentResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -103554,12 +122307,31 @@ def __init__(__self__, *, :param Sequence['GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionuserCredentialsUserOAuth2clientCredentialArgs'] o_auth2client_credentials: A list of OAuth2 client credentials corresponding to a user. :param Sequence['GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionuserCredentialsUserSmtpCredentialArgs'] smtp_credentials: A list of SMTP credentials corresponding to user. """ - pulumi.set(__self__, "api_keys", api_keys) - pulumi.set(__self__, "auth_tokens", auth_tokens) - pulumi.set(__self__, "customer_secret_keys", customer_secret_keys) - pulumi.set(__self__, "db_credentials", db_credentials) - pulumi.set(__self__, "o_auth2client_credentials", o_auth2client_credentials) - pulumi.set(__self__, "smtp_credentials", smtp_credentials) + GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionuserCredentialsUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + api_keys=api_keys, + auth_tokens=auth_tokens, + customer_secret_keys=customer_secret_keys, + db_credentials=db_credentials, + o_auth2client_credentials=o_auth2client_credentials, + smtp_credentials=smtp_credentials, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + api_keys: Sequence['outputs.GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionuserCredentialsUserApiKeyResult'], + auth_tokens: Sequence['outputs.GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionuserCredentialsUserAuthTokenResult'], + customer_secret_keys: Sequence['outputs.GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionuserCredentialsUserCustomerSecretKeyResult'], + db_credentials: Sequence['outputs.GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionuserCredentialsUserDbCredentialResult'], + o_auth2client_credentials: Sequence['outputs.GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionuserCredentialsUserOAuth2clientCredentialResult'], + smtp_credentials: Sequence['outputs.GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionuserCredentialsUserSmtpCredentialResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("api_keys", api_keys) + _setter("auth_tokens", auth_tokens) + _setter("customer_secret_keys", customer_secret_keys) + _setter("db_credentials", db_credentials) + _setter("o_auth2client_credentials", o_auth2client_credentials) + _setter("smtp_credentials", smtp_credentials) @property @pulumi.getter(name="apiKeys") @@ -103623,10 +122395,25 @@ def __init__(__self__, *, :param str ref: User Token URI :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionuserCredentialsUserApiKeyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + ocid: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -103672,9 +122459,22 @@ def __init__(__self__, *, :param str ref: User Token URI :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionuserCredentialsUserAuthTokenResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ocid: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ocid", ocid) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -103712,9 +122512,22 @@ def __init__(__self__, *, :param str ref: User Token URI :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionuserCredentialsUserCustomerSecretKeyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ocid: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ocid", ocid) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -103752,9 +122565,22 @@ def __init__(__self__, *, :param str ref: User Token URI :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionuserCredentialsUserDbCredentialResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ocid: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ocid", ocid) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -103792,9 +122618,22 @@ def __init__(__self__, *, :param str ref: User Token URI :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionuserCredentialsUserOAuth2clientCredentialResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ocid: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ocid", ocid) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -103832,9 +122671,22 @@ def __init__(__self__, *, :param str ref: User Token URI :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionuserCredentialsUserSmtpCredentialResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ocid: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ocid", ocid) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -103884,15 +122736,40 @@ def __init__(__self__, *, :param int recovery_enroll_attempts: The number of failed account recovery enrollment attempts. :param Sequence['GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionuserStateUserRecoveryLockedArgs'] recovery_lockeds: A complex attribute that indicates a password recovery is locked (blocking any new sessions). """ - pulumi.set(__self__, "last_failed_login_date", last_failed_login_date) - pulumi.set(__self__, "last_successful_login_date", last_successful_login_date) - pulumi.set(__self__, "lockeds", lockeds) - pulumi.set(__self__, "login_attempts", login_attempts) - pulumi.set(__self__, "max_concurrent_sessions", max_concurrent_sessions) - pulumi.set(__self__, "previous_successful_login_date", previous_successful_login_date) - pulumi.set(__self__, "recovery_attempts", recovery_attempts) - pulumi.set(__self__, "recovery_enroll_attempts", recovery_enroll_attempts) - pulumi.set(__self__, "recovery_lockeds", recovery_lockeds) + GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionuserStateUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + last_failed_login_date=last_failed_login_date, + last_successful_login_date=last_successful_login_date, + lockeds=lockeds, + login_attempts=login_attempts, + max_concurrent_sessions=max_concurrent_sessions, + previous_successful_login_date=previous_successful_login_date, + recovery_attempts=recovery_attempts, + recovery_enroll_attempts=recovery_enroll_attempts, + recovery_lockeds=recovery_lockeds, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + last_failed_login_date: str, + last_successful_login_date: str, + lockeds: Sequence['outputs.GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionuserStateUserLockedResult'], + login_attempts: int, + max_concurrent_sessions: int, + previous_successful_login_date: str, + recovery_attempts: int, + recovery_enroll_attempts: int, + recovery_lockeds: Sequence['outputs.GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionuserStateUserRecoveryLockedResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("last_failed_login_date", last_failed_login_date) + _setter("last_successful_login_date", last_successful_login_date) + _setter("lockeds", lockeds) + _setter("login_attempts", login_attempts) + _setter("max_concurrent_sessions", max_concurrent_sessions) + _setter("previous_successful_login_date", previous_successful_login_date) + _setter("recovery_attempts", recovery_attempts) + _setter("recovery_enroll_attempts", recovery_enroll_attempts) + _setter("recovery_lockeds", recovery_lockeds) @property @pulumi.getter(name="lastFailedLoginDate") @@ -103980,10 +122857,25 @@ def __init__(__self__, *, :param bool on: Indicates that the recovery is locked. :param int reason: Indicates the reason for locking the account. Valid values are: 0 - failed password login attempts, 1 - admin lock, 2 - failed reset password attempts, 3 - failed MFA login attempts, 4 - failed MFA login attempts for federated user, 5 - failed Database login attempts """ - pulumi.set(__self__, "expired", expired) - pulumi.set(__self__, "lock_date", lock_date) - pulumi.set(__self__, "on", on) - pulumi.set(__self__, "reason", reason) + GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionuserStateUserLockedResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + expired=expired, + lock_date=lock_date, + on=on, + reason=reason, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + expired: bool, + lock_date: str, + on: bool, + reason: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("expired", expired) + _setter("lock_date", lock_date) + _setter("on", on) + _setter("reason", reason) @property @pulumi.getter @@ -104027,8 +122919,19 @@ def __init__(__self__, *, :param str lock_date: The date and time that the current resource was locked. :param bool on: Indicates that the recovery is locked. """ - pulumi.set(__self__, "lock_date", lock_date) - pulumi.set(__self__, "on", on) + GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionuserStateUserRecoveryLockedResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + lock_date=lock_date, + on=on, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + lock_date: str, + on: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("lock_date", lock_date) + _setter("on", on) @property @pulumi.getter(name="lockDate") @@ -104100,30 +123003,85 @@ def __init__(__self__, *, :param str user_provider: User Support Account Provider :param Sequence['GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionuserUserUserTokenArgs'] user_tokens: User token returned if userFlowControlledByExternalClient is true """ - pulumi.set(__self__, "account_recovery_required", account_recovery_required) - pulumi.set(__self__, "accounts", accounts) - pulumi.set(__self__, "app_roles", app_roles) - pulumi.set(__self__, "applicable_authentication_target_apps", applicable_authentication_target_apps) - pulumi.set(__self__, "bypass_notification", bypass_notification) - pulumi.set(__self__, "creation_mechanism", creation_mechanism) - pulumi.set(__self__, "delegated_authentication_target_apps", delegated_authentication_target_apps) - pulumi.set(__self__, "do_not_show_getting_started", do_not_show_getting_started) - pulumi.set(__self__, "grants", grants) - pulumi.set(__self__, "group_membership_last_modified", group_membership_last_modified) - pulumi.set(__self__, "idcs_app_roles_limited_to_groups", idcs_app_roles_limited_to_groups) - pulumi.set(__self__, "is_account_recovery_enrolled", is_account_recovery_enrolled) - pulumi.set(__self__, "is_authentication_delegated", is_authentication_delegated) - pulumi.set(__self__, "is_federated_user", is_federated_user) - pulumi.set(__self__, "is_group_membership_normalized", is_group_membership_normalized) - pulumi.set(__self__, "is_group_membership_synced_to_users_groups", is_group_membership_synced_to_users_groups) - pulumi.set(__self__, "notification_email_template_id", notification_email_template_id) - pulumi.set(__self__, "preferred_ui_landing_page", preferred_ui_landing_page) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "support_accounts", support_accounts) - pulumi.set(__self__, "synced_from_apps", synced_from_apps) - pulumi.set(__self__, "user_flow_controlled_by_external_client", user_flow_controlled_by_external_client) - pulumi.set(__self__, "user_provider", user_provider) - pulumi.set(__self__, "user_tokens", user_tokens) + GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionuserUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_recovery_required=account_recovery_required, + accounts=accounts, + app_roles=app_roles, + applicable_authentication_target_apps=applicable_authentication_target_apps, + bypass_notification=bypass_notification, + creation_mechanism=creation_mechanism, + delegated_authentication_target_apps=delegated_authentication_target_apps, + do_not_show_getting_started=do_not_show_getting_started, + grants=grants, + group_membership_last_modified=group_membership_last_modified, + idcs_app_roles_limited_to_groups=idcs_app_roles_limited_to_groups, + is_account_recovery_enrolled=is_account_recovery_enrolled, + is_authentication_delegated=is_authentication_delegated, + is_federated_user=is_federated_user, + is_group_membership_normalized=is_group_membership_normalized, + is_group_membership_synced_to_users_groups=is_group_membership_synced_to_users_groups, + notification_email_template_id=notification_email_template_id, + preferred_ui_landing_page=preferred_ui_landing_page, + status=status, + support_accounts=support_accounts, + synced_from_apps=synced_from_apps, + user_flow_controlled_by_external_client=user_flow_controlled_by_external_client, + user_provider=user_provider, + user_tokens=user_tokens, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_recovery_required: bool, + accounts: Sequence['outputs.GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionuserUserAccountResult'], + app_roles: Sequence['outputs.GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionuserUserAppRoleResult'], + applicable_authentication_target_apps: Sequence['outputs.GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionuserUserApplicableAuthenticationTargetAppResult'], + bypass_notification: bool, + creation_mechanism: str, + delegated_authentication_target_apps: Sequence['outputs.GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionuserUserDelegatedAuthenticationTargetAppResult'], + do_not_show_getting_started: bool, + grants: Sequence['outputs.GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionuserUserGrantResult'], + group_membership_last_modified: str, + idcs_app_roles_limited_to_groups: Sequence['outputs.GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionuserUserIdcsAppRolesLimitedToGroupResult'], + is_account_recovery_enrolled: bool, + is_authentication_delegated: bool, + is_federated_user: bool, + is_group_membership_normalized: bool, + is_group_membership_synced_to_users_groups: bool, + notification_email_template_id: str, + preferred_ui_landing_page: str, + status: str, + support_accounts: Sequence['outputs.GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionuserUserSupportAccountResult'], + synced_from_apps: Sequence['outputs.GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionuserUserSyncedFromAppResult'], + user_flow_controlled_by_external_client: bool, + user_provider: str, + user_tokens: Sequence['outputs.GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionuserUserUserTokenResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("account_recovery_required", account_recovery_required) + _setter("accounts", accounts) + _setter("app_roles", app_roles) + _setter("applicable_authentication_target_apps", applicable_authentication_target_apps) + _setter("bypass_notification", bypass_notification) + _setter("creation_mechanism", creation_mechanism) + _setter("delegated_authentication_target_apps", delegated_authentication_target_apps) + _setter("do_not_show_getting_started", do_not_show_getting_started) + _setter("grants", grants) + _setter("group_membership_last_modified", group_membership_last_modified) + _setter("idcs_app_roles_limited_to_groups", idcs_app_roles_limited_to_groups) + _setter("is_account_recovery_enrolled", is_account_recovery_enrolled) + _setter("is_authentication_delegated", is_authentication_delegated) + _setter("is_federated_user", is_federated_user) + _setter("is_group_membership_normalized", is_group_membership_normalized) + _setter("is_group_membership_synced_to_users_groups", is_group_membership_synced_to_users_groups) + _setter("notification_email_template_id", notification_email_template_id) + _setter("preferred_ui_landing_page", preferred_ui_landing_page) + _setter("status", status) + _setter("support_accounts", support_accounts) + _setter("synced_from_apps", synced_from_apps) + _setter("user_flow_controlled_by_external_client", user_flow_controlled_by_external_client) + _setter("user_provider", user_provider) + _setter("user_tokens", user_tokens) @property @pulumi.getter(name="accountRecoveryRequired") @@ -104333,11 +123291,28 @@ def __init__(__self__, *, :param str ref: User Token URI :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "active", active) - pulumi.set(__self__, "app_id", app_id) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionuserUserAccountResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + active=active, + app_id=app_id, + name=name, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + active: bool, + app_id: str, + name: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("active", active) + _setter("app_id", app_id) + _setter("name", name) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -104401,14 +123376,37 @@ def __init__(__self__, *, :param str type: A label indicating the attribute's function. :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "admin_role", admin_role) - pulumi.set(__self__, "app_id", app_id) - pulumi.set(__self__, "app_name", app_name) - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "legacy_group_name", legacy_group_name) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionuserUserAppRoleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + admin_role=admin_role, + app_id=app_id, + app_name=app_name, + display=display, + legacy_group_name=legacy_group_name, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + admin_role: bool, + app_id: str, + app_name: str, + display: str, + legacy_group_name: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("admin_role", admin_role) + _setter("app_id", app_id) + _setter("app_name", app_name) + _setter("display", display) + _setter("legacy_group_name", legacy_group_name) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter(name="adminRole") @@ -104490,11 +123488,28 @@ def __init__(__self__, *, :param str type: A label indicating the attribute's function. :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "target_request_timeout", target_request_timeout) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionuserUserApplicableAuthenticationTargetAppResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ref=ref, + target_request_timeout=target_request_timeout, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ref: str, + target_request_timeout: int, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ref", ref) + _setter("target_request_timeout", target_request_timeout) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -104550,10 +123565,25 @@ def __init__(__self__, *, :param str type: A label indicating the attribute's function. :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionuserUserDelegatedAuthenticationTargetAppResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -104606,11 +123636,28 @@ def __init__(__self__, *, :param str ref: User Token URI :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "app_id", app_id) - pulumi.set(__self__, "grant_mechanism", grant_mechanism) - pulumi.set(__self__, "grantor_id", grantor_id) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionuserUserGrantResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + app_id=app_id, + grant_mechanism=grant_mechanism, + grantor_id=grantor_id, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + app_id: str, + grant_mechanism: str, + grantor_id: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("app_id", app_id) + _setter("grant_mechanism", grant_mechanism) + _setter("grantor_id", grantor_id) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter(name="appId") @@ -104671,11 +123718,28 @@ def __init__(__self__, *, :param str ref: User Token URI :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "idcs_app_role_id", idcs_app_role_id) - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionuserUserIdcsAppRolesLimitedToGroupResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + idcs_app_role_id=idcs_app_role_id, + ocid=ocid, + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + idcs_app_role_id: str, + ocid: str, + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("idcs_app_role_id", idcs_app_role_id) + _setter("ocid", ocid) + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -104733,11 +123797,28 @@ def __init__(__self__, *, :param str user_provider: User Support Account Provider :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "ocid", ocid) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "user_id", user_id) - pulumi.set(__self__, "user_provider", user_provider) - pulumi.set(__self__, "value", value) + GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionuserUserSupportAccountResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ocid=ocid, + ref=ref, + user_id=user_id, + user_provider=user_provider, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ocid: str, + ref: str, + user_id: str, + user_provider: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ocid", ocid) + _setter("ref", ref) + _setter("user_id", user_id) + _setter("user_provider", user_provider) + _setter("value", value) @property @pulumi.getter @@ -104793,10 +123874,25 @@ def __init__(__self__, *, :param str type: A label indicating the attribute's function. :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionuserUserSyncedFromAppResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + ref=ref, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + ref: str, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("ref", ref) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -104840,8 +123936,19 @@ def __init__(__self__, *, :param str ref: User Token URI :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "ref", ref) - pulumi.set(__self__, "value", value) + GetDomainsUsersUserUrnietfparamsscimschemasoracleidcsextensionuserUserUserTokenResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ref=ref, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ref: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ref", ref) + _setter("value", value) @property @pulumi.getter @@ -104873,10 +123980,25 @@ def __init__(__self__, *, :param str type: A label indicating the attribute's function. :param str value: The value of a X509 certificate. """ - pulumi.set(__self__, "display", display) - pulumi.set(__self__, "primary", primary) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetDomainsUsersUserX509certificateResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display=display, + primary=primary, + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display: str, + primary: bool, + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display", display) + _setter("primary", primary) + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -104936,16 +124058,43 @@ def __init__(__self__, *, :param str state: A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. :param str time_created: Date and time the group was created, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "inactive_state", inactive_state) - pulumi.set(__self__, "matching_rule", matching_rule) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) + GetDynamicGroupsDynamicGroupResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + id=id, + inactive_state=inactive_state, + matching_rule=matching_rule, + name=name, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + freeform_tags: Mapping[str, Any], + id: str, + inactive_state: str, + matching_rule: str, + name: str, + state: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("inactive_state", inactive_state) + _setter("matching_rule", matching_rule) + _setter("name", name) + _setter("state", state) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -105037,10 +124186,23 @@ def __init__(__self__, *, """ :param str name: A filter to only return resources that match the given name exactly. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDynamicGroupsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -105074,10 +124236,25 @@ def __init__(__self__, *, :param str id: The OCID of the Fault Domain. :param str name: The name of the Fault Domain. """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "name", name) + GetFaultDomainsFaultDomainResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + compartment_id=compartment_id, + id=id, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + compartment_id: str, + id: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("compartment_id", compartment_id) + _setter("id", id) + _setter("name", name) @property @pulumi.getter(name="availabilityDomain") @@ -105121,10 +124298,23 @@ def __init__(__self__, *, """ :param str name: The name of the Fault Domain. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetFaultDomainsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -105154,10 +124344,23 @@ def __init__(__self__, *, """ :param str name: A filter to only return resources that match the given name exactly. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetGroupsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -105201,15 +124404,40 @@ def __init__(__self__, *, :param str state: A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. :param str time_created: Date and time the group was created, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "inactive_state", inactive_state) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) + GetGroupsGroupResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + id=id, + inactive_state=inactive_state, + name=name, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + freeform_tags: Mapping[str, Any], + id: str, + inactive_state: str, + name: str, + state: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("inactive_state", inactive_state) + _setter("name", name) + _setter("state", state) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -105290,10 +124518,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetIamWorkRequestErrorsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -105322,9 +124563,22 @@ def __init__(__self__, *, :param str message: A human-readable error string. :param str timestamp: The date and time the error occurred. """ - pulumi.set(__self__, "code", code) - pulumi.set(__self__, "message", message) - pulumi.set(__self__, "timestamp", timestamp) + GetIamWorkRequestErrorsIamWorkRequestErrorResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + code=code, + message=message, + timestamp=timestamp, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + code: str, + message: str, + timestamp: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("code", code) + _setter("message", message) + _setter("timestamp", timestamp) @property @pulumi.getter @@ -105357,10 +124611,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetIamWorkRequestLogsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -105387,8 +124654,19 @@ def __init__(__self__, *, :param str message: A human-readable error string. :param str timestamp: Date and time the log was written, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z` """ - pulumi.set(__self__, "message", message) - pulumi.set(__self__, "timestamp", timestamp) + GetIamWorkRequestLogsIamWorkRequestLogResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + message=message, + timestamp=timestamp, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + message: str, + timestamp: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("message", message) + _setter("timestamp", timestamp) @property @pulumi.getter @@ -105420,10 +124698,25 @@ def __init__(__self__, *, :param str entity_uri: The URI path that the user can do a GET on to access the resource metadata. :param str identifier: An OCID of the resource that the work request affects. """ - pulumi.set(__self__, "action_type", action_type) - pulumi.set(__self__, "entity_type", entity_type) - pulumi.set(__self__, "entity_uri", entity_uri) - pulumi.set(__self__, "identifier", identifier) + GetIamWorkRequestResourceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action_type=action_type, + entity_type=entity_type, + entity_uri=entity_uri, + identifier=identifier, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action_type: str, + entity_type: str, + entity_uri: str, + identifier: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action_type", action_type) + _setter("entity_type", entity_type) + _setter("entity_uri", entity_uri) + _setter("identifier", identifier) @property @pulumi.getter(name="actionType") @@ -105464,10 +124757,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetIamWorkRequestsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -105508,15 +124814,40 @@ def __init__(__self__, *, :param str time_finished: Date and time the work completed, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z` :param str time_started: Date and time the work started, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "operation_type", operation_type) - pulumi.set(__self__, "percent_complete", percent_complete) - pulumi.set(__self__, "resources", resources) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "time_accepted", time_accepted) - pulumi.set(__self__, "time_finished", time_finished) - pulumi.set(__self__, "time_started", time_started) + GetIamWorkRequestsIamWorkRequestResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + id=id, + operation_type=operation_type, + percent_complete=percent_complete, + resources=resources, + status=status, + time_accepted=time_accepted, + time_finished=time_finished, + time_started=time_started, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + id: str, + operation_type: str, + percent_complete: float, + resources: Sequence['outputs.GetIamWorkRequestsIamWorkRequestResourceResult'], + status: str, + time_accepted: str, + time_finished: str, + time_started: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("id", id) + _setter("operation_type", operation_type) + _setter("percent_complete", percent_complete) + _setter("resources", resources) + _setter("status", status) + _setter("time_accepted", time_accepted) + _setter("time_finished", time_finished) + _setter("time_started", time_started) @property @pulumi.getter(name="compartmentId") @@ -105604,10 +124935,25 @@ def __init__(__self__, *, :param str entity_uri: The URI path that the user can do a GET on to access the resource metadata. :param str identifier: An OCID of the resource that the work request affects. """ - pulumi.set(__self__, "action_type", action_type) - pulumi.set(__self__, "entity_type", entity_type) - pulumi.set(__self__, "entity_uri", entity_uri) - pulumi.set(__self__, "identifier", identifier) + GetIamWorkRequestsIamWorkRequestResourceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action_type=action_type, + entity_type=entity_type, + entity_uri=entity_uri, + identifier=identifier, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action_type: str, + entity_type: str, + entity_uri: str, + identifier: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action_type", action_type) + _setter("entity_type", entity_type) + _setter("entity_uri", entity_uri) + _setter("identifier", identifier) @property @pulumi.getter(name="actionType") @@ -105651,10 +124997,23 @@ def __init__(__self__, *, """ :param str name: A filter to only return resources that match the given name exactly. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetIdentityProviderGroupsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -105694,13 +125053,34 @@ def __init__(__self__, *, :param str time_created: Date and time the `IdentityProviderGroup` was created, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z` :param str time_modified: Date and time the `IdentityProviderGroup` was last modified, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z` """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "external_identifier", external_identifier) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "identity_provider_id", identity_provider_id) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_modified", time_modified) + GetIdentityProviderGroupsIdentityProviderGroupResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + external_identifier=external_identifier, + id=id, + identity_provider_id=identity_provider_id, + name=name, + time_created=time_created, + time_modified=time_modified, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + external_identifier: str, + id: str, + identity_provider_id: str, + name: str, + time_created: str, + time_modified: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("external_identifier", external_identifier) + _setter("id", id) + _setter("identity_provider_id", identity_provider_id) + _setter("name", name) + _setter("time_created", time_created) + _setter("time_modified", time_modified) @property @pulumi.getter(name="displayName") @@ -105768,10 +125148,23 @@ def __init__(__self__, *, """ :param str name: A filter to only return resources that match the given name exactly. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetIdentityProvidersFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -105829,22 +125222,61 @@ def __init__(__self__, *, :param str state: A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. :param str time_created: Date and time the `IdentityProvider` was created, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "freeform_attributes", freeform_attributes) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "inactive_state", inactive_state) - pulumi.set(__self__, "metadata", metadata) - pulumi.set(__self__, "metadata_url", metadata_url) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "product_type", product_type) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "redirect_url", redirect_url) - pulumi.set(__self__, "signing_certificate", signing_certificate) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) + GetIdentityProvidersIdentityProviderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + freeform_attributes=freeform_attributes, + freeform_tags=freeform_tags, + id=id, + inactive_state=inactive_state, + metadata=metadata, + metadata_url=metadata_url, + name=name, + product_type=product_type, + protocol=protocol, + redirect_url=redirect_url, + signing_certificate=signing_certificate, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + freeform_attributes: Mapping[str, Any], + freeform_tags: Mapping[str, Any], + id: str, + inactive_state: str, + metadata: str, + metadata_url: str, + name: str, + product_type: str, + protocol: str, + redirect_url: str, + signing_certificate: str, + state: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("freeform_attributes", freeform_attributes) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("inactive_state", inactive_state) + _setter("metadata", metadata) + _setter("metadata_url", metadata_url) + _setter("name", name) + _setter("product_type", product_type) + _setter("protocol", protocol) + _setter("redirect_url", redirect_url) + _setter("signing_certificate", signing_certificate) + _setter("state", state) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -105981,10 +125413,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetIdpGroupMappingsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -106023,14 +125468,37 @@ def __init__(__self__, *, :param str state: The mapping's current state. :param str time_created: Date and time the mapping was created, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "group_id", group_id) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "identity_provider_id", identity_provider_id) - pulumi.set(__self__, "idp_group_name", idp_group_name) - pulumi.set(__self__, "inactive_state", inactive_state) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) + GetIdpGroupMappingsIdpGroupMappingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + group_id=group_id, + id=id, + identity_provider_id=identity_provider_id, + idp_group_name=idp_group_name, + inactive_state=inactive_state, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + group_id: str, + id: str, + identity_provider_id: str, + idp_group_name: str, + inactive_state: str, + state: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("group_id", group_id) + _setter("id", id) + _setter("identity_provider_id", identity_provider_id) + _setter("idp_group_name", idp_group_name) + _setter("inactive_state", inactive_state) + _setter("state", state) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -106102,8 +125570,19 @@ class GetNetworkSourceVirtualSourceListResult(dict): def __init__(__self__, *, ip_ranges: Sequence[str], vcn_id: str): - pulumi.set(__self__, "ip_ranges", ip_ranges) - pulumi.set(__self__, "vcn_id", vcn_id) + GetNetworkSourceVirtualSourceListResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ip_ranges=ip_ranges, + vcn_id=vcn_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ip_ranges: Sequence[str], + vcn_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ip_ranges", ip_ranges) + _setter("vcn_id", vcn_id) @property @pulumi.getter(name="ipRanges") @@ -106125,10 +125604,23 @@ def __init__(__self__, *, """ :param str name: A filter to only return resources that match the given name exactly. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetNetworkSourcesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -106178,18 +125670,49 @@ def __init__(__self__, *, :param str time_created: Date and time the group was created, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z` :param Sequence['GetNetworkSourcesNetworkSourceVirtualSourceListArgs'] virtual_source_lists: A list of allowed VCN OCID and IP range pairs. Example:`"vcnId": "ocid1.vcn.oc1.iad.aaaaaaaaexampleuniqueID", "ipRanges": [ "129.213.39.0/24" ]` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "inactive_state", inactive_state) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "public_source_lists", public_source_lists) - pulumi.set(__self__, "services", services) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "virtual_source_lists", virtual_source_lists) + GetNetworkSourcesNetworkSourceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + id=id, + inactive_state=inactive_state, + name=name, + public_source_lists=public_source_lists, + services=services, + state=state, + time_created=time_created, + virtual_source_lists=virtual_source_lists, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + freeform_tags: Mapping[str, Any], + id: str, + inactive_state: str, + name: str, + public_source_lists: Sequence[str], + services: Sequence[str], + state: str, + time_created: str, + virtual_source_lists: Sequence['outputs.GetNetworkSourcesNetworkSourceVirtualSourceListResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("inactive_state", inactive_state) + _setter("name", name) + _setter("public_source_lists", public_source_lists) + _setter("services", services) + _setter("state", state) + _setter("time_created", time_created) + _setter("virtual_source_lists", virtual_source_lists) @property @pulumi.getter(name="compartmentId") @@ -106293,8 +125816,19 @@ class GetNetworkSourcesNetworkSourceVirtualSourceListResult(dict): def __init__(__self__, *, ip_ranges: Sequence[str], vcn_id: str): - pulumi.set(__self__, "ip_ranges", ip_ranges) - pulumi.set(__self__, "vcn_id", vcn_id) + GetNetworkSourcesNetworkSourceVirtualSourceListResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ip_ranges=ip_ranges, + vcn_id=vcn_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ip_ranges: Sequence[str], + vcn_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ip_ranges", ip_ranges) + _setter("vcn_id", vcn_id) @property @pulumi.getter(name="ipRanges") @@ -106316,10 +125850,23 @@ def __init__(__self__, *, """ :param str name: A filter to only return resources that match the given name exactly. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetPoliciesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -106370,20 +125917,55 @@ def __init__(__self__, *, :param str time_created: Date and time the policy was created, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z` :param str version_date: The version of the policy. If null or set to an empty string, when a request comes in for authorization, the policy will be evaluated according to the current behavior of the services at that moment. If set to a particular date (YYYY-MM-DD), the policy will be evaluated according to the behavior of the services on that date. """ - pulumi.set(__self__, "e_tag", e_tag) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "inactive_state", inactive_state) - pulumi.set(__self__, "last_update_e_tag", last_update_e_tag) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "policy_hash", policy_hash) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "statements", statements) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "version_date", version_date) + GetPoliciesPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + e_tag=e_tag, + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + id=id, + inactive_state=inactive_state, + last_update_e_tag=last_update_e_tag, + name=name, + policy_hash=policy_hash, + state=state, + statements=statements, + time_created=time_created, + version_date=version_date, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + e_tag: str, + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + freeform_tags: Mapping[str, Any], + id: str, + inactive_state: str, + last_update_e_tag: str, + name: str, + policy_hash: str, + state: str, + statements: Sequence[str], + time_created: str, + version_date: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("e_tag", e_tag) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("inactive_state", inactive_state) + _setter("last_update_e_tag", last_update_e_tag) + _setter("name", name) + _setter("policy_hash", policy_hash) + _setter("state", state) + _setter("statements", statements) + _setter("time_created", time_created) + _setter("version_date", version_date) @property @pulumi.getter(name="ETag") @@ -106504,10 +126086,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetRegionSubscriptionsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -106539,11 +126134,28 @@ def __init__(__self__, *, :param str region_name: The region's name. See [Regions and Availability Domains](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/regions.htm) for the full list of supported region names. Example: `us-phoenix-1` :param str tenancy_id: The OCID of the tenancy. """ - pulumi.set(__self__, "is_home_region", is_home_region) - pulumi.set(__self__, "region_key", region_key) - pulumi.set(__self__, "region_name", region_name) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "tenancy_id", tenancy_id) + GetRegionSubscriptionsRegionSubscriptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_home_region=is_home_region, + region_key=region_key, + region_name=region_name, + state=state, + tenancy_id=tenancy_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_home_region: bool, + region_key: str, + region_name: str, + state: str, + tenancy_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_home_region", is_home_region) + _setter("region_key", region_key) + _setter("region_name", region_name) + _setter("state", state) + _setter("tenancy_id", tenancy_id) @property @pulumi.getter(name="isHomeRegion") @@ -106592,10 +126204,23 @@ def __init__(__self__, *, """ :param str name: The name of the region. See [Regions and Availability Domains](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/regions.htm) for the full list of supported region names. Example: `us-phoenix-1` """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetRegionsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -106625,8 +126250,19 @@ def __init__(__self__, *, :param str key: The key of the region. See [Regions and Availability Domains](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/regions.htm) for the full list of supported 3-letter region codes. Example: `PHX` :param str name: The name of the region. See [Regions and Availability Domains](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/regions.htm) for the full list of supported region names. Example: `us-phoenix-1` """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "name", name) + GetRegionsRegionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("name", name) @property @pulumi.getter @@ -106651,10 +126287,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSmtpCredentialsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -106694,15 +126343,40 @@ def __init__(__self__, *, :param str user_id: The OCID of the user. :param str username: The SMTP user name. """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "inactive_state", inactive_state) - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_expires", time_expires) - pulumi.set(__self__, "user_id", user_id) - pulumi.set(__self__, "username", username) + GetSmtpCredentialsSmtpCredentialResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + id=id, + inactive_state=inactive_state, + password=password, + state=state, + time_created=time_created, + time_expires=time_expires, + user_id=user_id, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + id: str, + inactive_state: str, + password: str, + state: str, + time_created: str, + time_expires: str, + user_id: str, + username: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("id", id) + _setter("inactive_state", inactive_state) + _setter("password", password) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_expires", time_expires) + _setter("user_id", user_id) + _setter("username", username) @property @pulumi.getter @@ -106780,10 +126454,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetTagDefaultsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -106826,15 +126513,40 @@ def __init__(__self__, *, :param str time_created: Date and time the `TagDefault` object was created, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z` :param str value: The default value for the tag definition. This will be applied to all new resources created in the compartment. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_required", is_required) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "tag_definition_id", tag_definition_id) - pulumi.set(__self__, "tag_definition_name", tag_definition_name) - pulumi.set(__self__, "tag_namespace_id", tag_namespace_id) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "value", value) + GetTagDefaultsTagDefaultResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + id=id, + is_required=is_required, + state=state, + tag_definition_id=tag_definition_id, + tag_definition_name=tag_definition_name, + tag_namespace_id=tag_namespace_id, + time_created=time_created, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + id: str, + is_required: bool, + state: str, + tag_definition_id: str, + tag_definition_name: str, + tag_namespace_id: str, + time_created: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("id", id) + _setter("is_required", is_required) + _setter("state", state) + _setter("tag_definition_id", tag_definition_id) + _setter("tag_definition_name", tag_definition_name) + _setter("tag_namespace_id", tag_namespace_id) + _setter("time_created", time_created) + _setter("value", value) @property @pulumi.getter(name="compartmentId") @@ -106920,10 +126632,23 @@ def __init__(__self__, *, """ :param str name: The name of the tag namespace. It must be unique across all tag namespaces in the tenancy and cannot be changed. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetTagNamespacesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -106967,15 +126692,40 @@ def __init__(__self__, *, :param str state: A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. :param str time_created: Date and time the tag namespace was created, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_retired", is_retired) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) + GetTagNamespacesTagNamespaceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + id=id, + is_retired=is_retired, + name=name, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + freeform_tags: Mapping[str, Any], + id: str, + is_retired: bool, + name: str, + state: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_retired", is_retired) + _setter("name", name) + _setter("state", state) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -107067,12 +126817,31 @@ def __init__(__self__, *, :param str tag_definition_name: The name of this standard tag definition :param str type: The type of tag definition. Enum or string. """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "enum_mutability", enum_mutability) - pulumi.set(__self__, "is_cost_tracking", is_cost_tracking) - pulumi.set(__self__, "possible_values", possible_values) - pulumi.set(__self__, "tag_definition_name", tag_definition_name) - pulumi.set(__self__, "type", type) + GetTagStandardTagNamespaceTemplateTagDefinitionTemplateResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + enum_mutability=enum_mutability, + is_cost_tracking=is_cost_tracking, + possible_values=possible_values, + tag_definition_name=tag_definition_name, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + enum_mutability: str, + is_cost_tracking: bool, + possible_values: Sequence[str], + tag_definition_name: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("enum_mutability", enum_mutability) + _setter("is_cost_tracking", is_cost_tracking) + _setter("possible_values", possible_values) + _setter("tag_definition_name", tag_definition_name) + _setter("type", type) @property @pulumi.getter @@ -107129,10 +126898,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetTagStandardTagNamespaceTemplatesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -107161,9 +126943,22 @@ def __init__(__self__, *, :param str standard_tag_namespace_name: The reserved name of this standard tag namespace :param str status: The status of the standard tag namespace """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "standard_tag_namespace_name", standard_tag_namespace_name) - pulumi.set(__self__, "status", status) + GetTagStandardTagNamespaceTemplatesStandardTagNamespaceTemplateResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + standard_tag_namespace_name=standard_tag_namespace_name, + status=status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + standard_tag_namespace_name: str, + status: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("standard_tag_namespace_name", standard_tag_namespace_name) + _setter("status", status) @property @pulumi.getter @@ -107199,8 +126994,19 @@ def __init__(__self__, *, :param str validator_type: Specifies the type of validation: a static value (no validation) or a list. :param Sequence[str] values: The list of allowed values for a definedTag value. """ - pulumi.set(__self__, "validator_type", validator_type) - pulumi.set(__self__, "values", values) + GetTagValidatorResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + validator_type=validator_type, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + validator_type: str, + values: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("validator_type", validator_type) + _setter("values", values) @property @pulumi.getter(name="validatorType") @@ -107229,10 +127035,23 @@ def __init__(__self__, *, :param str name: The name assigned to the tag during creation. This is the tag key definition. The name must be unique within the tag namespace and cannot be changed. :param Sequence[str] values: The list of allowed values for a definedTag value. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetTagsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -107283,17 +127102,46 @@ def __init__(__self__, *, :param str time_created: Date and time the tag was created, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z` :param Sequence['GetTagsTagValidatorArgs'] validators: Validates a definedTag value. Each validator performs validation steps in addition to the standard validation for definedTag values. For more information, see [Limits on Tags](https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/taggingoverview.htm#Limits). """ - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_cost_tracking", is_cost_tracking) - pulumi.set(__self__, "is_retired", is_retired) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "tag_namespace_id", tag_namespace_id) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "validators", validators) + GetTagsTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + id=id, + is_cost_tracking=is_cost_tracking, + is_retired=is_retired, + name=name, + state=state, + tag_namespace_id=tag_namespace_id, + time_created=time_created, + validators=validators, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + defined_tags: Mapping[str, Any], + description: str, + freeform_tags: Mapping[str, Any], + id: str, + is_cost_tracking: bool, + is_retired: bool, + name: str, + state: str, + tag_namespace_id: str, + time_created: str, + validators: Sequence['outputs.GetTagsTagValidatorResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_cost_tracking", is_cost_tracking) + _setter("is_retired", is_retired) + _setter("name", name) + _setter("state", state) + _setter("tag_namespace_id", tag_namespace_id) + _setter("time_created", time_created) + _setter("validators", validators) @property @pulumi.getter(name="definedTags") @@ -107393,8 +127241,19 @@ def __init__(__self__, *, :param str validator_type: Specifies the type of validation: a static value (no validation) or a list. :param Sequence[str] values: The list of allowed values for a definedTag value. """ - pulumi.set(__self__, "validator_type", validator_type) - pulumi.set(__self__, "values", values) + GetTagsTagValidatorResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + validator_type=validator_type, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + validator_type: str, + values: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("validator_type", validator_type) + _setter("values", values) @property @pulumi.getter(name="validatorType") @@ -107432,13 +127291,34 @@ def __init__(__self__, *, :param bool can_use_oauth2client_credentials: Indicates if the user can use OAuth2 credentials and tokens. :param bool can_use_smtp_credentials: Indicates if the user can use SMTP passwords. """ - pulumi.set(__self__, "can_use_api_keys", can_use_api_keys) - pulumi.set(__self__, "can_use_auth_tokens", can_use_auth_tokens) - pulumi.set(__self__, "can_use_console_password", can_use_console_password) - pulumi.set(__self__, "can_use_customer_secret_keys", can_use_customer_secret_keys) - pulumi.set(__self__, "can_use_db_credentials", can_use_db_credentials) - pulumi.set(__self__, "can_use_oauth2client_credentials", can_use_oauth2client_credentials) - pulumi.set(__self__, "can_use_smtp_credentials", can_use_smtp_credentials) + GetUserCapabilityResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + can_use_api_keys=can_use_api_keys, + can_use_auth_tokens=can_use_auth_tokens, + can_use_console_password=can_use_console_password, + can_use_customer_secret_keys=can_use_customer_secret_keys, + can_use_db_credentials=can_use_db_credentials, + can_use_oauth2client_credentials=can_use_oauth2client_credentials, + can_use_smtp_credentials=can_use_smtp_credentials, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + can_use_api_keys: bool, + can_use_auth_tokens: bool, + can_use_console_password: bool, + can_use_customer_secret_keys: bool, + can_use_db_credentials: bool, + can_use_oauth2client_credentials: bool, + can_use_smtp_credentials: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("can_use_api_keys", can_use_api_keys) + _setter("can_use_auth_tokens", can_use_auth_tokens) + _setter("can_use_console_password", can_use_console_password) + _setter("can_use_customer_secret_keys", can_use_customer_secret_keys) + _setter("can_use_db_credentials", can_use_db_credentials) + _setter("can_use_oauth2client_credentials", can_use_oauth2client_credentials) + _setter("can_use_smtp_credentials", can_use_smtp_credentials) @property @pulumi.getter(name="canUseApiKeys") @@ -107503,10 +127383,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetUserGroupMembershipsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -107543,13 +127436,34 @@ def __init__(__self__, *, :param str time_created: Date and time the membership was created, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z` :param str user_id: The OCID of the user. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "group_id", group_id) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "inactive_state", inactive_state) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "user_id", user_id) + GetUserGroupMembershipsMembershipResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + group_id=group_id, + id=id, + inactive_state=inactive_state, + state=state, + time_created=time_created, + user_id=user_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + group_id: str, + id: str, + inactive_state: str, + state: str, + time_created: str, + user_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("group_id", group_id) + _setter("id", id) + _setter("inactive_state", inactive_state) + _setter("state", state) + _setter("time_created", time_created) + _setter("user_id", user_id) @property @pulumi.getter(name="compartmentId") @@ -107617,10 +127531,23 @@ def __init__(__self__, *, """ :param str name: A filter to only return resources that match the given name exactly. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetUsersFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -107683,23 +127610,64 @@ def __init__(__self__, *, :param str state: A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. :param str time_created: Date and time the user was created, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z` """ - pulumi.set(__self__, "capabilities", capabilities) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "db_user_name", db_user_name) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "email", email) - pulumi.set(__self__, "email_verified", email_verified) - pulumi.set(__self__, "external_identifier", external_identifier) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "identity_provider_id", identity_provider_id) - pulumi.set(__self__, "inactive_state", inactive_state) - pulumi.set(__self__, "last_successful_login_time", last_successful_login_time) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "previous_successful_login_time", previous_successful_login_time) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) + GetUsersUserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + capabilities=capabilities, + compartment_id=compartment_id, + db_user_name=db_user_name, + defined_tags=defined_tags, + description=description, + email=email, + email_verified=email_verified, + external_identifier=external_identifier, + freeform_tags=freeform_tags, + id=id, + identity_provider_id=identity_provider_id, + inactive_state=inactive_state, + last_successful_login_time=last_successful_login_time, + name=name, + previous_successful_login_time=previous_successful_login_time, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + capabilities: Sequence['outputs.GetUsersUserCapabilityResult'], + compartment_id: str, + db_user_name: str, + defined_tags: Mapping[str, Any], + description: str, + email: str, + email_verified: bool, + external_identifier: str, + freeform_tags: Mapping[str, Any], + id: str, + identity_provider_id: str, + inactive_state: str, + last_successful_login_time: str, + name: str, + previous_successful_login_time: str, + state: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("capabilities", capabilities) + _setter("compartment_id", compartment_id) + _setter("db_user_name", db_user_name) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("email", email) + _setter("email_verified", email_verified) + _setter("external_identifier", external_identifier) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("identity_provider_id", identity_provider_id) + _setter("inactive_state", inactive_state) + _setter("last_successful_login_time", last_successful_login_time) + _setter("name", name) + _setter("previous_successful_login_time", previous_successful_login_time) + _setter("state", state) + _setter("time_created", time_created) @property @pulumi.getter @@ -107860,13 +127828,34 @@ def __init__(__self__, *, :param bool can_use_oauth2client_credentials: Indicates if the user can use OAuth2 credentials and tokens. :param bool can_use_smtp_credentials: Indicates if the user can use SMTP passwords. """ - pulumi.set(__self__, "can_use_api_keys", can_use_api_keys) - pulumi.set(__self__, "can_use_auth_tokens", can_use_auth_tokens) - pulumi.set(__self__, "can_use_console_password", can_use_console_password) - pulumi.set(__self__, "can_use_customer_secret_keys", can_use_customer_secret_keys) - pulumi.set(__self__, "can_use_db_credentials", can_use_db_credentials) - pulumi.set(__self__, "can_use_oauth2client_credentials", can_use_oauth2client_credentials) - pulumi.set(__self__, "can_use_smtp_credentials", can_use_smtp_credentials) + GetUsersUserCapabilityResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + can_use_api_keys=can_use_api_keys, + can_use_auth_tokens=can_use_auth_tokens, + can_use_console_password=can_use_console_password, + can_use_customer_secret_keys=can_use_customer_secret_keys, + can_use_db_credentials=can_use_db_credentials, + can_use_oauth2client_credentials=can_use_oauth2client_credentials, + can_use_smtp_credentials=can_use_smtp_credentials, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + can_use_api_keys: bool, + can_use_auth_tokens: bool, + can_use_console_password: bool, + can_use_customer_secret_keys: bool, + can_use_db_credentials: bool, + can_use_oauth2client_credentials: bool, + can_use_smtp_credentials: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("can_use_api_keys", can_use_api_keys) + _setter("can_use_auth_tokens", can_use_auth_tokens) + _setter("can_use_console_password", can_use_console_password) + _setter("can_use_customer_secret_keys", can_use_customer_secret_keys) + _setter("can_use_db_credentials", can_use_db_credentials) + _setter("can_use_oauth2client_credentials", can_use_oauth2client_credentials) + _setter("can_use_smtp_credentials", can_use_smtp_credentials) @property @pulumi.getter(name="canUseApiKeys") diff --git a/sdk/python/pulumi_oci/identity/policy.py b/sdk/python/pulumi_oci/identity/policy.py index c0c1f7f11e..cff6120b04 100644 --- a/sdk/python/pulumi_oci/identity/policy.py +++ b/sdk/python/pulumi_oci/identity/policy.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['PolicyArgs', 'Policy'] @@ -35,17 +35,38 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "statements", statements) + PolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + description=description, + statements=statements, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + name=name, + version_date=version_date, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + description: pulumi.Input[str], + statements: pulumi.Input[Sequence[pulumi.Input[str]]], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + name: Optional[pulumi.Input[str]] = None, + version_date: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("description", description) + _setter("statements", statements) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if version_date is not None: - pulumi.set(__self__, "version_date", version_date) + _setter("version_date", version_date) @property @pulumi.getter(name="compartmentId") @@ -169,41 +190,74 @@ def __init__(__self__, *, ** 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 """ + _PolicyState._configure( + lambda key, value: pulumi.set(__self__, key, value), + e_tag=e_tag, + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + inactive_state=inactive_state, + last_update_e_tag=last_update_e_tag, + name=name, + policy_hash=policy_hash, + state=state, + statements=statements, + time_created=time_created, + version_date=version_date, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + e_tag: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + inactive_state: Optional[pulumi.Input[str]] = None, + last_update_e_tag: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + policy_hash: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + statements: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + version_date: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if e_tag is not None: warnings.warn("""The 'ETag' field has been deprecated and may be removed in a future version. Do not use this field.""", DeprecationWarning) pulumi.log.warn("""e_tag is deprecated: The 'ETag' field has been deprecated and may be removed in a future version. Do not use this field.""") if e_tag is not None: - pulumi.set(__self__, "e_tag", e_tag) + _setter("e_tag", e_tag) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if inactive_state is not None: - pulumi.set(__self__, "inactive_state", inactive_state) + _setter("inactive_state", inactive_state) if last_update_e_tag is not None: warnings.warn("""The 'lastUpdateETag' field has been deprecated and may be removed in a future version. Do not use this field.""", DeprecationWarning) pulumi.log.warn("""last_update_e_tag is deprecated: The 'lastUpdateETag' field has been deprecated and may be removed in a future version. Do not use this field.""") if last_update_e_tag is not None: - pulumi.set(__self__, "last_update_e_tag", last_update_e_tag) + _setter("last_update_e_tag", last_update_e_tag) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if policy_hash is not None: warnings.warn("""The 'policyHash' field has been deprecated and may be removed in a future version. Do not use this field.""", DeprecationWarning) pulumi.log.warn("""policy_hash is deprecated: The 'policyHash' field has been deprecated and may be removed in a future version. Do not use this field.""") if policy_hash is not None: - pulumi.set(__self__, "policy_hash", policy_hash) + _setter("policy_hash", policy_hash) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if statements is not None: - pulumi.set(__self__, "statements", statements) + _setter("statements", statements) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if version_date is not None: - pulumi.set(__self__, "version_date", version_date) + _setter("version_date", version_date) @property @pulumi.getter(name="ETag") @@ -497,6 +551,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + PolicyArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/identity/smtp_credential.py b/sdk/python/pulumi_oci/identity/smtp_credential.py index 0a7a7b78d6..e95c940b81 100644 --- a/sdk/python/pulumi_oci/identity/smtp_credential.py +++ b/sdk/python/pulumi_oci/identity/smtp_credential.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['SmtpCredentialArgs', 'SmtpCredential'] @@ -25,8 +25,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "user_id", user_id) + SmtpCredentialArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + user_id=user_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: pulumi.Input[str], + user_id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("user_id", user_id) @property @pulumi.getter @@ -83,22 +94,45 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] username: The SMTP user name. """ + _SmtpCredentialState._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + inactive_state=inactive_state, + password=password, + state=state, + time_created=time_created, + time_expires=time_expires, + user_id=user_id, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: Optional[pulumi.Input[str]] = None, + inactive_state: Optional[pulumi.Input[str]] = None, + password: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_expires: Optional[pulumi.Input[str]] = None, + user_id: Optional[pulumi.Input[str]] = None, + username: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if inactive_state is not None: - pulumi.set(__self__, "inactive_state", inactive_state) + _setter("inactive_state", inactive_state) if password is not None: - pulumi.set(__self__, "password", password) + _setter("password", password) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_expires is not None: - pulumi.set(__self__, "time_expires", time_expires) + _setter("time_expires", time_expires) if user_id is not None: - pulumi.set(__self__, "user_id", user_id) + _setter("user_id", user_id) if username is not None: - pulumi.set(__self__, "username", username) + _setter("username", username) @property @pulumi.getter @@ -288,6 +322,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + SmtpCredentialArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/identity/tag.py b/sdk/python/pulumi_oci/identity/tag.py index ab45186b5d..00df032cb4 100644 --- a/sdk/python/pulumi_oci/identity/tag.py +++ b/sdk/python/pulumi_oci/identity/tag.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -43,20 +43,43 @@ def __init__(__self__, *, To clear the validator call UpdateTag with [DefaultTagDefinitionValidator](https://docs.cloud.oracle.com/iaas/api/#/en/identity/latest/datatypes/DefaultTagDefinitionValidator). """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "tag_namespace_id", tag_namespace_id) + TagArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + tag_namespace_id=tag_namespace_id, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + is_cost_tracking=is_cost_tracking, + is_retired=is_retired, + name=name, + validator=validator, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: pulumi.Input[str], + tag_namespace_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_cost_tracking: Optional[pulumi.Input[bool]] = None, + is_retired: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + validator: Optional[pulumi.Input['TagValidatorArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("tag_namespace_id", tag_namespace_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_cost_tracking is not None: - pulumi.set(__self__, "is_cost_tracking", is_cost_tracking) + _setter("is_cost_tracking", is_cost_tracking) if is_retired is not None: - pulumi.set(__self__, "is_retired", is_retired) + _setter("is_retired", is_retired) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if validator is not None: - pulumi.set(__self__, "validator", validator) + _setter("validator", validator) @property @pulumi.getter @@ -197,26 +220,53 @@ def __init__(__self__, *, To clear the validator call UpdateTag with [DefaultTagDefinitionValidator](https://docs.cloud.oracle.com/iaas/api/#/en/identity/latest/datatypes/DefaultTagDefinitionValidator). """ + _TagState._configure( + lambda key, value: pulumi.set(__self__, key, value), + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + is_cost_tracking=is_cost_tracking, + is_retired=is_retired, + name=name, + state=state, + tag_namespace_id=tag_namespace_id, + time_created=time_created, + validator=validator, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_cost_tracking: Optional[pulumi.Input[bool]] = None, + is_retired: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + tag_namespace_id: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + validator: Optional[pulumi.Input['TagValidatorArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_cost_tracking is not None: - pulumi.set(__self__, "is_cost_tracking", is_cost_tracking) + _setter("is_cost_tracking", is_cost_tracking) if is_retired is not None: - pulumi.set(__self__, "is_retired", is_retired) + _setter("is_retired", is_retired) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if tag_namespace_id is not None: - pulumi.set(__self__, "tag_namespace_id", tag_namespace_id) + _setter("tag_namespace_id", tag_namespace_id) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if validator is not None: - pulumi.set(__self__, "validator", validator) + _setter("validator", validator) @property @pulumi.getter(name="definedTags") @@ -510,6 +560,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + TagArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -543,6 +597,11 @@ def _internal_init(__self__, if tag_namespace_id is None and not opts.urn: raise TypeError("Missing required property 'tag_namespace_id'") __props__.__dict__["tag_namespace_id"] = tag_namespace_id + if validator is not None and not isinstance(validator, TagValidatorArgs): + validator = validator or {} + def _setter(key, value): + validator[key] = value + TagValidatorArgs._configure(_setter, **validator) __props__.__dict__["validator"] = validator __props__.__dict__["state"] = None __props__.__dict__["time_created"] = None diff --git a/sdk/python/pulumi_oci/identity/tag_default.py b/sdk/python/pulumi_oci/identity/tag_default.py index fec9c784bb..b07e7522e7 100644 --- a/sdk/python/pulumi_oci/identity/tag_default.py +++ b/sdk/python/pulumi_oci/identity/tag_default.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['TagDefaultArgs', 'TagDefault'] @@ -33,11 +33,26 @@ def __init__(__self__, *, Example: `false` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "tag_definition_id", tag_definition_id) - pulumi.set(__self__, "value", value) + TagDefaultArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + tag_definition_id=tag_definition_id, + value=value, + is_required=is_required, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + tag_definition_id: pulumi.Input[str], + value: pulumi.Input[str], + is_required: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("tag_definition_id", tag_definition_id) + _setter("value", value) if is_required is not None: - pulumi.set(__self__, "is_required", is_required) + _setter("is_required", is_required) @property @pulumi.getter(name="compartmentId") @@ -126,22 +141,45 @@ def __init__(__self__, *, ** 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 """ + _TagDefaultState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + is_required=is_required, + state=state, + tag_definition_id=tag_definition_id, + tag_definition_name=tag_definition_name, + tag_namespace_id=tag_namespace_id, + time_created=time_created, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + is_required: Optional[pulumi.Input[bool]] = None, + state: Optional[pulumi.Input[str]] = None, + tag_definition_id: Optional[pulumi.Input[str]] = None, + tag_definition_name: Optional[pulumi.Input[str]] = None, + tag_namespace_id: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if is_required is not None: - pulumi.set(__self__, "is_required", is_required) + _setter("is_required", is_required) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if tag_definition_id is not None: - pulumi.set(__self__, "tag_definition_id", tag_definition_id) + _setter("tag_definition_id", tag_definition_id) if tag_definition_name is not None: - pulumi.set(__self__, "tag_definition_name", tag_definition_name) + _setter("tag_definition_name", tag_definition_name) if tag_namespace_id is not None: - pulumi.set(__self__, "tag_namespace_id", tag_namespace_id) + _setter("tag_namespace_id", tag_namespace_id) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter(name="compartmentId") @@ -355,6 +393,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + TagDefaultArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/identity/tag_namespace.py b/sdk/python/pulumi_oci/identity/tag_namespace.py index 8ddcd277a7..957c2c8bcf 100644 --- a/sdk/python/pulumi_oci/identity/tag_namespace.py +++ b/sdk/python/pulumi_oci/identity/tag_namespace.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['TagNamespaceArgs', 'TagNamespace'] @@ -33,16 +33,35 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] name: The name you assign to the tag namespace during creation. It must be unique across all tag namespaces in the tenancy and cannot be changed. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "description", description) + TagNamespaceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + description=description, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + is_retired=is_retired, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + description: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_retired: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("description", description) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_retired is not None: - pulumi.set(__self__, "is_retired", is_retired) + _setter("is_retired", is_retired) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter(name="compartmentId") @@ -147,22 +166,45 @@ def __init__(__self__, *, :param pulumi.Input[str] state: The tagnamespace's current state. After creating a tagnamespace, make sure its `lifecycleState` is ACTIVE before using it. After retiring a tagnamespace, make sure its `lifecycleState` is INACTIVE before using it. :param pulumi.Input[str] time_created: Date and time the tag namespace was created, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z` """ + _TagNamespaceState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + is_retired=is_retired, + name=name, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_retired: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_retired is not None: - pulumi.set(__self__, "is_retired", is_retired) + _setter("is_retired", is_retired) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -394,6 +436,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + TagNamespaceArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/identity/ui_password.py b/sdk/python/pulumi_oci/identity/ui_password.py index 5350adcbe0..2c2c9a7126 100644 --- a/sdk/python/pulumi_oci/identity/ui_password.py +++ b/sdk/python/pulumi_oci/identity/ui_password.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['UiPasswordArgs', 'UiPassword'] @@ -23,7 +23,16 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "user_id", user_id) + UiPasswordArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + user_id=user_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + user_id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("user_id", user_id) @property @pulumi.getter(name="userId") @@ -62,16 +71,33 @@ def __init__(__self__, *, ** 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 """ + _UiPasswordState._configure( + lambda key, value: pulumi.set(__self__, key, value), + inactive_status=inactive_status, + password=password, + state=state, + time_created=time_created, + user_id=user_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + inactive_status: Optional[pulumi.Input[str]] = None, + password: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + user_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if inactive_status is not None: - pulumi.set(__self__, "inactive_status", inactive_status) + _setter("inactive_status", inactive_status) if password is not None: - pulumi.set(__self__, "password", password) + _setter("password", password) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if user_id is not None: - pulumi.set(__self__, "user_id", user_id) + _setter("user_id", user_id) @property @pulumi.getter(name="inactiveStatus") @@ -225,6 +251,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + UiPasswordArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/identity/user.py b/sdk/python/pulumi_oci/identity/user.py index 0d680e23c0..99cc574b9f 100644 --- a/sdk/python/pulumi_oci/identity/user.py +++ b/sdk/python/pulumi_oci/identity/user.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -35,17 +35,36 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "description", description) + UserArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + compartment_id=compartment_id, + defined_tags=defined_tags, + email=email, + freeform_tags=freeform_tags, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: pulumi.Input[str], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + email: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if email is not None: - pulumi.set(__self__, "email", email) + _setter("email", email) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -169,38 +188,77 @@ def __init__(__self__, *, :param pulumi.Input[str] state: The user's current state. :param pulumi.Input[str] time_created: Date and time the user was created, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z` """ + _UserState._configure( + lambda key, value: pulumi.set(__self__, key, value), + capabilities=capabilities, + compartment_id=compartment_id, + db_user_name=db_user_name, + defined_tags=defined_tags, + description=description, + email=email, + email_verified=email_verified, + external_identifier=external_identifier, + freeform_tags=freeform_tags, + identity_provider_id=identity_provider_id, + inactive_state=inactive_state, + last_successful_login_time=last_successful_login_time, + name=name, + previous_successful_login_time=previous_successful_login_time, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + capabilities: Optional[pulumi.Input[Sequence[pulumi.Input['UserCapabilityArgs']]]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + db_user_name: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + email: Optional[pulumi.Input[str]] = None, + email_verified: Optional[pulumi.Input[bool]] = None, + external_identifier: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + identity_provider_id: Optional[pulumi.Input[str]] = None, + inactive_state: Optional[pulumi.Input[str]] = None, + last_successful_login_time: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + previous_successful_login_time: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if capabilities is not None: - pulumi.set(__self__, "capabilities", capabilities) + _setter("capabilities", capabilities) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if db_user_name is not None: - pulumi.set(__self__, "db_user_name", db_user_name) + _setter("db_user_name", db_user_name) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if email is not None: - pulumi.set(__self__, "email", email) + _setter("email", email) if email_verified is not None: - pulumi.set(__self__, "email_verified", email_verified) + _setter("email_verified", email_verified) if external_identifier is not None: - pulumi.set(__self__, "external_identifier", external_identifier) + _setter("external_identifier", external_identifier) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if identity_provider_id is not None: - pulumi.set(__self__, "identity_provider_id", identity_provider_id) + _setter("identity_provider_id", identity_provider_id) if inactive_state is not None: - pulumi.set(__self__, "inactive_state", inactive_state) + _setter("inactive_state", inactive_state) if last_successful_login_time is not None: - pulumi.set(__self__, "last_successful_login_time", last_successful_login_time) + _setter("last_successful_login_time", last_successful_login_time) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if previous_successful_login_time is not None: - pulumi.set(__self__, "previous_successful_login_time", previous_successful_login_time) + _setter("previous_successful_login_time", previous_successful_login_time) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter @@ -565,6 +623,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + UserArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/identity/user_capabilities_management.py b/sdk/python/pulumi_oci/identity/user_capabilities_management.py index 98972da926..9f8d66f0d1 100644 --- a/sdk/python/pulumi_oci/identity/user_capabilities_management.py +++ b/sdk/python/pulumi_oci/identity/user_capabilities_management.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['UserCapabilitiesManagementArgs', 'UserCapabilitiesManagement'] @@ -33,17 +33,36 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "user_id", user_id) + UserCapabilitiesManagementArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + user_id=user_id, + can_use_api_keys=can_use_api_keys, + can_use_auth_tokens=can_use_auth_tokens, + can_use_console_password=can_use_console_password, + can_use_customer_secret_keys=can_use_customer_secret_keys, + can_use_smtp_credentials=can_use_smtp_credentials, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + user_id: pulumi.Input[str], + can_use_api_keys: Optional[pulumi.Input[bool]] = None, + can_use_auth_tokens: Optional[pulumi.Input[bool]] = None, + can_use_console_password: Optional[pulumi.Input[bool]] = None, + can_use_customer_secret_keys: Optional[pulumi.Input[bool]] = None, + can_use_smtp_credentials: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("user_id", user_id) if can_use_api_keys is not None: - pulumi.set(__self__, "can_use_api_keys", can_use_api_keys) + _setter("can_use_api_keys", can_use_api_keys) if can_use_auth_tokens is not None: - pulumi.set(__self__, "can_use_auth_tokens", can_use_auth_tokens) + _setter("can_use_auth_tokens", can_use_auth_tokens) if can_use_console_password is not None: - pulumi.set(__self__, "can_use_console_password", can_use_console_password) + _setter("can_use_console_password", can_use_console_password) if can_use_customer_secret_keys is not None: - pulumi.set(__self__, "can_use_customer_secret_keys", can_use_customer_secret_keys) + _setter("can_use_customer_secret_keys", can_use_customer_secret_keys) if can_use_smtp_credentials is not None: - pulumi.set(__self__, "can_use_smtp_credentials", can_use_smtp_credentials) + _setter("can_use_smtp_credentials", can_use_smtp_credentials) @property @pulumi.getter(name="userId") @@ -144,18 +163,37 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] user_id: The OCID of the user. """ + _UserCapabilitiesManagementState._configure( + lambda key, value: pulumi.set(__self__, key, value), + can_use_api_keys=can_use_api_keys, + can_use_auth_tokens=can_use_auth_tokens, + can_use_console_password=can_use_console_password, + can_use_customer_secret_keys=can_use_customer_secret_keys, + can_use_smtp_credentials=can_use_smtp_credentials, + user_id=user_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + can_use_api_keys: Optional[pulumi.Input[bool]] = None, + can_use_auth_tokens: Optional[pulumi.Input[bool]] = None, + can_use_console_password: Optional[pulumi.Input[bool]] = None, + can_use_customer_secret_keys: Optional[pulumi.Input[bool]] = None, + can_use_smtp_credentials: Optional[pulumi.Input[bool]] = None, + user_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if can_use_api_keys is not None: - pulumi.set(__self__, "can_use_api_keys", can_use_api_keys) + _setter("can_use_api_keys", can_use_api_keys) if can_use_auth_tokens is not None: - pulumi.set(__self__, "can_use_auth_tokens", can_use_auth_tokens) + _setter("can_use_auth_tokens", can_use_auth_tokens) if can_use_console_password is not None: - pulumi.set(__self__, "can_use_console_password", can_use_console_password) + _setter("can_use_console_password", can_use_console_password) if can_use_customer_secret_keys is not None: - pulumi.set(__self__, "can_use_customer_secret_keys", can_use_customer_secret_keys) + _setter("can_use_customer_secret_keys", can_use_customer_secret_keys) if can_use_smtp_credentials is not None: - pulumi.set(__self__, "can_use_smtp_credentials", can_use_smtp_credentials) + _setter("can_use_smtp_credentials", can_use_smtp_credentials) if user_id is not None: - pulumi.set(__self__, "user_id", user_id) + _setter("user_id", user_id) @property @pulumi.getter(name="canUseApiKeys") @@ -335,6 +373,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + UserCapabilitiesManagementArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/identity/user_group_membership.py b/sdk/python/pulumi_oci/identity/user_group_membership.py index 22884c3479..6280c50412 100644 --- a/sdk/python/pulumi_oci/identity/user_group_membership.py +++ b/sdk/python/pulumi_oci/identity/user_group_membership.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['UserGroupMembershipArgs', 'UserGroupMembership'] @@ -27,10 +27,23 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] compartment_id: The OCID of the tenancy containing the user, group, and membership object. """ - pulumi.set(__self__, "group_id", group_id) - pulumi.set(__self__, "user_id", user_id) + UserGroupMembershipArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + group_id=group_id, + user_id=user_id, + compartment_id=compartment_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + group_id: pulumi.Input[str], + user_id: pulumi.Input[str], + compartment_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("group_id", group_id) + _setter("user_id", user_id) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) @property @pulumi.getter(name="groupId") @@ -95,18 +108,37 @@ def __init__(__self__, *, ** 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 """ + _UserGroupMembershipState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + group_id=group_id, + inactive_state=inactive_state, + state=state, + time_created=time_created, + user_id=user_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + group_id: Optional[pulumi.Input[str]] = None, + inactive_state: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + user_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if group_id is not None: - pulumi.set(__self__, "group_id", group_id) + _setter("group_id", group_id) if inactive_state is not None: - pulumi.set(__self__, "inactive_state", inactive_state) + _setter("inactive_state", inactive_state) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if user_id is not None: - pulumi.set(__self__, "user_id", user_id) + _setter("user_id", user_id) @property @pulumi.getter(name="compartmentId") @@ -268,6 +300,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + UserGroupMembershipArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/identitydataplane/generated_scoped_access_token.py b/sdk/python/pulumi_oci/identitydataplane/generated_scoped_access_token.py index a28496fe0e..6d4f01dd65 100644 --- a/sdk/python/pulumi_oci/identitydataplane/generated_scoped_access_token.py +++ b/sdk/python/pulumi_oci/identitydataplane/generated_scoped_access_token.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['GeneratedScopedAccessTokenArgs', 'GeneratedScopedAccessToken'] @@ -25,8 +25,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "public_key", public_key) - pulumi.set(__self__, "scope", scope) + GeneratedScopedAccessTokenArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + public_key=public_key, + scope=scope, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + public_key: pulumi.Input[str], + scope: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("public_key", public_key) + _setter("scope", scope) @property @pulumi.getter(name="publicKey") @@ -73,12 +84,25 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] token: The security token, signed by auth service """ + _GeneratedScopedAccessTokenState._configure( + lambda key, value: pulumi.set(__self__, key, value), + public_key=public_key, + scope=scope, + token=token, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + public_key: Optional[pulumi.Input[str]] = None, + scope: Optional[pulumi.Input[str]] = None, + token: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if public_key is not None: - pulumi.set(__self__, "public_key", public_key) + _setter("public_key", public_key) if scope is not None: - pulumi.set(__self__, "scope", scope) + _setter("scope", scope) if token is not None: - pulumi.set(__self__, "token", token) + _setter("token", token) @property @pulumi.getter(name="publicKey") @@ -202,6 +226,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + GeneratedScopedAccessTokenArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/integration/_inputs.py b/sdk/python/pulumi_oci/integration/_inputs.py index bcbcceca68..bb57312e42 100644 --- a/sdk/python/pulumi_oci/integration/_inputs.py +++ b/sdk/python/pulumi_oci/integration/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -32,13 +32,28 @@ def __init__(__self__, *, :param pulumi.Input[str] certificate_secret_id: (Updatable) Optional OCID of a vault/secret containing a private SSL certificate bundle to be used for the custom hostname. All certificates should be stored in a single base64 encoded secret Note the update will fail if this is not a valid certificate. :param pulumi.Input[int] certificate_secret_version: The secret version used for the certificate-secret-id (if certificate-secret-id is specified). """ - pulumi.set(__self__, "hostname", hostname) + IntegrationInstanceAlternateCustomEndpointArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + hostname=hostname, + alias=alias, + certificate_secret_id=certificate_secret_id, + certificate_secret_version=certificate_secret_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hostname: pulumi.Input[str], + alias: Optional[pulumi.Input[str]] = None, + certificate_secret_id: Optional[pulumi.Input[str]] = None, + certificate_secret_version: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("hostname", hostname) if alias is not None: - pulumi.set(__self__, "alias", alias) + _setter("alias", alias) if certificate_secret_id is not None: - pulumi.set(__self__, "certificate_secret_id", certificate_secret_id) + _setter("certificate_secret_id", certificate_secret_id) if certificate_secret_version is not None: - pulumi.set(__self__, "certificate_secret_version", certificate_secret_version) + _setter("certificate_secret_version", certificate_secret_version) @property @pulumi.getter @@ -105,16 +120,33 @@ def __init__(__self__, *, :param pulumi.Input[str] target_role: The role of the target attachment. :param pulumi.Input[str] target_service_type: The type of the target instance, such as "FUSION". """ + IntegrationInstanceAttachmentArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_implicit=is_implicit, + target_id=target_id, + target_instance_url=target_instance_url, + target_role=target_role, + target_service_type=target_service_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_implicit: Optional[pulumi.Input[bool]] = None, + target_id: Optional[pulumi.Input[str]] = None, + target_instance_url: Optional[pulumi.Input[str]] = None, + target_role: Optional[pulumi.Input[str]] = None, + target_service_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_implicit is not None: - pulumi.set(__self__, "is_implicit", is_implicit) + _setter("is_implicit", is_implicit) if target_id is not None: - pulumi.set(__self__, "target_id", target_id) + _setter("target_id", target_id) if target_instance_url is not None: - pulumi.set(__self__, "target_instance_url", target_instance_url) + _setter("target_instance_url", target_instance_url) if target_role is not None: - pulumi.set(__self__, "target_role", target_role) + _setter("target_role", target_role) if target_service_type is not None: - pulumi.set(__self__, "target_service_type", target_service_type) + _setter("target_service_type", target_service_type) @property @pulumi.getter(name="isImplicit") @@ -191,13 +223,28 @@ def __init__(__self__, *, :param pulumi.Input[str] certificate_secret_id: (Updatable) Optional OCID of a vault/secret containing a private SSL certificate bundle to be used for the custom hostname. All certificates should be stored in a single base64 encoded secret Note the update will fail if this is not a valid certificate. :param pulumi.Input[int] certificate_secret_version: The secret version used for the certificate-secret-id (if certificate-secret-id is specified). """ - pulumi.set(__self__, "hostname", hostname) + IntegrationInstanceCustomEndpointArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + hostname=hostname, + alias=alias, + certificate_secret_id=certificate_secret_id, + certificate_secret_version=certificate_secret_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hostname: pulumi.Input[str], + alias: Optional[pulumi.Input[str]] = None, + certificate_secret_id: Optional[pulumi.Input[str]] = None, + certificate_secret_version: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("hostname", hostname) if alias is not None: - pulumi.set(__self__, "alias", alias) + _setter("alias", alias) if certificate_secret_id is not None: - pulumi.set(__self__, "certificate_secret_id", certificate_secret_id) + _setter("certificate_secret_id", certificate_secret_id) if certificate_secret_version is not None: - pulumi.set(__self__, "certificate_secret_version", certificate_secret_version) + _setter("certificate_secret_version", certificate_secret_version) @property @pulumi.getter @@ -263,16 +310,33 @@ def __init__(__self__, *, :param pulumi.Input[str] idcs_app_name: The IDCS application name associated with the instance :param pulumi.Input[str] instance_primary_audience_url: The URL used as the primary audience for integration flows in this instance type: string """ + IntegrationInstanceIdcsInfoArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + idcs_app_display_name=idcs_app_display_name, + idcs_app_id=idcs_app_id, + idcs_app_location_url=idcs_app_location_url, + idcs_app_name=idcs_app_name, + instance_primary_audience_url=instance_primary_audience_url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + idcs_app_display_name: Optional[pulumi.Input[str]] = None, + idcs_app_id: Optional[pulumi.Input[str]] = None, + idcs_app_location_url: Optional[pulumi.Input[str]] = None, + idcs_app_name: Optional[pulumi.Input[str]] = None, + instance_primary_audience_url: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if idcs_app_display_name is not None: - pulumi.set(__self__, "idcs_app_display_name", idcs_app_display_name) + _setter("idcs_app_display_name", idcs_app_display_name) if idcs_app_id is not None: - pulumi.set(__self__, "idcs_app_id", idcs_app_id) + _setter("idcs_app_id", idcs_app_id) if idcs_app_location_url is not None: - pulumi.set(__self__, "idcs_app_location_url", idcs_app_location_url) + _setter("idcs_app_location_url", idcs_app_location_url) if idcs_app_name is not None: - pulumi.set(__self__, "idcs_app_name", idcs_app_name) + _setter("idcs_app_name", idcs_app_name) if instance_primary_audience_url is not None: - pulumi.set(__self__, "instance_primary_audience_url", instance_primary_audience_url) + _setter("instance_primary_audience_url", instance_primary_audience_url) @property @pulumi.getter(name="idcsAppDisplayName") @@ -348,13 +412,28 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['IntegrationInstanceNetworkEndpointDetailsAllowlistedHttpVcnArgs']]] allowlisted_http_vcns: Virtual Cloud Networks allowed to access this network endpoint. :param pulumi.Input[bool] is_integration_vcn_allowlisted: The Integration service's VCN is allow-listed to allow integrations to call back into other integrations """ - pulumi.set(__self__, "network_endpoint_type", network_endpoint_type) + IntegrationInstanceNetworkEndpointDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + network_endpoint_type=network_endpoint_type, + allowlisted_http_ips=allowlisted_http_ips, + allowlisted_http_vcns=allowlisted_http_vcns, + is_integration_vcn_allowlisted=is_integration_vcn_allowlisted, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + network_endpoint_type: pulumi.Input[str], + allowlisted_http_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + allowlisted_http_vcns: Optional[pulumi.Input[Sequence[pulumi.Input['IntegrationInstanceNetworkEndpointDetailsAllowlistedHttpVcnArgs']]]] = None, + is_integration_vcn_allowlisted: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("network_endpoint_type", network_endpoint_type) if allowlisted_http_ips is not None: - pulumi.set(__self__, "allowlisted_http_ips", allowlisted_http_ips) + _setter("allowlisted_http_ips", allowlisted_http_ips) if allowlisted_http_vcns is not None: - pulumi.set(__self__, "allowlisted_http_vcns", allowlisted_http_vcns) + _setter("allowlisted_http_vcns", allowlisted_http_vcns) if is_integration_vcn_allowlisted is not None: - pulumi.set(__self__, "is_integration_vcn_allowlisted", is_integration_vcn_allowlisted) + _setter("is_integration_vcn_allowlisted", is_integration_vcn_allowlisted) @property @pulumi.getter(name="networkEndpointType") @@ -414,9 +493,20 @@ def __init__(__self__, *, :param pulumi.Input[str] id: The Virtual Cloud Network OCID. :param pulumi.Input[Sequence[pulumi.Input[str]]] allowlisted_ips: Source IP addresses or IP address ranges ingress rules. (ex: "168.122.59.5", "10.20.30.0/26") An invalid IP or CIDR block will result in a 400 response. """ - pulumi.set(__self__, "id", id) + IntegrationInstanceNetworkEndpointDetailsAllowlistedHttpVcnArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + allowlisted_ips=allowlisted_ips, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: pulumi.Input[str], + allowlisted_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) if allowlisted_ips is not None: - pulumi.set(__self__, "allowlisted_ips", allowlisted_ips) + _setter("allowlisted_ips", allowlisted_ips) @property @pulumi.getter @@ -449,10 +539,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetIntegrationInstancesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/integration/get_integration_instance.py b/sdk/python/pulumi_oci/integration/get_integration_instance.py index e6ad3ec540..54badeb560 100644 --- a/sdk/python/pulumi_oci/integration/get_integration_instance.py +++ b/sdk/python/pulumi_oci/integration/get_integration_instance.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/integration/get_integration_instances.py b/sdk/python/pulumi_oci/integration/get_integration_instances.py index 0394340405..fe0e8043d7 100644 --- a/sdk/python/pulumi_oci/integration/get_integration_instances.py +++ b/sdk/python/pulumi_oci/integration/get_integration_instances.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/integration/integration_instance.py b/sdk/python/pulumi_oci/integration/integration_instance.py index 15ac0fed96..78b1bcc7af 100644 --- a/sdk/python/pulumi_oci/integration/integration_instance.py +++ b/sdk/python/pulumi_oci/integration/integration_instance.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -59,37 +59,80 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "integration_instance_type", integration_instance_type) - pulumi.set(__self__, "is_byol", is_byol) - pulumi.set(__self__, "message_packs", message_packs) + IntegrationInstanceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + integration_instance_type=integration_instance_type, + is_byol=is_byol, + message_packs=message_packs, + alternate_custom_endpoints=alternate_custom_endpoints, + consumption_model=consumption_model, + custom_endpoint=custom_endpoint, + defined_tags=defined_tags, + domain_id=domain_id, + enable_process_automation_trigger=enable_process_automation_trigger, + freeform_tags=freeform_tags, + idcs_at=idcs_at, + is_file_server_enabled=is_file_server_enabled, + is_visual_builder_enabled=is_visual_builder_enabled, + network_endpoint_details=network_endpoint_details, + shape=shape, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + integration_instance_type: pulumi.Input[str], + is_byol: pulumi.Input[bool], + message_packs: pulumi.Input[int], + alternate_custom_endpoints: Optional[pulumi.Input[Sequence[pulumi.Input['IntegrationInstanceAlternateCustomEndpointArgs']]]] = None, + consumption_model: Optional[pulumi.Input[str]] = None, + custom_endpoint: Optional[pulumi.Input['IntegrationInstanceCustomEndpointArgs']] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + domain_id: Optional[pulumi.Input[str]] = None, + enable_process_automation_trigger: Optional[pulumi.Input[int]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + idcs_at: Optional[pulumi.Input[str]] = None, + is_file_server_enabled: Optional[pulumi.Input[bool]] = None, + is_visual_builder_enabled: Optional[pulumi.Input[bool]] = None, + network_endpoint_details: Optional[pulumi.Input['IntegrationInstanceNetworkEndpointDetailsArgs']] = None, + shape: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) + _setter("integration_instance_type", integration_instance_type) + _setter("is_byol", is_byol) + _setter("message_packs", message_packs) if alternate_custom_endpoints is not None: - pulumi.set(__self__, "alternate_custom_endpoints", alternate_custom_endpoints) + _setter("alternate_custom_endpoints", alternate_custom_endpoints) if consumption_model is not None: - pulumi.set(__self__, "consumption_model", consumption_model) + _setter("consumption_model", consumption_model) if custom_endpoint is not None: - pulumi.set(__self__, "custom_endpoint", custom_endpoint) + _setter("custom_endpoint", custom_endpoint) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if domain_id is not None: - pulumi.set(__self__, "domain_id", domain_id) + _setter("domain_id", domain_id) if enable_process_automation_trigger is not None: - pulumi.set(__self__, "enable_process_automation_trigger", enable_process_automation_trigger) + _setter("enable_process_automation_trigger", enable_process_automation_trigger) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if idcs_at is not None: - pulumi.set(__self__, "idcs_at", idcs_at) + _setter("idcs_at", idcs_at) if is_file_server_enabled is not None: - pulumi.set(__self__, "is_file_server_enabled", is_file_server_enabled) + _setter("is_file_server_enabled", is_file_server_enabled) if is_visual_builder_enabled is not None: - pulumi.set(__self__, "is_visual_builder_enabled", is_visual_builder_enabled) + _setter("is_visual_builder_enabled", is_visual_builder_enabled) if network_endpoint_details is not None: - pulumi.set(__self__, "network_endpoint_details", network_endpoint_details) + _setter("network_endpoint_details", network_endpoint_details) if shape is not None: - pulumi.set(__self__, "shape", shape) + _setter("shape", shape) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) @property @pulumi.getter(name="compartmentId") @@ -370,54 +413,109 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The time the the Integration Instance was created. An RFC3339 formatted datetime string. :param pulumi.Input[str] time_updated: The time the IntegrationInstance was updated. An RFC3339 formatted datetime string. """ + _IntegrationInstanceState._configure( + lambda key, value: pulumi.set(__self__, key, value), + alternate_custom_endpoints=alternate_custom_endpoints, + attachments=attachments, + compartment_id=compartment_id, + consumption_model=consumption_model, + custom_endpoint=custom_endpoint, + defined_tags=defined_tags, + display_name=display_name, + domain_id=domain_id, + enable_process_automation_trigger=enable_process_automation_trigger, + freeform_tags=freeform_tags, + idcs_at=idcs_at, + idcs_infos=idcs_infos, + instance_url=instance_url, + integration_instance_type=integration_instance_type, + is_byol=is_byol, + is_file_server_enabled=is_file_server_enabled, + is_visual_builder_enabled=is_visual_builder_enabled, + message_packs=message_packs, + network_endpoint_details=network_endpoint_details, + shape=shape, + state=state, + state_message=state_message, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + alternate_custom_endpoints: Optional[pulumi.Input[Sequence[pulumi.Input['IntegrationInstanceAlternateCustomEndpointArgs']]]] = None, + attachments: Optional[pulumi.Input[Sequence[pulumi.Input['IntegrationInstanceAttachmentArgs']]]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + consumption_model: Optional[pulumi.Input[str]] = None, + custom_endpoint: Optional[pulumi.Input['IntegrationInstanceCustomEndpointArgs']] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + domain_id: Optional[pulumi.Input[str]] = None, + enable_process_automation_trigger: Optional[pulumi.Input[int]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + idcs_at: Optional[pulumi.Input[str]] = None, + idcs_infos: Optional[pulumi.Input[Sequence[pulumi.Input['IntegrationInstanceIdcsInfoArgs']]]] = None, + instance_url: Optional[pulumi.Input[str]] = None, + integration_instance_type: Optional[pulumi.Input[str]] = None, + is_byol: Optional[pulumi.Input[bool]] = None, + is_file_server_enabled: Optional[pulumi.Input[bool]] = None, + is_visual_builder_enabled: Optional[pulumi.Input[bool]] = None, + message_packs: Optional[pulumi.Input[int]] = None, + network_endpoint_details: Optional[pulumi.Input['IntegrationInstanceNetworkEndpointDetailsArgs']] = None, + shape: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + state_message: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if alternate_custom_endpoints is not None: - pulumi.set(__self__, "alternate_custom_endpoints", alternate_custom_endpoints) + _setter("alternate_custom_endpoints", alternate_custom_endpoints) if attachments is not None: - pulumi.set(__self__, "attachments", attachments) + _setter("attachments", attachments) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if consumption_model is not None: - pulumi.set(__self__, "consumption_model", consumption_model) + _setter("consumption_model", consumption_model) if custom_endpoint is not None: - pulumi.set(__self__, "custom_endpoint", custom_endpoint) + _setter("custom_endpoint", custom_endpoint) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if domain_id is not None: - pulumi.set(__self__, "domain_id", domain_id) + _setter("domain_id", domain_id) if enable_process_automation_trigger is not None: - pulumi.set(__self__, "enable_process_automation_trigger", enable_process_automation_trigger) + _setter("enable_process_automation_trigger", enable_process_automation_trigger) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if idcs_at is not None: - pulumi.set(__self__, "idcs_at", idcs_at) + _setter("idcs_at", idcs_at) if idcs_infos is not None: - pulumi.set(__self__, "idcs_infos", idcs_infos) + _setter("idcs_infos", idcs_infos) if instance_url is not None: - pulumi.set(__self__, "instance_url", instance_url) + _setter("instance_url", instance_url) if integration_instance_type is not None: - pulumi.set(__self__, "integration_instance_type", integration_instance_type) + _setter("integration_instance_type", integration_instance_type) if is_byol is not None: - pulumi.set(__self__, "is_byol", is_byol) + _setter("is_byol", is_byol) if is_file_server_enabled is not None: - pulumi.set(__self__, "is_file_server_enabled", is_file_server_enabled) + _setter("is_file_server_enabled", is_file_server_enabled) if is_visual_builder_enabled is not None: - pulumi.set(__self__, "is_visual_builder_enabled", is_visual_builder_enabled) + _setter("is_visual_builder_enabled", is_visual_builder_enabled) if message_packs is not None: - pulumi.set(__self__, "message_packs", message_packs) + _setter("message_packs", message_packs) if network_endpoint_details is not None: - pulumi.set(__self__, "network_endpoint_details", network_endpoint_details) + _setter("network_endpoint_details", network_endpoint_details) if shape is not None: - pulumi.set(__self__, "shape", shape) + _setter("shape", shape) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if state_message is not None: - pulumi.set(__self__, "state_message", state_message) + _setter("state_message", state_message) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="alternateCustomEndpoints") @@ -891,6 +989,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + IntegrationInstanceArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -928,6 +1030,11 @@ def _internal_init(__self__, raise TypeError("Missing required property 'compartment_id'") __props__.__dict__["compartment_id"] = compartment_id __props__.__dict__["consumption_model"] = consumption_model + if custom_endpoint is not None and not isinstance(custom_endpoint, IntegrationInstanceCustomEndpointArgs): + custom_endpoint = custom_endpoint or {} + def _setter(key, value): + custom_endpoint[key] = value + IntegrationInstanceCustomEndpointArgs._configure(_setter, **custom_endpoint) __props__.__dict__["custom_endpoint"] = custom_endpoint __props__.__dict__["defined_tags"] = defined_tags if display_name is None and not opts.urn: @@ -948,6 +1055,11 @@ def _internal_init(__self__, if message_packs is None and not opts.urn: raise TypeError("Missing required property 'message_packs'") __props__.__dict__["message_packs"] = message_packs + if network_endpoint_details is not None and not isinstance(network_endpoint_details, IntegrationInstanceNetworkEndpointDetailsArgs): + network_endpoint_details = network_endpoint_details or {} + def _setter(key, value): + network_endpoint_details[key] = value + IntegrationInstanceNetworkEndpointDetailsArgs._configure(_setter, **network_endpoint_details) __props__.__dict__["network_endpoint_details"] = network_endpoint_details __props__.__dict__["shape"] = shape __props__.__dict__["state"] = state diff --git a/sdk/python/pulumi_oci/integration/outputs.py b/sdk/python/pulumi_oci/integration/outputs.py index 0caed75308..5ab885bdce 100644 --- a/sdk/python/pulumi_oci/integration/outputs.py +++ b/sdk/python/pulumi_oci/integration/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -65,13 +65,28 @@ def __init__(__self__, *, :param str certificate_secret_id: (Updatable) Optional OCID of a vault/secret containing a private SSL certificate bundle to be used for the custom hostname. All certificates should be stored in a single base64 encoded secret Note the update will fail if this is not a valid certificate. :param int certificate_secret_version: The secret version used for the certificate-secret-id (if certificate-secret-id is specified). """ - pulumi.set(__self__, "hostname", hostname) + IntegrationInstanceAlternateCustomEndpoint._configure( + lambda key, value: pulumi.set(__self__, key, value), + hostname=hostname, + alias=alias, + certificate_secret_id=certificate_secret_id, + certificate_secret_version=certificate_secret_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hostname: str, + alias: Optional[str] = None, + certificate_secret_id: Optional[str] = None, + certificate_secret_version: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("hostname", hostname) if alias is not None: - pulumi.set(__self__, "alias", alias) + _setter("alias", alias) if certificate_secret_id is not None: - pulumi.set(__self__, "certificate_secret_id", certificate_secret_id) + _setter("certificate_secret_id", certificate_secret_id) if certificate_secret_version is not None: - pulumi.set(__self__, "certificate_secret_version", certificate_secret_version) + _setter("certificate_secret_version", certificate_secret_version) @property @pulumi.getter @@ -147,16 +162,33 @@ def __init__(__self__, *, :param str target_role: The role of the target attachment. :param str target_service_type: The type of the target instance, such as "FUSION". """ + IntegrationInstanceAttachment._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_implicit=is_implicit, + target_id=target_id, + target_instance_url=target_instance_url, + target_role=target_role, + target_service_type=target_service_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_implicit: Optional[bool] = None, + target_id: Optional[str] = None, + target_instance_url: Optional[str] = None, + target_role: Optional[str] = None, + target_service_type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_implicit is not None: - pulumi.set(__self__, "is_implicit", is_implicit) + _setter("is_implicit", is_implicit) if target_id is not None: - pulumi.set(__self__, "target_id", target_id) + _setter("target_id", target_id) if target_instance_url is not None: - pulumi.set(__self__, "target_instance_url", target_instance_url) + _setter("target_instance_url", target_instance_url) if target_role is not None: - pulumi.set(__self__, "target_role", target_role) + _setter("target_role", target_role) if target_service_type is not None: - pulumi.set(__self__, "target_service_type", target_service_type) + _setter("target_service_type", target_service_type) @property @pulumi.getter(name="isImplicit") @@ -232,13 +264,28 @@ def __init__(__self__, *, :param str certificate_secret_id: (Updatable) Optional OCID of a vault/secret containing a private SSL certificate bundle to be used for the custom hostname. All certificates should be stored in a single base64 encoded secret Note the update will fail if this is not a valid certificate. :param int certificate_secret_version: The secret version used for the certificate-secret-id (if certificate-secret-id is specified). """ - pulumi.set(__self__, "hostname", hostname) + IntegrationInstanceCustomEndpoint._configure( + lambda key, value: pulumi.set(__self__, key, value), + hostname=hostname, + alias=alias, + certificate_secret_id=certificate_secret_id, + certificate_secret_version=certificate_secret_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hostname: str, + alias: Optional[str] = None, + certificate_secret_id: Optional[str] = None, + certificate_secret_version: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("hostname", hostname) if alias is not None: - pulumi.set(__self__, "alias", alias) + _setter("alias", alias) if certificate_secret_id is not None: - pulumi.set(__self__, "certificate_secret_id", certificate_secret_id) + _setter("certificate_secret_id", certificate_secret_id) if certificate_secret_version is not None: - pulumi.set(__self__, "certificate_secret_version", certificate_secret_version) + _setter("certificate_secret_version", certificate_secret_version) @property @pulumi.getter @@ -313,16 +360,33 @@ def __init__(__self__, *, :param str idcs_app_name: The IDCS application name associated with the instance :param str instance_primary_audience_url: The URL used as the primary audience for integration flows in this instance type: string """ + IntegrationInstanceIdcsInfo._configure( + lambda key, value: pulumi.set(__self__, key, value), + idcs_app_display_name=idcs_app_display_name, + idcs_app_id=idcs_app_id, + idcs_app_location_url=idcs_app_location_url, + idcs_app_name=idcs_app_name, + instance_primary_audience_url=instance_primary_audience_url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + idcs_app_display_name: Optional[str] = None, + idcs_app_id: Optional[str] = None, + idcs_app_location_url: Optional[str] = None, + idcs_app_name: Optional[str] = None, + instance_primary_audience_url: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if idcs_app_display_name is not None: - pulumi.set(__self__, "idcs_app_display_name", idcs_app_display_name) + _setter("idcs_app_display_name", idcs_app_display_name) if idcs_app_id is not None: - pulumi.set(__self__, "idcs_app_id", idcs_app_id) + _setter("idcs_app_id", idcs_app_id) if idcs_app_location_url is not None: - pulumi.set(__self__, "idcs_app_location_url", idcs_app_location_url) + _setter("idcs_app_location_url", idcs_app_location_url) if idcs_app_name is not None: - pulumi.set(__self__, "idcs_app_name", idcs_app_name) + _setter("idcs_app_name", idcs_app_name) if instance_primary_audience_url is not None: - pulumi.set(__self__, "instance_primary_audience_url", instance_primary_audience_url) + _setter("instance_primary_audience_url", instance_primary_audience_url) @property @pulumi.getter(name="idcsAppDisplayName") @@ -401,13 +465,28 @@ def __init__(__self__, *, :param Sequence['IntegrationInstanceNetworkEndpointDetailsAllowlistedHttpVcnArgs'] allowlisted_http_vcns: Virtual Cloud Networks allowed to access this network endpoint. :param bool is_integration_vcn_allowlisted: The Integration service's VCN is allow-listed to allow integrations to call back into other integrations """ - pulumi.set(__self__, "network_endpoint_type", network_endpoint_type) + IntegrationInstanceNetworkEndpointDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + network_endpoint_type=network_endpoint_type, + allowlisted_http_ips=allowlisted_http_ips, + allowlisted_http_vcns=allowlisted_http_vcns, + is_integration_vcn_allowlisted=is_integration_vcn_allowlisted, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + network_endpoint_type: str, + allowlisted_http_ips: Optional[Sequence[str]] = None, + allowlisted_http_vcns: Optional[Sequence['outputs.IntegrationInstanceNetworkEndpointDetailsAllowlistedHttpVcn']] = None, + is_integration_vcn_allowlisted: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("network_endpoint_type", network_endpoint_type) if allowlisted_http_ips is not None: - pulumi.set(__self__, "allowlisted_http_ips", allowlisted_http_ips) + _setter("allowlisted_http_ips", allowlisted_http_ips) if allowlisted_http_vcns is not None: - pulumi.set(__self__, "allowlisted_http_vcns", allowlisted_http_vcns) + _setter("allowlisted_http_vcns", allowlisted_http_vcns) if is_integration_vcn_allowlisted is not None: - pulumi.set(__self__, "is_integration_vcn_allowlisted", is_integration_vcn_allowlisted) + _setter("is_integration_vcn_allowlisted", is_integration_vcn_allowlisted) @property @pulumi.getter(name="networkEndpointType") @@ -468,9 +547,20 @@ def __init__(__self__, *, :param str id: The Virtual Cloud Network OCID. :param Sequence[str] allowlisted_ips: Source IP addresses or IP address ranges ingress rules. (ex: "168.122.59.5", "10.20.30.0/26") An invalid IP or CIDR block will result in a 400 response. """ - pulumi.set(__self__, "id", id) + IntegrationInstanceNetworkEndpointDetailsAllowlistedHttpVcn._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + allowlisted_ips=allowlisted_ips, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: str, + allowlisted_ips: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) if allowlisted_ips is not None: - pulumi.set(__self__, "allowlisted_ips", allowlisted_ips) + _setter("allowlisted_ips", allowlisted_ips) @property @pulumi.getter @@ -502,10 +592,25 @@ def __init__(__self__, *, :param int certificate_secret_version: The secret version used for the certificate-secret-id (if certificate-secret-id is specified). :param str hostname: A custom hostname to be used for the integration instance URL, in FQDN format. """ - pulumi.set(__self__, "alias", alias) - pulumi.set(__self__, "certificate_secret_id", certificate_secret_id) - pulumi.set(__self__, "certificate_secret_version", certificate_secret_version) - pulumi.set(__self__, "hostname", hostname) + GetIntegrationInstanceAlternateCustomEndpointResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + alias=alias, + certificate_secret_id=certificate_secret_id, + certificate_secret_version=certificate_secret_version, + hostname=hostname, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + alias: str, + certificate_secret_id: str, + certificate_secret_version: int, + hostname: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("alias", alias) + _setter("certificate_secret_id", certificate_secret_id) + _setter("certificate_secret_version", certificate_secret_version) + _setter("hostname", hostname) @property @pulumi.getter @@ -556,11 +661,28 @@ def __init__(__self__, *, :param str target_role: The role of the target attachment. :param str target_service_type: The type of the target instance, such as "FUSION". """ - pulumi.set(__self__, "is_implicit", is_implicit) - pulumi.set(__self__, "target_id", target_id) - pulumi.set(__self__, "target_instance_url", target_instance_url) - pulumi.set(__self__, "target_role", target_role) - pulumi.set(__self__, "target_service_type", target_service_type) + GetIntegrationInstanceAttachmentResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_implicit=is_implicit, + target_id=target_id, + target_instance_url=target_instance_url, + target_role=target_role, + target_service_type=target_service_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_implicit: bool, + target_id: str, + target_instance_url: str, + target_role: str, + target_service_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_implicit", is_implicit) + _setter("target_id", target_id) + _setter("target_instance_url", target_instance_url) + _setter("target_role", target_role) + _setter("target_service_type", target_service_type) @property @pulumi.getter(name="isImplicit") @@ -617,10 +739,25 @@ def __init__(__self__, *, :param int certificate_secret_version: The secret version used for the certificate-secret-id (if certificate-secret-id is specified). :param str hostname: A custom hostname to be used for the integration instance URL, in FQDN format. """ - pulumi.set(__self__, "alias", alias) - pulumi.set(__self__, "certificate_secret_id", certificate_secret_id) - pulumi.set(__self__, "certificate_secret_version", certificate_secret_version) - pulumi.set(__self__, "hostname", hostname) + GetIntegrationInstanceCustomEndpointResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + alias=alias, + certificate_secret_id=certificate_secret_id, + certificate_secret_version=certificate_secret_version, + hostname=hostname, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + alias: str, + certificate_secret_id: str, + certificate_secret_version: int, + hostname: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("alias", alias) + _setter("certificate_secret_id", certificate_secret_id) + _setter("certificate_secret_version", certificate_secret_version) + _setter("hostname", hostname) @property @pulumi.getter @@ -670,11 +807,28 @@ def __init__(__self__, *, :param str idcs_app_name: The IDCS application name associated with the instance :param str instance_primary_audience_url: The URL used as the primary audience for integration flows in this instance type: string """ - pulumi.set(__self__, "idcs_app_display_name", idcs_app_display_name) - pulumi.set(__self__, "idcs_app_id", idcs_app_id) - pulumi.set(__self__, "idcs_app_location_url", idcs_app_location_url) - pulumi.set(__self__, "idcs_app_name", idcs_app_name) - pulumi.set(__self__, "instance_primary_audience_url", instance_primary_audience_url) + GetIntegrationInstanceIdcsInfoResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + idcs_app_display_name=idcs_app_display_name, + idcs_app_id=idcs_app_id, + idcs_app_location_url=idcs_app_location_url, + idcs_app_name=idcs_app_name, + instance_primary_audience_url=instance_primary_audience_url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + idcs_app_display_name: str, + idcs_app_id: str, + idcs_app_location_url: str, + idcs_app_name: str, + instance_primary_audience_url: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("idcs_app_display_name", idcs_app_display_name) + _setter("idcs_app_id", idcs_app_id) + _setter("idcs_app_location_url", idcs_app_location_url) + _setter("idcs_app_name", idcs_app_name) + _setter("instance_primary_audience_url", instance_primary_audience_url) @property @pulumi.getter(name="idcsAppDisplayName") @@ -730,10 +884,25 @@ def __init__(__self__, *, :param bool is_integration_vcn_allowlisted: The Integration service's VCN is allow-listed to allow integrations to call back into other integrations :param str network_endpoint_type: The type of network endpoint. """ - pulumi.set(__self__, "allowlisted_http_ips", allowlisted_http_ips) - pulumi.set(__self__, "allowlisted_http_vcns", allowlisted_http_vcns) - pulumi.set(__self__, "is_integration_vcn_allowlisted", is_integration_vcn_allowlisted) - pulumi.set(__self__, "network_endpoint_type", network_endpoint_type) + GetIntegrationInstanceNetworkEndpointDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowlisted_http_ips=allowlisted_http_ips, + allowlisted_http_vcns=allowlisted_http_vcns, + is_integration_vcn_allowlisted=is_integration_vcn_allowlisted, + network_endpoint_type=network_endpoint_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowlisted_http_ips: Sequence[str], + allowlisted_http_vcns: Sequence['outputs.GetIntegrationInstanceNetworkEndpointDetailAllowlistedHttpVcnResult'], + is_integration_vcn_allowlisted: bool, + network_endpoint_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allowlisted_http_ips", allowlisted_http_ips) + _setter("allowlisted_http_vcns", allowlisted_http_vcns) + _setter("is_integration_vcn_allowlisted", is_integration_vcn_allowlisted) + _setter("network_endpoint_type", network_endpoint_type) @property @pulumi.getter(name="allowlistedHttpIps") @@ -777,8 +946,19 @@ def __init__(__self__, *, :param Sequence[str] allowlisted_ips: Source IP addresses or IP address ranges ingress rules. (ex: "168.122.59.5", "10.20.30.0/26") An invalid IP or CIDR block will result in a 400 response. :param str id: The Virtual Cloud Network OCID. """ - pulumi.set(__self__, "allowlisted_ips", allowlisted_ips) - pulumi.set(__self__, "id", id) + GetIntegrationInstanceNetworkEndpointDetailAllowlistedHttpVcnResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowlisted_ips=allowlisted_ips, + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowlisted_ips: Sequence[str], + id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allowlisted_ips", allowlisted_ips) + _setter("id", id) @property @pulumi.getter(name="allowlistedIps") @@ -803,10 +983,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetIntegrationInstancesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -876,31 +1069,88 @@ def __init__(__self__, *, :param str time_created: The time the the Integration Instance was created. An RFC3339 formatted datetime string. :param str time_updated: The time the IntegrationInstance was updated. An RFC3339 formatted datetime string. """ - pulumi.set(__self__, "alternate_custom_endpoints", alternate_custom_endpoints) - pulumi.set(__self__, "attachments", attachments) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "consumption_model", consumption_model) - pulumi.set(__self__, "custom_endpoints", custom_endpoints) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "domain_id", domain_id) - pulumi.set(__self__, "enable_process_automation_trigger", enable_process_automation_trigger) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "idcs_at", idcs_at) - pulumi.set(__self__, "idcs_infos", idcs_infos) - pulumi.set(__self__, "instance_url", instance_url) - pulumi.set(__self__, "integration_instance_type", integration_instance_type) - pulumi.set(__self__, "is_byol", is_byol) - pulumi.set(__self__, "is_file_server_enabled", is_file_server_enabled) - pulumi.set(__self__, "is_visual_builder_enabled", is_visual_builder_enabled) - pulumi.set(__self__, "message_packs", message_packs) - pulumi.set(__self__, "network_endpoint_details", network_endpoint_details) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "state_message", state_message) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetIntegrationInstancesIntegrationInstanceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + alternate_custom_endpoints=alternate_custom_endpoints, + attachments=attachments, + compartment_id=compartment_id, + consumption_model=consumption_model, + custom_endpoints=custom_endpoints, + defined_tags=defined_tags, + display_name=display_name, + domain_id=domain_id, + enable_process_automation_trigger=enable_process_automation_trigger, + freeform_tags=freeform_tags, + id=id, + idcs_at=idcs_at, + idcs_infos=idcs_infos, + instance_url=instance_url, + integration_instance_type=integration_instance_type, + is_byol=is_byol, + is_file_server_enabled=is_file_server_enabled, + is_visual_builder_enabled=is_visual_builder_enabled, + message_packs=message_packs, + network_endpoint_details=network_endpoint_details, + shape=shape, + state=state, + state_message=state_message, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + alternate_custom_endpoints: Sequence['outputs.GetIntegrationInstancesIntegrationInstanceAlternateCustomEndpointResult'], + attachments: Sequence['outputs.GetIntegrationInstancesIntegrationInstanceAttachmentResult'], + compartment_id: str, + consumption_model: str, + custom_endpoints: Sequence['outputs.GetIntegrationInstancesIntegrationInstanceCustomEndpointResult'], + defined_tags: Mapping[str, Any], + display_name: str, + domain_id: str, + enable_process_automation_trigger: int, + freeform_tags: Mapping[str, Any], + id: str, + idcs_at: str, + idcs_infos: Sequence['outputs.GetIntegrationInstancesIntegrationInstanceIdcsInfoResult'], + instance_url: str, + integration_instance_type: str, + is_byol: bool, + is_file_server_enabled: bool, + is_visual_builder_enabled: bool, + message_packs: int, + network_endpoint_details: Sequence['outputs.GetIntegrationInstancesIntegrationInstanceNetworkEndpointDetailResult'], + shape: str, + state: str, + state_message: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("alternate_custom_endpoints", alternate_custom_endpoints) + _setter("attachments", attachments) + _setter("compartment_id", compartment_id) + _setter("consumption_model", consumption_model) + _setter("custom_endpoints", custom_endpoints) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("domain_id", domain_id) + _setter("enable_process_automation_trigger", enable_process_automation_trigger) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("idcs_at", idcs_at) + _setter("idcs_infos", idcs_infos) + _setter("instance_url", instance_url) + _setter("integration_instance_type", integration_instance_type) + _setter("is_byol", is_byol) + _setter("is_file_server_enabled", is_file_server_enabled) + _setter("is_visual_builder_enabled", is_visual_builder_enabled) + _setter("message_packs", message_packs) + _setter("network_endpoint_details", network_endpoint_details) + _setter("shape", shape) + _setter("state", state) + _setter("state_message", state_message) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="alternateCustomEndpoints") @@ -1107,10 +1357,25 @@ def __init__(__self__, *, :param int certificate_secret_version: The secret version used for the certificate-secret-id (if certificate-secret-id is specified). :param str hostname: A custom hostname to be used for the integration instance URL, in FQDN format. """ - pulumi.set(__self__, "alias", alias) - pulumi.set(__self__, "certificate_secret_id", certificate_secret_id) - pulumi.set(__self__, "certificate_secret_version", certificate_secret_version) - pulumi.set(__self__, "hostname", hostname) + GetIntegrationInstancesIntegrationInstanceAlternateCustomEndpointResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + alias=alias, + certificate_secret_id=certificate_secret_id, + certificate_secret_version=certificate_secret_version, + hostname=hostname, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + alias: str, + certificate_secret_id: str, + certificate_secret_version: int, + hostname: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("alias", alias) + _setter("certificate_secret_id", certificate_secret_id) + _setter("certificate_secret_version", certificate_secret_version) + _setter("hostname", hostname) @property @pulumi.getter @@ -1161,11 +1426,28 @@ def __init__(__self__, *, :param str target_role: The role of the target attachment. :param str target_service_type: The type of the target instance, such as "FUSION". """ - pulumi.set(__self__, "is_implicit", is_implicit) - pulumi.set(__self__, "target_id", target_id) - pulumi.set(__self__, "target_instance_url", target_instance_url) - pulumi.set(__self__, "target_role", target_role) - pulumi.set(__self__, "target_service_type", target_service_type) + GetIntegrationInstancesIntegrationInstanceAttachmentResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_implicit=is_implicit, + target_id=target_id, + target_instance_url=target_instance_url, + target_role=target_role, + target_service_type=target_service_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_implicit: bool, + target_id: str, + target_instance_url: str, + target_role: str, + target_service_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_implicit", is_implicit) + _setter("target_id", target_id) + _setter("target_instance_url", target_instance_url) + _setter("target_role", target_role) + _setter("target_service_type", target_service_type) @property @pulumi.getter(name="isImplicit") @@ -1222,10 +1504,25 @@ def __init__(__self__, *, :param int certificate_secret_version: The secret version used for the certificate-secret-id (if certificate-secret-id is specified). :param str hostname: A custom hostname to be used for the integration instance URL, in FQDN format. """ - pulumi.set(__self__, "alias", alias) - pulumi.set(__self__, "certificate_secret_id", certificate_secret_id) - pulumi.set(__self__, "certificate_secret_version", certificate_secret_version) - pulumi.set(__self__, "hostname", hostname) + GetIntegrationInstancesIntegrationInstanceCustomEndpointResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + alias=alias, + certificate_secret_id=certificate_secret_id, + certificate_secret_version=certificate_secret_version, + hostname=hostname, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + alias: str, + certificate_secret_id: str, + certificate_secret_version: int, + hostname: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("alias", alias) + _setter("certificate_secret_id", certificate_secret_id) + _setter("certificate_secret_version", certificate_secret_version) + _setter("hostname", hostname) @property @pulumi.getter @@ -1275,11 +1572,28 @@ def __init__(__self__, *, :param str idcs_app_name: The IDCS application name associated with the instance :param str instance_primary_audience_url: The URL used as the primary audience for integration flows in this instance type: string """ - pulumi.set(__self__, "idcs_app_display_name", idcs_app_display_name) - pulumi.set(__self__, "idcs_app_id", idcs_app_id) - pulumi.set(__self__, "idcs_app_location_url", idcs_app_location_url) - pulumi.set(__self__, "idcs_app_name", idcs_app_name) - pulumi.set(__self__, "instance_primary_audience_url", instance_primary_audience_url) + GetIntegrationInstancesIntegrationInstanceIdcsInfoResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + idcs_app_display_name=idcs_app_display_name, + idcs_app_id=idcs_app_id, + idcs_app_location_url=idcs_app_location_url, + idcs_app_name=idcs_app_name, + instance_primary_audience_url=instance_primary_audience_url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + idcs_app_display_name: str, + idcs_app_id: str, + idcs_app_location_url: str, + idcs_app_name: str, + instance_primary_audience_url: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("idcs_app_display_name", idcs_app_display_name) + _setter("idcs_app_id", idcs_app_id) + _setter("idcs_app_location_url", idcs_app_location_url) + _setter("idcs_app_name", idcs_app_name) + _setter("instance_primary_audience_url", instance_primary_audience_url) @property @pulumi.getter(name="idcsAppDisplayName") @@ -1335,10 +1649,25 @@ def __init__(__self__, *, :param bool is_integration_vcn_allowlisted: The Integration service's VCN is allow-listed to allow integrations to call back into other integrations :param str network_endpoint_type: The type of network endpoint. """ - pulumi.set(__self__, "allowlisted_http_ips", allowlisted_http_ips) - pulumi.set(__self__, "allowlisted_http_vcns", allowlisted_http_vcns) - pulumi.set(__self__, "is_integration_vcn_allowlisted", is_integration_vcn_allowlisted) - pulumi.set(__self__, "network_endpoint_type", network_endpoint_type) + GetIntegrationInstancesIntegrationInstanceNetworkEndpointDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowlisted_http_ips=allowlisted_http_ips, + allowlisted_http_vcns=allowlisted_http_vcns, + is_integration_vcn_allowlisted=is_integration_vcn_allowlisted, + network_endpoint_type=network_endpoint_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowlisted_http_ips: Sequence[str], + allowlisted_http_vcns: Sequence['outputs.GetIntegrationInstancesIntegrationInstanceNetworkEndpointDetailAllowlistedHttpVcnResult'], + is_integration_vcn_allowlisted: bool, + network_endpoint_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allowlisted_http_ips", allowlisted_http_ips) + _setter("allowlisted_http_vcns", allowlisted_http_vcns) + _setter("is_integration_vcn_allowlisted", is_integration_vcn_allowlisted) + _setter("network_endpoint_type", network_endpoint_type) @property @pulumi.getter(name="allowlistedHttpIps") @@ -1382,8 +1711,19 @@ def __init__(__self__, *, :param Sequence[str] allowlisted_ips: Source IP addresses or IP address ranges ingress rules. (ex: "168.122.59.5", "10.20.30.0/26") An invalid IP or CIDR block will result in a 400 response. :param str id: The Virtual Cloud Network OCID. """ - pulumi.set(__self__, "allowlisted_ips", allowlisted_ips) - pulumi.set(__self__, "id", id) + GetIntegrationInstancesIntegrationInstanceNetworkEndpointDetailAllowlistedHttpVcnResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowlisted_ips=allowlisted_ips, + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowlisted_ips: Sequence[str], + id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allowlisted_ips", allowlisted_ips) + _setter("id", id) @property @pulumi.getter(name="allowlistedIps") diff --git a/sdk/python/pulumi_oci/jms/_inputs.py b/sdk/python/pulumi_oci/jms/_inputs.py index 8de963aff4..4a6c35e5eb 100644 --- a/sdk/python/pulumi_oci/jms/_inputs.py +++ b/sdk/python/pulumi_oci/jms/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -37,8 +37,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "log_group_id", log_group_id) - pulumi.set(__self__, "log_id", log_id) + FleetInventoryLogArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + log_group_id=log_group_id, + log_id=log_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + log_group_id: pulumi.Input[str], + log_id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("log_group_id", log_group_id) + _setter("log_id", log_id) @property @pulumi.getter(name="logGroupId") @@ -82,8 +93,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "log_group_id", log_group_id) - pulumi.set(__self__, "log_id", log_id) + FleetOperationLogArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + log_group_id=log_group_id, + log_id=log_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + log_group_id: pulumi.Input[str], + log_id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("log_group_id", log_group_id) + _setter("log_id", log_id) @property @pulumi.getter(name="logGroupId") @@ -120,10 +142,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAnnouncementsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -159,10 +194,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetFleetBlocklistsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -198,10 +246,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetFleetCryptoAnalysisResultsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -237,10 +298,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetFleetDiagnosesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -276,10 +350,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetFleetJavaMigrationAnalysisResultsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -315,10 +402,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetFleetPerformanceTuningAnalysisResultsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -354,10 +454,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetFleetsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -396,10 +509,23 @@ def __init__(__self__, *, """ :param str name: The name of the operating system as provided by the Java system property os.name. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetInstallationSitesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -438,10 +564,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetJavaFamiliesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -477,10 +616,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetJavaReleasesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/jms/fleet.py b/sdk/python/pulumi_oci/jms/fleet.py index 37a84e775c..c2a78448cd 100644 --- a/sdk/python/pulumi_oci/jms/fleet.py +++ b/sdk/python/pulumi_oci/jms/fleet.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -35,19 +35,42 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_advanced_features_enabled: (Updatable) Whether or not advanced features are enabled in this Fleet. Deprecated, use `/fleets/{fleetId}/advanceFeatureConfiguration` API instead. :param pulumi.Input['FleetOperationLogArgs'] operation_log: (Updatable) Custom Log for inventory or operation log. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "inventory_log", inventory_log) + FleetArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + inventory_log=inventory_log, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + is_advanced_features_enabled=is_advanced_features_enabled, + operation_log=operation_log, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + inventory_log: pulumi.Input['FleetInventoryLogArgs'], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_advanced_features_enabled: Optional[pulumi.Input[bool]] = None, + operation_log: Optional[pulumi.Input['FleetOperationLogArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) + _setter("inventory_log", inventory_log) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_advanced_features_enabled is not None: - pulumi.set(__self__, "is_advanced_features_enabled", is_advanced_features_enabled) + _setter("is_advanced_features_enabled", is_advanced_features_enabled) if operation_log is not None: - pulumi.set(__self__, "operation_log", operation_log) + _setter("operation_log", operation_log) @property @pulumi.getter(name="compartmentId") @@ -184,38 +207,77 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] system_tags: System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). System tags can be viewed by users, but can only be created by the system. Example: `{"orcl-cloud.free-tier-retained": "true"}` :param pulumi.Input[str] time_created: The creation date and time of the Fleet (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). """ + _FleetState._configure( + lambda key, value: pulumi.set(__self__, key, value), + approximate_application_count=approximate_application_count, + approximate_installation_count=approximate_installation_count, + approximate_java_server_count=approximate_java_server_count, + approximate_jre_count=approximate_jre_count, + approximate_managed_instance_count=approximate_managed_instance_count, + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + inventory_log=inventory_log, + is_advanced_features_enabled=is_advanced_features_enabled, + operation_log=operation_log, + state=state, + system_tags=system_tags, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + approximate_application_count: Optional[pulumi.Input[int]] = None, + approximate_installation_count: Optional[pulumi.Input[int]] = None, + approximate_java_server_count: Optional[pulumi.Input[int]] = None, + approximate_jre_count: Optional[pulumi.Input[int]] = None, + approximate_managed_instance_count: Optional[pulumi.Input[int]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + inventory_log: Optional[pulumi.Input['FleetInventoryLogArgs']] = None, + is_advanced_features_enabled: Optional[pulumi.Input[bool]] = None, + operation_log: Optional[pulumi.Input['FleetOperationLogArgs']] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if approximate_application_count is not None: - pulumi.set(__self__, "approximate_application_count", approximate_application_count) + _setter("approximate_application_count", approximate_application_count) if approximate_installation_count is not None: - pulumi.set(__self__, "approximate_installation_count", approximate_installation_count) + _setter("approximate_installation_count", approximate_installation_count) if approximate_java_server_count is not None: - pulumi.set(__self__, "approximate_java_server_count", approximate_java_server_count) + _setter("approximate_java_server_count", approximate_java_server_count) if approximate_jre_count is not None: - pulumi.set(__self__, "approximate_jre_count", approximate_jre_count) + _setter("approximate_jre_count", approximate_jre_count) if approximate_managed_instance_count is not None: - pulumi.set(__self__, "approximate_managed_instance_count", approximate_managed_instance_count) + _setter("approximate_managed_instance_count", approximate_managed_instance_count) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if inventory_log is not None: - pulumi.set(__self__, "inventory_log", inventory_log) + _setter("inventory_log", inventory_log) if is_advanced_features_enabled is not None: - pulumi.set(__self__, "is_advanced_features_enabled", is_advanced_features_enabled) + _setter("is_advanced_features_enabled", is_advanced_features_enabled) if operation_log is not None: - pulumi.set(__self__, "operation_log", operation_log) + _setter("operation_log", operation_log) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="approximateApplicationCount") @@ -543,6 +605,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + FleetArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -574,10 +640,20 @@ def _internal_init(__self__, raise TypeError("Missing required property 'display_name'") __props__.__dict__["display_name"] = display_name __props__.__dict__["freeform_tags"] = freeform_tags + if inventory_log is not None and not isinstance(inventory_log, FleetInventoryLogArgs): + inventory_log = inventory_log or {} + def _setter(key, value): + inventory_log[key] = value + FleetInventoryLogArgs._configure(_setter, **inventory_log) if inventory_log is None and not opts.urn: raise TypeError("Missing required property 'inventory_log'") __props__.__dict__["inventory_log"] = inventory_log __props__.__dict__["is_advanced_features_enabled"] = is_advanced_features_enabled + if operation_log is not None and not isinstance(operation_log, FleetOperationLogArgs): + operation_log = operation_log or {} + def _setter(key, value): + operation_log[key] = value + FleetOperationLogArgs._configure(_setter, **operation_log) __props__.__dict__["operation_log"] = operation_log __props__.__dict__["approximate_application_count"] = None __props__.__dict__["approximate_installation_count"] = None diff --git a/sdk/python/pulumi_oci/jms/get_announcements.py b/sdk/python/pulumi_oci/jms/get_announcements.py index 1594705e87..4e357ea81d 100644 --- a/sdk/python/pulumi_oci/jms/get_announcements.py +++ b/sdk/python/pulumi_oci/jms/get_announcements.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/jms/get_fleet.py b/sdk/python/pulumi_oci/jms/get_fleet.py index 5658b3de63..d8047fb069 100644 --- a/sdk/python/pulumi_oci/jms/get_fleet.py +++ b/sdk/python/pulumi_oci/jms/get_fleet.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/jms/get_fleet_advanced_feature_configuration.py b/sdk/python/pulumi_oci/jms/get_fleet_advanced_feature_configuration.py index ae94b1a34a..a1423f6d75 100644 --- a/sdk/python/pulumi_oci/jms/get_fleet_advanced_feature_configuration.py +++ b/sdk/python/pulumi_oci/jms/get_fleet_advanced_feature_configuration.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/jms/get_fleet_blocklists.py b/sdk/python/pulumi_oci/jms/get_fleet_blocklists.py index 87034635e2..88cca27015 100644 --- a/sdk/python/pulumi_oci/jms/get_fleet_blocklists.py +++ b/sdk/python/pulumi_oci/jms/get_fleet_blocklists.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/jms/get_fleet_crypto_analysis_result.py b/sdk/python/pulumi_oci/jms/get_fleet_crypto_analysis_result.py index d8d3cf6e3e..388a5e46d8 100644 --- a/sdk/python/pulumi_oci/jms/get_fleet_crypto_analysis_result.py +++ b/sdk/python/pulumi_oci/jms/get_fleet_crypto_analysis_result.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/jms/get_fleet_crypto_analysis_results.py b/sdk/python/pulumi_oci/jms/get_fleet_crypto_analysis_results.py index 37ed1f9c51..660c3c3d85 100644 --- a/sdk/python/pulumi_oci/jms/get_fleet_crypto_analysis_results.py +++ b/sdk/python/pulumi_oci/jms/get_fleet_crypto_analysis_results.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/jms/get_fleet_diagnoses.py b/sdk/python/pulumi_oci/jms/get_fleet_diagnoses.py index 6d89758294..95562e732d 100644 --- a/sdk/python/pulumi_oci/jms/get_fleet_diagnoses.py +++ b/sdk/python/pulumi_oci/jms/get_fleet_diagnoses.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/jms/get_fleet_java_migration_analysis_result.py b/sdk/python/pulumi_oci/jms/get_fleet_java_migration_analysis_result.py index c0956ff913..e0a670a1e0 100644 --- a/sdk/python/pulumi_oci/jms/get_fleet_java_migration_analysis_result.py +++ b/sdk/python/pulumi_oci/jms/get_fleet_java_migration_analysis_result.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/jms/get_fleet_java_migration_analysis_results.py b/sdk/python/pulumi_oci/jms/get_fleet_java_migration_analysis_results.py index 638bea60d4..b422febac7 100644 --- a/sdk/python/pulumi_oci/jms/get_fleet_java_migration_analysis_results.py +++ b/sdk/python/pulumi_oci/jms/get_fleet_java_migration_analysis_results.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/jms/get_fleet_performance_tuning_analysis_result.py b/sdk/python/pulumi_oci/jms/get_fleet_performance_tuning_analysis_result.py index e8dfb2a315..cc80f5cc4d 100644 --- a/sdk/python/pulumi_oci/jms/get_fleet_performance_tuning_analysis_result.py +++ b/sdk/python/pulumi_oci/jms/get_fleet_performance_tuning_analysis_result.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/jms/get_fleet_performance_tuning_analysis_results.py b/sdk/python/pulumi_oci/jms/get_fleet_performance_tuning_analysis_results.py index 1b4e2232fc..d254447659 100644 --- a/sdk/python/pulumi_oci/jms/get_fleet_performance_tuning_analysis_results.py +++ b/sdk/python/pulumi_oci/jms/get_fleet_performance_tuning_analysis_results.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/jms/get_fleets.py b/sdk/python/pulumi_oci/jms/get_fleets.py index db41c2ebf6..3c62262176 100644 --- a/sdk/python/pulumi_oci/jms/get_fleets.py +++ b/sdk/python/pulumi_oci/jms/get_fleets.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/jms/get_installation_site.py b/sdk/python/pulumi_oci/jms/get_installation_site.py index 1a3d8ddd06..9961209112 100644 --- a/sdk/python/pulumi_oci/jms/get_installation_site.py +++ b/sdk/python/pulumi_oci/jms/get_installation_site.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/jms/get_installation_sites.py b/sdk/python/pulumi_oci/jms/get_installation_sites.py index bcc0b9ba95..cf01614ba4 100644 --- a/sdk/python/pulumi_oci/jms/get_installation_sites.py +++ b/sdk/python/pulumi_oci/jms/get_installation_sites.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/jms/get_java_families.py b/sdk/python/pulumi_oci/jms/get_java_families.py index 6dc28cd240..29479fddc0 100644 --- a/sdk/python/pulumi_oci/jms/get_java_families.py +++ b/sdk/python/pulumi_oci/jms/get_java_families.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/jms/get_java_family.py b/sdk/python/pulumi_oci/jms/get_java_family.py index 87dfc6a63a..f89c6853e1 100644 --- a/sdk/python/pulumi_oci/jms/get_java_family.py +++ b/sdk/python/pulumi_oci/jms/get_java_family.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/jms/get_java_release.py b/sdk/python/pulumi_oci/jms/get_java_release.py index bfb168b48b..d4bcbec644 100644 --- a/sdk/python/pulumi_oci/jms/get_java_release.py +++ b/sdk/python/pulumi_oci/jms/get_java_release.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/jms/get_java_releases.py b/sdk/python/pulumi_oci/jms/get_java_releases.py index acbfae9160..1d9eb2c363 100644 --- a/sdk/python/pulumi_oci/jms/get_java_releases.py +++ b/sdk/python/pulumi_oci/jms/get_java_releases.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/jms/get_list_jre_usage.py b/sdk/python/pulumi_oci/jms/get_list_jre_usage.py index 78ef3c12e0..d0d8cba1ac 100644 --- a/sdk/python/pulumi_oci/jms/get_list_jre_usage.py +++ b/sdk/python/pulumi_oci/jms/get_list_jre_usage.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/jms/get_summarize_resource_inventory.py b/sdk/python/pulumi_oci/jms/get_summarize_resource_inventory.py index d6a1c095f4..d058a29f8a 100644 --- a/sdk/python/pulumi_oci/jms/get_summarize_resource_inventory.py +++ b/sdk/python/pulumi_oci/jms/get_summarize_resource_inventory.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/jms/outputs.py b/sdk/python/pulumi_oci/jms/outputs.py index 9d80e437da..3d1f88a89e 100644 --- a/sdk/python/pulumi_oci/jms/outputs.py +++ b/sdk/python/pulumi_oci/jms/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -110,8 +110,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "log_group_id", log_group_id) - pulumi.set(__self__, "log_id", log_id) + FleetInventoryLog._configure( + lambda key, value: pulumi.set(__self__, key, value), + log_group_id=log_group_id, + log_id=log_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + log_group_id: str, + log_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("log_group_id", log_group_id) + _setter("log_id", log_id) @property @pulumi.getter(name="logGroupId") @@ -166,8 +177,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "log_group_id", log_group_id) - pulumi.set(__self__, "log_id", log_id) + FleetOperationLog._configure( + lambda key, value: pulumi.set(__self__, key, value), + log_group_id=log_group_id, + log_id=log_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + log_group_id: str, + log_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("log_group_id", log_group_id) + _setter("log_id", log_id) @property @pulumi.getter(name="logGroupId") @@ -197,7 +219,16 @@ def __init__(__self__, *, """ :param Sequence['GetAnnouncementsAnnouncementCollectionItemArgs'] items: List of AnnouncementSummary items """ - pulumi.set(__self__, "items", items) + GetAnnouncementsAnnouncementCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetAnnouncementsAnnouncementCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -221,10 +252,25 @@ def __init__(__self__, *, :param str time_released: Date time on which the announcement was released :param str url: URL to the announcement web page """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "summary", summary) - pulumi.set(__self__, "time_released", time_released) - pulumi.set(__self__, "url", url) + GetAnnouncementsAnnouncementCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + summary=summary, + time_released=time_released, + url=url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: int, + summary: str, + time_released: str, + url: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("summary", summary) + _setter("time_released", time_released) + _setter("url", url) @property @pulumi.getter @@ -265,10 +311,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAnnouncementsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -293,7 +352,16 @@ def __init__(__self__, *, """ :param bool is_enabled: PerformanceTuningAnalysis flag to store enabled or disabled status. """ - pulumi.set(__self__, "is_enabled", is_enabled) + GetFleetAdvancedFeatureConfigurationAdvancedUsageTrackingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_enabled", is_enabled) @property @pulumi.getter(name="isEnabled") @@ -313,8 +381,19 @@ def __init__(__self__, *, :param bool is_enabled: PerformanceTuningAnalysis flag to store enabled or disabled status. :param Sequence['GetFleetAdvancedFeatureConfigurationCryptoEventAnalysisSummarizedEventsLogArgs'] summarized_events_logs: Summarized events log for advanced feature. """ - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "summarized_events_logs", summarized_events_logs) + GetFleetAdvancedFeatureConfigurationCryptoEventAnalysisResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + summarized_events_logs=summarized_events_logs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: bool, + summarized_events_logs: Sequence['outputs.GetFleetAdvancedFeatureConfigurationCryptoEventAnalysisSummarizedEventsLogResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_enabled", is_enabled) + _setter("summarized_events_logs", summarized_events_logs) @property @pulumi.getter(name="isEnabled") @@ -342,8 +421,19 @@ def __init__(__self__, *, :param str log_group_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log group. :param str log_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log. """ - pulumi.set(__self__, "log_group_id", log_group_id) - pulumi.set(__self__, "log_id", log_id) + GetFleetAdvancedFeatureConfigurationCryptoEventAnalysisSummarizedEventsLogResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + log_group_id=log_group_id, + log_id=log_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + log_group_id: str, + log_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("log_group_id", log_group_id) + _setter("log_id", log_id) @property @pulumi.getter(name="logGroupId") @@ -369,7 +459,16 @@ def __init__(__self__, *, """ :param bool is_enabled: PerformanceTuningAnalysis flag to store enabled or disabled status. """ - pulumi.set(__self__, "is_enabled", is_enabled) + GetFleetAdvancedFeatureConfigurationJavaMigrationAnalysisResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_enabled", is_enabled) @property @pulumi.getter(name="isEnabled") @@ -387,7 +486,16 @@ def __init__(__self__, *, """ :param bool is_enabled: PerformanceTuningAnalysis flag to store enabled or disabled status. """ - pulumi.set(__self__, "is_enabled", is_enabled) + GetFleetAdvancedFeatureConfigurationJfrRecordingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_enabled", is_enabled) @property @pulumi.getter(name="isEnabled") @@ -407,8 +515,19 @@ def __init__(__self__, *, :param bool is_enabled: PerformanceTuningAnalysis flag to store enabled or disabled status. :param Sequence['GetFleetAdvancedFeatureConfigurationLcmPostInstallationActionArgs'] post_installation_actions: List of available post actions you can execute after the successful Java installation. """ - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "post_installation_actions", post_installation_actions) + GetFleetAdvancedFeatureConfigurationLcmResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + post_installation_actions=post_installation_actions, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: bool, + post_installation_actions: Sequence['outputs.GetFleetAdvancedFeatureConfigurationLcmPostInstallationActionResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_enabled", is_enabled) + _setter("post_installation_actions", post_installation_actions) @property @pulumi.getter(name="isEnabled") @@ -446,12 +565,31 @@ def __init__(__self__, *, :param bool should_replace_certificates_operating_system: Restores JDK root certificates with the certificates that are available in the operating system. The following action is supported by the field: * Replace JDK root certificates with a list provided by the operating system. """ - pulumi.set(__self__, "add_logging_handler", add_logging_handler) - pulumi.set(__self__, "disabled_tls_versions", disabled_tls_versions) - pulumi.set(__self__, "global_logging_level", global_logging_level) - pulumi.set(__self__, "minimum_key_size_settings", minimum_key_size_settings) - pulumi.set(__self__, "proxies", proxies) - pulumi.set(__self__, "should_replace_certificates_operating_system", should_replace_certificates_operating_system) + GetFleetAdvancedFeatureConfigurationLcmPostInstallationActionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + add_logging_handler=add_logging_handler, + disabled_tls_versions=disabled_tls_versions, + global_logging_level=global_logging_level, + minimum_key_size_settings=minimum_key_size_settings, + proxies=proxies, + should_replace_certificates_operating_system=should_replace_certificates_operating_system, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + add_logging_handler: bool, + disabled_tls_versions: Sequence[str], + global_logging_level: str, + minimum_key_size_settings: Sequence['outputs.GetFleetAdvancedFeatureConfigurationLcmPostInstallationActionMinimumKeySizeSettingResult'], + proxies: Sequence['outputs.GetFleetAdvancedFeatureConfigurationLcmPostInstallationActionProxyResult'], + should_replace_certificates_operating_system: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("add_logging_handler", add_logging_handler) + _setter("disabled_tls_versions", disabled_tls_versions) + _setter("global_logging_level", global_logging_level) + _setter("minimum_key_size_settings", minimum_key_size_settings) + _setter("proxies", proxies) + _setter("should_replace_certificates_operating_system", should_replace_certificates_operating_system) @property @pulumi.getter(name="addLoggingHandler") @@ -522,9 +660,22 @@ def __init__(__self__, *, :param Sequence['GetFleetAdvancedFeatureConfigurationLcmPostInstallationActionMinimumKeySizeSettingTlArgs'] tls: Updates the minimum key size for the specified encryption algorithm. The JDK property jdk.tls.disabledAlgorithms will be updated with the following supported actions: * Changing minimum key length for Diffie-Hellman """ - pulumi.set(__self__, "certpaths", certpaths) - pulumi.set(__self__, "jars", jars) - pulumi.set(__self__, "tls", tls) + GetFleetAdvancedFeatureConfigurationLcmPostInstallationActionMinimumKeySizeSettingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + certpaths=certpaths, + jars=jars, + tls=tls, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + certpaths: Sequence['outputs.GetFleetAdvancedFeatureConfigurationLcmPostInstallationActionMinimumKeySizeSettingCertpathResult'], + jars: Sequence['outputs.GetFleetAdvancedFeatureConfigurationLcmPostInstallationActionMinimumKeySizeSettingJarResult'], + tls: Sequence['outputs.GetFleetAdvancedFeatureConfigurationLcmPostInstallationActionMinimumKeySizeSettingTlResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("certpaths", certpaths) + _setter("jars", jars) + _setter("tls", tls) @property @pulumi.getter @@ -567,8 +718,19 @@ def __init__(__self__, *, :param int key_size: Key size for the encryption algorithm. Allowed values: 256 for EC, 2048 for DH/DSA/RSA :param str name: The algorithm name. """ - pulumi.set(__self__, "key_size", key_size) - pulumi.set(__self__, "name", name) + GetFleetAdvancedFeatureConfigurationLcmPostInstallationActionMinimumKeySizeSettingCertpathResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key_size=key_size, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key_size: int, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key_size", key_size) + _setter("name", name) @property @pulumi.getter(name="keySize") @@ -596,8 +758,19 @@ def __init__(__self__, *, :param int key_size: Key size for the encryption algorithm. Allowed values: 256 for EC, 2048 for DH/DSA/RSA :param str name: The algorithm name. """ - pulumi.set(__self__, "key_size", key_size) - pulumi.set(__self__, "name", name) + GetFleetAdvancedFeatureConfigurationLcmPostInstallationActionMinimumKeySizeSettingJarResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key_size=key_size, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key_size: int, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key_size", key_size) + _setter("name", name) @property @pulumi.getter(name="keySize") @@ -625,8 +798,19 @@ def __init__(__self__, *, :param int key_size: Key size for the encryption algorithm. Allowed values: 256 for EC, 2048 for DH/DSA/RSA :param str name: The algorithm name. """ - pulumi.set(__self__, "key_size", key_size) - pulumi.set(__self__, "name", name) + GetFleetAdvancedFeatureConfigurationLcmPostInstallationActionMinimumKeySizeSettingTlResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key_size=key_size, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key_size: int, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key_size", key_size) + _setter("name", name) @property @pulumi.getter(name="keySize") @@ -668,15 +852,40 @@ def __init__(__self__, *, :param int socks_proxy_port: Socks port number to be set in net.properties file. :param bool use_system_proxies: Sets "java.net.useSystemProxies=true" in net.properties when they exist. """ - pulumi.set(__self__, "ftp_proxy_host", ftp_proxy_host) - pulumi.set(__self__, "ftp_proxy_port", ftp_proxy_port) - pulumi.set(__self__, "http_proxy_host", http_proxy_host) - pulumi.set(__self__, "http_proxy_port", http_proxy_port) - pulumi.set(__self__, "https_proxy_host", https_proxy_host) - pulumi.set(__self__, "https_proxy_port", https_proxy_port) - pulumi.set(__self__, "socks_proxy_host", socks_proxy_host) - pulumi.set(__self__, "socks_proxy_port", socks_proxy_port) - pulumi.set(__self__, "use_system_proxies", use_system_proxies) + GetFleetAdvancedFeatureConfigurationLcmPostInstallationActionProxyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ftp_proxy_host=ftp_proxy_host, + ftp_proxy_port=ftp_proxy_port, + http_proxy_host=http_proxy_host, + http_proxy_port=http_proxy_port, + https_proxy_host=https_proxy_host, + https_proxy_port=https_proxy_port, + socks_proxy_host=socks_proxy_host, + socks_proxy_port=socks_proxy_port, + use_system_proxies=use_system_proxies, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ftp_proxy_host: str, + ftp_proxy_port: int, + http_proxy_host: str, + http_proxy_port: int, + https_proxy_host: str, + https_proxy_port: int, + socks_proxy_host: str, + socks_proxy_port: int, + use_system_proxies: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ftp_proxy_host", ftp_proxy_host) + _setter("ftp_proxy_port", ftp_proxy_port) + _setter("http_proxy_host", http_proxy_host) + _setter("http_proxy_port", http_proxy_port) + _setter("https_proxy_host", https_proxy_host) + _setter("https_proxy_port", https_proxy_port) + _setter("socks_proxy_host", socks_proxy_host) + _setter("socks_proxy_port", socks_proxy_port) + _setter("use_system_proxies", use_system_proxies) @property @pulumi.getter(name="ftpProxyHost") @@ -758,7 +967,16 @@ def __init__(__self__, *, """ :param bool is_enabled: PerformanceTuningAnalysis flag to store enabled or disabled status. """ - pulumi.set(__self__, "is_enabled", is_enabled) + GetFleetAdvancedFeatureConfigurationPerformanceTuningAnalysisResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_enabled", is_enabled) @property @pulumi.getter(name="isEnabled") @@ -775,10 +993,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetFleetBlocklistsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -809,10 +1040,25 @@ def __init__(__self__, *, :param str reason: The reason why the operation is blocklisted. :param Sequence['GetFleetBlocklistsItemTargetArgs'] targets: A resource to blocklist for certain operation. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "operation", operation) - pulumi.set(__self__, "reason", reason) - pulumi.set(__self__, "targets", targets) + GetFleetBlocklistsItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + operation=operation, + reason=reason, + targets=targets, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + operation: str, + reason: str, + targets: Sequence['outputs.GetFleetBlocklistsItemTargetResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("operation", operation) + _setter("reason", reason) + _setter("targets", targets) @property @pulumi.getter @@ -858,9 +1104,22 @@ def __init__(__self__, *, :param str installation_key: The unique identifier for the installation of Java Runtime at a specific path on a specific operating system. :param str managed_instance_id: The Fleet-unique identifier of the related managed instance. """ - pulumi.set(__self__, "fleet_id", fleet_id) - pulumi.set(__self__, "installation_key", installation_key) - pulumi.set(__self__, "managed_instance_id", managed_instance_id) + GetFleetBlocklistsItemTargetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + fleet_id=fleet_id, + installation_key=installation_key, + managed_instance_id=managed_instance_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + fleet_id: str, + installation_key: str, + managed_instance_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("fleet_id", fleet_id) + _setter("installation_key", installation_key) + _setter("managed_instance_id", managed_instance_id) @property @pulumi.getter(name="fleetId") @@ -891,7 +1150,16 @@ def managed_instance_id(self) -> str: class GetFleetCryptoAnalysisResultsCryptoAnalysisResultCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetFleetCryptoAnalysisResultsCryptoAnalysisResultCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetFleetCryptoAnalysisResultsCryptoAnalysisResultCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetFleetCryptoAnalysisResultsCryptoAnalysisResultCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -938,23 +1206,64 @@ def __init__(__self__, *, :param int total_event_count: Total number of events in the analysis. :param str work_request_id: The OCID of the work request to start the analysis. """ - pulumi.set(__self__, "aggregation_mode", aggregation_mode) - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "crypto_roadmap_version", crypto_roadmap_version) - pulumi.set(__self__, "finding_count", finding_count) - pulumi.set(__self__, "fleet_id", fleet_id) - pulumi.set(__self__, "host_name", host_name) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "managed_instance_id", managed_instance_id) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "non_compliant_finding_count", non_compliant_finding_count) - pulumi.set(__self__, "object", object) - pulumi.set(__self__, "summarized_event_count", summarized_event_count) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_first_event", time_first_event) - pulumi.set(__self__, "time_last_event", time_last_event) - pulumi.set(__self__, "total_event_count", total_event_count) - pulumi.set(__self__, "work_request_id", work_request_id) + GetFleetCryptoAnalysisResultsCryptoAnalysisResultCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + aggregation_mode=aggregation_mode, + bucket=bucket, + crypto_roadmap_version=crypto_roadmap_version, + finding_count=finding_count, + fleet_id=fleet_id, + host_name=host_name, + id=id, + managed_instance_id=managed_instance_id, + namespace=namespace, + non_compliant_finding_count=non_compliant_finding_count, + object=object, + summarized_event_count=summarized_event_count, + time_created=time_created, + time_first_event=time_first_event, + time_last_event=time_last_event, + total_event_count=total_event_count, + work_request_id=work_request_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aggregation_mode: str, + bucket: str, + crypto_roadmap_version: str, + finding_count: int, + fleet_id: str, + host_name: str, + id: str, + managed_instance_id: str, + namespace: str, + non_compliant_finding_count: int, + object: str, + summarized_event_count: int, + time_created: str, + time_first_event: str, + time_last_event: str, + total_event_count: int, + work_request_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("aggregation_mode", aggregation_mode) + _setter("bucket", bucket) + _setter("crypto_roadmap_version", crypto_roadmap_version) + _setter("finding_count", finding_count) + _setter("fleet_id", fleet_id) + _setter("host_name", host_name) + _setter("id", id) + _setter("managed_instance_id", managed_instance_id) + _setter("namespace", namespace) + _setter("non_compliant_finding_count", non_compliant_finding_count) + _setter("object", object) + _setter("summarized_event_count", summarized_event_count) + _setter("time_created", time_created) + _setter("time_first_event", time_first_event) + _setter("time_last_event", time_last_event) + _setter("total_event_count", total_event_count) + _setter("work_request_id", work_request_id) @property @pulumi.getter(name="aggregationMode") @@ -1099,10 +1408,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetFleetCryptoAnalysisResultsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1126,10 +1448,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetFleetDiagnosesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1154,7 +1489,16 @@ def __init__(__self__, *, """ :param Sequence['GetFleetDiagnosesFleetDiagnosisCollectionItemArgs'] items: A list of the fleet resource diagnosis. """ - pulumi.set(__self__, "items", items) + GetFleetDiagnosesFleetDiagnosisCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetFleetDiagnosesFleetDiagnosisCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1178,10 +1522,25 @@ def __init__(__self__, *, :param str resource_state: The state of the resource. The resource state is ACTIVE when it works properly for the fleet. In case it would cause an issue for the fleet function, the state is INACTIVE. When JMS can't locate the resource, the state is NOT_FOUND. OTHER covers other cases, such as a temporarily network issue that prevents JMS from detecting the resource. Check the resourceDiagnosis for details. :param str resource_type: The type of the resource needed by the fleet. This is the role of a resource in the fleet. Use the OCID to determine the actual Oracle Cloud Infrastructure resource type such as log group or log. """ - pulumi.set(__self__, "resource_diagnosis", resource_diagnosis) - pulumi.set(__self__, "resource_id", resource_id) - pulumi.set(__self__, "resource_state", resource_state) - pulumi.set(__self__, "resource_type", resource_type) + GetFleetDiagnosesFleetDiagnosisCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + resource_diagnosis=resource_diagnosis, + resource_id=resource_id, + resource_state=resource_state, + resource_type=resource_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + resource_diagnosis: str, + resource_id: str, + resource_state: str, + resource_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("resource_diagnosis", resource_diagnosis) + _setter("resource_id", resource_id) + _setter("resource_state", resource_state) + _setter("resource_type", resource_type) @property @pulumi.getter(name="resourceDiagnosis") @@ -1225,8 +1584,19 @@ def __init__(__self__, *, :param str log_group_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log group. :param str log_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log. """ - pulumi.set(__self__, "log_group_id", log_group_id) - pulumi.set(__self__, "log_id", log_id) + GetFleetInventoryLogResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + log_group_id=log_group_id, + log_id=log_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + log_group_id: str, + log_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("log_group_id", log_group_id) + _setter("log_id", log_id) @property @pulumi.getter(name="logGroupId") @@ -1251,10 +1621,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetFleetJavaMigrationAnalysisResultsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1276,7 +1659,16 @@ def regex(self) -> Optional[bool]: class GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1321,22 +1713,61 @@ def __init__(__self__, *, :param str time_created: The time the result is compiled. :param str work_request_id: The OCID of the work request of this analysis. """ - pulumi.set(__self__, "application_execution_type", application_execution_type) - pulumi.set(__self__, "application_name", application_name) - pulumi.set(__self__, "application_path", application_path) - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "fleet_id", fleet_id) - pulumi.set(__self__, "host_name", host_name) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "managed_instance_id", managed_instance_id) - pulumi.set(__self__, "metadata", metadata) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "object_lists", object_lists) - pulumi.set(__self__, "object_storage_upload_dir_path", object_storage_upload_dir_path) - pulumi.set(__self__, "source_jdk_version", source_jdk_version) - pulumi.set(__self__, "target_jdk_version", target_jdk_version) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "work_request_id", work_request_id) + GetFleetJavaMigrationAnalysisResultsJavaMigrationAnalysisResultCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + application_execution_type=application_execution_type, + application_name=application_name, + application_path=application_path, + bucket=bucket, + fleet_id=fleet_id, + host_name=host_name, + id=id, + managed_instance_id=managed_instance_id, + metadata=metadata, + namespace=namespace, + object_lists=object_lists, + object_storage_upload_dir_path=object_storage_upload_dir_path, + source_jdk_version=source_jdk_version, + target_jdk_version=target_jdk_version, + time_created=time_created, + work_request_id=work_request_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + application_execution_type: str, + application_name: str, + application_path: str, + bucket: str, + fleet_id: str, + host_name: str, + id: str, + managed_instance_id: str, + metadata: str, + namespace: str, + object_lists: Sequence[str], + object_storage_upload_dir_path: str, + source_jdk_version: str, + target_jdk_version: str, + time_created: str, + work_request_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("application_execution_type", application_execution_type) + _setter("application_name", application_name) + _setter("application_path", application_path) + _setter("bucket", bucket) + _setter("fleet_id", fleet_id) + _setter("host_name", host_name) + _setter("id", id) + _setter("managed_instance_id", managed_instance_id) + _setter("metadata", metadata) + _setter("namespace", namespace) + _setter("object_lists", object_lists) + _setter("object_storage_upload_dir_path", object_storage_upload_dir_path) + _setter("source_jdk_version", source_jdk_version) + _setter("target_jdk_version", target_jdk_version) + _setter("time_created", time_created) + _setter("work_request_id", work_request_id) @property @pulumi.getter(name="applicationExecutionType") @@ -1476,8 +1907,19 @@ def __init__(__self__, *, :param str log_group_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log group. :param str log_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log. """ - pulumi.set(__self__, "log_group_id", log_group_id) - pulumi.set(__self__, "log_id", log_id) + GetFleetOperationLogResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + log_group_id=log_group_id, + log_id=log_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + log_group_id: str, + log_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("log_group_id", log_group_id) + _setter("log_id", log_id) @property @pulumi.getter(name="logGroupId") @@ -1502,10 +1944,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetFleetPerformanceTuningAnalysisResultsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1527,7 +1982,16 @@ def regex(self) -> Optional[bool]: class GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1574,23 +2038,64 @@ def __init__(__self__, *, :param int warning_count: Total number of warnings reported by the analysis. :param str work_request_id: The OCID of the work request to start the analysis. """ - pulumi.set(__self__, "application_id", application_id) - pulumi.set(__self__, "application_installation_id", application_installation_id) - pulumi.set(__self__, "application_installation_path", application_installation_path) - pulumi.set(__self__, "application_name", application_name) - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "fleet_id", fleet_id) - pulumi.set(__self__, "host_name", host_name) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "managed_instance_id", managed_instance_id) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "object", object) - pulumi.set(__self__, "result", result) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_finished", time_finished) - pulumi.set(__self__, "time_started", time_started) - pulumi.set(__self__, "warning_count", warning_count) - pulumi.set(__self__, "work_request_id", work_request_id) + GetFleetPerformanceTuningAnalysisResultsPerformanceTuningAnalysisResultCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + application_id=application_id, + application_installation_id=application_installation_id, + application_installation_path=application_installation_path, + application_name=application_name, + bucket=bucket, + fleet_id=fleet_id, + host_name=host_name, + id=id, + managed_instance_id=managed_instance_id, + namespace=namespace, + object=object, + result=result, + time_created=time_created, + time_finished=time_finished, + time_started=time_started, + warning_count=warning_count, + work_request_id=work_request_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + application_id: str, + application_installation_id: str, + application_installation_path: str, + application_name: str, + bucket: str, + fleet_id: str, + host_name: str, + id: str, + managed_instance_id: str, + namespace: str, + object: str, + result: str, + time_created: str, + time_finished: str, + time_started: str, + warning_count: int, + work_request_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("application_id", application_id) + _setter("application_installation_id", application_installation_id) + _setter("application_installation_path", application_installation_path) + _setter("application_name", application_name) + _setter("bucket", bucket) + _setter("fleet_id", fleet_id) + _setter("host_name", host_name) + _setter("id", id) + _setter("managed_instance_id", managed_instance_id) + _setter("namespace", namespace) + _setter("object", object) + _setter("result", result) + _setter("time_created", time_created) + _setter("time_finished", time_finished) + _setter("time_started", time_started) + _setter("warning_count", warning_count) + _setter("work_request_id", work_request_id) @property @pulumi.getter(name="applicationId") @@ -1735,10 +2240,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetFleetsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1760,7 +2278,16 @@ def regex(self) -> Optional[bool]: class GetFleetsFleetCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetFleetsFleetCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetFleetsFleetCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetFleetsFleetCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1807,23 +2334,64 @@ def __init__(__self__, *, :param Mapping[str, Any] system_tags: System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). System tags can be viewed by users, but can only be created by the system. Example: `{"orcl-cloud.free-tier-retained": "true"}` :param str time_created: The creation date and time of the Fleet (formatted according to [RFC3339](https://datatracker.ietf.org/doc/html/rfc3339)). """ - pulumi.set(__self__, "approximate_application_count", approximate_application_count) - pulumi.set(__self__, "approximate_installation_count", approximate_installation_count) - pulumi.set(__self__, "approximate_java_server_count", approximate_java_server_count) - pulumi.set(__self__, "approximate_jre_count", approximate_jre_count) - pulumi.set(__self__, "approximate_managed_instance_count", approximate_managed_instance_count) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "inventory_logs", inventory_logs) - pulumi.set(__self__, "is_advanced_features_enabled", is_advanced_features_enabled) - pulumi.set(__self__, "operation_logs", operation_logs) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) + GetFleetsFleetCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + approximate_application_count=approximate_application_count, + approximate_installation_count=approximate_installation_count, + approximate_java_server_count=approximate_java_server_count, + approximate_jre_count=approximate_jre_count, + approximate_managed_instance_count=approximate_managed_instance_count, + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + inventory_logs=inventory_logs, + is_advanced_features_enabled=is_advanced_features_enabled, + operation_logs=operation_logs, + state=state, + system_tags=system_tags, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + approximate_application_count: int, + approximate_installation_count: int, + approximate_java_server_count: int, + approximate_jre_count: int, + approximate_managed_instance_count: int, + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + inventory_logs: Sequence['outputs.GetFleetsFleetCollectionItemInventoryLogResult'], + is_advanced_features_enabled: bool, + operation_logs: Sequence['outputs.GetFleetsFleetCollectionItemOperationLogResult'], + state: str, + system_tags: Mapping[str, Any], + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("approximate_application_count", approximate_application_count) + _setter("approximate_installation_count", approximate_installation_count) + _setter("approximate_java_server_count", approximate_java_server_count) + _setter("approximate_jre_count", approximate_jre_count) + _setter("approximate_managed_instance_count", approximate_managed_instance_count) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("inventory_logs", inventory_logs) + _setter("is_advanced_features_enabled", is_advanced_features_enabled) + _setter("operation_logs", operation_logs) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) @property @pulumi.getter(name="approximateApplicationCount") @@ -1971,8 +2539,19 @@ def __init__(__self__, *, :param str log_group_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log group. :param str log_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log. """ - pulumi.set(__self__, "log_group_id", log_group_id) - pulumi.set(__self__, "log_id", log_id) + GetFleetsFleetCollectionItemInventoryLogResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + log_group_id=log_group_id, + log_id=log_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + log_group_id: str, + log_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("log_group_id", log_group_id) + _setter("log_id", log_id) @property @pulumi.getter(name="logGroupId") @@ -2000,8 +2579,19 @@ def __init__(__self__, *, :param str log_group_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log group. :param str log_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log. """ - pulumi.set(__self__, "log_group_id", log_group_id) - pulumi.set(__self__, "log_id", log_id) + GetFleetsFleetCollectionItemOperationLogResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + log_group_id=log_group_id, + log_id=log_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + log_group_id: str, + log_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("log_group_id", log_group_id) + _setter("log_id", log_id) @property @pulumi.getter(name="logGroupId") @@ -2045,16 +2635,43 @@ def __init__(__self__, *, :param str state: The lifecycle state of the installation site. :param str time_last_seen: The date and time the resource was _last_ reported to JMS. This is potentially _after_ the specified time period provided by the filters. For example, a resource can be last reported to JMS before the start of a specified time period, if it is also reported during the time period. """ - pulumi.set(__self__, "approximate_application_count", approximate_application_count) - pulumi.set(__self__, "blocklists", blocklists) - pulumi.set(__self__, "installation_key", installation_key) - pulumi.set(__self__, "jres", jres) - pulumi.set(__self__, "managed_instance_id", managed_instance_id) - pulumi.set(__self__, "operating_systems", operating_systems) - pulumi.set(__self__, "path", path) - pulumi.set(__self__, "security_status", security_status) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_last_seen", time_last_seen) + GetInstallationSiteItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + approximate_application_count=approximate_application_count, + blocklists=blocklists, + installation_key=installation_key, + jres=jres, + managed_instance_id=managed_instance_id, + operating_systems=operating_systems, + path=path, + security_status=security_status, + state=state, + time_last_seen=time_last_seen, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + approximate_application_count: int, + blocklists: Sequence['outputs.GetInstallationSiteItemBlocklistResult'], + installation_key: str, + jres: Sequence['outputs.GetInstallationSiteItemJreResult'], + managed_instance_id: str, + operating_systems: Sequence['outputs.GetInstallationSiteItemOperatingSystemResult'], + path: str, + security_status: str, + state: str, + time_last_seen: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("approximate_application_count", approximate_application_count) + _setter("blocklists", blocklists) + _setter("installation_key", installation_key) + _setter("jres", jres) + _setter("managed_instance_id", managed_instance_id) + _setter("operating_systems", operating_systems) + _setter("path", path) + _setter("security_status", security_status) + _setter("state", state) + _setter("time_last_seen", time_last_seen) @property @pulumi.getter(name="approximateApplicationCount") @@ -2146,8 +2763,19 @@ def __init__(__self__, *, :param str operation: The operation type. :param str reason: The reason why the operation is blocklisted. """ - pulumi.set(__self__, "operation", operation) - pulumi.set(__self__, "reason", reason) + GetInstallationSiteItemBlocklistResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + operation=operation, + reason=reason, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + operation: str, + reason: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("operation", operation) + _setter("reason", reason) @property @pulumi.getter @@ -2179,10 +2807,25 @@ def __init__(__self__, *, :param str vendor: The vendor of the Java Runtime. :param str version: The version of the operating system as provided by the Java system property os.version. """ - pulumi.set(__self__, "distribution", distribution) - pulumi.set(__self__, "jre_key", jre_key) - pulumi.set(__self__, "vendor", vendor) - pulumi.set(__self__, "version", version) + GetInstallationSiteItemJreResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + distribution=distribution, + jre_key=jre_key, + vendor=vendor, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + distribution: str, + jre_key: str, + vendor: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("distribution", distribution) + _setter("jre_key", jre_key) + _setter("vendor", vendor) + _setter("version", version) @property @pulumi.getter @@ -2232,11 +2875,28 @@ def __init__(__self__, *, :param str name: The name of the operating system as provided by the Java system property os.name. :param str version: The version of the operating system as provided by the Java system property os.version. """ - pulumi.set(__self__, "architecture", architecture) - pulumi.set(__self__, "family", family) - pulumi.set(__self__, "managed_instance_count", managed_instance_count) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "version", version) + GetInstallationSiteItemOperatingSystemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + architecture=architecture, + family=family, + managed_instance_count=managed_instance_count, + name=name, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + architecture: str, + family: str, + managed_instance_count: int, + name: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("architecture", architecture) + _setter("family", family) + _setter("managed_instance_count", managed_instance_count) + _setter("name", name) + _setter("version", version) @property @pulumi.getter @@ -2288,10 +2948,23 @@ def __init__(__self__, *, """ :param str name: The name of the operating system as provided by the Java system property os.name. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetInstallationSitesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2319,7 +2992,16 @@ def __init__(__self__, *, """ :param Sequence['GetInstallationSitesInstallationSiteCollectionItemArgs'] items: A list of Java installation sites. """ - pulumi.set(__self__, "items", items) + GetInstallationSitesInstallationSiteCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetInstallationSitesInstallationSiteCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -2337,7 +3019,16 @@ def __init__(__self__, *, """ :param Sequence['GetInstallationSitesInstallationSiteCollectionItemItemArgs'] items: A list of Java installation sites. """ - pulumi.set(__self__, "items", items) + GetInstallationSitesInstallationSiteCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetInstallationSitesInstallationSiteCollectionItemItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -2373,16 +3064,43 @@ def __init__(__self__, *, :param str state: The lifecycle state of the installation site. :param str time_last_seen: The date and time the resource was _last_ reported to JMS. This is potentially _after_ the specified time period provided by the filters. For example, a resource can be last reported to JMS before the start of a specified time period, if it is also reported during the time period. """ - pulumi.set(__self__, "approximate_application_count", approximate_application_count) - pulumi.set(__self__, "blocklists", blocklists) - pulumi.set(__self__, "installation_key", installation_key) - pulumi.set(__self__, "jres", jres) - pulumi.set(__self__, "managed_instance_id", managed_instance_id) - pulumi.set(__self__, "operating_systems", operating_systems) - pulumi.set(__self__, "path", path) - pulumi.set(__self__, "security_status", security_status) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_last_seen", time_last_seen) + GetInstallationSitesInstallationSiteCollectionItemItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + approximate_application_count=approximate_application_count, + blocklists=blocklists, + installation_key=installation_key, + jres=jres, + managed_instance_id=managed_instance_id, + operating_systems=operating_systems, + path=path, + security_status=security_status, + state=state, + time_last_seen=time_last_seen, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + approximate_application_count: int, + blocklists: Sequence['outputs.GetInstallationSitesInstallationSiteCollectionItemItemBlocklistResult'], + installation_key: str, + jres: Sequence['outputs.GetInstallationSitesInstallationSiteCollectionItemItemJreResult'], + managed_instance_id: str, + operating_systems: Sequence['outputs.GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemResult'], + path: str, + security_status: str, + state: str, + time_last_seen: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("approximate_application_count", approximate_application_count) + _setter("blocklists", blocklists) + _setter("installation_key", installation_key) + _setter("jres", jres) + _setter("managed_instance_id", managed_instance_id) + _setter("operating_systems", operating_systems) + _setter("path", path) + _setter("security_status", security_status) + _setter("state", state) + _setter("time_last_seen", time_last_seen) @property @pulumi.getter(name="approximateApplicationCount") @@ -2474,8 +3192,19 @@ def __init__(__self__, *, :param str operation: The operation type. :param str reason: The reason why the operation is blocklisted. """ - pulumi.set(__self__, "operation", operation) - pulumi.set(__self__, "reason", reason) + GetInstallationSitesInstallationSiteCollectionItemItemBlocklistResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + operation=operation, + reason=reason, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + operation: str, + reason: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("operation", operation) + _setter("reason", reason) @property @pulumi.getter @@ -2507,10 +3236,25 @@ def __init__(__self__, *, :param str vendor: The vendor of the Java Runtime. :param str version: The version of the operating system as provided by the Java system property os.version. """ - pulumi.set(__self__, "distribution", distribution) - pulumi.set(__self__, "jre_key", jre_key) - pulumi.set(__self__, "vendor", vendor) - pulumi.set(__self__, "version", version) + GetInstallationSitesInstallationSiteCollectionItemItemJreResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + distribution=distribution, + jre_key=jre_key, + vendor=vendor, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + distribution: str, + jre_key: str, + vendor: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("distribution", distribution) + _setter("jre_key", jre_key) + _setter("vendor", vendor) + _setter("version", version) @property @pulumi.getter @@ -2560,11 +3304,28 @@ def __init__(__self__, *, :param str name: The name of the operating system as provided by the Java system property os.name. :param str version: The version of the operating system as provided by the Java system property os.version. """ - pulumi.set(__self__, "architecture", architecture) - pulumi.set(__self__, "family", family) - pulumi.set(__self__, "managed_instance_count", managed_instance_count) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "version", version) + GetInstallationSitesInstallationSiteCollectionItemItemOperatingSystemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + architecture=architecture, + family=family, + managed_instance_count=managed_instance_count, + name=name, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + architecture: str, + family: str, + managed_instance_count: int, + name: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("architecture", architecture) + _setter("family", family) + _setter("managed_instance_count", managed_instance_count) + _setter("name", name) + _setter("version", version) @property @pulumi.getter @@ -2613,10 +3374,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetJavaFamiliesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2638,7 +3412,16 @@ def regex(self) -> Optional[bool]: class GetJavaFamiliesJavaFamilyCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetJavaFamiliesJavaFamilyCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetJavaFamiliesJavaFamilyCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetJavaFamiliesJavaFamilyCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -2661,11 +3444,28 @@ def __init__(__self__, *, :param str family_version: The version identifier for the Java family. :param str support_type: This indicates the support category for the Java release family. """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "doc_url", doc_url) - pulumi.set(__self__, "end_of_support_life_date", end_of_support_life_date) - pulumi.set(__self__, "family_version", family_version) - pulumi.set(__self__, "support_type", support_type) + GetJavaFamiliesJavaFamilyCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + doc_url=doc_url, + end_of_support_life_date=end_of_support_life_date, + family_version=family_version, + support_type=support_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + doc_url: str, + end_of_support_life_date: str, + family_version: str, + support_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("doc_url", doc_url) + _setter("end_of_support_life_date", end_of_support_life_date) + _setter("family_version", family_version) + _setter("support_type", support_type) @property @pulumi.getter(name="displayName") @@ -2723,11 +3523,28 @@ def __init__(__self__, *, :param str artifact_id: Unique identifier for the artifact. :param str sha256: SHA256 checksum of the artifact. """ - pulumi.set(__self__, "approximate_file_size_in_bytes", approximate_file_size_in_bytes) - pulumi.set(__self__, "artifact_content_type", artifact_content_type) - pulumi.set(__self__, "artifact_description", artifact_description) - pulumi.set(__self__, "artifact_id", artifact_id) - pulumi.set(__self__, "sha256", sha256) + GetJavaReleaseArtifactResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + approximate_file_size_in_bytes=approximate_file_size_in_bytes, + artifact_content_type=artifact_content_type, + artifact_description=artifact_description, + artifact_id=artifact_id, + sha256=sha256, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + approximate_file_size_in_bytes: str, + artifact_content_type: str, + artifact_description: str, + artifact_id: str, + sha256: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("approximate_file_size_in_bytes", approximate_file_size_in_bytes) + _setter("artifact_content_type", artifact_content_type) + _setter("artifact_description", artifact_description) + _setter("artifact_id", artifact_id) + _setter("sha256", sha256) @property @pulumi.getter(name="approximateFileSizeInBytes") @@ -2785,11 +3602,28 @@ def __init__(__self__, *, :param str family_version: Java release family identifier. :param str support_type: This indicates the support category for the Java release family. """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "doc_url", doc_url) - pulumi.set(__self__, "end_of_support_life_date", end_of_support_life_date) - pulumi.set(__self__, "family_version", family_version) - pulumi.set(__self__, "support_type", support_type) + GetJavaReleaseFamilyDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + doc_url=doc_url, + end_of_support_life_date=end_of_support_life_date, + family_version=family_version, + support_type=support_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + doc_url: str, + end_of_support_life_date: str, + family_version: str, + support_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("doc_url", doc_url) + _setter("end_of_support_life_date", end_of_support_life_date) + _setter("family_version", family_version) + _setter("support_type", support_type) @property @pulumi.getter(name="displayName") @@ -2843,9 +3677,22 @@ def __init__(__self__, *, :param str license_type: License type for the Java version. :param str license_url: Publicly accessible license URL containing the detailed terms and conditions. """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "license_type", license_type) - pulumi.set(__self__, "license_url", license_url) + GetJavaReleaseLicenseDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + license_type=license_type, + license_url=license_url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + license_type: str, + license_url: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("license_type", license_type) + _setter("license_url", license_url) @property @pulumi.getter(name="displayName") @@ -2878,10 +3725,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetJavaReleasesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2903,7 +3763,16 @@ def regex(self) -> Optional[bool]: class GetJavaReleasesJavaReleaseCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetJavaReleasesJavaReleaseCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetJavaReleasesJavaReleaseCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetJavaReleasesJavaReleaseCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -2940,18 +3809,49 @@ def __init__(__self__, *, :param str release_version: Unique Java release version identifier :param str security_status: The security status of the Java version. """ - pulumi.set(__self__, "artifact_content_types", artifact_content_types) - pulumi.set(__self__, "artifacts", artifacts) - pulumi.set(__self__, "family_details", family_details) - pulumi.set(__self__, "family_version", family_version) - pulumi.set(__self__, "license_details", license_details) - pulumi.set(__self__, "license_type", license_type) - pulumi.set(__self__, "parent_release_version", parent_release_version) - pulumi.set(__self__, "release_date", release_date) - pulumi.set(__self__, "release_notes_url", release_notes_url) - pulumi.set(__self__, "release_type", release_type) - pulumi.set(__self__, "release_version", release_version) - pulumi.set(__self__, "security_status", security_status) + GetJavaReleasesJavaReleaseCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + artifact_content_types=artifact_content_types, + artifacts=artifacts, + family_details=family_details, + family_version=family_version, + license_details=license_details, + license_type=license_type, + parent_release_version=parent_release_version, + release_date=release_date, + release_notes_url=release_notes_url, + release_type=release_type, + release_version=release_version, + security_status=security_status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + artifact_content_types: Sequence[str], + artifacts: Sequence['outputs.GetJavaReleasesJavaReleaseCollectionItemArtifactResult'], + family_details: Sequence['outputs.GetJavaReleasesJavaReleaseCollectionItemFamilyDetailResult'], + family_version: str, + license_details: Sequence['outputs.GetJavaReleasesJavaReleaseCollectionItemLicenseDetailResult'], + license_type: str, + parent_release_version: str, + release_date: str, + release_notes_url: str, + release_type: str, + release_version: str, + security_status: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("artifact_content_types", artifact_content_types) + _setter("artifacts", artifacts) + _setter("family_details", family_details) + _setter("family_version", family_version) + _setter("license_details", license_details) + _setter("license_type", license_type) + _setter("parent_release_version", parent_release_version) + _setter("release_date", release_date) + _setter("release_notes_url", release_notes_url) + _setter("release_type", release_type) + _setter("release_version", release_version) + _setter("security_status", security_status) @property @pulumi.getter(name="artifactContentTypes") @@ -3065,11 +3965,28 @@ def __init__(__self__, *, :param str artifact_id: Unique identifier for the artifact. :param str sha256: SHA256 checksum of the artifact. """ - pulumi.set(__self__, "approximate_file_size_in_bytes", approximate_file_size_in_bytes) - pulumi.set(__self__, "artifact_content_type", artifact_content_type) - pulumi.set(__self__, "artifact_description", artifact_description) - pulumi.set(__self__, "artifact_id", artifact_id) - pulumi.set(__self__, "sha256", sha256) + GetJavaReleasesJavaReleaseCollectionItemArtifactResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + approximate_file_size_in_bytes=approximate_file_size_in_bytes, + artifact_content_type=artifact_content_type, + artifact_description=artifact_description, + artifact_id=artifact_id, + sha256=sha256, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + approximate_file_size_in_bytes: str, + artifact_content_type: str, + artifact_description: str, + artifact_id: str, + sha256: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("approximate_file_size_in_bytes", approximate_file_size_in_bytes) + _setter("artifact_content_type", artifact_content_type) + _setter("artifact_description", artifact_description) + _setter("artifact_id", artifact_id) + _setter("sha256", sha256) @property @pulumi.getter(name="approximateFileSizeInBytes") @@ -3127,11 +4044,28 @@ def __init__(__self__, *, :param str family_version: The version identifier for the Java family. :param str support_type: This indicates the support category for the Java release family. """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "doc_url", doc_url) - pulumi.set(__self__, "end_of_support_life_date", end_of_support_life_date) - pulumi.set(__self__, "family_version", family_version) - pulumi.set(__self__, "support_type", support_type) + GetJavaReleasesJavaReleaseCollectionItemFamilyDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + doc_url=doc_url, + end_of_support_life_date=end_of_support_life_date, + family_version=family_version, + support_type=support_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + doc_url: str, + end_of_support_life_date: str, + family_version: str, + support_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("doc_url", doc_url) + _setter("end_of_support_life_date", end_of_support_life_date) + _setter("family_version", family_version) + _setter("support_type", support_type) @property @pulumi.getter(name="displayName") @@ -3185,9 +4119,22 @@ def __init__(__self__, *, :param str license_type: Java license type. :param str license_url: Publicly accessible license URL containing the detailed terms and conditions. """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "license_type", license_type) - pulumi.set(__self__, "license_url", license_url) + GetJavaReleasesJavaReleaseCollectionItemLicenseDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + license_type=license_type, + license_url=license_url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + license_type: str, + license_url: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("license_type", license_type) + _setter("license_url", license_url) @property @pulumi.getter(name="displayName") @@ -3257,25 +4204,70 @@ def __init__(__self__, *, :param str vendor: The vendor of the Java Runtime. :param str version: The version of the Java Runtime. """ - pulumi.set(__self__, "approximate_application_count", approximate_application_count) - pulumi.set(__self__, "approximate_installation_count", approximate_installation_count) - pulumi.set(__self__, "approximate_managed_instance_count", approximate_managed_instance_count) - pulumi.set(__self__, "approximate_pending_work_request_count", approximate_pending_work_request_count) - pulumi.set(__self__, "days_under_security_baseline", days_under_security_baseline) - pulumi.set(__self__, "distribution", distribution) - pulumi.set(__self__, "end_of_support_life_date", end_of_support_life_date) - pulumi.set(__self__, "fleet_id", fleet_id) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "managed_instance_id", managed_instance_id) - pulumi.set(__self__, "operating_systems", operating_systems) - pulumi.set(__self__, "release_date", release_date) - pulumi.set(__self__, "security_status", security_status) - pulumi.set(__self__, "time_end", time_end) - pulumi.set(__self__, "time_first_seen", time_first_seen) - pulumi.set(__self__, "time_last_seen", time_last_seen) - pulumi.set(__self__, "time_start", time_start) - pulumi.set(__self__, "vendor", vendor) - pulumi.set(__self__, "version", version) + GetListJreUsageItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + approximate_application_count=approximate_application_count, + approximate_installation_count=approximate_installation_count, + approximate_managed_instance_count=approximate_managed_instance_count, + approximate_pending_work_request_count=approximate_pending_work_request_count, + days_under_security_baseline=days_under_security_baseline, + distribution=distribution, + end_of_support_life_date=end_of_support_life_date, + fleet_id=fleet_id, + id=id, + managed_instance_id=managed_instance_id, + operating_systems=operating_systems, + release_date=release_date, + security_status=security_status, + time_end=time_end, + time_first_seen=time_first_seen, + time_last_seen=time_last_seen, + time_start=time_start, + vendor=vendor, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + approximate_application_count: int, + approximate_installation_count: int, + approximate_managed_instance_count: int, + approximate_pending_work_request_count: int, + days_under_security_baseline: int, + distribution: str, + end_of_support_life_date: str, + fleet_id: str, + id: str, + managed_instance_id: str, + operating_systems: Sequence['outputs.GetListJreUsageItemOperatingSystemResult'], + release_date: str, + security_status: str, + time_end: str, + time_first_seen: str, + time_last_seen: str, + time_start: str, + vendor: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("approximate_application_count", approximate_application_count) + _setter("approximate_installation_count", approximate_installation_count) + _setter("approximate_managed_instance_count", approximate_managed_instance_count) + _setter("approximate_pending_work_request_count", approximate_pending_work_request_count) + _setter("days_under_security_baseline", days_under_security_baseline) + _setter("distribution", distribution) + _setter("end_of_support_life_date", end_of_support_life_date) + _setter("fleet_id", fleet_id) + _setter("id", id) + _setter("managed_instance_id", managed_instance_id) + _setter("operating_systems", operating_systems) + _setter("release_date", release_date) + _setter("security_status", security_status) + _setter("time_end", time_end) + _setter("time_first_seen", time_first_seen) + _setter("time_last_seen", time_last_seen) + _setter("time_start", time_start) + _setter("vendor", vendor) + _setter("version", version) @property @pulumi.getter(name="approximateApplicationCount") @@ -3445,11 +4437,28 @@ def __init__(__self__, *, :param str name: The name of the operating system as provided by the Java system property os.name. :param str version: The version of the Java Runtime. """ - pulumi.set(__self__, "architecture", architecture) - pulumi.set(__self__, "family", family) - pulumi.set(__self__, "managed_instance_count", managed_instance_count) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "version", version) + GetListJreUsageItemOperatingSystemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + architecture=architecture, + family=family, + managed_instance_count=managed_instance_count, + name=name, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + architecture: str, + family: str, + managed_instance_count: int, + name: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("architecture", architecture) + _setter("family", family) + _setter("managed_instance_count", managed_instance_count) + _setter("name", name) + _setter("version", version) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/kms/__init__.py b/sdk/python/pulumi_oci/kms/__init__.py index 8d9a3f6fce..6f0ca56874 100644 --- a/sdk/python/pulumi_oci/kms/__init__.py +++ b/sdk/python/pulumi_oci/kms/__init__.py @@ -5,9 +5,12 @@ from .. import _utilities import typing # Export this package's modules as members: +from .ekms_private_endpoint import * from .encrypted_data import * from .generated_key import * from .get_decrypted_data import * +from .get_ekms_private_endpoint import * +from .get_ekms_private_endpoints import * from .get_encrypted_data import * from .get_key import * from .get_key_version import * diff --git a/sdk/python/pulumi_oci/kms/_inputs.py b/sdk/python/pulumi_oci/kms/_inputs.py index bcc2b1ee37..55310fc56e 100644 --- a/sdk/python/pulumi_oci/kms/_inputs.py +++ b/sdk/python/pulumi_oci/kms/_inputs.py @@ -6,19 +6,27 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ 'GeneratedKeyKeyShapeArgs', + 'KeyExternalKeyReferenceArgs', + 'KeyExternalKeyReferenceDetailArgs', 'KeyKeyShapeArgs', 'KeyReplicaDetailArgs', 'KeyRestoreFromFileArgs', 'KeyRestoreFromObjectStoreArgs', + 'KeyVersionExternalKeyReferenceDetailArgs', 'KeyVersionReplicaDetailArgs', + 'VaultExternalKeyManagerMetadataArgs', + 'VaultExternalKeyManagerMetadataOauthMetadataArgs', + 'VaultExternalKeyManagerMetadataSummaryArgs', + 'VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArgs', 'VaultReplicaDetailArgs', 'VaultRestoreFromFileArgs', 'VaultRestoreFromObjectStoreArgs', + 'GetEkmsPrivateEndpointsFilterArgs', 'GetKeyVersionsFilterArgs', 'GetKeysFilterArgs', 'GetVaultReplicasFilterArgs', @@ -32,23 +40,36 @@ def __init__(__self__, *, length: pulumi.Input[int], curve_id: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[str] algorithm: The algorithm used by a key's key versions to encrypt or decrypt. + :param pulumi.Input[str] algorithm: The algorithm used by a key's key versions to encrypt or decrypt. Only AES algorithm is supported for `External` keys. :param pulumi.Input[int] length: The length of the key in bytes, expressed as an integer. Supported values include the following: * AES: 16, 24, or 32 * RSA: 256, 384, or 512 * ECDSA: 32, 48, or 66 :param pulumi.Input[str] curve_id: Supported curve IDs for ECDSA keys. """ - pulumi.set(__self__, "algorithm", algorithm) - pulumi.set(__self__, "length", length) + GeneratedKeyKeyShapeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + algorithm=algorithm, + length=length, + curve_id=curve_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + algorithm: pulumi.Input[str], + length: pulumi.Input[int], + curve_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("algorithm", algorithm) + _setter("length", length) if curve_id is not None: - pulumi.set(__self__, "curve_id", curve_id) + _setter("curve_id", curve_id) @property @pulumi.getter def algorithm(self) -> pulumi.Input[str]: """ - The algorithm used by a key's key versions to encrypt or decrypt. + The algorithm used by a key's key versions to encrypt or decrypt. Only AES algorithm is supported for `External` keys. """ return pulumi.get(self, "algorithm") @@ -84,6 +105,87 @@ def curve_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "curve_id", value) +@pulumi.input_type +class KeyExternalKeyReferenceArgs: + def __init__(__self__, *, + external_key_id: pulumi.Input[str]): + """ + :param pulumi.Input[str] external_key_id: ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM + """ + KeyExternalKeyReferenceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + external_key_id=external_key_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + external_key_id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("external_key_id", external_key_id) + + @property + @pulumi.getter(name="externalKeyId") + def external_key_id(self) -> pulumi.Input[str]: + """ + ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM + """ + return pulumi.get(self, "external_key_id") + + @external_key_id.setter + def external_key_id(self, value: pulumi.Input[str]): + pulumi.set(self, "external_key_id", value) + + +@pulumi.input_type +class KeyExternalKeyReferenceDetailArgs: + def __init__(__self__, *, + external_key_id: Optional[pulumi.Input[str]] = None, + external_key_version_id: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] external_key_id: ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM + :param pulumi.Input[str] external_key_version_id: Key version ID associated with the external key. + """ + KeyExternalKeyReferenceDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + external_key_id=external_key_id, + external_key_version_id=external_key_version_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + external_key_id: Optional[pulumi.Input[str]] = None, + external_key_version_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if external_key_id is not None: + _setter("external_key_id", external_key_id) + if external_key_version_id is not None: + _setter("external_key_version_id", external_key_version_id) + + @property + @pulumi.getter(name="externalKeyId") + def external_key_id(self) -> Optional[pulumi.Input[str]]: + """ + ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM + """ + return pulumi.get(self, "external_key_id") + + @external_key_id.setter + def external_key_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "external_key_id", value) + + @property + @pulumi.getter(name="externalKeyVersionId") + def external_key_version_id(self) -> Optional[pulumi.Input[str]]: + """ + Key version ID associated with the external key. + """ + return pulumi.get(self, "external_key_version_id") + + @external_key_version_id.setter + def external_key_version_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "external_key_version_id", value) + + @pulumi.input_type class KeyKeyShapeArgs: def __init__(__self__, *, @@ -91,23 +193,36 @@ def __init__(__self__, *, length: pulumi.Input[int], curve_id: Optional[pulumi.Input[str]] = None): """ - :param pulumi.Input[str] algorithm: The algorithm used by a key's key versions to encrypt or decrypt. + :param pulumi.Input[str] algorithm: The algorithm used by a key's key versions to encrypt or decrypt. Only AES algorithm is supported for `External` keys. :param pulumi.Input[int] length: The length of the key in bytes, expressed as an integer. Supported values include the following: * AES: 16, 24, or 32 * RSA: 256, 384, or 512 * ECDSA: 32, 48, or 66 :param pulumi.Input[str] curve_id: Supported curve IDs for ECDSA keys. """ - pulumi.set(__self__, "algorithm", algorithm) - pulumi.set(__self__, "length", length) + KeyKeyShapeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + algorithm=algorithm, + length=length, + curve_id=curve_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + algorithm: pulumi.Input[str], + length: pulumi.Input[int], + curve_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("algorithm", algorithm) + _setter("length", length) if curve_id is not None: - pulumi.set(__self__, "curve_id", curve_id) + _setter("curve_id", curve_id) @property @pulumi.getter def algorithm(self) -> pulumi.Input[str]: """ - The algorithm used by a key's key versions to encrypt or decrypt. + The algorithm used by a key's key versions to encrypt or decrypt. Only AES algorithm is supported for `External` keys. """ return pulumi.get(self, "algorithm") @@ -150,8 +265,17 @@ def __init__(__self__, *, """ :param pulumi.Input[str] replication_id: ReplicationId associated with a key operation """ + KeyReplicaDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + replication_id=replication_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + replication_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if replication_id is not None: - pulumi.set(__self__, "replication_id", replication_id) + _setter("replication_id", replication_id) @property @pulumi.getter(name="replicationId") @@ -177,10 +301,23 @@ def __init__(__self__, *, :param pulumi.Input[str] restore_key_from_file_details: Key backup file content. :param pulumi.Input[str] content_md5: (Updatable) content md5 hashed value of key's backup file """ - pulumi.set(__self__, "content_length", content_length) - pulumi.set(__self__, "restore_key_from_file_details", restore_key_from_file_details) + KeyRestoreFromFileArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + content_length=content_length, + restore_key_from_file_details=restore_key_from_file_details, + content_md5=content_md5, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + content_length: pulumi.Input[str], + restore_key_from_file_details: pulumi.Input[str], + content_md5: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("content_length", content_length) + _setter("restore_key_from_file_details", restore_key_from_file_details) if content_md5 is not None: - pulumi.set(__self__, "content_md5", content_md5) + _setter("content_md5", content_md5) @property @pulumi.getter(name="contentLength") @@ -234,15 +371,32 @@ def __init__(__self__, *, :param pulumi.Input[str] object: (Updatable) Object containing the backup :param pulumi.Input[str] uri: (Updatable) Pre-authenticated-request-uri of the backup """ - pulumi.set(__self__, "destination", destination) + KeyRestoreFromObjectStoreArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + destination=destination, + bucket=bucket, + namespace=namespace, + object=object, + uri=uri, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + destination: pulumi.Input[str], + bucket: Optional[pulumi.Input[str]] = None, + namespace: Optional[pulumi.Input[str]] = None, + object: Optional[pulumi.Input[str]] = None, + uri: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("destination", destination) if bucket is not None: - pulumi.set(__self__, "bucket", bucket) + _setter("bucket", bucket) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if object is not None: - pulumi.set(__self__, "object", object) + _setter("object", object) if uri is not None: - pulumi.set(__self__, "uri", uri) + _setter("uri", uri) @property @pulumi.getter @@ -305,6 +459,56 @@ def uri(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "uri", value) +@pulumi.input_type +class KeyVersionExternalKeyReferenceDetailArgs: + def __init__(__self__, *, + external_key_id: Optional[pulumi.Input[str]] = None, + external_key_version_id: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] external_key_id: ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. + :param pulumi.Input[str] external_key_version_id: Key version ID associated with the external key. + """ + KeyVersionExternalKeyReferenceDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + external_key_id=external_key_id, + external_key_version_id=external_key_version_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + external_key_id: Optional[pulumi.Input[str]] = None, + external_key_version_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if external_key_id is not None: + _setter("external_key_id", external_key_id) + if external_key_version_id is not None: + _setter("external_key_version_id", external_key_version_id) + + @property + @pulumi.getter(name="externalKeyId") + def external_key_id(self) -> Optional[pulumi.Input[str]]: + """ + ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. + """ + return pulumi.get(self, "external_key_id") + + @external_key_id.setter + def external_key_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "external_key_id", value) + + @property + @pulumi.getter(name="externalKeyVersionId") + def external_key_version_id(self) -> Optional[pulumi.Input[str]]: + """ + Key version ID associated with the external key. + """ + return pulumi.get(self, "external_key_version_id") + + @external_key_version_id.setter + def external_key_version_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "external_key_version_id", value) + + @pulumi.input_type class KeyVersionReplicaDetailArgs: def __init__(__self__, *, @@ -312,8 +516,17 @@ def __init__(__self__, *, """ :param pulumi.Input[str] replication_id: ReplicationId associated with a key version operation """ + KeyVersionReplicaDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + replication_id=replication_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + replication_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if replication_id is not None: - pulumi.set(__self__, "replication_id", replication_id) + _setter("replication_id", replication_id) @property @pulumi.getter(name="replicationId") @@ -328,6 +541,272 @@ def replication_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "replication_id", value) +@pulumi.input_type +class VaultExternalKeyManagerMetadataArgs: + def __init__(__self__, *, + external_vault_endpoint_url: pulumi.Input[str], + oauth_metadata: pulumi.Input['VaultExternalKeyManagerMetadataOauthMetadataArgs'], + private_endpoint_id: pulumi.Input[str]): + """ + :param pulumi.Input[str] external_vault_endpoint_url: URI of the vault on external key manager. + :param pulumi.Input['VaultExternalKeyManagerMetadataOauthMetadataArgs'] oauth_metadata: Authorization details required to get access token from IDP for accessing protected resources. + :param pulumi.Input[str] private_endpoint_id: OCID of private endpoint created by customer. + """ + VaultExternalKeyManagerMetadataArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + external_vault_endpoint_url=external_vault_endpoint_url, + oauth_metadata=oauth_metadata, + private_endpoint_id=private_endpoint_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + external_vault_endpoint_url: pulumi.Input[str], + oauth_metadata: pulumi.Input['VaultExternalKeyManagerMetadataOauthMetadataArgs'], + private_endpoint_id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("external_vault_endpoint_url", external_vault_endpoint_url) + _setter("oauth_metadata", oauth_metadata) + _setter("private_endpoint_id", private_endpoint_id) + + @property + @pulumi.getter(name="externalVaultEndpointUrl") + def external_vault_endpoint_url(self) -> pulumi.Input[str]: + """ + URI of the vault on external key manager. + """ + return pulumi.get(self, "external_vault_endpoint_url") + + @external_vault_endpoint_url.setter + def external_vault_endpoint_url(self, value: pulumi.Input[str]): + pulumi.set(self, "external_vault_endpoint_url", value) + + @property + @pulumi.getter(name="oauthMetadata") + def oauth_metadata(self) -> pulumi.Input['VaultExternalKeyManagerMetadataOauthMetadataArgs']: + """ + Authorization details required to get access token from IDP for accessing protected resources. + """ + return pulumi.get(self, "oauth_metadata") + + @oauth_metadata.setter + def oauth_metadata(self, value: pulumi.Input['VaultExternalKeyManagerMetadataOauthMetadataArgs']): + pulumi.set(self, "oauth_metadata", value) + + @property + @pulumi.getter(name="privateEndpointId") + def private_endpoint_id(self) -> pulumi.Input[str]: + """ + OCID of private endpoint created by customer. + """ + return pulumi.get(self, "private_endpoint_id") + + @private_endpoint_id.setter + def private_endpoint_id(self, value: pulumi.Input[str]): + pulumi.set(self, "private_endpoint_id", value) + + +@pulumi.input_type +class VaultExternalKeyManagerMetadataOauthMetadataArgs: + def __init__(__self__, *, + client_app_id: pulumi.Input[str], + client_app_secret: pulumi.Input[str], + idcs_account_name_url: pulumi.Input[str]): + """ + :param pulumi.Input[str] client_app_id: ID of the client app created in IDP. + :param pulumi.Input[str] client_app_secret: Secret of the client app created in IDP. + :param pulumi.Input[str] idcs_account_name_url: Base URL of the IDCS account where confidential client app is created. + """ + VaultExternalKeyManagerMetadataOauthMetadataArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + client_app_id=client_app_id, + client_app_secret=client_app_secret, + idcs_account_name_url=idcs_account_name_url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + client_app_id: pulumi.Input[str], + client_app_secret: pulumi.Input[str], + idcs_account_name_url: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("client_app_id", client_app_id) + _setter("client_app_secret", client_app_secret) + _setter("idcs_account_name_url", idcs_account_name_url) + + @property + @pulumi.getter(name="clientAppId") + def client_app_id(self) -> pulumi.Input[str]: + """ + ID of the client app created in IDP. + """ + return pulumi.get(self, "client_app_id") + + @client_app_id.setter + def client_app_id(self, value: pulumi.Input[str]): + pulumi.set(self, "client_app_id", value) + + @property + @pulumi.getter(name="clientAppSecret") + def client_app_secret(self) -> pulumi.Input[str]: + """ + Secret of the client app created in IDP. + """ + return pulumi.get(self, "client_app_secret") + + @client_app_secret.setter + def client_app_secret(self, value: pulumi.Input[str]): + pulumi.set(self, "client_app_secret", value) + + @property + @pulumi.getter(name="idcsAccountNameUrl") + def idcs_account_name_url(self) -> pulumi.Input[str]: + """ + Base URL of the IDCS account where confidential client app is created. + """ + return pulumi.get(self, "idcs_account_name_url") + + @idcs_account_name_url.setter + def idcs_account_name_url(self, value: pulumi.Input[str]): + pulumi.set(self, "idcs_account_name_url", value) + + +@pulumi.input_type +class VaultExternalKeyManagerMetadataSummaryArgs: + def __init__(__self__, *, + external_vault_endpoint_url: Optional[pulumi.Input[str]] = None, + oauth_metadata_summaries: Optional[pulumi.Input[Sequence[pulumi.Input['VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArgs']]]] = None, + private_endpoint_id: Optional[pulumi.Input[str]] = None, + vendor: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] external_vault_endpoint_url: URI of the vault on external key manager. + :param pulumi.Input[Sequence[pulumi.Input['VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArgs']]] oauth_metadata_summaries: Summary about authorization to be returned to the customer as a response. + :param pulumi.Input[str] private_endpoint_id: OCID of private endpoint created by customer. + :param pulumi.Input[str] vendor: Vendor of the external key manager. + """ + VaultExternalKeyManagerMetadataSummaryArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + external_vault_endpoint_url=external_vault_endpoint_url, + oauth_metadata_summaries=oauth_metadata_summaries, + private_endpoint_id=private_endpoint_id, + vendor=vendor, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + external_vault_endpoint_url: Optional[pulumi.Input[str]] = None, + oauth_metadata_summaries: Optional[pulumi.Input[Sequence[pulumi.Input['VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArgs']]]] = None, + private_endpoint_id: Optional[pulumi.Input[str]] = None, + vendor: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if external_vault_endpoint_url is not None: + _setter("external_vault_endpoint_url", external_vault_endpoint_url) + if oauth_metadata_summaries is not None: + _setter("oauth_metadata_summaries", oauth_metadata_summaries) + if private_endpoint_id is not None: + _setter("private_endpoint_id", private_endpoint_id) + if vendor is not None: + _setter("vendor", vendor) + + @property + @pulumi.getter(name="externalVaultEndpointUrl") + def external_vault_endpoint_url(self) -> Optional[pulumi.Input[str]]: + """ + URI of the vault on external key manager. + """ + return pulumi.get(self, "external_vault_endpoint_url") + + @external_vault_endpoint_url.setter + def external_vault_endpoint_url(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "external_vault_endpoint_url", value) + + @property + @pulumi.getter(name="oauthMetadataSummaries") + def oauth_metadata_summaries(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArgs']]]]: + """ + Summary about authorization to be returned to the customer as a response. + """ + return pulumi.get(self, "oauth_metadata_summaries") + + @oauth_metadata_summaries.setter + def oauth_metadata_summaries(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArgs']]]]): + pulumi.set(self, "oauth_metadata_summaries", value) + + @property + @pulumi.getter(name="privateEndpointId") + def private_endpoint_id(self) -> Optional[pulumi.Input[str]]: + """ + OCID of private endpoint created by customer. + """ + return pulumi.get(self, "private_endpoint_id") + + @private_endpoint_id.setter + def private_endpoint_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "private_endpoint_id", value) + + @property + @pulumi.getter + def vendor(self) -> Optional[pulumi.Input[str]]: + """ + Vendor of the external key manager. + """ + return pulumi.get(self, "vendor") + + @vendor.setter + def vendor(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "vendor", value) + + +@pulumi.input_type +class VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArgs: + def __init__(__self__, *, + client_app_id: Optional[pulumi.Input[str]] = None, + idcs_account_name_url: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] client_app_id: ID of the client app created in IDP. + :param pulumi.Input[str] idcs_account_name_url: Base URL of the IDCS account where confidential client app is created. + """ + VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + client_app_id=client_app_id, + idcs_account_name_url=idcs_account_name_url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + client_app_id: Optional[pulumi.Input[str]] = None, + idcs_account_name_url: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if client_app_id is not None: + _setter("client_app_id", client_app_id) + if idcs_account_name_url is not None: + _setter("idcs_account_name_url", idcs_account_name_url) + + @property + @pulumi.getter(name="clientAppId") + def client_app_id(self) -> Optional[pulumi.Input[str]]: + """ + ID of the client app created in IDP. + """ + return pulumi.get(self, "client_app_id") + + @client_app_id.setter + def client_app_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "client_app_id", value) + + @property + @pulumi.getter(name="idcsAccountNameUrl") + def idcs_account_name_url(self) -> Optional[pulumi.Input[str]]: + """ + Base URL of the IDCS account where confidential client app is created. + """ + return pulumi.get(self, "idcs_account_name_url") + + @idcs_account_name_url.setter + def idcs_account_name_url(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "idcs_account_name_url", value) + + @pulumi.input_type class VaultReplicaDetailArgs: def __init__(__self__, *, @@ -335,8 +814,17 @@ def __init__(__self__, *, """ :param pulumi.Input[str] replication_id: ReplicationId associated with a vault operation """ + VaultReplicaDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + replication_id=replication_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + replication_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if replication_id is not None: - pulumi.set(__self__, "replication_id", replication_id) + _setter("replication_id", replication_id) @property @pulumi.getter(name="replicationId") @@ -362,10 +850,23 @@ def __init__(__self__, *, :param pulumi.Input[str] restore_vault_from_file_details: Vault backup file content :param pulumi.Input[str] content_md5: (Updatable) content md5 hashed value of vault's backup file """ - pulumi.set(__self__, "content_length", content_length) - pulumi.set(__self__, "restore_vault_from_file_details", restore_vault_from_file_details) + VaultRestoreFromFileArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + content_length=content_length, + restore_vault_from_file_details=restore_vault_from_file_details, + content_md5=content_md5, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + content_length: pulumi.Input[str], + restore_vault_from_file_details: pulumi.Input[str], + content_md5: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("content_length", content_length) + _setter("restore_vault_from_file_details", restore_vault_from_file_details) if content_md5 is not None: - pulumi.set(__self__, "content_md5", content_md5) + _setter("content_md5", content_md5) @property @pulumi.getter(name="contentLength") @@ -419,15 +920,32 @@ def __init__(__self__, *, :param pulumi.Input[str] object: (Updatable) Object containing the backup :param pulumi.Input[str] uri: (Updatable) Pre-authenticated-request-uri of the backup* `restore_trigger` - (Optional) (Updatable) An optional property when flipped triggers restore from restore option provided in config file. """ - pulumi.set(__self__, "destination", destination) + VaultRestoreFromObjectStoreArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + destination=destination, + bucket=bucket, + namespace=namespace, + object=object, + uri=uri, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + destination: pulumi.Input[str], + bucket: Optional[pulumi.Input[str]] = None, + namespace: Optional[pulumi.Input[str]] = None, + object: Optional[pulumi.Input[str]] = None, + uri: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("destination", destination) if bucket is not None: - pulumi.set(__self__, "bucket", bucket) + _setter("bucket", bucket) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if object is not None: - pulumi.set(__self__, "object", object) + _setter("object", object) if uri is not None: - pulumi.set(__self__, "uri", uri) + _setter("uri", uri) @property @pulumi.getter @@ -490,16 +1008,81 @@ def uri(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "uri", value) +@pulumi.input_type +class GetEkmsPrivateEndpointsFilterArgs: + def __init__(__self__, *, + name: str, + values: Sequence[str], + regex: Optional[bool] = None): + GetEkmsPrivateEndpointsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) + if regex is not None: + _setter("regex", regex) + + @property + @pulumi.getter + def name(self) -> str: + return pulumi.get(self, "name") + + @name.setter + def name(self, value: str): + pulumi.set(self, "name", value) + + @property + @pulumi.getter + def values(self) -> Sequence[str]: + return pulumi.get(self, "values") + + @values.setter + def values(self, value: Sequence[str]): + pulumi.set(self, "values", value) + + @property + @pulumi.getter + def regex(self) -> Optional[bool]: + return pulumi.get(self, "regex") + + @regex.setter + def regex(self, value: Optional[bool]): + pulumi.set(self, "regex", value) + + @pulumi.input_type class GetKeyVersionsFilterArgs: def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetKeyVersionsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -535,10 +1118,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetKeysFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -574,10 +1170,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVaultReplicasFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -613,10 +1222,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVaultsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/kms/ekms_private_endpoint.py b/sdk/python/pulumi_oci/kms/ekms_private_endpoint.py new file mode 100644 index 0000000000..26c3ca8f73 --- /dev/null +++ b/sdk/python/pulumi_oci/kms/ekms_private_endpoint.py @@ -0,0 +1,769 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from .. import _utilities + +__all__ = ['EkmsPrivateEndpointArgs', 'EkmsPrivateEndpoint'] + +@pulumi.input_type +class EkmsPrivateEndpointArgs: + def __init__(__self__, *, + ca_bundle: pulumi.Input[str], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + external_key_manager_ip: pulumi.Input[str], + subnet_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + port: Optional[pulumi.Input[int]] = None): + """ + The set of arguments for constructing a EkmsPrivateEndpoint resource. + :param pulumi.Input[str] ca_bundle: CABundle to validate TLS certificate of the external key manager system in PEM format + :param pulumi.Input[str] compartment_id: Compartment identifier. + :param pulumi.Input[str] display_name: (Updatable) Display name of the EKMS private endpoint resource being created. + :param pulumi.Input[str] external_key_manager_ip: External private IP to connect to from this EKMS private endpoint + :param pulumi.Input[str] subnet_id: The OCID of subnet in which the EKMS private endpoint is to be 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 + :param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"foo-namespace.bar-key": "value"}` + :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + :param pulumi.Input[int] port: The port of the external key manager system + """ + EkmsPrivateEndpointArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + ca_bundle=ca_bundle, + compartment_id=compartment_id, + display_name=display_name, + external_key_manager_ip=external_key_manager_ip, + subnet_id=subnet_id, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + port=port, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ca_bundle: pulumi.Input[str], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + external_key_manager_ip: pulumi.Input[str], + subnet_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + port: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ca_bundle", ca_bundle) + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) + _setter("external_key_manager_ip", external_key_manager_ip) + _setter("subnet_id", subnet_id) + if defined_tags is not None: + _setter("defined_tags", defined_tags) + if freeform_tags is not None: + _setter("freeform_tags", freeform_tags) + if port is not None: + _setter("port", port) + + @property + @pulumi.getter(name="caBundle") + def ca_bundle(self) -> pulumi.Input[str]: + """ + CABundle to validate TLS certificate of the external key manager system in PEM format + """ + return pulumi.get(self, "ca_bundle") + + @ca_bundle.setter + def ca_bundle(self, value: pulumi.Input[str]): + pulumi.set(self, "ca_bundle", value) + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> pulumi.Input[str]: + """ + Compartment identifier. + """ + return pulumi.get(self, "compartment_id") + + @compartment_id.setter + def compartment_id(self, value: pulumi.Input[str]): + pulumi.set(self, "compartment_id", value) + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> pulumi.Input[str]: + """ + (Updatable) Display name of the EKMS private endpoint resource being created. + """ + return pulumi.get(self, "display_name") + + @display_name.setter + def display_name(self, value: pulumi.Input[str]): + pulumi.set(self, "display_name", value) + + @property + @pulumi.getter(name="externalKeyManagerIp") + def external_key_manager_ip(self) -> pulumi.Input[str]: + """ + External private IP to connect to from this EKMS private endpoint + """ + return pulumi.get(self, "external_key_manager_ip") + + @external_key_manager_ip.setter + def external_key_manager_ip(self, value: pulumi.Input[str]): + pulumi.set(self, "external_key_manager_ip", value) + + @property + @pulumi.getter(name="subnetId") + def subnet_id(self) -> pulumi.Input[str]: + """ + The OCID of subnet in which the EKMS private endpoint is to be 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 + """ + return pulumi.get(self, "subnet_id") + + @subnet_id.setter + def subnet_id(self, value: pulumi.Input[str]): + pulumi.set(self, "subnet_id", value) + + @property + @pulumi.getter(name="definedTags") + def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + """ + (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"foo-namespace.bar-key": "value"}` + """ + return pulumi.get(self, "defined_tags") + + @defined_tags.setter + def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + pulumi.set(self, "defined_tags", value) + + @property + @pulumi.getter(name="freeformTags") + def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + """ + (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + """ + return pulumi.get(self, "freeform_tags") + + @freeform_tags.setter + def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + pulumi.set(self, "freeform_tags", value) + + @property + @pulumi.getter + def port(self) -> Optional[pulumi.Input[int]]: + """ + The port of the external key manager system + """ + return pulumi.get(self, "port") + + @port.setter + def port(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "port", value) + + +@pulumi.input_type +class _EkmsPrivateEndpointState: + def __init__(__self__, *, + ca_bundle: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + external_key_manager_ip: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + port: Optional[pulumi.Input[int]] = None, + private_endpoint_ip: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None): + """ + Input properties used for looking up and filtering EkmsPrivateEndpoint resources. + :param pulumi.Input[str] ca_bundle: CABundle to validate TLS certificate of the external key manager system in PEM format + :param pulumi.Input[str] compartment_id: Compartment identifier. + :param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"foo-namespace.bar-key": "value"}` + :param pulumi.Input[str] display_name: (Updatable) Display name of the EKMS private endpoint resource being created. + :param pulumi.Input[str] external_key_manager_ip: External private IP to connect to from this EKMS private endpoint + :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + :param pulumi.Input[str] lifecycle_details: A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state. + :param pulumi.Input[int] port: The port of the external key manager system + :param pulumi.Input[str] private_endpoint_ip: The IP address in the customer's VCN for the EKMS private endpoint. This is taken from subnet + :param pulumi.Input[str] state: The current state of the EKMS private endpoint resource. + :param pulumi.Input[str] subnet_id: The OCID of subnet in which the EKMS private endpoint is to be 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 + :param pulumi.Input[str] time_created: The time the EKMS private endpoint was created. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. + :param pulumi.Input[str] time_updated: The time the EKMS private endpoint was updated. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. + """ + _EkmsPrivateEndpointState._configure( + lambda key, value: pulumi.set(__self__, key, value), + ca_bundle=ca_bundle, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + external_key_manager_ip=external_key_manager_ip, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + port=port, + private_endpoint_ip=private_endpoint_ip, + state=state, + subnet_id=subnet_id, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ca_bundle: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + external_key_manager_ip: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + port: Optional[pulumi.Input[int]] = None, + private_endpoint_ip: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if ca_bundle is not None: + _setter("ca_bundle", ca_bundle) + if compartment_id is not None: + _setter("compartment_id", compartment_id) + if defined_tags is not None: + _setter("defined_tags", defined_tags) + if display_name is not None: + _setter("display_name", display_name) + if external_key_manager_ip is not None: + _setter("external_key_manager_ip", external_key_manager_ip) + if freeform_tags is not None: + _setter("freeform_tags", freeform_tags) + if lifecycle_details is not None: + _setter("lifecycle_details", lifecycle_details) + if port is not None: + _setter("port", port) + if private_endpoint_ip is not None: + _setter("private_endpoint_ip", private_endpoint_ip) + if state is not None: + _setter("state", state) + if subnet_id is not None: + _setter("subnet_id", subnet_id) + if time_created is not None: + _setter("time_created", time_created) + if time_updated is not None: + _setter("time_updated", time_updated) + + @property + @pulumi.getter(name="caBundle") + def ca_bundle(self) -> Optional[pulumi.Input[str]]: + """ + CABundle to validate TLS certificate of the external key manager system in PEM format + """ + return pulumi.get(self, "ca_bundle") + + @ca_bundle.setter + def ca_bundle(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "ca_bundle", value) + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> Optional[pulumi.Input[str]]: + """ + Compartment identifier. + """ + return pulumi.get(self, "compartment_id") + + @compartment_id.setter + def compartment_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "compartment_id", value) + + @property + @pulumi.getter(name="definedTags") + def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + """ + (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"foo-namespace.bar-key": "value"}` + """ + return pulumi.get(self, "defined_tags") + + @defined_tags.setter + def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + pulumi.set(self, "defined_tags", value) + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) Display name of the EKMS private endpoint resource being created. + """ + return pulumi.get(self, "display_name") + + @display_name.setter + def display_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "display_name", value) + + @property + @pulumi.getter(name="externalKeyManagerIp") + def external_key_manager_ip(self) -> Optional[pulumi.Input[str]]: + """ + External private IP to connect to from this EKMS private endpoint + """ + return pulumi.get(self, "external_key_manager_ip") + + @external_key_manager_ip.setter + def external_key_manager_ip(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "external_key_manager_ip", value) + + @property + @pulumi.getter(name="freeformTags") + def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + """ + (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + """ + return pulumi.get(self, "freeform_tags") + + @freeform_tags.setter + def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): + pulumi.set(self, "freeform_tags", value) + + @property + @pulumi.getter(name="lifecycleDetails") + def lifecycle_details(self) -> Optional[pulumi.Input[str]]: + """ + A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state. + """ + return pulumi.get(self, "lifecycle_details") + + @lifecycle_details.setter + def lifecycle_details(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "lifecycle_details", value) + + @property + @pulumi.getter + def port(self) -> Optional[pulumi.Input[int]]: + """ + The port of the external key manager system + """ + return pulumi.get(self, "port") + + @port.setter + def port(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "port", value) + + @property + @pulumi.getter(name="privateEndpointIp") + def private_endpoint_ip(self) -> Optional[pulumi.Input[str]]: + """ + The IP address in the customer's VCN for the EKMS private endpoint. This is taken from subnet + """ + return pulumi.get(self, "private_endpoint_ip") + + @private_endpoint_ip.setter + def private_endpoint_ip(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "private_endpoint_ip", value) + + @property + @pulumi.getter + def state(self) -> Optional[pulumi.Input[str]]: + """ + The current state of the EKMS private endpoint resource. + """ + return pulumi.get(self, "state") + + @state.setter + def state(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "state", value) + + @property + @pulumi.getter(name="subnetId") + def subnet_id(self) -> Optional[pulumi.Input[str]]: + """ + The OCID of subnet in which the EKMS private endpoint is to be 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 + """ + return pulumi.get(self, "subnet_id") + + @subnet_id.setter + def subnet_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "subnet_id", value) + + @property + @pulumi.getter(name="timeCreated") + def time_created(self) -> Optional[pulumi.Input[str]]: + """ + The time the EKMS private endpoint was created. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. + """ + return pulumi.get(self, "time_created") + + @time_created.setter + def time_created(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "time_created", value) + + @property + @pulumi.getter(name="timeUpdated") + def time_updated(self) -> Optional[pulumi.Input[str]]: + """ + The time the EKMS private endpoint was updated. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. + """ + return pulumi.get(self, "time_updated") + + @time_updated.setter + def time_updated(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "time_updated", value) + + +class EkmsPrivateEndpoint(pulumi.CustomResource): + @overload + def __init__(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + ca_bundle: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + external_key_manager_ip: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + port: Optional[pulumi.Input[int]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + __props__=None): + """ + This resource provides the Ekms Private Endpoint resource in Oracle Cloud Infrastructure Kms service. + + Create a new EKMS private endpoint used to connect to external key manager system + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_ekms_private_endpoint = oci.kms.EkmsPrivateEndpoint("testEkmsPrivateEndpoint", + ca_bundle=var["ekms_private_endpoint_ca_bundle"], + compartment_id=var["compartment_id"], + display_name=var["ekms_private_endpoint_display_name"], + external_key_manager_ip=var["ekms_private_endpoint_external_key_manager_ip"], + subnet_id=oci_core_subnet["test_subnet"]["id"], + defined_tags={ + "foo-namespace.bar-key": "value", + }, + freeform_tags={ + "bar-key": "value", + }, + port=var["ekms_private_endpoint_port"]) + ``` + + ## Import + + EkmsPrivateEndpoints can be imported using the `id`, e.g. + + ```sh + $ pulumi import oci:Kms/ekmsPrivateEndpoint:EkmsPrivateEndpoint test_ekms_private_endpoint "id" + ``` + + :param str resource_name: The name of the resource. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] ca_bundle: CABundle to validate TLS certificate of the external key manager system in PEM format + :param pulumi.Input[str] compartment_id: Compartment identifier. + :param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"foo-namespace.bar-key": "value"}` + :param pulumi.Input[str] display_name: (Updatable) Display name of the EKMS private endpoint resource being created. + :param pulumi.Input[str] external_key_manager_ip: External private IP to connect to from this EKMS private endpoint + :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + :param pulumi.Input[int] port: The port of the external key manager system + :param pulumi.Input[str] subnet_id: The OCID of subnet in which the EKMS private endpoint is to be 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 + """ + ... + @overload + def __init__(__self__, + resource_name: str, + args: EkmsPrivateEndpointArgs, + opts: Optional[pulumi.ResourceOptions] = None): + """ + This resource provides the Ekms Private Endpoint resource in Oracle Cloud Infrastructure Kms service. + + Create a new EKMS private endpoint used to connect to external key manager system + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_ekms_private_endpoint = oci.kms.EkmsPrivateEndpoint("testEkmsPrivateEndpoint", + ca_bundle=var["ekms_private_endpoint_ca_bundle"], + compartment_id=var["compartment_id"], + display_name=var["ekms_private_endpoint_display_name"], + external_key_manager_ip=var["ekms_private_endpoint_external_key_manager_ip"], + subnet_id=oci_core_subnet["test_subnet"]["id"], + defined_tags={ + "foo-namespace.bar-key": "value", + }, + freeform_tags={ + "bar-key": "value", + }, + port=var["ekms_private_endpoint_port"]) + ``` + + ## Import + + EkmsPrivateEndpoints can be imported using the `id`, e.g. + + ```sh + $ pulumi import oci:Kms/ekmsPrivateEndpoint:EkmsPrivateEndpoint test_ekms_private_endpoint "id" + ``` + + :param str resource_name: The name of the resource. + :param EkmsPrivateEndpointArgs args: The arguments to use to populate this resource's properties. + :param pulumi.ResourceOptions opts: Options for the resource. + """ + ... + def __init__(__self__, resource_name: str, *args, **kwargs): + resource_args, opts = _utilities.get_resource_args_opts(EkmsPrivateEndpointArgs, pulumi.ResourceOptions, *args, **kwargs) + if resource_args is not None: + __self__._internal_init(resource_name, opts, **resource_args.__dict__) + else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + EkmsPrivateEndpointArgs._configure(_setter, **kwargs) + __self__._internal_init(resource_name, *args, **kwargs) + + def _internal_init(__self__, + resource_name: str, + opts: Optional[pulumi.ResourceOptions] = None, + ca_bundle: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + external_key_manager_ip: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + port: Optional[pulumi.Input[int]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + __props__=None): + opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) + if not isinstance(opts, pulumi.ResourceOptions): + raise TypeError('Expected resource options to be a ResourceOptions instance') + if opts.id is None: + if __props__ is not None: + raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') + __props__ = EkmsPrivateEndpointArgs.__new__(EkmsPrivateEndpointArgs) + + if ca_bundle is None and not opts.urn: + raise TypeError("Missing required property 'ca_bundle'") + __props__.__dict__["ca_bundle"] = ca_bundle + if compartment_id is None and not opts.urn: + raise TypeError("Missing required property 'compartment_id'") + __props__.__dict__["compartment_id"] = compartment_id + __props__.__dict__["defined_tags"] = defined_tags + if display_name is None and not opts.urn: + raise TypeError("Missing required property 'display_name'") + __props__.__dict__["display_name"] = display_name + if external_key_manager_ip is None and not opts.urn: + raise TypeError("Missing required property 'external_key_manager_ip'") + __props__.__dict__["external_key_manager_ip"] = external_key_manager_ip + __props__.__dict__["freeform_tags"] = freeform_tags + __props__.__dict__["port"] = port + if subnet_id is None and not opts.urn: + raise TypeError("Missing required property 'subnet_id'") + __props__.__dict__["subnet_id"] = subnet_id + __props__.__dict__["lifecycle_details"] = None + __props__.__dict__["private_endpoint_ip"] = None + __props__.__dict__["state"] = None + __props__.__dict__["time_created"] = None + __props__.__dict__["time_updated"] = None + super(EkmsPrivateEndpoint, __self__).__init__( + 'oci:Kms/ekmsPrivateEndpoint:EkmsPrivateEndpoint', + resource_name, + __props__, + opts) + + @staticmethod + def get(resource_name: str, + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions] = None, + ca_bundle: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + external_key_manager_ip: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + port: Optional[pulumi.Input[int]] = None, + private_endpoint_ip: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None) -> 'EkmsPrivateEndpoint': + """ + Get an existing EkmsPrivateEndpoint resource's state with the given name, id, and optional extra + properties used to qualify the lookup. + + :param str resource_name: The unique name of the resulting resource. + :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. + :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] ca_bundle: CABundle to validate TLS certificate of the external key manager system in PEM format + :param pulumi.Input[str] compartment_id: Compartment identifier. + :param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"foo-namespace.bar-key": "value"}` + :param pulumi.Input[str] display_name: (Updatable) Display name of the EKMS private endpoint resource being created. + :param pulumi.Input[str] external_key_manager_ip: External private IP to connect to from this EKMS private endpoint + :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + :param pulumi.Input[str] lifecycle_details: A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state. + :param pulumi.Input[int] port: The port of the external key manager system + :param pulumi.Input[str] private_endpoint_ip: The IP address in the customer's VCN for the EKMS private endpoint. This is taken from subnet + :param pulumi.Input[str] state: The current state of the EKMS private endpoint resource. + :param pulumi.Input[str] subnet_id: The OCID of subnet in which the EKMS private endpoint is to be 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 + :param pulumi.Input[str] time_created: The time the EKMS private endpoint was created. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. + :param pulumi.Input[str] time_updated: The time the EKMS private endpoint was updated. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. + """ + opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) + + __props__ = _EkmsPrivateEndpointState.__new__(_EkmsPrivateEndpointState) + + __props__.__dict__["ca_bundle"] = ca_bundle + __props__.__dict__["compartment_id"] = compartment_id + __props__.__dict__["defined_tags"] = defined_tags + __props__.__dict__["display_name"] = display_name + __props__.__dict__["external_key_manager_ip"] = external_key_manager_ip + __props__.__dict__["freeform_tags"] = freeform_tags + __props__.__dict__["lifecycle_details"] = lifecycle_details + __props__.__dict__["port"] = port + __props__.__dict__["private_endpoint_ip"] = private_endpoint_ip + __props__.__dict__["state"] = state + __props__.__dict__["subnet_id"] = subnet_id + __props__.__dict__["time_created"] = time_created + __props__.__dict__["time_updated"] = time_updated + return EkmsPrivateEndpoint(resource_name, opts=opts, __props__=__props__) + + @property + @pulumi.getter(name="caBundle") + def ca_bundle(self) -> pulumi.Output[str]: + """ + CABundle to validate TLS certificate of the external key manager system in PEM format + """ + return pulumi.get(self, "ca_bundle") + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> pulumi.Output[str]: + """ + Compartment identifier. + """ + return pulumi.get(self, "compartment_id") + + @property + @pulumi.getter(name="definedTags") + def defined_tags(self) -> pulumi.Output[Mapping[str, Any]]: + """ + (Updatable) Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"foo-namespace.bar-key": "value"}` + """ + return pulumi.get(self, "defined_tags") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> pulumi.Output[str]: + """ + (Updatable) Display name of the EKMS private endpoint resource being created. + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter(name="externalKeyManagerIp") + def external_key_manager_ip(self) -> pulumi.Output[str]: + """ + External private IP to connect to from this EKMS private endpoint + """ + return pulumi.get(self, "external_key_manager_ip") + + @property + @pulumi.getter(name="freeformTags") + def freeform_tags(self) -> pulumi.Output[Mapping[str, Any]]: + """ + (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + """ + return pulumi.get(self, "freeform_tags") + + @property + @pulumi.getter(name="lifecycleDetails") + def lifecycle_details(self) -> pulumi.Output[str]: + """ + A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state. + """ + return pulumi.get(self, "lifecycle_details") + + @property + @pulumi.getter + def port(self) -> pulumi.Output[int]: + """ + The port of the external key manager system + """ + return pulumi.get(self, "port") + + @property + @pulumi.getter(name="privateEndpointIp") + def private_endpoint_ip(self) -> pulumi.Output[str]: + """ + The IP address in the customer's VCN for the EKMS private endpoint. This is taken from subnet + """ + return pulumi.get(self, "private_endpoint_ip") + + @property + @pulumi.getter + def state(self) -> pulumi.Output[str]: + """ + The current state of the EKMS private endpoint resource. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter(name="subnetId") + def subnet_id(self) -> pulumi.Output[str]: + """ + The OCID of subnet in which the EKMS private endpoint is to be 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 + """ + return pulumi.get(self, "subnet_id") + + @property + @pulumi.getter(name="timeCreated") + def time_created(self) -> pulumi.Output[str]: + """ + The time the EKMS private endpoint was created. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. + """ + return pulumi.get(self, "time_created") + + @property + @pulumi.getter(name="timeUpdated") + def time_updated(self) -> pulumi.Output[str]: + """ + The time the EKMS private endpoint was updated. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. + """ + return pulumi.get(self, "time_updated") + diff --git a/sdk/python/pulumi_oci/kms/encrypted_data.py b/sdk/python/pulumi_oci/kms/encrypted_data.py index d6254eae32..91b52940cc 100644 --- a/sdk/python/pulumi_oci/kms/encrypted_data.py +++ b/sdk/python/pulumi_oci/kms/encrypted_data.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['EncryptedDataArgs', 'EncryptedData'] @@ -31,21 +31,42 @@ def __init__(__self__, *, ** 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 :param pulumi.Input[Mapping[str, Any]] associated_data: Information that can be used to provide an encryption context for the encrypted data. The length of the string representation of the associated data must be fewer than 4096 characters. - :param pulumi.Input[str] encryption_algorithm: The encryption algorithm to use to encrypt and decrypt data with a customer-managed key. `AES_256_GCM` indicates that the key is a symmetric key that uses the Advanced Encryption Standard (AES) algorithm and that the mode of encryption is the Galois/Counter Mode (GCM). `RSA_OAEP_SHA_1` indicates that the key is an asymmetric key that uses the RSA encryption algorithm and uses Optimal Asymmetric Encryption Padding (OAEP). `RSA_OAEP_SHA_256` indicates that the key is an asymmetric key that uses the RSA encryption algorithm with a SHA-256 hash and uses OAEP. + :param pulumi.Input[str] encryption_algorithm: The encryption algorithm to use to encrypt and decrypt data with a customer-managed key. `AES_256_GCM` indicates that the key is a symmetric key that uses the Advanced Encryption Standard (AES) algorithm and that the mode of encryption is the Galois/Counter Mode (GCM). `RSA_OAEP_SHA_1` indicates that the key is an asymmetric key that uses the RSA encryption algorithm and uses Optimal Asymmetric Encryption Padding (OAEP). `RSA_OAEP_SHA_256` indicates that the key is an asymmetric key that uses the RSA encryption algorithm with a SHA-256 hash and uses OAEP. :param pulumi.Input[str] key_version_id: The OCID of the key version used to encrypt the ciphertext. :param pulumi.Input[Mapping[str, Any]] logging_context: Information that provides context for audit logging. You can provide this additional data as key-value pairs to include in the audit logs when audit logging is enabled. """ - pulumi.set(__self__, "crypto_endpoint", crypto_endpoint) - pulumi.set(__self__, "key_id", key_id) - pulumi.set(__self__, "plaintext", plaintext) + EncryptedDataArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + crypto_endpoint=crypto_endpoint, + key_id=key_id, + plaintext=plaintext, + associated_data=associated_data, + encryption_algorithm=encryption_algorithm, + key_version_id=key_version_id, + logging_context=logging_context, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + crypto_endpoint: pulumi.Input[str], + key_id: pulumi.Input[str], + plaintext: pulumi.Input[str], + associated_data: Optional[pulumi.Input[Mapping[str, Any]]] = None, + encryption_algorithm: Optional[pulumi.Input[str]] = None, + key_version_id: Optional[pulumi.Input[str]] = None, + logging_context: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("crypto_endpoint", crypto_endpoint) + _setter("key_id", key_id) + _setter("plaintext", plaintext) if associated_data is not None: - pulumi.set(__self__, "associated_data", associated_data) + _setter("associated_data", associated_data) if encryption_algorithm is not None: - pulumi.set(__self__, "encryption_algorithm", encryption_algorithm) + _setter("encryption_algorithm", encryption_algorithm) if key_version_id is not None: - pulumi.set(__self__, "key_version_id", key_version_id) + _setter("key_version_id", key_version_id) if logging_context is not None: - pulumi.set(__self__, "logging_context", logging_context) + _setter("logging_context", logging_context) @property @pulumi.getter(name="cryptoEndpoint") @@ -103,7 +124,7 @@ def associated_data(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): @pulumi.getter(name="encryptionAlgorithm") def encryption_algorithm(self) -> Optional[pulumi.Input[str]]: """ - The encryption algorithm to use to encrypt and decrypt data with a customer-managed key. `AES_256_GCM` indicates that the key is a symmetric key that uses the Advanced Encryption Standard (AES) algorithm and that the mode of encryption is the Galois/Counter Mode (GCM). `RSA_OAEP_SHA_1` indicates that the key is an asymmetric key that uses the RSA encryption algorithm and uses Optimal Asymmetric Encryption Padding (OAEP). `RSA_OAEP_SHA_256` indicates that the key is an asymmetric key that uses the RSA encryption algorithm with a SHA-256 hash and uses OAEP. + The encryption algorithm to use to encrypt and decrypt data with a customer-managed key. `AES_256_GCM` indicates that the key is a symmetric key that uses the Advanced Encryption Standard (AES) algorithm and that the mode of encryption is the Galois/Counter Mode (GCM). `RSA_OAEP_SHA_1` indicates that the key is an asymmetric key that uses the RSA encryption algorithm and uses Optimal Asymmetric Encryption Padding (OAEP). `RSA_OAEP_SHA_256` indicates that the key is an asymmetric key that uses the RSA encryption algorithm with a SHA-256 hash and uses OAEP. """ return pulumi.get(self, "encryption_algorithm") @@ -152,7 +173,7 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] associated_data: Information that can be used to provide an encryption context for the encrypted data. The length of the string representation of the associated data must be fewer than 4096 characters. :param pulumi.Input[str] ciphertext: The encrypted data. :param pulumi.Input[str] crypto_endpoint: The service endpoint to perform cryptographic operations against. Cryptographic operations include 'Encrypt,' 'Decrypt,' and 'GenerateDataEncryptionKey' operations. see Vault Crypto endpoint. - :param pulumi.Input[str] encryption_algorithm: The encryption algorithm to use to encrypt and decrypt data with a customer-managed key. `AES_256_GCM` indicates that the key is a symmetric key that uses the Advanced Encryption Standard (AES) algorithm and that the mode of encryption is the Galois/Counter Mode (GCM). `RSA_OAEP_SHA_1` indicates that the key is an asymmetric key that uses the RSA encryption algorithm and uses Optimal Asymmetric Encryption Padding (OAEP). `RSA_OAEP_SHA_256` indicates that the key is an asymmetric key that uses the RSA encryption algorithm with a SHA-256 hash and uses OAEP. + :param pulumi.Input[str] encryption_algorithm: The encryption algorithm to use to encrypt and decrypt data with a customer-managed key. `AES_256_GCM` indicates that the key is a symmetric key that uses the Advanced Encryption Standard (AES) algorithm and that the mode of encryption is the Galois/Counter Mode (GCM). `RSA_OAEP_SHA_1` indicates that the key is an asymmetric key that uses the RSA encryption algorithm and uses Optimal Asymmetric Encryption Padding (OAEP). `RSA_OAEP_SHA_256` indicates that the key is an asymmetric key that uses the RSA encryption algorithm with a SHA-256 hash and uses OAEP. :param pulumi.Input[str] key_id: The OCID of the key to encrypt with. :param pulumi.Input[str] key_version_id: The OCID of the key version used to encrypt the ciphertext. :param pulumi.Input[Mapping[str, Any]] logging_context: Information that provides context for audit logging. You can provide this additional data as key-value pairs to include in the audit logs when audit logging is enabled. @@ -162,22 +183,45 @@ def __init__(__self__, *, ** 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 """ + _EncryptedDataState._configure( + lambda key, value: pulumi.set(__self__, key, value), + associated_data=associated_data, + ciphertext=ciphertext, + crypto_endpoint=crypto_endpoint, + encryption_algorithm=encryption_algorithm, + key_id=key_id, + key_version_id=key_version_id, + logging_context=logging_context, + plaintext=plaintext, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + associated_data: Optional[pulumi.Input[Mapping[str, Any]]] = None, + ciphertext: Optional[pulumi.Input[str]] = None, + crypto_endpoint: Optional[pulumi.Input[str]] = None, + encryption_algorithm: Optional[pulumi.Input[str]] = None, + key_id: Optional[pulumi.Input[str]] = None, + key_version_id: Optional[pulumi.Input[str]] = None, + logging_context: Optional[pulumi.Input[Mapping[str, Any]]] = None, + plaintext: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if associated_data is not None: - pulumi.set(__self__, "associated_data", associated_data) + _setter("associated_data", associated_data) if ciphertext is not None: - pulumi.set(__self__, "ciphertext", ciphertext) + _setter("ciphertext", ciphertext) if crypto_endpoint is not None: - pulumi.set(__self__, "crypto_endpoint", crypto_endpoint) + _setter("crypto_endpoint", crypto_endpoint) if encryption_algorithm is not None: - pulumi.set(__self__, "encryption_algorithm", encryption_algorithm) + _setter("encryption_algorithm", encryption_algorithm) if key_id is not None: - pulumi.set(__self__, "key_id", key_id) + _setter("key_id", key_id) if key_version_id is not None: - pulumi.set(__self__, "key_version_id", key_version_id) + _setter("key_version_id", key_version_id) if logging_context is not None: - pulumi.set(__self__, "logging_context", logging_context) + _setter("logging_context", logging_context) if plaintext is not None: - pulumi.set(__self__, "plaintext", plaintext) + _setter("plaintext", plaintext) @property @pulumi.getter(name="associatedData") @@ -219,7 +263,7 @@ def crypto_endpoint(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="encryptionAlgorithm") def encryption_algorithm(self) -> Optional[pulumi.Input[str]]: """ - The encryption algorithm to use to encrypt and decrypt data with a customer-managed key. `AES_256_GCM` indicates that the key is a symmetric key that uses the Advanced Encryption Standard (AES) algorithm and that the mode of encryption is the Galois/Counter Mode (GCM). `RSA_OAEP_SHA_1` indicates that the key is an asymmetric key that uses the RSA encryption algorithm and uses Optimal Asymmetric Encryption Padding (OAEP). `RSA_OAEP_SHA_256` indicates that the key is an asymmetric key that uses the RSA encryption algorithm with a SHA-256 hash and uses OAEP. + The encryption algorithm to use to encrypt and decrypt data with a customer-managed key. `AES_256_GCM` indicates that the key is a symmetric key that uses the Advanced Encryption Standard (AES) algorithm and that the mode of encryption is the Galois/Counter Mode (GCM). `RSA_OAEP_SHA_1` indicates that the key is an asymmetric key that uses the RSA encryption algorithm and uses Optimal Asymmetric Encryption Padding (OAEP). `RSA_OAEP_SHA_256` indicates that the key is an asymmetric key that uses the RSA encryption algorithm with a SHA-256 hash and uses OAEP. """ return pulumi.get(self, "encryption_algorithm") @@ -323,7 +367,7 @@ def __init__(__self__, :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[Mapping[str, Any]] associated_data: Information that can be used to provide an encryption context for the encrypted data. The length of the string representation of the associated data must be fewer than 4096 characters. :param pulumi.Input[str] crypto_endpoint: The service endpoint to perform cryptographic operations against. Cryptographic operations include 'Encrypt,' 'Decrypt,' and 'GenerateDataEncryptionKey' operations. see Vault Crypto endpoint. - :param pulumi.Input[str] encryption_algorithm: The encryption algorithm to use to encrypt and decrypt data with a customer-managed key. `AES_256_GCM` indicates that the key is a symmetric key that uses the Advanced Encryption Standard (AES) algorithm and that the mode of encryption is the Galois/Counter Mode (GCM). `RSA_OAEP_SHA_1` indicates that the key is an asymmetric key that uses the RSA encryption algorithm and uses Optimal Asymmetric Encryption Padding (OAEP). `RSA_OAEP_SHA_256` indicates that the key is an asymmetric key that uses the RSA encryption algorithm with a SHA-256 hash and uses OAEP. + :param pulumi.Input[str] encryption_algorithm: The encryption algorithm to use to encrypt and decrypt data with a customer-managed key. `AES_256_GCM` indicates that the key is a symmetric key that uses the Advanced Encryption Standard (AES) algorithm and that the mode of encryption is the Galois/Counter Mode (GCM). `RSA_OAEP_SHA_1` indicates that the key is an asymmetric key that uses the RSA encryption algorithm and uses Optimal Asymmetric Encryption Padding (OAEP). `RSA_OAEP_SHA_256` indicates that the key is an asymmetric key that uses the RSA encryption algorithm with a SHA-256 hash and uses OAEP. :param pulumi.Input[str] key_id: The OCID of the key to encrypt with. :param pulumi.Input[str] key_version_id: The OCID of the key version used to encrypt the ciphertext. :param pulumi.Input[Mapping[str, Any]] logging_context: Information that provides context for audit logging. You can provide this additional data as key-value pairs to include in the audit logs when audit logging is enabled. @@ -375,6 +419,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + EncryptedDataArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -438,7 +486,7 @@ def get(resource_name: str, :param pulumi.Input[Mapping[str, Any]] associated_data: Information that can be used to provide an encryption context for the encrypted data. The length of the string representation of the associated data must be fewer than 4096 characters. :param pulumi.Input[str] ciphertext: The encrypted data. :param pulumi.Input[str] crypto_endpoint: The service endpoint to perform cryptographic operations against. Cryptographic operations include 'Encrypt,' 'Decrypt,' and 'GenerateDataEncryptionKey' operations. see Vault Crypto endpoint. - :param pulumi.Input[str] encryption_algorithm: The encryption algorithm to use to encrypt and decrypt data with a customer-managed key. `AES_256_GCM` indicates that the key is a symmetric key that uses the Advanced Encryption Standard (AES) algorithm and that the mode of encryption is the Galois/Counter Mode (GCM). `RSA_OAEP_SHA_1` indicates that the key is an asymmetric key that uses the RSA encryption algorithm and uses Optimal Asymmetric Encryption Padding (OAEP). `RSA_OAEP_SHA_256` indicates that the key is an asymmetric key that uses the RSA encryption algorithm with a SHA-256 hash and uses OAEP. + :param pulumi.Input[str] encryption_algorithm: The encryption algorithm to use to encrypt and decrypt data with a customer-managed key. `AES_256_GCM` indicates that the key is a symmetric key that uses the Advanced Encryption Standard (AES) algorithm and that the mode of encryption is the Galois/Counter Mode (GCM). `RSA_OAEP_SHA_1` indicates that the key is an asymmetric key that uses the RSA encryption algorithm and uses Optimal Asymmetric Encryption Padding (OAEP). `RSA_OAEP_SHA_256` indicates that the key is an asymmetric key that uses the RSA encryption algorithm with a SHA-256 hash and uses OAEP. :param pulumi.Input[str] key_id: The OCID of the key to encrypt with. :param pulumi.Input[str] key_version_id: The OCID of the key version used to encrypt the ciphertext. :param pulumi.Input[Mapping[str, Any]] logging_context: Information that provides context for audit logging. You can provide this additional data as key-value pairs to include in the audit logs when audit logging is enabled. @@ -490,7 +538,7 @@ def crypto_endpoint(self) -> pulumi.Output[str]: @pulumi.getter(name="encryptionAlgorithm") def encryption_algorithm(self) -> pulumi.Output[str]: """ - The encryption algorithm to use to encrypt and decrypt data with a customer-managed key. `AES_256_GCM` indicates that the key is a symmetric key that uses the Advanced Encryption Standard (AES) algorithm and that the mode of encryption is the Galois/Counter Mode (GCM). `RSA_OAEP_SHA_1` indicates that the key is an asymmetric key that uses the RSA encryption algorithm and uses Optimal Asymmetric Encryption Padding (OAEP). `RSA_OAEP_SHA_256` indicates that the key is an asymmetric key that uses the RSA encryption algorithm with a SHA-256 hash and uses OAEP. + The encryption algorithm to use to encrypt and decrypt data with a customer-managed key. `AES_256_GCM` indicates that the key is a symmetric key that uses the Advanced Encryption Standard (AES) algorithm and that the mode of encryption is the Galois/Counter Mode (GCM). `RSA_OAEP_SHA_1` indicates that the key is an asymmetric key that uses the RSA encryption algorithm and uses Optimal Asymmetric Encryption Padding (OAEP). `RSA_OAEP_SHA_256` indicates that the key is an asymmetric key that uses the RSA encryption algorithm with a SHA-256 hash and uses OAEP. """ return pulumi.get(self, "encryption_algorithm") diff --git a/sdk/python/pulumi_oci/kms/generated_key.py b/sdk/python/pulumi_oci/kms/generated_key.py index c678c275a0..2f383d10ee 100644 --- a/sdk/python/pulumi_oci/kms/generated_key.py +++ b/sdk/python/pulumi_oci/kms/generated_key.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -35,14 +35,33 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "crypto_endpoint", crypto_endpoint) - pulumi.set(__self__, "include_plaintext_key", include_plaintext_key) - pulumi.set(__self__, "key_id", key_id) - pulumi.set(__self__, "key_shape", key_shape) + GeneratedKeyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + crypto_endpoint=crypto_endpoint, + include_plaintext_key=include_plaintext_key, + key_id=key_id, + key_shape=key_shape, + associated_data=associated_data, + logging_context=logging_context, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + crypto_endpoint: pulumi.Input[str], + include_plaintext_key: pulumi.Input[bool], + key_id: pulumi.Input[str], + key_shape: pulumi.Input['GeneratedKeyKeyShapeArgs'], + associated_data: Optional[pulumi.Input[Mapping[str, Any]]] = None, + logging_context: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("crypto_endpoint", crypto_endpoint) + _setter("include_plaintext_key", include_plaintext_key) + _setter("key_id", key_id) + _setter("key_shape", key_shape) if associated_data is not None: - pulumi.set(__self__, "associated_data", associated_data) + _setter("associated_data", associated_data) if logging_context is not None: - pulumi.set(__self__, "logging_context", logging_context) + _setter("logging_context", logging_context) @property @pulumi.getter(name="cryptoEndpoint") @@ -149,24 +168,49 @@ def __init__(__self__, *, :param pulumi.Input[str] plaintext: The plaintext data encryption key, a base64-encoded sequence of random bytes, which is included if the [GenerateDataEncryptionKey](https://docs.cloud.oracle.com/iaas/api/#/en/key/latest/GeneratedKey/GenerateDataEncryptionKey) request includes the `includePlaintextKey` parameter and sets its value to "true". :param pulumi.Input[str] plaintext_checksum: The checksum of the plaintext data encryption key, which is included if the [GenerateDataEncryptionKey](https://docs.cloud.oracle.com/iaas/api/#/en/key/latest/GeneratedKey/GenerateDataEncryptionKey) request includes the `includePlaintextKey` parameter and sets its value to "true". """ + _GeneratedKeyState._configure( + lambda key, value: pulumi.set(__self__, key, value), + associated_data=associated_data, + ciphertext=ciphertext, + crypto_endpoint=crypto_endpoint, + include_plaintext_key=include_plaintext_key, + key_id=key_id, + key_shape=key_shape, + logging_context=logging_context, + plaintext=plaintext, + plaintext_checksum=plaintext_checksum, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + associated_data: Optional[pulumi.Input[Mapping[str, Any]]] = None, + ciphertext: Optional[pulumi.Input[str]] = None, + crypto_endpoint: Optional[pulumi.Input[str]] = None, + include_plaintext_key: Optional[pulumi.Input[bool]] = None, + key_id: Optional[pulumi.Input[str]] = None, + key_shape: Optional[pulumi.Input['GeneratedKeyKeyShapeArgs']] = None, + logging_context: Optional[pulumi.Input[Mapping[str, Any]]] = None, + plaintext: Optional[pulumi.Input[str]] = None, + plaintext_checksum: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if associated_data is not None: - pulumi.set(__self__, "associated_data", associated_data) + _setter("associated_data", associated_data) if ciphertext is not None: - pulumi.set(__self__, "ciphertext", ciphertext) + _setter("ciphertext", ciphertext) if crypto_endpoint is not None: - pulumi.set(__self__, "crypto_endpoint", crypto_endpoint) + _setter("crypto_endpoint", crypto_endpoint) if include_plaintext_key is not None: - pulumi.set(__self__, "include_plaintext_key", include_plaintext_key) + _setter("include_plaintext_key", include_plaintext_key) if key_id is not None: - pulumi.set(__self__, "key_id", key_id) + _setter("key_id", key_id) if key_shape is not None: - pulumi.set(__self__, "key_shape", key_shape) + _setter("key_shape", key_shape) if logging_context is not None: - pulumi.set(__self__, "logging_context", logging_context) + _setter("logging_context", logging_context) if plaintext is not None: - pulumi.set(__self__, "plaintext", plaintext) + _setter("plaintext", plaintext) if plaintext_checksum is not None: - pulumi.set(__self__, "plaintext_checksum", plaintext_checksum) + _setter("plaintext_checksum", plaintext_checksum) @property @pulumi.getter(name="associatedData") @@ -378,6 +422,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + GeneratedKeyArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -408,6 +456,11 @@ def _internal_init(__self__, if key_id is None and not opts.urn: raise TypeError("Missing required property 'key_id'") __props__.__dict__["key_id"] = key_id + if key_shape is not None and not isinstance(key_shape, GeneratedKeyKeyShapeArgs): + key_shape = key_shape or {} + def _setter(key, value): + key_shape[key] = value + GeneratedKeyKeyShapeArgs._configure(_setter, **key_shape) if key_shape is None and not opts.urn: raise TypeError("Missing required property 'key_shape'") __props__.__dict__["key_shape"] = key_shape diff --git a/sdk/python/pulumi_oci/kms/get_decrypted_data.py b/sdk/python/pulumi_oci/kms/get_decrypted_data.py index 7d859dc7d7..d3bbee9511 100644 --- a/sdk/python/pulumi_oci/kms/get_decrypted_data.py +++ b/sdk/python/pulumi_oci/kms/get_decrypted_data.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/kms/get_ekms_private_endpoint.py b/sdk/python/pulumi_oci/kms/get_ekms_private_endpoint.py new file mode 100644 index 0000000000..c8e5f73210 --- /dev/null +++ b/sdk/python/pulumi_oci/kms/get_ekms_private_endpoint.py @@ -0,0 +1,274 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from .. import _utilities + +__all__ = [ + 'GetEkmsPrivateEndpointResult', + 'AwaitableGetEkmsPrivateEndpointResult', + 'get_ekms_private_endpoint', + 'get_ekms_private_endpoint_output', +] + +@pulumi.output_type +class GetEkmsPrivateEndpointResult: + """ + A collection of values returned by getEkmsPrivateEndpoint. + """ + def __init__(__self__, ca_bundle=None, compartment_id=None, defined_tags=None, display_name=None, ekms_private_endpoint_id=None, external_key_manager_ip=None, freeform_tags=None, id=None, lifecycle_details=None, port=None, private_endpoint_ip=None, state=None, subnet_id=None, time_created=None, time_updated=None): + if ca_bundle and not isinstance(ca_bundle, str): + raise TypeError("Expected argument 'ca_bundle' to be a str") + pulumi.set(__self__, "ca_bundle", ca_bundle) + if compartment_id and not isinstance(compartment_id, str): + raise TypeError("Expected argument 'compartment_id' to be a str") + pulumi.set(__self__, "compartment_id", compartment_id) + if defined_tags and not isinstance(defined_tags, dict): + raise TypeError("Expected argument 'defined_tags' to be a dict") + pulumi.set(__self__, "defined_tags", defined_tags) + if display_name and not isinstance(display_name, str): + raise TypeError("Expected argument 'display_name' to be a str") + pulumi.set(__self__, "display_name", display_name) + if ekms_private_endpoint_id and not isinstance(ekms_private_endpoint_id, str): + raise TypeError("Expected argument 'ekms_private_endpoint_id' to be a str") + pulumi.set(__self__, "ekms_private_endpoint_id", ekms_private_endpoint_id) + if external_key_manager_ip and not isinstance(external_key_manager_ip, str): + raise TypeError("Expected argument 'external_key_manager_ip' to be a str") + pulumi.set(__self__, "external_key_manager_ip", external_key_manager_ip) + if freeform_tags and not isinstance(freeform_tags, dict): + raise TypeError("Expected argument 'freeform_tags' to be a dict") + pulumi.set(__self__, "freeform_tags", freeform_tags) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if lifecycle_details and not isinstance(lifecycle_details, str): + raise TypeError("Expected argument 'lifecycle_details' to be a str") + pulumi.set(__self__, "lifecycle_details", lifecycle_details) + if port and not isinstance(port, int): + raise TypeError("Expected argument 'port' to be a int") + pulumi.set(__self__, "port", port) + if private_endpoint_ip and not isinstance(private_endpoint_ip, str): + raise TypeError("Expected argument 'private_endpoint_ip' to be a str") + pulumi.set(__self__, "private_endpoint_ip", private_endpoint_ip) + if state and not isinstance(state, str): + raise TypeError("Expected argument 'state' to be a str") + pulumi.set(__self__, "state", state) + if subnet_id and not isinstance(subnet_id, str): + raise TypeError("Expected argument 'subnet_id' to be a str") + pulumi.set(__self__, "subnet_id", subnet_id) + if time_created and not isinstance(time_created, str): + raise TypeError("Expected argument 'time_created' to be a str") + pulumi.set(__self__, "time_created", time_created) + if time_updated and not isinstance(time_updated, str): + raise TypeError("Expected argument 'time_updated' to be a str") + pulumi.set(__self__, "time_updated", time_updated) + + @property + @pulumi.getter(name="caBundle") + def ca_bundle(self) -> str: + """ + CABundle to validate TLS certificate of the external key manager system in PEM format + """ + return pulumi.get(self, "ca_bundle") + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> str: + """ + Identifier of the compartment this EKMS private endpoint belongs to + """ + return pulumi.get(self, "compartment_id") + + @property + @pulumi.getter(name="definedTags") + def defined_tags(self) -> Mapping[str, Any]: + """ + Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"foo-namespace.bar-key": "value"}` + """ + return pulumi.get(self, "defined_tags") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> str: + """ + Mutable name of the EKMS private endpoint + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter(name="ekmsPrivateEndpointId") + def ekms_private_endpoint_id(self) -> str: + return pulumi.get(self, "ekms_private_endpoint_id") + + @property + @pulumi.getter(name="externalKeyManagerIp") + def external_key_manager_ip(self) -> str: + """ + Private IP of the external key manager system to connect to from the EKMS private endpoint + """ + return pulumi.get(self, "external_key_manager_ip") + + @property + @pulumi.getter(name="freeformTags") + def freeform_tags(self) -> Mapping[str, Any]: + """ + Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + """ + return pulumi.get(self, "freeform_tags") + + @property + @pulumi.getter + def id(self) -> str: + """ + Unique identifier that is immutable + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="lifecycleDetails") + def lifecycle_details(self) -> str: + """ + A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state. + """ + return pulumi.get(self, "lifecycle_details") + + @property + @pulumi.getter + def port(self) -> int: + """ + The port of the external key manager system + """ + return pulumi.get(self, "port") + + @property + @pulumi.getter(name="privateEndpointIp") + def private_endpoint_ip(self) -> str: + """ + The IP address in the customer's VCN for the EKMS private endpoint. This is taken from subnet + """ + return pulumi.get(self, "private_endpoint_ip") + + @property + @pulumi.getter + def state(self) -> str: + """ + The current state of the EKMS private endpoint resource. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter(name="subnetId") + def subnet_id(self) -> str: + """ + Subnet Identifier + """ + return pulumi.get(self, "subnet_id") + + @property + @pulumi.getter(name="timeCreated") + def time_created(self) -> str: + """ + The time the EKMS private endpoint was created. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. + """ + return pulumi.get(self, "time_created") + + @property + @pulumi.getter(name="timeUpdated") + def time_updated(self) -> str: + """ + The time the EKMS private endpoint was updated. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. + """ + return pulumi.get(self, "time_updated") + + +class AwaitableGetEkmsPrivateEndpointResult(GetEkmsPrivateEndpointResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetEkmsPrivateEndpointResult( + ca_bundle=self.ca_bundle, + compartment_id=self.compartment_id, + defined_tags=self.defined_tags, + display_name=self.display_name, + ekms_private_endpoint_id=self.ekms_private_endpoint_id, + external_key_manager_ip=self.external_key_manager_ip, + freeform_tags=self.freeform_tags, + id=self.id, + lifecycle_details=self.lifecycle_details, + port=self.port, + private_endpoint_ip=self.private_endpoint_ip, + state=self.state, + subnet_id=self.subnet_id, + time_created=self.time_created, + time_updated=self.time_updated) + + +def get_ekms_private_endpoint(ekms_private_endpoint_id: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetEkmsPrivateEndpointResult: + """ + This data source provides details about a specific Ekms Private Endpoint resource in Oracle Cloud Infrastructure Kms service. + + Gets a specific EKMS private by identifier. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_ekms_private_endpoint = oci.Kms.get_ekms_private_endpoint(ekms_private_endpoint_id=oci_kms_ekms_private_endpoint["test_ekms_private_endpoint"]["id"]) + ``` + + + :param str ekms_private_endpoint_id: Unique EKMS private endpoint identifier. + """ + __args__ = dict() + __args__['ekmsPrivateEndpointId'] = ekms_private_endpoint_id + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('oci:Kms/getEkmsPrivateEndpoint:getEkmsPrivateEndpoint', __args__, opts=opts, typ=GetEkmsPrivateEndpointResult).value + + return AwaitableGetEkmsPrivateEndpointResult( + ca_bundle=pulumi.get(__ret__, 'ca_bundle'), + compartment_id=pulumi.get(__ret__, 'compartment_id'), + defined_tags=pulumi.get(__ret__, 'defined_tags'), + display_name=pulumi.get(__ret__, 'display_name'), + ekms_private_endpoint_id=pulumi.get(__ret__, 'ekms_private_endpoint_id'), + external_key_manager_ip=pulumi.get(__ret__, 'external_key_manager_ip'), + freeform_tags=pulumi.get(__ret__, 'freeform_tags'), + id=pulumi.get(__ret__, 'id'), + lifecycle_details=pulumi.get(__ret__, 'lifecycle_details'), + port=pulumi.get(__ret__, 'port'), + private_endpoint_ip=pulumi.get(__ret__, 'private_endpoint_ip'), + state=pulumi.get(__ret__, 'state'), + subnet_id=pulumi.get(__ret__, 'subnet_id'), + time_created=pulumi.get(__ret__, 'time_created'), + time_updated=pulumi.get(__ret__, 'time_updated')) + + +@_utilities.lift_output_func(get_ekms_private_endpoint) +def get_ekms_private_endpoint_output(ekms_private_endpoint_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEkmsPrivateEndpointResult]: + """ + This data source provides details about a specific Ekms Private Endpoint resource in Oracle Cloud Infrastructure Kms service. + + Gets a specific EKMS private by identifier. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_ekms_private_endpoint = oci.Kms.get_ekms_private_endpoint(ekms_private_endpoint_id=oci_kms_ekms_private_endpoint["test_ekms_private_endpoint"]["id"]) + ``` + + + :param str ekms_private_endpoint_id: Unique EKMS private endpoint identifier. + """ + ... diff --git a/sdk/python/pulumi_oci/kms/get_ekms_private_endpoints.py b/sdk/python/pulumi_oci/kms/get_ekms_private_endpoints.py new file mode 100644 index 0000000000..b4e17a7563 --- /dev/null +++ b/sdk/python/pulumi_oci/kms/get_ekms_private_endpoints.py @@ -0,0 +1,136 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload +from .. import _utilities +from . import outputs +from ._inputs import * + +__all__ = [ + 'GetEkmsPrivateEndpointsResult', + 'AwaitableGetEkmsPrivateEndpointsResult', + 'get_ekms_private_endpoints', + 'get_ekms_private_endpoints_output', +] + +@pulumi.output_type +class GetEkmsPrivateEndpointsResult: + """ + A collection of values returned by getEkmsPrivateEndpoints. + """ + def __init__(__self__, compartment_id=None, ekms_private_endpoints=None, filters=None, id=None): + if compartment_id and not isinstance(compartment_id, str): + raise TypeError("Expected argument 'compartment_id' to be a str") + pulumi.set(__self__, "compartment_id", compartment_id) + if ekms_private_endpoints and not isinstance(ekms_private_endpoints, list): + raise TypeError("Expected argument 'ekms_private_endpoints' to be a list") + pulumi.set(__self__, "ekms_private_endpoints", ekms_private_endpoints) + if filters and not isinstance(filters, list): + raise TypeError("Expected argument 'filters' to be a list") + pulumi.set(__self__, "filters", filters) + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> str: + """ + Identifier of the compartment this EKMS private endpoint belongs to + """ + return pulumi.get(self, "compartment_id") + + @property + @pulumi.getter(name="ekmsPrivateEndpoints") + def ekms_private_endpoints(self) -> Sequence['outputs.GetEkmsPrivateEndpointsEkmsPrivateEndpointResult']: + """ + The list of ekms_private_endpoints. + """ + return pulumi.get(self, "ekms_private_endpoints") + + @property + @pulumi.getter + def filters(self) -> Optional[Sequence['outputs.GetEkmsPrivateEndpointsFilterResult']]: + return pulumi.get(self, "filters") + + @property + @pulumi.getter + def id(self) -> str: + """ + The provider-assigned unique ID for this managed resource. + """ + return pulumi.get(self, "id") + + +class AwaitableGetEkmsPrivateEndpointsResult(GetEkmsPrivateEndpointsResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetEkmsPrivateEndpointsResult( + compartment_id=self.compartment_id, + ekms_private_endpoints=self.ekms_private_endpoints, + filters=self.filters, + id=self.id) + + +def get_ekms_private_endpoints(compartment_id: Optional[str] = None, + filters: Optional[Sequence[pulumi.InputType['GetEkmsPrivateEndpointsFilterArgs']]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetEkmsPrivateEndpointsResult: + """ + This data source provides the list of Ekms Private Endpoints in Oracle Cloud Infrastructure Kms service. + + Returns a list of all the EKMS private endpoints in the specified compartment. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_ekms_private_endpoints = oci.Kms.get_ekms_private_endpoints(compartment_id=var["compartment_id"]) + ``` + + + :param str compartment_id: The OCID of the compartment. + """ + __args__ = dict() + __args__['compartmentId'] = compartment_id + __args__['filters'] = filters + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('oci:Kms/getEkmsPrivateEndpoints:getEkmsPrivateEndpoints', __args__, opts=opts, typ=GetEkmsPrivateEndpointsResult).value + + return AwaitableGetEkmsPrivateEndpointsResult( + compartment_id=pulumi.get(__ret__, 'compartment_id'), + ekms_private_endpoints=pulumi.get(__ret__, 'ekms_private_endpoints'), + filters=pulumi.get(__ret__, 'filters'), + id=pulumi.get(__ret__, 'id')) + + +@_utilities.lift_output_func(get_ekms_private_endpoints) +def get_ekms_private_endpoints_output(compartment_id: Optional[pulumi.Input[str]] = None, + filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetEkmsPrivateEndpointsFilterArgs']]]]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetEkmsPrivateEndpointsResult]: + """ + This data source provides the list of Ekms Private Endpoints in Oracle Cloud Infrastructure Kms service. + + Returns a list of all the EKMS private endpoints in the specified compartment. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_ekms_private_endpoints = oci.Kms.get_ekms_private_endpoints(compartment_id=var["compartment_id"]) + ``` + + + :param str compartment_id: The OCID of the compartment. + """ + ... diff --git a/sdk/python/pulumi_oci/kms/get_encrypted_data.py b/sdk/python/pulumi_oci/kms/get_encrypted_data.py index 0579b5e035..fd42b1902e 100644 --- a/sdk/python/pulumi_oci/kms/get_encrypted_data.py +++ b/sdk/python/pulumi_oci/kms/get_encrypted_data.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/kms/get_key.py b/sdk/python/pulumi_oci/kms/get_key.py index 5f35671d43..0345088770 100644 --- a/sdk/python/pulumi_oci/kms/get_key.py +++ b/sdk/python/pulumi_oci/kms/get_key.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -22,7 +22,7 @@ class GetKeyResult: """ A collection of values returned by getKey. """ - def __init__(__self__, compartment_id=None, current_key_version=None, defined_tags=None, desired_state=None, display_name=None, freeform_tags=None, id=None, is_primary=None, key_id=None, key_shapes=None, management_endpoint=None, protection_mode=None, replica_details=None, restore_from_files=None, restore_from_object_stores=None, restore_trigger=None, restored_from_key_id=None, state=None, time_created=None, time_of_deletion=None, vault_id=None): + def __init__(__self__, compartment_id=None, current_key_version=None, defined_tags=None, desired_state=None, display_name=None, external_key_reference_details=None, external_key_references=None, freeform_tags=None, id=None, is_primary=None, key_id=None, key_shapes=None, management_endpoint=None, protection_mode=None, replica_details=None, restore_from_files=None, restore_from_object_stores=None, restore_trigger=None, restored_from_key_id=None, state=None, time_created=None, time_of_deletion=None, vault_id=None): if compartment_id and not isinstance(compartment_id, str): raise TypeError("Expected argument 'compartment_id' to be a str") pulumi.set(__self__, "compartment_id", compartment_id) @@ -38,6 +38,12 @@ def __init__(__self__, compartment_id=None, current_key_version=None, defined_ta if display_name and not isinstance(display_name, str): raise TypeError("Expected argument 'display_name' to be a str") pulumi.set(__self__, "display_name", display_name) + if external_key_reference_details and not isinstance(external_key_reference_details, list): + raise TypeError("Expected argument 'external_key_reference_details' to be a list") + pulumi.set(__self__, "external_key_reference_details", external_key_reference_details) + if external_key_references and not isinstance(external_key_references, list): + raise TypeError("Expected argument 'external_key_references' to be a list") + pulumi.set(__self__, "external_key_references", external_key_references) if freeform_tags and not isinstance(freeform_tags, dict): raise TypeError("Expected argument 'freeform_tags' to be a dict") pulumi.set(__self__, "freeform_tags", freeform_tags) @@ -124,6 +130,19 @@ def display_name(self) -> str: """ return pulumi.get(self, "display_name") + @property + @pulumi.getter(name="externalKeyReferenceDetails") + def external_key_reference_details(self) -> Sequence['outputs.GetKeyExternalKeyReferenceDetailResult']: + """ + Key reference data to be returned to the customer as a response. + """ + return pulumi.get(self, "external_key_reference_details") + + @property + @pulumi.getter(name="externalKeyReferences") + def external_key_references(self) -> Sequence['outputs.GetKeyExternalKeyReferenceResult']: + return pulumi.get(self, "external_key_references") + @property @pulumi.getter(name="freeformTags") def freeform_tags(self) -> Mapping[str, Any]: @@ -144,7 +163,7 @@ def id(self) -> str: @pulumi.getter(name="isPrimary") def is_primary(self) -> bool: """ - A boolean that will be true when key is primary, and will be false when key is a replica from a primary key. + A Boolean value that indicates whether the Key belongs to primary Vault or replica vault. """ return pulumi.get(self, "is_primary") @@ -170,7 +189,7 @@ def management_endpoint(self) -> str: @pulumi.getter(name="protectionMode") def protection_mode(self) -> str: """ - The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. + The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager. """ return pulumi.get(self, "protection_mode") @@ -258,6 +277,8 @@ def __await__(self): defined_tags=self.defined_tags, desired_state=self.desired_state, display_name=self.display_name, + external_key_reference_details=self.external_key_reference_details, + external_key_references=self.external_key_references, freeform_tags=self.freeform_tags, id=self.id, is_primary=self.is_primary, @@ -315,6 +336,8 @@ def get_key(key_id: Optional[str] = None, defined_tags=pulumi.get(__ret__, 'defined_tags'), desired_state=pulumi.get(__ret__, 'desired_state'), display_name=pulumi.get(__ret__, 'display_name'), + external_key_reference_details=pulumi.get(__ret__, 'external_key_reference_details'), + external_key_references=pulumi.get(__ret__, 'external_key_references'), freeform_tags=pulumi.get(__ret__, 'freeform_tags'), id=pulumi.get(__ret__, 'id'), is_primary=pulumi.get(__ret__, 'is_primary'), diff --git a/sdk/python/pulumi_oci/kms/get_key_version.py b/sdk/python/pulumi_oci/kms/get_key_version.py index 8da4c0ea52..b64d04f459 100644 --- a/sdk/python/pulumi_oci/kms/get_key_version.py +++ b/sdk/python/pulumi_oci/kms/get_key_version.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -22,10 +22,16 @@ class GetKeyVersionResult: """ A collection of values returned by getKeyVersion. """ - def __init__(__self__, compartment_id=None, id=None, is_primary=None, key_id=None, key_version_id=None, management_endpoint=None, public_key=None, replica_details=None, restored_from_key_id=None, restored_from_key_version_id=None, state=None, time_created=None, time_of_deletion=None, vault_id=None): + def __init__(__self__, compartment_id=None, external_key_reference_details=None, external_key_version_id=None, id=None, is_primary=None, key_id=None, key_version_id=None, management_endpoint=None, public_key=None, replica_details=None, restored_from_key_id=None, restored_from_key_version_id=None, state=None, time_created=None, time_of_deletion=None, vault_id=None): if compartment_id and not isinstance(compartment_id, str): raise TypeError("Expected argument 'compartment_id' to be a str") pulumi.set(__self__, "compartment_id", compartment_id) + if external_key_reference_details and not isinstance(external_key_reference_details, list): + raise TypeError("Expected argument 'external_key_reference_details' to be a list") + pulumi.set(__self__, "external_key_reference_details", external_key_reference_details) + if external_key_version_id and not isinstance(external_key_version_id, str): + raise TypeError("Expected argument 'external_key_version_id' to be a str") + pulumi.set(__self__, "external_key_version_id", external_key_version_id) if id and not isinstance(id, str): raise TypeError("Expected argument 'id' to be a str") pulumi.set(__self__, "id", id) @@ -74,6 +80,22 @@ def compartment_id(self) -> str: """ return pulumi.get(self, "compartment_id") + @property + @pulumi.getter(name="externalKeyReferenceDetails") + def external_key_reference_details(self) -> Sequence['outputs.GetKeyVersionExternalKeyReferenceDetailResult']: + """ + Key reference data to be returned to the customer as a response. + """ + return pulumi.get(self, "external_key_reference_details") + + @property + @pulumi.getter(name="externalKeyVersionId") + def external_key_version_id(self) -> str: + """ + Key version ID associated with the external key. + """ + return pulumi.get(self, "external_key_version_id") + @property @pulumi.getter def id(self) -> str: @@ -86,7 +108,7 @@ def id(self) -> str: @pulumi.getter(name="isPrimary") def is_primary(self) -> bool: """ - A boolean that will be true when key version is primary, and will be false when key version is a replica from a primary key version. + A Boolean value that indicates whether the KeyVersion belongs to primary Vault or replica Vault. """ return pulumi.get(self, "is_primary") @@ -180,6 +202,8 @@ def __await__(self): yield self return GetKeyVersionResult( compartment_id=self.compartment_id, + external_key_reference_details=self.external_key_reference_details, + external_key_version_id=self.external_key_version_id, id=self.id, is_primary=self.is_primary, key_id=self.key_id, @@ -234,6 +258,8 @@ def get_key_version(key_id: Optional[str] = None, return AwaitableGetKeyVersionResult( compartment_id=pulumi.get(__ret__, 'compartment_id'), + external_key_reference_details=pulumi.get(__ret__, 'external_key_reference_details'), + external_key_version_id=pulumi.get(__ret__, 'external_key_version_id'), id=pulumi.get(__ret__, 'id'), is_primary=pulumi.get(__ret__, 'is_primary'), key_id=pulumi.get(__ret__, 'key_id'), diff --git a/sdk/python/pulumi_oci/kms/get_key_versions.py b/sdk/python/pulumi_oci/kms/get_key_versions.py index 21dc3bcf10..7eb0feecd6 100644 --- a/sdk/python/pulumi_oci/kms/get_key_versions.py +++ b/sdk/python/pulumi_oci/kms/get_key_versions.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/kms/get_keys.py b/sdk/python/pulumi_oci/kms/get_keys.py index 8a9e605946..25fcd02586 100644 --- a/sdk/python/pulumi_oci/kms/get_keys.py +++ b/sdk/python/pulumi_oci/kms/get_keys.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -56,7 +56,7 @@ def __init__(__self__, algorithm=None, compartment_id=None, curve_id=None, filte @pulumi.getter def algorithm(self) -> Optional[str]: """ - The algorithm used by a key's key versions to encrypt or decrypt. + The algorithm used by a key's key versions to encrypt or decrypt. Only AES algorithm is supported for `External` keys. """ return pulumi.get(self, "algorithm") @@ -117,7 +117,7 @@ def management_endpoint(self) -> str: @pulumi.getter(name="protectionMode") def protection_mode(self) -> Optional[str]: """ - The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. + The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager. """ return pulumi.get(self, "protection_mode") @@ -177,7 +177,7 @@ def get_keys(algorithm: Optional[str] = None, :param str curve_id: The curve ID of the keys. (This pertains only to ECDSA keys.) :param int length: The length of the key in bytes, expressed as an integer. Supported values include 16, 24, or 32. :param str management_endpoint: The service endpoint to perform management operations against. Management operations include 'Create,' 'Update,' 'List,' 'Get,' and 'Delete' operations. See Vault Management endpoint. - :param str protection_mode: A key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. + :param str protection_mode: A key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager. """ __args__ = dict() __args__['algorithm'] = algorithm @@ -241,6 +241,6 @@ def get_keys_output(algorithm: Optional[pulumi.Input[Optional[str]]] = None, :param str curve_id: The curve ID of the keys. (This pertains only to ECDSA keys.) :param int length: The length of the key in bytes, expressed as an integer. Supported values include 16, 24, or 32. :param str management_endpoint: The service endpoint to perform management operations against. Management operations include 'Create,' 'Update,' 'List,' 'Get,' and 'Delete' operations. See Vault Management endpoint. - :param str protection_mode: A key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. + :param str protection_mode: A key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager. """ ... diff --git a/sdk/python/pulumi_oci/kms/get_replication_status.py b/sdk/python/pulumi_oci/kms/get_replication_status.py index 72bccc949d..193d9befe3 100644 --- a/sdk/python/pulumi_oci/kms/get_replication_status.py +++ b/sdk/python/pulumi_oci/kms/get_replication_status.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -52,6 +52,9 @@ def management_endpoint(self) -> str: @property @pulumi.getter(name="replicaDetails") def replica_details(self) -> Sequence['outputs.GetReplicationStatusReplicaDetailResult']: + """ + Replica Details. + """ return pulumi.get(self, "replica_details") @property diff --git a/sdk/python/pulumi_oci/kms/get_vault.py b/sdk/python/pulumi_oci/kms/get_vault.py index 3e319bb609..f1674a1fd8 100644 --- a/sdk/python/pulumi_oci/kms/get_vault.py +++ b/sdk/python/pulumi_oci/kms/get_vault.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -22,7 +22,7 @@ class GetVaultResult: """ A collection of values returned by getVault. """ - def __init__(__self__, compartment_id=None, crypto_endpoint=None, defined_tags=None, display_name=None, freeform_tags=None, id=None, is_primary=None, management_endpoint=None, replica_details=None, restore_from_files=None, restore_from_object_stores=None, restore_trigger=None, restored_from_vault_id=None, state=None, time_created=None, time_of_deletion=None, vault_id=None, vault_type=None): + def __init__(__self__, compartment_id=None, crypto_endpoint=None, defined_tags=None, display_name=None, external_key_manager_metadata_summaries=None, external_key_manager_metadatas=None, freeform_tags=None, id=None, is_primary=None, management_endpoint=None, replica_details=None, restore_from_files=None, restore_from_object_stores=None, restore_trigger=None, restored_from_vault_id=None, state=None, time_created=None, time_of_deletion=None, vault_id=None, vault_type=None): if compartment_id and not isinstance(compartment_id, str): raise TypeError("Expected argument 'compartment_id' to be a str") pulumi.set(__self__, "compartment_id", compartment_id) @@ -35,6 +35,12 @@ def __init__(__self__, compartment_id=None, crypto_endpoint=None, defined_tags=N if display_name and not isinstance(display_name, str): raise TypeError("Expected argument 'display_name' to be a str") pulumi.set(__self__, "display_name", display_name) + if external_key_manager_metadata_summaries and not isinstance(external_key_manager_metadata_summaries, list): + raise TypeError("Expected argument 'external_key_manager_metadata_summaries' to be a list") + pulumi.set(__self__, "external_key_manager_metadata_summaries", external_key_manager_metadata_summaries) + if external_key_manager_metadatas and not isinstance(external_key_manager_metadatas, list): + raise TypeError("Expected argument 'external_key_manager_metadatas' to be a list") + pulumi.set(__self__, "external_key_manager_metadatas", external_key_manager_metadatas) if freeform_tags and not isinstance(freeform_tags, dict): raise TypeError("Expected argument 'freeform_tags' to be a dict") pulumi.set(__self__, "freeform_tags", freeform_tags) @@ -110,6 +116,19 @@ def display_name(self) -> str: """ return pulumi.get(self, "display_name") + @property + @pulumi.getter(name="externalKeyManagerMetadataSummaries") + def external_key_manager_metadata_summaries(self) -> Sequence['outputs.GetVaultExternalKeyManagerMetadataSummaryResult']: + """ + Summary about metadata of external key manager to be returned to the customer as a response. + """ + return pulumi.get(self, "external_key_manager_metadata_summaries") + + @property + @pulumi.getter(name="externalKeyManagerMetadatas") + def external_key_manager_metadatas(self) -> Sequence['outputs.GetVaultExternalKeyManagerMetadataResult']: + return pulumi.get(self, "external_key_manager_metadatas") + @property @pulumi.getter(name="freeformTags") def freeform_tags(self) -> Mapping[str, Any]: @@ -130,7 +149,7 @@ def id(self) -> str: @pulumi.getter(name="isPrimary") def is_primary(self) -> bool: """ - A boolean that will be true when vault is primary, and will be false when vault is a replica from a primary vault. + A Boolean value that indicates whether the Vault is primary Vault or replica Vault. """ return pulumi.get(self, "is_primary") @@ -178,7 +197,7 @@ def restore_trigger(self) -> bool: @pulumi.getter(name="restoredFromVaultId") def restored_from_vault_id(self) -> str: """ - The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. + The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. """ return pulumi.get(self, "restored_from_vault_id") @@ -230,6 +249,8 @@ def __await__(self): crypto_endpoint=self.crypto_endpoint, defined_tags=self.defined_tags, display_name=self.display_name, + external_key_manager_metadata_summaries=self.external_key_manager_metadata_summaries, + external_key_manager_metadatas=self.external_key_manager_metadatas, freeform_tags=self.freeform_tags, id=self.id, is_primary=self.is_primary, @@ -280,6 +301,8 @@ def get_vault(vault_id: Optional[str] = None, crypto_endpoint=pulumi.get(__ret__, 'crypto_endpoint'), defined_tags=pulumi.get(__ret__, 'defined_tags'), display_name=pulumi.get(__ret__, 'display_name'), + external_key_manager_metadata_summaries=pulumi.get(__ret__, 'external_key_manager_metadata_summaries'), + external_key_manager_metadatas=pulumi.get(__ret__, 'external_key_manager_metadatas'), freeform_tags=pulumi.get(__ret__, 'freeform_tags'), id=pulumi.get(__ret__, 'id'), is_primary=pulumi.get(__ret__, 'is_primary'), diff --git a/sdk/python/pulumi_oci/kms/get_vault_replicas.py b/sdk/python/pulumi_oci/kms/get_vault_replicas.py index c57541fa58..05958d92f9 100644 --- a/sdk/python/pulumi_oci/kms/get_vault_replicas.py +++ b/sdk/python/pulumi_oci/kms/get_vault_replicas.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/kms/get_vault_usage.py b/sdk/python/pulumi_oci/kms/get_vault_usage.py index 12e4b41a40..f3c185c0a8 100644 --- a/sdk/python/pulumi_oci/kms/get_vault_usage.py +++ b/sdk/python/pulumi_oci/kms/get_vault_usage.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/kms/get_vaults.py b/sdk/python/pulumi_oci/kms/get_vaults.py index 09ed07865a..0e8a2803c7 100644 --- a/sdk/python/pulumi_oci/kms/get_vaults.py +++ b/sdk/python/pulumi_oci/kms/get_vaults.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/kms/key.py b/sdk/python/pulumi_oci/kms/key.py index 49546fe587..b1c1f3c0be 100644 --- a/sdk/python/pulumi_oci/kms/key.py +++ b/sdk/python/pulumi_oci/kms/key.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -22,6 +22,7 @@ def __init__(__self__, *, management_endpoint: pulumi.Input[str], defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, desired_state: Optional[pulumi.Input[str]] = None, + external_key_reference: Optional[pulumi.Input['KeyExternalKeyReferenceArgs']] = None, freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, protection_mode: Optional[pulumi.Input[str]] = None, restore_from_file: Optional[pulumi.Input['KeyRestoreFromFileArgs']] = None, @@ -36,8 +37,9 @@ def __init__(__self__, *, :param pulumi.Input[str] management_endpoint: The service endpoint to perform management operations against. Management operations include 'Create,' 'Update,' 'List,' 'Get,' and 'Delete' operations. See Vault Management endpoint. :param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` :param pulumi.Input[str] desired_state: (Updatable) Desired state of the key. Possible values : `ENABLED` or `DISABLED` + :param pulumi.Input['KeyExternalKeyReferenceArgs'] external_key_reference: A reference to the key on external key manager. :param pulumi.Input[Mapping[str, Any]] freeform_tags: (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` - :param pulumi.Input[str] protection_mode: The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. + :param pulumi.Input[str] protection_mode: The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager. :param pulumi.Input['KeyRestoreFromFileArgs'] restore_from_file: (Updatable) Details where key was backed up. :param pulumi.Input['KeyRestoreFromObjectStoreArgs'] restore_from_object_store: (Updatable) Details where key was backed up :param pulumi.Input[bool] restore_trigger: (Updatable) An optional property when flipped triggers restore from restore option provided in config file. @@ -46,26 +48,61 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "key_shape", key_shape) - pulumi.set(__self__, "management_endpoint", management_endpoint) + KeyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + key_shape=key_shape, + management_endpoint=management_endpoint, + defined_tags=defined_tags, + desired_state=desired_state, + external_key_reference=external_key_reference, + freeform_tags=freeform_tags, + protection_mode=protection_mode, + restore_from_file=restore_from_file, + restore_from_object_store=restore_from_object_store, + restore_trigger=restore_trigger, + time_of_deletion=time_of_deletion, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + key_shape: pulumi.Input['KeyKeyShapeArgs'], + management_endpoint: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + desired_state: Optional[pulumi.Input[str]] = None, + external_key_reference: Optional[pulumi.Input['KeyExternalKeyReferenceArgs']] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + protection_mode: Optional[pulumi.Input[str]] = None, + restore_from_file: Optional[pulumi.Input['KeyRestoreFromFileArgs']] = None, + restore_from_object_store: Optional[pulumi.Input['KeyRestoreFromObjectStoreArgs']] = None, + restore_trigger: Optional[pulumi.Input[bool]] = None, + time_of_deletion: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) + _setter("key_shape", key_shape) + _setter("management_endpoint", management_endpoint) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if desired_state is not None: - pulumi.set(__self__, "desired_state", desired_state) + _setter("desired_state", desired_state) + if external_key_reference is not None: + _setter("external_key_reference", external_key_reference) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if protection_mode is not None: - pulumi.set(__self__, "protection_mode", protection_mode) + _setter("protection_mode", protection_mode) if restore_from_file is not None: - pulumi.set(__self__, "restore_from_file", restore_from_file) + _setter("restore_from_file", restore_from_file) if restore_from_object_store is not None: - pulumi.set(__self__, "restore_from_object_store", restore_from_object_store) + _setter("restore_from_object_store", restore_from_object_store) if restore_trigger is not None: - pulumi.set(__self__, "restore_trigger", restore_trigger) + _setter("restore_trigger", restore_trigger) if time_of_deletion is not None: - pulumi.set(__self__, "time_of_deletion", time_of_deletion) + _setter("time_of_deletion", time_of_deletion) @property @pulumi.getter(name="compartmentId") @@ -139,6 +176,18 @@ def desired_state(self) -> Optional[pulumi.Input[str]]: def desired_state(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "desired_state", value) + @property + @pulumi.getter(name="externalKeyReference") + def external_key_reference(self) -> Optional[pulumi.Input['KeyExternalKeyReferenceArgs']]: + """ + A reference to the key on external key manager. + """ + return pulumi.get(self, "external_key_reference") + + @external_key_reference.setter + def external_key_reference(self, value: Optional[pulumi.Input['KeyExternalKeyReferenceArgs']]): + pulumi.set(self, "external_key_reference", value) + @property @pulumi.getter(name="freeformTags") def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: @@ -155,7 +204,7 @@ def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): @pulumi.getter(name="protectionMode") def protection_mode(self) -> Optional[pulumi.Input[str]]: """ - The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. + The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager. """ return pulumi.get(self, "protection_mode") @@ -223,6 +272,8 @@ def __init__(__self__, *, defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, desired_state: Optional[pulumi.Input[str]] = None, display_name: Optional[pulumi.Input[str]] = None, + external_key_reference: Optional[pulumi.Input['KeyExternalKeyReferenceArgs']] = None, + external_key_reference_details: Optional[pulumi.Input[Sequence[pulumi.Input['KeyExternalKeyReferenceDetailArgs']]]] = None, freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, is_primary: Optional[pulumi.Input[bool]] = None, key_shape: Optional[pulumi.Input['KeyKeyShapeArgs']] = None, @@ -244,11 +295,13 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` :param pulumi.Input[str] desired_state: (Updatable) Desired state of the key. Possible values : `ENABLED` or `DISABLED` :param pulumi.Input[str] display_name: (Updatable) A user-friendly name for the key. It does not have to be unique, and it is changeable. Avoid entering confidential information. + :param pulumi.Input['KeyExternalKeyReferenceArgs'] external_key_reference: A reference to the key on external key manager. + :param pulumi.Input[Sequence[pulumi.Input['KeyExternalKeyReferenceDetailArgs']]] external_key_reference_details: Key reference data to be returned to the customer as a response. :param pulumi.Input[Mapping[str, Any]] freeform_tags: (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` - :param pulumi.Input[bool] is_primary: A boolean that will be true when key is primary, and will be false when key is a replica from a primary key. + :param pulumi.Input[bool] is_primary: A Boolean value that indicates whether the Key belongs to primary Vault or replica vault. :param pulumi.Input['KeyKeyShapeArgs'] key_shape: The cryptographic properties of a key. :param pulumi.Input[str] management_endpoint: The service endpoint to perform management operations against. Management operations include 'Create,' 'Update,' 'List,' 'Get,' and 'Delete' operations. See Vault Management endpoint. - :param pulumi.Input[str] protection_mode: The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. + :param pulumi.Input[str] protection_mode: The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager. :param pulumi.Input[Sequence[pulumi.Input['KeyReplicaDetailArgs']]] replica_details: Key replica details :param pulumi.Input['KeyRestoreFromFileArgs'] restore_from_file: (Updatable) Details where key was backed up. :param pulumi.Input['KeyRestoreFromObjectStoreArgs'] restore_from_object_store: (Updatable) Details where key was backed up @@ -262,44 +315,97 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] vault_id: The OCID of the vault that contains this key. """ + _KeyState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + current_key_version=current_key_version, + defined_tags=defined_tags, + desired_state=desired_state, + display_name=display_name, + external_key_reference=external_key_reference, + external_key_reference_details=external_key_reference_details, + freeform_tags=freeform_tags, + is_primary=is_primary, + key_shape=key_shape, + management_endpoint=management_endpoint, + protection_mode=protection_mode, + replica_details=replica_details, + restore_from_file=restore_from_file, + restore_from_object_store=restore_from_object_store, + restore_trigger=restore_trigger, + restored_from_key_id=restored_from_key_id, + state=state, + time_created=time_created, + time_of_deletion=time_of_deletion, + vault_id=vault_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + current_key_version: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + desired_state: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + external_key_reference: Optional[pulumi.Input['KeyExternalKeyReferenceArgs']] = None, + external_key_reference_details: Optional[pulumi.Input[Sequence[pulumi.Input['KeyExternalKeyReferenceDetailArgs']]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_primary: Optional[pulumi.Input[bool]] = None, + key_shape: Optional[pulumi.Input['KeyKeyShapeArgs']] = None, + management_endpoint: Optional[pulumi.Input[str]] = None, + protection_mode: Optional[pulumi.Input[str]] = None, + replica_details: Optional[pulumi.Input[Sequence[pulumi.Input['KeyReplicaDetailArgs']]]] = None, + restore_from_file: Optional[pulumi.Input['KeyRestoreFromFileArgs']] = None, + restore_from_object_store: Optional[pulumi.Input['KeyRestoreFromObjectStoreArgs']] = None, + restore_trigger: Optional[pulumi.Input[bool]] = None, + restored_from_key_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_of_deletion: Optional[pulumi.Input[str]] = None, + vault_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if current_key_version is not None: - pulumi.set(__self__, "current_key_version", current_key_version) + _setter("current_key_version", current_key_version) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if desired_state is not None: - pulumi.set(__self__, "desired_state", desired_state) + _setter("desired_state", desired_state) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) + if external_key_reference is not None: + _setter("external_key_reference", external_key_reference) + if external_key_reference_details is not None: + _setter("external_key_reference_details", external_key_reference_details) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_primary is not None: - pulumi.set(__self__, "is_primary", is_primary) + _setter("is_primary", is_primary) if key_shape is not None: - pulumi.set(__self__, "key_shape", key_shape) + _setter("key_shape", key_shape) if management_endpoint is not None: - pulumi.set(__self__, "management_endpoint", management_endpoint) + _setter("management_endpoint", management_endpoint) if protection_mode is not None: - pulumi.set(__self__, "protection_mode", protection_mode) + _setter("protection_mode", protection_mode) if replica_details is not None: - pulumi.set(__self__, "replica_details", replica_details) + _setter("replica_details", replica_details) if restore_from_file is not None: - pulumi.set(__self__, "restore_from_file", restore_from_file) + _setter("restore_from_file", restore_from_file) if restore_from_object_store is not None: - pulumi.set(__self__, "restore_from_object_store", restore_from_object_store) + _setter("restore_from_object_store", restore_from_object_store) if restore_trigger is not None: - pulumi.set(__self__, "restore_trigger", restore_trigger) + _setter("restore_trigger", restore_trigger) if restored_from_key_id is not None: - pulumi.set(__self__, "restored_from_key_id", restored_from_key_id) + _setter("restored_from_key_id", restored_from_key_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_of_deletion is not None: - pulumi.set(__self__, "time_of_deletion", time_of_deletion) + _setter("time_of_deletion", time_of_deletion) if vault_id is not None: - pulumi.set(__self__, "vault_id", vault_id) + _setter("vault_id", vault_id) @property @pulumi.getter(name="compartmentId") @@ -361,6 +467,30 @@ def display_name(self) -> Optional[pulumi.Input[str]]: def display_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "display_name", value) + @property + @pulumi.getter(name="externalKeyReference") + def external_key_reference(self) -> Optional[pulumi.Input['KeyExternalKeyReferenceArgs']]: + """ + A reference to the key on external key manager. + """ + return pulumi.get(self, "external_key_reference") + + @external_key_reference.setter + def external_key_reference(self, value: Optional[pulumi.Input['KeyExternalKeyReferenceArgs']]): + pulumi.set(self, "external_key_reference", value) + + @property + @pulumi.getter(name="externalKeyReferenceDetails") + def external_key_reference_details(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['KeyExternalKeyReferenceDetailArgs']]]]: + """ + Key reference data to be returned to the customer as a response. + """ + return pulumi.get(self, "external_key_reference_details") + + @external_key_reference_details.setter + def external_key_reference_details(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['KeyExternalKeyReferenceDetailArgs']]]]): + pulumi.set(self, "external_key_reference_details", value) + @property @pulumi.getter(name="freeformTags") def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: @@ -377,7 +507,7 @@ def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): @pulumi.getter(name="isPrimary") def is_primary(self) -> Optional[pulumi.Input[bool]]: """ - A boolean that will be true when key is primary, and will be false when key is a replica from a primary key. + A Boolean value that indicates whether the Key belongs to primary Vault or replica vault. """ return pulumi.get(self, "is_primary") @@ -413,7 +543,7 @@ def management_endpoint(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="protectionMode") def protection_mode(self) -> Optional[pulumi.Input[str]]: """ - The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. + The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager. """ return pulumi.get(self, "protection_mode") @@ -542,6 +672,7 @@ def __init__(__self__, defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, desired_state: Optional[pulumi.Input[str]] = None, display_name: Optional[pulumi.Input[str]] = None, + external_key_reference: Optional[pulumi.Input[pulumi.InputType['KeyExternalKeyReferenceArgs']]] = None, freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, key_shape: Optional[pulumi.Input[pulumi.InputType['KeyKeyShapeArgs']]] = None, management_endpoint: Optional[pulumi.Input[str]] = None, @@ -561,30 +692,6 @@ def __init__(__self__, to reject an otherwise valid request when the total rate of management write operations exceeds 10 requests per second for a given tenancy. - ## Example Usage - - ```python - import pulumi - import pulumi_oci as oci - - test_key = oci.kms.Key("testKey", - compartment_id=var["compartment_id"], - display_name=var["key_display_name"], - key_shape=oci.kms.KeyKeyShapeArgs( - algorithm=var["key_key_shape_algorithm"], - length=var["key_key_shape_length"], - curve_id=oci_kms_curve["test_curve"]["id"], - ), - management_endpoint=var["key_management_endpoint"], - defined_tags={ - "Operations.CostCenter": "42", - }, - freeform_tags={ - "Department": "Finance", - }, - protection_mode=var["key_protection_mode"]) - ``` - ## Import Keys can be imported using the `id`, e.g. @@ -599,10 +706,11 @@ def __init__(__self__, :param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` :param pulumi.Input[str] desired_state: (Updatable) Desired state of the key. Possible values : `ENABLED` or `DISABLED` :param pulumi.Input[str] display_name: (Updatable) A user-friendly name for the key. It does not have to be unique, and it is changeable. Avoid entering confidential information. + :param pulumi.Input[pulumi.InputType['KeyExternalKeyReferenceArgs']] external_key_reference: A reference to the key on external key manager. :param pulumi.Input[Mapping[str, Any]] freeform_tags: (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` :param pulumi.Input[pulumi.InputType['KeyKeyShapeArgs']] key_shape: The cryptographic properties of a key. :param pulumi.Input[str] management_endpoint: The service endpoint to perform management operations against. Management operations include 'Create,' 'Update,' 'List,' 'Get,' and 'Delete' operations. See Vault Management endpoint. - :param pulumi.Input[str] protection_mode: The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. + :param pulumi.Input[str] protection_mode: The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager. :param pulumi.Input[pulumi.InputType['KeyRestoreFromFileArgs']] restore_from_file: (Updatable) Details where key was backed up. :param pulumi.Input[pulumi.InputType['KeyRestoreFromObjectStoreArgs']] restore_from_object_store: (Updatable) Details where key was backed up :param pulumi.Input[bool] restore_trigger: (Updatable) An optional property when flipped triggers restore from restore option provided in config file. @@ -627,30 +735,6 @@ def __init__(__self__, to reject an otherwise valid request when the total rate of management write operations exceeds 10 requests per second for a given tenancy. - ## Example Usage - - ```python - import pulumi - import pulumi_oci as oci - - test_key = oci.kms.Key("testKey", - compartment_id=var["compartment_id"], - display_name=var["key_display_name"], - key_shape=oci.kms.KeyKeyShapeArgs( - algorithm=var["key_key_shape_algorithm"], - length=var["key_key_shape_length"], - curve_id=oci_kms_curve["test_curve"]["id"], - ), - management_endpoint=var["key_management_endpoint"], - defined_tags={ - "Operations.CostCenter": "42", - }, - freeform_tags={ - "Department": "Finance", - }, - protection_mode=var["key_protection_mode"]) - ``` - ## Import Keys can be imported using the `id`, e.g. @@ -669,6 +753,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + KeyArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -678,6 +766,7 @@ def _internal_init(__self__, defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, desired_state: Optional[pulumi.Input[str]] = None, display_name: Optional[pulumi.Input[str]] = None, + external_key_reference: Optional[pulumi.Input[pulumi.InputType['KeyExternalKeyReferenceArgs']]] = None, freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, key_shape: Optional[pulumi.Input[pulumi.InputType['KeyKeyShapeArgs']]] = None, management_endpoint: Optional[pulumi.Input[str]] = None, @@ -703,7 +792,18 @@ def _internal_init(__self__, if display_name is None and not opts.urn: raise TypeError("Missing required property 'display_name'") __props__.__dict__["display_name"] = display_name + if external_key_reference is not None and not isinstance(external_key_reference, KeyExternalKeyReferenceArgs): + external_key_reference = external_key_reference or {} + def _setter(key, value): + external_key_reference[key] = value + KeyExternalKeyReferenceArgs._configure(_setter, **external_key_reference) + __props__.__dict__["external_key_reference"] = external_key_reference __props__.__dict__["freeform_tags"] = freeform_tags + if key_shape is not None and not isinstance(key_shape, KeyKeyShapeArgs): + key_shape = key_shape or {} + def _setter(key, value): + key_shape[key] = value + KeyKeyShapeArgs._configure(_setter, **key_shape) if key_shape is None and not opts.urn: raise TypeError("Missing required property 'key_shape'") __props__.__dict__["key_shape"] = key_shape @@ -711,11 +811,22 @@ def _internal_init(__self__, raise TypeError("Missing required property 'management_endpoint'") __props__.__dict__["management_endpoint"] = management_endpoint __props__.__dict__["protection_mode"] = protection_mode + if restore_from_file is not None and not isinstance(restore_from_file, KeyRestoreFromFileArgs): + restore_from_file = restore_from_file or {} + def _setter(key, value): + restore_from_file[key] = value + KeyRestoreFromFileArgs._configure(_setter, **restore_from_file) __props__.__dict__["restore_from_file"] = restore_from_file + if restore_from_object_store is not None and not isinstance(restore_from_object_store, KeyRestoreFromObjectStoreArgs): + restore_from_object_store = restore_from_object_store or {} + def _setter(key, value): + restore_from_object_store[key] = value + KeyRestoreFromObjectStoreArgs._configure(_setter, **restore_from_object_store) __props__.__dict__["restore_from_object_store"] = restore_from_object_store __props__.__dict__["restore_trigger"] = restore_trigger __props__.__dict__["time_of_deletion"] = time_of_deletion __props__.__dict__["current_key_version"] = None + __props__.__dict__["external_key_reference_details"] = None __props__.__dict__["is_primary"] = None __props__.__dict__["replica_details"] = None __props__.__dict__["restored_from_key_id"] = None @@ -737,6 +848,8 @@ def get(resource_name: str, defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, desired_state: Optional[pulumi.Input[str]] = None, display_name: Optional[pulumi.Input[str]] = None, + external_key_reference: Optional[pulumi.Input[pulumi.InputType['KeyExternalKeyReferenceArgs']]] = None, + external_key_reference_details: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KeyExternalKeyReferenceDetailArgs']]]]] = None, freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, is_primary: Optional[pulumi.Input[bool]] = None, key_shape: Optional[pulumi.Input[pulumi.InputType['KeyKeyShapeArgs']]] = None, @@ -763,11 +876,13 @@ def get(resource_name: str, :param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` :param pulumi.Input[str] desired_state: (Updatable) Desired state of the key. Possible values : `ENABLED` or `DISABLED` :param pulumi.Input[str] display_name: (Updatable) A user-friendly name for the key. It does not have to be unique, and it is changeable. Avoid entering confidential information. + :param pulumi.Input[pulumi.InputType['KeyExternalKeyReferenceArgs']] external_key_reference: A reference to the key on external key manager. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KeyExternalKeyReferenceDetailArgs']]]] external_key_reference_details: Key reference data to be returned to the customer as a response. :param pulumi.Input[Mapping[str, Any]] freeform_tags: (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` - :param pulumi.Input[bool] is_primary: A boolean that will be true when key is primary, and will be false when key is a replica from a primary key. + :param pulumi.Input[bool] is_primary: A Boolean value that indicates whether the Key belongs to primary Vault or replica vault. :param pulumi.Input[pulumi.InputType['KeyKeyShapeArgs']] key_shape: The cryptographic properties of a key. :param pulumi.Input[str] management_endpoint: The service endpoint to perform management operations against. Management operations include 'Create,' 'Update,' 'List,' 'Get,' and 'Delete' operations. See Vault Management endpoint. - :param pulumi.Input[str] protection_mode: The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. + :param pulumi.Input[str] protection_mode: The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager. :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KeyReplicaDetailArgs']]]] replica_details: Key replica details :param pulumi.Input[pulumi.InputType['KeyRestoreFromFileArgs']] restore_from_file: (Updatable) Details where key was backed up. :param pulumi.Input[pulumi.InputType['KeyRestoreFromObjectStoreArgs']] restore_from_object_store: (Updatable) Details where key was backed up @@ -790,6 +905,8 @@ def get(resource_name: str, __props__.__dict__["defined_tags"] = defined_tags __props__.__dict__["desired_state"] = desired_state __props__.__dict__["display_name"] = display_name + __props__.__dict__["external_key_reference"] = external_key_reference + __props__.__dict__["external_key_reference_details"] = external_key_reference_details __props__.__dict__["freeform_tags"] = freeform_tags __props__.__dict__["is_primary"] = is_primary __props__.__dict__["key_shape"] = key_shape @@ -846,6 +963,22 @@ def display_name(self) -> pulumi.Output[str]: """ return pulumi.get(self, "display_name") + @property + @pulumi.getter(name="externalKeyReference") + def external_key_reference(self) -> pulumi.Output['outputs.KeyExternalKeyReference']: + """ + A reference to the key on external key manager. + """ + return pulumi.get(self, "external_key_reference") + + @property + @pulumi.getter(name="externalKeyReferenceDetails") + def external_key_reference_details(self) -> pulumi.Output[Sequence['outputs.KeyExternalKeyReferenceDetail']]: + """ + Key reference data to be returned to the customer as a response. + """ + return pulumi.get(self, "external_key_reference_details") + @property @pulumi.getter(name="freeformTags") def freeform_tags(self) -> pulumi.Output[Mapping[str, Any]]: @@ -858,7 +991,7 @@ def freeform_tags(self) -> pulumi.Output[Mapping[str, Any]]: @pulumi.getter(name="isPrimary") def is_primary(self) -> pulumi.Output[bool]: """ - A boolean that will be true when key is primary, and will be false when key is a replica from a primary key. + A Boolean value that indicates whether the Key belongs to primary Vault or replica vault. """ return pulumi.get(self, "is_primary") @@ -882,7 +1015,7 @@ def management_endpoint(self) -> pulumi.Output[str]: @pulumi.getter(name="protectionMode") def protection_mode(self) -> pulumi.Output[str]: """ - The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. + The key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. By default, a key's protection mode is set to `HSM`. You can't change a key's protection mode after the key is created or imported. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager. """ return pulumi.get(self, "protection_mode") diff --git a/sdk/python/pulumi_oci/kms/key_version.py b/sdk/python/pulumi_oci/kms/key_version.py index 9a6df8b1d5..9908cf050d 100644 --- a/sdk/python/pulumi_oci/kms/key_version.py +++ b/sdk/python/pulumi_oci/kms/key_version.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -18,20 +18,39 @@ class KeyVersionArgs: def __init__(__self__, *, key_id: pulumi.Input[str], management_endpoint: pulumi.Input[str], + external_key_version_id: Optional[pulumi.Input[str]] = None, time_of_deletion: Optional[pulumi.Input[str]] = None): """ The set of arguments for constructing a KeyVersion resource. :param pulumi.Input[str] key_id: The OCID of the key. :param pulumi.Input[str] management_endpoint: The service endpoint to perform management operations against. Management operations include 'Create,' 'Update,' 'List,' 'Get,' and 'Delete' operations. See Vault Management endpoint. + :param pulumi.Input[str] external_key_version_id: Key version ID associated with the external key. :param pulumi.Input[str] time_of_deletion: (Updatable) An optional property for the deletion time of the key version, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` ** 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 """ - pulumi.set(__self__, "key_id", key_id) - pulumi.set(__self__, "management_endpoint", management_endpoint) + KeyVersionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key_id=key_id, + management_endpoint=management_endpoint, + external_key_version_id=external_key_version_id, + time_of_deletion=time_of_deletion, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key_id: pulumi.Input[str], + management_endpoint: pulumi.Input[str], + external_key_version_id: Optional[pulumi.Input[str]] = None, + time_of_deletion: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key_id", key_id) + _setter("management_endpoint", management_endpoint) + if external_key_version_id is not None: + _setter("external_key_version_id", external_key_version_id) if time_of_deletion is not None: - pulumi.set(__self__, "time_of_deletion", time_of_deletion) + _setter("time_of_deletion", time_of_deletion) @property @pulumi.getter(name="keyId") @@ -57,6 +76,18 @@ def management_endpoint(self) -> pulumi.Input[str]: def management_endpoint(self, value: pulumi.Input[str]): pulumi.set(self, "management_endpoint", value) + @property + @pulumi.getter(name="externalKeyVersionId") + def external_key_version_id(self) -> Optional[pulumi.Input[str]]: + """ + Key version ID associated with the external key. + """ + return pulumi.get(self, "external_key_version_id") + + @external_key_version_id.setter + def external_key_version_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "external_key_version_id", value) + @property @pulumi.getter(name="timeOfDeletion") def time_of_deletion(self) -> Optional[pulumi.Input[str]]: @@ -77,6 +108,8 @@ def time_of_deletion(self, value: Optional[pulumi.Input[str]]): class _KeyVersionState: def __init__(__self__, *, compartment_id: Optional[pulumi.Input[str]] = None, + external_key_reference_details: Optional[pulumi.Input[Sequence[pulumi.Input['KeyVersionExternalKeyReferenceDetailArgs']]]] = None, + external_key_version_id: Optional[pulumi.Input[str]] = None, is_primary: Optional[pulumi.Input[bool]] = None, key_id: Optional[pulumi.Input[str]] = None, key_version_id: Optional[pulumi.Input[str]] = None, @@ -92,7 +125,9 @@ def __init__(__self__, *, """ Input properties used for looking up and filtering KeyVersion resources. :param pulumi.Input[str] compartment_id: The OCID of the compartment that contains this key version. - :param pulumi.Input[bool] is_primary: A boolean that will be true when key version is primary, and will be false when key version is a replica from a primary key version. + :param pulumi.Input[Sequence[pulumi.Input['KeyVersionExternalKeyReferenceDetailArgs']]] external_key_reference_details: Key reference data to be returned to the customer as a response. + :param pulumi.Input[str] external_key_version_id: Key version ID associated with the external key. + :param pulumi.Input[bool] is_primary: A Boolean value that indicates whether the KeyVersion belongs to primary Vault or replica Vault. :param pulumi.Input[str] key_id: The OCID of the key. :param pulumi.Input[str] management_endpoint: The service endpoint to perform management operations against. Management operations include 'Create,' 'Update,' 'List,' 'Get,' and 'Delete' operations. See Vault Management endpoint. :param pulumi.Input[str] public_key: The public key in PEM format. (This value pertains only to RSA and ECDSA keys.) @@ -106,32 +141,73 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] vault_id: The OCID of the vault that contains this key version. """ + _KeyVersionState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + external_key_reference_details=external_key_reference_details, + external_key_version_id=external_key_version_id, + is_primary=is_primary, + key_id=key_id, + key_version_id=key_version_id, + management_endpoint=management_endpoint, + public_key=public_key, + replica_details=replica_details, + restored_from_key_id=restored_from_key_id, + restored_from_key_version_id=restored_from_key_version_id, + state=state, + time_created=time_created, + time_of_deletion=time_of_deletion, + vault_id=vault_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + external_key_reference_details: Optional[pulumi.Input[Sequence[pulumi.Input['KeyVersionExternalKeyReferenceDetailArgs']]]] = None, + external_key_version_id: Optional[pulumi.Input[str]] = None, + is_primary: Optional[pulumi.Input[bool]] = None, + key_id: Optional[pulumi.Input[str]] = None, + key_version_id: Optional[pulumi.Input[str]] = None, + management_endpoint: Optional[pulumi.Input[str]] = None, + public_key: Optional[pulumi.Input[str]] = None, + replica_details: Optional[pulumi.Input[Sequence[pulumi.Input['KeyVersionReplicaDetailArgs']]]] = None, + restored_from_key_id: Optional[pulumi.Input[str]] = None, + restored_from_key_version_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_of_deletion: Optional[pulumi.Input[str]] = None, + vault_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) + if external_key_reference_details is not None: + _setter("external_key_reference_details", external_key_reference_details) + if external_key_version_id is not None: + _setter("external_key_version_id", external_key_version_id) if is_primary is not None: - pulumi.set(__self__, "is_primary", is_primary) + _setter("is_primary", is_primary) if key_id is not None: - pulumi.set(__self__, "key_id", key_id) + _setter("key_id", key_id) if key_version_id is not None: - pulumi.set(__self__, "key_version_id", key_version_id) + _setter("key_version_id", key_version_id) if management_endpoint is not None: - pulumi.set(__self__, "management_endpoint", management_endpoint) + _setter("management_endpoint", management_endpoint) if public_key is not None: - pulumi.set(__self__, "public_key", public_key) + _setter("public_key", public_key) if replica_details is not None: - pulumi.set(__self__, "replica_details", replica_details) + _setter("replica_details", replica_details) if restored_from_key_id is not None: - pulumi.set(__self__, "restored_from_key_id", restored_from_key_id) + _setter("restored_from_key_id", restored_from_key_id) if restored_from_key_version_id is not None: - pulumi.set(__self__, "restored_from_key_version_id", restored_from_key_version_id) + _setter("restored_from_key_version_id", restored_from_key_version_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_of_deletion is not None: - pulumi.set(__self__, "time_of_deletion", time_of_deletion) + _setter("time_of_deletion", time_of_deletion) if vault_id is not None: - pulumi.set(__self__, "vault_id", vault_id) + _setter("vault_id", vault_id) @property @pulumi.getter(name="compartmentId") @@ -145,11 +221,35 @@ def compartment_id(self) -> Optional[pulumi.Input[str]]: def compartment_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "compartment_id", value) + @property + @pulumi.getter(name="externalKeyReferenceDetails") + def external_key_reference_details(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['KeyVersionExternalKeyReferenceDetailArgs']]]]: + """ + Key reference data to be returned to the customer as a response. + """ + return pulumi.get(self, "external_key_reference_details") + + @external_key_reference_details.setter + def external_key_reference_details(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['KeyVersionExternalKeyReferenceDetailArgs']]]]): + pulumi.set(self, "external_key_reference_details", value) + + @property + @pulumi.getter(name="externalKeyVersionId") + def external_key_version_id(self) -> Optional[pulumi.Input[str]]: + """ + Key version ID associated with the external key. + """ + return pulumi.get(self, "external_key_version_id") + + @external_key_version_id.setter + def external_key_version_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "external_key_version_id", value) + @property @pulumi.getter(name="isPrimary") def is_primary(self) -> Optional[pulumi.Input[bool]]: """ - A boolean that will be true when key version is primary, and will be false when key version is a replica from a primary key version. + A Boolean value that indicates whether the KeyVersion belongs to primary Vault or replica Vault. """ return pulumi.get(self, "is_primary") @@ -292,6 +392,7 @@ class KeyVersion(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, + external_key_version_id: Optional[pulumi.Input[str]] = None, key_id: Optional[pulumi.Input[str]] = None, management_endpoint: Optional[pulumi.Input[str]] = None, time_of_deletion: Optional[pulumi.Input[str]] = None, @@ -307,17 +408,6 @@ def __init__(__self__, otherwise valid request when the total rate of management write operations exceeds 10 requests per second for a given tenancy. - ## Example Usage - - ```python - import pulumi - import pulumi_oci as oci - - test_key_version = oci.kms.KeyVersion("testKeyVersion", - key_id=oci_kms_key["test_key"]["id"], - management_endpoint=var["key_version_management_endpoint"]) - ``` - ## Import KeyVersions can be imported using the `id`, e.g. @@ -328,6 +418,7 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. + :param pulumi.Input[str] external_key_version_id: Key version ID associated with the external key. :param pulumi.Input[str] key_id: The OCID of the key. :param pulumi.Input[str] management_endpoint: The service endpoint to perform management operations against. Management operations include 'Create,' 'Update,' 'List,' 'Get,' and 'Delete' operations. See Vault Management endpoint. :param pulumi.Input[str] time_of_deletion: (Updatable) An optional property for the deletion time of the key version, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` @@ -352,17 +443,6 @@ def __init__(__self__, otherwise valid request when the total rate of management write operations exceeds 10 requests per second for a given tenancy. - ## Example Usage - - ```python - import pulumi - import pulumi_oci as oci - - test_key_version = oci.kms.KeyVersion("testKeyVersion", - key_id=oci_kms_key["test_key"]["id"], - management_endpoint=var["key_version_management_endpoint"]) - ``` - ## Import KeyVersions can be imported using the `id`, e.g. @@ -381,11 +461,16 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + KeyVersionArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, + external_key_version_id: Optional[pulumi.Input[str]] = None, key_id: Optional[pulumi.Input[str]] = None, management_endpoint: Optional[pulumi.Input[str]] = None, time_of_deletion: Optional[pulumi.Input[str]] = None, @@ -398,6 +483,7 @@ def _internal_init(__self__, raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = KeyVersionArgs.__new__(KeyVersionArgs) + __props__.__dict__["external_key_version_id"] = external_key_version_id if key_id is None and not opts.urn: raise TypeError("Missing required property 'key_id'") __props__.__dict__["key_id"] = key_id @@ -406,6 +492,7 @@ def _internal_init(__self__, __props__.__dict__["management_endpoint"] = management_endpoint __props__.__dict__["time_of_deletion"] = time_of_deletion __props__.__dict__["compartment_id"] = None + __props__.__dict__["external_key_reference_details"] = None __props__.__dict__["is_primary"] = None __props__.__dict__["key_version_id"] = None __props__.__dict__["public_key"] = None @@ -426,6 +513,8 @@ def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, compartment_id: Optional[pulumi.Input[str]] = None, + external_key_reference_details: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KeyVersionExternalKeyReferenceDetailArgs']]]]] = None, + external_key_version_id: Optional[pulumi.Input[str]] = None, is_primary: Optional[pulumi.Input[bool]] = None, key_id: Optional[pulumi.Input[str]] = None, key_version_id: Optional[pulumi.Input[str]] = None, @@ -446,7 +535,9 @@ def get(resource_name: str, :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] compartment_id: The OCID of the compartment that contains this key version. - :param pulumi.Input[bool] is_primary: A boolean that will be true when key version is primary, and will be false when key version is a replica from a primary key version. + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['KeyVersionExternalKeyReferenceDetailArgs']]]] external_key_reference_details: Key reference data to be returned to the customer as a response. + :param pulumi.Input[str] external_key_version_id: Key version ID associated with the external key. + :param pulumi.Input[bool] is_primary: A Boolean value that indicates whether the KeyVersion belongs to primary Vault or replica Vault. :param pulumi.Input[str] key_id: The OCID of the key. :param pulumi.Input[str] management_endpoint: The service endpoint to perform management operations against. Management operations include 'Create,' 'Update,' 'List,' 'Get,' and 'Delete' operations. See Vault Management endpoint. :param pulumi.Input[str] public_key: The public key in PEM format. (This value pertains only to RSA and ECDSA keys.) @@ -465,6 +556,8 @@ def get(resource_name: str, __props__ = _KeyVersionState.__new__(_KeyVersionState) __props__.__dict__["compartment_id"] = compartment_id + __props__.__dict__["external_key_reference_details"] = external_key_reference_details + __props__.__dict__["external_key_version_id"] = external_key_version_id __props__.__dict__["is_primary"] = is_primary __props__.__dict__["key_id"] = key_id __props__.__dict__["key_version_id"] = key_version_id @@ -487,11 +580,27 @@ def compartment_id(self) -> pulumi.Output[str]: """ return pulumi.get(self, "compartment_id") + @property + @pulumi.getter(name="externalKeyReferenceDetails") + def external_key_reference_details(self) -> pulumi.Output[Sequence['outputs.KeyVersionExternalKeyReferenceDetail']]: + """ + Key reference data to be returned to the customer as a response. + """ + return pulumi.get(self, "external_key_reference_details") + + @property + @pulumi.getter(name="externalKeyVersionId") + def external_key_version_id(self) -> pulumi.Output[str]: + """ + Key version ID associated with the external key. + """ + return pulumi.get(self, "external_key_version_id") + @property @pulumi.getter(name="isPrimary") def is_primary(self) -> pulumi.Output[bool]: """ - A boolean that will be true when key version is primary, and will be false when key version is a replica from a primary key version. + A Boolean value that indicates whether the KeyVersion belongs to primary Vault or replica Vault. """ return pulumi.get(self, "is_primary") diff --git a/sdk/python/pulumi_oci/kms/outputs.py b/sdk/python/pulumi_oci/kms/outputs.py index 726598d78f..7ee1456c46 100644 --- a/sdk/python/pulumi_oci/kms/outputs.py +++ b/sdk/python/pulumi_oci/kms/outputs.py @@ -6,35 +6,54 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs __all__ = [ 'GeneratedKeyKeyShape', + 'KeyExternalKeyReference', + 'KeyExternalKeyReferenceDetail', 'KeyKeyShape', 'KeyReplicaDetail', 'KeyRestoreFromFile', 'KeyRestoreFromObjectStore', + 'KeyVersionExternalKeyReferenceDetail', 'KeyVersionReplicaDetail', + 'VaultExternalKeyManagerMetadata', + 'VaultExternalKeyManagerMetadataOauthMetadata', + 'VaultExternalKeyManagerMetadataSummary', + 'VaultExternalKeyManagerMetadataSummaryOauthMetadataSummary', 'VaultReplicaDetail', 'VaultRestoreFromFile', 'VaultRestoreFromObjectStore', + 'GetEkmsPrivateEndpointsEkmsPrivateEndpointResult', + 'GetEkmsPrivateEndpointsFilterResult', + 'GetKeyExternalKeyReferenceResult', + 'GetKeyExternalKeyReferenceDetailResult', 'GetKeyKeyShapeResult', 'GetKeyReplicaDetailResult', 'GetKeyRestoreFromFileResult', 'GetKeyRestoreFromObjectStoreResult', + 'GetKeyVersionExternalKeyReferenceDetailResult', 'GetKeyVersionReplicaDetailResult', 'GetKeyVersionsFilterResult', 'GetKeyVersionsKeyVersionResult', + 'GetKeyVersionsKeyVersionExternalKeyReferenceDetailResult', 'GetKeyVersionsKeyVersionReplicaDetailResult', 'GetKeysFilterResult', 'GetKeysKeyResult', + 'GetKeysKeyExternalKeyReferenceResult', + 'GetKeysKeyExternalKeyReferenceDetailResult', 'GetKeysKeyKeyShapeResult', 'GetKeysKeyReplicaDetailResult', 'GetKeysKeyRestoreFromFileResult', 'GetKeysKeyRestoreFromObjectStoreResult', 'GetReplicationStatusReplicaDetailResult', + 'GetVaultExternalKeyManagerMetadataResult', + 'GetVaultExternalKeyManagerMetadataOauthMetadataResult', + 'GetVaultExternalKeyManagerMetadataSummaryResult', + 'GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryResult', 'GetVaultReplicaDetailResult', 'GetVaultReplicasFilterResult', 'GetVaultReplicasVaultReplicaResult', @@ -42,6 +61,10 @@ 'GetVaultRestoreFromObjectStoreResult', 'GetVaultsFilterResult', 'GetVaultsVaultResult', + 'GetVaultsVaultExternalKeyManagerMetadataResult', + 'GetVaultsVaultExternalKeyManagerMetadataOauthMetadataResult', + 'GetVaultsVaultExternalKeyManagerMetadataSummaryResult', + 'GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryResult', 'GetVaultsVaultReplicaDetailResult', 'GetVaultsVaultRestoreFromFileResult', 'GetVaultsVaultRestoreFromObjectStoreResult', @@ -71,23 +94,36 @@ def __init__(__self__, *, length: int, curve_id: Optional[str] = None): """ - :param str algorithm: The algorithm used by a key's key versions to encrypt or decrypt. + :param str algorithm: The algorithm used by a key's key versions to encrypt or decrypt. Only AES algorithm is supported for `External` keys. :param int length: The length of the key in bytes, expressed as an integer. Supported values include the following: * AES: 16, 24, or 32 * RSA: 256, 384, or 512 * ECDSA: 32, 48, or 66 :param str curve_id: Supported curve IDs for ECDSA keys. """ - pulumi.set(__self__, "algorithm", algorithm) - pulumi.set(__self__, "length", length) + GeneratedKeyKeyShape._configure( + lambda key, value: pulumi.set(__self__, key, value), + algorithm=algorithm, + length=length, + curve_id=curve_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + algorithm: str, + length: int, + curve_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("algorithm", algorithm) + _setter("length", length) if curve_id is not None: - pulumi.set(__self__, "curve_id", curve_id) + _setter("curve_id", curve_id) @property @pulumi.getter def algorithm(self) -> str: """ - The algorithm used by a key's key versions to encrypt or decrypt. + The algorithm used by a key's key versions to encrypt or decrypt. Only AES algorithm is supported for `External` keys. """ return pulumi.get(self, "algorithm") @@ -111,6 +147,111 @@ def curve_id(self) -> Optional[str]: return pulumi.get(self, "curve_id") +@pulumi.output_type +class KeyExternalKeyReference(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "externalKeyId": + suggest = "external_key_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in KeyExternalKeyReference. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + KeyExternalKeyReference.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + KeyExternalKeyReference.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + external_key_id: str): + """ + :param str external_key_id: ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM + """ + KeyExternalKeyReference._configure( + lambda key, value: pulumi.set(__self__, key, value), + external_key_id=external_key_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + external_key_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("external_key_id", external_key_id) + + @property + @pulumi.getter(name="externalKeyId") + def external_key_id(self) -> str: + """ + ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM + """ + return pulumi.get(self, "external_key_id") + + +@pulumi.output_type +class KeyExternalKeyReferenceDetail(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "externalKeyId": + suggest = "external_key_id" + elif key == "externalKeyVersionId": + suggest = "external_key_version_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in KeyExternalKeyReferenceDetail. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + KeyExternalKeyReferenceDetail.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + KeyExternalKeyReferenceDetail.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + external_key_id: Optional[str] = None, + external_key_version_id: Optional[str] = None): + """ + :param str external_key_id: ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM + :param str external_key_version_id: Key version ID associated with the external key. + """ + KeyExternalKeyReferenceDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + external_key_id=external_key_id, + external_key_version_id=external_key_version_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + external_key_id: Optional[str] = None, + external_key_version_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if external_key_id is not None: + _setter("external_key_id", external_key_id) + if external_key_version_id is not None: + _setter("external_key_version_id", external_key_version_id) + + @property + @pulumi.getter(name="externalKeyId") + def external_key_id(self) -> Optional[str]: + """ + ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM + """ + return pulumi.get(self, "external_key_id") + + @property + @pulumi.getter(name="externalKeyVersionId") + def external_key_version_id(self) -> Optional[str]: + """ + Key version ID associated with the external key. + """ + return pulumi.get(self, "external_key_version_id") + + @pulumi.output_type class KeyKeyShape(dict): @staticmethod @@ -135,23 +276,36 @@ def __init__(__self__, *, length: int, curve_id: Optional[str] = None): """ - :param str algorithm: The algorithm used by a key's key versions to encrypt or decrypt. + :param str algorithm: The algorithm used by a key's key versions to encrypt or decrypt. Only AES algorithm is supported for `External` keys. :param int length: The length of the key in bytes, expressed as an integer. Supported values include the following: * AES: 16, 24, or 32 * RSA: 256, 384, or 512 * ECDSA: 32, 48, or 66 :param str curve_id: Supported curve IDs for ECDSA keys. """ - pulumi.set(__self__, "algorithm", algorithm) - pulumi.set(__self__, "length", length) + KeyKeyShape._configure( + lambda key, value: pulumi.set(__self__, key, value), + algorithm=algorithm, + length=length, + curve_id=curve_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + algorithm: str, + length: int, + curve_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("algorithm", algorithm) + _setter("length", length) if curve_id is not None: - pulumi.set(__self__, "curve_id", curve_id) + _setter("curve_id", curve_id) @property @pulumi.getter def algorithm(self) -> str: """ - The algorithm used by a key's key versions to encrypt or decrypt. + The algorithm used by a key's key versions to encrypt or decrypt. Only AES algorithm is supported for `External` keys. """ return pulumi.get(self, "algorithm") @@ -199,8 +353,17 @@ def __init__(__self__, *, """ :param str replication_id: ReplicationId associated with a key operation """ + KeyReplicaDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + replication_id=replication_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + replication_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if replication_id is not None: - pulumi.set(__self__, "replication_id", replication_id) + _setter("replication_id", replication_id) @property @pulumi.getter(name="replicationId") @@ -243,10 +406,23 @@ def __init__(__self__, *, :param str restore_key_from_file_details: Key backup file content. :param str content_md5: (Updatable) content md5 hashed value of key's backup file """ - pulumi.set(__self__, "content_length", content_length) - pulumi.set(__self__, "restore_key_from_file_details", restore_key_from_file_details) + KeyRestoreFromFile._configure( + lambda key, value: pulumi.set(__self__, key, value), + content_length=content_length, + restore_key_from_file_details=restore_key_from_file_details, + content_md5=content_md5, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + content_length: str, + restore_key_from_file_details: str, + content_md5: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("content_length", content_length) + _setter("restore_key_from_file_details", restore_key_from_file_details) if content_md5 is not None: - pulumi.set(__self__, "content_md5", content_md5) + _setter("content_md5", content_md5) @property @pulumi.getter(name="contentLength") @@ -288,15 +464,32 @@ def __init__(__self__, *, :param str object: (Updatable) Object containing the backup :param str uri: (Updatable) Pre-authenticated-request-uri of the backup """ - pulumi.set(__self__, "destination", destination) + KeyRestoreFromObjectStore._configure( + lambda key, value: pulumi.set(__self__, key, value), + destination=destination, + bucket=bucket, + namespace=namespace, + object=object, + uri=uri, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + destination: str, + bucket: Optional[str] = None, + namespace: Optional[str] = None, + object: Optional[str] = None, + uri: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("destination", destination) if bucket is not None: - pulumi.set(__self__, "bucket", bucket) + _setter("bucket", bucket) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if object is not None: - pulumi.set(__self__, "object", object) + _setter("object", object) if uri is not None: - pulumi.set(__self__, "uri", uri) + _setter("uri", uri) @property @pulumi.getter @@ -339,6 +532,67 @@ def uri(self) -> Optional[str]: return pulumi.get(self, "uri") +@pulumi.output_type +class KeyVersionExternalKeyReferenceDetail(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "externalKeyId": + suggest = "external_key_id" + elif key == "externalKeyVersionId": + suggest = "external_key_version_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in KeyVersionExternalKeyReferenceDetail. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + KeyVersionExternalKeyReferenceDetail.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + KeyVersionExternalKeyReferenceDetail.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + external_key_id: Optional[str] = None, + external_key_version_id: Optional[str] = None): + """ + :param str external_key_id: ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. + :param str external_key_version_id: Key version ID associated with the external key. + """ + KeyVersionExternalKeyReferenceDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + external_key_id=external_key_id, + external_key_version_id=external_key_version_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + external_key_id: Optional[str] = None, + external_key_version_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if external_key_id is not None: + _setter("external_key_id", external_key_id) + if external_key_version_id is not None: + _setter("external_key_version_id", external_key_version_id) + + @property + @pulumi.getter(name="externalKeyId") + def external_key_id(self) -> Optional[str]: + """ + ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. + """ + return pulumi.get(self, "external_key_id") + + @property + @pulumi.getter(name="externalKeyVersionId") + def external_key_version_id(self) -> Optional[str]: + """ + Key version ID associated with the external key. + """ + return pulumi.get(self, "external_key_version_id") + + @pulumi.output_type class KeyVersionReplicaDetail(dict): @staticmethod @@ -363,8 +617,17 @@ def __init__(__self__, *, """ :param str replication_id: ReplicationId associated with a key version operation """ + KeyVersionReplicaDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + replication_id=replication_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + replication_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if replication_id is not None: - pulumi.set(__self__, "replication_id", replication_id) + _setter("replication_id", replication_id) @property @pulumi.getter(name="replicationId") @@ -375,6 +638,306 @@ def replication_id(self) -> Optional[str]: return pulumi.get(self, "replication_id") +@pulumi.output_type +class VaultExternalKeyManagerMetadata(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "externalVaultEndpointUrl": + suggest = "external_vault_endpoint_url" + elif key == "oauthMetadata": + suggest = "oauth_metadata" + elif key == "privateEndpointId": + suggest = "private_endpoint_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in VaultExternalKeyManagerMetadata. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + VaultExternalKeyManagerMetadata.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + VaultExternalKeyManagerMetadata.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + external_vault_endpoint_url: str, + oauth_metadata: 'outputs.VaultExternalKeyManagerMetadataOauthMetadata', + private_endpoint_id: str): + """ + :param str external_vault_endpoint_url: URI of the vault on external key manager. + :param 'VaultExternalKeyManagerMetadataOauthMetadataArgs' oauth_metadata: Authorization details required to get access token from IDP for accessing protected resources. + :param str private_endpoint_id: OCID of private endpoint created by customer. + """ + VaultExternalKeyManagerMetadata._configure( + lambda key, value: pulumi.set(__self__, key, value), + external_vault_endpoint_url=external_vault_endpoint_url, + oauth_metadata=oauth_metadata, + private_endpoint_id=private_endpoint_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + external_vault_endpoint_url: str, + oauth_metadata: 'outputs.VaultExternalKeyManagerMetadataOauthMetadata', + private_endpoint_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("external_vault_endpoint_url", external_vault_endpoint_url) + _setter("oauth_metadata", oauth_metadata) + _setter("private_endpoint_id", private_endpoint_id) + + @property + @pulumi.getter(name="externalVaultEndpointUrl") + def external_vault_endpoint_url(self) -> str: + """ + URI of the vault on external key manager. + """ + return pulumi.get(self, "external_vault_endpoint_url") + + @property + @pulumi.getter(name="oauthMetadata") + def oauth_metadata(self) -> 'outputs.VaultExternalKeyManagerMetadataOauthMetadata': + """ + Authorization details required to get access token from IDP for accessing protected resources. + """ + return pulumi.get(self, "oauth_metadata") + + @property + @pulumi.getter(name="privateEndpointId") + def private_endpoint_id(self) -> str: + """ + OCID of private endpoint created by customer. + """ + return pulumi.get(self, "private_endpoint_id") + + +@pulumi.output_type +class VaultExternalKeyManagerMetadataOauthMetadata(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "clientAppId": + suggest = "client_app_id" + elif key == "clientAppSecret": + suggest = "client_app_secret" + elif key == "idcsAccountNameUrl": + suggest = "idcs_account_name_url" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in VaultExternalKeyManagerMetadataOauthMetadata. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + VaultExternalKeyManagerMetadataOauthMetadata.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + VaultExternalKeyManagerMetadataOauthMetadata.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + client_app_id: str, + client_app_secret: str, + idcs_account_name_url: str): + """ + :param str client_app_id: ID of the client app created in IDP. + :param str client_app_secret: Secret of the client app created in IDP. + :param str idcs_account_name_url: Base URL of the IDCS account where confidential client app is created. + """ + VaultExternalKeyManagerMetadataOauthMetadata._configure( + lambda key, value: pulumi.set(__self__, key, value), + client_app_id=client_app_id, + client_app_secret=client_app_secret, + idcs_account_name_url=idcs_account_name_url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + client_app_id: str, + client_app_secret: str, + idcs_account_name_url: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("client_app_id", client_app_id) + _setter("client_app_secret", client_app_secret) + _setter("idcs_account_name_url", idcs_account_name_url) + + @property + @pulumi.getter(name="clientAppId") + def client_app_id(self) -> str: + """ + ID of the client app created in IDP. + """ + return pulumi.get(self, "client_app_id") + + @property + @pulumi.getter(name="clientAppSecret") + def client_app_secret(self) -> str: + """ + Secret of the client app created in IDP. + """ + return pulumi.get(self, "client_app_secret") + + @property + @pulumi.getter(name="idcsAccountNameUrl") + def idcs_account_name_url(self) -> str: + """ + Base URL of the IDCS account where confidential client app is created. + """ + return pulumi.get(self, "idcs_account_name_url") + + +@pulumi.output_type +class VaultExternalKeyManagerMetadataSummary(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "externalVaultEndpointUrl": + suggest = "external_vault_endpoint_url" + elif key == "oauthMetadataSummaries": + suggest = "oauth_metadata_summaries" + elif key == "privateEndpointId": + suggest = "private_endpoint_id" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in VaultExternalKeyManagerMetadataSummary. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + VaultExternalKeyManagerMetadataSummary.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + VaultExternalKeyManagerMetadataSummary.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + external_vault_endpoint_url: Optional[str] = None, + oauth_metadata_summaries: Optional[Sequence['outputs.VaultExternalKeyManagerMetadataSummaryOauthMetadataSummary']] = None, + private_endpoint_id: Optional[str] = None, + vendor: Optional[str] = None): + """ + :param str external_vault_endpoint_url: URI of the vault on external key manager. + :param Sequence['VaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArgs'] oauth_metadata_summaries: Summary about authorization to be returned to the customer as a response. + :param str private_endpoint_id: OCID of private endpoint created by customer. + :param str vendor: Vendor of the external key manager. + """ + VaultExternalKeyManagerMetadataSummary._configure( + lambda key, value: pulumi.set(__self__, key, value), + external_vault_endpoint_url=external_vault_endpoint_url, + oauth_metadata_summaries=oauth_metadata_summaries, + private_endpoint_id=private_endpoint_id, + vendor=vendor, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + external_vault_endpoint_url: Optional[str] = None, + oauth_metadata_summaries: Optional[Sequence['outputs.VaultExternalKeyManagerMetadataSummaryOauthMetadataSummary']] = None, + private_endpoint_id: Optional[str] = None, + vendor: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if external_vault_endpoint_url is not None: + _setter("external_vault_endpoint_url", external_vault_endpoint_url) + if oauth_metadata_summaries is not None: + _setter("oauth_metadata_summaries", oauth_metadata_summaries) + if private_endpoint_id is not None: + _setter("private_endpoint_id", private_endpoint_id) + if vendor is not None: + _setter("vendor", vendor) + + @property + @pulumi.getter(name="externalVaultEndpointUrl") + def external_vault_endpoint_url(self) -> Optional[str]: + """ + URI of the vault on external key manager. + """ + return pulumi.get(self, "external_vault_endpoint_url") + + @property + @pulumi.getter(name="oauthMetadataSummaries") + def oauth_metadata_summaries(self) -> Optional[Sequence['outputs.VaultExternalKeyManagerMetadataSummaryOauthMetadataSummary']]: + """ + Summary about authorization to be returned to the customer as a response. + """ + return pulumi.get(self, "oauth_metadata_summaries") + + @property + @pulumi.getter(name="privateEndpointId") + def private_endpoint_id(self) -> Optional[str]: + """ + OCID of private endpoint created by customer. + """ + return pulumi.get(self, "private_endpoint_id") + + @property + @pulumi.getter + def vendor(self) -> Optional[str]: + """ + Vendor of the external key manager. + """ + return pulumi.get(self, "vendor") + + +@pulumi.output_type +class VaultExternalKeyManagerMetadataSummaryOauthMetadataSummary(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "clientAppId": + suggest = "client_app_id" + elif key == "idcsAccountNameUrl": + suggest = "idcs_account_name_url" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in VaultExternalKeyManagerMetadataSummaryOauthMetadataSummary. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + VaultExternalKeyManagerMetadataSummaryOauthMetadataSummary.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + VaultExternalKeyManagerMetadataSummaryOauthMetadataSummary.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + client_app_id: Optional[str] = None, + idcs_account_name_url: Optional[str] = None): + """ + :param str client_app_id: ID of the client app created in IDP. + :param str idcs_account_name_url: Base URL of the IDCS account where confidential client app is created. + """ + VaultExternalKeyManagerMetadataSummaryOauthMetadataSummary._configure( + lambda key, value: pulumi.set(__self__, key, value), + client_app_id=client_app_id, + idcs_account_name_url=idcs_account_name_url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + client_app_id: Optional[str] = None, + idcs_account_name_url: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if client_app_id is not None: + _setter("client_app_id", client_app_id) + if idcs_account_name_url is not None: + _setter("idcs_account_name_url", idcs_account_name_url) + + @property + @pulumi.getter(name="clientAppId") + def client_app_id(self) -> Optional[str]: + """ + ID of the client app created in IDP. + """ + return pulumi.get(self, "client_app_id") + + @property + @pulumi.getter(name="idcsAccountNameUrl") + def idcs_account_name_url(self) -> Optional[str]: + """ + Base URL of the IDCS account where confidential client app is created. + """ + return pulumi.get(self, "idcs_account_name_url") + + @pulumi.output_type class VaultReplicaDetail(dict): @staticmethod @@ -399,8 +962,17 @@ def __init__(__self__, *, """ :param str replication_id: ReplicationId associated with a vault operation """ + VaultReplicaDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + replication_id=replication_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + replication_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if replication_id is not None: - pulumi.set(__self__, "replication_id", replication_id) + _setter("replication_id", replication_id) @property @pulumi.getter(name="replicationId") @@ -443,10 +1015,23 @@ def __init__(__self__, *, :param str restore_vault_from_file_details: Vault backup file content :param str content_md5: (Updatable) content md5 hashed value of vault's backup file """ - pulumi.set(__self__, "content_length", content_length) - pulumi.set(__self__, "restore_vault_from_file_details", restore_vault_from_file_details) + VaultRestoreFromFile._configure( + lambda key, value: pulumi.set(__self__, key, value), + content_length=content_length, + restore_vault_from_file_details=restore_vault_from_file_details, + content_md5=content_md5, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + content_length: str, + restore_vault_from_file_details: str, + content_md5: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("content_length", content_length) + _setter("restore_vault_from_file_details", restore_vault_from_file_details) if content_md5 is not None: - pulumi.set(__self__, "content_md5", content_md5) + _setter("content_md5", content_md5) @property @pulumi.getter(name="contentLength") @@ -488,15 +1073,32 @@ def __init__(__self__, *, :param str object: (Updatable) Object containing the backup :param str uri: (Updatable) Pre-authenticated-request-uri of the backup* `restore_trigger` - (Optional) (Updatable) An optional property when flipped triggers restore from restore option provided in config file. """ - pulumi.set(__self__, "destination", destination) + VaultRestoreFromObjectStore._configure( + lambda key, value: pulumi.set(__self__, key, value), + destination=destination, + bucket=bucket, + namespace=namespace, + object=object, + uri=uri, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + destination: str, + bucket: Optional[str] = None, + namespace: Optional[str] = None, + object: Optional[str] = None, + uri: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("destination", destination) if bucket is not None: - pulumi.set(__self__, "bucket", bucket) + _setter("bucket", bucket) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if object is not None: - pulumi.set(__self__, "object", object) + _setter("object", object) if uri is not None: - pulumi.set(__self__, "uri", uri) + _setter("uri", uri) @property @pulumi.getter @@ -510,33 +1112,336 @@ def destination(self) -> str: @pulumi.getter def bucket(self) -> Optional[str]: """ - (Updatable) Name of the bucket where vault was backed up + (Updatable) Name of the bucket where vault was backed up + """ + return pulumi.get(self, "bucket") + + @property + @pulumi.getter + def namespace(self) -> Optional[str]: + """ + (Updatable) Namespace of the bucket where vault was backed up + """ + return pulumi.get(self, "namespace") + + @property + @pulumi.getter + def object(self) -> Optional[str]: + """ + (Updatable) Object containing the backup + """ + return pulumi.get(self, "object") + + @property + @pulumi.getter + def uri(self) -> Optional[str]: + """ + (Updatable) Pre-authenticated-request-uri of the backup* `restore_trigger` - (Optional) (Updatable) An optional property when flipped triggers restore from restore option provided in config file. + """ + return pulumi.get(self, "uri") + + +@pulumi.output_type +class GetEkmsPrivateEndpointsEkmsPrivateEndpointResult(dict): + def __init__(__self__, *, + ca_bundle: str, + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + external_key_manager_ip: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + port: int, + private_endpoint_ip: str, + state: str, + subnet_id: str, + time_created: str, + time_updated: str): + """ + :param str ca_bundle: CABundle to validate TLS certificate of the external key manager system in PEM format + :param str compartment_id: The OCID of the compartment. + :param Mapping[str, Any] defined_tags: Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"foo-namespace.bar-key": "value"}` + :param str display_name: Mutable name of the EKMS private endpoint + :param str external_key_manager_ip: Private IP of the external key manager system to connect to from the EKMS private endpoint + :param Mapping[str, Any] freeform_tags: Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + :param str id: Unique identifier that is immutable + :param str lifecycle_details: A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state. + :param int port: The port of the external key manager system + :param str private_endpoint_ip: The IP address in the customer's VCN for the EKMS private endpoint. This is taken from subnet + :param str state: The current state of the EKMS private endpoint resource. + :param str subnet_id: Subnet Identifier + :param str time_created: The time the EKMS private endpoint was created. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. + :param str time_updated: The time the EKMS private endpoint was updated. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. + """ + GetEkmsPrivateEndpointsEkmsPrivateEndpointResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ca_bundle=ca_bundle, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + external_key_manager_ip=external_key_manager_ip, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + port=port, + private_endpoint_ip=private_endpoint_ip, + state=state, + subnet_id=subnet_id, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ca_bundle: str, + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + external_key_manager_ip: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + port: int, + private_endpoint_ip: str, + state: str, + subnet_id: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ca_bundle", ca_bundle) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("external_key_manager_ip", external_key_manager_ip) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("port", port) + _setter("private_endpoint_ip", private_endpoint_ip) + _setter("state", state) + _setter("subnet_id", subnet_id) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + + @property + @pulumi.getter(name="caBundle") + def ca_bundle(self) -> str: + """ + CABundle to validate TLS certificate of the external key manager system in PEM format + """ + return pulumi.get(self, "ca_bundle") + + @property + @pulumi.getter(name="compartmentId") + def compartment_id(self) -> str: + """ + The OCID of the compartment. + """ + return pulumi.get(self, "compartment_id") + + @property + @pulumi.getter(name="definedTags") + def defined_tags(self) -> Mapping[str, Any]: + """ + Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: `{"foo-namespace.bar-key": "value"}` + """ + return pulumi.get(self, "defined_tags") + + @property + @pulumi.getter(name="displayName") + def display_name(self) -> str: + """ + Mutable name of the EKMS private endpoint + """ + return pulumi.get(self, "display_name") + + @property + @pulumi.getter(name="externalKeyManagerIp") + def external_key_manager_ip(self) -> str: + """ + Private IP of the external key manager system to connect to from the EKMS private endpoint + """ + return pulumi.get(self, "external_key_manager_ip") + + @property + @pulumi.getter(name="freeformTags") + def freeform_tags(self) -> Mapping[str, Any]: + """ + Simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` + """ + return pulumi.get(self, "freeform_tags") + + @property + @pulumi.getter + def id(self) -> str: + """ + Unique identifier that is immutable + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="lifecycleDetails") + def lifecycle_details(self) -> str: + """ + A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in 'Failed' state. + """ + return pulumi.get(self, "lifecycle_details") + + @property + @pulumi.getter + def port(self) -> int: + """ + The port of the external key manager system + """ + return pulumi.get(self, "port") + + @property + @pulumi.getter(name="privateEndpointIp") + def private_endpoint_ip(self) -> str: + """ + The IP address in the customer's VCN for the EKMS private endpoint. This is taken from subnet + """ + return pulumi.get(self, "private_endpoint_ip") + + @property + @pulumi.getter + def state(self) -> str: + """ + The current state of the EKMS private endpoint resource. + """ + return pulumi.get(self, "state") + + @property + @pulumi.getter(name="subnetId") + def subnet_id(self) -> str: + """ + Subnet Identifier + """ + return pulumi.get(self, "subnet_id") + + @property + @pulumi.getter(name="timeCreated") + def time_created(self) -> str: + """ + The time the EKMS private endpoint was created. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. + """ + return pulumi.get(self, "time_created") + + @property + @pulumi.getter(name="timeUpdated") + def time_updated(self) -> str: + """ + The time the EKMS private endpoint was updated. An [RFC3339](https://tools.ietf.org/html/rfc3339) formatted datetime string. + """ + return pulumi.get(self, "time_updated") + + +@pulumi.output_type +class GetEkmsPrivateEndpointsFilterResult(dict): + def __init__(__self__, *, + name: str, + values: Sequence[str], + regex: Optional[bool] = None): + GetEkmsPrivateEndpointsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) + if regex is not None: + _setter("regex", regex) + + @property + @pulumi.getter + def name(self) -> str: + return pulumi.get(self, "name") + + @property + @pulumi.getter + def values(self) -> Sequence[str]: + return pulumi.get(self, "values") + + @property + @pulumi.getter + def regex(self) -> Optional[bool]: + return pulumi.get(self, "regex") + + +@pulumi.output_type +class GetKeyExternalKeyReferenceResult(dict): + def __init__(__self__, *, + external_key_id: str): + """ + :param str external_key_id: ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. + """ + GetKeyExternalKeyReferenceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + external_key_id=external_key_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + external_key_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("external_key_id", external_key_id) + + @property + @pulumi.getter(name="externalKeyId") + def external_key_id(self) -> str: + """ + ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. """ - return pulumi.get(self, "bucket") + return pulumi.get(self, "external_key_id") - @property - @pulumi.getter - def namespace(self) -> Optional[str]: + +@pulumi.output_type +class GetKeyExternalKeyReferenceDetailResult(dict): + def __init__(__self__, *, + external_key_id: str, + external_key_version_id: str): """ - (Updatable) Namespace of the bucket where vault was backed up + :param str external_key_id: ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. + :param str external_key_version_id: Key version ID associated with the external key. """ - return pulumi.get(self, "namespace") + GetKeyExternalKeyReferenceDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + external_key_id=external_key_id, + external_key_version_id=external_key_version_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + external_key_id: str, + external_key_version_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("external_key_id", external_key_id) + _setter("external_key_version_id", external_key_version_id) @property - @pulumi.getter - def object(self) -> Optional[str]: + @pulumi.getter(name="externalKeyId") + def external_key_id(self) -> str: """ - (Updatable) Object containing the backup + ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. """ - return pulumi.get(self, "object") + return pulumi.get(self, "external_key_id") @property - @pulumi.getter - def uri(self) -> Optional[str]: + @pulumi.getter(name="externalKeyVersionId") + def external_key_version_id(self) -> str: """ - (Updatable) Pre-authenticated-request-uri of the backup* `restore_trigger` - (Optional) (Updatable) An optional property when flipped triggers restore from restore option provided in config file. + Key version ID associated with the external key. """ - return pulumi.get(self, "uri") + return pulumi.get(self, "external_key_version_id") @pulumi.output_type @@ -546,22 +1451,35 @@ def __init__(__self__, *, curve_id: str, length: int): """ - :param str algorithm: The algorithm used by a key's key versions to encrypt or decrypt. + :param str algorithm: The algorithm used by a key's key versions to encrypt or decrypt. Only AES algorithm is supported for `External` keys. :param str curve_id: Supported curve IDs for ECDSA keys. :param int length: The length of the key in bytes, expressed as an integer. Supported values include the following: * AES: 16, 24, or 32 * RSA: 256, 384, or 512 * ECDSA: 32, 48, or 66 """ - pulumi.set(__self__, "algorithm", algorithm) - pulumi.set(__self__, "curve_id", curve_id) - pulumi.set(__self__, "length", length) + GetKeyKeyShapeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + algorithm=algorithm, + curve_id=curve_id, + length=length, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + algorithm: str, + curve_id: str, + length: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("algorithm", algorithm) + _setter("curve_id", curve_id) + _setter("length", length) @property @pulumi.getter def algorithm(self) -> str: """ - The algorithm used by a key's key versions to encrypt or decrypt. + The algorithm used by a key's key versions to encrypt or decrypt. Only AES algorithm is supported for `External` keys. """ return pulumi.get(self, "algorithm") @@ -592,7 +1510,16 @@ def __init__(__self__, *, """ :param str replication_id: ReplicationId associated with a key operation """ - pulumi.set(__self__, "replication_id", replication_id) + GetKeyReplicaDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + replication_id=replication_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + replication_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("replication_id", replication_id) @property @pulumi.getter(name="replicationId") @@ -614,9 +1541,22 @@ def __init__(__self__, *, :param str content_md5: content md5 hashed value of key's backup file :param str restore_key_from_file_details: Key backup file content """ - pulumi.set(__self__, "content_length", content_length) - pulumi.set(__self__, "content_md5", content_md5) - pulumi.set(__self__, "restore_key_from_file_details", restore_key_from_file_details) + GetKeyRestoreFromFileResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + content_length=content_length, + content_md5=content_md5, + restore_key_from_file_details=restore_key_from_file_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + content_length: str, + content_md5: str, + restore_key_from_file_details: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("content_length", content_length) + _setter("content_md5", content_md5) + _setter("restore_key_from_file_details", restore_key_from_file_details) @property @pulumi.getter(name="contentLength") @@ -658,11 +1598,28 @@ def __init__(__self__, *, :param str object: Object containing the backup :param str uri: Pre-authenticated-request-uri of the backup """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "destination", destination) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "object", object) - pulumi.set(__self__, "uri", uri) + GetKeyRestoreFromObjectStoreResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + destination=destination, + namespace=namespace, + object=object, + uri=uri, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + destination: str, + namespace: str, + object: str, + uri: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("destination", destination) + _setter("namespace", namespace) + _setter("object", object) + _setter("uri", uri) @property @pulumi.getter @@ -705,6 +1662,46 @@ def uri(self) -> str: return pulumi.get(self, "uri") +@pulumi.output_type +class GetKeyVersionExternalKeyReferenceDetailResult(dict): + def __init__(__self__, *, + external_key_id: str, + external_key_version_id: str): + """ + :param str external_key_id: ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. + :param str external_key_version_id: Key version ID associated with the external key. + """ + GetKeyVersionExternalKeyReferenceDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + external_key_id=external_key_id, + external_key_version_id=external_key_version_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + external_key_id: str, + external_key_version_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("external_key_id", external_key_id) + _setter("external_key_version_id", external_key_version_id) + + @property + @pulumi.getter(name="externalKeyId") + def external_key_id(self) -> str: + """ + ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. + """ + return pulumi.get(self, "external_key_id") + + @property + @pulumi.getter(name="externalKeyVersionId") + def external_key_version_id(self) -> str: + """ + Key version ID associated with the external key. + """ + return pulumi.get(self, "external_key_version_id") + + @pulumi.output_type class GetKeyVersionReplicaDetailResult(dict): def __init__(__self__, *, @@ -712,7 +1709,16 @@ def __init__(__self__, *, """ :param str replication_id: ReplicationId associated with a key version operation """ - pulumi.set(__self__, "replication_id", replication_id) + GetKeyVersionReplicaDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + replication_id=replication_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + replication_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("replication_id", replication_id) @property @pulumi.getter(name="replicationId") @@ -729,10 +1735,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetKeyVersionsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -754,6 +1773,8 @@ def regex(self) -> Optional[bool]: class GetKeyVersionsKeyVersionResult(dict): def __init__(__self__, *, compartment_id: str, + external_key_reference_details: Sequence['outputs.GetKeyVersionsKeyVersionExternalKeyReferenceDetailResult'], + external_key_version_id: str, id: str, is_primary: bool, key_id: str, @@ -769,8 +1790,10 @@ def __init__(__self__, *, vault_id: str): """ :param str compartment_id: The OCID of the compartment that contains this key version. + :param Sequence['GetKeyVersionsKeyVersionExternalKeyReferenceDetailArgs'] external_key_reference_details: Key reference data to be returned to the customer as a response. + :param str external_key_version_id: Key version ID associated with the external key. :param str id: The OCID of the key version. - :param bool is_primary: A boolean that will be true when key version is primary, and will be false when key version is a replica from a primary key version. + :param bool is_primary: A Boolean value that indicates whether the KeyVersion belongs to primary Vault or replica Vault. :param str key_id: The OCID of the key. :param str key_version_id: The OCID of the key version. :param str management_endpoint: The service endpoint to perform management operations against. Management operations include 'Create,' 'Update,' 'List,' 'Get,' and 'Delete' operations. See Vault Management endpoint. @@ -782,20 +1805,61 @@ def __init__(__self__, *, :param str time_of_deletion: An optional property to indicate when to delete the key version, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` :param str vault_id: The OCID of the vault that contains this key version. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_primary", is_primary) - pulumi.set(__self__, "key_id", key_id) - pulumi.set(__self__, "key_version_id", key_version_id) - pulumi.set(__self__, "management_endpoint", management_endpoint) - pulumi.set(__self__, "public_key", public_key) - pulumi.set(__self__, "replica_details", replica_details) - pulumi.set(__self__, "restored_from_key_id", restored_from_key_id) - pulumi.set(__self__, "restored_from_key_version_id", restored_from_key_version_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_of_deletion", time_of_deletion) - pulumi.set(__self__, "vault_id", vault_id) + GetKeyVersionsKeyVersionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + external_key_reference_details=external_key_reference_details, + external_key_version_id=external_key_version_id, + id=id, + is_primary=is_primary, + key_id=key_id, + key_version_id=key_version_id, + management_endpoint=management_endpoint, + public_key=public_key, + replica_details=replica_details, + restored_from_key_id=restored_from_key_id, + restored_from_key_version_id=restored_from_key_version_id, + state=state, + time_created=time_created, + time_of_deletion=time_of_deletion, + vault_id=vault_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + external_key_reference_details: Sequence['outputs.GetKeyVersionsKeyVersionExternalKeyReferenceDetailResult'], + external_key_version_id: str, + id: str, + is_primary: bool, + key_id: str, + key_version_id: str, + management_endpoint: str, + public_key: str, + replica_details: Sequence['outputs.GetKeyVersionsKeyVersionReplicaDetailResult'], + restored_from_key_id: str, + restored_from_key_version_id: str, + state: str, + time_created: str, + time_of_deletion: str, + vault_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("external_key_reference_details", external_key_reference_details) + _setter("external_key_version_id", external_key_version_id) + _setter("id", id) + _setter("is_primary", is_primary) + _setter("key_id", key_id) + _setter("key_version_id", key_version_id) + _setter("management_endpoint", management_endpoint) + _setter("public_key", public_key) + _setter("replica_details", replica_details) + _setter("restored_from_key_id", restored_from_key_id) + _setter("restored_from_key_version_id", restored_from_key_version_id) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_of_deletion", time_of_deletion) + _setter("vault_id", vault_id) @property @pulumi.getter(name="compartmentId") @@ -805,6 +1869,22 @@ def compartment_id(self) -> str: """ return pulumi.get(self, "compartment_id") + @property + @pulumi.getter(name="externalKeyReferenceDetails") + def external_key_reference_details(self) -> Sequence['outputs.GetKeyVersionsKeyVersionExternalKeyReferenceDetailResult']: + """ + Key reference data to be returned to the customer as a response. + """ + return pulumi.get(self, "external_key_reference_details") + + @property + @pulumi.getter(name="externalKeyVersionId") + def external_key_version_id(self) -> str: + """ + Key version ID associated with the external key. + """ + return pulumi.get(self, "external_key_version_id") + @property @pulumi.getter def id(self) -> str: @@ -817,7 +1897,7 @@ def id(self) -> str: @pulumi.getter(name="isPrimary") def is_primary(self) -> bool: """ - A boolean that will be true when key version is primary, and will be false when key version is a replica from a primary key version. + A Boolean value that indicates whether the KeyVersion belongs to primary Vault or replica Vault. """ return pulumi.get(self, "is_primary") @@ -907,6 +1987,46 @@ def vault_id(self) -> str: return pulumi.get(self, "vault_id") +@pulumi.output_type +class GetKeyVersionsKeyVersionExternalKeyReferenceDetailResult(dict): + def __init__(__self__, *, + external_key_id: str, + external_key_version_id: str): + """ + :param str external_key_id: ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. + :param str external_key_version_id: Key version ID associated with the external key. + """ + GetKeyVersionsKeyVersionExternalKeyReferenceDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + external_key_id=external_key_id, + external_key_version_id=external_key_version_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + external_key_id: str, + external_key_version_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("external_key_id", external_key_id) + _setter("external_key_version_id", external_key_version_id) + + @property + @pulumi.getter(name="externalKeyId") + def external_key_id(self) -> str: + """ + ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. + """ + return pulumi.get(self, "external_key_id") + + @property + @pulumi.getter(name="externalKeyVersionId") + def external_key_version_id(self) -> str: + """ + Key version ID associated with the external key. + """ + return pulumi.get(self, "external_key_version_id") + + @pulumi.output_type class GetKeyVersionsKeyVersionReplicaDetailResult(dict): def __init__(__self__, *, @@ -914,7 +2034,16 @@ def __init__(__self__, *, """ :param str replication_id: ReplicationId associated with a key version operation """ - pulumi.set(__self__, "replication_id", replication_id) + GetKeyVersionsKeyVersionReplicaDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + replication_id=replication_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + replication_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("replication_id", replication_id) @property @pulumi.getter(name="replicationId") @@ -931,10 +2060,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetKeysFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -960,6 +2102,8 @@ def __init__(__self__, *, defined_tags: Mapping[str, Any], desired_state: str, display_name: str, + external_key_reference_details: Sequence['outputs.GetKeysKeyExternalKeyReferenceDetailResult'], + external_key_references: Sequence['outputs.GetKeysKeyExternalKeyReferenceResult'], freeform_tags: Mapping[str, Any], id: str, is_primary: bool, @@ -980,38 +2124,92 @@ def __init__(__self__, *, :param str current_key_version: The OCID of the key version used in cryptographic operations. During key rotation, the service might be in a transitional state where this or a newer key version are used intermittently. The `currentKeyVersion` property is updated when the service is guaranteed to use the new key version for all subsequent encryption operations. :param Mapping[str, Any] defined_tags: Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` :param str display_name: A user-friendly name for the key. It does not have to be unique, and it is changeable. Avoid entering confidential information. + :param Sequence['GetKeysKeyExternalKeyReferenceDetailArgs'] external_key_reference_details: Key reference data to be returned to the customer as a response. :param Mapping[str, Any] freeform_tags: 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` :param str id: The OCID of the key. - :param bool is_primary: A boolean that will be true when key is primary, and will be false when key is a replica from a primary key. + :param bool is_primary: A Boolean value that indicates whether the Key belongs to primary Vault or replica vault. :param Sequence['GetKeysKeyKeyShapeArgs'] key_shapes: The cryptographic properties of a key. :param str management_endpoint: The service endpoint to perform management operations against. Management operations include 'Create,' 'Update,' 'List,' 'Get,' and 'Delete' operations. See Vault Management endpoint. - :param str protection_mode: A key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. + :param str protection_mode: A key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager. :param Sequence['GetKeysKeyReplicaDetailArgs'] replica_details: Key replica details :param str state: The key's current lifecycle state. Example: `ENABLED` :param str time_created: The date and time the key was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` :param str time_of_deletion: An optional property indicating when to delete the key, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` :param str vault_id: The OCID of the vault that contains this key. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "current_key_version", current_key_version) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "desired_state", desired_state) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_primary", is_primary) - pulumi.set(__self__, "key_shapes", key_shapes) - pulumi.set(__self__, "management_endpoint", management_endpoint) - pulumi.set(__self__, "protection_mode", protection_mode) - pulumi.set(__self__, "replica_details", replica_details) - pulumi.set(__self__, "restore_from_files", restore_from_files) - pulumi.set(__self__, "restore_from_object_stores", restore_from_object_stores) - pulumi.set(__self__, "restore_trigger", restore_trigger) - pulumi.set(__self__, "restored_from_key_id", restored_from_key_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_of_deletion", time_of_deletion) - pulumi.set(__self__, "vault_id", vault_id) + GetKeysKeyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + current_key_version=current_key_version, + defined_tags=defined_tags, + desired_state=desired_state, + display_name=display_name, + external_key_reference_details=external_key_reference_details, + external_key_references=external_key_references, + freeform_tags=freeform_tags, + id=id, + is_primary=is_primary, + key_shapes=key_shapes, + management_endpoint=management_endpoint, + protection_mode=protection_mode, + replica_details=replica_details, + restore_from_files=restore_from_files, + restore_from_object_stores=restore_from_object_stores, + restore_trigger=restore_trigger, + restored_from_key_id=restored_from_key_id, + state=state, + time_created=time_created, + time_of_deletion=time_of_deletion, + vault_id=vault_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + current_key_version: str, + defined_tags: Mapping[str, Any], + desired_state: str, + display_name: str, + external_key_reference_details: Sequence['outputs.GetKeysKeyExternalKeyReferenceDetailResult'], + external_key_references: Sequence['outputs.GetKeysKeyExternalKeyReferenceResult'], + freeform_tags: Mapping[str, Any], + id: str, + is_primary: bool, + key_shapes: Sequence['outputs.GetKeysKeyKeyShapeResult'], + management_endpoint: str, + protection_mode: str, + replica_details: Sequence['outputs.GetKeysKeyReplicaDetailResult'], + restore_from_files: Sequence['outputs.GetKeysKeyRestoreFromFileResult'], + restore_from_object_stores: Sequence['outputs.GetKeysKeyRestoreFromObjectStoreResult'], + restore_trigger: bool, + restored_from_key_id: str, + state: str, + time_created: str, + time_of_deletion: str, + vault_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("current_key_version", current_key_version) + _setter("defined_tags", defined_tags) + _setter("desired_state", desired_state) + _setter("display_name", display_name) + _setter("external_key_reference_details", external_key_reference_details) + _setter("external_key_references", external_key_references) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_primary", is_primary) + _setter("key_shapes", key_shapes) + _setter("management_endpoint", management_endpoint) + _setter("protection_mode", protection_mode) + _setter("replica_details", replica_details) + _setter("restore_from_files", restore_from_files) + _setter("restore_from_object_stores", restore_from_object_stores) + _setter("restore_trigger", restore_trigger) + _setter("restored_from_key_id", restored_from_key_id) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_of_deletion", time_of_deletion) + _setter("vault_id", vault_id) @property @pulumi.getter(name="compartmentId") @@ -1050,6 +2248,19 @@ def display_name(self) -> str: """ return pulumi.get(self, "display_name") + @property + @pulumi.getter(name="externalKeyReferenceDetails") + def external_key_reference_details(self) -> Sequence['outputs.GetKeysKeyExternalKeyReferenceDetailResult']: + """ + Key reference data to be returned to the customer as a response. + """ + return pulumi.get(self, "external_key_reference_details") + + @property + @pulumi.getter(name="externalKeyReferences") + def external_key_references(self) -> Sequence['outputs.GetKeysKeyExternalKeyReferenceResult']: + return pulumi.get(self, "external_key_references") + @property @pulumi.getter(name="freeformTags") def freeform_tags(self) -> Mapping[str, Any]: @@ -1070,7 +2281,7 @@ def id(self) -> str: @pulumi.getter(name="isPrimary") def is_primary(self) -> bool: """ - A boolean that will be true when key is primary, and will be false when key is a replica from a primary key. + A Boolean value that indicates whether the Key belongs to primary Vault or replica vault. """ return pulumi.get(self, "is_primary") @@ -1094,7 +2305,7 @@ def management_endpoint(self) -> str: @pulumi.getter(name="protectionMode") def protection_mode(self) -> str: """ - A key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. + A key's protection mode indicates how the key persists and where cryptographic operations that use the key are performed. A protection mode of `HSM` means that the key persists on a hardware security module (HSM) and all cryptographic operations are performed inside the HSM. A protection mode of `SOFTWARE` means that the key persists on the server, protected by the vault's RSA wrapping key which persists on the HSM. All cryptographic operations that use a key with a protection mode of `SOFTWARE` are performed on the server. A protection mode of `EXTERNAL` mean that the key persists on the customer's external key manager which is hosted externally outside of oracle. Oracle only hold a reference to that key. All cryptographic operations that use a key with a protection mode of `EXTERNAL` are performed by external key manager. """ return pulumi.get(self, "protection_mode") @@ -1159,6 +2370,73 @@ def vault_id(self) -> str: return pulumi.get(self, "vault_id") +@pulumi.output_type +class GetKeysKeyExternalKeyReferenceResult(dict): + def __init__(__self__, *, + external_key_id: str): + """ + :param str external_key_id: ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. + """ + GetKeysKeyExternalKeyReferenceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + external_key_id=external_key_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + external_key_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("external_key_id", external_key_id) + + @property + @pulumi.getter(name="externalKeyId") + def external_key_id(self) -> str: + """ + ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. + """ + return pulumi.get(self, "external_key_id") + + +@pulumi.output_type +class GetKeysKeyExternalKeyReferenceDetailResult(dict): + def __init__(__self__, *, + external_key_id: str, + external_key_version_id: str): + """ + :param str external_key_id: ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. + :param str external_key_version_id: Key version ID associated with the external key. + """ + GetKeysKeyExternalKeyReferenceDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + external_key_id=external_key_id, + external_key_version_id=external_key_version_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + external_key_id: str, + external_key_version_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("external_key_id", external_key_id) + _setter("external_key_version_id", external_key_version_id) + + @property + @pulumi.getter(name="externalKeyId") + def external_key_id(self) -> str: + """ + ExternalKeyId refers to the globally unique key Id associated with the key created in external vault in CTM. + """ + return pulumi.get(self, "external_key_id") + + @property + @pulumi.getter(name="externalKeyVersionId") + def external_key_version_id(self) -> str: + """ + Key version ID associated with the external key. + """ + return pulumi.get(self, "external_key_version_id") + + @pulumi.output_type class GetKeysKeyKeyShapeResult(dict): def __init__(__self__, *, @@ -1170,9 +2448,22 @@ def __init__(__self__, *, :param str curve_id: The curve ID of the keys. (This pertains only to ECDSA keys.) :param int length: The length of the key in bytes, expressed as an integer. Supported values include 16, 24, or 32. """ - pulumi.set(__self__, "algorithm", algorithm) - pulumi.set(__self__, "curve_id", curve_id) - pulumi.set(__self__, "length", length) + GetKeysKeyKeyShapeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + algorithm=algorithm, + curve_id=curve_id, + length=length, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + algorithm: str, + curve_id: str, + length: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("algorithm", algorithm) + _setter("curve_id", curve_id) + _setter("length", length) @property @pulumi.getter @@ -1206,7 +2497,16 @@ def __init__(__self__, *, """ :param str replication_id: ReplicationId associated with a key operation """ - pulumi.set(__self__, "replication_id", replication_id) + GetKeysKeyReplicaDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + replication_id=replication_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + replication_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("replication_id", replication_id) @property @pulumi.getter(name="replicationId") @@ -1223,9 +2523,22 @@ def __init__(__self__, *, content_length: str, content_md5: str, restore_key_from_file_details: str): - pulumi.set(__self__, "content_length", content_length) - pulumi.set(__self__, "content_md5", content_md5) - pulumi.set(__self__, "restore_key_from_file_details", restore_key_from_file_details) + GetKeysKeyRestoreFromFileResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + content_length=content_length, + content_md5=content_md5, + restore_key_from_file_details=restore_key_from_file_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + content_length: str, + content_md5: str, + restore_key_from_file_details: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("content_length", content_length) + _setter("content_md5", content_md5) + _setter("restore_key_from_file_details", restore_key_from_file_details) @property @pulumi.getter(name="contentLength") @@ -1251,11 +2564,28 @@ def __init__(__self__, *, namespace: str, object: str, uri: str): - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "destination", destination) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "object", object) - pulumi.set(__self__, "uri", uri) + GetKeysKeyRestoreFromObjectStoreResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + destination=destination, + namespace=namespace, + object=object, + uri=uri, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + destination: str, + namespace: str, + object: str, + uri: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("destination", destination) + _setter("namespace", namespace) + _setter("object", object) + _setter("uri", uri) @property @pulumi.getter @@ -1292,8 +2622,19 @@ def __init__(__self__, *, :param str region: The replica region :param str status: Replication status associated with a replicationId """ - pulumi.set(__self__, "region", region) - pulumi.set(__self__, "status", status) + GetReplicationStatusReplicaDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + region=region, + status=status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + region: str, + status: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("region", region) + _setter("status", status) @property @pulumi.getter @@ -1312,6 +2653,210 @@ def status(self) -> str: return pulumi.get(self, "status") +@pulumi.output_type +class GetVaultExternalKeyManagerMetadataResult(dict): + def __init__(__self__, *, + external_vault_endpoint_url: str, + oauth_metadatas: Sequence['outputs.GetVaultExternalKeyManagerMetadataOauthMetadataResult'], + private_endpoint_id: str): + """ + :param str external_vault_endpoint_url: URL of the vault on external key manager. + :param str private_endpoint_id: OCID of the private endpoint. + """ + GetVaultExternalKeyManagerMetadataResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + external_vault_endpoint_url=external_vault_endpoint_url, + oauth_metadatas=oauth_metadatas, + private_endpoint_id=private_endpoint_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + external_vault_endpoint_url: str, + oauth_metadatas: Sequence['outputs.GetVaultExternalKeyManagerMetadataOauthMetadataResult'], + private_endpoint_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("external_vault_endpoint_url", external_vault_endpoint_url) + _setter("oauth_metadatas", oauth_metadatas) + _setter("private_endpoint_id", private_endpoint_id) + + @property + @pulumi.getter(name="externalVaultEndpointUrl") + def external_vault_endpoint_url(self) -> str: + """ + URL of the vault on external key manager. + """ + return pulumi.get(self, "external_vault_endpoint_url") + + @property + @pulumi.getter(name="oauthMetadatas") + def oauth_metadatas(self) -> Sequence['outputs.GetVaultExternalKeyManagerMetadataOauthMetadataResult']: + return pulumi.get(self, "oauth_metadatas") + + @property + @pulumi.getter(name="privateEndpointId") + def private_endpoint_id(self) -> str: + """ + OCID of the private endpoint. + """ + return pulumi.get(self, "private_endpoint_id") + + +@pulumi.output_type +class GetVaultExternalKeyManagerMetadataOauthMetadataResult(dict): + def __init__(__self__, *, + client_app_id: str, + client_app_secret: str, + idcs_account_name_url: str): + """ + :param str client_app_id: ID of the client app created in IDP. + :param str idcs_account_name_url: Base URL of the IDCS account where confidential client app is created. + """ + GetVaultExternalKeyManagerMetadataOauthMetadataResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + client_app_id=client_app_id, + client_app_secret=client_app_secret, + idcs_account_name_url=idcs_account_name_url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + client_app_id: str, + client_app_secret: str, + idcs_account_name_url: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("client_app_id", client_app_id) + _setter("client_app_secret", client_app_secret) + _setter("idcs_account_name_url", idcs_account_name_url) + + @property + @pulumi.getter(name="clientAppId") + def client_app_id(self) -> str: + """ + ID of the client app created in IDP. + """ + return pulumi.get(self, "client_app_id") + + @property + @pulumi.getter(name="clientAppSecret") + def client_app_secret(self) -> str: + return pulumi.get(self, "client_app_secret") + + @property + @pulumi.getter(name="idcsAccountNameUrl") + def idcs_account_name_url(self) -> str: + """ + Base URL of the IDCS account where confidential client app is created. + """ + return pulumi.get(self, "idcs_account_name_url") + + +@pulumi.output_type +class GetVaultExternalKeyManagerMetadataSummaryResult(dict): + def __init__(__self__, *, + external_vault_endpoint_url: str, + oauth_metadata_summaries: Sequence['outputs.GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryResult'], + private_endpoint_id: str, + vendor: str): + """ + :param str external_vault_endpoint_url: URL of the vault on external key manager. + :param Sequence['GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArgs'] oauth_metadata_summaries: Summary about authorization to be returned to the customer as a response. + :param str private_endpoint_id: OCID of the private endpoint. + :param str vendor: Vendor of the external key manager. + """ + GetVaultExternalKeyManagerMetadataSummaryResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + external_vault_endpoint_url=external_vault_endpoint_url, + oauth_metadata_summaries=oauth_metadata_summaries, + private_endpoint_id=private_endpoint_id, + vendor=vendor, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + external_vault_endpoint_url: str, + oauth_metadata_summaries: Sequence['outputs.GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryResult'], + private_endpoint_id: str, + vendor: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("external_vault_endpoint_url", external_vault_endpoint_url) + _setter("oauth_metadata_summaries", oauth_metadata_summaries) + _setter("private_endpoint_id", private_endpoint_id) + _setter("vendor", vendor) + + @property + @pulumi.getter(name="externalVaultEndpointUrl") + def external_vault_endpoint_url(self) -> str: + """ + URL of the vault on external key manager. + """ + return pulumi.get(self, "external_vault_endpoint_url") + + @property + @pulumi.getter(name="oauthMetadataSummaries") + def oauth_metadata_summaries(self) -> Sequence['outputs.GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryResult']: + """ + Summary about authorization to be returned to the customer as a response. + """ + return pulumi.get(self, "oauth_metadata_summaries") + + @property + @pulumi.getter(name="privateEndpointId") + def private_endpoint_id(self) -> str: + """ + OCID of the private endpoint. + """ + return pulumi.get(self, "private_endpoint_id") + + @property + @pulumi.getter + def vendor(self) -> str: + """ + Vendor of the external key manager. + """ + return pulumi.get(self, "vendor") + + +@pulumi.output_type +class GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryResult(dict): + def __init__(__self__, *, + client_app_id: str, + idcs_account_name_url: str): + """ + :param str client_app_id: ID of the client app created in IDP. + :param str idcs_account_name_url: Base URL of the IDCS account where confidential client app is created. + """ + GetVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + client_app_id=client_app_id, + idcs_account_name_url=idcs_account_name_url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + client_app_id: str, + idcs_account_name_url: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("client_app_id", client_app_id) + _setter("idcs_account_name_url", idcs_account_name_url) + + @property + @pulumi.getter(name="clientAppId") + def client_app_id(self) -> str: + """ + ID of the client app created in IDP. + """ + return pulumi.get(self, "client_app_id") + + @property + @pulumi.getter(name="idcsAccountNameUrl") + def idcs_account_name_url(self) -> str: + """ + Base URL of the IDCS account where confidential client app is created. + """ + return pulumi.get(self, "idcs_account_name_url") + + @pulumi.output_type class GetVaultReplicaDetailResult(dict): def __init__(__self__, *, @@ -1319,7 +2864,16 @@ def __init__(__self__, *, """ :param str replication_id: ReplicationId associated with a vault operation """ - pulumi.set(__self__, "replication_id", replication_id) + GetVaultReplicaDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + replication_id=replication_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + replication_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("replication_id", replication_id) @property @pulumi.getter(name="replicationId") @@ -1336,10 +2890,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVaultReplicasFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1368,12 +2935,27 @@ def __init__(__self__, *, :param str crypto_endpoint: The vault replica's crypto endpoint :param str management_endpoint: The vault replica's management endpoint :param str region: Region to which vault is replicated to - :param str status: The vault replica's status - """ - pulumi.set(__self__, "crypto_endpoint", crypto_endpoint) - pulumi.set(__self__, "management_endpoint", management_endpoint) - pulumi.set(__self__, "region", region) - pulumi.set(__self__, "status", status) + :param str status: Status of the Vault + """ + GetVaultReplicasVaultReplicaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + crypto_endpoint=crypto_endpoint, + management_endpoint=management_endpoint, + region=region, + status=status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + crypto_endpoint: str, + management_endpoint: str, + region: str, + status: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("crypto_endpoint", crypto_endpoint) + _setter("management_endpoint", management_endpoint) + _setter("region", region) + _setter("status", status) @property @pulumi.getter(name="cryptoEndpoint") @@ -1403,7 +2985,7 @@ def region(self) -> str: @pulumi.getter def status(self) -> str: """ - The vault replica's status + Status of the Vault """ return pulumi.get(self, "status") @@ -1419,9 +3001,22 @@ def __init__(__self__, *, :param str content_md5: content md5 hashed value of vault's backup file :param str restore_vault_from_file_details: Vault backup file content """ - pulumi.set(__self__, "content_length", content_length) - pulumi.set(__self__, "content_md5", content_md5) - pulumi.set(__self__, "restore_vault_from_file_details", restore_vault_from_file_details) + GetVaultRestoreFromFileResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + content_length=content_length, + content_md5=content_md5, + restore_vault_from_file_details=restore_vault_from_file_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + content_length: str, + content_md5: str, + restore_vault_from_file_details: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("content_length", content_length) + _setter("content_md5", content_md5) + _setter("restore_vault_from_file_details", restore_vault_from_file_details) @property @pulumi.getter(name="contentLength") @@ -1463,11 +3058,28 @@ def __init__(__self__, *, :param str object: Object containing the backup :param str uri: Pre-authenticated-request-uri of the backup """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "destination", destination) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "object", object) - pulumi.set(__self__, "uri", uri) + GetVaultRestoreFromObjectStoreResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + destination=destination, + namespace=namespace, + object=object, + uri=uri, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + destination: str, + namespace: str, + object: str, + uri: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("destination", destination) + _setter("namespace", namespace) + _setter("object", object) + _setter("uri", uri) @property @pulumi.getter @@ -1516,10 +3128,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVaultsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1544,6 +3169,8 @@ def __init__(__self__, *, crypto_endpoint: str, defined_tags: Mapping[str, Any], display_name: str, + external_key_manager_metadata_summaries: Sequence['outputs.GetVaultsVaultExternalKeyManagerMetadataSummaryResult'], + external_key_manager_metadatas: Sequence['outputs.GetVaultsVaultExternalKeyManagerMetadataResult'], freeform_tags: Mapping[str, Any], id: str, is_primary: bool, @@ -1562,34 +3189,82 @@ def __init__(__self__, *, :param str crypto_endpoint: The service endpoint to perform cryptographic operations against. Cryptographic operations include [Encrypt](https://docs.cloud.oracle.com/iaas/api/#/en/key/latest/EncryptedData/Encrypt), [Decrypt](https://docs.cloud.oracle.com/iaas/api/#/en/key/latest/DecryptedData/Decrypt), and [GenerateDataEncryptionKey](https://docs.cloud.oracle.com/iaas/api/#/en/key/latest/GeneratedKey/GenerateDataEncryptionKey) operations. :param Mapping[str, Any] defined_tags: Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` :param str display_name: A user-friendly name for the vault. It does not have to be unique, and it is changeable. Avoid entering confidential information. + :param Sequence['GetVaultsVaultExternalKeyManagerMetadataSummaryArgs'] external_key_manager_metadata_summaries: Summary about metadata of external key manager to be returned to the customer as a response. :param Mapping[str, Any] freeform_tags: 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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` :param str id: The OCID of the vault. - :param bool is_primary: A boolean that will be true when vault is primary, and will be false when vault is a replica from a primary vault. + :param bool is_primary: A Boolean value that indicates whether the Vault is primary Vault or replica Vault. :param str management_endpoint: The service endpoint to perform management operations against. Management operations include "Create," "Update," "List," "Get," and "Delete" operations. :param Sequence['GetVaultsVaultReplicaDetailArgs'] replica_details: Vault replica details - :param str restored_from_vault_id: The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. + :param str restored_from_vault_id: The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. :param str state: The vault's current lifecycle state. Example: `DELETED` :param str time_created: The date and time this vault was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` :param str time_of_deletion: An optional property to indicate when to delete the vault, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` :param str vault_type: The type of vault. Each type of vault stores the key with different degrees of isolation and has different options and pricing. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "crypto_endpoint", crypto_endpoint) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_primary", is_primary) - pulumi.set(__self__, "management_endpoint", management_endpoint) - pulumi.set(__self__, "replica_details", replica_details) - pulumi.set(__self__, "restore_from_files", restore_from_files) - pulumi.set(__self__, "restore_from_object_stores", restore_from_object_stores) - pulumi.set(__self__, "restore_trigger", restore_trigger) - pulumi.set(__self__, "restored_from_vault_id", restored_from_vault_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_of_deletion", time_of_deletion) - pulumi.set(__self__, "vault_type", vault_type) + GetVaultsVaultResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + crypto_endpoint=crypto_endpoint, + defined_tags=defined_tags, + display_name=display_name, + external_key_manager_metadata_summaries=external_key_manager_metadata_summaries, + external_key_manager_metadatas=external_key_manager_metadatas, + freeform_tags=freeform_tags, + id=id, + is_primary=is_primary, + management_endpoint=management_endpoint, + replica_details=replica_details, + restore_from_files=restore_from_files, + restore_from_object_stores=restore_from_object_stores, + restore_trigger=restore_trigger, + restored_from_vault_id=restored_from_vault_id, + state=state, + time_created=time_created, + time_of_deletion=time_of_deletion, + vault_type=vault_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + crypto_endpoint: str, + defined_tags: Mapping[str, Any], + display_name: str, + external_key_manager_metadata_summaries: Sequence['outputs.GetVaultsVaultExternalKeyManagerMetadataSummaryResult'], + external_key_manager_metadatas: Sequence['outputs.GetVaultsVaultExternalKeyManagerMetadataResult'], + freeform_tags: Mapping[str, Any], + id: str, + is_primary: bool, + management_endpoint: str, + replica_details: Sequence['outputs.GetVaultsVaultReplicaDetailResult'], + restore_from_files: Sequence['outputs.GetVaultsVaultRestoreFromFileResult'], + restore_from_object_stores: Sequence['outputs.GetVaultsVaultRestoreFromObjectStoreResult'], + restore_trigger: bool, + restored_from_vault_id: str, + state: str, + time_created: str, + time_of_deletion: str, + vault_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("crypto_endpoint", crypto_endpoint) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("external_key_manager_metadata_summaries", external_key_manager_metadata_summaries) + _setter("external_key_manager_metadatas", external_key_manager_metadatas) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_primary", is_primary) + _setter("management_endpoint", management_endpoint) + _setter("replica_details", replica_details) + _setter("restore_from_files", restore_from_files) + _setter("restore_from_object_stores", restore_from_object_stores) + _setter("restore_trigger", restore_trigger) + _setter("restored_from_vault_id", restored_from_vault_id) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_of_deletion", time_of_deletion) + _setter("vault_type", vault_type) @property @pulumi.getter(name="compartmentId") @@ -1623,6 +3298,19 @@ def display_name(self) -> str: """ return pulumi.get(self, "display_name") + @property + @pulumi.getter(name="externalKeyManagerMetadataSummaries") + def external_key_manager_metadata_summaries(self) -> Sequence['outputs.GetVaultsVaultExternalKeyManagerMetadataSummaryResult']: + """ + Summary about metadata of external key manager to be returned to the customer as a response. + """ + return pulumi.get(self, "external_key_manager_metadata_summaries") + + @property + @pulumi.getter(name="externalKeyManagerMetadatas") + def external_key_manager_metadatas(self) -> Sequence['outputs.GetVaultsVaultExternalKeyManagerMetadataResult']: + return pulumi.get(self, "external_key_manager_metadatas") + @property @pulumi.getter(name="freeformTags") def freeform_tags(self) -> Mapping[str, Any]: @@ -1643,7 +3331,7 @@ def id(self) -> str: @pulumi.getter(name="isPrimary") def is_primary(self) -> bool: """ - A boolean that will be true when vault is primary, and will be false when vault is a replica from a primary vault. + A Boolean value that indicates whether the Vault is primary Vault or replica Vault. """ return pulumi.get(self, "is_primary") @@ -1682,7 +3370,7 @@ def restore_trigger(self) -> bool: @pulumi.getter(name="restoredFromVaultId") def restored_from_vault_id(self) -> str: """ - The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. + The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. """ return pulumi.get(self, "restored_from_vault_id") @@ -1719,6 +3407,210 @@ def vault_type(self) -> str: return pulumi.get(self, "vault_type") +@pulumi.output_type +class GetVaultsVaultExternalKeyManagerMetadataResult(dict): + def __init__(__self__, *, + external_vault_endpoint_url: str, + oauth_metadatas: Sequence['outputs.GetVaultsVaultExternalKeyManagerMetadataOauthMetadataResult'], + private_endpoint_id: str): + """ + :param str external_vault_endpoint_url: URL of the vault on external key manager. + :param str private_endpoint_id: OCID of the private endpoint. + """ + GetVaultsVaultExternalKeyManagerMetadataResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + external_vault_endpoint_url=external_vault_endpoint_url, + oauth_metadatas=oauth_metadatas, + private_endpoint_id=private_endpoint_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + external_vault_endpoint_url: str, + oauth_metadatas: Sequence['outputs.GetVaultsVaultExternalKeyManagerMetadataOauthMetadataResult'], + private_endpoint_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("external_vault_endpoint_url", external_vault_endpoint_url) + _setter("oauth_metadatas", oauth_metadatas) + _setter("private_endpoint_id", private_endpoint_id) + + @property + @pulumi.getter(name="externalVaultEndpointUrl") + def external_vault_endpoint_url(self) -> str: + """ + URL of the vault on external key manager. + """ + return pulumi.get(self, "external_vault_endpoint_url") + + @property + @pulumi.getter(name="oauthMetadatas") + def oauth_metadatas(self) -> Sequence['outputs.GetVaultsVaultExternalKeyManagerMetadataOauthMetadataResult']: + return pulumi.get(self, "oauth_metadatas") + + @property + @pulumi.getter(name="privateEndpointId") + def private_endpoint_id(self) -> str: + """ + OCID of the private endpoint. + """ + return pulumi.get(self, "private_endpoint_id") + + +@pulumi.output_type +class GetVaultsVaultExternalKeyManagerMetadataOauthMetadataResult(dict): + def __init__(__self__, *, + client_app_id: str, + client_app_secret: str, + idcs_account_name_url: str): + """ + :param str client_app_id: ID of the client app created in IDP. + :param str idcs_account_name_url: Base URL of the IDCS account where confidential client app is created. + """ + GetVaultsVaultExternalKeyManagerMetadataOauthMetadataResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + client_app_id=client_app_id, + client_app_secret=client_app_secret, + idcs_account_name_url=idcs_account_name_url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + client_app_id: str, + client_app_secret: str, + idcs_account_name_url: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("client_app_id", client_app_id) + _setter("client_app_secret", client_app_secret) + _setter("idcs_account_name_url", idcs_account_name_url) + + @property + @pulumi.getter(name="clientAppId") + def client_app_id(self) -> str: + """ + ID of the client app created in IDP. + """ + return pulumi.get(self, "client_app_id") + + @property + @pulumi.getter(name="clientAppSecret") + def client_app_secret(self) -> str: + return pulumi.get(self, "client_app_secret") + + @property + @pulumi.getter(name="idcsAccountNameUrl") + def idcs_account_name_url(self) -> str: + """ + Base URL of the IDCS account where confidential client app is created. + """ + return pulumi.get(self, "idcs_account_name_url") + + +@pulumi.output_type +class GetVaultsVaultExternalKeyManagerMetadataSummaryResult(dict): + def __init__(__self__, *, + external_vault_endpoint_url: str, + oauth_metadata_summaries: Sequence['outputs.GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryResult'], + private_endpoint_id: str, + vendor: str): + """ + :param str external_vault_endpoint_url: URL of the vault on external key manager. + :param Sequence['GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryArgs'] oauth_metadata_summaries: Summary about authorization to be returned to the customer as a response. + :param str private_endpoint_id: OCID of the private endpoint. + :param str vendor: Vendor of the external key manager. + """ + GetVaultsVaultExternalKeyManagerMetadataSummaryResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + external_vault_endpoint_url=external_vault_endpoint_url, + oauth_metadata_summaries=oauth_metadata_summaries, + private_endpoint_id=private_endpoint_id, + vendor=vendor, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + external_vault_endpoint_url: str, + oauth_metadata_summaries: Sequence['outputs.GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryResult'], + private_endpoint_id: str, + vendor: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("external_vault_endpoint_url", external_vault_endpoint_url) + _setter("oauth_metadata_summaries", oauth_metadata_summaries) + _setter("private_endpoint_id", private_endpoint_id) + _setter("vendor", vendor) + + @property + @pulumi.getter(name="externalVaultEndpointUrl") + def external_vault_endpoint_url(self) -> str: + """ + URL of the vault on external key manager. + """ + return pulumi.get(self, "external_vault_endpoint_url") + + @property + @pulumi.getter(name="oauthMetadataSummaries") + def oauth_metadata_summaries(self) -> Sequence['outputs.GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryResult']: + """ + Summary about authorization to be returned to the customer as a response. + """ + return pulumi.get(self, "oauth_metadata_summaries") + + @property + @pulumi.getter(name="privateEndpointId") + def private_endpoint_id(self) -> str: + """ + OCID of the private endpoint. + """ + return pulumi.get(self, "private_endpoint_id") + + @property + @pulumi.getter + def vendor(self) -> str: + """ + Vendor of the external key manager. + """ + return pulumi.get(self, "vendor") + + +@pulumi.output_type +class GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryResult(dict): + def __init__(__self__, *, + client_app_id: str, + idcs_account_name_url: str): + """ + :param str client_app_id: ID of the client app created in IDP. + :param str idcs_account_name_url: Base URL of the IDCS account where confidential client app is created. + """ + GetVaultsVaultExternalKeyManagerMetadataSummaryOauthMetadataSummaryResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + client_app_id=client_app_id, + idcs_account_name_url=idcs_account_name_url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + client_app_id: str, + idcs_account_name_url: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("client_app_id", client_app_id) + _setter("idcs_account_name_url", idcs_account_name_url) + + @property + @pulumi.getter(name="clientAppId") + def client_app_id(self) -> str: + """ + ID of the client app created in IDP. + """ + return pulumi.get(self, "client_app_id") + + @property + @pulumi.getter(name="idcsAccountNameUrl") + def idcs_account_name_url(self) -> str: + """ + Base URL of the IDCS account where confidential client app is created. + """ + return pulumi.get(self, "idcs_account_name_url") + + @pulumi.output_type class GetVaultsVaultReplicaDetailResult(dict): def __init__(__self__, *, @@ -1726,7 +3618,16 @@ def __init__(__self__, *, """ :param str replication_id: ReplicationId associated with a vault operation """ - pulumi.set(__self__, "replication_id", replication_id) + GetVaultsVaultReplicaDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + replication_id=replication_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + replication_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("replication_id", replication_id) @property @pulumi.getter(name="replicationId") @@ -1743,9 +3644,22 @@ def __init__(__self__, *, content_length: str, content_md5: str, restore_vault_from_file_details: str): - pulumi.set(__self__, "content_length", content_length) - pulumi.set(__self__, "content_md5", content_md5) - pulumi.set(__self__, "restore_vault_from_file_details", restore_vault_from_file_details) + GetVaultsVaultRestoreFromFileResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + content_length=content_length, + content_md5=content_md5, + restore_vault_from_file_details=restore_vault_from_file_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + content_length: str, + content_md5: str, + restore_vault_from_file_details: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("content_length", content_length) + _setter("content_md5", content_md5) + _setter("restore_vault_from_file_details", restore_vault_from_file_details) @property @pulumi.getter(name="contentLength") @@ -1771,11 +3685,28 @@ def __init__(__self__, *, namespace: str, object: str, uri: str): - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "destination", destination) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "object", object) - pulumi.set(__self__, "uri", uri) + GetVaultsVaultRestoreFromObjectStoreResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + destination=destination, + namespace=namespace, + object=object, + uri=uri, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + destination: str, + namespace: str, + object: str, + uri: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("destination", destination) + _setter("namespace", namespace) + _setter("object", object) + _setter("uri", uri) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/kms/sign.py b/sdk/python/pulumi_oci/kms/sign.py index 0334dec03e..fb9ad4610b 100644 --- a/sdk/python/pulumi_oci/kms/sign.py +++ b/sdk/python/pulumi_oci/kms/sign.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['SignArgs', 'Sign'] @@ -25,22 +25,41 @@ def __init__(__self__, *, :param pulumi.Input[str] crypto_endpoint: The service endpoint to perform cryptographic operations against. Cryptographic operations include 'Encrypt,' 'Decrypt,', 'GenerateDataEncryptionKey', 'Sign' and 'Verify' operations. see Vault Crypto endpoint. :param pulumi.Input[str] key_id: The OCID of the key used to sign the message. :param pulumi.Input[str] message: The base64-encoded binary data object denoting the message or message digest to sign. You can have a message up to 4096 bytes in size. To sign a larger message, provide the message digest. - :param pulumi.Input[str] signing_algorithm: The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. + :param pulumi.Input[str] signing_algorithm: The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. ** 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 :param pulumi.Input[str] key_version_id: The OCID of the key version used to sign the message. - :param pulumi.Input[str] message_type: Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. - """ - pulumi.set(__self__, "crypto_endpoint", crypto_endpoint) - pulumi.set(__self__, "key_id", key_id) - pulumi.set(__self__, "message", message) - pulumi.set(__self__, "signing_algorithm", signing_algorithm) + :param pulumi.Input[str] message_type: Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. + """ + SignArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + crypto_endpoint=crypto_endpoint, + key_id=key_id, + message=message, + signing_algorithm=signing_algorithm, + key_version_id=key_version_id, + message_type=message_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + crypto_endpoint: pulumi.Input[str], + key_id: pulumi.Input[str], + message: pulumi.Input[str], + signing_algorithm: pulumi.Input[str], + key_version_id: Optional[pulumi.Input[str]] = None, + message_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("crypto_endpoint", crypto_endpoint) + _setter("key_id", key_id) + _setter("message", message) + _setter("signing_algorithm", signing_algorithm) if key_version_id is not None: - pulumi.set(__self__, "key_version_id", key_version_id) + _setter("key_version_id", key_version_id) if message_type is not None: - pulumi.set(__self__, "message_type", message_type) + _setter("message_type", message_type) @property @pulumi.getter(name="cryptoEndpoint") @@ -82,7 +101,7 @@ def message(self, value: pulumi.Input[str]): @pulumi.getter(name="signingAlgorithm") def signing_algorithm(self) -> pulumi.Input[str]: """ - The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. + The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. ** IMPORTANT ** @@ -110,7 +129,7 @@ def key_version_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="messageType") def message_type(self) -> Optional[pulumi.Input[str]]: """ - Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. + Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. """ return pulumi.get(self, "message_type") @@ -135,28 +154,49 @@ def __init__(__self__, *, :param pulumi.Input[str] key_id: The OCID of the key used to sign the message. :param pulumi.Input[str] key_version_id: The OCID of the key version used to sign the message. :param pulumi.Input[str] message: The base64-encoded binary data object denoting the message or message digest to sign. You can have a message up to 4096 bytes in size. To sign a larger message, provide the message digest. - :param pulumi.Input[str] message_type: Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. + :param pulumi.Input[str] message_type: Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. :param pulumi.Input[str] signature: The base64-encoded binary data object denoting the cryptographic signature generated for the message or message digest. - :param pulumi.Input[str] signing_algorithm: The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. + :param pulumi.Input[str] signing_algorithm: The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. ** 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 """ + _SignState._configure( + lambda key, value: pulumi.set(__self__, key, value), + crypto_endpoint=crypto_endpoint, + key_id=key_id, + key_version_id=key_version_id, + message=message, + message_type=message_type, + signature=signature, + signing_algorithm=signing_algorithm, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + crypto_endpoint: Optional[pulumi.Input[str]] = None, + key_id: Optional[pulumi.Input[str]] = None, + key_version_id: Optional[pulumi.Input[str]] = None, + message: Optional[pulumi.Input[str]] = None, + message_type: Optional[pulumi.Input[str]] = None, + signature: Optional[pulumi.Input[str]] = None, + signing_algorithm: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if crypto_endpoint is not None: - pulumi.set(__self__, "crypto_endpoint", crypto_endpoint) + _setter("crypto_endpoint", crypto_endpoint) if key_id is not None: - pulumi.set(__self__, "key_id", key_id) + _setter("key_id", key_id) if key_version_id is not None: - pulumi.set(__self__, "key_version_id", key_version_id) + _setter("key_version_id", key_version_id) if message is not None: - pulumi.set(__self__, "message", message) + _setter("message", message) if message_type is not None: - pulumi.set(__self__, "message_type", message_type) + _setter("message_type", message_type) if signature is not None: - pulumi.set(__self__, "signature", signature) + _setter("signature", signature) if signing_algorithm is not None: - pulumi.set(__self__, "signing_algorithm", signing_algorithm) + _setter("signing_algorithm", signing_algorithm) @property @pulumi.getter(name="cryptoEndpoint") @@ -210,7 +250,7 @@ def message(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="messageType") def message_type(self) -> Optional[pulumi.Input[str]]: """ - Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. + Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. """ return pulumi.get(self, "message_type") @@ -234,7 +274,7 @@ def signature(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="signingAlgorithm") def signing_algorithm(self) -> Optional[pulumi.Input[str]]: """ - The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. + The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. ** IMPORTANT ** @@ -265,6 +305,7 @@ def __init__(__self__, Creates a digital signature for a message or message digest by using the private key of a public-private key pair, also known as an asymmetric key. To verify the generated signature, you can use the [Verify](https://docs.cloud.oracle.com/iaas/api/#/en/key/latest/VerifiedData/Verify) operation. Or, if you want to validate the signature outside of the service, you can do so by using the public key of the same asymmetric key. + This operation is not supported for keys having protection mode `EXTERNAL`. ## Example Usage @@ -295,8 +336,8 @@ def __init__(__self__, :param pulumi.Input[str] key_id: The OCID of the key used to sign the message. :param pulumi.Input[str] key_version_id: The OCID of the key version used to sign the message. :param pulumi.Input[str] message: The base64-encoded binary data object denoting the message or message digest to sign. You can have a message up to 4096 bytes in size. To sign a larger message, provide the message digest. - :param pulumi.Input[str] message_type: Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. - :param pulumi.Input[str] signing_algorithm: The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. + :param pulumi.Input[str] message_type: Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. + :param pulumi.Input[str] signing_algorithm: The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. ** IMPORTANT ** @@ -314,6 +355,7 @@ def __init__(__self__, Creates a digital signature for a message or message digest by using the private key of a public-private key pair, also known as an asymmetric key. To verify the generated signature, you can use the [Verify](https://docs.cloud.oracle.com/iaas/api/#/en/key/latest/VerifiedData/Verify) operation. Or, if you want to validate the signature outside of the service, you can do so by using the public key of the same asymmetric key. + This operation is not supported for keys having protection mode `EXTERNAL`. ## Example Usage @@ -348,6 +390,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + SignArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -411,9 +457,9 @@ def get(resource_name: str, :param pulumi.Input[str] key_id: The OCID of the key used to sign the message. :param pulumi.Input[str] key_version_id: The OCID of the key version used to sign the message. :param pulumi.Input[str] message: The base64-encoded binary data object denoting the message or message digest to sign. You can have a message up to 4096 bytes in size. To sign a larger message, provide the message digest. - :param pulumi.Input[str] message_type: Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. + :param pulumi.Input[str] message_type: Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. :param pulumi.Input[str] signature: The base64-encoded binary data object denoting the cryptographic signature generated for the message or message digest. - :param pulumi.Input[str] signing_algorithm: The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. + :param pulumi.Input[str] signing_algorithm: The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. ** IMPORTANT ** @@ -468,7 +514,7 @@ def message(self) -> pulumi.Output[str]: @pulumi.getter(name="messageType") def message_type(self) -> pulumi.Output[str]: """ - Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. + Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. """ return pulumi.get(self, "message_type") @@ -484,7 +530,7 @@ def signature(self) -> pulumi.Output[str]: @pulumi.getter(name="signingAlgorithm") def signing_algorithm(self) -> pulumi.Output[str]: """ - The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. + The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. ** IMPORTANT ** diff --git a/sdk/python/pulumi_oci/kms/vault.py b/sdk/python/pulumi_oci/kms/vault.py index dbf1399fd0..0e9c3b9748 100644 --- a/sdk/python/pulumi_oci/kms/vault.py +++ b/sdk/python/pulumi_oci/kms/vault.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -20,6 +20,7 @@ def __init__(__self__, *, display_name: pulumi.Input[str], vault_type: pulumi.Input[str], defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + external_key_manager_metadata: Optional[pulumi.Input['VaultExternalKeyManagerMetadataArgs']] = None, freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, restore_from_file: Optional[pulumi.Input['VaultRestoreFromFileArgs']] = None, restore_from_object_store: Optional[pulumi.Input['VaultRestoreFromObjectStoreArgs']] = None, @@ -31,6 +32,7 @@ def __init__(__self__, *, :param pulumi.Input[str] display_name: (Updatable) A user-friendly name for the vault. It does not have to be unique, and it is changeable. Avoid entering confidential information. :param pulumi.Input[str] vault_type: The type of vault to create. Each type of vault stores the key with different degrees of isolation and has different options and pricing. :param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` + :param pulumi.Input['VaultExternalKeyManagerMetadataArgs'] external_key_manager_metadata: Metadata required for accessing External Key manager :param pulumi.Input[Mapping[str, Any]] freeform_tags: (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` :param pulumi.Input['VaultRestoreFromFileArgs'] restore_from_file: (Updatable) Details where vault was backed up. :param pulumi.Input['VaultRestoreFromObjectStoreArgs'] restore_from_object_store: (Updatable) Details where vault was backed up @@ -39,21 +41,50 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "vault_type", vault_type) + VaultArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + vault_type=vault_type, + defined_tags=defined_tags, + external_key_manager_metadata=external_key_manager_metadata, + freeform_tags=freeform_tags, + restore_from_file=restore_from_file, + restore_from_object_store=restore_from_object_store, + restore_trigger=restore_trigger, + time_of_deletion=time_of_deletion, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + vault_type: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + external_key_manager_metadata: Optional[pulumi.Input['VaultExternalKeyManagerMetadataArgs']] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + restore_from_file: Optional[pulumi.Input['VaultRestoreFromFileArgs']] = None, + restore_from_object_store: Optional[pulumi.Input['VaultRestoreFromObjectStoreArgs']] = None, + restore_trigger: Optional[pulumi.Input[bool]] = None, + time_of_deletion: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) + _setter("vault_type", vault_type) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) + if external_key_manager_metadata is not None: + _setter("external_key_manager_metadata", external_key_manager_metadata) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if restore_from_file is not None: - pulumi.set(__self__, "restore_from_file", restore_from_file) + _setter("restore_from_file", restore_from_file) if restore_from_object_store is not None: - pulumi.set(__self__, "restore_from_object_store", restore_from_object_store) + _setter("restore_from_object_store", restore_from_object_store) if restore_trigger is not None: - pulumi.set(__self__, "restore_trigger", restore_trigger) + _setter("restore_trigger", restore_trigger) if time_of_deletion is not None: - pulumi.set(__self__, "time_of_deletion", time_of_deletion) + _setter("time_of_deletion", time_of_deletion) @property @pulumi.getter(name="compartmentId") @@ -103,6 +134,18 @@ def defined_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): pulumi.set(self, "defined_tags", value) + @property + @pulumi.getter(name="externalKeyManagerMetadata") + def external_key_manager_metadata(self) -> Optional[pulumi.Input['VaultExternalKeyManagerMetadataArgs']]: + """ + Metadata required for accessing External Key manager + """ + return pulumi.get(self, "external_key_manager_metadata") + + @external_key_manager_metadata.setter + def external_key_manager_metadata(self, value: Optional[pulumi.Input['VaultExternalKeyManagerMetadataArgs']]): + pulumi.set(self, "external_key_manager_metadata", value) + @property @pulumi.getter(name="freeformTags") def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: @@ -171,6 +214,8 @@ def __init__(__self__, *, crypto_endpoint: Optional[pulumi.Input[str]] = None, defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, display_name: Optional[pulumi.Input[str]] = None, + external_key_manager_metadata: Optional[pulumi.Input['VaultExternalKeyManagerMetadataArgs']] = None, + external_key_manager_metadata_summaries: Optional[pulumi.Input[Sequence[pulumi.Input['VaultExternalKeyManagerMetadataSummaryArgs']]]] = None, freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, is_primary: Optional[pulumi.Input[bool]] = None, management_endpoint: Optional[pulumi.Input[str]] = None, @@ -189,13 +234,15 @@ def __init__(__self__, *, :param pulumi.Input[str] crypto_endpoint: The service endpoint to perform cryptographic operations against. Cryptographic operations include [Encrypt](https://docs.cloud.oracle.com/iaas/api/#/en/key/latest/EncryptedData/Encrypt), [Decrypt](https://docs.cloud.oracle.com/iaas/api/#/en/key/latest/DecryptedData/Decrypt), and [GenerateDataEncryptionKey](https://docs.cloud.oracle.com/iaas/api/#/en/key/latest/GeneratedKey/GenerateDataEncryptionKey) operations. :param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` :param pulumi.Input[str] display_name: (Updatable) A user-friendly name for the vault. It does not have to be unique, and it is changeable. Avoid entering confidential information. + :param pulumi.Input['VaultExternalKeyManagerMetadataArgs'] external_key_manager_metadata: Metadata required for accessing External Key manager + :param pulumi.Input[Sequence[pulumi.Input['VaultExternalKeyManagerMetadataSummaryArgs']]] external_key_manager_metadata_summaries: Summary about metadata of external key manager to be returned to the customer as a response. :param pulumi.Input[Mapping[str, Any]] freeform_tags: (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` - :param pulumi.Input[bool] is_primary: A boolean that will be true when vault is primary, and will be false when vault is a replica from a primary vault. + :param pulumi.Input[bool] is_primary: A Boolean value that indicates whether the Vault is primary Vault or replica Vault. :param pulumi.Input[str] management_endpoint: The service endpoint to perform management operations against. Management operations include "Create," "Update," "List," "Get," and "Delete" operations. :param pulumi.Input[Sequence[pulumi.Input['VaultReplicaDetailArgs']]] replica_details: Vault replica details :param pulumi.Input['VaultRestoreFromFileArgs'] restore_from_file: (Updatable) Details where vault was backed up. :param pulumi.Input['VaultRestoreFromObjectStoreArgs'] restore_from_object_store: (Updatable) Details where vault was backed up - :param pulumi.Input[str] restored_from_vault_id: The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. + :param pulumi.Input[str] restored_from_vault_id: The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. :param pulumi.Input[str] state: The vault's current lifecycle state. Example: `DELETED` :param pulumi.Input[str] time_created: The date and time this vault was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` :param pulumi.Input[str] time_of_deletion: (Updatable) An optional property for the deletion time of the vault, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` @@ -204,38 +251,85 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] vault_type: The type of vault to create. Each type of vault stores the key with different degrees of isolation and has different options and pricing. """ + _VaultState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + crypto_endpoint=crypto_endpoint, + defined_tags=defined_tags, + display_name=display_name, + external_key_manager_metadata=external_key_manager_metadata, + external_key_manager_metadata_summaries=external_key_manager_metadata_summaries, + freeform_tags=freeform_tags, + is_primary=is_primary, + management_endpoint=management_endpoint, + replica_details=replica_details, + restore_from_file=restore_from_file, + restore_from_object_store=restore_from_object_store, + restore_trigger=restore_trigger, + restored_from_vault_id=restored_from_vault_id, + state=state, + time_created=time_created, + time_of_deletion=time_of_deletion, + vault_type=vault_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + crypto_endpoint: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + external_key_manager_metadata: Optional[pulumi.Input['VaultExternalKeyManagerMetadataArgs']] = None, + external_key_manager_metadata_summaries: Optional[pulumi.Input[Sequence[pulumi.Input['VaultExternalKeyManagerMetadataSummaryArgs']]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_primary: Optional[pulumi.Input[bool]] = None, + management_endpoint: Optional[pulumi.Input[str]] = None, + replica_details: Optional[pulumi.Input[Sequence[pulumi.Input['VaultReplicaDetailArgs']]]] = None, + restore_from_file: Optional[pulumi.Input['VaultRestoreFromFileArgs']] = None, + restore_from_object_store: Optional[pulumi.Input['VaultRestoreFromObjectStoreArgs']] = None, + restore_trigger: Optional[pulumi.Input[bool]] = None, + restored_from_vault_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_of_deletion: Optional[pulumi.Input[str]] = None, + vault_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if crypto_endpoint is not None: - pulumi.set(__self__, "crypto_endpoint", crypto_endpoint) + _setter("crypto_endpoint", crypto_endpoint) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) + if external_key_manager_metadata is not None: + _setter("external_key_manager_metadata", external_key_manager_metadata) + if external_key_manager_metadata_summaries is not None: + _setter("external_key_manager_metadata_summaries", external_key_manager_metadata_summaries) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_primary is not None: - pulumi.set(__self__, "is_primary", is_primary) + _setter("is_primary", is_primary) if management_endpoint is not None: - pulumi.set(__self__, "management_endpoint", management_endpoint) + _setter("management_endpoint", management_endpoint) if replica_details is not None: - pulumi.set(__self__, "replica_details", replica_details) + _setter("replica_details", replica_details) if restore_from_file is not None: - pulumi.set(__self__, "restore_from_file", restore_from_file) + _setter("restore_from_file", restore_from_file) if restore_from_object_store is not None: - pulumi.set(__self__, "restore_from_object_store", restore_from_object_store) + _setter("restore_from_object_store", restore_from_object_store) if restore_trigger is not None: - pulumi.set(__self__, "restore_trigger", restore_trigger) + _setter("restore_trigger", restore_trigger) if restored_from_vault_id is not None: - pulumi.set(__self__, "restored_from_vault_id", restored_from_vault_id) + _setter("restored_from_vault_id", restored_from_vault_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_of_deletion is not None: - pulumi.set(__self__, "time_of_deletion", time_of_deletion) + _setter("time_of_deletion", time_of_deletion) if vault_type is not None: - pulumi.set(__self__, "vault_type", vault_type) + _setter("vault_type", vault_type) @property @pulumi.getter(name="compartmentId") @@ -285,6 +379,30 @@ def display_name(self) -> Optional[pulumi.Input[str]]: def display_name(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "display_name", value) + @property + @pulumi.getter(name="externalKeyManagerMetadata") + def external_key_manager_metadata(self) -> Optional[pulumi.Input['VaultExternalKeyManagerMetadataArgs']]: + """ + Metadata required for accessing External Key manager + """ + return pulumi.get(self, "external_key_manager_metadata") + + @external_key_manager_metadata.setter + def external_key_manager_metadata(self, value: Optional[pulumi.Input['VaultExternalKeyManagerMetadataArgs']]): + pulumi.set(self, "external_key_manager_metadata", value) + + @property + @pulumi.getter(name="externalKeyManagerMetadataSummaries") + def external_key_manager_metadata_summaries(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VaultExternalKeyManagerMetadataSummaryArgs']]]]: + """ + Summary about metadata of external key manager to be returned to the customer as a response. + """ + return pulumi.get(self, "external_key_manager_metadata_summaries") + + @external_key_manager_metadata_summaries.setter + def external_key_manager_metadata_summaries(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['VaultExternalKeyManagerMetadataSummaryArgs']]]]): + pulumi.set(self, "external_key_manager_metadata_summaries", value) + @property @pulumi.getter(name="freeformTags") def freeform_tags(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: @@ -301,7 +419,7 @@ def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): @pulumi.getter(name="isPrimary") def is_primary(self) -> Optional[pulumi.Input[bool]]: """ - A boolean that will be true when vault is primary, and will be false when vault is a replica from a primary vault. + A Boolean value that indicates whether the Vault is primary Vault or replica Vault. """ return pulumi.get(self, "is_primary") @@ -370,7 +488,7 @@ def restore_trigger(self, value: Optional[pulumi.Input[bool]]): @pulumi.getter(name="restoredFromVaultId") def restored_from_vault_id(self) -> Optional[pulumi.Input[str]]: """ - The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. + The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. """ return pulumi.get(self, "restored_from_vault_id") @@ -438,6 +556,7 @@ def __init__(__self__, compartment_id: Optional[pulumi.Input[str]] = None, defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, display_name: Optional[pulumi.Input[str]] = None, + external_key_manager_metadata: Optional[pulumi.Input[pulumi.InputType['VaultExternalKeyManagerMetadataArgs']]] = None, freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, restore_from_file: Optional[pulumi.Input[pulumi.InputType['VaultRestoreFromFileArgs']]] = None, restore_from_object_store: Optional[pulumi.Input[pulumi.InputType['VaultRestoreFromObjectStoreArgs']]] = None, @@ -471,6 +590,15 @@ def __init__(__self__, defined_tags={ "Operations.CostCenter": "42", }, + external_key_manager_metadata=oci.kms.VaultExternalKeyManagerMetadataArgs( + external_vault_endpoint_url=var["vault_external_key_manager_metadata_external_vault_endpoint_url"], + oauth_metadata=oci.kms.VaultExternalKeyManagerMetadataOauthMetadataArgs( + client_app_id=oci_kms_client_app["test_client_app"]["id"], + client_app_secret=var["vault_external_key_manager_metadata_oauth_metadata_client_app_secret"], + idcs_account_name_url=var["vault_external_key_manager_metadata_oauth_metadata_idcs_account_name_url"], + ), + private_endpoint_id=oci_dataflow_private_endpoint["test_private_endpoint"]["id"], + ), freeform_tags={ "Department": "Finance", }) @@ -489,6 +617,7 @@ def __init__(__self__, :param pulumi.Input[str] compartment_id: (Updatable) The OCID of the compartment where you want to create this vault. :param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` :param pulumi.Input[str] display_name: (Updatable) A user-friendly name for the vault. It does not have to be unique, and it is changeable. Avoid entering confidential information. + :param pulumi.Input[pulumi.InputType['VaultExternalKeyManagerMetadataArgs']] external_key_manager_metadata: Metadata required for accessing External Key manager :param pulumi.Input[Mapping[str, Any]] freeform_tags: (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` :param pulumi.Input[pulumi.InputType['VaultRestoreFromFileArgs']] restore_from_file: (Updatable) Details where vault was backed up. :param pulumi.Input[pulumi.InputType['VaultRestoreFromObjectStoreArgs']] restore_from_object_store: (Updatable) Details where vault was backed up @@ -530,6 +659,15 @@ def __init__(__self__, defined_tags={ "Operations.CostCenter": "42", }, + external_key_manager_metadata=oci.kms.VaultExternalKeyManagerMetadataArgs( + external_vault_endpoint_url=var["vault_external_key_manager_metadata_external_vault_endpoint_url"], + oauth_metadata=oci.kms.VaultExternalKeyManagerMetadataOauthMetadataArgs( + client_app_id=oci_kms_client_app["test_client_app"]["id"], + client_app_secret=var["vault_external_key_manager_metadata_oauth_metadata_client_app_secret"], + idcs_account_name_url=var["vault_external_key_manager_metadata_oauth_metadata_idcs_account_name_url"], + ), + private_endpoint_id=oci_dataflow_private_endpoint["test_private_endpoint"]["id"], + ), freeform_tags={ "Department": "Finance", }) @@ -553,6 +691,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + VaultArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -561,6 +703,7 @@ def _internal_init(__self__, compartment_id: Optional[pulumi.Input[str]] = None, defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, display_name: Optional[pulumi.Input[str]] = None, + external_key_manager_metadata: Optional[pulumi.Input[pulumi.InputType['VaultExternalKeyManagerMetadataArgs']]] = None, freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, restore_from_file: Optional[pulumi.Input[pulumi.InputType['VaultRestoreFromFileArgs']]] = None, restore_from_object_store: Optional[pulumi.Input[pulumi.InputType['VaultRestoreFromObjectStoreArgs']]] = None, @@ -583,8 +726,24 @@ def _internal_init(__self__, if display_name is None and not opts.urn: raise TypeError("Missing required property 'display_name'") __props__.__dict__["display_name"] = display_name + if external_key_manager_metadata is not None and not isinstance(external_key_manager_metadata, VaultExternalKeyManagerMetadataArgs): + external_key_manager_metadata = external_key_manager_metadata or {} + def _setter(key, value): + external_key_manager_metadata[key] = value + VaultExternalKeyManagerMetadataArgs._configure(_setter, **external_key_manager_metadata) + __props__.__dict__["external_key_manager_metadata"] = external_key_manager_metadata __props__.__dict__["freeform_tags"] = freeform_tags + if restore_from_file is not None and not isinstance(restore_from_file, VaultRestoreFromFileArgs): + restore_from_file = restore_from_file or {} + def _setter(key, value): + restore_from_file[key] = value + VaultRestoreFromFileArgs._configure(_setter, **restore_from_file) __props__.__dict__["restore_from_file"] = restore_from_file + if restore_from_object_store is not None and not isinstance(restore_from_object_store, VaultRestoreFromObjectStoreArgs): + restore_from_object_store = restore_from_object_store or {} + def _setter(key, value): + restore_from_object_store[key] = value + VaultRestoreFromObjectStoreArgs._configure(_setter, **restore_from_object_store) __props__.__dict__["restore_from_object_store"] = restore_from_object_store __props__.__dict__["restore_trigger"] = restore_trigger __props__.__dict__["time_of_deletion"] = time_of_deletion @@ -592,6 +751,7 @@ def _internal_init(__self__, raise TypeError("Missing required property 'vault_type'") __props__.__dict__["vault_type"] = vault_type __props__.__dict__["crypto_endpoint"] = None + __props__.__dict__["external_key_manager_metadata_summaries"] = None __props__.__dict__["is_primary"] = None __props__.__dict__["management_endpoint"] = None __props__.__dict__["replica_details"] = None @@ -612,6 +772,8 @@ def get(resource_name: str, crypto_endpoint: Optional[pulumi.Input[str]] = None, defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, display_name: Optional[pulumi.Input[str]] = None, + external_key_manager_metadata: Optional[pulumi.Input[pulumi.InputType['VaultExternalKeyManagerMetadataArgs']]] = None, + external_key_manager_metadata_summaries: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VaultExternalKeyManagerMetadataSummaryArgs']]]]] = None, freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, is_primary: Optional[pulumi.Input[bool]] = None, management_endpoint: Optional[pulumi.Input[str]] = None, @@ -635,13 +797,15 @@ def get(resource_name: str, :param pulumi.Input[str] crypto_endpoint: The service endpoint to perform cryptographic operations against. Cryptographic operations include [Encrypt](https://docs.cloud.oracle.com/iaas/api/#/en/key/latest/EncryptedData/Encrypt), [Decrypt](https://docs.cloud.oracle.com/iaas/api/#/en/key/latest/DecryptedData/Decrypt), and [GenerateDataEncryptionKey](https://docs.cloud.oracle.com/iaas/api/#/en/key/latest/GeneratedKey/GenerateDataEncryptionKey) operations. :param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Operations.CostCenter": "42"}` :param pulumi.Input[str] display_name: (Updatable) A user-friendly name for the vault. It does not have to be unique, and it is changeable. Avoid entering confidential information. + :param pulumi.Input[pulumi.InputType['VaultExternalKeyManagerMetadataArgs']] external_key_manager_metadata: Metadata required for accessing External Key manager + :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VaultExternalKeyManagerMetadataSummaryArgs']]]] external_key_manager_metadata_summaries: Summary about metadata of external key manager to be returned to the customer as a response. :param pulumi.Input[Mapping[str, Any]] freeform_tags: (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` - :param pulumi.Input[bool] is_primary: A boolean that will be true when vault is primary, and will be false when vault is a replica from a primary vault. + :param pulumi.Input[bool] is_primary: A Boolean value that indicates whether the Vault is primary Vault or replica Vault. :param pulumi.Input[str] management_endpoint: The service endpoint to perform management operations against. Management operations include "Create," "Update," "List," "Get," and "Delete" operations. :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['VaultReplicaDetailArgs']]]] replica_details: Vault replica details :param pulumi.Input[pulumi.InputType['VaultRestoreFromFileArgs']] restore_from_file: (Updatable) Details where vault was backed up. :param pulumi.Input[pulumi.InputType['VaultRestoreFromObjectStoreArgs']] restore_from_object_store: (Updatable) Details where vault was backed up - :param pulumi.Input[str] restored_from_vault_id: The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. + :param pulumi.Input[str] restored_from_vault_id: The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. :param pulumi.Input[str] state: The vault's current lifecycle state. Example: `DELETED` :param pulumi.Input[str] time_created: The date and time this vault was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2018-04-03T21:10:29.600Z` :param pulumi.Input[str] time_of_deletion: (Updatable) An optional property for the deletion time of the vault, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` @@ -658,6 +822,8 @@ def get(resource_name: str, __props__.__dict__["crypto_endpoint"] = crypto_endpoint __props__.__dict__["defined_tags"] = defined_tags __props__.__dict__["display_name"] = display_name + __props__.__dict__["external_key_manager_metadata"] = external_key_manager_metadata + __props__.__dict__["external_key_manager_metadata_summaries"] = external_key_manager_metadata_summaries __props__.__dict__["freeform_tags"] = freeform_tags __props__.__dict__["is_primary"] = is_primary __props__.__dict__["management_endpoint"] = management_endpoint @@ -704,6 +870,22 @@ def display_name(self) -> pulumi.Output[str]: """ return pulumi.get(self, "display_name") + @property + @pulumi.getter(name="externalKeyManagerMetadata") + def external_key_manager_metadata(self) -> pulumi.Output['outputs.VaultExternalKeyManagerMetadata']: + """ + Metadata required for accessing External Key manager + """ + return pulumi.get(self, "external_key_manager_metadata") + + @property + @pulumi.getter(name="externalKeyManagerMetadataSummaries") + def external_key_manager_metadata_summaries(self) -> pulumi.Output[Sequence['outputs.VaultExternalKeyManagerMetadataSummary']]: + """ + Summary about metadata of external key manager to be returned to the customer as a response. + """ + return pulumi.get(self, "external_key_manager_metadata_summaries") + @property @pulumi.getter(name="freeformTags") def freeform_tags(self) -> pulumi.Output[Mapping[str, Any]]: @@ -716,7 +898,7 @@ def freeform_tags(self) -> pulumi.Output[Mapping[str, Any]]: @pulumi.getter(name="isPrimary") def is_primary(self) -> pulumi.Output[bool]: """ - A boolean that will be true when vault is primary, and will be false when vault is a replica from a primary vault. + A Boolean value that indicates whether the Vault is primary Vault or replica Vault. """ return pulumi.get(self, "is_primary") @@ -761,7 +943,7 @@ def restore_trigger(self) -> pulumi.Output[Optional[bool]]: @pulumi.getter(name="restoredFromVaultId") def restored_from_vault_id(self) -> pulumi.Output[str]: """ - The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. + The OCID of the vault from which this vault was restored, if it was restored from a backup file. If you restore a vault to the same region, the vault retains the same OCID that it had when you backed up the vault. """ return pulumi.get(self, "restored_from_vault_id") diff --git a/sdk/python/pulumi_oci/kms/vault_verification.py b/sdk/python/pulumi_oci/kms/vault_verification.py index 644a9b9651..48d3ffa58c 100644 --- a/sdk/python/pulumi_oci/kms/vault_verification.py +++ b/sdk/python/pulumi_oci/kms/vault_verification.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['VaultVerificationArgs', 'VaultVerification'] @@ -22,8 +22,19 @@ def __init__(__self__, *, replica will be deleted from old region, and created to updated region. :param pulumi.Input[str] vault_id: The OCID of the primary vault to create replica from. """ - pulumi.set(__self__, "replica_region", replica_region) - pulumi.set(__self__, "vault_id", vault_id) + VaultVerificationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + replica_region=replica_region, + vault_id=vault_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + replica_region: pulumi.Input[str], + vault_id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("replica_region", replica_region) + _setter("vault_id", vault_id) @property @pulumi.getter(name="replicaRegion") @@ -62,10 +73,21 @@ def __init__(__self__, *, replica will be deleted from old region, and created to updated region. :param pulumi.Input[str] vault_id: The OCID of the primary vault to create replica from. """ + _VaultVerificationState._configure( + lambda key, value: pulumi.set(__self__, key, value), + replica_region=replica_region, + vault_id=vault_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + replica_region: Optional[pulumi.Input[str]] = None, + vault_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if replica_region is not None: - pulumi.set(__self__, "replica_region", replica_region) + _setter("replica_region", replica_region) if vault_id is not None: - pulumi.set(__self__, "vault_id", vault_id) + _setter("vault_id", vault_id) @property @pulumi.getter(name="replicaRegion") @@ -163,6 +185,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + VaultVerificationArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/kms/verify.py b/sdk/python/pulumi_oci/kms/verify.py index cff08d367a..214aadaa04 100644 --- a/sdk/python/pulumi_oci/kms/verify.py +++ b/sdk/python/pulumi_oci/kms/verify.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['VerifyArgs', 'Verify'] @@ -28,21 +28,42 @@ def __init__(__self__, *, :param pulumi.Input[str] key_version_id: The OCID of the key version used to sign the message. :param pulumi.Input[str] message: The base64-encoded binary data object denoting the message or message digest to sign. You can have a message up to 4096 bytes in size. To sign a larger message, provide the message digest. :param pulumi.Input[str] signature: The base64-encoded binary data object denoting the cryptographic signature generated for the message. - :param pulumi.Input[str] signing_algorithm: The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. + :param pulumi.Input[str] signing_algorithm: The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. ** 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 - :param pulumi.Input[str] message_type: Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. - """ - pulumi.set(__self__, "crypto_endpoint", crypto_endpoint) - pulumi.set(__self__, "key_id", key_id) - pulumi.set(__self__, "key_version_id", key_version_id) - pulumi.set(__self__, "message", message) - pulumi.set(__self__, "signature", signature) - pulumi.set(__self__, "signing_algorithm", signing_algorithm) + :param pulumi.Input[str] message_type: Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. + """ + VerifyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + crypto_endpoint=crypto_endpoint, + key_id=key_id, + key_version_id=key_version_id, + message=message, + signature=signature, + signing_algorithm=signing_algorithm, + message_type=message_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + crypto_endpoint: pulumi.Input[str], + key_id: pulumi.Input[str], + key_version_id: pulumi.Input[str], + message: pulumi.Input[str], + signature: pulumi.Input[str], + signing_algorithm: pulumi.Input[str], + message_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("crypto_endpoint", crypto_endpoint) + _setter("key_id", key_id) + _setter("key_version_id", key_version_id) + _setter("message", message) + _setter("signature", signature) + _setter("signing_algorithm", signing_algorithm) if message_type is not None: - pulumi.set(__self__, "message_type", message_type) + _setter("message_type", message_type) @property @pulumi.getter(name="cryptoEndpoint") @@ -108,7 +129,7 @@ def signature(self, value: pulumi.Input[str]): @pulumi.getter(name="signingAlgorithm") def signing_algorithm(self) -> pulumi.Input[str]: """ - The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. + The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. ** IMPORTANT ** @@ -124,7 +145,7 @@ def signing_algorithm(self, value: pulumi.Input[str]): @pulumi.getter(name="messageType") def message_type(self) -> Optional[pulumi.Input[str]]: """ - Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. + Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. """ return pulumi.get(self, "message_type") @@ -151,30 +172,53 @@ def __init__(__self__, *, :param pulumi.Input[str] key_id: The OCID of the key used to sign the message. :param pulumi.Input[str] key_version_id: The OCID of the key version used to sign the message. :param pulumi.Input[str] message: The base64-encoded binary data object denoting the message or message digest to sign. You can have a message up to 4096 bytes in size. To sign a larger message, provide the message digest. - :param pulumi.Input[str] message_type: Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. + :param pulumi.Input[str] message_type: Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. :param pulumi.Input[str] signature: The base64-encoded binary data object denoting the cryptographic signature generated for the message. - :param pulumi.Input[str] signing_algorithm: The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. + :param pulumi.Input[str] signing_algorithm: The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. ** 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 """ + _VerifyState._configure( + lambda key, value: pulumi.set(__self__, key, value), + crypto_endpoint=crypto_endpoint, + is_signature_valid=is_signature_valid, + key_id=key_id, + key_version_id=key_version_id, + message=message, + message_type=message_type, + signature=signature, + signing_algorithm=signing_algorithm, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + crypto_endpoint: Optional[pulumi.Input[str]] = None, + is_signature_valid: Optional[pulumi.Input[bool]] = None, + key_id: Optional[pulumi.Input[str]] = None, + key_version_id: Optional[pulumi.Input[str]] = None, + message: Optional[pulumi.Input[str]] = None, + message_type: Optional[pulumi.Input[str]] = None, + signature: Optional[pulumi.Input[str]] = None, + signing_algorithm: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if crypto_endpoint is not None: - pulumi.set(__self__, "crypto_endpoint", crypto_endpoint) + _setter("crypto_endpoint", crypto_endpoint) if is_signature_valid is not None: - pulumi.set(__self__, "is_signature_valid", is_signature_valid) + _setter("is_signature_valid", is_signature_valid) if key_id is not None: - pulumi.set(__self__, "key_id", key_id) + _setter("key_id", key_id) if key_version_id is not None: - pulumi.set(__self__, "key_version_id", key_version_id) + _setter("key_version_id", key_version_id) if message is not None: - pulumi.set(__self__, "message", message) + _setter("message", message) if message_type is not None: - pulumi.set(__self__, "message_type", message_type) + _setter("message_type", message_type) if signature is not None: - pulumi.set(__self__, "signature", signature) + _setter("signature", signature) if signing_algorithm is not None: - pulumi.set(__self__, "signing_algorithm", signing_algorithm) + _setter("signing_algorithm", signing_algorithm) @property @pulumi.getter(name="cryptoEndpoint") @@ -240,7 +284,7 @@ def message(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="messageType") def message_type(self) -> Optional[pulumi.Input[str]]: """ - Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. + Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. """ return pulumi.get(self, "message_type") @@ -264,7 +308,7 @@ def signature(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="signingAlgorithm") def signing_algorithm(self) -> Optional[pulumi.Input[str]]: """ - The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. + The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. ** IMPORTANT ** @@ -294,8 +338,9 @@ def __init__(__self__, This resource provides the Verify resource in Oracle Cloud Infrastructure Kms service. Verifies a digital signature that was generated by the [Sign](https://docs.cloud.oracle.com/iaas/api/#/en/key/latest/SignedData/Sign) operation - by using the public key of the same asymmetric key that was used to sign the data. If you want to validate the\\ + by using the public key of the same asymmetric key that was used to sign the data. If you want to validate the digital signature outside of the service, you can do so by using the public key of the asymmetric key. + This operation is not supported for keys having protection mode `EXTERNAL`. ## Example Usage @@ -327,9 +372,9 @@ def __init__(__self__, :param pulumi.Input[str] key_id: The OCID of the key used to sign the message. :param pulumi.Input[str] key_version_id: The OCID of the key version used to sign the message. :param pulumi.Input[str] message: The base64-encoded binary data object denoting the message or message digest to sign. You can have a message up to 4096 bytes in size. To sign a larger message, provide the message digest. - :param pulumi.Input[str] message_type: Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. + :param pulumi.Input[str] message_type: Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. :param pulumi.Input[str] signature: The base64-encoded binary data object denoting the cryptographic signature generated for the message. - :param pulumi.Input[str] signing_algorithm: The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. + :param pulumi.Input[str] signing_algorithm: The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. ** IMPORTANT ** @@ -345,8 +390,9 @@ def __init__(__self__, This resource provides the Verify resource in Oracle Cloud Infrastructure Kms service. Verifies a digital signature that was generated by the [Sign](https://docs.cloud.oracle.com/iaas/api/#/en/key/latest/SignedData/Sign) operation - by using the public key of the same asymmetric key that was used to sign the data. If you want to validate the\\ + by using the public key of the same asymmetric key that was used to sign the data. If you want to validate the digital signature outside of the service, you can do so by using the public key of the asymmetric key. + This operation is not supported for keys having protection mode `EXTERNAL`. ## Example Usage @@ -382,6 +428,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + VerifyArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -453,9 +503,9 @@ def get(resource_name: str, :param pulumi.Input[str] key_id: The OCID of the key used to sign the message. :param pulumi.Input[str] key_version_id: The OCID of the key version used to sign the message. :param pulumi.Input[str] message: The base64-encoded binary data object denoting the message or message digest to sign. You can have a message up to 4096 bytes in size. To sign a larger message, provide the message digest. - :param pulumi.Input[str] message_type: Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. + :param pulumi.Input[str] message_type: Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. :param pulumi.Input[str] signature: The base64-encoded binary data object denoting the cryptographic signature generated for the message. - :param pulumi.Input[str] signing_algorithm: The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. + :param pulumi.Input[str] signing_algorithm: The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. ** IMPORTANT ** @@ -519,7 +569,7 @@ def message(self) -> pulumi.Output[str]: @pulumi.getter(name="messageType") def message_type(self) -> pulumi.Output[str]: """ - Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. + Denotes whether the value of the message parameter is a raw message or a message digest. The default value, `RAW`, indicates a message. To indicate a message digest, use `DIGEST`. """ return pulumi.get(self, "message_type") @@ -535,7 +585,7 @@ def signature(self) -> pulumi.Output[str]: @pulumi.getter(name="signingAlgorithm") def signing_algorithm(self) -> pulumi.Output[str]: """ - The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. + The algorithm to use to sign the message or message digest. For RSA keys, supported signature schemes include PKCS #1 and RSASSA-PSS, along with different hashing algorithms. For ECDSA keys, ECDSA is the supported signature scheme with different hashing algorithms. When you pass a message digest for signing, ensure that you specify the same hashing algorithm as used when creating the message digest. ** IMPORTANT ** diff --git a/sdk/python/pulumi_oci/licensemanager/_inputs.py b/sdk/python/pulumi_oci/licensemanager/_inputs.py index 2993c84721..0631b3bb89 100644 --- a/sdk/python/pulumi_oci/licensemanager/_inputs.py +++ b/sdk/python/pulumi_oci/licensemanager/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -30,14 +30,31 @@ def __init__(__self__, *, :param pulumi.Input[str] listing_name: The listing name associated with the product license. :param pulumi.Input[str] publisher: The image publisher. """ - pulumi.set(__self__, "listing_id", listing_id) - pulumi.set(__self__, "package_version", package_version) + ProductLicenseImageArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + listing_id=listing_id, + package_version=package_version, + id=id, + listing_name=listing_name, + publisher=publisher, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + listing_id: pulumi.Input[str], + package_version: pulumi.Input[str], + id: Optional[pulumi.Input[str]] = None, + listing_name: Optional[pulumi.Input[str]] = None, + publisher: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("listing_id", listing_id) + _setter("package_version", package_version) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if listing_name is not None: - pulumi.set(__self__, "listing_name", listing_name) + _setter("listing_name", listing_name) if publisher is not None: - pulumi.set(__self__, "publisher", publisher) + _setter("publisher", publisher) @property @pulumi.getter(name="listingId") @@ -106,10 +123,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetLicenseRecordsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -145,10 +175,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetProductLicensesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/licensemanager/configuration.py b/sdk/python/pulumi_oci/licensemanager/configuration.py index 777fc47c68..b4cfa466c0 100644 --- a/sdk/python/pulumi_oci/licensemanager/configuration.py +++ b/sdk/python/pulumi_oci/licensemanager/configuration.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['ConfigurationArgs', 'Configuration'] @@ -25,8 +25,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "email_ids", email_ids) + ConfigurationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + email_ids=email_ids, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + email_ids: pulumi.Input[Sequence[pulumi.Input[str]]], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("email_ids", email_ids) @property @pulumi.getter(name="compartmentId") @@ -75,14 +86,29 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The time the configuration was created. An [RFC 3339](https://tools.ietf.org/html/rfc3339)-formatted datetime string. :param pulumi.Input[str] time_updated: The time the configuration was updated. An [RFC 3339](https://tools.ietf.org/html/rfc3339)-formatted datetime string. """ + _ConfigurationState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + email_ids=email_ids, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + email_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if email_ids is not None: - pulumi.set(__self__, "email_ids", email_ids) + _setter("email_ids", email_ids) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -218,6 +244,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ConfigurationArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/licensemanager/get_configuration.py b/sdk/python/pulumi_oci/licensemanager/get_configuration.py index 341ef7d79a..7e9abc5d07 100644 --- a/sdk/python/pulumi_oci/licensemanager/get_configuration.py +++ b/sdk/python/pulumi_oci/licensemanager/get_configuration.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/licensemanager/get_license_metric.py b/sdk/python/pulumi_oci/licensemanager/get_license_metric.py index 8249baa579..7659bbae56 100644 --- a/sdk/python/pulumi_oci/licensemanager/get_license_metric.py +++ b/sdk/python/pulumi_oci/licensemanager/get_license_metric.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/licensemanager/get_license_record.py b/sdk/python/pulumi_oci/licensemanager/get_license_record.py index 51036d834a..7213b4727a 100644 --- a/sdk/python/pulumi_oci/licensemanager/get_license_record.py +++ b/sdk/python/pulumi_oci/licensemanager/get_license_record.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/licensemanager/get_license_records.py b/sdk/python/pulumi_oci/licensemanager/get_license_records.py index addafcfb62..db9e12bdcb 100644 --- a/sdk/python/pulumi_oci/licensemanager/get_license_records.py +++ b/sdk/python/pulumi_oci/licensemanager/get_license_records.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/licensemanager/get_product_license.py b/sdk/python/pulumi_oci/licensemanager/get_product_license.py index bfe104f8d5..b35901ef0b 100644 --- a/sdk/python/pulumi_oci/licensemanager/get_product_license.py +++ b/sdk/python/pulumi_oci/licensemanager/get_product_license.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/licensemanager/get_product_license_consumers.py b/sdk/python/pulumi_oci/licensemanager/get_product_license_consumers.py index 18f03ad7c9..78faf6435c 100644 --- a/sdk/python/pulumi_oci/licensemanager/get_product_license_consumers.py +++ b/sdk/python/pulumi_oci/licensemanager/get_product_license_consumers.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/licensemanager/get_product_licenses.py b/sdk/python/pulumi_oci/licensemanager/get_product_licenses.py index e397562caa..d537132d8a 100644 --- a/sdk/python/pulumi_oci/licensemanager/get_product_licenses.py +++ b/sdk/python/pulumi_oci/licensemanager/get_product_licenses.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/licensemanager/get_top_utilized_product_licenses.py b/sdk/python/pulumi_oci/licensemanager/get_top_utilized_product_licenses.py index 2fb2391c7e..812f865e1e 100644 --- a/sdk/python/pulumi_oci/licensemanager/get_top_utilized_product_licenses.py +++ b/sdk/python/pulumi_oci/licensemanager/get_top_utilized_product_licenses.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/licensemanager/get_top_utilized_resources.py b/sdk/python/pulumi_oci/licensemanager/get_top_utilized_resources.py index 94bae5d5fc..2318bfe4e2 100644 --- a/sdk/python/pulumi_oci/licensemanager/get_top_utilized_resources.py +++ b/sdk/python/pulumi_oci/licensemanager/get_top_utilized_resources.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/licensemanager/license_record.py b/sdk/python/pulumi_oci/licensemanager/license_record.py index 26147b37b2..574335a615 100644 --- a/sdk/python/pulumi_oci/licensemanager/license_record.py +++ b/sdk/python/pulumi_oci/licensemanager/license_record.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['LicenseRecordArgs', 'LicenseRecord'] @@ -41,22 +41,49 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "is_perpetual", is_perpetual) - pulumi.set(__self__, "is_unlimited", is_unlimited) - pulumi.set(__self__, "product_license_id", product_license_id) + LicenseRecordArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + is_perpetual=is_perpetual, + is_unlimited=is_unlimited, + product_license_id=product_license_id, + defined_tags=defined_tags, + expiration_date=expiration_date, + freeform_tags=freeform_tags, + license_count=license_count, + product_id=product_id, + support_end_date=support_end_date, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: pulumi.Input[str], + is_perpetual: pulumi.Input[bool], + is_unlimited: pulumi.Input[bool], + product_license_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + expiration_date: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + license_count: Optional[pulumi.Input[int]] = None, + product_id: Optional[pulumi.Input[str]] = None, + support_end_date: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("is_perpetual", is_perpetual) + _setter("is_unlimited", is_unlimited) + _setter("product_license_id", product_license_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if expiration_date is not None: - pulumi.set(__self__, "expiration_date", expiration_date) + _setter("expiration_date", expiration_date) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if license_count is not None: - pulumi.set(__self__, "license_count", license_count) + _setter("license_count", license_count) if product_id is not None: - pulumi.set(__self__, "product_id", product_id) + _setter("product_id", product_id) if support_end_date is not None: - pulumi.set(__self__, "support_end_date", support_end_date) + _setter("support_end_date", support_end_date) @property @pulumi.getter(name="displayName") @@ -227,40 +254,81 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The time the license record was created. An [RFC 3339](https://tools.ietf.org/html/rfc3339)-formatted datetime string. :param pulumi.Input[str] time_updated: The time the license record was updated. An [RFC 3339](https://tools.ietf.org/html/rfc3339)-formatted datetime string. """ + _LicenseRecordState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + expiration_date=expiration_date, + freeform_tags=freeform_tags, + is_perpetual=is_perpetual, + is_unlimited=is_unlimited, + license_count=license_count, + license_unit=license_unit, + product_id=product_id, + product_license=product_license, + product_license_id=product_license_id, + state=state, + support_end_date=support_end_date, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + expiration_date: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_perpetual: Optional[pulumi.Input[bool]] = None, + is_unlimited: Optional[pulumi.Input[bool]] = None, + license_count: Optional[pulumi.Input[int]] = None, + license_unit: Optional[pulumi.Input[str]] = None, + product_id: Optional[pulumi.Input[str]] = None, + product_license: Optional[pulumi.Input[str]] = None, + product_license_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + support_end_date: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if expiration_date is not None: - pulumi.set(__self__, "expiration_date", expiration_date) + _setter("expiration_date", expiration_date) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_perpetual is not None: - pulumi.set(__self__, "is_perpetual", is_perpetual) + _setter("is_perpetual", is_perpetual) if is_unlimited is not None: - pulumi.set(__self__, "is_unlimited", is_unlimited) + _setter("is_unlimited", is_unlimited) if license_count is not None: - pulumi.set(__self__, "license_count", license_count) + _setter("license_count", license_count) if license_unit is not None: - pulumi.set(__self__, "license_unit", license_unit) + _setter("license_unit", license_unit) if product_id is not None: - pulumi.set(__self__, "product_id", product_id) + _setter("product_id", product_id) if product_license is not None: - pulumi.set(__self__, "product_license", product_license) + _setter("product_license", product_license) if product_license_id is not None: - pulumi.set(__self__, "product_license_id", product_license_id) + _setter("product_license_id", product_license_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if support_end_date is not None: - pulumi.set(__self__, "support_end_date", support_end_date) + _setter("support_end_date", support_end_date) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -592,6 +660,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + LicenseRecordArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/licensemanager/outputs.py b/sdk/python/pulumi_oci/licensemanager/outputs.py index 78775fd197..806f3bb0d5 100644 --- a/sdk/python/pulumi_oci/licensemanager/outputs.py +++ b/sdk/python/pulumi_oci/licensemanager/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -62,14 +62,31 @@ def __init__(__self__, *, :param str listing_name: The listing name associated with the product license. :param str publisher: The image publisher. """ - pulumi.set(__self__, "listing_id", listing_id) - pulumi.set(__self__, "package_version", package_version) + ProductLicenseImage._configure( + lambda key, value: pulumi.set(__self__, key, value), + listing_id=listing_id, + package_version=package_version, + id=id, + listing_name=listing_name, + publisher=publisher, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + listing_id: str, + package_version: str, + id: Optional[str] = None, + listing_name: Optional[str] = None, + publisher: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("listing_id", listing_id) + _setter("package_version", package_version) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if listing_name is not None: - pulumi.set(__self__, "listing_name", listing_name) + _setter("listing_name", listing_name) if publisher is not None: - pulumi.set(__self__, "publisher", publisher) + _setter("publisher", publisher) @property @pulumi.getter(name="listingId") @@ -118,10 +135,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetLicenseRecordsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -143,7 +173,16 @@ def regex(self) -> Optional[bool]: class GetLicenseRecordsLicenseRecordCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetLicenseRecordsLicenseRecordCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetLicenseRecordsLicenseRecordCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetLicenseRecordsLicenseRecordCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -192,24 +231,67 @@ def __init__(__self__, *, :param str time_created: The time the license record was created. An [RFC 3339](https://tools.ietf.org/html/rfc3339)-formatted datetime string. :param str time_updated: The time the license record was updated. An [RFC 3339](https://tools.ietf.org/html/rfc3339)-formatted datetime string. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "expiration_date", expiration_date) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_perpetual", is_perpetual) - pulumi.set(__self__, "is_unlimited", is_unlimited) - pulumi.set(__self__, "license_count", license_count) - pulumi.set(__self__, "license_unit", license_unit) - pulumi.set(__self__, "product_id", product_id) - pulumi.set(__self__, "product_license", product_license) - pulumi.set(__self__, "product_license_id", product_license_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "support_end_date", support_end_date) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetLicenseRecordsLicenseRecordCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + expiration_date=expiration_date, + freeform_tags=freeform_tags, + id=id, + is_perpetual=is_perpetual, + is_unlimited=is_unlimited, + license_count=license_count, + license_unit=license_unit, + product_id=product_id, + product_license=product_license, + product_license_id=product_license_id, + state=state, + support_end_date=support_end_date, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + expiration_date: str, + freeform_tags: Mapping[str, Any], + id: str, + is_perpetual: bool, + is_unlimited: bool, + license_count: int, + license_unit: str, + product_id: str, + product_license: str, + product_license_id: str, + state: str, + support_end_date: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("expiration_date", expiration_date) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_perpetual", is_perpetual) + _setter("is_unlimited", is_unlimited) + _setter("license_count", license_count) + _setter("license_unit", license_unit) + _setter("product_id", product_id) + _setter("product_license", product_license) + _setter("product_license_id", product_license_id) + _setter("state", state) + _setter("support_end_date", support_end_date) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -385,18 +467,49 @@ def __init__(__self__, *, :param float resource_unit_count: Number of units of the resource :param str resource_unit_type: The unit type for the resource. """ - pulumi.set(__self__, "are_all_options_available", are_all_options_available) - pulumi.set(__self__, "is_base_license_available", is_base_license_available) - pulumi.set(__self__, "license_unit_type", license_unit_type) - pulumi.set(__self__, "license_units_consumed", license_units_consumed) - pulumi.set(__self__, "missing_products", missing_products) - pulumi.set(__self__, "product_name", product_name) - pulumi.set(__self__, "resource_compartment_id", resource_compartment_id) - pulumi.set(__self__, "resource_compartment_name", resource_compartment_name) - pulumi.set(__self__, "resource_id", resource_id) - pulumi.set(__self__, "resource_name", resource_name) - pulumi.set(__self__, "resource_unit_count", resource_unit_count) - pulumi.set(__self__, "resource_unit_type", resource_unit_type) + GetProductLicenseConsumersItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + are_all_options_available=are_all_options_available, + is_base_license_available=is_base_license_available, + license_unit_type=license_unit_type, + license_units_consumed=license_units_consumed, + missing_products=missing_products, + product_name=product_name, + resource_compartment_id=resource_compartment_id, + resource_compartment_name=resource_compartment_name, + resource_id=resource_id, + resource_name=resource_name, + resource_unit_count=resource_unit_count, + resource_unit_type=resource_unit_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + are_all_options_available: bool, + is_base_license_available: bool, + license_unit_type: str, + license_units_consumed: float, + missing_products: Sequence['outputs.GetProductLicenseConsumersItemMissingProductResult'], + product_name: str, + resource_compartment_id: str, + resource_compartment_name: str, + resource_id: str, + resource_name: str, + resource_unit_count: float, + resource_unit_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("are_all_options_available", are_all_options_available) + _setter("is_base_license_available", is_base_license_available) + _setter("license_unit_type", license_unit_type) + _setter("license_units_consumed", license_units_consumed) + _setter("missing_products", missing_products) + _setter("product_name", product_name) + _setter("resource_compartment_id", resource_compartment_id) + _setter("resource_compartment_name", resource_compartment_name) + _setter("resource_id", resource_id) + _setter("resource_name", resource_name) + _setter("resource_unit_count", resource_unit_count) + _setter("resource_unit_type", resource_unit_type) @property @pulumi.getter(name="areAllOptionsAvailable") @@ -506,9 +619,22 @@ def __init__(__self__, *, :param float count: Units required for the missing product. :param str name: Name of the product. """ - pulumi.set(__self__, "category", category) - pulumi.set(__self__, "count", count) - pulumi.set(__self__, "name", name) + GetProductLicenseConsumersItemMissingProductResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + category=category, + count=count, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + category: str, + count: float, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("category", category) + _setter("count", count) + _setter("name", name) @property @pulumi.getter @@ -550,11 +676,28 @@ def __init__(__self__, *, :param str package_version: The image package version. :param str publisher: The image publisher. """ - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "listing_id", listing_id) - pulumi.set(__self__, "listing_name", listing_name) - pulumi.set(__self__, "package_version", package_version) - pulumi.set(__self__, "publisher", publisher) + GetProductLicenseImageResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + listing_id=listing_id, + listing_name=listing_name, + package_version=package_version, + publisher=publisher, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: str, + listing_id: str, + listing_name: str, + package_version: str, + publisher: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) + _setter("listing_id", listing_id) + _setter("listing_name", listing_name) + _setter("package_version", package_version) + _setter("publisher", publisher) @property @pulumi.getter @@ -603,10 +746,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetProductLicensesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -628,7 +784,16 @@ def regex(self) -> Optional[bool]: class GetProductLicensesProductLicenseCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetProductLicensesProductLicenseCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetProductLicensesProductLicenseCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetProductLicensesProductLicenseCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -683,27 +848,76 @@ def __init__(__self__, *, :param float total_license_units_consumed: The number of license units consumed. Updated after each allocation run. :param str vendor_name: The vendor of the ProductLicense """ - pulumi.set(__self__, "active_license_record_count", active_license_record_count) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "images", images) - pulumi.set(__self__, "is_over_subscribed", is_over_subscribed) - pulumi.set(__self__, "is_unlimited", is_unlimited) - pulumi.set(__self__, "is_vendor_oracle", is_vendor_oracle) - pulumi.set(__self__, "license_unit", license_unit) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "status_description", status_description) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "total_active_license_unit_count", total_active_license_unit_count) - pulumi.set(__self__, "total_license_record_count", total_license_record_count) - pulumi.set(__self__, "total_license_units_consumed", total_license_units_consumed) - pulumi.set(__self__, "vendor_name", vendor_name) + GetProductLicensesProductLicenseCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + active_license_record_count=active_license_record_count, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + images=images, + is_over_subscribed=is_over_subscribed, + is_unlimited=is_unlimited, + is_vendor_oracle=is_vendor_oracle, + license_unit=license_unit, + state=state, + status=status, + status_description=status_description, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + total_active_license_unit_count=total_active_license_unit_count, + total_license_record_count=total_license_record_count, + total_license_units_consumed=total_license_units_consumed, + vendor_name=vendor_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + active_license_record_count: int, + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + images: Sequence['outputs.GetProductLicensesProductLicenseCollectionItemImageResult'], + is_over_subscribed: bool, + is_unlimited: bool, + is_vendor_oracle: bool, + license_unit: str, + state: str, + status: str, + status_description: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + total_active_license_unit_count: int, + total_license_record_count: int, + total_license_units_consumed: float, + vendor_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("active_license_record_count", active_license_record_count) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("images", images) + _setter("is_over_subscribed", is_over_subscribed) + _setter("is_unlimited", is_unlimited) + _setter("is_vendor_oracle", is_vendor_oracle) + _setter("license_unit", license_unit) + _setter("state", state) + _setter("status", status) + _setter("status_description", status_description) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("total_active_license_unit_count", total_active_license_unit_count) + _setter("total_license_record_count", total_license_record_count) + _setter("total_license_units_consumed", total_license_units_consumed) + _setter("vendor_name", vendor_name) @property @pulumi.getter(name="activeLicenseRecordCount") @@ -889,11 +1103,28 @@ def __init__(__self__, *, :param str package_version: The image package version. :param str publisher: The image publisher. """ - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "listing_id", listing_id) - pulumi.set(__self__, "listing_name", listing_name) - pulumi.set(__self__, "package_version", package_version) - pulumi.set(__self__, "publisher", publisher) + GetProductLicensesProductLicenseCollectionItemImageResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + listing_id=listing_id, + listing_name=listing_name, + package_version=package_version, + publisher=publisher, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: str, + listing_id: str, + listing_name: str, + package_version: str, + publisher: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) + _setter("listing_id", listing_id) + _setter("listing_name", listing_name) + _setter("package_version", package_version) + _setter("publisher", publisher) @property @pulumi.getter @@ -955,13 +1186,34 @@ def __init__(__self__, *, :param float total_units_consumed: Number of license units consumed. :param str unit_type: The product license unit. """ - pulumi.set(__self__, "is_unlimited", is_unlimited) - pulumi.set(__self__, "product_license_id", product_license_id) - pulumi.set(__self__, "product_type", product_type) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "total_license_unit_count", total_license_unit_count) - pulumi.set(__self__, "total_units_consumed", total_units_consumed) - pulumi.set(__self__, "unit_type", unit_type) + GetTopUtilizedProductLicensesItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_unlimited=is_unlimited, + product_license_id=product_license_id, + product_type=product_type, + status=status, + total_license_unit_count=total_license_unit_count, + total_units_consumed=total_units_consumed, + unit_type=unit_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_unlimited: bool, + product_license_id: str, + product_type: str, + status: str, + total_license_unit_count: int, + total_units_consumed: float, + unit_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_unlimited", is_unlimited) + _setter("product_license_id", product_license_id) + _setter("product_type", product_type) + _setter("status", status) + _setter("total_license_unit_count", total_license_unit_count) + _setter("total_units_consumed", total_units_consumed) + _setter("unit_type", unit_type) @property @pulumi.getter(name="isUnlimited") @@ -1037,12 +1289,31 @@ def __init__(__self__, *, :param float total_units: Number of license units consumed by the resource. :param str unit_type: The resource unit. """ - pulumi.set(__self__, "resource_compartment_id", resource_compartment_id) - pulumi.set(__self__, "resource_compartment_name", resource_compartment_name) - pulumi.set(__self__, "resource_id", resource_id) - pulumi.set(__self__, "resource_name", resource_name) - pulumi.set(__self__, "total_units", total_units) - pulumi.set(__self__, "unit_type", unit_type) + GetTopUtilizedResourcesItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + resource_compartment_id=resource_compartment_id, + resource_compartment_name=resource_compartment_name, + resource_id=resource_id, + resource_name=resource_name, + total_units=total_units, + unit_type=unit_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + resource_compartment_id: str, + resource_compartment_name: str, + resource_id: str, + resource_name: str, + total_units: float, + unit_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("resource_compartment_id", resource_compartment_id) + _setter("resource_compartment_name", resource_compartment_name) + _setter("resource_id", resource_id) + _setter("resource_name", resource_name) + _setter("total_units", total_units) + _setter("unit_type", unit_type) @property @pulumi.getter(name="resourceCompartmentId") diff --git a/sdk/python/pulumi_oci/licensemanager/product_license.py b/sdk/python/pulumi_oci/licensemanager/product_license.py index 500bbdf52f..663555ab77 100644 --- a/sdk/python/pulumi_oci/licensemanager/product_license.py +++ b/sdk/python/pulumi_oci/licensemanager/product_license.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -39,18 +39,41 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "is_vendor_oracle", is_vendor_oracle) - pulumi.set(__self__, "license_unit", license_unit) + ProductLicenseArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + is_vendor_oracle=is_vendor_oracle, + license_unit=license_unit, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + images=images, + vendor_name=vendor_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + is_vendor_oracle: pulumi.Input[bool], + license_unit: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + images: Optional[pulumi.Input[Sequence[pulumi.Input['ProductLicenseImageArgs']]]] = None, + vendor_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) + _setter("is_vendor_oracle", is_vendor_oracle) + _setter("license_unit", license_unit) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if images is not None: - pulumi.set(__self__, "images", images) + _setter("images", images) if vendor_name is not None: - pulumi.set(__self__, "vendor_name", vendor_name) + _setter("vendor_name", vendor_name) @property @pulumi.getter(name="compartmentId") @@ -203,46 +226,93 @@ def __init__(__self__, *, ** 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 """ + _ProductLicenseState._configure( + lambda key, value: pulumi.set(__self__, key, value), + active_license_record_count=active_license_record_count, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + images=images, + is_over_subscribed=is_over_subscribed, + is_unlimited=is_unlimited, + is_vendor_oracle=is_vendor_oracle, + license_unit=license_unit, + state=state, + status=status, + status_description=status_description, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + total_active_license_unit_count=total_active_license_unit_count, + total_license_record_count=total_license_record_count, + total_license_units_consumed=total_license_units_consumed, + vendor_name=vendor_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + active_license_record_count: Optional[pulumi.Input[int]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + images: Optional[pulumi.Input[Sequence[pulumi.Input['ProductLicenseImageArgs']]]] = None, + is_over_subscribed: Optional[pulumi.Input[bool]] = None, + is_unlimited: Optional[pulumi.Input[bool]] = None, + is_vendor_oracle: Optional[pulumi.Input[bool]] = None, + license_unit: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[str]] = None, + status_description: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + total_active_license_unit_count: Optional[pulumi.Input[int]] = None, + total_license_record_count: Optional[pulumi.Input[int]] = None, + total_license_units_consumed: Optional[pulumi.Input[float]] = None, + vendor_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if active_license_record_count is not None: - pulumi.set(__self__, "active_license_record_count", active_license_record_count) + _setter("active_license_record_count", active_license_record_count) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if images is not None: - pulumi.set(__self__, "images", images) + _setter("images", images) if is_over_subscribed is not None: - pulumi.set(__self__, "is_over_subscribed", is_over_subscribed) + _setter("is_over_subscribed", is_over_subscribed) if is_unlimited is not None: - pulumi.set(__self__, "is_unlimited", is_unlimited) + _setter("is_unlimited", is_unlimited) if is_vendor_oracle is not None: - pulumi.set(__self__, "is_vendor_oracle", is_vendor_oracle) + _setter("is_vendor_oracle", is_vendor_oracle) if license_unit is not None: - pulumi.set(__self__, "license_unit", license_unit) + _setter("license_unit", license_unit) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if status_description is not None: - pulumi.set(__self__, "status_description", status_description) + _setter("status_description", status_description) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if total_active_license_unit_count is not None: - pulumi.set(__self__, "total_active_license_unit_count", total_active_license_unit_count) + _setter("total_active_license_unit_count", total_active_license_unit_count) if total_license_record_count is not None: - pulumi.set(__self__, "total_license_record_count", total_license_record_count) + _setter("total_license_record_count", total_license_record_count) if total_license_units_consumed is not None: - pulumi.set(__self__, "total_license_units_consumed", total_license_units_consumed) + _setter("total_license_units_consumed", total_license_units_consumed) if vendor_name is not None: - pulumi.set(__self__, "vendor_name", vendor_name) + _setter("vendor_name", vendor_name) @property @pulumi.getter(name="activeLicenseRecordCount") @@ -608,6 +678,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ProductLicenseArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/limits/_inputs.py b/sdk/python/pulumi_oci/limits/_inputs.py index 2ac0031196..a0921134d1 100644 --- a/sdk/python/pulumi_oci/limits/_inputs.py +++ b/sdk/python/pulumi_oci/limits/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -30,13 +30,28 @@ def __init__(__self__, *, :param pulumi.Input[str] related_resource_id: The resource ID that is locking this resource. Indicates that deleting this resource removes the lock. :param pulumi.Input[str] time_created: Date and time the quota was created, in the format defined by RFC 3339. Example: `2016-08-25T21:10:29.600Z` """ - pulumi.set(__self__, "type", type) + QuotaLockArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + message=message, + related_resource_id=related_resource_id, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + message: Optional[pulumi.Input[str]] = None, + related_resource_id: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if message is not None: - pulumi.set(__self__, "message", message) + _setter("message", message) if related_resource_id is not None: - pulumi.set(__self__, "related_resource_id", related_resource_id) + _setter("related_resource_id", related_resource_id) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter @@ -96,10 +111,23 @@ def __init__(__self__, *, """ :param str name: Optional field, filter for a specific resource limit. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetLimitDefinitionsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -141,10 +169,23 @@ def __init__(__self__, *, """ :param str name: Optional field, can be used to see a specific resource limit value. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetLimitValuesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -186,10 +227,23 @@ def __init__(__self__, *, """ :param str name: name """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetQuotasFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -231,10 +285,23 @@ def __init__(__self__, *, """ :param str name: The service name. Use this when calling other APIs. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetServicesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/limits/get_limit_definitions.py b/sdk/python/pulumi_oci/limits/get_limit_definitions.py index b76e35db57..cfd5e032a5 100644 --- a/sdk/python/pulumi_oci/limits/get_limit_definitions.py +++ b/sdk/python/pulumi_oci/limits/get_limit_definitions.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/limits/get_limit_values.py b/sdk/python/pulumi_oci/limits/get_limit_values.py index 9a7a52a65b..6c64a30983 100644 --- a/sdk/python/pulumi_oci/limits/get_limit_values.py +++ b/sdk/python/pulumi_oci/limits/get_limit_values.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/limits/get_quota.py b/sdk/python/pulumi_oci/limits/get_quota.py index 777f720030..b86d5fdde8 100644 --- a/sdk/python/pulumi_oci/limits/get_quota.py +++ b/sdk/python/pulumi_oci/limits/get_quota.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/limits/get_quotas.py b/sdk/python/pulumi_oci/limits/get_quotas.py index e4fa413e05..c24ec080c4 100644 --- a/sdk/python/pulumi_oci/limits/get_quotas.py +++ b/sdk/python/pulumi_oci/limits/get_quotas.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/limits/get_resource_availability.py b/sdk/python/pulumi_oci/limits/get_resource_availability.py index 51032f95be..dec91a48bb 100644 --- a/sdk/python/pulumi_oci/limits/get_resource_availability.py +++ b/sdk/python/pulumi_oci/limits/get_resource_availability.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/limits/get_services.py b/sdk/python/pulumi_oci/limits/get_services.py index 6f812f86f9..4d233e813c 100644 --- a/sdk/python/pulumi_oci/limits/get_services.py +++ b/sdk/python/pulumi_oci/limits/get_services.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/limits/outputs.py b/sdk/python/pulumi_oci/limits/outputs.py index b60cc457b3..879c68ee49 100644 --- a/sdk/python/pulumi_oci/limits/outputs.py +++ b/sdk/python/pulumi_oci/limits/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -56,13 +56,28 @@ def __init__(__self__, *, :param str related_resource_id: The resource ID that is locking this resource. Indicates that deleting this resource removes the lock. :param str time_created: Date and time the quota was created, in the format defined by RFC 3339. Example: `2016-08-25T21:10:29.600Z` """ - pulumi.set(__self__, "type", type) + QuotaLock._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + message=message, + related_resource_id=related_resource_id, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + message: Optional[str] = None, + related_resource_id: Optional[str] = None, + time_created: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if message is not None: - pulumi.set(__self__, "message", message) + _setter("message", message) if related_resource_id is not None: - pulumi.set(__self__, "related_resource_id", related_resource_id) + _setter("related_resource_id", related_resource_id) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter @@ -106,10 +121,23 @@ def __init__(__self__, *, """ :param str name: Optional field, filter for a specific resource limit. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetLimitDefinitionsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -153,15 +181,40 @@ def __init__(__self__, *, :param str scope_type: Reflects the scope of the resource limit, whether Global (across all regions), regional, or availability domain-specific. :param str service_name: The target service name. """ - pulumi.set(__self__, "are_quotas_supported", are_quotas_supported) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "is_deprecated", is_deprecated) - pulumi.set(__self__, "is_dynamic", is_dynamic) - pulumi.set(__self__, "is_eligible_for_limit_increase", is_eligible_for_limit_increase) - pulumi.set(__self__, "is_resource_availability_supported", is_resource_availability_supported) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "scope_type", scope_type) - pulumi.set(__self__, "service_name", service_name) + GetLimitDefinitionsLimitDefinitionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + are_quotas_supported=are_quotas_supported, + description=description, + is_deprecated=is_deprecated, + is_dynamic=is_dynamic, + is_eligible_for_limit_increase=is_eligible_for_limit_increase, + is_resource_availability_supported=is_resource_availability_supported, + name=name, + scope_type=scope_type, + service_name=service_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + are_quotas_supported: bool, + description: str, + is_deprecated: bool, + is_dynamic: bool, + is_eligible_for_limit_increase: bool, + is_resource_availability_supported: bool, + name: str, + scope_type: str, + service_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("are_quotas_supported", are_quotas_supported) + _setter("description", description) + _setter("is_deprecated", is_deprecated) + _setter("is_dynamic", is_dynamic) + _setter("is_eligible_for_limit_increase", is_eligible_for_limit_increase) + _setter("is_resource_availability_supported", is_resource_availability_supported) + _setter("name", name) + _setter("scope_type", scope_type) + _setter("service_name", service_name) @property @pulumi.getter(name="areQuotasSupported") @@ -245,10 +298,23 @@ def __init__(__self__, *, """ :param str name: Optional field, can be used to see a specific resource limit value. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetLimitValuesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -282,10 +348,25 @@ def __init__(__self__, *, :param str scope_type: Filter entries by scope type. :param str value: The resource limit value. """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "scope_type", scope_type) - pulumi.set(__self__, "value", value) + GetLimitValuesLimitValueResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + name=name, + scope_type=scope_type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + name: str, + scope_type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("name", name) + _setter("scope_type", scope_type) + _setter("value", value) @property @pulumi.getter(name="availabilityDomain") @@ -333,10 +414,25 @@ def __init__(__self__, *, :param str time_created: Date and time the quota was created, in the format defined by RFC 3339. Example: `2016-08-25T21:10:29.600Z` :param str type: Lock type. """ - pulumi.set(__self__, "message", message) - pulumi.set(__self__, "related_resource_id", related_resource_id) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "type", type) + GetQuotaLockResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + message=message, + related_resource_id=related_resource_id, + time_created=time_created, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + message: str, + related_resource_id: str, + time_created: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("message", message) + _setter("related_resource_id", related_resource_id) + _setter("time_created", time_created) + _setter("type", type) @property @pulumi.getter @@ -380,10 +476,23 @@ def __init__(__self__, *, """ :param str name: name """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetQuotasFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -430,17 +539,46 @@ def __init__(__self__, *, :param Sequence[str] statements: An array of one or more quota statements written in the declarative quota statement language. :param str time_created: Date and time the quota was created, in the format defined by RFC 3339. Example: `2016-08-25T21:10:29.600Z` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_lock_override", is_lock_override) - pulumi.set(__self__, "locks", locks) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "statements", statements) - pulumi.set(__self__, "time_created", time_created) + GetQuotasQuotaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + id=id, + is_lock_override=is_lock_override, + locks=locks, + name=name, + state=state, + statements=statements, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + freeform_tags: Mapping[str, Any], + id: str, + is_lock_override: bool, + locks: Sequence['outputs.GetQuotasQuotaLockResult'], + name: str, + state: str, + statements: Sequence[str], + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_lock_override", is_lock_override) + _setter("locks", locks) + _setter("name", name) + _setter("state", state) + _setter("statements", statements) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -541,10 +679,25 @@ def __init__(__self__, *, :param str time_created: Date and time the quota was created, in the format defined by RFC 3339. Example: `2016-08-25T21:10:29.600Z` :param str type: Lock type. """ - pulumi.set(__self__, "message", message) - pulumi.set(__self__, "related_resource_id", related_resource_id) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "type", type) + GetQuotasQuotaLockResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + message=message, + related_resource_id=related_resource_id, + time_created=time_created, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + message: str, + related_resource_id: str, + time_created: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("message", message) + _setter("related_resource_id", related_resource_id) + _setter("time_created", time_created) + _setter("type", type) @property @pulumi.getter @@ -588,10 +741,23 @@ def __init__(__self__, *, """ :param str name: The service name. Use this when calling other APIs. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetServicesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -621,8 +787,19 @@ def __init__(__self__, *, :param str description: The friendly service name. :param str name: The service name. Use this when calling other APIs. """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "name", name) + GetServicesServiceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("name", name) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/limits/quota.py b/sdk/python/pulumi_oci/limits/quota.py index 1835c953bc..9fffc66bff 100644 --- a/sdk/python/pulumi_oci/limits/quota.py +++ b/sdk/python/pulumi_oci/limits/quota.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -36,17 +36,38 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['QuotaLockArgs']]] locks: Locks associated with this resource. :param pulumi.Input[str] name: The name you assign to the quota during creation. The name must be unique across all quotas in the tenancy and cannot be changed. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "statements", statements) + QuotaArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + description=description, + statements=statements, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + locks=locks, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + description: pulumi.Input[str], + statements: pulumi.Input[Sequence[pulumi.Input[str]]], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + locks: Optional[pulumi.Input[Sequence[pulumi.Input['QuotaLockArgs']]]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("description", description) + _setter("statements", statements) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if locks is not None: - pulumi.set(__self__, "locks", locks) + _setter("locks", locks) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter(name="compartmentId") @@ -165,26 +186,53 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] time_created: Date and time the quota was created, in the format defined by RFC 3339. Example: `2016-08-25T21:10:29.600Z` """ + _QuotaState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + is_lock_override=is_lock_override, + locks=locks, + name=name, + state=state, + statements=statements, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_lock_override: Optional[pulumi.Input[bool]] = None, + locks: Optional[pulumi.Input[Sequence[pulumi.Input['QuotaLockArgs']]]] = None, + name: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + statements: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_lock_override is not None: - pulumi.set(__self__, "is_lock_override", is_lock_override) + _setter("is_lock_override", is_lock_override) if locks is not None: - pulumi.set(__self__, "locks", locks) + _setter("locks", locks) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if statements is not None: - pulumi.set(__self__, "statements", statements) + _setter("statements", statements) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -424,6 +472,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + QuotaArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/loadbalancer/_inputs.py b/sdk/python/pulumi_oci/loadbalancer/_inputs.py index 35ceede92c..021a4eb154 100644 --- a/sdk/python/pulumi_oci/loadbalancer/_inputs.py +++ b/sdk/python/pulumi_oci/loadbalancer/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -66,18 +66,39 @@ def __init__(__self__, *, :param pulumi.Input[bool] offline: Whether the load balancer should treat this server as offline. Offline servers receive no incoming traffic. Example: `false` :param pulumi.Input[int] weight: The load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger proportion of incoming traffic. For example, a server weighted '3' receives 3 times the number of new connections as a server weighted '1'. For more information on load balancing policies, see [How Load Balancing Policies Work](https://docs.cloud.oracle.com/iaas/Content/Balance/Reference/lbpolicies.htm). Example: `3` """ - pulumi.set(__self__, "ip_address", ip_address) - pulumi.set(__self__, "port", port) + BackendSetBackendArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + ip_address=ip_address, + port=port, + backup=backup, + drain=drain, + name=name, + offline=offline, + weight=weight, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ip_address: pulumi.Input[str], + port: pulumi.Input[int], + backup: Optional[pulumi.Input[bool]] = None, + drain: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + offline: Optional[pulumi.Input[bool]] = None, + weight: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ip_address", ip_address) + _setter("port", port) if backup is not None: - pulumi.set(__self__, "backup", backup) + _setter("backup", backup) if drain is not None: - pulumi.set(__self__, "drain", drain) + _setter("drain", drain) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if offline is not None: - pulumi.set(__self__, "offline", offline) + _setter("offline", offline) if weight is not None: - pulumi.set(__self__, "weight", weight) + _setter("weight", weight) @property @pulumi.getter(name="ipAddress") @@ -197,23 +218,48 @@ def __init__(__self__, *, :param pulumi.Input[int] timeout_in_millis: (Updatable) The maximum time, in milliseconds, to wait for a reply to a health check. A health check is successful only if a reply returns within this timeout period. Example: `3000` :param pulumi.Input[str] url_path: (Updatable) The path against which to run the health check. Example: `/healthcheck` """ - pulumi.set(__self__, "protocol", protocol) + BackendSetHealthCheckerArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + protocol=protocol, + interval_ms=interval_ms, + is_force_plain_text=is_force_plain_text, + port=port, + response_body_regex=response_body_regex, + retries=retries, + return_code=return_code, + timeout_in_millis=timeout_in_millis, + url_path=url_path, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + protocol: pulumi.Input[str], + interval_ms: Optional[pulumi.Input[int]] = None, + is_force_plain_text: Optional[pulumi.Input[bool]] = None, + port: Optional[pulumi.Input[int]] = None, + response_body_regex: Optional[pulumi.Input[str]] = None, + retries: Optional[pulumi.Input[int]] = None, + return_code: Optional[pulumi.Input[int]] = None, + timeout_in_millis: Optional[pulumi.Input[int]] = None, + url_path: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("protocol", protocol) if interval_ms is not None: - pulumi.set(__self__, "interval_ms", interval_ms) + _setter("interval_ms", interval_ms) if is_force_plain_text is not None: - pulumi.set(__self__, "is_force_plain_text", is_force_plain_text) + _setter("is_force_plain_text", is_force_plain_text) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if response_body_regex is not None: - pulumi.set(__self__, "response_body_regex", response_body_regex) + _setter("response_body_regex", response_body_regex) if retries is not None: - pulumi.set(__self__, "retries", retries) + _setter("retries", retries) if return_code is not None: - pulumi.set(__self__, "return_code", return_code) + _setter("return_code", return_code) if timeout_in_millis is not None: - pulumi.set(__self__, "timeout_in_millis", timeout_in_millis) + _setter("timeout_in_millis", timeout_in_millis) if url_path is not None: - pulumi.set(__self__, "url_path", url_path) + _setter("url_path", url_path) @property @pulumi.getter @@ -373,20 +419,41 @@ def __init__(__self__, *, Example: `/example` """ + BackendSetLbCookieSessionPersistenceConfigurationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + cookie_name=cookie_name, + disable_fallback=disable_fallback, + domain=domain, + is_http_only=is_http_only, + is_secure=is_secure, + max_age_in_seconds=max_age_in_seconds, + path=path, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cookie_name: Optional[pulumi.Input[str]] = None, + disable_fallback: Optional[pulumi.Input[bool]] = None, + domain: Optional[pulumi.Input[str]] = None, + is_http_only: Optional[pulumi.Input[bool]] = None, + is_secure: Optional[pulumi.Input[bool]] = None, + max_age_in_seconds: Optional[pulumi.Input[int]] = None, + path: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if cookie_name is not None: - pulumi.set(__self__, "cookie_name", cookie_name) + _setter("cookie_name", cookie_name) if disable_fallback is not None: - pulumi.set(__self__, "disable_fallback", disable_fallback) + _setter("disable_fallback", disable_fallback) if domain is not None: - pulumi.set(__self__, "domain", domain) + _setter("domain", domain) if is_http_only is not None: - pulumi.set(__self__, "is_http_only", is_http_only) + _setter("is_http_only", is_http_only) if is_secure is not None: - pulumi.set(__self__, "is_secure", is_secure) + _setter("is_secure", is_secure) if max_age_in_seconds is not None: - pulumi.set(__self__, "max_age_in_seconds", max_age_in_seconds) + _setter("max_age_in_seconds", max_age_in_seconds) if path is not None: - pulumi.set(__self__, "path", path) + _setter("path", path) @property @pulumi.getter(name="cookieName") @@ -506,9 +573,20 @@ def __init__(__self__, *, :param pulumi.Input[str] cookie_name: (Updatable) The name of the cookie used to detect a session initiated by the backend server. Use '*' to specify that any cookie set by the backend causes the session to persist. Example: `example_cookie` :param pulumi.Input[bool] disable_fallback: (Updatable) Whether the load balancer is prevented from directing traffic from a persistent session client to a different backend server if the original server is unavailable. Defaults to false. Example: `false` """ - pulumi.set(__self__, "cookie_name", cookie_name) + BackendSetSessionPersistenceConfigurationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + cookie_name=cookie_name, + disable_fallback=disable_fallback, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cookie_name: pulumi.Input[str], + disable_fallback: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cookie_name", cookie_name) if disable_fallback is not None: - pulumi.set(__self__, "disable_fallback", disable_fallback) + _setter("disable_fallback", disable_fallback) @property @pulumi.getter(name="cookieName") @@ -592,22 +670,45 @@ def __init__(__self__, *, ** 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 """ + BackendSetSslConfigurationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + certificate_ids=certificate_ids, + certificate_name=certificate_name, + cipher_suite_name=cipher_suite_name, + protocols=protocols, + server_order_preference=server_order_preference, + trusted_certificate_authority_ids=trusted_certificate_authority_ids, + verify_depth=verify_depth, + verify_peer_certificate=verify_peer_certificate, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + certificate_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + certificate_name: Optional[pulumi.Input[str]] = None, + cipher_suite_name: Optional[pulumi.Input[str]] = None, + protocols: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + server_order_preference: Optional[pulumi.Input[str]] = None, + trusted_certificate_authority_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + verify_depth: Optional[pulumi.Input[int]] = None, + verify_peer_certificate: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if certificate_ids is not None: - pulumi.set(__self__, "certificate_ids", certificate_ids) + _setter("certificate_ids", certificate_ids) if certificate_name is not None: - pulumi.set(__self__, "certificate_name", certificate_name) + _setter("certificate_name", certificate_name) if cipher_suite_name is not None: - pulumi.set(__self__, "cipher_suite_name", cipher_suite_name) + _setter("cipher_suite_name", cipher_suite_name) if protocols is not None: - pulumi.set(__self__, "protocols", protocols) + _setter("protocols", protocols) if server_order_preference is not None: - pulumi.set(__self__, "server_order_preference", server_order_preference) + _setter("server_order_preference", server_order_preference) if trusted_certificate_authority_ids is not None: - pulumi.set(__self__, "trusted_certificate_authority_ids", trusted_certificate_authority_ids) + _setter("trusted_certificate_authority_ids", trusted_certificate_authority_ids) if verify_depth is not None: - pulumi.set(__self__, "verify_depth", verify_depth) + _setter("verify_depth", verify_depth) if verify_peer_certificate is not None: - pulumi.set(__self__, "verify_peer_certificate", verify_peer_certificate) + _setter("verify_peer_certificate", verify_peer_certificate) @property @pulumi.getter(name="certificateIds") @@ -755,9 +856,20 @@ def __init__(__self__, *, Example: `1200` :param pulumi.Input[int] backend_tcp_proxy_protocol_version: (Updatable) The backend TCP Proxy Protocol version. Example: `1` """ - pulumi.set(__self__, "idle_timeout_in_seconds", idle_timeout_in_seconds) + ListenerConnectionConfigurationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + idle_timeout_in_seconds=idle_timeout_in_seconds, + backend_tcp_proxy_protocol_version=backend_tcp_proxy_protocol_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + idle_timeout_in_seconds: pulumi.Input[str], + backend_tcp_proxy_protocol_version: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("idle_timeout_in_seconds", idle_timeout_in_seconds) if backend_tcp_proxy_protocol_version is not None: - pulumi.set(__self__, "backend_tcp_proxy_protocol_version", backend_tcp_proxy_protocol_version) + _setter("backend_tcp_proxy_protocol_version", backend_tcp_proxy_protocol_version) @property @pulumi.getter(name="idleTimeoutInSeconds") @@ -846,22 +958,45 @@ def __init__(__self__, *, ** 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 """ + ListenerSslConfigurationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + certificate_ids=certificate_ids, + certificate_name=certificate_name, + cipher_suite_name=cipher_suite_name, + protocols=protocols, + server_order_preference=server_order_preference, + trusted_certificate_authority_ids=trusted_certificate_authority_ids, + verify_depth=verify_depth, + verify_peer_certificate=verify_peer_certificate, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + certificate_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + certificate_name: Optional[pulumi.Input[str]] = None, + cipher_suite_name: Optional[pulumi.Input[str]] = None, + protocols: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + server_order_preference: Optional[pulumi.Input[str]] = None, + trusted_certificate_authority_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + verify_depth: Optional[pulumi.Input[int]] = None, + verify_peer_certificate: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if certificate_ids is not None: - pulumi.set(__self__, "certificate_ids", certificate_ids) + _setter("certificate_ids", certificate_ids) if certificate_name is not None: - pulumi.set(__self__, "certificate_name", certificate_name) + _setter("certificate_name", certificate_name) if cipher_suite_name is not None: - pulumi.set(__self__, "cipher_suite_name", cipher_suite_name) + _setter("cipher_suite_name", cipher_suite_name) if protocols is not None: - pulumi.set(__self__, "protocols", protocols) + _setter("protocols", protocols) if server_order_preference is not None: - pulumi.set(__self__, "server_order_preference", server_order_preference) + _setter("server_order_preference", server_order_preference) if trusted_certificate_authority_ids is not None: - pulumi.set(__self__, "trusted_certificate_authority_ids", trusted_certificate_authority_ids) + _setter("trusted_certificate_authority_ids", trusted_certificate_authority_ids) if verify_depth is not None: - pulumi.set(__self__, "verify_depth", verify_depth) + _setter("verify_depth", verify_depth) if verify_peer_certificate is not None: - pulumi.set(__self__, "verify_peer_certificate", verify_peer_certificate) + _setter("verify_peer_certificate", verify_peer_certificate) @property @pulumi.getter(name="certificateIds") @@ -1008,12 +1143,25 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_public: Whether the IP address is public or private. :param pulumi.Input[Sequence[pulumi.Input['LoadBalancerIpAddressDetailReservedIpArgs']]] reserved_ips: Pre-created public IP that will be used as the IP of this load balancer. This reserved IP will not be deleted when load balancer is deleted. This ip should not be already mapped to any other resource. """ + LoadBalancerIpAddressDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + ip_address=ip_address, + is_public=is_public, + reserved_ips=reserved_ips, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ip_address: Optional[pulumi.Input[str]] = None, + is_public: Optional[pulumi.Input[bool]] = None, + reserved_ips: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerIpAddressDetailReservedIpArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ip_address is not None: - pulumi.set(__self__, "ip_address", ip_address) + _setter("ip_address", ip_address) if is_public is not None: - pulumi.set(__self__, "is_public", is_public) + _setter("is_public", is_public) if reserved_ips is not None: - pulumi.set(__self__, "reserved_ips", reserved_ips) + _setter("reserved_ips", reserved_ips) @property @pulumi.getter(name="ipAddress") @@ -1056,18 +1204,21 @@ def reserved_ips(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['LoadB class LoadBalancerIpAddressDetailReservedIpArgs: def __init__(__self__, *, id: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] id: Ocid of the pre-created public IP. That should be attahed to this load balancer. - """ + LoadBalancerIpAddressDetailReservedIpArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) @property @pulumi.getter def id(self) -> Optional[pulumi.Input[str]]: - """ - Ocid of the pre-created public IP. That should be attahed to this load balancer. - """ return pulumi.get(self, "id") @id.setter @@ -1079,18 +1230,21 @@ def id(self, value: Optional[pulumi.Input[str]]): class LoadBalancerReservedIpArgs: def __init__(__self__, *, id: Optional[pulumi.Input[str]] = None): - """ - :param pulumi.Input[str] id: Ocid of the pre-created public IP. That should be attahed to this load balancer. - """ + LoadBalancerReservedIpArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) @property @pulumi.getter def id(self) -> Optional[pulumi.Input[str]]: - """ - Ocid of the pre-created public IP. That should be attahed to this load balancer. - """ return pulumi.get(self, "id") @id.setter @@ -1113,9 +1267,22 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "actions", actions) - pulumi.set(__self__, "condition", condition) - pulumi.set(__self__, "name", name) + LoadBalancerRoutingPolicyRuleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + actions=actions, + condition=condition, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + actions: pulumi.Input[Sequence[pulumi.Input['LoadBalancerRoutingPolicyRuleActionArgs']]], + condition: pulumi.Input[str], + name: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("actions", actions) + _setter("condition", condition) + _setter("name", name) @property @pulumi.getter @@ -1171,8 +1338,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "backend_set_name", backend_set_name) - pulumi.set(__self__, "name", name) + LoadBalancerRoutingPolicyRuleActionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + backend_set_name=backend_set_name, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backend_set_name: pulumi.Input[str], + name: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("backend_set_name", backend_set_name) + _setter("name", name) @property @pulumi.getter(name="backendSetName") @@ -1216,8 +1394,19 @@ def __init__(__self__, *, Example: `1500` :param pulumi.Input[int] minimum_bandwidth_in_mbps: (Updatable) Bandwidth in Mbps that determines the total pre-provisioned bandwidth (ingress plus egress). The values must be between 10 and the maximumBandwidthInMbps. Example: `150` """ - pulumi.set(__self__, "maximum_bandwidth_in_mbps", maximum_bandwidth_in_mbps) - pulumi.set(__self__, "minimum_bandwidth_in_mbps", minimum_bandwidth_in_mbps) + LoadBalancerShapeDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + maximum_bandwidth_in_mbps=maximum_bandwidth_in_mbps, + minimum_bandwidth_in_mbps=minimum_bandwidth_in_mbps, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + maximum_bandwidth_in_mbps: pulumi.Input[int], + minimum_bandwidth_in_mbps: pulumi.Input[int], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("maximum_bandwidth_in_mbps", maximum_bandwidth_in_mbps) + _setter("minimum_bandwidth_in_mbps", minimum_bandwidth_in_mbps) @property @pulumi.getter(name="maximumBandwidthInMbps") @@ -1264,9 +1453,22 @@ def __init__(__self__, *, Example: `/example/video/123` :param pulumi.Input['PathRouteSetPathRoutePathMatchTypeArgs'] path_match_type: (Updatable) The type of matching to apply to incoming URIs. """ - pulumi.set(__self__, "backend_set_name", backend_set_name) - pulumi.set(__self__, "path", path) - pulumi.set(__self__, "path_match_type", path_match_type) + PathRouteSetPathRouteArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + backend_set_name=backend_set_name, + path=path, + path_match_type=path_match_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backend_set_name: pulumi.Input[str], + path: pulumi.Input[str], + path_match_type: pulumi.Input['PathRouteSetPathRoutePathMatchTypeArgs'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("backend_set_name", backend_set_name) + _setter("path", path) + _setter("path_match_type", path_match_type) @property @pulumi.getter(name="backendSetName") @@ -1327,7 +1529,16 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "match_type", match_type) + PathRouteSetPathRoutePathMatchTypeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + match_type=match_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + match_type: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("match_type", match_type) @property @pulumi.getter(name="matchType") @@ -1439,31 +1650,64 @@ def __init__(__self__, *, Example: `example_value` """ - pulumi.set(__self__, "action", action) + RuleSetItemArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + allowed_methods=allowed_methods, + are_invalid_characters_allowed=are_invalid_characters_allowed, + conditions=conditions, + description=description, + header=header, + http_large_header_size_in_kb=http_large_header_size_in_kb, + prefix=prefix, + redirect_uri=redirect_uri, + response_code=response_code, + status_code=status_code, + suffix=suffix, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: pulumi.Input[str], + allowed_methods: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + are_invalid_characters_allowed: Optional[pulumi.Input[bool]] = None, + conditions: Optional[pulumi.Input[Sequence[pulumi.Input['RuleSetItemConditionArgs']]]] = None, + description: Optional[pulumi.Input[str]] = None, + header: Optional[pulumi.Input[str]] = None, + http_large_header_size_in_kb: Optional[pulumi.Input[int]] = None, + prefix: Optional[pulumi.Input[str]] = None, + redirect_uri: Optional[pulumi.Input['RuleSetItemRedirectUriArgs']] = None, + response_code: Optional[pulumi.Input[int]] = None, + status_code: Optional[pulumi.Input[int]] = None, + suffix: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) if allowed_methods is not None: - pulumi.set(__self__, "allowed_methods", allowed_methods) + _setter("allowed_methods", allowed_methods) if are_invalid_characters_allowed is not None: - pulumi.set(__self__, "are_invalid_characters_allowed", are_invalid_characters_allowed) + _setter("are_invalid_characters_allowed", are_invalid_characters_allowed) if conditions is not None: - pulumi.set(__self__, "conditions", conditions) + _setter("conditions", conditions) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if header is not None: - pulumi.set(__self__, "header", header) + _setter("header", header) if http_large_header_size_in_kb is not None: - pulumi.set(__self__, "http_large_header_size_in_kb", http_large_header_size_in_kb) + _setter("http_large_header_size_in_kb", http_large_header_size_in_kb) if prefix is not None: - pulumi.set(__self__, "prefix", prefix) + _setter("prefix", prefix) if redirect_uri is not None: - pulumi.set(__self__, "redirect_uri", redirect_uri) + _setter("redirect_uri", redirect_uri) if response_code is not None: - pulumi.set(__self__, "response_code", response_code) + _setter("response_code", response_code) if status_code is not None: - pulumi.set(__self__, "status_code", status_code) + _setter("status_code", status_code) if suffix is not None: - pulumi.set(__self__, "suffix", suffix) + _setter("suffix", suffix) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -1696,10 +1940,23 @@ def __init__(__self__, *, * **PREFIX_MATCH** - The beginning portion of the incoming URI path must exactly match the `attributeValue` string. * **SUFFIX_MATCH** - The ending portion of the incoming URI path must exactly match the `attributeValue` string. """ - pulumi.set(__self__, "attribute_name", attribute_name) - pulumi.set(__self__, "attribute_value", attribute_value) + RuleSetItemConditionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + attribute_name=attribute_name, + attribute_value=attribute_value, + operator=operator, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attribute_name: pulumi.Input[str], + attribute_value: pulumi.Input[str], + operator: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("attribute_name", attribute_name) + _setter("attribute_value", attribute_value) if operator is not None: - pulumi.set(__self__, "operator", operator) + _setter("operator", operator) @property @pulumi.getter(name="attributeName") @@ -1818,16 +2075,33 @@ def __init__(__self__, *, * **protocol={protocol}&hostname={host}** appears as `protocol=http&hostname=example.com` in the redirect URI if the protocol is `HTTP` and the hostname is `example.com` in the incoming HTTP request. * **port={port}&hostname={host}** appears as `port=8080&hostname=example.com` in the redirect URI if the port is `8080` and the hostname is `example.com` in the incoming HTTP request URI. """ + RuleSetItemRedirectUriArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + host=host, + path=path, + port=port, + protocol=protocol, + query=query, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host: Optional[pulumi.Input[str]] = None, + path: Optional[pulumi.Input[str]] = None, + port: Optional[pulumi.Input[int]] = None, + protocol: Optional[pulumi.Input[str]] = None, + query: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if host is not None: - pulumi.set(__self__, "host", host) + _setter("host", host) if path is not None: - pulumi.set(__self__, "path", path) + _setter("path", path) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if protocol is not None: - pulumi.set(__self__, "protocol", protocol) + _setter("protocol", protocol) if query is not None: - pulumi.set(__self__, "query", query) + _setter("query", query) @property @pulumi.getter @@ -1957,10 +2231,23 @@ def __init__(__self__, *, """ :param str name: A friendly name for the backend set. It must be unique and it cannot be changed. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetBackendSetsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2002,10 +2289,23 @@ def __init__(__self__, *, """ :param str name: A read-only field showing the IP address and port that uniquely identify this backend server in the backend set. Example: `10.0.0.3:8080` """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetBackendsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2044,10 +2344,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetCertificatesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2086,10 +2399,23 @@ def __init__(__self__, *, """ :param str name: A friendly name for the hostname resource. It must be unique and it cannot be changed. Avoid entering confidential information. Example: `example_hostname_001` """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetHostnamesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2131,10 +2457,23 @@ def __init__(__self__, *, """ :param str name: The name of the rule set that the rule belongs to. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetListenerRulesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2176,10 +2515,23 @@ def __init__(__self__, *, """ :param str name: A unique name for the routing policy rule. Avoid entering confidential information. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetLoadBalancerRoutingPoliciesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2221,10 +2573,23 @@ def __init__(__self__, *, """ :param str name: A unique name for the routing policy rule. Avoid entering confidential information. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetLoadBalancersFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2266,10 +2631,23 @@ def __init__(__self__, *, """ :param str name: The unique name for this set of path route rules. Avoid entering confidential information. Example: `example_path_route_set` """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetPathRouteSetsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2311,10 +2689,23 @@ def __init__(__self__, *, """ :param str name: The name of a load balancing policy. Example: 'LEAST_CONNECTIONS' """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetPoliciesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2356,10 +2747,23 @@ def __init__(__self__, *, """ :param str name: The name of a protocol. Example: 'HTTP' """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetProtocolsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2401,10 +2805,23 @@ def __init__(__self__, *, """ :param str name: The name for this set of rules. It must be unique and it cannot be changed. Avoid entering confidential information. Example: `example_rule_set` """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetRuleSetsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2446,10 +2863,23 @@ def __init__(__self__, *, """ :param str name: The name of the shape. Example: `100Mbps` """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetShapesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2491,10 +2921,23 @@ def __init__(__self__, *, """ :param str name: A friendly name for the SSL cipher suite. It must be unique and it cannot be changed. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSslCipherSuitesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/loadbalancer/backend.py b/sdk/python/pulumi_oci/loadbalancer/backend.py index e5e405a522..fc7fe0f2f6 100644 --- a/sdk/python/pulumi_oci/loadbalancer/backend.py +++ b/sdk/python/pulumi_oci/loadbalancer/backend.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['BackendArgs', 'Backend'] @@ -41,18 +41,41 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "backendset_name", backendset_name) - pulumi.set(__self__, "ip_address", ip_address) - pulumi.set(__self__, "load_balancer_id", load_balancer_id) - pulumi.set(__self__, "port", port) + BackendArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + backendset_name=backendset_name, + ip_address=ip_address, + load_balancer_id=load_balancer_id, + port=port, + backup=backup, + drain=drain, + offline=offline, + weight=weight, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backendset_name: pulumi.Input[str], + ip_address: pulumi.Input[str], + load_balancer_id: pulumi.Input[str], + port: pulumi.Input[int], + backup: Optional[pulumi.Input[bool]] = None, + drain: Optional[pulumi.Input[bool]] = None, + offline: Optional[pulumi.Input[bool]] = None, + weight: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("backendset_name", backendset_name) + _setter("ip_address", ip_address) + _setter("load_balancer_id", load_balancer_id) + _setter("port", port) if backup is not None: - pulumi.set(__self__, "backup", backup) + _setter("backup", backup) if drain is not None: - pulumi.set(__self__, "drain", drain) + _setter("drain", drain) if offline is not None: - pulumi.set(__self__, "offline", offline) + _setter("offline", offline) if weight is not None: - pulumi.set(__self__, "weight", weight) + _setter("weight", weight) @property @pulumi.getter(name="backendsetName") @@ -192,26 +215,53 @@ def __init__(__self__, *, ** 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 """ + _BackendState._configure( + lambda key, value: pulumi.set(__self__, key, value), + backendset_name=backendset_name, + backup=backup, + drain=drain, + ip_address=ip_address, + load_balancer_id=load_balancer_id, + name=name, + offline=offline, + port=port, + state=state, + weight=weight, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backendset_name: Optional[pulumi.Input[str]] = None, + backup: Optional[pulumi.Input[bool]] = None, + drain: Optional[pulumi.Input[bool]] = None, + ip_address: Optional[pulumi.Input[str]] = None, + load_balancer_id: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + offline: Optional[pulumi.Input[bool]] = None, + port: Optional[pulumi.Input[int]] = None, + state: Optional[pulumi.Input[str]] = None, + weight: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if backendset_name is not None: - pulumi.set(__self__, "backendset_name", backendset_name) + _setter("backendset_name", backendset_name) if backup is not None: - pulumi.set(__self__, "backup", backup) + _setter("backup", backup) if drain is not None: - pulumi.set(__self__, "drain", drain) + _setter("drain", drain) if ip_address is not None: - pulumi.set(__self__, "ip_address", ip_address) + _setter("ip_address", ip_address) if load_balancer_id is not None: - pulumi.set(__self__, "load_balancer_id", load_balancer_id) + _setter("load_balancer_id", load_balancer_id) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if offline is not None: - pulumi.set(__self__, "offline", offline) + _setter("offline", offline) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if weight is not None: - pulumi.set(__self__, "weight", weight) + _setter("weight", weight) @property @pulumi.getter(name="backendsetName") @@ -448,6 +498,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + BackendArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/loadbalancer/backend_set.py b/sdk/python/pulumi_oci/loadbalancer/backend_set.py index ec0e2df80f..8565663aaa 100644 --- a/sdk/python/pulumi_oci/loadbalancer/backend_set.py +++ b/sdk/python/pulumi_oci/loadbalancer/backend_set.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -65,17 +65,38 @@ def __init__(__self__, *, **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API. """ - pulumi.set(__self__, "health_checker", health_checker) - pulumi.set(__self__, "load_balancer_id", load_balancer_id) - pulumi.set(__self__, "policy", policy) + BackendSetArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + health_checker=health_checker, + load_balancer_id=load_balancer_id, + policy=policy, + lb_cookie_session_persistence_configuration=lb_cookie_session_persistence_configuration, + name=name, + session_persistence_configuration=session_persistence_configuration, + ssl_configuration=ssl_configuration, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + health_checker: pulumi.Input['BackendSetHealthCheckerArgs'], + load_balancer_id: pulumi.Input[str], + policy: pulumi.Input[str], + lb_cookie_session_persistence_configuration: Optional[pulumi.Input['BackendSetLbCookieSessionPersistenceConfigurationArgs']] = None, + name: Optional[pulumi.Input[str]] = None, + session_persistence_configuration: Optional[pulumi.Input['BackendSetSessionPersistenceConfigurationArgs']] = None, + ssl_configuration: Optional[pulumi.Input['BackendSetSslConfigurationArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("health_checker", health_checker) + _setter("load_balancer_id", load_balancer_id) + _setter("policy", policy) if lb_cookie_session_persistence_configuration is not None: - pulumi.set(__self__, "lb_cookie_session_persistence_configuration", lb_cookie_session_persistence_configuration) + _setter("lb_cookie_session_persistence_configuration", lb_cookie_session_persistence_configuration) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if session_persistence_configuration is not None: - pulumi.set(__self__, "session_persistence_configuration", session_persistence_configuration) + _setter("session_persistence_configuration", session_persistence_configuration) if ssl_configuration is not None: - pulumi.set(__self__, "ssl_configuration", ssl_configuration) + _setter("ssl_configuration", ssl_configuration) @property @pulumi.getter(name="healthChecker") @@ -248,24 +269,49 @@ def __init__(__self__, *, **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API. """ + _BackendSetState._configure( + lambda key, value: pulumi.set(__self__, key, value), + backends=backends, + health_checker=health_checker, + lb_cookie_session_persistence_configuration=lb_cookie_session_persistence_configuration, + load_balancer_id=load_balancer_id, + name=name, + policy=policy, + session_persistence_configuration=session_persistence_configuration, + ssl_configuration=ssl_configuration, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backends: Optional[pulumi.Input[Sequence[pulumi.Input['BackendSetBackendArgs']]]] = None, + health_checker: Optional[pulumi.Input['BackendSetHealthCheckerArgs']] = None, + lb_cookie_session_persistence_configuration: Optional[pulumi.Input['BackendSetLbCookieSessionPersistenceConfigurationArgs']] = None, + load_balancer_id: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + policy: Optional[pulumi.Input[str]] = None, + session_persistence_configuration: Optional[pulumi.Input['BackendSetSessionPersistenceConfigurationArgs']] = None, + ssl_configuration: Optional[pulumi.Input['BackendSetSslConfigurationArgs']] = None, + state: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if backends is not None: - pulumi.set(__self__, "backends", backends) + _setter("backends", backends) if health_checker is not None: - pulumi.set(__self__, "health_checker", health_checker) + _setter("health_checker", health_checker) if lb_cookie_session_persistence_configuration is not None: - pulumi.set(__self__, "lb_cookie_session_persistence_configuration", lb_cookie_session_persistence_configuration) + _setter("lb_cookie_session_persistence_configuration", lb_cookie_session_persistence_configuration) if load_balancer_id is not None: - pulumi.set(__self__, "load_balancer_id", load_balancer_id) + _setter("load_balancer_id", load_balancer_id) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if policy is not None: - pulumi.set(__self__, "policy", policy) + _setter("policy", policy) if session_persistence_configuration is not None: - pulumi.set(__self__, "session_persistence_configuration", session_persistence_configuration) + _setter("session_persistence_configuration", session_persistence_configuration) if ssl_configuration is not None: - pulumi.set(__self__, "ssl_configuration", ssl_configuration) + _setter("ssl_configuration", ssl_configuration) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) @property @pulumi.getter @@ -605,6 +651,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + BackendSetArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -626,9 +676,19 @@ def _internal_init(__self__, raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = BackendSetArgs.__new__(BackendSetArgs) + if health_checker is not None and not isinstance(health_checker, BackendSetHealthCheckerArgs): + health_checker = health_checker or {} + def _setter(key, value): + health_checker[key] = value + BackendSetHealthCheckerArgs._configure(_setter, **health_checker) if health_checker is None and not opts.urn: raise TypeError("Missing required property 'health_checker'") __props__.__dict__["health_checker"] = health_checker + if lb_cookie_session_persistence_configuration is not None and not isinstance(lb_cookie_session_persistence_configuration, BackendSetLbCookieSessionPersistenceConfigurationArgs): + lb_cookie_session_persistence_configuration = lb_cookie_session_persistence_configuration or {} + def _setter(key, value): + lb_cookie_session_persistence_configuration[key] = value + BackendSetLbCookieSessionPersistenceConfigurationArgs._configure(_setter, **lb_cookie_session_persistence_configuration) __props__.__dict__["lb_cookie_session_persistence_configuration"] = lb_cookie_session_persistence_configuration if load_balancer_id is None and not opts.urn: raise TypeError("Missing required property 'load_balancer_id'") @@ -637,7 +697,17 @@ def _internal_init(__self__, if policy is None and not opts.urn: raise TypeError("Missing required property 'policy'") __props__.__dict__["policy"] = policy + if session_persistence_configuration is not None and not isinstance(session_persistence_configuration, BackendSetSessionPersistenceConfigurationArgs): + session_persistence_configuration = session_persistence_configuration or {} + def _setter(key, value): + session_persistence_configuration[key] = value + BackendSetSessionPersistenceConfigurationArgs._configure(_setter, **session_persistence_configuration) __props__.__dict__["session_persistence_configuration"] = session_persistence_configuration + if ssl_configuration is not None and not isinstance(ssl_configuration, BackendSetSslConfigurationArgs): + ssl_configuration = ssl_configuration or {} + def _setter(key, value): + ssl_configuration[key] = value + BackendSetSslConfigurationArgs._configure(_setter, **ssl_configuration) __props__.__dict__["ssl_configuration"] = ssl_configuration __props__.__dict__["backends"] = None __props__.__dict__["state"] = None diff --git a/sdk/python/pulumi_oci/loadbalancer/certificate.py b/sdk/python/pulumi_oci/loadbalancer/certificate.py index 65ac7b2a43..4af47a5602 100644 --- a/sdk/python/pulumi_oci/loadbalancer/certificate.py +++ b/sdk/python/pulumi_oci/loadbalancer/certificate.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['CertificateArgs', 'Certificate'] @@ -64,16 +64,35 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "certificate_name", certificate_name) - pulumi.set(__self__, "load_balancer_id", load_balancer_id) + CertificateArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + certificate_name=certificate_name, + load_balancer_id=load_balancer_id, + ca_certificate=ca_certificate, + passphrase=passphrase, + private_key=private_key, + public_certificate=public_certificate, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + certificate_name: pulumi.Input[str], + load_balancer_id: pulumi.Input[str], + ca_certificate: Optional[pulumi.Input[str]] = None, + passphrase: Optional[pulumi.Input[str]] = None, + private_key: Optional[pulumi.Input[str]] = None, + public_certificate: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("certificate_name", certificate_name) + _setter("load_balancer_id", load_balancer_id) if ca_certificate is not None: - pulumi.set(__self__, "ca_certificate", ca_certificate) + _setter("ca_certificate", ca_certificate) if passphrase is not None: - pulumi.set(__self__, "passphrase", passphrase) + _setter("passphrase", passphrase) if private_key is not None: - pulumi.set(__self__, "private_key", private_key) + _setter("private_key", private_key) if public_certificate is not None: - pulumi.set(__self__, "public_certificate", public_certificate) + _setter("public_certificate", public_certificate) @property @pulumi.getter(name="certificateName") @@ -237,20 +256,41 @@ def __init__(__self__, *, ** 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 """ + _CertificateState._configure( + lambda key, value: pulumi.set(__self__, key, value), + ca_certificate=ca_certificate, + certificate_name=certificate_name, + load_balancer_id=load_balancer_id, + passphrase=passphrase, + private_key=private_key, + public_certificate=public_certificate, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ca_certificate: Optional[pulumi.Input[str]] = None, + certificate_name: Optional[pulumi.Input[str]] = None, + load_balancer_id: Optional[pulumi.Input[str]] = None, + passphrase: Optional[pulumi.Input[str]] = None, + private_key: Optional[pulumi.Input[str]] = None, + public_certificate: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ca_certificate is not None: - pulumi.set(__self__, "ca_certificate", ca_certificate) + _setter("ca_certificate", ca_certificate) if certificate_name is not None: - pulumi.set(__self__, "certificate_name", certificate_name) + _setter("certificate_name", certificate_name) if load_balancer_id is not None: - pulumi.set(__self__, "load_balancer_id", load_balancer_id) + _setter("load_balancer_id", load_balancer_id) if passphrase is not None: - pulumi.set(__self__, "passphrase", passphrase) + _setter("passphrase", passphrase) if private_key is not None: - pulumi.set(__self__, "private_key", private_key) + _setter("private_key", private_key) if public_certificate is not None: - pulumi.set(__self__, "public_certificate", public_certificate) + _setter("public_certificate", public_certificate) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) @property @pulumi.getter(name="caCertificate") @@ -489,6 +529,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + CertificateArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/loadbalancer/get_backend_health.py b/sdk/python/pulumi_oci/loadbalancer/get_backend_health.py index 9f78c99ca5..ad28f8c2ce 100644 --- a/sdk/python/pulumi_oci/loadbalancer/get_backend_health.py +++ b/sdk/python/pulumi_oci/loadbalancer/get_backend_health.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/loadbalancer/get_backend_set_health.py b/sdk/python/pulumi_oci/loadbalancer/get_backend_set_health.py index cb370a0fd2..74b46c0df6 100644 --- a/sdk/python/pulumi_oci/loadbalancer/get_backend_set_health.py +++ b/sdk/python/pulumi_oci/loadbalancer/get_backend_set_health.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/loadbalancer/get_backend_sets.py b/sdk/python/pulumi_oci/loadbalancer/get_backend_sets.py index e64e914b43..9fd2bcfc1f 100644 --- a/sdk/python/pulumi_oci/loadbalancer/get_backend_sets.py +++ b/sdk/python/pulumi_oci/loadbalancer/get_backend_sets.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/loadbalancer/get_backends.py b/sdk/python/pulumi_oci/loadbalancer/get_backends.py index 557d000412..3dadadf0d2 100644 --- a/sdk/python/pulumi_oci/loadbalancer/get_backends.py +++ b/sdk/python/pulumi_oci/loadbalancer/get_backends.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/loadbalancer/get_certificates.py b/sdk/python/pulumi_oci/loadbalancer/get_certificates.py index 43216e34c6..85a0c613e4 100644 --- a/sdk/python/pulumi_oci/loadbalancer/get_certificates.py +++ b/sdk/python/pulumi_oci/loadbalancer/get_certificates.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/loadbalancer/get_health.py b/sdk/python/pulumi_oci/loadbalancer/get_health.py index 30498896d3..2a1dd6fdeb 100644 --- a/sdk/python/pulumi_oci/loadbalancer/get_health.py +++ b/sdk/python/pulumi_oci/loadbalancer/get_health.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/loadbalancer/get_hostnames.py b/sdk/python/pulumi_oci/loadbalancer/get_hostnames.py index e460964526..f08cb80bf9 100644 --- a/sdk/python/pulumi_oci/loadbalancer/get_hostnames.py +++ b/sdk/python/pulumi_oci/loadbalancer/get_hostnames.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/loadbalancer/get_listener_rules.py b/sdk/python/pulumi_oci/loadbalancer/get_listener_rules.py index c45e8ba0bd..0e9773be9a 100644 --- a/sdk/python/pulumi_oci/loadbalancer/get_listener_rules.py +++ b/sdk/python/pulumi_oci/loadbalancer/get_listener_rules.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/loadbalancer/get_load_balancer_routing_policies.py b/sdk/python/pulumi_oci/loadbalancer/get_load_balancer_routing_policies.py index 381b0ae8d5..1f9aee4097 100644 --- a/sdk/python/pulumi_oci/loadbalancer/get_load_balancer_routing_policies.py +++ b/sdk/python/pulumi_oci/loadbalancer/get_load_balancer_routing_policies.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/loadbalancer/get_load_balancer_routing_policy.py b/sdk/python/pulumi_oci/loadbalancer/get_load_balancer_routing_policy.py index faebd5249b..bae207e648 100644 --- a/sdk/python/pulumi_oci/loadbalancer/get_load_balancer_routing_policy.py +++ b/sdk/python/pulumi_oci/loadbalancer/get_load_balancer_routing_policy.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/loadbalancer/get_load_balancers.py b/sdk/python/pulumi_oci/loadbalancer/get_load_balancers.py index 4a24ac63c2..e0cfe5da93 100644 --- a/sdk/python/pulumi_oci/loadbalancer/get_load_balancers.py +++ b/sdk/python/pulumi_oci/loadbalancer/get_load_balancers.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/loadbalancer/get_path_route_sets.py b/sdk/python/pulumi_oci/loadbalancer/get_path_route_sets.py index 147dfe3ef0..7ee5fdfa8b 100644 --- a/sdk/python/pulumi_oci/loadbalancer/get_path_route_sets.py +++ b/sdk/python/pulumi_oci/loadbalancer/get_path_route_sets.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/loadbalancer/get_policies.py b/sdk/python/pulumi_oci/loadbalancer/get_policies.py index 83e240ff21..57cacd4cf0 100644 --- a/sdk/python/pulumi_oci/loadbalancer/get_policies.py +++ b/sdk/python/pulumi_oci/loadbalancer/get_policies.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/loadbalancer/get_protocols.py b/sdk/python/pulumi_oci/loadbalancer/get_protocols.py index 2963b43508..842eedddd9 100644 --- a/sdk/python/pulumi_oci/loadbalancer/get_protocols.py +++ b/sdk/python/pulumi_oci/loadbalancer/get_protocols.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/loadbalancer/get_rule_set.py b/sdk/python/pulumi_oci/loadbalancer/get_rule_set.py index 32a987d787..3b207f366a 100644 --- a/sdk/python/pulumi_oci/loadbalancer/get_rule_set.py +++ b/sdk/python/pulumi_oci/loadbalancer/get_rule_set.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/loadbalancer/get_rule_sets.py b/sdk/python/pulumi_oci/loadbalancer/get_rule_sets.py index 179d19b49a..badead009e 100644 --- a/sdk/python/pulumi_oci/loadbalancer/get_rule_sets.py +++ b/sdk/python/pulumi_oci/loadbalancer/get_rule_sets.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/loadbalancer/get_shapes.py b/sdk/python/pulumi_oci/loadbalancer/get_shapes.py index 47c2ad62b8..45657a0293 100644 --- a/sdk/python/pulumi_oci/loadbalancer/get_shapes.py +++ b/sdk/python/pulumi_oci/loadbalancer/get_shapes.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/loadbalancer/get_ssl_cipher_suite.py b/sdk/python/pulumi_oci/loadbalancer/get_ssl_cipher_suite.py index 2add49ce9e..7c0ae924f0 100644 --- a/sdk/python/pulumi_oci/loadbalancer/get_ssl_cipher_suite.py +++ b/sdk/python/pulumi_oci/loadbalancer/get_ssl_cipher_suite.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/loadbalancer/get_ssl_cipher_suites.py b/sdk/python/pulumi_oci/loadbalancer/get_ssl_cipher_suites.py index 1d37c18672..c4f90fe23f 100644 --- a/sdk/python/pulumi_oci/loadbalancer/get_ssl_cipher_suites.py +++ b/sdk/python/pulumi_oci/loadbalancer/get_ssl_cipher_suites.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/loadbalancer/hostname.py b/sdk/python/pulumi_oci/loadbalancer/hostname.py index 5824567beb..63dd6afe30 100644 --- a/sdk/python/pulumi_oci/loadbalancer/hostname.py +++ b/sdk/python/pulumi_oci/loadbalancer/hostname.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['HostnameArgs', 'Hostname'] @@ -27,10 +27,23 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "hostname", hostname) - pulumi.set(__self__, "load_balancer_id", load_balancer_id) + HostnameArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + hostname=hostname, + load_balancer_id=load_balancer_id, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hostname: pulumi.Input[str], + load_balancer_id: pulumi.Input[str], + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("hostname", hostname) + _setter("load_balancer_id", load_balancer_id) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -90,14 +103,29 @@ def __init__(__self__, *, ** 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 """ + _HostnameState._configure( + lambda key, value: pulumi.set(__self__, key, value), + hostname=hostname, + load_balancer_id=load_balancer_id, + name=name, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hostname: Optional[pulumi.Input[str]] = None, + load_balancer_id: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if hostname is not None: - pulumi.set(__self__, "hostname", hostname) + _setter("hostname", hostname) if load_balancer_id is not None: - pulumi.set(__self__, "load_balancer_id", load_balancer_id) + _setter("load_balancer_id", load_balancer_id) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) @property @pulumi.getter @@ -224,6 +252,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + HostnameArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/loadbalancer/listener.py b/sdk/python/pulumi_oci/loadbalancer/listener.py index 3e3f9bd570..8643ee083d 100644 --- a/sdk/python/pulumi_oci/loadbalancer/listener.py +++ b/sdk/python/pulumi_oci/loadbalancer/listener.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -47,24 +47,53 @@ def __init__(__self__, *, **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API. """ - pulumi.set(__self__, "default_backend_set_name", default_backend_set_name) - pulumi.set(__self__, "load_balancer_id", load_balancer_id) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "protocol", protocol) + ListenerArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + default_backend_set_name=default_backend_set_name, + load_balancer_id=load_balancer_id, + port=port, + protocol=protocol, + connection_configuration=connection_configuration, + hostname_names=hostname_names, + name=name, + path_route_set_name=path_route_set_name, + routing_policy_name=routing_policy_name, + rule_set_names=rule_set_names, + ssl_configuration=ssl_configuration, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + default_backend_set_name: pulumi.Input[str], + load_balancer_id: pulumi.Input[str], + port: pulumi.Input[int], + protocol: pulumi.Input[str], + connection_configuration: Optional[pulumi.Input['ListenerConnectionConfigurationArgs']] = None, + hostname_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + name: Optional[pulumi.Input[str]] = None, + path_route_set_name: Optional[pulumi.Input[str]] = None, + routing_policy_name: Optional[pulumi.Input[str]] = None, + rule_set_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + ssl_configuration: Optional[pulumi.Input['ListenerSslConfigurationArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("default_backend_set_name", default_backend_set_name) + _setter("load_balancer_id", load_balancer_id) + _setter("port", port) + _setter("protocol", protocol) if connection_configuration is not None: - pulumi.set(__self__, "connection_configuration", connection_configuration) + _setter("connection_configuration", connection_configuration) if hostname_names is not None: - pulumi.set(__self__, "hostname_names", hostname_names) + _setter("hostname_names", hostname_names) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if path_route_set_name is not None: - pulumi.set(__self__, "path_route_set_name", path_route_set_name) + _setter("path_route_set_name", path_route_set_name) if routing_policy_name is not None: - pulumi.set(__self__, "routing_policy_name", routing_policy_name) + _setter("routing_policy_name", routing_policy_name) if rule_set_names is not None: - pulumi.set(__self__, "rule_set_names", rule_set_names) + _setter("rule_set_names", rule_set_names) if ssl_configuration is not None: - pulumi.set(__self__, "ssl_configuration", ssl_configuration) + _setter("ssl_configuration", ssl_configuration) @property @pulumi.getter(name="defaultBackendSetName") @@ -240,30 +269,61 @@ def __init__(__self__, *, **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API. """ + _ListenerState._configure( + lambda key, value: pulumi.set(__self__, key, value), + connection_configuration=connection_configuration, + default_backend_set_name=default_backend_set_name, + hostname_names=hostname_names, + load_balancer_id=load_balancer_id, + name=name, + path_route_set_name=path_route_set_name, + port=port, + protocol=protocol, + routing_policy_name=routing_policy_name, + rule_set_names=rule_set_names, + ssl_configuration=ssl_configuration, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + connection_configuration: Optional[pulumi.Input['ListenerConnectionConfigurationArgs']] = None, + default_backend_set_name: Optional[pulumi.Input[str]] = None, + hostname_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + load_balancer_id: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + path_route_set_name: Optional[pulumi.Input[str]] = None, + port: Optional[pulumi.Input[int]] = None, + protocol: Optional[pulumi.Input[str]] = None, + routing_policy_name: Optional[pulumi.Input[str]] = None, + rule_set_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + ssl_configuration: Optional[pulumi.Input['ListenerSslConfigurationArgs']] = None, + state: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if connection_configuration is not None: - pulumi.set(__self__, "connection_configuration", connection_configuration) + _setter("connection_configuration", connection_configuration) if default_backend_set_name is not None: - pulumi.set(__self__, "default_backend_set_name", default_backend_set_name) + _setter("default_backend_set_name", default_backend_set_name) if hostname_names is not None: - pulumi.set(__self__, "hostname_names", hostname_names) + _setter("hostname_names", hostname_names) if load_balancer_id is not None: - pulumi.set(__self__, "load_balancer_id", load_balancer_id) + _setter("load_balancer_id", load_balancer_id) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if path_route_set_name is not None: - pulumi.set(__self__, "path_route_set_name", path_route_set_name) + _setter("path_route_set_name", path_route_set_name) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if protocol is not None: - pulumi.set(__self__, "protocol", protocol) + _setter("protocol", protocol) if routing_policy_name is not None: - pulumi.set(__self__, "routing_policy_name", routing_policy_name) + _setter("routing_policy_name", routing_policy_name) if rule_set_names is not None: - pulumi.set(__self__, "rule_set_names", rule_set_names) + _setter("rule_set_names", rule_set_names) if ssl_configuration is not None: - pulumi.set(__self__, "ssl_configuration", ssl_configuration) + _setter("ssl_configuration", ssl_configuration) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) @property @pulumi.getter(name="connectionConfiguration") @@ -554,6 +614,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ListenerArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -579,6 +643,11 @@ def _internal_init(__self__, raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = ListenerArgs.__new__(ListenerArgs) + if connection_configuration is not None and not isinstance(connection_configuration, ListenerConnectionConfigurationArgs): + connection_configuration = connection_configuration or {} + def _setter(key, value): + connection_configuration[key] = value + ListenerConnectionConfigurationArgs._configure(_setter, **connection_configuration) __props__.__dict__["connection_configuration"] = connection_configuration if default_backend_set_name is None and not opts.urn: raise TypeError("Missing required property 'default_backend_set_name'") @@ -597,6 +666,11 @@ def _internal_init(__self__, __props__.__dict__["protocol"] = protocol __props__.__dict__["routing_policy_name"] = routing_policy_name __props__.__dict__["rule_set_names"] = rule_set_names + if ssl_configuration is not None and not isinstance(ssl_configuration, ListenerSslConfigurationArgs): + ssl_configuration = ssl_configuration or {} + def _setter(key, value): + ssl_configuration[key] = value + ListenerSslConfigurationArgs._configure(_setter, **ssl_configuration) __props__.__dict__["ssl_configuration"] = ssl_configuration __props__.__dict__["state"] = None super(Listener, __self__).__init__( diff --git a/sdk/python/pulumi_oci/loadbalancer/load_balancer.py b/sdk/python/pulumi_oci/loadbalancer/load_balancer.py index 51826e76f7..60f03cb2f1 100644 --- a/sdk/python/pulumi_oci/loadbalancer/load_balancer.py +++ b/sdk/python/pulumi_oci/loadbalancer/load_balancer.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -67,24 +67,53 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['LoadBalancerReservedIpArgs']]] reserved_ips: An array of reserved Ips. Pre-created public IP that will be used as the IP of this load balancer. This reserved IP will not be deleted when load balancer is deleted. This ip should not be already mapped to any other resource. :param pulumi.Input['LoadBalancerShapeDetailsArgs'] shape_details: (Updatable) The configuration details to create load balancer using Flexible shape. This is required only if shapeName is `Flexible`. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "subnet_ids", subnet_ids) + LoadBalancerArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + shape=shape, + subnet_ids=subnet_ids, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + ip_mode=ip_mode, + is_private=is_private, + network_security_group_ids=network_security_group_ids, + reserved_ips=reserved_ips, + shape_details=shape_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + shape: pulumi.Input[str], + subnet_ids: pulumi.Input[Sequence[pulumi.Input[str]]], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + ip_mode: Optional[pulumi.Input[str]] = None, + is_private: Optional[pulumi.Input[bool]] = None, + network_security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + reserved_ips: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerReservedIpArgs']]]] = None, + shape_details: Optional[pulumi.Input['LoadBalancerShapeDetailsArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) + _setter("shape", shape) + _setter("subnet_ids", subnet_ids) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if ip_mode is not None: - pulumi.set(__self__, "ip_mode", ip_mode) + _setter("ip_mode", ip_mode) if is_private is not None: - pulumi.set(__self__, "is_private", is_private) + _setter("is_private", is_private) if network_security_group_ids is not None: - pulumi.set(__self__, "network_security_group_ids", network_security_group_ids) + _setter("network_security_group_ids", network_security_group_ids) if reserved_ips is not None: - pulumi.set(__self__, "reserved_ips", reserved_ips) + _setter("reserved_ips", reserved_ips) if shape_details is not None: - pulumi.set(__self__, "shape_details", shape_details) + _setter("shape_details", shape_details) @property @pulumi.getter(name="compartmentId") @@ -309,41 +338,80 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] system_tags: System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). System tags can be viewed by users, but can only be created by the system. Example: `{"orcl-cloud.free-tier-retained": "true"}` :param pulumi.Input[str] time_created: The date and time the load balancer was created, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z` """ + _LoadBalancerState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + ip_address_details=ip_address_details, + ip_addresses=ip_addresses, + ip_mode=ip_mode, + is_private=is_private, + network_security_group_ids=network_security_group_ids, + reserved_ips=reserved_ips, + shape=shape, + shape_details=shape_details, + state=state, + subnet_ids=subnet_ids, + system_tags=system_tags, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + ip_address_details: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerIpAddressDetailArgs']]]] = None, + ip_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + ip_mode: Optional[pulumi.Input[str]] = None, + is_private: Optional[pulumi.Input[bool]] = None, + network_security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + reserved_ips: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerReservedIpArgs']]]] = None, + shape: Optional[pulumi.Input[str]] = None, + shape_details: Optional[pulumi.Input['LoadBalancerShapeDetailsArgs']] = None, + state: Optional[pulumi.Input[str]] = None, + subnet_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if ip_address_details is not None: - pulumi.set(__self__, "ip_address_details", ip_address_details) + _setter("ip_address_details", ip_address_details) if ip_addresses is not None: warnings.warn("""The 'ip_addresses' field has been deprecated. Please use 'ip_address_details' instead.""", DeprecationWarning) pulumi.log.warn("""ip_addresses is deprecated: The 'ip_addresses' field has been deprecated. Please use 'ip_address_details' instead.""") if ip_addresses is not None: - pulumi.set(__self__, "ip_addresses", ip_addresses) + _setter("ip_addresses", ip_addresses) if ip_mode is not None: - pulumi.set(__self__, "ip_mode", ip_mode) + _setter("ip_mode", ip_mode) if is_private is not None: - pulumi.set(__self__, "is_private", is_private) + _setter("is_private", is_private) if network_security_group_ids is not None: - pulumi.set(__self__, "network_security_group_ids", network_security_group_ids) + _setter("network_security_group_ids", network_security_group_ids) if reserved_ips is not None: - pulumi.set(__self__, "reserved_ips", reserved_ips) + _setter("reserved_ips", reserved_ips) if shape is not None: - pulumi.set(__self__, "shape", shape) + _setter("shape", shape) if shape_details is not None: - pulumi.set(__self__, "shape_details", shape_details) + _setter("shape_details", shape_details) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if subnet_ids is not None: - pulumi.set(__self__, "subnet_ids", subnet_ids) + _setter("subnet_ids", subnet_ids) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -778,6 +846,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + LoadBalancerArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -818,6 +890,11 @@ def _internal_init(__self__, if shape is None and not opts.urn: raise TypeError("Missing required property 'shape'") __props__.__dict__["shape"] = shape + if shape_details is not None and not isinstance(shape_details, LoadBalancerShapeDetailsArgs): + shape_details = shape_details or {} + def _setter(key, value): + shape_details[key] = value + LoadBalancerShapeDetailsArgs._configure(_setter, **shape_details) __props__.__dict__["shape_details"] = shape_details if subnet_ids is None and not opts.urn: raise TypeError("Missing required property 'subnet_ids'") diff --git a/sdk/python/pulumi_oci/loadbalancer/load_balancer_routing_policy.py b/sdk/python/pulumi_oci/loadbalancer/load_balancer_routing_policy.py index 857ea46589..af852a0913 100644 --- a/sdk/python/pulumi_oci/loadbalancer/load_balancer_routing_policy.py +++ b/sdk/python/pulumi_oci/loadbalancer/load_balancer_routing_policy.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -31,11 +31,26 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "condition_language_version", condition_language_version) - pulumi.set(__self__, "load_balancer_id", load_balancer_id) - pulumi.set(__self__, "rules", rules) + LoadBalancerRoutingPolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + condition_language_version=condition_language_version, + load_balancer_id=load_balancer_id, + rules=rules, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + condition_language_version: pulumi.Input[str], + load_balancer_id: pulumi.Input[str], + rules: pulumi.Input[Sequence[pulumi.Input['LoadBalancerRoutingPolicyRuleArgs']]], + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("condition_language_version", condition_language_version) + _setter("load_balancer_id", load_balancer_id) + _setter("rules", rules) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter(name="conditionLanguageVersion") @@ -109,16 +124,33 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[Sequence[pulumi.Input['LoadBalancerRoutingPolicyRuleArgs']]] rules: (Updatable) The list of routing rules. """ + _LoadBalancerRoutingPolicyState._configure( + lambda key, value: pulumi.set(__self__, key, value), + condition_language_version=condition_language_version, + load_balancer_id=load_balancer_id, + name=name, + rules=rules, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + condition_language_version: Optional[pulumi.Input[str]] = None, + load_balancer_id: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + rules: Optional[pulumi.Input[Sequence[pulumi.Input['LoadBalancerRoutingPolicyRuleArgs']]]] = None, + state: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if condition_language_version is not None: - pulumi.set(__self__, "condition_language_version", condition_language_version) + _setter("condition_language_version", condition_language_version) if load_balancer_id is not None: - pulumi.set(__self__, "load_balancer_id", load_balancer_id) + _setter("load_balancer_id", load_balancer_id) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if rules is not None: - pulumi.set(__self__, "rules", rules) + _setter("rules", rules) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) @property @pulumi.getter(name="conditionLanguageVersion") @@ -285,6 +317,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + LoadBalancerRoutingPolicyArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/loadbalancer/outputs.py b/sdk/python/pulumi_oci/loadbalancer/outputs.py index b61327f039..9976dbad33 100644 --- a/sdk/python/pulumi_oci/loadbalancer/outputs.py +++ b/sdk/python/pulumi_oci/loadbalancer/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -122,18 +122,39 @@ def __init__(__self__, *, :param bool offline: Whether the load balancer should treat this server as offline. Offline servers receive no incoming traffic. Example: `false` :param int weight: The load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger proportion of incoming traffic. For example, a server weighted '3' receives 3 times the number of new connections as a server weighted '1'. For more information on load balancing policies, see [How Load Balancing Policies Work](https://docs.cloud.oracle.com/iaas/Content/Balance/Reference/lbpolicies.htm). Example: `3` """ - pulumi.set(__self__, "ip_address", ip_address) - pulumi.set(__self__, "port", port) + BackendSetBackend._configure( + lambda key, value: pulumi.set(__self__, key, value), + ip_address=ip_address, + port=port, + backup=backup, + drain=drain, + name=name, + offline=offline, + weight=weight, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ip_address: str, + port: int, + backup: Optional[bool] = None, + drain: Optional[bool] = None, + name: Optional[str] = None, + offline: Optional[bool] = None, + weight: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ip_address", ip_address) + _setter("port", port) if backup is not None: - pulumi.set(__self__, "backup", backup) + _setter("backup", backup) if drain is not None: - pulumi.set(__self__, "drain", drain) + _setter("drain", drain) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if offline is not None: - pulumi.set(__self__, "offline", offline) + _setter("offline", offline) if weight is not None: - pulumi.set(__self__, "weight", weight) + _setter("weight", weight) @property @pulumi.getter(name="ipAddress") @@ -252,23 +273,48 @@ def __init__(__self__, *, :param int timeout_in_millis: (Updatable) The maximum time, in milliseconds, to wait for a reply to a health check. A health check is successful only if a reply returns within this timeout period. Example: `3000` :param str url_path: (Updatable) The path against which to run the health check. Example: `/healthcheck` """ - pulumi.set(__self__, "protocol", protocol) + BackendSetHealthChecker._configure( + lambda key, value: pulumi.set(__self__, key, value), + protocol=protocol, + interval_ms=interval_ms, + is_force_plain_text=is_force_plain_text, + port=port, + response_body_regex=response_body_regex, + retries=retries, + return_code=return_code, + timeout_in_millis=timeout_in_millis, + url_path=url_path, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + protocol: str, + interval_ms: Optional[int] = None, + is_force_plain_text: Optional[bool] = None, + port: Optional[int] = None, + response_body_regex: Optional[str] = None, + retries: Optional[int] = None, + return_code: Optional[int] = None, + timeout_in_millis: Optional[int] = None, + url_path: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("protocol", protocol) if interval_ms is not None: - pulumi.set(__self__, "interval_ms", interval_ms) + _setter("interval_ms", interval_ms) if is_force_plain_text is not None: - pulumi.set(__self__, "is_force_plain_text", is_force_plain_text) + _setter("is_force_plain_text", is_force_plain_text) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if response_body_regex is not None: - pulumi.set(__self__, "response_body_regex", response_body_regex) + _setter("response_body_regex", response_body_regex) if retries is not None: - pulumi.set(__self__, "retries", retries) + _setter("retries", retries) if return_code is not None: - pulumi.set(__self__, "return_code", return_code) + _setter("return_code", return_code) if timeout_in_millis is not None: - pulumi.set(__self__, "timeout_in_millis", timeout_in_millis) + _setter("timeout_in_millis", timeout_in_millis) if url_path is not None: - pulumi.set(__self__, "url_path", url_path) + _setter("url_path", url_path) @property @pulumi.getter @@ -417,20 +463,41 @@ def __init__(__self__, *, Example: `/example` """ + BackendSetLbCookieSessionPersistenceConfiguration._configure( + lambda key, value: pulumi.set(__self__, key, value), + cookie_name=cookie_name, + disable_fallback=disable_fallback, + domain=domain, + is_http_only=is_http_only, + is_secure=is_secure, + max_age_in_seconds=max_age_in_seconds, + path=path, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cookie_name: Optional[str] = None, + disable_fallback: Optional[bool] = None, + domain: Optional[str] = None, + is_http_only: Optional[bool] = None, + is_secure: Optional[bool] = None, + max_age_in_seconds: Optional[int] = None, + path: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if cookie_name is not None: - pulumi.set(__self__, "cookie_name", cookie_name) + _setter("cookie_name", cookie_name) if disable_fallback is not None: - pulumi.set(__self__, "disable_fallback", disable_fallback) + _setter("disable_fallback", disable_fallback) if domain is not None: - pulumi.set(__self__, "domain", domain) + _setter("domain", domain) if is_http_only is not None: - pulumi.set(__self__, "is_http_only", is_http_only) + _setter("is_http_only", is_http_only) if is_secure is not None: - pulumi.set(__self__, "is_secure", is_secure) + _setter("is_secure", is_secure) if max_age_in_seconds is not None: - pulumi.set(__self__, "max_age_in_seconds", max_age_in_seconds) + _setter("max_age_in_seconds", max_age_in_seconds) if path is not None: - pulumi.set(__self__, "path", path) + _setter("path", path) @property @pulumi.getter(name="cookieName") @@ -541,9 +608,20 @@ def __init__(__self__, *, :param str cookie_name: (Updatable) The name of the cookie used to detect a session initiated by the backend server. Use '*' to specify that any cookie set by the backend causes the session to persist. Example: `example_cookie` :param bool disable_fallback: (Updatable) Whether the load balancer is prevented from directing traffic from a persistent session client to a different backend server if the original server is unavailable. Defaults to false. Example: `false` """ - pulumi.set(__self__, "cookie_name", cookie_name) + BackendSetSessionPersistenceConfiguration._configure( + lambda key, value: pulumi.set(__self__, key, value), + cookie_name=cookie_name, + disable_fallback=disable_fallback, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cookie_name: str, + disable_fallback: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cookie_name", cookie_name) if disable_fallback is not None: - pulumi.set(__self__, "disable_fallback", disable_fallback) + _setter("disable_fallback", disable_fallback) @property @pulumi.getter(name="cookieName") @@ -648,22 +726,45 @@ def __init__(__self__, *, ** 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 """ + BackendSetSslConfiguration._configure( + lambda key, value: pulumi.set(__self__, key, value), + certificate_ids=certificate_ids, + certificate_name=certificate_name, + cipher_suite_name=cipher_suite_name, + protocols=protocols, + server_order_preference=server_order_preference, + trusted_certificate_authority_ids=trusted_certificate_authority_ids, + verify_depth=verify_depth, + verify_peer_certificate=verify_peer_certificate, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + certificate_ids: Optional[Sequence[str]] = None, + certificate_name: Optional[str] = None, + cipher_suite_name: Optional[str] = None, + protocols: Optional[Sequence[str]] = None, + server_order_preference: Optional[str] = None, + trusted_certificate_authority_ids: Optional[Sequence[str]] = None, + verify_depth: Optional[int] = None, + verify_peer_certificate: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): if certificate_ids is not None: - pulumi.set(__self__, "certificate_ids", certificate_ids) + _setter("certificate_ids", certificate_ids) if certificate_name is not None: - pulumi.set(__self__, "certificate_name", certificate_name) + _setter("certificate_name", certificate_name) if cipher_suite_name is not None: - pulumi.set(__self__, "cipher_suite_name", cipher_suite_name) + _setter("cipher_suite_name", cipher_suite_name) if protocols is not None: - pulumi.set(__self__, "protocols", protocols) + _setter("protocols", protocols) if server_order_preference is not None: - pulumi.set(__self__, "server_order_preference", server_order_preference) + _setter("server_order_preference", server_order_preference) if trusted_certificate_authority_ids is not None: - pulumi.set(__self__, "trusted_certificate_authority_ids", trusted_certificate_authority_ids) + _setter("trusted_certificate_authority_ids", trusted_certificate_authority_ids) if verify_depth is not None: - pulumi.set(__self__, "verify_depth", verify_depth) + _setter("verify_depth", verify_depth) if verify_peer_certificate is not None: - pulumi.set(__self__, "verify_peer_certificate", verify_peer_certificate) + _setter("verify_peer_certificate", verify_peer_certificate) @property @pulumi.getter(name="certificateIds") @@ -798,9 +899,20 @@ def __init__(__self__, *, Example: `1200` :param int backend_tcp_proxy_protocol_version: (Updatable) The backend TCP Proxy Protocol version. Example: `1` """ - pulumi.set(__self__, "idle_timeout_in_seconds", idle_timeout_in_seconds) + ListenerConnectionConfiguration._configure( + lambda key, value: pulumi.set(__self__, key, value), + idle_timeout_in_seconds=idle_timeout_in_seconds, + backend_tcp_proxy_protocol_version=backend_tcp_proxy_protocol_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + idle_timeout_in_seconds: str, + backend_tcp_proxy_protocol_version: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("idle_timeout_in_seconds", idle_timeout_in_seconds) if backend_tcp_proxy_protocol_version is not None: - pulumi.set(__self__, "backend_tcp_proxy_protocol_version", backend_tcp_proxy_protocol_version) + _setter("backend_tcp_proxy_protocol_version", backend_tcp_proxy_protocol_version) @property @pulumi.getter(name="idleTimeoutInSeconds") @@ -910,22 +1022,45 @@ def __init__(__self__, *, ** 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 """ + ListenerSslConfiguration._configure( + lambda key, value: pulumi.set(__self__, key, value), + certificate_ids=certificate_ids, + certificate_name=certificate_name, + cipher_suite_name=cipher_suite_name, + protocols=protocols, + server_order_preference=server_order_preference, + trusted_certificate_authority_ids=trusted_certificate_authority_ids, + verify_depth=verify_depth, + verify_peer_certificate=verify_peer_certificate, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + certificate_ids: Optional[Sequence[str]] = None, + certificate_name: Optional[str] = None, + cipher_suite_name: Optional[str] = None, + protocols: Optional[Sequence[str]] = None, + server_order_preference: Optional[str] = None, + trusted_certificate_authority_ids: Optional[Sequence[str]] = None, + verify_depth: Optional[int] = None, + verify_peer_certificate: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): if certificate_ids is not None: - pulumi.set(__self__, "certificate_ids", certificate_ids) + _setter("certificate_ids", certificate_ids) if certificate_name is not None: - pulumi.set(__self__, "certificate_name", certificate_name) + _setter("certificate_name", certificate_name) if cipher_suite_name is not None: - pulumi.set(__self__, "cipher_suite_name", cipher_suite_name) + _setter("cipher_suite_name", cipher_suite_name) if protocols is not None: - pulumi.set(__self__, "protocols", protocols) + _setter("protocols", protocols) if server_order_preference is not None: - pulumi.set(__self__, "server_order_preference", server_order_preference) + _setter("server_order_preference", server_order_preference) if trusted_certificate_authority_ids is not None: - pulumi.set(__self__, "trusted_certificate_authority_ids", trusted_certificate_authority_ids) + _setter("trusted_certificate_authority_ids", trusted_certificate_authority_ids) if verify_depth is not None: - pulumi.set(__self__, "verify_depth", verify_depth) + _setter("verify_depth", verify_depth) if verify_peer_certificate is not None: - pulumi.set(__self__, "verify_peer_certificate", verify_peer_certificate) + _setter("verify_peer_certificate", verify_peer_certificate) @property @pulumi.getter(name="certificateIds") @@ -1061,12 +1196,25 @@ def __init__(__self__, *, :param bool is_public: Whether the IP address is public or private. :param Sequence['LoadBalancerIpAddressDetailReservedIpArgs'] reserved_ips: Pre-created public IP that will be used as the IP of this load balancer. This reserved IP will not be deleted when load balancer is deleted. This ip should not be already mapped to any other resource. """ + LoadBalancerIpAddressDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + ip_address=ip_address, + is_public=is_public, + reserved_ips=reserved_ips, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ip_address: Optional[str] = None, + is_public: Optional[bool] = None, + reserved_ips: Optional[Sequence['outputs.LoadBalancerIpAddressDetailReservedIp']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ip_address is not None: - pulumi.set(__self__, "ip_address", ip_address) + _setter("ip_address", ip_address) if is_public is not None: - pulumi.set(__self__, "is_public", is_public) + _setter("is_public", is_public) if reserved_ips is not None: - pulumi.set(__self__, "reserved_ips", reserved_ips) + _setter("reserved_ips", reserved_ips) @property @pulumi.getter(name="ipAddress") @@ -1097,18 +1245,21 @@ def reserved_ips(self) -> Optional[Sequence['outputs.LoadBalancerIpAddressDetail class LoadBalancerIpAddressDetailReservedIp(dict): def __init__(__self__, *, id: Optional[str] = None): - """ - :param str id: Ocid of the pre-created public IP. That should be attahed to this load balancer. - """ + LoadBalancerIpAddressDetailReservedIp._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) @property @pulumi.getter def id(self) -> Optional[str]: - """ - Ocid of the pre-created public IP. That should be attahed to this load balancer. - """ return pulumi.get(self, "id") @@ -1116,18 +1267,21 @@ def id(self) -> Optional[str]: class LoadBalancerReservedIp(dict): def __init__(__self__, *, id: Optional[str] = None): - """ - :param str id: Ocid of the pre-created public IP. That should be attahed to this load balancer. - """ + LoadBalancerReservedIp._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) @property @pulumi.getter def id(self) -> Optional[str]: - """ - Ocid of the pre-created public IP. That should be attahed to this load balancer. - """ return pulumi.get(self, "id") @@ -1146,9 +1300,22 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "actions", actions) - pulumi.set(__self__, "condition", condition) - pulumi.set(__self__, "name", name) + LoadBalancerRoutingPolicyRule._configure( + lambda key, value: pulumi.set(__self__, key, value), + actions=actions, + condition=condition, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + actions: Sequence['outputs.LoadBalancerRoutingPolicyRuleAction'], + condition: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("actions", actions) + _setter("condition", condition) + _setter("name", name) @property @pulumi.getter @@ -1209,8 +1376,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "backend_set_name", backend_set_name) - pulumi.set(__self__, "name", name) + LoadBalancerRoutingPolicyRuleAction._configure( + lambda key, value: pulumi.set(__self__, key, value), + backend_set_name=backend_set_name, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backend_set_name: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("backend_set_name", backend_set_name) + _setter("name", name) @property @pulumi.getter(name="backendSetName") @@ -1265,8 +1443,19 @@ def __init__(__self__, *, Example: `1500` :param int minimum_bandwidth_in_mbps: (Updatable) Bandwidth in Mbps that determines the total pre-provisioned bandwidth (ingress plus egress). The values must be between 10 and the maximumBandwidthInMbps. Example: `150` """ - pulumi.set(__self__, "maximum_bandwidth_in_mbps", maximum_bandwidth_in_mbps) - pulumi.set(__self__, "minimum_bandwidth_in_mbps", minimum_bandwidth_in_mbps) + LoadBalancerShapeDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + maximum_bandwidth_in_mbps=maximum_bandwidth_in_mbps, + minimum_bandwidth_in_mbps=minimum_bandwidth_in_mbps, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + maximum_bandwidth_in_mbps: int, + minimum_bandwidth_in_mbps: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("maximum_bandwidth_in_mbps", maximum_bandwidth_in_mbps) + _setter("minimum_bandwidth_in_mbps", minimum_bandwidth_in_mbps) @property @pulumi.getter(name="maximumBandwidthInMbps") @@ -1324,9 +1513,22 @@ def __init__(__self__, *, Example: `/example/video/123` :param 'PathRouteSetPathRoutePathMatchTypeArgs' path_match_type: (Updatable) The type of matching to apply to incoming URIs. """ - pulumi.set(__self__, "backend_set_name", backend_set_name) - pulumi.set(__self__, "path", path) - pulumi.set(__self__, "path_match_type", path_match_type) + PathRouteSetPathRoute._configure( + lambda key, value: pulumi.set(__self__, key, value), + backend_set_name=backend_set_name, + path=path, + path_match_type=path_match_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backend_set_name: str, + path: str, + path_match_type: 'outputs.PathRouteSetPathRoutePathMatchType', + opts: Optional[pulumi.ResourceOptions]=None): + _setter("backend_set_name", backend_set_name) + _setter("path", path) + _setter("path_match_type", path_match_type) @property @pulumi.getter(name="backendSetName") @@ -1392,7 +1594,16 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "match_type", match_type) + PathRouteSetPathRoutePathMatchType._configure( + lambda key, value: pulumi.set(__self__, key, value), + match_type=match_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + match_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("match_type", match_type) @property @pulumi.getter(name="matchType") @@ -1527,31 +1738,64 @@ def __init__(__self__, *, Example: `example_value` """ - pulumi.set(__self__, "action", action) + RuleSetItem._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + allowed_methods=allowed_methods, + are_invalid_characters_allowed=are_invalid_characters_allowed, + conditions=conditions, + description=description, + header=header, + http_large_header_size_in_kb=http_large_header_size_in_kb, + prefix=prefix, + redirect_uri=redirect_uri, + response_code=response_code, + status_code=status_code, + suffix=suffix, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: str, + allowed_methods: Optional[Sequence[str]] = None, + are_invalid_characters_allowed: Optional[bool] = None, + conditions: Optional[Sequence['outputs.RuleSetItemCondition']] = None, + description: Optional[str] = None, + header: Optional[str] = None, + http_large_header_size_in_kb: Optional[int] = None, + prefix: Optional[str] = None, + redirect_uri: Optional['outputs.RuleSetItemRedirectUri'] = None, + response_code: Optional[int] = None, + status_code: Optional[int] = None, + suffix: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) if allowed_methods is not None: - pulumi.set(__self__, "allowed_methods", allowed_methods) + _setter("allowed_methods", allowed_methods) if are_invalid_characters_allowed is not None: - pulumi.set(__self__, "are_invalid_characters_allowed", are_invalid_characters_allowed) + _setter("are_invalid_characters_allowed", are_invalid_characters_allowed) if conditions is not None: - pulumi.set(__self__, "conditions", conditions) + _setter("conditions", conditions) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if header is not None: - pulumi.set(__self__, "header", header) + _setter("header", header) if http_large_header_size_in_kb is not None: - pulumi.set(__self__, "http_large_header_size_in_kb", http_large_header_size_in_kb) + _setter("http_large_header_size_in_kb", http_large_header_size_in_kb) if prefix is not None: - pulumi.set(__self__, "prefix", prefix) + _setter("prefix", prefix) if redirect_uri is not None: - pulumi.set(__self__, "redirect_uri", redirect_uri) + _setter("redirect_uri", redirect_uri) if response_code is not None: - pulumi.set(__self__, "response_code", response_code) + _setter("response_code", response_code) if status_code is not None: - pulumi.set(__self__, "status_code", status_code) + _setter("status_code", status_code) if suffix is not None: - pulumi.set(__self__, "suffix", suffix) + _setter("suffix", suffix) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -1751,10 +1995,23 @@ def __init__(__self__, *, * **PREFIX_MATCH** - The beginning portion of the incoming URI path must exactly match the `attributeValue` string. * **SUFFIX_MATCH** - The ending portion of the incoming URI path must exactly match the `attributeValue` string. """ - pulumi.set(__self__, "attribute_name", attribute_name) - pulumi.set(__self__, "attribute_value", attribute_value) + RuleSetItemCondition._configure( + lambda key, value: pulumi.set(__self__, key, value), + attribute_name=attribute_name, + attribute_value=attribute_value, + operator=operator, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attribute_name: str, + attribute_value: str, + operator: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("attribute_name", attribute_name) + _setter("attribute_value", attribute_value) if operator is not None: - pulumi.set(__self__, "operator", operator) + _setter("operator", operator) @property @pulumi.getter(name="attributeName") @@ -1861,16 +2118,33 @@ def __init__(__self__, *, * **protocol={protocol}&hostname={host}** appears as `protocol=http&hostname=example.com` in the redirect URI if the protocol is `HTTP` and the hostname is `example.com` in the incoming HTTP request. * **port={port}&hostname={host}** appears as `port=8080&hostname=example.com` in the redirect URI if the port is `8080` and the hostname is `example.com` in the incoming HTTP request URI. """ + RuleSetItemRedirectUri._configure( + lambda key, value: pulumi.set(__self__, key, value), + host=host, + path=path, + port=port, + protocol=protocol, + query=query, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host: Optional[str] = None, + path: Optional[str] = None, + port: Optional[int] = None, + protocol: Optional[str] = None, + query: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if host is not None: - pulumi.set(__self__, "host", host) + _setter("host", host) if path is not None: - pulumi.set(__self__, "path", path) + _setter("path", path) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if protocol is not None: - pulumi.set(__self__, "protocol", protocol) + _setter("protocol", protocol) if query is not None: - pulumi.set(__self__, "query", query) + _setter("query", query) @property @pulumi.getter @@ -1984,10 +2258,25 @@ def __init__(__self__, *, :param str subnet_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the subnet hosting the load balancer that reported this health check status. :param str timestamp: The date and time the data was retrieved, in the format defined by RFC3339. Example: `2017-06-02T18:28:11+00:00` """ - pulumi.set(__self__, "health_check_status", health_check_status) - pulumi.set(__self__, "source_ip_address", source_ip_address) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "timestamp", timestamp) + GetBackendHealthHealthCheckResultResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + health_check_status=health_check_status, + source_ip_address=source_ip_address, + subnet_id=subnet_id, + timestamp=timestamp, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + health_check_status: str, + source_ip_address: str, + subnet_id: str, + timestamp: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("health_check_status", health_check_status) + _setter("source_ip_address", source_ip_address) + _setter("subnet_id", subnet_id) + _setter("timestamp", timestamp) @property @pulumi.getter(name="healthCheckStatus") @@ -2044,16 +2333,43 @@ def __init__(__self__, *, :param Sequence['GetBackendSetsBackendsetSessionPersistenceConfigurationArgs'] session_persistence_configurations: The configuration details for implementing session persistence based on a user-specified cookie name (application cookie stickiness). :param Sequence['GetBackendSetsBackendsetSslConfigurationArgs'] ssl_configurations: A listener's SSL handling configuration. """ - pulumi.set(__self__, "backends", backends) - pulumi.set(__self__, "health_checkers", health_checkers) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lb_cookie_session_persistence_configurations", lb_cookie_session_persistence_configurations) - pulumi.set(__self__, "load_balancer_id", load_balancer_id) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "policy", policy) - pulumi.set(__self__, "session_persistence_configurations", session_persistence_configurations) - pulumi.set(__self__, "ssl_configurations", ssl_configurations) - pulumi.set(__self__, "state", state) + GetBackendSetsBackendsetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + backends=backends, + health_checkers=health_checkers, + id=id, + lb_cookie_session_persistence_configurations=lb_cookie_session_persistence_configurations, + load_balancer_id=load_balancer_id, + name=name, + policy=policy, + session_persistence_configurations=session_persistence_configurations, + ssl_configurations=ssl_configurations, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backends: Sequence['outputs.GetBackendSetsBackendsetBackendResult'], + health_checkers: Sequence['outputs.GetBackendSetsBackendsetHealthCheckerResult'], + id: str, + lb_cookie_session_persistence_configurations: Sequence['outputs.GetBackendSetsBackendsetLbCookieSessionPersistenceConfigurationResult'], + load_balancer_id: str, + name: str, + policy: str, + session_persistence_configurations: Sequence['outputs.GetBackendSetsBackendsetSessionPersistenceConfigurationResult'], + ssl_configurations: Sequence['outputs.GetBackendSetsBackendsetSslConfigurationResult'], + state: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("backends", backends) + _setter("health_checkers", health_checkers) + _setter("id", id) + _setter("lb_cookie_session_persistence_configurations", lb_cookie_session_persistence_configurations) + _setter("load_balancer_id", load_balancer_id) + _setter("name", name) + _setter("policy", policy) + _setter("session_persistence_configurations", session_persistence_configurations) + _setter("ssl_configurations", ssl_configurations) + _setter("state", state) @property @pulumi.getter @@ -2146,13 +2462,34 @@ def __init__(__self__, *, :param int port: The backend server port against which to run the health check. If the port is not specified, the load balancer uses the port information from the `Backend` object. Example: `8080` :param int weight: The load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger proportion of incoming traffic. For example, a server weighted '3' receives 3 times the number of new connections as a server weighted '1'. For more information on load balancing policies, see [How Load Balancing Policies Work](https://docs.cloud.oracle.com/iaas/Content/Balance/Reference/lbpolicies.htm). Example: `3` """ - pulumi.set(__self__, "backup", backup) - pulumi.set(__self__, "drain", drain) - pulumi.set(__self__, "ip_address", ip_address) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "offline", offline) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "weight", weight) + GetBackendSetsBackendsetBackendResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + backup=backup, + drain=drain, + ip_address=ip_address, + name=name, + offline=offline, + port=port, + weight=weight, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backup: bool, + drain: bool, + ip_address: str, + name: str, + offline: bool, + port: int, + weight: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("backup", backup) + _setter("drain", drain) + _setter("ip_address", ip_address) + _setter("name", name) + _setter("offline", offline) + _setter("port", port) + _setter("weight", weight) @property @pulumi.getter @@ -2234,15 +2571,40 @@ def __init__(__self__, *, :param int timeout_in_millis: The maximum time, in milliseconds, to wait for a reply to a health check. A health check is successful only if a reply returns within this timeout period. Defaults to 3000 (3 seconds). Example: `3000` :param str url_path: The path against which to run the health check. Example: `/healthcheck` """ - pulumi.set(__self__, "interval_ms", interval_ms) - pulumi.set(__self__, "is_force_plain_text", is_force_plain_text) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "response_body_regex", response_body_regex) - pulumi.set(__self__, "retries", retries) - pulumi.set(__self__, "return_code", return_code) - pulumi.set(__self__, "timeout_in_millis", timeout_in_millis) - pulumi.set(__self__, "url_path", url_path) + GetBackendSetsBackendsetHealthCheckerResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + interval_ms=interval_ms, + is_force_plain_text=is_force_plain_text, + port=port, + protocol=protocol, + response_body_regex=response_body_regex, + retries=retries, + return_code=return_code, + timeout_in_millis=timeout_in_millis, + url_path=url_path, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + interval_ms: int, + is_force_plain_text: bool, + port: int, + protocol: str, + response_body_regex: str, + retries: int, + return_code: int, + timeout_in_millis: int, + url_path: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("interval_ms", interval_ms) + _setter("is_force_plain_text", is_force_plain_text) + _setter("port", port) + _setter("protocol", protocol) + _setter("response_body_regex", response_body_regex) + _setter("retries", retries) + _setter("return_code", return_code) + _setter("timeout_in_millis", timeout_in_millis) + _setter("url_path", url_path) @property @pulumi.getter(name="intervalMs") @@ -2336,13 +2698,34 @@ def __init__(__self__, *, :param int max_age_in_seconds: The amount of time the cookie remains valid. The `Set-cookie` header inserted by the load balancer contains a `Max-Age` attribute with the specified value. :param str path: The path in which the cookie is valid. The `Set-cookie header` inserted by the load balancer contains a `Path` attribute with the specified value. """ - pulumi.set(__self__, "cookie_name", cookie_name) - pulumi.set(__self__, "disable_fallback", disable_fallback) - pulumi.set(__self__, "domain", domain) - pulumi.set(__self__, "is_http_only", is_http_only) - pulumi.set(__self__, "is_secure", is_secure) - pulumi.set(__self__, "max_age_in_seconds", max_age_in_seconds) - pulumi.set(__self__, "path", path) + GetBackendSetsBackendsetLbCookieSessionPersistenceConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cookie_name=cookie_name, + disable_fallback=disable_fallback, + domain=domain, + is_http_only=is_http_only, + is_secure=is_secure, + max_age_in_seconds=max_age_in_seconds, + path=path, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cookie_name: str, + disable_fallback: bool, + domain: str, + is_http_only: bool, + is_secure: bool, + max_age_in_seconds: int, + path: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cookie_name", cookie_name) + _setter("disable_fallback", disable_fallback) + _setter("domain", domain) + _setter("is_http_only", is_http_only) + _setter("is_secure", is_secure) + _setter("max_age_in_seconds", max_age_in_seconds) + _setter("path", path) @property @pulumi.getter(name="cookieName") @@ -2410,8 +2793,19 @@ def __init__(__self__, *, :param str cookie_name: The name of the cookie used to detect a session initiated by the backend server. Use '*' to specify that any cookie set by the backend causes the session to persist. Example: `example_cookie` :param bool disable_fallback: Whether the load balancer is prevented from directing traffic from a persistent session client to a different backend server if the original server is unavailable. Defaults to false. Example: `false` """ - pulumi.set(__self__, "cookie_name", cookie_name) - pulumi.set(__self__, "disable_fallback", disable_fallback) + GetBackendSetsBackendsetSessionPersistenceConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cookie_name=cookie_name, + disable_fallback=disable_fallback, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cookie_name: str, + disable_fallback: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cookie_name", cookie_name) + _setter("disable_fallback", disable_fallback) @property @pulumi.getter(name="cookieName") @@ -2451,14 +2845,37 @@ def __init__(__self__, *, :param int verify_depth: The maximum depth for peer certificate chain verification. Example: `3` :param bool verify_peer_certificate: Whether the load balancer listener should verify peer certificates. Example: `true` """ - pulumi.set(__self__, "certificate_ids", certificate_ids) - pulumi.set(__self__, "certificate_name", certificate_name) - pulumi.set(__self__, "cipher_suite_name", cipher_suite_name) - pulumi.set(__self__, "protocols", protocols) - pulumi.set(__self__, "server_order_preference", server_order_preference) - pulumi.set(__self__, "trusted_certificate_authority_ids", trusted_certificate_authority_ids) - pulumi.set(__self__, "verify_depth", verify_depth) - pulumi.set(__self__, "verify_peer_certificate", verify_peer_certificate) + GetBackendSetsBackendsetSslConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + certificate_ids=certificate_ids, + certificate_name=certificate_name, + cipher_suite_name=cipher_suite_name, + protocols=protocols, + server_order_preference=server_order_preference, + trusted_certificate_authority_ids=trusted_certificate_authority_ids, + verify_depth=verify_depth, + verify_peer_certificate=verify_peer_certificate, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + certificate_ids: Sequence[str], + certificate_name: str, + cipher_suite_name: str, + protocols: Sequence[str], + server_order_preference: str, + trusted_certificate_authority_ids: Sequence[str], + verify_depth: int, + verify_peer_certificate: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("certificate_ids", certificate_ids) + _setter("certificate_name", certificate_name) + _setter("cipher_suite_name", cipher_suite_name) + _setter("protocols", protocols) + _setter("server_order_preference", server_order_preference) + _setter("trusted_certificate_authority_ids", trusted_certificate_authority_ids) + _setter("verify_depth", verify_depth) + _setter("verify_peer_certificate", verify_peer_certificate) @property @pulumi.getter(name="certificateIds") @@ -2534,10 +2951,23 @@ def __init__(__self__, *, """ :param str name: A friendly name for the backend set. It must be unique and it cannot be changed. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetBackendSetsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2582,17 +3012,44 @@ def __init__(__self__, *, :param int weight: The load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger proportion of incoming traffic. For example, a server weighted '3' receives 3 times the number of new connections as a server weighted '1'. For more information on load balancing policies, see [How Load Balancing Policies Work](https://docs.cloud.oracle.com/iaas/Content/Balance/Reference/lbpolicies.htm). Example: `3` :param bool backup: Whether the load balancer should treat this server as a backup unit. If `true`, the load balancer forwards no ingress traffic to this backend server unless all other backend servers not marked as "backup" fail the health check policy. """ - pulumi.set(__self__, "backendset_name", backendset_name) - pulumi.set(__self__, "drain", drain) - pulumi.set(__self__, "ip_address", ip_address) - pulumi.set(__self__, "load_balancer_id", load_balancer_id) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "offline", offline) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "weight", weight) + GetBackendsBackendResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + backendset_name=backendset_name, + drain=drain, + ip_address=ip_address, + load_balancer_id=load_balancer_id, + name=name, + offline=offline, + port=port, + state=state, + weight=weight, + backup=backup, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backendset_name: str, + drain: bool, + ip_address: str, + load_balancer_id: str, + name: str, + offline: bool, + port: int, + state: str, + weight: int, + backup: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("backendset_name", backendset_name) + _setter("drain", drain) + _setter("ip_address", ip_address) + _setter("load_balancer_id", load_balancer_id) + _setter("name", name) + _setter("offline", offline) + _setter("port", port) + _setter("state", state) + _setter("weight", weight) if backup is not None: - pulumi.set(__self__, "backup", backup) + _setter("backup", backup) @property @pulumi.getter(name="backendsetName") @@ -2681,10 +3138,23 @@ def __init__(__self__, *, """ :param str name: A read-only field showing the IP address and port that uniquely identify this backend server in the backend set. Example: `10.0.0.3:8080` """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetBackendsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2721,14 +3191,35 @@ def __init__(__self__, *, :param str load_balancer_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer associated with the certificate bundles to be listed. :param str public_certificate: The public certificate, in PEM format, that you received from your SSL certificate provider. """ - pulumi.set(__self__, "ca_certificate", ca_certificate) - pulumi.set(__self__, "certificate_name", certificate_name) - pulumi.set(__self__, "load_balancer_id", load_balancer_id) - pulumi.set(__self__, "private_key", private_key) - pulumi.set(__self__, "public_certificate", public_certificate) - pulumi.set(__self__, "state", state) + GetCertificatesCertificateResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ca_certificate=ca_certificate, + certificate_name=certificate_name, + load_balancer_id=load_balancer_id, + private_key=private_key, + public_certificate=public_certificate, + state=state, + passphrase=passphrase, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ca_certificate: str, + certificate_name: str, + load_balancer_id: str, + private_key: str, + public_certificate: str, + state: str, + passphrase: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ca_certificate", ca_certificate) + _setter("certificate_name", certificate_name) + _setter("load_balancer_id", load_balancer_id) + _setter("private_key", private_key) + _setter("public_certificate", public_certificate) + _setter("state", state) if passphrase is not None: - pulumi.set(__self__, "passphrase", passphrase) + _setter("passphrase", passphrase) @property @pulumi.getter(name="caCertificate") @@ -2784,10 +3275,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetCertificatesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2814,10 +3318,23 @@ def __init__(__self__, *, """ :param str name: A friendly name for the hostname resource. It must be unique and it cannot be changed. Avoid entering confidential information. Example: `example_hostname_001` """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetHostnamesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2850,10 +3367,25 @@ def __init__(__self__, *, :param str load_balancer_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the load balancer associated with the hostnames to retrieve. :param str name: A friendly name for the hostname resource. It must be unique and it cannot be changed. Avoid entering confidential information. Example: `example_hostname_001` """ - pulumi.set(__self__, "hostname", hostname) - pulumi.set(__self__, "load_balancer_id", load_balancer_id) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "state", state) + GetHostnamesHostnameResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + hostname=hostname, + load_balancer_id=load_balancer_id, + name=name, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hostname: str, + load_balancer_id: str, + name: str, + state: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("hostname", hostname) + _setter("load_balancer_id", load_balancer_id) + _setter("name", name) + _setter("state", state) @property @pulumi.getter @@ -2894,10 +3426,23 @@ def __init__(__self__, *, """ :param str name: The name of the rule set that the rule belongs to. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetListenerRulesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2928,9 +3473,22 @@ def __init__(__self__, *, :param str name: The name of the rule set that the rule belongs to. :param Sequence['GetListenerRulesListenerRuleRuleArgs'] rules: A rule object that applies to the listener. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "rules", rules) - pulumi.set(__self__, "state", state) + GetListenerRulesListenerRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + rules=rules, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + rules: Sequence['outputs.GetListenerRulesListenerRuleRuleResult'], + state: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("rules", rules) + _setter("state", state) @property @pulumi.getter @@ -2990,19 +3548,52 @@ def __init__(__self__, *, * value cannot contain `$` * value cannot contain patterns like `{variable_name}`. They are reserved for future extensions. Currently, such values are invalid. """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "allowed_methods", allowed_methods) - pulumi.set(__self__, "are_invalid_characters_allowed", are_invalid_characters_allowed) - pulumi.set(__self__, "conditions", conditions) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "header", header) - pulumi.set(__self__, "http_large_header_size_in_kb", http_large_header_size_in_kb) - pulumi.set(__self__, "prefix", prefix) - pulumi.set(__self__, "redirect_uris", redirect_uris) - pulumi.set(__self__, "response_code", response_code) - pulumi.set(__self__, "status_code", status_code) - pulumi.set(__self__, "suffix", suffix) - pulumi.set(__self__, "value", value) + GetListenerRulesListenerRuleRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + allowed_methods=allowed_methods, + are_invalid_characters_allowed=are_invalid_characters_allowed, + conditions=conditions, + description=description, + header=header, + http_large_header_size_in_kb=http_large_header_size_in_kb, + prefix=prefix, + redirect_uris=redirect_uris, + response_code=response_code, + status_code=status_code, + suffix=suffix, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: str, + allowed_methods: Sequence[str], + are_invalid_characters_allowed: bool, + conditions: Sequence['outputs.GetListenerRulesListenerRuleRuleConditionResult'], + description: str, + header: str, + http_large_header_size_in_kb: int, + prefix: str, + redirect_uris: Sequence['outputs.GetListenerRulesListenerRuleRuleRedirectUriResult'], + response_code: int, + status_code: int, + suffix: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("allowed_methods", allowed_methods) + _setter("are_invalid_characters_allowed", are_invalid_characters_allowed) + _setter("conditions", conditions) + _setter("description", description) + _setter("header", header) + _setter("http_large_header_size_in_kb", http_large_header_size_in_kb) + _setter("prefix", prefix) + _setter("redirect_uris", redirect_uris) + _setter("response_code", response_code) + _setter("status_code", status_code) + _setter("suffix", suffix) + _setter("value", value) @property @pulumi.getter @@ -3127,9 +3718,22 @@ def __init__(__self__, *, * **PREFIX_MATCH** - The beginning portion of the incoming URI path must exactly match the `attributeValue` string. * **SUFFIX_MATCH** - The ending portion of the incoming URI path must exactly match the `attributeValue` string. """ - pulumi.set(__self__, "attribute_name", attribute_name) - pulumi.set(__self__, "attribute_value", attribute_value) - pulumi.set(__self__, "operator", operator) + GetListenerRulesListenerRuleRuleConditionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + attribute_name=attribute_name, + attribute_value=attribute_value, + operator=operator, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attribute_name: str, + attribute_value: str, + operator: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("attribute_name", attribute_name) + _setter("attribute_value", attribute_value) + _setter("operator", operator) @property @pulumi.getter(name="attributeName") @@ -3175,11 +3779,28 @@ def __init__(__self__, *, :param str protocol: The HTTP protocol to use in the redirect URI. :param str query: The query string to use in the redirect URI. """ - pulumi.set(__self__, "host", host) - pulumi.set(__self__, "path", path) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "query", query) + GetListenerRulesListenerRuleRuleRedirectUriResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + host=host, + path=path, + port=port, + protocol=protocol, + query=query, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host: str, + path: str, + port: int, + protocol: str, + query: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("host", host) + _setter("path", path) + _setter("port", port) + _setter("protocol", protocol) + _setter("query", query) @property @pulumi.getter @@ -3231,10 +3852,23 @@ def __init__(__self__, *, """ :param str name: A unique name for the routing policy rule. Avoid entering confidential information. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetLoadBalancerRoutingPoliciesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3269,11 +3903,28 @@ def __init__(__self__, *, :param str name: A unique name for the routing policy rule. Avoid entering confidential information. :param Sequence['GetLoadBalancerRoutingPoliciesRoutingPolicyRuleArgs'] rules: The ordered list of routing rules. """ - pulumi.set(__self__, "condition_language_version", condition_language_version) - pulumi.set(__self__, "load_balancer_id", load_balancer_id) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "rules", rules) - pulumi.set(__self__, "state", state) + GetLoadBalancerRoutingPoliciesRoutingPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + condition_language_version=condition_language_version, + load_balancer_id=load_balancer_id, + name=name, + rules=rules, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + condition_language_version: str, + load_balancer_id: str, + name: str, + rules: Sequence['outputs.GetLoadBalancerRoutingPoliciesRoutingPolicyRuleResult'], + state: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("condition_language_version", condition_language_version) + _setter("load_balancer_id", load_balancer_id) + _setter("name", name) + _setter("rules", rules) + _setter("state", state) @property @pulumi.getter(name="conditionLanguageVersion") @@ -3324,9 +3975,22 @@ def __init__(__self__, *, :param str condition: A routing rule to evaluate defined conditions against the incoming HTTP request and perform an action. :param str name: A unique name for the routing policy rule. Avoid entering confidential information. """ - pulumi.set(__self__, "actions", actions) - pulumi.set(__self__, "condition", condition) - pulumi.set(__self__, "name", name) + GetLoadBalancerRoutingPoliciesRoutingPolicyRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + actions=actions, + condition=condition, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + actions: Sequence['outputs.GetLoadBalancerRoutingPoliciesRoutingPolicyRuleActionResult'], + condition: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("actions", actions) + _setter("condition", condition) + _setter("name", name) @property @pulumi.getter @@ -3362,8 +4026,19 @@ def __init__(__self__, *, :param str backend_set_name: Name of the backend set the listener will forward the traffic to. Example: `backendSetForImages` :param str name: A unique name for the routing policy rule. Avoid entering confidential information. """ - pulumi.set(__self__, "backend_set_name", backend_set_name) - pulumi.set(__self__, "name", name) + GetLoadBalancerRoutingPoliciesRoutingPolicyRuleActionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + backend_set_name=backend_set_name, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backend_set_name: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("backend_set_name", backend_set_name) + _setter("name", name) @property @pulumi.getter(name="backendSetName") @@ -3393,9 +4068,22 @@ def __init__(__self__, *, :param str condition: A routing rule to evaluate defined conditions against the incoming HTTP request and perform an action. :param str name: A unique name for the routing policy rule. Avoid entering confidential information. """ - pulumi.set(__self__, "actions", actions) - pulumi.set(__self__, "condition", condition) - pulumi.set(__self__, "name", name) + GetLoadBalancerRoutingPolicyRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + actions=actions, + condition=condition, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + actions: Sequence['outputs.GetLoadBalancerRoutingPolicyRuleActionResult'], + condition: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("actions", actions) + _setter("condition", condition) + _setter("name", name) @property @pulumi.getter @@ -3431,8 +4119,19 @@ def __init__(__self__, *, :param str backend_set_name: Name of the backend set the listener will forward the traffic to. Example: `backendSetForImages` :param str name: A unique name for the routing policy rule. Avoid entering confidential information. """ - pulumi.set(__self__, "backend_set_name", backend_set_name) - pulumi.set(__self__, "name", name) + GetLoadBalancerRoutingPolicyRuleActionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + backend_set_name=backend_set_name, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backend_set_name: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("backend_set_name", backend_set_name) + _setter("name", name) @property @pulumi.getter(name="backendSetName") @@ -3460,10 +4159,23 @@ def __init__(__self__, *, """ :param str name: A unique name for the routing policy rule. Avoid entering confidential information. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetLoadBalancersFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3521,23 +4233,64 @@ def __init__(__self__, *, :param Mapping[str, Any] system_tags: System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). System tags can be viewed by users, but can only be created by the system. Example: `{"orcl-cloud.free-tier-retained": "true"}` :param str time_created: The date and time the load balancer was created, in the format defined by RFC3339. Example: `2016-08-25T21:10:29.600Z` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "ip_address_details", ip_address_details) - pulumi.set(__self__, "ip_addresses", ip_addresses) - pulumi.set(__self__, "ip_mode", ip_mode) - pulumi.set(__self__, "is_private", is_private) - pulumi.set(__self__, "network_security_group_ids", network_security_group_ids) - pulumi.set(__self__, "reserved_ips", reserved_ips) - pulumi.set(__self__, "shape", shape) - pulumi.set(__self__, "shape_details", shape_details) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "subnet_ids", subnet_ids) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) + GetLoadBalancersLoadBalancerResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + ip_address_details=ip_address_details, + ip_addresses=ip_addresses, + ip_mode=ip_mode, + is_private=is_private, + network_security_group_ids=network_security_group_ids, + reserved_ips=reserved_ips, + shape=shape, + shape_details=shape_details, + state=state, + subnet_ids=subnet_ids, + system_tags=system_tags, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + ip_address_details: Sequence['outputs.GetLoadBalancersLoadBalancerIpAddressDetailResult'], + ip_addresses: Sequence[str], + ip_mode: str, + is_private: bool, + network_security_group_ids: Sequence[str], + reserved_ips: Sequence['outputs.GetLoadBalancersLoadBalancerReservedIpResult'], + shape: str, + shape_details: Sequence['outputs.GetLoadBalancersLoadBalancerShapeDetailResult'], + state: str, + subnet_ids: Sequence[str], + system_tags: Mapping[str, Any], + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("ip_address_details", ip_address_details) + _setter("ip_addresses", ip_addresses) + _setter("ip_mode", ip_mode) + _setter("is_private", is_private) + _setter("network_security_group_ids", network_security_group_ids) + _setter("reserved_ips", reserved_ips) + _setter("shape", shape) + _setter("shape_details", shape_details) + _setter("state", state) + _setter("subnet_ids", subnet_ids) + _setter("system_tags", system_tags) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -3684,9 +4437,22 @@ def __init__(__self__, *, :param bool is_public: Whether the IP address is public or private. :param Sequence['GetLoadBalancersLoadBalancerIpAddressDetailReservedIpArgs'] reserved_ips: Pre-created public IP that will be used as the IP of this load balancer. This reserved IP will not be deleted when load balancer is deleted. This ip should not be already mapped to any other resource. """ - pulumi.set(__self__, "ip_address", ip_address) - pulumi.set(__self__, "is_public", is_public) - pulumi.set(__self__, "reserved_ips", reserved_ips) + GetLoadBalancersLoadBalancerIpAddressDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ip_address=ip_address, + is_public=is_public, + reserved_ips=reserved_ips, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ip_address: str, + is_public: bool, + reserved_ips: Sequence['outputs.GetLoadBalancersLoadBalancerIpAddressDetailReservedIpResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ip_address", ip_address) + _setter("is_public", is_public) + _setter("reserved_ips", reserved_ips) @property @pulumi.getter(name="ipAddress") @@ -3720,7 +4486,16 @@ def __init__(__self__, *, """ :param str id: Ocid of the pre-created public IP. That should be attahed to this load balancer. """ - pulumi.set(__self__, "id", id) + GetLoadBalancersLoadBalancerIpAddressDetailReservedIpResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) @property @pulumi.getter @@ -3738,7 +4513,16 @@ def __init__(__self__, *, """ :param str id: Ocid of the pre-created public IP. That should be attahed to this load balancer. """ - pulumi.set(__self__, "id", id) + GetLoadBalancersLoadBalancerReservedIpResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) @property @pulumi.getter @@ -3758,8 +4542,19 @@ def __init__(__self__, *, :param int maximum_bandwidth_in_mbps: Bandwidth in Mbps that determines the maximum bandwidth (ingress plus egress) that the load balancer can achieve. This bandwidth cannot be always guaranteed. For a guaranteed bandwidth use the minimumBandwidthInMbps parameter. :param int minimum_bandwidth_in_mbps: Bandwidth in Mbps that determines the total pre-provisioned bandwidth (ingress plus egress). The values must be between 0 and the maximumBandwidthInMbps in multiples of 10. The current allowed maximum value is defined in [Service Limits](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). Example: `150` """ - pulumi.set(__self__, "maximum_bandwidth_in_mbps", maximum_bandwidth_in_mbps) - pulumi.set(__self__, "minimum_bandwidth_in_mbps", minimum_bandwidth_in_mbps) + GetLoadBalancersLoadBalancerShapeDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + maximum_bandwidth_in_mbps=maximum_bandwidth_in_mbps, + minimum_bandwidth_in_mbps=minimum_bandwidth_in_mbps, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + maximum_bandwidth_in_mbps: int, + minimum_bandwidth_in_mbps: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("maximum_bandwidth_in_mbps", maximum_bandwidth_in_mbps) + _setter("minimum_bandwidth_in_mbps", minimum_bandwidth_in_mbps) @property @pulumi.getter(name="maximumBandwidthInMbps") @@ -3787,10 +4582,23 @@ def __init__(__self__, *, """ :param str name: The unique name for this set of path route rules. Avoid entering confidential information. Example: `example_path_route_set` """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetPathRouteSetsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3823,10 +4631,25 @@ def __init__(__self__, *, :param str name: The unique name for this set of path route rules. Avoid entering confidential information. Example: `example_path_route_set` :param Sequence['GetPathRouteSetsPathRouteSetPathRouteArgs'] path_routes: The set of path route rules. """ - pulumi.set(__self__, "load_balancer_id", load_balancer_id) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "path_routes", path_routes) - pulumi.set(__self__, "state", state) + GetPathRouteSetsPathRouteSetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + load_balancer_id=load_balancer_id, + name=name, + path_routes=path_routes, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + load_balancer_id: str, + name: str, + path_routes: Sequence['outputs.GetPathRouteSetsPathRouteSetPathRouteResult'], + state: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("load_balancer_id", load_balancer_id) + _setter("name", name) + _setter("path_routes", path_routes) + _setter("state", state) @property @pulumi.getter(name="loadBalancerId") @@ -3872,9 +4695,22 @@ def __init__(__self__, *, * Regular expressions are not supported. :param 'GetPathRouteSetsPathRouteSetPathRoutePathMatchTypeArgs' path_match_type: The type of matching to apply to incoming URIs. """ - pulumi.set(__self__, "backend_set_name", backend_set_name) - pulumi.set(__self__, "path", path) - pulumi.set(__self__, "path_match_type", path_match_type) + GetPathRouteSetsPathRouteSetPathRouteResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + backend_set_name=backend_set_name, + path=path, + path_match_type=path_match_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backend_set_name: str, + path: str, + path_match_type: 'outputs.GetPathRouteSetsPathRouteSetPathRoutePathMatchTypeResult', + opts: Optional[pulumi.ResourceOptions]=None): + _setter("backend_set_name", backend_set_name) + _setter("path", path) + _setter("path_match_type", path_match_type) @property @pulumi.getter(name="backendSetName") @@ -3915,7 +4751,16 @@ def __init__(__self__, *, * **PREFIX_MATCH** - Looks for a `path` string that matches the beginning portion of the incoming URI path. * **SUFFIX_MATCH** - Looks for a `path` string that matches the ending portion of the incoming URI path. """ - pulumi.set(__self__, "match_type", match_type) + GetPathRouteSetsPathRouteSetPathRoutePathMatchTypeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + match_type=match_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + match_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("match_type", match_type) @property @pulumi.getter(name="matchType") @@ -3939,10 +4784,23 @@ def __init__(__self__, *, """ :param str name: The name of a load balancing policy. Example: 'LEAST_CONNECTIONS' """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetPoliciesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3970,7 +4828,16 @@ def __init__(__self__, *, """ :param str name: The name of a load balancing policy. Example: 'LEAST_CONNECTIONS' """ - pulumi.set(__self__, "name", name) + GetPoliciesPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -3990,10 +4857,23 @@ def __init__(__self__, *, """ :param str name: The name of a protocol. Example: 'HTTP' """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetProtocolsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4021,7 +4901,16 @@ def __init__(__self__, *, """ :param str name: The name of a protocol. Example: 'HTTP' """ - pulumi.set(__self__, "name", name) + GetProtocolsProtocolResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -4068,19 +4957,52 @@ def __init__(__self__, *, * value cannot contain `$` * value cannot contain patterns like `{variable_name}`. They are reserved for future extensions. Currently, such values are invalid. """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "allowed_methods", allowed_methods) - pulumi.set(__self__, "are_invalid_characters_allowed", are_invalid_characters_allowed) - pulumi.set(__self__, "conditions", conditions) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "header", header) - pulumi.set(__self__, "http_large_header_size_in_kb", http_large_header_size_in_kb) - pulumi.set(__self__, "prefix", prefix) - pulumi.set(__self__, "redirect_uris", redirect_uris) - pulumi.set(__self__, "response_code", response_code) - pulumi.set(__self__, "status_code", status_code) - pulumi.set(__self__, "suffix", suffix) - pulumi.set(__self__, "value", value) + GetRuleSetItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + allowed_methods=allowed_methods, + are_invalid_characters_allowed=are_invalid_characters_allowed, + conditions=conditions, + description=description, + header=header, + http_large_header_size_in_kb=http_large_header_size_in_kb, + prefix=prefix, + redirect_uris=redirect_uris, + response_code=response_code, + status_code=status_code, + suffix=suffix, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: str, + allowed_methods: Sequence[str], + are_invalid_characters_allowed: bool, + conditions: Sequence['outputs.GetRuleSetItemConditionResult'], + description: str, + header: str, + http_large_header_size_in_kb: int, + prefix: str, + redirect_uris: Sequence['outputs.GetRuleSetItemRedirectUriResult'], + response_code: int, + status_code: int, + suffix: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("allowed_methods", allowed_methods) + _setter("are_invalid_characters_allowed", are_invalid_characters_allowed) + _setter("conditions", conditions) + _setter("description", description) + _setter("header", header) + _setter("http_large_header_size_in_kb", http_large_header_size_in_kb) + _setter("prefix", prefix) + _setter("redirect_uris", redirect_uris) + _setter("response_code", response_code) + _setter("status_code", status_code) + _setter("suffix", suffix) + _setter("value", value) @property @pulumi.getter @@ -4208,9 +5130,22 @@ def __init__(__self__, *, * **PREFIX_MATCH** - The beginning portion of the incoming URI path must exactly match the `attributeValue` string. * **SUFFIX_MATCH** - The ending portion of the incoming URI path must exactly match the `attributeValue` string. """ - pulumi.set(__self__, "attribute_name", attribute_name) - pulumi.set(__self__, "attribute_value", attribute_value) - pulumi.set(__self__, "operator", operator) + GetRuleSetItemConditionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + attribute_name=attribute_name, + attribute_value=attribute_value, + operator=operator, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attribute_name: str, + attribute_value: str, + operator: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("attribute_name", attribute_name) + _setter("attribute_value", attribute_value) + _setter("operator", operator) @property @pulumi.getter(name="attributeName") @@ -4259,11 +5194,28 @@ def __init__(__self__, *, :param str protocol: The HTTP protocol to use in the redirect URI. :param str query: The query string to use in the redirect URI. """ - pulumi.set(__self__, "host", host) - pulumi.set(__self__, "path", path) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "query", query) + GetRuleSetItemRedirectUriResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + host=host, + path=path, + port=port, + protocol=protocol, + query=query, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host: str, + path: str, + port: int, + protocol: str, + query: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("host", host) + _setter("path", path) + _setter("port", port) + _setter("protocol", protocol) + _setter("query", query) @property @pulumi.getter @@ -4315,10 +5267,23 @@ def __init__(__self__, *, """ :param str name: The name for this set of rules. It must be unique and it cannot be changed. Avoid entering confidential information. Example: `example_rule_set` """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetRuleSetsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4352,11 +5317,28 @@ def __init__(__self__, *, :param str load_balancer_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the specified load balancer. :param str name: The name for this set of rules. It must be unique and it cannot be changed. Avoid entering confidential information. Example: `example_rule_set` """ - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "items", items) - pulumi.set(__self__, "load_balancer_id", load_balancer_id) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "state", state) + GetRuleSetsRuleSetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + items=items, + load_balancer_id=load_balancer_id, + name=name, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: str, + items: Sequence['outputs.GetRuleSetsRuleSetItemResult'], + load_balancer_id: str, + name: str, + state: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) + _setter("items", items) + _setter("load_balancer_id", load_balancer_id) + _setter("name", name) + _setter("state", state) @property @pulumi.getter @@ -4429,19 +5411,52 @@ def __init__(__self__, *, * value cannot contain `$` * value cannot contain patterns like `{variable_name}`. They are reserved for future extensions. Currently, such values are invalid. """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "allowed_methods", allowed_methods) - pulumi.set(__self__, "are_invalid_characters_allowed", are_invalid_characters_allowed) - pulumi.set(__self__, "conditions", conditions) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "header", header) - pulumi.set(__self__, "http_large_header_size_in_kb", http_large_header_size_in_kb) - pulumi.set(__self__, "prefix", prefix) - pulumi.set(__self__, "redirect_uris", redirect_uris) - pulumi.set(__self__, "response_code", response_code) - pulumi.set(__self__, "status_code", status_code) - pulumi.set(__self__, "suffix", suffix) - pulumi.set(__self__, "value", value) + GetRuleSetsRuleSetItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + allowed_methods=allowed_methods, + are_invalid_characters_allowed=are_invalid_characters_allowed, + conditions=conditions, + description=description, + header=header, + http_large_header_size_in_kb=http_large_header_size_in_kb, + prefix=prefix, + redirect_uris=redirect_uris, + response_code=response_code, + status_code=status_code, + suffix=suffix, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: str, + allowed_methods: Sequence[str], + are_invalid_characters_allowed: bool, + conditions: Sequence['outputs.GetRuleSetsRuleSetItemConditionResult'], + description: str, + header: str, + http_large_header_size_in_kb: int, + prefix: str, + redirect_uris: Sequence['outputs.GetRuleSetsRuleSetItemRedirectUriResult'], + response_code: int, + status_code: int, + suffix: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("allowed_methods", allowed_methods) + _setter("are_invalid_characters_allowed", are_invalid_characters_allowed) + _setter("conditions", conditions) + _setter("description", description) + _setter("header", header) + _setter("http_large_header_size_in_kb", http_large_header_size_in_kb) + _setter("prefix", prefix) + _setter("redirect_uris", redirect_uris) + _setter("response_code", response_code) + _setter("status_code", status_code) + _setter("suffix", suffix) + _setter("value", value) @property @pulumi.getter @@ -4569,9 +5584,22 @@ def __init__(__self__, *, * **PREFIX_MATCH** - The beginning portion of the incoming URI path must exactly match the `attributeValue` string. * **SUFFIX_MATCH** - The ending portion of the incoming URI path must exactly match the `attributeValue` string. """ - pulumi.set(__self__, "attribute_name", attribute_name) - pulumi.set(__self__, "attribute_value", attribute_value) - pulumi.set(__self__, "operator", operator) + GetRuleSetsRuleSetItemConditionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + attribute_name=attribute_name, + attribute_value=attribute_value, + operator=operator, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attribute_name: str, + attribute_value: str, + operator: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("attribute_name", attribute_name) + _setter("attribute_value", attribute_value) + _setter("operator", operator) @property @pulumi.getter(name="attributeName") @@ -4620,11 +5648,28 @@ def __init__(__self__, *, :param str protocol: The HTTP protocol to use in the redirect URI. :param str query: The query string to use in the redirect URI. """ - pulumi.set(__self__, "host", host) - pulumi.set(__self__, "path", path) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "query", query) + GetRuleSetsRuleSetItemRedirectUriResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + host=host, + path=path, + port=port, + protocol=protocol, + query=query, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host: str, + path: str, + port: int, + protocol: str, + query: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("host", host) + _setter("path", path) + _setter("port", port) + _setter("protocol", protocol) + _setter("query", query) @property @pulumi.getter @@ -4676,10 +5721,23 @@ def __init__(__self__, *, """ :param str name: The name of the shape. Example: `100Mbps` """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetShapesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4707,7 +5765,16 @@ def __init__(__self__, *, """ :param str name: The name of the shape. Example: `100Mbps` """ - pulumi.set(__self__, "name", name) + GetShapesShapeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -4727,10 +5794,23 @@ def __init__(__self__, *, """ :param str name: A friendly name for the SSL cipher suite. It must be unique and it cannot be changed. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSslCipherSuitesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4763,10 +5843,25 @@ def __init__(__self__, *, :param str load_balancer_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated load balancer. :param str name: A friendly name for the SSL cipher suite. It must be unique and it cannot be changed. """ - pulumi.set(__self__, "ciphers", ciphers) - pulumi.set(__self__, "load_balancer_id", load_balancer_id) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "state", state) + GetSslCipherSuitesSslCipherSuiteResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ciphers=ciphers, + load_balancer_id=load_balancer_id, + name=name, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ciphers: Sequence[str], + load_balancer_id: str, + name: str, + state: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ciphers", ciphers) + _setter("load_balancer_id", load_balancer_id) + _setter("name", name) + _setter("state", state) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/loadbalancer/path_route_set.py b/sdk/python/pulumi_oci/loadbalancer/path_route_set.py index ee539cd84e..7e6ea90c01 100644 --- a/sdk/python/pulumi_oci/loadbalancer/path_route_set.py +++ b/sdk/python/pulumi_oci/loadbalancer/path_route_set.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -25,10 +25,23 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['PathRouteSetPathRouteArgs']]] path_routes: (Updatable) The set of path route rules. :param pulumi.Input[str] name: The name for this set of path route rules. It must be unique and it cannot be changed. Avoid entering confidential information. Example: `example_path_route_set` """ - pulumi.set(__self__, "load_balancer_id", load_balancer_id) - pulumi.set(__self__, "path_routes", path_routes) + PathRouteSetArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + load_balancer_id=load_balancer_id, + path_routes=path_routes, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + load_balancer_id: pulumi.Input[str], + path_routes: pulumi.Input[Sequence[pulumi.Input['PathRouteSetPathRouteArgs']]], + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("load_balancer_id", load_balancer_id) + _setter("path_routes", path_routes) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter(name="loadBalancerId") @@ -80,14 +93,29 @@ def __init__(__self__, *, :param pulumi.Input[str] name: The name for this set of path route rules. It must be unique and it cannot be changed. Avoid entering confidential information. Example: `example_path_route_set` :param pulumi.Input[Sequence[pulumi.Input['PathRouteSetPathRouteArgs']]] path_routes: (Updatable) The set of path route rules. """ + _PathRouteSetState._configure( + lambda key, value: pulumi.set(__self__, key, value), + load_balancer_id=load_balancer_id, + name=name, + path_routes=path_routes, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + load_balancer_id: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + path_routes: Optional[pulumi.Input[Sequence[pulumi.Input['PathRouteSetPathRouteArgs']]]] = None, + state: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if load_balancer_id is not None: - pulumi.set(__self__, "load_balancer_id", load_balancer_id) + _setter("load_balancer_id", load_balancer_id) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if path_routes is not None: - pulumi.set(__self__, "path_routes", path_routes) + _setter("path_routes", path_routes) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) @property @pulumi.getter(name="loadBalancerId") @@ -228,6 +256,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + PathRouteSetArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/loadbalancer/rule_set.py b/sdk/python/pulumi_oci/loadbalancer/rule_set.py index 0e19632102..9e74e3b4c9 100644 --- a/sdk/python/pulumi_oci/loadbalancer/rule_set.py +++ b/sdk/python/pulumi_oci/loadbalancer/rule_set.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -29,10 +29,23 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "items", items) - pulumi.set(__self__, "load_balancer_id", load_balancer_id) + RuleSetArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + load_balancer_id=load_balancer_id, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: pulumi.Input[Sequence[pulumi.Input['RuleSetItemArgs']]], + load_balancer_id: pulumi.Input[str], + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) + _setter("load_balancer_id", load_balancer_id) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -92,14 +105,29 @@ def __init__(__self__, *, ** 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 """ + _RuleSetState._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + load_balancer_id=load_balancer_id, + name=name, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Optional[pulumi.Input[Sequence[pulumi.Input['RuleSetItemArgs']]]] = None, + load_balancer_id: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) if load_balancer_id is not None: - pulumi.set(__self__, "load_balancer_id", load_balancer_id) + _setter("load_balancer_id", load_balancer_id) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) @property @pulumi.getter @@ -284,6 +312,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + RuleSetArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/loadbalancer/ssl_cipher_suite.py b/sdk/python/pulumi_oci/loadbalancer/ssl_cipher_suite.py index 3b454a8b9a..37e6613473 100644 --- a/sdk/python/pulumi_oci/loadbalancer/ssl_cipher_suite.py +++ b/sdk/python/pulumi_oci/loadbalancer/ssl_cipher_suite.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['SslCipherSuiteArgs', 'SslCipherSuite'] @@ -19,7 +19,6 @@ def __init__(__self__, *, name: Optional[pulumi.Input[str]] = None): """ The set of arguments for constructing a SslCipherSuite resource. - :param pulumi.Input[Sequence[pulumi.Input[str]]] ciphers: A list of SSL ciphers the load balancer must support for HTTPS or SSL connections. :param pulumi.Input[str] load_balancer_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated load balancer. :param pulumi.Input[str] name: A friendly name for the SSL cipher suite. It must be unique and it cannot be changed. @@ -36,17 +35,27 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "ciphers", ciphers) - pulumi.set(__self__, "load_balancer_id", load_balancer_id) + SslCipherSuiteArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + ciphers=ciphers, + load_balancer_id=load_balancer_id, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ciphers: pulumi.Input[Sequence[pulumi.Input[str]]], + load_balancer_id: pulumi.Input[str], + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ciphers", ciphers) + _setter("load_balancer_id", load_balancer_id) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter def ciphers(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]: - """ - A list of SSL ciphers the load balancer must support for HTTPS or SSL connections. - """ return pulumi.get(self, "ciphers") @ciphers.setter @@ -100,7 +109,6 @@ def __init__(__self__, *, state: Optional[pulumi.Input[str]] = None): """ Input properties used for looking up and filtering SslCipherSuite resources. - :param pulumi.Input[Sequence[pulumi.Input[str]]] ciphers: A list of SSL ciphers the load balancer must support for HTTPS or SSL connections. :param pulumi.Input[str] load_balancer_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated load balancer. :param pulumi.Input[str] name: A friendly name for the SSL cipher suite. It must be unique and it cannot be changed. @@ -117,21 +125,33 @@ def __init__(__self__, *, ** 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 """ + _SslCipherSuiteState._configure( + lambda key, value: pulumi.set(__self__, key, value), + ciphers=ciphers, + load_balancer_id=load_balancer_id, + name=name, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ciphers: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + load_balancer_id: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ciphers is not None: - pulumi.set(__self__, "ciphers", ciphers) + _setter("ciphers", ciphers) if load_balancer_id is not None: - pulumi.set(__self__, "load_balancer_id", load_balancer_id) + _setter("load_balancer_id", load_balancer_id) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) @property @pulumi.getter def ciphers(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: - """ - A list of SSL ciphers the load balancer must support for HTTPS or SSL connections. - """ return pulumi.get(self, "ciphers") @ciphers.setter @@ -220,7 +240,6 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[Sequence[pulumi.Input[str]]] ciphers: A list of SSL ciphers the load balancer must support for HTTPS or SSL connections. :param pulumi.Input[str] load_balancer_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated load balancer. :param pulumi.Input[str] name: A friendly name for the SSL cipher suite. It must be unique and it cannot be changed. @@ -277,6 +296,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + SslCipherSuiteArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -323,7 +346,6 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[Sequence[pulumi.Input[str]]] ciphers: A list of SSL ciphers the load balancer must support for HTTPS or SSL connections. :param pulumi.Input[str] load_balancer_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the associated load balancer. :param pulumi.Input[str] name: A friendly name for the SSL cipher suite. It must be unique and it cannot be changed. @@ -353,9 +375,6 @@ def get(resource_name: str, @property @pulumi.getter def ciphers(self) -> pulumi.Output[Sequence[str]]: - """ - A list of SSL ciphers the load balancer must support for HTTPS or SSL connections. - """ return pulumi.get(self, "ciphers") @property diff --git a/sdk/python/pulumi_oci/loganalytics/_inputs.py b/sdk/python/pulumi_oci/loganalytics/_inputs.py index 716976caed..eab54175db 100644 --- a/sdk/python/pulumi_oci/loganalytics/_inputs.py +++ b/sdk/python/pulumi_oci/loganalytics/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -55,24 +55,49 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] updated_parser_names: An array of updated parser names. :param pulumi.Input[Sequence[pulumi.Input[str]]] updated_source_names: An array of updated source names. """ + LogAnalyticsImportCustomContentChangeListArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + conflict_field_display_names=conflict_field_display_names, + conflict_parser_names=conflict_parser_names, + conflict_source_names=conflict_source_names, + created_field_display_names=created_field_display_names, + created_parser_names=created_parser_names, + created_source_names=created_source_names, + updated_field_display_names=updated_field_display_names, + updated_parser_names=updated_parser_names, + updated_source_names=updated_source_names, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + conflict_field_display_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + conflict_parser_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + conflict_source_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + created_field_display_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + created_parser_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + created_source_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + updated_field_display_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + updated_parser_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + updated_source_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if conflict_field_display_names is not None: - pulumi.set(__self__, "conflict_field_display_names", conflict_field_display_names) + _setter("conflict_field_display_names", conflict_field_display_names) if conflict_parser_names is not None: - pulumi.set(__self__, "conflict_parser_names", conflict_parser_names) + _setter("conflict_parser_names", conflict_parser_names) if conflict_source_names is not None: - pulumi.set(__self__, "conflict_source_names", conflict_source_names) + _setter("conflict_source_names", conflict_source_names) if created_field_display_names is not None: - pulumi.set(__self__, "created_field_display_names", created_field_display_names) + _setter("created_field_display_names", created_field_display_names) if created_parser_names is not None: - pulumi.set(__self__, "created_parser_names", created_parser_names) + _setter("created_parser_names", created_parser_names) if created_source_names is not None: - pulumi.set(__self__, "created_source_names", created_source_names) + _setter("created_source_names", created_source_names) if updated_field_display_names is not None: - pulumi.set(__self__, "updated_field_display_names", updated_field_display_names) + _setter("updated_field_display_names", updated_field_display_names) if updated_parser_names is not None: - pulumi.set(__self__, "updated_parser_names", updated_parser_names) + _setter("updated_parser_names", updated_parser_names) if updated_source_names is not None: - pulumi.set(__self__, "updated_source_names", updated_source_names) + _setter("updated_source_names", updated_source_names) @property @pulumi.getter(name="conflictFieldDisplayNames") @@ -190,14 +215,29 @@ def __init__(__self__, *, match_value: Optional[pulumi.Input[str]] = None, property_name: Optional[pulumi.Input[str]] = None, property_value: Optional[pulumi.Input[str]] = None): + LogAnalyticsObjectCollectionRuleOverrideArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + match_type=match_type, + match_value=match_value, + property_name=property_name, + property_value=property_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + match_type: Optional[pulumi.Input[str]] = None, + match_value: Optional[pulumi.Input[str]] = None, + property_name: Optional[pulumi.Input[str]] = None, + property_value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if match_type is not None: - pulumi.set(__self__, "match_type", match_type) + _setter("match_type", match_type) if match_value is not None: - pulumi.set(__self__, "match_value", match_value) + _setter("match_value", match_value) if property_name is not None: - pulumi.set(__self__, "property_name", property_name) + _setter("property_name", property_name) if property_value is not None: - pulumi.set(__self__, "property_value", property_value) + _setter("property_value", property_value) @property @pulumi.getter(name="matchType") @@ -245,10 +285,21 @@ def __init__(__self__, *, :param pulumi.Input[str] name: The preference name. :param pulumi.Input[str] value: The preference value. """ + LogAnalyticsPreferencesManagementItemArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -296,14 +347,33 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] dimensions: (Updatable) Additional dimensions to publish for the extracted metric. A valid list contains the source field names whose values are to be published as dimensions. The source name itself is specified using a special macro SOURCE_NAME :param pulumi.Input[str] resource_group: (Updatable) The resourceGroup of the extracted metric. A valid value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($). """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "metric_name", metric_name) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "type", type) + NamespaceIngestTimeRuleActionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + metric_name=metric_name, + namespace=namespace, + type=type, + dimensions=dimensions, + resource_group=resource_group, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + metric_name: pulumi.Input[str], + namespace: pulumi.Input[str], + type: pulumi.Input[str], + dimensions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + resource_group: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("metric_name", metric_name) + _setter("namespace", namespace) + _setter("type", type) if dimensions is not None: - pulumi.set(__self__, "dimensions", dimensions) + _setter("dimensions", dimensions) if resource_group is not None: - pulumi.set(__self__, "resource_group", resource_group) + _setter("resource_group", resource_group) @property @pulumi.getter(name="compartmentId") @@ -397,12 +467,29 @@ def __init__(__self__, *, :param pulumi.Input[str] kind: (Updatable) Discriminator. :param pulumi.Input[Sequence[pulumi.Input['NamespaceIngestTimeRuleConditionsAdditionalConditionArgs']]] additional_conditions: (Updatable) Optional additional condition(s) to be evaluated. """ - pulumi.set(__self__, "field_name", field_name) - pulumi.set(__self__, "field_operator", field_operator) - pulumi.set(__self__, "field_value", field_value) - pulumi.set(__self__, "kind", kind) + NamespaceIngestTimeRuleConditionsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + field_name=field_name, + field_operator=field_operator, + field_value=field_value, + kind=kind, + additional_conditions=additional_conditions, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + field_name: pulumi.Input[str], + field_operator: pulumi.Input[str], + field_value: pulumi.Input[str], + kind: pulumi.Input[str], + additional_conditions: Optional[pulumi.Input[Sequence[pulumi.Input['NamespaceIngestTimeRuleConditionsAdditionalConditionArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("field_name", field_name) + _setter("field_operator", field_operator) + _setter("field_value", field_value) + _setter("kind", kind) if additional_conditions is not None: - pulumi.set(__self__, "additional_conditions", additional_conditions) + _setter("additional_conditions", additional_conditions) @property @pulumi.getter(name="fieldName") @@ -476,9 +563,22 @@ def __init__(__self__, *, :param pulumi.Input[str] condition_operator: (Updatable) The operator to be used for evaluating the additional field. :param pulumi.Input[str] condition_value: (Updatable) The additional field value to be evaluated. """ - pulumi.set(__self__, "condition_field", condition_field) - pulumi.set(__self__, "condition_operator", condition_operator) - pulumi.set(__self__, "condition_value", condition_value) + NamespaceIngestTimeRuleConditionsAdditionalConditionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + condition_field=condition_field, + condition_operator=condition_operator, + condition_value=condition_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + condition_field: pulumi.Input[str], + condition_operator: pulumi.Input[str], + condition_value: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("condition_field", condition_field) + _setter("condition_operator", condition_operator) + _setter("condition_value", condition_value) @property @pulumi.getter(name="conditionField") @@ -538,21 +638,44 @@ def __init__(__self__, *, :param pulumi.Input[str] query_string: Purge query string. :param pulumi.Input[str] saved_search_id: The ManagementSavedSearch id [OCID] to be accelerated. """ - pulumi.set(__self__, "type", type) + NamespaceScheduledTaskActionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + compartment_id_in_subtree=compartment_id_in_subtree, + data_type=data_type, + metric_extraction=metric_extraction, + purge_compartment_id=purge_compartment_id, + purge_duration=purge_duration, + query_string=query_string, + saved_search_id=saved_search_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + compartment_id_in_subtree: Optional[pulumi.Input[bool]] = None, + data_type: Optional[pulumi.Input[str]] = None, + metric_extraction: Optional[pulumi.Input['NamespaceScheduledTaskActionMetricExtractionArgs']] = None, + purge_compartment_id: Optional[pulumi.Input[str]] = None, + purge_duration: Optional[pulumi.Input[str]] = None, + query_string: Optional[pulumi.Input[str]] = None, + saved_search_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if compartment_id_in_subtree is not None: - pulumi.set(__self__, "compartment_id_in_subtree", compartment_id_in_subtree) + _setter("compartment_id_in_subtree", compartment_id_in_subtree) if data_type is not None: - pulumi.set(__self__, "data_type", data_type) + _setter("data_type", data_type) if metric_extraction is not None: - pulumi.set(__self__, "metric_extraction", metric_extraction) + _setter("metric_extraction", metric_extraction) if purge_compartment_id is not None: - pulumi.set(__self__, "purge_compartment_id", purge_compartment_id) + _setter("purge_compartment_id", purge_compartment_id) if purge_duration is not None: - pulumi.set(__self__, "purge_duration", purge_duration) + _setter("purge_duration", purge_duration) if query_string is not None: - pulumi.set(__self__, "query_string", query_string) + _setter("query_string", query_string) if saved_search_id is not None: - pulumi.set(__self__, "saved_search_id", saved_search_id) + _setter("saved_search_id", saved_search_id) @property @pulumi.getter @@ -664,14 +787,29 @@ def __init__(__self__, *, :param pulumi.Input[str] namespace: The Logging Analytics namespace used for the request. :param pulumi.Input[str] resource_group: The resource group of the extracted metric. A valid value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($). """ + NamespaceScheduledTaskActionMetricExtractionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + metric_name=metric_name, + namespace=namespace, + resource_group=resource_group, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + metric_name: Optional[pulumi.Input[str]] = None, + namespace: Optional[pulumi.Input[str]] = None, + resource_group: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if metric_name is not None: - pulumi.set(__self__, "metric_name", metric_name) + _setter("metric_name", metric_name) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if resource_group is not None: - pulumi.set(__self__, "resource_group", resource_group) + _setter("resource_group", resource_group) @property @pulumi.getter(name="compartmentId") @@ -726,7 +864,16 @@ def resource_group(self, value: Optional[pulumi.Input[str]]): class NamespaceScheduledTaskSchedulesArgs: def __init__(__self__, *, schedules: pulumi.Input[Sequence[pulumi.Input['NamespaceScheduledTaskSchedulesScheduleArgs']]]): - pulumi.set(__self__, "schedules", schedules) + NamespaceScheduledTaskSchedulesArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + schedules=schedules, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + schedules: pulumi.Input[Sequence[pulumi.Input['NamespaceScheduledTaskSchedulesScheduleArgs']]], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("schedules", schedules) @property @pulumi.getter @@ -755,17 +902,36 @@ def __init__(__self__, *, :param pulumi.Input[int] repeat_count: (Updatable) Number of times (0-based) to execute until auto-stop. Default value -1 will execute indefinitely. Value 0 will execute once. :param pulumi.Input[str] time_zone: (Updatable) Time zone, by default UTC. """ - pulumi.set(__self__, "type", type) + NamespaceScheduledTaskSchedulesScheduleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + expression=expression, + misfire_policy=misfire_policy, + recurring_interval=recurring_interval, + repeat_count=repeat_count, + time_zone=time_zone, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + expression: Optional[pulumi.Input[str]] = None, + misfire_policy: Optional[pulumi.Input[str]] = None, + recurring_interval: Optional[pulumi.Input[str]] = None, + repeat_count: Optional[pulumi.Input[int]] = None, + time_zone: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if expression is not None: - pulumi.set(__self__, "expression", expression) + _setter("expression", expression) if misfire_policy is not None: - pulumi.set(__self__, "misfire_policy", misfire_policy) + _setter("misfire_policy", misfire_policy) if recurring_interval is not None: - pulumi.set(__self__, "recurring_interval", recurring_interval) + _setter("recurring_interval", recurring_interval) if repeat_count is not None: - pulumi.set(__self__, "repeat_count", repeat_count) + _setter("repeat_count", repeat_count) if time_zone is not None: - pulumi.set(__self__, "time_zone", time_zone) + _setter("time_zone", time_zone) @property @pulumi.getter @@ -849,10 +1015,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only log analytics entities whose name matches the entire name given. The match is case-insensitive. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetLogAnalyticsEntitiesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -891,10 +1070,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetLogAnalyticsLogGroupsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -933,10 +1125,23 @@ def __init__(__self__, *, """ :param str name: A filter to return rules only matching with this name. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetLogAnalyticsObjectCollectionRulesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -978,10 +1183,23 @@ def __init__(__self__, *, """ :param str name: The property name used for filtering. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetNamespaceEffectivePropertiesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1020,10 +1238,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetNamespaceIngestTimeRulesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1062,10 +1293,23 @@ def __init__(__self__, *, """ :param str name: The property name used for filtering. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetNamespacePropertiesMetadataFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1104,10 +1348,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetNamespaceRulesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1143,10 +1400,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetNamespaceScheduledTasksFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1182,10 +1452,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetNamespaceStorageOverlappingRecallsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1221,10 +1504,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetNamespacesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/loganalytics/get_log_analytics_categories_list.py b/sdk/python/pulumi_oci/loganalytics/get_log_analytics_categories_list.py index e6357845cf..0258d9d8a5 100644 --- a/sdk/python/pulumi_oci/loganalytics/get_log_analytics_categories_list.py +++ b/sdk/python/pulumi_oci/loganalytics/get_log_analytics_categories_list.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/loganalytics/get_log_analytics_category.py b/sdk/python/pulumi_oci/loganalytics/get_log_analytics_category.py index e43919b515..8fd07efbff 100644 --- a/sdk/python/pulumi_oci/loganalytics/get_log_analytics_category.py +++ b/sdk/python/pulumi_oci/loganalytics/get_log_analytics_category.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/loganalytics/get_log_analytics_entities.py b/sdk/python/pulumi_oci/loganalytics/get_log_analytics_entities.py index ab9bbc88a2..f46e135de9 100644 --- a/sdk/python/pulumi_oci/loganalytics/get_log_analytics_entities.py +++ b/sdk/python/pulumi_oci/loganalytics/get_log_analytics_entities.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/loganalytics/get_log_analytics_entities_summary.py b/sdk/python/pulumi_oci/loganalytics/get_log_analytics_entities_summary.py index 05de810b18..dd9fe13a07 100644 --- a/sdk/python/pulumi_oci/loganalytics/get_log_analytics_entities_summary.py +++ b/sdk/python/pulumi_oci/loganalytics/get_log_analytics_entities_summary.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/loganalytics/get_log_analytics_entity.py b/sdk/python/pulumi_oci/loganalytics/get_log_analytics_entity.py index 08acc469cc..b68e8b14ae 100644 --- a/sdk/python/pulumi_oci/loganalytics/get_log_analytics_entity.py +++ b/sdk/python/pulumi_oci/loganalytics/get_log_analytics_entity.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/loganalytics/get_log_analytics_entity_topology.py b/sdk/python/pulumi_oci/loganalytics/get_log_analytics_entity_topology.py index ec08e91769..2e4016665e 100644 --- a/sdk/python/pulumi_oci/loganalytics/get_log_analytics_entity_topology.py +++ b/sdk/python/pulumi_oci/loganalytics/get_log_analytics_entity_topology.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/loganalytics/get_log_analytics_log_group.py b/sdk/python/pulumi_oci/loganalytics/get_log_analytics_log_group.py index 3ec8db91f2..166f649891 100644 --- a/sdk/python/pulumi_oci/loganalytics/get_log_analytics_log_group.py +++ b/sdk/python/pulumi_oci/loganalytics/get_log_analytics_log_group.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/loganalytics/get_log_analytics_log_groups.py b/sdk/python/pulumi_oci/loganalytics/get_log_analytics_log_groups.py index f703239525..8707541887 100644 --- a/sdk/python/pulumi_oci/loganalytics/get_log_analytics_log_groups.py +++ b/sdk/python/pulumi_oci/loganalytics/get_log_analytics_log_groups.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/loganalytics/get_log_analytics_log_groups_summary.py b/sdk/python/pulumi_oci/loganalytics/get_log_analytics_log_groups_summary.py index 1e1f904bb7..8e77cd2d46 100644 --- a/sdk/python/pulumi_oci/loganalytics/get_log_analytics_log_groups_summary.py +++ b/sdk/python/pulumi_oci/loganalytics/get_log_analytics_log_groups_summary.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/loganalytics/get_log_analytics_object_collection_rule.py b/sdk/python/pulumi_oci/loganalytics/get_log_analytics_object_collection_rule.py index e51b201393..7aceb215d6 100644 --- a/sdk/python/pulumi_oci/loganalytics/get_log_analytics_object_collection_rule.py +++ b/sdk/python/pulumi_oci/loganalytics/get_log_analytics_object_collection_rule.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/loganalytics/get_log_analytics_object_collection_rules.py b/sdk/python/pulumi_oci/loganalytics/get_log_analytics_object_collection_rules.py index 9b832fa5fa..ab3cfb2328 100644 --- a/sdk/python/pulumi_oci/loganalytics/get_log_analytics_object_collection_rules.py +++ b/sdk/python/pulumi_oci/loganalytics/get_log_analytics_object_collection_rules.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/loganalytics/get_log_analytics_preference.py b/sdk/python/pulumi_oci/loganalytics/get_log_analytics_preference.py index 86faf4e84a..07edd5ad46 100644 --- a/sdk/python/pulumi_oci/loganalytics/get_log_analytics_preference.py +++ b/sdk/python/pulumi_oci/loganalytics/get_log_analytics_preference.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/loganalytics/get_log_analytics_resource_categories_list.py b/sdk/python/pulumi_oci/loganalytics/get_log_analytics_resource_categories_list.py index bfacfd31e0..57bf07e219 100644 --- a/sdk/python/pulumi_oci/loganalytics/get_log_analytics_resource_categories_list.py +++ b/sdk/python/pulumi_oci/loganalytics/get_log_analytics_resource_categories_list.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/loganalytics/get_log_analytics_unprocessed_data_bucket.py b/sdk/python/pulumi_oci/loganalytics/get_log_analytics_unprocessed_data_bucket.py index caaafb2a92..36869ad352 100644 --- a/sdk/python/pulumi_oci/loganalytics/get_log_analytics_unprocessed_data_bucket.py +++ b/sdk/python/pulumi_oci/loganalytics/get_log_analytics_unprocessed_data_bucket.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/loganalytics/get_log_sets_count.py b/sdk/python/pulumi_oci/loganalytics/get_log_sets_count.py index b0ac7308a2..0f8877a765 100644 --- a/sdk/python/pulumi_oci/loganalytics/get_log_sets_count.py +++ b/sdk/python/pulumi_oci/loganalytics/get_log_sets_count.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/loganalytics/get_namespace.py b/sdk/python/pulumi_oci/loganalytics/get_namespace.py index 568aed9b16..8d37276bd4 100644 --- a/sdk/python/pulumi_oci/loganalytics/get_namespace.py +++ b/sdk/python/pulumi_oci/loganalytics/get_namespace.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/loganalytics/get_namespace_effective_properties.py b/sdk/python/pulumi_oci/loganalytics/get_namespace_effective_properties.py index af7f8ea967..84ee1f3843 100644 --- a/sdk/python/pulumi_oci/loganalytics/get_namespace_effective_properties.py +++ b/sdk/python/pulumi_oci/loganalytics/get_namespace_effective_properties.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/loganalytics/get_namespace_ingest_time_rule.py b/sdk/python/pulumi_oci/loganalytics/get_namespace_ingest_time_rule.py index 129537f5e2..8bc13094a5 100644 --- a/sdk/python/pulumi_oci/loganalytics/get_namespace_ingest_time_rule.py +++ b/sdk/python/pulumi_oci/loganalytics/get_namespace_ingest_time_rule.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/loganalytics/get_namespace_ingest_time_rules.py b/sdk/python/pulumi_oci/loganalytics/get_namespace_ingest_time_rules.py index bbd4104b6e..be18022308 100644 --- a/sdk/python/pulumi_oci/loganalytics/get_namespace_ingest_time_rules.py +++ b/sdk/python/pulumi_oci/loganalytics/get_namespace_ingest_time_rules.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/loganalytics/get_namespace_properties_metadata.py b/sdk/python/pulumi_oci/loganalytics/get_namespace_properties_metadata.py index 42266368b0..27ab2ee3f9 100644 --- a/sdk/python/pulumi_oci/loganalytics/get_namespace_properties_metadata.py +++ b/sdk/python/pulumi_oci/loganalytics/get_namespace_properties_metadata.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/loganalytics/get_namespace_rules.py b/sdk/python/pulumi_oci/loganalytics/get_namespace_rules.py index 05cfb3c87e..c6ebabee65 100644 --- a/sdk/python/pulumi_oci/loganalytics/get_namespace_rules.py +++ b/sdk/python/pulumi_oci/loganalytics/get_namespace_rules.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/loganalytics/get_namespace_rules_summary.py b/sdk/python/pulumi_oci/loganalytics/get_namespace_rules_summary.py index b3934b929e..2393da26db 100644 --- a/sdk/python/pulumi_oci/loganalytics/get_namespace_rules_summary.py +++ b/sdk/python/pulumi_oci/loganalytics/get_namespace_rules_summary.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/loganalytics/get_namespace_scheduled_task.py b/sdk/python/pulumi_oci/loganalytics/get_namespace_scheduled_task.py index f05dba40a2..0e3f1ce80c 100644 --- a/sdk/python/pulumi_oci/loganalytics/get_namespace_scheduled_task.py +++ b/sdk/python/pulumi_oci/loganalytics/get_namespace_scheduled_task.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/loganalytics/get_namespace_scheduled_tasks.py b/sdk/python/pulumi_oci/loganalytics/get_namespace_scheduled_tasks.py index b6810b202b..f3b29be560 100644 --- a/sdk/python/pulumi_oci/loganalytics/get_namespace_scheduled_tasks.py +++ b/sdk/python/pulumi_oci/loganalytics/get_namespace_scheduled_tasks.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/loganalytics/get_namespace_storage_encryption_key_info.py b/sdk/python/pulumi_oci/loganalytics/get_namespace_storage_encryption_key_info.py index 3b210eceec..6443073d12 100644 --- a/sdk/python/pulumi_oci/loganalytics/get_namespace_storage_encryption_key_info.py +++ b/sdk/python/pulumi_oci/loganalytics/get_namespace_storage_encryption_key_info.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/loganalytics/get_namespace_storage_overlapping_recalls.py b/sdk/python/pulumi_oci/loganalytics/get_namespace_storage_overlapping_recalls.py index 54d06846ca..3612e678dd 100644 --- a/sdk/python/pulumi_oci/loganalytics/get_namespace_storage_overlapping_recalls.py +++ b/sdk/python/pulumi_oci/loganalytics/get_namespace_storage_overlapping_recalls.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/loganalytics/get_namespace_storage_recall_count.py b/sdk/python/pulumi_oci/loganalytics/get_namespace_storage_recall_count.py index 1659c6eb68..c37eeed90d 100644 --- a/sdk/python/pulumi_oci/loganalytics/get_namespace_storage_recall_count.py +++ b/sdk/python/pulumi_oci/loganalytics/get_namespace_storage_recall_count.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/loganalytics/get_namespace_storage_recalled_data_size.py b/sdk/python/pulumi_oci/loganalytics/get_namespace_storage_recalled_data_size.py index b3a66a3a79..426ded1697 100644 --- a/sdk/python/pulumi_oci/loganalytics/get_namespace_storage_recalled_data_size.py +++ b/sdk/python/pulumi_oci/loganalytics/get_namespace_storage_recalled_data_size.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/loganalytics/get_namespaces.py b/sdk/python/pulumi_oci/loganalytics/get_namespaces.py index 6e3f4851a1..81a05a0279 100644 --- a/sdk/python/pulumi_oci/loganalytics/get_namespaces.py +++ b/sdk/python/pulumi_oci/loganalytics/get_namespaces.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/loganalytics/log_analytics_entity.py b/sdk/python/pulumi_oci/loganalytics/log_analytics_entity.py index f63e474374..bd585953d0 100644 --- a/sdk/python/pulumi_oci/loganalytics/log_analytics_entity.py +++ b/sdk/python/pulumi_oci/loganalytics/log_analytics_entity.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['LogAnalyticsEntityArgs', 'LogAnalyticsEntity'] @@ -45,27 +45,58 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "entity_type_name", entity_type_name) - pulumi.set(__self__, "namespace", namespace) + LogAnalyticsEntityArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + entity_type_name=entity_type_name, + namespace=namespace, + cloud_resource_id=cloud_resource_id, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + hostname=hostname, + management_agent_id=management_agent_id, + name=name, + properties=properties, + source_id=source_id, + timezone_region=timezone_region, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + entity_type_name: pulumi.Input[str], + namespace: pulumi.Input[str], + cloud_resource_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + hostname: Optional[pulumi.Input[str]] = None, + management_agent_id: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input[Mapping[str, Any]]] = None, + source_id: Optional[pulumi.Input[str]] = None, + timezone_region: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("entity_type_name", entity_type_name) + _setter("namespace", namespace) if cloud_resource_id is not None: - pulumi.set(__self__, "cloud_resource_id", cloud_resource_id) + _setter("cloud_resource_id", cloud_resource_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if hostname is not None: - pulumi.set(__self__, "hostname", hostname) + _setter("hostname", hostname) if management_agent_id is not None: - pulumi.set(__self__, "management_agent_id", management_agent_id) + _setter("management_agent_id", management_agent_id) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if properties is not None: - pulumi.set(__self__, "properties", properties) + _setter("properties", properties) if source_id is not None: - pulumi.set(__self__, "source_id", source_id) + _setter("source_id", source_id) if timezone_region is not None: - pulumi.set(__self__, "timezone_region", timezone_region) + _setter("timezone_region", timezone_region) @property @pulumi.getter(name="compartmentId") @@ -266,46 +297,93 @@ def __init__(__self__, *, ** 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 """ + _LogAnalyticsEntityState._configure( + lambda key, value: pulumi.set(__self__, key, value), + are_logs_collected=are_logs_collected, + cloud_resource_id=cloud_resource_id, + compartment_id=compartment_id, + defined_tags=defined_tags, + entity_type_internal_name=entity_type_internal_name, + entity_type_name=entity_type_name, + freeform_tags=freeform_tags, + hostname=hostname, + lifecycle_details=lifecycle_details, + management_agent_compartment_id=management_agent_compartment_id, + management_agent_display_name=management_agent_display_name, + management_agent_id=management_agent_id, + name=name, + namespace=namespace, + properties=properties, + source_id=source_id, + state=state, + time_created=time_created, + time_updated=time_updated, + timezone_region=timezone_region, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + are_logs_collected: Optional[pulumi.Input[bool]] = None, + cloud_resource_id: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + entity_type_internal_name: Optional[pulumi.Input[str]] = None, + entity_type_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + hostname: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + management_agent_compartment_id: Optional[pulumi.Input[str]] = None, + management_agent_display_name: Optional[pulumi.Input[str]] = None, + management_agent_id: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + namespace: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input[Mapping[str, Any]]] = None, + source_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + timezone_region: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if are_logs_collected is not None: - pulumi.set(__self__, "are_logs_collected", are_logs_collected) + _setter("are_logs_collected", are_logs_collected) if cloud_resource_id is not None: - pulumi.set(__self__, "cloud_resource_id", cloud_resource_id) + _setter("cloud_resource_id", cloud_resource_id) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if entity_type_internal_name is not None: - pulumi.set(__self__, "entity_type_internal_name", entity_type_internal_name) + _setter("entity_type_internal_name", entity_type_internal_name) if entity_type_name is not None: - pulumi.set(__self__, "entity_type_name", entity_type_name) + _setter("entity_type_name", entity_type_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if hostname is not None: - pulumi.set(__self__, "hostname", hostname) + _setter("hostname", hostname) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if management_agent_compartment_id is not None: - pulumi.set(__self__, "management_agent_compartment_id", management_agent_compartment_id) + _setter("management_agent_compartment_id", management_agent_compartment_id) if management_agent_display_name is not None: - pulumi.set(__self__, "management_agent_display_name", management_agent_display_name) + _setter("management_agent_display_name", management_agent_display_name) if management_agent_id is not None: - pulumi.set(__self__, "management_agent_id", management_agent_id) + _setter("management_agent_id", management_agent_id) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if properties is not None: - pulumi.set(__self__, "properties", properties) + _setter("properties", properties) if source_id is not None: - pulumi.set(__self__, "source_id", source_id) + _setter("source_id", source_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if timezone_region is not None: - pulumi.set(__self__, "timezone_region", timezone_region) + _setter("timezone_region", timezone_region) @property @pulumi.getter(name="areLogsCollected") @@ -679,6 +757,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + LogAnalyticsEntityArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/loganalytics/log_analytics_import_custom_content.py b/sdk/python/pulumi_oci/loganalytics/log_analytics_import_custom_content.py index 3ab30d5135..dda4d632d8 100644 --- a/sdk/python/pulumi_oci/loganalytics/log_analytics_import_custom_content.py +++ b/sdk/python/pulumi_oci/loganalytics/log_analytics_import_custom_content.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -31,12 +31,27 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[bool] is_overwrite: A flag indicating whether or not to overwrite existing content if a conflict is found during import content operation. """ - pulumi.set(__self__, "import_custom_content_file", import_custom_content_file) - pulumi.set(__self__, "namespace", namespace) + LogAnalyticsImportCustomContentArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + import_custom_content_file=import_custom_content_file, + namespace=namespace, + expect=expect, + is_overwrite=is_overwrite, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + import_custom_content_file: pulumi.Input[str], + namespace: pulumi.Input[str], + expect: Optional[pulumi.Input[str]] = None, + is_overwrite: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("import_custom_content_file", import_custom_content_file) + _setter("namespace", namespace) if expect is not None: - pulumi.set(__self__, "expect", expect) + _setter("expect", expect) if is_overwrite is not None: - pulumi.set(__self__, "is_overwrite", is_overwrite) + _setter("is_overwrite", is_overwrite) @property @pulumi.getter(name="importCustomContentFile") @@ -119,24 +134,49 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] parser_names: The parser names. :param pulumi.Input[Sequence[pulumi.Input[str]]] source_names: The source names. """ + _LogAnalyticsImportCustomContentState._configure( + lambda key, value: pulumi.set(__self__, key, value), + change_lists=change_lists, + content_name=content_name, + expect=expect, + field_names=field_names, + import_custom_content_file=import_custom_content_file, + is_overwrite=is_overwrite, + namespace=namespace, + parser_names=parser_names, + source_names=source_names, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + change_lists: Optional[pulumi.Input[Sequence[pulumi.Input['LogAnalyticsImportCustomContentChangeListArgs']]]] = None, + content_name: Optional[pulumi.Input[str]] = None, + expect: Optional[pulumi.Input[str]] = None, + field_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + import_custom_content_file: Optional[pulumi.Input[str]] = None, + is_overwrite: Optional[pulumi.Input[bool]] = None, + namespace: Optional[pulumi.Input[str]] = None, + parser_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + source_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if change_lists is not None: - pulumi.set(__self__, "change_lists", change_lists) + _setter("change_lists", change_lists) if content_name is not None: - pulumi.set(__self__, "content_name", content_name) + _setter("content_name", content_name) if expect is not None: - pulumi.set(__self__, "expect", expect) + _setter("expect", expect) if field_names is not None: - pulumi.set(__self__, "field_names", field_names) + _setter("field_names", field_names) if import_custom_content_file is not None: - pulumi.set(__self__, "import_custom_content_file", import_custom_content_file) + _setter("import_custom_content_file", import_custom_content_file) if is_overwrite is not None: - pulumi.set(__self__, "is_overwrite", is_overwrite) + _setter("is_overwrite", is_overwrite) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if parser_names is not None: - pulumi.set(__self__, "parser_names", parser_names) + _setter("parser_names", parser_names) if source_names is not None: - pulumi.set(__self__, "source_names", source_names) + _setter("source_names", source_names) @property @pulumi.getter(name="changeLists") @@ -332,6 +372,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + LogAnalyticsImportCustomContentArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/loganalytics/log_analytics_log_group.py b/sdk/python/pulumi_oci/loganalytics/log_analytics_log_group.py index e8cbc0859f..1840d4da51 100644 --- a/sdk/python/pulumi_oci/loganalytics/log_analytics_log_group.py +++ b/sdk/python/pulumi_oci/loganalytics/log_analytics_log_group.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['LogAnalyticsLogGroupArgs', 'LogAnalyticsLogGroup'] @@ -33,15 +33,34 @@ def __init__(__self__, *, :param pulumi.Input[str] description: (Updatable) Description for this resource. :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "namespace", namespace) + LogAnalyticsLogGroupArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + namespace=namespace, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + namespace: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) + _setter("namespace", namespace) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="compartmentId") @@ -146,22 +165,45 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the resource was created, in the format defined by RFC3339. :param pulumi.Input[str] time_updated: The date and time the resource was last updated, in the format defined by RFC3339. """ + _LogAnalyticsLogGroupState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + namespace=namespace, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + namespace: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -369,6 +411,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + LogAnalyticsLogGroupArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/loganalytics/log_analytics_object_collection_rule.py b/sdk/python/pulumi_oci/loganalytics/log_analytics_object_collection_rule.py index 2eb1460278..f9339b6808 100644 --- a/sdk/python/pulumi_oci/loganalytics/log_analytics_object_collection_rule.py +++ b/sdk/python/pulumi_oci/loganalytics/log_analytics_object_collection_rule.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -67,44 +67,95 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "log_group_id", log_group_id) - pulumi.set(__self__, "log_source_name", log_source_name) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "os_bucket_name", os_bucket_name) - pulumi.set(__self__, "os_namespace", os_namespace) + LogAnalyticsObjectCollectionRuleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + log_group_id=log_group_id, + log_source_name=log_source_name, + namespace=namespace, + os_bucket_name=os_bucket_name, + os_namespace=os_namespace, + char_encoding=char_encoding, + collection_type=collection_type, + defined_tags=defined_tags, + description=description, + entity_id=entity_id, + freeform_tags=freeform_tags, + is_enabled=is_enabled, + log_set=log_set, + log_set_ext_regex=log_set_ext_regex, + log_set_key=log_set_key, + name=name, + object_name_filters=object_name_filters, + overrides=overrides, + poll_since=poll_since, + poll_till=poll_till, + timezone=timezone, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + log_group_id: pulumi.Input[str], + log_source_name: pulumi.Input[str], + namespace: pulumi.Input[str], + os_bucket_name: pulumi.Input[str], + os_namespace: pulumi.Input[str], + char_encoding: Optional[pulumi.Input[str]] = None, + collection_type: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + entity_id: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_enabled: Optional[pulumi.Input[bool]] = None, + log_set: Optional[pulumi.Input[str]] = None, + log_set_ext_regex: Optional[pulumi.Input[str]] = None, + log_set_key: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + object_name_filters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + overrides: Optional[pulumi.Input[Sequence[pulumi.Input['LogAnalyticsObjectCollectionRuleOverrideArgs']]]] = None, + poll_since: Optional[pulumi.Input[str]] = None, + poll_till: Optional[pulumi.Input[str]] = None, + timezone: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("log_group_id", log_group_id) + _setter("log_source_name", log_source_name) + _setter("namespace", namespace) + _setter("os_bucket_name", os_bucket_name) + _setter("os_namespace", os_namespace) if char_encoding is not None: - pulumi.set(__self__, "char_encoding", char_encoding) + _setter("char_encoding", char_encoding) if collection_type is not None: - pulumi.set(__self__, "collection_type", collection_type) + _setter("collection_type", collection_type) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if entity_id is not None: - pulumi.set(__self__, "entity_id", entity_id) + _setter("entity_id", entity_id) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) if log_set is not None: - pulumi.set(__self__, "log_set", log_set) + _setter("log_set", log_set) if log_set_ext_regex is not None: - pulumi.set(__self__, "log_set_ext_regex", log_set_ext_regex) + _setter("log_set_ext_regex", log_set_ext_regex) if log_set_key is not None: - pulumi.set(__self__, "log_set_key", log_set_key) + _setter("log_set_key", log_set_key) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if object_name_filters is not None: - pulumi.set(__self__, "object_name_filters", object_name_filters) + _setter("object_name_filters", object_name_filters) if overrides is not None: - pulumi.set(__self__, "overrides", overrides) + _setter("overrides", overrides) if poll_since is not None: - pulumi.set(__self__, "poll_since", poll_since) + _setter("poll_since", poll_since) if poll_till is not None: - pulumi.set(__self__, "poll_till", poll_till) + _setter("poll_till", poll_till) if timezone is not None: - pulumi.set(__self__, "timezone", timezone) + _setter("timezone", timezone) @property @pulumi.getter(name="compartmentId") @@ -437,58 +488,117 @@ def __init__(__self__, *, ** 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 """ + _LogAnalyticsObjectCollectionRuleState._configure( + lambda key, value: pulumi.set(__self__, key, value), + char_encoding=char_encoding, + collection_type=collection_type, + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + entity_id=entity_id, + freeform_tags=freeform_tags, + is_enabled=is_enabled, + lifecycle_details=lifecycle_details, + log_group_id=log_group_id, + log_set=log_set, + log_set_ext_regex=log_set_ext_regex, + log_set_key=log_set_key, + log_source_name=log_source_name, + name=name, + namespace=namespace, + object_name_filters=object_name_filters, + os_bucket_name=os_bucket_name, + os_namespace=os_namespace, + overrides=overrides, + poll_since=poll_since, + poll_till=poll_till, + state=state, + time_created=time_created, + time_updated=time_updated, + timezone=timezone, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + char_encoding: Optional[pulumi.Input[str]] = None, + collection_type: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + entity_id: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_enabled: Optional[pulumi.Input[bool]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + log_group_id: Optional[pulumi.Input[str]] = None, + log_set: Optional[pulumi.Input[str]] = None, + log_set_ext_regex: Optional[pulumi.Input[str]] = None, + log_set_key: Optional[pulumi.Input[str]] = None, + log_source_name: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + namespace: Optional[pulumi.Input[str]] = None, + object_name_filters: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + os_bucket_name: Optional[pulumi.Input[str]] = None, + os_namespace: Optional[pulumi.Input[str]] = None, + overrides: Optional[pulumi.Input[Sequence[pulumi.Input['LogAnalyticsObjectCollectionRuleOverrideArgs']]]] = None, + poll_since: Optional[pulumi.Input[str]] = None, + poll_till: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + timezone: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if char_encoding is not None: - pulumi.set(__self__, "char_encoding", char_encoding) + _setter("char_encoding", char_encoding) if collection_type is not None: - pulumi.set(__self__, "collection_type", collection_type) + _setter("collection_type", collection_type) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if entity_id is not None: - pulumi.set(__self__, "entity_id", entity_id) + _setter("entity_id", entity_id) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if log_group_id is not None: - pulumi.set(__self__, "log_group_id", log_group_id) + _setter("log_group_id", log_group_id) if log_set is not None: - pulumi.set(__self__, "log_set", log_set) + _setter("log_set", log_set) if log_set_ext_regex is not None: - pulumi.set(__self__, "log_set_ext_regex", log_set_ext_regex) + _setter("log_set_ext_regex", log_set_ext_regex) if log_set_key is not None: - pulumi.set(__self__, "log_set_key", log_set_key) + _setter("log_set_key", log_set_key) if log_source_name is not None: - pulumi.set(__self__, "log_source_name", log_source_name) + _setter("log_source_name", log_source_name) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if object_name_filters is not None: - pulumi.set(__self__, "object_name_filters", object_name_filters) + _setter("object_name_filters", object_name_filters) if os_bucket_name is not None: - pulumi.set(__self__, "os_bucket_name", os_bucket_name) + _setter("os_bucket_name", os_bucket_name) if os_namespace is not None: - pulumi.set(__self__, "os_namespace", os_namespace) + _setter("os_namespace", os_namespace) if overrides is not None: - pulumi.set(__self__, "overrides", overrides) + _setter("overrides", overrides) if poll_since is not None: - pulumi.set(__self__, "poll_since", poll_since) + _setter("poll_since", poll_since) if poll_till is not None: - pulumi.set(__self__, "poll_till", poll_till) + _setter("poll_till", poll_till) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if timezone is not None: - pulumi.set(__self__, "timezone", timezone) + _setter("timezone", timezone) @property @pulumi.getter(name="charEncoding") @@ -974,6 +1084,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + LogAnalyticsObjectCollectionRuleArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/loganalytics/log_analytics_preferences_management.py b/sdk/python/pulumi_oci/loganalytics/log_analytics_preferences_management.py index 8bf7e4cb1d..5951f41d6d 100644 --- a/sdk/python/pulumi_oci/loganalytics/log_analytics_preferences_management.py +++ b/sdk/python/pulumi_oci/loganalytics/log_analytics_preferences_management.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -27,9 +27,20 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[Sequence[pulumi.Input['LogAnalyticsPreferencesManagementItemArgs']]] items: An array of tenant preference details. """ - pulumi.set(__self__, "namespace", namespace) + LogAnalyticsPreferencesManagementArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + namespace=namespace, + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + namespace: pulumi.Input[str], + items: Optional[pulumi.Input[Sequence[pulumi.Input['LogAnalyticsPreferencesManagementItemArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("namespace", namespace) if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) @property @pulumi.getter @@ -74,10 +85,21 @@ def __init__(__self__, *, ** 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 """ + _LogAnalyticsPreferencesManagementState._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + namespace=namespace, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Optional[pulumi.Input[Sequence[pulumi.Input['LogAnalyticsPreferencesManagementItemArgs']]]] = None, + namespace: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) @property @pulumi.getter @@ -187,6 +209,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + LogAnalyticsPreferencesManagementArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/loganalytics/log_analytics_resource_categories_management.py b/sdk/python/pulumi_oci/loganalytics/log_analytics_resource_categories_management.py index c1bb15a10b..a37b0d5ea9 100644 --- a/sdk/python/pulumi_oci/loganalytics/log_analytics_resource_categories_management.py +++ b/sdk/python/pulumi_oci/loganalytics/log_analytics_resource_categories_management.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['LogAnalyticsResourceCategoriesManagementArgs', 'LogAnalyticsResourceCategoriesManagement'] @@ -29,10 +29,25 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "resource_categories", resource_categories) - pulumi.set(__self__, "resource_id", resource_id) - pulumi.set(__self__, "resource_type", resource_type) + LogAnalyticsResourceCategoriesManagementArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + namespace=namespace, + resource_categories=resource_categories, + resource_id=resource_id, + resource_type=resource_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + namespace: pulumi.Input[str], + resource_categories: pulumi.Input[Sequence[pulumi.Input[str]]], + resource_id: pulumi.Input[str], + resource_type: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("namespace", namespace) + _setter("resource_categories", resource_categories) + _setter("resource_id", resource_id) + _setter("resource_type", resource_type) @property @pulumi.getter @@ -105,14 +120,29 @@ def __init__(__self__, *, ** 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 """ + _LogAnalyticsResourceCategoriesManagementState._configure( + lambda key, value: pulumi.set(__self__, key, value), + namespace=namespace, + resource_categories=resource_categories, + resource_id=resource_id, + resource_type=resource_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + namespace: Optional[pulumi.Input[str]] = None, + resource_categories: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + resource_id: Optional[pulumi.Input[str]] = None, + resource_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if resource_categories is not None: - pulumi.set(__self__, "resource_categories", resource_categories) + _setter("resource_categories", resource_categories) if resource_id is not None: - pulumi.set(__self__, "resource_id", resource_id) + _setter("resource_id", resource_id) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) @property @pulumi.getter @@ -248,6 +278,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + LogAnalyticsResourceCategoriesManagementArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/loganalytics/log_analytics_unprocessed_data_bucket_management.py b/sdk/python/pulumi_oci/loganalytics/log_analytics_unprocessed_data_bucket_management.py index 5f84b7adfc..f730ae3806 100644 --- a/sdk/python/pulumi_oci/loganalytics/log_analytics_unprocessed_data_bucket_management.py +++ b/sdk/python/pulumi_oci/loganalytics/log_analytics_unprocessed_data_bucket_management.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['LogAnalyticsUnprocessedDataBucketManagementArgs', 'LogAnalyticsUnprocessedDataBucketManagement'] @@ -27,10 +27,23 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[bool] is_enabled: Flag that specifies if this configuration is enabled or not. """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "namespace", namespace) + LogAnalyticsUnprocessedDataBucketManagementArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + namespace=namespace, + is_enabled=is_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: pulumi.Input[str], + namespace: pulumi.Input[str], + is_enabled: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("namespace", namespace) if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) @property @pulumi.getter @@ -93,16 +106,33 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The time when this record is created. An RFC3339 formatted datetime string. :param pulumi.Input[str] time_updated: The latest time when this record is updated. An RFC3339 formatted datetime string. """ + _LogAnalyticsUnprocessedDataBucketManagementState._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + is_enabled=is_enabled, + namespace=namespace, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: Optional[pulumi.Input[str]] = None, + is_enabled: Optional[pulumi.Input[bool]] = None, + namespace: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if bucket is not None: - pulumi.set(__self__, "bucket", bucket) + _setter("bucket", bucket) if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter @@ -248,6 +278,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + LogAnalyticsUnprocessedDataBucketManagementArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/loganalytics/namespace.py b/sdk/python/pulumi_oci/loganalytics/namespace.py index 12799b2457..5786c373ac 100644 --- a/sdk/python/pulumi_oci/loganalytics/namespace.py +++ b/sdk/python/pulumi_oci/loganalytics/namespace.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['NamespaceArgs', 'Namespace'] @@ -23,9 +23,22 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_onboarded: Use `true` if tenancy is to be onboarded to logging analytics and `false` if tenancy is to be offboarded :param pulumi.Input[str] namespace: The Log Analytics namespace used for the request. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "is_onboarded", is_onboarded) - pulumi.set(__self__, "namespace", namespace) + NamespaceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + is_onboarded=is_onboarded, + namespace=namespace, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + is_onboarded: pulumi.Input[bool], + namespace: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("is_onboarded", is_onboarded) + _setter("namespace", namespace) @property @pulumi.getter(name="compartmentId") @@ -76,12 +89,25 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_onboarded: Use `true` if tenancy is to be onboarded to logging analytics and `false` if tenancy is to be offboarded :param pulumi.Input[str] namespace: The Log Analytics namespace used for the request. """ + _NamespaceState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + is_onboarded=is_onboarded, + namespace=namespace, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + is_onboarded: Optional[pulumi.Input[bool]] = None, + namespace: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if is_onboarded is not None: - pulumi.set(__self__, "is_onboarded", is_onboarded) + _setter("is_onboarded", is_onboarded) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) @property @pulumi.getter(name="compartmentId") @@ -201,6 +227,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + NamespaceArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/loganalytics/namespace_ingest_time_rule.py b/sdk/python/pulumi_oci/loganalytics/namespace_ingest_time_rule.py index c9854a1605..7bc76da098 100644 --- a/sdk/python/pulumi_oci/loganalytics/namespace_ingest_time_rule.py +++ b/sdk/python/pulumi_oci/loganalytics/namespace_ingest_time_rule.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -39,17 +39,40 @@ def __init__(__self__, *, :param pulumi.Input[str] description: (Updatable) Description for this resource. :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` """ - pulumi.set(__self__, "actions", actions) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "conditions", conditions) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "namespace", namespace) + NamespaceIngestTimeRuleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + actions=actions, + compartment_id=compartment_id, + conditions=conditions, + display_name=display_name, + namespace=namespace, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + actions: pulumi.Input[Sequence[pulumi.Input['NamespaceIngestTimeRuleActionArgs']]], + compartment_id: pulumi.Input[str], + conditions: pulumi.Input['NamespaceIngestTimeRuleConditionsArgs'], + display_name: pulumi.Input[str], + namespace: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("actions", actions) + _setter("compartment_id", compartment_id) + _setter("conditions", conditions) + _setter("display_name", display_name) + _setter("namespace", namespace) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter @@ -187,32 +210,65 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the resource was created, in the format defined by RFC3339. :param pulumi.Input[str] time_updated: The date and time the resource was last updated, in the format defined by RFC3339. """ + _NamespaceIngestTimeRuleState._configure( + lambda key, value: pulumi.set(__self__, key, value), + actions=actions, + compartment_id=compartment_id, + conditions=conditions, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + ingest_time_rule_id=ingest_time_rule_id, + is_enabled=is_enabled, + namespace=namespace, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + actions: Optional[pulumi.Input[Sequence[pulumi.Input['NamespaceIngestTimeRuleActionArgs']]]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + conditions: Optional[pulumi.Input['NamespaceIngestTimeRuleConditionsArgs']] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + ingest_time_rule_id: Optional[pulumi.Input[str]] = None, + is_enabled: Optional[pulumi.Input[bool]] = None, + namespace: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if actions is not None: - pulumi.set(__self__, "actions", actions) + _setter("actions", actions) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if conditions is not None: - pulumi.set(__self__, "conditions", conditions) + _setter("conditions", conditions) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if ingest_time_rule_id is not None: - pulumi.set(__self__, "ingest_time_rule_id", ingest_time_rule_id) + _setter("ingest_time_rule_id", ingest_time_rule_id) if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter @@ -519,6 +575,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + NamespaceIngestTimeRuleArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -547,6 +607,11 @@ def _internal_init(__self__, if compartment_id is None and not opts.urn: raise TypeError("Missing required property 'compartment_id'") __props__.__dict__["compartment_id"] = compartment_id + if conditions is not None and not isinstance(conditions, NamespaceIngestTimeRuleConditionsArgs): + conditions = conditions or {} + def _setter(key, value): + conditions[key] = value + NamespaceIngestTimeRuleConditionsArgs._configure(_setter, **conditions) if conditions is None and not opts.urn: raise TypeError("Missing required property 'conditions'") __props__.__dict__["conditions"] = conditions diff --git a/sdk/python/pulumi_oci/loganalytics/namespace_ingest_time_rules_management.py b/sdk/python/pulumi_oci/loganalytics/namespace_ingest_time_rules_management.py index 90f664d772..44d4b984cd 100644 --- a/sdk/python/pulumi_oci/loganalytics/namespace_ingest_time_rules_management.py +++ b/sdk/python/pulumi_oci/loganalytics/namespace_ingest_time_rules_management.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['NamespaceIngestTimeRulesManagementArgs', 'NamespaceIngestTimeRulesManagement'] @@ -27,9 +27,22 @@ def __init__(__self__, *, :param pulumi.Input[str] ingest_time_rule_id: Unique ocid of the ingest time rule. :param pulumi.Input[str] namespace: The Logging Analytics namespace used for the request. """ - pulumi.set(__self__, "enable_ingest_time_rule", enable_ingest_time_rule) - pulumi.set(__self__, "ingest_time_rule_id", ingest_time_rule_id) - pulumi.set(__self__, "namespace", namespace) + NamespaceIngestTimeRulesManagementArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + enable_ingest_time_rule=enable_ingest_time_rule, + ingest_time_rule_id=ingest_time_rule_id, + namespace=namespace, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + enable_ingest_time_rule: pulumi.Input[bool], + ingest_time_rule_id: pulumi.Input[str], + namespace: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("enable_ingest_time_rule", enable_ingest_time_rule) + _setter("ingest_time_rule_id", ingest_time_rule_id) + _setter("namespace", namespace) @property @pulumi.getter(name="enableIngestTimeRule") @@ -88,12 +101,25 @@ def __init__(__self__, *, :param pulumi.Input[str] ingest_time_rule_id: Unique ocid of the ingest time rule. :param pulumi.Input[str] namespace: The Logging Analytics namespace used for the request. """ + _NamespaceIngestTimeRulesManagementState._configure( + lambda key, value: pulumi.set(__self__, key, value), + enable_ingest_time_rule=enable_ingest_time_rule, + ingest_time_rule_id=ingest_time_rule_id, + namespace=namespace, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + enable_ingest_time_rule: Optional[pulumi.Input[bool]] = None, + ingest_time_rule_id: Optional[pulumi.Input[str]] = None, + namespace: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if enable_ingest_time_rule is not None: - pulumi.set(__self__, "enable_ingest_time_rule", enable_ingest_time_rule) + _setter("enable_ingest_time_rule", enable_ingest_time_rule) if ingest_time_rule_id is not None: - pulumi.set(__self__, "ingest_time_rule_id", ingest_time_rule_id) + _setter("ingest_time_rule_id", ingest_time_rule_id) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) @property @pulumi.getter(name="enableIngestTimeRule") @@ -205,6 +231,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + NamespaceIngestTimeRulesManagementArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/loganalytics/namespace_scheduled_task.py b/sdk/python/pulumi_oci/loganalytics/namespace_scheduled_task.py index bac4c667b0..6a6deaf74f 100644 --- a/sdk/python/pulumi_oci/loganalytics/namespace_scheduled_task.py +++ b/sdk/python/pulumi_oci/loganalytics/namespace_scheduled_task.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -43,20 +43,47 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` :param pulumi.Input[str] saved_search_id: The ManagementSavedSearch id [OCID] to be accelerated. """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "kind", kind) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "schedules", schedules) - pulumi.set(__self__, "task_type", task_type) + NamespaceScheduledTaskArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + compartment_id=compartment_id, + kind=kind, + namespace=namespace, + schedules=schedules, + task_type=task_type, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + saved_search_id=saved_search_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: pulumi.Input['NamespaceScheduledTaskActionArgs'], + compartment_id: pulumi.Input[str], + kind: pulumi.Input[str], + namespace: pulumi.Input[str], + schedules: pulumi.Input['NamespaceScheduledTaskSchedulesArgs'], + task_type: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + saved_search_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("compartment_id", compartment_id) + _setter("kind", kind) + _setter("namespace", namespace) + _setter("schedules", schedules) + _setter("task_type", task_type) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if saved_search_id is not None: - pulumi.set(__self__, "saved_search_id", saved_search_id) + _setter("saved_search_id", saved_search_id) @property @pulumi.getter @@ -226,40 +253,81 @@ def __init__(__self__, *, :param pulumi.Input[str] time_updated: The date and time the scheduled task was last updated, in the format defined by RFC3339. :param pulumi.Input[str] work_request_id: most recent Work Request Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the asynchronous request. """ + _NamespaceScheduledTaskState._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + kind=kind, + namespace=namespace, + num_occurrences=num_occurrences, + saved_search_id=saved_search_id, + scheduled_task_id=scheduled_task_id, + schedules=schedules, + state=state, + task_status=task_status, + task_type=task_type, + time_created=time_created, + time_updated=time_updated, + work_request_id=work_request_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: Optional[pulumi.Input['NamespaceScheduledTaskActionArgs']] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + kind: Optional[pulumi.Input[str]] = None, + namespace: Optional[pulumi.Input[str]] = None, + num_occurrences: Optional[pulumi.Input[str]] = None, + saved_search_id: Optional[pulumi.Input[str]] = None, + scheduled_task_id: Optional[pulumi.Input[str]] = None, + schedules: Optional[pulumi.Input['NamespaceScheduledTaskSchedulesArgs']] = None, + state: Optional[pulumi.Input[str]] = None, + task_status: Optional[pulumi.Input[str]] = None, + task_type: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + work_request_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if action is not None: - pulumi.set(__self__, "action", action) + _setter("action", action) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if kind is not None: - pulumi.set(__self__, "kind", kind) + _setter("kind", kind) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if num_occurrences is not None: - pulumi.set(__self__, "num_occurrences", num_occurrences) + _setter("num_occurrences", num_occurrences) if saved_search_id is not None: - pulumi.set(__self__, "saved_search_id", saved_search_id) + _setter("saved_search_id", saved_search_id) if scheduled_task_id is not None: - pulumi.set(__self__, "scheduled_task_id", scheduled_task_id) + _setter("scheduled_task_id", scheduled_task_id) if schedules is not None: - pulumi.set(__self__, "schedules", schedules) + _setter("schedules", schedules) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if task_status is not None: - pulumi.set(__self__, "task_status", task_status) + _setter("task_status", task_status) if task_type is not None: - pulumi.set(__self__, "task_type", task_type) + _setter("task_type", task_type) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if work_request_id is not None: - pulumi.set(__self__, "work_request_id", work_request_id) + _setter("work_request_id", work_request_id) @property @pulumi.getter @@ -542,6 +610,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + NamespaceScheduledTaskArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -566,6 +638,11 @@ def _internal_init(__self__, raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = NamespaceScheduledTaskArgs.__new__(NamespaceScheduledTaskArgs) + if action is not None and not isinstance(action, NamespaceScheduledTaskActionArgs): + action = action or {} + def _setter(key, value): + action[key] = value + NamespaceScheduledTaskActionArgs._configure(_setter, **action) if action is None and not opts.urn: raise TypeError("Missing required property 'action'") __props__.__dict__["action"] = action @@ -582,6 +659,11 @@ def _internal_init(__self__, raise TypeError("Missing required property 'namespace'") __props__.__dict__["namespace"] = namespace __props__.__dict__["saved_search_id"] = saved_search_id + if schedules is not None and not isinstance(schedules, NamespaceScheduledTaskSchedulesArgs): + schedules = schedules or {} + def _setter(key, value): + schedules[key] = value + NamespaceScheduledTaskSchedulesArgs._configure(_setter, **schedules) if schedules is None and not opts.urn: raise TypeError("Missing required property 'schedules'") __props__.__dict__["schedules"] = schedules diff --git a/sdk/python/pulumi_oci/loganalytics/outputs.py b/sdk/python/pulumi_oci/loganalytics/outputs.py index 2d8851053b..af735fc943 100644 --- a/sdk/python/pulumi_oci/loganalytics/outputs.py +++ b/sdk/python/pulumi_oci/loganalytics/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -134,24 +134,49 @@ def __init__(__self__, *, :param Sequence[str] updated_parser_names: An array of updated parser names. :param Sequence[str] updated_source_names: An array of updated source names. """ + LogAnalyticsImportCustomContentChangeList._configure( + lambda key, value: pulumi.set(__self__, key, value), + conflict_field_display_names=conflict_field_display_names, + conflict_parser_names=conflict_parser_names, + conflict_source_names=conflict_source_names, + created_field_display_names=created_field_display_names, + created_parser_names=created_parser_names, + created_source_names=created_source_names, + updated_field_display_names=updated_field_display_names, + updated_parser_names=updated_parser_names, + updated_source_names=updated_source_names, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + conflict_field_display_names: Optional[Sequence[str]] = None, + conflict_parser_names: Optional[Sequence[str]] = None, + conflict_source_names: Optional[Sequence[str]] = None, + created_field_display_names: Optional[Sequence[str]] = None, + created_parser_names: Optional[Sequence[str]] = None, + created_source_names: Optional[Sequence[str]] = None, + updated_field_display_names: Optional[Sequence[str]] = None, + updated_parser_names: Optional[Sequence[str]] = None, + updated_source_names: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if conflict_field_display_names is not None: - pulumi.set(__self__, "conflict_field_display_names", conflict_field_display_names) + _setter("conflict_field_display_names", conflict_field_display_names) if conflict_parser_names is not None: - pulumi.set(__self__, "conflict_parser_names", conflict_parser_names) + _setter("conflict_parser_names", conflict_parser_names) if conflict_source_names is not None: - pulumi.set(__self__, "conflict_source_names", conflict_source_names) + _setter("conflict_source_names", conflict_source_names) if created_field_display_names is not None: - pulumi.set(__self__, "created_field_display_names", created_field_display_names) + _setter("created_field_display_names", created_field_display_names) if created_parser_names is not None: - pulumi.set(__self__, "created_parser_names", created_parser_names) + _setter("created_parser_names", created_parser_names) if created_source_names is not None: - pulumi.set(__self__, "created_source_names", created_source_names) + _setter("created_source_names", created_source_names) if updated_field_display_names is not None: - pulumi.set(__self__, "updated_field_display_names", updated_field_display_names) + _setter("updated_field_display_names", updated_field_display_names) if updated_parser_names is not None: - pulumi.set(__self__, "updated_parser_names", updated_parser_names) + _setter("updated_parser_names", updated_parser_names) if updated_source_names is not None: - pulumi.set(__self__, "updated_source_names", updated_source_names) + _setter("updated_source_names", updated_source_names) @property @pulumi.getter(name="conflictFieldDisplayNames") @@ -256,14 +281,29 @@ def __init__(__self__, *, match_value: Optional[str] = None, property_name: Optional[str] = None, property_value: Optional[str] = None): + LogAnalyticsObjectCollectionRuleOverride._configure( + lambda key, value: pulumi.set(__self__, key, value), + match_type=match_type, + match_value=match_value, + property_name=property_name, + property_value=property_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + match_type: Optional[str] = None, + match_value: Optional[str] = None, + property_name: Optional[str] = None, + property_value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if match_type is not None: - pulumi.set(__self__, "match_type", match_type) + _setter("match_type", match_type) if match_value is not None: - pulumi.set(__self__, "match_value", match_value) + _setter("match_value", match_value) if property_name is not None: - pulumi.set(__self__, "property_name", property_name) + _setter("property_name", property_name) if property_value is not None: - pulumi.set(__self__, "property_value", property_value) + _setter("property_value", property_value) @property @pulumi.getter(name="matchType") @@ -295,10 +335,21 @@ def __init__(__self__, *, :param str name: The preference name. :param str value: The preference value. """ + LogAnalyticsPreferencesManagementItem._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -359,14 +410,33 @@ def __init__(__self__, *, :param Sequence[str] dimensions: (Updatable) Additional dimensions to publish for the extracted metric. A valid list contains the source field names whose values are to be published as dimensions. The source name itself is specified using a special macro SOURCE_NAME :param str resource_group: (Updatable) The resourceGroup of the extracted metric. A valid value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($). """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "metric_name", metric_name) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "type", type) + NamespaceIngestTimeRuleAction._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + metric_name=metric_name, + namespace=namespace, + type=type, + dimensions=dimensions, + resource_group=resource_group, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + metric_name: str, + namespace: str, + type: str, + dimensions: Optional[Sequence[str]] = None, + resource_group: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("metric_name", metric_name) + _setter("namespace", namespace) + _setter("type", type) if dimensions is not None: - pulumi.set(__self__, "dimensions", dimensions) + _setter("dimensions", dimensions) if resource_group is not None: - pulumi.set(__self__, "resource_group", resource_group) + _setter("resource_group", resource_group) @property @pulumi.getter(name="compartmentId") @@ -459,12 +529,29 @@ def __init__(__self__, *, :param str kind: (Updatable) Discriminator. :param Sequence['NamespaceIngestTimeRuleConditionsAdditionalConditionArgs'] additional_conditions: (Updatable) Optional additional condition(s) to be evaluated. """ - pulumi.set(__self__, "field_name", field_name) - pulumi.set(__self__, "field_operator", field_operator) - pulumi.set(__self__, "field_value", field_value) - pulumi.set(__self__, "kind", kind) + NamespaceIngestTimeRuleConditions._configure( + lambda key, value: pulumi.set(__self__, key, value), + field_name=field_name, + field_operator=field_operator, + field_value=field_value, + kind=kind, + additional_conditions=additional_conditions, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + field_name: str, + field_operator: str, + field_value: str, + kind: str, + additional_conditions: Optional[Sequence['outputs.NamespaceIngestTimeRuleConditionsAdditionalCondition']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("field_name", field_name) + _setter("field_operator", field_operator) + _setter("field_value", field_value) + _setter("kind", kind) if additional_conditions is not None: - pulumi.set(__self__, "additional_conditions", additional_conditions) + _setter("additional_conditions", additional_conditions) @property @pulumi.getter(name="fieldName") @@ -539,9 +626,22 @@ def __init__(__self__, *, :param str condition_operator: (Updatable) The operator to be used for evaluating the additional field. :param str condition_value: (Updatable) The additional field value to be evaluated. """ - pulumi.set(__self__, "condition_field", condition_field) - pulumi.set(__self__, "condition_operator", condition_operator) - pulumi.set(__self__, "condition_value", condition_value) + NamespaceIngestTimeRuleConditionsAdditionalCondition._configure( + lambda key, value: pulumi.set(__self__, key, value), + condition_field=condition_field, + condition_operator=condition_operator, + condition_value=condition_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + condition_field: str, + condition_operator: str, + condition_value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("condition_field", condition_field) + _setter("condition_operator", condition_operator) + _setter("condition_value", condition_value) @property @pulumi.getter(name="conditionField") @@ -618,21 +718,44 @@ def __init__(__self__, *, :param str query_string: Purge query string. :param str saved_search_id: The ManagementSavedSearch id [OCID] to be accelerated. """ - pulumi.set(__self__, "type", type) + NamespaceScheduledTaskAction._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + compartment_id_in_subtree=compartment_id_in_subtree, + data_type=data_type, + metric_extraction=metric_extraction, + purge_compartment_id=purge_compartment_id, + purge_duration=purge_duration, + query_string=query_string, + saved_search_id=saved_search_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + compartment_id_in_subtree: Optional[bool] = None, + data_type: Optional[str] = None, + metric_extraction: Optional['outputs.NamespaceScheduledTaskActionMetricExtraction'] = None, + purge_compartment_id: Optional[str] = None, + purge_duration: Optional[str] = None, + query_string: Optional[str] = None, + saved_search_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if compartment_id_in_subtree is not None: - pulumi.set(__self__, "compartment_id_in_subtree", compartment_id_in_subtree) + _setter("compartment_id_in_subtree", compartment_id_in_subtree) if data_type is not None: - pulumi.set(__self__, "data_type", data_type) + _setter("data_type", data_type) if metric_extraction is not None: - pulumi.set(__self__, "metric_extraction", metric_extraction) + _setter("metric_extraction", metric_extraction) if purge_compartment_id is not None: - pulumi.set(__self__, "purge_compartment_id", purge_compartment_id) + _setter("purge_compartment_id", purge_compartment_id) if purge_duration is not None: - pulumi.set(__self__, "purge_duration", purge_duration) + _setter("purge_duration", purge_duration) if query_string is not None: - pulumi.set(__self__, "query_string", query_string) + _setter("query_string", query_string) if saved_search_id is not None: - pulumi.set(__self__, "saved_search_id", saved_search_id) + _setter("saved_search_id", saved_search_id) @property @pulumi.getter @@ -733,14 +856,29 @@ def __init__(__self__, *, :param str namespace: The Logging Analytics namespace used for the request. :param str resource_group: The resource group of the extracted metric. A valid value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($). """ + NamespaceScheduledTaskActionMetricExtraction._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + metric_name=metric_name, + namespace=namespace, + resource_group=resource_group, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[str] = None, + metric_name: Optional[str] = None, + namespace: Optional[str] = None, + resource_group: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if metric_name is not None: - pulumi.set(__self__, "metric_name", metric_name) + _setter("metric_name", metric_name) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if resource_group is not None: - pulumi.set(__self__, "resource_group", resource_group) + _setter("resource_group", resource_group) @property @pulumi.getter(name="compartmentId") @@ -779,7 +917,16 @@ def resource_group(self) -> Optional[str]: class NamespaceScheduledTaskSchedules(dict): def __init__(__self__, *, schedules: Sequence['outputs.NamespaceScheduledTaskSchedulesSchedule']): - pulumi.set(__self__, "schedules", schedules) + NamespaceScheduledTaskSchedules._configure( + lambda key, value: pulumi.set(__self__, key, value), + schedules=schedules, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + schedules: Sequence['outputs.NamespaceScheduledTaskSchedulesSchedule'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("schedules", schedules) @property @pulumi.getter @@ -827,17 +974,36 @@ def __init__(__self__, *, :param int repeat_count: (Updatable) Number of times (0-based) to execute until auto-stop. Default value -1 will execute indefinitely. Value 0 will execute once. :param str time_zone: (Updatable) Time zone, by default UTC. """ - pulumi.set(__self__, "type", type) + NamespaceScheduledTaskSchedulesSchedule._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + expression=expression, + misfire_policy=misfire_policy, + recurring_interval=recurring_interval, + repeat_count=repeat_count, + time_zone=time_zone, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + expression: Optional[str] = None, + misfire_policy: Optional[str] = None, + recurring_interval: Optional[str] = None, + repeat_count: Optional[int] = None, + time_zone: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if expression is not None: - pulumi.set(__self__, "expression", expression) + _setter("expression", expression) if misfire_policy is not None: - pulumi.set(__self__, "misfire_policy", misfire_policy) + _setter("misfire_policy", misfire_policy) if recurring_interval is not None: - pulumi.set(__self__, "recurring_interval", recurring_interval) + _setter("recurring_interval", recurring_interval) if repeat_count is not None: - pulumi.set(__self__, "repeat_count", repeat_count) + _setter("repeat_count", repeat_count) if time_zone is not None: - pulumi.set(__self__, "time_zone", time_zone) + _setter("time_zone", time_zone) @property @pulumi.getter @@ -903,11 +1069,28 @@ def __init__(__self__, *, :param str name: A filter to return only log analytics category whose name matches the entire name given. The match is case-insensitive. :param str type: The category type. Values include "PRODUCT", "TIER", "VENDOR" and "GENERIC". """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "is_system", is_system) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "type", type) + GetLogAnalyticsCategoriesListItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + display_name=display_name, + is_system=is_system, + name=name, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + display_name: str, + is_system: bool, + name: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("display_name", display_name) + _setter("is_system", is_system) + _setter("name", name) + _setter("type", type) @property @pulumi.getter @@ -959,10 +1142,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only log analytics entities whose name matches the entire name given. The match is case-insensitive. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetLogAnalyticsEntitiesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -987,7 +1183,16 @@ def regex(self) -> Optional[bool]: class GetLogAnalyticsEntitiesLogAnalyticsEntityCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetLogAnalyticsEntitiesLogAnalyticsEntityCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetLogAnalyticsEntitiesLogAnalyticsEntityCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetLogAnalyticsEntitiesLogAnalyticsEntityCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1042,27 +1247,76 @@ def __init__(__self__, *, :param str time_updated: The date and time the resource was last updated, in the format defined by RFC3339. :param str timezone_region: The timezone region of the log analytics entity. """ - pulumi.set(__self__, "are_logs_collected", are_logs_collected) - pulumi.set(__self__, "cloud_resource_id", cloud_resource_id) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "entity_type_internal_name", entity_type_internal_name) - pulumi.set(__self__, "entity_type_name", entity_type_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "hostname", hostname) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "management_agent_compartment_id", management_agent_compartment_id) - pulumi.set(__self__, "management_agent_display_name", management_agent_display_name) - pulumi.set(__self__, "management_agent_id", management_agent_id) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "properties", properties) - pulumi.set(__self__, "source_id", source_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "timezone_region", timezone_region) + GetLogAnalyticsEntitiesLogAnalyticsEntityCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + are_logs_collected=are_logs_collected, + cloud_resource_id=cloud_resource_id, + compartment_id=compartment_id, + defined_tags=defined_tags, + entity_type_internal_name=entity_type_internal_name, + entity_type_name=entity_type_name, + freeform_tags=freeform_tags, + hostname=hostname, + id=id, + lifecycle_details=lifecycle_details, + management_agent_compartment_id=management_agent_compartment_id, + management_agent_display_name=management_agent_display_name, + management_agent_id=management_agent_id, + name=name, + namespace=namespace, + properties=properties, + source_id=source_id, + state=state, + time_created=time_created, + time_updated=time_updated, + timezone_region=timezone_region, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + are_logs_collected: bool, + cloud_resource_id: str, + compartment_id: str, + defined_tags: Mapping[str, Any], + entity_type_internal_name: str, + entity_type_name: str, + freeform_tags: Mapping[str, Any], + hostname: str, + id: str, + lifecycle_details: str, + management_agent_compartment_id: str, + management_agent_display_name: str, + management_agent_id: str, + name: str, + namespace: str, + properties: Mapping[str, Any], + source_id: str, + state: str, + time_created: str, + time_updated: str, + timezone_region: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("are_logs_collected", are_logs_collected) + _setter("cloud_resource_id", cloud_resource_id) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("entity_type_internal_name", entity_type_internal_name) + _setter("entity_type_name", entity_type_name) + _setter("freeform_tags", freeform_tags) + _setter("hostname", hostname) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("management_agent_compartment_id", management_agent_compartment_id) + _setter("management_agent_display_name", management_agent_display_name) + _setter("management_agent_id", management_agent_id) + _setter("name", name) + _setter("namespace", namespace) + _setter("properties", properties) + _setter("source_id", source_id) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("timezone_region", timezone_region) @property @pulumi.getter(name="areLogsCollected") @@ -1242,8 +1496,19 @@ def __init__(__self__, *, :param Sequence['GetLogAnalyticsEntityTopologyItemLinkArgs'] links: Collection of log analytics entity relationship links. :param Sequence['GetLogAnalyticsEntityTopologyItemNodeArgs'] nodes: Collection of log analytics entities. """ - pulumi.set(__self__, "links", links) - pulumi.set(__self__, "nodes", nodes) + GetLogAnalyticsEntityTopologyItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + links=links, + nodes=nodes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + links: Sequence['outputs.GetLogAnalyticsEntityTopologyItemLinkResult'], + nodes: Sequence['outputs.GetLogAnalyticsEntityTopologyItemNodeResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("links", links) + _setter("nodes", nodes) @property @pulumi.getter @@ -1269,7 +1534,16 @@ def __init__(__self__, *, """ :param Sequence['GetLogAnalyticsEntityTopologyItemLinkItemArgs'] items: Array of log analytics entity summary. """ - pulumi.set(__self__, "items", items) + GetLogAnalyticsEntityTopologyItemLinkResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetLogAnalyticsEntityTopologyItemLinkItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1289,8 +1563,19 @@ def __init__(__self__, *, :param str destination_entity_id: The log analytics entity OCID. This ID is a reference used by log analytics features and it represents a resource that is provisioned and managed by the customer on their premises or on the cloud. :param str source_entity_id: The log analytics entity OCID. This ID is a reference used by log analytics features and it represents a resource that is provisioned and managed by the customer on their premises or on the cloud. """ - pulumi.set(__self__, "destination_entity_id", destination_entity_id) - pulumi.set(__self__, "source_entity_id", source_entity_id) + GetLogAnalyticsEntityTopologyItemLinkItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + destination_entity_id=destination_entity_id, + source_entity_id=source_entity_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + destination_entity_id: str, + source_entity_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("destination_entity_id", destination_entity_id) + _setter("source_entity_id", source_entity_id) @property @pulumi.getter(name="destinationEntityId") @@ -1316,7 +1601,16 @@ def __init__(__self__, *, """ :param Sequence['GetLogAnalyticsEntityTopologyItemNodeItemArgs'] items: Array of log analytics entity summary. """ - pulumi.set(__self__, "items", items) + GetLogAnalyticsEntityTopologyItemNodeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetLogAnalyticsEntityTopologyItemNodeItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1364,22 +1658,61 @@ def __init__(__self__, *, :param str time_updated: The date and time the resource was last updated, in the format defined by RFC3339. :param str timezone_region: The timezone region of the log analytics entity. """ - pulumi.set(__self__, "are_logs_collected", are_logs_collected) - pulumi.set(__self__, "cloud_resource_id", cloud_resource_id) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "entity_type_internal_name", entity_type_internal_name) - pulumi.set(__self__, "entity_type_name", entity_type_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "management_agent_id", management_agent_id) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "source_id", source_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "timezone_region", timezone_region) + GetLogAnalyticsEntityTopologyItemNodeItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + are_logs_collected=are_logs_collected, + cloud_resource_id=cloud_resource_id, + compartment_id=compartment_id, + defined_tags=defined_tags, + entity_type_internal_name=entity_type_internal_name, + entity_type_name=entity_type_name, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + management_agent_id=management_agent_id, + name=name, + source_id=source_id, + state=state, + time_created=time_created, + time_updated=time_updated, + timezone_region=timezone_region, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + are_logs_collected: bool, + cloud_resource_id: str, + compartment_id: str, + defined_tags: Mapping[str, Any], + entity_type_internal_name: str, + entity_type_name: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + management_agent_id: str, + name: str, + source_id: str, + state: str, + time_created: str, + time_updated: str, + timezone_region: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("are_logs_collected", are_logs_collected) + _setter("cloud_resource_id", cloud_resource_id) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("entity_type_internal_name", entity_type_internal_name) + _setter("entity_type_name", entity_type_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("management_agent_id", management_agent_id) + _setter("name", name) + _setter("source_id", source_id) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("timezone_region", timezone_region) @property @pulumi.getter(name="areLogsCollected") @@ -1516,10 +1849,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetLogAnalyticsLogGroupsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1541,7 +1887,16 @@ def regex(self) -> Optional[bool]: class GetLogAnalyticsLogGroupsLogAnalyticsLogGroupSummaryCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetLogAnalyticsLogGroupsLogAnalyticsLogGroupSummaryCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetLogAnalyticsLogGroupsLogAnalyticsLogGroupSummaryCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetLogAnalyticsLogGroupsLogAnalyticsLogGroupSummaryCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1572,15 +1927,40 @@ def __init__(__self__, *, :param str time_created: The date and time the resource was created, in the format defined by RFC3339. :param str time_updated: The date and time the resource was last updated, in the format defined by RFC3339. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetLogAnalyticsLogGroupsLogAnalyticsLogGroupSummaryCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + namespace=namespace, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + namespace: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("namespace", namespace) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -1662,10 +2042,25 @@ def __init__(__self__, *, match_value: str, property_name: str, property_value: str): - pulumi.set(__self__, "match_type", match_type) - pulumi.set(__self__, "match_value", match_value) - pulumi.set(__self__, "property_name", property_name) - pulumi.set(__self__, "property_value", property_value) + GetLogAnalyticsObjectCollectionRuleOverrideResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + match_type=match_type, + match_value=match_value, + property_name=property_name, + property_value=property_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + match_type: str, + match_value: str, + property_name: str, + property_value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("match_type", match_type) + _setter("match_value", match_value) + _setter("property_name", property_name) + _setter("property_value", property_value) @property @pulumi.getter(name="matchType") @@ -1697,10 +2092,23 @@ def __init__(__self__, *, """ :param str name: A filter to return rules only matching with this name. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetLogAnalyticsObjectCollectionRulesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1725,7 +2133,16 @@ def regex(self) -> Optional[bool]: class GetLogAnalyticsObjectCollectionRulesLogAnalyticsObjectCollectionRuleCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetLogAnalyticsObjectCollectionRulesLogAnalyticsObjectCollectionRuleCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetLogAnalyticsObjectCollectionRulesLogAnalyticsObjectCollectionRuleCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetLogAnalyticsObjectCollectionRulesLogAnalyticsObjectCollectionRuleCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1792,33 +2209,94 @@ def __init__(__self__, *, :param str time_updated: The time when this rule was last updated. An RFC3339 formatted datetime string. :param str timezone: Timezone to be used when processing log entries whose timestamps do not include an explicit timezone. When this property is not specified, the timezone of the entity specified is used. If the entity is also not specified or do not have a valid timezone then UTC is used. """ - pulumi.set(__self__, "char_encoding", char_encoding) - pulumi.set(__self__, "collection_type", collection_type) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "entity_id", entity_id) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "log_group_id", log_group_id) - pulumi.set(__self__, "log_set", log_set) - pulumi.set(__self__, "log_set_ext_regex", log_set_ext_regex) - pulumi.set(__self__, "log_set_key", log_set_key) - pulumi.set(__self__, "log_source_name", log_source_name) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "object_name_filters", object_name_filters) - pulumi.set(__self__, "os_bucket_name", os_bucket_name) - pulumi.set(__self__, "os_namespace", os_namespace) - pulumi.set(__self__, "overrides", overrides) - pulumi.set(__self__, "poll_since", poll_since) - pulumi.set(__self__, "poll_till", poll_till) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "timezone", timezone) + GetLogAnalyticsObjectCollectionRulesLogAnalyticsObjectCollectionRuleCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + char_encoding=char_encoding, + collection_type=collection_type, + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + entity_id=entity_id, + freeform_tags=freeform_tags, + id=id, + is_enabled=is_enabled, + lifecycle_details=lifecycle_details, + log_group_id=log_group_id, + log_set=log_set, + log_set_ext_regex=log_set_ext_regex, + log_set_key=log_set_key, + log_source_name=log_source_name, + name=name, + namespace=namespace, + object_name_filters=object_name_filters, + os_bucket_name=os_bucket_name, + os_namespace=os_namespace, + overrides=overrides, + poll_since=poll_since, + poll_till=poll_till, + state=state, + time_created=time_created, + time_updated=time_updated, + timezone=timezone, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + char_encoding: str, + collection_type: str, + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + entity_id: str, + freeform_tags: Mapping[str, Any], + id: str, + is_enabled: bool, + lifecycle_details: str, + log_group_id: str, + log_set: str, + log_set_ext_regex: str, + log_set_key: str, + log_source_name: str, + name: str, + namespace: str, + object_name_filters: Sequence[str], + os_bucket_name: str, + os_namespace: str, + overrides: Sequence['outputs.GetLogAnalyticsObjectCollectionRulesLogAnalyticsObjectCollectionRuleCollectionItemOverrideResult'], + poll_since: str, + poll_till: str, + state: str, + time_created: str, + time_updated: str, + timezone: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("char_encoding", char_encoding) + _setter("collection_type", collection_type) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("entity_id", entity_id) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_enabled", is_enabled) + _setter("lifecycle_details", lifecycle_details) + _setter("log_group_id", log_group_id) + _setter("log_set", log_set) + _setter("log_set_ext_regex", log_set_ext_regex) + _setter("log_set_key", log_set_key) + _setter("log_source_name", log_source_name) + _setter("name", name) + _setter("namespace", namespace) + _setter("object_name_filters", object_name_filters) + _setter("os_bucket_name", os_bucket_name) + _setter("os_namespace", os_namespace) + _setter("overrides", overrides) + _setter("poll_since", poll_since) + _setter("poll_till", poll_till) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("timezone", timezone) @property @pulumi.getter(name="charEncoding") @@ -2044,10 +2522,25 @@ def __init__(__self__, *, match_value: str, property_name: str, property_value: str): - pulumi.set(__self__, "match_type", match_type) - pulumi.set(__self__, "match_value", match_value) - pulumi.set(__self__, "property_name", property_name) - pulumi.set(__self__, "property_value", property_value) + GetLogAnalyticsObjectCollectionRulesLogAnalyticsObjectCollectionRuleCollectionItemOverrideResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + match_type=match_type, + match_value=match_value, + property_name=property_name, + property_value=property_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + match_type: str, + match_value: str, + property_name: str, + property_value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("match_type", match_type) + _setter("match_value", match_value) + _setter("property_name", property_name) + _setter("property_value", property_value) @property @pulumi.getter(name="matchType") @@ -2079,8 +2572,19 @@ def __init__(__self__, *, :param str name: The preference name. :param str value: The preference value. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + GetLogAnalyticsPreferenceItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("value", value) @property @pulumi.getter @@ -2114,11 +2618,28 @@ def __init__(__self__, *, :param str name: The unique name that identifies the category. :param str type: The category type. Values include "PRODUCT", "TIER", "VENDOR" and "GENERIC". """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "is_system", is_system) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "type", type) + GetLogAnalyticsResourceCategoriesListCategoryResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + display_name=display_name, + is_system=is_system, + name=name, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + display_name: str, + is_system: bool, + name: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("display_name", display_name) + _setter("is_system", is_system) + _setter("name", name) + _setter("type", type) @property @pulumi.getter @@ -2174,10 +2695,25 @@ def __init__(__self__, *, :param str resource_id: The unique identifier of the resource, usually a name or ocid. :param str resource_type: The resource type. """ - pulumi.set(__self__, "category_name", category_name) - pulumi.set(__self__, "is_system", is_system) - pulumi.set(__self__, "resource_id", resource_id) - pulumi.set(__self__, "resource_type", resource_type) + GetLogAnalyticsResourceCategoriesListItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + category_name=category_name, + is_system=is_system, + resource_id=resource_id, + resource_type=resource_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + category_name: str, + is_system: bool, + resource_id: str, + resource_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("category_name", category_name) + _setter("is_system", is_system) + _setter("resource_id", resource_id) + _setter("resource_type", resource_type) @property @pulumi.getter(name="categoryName") @@ -2219,7 +2755,16 @@ def __init__(__self__, *, """ :param Sequence['GetNamespaceEffectivePropertiesEffectivePropertyCollectionItemArgs'] items: A list of properties and their effective values. """ - pulumi.set(__self__, "items", items) + GetNamespaceEffectivePropertiesEffectivePropertyCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetNamespaceEffectivePropertiesEffectivePropertyCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -2243,10 +2788,25 @@ def __init__(__self__, *, :param Sequence['GetNamespaceEffectivePropertiesEffectivePropertyCollectionItemPatternArgs'] patterns: A list of pattern level override values for the property. :param str value: The effective value of the property. This is determined by considering the value set at the most effective level. """ - pulumi.set(__self__, "effective_level", effective_level) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "patterns", patterns) - pulumi.set(__self__, "value", value) + GetNamespaceEffectivePropertiesEffectivePropertyCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + effective_level=effective_level, + name=name, + patterns=patterns, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + effective_level: str, + name: str, + patterns: Sequence['outputs.GetNamespaceEffectivePropertiesEffectivePropertyCollectionItemPatternResult'], + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("effective_level", effective_level) + _setter("name", name) + _setter("patterns", patterns) + _setter("value", value) @property @pulumi.getter(name="effectiveLevel") @@ -2292,9 +2852,22 @@ def __init__(__self__, *, :param str id: The pattern id. :param str value: The effective value of the property. This is determined by considering the value set at the most effective level. """ - pulumi.set(__self__, "effective_level", effective_level) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "value", value) + GetNamespaceEffectivePropertiesEffectivePropertyCollectionItemPatternResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + effective_level=effective_level, + id=id, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + effective_level: str, + id: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("effective_level", effective_level) + _setter("id", id) + _setter("value", value) @property @pulumi.getter(name="effectiveLevel") @@ -2330,10 +2903,23 @@ def __init__(__self__, *, """ :param str name: The property name used for filtering. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetNamespaceEffectivePropertiesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2371,12 +2957,31 @@ def __init__(__self__, *, :param str resource_group: The resourceGroup of the extracted metric. A valid value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($). :param str type: Discriminator. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "dimensions", dimensions) - pulumi.set(__self__, "metric_name", metric_name) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "resource_group", resource_group) - pulumi.set(__self__, "type", type) + GetNamespaceIngestTimeRuleActionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + dimensions=dimensions, + metric_name=metric_name, + namespace=namespace, + resource_group=resource_group, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + dimensions: Sequence[str], + metric_name: str, + namespace: str, + resource_group: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("dimensions", dimensions) + _setter("metric_name", metric_name) + _setter("namespace", namespace) + _setter("resource_group", resource_group) + _setter("type", type) @property @pulumi.getter(name="compartmentId") @@ -2442,11 +3047,28 @@ def __init__(__self__, *, :param str field_value: The field value to be evaluated. :param str kind: Discriminator. """ - pulumi.set(__self__, "additional_conditions", additional_conditions) - pulumi.set(__self__, "field_name", field_name) - pulumi.set(__self__, "field_operator", field_operator) - pulumi.set(__self__, "field_value", field_value) - pulumi.set(__self__, "kind", kind) + GetNamespaceIngestTimeRuleConditionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + additional_conditions=additional_conditions, + field_name=field_name, + field_operator=field_operator, + field_value=field_value, + kind=kind, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + additional_conditions: Sequence['outputs.GetNamespaceIngestTimeRuleConditionAdditionalConditionResult'], + field_name: str, + field_operator: str, + field_value: str, + kind: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("additional_conditions", additional_conditions) + _setter("field_name", field_name) + _setter("field_operator", field_operator) + _setter("field_value", field_value) + _setter("kind", kind) @property @pulumi.getter(name="additionalConditions") @@ -2500,9 +3122,22 @@ def __init__(__self__, *, :param str condition_operator: The operator to be used for evaluating the additional field. :param str condition_value: The additional field value to be evaluated. """ - pulumi.set(__self__, "condition_field", condition_field) - pulumi.set(__self__, "condition_operator", condition_operator) - pulumi.set(__self__, "condition_value", condition_value) + GetNamespaceIngestTimeRuleConditionAdditionalConditionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + condition_field=condition_field, + condition_operator=condition_operator, + condition_value=condition_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + condition_field: str, + condition_operator: str, + condition_value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("condition_field", condition_field) + _setter("condition_operator", condition_operator) + _setter("condition_value", condition_value) @property @pulumi.getter(name="conditionField") @@ -2535,10 +3170,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetNamespaceIngestTimeRulesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2560,7 +3208,16 @@ def regex(self) -> Optional[bool]: class GetNamespaceIngestTimeRulesIngestTimeRuleSummaryCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetNamespaceIngestTimeRulesIngestTimeRuleSummaryCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetNamespaceIngestTimeRulesIngestTimeRuleSummaryCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetNamespaceIngestTimeRulesIngestTimeRuleSummaryCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -2599,19 +3256,52 @@ def __init__(__self__, *, :param str time_created: The date and time the resource was created, in the format defined by RFC3339. :param str time_updated: The date and time the resource was last updated, in the format defined by RFC3339. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "condition_kind", condition_kind) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "field_name", field_name) - pulumi.set(__self__, "field_value", field_value) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetNamespaceIngestTimeRulesIngestTimeRuleSummaryCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + condition_kind=condition_kind, + defined_tags=defined_tags, + description=description, + display_name=display_name, + field_name=field_name, + field_value=field_value, + freeform_tags=freeform_tags, + id=id, + is_enabled=is_enabled, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + condition_kind: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + field_name: str, + field_value: str, + freeform_tags: Mapping[str, Any], + id: str, + is_enabled: bool, + state: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("condition_kind", condition_kind) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("field_name", field_name) + _setter("field_value", field_value) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_enabled", is_enabled) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -2727,10 +3417,23 @@ def __init__(__self__, *, """ :param str name: The property name used for filtering. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetNamespacePropertiesMetadataFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2758,7 +3461,16 @@ def __init__(__self__, *, """ :param Sequence['GetNamespacePropertiesMetadataPropertyMetadataSummaryCollectionItemArgs'] items: An array of properties along with their metadata summary. """ - pulumi.set(__self__, "items", items) + GetNamespacePropertiesMetadataPropertyMetadataSummaryCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetNamespacePropertiesMetadataPropertyMetadataSummaryCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -2784,11 +3496,28 @@ def __init__(__self__, *, :param Sequence['GetNamespacePropertiesMetadataPropertyMetadataSummaryCollectionItemLevelArgs'] levels: A list of levels at which the property could be defined. :param str name: The property name used for filtering. """ - pulumi.set(__self__, "default_value", default_value) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "levels", levels) - pulumi.set(__self__, "name", name) + GetNamespacePropertiesMetadataPropertyMetadataSummaryCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + default_value=default_value, + description=description, + display_name=display_name, + levels=levels, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + default_value: str, + description: str, + display_name: str, + levels: Sequence['outputs.GetNamespacePropertiesMetadataPropertyMetadataSummaryCollectionItemLevelResult'], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("default_value", default_value) + _setter("description", description) + _setter("display_name", display_name) + _setter("levels", levels) + _setter("name", name) @property @pulumi.getter(name="defaultValue") @@ -2840,8 +3569,19 @@ def __init__(__self__, *, :param str constraints: The constraints that apply to the properties at a certain level. :param str name: The property name used for filtering. """ - pulumi.set(__self__, "constraints", constraints) - pulumi.set(__self__, "name", name) + GetNamespacePropertiesMetadataPropertyMetadataSummaryCollectionItemLevelResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + constraints=constraints, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + constraints: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("constraints", constraints) + _setter("name", name) @property @pulumi.getter @@ -2866,10 +3606,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetNamespaceRulesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2894,7 +3647,16 @@ def __init__(__self__, *, """ :param Sequence['GetNamespaceRulesRuleSummaryCollectionItemArgs'] items: An array of rule summary objects. """ - pulumi.set(__self__, "items", items) + GetNamespaceRulesRuleSummaryCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetNamespaceRulesRuleSummaryCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -2936,19 +3698,52 @@ def __init__(__self__, *, :param str time_last_executed: The date and time the scheduled task last executed, in the format defined by RFC3339. :param str time_updated: The date and time the resource was last updated, in the format defined by RFC3339. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "kind", kind) - pulumi.set(__self__, "last_execution_status", last_execution_status) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_last_executed", time_last_executed) - pulumi.set(__self__, "time_updated", time_updated) + GetNamespaceRulesRuleSummaryCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + is_enabled=is_enabled, + kind=kind, + last_execution_status=last_execution_status, + state=state, + time_created=time_created, + time_last_executed=time_last_executed, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + is_enabled: bool, + kind: str, + last_execution_status: str, + state: str, + time_created: str, + time_last_executed: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_enabled", is_enabled) + _setter("kind", kind) + _setter("last_execution_status", last_execution_status) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_last_executed", time_last_executed) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -3076,14 +3871,37 @@ def __init__(__self__, *, :param str saved_search_id: The ManagementSavedSearch id [OCID] utilized in the action. :param str type: Schedule type discriminator. """ - pulumi.set(__self__, "compartment_id_in_subtree", compartment_id_in_subtree) - pulumi.set(__self__, "data_type", data_type) - pulumi.set(__self__, "metric_extractions", metric_extractions) - pulumi.set(__self__, "purge_compartment_id", purge_compartment_id) - pulumi.set(__self__, "purge_duration", purge_duration) - pulumi.set(__self__, "query_string", query_string) - pulumi.set(__self__, "saved_search_id", saved_search_id) - pulumi.set(__self__, "type", type) + GetNamespaceScheduledTaskActionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id_in_subtree=compartment_id_in_subtree, + data_type=data_type, + metric_extractions=metric_extractions, + purge_compartment_id=purge_compartment_id, + purge_duration=purge_duration, + query_string=query_string, + saved_search_id=saved_search_id, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id_in_subtree: bool, + data_type: str, + metric_extractions: Sequence['outputs.GetNamespaceScheduledTaskActionMetricExtractionResult'], + purge_compartment_id: str, + purge_duration: str, + query_string: str, + saved_search_id: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id_in_subtree", compartment_id_in_subtree) + _setter("data_type", data_type) + _setter("metric_extractions", metric_extractions) + _setter("purge_compartment_id", purge_compartment_id) + _setter("purge_duration", purge_duration) + _setter("query_string", query_string) + _setter("saved_search_id", saved_search_id) + _setter("type", type) @property @pulumi.getter(name="compartmentIdInSubtree") @@ -3163,10 +3981,25 @@ def __init__(__self__, *, :param str namespace: The Logging Analytics namespace used for the request. :param str resource_group: The resource group of the extracted metric. A valid value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($). """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "metric_name", metric_name) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "resource_group", resource_group) + GetNamespaceScheduledTaskActionMetricExtractionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + metric_name=metric_name, + namespace=namespace, + resource_group=resource_group, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + metric_name: str, + namespace: str, + resource_group: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("metric_name", metric_name) + _setter("namespace", namespace) + _setter("resource_group", resource_group) @property @pulumi.getter(name="compartmentId") @@ -3205,7 +4038,16 @@ def resource_group(self) -> str: class GetNamespaceScheduledTaskScheduleResult(dict): def __init__(__self__, *, schedules: Sequence['outputs.GetNamespaceScheduledTaskScheduleScheduleResult']): - pulumi.set(__self__, "schedules", schedules) + GetNamespaceScheduledTaskScheduleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + schedules=schedules, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + schedules: Sequence['outputs.GetNamespaceScheduledTaskScheduleScheduleResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("schedules", schedules) @property @pulumi.getter @@ -3230,12 +4072,31 @@ def __init__(__self__, *, :param str time_zone: Time zone, by default UTC. :param str type: Schedule type discriminator. """ - pulumi.set(__self__, "expression", expression) - pulumi.set(__self__, "misfire_policy", misfire_policy) - pulumi.set(__self__, "recurring_interval", recurring_interval) - pulumi.set(__self__, "repeat_count", repeat_count) - pulumi.set(__self__, "time_zone", time_zone) - pulumi.set(__self__, "type", type) + GetNamespaceScheduledTaskScheduleScheduleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + expression=expression, + misfire_policy=misfire_policy, + recurring_interval=recurring_interval, + repeat_count=repeat_count, + time_zone=time_zone, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + expression: str, + misfire_policy: str, + recurring_interval: str, + repeat_count: int, + time_zone: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("expression", expression) + _setter("misfire_policy", misfire_policy) + _setter("recurring_interval", recurring_interval) + _setter("repeat_count", repeat_count) + _setter("time_zone", time_zone) + _setter("type", type) @property @pulumi.getter @@ -3292,10 +4153,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetNamespaceScheduledTasksFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3317,7 +4191,16 @@ def regex(self) -> Optional[bool]: class GetNamespaceScheduledTasksScheduledTaskCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetNamespaceScheduledTasksScheduledTaskCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetNamespaceScheduledTasksScheduledTaskCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetNamespaceScheduledTasksScheduledTaskCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -3364,24 +4247,67 @@ def __init__(__self__, *, :param str time_updated: The date and time the scheduled task was last updated, in the format defined by RFC3339. :param str work_request_id: most recent Work Request Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the asynchronous request. """ - pulumi.set(__self__, "actions", actions) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "kind", kind) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "num_occurrences", num_occurrences) - pulumi.set(__self__, "saved_search_id", saved_search_id) - pulumi.set(__self__, "scheduled_task_id", scheduled_task_id) - pulumi.set(__self__, "schedules", schedules) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "task_status", task_status) - pulumi.set(__self__, "task_type", task_type) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "work_request_id", work_request_id) + GetNamespaceScheduledTasksScheduledTaskCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + actions=actions, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + kind=kind, + namespace=namespace, + num_occurrences=num_occurrences, + saved_search_id=saved_search_id, + scheduled_task_id=scheduled_task_id, + schedules=schedules, + state=state, + task_status=task_status, + task_type=task_type, + time_created=time_created, + time_updated=time_updated, + work_request_id=work_request_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + actions: Sequence['outputs.GetNamespaceScheduledTasksScheduledTaskCollectionItemActionResult'], + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + kind: str, + namespace: str, + num_occurrences: str, + saved_search_id: str, + scheduled_task_id: str, + schedules: Sequence['outputs.GetNamespaceScheduledTasksScheduledTaskCollectionItemScheduleResult'], + state: str, + task_status: str, + task_type: str, + time_created: str, + time_updated: str, + work_request_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("actions", actions) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("kind", kind) + _setter("namespace", namespace) + _setter("num_occurrences", num_occurrences) + _setter("saved_search_id", saved_search_id) + _setter("scheduled_task_id", scheduled_task_id) + _setter("schedules", schedules) + _setter("state", state) + _setter("task_status", task_status) + _setter("task_type", task_type) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("work_request_id", work_request_id) @property @pulumi.getter @@ -3542,14 +4468,37 @@ def __init__(__self__, *, :param str saved_search_id: The ManagementSavedSearch id [OCID] utilized in the action. :param str type: Schedule type discriminator. """ - pulumi.set(__self__, "compartment_id_in_subtree", compartment_id_in_subtree) - pulumi.set(__self__, "data_type", data_type) - pulumi.set(__self__, "metric_extractions", metric_extractions) - pulumi.set(__self__, "purge_compartment_id", purge_compartment_id) - pulumi.set(__self__, "purge_duration", purge_duration) - pulumi.set(__self__, "query_string", query_string) - pulumi.set(__self__, "saved_search_id", saved_search_id) - pulumi.set(__self__, "type", type) + GetNamespaceScheduledTasksScheduledTaskCollectionItemActionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id_in_subtree=compartment_id_in_subtree, + data_type=data_type, + metric_extractions=metric_extractions, + purge_compartment_id=purge_compartment_id, + purge_duration=purge_duration, + query_string=query_string, + saved_search_id=saved_search_id, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id_in_subtree: bool, + data_type: str, + metric_extractions: Sequence['outputs.GetNamespaceScheduledTasksScheduledTaskCollectionItemActionMetricExtractionResult'], + purge_compartment_id: str, + purge_duration: str, + query_string: str, + saved_search_id: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id_in_subtree", compartment_id_in_subtree) + _setter("data_type", data_type) + _setter("metric_extractions", metric_extractions) + _setter("purge_compartment_id", purge_compartment_id) + _setter("purge_duration", purge_duration) + _setter("query_string", query_string) + _setter("saved_search_id", saved_search_id) + _setter("type", type) @property @pulumi.getter(name="compartmentIdInSubtree") @@ -3624,10 +4573,25 @@ def __init__(__self__, *, :param str compartment_id: The ID of the compartment in which to list resources. :param str namespace: The Logging Analytics namespace used for the request. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "metric_name", metric_name) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "resource_group", resource_group) + GetNamespaceScheduledTasksScheduledTaskCollectionItemActionMetricExtractionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + metric_name=metric_name, + namespace=namespace, + resource_group=resource_group, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + metric_name: str, + namespace: str, + resource_group: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("metric_name", metric_name) + _setter("namespace", namespace) + _setter("resource_group", resource_group) @property @pulumi.getter(name="compartmentId") @@ -3660,7 +4624,16 @@ def resource_group(self) -> str: class GetNamespaceScheduledTasksScheduledTaskCollectionItemScheduleResult(dict): def __init__(__self__, *, schedules: Sequence['outputs.GetNamespaceScheduledTasksScheduledTaskCollectionItemScheduleScheduleResult']): - pulumi.set(__self__, "schedules", schedules) + GetNamespaceScheduledTasksScheduledTaskCollectionItemScheduleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + schedules=schedules, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + schedules: Sequence['outputs.GetNamespaceScheduledTasksScheduledTaskCollectionItemScheduleScheduleResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("schedules", schedules) @property @pulumi.getter @@ -3685,12 +4658,31 @@ def __init__(__self__, *, :param str time_zone: Time zone, by default UTC. :param str type: Schedule type discriminator. """ - pulumi.set(__self__, "expression", expression) - pulumi.set(__self__, "misfire_policy", misfire_policy) - pulumi.set(__self__, "recurring_interval", recurring_interval) - pulumi.set(__self__, "repeat_count", repeat_count) - pulumi.set(__self__, "time_zone", time_zone) - pulumi.set(__self__, "type", type) + GetNamespaceScheduledTasksScheduledTaskCollectionItemScheduleScheduleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + expression=expression, + misfire_policy=misfire_policy, + recurring_interval=recurring_interval, + repeat_count=repeat_count, + time_zone=time_zone, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + expression: str, + misfire_policy: str, + recurring_interval: str, + repeat_count: int, + time_zone: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("expression", expression) + _setter("misfire_policy", misfire_policy) + _setter("recurring_interval", recurring_interval) + _setter("repeat_count", repeat_count) + _setter("time_zone", time_zone) + _setter("type", type) @property @pulumi.getter @@ -3752,9 +4744,22 @@ def __init__(__self__, *, :param str key_source: This is the source of the encryption key. :param str key_type: This is the type of data to be encrypted. It can be either active or archival. """ - pulumi.set(__self__, "key_id", key_id) - pulumi.set(__self__, "key_source", key_source) - pulumi.set(__self__, "key_type", key_type) + GetNamespaceStorageEncryptionKeyInfoItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key_id=key_id, + key_source=key_source, + key_type=key_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key_id: str, + key_source: str, + key_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key_id", key_id) + _setter("key_source", key_source) + _setter("key_type", key_type) @property @pulumi.getter(name="keyId") @@ -3787,10 +4792,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetNamespaceStorageOverlappingRecallsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3815,7 +4833,16 @@ def __init__(__self__, *, """ :param Sequence['GetNamespaceStorageOverlappingRecallsOverlappingRecallCollectionItemArgs'] items: This is the array of overlapping recall requests """ - pulumi.set(__self__, "items", items) + GetNamespaceStorageOverlappingRecallsOverlappingRecallCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetNamespaceStorageOverlappingRecallsOverlappingRecallCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -3847,14 +4874,37 @@ def __init__(__self__, *, :param str time_data_started: This is the start of the time range for recalled data :param str time_started: This is the time when the recall operation was started for this recall request """ - pulumi.set(__self__, "created_by", created_by) - pulumi.set(__self__, "log_sets", log_sets) - pulumi.set(__self__, "purpose", purpose) - pulumi.set(__self__, "query_string", query_string) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "time_data_ended", time_data_ended) - pulumi.set(__self__, "time_data_started", time_data_started) - pulumi.set(__self__, "time_started", time_started) + GetNamespaceStorageOverlappingRecallsOverlappingRecallCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created_by=created_by, + log_sets=log_sets, + purpose=purpose, + query_string=query_string, + status=status, + time_data_ended=time_data_ended, + time_data_started=time_data_started, + time_started=time_started, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created_by: str, + log_sets: str, + purpose: str, + query_string: str, + status: str, + time_data_ended: str, + time_data_started: str, + time_started: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created_by", created_by) + _setter("log_sets", log_sets) + _setter("purpose", purpose) + _setter("query_string", query_string) + _setter("status", status) + _setter("time_data_ended", time_data_ended) + _setter("time_data_started", time_data_started) + _setter("time_started", time_started) @property @pulumi.getter(name="createdBy") @@ -3927,10 +4977,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetNamespacesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3952,7 +5015,16 @@ def regex(self) -> Optional[bool]: class GetNamespacesNamespaceCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetNamespacesNamespaceCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetNamespacesNamespaceCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetNamespacesNamespaceCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -3971,9 +5043,22 @@ def __init__(__self__, *, :param bool is_onboarded: This indicates if the tenancy is onboarded to Logging Analytics :param str namespace: This is the namespace name of a tenancy """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "is_onboarded", is_onboarded) - pulumi.set(__self__, "namespace", namespace) + GetNamespacesNamespaceCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + is_onboarded=is_onboarded, + namespace=namespace, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + is_onboarded: bool, + namespace: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("is_onboarded", is_onboarded) + _setter("namespace", namespace) @property @pulumi.getter(name="compartmentId") diff --git a/sdk/python/pulumi_oci/logging/_inputs.py b/sdk/python/pulumi_oci/logging/_inputs.py index 21c0129ed7..c32e91372b 100644 --- a/sdk/python/pulumi_oci/logging/_inputs.py +++ b/sdk/python/pulumi_oci/logging/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -34,9 +34,20 @@ def __init__(__self__, *, :param pulumi.Input['LogConfigurationSourceArgs'] source: The source the log object comes from. :param pulumi.Input[str] compartment_id: The OCID of the compartment that the resource belongs to. """ - pulumi.set(__self__, "source", source) + LogConfigurationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + source=source, + compartment_id=compartment_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + source: pulumi.Input['LogConfigurationSourceArgs'], + compartment_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("source", source) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) @property @pulumi.getter @@ -77,10 +88,25 @@ def __init__(__self__, *, :param pulumi.Input[str] source_type: The log source. * **OCISERVICE:** Oracle Service. """ - pulumi.set(__self__, "category", category) - pulumi.set(__self__, "resource", resource) - pulumi.set(__self__, "service", service) - pulumi.set(__self__, "source_type", source_type) + LogConfigurationSourceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + category=category, + resource=resource, + service=service, + source_type=source_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + category: pulumi.Input[str], + resource: pulumi.Input[str], + service: pulumi.Input[str], + source_type: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("category", category) + _setter("resource", resource) + _setter("service", service) + _setter("source_type", source_type) @property @pulumi.getter @@ -139,8 +165,17 @@ def __init__(__self__, *, """ :param pulumi.Input[Sequence[pulumi.Input[str]]] group_lists: (Updatable) list of group/dynamic group ids associated with this configuration. """ + UnifiedAgentConfigurationGroupAssociationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + group_lists=group_lists, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + group_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if group_lists is not None: - pulumi.set(__self__, "group_lists", group_lists) + _setter("group_lists", group_lists) @property @pulumi.getter(name="groupLists") @@ -166,9 +201,22 @@ def __init__(__self__, *, :param pulumi.Input['UnifiedAgentConfigurationServiceConfigurationDestinationArgs'] destination: (Updatable) Logging destination object. :param pulumi.Input[Sequence[pulumi.Input['UnifiedAgentConfigurationServiceConfigurationSourceArgs']]] sources: (Updatable) Logging source object. """ - pulumi.set(__self__, "configuration_type", configuration_type) - pulumi.set(__self__, "destination", destination) - pulumi.set(__self__, "sources", sources) + UnifiedAgentConfigurationServiceConfigurationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + configuration_type=configuration_type, + destination=destination, + sources=sources, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + configuration_type: pulumi.Input[str], + destination: pulumi.Input['UnifiedAgentConfigurationServiceConfigurationDestinationArgs'], + sources: pulumi.Input[Sequence[pulumi.Input['UnifiedAgentConfigurationServiceConfigurationSourceArgs']]], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("configuration_type", configuration_type) + _setter("destination", destination) + _setter("sources", sources) @property @pulumi.getter(name="configurationType") @@ -214,7 +262,16 @@ def __init__(__self__, *, """ :param pulumi.Input[str] log_object_id: (Updatable) The OCID of the resource. """ - pulumi.set(__self__, "log_object_id", log_object_id) + UnifiedAgentConfigurationServiceConfigurationDestinationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + log_object_id=log_object_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + log_object_id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("log_object_id", log_object_id) @property @pulumi.getter(name="logObjectId") @@ -248,15 +305,32 @@ def __init__(__self__, *, :param pulumi.Input['UnifiedAgentConfigurationServiceConfigurationSourceParserArgs'] parser: (Updatable) source parser object. :param pulumi.Input[Sequence[pulumi.Input[str]]] paths: (Updatable) Absolute paths for log source files. Wildcard can be used. """ - pulumi.set(__self__, "source_type", source_type) + UnifiedAgentConfigurationServiceConfigurationSourceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + source_type=source_type, + channels=channels, + name=name, + parser=parser, + paths=paths, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + source_type: pulumi.Input[str], + channels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + name: Optional[pulumi.Input[str]] = None, + parser: Optional[pulumi.Input['UnifiedAgentConfigurationServiceConfigurationSourceParserArgs']] = None, + paths: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("source_type", source_type) if channels is not None: - pulumi.set(__self__, "channels", channels) + _setter("channels", channels) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if parser is not None: - pulumi.set(__self__, "parser", parser) + _setter("parser", parser) if paths is not None: - pulumi.set(__self__, "paths", paths) + _setter("paths", paths) @property @pulumi.getter(name="sourceType") @@ -388,59 +462,120 @@ def __init__(__self__, *, record: { "host" : "192.168.0.1", "req_id" : "111", "user" : "-" } """ - pulumi.set(__self__, "parser_type", parser_type) + UnifiedAgentConfigurationServiceConfigurationSourceParserArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + parser_type=parser_type, + delimiter=delimiter, + expression=expression, + field_time_key=field_time_key, + format_firstline=format_firstline, + formats=formats, + grok_failure_key=grok_failure_key, + grok_name_key=grok_name_key, + is_estimate_current_event=is_estimate_current_event, + is_keep_time_key=is_keep_time_key, + is_merge_cri_fields=is_merge_cri_fields, + is_null_empty_string=is_null_empty_string, + is_support_colonless_ident=is_support_colonless_ident, + is_with_priority=is_with_priority, + keys=keys, + message_format=message_format, + message_key=message_key, + multi_line_start_regexp=multi_line_start_regexp, + nested_parser=nested_parser, + null_value_pattern=null_value_pattern, + patterns=patterns, + rfc5424time_format=rfc5424time_format, + syslog_parser_type=syslog_parser_type, + time_format=time_format, + time_type=time_type, + timeout_in_milliseconds=timeout_in_milliseconds, + types=types, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + parser_type: pulumi.Input[str], + delimiter: Optional[pulumi.Input[str]] = None, + expression: Optional[pulumi.Input[str]] = None, + field_time_key: Optional[pulumi.Input[str]] = None, + format_firstline: Optional[pulumi.Input[str]] = None, + formats: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + grok_failure_key: Optional[pulumi.Input[str]] = None, + grok_name_key: Optional[pulumi.Input[str]] = None, + is_estimate_current_event: Optional[pulumi.Input[bool]] = None, + is_keep_time_key: Optional[pulumi.Input[bool]] = None, + is_merge_cri_fields: Optional[pulumi.Input[bool]] = None, + is_null_empty_string: Optional[pulumi.Input[bool]] = None, + is_support_colonless_ident: Optional[pulumi.Input[bool]] = None, + is_with_priority: Optional[pulumi.Input[bool]] = None, + keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + message_format: Optional[pulumi.Input[str]] = None, + message_key: Optional[pulumi.Input[str]] = None, + multi_line_start_regexp: Optional[pulumi.Input[str]] = None, + nested_parser: Optional[pulumi.Input['UnifiedAgentConfigurationServiceConfigurationSourceParserNestedParserArgs']] = None, + null_value_pattern: Optional[pulumi.Input[str]] = None, + patterns: Optional[pulumi.Input[Sequence[pulumi.Input['UnifiedAgentConfigurationServiceConfigurationSourceParserPatternArgs']]]] = None, + rfc5424time_format: Optional[pulumi.Input[str]] = None, + syslog_parser_type: Optional[pulumi.Input[str]] = None, + time_format: Optional[pulumi.Input[str]] = None, + time_type: Optional[pulumi.Input[str]] = None, + timeout_in_milliseconds: Optional[pulumi.Input[int]] = None, + types: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("parser_type", parser_type) if delimiter is not None: - pulumi.set(__self__, "delimiter", delimiter) + _setter("delimiter", delimiter) if expression is not None: - pulumi.set(__self__, "expression", expression) + _setter("expression", expression) if field_time_key is not None: - pulumi.set(__self__, "field_time_key", field_time_key) + _setter("field_time_key", field_time_key) if format_firstline is not None: - pulumi.set(__self__, "format_firstline", format_firstline) + _setter("format_firstline", format_firstline) if formats is not None: - pulumi.set(__self__, "formats", formats) + _setter("formats", formats) if grok_failure_key is not None: - pulumi.set(__self__, "grok_failure_key", grok_failure_key) + _setter("grok_failure_key", grok_failure_key) if grok_name_key is not None: - pulumi.set(__self__, "grok_name_key", grok_name_key) + _setter("grok_name_key", grok_name_key) if is_estimate_current_event is not None: - pulumi.set(__self__, "is_estimate_current_event", is_estimate_current_event) + _setter("is_estimate_current_event", is_estimate_current_event) if is_keep_time_key is not None: - pulumi.set(__self__, "is_keep_time_key", is_keep_time_key) + _setter("is_keep_time_key", is_keep_time_key) if is_merge_cri_fields is not None: - pulumi.set(__self__, "is_merge_cri_fields", is_merge_cri_fields) + _setter("is_merge_cri_fields", is_merge_cri_fields) if is_null_empty_string is not None: - pulumi.set(__self__, "is_null_empty_string", is_null_empty_string) + _setter("is_null_empty_string", is_null_empty_string) if is_support_colonless_ident is not None: - pulumi.set(__self__, "is_support_colonless_ident", is_support_colonless_ident) + _setter("is_support_colonless_ident", is_support_colonless_ident) if is_with_priority is not None: - pulumi.set(__self__, "is_with_priority", is_with_priority) + _setter("is_with_priority", is_with_priority) if keys is not None: - pulumi.set(__self__, "keys", keys) + _setter("keys", keys) if message_format is not None: - pulumi.set(__self__, "message_format", message_format) + _setter("message_format", message_format) if message_key is not None: - pulumi.set(__self__, "message_key", message_key) + _setter("message_key", message_key) if multi_line_start_regexp is not None: - pulumi.set(__self__, "multi_line_start_regexp", multi_line_start_regexp) + _setter("multi_line_start_regexp", multi_line_start_regexp) if nested_parser is not None: - pulumi.set(__self__, "nested_parser", nested_parser) + _setter("nested_parser", nested_parser) if null_value_pattern is not None: - pulumi.set(__self__, "null_value_pattern", null_value_pattern) + _setter("null_value_pattern", null_value_pattern) if patterns is not None: - pulumi.set(__self__, "patterns", patterns) + _setter("patterns", patterns) if rfc5424time_format is not None: - pulumi.set(__self__, "rfc5424time_format", rfc5424time_format) + _setter("rfc5424time_format", rfc5424time_format) if syslog_parser_type is not None: - pulumi.set(__self__, "syslog_parser_type", syslog_parser_type) + _setter("syslog_parser_type", syslog_parser_type) if time_format is not None: - pulumi.set(__self__, "time_format", time_format) + _setter("time_format", time_format) if time_type is not None: - pulumi.set(__self__, "time_type", time_type) + _setter("time_type", time_type) if timeout_in_milliseconds is not None: - pulumi.set(__self__, "timeout_in_milliseconds", timeout_in_milliseconds) + _setter("timeout_in_milliseconds", timeout_in_milliseconds) if types is not None: - pulumi.set(__self__, "types", types) + _setter("types", types) @property @pulumi.getter(name="parserType") @@ -786,14 +921,29 @@ def __init__(__self__, *, :param pulumi.Input[str] time_format: (Updatable) Process time value using the specified format. :param pulumi.Input[str] time_type: (Updatable) Time type of JSON parser. """ + UnifiedAgentConfigurationServiceConfigurationSourceParserNestedParserArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + field_time_key=field_time_key, + is_keep_time_key=is_keep_time_key, + time_format=time_format, + time_type=time_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + field_time_key: Optional[pulumi.Input[str]] = None, + is_keep_time_key: Optional[pulumi.Input[bool]] = None, + time_format: Optional[pulumi.Input[str]] = None, + time_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if field_time_key is not None: - pulumi.set(__self__, "field_time_key", field_time_key) + _setter("field_time_key", field_time_key) if is_keep_time_key is not None: - pulumi.set(__self__, "is_keep_time_key", is_keep_time_key) + _setter("is_keep_time_key", is_keep_time_key) if time_format is not None: - pulumi.set(__self__, "time_format", time_format) + _setter("time_format", time_format) if time_type is not None: - pulumi.set(__self__, "time_type", time_type) + _setter("time_type", time_type) @property @pulumi.getter(name="fieldTimeKey") @@ -859,16 +1009,33 @@ def __init__(__self__, *, :param pulumi.Input[str] name: (Updatable) The name key to tag this grok pattern. :param pulumi.Input[str] pattern: (Updatable) The grok pattern. """ + UnifiedAgentConfigurationServiceConfigurationSourceParserPatternArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + field_time_format=field_time_format, + field_time_key=field_time_key, + field_time_zone=field_time_zone, + name=name, + pattern=pattern, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + field_time_format: Optional[pulumi.Input[str]] = None, + field_time_key: Optional[pulumi.Input[str]] = None, + field_time_zone: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + pattern: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if field_time_format is not None: - pulumi.set(__self__, "field_time_format", field_time_format) + _setter("field_time_format", field_time_format) if field_time_key is not None: - pulumi.set(__self__, "field_time_key", field_time_key) + _setter("field_time_key", field_time_key) if field_time_zone is not None: - pulumi.set(__self__, "field_time_zone", field_time_zone) + _setter("field_time_zone", field_time_zone) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if pattern is not None: - pulumi.set(__self__, "pattern", pattern) + _setter("pattern", pattern) @property @pulumi.getter(name="fieldTimeFormat") @@ -937,10 +1104,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetLogGroupsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -979,10 +1159,23 @@ def __init__(__self__, *, """ :param str name: Resource name. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetLogSavedSearchesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1021,10 +1214,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetLogsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1063,10 +1269,23 @@ def __init__(__self__, *, """ :param str name: The name key to tag this grok pattern. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetUnifiedAgentConfigurationsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/logging/get_log.py b/sdk/python/pulumi_oci/logging/get_log.py index 09efa3169e..96f57dc31d 100644 --- a/sdk/python/pulumi_oci/logging/get_log.py +++ b/sdk/python/pulumi_oci/logging/get_log.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/logging/get_log_group.py b/sdk/python/pulumi_oci/logging/get_log_group.py index fd74f79b9e..770d010ca7 100644 --- a/sdk/python/pulumi_oci/logging/get_log_group.py +++ b/sdk/python/pulumi_oci/logging/get_log_group.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/logging/get_log_groups.py b/sdk/python/pulumi_oci/logging/get_log_groups.py index ae71390b48..b730dd7a16 100644 --- a/sdk/python/pulumi_oci/logging/get_log_groups.py +++ b/sdk/python/pulumi_oci/logging/get_log_groups.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/logging/get_log_saved_search.py b/sdk/python/pulumi_oci/logging/get_log_saved_search.py index 81ea162463..cd9ce3c823 100644 --- a/sdk/python/pulumi_oci/logging/get_log_saved_search.py +++ b/sdk/python/pulumi_oci/logging/get_log_saved_search.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/logging/get_log_saved_searches.py b/sdk/python/pulumi_oci/logging/get_log_saved_searches.py index 5de008c8ff..6b48a320fd 100644 --- a/sdk/python/pulumi_oci/logging/get_log_saved_searches.py +++ b/sdk/python/pulumi_oci/logging/get_log_saved_searches.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/logging/get_logs.py b/sdk/python/pulumi_oci/logging/get_logs.py index c8423a3f95..d53f1aa531 100644 --- a/sdk/python/pulumi_oci/logging/get_logs.py +++ b/sdk/python/pulumi_oci/logging/get_logs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/logging/get_unified_agent_configuration.py b/sdk/python/pulumi_oci/logging/get_unified_agent_configuration.py index 4f1ee04d5d..20274277b1 100644 --- a/sdk/python/pulumi_oci/logging/get_unified_agent_configuration.py +++ b/sdk/python/pulumi_oci/logging/get_unified_agent_configuration.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/logging/get_unified_agent_configurations.py b/sdk/python/pulumi_oci/logging/get_unified_agent_configurations.py index 6ca0b0e659..332f42e9b8 100644 --- a/sdk/python/pulumi_oci/logging/get_unified_agent_configurations.py +++ b/sdk/python/pulumi_oci/logging/get_unified_agent_configurations.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/logging/log.py b/sdk/python/pulumi_oci/logging/log.py index 206a3bd30b..ae99c32578 100644 --- a/sdk/python/pulumi_oci/logging/log.py +++ b/sdk/python/pulumi_oci/logging/log.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -39,19 +39,42 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "log_group_id", log_group_id) - pulumi.set(__self__, "log_type", log_type) + LogArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + log_group_id=log_group_id, + log_type=log_type, + configuration=configuration, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + is_enabled=is_enabled, + retention_duration=retention_duration, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: pulumi.Input[str], + log_group_id: pulumi.Input[str], + log_type: pulumi.Input[str], + configuration: Optional[pulumi.Input['LogConfigurationArgs']] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_enabled: Optional[pulumi.Input[bool]] = None, + retention_duration: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("log_group_id", log_group_id) + _setter("log_type", log_type) if configuration is not None: - pulumi.set(__self__, "configuration", configuration) + _setter("configuration", configuration) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) if retention_duration is not None: - pulumi.set(__self__, "retention_duration", retention_duration) + _setter("retention_duration", retention_duration) @property @pulumi.getter(name="displayName") @@ -190,32 +213,65 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: Time the resource was created. :param pulumi.Input[str] time_last_modified: Time the resource was last modified. """ + _LogState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + configuration=configuration, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + is_enabled=is_enabled, + log_group_id=log_group_id, + log_type=log_type, + retention_duration=retention_duration, + state=state, + tenancy_id=tenancy_id, + time_created=time_created, + time_last_modified=time_last_modified, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + configuration: Optional[pulumi.Input['LogConfigurationArgs']] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_enabled: Optional[pulumi.Input[bool]] = None, + log_group_id: Optional[pulumi.Input[str]] = None, + log_type: Optional[pulumi.Input[str]] = None, + retention_duration: Optional[pulumi.Input[int]] = None, + state: Optional[pulumi.Input[str]] = None, + tenancy_id: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_last_modified: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if configuration is not None: - pulumi.set(__self__, "configuration", configuration) + _setter("configuration", configuration) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) if log_group_id is not None: - pulumi.set(__self__, "log_group_id", log_group_id) + _setter("log_group_id", log_group_id) if log_type is not None: - pulumi.set(__self__, "log_type", log_type) + _setter("log_type", log_type) if retention_duration is not None: - pulumi.set(__self__, "retention_duration", retention_duration) + _setter("retention_duration", retention_duration) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if tenancy_id is not None: - pulumi.set(__self__, "tenancy_id", tenancy_id) + _setter("tenancy_id", tenancy_id) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_last_modified is not None: - pulumi.set(__self__, "time_last_modified", time_last_modified) + _setter("time_last_modified", time_last_modified) @property @pulumi.getter(name="compartmentId") @@ -509,6 +565,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + LogArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -531,6 +591,11 @@ def _internal_init(__self__, raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = LogArgs.__new__(LogArgs) + if configuration is not None and not isinstance(configuration, LogConfigurationArgs): + configuration = configuration or {} + def _setter(key, value): + configuration[key] = value + LogConfigurationArgs._configure(_setter, **configuration) __props__.__dict__["configuration"] = configuration __props__.__dict__["defined_tags"] = defined_tags if display_name is None and not opts.urn: diff --git a/sdk/python/pulumi_oci/logging/log_group.py b/sdk/python/pulumi_oci/logging/log_group.py index 7245ccb6a7..dcd87fcac3 100644 --- a/sdk/python/pulumi_oci/logging/log_group.py +++ b/sdk/python/pulumi_oci/logging/log_group.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['LogGroupArgs', 'LogGroup'] @@ -31,14 +31,31 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) + LogGroupArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="compartmentId") @@ -131,22 +148,45 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: Time the resource was created. :param pulumi.Input[str] time_last_modified: Time the resource was last modified. """ + _LogGroupState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + state=state, + time_created=time_created, + time_last_modified=time_last_modified, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_last_modified: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_last_modified is not None: - pulumi.set(__self__, "time_last_modified", time_last_modified) + _setter("time_last_modified", time_last_modified) @property @pulumi.getter(name="compartmentId") @@ -352,6 +392,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + LogGroupArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/logging/log_saved_search.py b/sdk/python/pulumi_oci/logging/log_saved_search.py index 8244702625..7f9a348720 100644 --- a/sdk/python/pulumi_oci/logging/log_saved_search.py +++ b/sdk/python/pulumi_oci/logging/log_saved_search.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['LogSavedSearchArgs', 'LogSavedSearch'] @@ -33,16 +33,35 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] freeform_tags: (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` :param pulumi.Input[str] name: (Updatable) The user-friendly display name. This must be unique within the enclosing resource, and it's changeable. Avoid entering confidential information. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "query", query) + LogSavedSearchArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + query=query, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + query: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("query", query) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter(name="compartmentId") @@ -149,24 +168,49 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: Time the resource was created. :param pulumi.Input[str] time_last_modified: Time the resource was last modified. """ + _LogSavedSearchState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + name=name, + query=query, + state=state, + time_created=time_created, + time_last_modified=time_last_modified, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + name: Optional[pulumi.Input[str]] = None, + query: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_last_modified: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if query is not None: - pulumi.set(__self__, "query", query) + _setter("query", query) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_last_modified is not None: - pulumi.set(__self__, "time_last_modified", time_last_modified) + _setter("time_last_modified", time_last_modified) @property @pulumi.getter(name="compartmentId") @@ -384,6 +428,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + LogSavedSearchArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/logging/outputs.py b/sdk/python/pulumi_oci/logging/outputs.py index 8ca86729b1..2e5ddb6827 100644 --- a/sdk/python/pulumi_oci/logging/outputs.py +++ b/sdk/python/pulumi_oci/logging/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -69,9 +69,20 @@ def __init__(__self__, *, :param 'LogConfigurationSourceArgs' source: The source the log object comes from. :param str compartment_id: The OCID of the compartment that the resource belongs to. """ - pulumi.set(__self__, "source", source) + LogConfiguration._configure( + lambda key, value: pulumi.set(__self__, key, value), + source=source, + compartment_id=compartment_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + source: 'outputs.LogConfigurationSource', + compartment_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("source", source) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) @property @pulumi.getter @@ -121,10 +132,25 @@ def __init__(__self__, *, :param str source_type: The log source. * **OCISERVICE:** Oracle Service. """ - pulumi.set(__self__, "category", category) - pulumi.set(__self__, "resource", resource) - pulumi.set(__self__, "service", service) - pulumi.set(__self__, "source_type", source_type) + LogConfigurationSource._configure( + lambda key, value: pulumi.set(__self__, key, value), + category=category, + resource=resource, + service=service, + source_type=source_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + category: str, + resource: str, + service: str, + source_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("category", category) + _setter("resource", resource) + _setter("service", service) + _setter("source_type", source_type) @property @pulumi.getter @@ -184,8 +210,17 @@ def __init__(__self__, *, """ :param Sequence[str] group_lists: (Updatable) list of group/dynamic group ids associated with this configuration. """ + UnifiedAgentConfigurationGroupAssociation._configure( + lambda key, value: pulumi.set(__self__, key, value), + group_lists=group_lists, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + group_lists: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if group_lists is not None: - pulumi.set(__self__, "group_lists", group_lists) + _setter("group_lists", group_lists) @property @pulumi.getter(name="groupLists") @@ -224,9 +259,22 @@ def __init__(__self__, *, :param 'UnifiedAgentConfigurationServiceConfigurationDestinationArgs' destination: (Updatable) Logging destination object. :param Sequence['UnifiedAgentConfigurationServiceConfigurationSourceArgs'] sources: (Updatable) Logging source object. """ - pulumi.set(__self__, "configuration_type", configuration_type) - pulumi.set(__self__, "destination", destination) - pulumi.set(__self__, "sources", sources) + UnifiedAgentConfigurationServiceConfiguration._configure( + lambda key, value: pulumi.set(__self__, key, value), + configuration_type=configuration_type, + destination=destination, + sources=sources, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + configuration_type: str, + destination: 'outputs.UnifiedAgentConfigurationServiceConfigurationDestination', + sources: Sequence['outputs.UnifiedAgentConfigurationServiceConfigurationSource'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("configuration_type", configuration_type) + _setter("destination", destination) + _setter("sources", sources) @property @pulumi.getter(name="configurationType") @@ -277,7 +325,16 @@ def __init__(__self__, *, """ :param str log_object_id: (Updatable) The OCID of the resource. """ - pulumi.set(__self__, "log_object_id", log_object_id) + UnifiedAgentConfigurationServiceConfigurationDestination._configure( + lambda key, value: pulumi.set(__self__, key, value), + log_object_id=log_object_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + log_object_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("log_object_id", log_object_id) @property @pulumi.getter(name="logObjectId") @@ -324,15 +381,32 @@ def __init__(__self__, *, :param 'UnifiedAgentConfigurationServiceConfigurationSourceParserArgs' parser: (Updatable) source parser object. :param Sequence[str] paths: (Updatable) Absolute paths for log source files. Wildcard can be used. """ - pulumi.set(__self__, "source_type", source_type) + UnifiedAgentConfigurationServiceConfigurationSource._configure( + lambda key, value: pulumi.set(__self__, key, value), + source_type=source_type, + channels=channels, + name=name, + parser=parser, + paths=paths, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + source_type: str, + channels: Optional[Sequence[str]] = None, + name: Optional[str] = None, + parser: Optional['outputs.UnifiedAgentConfigurationServiceConfigurationSourceParser'] = None, + paths: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("source_type", source_type) if channels is not None: - pulumi.set(__self__, "channels", channels) + _setter("channels", channels) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if parser is not None: - pulumi.set(__self__, "parser", parser) + _setter("parser", parser) if paths is not None: - pulumi.set(__self__, "paths", paths) + _setter("paths", paths) @property @pulumi.getter(name="sourceType") @@ -501,59 +575,120 @@ def __init__(__self__, *, record: { "host" : "192.168.0.1", "req_id" : "111", "user" : "-" } """ - pulumi.set(__self__, "parser_type", parser_type) + UnifiedAgentConfigurationServiceConfigurationSourceParser._configure( + lambda key, value: pulumi.set(__self__, key, value), + parser_type=parser_type, + delimiter=delimiter, + expression=expression, + field_time_key=field_time_key, + format_firstline=format_firstline, + formats=formats, + grok_failure_key=grok_failure_key, + grok_name_key=grok_name_key, + is_estimate_current_event=is_estimate_current_event, + is_keep_time_key=is_keep_time_key, + is_merge_cri_fields=is_merge_cri_fields, + is_null_empty_string=is_null_empty_string, + is_support_colonless_ident=is_support_colonless_ident, + is_with_priority=is_with_priority, + keys=keys, + message_format=message_format, + message_key=message_key, + multi_line_start_regexp=multi_line_start_regexp, + nested_parser=nested_parser, + null_value_pattern=null_value_pattern, + patterns=patterns, + rfc5424time_format=rfc5424time_format, + syslog_parser_type=syslog_parser_type, + time_format=time_format, + time_type=time_type, + timeout_in_milliseconds=timeout_in_milliseconds, + types=types, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + parser_type: str, + delimiter: Optional[str] = None, + expression: Optional[str] = None, + field_time_key: Optional[str] = None, + format_firstline: Optional[str] = None, + formats: Optional[Sequence[str]] = None, + grok_failure_key: Optional[str] = None, + grok_name_key: Optional[str] = None, + is_estimate_current_event: Optional[bool] = None, + is_keep_time_key: Optional[bool] = None, + is_merge_cri_fields: Optional[bool] = None, + is_null_empty_string: Optional[bool] = None, + is_support_colonless_ident: Optional[bool] = None, + is_with_priority: Optional[bool] = None, + keys: Optional[Sequence[str]] = None, + message_format: Optional[str] = None, + message_key: Optional[str] = None, + multi_line_start_regexp: Optional[str] = None, + nested_parser: Optional['outputs.UnifiedAgentConfigurationServiceConfigurationSourceParserNestedParser'] = None, + null_value_pattern: Optional[str] = None, + patterns: Optional[Sequence['outputs.UnifiedAgentConfigurationServiceConfigurationSourceParserPattern']] = None, + rfc5424time_format: Optional[str] = None, + syslog_parser_type: Optional[str] = None, + time_format: Optional[str] = None, + time_type: Optional[str] = None, + timeout_in_milliseconds: Optional[int] = None, + types: Optional[Mapping[str, Any]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("parser_type", parser_type) if delimiter is not None: - pulumi.set(__self__, "delimiter", delimiter) + _setter("delimiter", delimiter) if expression is not None: - pulumi.set(__self__, "expression", expression) + _setter("expression", expression) if field_time_key is not None: - pulumi.set(__self__, "field_time_key", field_time_key) + _setter("field_time_key", field_time_key) if format_firstline is not None: - pulumi.set(__self__, "format_firstline", format_firstline) + _setter("format_firstline", format_firstline) if formats is not None: - pulumi.set(__self__, "formats", formats) + _setter("formats", formats) if grok_failure_key is not None: - pulumi.set(__self__, "grok_failure_key", grok_failure_key) + _setter("grok_failure_key", grok_failure_key) if grok_name_key is not None: - pulumi.set(__self__, "grok_name_key", grok_name_key) + _setter("grok_name_key", grok_name_key) if is_estimate_current_event is not None: - pulumi.set(__self__, "is_estimate_current_event", is_estimate_current_event) + _setter("is_estimate_current_event", is_estimate_current_event) if is_keep_time_key is not None: - pulumi.set(__self__, "is_keep_time_key", is_keep_time_key) + _setter("is_keep_time_key", is_keep_time_key) if is_merge_cri_fields is not None: - pulumi.set(__self__, "is_merge_cri_fields", is_merge_cri_fields) + _setter("is_merge_cri_fields", is_merge_cri_fields) if is_null_empty_string is not None: - pulumi.set(__self__, "is_null_empty_string", is_null_empty_string) + _setter("is_null_empty_string", is_null_empty_string) if is_support_colonless_ident is not None: - pulumi.set(__self__, "is_support_colonless_ident", is_support_colonless_ident) + _setter("is_support_colonless_ident", is_support_colonless_ident) if is_with_priority is not None: - pulumi.set(__self__, "is_with_priority", is_with_priority) + _setter("is_with_priority", is_with_priority) if keys is not None: - pulumi.set(__self__, "keys", keys) + _setter("keys", keys) if message_format is not None: - pulumi.set(__self__, "message_format", message_format) + _setter("message_format", message_format) if message_key is not None: - pulumi.set(__self__, "message_key", message_key) + _setter("message_key", message_key) if multi_line_start_regexp is not None: - pulumi.set(__self__, "multi_line_start_regexp", multi_line_start_regexp) + _setter("multi_line_start_regexp", multi_line_start_regexp) if nested_parser is not None: - pulumi.set(__self__, "nested_parser", nested_parser) + _setter("nested_parser", nested_parser) if null_value_pattern is not None: - pulumi.set(__self__, "null_value_pattern", null_value_pattern) + _setter("null_value_pattern", null_value_pattern) if patterns is not None: - pulumi.set(__self__, "patterns", patterns) + _setter("patterns", patterns) if rfc5424time_format is not None: - pulumi.set(__self__, "rfc5424time_format", rfc5424time_format) + _setter("rfc5424time_format", rfc5424time_format) if syslog_parser_type is not None: - pulumi.set(__self__, "syslog_parser_type", syslog_parser_type) + _setter("syslog_parser_type", syslog_parser_type) if time_format is not None: - pulumi.set(__self__, "time_format", time_format) + _setter("time_format", time_format) if time_type is not None: - pulumi.set(__self__, "time_type", time_type) + _setter("time_type", time_type) if timeout_in_milliseconds is not None: - pulumi.set(__self__, "timeout_in_milliseconds", timeout_in_milliseconds) + _setter("timeout_in_milliseconds", timeout_in_milliseconds) if types is not None: - pulumi.set(__self__, "types", types) + _setter("types", types) @property @pulumi.getter(name="parserType") @@ -814,14 +949,29 @@ def __init__(__self__, *, :param str time_format: (Updatable) Process time value using the specified format. :param str time_type: (Updatable) Time type of JSON parser. """ + UnifiedAgentConfigurationServiceConfigurationSourceParserNestedParser._configure( + lambda key, value: pulumi.set(__self__, key, value), + field_time_key=field_time_key, + is_keep_time_key=is_keep_time_key, + time_format=time_format, + time_type=time_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + field_time_key: Optional[str] = None, + is_keep_time_key: Optional[bool] = None, + time_format: Optional[str] = None, + time_type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if field_time_key is not None: - pulumi.set(__self__, "field_time_key", field_time_key) + _setter("field_time_key", field_time_key) if is_keep_time_key is not None: - pulumi.set(__self__, "is_keep_time_key", is_keep_time_key) + _setter("is_keep_time_key", is_keep_time_key) if time_format is not None: - pulumi.set(__self__, "time_format", time_format) + _setter("time_format", time_format) if time_type is not None: - pulumi.set(__self__, "time_type", time_type) + _setter("time_type", time_type) @property @pulumi.getter(name="fieldTimeKey") @@ -892,16 +1042,33 @@ def __init__(__self__, *, :param str name: (Updatable) The name key to tag this grok pattern. :param str pattern: (Updatable) The grok pattern. """ + UnifiedAgentConfigurationServiceConfigurationSourceParserPattern._configure( + lambda key, value: pulumi.set(__self__, key, value), + field_time_format=field_time_format, + field_time_key=field_time_key, + field_time_zone=field_time_zone, + name=name, + pattern=pattern, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + field_time_format: Optional[str] = None, + field_time_key: Optional[str] = None, + field_time_zone: Optional[str] = None, + name: Optional[str] = None, + pattern: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if field_time_format is not None: - pulumi.set(__self__, "field_time_format", field_time_format) + _setter("field_time_format", field_time_format) if field_time_key is not None: - pulumi.set(__self__, "field_time_key", field_time_key) + _setter("field_time_key", field_time_key) if field_time_zone is not None: - pulumi.set(__self__, "field_time_zone", field_time_zone) + _setter("field_time_zone", field_time_zone) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if pattern is not None: - pulumi.set(__self__, "pattern", pattern) + _setter("pattern", pattern) @property @pulumi.getter(name="fieldTimeFormat") @@ -953,8 +1120,19 @@ def __init__(__self__, *, :param str compartment_id: The OCID of the compartment that the resource belongs to. :param Sequence['GetLogConfigurationSourceArgs'] sources: The source the log object comes from. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "sources", sources) + GetLogConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + sources=sources, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + sources: Sequence['outputs.GetLogConfigurationSourceResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("sources", sources) @property @pulumi.getter(name="compartmentId") @@ -987,10 +1165,25 @@ def __init__(__self__, *, :param str source_type: The log source. * **OCISERVICE:** Oracle Service. """ - pulumi.set(__self__, "category", category) - pulumi.set(__self__, "resource", resource) - pulumi.set(__self__, "service", service) - pulumi.set(__self__, "source_type", source_type) + GetLogConfigurationSourceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + category=category, + resource=resource, + service=service, + source_type=source_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + category: str, + resource: str, + service: str, + source_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("category", category) + _setter("resource", resource) + _setter("service", service) + _setter("source_type", source_type) @property @pulumi.getter @@ -1032,10 +1225,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetLogGroupsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1076,15 +1282,40 @@ def __init__(__self__, *, :param str time_created: Time the resource was created. :param str time_last_modified: Time the resource was last modified. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_last_modified", time_last_modified) + GetLogGroupsLogGroupResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + state=state, + time_created=time_created, + time_last_modified=time_last_modified, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + state: str, + time_created: str, + time_last_modified: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_last_modified", time_last_modified) @property @pulumi.getter(name="compartmentId") @@ -1168,10 +1399,23 @@ def __init__(__self__, *, """ :param str name: Resource name. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetLogSavedSearchesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1196,7 +1440,16 @@ def regex(self) -> Optional[bool]: class GetLogSavedSearchesLogSavedSearchSummaryCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetLogSavedSearchesLogSavedSearchSummaryCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetLogSavedSearchesLogSavedSearchSummaryCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetLogSavedSearchesLogSavedSearchSummaryCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1229,16 +1482,43 @@ def __init__(__self__, *, :param str time_created: Time the resource was created. :param str time_last_modified: Time the resource was last modified. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "query", query) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_last_modified", time_last_modified) + GetLogSavedSearchesLogSavedSearchSummaryCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + id=id, + name=name, + query=query, + state=state, + time_created=time_created, + time_last_modified=time_last_modified, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + freeform_tags: Mapping[str, Any], + id: str, + name: str, + query: str, + state: str, + time_created: str, + time_last_modified: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("name", name) + _setter("query", query) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_last_modified", time_last_modified) @property @pulumi.getter(name="compartmentId") @@ -1327,10 +1607,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetLogsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1381,20 +1674,55 @@ def __init__(__self__, *, :param str time_created: Time the resource was created. :param str time_last_modified: Time the resource was last modified. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "configurations", configurations) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "log_group_id", log_group_id) - pulumi.set(__self__, "log_type", log_type) - pulumi.set(__self__, "retention_duration", retention_duration) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "tenancy_id", tenancy_id) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_last_modified", time_last_modified) + GetLogsLogResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + configurations=configurations, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + is_enabled=is_enabled, + log_group_id=log_group_id, + log_type=log_type, + retention_duration=retention_duration, + state=state, + tenancy_id=tenancy_id, + time_created=time_created, + time_last_modified=time_last_modified, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + configurations: Sequence['outputs.GetLogsLogConfigurationResult'], + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + is_enabled: bool, + log_group_id: str, + log_type: str, + retention_duration: int, + state: str, + tenancy_id: str, + time_created: str, + time_last_modified: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("configurations", configurations) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_enabled", is_enabled) + _setter("log_group_id", log_group_id) + _setter("log_type", log_type) + _setter("retention_duration", retention_duration) + _setter("state", state) + _setter("tenancy_id", tenancy_id) + _setter("time_created", time_created) + _setter("time_last_modified", time_last_modified) @property @pulumi.getter(name="compartmentId") @@ -1518,8 +1846,19 @@ def __init__(__self__, *, :param str compartment_id: The OCID of the compartment that the resource belongs to. :param Sequence['GetLogsLogConfigurationSourceArgs'] sources: The source the log object comes from. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "sources", sources) + GetLogsLogConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + sources=sources, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + sources: Sequence['outputs.GetLogsLogConfigurationSourceResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("sources", sources) @property @pulumi.getter(name="compartmentId") @@ -1552,10 +1891,25 @@ def __init__(__self__, *, :param str source_type: The log source. * **OCISERVICE:** Oracle Service. """ - pulumi.set(__self__, "category", category) - pulumi.set(__self__, "resource", resource) - pulumi.set(__self__, "service", service) - pulumi.set(__self__, "source_type", source_type) + GetLogsLogConfigurationSourceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + category=category, + resource=resource, + service=service, + source_type=source_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + category: str, + resource: str, + service: str, + source_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("category", category) + _setter("resource", resource) + _setter("service", service) + _setter("source_type", source_type) @property @pulumi.getter @@ -1598,7 +1952,16 @@ def __init__(__self__, *, """ :param Sequence[str] group_lists: list of group/dynamic group ids associated with this configuration. """ - pulumi.set(__self__, "group_lists", group_lists) + GetUnifiedAgentConfigurationGroupAssociationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + group_lists=group_lists, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + group_lists: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("group_lists", group_lists) @property @pulumi.getter(name="groupLists") @@ -1620,9 +1983,22 @@ def __init__(__self__, *, :param Sequence['GetUnifiedAgentConfigurationServiceConfigurationDestinationArgs'] destinations: Logging destination object. :param Sequence['GetUnifiedAgentConfigurationServiceConfigurationSourceArgs'] sources: Logging source object. """ - pulumi.set(__self__, "configuration_type", configuration_type) - pulumi.set(__self__, "destinations", destinations) - pulumi.set(__self__, "sources", sources) + GetUnifiedAgentConfigurationServiceConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + configuration_type=configuration_type, + destinations=destinations, + sources=sources, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + configuration_type: str, + destinations: Sequence['outputs.GetUnifiedAgentConfigurationServiceConfigurationDestinationResult'], + sources: Sequence['outputs.GetUnifiedAgentConfigurationServiceConfigurationSourceResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("configuration_type", configuration_type) + _setter("destinations", destinations) + _setter("sources", sources) @property @pulumi.getter(name="configurationType") @@ -1656,7 +2032,16 @@ def __init__(__self__, *, """ :param str log_object_id: The OCID of the resource. """ - pulumi.set(__self__, "log_object_id", log_object_id) + GetUnifiedAgentConfigurationServiceConfigurationDestinationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + log_object_id=log_object_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + log_object_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("log_object_id", log_object_id) @property @pulumi.getter(name="logObjectId") @@ -1682,11 +2067,28 @@ def __init__(__self__, *, :param Sequence[str] paths: Absolute paths for log source files. Wildcard can be used. :param str source_type: Unified schema logging source type. """ - pulumi.set(__self__, "channels", channels) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "parsers", parsers) - pulumi.set(__self__, "paths", paths) - pulumi.set(__self__, "source_type", source_type) + GetUnifiedAgentConfigurationServiceConfigurationSourceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + channels=channels, + name=name, + parsers=parsers, + paths=paths, + source_type=source_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + channels: Sequence[str], + name: str, + parsers: Sequence['outputs.GetUnifiedAgentConfigurationServiceConfigurationSourceParserResult'], + paths: Sequence[str], + source_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("channels", channels) + _setter("name", name) + _setter("parsers", parsers) + _setter("paths", paths) + _setter("source_type", source_type) @property @pulumi.getter @@ -1788,33 +2190,94 @@ def __init__(__self__, *, :param int timeout_in_milliseconds: Specify the timeout for parse processing. This is mainly for detecting an incorrect regexp pattern. :param Mapping[str, Any] types: Specify types for converting a field into another type. For example, With this configuration: @type csv keys time,host,req_id,user time_key time """ - pulumi.set(__self__, "delimiter", delimiter) - pulumi.set(__self__, "expression", expression) - pulumi.set(__self__, "field_time_key", field_time_key) - pulumi.set(__self__, "format_firstline", format_firstline) - pulumi.set(__self__, "formats", formats) - pulumi.set(__self__, "grok_failure_key", grok_failure_key) - pulumi.set(__self__, "grok_name_key", grok_name_key) - pulumi.set(__self__, "is_estimate_current_event", is_estimate_current_event) - pulumi.set(__self__, "is_keep_time_key", is_keep_time_key) - pulumi.set(__self__, "is_merge_cri_fields", is_merge_cri_fields) - pulumi.set(__self__, "is_null_empty_string", is_null_empty_string) - pulumi.set(__self__, "is_support_colonless_ident", is_support_colonless_ident) - pulumi.set(__self__, "is_with_priority", is_with_priority) - pulumi.set(__self__, "keys", keys) - pulumi.set(__self__, "message_format", message_format) - pulumi.set(__self__, "message_key", message_key) - pulumi.set(__self__, "multi_line_start_regexp", multi_line_start_regexp) - pulumi.set(__self__, "nested_parsers", nested_parsers) - pulumi.set(__self__, "null_value_pattern", null_value_pattern) - pulumi.set(__self__, "parser_type", parser_type) - pulumi.set(__self__, "patterns", patterns) - pulumi.set(__self__, "rfc5424time_format", rfc5424time_format) - pulumi.set(__self__, "syslog_parser_type", syslog_parser_type) - pulumi.set(__self__, "time_format", time_format) - pulumi.set(__self__, "time_type", time_type) - pulumi.set(__self__, "timeout_in_milliseconds", timeout_in_milliseconds) - pulumi.set(__self__, "types", types) + GetUnifiedAgentConfigurationServiceConfigurationSourceParserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + delimiter=delimiter, + expression=expression, + field_time_key=field_time_key, + format_firstline=format_firstline, + formats=formats, + grok_failure_key=grok_failure_key, + grok_name_key=grok_name_key, + is_estimate_current_event=is_estimate_current_event, + is_keep_time_key=is_keep_time_key, + is_merge_cri_fields=is_merge_cri_fields, + is_null_empty_string=is_null_empty_string, + is_support_colonless_ident=is_support_colonless_ident, + is_with_priority=is_with_priority, + keys=keys, + message_format=message_format, + message_key=message_key, + multi_line_start_regexp=multi_line_start_regexp, + nested_parsers=nested_parsers, + null_value_pattern=null_value_pattern, + parser_type=parser_type, + patterns=patterns, + rfc5424time_format=rfc5424time_format, + syslog_parser_type=syslog_parser_type, + time_format=time_format, + time_type=time_type, + timeout_in_milliseconds=timeout_in_milliseconds, + types=types, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + delimiter: str, + expression: str, + field_time_key: str, + format_firstline: str, + formats: Sequence[str], + grok_failure_key: str, + grok_name_key: str, + is_estimate_current_event: bool, + is_keep_time_key: bool, + is_merge_cri_fields: bool, + is_null_empty_string: bool, + is_support_colonless_ident: bool, + is_with_priority: bool, + keys: Sequence[str], + message_format: str, + message_key: str, + multi_line_start_regexp: str, + nested_parsers: Sequence['outputs.GetUnifiedAgentConfigurationServiceConfigurationSourceParserNestedParserResult'], + null_value_pattern: str, + parser_type: str, + patterns: Sequence['outputs.GetUnifiedAgentConfigurationServiceConfigurationSourceParserPatternResult'], + rfc5424time_format: str, + syslog_parser_type: str, + time_format: str, + time_type: str, + timeout_in_milliseconds: int, + types: Mapping[str, Any], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("delimiter", delimiter) + _setter("expression", expression) + _setter("field_time_key", field_time_key) + _setter("format_firstline", format_firstline) + _setter("formats", formats) + _setter("grok_failure_key", grok_failure_key) + _setter("grok_name_key", grok_name_key) + _setter("is_estimate_current_event", is_estimate_current_event) + _setter("is_keep_time_key", is_keep_time_key) + _setter("is_merge_cri_fields", is_merge_cri_fields) + _setter("is_null_empty_string", is_null_empty_string) + _setter("is_support_colonless_ident", is_support_colonless_ident) + _setter("is_with_priority", is_with_priority) + _setter("keys", keys) + _setter("message_format", message_format) + _setter("message_key", message_key) + _setter("multi_line_start_regexp", multi_line_start_regexp) + _setter("nested_parsers", nested_parsers) + _setter("null_value_pattern", null_value_pattern) + _setter("parser_type", parser_type) + _setter("patterns", patterns) + _setter("rfc5424time_format", rfc5424time_format) + _setter("syslog_parser_type", syslog_parser_type) + _setter("time_format", time_format) + _setter("time_type", time_type) + _setter("timeout_in_milliseconds", timeout_in_milliseconds) + _setter("types", types) @property @pulumi.getter @@ -2046,10 +2509,25 @@ def __init__(__self__, *, :param str time_format: Process time value using the specified format. :param str time_type: Time type of JSON parser. """ - pulumi.set(__self__, "field_time_key", field_time_key) - pulumi.set(__self__, "is_keep_time_key", is_keep_time_key) - pulumi.set(__self__, "time_format", time_format) - pulumi.set(__self__, "time_type", time_type) + GetUnifiedAgentConfigurationServiceConfigurationSourceParserNestedParserResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + field_time_key=field_time_key, + is_keep_time_key=is_keep_time_key, + time_format=time_format, + time_type=time_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + field_time_key: str, + is_keep_time_key: bool, + time_format: str, + time_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("field_time_key", field_time_key) + _setter("is_keep_time_key", is_keep_time_key) + _setter("time_format", time_format) + _setter("time_type", time_type) @property @pulumi.getter(name="fieldTimeKey") @@ -2099,11 +2577,28 @@ def __init__(__self__, *, :param str name: The name key to tag this grok pattern. :param str pattern: The grok pattern. """ - pulumi.set(__self__, "field_time_format", field_time_format) - pulumi.set(__self__, "field_time_key", field_time_key) - pulumi.set(__self__, "field_time_zone", field_time_zone) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "pattern", pattern) + GetUnifiedAgentConfigurationServiceConfigurationSourceParserPatternResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + field_time_format=field_time_format, + field_time_key=field_time_key, + field_time_zone=field_time_zone, + name=name, + pattern=pattern, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + field_time_format: str, + field_time_key: str, + field_time_zone: str, + name: str, + pattern: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("field_time_format", field_time_format) + _setter("field_time_key", field_time_key) + _setter("field_time_zone", field_time_zone) + _setter("name", name) + _setter("pattern", pattern) @property @pulumi.getter(name="fieldTimeFormat") @@ -2155,10 +2650,23 @@ def __init__(__self__, *, """ :param str name: The name key to tag this grok pattern. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetUnifiedAgentConfigurationsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2183,7 +2691,16 @@ def regex(self) -> Optional[bool]: class GetUnifiedAgentConfigurationsUnifiedAgentConfigurationCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetUnifiedAgentConfigurationsUnifiedAgentConfigurationCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetUnifiedAgentConfigurationsUnifiedAgentConfigurationCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetUnifiedAgentConfigurationsUnifiedAgentConfigurationCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -2220,18 +2737,49 @@ def __init__(__self__, *, :param str time_created: Time the resource was created. :param str time_last_modified: Time the resource was last modified. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "configuration_state", configuration_state) - pulumi.set(__self__, "configuration_type", configuration_type) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_last_modified", time_last_modified) + GetUnifiedAgentConfigurationsUnifiedAgentConfigurationCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + configuration_state=configuration_state, + configuration_type=configuration_type, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + is_enabled=is_enabled, + state=state, + time_created=time_created, + time_last_modified=time_last_modified, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + configuration_state: str, + configuration_type: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + is_enabled: bool, + state: str, + time_created: str, + time_last_modified: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("configuration_state", configuration_state) + _setter("configuration_type", configuration_type) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_enabled", is_enabled) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_last_modified", time_last_modified) @property @pulumi.getter(name="compartmentId") diff --git a/sdk/python/pulumi_oci/logging/unified_agent_configuration.py b/sdk/python/pulumi_oci/logging/unified_agent_configuration.py index 3f435f81d6..e3a1acd523 100644 --- a/sdk/python/pulumi_oci/logging/unified_agent_configuration.py +++ b/sdk/python/pulumi_oci/logging/unified_agent_configuration.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -35,19 +35,42 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] freeform_tags: (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` :param pulumi.Input['UnifiedAgentConfigurationGroupAssociationArgs'] group_association: (Updatable) Groups using the configuration. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "service_configuration", service_configuration) + UnifiedAgentConfigurationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + is_enabled=is_enabled, + service_configuration=service_configuration, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + group_association=group_association, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + is_enabled: pulumi.Input[bool], + service_configuration: pulumi.Input['UnifiedAgentConfigurationServiceConfigurationArgs'], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + group_association: Optional[pulumi.Input['UnifiedAgentConfigurationGroupAssociationArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("is_enabled", is_enabled) + _setter("service_configuration", service_configuration) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if group_association is not None: - pulumi.set(__self__, "group_association", group_association) + _setter("group_association", group_association) @property @pulumi.getter(name="compartmentId") @@ -176,30 +199,61 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: Time the resource was created. :param pulumi.Input[str] time_last_modified: Time the resource was last modified. """ + _UnifiedAgentConfigurationState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + configuration_state=configuration_state, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + group_association=group_association, + is_enabled=is_enabled, + service_configuration=service_configuration, + state=state, + time_created=time_created, + time_last_modified=time_last_modified, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + configuration_state: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + group_association: Optional[pulumi.Input['UnifiedAgentConfigurationGroupAssociationArgs']] = None, + is_enabled: Optional[pulumi.Input[bool]] = None, + service_configuration: Optional[pulumi.Input['UnifiedAgentConfigurationServiceConfigurationArgs']] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_last_modified: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if configuration_state is not None: - pulumi.set(__self__, "configuration_state", configuration_state) + _setter("configuration_state", configuration_state) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if group_association is not None: - pulumi.set(__self__, "group_association", group_association) + _setter("group_association", group_association) if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) if service_configuration is not None: - pulumi.set(__self__, "service_configuration", service_configuration) + _setter("service_configuration", service_configuration) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_last_modified is not None: - pulumi.set(__self__, "time_last_modified", time_last_modified) + _setter("time_last_modified", time_last_modified) @property @pulumi.getter(name="compartmentId") @@ -559,6 +613,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + UnifiedAgentConfigurationArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -588,10 +646,20 @@ def _internal_init(__self__, __props__.__dict__["description"] = description __props__.__dict__["display_name"] = display_name __props__.__dict__["freeform_tags"] = freeform_tags + if group_association is not None and not isinstance(group_association, UnifiedAgentConfigurationGroupAssociationArgs): + group_association = group_association or {} + def _setter(key, value): + group_association[key] = value + UnifiedAgentConfigurationGroupAssociationArgs._configure(_setter, **group_association) __props__.__dict__["group_association"] = group_association if is_enabled is None and not opts.urn: raise TypeError("Missing required property 'is_enabled'") __props__.__dict__["is_enabled"] = is_enabled + if service_configuration is not None and not isinstance(service_configuration, UnifiedAgentConfigurationServiceConfigurationArgs): + service_configuration = service_configuration or {} + def _setter(key, value): + service_configuration[key] = value + UnifiedAgentConfigurationServiceConfigurationArgs._configure(_setter, **service_configuration) if service_configuration is None and not opts.urn: raise TypeError("Missing required property 'service_configuration'") __props__.__dict__["service_configuration"] = service_configuration diff --git a/sdk/python/pulumi_oci/managementagent/_inputs.py b/sdk/python/pulumi_oci/managementagent/_inputs.py index a605766d18..900eacd8bc 100644 --- a/sdk/python/pulumi_oci/managementagent/_inputs.py +++ b/sdk/python/pulumi_oci/managementagent/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -30,12 +30,25 @@ def __init__(__self__, *, :param pulumi.Input[str] units: Unit for the property :param pulumi.Input[Sequence[pulumi.Input[str]]] values: Values of the property """ + ManagementAgentManagementAgentPropertyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + units=units, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[pulumi.Input[str]] = None, + units: Optional[pulumi.Input[str]] = None, + values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if units is not None: - pulumi.set(__self__, "units", units) + _setter("units", units) if values is not None: - pulumi.set(__self__, "values", values) + _setter("values", values) @property @pulumi.getter @@ -93,20 +106,41 @@ def __init__(__self__, *, :param pulumi.Input[str] plugin_status_message: Status message of the Plugin :param pulumi.Input[str] plugin_version: Plugin Version """ + ManagementAgentPluginListArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + plugin_display_name=plugin_display_name, + plugin_id=plugin_id, + plugin_name=plugin_name, + plugin_status=plugin_status, + plugin_status_message=plugin_status_message, + plugin_version=plugin_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: Optional[pulumi.Input[bool]] = None, + plugin_display_name: Optional[pulumi.Input[str]] = None, + plugin_id: Optional[pulumi.Input[str]] = None, + plugin_name: Optional[pulumi.Input[str]] = None, + plugin_status: Optional[pulumi.Input[str]] = None, + plugin_status_message: Optional[pulumi.Input[str]] = None, + plugin_version: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) if plugin_display_name is not None: - pulumi.set(__self__, "plugin_display_name", plugin_display_name) + _setter("plugin_display_name", plugin_display_name) if plugin_id is not None: - pulumi.set(__self__, "plugin_id", plugin_id) + _setter("plugin_id", plugin_id) if plugin_name is not None: - pulumi.set(__self__, "plugin_name", plugin_name) + _setter("plugin_name", plugin_name) if plugin_status is not None: - pulumi.set(__self__, "plugin_status", plugin_status) + _setter("plugin_status", plugin_status) if plugin_status_message is not None: - pulumi.set(__self__, "plugin_status_message", plugin_status_message) + _setter("plugin_status_message", plugin_status_message) if plugin_version is not None: - pulumi.set(__self__, "plugin_version", plugin_version) + _setter("plugin_version", plugin_version) @property @pulumi.getter(name="isEnabled") @@ -199,10 +233,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagementAgentAvailableHistoriesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -241,10 +288,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the entire platform name given. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagementAgentImagesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -283,10 +343,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagementAgentInstallKeysFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -325,10 +398,23 @@ def __init__(__self__, *, """ :param str name: Management Agent Plugin Name """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagementAgentPluginsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -371,10 +457,23 @@ def __init__(__self__, *, :param str name: Name of the property :param Sequence[str] values: Values of the property """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagementAgentsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/managementagent/get_management_agent.py b/sdk/python/pulumi_oci/managementagent/get_management_agent.py index f83f4c64c0..c1ec938170 100644 --- a/sdk/python/pulumi_oci/managementagent/get_management_agent.py +++ b/sdk/python/pulumi_oci/managementagent/get_management_agent.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/managementagent/get_management_agent_available_histories.py b/sdk/python/pulumi_oci/managementagent/get_management_agent_available_histories.py index 95fc7da650..dea0c28bb8 100644 --- a/sdk/python/pulumi_oci/managementagent/get_management_agent_available_histories.py +++ b/sdk/python/pulumi_oci/managementagent/get_management_agent_available_histories.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/managementagent/get_management_agent_count.py b/sdk/python/pulumi_oci/managementagent/get_management_agent_count.py index 59bf36fc66..9ce56f512e 100644 --- a/sdk/python/pulumi_oci/managementagent/get_management_agent_count.py +++ b/sdk/python/pulumi_oci/managementagent/get_management_agent_count.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/managementagent/get_management_agent_get_auto_upgradable_config.py b/sdk/python/pulumi_oci/managementagent/get_management_agent_get_auto_upgradable_config.py index e1dd75fa9a..b49d54da51 100644 --- a/sdk/python/pulumi_oci/managementagent/get_management_agent_get_auto_upgradable_config.py +++ b/sdk/python/pulumi_oci/managementagent/get_management_agent_get_auto_upgradable_config.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/managementagent/get_management_agent_images.py b/sdk/python/pulumi_oci/managementagent/get_management_agent_images.py index 888f403514..2af8bbc0eb 100644 --- a/sdk/python/pulumi_oci/managementagent/get_management_agent_images.py +++ b/sdk/python/pulumi_oci/managementagent/get_management_agent_images.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/managementagent/get_management_agent_install_key.py b/sdk/python/pulumi_oci/managementagent/get_management_agent_install_key.py index 32d8e76423..2e3b33c825 100644 --- a/sdk/python/pulumi_oci/managementagent/get_management_agent_install_key.py +++ b/sdk/python/pulumi_oci/managementagent/get_management_agent_install_key.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/managementagent/get_management_agent_install_keys.py b/sdk/python/pulumi_oci/managementagent/get_management_agent_install_keys.py index 5d821b9804..2fc2afe662 100644 --- a/sdk/python/pulumi_oci/managementagent/get_management_agent_install_keys.py +++ b/sdk/python/pulumi_oci/managementagent/get_management_agent_install_keys.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/managementagent/get_management_agent_plugin_count.py b/sdk/python/pulumi_oci/managementagent/get_management_agent_plugin_count.py index f79440143e..1dd1d659b0 100644 --- a/sdk/python/pulumi_oci/managementagent/get_management_agent_plugin_count.py +++ b/sdk/python/pulumi_oci/managementagent/get_management_agent_plugin_count.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/managementagent/get_management_agent_plugins.py b/sdk/python/pulumi_oci/managementagent/get_management_agent_plugins.py index 0fb4d96b73..e649762eea 100644 --- a/sdk/python/pulumi_oci/managementagent/get_management_agent_plugins.py +++ b/sdk/python/pulumi_oci/managementagent/get_management_agent_plugins.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/managementagent/get_management_agents.py b/sdk/python/pulumi_oci/managementagent/get_management_agents.py index aca5574b60..d9fd71f536 100644 --- a/sdk/python/pulumi_oci/managementagent/get_management_agents.py +++ b/sdk/python/pulumi_oci/managementagent/get_management_agents.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/managementagent/management_agent.py b/sdk/python/pulumi_oci/managementagent/management_agent.py index ae8036bbf9..754adfceb2 100644 --- a/sdk/python/pulumi_oci/managementagent/management_agent.py +++ b/sdk/python/pulumi_oci/managementagent/management_agent.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -32,15 +32,32 @@ def __init__(__self__, *, :param pulumi.Input[str] display_name: (Updatable) New displayName of Agent. :param pulumi.Input[Mapping[str, Any]] freeform_tags: (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` """ - pulumi.set(__self__, "managed_agent_id", managed_agent_id) + ManagementAgentArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + managed_agent_id=managed_agent_id, + defined_tags=defined_tags, + deploy_plugins_ids=deploy_plugins_ids, + display_name=display_name, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + managed_agent_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + deploy_plugins_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("managed_agent_id", managed_agent_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if deploy_plugins_ids is not None: - pulumi.set(__self__, "deploy_plugins_ids", deploy_plugins_ids) + _setter("deploy_plugins_ids", deploy_plugins_ids) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="managedAgentId") @@ -167,58 +184,117 @@ def __init__(__self__, *, :param pulumi.Input[str] time_updated: The time the Management Agent was last updated. An RFC3339 formatted datetime string :param pulumi.Input[str] version: Management Agent Version """ + _ManagementAgentState._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_status=availability_status, + compartment_id=compartment_id, + defined_tags=defined_tags, + deploy_plugins_ids=deploy_plugins_ids, + display_name=display_name, + freeform_tags=freeform_tags, + host=host, + host_id=host_id, + install_key_id=install_key_id, + install_path=install_path, + install_type=install_type, + is_agent_auto_upgradable=is_agent_auto_upgradable, + is_customer_deployed=is_customer_deployed, + lifecycle_details=lifecycle_details, + managed_agent_id=managed_agent_id, + management_agent_properties=management_agent_properties, + platform_name=platform_name, + platform_type=platform_type, + platform_version=platform_version, + plugin_lists=plugin_lists, + resource_artifact_version=resource_artifact_version, + state=state, + time_created=time_created, + time_last_heartbeat=time_last_heartbeat, + time_updated=time_updated, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_status: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + deploy_plugins_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + host: Optional[pulumi.Input[str]] = None, + host_id: Optional[pulumi.Input[str]] = None, + install_key_id: Optional[pulumi.Input[str]] = None, + install_path: Optional[pulumi.Input[str]] = None, + install_type: Optional[pulumi.Input[str]] = None, + is_agent_auto_upgradable: Optional[pulumi.Input[bool]] = None, + is_customer_deployed: Optional[pulumi.Input[bool]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + managed_agent_id: Optional[pulumi.Input[str]] = None, + management_agent_properties: Optional[pulumi.Input[Sequence[pulumi.Input['ManagementAgentManagementAgentPropertyArgs']]]] = None, + platform_name: Optional[pulumi.Input[str]] = None, + platform_type: Optional[pulumi.Input[str]] = None, + platform_version: Optional[pulumi.Input[str]] = None, + plugin_lists: Optional[pulumi.Input[Sequence[pulumi.Input['ManagementAgentPluginListArgs']]]] = None, + resource_artifact_version: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_last_heartbeat: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + version: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if availability_status is not None: - pulumi.set(__self__, "availability_status", availability_status) + _setter("availability_status", availability_status) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if deploy_plugins_ids is not None: - pulumi.set(__self__, "deploy_plugins_ids", deploy_plugins_ids) + _setter("deploy_plugins_ids", deploy_plugins_ids) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if host is not None: - pulumi.set(__self__, "host", host) + _setter("host", host) if host_id is not None: - pulumi.set(__self__, "host_id", host_id) + _setter("host_id", host_id) if install_key_id is not None: - pulumi.set(__self__, "install_key_id", install_key_id) + _setter("install_key_id", install_key_id) if install_path is not None: - pulumi.set(__self__, "install_path", install_path) + _setter("install_path", install_path) if install_type is not None: - pulumi.set(__self__, "install_type", install_type) + _setter("install_type", install_type) if is_agent_auto_upgradable is not None: - pulumi.set(__self__, "is_agent_auto_upgradable", is_agent_auto_upgradable) + _setter("is_agent_auto_upgradable", is_agent_auto_upgradable) if is_customer_deployed is not None: - pulumi.set(__self__, "is_customer_deployed", is_customer_deployed) + _setter("is_customer_deployed", is_customer_deployed) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if managed_agent_id is not None: - pulumi.set(__self__, "managed_agent_id", managed_agent_id) + _setter("managed_agent_id", managed_agent_id) if management_agent_properties is not None: - pulumi.set(__self__, "management_agent_properties", management_agent_properties) + _setter("management_agent_properties", management_agent_properties) if platform_name is not None: - pulumi.set(__self__, "platform_name", platform_name) + _setter("platform_name", platform_name) if platform_type is not None: - pulumi.set(__self__, "platform_type", platform_type) + _setter("platform_type", platform_type) if platform_version is not None: - pulumi.set(__self__, "platform_version", platform_version) + _setter("platform_version", platform_version) if plugin_lists is not None: - pulumi.set(__self__, "plugin_lists", plugin_lists) + _setter("plugin_lists", plugin_lists) if resource_artifact_version is not None: - pulumi.set(__self__, "resource_artifact_version", resource_artifact_version) + _setter("resource_artifact_version", resource_artifact_version) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_last_heartbeat is not None: - pulumi.set(__self__, "time_last_heartbeat", time_last_heartbeat) + _setter("time_last_heartbeat", time_last_heartbeat) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter(name="availabilityStatus") @@ -614,6 +690,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ManagementAgentArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/managementagent/management_agent_install_key.py b/sdk/python/pulumi_oci/managementagent/management_agent_install_key.py index bce11d2e98..9406be9a66 100644 --- a/sdk/python/pulumi_oci/managementagent/management_agent_install_key.py +++ b/sdk/python/pulumi_oci/managementagent/management_agent_install_key.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['ManagementAgentInstallKeyArgs', 'ManagementAgentInstallKey'] @@ -31,14 +31,31 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) + ManagementAgentInstallKeyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + allowed_key_install_count=allowed_key_install_count, + is_unlimited=is_unlimited, + time_expires=time_expires, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + allowed_key_install_count: Optional[pulumi.Input[int]] = None, + is_unlimited: Optional[pulumi.Input[bool]] = None, + time_expires: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) if allowed_key_install_count is not None: - pulumi.set(__self__, "allowed_key_install_count", allowed_key_install_count) + _setter("allowed_key_install_count", allowed_key_install_count) if is_unlimited is not None: - pulumi.set(__self__, "is_unlimited", is_unlimited) + _setter("is_unlimited", is_unlimited) if time_expires is not None: - pulumi.set(__self__, "time_expires", time_expires) + _setter("time_expires", time_expires) @property @pulumi.getter(name="compartmentId") @@ -139,30 +156,61 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] time_updated: The time when Management Agent install Key was updated. An RFC3339 formatted date time string """ + _ManagementAgentInstallKeyState._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_key_install_count=allowed_key_install_count, + compartment_id=compartment_id, + created_by_principal_id=created_by_principal_id, + current_key_install_count=current_key_install_count, + display_name=display_name, + is_unlimited=is_unlimited, + key=key, + lifecycle_details=lifecycle_details, + state=state, + time_created=time_created, + time_expires=time_expires, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_key_install_count: Optional[pulumi.Input[int]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + created_by_principal_id: Optional[pulumi.Input[str]] = None, + current_key_install_count: Optional[pulumi.Input[int]] = None, + display_name: Optional[pulumi.Input[str]] = None, + is_unlimited: Optional[pulumi.Input[bool]] = None, + key: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_expires: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if allowed_key_install_count is not None: - pulumi.set(__self__, "allowed_key_install_count", allowed_key_install_count) + _setter("allowed_key_install_count", allowed_key_install_count) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if created_by_principal_id is not None: - pulumi.set(__self__, "created_by_principal_id", created_by_principal_id) + _setter("created_by_principal_id", created_by_principal_id) if current_key_install_count is not None: - pulumi.set(__self__, "current_key_install_count", current_key_install_count) + _setter("current_key_install_count", current_key_install_count) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if is_unlimited is not None: - pulumi.set(__self__, "is_unlimited", is_unlimited) + _setter("is_unlimited", is_unlimited) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_expires is not None: - pulumi.set(__self__, "time_expires", time_expires) + _setter("time_expires", time_expires) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="allowedKeyInstallCount") @@ -406,6 +454,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ManagementAgentInstallKeyArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/managementagent/outputs.py b/sdk/python/pulumi_oci/managementagent/outputs.py index d32bf1464f..5035ed97e2 100644 --- a/sdk/python/pulumi_oci/managementagent/outputs.py +++ b/sdk/python/pulumi_oci/managementagent/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -45,12 +45,25 @@ def __init__(__self__, *, :param str units: Unit for the property :param Sequence[str] values: Values of the property """ + ManagementAgentManagementAgentProperty._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + units=units, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[str] = None, + units: Optional[str] = None, + values: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if units is not None: - pulumi.set(__self__, "units", units) + _setter("units", units) if values is not None: - pulumi.set(__self__, "values", values) + _setter("values", values) @property @pulumi.getter @@ -125,20 +138,41 @@ def __init__(__self__, *, :param str plugin_status_message: Status message of the Plugin :param str plugin_version: Plugin Version """ + ManagementAgentPluginList._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + plugin_display_name=plugin_display_name, + plugin_id=plugin_id, + plugin_name=plugin_name, + plugin_status=plugin_status, + plugin_status_message=plugin_status_message, + plugin_version=plugin_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: Optional[bool] = None, + plugin_display_name: Optional[str] = None, + plugin_id: Optional[str] = None, + plugin_name: Optional[str] = None, + plugin_status: Optional[str] = None, + plugin_status_message: Optional[str] = None, + plugin_version: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) if plugin_display_name is not None: - pulumi.set(__self__, "plugin_display_name", plugin_display_name) + _setter("plugin_display_name", plugin_display_name) if plugin_id is not None: - pulumi.set(__self__, "plugin_id", plugin_id) + _setter("plugin_id", plugin_id) if plugin_name is not None: - pulumi.set(__self__, "plugin_name", plugin_name) + _setter("plugin_name", plugin_name) if plugin_status is not None: - pulumi.set(__self__, "plugin_status", plugin_status) + _setter("plugin_status", plugin_status) if plugin_status_message is not None: - pulumi.set(__self__, "plugin_status_message", plugin_status_message) + _setter("plugin_status_message", plugin_status_message) if plugin_version is not None: - pulumi.set(__self__, "plugin_version", plugin_version) + _setter("plugin_version", plugin_version) @property @pulumi.getter(name="isEnabled") @@ -210,10 +244,25 @@ def __init__(__self__, *, :param str time_availability_status_ended: The time till which the Management Agent was known to be in the availability status. An RFC3339 formatted datetime string :param str time_availability_status_started: The time at which the Management Agent moved to the availability status. An RFC3339 formatted datetime string """ - pulumi.set(__self__, "availability_status", availability_status) - pulumi.set(__self__, "management_agent_id", management_agent_id) - pulumi.set(__self__, "time_availability_status_ended", time_availability_status_ended) - pulumi.set(__self__, "time_availability_status_started", time_availability_status_started) + GetManagementAgentAvailableHistoriesAvailabilityHistoryResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_status=availability_status, + management_agent_id=management_agent_id, + time_availability_status_ended=time_availability_status_ended, + time_availability_status_started=time_availability_status_started, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_status: str, + management_agent_id: str, + time_availability_status_ended: str, + time_availability_status_started: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_status", availability_status) + _setter("management_agent_id", management_agent_id) + _setter("time_availability_status_ended", time_availability_status_ended) + _setter("time_availability_status_started", time_availability_status_started) @property @pulumi.getter(name="availabilityStatus") @@ -254,10 +303,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagementAgentAvailableHistoriesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -284,8 +346,19 @@ def __init__(__self__, *, :param int count: The number of Management Agents in this group :param Sequence['GetManagementAgentCountItemDimensionArgs'] dimensions: The Aggregation of Management Agent Dimensions """ - pulumi.set(__self__, "count", count) - pulumi.set(__self__, "dimensions", dimensions) + GetManagementAgentCountItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + count=count, + dimensions=dimensions, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + count: int, + dimensions: Sequence['outputs.GetManagementAgentCountItemDimensionResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("count", count) + _setter("dimensions", dimensions) @property @pulumi.getter @@ -319,11 +392,28 @@ def __init__(__self__, *, :param str platform_type: Platform Type :param str version: Agent image version """ - pulumi.set(__self__, "availability_status", availability_status) - pulumi.set(__self__, "has_plugins", has_plugins) - pulumi.set(__self__, "install_type", install_type) - pulumi.set(__self__, "platform_type", platform_type) - pulumi.set(__self__, "version", version) + GetManagementAgentCountItemDimensionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_status=availability_status, + has_plugins=has_plugins, + install_type=install_type, + platform_type=platform_type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_status: str, + has_plugins: bool, + install_type: str, + platform_type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_status", availability_status) + _setter("has_plugins", has_plugins) + _setter("install_type", install_type) + _setter("platform_type", platform_type) + _setter("version", version) @property @pulumi.getter(name="availabilityStatus") @@ -375,10 +465,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the entire platform name given. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagementAgentImagesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -426,17 +529,46 @@ def __init__(__self__, *, :param str state: Filter to return only Management Agents in the particular lifecycle state. :param str version: Agent image version """ - pulumi.set(__self__, "checksum", checksum) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "image_object_storage_details", image_object_storage_details) - pulumi.set(__self__, "object_url", object_url) - pulumi.set(__self__, "package_architecture_type", package_architecture_type) - pulumi.set(__self__, "package_type", package_type) - pulumi.set(__self__, "platform_name", platform_name) - pulumi.set(__self__, "platform_type", platform_type) - pulumi.set(__self__, "size", size) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "version", version) + GetManagementAgentImagesManagementAgentImageResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + checksum=checksum, + id=id, + image_object_storage_details=image_object_storage_details, + object_url=object_url, + package_architecture_type=package_architecture_type, + package_type=package_type, + platform_name=platform_name, + platform_type=platform_type, + size=size, + state=state, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + checksum: str, + id: str, + image_object_storage_details: Sequence['outputs.GetManagementAgentImagesManagementAgentImageImageObjectStorageDetailResult'], + object_url: str, + package_architecture_type: str, + package_type: str, + platform_name: str, + platform_type: str, + size: float, + state: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("checksum", checksum) + _setter("id", id) + _setter("image_object_storage_details", image_object_storage_details) + _setter("object_url", object_url) + _setter("package_architecture_type", package_architecture_type) + _setter("package_type", package_type) + _setter("platform_name", platform_name) + _setter("platform_type", platform_type) + _setter("size", size) + _setter("state", state) + _setter("version", version) @property @pulumi.getter @@ -542,11 +674,28 @@ def __init__(__self__, *, :param str object_namespace: Objectstorage namespace reference providing the original location of this object :param str object_url: Object storage URL for download """ - pulumi.set(__self__, "checksum", checksum) - pulumi.set(__self__, "object", object) - pulumi.set(__self__, "object_bucket", object_bucket) - pulumi.set(__self__, "object_namespace", object_namespace) - pulumi.set(__self__, "object_url", object_url) + GetManagementAgentImagesManagementAgentImageImageObjectStorageDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + checksum=checksum, + object=object, + object_bucket=object_bucket, + object_namespace=object_namespace, + object_url=object_url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + checksum: str, + object: str, + object_bucket: str, + object_namespace: str, + object_url: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("checksum", checksum) + _setter("object", object) + _setter("object_bucket", object_bucket) + _setter("object_namespace", object_namespace) + _setter("object_url", object_url) @property @pulumi.getter @@ -595,10 +744,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagementAgentInstallKeysFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -647,19 +809,52 @@ def __init__(__self__, *, :param str time_expires: date after which key would expire after creation :param str time_updated: The time when Management Agent install Key was updated. An RFC3339 formatted date time string """ - pulumi.set(__self__, "allowed_key_install_count", allowed_key_install_count) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "created_by_principal_id", created_by_principal_id) - pulumi.set(__self__, "current_key_install_count", current_key_install_count) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_unlimited", is_unlimited) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_expires", time_expires) - pulumi.set(__self__, "time_updated", time_updated) + GetManagementAgentInstallKeysManagementAgentInstallKeyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_key_install_count=allowed_key_install_count, + compartment_id=compartment_id, + created_by_principal_id=created_by_principal_id, + current_key_install_count=current_key_install_count, + display_name=display_name, + id=id, + is_unlimited=is_unlimited, + key=key, + lifecycle_details=lifecycle_details, + state=state, + time_created=time_created, + time_expires=time_expires, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_key_install_count: int, + compartment_id: str, + created_by_principal_id: str, + current_key_install_count: int, + display_name: str, + id: str, + is_unlimited: bool, + key: str, + lifecycle_details: str, + state: str, + time_created: str, + time_expires: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allowed_key_install_count", allowed_key_install_count) + _setter("compartment_id", compartment_id) + _setter("created_by_principal_id", created_by_principal_id) + _setter("current_key_install_count", current_key_install_count) + _setter("display_name", display_name) + _setter("id", id) + _setter("is_unlimited", is_unlimited) + _setter("key", key) + _setter("lifecycle_details", lifecycle_details) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_expires", time_expires) + _setter("time_updated", time_updated) @property @pulumi.getter(name="allowedKeyInstallCount") @@ -777,9 +972,22 @@ def __init__(__self__, *, :param str units: Unit for the property :param Sequence[str] values: Values of the property """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "units", units) - pulumi.set(__self__, "values", values) + GetManagementAgentManagementAgentPropertyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + units=units, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + units: str, + values: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("units", units) + _setter("values", values) @property @pulumi.getter @@ -815,8 +1023,19 @@ def __init__(__self__, *, :param int count: The number of Management Agent Plugins in this group :param Sequence['GetManagementAgentPluginCountItemDimensionArgs'] dimensions: The Aggregation of Management Agent Plugin Dimensions """ - pulumi.set(__self__, "count", count) - pulumi.set(__self__, "dimensions", dimensions) + GetManagementAgentPluginCountItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + count=count, + dimensions=dimensions, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + count: int, + dimensions: Sequence['outputs.GetManagementAgentPluginCountItemDimensionResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("count", count) + _setter("dimensions", dimensions) @property @pulumi.getter @@ -844,8 +1063,19 @@ def __init__(__self__, *, :param str plugin_display_name: Management Agent Plugin Display Name :param str plugin_name: Management Agent Plugin Name """ - pulumi.set(__self__, "plugin_display_name", plugin_display_name) - pulumi.set(__self__, "plugin_name", plugin_name) + GetManagementAgentPluginCountItemDimensionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + plugin_display_name=plugin_display_name, + plugin_name=plugin_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + plugin_display_name: str, + plugin_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("plugin_display_name", plugin_display_name) + _setter("plugin_name", plugin_name) @property @pulumi.getter(name="pluginDisplayName") @@ -883,13 +1113,34 @@ def __init__(__self__, *, :param str plugin_status_message: Status message of the Plugin :param str plugin_version: Plugin Version """ - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "plugin_display_name", plugin_display_name) - pulumi.set(__self__, "plugin_id", plugin_id) - pulumi.set(__self__, "plugin_name", plugin_name) - pulumi.set(__self__, "plugin_status", plugin_status) - pulumi.set(__self__, "plugin_status_message", plugin_status_message) - pulumi.set(__self__, "plugin_version", plugin_version) + GetManagementAgentPluginListResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + plugin_display_name=plugin_display_name, + plugin_id=plugin_id, + plugin_name=plugin_name, + plugin_status=plugin_status, + plugin_status_message=plugin_status_message, + plugin_version=plugin_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: bool, + plugin_display_name: str, + plugin_id: str, + plugin_name: str, + plugin_status: str, + plugin_status_message: str, + plugin_version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_enabled", is_enabled) + _setter("plugin_display_name", plugin_display_name) + _setter("plugin_id", plugin_id) + _setter("plugin_name", plugin_name) + _setter("plugin_status", plugin_status) + _setter("plugin_status_message", plugin_status_message) + _setter("plugin_version", plugin_version) @property @pulumi.getter(name="isEnabled") @@ -957,10 +1208,23 @@ def __init__(__self__, *, """ :param str name: Management Agent Plugin Name """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagementAgentPluginsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1002,14 +1266,37 @@ def __init__(__self__, *, :param Sequence[str] supported_platform_types: Supported Platform Types :param int version: Management Agent Plugin Version """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_console_deployable", is_console_deployable) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "supported_platform_types", supported_platform_types) - pulumi.set(__self__, "version", version) + GetManagementAgentPluginsManagementAgentPluginResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + display_name=display_name, + id=id, + is_console_deployable=is_console_deployable, + name=name, + state=state, + supported_platform_types=supported_platform_types, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + display_name: str, + id: str, + is_console_deployable: bool, + name: str, + state: str, + supported_platform_types: Sequence[str], + version: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("display_name", display_name) + _setter("id", id) + _setter("is_console_deployable", is_console_deployable) + _setter("name", name) + _setter("state", state) + _setter("supported_platform_types", supported_platform_types) + _setter("version", version) @property @pulumi.getter @@ -1086,10 +1373,23 @@ def __init__(__self__, *, :param str name: Name of the property :param Sequence[str] values: Values of the property """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagementAgentsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1170,33 +1470,94 @@ def __init__(__self__, *, :param str time_updated: The time the Management Agent was last updated. An RFC3339 formatted datetime string :param str version: Array of versions to return only Management Agents having the particular agent versions. Example: ["202020.0101","210201.0513"] """ - pulumi.set(__self__, "availability_status", availability_status) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "deploy_plugins_ids", deploy_plugins_ids) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "host", host) - pulumi.set(__self__, "host_id", host_id) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "install_key_id", install_key_id) - pulumi.set(__self__, "install_path", install_path) - pulumi.set(__self__, "install_type", install_type) - pulumi.set(__self__, "is_agent_auto_upgradable", is_agent_auto_upgradable) - pulumi.set(__self__, "is_customer_deployed", is_customer_deployed) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "managed_agent_id", managed_agent_id) - pulumi.set(__self__, "management_agent_properties", management_agent_properties) - pulumi.set(__self__, "platform_name", platform_name) - pulumi.set(__self__, "platform_type", platform_type) - pulumi.set(__self__, "platform_version", platform_version) - pulumi.set(__self__, "plugin_lists", plugin_lists) - pulumi.set(__self__, "resource_artifact_version", resource_artifact_version) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_last_heartbeat", time_last_heartbeat) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "version", version) + GetManagementAgentsManagementAgentResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_status=availability_status, + compartment_id=compartment_id, + defined_tags=defined_tags, + deploy_plugins_ids=deploy_plugins_ids, + display_name=display_name, + freeform_tags=freeform_tags, + host=host, + host_id=host_id, + id=id, + install_key_id=install_key_id, + install_path=install_path, + install_type=install_type, + is_agent_auto_upgradable=is_agent_auto_upgradable, + is_customer_deployed=is_customer_deployed, + lifecycle_details=lifecycle_details, + managed_agent_id=managed_agent_id, + management_agent_properties=management_agent_properties, + platform_name=platform_name, + platform_type=platform_type, + platform_version=platform_version, + plugin_lists=plugin_lists, + resource_artifact_version=resource_artifact_version, + state=state, + time_created=time_created, + time_last_heartbeat=time_last_heartbeat, + time_updated=time_updated, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_status: str, + compartment_id: str, + defined_tags: Mapping[str, Any], + deploy_plugins_ids: Sequence[str], + display_name: str, + freeform_tags: Mapping[str, Any], + host: str, + host_id: str, + id: str, + install_key_id: str, + install_path: str, + install_type: str, + is_agent_auto_upgradable: bool, + is_customer_deployed: bool, + lifecycle_details: str, + managed_agent_id: str, + management_agent_properties: Sequence['outputs.GetManagementAgentsManagementAgentManagementAgentPropertyResult'], + platform_name: str, + platform_type: str, + platform_version: str, + plugin_lists: Sequence['outputs.GetManagementAgentsManagementAgentPluginListResult'], + resource_artifact_version: str, + state: str, + time_created: str, + time_last_heartbeat: str, + time_updated: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_status", availability_status) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("deploy_plugins_ids", deploy_plugins_ids) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("host", host) + _setter("host_id", host_id) + _setter("id", id) + _setter("install_key_id", install_key_id) + _setter("install_path", install_path) + _setter("install_type", install_type) + _setter("is_agent_auto_upgradable", is_agent_auto_upgradable) + _setter("is_customer_deployed", is_customer_deployed) + _setter("lifecycle_details", lifecycle_details) + _setter("managed_agent_id", managed_agent_id) + _setter("management_agent_properties", management_agent_properties) + _setter("platform_name", platform_name) + _setter("platform_type", platform_type) + _setter("platform_version", platform_version) + _setter("plugin_lists", plugin_lists) + _setter("resource_artifact_version", resource_artifact_version) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_last_heartbeat", time_last_heartbeat) + _setter("time_updated", time_updated) + _setter("version", version) @property @pulumi.getter(name="availabilityStatus") @@ -1420,9 +1781,22 @@ def __init__(__self__, *, :param str units: Unit for the property :param Sequence[str] values: Values of the property """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "units", units) - pulumi.set(__self__, "values", values) + GetManagementAgentsManagementAgentManagementAgentPropertyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + units=units, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + units: str, + values: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("units", units) + _setter("values", values) @property @pulumi.getter @@ -1468,13 +1842,34 @@ def __init__(__self__, *, :param str plugin_status_message: Status message of the Plugin :param str plugin_version: Plugin Version """ - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "plugin_display_name", plugin_display_name) - pulumi.set(__self__, "plugin_id", plugin_id) - pulumi.set(__self__, "plugin_name", plugin_name) - pulumi.set(__self__, "plugin_status", plugin_status) - pulumi.set(__self__, "plugin_status_message", plugin_status_message) - pulumi.set(__self__, "plugin_version", plugin_version) + GetManagementAgentsManagementAgentPluginListResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + plugin_display_name=plugin_display_name, + plugin_id=plugin_id, + plugin_name=plugin_name, + plugin_status=plugin_status, + plugin_status_message=plugin_status_message, + plugin_version=plugin_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: bool, + plugin_display_name: str, + plugin_id: str, + plugin_name: str, + plugin_status: str, + plugin_status_message: str, + plugin_version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_enabled", is_enabled) + _setter("plugin_display_name", plugin_display_name) + _setter("plugin_id", plugin_id) + _setter("plugin_name", plugin_name) + _setter("plugin_status", plugin_status) + _setter("plugin_status_message", plugin_status_message) + _setter("plugin_version", plugin_version) @property @pulumi.getter(name="isEnabled") diff --git a/sdk/python/pulumi_oci/managementdashboard/get_management_dashboards_export.py b/sdk/python/pulumi_oci/managementdashboard/get_management_dashboards_export.py index a60d73c66b..0e07ec7a8e 100644 --- a/sdk/python/pulumi_oci/managementdashboard/get_management_dashboards_export.py +++ b/sdk/python/pulumi_oci/managementdashboard/get_management_dashboards_export.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/managementdashboard/management_dashboards_import.py b/sdk/python/pulumi_oci/managementdashboard/management_dashboards_import.py index 80244906d4..145561571c 100644 --- a/sdk/python/pulumi_oci/managementdashboard/management_dashboards_import.py +++ b/sdk/python/pulumi_oci/managementdashboard/management_dashboards_import.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['ManagementDashboardsImportArgs', 'ManagementDashboardsImport'] @@ -20,10 +20,21 @@ def __init__(__self__, *, The set of arguments for constructing a ManagementDashboardsImport resource. :param pulumi.Input[str] import_details: Array of Dashboards to import. The `import_details` is mandatory if `import_details_path` is not passed. Value should be stringified JSON of [ManagementDashboardImportDetails](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/managementdashboard/20200901/ManagementDashboardImportDetails/) """ + ManagementDashboardsImportArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + import_details=import_details, + import_details_file=import_details_file, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + import_details: Optional[pulumi.Input[str]] = None, + import_details_file: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if import_details is not None: - pulumi.set(__self__, "import_details", import_details) + _setter("import_details", import_details) if import_details_file is not None: - pulumi.set(__self__, "import_details_file", import_details_file) + _setter("import_details_file", import_details_file) @property @pulumi.getter(name="importDetails") @@ -56,10 +67,21 @@ def __init__(__self__, *, Input properties used for looking up and filtering ManagementDashboardsImport resources. :param pulumi.Input[str] import_details: Array of Dashboards to import. The `import_details` is mandatory if `import_details_path` is not passed. Value should be stringified JSON of [ManagementDashboardImportDetails](https://docs.cloud.oracle.com/en-us/iaas/api/#/en/managementdashboard/20200901/ManagementDashboardImportDetails/) """ + _ManagementDashboardsImportState._configure( + lambda key, value: pulumi.set(__self__, key, value), + import_details=import_details, + import_details_file=import_details_file, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + import_details: Optional[pulumi.Input[str]] = None, + import_details_file: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if import_details is not None: - pulumi.set(__self__, "import_details", import_details) + _setter("import_details", import_details) if import_details_file is not None: - pulumi.set(__self__, "import_details_file", import_details_file) + _setter("import_details_file", import_details_file) @property @pulumi.getter(name="importDetails") @@ -169,6 +191,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ManagementDashboardsImportArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/marketplace/_inputs.py b/sdk/python/pulumi_oci/marketplace/_inputs.py index 9e83700782..7133fbe1fc 100644 --- a/sdk/python/pulumi_oci/marketplace/_inputs.py +++ b/sdk/python/pulumi_oci/marketplace/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -40,14 +40,29 @@ def __init__(__self__, *, :param pulumi.Input[str] mime_type: The MIME type of the upload data. :param pulumi.Input[str] name: (Updatable) The name of the contact. """ + PublicationIconArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + content_url=content_url, + file_extension=file_extension, + mime_type=mime_type, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + content_url: Optional[pulumi.Input[str]] = None, + file_extension: Optional[pulumi.Input[str]] = None, + mime_type: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if content_url is not None: - pulumi.set(__self__, "content_url", content_url) + _setter("content_url", content_url) if file_extension is not None: - pulumi.set(__self__, "file_extension", file_extension) + _setter("file_extension", file_extension) if mime_type is not None: - pulumi.set(__self__, "mime_type", mime_type) + _setter("mime_type", mime_type) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter(name="contentUrl") @@ -113,12 +128,29 @@ def __init__(__self__, *, :param pulumi.Input[str] package_version: The package version. :param pulumi.Input[str] image_id: The unique identifier for the base image of the publication. """ - pulumi.set(__self__, "eulas", eulas) - pulumi.set(__self__, "operating_system", operating_system) - pulumi.set(__self__, "package_type", package_type) - pulumi.set(__self__, "package_version", package_version) + PublicationPackageDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + eulas=eulas, + operating_system=operating_system, + package_type=package_type, + package_version=package_version, + image_id=image_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + eulas: pulumi.Input[Sequence[pulumi.Input['PublicationPackageDetailsEulaArgs']]], + operating_system: pulumi.Input['PublicationPackageDetailsOperatingSystemArgs'], + package_type: pulumi.Input[str], + package_version: pulumi.Input[str], + image_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("eulas", eulas) + _setter("operating_system", operating_system) + _setter("package_type", package_type) + _setter("package_version", package_version) if image_id is not None: - pulumi.set(__self__, "image_id", image_id) + _setter("image_id", image_id) @property @pulumi.getter @@ -190,9 +222,20 @@ def __init__(__self__, *, :param pulumi.Input[str] eula_type: The end user license agreement's type. :param pulumi.Input[str] license_text: The text of the end user license agreement. """ - pulumi.set(__self__, "eula_type", eula_type) + PublicationPackageDetailsEulaArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + eula_type=eula_type, + license_text=license_text, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + eula_type: pulumi.Input[str], + license_text: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("eula_type", eula_type) if license_text is not None: - pulumi.set(__self__, "license_text", license_text) + _setter("license_text", license_text) @property @pulumi.getter(name="eulaType") @@ -226,8 +269,17 @@ def __init__(__self__, *, """ :param pulumi.Input[str] name: (Updatable) The name of the contact. """ + PublicationPackageDetailsOperatingSystemArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -259,14 +311,29 @@ def __init__(__self__, *, ** 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 """ + PublicationSupportContactArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + email=email, + name=name, + phone=phone, + subject=subject, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + email: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + phone: Optional[pulumi.Input[str]] = None, + subject: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if email is not None: - pulumi.set(__self__, "email", email) + _setter("email", email) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if phone is not None: - pulumi.set(__self__, "phone", phone) + _setter("phone", phone) if subject is not None: - pulumi.set(__self__, "subject", subject) + _setter("subject", subject) @property @pulumi.getter @@ -328,8 +395,17 @@ def __init__(__self__, *, """ :param pulumi.Input[str] name: (Updatable) The name of the contact. """ + PublicationSupportedOperatingSystemArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -350,10 +426,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAcceptedAgreementsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -392,10 +481,23 @@ def __init__(__self__, *, """ :param str name: Name of the product category. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetCategoriesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -434,10 +536,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetListingPackageAgreementsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -476,10 +591,23 @@ def __init__(__self__, *, """ :param str name: The name of the variable. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetListingPackagesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -521,10 +649,23 @@ def __init__(__self__, *, """ :param str name: Name of the tax code. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetListingTaxesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -566,10 +707,23 @@ def __init__(__self__, *, """ :param str name: The name of the listing. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetListingsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -611,10 +765,23 @@ def __init__(__self__, *, """ :param str name: The name of the variable. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetPublicationPackagesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -656,10 +823,23 @@ def __init__(__self__, *, """ :param str name: The name of the publication. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetPublicationsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -701,10 +881,23 @@ def __init__(__self__, *, """ :param str name: The name of the publisher. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetPublishersFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/marketplace/accepted_agreement.py b/sdk/python/pulumi_oci/marketplace/accepted_agreement.py index 3a677c4e01..2bdc84e179 100644 --- a/sdk/python/pulumi_oci/marketplace/accepted_agreement.py +++ b/sdk/python/pulumi_oci/marketplace/accepted_agreement.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['AcceptedAgreementArgs', 'AcceptedAgreement'] @@ -37,17 +37,40 @@ def __init__(__self__, *, :param pulumi.Input[str] display_name: (Updatable) A display name for the accepted agreement. :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) The freeform tags associated with this resource, if any. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` """ - pulumi.set(__self__, "agreement_id", agreement_id) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "listing_id", listing_id) - pulumi.set(__self__, "package_version", package_version) - pulumi.set(__self__, "signature", signature) + AcceptedAgreementArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + agreement_id=agreement_id, + compartment_id=compartment_id, + listing_id=listing_id, + package_version=package_version, + signature=signature, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agreement_id: pulumi.Input[str], + compartment_id: pulumi.Input[str], + listing_id: pulumi.Input[str], + package_version: pulumi.Input[str], + signature: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("agreement_id", agreement_id) + _setter("compartment_id", compartment_id) + _setter("listing_id", listing_id) + _setter("package_version", package_version) + _setter("signature", signature) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="agreementId") @@ -178,24 +201,49 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] time_accepted: The time the agreement was accepted. """ + _AcceptedAgreementState._configure( + lambda key, value: pulumi.set(__self__, key, value), + agreement_id=agreement_id, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + listing_id=listing_id, + package_version=package_version, + signature=signature, + time_accepted=time_accepted, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agreement_id: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + listing_id: Optional[pulumi.Input[str]] = None, + package_version: Optional[pulumi.Input[str]] = None, + signature: Optional[pulumi.Input[str]] = None, + time_accepted: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if agreement_id is not None: - pulumi.set(__self__, "agreement_id", agreement_id) + _setter("agreement_id", agreement_id) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if listing_id is not None: - pulumi.set(__self__, "listing_id", listing_id) + _setter("listing_id", listing_id) if package_version is not None: - pulumi.set(__self__, "package_version", package_version) + _setter("package_version", package_version) if signature is not None: - pulumi.set(__self__, "signature", signature) + _setter("signature", signature) if time_accepted is not None: - pulumi.set(__self__, "time_accepted", time_accepted) + _setter("time_accepted", time_accepted) @property @pulumi.getter(name="agreementId") @@ -425,6 +473,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + AcceptedAgreementArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/marketplace/get_accepted_agreement.py b/sdk/python/pulumi_oci/marketplace/get_accepted_agreement.py index bbb912363a..0dfc572ea0 100644 --- a/sdk/python/pulumi_oci/marketplace/get_accepted_agreement.py +++ b/sdk/python/pulumi_oci/marketplace/get_accepted_agreement.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/marketplace/get_accepted_agreements.py b/sdk/python/pulumi_oci/marketplace/get_accepted_agreements.py index 3c018fa983..fc08e015f5 100644 --- a/sdk/python/pulumi_oci/marketplace/get_accepted_agreements.py +++ b/sdk/python/pulumi_oci/marketplace/get_accepted_agreements.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/marketplace/get_categories.py b/sdk/python/pulumi_oci/marketplace/get_categories.py index 1edf15f650..460e84502c 100644 --- a/sdk/python/pulumi_oci/marketplace/get_categories.py +++ b/sdk/python/pulumi_oci/marketplace/get_categories.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/marketplace/get_listing.py b/sdk/python/pulumi_oci/marketplace/get_listing.py index 38fc3ab617..7dfc4e7126 100644 --- a/sdk/python/pulumi_oci/marketplace/get_listing.py +++ b/sdk/python/pulumi_oci/marketplace/get_listing.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/marketplace/get_listing_package.py b/sdk/python/pulumi_oci/marketplace/get_listing_package.py index e47e0a2048..ef8443aa75 100644 --- a/sdk/python/pulumi_oci/marketplace/get_listing_package.py +++ b/sdk/python/pulumi_oci/marketplace/get_listing_package.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/marketplace/get_listing_package_agreements.py b/sdk/python/pulumi_oci/marketplace/get_listing_package_agreements.py index 4943e00ba1..f2b083510d 100644 --- a/sdk/python/pulumi_oci/marketplace/get_listing_package_agreements.py +++ b/sdk/python/pulumi_oci/marketplace/get_listing_package_agreements.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/marketplace/get_listing_packages.py b/sdk/python/pulumi_oci/marketplace/get_listing_packages.py index a81db4e9c0..41ce516d84 100644 --- a/sdk/python/pulumi_oci/marketplace/get_listing_packages.py +++ b/sdk/python/pulumi_oci/marketplace/get_listing_packages.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/marketplace/get_listing_taxes.py b/sdk/python/pulumi_oci/marketplace/get_listing_taxes.py index e0a09a1c0a..7c4f129caa 100644 --- a/sdk/python/pulumi_oci/marketplace/get_listing_taxes.py +++ b/sdk/python/pulumi_oci/marketplace/get_listing_taxes.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/marketplace/get_listings.py b/sdk/python/pulumi_oci/marketplace/get_listings.py index 4eec8dc401..3fe318acb3 100644 --- a/sdk/python/pulumi_oci/marketplace/get_listings.py +++ b/sdk/python/pulumi_oci/marketplace/get_listings.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/marketplace/get_publication.py b/sdk/python/pulumi_oci/marketplace/get_publication.py index e9120dce84..bfeb90d231 100644 --- a/sdk/python/pulumi_oci/marketplace/get_publication.py +++ b/sdk/python/pulumi_oci/marketplace/get_publication.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/marketplace/get_publication_package.py b/sdk/python/pulumi_oci/marketplace/get_publication_package.py index 5af2670b3c..099d7f8b7e 100644 --- a/sdk/python/pulumi_oci/marketplace/get_publication_package.py +++ b/sdk/python/pulumi_oci/marketplace/get_publication_package.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/marketplace/get_publication_packages.py b/sdk/python/pulumi_oci/marketplace/get_publication_packages.py index 9ef6f6da3f..e8e64e1b07 100644 --- a/sdk/python/pulumi_oci/marketplace/get_publication_packages.py +++ b/sdk/python/pulumi_oci/marketplace/get_publication_packages.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/marketplace/get_publications.py b/sdk/python/pulumi_oci/marketplace/get_publications.py index e7123faf63..9d89b7545d 100644 --- a/sdk/python/pulumi_oci/marketplace/get_publications.py +++ b/sdk/python/pulumi_oci/marketplace/get_publications.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/marketplace/get_publishers.py b/sdk/python/pulumi_oci/marketplace/get_publishers.py index 9f6f36934c..d73b43cb95 100644 --- a/sdk/python/pulumi_oci/marketplace/get_publishers.py +++ b/sdk/python/pulumi_oci/marketplace/get_publishers.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/marketplace/listing_package_agreement.py b/sdk/python/pulumi_oci/marketplace/listing_package_agreement.py index 56f20f8046..61cbdc5fdb 100644 --- a/sdk/python/pulumi_oci/marketplace/listing_package_agreement.py +++ b/sdk/python/pulumi_oci/marketplace/listing_package_agreement.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['ListingPackageAgreementArgs', 'ListingPackageAgreement'] @@ -25,11 +25,26 @@ def __init__(__self__, *, :param pulumi.Input[str] package_version: The version of the package. Package versions are unique within a listing. :param pulumi.Input[str] compartment_id: The unique identifier for the compartment, required in gov regions. """ - pulumi.set(__self__, "agreement_id", agreement_id) - pulumi.set(__self__, "listing_id", listing_id) - pulumi.set(__self__, "package_version", package_version) + ListingPackageAgreementArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + agreement_id=agreement_id, + listing_id=listing_id, + package_version=package_version, + compartment_id=compartment_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agreement_id: pulumi.Input[str], + listing_id: pulumi.Input[str], + package_version: pulumi.Input[str], + compartment_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("agreement_id", agreement_id) + _setter("listing_id", listing_id) + _setter("package_version", package_version) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) @property @pulumi.getter(name="agreementId") @@ -102,22 +117,45 @@ def __init__(__self__, *, :param pulumi.Input[str] prompt: Textual prompt to read and accept the agreement. :param pulumi.Input[str] signature: A time-based signature that can be used to accept an agreement or remove a previously accepted agreement from the list that Marketplace checks before a deployment. """ + _ListingPackageAgreementState._configure( + lambda key, value: pulumi.set(__self__, key, value), + agreement_id=agreement_id, + author=author, + compartment_id=compartment_id, + content_url=content_url, + listing_id=listing_id, + package_version=package_version, + prompt=prompt, + signature=signature, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agreement_id: Optional[pulumi.Input[str]] = None, + author: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + content_url: Optional[pulumi.Input[str]] = None, + listing_id: Optional[pulumi.Input[str]] = None, + package_version: Optional[pulumi.Input[str]] = None, + prompt: Optional[pulumi.Input[str]] = None, + signature: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if agreement_id is not None: - pulumi.set(__self__, "agreement_id", agreement_id) + _setter("agreement_id", agreement_id) if author is not None: - pulumi.set(__self__, "author", author) + _setter("author", author) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if content_url is not None: - pulumi.set(__self__, "content_url", content_url) + _setter("content_url", content_url) if listing_id is not None: - pulumi.set(__self__, "listing_id", listing_id) + _setter("listing_id", listing_id) if package_version is not None: - pulumi.set(__self__, "package_version", package_version) + _setter("package_version", package_version) if prompt is not None: - pulumi.set(__self__, "prompt", prompt) + _setter("prompt", prompt) if signature is not None: - pulumi.set(__self__, "signature", signature) + _setter("signature", signature) @property @pulumi.getter(name="agreementId") @@ -295,6 +333,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ListingPackageAgreementArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/marketplace/outputs.py b/sdk/python/pulumi_oci/marketplace/outputs.py index 78a55f1b39..2b414bed2b 100644 --- a/sdk/python/pulumi_oci/marketplace/outputs.py +++ b/sdk/python/pulumi_oci/marketplace/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -118,14 +118,29 @@ def __init__(__self__, *, :param str mime_type: The MIME type of the upload data. :param str name: (Updatable) The name of the contact. """ + PublicationIcon._configure( + lambda key, value: pulumi.set(__self__, key, value), + content_url=content_url, + file_extension=file_extension, + mime_type=mime_type, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + content_url: Optional[str] = None, + file_extension: Optional[str] = None, + mime_type: Optional[str] = None, + name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if content_url is not None: - pulumi.set(__self__, "content_url", content_url) + _setter("content_url", content_url) if file_extension is not None: - pulumi.set(__self__, "file_extension", file_extension) + _setter("file_extension", file_extension) if mime_type is not None: - pulumi.set(__self__, "mime_type", mime_type) + _setter("mime_type", mime_type) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter(name="contentUrl") @@ -198,12 +213,29 @@ def __init__(__self__, *, :param str package_version: The package version. :param str image_id: The unique identifier for the base image of the publication. """ - pulumi.set(__self__, "eulas", eulas) - pulumi.set(__self__, "operating_system", operating_system) - pulumi.set(__self__, "package_type", package_type) - pulumi.set(__self__, "package_version", package_version) + PublicationPackageDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + eulas=eulas, + operating_system=operating_system, + package_type=package_type, + package_version=package_version, + image_id=image_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + eulas: Sequence['outputs.PublicationPackageDetailsEula'], + operating_system: 'outputs.PublicationPackageDetailsOperatingSystem', + package_type: str, + package_version: str, + image_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("eulas", eulas) + _setter("operating_system", operating_system) + _setter("package_type", package_type) + _setter("package_version", package_version) if image_id is not None: - pulumi.set(__self__, "image_id", image_id) + _setter("image_id", image_id) @property @pulumi.getter @@ -274,9 +306,20 @@ def __init__(__self__, *, :param str eula_type: The end user license agreement's type. :param str license_text: The text of the end user license agreement. """ - pulumi.set(__self__, "eula_type", eula_type) + PublicationPackageDetailsEula._configure( + lambda key, value: pulumi.set(__self__, key, value), + eula_type=eula_type, + license_text=license_text, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + eula_type: str, + license_text: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("eula_type", eula_type) if license_text is not None: - pulumi.set(__self__, "license_text", license_text) + _setter("license_text", license_text) @property @pulumi.getter(name="eulaType") @@ -302,8 +345,17 @@ def __init__(__self__, *, """ :param str name: (Updatable) The name of the contact. """ + PublicationPackageDetailsOperatingSystem._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -331,14 +383,29 @@ def __init__(__self__, *, ** 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 """ + PublicationSupportContact._configure( + lambda key, value: pulumi.set(__self__, key, value), + email=email, + name=name, + phone=phone, + subject=subject, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + email: Optional[str] = None, + name: Optional[str] = None, + phone: Optional[str] = None, + subject: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if email is not None: - pulumi.set(__self__, "email", email) + _setter("email", email) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if phone is not None: - pulumi.set(__self__, "phone", phone) + _setter("phone", phone) if subject is not None: - pulumi.set(__self__, "subject", subject) + _setter("subject", subject) @property @pulumi.getter @@ -384,8 +451,17 @@ def __init__(__self__, *, """ :param str name: (Updatable) The name of the contact. """ + PublicationSupportedOperatingSystem._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -420,16 +496,43 @@ def __init__(__self__, *, :param str package_version: The version of the package. Package versions are unique within a listing. :param str time_accepted: The time the agreement was accepted. """ - pulumi.set(__self__, "agreement_id", agreement_id) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "listing_id", listing_id) - pulumi.set(__self__, "package_version", package_version) - pulumi.set(__self__, "signature", signature) - pulumi.set(__self__, "time_accepted", time_accepted) + GetAcceptedAgreementsAcceptedAgreementResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + agreement_id=agreement_id, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + listing_id=listing_id, + package_version=package_version, + signature=signature, + time_accepted=time_accepted, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agreement_id: str, + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + listing_id: str, + package_version: str, + signature: str, + time_accepted: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("agreement_id", agreement_id) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("listing_id", listing_id) + _setter("package_version", package_version) + _setter("signature", signature) + _setter("time_accepted", time_accepted) @property @pulumi.getter(name="agreementId") @@ -515,10 +618,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAcceptedAgreementsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -543,7 +659,16 @@ def __init__(__self__, *, """ :param str name: Name of the product category. """ - pulumi.set(__self__, "name", name) + GetCategoriesCategoryResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -563,10 +688,23 @@ def __init__(__self__, *, """ :param str name: Name of the product category. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetCategoriesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -600,10 +738,25 @@ def __init__(__self__, *, :param str mime_type: The MIME type of the screenshot. :param str name: Text that describes the resource. """ - pulumi.set(__self__, "content_url", content_url) - pulumi.set(__self__, "file_extension", file_extension) - pulumi.set(__self__, "mime_type", mime_type) - pulumi.set(__self__, "name", name) + GetListingBannerResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + content_url=content_url, + file_extension=file_extension, + mime_type=mime_type, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + content_url: str, + file_extension: str, + mime_type: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("content_url", content_url) + _setter("file_extension", file_extension) + _setter("mime_type", mime_type) + _setter("name", name) @property @pulumi.getter(name="contentUrl") @@ -649,9 +802,22 @@ def __init__(__self__, *, :param str name: Text that describes the resource. :param str url: The URL of the resource. """ - pulumi.set(__self__, "document_category", document_category) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "url", url) + GetListingDocumentationLinkResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + document_category=document_category, + name=name, + url=url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + document_category: str, + name: str, + url: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("document_category", document_category) + _setter("name", name) + _setter("url", url) @property @pulumi.getter(name="documentCategory") @@ -691,10 +857,25 @@ def __init__(__self__, *, :param str mime_type: The MIME type of the screenshot. :param str name: Text that describes the resource. """ - pulumi.set(__self__, "content_url", content_url) - pulumi.set(__self__, "file_extension", file_extension) - pulumi.set(__self__, "mime_type", mime_type) - pulumi.set(__self__, "name", name) + GetListingIconResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + content_url=content_url, + file_extension=file_extension, + mime_type=mime_type, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + content_url: str, + file_extension: str, + mime_type: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("content_url", content_url) + _setter("file_extension", file_extension) + _setter("mime_type", mime_type) + _setter("name", name) @property @pulumi.getter(name="contentUrl") @@ -738,8 +919,19 @@ def __init__(__self__, *, :param str code: A code assigned to the item. :param str name: Text that describes the resource. """ - pulumi.set(__self__, "code", code) - pulumi.set(__self__, "name", name) + GetListingLanguageResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + code=code, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + code: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("code", code) + _setter("name", name) @property @pulumi.getter @@ -767,8 +959,19 @@ def __init__(__self__, *, :param str href: The anchor tag. :param str rel: Reference links to the previous page, next page, and other pages. """ - pulumi.set(__self__, "href", href) - pulumi.set(__self__, "rel", rel) + GetListingLinkResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + href=href, + rel=rel, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + href: str, + rel: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("href", href) + _setter("rel", rel) @property @pulumi.getter @@ -800,10 +1003,25 @@ def __init__(__self__, *, :param str id: The unique identifier for the agreement. :param str prompt: Textual prompt to read and accept the agreement. """ - pulumi.set(__self__, "author", author) - pulumi.set(__self__, "content_url", content_url) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "prompt", prompt) + GetListingPackageAgreementsAgreementResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + author=author, + content_url=content_url, + id=id, + prompt=prompt, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + author: str, + content_url: str, + id: str, + prompt: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("author", author) + _setter("content_url", content_url) + _setter("id", id) + _setter("prompt", prompt) @property @pulumi.getter @@ -844,10 +1062,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetListingPackageAgreementsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -872,7 +1103,16 @@ def __init__(__self__, *, """ :param str name: The name of the variable. """ - pulumi.set(__self__, "name", name) + GetListingPackageOperatingSystemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -898,11 +1138,28 @@ def __init__(__self__, *, :param float rate: The pricing rate. :param str type: The type of the pricing model. """ - pulumi.set(__self__, "currency", currency) - pulumi.set(__self__, "international_market_prices", international_market_prices) - pulumi.set(__self__, "pay_go_strategy", pay_go_strategy) - pulumi.set(__self__, "rate", rate) - pulumi.set(__self__, "type", type) + GetListingPackagePricingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + currency=currency, + international_market_prices=international_market_prices, + pay_go_strategy=pay_go_strategy, + rate=rate, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + currency: str, + international_market_prices: Sequence['outputs.GetListingPackagePricingInternationalMarketPriceResult'], + pay_go_strategy: str, + rate: float, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("currency", currency) + _setter("international_market_prices", international_market_prices) + _setter("pay_go_strategy", pay_go_strategy) + _setter("rate", rate) + _setter("type", type) @property @pulumi.getter @@ -956,9 +1213,22 @@ def __init__(__self__, *, :param str currency_symbol: The symbol of the currency :param float rate: The pricing rate. """ - pulumi.set(__self__, "currency_code", currency_code) - pulumi.set(__self__, "currency_symbol", currency_symbol) - pulumi.set(__self__, "rate", rate) + GetListingPackagePricingInternationalMarketPriceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + currency_code=currency_code, + currency_symbol=currency_symbol, + rate=rate, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + currency_code: str, + currency_symbol: str, + rate: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("currency_code", currency_code) + _setter("currency_symbol", currency_symbol) + _setter("rate", rate) @property @pulumi.getter(name="currencyCode") @@ -996,9 +1266,22 @@ def __init__(__self__, *, :param Sequence['GetListingPackageRegionCountryArgs'] countries: Countries in the region. :param str name: The name of the variable. """ - pulumi.set(__self__, "code", code) - pulumi.set(__self__, "countries", countries) - pulumi.set(__self__, "name", name) + GetListingPackageRegionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + code=code, + countries=countries, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + code: str, + countries: Sequence['outputs.GetListingPackageRegionCountryResult'], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("code", code) + _setter("countries", countries) + _setter("name", name) @property @pulumi.getter @@ -1034,8 +1317,19 @@ def __init__(__self__, *, :param str code: A code assigned to the item. :param str name: The name of the variable. """ - pulumi.set(__self__, "code", code) - pulumi.set(__self__, "name", name) + GetListingPackageRegionCountryResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + code=code, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + code: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("code", code) + _setter("name", name) @property @pulumi.getter @@ -1071,12 +1365,31 @@ def __init__(__self__, *, :param bool is_mandatory: Whether the variable is mandatory. :param str name: The name of the variable. """ - pulumi.set(__self__, "data_type", data_type) - pulumi.set(__self__, "default_value", default_value) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "hint_message", hint_message) - pulumi.set(__self__, "is_mandatory", is_mandatory) - pulumi.set(__self__, "name", name) + GetListingPackageVariableResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + data_type=data_type, + default_value=default_value, + description=description, + hint_message=hint_message, + is_mandatory=is_mandatory, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + data_type: str, + default_value: str, + description: str, + hint_message: str, + is_mandatory: bool, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("data_type", data_type) + _setter("default_value", default_value) + _setter("description", description) + _setter("hint_message", hint_message) + _setter("is_mandatory", is_mandatory) + _setter("name", name) @property @pulumi.getter(name="dataType") @@ -1136,10 +1449,23 @@ def __init__(__self__, *, """ :param str name: The name of the variable. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetListingPackagesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1181,14 +1507,37 @@ def __init__(__self__, *, :param str resource_id: The unique identifier for the package resource. :param str time_created: The date and time this listing package was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` """ - pulumi.set(__self__, "listing_id", listing_id) - pulumi.set(__self__, "operating_systems", operating_systems) - pulumi.set(__self__, "package_type", package_type) - pulumi.set(__self__, "package_version", package_version) - pulumi.set(__self__, "pricings", pricings) - pulumi.set(__self__, "regions", regions) - pulumi.set(__self__, "resource_id", resource_id) - pulumi.set(__self__, "time_created", time_created) + GetListingPackagesListingPackageResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + listing_id=listing_id, + operating_systems=operating_systems, + package_type=package_type, + package_version=package_version, + pricings=pricings, + regions=regions, + resource_id=resource_id, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + listing_id: str, + operating_systems: Sequence['outputs.GetListingPackagesListingPackageOperatingSystemResult'], + package_type: str, + package_version: str, + pricings: Sequence['outputs.GetListingPackagesListingPackagePricingResult'], + regions: Sequence['outputs.GetListingPackagesListingPackageRegionResult'], + resource_id: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("listing_id", listing_id) + _setter("operating_systems", operating_systems) + _setter("package_type", package_type) + _setter("package_version", package_version) + _setter("pricings", pricings) + _setter("regions", regions) + _setter("resource_id", resource_id) + _setter("time_created", time_created) @property @pulumi.getter(name="listingId") @@ -1262,7 +1611,16 @@ def __init__(__self__, *, """ :param str name: The name of the variable. """ - pulumi.set(__self__, "name", name) + GetListingPackagesListingPackageOperatingSystemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -1288,11 +1646,28 @@ def __init__(__self__, *, :param float rate: The pricing rate. :param str type: The type of the pricing model. """ - pulumi.set(__self__, "currency", currency) - pulumi.set(__self__, "international_market_prices", international_market_prices) - pulumi.set(__self__, "pay_go_strategy", pay_go_strategy) - pulumi.set(__self__, "rate", rate) - pulumi.set(__self__, "type", type) + GetListingPackagesListingPackagePricingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + currency=currency, + international_market_prices=international_market_prices, + pay_go_strategy=pay_go_strategy, + rate=rate, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + currency: str, + international_market_prices: Sequence['outputs.GetListingPackagesListingPackagePricingInternationalMarketPriceResult'], + pay_go_strategy: str, + rate: float, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("currency", currency) + _setter("international_market_prices", international_market_prices) + _setter("pay_go_strategy", pay_go_strategy) + _setter("rate", rate) + _setter("type", type) @property @pulumi.getter @@ -1346,9 +1721,22 @@ def __init__(__self__, *, :param str currency_symbol: The symbol of the currency :param float rate: The pricing rate. """ - pulumi.set(__self__, "currency_code", currency_code) - pulumi.set(__self__, "currency_symbol", currency_symbol) - pulumi.set(__self__, "rate", rate) + GetListingPackagesListingPackagePricingInternationalMarketPriceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + currency_code=currency_code, + currency_symbol=currency_symbol, + rate=rate, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + currency_code: str, + currency_symbol: str, + rate: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("currency_code", currency_code) + _setter("currency_symbol", currency_symbol) + _setter("rate", rate) @property @pulumi.getter(name="currencyCode") @@ -1386,9 +1774,22 @@ def __init__(__self__, *, :param Sequence['GetListingPackagesListingPackageRegionCountryArgs'] countries: Countries in the region. :param str name: The name of the variable. """ - pulumi.set(__self__, "code", code) - pulumi.set(__self__, "countries", countries) - pulumi.set(__self__, "name", name) + GetListingPackagesListingPackageRegionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + code=code, + countries=countries, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + code: str, + countries: Sequence['outputs.GetListingPackagesListingPackageRegionCountryResult'], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("code", code) + _setter("countries", countries) + _setter("name", name) @property @pulumi.getter @@ -1424,8 +1825,19 @@ def __init__(__self__, *, :param str code: A code assigned to the item. :param str name: The name of the variable. """ - pulumi.set(__self__, "code", code) - pulumi.set(__self__, "name", name) + GetListingPackagesListingPackageRegionCountryResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + code=code, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + code: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("code", code) + _setter("name", name) @property @pulumi.getter @@ -1469,16 +1881,43 @@ def __init__(__self__, *, :param str website_url: The publisher's website. :param str year_founded: The year the publisher's company or organization was founded. """ - pulumi.set(__self__, "contact_email", contact_email) - pulumi.set(__self__, "contact_phone", contact_phone) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "hq_address", hq_address) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "links", links) - pulumi.set(__self__, "logos", logos) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "website_url", website_url) - pulumi.set(__self__, "year_founded", year_founded) + GetListingPublisherResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + contact_email=contact_email, + contact_phone=contact_phone, + description=description, + hq_address=hq_address, + id=id, + links=links, + logos=logos, + name=name, + website_url=website_url, + year_founded=year_founded, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + contact_email: str, + contact_phone: str, + description: str, + hq_address: str, + id: str, + links: Sequence['outputs.GetListingPublisherLinkResult'], + logos: Sequence['outputs.GetListingPublisherLogoResult'], + name: str, + website_url: str, + year_founded: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("contact_email", contact_email) + _setter("contact_phone", contact_phone) + _setter("description", description) + _setter("hq_address", hq_address) + _setter("id", id) + _setter("links", links) + _setter("logos", logos) + _setter("name", name) + _setter("website_url", website_url) + _setter("year_founded", year_founded) @property @pulumi.getter(name="contactEmail") @@ -1570,8 +2009,19 @@ def __init__(__self__, *, :param str href: The anchor tag. :param str rel: Reference links to the previous page, next page, and other pages. """ - pulumi.set(__self__, "href", href) - pulumi.set(__self__, "rel", rel) + GetListingPublisherLinkResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + href=href, + rel=rel, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + href: str, + rel: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("href", href) + _setter("rel", rel) @property @pulumi.getter @@ -1603,10 +2053,25 @@ def __init__(__self__, *, :param str mime_type: The MIME type of the screenshot. :param str name: Text that describes the resource. """ - pulumi.set(__self__, "content_url", content_url) - pulumi.set(__self__, "file_extension", file_extension) - pulumi.set(__self__, "mime_type", mime_type) - pulumi.set(__self__, "name", name) + GetListingPublisherLogoResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + content_url=content_url, + file_extension=file_extension, + mime_type=mime_type, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + content_url: str, + file_extension: str, + mime_type: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("content_url", content_url) + _setter("file_extension", file_extension) + _setter("mime_type", mime_type) + _setter("name", name) @property @pulumi.getter(name="contentUrl") @@ -1652,9 +2117,22 @@ def __init__(__self__, *, :param Sequence['GetListingRegionCountryArgs'] countries: Countries in the region. :param str name: Text that describes the resource. """ - pulumi.set(__self__, "code", code) - pulumi.set(__self__, "countries", countries) - pulumi.set(__self__, "name", name) + GetListingRegionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + code=code, + countries=countries, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + code: str, + countries: Sequence['outputs.GetListingRegionCountryResult'], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("code", code) + _setter("countries", countries) + _setter("name", name) @property @pulumi.getter @@ -1690,8 +2168,19 @@ def __init__(__self__, *, :param str code: A code assigned to the item. :param str name: Text that describes the resource. """ - pulumi.set(__self__, "code", code) - pulumi.set(__self__, "name", name) + GetListingRegionCountryResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + code=code, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + code: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("code", code) + _setter("name", name) @property @pulumi.getter @@ -1725,11 +2214,28 @@ def __init__(__self__, *, :param str mime_type: The MIME type of the screenshot. :param str name: Text that describes the resource. """ - pulumi.set(__self__, "content_url", content_url) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "file_extension", file_extension) - pulumi.set(__self__, "mime_type", mime_type) - pulumi.set(__self__, "name", name) + GetListingScreenshotResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + content_url=content_url, + description=description, + file_extension=file_extension, + mime_type=mime_type, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + content_url: str, + description: str, + file_extension: str, + mime_type: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("content_url", content_url) + _setter("description", description) + _setter("file_extension", file_extension) + _setter("mime_type", mime_type) + _setter("name", name) @property @pulumi.getter(name="contentUrl") @@ -1785,10 +2291,25 @@ def __init__(__self__, *, :param str phone: The phone number of the contact. :param str subject: The email subject line to use when contacting support. """ - pulumi.set(__self__, "email", email) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "phone", phone) - pulumi.set(__self__, "subject", subject) + GetListingSupportContactResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + email=email, + name=name, + phone=phone, + subject=subject, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + email: str, + name: str, + phone: str, + subject: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("email", email) + _setter("name", name) + _setter("phone", phone) + _setter("subject", subject) @property @pulumi.getter @@ -1832,8 +2353,19 @@ def __init__(__self__, *, :param str name: Text that describes the resource. :param str url: The URL of the resource. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "url", url) + GetListingSupportLinkResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + url=url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + url: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("url", url) @property @pulumi.getter @@ -1859,7 +2391,16 @@ def __init__(__self__, *, """ :param str name: Text that describes the resource. """ - pulumi.set(__self__, "name", name) + GetListingSupportedOperatingSystemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -1879,10 +2420,23 @@ def __init__(__self__, *, """ :param str name: Name of the tax code. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetListingTaxesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1916,10 +2470,25 @@ def __init__(__self__, *, :param str name: Name of the tax code. :param str url: The URL with more details about this tax. """ - pulumi.set(__self__, "code", code) - pulumi.set(__self__, "country", country) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "url", url) + GetListingTaxesTaxResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + code=code, + country=country, + name=name, + url=url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + code: str, + country: str, + name: str, + url: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("code", code) + _setter("country", country) + _setter("name", name) + _setter("url", url) @property @pulumi.getter @@ -1963,8 +2532,19 @@ def __init__(__self__, *, :param str name: Text that describes the resource. :param str url: The URL of the resource. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "url", url) + GetListingVideoResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + url=url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + url: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("url", url) @property @pulumi.getter @@ -1992,10 +2572,23 @@ def __init__(__self__, *, """ :param str name: The name of the listing. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetListingsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2052,22 +2645,61 @@ def __init__(__self__, *, :param str short_description: A short description of the listing. :param Sequence['GetListingsListingSupportedOperatingSystemArgs'] supported_operating_systems: The list of operating systems supported by the listing. """ - pulumi.set(__self__, "banners", banners) - pulumi.set(__self__, "categories", categories) - pulumi.set(__self__, "compatible_architectures", compatible_architectures) - pulumi.set(__self__, "default_package_version", default_package_version) - pulumi.set(__self__, "documentation_links", documentation_links) - pulumi.set(__self__, "icons", icons) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_featured", is_featured) - pulumi.set(__self__, "listing_type", listing_type) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "package_type", package_type) - pulumi.set(__self__, "pricing_types", pricing_types) - pulumi.set(__self__, "publishers", publishers) - pulumi.set(__self__, "regions", regions) - pulumi.set(__self__, "short_description", short_description) - pulumi.set(__self__, "supported_operating_systems", supported_operating_systems) + GetListingsListingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + banners=banners, + categories=categories, + compatible_architectures=compatible_architectures, + default_package_version=default_package_version, + documentation_links=documentation_links, + icons=icons, + id=id, + is_featured=is_featured, + listing_type=listing_type, + name=name, + package_type=package_type, + pricing_types=pricing_types, + publishers=publishers, + regions=regions, + short_description=short_description, + supported_operating_systems=supported_operating_systems, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + banners: Sequence['outputs.GetListingsListingBannerResult'], + categories: Sequence[str], + compatible_architectures: Sequence[str], + default_package_version: str, + documentation_links: Sequence['outputs.GetListingsListingDocumentationLinkResult'], + icons: Sequence['outputs.GetListingsListingIconResult'], + id: str, + is_featured: bool, + listing_type: str, + name: str, + package_type: str, + pricing_types: Sequence[str], + publishers: Sequence['outputs.GetListingsListingPublisherResult'], + regions: Sequence['outputs.GetListingsListingRegionResult'], + short_description: str, + supported_operating_systems: Sequence['outputs.GetListingsListingSupportedOperatingSystemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("banners", banners) + _setter("categories", categories) + _setter("compatible_architectures", compatible_architectures) + _setter("default_package_version", default_package_version) + _setter("documentation_links", documentation_links) + _setter("icons", icons) + _setter("id", id) + _setter("is_featured", is_featured) + _setter("listing_type", listing_type) + _setter("name", name) + _setter("package_type", package_type) + _setter("pricing_types", pricing_types) + _setter("publishers", publishers) + _setter("regions", regions) + _setter("short_description", short_description) + _setter("supported_operating_systems", supported_operating_systems) @property @pulumi.getter @@ -2208,10 +2840,25 @@ def __init__(__self__, *, :param str mime_type: The MIME type of the screenshot. :param str name: The name of the listing. """ - pulumi.set(__self__, "content_url", content_url) - pulumi.set(__self__, "file_extension", file_extension) - pulumi.set(__self__, "mime_type", mime_type) - pulumi.set(__self__, "name", name) + GetListingsListingBannerResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + content_url=content_url, + file_extension=file_extension, + mime_type=mime_type, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + content_url: str, + file_extension: str, + mime_type: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("content_url", content_url) + _setter("file_extension", file_extension) + _setter("mime_type", mime_type) + _setter("name", name) @property @pulumi.getter(name="contentUrl") @@ -2257,9 +2904,22 @@ def __init__(__self__, *, :param str name: The name of the listing. :param str url: The URL of the resource. """ - pulumi.set(__self__, "document_category", document_category) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "url", url) + GetListingsListingDocumentationLinkResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + document_category=document_category, + name=name, + url=url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + document_category: str, + name: str, + url: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("document_category", document_category) + _setter("name", name) + _setter("url", url) @property @pulumi.getter(name="documentCategory") @@ -2299,10 +2959,25 @@ def __init__(__self__, *, :param str mime_type: The MIME type of the screenshot. :param str name: The name of the listing. """ - pulumi.set(__self__, "content_url", content_url) - pulumi.set(__self__, "file_extension", file_extension) - pulumi.set(__self__, "mime_type", mime_type) - pulumi.set(__self__, "name", name) + GetListingsListingIconResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + content_url=content_url, + file_extension=file_extension, + mime_type=mime_type, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + content_url: str, + file_extension: str, + mime_type: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("content_url", content_url) + _setter("file_extension", file_extension) + _setter("mime_type", mime_type) + _setter("name", name) @property @pulumi.getter(name="contentUrl") @@ -2348,9 +3023,22 @@ def __init__(__self__, *, :param str id: The unique identifier for the publisher. :param str name: The name of the listing. """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "name", name) + GetListingsListingPublisherResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + id=id, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + id: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("id", id) + _setter("name", name) @property @pulumi.getter @@ -2388,9 +3076,22 @@ def __init__(__self__, *, :param Sequence['GetListingsListingRegionCountryArgs'] countries: Countries in the region. :param str name: The name of the listing. """ - pulumi.set(__self__, "code", code) - pulumi.set(__self__, "countries", countries) - pulumi.set(__self__, "name", name) + GetListingsListingRegionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + code=code, + countries=countries, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + code: str, + countries: Sequence['outputs.GetListingsListingRegionCountryResult'], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("code", code) + _setter("countries", countries) + _setter("name", name) @property @pulumi.getter @@ -2426,8 +3127,19 @@ def __init__(__self__, *, :param str code: A code assigned to the item. :param str name: The name of the listing. """ - pulumi.set(__self__, "code", code) - pulumi.set(__self__, "name", name) + GetListingsListingRegionCountryResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + code=code, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + code: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("code", code) + _setter("name", name) @property @pulumi.getter @@ -2453,7 +3165,16 @@ def __init__(__self__, *, """ :param str name: The name of the listing. """ - pulumi.set(__self__, "name", name) + GetListingsListingSupportedOperatingSystemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -2477,10 +3198,25 @@ def __init__(__self__, *, :param str mime_type: The MIME type of the upload data. :param str name: The name of the operating system. """ - pulumi.set(__self__, "content_url", content_url) - pulumi.set(__self__, "file_extension", file_extension) - pulumi.set(__self__, "mime_type", mime_type) - pulumi.set(__self__, "name", name) + GetPublicationIconResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + content_url=content_url, + file_extension=file_extension, + mime_type=mime_type, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + content_url: str, + file_extension: str, + mime_type: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("content_url", content_url) + _setter("file_extension", file_extension) + _setter("mime_type", mime_type) + _setter("name", name) @property @pulumi.getter(name="contentUrl") @@ -2526,11 +3262,28 @@ def __init__(__self__, *, """ :param str package_type: The listing's package type. """ - pulumi.set(__self__, "eulas", eulas) - pulumi.set(__self__, "image_id", image_id) - pulumi.set(__self__, "operating_systems", operating_systems) - pulumi.set(__self__, "package_type", package_type) - pulumi.set(__self__, "package_version", package_version) + GetPublicationPackageDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + eulas=eulas, + image_id=image_id, + operating_systems=operating_systems, + package_type=package_type, + package_version=package_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + eulas: Sequence['outputs.GetPublicationPackageDetailEulaResult'], + image_id: str, + operating_systems: Sequence['outputs.GetPublicationPackageDetailOperatingSystemResult'], + package_type: str, + package_version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("eulas", eulas) + _setter("image_id", image_id) + _setter("operating_systems", operating_systems) + _setter("package_type", package_type) + _setter("package_version", package_version) @property @pulumi.getter @@ -2566,8 +3319,19 @@ class GetPublicationPackageDetailEulaResult(dict): def __init__(__self__, *, eula_type: str, license_text: str): - pulumi.set(__self__, "eula_type", eula_type) - pulumi.set(__self__, "license_text", license_text) + GetPublicationPackageDetailEulaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + eula_type=eula_type, + license_text=license_text, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + eula_type: str, + license_text: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("eula_type", eula_type) + _setter("license_text", license_text) @property @pulumi.getter(name="eulaType") @@ -2587,7 +3351,16 @@ def __init__(__self__, *, """ :param str name: The name of the operating system. """ - pulumi.set(__self__, "name", name) + GetPublicationPackageDetailOperatingSystemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -2605,7 +3378,16 @@ def __init__(__self__, *, """ :param str name: The name of the variable. """ - pulumi.set(__self__, "name", name) + GetPublicationPackageOperatingSystemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -2633,12 +3415,31 @@ def __init__(__self__, *, :param bool is_mandatory: Whether the variable is mandatory. :param str name: The name of the variable. """ - pulumi.set(__self__, "data_type", data_type) - pulumi.set(__self__, "default_value", default_value) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "hint_message", hint_message) - pulumi.set(__self__, "is_mandatory", is_mandatory) - pulumi.set(__self__, "name", name) + GetPublicationPackageVariableResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + data_type=data_type, + default_value=default_value, + description=description, + hint_message=hint_message, + is_mandatory=is_mandatory, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + data_type: str, + default_value: str, + description: str, + hint_message: str, + is_mandatory: bool, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("data_type", data_type) + _setter("default_value", default_value) + _setter("description", description) + _setter("hint_message", hint_message) + _setter("is_mandatory", is_mandatory) + _setter("name", name) @property @pulumi.getter(name="dataType") @@ -2698,10 +3499,23 @@ def __init__(__self__, *, """ :param str name: The name of the variable. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetPublicationPackagesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2737,11 +3551,28 @@ def __init__(__self__, *, :param str resource_id: The unique identifier for the package resource. :param str time_created: The date and time the publication package was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` """ - pulumi.set(__self__, "listing_id", listing_id) - pulumi.set(__self__, "package_type", package_type) - pulumi.set(__self__, "package_version", package_version) - pulumi.set(__self__, "resource_id", resource_id) - pulumi.set(__self__, "time_created", time_created) + GetPublicationPackagesPublicationPackageResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + listing_id=listing_id, + package_type=package_type, + package_version=package_version, + resource_id=resource_id, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + listing_id: str, + package_type: str, + package_version: str, + resource_id: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("listing_id", listing_id) + _setter("package_type", package_type) + _setter("package_version", package_version) + _setter("resource_id", resource_id) + _setter("time_created", time_created) @property @pulumi.getter(name="listingId") @@ -2797,10 +3628,25 @@ def __init__(__self__, *, :param str phone: The phone number of the contact. :param str subject: The email subject line to use when contacting support. """ - pulumi.set(__self__, "email", email) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "phone", phone) - pulumi.set(__self__, "subject", subject) + GetPublicationSupportContactResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + email=email, + name=name, + phone=phone, + subject=subject, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + email: str, + name: str, + phone: str, + subject: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("email", email) + _setter("name", name) + _setter("phone", phone) + _setter("subject", subject) @property @pulumi.getter @@ -2842,7 +3688,16 @@ def __init__(__self__, *, """ :param str name: The name of the operating system. """ - pulumi.set(__self__, "name", name) + GetPublicationSupportedOperatingSystemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -2862,10 +3717,23 @@ def __init__(__self__, *, """ :param str name: The name of the publication. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetPublicationsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2921,22 +3789,61 @@ def __init__(__self__, *, :param Sequence['GetPublicationsPublicationSupportedOperatingSystemArgs'] supported_operating_systems: The list of operating systems supported by the listing. :param str time_created: The date and time the publication was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "icons", icons) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_agreement_acknowledged", is_agreement_acknowledged) - pulumi.set(__self__, "listing_type", listing_type) - pulumi.set(__self__, "long_description", long_description) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "package_details", package_details) - pulumi.set(__self__, "package_type", package_type) - pulumi.set(__self__, "short_description", short_description) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "support_contacts", support_contacts) - pulumi.set(__self__, "supported_operating_systems", supported_operating_systems) - pulumi.set(__self__, "time_created", time_created) + GetPublicationsPublicationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + icons=icons, + id=id, + is_agreement_acknowledged=is_agreement_acknowledged, + listing_type=listing_type, + long_description=long_description, + name=name, + package_details=package_details, + package_type=package_type, + short_description=short_description, + state=state, + support_contacts=support_contacts, + supported_operating_systems=supported_operating_systems, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + freeform_tags: Mapping[str, Any], + icons: Sequence['outputs.GetPublicationsPublicationIconResult'], + id: str, + is_agreement_acknowledged: bool, + listing_type: str, + long_description: str, + name: str, + package_details: Sequence['outputs.GetPublicationsPublicationPackageDetailResult'], + package_type: str, + short_description: str, + state: str, + support_contacts: Sequence['outputs.GetPublicationsPublicationSupportContactResult'], + supported_operating_systems: Sequence['outputs.GetPublicationsPublicationSupportedOperatingSystemResult'], + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("freeform_tags", freeform_tags) + _setter("icons", icons) + _setter("id", id) + _setter("is_agreement_acknowledged", is_agreement_acknowledged) + _setter("listing_type", listing_type) + _setter("long_description", long_description) + _setter("name", name) + _setter("package_details", package_details) + _setter("package_type", package_type) + _setter("short_description", short_description) + _setter("state", state) + _setter("support_contacts", support_contacts) + _setter("supported_operating_systems", supported_operating_systems) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -3074,10 +3981,25 @@ def __init__(__self__, *, :param str mime_type: The MIME type of the upload data. :param str name: The name of the publication. """ - pulumi.set(__self__, "content_url", content_url) - pulumi.set(__self__, "file_extension", file_extension) - pulumi.set(__self__, "mime_type", mime_type) - pulumi.set(__self__, "name", name) + GetPublicationsPublicationIconResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + content_url=content_url, + file_extension=file_extension, + mime_type=mime_type, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + content_url: str, + file_extension: str, + mime_type: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("content_url", content_url) + _setter("file_extension", file_extension) + _setter("mime_type", mime_type) + _setter("name", name) @property @pulumi.getter(name="contentUrl") @@ -3123,11 +4045,28 @@ def __init__(__self__, *, """ :param str package_type: The listing's package type. """ - pulumi.set(__self__, "eulas", eulas) - pulumi.set(__self__, "image_id", image_id) - pulumi.set(__self__, "operating_systems", operating_systems) - pulumi.set(__self__, "package_type", package_type) - pulumi.set(__self__, "package_version", package_version) + GetPublicationsPublicationPackageDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + eulas=eulas, + image_id=image_id, + operating_systems=operating_systems, + package_type=package_type, + package_version=package_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + eulas: Sequence['outputs.GetPublicationsPublicationPackageDetailEulaResult'], + image_id: str, + operating_systems: Sequence['outputs.GetPublicationsPublicationPackageDetailOperatingSystemResult'], + package_type: str, + package_version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("eulas", eulas) + _setter("image_id", image_id) + _setter("operating_systems", operating_systems) + _setter("package_type", package_type) + _setter("package_version", package_version) @property @pulumi.getter @@ -3163,8 +4102,19 @@ class GetPublicationsPublicationPackageDetailEulaResult(dict): def __init__(__self__, *, eula_type: str, license_text: str): - pulumi.set(__self__, "eula_type", eula_type) - pulumi.set(__self__, "license_text", license_text) + GetPublicationsPublicationPackageDetailEulaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + eula_type=eula_type, + license_text=license_text, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + eula_type: str, + license_text: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("eula_type", eula_type) + _setter("license_text", license_text) @property @pulumi.getter(name="eulaType") @@ -3184,7 +4134,16 @@ def __init__(__self__, *, """ :param str name: The name of the publication. """ - pulumi.set(__self__, "name", name) + GetPublicationsPublicationPackageDetailOperatingSystemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -3208,10 +4167,25 @@ def __init__(__self__, *, :param str phone: The phone number of the contact. :param str subject: The email subject line to use when contacting support. """ - pulumi.set(__self__, "email", email) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "phone", phone) - pulumi.set(__self__, "subject", subject) + GetPublicationsPublicationSupportContactResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + email=email, + name=name, + phone=phone, + subject=subject, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + email: str, + name: str, + phone: str, + subject: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("email", email) + _setter("name", name) + _setter("phone", phone) + _setter("subject", subject) @property @pulumi.getter @@ -3253,7 +4227,16 @@ def __init__(__self__, *, """ :param str name: The name of the publication. """ - pulumi.set(__self__, "name", name) + GetPublicationsPublicationSupportedOperatingSystemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -3273,10 +4256,23 @@ def __init__(__self__, *, """ :param str name: The name of the publisher. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetPublishersFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3308,9 +4304,22 @@ def __init__(__self__, *, :param str id: The unique identifier for the publisher. :param str name: The name of the publisher. """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "name", name) + GetPublishersPublisherResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + id=id, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + id: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("id", id) + _setter("name", name) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/marketplace/publication.py b/sdk/python/pulumi_oci/marketplace/publication.py index 50c9156127..de835be8b1 100644 --- a/sdk/python/pulumi_oci/marketplace/publication.py +++ b/sdk/python/pulumi_oci/marketplace/publication.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -39,20 +39,47 @@ def __init__(__self__, *, :param pulumi.Input[str] long_description: (Updatable) A long description of the publication to use in the listing. :param pulumi.Input[str] name: (Updatable) The name of the contact. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "is_agreement_acknowledged", is_agreement_acknowledged) - pulumi.set(__self__, "listing_type", listing_type) - pulumi.set(__self__, "package_details", package_details) - pulumi.set(__self__, "short_description", short_description) - pulumi.set(__self__, "support_contacts", support_contacts) + PublicationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + is_agreement_acknowledged=is_agreement_acknowledged, + listing_type=listing_type, + package_details=package_details, + short_description=short_description, + support_contacts=support_contacts, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + long_description=long_description, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + is_agreement_acknowledged: pulumi.Input[bool], + listing_type: pulumi.Input[str], + package_details: pulumi.Input['PublicationPackageDetailsArgs'], + short_description: pulumi.Input[str], + support_contacts: pulumi.Input[Sequence[pulumi.Input['PublicationSupportContactArgs']]], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + long_description: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("is_agreement_acknowledged", is_agreement_acknowledged) + _setter("listing_type", listing_type) + _setter("package_details", package_details) + _setter("short_description", short_description) + _setter("support_contacts", support_contacts) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if long_description is not None: - pulumi.set(__self__, "long_description", long_description) + _setter("long_description", long_description) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter(name="compartmentId") @@ -211,36 +238,73 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['PublicationSupportedOperatingSystemArgs']]] supported_operating_systems: The list of operating systems supported by the listing. :param pulumi.Input[str] time_created: The date and time the publication was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2016-08-25T21:10:29.600Z` """ + _PublicationState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + icons=icons, + is_agreement_acknowledged=is_agreement_acknowledged, + listing_type=listing_type, + long_description=long_description, + name=name, + package_details=package_details, + package_type=package_type, + short_description=short_description, + state=state, + support_contacts=support_contacts, + supported_operating_systems=supported_operating_systems, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + icons: Optional[pulumi.Input[Sequence[pulumi.Input['PublicationIconArgs']]]] = None, + is_agreement_acknowledged: Optional[pulumi.Input[bool]] = None, + listing_type: Optional[pulumi.Input[str]] = None, + long_description: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + package_details: Optional[pulumi.Input['PublicationPackageDetailsArgs']] = None, + package_type: Optional[pulumi.Input[str]] = None, + short_description: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + support_contacts: Optional[pulumi.Input[Sequence[pulumi.Input['PublicationSupportContactArgs']]]] = None, + supported_operating_systems: Optional[pulumi.Input[Sequence[pulumi.Input['PublicationSupportedOperatingSystemArgs']]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if icons is not None: - pulumi.set(__self__, "icons", icons) + _setter("icons", icons) if is_agreement_acknowledged is not None: - pulumi.set(__self__, "is_agreement_acknowledged", is_agreement_acknowledged) + _setter("is_agreement_acknowledged", is_agreement_acknowledged) if listing_type is not None: - pulumi.set(__self__, "listing_type", listing_type) + _setter("listing_type", listing_type) if long_description is not None: - pulumi.set(__self__, "long_description", long_description) + _setter("long_description", long_description) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if package_details is not None: - pulumi.set(__self__, "package_details", package_details) + _setter("package_details", package_details) if package_type is not None: - pulumi.set(__self__, "package_type", package_type) + _setter("package_type", package_type) if short_description is not None: - pulumi.set(__self__, "short_description", short_description) + _setter("short_description", short_description) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if support_contacts is not None: - pulumi.set(__self__, "support_contacts", support_contacts) + _setter("support_contacts", support_contacts) if supported_operating_systems is not None: - pulumi.set(__self__, "supported_operating_systems", supported_operating_systems) + _setter("supported_operating_systems", supported_operating_systems) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -570,6 +634,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + PublicationArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -607,6 +675,11 @@ def _internal_init(__self__, __props__.__dict__["listing_type"] = listing_type __props__.__dict__["long_description"] = long_description __props__.__dict__["name"] = name + if package_details is not None and not isinstance(package_details, PublicationPackageDetailsArgs): + package_details = package_details or {} + def _setter(key, value): + package_details[key] = value + PublicationPackageDetailsArgs._configure(_setter, **package_details) if package_details is None and not opts.urn: raise TypeError("Missing required property 'package_details'") __props__.__dict__["package_details"] = package_details diff --git a/sdk/python/pulumi_oci/mediaservices/_inputs.py b/sdk/python/pulumi_oci/mediaservices/_inputs.py index 0cf8ff679e..e2d6263619 100644 --- a/sdk/python/pulumi_oci/mediaservices/_inputs.py +++ b/sdk/python/pulumi_oci/mediaservices/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -40,9 +40,20 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "value", value) + MediaAssetMediaAssetTagArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: pulumi.Input[str], + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -80,7 +91,16 @@ def __init__(__self__, *, """ :param pulumi.Input[str] metadata: (Updatable) JSON string containing the technial metadata for the media asset. """ - pulumi.set(__self__, "metadata", metadata) + MediaAssetMetadataArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metadata=metadata, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metadata: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("metadata", metadata) @property @pulumi.getter @@ -110,16 +130,33 @@ def __init__(__self__, *, :param pulumi.Input[str] namespace: The namespace name of the job output. :param pulumi.Input[str] object: The object name of the job output. """ + MediaWorkflowJobOutputArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + asset_type=asset_type, + bucket=bucket, + id=id, + namespace=namespace, + object=object, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + asset_type: Optional[pulumi.Input[str]] = None, + bucket: Optional[pulumi.Input[str]] = None, + id: Optional[pulumi.Input[str]] = None, + namespace: Optional[pulumi.Input[str]] = None, + object: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if asset_type is not None: - pulumi.set(__self__, "asset_type", asset_type) + _setter("asset_type", asset_type) if bucket is not None: - pulumi.set(__self__, "bucket", bucket) + _setter("bucket", bucket) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if object is not None: - pulumi.set(__self__, "object", object) + _setter("object", object) @property @pulumi.getter(name="assetType") @@ -193,12 +230,25 @@ def __init__(__self__, *, :param pulumi.Input[str] lifecycle_details: The lifecycle details of MediaWorkflowJob task. :param pulumi.Input[str] state: The current state of the MediaWorkflowJob task. """ + MediaWorkflowJobTaskLifecycleStateArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + lifecycle_details=lifecycle_details, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) @property @pulumi.getter @@ -260,16 +310,37 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] enable_when_referenced_parameter_equals: (Updatable) Used in conjunction with enableParameterReference to conditionally enable a task. When a job is created from the workflow of this task, the task will only be enabled if the value of the parameter specified by enableParameterReference is equal to the value of this property. This property must be prenset if and only if a enableParameterReference is given. The value is a JSON node. :param pulumi.Input[Sequence[pulumi.Input[str]]] prerequisites: (Updatable) Keys to the other tasks in this workflow that must be completed before execution of this task can begin. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "parameters", parameters) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "version", version) + MediaWorkflowTaskArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + parameters=parameters, + type=type, + version=version, + enable_parameter_reference=enable_parameter_reference, + enable_when_referenced_parameter_equals=enable_when_referenced_parameter_equals, + prerequisites=prerequisites, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: pulumi.Input[str], + parameters: pulumi.Input[str], + type: pulumi.Input[str], + version: pulumi.Input[str], + enable_parameter_reference: Optional[pulumi.Input[str]] = None, + enable_when_referenced_parameter_equals: Optional[pulumi.Input[Mapping[str, Any]]] = None, + prerequisites: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("parameters", parameters) + _setter("type", type) + _setter("version", version) if enable_parameter_reference is not None: - pulumi.set(__self__, "enable_parameter_reference", enable_parameter_reference) + _setter("enable_parameter_reference", enable_parameter_reference) if enable_when_referenced_parameter_equals is not None: - pulumi.set(__self__, "enable_when_referenced_parameter_equals", enable_when_referenced_parameter_equals) + _setter("enable_when_referenced_parameter_equals", enable_when_referenced_parameter_equals) if prerequisites is not None: - pulumi.set(__self__, "prerequisites", prerequisites) + _setter("prerequisites", prerequisites) @property @pulumi.getter @@ -389,29 +460,60 @@ def __init__(__self__, *, :param pulumi.Input[str] origin_auth_sign_encryption: (Updatable) The type of encryption used to compute the signature. :param pulumi.Input[str] origin_auth_sign_type: (Updatable) The type of data used to compute the signature. """ - pulumi.set(__self__, "type", type) + StreamCdnConfigConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + edge_hostname=edge_hostname, + edge_path_prefix=edge_path_prefix, + edge_token_key=edge_token_key, + edge_token_salt=edge_token_salt, + is_edge_token_auth=is_edge_token_auth, + origin_auth_secret_key_a=origin_auth_secret_key_a, + origin_auth_secret_key_b=origin_auth_secret_key_b, + origin_auth_secret_key_nonce_a=origin_auth_secret_key_nonce_a, + origin_auth_secret_key_nonce_b=origin_auth_secret_key_nonce_b, + origin_auth_sign_encryption=origin_auth_sign_encryption, + origin_auth_sign_type=origin_auth_sign_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + edge_hostname: Optional[pulumi.Input[str]] = None, + edge_path_prefix: Optional[pulumi.Input[str]] = None, + edge_token_key: Optional[pulumi.Input[str]] = None, + edge_token_salt: Optional[pulumi.Input[str]] = None, + is_edge_token_auth: Optional[pulumi.Input[bool]] = None, + origin_auth_secret_key_a: Optional[pulumi.Input[str]] = None, + origin_auth_secret_key_b: Optional[pulumi.Input[str]] = None, + origin_auth_secret_key_nonce_a: Optional[pulumi.Input[str]] = None, + origin_auth_secret_key_nonce_b: Optional[pulumi.Input[str]] = None, + origin_auth_sign_encryption: Optional[pulumi.Input[str]] = None, + origin_auth_sign_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if edge_hostname is not None: - pulumi.set(__self__, "edge_hostname", edge_hostname) + _setter("edge_hostname", edge_hostname) if edge_path_prefix is not None: - pulumi.set(__self__, "edge_path_prefix", edge_path_prefix) + _setter("edge_path_prefix", edge_path_prefix) if edge_token_key is not None: - pulumi.set(__self__, "edge_token_key", edge_token_key) + _setter("edge_token_key", edge_token_key) if edge_token_salt is not None: - pulumi.set(__self__, "edge_token_salt", edge_token_salt) + _setter("edge_token_salt", edge_token_salt) if is_edge_token_auth is not None: - pulumi.set(__self__, "is_edge_token_auth", is_edge_token_auth) + _setter("is_edge_token_auth", is_edge_token_auth) if origin_auth_secret_key_a is not None: - pulumi.set(__self__, "origin_auth_secret_key_a", origin_auth_secret_key_a) + _setter("origin_auth_secret_key_a", origin_auth_secret_key_a) if origin_auth_secret_key_b is not None: - pulumi.set(__self__, "origin_auth_secret_key_b", origin_auth_secret_key_b) + _setter("origin_auth_secret_key_b", origin_auth_secret_key_b) if origin_auth_secret_key_nonce_a is not None: - pulumi.set(__self__, "origin_auth_secret_key_nonce_a", origin_auth_secret_key_nonce_a) + _setter("origin_auth_secret_key_nonce_a", origin_auth_secret_key_nonce_a) if origin_auth_secret_key_nonce_b is not None: - pulumi.set(__self__, "origin_auth_secret_key_nonce_b", origin_auth_secret_key_nonce_b) + _setter("origin_auth_secret_key_nonce_b", origin_auth_secret_key_nonce_b) if origin_auth_sign_encryption is not None: - pulumi.set(__self__, "origin_auth_sign_encryption", origin_auth_sign_encryption) + _setter("origin_auth_sign_encryption", origin_auth_sign_encryption) if origin_auth_sign_type is not None: - pulumi.set(__self__, "origin_auth_sign_type", origin_auth_sign_type) + _setter("origin_auth_sign_type", origin_auth_sign_type) @property @pulumi.getter @@ -567,9 +669,20 @@ def __init__(__self__, *, :param pulumi.Input[str] algorithm: The encryption algorithm for the stream packaging configuration. :param pulumi.Input[str] kms_key_id: The identifier of the customer managed Vault KMS symmetric encryption key (null if Oracle managed). """ - pulumi.set(__self__, "algorithm", algorithm) + StreamPackagingConfigEncryptionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + algorithm=algorithm, + kms_key_id=kms_key_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + algorithm: pulumi.Input[str], + kms_key_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("algorithm", algorithm) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) @property @pulumi.getter @@ -602,10 +715,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetMediaAssetsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -641,10 +767,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetMediaWorkflowConfigurationsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -683,10 +822,23 @@ def __init__(__self__, *, """ :param str name: Unique name. It is read-only and generated for the fact. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetMediaWorkflowJobFactsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -725,10 +877,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetMediaWorkflowJobsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -764,10 +929,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetMediaWorkflowsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -803,10 +981,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetStreamCdnConfigsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -842,10 +1033,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetStreamDistributionChannelsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -881,10 +1085,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetStreamPackagingConfigsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/mediaservices/get_media_asset.py b/sdk/python/pulumi_oci/mediaservices/get_media_asset.py index c6eb9cf6ea..529d671f4d 100644 --- a/sdk/python/pulumi_oci/mediaservices/get_media_asset.py +++ b/sdk/python/pulumi_oci/mediaservices/get_media_asset.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/mediaservices/get_media_asset_distribution_channel_attachment.py b/sdk/python/pulumi_oci/mediaservices/get_media_asset_distribution_channel_attachment.py index 34d68bfcee..9dab3689fc 100644 --- a/sdk/python/pulumi_oci/mediaservices/get_media_asset_distribution_channel_attachment.py +++ b/sdk/python/pulumi_oci/mediaservices/get_media_asset_distribution_channel_attachment.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/mediaservices/get_media_assets.py b/sdk/python/pulumi_oci/mediaservices/get_media_assets.py index 9ae41d2b14..fd891ef99e 100644 --- a/sdk/python/pulumi_oci/mediaservices/get_media_assets.py +++ b/sdk/python/pulumi_oci/mediaservices/get_media_assets.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/mediaservices/get_media_workflow.py b/sdk/python/pulumi_oci/mediaservices/get_media_workflow.py index 58c073e222..977b3d982e 100644 --- a/sdk/python/pulumi_oci/mediaservices/get_media_workflow.py +++ b/sdk/python/pulumi_oci/mediaservices/get_media_workflow.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/mediaservices/get_media_workflow_configuration.py b/sdk/python/pulumi_oci/mediaservices/get_media_workflow_configuration.py index 40f5512faf..6e6cff57fb 100644 --- a/sdk/python/pulumi_oci/mediaservices/get_media_workflow_configuration.py +++ b/sdk/python/pulumi_oci/mediaservices/get_media_workflow_configuration.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/mediaservices/get_media_workflow_configurations.py b/sdk/python/pulumi_oci/mediaservices/get_media_workflow_configurations.py index 812a1accce..4636b0d514 100644 --- a/sdk/python/pulumi_oci/mediaservices/get_media_workflow_configurations.py +++ b/sdk/python/pulumi_oci/mediaservices/get_media_workflow_configurations.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/mediaservices/get_media_workflow_job.py b/sdk/python/pulumi_oci/mediaservices/get_media_workflow_job.py index f39a2fd348..9ea027fa84 100644 --- a/sdk/python/pulumi_oci/mediaservices/get_media_workflow_job.py +++ b/sdk/python/pulumi_oci/mediaservices/get_media_workflow_job.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/mediaservices/get_media_workflow_job_fact.py b/sdk/python/pulumi_oci/mediaservices/get_media_workflow_job_fact.py index 615bcb1e39..82432bac14 100644 --- a/sdk/python/pulumi_oci/mediaservices/get_media_workflow_job_fact.py +++ b/sdk/python/pulumi_oci/mediaservices/get_media_workflow_job_fact.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/mediaservices/get_media_workflow_job_facts.py b/sdk/python/pulumi_oci/mediaservices/get_media_workflow_job_facts.py index bd389f419f..2b62cb1263 100644 --- a/sdk/python/pulumi_oci/mediaservices/get_media_workflow_job_facts.py +++ b/sdk/python/pulumi_oci/mediaservices/get_media_workflow_job_facts.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/mediaservices/get_media_workflow_jobs.py b/sdk/python/pulumi_oci/mediaservices/get_media_workflow_jobs.py index e47d13eb7f..5f62897426 100644 --- a/sdk/python/pulumi_oci/mediaservices/get_media_workflow_jobs.py +++ b/sdk/python/pulumi_oci/mediaservices/get_media_workflow_jobs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/mediaservices/get_media_workflow_task_declaration.py b/sdk/python/pulumi_oci/mediaservices/get_media_workflow_task_declaration.py index 6123f2639b..51bdbc83c7 100644 --- a/sdk/python/pulumi_oci/mediaservices/get_media_workflow_task_declaration.py +++ b/sdk/python/pulumi_oci/mediaservices/get_media_workflow_task_declaration.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/mediaservices/get_media_workflows.py b/sdk/python/pulumi_oci/mediaservices/get_media_workflows.py index e6b9a45a44..f758bfeee1 100644 --- a/sdk/python/pulumi_oci/mediaservices/get_media_workflows.py +++ b/sdk/python/pulumi_oci/mediaservices/get_media_workflows.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/mediaservices/get_stream_cdn_config.py b/sdk/python/pulumi_oci/mediaservices/get_stream_cdn_config.py index 17eb16316c..4760579642 100644 --- a/sdk/python/pulumi_oci/mediaservices/get_stream_cdn_config.py +++ b/sdk/python/pulumi_oci/mediaservices/get_stream_cdn_config.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/mediaservices/get_stream_cdn_configs.py b/sdk/python/pulumi_oci/mediaservices/get_stream_cdn_configs.py index 7f83355438..4e6180d653 100644 --- a/sdk/python/pulumi_oci/mediaservices/get_stream_cdn_configs.py +++ b/sdk/python/pulumi_oci/mediaservices/get_stream_cdn_configs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/mediaservices/get_stream_distribution_channel.py b/sdk/python/pulumi_oci/mediaservices/get_stream_distribution_channel.py index a2e6ef17ef..9f96b500eb 100644 --- a/sdk/python/pulumi_oci/mediaservices/get_stream_distribution_channel.py +++ b/sdk/python/pulumi_oci/mediaservices/get_stream_distribution_channel.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/mediaservices/get_stream_distribution_channels.py b/sdk/python/pulumi_oci/mediaservices/get_stream_distribution_channels.py index f26e17e905..6a9a0e471c 100644 --- a/sdk/python/pulumi_oci/mediaservices/get_stream_distribution_channels.py +++ b/sdk/python/pulumi_oci/mediaservices/get_stream_distribution_channels.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/mediaservices/get_stream_packaging_config.py b/sdk/python/pulumi_oci/mediaservices/get_stream_packaging_config.py index c29259e80b..48361fcc7a 100644 --- a/sdk/python/pulumi_oci/mediaservices/get_stream_packaging_config.py +++ b/sdk/python/pulumi_oci/mediaservices/get_stream_packaging_config.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/mediaservices/get_stream_packaging_configs.py b/sdk/python/pulumi_oci/mediaservices/get_stream_packaging_configs.py index 7f47d097a0..383ff4c423 100644 --- a/sdk/python/pulumi_oci/mediaservices/get_stream_packaging_configs.py +++ b/sdk/python/pulumi_oci/mediaservices/get_stream_packaging_configs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/mediaservices/get_system_media_workflow.py b/sdk/python/pulumi_oci/mediaservices/get_system_media_workflow.py index a42b3ac39a..4581f816c3 100644 --- a/sdk/python/pulumi_oci/mediaservices/get_system_media_workflow.py +++ b/sdk/python/pulumi_oci/mediaservices/get_system_media_workflow.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/mediaservices/media_asset.py b/sdk/python/pulumi_oci/mediaservices/media_asset.py index c9f8cb1fca..554529d17e 100644 --- a/sdk/python/pulumi_oci/mediaservices/media_asset.py +++ b/sdk/python/pulumi_oci/mediaservices/media_asset.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -59,40 +59,83 @@ def __init__(__self__, *, :param pulumi.Input[str] source_media_workflow_id: The ID of the MediaWorkflow used to produce this asset. :param pulumi.Input[str] source_media_workflow_version: The version of the MediaWorkflow used to produce this asset. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "type", type) + MediaAssetArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + type=type, + bucket=bucket, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + master_media_asset_id=master_media_asset_id, + media_asset_tags=media_asset_tags, + media_workflow_job_id=media_workflow_job_id, + metadatas=metadatas, + namespace=namespace, + object=object, + object_etag=object_etag, + parent_media_asset_id=parent_media_asset_id, + segment_range_end_index=segment_range_end_index, + segment_range_start_index=segment_range_start_index, + source_media_workflow_id=source_media_workflow_id, + source_media_workflow_version=source_media_workflow_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + type: pulumi.Input[str], + bucket: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + master_media_asset_id: Optional[pulumi.Input[str]] = None, + media_asset_tags: Optional[pulumi.Input[Sequence[pulumi.Input['MediaAssetMediaAssetTagArgs']]]] = None, + media_workflow_job_id: Optional[pulumi.Input[str]] = None, + metadatas: Optional[pulumi.Input[Sequence[pulumi.Input['MediaAssetMetadataArgs']]]] = None, + namespace: Optional[pulumi.Input[str]] = None, + object: Optional[pulumi.Input[str]] = None, + object_etag: Optional[pulumi.Input[str]] = None, + parent_media_asset_id: Optional[pulumi.Input[str]] = None, + segment_range_end_index: Optional[pulumi.Input[str]] = None, + segment_range_start_index: Optional[pulumi.Input[str]] = None, + source_media_workflow_id: Optional[pulumi.Input[str]] = None, + source_media_workflow_version: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("type", type) if bucket is not None: - pulumi.set(__self__, "bucket", bucket) + _setter("bucket", bucket) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if master_media_asset_id is not None: - pulumi.set(__self__, "master_media_asset_id", master_media_asset_id) + _setter("master_media_asset_id", master_media_asset_id) if media_asset_tags is not None: - pulumi.set(__self__, "media_asset_tags", media_asset_tags) + _setter("media_asset_tags", media_asset_tags) if media_workflow_job_id is not None: - pulumi.set(__self__, "media_workflow_job_id", media_workflow_job_id) + _setter("media_workflow_job_id", media_workflow_job_id) if metadatas is not None: - pulumi.set(__self__, "metadatas", metadatas) + _setter("metadatas", metadatas) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if object is not None: - pulumi.set(__self__, "object", object) + _setter("object", object) if object_etag is not None: - pulumi.set(__self__, "object_etag", object_etag) + _setter("object_etag", object_etag) if parent_media_asset_id is not None: - pulumi.set(__self__, "parent_media_asset_id", parent_media_asset_id) + _setter("parent_media_asset_id", parent_media_asset_id) if segment_range_end_index is not None: - pulumi.set(__self__, "segment_range_end_index", segment_range_end_index) + _setter("segment_range_end_index", segment_range_end_index) if segment_range_start_index is not None: - pulumi.set(__self__, "segment_range_start_index", segment_range_start_index) + _setter("segment_range_start_index", segment_range_start_index) if source_media_workflow_id is not None: - pulumi.set(__self__, "source_media_workflow_id", source_media_workflow_id) + _setter("source_media_workflow_id", source_media_workflow_id) if source_media_workflow_version is not None: - pulumi.set(__self__, "source_media_workflow_version", source_media_workflow_version) + _setter("source_media_workflow_version", source_media_workflow_version) @property @pulumi.getter(name="compartmentId") @@ -369,50 +412,101 @@ def __init__(__self__, *, ** 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 """ + _MediaAssetState._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + master_media_asset_id=master_media_asset_id, + media_asset_tags=media_asset_tags, + media_workflow_job_id=media_workflow_job_id, + metadatas=metadatas, + namespace=namespace, + object=object, + object_etag=object_etag, + parent_media_asset_id=parent_media_asset_id, + segment_range_end_index=segment_range_end_index, + segment_range_start_index=segment_range_start_index, + source_media_workflow_id=source_media_workflow_id, + source_media_workflow_version=source_media_workflow_version, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + master_media_asset_id: Optional[pulumi.Input[str]] = None, + media_asset_tags: Optional[pulumi.Input[Sequence[pulumi.Input['MediaAssetMediaAssetTagArgs']]]] = None, + media_workflow_job_id: Optional[pulumi.Input[str]] = None, + metadatas: Optional[pulumi.Input[Sequence[pulumi.Input['MediaAssetMetadataArgs']]]] = None, + namespace: Optional[pulumi.Input[str]] = None, + object: Optional[pulumi.Input[str]] = None, + object_etag: Optional[pulumi.Input[str]] = None, + parent_media_asset_id: Optional[pulumi.Input[str]] = None, + segment_range_end_index: Optional[pulumi.Input[str]] = None, + segment_range_start_index: Optional[pulumi.Input[str]] = None, + source_media_workflow_id: Optional[pulumi.Input[str]] = None, + source_media_workflow_version: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if bucket is not None: - pulumi.set(__self__, "bucket", bucket) + _setter("bucket", bucket) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if master_media_asset_id is not None: - pulumi.set(__self__, "master_media_asset_id", master_media_asset_id) + _setter("master_media_asset_id", master_media_asset_id) if media_asset_tags is not None: - pulumi.set(__self__, "media_asset_tags", media_asset_tags) + _setter("media_asset_tags", media_asset_tags) if media_workflow_job_id is not None: - pulumi.set(__self__, "media_workflow_job_id", media_workflow_job_id) + _setter("media_workflow_job_id", media_workflow_job_id) if metadatas is not None: - pulumi.set(__self__, "metadatas", metadatas) + _setter("metadatas", metadatas) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if object is not None: - pulumi.set(__self__, "object", object) + _setter("object", object) if object_etag is not None: - pulumi.set(__self__, "object_etag", object_etag) + _setter("object_etag", object_etag) if parent_media_asset_id is not None: - pulumi.set(__self__, "parent_media_asset_id", parent_media_asset_id) + _setter("parent_media_asset_id", parent_media_asset_id) if segment_range_end_index is not None: - pulumi.set(__self__, "segment_range_end_index", segment_range_end_index) + _setter("segment_range_end_index", segment_range_end_index) if segment_range_start_index is not None: - pulumi.set(__self__, "segment_range_start_index", segment_range_start_index) + _setter("segment_range_start_index", segment_range_start_index) if source_media_workflow_id is not None: - pulumi.set(__self__, "source_media_workflow_id", source_media_workflow_id) + _setter("source_media_workflow_id", source_media_workflow_id) if source_media_workflow_version is not None: - pulumi.set(__self__, "source_media_workflow_version", source_media_workflow_version) + _setter("source_media_workflow_version", source_media_workflow_version) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -774,6 +868,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + MediaAssetArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/mediaservices/media_workflow.py b/sdk/python/pulumi_oci/mediaservices/media_workflow.py index 246d578303..fdf3d61b10 100644 --- a/sdk/python/pulumi_oci/mediaservices/media_workflow.py +++ b/sdk/python/pulumi_oci/mediaservices/media_workflow.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -33,18 +33,39 @@ def __init__(__self__, *, :param pulumi.Input[str] parameters: (Updatable) Data specifiying how this task is to be run. The data is a JSON object that must conform to the JSON Schema specified by the parameters of the MediaWorkflowTaskDeclaration this task references. The parameters may contain values or references to other parameters. :param pulumi.Input[Sequence[pulumi.Input['MediaWorkflowTaskArgs']]] tasks: (Updatable) The processing to be done in this workflow. Each key of the MediaWorkflowTasks in this array must be unique within the array. The order of tasks given here will be preserved. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) + MediaWorkflowArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + media_workflow_configuration_ids=media_workflow_configuration_ids, + parameters=parameters, + tasks=tasks, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + media_workflow_configuration_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + parameters: Optional[pulumi.Input[str]] = None, + tasks: Optional[pulumi.Input[Sequence[pulumi.Input['MediaWorkflowTaskArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if media_workflow_configuration_ids is not None: - pulumi.set(__self__, "media_workflow_configuration_ids", media_workflow_configuration_ids) + _setter("media_workflow_configuration_ids", media_workflow_configuration_ids) if parameters is not None: - pulumi.set(__self__, "parameters", parameters) + _setter("parameters", parameters) if tasks is not None: - pulumi.set(__self__, "tasks", tasks) + _setter("tasks", tasks) @property @pulumi.getter(name="compartmentId") @@ -167,32 +188,65 @@ def __init__(__self__, *, ** 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 """ + _MediaWorkflowState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + lifecyle_details=lifecyle_details, + media_workflow_configuration_ids=media_workflow_configuration_ids, + parameters=parameters, + state=state, + system_tags=system_tags, + tasks=tasks, + time_created=time_created, + time_updated=time_updated, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecyle_details: Optional[pulumi.Input[str]] = None, + media_workflow_configuration_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + parameters: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + tasks: Optional[pulumi.Input[Sequence[pulumi.Input['MediaWorkflowTaskArgs']]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + version: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecyle_details is not None: - pulumi.set(__self__, "lifecyle_details", lifecyle_details) + _setter("lifecyle_details", lifecyle_details) if media_workflow_configuration_ids is not None: - pulumi.set(__self__, "media_workflow_configuration_ids", media_workflow_configuration_ids) + _setter("media_workflow_configuration_ids", media_workflow_configuration_ids) if parameters is not None: - pulumi.set(__self__, "parameters", parameters) + _setter("parameters", parameters) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if tasks is not None: - pulumi.set(__self__, "tasks", tasks) + _setter("tasks", tasks) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter(name="compartmentId") @@ -476,6 +530,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + MediaWorkflowArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/mediaservices/media_workflow_configuration.py b/sdk/python/pulumi_oci/mediaservices/media_workflow_configuration.py index 5125ad2c9c..c8949b2445 100644 --- a/sdk/python/pulumi_oci/mediaservices/media_workflow_configuration.py +++ b/sdk/python/pulumi_oci/mediaservices/media_workflow_configuration.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['MediaWorkflowConfigurationArgs', 'MediaWorkflowConfiguration'] @@ -31,13 +31,30 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "parameters", parameters) + MediaWorkflowConfigurationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + parameters=parameters, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + parameters: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) + _setter("parameters", parameters) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="compartmentId") @@ -134,26 +151,53 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The time when the the MediaWorkflowConfiguration was created. An RFC3339 formatted datetime string. :param pulumi.Input[str] time_updated: The time when the MediaWorkflowConfiguration was updated. An RFC3339 formatted datetime string. """ + _MediaWorkflowConfigurationState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + lifecyle_details=lifecyle_details, + parameters=parameters, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecyle_details: Optional[pulumi.Input[str]] = None, + parameters: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecyle_details is not None: - pulumi.set(__self__, "lifecyle_details", lifecyle_details) + _setter("lifecyle_details", lifecyle_details) if parameters is not None: - pulumi.set(__self__, "parameters", parameters) + _setter("parameters", parameters) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -381,6 +425,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + MediaWorkflowConfigurationArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/mediaservices/media_workflow_job.py b/sdk/python/pulumi_oci/mediaservices/media_workflow_job.py index d6fbc30582..a06ad4b2e0 100644 --- a/sdk/python/pulumi_oci/mediaservices/media_workflow_job.py +++ b/sdk/python/pulumi_oci/mediaservices/media_workflow_job.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -41,22 +41,47 @@ def __init__(__self__, *, :param pulumi.Input[str] media_workflow_name: Name of the system MediaWorkflow that should be run. :param pulumi.Input[str] parameters: Parameters that override parameters specified in MediaWorkflowTaskDeclarations, the MediaWorkflow, the MediaWorkflow's MediaWorkflowConfigurations and the MediaWorkflowConfigurations of this MediaWorkflowJob. The parameters are given as JSON. The top level and 2nd level elements must be JSON objects (vs arrays, scalars, etc). The top level keys refer to a task's key and the 2nd level keys refer to a parameter's name. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "workflow_identifier_type", workflow_identifier_type) + MediaWorkflowJobArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + workflow_identifier_type=workflow_identifier_type, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + media_workflow_configuration_ids=media_workflow_configuration_ids, + media_workflow_id=media_workflow_id, + media_workflow_name=media_workflow_name, + parameters=parameters, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + workflow_identifier_type: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + media_workflow_configuration_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + media_workflow_id: Optional[pulumi.Input[str]] = None, + media_workflow_name: Optional[pulumi.Input[str]] = None, + parameters: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("workflow_identifier_type", workflow_identifier_type) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if media_workflow_configuration_ids is not None: - pulumi.set(__self__, "media_workflow_configuration_ids", media_workflow_configuration_ids) + _setter("media_workflow_configuration_ids", media_workflow_configuration_ids) if media_workflow_id is not None: - pulumi.set(__self__, "media_workflow_id", media_workflow_id) + _setter("media_workflow_id", media_workflow_id) if media_workflow_name is not None: - pulumi.set(__self__, "media_workflow_name", media_workflow_name) + _setter("media_workflow_name", media_workflow_name) if parameters is not None: - pulumi.set(__self__, "parameters", parameters) + _setter("parameters", parameters) @property @pulumi.getter(name="compartmentId") @@ -219,44 +244,89 @@ def __init__(__self__, *, ** 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 """ + _MediaWorkflowJobState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + media_workflow_configuration_ids=media_workflow_configuration_ids, + media_workflow_id=media_workflow_id, + media_workflow_name=media_workflow_name, + outputs=outputs, + parameters=parameters, + runnable=runnable, + state=state, + system_tags=system_tags, + task_lifecycle_states=task_lifecycle_states, + time_created=time_created, + time_ended=time_ended, + time_started=time_started, + time_updated=time_updated, + workflow_identifier_type=workflow_identifier_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + media_workflow_configuration_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + media_workflow_id: Optional[pulumi.Input[str]] = None, + media_workflow_name: Optional[pulumi.Input[str]] = None, + outputs: Optional[pulumi.Input[Sequence[pulumi.Input['MediaWorkflowJobOutputArgs']]]] = None, + parameters: Optional[pulumi.Input[str]] = None, + runnable: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + task_lifecycle_states: Optional[pulumi.Input[Sequence[pulumi.Input['MediaWorkflowJobTaskLifecycleStateArgs']]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_ended: Optional[pulumi.Input[str]] = None, + time_started: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + workflow_identifier_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if media_workflow_configuration_ids is not None: - pulumi.set(__self__, "media_workflow_configuration_ids", media_workflow_configuration_ids) + _setter("media_workflow_configuration_ids", media_workflow_configuration_ids) if media_workflow_id is not None: - pulumi.set(__self__, "media_workflow_id", media_workflow_id) + _setter("media_workflow_id", media_workflow_id) if media_workflow_name is not None: - pulumi.set(__self__, "media_workflow_name", media_workflow_name) + _setter("media_workflow_name", media_workflow_name) if outputs is not None: - pulumi.set(__self__, "outputs", outputs) + _setter("outputs", outputs) if parameters is not None: - pulumi.set(__self__, "parameters", parameters) + _setter("parameters", parameters) if runnable is not None: - pulumi.set(__self__, "runnable", runnable) + _setter("runnable", runnable) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if task_lifecycle_states is not None: - pulumi.set(__self__, "task_lifecycle_states", task_lifecycle_states) + _setter("task_lifecycle_states", task_lifecycle_states) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_ended is not None: - pulumi.set(__self__, "time_ended", time_ended) + _setter("time_ended", time_ended) if time_started is not None: - pulumi.set(__self__, "time_started", time_started) + _setter("time_started", time_started) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if workflow_identifier_type is not None: - pulumi.set(__self__, "workflow_identifier_type", workflow_identifier_type) + _setter("workflow_identifier_type", workflow_identifier_type) @property @pulumi.getter(name="compartmentId") @@ -608,6 +678,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + MediaWorkflowJobArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/mediaservices/outputs.py b/sdk/python/pulumi_oci/mediaservices/outputs.py index ae1f4c4a8b..9ea54e88c3 100644 --- a/sdk/python/pulumi_oci/mediaservices/outputs.py +++ b/sdk/python/pulumi_oci/mediaservices/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -74,9 +74,20 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "value", value) + MediaAssetMediaAssetTag._configure( + lambda key, value: pulumi.set(__self__, key, value), + value=value, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + value: str, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("value", value) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter @@ -106,7 +117,16 @@ def __init__(__self__, *, """ :param str metadata: (Updatable) JSON string containing the technial metadata for the media asset. """ - pulumi.set(__self__, "metadata", metadata) + MediaAssetMetadata._configure( + lambda key, value: pulumi.set(__self__, key, value), + metadata=metadata, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metadata: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("metadata", metadata) @property @pulumi.getter @@ -149,16 +169,33 @@ def __init__(__self__, *, :param str namespace: The namespace name of the job output. :param str object: The object name of the job output. """ + MediaWorkflowJobOutput._configure( + lambda key, value: pulumi.set(__self__, key, value), + asset_type=asset_type, + bucket=bucket, + id=id, + namespace=namespace, + object=object, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + asset_type: Optional[str] = None, + bucket: Optional[str] = None, + id: Optional[str] = None, + namespace: Optional[str] = None, + object: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if asset_type is not None: - pulumi.set(__self__, "asset_type", asset_type) + _setter("asset_type", asset_type) if bucket is not None: - pulumi.set(__self__, "bucket", bucket) + _setter("bucket", bucket) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if object is not None: - pulumi.set(__self__, "object", object) + _setter("object", object) @property @pulumi.getter(name="assetType") @@ -229,12 +266,25 @@ def __init__(__self__, *, :param str lifecycle_details: The lifecycle details of MediaWorkflowJob task. :param str state: The current state of the MediaWorkflowJob task. """ + MediaWorkflowJobTaskLifecycleState._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + lifecycle_details=lifecycle_details, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: Optional[str] = None, + lifecycle_details: Optional[str] = None, + state: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) @property @pulumi.getter @@ -303,16 +353,37 @@ def __init__(__self__, *, :param Mapping[str, Any] enable_when_referenced_parameter_equals: (Updatable) Used in conjunction with enableParameterReference to conditionally enable a task. When a job is created from the workflow of this task, the task will only be enabled if the value of the parameter specified by enableParameterReference is equal to the value of this property. This property must be prenset if and only if a enableParameterReference is given. The value is a JSON node. :param Sequence[str] prerequisites: (Updatable) Keys to the other tasks in this workflow that must be completed before execution of this task can begin. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "parameters", parameters) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "version", version) + MediaWorkflowTask._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + parameters=parameters, + type=type, + version=version, + enable_parameter_reference=enable_parameter_reference, + enable_when_referenced_parameter_equals=enable_when_referenced_parameter_equals, + prerequisites=prerequisites, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + parameters: str, + type: str, + version: str, + enable_parameter_reference: Optional[str] = None, + enable_when_referenced_parameter_equals: Optional[Mapping[str, Any]] = None, + prerequisites: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("parameters", parameters) + _setter("type", type) + _setter("version", version) if enable_parameter_reference is not None: - pulumi.set(__self__, "enable_parameter_reference", enable_parameter_reference) + _setter("enable_parameter_reference", enable_parameter_reference) if enable_when_referenced_parameter_equals is not None: - pulumi.set(__self__, "enable_when_referenced_parameter_equals", enable_when_referenced_parameter_equals) + _setter("enable_when_referenced_parameter_equals", enable_when_referenced_parameter_equals) if prerequisites is not None: - pulumi.set(__self__, "prerequisites", prerequisites) + _setter("prerequisites", prerequisites) @property @pulumi.getter @@ -441,29 +512,60 @@ def __init__(__self__, *, :param str origin_auth_sign_encryption: (Updatable) The type of encryption used to compute the signature. :param str origin_auth_sign_type: (Updatable) The type of data used to compute the signature. """ - pulumi.set(__self__, "type", type) + StreamCdnConfigConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + edge_hostname=edge_hostname, + edge_path_prefix=edge_path_prefix, + edge_token_key=edge_token_key, + edge_token_salt=edge_token_salt, + is_edge_token_auth=is_edge_token_auth, + origin_auth_secret_key_a=origin_auth_secret_key_a, + origin_auth_secret_key_b=origin_auth_secret_key_b, + origin_auth_secret_key_nonce_a=origin_auth_secret_key_nonce_a, + origin_auth_secret_key_nonce_b=origin_auth_secret_key_nonce_b, + origin_auth_sign_encryption=origin_auth_sign_encryption, + origin_auth_sign_type=origin_auth_sign_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + edge_hostname: Optional[str] = None, + edge_path_prefix: Optional[str] = None, + edge_token_key: Optional[str] = None, + edge_token_salt: Optional[str] = None, + is_edge_token_auth: Optional[bool] = None, + origin_auth_secret_key_a: Optional[str] = None, + origin_auth_secret_key_b: Optional[str] = None, + origin_auth_secret_key_nonce_a: Optional[str] = None, + origin_auth_secret_key_nonce_b: Optional[str] = None, + origin_auth_sign_encryption: Optional[str] = None, + origin_auth_sign_type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if edge_hostname is not None: - pulumi.set(__self__, "edge_hostname", edge_hostname) + _setter("edge_hostname", edge_hostname) if edge_path_prefix is not None: - pulumi.set(__self__, "edge_path_prefix", edge_path_prefix) + _setter("edge_path_prefix", edge_path_prefix) if edge_token_key is not None: - pulumi.set(__self__, "edge_token_key", edge_token_key) + _setter("edge_token_key", edge_token_key) if edge_token_salt is not None: - pulumi.set(__self__, "edge_token_salt", edge_token_salt) + _setter("edge_token_salt", edge_token_salt) if is_edge_token_auth is not None: - pulumi.set(__self__, "is_edge_token_auth", is_edge_token_auth) + _setter("is_edge_token_auth", is_edge_token_auth) if origin_auth_secret_key_a is not None: - pulumi.set(__self__, "origin_auth_secret_key_a", origin_auth_secret_key_a) + _setter("origin_auth_secret_key_a", origin_auth_secret_key_a) if origin_auth_secret_key_b is not None: - pulumi.set(__self__, "origin_auth_secret_key_b", origin_auth_secret_key_b) + _setter("origin_auth_secret_key_b", origin_auth_secret_key_b) if origin_auth_secret_key_nonce_a is not None: - pulumi.set(__self__, "origin_auth_secret_key_nonce_a", origin_auth_secret_key_nonce_a) + _setter("origin_auth_secret_key_nonce_a", origin_auth_secret_key_nonce_a) if origin_auth_secret_key_nonce_b is not None: - pulumi.set(__self__, "origin_auth_secret_key_nonce_b", origin_auth_secret_key_nonce_b) + _setter("origin_auth_secret_key_nonce_b", origin_auth_secret_key_nonce_b) if origin_auth_sign_encryption is not None: - pulumi.set(__self__, "origin_auth_sign_encryption", origin_auth_sign_encryption) + _setter("origin_auth_sign_encryption", origin_auth_sign_encryption) if origin_auth_sign_type is not None: - pulumi.set(__self__, "origin_auth_sign_type", origin_auth_sign_type) + _setter("origin_auth_sign_type", origin_auth_sign_type) @property @pulumi.getter @@ -588,9 +690,20 @@ def __init__(__self__, *, :param str algorithm: The encryption algorithm for the stream packaging configuration. :param str kms_key_id: The identifier of the customer managed Vault KMS symmetric encryption key (null if Oracle managed). """ - pulumi.set(__self__, "algorithm", algorithm) + StreamPackagingConfigEncryption._configure( + lambda key, value: pulumi.set(__self__, key, value), + algorithm=algorithm, + kms_key_id=kms_key_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + algorithm: str, + kms_key_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("algorithm", algorithm) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) @property @pulumi.getter @@ -618,8 +731,19 @@ def __init__(__self__, *, :param str type: The type of the media asset. :param str value: Tag of the MediaAsset. """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetMediaAssetMediaAssetTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -645,7 +769,16 @@ def __init__(__self__, *, """ :param str metadata: JSON string containing the technial metadata for the media asset. """ - pulumi.set(__self__, "metadata", metadata) + GetMediaAssetMetadataResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + metadata=metadata, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metadata: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("metadata", metadata) @property @pulumi.getter @@ -662,10 +795,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetMediaAssetsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -687,7 +833,16 @@ def regex(self) -> Optional[bool]: class GetMediaAssetsMediaAssetCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetMediaAssetsMediaAssetCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetMediaAssetsMediaAssetCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetMediaAssetsMediaAssetCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -746,29 +901,82 @@ def __init__(__self__, *, :param str time_updated: The time when the MediaAsset was updated. An RFC3339 formatted datetime string. :param str type: Filter MediaAsset by the asset type. """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "master_media_asset_id", master_media_asset_id) - pulumi.set(__self__, "media_asset_tags", media_asset_tags) - pulumi.set(__self__, "media_workflow_job_id", media_workflow_job_id) - pulumi.set(__self__, "metadatas", metadatas) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "object", object) - pulumi.set(__self__, "object_etag", object_etag) - pulumi.set(__self__, "parent_media_asset_id", parent_media_asset_id) - pulumi.set(__self__, "segment_range_end_index", segment_range_end_index) - pulumi.set(__self__, "segment_range_start_index", segment_range_start_index) - pulumi.set(__self__, "source_media_workflow_id", source_media_workflow_id) - pulumi.set(__self__, "source_media_workflow_version", source_media_workflow_version) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "type", type) + GetMediaAssetsMediaAssetCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + master_media_asset_id=master_media_asset_id, + media_asset_tags=media_asset_tags, + media_workflow_job_id=media_workflow_job_id, + metadatas=metadatas, + namespace=namespace, + object=object, + object_etag=object_etag, + parent_media_asset_id=parent_media_asset_id, + segment_range_end_index=segment_range_end_index, + segment_range_start_index=segment_range_start_index, + source_media_workflow_id=source_media_workflow_id, + source_media_workflow_version=source_media_workflow_version, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + master_media_asset_id: str, + media_asset_tags: Sequence['outputs.GetMediaAssetsMediaAssetCollectionItemMediaAssetTagResult'], + media_workflow_job_id: str, + metadatas: Sequence['outputs.GetMediaAssetsMediaAssetCollectionItemMetadataResult'], + namespace: str, + object: str, + object_etag: str, + parent_media_asset_id: str, + segment_range_end_index: str, + segment_range_start_index: str, + source_media_workflow_id: str, + source_media_workflow_version: str, + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("master_media_asset_id", master_media_asset_id) + _setter("media_asset_tags", media_asset_tags) + _setter("media_workflow_job_id", media_workflow_job_id) + _setter("metadatas", metadatas) + _setter("namespace", namespace) + _setter("object", object) + _setter("object_etag", object_etag) + _setter("parent_media_asset_id", parent_media_asset_id) + _setter("segment_range_end_index", segment_range_end_index) + _setter("segment_range_start_index", segment_range_start_index) + _setter("source_media_workflow_id", source_media_workflow_id) + _setter("source_media_workflow_version", source_media_workflow_version) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("type", type) @property @pulumi.getter @@ -964,8 +1172,19 @@ def __init__(__self__, *, :param str type: Filter MediaAsset by the asset type. :param str value: Tag of the MediaAsset. """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetMediaAssetsMediaAssetCollectionItemMediaAssetTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -991,7 +1210,16 @@ def __init__(__self__, *, """ :param str metadata: JSON string containing the technial metadata for the media asset. """ - pulumi.set(__self__, "metadata", metadata) + GetMediaAssetsMediaAssetCollectionItemMetadataResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + metadata=metadata, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metadata: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("metadata", metadata) @property @pulumi.getter @@ -1008,10 +1236,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetMediaWorkflowConfigurationsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1033,7 +1274,16 @@ def regex(self) -> Optional[bool]: class GetMediaWorkflowConfigurationsMediaWorkflowConfigurationCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetMediaWorkflowConfigurationsMediaWorkflowConfigurationCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetMediaWorkflowConfigurationsMediaWorkflowConfigurationCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetMediaWorkflowConfigurationsMediaWorkflowConfigurationCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1068,17 +1318,46 @@ def __init__(__self__, *, :param str time_created: The time when the the MediaWorkflowConfiguration was created. An RFC3339 formatted datetime string. :param str time_updated: The time when the MediaWorkflowConfiguration was updated. An RFC3339 formatted datetime string. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecyle_details", lifecyle_details) - pulumi.set(__self__, "parameters", parameters) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetMediaWorkflowConfigurationsMediaWorkflowConfigurationCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + lifecyle_details=lifecyle_details, + parameters=parameters, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecyle_details: str, + parameters: str, + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecyle_details", lifecyle_details) + _setter("parameters", parameters) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -1178,10 +1457,23 @@ def __init__(__self__, *, """ :param str name: Unique name. It is read-only and generated for the fact. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetMediaWorkflowJobFactsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1206,7 +1498,16 @@ def regex(self) -> Optional[bool]: class GetMediaWorkflowJobFactsMediaWorkflowJobFactCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetMediaWorkflowJobFactsMediaWorkflowJobFactCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetMediaWorkflowJobFactsMediaWorkflowJobFactCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetMediaWorkflowJobFactsMediaWorkflowJobFactCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1229,11 +1530,28 @@ def __init__(__self__, *, :param str name: Unique name. It is read-only and generated for the fact. :param str type: Types of details to include. """ - pulumi.set(__self__, "detail", detail) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "media_workflow_job_id", media_workflow_job_id) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "type", type) + GetMediaWorkflowJobFactsMediaWorkflowJobFactCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + detail=detail, + key=key, + media_workflow_job_id=media_workflow_job_id, + name=name, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + detail: str, + key: str, + media_workflow_job_id: str, + name: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("detail", detail) + _setter("key", key) + _setter("media_workflow_job_id", media_workflow_job_id) + _setter("name", name) + _setter("type", type) @property @pulumi.getter @@ -1291,11 +1609,28 @@ def __init__(__self__, *, :param str namespace: The namespace name of the job output. :param str object: The object name of the job output. """ - pulumi.set(__self__, "asset_type", asset_type) - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "object", object) + GetMediaWorkflowJobOutputResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + asset_type=asset_type, + bucket=bucket, + id=id, + namespace=namespace, + object=object, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + asset_type: str, + bucket: str, + id: str, + namespace: str, + object: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("asset_type", asset_type) + _setter("bucket", bucket) + _setter("id", id) + _setter("namespace", namespace) + _setter("object", object) @property @pulumi.getter(name="assetType") @@ -1349,9 +1684,22 @@ def __init__(__self__, *, :param str lifecycle_details: The lifecycle details of MediaWorkflowJob task. :param str state: The current state of the MediaWorkflowJob task. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "state", state) + GetMediaWorkflowJobTaskLifecycleStateResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + lifecycle_details=lifecycle_details, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + lifecycle_details: str, + state: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("lifecycle_details", lifecycle_details) + _setter("state", state) @property @pulumi.getter @@ -1384,10 +1732,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetMediaWorkflowJobsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1409,7 +1770,16 @@ def regex(self) -> Optional[bool]: class GetMediaWorkflowJobsMediaWorkflowJobCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetMediaWorkflowJobsMediaWorkflowJobCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetMediaWorkflowJobsMediaWorkflowJobCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetMediaWorkflowJobsMediaWorkflowJobCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1460,26 +1830,73 @@ def __init__(__self__, *, :param str time_started: Time when the job started to execute. An RFC3339 formatted datetime string. :param str time_updated: Updated time of the job. An RFC3339 formatted datetime string. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "media_workflow_configuration_ids", media_workflow_configuration_ids) - pulumi.set(__self__, "media_workflow_id", media_workflow_id) - pulumi.set(__self__, "media_workflow_name", media_workflow_name) - pulumi.set(__self__, "outputs", outputs) - pulumi.set(__self__, "parameters", parameters) - pulumi.set(__self__, "runnable", runnable) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "task_lifecycle_states", task_lifecycle_states) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_ended", time_ended) - pulumi.set(__self__, "time_started", time_started) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "workflow_identifier_type", workflow_identifier_type) + GetMediaWorkflowJobsMediaWorkflowJobCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + media_workflow_configuration_ids=media_workflow_configuration_ids, + media_workflow_id=media_workflow_id, + media_workflow_name=media_workflow_name, + outputs=outputs, + parameters=parameters, + runnable=runnable, + state=state, + system_tags=system_tags, + task_lifecycle_states=task_lifecycle_states, + time_created=time_created, + time_ended=time_ended, + time_started=time_started, + time_updated=time_updated, + workflow_identifier_type=workflow_identifier_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + media_workflow_configuration_ids: Sequence[str], + media_workflow_id: str, + media_workflow_name: str, + outputs: Sequence['outputs.GetMediaWorkflowJobsMediaWorkflowJobCollectionItemOutputResult'], + parameters: str, + runnable: str, + state: str, + system_tags: Mapping[str, Any], + task_lifecycle_states: Sequence['outputs.GetMediaWorkflowJobsMediaWorkflowJobCollectionItemTaskLifecycleStateResult'], + time_created: str, + time_ended: str, + time_started: str, + time_updated: str, + workflow_identifier_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("media_workflow_configuration_ids", media_workflow_configuration_ids) + _setter("media_workflow_id", media_workflow_id) + _setter("media_workflow_name", media_workflow_name) + _setter("outputs", outputs) + _setter("parameters", parameters) + _setter("runnable", runnable) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("task_lifecycle_states", task_lifecycle_states) + _setter("time_created", time_created) + _setter("time_ended", time_ended) + _setter("time_started", time_started) + _setter("time_updated", time_updated) + _setter("workflow_identifier_type", workflow_identifier_type) @property @pulumi.getter(name="compartmentId") @@ -1651,11 +2068,28 @@ def __init__(__self__, *, :param str namespace: The namespace name of the job output. :param str object: The object name of the job output. """ - pulumi.set(__self__, "asset_type", asset_type) - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "object", object) + GetMediaWorkflowJobsMediaWorkflowJobCollectionItemOutputResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + asset_type=asset_type, + bucket=bucket, + id=id, + namespace=namespace, + object=object, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + asset_type: str, + bucket: str, + id: str, + namespace: str, + object: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("asset_type", asset_type) + _setter("bucket", bucket) + _setter("id", id) + _setter("namespace", namespace) + _setter("object", object) @property @pulumi.getter(name="assetType") @@ -1709,9 +2143,22 @@ def __init__(__self__, *, :param str lifecycle_details: The lifecycle details of MediaWorkflowJob task. :param str state: A filter to return only the resources with lifecycleState matching the given lifecycleState. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "state", state) + GetMediaWorkflowJobsMediaWorkflowJobCollectionItemTaskLifecycleStateResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + lifecycle_details=lifecycle_details, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + lifecycle_details: str, + state: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("lifecycle_details", lifecycle_details) + _setter("state", state) @property @pulumi.getter @@ -1757,13 +2204,34 @@ def __init__(__self__, *, :param str type: The type of process to run at this task. Refers to the name of a MediaWorkflowTaskDeclaration. :param str version: The version of the MediaWorkflow. """ - pulumi.set(__self__, "enable_parameter_reference", enable_parameter_reference) - pulumi.set(__self__, "enable_when_referenced_parameter_equals", enable_when_referenced_parameter_equals) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "parameters", parameters) - pulumi.set(__self__, "prerequisites", prerequisites) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "version", version) + GetMediaWorkflowTaskResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + enable_parameter_reference=enable_parameter_reference, + enable_when_referenced_parameter_equals=enable_when_referenced_parameter_equals, + key=key, + parameters=parameters, + prerequisites=prerequisites, + type=type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + enable_parameter_reference: str, + enable_when_referenced_parameter_equals: Mapping[str, Any], + key: str, + parameters: str, + prerequisites: Sequence[str], + type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("enable_parameter_reference", enable_parameter_reference) + _setter("enable_when_referenced_parameter_equals", enable_when_referenced_parameter_equals) + _setter("key", key) + _setter("parameters", parameters) + _setter("prerequisites", prerequisites) + _setter("type", type) + _setter("version", version) @property @pulumi.getter(name="enableParameterReference") @@ -1835,10 +2303,25 @@ def __init__(__self__, *, :param str parameters_schema_allowing_references: JSON schema similar to the parameterSchema, but permits parameter values to refer to other parameters using the ${/path/to/another/parmeter} syntax. This is used to validate task parameters when workflows are created. :param int version: A filter to select MediaWorkflowTaskDeclaration by version. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "parameters_schema", parameters_schema) - pulumi.set(__self__, "parameters_schema_allowing_references", parameters_schema_allowing_references) - pulumi.set(__self__, "version", version) + GetMediaWorkflowTaskDeclarationItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + parameters_schema=parameters_schema, + parameters_schema_allowing_references=parameters_schema_allowing_references, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + parameters_schema: str, + parameters_schema_allowing_references: str, + version: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("parameters_schema", parameters_schema) + _setter("parameters_schema_allowing_references", parameters_schema_allowing_references) + _setter("version", version) @property @pulumi.getter @@ -1879,10 +2362,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetMediaWorkflowsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1904,7 +2400,16 @@ def regex(self) -> Optional[bool]: class GetMediaWorkflowsMediaWorkflowCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetMediaWorkflowsMediaWorkflowCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetMediaWorkflowsMediaWorkflowCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetMediaWorkflowsMediaWorkflowCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1945,20 +2450,55 @@ def __init__(__self__, *, :param str time_updated: The time when the MediaWorkflow was updated. An RFC3339 formatted datetime string. :param str version: The version of the MediaWorkflow. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecyle_details", lifecyle_details) - pulumi.set(__self__, "media_workflow_configuration_ids", media_workflow_configuration_ids) - pulumi.set(__self__, "parameters", parameters) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "tasks", tasks) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "version", version) + GetMediaWorkflowsMediaWorkflowCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + lifecyle_details=lifecyle_details, + media_workflow_configuration_ids=media_workflow_configuration_ids, + parameters=parameters, + state=state, + system_tags=system_tags, + tasks=tasks, + time_created=time_created, + time_updated=time_updated, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecyle_details: str, + media_workflow_configuration_ids: Sequence[str], + parameters: str, + state: str, + system_tags: Mapping[str, Any], + tasks: Sequence['outputs.GetMediaWorkflowsMediaWorkflowCollectionItemTaskResult'], + time_created: str, + time_updated: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecyle_details", lifecyle_details) + _setter("media_workflow_configuration_ids", media_workflow_configuration_ids) + _setter("parameters", parameters) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("tasks", tasks) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("version", version) @property @pulumi.getter(name="compartmentId") @@ -2092,13 +2632,34 @@ def __init__(__self__, *, :param str type: The type of process to run at this task. Refers to the name of a MediaWorkflowTaskDeclaration. :param str version: The version of the MediaWorkflow. """ - pulumi.set(__self__, "enable_parameter_reference", enable_parameter_reference) - pulumi.set(__self__, "enable_when_referenced_parameter_equals", enable_when_referenced_parameter_equals) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "parameters", parameters) - pulumi.set(__self__, "prerequisites", prerequisites) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "version", version) + GetMediaWorkflowsMediaWorkflowCollectionItemTaskResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + enable_parameter_reference=enable_parameter_reference, + enable_when_referenced_parameter_equals=enable_when_referenced_parameter_equals, + key=key, + parameters=parameters, + prerequisites=prerequisites, + type=type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + enable_parameter_reference: str, + enable_when_referenced_parameter_equals: Mapping[str, Any], + key: str, + parameters: str, + prerequisites: Sequence[str], + type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("enable_parameter_reference", enable_parameter_reference) + _setter("enable_when_referenced_parameter_equals", enable_when_referenced_parameter_equals) + _setter("key", key) + _setter("parameters", parameters) + _setter("prerequisites", prerequisites) + _setter("type", type) + _setter("version", version) @property @pulumi.getter(name="enableParameterReference") @@ -2186,18 +2747,49 @@ def __init__(__self__, *, :param str origin_auth_sign_type: The type of data used to compute the signature. :param str type: The name of the CDN configuration type. """ - pulumi.set(__self__, "edge_hostname", edge_hostname) - pulumi.set(__self__, "edge_path_prefix", edge_path_prefix) - pulumi.set(__self__, "edge_token_key", edge_token_key) - pulumi.set(__self__, "edge_token_salt", edge_token_salt) - pulumi.set(__self__, "is_edge_token_auth", is_edge_token_auth) - pulumi.set(__self__, "origin_auth_secret_key_a", origin_auth_secret_key_a) - pulumi.set(__self__, "origin_auth_secret_key_b", origin_auth_secret_key_b) - pulumi.set(__self__, "origin_auth_secret_key_nonce_a", origin_auth_secret_key_nonce_a) - pulumi.set(__self__, "origin_auth_secret_key_nonce_b", origin_auth_secret_key_nonce_b) - pulumi.set(__self__, "origin_auth_sign_encryption", origin_auth_sign_encryption) - pulumi.set(__self__, "origin_auth_sign_type", origin_auth_sign_type) - pulumi.set(__self__, "type", type) + GetStreamCdnConfigConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + edge_hostname=edge_hostname, + edge_path_prefix=edge_path_prefix, + edge_token_key=edge_token_key, + edge_token_salt=edge_token_salt, + is_edge_token_auth=is_edge_token_auth, + origin_auth_secret_key_a=origin_auth_secret_key_a, + origin_auth_secret_key_b=origin_auth_secret_key_b, + origin_auth_secret_key_nonce_a=origin_auth_secret_key_nonce_a, + origin_auth_secret_key_nonce_b=origin_auth_secret_key_nonce_b, + origin_auth_sign_encryption=origin_auth_sign_encryption, + origin_auth_sign_type=origin_auth_sign_type, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + edge_hostname: str, + edge_path_prefix: str, + edge_token_key: str, + edge_token_salt: str, + is_edge_token_auth: bool, + origin_auth_secret_key_a: str, + origin_auth_secret_key_b: str, + origin_auth_secret_key_nonce_a: str, + origin_auth_secret_key_nonce_b: str, + origin_auth_sign_encryption: str, + origin_auth_sign_type: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("edge_hostname", edge_hostname) + _setter("edge_path_prefix", edge_path_prefix) + _setter("edge_token_key", edge_token_key) + _setter("edge_token_salt", edge_token_salt) + _setter("is_edge_token_auth", is_edge_token_auth) + _setter("origin_auth_secret_key_a", origin_auth_secret_key_a) + _setter("origin_auth_secret_key_b", origin_auth_secret_key_b) + _setter("origin_auth_secret_key_nonce_a", origin_auth_secret_key_nonce_a) + _setter("origin_auth_secret_key_nonce_b", origin_auth_secret_key_nonce_b) + _setter("origin_auth_sign_encryption", origin_auth_sign_encryption) + _setter("origin_auth_sign_type", origin_auth_sign_type) + _setter("type", type) @property @pulumi.getter(name="edgeHostname") @@ -2302,10 +2894,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetStreamCdnConfigsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2327,7 +2932,16 @@ def regex(self) -> Optional[bool]: class GetStreamCdnConfigsStreamCdnConfigCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetStreamCdnConfigsStreamCdnConfigCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetStreamCdnConfigsStreamCdnConfigCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetStreamCdnConfigsStreamCdnConfigCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -2366,19 +2980,52 @@ def __init__(__self__, *, :param str time_created: The time when the CDN Config was created. An RFC3339 formatted datetime string. :param str time_updated: The time when the CDN Config was updated. An RFC3339 formatted datetime string. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "configs", configs) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "distribution_channel_id", distribution_channel_id) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "lifecyle_details", lifecyle_details) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetStreamCdnConfigsStreamCdnConfigCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + configs=configs, + defined_tags=defined_tags, + display_name=display_name, + distribution_channel_id=distribution_channel_id, + freeform_tags=freeform_tags, + id=id, + is_enabled=is_enabled, + lifecyle_details=lifecyle_details, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + configs: Sequence['outputs.GetStreamCdnConfigsStreamCdnConfigCollectionItemConfigResult'], + defined_tags: Mapping[str, Any], + display_name: str, + distribution_channel_id: str, + freeform_tags: Mapping[str, Any], + id: str, + is_enabled: bool, + lifecyle_details: str, + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("configs", configs) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("distribution_channel_id", distribution_channel_id) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_enabled", is_enabled) + _setter("lifecyle_details", lifecyle_details) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -2514,18 +3161,49 @@ def __init__(__self__, *, :param str origin_auth_sign_type: The type of data used to compute the signature. :param str type: The name of the CDN configuration type. """ - pulumi.set(__self__, "edge_hostname", edge_hostname) - pulumi.set(__self__, "edge_path_prefix", edge_path_prefix) - pulumi.set(__self__, "edge_token_key", edge_token_key) - pulumi.set(__self__, "edge_token_salt", edge_token_salt) - pulumi.set(__self__, "is_edge_token_auth", is_edge_token_auth) - pulumi.set(__self__, "origin_auth_secret_key_a", origin_auth_secret_key_a) - pulumi.set(__self__, "origin_auth_secret_key_b", origin_auth_secret_key_b) - pulumi.set(__self__, "origin_auth_secret_key_nonce_a", origin_auth_secret_key_nonce_a) - pulumi.set(__self__, "origin_auth_secret_key_nonce_b", origin_auth_secret_key_nonce_b) - pulumi.set(__self__, "origin_auth_sign_encryption", origin_auth_sign_encryption) - pulumi.set(__self__, "origin_auth_sign_type", origin_auth_sign_type) - pulumi.set(__self__, "type", type) + GetStreamCdnConfigsStreamCdnConfigCollectionItemConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + edge_hostname=edge_hostname, + edge_path_prefix=edge_path_prefix, + edge_token_key=edge_token_key, + edge_token_salt=edge_token_salt, + is_edge_token_auth=is_edge_token_auth, + origin_auth_secret_key_a=origin_auth_secret_key_a, + origin_auth_secret_key_b=origin_auth_secret_key_b, + origin_auth_secret_key_nonce_a=origin_auth_secret_key_nonce_a, + origin_auth_secret_key_nonce_b=origin_auth_secret_key_nonce_b, + origin_auth_sign_encryption=origin_auth_sign_encryption, + origin_auth_sign_type=origin_auth_sign_type, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + edge_hostname: str, + edge_path_prefix: str, + edge_token_key: str, + edge_token_salt: str, + is_edge_token_auth: bool, + origin_auth_secret_key_a: str, + origin_auth_secret_key_b: str, + origin_auth_secret_key_nonce_a: str, + origin_auth_secret_key_nonce_b: str, + origin_auth_sign_encryption: str, + origin_auth_sign_type: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("edge_hostname", edge_hostname) + _setter("edge_path_prefix", edge_path_prefix) + _setter("edge_token_key", edge_token_key) + _setter("edge_token_salt", edge_token_salt) + _setter("is_edge_token_auth", is_edge_token_auth) + _setter("origin_auth_secret_key_a", origin_auth_secret_key_a) + _setter("origin_auth_secret_key_b", origin_auth_secret_key_b) + _setter("origin_auth_secret_key_nonce_a", origin_auth_secret_key_nonce_a) + _setter("origin_auth_secret_key_nonce_b", origin_auth_secret_key_nonce_b) + _setter("origin_auth_sign_encryption", origin_auth_sign_encryption) + _setter("origin_auth_sign_type", origin_auth_sign_type) + _setter("type", type) @property @pulumi.getter(name="edgeHostname") @@ -2630,10 +3308,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetStreamDistributionChannelsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2655,7 +3346,16 @@ def regex(self) -> Optional[bool]: class GetStreamDistributionChannelsStreamDistributionChannelCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetStreamDistributionChannelsStreamDistributionChannelCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetStreamDistributionChannelsStreamDistributionChannelCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetStreamDistributionChannelsStreamDistributionChannelCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -2688,16 +3388,43 @@ def __init__(__self__, *, :param str time_created: The time when the Stream Distribution Channel was created. An RFC3339 formatted datetime string. :param str time_updated: The time when the Stream Distribution Channel was updated. An RFC3339 formatted datetime string. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "domain_name", domain_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetStreamDistributionChannelsStreamDistributionChannelCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + domain_name=domain_name, + freeform_tags=freeform_tags, + id=id, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + domain_name: str, + freeform_tags: Mapping[str, Any], + id: str, + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("domain_name", domain_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -2789,8 +3516,19 @@ def __init__(__self__, *, :param str algorithm: The encryption algorithm for the stream packaging configuration. :param str kms_key_id: The identifier of the customer managed Vault KMS symmetric encryption key (null if Oracle managed). """ - pulumi.set(__self__, "algorithm", algorithm) - pulumi.set(__self__, "kms_key_id", kms_key_id) + GetStreamPackagingConfigEncryptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + algorithm=algorithm, + kms_key_id=kms_key_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + algorithm: str, + kms_key_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("algorithm", algorithm) + _setter("kms_key_id", kms_key_id) @property @pulumi.getter @@ -2815,10 +3553,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetStreamPackagingConfigsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2840,7 +3591,16 @@ def regex(self) -> Optional[bool]: class GetStreamPackagingConfigsStreamPackagingConfigCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetStreamPackagingConfigsStreamPackagingConfigCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetStreamPackagingConfigsStreamPackagingConfigCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetStreamPackagingConfigsStreamPackagingConfigCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -2879,19 +3639,52 @@ def __init__(__self__, *, :param str time_created: The time when the Packaging Configuration was created. An RFC3339 formatted datetime string. :param str time_updated: The time when the Packaging Configuration was updated. An RFC3339 formatted datetime string. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "distribution_channel_id", distribution_channel_id) - pulumi.set(__self__, "encryptions", encryptions) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "segment_time_in_seconds", segment_time_in_seconds) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "stream_packaging_format", stream_packaging_format) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetStreamPackagingConfigsStreamPackagingConfigCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + distribution_channel_id=distribution_channel_id, + encryptions=encryptions, + freeform_tags=freeform_tags, + id=id, + segment_time_in_seconds=segment_time_in_seconds, + state=state, + stream_packaging_format=stream_packaging_format, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + distribution_channel_id: str, + encryptions: Sequence['outputs.GetStreamPackagingConfigsStreamPackagingConfigCollectionItemEncryptionResult'], + freeform_tags: Mapping[str, Any], + id: str, + segment_time_in_seconds: int, + state: str, + stream_packaging_format: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("distribution_channel_id", distribution_channel_id) + _setter("encryptions", encryptions) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("segment_time_in_seconds", segment_time_in_seconds) + _setter("state", state) + _setter("stream_packaging_format", stream_packaging_format) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -3007,8 +3800,19 @@ def __init__(__self__, *, :param str algorithm: The encryption algorithm for the stream packaging configuration. :param str kms_key_id: The identifier of the customer managed Vault KMS symmetric encryption key (null if Oracle managed). """ - pulumi.set(__self__, "algorithm", algorithm) - pulumi.set(__self__, "kms_key_id", kms_key_id) + GetStreamPackagingConfigsStreamPackagingConfigCollectionItemEncryptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + algorithm=algorithm, + kms_key_id=kms_key_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + algorithm: str, + kms_key_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("algorithm", algorithm) + _setter("kms_key_id", kms_key_id) @property @pulumi.getter @@ -3040,10 +3844,25 @@ def __init__(__self__, *, :param str parameters: Data specifiying how this task is to be run. The data is a JSON object that must conform to the JSON Schema specified by the parameters of the MediaWorkflowTaskDeclaration this task references. The parameters may contain values or references to other parameters. :param Sequence['GetSystemMediaWorkflowItemTaskArgs'] tasks: The processing to be done in this workflow. Each key of the MediaWorkflowTasks in this array is unique within the array. The order of the items is preserved from the order of the tasks array in CreateMediaWorkflowDetails or UpdateMediaWorkflowDetails. """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "parameters", parameters) - pulumi.set(__self__, "tasks", tasks) + GetSystemMediaWorkflowItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + name=name, + parameters=parameters, + tasks=tasks, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + name: str, + parameters: str, + tasks: Sequence['outputs.GetSystemMediaWorkflowItemTaskResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("name", name) + _setter("parameters", parameters) + _setter("tasks", tasks) @property @pulumi.getter @@ -3097,13 +3916,34 @@ def __init__(__self__, *, :param str type: The type of process to run at this task. Refers to the name of a MediaWorkflowTaskDeclaration. :param str version: The version of the MediaWorkflowTaskDeclaration. """ - pulumi.set(__self__, "enable_parameter_reference", enable_parameter_reference) - pulumi.set(__self__, "enable_when_referenced_parameter_equals", enable_when_referenced_parameter_equals) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "parameters", parameters) - pulumi.set(__self__, "prerequisites", prerequisites) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "version", version) + GetSystemMediaWorkflowItemTaskResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + enable_parameter_reference=enable_parameter_reference, + enable_when_referenced_parameter_equals=enable_when_referenced_parameter_equals, + key=key, + parameters=parameters, + prerequisites=prerequisites, + type=type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + enable_parameter_reference: str, + enable_when_referenced_parameter_equals: Mapping[str, Any], + key: str, + parameters: str, + prerequisites: Sequence[str], + type: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("enable_parameter_reference", enable_parameter_reference) + _setter("enable_when_referenced_parameter_equals", enable_when_referenced_parameter_equals) + _setter("key", key) + _setter("parameters", parameters) + _setter("prerequisites", prerequisites) + _setter("type", type) + _setter("version", version) @property @pulumi.getter(name="enableParameterReference") diff --git a/sdk/python/pulumi_oci/mediaservices/stream_cdn_config.py b/sdk/python/pulumi_oci/mediaservices/stream_cdn_config.py index e106b43a7f..219cf04c30 100644 --- a/sdk/python/pulumi_oci/mediaservices/stream_cdn_config.py +++ b/sdk/python/pulumi_oci/mediaservices/stream_cdn_config.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -35,15 +35,34 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "config", config) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "distribution_channel_id", distribution_channel_id) + StreamCdnConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + config=config, + display_name=display_name, + distribution_channel_id=distribution_channel_id, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + is_enabled=is_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + config: pulumi.Input['StreamCdnConfigConfigArgs'], + display_name: pulumi.Input[str], + distribution_channel_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_enabled: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("config", config) + _setter("display_name", display_name) + _setter("distribution_channel_id", distribution_channel_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) @property @pulumi.getter @@ -156,30 +175,61 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The time when the CDN Config was created. An RFC3339 formatted datetime string. :param pulumi.Input[str] time_updated: The time when the CDN Config was updated. An RFC3339 formatted datetime string. """ + _StreamCdnConfigState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + config=config, + defined_tags=defined_tags, + display_name=display_name, + distribution_channel_id=distribution_channel_id, + freeform_tags=freeform_tags, + is_enabled=is_enabled, + lifecyle_details=lifecyle_details, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + config: Optional[pulumi.Input['StreamCdnConfigConfigArgs']] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + distribution_channel_id: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_enabled: Optional[pulumi.Input[bool]] = None, + lifecyle_details: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if config is not None: - pulumi.set(__self__, "config", config) + _setter("config", config) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if distribution_channel_id is not None: - pulumi.set(__self__, "distribution_channel_id", distribution_channel_id) + _setter("distribution_channel_id", distribution_channel_id) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) if lifecyle_details is not None: - pulumi.set(__self__, "lifecyle_details", lifecyle_details) + _setter("lifecyle_details", lifecyle_details) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -461,6 +511,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + StreamCdnConfigArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -481,6 +535,11 @@ def _internal_init(__self__, raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = StreamCdnConfigArgs.__new__(StreamCdnConfigArgs) + if config is not None and not isinstance(config, StreamCdnConfigConfigArgs): + config = config or {} + def _setter(key, value): + config[key] = value + StreamCdnConfigConfigArgs._configure(_setter, **config) if config is None and not opts.urn: raise TypeError("Missing required property 'config'") __props__.__dict__["config"] = config diff --git a/sdk/python/pulumi_oci/mediaservices/stream_distribution_channel.py b/sdk/python/pulumi_oci/mediaservices/stream_distribution_channel.py index 07410ad23e..81d77012df 100644 --- a/sdk/python/pulumi_oci/mediaservices/stream_distribution_channel.py +++ b/sdk/python/pulumi_oci/mediaservices/stream_distribution_channel.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['StreamDistributionChannelArgs', 'StreamDistributionChannel'] @@ -29,12 +29,27 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) + StreamDistributionChannelArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="compartmentId") @@ -117,24 +132,49 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The time when the Stream Distribution Channel was created. An RFC3339 formatted datetime string. :param pulumi.Input[str] time_updated: The time when the Stream Distribution Channel was updated. An RFC3339 formatted datetime string. """ + _StreamDistributionChannelState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + domain_name=domain_name, + freeform_tags=freeform_tags, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + domain_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if domain_name is not None: - pulumi.set(__self__, "domain_name", domain_name) + _setter("domain_name", domain_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -346,6 +386,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + StreamDistributionChannelArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/mediaservices/stream_packaging_config.py b/sdk/python/pulumi_oci/mediaservices/stream_packaging_config.py index 8bd0ad40f9..6647624e74 100644 --- a/sdk/python/pulumi_oci/mediaservices/stream_packaging_config.py +++ b/sdk/python/pulumi_oci/mediaservices/stream_packaging_config.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -37,16 +37,37 @@ def __init__(__self__, *, :param pulumi.Input['StreamPackagingConfigEncryptionArgs'] encryption: The encryption used by the stream packaging configuration. :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "distribution_channel_id", distribution_channel_id) - pulumi.set(__self__, "segment_time_in_seconds", segment_time_in_seconds) - pulumi.set(__self__, "stream_packaging_format", stream_packaging_format) + StreamPackagingConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + distribution_channel_id=distribution_channel_id, + segment_time_in_seconds=segment_time_in_seconds, + stream_packaging_format=stream_packaging_format, + defined_tags=defined_tags, + encryption=encryption, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: pulumi.Input[str], + distribution_channel_id: pulumi.Input[str], + segment_time_in_seconds: pulumi.Input[int], + stream_packaging_format: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + encryption: Optional[pulumi.Input['StreamPackagingConfigEncryptionArgs']] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("distribution_channel_id", distribution_channel_id) + _setter("segment_time_in_seconds", segment_time_in_seconds) + _setter("stream_packaging_format", stream_packaging_format) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if encryption is not None: - pulumi.set(__self__, "encryption", encryption) + _setter("encryption", encryption) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="displayName") @@ -171,30 +192,61 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The time when the Packaging Configuration was created. An RFC3339 formatted datetime string. :param pulumi.Input[str] time_updated: The time when the Packaging Configuration was updated. An RFC3339 formatted datetime string. """ + _StreamPackagingConfigState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + distribution_channel_id=distribution_channel_id, + encryption=encryption, + freeform_tags=freeform_tags, + segment_time_in_seconds=segment_time_in_seconds, + state=state, + stream_packaging_format=stream_packaging_format, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + distribution_channel_id: Optional[pulumi.Input[str]] = None, + encryption: Optional[pulumi.Input['StreamPackagingConfigEncryptionArgs']] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + segment_time_in_seconds: Optional[pulumi.Input[int]] = None, + state: Optional[pulumi.Input[str]] = None, + stream_packaging_format: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if distribution_channel_id is not None: - pulumi.set(__self__, "distribution_channel_id", distribution_channel_id) + _setter("distribution_channel_id", distribution_channel_id) if encryption is not None: - pulumi.set(__self__, "encryption", encryption) + _setter("encryption", encryption) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if segment_time_in_seconds is not None: - pulumi.set(__self__, "segment_time_in_seconds", segment_time_in_seconds) + _setter("segment_time_in_seconds", segment_time_in_seconds) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if stream_packaging_format is not None: - pulumi.set(__self__, "stream_packaging_format", stream_packaging_format) + _setter("stream_packaging_format", stream_packaging_format) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -460,6 +512,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + StreamPackagingConfigArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -488,6 +544,11 @@ def _internal_init(__self__, if distribution_channel_id is None and not opts.urn: raise TypeError("Missing required property 'distribution_channel_id'") __props__.__dict__["distribution_channel_id"] = distribution_channel_id + if encryption is not None and not isinstance(encryption, StreamPackagingConfigEncryptionArgs): + encryption = encryption or {} + def _setter(key, value): + encryption[key] = value + StreamPackagingConfigEncryptionArgs._configure(_setter, **encryption) __props__.__dict__["encryption"] = encryption __props__.__dict__["freeform_tags"] = freeform_tags if segment_time_in_seconds is None and not opts.urn: diff --git a/sdk/python/pulumi_oci/meteringcomputation/_inputs.py b/sdk/python/pulumi_oci/meteringcomputation/_inputs.py index 217aad67b5..507f663751 100644 --- a/sdk/python/pulumi_oci/meteringcomputation/_inputs.py +++ b/sdk/python/pulumi_oci/meteringcomputation/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -48,17 +48,36 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] row_group_bies: (Updatable) The row groupBy key list. example: `["tagNamespace", "tagKey", "tagValue", "service", "skuName", "skuPartNumber", "unit", "compartmentName", "compartmentPath", "compartmentId", "platform", "region", "logicalAd", "resourceId", "tenantId", "tenantName"]` :param pulumi.Input[float] version: (Updatable) The version of the custom table. """ - pulumi.set(__self__, "display_name", display_name) + CustomTableSavedCustomTableArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + column_group_bies=column_group_bies, + compartment_depth=compartment_depth, + group_by_tags=group_by_tags, + row_group_bies=row_group_bies, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: pulumi.Input[str], + column_group_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + compartment_depth: Optional[pulumi.Input[float]] = None, + group_by_tags: Optional[pulumi.Input[Sequence[pulumi.Input['CustomTableSavedCustomTableGroupByTagArgs']]]] = None, + row_group_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + version: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) if column_group_bies is not None: - pulumi.set(__self__, "column_group_bies", column_group_bies) + _setter("column_group_bies", column_group_bies) if compartment_depth is not None: - pulumi.set(__self__, "compartment_depth", compartment_depth) + _setter("compartment_depth", compartment_depth) if group_by_tags is not None: - pulumi.set(__self__, "group_by_tags", group_by_tags) + _setter("group_by_tags", group_by_tags) if row_group_bies is not None: - pulumi.set(__self__, "row_group_bies", row_group_bies) + _setter("row_group_bies", row_group_bies) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter(name="displayName") @@ -144,12 +163,25 @@ def __init__(__self__, *, :param pulumi.Input[str] namespace: (Updatable) The tag namespace. :param pulumi.Input[str] value: (Updatable) The tag value. """ + CustomTableSavedCustomTableGroupByTagArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + namespace=namespace, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: Optional[pulumi.Input[str]] = None, + namespace: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -205,10 +237,25 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "cost_analysis_ui", cost_analysis_ui) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "report_query", report_query) - pulumi.set(__self__, "version", version) + QueryQueryDefinitionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + cost_analysis_ui=cost_analysis_ui, + display_name=display_name, + report_query=report_query, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cost_analysis_ui: pulumi.Input['QueryQueryDefinitionCostAnalysisUiArgs'], + display_name: pulumi.Input[str], + report_query: pulumi.Input['QueryQueryDefinitionReportQueryArgs'], + version: pulumi.Input[float], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cost_analysis_ui", cost_analysis_ui) + _setter("display_name", display_name) + _setter("report_query", report_query) + _setter("version", version) @property @pulumi.getter(name="costAnalysisUi") @@ -272,10 +319,21 @@ def __init__(__self__, *, :param pulumi.Input[str] graph: (Updatable) The graph type. :param pulumi.Input[bool] is_cumulative_graph: (Updatable) A cumulative graph. """ + QueryQueryDefinitionCostAnalysisUiArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + graph=graph, + is_cumulative_graph=is_cumulative_graph, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + graph: Optional[pulumi.Input[str]] = None, + is_cumulative_graph: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if graph is not None: - pulumi.set(__self__, "graph", graph) + _setter("graph", graph) if is_cumulative_graph is not None: - pulumi.set(__self__, "is_cumulative_graph", is_cumulative_graph) + _setter("is_cumulative_graph", is_cumulative_graph) @property @pulumi.getter @@ -331,28 +389,59 @@ def __init__(__self__, *, :param pulumi.Input[str] time_usage_ended: (Updatable) The usage end time. :param pulumi.Input[str] time_usage_started: (Updatable) The usage start time. """ - pulumi.set(__self__, "granularity", granularity) - pulumi.set(__self__, "tenant_id", tenant_id) + QueryQueryDefinitionReportQueryArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + granularity=granularity, + tenant_id=tenant_id, + compartment_depth=compartment_depth, + date_range_name=date_range_name, + filter=filter, + forecast=forecast, + group_bies=group_bies, + group_by_tags=group_by_tags, + is_aggregate_by_time=is_aggregate_by_time, + query_type=query_type, + time_usage_ended=time_usage_ended, + time_usage_started=time_usage_started, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + granularity: pulumi.Input[str], + tenant_id: pulumi.Input[str], + compartment_depth: Optional[pulumi.Input[float]] = None, + date_range_name: Optional[pulumi.Input[str]] = None, + filter: Optional[pulumi.Input[str]] = None, + forecast: Optional[pulumi.Input['QueryQueryDefinitionReportQueryForecastArgs']] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + group_by_tags: Optional[pulumi.Input[Sequence[pulumi.Input['QueryQueryDefinitionReportQueryGroupByTagArgs']]]] = None, + is_aggregate_by_time: Optional[pulumi.Input[bool]] = None, + query_type: Optional[pulumi.Input[str]] = None, + time_usage_ended: Optional[pulumi.Input[str]] = None, + time_usage_started: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("granularity", granularity) + _setter("tenant_id", tenant_id) if compartment_depth is not None: - pulumi.set(__self__, "compartment_depth", compartment_depth) + _setter("compartment_depth", compartment_depth) if date_range_name is not None: - pulumi.set(__self__, "date_range_name", date_range_name) + _setter("date_range_name", date_range_name) if filter is not None: - pulumi.set(__self__, "filter", filter) + _setter("filter", filter) if forecast is not None: - pulumi.set(__self__, "forecast", forecast) + _setter("forecast", forecast) if group_bies is not None: - pulumi.set(__self__, "group_bies", group_bies) + _setter("group_bies", group_bies) if group_by_tags is not None: - pulumi.set(__self__, "group_by_tags", group_by_tags) + _setter("group_by_tags", group_by_tags) if is_aggregate_by_time is not None: - pulumi.set(__self__, "is_aggregate_by_time", is_aggregate_by_time) + _setter("is_aggregate_by_time", is_aggregate_by_time) if query_type is not None: - pulumi.set(__self__, "query_type", query_type) + _setter("query_type", query_type) if time_usage_ended is not None: - pulumi.set(__self__, "time_usage_ended", time_usage_ended) + _setter("time_usage_ended", time_usage_ended) if time_usage_started is not None: - pulumi.set(__self__, "time_usage_started", time_usage_started) + _setter("time_usage_started", time_usage_started) @property @pulumi.getter @@ -510,11 +599,24 @@ def __init__(__self__, *, :param pulumi.Input[str] forecast_type: (Updatable) BASIC uses the exponential smoothing (ETS) model to project future usage/costs based on history data. The basis for projections is a periodic set of equivalent historical days for which the projection is being made. :param pulumi.Input[str] time_forecast_started: (Updatable) The forecast start time. Defaults to UTC-1 if not specified. """ - pulumi.set(__self__, "time_forecast_ended", time_forecast_ended) + QueryQueryDefinitionReportQueryForecastArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + time_forecast_ended=time_forecast_ended, + forecast_type=forecast_type, + time_forecast_started=time_forecast_started, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + time_forecast_ended: pulumi.Input[str], + forecast_type: Optional[pulumi.Input[str]] = None, + time_forecast_started: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("time_forecast_ended", time_forecast_ended) if forecast_type is not None: - pulumi.set(__self__, "forecast_type", forecast_type) + _setter("forecast_type", forecast_type) if time_forecast_started is not None: - pulumi.set(__self__, "time_forecast_started", time_forecast_started) + _setter("time_forecast_started", time_forecast_started) @property @pulumi.getter(name="timeForecastEnded") @@ -564,12 +666,25 @@ def __init__(__self__, *, :param pulumi.Input[str] namespace: (Updatable) The tag namespace. :param pulumi.Input[str] value: (Updatable) The tag value. """ + QueryQueryDefinitionReportQueryGroupByTagArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + namespace=namespace, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: Optional[pulumi.Input[str]] = None, + namespace: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -629,20 +744,43 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_aggregate_by_time: Specifies whether aggregated by time. If isAggregateByTime is true, all usage or cost over the query time period will be added up. :param pulumi.Input[str] query_type: The query usage type. COST by default if it is missing. Usage - Query the usage data. Cost - Query the cost/billing data. Allowed values are: USAGE COST USAGE_AND_COST """ - pulumi.set(__self__, "date_range", date_range) - pulumi.set(__self__, "granularity", granularity) + ScheduleQueryPropertiesArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + date_range=date_range, + granularity=granularity, + compartment_depth=compartment_depth, + filter=filter, + group_bies=group_bies, + group_by_tags=group_by_tags, + is_aggregate_by_time=is_aggregate_by_time, + query_type=query_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + date_range: pulumi.Input['ScheduleQueryPropertiesDateRangeArgs'], + granularity: pulumi.Input[str], + compartment_depth: Optional[pulumi.Input[float]] = None, + filter: Optional[pulumi.Input[str]] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + group_by_tags: Optional[pulumi.Input[Sequence[pulumi.Input['ScheduleQueryPropertiesGroupByTagArgs']]]] = None, + is_aggregate_by_time: Optional[pulumi.Input[bool]] = None, + query_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("date_range", date_range) + _setter("granularity", granularity) if compartment_depth is not None: - pulumi.set(__self__, "compartment_depth", compartment_depth) + _setter("compartment_depth", compartment_depth) if filter is not None: - pulumi.set(__self__, "filter", filter) + _setter("filter", filter) if group_bies is not None: - pulumi.set(__self__, "group_bies", group_bies) + _setter("group_bies", group_bies) if group_by_tags is not None: - pulumi.set(__self__, "group_by_tags", group_by_tags) + _setter("group_by_tags", group_by_tags) if is_aggregate_by_time is not None: - pulumi.set(__self__, "is_aggregate_by_time", is_aggregate_by_time) + _setter("is_aggregate_by_time", is_aggregate_by_time) if query_type is not None: - pulumi.set(__self__, "query_type", query_type) + _setter("query_type", query_type) @property @pulumi.getter(name="dateRange") @@ -753,13 +891,28 @@ def __init__(__self__, *, :param pulumi.Input[str] time_usage_ended: The usage end time. :param pulumi.Input[str] time_usage_started: The usage start time. """ - pulumi.set(__self__, "date_range_type", date_range_type) + ScheduleQueryPropertiesDateRangeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + date_range_type=date_range_type, + dynamic_date_range_type=dynamic_date_range_type, + time_usage_ended=time_usage_ended, + time_usage_started=time_usage_started, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + date_range_type: pulumi.Input[str], + dynamic_date_range_type: Optional[pulumi.Input[str]] = None, + time_usage_ended: Optional[pulumi.Input[str]] = None, + time_usage_started: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("date_range_type", date_range_type) if dynamic_date_range_type is not None: - pulumi.set(__self__, "dynamic_date_range_type", dynamic_date_range_type) + _setter("dynamic_date_range_type", dynamic_date_range_type) if time_usage_ended is not None: - pulumi.set(__self__, "time_usage_ended", time_usage_ended) + _setter("time_usage_ended", time_usage_ended) if time_usage_started is not None: - pulumi.set(__self__, "time_usage_started", time_usage_started) + _setter("time_usage_started", time_usage_started) @property @pulumi.getter(name="dateRangeType") @@ -818,12 +971,25 @@ def __init__(__self__, *, :param pulumi.Input[str] namespace: (Updatable) The namespace needed to determine the object storage bucket. :param pulumi.Input[str] value: The tag value. """ + ScheduleQueryPropertiesGroupByTagArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + namespace=namespace, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: Optional[pulumi.Input[str]] = None, + namespace: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -875,10 +1041,25 @@ def __init__(__self__, *, :param pulumi.Input[str] namespace: (Updatable) The namespace needed to determine the object storage bucket. :param pulumi.Input[str] region: (Updatable) The destination Object Store Region specified by the customer. """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "location_type", location_type) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "region", region) + ScheduleResultLocationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + location_type=location_type, + namespace=namespace, + region=region, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: pulumi.Input[str], + location_type: pulumi.Input[str], + namespace: pulumi.Input[str], + region: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("location_type", location_type) + _setter("namespace", namespace) + _setter("region", region) @property @pulumi.getter @@ -940,11 +1121,24 @@ def __init__(__self__, *, :param pulumi.Input[str] forecast_type: BASIC uses the exponential smoothing (ETS) model to project future usage/costs based on history data. The basis for projections is a periodic set of equivalent historical days for which the projection is being made. :param pulumi.Input[str] time_forecast_started: The forecast start time. Defaults to UTC-1 if not specified. """ - pulumi.set(__self__, "time_forecast_ended", time_forecast_ended) + UsageForecastArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + time_forecast_ended=time_forecast_ended, + forecast_type=forecast_type, + time_forecast_started=time_forecast_started, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + time_forecast_ended: pulumi.Input[str], + forecast_type: Optional[pulumi.Input[str]] = None, + time_forecast_started: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("time_forecast_ended", time_forecast_ended) if forecast_type is not None: - pulumi.set(__self__, "forecast_type", forecast_type) + _setter("forecast_type", forecast_type) if time_forecast_started is not None: - pulumi.set(__self__, "time_forecast_started", time_forecast_started) + _setter("time_forecast_started", time_forecast_started) @property @pulumi.getter(name="timeForecastEnded") @@ -994,12 +1188,25 @@ def __init__(__self__, *, :param pulumi.Input[str] namespace: The tag namespace. :param pulumi.Input[str] value: The tag value. """ + UsageGroupByTagArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + namespace=namespace, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: Optional[pulumi.Input[str]] = None, + namespace: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -1105,64 +1312,129 @@ def __init__(__self__, *, :param pulumi.Input[float] unit_price: The price per unit. :param pulumi.Input[float] weight: The resource size being metered. """ + UsageItemArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + ad=ad, + compartment_id=compartment_id, + compartment_name=compartment_name, + compartment_path=compartment_path, + computed_amount=computed_amount, + computed_quantity=computed_quantity, + currency=currency, + discount=discount, + is_forecast=is_forecast, + list_rate=list_rate, + overage=overage, + overages_flag=overages_flag, + platform=platform, + region=region, + resource_id=resource_id, + resource_name=resource_name, + service=service, + shape=shape, + sku_name=sku_name, + sku_part_number=sku_part_number, + subscription_id=subscription_id, + tags=tags, + tenant_id=tenant_id, + tenant_name=tenant_name, + time_usage_ended=time_usage_ended, + time_usage_started=time_usage_started, + unit=unit, + unit_price=unit_price, + weight=weight, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ad: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + compartment_name: Optional[pulumi.Input[str]] = None, + compartment_path: Optional[pulumi.Input[str]] = None, + computed_amount: Optional[pulumi.Input[float]] = None, + computed_quantity: Optional[pulumi.Input[float]] = None, + currency: Optional[pulumi.Input[str]] = None, + discount: Optional[pulumi.Input[float]] = None, + is_forecast: Optional[pulumi.Input[bool]] = None, + list_rate: Optional[pulumi.Input[float]] = None, + overage: Optional[pulumi.Input[str]] = None, + overages_flag: Optional[pulumi.Input[str]] = None, + platform: Optional[pulumi.Input[str]] = None, + region: Optional[pulumi.Input[str]] = None, + resource_id: Optional[pulumi.Input[str]] = None, + resource_name: Optional[pulumi.Input[str]] = None, + service: Optional[pulumi.Input[str]] = None, + shape: Optional[pulumi.Input[str]] = None, + sku_name: Optional[pulumi.Input[str]] = None, + sku_part_number: Optional[pulumi.Input[str]] = None, + subscription_id: Optional[pulumi.Input[str]] = None, + tags: Optional[pulumi.Input[Sequence[pulumi.Input['UsageItemTagArgs']]]] = None, + tenant_id: Optional[pulumi.Input[str]] = None, + tenant_name: Optional[pulumi.Input[str]] = None, + time_usage_ended: Optional[pulumi.Input[str]] = None, + time_usage_started: Optional[pulumi.Input[str]] = None, + unit: Optional[pulumi.Input[str]] = None, + unit_price: Optional[pulumi.Input[float]] = None, + weight: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ad is not None: - pulumi.set(__self__, "ad", ad) + _setter("ad", ad) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if compartment_name is not None: - pulumi.set(__self__, "compartment_name", compartment_name) + _setter("compartment_name", compartment_name) if compartment_path is not None: - pulumi.set(__self__, "compartment_path", compartment_path) + _setter("compartment_path", compartment_path) if computed_amount is not None: - pulumi.set(__self__, "computed_amount", computed_amount) + _setter("computed_amount", computed_amount) if computed_quantity is not None: - pulumi.set(__self__, "computed_quantity", computed_quantity) + _setter("computed_quantity", computed_quantity) if currency is not None: - pulumi.set(__self__, "currency", currency) + _setter("currency", currency) if discount is not None: - pulumi.set(__self__, "discount", discount) + _setter("discount", discount) if is_forecast is not None: - pulumi.set(__self__, "is_forecast", is_forecast) + _setter("is_forecast", is_forecast) if list_rate is not None: - pulumi.set(__self__, "list_rate", list_rate) + _setter("list_rate", list_rate) if overage is not None: - pulumi.set(__self__, "overage", overage) + _setter("overage", overage) if overages_flag is not None: - pulumi.set(__self__, "overages_flag", overages_flag) + _setter("overages_flag", overages_flag) if platform is not None: - pulumi.set(__self__, "platform", platform) + _setter("platform", platform) if region is not None: - pulumi.set(__self__, "region", region) + _setter("region", region) if resource_id is not None: - pulumi.set(__self__, "resource_id", resource_id) + _setter("resource_id", resource_id) if resource_name is not None: - pulumi.set(__self__, "resource_name", resource_name) + _setter("resource_name", resource_name) if service is not None: - pulumi.set(__self__, "service", service) + _setter("service", service) if shape is not None: - pulumi.set(__self__, "shape", shape) + _setter("shape", shape) if sku_name is not None: - pulumi.set(__self__, "sku_name", sku_name) + _setter("sku_name", sku_name) if sku_part_number is not None: - pulumi.set(__self__, "sku_part_number", sku_part_number) + _setter("sku_part_number", sku_part_number) if subscription_id is not None: - pulumi.set(__self__, "subscription_id", subscription_id) + _setter("subscription_id", subscription_id) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if tenant_id is not None: - pulumi.set(__self__, "tenant_id", tenant_id) + _setter("tenant_id", tenant_id) if tenant_name is not None: - pulumi.set(__self__, "tenant_name", tenant_name) + _setter("tenant_name", tenant_name) if time_usage_ended is not None: - pulumi.set(__self__, "time_usage_ended", time_usage_ended) + _setter("time_usage_ended", time_usage_ended) if time_usage_started is not None: - pulumi.set(__self__, "time_usage_started", time_usage_started) + _setter("time_usage_started", time_usage_started) if unit is not None: - pulumi.set(__self__, "unit", unit) + _setter("unit", unit) if unit_price is not None: - pulumi.set(__self__, "unit_price", unit_price) + _setter("unit_price", unit_price) if weight is not None: - pulumi.set(__self__, "weight", weight) + _setter("weight", weight) @property @pulumi.getter @@ -1528,12 +1800,25 @@ def __init__(__self__, *, :param pulumi.Input[str] namespace: The tag namespace. :param pulumi.Input[str] value: The tag value. """ + UsageItemTagArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + namespace=namespace, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: Optional[pulumi.Input[str]] = None, + namespace: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -1578,10 +1863,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetCustomTablesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1617,10 +1915,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetQueriesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1656,10 +1967,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetScheduledRunsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1698,10 +2022,23 @@ def __init__(__self__, *, """ :param str name: Query parameter for filtering by name """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSchedulesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/meteringcomputation/custom_table.py b/sdk/python/pulumi_oci/meteringcomputation/custom_table.py index 755ee7dd21..76156e312c 100644 --- a/sdk/python/pulumi_oci/meteringcomputation/custom_table.py +++ b/sdk/python/pulumi_oci/meteringcomputation/custom_table.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -29,9 +29,22 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "saved_custom_table", saved_custom_table) - pulumi.set(__self__, "saved_report_id", saved_report_id) + CustomTableArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + saved_custom_table=saved_custom_table, + saved_report_id=saved_report_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + saved_custom_table: pulumi.Input['CustomTableSavedCustomTableArgs'], + saved_report_id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("saved_custom_table", saved_custom_table) + _setter("saved_report_id", saved_report_id) @property @pulumi.getter(name="compartmentId") @@ -90,12 +103,25 @@ def __init__(__self__, *, ** 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 """ + _CustomTableState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + saved_custom_table=saved_custom_table, + saved_report_id=saved_report_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + saved_custom_table: Optional[pulumi.Input['CustomTableSavedCustomTableArgs']] = None, + saved_report_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if saved_custom_table is not None: - pulumi.set(__self__, "saved_custom_table", saved_custom_table) + _setter("saved_custom_table", saved_custom_table) if saved_report_id is not None: - pulumi.set(__self__, "saved_report_id", saved_report_id) + _setter("saved_report_id", saved_report_id) @property @pulumi.getter(name="compartmentId") @@ -245,6 +271,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + CustomTableArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -265,6 +295,11 @@ def _internal_init(__self__, if compartment_id is None and not opts.urn: raise TypeError("Missing required property 'compartment_id'") __props__.__dict__["compartment_id"] = compartment_id + if saved_custom_table is not None and not isinstance(saved_custom_table, CustomTableSavedCustomTableArgs): + saved_custom_table = saved_custom_table or {} + def _setter(key, value): + saved_custom_table[key] = value + CustomTableSavedCustomTableArgs._configure(_setter, **saved_custom_table) if saved_custom_table is None and not opts.urn: raise TypeError("Missing required property 'saved_custom_table'") __props__.__dict__["saved_custom_table"] = saved_custom_table diff --git a/sdk/python/pulumi_oci/meteringcomputation/get_configuration.py b/sdk/python/pulumi_oci/meteringcomputation/get_configuration.py index 103cb48587..7b2f8ed796 100644 --- a/sdk/python/pulumi_oci/meteringcomputation/get_configuration.py +++ b/sdk/python/pulumi_oci/meteringcomputation/get_configuration.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/meteringcomputation/get_custom_table.py b/sdk/python/pulumi_oci/meteringcomputation/get_custom_table.py index 6e153c78c4..6943636695 100644 --- a/sdk/python/pulumi_oci/meteringcomputation/get_custom_table.py +++ b/sdk/python/pulumi_oci/meteringcomputation/get_custom_table.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/meteringcomputation/get_custom_tables.py b/sdk/python/pulumi_oci/meteringcomputation/get_custom_tables.py index 7e46a548cd..60c88760b3 100644 --- a/sdk/python/pulumi_oci/meteringcomputation/get_custom_tables.py +++ b/sdk/python/pulumi_oci/meteringcomputation/get_custom_tables.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/meteringcomputation/get_queries.py b/sdk/python/pulumi_oci/meteringcomputation/get_queries.py index 22abc1603c..5e309ed7d1 100644 --- a/sdk/python/pulumi_oci/meteringcomputation/get_queries.py +++ b/sdk/python/pulumi_oci/meteringcomputation/get_queries.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/meteringcomputation/get_query.py b/sdk/python/pulumi_oci/meteringcomputation/get_query.py index fd27202b2e..bff01e5927 100644 --- a/sdk/python/pulumi_oci/meteringcomputation/get_query.py +++ b/sdk/python/pulumi_oci/meteringcomputation/get_query.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/meteringcomputation/get_schedule.py b/sdk/python/pulumi_oci/meteringcomputation/get_schedule.py index 39021d390a..795c5f872f 100644 --- a/sdk/python/pulumi_oci/meteringcomputation/get_schedule.py +++ b/sdk/python/pulumi_oci/meteringcomputation/get_schedule.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/meteringcomputation/get_scheduled_run.py b/sdk/python/pulumi_oci/meteringcomputation/get_scheduled_run.py index 4b129de65d..b35a13c0cd 100644 --- a/sdk/python/pulumi_oci/meteringcomputation/get_scheduled_run.py +++ b/sdk/python/pulumi_oci/meteringcomputation/get_scheduled_run.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/meteringcomputation/get_scheduled_runs.py b/sdk/python/pulumi_oci/meteringcomputation/get_scheduled_runs.py index 87b0da3310..87bbf6235e 100644 --- a/sdk/python/pulumi_oci/meteringcomputation/get_scheduled_runs.py +++ b/sdk/python/pulumi_oci/meteringcomputation/get_scheduled_runs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/meteringcomputation/get_schedules.py b/sdk/python/pulumi_oci/meteringcomputation/get_schedules.py index b625da0b62..1a1df48ae5 100644 --- a/sdk/python/pulumi_oci/meteringcomputation/get_schedules.py +++ b/sdk/python/pulumi_oci/meteringcomputation/get_schedules.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/meteringcomputation/outputs.py b/sdk/python/pulumi_oci/meteringcomputation/outputs.py index db0757df86..c7b875046d 100644 --- a/sdk/python/pulumi_oci/meteringcomputation/outputs.py +++ b/sdk/python/pulumi_oci/meteringcomputation/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -105,17 +105,36 @@ def __init__(__self__, *, :param Sequence[str] row_group_bies: (Updatable) The row groupBy key list. example: `["tagNamespace", "tagKey", "tagValue", "service", "skuName", "skuPartNumber", "unit", "compartmentName", "compartmentPath", "compartmentId", "platform", "region", "logicalAd", "resourceId", "tenantId", "tenantName"]` :param float version: (Updatable) The version of the custom table. """ - pulumi.set(__self__, "display_name", display_name) + CustomTableSavedCustomTable._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + column_group_bies=column_group_bies, + compartment_depth=compartment_depth, + group_by_tags=group_by_tags, + row_group_bies=row_group_bies, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + column_group_bies: Optional[Sequence[str]] = None, + compartment_depth: Optional[float] = None, + group_by_tags: Optional[Sequence['outputs.CustomTableSavedCustomTableGroupByTag']] = None, + row_group_bies: Optional[Sequence[str]] = None, + version: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) if column_group_bies is not None: - pulumi.set(__self__, "column_group_bies", column_group_bies) + _setter("column_group_bies", column_group_bies) if compartment_depth is not None: - pulumi.set(__self__, "compartment_depth", compartment_depth) + _setter("compartment_depth", compartment_depth) if group_by_tags is not None: - pulumi.set(__self__, "group_by_tags", group_by_tags) + _setter("group_by_tags", group_by_tags) if row_group_bies is not None: - pulumi.set(__self__, "row_group_bies", row_group_bies) + _setter("row_group_bies", row_group_bies) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter(name="displayName") @@ -177,12 +196,25 @@ def __init__(__self__, *, :param str namespace: (Updatable) The tag namespace. :param str value: (Updatable) The tag value. """ + CustomTableSavedCustomTableGroupByTag._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + namespace=namespace, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: Optional[str] = None, + namespace: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -247,10 +279,25 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "cost_analysis_ui", cost_analysis_ui) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "report_query", report_query) - pulumi.set(__self__, "version", version) + QueryQueryDefinition._configure( + lambda key, value: pulumi.set(__self__, key, value), + cost_analysis_ui=cost_analysis_ui, + display_name=display_name, + report_query=report_query, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cost_analysis_ui: 'outputs.QueryQueryDefinitionCostAnalysisUi', + display_name: str, + report_query: 'outputs.QueryQueryDefinitionReportQuery', + version: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cost_analysis_ui", cost_analysis_ui) + _setter("display_name", display_name) + _setter("report_query", report_query) + _setter("version", version) @property @pulumi.getter(name="costAnalysisUi") @@ -315,10 +362,21 @@ def __init__(__self__, *, :param str graph: (Updatable) The graph type. :param bool is_cumulative_graph: (Updatable) A cumulative graph. """ + QueryQueryDefinitionCostAnalysisUi._configure( + lambda key, value: pulumi.set(__self__, key, value), + graph=graph, + is_cumulative_graph=is_cumulative_graph, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + graph: Optional[str] = None, + is_cumulative_graph: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): if graph is not None: - pulumi.set(__self__, "graph", graph) + _setter("graph", graph) if is_cumulative_graph is not None: - pulumi.set(__self__, "is_cumulative_graph", is_cumulative_graph) + _setter("is_cumulative_graph", is_cumulative_graph) @property @pulumi.getter @@ -399,28 +457,59 @@ def __init__(__self__, *, :param str time_usage_ended: (Updatable) The usage end time. :param str time_usage_started: (Updatable) The usage start time. """ - pulumi.set(__self__, "granularity", granularity) - pulumi.set(__self__, "tenant_id", tenant_id) + QueryQueryDefinitionReportQuery._configure( + lambda key, value: pulumi.set(__self__, key, value), + granularity=granularity, + tenant_id=tenant_id, + compartment_depth=compartment_depth, + date_range_name=date_range_name, + filter=filter, + forecast=forecast, + group_bies=group_bies, + group_by_tags=group_by_tags, + is_aggregate_by_time=is_aggregate_by_time, + query_type=query_type, + time_usage_ended=time_usage_ended, + time_usage_started=time_usage_started, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + granularity: str, + tenant_id: str, + compartment_depth: Optional[float] = None, + date_range_name: Optional[str] = None, + filter: Optional[str] = None, + forecast: Optional['outputs.QueryQueryDefinitionReportQueryForecast'] = None, + group_bies: Optional[Sequence[str]] = None, + group_by_tags: Optional[Sequence['outputs.QueryQueryDefinitionReportQueryGroupByTag']] = None, + is_aggregate_by_time: Optional[bool] = None, + query_type: Optional[str] = None, + time_usage_ended: Optional[str] = None, + time_usage_started: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("granularity", granularity) + _setter("tenant_id", tenant_id) if compartment_depth is not None: - pulumi.set(__self__, "compartment_depth", compartment_depth) + _setter("compartment_depth", compartment_depth) if date_range_name is not None: - pulumi.set(__self__, "date_range_name", date_range_name) + _setter("date_range_name", date_range_name) if filter is not None: - pulumi.set(__self__, "filter", filter) + _setter("filter", filter) if forecast is not None: - pulumi.set(__self__, "forecast", forecast) + _setter("forecast", forecast) if group_bies is not None: - pulumi.set(__self__, "group_bies", group_bies) + _setter("group_bies", group_bies) if group_by_tags is not None: - pulumi.set(__self__, "group_by_tags", group_by_tags) + _setter("group_by_tags", group_by_tags) if is_aggregate_by_time is not None: - pulumi.set(__self__, "is_aggregate_by_time", is_aggregate_by_time) + _setter("is_aggregate_by_time", is_aggregate_by_time) if query_type is not None: - pulumi.set(__self__, "query_type", query_type) + _setter("query_type", query_type) if time_usage_ended is not None: - pulumi.set(__self__, "time_usage_ended", time_usage_ended) + _setter("time_usage_ended", time_usage_ended) if time_usage_started is not None: - pulumi.set(__self__, "time_usage_started", time_usage_started) + _setter("time_usage_started", time_usage_started) @property @pulumi.getter @@ -551,11 +640,24 @@ def __init__(__self__, *, :param str forecast_type: (Updatable) BASIC uses the exponential smoothing (ETS) model to project future usage/costs based on history data. The basis for projections is a periodic set of equivalent historical days for which the projection is being made. :param str time_forecast_started: (Updatable) The forecast start time. Defaults to UTC-1 if not specified. """ - pulumi.set(__self__, "time_forecast_ended", time_forecast_ended) + QueryQueryDefinitionReportQueryForecast._configure( + lambda key, value: pulumi.set(__self__, key, value), + time_forecast_ended=time_forecast_ended, + forecast_type=forecast_type, + time_forecast_started=time_forecast_started, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + time_forecast_ended: str, + forecast_type: Optional[str] = None, + time_forecast_started: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("time_forecast_ended", time_forecast_ended) if forecast_type is not None: - pulumi.set(__self__, "forecast_type", forecast_type) + _setter("forecast_type", forecast_type) if time_forecast_started is not None: - pulumi.set(__self__, "time_forecast_started", time_forecast_started) + _setter("time_forecast_started", time_forecast_started) @property @pulumi.getter(name="timeForecastEnded") @@ -593,12 +695,25 @@ def __init__(__self__, *, :param str namespace: (Updatable) The tag namespace. :param str value: (Updatable) The tag value. """ + QueryQueryDefinitionReportQueryGroupByTag._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + namespace=namespace, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: Optional[str] = None, + namespace: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -673,20 +788,43 @@ def __init__(__self__, *, :param bool is_aggregate_by_time: Specifies whether aggregated by time. If isAggregateByTime is true, all usage or cost over the query time period will be added up. :param str query_type: The query usage type. COST by default if it is missing. Usage - Query the usage data. Cost - Query the cost/billing data. Allowed values are: USAGE COST USAGE_AND_COST """ - pulumi.set(__self__, "date_range", date_range) - pulumi.set(__self__, "granularity", granularity) + ScheduleQueryProperties._configure( + lambda key, value: pulumi.set(__self__, key, value), + date_range=date_range, + granularity=granularity, + compartment_depth=compartment_depth, + filter=filter, + group_bies=group_bies, + group_by_tags=group_by_tags, + is_aggregate_by_time=is_aggregate_by_time, + query_type=query_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + date_range: 'outputs.ScheduleQueryPropertiesDateRange', + granularity: str, + compartment_depth: Optional[float] = None, + filter: Optional[str] = None, + group_bies: Optional[Sequence[str]] = None, + group_by_tags: Optional[Sequence['outputs.ScheduleQueryPropertiesGroupByTag']] = None, + is_aggregate_by_time: Optional[bool] = None, + query_type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("date_range", date_range) + _setter("granularity", granularity) if compartment_depth is not None: - pulumi.set(__self__, "compartment_depth", compartment_depth) + _setter("compartment_depth", compartment_depth) if filter is not None: - pulumi.set(__self__, "filter", filter) + _setter("filter", filter) if group_bies is not None: - pulumi.set(__self__, "group_bies", group_bies) + _setter("group_bies", group_bies) if group_by_tags is not None: - pulumi.set(__self__, "group_by_tags", group_by_tags) + _setter("group_by_tags", group_by_tags) if is_aggregate_by_time is not None: - pulumi.set(__self__, "is_aggregate_by_time", is_aggregate_by_time) + _setter("is_aggregate_by_time", is_aggregate_by_time) if query_type is not None: - pulumi.set(__self__, "query_type", query_type) + _setter("query_type", query_type) @property @pulumi.getter(name="dateRange") @@ -788,13 +926,28 @@ def __init__(__self__, *, :param str time_usage_ended: The usage end time. :param str time_usage_started: The usage start time. """ - pulumi.set(__self__, "date_range_type", date_range_type) + ScheduleQueryPropertiesDateRange._configure( + lambda key, value: pulumi.set(__self__, key, value), + date_range_type=date_range_type, + dynamic_date_range_type=dynamic_date_range_type, + time_usage_ended=time_usage_ended, + time_usage_started=time_usage_started, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + date_range_type: str, + dynamic_date_range_type: Optional[str] = None, + time_usage_ended: Optional[str] = None, + time_usage_started: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("date_range_type", date_range_type) if dynamic_date_range_type is not None: - pulumi.set(__self__, "dynamic_date_range_type", dynamic_date_range_type) + _setter("dynamic_date_range_type", dynamic_date_range_type) if time_usage_ended is not None: - pulumi.set(__self__, "time_usage_ended", time_usage_ended) + _setter("time_usage_ended", time_usage_ended) if time_usage_started is not None: - pulumi.set(__self__, "time_usage_started", time_usage_started) + _setter("time_usage_started", time_usage_started) @property @pulumi.getter(name="dateRangeType") @@ -837,12 +990,25 @@ def __init__(__self__, *, :param str namespace: (Updatable) The namespace needed to determine the object storage bucket. :param str value: The tag value. """ + ScheduleQueryPropertiesGroupByTag._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + namespace=namespace, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: Optional[str] = None, + namespace: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -899,10 +1065,25 @@ def __init__(__self__, *, :param str namespace: (Updatable) The namespace needed to determine the object storage bucket. :param str region: (Updatable) The destination Object Store Region specified by the customer. """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "location_type", location_type) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "region", region) + ScheduleResultLocation._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + location_type=location_type, + namespace=namespace, + region=region, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + location_type: str, + namespace: str, + region: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("location_type", location_type) + _setter("namespace", namespace) + _setter("region", region) @property @pulumi.getter @@ -969,11 +1150,24 @@ def __init__(__self__, *, :param str forecast_type: BASIC uses the exponential smoothing (ETS) model to project future usage/costs based on history data. The basis for projections is a periodic set of equivalent historical days for which the projection is being made. :param str time_forecast_started: The forecast start time. Defaults to UTC-1 if not specified. """ - pulumi.set(__self__, "time_forecast_ended", time_forecast_ended) + UsageForecast._configure( + lambda key, value: pulumi.set(__self__, key, value), + time_forecast_ended=time_forecast_ended, + forecast_type=forecast_type, + time_forecast_started=time_forecast_started, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + time_forecast_ended: str, + forecast_type: Optional[str] = None, + time_forecast_started: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("time_forecast_ended", time_forecast_ended) if forecast_type is not None: - pulumi.set(__self__, "forecast_type", forecast_type) + _setter("forecast_type", forecast_type) if time_forecast_started is not None: - pulumi.set(__self__, "time_forecast_started", time_forecast_started) + _setter("time_forecast_started", time_forecast_started) @property @pulumi.getter(name="timeForecastEnded") @@ -1011,12 +1205,25 @@ def __init__(__self__, *, :param str namespace: The tag namespace. :param str value: The tag value. """ + UsageGroupByTag._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + namespace=namespace, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: Optional[str] = None, + namespace: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -1161,64 +1368,129 @@ def __init__(__self__, *, :param float unit_price: The price per unit. :param float weight: The resource size being metered. """ + UsageItem._configure( + lambda key, value: pulumi.set(__self__, key, value), + ad=ad, + compartment_id=compartment_id, + compartment_name=compartment_name, + compartment_path=compartment_path, + computed_amount=computed_amount, + computed_quantity=computed_quantity, + currency=currency, + discount=discount, + is_forecast=is_forecast, + list_rate=list_rate, + overage=overage, + overages_flag=overages_flag, + platform=platform, + region=region, + resource_id=resource_id, + resource_name=resource_name, + service=service, + shape=shape, + sku_name=sku_name, + sku_part_number=sku_part_number, + subscription_id=subscription_id, + tags=tags, + tenant_id=tenant_id, + tenant_name=tenant_name, + time_usage_ended=time_usage_ended, + time_usage_started=time_usage_started, + unit=unit, + unit_price=unit_price, + weight=weight, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ad: Optional[str] = None, + compartment_id: Optional[str] = None, + compartment_name: Optional[str] = None, + compartment_path: Optional[str] = None, + computed_amount: Optional[float] = None, + computed_quantity: Optional[float] = None, + currency: Optional[str] = None, + discount: Optional[float] = None, + is_forecast: Optional[bool] = None, + list_rate: Optional[float] = None, + overage: Optional[str] = None, + overages_flag: Optional[str] = None, + platform: Optional[str] = None, + region: Optional[str] = None, + resource_id: Optional[str] = None, + resource_name: Optional[str] = None, + service: Optional[str] = None, + shape: Optional[str] = None, + sku_name: Optional[str] = None, + sku_part_number: Optional[str] = None, + subscription_id: Optional[str] = None, + tags: Optional[Sequence['outputs.UsageItemTag']] = None, + tenant_id: Optional[str] = None, + tenant_name: Optional[str] = None, + time_usage_ended: Optional[str] = None, + time_usage_started: Optional[str] = None, + unit: Optional[str] = None, + unit_price: Optional[float] = None, + weight: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ad is not None: - pulumi.set(__self__, "ad", ad) + _setter("ad", ad) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if compartment_name is not None: - pulumi.set(__self__, "compartment_name", compartment_name) + _setter("compartment_name", compartment_name) if compartment_path is not None: - pulumi.set(__self__, "compartment_path", compartment_path) + _setter("compartment_path", compartment_path) if computed_amount is not None: - pulumi.set(__self__, "computed_amount", computed_amount) + _setter("computed_amount", computed_amount) if computed_quantity is not None: - pulumi.set(__self__, "computed_quantity", computed_quantity) + _setter("computed_quantity", computed_quantity) if currency is not None: - pulumi.set(__self__, "currency", currency) + _setter("currency", currency) if discount is not None: - pulumi.set(__self__, "discount", discount) + _setter("discount", discount) if is_forecast is not None: - pulumi.set(__self__, "is_forecast", is_forecast) + _setter("is_forecast", is_forecast) if list_rate is not None: - pulumi.set(__self__, "list_rate", list_rate) + _setter("list_rate", list_rate) if overage is not None: - pulumi.set(__self__, "overage", overage) + _setter("overage", overage) if overages_flag is not None: - pulumi.set(__self__, "overages_flag", overages_flag) + _setter("overages_flag", overages_flag) if platform is not None: - pulumi.set(__self__, "platform", platform) + _setter("platform", platform) if region is not None: - pulumi.set(__self__, "region", region) + _setter("region", region) if resource_id is not None: - pulumi.set(__self__, "resource_id", resource_id) + _setter("resource_id", resource_id) if resource_name is not None: - pulumi.set(__self__, "resource_name", resource_name) + _setter("resource_name", resource_name) if service is not None: - pulumi.set(__self__, "service", service) + _setter("service", service) if shape is not None: - pulumi.set(__self__, "shape", shape) + _setter("shape", shape) if sku_name is not None: - pulumi.set(__self__, "sku_name", sku_name) + _setter("sku_name", sku_name) if sku_part_number is not None: - pulumi.set(__self__, "sku_part_number", sku_part_number) + _setter("sku_part_number", sku_part_number) if subscription_id is not None: - pulumi.set(__self__, "subscription_id", subscription_id) + _setter("subscription_id", subscription_id) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) if tenant_id is not None: - pulumi.set(__self__, "tenant_id", tenant_id) + _setter("tenant_id", tenant_id) if tenant_name is not None: - pulumi.set(__self__, "tenant_name", tenant_name) + _setter("tenant_name", tenant_name) if time_usage_ended is not None: - pulumi.set(__self__, "time_usage_ended", time_usage_ended) + _setter("time_usage_ended", time_usage_ended) if time_usage_started is not None: - pulumi.set(__self__, "time_usage_started", time_usage_started) + _setter("time_usage_started", time_usage_started) if unit is not None: - pulumi.set(__self__, "unit", unit) + _setter("unit", unit) if unit_price is not None: - pulumi.set(__self__, "unit_price", unit_price) + _setter("unit_price", unit_price) if weight is not None: - pulumi.set(__self__, "weight", weight) + _setter("weight", weight) @property @pulumi.getter @@ -1468,12 +1740,25 @@ def __init__(__self__, *, :param str namespace: The tag namespace. :param str value: The tag value. """ + UsageItemTag._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + namespace=namespace, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: Optional[str] = None, + namespace: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -1509,8 +1794,19 @@ def __init__(__self__, *, :param str key: The configuration key. :param Sequence[str] values: The configuration value. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "values", values) + GetConfigurationItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + values=values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + values: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("values", values) @property @pulumi.getter @@ -1546,12 +1842,31 @@ def __init__(__self__, *, :param Sequence[str] row_group_bies: The row groupBy key list. example: `["tagNamespace", "tagKey", "tagValue", "service", "skuName", "skuPartNumber", "unit", "compartmentName", "compartmentPath", "compartmentId", "platform", "region", "logicalAd", "resourceId", "tenantId", "tenantName"]` :param float version: The version of the custom table. """ - pulumi.set(__self__, "column_group_bies", column_group_bies) - pulumi.set(__self__, "compartment_depth", compartment_depth) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "group_by_tags", group_by_tags) - pulumi.set(__self__, "row_group_bies", row_group_bies) - pulumi.set(__self__, "version", version) + GetCustomTableSavedCustomTableResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + column_group_bies=column_group_bies, + compartment_depth=compartment_depth, + display_name=display_name, + group_by_tags=group_by_tags, + row_group_bies=row_group_bies, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + column_group_bies: Sequence[str], + compartment_depth: float, + display_name: str, + group_by_tags: Sequence['outputs.GetCustomTableSavedCustomTableGroupByTagResult'], + row_group_bies: Sequence[str], + version: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("column_group_bies", column_group_bies) + _setter("compartment_depth", compartment_depth) + _setter("display_name", display_name) + _setter("group_by_tags", group_by_tags) + _setter("row_group_bies", row_group_bies) + _setter("version", version) @property @pulumi.getter(name="columnGroupBies") @@ -1613,9 +1928,22 @@ def __init__(__self__, *, :param str namespace: The tag namespace. :param str value: The tag value. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "value", value) + GetCustomTableSavedCustomTableGroupByTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + namespace=namespace, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + namespace: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("namespace", namespace) + _setter("value", value) @property @pulumi.getter @@ -1646,7 +1974,16 @@ def value(self) -> str: class GetCustomTablesCustomTableCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetCustomTablesCustomTableCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetCustomTablesCustomTableCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetCustomTablesCustomTableCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1667,10 +2004,25 @@ def __init__(__self__, *, :param Sequence['GetCustomTablesCustomTableCollectionItemSavedCustomTableArgs'] saved_custom_tables: The custom table for Cost Analysis UI rendering. :param str saved_report_id: The saved report ID in which to list resources. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "saved_custom_tables", saved_custom_tables) - pulumi.set(__self__, "saved_report_id", saved_report_id) + GetCustomTablesCustomTableCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + id=id, + saved_custom_tables=saved_custom_tables, + saved_report_id=saved_report_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + id: str, + saved_custom_tables: Sequence['outputs.GetCustomTablesCustomTableCollectionItemSavedCustomTableResult'], + saved_report_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("id", id) + _setter("saved_custom_tables", saved_custom_tables) + _setter("saved_report_id", saved_report_id) @property @pulumi.getter(name="compartmentId") @@ -1722,12 +2074,31 @@ def __init__(__self__, *, :param Sequence[str] row_group_bies: The row groupBy key list. example: `["tagNamespace", "tagKey", "tagValue", "service", "skuName", "skuPartNumber", "unit", "compartmentName", "compartmentPath", "compartmentId", "platform", "region", "logicalAd", "resourceId", "tenantId", "tenantName"]` :param float version: The version of the custom table. """ - pulumi.set(__self__, "column_group_bies", column_group_bies) - pulumi.set(__self__, "compartment_depth", compartment_depth) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "group_by_tags", group_by_tags) - pulumi.set(__self__, "row_group_bies", row_group_bies) - pulumi.set(__self__, "version", version) + GetCustomTablesCustomTableCollectionItemSavedCustomTableResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + column_group_bies=column_group_bies, + compartment_depth=compartment_depth, + display_name=display_name, + group_by_tags=group_by_tags, + row_group_bies=row_group_bies, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + column_group_bies: Sequence[str], + compartment_depth: float, + display_name: str, + group_by_tags: Sequence['outputs.GetCustomTablesCustomTableCollectionItemSavedCustomTableGroupByTagResult'], + row_group_bies: Sequence[str], + version: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("column_group_bies", column_group_bies) + _setter("compartment_depth", compartment_depth) + _setter("display_name", display_name) + _setter("group_by_tags", group_by_tags) + _setter("row_group_bies", row_group_bies) + _setter("version", version) @property @pulumi.getter(name="columnGroupBies") @@ -1789,9 +2160,22 @@ def __init__(__self__, *, :param str namespace: The tag namespace. :param str value: The tag value. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "value", value) + GetCustomTablesCustomTableCollectionItemSavedCustomTableGroupByTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + namespace=namespace, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + namespace: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("namespace", namespace) + _setter("value", value) @property @pulumi.getter @@ -1824,10 +2208,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetCustomTablesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1851,10 +2248,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetQueriesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1876,7 +2286,16 @@ def regex(self) -> Optional[bool]: class GetQueriesQueryCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetQueriesQueryCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetQueriesQueryCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetQueriesQueryCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1895,9 +2314,22 @@ def __init__(__self__, *, :param str id: The query OCID. :param Sequence['GetQueriesQueryCollectionItemQueryDefinitionArgs'] query_definitions: The common fields for queries. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "query_definitions", query_definitions) + GetQueriesQueryCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + id=id, + query_definitions=query_definitions, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + id: str, + query_definitions: Sequence['outputs.GetQueriesQueryCollectionItemQueryDefinitionResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("id", id) + _setter("query_definitions", query_definitions) @property @pulumi.getter(name="compartmentId") @@ -1937,10 +2369,25 @@ def __init__(__self__, *, :param Sequence['GetQueriesQueryCollectionItemQueryDefinitionReportQueryArgs'] report_queries: The request of the generated Cost Analysis report. :param float version: The saved query version. """ - pulumi.set(__self__, "cost_analysis_uis", cost_analysis_uis) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "report_queries", report_queries) - pulumi.set(__self__, "version", version) + GetQueriesQueryCollectionItemQueryDefinitionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cost_analysis_uis=cost_analysis_uis, + display_name=display_name, + report_queries=report_queries, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cost_analysis_uis: Sequence['outputs.GetQueriesQueryCollectionItemQueryDefinitionCostAnalysisUiResult'], + display_name: str, + report_queries: Sequence['outputs.GetQueriesQueryCollectionItemQueryDefinitionReportQueryResult'], + version: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cost_analysis_uis", cost_analysis_uis) + _setter("display_name", display_name) + _setter("report_queries", report_queries) + _setter("version", version) @property @pulumi.getter(name="costAnalysisUis") @@ -1984,8 +2431,19 @@ def __init__(__self__, *, :param str graph: The graph type. :param bool is_cumulative_graph: A cumulative graph. """ - pulumi.set(__self__, "graph", graph) - pulumi.set(__self__, "is_cumulative_graph", is_cumulative_graph) + GetQueriesQueryCollectionItemQueryDefinitionCostAnalysisUiResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + graph=graph, + is_cumulative_graph=is_cumulative_graph, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + graph: str, + is_cumulative_graph: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("graph", graph) + _setter("is_cumulative_graph", is_cumulative_graph) @property @pulumi.getter @@ -2033,18 +2491,49 @@ def __init__(__self__, *, :param str time_usage_ended: The usage end time. :param str time_usage_started: The usage start time. """ - pulumi.set(__self__, "compartment_depth", compartment_depth) - pulumi.set(__self__, "date_range_name", date_range_name) - pulumi.set(__self__, "filter", filter) - pulumi.set(__self__, "forecasts", forecasts) - pulumi.set(__self__, "granularity", granularity) - pulumi.set(__self__, "group_bies", group_bies) - pulumi.set(__self__, "group_by_tags", group_by_tags) - pulumi.set(__self__, "is_aggregate_by_time", is_aggregate_by_time) - pulumi.set(__self__, "query_type", query_type) - pulumi.set(__self__, "tenant_id", tenant_id) - pulumi.set(__self__, "time_usage_ended", time_usage_ended) - pulumi.set(__self__, "time_usage_started", time_usage_started) + GetQueriesQueryCollectionItemQueryDefinitionReportQueryResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_depth=compartment_depth, + date_range_name=date_range_name, + filter=filter, + forecasts=forecasts, + granularity=granularity, + group_bies=group_bies, + group_by_tags=group_by_tags, + is_aggregate_by_time=is_aggregate_by_time, + query_type=query_type, + tenant_id=tenant_id, + time_usage_ended=time_usage_ended, + time_usage_started=time_usage_started, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_depth: float, + date_range_name: str, + filter: str, + forecasts: Sequence['outputs.GetQueriesQueryCollectionItemQueryDefinitionReportQueryForecastResult'], + granularity: str, + group_bies: Sequence[str], + group_by_tags: Sequence['outputs.GetQueriesQueryCollectionItemQueryDefinitionReportQueryGroupByTagResult'], + is_aggregate_by_time: bool, + query_type: str, + tenant_id: str, + time_usage_ended: str, + time_usage_started: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_depth", compartment_depth) + _setter("date_range_name", date_range_name) + _setter("filter", filter) + _setter("forecasts", forecasts) + _setter("granularity", granularity) + _setter("group_bies", group_bies) + _setter("group_by_tags", group_by_tags) + _setter("is_aggregate_by_time", is_aggregate_by_time) + _setter("query_type", query_type) + _setter("tenant_id", tenant_id) + _setter("time_usage_ended", time_usage_ended) + _setter("time_usage_started", time_usage_started) @property @pulumi.getter(name="compartmentDepth") @@ -2154,9 +2643,22 @@ def __init__(__self__, *, :param str time_forecast_ended: The forecast end time. :param str time_forecast_started: The forecast start time. Defaults to UTC-1 if not specified. """ - pulumi.set(__self__, "forecast_type", forecast_type) - pulumi.set(__self__, "time_forecast_ended", time_forecast_ended) - pulumi.set(__self__, "time_forecast_started", time_forecast_started) + GetQueriesQueryCollectionItemQueryDefinitionReportQueryForecastResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + forecast_type=forecast_type, + time_forecast_ended=time_forecast_ended, + time_forecast_started=time_forecast_started, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + forecast_type: str, + time_forecast_ended: str, + time_forecast_started: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("forecast_type", forecast_type) + _setter("time_forecast_ended", time_forecast_ended) + _setter("time_forecast_started", time_forecast_started) @property @pulumi.getter(name="forecastType") @@ -2194,9 +2696,22 @@ def __init__(__self__, *, :param str namespace: The tag namespace. :param str value: The tag value. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "value", value) + GetQueriesQueryCollectionItemQueryDefinitionReportQueryGroupByTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + namespace=namespace, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + namespace: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("namespace", namespace) + _setter("value", value) @property @pulumi.getter @@ -2236,10 +2751,25 @@ def __init__(__self__, *, :param Sequence['GetQueryQueryDefinitionReportQueryArgs'] report_queries: The request of the generated Cost Analysis report. :param float version: The saved query version. """ - pulumi.set(__self__, "cost_analysis_uis", cost_analysis_uis) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "report_queries", report_queries) - pulumi.set(__self__, "version", version) + GetQueryQueryDefinitionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cost_analysis_uis=cost_analysis_uis, + display_name=display_name, + report_queries=report_queries, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cost_analysis_uis: Sequence['outputs.GetQueryQueryDefinitionCostAnalysisUiResult'], + display_name: str, + report_queries: Sequence['outputs.GetQueryQueryDefinitionReportQueryResult'], + version: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cost_analysis_uis", cost_analysis_uis) + _setter("display_name", display_name) + _setter("report_queries", report_queries) + _setter("version", version) @property @pulumi.getter(name="costAnalysisUis") @@ -2283,8 +2813,19 @@ def __init__(__self__, *, :param str graph: The graph type. :param bool is_cumulative_graph: A cumulative graph. """ - pulumi.set(__self__, "graph", graph) - pulumi.set(__self__, "is_cumulative_graph", is_cumulative_graph) + GetQueryQueryDefinitionCostAnalysisUiResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + graph=graph, + is_cumulative_graph=is_cumulative_graph, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + graph: str, + is_cumulative_graph: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("graph", graph) + _setter("is_cumulative_graph", is_cumulative_graph) @property @pulumi.getter @@ -2332,18 +2873,49 @@ def __init__(__self__, *, :param str time_usage_ended: The usage end time. :param str time_usage_started: The usage start time. """ - pulumi.set(__self__, "compartment_depth", compartment_depth) - pulumi.set(__self__, "date_range_name", date_range_name) - pulumi.set(__self__, "filter", filter) - pulumi.set(__self__, "forecasts", forecasts) - pulumi.set(__self__, "granularity", granularity) - pulumi.set(__self__, "group_bies", group_bies) - pulumi.set(__self__, "group_by_tags", group_by_tags) - pulumi.set(__self__, "is_aggregate_by_time", is_aggregate_by_time) - pulumi.set(__self__, "query_type", query_type) - pulumi.set(__self__, "tenant_id", tenant_id) - pulumi.set(__self__, "time_usage_ended", time_usage_ended) - pulumi.set(__self__, "time_usage_started", time_usage_started) + GetQueryQueryDefinitionReportQueryResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_depth=compartment_depth, + date_range_name=date_range_name, + filter=filter, + forecasts=forecasts, + granularity=granularity, + group_bies=group_bies, + group_by_tags=group_by_tags, + is_aggregate_by_time=is_aggregate_by_time, + query_type=query_type, + tenant_id=tenant_id, + time_usage_ended=time_usage_ended, + time_usage_started=time_usage_started, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_depth: float, + date_range_name: str, + filter: str, + forecasts: Sequence['outputs.GetQueryQueryDefinitionReportQueryForecastResult'], + granularity: str, + group_bies: Sequence[str], + group_by_tags: Sequence['outputs.GetQueryQueryDefinitionReportQueryGroupByTagResult'], + is_aggregate_by_time: bool, + query_type: str, + tenant_id: str, + time_usage_ended: str, + time_usage_started: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_depth", compartment_depth) + _setter("date_range_name", date_range_name) + _setter("filter", filter) + _setter("forecasts", forecasts) + _setter("granularity", granularity) + _setter("group_bies", group_bies) + _setter("group_by_tags", group_by_tags) + _setter("is_aggregate_by_time", is_aggregate_by_time) + _setter("query_type", query_type) + _setter("tenant_id", tenant_id) + _setter("time_usage_ended", time_usage_ended) + _setter("time_usage_started", time_usage_started) @property @pulumi.getter(name="compartmentDepth") @@ -2453,9 +3025,22 @@ def __init__(__self__, *, :param str time_forecast_ended: The forecast end time. :param str time_forecast_started: The forecast start time. Defaults to UTC-1 if not specified. """ - pulumi.set(__self__, "forecast_type", forecast_type) - pulumi.set(__self__, "time_forecast_ended", time_forecast_ended) - pulumi.set(__self__, "time_forecast_started", time_forecast_started) + GetQueryQueryDefinitionReportQueryForecastResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + forecast_type=forecast_type, + time_forecast_ended=time_forecast_ended, + time_forecast_started=time_forecast_started, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + forecast_type: str, + time_forecast_ended: str, + time_forecast_started: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("forecast_type", forecast_type) + _setter("time_forecast_ended", time_forecast_ended) + _setter("time_forecast_started", time_forecast_started) @property @pulumi.getter(name="forecastType") @@ -2493,9 +3078,22 @@ def __init__(__self__, *, :param str namespace: The tag namespace. :param str value: The tag value. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "value", value) + GetQueryQueryDefinitionReportQueryGroupByTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + namespace=namespace, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + namespace: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("namespace", namespace) + _setter("value", value) @property @pulumi.getter @@ -2543,14 +3141,37 @@ def __init__(__self__, *, :param bool is_aggregate_by_time: Specifies whether aggregated by time. If isAggregateByTime is true, all usage or cost over the query time period will be added up. :param str query_type: The query usage type. COST by default if it is missing. Usage - Query the usage data. Cost - Query the cost/billing data. Allowed values are: USAGE COST USAGE_AND_COST """ - pulumi.set(__self__, "compartment_depth", compartment_depth) - pulumi.set(__self__, "date_ranges", date_ranges) - pulumi.set(__self__, "filter", filter) - pulumi.set(__self__, "granularity", granularity) - pulumi.set(__self__, "group_bies", group_bies) - pulumi.set(__self__, "group_by_tags", group_by_tags) - pulumi.set(__self__, "is_aggregate_by_time", is_aggregate_by_time) - pulumi.set(__self__, "query_type", query_type) + GetScheduleQueryPropertyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_depth=compartment_depth, + date_ranges=date_ranges, + filter=filter, + granularity=granularity, + group_bies=group_bies, + group_by_tags=group_by_tags, + is_aggregate_by_time=is_aggregate_by_time, + query_type=query_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_depth: float, + date_ranges: Sequence['outputs.GetScheduleQueryPropertyDateRangeResult'], + filter: str, + granularity: str, + group_bies: Sequence[str], + group_by_tags: Sequence['outputs.GetScheduleQueryPropertyGroupByTagResult'], + is_aggregate_by_time: bool, + query_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_depth", compartment_depth) + _setter("date_ranges", date_ranges) + _setter("filter", filter) + _setter("granularity", granularity) + _setter("group_bies", group_bies) + _setter("group_by_tags", group_by_tags) + _setter("is_aggregate_by_time", is_aggregate_by_time) + _setter("query_type", query_type) @property @pulumi.getter(name="compartmentDepth") @@ -2629,10 +3250,25 @@ def __init__(__self__, *, :param str time_usage_ended: The usage end time. :param str time_usage_started: The usage start time. """ - pulumi.set(__self__, "date_range_type", date_range_type) - pulumi.set(__self__, "dynamic_date_range_type", dynamic_date_range_type) - pulumi.set(__self__, "time_usage_ended", time_usage_ended) - pulumi.set(__self__, "time_usage_started", time_usage_started) + GetScheduleQueryPropertyDateRangeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + date_range_type=date_range_type, + dynamic_date_range_type=dynamic_date_range_type, + time_usage_ended=time_usage_ended, + time_usage_started=time_usage_started, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + date_range_type: str, + dynamic_date_range_type: str, + time_usage_ended: str, + time_usage_started: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("date_range_type", date_range_type) + _setter("dynamic_date_range_type", dynamic_date_range_type) + _setter("time_usage_ended", time_usage_ended) + _setter("time_usage_started", time_usage_started) @property @pulumi.getter(name="dateRangeType") @@ -2675,9 +3311,22 @@ def __init__(__self__, *, :param str namespace: The namespace needed to determine the object storage bucket. :param str value: The tag value. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "value", value) + GetScheduleQueryPropertyGroupByTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + namespace=namespace, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + namespace: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("namespace", namespace) + _setter("value", value) @property @pulumi.getter @@ -2717,10 +3366,25 @@ def __init__(__self__, *, :param str namespace: The namespace needed to determine the object storage bucket. :param str region: The destination Object Store Region specified by the customer. """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "location_type", location_type) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "region", region) + GetScheduleResultLocationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + location_type=location_type, + namespace=namespace, + region=region, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + location_type: str, + namespace: str, + region: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("location_type", location_type) + _setter("namespace", namespace) + _setter("region", region) @property @pulumi.getter @@ -2761,10 +3425,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetScheduledRunsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2786,7 +3463,16 @@ def regex(self) -> Optional[bool]: class GetScheduledRunsScheduledRunCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetScheduledRunsScheduledRunCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetScheduledRunsScheduledRunCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetScheduledRunsScheduledRunCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -2811,12 +3497,31 @@ def __init__(__self__, *, :param str time_created: The time when schedule started executing :param str time_finished: The time when schedule finished executing """ - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "schedule_id", schedule_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_finished", time_finished) + GetScheduledRunsScheduledRunCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + lifecycle_details=lifecycle_details, + schedule_id=schedule_id, + state=state, + time_created=time_created, + time_finished=time_finished, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: str, + lifecycle_details: str, + schedule_id: str, + state: str, + time_created: str, + time_finished: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("schedule_id", schedule_id) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_finished", time_finished) @property @pulumi.getter @@ -2876,10 +3581,23 @@ def __init__(__self__, *, """ :param str name: Query parameter for filtering by name """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSchedulesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2904,7 +3622,16 @@ def regex(self) -> Optional[bool]: class GetSchedulesScheduleCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetSchedulesScheduleCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetSchedulesScheduleCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetSchedulesScheduleCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -2949,22 +3676,61 @@ def __init__(__self__, *, :param str time_next_run: The date and time of the next job execution. :param str time_scheduled: The date and time of the first time job execution. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "output_file_format", output_file_format) - pulumi.set(__self__, "query_properties", query_properties) - pulumi.set(__self__, "result_locations", result_locations) - pulumi.set(__self__, "saved_report_id", saved_report_id) - pulumi.set(__self__, "schedule_recurrences", schedule_recurrences) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_next_run", time_next_run) - pulumi.set(__self__, "time_scheduled", time_scheduled) + GetSchedulesScheduleCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + id=id, + name=name, + output_file_format=output_file_format, + query_properties=query_properties, + result_locations=result_locations, + saved_report_id=saved_report_id, + schedule_recurrences=schedule_recurrences, + state=state, + system_tags=system_tags, + time_created=time_created, + time_next_run=time_next_run, + time_scheduled=time_scheduled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + freeform_tags: Mapping[str, Any], + id: str, + name: str, + output_file_format: str, + query_properties: Sequence['outputs.GetSchedulesScheduleCollectionItemQueryPropertyResult'], + result_locations: Sequence['outputs.GetSchedulesScheduleCollectionItemResultLocationResult'], + saved_report_id: str, + schedule_recurrences: str, + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_next_run: str, + time_scheduled: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("name", name) + _setter("output_file_format", output_file_format) + _setter("query_properties", query_properties) + _setter("result_locations", result_locations) + _setter("saved_report_id", saved_report_id) + _setter("schedule_recurrences", schedule_recurrences) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_next_run", time_next_run) + _setter("time_scheduled", time_scheduled) @property @pulumi.getter(name="compartmentId") @@ -3116,14 +3882,37 @@ def __init__(__self__, *, :param bool is_aggregate_by_time: Specifies whether aggregated by time. If isAggregateByTime is true, all usage or cost over the query time period will be added up. :param str query_type: The query usage type. COST by default if it is missing. Usage - Query the usage data. Cost - Query the cost/billing data. Allowed values are: USAGE COST USAGE_AND_COST """ - pulumi.set(__self__, "compartment_depth", compartment_depth) - pulumi.set(__self__, "date_ranges", date_ranges) - pulumi.set(__self__, "filter", filter) - pulumi.set(__self__, "granularity", granularity) - pulumi.set(__self__, "group_bies", group_bies) - pulumi.set(__self__, "group_by_tags", group_by_tags) - pulumi.set(__self__, "is_aggregate_by_time", is_aggregate_by_time) - pulumi.set(__self__, "query_type", query_type) + GetSchedulesScheduleCollectionItemQueryPropertyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_depth=compartment_depth, + date_ranges=date_ranges, + filter=filter, + granularity=granularity, + group_bies=group_bies, + group_by_tags=group_by_tags, + is_aggregate_by_time=is_aggregate_by_time, + query_type=query_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_depth: float, + date_ranges: Sequence['outputs.GetSchedulesScheduleCollectionItemQueryPropertyDateRangeResult'], + filter: str, + granularity: str, + group_bies: Sequence[str], + group_by_tags: Sequence['outputs.GetSchedulesScheduleCollectionItemQueryPropertyGroupByTagResult'], + is_aggregate_by_time: bool, + query_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_depth", compartment_depth) + _setter("date_ranges", date_ranges) + _setter("filter", filter) + _setter("granularity", granularity) + _setter("group_bies", group_bies) + _setter("group_by_tags", group_by_tags) + _setter("is_aggregate_by_time", is_aggregate_by_time) + _setter("query_type", query_type) @property @pulumi.getter(name="compartmentDepth") @@ -3202,10 +3991,25 @@ def __init__(__self__, *, :param str time_usage_ended: The usage end time. :param str time_usage_started: The usage start time. """ - pulumi.set(__self__, "date_range_type", date_range_type) - pulumi.set(__self__, "dynamic_date_range_type", dynamic_date_range_type) - pulumi.set(__self__, "time_usage_ended", time_usage_ended) - pulumi.set(__self__, "time_usage_started", time_usage_started) + GetSchedulesScheduleCollectionItemQueryPropertyDateRangeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + date_range_type=date_range_type, + dynamic_date_range_type=dynamic_date_range_type, + time_usage_ended=time_usage_ended, + time_usage_started=time_usage_started, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + date_range_type: str, + dynamic_date_range_type: str, + time_usage_ended: str, + time_usage_started: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("date_range_type", date_range_type) + _setter("dynamic_date_range_type", dynamic_date_range_type) + _setter("time_usage_ended", time_usage_ended) + _setter("time_usage_started", time_usage_started) @property @pulumi.getter(name="dateRangeType") @@ -3248,9 +4052,22 @@ def __init__(__self__, *, :param str namespace: The namespace needed to determine the object storage bucket. :param str value: The tag value. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "value", value) + GetSchedulesScheduleCollectionItemQueryPropertyGroupByTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + namespace=namespace, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + namespace: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("namespace", namespace) + _setter("value", value) @property @pulumi.getter @@ -3290,10 +4107,25 @@ def __init__(__self__, *, :param str namespace: The namespace needed to determine the object storage bucket. :param str region: The destination Object Store Region specified by the customer. """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "location_type", location_type) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "region", region) + GetSchedulesScheduleCollectionItemResultLocationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + location_type=location_type, + namespace=namespace, + region=region, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + location_type: str, + namespace: str, + region: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("location_type", location_type) + _setter("namespace", namespace) + _setter("region", region) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/meteringcomputation/query.py b/sdk/python/pulumi_oci/meteringcomputation/query.py index f64e4874ed..74ec5b6de5 100644 --- a/sdk/python/pulumi_oci/meteringcomputation/query.py +++ b/sdk/python/pulumi_oci/meteringcomputation/query.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -23,8 +23,19 @@ def __init__(__self__, *, :param pulumi.Input[str] compartment_id: The compartment OCID. :param pulumi.Input['QueryQueryDefinitionArgs'] query_definition: (Updatable) The common fields for queries. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "query_definition", query_definition) + QueryArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + query_definition=query_definition, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + query_definition: pulumi.Input['QueryQueryDefinitionArgs'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("query_definition", query_definition) @property @pulumi.getter(name="compartmentId") @@ -61,10 +72,21 @@ def __init__(__self__, *, :param pulumi.Input[str] compartment_id: The compartment OCID. :param pulumi.Input['QueryQueryDefinitionArgs'] query_definition: (Updatable) The common fields for queries. """ + _QueryState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + query_definition=query_definition, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + query_definition: Optional[pulumi.Input['QueryQueryDefinitionArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if query_definition is not None: - pulumi.set(__self__, "query_definition", query_definition) + _setter("query_definition", query_definition) @property @pulumi.getter(name="compartmentId") @@ -226,6 +248,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + QueryArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -245,6 +271,11 @@ def _internal_init(__self__, if compartment_id is None and not opts.urn: raise TypeError("Missing required property 'compartment_id'") __props__.__dict__["compartment_id"] = compartment_id + if query_definition is not None and not isinstance(query_definition, QueryQueryDefinitionArgs): + query_definition = query_definition or {} + def _setter(key, value): + query_definition[key] = value + QueryQueryDefinitionArgs._configure(_setter, **query_definition) if query_definition is None and not opts.urn: raise TypeError("Missing required property 'query_definition'") __props__.__dict__["query_definition"] = query_definition diff --git a/sdk/python/pulumi_oci/meteringcomputation/schedule.py b/sdk/python/pulumi_oci/meteringcomputation/schedule.py index 7892425eab..bd0137c123 100644 --- a/sdk/python/pulumi_oci/meteringcomputation/schedule.py +++ b/sdk/python/pulumi_oci/meteringcomputation/schedule.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -45,24 +45,53 @@ def __init__(__self__, *, :param pulumi.Input['ScheduleQueryPropertiesArgs'] query_properties: The query properties. :param pulumi.Input[str] saved_report_id: The saved report id which can also be used to generate query. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "result_location", result_location) - pulumi.set(__self__, "schedule_recurrences", schedule_recurrences) - pulumi.set(__self__, "time_scheduled", time_scheduled) + ScheduleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + result_location=result_location, + schedule_recurrences=schedule_recurrences, + time_scheduled=time_scheduled, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + name=name, + output_file_format=output_file_format, + query_properties=query_properties, + saved_report_id=saved_report_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + result_location: pulumi.Input['ScheduleResultLocationArgs'], + schedule_recurrences: pulumi.Input[str], + time_scheduled: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + name: Optional[pulumi.Input[str]] = None, + output_file_format: Optional[pulumi.Input[str]] = None, + query_properties: Optional[pulumi.Input['ScheduleQueryPropertiesArgs']] = None, + saved_report_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("result_location", result_location) + _setter("schedule_recurrences", schedule_recurrences) + _setter("time_scheduled", time_scheduled) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if output_file_format is not None: - pulumi.set(__self__, "output_file_format", output_file_format) + _setter("output_file_format", output_file_format) if query_properties is not None: - pulumi.set(__self__, "query_properties", query_properties) + _setter("query_properties", query_properties) if saved_report_id is not None: - pulumi.set(__self__, "saved_report_id", saved_report_id) + _setter("saved_report_id", saved_report_id) @property @pulumi.getter(name="compartmentId") @@ -241,36 +270,73 @@ def __init__(__self__, *, ** 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 """ + _ScheduleState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + name=name, + output_file_format=output_file_format, + query_properties=query_properties, + result_location=result_location, + saved_report_id=saved_report_id, + schedule_recurrences=schedule_recurrences, + state=state, + system_tags=system_tags, + time_created=time_created, + time_next_run=time_next_run, + time_scheduled=time_scheduled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + name: Optional[pulumi.Input[str]] = None, + output_file_format: Optional[pulumi.Input[str]] = None, + query_properties: Optional[pulumi.Input['ScheduleQueryPropertiesArgs']] = None, + result_location: Optional[pulumi.Input['ScheduleResultLocationArgs']] = None, + saved_report_id: Optional[pulumi.Input[str]] = None, + schedule_recurrences: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_next_run: Optional[pulumi.Input[str]] = None, + time_scheduled: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if output_file_format is not None: - pulumi.set(__self__, "output_file_format", output_file_format) + _setter("output_file_format", output_file_format) if query_properties is not None: - pulumi.set(__self__, "query_properties", query_properties) + _setter("query_properties", query_properties) if result_location is not None: - pulumi.set(__self__, "result_location", result_location) + _setter("result_location", result_location) if saved_report_id is not None: - pulumi.set(__self__, "saved_report_id", saved_report_id) + _setter("saved_report_id", saved_report_id) if schedule_recurrences is not None: - pulumi.set(__self__, "schedule_recurrences", schedule_recurrences) + _setter("schedule_recurrences", schedule_recurrences) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_next_run is not None: - pulumi.set(__self__, "time_next_run", time_next_run) + _setter("time_next_run", time_next_run) if time_scheduled is not None: - pulumi.set(__self__, "time_scheduled", time_scheduled) + _setter("time_scheduled", time_scheduled) @property @pulumi.getter(name="compartmentId") @@ -626,6 +692,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ScheduleArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -659,7 +729,17 @@ def _internal_init(__self__, __props__.__dict__["freeform_tags"] = freeform_tags __props__.__dict__["name"] = name __props__.__dict__["output_file_format"] = output_file_format + if query_properties is not None and not isinstance(query_properties, ScheduleQueryPropertiesArgs): + query_properties = query_properties or {} + def _setter(key, value): + query_properties[key] = value + ScheduleQueryPropertiesArgs._configure(_setter, **query_properties) __props__.__dict__["query_properties"] = query_properties + if result_location is not None and not isinstance(result_location, ScheduleResultLocationArgs): + result_location = result_location or {} + def _setter(key, value): + result_location[key] = value + ScheduleResultLocationArgs._configure(_setter, **result_location) if result_location is None and not opts.urn: raise TypeError("Missing required property 'result_location'") __props__.__dict__["result_location"] = result_location diff --git a/sdk/python/pulumi_oci/meteringcomputation/usage.py b/sdk/python/pulumi_oci/meteringcomputation/usage.py index ff3a6498b8..1cc8130be2 100644 --- a/sdk/python/pulumi_oci/meteringcomputation/usage.py +++ b/sdk/python/pulumi_oci/meteringcomputation/usage.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -45,24 +45,53 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_aggregate_by_time: Whether aggregated by time. If isAggregateByTime is true, all usage/cost over the query time period will be added up. :param pulumi.Input[str] query_type: The query usage type. COST by default if it is missing. Usage - Query the usage data. Cost - Query the cost/billing data. Credit - Query the credit adjustments data. ExpiredCredit - Query the expired credits data. AllCredit - Query the credit adjustments and expired credit. """ - pulumi.set(__self__, "granularity", granularity) - pulumi.set(__self__, "tenant_id", tenant_id) - pulumi.set(__self__, "time_usage_ended", time_usage_ended) - pulumi.set(__self__, "time_usage_started", time_usage_started) + UsageArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + granularity=granularity, + tenant_id=tenant_id, + time_usage_ended=time_usage_ended, + time_usage_started=time_usage_started, + compartment_depth=compartment_depth, + filter=filter, + forecast=forecast, + group_bies=group_bies, + group_by_tags=group_by_tags, + is_aggregate_by_time=is_aggregate_by_time, + query_type=query_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + granularity: pulumi.Input[str], + tenant_id: pulumi.Input[str], + time_usage_ended: pulumi.Input[str], + time_usage_started: pulumi.Input[str], + compartment_depth: Optional[pulumi.Input[float]] = None, + filter: Optional[pulumi.Input[str]] = None, + forecast: Optional[pulumi.Input['UsageForecastArgs']] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + group_by_tags: Optional[pulumi.Input[Sequence[pulumi.Input['UsageGroupByTagArgs']]]] = None, + is_aggregate_by_time: Optional[pulumi.Input[bool]] = None, + query_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("granularity", granularity) + _setter("tenant_id", tenant_id) + _setter("time_usage_ended", time_usage_ended) + _setter("time_usage_started", time_usage_started) if compartment_depth is not None: - pulumi.set(__self__, "compartment_depth", compartment_depth) + _setter("compartment_depth", compartment_depth) if filter is not None: - pulumi.set(__self__, "filter", filter) + _setter("filter", filter) if forecast is not None: - pulumi.set(__self__, "forecast", forecast) + _setter("forecast", forecast) if group_bies is not None: - pulumi.set(__self__, "group_bies", group_bies) + _setter("group_bies", group_bies) if group_by_tags is not None: - pulumi.set(__self__, "group_by_tags", group_by_tags) + _setter("group_by_tags", group_by_tags) if is_aggregate_by_time is not None: - pulumi.set(__self__, "is_aggregate_by_time", is_aggregate_by_time) + _setter("is_aggregate_by_time", is_aggregate_by_time) if query_type is not None: - pulumi.set(__self__, "query_type", query_type) + _setter("query_type", query_type) @property @pulumi.getter @@ -235,30 +264,61 @@ def __init__(__self__, *, ** 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 """ + _UsageState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_depth=compartment_depth, + filter=filter, + forecast=forecast, + granularity=granularity, + group_bies=group_bies, + group_by_tags=group_by_tags, + is_aggregate_by_time=is_aggregate_by_time, + items=items, + query_type=query_type, + tenant_id=tenant_id, + time_usage_ended=time_usage_ended, + time_usage_started=time_usage_started, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_depth: Optional[pulumi.Input[float]] = None, + filter: Optional[pulumi.Input[str]] = None, + forecast: Optional[pulumi.Input['UsageForecastArgs']] = None, + granularity: Optional[pulumi.Input[str]] = None, + group_bies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + group_by_tags: Optional[pulumi.Input[Sequence[pulumi.Input['UsageGroupByTagArgs']]]] = None, + is_aggregate_by_time: Optional[pulumi.Input[bool]] = None, + items: Optional[pulumi.Input[Sequence[pulumi.Input['UsageItemArgs']]]] = None, + query_type: Optional[pulumi.Input[str]] = None, + tenant_id: Optional[pulumi.Input[str]] = None, + time_usage_ended: Optional[pulumi.Input[str]] = None, + time_usage_started: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_depth is not None: - pulumi.set(__self__, "compartment_depth", compartment_depth) + _setter("compartment_depth", compartment_depth) if filter is not None: - pulumi.set(__self__, "filter", filter) + _setter("filter", filter) if forecast is not None: - pulumi.set(__self__, "forecast", forecast) + _setter("forecast", forecast) if granularity is not None: - pulumi.set(__self__, "granularity", granularity) + _setter("granularity", granularity) if group_bies is not None: - pulumi.set(__self__, "group_bies", group_bies) + _setter("group_bies", group_bies) if group_by_tags is not None: - pulumi.set(__self__, "group_by_tags", group_by_tags) + _setter("group_by_tags", group_by_tags) if is_aggregate_by_time is not None: - pulumi.set(__self__, "is_aggregate_by_time", is_aggregate_by_time) + _setter("is_aggregate_by_time", is_aggregate_by_time) if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) if query_type is not None: - pulumi.set(__self__, "query_type", query_type) + _setter("query_type", query_type) if tenant_id is not None: - pulumi.set(__self__, "tenant_id", tenant_id) + _setter("tenant_id", tenant_id) if time_usage_ended is not None: - pulumi.set(__self__, "time_usage_ended", time_usage_ended) + _setter("time_usage_ended", time_usage_ended) if time_usage_started is not None: - pulumi.set(__self__, "time_usage_started", time_usage_started) + _setter("time_usage_started", time_usage_started) @property @pulumi.getter(name="compartmentDepth") @@ -534,6 +594,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + UsageArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -561,6 +625,11 @@ def _internal_init(__self__, __props__.__dict__["compartment_depth"] = compartment_depth __props__.__dict__["filter"] = filter + if forecast is not None and not isinstance(forecast, UsageForecastArgs): + forecast = forecast or {} + def _setter(key, value): + forecast[key] = value + UsageForecastArgs._configure(_setter, **forecast) __props__.__dict__["forecast"] = forecast if granularity is None and not opts.urn: raise TypeError("Missing required property 'granularity'") diff --git a/sdk/python/pulumi_oci/monitoring/_inputs.py b/sdk/python/pulumi_oci/monitoring/_inputs.py index 558b199027..ea37929320 100644 --- a/sdk/python/pulumi_oci/monitoring/_inputs.py +++ b/sdk/python/pulumi_oci/monitoring/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -36,10 +36,23 @@ def __init__(__self__, *, Example: `Planned outage due to change IT-1234.` """ - pulumi.set(__self__, "time_suppress_from", time_suppress_from) - pulumi.set(__self__, "time_suppress_until", time_suppress_until) + AlarmSuppressionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + time_suppress_from=time_suppress_from, + time_suppress_until=time_suppress_until, + description=description, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + time_suppress_from: pulumi.Input[str], + time_suppress_until: pulumi.Input[str], + description: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("time_suppress_from", time_suppress_from) + _setter("time_suppress_until", time_suppress_until) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) @property @pulumi.getter(name="timeSuppressFrom") @@ -92,10 +105,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAlarmStatusesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -131,10 +157,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAlarmsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -173,10 +212,23 @@ def __init__(__self__, *, """ :param str name: The name of the metric. Example: `CpuUtilization` """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetMetricDataFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -218,10 +270,23 @@ def __init__(__self__, *, """ :param str name: The metric name to use when searching for metric definitions. Example: `CpuUtilization` """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetMetricsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/monitoring/alarm.py b/sdk/python/pulumi_oci/monitoring/alarm.py index c383444ce1..e0a9dd561f 100644 --- a/sdk/python/pulumi_oci/monitoring/alarm.py +++ b/sdk/python/pulumi_oci/monitoring/alarm.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -89,36 +89,81 @@ def __init__(__self__, *, :param pulumi.Input[str] resource_group: (Updatable) Resource group that you want to match. A null value returns only metric data that has no resource groups. The alarm retrieves metric data associated with the specified resource group only. Only one resource group can be applied per metric. A valid resourceGroup value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($). Avoid entering confidential information. Example: `frontend-fleet` :param pulumi.Input['AlarmSuppressionArgs'] suppression: (Updatable) The configuration details for suppressing an alarm. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "destinations", destinations) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "metric_compartment_id", metric_compartment_id) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "query", query) - pulumi.set(__self__, "severity", severity) + AlarmArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + destinations=destinations, + display_name=display_name, + is_enabled=is_enabled, + metric_compartment_id=metric_compartment_id, + namespace=namespace, + query=query, + severity=severity, + body=body, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + is_notifications_per_metric_dimension_enabled=is_notifications_per_metric_dimension_enabled, + message_format=message_format, + metric_compartment_id_in_subtree=metric_compartment_id_in_subtree, + pending_duration=pending_duration, + repeat_notification_duration=repeat_notification_duration, + resolution=resolution, + resource_group=resource_group, + suppression=suppression, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + destinations: pulumi.Input[Sequence[pulumi.Input[str]]], + display_name: pulumi.Input[str], + is_enabled: pulumi.Input[bool], + metric_compartment_id: pulumi.Input[str], + namespace: pulumi.Input[str], + query: pulumi.Input[str], + severity: pulumi.Input[str], + body: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_notifications_per_metric_dimension_enabled: Optional[pulumi.Input[bool]] = None, + message_format: Optional[pulumi.Input[str]] = None, + metric_compartment_id_in_subtree: Optional[pulumi.Input[bool]] = None, + pending_duration: Optional[pulumi.Input[str]] = None, + repeat_notification_duration: Optional[pulumi.Input[str]] = None, + resolution: Optional[pulumi.Input[str]] = None, + resource_group: Optional[pulumi.Input[str]] = None, + suppression: Optional[pulumi.Input['AlarmSuppressionArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("destinations", destinations) + _setter("display_name", display_name) + _setter("is_enabled", is_enabled) + _setter("metric_compartment_id", metric_compartment_id) + _setter("namespace", namespace) + _setter("query", query) + _setter("severity", severity) if body is not None: - pulumi.set(__self__, "body", body) + _setter("body", body) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_notifications_per_metric_dimension_enabled is not None: - pulumi.set(__self__, "is_notifications_per_metric_dimension_enabled", is_notifications_per_metric_dimension_enabled) + _setter("is_notifications_per_metric_dimension_enabled", is_notifications_per_metric_dimension_enabled) if message_format is not None: - pulumi.set(__self__, "message_format", message_format) + _setter("message_format", message_format) if metric_compartment_id_in_subtree is not None: - pulumi.set(__self__, "metric_compartment_id_in_subtree", metric_compartment_id_in_subtree) + _setter("metric_compartment_id_in_subtree", metric_compartment_id_in_subtree) if pending_duration is not None: - pulumi.set(__self__, "pending_duration", pending_duration) + _setter("pending_duration", pending_duration) if repeat_notification_duration is not None: - pulumi.set(__self__, "repeat_notification_duration", repeat_notification_duration) + _setter("repeat_notification_duration", repeat_notification_duration) if resolution is not None: - pulumi.set(__self__, "resolution", resolution) + _setter("resolution", resolution) if resource_group is not None: - pulumi.set(__self__, "resource_group", resource_group) + _setter("resource_group", resource_group) if suppression is not None: - pulumi.set(__self__, "suppression", suppression) + _setter("suppression", suppression) @property @pulumi.getter(name="compartmentId") @@ -463,50 +508,101 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the alarm was created. Format defined by RFC3339. Example: `2019-02-01T01:02:29.600Z` :param pulumi.Input[str] time_updated: The date and time the alarm was last updated. Format defined by RFC3339. Example: `2019-02-03T01:02:29.600Z` """ + _AlarmState._configure( + lambda key, value: pulumi.set(__self__, key, value), + body=body, + compartment_id=compartment_id, + defined_tags=defined_tags, + destinations=destinations, + display_name=display_name, + freeform_tags=freeform_tags, + is_enabled=is_enabled, + is_notifications_per_metric_dimension_enabled=is_notifications_per_metric_dimension_enabled, + message_format=message_format, + metric_compartment_id=metric_compartment_id, + metric_compartment_id_in_subtree=metric_compartment_id_in_subtree, + namespace=namespace, + pending_duration=pending_duration, + query=query, + repeat_notification_duration=repeat_notification_duration, + resolution=resolution, + resource_group=resource_group, + severity=severity, + state=state, + suppression=suppression, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + body: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + destinations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_enabled: Optional[pulumi.Input[bool]] = None, + is_notifications_per_metric_dimension_enabled: Optional[pulumi.Input[bool]] = None, + message_format: Optional[pulumi.Input[str]] = None, + metric_compartment_id: Optional[pulumi.Input[str]] = None, + metric_compartment_id_in_subtree: Optional[pulumi.Input[bool]] = None, + namespace: Optional[pulumi.Input[str]] = None, + pending_duration: Optional[pulumi.Input[str]] = None, + query: Optional[pulumi.Input[str]] = None, + repeat_notification_duration: Optional[pulumi.Input[str]] = None, + resolution: Optional[pulumi.Input[str]] = None, + resource_group: Optional[pulumi.Input[str]] = None, + severity: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + suppression: Optional[pulumi.Input['AlarmSuppressionArgs']] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if body is not None: - pulumi.set(__self__, "body", body) + _setter("body", body) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if destinations is not None: - pulumi.set(__self__, "destinations", destinations) + _setter("destinations", destinations) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) if is_notifications_per_metric_dimension_enabled is not None: - pulumi.set(__self__, "is_notifications_per_metric_dimension_enabled", is_notifications_per_metric_dimension_enabled) + _setter("is_notifications_per_metric_dimension_enabled", is_notifications_per_metric_dimension_enabled) if message_format is not None: - pulumi.set(__self__, "message_format", message_format) + _setter("message_format", message_format) if metric_compartment_id is not None: - pulumi.set(__self__, "metric_compartment_id", metric_compartment_id) + _setter("metric_compartment_id", metric_compartment_id) if metric_compartment_id_in_subtree is not None: - pulumi.set(__self__, "metric_compartment_id_in_subtree", metric_compartment_id_in_subtree) + _setter("metric_compartment_id_in_subtree", metric_compartment_id_in_subtree) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if pending_duration is not None: - pulumi.set(__self__, "pending_duration", pending_duration) + _setter("pending_duration", pending_duration) if query is not None: - pulumi.set(__self__, "query", query) + _setter("query", query) if repeat_notification_duration is not None: - pulumi.set(__self__, "repeat_notification_duration", repeat_notification_duration) + _setter("repeat_notification_duration", repeat_notification_duration) if resolution is not None: - pulumi.set(__self__, "resolution", resolution) + _setter("resolution", resolution) if resource_group is not None: - pulumi.set(__self__, "resource_group", resource_group) + _setter("resource_group", resource_group) if severity is not None: - pulumi.set(__self__, "severity", severity) + _setter("severity", severity) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if suppression is not None: - pulumi.set(__self__, "suppression", suppression) + _setter("suppression", suppression) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter @@ -1008,6 +1104,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + AlarmArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -1075,6 +1175,11 @@ def _internal_init(__self__, if severity is None and not opts.urn: raise TypeError("Missing required property 'severity'") __props__.__dict__["severity"] = severity + if suppression is not None and not isinstance(suppression, AlarmSuppressionArgs): + suppression = suppression or {} + def _setter(key, value): + suppression[key] = value + AlarmSuppressionArgs._configure(_setter, **suppression) __props__.__dict__["suppression"] = suppression __props__.__dict__["state"] = None __props__.__dict__["time_created"] = None diff --git a/sdk/python/pulumi_oci/monitoring/get_alarm.py b/sdk/python/pulumi_oci/monitoring/get_alarm.py index 0166c070b9..33595bd60e 100644 --- a/sdk/python/pulumi_oci/monitoring/get_alarm.py +++ b/sdk/python/pulumi_oci/monitoring/get_alarm.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/monitoring/get_alarm_history_collection.py b/sdk/python/pulumi_oci/monitoring/get_alarm_history_collection.py index 8e30dc7218..393cbc1a24 100644 --- a/sdk/python/pulumi_oci/monitoring/get_alarm_history_collection.py +++ b/sdk/python/pulumi_oci/monitoring/get_alarm_history_collection.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/monitoring/get_alarm_statuses.py b/sdk/python/pulumi_oci/monitoring/get_alarm_statuses.py index 45357f5e8a..c0ca403e5a 100644 --- a/sdk/python/pulumi_oci/monitoring/get_alarm_statuses.py +++ b/sdk/python/pulumi_oci/monitoring/get_alarm_statuses.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/monitoring/get_alarms.py b/sdk/python/pulumi_oci/monitoring/get_alarms.py index fdc50707b7..483c655ae8 100644 --- a/sdk/python/pulumi_oci/monitoring/get_alarms.py +++ b/sdk/python/pulumi_oci/monitoring/get_alarms.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/monitoring/get_metric_data.py b/sdk/python/pulumi_oci/monitoring/get_metric_data.py index c9818adaec..332863aaf6 100644 --- a/sdk/python/pulumi_oci/monitoring/get_metric_data.py +++ b/sdk/python/pulumi_oci/monitoring/get_metric_data.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/monitoring/get_metrics.py b/sdk/python/pulumi_oci/monitoring/get_metrics.py index 1587fee39e..9f9b36a251 100644 --- a/sdk/python/pulumi_oci/monitoring/get_metrics.py +++ b/sdk/python/pulumi_oci/monitoring/get_metrics.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/monitoring/outputs.py b/sdk/python/pulumi_oci/monitoring/outputs.py index 5e535b2ffa..83b1362aa9 100644 --- a/sdk/python/pulumi_oci/monitoring/outputs.py +++ b/sdk/python/pulumi_oci/monitoring/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -65,10 +65,23 @@ def __init__(__self__, *, Example: `Planned outage due to change IT-1234.` """ - pulumi.set(__self__, "time_suppress_from", time_suppress_from) - pulumi.set(__self__, "time_suppress_until", time_suppress_until) + AlarmSuppression._configure( + lambda key, value: pulumi.set(__self__, key, value), + time_suppress_from=time_suppress_from, + time_suppress_until=time_suppress_until, + description=description, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + time_suppress_from: str, + time_suppress_until: str, + description: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("time_suppress_from", time_suppress_from) + _setter("time_suppress_until", time_suppress_until) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) @property @pulumi.getter(name="timeSuppressFrom") @@ -114,9 +127,22 @@ def __init__(__self__, *, :param str timestamp: Timestamp for this alarm history entry. Format defined by RFC3339. Example: `2019-02-01T01:02:29.600Z` :param str timestamp_triggered: Timestamp for the transition of the alarm state. For example, the time when the alarm transitioned from OK to Firing. Available for state transition entries only. Note: A three-minute lag for this value accounts for any late-arriving metrics. Example: `2019-02-01T0:59:00.789Z` """ - pulumi.set(__self__, "summary", summary) - pulumi.set(__self__, "timestamp", timestamp) - pulumi.set(__self__, "timestamp_triggered", timestamp_triggered) + GetAlarmHistoryCollectionEntryResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + summary=summary, + timestamp=timestamp, + timestamp_triggered=timestamp_triggered, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + summary: str, + timestamp: str, + timestamp_triggered: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("summary", summary) + _setter("timestamp", timestamp) + _setter("timestamp_triggered", timestamp_triggered) @property @pulumi.getter @@ -160,12 +186,31 @@ def __init__(__self__, *, :param Sequence['GetAlarmStatusesAlarmStatusSuppressionArgs'] suppressions: The configuration details for suppressing an alarm. :param str timestamp_triggered: Timestamp for the transition of the alarm state. For example, the time when the alarm transitioned from OK to Firing. Note: A three-minute lag for this value accounts for any late-arriving metrics. Example: `2019-02-01T01:02:29.600Z` """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "severity", severity) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "suppressions", suppressions) - pulumi.set(__self__, "timestamp_triggered", timestamp_triggered) + GetAlarmStatusesAlarmStatusResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + id=id, + severity=severity, + status=status, + suppressions=suppressions, + timestamp_triggered=timestamp_triggered, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + id: str, + severity: str, + status: str, + suppressions: Sequence['outputs.GetAlarmStatusesAlarmStatusSuppressionResult'], + timestamp_triggered: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("id", id) + _setter("severity", severity) + _setter("status", status) + _setter("suppressions", suppressions) + _setter("timestamp_triggered", timestamp_triggered) @property @pulumi.getter(name="displayName") @@ -227,9 +272,22 @@ def __init__(__self__, *, :param str time_suppress_from: The start date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2019-02-01T01:02:29.600Z` :param str time_suppress_until: The end date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2019-02-01T02:02:29.600Z` """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "time_suppress_from", time_suppress_from) - pulumi.set(__self__, "time_suppress_until", time_suppress_until) + GetAlarmStatusesAlarmStatusSuppressionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + time_suppress_from=time_suppress_from, + time_suppress_until=time_suppress_until, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + time_suppress_from: str, + time_suppress_until: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("time_suppress_from", time_suppress_from) + _setter("time_suppress_until", time_suppress_until) @property @pulumi.getter @@ -262,10 +320,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAlarmStatusesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -294,9 +365,22 @@ def __init__(__self__, *, :param str time_suppress_from: The start date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2019-02-01T01:02:29.600Z` :param str time_suppress_until: The end date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2019-02-01T02:02:29.600Z` """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "time_suppress_from", time_suppress_from) - pulumi.set(__self__, "time_suppress_until", time_suppress_until) + GetAlarmSuppressionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + time_suppress_from=time_suppress_from, + time_suppress_until=time_suppress_until, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + time_suppress_from: str, + time_suppress_until: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("time_suppress_from", time_suppress_from) + _setter("time_suppress_until", time_suppress_until) @property @pulumi.getter @@ -374,29 +458,82 @@ def __init__(__self__, *, :param str time_created: The date and time the alarm was created. Format defined by RFC3339. Example: `2019-02-01T01:02:29.600Z` :param str time_updated: The date and time the alarm was last updated. Format defined by RFC3339. Example: `2019-02-03T01:02:29.600Z` """ - pulumi.set(__self__, "body", body) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "destinations", destinations) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "is_notifications_per_metric_dimension_enabled", is_notifications_per_metric_dimension_enabled) - pulumi.set(__self__, "message_format", message_format) - pulumi.set(__self__, "metric_compartment_id", metric_compartment_id) - pulumi.set(__self__, "metric_compartment_id_in_subtree", metric_compartment_id_in_subtree) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "pending_duration", pending_duration) - pulumi.set(__self__, "query", query) - pulumi.set(__self__, "repeat_notification_duration", repeat_notification_duration) - pulumi.set(__self__, "resolution", resolution) - pulumi.set(__self__, "resource_group", resource_group) - pulumi.set(__self__, "severity", severity) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "suppressions", suppressions) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetAlarmsAlarmResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + body=body, + compartment_id=compartment_id, + defined_tags=defined_tags, + destinations=destinations, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + is_enabled=is_enabled, + is_notifications_per_metric_dimension_enabled=is_notifications_per_metric_dimension_enabled, + message_format=message_format, + metric_compartment_id=metric_compartment_id, + metric_compartment_id_in_subtree=metric_compartment_id_in_subtree, + namespace=namespace, + pending_duration=pending_duration, + query=query, + repeat_notification_duration=repeat_notification_duration, + resolution=resolution, + resource_group=resource_group, + severity=severity, + state=state, + suppressions=suppressions, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + body: str, + compartment_id: str, + defined_tags: Mapping[str, Any], + destinations: Sequence[str], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + is_enabled: bool, + is_notifications_per_metric_dimension_enabled: bool, + message_format: str, + metric_compartment_id: str, + metric_compartment_id_in_subtree: bool, + namespace: str, + pending_duration: str, + query: str, + repeat_notification_duration: str, + resolution: str, + resource_group: str, + severity: str, + state: str, + suppressions: Sequence['outputs.GetAlarmsAlarmSuppressionResult'], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("body", body) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("destinations", destinations) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_enabled", is_enabled) + _setter("is_notifications_per_metric_dimension_enabled", is_notifications_per_metric_dimension_enabled) + _setter("message_format", message_format) + _setter("metric_compartment_id", metric_compartment_id) + _setter("metric_compartment_id_in_subtree", metric_compartment_id_in_subtree) + _setter("namespace", namespace) + _setter("pending_duration", pending_duration) + _setter("query", query) + _setter("repeat_notification_duration", repeat_notification_duration) + _setter("resolution", resolution) + _setter("resource_group", resource_group) + _setter("severity", severity) + _setter("state", state) + _setter("suppressions", suppressions) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter @@ -594,9 +731,22 @@ def __init__(__self__, *, :param str time_suppress_from: The start date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2019-02-01T01:02:29.600Z` :param str time_suppress_until: The end date and time for the suppression to take place, inclusive. Format defined by RFC3339. Example: `2019-02-01T02:02:29.600Z` """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "time_suppress_from", time_suppress_from) - pulumi.set(__self__, "time_suppress_until", time_suppress_until) + GetAlarmsAlarmSuppressionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + time_suppress_from=time_suppress_from, + time_suppress_until=time_suppress_until, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + time_suppress_from: str, + time_suppress_until: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("time_suppress_from", time_suppress_from) + _setter("time_suppress_until", time_suppress_until) @property @pulumi.getter @@ -629,10 +779,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAlarmsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -659,10 +822,23 @@ def __init__(__self__, *, """ :param str name: The name of the metric. Example: `CpuUtilization` """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetMetricDataFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -718,18 +894,49 @@ def __init__(__self__, *, :param str resource_group: Resource group that you want to match. A null value returns only metric data that has no resource groups. The specified resource group must exist in the definition of the posted metric. Only one resource group can be applied per metric. A valid resourceGroup value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($). Example: `frontend-fleet` :param str start_time: The beginning of the time range to use when searching for metric data points. Format is defined by RFC3339. The response includes metric data points for the startTime. Default value: the timestamp 3 hours before the call was sent. Example: `2019-02-01T01:02:29.600Z` """ - pulumi.set(__self__, "aggregated_datapoints", aggregated_datapoints) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "compartment_id_in_subtree", compartment_id_in_subtree) - pulumi.set(__self__, "dimensions", dimensions) - pulumi.set(__self__, "end_time", end_time) - pulumi.set(__self__, "metadata", metadata) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "query", query) - pulumi.set(__self__, "resolution", resolution) - pulumi.set(__self__, "resource_group", resource_group) - pulumi.set(__self__, "start_time", start_time) + GetMetricDataMetricDataResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + aggregated_datapoints=aggregated_datapoints, + compartment_id=compartment_id, + compartment_id_in_subtree=compartment_id_in_subtree, + dimensions=dimensions, + end_time=end_time, + metadata=metadata, + name=name, + namespace=namespace, + query=query, + resolution=resolution, + resource_group=resource_group, + start_time=start_time, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aggregated_datapoints: Sequence['outputs.GetMetricDataMetricDataAggregatedDatapointResult'], + compartment_id: str, + compartment_id_in_subtree: bool, + dimensions: Mapping[str, Any], + end_time: str, + metadata: Mapping[str, Any], + name: str, + namespace: str, + query: str, + resolution: str, + resource_group: str, + start_time: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("aggregated_datapoints", aggregated_datapoints) + _setter("compartment_id", compartment_id) + _setter("compartment_id_in_subtree", compartment_id_in_subtree) + _setter("dimensions", dimensions) + _setter("end_time", end_time) + _setter("metadata", metadata) + _setter("name", name) + _setter("namespace", namespace) + _setter("query", query) + _setter("resolution", resolution) + _setter("resource_group", resource_group) + _setter("start_time", start_time) @property @pulumi.getter(name="aggregatedDatapoints") @@ -843,8 +1050,19 @@ def __init__(__self__, *, :param str timestamp: The date and time associated with the value of this data point. Format defined by RFC3339. Example: `2019-02-01T01:02:29.600Z` :param float value: Numeric value of the metric. Example: `10.4` """ - pulumi.set(__self__, "timestamp", timestamp) - pulumi.set(__self__, "value", value) + GetMetricDataMetricDataAggregatedDatapointResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + timestamp=timestamp, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + timestamp: str, + value: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("timestamp", timestamp) + _setter("value", value) @property @pulumi.getter @@ -872,10 +1090,23 @@ def __init__(__self__, *, """ :param str name: The metric name to use when searching for metric definitions. Example: `CpuUtilization` """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetMetricsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -919,14 +1150,37 @@ def __init__(__self__, *, :param str namespace: The source service or application to use when searching for metric definitions. Example: `oci_computeagent` :param str resource_group: Resource group that you want to match. A null value returns only metric data that has no resource groups. The specified resource group must exist in the definition of the posted metric. Only one resource group can be applied per metric. A valid resourceGroup value starts with an alphabetical character and includes only alphanumeric characters, periods (.), underscores (_), hyphens (-), and dollar signs ($). Example: `frontend-fleet` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "compartment_id_in_subtree", compartment_id_in_subtree) - pulumi.set(__self__, "dimension_filters", dimension_filters) - pulumi.set(__self__, "dimensions", dimensions) - pulumi.set(__self__, "group_bies", group_bies) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "resource_group", resource_group) + GetMetricsMetricResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + compartment_id_in_subtree=compartment_id_in_subtree, + dimension_filters=dimension_filters, + dimensions=dimensions, + group_bies=group_bies, + name=name, + namespace=namespace, + resource_group=resource_group, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + compartment_id_in_subtree: bool, + dimension_filters: Mapping[str, Any], + dimensions: Mapping[str, Any], + group_bies: Sequence[str], + name: str, + namespace: str, + resource_group: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("compartment_id_in_subtree", compartment_id_in_subtree) + _setter("dimension_filters", dimension_filters) + _setter("dimensions", dimensions) + _setter("group_bies", group_bies) + _setter("name", name) + _setter("namespace", namespace) + _setter("resource_group", resource_group) @property @pulumi.getter(name="compartmentId") diff --git a/sdk/python/pulumi_oci/mysql/_inputs.py b/sdk/python/pulumi_oci/mysql/_inputs.py index bcb5e5da4b..a028f8d042 100644 --- a/sdk/python/pulumi_oci/mysql/_inputs.py +++ b/sdk/python/pulumi_oci/mysql/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -39,6 +39,7 @@ 'MysqlDbSystemMaintenanceArgs', 'MysqlDbSystemPointInTimeRecoveryDetailArgs', 'MysqlDbSystemSourceArgs', + 'ReplicaReplicaOverridesArgs', 'GetChannelsFilterArgs', 'GetMysqlBackupsFilterArgs', 'GetMysqlConfigurationsFilterArgs', @@ -69,17 +70,40 @@ def __init__(__self__, *, :param pulumi.Input[int] port: (Updatable) The port the source MySQL instance listens on. :param pulumi.Input['ChannelSourceSslCaCertificateArgs'] ssl_ca_certificate: (Updatable) The CA certificate of the server used for VERIFY_IDENTITY and VERIFY_CA ssl modes. """ - pulumi.set(__self__, "hostname", hostname) - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "source_type", source_type) - pulumi.set(__self__, "ssl_mode", ssl_mode) - pulumi.set(__self__, "username", username) + ChannelSourceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + hostname=hostname, + password=password, + source_type=source_type, + ssl_mode=ssl_mode, + username=username, + anonymous_transactions_handling=anonymous_transactions_handling, + port=port, + ssl_ca_certificate=ssl_ca_certificate, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hostname: pulumi.Input[str], + password: pulumi.Input[str], + source_type: pulumi.Input[str], + ssl_mode: pulumi.Input[str], + username: pulumi.Input[str], + anonymous_transactions_handling: Optional[pulumi.Input['ChannelSourceAnonymousTransactionsHandlingArgs']] = None, + port: Optional[pulumi.Input[int]] = None, + ssl_ca_certificate: Optional[pulumi.Input['ChannelSourceSslCaCertificateArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("hostname", hostname) + _setter("password", password) + _setter("source_type", source_type) + _setter("ssl_mode", ssl_mode) + _setter("username", username) if anonymous_transactions_handling is not None: - pulumi.set(__self__, "anonymous_transactions_handling", anonymous_transactions_handling) + _setter("anonymous_transactions_handling", anonymous_transactions_handling) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if ssl_ca_certificate is not None: - pulumi.set(__self__, "ssl_ca_certificate", ssl_ca_certificate) + _setter("ssl_ca_certificate", ssl_ca_certificate) @property @pulumi.getter @@ -191,13 +215,28 @@ def __init__(__self__, *, :param pulumi.Input[str] last_configured_log_offset: (Updatable) Specifies one of the coordinates (offset) at which the replica should begin reading the source's log. As this value specifies the point where replication starts from, it is only used once, when it starts. It is never used again, unless a new UpdateChannel operation modifies it. :param pulumi.Input[str] uuid: (Updatable) The UUID that is used as a prefix when generating transaction identifiers for anonymous transactions coming from the source. You can change the UUID later. """ - pulumi.set(__self__, "policy", policy) + ChannelSourceAnonymousTransactionsHandlingArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + policy=policy, + last_configured_log_filename=last_configured_log_filename, + last_configured_log_offset=last_configured_log_offset, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + policy: pulumi.Input[str], + last_configured_log_filename: Optional[pulumi.Input[str]] = None, + last_configured_log_offset: Optional[pulumi.Input[str]] = None, + uuid: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("policy", policy) if last_configured_log_filename is not None: - pulumi.set(__self__, "last_configured_log_filename", last_configured_log_filename) + _setter("last_configured_log_filename", last_configured_log_filename) if last_configured_log_offset is not None: - pulumi.set(__self__, "last_configured_log_offset", last_configured_log_offset) + _setter("last_configured_log_offset", last_configured_log_offset) if uuid is not None: - pulumi.set(__self__, "uuid", uuid) + _setter("uuid", uuid) @property @pulumi.getter @@ -257,8 +296,19 @@ def __init__(__self__, *, :param pulumi.Input[str] certificate_type: (Updatable) The type of CA certificate. :param pulumi.Input[str] contents: (Updatable) The string containing the CA certificate in PEM format. """ - pulumi.set(__self__, "certificate_type", certificate_type) - pulumi.set(__self__, "contents", contents) + ChannelSourceSslCaCertificateArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + certificate_type=certificate_type, + contents=contents, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + certificate_type: pulumi.Input[str], + contents: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("certificate_type", certificate_type) + _setter("contents", contents) @property @pulumi.getter(name="certificateType") @@ -308,18 +358,39 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['ChannelTargetFilterArgs']]] filters: (Updatable) Replication filter rules to be applied at the DB System Channel target. :param pulumi.Input[str] tables_without_primary_key_handling: (Updatable) Specifies how a replication channel handles the creation and alteration of tables that do not have a primary key. The default value is set to ALLOW. """ - pulumi.set(__self__, "db_system_id", db_system_id) - pulumi.set(__self__, "target_type", target_type) + ChannelTargetArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_system_id=db_system_id, + target_type=target_type, + applier_username=applier_username, + channel_name=channel_name, + delay_in_seconds=delay_in_seconds, + filters=filters, + tables_without_primary_key_handling=tables_without_primary_key_handling, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_system_id: pulumi.Input[str], + target_type: pulumi.Input[str], + applier_username: Optional[pulumi.Input[str]] = None, + channel_name: Optional[pulumi.Input[str]] = None, + delay_in_seconds: Optional[pulumi.Input[int]] = None, + filters: Optional[pulumi.Input[Sequence[pulumi.Input['ChannelTargetFilterArgs']]]] = None, + tables_without_primary_key_handling: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("db_system_id", db_system_id) + _setter("target_type", target_type) if applier_username is not None: - pulumi.set(__self__, "applier_username", applier_username) + _setter("applier_username", applier_username) if channel_name is not None: - pulumi.set(__self__, "channel_name", channel_name) + _setter("channel_name", channel_name) if delay_in_seconds is not None: - pulumi.set(__self__, "delay_in_seconds", delay_in_seconds) + _setter("delay_in_seconds", delay_in_seconds) if filters is not None: - pulumi.set(__self__, "filters", filters) + _setter("filters", filters) if tables_without_primary_key_handling is not None: - pulumi.set(__self__, "tables_without_primary_key_handling", tables_without_primary_key_handling) + _setter("tables_without_primary_key_handling", tables_without_primary_key_handling) @property @pulumi.getter(name="dbSystemId") @@ -421,8 +492,19 @@ def __init__(__self__, *, For details on each type, see [Replication Filtering Rules](https://dev.mysql.com/doc/refman/8.0/en/replication-rules.html) :param pulumi.Input[str] value: (Updatable) The body of the filter rule. This can represent a database, a table, or a database pair (represented as "db1->db2"). For more information, see [Replication Filtering Rules](https://dev.mysql.com/doc/refman/8.0/en/replication-rules.html). """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + ChannelTargetFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + value: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -467,14 +549,29 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the HeatWave cluster was created, as described by [RFC 3339](https://tools.ietf.org/rfc/rfc3339). :param pulumi.Input[str] time_updated: The time the HeatWave cluster was last updated, as described by [RFC 3339](https://tools.ietf.org/rfc/rfc3339). """ + HeatWaveClusterClusterNodeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + node_id=node_id, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + node_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if node_id is not None: - pulumi.set(__self__, "node_id", node_id) + _setter("node_id", node_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="nodeId") @@ -581,54 +678,109 @@ def __init__(__self__, *, :param pulumi.Input[str] shape_name: The shape of the DB System instance used for backup. :param pulumi.Input[str] subnet_id: The OCID of the subnet the DB System is associated with. """ + MysqlBackupDbSystemSnapshotArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + admin_username=admin_username, + availability_domain=availability_domain, + backup_policies=backup_policies, + compartment_id=compartment_id, + configuration_id=configuration_id, + crash_recovery=crash_recovery, + data_storage_size_in_gb=data_storage_size_in_gb, + defined_tags=defined_tags, + deletion_policies=deletion_policies, + description=description, + display_name=display_name, + endpoints=endpoints, + fault_domain=fault_domain, + freeform_tags=freeform_tags, + hostname_label=hostname_label, + id=id, + ip_address=ip_address, + is_highly_available=is_highly_available, + maintenances=maintenances, + mysql_version=mysql_version, + port=port, + port_x=port_x, + shape_name=shape_name, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + admin_username: Optional[pulumi.Input[str]] = None, + availability_domain: Optional[pulumi.Input[str]] = None, + backup_policies: Optional[pulumi.Input[Sequence[pulumi.Input['MysqlBackupDbSystemSnapshotBackupPolicyArgs']]]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + configuration_id: Optional[pulumi.Input[str]] = None, + crash_recovery: Optional[pulumi.Input[str]] = None, + data_storage_size_in_gb: Optional[pulumi.Input[int]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + deletion_policies: Optional[pulumi.Input[Sequence[pulumi.Input['MysqlBackupDbSystemSnapshotDeletionPolicyArgs']]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + endpoints: Optional[pulumi.Input[Sequence[pulumi.Input['MysqlBackupDbSystemSnapshotEndpointArgs']]]] = None, + fault_domain: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + hostname_label: Optional[pulumi.Input[str]] = None, + id: Optional[pulumi.Input[str]] = None, + ip_address: Optional[pulumi.Input[str]] = None, + is_highly_available: Optional[pulumi.Input[bool]] = None, + maintenances: Optional[pulumi.Input[Sequence[pulumi.Input['MysqlBackupDbSystemSnapshotMaintenanceArgs']]]] = None, + mysql_version: Optional[pulumi.Input[str]] = None, + port: Optional[pulumi.Input[int]] = None, + port_x: Optional[pulumi.Input[int]] = None, + shape_name: Optional[pulumi.Input[str]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if admin_username is not None: - pulumi.set(__self__, "admin_username", admin_username) + _setter("admin_username", admin_username) if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if backup_policies is not None: - pulumi.set(__self__, "backup_policies", backup_policies) + _setter("backup_policies", backup_policies) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if configuration_id is not None: - pulumi.set(__self__, "configuration_id", configuration_id) + _setter("configuration_id", configuration_id) if crash_recovery is not None: - pulumi.set(__self__, "crash_recovery", crash_recovery) + _setter("crash_recovery", crash_recovery) if data_storage_size_in_gb is not None: - pulumi.set(__self__, "data_storage_size_in_gb", data_storage_size_in_gb) + _setter("data_storage_size_in_gb", data_storage_size_in_gb) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if deletion_policies is not None: - pulumi.set(__self__, "deletion_policies", deletion_policies) + _setter("deletion_policies", deletion_policies) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if endpoints is not None: - pulumi.set(__self__, "endpoints", endpoints) + _setter("endpoints", endpoints) if fault_domain is not None: - pulumi.set(__self__, "fault_domain", fault_domain) + _setter("fault_domain", fault_domain) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if hostname_label is not None: - pulumi.set(__self__, "hostname_label", hostname_label) + _setter("hostname_label", hostname_label) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if ip_address is not None: - pulumi.set(__self__, "ip_address", ip_address) + _setter("ip_address", ip_address) if is_highly_available is not None: - pulumi.set(__self__, "is_highly_available", is_highly_available) + _setter("is_highly_available", is_highly_available) if maintenances is not None: - pulumi.set(__self__, "maintenances", maintenances) + _setter("maintenances", maintenances) if mysql_version is not None: - pulumi.set(__self__, "mysql_version", mysql_version) + _setter("mysql_version", mysql_version) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if port_x is not None: - pulumi.set(__self__, "port_x", port_x) + _setter("port_x", port_x) if shape_name is not None: - pulumi.set(__self__, "shape_name", shape_name) + _setter("shape_name", shape_name) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="adminUsername") @@ -940,18 +1092,37 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] window_start_time: The start time of the maintenance window. """ + MysqlBackupDbSystemSnapshotBackupPolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + defined_tags=defined_tags, + freeform_tags=freeform_tags, + is_enabled=is_enabled, + pitr_policies=pitr_policies, + retention_in_days=retention_in_days, + window_start_time=window_start_time, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_enabled: Optional[pulumi.Input[bool]] = None, + pitr_policies: Optional[pulumi.Input[Sequence[pulumi.Input['MysqlBackupDbSystemSnapshotBackupPolicyPitrPolicyArgs']]]] = None, + retention_in_days: Optional[pulumi.Input[int]] = None, + window_start_time: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) if pitr_policies is not None: - pulumi.set(__self__, "pitr_policies", pitr_policies) + _setter("pitr_policies", pitr_policies) if retention_in_days is not None: - pulumi.set(__self__, "retention_in_days", retention_in_days) + _setter("retention_in_days", retention_in_days) if window_start_time is not None: - pulumi.set(__self__, "window_start_time", window_start_time) + _setter("window_start_time", window_start_time) @property @pulumi.getter(name="definedTags") @@ -1037,8 +1208,17 @@ def __init__(__self__, *, """ :param pulumi.Input[bool] is_enabled: Specifies if PITR is enabled or disabled. """ + MysqlBackupDbSystemSnapshotBackupPolicyPitrPolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) @property @pulumi.getter(name="isEnabled") @@ -1064,12 +1244,25 @@ def __init__(__self__, *, :param pulumi.Input[str] final_backup: Specifies whether or not a backup is taken when the DB System is deleted. REQUIRE_FINAL_BACKUP: a backup is taken if the DB System is deleted. SKIP_FINAL_BACKUP: a backup is not taken if the DB System is deleted. :param pulumi.Input[bool] is_delete_protected: Specifies whether the DB System can be deleted. Set to true to prevent deletion, false (default) to allow. """ + MysqlBackupDbSystemSnapshotDeletionPolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + automatic_backup_retention=automatic_backup_retention, + final_backup=final_backup, + is_delete_protected=is_delete_protected, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + automatic_backup_retention: Optional[pulumi.Input[str]] = None, + final_backup: Optional[pulumi.Input[str]] = None, + is_delete_protected: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if automatic_backup_retention is not None: - pulumi.set(__self__, "automatic_backup_retention", automatic_backup_retention) + _setter("automatic_backup_retention", automatic_backup_retention) if final_backup is not None: - pulumi.set(__self__, "final_backup", final_backup) + _setter("final_backup", final_backup) if is_delete_protected is not None: - pulumi.set(__self__, "is_delete_protected", is_delete_protected) + _setter("is_delete_protected", is_delete_protected) @property @pulumi.getter(name="automaticBackupRetention") @@ -1131,24 +1324,49 @@ def __init__(__self__, *, :param pulumi.Input[str] status: The state of the endpoints, as far as it can seen from the DB System. There may be some inconsistency with the actual state of the MySQL service. :param pulumi.Input[str] status_details: Additional information about the current endpoint status. """ + MysqlBackupDbSystemSnapshotEndpointArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + hostname=hostname, + ip_address=ip_address, + modes=modes, + port=port, + port_x=port_x, + resource_id=resource_id, + resource_type=resource_type, + status=status, + status_details=status_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hostname: Optional[pulumi.Input[str]] = None, + ip_address: Optional[pulumi.Input[str]] = None, + modes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + port: Optional[pulumi.Input[int]] = None, + port_x: Optional[pulumi.Input[int]] = None, + resource_id: Optional[pulumi.Input[str]] = None, + resource_type: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[str]] = None, + status_details: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if hostname is not None: - pulumi.set(__self__, "hostname", hostname) + _setter("hostname", hostname) if ip_address is not None: - pulumi.set(__self__, "ip_address", ip_address) + _setter("ip_address", ip_address) if modes is not None: - pulumi.set(__self__, "modes", modes) + _setter("modes", modes) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if port_x is not None: - pulumi.set(__self__, "port_x", port_x) + _setter("port_x", port_x) if resource_id is not None: - pulumi.set(__self__, "resource_id", resource_id) + _setter("resource_id", resource_id) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if status_details is not None: - pulumi.set(__self__, "status_details", status_details) + _setter("status_details", status_details) @property @pulumi.getter @@ -1266,8 +1484,17 @@ def __init__(__self__, *, """ :param pulumi.Input[str] window_start_time: The start time of the maintenance window. """ + MysqlBackupDbSystemSnapshotMaintenanceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + window_start_time=window_start_time, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + window_start_time: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if window_start_time is not None: - pulumi.set(__self__, "window_start_time", window_start_time) + _setter("window_start_time", window_start_time) @property @pulumi.getter(name="windowStartTime") @@ -1295,8 +1522,17 @@ def __init__(__self__, *, * CASE_SENSITIVE - (default) Table and schema name comparisons are case-sensitive and stored as specified. (lower_case_table_names=0) * CASE_INSENSITIVE_LOWERCASE - Table and schema name comparisons are not case-sensitive and stored in lowercase. (lower_case_table_names=1) """ + MysqlConfigurationInitVariablesArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + lower_case_table_names=lower_case_table_names, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + lower_case_table_names: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if lower_case_table_names is not None: - pulumi.set(__self__, "lower_case_table_names", lower_case_table_names) + _setter("lower_case_table_names", lower_case_table_names) @property @pulumi.getter(name="lowerCaseTableNames") @@ -1572,185 +1808,350 @@ def __init__(__self__, *, ** 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 """ + MysqlConfigurationVariablesArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + autocommit=autocommit, + big_tables=big_tables, + binlog_expire_logs_seconds=binlog_expire_logs_seconds, + binlog_row_metadata=binlog_row_metadata, + binlog_row_value_options=binlog_row_value_options, + binlog_transaction_compression=binlog_transaction_compression, + completion_type=completion_type, + connect_timeout=connect_timeout, + connection_memory_chunk_size=connection_memory_chunk_size, + connection_memory_limit=connection_memory_limit, + cte_max_recursion_depth=cte_max_recursion_depth, + default_authentication_plugin=default_authentication_plugin, + foreign_key_checks=foreign_key_checks, + generated_random_password_length=generated_random_password_length, + global_connection_memory_limit=global_connection_memory_limit, + global_connection_memory_tracking=global_connection_memory_tracking, + group_replication_consistency=group_replication_consistency, + information_schema_stats_expiry=information_schema_stats_expiry, + innodb_buffer_pool_dump_pct=innodb_buffer_pool_dump_pct, + innodb_buffer_pool_instances=innodb_buffer_pool_instances, + innodb_buffer_pool_size=innodb_buffer_pool_size, + innodb_ddl_buffer_size=innodb_ddl_buffer_size, + innodb_ddl_threads=innodb_ddl_threads, + innodb_ft_enable_stopword=innodb_ft_enable_stopword, + innodb_ft_max_token_size=innodb_ft_max_token_size, + innodb_ft_min_token_size=innodb_ft_min_token_size, + innodb_ft_num_word_optimize=innodb_ft_num_word_optimize, + innodb_ft_result_cache_limit=innodb_ft_result_cache_limit, + innodb_ft_server_stopword_table=innodb_ft_server_stopword_table, + innodb_lock_wait_timeout=innodb_lock_wait_timeout, + innodb_log_writer_threads=innodb_log_writer_threads, + innodb_max_purge_lag=innodb_max_purge_lag, + innodb_max_purge_lag_delay=innodb_max_purge_lag_delay, + innodb_stats_persistent_sample_pages=innodb_stats_persistent_sample_pages, + innodb_stats_transient_sample_pages=innodb_stats_transient_sample_pages, + interactive_timeout=interactive_timeout, + local_infile=local_infile, + mandatory_roles=mandatory_roles, + max_allowed_packet=max_allowed_packet, + max_binlog_cache_size=max_binlog_cache_size, + max_connect_errors=max_connect_errors, + max_connections=max_connections, + max_execution_time=max_execution_time, + max_heap_table_size=max_heap_table_size, + max_prepared_stmt_count=max_prepared_stmt_count, + mysql_firewall_mode=mysql_firewall_mode, + mysql_zstd_default_compression_level=mysql_zstd_default_compression_level, + mysqlx_connect_timeout=mysqlx_connect_timeout, + mysqlx_deflate_default_compression_level=mysqlx_deflate_default_compression_level, + mysqlx_deflate_max_client_compression_level=mysqlx_deflate_max_client_compression_level, + mysqlx_document_id_unique_prefix=mysqlx_document_id_unique_prefix, + mysqlx_enable_hello_notice=mysqlx_enable_hello_notice, + mysqlx_idle_worker_thread_timeout=mysqlx_idle_worker_thread_timeout, + mysqlx_interactive_timeout=mysqlx_interactive_timeout, + mysqlx_lz4default_compression_level=mysqlx_lz4default_compression_level, + mysqlx_lz4max_client_compression_level=mysqlx_lz4max_client_compression_level, + mysqlx_max_allowed_packet=mysqlx_max_allowed_packet, + mysqlx_min_worker_threads=mysqlx_min_worker_threads, + mysqlx_read_timeout=mysqlx_read_timeout, + mysqlx_wait_timeout=mysqlx_wait_timeout, + mysqlx_write_timeout=mysqlx_write_timeout, + mysqlx_zstd_default_compression_level=mysqlx_zstd_default_compression_level, + mysqlx_zstd_max_client_compression_level=mysqlx_zstd_max_client_compression_level, + net_read_timeout=net_read_timeout, + net_write_timeout=net_write_timeout, + parser_max_mem_size=parser_max_mem_size, + query_alloc_block_size=query_alloc_block_size, + query_prealloc_size=query_prealloc_size, + regexp_time_limit=regexp_time_limit, + sort_buffer_size=sort_buffer_size, + sql_mode=sql_mode, + sql_require_primary_key=sql_require_primary_key, + sql_warnings=sql_warnings, + thread_pool_dedicated_listeners=thread_pool_dedicated_listeners, + thread_pool_max_transactions_limit=thread_pool_max_transactions_limit, + time_zone=time_zone, + tmp_table_size=tmp_table_size, + transaction_isolation=transaction_isolation, + wait_timeout=wait_timeout, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + autocommit: Optional[pulumi.Input[bool]] = None, + big_tables: Optional[pulumi.Input[bool]] = None, + binlog_expire_logs_seconds: Optional[pulumi.Input[int]] = None, + binlog_row_metadata: Optional[pulumi.Input[str]] = None, + binlog_row_value_options: Optional[pulumi.Input[str]] = None, + binlog_transaction_compression: Optional[pulumi.Input[bool]] = None, + completion_type: Optional[pulumi.Input[str]] = None, + connect_timeout: Optional[pulumi.Input[int]] = None, + connection_memory_chunk_size: Optional[pulumi.Input[int]] = None, + connection_memory_limit: Optional[pulumi.Input[str]] = None, + cte_max_recursion_depth: Optional[pulumi.Input[str]] = None, + default_authentication_plugin: Optional[pulumi.Input[str]] = None, + foreign_key_checks: Optional[pulumi.Input[bool]] = None, + generated_random_password_length: Optional[pulumi.Input[int]] = None, + global_connection_memory_limit: Optional[pulumi.Input[str]] = None, + global_connection_memory_tracking: Optional[pulumi.Input[bool]] = None, + group_replication_consistency: Optional[pulumi.Input[str]] = None, + information_schema_stats_expiry: Optional[pulumi.Input[int]] = None, + innodb_buffer_pool_dump_pct: Optional[pulumi.Input[int]] = None, + innodb_buffer_pool_instances: Optional[pulumi.Input[int]] = None, + innodb_buffer_pool_size: Optional[pulumi.Input[str]] = None, + innodb_ddl_buffer_size: Optional[pulumi.Input[str]] = None, + innodb_ddl_threads: Optional[pulumi.Input[int]] = None, + innodb_ft_enable_stopword: Optional[pulumi.Input[bool]] = None, + innodb_ft_max_token_size: Optional[pulumi.Input[int]] = None, + innodb_ft_min_token_size: Optional[pulumi.Input[int]] = None, + innodb_ft_num_word_optimize: Optional[pulumi.Input[int]] = None, + innodb_ft_result_cache_limit: Optional[pulumi.Input[str]] = None, + innodb_ft_server_stopword_table: Optional[pulumi.Input[str]] = None, + innodb_lock_wait_timeout: Optional[pulumi.Input[int]] = None, + innodb_log_writer_threads: Optional[pulumi.Input[bool]] = None, + innodb_max_purge_lag: Optional[pulumi.Input[str]] = None, + innodb_max_purge_lag_delay: Optional[pulumi.Input[int]] = None, + innodb_stats_persistent_sample_pages: Optional[pulumi.Input[str]] = None, + innodb_stats_transient_sample_pages: Optional[pulumi.Input[str]] = None, + interactive_timeout: Optional[pulumi.Input[int]] = None, + local_infile: Optional[pulumi.Input[bool]] = None, + mandatory_roles: Optional[pulumi.Input[str]] = None, + max_allowed_packet: Optional[pulumi.Input[int]] = None, + max_binlog_cache_size: Optional[pulumi.Input[str]] = None, + max_connect_errors: Optional[pulumi.Input[str]] = None, + max_connections: Optional[pulumi.Input[int]] = None, + max_execution_time: Optional[pulumi.Input[str]] = None, + max_heap_table_size: Optional[pulumi.Input[str]] = None, + max_prepared_stmt_count: Optional[pulumi.Input[int]] = None, + mysql_firewall_mode: Optional[pulumi.Input[bool]] = None, + mysql_zstd_default_compression_level: Optional[pulumi.Input[int]] = None, + mysqlx_connect_timeout: Optional[pulumi.Input[int]] = None, + mysqlx_deflate_default_compression_level: Optional[pulumi.Input[int]] = None, + mysqlx_deflate_max_client_compression_level: Optional[pulumi.Input[int]] = None, + mysqlx_document_id_unique_prefix: Optional[pulumi.Input[int]] = None, + mysqlx_enable_hello_notice: Optional[pulumi.Input[bool]] = None, + mysqlx_idle_worker_thread_timeout: Optional[pulumi.Input[int]] = None, + mysqlx_interactive_timeout: Optional[pulumi.Input[int]] = None, + mysqlx_lz4default_compression_level: Optional[pulumi.Input[int]] = None, + mysqlx_lz4max_client_compression_level: Optional[pulumi.Input[int]] = None, + mysqlx_max_allowed_packet: Optional[pulumi.Input[int]] = None, + mysqlx_min_worker_threads: Optional[pulumi.Input[int]] = None, + mysqlx_read_timeout: Optional[pulumi.Input[int]] = None, + mysqlx_wait_timeout: Optional[pulumi.Input[int]] = None, + mysqlx_write_timeout: Optional[pulumi.Input[int]] = None, + mysqlx_zstd_default_compression_level: Optional[pulumi.Input[int]] = None, + mysqlx_zstd_max_client_compression_level: Optional[pulumi.Input[int]] = None, + net_read_timeout: Optional[pulumi.Input[int]] = None, + net_write_timeout: Optional[pulumi.Input[int]] = None, + parser_max_mem_size: Optional[pulumi.Input[str]] = None, + query_alloc_block_size: Optional[pulumi.Input[str]] = None, + query_prealloc_size: Optional[pulumi.Input[str]] = None, + regexp_time_limit: Optional[pulumi.Input[int]] = None, + sort_buffer_size: Optional[pulumi.Input[str]] = None, + sql_mode: Optional[pulumi.Input[str]] = None, + sql_require_primary_key: Optional[pulumi.Input[bool]] = None, + sql_warnings: Optional[pulumi.Input[bool]] = None, + thread_pool_dedicated_listeners: Optional[pulumi.Input[bool]] = None, + thread_pool_max_transactions_limit: Optional[pulumi.Input[int]] = None, + time_zone: Optional[pulumi.Input[str]] = None, + tmp_table_size: Optional[pulumi.Input[str]] = None, + transaction_isolation: Optional[pulumi.Input[str]] = None, + wait_timeout: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if autocommit is not None: - pulumi.set(__self__, "autocommit", autocommit) + _setter("autocommit", autocommit) if big_tables is not None: - pulumi.set(__self__, "big_tables", big_tables) + _setter("big_tables", big_tables) if binlog_expire_logs_seconds is not None: - pulumi.set(__self__, "binlog_expire_logs_seconds", binlog_expire_logs_seconds) + _setter("binlog_expire_logs_seconds", binlog_expire_logs_seconds) if binlog_row_metadata is not None: - pulumi.set(__self__, "binlog_row_metadata", binlog_row_metadata) + _setter("binlog_row_metadata", binlog_row_metadata) if binlog_row_value_options is not None: - pulumi.set(__self__, "binlog_row_value_options", binlog_row_value_options) + _setter("binlog_row_value_options", binlog_row_value_options) if binlog_transaction_compression is not None: - pulumi.set(__self__, "binlog_transaction_compression", binlog_transaction_compression) + _setter("binlog_transaction_compression", binlog_transaction_compression) if completion_type is not None: - pulumi.set(__self__, "completion_type", completion_type) + _setter("completion_type", completion_type) if connect_timeout is not None: - pulumi.set(__self__, "connect_timeout", connect_timeout) + _setter("connect_timeout", connect_timeout) if connection_memory_chunk_size is not None: - pulumi.set(__self__, "connection_memory_chunk_size", connection_memory_chunk_size) + _setter("connection_memory_chunk_size", connection_memory_chunk_size) if connection_memory_limit is not None: - pulumi.set(__self__, "connection_memory_limit", connection_memory_limit) + _setter("connection_memory_limit", connection_memory_limit) if cte_max_recursion_depth is not None: - pulumi.set(__self__, "cte_max_recursion_depth", cte_max_recursion_depth) + _setter("cte_max_recursion_depth", cte_max_recursion_depth) if default_authentication_plugin is not None: - pulumi.set(__self__, "default_authentication_plugin", default_authentication_plugin) + _setter("default_authentication_plugin", default_authentication_plugin) if foreign_key_checks is not None: - pulumi.set(__self__, "foreign_key_checks", foreign_key_checks) + _setter("foreign_key_checks", foreign_key_checks) if generated_random_password_length is not None: warnings.warn("""The 'generated_random_password_length' field has been deprecated and may be removed in a future version. Do not use this field.""", DeprecationWarning) pulumi.log.warn("""generated_random_password_length is deprecated: The 'generated_random_password_length' field has been deprecated and may be removed in a future version. Do not use this field.""") if generated_random_password_length is not None: - pulumi.set(__self__, "generated_random_password_length", generated_random_password_length) + _setter("generated_random_password_length", generated_random_password_length) if global_connection_memory_limit is not None: - pulumi.set(__self__, "global_connection_memory_limit", global_connection_memory_limit) + _setter("global_connection_memory_limit", global_connection_memory_limit) if global_connection_memory_tracking is not None: - pulumi.set(__self__, "global_connection_memory_tracking", global_connection_memory_tracking) + _setter("global_connection_memory_tracking", global_connection_memory_tracking) if group_replication_consistency is not None: - pulumi.set(__self__, "group_replication_consistency", group_replication_consistency) + _setter("group_replication_consistency", group_replication_consistency) if information_schema_stats_expiry is not None: - pulumi.set(__self__, "information_schema_stats_expiry", information_schema_stats_expiry) + _setter("information_schema_stats_expiry", information_schema_stats_expiry) if innodb_buffer_pool_dump_pct is not None: - pulumi.set(__self__, "innodb_buffer_pool_dump_pct", innodb_buffer_pool_dump_pct) + _setter("innodb_buffer_pool_dump_pct", innodb_buffer_pool_dump_pct) if innodb_buffer_pool_instances is not None: - pulumi.set(__self__, "innodb_buffer_pool_instances", innodb_buffer_pool_instances) + _setter("innodb_buffer_pool_instances", innodb_buffer_pool_instances) if innodb_buffer_pool_size is not None: - pulumi.set(__self__, "innodb_buffer_pool_size", innodb_buffer_pool_size) + _setter("innodb_buffer_pool_size", innodb_buffer_pool_size) if innodb_ddl_buffer_size is not None: - pulumi.set(__self__, "innodb_ddl_buffer_size", innodb_ddl_buffer_size) + _setter("innodb_ddl_buffer_size", innodb_ddl_buffer_size) if innodb_ddl_threads is not None: - pulumi.set(__self__, "innodb_ddl_threads", innodb_ddl_threads) + _setter("innodb_ddl_threads", innodb_ddl_threads) if innodb_ft_enable_stopword is not None: - pulumi.set(__self__, "innodb_ft_enable_stopword", innodb_ft_enable_stopword) + _setter("innodb_ft_enable_stopword", innodb_ft_enable_stopword) if innodb_ft_max_token_size is not None: - pulumi.set(__self__, "innodb_ft_max_token_size", innodb_ft_max_token_size) + _setter("innodb_ft_max_token_size", innodb_ft_max_token_size) if innodb_ft_min_token_size is not None: - pulumi.set(__self__, "innodb_ft_min_token_size", innodb_ft_min_token_size) + _setter("innodb_ft_min_token_size", innodb_ft_min_token_size) if innodb_ft_num_word_optimize is not None: - pulumi.set(__self__, "innodb_ft_num_word_optimize", innodb_ft_num_word_optimize) + _setter("innodb_ft_num_word_optimize", innodb_ft_num_word_optimize) if innodb_ft_result_cache_limit is not None: - pulumi.set(__self__, "innodb_ft_result_cache_limit", innodb_ft_result_cache_limit) + _setter("innodb_ft_result_cache_limit", innodb_ft_result_cache_limit) if innodb_ft_server_stopword_table is not None: - pulumi.set(__self__, "innodb_ft_server_stopword_table", innodb_ft_server_stopword_table) + _setter("innodb_ft_server_stopword_table", innodb_ft_server_stopword_table) if innodb_lock_wait_timeout is not None: - pulumi.set(__self__, "innodb_lock_wait_timeout", innodb_lock_wait_timeout) + _setter("innodb_lock_wait_timeout", innodb_lock_wait_timeout) if innodb_log_writer_threads is not None: - pulumi.set(__self__, "innodb_log_writer_threads", innodb_log_writer_threads) + _setter("innodb_log_writer_threads", innodb_log_writer_threads) if innodb_max_purge_lag is not None: - pulumi.set(__self__, "innodb_max_purge_lag", innodb_max_purge_lag) + _setter("innodb_max_purge_lag", innodb_max_purge_lag) if innodb_max_purge_lag_delay is not None: - pulumi.set(__self__, "innodb_max_purge_lag_delay", innodb_max_purge_lag_delay) + _setter("innodb_max_purge_lag_delay", innodb_max_purge_lag_delay) if innodb_stats_persistent_sample_pages is not None: - pulumi.set(__self__, "innodb_stats_persistent_sample_pages", innodb_stats_persistent_sample_pages) + _setter("innodb_stats_persistent_sample_pages", innodb_stats_persistent_sample_pages) if innodb_stats_transient_sample_pages is not None: - pulumi.set(__self__, "innodb_stats_transient_sample_pages", innodb_stats_transient_sample_pages) + _setter("innodb_stats_transient_sample_pages", innodb_stats_transient_sample_pages) if interactive_timeout is not None: - pulumi.set(__self__, "interactive_timeout", interactive_timeout) + _setter("interactive_timeout", interactive_timeout) if local_infile is not None: - pulumi.set(__self__, "local_infile", local_infile) + _setter("local_infile", local_infile) if mandatory_roles is not None: - pulumi.set(__self__, "mandatory_roles", mandatory_roles) + _setter("mandatory_roles", mandatory_roles) if max_allowed_packet is not None: - pulumi.set(__self__, "max_allowed_packet", max_allowed_packet) + _setter("max_allowed_packet", max_allowed_packet) if max_binlog_cache_size is not None: - pulumi.set(__self__, "max_binlog_cache_size", max_binlog_cache_size) + _setter("max_binlog_cache_size", max_binlog_cache_size) if max_connect_errors is not None: - pulumi.set(__self__, "max_connect_errors", max_connect_errors) + _setter("max_connect_errors", max_connect_errors) if max_connections is not None: - pulumi.set(__self__, "max_connections", max_connections) + _setter("max_connections", max_connections) if max_execution_time is not None: - pulumi.set(__self__, "max_execution_time", max_execution_time) + _setter("max_execution_time", max_execution_time) if max_heap_table_size is not None: - pulumi.set(__self__, "max_heap_table_size", max_heap_table_size) + _setter("max_heap_table_size", max_heap_table_size) if max_prepared_stmt_count is not None: - pulumi.set(__self__, "max_prepared_stmt_count", max_prepared_stmt_count) + _setter("max_prepared_stmt_count", max_prepared_stmt_count) if mysql_firewall_mode is not None: - pulumi.set(__self__, "mysql_firewall_mode", mysql_firewall_mode) + _setter("mysql_firewall_mode", mysql_firewall_mode) if mysql_zstd_default_compression_level is not None: warnings.warn("""The 'mysql_zstd_default_compression_level' field has been deprecated and may be removed in a future version. Do not use this field.""", DeprecationWarning) pulumi.log.warn("""mysql_zstd_default_compression_level is deprecated: The 'mysql_zstd_default_compression_level' field has been deprecated and may be removed in a future version. Do not use this field.""") if mysql_zstd_default_compression_level is not None: - pulumi.set(__self__, "mysql_zstd_default_compression_level", mysql_zstd_default_compression_level) + _setter("mysql_zstd_default_compression_level", mysql_zstd_default_compression_level) if mysqlx_connect_timeout is not None: - pulumi.set(__self__, "mysqlx_connect_timeout", mysqlx_connect_timeout) + _setter("mysqlx_connect_timeout", mysqlx_connect_timeout) if mysqlx_deflate_default_compression_level is not None: - pulumi.set(__self__, "mysqlx_deflate_default_compression_level", mysqlx_deflate_default_compression_level) + _setter("mysqlx_deflate_default_compression_level", mysqlx_deflate_default_compression_level) if mysqlx_deflate_max_client_compression_level is not None: - pulumi.set(__self__, "mysqlx_deflate_max_client_compression_level", mysqlx_deflate_max_client_compression_level) + _setter("mysqlx_deflate_max_client_compression_level", mysqlx_deflate_max_client_compression_level) if mysqlx_document_id_unique_prefix is not None: warnings.warn("""The 'mysqlx_document_id_unique_prefix' field has been deprecated and may be removed in a future version. Do not use this field.""", DeprecationWarning) pulumi.log.warn("""mysqlx_document_id_unique_prefix is deprecated: The 'mysqlx_document_id_unique_prefix' field has been deprecated and may be removed in a future version. Do not use this field.""") if mysqlx_document_id_unique_prefix is not None: - pulumi.set(__self__, "mysqlx_document_id_unique_prefix", mysqlx_document_id_unique_prefix) + _setter("mysqlx_document_id_unique_prefix", mysqlx_document_id_unique_prefix) if mysqlx_enable_hello_notice is not None: - pulumi.set(__self__, "mysqlx_enable_hello_notice", mysqlx_enable_hello_notice) + _setter("mysqlx_enable_hello_notice", mysqlx_enable_hello_notice) if mysqlx_idle_worker_thread_timeout is not None: warnings.warn("""The 'mysqlx_idle_worker_thread_timeout' field has been deprecated and may be removed in a future version. Do not use this field.""", DeprecationWarning) pulumi.log.warn("""mysqlx_idle_worker_thread_timeout is deprecated: The 'mysqlx_idle_worker_thread_timeout' field has been deprecated and may be removed in a future version. Do not use this field.""") if mysqlx_idle_worker_thread_timeout is not None: - pulumi.set(__self__, "mysqlx_idle_worker_thread_timeout", mysqlx_idle_worker_thread_timeout) + _setter("mysqlx_idle_worker_thread_timeout", mysqlx_idle_worker_thread_timeout) if mysqlx_interactive_timeout is not None: - pulumi.set(__self__, "mysqlx_interactive_timeout", mysqlx_interactive_timeout) + _setter("mysqlx_interactive_timeout", mysqlx_interactive_timeout) if mysqlx_lz4default_compression_level is not None: - pulumi.set(__self__, "mysqlx_lz4default_compression_level", mysqlx_lz4default_compression_level) + _setter("mysqlx_lz4default_compression_level", mysqlx_lz4default_compression_level) if mysqlx_lz4max_client_compression_level is not None: - pulumi.set(__self__, "mysqlx_lz4max_client_compression_level", mysqlx_lz4max_client_compression_level) + _setter("mysqlx_lz4max_client_compression_level", mysqlx_lz4max_client_compression_level) if mysqlx_max_allowed_packet is not None: - pulumi.set(__self__, "mysqlx_max_allowed_packet", mysqlx_max_allowed_packet) + _setter("mysqlx_max_allowed_packet", mysqlx_max_allowed_packet) if mysqlx_min_worker_threads is not None: warnings.warn("""The 'mysqlx_min_worker_threads' field has been deprecated and may be removed in a future version. Do not use this field.""", DeprecationWarning) pulumi.log.warn("""mysqlx_min_worker_threads is deprecated: The 'mysqlx_min_worker_threads' field has been deprecated and may be removed in a future version. Do not use this field.""") if mysqlx_min_worker_threads is not None: - pulumi.set(__self__, "mysqlx_min_worker_threads", mysqlx_min_worker_threads) + _setter("mysqlx_min_worker_threads", mysqlx_min_worker_threads) if mysqlx_read_timeout is not None: - pulumi.set(__self__, "mysqlx_read_timeout", mysqlx_read_timeout) + _setter("mysqlx_read_timeout", mysqlx_read_timeout) if mysqlx_wait_timeout is not None: - pulumi.set(__self__, "mysqlx_wait_timeout", mysqlx_wait_timeout) + _setter("mysqlx_wait_timeout", mysqlx_wait_timeout) if mysqlx_write_timeout is not None: - pulumi.set(__self__, "mysqlx_write_timeout", mysqlx_write_timeout) + _setter("mysqlx_write_timeout", mysqlx_write_timeout) if mysqlx_zstd_default_compression_level is not None: - pulumi.set(__self__, "mysqlx_zstd_default_compression_level", mysqlx_zstd_default_compression_level) + _setter("mysqlx_zstd_default_compression_level", mysqlx_zstd_default_compression_level) if mysqlx_zstd_max_client_compression_level is not None: - pulumi.set(__self__, "mysqlx_zstd_max_client_compression_level", mysqlx_zstd_max_client_compression_level) + _setter("mysqlx_zstd_max_client_compression_level", mysqlx_zstd_max_client_compression_level) if net_read_timeout is not None: - pulumi.set(__self__, "net_read_timeout", net_read_timeout) + _setter("net_read_timeout", net_read_timeout) if net_write_timeout is not None: - pulumi.set(__self__, "net_write_timeout", net_write_timeout) + _setter("net_write_timeout", net_write_timeout) if parser_max_mem_size is not None: - pulumi.set(__self__, "parser_max_mem_size", parser_max_mem_size) + _setter("parser_max_mem_size", parser_max_mem_size) if query_alloc_block_size is not None: warnings.warn("""The 'query_alloc_block_size' field has been deprecated and may be removed in a future version. Do not use this field.""", DeprecationWarning) pulumi.log.warn("""query_alloc_block_size is deprecated: The 'query_alloc_block_size' field has been deprecated and may be removed in a future version. Do not use this field.""") if query_alloc_block_size is not None: - pulumi.set(__self__, "query_alloc_block_size", query_alloc_block_size) + _setter("query_alloc_block_size", query_alloc_block_size) if query_prealloc_size is not None: warnings.warn("""The 'query_prealloc_size' field has been deprecated and may be removed in a future version. Do not use this field.""", DeprecationWarning) pulumi.log.warn("""query_prealloc_size is deprecated: The 'query_prealloc_size' field has been deprecated and may be removed in a future version. Do not use this field.""") if query_prealloc_size is not None: - pulumi.set(__self__, "query_prealloc_size", query_prealloc_size) + _setter("query_prealloc_size", query_prealloc_size) if regexp_time_limit is not None: - pulumi.set(__self__, "regexp_time_limit", regexp_time_limit) + _setter("regexp_time_limit", regexp_time_limit) if sort_buffer_size is not None: - pulumi.set(__self__, "sort_buffer_size", sort_buffer_size) + _setter("sort_buffer_size", sort_buffer_size) if sql_mode is not None: - pulumi.set(__self__, "sql_mode", sql_mode) + _setter("sql_mode", sql_mode) if sql_require_primary_key is not None: - pulumi.set(__self__, "sql_require_primary_key", sql_require_primary_key) + _setter("sql_require_primary_key", sql_require_primary_key) if sql_warnings is not None: - pulumi.set(__self__, "sql_warnings", sql_warnings) + _setter("sql_warnings", sql_warnings) if thread_pool_dedicated_listeners is not None: - pulumi.set(__self__, "thread_pool_dedicated_listeners", thread_pool_dedicated_listeners) + _setter("thread_pool_dedicated_listeners", thread_pool_dedicated_listeners) if thread_pool_max_transactions_limit is not None: - pulumi.set(__self__, "thread_pool_max_transactions_limit", thread_pool_max_transactions_limit) + _setter("thread_pool_max_transactions_limit", thread_pool_max_transactions_limit) if time_zone is not None: - pulumi.set(__self__, "time_zone", time_zone) + _setter("time_zone", time_zone) if tmp_table_size is not None: - pulumi.set(__self__, "tmp_table_size", tmp_table_size) + _setter("tmp_table_size", tmp_table_size) if transaction_isolation is not None: - pulumi.set(__self__, "transaction_isolation", transaction_isolation) + _setter("transaction_isolation", transaction_isolation) if wait_timeout is not None: - pulumi.set(__self__, "wait_timeout", wait_timeout) + _setter("wait_timeout", wait_timeout) @property @pulumi.getter @@ -2839,18 +3240,37 @@ def __init__(__self__, *, If you set the read replica maintenance window to "" or if not specified, the read replica is set same as the DB system maintenance window. """ + MysqlDbSystemBackupPolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + defined_tags=defined_tags, + freeform_tags=freeform_tags, + is_enabled=is_enabled, + pitr_policy=pitr_policy, + retention_in_days=retention_in_days, + window_start_time=window_start_time, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_enabled: Optional[pulumi.Input[bool]] = None, + pitr_policy: Optional[pulumi.Input['MysqlDbSystemBackupPolicyPitrPolicyArgs']] = None, + retention_in_days: Optional[pulumi.Input[int]] = None, + window_start_time: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) if pitr_policy is not None: - pulumi.set(__self__, "pitr_policy", pitr_policy) + _setter("pitr_policy", pitr_policy) if retention_in_days is not None: - pulumi.set(__self__, "retention_in_days", retention_in_days) + _setter("retention_in_days", retention_in_days) if window_start_time is not None: - pulumi.set(__self__, "window_start_time", window_start_time) + _setter("window_start_time", window_start_time) @property @pulumi.getter(name="definedTags") @@ -2940,8 +3360,17 @@ def __init__(__self__, *, """ :param pulumi.Input[bool] is_enabled: (Updatable) Specifies if PITR is enabled or disabled. """ + MysqlDbSystemBackupPolicyPitrPolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) @property @pulumi.getter(name="isEnabled") @@ -2985,30 +3414,61 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the DB System was created. :param pulumi.Input[str] time_updated: The time the DB System was last updated. """ + MysqlDbSystemChannelArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + is_enabled=is_enabled, + lifecycle_details=lifecycle_details, + sources=sources, + state=state, + targets=targets, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + id: Optional[pulumi.Input[str]] = None, + is_enabled: Optional[pulumi.Input[bool]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + sources: Optional[pulumi.Input[Sequence[pulumi.Input['MysqlDbSystemChannelSourceArgs']]]] = None, + state: Optional[pulumi.Input[str]] = None, + targets: Optional[pulumi.Input[Sequence[pulumi.Input['MysqlDbSystemChannelTargetArgs']]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if sources is not None: - pulumi.set(__self__, "sources", sources) + _setter("sources", sources) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if targets is not None: - pulumi.set(__self__, "targets", targets) + _setter("targets", targets) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -3174,20 +3634,41 @@ def __init__(__self__, *, :param pulumi.Input[str] ssl_mode: The SSL mode of the Channel. :param pulumi.Input[str] username: The name of the replication user on the source MySQL instance. The username has a maximum length of 96 characters. For more information, please see the [MySQL documentation](https://dev.mysql.com/doc/refman/8.0/en/change-master-to.html) """ + MysqlDbSystemChannelSourceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + anonymous_transactions_handlings=anonymous_transactions_handlings, + hostname=hostname, + port=port, + source_type=source_type, + ssl_ca_certificates=ssl_ca_certificates, + ssl_mode=ssl_mode, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + anonymous_transactions_handlings: Optional[pulumi.Input[Sequence[pulumi.Input['MysqlDbSystemChannelSourceAnonymousTransactionsHandlingArgs']]]] = None, + hostname: Optional[pulumi.Input[str]] = None, + port: Optional[pulumi.Input[int]] = None, + source_type: Optional[pulumi.Input[str]] = None, + ssl_ca_certificates: Optional[pulumi.Input[Sequence[pulumi.Input['MysqlDbSystemChannelSourceSslCaCertificateArgs']]]] = None, + ssl_mode: Optional[pulumi.Input[str]] = None, + username: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if anonymous_transactions_handlings is not None: - pulumi.set(__self__, "anonymous_transactions_handlings", anonymous_transactions_handlings) + _setter("anonymous_transactions_handlings", anonymous_transactions_handlings) if hostname is not None: - pulumi.set(__self__, "hostname", hostname) + _setter("hostname", hostname) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if source_type is not None: - pulumi.set(__self__, "source_type", source_type) + _setter("source_type", source_type) if ssl_ca_certificates is not None: - pulumi.set(__self__, "ssl_ca_certificates", ssl_ca_certificates) + _setter("ssl_ca_certificates", ssl_ca_certificates) if ssl_mode is not None: - pulumi.set(__self__, "ssl_mode", ssl_mode) + _setter("ssl_mode", ssl_mode) if username is not None: - pulumi.set(__self__, "username", username) + _setter("username", username) @property @pulumi.getter(name="anonymousTransactionsHandlings") @@ -3287,14 +3768,29 @@ def __init__(__self__, *, :param pulumi.Input[str] policy: Specifies how the replication channel handles anonymous transactions. :param pulumi.Input[str] uuid: The UUID that is used as a prefix when generating transaction identifiers for anonymous transactions coming from the source. You can change the UUID later. """ + MysqlDbSystemChannelSourceAnonymousTransactionsHandlingArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + last_configured_log_filename=last_configured_log_filename, + last_configured_log_offset=last_configured_log_offset, + policy=policy, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + last_configured_log_filename: Optional[pulumi.Input[str]] = None, + last_configured_log_offset: Optional[pulumi.Input[str]] = None, + policy: Optional[pulumi.Input[str]] = None, + uuid: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if last_configured_log_filename is not None: - pulumi.set(__self__, "last_configured_log_filename", last_configured_log_filename) + _setter("last_configured_log_filename", last_configured_log_filename) if last_configured_log_offset is not None: - pulumi.set(__self__, "last_configured_log_offset", last_configured_log_offset) + _setter("last_configured_log_offset", last_configured_log_offset) if policy is not None: - pulumi.set(__self__, "policy", policy) + _setter("policy", policy) if uuid is not None: - pulumi.set(__self__, "uuid", uuid) + _setter("uuid", uuid) @property @pulumi.getter(name="lastConfiguredLogFilename") @@ -3354,10 +3850,21 @@ def __init__(__self__, *, :param pulumi.Input[str] certificate_type: The type of CA certificate. :param pulumi.Input[str] contents: The string containing the CA certificate in PEM format. """ + MysqlDbSystemChannelSourceSslCaCertificateArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + certificate_type=certificate_type, + contents=contents, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + certificate_type: Optional[pulumi.Input[str]] = None, + contents: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if certificate_type is not None: - pulumi.set(__self__, "certificate_type", certificate_type) + _setter("certificate_type", certificate_type) if contents is not None: - pulumi.set(__self__, "contents", contents) + _setter("contents", contents) @property @pulumi.getter(name="certificateType") @@ -3403,20 +3910,41 @@ def __init__(__self__, *, :param pulumi.Input[str] tables_without_primary_key_handling: Specifies how a replication channel handles the creation and alteration of tables that do not have a primary key. :param pulumi.Input[str] target_type: The specific target identifier. """ + MysqlDbSystemChannelTargetArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + applier_username=applier_username, + channel_name=channel_name, + db_system_id=db_system_id, + delay_in_seconds=delay_in_seconds, + filters=filters, + tables_without_primary_key_handling=tables_without_primary_key_handling, + target_type=target_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + applier_username: Optional[pulumi.Input[str]] = None, + channel_name: Optional[pulumi.Input[str]] = None, + db_system_id: Optional[pulumi.Input[str]] = None, + delay_in_seconds: Optional[pulumi.Input[int]] = None, + filters: Optional[pulumi.Input[Sequence[pulumi.Input['MysqlDbSystemChannelTargetFilterArgs']]]] = None, + tables_without_primary_key_handling: Optional[pulumi.Input[str]] = None, + target_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if applier_username is not None: - pulumi.set(__self__, "applier_username", applier_username) + _setter("applier_username", applier_username) if channel_name is not None: - pulumi.set(__self__, "channel_name", channel_name) + _setter("channel_name", channel_name) if db_system_id is not None: - pulumi.set(__self__, "db_system_id", db_system_id) + _setter("db_system_id", db_system_id) if delay_in_seconds is not None: - pulumi.set(__self__, "delay_in_seconds", delay_in_seconds) + _setter("delay_in_seconds", delay_in_seconds) if filters is not None: - pulumi.set(__self__, "filters", filters) + _setter("filters", filters) if tables_without_primary_key_handling is not None: - pulumi.set(__self__, "tables_without_primary_key_handling", tables_without_primary_key_handling) + _setter("tables_without_primary_key_handling", tables_without_primary_key_handling) if target_type is not None: - pulumi.set(__self__, "target_type", target_type) + _setter("target_type", target_type) @property @pulumi.getter(name="applierUsername") @@ -3512,10 +4040,21 @@ def __init__(__self__, *, :param pulumi.Input[str] type: The type of the filter rule. :param pulumi.Input[str] value: The body of the filter rule. This can represent a database, a table, or a database pair (represented as "db1->db2"). For more information, see [Replication Filtering Rules](https://dev.mysql.com/doc/refman/8.0/en/replication-rules.html). """ + MysqlDbSystemChannelTargetFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -3559,10 +4098,21 @@ def __init__(__self__, *, For a standalone DB System, this defines the fault domain in which the DB System is placed. """ + MysqlDbSystemCurrentPlacementArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + fault_domain=fault_domain, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: Optional[pulumi.Input[str]] = None, + fault_domain: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if fault_domain is not None: - pulumi.set(__self__, "fault_domain", fault_domain) + _setter("fault_domain", fault_domain) @property @pulumi.getter(name="availabilityDomain") @@ -3608,12 +4158,25 @@ def __init__(__self__, *, :param pulumi.Input[str] final_backup: (Updatable) Specifies whether or not a backup is taken when the DB System is deleted. REQUIRE_FINAL_BACKUP: a backup is taken if the DB System is deleted. SKIP_FINAL_BACKUP: a backup is not taken if the DB System is deleted. :param pulumi.Input[bool] is_delete_protected: (Updatable) Specifies whether the DB System can be deleted. Set to true to prevent deletion, false (default) to allow. """ + MysqlDbSystemDeletionPolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + automatic_backup_retention=automatic_backup_retention, + final_backup=final_backup, + is_delete_protected=is_delete_protected, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + automatic_backup_retention: Optional[pulumi.Input[str]] = None, + final_backup: Optional[pulumi.Input[str]] = None, + is_delete_protected: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if automatic_backup_retention is not None: - pulumi.set(__self__, "automatic_backup_retention", automatic_backup_retention) + _setter("automatic_backup_retention", automatic_backup_retention) if final_backup is not None: - pulumi.set(__self__, "final_backup", final_backup) + _setter("final_backup", final_backup) if is_delete_protected is not None: - pulumi.set(__self__, "is_delete_protected", is_delete_protected) + _setter("is_delete_protected", is_delete_protected) @property @pulumi.getter(name="automaticBackupRetention") @@ -3675,24 +4238,49 @@ def __init__(__self__, *, :param pulumi.Input[str] status: The state of the endpoints, as far as it can seen from the DB System. There may be some inconsistency with the actual state of the MySQL service. :param pulumi.Input[str] status_details: Additional information about the current endpoint status. """ + MysqlDbSystemEndpointArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + hostname=hostname, + ip_address=ip_address, + modes=modes, + port=port, + port_x=port_x, + resource_id=resource_id, + resource_type=resource_type, + status=status, + status_details=status_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hostname: Optional[pulumi.Input[str]] = None, + ip_address: Optional[pulumi.Input[str]] = None, + modes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + port: Optional[pulumi.Input[int]] = None, + port_x: Optional[pulumi.Input[int]] = None, + resource_id: Optional[pulumi.Input[str]] = None, + resource_type: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[str]] = None, + status_details: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if hostname is not None: - pulumi.set(__self__, "hostname", hostname) + _setter("hostname", hostname) if ip_address is not None: - pulumi.set(__self__, "ip_address", ip_address) + _setter("ip_address", ip_address) if modes is not None: - pulumi.set(__self__, "modes", modes) + _setter("modes", modes) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if port_x is not None: - pulumi.set(__self__, "port_x", port_x) + _setter("port_x", port_x) if resource_id is not None: - pulumi.set(__self__, "resource_id", resource_id) + _setter("resource_id", resource_id) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if status_details is not None: - pulumi.set(__self__, "status_details", status_details) + _setter("status_details", status_details) @property @pulumi.getter @@ -3821,18 +4409,37 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the DB System was created. :param pulumi.Input[str] time_updated: The time the DB System was last updated. """ + MysqlDbSystemHeatWaveClusterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + cluster_size=cluster_size, + is_lakehouse_enabled=is_lakehouse_enabled, + shape_name=shape_name, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cluster_size: Optional[pulumi.Input[int]] = None, + is_lakehouse_enabled: Optional[pulumi.Input[bool]] = None, + shape_name: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if cluster_size is not None: - pulumi.set(__self__, "cluster_size", cluster_size) + _setter("cluster_size", cluster_size) if is_lakehouse_enabled is not None: - pulumi.set(__self__, "is_lakehouse_enabled", is_lakehouse_enabled) + _setter("is_lakehouse_enabled", is_lakehouse_enabled) if shape_name is not None: - pulumi.set(__self__, "shape_name", shape_name) + _setter("shape_name", shape_name) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="clusterSize") @@ -3923,7 +4530,16 @@ def __init__(__self__, *, If you set the read replica maintenance window to "" or if not specified, the read replica is set same as the DB system maintenance window. """ - pulumi.set(__self__, "window_start_time", window_start_time) + MysqlDbSystemMaintenanceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + window_start_time=window_start_time, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + window_start_time: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("window_start_time", window_start_time) @property @pulumi.getter(name="windowStartTime") @@ -3955,10 +4571,21 @@ def __init__(__self__, *, :param pulumi.Input[str] time_earliest_recovery_point: Earliest recovery time point for the DB System, as described by [RFC 3339](https://tools.ietf.org/rfc/rfc3339). :param pulumi.Input[str] time_latest_recovery_point: Latest recovery time point for the DB System, as described by [RFC 3339](https://tools.ietf.org/rfc/rfc3339). """ + MysqlDbSystemPointInTimeRecoveryDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + time_earliest_recovery_point=time_earliest_recovery_point, + time_latest_recovery_point=time_latest_recovery_point, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + time_earliest_recovery_point: Optional[pulumi.Input[str]] = None, + time_latest_recovery_point: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if time_earliest_recovery_point is not None: - pulumi.set(__self__, "time_earliest_recovery_point", time_earliest_recovery_point) + _setter("time_earliest_recovery_point", time_earliest_recovery_point) if time_latest_recovery_point is not None: - pulumi.set(__self__, "time_latest_recovery_point", time_latest_recovery_point) + _setter("time_latest_recovery_point", time_latest_recovery_point) @property @pulumi.getter(name="timeEarliestRecoveryPoint") @@ -4000,15 +4627,32 @@ def __init__(__self__, *, :param pulumi.Input[str] recovery_point: The date and time, as per RFC 3339, of the change up to which the new DB System shall be restored to, using a backup and logs from the original DB System. In case no point in time is specified, then this new DB System shall be restored up to the latest change recorded for the original DB System. :param pulumi.Input[str] source_url: The Pre-Authenticated Request (PAR) of a bucket/prefix or PAR of a @.manifest.json object from the Object Storage. Check [Using Pre-Authenticated Requests](https://docs.oracle.com/en-us/iaas/Content/Object/Tasks/usingpreauthenticatedrequests.htm) for information related to PAR creation. Please create PAR with "Permit object reads" access type and "Enable Object Listing" permission when using a bucket/prefix PAR. Please create PAR with "Permit object reads" access type when using a @.manifest.json object PAR. """ - pulumi.set(__self__, "source_type", source_type) + MysqlDbSystemSourceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + source_type=source_type, + backup_id=backup_id, + db_system_id=db_system_id, + recovery_point=recovery_point, + source_url=source_url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + source_type: pulumi.Input[str], + backup_id: Optional[pulumi.Input[str]] = None, + db_system_id: Optional[pulumi.Input[str]] = None, + recovery_point: Optional[pulumi.Input[str]] = None, + source_url: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("source_type", source_type) if backup_id is not None: - pulumi.set(__self__, "backup_id", backup_id) + _setter("backup_id", backup_id) if db_system_id is not None: - pulumi.set(__self__, "db_system_id", db_system_id) + _setter("db_system_id", db_system_id) if recovery_point is not None: - pulumi.set(__self__, "recovery_point", recovery_point) + _setter("recovery_point", recovery_point) if source_url is not None: - pulumi.set(__self__, "source_url", source_url) + _setter("source_url", source_url) @property @pulumi.getter(name="sourceType") @@ -4071,16 +4715,105 @@ def source_url(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "source_url", value) +@pulumi.input_type +class ReplicaReplicaOverridesArgs: + def __init__(__self__, *, + configuration_id: Optional[pulumi.Input[str]] = None, + mysql_version: Optional[pulumi.Input[str]] = None, + shape_name: Optional[pulumi.Input[str]] = None): + """ + :param pulumi.Input[str] configuration_id: (Updatable) The OCID of the Configuration to be used by the read replica. + :param pulumi.Input[str] mysql_version: (Updatable) The MySQL version to be used by the read replica. + :param pulumi.Input[str] shape_name: (Updatable) The shape to be used by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. + + + ** 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 + """ + ReplicaReplicaOverridesArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + configuration_id=configuration_id, + mysql_version=mysql_version, + shape_name=shape_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + configuration_id: Optional[pulumi.Input[str]] = None, + mysql_version: Optional[pulumi.Input[str]] = None, + shape_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if configuration_id is not None: + _setter("configuration_id", configuration_id) + if mysql_version is not None: + _setter("mysql_version", mysql_version) + if shape_name is not None: + _setter("shape_name", shape_name) + + @property + @pulumi.getter(name="configurationId") + def configuration_id(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) The OCID of the Configuration to be used by the read replica. + """ + return pulumi.get(self, "configuration_id") + + @configuration_id.setter + def configuration_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "configuration_id", value) + + @property + @pulumi.getter(name="mysqlVersion") + def mysql_version(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) The MySQL version to be used by the read replica. + """ + return pulumi.get(self, "mysql_version") + + @mysql_version.setter + def mysql_version(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "mysql_version", value) + + @property + @pulumi.getter(name="shapeName") + def shape_name(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) The shape to be used by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. + + + ** 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 + """ + return pulumi.get(self, "shape_name") + + @shape_name.setter + def shape_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "shape_name", value) + + @pulumi.input_type class GetChannelsFilterArgs: def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetChannelsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4116,10 +4849,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetMysqlBackupsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4155,10 +4901,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetMysqlConfigurationsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4194,10 +4953,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetMysqlDbSystemsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4233,10 +5005,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetMysqlVersionFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4272,10 +5057,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetReplicasFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4314,10 +5112,23 @@ def __init__(__self__, *, """ :param str name: Name """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetShapesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/mysql/channel.py b/sdk/python/pulumi_oci/mysql/channel.py index 0c658cffa3..07d77a9a76 100644 --- a/sdk/python/pulumi_oci/mysql/channel.py +++ b/sdk/python/pulumi_oci/mysql/channel.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -35,20 +35,43 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` :param pulumi.Input[bool] is_enabled: (Updatable) Whether the Channel should be enabled upon creation. If set to true, the Channel will be asynchronously started as a result of the create Channel operation. """ - pulumi.set(__self__, "source", source) - pulumi.set(__self__, "target", target) + ChannelArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + source=source, + target=target, + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + is_enabled=is_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + source: pulumi.Input['ChannelSourceArgs'], + target: pulumi.Input['ChannelTargetArgs'], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_enabled: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("source", source) + _setter("target", target) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) @property @pulumi.getter @@ -177,30 +200,61 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the Channel was created, as described by [RFC 3339](https://tools.ietf.org/rfc/rfc3339). :param pulumi.Input[str] time_updated: The time the Channel was last updated, as described by [RFC 3339](https://tools.ietf.org/rfc/rfc3339). """ + _ChannelState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + is_enabled=is_enabled, + lifecycle_details=lifecycle_details, + source=source, + state=state, + target=target, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_enabled: Optional[pulumi.Input[bool]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + source: Optional[pulumi.Input['ChannelSourceArgs']] = None, + state: Optional[pulumi.Input[str]] = None, + target: Optional[pulumi.Input['ChannelTargetArgs']] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if source is not None: - pulumi.set(__self__, "source", source) + _setter("source", source) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if target is not None: - pulumi.set(__self__, "target", target) + _setter("target", target) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -414,6 +468,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ChannelArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -442,9 +500,19 @@ def _internal_init(__self__, __props__.__dict__["display_name"] = display_name __props__.__dict__["freeform_tags"] = freeform_tags __props__.__dict__["is_enabled"] = is_enabled + if source is not None and not isinstance(source, ChannelSourceArgs): + source = source or {} + def _setter(key, value): + source[key] = value + ChannelSourceArgs._configure(_setter, **source) if source is None and not opts.urn: raise TypeError("Missing required property 'source'") __props__.__dict__["source"] = source + if target is not None and not isinstance(target, ChannelTargetArgs): + target = target or {} + def _setter(key, value): + target[key] = value + ChannelTargetArgs._configure(_setter, **target) if target is None and not opts.urn: raise TypeError("Missing required property 'target'") __props__.__dict__["target"] = target diff --git a/sdk/python/pulumi_oci/mysql/get_channel.py b/sdk/python/pulumi_oci/mysql/get_channel.py index 17c4531052..7060abc0bc 100644 --- a/sdk/python/pulumi_oci/mysql/get_channel.py +++ b/sdk/python/pulumi_oci/mysql/get_channel.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/mysql/get_channels.py b/sdk/python/pulumi_oci/mysql/get_channels.py index b79c2c3782..98eccf6d0b 100644 --- a/sdk/python/pulumi_oci/mysql/get_channels.py +++ b/sdk/python/pulumi_oci/mysql/get_channels.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/mysql/get_heat_wave_cluster.py b/sdk/python/pulumi_oci/mysql/get_heat_wave_cluster.py index feecbdab16..ba911a8852 100644 --- a/sdk/python/pulumi_oci/mysql/get_heat_wave_cluster.py +++ b/sdk/python/pulumi_oci/mysql/get_heat_wave_cluster.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/mysql/get_mysql_backup.py b/sdk/python/pulumi_oci/mysql/get_mysql_backup.py index c529d82f64..a92178214c 100644 --- a/sdk/python/pulumi_oci/mysql/get_mysql_backup.py +++ b/sdk/python/pulumi_oci/mysql/get_mysql_backup.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/mysql/get_mysql_backups.py b/sdk/python/pulumi_oci/mysql/get_mysql_backups.py index d641d18f6e..d2588cedf7 100644 --- a/sdk/python/pulumi_oci/mysql/get_mysql_backups.py +++ b/sdk/python/pulumi_oci/mysql/get_mysql_backups.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/mysql/get_mysql_configuration.py b/sdk/python/pulumi_oci/mysql/get_mysql_configuration.py index 5d790d2d46..e57dc5b0c6 100644 --- a/sdk/python/pulumi_oci/mysql/get_mysql_configuration.py +++ b/sdk/python/pulumi_oci/mysql/get_mysql_configuration.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/mysql/get_mysql_configurations.py b/sdk/python/pulumi_oci/mysql/get_mysql_configurations.py index deb5d88ffe..09888c520f 100644 --- a/sdk/python/pulumi_oci/mysql/get_mysql_configurations.py +++ b/sdk/python/pulumi_oci/mysql/get_mysql_configurations.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/mysql/get_mysql_db_system.py b/sdk/python/pulumi_oci/mysql/get_mysql_db_system.py index e679acb798..ad03ca755d 100644 --- a/sdk/python/pulumi_oci/mysql/get_mysql_db_system.py +++ b/sdk/python/pulumi_oci/mysql/get_mysql_db_system.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/mysql/get_mysql_db_systems.py b/sdk/python/pulumi_oci/mysql/get_mysql_db_systems.py index 8257375ae5..564de5b273 100644 --- a/sdk/python/pulumi_oci/mysql/get_mysql_db_systems.py +++ b/sdk/python/pulumi_oci/mysql/get_mysql_db_systems.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/mysql/get_mysql_version.py b/sdk/python/pulumi_oci/mysql/get_mysql_version.py index e3df0a90fc..a0f1a2de1b 100644 --- a/sdk/python/pulumi_oci/mysql/get_mysql_version.py +++ b/sdk/python/pulumi_oci/mysql/get_mysql_version.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/mysql/get_replica.py b/sdk/python/pulumi_oci/mysql/get_replica.py index b73075330a..09b2b3569a 100644 --- a/sdk/python/pulumi_oci/mysql/get_replica.py +++ b/sdk/python/pulumi_oci/mysql/get_replica.py @@ -6,8 +6,9 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities +from . import outputs __all__ = [ 'GetReplicaResult', @@ -21,13 +22,16 @@ class GetReplicaResult: """ A collection of values returned by getReplica. """ - def __init__(__self__, availability_domain=None, compartment_id=None, db_system_id=None, defined_tags=None, description=None, display_name=None, fault_domain=None, freeform_tags=None, id=None, ip_address=None, is_delete_protected=None, lifecycle_details=None, mysql_version=None, port=None, port_x=None, replica_id=None, state=None, time_created=None, time_updated=None): + def __init__(__self__, availability_domain=None, compartment_id=None, configuration_id=None, db_system_id=None, defined_tags=None, description=None, display_name=None, fault_domain=None, freeform_tags=None, id=None, ip_address=None, is_delete_protected=None, lifecycle_details=None, mysql_version=None, port=None, port_x=None, replica_id=None, replica_overrides=None, shape_name=None, state=None, time_created=None, time_updated=None): if availability_domain and not isinstance(availability_domain, str): raise TypeError("Expected argument 'availability_domain' to be a str") pulumi.set(__self__, "availability_domain", availability_domain) if compartment_id and not isinstance(compartment_id, str): raise TypeError("Expected argument 'compartment_id' to be a str") pulumi.set(__self__, "compartment_id", compartment_id) + if configuration_id and not isinstance(configuration_id, str): + raise TypeError("Expected argument 'configuration_id' to be a str") + pulumi.set(__self__, "configuration_id", configuration_id) if db_system_id and not isinstance(db_system_id, str): raise TypeError("Expected argument 'db_system_id' to be a str") pulumi.set(__self__, "db_system_id", db_system_id) @@ -70,6 +74,12 @@ def __init__(__self__, availability_domain=None, compartment_id=None, db_system_ if replica_id and not isinstance(replica_id, str): raise TypeError("Expected argument 'replica_id' to be a str") pulumi.set(__self__, "replica_id", replica_id) + if replica_overrides and not isinstance(replica_overrides, list): + raise TypeError("Expected argument 'replica_overrides' to be a list") + pulumi.set(__self__, "replica_overrides", replica_overrides) + if shape_name and not isinstance(shape_name, str): + raise TypeError("Expected argument 'shape_name' to be a str") + pulumi.set(__self__, "shape_name", shape_name) if state and not isinstance(state, str): raise TypeError("Expected argument 'state' to be a str") pulumi.set(__self__, "state", state) @@ -96,6 +106,14 @@ def compartment_id(self) -> str: """ return pulumi.get(self, "compartment_id") + @property + @pulumi.getter(name="configurationId") + def configuration_id(self) -> str: + """ + The OCID of the Configuration to be used by the read replica. + """ + return pulumi.get(self, "configuration_id") + @property @pulumi.getter(name="dbSystemId") def db_system_id(self) -> str: @@ -180,7 +198,7 @@ def lifecycle_details(self) -> str: @pulumi.getter(name="mysqlVersion") def mysql_version(self) -> str: """ - The MySQL version used by the read replica. + The MySQL version to be used by the read replica. """ return pulumi.get(self, "mysql_version") @@ -205,6 +223,22 @@ def port_x(self) -> int: def replica_id(self) -> str: return pulumi.get(self, "replica_id") + @property + @pulumi.getter(name="replicaOverrides") + def replica_overrides(self) -> Sequence['outputs.GetReplicaReplicaOverrideResult']: + """ + By default a read replica inherits the MySQL version, shape, and configuration of the source DB system. If you want to override any of these, provide values in the properties, mysqlVersion, shapeName, and configurationId. If you set a property value to "", then the value is inherited from its source DB system. + """ + return pulumi.get(self, "replica_overrides") + + @property + @pulumi.getter(name="shapeName") + def shape_name(self) -> str: + """ + The shape currently in use by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. + """ + return pulumi.get(self, "shape_name") + @property @pulumi.getter def state(self) -> str: @@ -238,6 +272,7 @@ def __await__(self): return GetReplicaResult( availability_domain=self.availability_domain, compartment_id=self.compartment_id, + configuration_id=self.configuration_id, db_system_id=self.db_system_id, defined_tags=self.defined_tags, description=self.description, @@ -252,6 +287,8 @@ def __await__(self): port=self.port, port_x=self.port_x, replica_id=self.replica_id, + replica_overrides=self.replica_overrides, + shape_name=self.shape_name, state=self.state, time_created=self.time_created, time_updated=self.time_updated) @@ -284,6 +321,7 @@ def get_replica(replica_id: Optional[str] = None, return AwaitableGetReplicaResult( availability_domain=pulumi.get(__ret__, 'availability_domain'), compartment_id=pulumi.get(__ret__, 'compartment_id'), + configuration_id=pulumi.get(__ret__, 'configuration_id'), db_system_id=pulumi.get(__ret__, 'db_system_id'), defined_tags=pulumi.get(__ret__, 'defined_tags'), description=pulumi.get(__ret__, 'description'), @@ -298,6 +336,8 @@ def get_replica(replica_id: Optional[str] = None, port=pulumi.get(__ret__, 'port'), port_x=pulumi.get(__ret__, 'port_x'), replica_id=pulumi.get(__ret__, 'replica_id'), + replica_overrides=pulumi.get(__ret__, 'replica_overrides'), + shape_name=pulumi.get(__ret__, 'shape_name'), state=pulumi.get(__ret__, 'state'), time_created=pulumi.get(__ret__, 'time_created'), time_updated=pulumi.get(__ret__, 'time_updated')) diff --git a/sdk/python/pulumi_oci/mysql/get_replicas.py b/sdk/python/pulumi_oci/mysql/get_replicas.py index cd66e344e2..f8226a9717 100644 --- a/sdk/python/pulumi_oci/mysql/get_replicas.py +++ b/sdk/python/pulumi_oci/mysql/get_replicas.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -23,10 +23,13 @@ class GetReplicasResult: """ A collection of values returned by getReplicas. """ - def __init__(__self__, compartment_id=None, db_system_id=None, display_name=None, filters=None, id=None, replica_id=None, replicas=None, state=None): + def __init__(__self__, compartment_id=None, configuration_id=None, db_system_id=None, display_name=None, filters=None, id=None, is_up_to_date=None, replica_id=None, replicas=None, state=None): if compartment_id and not isinstance(compartment_id, str): raise TypeError("Expected argument 'compartment_id' to be a str") pulumi.set(__self__, "compartment_id", compartment_id) + if configuration_id and not isinstance(configuration_id, str): + raise TypeError("Expected argument 'configuration_id' to be a str") + pulumi.set(__self__, "configuration_id", configuration_id) if db_system_id and not isinstance(db_system_id, str): raise TypeError("Expected argument 'db_system_id' to be a str") pulumi.set(__self__, "db_system_id", db_system_id) @@ -39,6 +42,9 @@ def __init__(__self__, compartment_id=None, db_system_id=None, display_name=None if id and not isinstance(id, str): raise TypeError("Expected argument 'id' to be a str") pulumi.set(__self__, "id", id) + if is_up_to_date and not isinstance(is_up_to_date, bool): + raise TypeError("Expected argument 'is_up_to_date' to be a bool") + pulumi.set(__self__, "is_up_to_date", is_up_to_date) if replica_id and not isinstance(replica_id, str): raise TypeError("Expected argument 'replica_id' to be a str") pulumi.set(__self__, "replica_id", replica_id) @@ -57,6 +63,14 @@ def compartment_id(self) -> str: """ return pulumi.get(self, "compartment_id") + @property + @pulumi.getter(name="configurationId") + def configuration_id(self) -> Optional[str]: + """ + The OCID of the Configuration to be used by the read replica. + """ + return pulumi.get(self, "configuration_id") + @property @pulumi.getter(name="dbSystemId") def db_system_id(self) -> Optional[str]: @@ -86,6 +100,11 @@ def id(self) -> str: """ return pulumi.get(self, "id") + @property + @pulumi.getter(name="isUpToDate") + def is_up_to_date(self) -> Optional[bool]: + return pulumi.get(self, "is_up_to_date") + @property @pulumi.getter(name="replicaId") def replica_id(self) -> Optional[str]: @@ -115,19 +134,23 @@ def __await__(self): yield self return GetReplicasResult( compartment_id=self.compartment_id, + configuration_id=self.configuration_id, db_system_id=self.db_system_id, display_name=self.display_name, filters=self.filters, id=self.id, + is_up_to_date=self.is_up_to_date, replica_id=self.replica_id, replicas=self.replicas, state=self.state) def get_replicas(compartment_id: Optional[str] = None, + configuration_id: Optional[str] = None, db_system_id: Optional[str] = None, display_name: Optional[str] = None, filters: Optional[Sequence[pulumi.InputType['GetReplicasFilterArgs']]] = None, + is_up_to_date: Optional[bool] = None, replica_id: Optional[str] = None, state: Optional[str] = None, opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetReplicasResult: @@ -143,24 +166,30 @@ def get_replicas(compartment_id: Optional[str] = None, import pulumi_oci as oci test_replicas = oci.Mysql.get_replicas(compartment_id=var["compartment_id"], + configuration_id=oci_mysql_mysql_configuration["test_mysql_configuration"]["id"], db_system_id=oci_mysql_mysql_db_system["test_mysql_db_system"]["id"], display_name=var["replica_display_name"], + is_up_to_date=var["replica_is_up_to_date"], replica_id=oci_mysql_replica["test_replica"]["id"], state=var["replica_state"]) ``` :param str compartment_id: The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + :param str configuration_id: The requested Configuration instance. :param str db_system_id: The DB System [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). :param str display_name: A filter to return only the resource matching the given display name exactly. + :param bool is_up_to_date: Filter instances if they are using the latest revision of the Configuration they are associated with. :param str replica_id: The read replica [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). :param str state: The LifecycleState of the read replica. """ __args__ = dict() __args__['compartmentId'] = compartment_id + __args__['configurationId'] = configuration_id __args__['dbSystemId'] = db_system_id __args__['displayName'] = display_name __args__['filters'] = filters + __args__['isUpToDate'] = is_up_to_date __args__['replicaId'] = replica_id __args__['state'] = state opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) @@ -168,10 +197,12 @@ def get_replicas(compartment_id: Optional[str] = None, return AwaitableGetReplicasResult( compartment_id=pulumi.get(__ret__, 'compartment_id'), + configuration_id=pulumi.get(__ret__, 'configuration_id'), db_system_id=pulumi.get(__ret__, 'db_system_id'), display_name=pulumi.get(__ret__, 'display_name'), filters=pulumi.get(__ret__, 'filters'), id=pulumi.get(__ret__, 'id'), + is_up_to_date=pulumi.get(__ret__, 'is_up_to_date'), replica_id=pulumi.get(__ret__, 'replica_id'), replicas=pulumi.get(__ret__, 'replicas'), state=pulumi.get(__ret__, 'state')) @@ -179,9 +210,11 @@ def get_replicas(compartment_id: Optional[str] = None, @_utilities.lift_output_func(get_replicas) def get_replicas_output(compartment_id: Optional[pulumi.Input[str]] = None, + configuration_id: Optional[pulumi.Input[Optional[str]]] = None, db_system_id: Optional[pulumi.Input[Optional[str]]] = None, display_name: Optional[pulumi.Input[Optional[str]]] = None, filters: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetReplicasFilterArgs']]]]] = None, + is_up_to_date: Optional[pulumi.Input[Optional[bool]]] = None, replica_id: Optional[pulumi.Input[Optional[str]]] = None, state: Optional[pulumi.Input[Optional[str]]] = None, opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetReplicasResult]: @@ -197,16 +230,20 @@ def get_replicas_output(compartment_id: Optional[pulumi.Input[str]] = None, import pulumi_oci as oci test_replicas = oci.Mysql.get_replicas(compartment_id=var["compartment_id"], + configuration_id=oci_mysql_mysql_configuration["test_mysql_configuration"]["id"], db_system_id=oci_mysql_mysql_db_system["test_mysql_db_system"]["id"], display_name=var["replica_display_name"], + is_up_to_date=var["replica_is_up_to_date"], replica_id=oci_mysql_replica["test_replica"]["id"], state=var["replica_state"]) ``` :param str compartment_id: The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + :param str configuration_id: The requested Configuration instance. :param str db_system_id: The DB System [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). :param str display_name: A filter to return only the resource matching the given display name exactly. + :param bool is_up_to_date: Filter instances if they are using the latest revision of the Configuration they are associated with. :param str replica_id: The read replica [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). :param str state: The LifecycleState of the read replica. """ diff --git a/sdk/python/pulumi_oci/mysql/get_shapes.py b/sdk/python/pulumi_oci/mysql/get_shapes.py index 26abfe5048..1453932146 100644 --- a/sdk/python/pulumi_oci/mysql/get_shapes.py +++ b/sdk/python/pulumi_oci/mysql/get_shapes.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/mysql/heat_wave_cluster.py b/sdk/python/pulumi_oci/mysql/heat_wave_cluster.py index 6983efd201..602416a9a7 100644 --- a/sdk/python/pulumi_oci/mysql/heat_wave_cluster.py +++ b/sdk/python/pulumi_oci/mysql/heat_wave_cluster.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -32,13 +32,30 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "cluster_size", cluster_size) - pulumi.set(__self__, "db_system_id", db_system_id) - pulumi.set(__self__, "shape_name", shape_name) + HeatWaveClusterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + cluster_size=cluster_size, + db_system_id=db_system_id, + shape_name=shape_name, + is_lakehouse_enabled=is_lakehouse_enabled, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cluster_size: pulumi.Input[int], + db_system_id: pulumi.Input[str], + shape_name: pulumi.Input[str], + is_lakehouse_enabled: Optional[pulumi.Input[bool]] = None, + state: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cluster_size", cluster_size) + _setter("db_system_id", db_system_id) + _setter("shape_name", shape_name) if is_lakehouse_enabled is not None: - pulumi.set(__self__, "is_lakehouse_enabled", is_lakehouse_enabled) + _setter("is_lakehouse_enabled", is_lakehouse_enabled) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) @property @pulumi.getter(name="clusterSize") @@ -131,24 +148,49 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the HeatWave cluster was created, as described by [RFC 3339](https://tools.ietf.org/rfc/rfc3339). :param pulumi.Input[str] time_updated: The time the HeatWave cluster was last updated, as described by [RFC 3339](https://tools.ietf.org/rfc/rfc3339). """ + _HeatWaveClusterState._configure( + lambda key, value: pulumi.set(__self__, key, value), + cluster_nodes=cluster_nodes, + cluster_size=cluster_size, + db_system_id=db_system_id, + is_lakehouse_enabled=is_lakehouse_enabled, + lifecycle_details=lifecycle_details, + shape_name=shape_name, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cluster_nodes: Optional[pulumi.Input[Sequence[pulumi.Input['HeatWaveClusterClusterNodeArgs']]]] = None, + cluster_size: Optional[pulumi.Input[int]] = None, + db_system_id: Optional[pulumi.Input[str]] = None, + is_lakehouse_enabled: Optional[pulumi.Input[bool]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + shape_name: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if cluster_nodes is not None: - pulumi.set(__self__, "cluster_nodes", cluster_nodes) + _setter("cluster_nodes", cluster_nodes) if cluster_size is not None: - pulumi.set(__self__, "cluster_size", cluster_size) + _setter("cluster_size", cluster_size) if db_system_id is not None: - pulumi.set(__self__, "db_system_id", db_system_id) + _setter("db_system_id", db_system_id) if is_lakehouse_enabled is not None: - pulumi.set(__self__, "is_lakehouse_enabled", is_lakehouse_enabled) + _setter("is_lakehouse_enabled", is_lakehouse_enabled) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if shape_name is not None: - pulumi.set(__self__, "shape_name", shape_name) + _setter("shape_name", shape_name) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="clusterNodes") @@ -352,6 +394,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + HeatWaveClusterArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/mysql/mysql_backup.py b/sdk/python/pulumi_oci/mysql/mysql_backup.py index ef9e37a3fb..dfb30f88b5 100644 --- a/sdk/python/pulumi_oci/mysql/mysql_backup.py +++ b/sdk/python/pulumi_oci/mysql/mysql_backup.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -39,21 +39,44 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "db_system_id", db_system_id) + MysqlBackupArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_system_id=db_system_id, + backup_type=backup_type, + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + retention_in_days=retention_in_days, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_system_id: pulumi.Input[str], + backup_type: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + retention_in_days: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("db_system_id", db_system_id) if backup_type is not None: - pulumi.set(__self__, "backup_type", backup_type) + _setter("backup_type", backup_type) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if retention_in_days is not None: - pulumi.set(__self__, "retention_in_days", retention_in_days) + _setter("retention_in_days", retention_in_days) @property @pulumi.getter(name="dbSystemId") @@ -202,42 +225,85 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The time the backup record was created. :param pulumi.Input[str] time_updated: The time at which the backup was updated. """ + _MysqlBackupState._configure( + lambda key, value: pulumi.set(__self__, key, value), + backup_size_in_gbs=backup_size_in_gbs, + backup_type=backup_type, + compartment_id=compartment_id, + creation_type=creation_type, + data_storage_size_in_gb=data_storage_size_in_gb, + db_system_id=db_system_id, + db_system_snapshots=db_system_snapshots, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + mysql_version=mysql_version, + retention_in_days=retention_in_days, + shape_name=shape_name, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backup_size_in_gbs: Optional[pulumi.Input[int]] = None, + backup_type: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + creation_type: Optional[pulumi.Input[str]] = None, + data_storage_size_in_gb: Optional[pulumi.Input[int]] = None, + db_system_id: Optional[pulumi.Input[str]] = None, + db_system_snapshots: Optional[pulumi.Input[Sequence[pulumi.Input['MysqlBackupDbSystemSnapshotArgs']]]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + mysql_version: Optional[pulumi.Input[str]] = None, + retention_in_days: Optional[pulumi.Input[int]] = None, + shape_name: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if backup_size_in_gbs is not None: - pulumi.set(__self__, "backup_size_in_gbs", backup_size_in_gbs) + _setter("backup_size_in_gbs", backup_size_in_gbs) if backup_type is not None: - pulumi.set(__self__, "backup_type", backup_type) + _setter("backup_type", backup_type) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if creation_type is not None: - pulumi.set(__self__, "creation_type", creation_type) + _setter("creation_type", creation_type) if data_storage_size_in_gb is not None: - pulumi.set(__self__, "data_storage_size_in_gb", data_storage_size_in_gb) + _setter("data_storage_size_in_gb", data_storage_size_in_gb) if db_system_id is not None: - pulumi.set(__self__, "db_system_id", db_system_id) + _setter("db_system_id", db_system_id) if db_system_snapshots is not None: - pulumi.set(__self__, "db_system_snapshots", db_system_snapshots) + _setter("db_system_snapshots", db_system_snapshots) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if mysql_version is not None: - pulumi.set(__self__, "mysql_version", mysql_version) + _setter("mysql_version", mysql_version) if retention_in_days is not None: - pulumi.set(__self__, "retention_in_days", retention_in_days) + _setter("retention_in_days", retention_in_days) if shape_name is not None: - pulumi.set(__self__, "shape_name", shape_name) + _setter("shape_name", shape_name) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="backupSizeInGbs") @@ -571,6 +637,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + MysqlBackupArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/mysql/mysql_configuration.py b/sdk/python/pulumi_oci/mysql/mysql_configuration.py index 9d7060a131..c1228b7a94 100644 --- a/sdk/python/pulumi_oci/mysql/mysql_configuration.py +++ b/sdk/python/pulumi_oci/mysql/mysql_configuration.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -37,22 +37,47 @@ def __init__(__self__, *, :param pulumi.Input[str] parent_configuration_id: The OCID of the Configuration from which the new Configuration is derived. The values in CreateConfigurationDetails.variables supersede the variables of the parent Configuration. :param pulumi.Input['MysqlConfigurationVariablesArgs'] variables: User-defined service variables. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "shape_name", shape_name) + MysqlConfigurationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + shape_name=shape_name, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + init_variables=init_variables, + parent_configuration_id=parent_configuration_id, + variables=variables, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + shape_name: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + init_variables: Optional[pulumi.Input['MysqlConfigurationInitVariablesArgs']] = None, + parent_configuration_id: Optional[pulumi.Input[str]] = None, + variables: Optional[pulumi.Input['MysqlConfigurationVariablesArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("shape_name", shape_name) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if init_variables is not None: - pulumi.set(__self__, "init_variables", init_variables) + _setter("init_variables", init_variables) if parent_configuration_id is not None: - pulumi.set(__self__, "parent_configuration_id", parent_configuration_id) + _setter("parent_configuration_id", parent_configuration_id) if variables is not None: - pulumi.set(__self__, "variables", variables) + _setter("variables", variables) @property @pulumi.getter(name="compartmentId") @@ -195,32 +220,65 @@ def __init__(__self__, *, :param pulumi.Input[str] type: The Configuration type, DEFAULT or CUSTOM. :param pulumi.Input['MysqlConfigurationVariablesArgs'] variables: User-defined service variables. """ + _MysqlConfigurationState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + init_variables=init_variables, + parent_configuration_id=parent_configuration_id, + shape_name=shape_name, + state=state, + time_created=time_created, + time_updated=time_updated, + type=type, + variables=variables, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + init_variables: Optional[pulumi.Input['MysqlConfigurationInitVariablesArgs']] = None, + parent_configuration_id: Optional[pulumi.Input[str]] = None, + shape_name: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + variables: Optional[pulumi.Input['MysqlConfigurationVariablesArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if init_variables is not None: - pulumi.set(__self__, "init_variables", init_variables) + _setter("init_variables", init_variables) if parent_configuration_id is not None: - pulumi.set(__self__, "parent_configuration_id", parent_configuration_id) + _setter("parent_configuration_id", parent_configuration_id) if shape_name is not None: - pulumi.set(__self__, "shape_name", shape_name) + _setter("shape_name", shape_name) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if variables is not None: - pulumi.set(__self__, "variables", variables) + _setter("variables", variables) @property @pulumi.getter(name="compartmentId") @@ -656,6 +714,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + MysqlConfigurationArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -686,11 +748,21 @@ def _internal_init(__self__, __props__.__dict__["description"] = description __props__.__dict__["display_name"] = display_name __props__.__dict__["freeform_tags"] = freeform_tags + if init_variables is not None and not isinstance(init_variables, MysqlConfigurationInitVariablesArgs): + init_variables = init_variables or {} + def _setter(key, value): + init_variables[key] = value + MysqlConfigurationInitVariablesArgs._configure(_setter, **init_variables) __props__.__dict__["init_variables"] = init_variables __props__.__dict__["parent_configuration_id"] = parent_configuration_id if shape_name is None and not opts.urn: raise TypeError("Missing required property 'shape_name'") __props__.__dict__["shape_name"] = shape_name + if variables is not None and not isinstance(variables, MysqlConfigurationVariablesArgs): + variables = variables or {} + def _setter(key, value): + variables[key] = value + MysqlConfigurationVariablesArgs._configure(_setter, **variables) __props__.__dict__["variables"] = variables __props__.__dict__["state"] = None __props__.__dict__["time_created"] = None diff --git a/sdk/python/pulumi_oci/mysql/mysql_db_system.py b/sdk/python/pulumi_oci/mysql/mysql_db_system.py index 5b755c7b3b..f178d460b5 100644 --- a/sdk/python/pulumi_oci/mysql/mysql_db_system.py +++ b/sdk/python/pulumi_oci/mysql/mysql_db_system.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -89,54 +89,113 @@ def __init__(__self__, *, :param pulumi.Input['MysqlDbSystemSourceArgs'] source: Parameters detailing how to provision the initial data of the system. :param pulumi.Input[str] state: (Updatable) The target state for the DB System. Could be set to `ACTIVE` or `INACTIVE`. """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "shape_name", shape_name) - pulumi.set(__self__, "subnet_id", subnet_id) + MysqlDbSystemArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + compartment_id=compartment_id, + shape_name=shape_name, + subnet_id=subnet_id, + admin_password=admin_password, + admin_username=admin_username, + backup_policy=backup_policy, + configuration_id=configuration_id, + crash_recovery=crash_recovery, + data_storage_size_in_gb=data_storage_size_in_gb, + defined_tags=defined_tags, + deletion_policies=deletion_policies, + description=description, + display_name=display_name, + fault_domain=fault_domain, + freeform_tags=freeform_tags, + hostname_label=hostname_label, + ip_address=ip_address, + is_highly_available=is_highly_available, + maintenance=maintenance, + mysql_version=mysql_version, + port=port, + port_x=port_x, + shutdown_type=shutdown_type, + source=source, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: pulumi.Input[str], + compartment_id: pulumi.Input[str], + shape_name: pulumi.Input[str], + subnet_id: pulumi.Input[str], + admin_password: Optional[pulumi.Input[str]] = None, + admin_username: Optional[pulumi.Input[str]] = None, + backup_policy: Optional[pulumi.Input['MysqlDbSystemBackupPolicyArgs']] = None, + configuration_id: Optional[pulumi.Input[str]] = None, + crash_recovery: Optional[pulumi.Input[str]] = None, + data_storage_size_in_gb: Optional[pulumi.Input[int]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + deletion_policies: Optional[pulumi.Input[Sequence[pulumi.Input['MysqlDbSystemDeletionPolicyArgs']]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + fault_domain: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + hostname_label: Optional[pulumi.Input[str]] = None, + ip_address: Optional[pulumi.Input[str]] = None, + is_highly_available: Optional[pulumi.Input[bool]] = None, + maintenance: Optional[pulumi.Input['MysqlDbSystemMaintenanceArgs']] = None, + mysql_version: Optional[pulumi.Input[str]] = None, + port: Optional[pulumi.Input[int]] = None, + port_x: Optional[pulumi.Input[int]] = None, + shutdown_type: Optional[pulumi.Input[str]] = None, + source: Optional[pulumi.Input['MysqlDbSystemSourceArgs']] = None, + state: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("compartment_id", compartment_id) + _setter("shape_name", shape_name) + _setter("subnet_id", subnet_id) if admin_password is not None: - pulumi.set(__self__, "admin_password", admin_password) + _setter("admin_password", admin_password) if admin_username is not None: - pulumi.set(__self__, "admin_username", admin_username) + _setter("admin_username", admin_username) if backup_policy is not None: - pulumi.set(__self__, "backup_policy", backup_policy) + _setter("backup_policy", backup_policy) if configuration_id is not None: - pulumi.set(__self__, "configuration_id", configuration_id) + _setter("configuration_id", configuration_id) if crash_recovery is not None: - pulumi.set(__self__, "crash_recovery", crash_recovery) + _setter("crash_recovery", crash_recovery) if data_storage_size_in_gb is not None: - pulumi.set(__self__, "data_storage_size_in_gb", data_storage_size_in_gb) + _setter("data_storage_size_in_gb", data_storage_size_in_gb) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if deletion_policies is not None: - pulumi.set(__self__, "deletion_policies", deletion_policies) + _setter("deletion_policies", deletion_policies) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if fault_domain is not None: - pulumi.set(__self__, "fault_domain", fault_domain) + _setter("fault_domain", fault_domain) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if hostname_label is not None: - pulumi.set(__self__, "hostname_label", hostname_label) + _setter("hostname_label", hostname_label) if ip_address is not None: - pulumi.set(__self__, "ip_address", ip_address) + _setter("ip_address", ip_address) if is_highly_available is not None: - pulumi.set(__self__, "is_highly_available", is_highly_available) + _setter("is_highly_available", is_highly_available) if maintenance is not None: - pulumi.set(__self__, "maintenance", maintenance) + _setter("maintenance", maintenance) if mysql_version is not None: - pulumi.set(__self__, "mysql_version", mysql_version) + _setter("mysql_version", mysql_version) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if port_x is not None: - pulumi.set(__self__, "port_x", port_x) + _setter("port_x", port_x) if shutdown_type is not None: - pulumi.set(__self__, "shutdown_type", shutdown_type) + _setter("shutdown_type", shutdown_type) if source is not None: - pulumi.set(__self__, "source", source) + _setter("source", source) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) @property @pulumi.getter(name="availabilityDomain") @@ -563,76 +622,153 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the DB System was created. :param pulumi.Input[str] time_updated: The time the DB System was last updated. """ + _MysqlDbSystemState._configure( + lambda key, value: pulumi.set(__self__, key, value), + admin_password=admin_password, + admin_username=admin_username, + availability_domain=availability_domain, + backup_policy=backup_policy, + channels=channels, + compartment_id=compartment_id, + configuration_id=configuration_id, + crash_recovery=crash_recovery, + current_placements=current_placements, + data_storage_size_in_gb=data_storage_size_in_gb, + defined_tags=defined_tags, + deletion_policies=deletion_policies, + description=description, + display_name=display_name, + endpoints=endpoints, + fault_domain=fault_domain, + freeform_tags=freeform_tags, + heat_wave_clusters=heat_wave_clusters, + hostname_label=hostname_label, + ip_address=ip_address, + is_heat_wave_cluster_attached=is_heat_wave_cluster_attached, + is_highly_available=is_highly_available, + lifecycle_details=lifecycle_details, + maintenance=maintenance, + mysql_version=mysql_version, + point_in_time_recovery_details=point_in_time_recovery_details, + port=port, + port_x=port_x, + shape_name=shape_name, + shutdown_type=shutdown_type, + source=source, + state=state, + subnet_id=subnet_id, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + admin_password: Optional[pulumi.Input[str]] = None, + admin_username: Optional[pulumi.Input[str]] = None, + availability_domain: Optional[pulumi.Input[str]] = None, + backup_policy: Optional[pulumi.Input['MysqlDbSystemBackupPolicyArgs']] = None, + channels: Optional[pulumi.Input[Sequence[pulumi.Input['MysqlDbSystemChannelArgs']]]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + configuration_id: Optional[pulumi.Input[str]] = None, + crash_recovery: Optional[pulumi.Input[str]] = None, + current_placements: Optional[pulumi.Input[Sequence[pulumi.Input['MysqlDbSystemCurrentPlacementArgs']]]] = None, + data_storage_size_in_gb: Optional[pulumi.Input[int]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + deletion_policies: Optional[pulumi.Input[Sequence[pulumi.Input['MysqlDbSystemDeletionPolicyArgs']]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + endpoints: Optional[pulumi.Input[Sequence[pulumi.Input['MysqlDbSystemEndpointArgs']]]] = None, + fault_domain: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + heat_wave_clusters: Optional[pulumi.Input[Sequence[pulumi.Input['MysqlDbSystemHeatWaveClusterArgs']]]] = None, + hostname_label: Optional[pulumi.Input[str]] = None, + ip_address: Optional[pulumi.Input[str]] = None, + is_heat_wave_cluster_attached: Optional[pulumi.Input[bool]] = None, + is_highly_available: Optional[pulumi.Input[bool]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + maintenance: Optional[pulumi.Input['MysqlDbSystemMaintenanceArgs']] = None, + mysql_version: Optional[pulumi.Input[str]] = None, + point_in_time_recovery_details: Optional[pulumi.Input[Sequence[pulumi.Input['MysqlDbSystemPointInTimeRecoveryDetailArgs']]]] = None, + port: Optional[pulumi.Input[int]] = None, + port_x: Optional[pulumi.Input[int]] = None, + shape_name: Optional[pulumi.Input[str]] = None, + shutdown_type: Optional[pulumi.Input[str]] = None, + source: Optional[pulumi.Input['MysqlDbSystemSourceArgs']] = None, + state: Optional[pulumi.Input[str]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if admin_password is not None: - pulumi.set(__self__, "admin_password", admin_password) + _setter("admin_password", admin_password) if admin_username is not None: - pulumi.set(__self__, "admin_username", admin_username) + _setter("admin_username", admin_username) if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if backup_policy is not None: - pulumi.set(__self__, "backup_policy", backup_policy) + _setter("backup_policy", backup_policy) if channels is not None: - pulumi.set(__self__, "channels", channels) + _setter("channels", channels) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if configuration_id is not None: - pulumi.set(__self__, "configuration_id", configuration_id) + _setter("configuration_id", configuration_id) if crash_recovery is not None: - pulumi.set(__self__, "crash_recovery", crash_recovery) + _setter("crash_recovery", crash_recovery) if current_placements is not None: - pulumi.set(__self__, "current_placements", current_placements) + _setter("current_placements", current_placements) if data_storage_size_in_gb is not None: - pulumi.set(__self__, "data_storage_size_in_gb", data_storage_size_in_gb) + _setter("data_storage_size_in_gb", data_storage_size_in_gb) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if deletion_policies is not None: - pulumi.set(__self__, "deletion_policies", deletion_policies) + _setter("deletion_policies", deletion_policies) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if endpoints is not None: - pulumi.set(__self__, "endpoints", endpoints) + _setter("endpoints", endpoints) if fault_domain is not None: - pulumi.set(__self__, "fault_domain", fault_domain) + _setter("fault_domain", fault_domain) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if heat_wave_clusters is not None: - pulumi.set(__self__, "heat_wave_clusters", heat_wave_clusters) + _setter("heat_wave_clusters", heat_wave_clusters) if hostname_label is not None: - pulumi.set(__self__, "hostname_label", hostname_label) + _setter("hostname_label", hostname_label) if ip_address is not None: - pulumi.set(__self__, "ip_address", ip_address) + _setter("ip_address", ip_address) if is_heat_wave_cluster_attached is not None: - pulumi.set(__self__, "is_heat_wave_cluster_attached", is_heat_wave_cluster_attached) + _setter("is_heat_wave_cluster_attached", is_heat_wave_cluster_attached) if is_highly_available is not None: - pulumi.set(__self__, "is_highly_available", is_highly_available) + _setter("is_highly_available", is_highly_available) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if maintenance is not None: - pulumi.set(__self__, "maintenance", maintenance) + _setter("maintenance", maintenance) if mysql_version is not None: - pulumi.set(__self__, "mysql_version", mysql_version) + _setter("mysql_version", mysql_version) if point_in_time_recovery_details is not None: - pulumi.set(__self__, "point_in_time_recovery_details", point_in_time_recovery_details) + _setter("point_in_time_recovery_details", point_in_time_recovery_details) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if port_x is not None: - pulumi.set(__self__, "port_x", port_x) + _setter("port_x", port_x) if shape_name is not None: - pulumi.set(__self__, "shape_name", shape_name) + _setter("shape_name", shape_name) if shutdown_type is not None: - pulumi.set(__self__, "shutdown_type", shutdown_type) + _setter("shutdown_type", shutdown_type) if source is not None: - pulumi.set(__self__, "source", source) + _setter("source", source) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="adminPassword") @@ -1310,6 +1446,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + MysqlDbSystemArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -1355,6 +1495,11 @@ def _internal_init(__self__, if availability_domain is None and not opts.urn: raise TypeError("Missing required property 'availability_domain'") __props__.__dict__["availability_domain"] = availability_domain + if backup_policy is not None and not isinstance(backup_policy, MysqlDbSystemBackupPolicyArgs): + backup_policy = backup_policy or {} + def _setter(key, value): + backup_policy[key] = value + MysqlDbSystemBackupPolicyArgs._configure(_setter, **backup_policy) __props__.__dict__["backup_policy"] = backup_policy if compartment_id is None and not opts.urn: raise TypeError("Missing required property 'compartment_id'") @@ -1371,6 +1516,11 @@ def _internal_init(__self__, __props__.__dict__["hostname_label"] = hostname_label __props__.__dict__["ip_address"] = ip_address __props__.__dict__["is_highly_available"] = is_highly_available + if maintenance is not None and not isinstance(maintenance, MysqlDbSystemMaintenanceArgs): + maintenance = maintenance or {} + def _setter(key, value): + maintenance[key] = value + MysqlDbSystemMaintenanceArgs._configure(_setter, **maintenance) __props__.__dict__["maintenance"] = maintenance __props__.__dict__["mysql_version"] = mysql_version __props__.__dict__["port"] = port @@ -1379,6 +1529,11 @@ def _internal_init(__self__, raise TypeError("Missing required property 'shape_name'") __props__.__dict__["shape_name"] = shape_name __props__.__dict__["shutdown_type"] = shutdown_type + if source is not None and not isinstance(source, MysqlDbSystemSourceArgs): + source = source or {} + def _setter(key, value): + source[key] = value + MysqlDbSystemSourceArgs._configure(_setter, **source) __props__.__dict__["source"] = source __props__.__dict__["state"] = state if subnet_id is None and not opts.urn: diff --git a/sdk/python/pulumi_oci/mysql/outputs.py b/sdk/python/pulumi_oci/mysql/outputs.py index 43e8f11322..bf9874be31 100644 --- a/sdk/python/pulumi_oci/mysql/outputs.py +++ b/sdk/python/pulumi_oci/mysql/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -40,6 +40,7 @@ 'MysqlDbSystemMaintenance', 'MysqlDbSystemPointInTimeRecoveryDetail', 'MysqlDbSystemSource', + 'ReplicaReplicaOverrides', 'GetChannelSourceResult', 'GetChannelSourceAnonymousTransactionsHandlingResult', 'GetChannelSourceSslCaCertificateResult', @@ -108,8 +109,10 @@ 'GetMysqlVersionFilterResult', 'GetMysqlVersionVersionResult', 'GetMysqlVersionVersionVersionResult', + 'GetReplicaReplicaOverrideResult', 'GetReplicasFilterResult', 'GetReplicasReplicaResult', + 'GetReplicasReplicaReplicaOverrideResult', 'GetShapesFilterResult', 'GetShapesShapeResult', ] @@ -158,17 +161,40 @@ def __init__(__self__, *, :param int port: (Updatable) The port the source MySQL instance listens on. :param 'ChannelSourceSslCaCertificateArgs' ssl_ca_certificate: (Updatable) The CA certificate of the server used for VERIFY_IDENTITY and VERIFY_CA ssl modes. """ - pulumi.set(__self__, "hostname", hostname) - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "source_type", source_type) - pulumi.set(__self__, "ssl_mode", ssl_mode) - pulumi.set(__self__, "username", username) + ChannelSource._configure( + lambda key, value: pulumi.set(__self__, key, value), + hostname=hostname, + password=password, + source_type=source_type, + ssl_mode=ssl_mode, + username=username, + anonymous_transactions_handling=anonymous_transactions_handling, + port=port, + ssl_ca_certificate=ssl_ca_certificate, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hostname: str, + password: str, + source_type: str, + ssl_mode: str, + username: str, + anonymous_transactions_handling: Optional['outputs.ChannelSourceAnonymousTransactionsHandling'] = None, + port: Optional[int] = None, + ssl_ca_certificate: Optional['outputs.ChannelSourceSslCaCertificate'] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("hostname", hostname) + _setter("password", password) + _setter("source_type", source_type) + _setter("ssl_mode", ssl_mode) + _setter("username", username) if anonymous_transactions_handling is not None: - pulumi.set(__self__, "anonymous_transactions_handling", anonymous_transactions_handling) + _setter("anonymous_transactions_handling", anonymous_transactions_handling) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if ssl_ca_certificate is not None: - pulumi.set(__self__, "ssl_ca_certificate", ssl_ca_certificate) + _setter("ssl_ca_certificate", ssl_ca_certificate) @property @pulumi.getter @@ -267,13 +293,28 @@ def __init__(__self__, *, :param str last_configured_log_offset: (Updatable) Specifies one of the coordinates (offset) at which the replica should begin reading the source's log. As this value specifies the point where replication starts from, it is only used once, when it starts. It is never used again, unless a new UpdateChannel operation modifies it. :param str uuid: (Updatable) The UUID that is used as a prefix when generating transaction identifiers for anonymous transactions coming from the source. You can change the UUID later. """ - pulumi.set(__self__, "policy", policy) + ChannelSourceAnonymousTransactionsHandling._configure( + lambda key, value: pulumi.set(__self__, key, value), + policy=policy, + last_configured_log_filename=last_configured_log_filename, + last_configured_log_offset=last_configured_log_offset, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + policy: str, + last_configured_log_filename: Optional[str] = None, + last_configured_log_offset: Optional[str] = None, + uuid: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("policy", policy) if last_configured_log_filename is not None: - pulumi.set(__self__, "last_configured_log_filename", last_configured_log_filename) + _setter("last_configured_log_filename", last_configured_log_filename) if last_configured_log_offset is not None: - pulumi.set(__self__, "last_configured_log_offset", last_configured_log_offset) + _setter("last_configured_log_offset", last_configured_log_offset) if uuid is not None: - pulumi.set(__self__, "uuid", uuid) + _setter("uuid", uuid) @property @pulumi.getter @@ -334,8 +375,19 @@ def __init__(__self__, *, :param str certificate_type: (Updatable) The type of CA certificate. :param str contents: (Updatable) The string containing the CA certificate in PEM format. """ - pulumi.set(__self__, "certificate_type", certificate_type) - pulumi.set(__self__, "contents", contents) + ChannelSourceSslCaCertificate._configure( + lambda key, value: pulumi.set(__self__, key, value), + certificate_type=certificate_type, + contents=contents, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + certificate_type: str, + contents: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("certificate_type", certificate_type) + _setter("contents", contents) @property @pulumi.getter(name="certificateType") @@ -404,18 +456,39 @@ def __init__(__self__, *, :param Sequence['ChannelTargetFilterArgs'] filters: (Updatable) Replication filter rules to be applied at the DB System Channel target. :param str tables_without_primary_key_handling: (Updatable) Specifies how a replication channel handles the creation and alteration of tables that do not have a primary key. The default value is set to ALLOW. """ - pulumi.set(__self__, "db_system_id", db_system_id) - pulumi.set(__self__, "target_type", target_type) + ChannelTarget._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_system_id=db_system_id, + target_type=target_type, + applier_username=applier_username, + channel_name=channel_name, + delay_in_seconds=delay_in_seconds, + filters=filters, + tables_without_primary_key_handling=tables_without_primary_key_handling, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_system_id: str, + target_type: str, + applier_username: Optional[str] = None, + channel_name: Optional[str] = None, + delay_in_seconds: Optional[int] = None, + filters: Optional[Sequence['outputs.ChannelTargetFilter']] = None, + tables_without_primary_key_handling: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("db_system_id", db_system_id) + _setter("target_type", target_type) if applier_username is not None: - pulumi.set(__self__, "applier_username", applier_username) + _setter("applier_username", applier_username) if channel_name is not None: - pulumi.set(__self__, "channel_name", channel_name) + _setter("channel_name", channel_name) if delay_in_seconds is not None: - pulumi.set(__self__, "delay_in_seconds", delay_in_seconds) + _setter("delay_in_seconds", delay_in_seconds) if filters is not None: - pulumi.set(__self__, "filters", filters) + _setter("filters", filters) if tables_without_primary_key_handling is not None: - pulumi.set(__self__, "tables_without_primary_key_handling", tables_without_primary_key_handling) + _setter("tables_without_primary_key_handling", tables_without_primary_key_handling) @property @pulumi.getter(name="dbSystemId") @@ -489,8 +562,19 @@ def __init__(__self__, *, For details on each type, see [Replication Filtering Rules](https://dev.mysql.com/doc/refman/8.0/en/replication-rules.html) :param str value: (Updatable) The body of the filter rule. This can represent a database, a table, or a database pair (represented as "db1->db2"). For more information, see [Replication Filtering Rules](https://dev.mysql.com/doc/refman/8.0/en/replication-rules.html). """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + ChannelTargetFilter._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -548,14 +632,29 @@ def __init__(__self__, *, :param str time_created: The date and time the HeatWave cluster was created, as described by [RFC 3339](https://tools.ietf.org/rfc/rfc3339). :param str time_updated: The time the HeatWave cluster was last updated, as described by [RFC 3339](https://tools.ietf.org/rfc/rfc3339). """ + HeatWaveClusterClusterNode._configure( + lambda key, value: pulumi.set(__self__, key, value), + node_id=node_id, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + node_id: Optional[str] = None, + state: Optional[str] = None, + time_created: Optional[str] = None, + time_updated: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if node_id is not None: - pulumi.set(__self__, "node_id", node_id) + _setter("node_id", node_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="nodeId") @@ -699,54 +798,109 @@ def __init__(__self__, *, :param str shape_name: The shape of the DB System instance used for backup. :param str subnet_id: The OCID of the subnet the DB System is associated with. """ + MysqlBackupDbSystemSnapshot._configure( + lambda key, value: pulumi.set(__self__, key, value), + admin_username=admin_username, + availability_domain=availability_domain, + backup_policies=backup_policies, + compartment_id=compartment_id, + configuration_id=configuration_id, + crash_recovery=crash_recovery, + data_storage_size_in_gb=data_storage_size_in_gb, + defined_tags=defined_tags, + deletion_policies=deletion_policies, + description=description, + display_name=display_name, + endpoints=endpoints, + fault_domain=fault_domain, + freeform_tags=freeform_tags, + hostname_label=hostname_label, + id=id, + ip_address=ip_address, + is_highly_available=is_highly_available, + maintenances=maintenances, + mysql_version=mysql_version, + port=port, + port_x=port_x, + shape_name=shape_name, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + admin_username: Optional[str] = None, + availability_domain: Optional[str] = None, + backup_policies: Optional[Sequence['outputs.MysqlBackupDbSystemSnapshotBackupPolicy']] = None, + compartment_id: Optional[str] = None, + configuration_id: Optional[str] = None, + crash_recovery: Optional[str] = None, + data_storage_size_in_gb: Optional[int] = None, + defined_tags: Optional[Mapping[str, Any]] = None, + deletion_policies: Optional[Sequence['outputs.MysqlBackupDbSystemSnapshotDeletionPolicy']] = None, + description: Optional[str] = None, + display_name: Optional[str] = None, + endpoints: Optional[Sequence['outputs.MysqlBackupDbSystemSnapshotEndpoint']] = None, + fault_domain: Optional[str] = None, + freeform_tags: Optional[Mapping[str, Any]] = None, + hostname_label: Optional[str] = None, + id: Optional[str] = None, + ip_address: Optional[str] = None, + is_highly_available: Optional[bool] = None, + maintenances: Optional[Sequence['outputs.MysqlBackupDbSystemSnapshotMaintenance']] = None, + mysql_version: Optional[str] = None, + port: Optional[int] = None, + port_x: Optional[int] = None, + shape_name: Optional[str] = None, + subnet_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if admin_username is not None: - pulumi.set(__self__, "admin_username", admin_username) + _setter("admin_username", admin_username) if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if backup_policies is not None: - pulumi.set(__self__, "backup_policies", backup_policies) + _setter("backup_policies", backup_policies) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if configuration_id is not None: - pulumi.set(__self__, "configuration_id", configuration_id) + _setter("configuration_id", configuration_id) if crash_recovery is not None: - pulumi.set(__self__, "crash_recovery", crash_recovery) + _setter("crash_recovery", crash_recovery) if data_storage_size_in_gb is not None: - pulumi.set(__self__, "data_storage_size_in_gb", data_storage_size_in_gb) + _setter("data_storage_size_in_gb", data_storage_size_in_gb) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if deletion_policies is not None: - pulumi.set(__self__, "deletion_policies", deletion_policies) + _setter("deletion_policies", deletion_policies) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if endpoints is not None: - pulumi.set(__self__, "endpoints", endpoints) + _setter("endpoints", endpoints) if fault_domain is not None: - pulumi.set(__self__, "fault_domain", fault_domain) + _setter("fault_domain", fault_domain) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if hostname_label is not None: - pulumi.set(__self__, "hostname_label", hostname_label) + _setter("hostname_label", hostname_label) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if ip_address is not None: - pulumi.set(__self__, "ip_address", ip_address) + _setter("ip_address", ip_address) if is_highly_available is not None: - pulumi.set(__self__, "is_highly_available", is_highly_available) + _setter("is_highly_available", is_highly_available) if maintenances is not None: - pulumi.set(__self__, "maintenances", maintenances) + _setter("maintenances", maintenances) if mysql_version is not None: - pulumi.set(__self__, "mysql_version", mysql_version) + _setter("mysql_version", mysql_version) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if port_x is not None: - pulumi.set(__self__, "port_x", port_x) + _setter("port_x", port_x) if shape_name is not None: - pulumi.set(__self__, "shape_name", shape_name) + _setter("shape_name", shape_name) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="adminUsername") @@ -989,18 +1143,37 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param str window_start_time: The start time of the maintenance window. """ + MysqlBackupDbSystemSnapshotBackupPolicy._configure( + lambda key, value: pulumi.set(__self__, key, value), + defined_tags=defined_tags, + freeform_tags=freeform_tags, + is_enabled=is_enabled, + pitr_policies=pitr_policies, + retention_in_days=retention_in_days, + window_start_time=window_start_time, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + defined_tags: Optional[Mapping[str, Any]] = None, + freeform_tags: Optional[Mapping[str, Any]] = None, + is_enabled: Optional[bool] = None, + pitr_policies: Optional[Sequence['outputs.MysqlBackupDbSystemSnapshotBackupPolicyPitrPolicy']] = None, + retention_in_days: Optional[int] = None, + window_start_time: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) if pitr_policies is not None: - pulumi.set(__self__, "pitr_policies", pitr_policies) + _setter("pitr_policies", pitr_policies) if retention_in_days is not None: - pulumi.set(__self__, "retention_in_days", retention_in_days) + _setter("retention_in_days", retention_in_days) if window_start_time is not None: - pulumi.set(__self__, "window_start_time", window_start_time) + _setter("window_start_time", window_start_time) @property @pulumi.getter(name="definedTags") @@ -1079,8 +1252,17 @@ def __init__(__self__, *, """ :param bool is_enabled: Specifies if PITR is enabled or disabled. """ + MysqlBackupDbSystemSnapshotBackupPolicyPitrPolicy._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) @property @pulumi.getter(name="isEnabled") @@ -1123,12 +1305,25 @@ def __init__(__self__, *, :param str final_backup: Specifies whether or not a backup is taken when the DB System is deleted. REQUIRE_FINAL_BACKUP: a backup is taken if the DB System is deleted. SKIP_FINAL_BACKUP: a backup is not taken if the DB System is deleted. :param bool is_delete_protected: Specifies whether the DB System can be deleted. Set to true to prevent deletion, false (default) to allow. """ + MysqlBackupDbSystemSnapshotDeletionPolicy._configure( + lambda key, value: pulumi.set(__self__, key, value), + automatic_backup_retention=automatic_backup_retention, + final_backup=final_backup, + is_delete_protected=is_delete_protected, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + automatic_backup_retention: Optional[str] = None, + final_backup: Optional[str] = None, + is_delete_protected: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): if automatic_backup_retention is not None: - pulumi.set(__self__, "automatic_backup_retention", automatic_backup_retention) + _setter("automatic_backup_retention", automatic_backup_retention) if final_backup is not None: - pulumi.set(__self__, "final_backup", final_backup) + _setter("final_backup", final_backup) if is_delete_protected is not None: - pulumi.set(__self__, "is_delete_protected", is_delete_protected) + _setter("is_delete_protected", is_delete_protected) @property @pulumi.getter(name="automaticBackupRetention") @@ -1203,24 +1398,49 @@ def __init__(__self__, *, :param str status: The state of the endpoints, as far as it can seen from the DB System. There may be some inconsistency with the actual state of the MySQL service. :param str status_details: Additional information about the current endpoint status. """ + MysqlBackupDbSystemSnapshotEndpoint._configure( + lambda key, value: pulumi.set(__self__, key, value), + hostname=hostname, + ip_address=ip_address, + modes=modes, + port=port, + port_x=port_x, + resource_id=resource_id, + resource_type=resource_type, + status=status, + status_details=status_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hostname: Optional[str] = None, + ip_address: Optional[str] = None, + modes: Optional[Sequence[str]] = None, + port: Optional[int] = None, + port_x: Optional[int] = None, + resource_id: Optional[str] = None, + resource_type: Optional[str] = None, + status: Optional[str] = None, + status_details: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if hostname is not None: - pulumi.set(__self__, "hostname", hostname) + _setter("hostname", hostname) if ip_address is not None: - pulumi.set(__self__, "ip_address", ip_address) + _setter("ip_address", ip_address) if modes is not None: - pulumi.set(__self__, "modes", modes) + _setter("modes", modes) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if port_x is not None: - pulumi.set(__self__, "port_x", port_x) + _setter("port_x", port_x) if resource_id is not None: - pulumi.set(__self__, "resource_id", resource_id) + _setter("resource_id", resource_id) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if status_details is not None: - pulumi.set(__self__, "status_details", status_details) + _setter("status_details", status_details) @property @pulumi.getter @@ -1319,8 +1539,17 @@ def __init__(__self__, *, """ :param str window_start_time: The start time of the maintenance window. """ + MysqlBackupDbSystemSnapshotMaintenance._configure( + lambda key, value: pulumi.set(__self__, key, value), + window_start_time=window_start_time, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + window_start_time: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if window_start_time is not None: - pulumi.set(__self__, "window_start_time", window_start_time) + _setter("window_start_time", window_start_time) @property @pulumi.getter(name="windowStartTime") @@ -1361,8 +1590,17 @@ def __init__(__self__, *, * CASE_SENSITIVE - (default) Table and schema name comparisons are case-sensitive and stored as specified. (lower_case_table_names=0) * CASE_INSENSITIVE_LOWERCASE - Table and schema name comparisons are not case-sensitive and stored in lowercase. (lower_case_table_names=1) """ + MysqlConfigurationInitVariables._configure( + lambda key, value: pulumi.set(__self__, key, value), + lower_case_table_names=lower_case_table_names, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + lower_case_table_names: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if lower_case_table_names is not None: - pulumi.set(__self__, "lower_case_table_names", lower_case_table_names) + _setter("lower_case_table_names", lower_case_table_names) @property @pulumi.getter(name="lowerCaseTableNames") @@ -1805,164 +2043,329 @@ def __init__(__self__, *, ** 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 """ + MysqlConfigurationVariables._configure( + lambda key, value: pulumi.set(__self__, key, value), + autocommit=autocommit, + big_tables=big_tables, + binlog_expire_logs_seconds=binlog_expire_logs_seconds, + binlog_row_metadata=binlog_row_metadata, + binlog_row_value_options=binlog_row_value_options, + binlog_transaction_compression=binlog_transaction_compression, + completion_type=completion_type, + connect_timeout=connect_timeout, + connection_memory_chunk_size=connection_memory_chunk_size, + connection_memory_limit=connection_memory_limit, + cte_max_recursion_depth=cte_max_recursion_depth, + default_authentication_plugin=default_authentication_plugin, + foreign_key_checks=foreign_key_checks, + generated_random_password_length=generated_random_password_length, + global_connection_memory_limit=global_connection_memory_limit, + global_connection_memory_tracking=global_connection_memory_tracking, + group_replication_consistency=group_replication_consistency, + information_schema_stats_expiry=information_schema_stats_expiry, + innodb_buffer_pool_dump_pct=innodb_buffer_pool_dump_pct, + innodb_buffer_pool_instances=innodb_buffer_pool_instances, + innodb_buffer_pool_size=innodb_buffer_pool_size, + innodb_ddl_buffer_size=innodb_ddl_buffer_size, + innodb_ddl_threads=innodb_ddl_threads, + innodb_ft_enable_stopword=innodb_ft_enable_stopword, + innodb_ft_max_token_size=innodb_ft_max_token_size, + innodb_ft_min_token_size=innodb_ft_min_token_size, + innodb_ft_num_word_optimize=innodb_ft_num_word_optimize, + innodb_ft_result_cache_limit=innodb_ft_result_cache_limit, + innodb_ft_server_stopword_table=innodb_ft_server_stopword_table, + innodb_lock_wait_timeout=innodb_lock_wait_timeout, + innodb_log_writer_threads=innodb_log_writer_threads, + innodb_max_purge_lag=innodb_max_purge_lag, + innodb_max_purge_lag_delay=innodb_max_purge_lag_delay, + innodb_stats_persistent_sample_pages=innodb_stats_persistent_sample_pages, + innodb_stats_transient_sample_pages=innodb_stats_transient_sample_pages, + interactive_timeout=interactive_timeout, + local_infile=local_infile, + mandatory_roles=mandatory_roles, + max_allowed_packet=max_allowed_packet, + max_binlog_cache_size=max_binlog_cache_size, + max_connect_errors=max_connect_errors, + max_connections=max_connections, + max_execution_time=max_execution_time, + max_heap_table_size=max_heap_table_size, + max_prepared_stmt_count=max_prepared_stmt_count, + mysql_firewall_mode=mysql_firewall_mode, + mysql_zstd_default_compression_level=mysql_zstd_default_compression_level, + mysqlx_connect_timeout=mysqlx_connect_timeout, + mysqlx_deflate_default_compression_level=mysqlx_deflate_default_compression_level, + mysqlx_deflate_max_client_compression_level=mysqlx_deflate_max_client_compression_level, + mysqlx_document_id_unique_prefix=mysqlx_document_id_unique_prefix, + mysqlx_enable_hello_notice=mysqlx_enable_hello_notice, + mysqlx_idle_worker_thread_timeout=mysqlx_idle_worker_thread_timeout, + mysqlx_interactive_timeout=mysqlx_interactive_timeout, + mysqlx_lz4default_compression_level=mysqlx_lz4default_compression_level, + mysqlx_lz4max_client_compression_level=mysqlx_lz4max_client_compression_level, + mysqlx_max_allowed_packet=mysqlx_max_allowed_packet, + mysqlx_min_worker_threads=mysqlx_min_worker_threads, + mysqlx_read_timeout=mysqlx_read_timeout, + mysqlx_wait_timeout=mysqlx_wait_timeout, + mysqlx_write_timeout=mysqlx_write_timeout, + mysqlx_zstd_default_compression_level=mysqlx_zstd_default_compression_level, + mysqlx_zstd_max_client_compression_level=mysqlx_zstd_max_client_compression_level, + net_read_timeout=net_read_timeout, + net_write_timeout=net_write_timeout, + parser_max_mem_size=parser_max_mem_size, + query_alloc_block_size=query_alloc_block_size, + query_prealloc_size=query_prealloc_size, + regexp_time_limit=regexp_time_limit, + sort_buffer_size=sort_buffer_size, + sql_mode=sql_mode, + sql_require_primary_key=sql_require_primary_key, + sql_warnings=sql_warnings, + thread_pool_dedicated_listeners=thread_pool_dedicated_listeners, + thread_pool_max_transactions_limit=thread_pool_max_transactions_limit, + time_zone=time_zone, + tmp_table_size=tmp_table_size, + transaction_isolation=transaction_isolation, + wait_timeout=wait_timeout, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + autocommit: Optional[bool] = None, + big_tables: Optional[bool] = None, + binlog_expire_logs_seconds: Optional[int] = None, + binlog_row_metadata: Optional[str] = None, + binlog_row_value_options: Optional[str] = None, + binlog_transaction_compression: Optional[bool] = None, + completion_type: Optional[str] = None, + connect_timeout: Optional[int] = None, + connection_memory_chunk_size: Optional[int] = None, + connection_memory_limit: Optional[str] = None, + cte_max_recursion_depth: Optional[str] = None, + default_authentication_plugin: Optional[str] = None, + foreign_key_checks: Optional[bool] = None, + generated_random_password_length: Optional[int] = None, + global_connection_memory_limit: Optional[str] = None, + global_connection_memory_tracking: Optional[bool] = None, + group_replication_consistency: Optional[str] = None, + information_schema_stats_expiry: Optional[int] = None, + innodb_buffer_pool_dump_pct: Optional[int] = None, + innodb_buffer_pool_instances: Optional[int] = None, + innodb_buffer_pool_size: Optional[str] = None, + innodb_ddl_buffer_size: Optional[str] = None, + innodb_ddl_threads: Optional[int] = None, + innodb_ft_enable_stopword: Optional[bool] = None, + innodb_ft_max_token_size: Optional[int] = None, + innodb_ft_min_token_size: Optional[int] = None, + innodb_ft_num_word_optimize: Optional[int] = None, + innodb_ft_result_cache_limit: Optional[str] = None, + innodb_ft_server_stopword_table: Optional[str] = None, + innodb_lock_wait_timeout: Optional[int] = None, + innodb_log_writer_threads: Optional[bool] = None, + innodb_max_purge_lag: Optional[str] = None, + innodb_max_purge_lag_delay: Optional[int] = None, + innodb_stats_persistent_sample_pages: Optional[str] = None, + innodb_stats_transient_sample_pages: Optional[str] = None, + interactive_timeout: Optional[int] = None, + local_infile: Optional[bool] = None, + mandatory_roles: Optional[str] = None, + max_allowed_packet: Optional[int] = None, + max_binlog_cache_size: Optional[str] = None, + max_connect_errors: Optional[str] = None, + max_connections: Optional[int] = None, + max_execution_time: Optional[str] = None, + max_heap_table_size: Optional[str] = None, + max_prepared_stmt_count: Optional[int] = None, + mysql_firewall_mode: Optional[bool] = None, + mysql_zstd_default_compression_level: Optional[int] = None, + mysqlx_connect_timeout: Optional[int] = None, + mysqlx_deflate_default_compression_level: Optional[int] = None, + mysqlx_deflate_max_client_compression_level: Optional[int] = None, + mysqlx_document_id_unique_prefix: Optional[int] = None, + mysqlx_enable_hello_notice: Optional[bool] = None, + mysqlx_idle_worker_thread_timeout: Optional[int] = None, + mysqlx_interactive_timeout: Optional[int] = None, + mysqlx_lz4default_compression_level: Optional[int] = None, + mysqlx_lz4max_client_compression_level: Optional[int] = None, + mysqlx_max_allowed_packet: Optional[int] = None, + mysqlx_min_worker_threads: Optional[int] = None, + mysqlx_read_timeout: Optional[int] = None, + mysqlx_wait_timeout: Optional[int] = None, + mysqlx_write_timeout: Optional[int] = None, + mysqlx_zstd_default_compression_level: Optional[int] = None, + mysqlx_zstd_max_client_compression_level: Optional[int] = None, + net_read_timeout: Optional[int] = None, + net_write_timeout: Optional[int] = None, + parser_max_mem_size: Optional[str] = None, + query_alloc_block_size: Optional[str] = None, + query_prealloc_size: Optional[str] = None, + regexp_time_limit: Optional[int] = None, + sort_buffer_size: Optional[str] = None, + sql_mode: Optional[str] = None, + sql_require_primary_key: Optional[bool] = None, + sql_warnings: Optional[bool] = None, + thread_pool_dedicated_listeners: Optional[bool] = None, + thread_pool_max_transactions_limit: Optional[int] = None, + time_zone: Optional[str] = None, + tmp_table_size: Optional[str] = None, + transaction_isolation: Optional[str] = None, + wait_timeout: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if autocommit is not None: - pulumi.set(__self__, "autocommit", autocommit) + _setter("autocommit", autocommit) if big_tables is not None: - pulumi.set(__self__, "big_tables", big_tables) + _setter("big_tables", big_tables) if binlog_expire_logs_seconds is not None: - pulumi.set(__self__, "binlog_expire_logs_seconds", binlog_expire_logs_seconds) + _setter("binlog_expire_logs_seconds", binlog_expire_logs_seconds) if binlog_row_metadata is not None: - pulumi.set(__self__, "binlog_row_metadata", binlog_row_metadata) + _setter("binlog_row_metadata", binlog_row_metadata) if binlog_row_value_options is not None: - pulumi.set(__self__, "binlog_row_value_options", binlog_row_value_options) + _setter("binlog_row_value_options", binlog_row_value_options) if binlog_transaction_compression is not None: - pulumi.set(__self__, "binlog_transaction_compression", binlog_transaction_compression) + _setter("binlog_transaction_compression", binlog_transaction_compression) if completion_type is not None: - pulumi.set(__self__, "completion_type", completion_type) + _setter("completion_type", completion_type) if connect_timeout is not None: - pulumi.set(__self__, "connect_timeout", connect_timeout) + _setter("connect_timeout", connect_timeout) if connection_memory_chunk_size is not None: - pulumi.set(__self__, "connection_memory_chunk_size", connection_memory_chunk_size) + _setter("connection_memory_chunk_size", connection_memory_chunk_size) if connection_memory_limit is not None: - pulumi.set(__self__, "connection_memory_limit", connection_memory_limit) + _setter("connection_memory_limit", connection_memory_limit) if cte_max_recursion_depth is not None: - pulumi.set(__self__, "cte_max_recursion_depth", cte_max_recursion_depth) + _setter("cte_max_recursion_depth", cte_max_recursion_depth) if default_authentication_plugin is not None: - pulumi.set(__self__, "default_authentication_plugin", default_authentication_plugin) + _setter("default_authentication_plugin", default_authentication_plugin) if foreign_key_checks is not None: - pulumi.set(__self__, "foreign_key_checks", foreign_key_checks) + _setter("foreign_key_checks", foreign_key_checks) if generated_random_password_length is not None: - pulumi.set(__self__, "generated_random_password_length", generated_random_password_length) + _setter("generated_random_password_length", generated_random_password_length) if global_connection_memory_limit is not None: - pulumi.set(__self__, "global_connection_memory_limit", global_connection_memory_limit) + _setter("global_connection_memory_limit", global_connection_memory_limit) if global_connection_memory_tracking is not None: - pulumi.set(__self__, "global_connection_memory_tracking", global_connection_memory_tracking) + _setter("global_connection_memory_tracking", global_connection_memory_tracking) if group_replication_consistency is not None: - pulumi.set(__self__, "group_replication_consistency", group_replication_consistency) + _setter("group_replication_consistency", group_replication_consistency) if information_schema_stats_expiry is not None: - pulumi.set(__self__, "information_schema_stats_expiry", information_schema_stats_expiry) + _setter("information_schema_stats_expiry", information_schema_stats_expiry) if innodb_buffer_pool_dump_pct is not None: - pulumi.set(__self__, "innodb_buffer_pool_dump_pct", innodb_buffer_pool_dump_pct) + _setter("innodb_buffer_pool_dump_pct", innodb_buffer_pool_dump_pct) if innodb_buffer_pool_instances is not None: - pulumi.set(__self__, "innodb_buffer_pool_instances", innodb_buffer_pool_instances) + _setter("innodb_buffer_pool_instances", innodb_buffer_pool_instances) if innodb_buffer_pool_size is not None: - pulumi.set(__self__, "innodb_buffer_pool_size", innodb_buffer_pool_size) + _setter("innodb_buffer_pool_size", innodb_buffer_pool_size) if innodb_ddl_buffer_size is not None: - pulumi.set(__self__, "innodb_ddl_buffer_size", innodb_ddl_buffer_size) + _setter("innodb_ddl_buffer_size", innodb_ddl_buffer_size) if innodb_ddl_threads is not None: - pulumi.set(__self__, "innodb_ddl_threads", innodb_ddl_threads) + _setter("innodb_ddl_threads", innodb_ddl_threads) if innodb_ft_enable_stopword is not None: - pulumi.set(__self__, "innodb_ft_enable_stopword", innodb_ft_enable_stopword) + _setter("innodb_ft_enable_stopword", innodb_ft_enable_stopword) if innodb_ft_max_token_size is not None: - pulumi.set(__self__, "innodb_ft_max_token_size", innodb_ft_max_token_size) + _setter("innodb_ft_max_token_size", innodb_ft_max_token_size) if innodb_ft_min_token_size is not None: - pulumi.set(__self__, "innodb_ft_min_token_size", innodb_ft_min_token_size) + _setter("innodb_ft_min_token_size", innodb_ft_min_token_size) if innodb_ft_num_word_optimize is not None: - pulumi.set(__self__, "innodb_ft_num_word_optimize", innodb_ft_num_word_optimize) + _setter("innodb_ft_num_word_optimize", innodb_ft_num_word_optimize) if innodb_ft_result_cache_limit is not None: - pulumi.set(__self__, "innodb_ft_result_cache_limit", innodb_ft_result_cache_limit) + _setter("innodb_ft_result_cache_limit", innodb_ft_result_cache_limit) if innodb_ft_server_stopword_table is not None: - pulumi.set(__self__, "innodb_ft_server_stopword_table", innodb_ft_server_stopword_table) + _setter("innodb_ft_server_stopword_table", innodb_ft_server_stopword_table) if innodb_lock_wait_timeout is not None: - pulumi.set(__self__, "innodb_lock_wait_timeout", innodb_lock_wait_timeout) + _setter("innodb_lock_wait_timeout", innodb_lock_wait_timeout) if innodb_log_writer_threads is not None: - pulumi.set(__self__, "innodb_log_writer_threads", innodb_log_writer_threads) + _setter("innodb_log_writer_threads", innodb_log_writer_threads) if innodb_max_purge_lag is not None: - pulumi.set(__self__, "innodb_max_purge_lag", innodb_max_purge_lag) + _setter("innodb_max_purge_lag", innodb_max_purge_lag) if innodb_max_purge_lag_delay is not None: - pulumi.set(__self__, "innodb_max_purge_lag_delay", innodb_max_purge_lag_delay) + _setter("innodb_max_purge_lag_delay", innodb_max_purge_lag_delay) if innodb_stats_persistent_sample_pages is not None: - pulumi.set(__self__, "innodb_stats_persistent_sample_pages", innodb_stats_persistent_sample_pages) + _setter("innodb_stats_persistent_sample_pages", innodb_stats_persistent_sample_pages) if innodb_stats_transient_sample_pages is not None: - pulumi.set(__self__, "innodb_stats_transient_sample_pages", innodb_stats_transient_sample_pages) + _setter("innodb_stats_transient_sample_pages", innodb_stats_transient_sample_pages) if interactive_timeout is not None: - pulumi.set(__self__, "interactive_timeout", interactive_timeout) + _setter("interactive_timeout", interactive_timeout) if local_infile is not None: - pulumi.set(__self__, "local_infile", local_infile) + _setter("local_infile", local_infile) if mandatory_roles is not None: - pulumi.set(__self__, "mandatory_roles", mandatory_roles) + _setter("mandatory_roles", mandatory_roles) if max_allowed_packet is not None: - pulumi.set(__self__, "max_allowed_packet", max_allowed_packet) + _setter("max_allowed_packet", max_allowed_packet) if max_binlog_cache_size is not None: - pulumi.set(__self__, "max_binlog_cache_size", max_binlog_cache_size) + _setter("max_binlog_cache_size", max_binlog_cache_size) if max_connect_errors is not None: - pulumi.set(__self__, "max_connect_errors", max_connect_errors) + _setter("max_connect_errors", max_connect_errors) if max_connections is not None: - pulumi.set(__self__, "max_connections", max_connections) + _setter("max_connections", max_connections) if max_execution_time is not None: - pulumi.set(__self__, "max_execution_time", max_execution_time) + _setter("max_execution_time", max_execution_time) if max_heap_table_size is not None: - pulumi.set(__self__, "max_heap_table_size", max_heap_table_size) + _setter("max_heap_table_size", max_heap_table_size) if max_prepared_stmt_count is not None: - pulumi.set(__self__, "max_prepared_stmt_count", max_prepared_stmt_count) + _setter("max_prepared_stmt_count", max_prepared_stmt_count) if mysql_firewall_mode is not None: - pulumi.set(__self__, "mysql_firewall_mode", mysql_firewall_mode) + _setter("mysql_firewall_mode", mysql_firewall_mode) if mysql_zstd_default_compression_level is not None: - pulumi.set(__self__, "mysql_zstd_default_compression_level", mysql_zstd_default_compression_level) + _setter("mysql_zstd_default_compression_level", mysql_zstd_default_compression_level) if mysqlx_connect_timeout is not None: - pulumi.set(__self__, "mysqlx_connect_timeout", mysqlx_connect_timeout) + _setter("mysqlx_connect_timeout", mysqlx_connect_timeout) if mysqlx_deflate_default_compression_level is not None: - pulumi.set(__self__, "mysqlx_deflate_default_compression_level", mysqlx_deflate_default_compression_level) + _setter("mysqlx_deflate_default_compression_level", mysqlx_deflate_default_compression_level) if mysqlx_deflate_max_client_compression_level is not None: - pulumi.set(__self__, "mysqlx_deflate_max_client_compression_level", mysqlx_deflate_max_client_compression_level) + _setter("mysqlx_deflate_max_client_compression_level", mysqlx_deflate_max_client_compression_level) if mysqlx_document_id_unique_prefix is not None: - pulumi.set(__self__, "mysqlx_document_id_unique_prefix", mysqlx_document_id_unique_prefix) + _setter("mysqlx_document_id_unique_prefix", mysqlx_document_id_unique_prefix) if mysqlx_enable_hello_notice is not None: - pulumi.set(__self__, "mysqlx_enable_hello_notice", mysqlx_enable_hello_notice) + _setter("mysqlx_enable_hello_notice", mysqlx_enable_hello_notice) if mysqlx_idle_worker_thread_timeout is not None: - pulumi.set(__self__, "mysqlx_idle_worker_thread_timeout", mysqlx_idle_worker_thread_timeout) + _setter("mysqlx_idle_worker_thread_timeout", mysqlx_idle_worker_thread_timeout) if mysqlx_interactive_timeout is not None: - pulumi.set(__self__, "mysqlx_interactive_timeout", mysqlx_interactive_timeout) + _setter("mysqlx_interactive_timeout", mysqlx_interactive_timeout) if mysqlx_lz4default_compression_level is not None: - pulumi.set(__self__, "mysqlx_lz4default_compression_level", mysqlx_lz4default_compression_level) + _setter("mysqlx_lz4default_compression_level", mysqlx_lz4default_compression_level) if mysqlx_lz4max_client_compression_level is not None: - pulumi.set(__self__, "mysqlx_lz4max_client_compression_level", mysqlx_lz4max_client_compression_level) + _setter("mysqlx_lz4max_client_compression_level", mysqlx_lz4max_client_compression_level) if mysqlx_max_allowed_packet is not None: - pulumi.set(__self__, "mysqlx_max_allowed_packet", mysqlx_max_allowed_packet) + _setter("mysqlx_max_allowed_packet", mysqlx_max_allowed_packet) if mysqlx_min_worker_threads is not None: - pulumi.set(__self__, "mysqlx_min_worker_threads", mysqlx_min_worker_threads) + _setter("mysqlx_min_worker_threads", mysqlx_min_worker_threads) if mysqlx_read_timeout is not None: - pulumi.set(__self__, "mysqlx_read_timeout", mysqlx_read_timeout) + _setter("mysqlx_read_timeout", mysqlx_read_timeout) if mysqlx_wait_timeout is not None: - pulumi.set(__self__, "mysqlx_wait_timeout", mysqlx_wait_timeout) + _setter("mysqlx_wait_timeout", mysqlx_wait_timeout) if mysqlx_write_timeout is not None: - pulumi.set(__self__, "mysqlx_write_timeout", mysqlx_write_timeout) + _setter("mysqlx_write_timeout", mysqlx_write_timeout) if mysqlx_zstd_default_compression_level is not None: - pulumi.set(__self__, "mysqlx_zstd_default_compression_level", mysqlx_zstd_default_compression_level) + _setter("mysqlx_zstd_default_compression_level", mysqlx_zstd_default_compression_level) if mysqlx_zstd_max_client_compression_level is not None: - pulumi.set(__self__, "mysqlx_zstd_max_client_compression_level", mysqlx_zstd_max_client_compression_level) + _setter("mysqlx_zstd_max_client_compression_level", mysqlx_zstd_max_client_compression_level) if net_read_timeout is not None: - pulumi.set(__self__, "net_read_timeout", net_read_timeout) + _setter("net_read_timeout", net_read_timeout) if net_write_timeout is not None: - pulumi.set(__self__, "net_write_timeout", net_write_timeout) + _setter("net_write_timeout", net_write_timeout) if parser_max_mem_size is not None: - pulumi.set(__self__, "parser_max_mem_size", parser_max_mem_size) + _setter("parser_max_mem_size", parser_max_mem_size) if query_alloc_block_size is not None: - pulumi.set(__self__, "query_alloc_block_size", query_alloc_block_size) + _setter("query_alloc_block_size", query_alloc_block_size) if query_prealloc_size is not None: - pulumi.set(__self__, "query_prealloc_size", query_prealloc_size) + _setter("query_prealloc_size", query_prealloc_size) if regexp_time_limit is not None: - pulumi.set(__self__, "regexp_time_limit", regexp_time_limit) + _setter("regexp_time_limit", regexp_time_limit) if sort_buffer_size is not None: - pulumi.set(__self__, "sort_buffer_size", sort_buffer_size) + _setter("sort_buffer_size", sort_buffer_size) if sql_mode is not None: - pulumi.set(__self__, "sql_mode", sql_mode) + _setter("sql_mode", sql_mode) if sql_require_primary_key is not None: - pulumi.set(__self__, "sql_require_primary_key", sql_require_primary_key) + _setter("sql_require_primary_key", sql_require_primary_key) if sql_warnings is not None: - pulumi.set(__self__, "sql_warnings", sql_warnings) + _setter("sql_warnings", sql_warnings) if thread_pool_dedicated_listeners is not None: - pulumi.set(__self__, "thread_pool_dedicated_listeners", thread_pool_dedicated_listeners) + _setter("thread_pool_dedicated_listeners", thread_pool_dedicated_listeners) if thread_pool_max_transactions_limit is not None: - pulumi.set(__self__, "thread_pool_max_transactions_limit", thread_pool_max_transactions_limit) + _setter("thread_pool_max_transactions_limit", thread_pool_max_transactions_limit) if time_zone is not None: - pulumi.set(__self__, "time_zone", time_zone) + _setter("time_zone", time_zone) if tmp_table_size is not None: - pulumi.set(__self__, "tmp_table_size", tmp_table_size) + _setter("tmp_table_size", tmp_table_size) if transaction_isolation is not None: - pulumi.set(__self__, "transaction_isolation", transaction_isolation) + _setter("transaction_isolation", transaction_isolation) if wait_timeout is not None: - pulumi.set(__self__, "wait_timeout", wait_timeout) + _setter("wait_timeout", wait_timeout) @property @pulumi.getter @@ -2762,18 +3165,37 @@ def __init__(__self__, *, If you set the read replica maintenance window to "" or if not specified, the read replica is set same as the DB system maintenance window. """ + MysqlDbSystemBackupPolicy._configure( + lambda key, value: pulumi.set(__self__, key, value), + defined_tags=defined_tags, + freeform_tags=freeform_tags, + is_enabled=is_enabled, + pitr_policy=pitr_policy, + retention_in_days=retention_in_days, + window_start_time=window_start_time, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + defined_tags: Optional[Mapping[str, Any]] = None, + freeform_tags: Optional[Mapping[str, Any]] = None, + is_enabled: Optional[bool] = None, + pitr_policy: Optional['outputs.MysqlDbSystemBackupPolicyPitrPolicy'] = None, + retention_in_days: Optional[int] = None, + window_start_time: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) if pitr_policy is not None: - pulumi.set(__self__, "pitr_policy", pitr_policy) + _setter("pitr_policy", pitr_policy) if retention_in_days is not None: - pulumi.set(__self__, "retention_in_days", retention_in_days) + _setter("retention_in_days", retention_in_days) if window_start_time is not None: - pulumi.set(__self__, "window_start_time", window_start_time) + _setter("window_start_time", window_start_time) @property @pulumi.getter(name="definedTags") @@ -2856,8 +3278,17 @@ def __init__(__self__, *, """ :param bool is_enabled: (Updatable) Specifies if PITR is enabled or disabled. """ + MysqlDbSystemBackupPolicyPitrPolicy._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) @property @pulumi.getter(name="isEnabled") @@ -2928,30 +3359,61 @@ def __init__(__self__, *, :param str time_created: The date and time the DB System was created. :param str time_updated: The time the DB System was last updated. """ + MysqlDbSystemChannel._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + is_enabled=is_enabled, + lifecycle_details=lifecycle_details, + sources=sources, + state=state, + targets=targets, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[str] = None, + defined_tags: Optional[Mapping[str, Any]] = None, + display_name: Optional[str] = None, + freeform_tags: Optional[Mapping[str, Any]] = None, + id: Optional[str] = None, + is_enabled: Optional[bool] = None, + lifecycle_details: Optional[str] = None, + sources: Optional[Sequence['outputs.MysqlDbSystemChannelSource']] = None, + state: Optional[str] = None, + targets: Optional[Sequence['outputs.MysqlDbSystemChannelTarget']] = None, + time_created: Optional[str] = None, + time_updated: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if sources is not None: - pulumi.set(__self__, "sources", sources) + _setter("sources", sources) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if targets is not None: - pulumi.set(__self__, "targets", targets) + _setter("targets", targets) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -3092,20 +3554,41 @@ def __init__(__self__, *, :param str ssl_mode: The SSL mode of the Channel. :param str username: The name of the replication user on the source MySQL instance. The username has a maximum length of 96 characters. For more information, please see the [MySQL documentation](https://dev.mysql.com/doc/refman/8.0/en/change-master-to.html) """ + MysqlDbSystemChannelSource._configure( + lambda key, value: pulumi.set(__self__, key, value), + anonymous_transactions_handlings=anonymous_transactions_handlings, + hostname=hostname, + port=port, + source_type=source_type, + ssl_ca_certificates=ssl_ca_certificates, + ssl_mode=ssl_mode, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + anonymous_transactions_handlings: Optional[Sequence['outputs.MysqlDbSystemChannelSourceAnonymousTransactionsHandling']] = None, + hostname: Optional[str] = None, + port: Optional[int] = None, + source_type: Optional[str] = None, + ssl_ca_certificates: Optional[Sequence['outputs.MysqlDbSystemChannelSourceSslCaCertificate']] = None, + ssl_mode: Optional[str] = None, + username: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if anonymous_transactions_handlings is not None: - pulumi.set(__self__, "anonymous_transactions_handlings", anonymous_transactions_handlings) + _setter("anonymous_transactions_handlings", anonymous_transactions_handlings) if hostname is not None: - pulumi.set(__self__, "hostname", hostname) + _setter("hostname", hostname) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if source_type is not None: - pulumi.set(__self__, "source_type", source_type) + _setter("source_type", source_type) if ssl_ca_certificates is not None: - pulumi.set(__self__, "ssl_ca_certificates", ssl_ca_certificates) + _setter("ssl_ca_certificates", ssl_ca_certificates) if ssl_mode is not None: - pulumi.set(__self__, "ssl_mode", ssl_mode) + _setter("ssl_mode", ssl_mode) if username is not None: - pulumi.set(__self__, "username", username) + _setter("username", username) @property @pulumi.getter(name="anonymousTransactionsHandlings") @@ -3196,14 +3679,29 @@ def __init__(__self__, *, :param str policy: Specifies how the replication channel handles anonymous transactions. :param str uuid: The UUID that is used as a prefix when generating transaction identifiers for anonymous transactions coming from the source. You can change the UUID later. """ + MysqlDbSystemChannelSourceAnonymousTransactionsHandling._configure( + lambda key, value: pulumi.set(__self__, key, value), + last_configured_log_filename=last_configured_log_filename, + last_configured_log_offset=last_configured_log_offset, + policy=policy, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + last_configured_log_filename: Optional[str] = None, + last_configured_log_offset: Optional[str] = None, + policy: Optional[str] = None, + uuid: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if last_configured_log_filename is not None: - pulumi.set(__self__, "last_configured_log_filename", last_configured_log_filename) + _setter("last_configured_log_filename", last_configured_log_filename) if last_configured_log_offset is not None: - pulumi.set(__self__, "last_configured_log_offset", last_configured_log_offset) + _setter("last_configured_log_offset", last_configured_log_offset) if policy is not None: - pulumi.set(__self__, "policy", policy) + _setter("policy", policy) if uuid is not None: - pulumi.set(__self__, "uuid", uuid) + _setter("uuid", uuid) @property @pulumi.getter(name="lastConfiguredLogFilename") @@ -3264,10 +3762,21 @@ def __init__(__self__, *, :param str certificate_type: The type of CA certificate. :param str contents: The string containing the CA certificate in PEM format. """ + MysqlDbSystemChannelSourceSslCaCertificate._configure( + lambda key, value: pulumi.set(__self__, key, value), + certificate_type=certificate_type, + contents=contents, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + certificate_type: Optional[str] = None, + contents: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if certificate_type is not None: - pulumi.set(__self__, "certificate_type", certificate_type) + _setter("certificate_type", certificate_type) if contents is not None: - pulumi.set(__self__, "contents", contents) + _setter("contents", contents) @property @pulumi.getter(name="certificateType") @@ -3332,20 +3841,41 @@ def __init__(__self__, *, :param str tables_without_primary_key_handling: Specifies how a replication channel handles the creation and alteration of tables that do not have a primary key. :param str target_type: The specific target identifier. """ + MysqlDbSystemChannelTarget._configure( + lambda key, value: pulumi.set(__self__, key, value), + applier_username=applier_username, + channel_name=channel_name, + db_system_id=db_system_id, + delay_in_seconds=delay_in_seconds, + filters=filters, + tables_without_primary_key_handling=tables_without_primary_key_handling, + target_type=target_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + applier_username: Optional[str] = None, + channel_name: Optional[str] = None, + db_system_id: Optional[str] = None, + delay_in_seconds: Optional[int] = None, + filters: Optional[Sequence['outputs.MysqlDbSystemChannelTargetFilter']] = None, + tables_without_primary_key_handling: Optional[str] = None, + target_type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if applier_username is not None: - pulumi.set(__self__, "applier_username", applier_username) + _setter("applier_username", applier_username) if channel_name is not None: - pulumi.set(__self__, "channel_name", channel_name) + _setter("channel_name", channel_name) if db_system_id is not None: - pulumi.set(__self__, "db_system_id", db_system_id) + _setter("db_system_id", db_system_id) if delay_in_seconds is not None: - pulumi.set(__self__, "delay_in_seconds", delay_in_seconds) + _setter("delay_in_seconds", delay_in_seconds) if filters is not None: - pulumi.set(__self__, "filters", filters) + _setter("filters", filters) if tables_without_primary_key_handling is not None: - pulumi.set(__self__, "tables_without_primary_key_handling", tables_without_primary_key_handling) + _setter("tables_without_primary_key_handling", tables_without_primary_key_handling) if target_type is not None: - pulumi.set(__self__, "target_type", target_type) + _setter("target_type", target_type) @property @pulumi.getter(name="applierUsername") @@ -3413,10 +3943,21 @@ def __init__(__self__, *, :param str type: The type of the filter rule. :param str value: The body of the filter rule. This can represent a database, a table, or a database pair (represented as "db1->db2"). For more information, see [Replication Filtering Rules](https://dev.mysql.com/doc/refman/8.0/en/replication-rules.html). """ + MysqlDbSystemChannelTargetFilter._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -3471,10 +4012,21 @@ def __init__(__self__, *, For a standalone DB System, this defines the fault domain in which the DB System is placed. """ + MysqlDbSystemCurrentPlacement._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + fault_domain=fault_domain, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: Optional[str] = None, + fault_domain: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if fault_domain is not None: - pulumi.set(__self__, "fault_domain", fault_domain) + _setter("fault_domain", fault_domain) @property @pulumi.getter(name="availabilityDomain") @@ -3533,12 +4085,25 @@ def __init__(__self__, *, :param str final_backup: (Updatable) Specifies whether or not a backup is taken when the DB System is deleted. REQUIRE_FINAL_BACKUP: a backup is taken if the DB System is deleted. SKIP_FINAL_BACKUP: a backup is not taken if the DB System is deleted. :param bool is_delete_protected: (Updatable) Specifies whether the DB System can be deleted. Set to true to prevent deletion, false (default) to allow. """ + MysqlDbSystemDeletionPolicy._configure( + lambda key, value: pulumi.set(__self__, key, value), + automatic_backup_retention=automatic_backup_retention, + final_backup=final_backup, + is_delete_protected=is_delete_protected, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + automatic_backup_retention: Optional[str] = None, + final_backup: Optional[str] = None, + is_delete_protected: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): if automatic_backup_retention is not None: - pulumi.set(__self__, "automatic_backup_retention", automatic_backup_retention) + _setter("automatic_backup_retention", automatic_backup_retention) if final_backup is not None: - pulumi.set(__self__, "final_backup", final_backup) + _setter("final_backup", final_backup) if is_delete_protected is not None: - pulumi.set(__self__, "is_delete_protected", is_delete_protected) + _setter("is_delete_protected", is_delete_protected) @property @pulumi.getter(name="automaticBackupRetention") @@ -3613,24 +4178,49 @@ def __init__(__self__, *, :param str status: The state of the endpoints, as far as it can seen from the DB System. There may be some inconsistency with the actual state of the MySQL service. :param str status_details: Additional information about the current endpoint status. """ + MysqlDbSystemEndpoint._configure( + lambda key, value: pulumi.set(__self__, key, value), + hostname=hostname, + ip_address=ip_address, + modes=modes, + port=port, + port_x=port_x, + resource_id=resource_id, + resource_type=resource_type, + status=status, + status_details=status_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hostname: Optional[str] = None, + ip_address: Optional[str] = None, + modes: Optional[Sequence[str]] = None, + port: Optional[int] = None, + port_x: Optional[int] = None, + resource_id: Optional[str] = None, + resource_type: Optional[str] = None, + status: Optional[str] = None, + status_details: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if hostname is not None: - pulumi.set(__self__, "hostname", hostname) + _setter("hostname", hostname) if ip_address is not None: - pulumi.set(__self__, "ip_address", ip_address) + _setter("ip_address", ip_address) if modes is not None: - pulumi.set(__self__, "modes", modes) + _setter("modes", modes) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if port_x is not None: - pulumi.set(__self__, "port_x", port_x) + _setter("port_x", port_x) if resource_id is not None: - pulumi.set(__self__, "resource_id", resource_id) + _setter("resource_id", resource_id) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if status_details is not None: - pulumi.set(__self__, "status_details", status_details) + _setter("status_details", status_details) @property @pulumi.getter @@ -3748,18 +4338,37 @@ def __init__(__self__, *, :param str time_created: The date and time the DB System was created. :param str time_updated: The time the DB System was last updated. """ + MysqlDbSystemHeatWaveCluster._configure( + lambda key, value: pulumi.set(__self__, key, value), + cluster_size=cluster_size, + is_lakehouse_enabled=is_lakehouse_enabled, + shape_name=shape_name, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cluster_size: Optional[int] = None, + is_lakehouse_enabled: Optional[bool] = None, + shape_name: Optional[str] = None, + state: Optional[str] = None, + time_created: Optional[str] = None, + time_updated: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if cluster_size is not None: - pulumi.set(__self__, "cluster_size", cluster_size) + _setter("cluster_size", cluster_size) if is_lakehouse_enabled is not None: - pulumi.set(__self__, "is_lakehouse_enabled", is_lakehouse_enabled) + _setter("is_lakehouse_enabled", is_lakehouse_enabled) if shape_name is not None: - pulumi.set(__self__, "shape_name", shape_name) + _setter("shape_name", shape_name) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="clusterSize") @@ -3843,7 +4452,16 @@ def __init__(__self__, *, If you set the read replica maintenance window to "" or if not specified, the read replica is set same as the DB system maintenance window. """ - pulumi.set(__self__, "window_start_time", window_start_time) + MysqlDbSystemMaintenance._configure( + lambda key, value: pulumi.set(__self__, key, value), + window_start_time=window_start_time, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + window_start_time: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("window_start_time", window_start_time) @property @pulumi.getter(name="windowStartTime") @@ -3890,10 +4508,21 @@ def __init__(__self__, *, :param str time_earliest_recovery_point: Earliest recovery time point for the DB System, as described by [RFC 3339](https://tools.ietf.org/rfc/rfc3339). :param str time_latest_recovery_point: Latest recovery time point for the DB System, as described by [RFC 3339](https://tools.ietf.org/rfc/rfc3339). """ + MysqlDbSystemPointInTimeRecoveryDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + time_earliest_recovery_point=time_earliest_recovery_point, + time_latest_recovery_point=time_latest_recovery_point, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + time_earliest_recovery_point: Optional[str] = None, + time_latest_recovery_point: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if time_earliest_recovery_point is not None: - pulumi.set(__self__, "time_earliest_recovery_point", time_earliest_recovery_point) + _setter("time_earliest_recovery_point", time_earliest_recovery_point) if time_latest_recovery_point is not None: - pulumi.set(__self__, "time_latest_recovery_point", time_latest_recovery_point) + _setter("time_latest_recovery_point", time_latest_recovery_point) @property @pulumi.getter(name="timeEarliestRecoveryPoint") @@ -3952,15 +4581,32 @@ def __init__(__self__, *, :param str recovery_point: The date and time, as per RFC 3339, of the change up to which the new DB System shall be restored to, using a backup and logs from the original DB System. In case no point in time is specified, then this new DB System shall be restored up to the latest change recorded for the original DB System. :param str source_url: The Pre-Authenticated Request (PAR) of a bucket/prefix or PAR of a @.manifest.json object from the Object Storage. Check [Using Pre-Authenticated Requests](https://docs.oracle.com/en-us/iaas/Content/Object/Tasks/usingpreauthenticatedrequests.htm) for information related to PAR creation. Please create PAR with "Permit object reads" access type and "Enable Object Listing" permission when using a bucket/prefix PAR. Please create PAR with "Permit object reads" access type when using a @.manifest.json object PAR. """ - pulumi.set(__self__, "source_type", source_type) + MysqlDbSystemSource._configure( + lambda key, value: pulumi.set(__self__, key, value), + source_type=source_type, + backup_id=backup_id, + db_system_id=db_system_id, + recovery_point=recovery_point, + source_url=source_url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + source_type: str, + backup_id: Optional[str] = None, + db_system_id: Optional[str] = None, + recovery_point: Optional[str] = None, + source_url: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("source_type", source_type) if backup_id is not None: - pulumi.set(__self__, "backup_id", backup_id) + _setter("backup_id", backup_id) if db_system_id is not None: - pulumi.set(__self__, "db_system_id", db_system_id) + _setter("db_system_id", db_system_id) if recovery_point is not None: - pulumi.set(__self__, "recovery_point", recovery_point) + _setter("recovery_point", recovery_point) if source_url is not None: - pulumi.set(__self__, "source_url", source_url) + _setter("source_url", source_url) @property @pulumi.getter(name="sourceType") @@ -4003,6 +4649,91 @@ def source_url(self) -> Optional[str]: return pulumi.get(self, "source_url") +@pulumi.output_type +class ReplicaReplicaOverrides(dict): + @staticmethod + def __key_warning(key: str): + suggest = None + if key == "configurationId": + suggest = "configuration_id" + elif key == "mysqlVersion": + suggest = "mysql_version" + elif key == "shapeName": + suggest = "shape_name" + + if suggest: + pulumi.log.warn(f"Key '{key}' not found in ReplicaReplicaOverrides. Access the value via the '{suggest}' property getter instead.") + + def __getitem__(self, key: str) -> Any: + ReplicaReplicaOverrides.__key_warning(key) + return super().__getitem__(key) + + def get(self, key: str, default = None) -> Any: + ReplicaReplicaOverrides.__key_warning(key) + return super().get(key, default) + + def __init__(__self__, *, + configuration_id: Optional[str] = None, + mysql_version: Optional[str] = None, + shape_name: Optional[str] = None): + """ + :param str configuration_id: (Updatable) The OCID of the Configuration to be used by the read replica. + :param str mysql_version: (Updatable) The MySQL version to be used by the read replica. + :param str shape_name: (Updatable) The shape to be used by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. + + + ** 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 + """ + ReplicaReplicaOverrides._configure( + lambda key, value: pulumi.set(__self__, key, value), + configuration_id=configuration_id, + mysql_version=mysql_version, + shape_name=shape_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + configuration_id: Optional[str] = None, + mysql_version: Optional[str] = None, + shape_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if configuration_id is not None: + _setter("configuration_id", configuration_id) + if mysql_version is not None: + _setter("mysql_version", mysql_version) + if shape_name is not None: + _setter("shape_name", shape_name) + + @property + @pulumi.getter(name="configurationId") + def configuration_id(self) -> Optional[str]: + """ + (Updatable) The OCID of the Configuration to be used by the read replica. + """ + return pulumi.get(self, "configuration_id") + + @property + @pulumi.getter(name="mysqlVersion") + def mysql_version(self) -> Optional[str]: + """ + (Updatable) The MySQL version to be used by the read replica. + """ + return pulumi.get(self, "mysql_version") + + @property + @pulumi.getter(name="shapeName") + def shape_name(self) -> Optional[str]: + """ + (Updatable) The shape to be used by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. + + + ** 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 + """ + return pulumi.get(self, "shape_name") + + @pulumi.output_type class GetChannelSourceResult(dict): def __init__(__self__, *, @@ -4023,14 +4754,37 @@ def __init__(__self__, *, :param str ssl_mode: The SSL mode of the Channel. :param str username: The name of the replication user on the source MySQL instance. The username has a maximum length of 96 characters. For more information, please see the [MySQL documentation](https://dev.mysql.com/doc/refman/8.0/en/change-master-to.html) """ - pulumi.set(__self__, "anonymous_transactions_handlings", anonymous_transactions_handlings) - pulumi.set(__self__, "hostname", hostname) - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "source_type", source_type) - pulumi.set(__self__, "ssl_ca_certificates", ssl_ca_certificates) - pulumi.set(__self__, "ssl_mode", ssl_mode) - pulumi.set(__self__, "username", username) + GetChannelSourceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + anonymous_transactions_handlings=anonymous_transactions_handlings, + hostname=hostname, + password=password, + port=port, + source_type=source_type, + ssl_ca_certificates=ssl_ca_certificates, + ssl_mode=ssl_mode, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + anonymous_transactions_handlings: Sequence['outputs.GetChannelSourceAnonymousTransactionsHandlingResult'], + hostname: str, + password: str, + port: int, + source_type: str, + ssl_ca_certificates: Sequence['outputs.GetChannelSourceSslCaCertificateResult'], + ssl_mode: str, + username: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("anonymous_transactions_handlings", anonymous_transactions_handlings) + _setter("hostname", hostname) + _setter("password", password) + _setter("port", port) + _setter("source_type", source_type) + _setter("ssl_ca_certificates", ssl_ca_certificates) + _setter("ssl_mode", ssl_mode) + _setter("username", username) @property @pulumi.getter(name="anonymousTransactionsHandlings") @@ -4107,10 +4861,25 @@ def __init__(__self__, *, :param str policy: Specifies how the replication channel handles anonymous transactions. :param str uuid: The UUID that is used as a prefix when generating transaction identifiers for anonymous transactions coming from the source. You can change the UUID later. """ - pulumi.set(__self__, "last_configured_log_filename", last_configured_log_filename) - pulumi.set(__self__, "last_configured_log_offset", last_configured_log_offset) - pulumi.set(__self__, "policy", policy) - pulumi.set(__self__, "uuid", uuid) + GetChannelSourceAnonymousTransactionsHandlingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + last_configured_log_filename=last_configured_log_filename, + last_configured_log_offset=last_configured_log_offset, + policy=policy, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + last_configured_log_filename: str, + last_configured_log_offset: str, + policy: str, + uuid: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("last_configured_log_filename", last_configured_log_filename) + _setter("last_configured_log_offset", last_configured_log_offset) + _setter("policy", policy) + _setter("uuid", uuid) @property @pulumi.getter(name="lastConfiguredLogFilename") @@ -4154,8 +4923,19 @@ def __init__(__self__, *, :param str certificate_type: The type of CA certificate. :param str contents: The string containing the CA certificate in PEM format. """ - pulumi.set(__self__, "certificate_type", certificate_type) - pulumi.set(__self__, "contents", contents) + GetChannelSourceSslCaCertificateResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + certificate_type=certificate_type, + contents=contents, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + certificate_type: str, + contents: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("certificate_type", certificate_type) + _setter("contents", contents) @property @pulumi.getter(name="certificateType") @@ -4193,13 +4973,34 @@ def __init__(__self__, *, :param str tables_without_primary_key_handling: Specifies how a replication channel handles the creation and alteration of tables that do not have a primary key. :param str target_type: The specific target identifier. """ - pulumi.set(__self__, "applier_username", applier_username) - pulumi.set(__self__, "channel_name", channel_name) - pulumi.set(__self__, "db_system_id", db_system_id) - pulumi.set(__self__, "delay_in_seconds", delay_in_seconds) - pulumi.set(__self__, "filters", filters) - pulumi.set(__self__, "tables_without_primary_key_handling", tables_without_primary_key_handling) - pulumi.set(__self__, "target_type", target_type) + GetChannelTargetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + applier_username=applier_username, + channel_name=channel_name, + db_system_id=db_system_id, + delay_in_seconds=delay_in_seconds, + filters=filters, + tables_without_primary_key_handling=tables_without_primary_key_handling, + target_type=target_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + applier_username: str, + channel_name: str, + db_system_id: str, + delay_in_seconds: int, + filters: Sequence['outputs.GetChannelTargetFilterResult'], + tables_without_primary_key_handling: str, + target_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("applier_username", applier_username) + _setter("channel_name", channel_name) + _setter("db_system_id", db_system_id) + _setter("delay_in_seconds", delay_in_seconds) + _setter("filters", filters) + _setter("tables_without_primary_key_handling", tables_without_primary_key_handling) + _setter("target_type", target_type) @property @pulumi.getter(name="applierUsername") @@ -4267,8 +5068,19 @@ def __init__(__self__, *, :param str type: The type of the filter rule. :param str value: The body of the filter rule. This can represent a database, a table, or a database pair (represented as "db1->db2"). For more information, see [Replication Filtering Rules](https://dev.mysql.com/doc/refman/8.0/en/replication-rules.html). """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetChannelTargetFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -4318,19 +5130,52 @@ def __init__(__self__, *, :param str time_created: The date and time the Channel was created, as described by [RFC 3339](https://tools.ietf.org/rfc/rfc3339). :param str time_updated: The time the Channel was last updated, as described by [RFC 3339](https://tools.ietf.org/rfc/rfc3339). """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "sources", sources) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "targets", targets) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetChannelsChannelResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + is_enabled=is_enabled, + lifecycle_details=lifecycle_details, + sources=sources, + state=state, + targets=targets, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + is_enabled: bool, + lifecycle_details: str, + sources: Sequence['outputs.GetChannelsChannelSourceResult'], + state: str, + targets: Sequence['outputs.GetChannelsChannelTargetResult'], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_enabled", is_enabled) + _setter("lifecycle_details", lifecycle_details) + _setter("sources", sources) + _setter("state", state) + _setter("targets", targets) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -4457,14 +5302,37 @@ def __init__(__self__, *, :param str ssl_mode: The SSL mode of the Channel. :param str username: The name of the replication user on the source MySQL instance. The username has a maximum length of 96 characters. For more information, please see the [MySQL documentation](https://dev.mysql.com/doc/refman/8.0/en/change-master-to.html) """ - pulumi.set(__self__, "anonymous_transactions_handlings", anonymous_transactions_handlings) - pulumi.set(__self__, "hostname", hostname) - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "source_type", source_type) - pulumi.set(__self__, "ssl_ca_certificates", ssl_ca_certificates) - pulumi.set(__self__, "ssl_mode", ssl_mode) - pulumi.set(__self__, "username", username) + GetChannelsChannelSourceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + anonymous_transactions_handlings=anonymous_transactions_handlings, + hostname=hostname, + password=password, + port=port, + source_type=source_type, + ssl_ca_certificates=ssl_ca_certificates, + ssl_mode=ssl_mode, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + anonymous_transactions_handlings: Sequence['outputs.GetChannelsChannelSourceAnonymousTransactionsHandlingResult'], + hostname: str, + password: str, + port: int, + source_type: str, + ssl_ca_certificates: Sequence['outputs.GetChannelsChannelSourceSslCaCertificateResult'], + ssl_mode: str, + username: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("anonymous_transactions_handlings", anonymous_transactions_handlings) + _setter("hostname", hostname) + _setter("password", password) + _setter("port", port) + _setter("source_type", source_type) + _setter("ssl_ca_certificates", ssl_ca_certificates) + _setter("ssl_mode", ssl_mode) + _setter("username", username) @property @pulumi.getter(name="anonymousTransactionsHandlings") @@ -4541,10 +5409,25 @@ def __init__(__self__, *, :param str policy: Specifies how the replication channel handles anonymous transactions. :param str uuid: The UUID that is used as a prefix when generating transaction identifiers for anonymous transactions coming from the source. You can change the UUID later. """ - pulumi.set(__self__, "last_configured_log_filename", last_configured_log_filename) - pulumi.set(__self__, "last_configured_log_offset", last_configured_log_offset) - pulumi.set(__self__, "policy", policy) - pulumi.set(__self__, "uuid", uuid) + GetChannelsChannelSourceAnonymousTransactionsHandlingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + last_configured_log_filename=last_configured_log_filename, + last_configured_log_offset=last_configured_log_offset, + policy=policy, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + last_configured_log_filename: str, + last_configured_log_offset: str, + policy: str, + uuid: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("last_configured_log_filename", last_configured_log_filename) + _setter("last_configured_log_offset", last_configured_log_offset) + _setter("policy", policy) + _setter("uuid", uuid) @property @pulumi.getter(name="lastConfiguredLogFilename") @@ -4588,8 +5471,19 @@ def __init__(__self__, *, :param str certificate_type: The type of CA certificate. :param str contents: The string containing the CA certificate in PEM format. """ - pulumi.set(__self__, "certificate_type", certificate_type) - pulumi.set(__self__, "contents", contents) + GetChannelsChannelSourceSslCaCertificateResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + certificate_type=certificate_type, + contents=contents, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + certificate_type: str, + contents: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("certificate_type", certificate_type) + _setter("contents", contents) @property @pulumi.getter(name="certificateType") @@ -4627,13 +5521,34 @@ def __init__(__self__, *, :param str tables_without_primary_key_handling: Specifies how a replication channel handles the creation and alteration of tables that do not have a primary key. :param str target_type: The specific target identifier. """ - pulumi.set(__self__, "applier_username", applier_username) - pulumi.set(__self__, "channel_name", channel_name) - pulumi.set(__self__, "db_system_id", db_system_id) - pulumi.set(__self__, "delay_in_seconds", delay_in_seconds) - pulumi.set(__self__, "filters", filters) - pulumi.set(__self__, "tables_without_primary_key_handling", tables_without_primary_key_handling) - pulumi.set(__self__, "target_type", target_type) + GetChannelsChannelTargetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + applier_username=applier_username, + channel_name=channel_name, + db_system_id=db_system_id, + delay_in_seconds=delay_in_seconds, + filters=filters, + tables_without_primary_key_handling=tables_without_primary_key_handling, + target_type=target_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + applier_username: str, + channel_name: str, + db_system_id: str, + delay_in_seconds: int, + filters: Sequence['outputs.GetChannelsChannelTargetFilterResult'], + tables_without_primary_key_handling: str, + target_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("applier_username", applier_username) + _setter("channel_name", channel_name) + _setter("db_system_id", db_system_id) + _setter("delay_in_seconds", delay_in_seconds) + _setter("filters", filters) + _setter("tables_without_primary_key_handling", tables_without_primary_key_handling) + _setter("target_type", target_type) @property @pulumi.getter(name="applierUsername") @@ -4701,8 +5616,19 @@ def __init__(__self__, *, :param str type: The type of the filter rule. :param str value: The body of the filter rule. This can represent a database, a table, or a database pair (represented as "db1->db2"). For more information, see [Replication Filtering Rules](https://dev.mysql.com/doc/refman/8.0/en/replication-rules.html). """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetChannelsChannelTargetFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -4727,10 +5653,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetChannelsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4761,10 +5700,25 @@ def __init__(__self__, *, :param str time_created: The date and time the HeatWave cluster was created, as described by [RFC 3339](https://tools.ietf.org/rfc/rfc3339). :param str time_updated: The time the HeatWave cluster was last updated, as described by [RFC 3339](https://tools.ietf.org/rfc/rfc3339). """ - pulumi.set(__self__, "node_id", node_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetHeatWaveClusterClusterNodeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + node_id=node_id, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + node_id: str, + state: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("node_id", node_id) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="nodeId") @@ -4852,30 +5806,85 @@ def __init__(__self__, *, :param str shape_name: The shape of the DB System instance used for backup. :param str subnet_id: The OCID of the subnet the DB System is associated with. """ - pulumi.set(__self__, "admin_username", admin_username) - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "backup_policies", backup_policies) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "configuration_id", configuration_id) - pulumi.set(__self__, "crash_recovery", crash_recovery) - pulumi.set(__self__, "data_storage_size_in_gb", data_storage_size_in_gb) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "deletion_policies", deletion_policies) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "endpoints", endpoints) - pulumi.set(__self__, "fault_domain", fault_domain) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "hostname_label", hostname_label) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "ip_address", ip_address) - pulumi.set(__self__, "is_highly_available", is_highly_available) - pulumi.set(__self__, "maintenances", maintenances) - pulumi.set(__self__, "mysql_version", mysql_version) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "port_x", port_x) - pulumi.set(__self__, "shape_name", shape_name) - pulumi.set(__self__, "subnet_id", subnet_id) + GetMysqlBackupDbSystemSnapshotResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + admin_username=admin_username, + availability_domain=availability_domain, + backup_policies=backup_policies, + compartment_id=compartment_id, + configuration_id=configuration_id, + crash_recovery=crash_recovery, + data_storage_size_in_gb=data_storage_size_in_gb, + defined_tags=defined_tags, + deletion_policies=deletion_policies, + description=description, + display_name=display_name, + endpoints=endpoints, + fault_domain=fault_domain, + freeform_tags=freeform_tags, + hostname_label=hostname_label, + id=id, + ip_address=ip_address, + is_highly_available=is_highly_available, + maintenances=maintenances, + mysql_version=mysql_version, + port=port, + port_x=port_x, + shape_name=shape_name, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + admin_username: str, + availability_domain: str, + backup_policies: Sequence['outputs.GetMysqlBackupDbSystemSnapshotBackupPolicyResult'], + compartment_id: str, + configuration_id: str, + crash_recovery: str, + data_storage_size_in_gb: int, + defined_tags: Mapping[str, Any], + deletion_policies: Sequence['outputs.GetMysqlBackupDbSystemSnapshotDeletionPolicyResult'], + description: str, + display_name: str, + endpoints: Sequence['outputs.GetMysqlBackupDbSystemSnapshotEndpointResult'], + fault_domain: str, + freeform_tags: Mapping[str, Any], + hostname_label: str, + id: str, + ip_address: str, + is_highly_available: bool, + maintenances: Sequence['outputs.GetMysqlBackupDbSystemSnapshotMaintenanceResult'], + mysql_version: str, + port: int, + port_x: int, + shape_name: str, + subnet_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("admin_username", admin_username) + _setter("availability_domain", availability_domain) + _setter("backup_policies", backup_policies) + _setter("compartment_id", compartment_id) + _setter("configuration_id", configuration_id) + _setter("crash_recovery", crash_recovery) + _setter("data_storage_size_in_gb", data_storage_size_in_gb) + _setter("defined_tags", defined_tags) + _setter("deletion_policies", deletion_policies) + _setter("description", description) + _setter("display_name", display_name) + _setter("endpoints", endpoints) + _setter("fault_domain", fault_domain) + _setter("freeform_tags", freeform_tags) + _setter("hostname_label", hostname_label) + _setter("id", id) + _setter("ip_address", ip_address) + _setter("is_highly_available", is_highly_available) + _setter("maintenances", maintenances) + _setter("mysql_version", mysql_version) + _setter("port", port) + _setter("port_x", port_x) + _setter("shape_name", shape_name) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="adminUsername") @@ -5087,12 +6096,31 @@ def __init__(__self__, *, :param int retention_in_days: Number of days to retain this backup. :param str window_start_time: The start time of the maintenance window. """ - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "pitr_policies", pitr_policies) - pulumi.set(__self__, "retention_in_days", retention_in_days) - pulumi.set(__self__, "window_start_time", window_start_time) + GetMysqlBackupDbSystemSnapshotBackupPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + defined_tags=defined_tags, + freeform_tags=freeform_tags, + is_enabled=is_enabled, + pitr_policies=pitr_policies, + retention_in_days=retention_in_days, + window_start_time=window_start_time, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + defined_tags: Mapping[str, Any], + freeform_tags: Mapping[str, Any], + is_enabled: bool, + pitr_policies: Sequence['outputs.GetMysqlBackupDbSystemSnapshotBackupPolicyPitrPolicyResult'], + retention_in_days: int, + window_start_time: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("defined_tags", defined_tags) + _setter("freeform_tags", freeform_tags) + _setter("is_enabled", is_enabled) + _setter("pitr_policies", pitr_policies) + _setter("retention_in_days", retention_in_days) + _setter("window_start_time", window_start_time) @property @pulumi.getter(name="definedTags") @@ -5150,7 +6178,16 @@ def __init__(__self__, *, """ :param bool is_enabled: Specifies if PITR is enabled or disabled. """ - pulumi.set(__self__, "is_enabled", is_enabled) + GetMysqlBackupDbSystemSnapshotBackupPolicyPitrPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_enabled", is_enabled) @property @pulumi.getter(name="isEnabled") @@ -5172,9 +6209,22 @@ def __init__(__self__, *, :param str final_backup: Specifies whether or not a backup is taken when the DB System is deleted. REQUIRE_FINAL_BACKUP: a backup is taken if the DB System is deleted. SKIP_FINAL_BACKUP: a backup is not taken if the DB System is deleted. :param bool is_delete_protected: Specifies whether the DB System can be deleted. Set to true to prevent deletion, false (default) to allow. """ - pulumi.set(__self__, "automatic_backup_retention", automatic_backup_retention) - pulumi.set(__self__, "final_backup", final_backup) - pulumi.set(__self__, "is_delete_protected", is_delete_protected) + GetMysqlBackupDbSystemSnapshotDeletionPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + automatic_backup_retention=automatic_backup_retention, + final_backup=final_backup, + is_delete_protected=is_delete_protected, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + automatic_backup_retention: str, + final_backup: str, + is_delete_protected: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("automatic_backup_retention", automatic_backup_retention) + _setter("final_backup", final_backup) + _setter("is_delete_protected", is_delete_protected) @property @pulumi.getter(name="automaticBackupRetention") @@ -5224,15 +6274,40 @@ def __init__(__self__, *, :param str status: The state of the endpoints, as far as it can seen from the DB System. There may be some inconsistency with the actual state of the MySQL service. :param str status_details: Additional information about the current endpoint status. """ - pulumi.set(__self__, "hostname", hostname) - pulumi.set(__self__, "ip_address", ip_address) - pulumi.set(__self__, "modes", modes) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "port_x", port_x) - pulumi.set(__self__, "resource_id", resource_id) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "status_details", status_details) + GetMysqlBackupDbSystemSnapshotEndpointResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + hostname=hostname, + ip_address=ip_address, + modes=modes, + port=port, + port_x=port_x, + resource_id=resource_id, + resource_type=resource_type, + status=status, + status_details=status_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hostname: str, + ip_address: str, + modes: Sequence[str], + port: int, + port_x: int, + resource_id: str, + resource_type: str, + status: str, + status_details: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("hostname", hostname) + _setter("ip_address", ip_address) + _setter("modes", modes) + _setter("port", port) + _setter("port_x", port_x) + _setter("resource_id", resource_id) + _setter("resource_type", resource_type) + _setter("status", status) + _setter("status_details", status_details) @property @pulumi.getter @@ -5314,7 +6389,16 @@ def __init__(__self__, *, """ :param str window_start_time: The start time of the maintenance window. """ - pulumi.set(__self__, "window_start_time", window_start_time) + GetMysqlBackupDbSystemSnapshotMaintenanceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + window_start_time=window_start_time, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + window_start_time: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("window_start_time", window_start_time) @property @pulumi.getter(name="windowStartTime") @@ -5368,25 +6452,70 @@ def __init__(__self__, *, :param str time_created: The time the backup record was created. :param str time_updated: The time at which the backup was updated. """ - pulumi.set(__self__, "backup_size_in_gbs", backup_size_in_gbs) - pulumi.set(__self__, "backup_type", backup_type) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "creation_type", creation_type) - pulumi.set(__self__, "data_storage_size_in_gb", data_storage_size_in_gb) - pulumi.set(__self__, "db_system_id", db_system_id) - pulumi.set(__self__, "db_system_snapshots", db_system_snapshots) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "mysql_version", mysql_version) - pulumi.set(__self__, "retention_in_days", retention_in_days) - pulumi.set(__self__, "shape_name", shape_name) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetMysqlBackupsBackupResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + backup_size_in_gbs=backup_size_in_gbs, + backup_type=backup_type, + compartment_id=compartment_id, + creation_type=creation_type, + data_storage_size_in_gb=data_storage_size_in_gb, + db_system_id=db_system_id, + db_system_snapshots=db_system_snapshots, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + mysql_version=mysql_version, + retention_in_days=retention_in_days, + shape_name=shape_name, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backup_size_in_gbs: int, + backup_type: str, + compartment_id: str, + creation_type: str, + data_storage_size_in_gb: int, + db_system_id: str, + db_system_snapshots: Sequence['outputs.GetMysqlBackupsBackupDbSystemSnapshotResult'], + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + mysql_version: str, + retention_in_days: int, + shape_name: str, + state: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("backup_size_in_gbs", backup_size_in_gbs) + _setter("backup_type", backup_type) + _setter("compartment_id", compartment_id) + _setter("creation_type", creation_type) + _setter("data_storage_size_in_gb", data_storage_size_in_gb) + _setter("db_system_id", db_system_id) + _setter("db_system_snapshots", db_system_snapshots) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("mysql_version", mysql_version) + _setter("retention_in_days", retention_in_days) + _setter("shape_name", shape_name) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="backupSizeInGbs") @@ -5594,30 +6723,85 @@ def __init__(__self__, *, :param str shape_name: The shape of the DB System instance used for backup. :param str subnet_id: The OCID of the subnet the DB System is associated with. """ - pulumi.set(__self__, "admin_username", admin_username) - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "backup_policies", backup_policies) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "configuration_id", configuration_id) - pulumi.set(__self__, "crash_recovery", crash_recovery) - pulumi.set(__self__, "data_storage_size_in_gb", data_storage_size_in_gb) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "deletion_policies", deletion_policies) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "endpoints", endpoints) - pulumi.set(__self__, "fault_domain", fault_domain) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "hostname_label", hostname_label) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "ip_address", ip_address) - pulumi.set(__self__, "is_highly_available", is_highly_available) - pulumi.set(__self__, "maintenances", maintenances) - pulumi.set(__self__, "mysql_version", mysql_version) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "port_x", port_x) - pulumi.set(__self__, "shape_name", shape_name) - pulumi.set(__self__, "subnet_id", subnet_id) + GetMysqlBackupsBackupDbSystemSnapshotResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + admin_username=admin_username, + availability_domain=availability_domain, + backup_policies=backup_policies, + compartment_id=compartment_id, + configuration_id=configuration_id, + crash_recovery=crash_recovery, + data_storage_size_in_gb=data_storage_size_in_gb, + defined_tags=defined_tags, + deletion_policies=deletion_policies, + description=description, + display_name=display_name, + endpoints=endpoints, + fault_domain=fault_domain, + freeform_tags=freeform_tags, + hostname_label=hostname_label, + id=id, + ip_address=ip_address, + is_highly_available=is_highly_available, + maintenances=maintenances, + mysql_version=mysql_version, + port=port, + port_x=port_x, + shape_name=shape_name, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + admin_username: str, + availability_domain: str, + backup_policies: Sequence['outputs.GetMysqlBackupsBackupDbSystemSnapshotBackupPolicyResult'], + compartment_id: str, + configuration_id: str, + crash_recovery: str, + data_storage_size_in_gb: int, + defined_tags: Mapping[str, Any], + deletion_policies: Sequence['outputs.GetMysqlBackupsBackupDbSystemSnapshotDeletionPolicyResult'], + description: str, + display_name: str, + endpoints: Sequence['outputs.GetMysqlBackupsBackupDbSystemSnapshotEndpointResult'], + fault_domain: str, + freeform_tags: Mapping[str, Any], + hostname_label: str, + id: str, + ip_address: str, + is_highly_available: bool, + maintenances: Sequence['outputs.GetMysqlBackupsBackupDbSystemSnapshotMaintenanceResult'], + mysql_version: str, + port: int, + port_x: int, + shape_name: str, + subnet_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("admin_username", admin_username) + _setter("availability_domain", availability_domain) + _setter("backup_policies", backup_policies) + _setter("compartment_id", compartment_id) + _setter("configuration_id", configuration_id) + _setter("crash_recovery", crash_recovery) + _setter("data_storage_size_in_gb", data_storage_size_in_gb) + _setter("defined_tags", defined_tags) + _setter("deletion_policies", deletion_policies) + _setter("description", description) + _setter("display_name", display_name) + _setter("endpoints", endpoints) + _setter("fault_domain", fault_domain) + _setter("freeform_tags", freeform_tags) + _setter("hostname_label", hostname_label) + _setter("id", id) + _setter("ip_address", ip_address) + _setter("is_highly_available", is_highly_available) + _setter("maintenances", maintenances) + _setter("mysql_version", mysql_version) + _setter("port", port) + _setter("port_x", port_x) + _setter("shape_name", shape_name) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="adminUsername") @@ -5829,12 +7013,31 @@ def __init__(__self__, *, :param int retention_in_days: Number of days to retain this backup. :param str window_start_time: The start time of the maintenance window. """ - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "pitr_policies", pitr_policies) - pulumi.set(__self__, "retention_in_days", retention_in_days) - pulumi.set(__self__, "window_start_time", window_start_time) + GetMysqlBackupsBackupDbSystemSnapshotBackupPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + defined_tags=defined_tags, + freeform_tags=freeform_tags, + is_enabled=is_enabled, + pitr_policies=pitr_policies, + retention_in_days=retention_in_days, + window_start_time=window_start_time, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + defined_tags: Mapping[str, Any], + freeform_tags: Mapping[str, Any], + is_enabled: bool, + pitr_policies: Sequence['outputs.GetMysqlBackupsBackupDbSystemSnapshotBackupPolicyPitrPolicyResult'], + retention_in_days: int, + window_start_time: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("defined_tags", defined_tags) + _setter("freeform_tags", freeform_tags) + _setter("is_enabled", is_enabled) + _setter("pitr_policies", pitr_policies) + _setter("retention_in_days", retention_in_days) + _setter("window_start_time", window_start_time) @property @pulumi.getter(name="definedTags") @@ -5892,7 +7095,16 @@ def __init__(__self__, *, """ :param bool is_enabled: Specifies if PITR is enabled or disabled. """ - pulumi.set(__self__, "is_enabled", is_enabled) + GetMysqlBackupsBackupDbSystemSnapshotBackupPolicyPitrPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_enabled", is_enabled) @property @pulumi.getter(name="isEnabled") @@ -5914,9 +7126,22 @@ def __init__(__self__, *, :param str final_backup: Specifies whether or not a backup is taken when the DB System is deleted. REQUIRE_FINAL_BACKUP: a backup is taken if the DB System is deleted. SKIP_FINAL_BACKUP: a backup is not taken if the DB System is deleted. :param bool is_delete_protected: Specifies whether the DB System can be deleted. Set to true to prevent deletion, false (default) to allow. """ - pulumi.set(__self__, "automatic_backup_retention", automatic_backup_retention) - pulumi.set(__self__, "final_backup", final_backup) - pulumi.set(__self__, "is_delete_protected", is_delete_protected) + GetMysqlBackupsBackupDbSystemSnapshotDeletionPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + automatic_backup_retention=automatic_backup_retention, + final_backup=final_backup, + is_delete_protected=is_delete_protected, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + automatic_backup_retention: str, + final_backup: str, + is_delete_protected: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("automatic_backup_retention", automatic_backup_retention) + _setter("final_backup", final_backup) + _setter("is_delete_protected", is_delete_protected) @property @pulumi.getter(name="automaticBackupRetention") @@ -5966,15 +7191,40 @@ def __init__(__self__, *, :param str status: The state of the endpoints, as far as it can seen from the DB System. There may be some inconsistency with the actual state of the MySQL service. :param str status_details: Additional information about the current endpoint status. """ - pulumi.set(__self__, "hostname", hostname) - pulumi.set(__self__, "ip_address", ip_address) - pulumi.set(__self__, "modes", modes) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "port_x", port_x) - pulumi.set(__self__, "resource_id", resource_id) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "status_details", status_details) + GetMysqlBackupsBackupDbSystemSnapshotEndpointResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + hostname=hostname, + ip_address=ip_address, + modes=modes, + port=port, + port_x=port_x, + resource_id=resource_id, + resource_type=resource_type, + status=status, + status_details=status_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hostname: str, + ip_address: str, + modes: Sequence[str], + port: int, + port_x: int, + resource_id: str, + resource_type: str, + status: str, + status_details: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("hostname", hostname) + _setter("ip_address", ip_address) + _setter("modes", modes) + _setter("port", port) + _setter("port_x", port_x) + _setter("resource_id", resource_id) + _setter("resource_type", resource_type) + _setter("status", status) + _setter("status_details", status_details) @property @pulumi.getter @@ -6056,7 +7306,16 @@ def __init__(__self__, *, """ :param str window_start_time: The start time of the maintenance window. """ - pulumi.set(__self__, "window_start_time", window_start_time) + GetMysqlBackupsBackupDbSystemSnapshotMaintenanceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + window_start_time=window_start_time, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + window_start_time: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("window_start_time", window_start_time) @property @pulumi.getter(name="windowStartTime") @@ -6073,10 +7332,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetMysqlBackupsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -6101,7 +7373,16 @@ def __init__(__self__, *, """ :param str lower_case_table_names: Represents the MySQL server system variable lower_case_table_names (https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_lower_case_table_names). """ - pulumi.set(__self__, "lower_case_table_names", lower_case_table_names) + GetMysqlConfigurationInitVariableResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + lower_case_table_names=lower_case_table_names, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + lower_case_table_names: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("lower_case_table_names", lower_case_table_names) @property @pulumi.getter(name="lowerCaseTableNames") @@ -6279,85 +7560,250 @@ def __init__(__self__, *, :param str transaction_isolation: ("transaction_isolation") :param int wait_timeout: The number of seconds the server waits for activity on a noninteractive connection before closing it. """ - pulumi.set(__self__, "autocommit", autocommit) - pulumi.set(__self__, "big_tables", big_tables) - pulumi.set(__self__, "binlog_expire_logs_seconds", binlog_expire_logs_seconds) - pulumi.set(__self__, "binlog_row_metadata", binlog_row_metadata) - pulumi.set(__self__, "binlog_row_value_options", binlog_row_value_options) - pulumi.set(__self__, "binlog_transaction_compression", binlog_transaction_compression) - pulumi.set(__self__, "completion_type", completion_type) - pulumi.set(__self__, "connect_timeout", connect_timeout) - pulumi.set(__self__, "connection_memory_chunk_size", connection_memory_chunk_size) - pulumi.set(__self__, "connection_memory_limit", connection_memory_limit) - pulumi.set(__self__, "cte_max_recursion_depth", cte_max_recursion_depth) - pulumi.set(__self__, "default_authentication_plugin", default_authentication_plugin) - pulumi.set(__self__, "foreign_key_checks", foreign_key_checks) - pulumi.set(__self__, "generated_random_password_length", generated_random_password_length) - pulumi.set(__self__, "global_connection_memory_limit", global_connection_memory_limit) - pulumi.set(__self__, "global_connection_memory_tracking", global_connection_memory_tracking) - pulumi.set(__self__, "group_replication_consistency", group_replication_consistency) - pulumi.set(__self__, "information_schema_stats_expiry", information_schema_stats_expiry) - pulumi.set(__self__, "innodb_buffer_pool_dump_pct", innodb_buffer_pool_dump_pct) - pulumi.set(__self__, "innodb_buffer_pool_instances", innodb_buffer_pool_instances) - pulumi.set(__self__, "innodb_buffer_pool_size", innodb_buffer_pool_size) - pulumi.set(__self__, "innodb_ddl_buffer_size", innodb_ddl_buffer_size) - pulumi.set(__self__, "innodb_ddl_threads", innodb_ddl_threads) - pulumi.set(__self__, "innodb_ft_enable_stopword", innodb_ft_enable_stopword) - pulumi.set(__self__, "innodb_ft_max_token_size", innodb_ft_max_token_size) - pulumi.set(__self__, "innodb_ft_min_token_size", innodb_ft_min_token_size) - pulumi.set(__self__, "innodb_ft_num_word_optimize", innodb_ft_num_word_optimize) - pulumi.set(__self__, "innodb_ft_result_cache_limit", innodb_ft_result_cache_limit) - pulumi.set(__self__, "innodb_ft_server_stopword_table", innodb_ft_server_stopword_table) - pulumi.set(__self__, "innodb_lock_wait_timeout", innodb_lock_wait_timeout) - pulumi.set(__self__, "innodb_log_writer_threads", innodb_log_writer_threads) - pulumi.set(__self__, "innodb_max_purge_lag", innodb_max_purge_lag) - pulumi.set(__self__, "innodb_max_purge_lag_delay", innodb_max_purge_lag_delay) - pulumi.set(__self__, "innodb_stats_persistent_sample_pages", innodb_stats_persistent_sample_pages) - pulumi.set(__self__, "innodb_stats_transient_sample_pages", innodb_stats_transient_sample_pages) - pulumi.set(__self__, "interactive_timeout", interactive_timeout) - pulumi.set(__self__, "local_infile", local_infile) - pulumi.set(__self__, "mandatory_roles", mandatory_roles) - pulumi.set(__self__, "max_allowed_packet", max_allowed_packet) - pulumi.set(__self__, "max_binlog_cache_size", max_binlog_cache_size) - pulumi.set(__self__, "max_connect_errors", max_connect_errors) - pulumi.set(__self__, "max_connections", max_connections) - pulumi.set(__self__, "max_execution_time", max_execution_time) - pulumi.set(__self__, "max_heap_table_size", max_heap_table_size) - pulumi.set(__self__, "max_prepared_stmt_count", max_prepared_stmt_count) - pulumi.set(__self__, "mysql_firewall_mode", mysql_firewall_mode) - pulumi.set(__self__, "mysql_zstd_default_compression_level", mysql_zstd_default_compression_level) - pulumi.set(__self__, "mysqlx_connect_timeout", mysqlx_connect_timeout) - pulumi.set(__self__, "mysqlx_deflate_default_compression_level", mysqlx_deflate_default_compression_level) - pulumi.set(__self__, "mysqlx_deflate_max_client_compression_level", mysqlx_deflate_max_client_compression_level) - pulumi.set(__self__, "mysqlx_document_id_unique_prefix", mysqlx_document_id_unique_prefix) - pulumi.set(__self__, "mysqlx_enable_hello_notice", mysqlx_enable_hello_notice) - pulumi.set(__self__, "mysqlx_idle_worker_thread_timeout", mysqlx_idle_worker_thread_timeout) - pulumi.set(__self__, "mysqlx_interactive_timeout", mysqlx_interactive_timeout) - pulumi.set(__self__, "mysqlx_lz4default_compression_level", mysqlx_lz4default_compression_level) - pulumi.set(__self__, "mysqlx_lz4max_client_compression_level", mysqlx_lz4max_client_compression_level) - pulumi.set(__self__, "mysqlx_max_allowed_packet", mysqlx_max_allowed_packet) - pulumi.set(__self__, "mysqlx_min_worker_threads", mysqlx_min_worker_threads) - pulumi.set(__self__, "mysqlx_read_timeout", mysqlx_read_timeout) - pulumi.set(__self__, "mysqlx_wait_timeout", mysqlx_wait_timeout) - pulumi.set(__self__, "mysqlx_write_timeout", mysqlx_write_timeout) - pulumi.set(__self__, "mysqlx_zstd_default_compression_level", mysqlx_zstd_default_compression_level) - pulumi.set(__self__, "mysqlx_zstd_max_client_compression_level", mysqlx_zstd_max_client_compression_level) - pulumi.set(__self__, "net_read_timeout", net_read_timeout) - pulumi.set(__self__, "net_write_timeout", net_write_timeout) - pulumi.set(__self__, "parser_max_mem_size", parser_max_mem_size) - pulumi.set(__self__, "query_alloc_block_size", query_alloc_block_size) - pulumi.set(__self__, "query_prealloc_size", query_prealloc_size) - pulumi.set(__self__, "regexp_time_limit", regexp_time_limit) - pulumi.set(__self__, "sort_buffer_size", sort_buffer_size) - pulumi.set(__self__, "sql_mode", sql_mode) - pulumi.set(__self__, "sql_require_primary_key", sql_require_primary_key) - pulumi.set(__self__, "sql_warnings", sql_warnings) - pulumi.set(__self__, "thread_pool_dedicated_listeners", thread_pool_dedicated_listeners) - pulumi.set(__self__, "thread_pool_max_transactions_limit", thread_pool_max_transactions_limit) - pulumi.set(__self__, "time_zone", time_zone) - pulumi.set(__self__, "tmp_table_size", tmp_table_size) - pulumi.set(__self__, "transaction_isolation", transaction_isolation) - pulumi.set(__self__, "wait_timeout", wait_timeout) + GetMysqlConfigurationVariableResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + autocommit=autocommit, + big_tables=big_tables, + binlog_expire_logs_seconds=binlog_expire_logs_seconds, + binlog_row_metadata=binlog_row_metadata, + binlog_row_value_options=binlog_row_value_options, + binlog_transaction_compression=binlog_transaction_compression, + completion_type=completion_type, + connect_timeout=connect_timeout, + connection_memory_chunk_size=connection_memory_chunk_size, + connection_memory_limit=connection_memory_limit, + cte_max_recursion_depth=cte_max_recursion_depth, + default_authentication_plugin=default_authentication_plugin, + foreign_key_checks=foreign_key_checks, + generated_random_password_length=generated_random_password_length, + global_connection_memory_limit=global_connection_memory_limit, + global_connection_memory_tracking=global_connection_memory_tracking, + group_replication_consistency=group_replication_consistency, + information_schema_stats_expiry=information_schema_stats_expiry, + innodb_buffer_pool_dump_pct=innodb_buffer_pool_dump_pct, + innodb_buffer_pool_instances=innodb_buffer_pool_instances, + innodb_buffer_pool_size=innodb_buffer_pool_size, + innodb_ddl_buffer_size=innodb_ddl_buffer_size, + innodb_ddl_threads=innodb_ddl_threads, + innodb_ft_enable_stopword=innodb_ft_enable_stopword, + innodb_ft_max_token_size=innodb_ft_max_token_size, + innodb_ft_min_token_size=innodb_ft_min_token_size, + innodb_ft_num_word_optimize=innodb_ft_num_word_optimize, + innodb_ft_result_cache_limit=innodb_ft_result_cache_limit, + innodb_ft_server_stopword_table=innodb_ft_server_stopword_table, + innodb_lock_wait_timeout=innodb_lock_wait_timeout, + innodb_log_writer_threads=innodb_log_writer_threads, + innodb_max_purge_lag=innodb_max_purge_lag, + innodb_max_purge_lag_delay=innodb_max_purge_lag_delay, + innodb_stats_persistent_sample_pages=innodb_stats_persistent_sample_pages, + innodb_stats_transient_sample_pages=innodb_stats_transient_sample_pages, + interactive_timeout=interactive_timeout, + local_infile=local_infile, + mandatory_roles=mandatory_roles, + max_allowed_packet=max_allowed_packet, + max_binlog_cache_size=max_binlog_cache_size, + max_connect_errors=max_connect_errors, + max_connections=max_connections, + max_execution_time=max_execution_time, + max_heap_table_size=max_heap_table_size, + max_prepared_stmt_count=max_prepared_stmt_count, + mysql_firewall_mode=mysql_firewall_mode, + mysql_zstd_default_compression_level=mysql_zstd_default_compression_level, + mysqlx_connect_timeout=mysqlx_connect_timeout, + mysqlx_deflate_default_compression_level=mysqlx_deflate_default_compression_level, + mysqlx_deflate_max_client_compression_level=mysqlx_deflate_max_client_compression_level, + mysqlx_document_id_unique_prefix=mysqlx_document_id_unique_prefix, + mysqlx_enable_hello_notice=mysqlx_enable_hello_notice, + mysqlx_idle_worker_thread_timeout=mysqlx_idle_worker_thread_timeout, + mysqlx_interactive_timeout=mysqlx_interactive_timeout, + mysqlx_lz4default_compression_level=mysqlx_lz4default_compression_level, + mysqlx_lz4max_client_compression_level=mysqlx_lz4max_client_compression_level, + mysqlx_max_allowed_packet=mysqlx_max_allowed_packet, + mysqlx_min_worker_threads=mysqlx_min_worker_threads, + mysqlx_read_timeout=mysqlx_read_timeout, + mysqlx_wait_timeout=mysqlx_wait_timeout, + mysqlx_write_timeout=mysqlx_write_timeout, + mysqlx_zstd_default_compression_level=mysqlx_zstd_default_compression_level, + mysqlx_zstd_max_client_compression_level=mysqlx_zstd_max_client_compression_level, + net_read_timeout=net_read_timeout, + net_write_timeout=net_write_timeout, + parser_max_mem_size=parser_max_mem_size, + query_alloc_block_size=query_alloc_block_size, + query_prealloc_size=query_prealloc_size, + regexp_time_limit=regexp_time_limit, + sort_buffer_size=sort_buffer_size, + sql_mode=sql_mode, + sql_require_primary_key=sql_require_primary_key, + sql_warnings=sql_warnings, + thread_pool_dedicated_listeners=thread_pool_dedicated_listeners, + thread_pool_max_transactions_limit=thread_pool_max_transactions_limit, + time_zone=time_zone, + tmp_table_size=tmp_table_size, + transaction_isolation=transaction_isolation, + wait_timeout=wait_timeout, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + autocommit: bool, + big_tables: bool, + binlog_expire_logs_seconds: int, + binlog_row_metadata: str, + binlog_row_value_options: str, + binlog_transaction_compression: bool, + completion_type: str, + connect_timeout: int, + connection_memory_chunk_size: int, + connection_memory_limit: str, + cte_max_recursion_depth: str, + default_authentication_plugin: str, + foreign_key_checks: bool, + generated_random_password_length: int, + global_connection_memory_limit: str, + global_connection_memory_tracking: bool, + group_replication_consistency: str, + information_schema_stats_expiry: int, + innodb_buffer_pool_dump_pct: int, + innodb_buffer_pool_instances: int, + innodb_buffer_pool_size: str, + innodb_ddl_buffer_size: str, + innodb_ddl_threads: int, + innodb_ft_enable_stopword: bool, + innodb_ft_max_token_size: int, + innodb_ft_min_token_size: int, + innodb_ft_num_word_optimize: int, + innodb_ft_result_cache_limit: str, + innodb_ft_server_stopword_table: str, + innodb_lock_wait_timeout: int, + innodb_log_writer_threads: bool, + innodb_max_purge_lag: str, + innodb_max_purge_lag_delay: int, + innodb_stats_persistent_sample_pages: str, + innodb_stats_transient_sample_pages: str, + interactive_timeout: int, + local_infile: bool, + mandatory_roles: str, + max_allowed_packet: int, + max_binlog_cache_size: str, + max_connect_errors: str, + max_connections: int, + max_execution_time: str, + max_heap_table_size: str, + max_prepared_stmt_count: int, + mysql_firewall_mode: bool, + mysql_zstd_default_compression_level: int, + mysqlx_connect_timeout: int, + mysqlx_deflate_default_compression_level: int, + mysqlx_deflate_max_client_compression_level: int, + mysqlx_document_id_unique_prefix: int, + mysqlx_enable_hello_notice: bool, + mysqlx_idle_worker_thread_timeout: int, + mysqlx_interactive_timeout: int, + mysqlx_lz4default_compression_level: int, + mysqlx_lz4max_client_compression_level: int, + mysqlx_max_allowed_packet: int, + mysqlx_min_worker_threads: int, + mysqlx_read_timeout: int, + mysqlx_wait_timeout: int, + mysqlx_write_timeout: int, + mysqlx_zstd_default_compression_level: int, + mysqlx_zstd_max_client_compression_level: int, + net_read_timeout: int, + net_write_timeout: int, + parser_max_mem_size: str, + query_alloc_block_size: str, + query_prealloc_size: str, + regexp_time_limit: int, + sort_buffer_size: str, + sql_mode: str, + sql_require_primary_key: bool, + sql_warnings: bool, + thread_pool_dedicated_listeners: bool, + thread_pool_max_transactions_limit: int, + time_zone: str, + tmp_table_size: str, + transaction_isolation: str, + wait_timeout: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("autocommit", autocommit) + _setter("big_tables", big_tables) + _setter("binlog_expire_logs_seconds", binlog_expire_logs_seconds) + _setter("binlog_row_metadata", binlog_row_metadata) + _setter("binlog_row_value_options", binlog_row_value_options) + _setter("binlog_transaction_compression", binlog_transaction_compression) + _setter("completion_type", completion_type) + _setter("connect_timeout", connect_timeout) + _setter("connection_memory_chunk_size", connection_memory_chunk_size) + _setter("connection_memory_limit", connection_memory_limit) + _setter("cte_max_recursion_depth", cte_max_recursion_depth) + _setter("default_authentication_plugin", default_authentication_plugin) + _setter("foreign_key_checks", foreign_key_checks) + _setter("generated_random_password_length", generated_random_password_length) + _setter("global_connection_memory_limit", global_connection_memory_limit) + _setter("global_connection_memory_tracking", global_connection_memory_tracking) + _setter("group_replication_consistency", group_replication_consistency) + _setter("information_schema_stats_expiry", information_schema_stats_expiry) + _setter("innodb_buffer_pool_dump_pct", innodb_buffer_pool_dump_pct) + _setter("innodb_buffer_pool_instances", innodb_buffer_pool_instances) + _setter("innodb_buffer_pool_size", innodb_buffer_pool_size) + _setter("innodb_ddl_buffer_size", innodb_ddl_buffer_size) + _setter("innodb_ddl_threads", innodb_ddl_threads) + _setter("innodb_ft_enable_stopword", innodb_ft_enable_stopword) + _setter("innodb_ft_max_token_size", innodb_ft_max_token_size) + _setter("innodb_ft_min_token_size", innodb_ft_min_token_size) + _setter("innodb_ft_num_word_optimize", innodb_ft_num_word_optimize) + _setter("innodb_ft_result_cache_limit", innodb_ft_result_cache_limit) + _setter("innodb_ft_server_stopword_table", innodb_ft_server_stopword_table) + _setter("innodb_lock_wait_timeout", innodb_lock_wait_timeout) + _setter("innodb_log_writer_threads", innodb_log_writer_threads) + _setter("innodb_max_purge_lag", innodb_max_purge_lag) + _setter("innodb_max_purge_lag_delay", innodb_max_purge_lag_delay) + _setter("innodb_stats_persistent_sample_pages", innodb_stats_persistent_sample_pages) + _setter("innodb_stats_transient_sample_pages", innodb_stats_transient_sample_pages) + _setter("interactive_timeout", interactive_timeout) + _setter("local_infile", local_infile) + _setter("mandatory_roles", mandatory_roles) + _setter("max_allowed_packet", max_allowed_packet) + _setter("max_binlog_cache_size", max_binlog_cache_size) + _setter("max_connect_errors", max_connect_errors) + _setter("max_connections", max_connections) + _setter("max_execution_time", max_execution_time) + _setter("max_heap_table_size", max_heap_table_size) + _setter("max_prepared_stmt_count", max_prepared_stmt_count) + _setter("mysql_firewall_mode", mysql_firewall_mode) + _setter("mysql_zstd_default_compression_level", mysql_zstd_default_compression_level) + _setter("mysqlx_connect_timeout", mysqlx_connect_timeout) + _setter("mysqlx_deflate_default_compression_level", mysqlx_deflate_default_compression_level) + _setter("mysqlx_deflate_max_client_compression_level", mysqlx_deflate_max_client_compression_level) + _setter("mysqlx_document_id_unique_prefix", mysqlx_document_id_unique_prefix) + _setter("mysqlx_enable_hello_notice", mysqlx_enable_hello_notice) + _setter("mysqlx_idle_worker_thread_timeout", mysqlx_idle_worker_thread_timeout) + _setter("mysqlx_interactive_timeout", mysqlx_interactive_timeout) + _setter("mysqlx_lz4default_compression_level", mysqlx_lz4default_compression_level) + _setter("mysqlx_lz4max_client_compression_level", mysqlx_lz4max_client_compression_level) + _setter("mysqlx_max_allowed_packet", mysqlx_max_allowed_packet) + _setter("mysqlx_min_worker_threads", mysqlx_min_worker_threads) + _setter("mysqlx_read_timeout", mysqlx_read_timeout) + _setter("mysqlx_wait_timeout", mysqlx_wait_timeout) + _setter("mysqlx_write_timeout", mysqlx_write_timeout) + _setter("mysqlx_zstd_default_compression_level", mysqlx_zstd_default_compression_level) + _setter("mysqlx_zstd_max_client_compression_level", mysqlx_zstd_max_client_compression_level) + _setter("net_read_timeout", net_read_timeout) + _setter("net_write_timeout", net_write_timeout) + _setter("parser_max_mem_size", parser_max_mem_size) + _setter("query_alloc_block_size", query_alloc_block_size) + _setter("query_prealloc_size", query_prealloc_size) + _setter("regexp_time_limit", regexp_time_limit) + _setter("sort_buffer_size", sort_buffer_size) + _setter("sql_mode", sql_mode) + _setter("sql_require_primary_key", sql_require_primary_key) + _setter("sql_warnings", sql_warnings) + _setter("thread_pool_dedicated_listeners", thread_pool_dedicated_listeners) + _setter("thread_pool_max_transactions_limit", thread_pool_max_transactions_limit) + _setter("time_zone", time_zone) + _setter("tmp_table_size", tmp_table_size) + _setter("transaction_isolation", transaction_isolation) + _setter("wait_timeout", wait_timeout) @property @pulumi.getter @@ -7050,20 +8496,55 @@ def __init__(__self__, *, :param str type: The requested Configuration types. :param Sequence['GetMysqlConfigurationsConfigurationVariableArgs'] variables: User-defined service variables. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "init_variables", init_variables) - pulumi.set(__self__, "parent_configuration_id", parent_configuration_id) - pulumi.set(__self__, "shape_name", shape_name) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "variables", variables) + GetMysqlConfigurationsConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + init_variables=init_variables, + parent_configuration_id=parent_configuration_id, + shape_name=shape_name, + state=state, + time_created=time_created, + time_updated=time_updated, + type=type, + variables=variables, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + init_variables: Sequence['outputs.GetMysqlConfigurationsConfigurationInitVariableResult'], + parent_configuration_id: str, + shape_name: str, + state: str, + time_created: str, + time_updated: str, + type: str, + variables: Sequence['outputs.GetMysqlConfigurationsConfigurationVariableResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("init_variables", init_variables) + _setter("parent_configuration_id", parent_configuration_id) + _setter("shape_name", shape_name) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("type", type) + _setter("variables", variables) @property @pulumi.getter(name="compartmentId") @@ -7185,7 +8666,16 @@ def __init__(__self__, *, """ :param str lower_case_table_names: Represents the MySQL server system variable lower_case_table_names (https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_lower_case_table_names). """ - pulumi.set(__self__, "lower_case_table_names", lower_case_table_names) + GetMysqlConfigurationsConfigurationInitVariableResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + lower_case_table_names=lower_case_table_names, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + lower_case_table_names: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("lower_case_table_names", lower_case_table_names) @property @pulumi.getter(name="lowerCaseTableNames") @@ -7363,85 +8853,250 @@ def __init__(__self__, *, :param str transaction_isolation: ("transaction_isolation") :param int wait_timeout: The number of seconds the server waits for activity on a noninteractive connection before closing it. """ - pulumi.set(__self__, "autocommit", autocommit) - pulumi.set(__self__, "big_tables", big_tables) - pulumi.set(__self__, "binlog_expire_logs_seconds", binlog_expire_logs_seconds) - pulumi.set(__self__, "binlog_row_metadata", binlog_row_metadata) - pulumi.set(__self__, "binlog_row_value_options", binlog_row_value_options) - pulumi.set(__self__, "binlog_transaction_compression", binlog_transaction_compression) - pulumi.set(__self__, "completion_type", completion_type) - pulumi.set(__self__, "connect_timeout", connect_timeout) - pulumi.set(__self__, "connection_memory_chunk_size", connection_memory_chunk_size) - pulumi.set(__self__, "connection_memory_limit", connection_memory_limit) - pulumi.set(__self__, "cte_max_recursion_depth", cte_max_recursion_depth) - pulumi.set(__self__, "default_authentication_plugin", default_authentication_plugin) - pulumi.set(__self__, "foreign_key_checks", foreign_key_checks) - pulumi.set(__self__, "generated_random_password_length", generated_random_password_length) - pulumi.set(__self__, "global_connection_memory_limit", global_connection_memory_limit) - pulumi.set(__self__, "global_connection_memory_tracking", global_connection_memory_tracking) - pulumi.set(__self__, "group_replication_consistency", group_replication_consistency) - pulumi.set(__self__, "information_schema_stats_expiry", information_schema_stats_expiry) - pulumi.set(__self__, "innodb_buffer_pool_dump_pct", innodb_buffer_pool_dump_pct) - pulumi.set(__self__, "innodb_buffer_pool_instances", innodb_buffer_pool_instances) - pulumi.set(__self__, "innodb_buffer_pool_size", innodb_buffer_pool_size) - pulumi.set(__self__, "innodb_ddl_buffer_size", innodb_ddl_buffer_size) - pulumi.set(__self__, "innodb_ddl_threads", innodb_ddl_threads) - pulumi.set(__self__, "innodb_ft_enable_stopword", innodb_ft_enable_stopword) - pulumi.set(__self__, "innodb_ft_max_token_size", innodb_ft_max_token_size) - pulumi.set(__self__, "innodb_ft_min_token_size", innodb_ft_min_token_size) - pulumi.set(__self__, "innodb_ft_num_word_optimize", innodb_ft_num_word_optimize) - pulumi.set(__self__, "innodb_ft_result_cache_limit", innodb_ft_result_cache_limit) - pulumi.set(__self__, "innodb_ft_server_stopword_table", innodb_ft_server_stopword_table) - pulumi.set(__self__, "innodb_lock_wait_timeout", innodb_lock_wait_timeout) - pulumi.set(__self__, "innodb_log_writer_threads", innodb_log_writer_threads) - pulumi.set(__self__, "innodb_max_purge_lag", innodb_max_purge_lag) - pulumi.set(__self__, "innodb_max_purge_lag_delay", innodb_max_purge_lag_delay) - pulumi.set(__self__, "innodb_stats_persistent_sample_pages", innodb_stats_persistent_sample_pages) - pulumi.set(__self__, "innodb_stats_transient_sample_pages", innodb_stats_transient_sample_pages) - pulumi.set(__self__, "interactive_timeout", interactive_timeout) - pulumi.set(__self__, "local_infile", local_infile) - pulumi.set(__self__, "mandatory_roles", mandatory_roles) - pulumi.set(__self__, "max_allowed_packet", max_allowed_packet) - pulumi.set(__self__, "max_binlog_cache_size", max_binlog_cache_size) - pulumi.set(__self__, "max_connect_errors", max_connect_errors) - pulumi.set(__self__, "max_connections", max_connections) - pulumi.set(__self__, "max_execution_time", max_execution_time) - pulumi.set(__self__, "max_heap_table_size", max_heap_table_size) - pulumi.set(__self__, "max_prepared_stmt_count", max_prepared_stmt_count) - pulumi.set(__self__, "mysql_firewall_mode", mysql_firewall_mode) - pulumi.set(__self__, "mysql_zstd_default_compression_level", mysql_zstd_default_compression_level) - pulumi.set(__self__, "mysqlx_connect_timeout", mysqlx_connect_timeout) - pulumi.set(__self__, "mysqlx_deflate_default_compression_level", mysqlx_deflate_default_compression_level) - pulumi.set(__self__, "mysqlx_deflate_max_client_compression_level", mysqlx_deflate_max_client_compression_level) - pulumi.set(__self__, "mysqlx_document_id_unique_prefix", mysqlx_document_id_unique_prefix) - pulumi.set(__self__, "mysqlx_enable_hello_notice", mysqlx_enable_hello_notice) - pulumi.set(__self__, "mysqlx_idle_worker_thread_timeout", mysqlx_idle_worker_thread_timeout) - pulumi.set(__self__, "mysqlx_interactive_timeout", mysqlx_interactive_timeout) - pulumi.set(__self__, "mysqlx_lz4default_compression_level", mysqlx_lz4default_compression_level) - pulumi.set(__self__, "mysqlx_lz4max_client_compression_level", mysqlx_lz4max_client_compression_level) - pulumi.set(__self__, "mysqlx_max_allowed_packet", mysqlx_max_allowed_packet) - pulumi.set(__self__, "mysqlx_min_worker_threads", mysqlx_min_worker_threads) - pulumi.set(__self__, "mysqlx_read_timeout", mysqlx_read_timeout) - pulumi.set(__self__, "mysqlx_wait_timeout", mysqlx_wait_timeout) - pulumi.set(__self__, "mysqlx_write_timeout", mysqlx_write_timeout) - pulumi.set(__self__, "mysqlx_zstd_default_compression_level", mysqlx_zstd_default_compression_level) - pulumi.set(__self__, "mysqlx_zstd_max_client_compression_level", mysqlx_zstd_max_client_compression_level) - pulumi.set(__self__, "net_read_timeout", net_read_timeout) - pulumi.set(__self__, "net_write_timeout", net_write_timeout) - pulumi.set(__self__, "parser_max_mem_size", parser_max_mem_size) - pulumi.set(__self__, "query_alloc_block_size", query_alloc_block_size) - pulumi.set(__self__, "query_prealloc_size", query_prealloc_size) - pulumi.set(__self__, "regexp_time_limit", regexp_time_limit) - pulumi.set(__self__, "sort_buffer_size", sort_buffer_size) - pulumi.set(__self__, "sql_mode", sql_mode) - pulumi.set(__self__, "sql_require_primary_key", sql_require_primary_key) - pulumi.set(__self__, "sql_warnings", sql_warnings) - pulumi.set(__self__, "thread_pool_dedicated_listeners", thread_pool_dedicated_listeners) - pulumi.set(__self__, "thread_pool_max_transactions_limit", thread_pool_max_transactions_limit) - pulumi.set(__self__, "time_zone", time_zone) - pulumi.set(__self__, "tmp_table_size", tmp_table_size) - pulumi.set(__self__, "transaction_isolation", transaction_isolation) - pulumi.set(__self__, "wait_timeout", wait_timeout) + GetMysqlConfigurationsConfigurationVariableResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + autocommit=autocommit, + big_tables=big_tables, + binlog_expire_logs_seconds=binlog_expire_logs_seconds, + binlog_row_metadata=binlog_row_metadata, + binlog_row_value_options=binlog_row_value_options, + binlog_transaction_compression=binlog_transaction_compression, + completion_type=completion_type, + connect_timeout=connect_timeout, + connection_memory_chunk_size=connection_memory_chunk_size, + connection_memory_limit=connection_memory_limit, + cte_max_recursion_depth=cte_max_recursion_depth, + default_authentication_plugin=default_authentication_plugin, + foreign_key_checks=foreign_key_checks, + generated_random_password_length=generated_random_password_length, + global_connection_memory_limit=global_connection_memory_limit, + global_connection_memory_tracking=global_connection_memory_tracking, + group_replication_consistency=group_replication_consistency, + information_schema_stats_expiry=information_schema_stats_expiry, + innodb_buffer_pool_dump_pct=innodb_buffer_pool_dump_pct, + innodb_buffer_pool_instances=innodb_buffer_pool_instances, + innodb_buffer_pool_size=innodb_buffer_pool_size, + innodb_ddl_buffer_size=innodb_ddl_buffer_size, + innodb_ddl_threads=innodb_ddl_threads, + innodb_ft_enable_stopword=innodb_ft_enable_stopword, + innodb_ft_max_token_size=innodb_ft_max_token_size, + innodb_ft_min_token_size=innodb_ft_min_token_size, + innodb_ft_num_word_optimize=innodb_ft_num_word_optimize, + innodb_ft_result_cache_limit=innodb_ft_result_cache_limit, + innodb_ft_server_stopword_table=innodb_ft_server_stopword_table, + innodb_lock_wait_timeout=innodb_lock_wait_timeout, + innodb_log_writer_threads=innodb_log_writer_threads, + innodb_max_purge_lag=innodb_max_purge_lag, + innodb_max_purge_lag_delay=innodb_max_purge_lag_delay, + innodb_stats_persistent_sample_pages=innodb_stats_persistent_sample_pages, + innodb_stats_transient_sample_pages=innodb_stats_transient_sample_pages, + interactive_timeout=interactive_timeout, + local_infile=local_infile, + mandatory_roles=mandatory_roles, + max_allowed_packet=max_allowed_packet, + max_binlog_cache_size=max_binlog_cache_size, + max_connect_errors=max_connect_errors, + max_connections=max_connections, + max_execution_time=max_execution_time, + max_heap_table_size=max_heap_table_size, + max_prepared_stmt_count=max_prepared_stmt_count, + mysql_firewall_mode=mysql_firewall_mode, + mysql_zstd_default_compression_level=mysql_zstd_default_compression_level, + mysqlx_connect_timeout=mysqlx_connect_timeout, + mysqlx_deflate_default_compression_level=mysqlx_deflate_default_compression_level, + mysqlx_deflate_max_client_compression_level=mysqlx_deflate_max_client_compression_level, + mysqlx_document_id_unique_prefix=mysqlx_document_id_unique_prefix, + mysqlx_enable_hello_notice=mysqlx_enable_hello_notice, + mysqlx_idle_worker_thread_timeout=mysqlx_idle_worker_thread_timeout, + mysqlx_interactive_timeout=mysqlx_interactive_timeout, + mysqlx_lz4default_compression_level=mysqlx_lz4default_compression_level, + mysqlx_lz4max_client_compression_level=mysqlx_lz4max_client_compression_level, + mysqlx_max_allowed_packet=mysqlx_max_allowed_packet, + mysqlx_min_worker_threads=mysqlx_min_worker_threads, + mysqlx_read_timeout=mysqlx_read_timeout, + mysqlx_wait_timeout=mysqlx_wait_timeout, + mysqlx_write_timeout=mysqlx_write_timeout, + mysqlx_zstd_default_compression_level=mysqlx_zstd_default_compression_level, + mysqlx_zstd_max_client_compression_level=mysqlx_zstd_max_client_compression_level, + net_read_timeout=net_read_timeout, + net_write_timeout=net_write_timeout, + parser_max_mem_size=parser_max_mem_size, + query_alloc_block_size=query_alloc_block_size, + query_prealloc_size=query_prealloc_size, + regexp_time_limit=regexp_time_limit, + sort_buffer_size=sort_buffer_size, + sql_mode=sql_mode, + sql_require_primary_key=sql_require_primary_key, + sql_warnings=sql_warnings, + thread_pool_dedicated_listeners=thread_pool_dedicated_listeners, + thread_pool_max_transactions_limit=thread_pool_max_transactions_limit, + time_zone=time_zone, + tmp_table_size=tmp_table_size, + transaction_isolation=transaction_isolation, + wait_timeout=wait_timeout, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + autocommit: bool, + big_tables: bool, + binlog_expire_logs_seconds: int, + binlog_row_metadata: str, + binlog_row_value_options: str, + binlog_transaction_compression: bool, + completion_type: str, + connect_timeout: int, + connection_memory_chunk_size: int, + connection_memory_limit: str, + cte_max_recursion_depth: str, + default_authentication_plugin: str, + foreign_key_checks: bool, + generated_random_password_length: int, + global_connection_memory_limit: str, + global_connection_memory_tracking: bool, + group_replication_consistency: str, + information_schema_stats_expiry: int, + innodb_buffer_pool_dump_pct: int, + innodb_buffer_pool_instances: int, + innodb_buffer_pool_size: str, + innodb_ddl_buffer_size: str, + innodb_ddl_threads: int, + innodb_ft_enable_stopword: bool, + innodb_ft_max_token_size: int, + innodb_ft_min_token_size: int, + innodb_ft_num_word_optimize: int, + innodb_ft_result_cache_limit: str, + innodb_ft_server_stopword_table: str, + innodb_lock_wait_timeout: int, + innodb_log_writer_threads: bool, + innodb_max_purge_lag: str, + innodb_max_purge_lag_delay: int, + innodb_stats_persistent_sample_pages: str, + innodb_stats_transient_sample_pages: str, + interactive_timeout: int, + local_infile: bool, + mandatory_roles: str, + max_allowed_packet: int, + max_binlog_cache_size: str, + max_connect_errors: str, + max_connections: int, + max_execution_time: str, + max_heap_table_size: str, + max_prepared_stmt_count: int, + mysql_firewall_mode: bool, + mysql_zstd_default_compression_level: int, + mysqlx_connect_timeout: int, + mysqlx_deflate_default_compression_level: int, + mysqlx_deflate_max_client_compression_level: int, + mysqlx_document_id_unique_prefix: int, + mysqlx_enable_hello_notice: bool, + mysqlx_idle_worker_thread_timeout: int, + mysqlx_interactive_timeout: int, + mysqlx_lz4default_compression_level: int, + mysqlx_lz4max_client_compression_level: int, + mysqlx_max_allowed_packet: int, + mysqlx_min_worker_threads: int, + mysqlx_read_timeout: int, + mysqlx_wait_timeout: int, + mysqlx_write_timeout: int, + mysqlx_zstd_default_compression_level: int, + mysqlx_zstd_max_client_compression_level: int, + net_read_timeout: int, + net_write_timeout: int, + parser_max_mem_size: str, + query_alloc_block_size: str, + query_prealloc_size: str, + regexp_time_limit: int, + sort_buffer_size: str, + sql_mode: str, + sql_require_primary_key: bool, + sql_warnings: bool, + thread_pool_dedicated_listeners: bool, + thread_pool_max_transactions_limit: int, + time_zone: str, + tmp_table_size: str, + transaction_isolation: str, + wait_timeout: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("autocommit", autocommit) + _setter("big_tables", big_tables) + _setter("binlog_expire_logs_seconds", binlog_expire_logs_seconds) + _setter("binlog_row_metadata", binlog_row_metadata) + _setter("binlog_row_value_options", binlog_row_value_options) + _setter("binlog_transaction_compression", binlog_transaction_compression) + _setter("completion_type", completion_type) + _setter("connect_timeout", connect_timeout) + _setter("connection_memory_chunk_size", connection_memory_chunk_size) + _setter("connection_memory_limit", connection_memory_limit) + _setter("cte_max_recursion_depth", cte_max_recursion_depth) + _setter("default_authentication_plugin", default_authentication_plugin) + _setter("foreign_key_checks", foreign_key_checks) + _setter("generated_random_password_length", generated_random_password_length) + _setter("global_connection_memory_limit", global_connection_memory_limit) + _setter("global_connection_memory_tracking", global_connection_memory_tracking) + _setter("group_replication_consistency", group_replication_consistency) + _setter("information_schema_stats_expiry", information_schema_stats_expiry) + _setter("innodb_buffer_pool_dump_pct", innodb_buffer_pool_dump_pct) + _setter("innodb_buffer_pool_instances", innodb_buffer_pool_instances) + _setter("innodb_buffer_pool_size", innodb_buffer_pool_size) + _setter("innodb_ddl_buffer_size", innodb_ddl_buffer_size) + _setter("innodb_ddl_threads", innodb_ddl_threads) + _setter("innodb_ft_enable_stopword", innodb_ft_enable_stopword) + _setter("innodb_ft_max_token_size", innodb_ft_max_token_size) + _setter("innodb_ft_min_token_size", innodb_ft_min_token_size) + _setter("innodb_ft_num_word_optimize", innodb_ft_num_word_optimize) + _setter("innodb_ft_result_cache_limit", innodb_ft_result_cache_limit) + _setter("innodb_ft_server_stopword_table", innodb_ft_server_stopword_table) + _setter("innodb_lock_wait_timeout", innodb_lock_wait_timeout) + _setter("innodb_log_writer_threads", innodb_log_writer_threads) + _setter("innodb_max_purge_lag", innodb_max_purge_lag) + _setter("innodb_max_purge_lag_delay", innodb_max_purge_lag_delay) + _setter("innodb_stats_persistent_sample_pages", innodb_stats_persistent_sample_pages) + _setter("innodb_stats_transient_sample_pages", innodb_stats_transient_sample_pages) + _setter("interactive_timeout", interactive_timeout) + _setter("local_infile", local_infile) + _setter("mandatory_roles", mandatory_roles) + _setter("max_allowed_packet", max_allowed_packet) + _setter("max_binlog_cache_size", max_binlog_cache_size) + _setter("max_connect_errors", max_connect_errors) + _setter("max_connections", max_connections) + _setter("max_execution_time", max_execution_time) + _setter("max_heap_table_size", max_heap_table_size) + _setter("max_prepared_stmt_count", max_prepared_stmt_count) + _setter("mysql_firewall_mode", mysql_firewall_mode) + _setter("mysql_zstd_default_compression_level", mysql_zstd_default_compression_level) + _setter("mysqlx_connect_timeout", mysqlx_connect_timeout) + _setter("mysqlx_deflate_default_compression_level", mysqlx_deflate_default_compression_level) + _setter("mysqlx_deflate_max_client_compression_level", mysqlx_deflate_max_client_compression_level) + _setter("mysqlx_document_id_unique_prefix", mysqlx_document_id_unique_prefix) + _setter("mysqlx_enable_hello_notice", mysqlx_enable_hello_notice) + _setter("mysqlx_idle_worker_thread_timeout", mysqlx_idle_worker_thread_timeout) + _setter("mysqlx_interactive_timeout", mysqlx_interactive_timeout) + _setter("mysqlx_lz4default_compression_level", mysqlx_lz4default_compression_level) + _setter("mysqlx_lz4max_client_compression_level", mysqlx_lz4max_client_compression_level) + _setter("mysqlx_max_allowed_packet", mysqlx_max_allowed_packet) + _setter("mysqlx_min_worker_threads", mysqlx_min_worker_threads) + _setter("mysqlx_read_timeout", mysqlx_read_timeout) + _setter("mysqlx_wait_timeout", mysqlx_wait_timeout) + _setter("mysqlx_write_timeout", mysqlx_write_timeout) + _setter("mysqlx_zstd_default_compression_level", mysqlx_zstd_default_compression_level) + _setter("mysqlx_zstd_max_client_compression_level", mysqlx_zstd_max_client_compression_level) + _setter("net_read_timeout", net_read_timeout) + _setter("net_write_timeout", net_write_timeout) + _setter("parser_max_mem_size", parser_max_mem_size) + _setter("query_alloc_block_size", query_alloc_block_size) + _setter("query_prealloc_size", query_prealloc_size) + _setter("regexp_time_limit", regexp_time_limit) + _setter("sort_buffer_size", sort_buffer_size) + _setter("sql_mode", sql_mode) + _setter("sql_require_primary_key", sql_require_primary_key) + _setter("sql_warnings", sql_warnings) + _setter("thread_pool_dedicated_listeners", thread_pool_dedicated_listeners) + _setter("thread_pool_max_transactions_limit", thread_pool_max_transactions_limit) + _setter("time_zone", time_zone) + _setter("tmp_table_size", tmp_table_size) + _setter("transaction_isolation", transaction_isolation) + _setter("wait_timeout", wait_timeout) @property @pulumi.getter @@ -8107,10 +9762,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetMysqlConfigurationsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -8145,12 +9813,31 @@ def __init__(__self__, *, :param int retention_in_days: The number of days automated backups are retained. :param str window_start_time: The start time of the maintenance window. """ - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "pitr_policies", pitr_policies) - pulumi.set(__self__, "retention_in_days", retention_in_days) - pulumi.set(__self__, "window_start_time", window_start_time) + GetMysqlDbSystemBackupPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + defined_tags=defined_tags, + freeform_tags=freeform_tags, + is_enabled=is_enabled, + pitr_policies=pitr_policies, + retention_in_days=retention_in_days, + window_start_time=window_start_time, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + defined_tags: Mapping[str, Any], + freeform_tags: Mapping[str, Any], + is_enabled: bool, + pitr_policies: Sequence['outputs.GetMysqlDbSystemBackupPolicyPitrPolicyResult'], + retention_in_days: int, + window_start_time: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("defined_tags", defined_tags) + _setter("freeform_tags", freeform_tags) + _setter("is_enabled", is_enabled) + _setter("pitr_policies", pitr_policies) + _setter("retention_in_days", retention_in_days) + _setter("window_start_time", window_start_time) @property @pulumi.getter(name="definedTags") @@ -8208,7 +9895,16 @@ def __init__(__self__, *, """ :param bool is_enabled: Whether the Channel has been enabled by the user. """ - pulumi.set(__self__, "is_enabled", is_enabled) + GetMysqlDbSystemBackupPolicyPitrPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_enabled", is_enabled) @property @pulumi.getter(name="isEnabled") @@ -8248,18 +9944,49 @@ def __init__(__self__, *, :param str time_created: The date and time the DB System was created. :param str time_updated: The time the DB System was last updated. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "sources", sources) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "targets", targets) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetMysqlDbSystemChannelResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + is_enabled=is_enabled, + lifecycle_details=lifecycle_details, + sources=sources, + state=state, + targets=targets, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + is_enabled: bool, + lifecycle_details: str, + sources: Sequence['outputs.GetMysqlDbSystemChannelSourceResult'], + state: str, + targets: Sequence['outputs.GetMysqlDbSystemChannelTargetResult'], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_enabled", is_enabled) + _setter("lifecycle_details", lifecycle_details) + _setter("sources", sources) + _setter("state", state) + _setter("targets", targets) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -8377,13 +10104,34 @@ def __init__(__self__, *, :param str ssl_mode: The SSL mode of the Channel. :param str username: The name of the replication user on the source MySQL instance. The username has a maximum length of 96 characters. For more information, please see the [MySQL documentation](https://dev.mysql.com/doc/refman/8.0/en/change-master-to.html) """ - pulumi.set(__self__, "anonymous_transactions_handlings", anonymous_transactions_handlings) - pulumi.set(__self__, "hostname", hostname) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "source_type", source_type) - pulumi.set(__self__, "ssl_ca_certificates", ssl_ca_certificates) - pulumi.set(__self__, "ssl_mode", ssl_mode) - pulumi.set(__self__, "username", username) + GetMysqlDbSystemChannelSourceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + anonymous_transactions_handlings=anonymous_transactions_handlings, + hostname=hostname, + port=port, + source_type=source_type, + ssl_ca_certificates=ssl_ca_certificates, + ssl_mode=ssl_mode, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + anonymous_transactions_handlings: Sequence['outputs.GetMysqlDbSystemChannelSourceAnonymousTransactionsHandlingResult'], + hostname: str, + port: int, + source_type: str, + ssl_ca_certificates: Sequence['outputs.GetMysqlDbSystemChannelSourceSslCaCertificateResult'], + ssl_mode: str, + username: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("anonymous_transactions_handlings", anonymous_transactions_handlings) + _setter("hostname", hostname) + _setter("port", port) + _setter("source_type", source_type) + _setter("ssl_ca_certificates", ssl_ca_certificates) + _setter("ssl_mode", ssl_mode) + _setter("username", username) @property @pulumi.getter(name="anonymousTransactionsHandlings") @@ -8455,10 +10203,25 @@ def __init__(__self__, *, :param str policy: Specifies how the replication channel handles anonymous transactions. :param str uuid: The UUID that is used as a prefix when generating transaction identifiers for anonymous transactions coming from the source. You can change the UUID later. """ - pulumi.set(__self__, "last_configured_log_filename", last_configured_log_filename) - pulumi.set(__self__, "last_configured_log_offset", last_configured_log_offset) - pulumi.set(__self__, "policy", policy) - pulumi.set(__self__, "uuid", uuid) + GetMysqlDbSystemChannelSourceAnonymousTransactionsHandlingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + last_configured_log_filename=last_configured_log_filename, + last_configured_log_offset=last_configured_log_offset, + policy=policy, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + last_configured_log_filename: str, + last_configured_log_offset: str, + policy: str, + uuid: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("last_configured_log_filename", last_configured_log_filename) + _setter("last_configured_log_offset", last_configured_log_offset) + _setter("policy", policy) + _setter("uuid", uuid) @property @pulumi.getter(name="lastConfiguredLogFilename") @@ -8502,8 +10265,19 @@ def __init__(__self__, *, :param str certificate_type: The type of CA certificate. :param str contents: The string containing the CA certificate in PEM format. """ - pulumi.set(__self__, "certificate_type", certificate_type) - pulumi.set(__self__, "contents", contents) + GetMysqlDbSystemChannelSourceSslCaCertificateResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + certificate_type=certificate_type, + contents=contents, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + certificate_type: str, + contents: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("certificate_type", certificate_type) + _setter("contents", contents) @property @pulumi.getter(name="certificateType") @@ -8541,13 +10315,34 @@ def __init__(__self__, *, :param str tables_without_primary_key_handling: Specifies how a replication channel handles the creation and alteration of tables that do not have a primary key. :param str target_type: The specific target identifier. """ - pulumi.set(__self__, "applier_username", applier_username) - pulumi.set(__self__, "channel_name", channel_name) - pulumi.set(__self__, "db_system_id", db_system_id) - pulumi.set(__self__, "delay_in_seconds", delay_in_seconds) - pulumi.set(__self__, "filters", filters) - pulumi.set(__self__, "tables_without_primary_key_handling", tables_without_primary_key_handling) - pulumi.set(__self__, "target_type", target_type) + GetMysqlDbSystemChannelTargetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + applier_username=applier_username, + channel_name=channel_name, + db_system_id=db_system_id, + delay_in_seconds=delay_in_seconds, + filters=filters, + tables_without_primary_key_handling=tables_without_primary_key_handling, + target_type=target_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + applier_username: str, + channel_name: str, + db_system_id: str, + delay_in_seconds: int, + filters: Sequence['outputs.GetMysqlDbSystemChannelTargetFilterResult'], + tables_without_primary_key_handling: str, + target_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("applier_username", applier_username) + _setter("channel_name", channel_name) + _setter("db_system_id", db_system_id) + _setter("delay_in_seconds", delay_in_seconds) + _setter("filters", filters) + _setter("tables_without_primary_key_handling", tables_without_primary_key_handling) + _setter("target_type", target_type) @property @pulumi.getter(name="applierUsername") @@ -8615,8 +10410,19 @@ def __init__(__self__, *, :param str type: The type of the filter rule. :param str value: The body of the filter rule. This can represent a database, a table, or a database pair (represented as "db1->db2"). For more information, see [Replication Filtering Rules](https://dev.mysql.com/doc/refman/8.0/en/replication-rules.html). """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetMysqlDbSystemChannelTargetFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -8644,8 +10450,19 @@ def __init__(__self__, *, :param str availability_domain: The availability domain in which the DB System is placed. :param str fault_domain: The fault domain on which to deploy the Read/Write endpoint. This defines the preferred primary instance. """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "fault_domain", fault_domain) + GetMysqlDbSystemCurrentPlacementResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + fault_domain=fault_domain, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + fault_domain: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("fault_domain", fault_domain) @property @pulumi.getter(name="availabilityDomain") @@ -8675,9 +10492,22 @@ def __init__(__self__, *, :param str final_backup: Specifies whether or not a backup is taken when the DB System is deleted. REQUIRE_FINAL_BACKUP: a backup is taken if the DB System is deleted. SKIP_FINAL_BACKUP: a backup is not taken if the DB System is deleted. :param bool is_delete_protected: Specifies whether the DB System can be deleted. Set to true to prevent deletion, false (default) to allow. """ - pulumi.set(__self__, "automatic_backup_retention", automatic_backup_retention) - pulumi.set(__self__, "final_backup", final_backup) - pulumi.set(__self__, "is_delete_protected", is_delete_protected) + GetMysqlDbSystemDeletionPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + automatic_backup_retention=automatic_backup_retention, + final_backup=final_backup, + is_delete_protected=is_delete_protected, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + automatic_backup_retention: str, + final_backup: str, + is_delete_protected: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("automatic_backup_retention", automatic_backup_retention) + _setter("final_backup", final_backup) + _setter("is_delete_protected", is_delete_protected) @property @pulumi.getter(name="automaticBackupRetention") @@ -8727,15 +10557,40 @@ def __init__(__self__, *, :param str status: The state of the endpoints, as far as it can seen from the DB System. There may be some inconsistency with the actual state of the MySQL service. :param str status_details: Additional information about the current endpoint status. """ - pulumi.set(__self__, "hostname", hostname) - pulumi.set(__self__, "ip_address", ip_address) - pulumi.set(__self__, "modes", modes) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "port_x", port_x) - pulumi.set(__self__, "resource_id", resource_id) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "status_details", status_details) + GetMysqlDbSystemEndpointResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + hostname=hostname, + ip_address=ip_address, + modes=modes, + port=port, + port_x=port_x, + resource_id=resource_id, + resource_type=resource_type, + status=status, + status_details=status_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hostname: str, + ip_address: str, + modes: Sequence[str], + port: int, + port_x: int, + resource_id: str, + resource_type: str, + status: str, + status_details: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("hostname", hostname) + _setter("ip_address", ip_address) + _setter("modes", modes) + _setter("port", port) + _setter("port_x", port_x) + _setter("resource_id", resource_id) + _setter("resource_type", resource_type) + _setter("status", status) + _setter("status_details", status_details) @property @pulumi.getter @@ -8827,12 +10682,31 @@ def __init__(__self__, *, :param str time_created: The date and time the DB System was created. :param str time_updated: The time the DB System was last updated. """ - pulumi.set(__self__, "cluster_size", cluster_size) - pulumi.set(__self__, "is_lakehouse_enabled", is_lakehouse_enabled) - pulumi.set(__self__, "shape_name", shape_name) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetMysqlDbSystemHeatWaveClusterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cluster_size=cluster_size, + is_lakehouse_enabled=is_lakehouse_enabled, + shape_name=shape_name, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cluster_size: int, + is_lakehouse_enabled: bool, + shape_name: str, + state: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cluster_size", cluster_size) + _setter("is_lakehouse_enabled", is_lakehouse_enabled) + _setter("shape_name", shape_name) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="clusterSize") @@ -8890,7 +10764,16 @@ def __init__(__self__, *, """ :param str window_start_time: The start time of the maintenance window. """ - pulumi.set(__self__, "window_start_time", window_start_time) + GetMysqlDbSystemMaintenanceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + window_start_time=window_start_time, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + window_start_time: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("window_start_time", window_start_time) @property @pulumi.getter(name="windowStartTime") @@ -8910,8 +10793,19 @@ def __init__(__self__, *, :param str time_earliest_recovery_point: Earliest recovery time point for the DB System, as described by [RFC 3339](https://tools.ietf.org/rfc/rfc3339). :param str time_latest_recovery_point: Latest recovery time point for the DB System, as described by [RFC 3339](https://tools.ietf.org/rfc/rfc3339). """ - pulumi.set(__self__, "time_earliest_recovery_point", time_earliest_recovery_point) - pulumi.set(__self__, "time_latest_recovery_point", time_latest_recovery_point) + GetMysqlDbSystemPointInTimeRecoveryDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + time_earliest_recovery_point=time_earliest_recovery_point, + time_latest_recovery_point=time_latest_recovery_point, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + time_earliest_recovery_point: str, + time_latest_recovery_point: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("time_earliest_recovery_point", time_earliest_recovery_point) + _setter("time_latest_recovery_point", time_latest_recovery_point) @property @pulumi.getter(name="timeEarliestRecoveryPoint") @@ -8944,11 +10838,28 @@ def __init__(__self__, *, :param str recovery_point: The date and time, as per RFC 3339, of the change up to which the new DB System shall be restored to, using a backup and logs from the original DB System. In case no point in time is specified, then this new DB System shall be restored up to the latest change recorded for the original DB System. :param str source_type: The specific source identifier. """ - pulumi.set(__self__, "backup_id", backup_id) - pulumi.set(__self__, "db_system_id", db_system_id) - pulumi.set(__self__, "recovery_point", recovery_point) - pulumi.set(__self__, "source_type", source_type) - pulumi.set(__self__, "source_url", source_url) + GetMysqlDbSystemSourceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + backup_id=backup_id, + db_system_id=db_system_id, + recovery_point=recovery_point, + source_type=source_type, + source_url=source_url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backup_id: str, + db_system_id: str, + recovery_point: str, + source_type: str, + source_url: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("backup_id", backup_id) + _setter("db_system_id", db_system_id) + _setter("recovery_point", recovery_point) + _setter("source_type", source_type) + _setter("source_url", source_url) @property @pulumi.getter(name="backupId") @@ -9062,42 +10973,121 @@ def __init__(__self__, *, :param str time_created: The date and time the DB System was created. :param str time_updated: The time the DB System was last updated. """ - pulumi.set(__self__, "admin_password", admin_password) - pulumi.set(__self__, "admin_username", admin_username) - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "backup_policies", backup_policies) - pulumi.set(__self__, "channels", channels) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "configuration_id", configuration_id) - pulumi.set(__self__, "crash_recovery", crash_recovery) - pulumi.set(__self__, "current_placements", current_placements) - pulumi.set(__self__, "data_storage_size_in_gb", data_storage_size_in_gb) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "deletion_policies", deletion_policies) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "endpoints", endpoints) - pulumi.set(__self__, "fault_domain", fault_domain) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "heat_wave_clusters", heat_wave_clusters) - pulumi.set(__self__, "hostname_label", hostname_label) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "ip_address", ip_address) - pulumi.set(__self__, "is_heat_wave_cluster_attached", is_heat_wave_cluster_attached) - pulumi.set(__self__, "is_highly_available", is_highly_available) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "maintenances", maintenances) - pulumi.set(__self__, "mysql_version", mysql_version) - pulumi.set(__self__, "point_in_time_recovery_details", point_in_time_recovery_details) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "port_x", port_x) - pulumi.set(__self__, "shape_name", shape_name) - pulumi.set(__self__, "shutdown_type", shutdown_type) - pulumi.set(__self__, "sources", sources) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetMysqlDbSystemsDbSystemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + admin_password=admin_password, + admin_username=admin_username, + availability_domain=availability_domain, + backup_policies=backup_policies, + channels=channels, + compartment_id=compartment_id, + configuration_id=configuration_id, + crash_recovery=crash_recovery, + current_placements=current_placements, + data_storage_size_in_gb=data_storage_size_in_gb, + defined_tags=defined_tags, + deletion_policies=deletion_policies, + description=description, + display_name=display_name, + endpoints=endpoints, + fault_domain=fault_domain, + freeform_tags=freeform_tags, + heat_wave_clusters=heat_wave_clusters, + hostname_label=hostname_label, + id=id, + ip_address=ip_address, + is_heat_wave_cluster_attached=is_heat_wave_cluster_attached, + is_highly_available=is_highly_available, + lifecycle_details=lifecycle_details, + maintenances=maintenances, + mysql_version=mysql_version, + point_in_time_recovery_details=point_in_time_recovery_details, + port=port, + port_x=port_x, + shape_name=shape_name, + shutdown_type=shutdown_type, + sources=sources, + state=state, + subnet_id=subnet_id, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + admin_password: str, + admin_username: str, + availability_domain: str, + backup_policies: Sequence['outputs.GetMysqlDbSystemsDbSystemBackupPolicyResult'], + channels: Sequence['outputs.GetMysqlDbSystemsDbSystemChannelResult'], + compartment_id: str, + configuration_id: str, + crash_recovery: str, + current_placements: Sequence['outputs.GetMysqlDbSystemsDbSystemCurrentPlacementResult'], + data_storage_size_in_gb: int, + defined_tags: Mapping[str, Any], + deletion_policies: Sequence['outputs.GetMysqlDbSystemsDbSystemDeletionPolicyResult'], + description: str, + display_name: str, + endpoints: Sequence['outputs.GetMysqlDbSystemsDbSystemEndpointResult'], + fault_domain: str, + freeform_tags: Mapping[str, Any], + heat_wave_clusters: Sequence['outputs.GetMysqlDbSystemsDbSystemHeatWaveClusterResult'], + hostname_label: str, + id: str, + ip_address: str, + is_heat_wave_cluster_attached: bool, + is_highly_available: bool, + lifecycle_details: str, + maintenances: Sequence['outputs.GetMysqlDbSystemsDbSystemMaintenanceResult'], + mysql_version: str, + point_in_time_recovery_details: Sequence['outputs.GetMysqlDbSystemsDbSystemPointInTimeRecoveryDetailResult'], + port: int, + port_x: int, + shape_name: str, + shutdown_type: str, + sources: Sequence['outputs.GetMysqlDbSystemsDbSystemSourceResult'], + state: str, + subnet_id: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("admin_password", admin_password) + _setter("admin_username", admin_username) + _setter("availability_domain", availability_domain) + _setter("backup_policies", backup_policies) + _setter("channels", channels) + _setter("compartment_id", compartment_id) + _setter("configuration_id", configuration_id) + _setter("crash_recovery", crash_recovery) + _setter("current_placements", current_placements) + _setter("data_storage_size_in_gb", data_storage_size_in_gb) + _setter("defined_tags", defined_tags) + _setter("deletion_policies", deletion_policies) + _setter("description", description) + _setter("display_name", display_name) + _setter("endpoints", endpoints) + _setter("fault_domain", fault_domain) + _setter("freeform_tags", freeform_tags) + _setter("heat_wave_clusters", heat_wave_clusters) + _setter("hostname_label", hostname_label) + _setter("id", id) + _setter("ip_address", ip_address) + _setter("is_heat_wave_cluster_attached", is_heat_wave_cluster_attached) + _setter("is_highly_available", is_highly_available) + _setter("lifecycle_details", lifecycle_details) + _setter("maintenances", maintenances) + _setter("mysql_version", mysql_version) + _setter("point_in_time_recovery_details", point_in_time_recovery_details) + _setter("port", port) + _setter("port_x", port_x) + _setter("shape_name", shape_name) + _setter("shutdown_type", shutdown_type) + _setter("sources", sources) + _setter("state", state) + _setter("subnet_id", subnet_id) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="adminPassword") @@ -9396,12 +11386,31 @@ def __init__(__self__, *, :param int retention_in_days: The number of days automated backups are retained. :param str window_start_time: The start time of the maintenance window. """ - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "pitr_policies", pitr_policies) - pulumi.set(__self__, "retention_in_days", retention_in_days) - pulumi.set(__self__, "window_start_time", window_start_time) + GetMysqlDbSystemsDbSystemBackupPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + defined_tags=defined_tags, + freeform_tags=freeform_tags, + is_enabled=is_enabled, + pitr_policies=pitr_policies, + retention_in_days=retention_in_days, + window_start_time=window_start_time, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + defined_tags: Mapping[str, Any], + freeform_tags: Mapping[str, Any], + is_enabled: bool, + pitr_policies: Sequence['outputs.GetMysqlDbSystemsDbSystemBackupPolicyPitrPolicyResult'], + retention_in_days: int, + window_start_time: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("defined_tags", defined_tags) + _setter("freeform_tags", freeform_tags) + _setter("is_enabled", is_enabled) + _setter("pitr_policies", pitr_policies) + _setter("retention_in_days", retention_in_days) + _setter("window_start_time", window_start_time) @property @pulumi.getter(name="definedTags") @@ -9459,7 +11468,16 @@ def __init__(__self__, *, """ :param bool is_enabled: Whether the Channel has been enabled by the user. """ - pulumi.set(__self__, "is_enabled", is_enabled) + GetMysqlDbSystemsDbSystemBackupPolicyPitrPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_enabled", is_enabled) @property @pulumi.getter(name="isEnabled") @@ -9499,18 +11517,49 @@ def __init__(__self__, *, :param str time_created: The date and time the DB System was created. :param str time_updated: The time the DB System was last updated. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "sources", sources) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "targets", targets) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetMysqlDbSystemsDbSystemChannelResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + is_enabled=is_enabled, + lifecycle_details=lifecycle_details, + sources=sources, + state=state, + targets=targets, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + is_enabled: bool, + lifecycle_details: str, + sources: Sequence['outputs.GetMysqlDbSystemsDbSystemChannelSourceResult'], + state: str, + targets: Sequence['outputs.GetMysqlDbSystemsDbSystemChannelTargetResult'], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_enabled", is_enabled) + _setter("lifecycle_details", lifecycle_details) + _setter("sources", sources) + _setter("state", state) + _setter("targets", targets) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -9628,13 +11677,34 @@ def __init__(__self__, *, :param str ssl_mode: The SSL mode of the Channel. :param str username: The name of the replication user on the source MySQL instance. The username has a maximum length of 96 characters. For more information, please see the [MySQL documentation](https://dev.mysql.com/doc/refman/8.0/en/change-master-to.html) """ - pulumi.set(__self__, "anonymous_transactions_handlings", anonymous_transactions_handlings) - pulumi.set(__self__, "hostname", hostname) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "source_type", source_type) - pulumi.set(__self__, "ssl_ca_certificates", ssl_ca_certificates) - pulumi.set(__self__, "ssl_mode", ssl_mode) - pulumi.set(__self__, "username", username) + GetMysqlDbSystemsDbSystemChannelSourceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + anonymous_transactions_handlings=anonymous_transactions_handlings, + hostname=hostname, + port=port, + source_type=source_type, + ssl_ca_certificates=ssl_ca_certificates, + ssl_mode=ssl_mode, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + anonymous_transactions_handlings: Sequence['outputs.GetMysqlDbSystemsDbSystemChannelSourceAnonymousTransactionsHandlingResult'], + hostname: str, + port: int, + source_type: str, + ssl_ca_certificates: Sequence['outputs.GetMysqlDbSystemsDbSystemChannelSourceSslCaCertificateResult'], + ssl_mode: str, + username: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("anonymous_transactions_handlings", anonymous_transactions_handlings) + _setter("hostname", hostname) + _setter("port", port) + _setter("source_type", source_type) + _setter("ssl_ca_certificates", ssl_ca_certificates) + _setter("ssl_mode", ssl_mode) + _setter("username", username) @property @pulumi.getter(name="anonymousTransactionsHandlings") @@ -9706,10 +11776,25 @@ def __init__(__self__, *, :param str policy: Specifies how the replication channel handles anonymous transactions. :param str uuid: The UUID that is used as a prefix when generating transaction identifiers for anonymous transactions coming from the source. You can change the UUID later. """ - pulumi.set(__self__, "last_configured_log_filename", last_configured_log_filename) - pulumi.set(__self__, "last_configured_log_offset", last_configured_log_offset) - pulumi.set(__self__, "policy", policy) - pulumi.set(__self__, "uuid", uuid) + GetMysqlDbSystemsDbSystemChannelSourceAnonymousTransactionsHandlingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + last_configured_log_filename=last_configured_log_filename, + last_configured_log_offset=last_configured_log_offset, + policy=policy, + uuid=uuid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + last_configured_log_filename: str, + last_configured_log_offset: str, + policy: str, + uuid: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("last_configured_log_filename", last_configured_log_filename) + _setter("last_configured_log_offset", last_configured_log_offset) + _setter("policy", policy) + _setter("uuid", uuid) @property @pulumi.getter(name="lastConfiguredLogFilename") @@ -9753,8 +11838,19 @@ def __init__(__self__, *, :param str certificate_type: The type of CA certificate. :param str contents: The string containing the CA certificate in PEM format. """ - pulumi.set(__self__, "certificate_type", certificate_type) - pulumi.set(__self__, "contents", contents) + GetMysqlDbSystemsDbSystemChannelSourceSslCaCertificateResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + certificate_type=certificate_type, + contents=contents, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + certificate_type: str, + contents: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("certificate_type", certificate_type) + _setter("contents", contents) @property @pulumi.getter(name="certificateType") @@ -9792,13 +11888,34 @@ def __init__(__self__, *, :param str tables_without_primary_key_handling: Specifies how a replication channel handles the creation and alteration of tables that do not have a primary key. :param str target_type: The specific target identifier. """ - pulumi.set(__self__, "applier_username", applier_username) - pulumi.set(__self__, "channel_name", channel_name) - pulumi.set(__self__, "db_system_id", db_system_id) - pulumi.set(__self__, "delay_in_seconds", delay_in_seconds) - pulumi.set(__self__, "filters", filters) - pulumi.set(__self__, "tables_without_primary_key_handling", tables_without_primary_key_handling) - pulumi.set(__self__, "target_type", target_type) + GetMysqlDbSystemsDbSystemChannelTargetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + applier_username=applier_username, + channel_name=channel_name, + db_system_id=db_system_id, + delay_in_seconds=delay_in_seconds, + filters=filters, + tables_without_primary_key_handling=tables_without_primary_key_handling, + target_type=target_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + applier_username: str, + channel_name: str, + db_system_id: str, + delay_in_seconds: int, + filters: Sequence['outputs.GetMysqlDbSystemsDbSystemChannelTargetFilterResult'], + tables_without_primary_key_handling: str, + target_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("applier_username", applier_username) + _setter("channel_name", channel_name) + _setter("db_system_id", db_system_id) + _setter("delay_in_seconds", delay_in_seconds) + _setter("filters", filters) + _setter("tables_without_primary_key_handling", tables_without_primary_key_handling) + _setter("target_type", target_type) @property @pulumi.getter(name="applierUsername") @@ -9866,8 +11983,19 @@ def __init__(__self__, *, :param str type: The type of the filter rule. :param str value: The body of the filter rule. This can represent a database, a table, or a database pair (represented as "db1->db2"). For more information, see [Replication Filtering Rules](https://dev.mysql.com/doc/refman/8.0/en/replication-rules.html). """ - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "value", value) + GetMysqlDbSystemsDbSystemChannelTargetFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) + _setter("value", value) @property @pulumi.getter @@ -9895,8 +12023,19 @@ def __init__(__self__, *, :param str availability_domain: The availability domain in which the DB System is placed. :param str fault_domain: The fault domain on which to deploy the Read/Write endpoint. This defines the preferred primary instance. """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "fault_domain", fault_domain) + GetMysqlDbSystemsDbSystemCurrentPlacementResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + fault_domain=fault_domain, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + fault_domain: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("fault_domain", fault_domain) @property @pulumi.getter(name="availabilityDomain") @@ -9926,9 +12065,22 @@ def __init__(__self__, *, :param str final_backup: Specifies whether or not a backup is taken when the DB System is deleted. REQUIRE_FINAL_BACKUP: a backup is taken if the DB System is deleted. SKIP_FINAL_BACKUP: a backup is not taken if the DB System is deleted. :param bool is_delete_protected: Specifies whether the DB System can be deleted. Set to true to prevent deletion, false (default) to allow. """ - pulumi.set(__self__, "automatic_backup_retention", automatic_backup_retention) - pulumi.set(__self__, "final_backup", final_backup) - pulumi.set(__self__, "is_delete_protected", is_delete_protected) + GetMysqlDbSystemsDbSystemDeletionPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + automatic_backup_retention=automatic_backup_retention, + final_backup=final_backup, + is_delete_protected=is_delete_protected, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + automatic_backup_retention: str, + final_backup: str, + is_delete_protected: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("automatic_backup_retention", automatic_backup_retention) + _setter("final_backup", final_backup) + _setter("is_delete_protected", is_delete_protected) @property @pulumi.getter(name="automaticBackupRetention") @@ -9978,15 +12130,40 @@ def __init__(__self__, *, :param str status: The state of the endpoints, as far as it can seen from the DB System. There may be some inconsistency with the actual state of the MySQL service. :param str status_details: Additional information about the current endpoint status. """ - pulumi.set(__self__, "hostname", hostname) - pulumi.set(__self__, "ip_address", ip_address) - pulumi.set(__self__, "modes", modes) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "port_x", port_x) - pulumi.set(__self__, "resource_id", resource_id) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "status_details", status_details) + GetMysqlDbSystemsDbSystemEndpointResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + hostname=hostname, + ip_address=ip_address, + modes=modes, + port=port, + port_x=port_x, + resource_id=resource_id, + resource_type=resource_type, + status=status, + status_details=status_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hostname: str, + ip_address: str, + modes: Sequence[str], + port: int, + port_x: int, + resource_id: str, + resource_type: str, + status: str, + status_details: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("hostname", hostname) + _setter("ip_address", ip_address) + _setter("modes", modes) + _setter("port", port) + _setter("port_x", port_x) + _setter("resource_id", resource_id) + _setter("resource_type", resource_type) + _setter("status", status) + _setter("status_details", status_details) @property @pulumi.getter @@ -10078,12 +12255,31 @@ def __init__(__self__, *, :param str time_created: The date and time the DB System was created. :param str time_updated: The time the DB System was last updated. """ - pulumi.set(__self__, "cluster_size", cluster_size) - pulumi.set(__self__, "is_lakehouse_enabled", is_lakehouse_enabled) - pulumi.set(__self__, "shape_name", shape_name) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetMysqlDbSystemsDbSystemHeatWaveClusterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cluster_size=cluster_size, + is_lakehouse_enabled=is_lakehouse_enabled, + shape_name=shape_name, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cluster_size: int, + is_lakehouse_enabled: bool, + shape_name: str, + state: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cluster_size", cluster_size) + _setter("is_lakehouse_enabled", is_lakehouse_enabled) + _setter("shape_name", shape_name) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="clusterSize") @@ -10141,7 +12337,16 @@ def __init__(__self__, *, """ :param str window_start_time: The start time of the maintenance window. """ - pulumi.set(__self__, "window_start_time", window_start_time) + GetMysqlDbSystemsDbSystemMaintenanceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + window_start_time=window_start_time, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + window_start_time: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("window_start_time", window_start_time) @property @pulumi.getter(name="windowStartTime") @@ -10161,8 +12366,19 @@ def __init__(__self__, *, :param str time_earliest_recovery_point: Earliest recovery time point for the DB System, as described by [RFC 3339](https://tools.ietf.org/rfc/rfc3339). :param str time_latest_recovery_point: Latest recovery time point for the DB System, as described by [RFC 3339](https://tools.ietf.org/rfc/rfc3339). """ - pulumi.set(__self__, "time_earliest_recovery_point", time_earliest_recovery_point) - pulumi.set(__self__, "time_latest_recovery_point", time_latest_recovery_point) + GetMysqlDbSystemsDbSystemPointInTimeRecoveryDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + time_earliest_recovery_point=time_earliest_recovery_point, + time_latest_recovery_point=time_latest_recovery_point, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + time_earliest_recovery_point: str, + time_latest_recovery_point: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("time_earliest_recovery_point", time_earliest_recovery_point) + _setter("time_latest_recovery_point", time_latest_recovery_point) @property @pulumi.getter(name="timeEarliestRecoveryPoint") @@ -10195,11 +12411,28 @@ def __init__(__self__, *, :param str recovery_point: The date and time, as per RFC 3339, of the change up to which the new DB System shall be restored to, using a backup and logs from the original DB System. In case no point in time is specified, then this new DB System shall be restored up to the latest change recorded for the original DB System. :param str source_type: The specific source identifier. """ - pulumi.set(__self__, "backup_id", backup_id) - pulumi.set(__self__, "db_system_id", db_system_id) - pulumi.set(__self__, "recovery_point", recovery_point) - pulumi.set(__self__, "source_type", source_type) - pulumi.set(__self__, "source_url", source_url) + GetMysqlDbSystemsDbSystemSourceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + backup_id=backup_id, + db_system_id=db_system_id, + recovery_point=recovery_point, + source_type=source_type, + source_url=source_url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backup_id: str, + db_system_id: str, + recovery_point: str, + source_type: str, + source_url: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("backup_id", backup_id) + _setter("db_system_id", db_system_id) + _setter("recovery_point", recovery_point) + _setter("source_type", source_type) + _setter("source_url", source_url) @property @pulumi.getter(name="backupId") @@ -10245,10 +12478,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetMysqlDbSystemsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -10272,10 +12518,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetMysqlVersionFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -10302,8 +12561,19 @@ def __init__(__self__, *, :param str version_family: A descriptive summary of a group of versions. :param Sequence['GetMysqlVersionVersionVersionArgs'] versions: The list of supported MySQL Versions. """ - pulumi.set(__self__, "version_family", version_family) - pulumi.set(__self__, "versions", versions) + GetMysqlVersionVersionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + version_family=version_family, + versions=versions, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + version_family: str, + versions: Sequence['outputs.GetMysqlVersionVersionVersionResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("version_family", version_family) + _setter("versions", versions) @property @pulumi.getter(name="versionFamily") @@ -10331,8 +12601,19 @@ def __init__(__self__, *, :param str description: A link to a page describing the version. :param str version: The specific version identifier """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "version", version) + GetMysqlVersionVersionVersionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("version", version) @property @pulumi.getter @@ -10351,16 +12632,82 @@ def version(self) -> str: return pulumi.get(self, "version") +@pulumi.output_type +class GetReplicaReplicaOverrideResult(dict): + def __init__(__self__, *, + configuration_id: str, + mysql_version: str, + shape_name: str): + """ + :param str configuration_id: The OCID of the Configuration to be used by the read replica. + :param str mysql_version: The MySQL version to be used by the read replica. + :param str shape_name: The shape currently in use by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. + """ + GetReplicaReplicaOverrideResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + configuration_id=configuration_id, + mysql_version=mysql_version, + shape_name=shape_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + configuration_id: str, + mysql_version: str, + shape_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("configuration_id", configuration_id) + _setter("mysql_version", mysql_version) + _setter("shape_name", shape_name) + + @property + @pulumi.getter(name="configurationId") + def configuration_id(self) -> str: + """ + The OCID of the Configuration to be used by the read replica. + """ + return pulumi.get(self, "configuration_id") + + @property + @pulumi.getter(name="mysqlVersion") + def mysql_version(self) -> str: + """ + The MySQL version to be used by the read replica. + """ + return pulumi.get(self, "mysql_version") + + @property + @pulumi.getter(name="shapeName") + def shape_name(self) -> str: + """ + The shape currently in use by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. + """ + return pulumi.get(self, "shape_name") + + @pulumi.output_type class GetReplicasFilterResult(dict): def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetReplicasFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -10383,6 +12730,7 @@ class GetReplicasReplicaResult(dict): def __init__(__self__, *, availability_domain: str, compartment_id: str, + configuration_id: str, db_system_id: str, defined_tags: Mapping[str, Any], description: str, @@ -10396,12 +12744,15 @@ def __init__(__self__, *, mysql_version: str, port: int, port_x: int, + replica_overrides: Sequence['outputs.GetReplicasReplicaReplicaOverrideResult'], + shape_name: str, state: str, time_created: str, time_updated: str): """ :param str availability_domain: The name of the Availability Domain the read replica is located in. :param str compartment_id: The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). + :param str configuration_id: The requested Configuration instance. :param str db_system_id: The DB System [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). :param Mapping[str, Any] defined_tags: Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` :param str description: User provided description of the read replica. @@ -10412,31 +12763,85 @@ def __init__(__self__, *, :param str ip_address: The IP address the read replica is configured to listen on. :param bool is_delete_protected: Specifies whether the read replica can be deleted. Set to true to prevent deletion, false (default) to allow. Note that if a read replica is delete protected it also prevents the entire DB System from being deleted. If the DB System is delete protected, read replicas can still be deleted individually if they are not delete protected themselves. :param str lifecycle_details: A message describing the state of the read replica. - :param str mysql_version: The MySQL version used by the read replica. + :param str mysql_version: The MySQL version to be used by the read replica. :param int port: The port the read replica is configured to listen on. :param int port_x: The TCP network port on which X Plugin listens for connections. This is the X Plugin equivalent of port. + :param Sequence['GetReplicasReplicaReplicaOverrideArgs'] replica_overrides: By default a read replica inherits the MySQL version, shape, and configuration of the source DB system. If you want to override any of these, provide values in the properties, mysqlVersion, shapeName, and configurationId. If you set a property value to "", then the value is inherited from its source DB system. + :param str shape_name: The shape currently in use by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. :param str state: The LifecycleState of the read replica. :param str time_created: The date and time the read replica was created, as described by [RFC 3339](https://tools.ietf.org/rfc/rfc3339). :param str time_updated: The time the read replica was last updated, as described by [RFC 3339](https://tools.ietf.org/rfc/rfc3339). """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "db_system_id", db_system_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "fault_domain", fault_domain) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "ip_address", ip_address) - pulumi.set(__self__, "is_delete_protected", is_delete_protected) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "mysql_version", mysql_version) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "port_x", port_x) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetReplicasReplicaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + compartment_id=compartment_id, + configuration_id=configuration_id, + db_system_id=db_system_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + fault_domain=fault_domain, + freeform_tags=freeform_tags, + id=id, + ip_address=ip_address, + is_delete_protected=is_delete_protected, + lifecycle_details=lifecycle_details, + mysql_version=mysql_version, + port=port, + port_x=port_x, + replica_overrides=replica_overrides, + shape_name=shape_name, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + compartment_id: str, + configuration_id: str, + db_system_id: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + fault_domain: str, + freeform_tags: Mapping[str, Any], + id: str, + ip_address: str, + is_delete_protected: bool, + lifecycle_details: str, + mysql_version: str, + port: int, + port_x: int, + replica_overrides: Sequence['outputs.GetReplicasReplicaReplicaOverrideResult'], + shape_name: str, + state: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("compartment_id", compartment_id) + _setter("configuration_id", configuration_id) + _setter("db_system_id", db_system_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("fault_domain", fault_domain) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("ip_address", ip_address) + _setter("is_delete_protected", is_delete_protected) + _setter("lifecycle_details", lifecycle_details) + _setter("mysql_version", mysql_version) + _setter("port", port) + _setter("port_x", port_x) + _setter("replica_overrides", replica_overrides) + _setter("shape_name", shape_name) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="availabilityDomain") @@ -10454,6 +12859,14 @@ def compartment_id(self) -> str: """ return pulumi.get(self, "compartment_id") + @property + @pulumi.getter(name="configurationId") + def configuration_id(self) -> str: + """ + The requested Configuration instance. + """ + return pulumi.get(self, "configuration_id") + @property @pulumi.getter(name="dbSystemId") def db_system_id(self) -> str: @@ -10538,7 +12951,7 @@ def lifecycle_details(self) -> str: @pulumi.getter(name="mysqlVersion") def mysql_version(self) -> str: """ - The MySQL version used by the read replica. + The MySQL version to be used by the read replica. """ return pulumi.get(self, "mysql_version") @@ -10558,6 +12971,22 @@ def port_x(self) -> int: """ return pulumi.get(self, "port_x") + @property + @pulumi.getter(name="replicaOverrides") + def replica_overrides(self) -> Sequence['outputs.GetReplicasReplicaReplicaOverrideResult']: + """ + By default a read replica inherits the MySQL version, shape, and configuration of the source DB system. If you want to override any of these, provide values in the properties, mysqlVersion, shapeName, and configurationId. If you set a property value to "", then the value is inherited from its source DB system. + """ + return pulumi.get(self, "replica_overrides") + + @property + @pulumi.getter(name="shapeName") + def shape_name(self) -> str: + """ + The shape currently in use by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. + """ + return pulumi.get(self, "shape_name") + @property @pulumi.getter def state(self) -> str: @@ -10583,6 +13012,59 @@ def time_updated(self) -> str: return pulumi.get(self, "time_updated") +@pulumi.output_type +class GetReplicasReplicaReplicaOverrideResult(dict): + def __init__(__self__, *, + configuration_id: str, + mysql_version: str, + shape_name: str): + """ + :param str configuration_id: The requested Configuration instance. + :param str mysql_version: The MySQL version to be used by the read replica. + :param str shape_name: The shape currently in use by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. + """ + GetReplicasReplicaReplicaOverrideResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + configuration_id=configuration_id, + mysql_version=mysql_version, + shape_name=shape_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + configuration_id: str, + mysql_version: str, + shape_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("configuration_id", configuration_id) + _setter("mysql_version", mysql_version) + _setter("shape_name", shape_name) + + @property + @pulumi.getter(name="configurationId") + def configuration_id(self) -> str: + """ + The requested Configuration instance. + """ + return pulumi.get(self, "configuration_id") + + @property + @pulumi.getter(name="mysqlVersion") + def mysql_version(self) -> str: + """ + The MySQL version to be used by the read replica. + """ + return pulumi.get(self, "mysql_version") + + @property + @pulumi.getter(name="shapeName") + def shape_name(self) -> str: + """ + The shape currently in use by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. + """ + return pulumi.get(self, "shape_name") + + @pulumi.output_type class GetShapesFilterResult(dict): def __init__(__self__, *, @@ -10592,10 +13074,23 @@ def __init__(__self__, *, """ :param str name: Name """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetShapesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -10629,10 +13124,25 @@ def __init__(__self__, *, :param int memory_size_in_gbs: The amount of RAM the Instance provides. This is an IEC base-2 number. :param str name: Name """ - pulumi.set(__self__, "cpu_core_count", cpu_core_count) - pulumi.set(__self__, "is_supported_fors", is_supported_fors) - pulumi.set(__self__, "memory_size_in_gbs", memory_size_in_gbs) - pulumi.set(__self__, "name", name) + GetShapesShapeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cpu_core_count=cpu_core_count, + is_supported_fors=is_supported_fors, + memory_size_in_gbs=memory_size_in_gbs, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cpu_core_count: int, + is_supported_fors: Sequence[str], + memory_size_in_gbs: int, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cpu_core_count", cpu_core_count) + _setter("is_supported_fors", is_supported_fors) + _setter("memory_size_in_gbs", memory_size_in_gbs) + _setter("name", name) @property @pulumi.getter(name="cpuCoreCount") diff --git a/sdk/python/pulumi_oci/mysql/replica.py b/sdk/python/pulumi_oci/mysql/replica.py index 0e651e571b..7fff3a2b94 100644 --- a/sdk/python/pulumi_oci/mysql/replica.py +++ b/sdk/python/pulumi_oci/mysql/replica.py @@ -6,8 +6,10 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities +from . import outputs +from ._inputs import * __all__ = ['ReplicaArgs', 'Replica'] @@ -19,7 +21,8 @@ def __init__(__self__, *, description: Optional[pulumi.Input[str]] = None, display_name: Optional[pulumi.Input[str]] = None, freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, - is_delete_protected: Optional[pulumi.Input[bool]] = None): + is_delete_protected: Optional[pulumi.Input[bool]] = None, + replica_overrides: Optional[pulumi.Input['ReplicaReplicaOverridesArgs']] = None): """ The set of arguments for constructing a Replica resource. :param pulumi.Input[str] db_system_id: The OCID of the DB System the read replica is associated with. @@ -27,23 +30,43 @@ def __init__(__self__, *, :param pulumi.Input[str] description: (Updatable) User provided description of the read replica. :param pulumi.Input[str] display_name: (Updatable) The user-friendly name for the read replica. It does not have to be unique. :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` - :param pulumi.Input[bool] is_delete_protected: (Updatable) Specifies whether the read replica can be deleted. Set to true to prevent deletion, false (default) to allow. Note that if a read replica is delete protected it also prevents the entire DB System from being deleted. If the DB System is delete protected, read replicas can still be deleted individually if they are not delete protected themselves. - - - ** 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 - """ - pulumi.set(__self__, "db_system_id", db_system_id) + :param pulumi.Input[bool] is_delete_protected: (Updatable) Specifies whether the read replica can be deleted. Set to true to prevent deletion, false (default) to allow. Note that if a read replica is delete protected it also prevents the entire DB System from being deleted. If the DB System is delete protected, read replicas can still be deleted individually if they are not delete protected themselves. + :param pulumi.Input['ReplicaReplicaOverridesArgs'] replica_overrides: (Updatable) By default a read replica inherits the MySQL version, shape, and configuration of the source DB system. If you want to override any of these, provide values in the properties, mysqlVersion, shapeName, and configurationId. If you set a property value to "", then the value is inherited from its source DB system. + """ + ReplicaArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + db_system_id=db_system_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + is_delete_protected=is_delete_protected, + replica_overrides=replica_overrides, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + db_system_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_delete_protected: Optional[pulumi.Input[bool]] = None, + replica_overrides: Optional[pulumi.Input['ReplicaReplicaOverridesArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("db_system_id", db_system_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_delete_protected is not None: - pulumi.set(__self__, "is_delete_protected", is_delete_protected) + _setter("is_delete_protected", is_delete_protected) + if replica_overrides is not None: + _setter("replica_overrides", replica_overrides) @property @pulumi.getter(name="dbSystemId") @@ -109,11 +132,7 @@ def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): @pulumi.getter(name="isDeleteProtected") def is_delete_protected(self) -> Optional[pulumi.Input[bool]]: """ - (Updatable) Specifies whether the read replica can be deleted. Set to true to prevent deletion, false (default) to allow. Note that if a read replica is delete protected it also prevents the entire DB System from being deleted. If the DB System is delete protected, read replicas can still be deleted individually if they are not delete protected themselves. - - - ** 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 + (Updatable) Specifies whether the read replica can be deleted. Set to true to prevent deletion, false (default) to allow. Note that if a read replica is delete protected it also prevents the entire DB System from being deleted. If the DB System is delete protected, read replicas can still be deleted individually if they are not delete protected themselves. """ return pulumi.get(self, "is_delete_protected") @@ -121,12 +140,25 @@ def is_delete_protected(self) -> Optional[pulumi.Input[bool]]: def is_delete_protected(self, value: Optional[pulumi.Input[bool]]): pulumi.set(self, "is_delete_protected", value) + @property + @pulumi.getter(name="replicaOverrides") + def replica_overrides(self) -> Optional[pulumi.Input['ReplicaReplicaOverridesArgs']]: + """ + (Updatable) By default a read replica inherits the MySQL version, shape, and configuration of the source DB system. If you want to override any of these, provide values in the properties, mysqlVersion, shapeName, and configurationId. If you set a property value to "", then the value is inherited from its source DB system. + """ + return pulumi.get(self, "replica_overrides") + + @replica_overrides.setter + def replica_overrides(self, value: Optional[pulumi.Input['ReplicaReplicaOverridesArgs']]): + pulumi.set(self, "replica_overrides", value) + @pulumi.input_type class _ReplicaState: def __init__(__self__, *, availability_domain: Optional[pulumi.Input[str]] = None, compartment_id: Optional[pulumi.Input[str]] = None, + configuration_id: Optional[pulumi.Input[str]] = None, db_system_id: Optional[pulumi.Input[str]] = None, defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, description: Optional[pulumi.Input[str]] = None, @@ -139,6 +171,8 @@ def __init__(__self__, *, mysql_version: Optional[pulumi.Input[str]] = None, port: Optional[pulumi.Input[int]] = None, port_x: Optional[pulumi.Input[int]] = None, + replica_overrides: Optional[pulumi.Input['ReplicaReplicaOverridesArgs']] = None, + shape_name: Optional[pulumi.Input[str]] = None, state: Optional[pulumi.Input[str]] = None, time_created: Optional[pulumi.Input[str]] = None, time_updated: Optional[pulumi.Input[str]] = None): @@ -146,6 +180,7 @@ def __init__(__self__, *, Input properties used for looking up and filtering Replica resources. :param pulumi.Input[str] availability_domain: The name of the Availability Domain the read replica is located in. :param pulumi.Input[str] compartment_id: The OCID of the compartment that contains the read replica. + :param pulumi.Input[str] configuration_id: (Updatable) The OCID of the Configuration to be used by the read replica. :param pulumi.Input[str] db_system_id: The OCID of the DB System the read replica is associated with. :param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` :param pulumi.Input[str] description: (Updatable) User provided description of the read replica. @@ -153,53 +188,108 @@ def __init__(__self__, *, :param pulumi.Input[str] fault_domain: The name of the Fault Domain the read replica is located in. :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` :param pulumi.Input[str] ip_address: The IP address the read replica is configured to listen on. - :param pulumi.Input[bool] is_delete_protected: (Updatable) Specifies whether the read replica can be deleted. Set to true to prevent deletion, false (default) to allow. Note that if a read replica is delete protected it also prevents the entire DB System from being deleted. If the DB System is delete protected, read replicas can still be deleted individually if they are not delete protected themselves. + :param pulumi.Input[bool] is_delete_protected: (Updatable) Specifies whether the read replica can be deleted. Set to true to prevent deletion, false (default) to allow. Note that if a read replica is delete protected it also prevents the entire DB System from being deleted. If the DB System is delete protected, read replicas can still be deleted individually if they are not delete protected themselves. + :param pulumi.Input[str] lifecycle_details: A message describing the state of the read replica. + :param pulumi.Input[str] mysql_version: (Updatable) The MySQL version to be used by the read replica. + :param pulumi.Input[int] port: The port the read replica is configured to listen on. + :param pulumi.Input[int] port_x: The TCP network port on which X Plugin listens for connections. This is the X Plugin equivalent of port. + :param pulumi.Input['ReplicaReplicaOverridesArgs'] replica_overrides: (Updatable) By default a read replica inherits the MySQL version, shape, and configuration of the source DB system. If you want to override any of these, provide values in the properties, mysqlVersion, shapeName, and configurationId. If you set a property value to "", then the value is inherited from its source DB system. + :param pulumi.Input[str] shape_name: (Updatable) The shape to be used by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. ** 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 - :param pulumi.Input[str] lifecycle_details: A message describing the state of the read replica. - :param pulumi.Input[str] mysql_version: The MySQL version used by the read replica. - :param pulumi.Input[int] port: The port the read replica is configured to listen on. - :param pulumi.Input[int] port_x: The TCP network port on which X Plugin listens for connections. This is the X Plugin equivalent of port. :param pulumi.Input[str] state: The state of the read replica. :param pulumi.Input[str] time_created: The date and time the read replica was created, as described by [RFC 3339](https://tools.ietf.org/rfc/rfc3339). :param pulumi.Input[str] time_updated: The time the read replica was last updated, as described by [RFC 3339](https://tools.ietf.org/rfc/rfc3339). """ + _ReplicaState._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + compartment_id=compartment_id, + configuration_id=configuration_id, + db_system_id=db_system_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + fault_domain=fault_domain, + freeform_tags=freeform_tags, + ip_address=ip_address, + is_delete_protected=is_delete_protected, + lifecycle_details=lifecycle_details, + mysql_version=mysql_version, + port=port, + port_x=port_x, + replica_overrides=replica_overrides, + shape_name=shape_name, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + configuration_id: Optional[pulumi.Input[str]] = None, + db_system_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + fault_domain: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + ip_address: Optional[pulumi.Input[str]] = None, + is_delete_protected: Optional[pulumi.Input[bool]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + mysql_version: Optional[pulumi.Input[str]] = None, + port: Optional[pulumi.Input[int]] = None, + port_x: Optional[pulumi.Input[int]] = None, + replica_overrides: Optional[pulumi.Input['ReplicaReplicaOverridesArgs']] = None, + shape_name: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) + if configuration_id is not None: + _setter("configuration_id", configuration_id) if db_system_id is not None: - pulumi.set(__self__, "db_system_id", db_system_id) + _setter("db_system_id", db_system_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if fault_domain is not None: - pulumi.set(__self__, "fault_domain", fault_domain) + _setter("fault_domain", fault_domain) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if ip_address is not None: - pulumi.set(__self__, "ip_address", ip_address) + _setter("ip_address", ip_address) if is_delete_protected is not None: - pulumi.set(__self__, "is_delete_protected", is_delete_protected) + _setter("is_delete_protected", is_delete_protected) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if mysql_version is not None: - pulumi.set(__self__, "mysql_version", mysql_version) + _setter("mysql_version", mysql_version) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if port_x is not None: - pulumi.set(__self__, "port_x", port_x) + _setter("port_x", port_x) + if replica_overrides is not None: + _setter("replica_overrides", replica_overrides) + if shape_name is not None: + _setter("shape_name", shape_name) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="availabilityDomain") @@ -225,6 +315,18 @@ def compartment_id(self) -> Optional[pulumi.Input[str]]: def compartment_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "compartment_id", value) + @property + @pulumi.getter(name="configurationId") + def configuration_id(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) The OCID of the Configuration to be used by the read replica. + """ + return pulumi.get(self, "configuration_id") + + @configuration_id.setter + def configuration_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "configuration_id", value) + @property @pulumi.getter(name="dbSystemId") def db_system_id(self) -> Optional[pulumi.Input[str]]: @@ -313,11 +415,7 @@ def ip_address(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="isDeleteProtected") def is_delete_protected(self) -> Optional[pulumi.Input[bool]]: """ - (Updatable) Specifies whether the read replica can be deleted. Set to true to prevent deletion, false (default) to allow. Note that if a read replica is delete protected it also prevents the entire DB System from being deleted. If the DB System is delete protected, read replicas can still be deleted individually if they are not delete protected themselves. - - - ** 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 + (Updatable) Specifies whether the read replica can be deleted. Set to true to prevent deletion, false (default) to allow. Note that if a read replica is delete protected it also prevents the entire DB System from being deleted. If the DB System is delete protected, read replicas can still be deleted individually if they are not delete protected themselves. """ return pulumi.get(self, "is_delete_protected") @@ -341,7 +439,7 @@ def lifecycle_details(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="mysqlVersion") def mysql_version(self) -> Optional[pulumi.Input[str]]: """ - The MySQL version used by the read replica. + (Updatable) The MySQL version to be used by the read replica. """ return pulumi.get(self, "mysql_version") @@ -373,6 +471,34 @@ def port_x(self) -> Optional[pulumi.Input[int]]: def port_x(self, value: Optional[pulumi.Input[int]]): pulumi.set(self, "port_x", value) + @property + @pulumi.getter(name="replicaOverrides") + def replica_overrides(self) -> Optional[pulumi.Input['ReplicaReplicaOverridesArgs']]: + """ + (Updatable) By default a read replica inherits the MySQL version, shape, and configuration of the source DB system. If you want to override any of these, provide values in the properties, mysqlVersion, shapeName, and configurationId. If you set a property value to "", then the value is inherited from its source DB system. + """ + return pulumi.get(self, "replica_overrides") + + @replica_overrides.setter + def replica_overrides(self, value: Optional[pulumi.Input['ReplicaReplicaOverridesArgs']]): + pulumi.set(self, "replica_overrides", value) + + @property + @pulumi.getter(name="shapeName") + def shape_name(self) -> Optional[pulumi.Input[str]]: + """ + (Updatable) The shape to be used by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. + + + ** 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 + """ + return pulumi.get(self, "shape_name") + + @shape_name.setter + def shape_name(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "shape_name", value) + @property @pulumi.getter def state(self) -> Optional[pulumi.Input[str]]: @@ -421,6 +547,7 @@ def __init__(__self__, display_name: Optional[pulumi.Input[str]] = None, freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, is_delete_protected: Optional[pulumi.Input[bool]] = None, + replica_overrides: Optional[pulumi.Input[pulumi.InputType['ReplicaReplicaOverridesArgs']]] = None, __props__=None): """ This resource provides the Replica resource in Oracle Cloud Infrastructure MySQL Database service. @@ -443,7 +570,12 @@ def __init__(__self__, freeform_tags={ "bar-key": "value", }, - is_delete_protected=var["replica_is_delete_protected"]) + is_delete_protected=var["replica_is_delete_protected"], + replica_overrides=oci.mysql.ReplicaReplicaOverridesArgs( + configuration_id=oci_mysql_mysql_configuration["test_mysql_configuration"]["id"], + mysql_version=var["replica_replica_overrides_mysql_version"], + shape_name=oci_mysql_shape["test_shape"]["name"], + )) ``` ## Import @@ -461,11 +593,8 @@ def __init__(__self__, :param pulumi.Input[str] description: (Updatable) User provided description of the read replica. :param pulumi.Input[str] display_name: (Updatable) The user-friendly name for the read replica. It does not have to be unique. :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` - :param pulumi.Input[bool] is_delete_protected: (Updatable) Specifies whether the read replica can be deleted. Set to true to prevent deletion, false (default) to allow. Note that if a read replica is delete protected it also prevents the entire DB System from being deleted. If the DB System is delete protected, read replicas can still be deleted individually if they are not delete protected themselves. - - - ** 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 + :param pulumi.Input[bool] is_delete_protected: (Updatable) Specifies whether the read replica can be deleted. Set to true to prevent deletion, false (default) to allow. Note that if a read replica is delete protected it also prevents the entire DB System from being deleted. If the DB System is delete protected, read replicas can still be deleted individually if they are not delete protected themselves. + :param pulumi.Input[pulumi.InputType['ReplicaReplicaOverridesArgs']] replica_overrides: (Updatable) By default a read replica inherits the MySQL version, shape, and configuration of the source DB system. If you want to override any of these, provide values in the properties, mysqlVersion, shapeName, and configurationId. If you set a property value to "", then the value is inherited from its source DB system. """ ... @overload @@ -494,7 +623,12 @@ def __init__(__self__, freeform_tags={ "bar-key": "value", }, - is_delete_protected=var["replica_is_delete_protected"]) + is_delete_protected=var["replica_is_delete_protected"], + replica_overrides=oci.mysql.ReplicaReplicaOverridesArgs( + configuration_id=oci_mysql_mysql_configuration["test_mysql_configuration"]["id"], + mysql_version=var["replica_replica_overrides_mysql_version"], + shape_name=oci_mysql_shape["test_shape"]["name"], + )) ``` ## Import @@ -515,6 +649,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ReplicaArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -526,6 +664,7 @@ def _internal_init(__self__, display_name: Optional[pulumi.Input[str]] = None, freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, is_delete_protected: Optional[pulumi.Input[bool]] = None, + replica_overrides: Optional[pulumi.Input[pulumi.InputType['ReplicaReplicaOverridesArgs']]] = None, __props__=None): opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts) if not isinstance(opts, pulumi.ResourceOptions): @@ -543,14 +682,22 @@ def _internal_init(__self__, __props__.__dict__["display_name"] = display_name __props__.__dict__["freeform_tags"] = freeform_tags __props__.__dict__["is_delete_protected"] = is_delete_protected + if replica_overrides is not None and not isinstance(replica_overrides, ReplicaReplicaOverridesArgs): + replica_overrides = replica_overrides or {} + def _setter(key, value): + replica_overrides[key] = value + ReplicaReplicaOverridesArgs._configure(_setter, **replica_overrides) + __props__.__dict__["replica_overrides"] = replica_overrides __props__.__dict__["availability_domain"] = None __props__.__dict__["compartment_id"] = None + __props__.__dict__["configuration_id"] = None __props__.__dict__["fault_domain"] = None __props__.__dict__["ip_address"] = None __props__.__dict__["lifecycle_details"] = None __props__.__dict__["mysql_version"] = None __props__.__dict__["port"] = None __props__.__dict__["port_x"] = None + __props__.__dict__["shape_name"] = None __props__.__dict__["state"] = None __props__.__dict__["time_created"] = None __props__.__dict__["time_updated"] = None @@ -566,6 +713,7 @@ def get(resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, availability_domain: Optional[pulumi.Input[str]] = None, compartment_id: Optional[pulumi.Input[str]] = None, + configuration_id: Optional[pulumi.Input[str]] = None, db_system_id: Optional[pulumi.Input[str]] = None, defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, description: Optional[pulumi.Input[str]] = None, @@ -578,6 +726,8 @@ def get(resource_name: str, mysql_version: Optional[pulumi.Input[str]] = None, port: Optional[pulumi.Input[int]] = None, port_x: Optional[pulumi.Input[int]] = None, + replica_overrides: Optional[pulumi.Input[pulumi.InputType['ReplicaReplicaOverridesArgs']]] = None, + shape_name: Optional[pulumi.Input[str]] = None, state: Optional[pulumi.Input[str]] = None, time_created: Optional[pulumi.Input[str]] = None, time_updated: Optional[pulumi.Input[str]] = None) -> 'Replica': @@ -590,6 +740,7 @@ def get(resource_name: str, :param pulumi.ResourceOptions opts: Options for the resource. :param pulumi.Input[str] availability_domain: The name of the Availability Domain the read replica is located in. :param pulumi.Input[str] compartment_id: The OCID of the compartment that contains the read replica. + :param pulumi.Input[str] configuration_id: (Updatable) The OCID of the Configuration to be used by the read replica. :param pulumi.Input[str] db_system_id: The OCID of the DB System the read replica is associated with. :param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` :param pulumi.Input[str] description: (Updatable) User provided description of the read replica. @@ -597,15 +748,17 @@ def get(resource_name: str, :param pulumi.Input[str] fault_domain: The name of the Fault Domain the read replica is located in. :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` :param pulumi.Input[str] ip_address: The IP address the read replica is configured to listen on. - :param pulumi.Input[bool] is_delete_protected: (Updatable) Specifies whether the read replica can be deleted. Set to true to prevent deletion, false (default) to allow. Note that if a read replica is delete protected it also prevents the entire DB System from being deleted. If the DB System is delete protected, read replicas can still be deleted individually if they are not delete protected themselves. + :param pulumi.Input[bool] is_delete_protected: (Updatable) Specifies whether the read replica can be deleted. Set to true to prevent deletion, false (default) to allow. Note that if a read replica is delete protected it also prevents the entire DB System from being deleted. If the DB System is delete protected, read replicas can still be deleted individually if they are not delete protected themselves. + :param pulumi.Input[str] lifecycle_details: A message describing the state of the read replica. + :param pulumi.Input[str] mysql_version: (Updatable) The MySQL version to be used by the read replica. + :param pulumi.Input[int] port: The port the read replica is configured to listen on. + :param pulumi.Input[int] port_x: The TCP network port on which X Plugin listens for connections. This is the X Plugin equivalent of port. + :param pulumi.Input[pulumi.InputType['ReplicaReplicaOverridesArgs']] replica_overrides: (Updatable) By default a read replica inherits the MySQL version, shape, and configuration of the source DB system. If you want to override any of these, provide values in the properties, mysqlVersion, shapeName, and configurationId. If you set a property value to "", then the value is inherited from its source DB system. + :param pulumi.Input[str] shape_name: (Updatable) The shape to be used by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. ** 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 - :param pulumi.Input[str] lifecycle_details: A message describing the state of the read replica. - :param pulumi.Input[str] mysql_version: The MySQL version used by the read replica. - :param pulumi.Input[int] port: The port the read replica is configured to listen on. - :param pulumi.Input[int] port_x: The TCP network port on which X Plugin listens for connections. This is the X Plugin equivalent of port. :param pulumi.Input[str] state: The state of the read replica. :param pulumi.Input[str] time_created: The date and time the read replica was created, as described by [RFC 3339](https://tools.ietf.org/rfc/rfc3339). :param pulumi.Input[str] time_updated: The time the read replica was last updated, as described by [RFC 3339](https://tools.ietf.org/rfc/rfc3339). @@ -616,6 +769,7 @@ def get(resource_name: str, __props__.__dict__["availability_domain"] = availability_domain __props__.__dict__["compartment_id"] = compartment_id + __props__.__dict__["configuration_id"] = configuration_id __props__.__dict__["db_system_id"] = db_system_id __props__.__dict__["defined_tags"] = defined_tags __props__.__dict__["description"] = description @@ -628,6 +782,8 @@ def get(resource_name: str, __props__.__dict__["mysql_version"] = mysql_version __props__.__dict__["port"] = port __props__.__dict__["port_x"] = port_x + __props__.__dict__["replica_overrides"] = replica_overrides + __props__.__dict__["shape_name"] = shape_name __props__.__dict__["state"] = state __props__.__dict__["time_created"] = time_created __props__.__dict__["time_updated"] = time_updated @@ -649,6 +805,14 @@ def compartment_id(self) -> pulumi.Output[str]: """ return pulumi.get(self, "compartment_id") + @property + @pulumi.getter(name="configurationId") + def configuration_id(self) -> pulumi.Output[str]: + """ + (Updatable) The OCID of the Configuration to be used by the read replica. + """ + return pulumi.get(self, "configuration_id") + @property @pulumi.getter(name="dbSystemId") def db_system_id(self) -> pulumi.Output[str]: @@ -709,11 +873,7 @@ def ip_address(self) -> pulumi.Output[str]: @pulumi.getter(name="isDeleteProtected") def is_delete_protected(self) -> pulumi.Output[bool]: """ - (Updatable) Specifies whether the read replica can be deleted. Set to true to prevent deletion, false (default) to allow. Note that if a read replica is delete protected it also prevents the entire DB System from being deleted. If the DB System is delete protected, read replicas can still be deleted individually if they are not delete protected themselves. - - - ** 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 + (Updatable) Specifies whether the read replica can be deleted. Set to true to prevent deletion, false (default) to allow. Note that if a read replica is delete protected it also prevents the entire DB System from being deleted. If the DB System is delete protected, read replicas can still be deleted individually if they are not delete protected themselves. """ return pulumi.get(self, "is_delete_protected") @@ -729,7 +889,7 @@ def lifecycle_details(self) -> pulumi.Output[str]: @pulumi.getter(name="mysqlVersion") def mysql_version(self) -> pulumi.Output[str]: """ - The MySQL version used by the read replica. + (Updatable) The MySQL version to be used by the read replica. """ return pulumi.get(self, "mysql_version") @@ -749,6 +909,26 @@ def port_x(self) -> pulumi.Output[int]: """ return pulumi.get(self, "port_x") + @property + @pulumi.getter(name="replicaOverrides") + def replica_overrides(self) -> pulumi.Output['outputs.ReplicaReplicaOverrides']: + """ + (Updatable) By default a read replica inherits the MySQL version, shape, and configuration of the source DB system. If you want to override any of these, provide values in the properties, mysqlVersion, shapeName, and configurationId. If you set a property value to "", then the value is inherited from its source DB system. + """ + return pulumi.get(self, "replica_overrides") + + @property + @pulumi.getter(name="shapeName") + def shape_name(self) -> pulumi.Output[str]: + """ + (Updatable) The shape to be used by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the [ListShapes](https://docs.cloud.oracle.com/iaas/api/#/en/mysql/20190415/ShapeSummary/ListShapes) operation. + + + ** 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 + """ + return pulumi.get(self, "shape_name") + @property @pulumi.getter def state(self) -> pulumi.Output[str]: diff --git a/sdk/python/pulumi_oci/networkfirewall/_inputs.py b/sdk/python/pulumi_oci/networkfirewall/_inputs.py index d6b589868f..7f6b96dd7a 100644 --- a/sdk/python/pulumi_oci/networkfirewall/_inputs.py +++ b/sdk/python/pulumi_oci/networkfirewall/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -34,9 +34,20 @@ def __init__(__self__, *, :param pulumi.Input[str] application_list_name: (Updatable) The key is the identifier by which the application list is referenced. :param pulumi.Input[Sequence[pulumi.Input['NetworkFirewallPolicyApplicationListApplicationValueArgs']]] application_values: (Updatable) Details about the application """ - pulumi.set(__self__, "application_list_name", application_list_name) + NetworkFirewallPolicyApplicationListArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + application_list_name=application_list_name, + application_values=application_values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + application_list_name: pulumi.Input[str], + application_values: Optional[pulumi.Input[Sequence[pulumi.Input['NetworkFirewallPolicyApplicationListApplicationValueArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("application_list_name", application_list_name) if application_values is not None: - pulumi.set(__self__, "application_values", application_values) + _setter("application_values", application_values) @property @pulumi.getter(name="applicationListName") @@ -78,15 +89,32 @@ def __init__(__self__, *, :param pulumi.Input[int] maximum_port: (Updatable) Used when you select TCP or UDP. Enter a port number. :param pulumi.Input[int] minimum_port: (Updatable) Used when you select TCP or UDP. Enter a port number. """ - pulumi.set(__self__, "type", type) + NetworkFirewallPolicyApplicationListApplicationValueArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + icmp_code=icmp_code, + icmp_type=icmp_type, + maximum_port=maximum_port, + minimum_port=minimum_port, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + icmp_code: Optional[pulumi.Input[int]] = None, + icmp_type: Optional[pulumi.Input[int]] = None, + maximum_port: Optional[pulumi.Input[int]] = None, + minimum_port: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if icmp_code is not None: - pulumi.set(__self__, "icmp_code", icmp_code) + _setter("icmp_code", icmp_code) if icmp_type is not None: - pulumi.set(__self__, "icmp_type", icmp_type) + _setter("icmp_type", icmp_type) if maximum_port is not None: - pulumi.set(__self__, "maximum_port", maximum_port) + _setter("maximum_port", maximum_port) if minimum_port is not None: - pulumi.set(__self__, "minimum_port", minimum_port) + _setter("minimum_port", minimum_port) @property @pulumi.getter @@ -176,26 +204,55 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_unsupported_version_blocked: (Updatable) Whether to block sessions if SSL version is not supported. :param pulumi.Input[bool] is_untrusted_issuer_blocked: (Updatable) Whether to block sessions if server's certificate is issued by an untrusted certificate authority (CA). """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "type", type) + NetworkFirewallPolicyDecryptionProfileArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + type=type, + are_certificate_extensions_restricted=are_certificate_extensions_restricted, + is_auto_include_alt_name=is_auto_include_alt_name, + is_expired_certificate_blocked=is_expired_certificate_blocked, + is_out_of_capacity_blocked=is_out_of_capacity_blocked, + is_revocation_status_timeout_blocked=is_revocation_status_timeout_blocked, + is_unknown_revocation_status_blocked=is_unknown_revocation_status_blocked, + is_unsupported_cipher_blocked=is_unsupported_cipher_blocked, + is_unsupported_version_blocked=is_unsupported_version_blocked, + is_untrusted_issuer_blocked=is_untrusted_issuer_blocked, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: pulumi.Input[str], + type: pulumi.Input[str], + are_certificate_extensions_restricted: Optional[pulumi.Input[bool]] = None, + is_auto_include_alt_name: Optional[pulumi.Input[bool]] = None, + is_expired_certificate_blocked: Optional[pulumi.Input[bool]] = None, + is_out_of_capacity_blocked: Optional[pulumi.Input[bool]] = None, + is_revocation_status_timeout_blocked: Optional[pulumi.Input[bool]] = None, + is_unknown_revocation_status_blocked: Optional[pulumi.Input[bool]] = None, + is_unsupported_cipher_blocked: Optional[pulumi.Input[bool]] = None, + is_unsupported_version_blocked: Optional[pulumi.Input[bool]] = None, + is_untrusted_issuer_blocked: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("type", type) if are_certificate_extensions_restricted is not None: - pulumi.set(__self__, "are_certificate_extensions_restricted", are_certificate_extensions_restricted) + _setter("are_certificate_extensions_restricted", are_certificate_extensions_restricted) if is_auto_include_alt_name is not None: - pulumi.set(__self__, "is_auto_include_alt_name", is_auto_include_alt_name) + _setter("is_auto_include_alt_name", is_auto_include_alt_name) if is_expired_certificate_blocked is not None: - pulumi.set(__self__, "is_expired_certificate_blocked", is_expired_certificate_blocked) + _setter("is_expired_certificate_blocked", is_expired_certificate_blocked) if is_out_of_capacity_blocked is not None: - pulumi.set(__self__, "is_out_of_capacity_blocked", is_out_of_capacity_blocked) + _setter("is_out_of_capacity_blocked", is_out_of_capacity_blocked) if is_revocation_status_timeout_blocked is not None: - pulumi.set(__self__, "is_revocation_status_timeout_blocked", is_revocation_status_timeout_blocked) + _setter("is_revocation_status_timeout_blocked", is_revocation_status_timeout_blocked) if is_unknown_revocation_status_blocked is not None: - pulumi.set(__self__, "is_unknown_revocation_status_blocked", is_unknown_revocation_status_blocked) + _setter("is_unknown_revocation_status_blocked", is_unknown_revocation_status_blocked) if is_unsupported_cipher_blocked is not None: - pulumi.set(__self__, "is_unsupported_cipher_blocked", is_unsupported_cipher_blocked) + _setter("is_unsupported_cipher_blocked", is_unsupported_cipher_blocked) if is_unsupported_version_blocked is not None: - pulumi.set(__self__, "is_unsupported_version_blocked", is_unsupported_version_blocked) + _setter("is_unsupported_version_blocked", is_unsupported_version_blocked) if is_untrusted_issuer_blocked is not None: - pulumi.set(__self__, "is_untrusted_issuer_blocked", is_untrusted_issuer_blocked) + _setter("is_untrusted_issuer_blocked", is_untrusted_issuer_blocked) @property @pulumi.getter @@ -349,13 +406,30 @@ def __init__(__self__, *, :param pulumi.Input[str] decryption_profile: (Updatable) The name of the decryption profile to use. :param pulumi.Input[str] secret: (Updatable) The name of a mapped secret. Its `type` must match that of the specified decryption profile. """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "condition", condition) - pulumi.set(__self__, "name", name) + NetworkFirewallPolicyDecryptionRuleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + condition=condition, + name=name, + decryption_profile=decryption_profile, + secret=secret, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: pulumi.Input[str], + condition: pulumi.Input['NetworkFirewallPolicyDecryptionRuleConditionArgs'], + name: pulumi.Input[str], + decryption_profile: Optional[pulumi.Input[str]] = None, + secret: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("condition", condition) + _setter("name", name) if decryption_profile is not None: - pulumi.set(__self__, "decryption_profile", decryption_profile) + _setter("decryption_profile", decryption_profile) if secret is not None: - pulumi.set(__self__, "secret", secret) + _setter("secret", secret) @property @pulumi.getter @@ -431,10 +505,21 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] destinations: (Updatable) An array of IP address list names to be evaluated against the traffic destination address. :param pulumi.Input[Sequence[pulumi.Input[str]]] sources: (Updatable) An array of IP address list names to be evaluated against the traffic source address. """ + NetworkFirewallPolicyDecryptionRuleConditionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + destinations=destinations, + sources=sources, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + destinations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + sources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if destinations is not None: - pulumi.set(__self__, "destinations", destinations) + _setter("destinations", destinations) if sources is not None: - pulumi.set(__self__, "sources", sources) + _setter("sources", sources) @property @pulumi.getter @@ -470,9 +555,20 @@ def __init__(__self__, *, :param pulumi.Input[str] ip_address_list_name: (Updatable) The identifier by which the IP address list is referenced. :param pulumi.Input[Sequence[pulumi.Input[str]]] ip_address_list_values: (Updatable) List of IP address lists of the policy. """ - pulumi.set(__self__, "ip_address_list_name", ip_address_list_name) + NetworkFirewallPolicyIpAddressListArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + ip_address_list_name=ip_address_list_name, + ip_address_list_values=ip_address_list_values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ip_address_list_name: pulumi.Input[str], + ip_address_list_values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ip_address_list_name", ip_address_list_name) if ip_address_list_values is not None: - pulumi.set(__self__, "ip_address_list_values", ip_address_list_values) + _setter("ip_address_list_values", ip_address_list_values) @property @pulumi.getter(name="ipAddressListName") @@ -512,12 +608,27 @@ def __init__(__self__, *, :param pulumi.Input[str] vault_secret_id: (Updatable) OCID for the Vault Secret to be used. :param pulumi.Input[int] version_number: (Updatable) Version number of the secret to be used. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "type", type) + NetworkFirewallPolicyMappedSecretArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + type=type, + vault_secret_id=vault_secret_id, + version_number=version_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: pulumi.Input[str], + type: pulumi.Input[str], + vault_secret_id: Optional[pulumi.Input[str]] = None, + version_number: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("type", type) if vault_secret_id is not None: - pulumi.set(__self__, "vault_secret_id", vault_secret_id) + _setter("vault_secret_id", vault_secret_id) if version_number is not None: - pulumi.set(__self__, "version_number", version_number) + _setter("version_number", version_number) @property @pulumi.getter @@ -587,11 +698,26 @@ def __init__(__self__, *, * INTRUSION_DETECTION - Intrusion Detection. * INTRUSION_PREVENTION - Intrusion Detection and Prevention. Traffic classified as potentially malicious will be rejected as described in `type`. """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "condition", condition) - pulumi.set(__self__, "name", name) + NetworkFirewallPolicySecurityRuleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + condition=condition, + name=name, + inspection=inspection, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: pulumi.Input[str], + condition: pulumi.Input['NetworkFirewallPolicySecurityRuleConditionArgs'], + name: pulumi.Input[str], + inspection: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("condition", condition) + _setter("name", name) if inspection is not None: - pulumi.set(__self__, "inspection", inspection) + _setter("inspection", inspection) @property @pulumi.getter @@ -661,14 +787,29 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] sources: (Updatable) An array of IP address list names to be evaluated against the traffic source address. :param pulumi.Input[Sequence[pulumi.Input[str]]] urls: (Updatable) An array of URL pattern list names to be evaluated against the HTTP(S) request target. """ + NetworkFirewallPolicySecurityRuleConditionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + applications=applications, + destinations=destinations, + sources=sources, + urls=urls, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + applications: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + destinations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + sources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + urls: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if applications is not None: - pulumi.set(__self__, "applications", applications) + _setter("applications", applications) if destinations is not None: - pulumi.set(__self__, "destinations", destinations) + _setter("destinations", destinations) if sources is not None: - pulumi.set(__self__, "sources", sources) + _setter("sources", sources) if urls is not None: - pulumi.set(__self__, "urls", urls) + _setter("urls", urls) @property @pulumi.getter @@ -728,9 +869,20 @@ def __init__(__self__, *, :param pulumi.Input[str] url_list_name: (Updatable) The identifier for the url list :param pulumi.Input[Sequence[pulumi.Input['NetworkFirewallPolicyUrlListUrlListValueArgs']]] url_list_values: (Updatable) The list of Url Patterns. """ - pulumi.set(__self__, "url_list_name", url_list_name) + NetworkFirewallPolicyUrlListArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + url_list_name=url_list_name, + url_list_values=url_list_values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + url_list_name: pulumi.Input[str], + url_list_values: Optional[pulumi.Input[Sequence[pulumi.Input['NetworkFirewallPolicyUrlListUrlListValueArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("url_list_name", url_list_name) if url_list_values is not None: - pulumi.set(__self__, "url_list_values", url_list_values) + _setter("url_list_values", url_list_values) @property @pulumi.getter(name="urlListName") @@ -770,9 +922,20 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "type", type) + NetworkFirewallPolicyUrlListUrlListValueArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + pattern=pattern, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + pattern: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if pattern is not None: - pulumi.set(__self__, "pattern", pattern) + _setter("pattern", pattern) @property @pulumi.getter @@ -812,10 +975,23 @@ def __init__(__self__, *, """ :param str name: Name for the Security rule, must be unique within the policy. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetNetworkFirewallPoliciesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -854,10 +1030,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetNetworkFirewallsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/networkfirewall/get_network_firewall.py b/sdk/python/pulumi_oci/networkfirewall/get_network_firewall.py index 19e689d89c..1510fb5ac0 100644 --- a/sdk/python/pulumi_oci/networkfirewall/get_network_firewall.py +++ b/sdk/python/pulumi_oci/networkfirewall/get_network_firewall.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/networkfirewall/get_network_firewall_policies.py b/sdk/python/pulumi_oci/networkfirewall/get_network_firewall_policies.py index 85bec1e3ea..fa068bf0eb 100644 --- a/sdk/python/pulumi_oci/networkfirewall/get_network_firewall_policies.py +++ b/sdk/python/pulumi_oci/networkfirewall/get_network_firewall_policies.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/networkfirewall/get_network_firewall_policy.py b/sdk/python/pulumi_oci/networkfirewall/get_network_firewall_policy.py index c63908fd71..9f1af7aefc 100644 --- a/sdk/python/pulumi_oci/networkfirewall/get_network_firewall_policy.py +++ b/sdk/python/pulumi_oci/networkfirewall/get_network_firewall_policy.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/networkfirewall/get_network_firewalls.py b/sdk/python/pulumi_oci/networkfirewall/get_network_firewalls.py index dcd7293da1..f41f6d9619 100644 --- a/sdk/python/pulumi_oci/networkfirewall/get_network_firewalls.py +++ b/sdk/python/pulumi_oci/networkfirewall/get_network_firewalls.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/networkfirewall/network_firewall.py b/sdk/python/pulumi_oci/networkfirewall/network_firewall.py index acc571768a..62baba3ecc 100644 --- a/sdk/python/pulumi_oci/networkfirewall/network_firewall.py +++ b/sdk/python/pulumi_oci/networkfirewall/network_firewall.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['NetworkFirewallArgs', 'NetworkFirewall'] @@ -41,23 +41,50 @@ def __init__(__self__, *, :param pulumi.Input[str] ipv6address: IPv6 address for the Network Firewall. :param pulumi.Input[Sequence[pulumi.Input[str]]] network_security_group_ids: (Updatable) An array of network security groups [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) associated with the Network Firewall. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "network_firewall_policy_id", network_firewall_policy_id) - pulumi.set(__self__, "subnet_id", subnet_id) + NetworkFirewallArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + network_firewall_policy_id=network_firewall_policy_id, + subnet_id=subnet_id, + availability_domain=availability_domain, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + ipv4address=ipv4address, + ipv6address=ipv6address, + network_security_group_ids=network_security_group_ids, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + network_firewall_policy_id: pulumi.Input[str], + subnet_id: pulumi.Input[str], + availability_domain: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + ipv4address: Optional[pulumi.Input[str]] = None, + ipv6address: Optional[pulumi.Input[str]] = None, + network_security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("network_firewall_policy_id", network_firewall_policy_id) + _setter("subnet_id", subnet_id) if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if ipv4address is not None: - pulumi.set(__self__, "ipv4address", ipv4address) + _setter("ipv4address", ipv4address) if ipv6address is not None: - pulumi.set(__self__, "ipv6address", ipv6address) + _setter("ipv6address", ipv6address) if network_security_group_ids is not None: - pulumi.set(__self__, "network_security_group_ids", network_security_group_ids) + _setter("network_security_group_ids", network_security_group_ids) @property @pulumi.getter(name="compartmentId") @@ -224,36 +251,73 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The time instant at which the Network Firewall was created in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` :param pulumi.Input[str] time_updated: The time instant at which the Network Firewall was updated in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` """ + _NetworkFirewallState._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + ipv4address=ipv4address, + ipv6address=ipv6address, + lifecycle_details=lifecycle_details, + network_firewall_policy_id=network_firewall_policy_id, + network_security_group_ids=network_security_group_ids, + state=state, + subnet_id=subnet_id, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + ipv4address: Optional[pulumi.Input[str]] = None, + ipv6address: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + network_firewall_policy_id: Optional[pulumi.Input[str]] = None, + network_security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + state: Optional[pulumi.Input[str]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if availability_domain is not None: - pulumi.set(__self__, "availability_domain", availability_domain) + _setter("availability_domain", availability_domain) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if ipv4address is not None: - pulumi.set(__self__, "ipv4address", ipv4address) + _setter("ipv4address", ipv4address) if ipv6address is not None: - pulumi.set(__self__, "ipv6address", ipv6address) + _setter("ipv6address", ipv6address) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if network_firewall_policy_id is not None: - pulumi.set(__self__, "network_firewall_policy_id", network_firewall_policy_id) + _setter("network_firewall_policy_id", network_firewall_policy_id) if network_security_group_ids is not None: - pulumi.set(__self__, "network_security_group_ids", network_security_group_ids) + _setter("network_security_group_ids", network_security_group_ids) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="availabilityDomain") @@ -561,6 +625,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + NetworkFirewallArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/networkfirewall/network_firewall_policy.py b/sdk/python/pulumi_oci/networkfirewall/network_firewall_policy.py index e3d002785f..8d857b42a6 100644 --- a/sdk/python/pulumi_oci/networkfirewall/network_firewall_policy.py +++ b/sdk/python/pulumi_oci/networkfirewall/network_firewall_policy.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -41,27 +41,56 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['NetworkFirewallPolicySecurityRuleArgs']]] security_rules: (Updatable) List of Security Rules defining the behavior of the policy. The first rule with a matching condition determines the action taken upon network traffic. :param pulumi.Input[Sequence[pulumi.Input['NetworkFirewallPolicyUrlListArgs']]] url_lists: (Updatable) Map defining URL pattern lists of the policy. The value of an entry is a list of URL patterns. The associated key is the identifier by which the URL pattern list is referenced. """ - pulumi.set(__self__, "compartment_id", compartment_id) + NetworkFirewallPolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + application_lists=application_lists, + decryption_profiles=decryption_profiles, + decryption_rules=decryption_rules, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + ip_address_lists=ip_address_lists, + mapped_secrets=mapped_secrets, + security_rules=security_rules, + url_lists=url_lists, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + application_lists: Optional[pulumi.Input[Sequence[pulumi.Input['NetworkFirewallPolicyApplicationListArgs']]]] = None, + decryption_profiles: Optional[pulumi.Input[Sequence[pulumi.Input['NetworkFirewallPolicyDecryptionProfileArgs']]]] = None, + decryption_rules: Optional[pulumi.Input[Sequence[pulumi.Input['NetworkFirewallPolicyDecryptionRuleArgs']]]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + ip_address_lists: Optional[pulumi.Input[Sequence[pulumi.Input['NetworkFirewallPolicyIpAddressListArgs']]]] = None, + mapped_secrets: Optional[pulumi.Input[Sequence[pulumi.Input['NetworkFirewallPolicyMappedSecretArgs']]]] = None, + security_rules: Optional[pulumi.Input[Sequence[pulumi.Input['NetworkFirewallPolicySecurityRuleArgs']]]] = None, + url_lists: Optional[pulumi.Input[Sequence[pulumi.Input['NetworkFirewallPolicyUrlListArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) if application_lists is not None: - pulumi.set(__self__, "application_lists", application_lists) + _setter("application_lists", application_lists) if decryption_profiles is not None: - pulumi.set(__self__, "decryption_profiles", decryption_profiles) + _setter("decryption_profiles", decryption_profiles) if decryption_rules is not None: - pulumi.set(__self__, "decryption_rules", decryption_rules) + _setter("decryption_rules", decryption_rules) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if ip_address_lists is not None: - pulumi.set(__self__, "ip_address_lists", ip_address_lists) + _setter("ip_address_lists", ip_address_lists) if mapped_secrets is not None: - pulumi.set(__self__, "mapped_secrets", mapped_secrets) + _setter("mapped_secrets", mapped_secrets) if security_rules is not None: - pulumi.set(__self__, "security_rules", security_rules) + _setter("security_rules", security_rules) if url_lists is not None: - pulumi.set(__self__, "url_lists", url_lists) + _setter("url_lists", url_lists) @property @pulumi.getter(name="compartmentId") @@ -236,40 +265,81 @@ def __init__(__self__, *, :param pulumi.Input[str] time_updated: The time instant at which the Network Firewall Policy was updated in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` :param pulumi.Input[Sequence[pulumi.Input['NetworkFirewallPolicyUrlListArgs']]] url_lists: (Updatable) Map defining URL pattern lists of the policy. The value of an entry is a list of URL patterns. The associated key is the identifier by which the URL pattern list is referenced. """ + _NetworkFirewallPolicyState._configure( + lambda key, value: pulumi.set(__self__, key, value), + application_lists=application_lists, + compartment_id=compartment_id, + decryption_profiles=decryption_profiles, + decryption_rules=decryption_rules, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + ip_address_lists=ip_address_lists, + is_firewall_attached=is_firewall_attached, + lifecycle_details=lifecycle_details, + mapped_secrets=mapped_secrets, + security_rules=security_rules, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + url_lists=url_lists, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + application_lists: Optional[pulumi.Input[Sequence[pulumi.Input['NetworkFirewallPolicyApplicationListArgs']]]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + decryption_profiles: Optional[pulumi.Input[Sequence[pulumi.Input['NetworkFirewallPolicyDecryptionProfileArgs']]]] = None, + decryption_rules: Optional[pulumi.Input[Sequence[pulumi.Input['NetworkFirewallPolicyDecryptionRuleArgs']]]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + ip_address_lists: Optional[pulumi.Input[Sequence[pulumi.Input['NetworkFirewallPolicyIpAddressListArgs']]]] = None, + is_firewall_attached: Optional[pulumi.Input[bool]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + mapped_secrets: Optional[pulumi.Input[Sequence[pulumi.Input['NetworkFirewallPolicyMappedSecretArgs']]]] = None, + security_rules: Optional[pulumi.Input[Sequence[pulumi.Input['NetworkFirewallPolicySecurityRuleArgs']]]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + url_lists: Optional[pulumi.Input[Sequence[pulumi.Input['NetworkFirewallPolicyUrlListArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if application_lists is not None: - pulumi.set(__self__, "application_lists", application_lists) + _setter("application_lists", application_lists) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if decryption_profiles is not None: - pulumi.set(__self__, "decryption_profiles", decryption_profiles) + _setter("decryption_profiles", decryption_profiles) if decryption_rules is not None: - pulumi.set(__self__, "decryption_rules", decryption_rules) + _setter("decryption_rules", decryption_rules) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if ip_address_lists is not None: - pulumi.set(__self__, "ip_address_lists", ip_address_lists) + _setter("ip_address_lists", ip_address_lists) if is_firewall_attached is not None: - pulumi.set(__self__, "is_firewall_attached", is_firewall_attached) + _setter("is_firewall_attached", is_firewall_attached) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if mapped_secrets is not None: - pulumi.set(__self__, "mapped_secrets", mapped_secrets) + _setter("mapped_secrets", mapped_secrets) if security_rules is not None: - pulumi.set(__self__, "security_rules", security_rules) + _setter("security_rules", security_rules) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if url_lists is not None: - pulumi.set(__self__, "url_lists", url_lists) + _setter("url_lists", url_lists) @property @pulumi.getter(name="applicationLists") @@ -549,6 +619,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + NetworkFirewallPolicyArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/networkfirewall/outputs.py b/sdk/python/pulumi_oci/networkfirewall/outputs.py index 4122754c45..90f390d294 100644 --- a/sdk/python/pulumi_oci/networkfirewall/outputs.py +++ b/sdk/python/pulumi_oci/networkfirewall/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -80,9 +80,20 @@ def __init__(__self__, *, :param str application_list_name: (Updatable) The key is the identifier by which the application list is referenced. :param Sequence['NetworkFirewallPolicyApplicationListApplicationValueArgs'] application_values: (Updatable) Details about the application """ - pulumi.set(__self__, "application_list_name", application_list_name) + NetworkFirewallPolicyApplicationList._configure( + lambda key, value: pulumi.set(__self__, key, value), + application_list_name=application_list_name, + application_values=application_values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + application_list_name: str, + application_values: Optional[Sequence['outputs.NetworkFirewallPolicyApplicationListApplicationValue']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("application_list_name", application_list_name) if application_values is not None: - pulumi.set(__self__, "application_values", application_values) + _setter("application_values", application_values) @property @pulumi.getter(name="applicationListName") @@ -139,15 +150,32 @@ def __init__(__self__, *, :param int maximum_port: (Updatable) Used when you select TCP or UDP. Enter a port number. :param int minimum_port: (Updatable) Used when you select TCP or UDP. Enter a port number. """ - pulumi.set(__self__, "type", type) + NetworkFirewallPolicyApplicationListApplicationValue._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + icmp_code=icmp_code, + icmp_type=icmp_type, + maximum_port=maximum_port, + minimum_port=minimum_port, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + icmp_code: Optional[int] = None, + icmp_type: Optional[int] = None, + maximum_port: Optional[int] = None, + minimum_port: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if icmp_code is not None: - pulumi.set(__self__, "icmp_code", icmp_code) + _setter("icmp_code", icmp_code) if icmp_type is not None: - pulumi.set(__self__, "icmp_type", icmp_type) + _setter("icmp_type", icmp_type) if maximum_port is not None: - pulumi.set(__self__, "maximum_port", maximum_port) + _setter("maximum_port", maximum_port) if minimum_port is not None: - pulumi.set(__self__, "minimum_port", minimum_port) + _setter("minimum_port", minimum_port) @property @pulumi.getter @@ -250,26 +278,55 @@ def __init__(__self__, *, :param bool is_unsupported_version_blocked: (Updatable) Whether to block sessions if SSL version is not supported. :param bool is_untrusted_issuer_blocked: (Updatable) Whether to block sessions if server's certificate is issued by an untrusted certificate authority (CA). """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "type", type) + NetworkFirewallPolicyDecryptionProfile._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + type=type, + are_certificate_extensions_restricted=are_certificate_extensions_restricted, + is_auto_include_alt_name=is_auto_include_alt_name, + is_expired_certificate_blocked=is_expired_certificate_blocked, + is_out_of_capacity_blocked=is_out_of_capacity_blocked, + is_revocation_status_timeout_blocked=is_revocation_status_timeout_blocked, + is_unknown_revocation_status_blocked=is_unknown_revocation_status_blocked, + is_unsupported_cipher_blocked=is_unsupported_cipher_blocked, + is_unsupported_version_blocked=is_unsupported_version_blocked, + is_untrusted_issuer_blocked=is_untrusted_issuer_blocked, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + type: str, + are_certificate_extensions_restricted: Optional[bool] = None, + is_auto_include_alt_name: Optional[bool] = None, + is_expired_certificate_blocked: Optional[bool] = None, + is_out_of_capacity_blocked: Optional[bool] = None, + is_revocation_status_timeout_blocked: Optional[bool] = None, + is_unknown_revocation_status_blocked: Optional[bool] = None, + is_unsupported_cipher_blocked: Optional[bool] = None, + is_unsupported_version_blocked: Optional[bool] = None, + is_untrusted_issuer_blocked: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("type", type) if are_certificate_extensions_restricted is not None: - pulumi.set(__self__, "are_certificate_extensions_restricted", are_certificate_extensions_restricted) + _setter("are_certificate_extensions_restricted", are_certificate_extensions_restricted) if is_auto_include_alt_name is not None: - pulumi.set(__self__, "is_auto_include_alt_name", is_auto_include_alt_name) + _setter("is_auto_include_alt_name", is_auto_include_alt_name) if is_expired_certificate_blocked is not None: - pulumi.set(__self__, "is_expired_certificate_blocked", is_expired_certificate_blocked) + _setter("is_expired_certificate_blocked", is_expired_certificate_blocked) if is_out_of_capacity_blocked is not None: - pulumi.set(__self__, "is_out_of_capacity_blocked", is_out_of_capacity_blocked) + _setter("is_out_of_capacity_blocked", is_out_of_capacity_blocked) if is_revocation_status_timeout_blocked is not None: - pulumi.set(__self__, "is_revocation_status_timeout_blocked", is_revocation_status_timeout_blocked) + _setter("is_revocation_status_timeout_blocked", is_revocation_status_timeout_blocked) if is_unknown_revocation_status_blocked is not None: - pulumi.set(__self__, "is_unknown_revocation_status_blocked", is_unknown_revocation_status_blocked) + _setter("is_unknown_revocation_status_blocked", is_unknown_revocation_status_blocked) if is_unsupported_cipher_blocked is not None: - pulumi.set(__self__, "is_unsupported_cipher_blocked", is_unsupported_cipher_blocked) + _setter("is_unsupported_cipher_blocked", is_unsupported_cipher_blocked) if is_unsupported_version_blocked is not None: - pulumi.set(__self__, "is_unsupported_version_blocked", is_unsupported_version_blocked) + _setter("is_unsupported_version_blocked", is_unsupported_version_blocked) if is_untrusted_issuer_blocked is not None: - pulumi.set(__self__, "is_untrusted_issuer_blocked", is_untrusted_issuer_blocked) + _setter("is_untrusted_issuer_blocked", is_untrusted_issuer_blocked) @property @pulumi.getter @@ -396,13 +453,30 @@ def __init__(__self__, *, :param str decryption_profile: (Updatable) The name of the decryption profile to use. :param str secret: (Updatable) The name of a mapped secret. Its `type` must match that of the specified decryption profile. """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "condition", condition) - pulumi.set(__self__, "name", name) + NetworkFirewallPolicyDecryptionRule._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + condition=condition, + name=name, + decryption_profile=decryption_profile, + secret=secret, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: str, + condition: 'outputs.NetworkFirewallPolicyDecryptionRuleCondition', + name: str, + decryption_profile: Optional[str] = None, + secret: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("condition", condition) + _setter("name", name) if decryption_profile is not None: - pulumi.set(__self__, "decryption_profile", decryption_profile) + _setter("decryption_profile", decryption_profile) if secret is not None: - pulumi.set(__self__, "secret", secret) + _setter("secret", secret) @property @pulumi.getter @@ -458,10 +532,21 @@ def __init__(__self__, *, :param Sequence[str] destinations: (Updatable) An array of IP address list names to be evaluated against the traffic destination address. :param Sequence[str] sources: (Updatable) An array of IP address list names to be evaluated against the traffic source address. """ + NetworkFirewallPolicyDecryptionRuleCondition._configure( + lambda key, value: pulumi.set(__self__, key, value), + destinations=destinations, + sources=sources, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + destinations: Optional[Sequence[str]] = None, + sources: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if destinations is not None: - pulumi.set(__self__, "destinations", destinations) + _setter("destinations", destinations) if sources is not None: - pulumi.set(__self__, "sources", sources) + _setter("sources", sources) @property @pulumi.getter @@ -508,9 +593,20 @@ def __init__(__self__, *, :param str ip_address_list_name: (Updatable) The identifier by which the IP address list is referenced. :param Sequence[str] ip_address_list_values: (Updatable) List of IP address lists of the policy. """ - pulumi.set(__self__, "ip_address_list_name", ip_address_list_name) + NetworkFirewallPolicyIpAddressList._configure( + lambda key, value: pulumi.set(__self__, key, value), + ip_address_list_name=ip_address_list_name, + ip_address_list_values=ip_address_list_values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ip_address_list_name: str, + ip_address_list_values: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ip_address_list_name", ip_address_list_name) if ip_address_list_values is not None: - pulumi.set(__self__, "ip_address_list_values", ip_address_list_values) + _setter("ip_address_list_values", ip_address_list_values) @property @pulumi.getter(name="ipAddressListName") @@ -561,12 +657,27 @@ def __init__(__self__, *, :param str vault_secret_id: (Updatable) OCID for the Vault Secret to be used. :param int version_number: (Updatable) Version number of the secret to be used. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "type", type) + NetworkFirewallPolicyMappedSecret._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + type=type, + vault_secret_id=vault_secret_id, + version_number=version_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + type: str, + vault_secret_id: Optional[str] = None, + version_number: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("type", type) if vault_secret_id is not None: - pulumi.set(__self__, "vault_secret_id", vault_secret_id) + _setter("vault_secret_id", vault_secret_id) if version_number is not None: - pulumi.set(__self__, "version_number", version_number) + _setter("version_number", version_number) @property @pulumi.getter @@ -620,11 +731,26 @@ def __init__(__self__, *, * INTRUSION_DETECTION - Intrusion Detection. * INTRUSION_PREVENTION - Intrusion Detection and Prevention. Traffic classified as potentially malicious will be rejected as described in `type`. """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "condition", condition) - pulumi.set(__self__, "name", name) + NetworkFirewallPolicySecurityRule._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + condition=condition, + name=name, + inspection=inspection, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: str, + condition: 'outputs.NetworkFirewallPolicySecurityRuleCondition', + name: str, + inspection: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("condition", condition) + _setter("name", name) if inspection is not None: - pulumi.set(__self__, "inspection", inspection) + _setter("inspection", inspection) @property @pulumi.getter @@ -678,14 +804,29 @@ def __init__(__self__, *, :param Sequence[str] sources: (Updatable) An array of IP address list names to be evaluated against the traffic source address. :param Sequence[str] urls: (Updatable) An array of URL pattern list names to be evaluated against the HTTP(S) request target. """ + NetworkFirewallPolicySecurityRuleCondition._configure( + lambda key, value: pulumi.set(__self__, key, value), + applications=applications, + destinations=destinations, + sources=sources, + urls=urls, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + applications: Optional[Sequence[str]] = None, + destinations: Optional[Sequence[str]] = None, + sources: Optional[Sequence[str]] = None, + urls: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if applications is not None: - pulumi.set(__self__, "applications", applications) + _setter("applications", applications) if destinations is not None: - pulumi.set(__self__, "destinations", destinations) + _setter("destinations", destinations) if sources is not None: - pulumi.set(__self__, "sources", sources) + _setter("sources", sources) if urls is not None: - pulumi.set(__self__, "urls", urls) + _setter("urls", urls) @property @pulumi.getter @@ -748,9 +889,20 @@ def __init__(__self__, *, :param str url_list_name: (Updatable) The identifier for the url list :param Sequence['NetworkFirewallPolicyUrlListUrlListValueArgs'] url_list_values: (Updatable) The list of Url Patterns. """ - pulumi.set(__self__, "url_list_name", url_list_name) + NetworkFirewallPolicyUrlList._configure( + lambda key, value: pulumi.set(__self__, key, value), + url_list_name=url_list_name, + url_list_values=url_list_values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + url_list_name: str, + url_list_values: Optional[Sequence['outputs.NetworkFirewallPolicyUrlListUrlListValue']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("url_list_name", url_list_name) if url_list_values is not None: - pulumi.set(__self__, "url_list_values", url_list_values) + _setter("url_list_values", url_list_values) @property @pulumi.getter(name="urlListName") @@ -782,9 +934,20 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "type", type) + NetworkFirewallPolicyUrlListUrlListValue._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + pattern=pattern, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + pattern: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if pattern is not None: - pulumi.set(__self__, "pattern", pattern) + _setter("pattern", pattern) @property @pulumi.getter @@ -816,10 +979,23 @@ def __init__(__self__, *, """ :param str name: Name for the Security rule, must be unique within the policy. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetNetworkFirewallPoliciesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -844,7 +1020,16 @@ def regex(self) -> Optional[bool]: class GetNetworkFirewallPoliciesNetworkFirewallPolicySummaryCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetNetworkFirewallPoliciesNetworkFirewallPolicySummaryCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetNetworkFirewallPoliciesNetworkFirewallPolicySummaryCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetNetworkFirewallPoliciesNetworkFirewallPolicySummaryCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -893,24 +1078,67 @@ def __init__(__self__, *, :param str time_updated: The time instant at which the Network Firewall Policy was updated in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` :param Sequence['GetNetworkFirewallPoliciesNetworkFirewallPolicySummaryCollectionItemUrlListArgs'] url_lists: Map defining URL pattern lists of the policy. The value of an entry is a list of URL patterns. The associated key is the identifier by which the URL pattern list is referenced. """ - pulumi.set(__self__, "application_lists", application_lists) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "decryption_profiles", decryption_profiles) - pulumi.set(__self__, "decryption_rules", decryption_rules) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "ip_address_lists", ip_address_lists) - pulumi.set(__self__, "is_firewall_attached", is_firewall_attached) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "mapped_secrets", mapped_secrets) - pulumi.set(__self__, "security_rules", security_rules) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "url_lists", url_lists) + GetNetworkFirewallPoliciesNetworkFirewallPolicySummaryCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + application_lists=application_lists, + compartment_id=compartment_id, + decryption_profiles=decryption_profiles, + decryption_rules=decryption_rules, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + ip_address_lists=ip_address_lists, + is_firewall_attached=is_firewall_attached, + lifecycle_details=lifecycle_details, + mapped_secrets=mapped_secrets, + security_rules=security_rules, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + url_lists=url_lists, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + application_lists: Sequence['outputs.GetNetworkFirewallPoliciesNetworkFirewallPolicySummaryCollectionItemApplicationListResult'], + compartment_id: str, + decryption_profiles: Sequence['outputs.GetNetworkFirewallPoliciesNetworkFirewallPolicySummaryCollectionItemDecryptionProfileResult'], + decryption_rules: Sequence['outputs.GetNetworkFirewallPoliciesNetworkFirewallPolicySummaryCollectionItemDecryptionRuleResult'], + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + ip_address_lists: Sequence['outputs.GetNetworkFirewallPoliciesNetworkFirewallPolicySummaryCollectionItemIpAddressListResult'], + is_firewall_attached: bool, + lifecycle_details: str, + mapped_secrets: Sequence['outputs.GetNetworkFirewallPoliciesNetworkFirewallPolicySummaryCollectionItemMappedSecretResult'], + security_rules: Sequence['outputs.GetNetworkFirewallPoliciesNetworkFirewallPolicySummaryCollectionItemSecurityRuleResult'], + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + url_lists: Sequence['outputs.GetNetworkFirewallPoliciesNetworkFirewallPolicySummaryCollectionItemUrlListResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("application_lists", application_lists) + _setter("compartment_id", compartment_id) + _setter("decryption_profiles", decryption_profiles) + _setter("decryption_rules", decryption_rules) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("ip_address_lists", ip_address_lists) + _setter("is_firewall_attached", is_firewall_attached) + _setter("lifecycle_details", lifecycle_details) + _setter("mapped_secrets", mapped_secrets) + _setter("security_rules", security_rules) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("url_lists", url_lists) @property @pulumi.getter(name="applicationLists") @@ -1062,8 +1290,19 @@ class GetNetworkFirewallPoliciesNetworkFirewallPolicySummaryCollectionItemApplic def __init__(__self__, *, application_list_name: str, application_values: Sequence['outputs.GetNetworkFirewallPoliciesNetworkFirewallPolicySummaryCollectionItemApplicationListApplicationValueResult']): - pulumi.set(__self__, "application_list_name", application_list_name) - pulumi.set(__self__, "application_values", application_values) + GetNetworkFirewallPoliciesNetworkFirewallPolicySummaryCollectionItemApplicationListResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + application_list_name=application_list_name, + application_values=application_values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + application_list_name: str, + application_values: Sequence['outputs.GetNetworkFirewallPoliciesNetworkFirewallPolicySummaryCollectionItemApplicationListApplicationValueResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("application_list_name", application_list_name) + _setter("application_values", application_values) @property @pulumi.getter(name="applicationListName") @@ -1087,11 +1326,28 @@ def __init__(__self__, *, """ :param str type: Type of the secrets mapped based on the policy. """ - pulumi.set(__self__, "icmp_code", icmp_code) - pulumi.set(__self__, "icmp_type", icmp_type) - pulumi.set(__self__, "maximum_port", maximum_port) - pulumi.set(__self__, "minimum_port", minimum_port) - pulumi.set(__self__, "type", type) + GetNetworkFirewallPoliciesNetworkFirewallPolicySummaryCollectionItemApplicationListApplicationValueResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + icmp_code=icmp_code, + icmp_type=icmp_type, + maximum_port=maximum_port, + minimum_port=minimum_port, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + icmp_code: int, + icmp_type: int, + maximum_port: int, + minimum_port: int, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("icmp_code", icmp_code) + _setter("icmp_type", icmp_type) + _setter("maximum_port", maximum_port) + _setter("minimum_port", minimum_port) + _setter("type", type) @property @pulumi.getter(name="icmpCode") @@ -1148,17 +1404,46 @@ def __init__(__self__, *, :param bool is_untrusted_issuer_blocked: Whether to block sessions if server's certificate is issued by an untrusted certificate authority (CA). :param str type: Type of the secrets mapped based on the policy. """ - pulumi.set(__self__, "are_certificate_extensions_restricted", are_certificate_extensions_restricted) - pulumi.set(__self__, "is_auto_include_alt_name", is_auto_include_alt_name) - pulumi.set(__self__, "is_expired_certificate_blocked", is_expired_certificate_blocked) - pulumi.set(__self__, "is_out_of_capacity_blocked", is_out_of_capacity_blocked) - pulumi.set(__self__, "is_revocation_status_timeout_blocked", is_revocation_status_timeout_blocked) - pulumi.set(__self__, "is_unknown_revocation_status_blocked", is_unknown_revocation_status_blocked) - pulumi.set(__self__, "is_unsupported_cipher_blocked", is_unsupported_cipher_blocked) - pulumi.set(__self__, "is_unsupported_version_blocked", is_unsupported_version_blocked) - pulumi.set(__self__, "is_untrusted_issuer_blocked", is_untrusted_issuer_blocked) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "type", type) + GetNetworkFirewallPoliciesNetworkFirewallPolicySummaryCollectionItemDecryptionProfileResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + are_certificate_extensions_restricted=are_certificate_extensions_restricted, + is_auto_include_alt_name=is_auto_include_alt_name, + is_expired_certificate_blocked=is_expired_certificate_blocked, + is_out_of_capacity_blocked=is_out_of_capacity_blocked, + is_revocation_status_timeout_blocked=is_revocation_status_timeout_blocked, + is_unknown_revocation_status_blocked=is_unknown_revocation_status_blocked, + is_unsupported_cipher_blocked=is_unsupported_cipher_blocked, + is_unsupported_version_blocked=is_unsupported_version_blocked, + is_untrusted_issuer_blocked=is_untrusted_issuer_blocked, + key=key, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + are_certificate_extensions_restricted: bool, + is_auto_include_alt_name: bool, + is_expired_certificate_blocked: bool, + is_out_of_capacity_blocked: bool, + is_revocation_status_timeout_blocked: bool, + is_unknown_revocation_status_blocked: bool, + is_unsupported_cipher_blocked: bool, + is_unsupported_version_blocked: bool, + is_untrusted_issuer_blocked: bool, + key: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("are_certificate_extensions_restricted", are_certificate_extensions_restricted) + _setter("is_auto_include_alt_name", is_auto_include_alt_name) + _setter("is_expired_certificate_blocked", is_expired_certificate_blocked) + _setter("is_out_of_capacity_blocked", is_out_of_capacity_blocked) + _setter("is_revocation_status_timeout_blocked", is_revocation_status_timeout_blocked) + _setter("is_unknown_revocation_status_blocked", is_unknown_revocation_status_blocked) + _setter("is_unsupported_cipher_blocked", is_unsupported_cipher_blocked) + _setter("is_unsupported_version_blocked", is_unsupported_version_blocked) + _setter("is_untrusted_issuer_blocked", is_untrusted_issuer_blocked) + _setter("key", key) + _setter("type", type) @property @pulumi.getter(name="areCertificateExtensionsRestricted") @@ -1265,11 +1550,28 @@ def __init__(__self__, *, :param str name: Name for the Security rule, must be unique within the policy. :param str secret: The name of a mapped secret. Its `type` must match that of the specified decryption profile. """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "conditions", conditions) - pulumi.set(__self__, "decryption_profile", decryption_profile) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "secret", secret) + GetNetworkFirewallPoliciesNetworkFirewallPolicySummaryCollectionItemDecryptionRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + conditions=conditions, + decryption_profile=decryption_profile, + name=name, + secret=secret, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: str, + conditions: Sequence['outputs.GetNetworkFirewallPoliciesNetworkFirewallPolicySummaryCollectionItemDecryptionRuleConditionResult'], + decryption_profile: str, + name: str, + secret: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("conditions", conditions) + _setter("decryption_profile", decryption_profile) + _setter("name", name) + _setter("secret", secret) @property @pulumi.getter @@ -1325,8 +1627,19 @@ def __init__(__self__, *, :param Sequence[str] destinations: An array of IP address list names to be evaluated against the traffic destination address. :param Sequence[str] sources: An array of IP address list names to be evaluated against the traffic source address. """ - pulumi.set(__self__, "destinations", destinations) - pulumi.set(__self__, "sources", sources) + GetNetworkFirewallPoliciesNetworkFirewallPolicySummaryCollectionItemDecryptionRuleConditionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + destinations=destinations, + sources=sources, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + destinations: Sequence[str], + sources: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("destinations", destinations) + _setter("sources", sources) @property @pulumi.getter @@ -1350,8 +1663,19 @@ class GetNetworkFirewallPoliciesNetworkFirewallPolicySummaryCollectionItemIpAddr def __init__(__self__, *, ip_address_list_name: str, ip_address_list_values: Sequence[str]): - pulumi.set(__self__, "ip_address_list_name", ip_address_list_name) - pulumi.set(__self__, "ip_address_list_values", ip_address_list_values) + GetNetworkFirewallPoliciesNetworkFirewallPolicySummaryCollectionItemIpAddressListResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ip_address_list_name=ip_address_list_name, + ip_address_list_values=ip_address_list_values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ip_address_list_name: str, + ip_address_list_values: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ip_address_list_name", ip_address_list_name) + _setter("ip_address_list_values", ip_address_list_values) @property @pulumi.getter(name="ipAddressListName") @@ -1376,10 +1700,25 @@ def __init__(__self__, *, :param str vault_secret_id: OCID for the Vault Secret to be used. :param int version_number: Version number of the secret to be used. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "vault_secret_id", vault_secret_id) - pulumi.set(__self__, "version_number", version_number) + GetNetworkFirewallPoliciesNetworkFirewallPolicySummaryCollectionItemMappedSecretResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + type=type, + vault_secret_id=vault_secret_id, + version_number=version_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + type: str, + vault_secret_id: str, + version_number: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("type", type) + _setter("vault_secret_id", vault_secret_id) + _setter("version_number", version_number) @property @pulumi.getter @@ -1430,10 +1769,25 @@ def __init__(__self__, *, * INTRUSION_PREVENTION - Intrusion Detection and Prevention. Traffic classified as potentially malicious will be rejected as described in `type`. :param str name: Name for the Security rule, must be unique within the policy. """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "conditions", conditions) - pulumi.set(__self__, "inspection", inspection) - pulumi.set(__self__, "name", name) + GetNetworkFirewallPoliciesNetworkFirewallPolicySummaryCollectionItemSecurityRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + conditions=conditions, + inspection=inspection, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: str, + conditions: Sequence['outputs.GetNetworkFirewallPoliciesNetworkFirewallPolicySummaryCollectionItemSecurityRuleConditionResult'], + inspection: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("conditions", conditions) + _setter("inspection", inspection) + _setter("name", name) @property @pulumi.getter @@ -1487,10 +1841,25 @@ def __init__(__self__, *, :param Sequence[str] sources: An array of IP address list names to be evaluated against the traffic source address. :param Sequence[str] urls: An array of URL pattern list names to be evaluated against the HTTP(S) request target. """ - pulumi.set(__self__, "applications", applications) - pulumi.set(__self__, "destinations", destinations) - pulumi.set(__self__, "sources", sources) - pulumi.set(__self__, "urls", urls) + GetNetworkFirewallPoliciesNetworkFirewallPolicySummaryCollectionItemSecurityRuleConditionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + applications=applications, + destinations=destinations, + sources=sources, + urls=urls, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + applications: Sequence[str], + destinations: Sequence[str], + sources: Sequence[str], + urls: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("applications", applications) + _setter("destinations", destinations) + _setter("sources", sources) + _setter("urls", urls) @property @pulumi.getter @@ -1530,8 +1899,19 @@ class GetNetworkFirewallPoliciesNetworkFirewallPolicySummaryCollectionItemUrlLis def __init__(__self__, *, url_list_name: str, url_list_values: Sequence['outputs.GetNetworkFirewallPoliciesNetworkFirewallPolicySummaryCollectionItemUrlListUrlListValueResult']): - pulumi.set(__self__, "url_list_name", url_list_name) - pulumi.set(__self__, "url_list_values", url_list_values) + GetNetworkFirewallPoliciesNetworkFirewallPolicySummaryCollectionItemUrlListResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + url_list_name=url_list_name, + url_list_values=url_list_values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + url_list_name: str, + url_list_values: Sequence['outputs.GetNetworkFirewallPoliciesNetworkFirewallPolicySummaryCollectionItemUrlListUrlListValueResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("url_list_name", url_list_name) + _setter("url_list_values", url_list_values) @property @pulumi.getter(name="urlListName") @@ -1552,8 +1932,19 @@ def __init__(__self__, *, """ :param str type: Type of the secrets mapped based on the policy. """ - pulumi.set(__self__, "pattern", pattern) - pulumi.set(__self__, "type", type) + GetNetworkFirewallPoliciesNetworkFirewallPolicySummaryCollectionItemUrlListUrlListValueResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + pattern=pattern, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + pattern: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("pattern", pattern) + _setter("type", type) @property @pulumi.getter @@ -1574,8 +1965,19 @@ class GetNetworkFirewallPolicyApplicationListResult(dict): def __init__(__self__, *, application_list_name: str, application_values: Sequence['outputs.GetNetworkFirewallPolicyApplicationListApplicationValueResult']): - pulumi.set(__self__, "application_list_name", application_list_name) - pulumi.set(__self__, "application_values", application_values) + GetNetworkFirewallPolicyApplicationListResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + application_list_name=application_list_name, + application_values=application_values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + application_list_name: str, + application_values: Sequence['outputs.GetNetworkFirewallPolicyApplicationListApplicationValueResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("application_list_name", application_list_name) + _setter("application_values", application_values) @property @pulumi.getter(name="applicationListName") @@ -1599,11 +2001,28 @@ def __init__(__self__, *, """ :param str type: Type of the secrets mapped based on the policy. """ - pulumi.set(__self__, "icmp_code", icmp_code) - pulumi.set(__self__, "icmp_type", icmp_type) - pulumi.set(__self__, "maximum_port", maximum_port) - pulumi.set(__self__, "minimum_port", minimum_port) - pulumi.set(__self__, "type", type) + GetNetworkFirewallPolicyApplicationListApplicationValueResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + icmp_code=icmp_code, + icmp_type=icmp_type, + maximum_port=maximum_port, + minimum_port=minimum_port, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + icmp_code: int, + icmp_type: int, + maximum_port: int, + minimum_port: int, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("icmp_code", icmp_code) + _setter("icmp_type", icmp_type) + _setter("maximum_port", maximum_port) + _setter("minimum_port", minimum_port) + _setter("type", type) @property @pulumi.getter(name="icmpCode") @@ -1660,17 +2079,46 @@ def __init__(__self__, *, :param bool is_untrusted_issuer_blocked: Whether to block sessions if server's certificate is issued by an untrusted certificate authority (CA). :param str type: Type of the secrets mapped based on the policy. """ - pulumi.set(__self__, "are_certificate_extensions_restricted", are_certificate_extensions_restricted) - pulumi.set(__self__, "is_auto_include_alt_name", is_auto_include_alt_name) - pulumi.set(__self__, "is_expired_certificate_blocked", is_expired_certificate_blocked) - pulumi.set(__self__, "is_out_of_capacity_blocked", is_out_of_capacity_blocked) - pulumi.set(__self__, "is_revocation_status_timeout_blocked", is_revocation_status_timeout_blocked) - pulumi.set(__self__, "is_unknown_revocation_status_blocked", is_unknown_revocation_status_blocked) - pulumi.set(__self__, "is_unsupported_cipher_blocked", is_unsupported_cipher_blocked) - pulumi.set(__self__, "is_unsupported_version_blocked", is_unsupported_version_blocked) - pulumi.set(__self__, "is_untrusted_issuer_blocked", is_untrusted_issuer_blocked) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "type", type) + GetNetworkFirewallPolicyDecryptionProfileResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + are_certificate_extensions_restricted=are_certificate_extensions_restricted, + is_auto_include_alt_name=is_auto_include_alt_name, + is_expired_certificate_blocked=is_expired_certificate_blocked, + is_out_of_capacity_blocked=is_out_of_capacity_blocked, + is_revocation_status_timeout_blocked=is_revocation_status_timeout_blocked, + is_unknown_revocation_status_blocked=is_unknown_revocation_status_blocked, + is_unsupported_cipher_blocked=is_unsupported_cipher_blocked, + is_unsupported_version_blocked=is_unsupported_version_blocked, + is_untrusted_issuer_blocked=is_untrusted_issuer_blocked, + key=key, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + are_certificate_extensions_restricted: bool, + is_auto_include_alt_name: bool, + is_expired_certificate_blocked: bool, + is_out_of_capacity_blocked: bool, + is_revocation_status_timeout_blocked: bool, + is_unknown_revocation_status_blocked: bool, + is_unsupported_cipher_blocked: bool, + is_unsupported_version_blocked: bool, + is_untrusted_issuer_blocked: bool, + key: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("are_certificate_extensions_restricted", are_certificate_extensions_restricted) + _setter("is_auto_include_alt_name", is_auto_include_alt_name) + _setter("is_expired_certificate_blocked", is_expired_certificate_blocked) + _setter("is_out_of_capacity_blocked", is_out_of_capacity_blocked) + _setter("is_revocation_status_timeout_blocked", is_revocation_status_timeout_blocked) + _setter("is_unknown_revocation_status_blocked", is_unknown_revocation_status_blocked) + _setter("is_unsupported_cipher_blocked", is_unsupported_cipher_blocked) + _setter("is_unsupported_version_blocked", is_unsupported_version_blocked) + _setter("is_untrusted_issuer_blocked", is_untrusted_issuer_blocked) + _setter("key", key) + _setter("type", type) @property @pulumi.getter(name="areCertificateExtensionsRestricted") @@ -1777,11 +2225,28 @@ def __init__(__self__, *, :param str name: Name for the Security rule, must be unique within the policy. :param str secret: The name of a mapped secret. Its `type` must match that of the specified decryption profile. """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "conditions", conditions) - pulumi.set(__self__, "decryption_profile", decryption_profile) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "secret", secret) + GetNetworkFirewallPolicyDecryptionRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + conditions=conditions, + decryption_profile=decryption_profile, + name=name, + secret=secret, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: str, + conditions: Sequence['outputs.GetNetworkFirewallPolicyDecryptionRuleConditionResult'], + decryption_profile: str, + name: str, + secret: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("conditions", conditions) + _setter("decryption_profile", decryption_profile) + _setter("name", name) + _setter("secret", secret) @property @pulumi.getter @@ -1837,8 +2302,19 @@ def __init__(__self__, *, :param Sequence[str] destinations: An array of IP address list names to be evaluated against the traffic destination address. :param Sequence[str] sources: An array of IP address list names to be evaluated against the traffic source address. """ - pulumi.set(__self__, "destinations", destinations) - pulumi.set(__self__, "sources", sources) + GetNetworkFirewallPolicyDecryptionRuleConditionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + destinations=destinations, + sources=sources, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + destinations: Sequence[str], + sources: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("destinations", destinations) + _setter("sources", sources) @property @pulumi.getter @@ -1862,8 +2338,19 @@ class GetNetworkFirewallPolicyIpAddressListResult(dict): def __init__(__self__, *, ip_address_list_name: str, ip_address_list_values: Sequence[str]): - pulumi.set(__self__, "ip_address_list_name", ip_address_list_name) - pulumi.set(__self__, "ip_address_list_values", ip_address_list_values) + GetNetworkFirewallPolicyIpAddressListResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ip_address_list_name=ip_address_list_name, + ip_address_list_values=ip_address_list_values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ip_address_list_name: str, + ip_address_list_values: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ip_address_list_name", ip_address_list_name) + _setter("ip_address_list_values", ip_address_list_values) @property @pulumi.getter(name="ipAddressListName") @@ -1888,10 +2375,25 @@ def __init__(__self__, *, :param str vault_secret_id: OCID for the Vault Secret to be used. :param int version_number: Version number of the secret to be used. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "vault_secret_id", vault_secret_id) - pulumi.set(__self__, "version_number", version_number) + GetNetworkFirewallPolicyMappedSecretResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + type=type, + vault_secret_id=vault_secret_id, + version_number=version_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + type: str, + vault_secret_id: str, + version_number: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("type", type) + _setter("vault_secret_id", vault_secret_id) + _setter("version_number", version_number) @property @pulumi.getter @@ -1942,10 +2444,25 @@ def __init__(__self__, *, * INTRUSION_PREVENTION - Intrusion Detection and Prevention. Traffic classified as potentially malicious will be rejected as described in `type`. :param str name: Name for the Security rule, must be unique within the policy. """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "conditions", conditions) - pulumi.set(__self__, "inspection", inspection) - pulumi.set(__self__, "name", name) + GetNetworkFirewallPolicySecurityRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + conditions=conditions, + inspection=inspection, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: str, + conditions: Sequence['outputs.GetNetworkFirewallPolicySecurityRuleConditionResult'], + inspection: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("conditions", conditions) + _setter("inspection", inspection) + _setter("name", name) @property @pulumi.getter @@ -1999,10 +2516,25 @@ def __init__(__self__, *, :param Sequence[str] sources: An array of IP address list names to be evaluated against the traffic source address. :param Sequence[str] urls: An array of URL pattern list names to be evaluated against the HTTP(S) request target. """ - pulumi.set(__self__, "applications", applications) - pulumi.set(__self__, "destinations", destinations) - pulumi.set(__self__, "sources", sources) - pulumi.set(__self__, "urls", urls) + GetNetworkFirewallPolicySecurityRuleConditionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + applications=applications, + destinations=destinations, + sources=sources, + urls=urls, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + applications: Sequence[str], + destinations: Sequence[str], + sources: Sequence[str], + urls: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("applications", applications) + _setter("destinations", destinations) + _setter("sources", sources) + _setter("urls", urls) @property @pulumi.getter @@ -2042,8 +2574,19 @@ class GetNetworkFirewallPolicyUrlListResult(dict): def __init__(__self__, *, url_list_name: str, url_list_values: Sequence['outputs.GetNetworkFirewallPolicyUrlListUrlListValueResult']): - pulumi.set(__self__, "url_list_name", url_list_name) - pulumi.set(__self__, "url_list_values", url_list_values) + GetNetworkFirewallPolicyUrlListResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + url_list_name=url_list_name, + url_list_values=url_list_values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + url_list_name: str, + url_list_values: Sequence['outputs.GetNetworkFirewallPolicyUrlListUrlListValueResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("url_list_name", url_list_name) + _setter("url_list_values", url_list_values) @property @pulumi.getter(name="urlListName") @@ -2064,8 +2607,19 @@ def __init__(__self__, *, """ :param str type: Type of the secrets mapped based on the policy. """ - pulumi.set(__self__, "pattern", pattern) - pulumi.set(__self__, "type", type) + GetNetworkFirewallPolicyUrlListUrlListValueResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + pattern=pattern, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + pattern: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("pattern", pattern) + _setter("type", type) @property @pulumi.getter @@ -2087,10 +2641,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetNetworkFirewallsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2112,7 +2679,16 @@ def regex(self) -> Optional[bool]: class GetNetworkFirewallsNetworkFirewallCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetNetworkFirewallsNetworkFirewallCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetNetworkFirewallsNetworkFirewallCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetNetworkFirewallsNetworkFirewallCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -2157,22 +2733,61 @@ def __init__(__self__, *, :param str time_created: The time instant at which the Network Firewall was created in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` :param str time_updated: The time instant at which the Network Firewall was updated in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` """ - pulumi.set(__self__, "availability_domain", availability_domain) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "ipv4address", ipv4address) - pulumi.set(__self__, "ipv6address", ipv6address) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "network_firewall_policy_id", network_firewall_policy_id) - pulumi.set(__self__, "network_security_group_ids", network_security_group_ids) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetNetworkFirewallsNetworkFirewallCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domain=availability_domain, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + ipv4address=ipv4address, + ipv6address=ipv6address, + lifecycle_details=lifecycle_details, + network_firewall_policy_id=network_firewall_policy_id, + network_security_group_ids=network_security_group_ids, + state=state, + subnet_id=subnet_id, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domain: str, + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + ipv4address: str, + ipv6address: str, + lifecycle_details: str, + network_firewall_policy_id: str, + network_security_group_ids: Sequence[str], + state: str, + subnet_id: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domain", availability_domain) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("ipv4address", ipv4address) + _setter("ipv6address", ipv6address) + _setter("lifecycle_details", lifecycle_details) + _setter("network_firewall_policy_id", network_firewall_policy_id) + _setter("network_security_group_ids", network_security_group_ids) + _setter("state", state) + _setter("subnet_id", subnet_id) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="availabilityDomain") diff --git a/sdk/python/pulumi_oci/networkloadbalancer/_inputs.py b/sdk/python/pulumi_oci/networkloadbalancer/_inputs.py index 6f00107f58..015b817bf4 100644 --- a/sdk/python/pulumi_oci/networkloadbalancer/_inputs.py +++ b/sdk/python/pulumi_oci/networkloadbalancer/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -50,21 +50,44 @@ def __init__(__self__, *, :param pulumi.Input[str] target_id: The IP OCID/Instance OCID associated with the backend server. Example: `ocid1.privateip..oc1.<unique_ID>` :param pulumi.Input[int] weight: The network load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger proportion of incoming traffic. For example, a server weighted '3' receives three times the number of new connections as a server weighted '1'. For more information about load balancing policies, see [How Network Load Balancing Policies Work](https://docs.cloud.oracle.com/iaas/Content/Balance/Reference/lbpolicies.htm). Example: `3` """ - pulumi.set(__self__, "port", port) + BackendSetBackendArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + port=port, + ip_address=ip_address, + is_backup=is_backup, + is_drain=is_drain, + is_offline=is_offline, + name=name, + target_id=target_id, + weight=weight, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + port: pulumi.Input[int], + ip_address: Optional[pulumi.Input[str]] = None, + is_backup: Optional[pulumi.Input[bool]] = None, + is_drain: Optional[pulumi.Input[bool]] = None, + is_offline: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + target_id: Optional[pulumi.Input[str]] = None, + weight: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("port", port) if ip_address is not None: - pulumi.set(__self__, "ip_address", ip_address) + _setter("ip_address", ip_address) if is_backup is not None: - pulumi.set(__self__, "is_backup", is_backup) + _setter("is_backup", is_backup) if is_drain is not None: - pulumi.set(__self__, "is_drain", is_drain) + _setter("is_drain", is_drain) if is_offline is not None: - pulumi.set(__self__, "is_offline", is_offline) + _setter("is_offline", is_offline) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if target_id is not None: - pulumi.set(__self__, "target_id", target_id) + _setter("target_id", target_id) if weight is not None: - pulumi.set(__self__, "weight", weight) + _setter("weight", weight) @property @pulumi.getter @@ -192,25 +215,52 @@ def __init__(__self__, *, :param pulumi.Input[int] timeout_in_millis: (Updatable) The maximum time, in milliseconds, to wait for a reply to a health check. A health check is successful only if a reply returns within this timeout period. The default value is 3000 (3 seconds). Example: `3000` :param pulumi.Input[str] url_path: (Updatable) The path against which to run the health check. Example: `/healthcheck` """ - pulumi.set(__self__, "protocol", protocol) + BackendSetHealthCheckerArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + protocol=protocol, + interval_in_millis=interval_in_millis, + port=port, + request_data=request_data, + response_body_regex=response_body_regex, + response_data=response_data, + retries=retries, + return_code=return_code, + timeout_in_millis=timeout_in_millis, + url_path=url_path, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + protocol: pulumi.Input[str], + interval_in_millis: Optional[pulumi.Input[int]] = None, + port: Optional[pulumi.Input[int]] = None, + request_data: Optional[pulumi.Input[str]] = None, + response_body_regex: Optional[pulumi.Input[str]] = None, + response_data: Optional[pulumi.Input[str]] = None, + retries: Optional[pulumi.Input[int]] = None, + return_code: Optional[pulumi.Input[int]] = None, + timeout_in_millis: Optional[pulumi.Input[int]] = None, + url_path: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("protocol", protocol) if interval_in_millis is not None: - pulumi.set(__self__, "interval_in_millis", interval_in_millis) + _setter("interval_in_millis", interval_in_millis) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if request_data is not None: - pulumi.set(__self__, "request_data", request_data) + _setter("request_data", request_data) if response_body_regex is not None: - pulumi.set(__self__, "response_body_regex", response_body_regex) + _setter("response_body_regex", response_body_regex) if response_data is not None: - pulumi.set(__self__, "response_data", response_data) + _setter("response_data", response_data) if retries is not None: - pulumi.set(__self__, "retries", retries) + _setter("retries", retries) if return_code is not None: - pulumi.set(__self__, "return_code", return_code) + _setter("return_code", return_code) if timeout_in_millis is not None: - pulumi.set(__self__, "timeout_in_millis", timeout_in_millis) + _setter("timeout_in_millis", timeout_in_millis) if url_path is not None: - pulumi.set(__self__, "url_path", url_path) + _setter("url_path", url_path) @property @pulumi.getter @@ -346,14 +396,29 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_public: Whether the IP address is public or private. :param pulumi.Input[Sequence[pulumi.Input['NetworkLoadBalancerIpAddressReservedIpArgs']]] reserved_ips: An object representing a reserved IP address to be attached or that is already attached to a network load balancer. """ + NetworkLoadBalancerIpAddressArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + ip_address=ip_address, + ip_version=ip_version, + is_public=is_public, + reserved_ips=reserved_ips, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ip_address: Optional[pulumi.Input[str]] = None, + ip_version: Optional[pulumi.Input[str]] = None, + is_public: Optional[pulumi.Input[bool]] = None, + reserved_ips: Optional[pulumi.Input[Sequence[pulumi.Input['NetworkLoadBalancerIpAddressReservedIpArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ip_address is not None: - pulumi.set(__self__, "ip_address", ip_address) + _setter("ip_address", ip_address) if ip_version is not None: - pulumi.set(__self__, "ip_version", ip_version) + _setter("ip_version", ip_version) if is_public is not None: - pulumi.set(__self__, "is_public", is_public) + _setter("is_public", is_public) if reserved_ips is not None: - pulumi.set(__self__, "reserved_ips", reserved_ips) + _setter("reserved_ips", reserved_ips) @property @pulumi.getter(name="ipAddress") @@ -419,8 +484,17 @@ def __init__(__self__, *, Example: "ocid1.publicip.oc1.phx.unique_ID" """ + NetworkLoadBalancerIpAddressReservedIpArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) @property @pulumi.getter @@ -458,8 +532,17 @@ def __init__(__self__, *, Example: "ocid1.publicip.oc1.phx.unique_ID" """ + NetworkLoadBalancerReservedIpArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) @property @pulumi.getter @@ -507,21 +590,44 @@ def __init__(__self__, *, :param pulumi.Input[str] target_id: (Updatable) The IP OCID/Instance OCID associated with the backend server. Example: `ocid1.privateip..oc1.<unique_ID>` :param pulumi.Input[int] weight: (Updatable) The network load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger proportion of incoming traffic. For example, a server weighted '3' receives three times the number of new connections as a server weighted '1'. For more information about load balancing policies, see [How Network Load Balancing Policies Work](https://docs.cloud.oracle.com/iaas/Content/Balance/Reference/lbpolicies.htm). Example: `3` """ - pulumi.set(__self__, "port", port) + NetworkLoadBalancersBackendSetsUnifiedBackendArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + port=port, + ip_address=ip_address, + is_backup=is_backup, + is_drain=is_drain, + is_offline=is_offline, + name=name, + target_id=target_id, + weight=weight, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + port: pulumi.Input[int], + ip_address: Optional[pulumi.Input[str]] = None, + is_backup: Optional[pulumi.Input[bool]] = None, + is_drain: Optional[pulumi.Input[bool]] = None, + is_offline: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + target_id: Optional[pulumi.Input[str]] = None, + weight: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("port", port) if ip_address is not None: - pulumi.set(__self__, "ip_address", ip_address) + _setter("ip_address", ip_address) if is_backup is not None: - pulumi.set(__self__, "is_backup", is_backup) + _setter("is_backup", is_backup) if is_drain is not None: - pulumi.set(__self__, "is_drain", is_drain) + _setter("is_drain", is_drain) if is_offline is not None: - pulumi.set(__self__, "is_offline", is_offline) + _setter("is_offline", is_offline) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if target_id is not None: - pulumi.set(__self__, "target_id", target_id) + _setter("target_id", target_id) if weight is not None: - pulumi.set(__self__, "weight", weight) + _setter("weight", weight) @property @pulumi.getter @@ -649,25 +755,52 @@ def __init__(__self__, *, :param pulumi.Input[int] timeout_in_millis: (Updatable) The maximum time, in milliseconds, to wait for a reply to a health check. A health check is successful only if a reply returns within this timeout period. The default value is 3000 (3 seconds). Example: `3000` :param pulumi.Input[str] url_path: (Updatable) The path against which to run the health check. Example: `/healthcheck` """ - pulumi.set(__self__, "protocol", protocol) + NetworkLoadBalancersBackendSetsUnifiedHealthCheckerArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + protocol=protocol, + interval_in_millis=interval_in_millis, + port=port, + request_data=request_data, + response_body_regex=response_body_regex, + response_data=response_data, + retries=retries, + return_code=return_code, + timeout_in_millis=timeout_in_millis, + url_path=url_path, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + protocol: pulumi.Input[str], + interval_in_millis: Optional[pulumi.Input[int]] = None, + port: Optional[pulumi.Input[int]] = None, + request_data: Optional[pulumi.Input[str]] = None, + response_body_regex: Optional[pulumi.Input[str]] = None, + response_data: Optional[pulumi.Input[str]] = None, + retries: Optional[pulumi.Input[int]] = None, + return_code: Optional[pulumi.Input[int]] = None, + timeout_in_millis: Optional[pulumi.Input[int]] = None, + url_path: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("protocol", protocol) if interval_in_millis is not None: - pulumi.set(__self__, "interval_in_millis", interval_in_millis) + _setter("interval_in_millis", interval_in_millis) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if request_data is not None: - pulumi.set(__self__, "request_data", request_data) + _setter("request_data", request_data) if response_body_regex is not None: - pulumi.set(__self__, "response_body_regex", response_body_regex) + _setter("response_body_regex", response_body_regex) if response_data is not None: - pulumi.set(__self__, "response_data", response_data) + _setter("response_data", response_data) if retries is not None: - pulumi.set(__self__, "retries", retries) + _setter("retries", retries) if return_code is not None: - pulumi.set(__self__, "return_code", return_code) + _setter("return_code", return_code) if timeout_in_millis is not None: - pulumi.set(__self__, "timeout_in_millis", timeout_in_millis) + _setter("timeout_in_millis", timeout_in_millis) if url_path is not None: - pulumi.set(__self__, "url_path", url_path) + _setter("url_path", url_path) @property @pulumi.getter @@ -799,10 +932,23 @@ def __init__(__self__, *, """ :param str name: A user-friendly name for the backend set that must be unique and cannot be changed. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetBackendSetsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -844,10 +990,23 @@ def __init__(__self__, *, """ :param str name: A read-only field showing the IP address/IP OCID and port that uniquely identify this backend server in the backend set. Example: `10.0.0.3:8080`, or `ocid1.privateip..oc1.<unique_ID>:443` or `10.0.0.3:0` """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetBackendsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -889,10 +1048,23 @@ def __init__(__self__, *, """ :param str name: A friendly name for the listener. It must be unique and it cannot be changed. Example: `example_listener` """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetListenersFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -931,10 +1103,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetNetworkLoadBalancersFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -970,10 +1155,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetNetworkLoadBalancersPoliciesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1009,10 +1207,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetNetworkLoadBalancersProtocolsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/networkloadbalancer/backend.py b/sdk/python/pulumi_oci/networkloadbalancer/backend.py index ba04d372b7..8300d76b14 100644 --- a/sdk/python/pulumi_oci/networkloadbalancer/backend.py +++ b/sdk/python/pulumi_oci/networkloadbalancer/backend.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['BackendArgs', 'Backend'] @@ -41,23 +41,50 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "backend_set_name", backend_set_name) - pulumi.set(__self__, "network_load_balancer_id", network_load_balancer_id) - pulumi.set(__self__, "port", port) + BackendArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + backend_set_name=backend_set_name, + network_load_balancer_id=network_load_balancer_id, + port=port, + ip_address=ip_address, + is_backup=is_backup, + is_drain=is_drain, + is_offline=is_offline, + name=name, + target_id=target_id, + weight=weight, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backend_set_name: pulumi.Input[str], + network_load_balancer_id: pulumi.Input[str], + port: pulumi.Input[int], + ip_address: Optional[pulumi.Input[str]] = None, + is_backup: Optional[pulumi.Input[bool]] = None, + is_drain: Optional[pulumi.Input[bool]] = None, + is_offline: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + target_id: Optional[pulumi.Input[str]] = None, + weight: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("backend_set_name", backend_set_name) + _setter("network_load_balancer_id", network_load_balancer_id) + _setter("port", port) if ip_address is not None: - pulumi.set(__self__, "ip_address", ip_address) + _setter("ip_address", ip_address) if is_backup is not None: - pulumi.set(__self__, "is_backup", is_backup) + _setter("is_backup", is_backup) if is_drain is not None: - pulumi.set(__self__, "is_drain", is_drain) + _setter("is_drain", is_drain) if is_offline is not None: - pulumi.set(__self__, "is_offline", is_offline) + _setter("is_offline", is_offline) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if target_id is not None: - pulumi.set(__self__, "target_id", target_id) + _setter("target_id", target_id) if weight is not None: - pulumi.set(__self__, "weight", weight) + _setter("weight", weight) @property @pulumi.getter(name="backendSetName") @@ -214,26 +241,53 @@ def __init__(__self__, *, ** 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 """ + _BackendState._configure( + lambda key, value: pulumi.set(__self__, key, value), + backend_set_name=backend_set_name, + ip_address=ip_address, + is_backup=is_backup, + is_drain=is_drain, + is_offline=is_offline, + name=name, + network_load_balancer_id=network_load_balancer_id, + port=port, + target_id=target_id, + weight=weight, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backend_set_name: Optional[pulumi.Input[str]] = None, + ip_address: Optional[pulumi.Input[str]] = None, + is_backup: Optional[pulumi.Input[bool]] = None, + is_drain: Optional[pulumi.Input[bool]] = None, + is_offline: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + network_load_balancer_id: Optional[pulumi.Input[str]] = None, + port: Optional[pulumi.Input[int]] = None, + target_id: Optional[pulumi.Input[str]] = None, + weight: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if backend_set_name is not None: - pulumi.set(__self__, "backend_set_name", backend_set_name) + _setter("backend_set_name", backend_set_name) if ip_address is not None: - pulumi.set(__self__, "ip_address", ip_address) + _setter("ip_address", ip_address) if is_backup is not None: - pulumi.set(__self__, "is_backup", is_backup) + _setter("is_backup", is_backup) if is_drain is not None: - pulumi.set(__self__, "is_drain", is_drain) + _setter("is_drain", is_drain) if is_offline is not None: - pulumi.set(__self__, "is_offline", is_offline) + _setter("is_offline", is_offline) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if network_load_balancer_id is not None: - pulumi.set(__self__, "network_load_balancer_id", network_load_balancer_id) + _setter("network_load_balancer_id", network_load_balancer_id) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if target_id is not None: - pulumi.set(__self__, "target_id", target_id) + _setter("target_id", target_id) if weight is not None: - pulumi.set(__self__, "weight", weight) + _setter("weight", weight) @property @pulumi.getter(name="backendSetName") @@ -471,6 +525,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + BackendArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/networkloadbalancer/backend_set.py b/sdk/python/pulumi_oci/networkloadbalancer/backend_set.py index f5ccd291c7..c7de1cde22 100644 --- a/sdk/python/pulumi_oci/networkloadbalancer/backend_set.py +++ b/sdk/python/pulumi_oci/networkloadbalancer/backend_set.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -39,15 +39,34 @@ def __init__(__self__, *, Example: `example_backend_set` """ - pulumi.set(__self__, "health_checker", health_checker) - pulumi.set(__self__, "network_load_balancer_id", network_load_balancer_id) - pulumi.set(__self__, "policy", policy) + BackendSetArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + health_checker=health_checker, + network_load_balancer_id=network_load_balancer_id, + policy=policy, + ip_version=ip_version, + is_preserve_source=is_preserve_source, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + health_checker: pulumi.Input['BackendSetHealthCheckerArgs'], + network_load_balancer_id: pulumi.Input[str], + policy: pulumi.Input[str], + ip_version: Optional[pulumi.Input[str]] = None, + is_preserve_source: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("health_checker", health_checker) + _setter("network_load_balancer_id", network_load_balancer_id) + _setter("policy", policy) if ip_version is not None: - pulumi.set(__self__, "ip_version", ip_version) + _setter("ip_version", ip_version) if is_preserve_source is not None: - pulumi.set(__self__, "is_preserve_source", is_preserve_source) + _setter("is_preserve_source", is_preserve_source) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter(name="healthChecker") @@ -158,20 +177,41 @@ def __init__(__self__, *, ** 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 """ + _BackendSetState._configure( + lambda key, value: pulumi.set(__self__, key, value), + backends=backends, + health_checker=health_checker, + ip_version=ip_version, + is_preserve_source=is_preserve_source, + name=name, + network_load_balancer_id=network_load_balancer_id, + policy=policy, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backends: Optional[pulumi.Input[Sequence[pulumi.Input['BackendSetBackendArgs']]]] = None, + health_checker: Optional[pulumi.Input['BackendSetHealthCheckerArgs']] = None, + ip_version: Optional[pulumi.Input[str]] = None, + is_preserve_source: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + network_load_balancer_id: Optional[pulumi.Input[str]] = None, + policy: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if backends is not None: - pulumi.set(__self__, "backends", backends) + _setter("backends", backends) if health_checker is not None: - pulumi.set(__self__, "health_checker", health_checker) + _setter("health_checker", health_checker) if ip_version is not None: - pulumi.set(__self__, "ip_version", ip_version) + _setter("ip_version", ip_version) if is_preserve_source is not None: - pulumi.set(__self__, "is_preserve_source", is_preserve_source) + _setter("is_preserve_source", is_preserve_source) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if network_load_balancer_id is not None: - pulumi.set(__self__, "network_load_balancer_id", network_load_balancer_id) + _setter("network_load_balancer_id", network_load_balancer_id) if policy is not None: - pulumi.set(__self__, "policy", policy) + _setter("policy", policy) @property @pulumi.getter @@ -387,6 +427,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + BackendSetArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -407,6 +451,11 @@ def _internal_init(__self__, raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = BackendSetArgs.__new__(BackendSetArgs) + if health_checker is not None and not isinstance(health_checker, BackendSetHealthCheckerArgs): + health_checker = health_checker or {} + def _setter(key, value): + health_checker[key] = value + BackendSetHealthCheckerArgs._configure(_setter, **health_checker) if health_checker is None and not opts.urn: raise TypeError("Missing required property 'health_checker'") __props__.__dict__["health_checker"] = health_checker diff --git a/sdk/python/pulumi_oci/networkloadbalancer/get_backend_health.py b/sdk/python/pulumi_oci/networkloadbalancer/get_backend_health.py index 3d66ac45d9..8eeb905efd 100644 --- a/sdk/python/pulumi_oci/networkloadbalancer/get_backend_health.py +++ b/sdk/python/pulumi_oci/networkloadbalancer/get_backend_health.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/networkloadbalancer/get_backend_set.py b/sdk/python/pulumi_oci/networkloadbalancer/get_backend_set.py index e4d93c2b41..d5dbac72d4 100644 --- a/sdk/python/pulumi_oci/networkloadbalancer/get_backend_set.py +++ b/sdk/python/pulumi_oci/networkloadbalancer/get_backend_set.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/networkloadbalancer/get_backend_set_health.py b/sdk/python/pulumi_oci/networkloadbalancer/get_backend_set_health.py index fc256a183a..3ba295168f 100644 --- a/sdk/python/pulumi_oci/networkloadbalancer/get_backend_set_health.py +++ b/sdk/python/pulumi_oci/networkloadbalancer/get_backend_set_health.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/networkloadbalancer/get_backend_sets.py b/sdk/python/pulumi_oci/networkloadbalancer/get_backend_sets.py index 85b70e01b9..53763d2e23 100644 --- a/sdk/python/pulumi_oci/networkloadbalancer/get_backend_sets.py +++ b/sdk/python/pulumi_oci/networkloadbalancer/get_backend_sets.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/networkloadbalancer/get_backends.py b/sdk/python/pulumi_oci/networkloadbalancer/get_backends.py index 51ebf3c5dc..470fddc111 100644 --- a/sdk/python/pulumi_oci/networkloadbalancer/get_backends.py +++ b/sdk/python/pulumi_oci/networkloadbalancer/get_backends.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/networkloadbalancer/get_listener.py b/sdk/python/pulumi_oci/networkloadbalancer/get_listener.py index cd106175db..dde9afa2ff 100644 --- a/sdk/python/pulumi_oci/networkloadbalancer/get_listener.py +++ b/sdk/python/pulumi_oci/networkloadbalancer/get_listener.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/networkloadbalancer/get_listeners.py b/sdk/python/pulumi_oci/networkloadbalancer/get_listeners.py index bf98796fda..7d1db97174 100644 --- a/sdk/python/pulumi_oci/networkloadbalancer/get_listeners.py +++ b/sdk/python/pulumi_oci/networkloadbalancer/get_listeners.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/networkloadbalancer/get_network_load_balancer.py b/sdk/python/pulumi_oci/networkloadbalancer/get_network_load_balancer.py index a665f9dea1..35cba80c97 100644 --- a/sdk/python/pulumi_oci/networkloadbalancer/get_network_load_balancer.py +++ b/sdk/python/pulumi_oci/networkloadbalancer/get_network_load_balancer.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/networkloadbalancer/get_network_load_balancer_health.py b/sdk/python/pulumi_oci/networkloadbalancer/get_network_load_balancer_health.py index b3a2447fb4..f16bdf8ec4 100644 --- a/sdk/python/pulumi_oci/networkloadbalancer/get_network_load_balancer_health.py +++ b/sdk/python/pulumi_oci/networkloadbalancer/get_network_load_balancer_health.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/networkloadbalancer/get_network_load_balancers.py b/sdk/python/pulumi_oci/networkloadbalancer/get_network_load_balancers.py index 84bb20d788..fadc622965 100644 --- a/sdk/python/pulumi_oci/networkloadbalancer/get_network_load_balancers.py +++ b/sdk/python/pulumi_oci/networkloadbalancer/get_network_load_balancers.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/networkloadbalancer/get_network_load_balancers_policies.py b/sdk/python/pulumi_oci/networkloadbalancer/get_network_load_balancers_policies.py index 8a04fb0863..0109961af4 100644 --- a/sdk/python/pulumi_oci/networkloadbalancer/get_network_load_balancers_policies.py +++ b/sdk/python/pulumi_oci/networkloadbalancer/get_network_load_balancers_policies.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/networkloadbalancer/get_network_load_balancers_protocols.py b/sdk/python/pulumi_oci/networkloadbalancer/get_network_load_balancers_protocols.py index cc8a7941c4..c3a2c301b4 100644 --- a/sdk/python/pulumi_oci/networkloadbalancer/get_network_load_balancers_protocols.py +++ b/sdk/python/pulumi_oci/networkloadbalancer/get_network_load_balancers_protocols.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/networkloadbalancer/listener.py b/sdk/python/pulumi_oci/networkloadbalancer/listener.py index 090894e63f..b62c8b7dd2 100644 --- a/sdk/python/pulumi_oci/networkloadbalancer/listener.py +++ b/sdk/python/pulumi_oci/networkloadbalancer/listener.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['ListenerArgs', 'Listener'] @@ -33,14 +33,33 @@ def __init__(__self__, *, :param pulumi.Input[str] ip_version: (Updatable) IP version associated with the listener. :param pulumi.Input[str] name: A friendly name for the listener. It must be unique and it cannot be changed. Example: `example_listener` """ - pulumi.set(__self__, "default_backend_set_name", default_backend_set_name) - pulumi.set(__self__, "network_load_balancer_id", network_load_balancer_id) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "protocol", protocol) + ListenerArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + default_backend_set_name=default_backend_set_name, + network_load_balancer_id=network_load_balancer_id, + port=port, + protocol=protocol, + ip_version=ip_version, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + default_backend_set_name: pulumi.Input[str], + network_load_balancer_id: pulumi.Input[str], + port: pulumi.Input[int], + protocol: pulumi.Input[str], + ip_version: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("default_backend_set_name", default_backend_set_name) + _setter("network_load_balancer_id", network_load_balancer_id) + _setter("port", port) + _setter("protocol", protocol) if ip_version is not None: - pulumi.set(__self__, "ip_version", ip_version) + _setter("ip_version", ip_version) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter(name="defaultBackendSetName") @@ -141,18 +160,37 @@ def __init__(__self__, *, ** 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 """ + _ListenerState._configure( + lambda key, value: pulumi.set(__self__, key, value), + default_backend_set_name=default_backend_set_name, + ip_version=ip_version, + name=name, + network_load_balancer_id=network_load_balancer_id, + port=port, + protocol=protocol, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + default_backend_set_name: Optional[pulumi.Input[str]] = None, + ip_version: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + network_load_balancer_id: Optional[pulumi.Input[str]] = None, + port: Optional[pulumi.Input[int]] = None, + protocol: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if default_backend_set_name is not None: - pulumi.set(__self__, "default_backend_set_name", default_backend_set_name) + _setter("default_backend_set_name", default_backend_set_name) if ip_version is not None: - pulumi.set(__self__, "ip_version", ip_version) + _setter("ip_version", ip_version) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if network_load_balancer_id is not None: - pulumi.set(__self__, "network_load_balancer_id", network_load_balancer_id) + _setter("network_load_balancer_id", network_load_balancer_id) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if protocol is not None: - pulumi.set(__self__, "protocol", protocol) + _setter("protocol", protocol) @property @pulumi.getter(name="defaultBackendSetName") @@ -326,6 +364,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ListenerArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/networkloadbalancer/network_load_balancer.py b/sdk/python/pulumi_oci/networkloadbalancer/network_load_balancer.py index 3cb343dcc8..4ed8414442 100644 --- a/sdk/python/pulumi_oci/networkloadbalancer/network_load_balancer.py +++ b/sdk/python/pulumi_oci/networkloadbalancer/network_load_balancer.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -59,23 +59,50 @@ def __init__(__self__, *, :param pulumi.Input[str] nlb_ip_version: (Updatable) IP version associated with the NLB. :param pulumi.Input[Sequence[pulumi.Input['NetworkLoadBalancerReservedIpArgs']]] reserved_ips: An array of reserved Ips. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "subnet_id", subnet_id) + NetworkLoadBalancerArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + subnet_id=subnet_id, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + is_preserve_source_destination=is_preserve_source_destination, + is_private=is_private, + network_security_group_ids=network_security_group_ids, + nlb_ip_version=nlb_ip_version, + reserved_ips=reserved_ips, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + subnet_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_preserve_source_destination: Optional[pulumi.Input[bool]] = None, + is_private: Optional[pulumi.Input[bool]] = None, + network_security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + nlb_ip_version: Optional[pulumi.Input[str]] = None, + reserved_ips: Optional[pulumi.Input[Sequence[pulumi.Input['NetworkLoadBalancerReservedIpArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) + _setter("subnet_id", subnet_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_preserve_source_destination is not None: - pulumi.set(__self__, "is_preserve_source_destination", is_preserve_source_destination) + _setter("is_preserve_source_destination", is_preserve_source_destination) if is_private is not None: - pulumi.set(__self__, "is_private", is_private) + _setter("is_private", is_private) if network_security_group_ids is not None: - pulumi.set(__self__, "network_security_group_ids", network_security_group_ids) + _setter("network_security_group_ids", network_security_group_ids) if nlb_ip_version is not None: - pulumi.set(__self__, "nlb_ip_version", nlb_ip_version) + _setter("nlb_ip_version", nlb_ip_version) if reserved_ips is not None: - pulumi.set(__self__, "reserved_ips", reserved_ips) + _setter("reserved_ips", reserved_ips) @property @pulumi.getter(name="compartmentId") @@ -276,38 +303,77 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the network load balancer was created, in the format defined by RFC3339. Example: `2020-05-01T21:10:29.600Z` :param pulumi.Input[str] time_updated: The time the network load balancer was updated. An RFC3339 formatted date-time string. Example: `2020-05-01T22:10:29.600Z` """ + _NetworkLoadBalancerState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + ip_addresses=ip_addresses, + is_preserve_source_destination=is_preserve_source_destination, + is_private=is_private, + lifecycle_details=lifecycle_details, + network_security_group_ids=network_security_group_ids, + nlb_ip_version=nlb_ip_version, + reserved_ips=reserved_ips, + state=state, + subnet_id=subnet_id, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + ip_addresses: Optional[pulumi.Input[Sequence[pulumi.Input['NetworkLoadBalancerIpAddressArgs']]]] = None, + is_preserve_source_destination: Optional[pulumi.Input[bool]] = None, + is_private: Optional[pulumi.Input[bool]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + network_security_group_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + nlb_ip_version: Optional[pulumi.Input[str]] = None, + reserved_ips: Optional[pulumi.Input[Sequence[pulumi.Input['NetworkLoadBalancerReservedIpArgs']]]] = None, + state: Optional[pulumi.Input[str]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if ip_addresses is not None: - pulumi.set(__self__, "ip_addresses", ip_addresses) + _setter("ip_addresses", ip_addresses) if is_preserve_source_destination is not None: - pulumi.set(__self__, "is_preserve_source_destination", is_preserve_source_destination) + _setter("is_preserve_source_destination", is_preserve_source_destination) if is_private is not None: - pulumi.set(__self__, "is_private", is_private) + _setter("is_private", is_private) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if network_security_group_ids is not None: - pulumi.set(__self__, "network_security_group_ids", network_security_group_ids) + _setter("network_security_group_ids", network_security_group_ids) if nlb_ip_version is not None: - pulumi.set(__self__, "nlb_ip_version", nlb_ip_version) + _setter("nlb_ip_version", nlb_ip_version) if reserved_ips is not None: - pulumi.set(__self__, "reserved_ips", reserved_ips) + _setter("reserved_ips", reserved_ips) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -663,6 +729,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + NetworkLoadBalancerArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/networkloadbalancer/network_load_balancers_backend_sets_unified.py b/sdk/python/pulumi_oci/networkloadbalancer/network_load_balancers_backend_sets_unified.py index 0b8dc65703..f2b65a19c3 100644 --- a/sdk/python/pulumi_oci/networkloadbalancer/network_load_balancers_backend_sets_unified.py +++ b/sdk/python/pulumi_oci/networkloadbalancer/network_load_balancers_backend_sets_unified.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -41,17 +41,38 @@ def __init__(__self__, *, Example: `example_backend_set` """ - pulumi.set(__self__, "health_checker", health_checker) - pulumi.set(__self__, "network_load_balancer_id", network_load_balancer_id) - pulumi.set(__self__, "policy", policy) + NetworkLoadBalancersBackendSetsUnifiedArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + health_checker=health_checker, + network_load_balancer_id=network_load_balancer_id, + policy=policy, + backends=backends, + ip_version=ip_version, + is_preserve_source=is_preserve_source, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + health_checker: pulumi.Input['NetworkLoadBalancersBackendSetsUnifiedHealthCheckerArgs'], + network_load_balancer_id: pulumi.Input[str], + policy: pulumi.Input[str], + backends: Optional[pulumi.Input[Sequence[pulumi.Input['NetworkLoadBalancersBackendSetsUnifiedBackendArgs']]]] = None, + ip_version: Optional[pulumi.Input[str]] = None, + is_preserve_source: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("health_checker", health_checker) + _setter("network_load_balancer_id", network_load_balancer_id) + _setter("policy", policy) if backends is not None: - pulumi.set(__self__, "backends", backends) + _setter("backends", backends) if ip_version is not None: - pulumi.set(__self__, "ip_version", ip_version) + _setter("ip_version", ip_version) if is_preserve_source is not None: - pulumi.set(__self__, "is_preserve_source", is_preserve_source) + _setter("is_preserve_source", is_preserve_source) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter(name="healthChecker") @@ -174,20 +195,41 @@ def __init__(__self__, *, ** 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 """ + _NetworkLoadBalancersBackendSetsUnifiedState._configure( + lambda key, value: pulumi.set(__self__, key, value), + backends=backends, + health_checker=health_checker, + ip_version=ip_version, + is_preserve_source=is_preserve_source, + name=name, + network_load_balancer_id=network_load_balancer_id, + policy=policy, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backends: Optional[pulumi.Input[Sequence[pulumi.Input['NetworkLoadBalancersBackendSetsUnifiedBackendArgs']]]] = None, + health_checker: Optional[pulumi.Input['NetworkLoadBalancersBackendSetsUnifiedHealthCheckerArgs']] = None, + ip_version: Optional[pulumi.Input[str]] = None, + is_preserve_source: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + network_load_balancer_id: Optional[pulumi.Input[str]] = None, + policy: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if backends is not None: - pulumi.set(__self__, "backends", backends) + _setter("backends", backends) if health_checker is not None: - pulumi.set(__self__, "health_checker", health_checker) + _setter("health_checker", health_checker) if ip_version is not None: - pulumi.set(__self__, "ip_version", ip_version) + _setter("ip_version", ip_version) if is_preserve_source is not None: - pulumi.set(__self__, "is_preserve_source", is_preserve_source) + _setter("is_preserve_source", is_preserve_source) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if network_load_balancer_id is not None: - pulumi.set(__self__, "network_load_balancer_id", network_load_balancer_id) + _setter("network_load_balancer_id", network_load_balancer_id) if policy is not None: - pulumi.set(__self__, "policy", policy) + _setter("policy", policy) @property @pulumi.getter @@ -425,6 +467,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + NetworkLoadBalancersBackendSetsUnifiedArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -447,6 +493,11 @@ def _internal_init(__self__, __props__ = NetworkLoadBalancersBackendSetsUnifiedArgs.__new__(NetworkLoadBalancersBackendSetsUnifiedArgs) __props__.__dict__["backends"] = backends + if health_checker is not None and not isinstance(health_checker, NetworkLoadBalancersBackendSetsUnifiedHealthCheckerArgs): + health_checker = health_checker or {} + def _setter(key, value): + health_checker[key] = value + NetworkLoadBalancersBackendSetsUnifiedHealthCheckerArgs._configure(_setter, **health_checker) if health_checker is None and not opts.urn: raise TypeError("Missing required property 'health_checker'") __props__.__dict__["health_checker"] = health_checker diff --git a/sdk/python/pulumi_oci/networkloadbalancer/outputs.py b/sdk/python/pulumi_oci/networkloadbalancer/outputs.py index dfb4c3671c..99763e8b0a 100644 --- a/sdk/python/pulumi_oci/networkloadbalancer/outputs.py +++ b/sdk/python/pulumi_oci/networkloadbalancer/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -97,21 +97,44 @@ def __init__(__self__, *, :param str target_id: The IP OCID/Instance OCID associated with the backend server. Example: `ocid1.privateip..oc1.<unique_ID>` :param int weight: The network load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger proportion of incoming traffic. For example, a server weighted '3' receives three times the number of new connections as a server weighted '1'. For more information about load balancing policies, see [How Network Load Balancing Policies Work](https://docs.cloud.oracle.com/iaas/Content/Balance/Reference/lbpolicies.htm). Example: `3` """ - pulumi.set(__self__, "port", port) + BackendSetBackend._configure( + lambda key, value: pulumi.set(__self__, key, value), + port=port, + ip_address=ip_address, + is_backup=is_backup, + is_drain=is_drain, + is_offline=is_offline, + name=name, + target_id=target_id, + weight=weight, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + port: int, + ip_address: Optional[str] = None, + is_backup: Optional[bool] = None, + is_drain: Optional[bool] = None, + is_offline: Optional[bool] = None, + name: Optional[str] = None, + target_id: Optional[str] = None, + weight: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("port", port) if ip_address is not None: - pulumi.set(__self__, "ip_address", ip_address) + _setter("ip_address", ip_address) if is_backup is not None: - pulumi.set(__self__, "is_backup", is_backup) + _setter("is_backup", is_backup) if is_drain is not None: - pulumi.set(__self__, "is_drain", is_drain) + _setter("is_drain", is_drain) if is_offline is not None: - pulumi.set(__self__, "is_offline", is_offline) + _setter("is_offline", is_offline) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if target_id is not None: - pulumi.set(__self__, "target_id", target_id) + _setter("target_id", target_id) if weight is not None: - pulumi.set(__self__, "weight", weight) + _setter("weight", weight) @property @pulumi.getter @@ -236,25 +259,52 @@ def __init__(__self__, *, :param int timeout_in_millis: (Updatable) The maximum time, in milliseconds, to wait for a reply to a health check. A health check is successful only if a reply returns within this timeout period. The default value is 3000 (3 seconds). Example: `3000` :param str url_path: (Updatable) The path against which to run the health check. Example: `/healthcheck` """ - pulumi.set(__self__, "protocol", protocol) + BackendSetHealthChecker._configure( + lambda key, value: pulumi.set(__self__, key, value), + protocol=protocol, + interval_in_millis=interval_in_millis, + port=port, + request_data=request_data, + response_body_regex=response_body_regex, + response_data=response_data, + retries=retries, + return_code=return_code, + timeout_in_millis=timeout_in_millis, + url_path=url_path, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + protocol: str, + interval_in_millis: Optional[int] = None, + port: Optional[int] = None, + request_data: Optional[str] = None, + response_body_regex: Optional[str] = None, + response_data: Optional[str] = None, + retries: Optional[int] = None, + return_code: Optional[int] = None, + timeout_in_millis: Optional[int] = None, + url_path: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("protocol", protocol) if interval_in_millis is not None: - pulumi.set(__self__, "interval_in_millis", interval_in_millis) + _setter("interval_in_millis", interval_in_millis) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if request_data is not None: - pulumi.set(__self__, "request_data", request_data) + _setter("request_data", request_data) if response_body_regex is not None: - pulumi.set(__self__, "response_body_regex", response_body_regex) + _setter("response_body_regex", response_body_regex) if response_data is not None: - pulumi.set(__self__, "response_data", response_data) + _setter("response_data", response_data) if retries is not None: - pulumi.set(__self__, "retries", retries) + _setter("retries", retries) if return_code is not None: - pulumi.set(__self__, "return_code", return_code) + _setter("return_code", return_code) if timeout_in_millis is not None: - pulumi.set(__self__, "timeout_in_millis", timeout_in_millis) + _setter("timeout_in_millis", timeout_in_millis) if url_path is not None: - pulumi.set(__self__, "url_path", url_path) + _setter("url_path", url_path) @property @pulumi.getter @@ -373,14 +423,29 @@ def __init__(__self__, *, :param bool is_public: Whether the IP address is public or private. :param Sequence['NetworkLoadBalancerIpAddressReservedIpArgs'] reserved_ips: An object representing a reserved IP address to be attached or that is already attached to a network load balancer. """ + NetworkLoadBalancerIpAddress._configure( + lambda key, value: pulumi.set(__self__, key, value), + ip_address=ip_address, + ip_version=ip_version, + is_public=is_public, + reserved_ips=reserved_ips, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ip_address: Optional[str] = None, + ip_version: Optional[str] = None, + is_public: Optional[bool] = None, + reserved_ips: Optional[Sequence['outputs.NetworkLoadBalancerIpAddressReservedIp']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if ip_address is not None: - pulumi.set(__self__, "ip_address", ip_address) + _setter("ip_address", ip_address) if ip_version is not None: - pulumi.set(__self__, "ip_version", ip_version) + _setter("ip_version", ip_version) if is_public is not None: - pulumi.set(__self__, "is_public", is_public) + _setter("is_public", is_public) if reserved_ips is not None: - pulumi.set(__self__, "reserved_ips", reserved_ips) + _setter("reserved_ips", reserved_ips) @property @pulumi.getter(name="ipAddress") @@ -430,8 +495,17 @@ def __init__(__self__, *, Example: "ocid1.publicip.oc1.phx.unique_ID" """ + NetworkLoadBalancerIpAddressReservedIp._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) @property @pulumi.getter @@ -465,8 +539,17 @@ def __init__(__self__, *, Example: "ocid1.publicip.oc1.phx.unique_ID" """ + NetworkLoadBalancerReservedIp._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) @property @pulumi.getter @@ -535,21 +618,44 @@ def __init__(__self__, *, :param str target_id: (Updatable) The IP OCID/Instance OCID associated with the backend server. Example: `ocid1.privateip..oc1.<unique_ID>` :param int weight: (Updatable) The network load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger proportion of incoming traffic. For example, a server weighted '3' receives three times the number of new connections as a server weighted '1'. For more information about load balancing policies, see [How Network Load Balancing Policies Work](https://docs.cloud.oracle.com/iaas/Content/Balance/Reference/lbpolicies.htm). Example: `3` """ - pulumi.set(__self__, "port", port) + NetworkLoadBalancersBackendSetsUnifiedBackend._configure( + lambda key, value: pulumi.set(__self__, key, value), + port=port, + ip_address=ip_address, + is_backup=is_backup, + is_drain=is_drain, + is_offline=is_offline, + name=name, + target_id=target_id, + weight=weight, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + port: int, + ip_address: Optional[str] = None, + is_backup: Optional[bool] = None, + is_drain: Optional[bool] = None, + is_offline: Optional[bool] = None, + name: Optional[str] = None, + target_id: Optional[str] = None, + weight: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("port", port) if ip_address is not None: - pulumi.set(__self__, "ip_address", ip_address) + _setter("ip_address", ip_address) if is_backup is not None: - pulumi.set(__self__, "is_backup", is_backup) + _setter("is_backup", is_backup) if is_drain is not None: - pulumi.set(__self__, "is_drain", is_drain) + _setter("is_drain", is_drain) if is_offline is not None: - pulumi.set(__self__, "is_offline", is_offline) + _setter("is_offline", is_offline) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if target_id is not None: - pulumi.set(__self__, "target_id", target_id) + _setter("target_id", target_id) if weight is not None: - pulumi.set(__self__, "weight", weight) + _setter("weight", weight) @property @pulumi.getter @@ -674,25 +780,52 @@ def __init__(__self__, *, :param int timeout_in_millis: (Updatable) The maximum time, in milliseconds, to wait for a reply to a health check. A health check is successful only if a reply returns within this timeout period. The default value is 3000 (3 seconds). Example: `3000` :param str url_path: (Updatable) The path against which to run the health check. Example: `/healthcheck` """ - pulumi.set(__self__, "protocol", protocol) + NetworkLoadBalancersBackendSetsUnifiedHealthChecker._configure( + lambda key, value: pulumi.set(__self__, key, value), + protocol=protocol, + interval_in_millis=interval_in_millis, + port=port, + request_data=request_data, + response_body_regex=response_body_regex, + response_data=response_data, + retries=retries, + return_code=return_code, + timeout_in_millis=timeout_in_millis, + url_path=url_path, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + protocol: str, + interval_in_millis: Optional[int] = None, + port: Optional[int] = None, + request_data: Optional[str] = None, + response_body_regex: Optional[str] = None, + response_data: Optional[str] = None, + retries: Optional[int] = None, + return_code: Optional[int] = None, + timeout_in_millis: Optional[int] = None, + url_path: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("protocol", protocol) if interval_in_millis is not None: - pulumi.set(__self__, "interval_in_millis", interval_in_millis) + _setter("interval_in_millis", interval_in_millis) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if request_data is not None: - pulumi.set(__self__, "request_data", request_data) + _setter("request_data", request_data) if response_body_regex is not None: - pulumi.set(__self__, "response_body_regex", response_body_regex) + _setter("response_body_regex", response_body_regex) if response_data is not None: - pulumi.set(__self__, "response_data", response_data) + _setter("response_data", response_data) if retries is not None: - pulumi.set(__self__, "retries", retries) + _setter("retries", retries) if return_code is not None: - pulumi.set(__self__, "return_code", return_code) + _setter("return_code", return_code) if timeout_in_millis is not None: - pulumi.set(__self__, "timeout_in_millis", timeout_in_millis) + _setter("timeout_in_millis", timeout_in_millis) if url_path is not None: - pulumi.set(__self__, "url_path", url_path) + _setter("url_path", url_path) @property @pulumi.getter @@ -784,8 +917,19 @@ def __init__(__self__, *, :param str health_check_status: The result of the most recent health check. :param str timestamp: The date and time the data was retrieved, in the format defined by RFC3339. Example: `2020-05-01T18:28:11+00:00` """ - pulumi.set(__self__, "health_check_status", health_check_status) - pulumi.set(__self__, "timestamp", timestamp) + GetBackendHealthHealthCheckResultResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + health_check_status=health_check_status, + timestamp=timestamp, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + health_check_status: str, + timestamp: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("health_check_status", health_check_status) + _setter("timestamp", timestamp) @property @pulumi.getter(name="healthCheckStatus") @@ -825,14 +969,37 @@ def __init__(__self__, *, :param str target_id: The IP OCID/Instance OCID associated with the backend server. Example: `ocid1.privateip..oc1.<unique_ID>` :param int weight: The network load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger proportion of incoming traffic. For example, a server weighted '3' receives three times the number of new connections as a server weighted '1'. For more information about load balancing policies, see [How Network Load Balancing Policies Work](https://docs.cloud.oracle.com/iaas/Content/Balance/Reference/lbpolicies.htm). Example: `3` """ - pulumi.set(__self__, "ip_address", ip_address) - pulumi.set(__self__, "is_backup", is_backup) - pulumi.set(__self__, "is_drain", is_drain) - pulumi.set(__self__, "is_offline", is_offline) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "target_id", target_id) - pulumi.set(__self__, "weight", weight) + GetBackendSetBackendResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ip_address=ip_address, + is_backup=is_backup, + is_drain=is_drain, + is_offline=is_offline, + name=name, + port=port, + target_id=target_id, + weight=weight, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ip_address: str, + is_backup: bool, + is_drain: bool, + is_offline: bool, + name: str, + port: int, + target_id: str, + weight: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ip_address", ip_address) + _setter("is_backup", is_backup) + _setter("is_drain", is_drain) + _setter("is_offline", is_offline) + _setter("name", name) + _setter("port", port) + _setter("target_id", target_id) + _setter("weight", weight) @property @pulumi.getter(name="ipAddress") @@ -924,16 +1091,43 @@ def __init__(__self__, *, :param int timeout_in_millis: The maximum time, in milliseconds, to wait for a reply to a health check. A health check is successful only if a reply returns within this timeout period. The default value is 3000 (3 seconds). Example: `3000` :param str url_path: The path against which to run the health check. Example: `/healthcheck` """ - pulumi.set(__self__, "interval_in_millis", interval_in_millis) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "request_data", request_data) - pulumi.set(__self__, "response_body_regex", response_body_regex) - pulumi.set(__self__, "response_data", response_data) - pulumi.set(__self__, "retries", retries) - pulumi.set(__self__, "return_code", return_code) - pulumi.set(__self__, "timeout_in_millis", timeout_in_millis) - pulumi.set(__self__, "url_path", url_path) + GetBackendSetHealthCheckerResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + interval_in_millis=interval_in_millis, + port=port, + protocol=protocol, + request_data=request_data, + response_body_regex=response_body_regex, + response_data=response_data, + retries=retries, + return_code=return_code, + timeout_in_millis=timeout_in_millis, + url_path=url_path, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + interval_in_millis: int, + port: int, + protocol: str, + request_data: str, + response_body_regex: str, + response_data: str, + retries: int, + return_code: int, + timeout_in_millis: int, + url_path: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("interval_in_millis", interval_in_millis) + _setter("port", port) + _setter("protocol", protocol) + _setter("request_data", request_data) + _setter("response_body_regex", response_body_regex) + _setter("response_data", response_data) + _setter("retries", retries) + _setter("return_code", return_code) + _setter("timeout_in_millis", timeout_in_millis) + _setter("url_path", url_path) @property @pulumi.getter(name="intervalInMillis") @@ -1020,7 +1214,16 @@ def url_path(self) -> str: class GetBackendSetsBackendSetCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetBackendSetsBackendSetCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetBackendSetsBackendSetCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetBackendSetsBackendSetCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1048,14 +1251,37 @@ def __init__(__self__, *, :param str network_load_balancer_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network load balancer to update. :param str policy: The network load balancer policy for the backend set. Example: `FIVE_TUPLE` """ - pulumi.set(__self__, "backends", backends) - pulumi.set(__self__, "health_checkers", health_checkers) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "ip_version", ip_version) - pulumi.set(__self__, "is_preserve_source", is_preserve_source) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "network_load_balancer_id", network_load_balancer_id) - pulumi.set(__self__, "policy", policy) + GetBackendSetsBackendSetCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + backends=backends, + health_checkers=health_checkers, + id=id, + ip_version=ip_version, + is_preserve_source=is_preserve_source, + name=name, + network_load_balancer_id=network_load_balancer_id, + policy=policy, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backends: Sequence['outputs.GetBackendSetsBackendSetCollectionItemBackendResult'], + health_checkers: Sequence['outputs.GetBackendSetsBackendSetCollectionItemHealthCheckerResult'], + id: str, + ip_version: str, + is_preserve_source: bool, + name: str, + network_load_balancer_id: str, + policy: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("backends", backends) + _setter("health_checkers", health_checkers) + _setter("id", id) + _setter("ip_version", ip_version) + _setter("is_preserve_source", is_preserve_source) + _setter("name", name) + _setter("network_load_balancer_id", network_load_balancer_id) + _setter("policy", policy) @property @pulumi.getter @@ -1140,14 +1366,37 @@ def __init__(__self__, *, :param str target_id: The IP OCID/Instance OCID associated with the backend server. Example: `ocid1.privateip..oc1.<unique_ID>` :param int weight: The network load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger proportion of incoming traffic. For example, a server weighted '3' receives three times the number of new connections as a server weighted '1'. For more information about load balancing policies, see [How Network Load Balancing Policies Work](https://docs.cloud.oracle.com/iaas/Content/Balance/Reference/lbpolicies.htm). Example: `3` """ - pulumi.set(__self__, "ip_address", ip_address) - pulumi.set(__self__, "is_backup", is_backup) - pulumi.set(__self__, "is_drain", is_drain) - pulumi.set(__self__, "is_offline", is_offline) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "target_id", target_id) - pulumi.set(__self__, "weight", weight) + GetBackendSetsBackendSetCollectionItemBackendResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ip_address=ip_address, + is_backup=is_backup, + is_drain=is_drain, + is_offline=is_offline, + name=name, + port=port, + target_id=target_id, + weight=weight, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ip_address: str, + is_backup: bool, + is_drain: bool, + is_offline: bool, + name: str, + port: int, + target_id: str, + weight: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ip_address", ip_address) + _setter("is_backup", is_backup) + _setter("is_drain", is_drain) + _setter("is_offline", is_offline) + _setter("name", name) + _setter("port", port) + _setter("target_id", target_id) + _setter("weight", weight) @property @pulumi.getter(name="ipAddress") @@ -1239,16 +1488,43 @@ def __init__(__self__, *, :param int timeout_in_millis: The maximum time, in milliseconds, to wait for a reply to a health check. A health check is successful only if a reply returns within this timeout period. The default value is 3000 (3 seconds). Example: `3000` :param str url_path: The path against which to run the health check. Example: `/healthcheck` """ - pulumi.set(__self__, "interval_in_millis", interval_in_millis) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "request_data", request_data) - pulumi.set(__self__, "response_body_regex", response_body_regex) - pulumi.set(__self__, "response_data", response_data) - pulumi.set(__self__, "retries", retries) - pulumi.set(__self__, "return_code", return_code) - pulumi.set(__self__, "timeout_in_millis", timeout_in_millis) - pulumi.set(__self__, "url_path", url_path) + GetBackendSetsBackendSetCollectionItemHealthCheckerResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + interval_in_millis=interval_in_millis, + port=port, + protocol=protocol, + request_data=request_data, + response_body_regex=response_body_regex, + response_data=response_data, + retries=retries, + return_code=return_code, + timeout_in_millis=timeout_in_millis, + url_path=url_path, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + interval_in_millis: int, + port: int, + protocol: str, + request_data: str, + response_body_regex: str, + response_data: str, + retries: int, + return_code: int, + timeout_in_millis: int, + url_path: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("interval_in_millis", interval_in_millis) + _setter("port", port) + _setter("protocol", protocol) + _setter("request_data", request_data) + _setter("response_body_regex", response_body_regex) + _setter("response_data", response_data) + _setter("retries", retries) + _setter("return_code", return_code) + _setter("timeout_in_millis", timeout_in_millis) + _setter("url_path", url_path) @property @pulumi.getter(name="intervalInMillis") @@ -1340,10 +1616,23 @@ def __init__(__self__, *, """ :param str name: A user-friendly name for the backend set that must be unique and cannot be changed. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetBackendSetsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1368,7 +1657,16 @@ def regex(self) -> Optional[bool]: class GetBackendsBackendCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetBackendsBackendCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetBackendsBackendCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetBackendsBackendCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1402,17 +1700,46 @@ def __init__(__self__, *, :param str target_id: The IP OCID/Instance OCID associated with the backend server. Example: `ocid1.privateip..oc1.<unique_ID>` :param int weight: The network load balancing policy weight assigned to the server. Backend servers with a higher weight receive a larger proportion of incoming traffic. For example, a server weighted '3' receives three times the number of new connections as a server weighted '1'. For more information about load balancing policies, see [How Network Load Balancing Policies Work](https://docs.cloud.oracle.com/iaas/Content/Balance/Reference/lbpolicies.htm). Example: `3` """ - pulumi.set(__self__, "backend_set_name", backend_set_name) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "ip_address", ip_address) - pulumi.set(__self__, "is_backup", is_backup) - pulumi.set(__self__, "is_drain", is_drain) - pulumi.set(__self__, "is_offline", is_offline) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "network_load_balancer_id", network_load_balancer_id) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "target_id", target_id) - pulumi.set(__self__, "weight", weight) + GetBackendsBackendCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + backend_set_name=backend_set_name, + id=id, + ip_address=ip_address, + is_backup=is_backup, + is_drain=is_drain, + is_offline=is_offline, + name=name, + network_load_balancer_id=network_load_balancer_id, + port=port, + target_id=target_id, + weight=weight, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backend_set_name: str, + id: str, + ip_address: str, + is_backup: bool, + is_drain: bool, + is_offline: bool, + name: str, + network_load_balancer_id: str, + port: int, + target_id: str, + weight: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("backend_set_name", backend_set_name) + _setter("id", id) + _setter("ip_address", ip_address) + _setter("is_backup", is_backup) + _setter("is_drain", is_drain) + _setter("is_offline", is_offline) + _setter("name", name) + _setter("network_load_balancer_id", network_load_balancer_id) + _setter("port", port) + _setter("target_id", target_id) + _setter("weight", weight) @property @pulumi.getter(name="backendSetName") @@ -1509,10 +1836,23 @@ def __init__(__self__, *, """ :param str name: A read-only field showing the IP address/IP OCID and port that uniquely identify this backend server in the backend set. Example: `10.0.0.3:8080`, or `ocid1.privateip..oc1.<unique_ID>:443` or `10.0.0.3:0` """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetBackendsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1542,10 +1882,23 @@ def __init__(__self__, *, """ :param str name: A friendly name for the listener. It must be unique and it cannot be changed. Example: `example_listener` """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetListenersFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1570,7 +1923,16 @@ def regex(self) -> Optional[bool]: class GetListenersListenerCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetListenersListenerCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetListenersListenerCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetListenersListenerCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1596,13 +1958,34 @@ def __init__(__self__, *, :param int port: The communication port for the listener. Example: `80` :param str protocol: The protocol on which the listener accepts connection requests. For public network load balancers, ANY protocol refers to TCP/UDP. For private network load balancers, ANY protocol refers to TCP/UDP/ICMP (note that ICMP requires isPreserveSourceDestination to be set to true). To get a list of valid protocols, use the [ListNetworkLoadBalancersProtocols](https://docs.cloud.oracle.com/iaas/api/#/en/NetworkLoadBalancer/20200501/networkLoadBalancerProtocol/ListNetworkLoadBalancersProtocols) operation. Example: `TCP` """ - pulumi.set(__self__, "default_backend_set_name", default_backend_set_name) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "ip_version", ip_version) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "network_load_balancer_id", network_load_balancer_id) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "protocol", protocol) + GetListenersListenerCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + default_backend_set_name=default_backend_set_name, + id=id, + ip_version=ip_version, + name=name, + network_load_balancer_id=network_load_balancer_id, + port=port, + protocol=protocol, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + default_backend_set_name: str, + id: str, + ip_version: str, + name: str, + network_load_balancer_id: str, + port: int, + protocol: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("default_backend_set_name", default_backend_set_name) + _setter("id", id) + _setter("ip_version", ip_version) + _setter("name", name) + _setter("network_load_balancer_id", network_load_balancer_id) + _setter("port", port) + _setter("protocol", protocol) @property @pulumi.getter(name="defaultBackendSetName") @@ -1671,10 +2054,25 @@ def __init__(__self__, *, :param bool is_public: Whether the IP address is public or private. :param Sequence['GetNetworkLoadBalancerIpAddressReservedIpArgs'] reserved_ips: An object representing a reserved IP address to be attached or that is already attached to a network load balancer. """ - pulumi.set(__self__, "ip_address", ip_address) - pulumi.set(__self__, "ip_version", ip_version) - pulumi.set(__self__, "is_public", is_public) - pulumi.set(__self__, "reserved_ips", reserved_ips) + GetNetworkLoadBalancerIpAddressResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ip_address=ip_address, + ip_version=ip_version, + is_public=is_public, + reserved_ips=reserved_ips, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ip_address: str, + ip_version: str, + is_public: bool, + reserved_ips: Sequence['outputs.GetNetworkLoadBalancerIpAddressReservedIpResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ip_address", ip_address) + _setter("ip_version", ip_version) + _setter("is_public", is_public) + _setter("reserved_ips", reserved_ips) @property @pulumi.getter(name="ipAddress") @@ -1716,7 +2114,16 @@ def __init__(__self__, *, """ :param str id: OCID of the reserved public IP address created with the virtual cloud network. """ - pulumi.set(__self__, "id", id) + GetNetworkLoadBalancerIpAddressReservedIpResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) @property @pulumi.getter @@ -1734,7 +2141,16 @@ def __init__(__self__, *, """ :param str id: OCID of the reserved public IP address created with the virtual cloud network. """ - pulumi.set(__self__, "id", id) + GetNetworkLoadBalancerReservedIpResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) @property @pulumi.getter @@ -1751,10 +2167,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetNetworkLoadBalancersFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1776,7 +2205,16 @@ def regex(self) -> Optional[bool]: class GetNetworkLoadBalancersNetworkLoadBalancerCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetNetworkLoadBalancersNetworkLoadBalancerCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetNetworkLoadBalancersNetworkLoadBalancerCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetNetworkLoadBalancersNetworkLoadBalancerCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1822,23 +2260,64 @@ def __init__(__self__, *, :param str time_created: The date and time the network load balancer was created, in the format defined by RFC3339. Example: `2020-05-01T21:10:29.600Z` :param str time_updated: The time the network load balancer was updated. An RFC3339 formatted date-time string. Example: `2020-05-01T22:10:29.600Z` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "ip_addresses", ip_addresses) - pulumi.set(__self__, "is_preserve_source_destination", is_preserve_source_destination) - pulumi.set(__self__, "is_private", is_private) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "network_security_group_ids", network_security_group_ids) - pulumi.set(__self__, "nlb_ip_version", nlb_ip_version) - pulumi.set(__self__, "reserved_ips", reserved_ips) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetNetworkLoadBalancersNetworkLoadBalancerCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + ip_addresses=ip_addresses, + is_preserve_source_destination=is_preserve_source_destination, + is_private=is_private, + lifecycle_details=lifecycle_details, + network_security_group_ids=network_security_group_ids, + nlb_ip_version=nlb_ip_version, + reserved_ips=reserved_ips, + state=state, + subnet_id=subnet_id, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + ip_addresses: Sequence['outputs.GetNetworkLoadBalancersNetworkLoadBalancerCollectionItemIpAddressResult'], + is_preserve_source_destination: bool, + is_private: bool, + lifecycle_details: str, + network_security_group_ids: Sequence[str], + nlb_ip_version: str, + reserved_ips: Sequence['outputs.GetNetworkLoadBalancersNetworkLoadBalancerCollectionItemReservedIpResult'], + state: str, + subnet_id: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("ip_addresses", ip_addresses) + _setter("is_preserve_source_destination", is_preserve_source_destination) + _setter("is_private", is_private) + _setter("lifecycle_details", lifecycle_details) + _setter("network_security_group_ids", network_security_group_ids) + _setter("nlb_ip_version", nlb_ip_version) + _setter("reserved_ips", reserved_ips) + _setter("state", state) + _setter("subnet_id", subnet_id) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -1988,10 +2467,25 @@ def __init__(__self__, *, If "true", then the IP address is public and accessible from the internet. :param Sequence['GetNetworkLoadBalancersNetworkLoadBalancerCollectionItemIpAddressReservedIpArgs'] reserved_ips: An object representing a reserved IP address to be attached or that is already attached to a network load balancer. """ - pulumi.set(__self__, "ip_address", ip_address) - pulumi.set(__self__, "ip_version", ip_version) - pulumi.set(__self__, "is_public", is_public) - pulumi.set(__self__, "reserved_ips", reserved_ips) + GetNetworkLoadBalancersNetworkLoadBalancerCollectionItemIpAddressResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ip_address=ip_address, + ip_version=ip_version, + is_public=is_public, + reserved_ips=reserved_ips, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ip_address: str, + ip_version: str, + is_public: bool, + reserved_ips: Sequence['outputs.GetNetworkLoadBalancersNetworkLoadBalancerCollectionItemIpAddressReservedIpResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ip_address", ip_address) + _setter("ip_version", ip_version) + _setter("is_public", is_public) + _setter("reserved_ips", reserved_ips) @property @pulumi.getter(name="ipAddress") @@ -2034,7 +2528,16 @@ def __init__(__self__, *, """ :param str id: OCID of the reserved public IP address created with the virtual cloud network. """ - pulumi.set(__self__, "id", id) + GetNetworkLoadBalancersNetworkLoadBalancerCollectionItemIpAddressReservedIpResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) @property @pulumi.getter @@ -2052,7 +2555,16 @@ def __init__(__self__, *, """ :param str id: OCID of the reserved public IP address created with the virtual cloud network. """ - pulumi.set(__self__, "id", id) + GetNetworkLoadBalancersNetworkLoadBalancerCollectionItemReservedIpResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) @property @pulumi.getter @@ -2069,10 +2581,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetNetworkLoadBalancersPoliciesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2097,7 +2622,16 @@ def __init__(__self__, *, """ :param Sequence[str] items: Array of NetworkLoadBalancersPolicySummary objects. """ - pulumi.set(__self__, "items", items) + GetNetworkLoadBalancersPoliciesNetworkLoadBalancersPolicyCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -2114,10 +2648,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetNetworkLoadBalancersProtocolsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2142,7 +2689,16 @@ def __init__(__self__, *, """ :param Sequence[str] items: Array of NetworkLoadBalancersProtocolSummary objects. """ - pulumi.set(__self__, "items", items) + GetNetworkLoadBalancersProtocolsNetworkLoadBalancersProtocolCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/nosql/_inputs.py b/sdk/python/pulumi_oci/nosql/_inputs.py index 48323be606..2c94e8d826 100644 --- a/sdk/python/pulumi_oci/nosql/_inputs.py +++ b/sdk/python/pulumi_oci/nosql/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -30,11 +30,24 @@ def __init__(__self__, *, :param pulumi.Input[str] json_field_type: If the specified column is of type JSON, jsonFieldType contains the type of the field indicated by jsonPath. :param pulumi.Input[str] json_path: If the specified column is of type JSON, jsonPath contains a dotted path indicating the field within the JSON object that will be the index key. """ - pulumi.set(__self__, "column_name", column_name) + IndexKeyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + column_name=column_name, + json_field_type=json_field_type, + json_path=json_path, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + column_name: pulumi.Input[str], + json_field_type: Optional[pulumi.Input[str]] = None, + json_path: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("column_name", column_name) if json_field_type is not None: - pulumi.set(__self__, "json_field_type", json_field_type) + _setter("json_field_type", json_field_type) if json_path is not None: - pulumi.set(__self__, "json_path", json_path) + _setter("json_path", json_path) @property @pulumi.getter(name="columnName") @@ -88,16 +101,33 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] shard_keys: A list of column names that make up a key. :param pulumi.Input[int] ttl: The default Time-to-Live for the table, in days. """ + TableSchemaArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + columns=columns, + identities=identities, + primary_keys=primary_keys, + shard_keys=shard_keys, + ttl=ttl, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + columns: Optional[pulumi.Input[Sequence[pulumi.Input['TableSchemaColumnArgs']]]] = None, + identities: Optional[pulumi.Input[Sequence[pulumi.Input['TableSchemaIdentityArgs']]]] = None, + primary_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + shard_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + ttl: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if columns is not None: - pulumi.set(__self__, "columns", columns) + _setter("columns", columns) if identities is not None: - pulumi.set(__self__, "identities", identities) + _setter("identities", identities) if primary_keys is not None: - pulumi.set(__self__, "primary_keys", primary_keys) + _setter("primary_keys", primary_keys) if shard_keys is not None: - pulumi.set(__self__, "shard_keys", shard_keys) + _setter("shard_keys", shard_keys) if ttl is not None: - pulumi.set(__self__, "ttl", ttl) + _setter("ttl", ttl) @property @pulumi.getter @@ -177,18 +207,37 @@ def __init__(__self__, *, :param pulumi.Input[str] name: Table name. :param pulumi.Input[str] type: The column type. """ + TableSchemaColumnArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + default_value=default_value, + is_as_uuid=is_as_uuid, + is_generated=is_generated, + is_nullable=is_nullable, + name=name, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + default_value: Optional[pulumi.Input[str]] = None, + is_as_uuid: Optional[pulumi.Input[bool]] = None, + is_generated: Optional[pulumi.Input[bool]] = None, + is_nullable: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if default_value is not None: - pulumi.set(__self__, "default_value", default_value) + _setter("default_value", default_value) if is_as_uuid is not None: - pulumi.set(__self__, "is_as_uuid", is_as_uuid) + _setter("is_as_uuid", is_as_uuid) if is_generated is not None: - pulumi.set(__self__, "is_generated", is_generated) + _setter("is_generated", is_generated) if is_nullable is not None: - pulumi.set(__self__, "is_nullable", is_nullable) + _setter("is_nullable", is_nullable) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter(name="defaultValue") @@ -274,12 +323,25 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_always: True if the identity value is GENERATED ALWAYS. :param pulumi.Input[bool] is_null: True if the identity value is GENERATED BY DEFAULT ON NULL. """ + TableSchemaIdentityArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + column_name=column_name, + is_always=is_always, + is_null=is_null, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + column_name: Optional[pulumi.Input[str]] = None, + is_always: Optional[pulumi.Input[bool]] = None, + is_null: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if column_name is not None: - pulumi.set(__self__, "column_name", column_name) + _setter("column_name", column_name) if is_always is not None: - pulumi.set(__self__, "is_always", is_always) + _setter("is_always", is_always) if is_null is not None: - pulumi.set(__self__, "is_null", is_null) + _setter("is_null", is_null) @property @pulumi.getter(name="columnName") @@ -335,11 +397,26 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] capacity_mode: (Updatable) The capacity mode of the table. If capacityMode = ON_DEMAND, maxReadUnits and maxWriteUnits are not used, and both will have the value of zero. """ - pulumi.set(__self__, "max_read_units", max_read_units) - pulumi.set(__self__, "max_storage_in_gbs", max_storage_in_gbs) - pulumi.set(__self__, "max_write_units", max_write_units) + TableTableLimitsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + max_read_units=max_read_units, + max_storage_in_gbs=max_storage_in_gbs, + max_write_units=max_write_units, + capacity_mode=capacity_mode, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max_read_units: pulumi.Input[int], + max_storage_in_gbs: pulumi.Input[int], + max_write_units: pulumi.Input[int], + capacity_mode: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max_read_units", max_read_units) + _setter("max_storage_in_gbs", max_storage_in_gbs) + _setter("max_write_units", max_write_units) if capacity_mode is not None: - pulumi.set(__self__, "capacity_mode", capacity_mode) + _setter("capacity_mode", capacity_mode) @property @pulumi.getter(name="maxReadUnits") @@ -403,10 +480,23 @@ def __init__(__self__, *, """ :param str name: A shell-globbing-style (*?[]) filter for names. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetIndexesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -448,10 +538,23 @@ def __init__(__self__, *, """ :param str name: A shell-globbing-style (*?[]) filter for names. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetTablesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/nosql/get_index.py b/sdk/python/pulumi_oci/nosql/get_index.py index 30b82cd6e5..12a47d27bf 100644 --- a/sdk/python/pulumi_oci/nosql/get_index.py +++ b/sdk/python/pulumi_oci/nosql/get_index.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/nosql/get_indexes.py b/sdk/python/pulumi_oci/nosql/get_indexes.py index 477848e60f..b58ac3299c 100644 --- a/sdk/python/pulumi_oci/nosql/get_indexes.py +++ b/sdk/python/pulumi_oci/nosql/get_indexes.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/nosql/get_table.py b/sdk/python/pulumi_oci/nosql/get_table.py index 9a6cd58b60..01acb0d411 100644 --- a/sdk/python/pulumi_oci/nosql/get_table.py +++ b/sdk/python/pulumi_oci/nosql/get_table.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/nosql/get_tables.py b/sdk/python/pulumi_oci/nosql/get_tables.py index c64a06cc7e..70cbcc591c 100644 --- a/sdk/python/pulumi_oci/nosql/get_tables.py +++ b/sdk/python/pulumi_oci/nosql/get_tables.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/nosql/index.py b/sdk/python/pulumi_oci/nosql/index.py index b70cd43ff0..e906ba3188 100644 --- a/sdk/python/pulumi_oci/nosql/index.py +++ b/sdk/python/pulumi_oci/nosql/index.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -33,14 +33,31 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_if_not_exists: If true, the operation completes successfully even when the index exists. Otherwise, an attempt to create an index that already exists will return an error. :param pulumi.Input[str] name: Index name. """ - pulumi.set(__self__, "keys", keys) - pulumi.set(__self__, "table_name_or_id", table_name_or_id) + IndexArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + keys=keys, + table_name_or_id=table_name_or_id, + compartment_id=compartment_id, + is_if_not_exists=is_if_not_exists, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + keys: pulumi.Input[Sequence[pulumi.Input['IndexKeyArgs']]], + table_name_or_id: pulumi.Input[str], + compartment_id: Optional[pulumi.Input[str]] = None, + is_if_not_exists: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("keys", keys) + _setter("table_name_or_id", table_name_or_id) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if is_if_not_exists is not None: - pulumi.set(__self__, "is_if_not_exists", is_if_not_exists) + _setter("is_if_not_exists", is_if_not_exists) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -135,24 +152,49 @@ def __init__(__self__, *, ** 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 """ + _IndexState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + is_if_not_exists=is_if_not_exists, + keys=keys, + lifecycle_details=lifecycle_details, + name=name, + state=state, + table_id=table_id, + table_name=table_name, + table_name_or_id=table_name_or_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + is_if_not_exists: Optional[pulumi.Input[bool]] = None, + keys: Optional[pulumi.Input[Sequence[pulumi.Input['IndexKeyArgs']]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + table_id: Optional[pulumi.Input[str]] = None, + table_name: Optional[pulumi.Input[str]] = None, + table_name_or_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if is_if_not_exists is not None: - pulumi.set(__self__, "is_if_not_exists", is_if_not_exists) + _setter("is_if_not_exists", is_if_not_exists) if keys is not None: - pulumi.set(__self__, "keys", keys) + _setter("keys", keys) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if table_id is not None: - pulumi.set(__self__, "table_id", table_id) + _setter("table_id", table_id) if table_name is not None: - pulumi.set(__self__, "table_name", table_name) + _setter("table_name", table_name) if table_name_or_id is not None: - pulumi.set(__self__, "table_name_or_id", table_name_or_id) + _setter("table_name_or_id", table_name_or_id) @property @pulumi.getter(name="compartmentId") @@ -366,6 +408,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + IndexArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/nosql/outputs.py b/sdk/python/pulumi_oci/nosql/outputs.py index a446cd0618..5c46c2a53d 100644 --- a/sdk/python/pulumi_oci/nosql/outputs.py +++ b/sdk/python/pulumi_oci/nosql/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -64,11 +64,24 @@ def __init__(__self__, *, :param str json_field_type: If the specified column is of type JSON, jsonFieldType contains the type of the field indicated by jsonPath. :param str json_path: If the specified column is of type JSON, jsonPath contains a dotted path indicating the field within the JSON object that will be the index key. """ - pulumi.set(__self__, "column_name", column_name) + IndexKey._configure( + lambda key, value: pulumi.set(__self__, key, value), + column_name=column_name, + json_field_type=json_field_type, + json_path=json_path, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + column_name: str, + json_field_type: Optional[str] = None, + json_path: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("column_name", column_name) if json_field_type is not None: - pulumi.set(__self__, "json_field_type", json_field_type) + _setter("json_field_type", json_field_type) if json_path is not None: - pulumi.set(__self__, "json_path", json_path) + _setter("json_path", json_path) @property @pulumi.getter(name="columnName") @@ -129,16 +142,33 @@ def __init__(__self__, *, :param Sequence[str] shard_keys: A list of column names that make up a key. :param int ttl: The default Time-to-Live for the table, in days. """ + TableSchema._configure( + lambda key, value: pulumi.set(__self__, key, value), + columns=columns, + identities=identities, + primary_keys=primary_keys, + shard_keys=shard_keys, + ttl=ttl, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + columns: Optional[Sequence['outputs.TableSchemaColumn']] = None, + identities: Optional[Sequence['outputs.TableSchemaIdentity']] = None, + primary_keys: Optional[Sequence[str]] = None, + shard_keys: Optional[Sequence[str]] = None, + ttl: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if columns is not None: - pulumi.set(__self__, "columns", columns) + _setter("columns", columns) if identities is not None: - pulumi.set(__self__, "identities", identities) + _setter("identities", identities) if primary_keys is not None: - pulumi.set(__self__, "primary_keys", primary_keys) + _setter("primary_keys", primary_keys) if shard_keys is not None: - pulumi.set(__self__, "shard_keys", shard_keys) + _setter("shard_keys", shard_keys) if ttl is not None: - pulumi.set(__self__, "ttl", ttl) + _setter("ttl", ttl) @property @pulumi.getter @@ -221,18 +251,37 @@ def __init__(__self__, *, :param str name: Table name. :param str type: The column type. """ + TableSchemaColumn._configure( + lambda key, value: pulumi.set(__self__, key, value), + default_value=default_value, + is_as_uuid=is_as_uuid, + is_generated=is_generated, + is_nullable=is_nullable, + name=name, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + default_value: Optional[str] = None, + is_as_uuid: Optional[bool] = None, + is_generated: Optional[bool] = None, + is_nullable: Optional[bool] = None, + name: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if default_value is not None: - pulumi.set(__self__, "default_value", default_value) + _setter("default_value", default_value) if is_as_uuid is not None: - pulumi.set(__self__, "is_as_uuid", is_as_uuid) + _setter("is_as_uuid", is_as_uuid) if is_generated is not None: - pulumi.set(__self__, "is_generated", is_generated) + _setter("is_generated", is_generated) if is_nullable is not None: - pulumi.set(__self__, "is_nullable", is_nullable) + _setter("is_nullable", is_nullable) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter(name="defaultValue") @@ -315,12 +364,25 @@ def __init__(__self__, *, :param bool is_always: True if the identity value is GENERATED ALWAYS. :param bool is_null: True if the identity value is GENERATED BY DEFAULT ON NULL. """ + TableSchemaIdentity._configure( + lambda key, value: pulumi.set(__self__, key, value), + column_name=column_name, + is_always=is_always, + is_null=is_null, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + column_name: Optional[str] = None, + is_always: Optional[bool] = None, + is_null: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): if column_name is not None: - pulumi.set(__self__, "column_name", column_name) + _setter("column_name", column_name) if is_always is not None: - pulumi.set(__self__, "is_always", is_always) + _setter("is_always", is_always) if is_null is not None: - pulumi.set(__self__, "is_null", is_null) + _setter("is_null", is_null) @property @pulumi.getter(name="columnName") @@ -387,11 +449,26 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param str capacity_mode: (Updatable) The capacity mode of the table. If capacityMode = ON_DEMAND, maxReadUnits and maxWriteUnits are not used, and both will have the value of zero. """ - pulumi.set(__self__, "max_read_units", max_read_units) - pulumi.set(__self__, "max_storage_in_gbs", max_storage_in_gbs) - pulumi.set(__self__, "max_write_units", max_write_units) + TableTableLimits._configure( + lambda key, value: pulumi.set(__self__, key, value), + max_read_units=max_read_units, + max_storage_in_gbs=max_storage_in_gbs, + max_write_units=max_write_units, + capacity_mode=capacity_mode, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max_read_units: int, + max_storage_in_gbs: int, + max_write_units: int, + capacity_mode: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max_read_units", max_read_units) + _setter("max_storage_in_gbs", max_storage_in_gbs) + _setter("max_write_units", max_write_units) if capacity_mode is not None: - pulumi.set(__self__, "capacity_mode", capacity_mode) + _setter("capacity_mode", capacity_mode) @property @pulumi.getter(name="maxReadUnits") @@ -441,9 +518,22 @@ def __init__(__self__, *, :param str json_field_type: If the specified column is of type JSON, jsonFieldType contains the type of the field indicated by jsonPath. :param str json_path: If the specified column is of type JSON, jsonPath contains a dotted path indicating the field within the JSON object that will be the index key. """ - pulumi.set(__self__, "column_name", column_name) - pulumi.set(__self__, "json_field_type", json_field_type) - pulumi.set(__self__, "json_path", json_path) + GetIndexKeyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + column_name=column_name, + json_field_type=json_field_type, + json_path=json_path, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + column_name: str, + json_field_type: str, + json_path: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("column_name", column_name) + _setter("json_field_type", json_field_type) + _setter("json_path", json_path) @property @pulumi.getter(name="columnName") @@ -479,10 +569,23 @@ def __init__(__self__, *, """ :param str name: A shell-globbing-style (*?[]) filter for names. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetIndexesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -526,16 +629,43 @@ def __init__(__self__, *, :param str table_name: The name of the table to which this index belongs. :param str table_name_or_id: A table name within the compartment, or a table OCID. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_if_not_exists", is_if_not_exists) - pulumi.set(__self__, "keys", keys) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "table_id", table_id) - pulumi.set(__self__, "table_name", table_name) - pulumi.set(__self__, "table_name_or_id", table_name_or_id) + GetIndexesIndexCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + id=id, + is_if_not_exists=is_if_not_exists, + keys=keys, + lifecycle_details=lifecycle_details, + name=name, + state=state, + table_id=table_id, + table_name=table_name, + table_name_or_id=table_name_or_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + id: str, + is_if_not_exists: bool, + keys: Sequence['outputs.GetIndexesIndexCollectionKeyResult'], + lifecycle_details: str, + name: str, + state: str, + table_id: str, + table_name: str, + table_name_or_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("id", id) + _setter("is_if_not_exists", is_if_not_exists) + _setter("keys", keys) + _setter("lifecycle_details", lifecycle_details) + _setter("name", name) + _setter("state", state) + _setter("table_id", table_id) + _setter("table_name", table_name) + _setter("table_name_or_id", table_name_or_id) @property @pulumi.getter(name="compartmentId") @@ -623,9 +753,22 @@ def __init__(__self__, *, :param str json_field_type: If the specified column is of type JSON, jsonFieldType contains the type of the field indicated by jsonPath. :param str json_path: If the specified column is of type JSON, jsonPath contains a dotted path indicating the field within the JSON object that will be the index key. """ - pulumi.set(__self__, "column_name", column_name) - pulumi.set(__self__, "json_field_type", json_field_type) - pulumi.set(__self__, "json_path", json_path) + GetIndexesIndexCollectionKeyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + column_name=column_name, + json_field_type=json_field_type, + json_path=json_path, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + column_name: str, + json_field_type: str, + json_path: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("column_name", column_name) + _setter("json_field_type", json_field_type) + _setter("json_path", json_path) @property @pulumi.getter(name="columnName") @@ -667,11 +810,28 @@ def __init__(__self__, *, :param Sequence[str] shard_keys: A list of column names that make up a key. :param int ttl: The default Time-to-Live for the table, in days. """ - pulumi.set(__self__, "columns", columns) - pulumi.set(__self__, "identities", identities) - pulumi.set(__self__, "primary_keys", primary_keys) - pulumi.set(__self__, "shard_keys", shard_keys) - pulumi.set(__self__, "ttl", ttl) + GetTableSchemaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + columns=columns, + identities=identities, + primary_keys=primary_keys, + shard_keys=shard_keys, + ttl=ttl, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + columns: Sequence['outputs.GetTableSchemaColumnResult'], + identities: Sequence['outputs.GetTableSchemaIdentityResult'], + primary_keys: Sequence[str], + shard_keys: Sequence[str], + ttl: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("columns", columns) + _setter("identities", identities) + _setter("primary_keys", primary_keys) + _setter("shard_keys", shard_keys) + _setter("ttl", ttl) @property @pulumi.getter @@ -731,12 +891,31 @@ def __init__(__self__, *, :param str name: The column name. :param str type: The column type. """ - pulumi.set(__self__, "default_value", default_value) - pulumi.set(__self__, "is_as_uuid", is_as_uuid) - pulumi.set(__self__, "is_generated", is_generated) - pulumi.set(__self__, "is_nullable", is_nullable) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "type", type) + GetTableSchemaColumnResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + default_value=default_value, + is_as_uuid=is_as_uuid, + is_generated=is_generated, + is_nullable=is_nullable, + name=name, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + default_value: str, + is_as_uuid: bool, + is_generated: bool, + is_nullable: bool, + name: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("default_value", default_value) + _setter("is_as_uuid", is_as_uuid) + _setter("is_generated", is_generated) + _setter("is_nullable", is_nullable) + _setter("name", name) + _setter("type", type) @property @pulumi.getter(name="defaultValue") @@ -798,9 +977,22 @@ def __init__(__self__, *, :param bool is_always: True if the identity value is GENERATED ALWAYS. :param bool is_null: True if the identity value is GENERATED BY DEFAULT ON NULL. """ - pulumi.set(__self__, "column_name", column_name) - pulumi.set(__self__, "is_always", is_always) - pulumi.set(__self__, "is_null", is_null) + GetTableSchemaIdentityResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + column_name=column_name, + is_always=is_always, + is_null=is_null, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + column_name: str, + is_always: bool, + is_null: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("column_name", column_name) + _setter("is_always", is_always) + _setter("is_null", is_null) @property @pulumi.getter(name="columnName") @@ -840,10 +1032,25 @@ def __init__(__self__, *, :param int max_storage_in_gbs: Maximum size of storage used by the table. :param int max_write_units: Maximum sustained write throughput limit for the table. """ - pulumi.set(__self__, "capacity_mode", capacity_mode) - pulumi.set(__self__, "max_read_units", max_read_units) - pulumi.set(__self__, "max_storage_in_gbs", max_storage_in_gbs) - pulumi.set(__self__, "max_write_units", max_write_units) + GetTableTableLimitResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + capacity_mode=capacity_mode, + max_read_units=max_read_units, + max_storage_in_gbs=max_storage_in_gbs, + max_write_units=max_write_units, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + capacity_mode: str, + max_read_units: int, + max_storage_in_gbs: int, + max_write_units: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("capacity_mode", capacity_mode) + _setter("max_read_units", max_read_units) + _setter("max_storage_in_gbs", max_storage_in_gbs) + _setter("max_write_units", max_write_units) @property @pulumi.getter(name="capacityMode") @@ -887,10 +1094,23 @@ def __init__(__self__, *, """ :param str name: A shell-globbing-style (*?[]) filter for names. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetTablesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -944,21 +1164,58 @@ def __init__(__self__, *, :param str time_of_expiration: If lifecycleState is INACTIVE, indicates when this table will be automatically removed. An RFC3339 formatted datetime string. :param str time_updated: The time the the table's metadata was last updated. An RFC3339 formatted datetime string. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "ddl_statement", ddl_statement) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_auto_reclaimable", is_auto_reclaimable) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "schemas", schemas) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "table_limits", table_limits) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_of_expiration", time_of_expiration) - pulumi.set(__self__, "time_updated", time_updated) + GetTablesTableCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + ddl_statement=ddl_statement, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + id=id, + is_auto_reclaimable=is_auto_reclaimable, + lifecycle_details=lifecycle_details, + name=name, + schemas=schemas, + state=state, + system_tags=system_tags, + table_limits=table_limits, + time_created=time_created, + time_of_expiration=time_of_expiration, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + ddl_statement: str, + defined_tags: Mapping[str, Any], + freeform_tags: Mapping[str, Any], + id: str, + is_auto_reclaimable: bool, + lifecycle_details: str, + name: str, + schemas: Sequence['outputs.GetTablesTableCollectionSchemaResult'], + state: str, + system_tags: Mapping[str, Any], + table_limits: Sequence['outputs.GetTablesTableCollectionTableLimitResult'], + time_created: str, + time_of_expiration: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("ddl_statement", ddl_statement) + _setter("defined_tags", defined_tags) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_auto_reclaimable", is_auto_reclaimable) + _setter("lifecycle_details", lifecycle_details) + _setter("name", name) + _setter("schemas", schemas) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("table_limits", table_limits) + _setter("time_created", time_created) + _setter("time_of_expiration", time_of_expiration) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -1083,11 +1340,28 @@ def __init__(__self__, *, primary_keys: Sequence[str], shard_keys: Sequence[str], ttl: int): - pulumi.set(__self__, "columns", columns) - pulumi.set(__self__, "identities", identities) - pulumi.set(__self__, "primary_keys", primary_keys) - pulumi.set(__self__, "shard_keys", shard_keys) - pulumi.set(__self__, "ttl", ttl) + GetTablesTableCollectionSchemaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + columns=columns, + identities=identities, + primary_keys=primary_keys, + shard_keys=shard_keys, + ttl=ttl, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + columns: Sequence['outputs.GetTablesTableCollectionSchemaColumnResult'], + identities: Sequence['outputs.GetTablesTableCollectionSchemaIdentityResult'], + primary_keys: Sequence[str], + shard_keys: Sequence[str], + ttl: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("columns", columns) + _setter("identities", identities) + _setter("primary_keys", primary_keys) + _setter("shard_keys", shard_keys) + _setter("ttl", ttl) @property @pulumi.getter @@ -1127,12 +1401,31 @@ def __init__(__self__, *, """ :param str name: A shell-globbing-style (*?[]) filter for names. """ - pulumi.set(__self__, "default_value", default_value) - pulumi.set(__self__, "is_as_uuid", is_as_uuid) - pulumi.set(__self__, "is_generated", is_generated) - pulumi.set(__self__, "is_nullable", is_nullable) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "type", type) + GetTablesTableCollectionSchemaColumnResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + default_value=default_value, + is_as_uuid=is_as_uuid, + is_generated=is_generated, + is_nullable=is_nullable, + name=name, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + default_value: str, + is_as_uuid: bool, + is_generated: bool, + is_nullable: bool, + name: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("default_value", default_value) + _setter("is_as_uuid", is_as_uuid) + _setter("is_generated", is_generated) + _setter("is_nullable", is_nullable) + _setter("name", name) + _setter("type", type) @property @pulumi.getter(name="defaultValue") @@ -1174,9 +1467,22 @@ def __init__(__self__, *, column_name: str, is_always: bool, is_null: bool): - pulumi.set(__self__, "column_name", column_name) - pulumi.set(__self__, "is_always", is_always) - pulumi.set(__self__, "is_null", is_null) + GetTablesTableCollectionSchemaIdentityResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + column_name=column_name, + is_always=is_always, + is_null=is_null, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + column_name: str, + is_always: bool, + is_null: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("column_name", column_name) + _setter("is_always", is_always) + _setter("is_null", is_null) @property @pulumi.getter(name="columnName") @@ -1207,10 +1513,25 @@ def __init__(__self__, *, :param int max_storage_in_gbs: Maximum size of storage used by the table. :param int max_write_units: Maximum sustained write throughput limit for the table. """ - pulumi.set(__self__, "capacity_mode", capacity_mode) - pulumi.set(__self__, "max_read_units", max_read_units) - pulumi.set(__self__, "max_storage_in_gbs", max_storage_in_gbs) - pulumi.set(__self__, "max_write_units", max_write_units) + GetTablesTableCollectionTableLimitResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + capacity_mode=capacity_mode, + max_read_units=max_read_units, + max_storage_in_gbs=max_storage_in_gbs, + max_write_units=max_write_units, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + capacity_mode: str, + max_read_units: int, + max_storage_in_gbs: int, + max_write_units: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("capacity_mode", capacity_mode) + _setter("max_read_units", max_read_units) + _setter("max_storage_in_gbs", max_storage_in_gbs) + _setter("max_write_units", max_write_units) @property @pulumi.getter(name="capacityMode") diff --git a/sdk/python/pulumi_oci/nosql/table.py b/sdk/python/pulumi_oci/nosql/table.py index 90418a073b..f59455fb81 100644 --- a/sdk/python/pulumi_oci/nosql/table.py +++ b/sdk/python/pulumi_oci/nosql/table.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -33,18 +33,39 @@ def __init__(__self__, *, :param pulumi.Input[str] name: Table name. :param pulumi.Input['TableTableLimitsArgs'] table_limits: (Updatable) Throughput and storage limits configuration of a table. It is required for top level table, must be null for child table as child table shares its top parent table's limits. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "ddl_statement", ddl_statement) + TableArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + ddl_statement=ddl_statement, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + is_auto_reclaimable=is_auto_reclaimable, + name=name, + table_limits=table_limits, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + ddl_statement: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_auto_reclaimable: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + table_limits: Optional[pulumi.Input['TableTableLimitsArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("ddl_statement", ddl_statement) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_auto_reclaimable is not None: - pulumi.set(__self__, "is_auto_reclaimable", is_auto_reclaimable) + _setter("is_auto_reclaimable", is_auto_reclaimable) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if table_limits is not None: - pulumi.set(__self__, "table_limits", table_limits) + _setter("table_limits", table_limits) @property @pulumi.getter(name="compartmentId") @@ -165,34 +186,69 @@ def __init__(__self__, *, :param pulumi.Input[str] time_of_expiration: If lifecycleState is INACTIVE, indicates when this table will be automatically removed. An RFC3339 formatted datetime string. :param pulumi.Input[str] time_updated: The time the the table's metadata was last updated. An RFC3339 formatted datetime string. """ + _TableState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + ddl_statement=ddl_statement, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + is_auto_reclaimable=is_auto_reclaimable, + lifecycle_details=lifecycle_details, + name=name, + schemas=schemas, + state=state, + system_tags=system_tags, + table_limits=table_limits, + time_created=time_created, + time_of_expiration=time_of_expiration, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + ddl_statement: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_auto_reclaimable: Optional[pulumi.Input[bool]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + schemas: Optional[pulumi.Input[Sequence[pulumi.Input['TableSchemaArgs']]]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + table_limits: Optional[pulumi.Input['TableTableLimitsArgs']] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_of_expiration: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if ddl_statement is not None: - pulumi.set(__self__, "ddl_statement", ddl_statement) + _setter("ddl_statement", ddl_statement) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_auto_reclaimable is not None: - pulumi.set(__self__, "is_auto_reclaimable", is_auto_reclaimable) + _setter("is_auto_reclaimable", is_auto_reclaimable) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if schemas is not None: - pulumi.set(__self__, "schemas", schemas) + _setter("schemas", schemas) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if table_limits is not None: - pulumi.set(__self__, "table_limits", table_limits) + _setter("table_limits", table_limits) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_of_expiration is not None: - pulumi.set(__self__, "time_of_expiration", time_of_expiration) + _setter("time_of_expiration", time_of_expiration) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -472,6 +528,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + TableArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -503,6 +563,11 @@ def _internal_init(__self__, __props__.__dict__["freeform_tags"] = freeform_tags __props__.__dict__["is_auto_reclaimable"] = is_auto_reclaimable __props__.__dict__["name"] = name + if table_limits is not None and not isinstance(table_limits, TableTableLimitsArgs): + table_limits = table_limits or {} + def _setter(key, value): + table_limits[key] = value + TableTableLimitsArgs._configure(_setter, **table_limits) __props__.__dict__["table_limits"] = table_limits __props__.__dict__["lifecycle_details"] = None __props__.__dict__["schemas"] = None diff --git a/sdk/python/pulumi_oci/objectstorage/_inputs.py b/sdk/python/pulumi_oci/objectstorage/_inputs.py index e6ceaa4adc..71fcf3f747 100644 --- a/sdk/python/pulumi_oci/objectstorage/_inputs.py +++ b/sdk/python/pulumi_oci/objectstorage/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -40,17 +40,36 @@ def __init__(__self__, *, :param pulumi.Input[str] time_modified: The date and time that the retention rule was modified as per [RFC3339](https://tools.ietf.org/html/rfc3339). :param pulumi.Input[str] time_rule_locked: (Updatable) The date and time as per [RFC 3339](https://tools.ietf.org/html/rfc3339) after which this rule is locked and can only be deleted by deleting the bucket. Once a rule is locked, only increases in the duration are allowed and no other properties can be changed. This property cannot be updated for rules that are in a locked state. Specifying it when a duration is not specified is considered an error. """ - pulumi.set(__self__, "display_name", display_name) + BucketRetentionRuleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + duration=duration, + retention_rule_id=retention_rule_id, + time_created=time_created, + time_modified=time_modified, + time_rule_locked=time_rule_locked, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: pulumi.Input[str], + duration: Optional[pulumi.Input['BucketRetentionRuleDurationArgs']] = None, + retention_rule_id: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_modified: Optional[pulumi.Input[str]] = None, + time_rule_locked: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) if duration is not None: - pulumi.set(__self__, "duration", duration) + _setter("duration", duration) if retention_rule_id is not None: - pulumi.set(__self__, "retention_rule_id", retention_rule_id) + _setter("retention_rule_id", retention_rule_id) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_modified is not None: - pulumi.set(__self__, "time_modified", time_modified) + _setter("time_modified", time_modified) if time_rule_locked is not None: - pulumi.set(__self__, "time_rule_locked", time_rule_locked) + _setter("time_rule_locked", time_rule_locked) @property @pulumi.getter(name="displayName") @@ -134,8 +153,19 @@ def __init__(__self__, *, :param pulumi.Input[str] time_amount: (Updatable) The timeAmount is interpreted in units defined by the timeUnit parameter, and is calculated in relation to each object's Last-Modified timestamp. :param pulumi.Input[str] time_unit: (Updatable) The unit that should be used to interpret timeAmount. """ - pulumi.set(__self__, "time_amount", time_amount) - pulumi.set(__self__, "time_unit", time_unit) + BucketRetentionRuleDurationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + time_amount=time_amount, + time_unit=time_unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + time_amount: pulumi.Input[str], + time_unit: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("time_amount", time_amount) + _setter("time_unit", time_unit) @property @pulumi.getter(name="timeAmount") @@ -185,15 +215,36 @@ def __init__(__self__, *, :param pulumi.Input['ObjectLifecyclePolicyRuleObjectNameFilterArgs'] object_name_filter: (Updatable) A filter that compares object names to a set of prefixes or patterns to determine if a rule applies to a given object. The filter can contain include glob patterns, exclude glob patterns and inclusion prefixes. The inclusion prefixes property is kept for backward compatibility. It is recommended to use inclusion patterns instead of prefixes. Exclusions take precedence over inclusions. :param pulumi.Input[str] target: (Updatable) The target of the object lifecycle policy rule. The values of target can be either "objects", "multipart-uploads" or "previous-object-versions". This field when declared as "objects" is used to specify ARCHIVE, INFREQUENT_ACCESS or DELETE rule for objects. This field when declared as "previous-object-versions" is used to specify ARCHIVE, INFREQUENT_ACCESS or DELETE rule for previous versions of existing objects. This field when declared as "multipart-uploads" is used to specify the ABORT (only) rule for uncommitted multipart-uploads. """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "time_amount", time_amount) - pulumi.set(__self__, "time_unit", time_unit) + ObjectLifecyclePolicyRuleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + is_enabled=is_enabled, + name=name, + time_amount=time_amount, + time_unit=time_unit, + object_name_filter=object_name_filter, + target=target, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: pulumi.Input[str], + is_enabled: pulumi.Input[bool], + name: pulumi.Input[str], + time_amount: pulumi.Input[str], + time_unit: pulumi.Input[str], + object_name_filter: Optional[pulumi.Input['ObjectLifecyclePolicyRuleObjectNameFilterArgs']] = None, + target: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("is_enabled", is_enabled) + _setter("name", name) + _setter("time_amount", time_amount) + _setter("time_unit", time_unit) if object_name_filter is not None: - pulumi.set(__self__, "object_name_filter", object_name_filter) + _setter("object_name_filter", object_name_filter) if target is not None: - pulumi.set(__self__, "target", target) + _setter("target", target) @property @pulumi.getter @@ -305,12 +356,25 @@ def __init__(__self__, *, * Matches any string of characters. ? Matches any single character . [...] Matches a group of characters. A group of characters can be: A set of characters, for example: [Zafg9@]. This matches any character in the brackets. A range of characters, for example: [a-z]. This matches any character in the range. [a-f] is equivalent to [abcdef]. For character ranges only the CHARACTER-CHARACTER pattern is supported. [ab-yz] is not valid [a-mn-z] is not valid Character ranges can not start with ^ or : To include a '-' in the range, make it the first or last character. :param pulumi.Input[Sequence[pulumi.Input[str]]] inclusion_prefixes: (Updatable) An array of object name prefixes that the rule will apply to. An empty array means to include all objects. """ + ObjectLifecyclePolicyRuleObjectNameFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + exclusion_patterns=exclusion_patterns, + inclusion_patterns=inclusion_patterns, + inclusion_prefixes=inclusion_prefixes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + exclusion_patterns: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + inclusion_patterns: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + inclusion_prefixes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if exclusion_patterns is not None: - pulumi.set(__self__, "exclusion_patterns", exclusion_patterns) + _setter("exclusion_patterns", exclusion_patterns) if inclusion_patterns is not None: - pulumi.set(__self__, "inclusion_patterns", inclusion_patterns) + _setter("inclusion_patterns", inclusion_patterns) if inclusion_prefixes is not None: - pulumi.set(__self__, "inclusion_prefixes", inclusion_prefixes) + _setter("inclusion_prefixes", inclusion_prefixes) @property @pulumi.getter(name="exclusionPatterns") @@ -384,18 +448,41 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "object", object) - pulumi.set(__self__, "region", region) + StorageObjectSourceUriDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + namespace=namespace, + object=object, + region=region, + destination_object_if_match_etag=destination_object_if_match_etag, + destination_object_if_none_match_etag=destination_object_if_none_match_etag, + source_object_if_match_etag=source_object_if_match_etag, + source_version_id=source_version_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: pulumi.Input[str], + namespace: pulumi.Input[str], + object: pulumi.Input[str], + region: pulumi.Input[str], + destination_object_if_match_etag: Optional[pulumi.Input[str]] = None, + destination_object_if_none_match_etag: Optional[pulumi.Input[str]] = None, + source_object_if_match_etag: Optional[pulumi.Input[str]] = None, + source_version_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("namespace", namespace) + _setter("object", object) + _setter("region", region) if destination_object_if_match_etag is not None: - pulumi.set(__self__, "destination_object_if_match_etag", destination_object_if_match_etag) + _setter("destination_object_if_match_etag", destination_object_if_match_etag) if destination_object_if_none_match_etag is not None: - pulumi.set(__self__, "destination_object_if_none_match_etag", destination_object_if_none_match_etag) + _setter("destination_object_if_none_match_etag", destination_object_if_none_match_etag) if source_object_if_match_etag is not None: - pulumi.set(__self__, "source_object_if_match_etag", source_object_if_match_etag) + _setter("source_object_if_match_etag", source_object_if_match_etag) if source_version_id is not None: - pulumi.set(__self__, "source_version_id", source_version_id) + _setter("source_version_id", source_version_id) @property @pulumi.getter @@ -507,10 +594,23 @@ def __init__(__self__, *, """ :param str name: The name of the bucket. Avoid entering confidential information. Example: my-new-bucket1 """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetBucketSummariesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -552,10 +652,23 @@ def __init__(__self__, *, """ :param str name: The name of the object. Avoid entering confidential information. Example: test/object1.log """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetObjectVersionsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -597,10 +710,23 @@ def __init__(__self__, *, """ :param str name: The name of the object. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetObjectsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -642,10 +768,23 @@ def __init__(__self__, *, """ :param str name: The user-provided name of the pre-authenticated request. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetPreauthrequestsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -687,10 +826,23 @@ def __init__(__self__, *, """ :param str name: The name of the policy. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetReplicationPoliciesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -729,10 +881,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetReplicationSourcesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/objectstorage/bucket.py b/sdk/python/pulumi_oci/objectstorage/bucket.py index c34785c7af..cc34c51846 100644 --- a/sdk/python/pulumi_oci/objectstorage/bucket.py +++ b/sdk/python/pulumi_oci/objectstorage/bucket.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -49,30 +49,63 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "namespace", namespace) + BucketArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + namespace=namespace, + access_type=access_type, + auto_tiering=auto_tiering, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + kms_key_id=kms_key_id, + metadata=metadata, + name=name, + object_events_enabled=object_events_enabled, + retention_rules=retention_rules, + storage_tier=storage_tier, + versioning=versioning, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + namespace: pulumi.Input[str], + access_type: Optional[pulumi.Input[str]] = None, + auto_tiering: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + kms_key_id: Optional[pulumi.Input[str]] = None, + metadata: Optional[pulumi.Input[Mapping[str, Any]]] = None, + name: Optional[pulumi.Input[str]] = None, + object_events_enabled: Optional[pulumi.Input[bool]] = None, + retention_rules: Optional[pulumi.Input[Sequence[pulumi.Input['BucketRetentionRuleArgs']]]] = None, + storage_tier: Optional[pulumi.Input[str]] = None, + versioning: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("namespace", namespace) if access_type is not None: - pulumi.set(__self__, "access_type", access_type) + _setter("access_type", access_type) if auto_tiering is not None: - pulumi.set(__self__, "auto_tiering", auto_tiering) + _setter("auto_tiering", auto_tiering) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) if metadata is not None: - pulumi.set(__self__, "metadata", metadata) + _setter("metadata", metadata) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if object_events_enabled is not None: - pulumi.set(__self__, "object_events_enabled", object_events_enabled) + _setter("object_events_enabled", object_events_enabled) if retention_rules is not None: - pulumi.set(__self__, "retention_rules", retention_rules) + _setter("retention_rules", retention_rules) if storage_tier is not None: - pulumi.set(__self__, "storage_tier", storage_tier) + _setter("storage_tier", storage_tier) if versioning is not None: - pulumi.set(__self__, "versioning", versioning) + _setter("versioning", versioning) @property @pulumi.getter(name="compartmentId") @@ -289,50 +322,101 @@ def __init__(__self__, *, ** 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 """ + _BucketState._configure( + lambda key, value: pulumi.set(__self__, key, value), + access_type=access_type, + approximate_count=approximate_count, + approximate_size=approximate_size, + auto_tiering=auto_tiering, + bucket_id=bucket_id, + compartment_id=compartment_id, + created_by=created_by, + defined_tags=defined_tags, + etag=etag, + freeform_tags=freeform_tags, + is_read_only=is_read_only, + kms_key_id=kms_key_id, + metadata=metadata, + name=name, + namespace=namespace, + object_events_enabled=object_events_enabled, + object_lifecycle_policy_etag=object_lifecycle_policy_etag, + replication_enabled=replication_enabled, + retention_rules=retention_rules, + storage_tier=storage_tier, + time_created=time_created, + versioning=versioning, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access_type: Optional[pulumi.Input[str]] = None, + approximate_count: Optional[pulumi.Input[str]] = None, + approximate_size: Optional[pulumi.Input[str]] = None, + auto_tiering: Optional[pulumi.Input[str]] = None, + bucket_id: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + created_by: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + etag: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_read_only: Optional[pulumi.Input[bool]] = None, + kms_key_id: Optional[pulumi.Input[str]] = None, + metadata: Optional[pulumi.Input[Mapping[str, Any]]] = None, + name: Optional[pulumi.Input[str]] = None, + namespace: Optional[pulumi.Input[str]] = None, + object_events_enabled: Optional[pulumi.Input[bool]] = None, + object_lifecycle_policy_etag: Optional[pulumi.Input[str]] = None, + replication_enabled: Optional[pulumi.Input[bool]] = None, + retention_rules: Optional[pulumi.Input[Sequence[pulumi.Input['BucketRetentionRuleArgs']]]] = None, + storage_tier: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + versioning: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if access_type is not None: - pulumi.set(__self__, "access_type", access_type) + _setter("access_type", access_type) if approximate_count is not None: - pulumi.set(__self__, "approximate_count", approximate_count) + _setter("approximate_count", approximate_count) if approximate_size is not None: - pulumi.set(__self__, "approximate_size", approximate_size) + _setter("approximate_size", approximate_size) if auto_tiering is not None: - pulumi.set(__self__, "auto_tiering", auto_tiering) + _setter("auto_tiering", auto_tiering) if bucket_id is not None: - pulumi.set(__self__, "bucket_id", bucket_id) + _setter("bucket_id", bucket_id) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if created_by is not None: - pulumi.set(__self__, "created_by", created_by) + _setter("created_by", created_by) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if etag is not None: - pulumi.set(__self__, "etag", etag) + _setter("etag", etag) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_read_only is not None: - pulumi.set(__self__, "is_read_only", is_read_only) + _setter("is_read_only", is_read_only) if kms_key_id is not None: - pulumi.set(__self__, "kms_key_id", kms_key_id) + _setter("kms_key_id", kms_key_id) if metadata is not None: - pulumi.set(__self__, "metadata", metadata) + _setter("metadata", metadata) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if object_events_enabled is not None: - pulumi.set(__self__, "object_events_enabled", object_events_enabled) + _setter("object_events_enabled", object_events_enabled) if object_lifecycle_policy_etag is not None: - pulumi.set(__self__, "object_lifecycle_policy_etag", object_lifecycle_policy_etag) + _setter("object_lifecycle_policy_etag", object_lifecycle_policy_etag) if replication_enabled is not None: - pulumi.set(__self__, "replication_enabled", replication_enabled) + _setter("replication_enabled", replication_enabled) if retention_rules is not None: - pulumi.set(__self__, "retention_rules", retention_rules) + _setter("retention_rules", retention_rules) if storage_tier is not None: - pulumi.set(__self__, "storage_tier", storage_tier) + _setter("storage_tier", storage_tier) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if versioning is not None: - pulumi.set(__self__, "versioning", versioning) + _setter("versioning", versioning) @property @pulumi.getter(name="accessType") @@ -750,6 +834,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + BucketArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/objectstorage/get_bucket.py b/sdk/python/pulumi_oci/objectstorage/get_bucket.py index c1b50068ef..ba987ac886 100644 --- a/sdk/python/pulumi_oci/objectstorage/get_bucket.py +++ b/sdk/python/pulumi_oci/objectstorage/get_bucket.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/objectstorage/get_bucket_summaries.py b/sdk/python/pulumi_oci/objectstorage/get_bucket_summaries.py index 6d19ac5c91..6577a3db50 100644 --- a/sdk/python/pulumi_oci/objectstorage/get_bucket_summaries.py +++ b/sdk/python/pulumi_oci/objectstorage/get_bucket_summaries.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/objectstorage/get_namespace.py b/sdk/python/pulumi_oci/objectstorage/get_namespace.py index 2eca5a0f02..90a066f1c5 100644 --- a/sdk/python/pulumi_oci/objectstorage/get_namespace.py +++ b/sdk/python/pulumi_oci/objectstorage/get_namespace.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/objectstorage/get_namespace_metadata.py b/sdk/python/pulumi_oci/objectstorage/get_namespace_metadata.py index bd28002c9e..2aadd622f7 100644 --- a/sdk/python/pulumi_oci/objectstorage/get_namespace_metadata.py +++ b/sdk/python/pulumi_oci/objectstorage/get_namespace_metadata.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/objectstorage/get_object.py b/sdk/python/pulumi_oci/objectstorage/get_object.py index d8ac4afbb1..8cc16d1595 100644 --- a/sdk/python/pulumi_oci/objectstorage/get_object.py +++ b/sdk/python/pulumi_oci/objectstorage/get_object.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/objectstorage/get_object_head.py b/sdk/python/pulumi_oci/objectstorage/get_object_head.py index 118b50e341..addafa7e7a 100644 --- a/sdk/python/pulumi_oci/objectstorage/get_object_head.py +++ b/sdk/python/pulumi_oci/objectstorage/get_object_head.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/objectstorage/get_object_lifecycle_policy.py b/sdk/python/pulumi_oci/objectstorage/get_object_lifecycle_policy.py index 6856be71f2..2cfb5b1af4 100644 --- a/sdk/python/pulumi_oci/objectstorage/get_object_lifecycle_policy.py +++ b/sdk/python/pulumi_oci/objectstorage/get_object_lifecycle_policy.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/objectstorage/get_object_versions.py b/sdk/python/pulumi_oci/objectstorage/get_object_versions.py index 0127dd3155..25f72261a0 100644 --- a/sdk/python/pulumi_oci/objectstorage/get_object_versions.py +++ b/sdk/python/pulumi_oci/objectstorage/get_object_versions.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/objectstorage/get_objects.py b/sdk/python/pulumi_oci/objectstorage/get_objects.py index ffdad976c6..7b78babb6d 100644 --- a/sdk/python/pulumi_oci/objectstorage/get_objects.py +++ b/sdk/python/pulumi_oci/objectstorage/get_objects.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/objectstorage/get_preauthrequest.py b/sdk/python/pulumi_oci/objectstorage/get_preauthrequest.py index b536bccf9a..60bbd43a80 100644 --- a/sdk/python/pulumi_oci/objectstorage/get_preauthrequest.py +++ b/sdk/python/pulumi_oci/objectstorage/get_preauthrequest.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/objectstorage/get_preauthrequests.py b/sdk/python/pulumi_oci/objectstorage/get_preauthrequests.py index 9c877935d2..ad4e523406 100644 --- a/sdk/python/pulumi_oci/objectstorage/get_preauthrequests.py +++ b/sdk/python/pulumi_oci/objectstorage/get_preauthrequests.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/objectstorage/get_replication_policies.py b/sdk/python/pulumi_oci/objectstorage/get_replication_policies.py index db00e8d453..aa5c7ec640 100644 --- a/sdk/python/pulumi_oci/objectstorage/get_replication_policies.py +++ b/sdk/python/pulumi_oci/objectstorage/get_replication_policies.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/objectstorage/get_replication_policy.py b/sdk/python/pulumi_oci/objectstorage/get_replication_policy.py index 11c85446c4..b0588f89d3 100644 --- a/sdk/python/pulumi_oci/objectstorage/get_replication_policy.py +++ b/sdk/python/pulumi_oci/objectstorage/get_replication_policy.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/objectstorage/get_replication_sources.py b/sdk/python/pulumi_oci/objectstorage/get_replication_sources.py index 58e337cde0..8ebd962e3e 100644 --- a/sdk/python/pulumi_oci/objectstorage/get_replication_sources.py +++ b/sdk/python/pulumi_oci/objectstorage/get_replication_sources.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/objectstorage/namespace_metadata.py b/sdk/python/pulumi_oci/objectstorage/namespace_metadata.py index ec158108cf..3b576f7f99 100644 --- a/sdk/python/pulumi_oci/objectstorage/namespace_metadata.py +++ b/sdk/python/pulumi_oci/objectstorage/namespace_metadata.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['NamespaceMetadataArgs', 'NamespaceMetadata'] @@ -20,11 +20,24 @@ def __init__(__self__, *, """ The set of arguments for constructing a NamespaceMetadata resource. """ - pulumi.set(__self__, "namespace", namespace) + NamespaceMetadataArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + namespace=namespace, + default_s3compartment_id=default_s3compartment_id, + default_swift_compartment_id=default_swift_compartment_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + namespace: pulumi.Input[str], + default_s3compartment_id: Optional[pulumi.Input[str]] = None, + default_swift_compartment_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("namespace", namespace) if default_s3compartment_id is not None: - pulumi.set(__self__, "default_s3compartment_id", default_s3compartment_id) + _setter("default_s3compartment_id", default_s3compartment_id) if default_swift_compartment_id is not None: - pulumi.set(__self__, "default_swift_compartment_id", default_swift_compartment_id) + _setter("default_swift_compartment_id", default_swift_compartment_id) @property @pulumi.getter @@ -63,12 +76,25 @@ def __init__(__self__, *, """ Input properties used for looking up and filtering NamespaceMetadata resources. """ + _NamespaceMetadataState._configure( + lambda key, value: pulumi.set(__self__, key, value), + default_s3compartment_id=default_s3compartment_id, + default_swift_compartment_id=default_swift_compartment_id, + namespace=namespace, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + default_s3compartment_id: Optional[pulumi.Input[str]] = None, + default_swift_compartment_id: Optional[pulumi.Input[str]] = None, + namespace: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if default_s3compartment_id is not None: - pulumi.set(__self__, "default_s3compartment_id", default_s3compartment_id) + _setter("default_s3compartment_id", default_s3compartment_id) if default_swift_compartment_id is not None: - pulumi.set(__self__, "default_swift_compartment_id", default_swift_compartment_id) + _setter("default_swift_compartment_id", default_swift_compartment_id) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) @property @pulumi.getter(name="defaultS3compartmentId") @@ -130,6 +156,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + NamespaceMetadataArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/objectstorage/object_lifecycle_policy.py b/sdk/python/pulumi_oci/objectstorage/object_lifecycle_policy.py index 884819131a..2ea6a58d05 100644 --- a/sdk/python/pulumi_oci/objectstorage/object_lifecycle_policy.py +++ b/sdk/python/pulumi_oci/objectstorage/object_lifecycle_policy.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -25,10 +25,23 @@ def __init__(__self__, *, :param pulumi.Input[str] namespace: The Object Storage namespace used for the request. :param pulumi.Input[Sequence[pulumi.Input['ObjectLifecyclePolicyRuleArgs']]] rules: (Updatable) The bucket's set of lifecycle policy rules. """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "namespace", namespace) + ObjectLifecyclePolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + namespace=namespace, + rules=rules, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: pulumi.Input[str], + namespace: pulumi.Input[str], + rules: Optional[pulumi.Input[Sequence[pulumi.Input['ObjectLifecyclePolicyRuleArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("namespace", namespace) if rules is not None: - pulumi.set(__self__, "rules", rules) + _setter("rules", rules) @property @pulumi.getter @@ -81,14 +94,29 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['ObjectLifecyclePolicyRuleArgs']]] rules: (Updatable) The bucket's set of lifecycle policy rules. :param pulumi.Input[str] time_created: The date and time the object lifecycle policy was created, as described in [RFC 3339](https://tools.ietf.org/html/rfc3339). """ + _ObjectLifecyclePolicyState._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + namespace=namespace, + rules=rules, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: Optional[pulumi.Input[str]] = None, + namespace: Optional[pulumi.Input[str]] = None, + rules: Optional[pulumi.Input[Sequence[pulumi.Input['ObjectLifecyclePolicyRuleArgs']]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if bucket is not None: - pulumi.set(__self__, "bucket", bucket) + _setter("bucket", bucket) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if rules is not None: - pulumi.set(__self__, "rules", rules) + _setter("rules", rules) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter @@ -244,6 +272,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ObjectLifecyclePolicyArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/objectstorage/outputs.py b/sdk/python/pulumi_oci/objectstorage/outputs.py index 95290c9ddf..5e0f344207 100644 --- a/sdk/python/pulumi_oci/objectstorage/outputs.py +++ b/sdk/python/pulumi_oci/objectstorage/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -78,17 +78,36 @@ def __init__(__self__, *, :param str time_modified: The date and time that the retention rule was modified as per [RFC3339](https://tools.ietf.org/html/rfc3339). :param str time_rule_locked: (Updatable) The date and time as per [RFC 3339](https://tools.ietf.org/html/rfc3339) after which this rule is locked and can only be deleted by deleting the bucket. Once a rule is locked, only increases in the duration are allowed and no other properties can be changed. This property cannot be updated for rules that are in a locked state. Specifying it when a duration is not specified is considered an error. """ - pulumi.set(__self__, "display_name", display_name) + BucketRetentionRule._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + duration=duration, + retention_rule_id=retention_rule_id, + time_created=time_created, + time_modified=time_modified, + time_rule_locked=time_rule_locked, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + duration: Optional['outputs.BucketRetentionRuleDuration'] = None, + retention_rule_id: Optional[str] = None, + time_created: Optional[str] = None, + time_modified: Optional[str] = None, + time_rule_locked: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) if duration is not None: - pulumi.set(__self__, "duration", duration) + _setter("duration", duration) if retention_rule_id is not None: - pulumi.set(__self__, "retention_rule_id", retention_rule_id) + _setter("retention_rule_id", retention_rule_id) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_modified is not None: - pulumi.set(__self__, "time_modified", time_modified) + _setter("time_modified", time_modified) if time_rule_locked is not None: - pulumi.set(__self__, "time_rule_locked", time_rule_locked) + _setter("time_rule_locked", time_rule_locked) @property @pulumi.getter(name="displayName") @@ -167,8 +186,19 @@ def __init__(__self__, *, :param str time_amount: (Updatable) The timeAmount is interpreted in units defined by the timeUnit parameter, and is calculated in relation to each object's Last-Modified timestamp. :param str time_unit: (Updatable) The unit that should be used to interpret timeAmount. """ - pulumi.set(__self__, "time_amount", time_amount) - pulumi.set(__self__, "time_unit", time_unit) + BucketRetentionRuleDuration._configure( + lambda key, value: pulumi.set(__self__, key, value), + time_amount=time_amount, + time_unit=time_unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + time_amount: str, + time_unit: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("time_amount", time_amount) + _setter("time_unit", time_unit) @property @pulumi.getter(name="timeAmount") @@ -233,15 +263,36 @@ def __init__(__self__, *, :param 'ObjectLifecyclePolicyRuleObjectNameFilterArgs' object_name_filter: (Updatable) A filter that compares object names to a set of prefixes or patterns to determine if a rule applies to a given object. The filter can contain include glob patterns, exclude glob patterns and inclusion prefixes. The inclusion prefixes property is kept for backward compatibility. It is recommended to use inclusion patterns instead of prefixes. Exclusions take precedence over inclusions. :param str target: (Updatable) The target of the object lifecycle policy rule. The values of target can be either "objects", "multipart-uploads" or "previous-object-versions". This field when declared as "objects" is used to specify ARCHIVE, INFREQUENT_ACCESS or DELETE rule for objects. This field when declared as "previous-object-versions" is used to specify ARCHIVE, INFREQUENT_ACCESS or DELETE rule for previous versions of existing objects. This field when declared as "multipart-uploads" is used to specify the ABORT (only) rule for uncommitted multipart-uploads. """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "time_amount", time_amount) - pulumi.set(__self__, "time_unit", time_unit) + ObjectLifecyclePolicyRule._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + is_enabled=is_enabled, + name=name, + time_amount=time_amount, + time_unit=time_unit, + object_name_filter=object_name_filter, + target=target, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: str, + is_enabled: bool, + name: str, + time_amount: str, + time_unit: str, + object_name_filter: Optional['outputs.ObjectLifecyclePolicyRuleObjectNameFilter'] = None, + target: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("is_enabled", is_enabled) + _setter("name", name) + _setter("time_amount", time_amount) + _setter("time_unit", time_unit) if object_name_filter is not None: - pulumi.set(__self__, "object_name_filter", object_name_filter) + _setter("object_name_filter", object_name_filter) if target is not None: - pulumi.set(__self__, "target", target) + _setter("target", target) @property @pulumi.getter @@ -346,12 +397,25 @@ def __init__(__self__, *, * Matches any string of characters. ? Matches any single character . [...] Matches a group of characters. A group of characters can be: A set of characters, for example: [Zafg9@]. This matches any character in the brackets. A range of characters, for example: [a-z]. This matches any character in the range. [a-f] is equivalent to [abcdef]. For character ranges only the CHARACTER-CHARACTER pattern is supported. [ab-yz] is not valid [a-mn-z] is not valid Character ranges can not start with ^ or : To include a '-' in the range, make it the first or last character. :param Sequence[str] inclusion_prefixes: (Updatable) An array of object name prefixes that the rule will apply to. An empty array means to include all objects. """ + ObjectLifecyclePolicyRuleObjectNameFilter._configure( + lambda key, value: pulumi.set(__self__, key, value), + exclusion_patterns=exclusion_patterns, + inclusion_patterns=inclusion_patterns, + inclusion_prefixes=inclusion_prefixes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + exclusion_patterns: Optional[Sequence[str]] = None, + inclusion_patterns: Optional[Sequence[str]] = None, + inclusion_prefixes: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if exclusion_patterns is not None: - pulumi.set(__self__, "exclusion_patterns", exclusion_patterns) + _setter("exclusion_patterns", exclusion_patterns) if inclusion_patterns is not None: - pulumi.set(__self__, "inclusion_patterns", inclusion_patterns) + _setter("inclusion_patterns", inclusion_patterns) if inclusion_prefixes is not None: - pulumi.set(__self__, "inclusion_prefixes", inclusion_prefixes) + _setter("inclusion_prefixes", inclusion_prefixes) @property @pulumi.getter(name="exclusionPatterns") @@ -436,18 +500,41 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "object", object) - pulumi.set(__self__, "region", region) + StorageObjectSourceUriDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + namespace=namespace, + object=object, + region=region, + destination_object_if_match_etag=destination_object_if_match_etag, + destination_object_if_none_match_etag=destination_object_if_none_match_etag, + source_object_if_match_etag=source_object_if_match_etag, + source_version_id=source_version_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + namespace: str, + object: str, + region: str, + destination_object_if_match_etag: Optional[str] = None, + destination_object_if_none_match_etag: Optional[str] = None, + source_object_if_match_etag: Optional[str] = None, + source_version_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("namespace", namespace) + _setter("object", object) + _setter("region", region) if destination_object_if_match_etag is not None: - pulumi.set(__self__, "destination_object_if_match_etag", destination_object_if_match_etag) + _setter("destination_object_if_match_etag", destination_object_if_match_etag) if destination_object_if_none_match_etag is not None: - pulumi.set(__self__, "destination_object_if_none_match_etag", destination_object_if_none_match_etag) + _setter("destination_object_if_none_match_etag", destination_object_if_none_match_etag) if source_object_if_match_etag is not None: - pulumi.set(__self__, "source_object_if_match_etag", source_object_if_match_etag) + _setter("source_object_if_match_etag", source_object_if_match_etag) if source_version_id is not None: - pulumi.set(__self__, "source_version_id", source_version_id) + _setter("source_version_id", source_version_id) @property @pulumi.getter @@ -534,12 +621,31 @@ def __init__(__self__, *, :param str time_modified: The date and time that the retention rule was modified as per [RFC3339](https://tools.ietf.org/html/rfc3339). :param str time_rule_locked: The date and time as per [RFC 3339](https://tools.ietf.org/html/rfc3339) after which this rule becomes locked. and can only be deleted by deleting the bucket. """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "durations", durations) - pulumi.set(__self__, "retention_rule_id", retention_rule_id) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_modified", time_modified) - pulumi.set(__self__, "time_rule_locked", time_rule_locked) + GetBucketRetentionRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + durations=durations, + retention_rule_id=retention_rule_id, + time_created=time_created, + time_modified=time_modified, + time_rule_locked=time_rule_locked, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + durations: Sequence['outputs.GetBucketRetentionRuleDurationResult'], + retention_rule_id: str, + time_created: str, + time_modified: str, + time_rule_locked: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("durations", durations) + _setter("retention_rule_id", retention_rule_id) + _setter("time_created", time_created) + _setter("time_modified", time_modified) + _setter("time_rule_locked", time_rule_locked) @property @pulumi.getter(name="displayName") @@ -596,8 +702,19 @@ def __init__(__self__, *, :param str time_amount: The timeAmount is interpreted in units defined by the timeUnit parameter, and is calculated in relation to each object's Last-Modified timestamp. :param str time_unit: The unit that should be used to interpret timeAmount. """ - pulumi.set(__self__, "time_amount", time_amount) - pulumi.set(__self__, "time_unit", time_unit) + GetBucketRetentionRuleDurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + time_amount=time_amount, + time_unit=time_unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + time_amount: str, + time_unit: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("time_amount", time_amount) + _setter("time_unit", time_unit) @property @pulumi.getter(name="timeAmount") @@ -664,29 +781,82 @@ def __init__(__self__, *, :param str time_created: The date and time the bucket was created, as described in [RFC 2616](https://tools.ietf.org/html/rfc2616#section-14.29). :param str versioning: The versioning status on the bucket. A bucket is created with versioning `Disabled` by default. For versioning `Enabled`, objects are protected from overwrites and deletes, by maintaining their version history. When versioning is `Suspended`, the previous versions will still remain but new versions will no longer be created when overwitten or deleted. """ - pulumi.set(__self__, "access_type", access_type) - pulumi.set(__self__, "approximate_count", approximate_count) - pulumi.set(__self__, "approximate_size", approximate_size) - pulumi.set(__self__, "auto_tiering", auto_tiering) - pulumi.set(__self__, "bucket_id", bucket_id) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "created_by", created_by) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "etag", etag) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_read_only", is_read_only) - pulumi.set(__self__, "kms_key_id", kms_key_id) - pulumi.set(__self__, "metadata", metadata) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "object_events_enabled", object_events_enabled) - pulumi.set(__self__, "object_lifecycle_policy_etag", object_lifecycle_policy_etag) - pulumi.set(__self__, "replication_enabled", replication_enabled) - pulumi.set(__self__, "retention_rules", retention_rules) - pulumi.set(__self__, "storage_tier", storage_tier) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "versioning", versioning) + GetBucketSummariesBucketSummaryResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + access_type=access_type, + approximate_count=approximate_count, + approximate_size=approximate_size, + auto_tiering=auto_tiering, + bucket_id=bucket_id, + compartment_id=compartment_id, + created_by=created_by, + defined_tags=defined_tags, + etag=etag, + freeform_tags=freeform_tags, + id=id, + is_read_only=is_read_only, + kms_key_id=kms_key_id, + metadata=metadata, + name=name, + namespace=namespace, + object_events_enabled=object_events_enabled, + object_lifecycle_policy_etag=object_lifecycle_policy_etag, + replication_enabled=replication_enabled, + retention_rules=retention_rules, + storage_tier=storage_tier, + time_created=time_created, + versioning=versioning, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access_type: str, + approximate_count: str, + approximate_size: str, + auto_tiering: str, + bucket_id: str, + compartment_id: str, + created_by: str, + defined_tags: Mapping[str, Any], + etag: str, + freeform_tags: Mapping[str, Any], + id: str, + is_read_only: bool, + kms_key_id: str, + metadata: Mapping[str, Any], + name: str, + namespace: str, + object_events_enabled: bool, + object_lifecycle_policy_etag: str, + replication_enabled: bool, + retention_rules: Sequence['outputs.GetBucketSummariesBucketSummaryRetentionRuleResult'], + storage_tier: str, + time_created: str, + versioning: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("access_type", access_type) + _setter("approximate_count", approximate_count) + _setter("approximate_size", approximate_size) + _setter("auto_tiering", auto_tiering) + _setter("bucket_id", bucket_id) + _setter("compartment_id", compartment_id) + _setter("created_by", created_by) + _setter("defined_tags", defined_tags) + _setter("etag", etag) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_read_only", is_read_only) + _setter("kms_key_id", kms_key_id) + _setter("metadata", metadata) + _setter("name", name) + _setter("namespace", namespace) + _setter("object_events_enabled", object_events_enabled) + _setter("object_lifecycle_policy_etag", object_lifecycle_policy_etag) + _setter("replication_enabled", replication_enabled) + _setter("retention_rules", retention_rules) + _setter("storage_tier", storage_tier) + _setter("time_created", time_created) + _setter("versioning", versioning) @property @pulumi.getter(name="accessType") @@ -876,12 +1046,31 @@ def __init__(__self__, *, """ :param str time_created: The date and time the bucket was created, as described in [RFC 2616](https://tools.ietf.org/html/rfc2616#section-14.29). """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "durations", durations) - pulumi.set(__self__, "retention_rule_id", retention_rule_id) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_modified", time_modified) - pulumi.set(__self__, "time_rule_locked", time_rule_locked) + GetBucketSummariesBucketSummaryRetentionRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + durations=durations, + retention_rule_id=retention_rule_id, + time_created=time_created, + time_modified=time_modified, + time_rule_locked=time_rule_locked, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + durations: Sequence['outputs.GetBucketSummariesBucketSummaryRetentionRuleDurationResult'], + retention_rule_id: str, + time_created: str, + time_modified: str, + time_rule_locked: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("durations", durations) + _setter("retention_rule_id", retention_rule_id) + _setter("time_created", time_created) + _setter("time_modified", time_modified) + _setter("time_rule_locked", time_rule_locked) @property @pulumi.getter(name="displayName") @@ -922,8 +1111,19 @@ class GetBucketSummariesBucketSummaryRetentionRuleDurationResult(dict): def __init__(__self__, *, time_amount: str, time_unit: str): - pulumi.set(__self__, "time_amount", time_amount) - pulumi.set(__self__, "time_unit", time_unit) + GetBucketSummariesBucketSummaryRetentionRuleDurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + time_amount=time_amount, + time_unit=time_unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + time_amount: str, + time_unit: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("time_amount", time_amount) + _setter("time_unit", time_unit) @property @pulumi.getter(name="timeAmount") @@ -945,10 +1145,23 @@ def __init__(__self__, *, """ :param str name: The name of the bucket. Avoid entering confidential information. Example: my-new-bucket1 """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetBucketSummariesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -988,13 +1201,34 @@ def __init__(__self__, *, :param str time_amount: Specifies the age of objects to apply the rule to. The timeAmount is interpreted in units defined by the timeUnit parameter, and is calculated in relation to each object's Last-Modified time. :param str time_unit: The unit that should be used to interpret timeAmount. Days are defined as starting and ending at midnight UTC. Years are defined as 365.2425 days long and likewise round up to the next midnight UTC. """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "object_name_filters", object_name_filters) - pulumi.set(__self__, "target", target) - pulumi.set(__self__, "time_amount", time_amount) - pulumi.set(__self__, "time_unit", time_unit) + GetObjectLifecyclePolicyRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + is_enabled=is_enabled, + name=name, + object_name_filters=object_name_filters, + target=target, + time_amount=time_amount, + time_unit=time_unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: str, + is_enabled: bool, + name: str, + object_name_filters: Sequence['outputs.GetObjectLifecyclePolicyRuleObjectNameFilterResult'], + target: str, + time_amount: str, + time_unit: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("is_enabled", is_enabled) + _setter("name", name) + _setter("object_name_filters", object_name_filters) + _setter("target", target) + _setter("time_amount", time_amount) + _setter("time_unit", time_unit) @property @pulumi.getter @@ -1064,9 +1298,22 @@ def __init__(__self__, *, :param Sequence[str] inclusion_patterns: An array of glob patterns to match the object names to include. An empty array includes all objects in the bucket. Exclusion patterns take precedence over inclusion patterns. A Glob pattern is a sequence of characters to match text. Any character that appears in the pattern, other than the special pattern characters described below, matches itself. Glob patterns must be between 1 and 1024 characters. :param Sequence[str] inclusion_prefixes: An array of object name prefixes that the rule will apply to. An empty array means to include all objects. """ - pulumi.set(__self__, "exclusion_patterns", exclusion_patterns) - pulumi.set(__self__, "inclusion_patterns", inclusion_patterns) - pulumi.set(__self__, "inclusion_prefixes", inclusion_prefixes) + GetObjectLifecyclePolicyRuleObjectNameFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + exclusion_patterns=exclusion_patterns, + inclusion_patterns=inclusion_patterns, + inclusion_prefixes=inclusion_prefixes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + exclusion_patterns: Sequence[str], + inclusion_patterns: Sequence[str], + inclusion_prefixes: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("exclusion_patterns", exclusion_patterns) + _setter("inclusion_patterns", inclusion_patterns) + _setter("inclusion_prefixes", inclusion_prefixes) @property @pulumi.getter(name="exclusionPatterns") @@ -1102,10 +1349,23 @@ def __init__(__self__, *, """ :param str name: The name of the object. Avoid entering confidential information. Example: test/object1.log """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetObjectVersionsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1151,16 +1411,43 @@ def __init__(__self__, *, :param str time_modified: The date and time the object was modified, as described in [RFC 2616](https://tools.ietf.org/rfc/rfc2616#section-14.29). :param str version_id: VersionId of the object. """ - pulumi.set(__self__, "archival_state", archival_state) - pulumi.set(__self__, "etag", etag) - pulumi.set(__self__, "is_delete_marker", is_delete_marker) - pulumi.set(__self__, "md5", md5) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "size", size) - pulumi.set(__self__, "storage_tier", storage_tier) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_modified", time_modified) - pulumi.set(__self__, "version_id", version_id) + GetObjectVersionsItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + archival_state=archival_state, + etag=etag, + is_delete_marker=is_delete_marker, + md5=md5, + name=name, + size=size, + storage_tier=storage_tier, + time_created=time_created, + time_modified=time_modified, + version_id=version_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + archival_state: str, + etag: str, + is_delete_marker: bool, + md5: str, + name: str, + size: str, + storage_tier: str, + time_created: str, + time_modified: str, + version_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("archival_state", archival_state) + _setter("etag", etag) + _setter("is_delete_marker", is_delete_marker) + _setter("md5", md5) + _setter("name", name) + _setter("size", size) + _setter("storage_tier", storage_tier) + _setter("time_created", time_created) + _setter("time_modified", time_modified) + _setter("version_id", version_id) @property @pulumi.getter(name="archivalState") @@ -1252,10 +1539,23 @@ def __init__(__self__, *, """ :param str name: The name of the object. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetObjectsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1297,14 +1597,37 @@ def __init__(__self__, *, :param str time_created: The date and time the object was created, as described in [RFC 2616](https://tools.ietf.org/html/rfc2616#section-14.29). :param str time_modified: The date and time the object was modified, as described in [RFC 2616](https://tools.ietf.org/rfc/rfc2616#section-14.29). """ - pulumi.set(__self__, "archival_state", archival_state) - pulumi.set(__self__, "etag", etag) - pulumi.set(__self__, "md5", md5) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "size", size) - pulumi.set(__self__, "storage_tier", storage_tier) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_modified", time_modified) + GetObjectsObjectResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + archival_state=archival_state, + etag=etag, + md5=md5, + name=name, + size=size, + storage_tier=storage_tier, + time_created=time_created, + time_modified=time_modified, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + archival_state: str, + etag: str, + md5: str, + name: str, + size: str, + storage_tier: str, + time_created: str, + time_modified: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("archival_state", archival_state) + _setter("etag", etag) + _setter("md5", md5) + _setter("name", name) + _setter("size", size) + _setter("storage_tier", storage_tier) + _setter("time_created", time_created) + _setter("time_modified", time_modified) @property @pulumi.getter(name="archivalState") @@ -1378,10 +1701,23 @@ def __init__(__self__, *, """ :param str name: The user-provided name of the pre-authenticated request. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetPreauthrequestsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1431,19 +1767,52 @@ def __init__(__self__, *, :param str time_created: The date when the pre-authenticated request was created as per specification [RFC 3339](https://tools.ietf.org/html/rfc3339). :param str time_expires: The expiration date for the pre-authenticated request as per [RFC 3339](https://tools.ietf.org/html/rfc3339). After this date the pre-authenticated request will no longer be valid. """ - pulumi.set(__self__, "access_type", access_type) - pulumi.set(__self__, "access_uri", access_uri) - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "bucket_listing_action", bucket_listing_action) - pulumi.set(__self__, "full_path", full_path) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "object", object) - pulumi.set(__self__, "object_name", object_name) - pulumi.set(__self__, "par_id", par_id) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_expires", time_expires) + GetPreauthrequestsPreauthenticatedRequestResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + access_type=access_type, + access_uri=access_uri, + bucket=bucket, + bucket_listing_action=bucket_listing_action, + full_path=full_path, + id=id, + name=name, + namespace=namespace, + object=object, + object_name=object_name, + par_id=par_id, + time_created=time_created, + time_expires=time_expires, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access_type: str, + access_uri: str, + bucket: str, + bucket_listing_action: str, + full_path: str, + id: str, + name: str, + namespace: str, + object: str, + object_name: str, + par_id: str, + time_created: str, + time_expires: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("access_type", access_type) + _setter("access_uri", access_uri) + _setter("bucket", bucket) + _setter("bucket_listing_action", bucket_listing_action) + _setter("full_path", full_path) + _setter("id", id) + _setter("name", name) + _setter("namespace", namespace) + _setter("object", object) + _setter("object_name", object_name) + _setter("par_id", par_id) + _setter("time_created", time_created) + _setter("time_expires", time_expires) @property @pulumi.getter(name="accessType") @@ -1556,10 +1925,23 @@ def __init__(__self__, *, """ :param str name: The name of the policy. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetReplicationPoliciesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1606,17 +1988,46 @@ def __init__(__self__, *, :param str time_created: The date when the replication policy was created as per [RFC 3339](https://tools.ietf.org/html/rfc3339). :param str time_last_sync: Changes made to the source bucket before this time has been replicated. """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "delete_object_in_destination_bucket", delete_object_in_destination_bucket) - pulumi.set(__self__, "destination_bucket_name", destination_bucket_name) - pulumi.set(__self__, "destination_region_name", destination_region_name) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "status_message", status_message) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_last_sync", time_last_sync) + GetReplicationPoliciesReplicationPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + delete_object_in_destination_bucket=delete_object_in_destination_bucket, + destination_bucket_name=destination_bucket_name, + destination_region_name=destination_region_name, + id=id, + name=name, + namespace=namespace, + status=status, + status_message=status_message, + time_created=time_created, + time_last_sync=time_last_sync, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: str, + delete_object_in_destination_bucket: str, + destination_bucket_name: str, + destination_region_name: str, + id: str, + name: str, + namespace: str, + status: str, + status_message: str, + time_created: str, + time_last_sync: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("delete_object_in_destination_bucket", delete_object_in_destination_bucket) + _setter("destination_bucket_name", destination_bucket_name) + _setter("destination_region_name", destination_region_name) + _setter("id", id) + _setter("name", name) + _setter("namespace", namespace) + _setter("status", status) + _setter("status_message", status_message) + _setter("time_created", time_created) + _setter("time_last_sync", time_last_sync) @property @pulumi.getter @@ -1713,10 +2124,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetReplicationSourcesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1745,9 +2169,22 @@ def __init__(__self__, *, :param str source_bucket_name: The source bucket replicating data from. :param str source_region_name: The source region replicating data from, for example "us-ashburn-1". """ - pulumi.set(__self__, "policy_name", policy_name) - pulumi.set(__self__, "source_bucket_name", source_bucket_name) - pulumi.set(__self__, "source_region_name", source_region_name) + GetReplicationSourcesReplicationSourceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + policy_name=policy_name, + source_bucket_name=source_bucket_name, + source_region_name=source_region_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + policy_name: str, + source_bucket_name: str, + source_region_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("policy_name", policy_name) + _setter("source_bucket_name", source_bucket_name) + _setter("source_region_name", source_region_name) @property @pulumi.getter(name="policyName") diff --git a/sdk/python/pulumi_oci/objectstorage/preauthrequest.py b/sdk/python/pulumi_oci/objectstorage/preauthrequest.py index 7d677430e1..bd4de78252 100644 --- a/sdk/python/pulumi_oci/objectstorage/preauthrequest.py +++ b/sdk/python/pulumi_oci/objectstorage/preauthrequest.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['PreauthrequestArgs', 'Preauthrequest'] @@ -37,21 +37,44 @@ def __init__(__self__, *, :param pulumi.Input[str] object: Deprecated. Instead use `object_name`. Requests that include both `object` and `object_name` will be rejected. (Optional) The name of the object that is being granted access to by the pre-authenticated request. Avoid entering confidential information. The object name can be null and if so, the pre-authenticated request grants access to the entire bucket if the access type allows that. The object name can be a prefix as well, in that case pre-authenticated request grants access to all the objects within the bucket starting with that prefix provided that we have the correct access type. :param pulumi.Input[str] object_name: The name of the object that is being granted access to by the pre-authenticated request. Avoid entering confidential information. The object name can be null and if so, the pre-authenticated request grants access to the entire bucket if the access type allows that. The object name can be a prefix as well, in that case pre-authenticated request grants access to all the objects within the bucket starting with that prefix provided that we have the correct access type. """ - pulumi.set(__self__, "access_type", access_type) - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "time_expires", time_expires) + PreauthrequestArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + access_type=access_type, + bucket=bucket, + namespace=namespace, + time_expires=time_expires, + bucket_listing_action=bucket_listing_action, + name=name, + object=object, + object_name=object_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access_type: pulumi.Input[str], + bucket: pulumi.Input[str], + namespace: pulumi.Input[str], + time_expires: pulumi.Input[str], + bucket_listing_action: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + object: Optional[pulumi.Input[str]] = None, + object_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("access_type", access_type) + _setter("bucket", bucket) + _setter("namespace", namespace) + _setter("time_expires", time_expires) if bucket_listing_action is not None: - pulumi.set(__self__, "bucket_listing_action", bucket_listing_action) + _setter("bucket_listing_action", bucket_listing_action) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if object is not None: warnings.warn("""The 'object' field has been deprecated. Please use 'object_name' instead.""", DeprecationWarning) pulumi.log.warn("""object is deprecated: The 'object' field has been deprecated. Please use 'object_name' instead.""") if object is not None: - pulumi.set(__self__, "object", object) + _setter("object", object) if object_name is not None: - pulumi.set(__self__, "object_name", object_name) + _setter("object_name", object_name) @property @pulumi.getter(name="accessType") @@ -191,33 +214,64 @@ def __init__(__self__, *, ** 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 """ + _PreauthrequestState._configure( + lambda key, value: pulumi.set(__self__, key, value), + access_type=access_type, + access_uri=access_uri, + bucket=bucket, + bucket_listing_action=bucket_listing_action, + full_path=full_path, + name=name, + namespace=namespace, + object=object, + object_name=object_name, + par_id=par_id, + time_created=time_created, + time_expires=time_expires, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access_type: Optional[pulumi.Input[str]] = None, + access_uri: Optional[pulumi.Input[str]] = None, + bucket: Optional[pulumi.Input[str]] = None, + bucket_listing_action: Optional[pulumi.Input[str]] = None, + full_path: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + namespace: Optional[pulumi.Input[str]] = None, + object: Optional[pulumi.Input[str]] = None, + object_name: Optional[pulumi.Input[str]] = None, + par_id: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_expires: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if access_type is not None: - pulumi.set(__self__, "access_type", access_type) + _setter("access_type", access_type) if access_uri is not None: - pulumi.set(__self__, "access_uri", access_uri) + _setter("access_uri", access_uri) if bucket is not None: - pulumi.set(__self__, "bucket", bucket) + _setter("bucket", bucket) if bucket_listing_action is not None: - pulumi.set(__self__, "bucket_listing_action", bucket_listing_action) + _setter("bucket_listing_action", bucket_listing_action) if full_path is not None: - pulumi.set(__self__, "full_path", full_path) + _setter("full_path", full_path) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if object is not None: warnings.warn("""The 'object' field has been deprecated. Please use 'object_name' instead.""", DeprecationWarning) pulumi.log.warn("""object is deprecated: The 'object' field has been deprecated. Please use 'object_name' instead.""") if object is not None: - pulumi.set(__self__, "object", object) + _setter("object", object) if object_name is not None: - pulumi.set(__self__, "object_name", object_name) + _setter("object_name", object_name) if par_id is not None: - pulumi.set(__self__, "par_id", par_id) + _setter("par_id", par_id) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_expires is not None: - pulumi.set(__self__, "time_expires", time_expires) + _setter("time_expires", time_expires) @property @pulumi.getter(name="accessType") @@ -472,6 +526,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + PreauthrequestArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -505,9 +563,6 @@ def _internal_init(__self__, if namespace is None and not opts.urn: raise TypeError("Missing required property 'namespace'") __props__.__dict__["namespace"] = namespace - if object is not None and not opts.urn: - warnings.warn("""The 'object' field has been deprecated. Please use 'object_name' instead.""", DeprecationWarning) - pulumi.log.warn("""object is deprecated: The 'object' field has been deprecated. Please use 'object_name' instead.""") __props__.__dict__["object"] = object __props__.__dict__["object_name"] = object_name if time_expires is None and not opts.urn: diff --git a/sdk/python/pulumi_oci/objectstorage/replication_policy.py b/sdk/python/pulumi_oci/objectstorage/replication_policy.py index c1e23defcd..2f81bb0da9 100644 --- a/sdk/python/pulumi_oci/objectstorage/replication_policy.py +++ b/sdk/python/pulumi_oci/objectstorage/replication_policy.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['ReplicationPolicyArgs', 'ReplicationPolicy'] @@ -32,17 +32,36 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] name: The name of the policy. Avoid entering confidential information. """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "destination_bucket_name", destination_bucket_name) - pulumi.set(__self__, "destination_region_name", destination_region_name) - pulumi.set(__self__, "namespace", namespace) + ReplicationPolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + destination_bucket_name=destination_bucket_name, + destination_region_name=destination_region_name, + namespace=namespace, + delete_object_in_destination_bucket=delete_object_in_destination_bucket, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: pulumi.Input[str], + destination_bucket_name: pulumi.Input[str], + destination_region_name: pulumi.Input[str], + namespace: pulumi.Input[str], + delete_object_in_destination_bucket: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("destination_bucket_name", destination_bucket_name) + _setter("destination_region_name", destination_region_name) + _setter("namespace", namespace) if delete_object_in_destination_bucket is not None: warnings.warn("""The 'delete_object_in_destination_bucket' field has been deprecated. It is no longer supported.""", DeprecationWarning) pulumi.log.warn("""delete_object_in_destination_bucket is deprecated: The 'delete_object_in_destination_bucket' field has been deprecated. It is no longer supported.""") if delete_object_in_destination_bucket is not None: - pulumi.set(__self__, "delete_object_in_destination_bucket", delete_object_in_destination_bucket) + _setter("delete_object_in_destination_bucket", delete_object_in_destination_bucket) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -150,29 +169,56 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date when the replication policy was created as per [RFC 3339](https://tools.ietf.org/html/rfc3339). :param pulumi.Input[str] time_last_sync: Changes made to the source bucket before this time has been replicated. """ + _ReplicationPolicyState._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + delete_object_in_destination_bucket=delete_object_in_destination_bucket, + destination_bucket_name=destination_bucket_name, + destination_region_name=destination_region_name, + name=name, + namespace=namespace, + status=status, + status_message=status_message, + time_created=time_created, + time_last_sync=time_last_sync, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: Optional[pulumi.Input[str]] = None, + delete_object_in_destination_bucket: Optional[pulumi.Input[str]] = None, + destination_bucket_name: Optional[pulumi.Input[str]] = None, + destination_region_name: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + namespace: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[str]] = None, + status_message: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_last_sync: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if bucket is not None: - pulumi.set(__self__, "bucket", bucket) + _setter("bucket", bucket) if delete_object_in_destination_bucket is not None: warnings.warn("""The 'delete_object_in_destination_bucket' field has been deprecated. It is no longer supported.""", DeprecationWarning) pulumi.log.warn("""delete_object_in_destination_bucket is deprecated: The 'delete_object_in_destination_bucket' field has been deprecated. It is no longer supported.""") if delete_object_in_destination_bucket is not None: - pulumi.set(__self__, "delete_object_in_destination_bucket", delete_object_in_destination_bucket) + _setter("delete_object_in_destination_bucket", delete_object_in_destination_bucket) if destination_bucket_name is not None: - pulumi.set(__self__, "destination_bucket_name", destination_bucket_name) + _setter("destination_bucket_name", destination_bucket_name) if destination_region_name is not None: - pulumi.set(__self__, "destination_region_name", destination_region_name) + _setter("destination_region_name", destination_region_name) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if status_message is not None: - pulumi.set(__self__, "status_message", status_message) + _setter("status_message", status_message) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_last_sync is not None: - pulumi.set(__self__, "time_last_sync", time_last_sync) + _setter("time_last_sync", time_last_sync) @property @pulumi.getter @@ -391,6 +437,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ReplicationPolicyArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -414,9 +464,6 @@ def _internal_init(__self__, if bucket is None and not opts.urn: raise TypeError("Missing required property 'bucket'") __props__.__dict__["bucket"] = bucket - if delete_object_in_destination_bucket is not None and not opts.urn: - warnings.warn("""The 'delete_object_in_destination_bucket' field has been deprecated. It is no longer supported.""", DeprecationWarning) - pulumi.log.warn("""delete_object_in_destination_bucket is deprecated: The 'delete_object_in_destination_bucket' field has been deprecated. It is no longer supported.""") __props__.__dict__["delete_object_in_destination_bucket"] = delete_object_in_destination_bucket if destination_bucket_name is None and not opts.urn: raise TypeError("Missing required property 'destination_bucket_name'") diff --git a/sdk/python/pulumi_oci/objectstorage/storage_object.py b/sdk/python/pulumi_oci/objectstorage/storage_object.py index 8e14bed81a..8e2af6601e 100644 --- a/sdk/python/pulumi_oci/objectstorage/storage_object.py +++ b/sdk/python/pulumi_oci/objectstorage/storage_object.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -55,35 +55,74 @@ def __init__(__self__, *, Note: To enable object copy, you must authorize the service to manage objects on your behalf. :param pulumi.Input[str] storage_tier: (Updatable) The storage tier that the object should be stored in. If not specified, the object will be stored in the same storage tier as the bucket. """ - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "object", object) + StorageObjectArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + namespace=namespace, + object=object, + cache_control=cache_control, + content=content, + content_disposition=content_disposition, + content_encoding=content_encoding, + content_language=content_language, + content_md5=content_md5, + content_type=content_type, + delete_all_object_versions=delete_all_object_versions, + metadata=metadata, + opc_sse_kms_key_id=opc_sse_kms_key_id, + source=source, + source_uri_details=source_uri_details, + storage_tier=storage_tier, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: pulumi.Input[str], + namespace: pulumi.Input[str], + object: pulumi.Input[str], + cache_control: Optional[pulumi.Input[str]] = None, + content: Optional[pulumi.Input[str]] = None, + content_disposition: Optional[pulumi.Input[str]] = None, + content_encoding: Optional[pulumi.Input[str]] = None, + content_language: Optional[pulumi.Input[str]] = None, + content_md5: Optional[pulumi.Input[str]] = None, + content_type: Optional[pulumi.Input[str]] = None, + delete_all_object_versions: Optional[pulumi.Input[bool]] = None, + metadata: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opc_sse_kms_key_id: Optional[pulumi.Input[str]] = None, + source: Optional[pulumi.Input[str]] = None, + source_uri_details: Optional[pulumi.Input['StorageObjectSourceUriDetailsArgs']] = None, + storage_tier: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bucket", bucket) + _setter("namespace", namespace) + _setter("object", object) if cache_control is not None: - pulumi.set(__self__, "cache_control", cache_control) + _setter("cache_control", cache_control) if content is not None: - pulumi.set(__self__, "content", content) + _setter("content", content) if content_disposition is not None: - pulumi.set(__self__, "content_disposition", content_disposition) + _setter("content_disposition", content_disposition) if content_encoding is not None: - pulumi.set(__self__, "content_encoding", content_encoding) + _setter("content_encoding", content_encoding) if content_language is not None: - pulumi.set(__self__, "content_language", content_language) + _setter("content_language", content_language) if content_md5 is not None: - pulumi.set(__self__, "content_md5", content_md5) + _setter("content_md5", content_md5) if content_type is not None: - pulumi.set(__self__, "content_type", content_type) + _setter("content_type", content_type) if delete_all_object_versions is not None: - pulumi.set(__self__, "delete_all_object_versions", delete_all_object_versions) + _setter("delete_all_object_versions", delete_all_object_versions) if metadata is not None: - pulumi.set(__self__, "metadata", metadata) + _setter("metadata", metadata) if opc_sse_kms_key_id is not None: - pulumi.set(__self__, "opc_sse_kms_key_id", opc_sse_kms_key_id) + _setter("opc_sse_kms_key_id", opc_sse_kms_key_id) if source is not None: - pulumi.set(__self__, "source", source) + _setter("source", source) if source_uri_details is not None: - pulumi.set(__self__, "source_uri_details", source_uri_details) + _setter("source_uri_details", source_uri_details) if storage_tier is not None: - pulumi.set(__self__, "storage_tier", storage_tier) + _setter("storage_tier", storage_tier) @property @pulumi.getter @@ -329,46 +368,93 @@ def __init__(__self__, *, Note: To enable object copy, you must authorize the service to manage objects on your behalf. :param pulumi.Input[str] storage_tier: (Updatable) The storage tier that the object should be stored in. If not specified, the object will be stored in the same storage tier as the bucket. """ + _StorageObjectState._configure( + lambda key, value: pulumi.set(__self__, key, value), + bucket=bucket, + cache_control=cache_control, + content=content, + content_disposition=content_disposition, + content_encoding=content_encoding, + content_language=content_language, + content_length=content_length, + content_md5=content_md5, + content_type=content_type, + delete_all_object_versions=delete_all_object_versions, + metadata=metadata, + namespace=namespace, + object=object, + opc_sse_kms_key_id=opc_sse_kms_key_id, + source=source, + source_uri_details=source_uri_details, + state=state, + storage_tier=storage_tier, + version_id=version_id, + work_request_id=work_request_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bucket: Optional[pulumi.Input[str]] = None, + cache_control: Optional[pulumi.Input[str]] = None, + content: Optional[pulumi.Input[str]] = None, + content_disposition: Optional[pulumi.Input[str]] = None, + content_encoding: Optional[pulumi.Input[str]] = None, + content_language: Optional[pulumi.Input[str]] = None, + content_length: Optional[pulumi.Input[str]] = None, + content_md5: Optional[pulumi.Input[str]] = None, + content_type: Optional[pulumi.Input[str]] = None, + delete_all_object_versions: Optional[pulumi.Input[bool]] = None, + metadata: Optional[pulumi.Input[Mapping[str, Any]]] = None, + namespace: Optional[pulumi.Input[str]] = None, + object: Optional[pulumi.Input[str]] = None, + opc_sse_kms_key_id: Optional[pulumi.Input[str]] = None, + source: Optional[pulumi.Input[str]] = None, + source_uri_details: Optional[pulumi.Input['StorageObjectSourceUriDetailsArgs']] = None, + state: Optional[pulumi.Input[str]] = None, + storage_tier: Optional[pulumi.Input[str]] = None, + version_id: Optional[pulumi.Input[str]] = None, + work_request_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if bucket is not None: - pulumi.set(__self__, "bucket", bucket) + _setter("bucket", bucket) if cache_control is not None: - pulumi.set(__self__, "cache_control", cache_control) + _setter("cache_control", cache_control) if content is not None: - pulumi.set(__self__, "content", content) + _setter("content", content) if content_disposition is not None: - pulumi.set(__self__, "content_disposition", content_disposition) + _setter("content_disposition", content_disposition) if content_encoding is not None: - pulumi.set(__self__, "content_encoding", content_encoding) + _setter("content_encoding", content_encoding) if content_language is not None: - pulumi.set(__self__, "content_language", content_language) + _setter("content_language", content_language) if content_length is not None: - pulumi.set(__self__, "content_length", content_length) + _setter("content_length", content_length) if content_md5 is not None: - pulumi.set(__self__, "content_md5", content_md5) + _setter("content_md5", content_md5) if content_type is not None: - pulumi.set(__self__, "content_type", content_type) + _setter("content_type", content_type) if delete_all_object_versions is not None: - pulumi.set(__self__, "delete_all_object_versions", delete_all_object_versions) + _setter("delete_all_object_versions", delete_all_object_versions) if metadata is not None: - pulumi.set(__self__, "metadata", metadata) + _setter("metadata", metadata) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if object is not None: - pulumi.set(__self__, "object", object) + _setter("object", object) if opc_sse_kms_key_id is not None: - pulumi.set(__self__, "opc_sse_kms_key_id", opc_sse_kms_key_id) + _setter("opc_sse_kms_key_id", opc_sse_kms_key_id) if source is not None: - pulumi.set(__self__, "source", source) + _setter("source", source) if source_uri_details is not None: - pulumi.set(__self__, "source_uri_details", source_uri_details) + _setter("source_uri_details", source_uri_details) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if storage_tier is not None: - pulumi.set(__self__, "storage_tier", storage_tier) + _setter("storage_tier", storage_tier) if version_id is not None: - pulumi.set(__self__, "version_id", version_id) + _setter("version_id", version_id) if work_request_id is not None: - pulumi.set(__self__, "work_request_id", work_request_id) + _setter("work_request_id", work_request_id) @property @pulumi.getter @@ -751,6 +837,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + StorageObjectArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -801,6 +891,11 @@ def _internal_init(__self__, __props__.__dict__["object"] = object __props__.__dict__["opc_sse_kms_key_id"] = opc_sse_kms_key_id __props__.__dict__["source"] = source + if source_uri_details is not None and not isinstance(source_uri_details, StorageObjectSourceUriDetailsArgs): + source_uri_details = source_uri_details or {} + def _setter(key, value): + source_uri_details[key] = value + StorageObjectSourceUriDetailsArgs._configure(_setter, **source_uri_details) __props__.__dict__["source_uri_details"] = source_uri_details __props__.__dict__["storage_tier"] = storage_tier __props__.__dict__["content_length"] = None diff --git a/sdk/python/pulumi_oci/oce/_inputs.py b/sdk/python/pulumi_oci/oce/_inputs.py index 211c0acb8c..f39db8d8c0 100644 --- a/sdk/python/pulumi_oci/oce/_inputs.py +++ b/sdk/python/pulumi_oci/oce/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -22,10 +22,23 @@ def __init__(__self__, *, """ :param str name: OceInstance Name """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetOceInstancesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/oce/get_oce_instance.py b/sdk/python/pulumi_oci/oce/get_oce_instance.py index 66a3e42bf1..050798f5bf 100644 --- a/sdk/python/pulumi_oci/oce/get_oce_instance.py +++ b/sdk/python/pulumi_oci/oce/get_oce_instance.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/oce/get_oce_instances.py b/sdk/python/pulumi_oci/oce/get_oce_instances.py index f46cfe3df1..c620af3afa 100644 --- a/sdk/python/pulumi_oci/oce/get_oce_instances.py +++ b/sdk/python/pulumi_oci/oce/get_oce_instances.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/oce/instance.py b/sdk/python/pulumi_oci/oce/instance.py index 460862bb12..c998bffe77 100644 --- a/sdk/python/pulumi_oci/oce/instance.py +++ b/sdk/python/pulumi_oci/oce/instance.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['InstanceArgs', 'Instance'] @@ -55,34 +55,75 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "admin_email", admin_email) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "idcs_access_token", idcs_access_token) - pulumi.set(__self__, "object_storage_namespace", object_storage_namespace) - pulumi.set(__self__, "tenancy_id", tenancy_id) - pulumi.set(__self__, "tenancy_name", tenancy_name) + InstanceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + admin_email=admin_email, + compartment_id=compartment_id, + idcs_access_token=idcs_access_token, + object_storage_namespace=object_storage_namespace, + tenancy_id=tenancy_id, + tenancy_name=tenancy_name, + add_on_features=add_on_features, + defined_tags=defined_tags, + description=description, + dr_region=dr_region, + freeform_tags=freeform_tags, + instance_access_type=instance_access_type, + instance_license_type=instance_license_type, + instance_usage_type=instance_usage_type, + name=name, + upgrade_schedule=upgrade_schedule, + waf_primary_domain=waf_primary_domain, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + admin_email: pulumi.Input[str], + compartment_id: pulumi.Input[str], + idcs_access_token: pulumi.Input[str], + object_storage_namespace: pulumi.Input[str], + tenancy_id: pulumi.Input[str], + tenancy_name: pulumi.Input[str], + add_on_features: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + dr_region: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + instance_access_type: Optional[pulumi.Input[str]] = None, + instance_license_type: Optional[pulumi.Input[str]] = None, + instance_usage_type: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + upgrade_schedule: Optional[pulumi.Input[str]] = None, + waf_primary_domain: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("admin_email", admin_email) + _setter("compartment_id", compartment_id) + _setter("idcs_access_token", idcs_access_token) + _setter("object_storage_namespace", object_storage_namespace) + _setter("tenancy_id", tenancy_id) + _setter("tenancy_name", tenancy_name) if add_on_features is not None: - pulumi.set(__self__, "add_on_features", add_on_features) + _setter("add_on_features", add_on_features) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if dr_region is not None: - pulumi.set(__self__, "dr_region", dr_region) + _setter("dr_region", dr_region) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if instance_access_type is not None: - pulumi.set(__self__, "instance_access_type", instance_access_type) + _setter("instance_access_type", instance_access_type) if instance_license_type is not None: - pulumi.set(__self__, "instance_license_type", instance_license_type) + _setter("instance_license_type", instance_license_type) if instance_usage_type is not None: - pulumi.set(__self__, "instance_usage_type", instance_usage_type) + _setter("instance_usage_type", instance_usage_type) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if upgrade_schedule is not None: - pulumi.set(__self__, "upgrade_schedule", upgrade_schedule) + _setter("upgrade_schedule", upgrade_schedule) if waf_primary_domain is not None: - pulumi.set(__self__, "waf_primary_domain", waf_primary_domain) + _setter("waf_primary_domain", waf_primary_domain) @property @pulumi.getter(name="adminEmail") @@ -355,58 +396,117 @@ def __init__(__self__, *, ** 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 """ + _InstanceState._configure( + lambda key, value: pulumi.set(__self__, key, value), + add_on_features=add_on_features, + admin_email=admin_email, + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + dr_region=dr_region, + freeform_tags=freeform_tags, + guid=guid, + idcs_access_token=idcs_access_token, + idcs_tenancy=idcs_tenancy, + instance_access_type=instance_access_type, + instance_license_type=instance_license_type, + instance_usage_type=instance_usage_type, + lifecycle_details=lifecycle_details, + name=name, + object_storage_namespace=object_storage_namespace, + service=service, + state=state, + state_message=state_message, + system_tags=system_tags, + tenancy_id=tenancy_id, + tenancy_name=tenancy_name, + time_created=time_created, + time_updated=time_updated, + upgrade_schedule=upgrade_schedule, + waf_primary_domain=waf_primary_domain, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + add_on_features: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + admin_email: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + dr_region: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + guid: Optional[pulumi.Input[str]] = None, + idcs_access_token: Optional[pulumi.Input[str]] = None, + idcs_tenancy: Optional[pulumi.Input[str]] = None, + instance_access_type: Optional[pulumi.Input[str]] = None, + instance_license_type: Optional[pulumi.Input[str]] = None, + instance_usage_type: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + object_storage_namespace: Optional[pulumi.Input[str]] = None, + service: Optional[pulumi.Input[Mapping[str, Any]]] = None, + state: Optional[pulumi.Input[str]] = None, + state_message: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + tenancy_id: Optional[pulumi.Input[str]] = None, + tenancy_name: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + upgrade_schedule: Optional[pulumi.Input[str]] = None, + waf_primary_domain: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if add_on_features is not None: - pulumi.set(__self__, "add_on_features", add_on_features) + _setter("add_on_features", add_on_features) if admin_email is not None: - pulumi.set(__self__, "admin_email", admin_email) + _setter("admin_email", admin_email) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if dr_region is not None: - pulumi.set(__self__, "dr_region", dr_region) + _setter("dr_region", dr_region) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if guid is not None: - pulumi.set(__self__, "guid", guid) + _setter("guid", guid) if idcs_access_token is not None: - pulumi.set(__self__, "idcs_access_token", idcs_access_token) + _setter("idcs_access_token", idcs_access_token) if idcs_tenancy is not None: - pulumi.set(__self__, "idcs_tenancy", idcs_tenancy) + _setter("idcs_tenancy", idcs_tenancy) if instance_access_type is not None: - pulumi.set(__self__, "instance_access_type", instance_access_type) + _setter("instance_access_type", instance_access_type) if instance_license_type is not None: - pulumi.set(__self__, "instance_license_type", instance_license_type) + _setter("instance_license_type", instance_license_type) if instance_usage_type is not None: - pulumi.set(__self__, "instance_usage_type", instance_usage_type) + _setter("instance_usage_type", instance_usage_type) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if object_storage_namespace is not None: - pulumi.set(__self__, "object_storage_namespace", object_storage_namespace) + _setter("object_storage_namespace", object_storage_namespace) if service is not None: - pulumi.set(__self__, "service", service) + _setter("service", service) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if state_message is not None: - pulumi.set(__self__, "state_message", state_message) + _setter("state_message", state_message) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if tenancy_id is not None: - pulumi.set(__self__, "tenancy_id", tenancy_id) + _setter("tenancy_id", tenancy_id) if tenancy_name is not None: - pulumi.set(__self__, "tenancy_name", tenancy_name) + _setter("tenancy_name", tenancy_name) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if upgrade_schedule is not None: - pulumi.set(__self__, "upgrade_schedule", upgrade_schedule) + _setter("upgrade_schedule", upgrade_schedule) if waf_primary_domain is not None: - pulumi.set(__self__, "waf_primary_domain", waf_primary_domain) + _setter("waf_primary_domain", waf_primary_domain) @property @pulumi.getter(name="addOnFeatures") @@ -872,6 +972,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + InstanceArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/oce/outputs.py b/sdk/python/pulumi_oci/oce/outputs.py index 76f5a41b56..551a88bdd4 100644 --- a/sdk/python/pulumi_oci/oce/outputs.py +++ b/sdk/python/pulumi_oci/oce/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -23,10 +23,23 @@ def __init__(__self__, *, """ :param str name: OceInstance Name """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetOceInstancesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -105,33 +118,94 @@ def __init__(__self__, *, :param str upgrade_schedule: Upgrade schedule type representing service to be upgraded immediately whenever latest version is released or delay upgrade of the service to previous released version :param str waf_primary_domain: Web Application Firewall(WAF) primary domain """ - pulumi.set(__self__, "add_on_features", add_on_features) - pulumi.set(__self__, "admin_email", admin_email) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "dr_region", dr_region) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "guid", guid) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "idcs_access_token", idcs_access_token) - pulumi.set(__self__, "idcs_tenancy", idcs_tenancy) - pulumi.set(__self__, "instance_access_type", instance_access_type) - pulumi.set(__self__, "instance_license_type", instance_license_type) - pulumi.set(__self__, "instance_usage_type", instance_usage_type) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "object_storage_namespace", object_storage_namespace) - pulumi.set(__self__, "service", service) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "state_message", state_message) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "tenancy_id", tenancy_id) - pulumi.set(__self__, "tenancy_name", tenancy_name) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "upgrade_schedule", upgrade_schedule) - pulumi.set(__self__, "waf_primary_domain", waf_primary_domain) + GetOceInstancesOceInstanceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + add_on_features=add_on_features, + admin_email=admin_email, + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + dr_region=dr_region, + freeform_tags=freeform_tags, + guid=guid, + id=id, + idcs_access_token=idcs_access_token, + idcs_tenancy=idcs_tenancy, + instance_access_type=instance_access_type, + instance_license_type=instance_license_type, + instance_usage_type=instance_usage_type, + lifecycle_details=lifecycle_details, + name=name, + object_storage_namespace=object_storage_namespace, + service=service, + state=state, + state_message=state_message, + system_tags=system_tags, + tenancy_id=tenancy_id, + tenancy_name=tenancy_name, + time_created=time_created, + time_updated=time_updated, + upgrade_schedule=upgrade_schedule, + waf_primary_domain=waf_primary_domain, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + add_on_features: Sequence[str], + admin_email: str, + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + dr_region: str, + freeform_tags: Mapping[str, Any], + guid: str, + id: str, + idcs_access_token: str, + idcs_tenancy: str, + instance_access_type: str, + instance_license_type: str, + instance_usage_type: str, + lifecycle_details: str, + name: str, + object_storage_namespace: str, + service: Mapping[str, Any], + state: str, + state_message: str, + system_tags: Mapping[str, Any], + tenancy_id: str, + tenancy_name: str, + time_created: str, + time_updated: str, + upgrade_schedule: str, + waf_primary_domain: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("add_on_features", add_on_features) + _setter("admin_email", admin_email) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("dr_region", dr_region) + _setter("freeform_tags", freeform_tags) + _setter("guid", guid) + _setter("id", id) + _setter("idcs_access_token", idcs_access_token) + _setter("idcs_tenancy", idcs_tenancy) + _setter("instance_access_type", instance_access_type) + _setter("instance_license_type", instance_license_type) + _setter("instance_usage_type", instance_usage_type) + _setter("lifecycle_details", lifecycle_details) + _setter("name", name) + _setter("object_storage_namespace", object_storage_namespace) + _setter("service", service) + _setter("state", state) + _setter("state_message", state_message) + _setter("system_tags", system_tags) + _setter("tenancy_id", tenancy_id) + _setter("tenancy_name", tenancy_name) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("upgrade_schedule", upgrade_schedule) + _setter("waf_primary_domain", waf_primary_domain) @property @pulumi.getter(name="addOnFeatures") diff --git a/sdk/python/pulumi_oci/ocvp/_inputs.py b/sdk/python/pulumi_oci/ocvp/_inputs.py index 7cdfbabc79..715d8626f6 100644 --- a/sdk/python/pulumi_oci/ocvp/_inputs.py +++ b/sdk/python/pulumi_oci/ocvp/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -32,10 +32,23 @@ def __init__(__self__, *, :param pulumi.Input[str] datastore_type: Type of the datastore. :param pulumi.Input[float] capacity: Size of the Block Storage Volume in GB. """ - pulumi.set(__self__, "block_volume_ids", block_volume_ids) - pulumi.set(__self__, "datastore_type", datastore_type) + SddcDatastoreArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + block_volume_ids=block_volume_ids, + datastore_type=datastore_type, + capacity=capacity, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + block_volume_ids: pulumi.Input[Sequence[pulumi.Input[str]]], + datastore_type: pulumi.Input[str], + capacity: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("block_volume_ids", block_volume_ids) + _setter("datastore_type", datastore_type) if capacity is not None: - pulumi.set(__self__, "capacity", capacity) + _setter("capacity", capacity) @property @pulumi.getter(name="blockVolumeIds") @@ -85,12 +98,25 @@ def __init__(__self__, *, :param pulumi.Input[str] status: status of HCX on-premise license. :param pulumi.Input[str] system_name: Name of the system that consumed the HCX on-premise license """ + SddcHcxOnPremLicenseArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + activation_key=activation_key, + status=status, + system_name=system_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + activation_key: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[str]] = None, + system_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if activation_key is not None: - pulumi.set(__self__, "activation_key", activation_key) + _setter("activation_key", activation_key) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if system_name is not None: - pulumi.set(__self__, "system_name", system_name) + _setter("system_name", system_name) @property @pulumi.getter(name="activationKey") @@ -138,10 +164,21 @@ def __init__(__self__, *, :param pulumi.Input[str] license_key: vSphere license key value. :param pulumi.Input[str] license_type: vSphere license type. """ + SddcUpgradeLicenseArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + license_key=license_key, + license_type=license_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + license_key: Optional[pulumi.Input[str]] = None, + license_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if license_key is not None: - pulumi.set(__self__, "license_key", license_key) + _setter("license_key", license_key) if license_type is not None: - pulumi.set(__self__, "license_type", license_type) + _setter("license_type", license_type) @property @pulumi.getter(name="licenseKey") @@ -177,10 +214,21 @@ def __init__(__self__, *, :param pulumi.Input[str] download_link: Binary object download link. :param pulumi.Input[str] link_description: Binary object description. """ + SddcVsphereUpgradeObjectArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + download_link=download_link, + link_description=link_description, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + download_link: Optional[pulumi.Input[str]] = None, + link_description: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if download_link is not None: - pulumi.set(__self__, "download_link", download_link) + _setter("download_link", download_link) if link_description is not None: - pulumi.set(__self__, "link_description", link_description) + _setter("link_description", link_description) @property @pulumi.getter(name="downloadLink") @@ -213,10 +261,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetExsiHostsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -252,10 +313,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSddcsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -294,10 +368,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the given name exactly. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSupportedHostShapesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -339,10 +426,23 @@ def __init__(__self__, *, """ :param str name: name of SKU """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSupportedSkusFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -381,10 +481,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSupportedVmwareSoftwareVersionsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/ocvp/esxi_host.py b/sdk/python/pulumi_oci/ocvp/esxi_host.py index 5edb61b074..5229ca4ada 100644 --- a/sdk/python/pulumi_oci/ocvp/esxi_host.py +++ b/sdk/python/pulumi_oci/ocvp/esxi_host.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['EsxiHostArgs', 'EsxiHost'] @@ -49,37 +49,71 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] freeform_tags: (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` :param pulumi.Input[float] host_ocpu_count: The OCPU count of the ESXi host. :param pulumi.Input[str] host_shape_name: The compute shape name of the ESXi host. [ListSupportedHostShapes](https://docs.cloud.oracle.com/iaas/api/#/en/vmware/20200501/SupportedHostShapes/ListSupportedHostShapes). - :param pulumi.Input[str] next_sku: The billing option to switch to after the current billing cycle ends. If `nextSku` is null or empty, `currentSku` continues to the next billing cycle. [ListSupportedSkus](https://docs.cloud.oracle.com/iaas/api/#/en/vmware/20200501/SupportedSkuSummary/ListSupportedSkus). :param pulumi.Input[str] non_upgraded_esxi_host_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ESXi host that will be upgraded. This is an optional parameter. If this parameter is specified, an ESXi host with the new software version is created to replace the original one, and the `nonUpgradedEsxiHostId` field is updated in the newly created Esxi host. See [Upgrading VMware Software](https://docs.cloud.oracle.com/iaas/Content/VMware/Concepts/upgrade.htm) for more information. :param pulumi.Input[str] swap_billing_host_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the active ESXi Host to swap billing with current host. """ - pulumi.set(__self__, "sddc_id", sddc_id) + EsxiHostArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + sddc_id=sddc_id, + billing_donor_host_id=billing_donor_host_id, + capacity_reservation_id=capacity_reservation_id, + compute_availability_domain=compute_availability_domain, + current_sku=current_sku, + defined_tags=defined_tags, + display_name=display_name, + failed_esxi_host_id=failed_esxi_host_id, + freeform_tags=freeform_tags, + host_ocpu_count=host_ocpu_count, + host_shape_name=host_shape_name, + next_sku=next_sku, + non_upgraded_esxi_host_id=non_upgraded_esxi_host_id, + swap_billing_host_id=swap_billing_host_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + sddc_id: pulumi.Input[str], + billing_donor_host_id: Optional[pulumi.Input[str]] = None, + capacity_reservation_id: Optional[pulumi.Input[str]] = None, + compute_availability_domain: Optional[pulumi.Input[str]] = None, + current_sku: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + failed_esxi_host_id: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + host_ocpu_count: Optional[pulumi.Input[float]] = None, + host_shape_name: Optional[pulumi.Input[str]] = None, + next_sku: Optional[pulumi.Input[str]] = None, + non_upgraded_esxi_host_id: Optional[pulumi.Input[str]] = None, + swap_billing_host_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("sddc_id", sddc_id) if billing_donor_host_id is not None: - pulumi.set(__self__, "billing_donor_host_id", billing_donor_host_id) + _setter("billing_donor_host_id", billing_donor_host_id) if capacity_reservation_id is not None: - pulumi.set(__self__, "capacity_reservation_id", capacity_reservation_id) + _setter("capacity_reservation_id", capacity_reservation_id) if compute_availability_domain is not None: - pulumi.set(__self__, "compute_availability_domain", compute_availability_domain) + _setter("compute_availability_domain", compute_availability_domain) if current_sku is not None: - pulumi.set(__self__, "current_sku", current_sku) + _setter("current_sku", current_sku) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if failed_esxi_host_id is not None: - pulumi.set(__self__, "failed_esxi_host_id", failed_esxi_host_id) + _setter("failed_esxi_host_id", failed_esxi_host_id) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if host_ocpu_count is not None: - pulumi.set(__self__, "host_ocpu_count", host_ocpu_count) + _setter("host_ocpu_count", host_ocpu_count) if host_shape_name is not None: - pulumi.set(__self__, "host_shape_name", host_shape_name) + _setter("host_shape_name", host_shape_name) if next_sku is not None: - pulumi.set(__self__, "next_sku", next_sku) + _setter("next_sku", next_sku) if non_upgraded_esxi_host_id is not None: - pulumi.set(__self__, "non_upgraded_esxi_host_id", non_upgraded_esxi_host_id) + _setter("non_upgraded_esxi_host_id", non_upgraded_esxi_host_id) if swap_billing_host_id is not None: - pulumi.set(__self__, "swap_billing_host_id", swap_billing_host_id) + _setter("swap_billing_host_id", swap_billing_host_id) @property @pulumi.getter(name="sddcId") @@ -224,9 +258,6 @@ def host_shape_name(self, value: Optional[pulumi.Input[str]]): @property @pulumi.getter(name="nextSku") def next_sku(self) -> Optional[pulumi.Input[str]]: - """ - The billing option to switch to after the current billing cycle ends. If `nextSku` is null or empty, `currentSku` continues to the next billing cycle. [ListSupportedSkus](https://docs.cloud.oracle.com/iaas/api/#/en/vmware/20200501/SupportedSkuSummary/ListSupportedSkus). - """ return pulumi.get(self, "next_sku") @next_sku.setter @@ -309,7 +340,6 @@ def __init__(__self__, *, :param pulumi.Input[str] host_shape_name: The compute shape name of the ESXi host. [ListSupportedHostShapes](https://docs.cloud.oracle.com/iaas/api/#/en/vmware/20200501/SupportedHostShapes/ListSupportedHostShapes). :param pulumi.Input[bool] is_billing_continuation_in_progress: Indicates whether this host is in the progress of billing continuation. :param pulumi.Input[bool] is_billing_swapping_in_progress: Indicates whether this host is in the progress of swapping billing. - :param pulumi.Input[str] next_sku: The billing option to switch to after the current billing cycle ends. If `nextSku` is null or empty, `currentSku` continues to the next billing cycle. [ListSupportedSkus](https://docs.cloud.oracle.com/iaas/api/#/en/vmware/20200501/SupportedSkuSummary/ListSupportedSkus). :param pulumi.Input[str] non_upgraded_esxi_host_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ESXi host that will be upgraded. This is an optional parameter. If this parameter is specified, an ESXi host with the new software version is created to replace the original one, and the `nonUpgradedEsxiHostId` field is updated in the newly created Esxi host. See [Upgrading VMware Software](https://docs.cloud.oracle.com/iaas/Content/VMware/Concepts/upgrade.htm) for more information. :param pulumi.Input[str] replacement_esxi_host_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the esxi host that is newly created to replace the failed node. :param pulumi.Input[str] sddc_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the SDDC to add the ESXi host to. @@ -324,58 +354,117 @@ def __init__(__self__, *, :param pulumi.Input[str] upgraded_replacement_esxi_host_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ESXi host that is newly created to upgrade the original host. :param pulumi.Input[str] vmware_software_version: The version of VMware software that Oracle Cloud VMware Solution installed on the ESXi hosts. """ + _EsxiHostState._configure( + lambda key, value: pulumi.set(__self__, key, value), + billing_contract_end_date=billing_contract_end_date, + billing_donor_host_id=billing_donor_host_id, + capacity_reservation_id=capacity_reservation_id, + compartment_id=compartment_id, + compute_availability_domain=compute_availability_domain, + compute_instance_id=compute_instance_id, + current_sku=current_sku, + defined_tags=defined_tags, + display_name=display_name, + failed_esxi_host_id=failed_esxi_host_id, + freeform_tags=freeform_tags, + grace_period_end_date=grace_period_end_date, + host_ocpu_count=host_ocpu_count, + host_shape_name=host_shape_name, + is_billing_continuation_in_progress=is_billing_continuation_in_progress, + is_billing_swapping_in_progress=is_billing_swapping_in_progress, + next_sku=next_sku, + non_upgraded_esxi_host_id=non_upgraded_esxi_host_id, + replacement_esxi_host_id=replacement_esxi_host_id, + sddc_id=sddc_id, + state=state, + swap_billing_host_id=swap_billing_host_id, + time_created=time_created, + time_updated=time_updated, + upgraded_replacement_esxi_host_id=upgraded_replacement_esxi_host_id, + vmware_software_version=vmware_software_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + billing_contract_end_date: Optional[pulumi.Input[str]] = None, + billing_donor_host_id: Optional[pulumi.Input[str]] = None, + capacity_reservation_id: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + compute_availability_domain: Optional[pulumi.Input[str]] = None, + compute_instance_id: Optional[pulumi.Input[str]] = None, + current_sku: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + failed_esxi_host_id: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + grace_period_end_date: Optional[pulumi.Input[str]] = None, + host_ocpu_count: Optional[pulumi.Input[float]] = None, + host_shape_name: Optional[pulumi.Input[str]] = None, + is_billing_continuation_in_progress: Optional[pulumi.Input[bool]] = None, + is_billing_swapping_in_progress: Optional[pulumi.Input[bool]] = None, + next_sku: Optional[pulumi.Input[str]] = None, + non_upgraded_esxi_host_id: Optional[pulumi.Input[str]] = None, + replacement_esxi_host_id: Optional[pulumi.Input[str]] = None, + sddc_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + swap_billing_host_id: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + upgraded_replacement_esxi_host_id: Optional[pulumi.Input[str]] = None, + vmware_software_version: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if billing_contract_end_date is not None: - pulumi.set(__self__, "billing_contract_end_date", billing_contract_end_date) + _setter("billing_contract_end_date", billing_contract_end_date) if billing_donor_host_id is not None: - pulumi.set(__self__, "billing_donor_host_id", billing_donor_host_id) + _setter("billing_donor_host_id", billing_donor_host_id) if capacity_reservation_id is not None: - pulumi.set(__self__, "capacity_reservation_id", capacity_reservation_id) + _setter("capacity_reservation_id", capacity_reservation_id) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if compute_availability_domain is not None: - pulumi.set(__self__, "compute_availability_domain", compute_availability_domain) + _setter("compute_availability_domain", compute_availability_domain) if compute_instance_id is not None: - pulumi.set(__self__, "compute_instance_id", compute_instance_id) + _setter("compute_instance_id", compute_instance_id) if current_sku is not None: - pulumi.set(__self__, "current_sku", current_sku) + _setter("current_sku", current_sku) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if failed_esxi_host_id is not None: - pulumi.set(__self__, "failed_esxi_host_id", failed_esxi_host_id) + _setter("failed_esxi_host_id", failed_esxi_host_id) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if grace_period_end_date is not None: - pulumi.set(__self__, "grace_period_end_date", grace_period_end_date) + _setter("grace_period_end_date", grace_period_end_date) if host_ocpu_count is not None: - pulumi.set(__self__, "host_ocpu_count", host_ocpu_count) + _setter("host_ocpu_count", host_ocpu_count) if host_shape_name is not None: - pulumi.set(__self__, "host_shape_name", host_shape_name) + _setter("host_shape_name", host_shape_name) if is_billing_continuation_in_progress is not None: - pulumi.set(__self__, "is_billing_continuation_in_progress", is_billing_continuation_in_progress) + _setter("is_billing_continuation_in_progress", is_billing_continuation_in_progress) if is_billing_swapping_in_progress is not None: - pulumi.set(__self__, "is_billing_swapping_in_progress", is_billing_swapping_in_progress) + _setter("is_billing_swapping_in_progress", is_billing_swapping_in_progress) if next_sku is not None: - pulumi.set(__self__, "next_sku", next_sku) + _setter("next_sku", next_sku) if non_upgraded_esxi_host_id is not None: - pulumi.set(__self__, "non_upgraded_esxi_host_id", non_upgraded_esxi_host_id) + _setter("non_upgraded_esxi_host_id", non_upgraded_esxi_host_id) if replacement_esxi_host_id is not None: - pulumi.set(__self__, "replacement_esxi_host_id", replacement_esxi_host_id) + _setter("replacement_esxi_host_id", replacement_esxi_host_id) if sddc_id is not None: - pulumi.set(__self__, "sddc_id", sddc_id) + _setter("sddc_id", sddc_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if swap_billing_host_id is not None: - pulumi.set(__self__, "swap_billing_host_id", swap_billing_host_id) + _setter("swap_billing_host_id", swap_billing_host_id) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if upgraded_replacement_esxi_host_id is not None: - pulumi.set(__self__, "upgraded_replacement_esxi_host_id", upgraded_replacement_esxi_host_id) + _setter("upgraded_replacement_esxi_host_id", upgraded_replacement_esxi_host_id) if vmware_software_version is not None: - pulumi.set(__self__, "vmware_software_version", vmware_software_version) + _setter("vmware_software_version", vmware_software_version) @property @pulumi.getter(name="billingContractEndDate") @@ -576,9 +665,6 @@ def is_billing_swapping_in_progress(self, value: Optional[pulumi.Input[bool]]): @property @pulumi.getter(name="nextSku") def next_sku(self) -> Optional[pulumi.Input[str]]: - """ - The billing option to switch to after the current billing cycle ends. If `nextSku` is null or empty, `currentSku` continues to the next billing cycle. [ListSupportedSkus](https://docs.cloud.oracle.com/iaas/api/#/en/vmware/20200501/SupportedSkuSummary/ListSupportedSkus). - """ return pulumi.get(self, "next_sku") @next_sku.setter @@ -752,7 +838,6 @@ def __init__(__self__, :param pulumi.Input[Mapping[str, Any]] freeform_tags: (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` :param pulumi.Input[float] host_ocpu_count: The OCPU count of the ESXi host. :param pulumi.Input[str] host_shape_name: The compute shape name of the ESXi host. [ListSupportedHostShapes](https://docs.cloud.oracle.com/iaas/api/#/en/vmware/20200501/SupportedHostShapes/ListSupportedHostShapes). - :param pulumi.Input[str] next_sku: The billing option to switch to after the current billing cycle ends. If `nextSku` is null or empty, `currentSku` continues to the next billing cycle. [ListSupportedSkus](https://docs.cloud.oracle.com/iaas/api/#/en/vmware/20200501/SupportedSkuSummary/ListSupportedSkus). :param pulumi.Input[str] non_upgraded_esxi_host_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ESXi host that will be upgraded. This is an optional parameter. If this parameter is specified, an ESXi host with the new software version is created to replace the original one, and the `nonUpgradedEsxiHostId` field is updated in the newly created Esxi host. See [Upgrading VMware Software](https://docs.cloud.oracle.com/iaas/Content/VMware/Concepts/upgrade.htm) for more information. :param pulumi.Input[str] sddc_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the SDDC to add the ESXi host to. @@ -795,6 +880,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + EsxiHostArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -914,7 +1003,6 @@ def get(resource_name: str, :param pulumi.Input[str] host_shape_name: The compute shape name of the ESXi host. [ListSupportedHostShapes](https://docs.cloud.oracle.com/iaas/api/#/en/vmware/20200501/SupportedHostShapes/ListSupportedHostShapes). :param pulumi.Input[bool] is_billing_continuation_in_progress: Indicates whether this host is in the progress of billing continuation. :param pulumi.Input[bool] is_billing_swapping_in_progress: Indicates whether this host is in the progress of swapping billing. - :param pulumi.Input[str] next_sku: The billing option to switch to after the current billing cycle ends. If `nextSku` is null or empty, `currentSku` continues to the next billing cycle. [ListSupportedSkus](https://docs.cloud.oracle.com/iaas/api/#/en/vmware/20200501/SupportedSkuSummary/ListSupportedSkus). :param pulumi.Input[str] non_upgraded_esxi_host_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ESXi host that will be upgraded. This is an optional parameter. If this parameter is specified, an ESXi host with the new software version is created to replace the original one, and the `nonUpgradedEsxiHostId` field is updated in the newly created Esxi host. See [Upgrading VMware Software](https://docs.cloud.oracle.com/iaas/Content/VMware/Concepts/upgrade.htm) for more information. :param pulumi.Input[str] replacement_esxi_host_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the esxi host that is newly created to replace the failed node. :param pulumi.Input[str] sddc_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the SDDC to add the ESXi host to. @@ -1096,9 +1184,6 @@ def is_billing_swapping_in_progress(self) -> pulumi.Output[bool]: @property @pulumi.getter(name="nextSku") def next_sku(self) -> pulumi.Output[str]: - """ - The billing option to switch to after the current billing cycle ends. If `nextSku` is null or empty, `currentSku` continues to the next billing cycle. [ListSupportedSkus](https://docs.cloud.oracle.com/iaas/api/#/en/vmware/20200501/SupportedSkuSummary/ListSupportedSkus). - """ return pulumi.get(self, "next_sku") @property diff --git a/sdk/python/pulumi_oci/ocvp/get_exsi_host.py b/sdk/python/pulumi_oci/ocvp/get_exsi_host.py index 07ffca7af3..e25b14c878 100644 --- a/sdk/python/pulumi_oci/ocvp/get_exsi_host.py +++ b/sdk/python/pulumi_oci/ocvp/get_exsi_host.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/ocvp/get_exsi_hosts.py b/sdk/python/pulumi_oci/ocvp/get_exsi_hosts.py index 3716e51391..a836c4d7d1 100644 --- a/sdk/python/pulumi_oci/ocvp/get_exsi_hosts.py +++ b/sdk/python/pulumi_oci/ocvp/get_exsi_hosts.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/ocvp/get_sddc.py b/sdk/python/pulumi_oci/ocvp/get_sddc.py index ca6b727ac1..81cd51b751 100644 --- a/sdk/python/pulumi_oci/ocvp/get_sddc.py +++ b/sdk/python/pulumi_oci/ocvp/get_sddc.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/ocvp/get_sddcs.py b/sdk/python/pulumi_oci/ocvp/get_sddcs.py index 302e80ff2f..c5832ba797 100644 --- a/sdk/python/pulumi_oci/ocvp/get_sddcs.py +++ b/sdk/python/pulumi_oci/ocvp/get_sddcs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/ocvp/get_supported_host_shapes.py b/sdk/python/pulumi_oci/ocvp/get_supported_host_shapes.py index 99ddcd593f..8cdaad6ad8 100644 --- a/sdk/python/pulumi_oci/ocvp/get_supported_host_shapes.py +++ b/sdk/python/pulumi_oci/ocvp/get_supported_host_shapes.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/ocvp/get_supported_skus.py b/sdk/python/pulumi_oci/ocvp/get_supported_skus.py index 42c492574d..9b38add723 100644 --- a/sdk/python/pulumi_oci/ocvp/get_supported_skus.py +++ b/sdk/python/pulumi_oci/ocvp/get_supported_skus.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/ocvp/get_supported_vmware_software_versions.py b/sdk/python/pulumi_oci/ocvp/get_supported_vmware_software_versions.py index 9ff7fae758..731596c7a4 100644 --- a/sdk/python/pulumi_oci/ocvp/get_supported_vmware_software_versions.py +++ b/sdk/python/pulumi_oci/ocvp/get_supported_vmware_software_versions.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/ocvp/outputs.py b/sdk/python/pulumi_oci/ocvp/outputs.py index 7d217ef0c7..e4ce5ce32d 100644 --- a/sdk/python/pulumi_oci/ocvp/outputs.py +++ b/sdk/python/pulumi_oci/ocvp/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -65,10 +65,23 @@ def __init__(__self__, *, :param str datastore_type: Type of the datastore. :param float capacity: Size of the Block Storage Volume in GB. """ - pulumi.set(__self__, "block_volume_ids", block_volume_ids) - pulumi.set(__self__, "datastore_type", datastore_type) + SddcDatastore._configure( + lambda key, value: pulumi.set(__self__, key, value), + block_volume_ids=block_volume_ids, + datastore_type=datastore_type, + capacity=capacity, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + block_volume_ids: Sequence[str], + datastore_type: str, + capacity: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("block_volume_ids", block_volume_ids) + _setter("datastore_type", datastore_type) if capacity is not None: - pulumi.set(__self__, "capacity", capacity) + _setter("capacity", capacity) @property @pulumi.getter(name="blockVolumeIds") @@ -125,12 +138,25 @@ def __init__(__self__, *, :param str status: status of HCX on-premise license. :param str system_name: Name of the system that consumed the HCX on-premise license """ + SddcHcxOnPremLicense._configure( + lambda key, value: pulumi.set(__self__, key, value), + activation_key=activation_key, + status=status, + system_name=system_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + activation_key: Optional[str] = None, + status: Optional[str] = None, + system_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if activation_key is not None: - pulumi.set(__self__, "activation_key", activation_key) + _setter("activation_key", activation_key) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if system_name is not None: - pulumi.set(__self__, "system_name", system_name) + _setter("system_name", system_name) @property @pulumi.getter(name="activationKey") @@ -185,10 +211,21 @@ def __init__(__self__, *, :param str license_key: vSphere license key value. :param str license_type: vSphere license type. """ + SddcUpgradeLicense._configure( + lambda key, value: pulumi.set(__self__, key, value), + license_key=license_key, + license_type=license_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + license_key: Optional[str] = None, + license_type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if license_key is not None: - pulumi.set(__self__, "license_key", license_key) + _setter("license_key", license_key) if license_type is not None: - pulumi.set(__self__, "license_type", license_type) + _setter("license_type", license_type) @property @pulumi.getter(name="licenseKey") @@ -235,10 +272,21 @@ def __init__(__self__, *, :param str download_link: Binary object download link. :param str link_description: Binary object description. """ + SddcVsphereUpgradeObject._configure( + lambda key, value: pulumi.set(__self__, key, value), + download_link=download_link, + link_description=link_description, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + download_link: Optional[str] = None, + link_description: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if download_link is not None: - pulumi.set(__self__, "download_link", download_link) + _setter("download_link", download_link) if link_description is not None: - pulumi.set(__self__, "link_description", link_description) + _setter("link_description", link_description) @property @pulumi.getter(name="downloadLink") @@ -316,33 +364,94 @@ def __init__(__self__, *, :param str upgraded_replacement_esxi_host_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the ESXi host that is newly created to upgrade the original host. :param str vmware_software_version: The version of VMware software that Oracle Cloud VMware Solution installed on the ESXi hosts. """ - pulumi.set(__self__, "billing_contract_end_date", billing_contract_end_date) - pulumi.set(__self__, "billing_donor_host_id", billing_donor_host_id) - pulumi.set(__self__, "capacity_reservation_id", capacity_reservation_id) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "compute_availability_domain", compute_availability_domain) - pulumi.set(__self__, "compute_instance_id", compute_instance_id) - pulumi.set(__self__, "current_sku", current_sku) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "failed_esxi_host_id", failed_esxi_host_id) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "grace_period_end_date", grace_period_end_date) - pulumi.set(__self__, "host_ocpu_count", host_ocpu_count) - pulumi.set(__self__, "host_shape_name", host_shape_name) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_billing_continuation_in_progress", is_billing_continuation_in_progress) - pulumi.set(__self__, "is_billing_swapping_in_progress", is_billing_swapping_in_progress) - pulumi.set(__self__, "next_sku", next_sku) - pulumi.set(__self__, "non_upgraded_esxi_host_id", non_upgraded_esxi_host_id) - pulumi.set(__self__, "replacement_esxi_host_id", replacement_esxi_host_id) - pulumi.set(__self__, "sddc_id", sddc_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "swap_billing_host_id", swap_billing_host_id) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "upgraded_replacement_esxi_host_id", upgraded_replacement_esxi_host_id) - pulumi.set(__self__, "vmware_software_version", vmware_software_version) + GetExsiHostsEsxiHostCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + billing_contract_end_date=billing_contract_end_date, + billing_donor_host_id=billing_donor_host_id, + capacity_reservation_id=capacity_reservation_id, + compartment_id=compartment_id, + compute_availability_domain=compute_availability_domain, + compute_instance_id=compute_instance_id, + current_sku=current_sku, + defined_tags=defined_tags, + display_name=display_name, + failed_esxi_host_id=failed_esxi_host_id, + freeform_tags=freeform_tags, + grace_period_end_date=grace_period_end_date, + host_ocpu_count=host_ocpu_count, + host_shape_name=host_shape_name, + id=id, + is_billing_continuation_in_progress=is_billing_continuation_in_progress, + is_billing_swapping_in_progress=is_billing_swapping_in_progress, + next_sku=next_sku, + non_upgraded_esxi_host_id=non_upgraded_esxi_host_id, + replacement_esxi_host_id=replacement_esxi_host_id, + sddc_id=sddc_id, + state=state, + swap_billing_host_id=swap_billing_host_id, + time_created=time_created, + time_updated=time_updated, + upgraded_replacement_esxi_host_id=upgraded_replacement_esxi_host_id, + vmware_software_version=vmware_software_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + billing_contract_end_date: str, + billing_donor_host_id: str, + capacity_reservation_id: str, + compartment_id: str, + compute_availability_domain: str, + compute_instance_id: str, + current_sku: str, + defined_tags: Mapping[str, Any], + display_name: str, + failed_esxi_host_id: str, + freeform_tags: Mapping[str, Any], + grace_period_end_date: str, + host_ocpu_count: float, + host_shape_name: str, + id: str, + is_billing_continuation_in_progress: bool, + is_billing_swapping_in_progress: bool, + next_sku: str, + non_upgraded_esxi_host_id: str, + replacement_esxi_host_id: str, + sddc_id: str, + state: str, + swap_billing_host_id: str, + time_created: str, + time_updated: str, + upgraded_replacement_esxi_host_id: str, + vmware_software_version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("billing_contract_end_date", billing_contract_end_date) + _setter("billing_donor_host_id", billing_donor_host_id) + _setter("capacity_reservation_id", capacity_reservation_id) + _setter("compartment_id", compartment_id) + _setter("compute_availability_domain", compute_availability_domain) + _setter("compute_instance_id", compute_instance_id) + _setter("current_sku", current_sku) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("failed_esxi_host_id", failed_esxi_host_id) + _setter("freeform_tags", freeform_tags) + _setter("grace_period_end_date", grace_period_end_date) + _setter("host_ocpu_count", host_ocpu_count) + _setter("host_shape_name", host_shape_name) + _setter("id", id) + _setter("is_billing_continuation_in_progress", is_billing_continuation_in_progress) + _setter("is_billing_swapping_in_progress", is_billing_swapping_in_progress) + _setter("next_sku", next_sku) + _setter("non_upgraded_esxi_host_id", non_upgraded_esxi_host_id) + _setter("replacement_esxi_host_id", replacement_esxi_host_id) + _setter("sddc_id", sddc_id) + _setter("state", state) + _setter("swap_billing_host_id", swap_billing_host_id) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("upgraded_replacement_esxi_host_id", upgraded_replacement_esxi_host_id) + _setter("vmware_software_version", vmware_software_version) @property @pulumi.getter(name="billingContractEndDate") @@ -567,10 +676,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetExsiHostsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -599,9 +721,22 @@ def __init__(__self__, *, :param float capacity: Size of the Block Storage Volume in GB. :param str datastore_type: Type of the datastore. """ - pulumi.set(__self__, "block_volume_ids", block_volume_ids) - pulumi.set(__self__, "capacity", capacity) - pulumi.set(__self__, "datastore_type", datastore_type) + GetSddcDatastoreResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + block_volume_ids=block_volume_ids, + capacity=capacity, + datastore_type=datastore_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + block_volume_ids: Sequence[str], + capacity: float, + datastore_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("block_volume_ids", block_volume_ids) + _setter("capacity", capacity) + _setter("datastore_type", datastore_type) @property @pulumi.getter(name="blockVolumeIds") @@ -639,9 +774,22 @@ def __init__(__self__, *, :param str status: status of HCX on-premise license. :param str system_name: Name of the system that consumed the HCX on-premise license """ - pulumi.set(__self__, "activation_key", activation_key) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "system_name", system_name) + GetSddcHcxOnPremLicenseResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + activation_key=activation_key, + status=status, + system_name=system_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + activation_key: str, + status: str, + system_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("activation_key", activation_key) + _setter("status", status) + _setter("system_name", system_name) @property @pulumi.getter(name="activationKey") @@ -677,8 +825,19 @@ def __init__(__self__, *, :param str license_key: vSphere license key value. :param str license_type: vSphere license type. """ - pulumi.set(__self__, "license_key", license_key) - pulumi.set(__self__, "license_type", license_type) + GetSddcUpgradeLicenseResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + license_key=license_key, + license_type=license_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + license_key: str, + license_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("license_key", license_key) + _setter("license_type", license_type) @property @pulumi.getter(name="licenseKey") @@ -706,8 +865,19 @@ def __init__(__self__, *, :param str download_link: Binary object download link. :param str link_description: Binary object description. """ - pulumi.set(__self__, "download_link", download_link) - pulumi.set(__self__, "link_description", link_description) + GetSddcVsphereUpgradeObjectResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + download_link=download_link, + link_description=link_description, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + download_link: str, + link_description: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("download_link", download_link) + _setter("link_description", link_description) @property @pulumi.getter(name="downloadLink") @@ -732,10 +902,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSddcsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -873,65 +1056,190 @@ def __init__(__self__, *, :param str vsphere_vlan_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VLAN used by the SDDC for the vSphere component of the VMware environment. :param str workload_network_cidr: The CIDR block for the IP addresses that VMware VMs in the SDDC use to run application workloads. """ - pulumi.set(__self__, "actual_esxi_hosts_count", actual_esxi_hosts_count) - pulumi.set(__self__, "capacity_reservation_id", capacity_reservation_id) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "compute_availability_domain", compute_availability_domain) - pulumi.set(__self__, "datastores", datastores) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "esxi_hosts_count", esxi_hosts_count) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "hcx_action", hcx_action) - pulumi.set(__self__, "hcx_fqdn", hcx_fqdn) - pulumi.set(__self__, "hcx_initial_password", hcx_initial_password) - pulumi.set(__self__, "hcx_on_prem_key", hcx_on_prem_key) - pulumi.set(__self__, "hcx_on_prem_licenses", hcx_on_prem_licenses) - pulumi.set(__self__, "hcx_private_ip_id", hcx_private_ip_id) - pulumi.set(__self__, "hcx_vlan_id", hcx_vlan_id) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "initial_host_ocpu_count", initial_host_ocpu_count) - pulumi.set(__self__, "initial_host_shape_name", initial_host_shape_name) - pulumi.set(__self__, "initial_sku", initial_sku) - pulumi.set(__self__, "instance_display_name_prefix", instance_display_name_prefix) - pulumi.set(__self__, "is_hcx_enabled", is_hcx_enabled) - pulumi.set(__self__, "is_hcx_enterprise_enabled", is_hcx_enterprise_enabled) - pulumi.set(__self__, "is_hcx_pending_downgrade", is_hcx_pending_downgrade) - pulumi.set(__self__, "is_shielded_instance_enabled", is_shielded_instance_enabled) - pulumi.set(__self__, "is_single_host_sddc", is_single_host_sddc) - pulumi.set(__self__, "nsx_edge_uplink1vlan_id", nsx_edge_uplink1vlan_id) - pulumi.set(__self__, "nsx_edge_uplink2vlan_id", nsx_edge_uplink2vlan_id) - pulumi.set(__self__, "nsx_edge_uplink_ip_id", nsx_edge_uplink_ip_id) - pulumi.set(__self__, "nsx_edge_vtep_vlan_id", nsx_edge_vtep_vlan_id) - pulumi.set(__self__, "nsx_manager_fqdn", nsx_manager_fqdn) - pulumi.set(__self__, "nsx_manager_initial_password", nsx_manager_initial_password) - pulumi.set(__self__, "nsx_manager_private_ip_id", nsx_manager_private_ip_id) - pulumi.set(__self__, "nsx_manager_username", nsx_manager_username) - pulumi.set(__self__, "nsx_overlay_segment_name", nsx_overlay_segment_name) - pulumi.set(__self__, "nsx_vtep_vlan_id", nsx_vtep_vlan_id) - pulumi.set(__self__, "provisioning_subnet_id", provisioning_subnet_id) - pulumi.set(__self__, "provisioning_vlan_id", provisioning_vlan_id) - pulumi.set(__self__, "refresh_hcx_license_status", refresh_hcx_license_status) - pulumi.set(__self__, "replication_vlan_id", replication_vlan_id) - pulumi.set(__self__, "reserving_hcx_on_premise_license_keys", reserving_hcx_on_premise_license_keys) - pulumi.set(__self__, "ssh_authorized_keys", ssh_authorized_keys) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_hcx_billing_cycle_end", time_hcx_billing_cycle_end) - pulumi.set(__self__, "time_hcx_license_status_updated", time_hcx_license_status_updated) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "upgrade_licenses", upgrade_licenses) - pulumi.set(__self__, "vcenter_fqdn", vcenter_fqdn) - pulumi.set(__self__, "vcenter_initial_password", vcenter_initial_password) - pulumi.set(__self__, "vcenter_private_ip_id", vcenter_private_ip_id) - pulumi.set(__self__, "vcenter_username", vcenter_username) - pulumi.set(__self__, "vmotion_vlan_id", vmotion_vlan_id) - pulumi.set(__self__, "vmware_software_version", vmware_software_version) - pulumi.set(__self__, "vsan_vlan_id", vsan_vlan_id) - pulumi.set(__self__, "vsphere_upgrade_guide", vsphere_upgrade_guide) - pulumi.set(__self__, "vsphere_upgrade_objects", vsphere_upgrade_objects) - pulumi.set(__self__, "vsphere_vlan_id", vsphere_vlan_id) - pulumi.set(__self__, "workload_network_cidr", workload_network_cidr) + GetSddcsSddcCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + actual_esxi_hosts_count=actual_esxi_hosts_count, + capacity_reservation_id=capacity_reservation_id, + compartment_id=compartment_id, + compute_availability_domain=compute_availability_domain, + datastores=datastores, + defined_tags=defined_tags, + display_name=display_name, + esxi_hosts_count=esxi_hosts_count, + freeform_tags=freeform_tags, + hcx_action=hcx_action, + hcx_fqdn=hcx_fqdn, + hcx_initial_password=hcx_initial_password, + hcx_on_prem_key=hcx_on_prem_key, + hcx_on_prem_licenses=hcx_on_prem_licenses, + hcx_private_ip_id=hcx_private_ip_id, + hcx_vlan_id=hcx_vlan_id, + id=id, + initial_host_ocpu_count=initial_host_ocpu_count, + initial_host_shape_name=initial_host_shape_name, + initial_sku=initial_sku, + instance_display_name_prefix=instance_display_name_prefix, + is_hcx_enabled=is_hcx_enabled, + is_hcx_enterprise_enabled=is_hcx_enterprise_enabled, + is_hcx_pending_downgrade=is_hcx_pending_downgrade, + is_shielded_instance_enabled=is_shielded_instance_enabled, + is_single_host_sddc=is_single_host_sddc, + nsx_edge_uplink1vlan_id=nsx_edge_uplink1vlan_id, + nsx_edge_uplink2vlan_id=nsx_edge_uplink2vlan_id, + nsx_edge_uplink_ip_id=nsx_edge_uplink_ip_id, + nsx_edge_vtep_vlan_id=nsx_edge_vtep_vlan_id, + nsx_manager_fqdn=nsx_manager_fqdn, + nsx_manager_initial_password=nsx_manager_initial_password, + nsx_manager_private_ip_id=nsx_manager_private_ip_id, + nsx_manager_username=nsx_manager_username, + nsx_overlay_segment_name=nsx_overlay_segment_name, + nsx_vtep_vlan_id=nsx_vtep_vlan_id, + provisioning_subnet_id=provisioning_subnet_id, + provisioning_vlan_id=provisioning_vlan_id, + refresh_hcx_license_status=refresh_hcx_license_status, + replication_vlan_id=replication_vlan_id, + reserving_hcx_on_premise_license_keys=reserving_hcx_on_premise_license_keys, + ssh_authorized_keys=ssh_authorized_keys, + state=state, + time_created=time_created, + time_hcx_billing_cycle_end=time_hcx_billing_cycle_end, + time_hcx_license_status_updated=time_hcx_license_status_updated, + time_updated=time_updated, + upgrade_licenses=upgrade_licenses, + vcenter_fqdn=vcenter_fqdn, + vcenter_initial_password=vcenter_initial_password, + vcenter_private_ip_id=vcenter_private_ip_id, + vcenter_username=vcenter_username, + vmotion_vlan_id=vmotion_vlan_id, + vmware_software_version=vmware_software_version, + vsan_vlan_id=vsan_vlan_id, + vsphere_upgrade_guide=vsphere_upgrade_guide, + vsphere_upgrade_objects=vsphere_upgrade_objects, + vsphere_vlan_id=vsphere_vlan_id, + workload_network_cidr=workload_network_cidr, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + actual_esxi_hosts_count: int, + capacity_reservation_id: str, + compartment_id: str, + compute_availability_domain: str, + datastores: Sequence['outputs.GetSddcsSddcCollectionDatastoreResult'], + defined_tags: Mapping[str, Any], + display_name: str, + esxi_hosts_count: int, + freeform_tags: Mapping[str, Any], + hcx_action: str, + hcx_fqdn: str, + hcx_initial_password: str, + hcx_on_prem_key: str, + hcx_on_prem_licenses: Sequence['outputs.GetSddcsSddcCollectionHcxOnPremLicenseResult'], + hcx_private_ip_id: str, + hcx_vlan_id: str, + id: str, + initial_host_ocpu_count: float, + initial_host_shape_name: str, + initial_sku: str, + instance_display_name_prefix: str, + is_hcx_enabled: bool, + is_hcx_enterprise_enabled: bool, + is_hcx_pending_downgrade: bool, + is_shielded_instance_enabled: bool, + is_single_host_sddc: bool, + nsx_edge_uplink1vlan_id: str, + nsx_edge_uplink2vlan_id: str, + nsx_edge_uplink_ip_id: str, + nsx_edge_vtep_vlan_id: str, + nsx_manager_fqdn: str, + nsx_manager_initial_password: str, + nsx_manager_private_ip_id: str, + nsx_manager_username: str, + nsx_overlay_segment_name: str, + nsx_vtep_vlan_id: str, + provisioning_subnet_id: str, + provisioning_vlan_id: str, + refresh_hcx_license_status: bool, + replication_vlan_id: str, + reserving_hcx_on_premise_license_keys: Sequence[str], + ssh_authorized_keys: str, + state: str, + time_created: str, + time_hcx_billing_cycle_end: str, + time_hcx_license_status_updated: str, + time_updated: str, + upgrade_licenses: Sequence['outputs.GetSddcsSddcCollectionUpgradeLicenseResult'], + vcenter_fqdn: str, + vcenter_initial_password: str, + vcenter_private_ip_id: str, + vcenter_username: str, + vmotion_vlan_id: str, + vmware_software_version: str, + vsan_vlan_id: str, + vsphere_upgrade_guide: str, + vsphere_upgrade_objects: Sequence['outputs.GetSddcsSddcCollectionVsphereUpgradeObjectResult'], + vsphere_vlan_id: str, + workload_network_cidr: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("actual_esxi_hosts_count", actual_esxi_hosts_count) + _setter("capacity_reservation_id", capacity_reservation_id) + _setter("compartment_id", compartment_id) + _setter("compute_availability_domain", compute_availability_domain) + _setter("datastores", datastores) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("esxi_hosts_count", esxi_hosts_count) + _setter("freeform_tags", freeform_tags) + _setter("hcx_action", hcx_action) + _setter("hcx_fqdn", hcx_fqdn) + _setter("hcx_initial_password", hcx_initial_password) + _setter("hcx_on_prem_key", hcx_on_prem_key) + _setter("hcx_on_prem_licenses", hcx_on_prem_licenses) + _setter("hcx_private_ip_id", hcx_private_ip_id) + _setter("hcx_vlan_id", hcx_vlan_id) + _setter("id", id) + _setter("initial_host_ocpu_count", initial_host_ocpu_count) + _setter("initial_host_shape_name", initial_host_shape_name) + _setter("initial_sku", initial_sku) + _setter("instance_display_name_prefix", instance_display_name_prefix) + _setter("is_hcx_enabled", is_hcx_enabled) + _setter("is_hcx_enterprise_enabled", is_hcx_enterprise_enabled) + _setter("is_hcx_pending_downgrade", is_hcx_pending_downgrade) + _setter("is_shielded_instance_enabled", is_shielded_instance_enabled) + _setter("is_single_host_sddc", is_single_host_sddc) + _setter("nsx_edge_uplink1vlan_id", nsx_edge_uplink1vlan_id) + _setter("nsx_edge_uplink2vlan_id", nsx_edge_uplink2vlan_id) + _setter("nsx_edge_uplink_ip_id", nsx_edge_uplink_ip_id) + _setter("nsx_edge_vtep_vlan_id", nsx_edge_vtep_vlan_id) + _setter("nsx_manager_fqdn", nsx_manager_fqdn) + _setter("nsx_manager_initial_password", nsx_manager_initial_password) + _setter("nsx_manager_private_ip_id", nsx_manager_private_ip_id) + _setter("nsx_manager_username", nsx_manager_username) + _setter("nsx_overlay_segment_name", nsx_overlay_segment_name) + _setter("nsx_vtep_vlan_id", nsx_vtep_vlan_id) + _setter("provisioning_subnet_id", provisioning_subnet_id) + _setter("provisioning_vlan_id", provisioning_vlan_id) + _setter("refresh_hcx_license_status", refresh_hcx_license_status) + _setter("replication_vlan_id", replication_vlan_id) + _setter("reserving_hcx_on_premise_license_keys", reserving_hcx_on_premise_license_keys) + _setter("ssh_authorized_keys", ssh_authorized_keys) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_hcx_billing_cycle_end", time_hcx_billing_cycle_end) + _setter("time_hcx_license_status_updated", time_hcx_license_status_updated) + _setter("time_updated", time_updated) + _setter("upgrade_licenses", upgrade_licenses) + _setter("vcenter_fqdn", vcenter_fqdn) + _setter("vcenter_initial_password", vcenter_initial_password) + _setter("vcenter_private_ip_id", vcenter_private_ip_id) + _setter("vcenter_username", vcenter_username) + _setter("vmotion_vlan_id", vmotion_vlan_id) + _setter("vmware_software_version", vmware_software_version) + _setter("vsan_vlan_id", vsan_vlan_id) + _setter("vsphere_upgrade_guide", vsphere_upgrade_guide) + _setter("vsphere_upgrade_objects", vsphere_upgrade_objects) + _setter("vsphere_vlan_id", vsphere_vlan_id) + _setter("workload_network_cidr", workload_network_cidr) @property @pulumi.getter(name="actualEsxiHostsCount") @@ -1408,9 +1716,22 @@ def __init__(__self__, *, :param float capacity: Size of the Block Storage Volume in GB. :param str datastore_type: Type of the datastore. """ - pulumi.set(__self__, "block_volume_ids", block_volume_ids) - pulumi.set(__self__, "capacity", capacity) - pulumi.set(__self__, "datastore_type", datastore_type) + GetSddcsSddcCollectionDatastoreResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + block_volume_ids=block_volume_ids, + capacity=capacity, + datastore_type=datastore_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + block_volume_ids: Sequence[str], + capacity: float, + datastore_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("block_volume_ids", block_volume_ids) + _setter("capacity", capacity) + _setter("datastore_type", datastore_type) @property @pulumi.getter(name="blockVolumeIds") @@ -1448,9 +1769,22 @@ def __init__(__self__, *, :param str status: status of HCX on-premise license. :param str system_name: Name of the system that consumed the HCX on-premise license """ - pulumi.set(__self__, "activation_key", activation_key) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "system_name", system_name) + GetSddcsSddcCollectionHcxOnPremLicenseResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + activation_key=activation_key, + status=status, + system_name=system_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + activation_key: str, + status: str, + system_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("activation_key", activation_key) + _setter("status", status) + _setter("system_name", system_name) @property @pulumi.getter(name="activationKey") @@ -1486,8 +1820,19 @@ def __init__(__self__, *, :param str license_key: vSphere license key value. :param str license_type: vSphere license type. """ - pulumi.set(__self__, "license_key", license_key) - pulumi.set(__self__, "license_type", license_type) + GetSddcsSddcCollectionUpgradeLicenseResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + license_key=license_key, + license_type=license_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + license_key: str, + license_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("license_key", license_key) + _setter("license_type", license_type) @property @pulumi.getter(name="licenseKey") @@ -1515,8 +1860,19 @@ def __init__(__self__, *, :param str download_link: Binary object download link. :param str link_description: Binary object description. """ - pulumi.set(__self__, "download_link", download_link) - pulumi.set(__self__, "link_description", link_description) + GetSddcsSddcCollectionVsphereUpgradeObjectResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + download_link=download_link, + link_description=link_description, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + download_link: str, + link_description: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("download_link", download_link) + _setter("link_description", link_description) @property @pulumi.getter(name="downloadLink") @@ -1544,10 +1900,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the given name exactly. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSupportedHostShapesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1593,16 +1962,43 @@ def __init__(__self__, *, :param Sequence[str] supported_sddc_types: The supported SDDC types for the shape. :param Sequence[str] supported_vmware_software_versions: The VMware software versions supported by the shape. """ - pulumi.set(__self__, "default_ocpu_count", default_ocpu_count) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "is_support_monthly_sku", is_support_monthly_sku) - pulumi.set(__self__, "is_support_shielded_instances", is_support_shielded_instances) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "shape_family", shape_family) - pulumi.set(__self__, "supported_ocpu_counts", supported_ocpu_counts) - pulumi.set(__self__, "supported_operations", supported_operations) - pulumi.set(__self__, "supported_sddc_types", supported_sddc_types) - pulumi.set(__self__, "supported_vmware_software_versions", supported_vmware_software_versions) + GetSupportedHostShapesItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + default_ocpu_count=default_ocpu_count, + description=description, + is_support_monthly_sku=is_support_monthly_sku, + is_support_shielded_instances=is_support_shielded_instances, + name=name, + shape_family=shape_family, + supported_ocpu_counts=supported_ocpu_counts, + supported_operations=supported_operations, + supported_sddc_types=supported_sddc_types, + supported_vmware_software_versions=supported_vmware_software_versions, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + default_ocpu_count: float, + description: str, + is_support_monthly_sku: bool, + is_support_shielded_instances: bool, + name: str, + shape_family: str, + supported_ocpu_counts: Sequence[float], + supported_operations: Sequence[str], + supported_sddc_types: Sequence[str], + supported_vmware_software_versions: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("default_ocpu_count", default_ocpu_count) + _setter("description", description) + _setter("is_support_monthly_sku", is_support_monthly_sku) + _setter("is_support_shielded_instances", is_support_shielded_instances) + _setter("name", name) + _setter("shape_family", shape_family) + _setter("supported_ocpu_counts", supported_ocpu_counts) + _setter("supported_operations", supported_operations) + _setter("supported_sddc_types", supported_sddc_types) + _setter("supported_vmware_software_versions", supported_vmware_software_versions) @property @pulumi.getter(name="defaultOcpuCount") @@ -1694,10 +2090,23 @@ def __init__(__self__, *, """ :param str name: name of SKU """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSupportedSkusFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1725,7 +2134,16 @@ def __init__(__self__, *, """ :param str name: name of SKU """ - pulumi.set(__self__, "name", name) + GetSupportedSkusItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -1742,10 +2160,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSupportedVmwareSoftwareVersionsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1772,8 +2203,19 @@ def __init__(__self__, *, :param str description: A description of the software in the bundle. :param str version: A short, unique string that identifies the version of bundled software. """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "version", version) + GetSupportedVmwareSoftwareVersionsItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("version", version) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/ocvp/sddc.py b/sdk/python/pulumi_oci/ocvp/sddc.py index 313611ae12..b16db90bc0 100644 --- a/sdk/python/pulumi_oci/ocvp/sddc.py +++ b/sdk/python/pulumi_oci/ocvp/sddc.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -93,57 +93,128 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "compute_availability_domain", compute_availability_domain) - pulumi.set(__self__, "esxi_hosts_count", esxi_hosts_count) - pulumi.set(__self__, "nsx_edge_uplink1vlan_id", nsx_edge_uplink1vlan_id) - pulumi.set(__self__, "nsx_edge_uplink2vlan_id", nsx_edge_uplink2vlan_id) - pulumi.set(__self__, "nsx_edge_vtep_vlan_id", nsx_edge_vtep_vlan_id) - pulumi.set(__self__, "nsx_vtep_vlan_id", nsx_vtep_vlan_id) - pulumi.set(__self__, "provisioning_subnet_id", provisioning_subnet_id) - pulumi.set(__self__, "ssh_authorized_keys", ssh_authorized_keys) - pulumi.set(__self__, "vmotion_vlan_id", vmotion_vlan_id) - pulumi.set(__self__, "vmware_software_version", vmware_software_version) - pulumi.set(__self__, "vsan_vlan_id", vsan_vlan_id) - pulumi.set(__self__, "vsphere_vlan_id", vsphere_vlan_id) + SddcArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + compute_availability_domain=compute_availability_domain, + esxi_hosts_count=esxi_hosts_count, + nsx_edge_uplink1vlan_id=nsx_edge_uplink1vlan_id, + nsx_edge_uplink2vlan_id=nsx_edge_uplink2vlan_id, + nsx_edge_vtep_vlan_id=nsx_edge_vtep_vlan_id, + nsx_vtep_vlan_id=nsx_vtep_vlan_id, + provisioning_subnet_id=provisioning_subnet_id, + ssh_authorized_keys=ssh_authorized_keys, + vmotion_vlan_id=vmotion_vlan_id, + vmware_software_version=vmware_software_version, + vsan_vlan_id=vsan_vlan_id, + vsphere_vlan_id=vsphere_vlan_id, + capacity_reservation_id=capacity_reservation_id, + datastores=datastores, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + hcx_action=hcx_action, + hcx_vlan_id=hcx_vlan_id, + initial_host_ocpu_count=initial_host_ocpu_count, + initial_host_shape_name=initial_host_shape_name, + initial_sku=initial_sku, + instance_display_name_prefix=instance_display_name_prefix, + is_hcx_enabled=is_hcx_enabled, + is_shielded_instance_enabled=is_shielded_instance_enabled, + is_single_host_sddc=is_single_host_sddc, + provisioning_vlan_id=provisioning_vlan_id, + refresh_hcx_license_status=refresh_hcx_license_status, + replication_vlan_id=replication_vlan_id, + reserving_hcx_on_premise_license_keys=reserving_hcx_on_premise_license_keys, + workload_network_cidr=workload_network_cidr, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + compute_availability_domain: pulumi.Input[str], + esxi_hosts_count: pulumi.Input[int], + nsx_edge_uplink1vlan_id: pulumi.Input[str], + nsx_edge_uplink2vlan_id: pulumi.Input[str], + nsx_edge_vtep_vlan_id: pulumi.Input[str], + nsx_vtep_vlan_id: pulumi.Input[str], + provisioning_subnet_id: pulumi.Input[str], + ssh_authorized_keys: pulumi.Input[str], + vmotion_vlan_id: pulumi.Input[str], + vmware_software_version: pulumi.Input[str], + vsan_vlan_id: pulumi.Input[str], + vsphere_vlan_id: pulumi.Input[str], + capacity_reservation_id: Optional[pulumi.Input[str]] = None, + datastores: Optional[pulumi.Input[Sequence[pulumi.Input['SddcDatastoreArgs']]]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + hcx_action: Optional[pulumi.Input[str]] = None, + hcx_vlan_id: Optional[pulumi.Input[str]] = None, + initial_host_ocpu_count: Optional[pulumi.Input[float]] = None, + initial_host_shape_name: Optional[pulumi.Input[str]] = None, + initial_sku: Optional[pulumi.Input[str]] = None, + instance_display_name_prefix: Optional[pulumi.Input[str]] = None, + is_hcx_enabled: Optional[pulumi.Input[bool]] = None, + is_shielded_instance_enabled: Optional[pulumi.Input[bool]] = None, + is_single_host_sddc: Optional[pulumi.Input[bool]] = None, + provisioning_vlan_id: Optional[pulumi.Input[str]] = None, + refresh_hcx_license_status: Optional[pulumi.Input[bool]] = None, + replication_vlan_id: Optional[pulumi.Input[str]] = None, + reserving_hcx_on_premise_license_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + workload_network_cidr: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("compute_availability_domain", compute_availability_domain) + _setter("esxi_hosts_count", esxi_hosts_count) + _setter("nsx_edge_uplink1vlan_id", nsx_edge_uplink1vlan_id) + _setter("nsx_edge_uplink2vlan_id", nsx_edge_uplink2vlan_id) + _setter("nsx_edge_vtep_vlan_id", nsx_edge_vtep_vlan_id) + _setter("nsx_vtep_vlan_id", nsx_vtep_vlan_id) + _setter("provisioning_subnet_id", provisioning_subnet_id) + _setter("ssh_authorized_keys", ssh_authorized_keys) + _setter("vmotion_vlan_id", vmotion_vlan_id) + _setter("vmware_software_version", vmware_software_version) + _setter("vsan_vlan_id", vsan_vlan_id) + _setter("vsphere_vlan_id", vsphere_vlan_id) if capacity_reservation_id is not None: - pulumi.set(__self__, "capacity_reservation_id", capacity_reservation_id) + _setter("capacity_reservation_id", capacity_reservation_id) if datastores is not None: - pulumi.set(__self__, "datastores", datastores) + _setter("datastores", datastores) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if hcx_action is not None: - pulumi.set(__self__, "hcx_action", hcx_action) + _setter("hcx_action", hcx_action) if hcx_vlan_id is not None: - pulumi.set(__self__, "hcx_vlan_id", hcx_vlan_id) + _setter("hcx_vlan_id", hcx_vlan_id) if initial_host_ocpu_count is not None: - pulumi.set(__self__, "initial_host_ocpu_count", initial_host_ocpu_count) + _setter("initial_host_ocpu_count", initial_host_ocpu_count) if initial_host_shape_name is not None: - pulumi.set(__self__, "initial_host_shape_name", initial_host_shape_name) + _setter("initial_host_shape_name", initial_host_shape_name) if initial_sku is not None: - pulumi.set(__self__, "initial_sku", initial_sku) + _setter("initial_sku", initial_sku) if instance_display_name_prefix is not None: - pulumi.set(__self__, "instance_display_name_prefix", instance_display_name_prefix) + _setter("instance_display_name_prefix", instance_display_name_prefix) if is_hcx_enabled is not None: - pulumi.set(__self__, "is_hcx_enabled", is_hcx_enabled) + _setter("is_hcx_enabled", is_hcx_enabled) if is_shielded_instance_enabled is not None: - pulumi.set(__self__, "is_shielded_instance_enabled", is_shielded_instance_enabled) + _setter("is_shielded_instance_enabled", is_shielded_instance_enabled) if is_single_host_sddc is not None: - pulumi.set(__self__, "is_single_host_sddc", is_single_host_sddc) + _setter("is_single_host_sddc", is_single_host_sddc) if provisioning_vlan_id is not None: - pulumi.set(__self__, "provisioning_vlan_id", provisioning_vlan_id) + _setter("provisioning_vlan_id", provisioning_vlan_id) if refresh_hcx_license_status is not None: - pulumi.set(__self__, "refresh_hcx_license_status", refresh_hcx_license_status) + _setter("refresh_hcx_license_status", refresh_hcx_license_status) if replication_vlan_id is not None: - pulumi.set(__self__, "replication_vlan_id", replication_vlan_id) + _setter("replication_vlan_id", replication_vlan_id) if reserving_hcx_on_premise_license_keys is not None: - pulumi.set(__self__, "reserving_hcx_on_premise_license_keys", reserving_hcx_on_premise_license_keys) + _setter("reserving_hcx_on_premise_license_keys", reserving_hcx_on_premise_license_keys) if workload_network_cidr is not None: - pulumi.set(__self__, "workload_network_cidr", workload_network_cidr) + _setter("workload_network_cidr", workload_network_cidr) @property @pulumi.getter(name="compartmentId") @@ -672,122 +743,245 @@ def __init__(__self__, *, ** 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 """ + _SddcState._configure( + lambda key, value: pulumi.set(__self__, key, value), + actual_esxi_hosts_count=actual_esxi_hosts_count, + capacity_reservation_id=capacity_reservation_id, + compartment_id=compartment_id, + compute_availability_domain=compute_availability_domain, + datastores=datastores, + defined_tags=defined_tags, + display_name=display_name, + esxi_hosts_count=esxi_hosts_count, + freeform_tags=freeform_tags, + hcx_action=hcx_action, + hcx_fqdn=hcx_fqdn, + hcx_initial_password=hcx_initial_password, + hcx_on_prem_key=hcx_on_prem_key, + hcx_on_prem_licenses=hcx_on_prem_licenses, + hcx_private_ip_id=hcx_private_ip_id, + hcx_vlan_id=hcx_vlan_id, + initial_host_ocpu_count=initial_host_ocpu_count, + initial_host_shape_name=initial_host_shape_name, + initial_sku=initial_sku, + instance_display_name_prefix=instance_display_name_prefix, + is_hcx_enabled=is_hcx_enabled, + is_hcx_enterprise_enabled=is_hcx_enterprise_enabled, + is_hcx_pending_downgrade=is_hcx_pending_downgrade, + is_shielded_instance_enabled=is_shielded_instance_enabled, + is_single_host_sddc=is_single_host_sddc, + nsx_edge_uplink1vlan_id=nsx_edge_uplink1vlan_id, + nsx_edge_uplink2vlan_id=nsx_edge_uplink2vlan_id, + nsx_edge_uplink_ip_id=nsx_edge_uplink_ip_id, + nsx_edge_vtep_vlan_id=nsx_edge_vtep_vlan_id, + nsx_manager_fqdn=nsx_manager_fqdn, + nsx_manager_initial_password=nsx_manager_initial_password, + nsx_manager_private_ip_id=nsx_manager_private_ip_id, + nsx_manager_username=nsx_manager_username, + nsx_overlay_segment_name=nsx_overlay_segment_name, + nsx_vtep_vlan_id=nsx_vtep_vlan_id, + provisioning_subnet_id=provisioning_subnet_id, + provisioning_vlan_id=provisioning_vlan_id, + refresh_hcx_license_status=refresh_hcx_license_status, + replication_vlan_id=replication_vlan_id, + reserving_hcx_on_premise_license_keys=reserving_hcx_on_premise_license_keys, + ssh_authorized_keys=ssh_authorized_keys, + state=state, + time_created=time_created, + time_hcx_billing_cycle_end=time_hcx_billing_cycle_end, + time_hcx_license_status_updated=time_hcx_license_status_updated, + time_updated=time_updated, + upgrade_licenses=upgrade_licenses, + vcenter_fqdn=vcenter_fqdn, + vcenter_initial_password=vcenter_initial_password, + vcenter_private_ip_id=vcenter_private_ip_id, + vcenter_username=vcenter_username, + vmotion_vlan_id=vmotion_vlan_id, + vmware_software_version=vmware_software_version, + vsan_vlan_id=vsan_vlan_id, + vsphere_upgrade_guide=vsphere_upgrade_guide, + vsphere_upgrade_objects=vsphere_upgrade_objects, + vsphere_vlan_id=vsphere_vlan_id, + workload_network_cidr=workload_network_cidr, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + actual_esxi_hosts_count: Optional[pulumi.Input[int]] = None, + capacity_reservation_id: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + compute_availability_domain: Optional[pulumi.Input[str]] = None, + datastores: Optional[pulumi.Input[Sequence[pulumi.Input['SddcDatastoreArgs']]]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + esxi_hosts_count: Optional[pulumi.Input[int]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + hcx_action: Optional[pulumi.Input[str]] = None, + hcx_fqdn: Optional[pulumi.Input[str]] = None, + hcx_initial_password: Optional[pulumi.Input[str]] = None, + hcx_on_prem_key: Optional[pulumi.Input[str]] = None, + hcx_on_prem_licenses: Optional[pulumi.Input[Sequence[pulumi.Input['SddcHcxOnPremLicenseArgs']]]] = None, + hcx_private_ip_id: Optional[pulumi.Input[str]] = None, + hcx_vlan_id: Optional[pulumi.Input[str]] = None, + initial_host_ocpu_count: Optional[pulumi.Input[float]] = None, + initial_host_shape_name: Optional[pulumi.Input[str]] = None, + initial_sku: Optional[pulumi.Input[str]] = None, + instance_display_name_prefix: Optional[pulumi.Input[str]] = None, + is_hcx_enabled: Optional[pulumi.Input[bool]] = None, + is_hcx_enterprise_enabled: Optional[pulumi.Input[bool]] = None, + is_hcx_pending_downgrade: Optional[pulumi.Input[bool]] = None, + is_shielded_instance_enabled: Optional[pulumi.Input[bool]] = None, + is_single_host_sddc: Optional[pulumi.Input[bool]] = None, + nsx_edge_uplink1vlan_id: Optional[pulumi.Input[str]] = None, + nsx_edge_uplink2vlan_id: Optional[pulumi.Input[str]] = None, + nsx_edge_uplink_ip_id: Optional[pulumi.Input[str]] = None, + nsx_edge_vtep_vlan_id: Optional[pulumi.Input[str]] = None, + nsx_manager_fqdn: Optional[pulumi.Input[str]] = None, + nsx_manager_initial_password: Optional[pulumi.Input[str]] = None, + nsx_manager_private_ip_id: Optional[pulumi.Input[str]] = None, + nsx_manager_username: Optional[pulumi.Input[str]] = None, + nsx_overlay_segment_name: Optional[pulumi.Input[str]] = None, + nsx_vtep_vlan_id: Optional[pulumi.Input[str]] = None, + provisioning_subnet_id: Optional[pulumi.Input[str]] = None, + provisioning_vlan_id: Optional[pulumi.Input[str]] = None, + refresh_hcx_license_status: Optional[pulumi.Input[bool]] = None, + replication_vlan_id: Optional[pulumi.Input[str]] = None, + reserving_hcx_on_premise_license_keys: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + ssh_authorized_keys: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_hcx_billing_cycle_end: Optional[pulumi.Input[str]] = None, + time_hcx_license_status_updated: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + upgrade_licenses: Optional[pulumi.Input[Sequence[pulumi.Input['SddcUpgradeLicenseArgs']]]] = None, + vcenter_fqdn: Optional[pulumi.Input[str]] = None, + vcenter_initial_password: Optional[pulumi.Input[str]] = None, + vcenter_private_ip_id: Optional[pulumi.Input[str]] = None, + vcenter_username: Optional[pulumi.Input[str]] = None, + vmotion_vlan_id: Optional[pulumi.Input[str]] = None, + vmware_software_version: Optional[pulumi.Input[str]] = None, + vsan_vlan_id: Optional[pulumi.Input[str]] = None, + vsphere_upgrade_guide: Optional[pulumi.Input[str]] = None, + vsphere_upgrade_objects: Optional[pulumi.Input[Sequence[pulumi.Input['SddcVsphereUpgradeObjectArgs']]]] = None, + vsphere_vlan_id: Optional[pulumi.Input[str]] = None, + workload_network_cidr: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if actual_esxi_hosts_count is not None: - pulumi.set(__self__, "actual_esxi_hosts_count", actual_esxi_hosts_count) + _setter("actual_esxi_hosts_count", actual_esxi_hosts_count) if capacity_reservation_id is not None: - pulumi.set(__self__, "capacity_reservation_id", capacity_reservation_id) + _setter("capacity_reservation_id", capacity_reservation_id) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if compute_availability_domain is not None: - pulumi.set(__self__, "compute_availability_domain", compute_availability_domain) + _setter("compute_availability_domain", compute_availability_domain) if datastores is not None: - pulumi.set(__self__, "datastores", datastores) + _setter("datastores", datastores) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if esxi_hosts_count is not None: - pulumi.set(__self__, "esxi_hosts_count", esxi_hosts_count) + _setter("esxi_hosts_count", esxi_hosts_count) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if hcx_action is not None: - pulumi.set(__self__, "hcx_action", hcx_action) + _setter("hcx_action", hcx_action) if hcx_fqdn is not None: - pulumi.set(__self__, "hcx_fqdn", hcx_fqdn) + _setter("hcx_fqdn", hcx_fqdn) if hcx_initial_password is not None: - pulumi.set(__self__, "hcx_initial_password", hcx_initial_password) + _setter("hcx_initial_password", hcx_initial_password) if hcx_on_prem_key is not None: - pulumi.set(__self__, "hcx_on_prem_key", hcx_on_prem_key) + _setter("hcx_on_prem_key", hcx_on_prem_key) if hcx_on_prem_licenses is not None: - pulumi.set(__self__, "hcx_on_prem_licenses", hcx_on_prem_licenses) + _setter("hcx_on_prem_licenses", hcx_on_prem_licenses) if hcx_private_ip_id is not None: - pulumi.set(__self__, "hcx_private_ip_id", hcx_private_ip_id) + _setter("hcx_private_ip_id", hcx_private_ip_id) if hcx_vlan_id is not None: - pulumi.set(__self__, "hcx_vlan_id", hcx_vlan_id) + _setter("hcx_vlan_id", hcx_vlan_id) if initial_host_ocpu_count is not None: - pulumi.set(__self__, "initial_host_ocpu_count", initial_host_ocpu_count) + _setter("initial_host_ocpu_count", initial_host_ocpu_count) if initial_host_shape_name is not None: - pulumi.set(__self__, "initial_host_shape_name", initial_host_shape_name) + _setter("initial_host_shape_name", initial_host_shape_name) if initial_sku is not None: - pulumi.set(__self__, "initial_sku", initial_sku) + _setter("initial_sku", initial_sku) if instance_display_name_prefix is not None: - pulumi.set(__self__, "instance_display_name_prefix", instance_display_name_prefix) + _setter("instance_display_name_prefix", instance_display_name_prefix) if is_hcx_enabled is not None: - pulumi.set(__self__, "is_hcx_enabled", is_hcx_enabled) + _setter("is_hcx_enabled", is_hcx_enabled) if is_hcx_enterprise_enabled is not None: - pulumi.set(__self__, "is_hcx_enterprise_enabled", is_hcx_enterprise_enabled) + _setter("is_hcx_enterprise_enabled", is_hcx_enterprise_enabled) if is_hcx_pending_downgrade is not None: - pulumi.set(__self__, "is_hcx_pending_downgrade", is_hcx_pending_downgrade) + _setter("is_hcx_pending_downgrade", is_hcx_pending_downgrade) if is_shielded_instance_enabled is not None: - pulumi.set(__self__, "is_shielded_instance_enabled", is_shielded_instance_enabled) + _setter("is_shielded_instance_enabled", is_shielded_instance_enabled) if is_single_host_sddc is not None: - pulumi.set(__self__, "is_single_host_sddc", is_single_host_sddc) + _setter("is_single_host_sddc", is_single_host_sddc) if nsx_edge_uplink1vlan_id is not None: - pulumi.set(__self__, "nsx_edge_uplink1vlan_id", nsx_edge_uplink1vlan_id) + _setter("nsx_edge_uplink1vlan_id", nsx_edge_uplink1vlan_id) if nsx_edge_uplink2vlan_id is not None: - pulumi.set(__self__, "nsx_edge_uplink2vlan_id", nsx_edge_uplink2vlan_id) + _setter("nsx_edge_uplink2vlan_id", nsx_edge_uplink2vlan_id) if nsx_edge_uplink_ip_id is not None: - pulumi.set(__self__, "nsx_edge_uplink_ip_id", nsx_edge_uplink_ip_id) + _setter("nsx_edge_uplink_ip_id", nsx_edge_uplink_ip_id) if nsx_edge_vtep_vlan_id is not None: - pulumi.set(__self__, "nsx_edge_vtep_vlan_id", nsx_edge_vtep_vlan_id) + _setter("nsx_edge_vtep_vlan_id", nsx_edge_vtep_vlan_id) if nsx_manager_fqdn is not None: - pulumi.set(__self__, "nsx_manager_fqdn", nsx_manager_fqdn) + _setter("nsx_manager_fqdn", nsx_manager_fqdn) if nsx_manager_initial_password is not None: - pulumi.set(__self__, "nsx_manager_initial_password", nsx_manager_initial_password) + _setter("nsx_manager_initial_password", nsx_manager_initial_password) if nsx_manager_private_ip_id is not None: - pulumi.set(__self__, "nsx_manager_private_ip_id", nsx_manager_private_ip_id) + _setter("nsx_manager_private_ip_id", nsx_manager_private_ip_id) if nsx_manager_username is not None: - pulumi.set(__self__, "nsx_manager_username", nsx_manager_username) + _setter("nsx_manager_username", nsx_manager_username) if nsx_overlay_segment_name is not None: - pulumi.set(__self__, "nsx_overlay_segment_name", nsx_overlay_segment_name) + _setter("nsx_overlay_segment_name", nsx_overlay_segment_name) if nsx_vtep_vlan_id is not None: - pulumi.set(__self__, "nsx_vtep_vlan_id", nsx_vtep_vlan_id) + _setter("nsx_vtep_vlan_id", nsx_vtep_vlan_id) if provisioning_subnet_id is not None: - pulumi.set(__self__, "provisioning_subnet_id", provisioning_subnet_id) + _setter("provisioning_subnet_id", provisioning_subnet_id) if provisioning_vlan_id is not None: - pulumi.set(__self__, "provisioning_vlan_id", provisioning_vlan_id) + _setter("provisioning_vlan_id", provisioning_vlan_id) if refresh_hcx_license_status is not None: - pulumi.set(__self__, "refresh_hcx_license_status", refresh_hcx_license_status) + _setter("refresh_hcx_license_status", refresh_hcx_license_status) if replication_vlan_id is not None: - pulumi.set(__self__, "replication_vlan_id", replication_vlan_id) + _setter("replication_vlan_id", replication_vlan_id) if reserving_hcx_on_premise_license_keys is not None: - pulumi.set(__self__, "reserving_hcx_on_premise_license_keys", reserving_hcx_on_premise_license_keys) + _setter("reserving_hcx_on_premise_license_keys", reserving_hcx_on_premise_license_keys) if ssh_authorized_keys is not None: - pulumi.set(__self__, "ssh_authorized_keys", ssh_authorized_keys) + _setter("ssh_authorized_keys", ssh_authorized_keys) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_hcx_billing_cycle_end is not None: - pulumi.set(__self__, "time_hcx_billing_cycle_end", time_hcx_billing_cycle_end) + _setter("time_hcx_billing_cycle_end", time_hcx_billing_cycle_end) if time_hcx_license_status_updated is not None: - pulumi.set(__self__, "time_hcx_license_status_updated", time_hcx_license_status_updated) + _setter("time_hcx_license_status_updated", time_hcx_license_status_updated) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if upgrade_licenses is not None: - pulumi.set(__self__, "upgrade_licenses", upgrade_licenses) + _setter("upgrade_licenses", upgrade_licenses) if vcenter_fqdn is not None: - pulumi.set(__self__, "vcenter_fqdn", vcenter_fqdn) + _setter("vcenter_fqdn", vcenter_fqdn) if vcenter_initial_password is not None: - pulumi.set(__self__, "vcenter_initial_password", vcenter_initial_password) + _setter("vcenter_initial_password", vcenter_initial_password) if vcenter_private_ip_id is not None: - pulumi.set(__self__, "vcenter_private_ip_id", vcenter_private_ip_id) + _setter("vcenter_private_ip_id", vcenter_private_ip_id) if vcenter_username is not None: - pulumi.set(__self__, "vcenter_username", vcenter_username) + _setter("vcenter_username", vcenter_username) if vmotion_vlan_id is not None: - pulumi.set(__self__, "vmotion_vlan_id", vmotion_vlan_id) + _setter("vmotion_vlan_id", vmotion_vlan_id) if vmware_software_version is not None: - pulumi.set(__self__, "vmware_software_version", vmware_software_version) + _setter("vmware_software_version", vmware_software_version) if vsan_vlan_id is not None: - pulumi.set(__self__, "vsan_vlan_id", vsan_vlan_id) + _setter("vsan_vlan_id", vsan_vlan_id) if vsphere_upgrade_guide is not None: - pulumi.set(__self__, "vsphere_upgrade_guide", vsphere_upgrade_guide) + _setter("vsphere_upgrade_guide", vsphere_upgrade_guide) if vsphere_upgrade_objects is not None: - pulumi.set(__self__, "vsphere_upgrade_objects", vsphere_upgrade_objects) + _setter("vsphere_upgrade_objects", vsphere_upgrade_objects) if vsphere_vlan_id is not None: - pulumi.set(__self__, "vsphere_vlan_id", vsphere_vlan_id) + _setter("vsphere_vlan_id", vsphere_vlan_id) if workload_network_cidr is not None: - pulumi.set(__self__, "workload_network_cidr", workload_network_cidr) + _setter("workload_network_cidr", workload_network_cidr) @property @pulumi.getter(name="actualEsxiHostsCount") @@ -1727,6 +1921,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + SddcArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/oda/_inputs.py b/sdk/python/pulumi_oci/oda/_inputs.py index 7d1960b7b7..18827646fc 100644 --- a/sdk/python/pulumi_oci/oda/_inputs.py +++ b/sdk/python/pulumi_oci/oda/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -27,10 +27,21 @@ def __init__(__self__, *, :param pulumi.Input[str] operation_name: Name of the restricted operation. :param pulumi.Input[str] restricting_service: Name of the service restricting the operation. """ + OdaInstanceRestrictedOperationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + operation_name=operation_name, + restricting_service=restricting_service, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + operation_name: Optional[pulumi.Input[str]] = None, + restricting_service: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if operation_name is not None: - pulumi.set(__self__, "operation_name", operation_name) + _setter("operation_name", operation_name) if restricting_service is not None: - pulumi.set(__self__, "restricting_service", restricting_service) + _setter("restricting_service", restricting_service) @property @pulumi.getter(name="operationName") @@ -68,12 +79,25 @@ def __init__(__self__, *, :param pulumi.Input[str] scan_listener_ip: A SCAN listener's IP of the customer's Real Application Cluster (RAC). :param pulumi.Input[int] scan_listener_port: The port that customer's Real Application Cluster (RAC)'s SCAN listeners are listening on. """ + OdaPrivateEndpointScanProxyScanListenerInfoArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + scan_listener_fqdn=scan_listener_fqdn, + scan_listener_ip=scan_listener_ip, + scan_listener_port=scan_listener_port, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + scan_listener_fqdn: Optional[pulumi.Input[str]] = None, + scan_listener_ip: Optional[pulumi.Input[str]] = None, + scan_listener_port: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if scan_listener_fqdn is not None: - pulumi.set(__self__, "scan_listener_fqdn", scan_listener_fqdn) + _setter("scan_listener_fqdn", scan_listener_fqdn) if scan_listener_ip is not None: - pulumi.set(__self__, "scan_listener_ip", scan_listener_ip) + _setter("scan_listener_ip", scan_listener_ip) if scan_listener_port is not None: - pulumi.set(__self__, "scan_listener_port", scan_listener_port) + _setter("scan_listener_port", scan_listener_port) @property @pulumi.getter(name="scanListenerFqdn") @@ -118,10 +142,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetOdaInstancesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -157,10 +194,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetOdaPrivateEndpointAttachmentsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -196,10 +246,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetOdaPrivateEndpointScanProxiesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -235,10 +298,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetOdaPrivateEndpointsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/oda/get_oda_instance.py b/sdk/python/pulumi_oci/oda/get_oda_instance.py index 16c456df47..afce688e84 100644 --- a/sdk/python/pulumi_oci/oda/get_oda_instance.py +++ b/sdk/python/pulumi_oci/oda/get_oda_instance.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/oda/get_oda_instances.py b/sdk/python/pulumi_oci/oda/get_oda_instances.py index aacc3b6b55..ce3574694f 100644 --- a/sdk/python/pulumi_oci/oda/get_oda_instances.py +++ b/sdk/python/pulumi_oci/oda/get_oda_instances.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/oda/get_oda_private_endpoint.py b/sdk/python/pulumi_oci/oda/get_oda_private_endpoint.py index 3133a79fd3..9a78a0ad92 100644 --- a/sdk/python/pulumi_oci/oda/get_oda_private_endpoint.py +++ b/sdk/python/pulumi_oci/oda/get_oda_private_endpoint.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/oda/get_oda_private_endpoint_attachment.py b/sdk/python/pulumi_oci/oda/get_oda_private_endpoint_attachment.py index 199e70e950..961cdf0b59 100644 --- a/sdk/python/pulumi_oci/oda/get_oda_private_endpoint_attachment.py +++ b/sdk/python/pulumi_oci/oda/get_oda_private_endpoint_attachment.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/oda/get_oda_private_endpoint_attachments.py b/sdk/python/pulumi_oci/oda/get_oda_private_endpoint_attachments.py index d46211cd8b..337fa40c59 100644 --- a/sdk/python/pulumi_oci/oda/get_oda_private_endpoint_attachments.py +++ b/sdk/python/pulumi_oci/oda/get_oda_private_endpoint_attachments.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/oda/get_oda_private_endpoint_scan_proxies.py b/sdk/python/pulumi_oci/oda/get_oda_private_endpoint_scan_proxies.py index c352851020..ae70f5f6f1 100644 --- a/sdk/python/pulumi_oci/oda/get_oda_private_endpoint_scan_proxies.py +++ b/sdk/python/pulumi_oci/oda/get_oda_private_endpoint_scan_proxies.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/oda/get_oda_private_endpoint_scan_proxy.py b/sdk/python/pulumi_oci/oda/get_oda_private_endpoint_scan_proxy.py index 8f2b3415d0..bb4ad796e6 100644 --- a/sdk/python/pulumi_oci/oda/get_oda_private_endpoint_scan_proxy.py +++ b/sdk/python/pulumi_oci/oda/get_oda_private_endpoint_scan_proxy.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/oda/get_oda_private_endpoints.py b/sdk/python/pulumi_oci/oda/get_oda_private_endpoints.py index c79b233eee..8c31c116c7 100644 --- a/sdk/python/pulumi_oci/oda/get_oda_private_endpoints.py +++ b/sdk/python/pulumi_oci/oda/get_oda_private_endpoints.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/oda/oda_instance.py b/sdk/python/pulumi_oci/oda/oda_instance.py index 384feba8d6..401a02e7bd 100644 --- a/sdk/python/pulumi_oci/oda/oda_instance.py +++ b/sdk/python/pulumi_oci/oda/oda_instance.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -41,22 +41,47 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_role_based_access: Should this Digital Assistant instance use role-based authorization via an identity domain (true) or use the default policy-based authorization via IAM policies (false) :param pulumi.Input[str] state: The current state of the Digital Assistant instance. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "shape_name", shape_name) + OdaInstanceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + shape_name=shape_name, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + identity_domain=identity_domain, + is_role_based_access=is_role_based_access, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + shape_name: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + identity_domain: Optional[pulumi.Input[str]] = None, + is_role_based_access: Optional[pulumi.Input[bool]] = None, + state: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("shape_name", shape_name) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if identity_domain is not None: - pulumi.set(__self__, "identity_domain", identity_domain) + _setter("identity_domain", identity_domain) if is_role_based_access is not None: - pulumi.set(__self__, "is_role_based_access", is_role_based_access) + _setter("is_role_based_access", is_role_based_access) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) @property @pulumi.getter(name="compartmentId") @@ -225,50 +250,101 @@ def __init__(__self__, *, :param pulumi.Input[str] time_updated: When the Digital Assistance instance was last updated. A date-time string as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. :param pulumi.Input[str] web_app_url: URL for the Digital Assistant web application that's associated with the instance. """ + _OdaInstanceState._configure( + lambda key, value: pulumi.set(__self__, key, value), + attachment_ids=attachment_ids, + attachment_types=attachment_types, + compartment_id=compartment_id, + connector_url=connector_url, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + identity_app_console_url=identity_app_console_url, + identity_app_guid=identity_app_guid, + identity_domain=identity_domain, + imported_package_ids=imported_package_ids, + imported_package_names=imported_package_names, + is_role_based_access=is_role_based_access, + lifecycle_sub_state=lifecycle_sub_state, + restricted_operations=restricted_operations, + shape_name=shape_name, + state=state, + state_message=state_message, + time_created=time_created, + time_updated=time_updated, + web_app_url=web_app_url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attachment_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + attachment_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + connector_url: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + identity_app_console_url: Optional[pulumi.Input[str]] = None, + identity_app_guid: Optional[pulumi.Input[str]] = None, + identity_domain: Optional[pulumi.Input[str]] = None, + imported_package_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + imported_package_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + is_role_based_access: Optional[pulumi.Input[bool]] = None, + lifecycle_sub_state: Optional[pulumi.Input[str]] = None, + restricted_operations: Optional[pulumi.Input[Sequence[pulumi.Input['OdaInstanceRestrictedOperationArgs']]]] = None, + shape_name: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + state_message: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + web_app_url: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if attachment_ids is not None: - pulumi.set(__self__, "attachment_ids", attachment_ids) + _setter("attachment_ids", attachment_ids) if attachment_types is not None: - pulumi.set(__self__, "attachment_types", attachment_types) + _setter("attachment_types", attachment_types) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if connector_url is not None: - pulumi.set(__self__, "connector_url", connector_url) + _setter("connector_url", connector_url) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if identity_app_console_url is not None: - pulumi.set(__self__, "identity_app_console_url", identity_app_console_url) + _setter("identity_app_console_url", identity_app_console_url) if identity_app_guid is not None: - pulumi.set(__self__, "identity_app_guid", identity_app_guid) + _setter("identity_app_guid", identity_app_guid) if identity_domain is not None: - pulumi.set(__self__, "identity_domain", identity_domain) + _setter("identity_domain", identity_domain) if imported_package_ids is not None: - pulumi.set(__self__, "imported_package_ids", imported_package_ids) + _setter("imported_package_ids", imported_package_ids) if imported_package_names is not None: - pulumi.set(__self__, "imported_package_names", imported_package_names) + _setter("imported_package_names", imported_package_names) if is_role_based_access is not None: - pulumi.set(__self__, "is_role_based_access", is_role_based_access) + _setter("is_role_based_access", is_role_based_access) if lifecycle_sub_state is not None: - pulumi.set(__self__, "lifecycle_sub_state", lifecycle_sub_state) + _setter("lifecycle_sub_state", lifecycle_sub_state) if restricted_operations is not None: - pulumi.set(__self__, "restricted_operations", restricted_operations) + _setter("restricted_operations", restricted_operations) if shape_name is not None: - pulumi.set(__self__, "shape_name", shape_name) + _setter("shape_name", shape_name) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if state_message is not None: - pulumi.set(__self__, "state_message", state_message) + _setter("state_message", state_message) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if web_app_url is not None: - pulumi.set(__self__, "web_app_url", web_app_url) + _setter("web_app_url", web_app_url) @property @pulumi.getter(name="attachmentIds") @@ -660,6 +736,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + OdaInstanceArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/oda/oda_private_endpoint.py b/sdk/python/pulumi_oci/oda/oda_private_endpoint.py index f2d006f628..3e6e7bf931 100644 --- a/sdk/python/pulumi_oci/oda/oda_private_endpoint.py +++ b/sdk/python/pulumi_oci/oda/oda_private_endpoint.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['OdaPrivateEndpointArgs', 'OdaPrivateEndpoint'] @@ -35,18 +35,39 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type, or scope. Example: `{"bar-key": "value"}` :param pulumi.Input[Sequence[pulumi.Input[str]]] nsg_ids: (Updatable) List of [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of [network security groups](https://docs.cloud.oracle.com/iaas/Content/Network/Concepts/networksecuritygroups.htm) """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "subnet_id", subnet_id) + OdaPrivateEndpointArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + subnet_id=subnet_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + nsg_ids=nsg_ids, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + subnet_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("subnet_id", subnet_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) @property @pulumi.getter(name="compartmentId") @@ -167,26 +188,53 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: When the resource was created. A date-time string as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. :param pulumi.Input[str] time_updated: When the resource was last updated. A date-time string as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. """ + _OdaPrivateEndpointState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + nsg_ids=nsg_ids, + state=state, + subnet_id=subnet_id, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + state: Optional[pulumi.Input[str]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -428,6 +476,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + OdaPrivateEndpointArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/oda/oda_private_endpoint_attachment.py b/sdk/python/pulumi_oci/oda/oda_private_endpoint_attachment.py index 7ec83e0cb9..8ece199432 100644 --- a/sdk/python/pulumi_oci/oda/oda_private_endpoint_attachment.py +++ b/sdk/python/pulumi_oci/oda/oda_private_endpoint_attachment.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['OdaPrivateEndpointAttachmentArgs', 'OdaPrivateEndpointAttachment'] @@ -25,8 +25,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "oda_instance_id", oda_instance_id) - pulumi.set(__self__, "oda_private_endpoint_id", oda_private_endpoint_id) + OdaPrivateEndpointAttachmentArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + oda_instance_id=oda_instance_id, + oda_private_endpoint_id=oda_private_endpoint_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + oda_instance_id: pulumi.Input[str], + oda_private_endpoint_id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("oda_instance_id", oda_instance_id) + _setter("oda_private_endpoint_id", oda_private_endpoint_id) @property @pulumi.getter(name="odaInstanceId") @@ -79,18 +90,37 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: When the resource was created. A date-time string as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. :param pulumi.Input[str] time_updated: When the resource was last updated. A date-time string as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. """ + _OdaPrivateEndpointAttachmentState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + oda_instance_id=oda_instance_id, + oda_private_endpoint_id=oda_private_endpoint_id, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + oda_instance_id: Optional[pulumi.Input[str]] = None, + oda_private_endpoint_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if oda_instance_id is not None: - pulumi.set(__self__, "oda_instance_id", oda_instance_id) + _setter("oda_instance_id", oda_instance_id) if oda_private_endpoint_id is not None: - pulumi.set(__self__, "oda_private_endpoint_id", oda_private_endpoint_id) + _setter("oda_private_endpoint_id", oda_private_endpoint_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -256,6 +286,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + OdaPrivateEndpointAttachmentArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/oda/oda_private_endpoint_scan_proxy.py b/sdk/python/pulumi_oci/oda/oda_private_endpoint_scan_proxy.py index 530155bed8..8995ef7aa1 100644 --- a/sdk/python/pulumi_oci/oda/oda_private_endpoint_scan_proxy.py +++ b/sdk/python/pulumi_oci/oda/oda_private_endpoint_scan_proxy.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -31,10 +31,25 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "oda_private_endpoint_id", oda_private_endpoint_id) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "scan_listener_infos", scan_listener_infos) - pulumi.set(__self__, "scan_listener_type", scan_listener_type) + OdaPrivateEndpointScanProxyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + oda_private_endpoint_id=oda_private_endpoint_id, + protocol=protocol, + scan_listener_infos=scan_listener_infos, + scan_listener_type=scan_listener_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + oda_private_endpoint_id: pulumi.Input[str], + protocol: pulumi.Input[str], + scan_listener_infos: pulumi.Input[Sequence[pulumi.Input['OdaPrivateEndpointScanProxyScanListenerInfoArgs']]], + scan_listener_type: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("oda_private_endpoint_id", oda_private_endpoint_id) + _setter("protocol", protocol) + _setter("scan_listener_infos", scan_listener_infos) + _setter("scan_listener_type", scan_listener_type) @property @pulumi.getter(name="odaPrivateEndpointId") @@ -111,18 +126,37 @@ def __init__(__self__, *, :param pulumi.Input[str] state: The current state of the ODA Private Endpoint Scan Proxy. :param pulumi.Input[str] time_created: When the resource was created. A date-time string as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. """ + _OdaPrivateEndpointScanProxyState._configure( + lambda key, value: pulumi.set(__self__, key, value), + oda_private_endpoint_id=oda_private_endpoint_id, + protocol=protocol, + scan_listener_infos=scan_listener_infos, + scan_listener_type=scan_listener_type, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + oda_private_endpoint_id: Optional[pulumi.Input[str]] = None, + protocol: Optional[pulumi.Input[str]] = None, + scan_listener_infos: Optional[pulumi.Input[Sequence[pulumi.Input['OdaPrivateEndpointScanProxyScanListenerInfoArgs']]]] = None, + scan_listener_type: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if oda_private_endpoint_id is not None: - pulumi.set(__self__, "oda_private_endpoint_id", oda_private_endpoint_id) + _setter("oda_private_endpoint_id", oda_private_endpoint_id) if protocol is not None: - pulumi.set(__self__, "protocol", protocol) + _setter("protocol", protocol) if scan_listener_infos is not None: - pulumi.set(__self__, "scan_listener_infos", scan_listener_infos) + _setter("scan_listener_infos", scan_listener_infos) if scan_listener_type is not None: - pulumi.set(__self__, "scan_listener_type", scan_listener_type) + _setter("scan_listener_type", scan_listener_type) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="odaPrivateEndpointId") @@ -304,6 +338,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + OdaPrivateEndpointScanProxyArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/oda/outputs.py b/sdk/python/pulumi_oci/oda/outputs.py index 82071f78d8..f713734f60 100644 --- a/sdk/python/pulumi_oci/oda/outputs.py +++ b/sdk/python/pulumi_oci/oda/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -58,10 +58,21 @@ def __init__(__self__, *, :param str operation_name: Name of the restricted operation. :param str restricting_service: Name of the service restricting the operation. """ + OdaInstanceRestrictedOperation._configure( + lambda key, value: pulumi.set(__self__, key, value), + operation_name=operation_name, + restricting_service=restricting_service, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + operation_name: Optional[str] = None, + restricting_service: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if operation_name is not None: - pulumi.set(__self__, "operation_name", operation_name) + _setter("operation_name", operation_name) if restricting_service is not None: - pulumi.set(__self__, "restricting_service", restricting_service) + _setter("restricting_service", restricting_service) @property @pulumi.getter(name="operationName") @@ -112,12 +123,25 @@ def __init__(__self__, *, :param str scan_listener_ip: A SCAN listener's IP of the customer's Real Application Cluster (RAC). :param int scan_listener_port: The port that customer's Real Application Cluster (RAC)'s SCAN listeners are listening on. """ + OdaPrivateEndpointScanProxyScanListenerInfo._configure( + lambda key, value: pulumi.set(__self__, key, value), + scan_listener_fqdn=scan_listener_fqdn, + scan_listener_ip=scan_listener_ip, + scan_listener_port=scan_listener_port, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + scan_listener_fqdn: Optional[str] = None, + scan_listener_ip: Optional[str] = None, + scan_listener_port: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if scan_listener_fqdn is not None: - pulumi.set(__self__, "scan_listener_fqdn", scan_listener_fqdn) + _setter("scan_listener_fqdn", scan_listener_fqdn) if scan_listener_ip is not None: - pulumi.set(__self__, "scan_listener_ip", scan_listener_ip) + _setter("scan_listener_ip", scan_listener_ip) if scan_listener_port is not None: - pulumi.set(__self__, "scan_listener_port", scan_listener_port) + _setter("scan_listener_port", scan_listener_port) @property @pulumi.getter(name="scanListenerFqdn") @@ -153,8 +177,19 @@ def __init__(__self__, *, :param str operation_name: Name of the restricted operation. :param str restricting_service: Name of the service restricting the operation. """ - pulumi.set(__self__, "operation_name", operation_name) - pulumi.set(__self__, "restricting_service", restricting_service) + GetOdaInstanceRestrictedOperationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + operation_name=operation_name, + restricting_service=restricting_service, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + operation_name: str, + restricting_service: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("operation_name", operation_name) + _setter("restricting_service", restricting_service) @property @pulumi.getter(name="operationName") @@ -179,10 +214,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetOdaInstancesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -251,29 +299,82 @@ def __init__(__self__, *, :param str time_updated: When the Digital Assistance instance was last updated. A date-time string as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. :param str web_app_url: URL for the Digital Assistant web application that's associated with the instance. """ - pulumi.set(__self__, "attachment_ids", attachment_ids) - pulumi.set(__self__, "attachment_types", attachment_types) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "connector_url", connector_url) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "identity_app_console_url", identity_app_console_url) - pulumi.set(__self__, "identity_app_guid", identity_app_guid) - pulumi.set(__self__, "identity_domain", identity_domain) - pulumi.set(__self__, "imported_package_ids", imported_package_ids) - pulumi.set(__self__, "imported_package_names", imported_package_names) - pulumi.set(__self__, "is_role_based_access", is_role_based_access) - pulumi.set(__self__, "lifecycle_sub_state", lifecycle_sub_state) - pulumi.set(__self__, "restricted_operations", restricted_operations) - pulumi.set(__self__, "shape_name", shape_name) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "state_message", state_message) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "web_app_url", web_app_url) + GetOdaInstancesOdaInstanceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + attachment_ids=attachment_ids, + attachment_types=attachment_types, + compartment_id=compartment_id, + connector_url=connector_url, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + identity_app_console_url=identity_app_console_url, + identity_app_guid=identity_app_guid, + identity_domain=identity_domain, + imported_package_ids=imported_package_ids, + imported_package_names=imported_package_names, + is_role_based_access=is_role_based_access, + lifecycle_sub_state=lifecycle_sub_state, + restricted_operations=restricted_operations, + shape_name=shape_name, + state=state, + state_message=state_message, + time_created=time_created, + time_updated=time_updated, + web_app_url=web_app_url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attachment_ids: Sequence[str], + attachment_types: Sequence[str], + compartment_id: str, + connector_url: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + identity_app_console_url: str, + identity_app_guid: str, + identity_domain: str, + imported_package_ids: Sequence[str], + imported_package_names: Sequence[str], + is_role_based_access: bool, + lifecycle_sub_state: str, + restricted_operations: Sequence['outputs.GetOdaInstancesOdaInstanceRestrictedOperationResult'], + shape_name: str, + state: str, + state_message: str, + time_created: str, + time_updated: str, + web_app_url: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("attachment_ids", attachment_ids) + _setter("attachment_types", attachment_types) + _setter("compartment_id", compartment_id) + _setter("connector_url", connector_url) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("identity_app_console_url", identity_app_console_url) + _setter("identity_app_guid", identity_app_guid) + _setter("identity_domain", identity_domain) + _setter("imported_package_ids", imported_package_ids) + _setter("imported_package_names", imported_package_names) + _setter("is_role_based_access", is_role_based_access) + _setter("lifecycle_sub_state", lifecycle_sub_state) + _setter("restricted_operations", restricted_operations) + _setter("shape_name", shape_name) + _setter("state", state) + _setter("state_message", state_message) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("web_app_url", web_app_url) @property @pulumi.getter(name="attachmentIds") @@ -469,8 +570,19 @@ def __init__(__self__, *, :param str operation_name: Name of the restricted operation. :param str restricting_service: Name of the service restricting the operation. """ - pulumi.set(__self__, "operation_name", operation_name) - pulumi.set(__self__, "restricting_service", restricting_service) + GetOdaInstancesOdaInstanceRestrictedOperationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + operation_name=operation_name, + restricting_service=restricting_service, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + operation_name: str, + restricting_service: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("operation_name", operation_name) + _setter("restricting_service", restricting_service) @property @pulumi.getter(name="operationName") @@ -495,10 +607,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetOdaPrivateEndpointAttachmentsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -520,7 +645,16 @@ def regex(self) -> Optional[bool]: class GetOdaPrivateEndpointAttachmentsOdaPrivateEndpointAttachmentCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetOdaPrivateEndpointAttachmentsOdaPrivateEndpointAttachmentCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetOdaPrivateEndpointAttachmentsOdaPrivateEndpointAttachmentCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetOdaPrivateEndpointAttachmentsOdaPrivateEndpointAttachmentCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -547,13 +681,34 @@ def __init__(__self__, *, :param str time_created: When the resource was created. A date-time string as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. :param str time_updated: When the resource was last updated. A date-time string as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "oda_instance_id", oda_instance_id) - pulumi.set(__self__, "oda_private_endpoint_id", oda_private_endpoint_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetOdaPrivateEndpointAttachmentsOdaPrivateEndpointAttachmentCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + id=id, + oda_instance_id=oda_instance_id, + oda_private_endpoint_id=oda_private_endpoint_id, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + id: str, + oda_instance_id: str, + oda_private_endpoint_id: str, + state: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("id", id) + _setter("oda_instance_id", oda_instance_id) + _setter("oda_private_endpoint_id", oda_private_endpoint_id) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -618,10 +773,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetOdaPrivateEndpointScanProxiesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -643,7 +811,16 @@ def regex(self) -> Optional[bool]: class GetOdaPrivateEndpointScanProxiesOdaPrivateEndpointScanProxyCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetOdaPrivateEndpointScanProxiesOdaPrivateEndpointScanProxyCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetOdaPrivateEndpointScanProxiesOdaPrivateEndpointScanProxyCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetOdaPrivateEndpointScanProxiesOdaPrivateEndpointScanProxyCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -670,13 +847,34 @@ def __init__(__self__, *, :param str state: List only the ODA Private Endpoint Scan Proxies that are in this lifecycle state. :param str time_created: When the resource was created. A date-time string as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. """ - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "oda_private_endpoint_id", oda_private_endpoint_id) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "scan_listener_infos", scan_listener_infos) - pulumi.set(__self__, "scan_listener_type", scan_listener_type) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) + GetOdaPrivateEndpointScanProxiesOdaPrivateEndpointScanProxyCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + oda_private_endpoint_id=oda_private_endpoint_id, + protocol=protocol, + scan_listener_infos=scan_listener_infos, + scan_listener_type=scan_listener_type, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: str, + oda_private_endpoint_id: str, + protocol: str, + scan_listener_infos: Sequence['outputs.GetOdaPrivateEndpointScanProxiesOdaPrivateEndpointScanProxyCollectionItemScanListenerInfoResult'], + scan_listener_type: str, + state: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) + _setter("oda_private_endpoint_id", oda_private_endpoint_id) + _setter("protocol", protocol) + _setter("scan_listener_infos", scan_listener_infos) + _setter("scan_listener_type", scan_listener_type) + _setter("state", state) + _setter("time_created", time_created) @property @pulumi.getter @@ -746,9 +944,22 @@ def __init__(__self__, *, :param str scan_listener_ip: A SCAN listener's IP of the customer's Real Application Cluster (RAC). :param int scan_listener_port: The port that customer's Real Application Cluster (RAC)'s SCAN listeners are listening on. """ - pulumi.set(__self__, "scan_listener_fqdn", scan_listener_fqdn) - pulumi.set(__self__, "scan_listener_ip", scan_listener_ip) - pulumi.set(__self__, "scan_listener_port", scan_listener_port) + GetOdaPrivateEndpointScanProxiesOdaPrivateEndpointScanProxyCollectionItemScanListenerInfoResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + scan_listener_fqdn=scan_listener_fqdn, + scan_listener_ip=scan_listener_ip, + scan_listener_port=scan_listener_port, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + scan_listener_fqdn: str, + scan_listener_ip: str, + scan_listener_port: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("scan_listener_fqdn", scan_listener_fqdn) + _setter("scan_listener_ip", scan_listener_ip) + _setter("scan_listener_port", scan_listener_port) @property @pulumi.getter(name="scanListenerFqdn") @@ -786,9 +997,22 @@ def __init__(__self__, *, :param str scan_listener_ip: A SCAN listener's IP of the customer's Real Application Cluster (RAC). :param int scan_listener_port: The port that customer's Real Application Cluster (RAC)'s SCAN listeners are listening on. """ - pulumi.set(__self__, "scan_listener_fqdn", scan_listener_fqdn) - pulumi.set(__self__, "scan_listener_ip", scan_listener_ip) - pulumi.set(__self__, "scan_listener_port", scan_listener_port) + GetOdaPrivateEndpointScanProxyScanListenerInfoResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + scan_listener_fqdn=scan_listener_fqdn, + scan_listener_ip=scan_listener_ip, + scan_listener_port=scan_listener_port, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + scan_listener_fqdn: str, + scan_listener_ip: str, + scan_listener_port: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("scan_listener_fqdn", scan_listener_fqdn) + _setter("scan_listener_ip", scan_listener_ip) + _setter("scan_listener_port", scan_listener_port) @property @pulumi.getter(name="scanListenerFqdn") @@ -821,10 +1045,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetOdaPrivateEndpointsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -846,7 +1083,16 @@ def regex(self) -> Optional[bool]: class GetOdaPrivateEndpointsOdaPrivateEndpointCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetOdaPrivateEndpointsOdaPrivateEndpointCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetOdaPrivateEndpointsOdaPrivateEndpointCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetOdaPrivateEndpointsOdaPrivateEndpointCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -881,17 +1127,46 @@ def __init__(__self__, *, :param str time_created: When the resource was created. A date-time string as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. :param str time_updated: When the resource was last updated. A date-time string as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "nsg_ids", nsg_ids) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetOdaPrivateEndpointsOdaPrivateEndpointCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + nsg_ids=nsg_ids, + state=state, + subnet_id=subnet_id, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + nsg_ids: Sequence[str], + state: str, + subnet_id: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("nsg_ids", nsg_ids) + _setter("state", state) + _setter("subnet_id", subnet_id) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") diff --git a/sdk/python/pulumi_oci/onesubsription/_inputs.py b/sdk/python/pulumi_oci/onesubsription/_inputs.py index a2e98b6081..8082230083 100644 --- a/sdk/python/pulumi_oci/onesubsription/_inputs.py +++ b/sdk/python/pulumi_oci/onesubsription/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -31,10 +31,23 @@ def __init__(__self__, *, """ :param str name: Product name """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAggregatedComputedUsagesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -76,10 +89,23 @@ def __init__(__self__, *, """ :param str name: Product name """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetBillingSchedulesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -118,10 +144,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetCommitmentsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -160,10 +199,23 @@ def __init__(__self__, *, """ :param str name: Product name """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetComputedUsagesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -205,10 +257,23 @@ def __init__(__self__, *, """ :param str name: Product name """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetInvoiceLineComputedUsagesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -250,10 +315,23 @@ def __init__(__self__, *, """ :param str name: Payment Term name """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetInvoicesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -295,10 +373,23 @@ def __init__(__self__, *, """ :param str name: Currency name """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetOrganizationSubscriptionsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -340,10 +431,23 @@ def __init__(__self__, *, """ :param str name: Product name """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetRatecardsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -385,10 +489,23 @@ def __init__(__self__, *, """ :param str name: Commercial name also called customer name. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSubscribedServicesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -430,10 +547,23 @@ def __init__(__self__, *, """ :param str name: Product name """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSubscriptionsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/onesubsription/get_aggregated_computed_usages.py b/sdk/python/pulumi_oci/onesubsription/get_aggregated_computed_usages.py index dabdb93dce..937d13cd20 100644 --- a/sdk/python/pulumi_oci/onesubsription/get_aggregated_computed_usages.py +++ b/sdk/python/pulumi_oci/onesubsription/get_aggregated_computed_usages.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/onesubsription/get_billing_schedules.py b/sdk/python/pulumi_oci/onesubsription/get_billing_schedules.py index 91be7d33a0..ebc84082d2 100644 --- a/sdk/python/pulumi_oci/onesubsription/get_billing_schedules.py +++ b/sdk/python/pulumi_oci/onesubsription/get_billing_schedules.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/onesubsription/get_commitment.py b/sdk/python/pulumi_oci/onesubsription/get_commitment.py index 979066d4a4..113eb585ea 100644 --- a/sdk/python/pulumi_oci/onesubsription/get_commitment.py +++ b/sdk/python/pulumi_oci/onesubsription/get_commitment.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/onesubsription/get_commitments.py b/sdk/python/pulumi_oci/onesubsription/get_commitments.py index 1c143af4f9..4f600d5576 100644 --- a/sdk/python/pulumi_oci/onesubsription/get_commitments.py +++ b/sdk/python/pulumi_oci/onesubsription/get_commitments.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/onesubsription/get_computed_usage.py b/sdk/python/pulumi_oci/onesubsription/get_computed_usage.py index a5bff87d14..a6ae657b48 100644 --- a/sdk/python/pulumi_oci/onesubsription/get_computed_usage.py +++ b/sdk/python/pulumi_oci/onesubsription/get_computed_usage.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/onesubsription/get_computed_usages.py b/sdk/python/pulumi_oci/onesubsription/get_computed_usages.py index c1fb3aebb8..84eeca1de1 100644 --- a/sdk/python/pulumi_oci/onesubsription/get_computed_usages.py +++ b/sdk/python/pulumi_oci/onesubsription/get_computed_usages.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/onesubsription/get_invoice_line_computed_usages.py b/sdk/python/pulumi_oci/onesubsription/get_invoice_line_computed_usages.py index c6206d286a..ddfded9b7a 100644 --- a/sdk/python/pulumi_oci/onesubsription/get_invoice_line_computed_usages.py +++ b/sdk/python/pulumi_oci/onesubsription/get_invoice_line_computed_usages.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/onesubsription/get_invoices.py b/sdk/python/pulumi_oci/onesubsription/get_invoices.py index a8cc0cb89e..e3518642c1 100644 --- a/sdk/python/pulumi_oci/onesubsription/get_invoices.py +++ b/sdk/python/pulumi_oci/onesubsription/get_invoices.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/onesubsription/get_organization_subscriptions.py b/sdk/python/pulumi_oci/onesubsription/get_organization_subscriptions.py index 15bb401edf..9cda387c5e 100644 --- a/sdk/python/pulumi_oci/onesubsription/get_organization_subscriptions.py +++ b/sdk/python/pulumi_oci/onesubsription/get_organization_subscriptions.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/onesubsription/get_ratecards.py b/sdk/python/pulumi_oci/onesubsription/get_ratecards.py index efdedbb41a..ff22a25e2c 100644 --- a/sdk/python/pulumi_oci/onesubsription/get_ratecards.py +++ b/sdk/python/pulumi_oci/onesubsription/get_ratecards.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/onesubsription/get_subscribed_service.py b/sdk/python/pulumi_oci/onesubsription/get_subscribed_service.py index b48c6e7d7d..1aa24e8557 100644 --- a/sdk/python/pulumi_oci/onesubsription/get_subscribed_service.py +++ b/sdk/python/pulumi_oci/onesubsription/get_subscribed_service.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/onesubsription/get_subscribed_services.py b/sdk/python/pulumi_oci/onesubsription/get_subscribed_services.py index 8d8e730dd5..207aebaa52 100644 --- a/sdk/python/pulumi_oci/onesubsription/get_subscribed_services.py +++ b/sdk/python/pulumi_oci/onesubsription/get_subscribed_services.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/onesubsription/get_subscriptions.py b/sdk/python/pulumi_oci/onesubsription/get_subscriptions.py index e55e5baddd..bfc2c19723 100644 --- a/sdk/python/pulumi_oci/onesubsription/get_subscriptions.py +++ b/sdk/python/pulumi_oci/onesubsription/get_subscriptions.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/onesubsription/outputs.py b/sdk/python/pulumi_oci/onesubsription/outputs.py index caef93f24b..94e125808e 100644 --- a/sdk/python/pulumi_oci/onesubsription/outputs.py +++ b/sdk/python/pulumi_oci/onesubsription/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -135,16 +135,43 @@ def __init__(__self__, *, :param str time_end: Subscribed services contract line end date, expressed in RFC 3339 timestamp format. :param str time_start: Subscribed services contract line start date, expressed in RFC 3339 timestamp format. """ - pulumi.set(__self__, "aggregated_computed_usages", aggregated_computed_usages) - pulumi.set(__self__, "currency_code", currency_code) - pulumi.set(__self__, "parent_products", parent_products) - pulumi.set(__self__, "parent_subscribed_service_id", parent_subscribed_service_id) - pulumi.set(__self__, "plan_number", plan_number) - pulumi.set(__self__, "pricing_model", pricing_model) - pulumi.set(__self__, "rate_card_id", rate_card_id) - pulumi.set(__self__, "subscription_id", subscription_id) - pulumi.set(__self__, "time_end", time_end) - pulumi.set(__self__, "time_start", time_start) + GetAggregatedComputedUsagesAggregatedComputedUsageResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + aggregated_computed_usages=aggregated_computed_usages, + currency_code=currency_code, + parent_products=parent_products, + parent_subscribed_service_id=parent_subscribed_service_id, + plan_number=plan_number, + pricing_model=pricing_model, + rate_card_id=rate_card_id, + subscription_id=subscription_id, + time_end=time_end, + time_start=time_start, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aggregated_computed_usages: Sequence['outputs.GetAggregatedComputedUsagesAggregatedComputedUsageAggregatedComputedUsageResult'], + currency_code: str, + parent_products: Sequence['outputs.GetAggregatedComputedUsagesAggregatedComputedUsageParentProductResult'], + parent_subscribed_service_id: str, + plan_number: str, + pricing_model: str, + rate_card_id: str, + subscription_id: str, + time_end: str, + time_start: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("aggregated_computed_usages", aggregated_computed_usages) + _setter("currency_code", currency_code) + _setter("parent_products", parent_products) + _setter("parent_subscribed_service_id", parent_subscribed_service_id) + _setter("plan_number", plan_number) + _setter("pricing_model", pricing_model) + _setter("rate_card_id", rate_card_id) + _setter("subscription_id", subscription_id) + _setter("time_end", time_end) + _setter("time_start", time_start) @property @pulumi.getter(name="aggregatedComputedUsages") @@ -248,14 +275,37 @@ def __init__(__self__, *, :param str time_metered_on: Metered Service date , expressed in RFC 3339 timestamp format. :param str type: Usage compute type in SPM. """ - pulumi.set(__self__, "cost", cost) - pulumi.set(__self__, "cost_unrounded", cost_unrounded) - pulumi.set(__self__, "data_center", data_center) - pulumi.set(__self__, "net_unit_price", net_unit_price) - pulumi.set(__self__, "products", products) - pulumi.set(__self__, "quantity", quantity) - pulumi.set(__self__, "time_metered_on", time_metered_on) - pulumi.set(__self__, "type", type) + GetAggregatedComputedUsagesAggregatedComputedUsageAggregatedComputedUsageResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cost=cost, + cost_unrounded=cost_unrounded, + data_center=data_center, + net_unit_price=net_unit_price, + products=products, + quantity=quantity, + time_metered_on=time_metered_on, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cost: str, + cost_unrounded: str, + data_center: str, + net_unit_price: str, + products: Sequence['outputs.GetAggregatedComputedUsagesAggregatedComputedUsageAggregatedComputedUsageProductResult'], + quantity: str, + time_metered_on: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cost", cost) + _setter("cost_unrounded", cost_unrounded) + _setter("data_center", data_center) + _setter("net_unit_price", net_unit_price) + _setter("products", products) + _setter("quantity", quantity) + _setter("time_metered_on", time_metered_on) + _setter("type", type) @property @pulumi.getter @@ -341,13 +391,34 @@ def __init__(__self__, *, :param str ucm_rate_card_part_type: Rate card part type of Product :param str unit_of_measure: Unit of Measure """ - pulumi.set(__self__, "billing_category", billing_category) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "part_number", part_number) - pulumi.set(__self__, "product_category", product_category) - pulumi.set(__self__, "provisioning_group", provisioning_group) - pulumi.set(__self__, "ucm_rate_card_part_type", ucm_rate_card_part_type) - pulumi.set(__self__, "unit_of_measure", unit_of_measure) + GetAggregatedComputedUsagesAggregatedComputedUsageAggregatedComputedUsageProductResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + billing_category=billing_category, + name=name, + part_number=part_number, + product_category=product_category, + provisioning_group=provisioning_group, + ucm_rate_card_part_type=ucm_rate_card_part_type, + unit_of_measure=unit_of_measure, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + billing_category: str, + name: str, + part_number: str, + product_category: str, + provisioning_group: str, + ucm_rate_card_part_type: str, + unit_of_measure: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("billing_category", billing_category) + _setter("name", name) + _setter("part_number", part_number) + _setter("product_category", product_category) + _setter("provisioning_group", provisioning_group) + _setter("ucm_rate_card_part_type", ucm_rate_card_part_type) + _setter("unit_of_measure", unit_of_measure) @property @pulumi.getter(name="billingCategory") @@ -425,13 +496,34 @@ def __init__(__self__, *, :param str ucm_rate_card_part_type: Rate card part type of Product :param str unit_of_measure: Unit of Measure """ - pulumi.set(__self__, "billing_category", billing_category) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "part_number", part_number) - pulumi.set(__self__, "product_category", product_category) - pulumi.set(__self__, "provisioning_group", provisioning_group) - pulumi.set(__self__, "ucm_rate_card_part_type", ucm_rate_card_part_type) - pulumi.set(__self__, "unit_of_measure", unit_of_measure) + GetAggregatedComputedUsagesAggregatedComputedUsageParentProductResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + billing_category=billing_category, + name=name, + part_number=part_number, + product_category=product_category, + provisioning_group=provisioning_group, + ucm_rate_card_part_type=ucm_rate_card_part_type, + unit_of_measure=unit_of_measure, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + billing_category: str, + name: str, + part_number: str, + product_category: str, + provisioning_group: str, + ucm_rate_card_part_type: str, + unit_of_measure: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("billing_category", billing_category) + _setter("name", name) + _setter("part_number", part_number) + _setter("product_category", product_category) + _setter("provisioning_group", provisioning_group) + _setter("ucm_rate_card_part_type", ucm_rate_card_part_type) + _setter("unit_of_measure", unit_of_measure) @property @pulumi.getter(name="billingCategory") @@ -499,10 +591,23 @@ def __init__(__self__, *, """ :param str name: Product name """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAggregatedComputedUsagesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -554,19 +659,52 @@ def __init__(__self__, *, :param str time_invoicing: Billing schedule invoicing date :param str time_start: Billing schedule start date """ - pulumi.set(__self__, "amount", amount) - pulumi.set(__self__, "ar_customer_transaction_id", ar_customer_transaction_id) - pulumi.set(__self__, "ar_invoice_number", ar_invoice_number) - pulumi.set(__self__, "billing_frequency", billing_frequency) - pulumi.set(__self__, "invoice_status", invoice_status) - pulumi.set(__self__, "net_unit_price", net_unit_price) - pulumi.set(__self__, "order_number", order_number) - pulumi.set(__self__, "products", products) - pulumi.set(__self__, "quantity", quantity) - pulumi.set(__self__, "subscribed_service_id", subscribed_service_id) - pulumi.set(__self__, "time_end", time_end) - pulumi.set(__self__, "time_invoicing", time_invoicing) - pulumi.set(__self__, "time_start", time_start) + GetBillingSchedulesBillingScheduleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + amount=amount, + ar_customer_transaction_id=ar_customer_transaction_id, + ar_invoice_number=ar_invoice_number, + billing_frequency=billing_frequency, + invoice_status=invoice_status, + net_unit_price=net_unit_price, + order_number=order_number, + products=products, + quantity=quantity, + subscribed_service_id=subscribed_service_id, + time_end=time_end, + time_invoicing=time_invoicing, + time_start=time_start, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + amount: str, + ar_customer_transaction_id: str, + ar_invoice_number: str, + billing_frequency: str, + invoice_status: str, + net_unit_price: str, + order_number: str, + products: Sequence['outputs.GetBillingSchedulesBillingScheduleProductResult'], + quantity: str, + subscribed_service_id: str, + time_end: str, + time_invoicing: str, + time_start: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("amount", amount) + _setter("ar_customer_transaction_id", ar_customer_transaction_id) + _setter("ar_invoice_number", ar_invoice_number) + _setter("billing_frequency", billing_frequency) + _setter("invoice_status", invoice_status) + _setter("net_unit_price", net_unit_price) + _setter("order_number", order_number) + _setter("products", products) + _setter("quantity", quantity) + _setter("subscribed_service_id", subscribed_service_id) + _setter("time_end", time_end) + _setter("time_invoicing", time_invoicing) + _setter("time_start", time_start) @property @pulumi.getter @@ -682,8 +820,19 @@ def __init__(__self__, *, :param str name: Product name :param str part_number: Indicates the associated AR Invoice Number """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "part_number", part_number) + GetBillingSchedulesBillingScheduleProductResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + part_number=part_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + part_number: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("part_number", part_number) @property @pulumi.getter @@ -711,10 +860,23 @@ def __init__(__self__, *, """ :param str name: Product name """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetBillingSchedulesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -756,14 +918,37 @@ def __init__(__self__, *, :param str time_start: Commitment start date :param str used_amount: Commitment used amount """ - pulumi.set(__self__, "available_amount", available_amount) - pulumi.set(__self__, "funded_allocation_value", funded_allocation_value) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "quantity", quantity) - pulumi.set(__self__, "subscribed_service_id", subscribed_service_id) - pulumi.set(__self__, "time_end", time_end) - pulumi.set(__self__, "time_start", time_start) - pulumi.set(__self__, "used_amount", used_amount) + GetCommitmentsCommitmentResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + available_amount=available_amount, + funded_allocation_value=funded_allocation_value, + id=id, + quantity=quantity, + subscribed_service_id=subscribed_service_id, + time_end=time_end, + time_start=time_start, + used_amount=used_amount, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + available_amount: str, + funded_allocation_value: str, + id: str, + quantity: str, + subscribed_service_id: str, + time_end: str, + time_start: str, + used_amount: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("available_amount", available_amount) + _setter("funded_allocation_value", funded_allocation_value) + _setter("id", id) + _setter("quantity", quantity) + _setter("subscribed_service_id", subscribed_service_id) + _setter("time_end", time_end) + _setter("time_start", time_start) + _setter("used_amount", used_amount) @property @pulumi.getter(name="availableAmount") @@ -836,10 +1021,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetCommitmentsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -876,13 +1074,34 @@ def __init__(__self__, *, :param str ucm_rate_card_part_type: Rate card part type of Product :param str unit_of_measure: Unit of Messure """ - pulumi.set(__self__, "billing_category", billing_category) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "part_number", part_number) - pulumi.set(__self__, "product_category", product_category) - pulumi.set(__self__, "provisioning_group", provisioning_group) - pulumi.set(__self__, "ucm_rate_card_part_type", ucm_rate_card_part_type) - pulumi.set(__self__, "unit_of_measure", unit_of_measure) + GetComputedUsageParentProductResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + billing_category=billing_category, + name=name, + part_number=part_number, + product_category=product_category, + provisioning_group=provisioning_group, + ucm_rate_card_part_type=ucm_rate_card_part_type, + unit_of_measure=unit_of_measure, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + billing_category: str, + name: str, + part_number: str, + product_category: str, + provisioning_group: str, + ucm_rate_card_part_type: str, + unit_of_measure: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("billing_category", billing_category) + _setter("name", name) + _setter("part_number", part_number) + _setter("product_category", product_category) + _setter("provisioning_group", provisioning_group) + _setter("ucm_rate_card_part_type", ucm_rate_card_part_type) + _setter("unit_of_measure", unit_of_measure) @property @pulumi.getter(name="billingCategory") @@ -960,13 +1179,34 @@ def __init__(__self__, *, :param str ucm_rate_card_part_type: Rate card part type of Product :param str unit_of_measure: Unit of Messure """ - pulumi.set(__self__, "billing_category", billing_category) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "part_number", part_number) - pulumi.set(__self__, "product_category", product_category) - pulumi.set(__self__, "provisioning_group", provisioning_group) - pulumi.set(__self__, "ucm_rate_card_part_type", ucm_rate_card_part_type) - pulumi.set(__self__, "unit_of_measure", unit_of_measure) + GetComputedUsageProductResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + billing_category=billing_category, + name=name, + part_number=part_number, + product_category=product_category, + provisioning_group=provisioning_group, + ucm_rate_card_part_type=ucm_rate_card_part_type, + unit_of_measure=unit_of_measure, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + billing_category: str, + name: str, + part_number: str, + product_category: str, + provisioning_group: str, + ucm_rate_card_part_type: str, + unit_of_measure: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("billing_category", billing_category) + _setter("name", name) + _setter("part_number", part_number) + _setter("product_category", product_category) + _setter("provisioning_group", provisioning_group) + _setter("ucm_rate_card_part_type", ucm_rate_card_part_type) + _setter("unit_of_measure", unit_of_measure) @property @pulumi.getter(name="billingCategory") @@ -1081,32 +1321,91 @@ def __init__(__self__, *, :param str unit_of_measure: Unit of Messure :param str usage_number: SPM Internal usage Line number identifier in SPM coming from Metered Services entity. """ - pulumi.set(__self__, "commitment_service_id", commitment_service_id) - pulumi.set(__self__, "compute_source", compute_source) - pulumi.set(__self__, "computed_usage_id", computed_usage_id) - pulumi.set(__self__, "cost", cost) - pulumi.set(__self__, "cost_rounded", cost_rounded) - pulumi.set(__self__, "currency_code", currency_code) - pulumi.set(__self__, "data_center", data_center) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_invoiced", is_invoiced) - pulumi.set(__self__, "mqs_message_id", mqs_message_id) - pulumi.set(__self__, "net_unit_price", net_unit_price) - pulumi.set(__self__, "original_usage_number", original_usage_number) - pulumi.set(__self__, "parent_products", parent_products) - pulumi.set(__self__, "parent_subscribed_service_id", parent_subscribed_service_id) - pulumi.set(__self__, "plan_number", plan_number) - pulumi.set(__self__, "products", products) - pulumi.set(__self__, "quantity", quantity) - pulumi.set(__self__, "rate_card_id", rate_card_id) - pulumi.set(__self__, "rate_card_tierd_id", rate_card_tierd_id) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_metered_on", time_metered_on) - pulumi.set(__self__, "time_of_arrival", time_of_arrival) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "unit_of_measure", unit_of_measure) - pulumi.set(__self__, "usage_number", usage_number) + GetComputedUsagesComputedUsageResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + commitment_service_id=commitment_service_id, + compute_source=compute_source, + computed_usage_id=computed_usage_id, + cost=cost, + cost_rounded=cost_rounded, + currency_code=currency_code, + data_center=data_center, + id=id, + is_invoiced=is_invoiced, + mqs_message_id=mqs_message_id, + net_unit_price=net_unit_price, + original_usage_number=original_usage_number, + parent_products=parent_products, + parent_subscribed_service_id=parent_subscribed_service_id, + plan_number=plan_number, + products=products, + quantity=quantity, + rate_card_id=rate_card_id, + rate_card_tierd_id=rate_card_tierd_id, + time_created=time_created, + time_metered_on=time_metered_on, + time_of_arrival=time_of_arrival, + time_updated=time_updated, + type=type, + unit_of_measure=unit_of_measure, + usage_number=usage_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + commitment_service_id: str, + compute_source: str, + computed_usage_id: str, + cost: str, + cost_rounded: str, + currency_code: str, + data_center: str, + id: str, + is_invoiced: bool, + mqs_message_id: str, + net_unit_price: str, + original_usage_number: str, + parent_products: Sequence['outputs.GetComputedUsagesComputedUsageParentProductResult'], + parent_subscribed_service_id: str, + plan_number: str, + products: Sequence['outputs.GetComputedUsagesComputedUsageProductResult'], + quantity: str, + rate_card_id: str, + rate_card_tierd_id: str, + time_created: str, + time_metered_on: str, + time_of_arrival: str, + time_updated: str, + type: str, + unit_of_measure: str, + usage_number: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("commitment_service_id", commitment_service_id) + _setter("compute_source", compute_source) + _setter("computed_usage_id", computed_usage_id) + _setter("cost", cost) + _setter("cost_rounded", cost_rounded) + _setter("currency_code", currency_code) + _setter("data_center", data_center) + _setter("id", id) + _setter("is_invoiced", is_invoiced) + _setter("mqs_message_id", mqs_message_id) + _setter("net_unit_price", net_unit_price) + _setter("original_usage_number", original_usage_number) + _setter("parent_products", parent_products) + _setter("parent_subscribed_service_id", parent_subscribed_service_id) + _setter("plan_number", plan_number) + _setter("products", products) + _setter("quantity", quantity) + _setter("rate_card_id", rate_card_id) + _setter("rate_card_tierd_id", rate_card_tierd_id) + _setter("time_created", time_created) + _setter("time_metered_on", time_metered_on) + _setter("time_of_arrival", time_of_arrival) + _setter("time_updated", time_updated) + _setter("type", type) + _setter("unit_of_measure", unit_of_measure) + _setter("usage_number", usage_number) @property @pulumi.getter(name="commitmentServiceId") @@ -1333,13 +1632,34 @@ def __init__(__self__, *, :param str ucm_rate_card_part_type: Rate card part type of Product :param str unit_of_measure: Unit of Messure """ - pulumi.set(__self__, "billing_category", billing_category) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "part_number", part_number) - pulumi.set(__self__, "product_category", product_category) - pulumi.set(__self__, "provisioning_group", provisioning_group) - pulumi.set(__self__, "ucm_rate_card_part_type", ucm_rate_card_part_type) - pulumi.set(__self__, "unit_of_measure", unit_of_measure) + GetComputedUsagesComputedUsageParentProductResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + billing_category=billing_category, + name=name, + part_number=part_number, + product_category=product_category, + provisioning_group=provisioning_group, + ucm_rate_card_part_type=ucm_rate_card_part_type, + unit_of_measure=unit_of_measure, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + billing_category: str, + name: str, + part_number: str, + product_category: str, + provisioning_group: str, + ucm_rate_card_part_type: str, + unit_of_measure: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("billing_category", billing_category) + _setter("name", name) + _setter("part_number", part_number) + _setter("product_category", product_category) + _setter("provisioning_group", provisioning_group) + _setter("ucm_rate_card_part_type", ucm_rate_card_part_type) + _setter("unit_of_measure", unit_of_measure) @property @pulumi.getter(name="billingCategory") @@ -1417,13 +1737,34 @@ def __init__(__self__, *, :param str ucm_rate_card_part_type: Rate card part type of Product :param str unit_of_measure: Unit of Messure """ - pulumi.set(__self__, "billing_category", billing_category) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "part_number", part_number) - pulumi.set(__self__, "product_category", product_category) - pulumi.set(__self__, "provisioning_group", provisioning_group) - pulumi.set(__self__, "ucm_rate_card_part_type", ucm_rate_card_part_type) - pulumi.set(__self__, "unit_of_measure", unit_of_measure) + GetComputedUsagesComputedUsageProductResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + billing_category=billing_category, + name=name, + part_number=part_number, + product_category=product_category, + provisioning_group=provisioning_group, + ucm_rate_card_part_type=ucm_rate_card_part_type, + unit_of_measure=unit_of_measure, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + billing_category: str, + name: str, + part_number: str, + product_category: str, + provisioning_group: str, + ucm_rate_card_part_type: str, + unit_of_measure: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("billing_category", billing_category) + _setter("name", name) + _setter("part_number", part_number) + _setter("product_category", product_category) + _setter("provisioning_group", provisioning_group) + _setter("ucm_rate_card_part_type", ucm_rate_card_part_type) + _setter("unit_of_measure", unit_of_measure) @property @pulumi.getter(name="billingCategory") @@ -1491,10 +1832,23 @@ def __init__(__self__, *, """ :param str name: Product name """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetComputedUsagesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1524,10 +1878,23 @@ def __init__(__self__, *, """ :param str name: Product name """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetInvoiceLineComputedUsagesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1569,14 +1936,37 @@ def __init__(__self__, *, :param str time_metered_on: Metered Service date. :param str type: Usage compute type in SPM. """ - pulumi.set(__self__, "cost", cost) - pulumi.set(__self__, "cost_rounded", cost_rounded) - pulumi.set(__self__, "net_unit_price", net_unit_price) - pulumi.set(__self__, "parent_products", parent_products) - pulumi.set(__self__, "products", products) - pulumi.set(__self__, "quantity", quantity) - pulumi.set(__self__, "time_metered_on", time_metered_on) - pulumi.set(__self__, "type", type) + GetInvoiceLineComputedUsagesInvoicelineComputedUsageResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cost=cost, + cost_rounded=cost_rounded, + net_unit_price=net_unit_price, + parent_products=parent_products, + products=products, + quantity=quantity, + time_metered_on=time_metered_on, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cost: float, + cost_rounded: float, + net_unit_price: float, + parent_products: Sequence['outputs.GetInvoiceLineComputedUsagesInvoicelineComputedUsageParentProductResult'], + products: Sequence['outputs.GetInvoiceLineComputedUsagesInvoicelineComputedUsageProductResult'], + quantity: float, + time_metered_on: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cost", cost) + _setter("cost_rounded", cost_rounded) + _setter("net_unit_price", net_unit_price) + _setter("parent_products", parent_products) + _setter("products", products) + _setter("quantity", quantity) + _setter("time_metered_on", time_metered_on) + _setter("type", type) @property @pulumi.getter @@ -1660,12 +2050,31 @@ def __init__(__self__, *, :param str ucm_rate_card_part_type: Rate card part type of Product :param str unit_of_measure: Unit of Measure """ - pulumi.set(__self__, "billing_category", billing_category) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "part_number", part_number) - pulumi.set(__self__, "product_category", product_category) - pulumi.set(__self__, "ucm_rate_card_part_type", ucm_rate_card_part_type) - pulumi.set(__self__, "unit_of_measure", unit_of_measure) + GetInvoiceLineComputedUsagesInvoicelineComputedUsageParentProductResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + billing_category=billing_category, + name=name, + part_number=part_number, + product_category=product_category, + ucm_rate_card_part_type=ucm_rate_card_part_type, + unit_of_measure=unit_of_measure, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + billing_category: str, + name: str, + part_number: str, + product_category: str, + ucm_rate_card_part_type: str, + unit_of_measure: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("billing_category", billing_category) + _setter("name", name) + _setter("part_number", part_number) + _setter("product_category", product_category) + _setter("ucm_rate_card_part_type", ucm_rate_card_part_type) + _setter("unit_of_measure", unit_of_measure) @property @pulumi.getter(name="billingCategory") @@ -1733,12 +2142,31 @@ def __init__(__self__, *, :param str ucm_rate_card_part_type: Rate card part type of Product :param str unit_of_measure: Unit of Measure """ - pulumi.set(__self__, "billing_category", billing_category) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "part_number", part_number) - pulumi.set(__self__, "product_category", product_category) - pulumi.set(__self__, "ucm_rate_card_part_type", ucm_rate_card_part_type) - pulumi.set(__self__, "unit_of_measure", unit_of_measure) + GetInvoiceLineComputedUsagesInvoicelineComputedUsageProductResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + billing_category=billing_category, + name=name, + part_number=part_number, + product_category=product_category, + ucm_rate_card_part_type=ucm_rate_card_part_type, + unit_of_measure=unit_of_measure, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + billing_category: str, + name: str, + part_number: str, + product_category: str, + ucm_rate_card_part_type: str, + unit_of_measure: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("billing_category", billing_category) + _setter("name", name) + _setter("part_number", part_number) + _setter("product_category", product_category) + _setter("ucm_rate_card_part_type", ucm_rate_card_part_type) + _setter("unit_of_measure", unit_of_measure) @property @pulumi.getter(name="billingCategory") @@ -1798,10 +2226,23 @@ def __init__(__self__, *, """ :param str name: Payment Term name """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetInvoicesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1865,25 +2306,70 @@ def __init__(__self__, *, :param str type: Document Type in SPM like SPM Invoice,SPM Credit Memo etc., :param str updated_by: User that updated SPM Invoice """ - pulumi.set(__self__, "ar_invoices", ar_invoices) - pulumi.set(__self__, "bill_to_addresses", bill_to_addresses) - pulumi.set(__self__, "bill_to_contacts", bill_to_contacts) - pulumi.set(__self__, "bill_to_customers", bill_to_customers) - pulumi.set(__self__, "created_by", created_by) - pulumi.set(__self__, "currencies", currencies) - pulumi.set(__self__, "invoice_lines", invoice_lines) - pulumi.set(__self__, "organizations", organizations) - pulumi.set(__self__, "payment_method", payment_method) - pulumi.set(__self__, "payment_terms", payment_terms) - pulumi.set(__self__, "receipt_method", receipt_method) - pulumi.set(__self__, "spm_invoice_number", spm_invoice_number) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "subscription_number", subscription_number) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_invoice_date", time_invoice_date) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "updated_by", updated_by) + GetInvoicesInvoiceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ar_invoices=ar_invoices, + bill_to_addresses=bill_to_addresses, + bill_to_contacts=bill_to_contacts, + bill_to_customers=bill_to_customers, + created_by=created_by, + currencies=currencies, + invoice_lines=invoice_lines, + organizations=organizations, + payment_method=payment_method, + payment_terms=payment_terms, + receipt_method=receipt_method, + spm_invoice_number=spm_invoice_number, + status=status, + subscription_number=subscription_number, + time_created=time_created, + time_invoice_date=time_invoice_date, + time_updated=time_updated, + type=type, + updated_by=updated_by, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ar_invoices: str, + bill_to_addresses: Sequence['outputs.GetInvoicesInvoiceBillToAddressResult'], + bill_to_contacts: Sequence['outputs.GetInvoicesInvoiceBillToContactResult'], + bill_to_customers: Sequence['outputs.GetInvoicesInvoiceBillToCustomerResult'], + created_by: str, + currencies: Sequence['outputs.GetInvoicesInvoiceCurrencyResult'], + invoice_lines: Sequence['outputs.GetInvoicesInvoiceInvoiceLineResult'], + organizations: Sequence['outputs.GetInvoicesInvoiceOrganizationResult'], + payment_method: str, + payment_terms: Sequence['outputs.GetInvoicesInvoicePaymentTermResult'], + receipt_method: str, + spm_invoice_number: str, + status: str, + subscription_number: str, + time_created: str, + time_invoice_date: str, + time_updated: str, + type: str, + updated_by: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ar_invoices", ar_invoices) + _setter("bill_to_addresses", bill_to_addresses) + _setter("bill_to_contacts", bill_to_contacts) + _setter("bill_to_customers", bill_to_customers) + _setter("created_by", created_by) + _setter("currencies", currencies) + _setter("invoice_lines", invoice_lines) + _setter("organizations", organizations) + _setter("payment_method", payment_method) + _setter("payment_terms", payment_terms) + _setter("receipt_method", receipt_method) + _setter("spm_invoice_number", spm_invoice_number) + _setter("status", status) + _setter("subscription_number", subscription_number) + _setter("time_created", time_created) + _setter("time_invoice_date", time_invoice_date) + _setter("time_updated", time_updated) + _setter("type", type) + _setter("updated_by", updated_by) @property @pulumi.getter(name="arInvoices") @@ -2061,15 +2547,40 @@ def __init__(__self__, *, :param str tca_cust_acct_site_id: TCA customer account site Id. :param str tca_party_site_number: Party site number. """ - pulumi.set(__self__, "bill_site_use_id", bill_site_use_id) - pulumi.set(__self__, "is_bill_to", is_bill_to) - pulumi.set(__self__, "is_ship_to", is_ship_to) - pulumi.set(__self__, "locations", locations) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "phone", phone) - pulumi.set(__self__, "service2site_use_id", service2site_use_id) - pulumi.set(__self__, "tca_cust_acct_site_id", tca_cust_acct_site_id) - pulumi.set(__self__, "tca_party_site_number", tca_party_site_number) + GetInvoicesInvoiceBillToAddressResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bill_site_use_id=bill_site_use_id, + is_bill_to=is_bill_to, + is_ship_to=is_ship_to, + locations=locations, + name=name, + phone=phone, + service2site_use_id=service2site_use_id, + tca_cust_acct_site_id=tca_cust_acct_site_id, + tca_party_site_number=tca_party_site_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bill_site_use_id: str, + is_bill_to: bool, + is_ship_to: bool, + locations: Sequence['outputs.GetInvoicesInvoiceBillToAddressLocationResult'], + name: str, + phone: str, + service2site_use_id: str, + tca_cust_acct_site_id: str, + tca_party_site_number: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bill_site_use_id", bill_site_use_id) + _setter("is_bill_to", is_bill_to) + _setter("is_ship_to", is_ship_to) + _setter("locations", locations) + _setter("name", name) + _setter("phone", phone) + _setter("service2site_use_id", service2site_use_id) + _setter("tca_cust_acct_site_id", tca_cust_acct_site_id) + _setter("tca_party_site_number", tca_party_site_number) @property @pulumi.getter(name="billSiteUseId") @@ -2163,13 +2674,34 @@ def __init__(__self__, *, :param str region: Region. :param str tca_location_id: TCA Location identifier. """ - pulumi.set(__self__, "address1", address1) - pulumi.set(__self__, "address2", address2) - pulumi.set(__self__, "city", city) - pulumi.set(__self__, "country", country) - pulumi.set(__self__, "postal_code", postal_code) - pulumi.set(__self__, "region", region) - pulumi.set(__self__, "tca_location_id", tca_location_id) + GetInvoicesInvoiceBillToAddressLocationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + address1=address1, + address2=address2, + city=city, + country=country, + postal_code=postal_code, + region=region, + tca_location_id=tca_location_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address1: str, + address2: str, + city: str, + country: str, + postal_code: str, + region: str, + tca_location_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("address1", address1) + _setter("address2", address2) + _setter("city", city) + _setter("country", country) + _setter("postal_code", postal_code) + _setter("region", region) + _setter("tca_location_id", tca_location_id) @property @pulumi.getter @@ -2249,14 +2781,37 @@ def __init__(__self__, *, :param str tca_party_id: TCA party ID. :param str user_name: userName. """ - pulumi.set(__self__, "email", email) - pulumi.set(__self__, "first_name", first_name) - pulumi.set(__self__, "last_name", last_name) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "tca_contact_id", tca_contact_id) - pulumi.set(__self__, "tca_cust_accnt_site_id", tca_cust_accnt_site_id) - pulumi.set(__self__, "tca_party_id", tca_party_id) - pulumi.set(__self__, "user_name", user_name) + GetInvoicesInvoiceBillToContactResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + email=email, + first_name=first_name, + last_name=last_name, + name=name, + tca_contact_id=tca_contact_id, + tca_cust_accnt_site_id=tca_cust_accnt_site_id, + tca_party_id=tca_party_id, + user_name=user_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + email: str, + first_name: str, + last_name: str, + name: str, + tca_contact_id: str, + tca_cust_accnt_site_id: str, + tca_party_id: str, + user_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("email", email) + _setter("first_name", first_name) + _setter("last_name", last_name) + _setter("name", name) + _setter("tca_contact_id", tca_contact_id) + _setter("tca_cust_accnt_site_id", tca_cust_accnt_site_id) + _setter("tca_party_id", tca_party_id) + _setter("user_name", user_name) @property @pulumi.getter @@ -2346,15 +2901,40 @@ def __init__(__self__, *, :param str tca_party_id: TCA party ID. :param str tca_party_number: TCA party number. """ - pulumi.set(__self__, "customer_chain_type", customer_chain_type) - pulumi.set(__self__, "is_chain_customer", is_chain_customer) - pulumi.set(__self__, "is_public_sector", is_public_sector) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "name_phonetic", name_phonetic) - pulumi.set(__self__, "tca_customer_account_id", tca_customer_account_id) - pulumi.set(__self__, "tca_customer_account_number", tca_customer_account_number) - pulumi.set(__self__, "tca_party_id", tca_party_id) - pulumi.set(__self__, "tca_party_number", tca_party_number) + GetInvoicesInvoiceBillToCustomerResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + customer_chain_type=customer_chain_type, + is_chain_customer=is_chain_customer, + is_public_sector=is_public_sector, + name=name, + name_phonetic=name_phonetic, + tca_customer_account_id=tca_customer_account_id, + tca_customer_account_number=tca_customer_account_number, + tca_party_id=tca_party_id, + tca_party_number=tca_party_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + customer_chain_type: str, + is_chain_customer: bool, + is_public_sector: bool, + name: str, + name_phonetic: str, + tca_customer_account_id: str, + tca_customer_account_number: str, + tca_party_id: str, + tca_party_number: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("customer_chain_type", customer_chain_type) + _setter("is_chain_customer", is_chain_customer) + _setter("is_public_sector", is_public_sector) + _setter("name", name) + _setter("name_phonetic", name_phonetic) + _setter("tca_customer_account_id", tca_customer_account_id) + _setter("tca_customer_account_number", tca_customer_account_number) + _setter("tca_party_id", tca_party_id) + _setter("tca_party_number", tca_party_number) @property @pulumi.getter(name="customerChainType") @@ -2440,9 +3020,22 @@ def __init__(__self__, *, :param str name: Payment Term name :param str std_precision: Standard Precision of the Currency """ - pulumi.set(__self__, "iso_code", iso_code) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "std_precision", std_precision) + GetInvoicesInvoiceCurrencyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + iso_code=iso_code, + name=name, + std_precision=std_precision, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + iso_code: str, + name: str, + std_precision: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("iso_code", iso_code) + _setter("name", name) + _setter("std_precision", std_precision) @property @pulumi.getter(name="isoCode") @@ -2486,12 +3079,31 @@ def __init__(__self__, *, :param str time_end: Usage end time :param str time_start: Usage start time """ - pulumi.set(__self__, "ar_invoice_number", ar_invoice_number) - pulumi.set(__self__, "data_center", data_center) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "products", products) - pulumi.set(__self__, "time_end", time_end) - pulumi.set(__self__, "time_start", time_start) + GetInvoicesInvoiceInvoiceLineResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ar_invoice_number=ar_invoice_number, + data_center=data_center, + id=id, + products=products, + time_end=time_end, + time_start=time_start, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ar_invoice_number: str, + data_center: str, + id: str, + products: Sequence['outputs.GetInvoicesInvoiceInvoiceLineProductResult'], + time_end: str, + time_start: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ar_invoice_number", ar_invoice_number) + _setter("data_center", data_center) + _setter("id", id) + _setter("products", products) + _setter("time_end", time_end) + _setter("time_start", time_start) @property @pulumi.getter(name="arInvoiceNumber") @@ -2559,12 +3171,31 @@ def __init__(__self__, *, :param str ucm_rate_card_part_type: Rate card part type of Product :param str unit_of_measure: Unit of Measure """ - pulumi.set(__self__, "billing_category", billing_category) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "part_number", part_number) - pulumi.set(__self__, "product_category", product_category) - pulumi.set(__self__, "ucm_rate_card_part_type", ucm_rate_card_part_type) - pulumi.set(__self__, "unit_of_measure", unit_of_measure) + GetInvoicesInvoiceInvoiceLineProductResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + billing_category=billing_category, + name=name, + part_number=part_number, + product_category=product_category, + ucm_rate_card_part_type=ucm_rate_card_part_type, + unit_of_measure=unit_of_measure, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + billing_category: str, + name: str, + part_number: str, + product_category: str, + ucm_rate_card_part_type: str, + unit_of_measure: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("billing_category", billing_category) + _setter("name", name) + _setter("part_number", part_number) + _setter("product_category", product_category) + _setter("ucm_rate_card_part_type", ucm_rate_card_part_type) + _setter("unit_of_measure", unit_of_measure) @property @pulumi.getter(name="billingCategory") @@ -2624,8 +3255,19 @@ def __init__(__self__, *, :param str name: Payment Term name :param float number: Organization ID """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "number", number) + GetInvoicesInvoiceOrganizationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + number=number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + number: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("number", number) @property @pulumi.getter @@ -2665,14 +3307,37 @@ def __init__(__self__, *, :param str updated_by: User that updated SPM Invoice :param str value: Payment Term value """ - pulumi.set(__self__, "created_by", created_by) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "is_active", is_active) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "updated_by", updated_by) - pulumi.set(__self__, "value", value) + GetInvoicesInvoicePaymentTermResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created_by=created_by, + description=description, + is_active=is_active, + name=name, + time_created=time_created, + time_updated=time_updated, + updated_by=updated_by, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created_by: str, + description: str, + is_active: bool, + name: str, + time_created: str, + time_updated: str, + updated_by: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created_by", created_by) + _setter("description", description) + _setter("is_active", is_active) + _setter("name", name) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("updated_by", updated_by) + _setter("value", value) @property @pulumi.getter(name="createdBy") @@ -2748,10 +3413,23 @@ def __init__(__self__, *, """ :param str name: Currency name """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetOrganizationSubscriptionsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2793,14 +3471,37 @@ def __init__(__self__, *, :param str total_value: Total aggregate TCLV of all lines for the subscription including expired, active, and signed :param str type: Subscription Type i.e. IAAS,SAAS,PAAS """ - pulumi.set(__self__, "currencies", currencies) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "service_name", service_name) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "time_end", time_end) - pulumi.set(__self__, "time_start", time_start) - pulumi.set(__self__, "total_value", total_value) - pulumi.set(__self__, "type", type) + GetOrganizationSubscriptionsOrganizationSubscriptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + currencies=currencies, + id=id, + service_name=service_name, + status=status, + time_end=time_end, + time_start=time_start, + total_value=total_value, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + currencies: Sequence['outputs.GetOrganizationSubscriptionsOrganizationSubscriptionCurrencyResult'], + id: str, + service_name: str, + status: str, + time_end: str, + time_start: str, + total_value: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("currencies", currencies) + _setter("id", id) + _setter("service_name", service_name) + _setter("status", status) + _setter("time_end", time_end) + _setter("time_start", time_start) + _setter("total_value", total_value) + _setter("type", type) @property @pulumi.getter @@ -2878,9 +3579,22 @@ def __init__(__self__, *, :param str name: Currency name :param str std_precision: Standard Precision of the Currency """ - pulumi.set(__self__, "iso_code", iso_code) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "std_precision", std_precision) + GetOrganizationSubscriptionsOrganizationSubscriptionCurrencyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + iso_code=iso_code, + name=name, + std_precision=std_precision, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + iso_code: str, + name: str, + std_precision: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("iso_code", iso_code) + _setter("name", name) + _setter("std_precision", std_precision) @property @pulumi.getter(name="isoCode") @@ -2916,10 +3630,23 @@ def __init__(__self__, *, """ :param str name: Product name """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetRatecardsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2965,16 +3692,43 @@ def __init__(__self__, *, :param str time_end: Rate card end date :param str time_start: Rate card start date """ - pulumi.set(__self__, "currencies", currencies) - pulumi.set(__self__, "discretionary_discount_percentage", discretionary_discount_percentage) - pulumi.set(__self__, "is_tier", is_tier) - pulumi.set(__self__, "net_unit_price", net_unit_price) - pulumi.set(__self__, "overage_price", overage_price) - pulumi.set(__self__, "products", products) - pulumi.set(__self__, "rate_card_tiers", rate_card_tiers) - pulumi.set(__self__, "subscribed_service_id", subscribed_service_id) - pulumi.set(__self__, "time_end", time_end) - pulumi.set(__self__, "time_start", time_start) + GetRatecardsRateCardResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + currencies=currencies, + discretionary_discount_percentage=discretionary_discount_percentage, + is_tier=is_tier, + net_unit_price=net_unit_price, + overage_price=overage_price, + products=products, + rate_card_tiers=rate_card_tiers, + subscribed_service_id=subscribed_service_id, + time_end=time_end, + time_start=time_start, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + currencies: Sequence['outputs.GetRatecardsRateCardCurrencyResult'], + discretionary_discount_percentage: str, + is_tier: bool, + net_unit_price: str, + overage_price: str, + products: Sequence['outputs.GetRatecardsRateCardProductResult'], + rate_card_tiers: Sequence['outputs.GetRatecardsRateCardRateCardTierResult'], + subscribed_service_id: str, + time_end: str, + time_start: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("currencies", currencies) + _setter("discretionary_discount_percentage", discretionary_discount_percentage) + _setter("is_tier", is_tier) + _setter("net_unit_price", net_unit_price) + _setter("overage_price", overage_price) + _setter("products", products) + _setter("rate_card_tiers", rate_card_tiers) + _setter("subscribed_service_id", subscribed_service_id) + _setter("time_end", time_end) + _setter("time_start", time_start) @property @pulumi.getter @@ -3068,9 +3822,22 @@ def __init__(__self__, *, :param str name: Product name :param str std_precision: Standard Precision of the Currency """ - pulumi.set(__self__, "iso_code", iso_code) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "std_precision", std_precision) + GetRatecardsRateCardCurrencyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + iso_code=iso_code, + name=name, + std_precision=std_precision, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + iso_code: str, + name: str, + std_precision: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("iso_code", iso_code) + _setter("name", name) + _setter("std_precision", std_precision) @property @pulumi.getter(name="isoCode") @@ -3114,12 +3881,31 @@ def __init__(__self__, *, :param str ucm_rate_card_part_type: Rate card part type of Product :param str unit_of_measure: Unit of measure """ - pulumi.set(__self__, "billing_category", billing_category) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "part_number", part_number) - pulumi.set(__self__, "product_category", product_category) - pulumi.set(__self__, "ucm_rate_card_part_type", ucm_rate_card_part_type) - pulumi.set(__self__, "unit_of_measure", unit_of_measure) + GetRatecardsRateCardProductResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + billing_category=billing_category, + name=name, + part_number=part_number, + product_category=product_category, + ucm_rate_card_part_type=ucm_rate_card_part_type, + unit_of_measure=unit_of_measure, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + billing_category: str, + name: str, + part_number: str, + product_category: str, + ucm_rate_card_part_type: str, + unit_of_measure: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("billing_category", billing_category) + _setter("name", name) + _setter("part_number", part_number) + _setter("product_category", product_category) + _setter("ucm_rate_card_part_type", ucm_rate_card_part_type) + _setter("unit_of_measure", unit_of_measure) @property @pulumi.getter(name="billingCategory") @@ -3181,9 +3967,22 @@ def __init__(__self__, *, :param str overage_price: Rate card tier overage price :param str up_to_quantity: Rate card tier quantity range """ - pulumi.set(__self__, "net_unit_price", net_unit_price) - pulumi.set(__self__, "overage_price", overage_price) - pulumi.set(__self__, "up_to_quantity", up_to_quantity) + GetRatecardsRateCardRateCardTierResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + net_unit_price=net_unit_price, + overage_price=overage_price, + up_to_quantity=up_to_quantity, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + net_unit_price: str, + overage_price: str, + up_to_quantity: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("net_unit_price", net_unit_price) + _setter("overage_price", overage_price) + _setter("up_to_quantity", up_to_quantity) @property @pulumi.getter(name="netUnitPrice") @@ -3233,15 +4032,40 @@ def __init__(__self__, *, :param str tca_cust_acct_site_id: TCA customer account site Id. :param str tca_party_site_number: Party site number. """ - pulumi.set(__self__, "bill_site_use_id", bill_site_use_id) - pulumi.set(__self__, "is_bill_to", is_bill_to) - pulumi.set(__self__, "is_ship_to", is_ship_to) - pulumi.set(__self__, "locations", locations) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "phone", phone) - pulumi.set(__self__, "service2site_use_id", service2site_use_id) - pulumi.set(__self__, "tca_cust_acct_site_id", tca_cust_acct_site_id) - pulumi.set(__self__, "tca_party_site_number", tca_party_site_number) + GetSubscribedServiceBillToAddressResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bill_site_use_id=bill_site_use_id, + is_bill_to=is_bill_to, + is_ship_to=is_ship_to, + locations=locations, + name=name, + phone=phone, + service2site_use_id=service2site_use_id, + tca_cust_acct_site_id=tca_cust_acct_site_id, + tca_party_site_number=tca_party_site_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bill_site_use_id: str, + is_bill_to: bool, + is_ship_to: bool, + locations: Sequence['outputs.GetSubscribedServiceBillToAddressLocationResult'], + name: str, + phone: str, + service2site_use_id: str, + tca_cust_acct_site_id: str, + tca_party_site_number: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bill_site_use_id", bill_site_use_id) + _setter("is_bill_to", is_bill_to) + _setter("is_ship_to", is_ship_to) + _setter("locations", locations) + _setter("name", name) + _setter("phone", phone) + _setter("service2site_use_id", service2site_use_id) + _setter("tca_cust_acct_site_id", tca_cust_acct_site_id) + _setter("tca_party_site_number", tca_party_site_number) @property @pulumi.getter(name="billSiteUseId") @@ -3335,13 +4159,34 @@ def __init__(__self__, *, :param str region: Region. :param str tca_location_id: Region. """ - pulumi.set(__self__, "address1", address1) - pulumi.set(__self__, "address2", address2) - pulumi.set(__self__, "city", city) - pulumi.set(__self__, "country", country) - pulumi.set(__self__, "postal_code", postal_code) - pulumi.set(__self__, "region", region) - pulumi.set(__self__, "tca_location_id", tca_location_id) + GetSubscribedServiceBillToAddressLocationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + address1=address1, + address2=address2, + city=city, + country=country, + postal_code=postal_code, + region=region, + tca_location_id=tca_location_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address1: str, + address2: str, + city: str, + country: str, + postal_code: str, + region: str, + tca_location_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("address1", address1) + _setter("address2", address2) + _setter("city", city) + _setter("country", country) + _setter("postal_code", postal_code) + _setter("region", region) + _setter("tca_location_id", tca_location_id) @property @pulumi.getter @@ -3421,14 +4266,37 @@ def __init__(__self__, *, :param str tca_party_id: TCA party ID. :param str username: Username. """ - pulumi.set(__self__, "email", email) - pulumi.set(__self__, "first_name", first_name) - pulumi.set(__self__, "last_name", last_name) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "tca_contact_id", tca_contact_id) - pulumi.set(__self__, "tca_cust_accnt_site_id", tca_cust_accnt_site_id) - pulumi.set(__self__, "tca_party_id", tca_party_id) - pulumi.set(__self__, "username", username) + GetSubscribedServiceBillToContactResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + email=email, + first_name=first_name, + last_name=last_name, + name=name, + tca_contact_id=tca_contact_id, + tca_cust_accnt_site_id=tca_cust_accnt_site_id, + tca_party_id=tca_party_id, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + email: str, + first_name: str, + last_name: str, + name: str, + tca_contact_id: str, + tca_cust_accnt_site_id: str, + tca_party_id: str, + username: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("email", email) + _setter("first_name", first_name) + _setter("last_name", last_name) + _setter("name", name) + _setter("tca_contact_id", tca_contact_id) + _setter("tca_cust_accnt_site_id", tca_cust_accnt_site_id) + _setter("tca_party_id", tca_party_id) + _setter("username", username) @property @pulumi.getter @@ -3518,15 +4386,40 @@ def __init__(__self__, *, :param str tca_party_id: TCA party ID. :param str tca_party_number: TCA party number. """ - pulumi.set(__self__, "customer_chain_type", customer_chain_type) - pulumi.set(__self__, "is_chain_customer", is_chain_customer) - pulumi.set(__self__, "is_public_sector", is_public_sector) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "name_phonetic", name_phonetic) - pulumi.set(__self__, "tca_cust_account_number", tca_cust_account_number) - pulumi.set(__self__, "tca_customer_account_id", tca_customer_account_id) - pulumi.set(__self__, "tca_party_id", tca_party_id) - pulumi.set(__self__, "tca_party_number", tca_party_number) + GetSubscribedServiceBillToCustomerResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + customer_chain_type=customer_chain_type, + is_chain_customer=is_chain_customer, + is_public_sector=is_public_sector, + name=name, + name_phonetic=name_phonetic, + tca_cust_account_number=tca_cust_account_number, + tca_customer_account_id=tca_customer_account_id, + tca_party_id=tca_party_id, + tca_party_number=tca_party_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + customer_chain_type: str, + is_chain_customer: bool, + is_public_sector: bool, + name: str, + name_phonetic: str, + tca_cust_account_number: str, + tca_customer_account_id: str, + tca_party_id: str, + tca_party_number: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("customer_chain_type", customer_chain_type) + _setter("is_chain_customer", is_chain_customer) + _setter("is_public_sector", is_public_sector) + _setter("name", name) + _setter("name_phonetic", name_phonetic) + _setter("tca_cust_account_number", tca_cust_account_number) + _setter("tca_customer_account_id", tca_customer_account_id) + _setter("tca_party_id", tca_party_id) + _setter("tca_party_number", tca_party_number) @property @pulumi.getter(name="customerChainType") @@ -3618,12 +4511,31 @@ def __init__(__self__, *, :param str time_end: Subscribed service end date :param str time_start: Subscribed service start date """ - pulumi.set(__self__, "available_amount", available_amount) - pulumi.set(__self__, "funded_allocation_value", funded_allocation_value) - pulumi.set(__self__, "line_net_amount", line_net_amount) - pulumi.set(__self__, "quantity", quantity) - pulumi.set(__self__, "time_end", time_end) - pulumi.set(__self__, "time_start", time_start) + GetSubscribedServiceCommitmentServiceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + available_amount=available_amount, + funded_allocation_value=funded_allocation_value, + line_net_amount=line_net_amount, + quantity=quantity, + time_end=time_end, + time_start=time_start, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + available_amount: str, + funded_allocation_value: str, + line_net_amount: str, + quantity: str, + time_end: str, + time_start: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("available_amount", available_amount) + _setter("funded_allocation_value", funded_allocation_value) + _setter("line_net_amount", line_net_amount) + _setter("quantity", quantity) + _setter("time_end", time_end) + _setter("time_start", time_start) @property @pulumi.getter(name="availableAmount") @@ -3697,15 +4609,40 @@ def __init__(__self__, *, :param str tca_cust_acct_site_id: TCA customer account site Id. :param str tca_party_site_number: Party site number. """ - pulumi.set(__self__, "bill_site_use_id", bill_site_use_id) - pulumi.set(__self__, "is_bill_to", is_bill_to) - pulumi.set(__self__, "is_ship_to", is_ship_to) - pulumi.set(__self__, "locations", locations) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "phone", phone) - pulumi.set(__self__, "service2site_use_id", service2site_use_id) - pulumi.set(__self__, "tca_cust_acct_site_id", tca_cust_acct_site_id) - pulumi.set(__self__, "tca_party_site_number", tca_party_site_number) + GetSubscribedServiceEndUserAddressResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bill_site_use_id=bill_site_use_id, + is_bill_to=is_bill_to, + is_ship_to=is_ship_to, + locations=locations, + name=name, + phone=phone, + service2site_use_id=service2site_use_id, + tca_cust_acct_site_id=tca_cust_acct_site_id, + tca_party_site_number=tca_party_site_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bill_site_use_id: str, + is_bill_to: bool, + is_ship_to: bool, + locations: Sequence['outputs.GetSubscribedServiceEndUserAddressLocationResult'], + name: str, + phone: str, + service2site_use_id: str, + tca_cust_acct_site_id: str, + tca_party_site_number: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bill_site_use_id", bill_site_use_id) + _setter("is_bill_to", is_bill_to) + _setter("is_ship_to", is_ship_to) + _setter("locations", locations) + _setter("name", name) + _setter("phone", phone) + _setter("service2site_use_id", service2site_use_id) + _setter("tca_cust_acct_site_id", tca_cust_acct_site_id) + _setter("tca_party_site_number", tca_party_site_number) @property @pulumi.getter(name="billSiteUseId") @@ -3799,13 +4736,34 @@ def __init__(__self__, *, :param str region: Region. :param str tca_location_id: Region. """ - pulumi.set(__self__, "address1", address1) - pulumi.set(__self__, "address2", address2) - pulumi.set(__self__, "city", city) - pulumi.set(__self__, "country", country) - pulumi.set(__self__, "postal_code", postal_code) - pulumi.set(__self__, "region", region) - pulumi.set(__self__, "tca_location_id", tca_location_id) + GetSubscribedServiceEndUserAddressLocationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + address1=address1, + address2=address2, + city=city, + country=country, + postal_code=postal_code, + region=region, + tca_location_id=tca_location_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address1: str, + address2: str, + city: str, + country: str, + postal_code: str, + region: str, + tca_location_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("address1", address1) + _setter("address2", address2) + _setter("city", city) + _setter("country", country) + _setter("postal_code", postal_code) + _setter("region", region) + _setter("tca_location_id", tca_location_id) @property @pulumi.getter @@ -3885,14 +4843,37 @@ def __init__(__self__, *, :param str tca_party_id: TCA party ID. :param str username: Username. """ - pulumi.set(__self__, "email", email) - pulumi.set(__self__, "first_name", first_name) - pulumi.set(__self__, "last_name", last_name) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "tca_contact_id", tca_contact_id) - pulumi.set(__self__, "tca_cust_accnt_site_id", tca_cust_accnt_site_id) - pulumi.set(__self__, "tca_party_id", tca_party_id) - pulumi.set(__self__, "username", username) + GetSubscribedServiceEndUserContactResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + email=email, + first_name=first_name, + last_name=last_name, + name=name, + tca_contact_id=tca_contact_id, + tca_cust_accnt_site_id=tca_cust_accnt_site_id, + tca_party_id=tca_party_id, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + email: str, + first_name: str, + last_name: str, + name: str, + tca_contact_id: str, + tca_cust_accnt_site_id: str, + tca_party_id: str, + username: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("email", email) + _setter("first_name", first_name) + _setter("last_name", last_name) + _setter("name", name) + _setter("tca_contact_id", tca_contact_id) + _setter("tca_cust_accnt_site_id", tca_cust_accnt_site_id) + _setter("tca_party_id", tca_party_id) + _setter("username", username) @property @pulumi.getter @@ -3982,15 +4963,40 @@ def __init__(__self__, *, :param str tca_party_id: TCA party ID. :param str tca_party_number: TCA party number. """ - pulumi.set(__self__, "customer_chain_type", customer_chain_type) - pulumi.set(__self__, "is_chain_customer", is_chain_customer) - pulumi.set(__self__, "is_public_sector", is_public_sector) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "name_phonetic", name_phonetic) - pulumi.set(__self__, "tca_cust_account_number", tca_cust_account_number) - pulumi.set(__self__, "tca_customer_account_id", tca_customer_account_id) - pulumi.set(__self__, "tca_party_id", tca_party_id) - pulumi.set(__self__, "tca_party_number", tca_party_number) + GetSubscribedServiceEndUserCustomerResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + customer_chain_type=customer_chain_type, + is_chain_customer=is_chain_customer, + is_public_sector=is_public_sector, + name=name, + name_phonetic=name_phonetic, + tca_cust_account_number=tca_cust_account_number, + tca_customer_account_id=tca_customer_account_id, + tca_party_id=tca_party_id, + tca_party_number=tca_party_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + customer_chain_type: str, + is_chain_customer: bool, + is_public_sector: bool, + name: str, + name_phonetic: str, + tca_cust_account_number: str, + tca_customer_account_id: str, + tca_party_id: str, + tca_party_number: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("customer_chain_type", customer_chain_type) + _setter("is_chain_customer", is_chain_customer) + _setter("is_public_sector", is_public_sector) + _setter("name", name) + _setter("name_phonetic", name_phonetic) + _setter("tca_cust_account_number", tca_cust_account_number) + _setter("tca_customer_account_id", tca_customer_account_id) + _setter("tca_party_id", tca_party_id) + _setter("tca_party_number", tca_party_number) @property @pulumi.getter(name="customerChainType") @@ -4086,14 +5092,37 @@ def __init__(__self__, *, :param str updated_by: User that updated the subscribed service :param str value: Payment Term value """ - pulumi.set(__self__, "created_by", created_by) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "is_active", is_active) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "updated_by", updated_by) - pulumi.set(__self__, "value", value) + GetSubscribedServicePaymentTermResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created_by=created_by, + description=description, + is_active=is_active, + name=name, + time_created=time_created, + time_updated=time_updated, + updated_by=updated_by, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created_by: str, + description: str, + is_active: bool, + name: str, + time_created: str, + time_updated: str, + updated_by: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created_by", created_by) + _setter("description", description) + _setter("is_active", is_active) + _setter("name", name) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("updated_by", updated_by) + _setter("value", value) @property @pulumi.getter(name="createdBy") @@ -4177,12 +5206,31 @@ def __init__(__self__, *, :param str ucm_rate_card_part_type: Rate card part type of Product :param str unit_of_measure: Unit of measure """ - pulumi.set(__self__, "billing_category", billing_category) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "part_number", part_number) - pulumi.set(__self__, "product_category", product_category) - pulumi.set(__self__, "ucm_rate_card_part_type", ucm_rate_card_part_type) - pulumi.set(__self__, "unit_of_measure", unit_of_measure) + GetSubscribedServiceProductResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + billing_category=billing_category, + name=name, + part_number=part_number, + product_category=product_category, + ucm_rate_card_part_type=ucm_rate_card_part_type, + unit_of_measure=unit_of_measure, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + billing_category: str, + name: str, + part_number: str, + product_category: str, + ucm_rate_card_part_type: str, + unit_of_measure: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("billing_category", billing_category) + _setter("name", name) + _setter("part_number", part_number) + _setter("product_category", product_category) + _setter("ucm_rate_card_part_type", ucm_rate_card_part_type) + _setter("unit_of_measure", unit_of_measure) @property @pulumi.getter(name="billingCategory") @@ -4258,16 +5306,43 @@ def __init__(__self__, *, :param str time_end: Subscribed service end date :param str time_start: Subscribed service start date """ - pulumi.set(__self__, "currencies", currencies) - pulumi.set(__self__, "discretionary_discount_percentage", discretionary_discount_percentage) - pulumi.set(__self__, "is_tier", is_tier) - pulumi.set(__self__, "net_unit_price", net_unit_price) - pulumi.set(__self__, "overage_price", overage_price) - pulumi.set(__self__, "products", products) - pulumi.set(__self__, "rate_card_tiers", rate_card_tiers) - pulumi.set(__self__, "subscribed_service_id", subscribed_service_id) - pulumi.set(__self__, "time_end", time_end) - pulumi.set(__self__, "time_start", time_start) + GetSubscribedServiceRateCardResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + currencies=currencies, + discretionary_discount_percentage=discretionary_discount_percentage, + is_tier=is_tier, + net_unit_price=net_unit_price, + overage_price=overage_price, + products=products, + rate_card_tiers=rate_card_tiers, + subscribed_service_id=subscribed_service_id, + time_end=time_end, + time_start=time_start, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + currencies: Sequence['outputs.GetSubscribedServiceRateCardCurrencyResult'], + discretionary_discount_percentage: str, + is_tier: bool, + net_unit_price: str, + overage_price: str, + products: Sequence['outputs.GetSubscribedServiceRateCardProductResult'], + rate_card_tiers: Sequence['outputs.GetSubscribedServiceRateCardRateCardTierResult'], + subscribed_service_id: str, + time_end: str, + time_start: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("currencies", currencies) + _setter("discretionary_discount_percentage", discretionary_discount_percentage) + _setter("is_tier", is_tier) + _setter("net_unit_price", net_unit_price) + _setter("overage_price", overage_price) + _setter("products", products) + _setter("rate_card_tiers", rate_card_tiers) + _setter("subscribed_service_id", subscribed_service_id) + _setter("time_end", time_end) + _setter("time_start", time_start) @property @pulumi.getter @@ -4361,9 +5436,22 @@ def __init__(__self__, *, :param str name: Commercial name also called customer name. :param str std_precision: Standard Precision of the Currency """ - pulumi.set(__self__, "iso_code", iso_code) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "std_precision", std_precision) + GetSubscribedServiceRateCardCurrencyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + iso_code=iso_code, + name=name, + std_precision=std_precision, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + iso_code: str, + name: str, + std_precision: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("iso_code", iso_code) + _setter("name", name) + _setter("std_precision", std_precision) @property @pulumi.getter(name="isoCode") @@ -4407,12 +5495,31 @@ def __init__(__self__, *, :param str ucm_rate_card_part_type: Rate card part type of Product :param str unit_of_measure: Unit of measure """ - pulumi.set(__self__, "billing_category", billing_category) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "part_number", part_number) - pulumi.set(__self__, "product_category", product_category) - pulumi.set(__self__, "ucm_rate_card_part_type", ucm_rate_card_part_type) - pulumi.set(__self__, "unit_of_measure", unit_of_measure) + GetSubscribedServiceRateCardProductResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + billing_category=billing_category, + name=name, + part_number=part_number, + product_category=product_category, + ucm_rate_card_part_type=ucm_rate_card_part_type, + unit_of_measure=unit_of_measure, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + billing_category: str, + name: str, + part_number: str, + product_category: str, + ucm_rate_card_part_type: str, + unit_of_measure: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("billing_category", billing_category) + _setter("name", name) + _setter("part_number", part_number) + _setter("product_category", product_category) + _setter("ucm_rate_card_part_type", ucm_rate_card_part_type) + _setter("unit_of_measure", unit_of_measure) @property @pulumi.getter(name="billingCategory") @@ -4474,9 +5581,22 @@ def __init__(__self__, *, :param str overage_price: Rate card tier overage price :param str up_to_quantity: Rate card tier quantity range """ - pulumi.set(__self__, "net_unit_price", net_unit_price) - pulumi.set(__self__, "overage_price", overage_price) - pulumi.set(__self__, "up_to_quantity", up_to_quantity) + GetSubscribedServiceRateCardRateCardTierResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + net_unit_price=net_unit_price, + overage_price=overage_price, + up_to_quantity=up_to_quantity, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + net_unit_price: str, + overage_price: str, + up_to_quantity: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("net_unit_price", net_unit_price) + _setter("overage_price", overage_price) + _setter("up_to_quantity", up_to_quantity) @property @pulumi.getter(name="netUnitPrice") @@ -4526,15 +5646,40 @@ def __init__(__self__, *, :param str tca_cust_acct_site_id: TCA customer account site Id. :param str tca_party_site_number: Party site number. """ - pulumi.set(__self__, "bill_site_use_id", bill_site_use_id) - pulumi.set(__self__, "is_bill_to", is_bill_to) - pulumi.set(__self__, "is_ship_to", is_ship_to) - pulumi.set(__self__, "locations", locations) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "phone", phone) - pulumi.set(__self__, "service2site_use_id", service2site_use_id) - pulumi.set(__self__, "tca_cust_acct_site_id", tca_cust_acct_site_id) - pulumi.set(__self__, "tca_party_site_number", tca_party_site_number) + GetSubscribedServiceResellerAddressResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bill_site_use_id=bill_site_use_id, + is_bill_to=is_bill_to, + is_ship_to=is_ship_to, + locations=locations, + name=name, + phone=phone, + service2site_use_id=service2site_use_id, + tca_cust_acct_site_id=tca_cust_acct_site_id, + tca_party_site_number=tca_party_site_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bill_site_use_id: str, + is_bill_to: bool, + is_ship_to: bool, + locations: Sequence['outputs.GetSubscribedServiceResellerAddressLocationResult'], + name: str, + phone: str, + service2site_use_id: str, + tca_cust_acct_site_id: str, + tca_party_site_number: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bill_site_use_id", bill_site_use_id) + _setter("is_bill_to", is_bill_to) + _setter("is_ship_to", is_ship_to) + _setter("locations", locations) + _setter("name", name) + _setter("phone", phone) + _setter("service2site_use_id", service2site_use_id) + _setter("tca_cust_acct_site_id", tca_cust_acct_site_id) + _setter("tca_party_site_number", tca_party_site_number) @property @pulumi.getter(name="billSiteUseId") @@ -4628,13 +5773,34 @@ def __init__(__self__, *, :param str region: Region. :param str tca_location_id: Region. """ - pulumi.set(__self__, "address1", address1) - pulumi.set(__self__, "address2", address2) - pulumi.set(__self__, "city", city) - pulumi.set(__self__, "country", country) - pulumi.set(__self__, "postal_code", postal_code) - pulumi.set(__self__, "region", region) - pulumi.set(__self__, "tca_location_id", tca_location_id) + GetSubscribedServiceResellerAddressLocationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + address1=address1, + address2=address2, + city=city, + country=country, + postal_code=postal_code, + region=region, + tca_location_id=tca_location_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address1: str, + address2: str, + city: str, + country: str, + postal_code: str, + region: str, + tca_location_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("address1", address1) + _setter("address2", address2) + _setter("city", city) + _setter("country", country) + _setter("postal_code", postal_code) + _setter("region", region) + _setter("tca_location_id", tca_location_id) @property @pulumi.getter @@ -4714,14 +5880,37 @@ def __init__(__self__, *, :param str tca_party_id: TCA party ID. :param str username: Username. """ - pulumi.set(__self__, "email", email) - pulumi.set(__self__, "first_name", first_name) - pulumi.set(__self__, "last_name", last_name) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "tca_contact_id", tca_contact_id) - pulumi.set(__self__, "tca_cust_accnt_site_id", tca_cust_accnt_site_id) - pulumi.set(__self__, "tca_party_id", tca_party_id) - pulumi.set(__self__, "username", username) + GetSubscribedServiceResellerContactResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + email=email, + first_name=first_name, + last_name=last_name, + name=name, + tca_contact_id=tca_contact_id, + tca_cust_accnt_site_id=tca_cust_accnt_site_id, + tca_party_id=tca_party_id, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + email: str, + first_name: str, + last_name: str, + name: str, + tca_contact_id: str, + tca_cust_accnt_site_id: str, + tca_party_id: str, + username: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("email", email) + _setter("first_name", first_name) + _setter("last_name", last_name) + _setter("name", name) + _setter("tca_contact_id", tca_contact_id) + _setter("tca_cust_accnt_site_id", tca_cust_accnt_site_id) + _setter("tca_party_id", tca_party_id) + _setter("username", username) @property @pulumi.getter @@ -4811,15 +6000,40 @@ def __init__(__self__, *, :param str tca_party_id: TCA party ID. :param str tca_party_number: TCA party number. """ - pulumi.set(__self__, "customer_chain_type", customer_chain_type) - pulumi.set(__self__, "is_chain_customer", is_chain_customer) - pulumi.set(__self__, "is_public_sector", is_public_sector) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "name_phonetic", name_phonetic) - pulumi.set(__self__, "tca_cust_account_number", tca_cust_account_number) - pulumi.set(__self__, "tca_customer_account_id", tca_customer_account_id) - pulumi.set(__self__, "tca_party_id", tca_party_id) - pulumi.set(__self__, "tca_party_number", tca_party_number) + GetSubscribedServiceResellerCustomerResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + customer_chain_type=customer_chain_type, + is_chain_customer=is_chain_customer, + is_public_sector=is_public_sector, + name=name, + name_phonetic=name_phonetic, + tca_cust_account_number=tca_cust_account_number, + tca_customer_account_id=tca_customer_account_id, + tca_party_id=tca_party_id, + tca_party_number=tca_party_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + customer_chain_type: str, + is_chain_customer: bool, + is_public_sector: bool, + name: str, + name_phonetic: str, + tca_cust_account_number: str, + tca_customer_account_id: str, + tca_party_id: str, + tca_party_number: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("customer_chain_type", customer_chain_type) + _setter("is_chain_customer", is_chain_customer) + _setter("is_public_sector", is_public_sector) + _setter("name", name) + _setter("name_phonetic", name_phonetic) + _setter("tca_cust_account_number", tca_cust_account_number) + _setter("tca_customer_account_id", tca_customer_account_id) + _setter("tca_party_id", tca_party_id) + _setter("tca_party_number", tca_party_number) @property @pulumi.getter(name="customerChainType") @@ -4917,15 +6131,40 @@ def __init__(__self__, *, :param str tca_cust_acct_site_id: TCA customer account site Id. :param str tca_party_site_number: Party site number. """ - pulumi.set(__self__, "bill_site_use_id", bill_site_use_id) - pulumi.set(__self__, "is_bill_to", is_bill_to) - pulumi.set(__self__, "is_ship_to", is_ship_to) - pulumi.set(__self__, "locations", locations) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "phone", phone) - pulumi.set(__self__, "service2site_use_id", service2site_use_id) - pulumi.set(__self__, "tca_cust_acct_site_id", tca_cust_acct_site_id) - pulumi.set(__self__, "tca_party_site_number", tca_party_site_number) + GetSubscribedServiceServiceToAddressResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bill_site_use_id=bill_site_use_id, + is_bill_to=is_bill_to, + is_ship_to=is_ship_to, + locations=locations, + name=name, + phone=phone, + service2site_use_id=service2site_use_id, + tca_cust_acct_site_id=tca_cust_acct_site_id, + tca_party_site_number=tca_party_site_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bill_site_use_id: str, + is_bill_to: bool, + is_ship_to: bool, + locations: Sequence['outputs.GetSubscribedServiceServiceToAddressLocationResult'], + name: str, + phone: str, + service2site_use_id: str, + tca_cust_acct_site_id: str, + tca_party_site_number: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bill_site_use_id", bill_site_use_id) + _setter("is_bill_to", is_bill_to) + _setter("is_ship_to", is_ship_to) + _setter("locations", locations) + _setter("name", name) + _setter("phone", phone) + _setter("service2site_use_id", service2site_use_id) + _setter("tca_cust_acct_site_id", tca_cust_acct_site_id) + _setter("tca_party_site_number", tca_party_site_number) @property @pulumi.getter(name="billSiteUseId") @@ -5019,13 +6258,34 @@ def __init__(__self__, *, :param str region: Region. :param str tca_location_id: Region. """ - pulumi.set(__self__, "address1", address1) - pulumi.set(__self__, "address2", address2) - pulumi.set(__self__, "city", city) - pulumi.set(__self__, "country", country) - pulumi.set(__self__, "postal_code", postal_code) - pulumi.set(__self__, "region", region) - pulumi.set(__self__, "tca_location_id", tca_location_id) + GetSubscribedServiceServiceToAddressLocationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + address1=address1, + address2=address2, + city=city, + country=country, + postal_code=postal_code, + region=region, + tca_location_id=tca_location_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address1: str, + address2: str, + city: str, + country: str, + postal_code: str, + region: str, + tca_location_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("address1", address1) + _setter("address2", address2) + _setter("city", city) + _setter("country", country) + _setter("postal_code", postal_code) + _setter("region", region) + _setter("tca_location_id", tca_location_id) @property @pulumi.getter @@ -5105,14 +6365,37 @@ def __init__(__self__, *, :param str tca_party_id: TCA party ID. :param str username: Username. """ - pulumi.set(__self__, "email", email) - pulumi.set(__self__, "first_name", first_name) - pulumi.set(__self__, "last_name", last_name) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "tca_contact_id", tca_contact_id) - pulumi.set(__self__, "tca_cust_accnt_site_id", tca_cust_accnt_site_id) - pulumi.set(__self__, "tca_party_id", tca_party_id) - pulumi.set(__self__, "username", username) + GetSubscribedServiceServiceToContactResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + email=email, + first_name=first_name, + last_name=last_name, + name=name, + tca_contact_id=tca_contact_id, + tca_cust_accnt_site_id=tca_cust_accnt_site_id, + tca_party_id=tca_party_id, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + email: str, + first_name: str, + last_name: str, + name: str, + tca_contact_id: str, + tca_cust_accnt_site_id: str, + tca_party_id: str, + username: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("email", email) + _setter("first_name", first_name) + _setter("last_name", last_name) + _setter("name", name) + _setter("tca_contact_id", tca_contact_id) + _setter("tca_cust_accnt_site_id", tca_cust_accnt_site_id) + _setter("tca_party_id", tca_party_id) + _setter("username", username) @property @pulumi.getter @@ -5202,15 +6485,40 @@ def __init__(__self__, *, :param str tca_party_id: TCA party ID. :param str tca_party_number: TCA party number. """ - pulumi.set(__self__, "customer_chain_type", customer_chain_type) - pulumi.set(__self__, "is_chain_customer", is_chain_customer) - pulumi.set(__self__, "is_public_sector", is_public_sector) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "name_phonetic", name_phonetic) - pulumi.set(__self__, "tca_cust_account_number", tca_cust_account_number) - pulumi.set(__self__, "tca_customer_account_id", tca_customer_account_id) - pulumi.set(__self__, "tca_party_id", tca_party_id) - pulumi.set(__self__, "tca_party_number", tca_party_number) + GetSubscribedServiceServiceToCustomerResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + customer_chain_type=customer_chain_type, + is_chain_customer=is_chain_customer, + is_public_sector=is_public_sector, + name=name, + name_phonetic=name_phonetic, + tca_cust_account_number=tca_cust_account_number, + tca_customer_account_id=tca_customer_account_id, + tca_party_id=tca_party_id, + tca_party_number=tca_party_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + customer_chain_type: str, + is_chain_customer: bool, + is_public_sector: bool, + name: str, + name_phonetic: str, + tca_cust_account_number: str, + tca_customer_account_id: str, + tca_party_id: str, + tca_party_number: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("customer_chain_type", customer_chain_type) + _setter("is_chain_customer", is_chain_customer) + _setter("is_public_sector", is_public_sector) + _setter("name", name) + _setter("name_phonetic", name_phonetic) + _setter("tca_cust_account_number", tca_cust_account_number) + _setter("tca_customer_account_id", tca_customer_account_id) + _setter("tca_party_id", tca_party_id) + _setter("tca_party_number", tca_party_number) @property @pulumi.getter(name="customerChainType") @@ -5306,14 +6614,37 @@ def __init__(__self__, *, :param str tca_party_id: TCA party ID. :param str username: Username. """ - pulumi.set(__self__, "email", email) - pulumi.set(__self__, "first_name", first_name) - pulumi.set(__self__, "last_name", last_name) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "tca_contact_id", tca_contact_id) - pulumi.set(__self__, "tca_cust_accnt_site_id", tca_cust_accnt_site_id) - pulumi.set(__self__, "tca_party_id", tca_party_id) - pulumi.set(__self__, "username", username) + GetSubscribedServiceSoldToContactResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + email=email, + first_name=first_name, + last_name=last_name, + name=name, + tca_contact_id=tca_contact_id, + tca_cust_accnt_site_id=tca_cust_accnt_site_id, + tca_party_id=tca_party_id, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + email: str, + first_name: str, + last_name: str, + name: str, + tca_contact_id: str, + tca_cust_accnt_site_id: str, + tca_party_id: str, + username: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("email", email) + _setter("first_name", first_name) + _setter("last_name", last_name) + _setter("name", name) + _setter("tca_contact_id", tca_contact_id) + _setter("tca_cust_accnt_site_id", tca_cust_accnt_site_id) + _setter("tca_party_id", tca_party_id) + _setter("username", username) @property @pulumi.getter @@ -5403,15 +6734,40 @@ def __init__(__self__, *, :param str tca_party_id: TCA party ID. :param str tca_party_number: TCA party number. """ - pulumi.set(__self__, "customer_chain_type", customer_chain_type) - pulumi.set(__self__, "is_chain_customer", is_chain_customer) - pulumi.set(__self__, "is_public_sector", is_public_sector) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "name_phonetic", name_phonetic) - pulumi.set(__self__, "tca_cust_account_number", tca_cust_account_number) - pulumi.set(__self__, "tca_customer_account_id", tca_customer_account_id) - pulumi.set(__self__, "tca_party_id", tca_party_id) - pulumi.set(__self__, "tca_party_number", tca_party_number) + GetSubscribedServiceSoldToCustomerResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + customer_chain_type=customer_chain_type, + is_chain_customer=is_chain_customer, + is_public_sector=is_public_sector, + name=name, + name_phonetic=name_phonetic, + tca_cust_account_number=tca_cust_account_number, + tca_customer_account_id=tca_customer_account_id, + tca_party_id=tca_party_id, + tca_party_number=tca_party_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + customer_chain_type: str, + is_chain_customer: bool, + is_public_sector: bool, + name: str, + name_phonetic: str, + tca_cust_account_number: str, + tca_customer_account_id: str, + tca_party_id: str, + tca_party_number: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("customer_chain_type", customer_chain_type) + _setter("is_chain_customer", is_chain_customer) + _setter("is_public_sector", is_public_sector) + _setter("name", name) + _setter("name_phonetic", name_phonetic) + _setter("tca_cust_account_number", tca_cust_account_number) + _setter("tca_customer_account_id", tca_customer_account_id) + _setter("tca_party_id", tca_party_id) + _setter("tca_party_number", tca_party_number) @property @pulumi.getter(name="customerChainType") @@ -5495,10 +6851,23 @@ def __init__(__self__, *, """ :param str name: Commercial name also called customer name. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSubscribedServicesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5746,117 +7115,346 @@ def __init__(__self__, *, :param str updated_by: User that updated the subscribed service :param str used_amount: Subscribed service used amount """ - pulumi.set(__self__, "admin_email", admin_email) - pulumi.set(__self__, "agreement_id", agreement_id) - pulumi.set(__self__, "agreement_name", agreement_name) - pulumi.set(__self__, "agreement_type", agreement_type) - pulumi.set(__self__, "available_amount", available_amount) - pulumi.set(__self__, "bill_to_addresses", bill_to_addresses) - pulumi.set(__self__, "bill_to_contacts", bill_to_contacts) - pulumi.set(__self__, "bill_to_customers", bill_to_customers) - pulumi.set(__self__, "billing_frequency", billing_frequency) - pulumi.set(__self__, "booking_opty_number", booking_opty_number) - pulumi.set(__self__, "buyer_email", buyer_email) - pulumi.set(__self__, "commitment_schedule_id", commitment_schedule_id) - pulumi.set(__self__, "commitment_services", commitment_services) - pulumi.set(__self__, "created_by", created_by) - pulumi.set(__self__, "credit_percentage", credit_percentage) - pulumi.set(__self__, "csi", csi) - pulumi.set(__self__, "customer_transaction_reference", customer_transaction_reference) - pulumi.set(__self__, "data_center", data_center) - pulumi.set(__self__, "data_center_region", data_center_region) - pulumi.set(__self__, "eligible_to_renew", eligible_to_renew) - pulumi.set(__self__, "end_user_addresses", end_user_addresses) - pulumi.set(__self__, "end_user_contacts", end_user_contacts) - pulumi.set(__self__, "end_user_customers", end_user_customers) - pulumi.set(__self__, "fulfillment_set", fulfillment_set) - pulumi.set(__self__, "funded_allocation_value", funded_allocation_value) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_allowance", is_allowance) - pulumi.set(__self__, "is_cap_to_price_list", is_cap_to_price_list) - pulumi.set(__self__, "is_credit_enabled", is_credit_enabled) - pulumi.set(__self__, "is_having_usage", is_having_usage) - pulumi.set(__self__, "is_intent_to_pay", is_intent_to_pay) - pulumi.set(__self__, "is_payg", is_payg) - pulumi.set(__self__, "is_single_rate_card", is_single_rate_card) - pulumi.set(__self__, "is_variable_commitment", is_variable_commitment) - pulumi.set(__self__, "line_net_amount", line_net_amount) - pulumi.set(__self__, "major_set", major_set) - pulumi.set(__self__, "net_unit_price", net_unit_price) - pulumi.set(__self__, "operation_type", operation_type) - pulumi.set(__self__, "order_header_id", order_header_id) - pulumi.set(__self__, "order_line_id", order_line_id) - pulumi.set(__self__, "order_line_number", order_line_number) - pulumi.set(__self__, "order_number", order_number) - pulumi.set(__self__, "order_type", order_type) - pulumi.set(__self__, "original_promo_amount", original_promo_amount) - pulumi.set(__self__, "overage_bill_to", overage_bill_to) - pulumi.set(__self__, "overage_discount_percentage", overage_discount_percentage) - pulumi.set(__self__, "overage_policy", overage_policy) - pulumi.set(__self__, "partner_credit_amount", partner_credit_amount) - pulumi.set(__self__, "partner_transaction_type", partner_transaction_type) - pulumi.set(__self__, "payg_policy", payg_policy) - pulumi.set(__self__, "payment_method", payment_method) - pulumi.set(__self__, "payment_number", payment_number) - pulumi.set(__self__, "payment_terms", payment_terms) - pulumi.set(__self__, "price_period", price_period) - pulumi.set(__self__, "pricing_model", pricing_model) - pulumi.set(__self__, "products", products) - pulumi.set(__self__, "program_type", program_type) - pulumi.set(__self__, "promo_order_line_id", promo_order_line_id) - pulumi.set(__self__, "promo_type", promo_type) - pulumi.set(__self__, "promotion_pricing_type", promotion_pricing_type) - pulumi.set(__self__, "provisioning_source", provisioning_source) - pulumi.set(__self__, "quantity", quantity) - pulumi.set(__self__, "rate_card_discount_percentage", rate_card_discount_percentage) - pulumi.set(__self__, "rate_cards", rate_cards) - pulumi.set(__self__, "ratecard_type", ratecard_type) - pulumi.set(__self__, "renewal_opty_id", renewal_opty_id) - pulumi.set(__self__, "renewal_opty_number", renewal_opty_number) - pulumi.set(__self__, "renewal_opty_type", renewal_opty_type) - pulumi.set(__self__, "renewed_subscribed_service_id", renewed_subscribed_service_id) - pulumi.set(__self__, "reseller_addresses", reseller_addresses) - pulumi.set(__self__, "reseller_contacts", reseller_contacts) - pulumi.set(__self__, "reseller_customers", reseller_customers) - pulumi.set(__self__, "revenue_line_id", revenue_line_id) - pulumi.set(__self__, "revenue_line_number", revenue_line_number) - pulumi.set(__self__, "revised_arr_in_lc", revised_arr_in_lc) - pulumi.set(__self__, "revised_arr_in_sc", revised_arr_in_sc) - pulumi.set(__self__, "sales_account_party_id", sales_account_party_id) - pulumi.set(__self__, "sales_channel", sales_channel) - pulumi.set(__self__, "serial_number", serial_number) - pulumi.set(__self__, "service_to_addresses", service_to_addresses) - pulumi.set(__self__, "service_to_contacts", service_to_contacts) - pulumi.set(__self__, "service_to_customers", service_to_customers) - pulumi.set(__self__, "sold_to_contacts", sold_to_contacts) - pulumi.set(__self__, "sold_to_customers", sold_to_customers) - pulumi.set(__self__, "start_date_type", start_date_type) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "subscription_id", subscription_id) - pulumi.set(__self__, "subscription_source", subscription_source) - pulumi.set(__self__, "system_arr_in_lc", system_arr_in_lc) - pulumi.set(__self__, "system_arr_in_sc", system_arr_in_sc) - pulumi.set(__self__, "system_atr_arr_in_lc", system_atr_arr_in_lc) - pulumi.set(__self__, "system_atr_arr_in_sc", system_atr_arr_in_sc) - pulumi.set(__self__, "term_value", term_value) - pulumi.set(__self__, "term_value_uom", term_value_uom) - pulumi.set(__self__, "time_agreement_end", time_agreement_end) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_customer_config", time_customer_config) - pulumi.set(__self__, "time_end", time_end) - pulumi.set(__self__, "time_majorset_end", time_majorset_end) - pulumi.set(__self__, "time_majorset_start", time_majorset_start) - pulumi.set(__self__, "time_payment_expiry", time_payment_expiry) - pulumi.set(__self__, "time_provisioned", time_provisioned) - pulumi.set(__self__, "time_service_configuration_email_sent", time_service_configuration_email_sent) - pulumi.set(__self__, "time_start", time_start) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "time_welcome_email_sent", time_welcome_email_sent) - pulumi.set(__self__, "total_value", total_value) - pulumi.set(__self__, "transaction_extension_id", transaction_extension_id) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "updated_by", updated_by) - pulumi.set(__self__, "used_amount", used_amount) + GetSubscribedServicesSubscribedServiceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + admin_email=admin_email, + agreement_id=agreement_id, + agreement_name=agreement_name, + agreement_type=agreement_type, + available_amount=available_amount, + bill_to_addresses=bill_to_addresses, + bill_to_contacts=bill_to_contacts, + bill_to_customers=bill_to_customers, + billing_frequency=billing_frequency, + booking_opty_number=booking_opty_number, + buyer_email=buyer_email, + commitment_schedule_id=commitment_schedule_id, + commitment_services=commitment_services, + created_by=created_by, + credit_percentage=credit_percentage, + csi=csi, + customer_transaction_reference=customer_transaction_reference, + data_center=data_center, + data_center_region=data_center_region, + eligible_to_renew=eligible_to_renew, + end_user_addresses=end_user_addresses, + end_user_contacts=end_user_contacts, + end_user_customers=end_user_customers, + fulfillment_set=fulfillment_set, + funded_allocation_value=funded_allocation_value, + id=id, + is_allowance=is_allowance, + is_cap_to_price_list=is_cap_to_price_list, + is_credit_enabled=is_credit_enabled, + is_having_usage=is_having_usage, + is_intent_to_pay=is_intent_to_pay, + is_payg=is_payg, + is_single_rate_card=is_single_rate_card, + is_variable_commitment=is_variable_commitment, + line_net_amount=line_net_amount, + major_set=major_set, + net_unit_price=net_unit_price, + operation_type=operation_type, + order_header_id=order_header_id, + order_line_id=order_line_id, + order_line_number=order_line_number, + order_number=order_number, + order_type=order_type, + original_promo_amount=original_promo_amount, + overage_bill_to=overage_bill_to, + overage_discount_percentage=overage_discount_percentage, + overage_policy=overage_policy, + partner_credit_amount=partner_credit_amount, + partner_transaction_type=partner_transaction_type, + payg_policy=payg_policy, + payment_method=payment_method, + payment_number=payment_number, + payment_terms=payment_terms, + price_period=price_period, + pricing_model=pricing_model, + products=products, + program_type=program_type, + promo_order_line_id=promo_order_line_id, + promo_type=promo_type, + promotion_pricing_type=promotion_pricing_type, + provisioning_source=provisioning_source, + quantity=quantity, + rate_card_discount_percentage=rate_card_discount_percentage, + rate_cards=rate_cards, + ratecard_type=ratecard_type, + renewal_opty_id=renewal_opty_id, + renewal_opty_number=renewal_opty_number, + renewal_opty_type=renewal_opty_type, + renewed_subscribed_service_id=renewed_subscribed_service_id, + reseller_addresses=reseller_addresses, + reseller_contacts=reseller_contacts, + reseller_customers=reseller_customers, + revenue_line_id=revenue_line_id, + revenue_line_number=revenue_line_number, + revised_arr_in_lc=revised_arr_in_lc, + revised_arr_in_sc=revised_arr_in_sc, + sales_account_party_id=sales_account_party_id, + sales_channel=sales_channel, + serial_number=serial_number, + service_to_addresses=service_to_addresses, + service_to_contacts=service_to_contacts, + service_to_customers=service_to_customers, + sold_to_contacts=sold_to_contacts, + sold_to_customers=sold_to_customers, + start_date_type=start_date_type, + status=status, + subscription_id=subscription_id, + subscription_source=subscription_source, + system_arr_in_lc=system_arr_in_lc, + system_arr_in_sc=system_arr_in_sc, + system_atr_arr_in_lc=system_atr_arr_in_lc, + system_atr_arr_in_sc=system_atr_arr_in_sc, + term_value=term_value, + term_value_uom=term_value_uom, + time_agreement_end=time_agreement_end, + time_created=time_created, + time_customer_config=time_customer_config, + time_end=time_end, + time_majorset_end=time_majorset_end, + time_majorset_start=time_majorset_start, + time_payment_expiry=time_payment_expiry, + time_provisioned=time_provisioned, + time_service_configuration_email_sent=time_service_configuration_email_sent, + time_start=time_start, + time_updated=time_updated, + time_welcome_email_sent=time_welcome_email_sent, + total_value=total_value, + transaction_extension_id=transaction_extension_id, + type=type, + updated_by=updated_by, + used_amount=used_amount, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + admin_email: str, + agreement_id: str, + agreement_name: str, + agreement_type: str, + available_amount: str, + bill_to_addresses: Sequence['outputs.GetSubscribedServicesSubscribedServiceBillToAddressResult'], + bill_to_contacts: Sequence['outputs.GetSubscribedServicesSubscribedServiceBillToContactResult'], + bill_to_customers: Sequence['outputs.GetSubscribedServicesSubscribedServiceBillToCustomerResult'], + billing_frequency: str, + booking_opty_number: str, + buyer_email: str, + commitment_schedule_id: str, + commitment_services: Sequence['outputs.GetSubscribedServicesSubscribedServiceCommitmentServiceResult'], + created_by: str, + credit_percentage: str, + csi: str, + customer_transaction_reference: str, + data_center: str, + data_center_region: str, + eligible_to_renew: str, + end_user_addresses: Sequence['outputs.GetSubscribedServicesSubscribedServiceEndUserAddressResult'], + end_user_contacts: Sequence['outputs.GetSubscribedServicesSubscribedServiceEndUserContactResult'], + end_user_customers: Sequence['outputs.GetSubscribedServicesSubscribedServiceEndUserCustomerResult'], + fulfillment_set: str, + funded_allocation_value: str, + id: str, + is_allowance: bool, + is_cap_to_price_list: bool, + is_credit_enabled: bool, + is_having_usage: bool, + is_intent_to_pay: bool, + is_payg: bool, + is_single_rate_card: bool, + is_variable_commitment: bool, + line_net_amount: str, + major_set: str, + net_unit_price: str, + operation_type: str, + order_header_id: str, + order_line_id: str, + order_line_number: int, + order_number: str, + order_type: str, + original_promo_amount: str, + overage_bill_to: str, + overage_discount_percentage: str, + overage_policy: str, + partner_credit_amount: str, + partner_transaction_type: str, + payg_policy: str, + payment_method: str, + payment_number: str, + payment_terms: Sequence['outputs.GetSubscribedServicesSubscribedServicePaymentTermResult'], + price_period: str, + pricing_model: str, + products: Sequence['outputs.GetSubscribedServicesSubscribedServiceProductResult'], + program_type: str, + promo_order_line_id: str, + promo_type: str, + promotion_pricing_type: str, + provisioning_source: str, + quantity: str, + rate_card_discount_percentage: str, + rate_cards: Sequence['outputs.GetSubscribedServicesSubscribedServiceRateCardResult'], + ratecard_type: str, + renewal_opty_id: str, + renewal_opty_number: str, + renewal_opty_type: str, + renewed_subscribed_service_id: str, + reseller_addresses: Sequence['outputs.GetSubscribedServicesSubscribedServiceResellerAddressResult'], + reseller_contacts: Sequence['outputs.GetSubscribedServicesSubscribedServiceResellerContactResult'], + reseller_customers: Sequence['outputs.GetSubscribedServicesSubscribedServiceResellerCustomerResult'], + revenue_line_id: str, + revenue_line_number: str, + revised_arr_in_lc: str, + revised_arr_in_sc: str, + sales_account_party_id: str, + sales_channel: str, + serial_number: str, + service_to_addresses: Sequence['outputs.GetSubscribedServicesSubscribedServiceServiceToAddressResult'], + service_to_contacts: Sequence['outputs.GetSubscribedServicesSubscribedServiceServiceToContactResult'], + service_to_customers: Sequence['outputs.GetSubscribedServicesSubscribedServiceServiceToCustomerResult'], + sold_to_contacts: Sequence['outputs.GetSubscribedServicesSubscribedServiceSoldToContactResult'], + sold_to_customers: Sequence['outputs.GetSubscribedServicesSubscribedServiceSoldToCustomerResult'], + start_date_type: str, + status: str, + subscription_id: str, + subscription_source: str, + system_arr_in_lc: str, + system_arr_in_sc: str, + system_atr_arr_in_lc: str, + system_atr_arr_in_sc: str, + term_value: str, + term_value_uom: str, + time_agreement_end: str, + time_created: str, + time_customer_config: str, + time_end: str, + time_majorset_end: str, + time_majorset_start: str, + time_payment_expiry: str, + time_provisioned: str, + time_service_configuration_email_sent: str, + time_start: str, + time_updated: str, + time_welcome_email_sent: str, + total_value: str, + transaction_extension_id: str, + type: str, + updated_by: str, + used_amount: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("admin_email", admin_email) + _setter("agreement_id", agreement_id) + _setter("agreement_name", agreement_name) + _setter("agreement_type", agreement_type) + _setter("available_amount", available_amount) + _setter("bill_to_addresses", bill_to_addresses) + _setter("bill_to_contacts", bill_to_contacts) + _setter("bill_to_customers", bill_to_customers) + _setter("billing_frequency", billing_frequency) + _setter("booking_opty_number", booking_opty_number) + _setter("buyer_email", buyer_email) + _setter("commitment_schedule_id", commitment_schedule_id) + _setter("commitment_services", commitment_services) + _setter("created_by", created_by) + _setter("credit_percentage", credit_percentage) + _setter("csi", csi) + _setter("customer_transaction_reference", customer_transaction_reference) + _setter("data_center", data_center) + _setter("data_center_region", data_center_region) + _setter("eligible_to_renew", eligible_to_renew) + _setter("end_user_addresses", end_user_addresses) + _setter("end_user_contacts", end_user_contacts) + _setter("end_user_customers", end_user_customers) + _setter("fulfillment_set", fulfillment_set) + _setter("funded_allocation_value", funded_allocation_value) + _setter("id", id) + _setter("is_allowance", is_allowance) + _setter("is_cap_to_price_list", is_cap_to_price_list) + _setter("is_credit_enabled", is_credit_enabled) + _setter("is_having_usage", is_having_usage) + _setter("is_intent_to_pay", is_intent_to_pay) + _setter("is_payg", is_payg) + _setter("is_single_rate_card", is_single_rate_card) + _setter("is_variable_commitment", is_variable_commitment) + _setter("line_net_amount", line_net_amount) + _setter("major_set", major_set) + _setter("net_unit_price", net_unit_price) + _setter("operation_type", operation_type) + _setter("order_header_id", order_header_id) + _setter("order_line_id", order_line_id) + _setter("order_line_number", order_line_number) + _setter("order_number", order_number) + _setter("order_type", order_type) + _setter("original_promo_amount", original_promo_amount) + _setter("overage_bill_to", overage_bill_to) + _setter("overage_discount_percentage", overage_discount_percentage) + _setter("overage_policy", overage_policy) + _setter("partner_credit_amount", partner_credit_amount) + _setter("partner_transaction_type", partner_transaction_type) + _setter("payg_policy", payg_policy) + _setter("payment_method", payment_method) + _setter("payment_number", payment_number) + _setter("payment_terms", payment_terms) + _setter("price_period", price_period) + _setter("pricing_model", pricing_model) + _setter("products", products) + _setter("program_type", program_type) + _setter("promo_order_line_id", promo_order_line_id) + _setter("promo_type", promo_type) + _setter("promotion_pricing_type", promotion_pricing_type) + _setter("provisioning_source", provisioning_source) + _setter("quantity", quantity) + _setter("rate_card_discount_percentage", rate_card_discount_percentage) + _setter("rate_cards", rate_cards) + _setter("ratecard_type", ratecard_type) + _setter("renewal_opty_id", renewal_opty_id) + _setter("renewal_opty_number", renewal_opty_number) + _setter("renewal_opty_type", renewal_opty_type) + _setter("renewed_subscribed_service_id", renewed_subscribed_service_id) + _setter("reseller_addresses", reseller_addresses) + _setter("reseller_contacts", reseller_contacts) + _setter("reseller_customers", reseller_customers) + _setter("revenue_line_id", revenue_line_id) + _setter("revenue_line_number", revenue_line_number) + _setter("revised_arr_in_lc", revised_arr_in_lc) + _setter("revised_arr_in_sc", revised_arr_in_sc) + _setter("sales_account_party_id", sales_account_party_id) + _setter("sales_channel", sales_channel) + _setter("serial_number", serial_number) + _setter("service_to_addresses", service_to_addresses) + _setter("service_to_contacts", service_to_contacts) + _setter("service_to_customers", service_to_customers) + _setter("sold_to_contacts", sold_to_contacts) + _setter("sold_to_customers", sold_to_customers) + _setter("start_date_type", start_date_type) + _setter("status", status) + _setter("subscription_id", subscription_id) + _setter("subscription_source", subscription_source) + _setter("system_arr_in_lc", system_arr_in_lc) + _setter("system_arr_in_sc", system_arr_in_sc) + _setter("system_atr_arr_in_lc", system_atr_arr_in_lc) + _setter("system_atr_arr_in_sc", system_atr_arr_in_sc) + _setter("term_value", term_value) + _setter("term_value_uom", term_value_uom) + _setter("time_agreement_end", time_agreement_end) + _setter("time_created", time_created) + _setter("time_customer_config", time_customer_config) + _setter("time_end", time_end) + _setter("time_majorset_end", time_majorset_end) + _setter("time_majorset_start", time_majorset_start) + _setter("time_payment_expiry", time_payment_expiry) + _setter("time_provisioned", time_provisioned) + _setter("time_service_configuration_email_sent", time_service_configuration_email_sent) + _setter("time_start", time_start) + _setter("time_updated", time_updated) + _setter("time_welcome_email_sent", time_welcome_email_sent) + _setter("total_value", total_value) + _setter("transaction_extension_id", transaction_extension_id) + _setter("type", type) + _setter("updated_by", updated_by) + _setter("used_amount", used_amount) @property @pulumi.getter(name="adminEmail") @@ -6770,15 +8368,40 @@ def __init__(__self__, *, :param str tca_cust_acct_site_id: TCA customer account site Id. :param str tca_party_site_number: Party site number. """ - pulumi.set(__self__, "bill_site_use_id", bill_site_use_id) - pulumi.set(__self__, "is_bill_to", is_bill_to) - pulumi.set(__self__, "is_ship_to", is_ship_to) - pulumi.set(__self__, "locations", locations) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "phone", phone) - pulumi.set(__self__, "service2site_use_id", service2site_use_id) - pulumi.set(__self__, "tca_cust_acct_site_id", tca_cust_acct_site_id) - pulumi.set(__self__, "tca_party_site_number", tca_party_site_number) + GetSubscribedServicesSubscribedServiceBillToAddressResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bill_site_use_id=bill_site_use_id, + is_bill_to=is_bill_to, + is_ship_to=is_ship_to, + locations=locations, + name=name, + phone=phone, + service2site_use_id=service2site_use_id, + tca_cust_acct_site_id=tca_cust_acct_site_id, + tca_party_site_number=tca_party_site_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bill_site_use_id: str, + is_bill_to: bool, + is_ship_to: bool, + locations: Sequence['outputs.GetSubscribedServicesSubscribedServiceBillToAddressLocationResult'], + name: str, + phone: str, + service2site_use_id: str, + tca_cust_acct_site_id: str, + tca_party_site_number: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bill_site_use_id", bill_site_use_id) + _setter("is_bill_to", is_bill_to) + _setter("is_ship_to", is_ship_to) + _setter("locations", locations) + _setter("name", name) + _setter("phone", phone) + _setter("service2site_use_id", service2site_use_id) + _setter("tca_cust_acct_site_id", tca_cust_acct_site_id) + _setter("tca_party_site_number", tca_party_site_number) @property @pulumi.getter(name="billSiteUseId") @@ -6872,13 +8495,34 @@ def __init__(__self__, *, :param str region: Region. :param str tca_location_id: Region. """ - pulumi.set(__self__, "address1", address1) - pulumi.set(__self__, "address2", address2) - pulumi.set(__self__, "city", city) - pulumi.set(__self__, "country", country) - pulumi.set(__self__, "postal_code", postal_code) - pulumi.set(__self__, "region", region) - pulumi.set(__self__, "tca_location_id", tca_location_id) + GetSubscribedServicesSubscribedServiceBillToAddressLocationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + address1=address1, + address2=address2, + city=city, + country=country, + postal_code=postal_code, + region=region, + tca_location_id=tca_location_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address1: str, + address2: str, + city: str, + country: str, + postal_code: str, + region: str, + tca_location_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("address1", address1) + _setter("address2", address2) + _setter("city", city) + _setter("country", country) + _setter("postal_code", postal_code) + _setter("region", region) + _setter("tca_location_id", tca_location_id) @property @pulumi.getter @@ -6958,14 +8602,37 @@ def __init__(__self__, *, :param str tca_party_id: TCA party ID. :param str username: Username. """ - pulumi.set(__self__, "email", email) - pulumi.set(__self__, "first_name", first_name) - pulumi.set(__self__, "last_name", last_name) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "tca_contact_id", tca_contact_id) - pulumi.set(__self__, "tca_cust_accnt_site_id", tca_cust_accnt_site_id) - pulumi.set(__self__, "tca_party_id", tca_party_id) - pulumi.set(__self__, "username", username) + GetSubscribedServicesSubscribedServiceBillToContactResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + email=email, + first_name=first_name, + last_name=last_name, + name=name, + tca_contact_id=tca_contact_id, + tca_cust_accnt_site_id=tca_cust_accnt_site_id, + tca_party_id=tca_party_id, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + email: str, + first_name: str, + last_name: str, + name: str, + tca_contact_id: str, + tca_cust_accnt_site_id: str, + tca_party_id: str, + username: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("email", email) + _setter("first_name", first_name) + _setter("last_name", last_name) + _setter("name", name) + _setter("tca_contact_id", tca_contact_id) + _setter("tca_cust_accnt_site_id", tca_cust_accnt_site_id) + _setter("tca_party_id", tca_party_id) + _setter("username", username) @property @pulumi.getter @@ -7055,15 +8722,40 @@ def __init__(__self__, *, :param str tca_party_id: TCA party ID. :param str tca_party_number: TCA party number. """ - pulumi.set(__self__, "customer_chain_type", customer_chain_type) - pulumi.set(__self__, "is_chain_customer", is_chain_customer) - pulumi.set(__self__, "is_public_sector", is_public_sector) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "name_phonetic", name_phonetic) - pulumi.set(__self__, "tca_cust_account_number", tca_cust_account_number) - pulumi.set(__self__, "tca_customer_account_id", tca_customer_account_id) - pulumi.set(__self__, "tca_party_id", tca_party_id) - pulumi.set(__self__, "tca_party_number", tca_party_number) + GetSubscribedServicesSubscribedServiceBillToCustomerResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + customer_chain_type=customer_chain_type, + is_chain_customer=is_chain_customer, + is_public_sector=is_public_sector, + name=name, + name_phonetic=name_phonetic, + tca_cust_account_number=tca_cust_account_number, + tca_customer_account_id=tca_customer_account_id, + tca_party_id=tca_party_id, + tca_party_number=tca_party_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + customer_chain_type: str, + is_chain_customer: bool, + is_public_sector: bool, + name: str, + name_phonetic: str, + tca_cust_account_number: str, + tca_customer_account_id: str, + tca_party_id: str, + tca_party_number: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("customer_chain_type", customer_chain_type) + _setter("is_chain_customer", is_chain_customer) + _setter("is_public_sector", is_public_sector) + _setter("name", name) + _setter("name_phonetic", name_phonetic) + _setter("tca_cust_account_number", tca_cust_account_number) + _setter("tca_customer_account_id", tca_customer_account_id) + _setter("tca_party_id", tca_party_id) + _setter("tca_party_number", tca_party_number) @property @pulumi.getter(name="customerChainType") @@ -7155,12 +8847,31 @@ def __init__(__self__, *, :param str time_end: Subscribed service end date :param str time_start: Subscribed service start date """ - pulumi.set(__self__, "available_amount", available_amount) - pulumi.set(__self__, "funded_allocation_value", funded_allocation_value) - pulumi.set(__self__, "line_net_amount", line_net_amount) - pulumi.set(__self__, "quantity", quantity) - pulumi.set(__self__, "time_end", time_end) - pulumi.set(__self__, "time_start", time_start) + GetSubscribedServicesSubscribedServiceCommitmentServiceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + available_amount=available_amount, + funded_allocation_value=funded_allocation_value, + line_net_amount=line_net_amount, + quantity=quantity, + time_end=time_end, + time_start=time_start, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + available_amount: str, + funded_allocation_value: str, + line_net_amount: str, + quantity: str, + time_end: str, + time_start: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("available_amount", available_amount) + _setter("funded_allocation_value", funded_allocation_value) + _setter("line_net_amount", line_net_amount) + _setter("quantity", quantity) + _setter("time_end", time_end) + _setter("time_start", time_start) @property @pulumi.getter(name="availableAmount") @@ -7234,15 +8945,40 @@ def __init__(__self__, *, :param str tca_cust_acct_site_id: TCA customer account site Id. :param str tca_party_site_number: Party site number. """ - pulumi.set(__self__, "bill_site_use_id", bill_site_use_id) - pulumi.set(__self__, "is_bill_to", is_bill_to) - pulumi.set(__self__, "is_ship_to", is_ship_to) - pulumi.set(__self__, "locations", locations) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "phone", phone) - pulumi.set(__self__, "service2site_use_id", service2site_use_id) - pulumi.set(__self__, "tca_cust_acct_site_id", tca_cust_acct_site_id) - pulumi.set(__self__, "tca_party_site_number", tca_party_site_number) + GetSubscribedServicesSubscribedServiceEndUserAddressResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bill_site_use_id=bill_site_use_id, + is_bill_to=is_bill_to, + is_ship_to=is_ship_to, + locations=locations, + name=name, + phone=phone, + service2site_use_id=service2site_use_id, + tca_cust_acct_site_id=tca_cust_acct_site_id, + tca_party_site_number=tca_party_site_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bill_site_use_id: str, + is_bill_to: bool, + is_ship_to: bool, + locations: Sequence['outputs.GetSubscribedServicesSubscribedServiceEndUserAddressLocationResult'], + name: str, + phone: str, + service2site_use_id: str, + tca_cust_acct_site_id: str, + tca_party_site_number: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bill_site_use_id", bill_site_use_id) + _setter("is_bill_to", is_bill_to) + _setter("is_ship_to", is_ship_to) + _setter("locations", locations) + _setter("name", name) + _setter("phone", phone) + _setter("service2site_use_id", service2site_use_id) + _setter("tca_cust_acct_site_id", tca_cust_acct_site_id) + _setter("tca_party_site_number", tca_party_site_number) @property @pulumi.getter(name="billSiteUseId") @@ -7336,13 +9072,34 @@ def __init__(__self__, *, :param str region: Region. :param str tca_location_id: Region. """ - pulumi.set(__self__, "address1", address1) - pulumi.set(__self__, "address2", address2) - pulumi.set(__self__, "city", city) - pulumi.set(__self__, "country", country) - pulumi.set(__self__, "postal_code", postal_code) - pulumi.set(__self__, "region", region) - pulumi.set(__self__, "tca_location_id", tca_location_id) + GetSubscribedServicesSubscribedServiceEndUserAddressLocationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + address1=address1, + address2=address2, + city=city, + country=country, + postal_code=postal_code, + region=region, + tca_location_id=tca_location_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address1: str, + address2: str, + city: str, + country: str, + postal_code: str, + region: str, + tca_location_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("address1", address1) + _setter("address2", address2) + _setter("city", city) + _setter("country", country) + _setter("postal_code", postal_code) + _setter("region", region) + _setter("tca_location_id", tca_location_id) @property @pulumi.getter @@ -7422,14 +9179,37 @@ def __init__(__self__, *, :param str tca_party_id: TCA party ID. :param str username: Username. """ - pulumi.set(__self__, "email", email) - pulumi.set(__self__, "first_name", first_name) - pulumi.set(__self__, "last_name", last_name) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "tca_contact_id", tca_contact_id) - pulumi.set(__self__, "tca_cust_accnt_site_id", tca_cust_accnt_site_id) - pulumi.set(__self__, "tca_party_id", tca_party_id) - pulumi.set(__self__, "username", username) + GetSubscribedServicesSubscribedServiceEndUserContactResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + email=email, + first_name=first_name, + last_name=last_name, + name=name, + tca_contact_id=tca_contact_id, + tca_cust_accnt_site_id=tca_cust_accnt_site_id, + tca_party_id=tca_party_id, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + email: str, + first_name: str, + last_name: str, + name: str, + tca_contact_id: str, + tca_cust_accnt_site_id: str, + tca_party_id: str, + username: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("email", email) + _setter("first_name", first_name) + _setter("last_name", last_name) + _setter("name", name) + _setter("tca_contact_id", tca_contact_id) + _setter("tca_cust_accnt_site_id", tca_cust_accnt_site_id) + _setter("tca_party_id", tca_party_id) + _setter("username", username) @property @pulumi.getter @@ -7519,15 +9299,40 @@ def __init__(__self__, *, :param str tca_party_id: TCA party ID. :param str tca_party_number: TCA party number. """ - pulumi.set(__self__, "customer_chain_type", customer_chain_type) - pulumi.set(__self__, "is_chain_customer", is_chain_customer) - pulumi.set(__self__, "is_public_sector", is_public_sector) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "name_phonetic", name_phonetic) - pulumi.set(__self__, "tca_cust_account_number", tca_cust_account_number) - pulumi.set(__self__, "tca_customer_account_id", tca_customer_account_id) - pulumi.set(__self__, "tca_party_id", tca_party_id) - pulumi.set(__self__, "tca_party_number", tca_party_number) + GetSubscribedServicesSubscribedServiceEndUserCustomerResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + customer_chain_type=customer_chain_type, + is_chain_customer=is_chain_customer, + is_public_sector=is_public_sector, + name=name, + name_phonetic=name_phonetic, + tca_cust_account_number=tca_cust_account_number, + tca_customer_account_id=tca_customer_account_id, + tca_party_id=tca_party_id, + tca_party_number=tca_party_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + customer_chain_type: str, + is_chain_customer: bool, + is_public_sector: bool, + name: str, + name_phonetic: str, + tca_cust_account_number: str, + tca_customer_account_id: str, + tca_party_id: str, + tca_party_number: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("customer_chain_type", customer_chain_type) + _setter("is_chain_customer", is_chain_customer) + _setter("is_public_sector", is_public_sector) + _setter("name", name) + _setter("name_phonetic", name_phonetic) + _setter("tca_cust_account_number", tca_cust_account_number) + _setter("tca_customer_account_id", tca_customer_account_id) + _setter("tca_party_id", tca_party_id) + _setter("tca_party_number", tca_party_number) @property @pulumi.getter(name="customerChainType") @@ -7623,14 +9428,37 @@ def __init__(__self__, *, :param str updated_by: User that updated the subscribed service :param str value: Payment Term value """ - pulumi.set(__self__, "created_by", created_by) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "is_active", is_active) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "updated_by", updated_by) - pulumi.set(__self__, "value", value) + GetSubscribedServicesSubscribedServicePaymentTermResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + created_by=created_by, + description=description, + is_active=is_active, + name=name, + time_created=time_created, + time_updated=time_updated, + updated_by=updated_by, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + created_by: str, + description: str, + is_active: bool, + name: str, + time_created: str, + time_updated: str, + updated_by: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("created_by", created_by) + _setter("description", description) + _setter("is_active", is_active) + _setter("name", name) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("updated_by", updated_by) + _setter("value", value) @property @pulumi.getter(name="createdBy") @@ -7714,12 +9542,31 @@ def __init__(__self__, *, :param str ucm_rate_card_part_type: Rate card part type of Product :param str unit_of_measure: Unit of measure """ - pulumi.set(__self__, "billing_category", billing_category) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "part_number", part_number) - pulumi.set(__self__, "product_category", product_category) - pulumi.set(__self__, "ucm_rate_card_part_type", ucm_rate_card_part_type) - pulumi.set(__self__, "unit_of_measure", unit_of_measure) + GetSubscribedServicesSubscribedServiceProductResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + billing_category=billing_category, + name=name, + part_number=part_number, + product_category=product_category, + ucm_rate_card_part_type=ucm_rate_card_part_type, + unit_of_measure=unit_of_measure, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + billing_category: str, + name: str, + part_number: str, + product_category: str, + ucm_rate_card_part_type: str, + unit_of_measure: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("billing_category", billing_category) + _setter("name", name) + _setter("part_number", part_number) + _setter("product_category", product_category) + _setter("ucm_rate_card_part_type", ucm_rate_card_part_type) + _setter("unit_of_measure", unit_of_measure) @property @pulumi.getter(name="billingCategory") @@ -7795,16 +9642,43 @@ def __init__(__self__, *, :param str time_end: Subscribed service end date :param str time_start: Subscribed service start date """ - pulumi.set(__self__, "currencies", currencies) - pulumi.set(__self__, "discretionary_discount_percentage", discretionary_discount_percentage) - pulumi.set(__self__, "is_tier", is_tier) - pulumi.set(__self__, "net_unit_price", net_unit_price) - pulumi.set(__self__, "overage_price", overage_price) - pulumi.set(__self__, "products", products) - pulumi.set(__self__, "rate_card_tiers", rate_card_tiers) - pulumi.set(__self__, "subscribed_service_id", subscribed_service_id) - pulumi.set(__self__, "time_end", time_end) - pulumi.set(__self__, "time_start", time_start) + GetSubscribedServicesSubscribedServiceRateCardResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + currencies=currencies, + discretionary_discount_percentage=discretionary_discount_percentage, + is_tier=is_tier, + net_unit_price=net_unit_price, + overage_price=overage_price, + products=products, + rate_card_tiers=rate_card_tiers, + subscribed_service_id=subscribed_service_id, + time_end=time_end, + time_start=time_start, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + currencies: Sequence['outputs.GetSubscribedServicesSubscribedServiceRateCardCurrencyResult'], + discretionary_discount_percentage: str, + is_tier: bool, + net_unit_price: str, + overage_price: str, + products: Sequence['outputs.GetSubscribedServicesSubscribedServiceRateCardProductResult'], + rate_card_tiers: Sequence['outputs.GetSubscribedServicesSubscribedServiceRateCardRateCardTierResult'], + subscribed_service_id: str, + time_end: str, + time_start: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("currencies", currencies) + _setter("discretionary_discount_percentage", discretionary_discount_percentage) + _setter("is_tier", is_tier) + _setter("net_unit_price", net_unit_price) + _setter("overage_price", overage_price) + _setter("products", products) + _setter("rate_card_tiers", rate_card_tiers) + _setter("subscribed_service_id", subscribed_service_id) + _setter("time_end", time_end) + _setter("time_start", time_start) @property @pulumi.getter @@ -7898,9 +9772,22 @@ def __init__(__self__, *, :param str name: Commercial name also called customer name. :param str std_precision: Standard Precision of the Currency """ - pulumi.set(__self__, "iso_code", iso_code) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "std_precision", std_precision) + GetSubscribedServicesSubscribedServiceRateCardCurrencyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + iso_code=iso_code, + name=name, + std_precision=std_precision, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + iso_code: str, + name: str, + std_precision: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("iso_code", iso_code) + _setter("name", name) + _setter("std_precision", std_precision) @property @pulumi.getter(name="isoCode") @@ -7944,12 +9831,31 @@ def __init__(__self__, *, :param str ucm_rate_card_part_type: Rate card part type of Product :param str unit_of_measure: Unit of measure """ - pulumi.set(__self__, "billing_category", billing_category) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "part_number", part_number) - pulumi.set(__self__, "product_category", product_category) - pulumi.set(__self__, "ucm_rate_card_part_type", ucm_rate_card_part_type) - pulumi.set(__self__, "unit_of_measure", unit_of_measure) + GetSubscribedServicesSubscribedServiceRateCardProductResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + billing_category=billing_category, + name=name, + part_number=part_number, + product_category=product_category, + ucm_rate_card_part_type=ucm_rate_card_part_type, + unit_of_measure=unit_of_measure, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + billing_category: str, + name: str, + part_number: str, + product_category: str, + ucm_rate_card_part_type: str, + unit_of_measure: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("billing_category", billing_category) + _setter("name", name) + _setter("part_number", part_number) + _setter("product_category", product_category) + _setter("ucm_rate_card_part_type", ucm_rate_card_part_type) + _setter("unit_of_measure", unit_of_measure) @property @pulumi.getter(name="billingCategory") @@ -8011,9 +9917,22 @@ def __init__(__self__, *, :param str overage_price: Rate card tier overage price :param str up_to_quantity: Rate card tier quantity range """ - pulumi.set(__self__, "net_unit_price", net_unit_price) - pulumi.set(__self__, "overage_price", overage_price) - pulumi.set(__self__, "up_to_quantity", up_to_quantity) + GetSubscribedServicesSubscribedServiceRateCardRateCardTierResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + net_unit_price=net_unit_price, + overage_price=overage_price, + up_to_quantity=up_to_quantity, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + net_unit_price: str, + overage_price: str, + up_to_quantity: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("net_unit_price", net_unit_price) + _setter("overage_price", overage_price) + _setter("up_to_quantity", up_to_quantity) @property @pulumi.getter(name="netUnitPrice") @@ -8063,15 +9982,40 @@ def __init__(__self__, *, :param str tca_cust_acct_site_id: TCA customer account site Id. :param str tca_party_site_number: Party site number. """ - pulumi.set(__self__, "bill_site_use_id", bill_site_use_id) - pulumi.set(__self__, "is_bill_to", is_bill_to) - pulumi.set(__self__, "is_ship_to", is_ship_to) - pulumi.set(__self__, "locations", locations) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "phone", phone) - pulumi.set(__self__, "service2site_use_id", service2site_use_id) - pulumi.set(__self__, "tca_cust_acct_site_id", tca_cust_acct_site_id) - pulumi.set(__self__, "tca_party_site_number", tca_party_site_number) + GetSubscribedServicesSubscribedServiceResellerAddressResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bill_site_use_id=bill_site_use_id, + is_bill_to=is_bill_to, + is_ship_to=is_ship_to, + locations=locations, + name=name, + phone=phone, + service2site_use_id=service2site_use_id, + tca_cust_acct_site_id=tca_cust_acct_site_id, + tca_party_site_number=tca_party_site_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bill_site_use_id: str, + is_bill_to: bool, + is_ship_to: bool, + locations: Sequence['outputs.GetSubscribedServicesSubscribedServiceResellerAddressLocationResult'], + name: str, + phone: str, + service2site_use_id: str, + tca_cust_acct_site_id: str, + tca_party_site_number: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bill_site_use_id", bill_site_use_id) + _setter("is_bill_to", is_bill_to) + _setter("is_ship_to", is_ship_to) + _setter("locations", locations) + _setter("name", name) + _setter("phone", phone) + _setter("service2site_use_id", service2site_use_id) + _setter("tca_cust_acct_site_id", tca_cust_acct_site_id) + _setter("tca_party_site_number", tca_party_site_number) @property @pulumi.getter(name="billSiteUseId") @@ -8165,13 +10109,34 @@ def __init__(__self__, *, :param str region: Region. :param str tca_location_id: Region. """ - pulumi.set(__self__, "address1", address1) - pulumi.set(__self__, "address2", address2) - pulumi.set(__self__, "city", city) - pulumi.set(__self__, "country", country) - pulumi.set(__self__, "postal_code", postal_code) - pulumi.set(__self__, "region", region) - pulumi.set(__self__, "tca_location_id", tca_location_id) + GetSubscribedServicesSubscribedServiceResellerAddressLocationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + address1=address1, + address2=address2, + city=city, + country=country, + postal_code=postal_code, + region=region, + tca_location_id=tca_location_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address1: str, + address2: str, + city: str, + country: str, + postal_code: str, + region: str, + tca_location_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("address1", address1) + _setter("address2", address2) + _setter("city", city) + _setter("country", country) + _setter("postal_code", postal_code) + _setter("region", region) + _setter("tca_location_id", tca_location_id) @property @pulumi.getter @@ -8251,14 +10216,37 @@ def __init__(__self__, *, :param str tca_party_id: TCA party ID. :param str username: Username. """ - pulumi.set(__self__, "email", email) - pulumi.set(__self__, "first_name", first_name) - pulumi.set(__self__, "last_name", last_name) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "tca_contact_id", tca_contact_id) - pulumi.set(__self__, "tca_cust_accnt_site_id", tca_cust_accnt_site_id) - pulumi.set(__self__, "tca_party_id", tca_party_id) - pulumi.set(__self__, "username", username) + GetSubscribedServicesSubscribedServiceResellerContactResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + email=email, + first_name=first_name, + last_name=last_name, + name=name, + tca_contact_id=tca_contact_id, + tca_cust_accnt_site_id=tca_cust_accnt_site_id, + tca_party_id=tca_party_id, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + email: str, + first_name: str, + last_name: str, + name: str, + tca_contact_id: str, + tca_cust_accnt_site_id: str, + tca_party_id: str, + username: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("email", email) + _setter("first_name", first_name) + _setter("last_name", last_name) + _setter("name", name) + _setter("tca_contact_id", tca_contact_id) + _setter("tca_cust_accnt_site_id", tca_cust_accnt_site_id) + _setter("tca_party_id", tca_party_id) + _setter("username", username) @property @pulumi.getter @@ -8348,15 +10336,40 @@ def __init__(__self__, *, :param str tca_party_id: TCA party ID. :param str tca_party_number: TCA party number. """ - pulumi.set(__self__, "customer_chain_type", customer_chain_type) - pulumi.set(__self__, "is_chain_customer", is_chain_customer) - pulumi.set(__self__, "is_public_sector", is_public_sector) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "name_phonetic", name_phonetic) - pulumi.set(__self__, "tca_cust_account_number", tca_cust_account_number) - pulumi.set(__self__, "tca_customer_account_id", tca_customer_account_id) - pulumi.set(__self__, "tca_party_id", tca_party_id) - pulumi.set(__self__, "tca_party_number", tca_party_number) + GetSubscribedServicesSubscribedServiceResellerCustomerResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + customer_chain_type=customer_chain_type, + is_chain_customer=is_chain_customer, + is_public_sector=is_public_sector, + name=name, + name_phonetic=name_phonetic, + tca_cust_account_number=tca_cust_account_number, + tca_customer_account_id=tca_customer_account_id, + tca_party_id=tca_party_id, + tca_party_number=tca_party_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + customer_chain_type: str, + is_chain_customer: bool, + is_public_sector: bool, + name: str, + name_phonetic: str, + tca_cust_account_number: str, + tca_customer_account_id: str, + tca_party_id: str, + tca_party_number: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("customer_chain_type", customer_chain_type) + _setter("is_chain_customer", is_chain_customer) + _setter("is_public_sector", is_public_sector) + _setter("name", name) + _setter("name_phonetic", name_phonetic) + _setter("tca_cust_account_number", tca_cust_account_number) + _setter("tca_customer_account_id", tca_customer_account_id) + _setter("tca_party_id", tca_party_id) + _setter("tca_party_number", tca_party_number) @property @pulumi.getter(name="customerChainType") @@ -8454,15 +10467,40 @@ def __init__(__self__, *, :param str tca_cust_acct_site_id: TCA customer account site Id. :param str tca_party_site_number: Party site number. """ - pulumi.set(__self__, "bill_site_use_id", bill_site_use_id) - pulumi.set(__self__, "is_bill_to", is_bill_to) - pulumi.set(__self__, "is_ship_to", is_ship_to) - pulumi.set(__self__, "locations", locations) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "phone", phone) - pulumi.set(__self__, "service2site_use_id", service2site_use_id) - pulumi.set(__self__, "tca_cust_acct_site_id", tca_cust_acct_site_id) - pulumi.set(__self__, "tca_party_site_number", tca_party_site_number) + GetSubscribedServicesSubscribedServiceServiceToAddressResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bill_site_use_id=bill_site_use_id, + is_bill_to=is_bill_to, + is_ship_to=is_ship_to, + locations=locations, + name=name, + phone=phone, + service2site_use_id=service2site_use_id, + tca_cust_acct_site_id=tca_cust_acct_site_id, + tca_party_site_number=tca_party_site_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bill_site_use_id: str, + is_bill_to: bool, + is_ship_to: bool, + locations: Sequence['outputs.GetSubscribedServicesSubscribedServiceServiceToAddressLocationResult'], + name: str, + phone: str, + service2site_use_id: str, + tca_cust_acct_site_id: str, + tca_party_site_number: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bill_site_use_id", bill_site_use_id) + _setter("is_bill_to", is_bill_to) + _setter("is_ship_to", is_ship_to) + _setter("locations", locations) + _setter("name", name) + _setter("phone", phone) + _setter("service2site_use_id", service2site_use_id) + _setter("tca_cust_acct_site_id", tca_cust_acct_site_id) + _setter("tca_party_site_number", tca_party_site_number) @property @pulumi.getter(name="billSiteUseId") @@ -8556,13 +10594,34 @@ def __init__(__self__, *, :param str region: Region. :param str tca_location_id: Region. """ - pulumi.set(__self__, "address1", address1) - pulumi.set(__self__, "address2", address2) - pulumi.set(__self__, "city", city) - pulumi.set(__self__, "country", country) - pulumi.set(__self__, "postal_code", postal_code) - pulumi.set(__self__, "region", region) - pulumi.set(__self__, "tca_location_id", tca_location_id) + GetSubscribedServicesSubscribedServiceServiceToAddressLocationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + address1=address1, + address2=address2, + city=city, + country=country, + postal_code=postal_code, + region=region, + tca_location_id=tca_location_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address1: str, + address2: str, + city: str, + country: str, + postal_code: str, + region: str, + tca_location_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("address1", address1) + _setter("address2", address2) + _setter("city", city) + _setter("country", country) + _setter("postal_code", postal_code) + _setter("region", region) + _setter("tca_location_id", tca_location_id) @property @pulumi.getter @@ -8642,14 +10701,37 @@ def __init__(__self__, *, :param str tca_party_id: TCA party ID. :param str username: Username. """ - pulumi.set(__self__, "email", email) - pulumi.set(__self__, "first_name", first_name) - pulumi.set(__self__, "last_name", last_name) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "tca_contact_id", tca_contact_id) - pulumi.set(__self__, "tca_cust_accnt_site_id", tca_cust_accnt_site_id) - pulumi.set(__self__, "tca_party_id", tca_party_id) - pulumi.set(__self__, "username", username) + GetSubscribedServicesSubscribedServiceServiceToContactResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + email=email, + first_name=first_name, + last_name=last_name, + name=name, + tca_contact_id=tca_contact_id, + tca_cust_accnt_site_id=tca_cust_accnt_site_id, + tca_party_id=tca_party_id, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + email: str, + first_name: str, + last_name: str, + name: str, + tca_contact_id: str, + tca_cust_accnt_site_id: str, + tca_party_id: str, + username: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("email", email) + _setter("first_name", first_name) + _setter("last_name", last_name) + _setter("name", name) + _setter("tca_contact_id", tca_contact_id) + _setter("tca_cust_accnt_site_id", tca_cust_accnt_site_id) + _setter("tca_party_id", tca_party_id) + _setter("username", username) @property @pulumi.getter @@ -8739,15 +10821,40 @@ def __init__(__self__, *, :param str tca_party_id: TCA party ID. :param str tca_party_number: TCA party number. """ - pulumi.set(__self__, "customer_chain_type", customer_chain_type) - pulumi.set(__self__, "is_chain_customer", is_chain_customer) - pulumi.set(__self__, "is_public_sector", is_public_sector) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "name_phonetic", name_phonetic) - pulumi.set(__self__, "tca_cust_account_number", tca_cust_account_number) - pulumi.set(__self__, "tca_customer_account_id", tca_customer_account_id) - pulumi.set(__self__, "tca_party_id", tca_party_id) - pulumi.set(__self__, "tca_party_number", tca_party_number) + GetSubscribedServicesSubscribedServiceServiceToCustomerResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + customer_chain_type=customer_chain_type, + is_chain_customer=is_chain_customer, + is_public_sector=is_public_sector, + name=name, + name_phonetic=name_phonetic, + tca_cust_account_number=tca_cust_account_number, + tca_customer_account_id=tca_customer_account_id, + tca_party_id=tca_party_id, + tca_party_number=tca_party_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + customer_chain_type: str, + is_chain_customer: bool, + is_public_sector: bool, + name: str, + name_phonetic: str, + tca_cust_account_number: str, + tca_customer_account_id: str, + tca_party_id: str, + tca_party_number: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("customer_chain_type", customer_chain_type) + _setter("is_chain_customer", is_chain_customer) + _setter("is_public_sector", is_public_sector) + _setter("name", name) + _setter("name_phonetic", name_phonetic) + _setter("tca_cust_account_number", tca_cust_account_number) + _setter("tca_customer_account_id", tca_customer_account_id) + _setter("tca_party_id", tca_party_id) + _setter("tca_party_number", tca_party_number) @property @pulumi.getter(name="customerChainType") @@ -8843,14 +10950,37 @@ def __init__(__self__, *, :param str tca_party_id: TCA party ID. :param str username: Username. """ - pulumi.set(__self__, "email", email) - pulumi.set(__self__, "first_name", first_name) - pulumi.set(__self__, "last_name", last_name) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "tca_contact_id", tca_contact_id) - pulumi.set(__self__, "tca_cust_accnt_site_id", tca_cust_accnt_site_id) - pulumi.set(__self__, "tca_party_id", tca_party_id) - pulumi.set(__self__, "username", username) + GetSubscribedServicesSubscribedServiceSoldToContactResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + email=email, + first_name=first_name, + last_name=last_name, + name=name, + tca_contact_id=tca_contact_id, + tca_cust_accnt_site_id=tca_cust_accnt_site_id, + tca_party_id=tca_party_id, + username=username, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + email: str, + first_name: str, + last_name: str, + name: str, + tca_contact_id: str, + tca_cust_accnt_site_id: str, + tca_party_id: str, + username: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("email", email) + _setter("first_name", first_name) + _setter("last_name", last_name) + _setter("name", name) + _setter("tca_contact_id", tca_contact_id) + _setter("tca_cust_accnt_site_id", tca_cust_accnt_site_id) + _setter("tca_party_id", tca_party_id) + _setter("username", username) @property @pulumi.getter @@ -8940,15 +11070,40 @@ def __init__(__self__, *, :param str tca_party_id: TCA party ID. :param str tca_party_number: TCA party number. """ - pulumi.set(__self__, "customer_chain_type", customer_chain_type) - pulumi.set(__self__, "is_chain_customer", is_chain_customer) - pulumi.set(__self__, "is_public_sector", is_public_sector) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "name_phonetic", name_phonetic) - pulumi.set(__self__, "tca_cust_account_number", tca_cust_account_number) - pulumi.set(__self__, "tca_customer_account_id", tca_customer_account_id) - pulumi.set(__self__, "tca_party_id", tca_party_id) - pulumi.set(__self__, "tca_party_number", tca_party_number) + GetSubscribedServicesSubscribedServiceSoldToCustomerResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + customer_chain_type=customer_chain_type, + is_chain_customer=is_chain_customer, + is_public_sector=is_public_sector, + name=name, + name_phonetic=name_phonetic, + tca_cust_account_number=tca_cust_account_number, + tca_customer_account_id=tca_customer_account_id, + tca_party_id=tca_party_id, + tca_party_number=tca_party_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + customer_chain_type: str, + is_chain_customer: bool, + is_public_sector: bool, + name: str, + name_phonetic: str, + tca_cust_account_number: str, + tca_customer_account_id: str, + tca_party_id: str, + tca_party_number: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("customer_chain_type", customer_chain_type) + _setter("is_chain_customer", is_chain_customer) + _setter("is_public_sector", is_public_sector) + _setter("name", name) + _setter("name_phonetic", name_phonetic) + _setter("tca_cust_account_number", tca_cust_account_number) + _setter("tca_customer_account_id", tca_customer_account_id) + _setter("tca_party_id", tca_party_id) + _setter("tca_party_number", tca_party_number) @property @pulumi.getter(name="customerChainType") @@ -9032,10 +11187,23 @@ def __init__(__self__, *, """ :param str name: Product name """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSubscriptionsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -9077,14 +11245,37 @@ def __init__(__self__, *, :param str time_hold_release_eta: Represents the date of the hold release :param str time_start: Represents the date when the first service of the subscription was activated """ - pulumi.set(__self__, "currencies", currencies) - pulumi.set(__self__, "hold_reason", hold_reason) - pulumi.set(__self__, "service_name", service_name) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "subscribed_services", subscribed_services) - pulumi.set(__self__, "time_end", time_end) - pulumi.set(__self__, "time_hold_release_eta", time_hold_release_eta) - pulumi.set(__self__, "time_start", time_start) + GetSubscriptionsSubscriptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + currencies=currencies, + hold_reason=hold_reason, + service_name=service_name, + status=status, + subscribed_services=subscribed_services, + time_end=time_end, + time_hold_release_eta=time_hold_release_eta, + time_start=time_start, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + currencies: Sequence['outputs.GetSubscriptionsSubscriptionCurrencyResult'], + hold_reason: str, + service_name: str, + status: str, + subscribed_services: Sequence['outputs.GetSubscriptionsSubscriptionSubscribedServiceResult'], + time_end: str, + time_hold_release_eta: str, + time_start: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("currencies", currencies) + _setter("hold_reason", hold_reason) + _setter("service_name", service_name) + _setter("status", status) + _setter("subscribed_services", subscribed_services) + _setter("time_end", time_end) + _setter("time_hold_release_eta", time_hold_release_eta) + _setter("time_start", time_start) @property @pulumi.getter @@ -9162,9 +11353,22 @@ def __init__(__self__, *, :param str name: Product name :param str std_precision: Standard Precision of the Currency """ - pulumi.set(__self__, "iso_code", iso_code) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "std_precision", std_precision) + GetSubscriptionsSubscriptionCurrencyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + iso_code=iso_code, + name=name, + std_precision=std_precision, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + iso_code: str, + name: str, + std_precision: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("iso_code", iso_code) + _setter("name", name) + _setter("std_precision", std_precision) @property @pulumi.getter(name="isoCode") @@ -9246,31 +11450,88 @@ def __init__(__self__, *, :param str total_value: Subscribed service total value :param str used_amount: Subscribed service used amount """ - pulumi.set(__self__, "available_amount", available_amount) - pulumi.set(__self__, "booking_opty_number", booking_opty_number) - pulumi.set(__self__, "commitment_services", commitment_services) - pulumi.set(__self__, "csi", csi) - pulumi.set(__self__, "data_center_region", data_center_region) - pulumi.set(__self__, "funded_allocation_value", funded_allocation_value) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_intent_to_pay", is_intent_to_pay) - pulumi.set(__self__, "net_unit_price", net_unit_price) - pulumi.set(__self__, "operation_type", operation_type) - pulumi.set(__self__, "order_number", order_number) - pulumi.set(__self__, "original_promo_amount", original_promo_amount) - pulumi.set(__self__, "partner_transaction_type", partner_transaction_type) - pulumi.set(__self__, "pricing_model", pricing_model) - pulumi.set(__self__, "products", products) - pulumi.set(__self__, "program_type", program_type) - pulumi.set(__self__, "promo_type", promo_type) - pulumi.set(__self__, "quantity", quantity) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "term_value", term_value) - pulumi.set(__self__, "term_value_uom", term_value_uom) - pulumi.set(__self__, "time_end", time_end) - pulumi.set(__self__, "time_start", time_start) - pulumi.set(__self__, "total_value", total_value) - pulumi.set(__self__, "used_amount", used_amount) + GetSubscriptionsSubscriptionSubscribedServiceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + available_amount=available_amount, + booking_opty_number=booking_opty_number, + commitment_services=commitment_services, + csi=csi, + data_center_region=data_center_region, + funded_allocation_value=funded_allocation_value, + id=id, + is_intent_to_pay=is_intent_to_pay, + net_unit_price=net_unit_price, + operation_type=operation_type, + order_number=order_number, + original_promo_amount=original_promo_amount, + partner_transaction_type=partner_transaction_type, + pricing_model=pricing_model, + products=products, + program_type=program_type, + promo_type=promo_type, + quantity=quantity, + status=status, + term_value=term_value, + term_value_uom=term_value_uom, + time_end=time_end, + time_start=time_start, + total_value=total_value, + used_amount=used_amount, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + available_amount: str, + booking_opty_number: str, + commitment_services: Sequence['outputs.GetSubscriptionsSubscriptionSubscribedServiceCommitmentServiceResult'], + csi: str, + data_center_region: str, + funded_allocation_value: str, + id: str, + is_intent_to_pay: bool, + net_unit_price: str, + operation_type: str, + order_number: str, + original_promo_amount: str, + partner_transaction_type: str, + pricing_model: str, + products: Sequence['outputs.GetSubscriptionsSubscriptionSubscribedServiceProductResult'], + program_type: str, + promo_type: str, + quantity: str, + status: str, + term_value: str, + term_value_uom: str, + time_end: str, + time_start: str, + total_value: str, + used_amount: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("available_amount", available_amount) + _setter("booking_opty_number", booking_opty_number) + _setter("commitment_services", commitment_services) + _setter("csi", csi) + _setter("data_center_region", data_center_region) + _setter("funded_allocation_value", funded_allocation_value) + _setter("id", id) + _setter("is_intent_to_pay", is_intent_to_pay) + _setter("net_unit_price", net_unit_price) + _setter("operation_type", operation_type) + _setter("order_number", order_number) + _setter("original_promo_amount", original_promo_amount) + _setter("partner_transaction_type", partner_transaction_type) + _setter("pricing_model", pricing_model) + _setter("products", products) + _setter("program_type", program_type) + _setter("promo_type", promo_type) + _setter("quantity", quantity) + _setter("status", status) + _setter("term_value", term_value) + _setter("term_value_uom", term_value_uom) + _setter("time_end", time_end) + _setter("time_start", time_start) + _setter("total_value", total_value) + _setter("used_amount", used_amount) @property @pulumi.getter(name="availableAmount") @@ -9490,12 +11751,31 @@ def __init__(__self__, *, :param str time_end: Represents the date when the last service of the subscription ends :param str time_start: Represents the date when the first service of the subscription was activated """ - pulumi.set(__self__, "available_amount", available_amount) - pulumi.set(__self__, "funded_allocation_value", funded_allocation_value) - pulumi.set(__self__, "line_net_amount", line_net_amount) - pulumi.set(__self__, "quantity", quantity) - pulumi.set(__self__, "time_end", time_end) - pulumi.set(__self__, "time_start", time_start) + GetSubscriptionsSubscriptionSubscribedServiceCommitmentServiceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + available_amount=available_amount, + funded_allocation_value=funded_allocation_value, + line_net_amount=line_net_amount, + quantity=quantity, + time_end=time_end, + time_start=time_start, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + available_amount: str, + funded_allocation_value: str, + line_net_amount: str, + quantity: str, + time_end: str, + time_start: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("available_amount", available_amount) + _setter("funded_allocation_value", funded_allocation_value) + _setter("line_net_amount", line_net_amount) + _setter("quantity", quantity) + _setter("time_end", time_end) + _setter("time_start", time_start) @property @pulumi.getter(name="availableAmount") @@ -9559,10 +11839,25 @@ def __init__(__self__, *, :param str provisioning_group: Product provisioning group :param str unit_of_measure: Unit of measure """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "part_number", part_number) - pulumi.set(__self__, "provisioning_group", provisioning_group) - pulumi.set(__self__, "unit_of_measure", unit_of_measure) + GetSubscriptionsSubscriptionSubscribedServiceProductResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + part_number=part_number, + provisioning_group=provisioning_group, + unit_of_measure=unit_of_measure, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + part_number: str, + provisioning_group: str, + unit_of_measure: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("part_number", part_number) + _setter("provisioning_group", provisioning_group) + _setter("unit_of_measure", unit_of_measure) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/ons/_inputs.py b/sdk/python/pulumi_oci/ons/_inputs.py index 32408bea19..b10bd0c994 100644 --- a/sdk/python/pulumi_oci/ons/_inputs.py +++ b/sdk/python/pulumi_oci/ons/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -23,10 +23,23 @@ def __init__(__self__, *, """ :param str name: A filter to only return resources that match the given name exactly. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetNotificationTopicsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -65,10 +78,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSubscriptionsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/ons/get_notification_topic.py b/sdk/python/pulumi_oci/ons/get_notification_topic.py index 0635e9a5ca..5db109e16f 100644 --- a/sdk/python/pulumi_oci/ons/get_notification_topic.py +++ b/sdk/python/pulumi_oci/ons/get_notification_topic.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/ons/get_notification_topics.py b/sdk/python/pulumi_oci/ons/get_notification_topics.py index e7f630af55..e42ee6ac72 100644 --- a/sdk/python/pulumi_oci/ons/get_notification_topics.py +++ b/sdk/python/pulumi_oci/ons/get_notification_topics.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/ons/get_subscription.py b/sdk/python/pulumi_oci/ons/get_subscription.py index 0dafb821f2..f8a9d07768 100644 --- a/sdk/python/pulumi_oci/ons/get_subscription.py +++ b/sdk/python/pulumi_oci/ons/get_subscription.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/ons/get_subscriptions.py b/sdk/python/pulumi_oci/ons/get_subscriptions.py index 79eadf0fe5..cc788f7d29 100644 --- a/sdk/python/pulumi_oci/ons/get_subscriptions.py +++ b/sdk/python/pulumi_oci/ons/get_subscriptions.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/ons/notification_topic.py b/sdk/python/pulumi_oci/ons/notification_topic.py index 9271f893d6..4386b35564 100644 --- a/sdk/python/pulumi_oci/ons/notification_topic.py +++ b/sdk/python/pulumi_oci/ons/notification_topic.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['NotificationTopicArgs', 'NotificationTopic'] @@ -31,15 +31,32 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) + NotificationTopicArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter(name="compartmentId") @@ -138,28 +155,57 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The time the topic was created. :param pulumi.Input[str] topic_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the topic. """ + _NotificationTopicState._configure( + lambda key, value: pulumi.set(__self__, key, value), + api_endpoint=api_endpoint, + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + etag=etag, + freeform_tags=freeform_tags, + name=name, + short_topic_id=short_topic_id, + state=state, + time_created=time_created, + topic_id=topic_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + api_endpoint: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + etag: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + name: Optional[pulumi.Input[str]] = None, + short_topic_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + topic_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if api_endpoint is not None: - pulumi.set(__self__, "api_endpoint", api_endpoint) + _setter("api_endpoint", api_endpoint) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if etag is not None: - pulumi.set(__self__, "etag", etag) + _setter("etag", etag) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if short_topic_id is not None: - pulumi.set(__self__, "short_topic_id", short_topic_id) + _setter("short_topic_id", short_topic_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if topic_id is not None: - pulumi.set(__self__, "topic_id", topic_id) + _setter("topic_id", topic_id) @property @pulumi.getter(name="apiEndpoint") @@ -423,6 +469,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + NotificationTopicArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/ons/outputs.py b/sdk/python/pulumi_oci/ons/outputs.py index 3f37d24450..de88fb2356 100644 --- a/sdk/python/pulumi_oci/ons/outputs.py +++ b/sdk/python/pulumi_oci/ons/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -28,10 +28,23 @@ def __init__(__self__, *, """ :param str name: A filter to only return resources that match the given name exactly. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetNotificationTopicsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -81,18 +94,49 @@ def __init__(__self__, *, :param str time_created: The time the topic was created. :param str topic_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the topic. """ - pulumi.set(__self__, "api_endpoint", api_endpoint) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "etag", etag) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "short_topic_id", short_topic_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "topic_id", topic_id) + GetNotificationTopicsNotificationTopicResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + api_endpoint=api_endpoint, + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + etag=etag, + freeform_tags=freeform_tags, + id=id, + name=name, + short_topic_id=short_topic_id, + state=state, + time_created=time_created, + topic_id=topic_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + api_endpoint: str, + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + etag: str, + freeform_tags: Mapping[str, Any], + id: str, + name: str, + short_topic_id: str, + state: str, + time_created: str, + topic_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("api_endpoint", api_endpoint) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("etag", etag) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("name", name) + _setter("short_topic_id", short_topic_id) + _setter("state", state) + _setter("time_created", time_created) + _setter("topic_id", topic_id) @property @pulumi.getter(name="apiEndpoint") @@ -197,10 +241,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSubscriptionsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -244,17 +301,46 @@ def __init__(__self__, *, :param str state: The lifecycle state of the subscription. The status of a new subscription is PENDING; when confirmed, the subscription status changes to ACTIVE. :param str topic_id: Return all subscriptions that are subscribed to the given topic OCID. Either this query parameter or the compartmentId query parameter must be set. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "created_time", created_time) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "delivery_policies", delivery_policies) - pulumi.set(__self__, "endpoint", endpoint) - pulumi.set(__self__, "etag", etag) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "topic_id", topic_id) + GetSubscriptionsSubscriptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + created_time=created_time, + defined_tags=defined_tags, + delivery_policies=delivery_policies, + endpoint=endpoint, + etag=etag, + freeform_tags=freeform_tags, + id=id, + protocol=protocol, + state=state, + topic_id=topic_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + created_time: str, + defined_tags: Mapping[str, Any], + delivery_policies: Sequence['outputs.GetSubscriptionsSubscriptionDeliveryPolicyResult'], + endpoint: str, + etag: str, + freeform_tags: Mapping[str, Any], + id: str, + protocol: str, + state: str, + topic_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("created_time", created_time) + _setter("defined_tags", defined_tags) + _setter("delivery_policies", delivery_policies) + _setter("endpoint", endpoint) + _setter("etag", etag) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("protocol", protocol) + _setter("state", state) + _setter("topic_id", topic_id) @property @pulumi.getter(name="compartmentId") @@ -346,7 +432,16 @@ def topic_id(self) -> str: class GetSubscriptionsSubscriptionDeliveryPolicyResult(dict): def __init__(__self__, *, backoff_retry_policies: Sequence['outputs.GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyResult']): - pulumi.set(__self__, "backoff_retry_policies", backoff_retry_policies) + GetSubscriptionsSubscriptionDeliveryPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + backoff_retry_policies=backoff_retry_policies, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backoff_retry_policies: Sequence['outputs.GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("backoff_retry_policies", backoff_retry_policies) @property @pulumi.getter(name="backoffRetryPolicies") @@ -363,8 +458,19 @@ def __init__(__self__, *, :param int max_retry_duration: The maximum retry duration in milliseconds. :param str policy_type: The type of delivery policy. Default value: EXPONENTIAL. """ - pulumi.set(__self__, "max_retry_duration", max_retry_duration) - pulumi.set(__self__, "policy_type", policy_type) + GetSubscriptionsSubscriptionDeliveryPolicyBackoffRetryPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + max_retry_duration=max_retry_duration, + policy_type=policy_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + max_retry_duration: int, + policy_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("max_retry_duration", max_retry_duration) + _setter("policy_type", policy_type) @property @pulumi.getter(name="maxRetryDuration") diff --git a/sdk/python/pulumi_oci/ons/subscription.py b/sdk/python/pulumi_oci/ons/subscription.py index 1d760809f4..6646f02599 100644 --- a/sdk/python/pulumi_oci/ons/subscription.py +++ b/sdk/python/pulumi_oci/ons/subscription.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['SubscriptionArgs', 'Subscription'] @@ -39,16 +39,37 @@ def __init__(__self__, *, :param pulumi.Input[str] delivery_policy: The delivery policy of the subscription. Stored as a JSON string. :param pulumi.Input[Mapping[str, Any]] freeform_tags: (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "endpoint", endpoint) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "topic_id", topic_id) + SubscriptionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + endpoint=endpoint, + protocol=protocol, + topic_id=topic_id, + defined_tags=defined_tags, + delivery_policy=delivery_policy, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + endpoint: pulumi.Input[str], + protocol: pulumi.Input[str], + topic_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + delivery_policy: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("endpoint", endpoint) + _setter("protocol", protocol) + _setter("topic_id", topic_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if delivery_policy is not None: - pulumi.set(__self__, "delivery_policy", delivery_policy) + _setter("delivery_policy", delivery_policy) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="compartmentId") @@ -177,26 +198,53 @@ def __init__(__self__, *, ** 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 """ + _SubscriptionState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + created_time=created_time, + defined_tags=defined_tags, + delivery_policy=delivery_policy, + endpoint=endpoint, + etag=etag, + freeform_tags=freeform_tags, + protocol=protocol, + state=state, + topic_id=topic_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + created_time: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + delivery_policy: Optional[pulumi.Input[str]] = None, + endpoint: Optional[pulumi.Input[str]] = None, + etag: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + protocol: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + topic_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if created_time is not None: - pulumi.set(__self__, "created_time", created_time) + _setter("created_time", created_time) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if delivery_policy is not None: - pulumi.set(__self__, "delivery_policy", delivery_policy) + _setter("delivery_policy", delivery_policy) if endpoint is not None: - pulumi.set(__self__, "endpoint", endpoint) + _setter("endpoint", endpoint) if etag is not None: - pulumi.set(__self__, "etag", etag) + _setter("etag", etag) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if protocol is not None: - pulumi.set(__self__, "protocol", protocol) + _setter("protocol", protocol) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if topic_id is not None: - pulumi.set(__self__, "topic_id", topic_id) + _setter("topic_id", topic_id) @property @pulumi.getter(name="compartmentId") @@ -446,6 +494,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + SubscriptionArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/opa/_inputs.py b/sdk/python/pulumi_oci/opa/_inputs.py index 32539c2f16..fc1b169229 100644 --- a/sdk/python/pulumi_oci/opa/_inputs.py +++ b/sdk/python/pulumi_oci/opa/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -30,16 +30,33 @@ def __init__(__self__, *, :param pulumi.Input[str] target_role: The role of the target attachment. :param pulumi.Input[str] target_service_type: The type of the target instance, such as "FUSION". """ + OpaInstanceAttachmentArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_implicit=is_implicit, + target_id=target_id, + target_instance_url=target_instance_url, + target_role=target_role, + target_service_type=target_service_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_implicit: Optional[pulumi.Input[bool]] = None, + target_id: Optional[pulumi.Input[str]] = None, + target_instance_url: Optional[pulumi.Input[str]] = None, + target_role: Optional[pulumi.Input[str]] = None, + target_service_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_implicit is not None: - pulumi.set(__self__, "is_implicit", is_implicit) + _setter("is_implicit", is_implicit) if target_id is not None: - pulumi.set(__self__, "target_id", target_id) + _setter("target_id", target_id) if target_instance_url is not None: - pulumi.set(__self__, "target_instance_url", target_instance_url) + _setter("target_instance_url", target_instance_url) if target_role is not None: - pulumi.set(__self__, "target_role", target_role) + _setter("target_role", target_role) if target_service_type is not None: - pulumi.set(__self__, "target_service_type", target_service_type) + _setter("target_service_type", target_service_type) @property @pulumi.getter(name="isImplicit") @@ -109,10 +126,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetOpaInstancesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/opa/get_opa_instance.py b/sdk/python/pulumi_oci/opa/get_opa_instance.py index 126341ef80..6fb7014556 100644 --- a/sdk/python/pulumi_oci/opa/get_opa_instance.py +++ b/sdk/python/pulumi_oci/opa/get_opa_instance.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/opa/get_opa_instances.py b/sdk/python/pulumi_oci/opa/get_opa_instances.py index d5f9095f2a..56ca8c5c90 100644 --- a/sdk/python/pulumi_oci/opa/get_opa_instances.py +++ b/sdk/python/pulumi_oci/opa/get_opa_instances.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/opa/opa_instance.py b/sdk/python/pulumi_oci/opa/opa_instance.py index 0aa86447fb..74d4c2642c 100644 --- a/sdk/python/pulumi_oci/opa/opa_instance.py +++ b/sdk/python/pulumi_oci/opa/opa_instance.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -43,23 +43,50 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_breakglass_enabled: indicates if breakGlass is enabled for the opa instance. :param pulumi.Input[str] metering_type: MeteringType Identifier """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "shape_name", shape_name) + OpaInstanceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + shape_name=shape_name, + consumption_model=consumption_model, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + idcs_at=idcs_at, + is_breakglass_enabled=is_breakglass_enabled, + metering_type=metering_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + shape_name: pulumi.Input[str], + consumption_model: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + idcs_at: Optional[pulumi.Input[str]] = None, + is_breakglass_enabled: Optional[pulumi.Input[bool]] = None, + metering_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) + _setter("shape_name", shape_name) if consumption_model is not None: - pulumi.set(__self__, "consumption_model", consumption_model) + _setter("consumption_model", consumption_model) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if idcs_at is not None: - pulumi.set(__self__, "idcs_at", idcs_at) + _setter("idcs_at", idcs_at) if is_breakglass_enabled is not None: - pulumi.set(__self__, "is_breakglass_enabled", is_breakglass_enabled) + _setter("is_breakglass_enabled", is_breakglass_enabled) if metering_type is not None: - pulumi.set(__self__, "metering_type", metering_type) + _setter("metering_type", metering_type) @property @pulumi.getter(name="compartmentId") @@ -236,46 +263,93 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The time when OpaInstance was created. An RFC3339 formatted datetime string :param pulumi.Input[str] time_updated: The time the OpaInstance was updated. An RFC3339 formatted datetime string """ + _OpaInstanceState._configure( + lambda key, value: pulumi.set(__self__, key, value), + attachments=attachments, + compartment_id=compartment_id, + consumption_model=consumption_model, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + idcs_at=idcs_at, + identity_app_display_name=identity_app_display_name, + identity_app_guid=identity_app_guid, + identity_app_opc_service_instance_guid=identity_app_opc_service_instance_guid, + identity_domain_url=identity_domain_url, + instance_url=instance_url, + is_breakglass_enabled=is_breakglass_enabled, + metering_type=metering_type, + shape_name=shape_name, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attachments: Optional[pulumi.Input[Sequence[pulumi.Input['OpaInstanceAttachmentArgs']]]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + consumption_model: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + idcs_at: Optional[pulumi.Input[str]] = None, + identity_app_display_name: Optional[pulumi.Input[str]] = None, + identity_app_guid: Optional[pulumi.Input[str]] = None, + identity_app_opc_service_instance_guid: Optional[pulumi.Input[str]] = None, + identity_domain_url: Optional[pulumi.Input[str]] = None, + instance_url: Optional[pulumi.Input[str]] = None, + is_breakglass_enabled: Optional[pulumi.Input[bool]] = None, + metering_type: Optional[pulumi.Input[str]] = None, + shape_name: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if attachments is not None: - pulumi.set(__self__, "attachments", attachments) + _setter("attachments", attachments) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if consumption_model is not None: - pulumi.set(__self__, "consumption_model", consumption_model) + _setter("consumption_model", consumption_model) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if idcs_at is not None: - pulumi.set(__self__, "idcs_at", idcs_at) + _setter("idcs_at", idcs_at) if identity_app_display_name is not None: - pulumi.set(__self__, "identity_app_display_name", identity_app_display_name) + _setter("identity_app_display_name", identity_app_display_name) if identity_app_guid is not None: - pulumi.set(__self__, "identity_app_guid", identity_app_guid) + _setter("identity_app_guid", identity_app_guid) if identity_app_opc_service_instance_guid is not None: - pulumi.set(__self__, "identity_app_opc_service_instance_guid", identity_app_opc_service_instance_guid) + _setter("identity_app_opc_service_instance_guid", identity_app_opc_service_instance_guid) if identity_domain_url is not None: - pulumi.set(__self__, "identity_domain_url", identity_domain_url) + _setter("identity_domain_url", identity_domain_url) if instance_url is not None: - pulumi.set(__self__, "instance_url", instance_url) + _setter("instance_url", instance_url) if is_breakglass_enabled is not None: - pulumi.set(__self__, "is_breakglass_enabled", is_breakglass_enabled) + _setter("is_breakglass_enabled", is_breakglass_enabled) if metering_type is not None: - pulumi.set(__self__, "metering_type", metering_type) + _setter("metering_type", metering_type) if shape_name is not None: - pulumi.set(__self__, "shape_name", shape_name) + _setter("shape_name", shape_name) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter @@ -643,6 +717,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + OpaInstanceArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/opa/outputs.py b/sdk/python/pulumi_oci/opa/outputs.py index cf7e4799c4..6431ba0141 100644 --- a/sdk/python/pulumi_oci/opa/outputs.py +++ b/sdk/python/pulumi_oci/opa/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -60,16 +60,33 @@ def __init__(__self__, *, :param str target_role: The role of the target attachment. :param str target_service_type: The type of the target instance, such as "FUSION". """ + OpaInstanceAttachment._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_implicit=is_implicit, + target_id=target_id, + target_instance_url=target_instance_url, + target_role=target_role, + target_service_type=target_service_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_implicit: Optional[bool] = None, + target_id: Optional[str] = None, + target_instance_url: Optional[str] = None, + target_role: Optional[str] = None, + target_service_type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_implicit is not None: - pulumi.set(__self__, "is_implicit", is_implicit) + _setter("is_implicit", is_implicit) if target_id is not None: - pulumi.set(__self__, "target_id", target_id) + _setter("target_id", target_id) if target_instance_url is not None: - pulumi.set(__self__, "target_instance_url", target_instance_url) + _setter("target_instance_url", target_instance_url) if target_role is not None: - pulumi.set(__self__, "target_role", target_role) + _setter("target_role", target_role) if target_service_type is not None: - pulumi.set(__self__, "target_service_type", target_service_type) + _setter("target_service_type", target_service_type) @property @pulumi.getter(name="isImplicit") @@ -129,11 +146,28 @@ def __init__(__self__, *, :param str target_role: The role of the target attachment. :param str target_service_type: The type of the target instance, such as "FUSION". """ - pulumi.set(__self__, "is_implicit", is_implicit) - pulumi.set(__self__, "target_id", target_id) - pulumi.set(__self__, "target_instance_url", target_instance_url) - pulumi.set(__self__, "target_role", target_role) - pulumi.set(__self__, "target_service_type", target_service_type) + GetOpaInstanceAttachmentResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_implicit=is_implicit, + target_id=target_id, + target_instance_url=target_instance_url, + target_role=target_role, + target_service_type=target_service_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_implicit: bool, + target_id: str, + target_instance_url: str, + target_role: str, + target_service_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_implicit", is_implicit) + _setter("target_id", target_id) + _setter("target_instance_url", target_instance_url) + _setter("target_role", target_role) + _setter("target_service_type", target_service_type) @property @pulumi.getter(name="isImplicit") @@ -183,10 +217,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetOpaInstancesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -208,7 +255,16 @@ def regex(self) -> Optional[bool]: class GetOpaInstancesOpaInstanceCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetOpaInstancesOpaInstanceCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetOpaInstancesOpaInstanceCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetOpaInstancesOpaInstanceCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -262,27 +318,76 @@ def __init__(__self__, *, :param str time_created: The time when OpaInstance was created. An RFC3339 formatted datetime string :param str time_updated: The time the OpaInstance was updated. An RFC3339 formatted datetime string """ - pulumi.set(__self__, "attachments", attachments) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "consumption_model", consumption_model) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "idcs_at", idcs_at) - pulumi.set(__self__, "identity_app_display_name", identity_app_display_name) - pulumi.set(__self__, "identity_app_guid", identity_app_guid) - pulumi.set(__self__, "identity_app_opc_service_instance_guid", identity_app_opc_service_instance_guid) - pulumi.set(__self__, "identity_domain_url", identity_domain_url) - pulumi.set(__self__, "instance_url", instance_url) - pulumi.set(__self__, "is_breakglass_enabled", is_breakglass_enabled) - pulumi.set(__self__, "metering_type", metering_type) - pulumi.set(__self__, "shape_name", shape_name) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetOpaInstancesOpaInstanceCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + attachments=attachments, + compartment_id=compartment_id, + consumption_model=consumption_model, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + idcs_at=idcs_at, + identity_app_display_name=identity_app_display_name, + identity_app_guid=identity_app_guid, + identity_app_opc_service_instance_guid=identity_app_opc_service_instance_guid, + identity_domain_url=identity_domain_url, + instance_url=instance_url, + is_breakglass_enabled=is_breakglass_enabled, + metering_type=metering_type, + shape_name=shape_name, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + attachments: Sequence['outputs.GetOpaInstancesOpaInstanceCollectionItemAttachmentResult'], + compartment_id: str, + consumption_model: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + idcs_at: str, + identity_app_display_name: str, + identity_app_guid: str, + identity_app_opc_service_instance_guid: str, + identity_domain_url: str, + instance_url: str, + is_breakglass_enabled: bool, + metering_type: str, + shape_name: str, + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("attachments", attachments) + _setter("compartment_id", compartment_id) + _setter("consumption_model", consumption_model) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("idcs_at", idcs_at) + _setter("identity_app_display_name", identity_app_display_name) + _setter("identity_app_guid", identity_app_guid) + _setter("identity_app_opc_service_instance_guid", identity_app_opc_service_instance_guid) + _setter("identity_domain_url", identity_domain_url) + _setter("instance_url", instance_url) + _setter("is_breakglass_enabled", is_breakglass_enabled) + _setter("metering_type", metering_type) + _setter("shape_name", shape_name) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter @@ -466,11 +571,28 @@ def __init__(__self__, *, :param str target_role: The role of the target attachment. :param str target_service_type: The type of the target instance, such as "FUSION". """ - pulumi.set(__self__, "is_implicit", is_implicit) - pulumi.set(__self__, "target_id", target_id) - pulumi.set(__self__, "target_instance_url", target_instance_url) - pulumi.set(__self__, "target_role", target_role) - pulumi.set(__self__, "target_service_type", target_service_type) + GetOpaInstancesOpaInstanceCollectionItemAttachmentResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_implicit=is_implicit, + target_id=target_id, + target_instance_url=target_instance_url, + target_role=target_role, + target_service_type=target_service_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_implicit: bool, + target_id: str, + target_instance_url: str, + target_role: str, + target_service_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_implicit", is_implicit) + _setter("target_id", target_id) + _setter("target_instance_url", target_instance_url) + _setter("target_role", target_role) + _setter("target_service_type", target_service_type) @property @pulumi.getter(name="isImplicit") diff --git a/sdk/python/pulumi_oci/opensearch/_inputs.py b/sdk/python/pulumi_oci/opensearch/_inputs.py index 92e6029b2e..01fb7e72e0 100644 --- a/sdk/python/pulumi_oci/opensearch/_inputs.py +++ b/sdk/python/pulumi_oci/opensearch/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -20,10 +20,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetOpensearchClustersFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -59,10 +72,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetOpensearchVersionsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/opensearch/cluster.py b/sdk/python/pulumi_oci/opensearch/cluster.py index 8d277990df..3c3427d5e5 100644 --- a/sdk/python/pulumi_oci/opensearch/cluster.py +++ b/sdk/python/pulumi_oci/opensearch/cluster.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['ClusterArgs', 'Cluster'] @@ -75,41 +75,102 @@ def __init__(__self__, *, :param pulumi.Input[str] security_mode: (Updatable) The security mode of the cluster. :param pulumi.Input[Mapping[str, Any]] system_tags: Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "data_node_count", data_node_count) - pulumi.set(__self__, "data_node_host_memory_gb", data_node_host_memory_gb) - pulumi.set(__self__, "data_node_host_ocpu_count", data_node_host_ocpu_count) - pulumi.set(__self__, "data_node_host_type", data_node_host_type) - pulumi.set(__self__, "data_node_storage_gb", data_node_storage_gb) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "master_node_count", master_node_count) - pulumi.set(__self__, "master_node_host_memory_gb", master_node_host_memory_gb) - pulumi.set(__self__, "master_node_host_ocpu_count", master_node_host_ocpu_count) - pulumi.set(__self__, "master_node_host_type", master_node_host_type) - pulumi.set(__self__, "opendashboard_node_count", opendashboard_node_count) - pulumi.set(__self__, "opendashboard_node_host_memory_gb", opendashboard_node_host_memory_gb) - pulumi.set(__self__, "opendashboard_node_host_ocpu_count", opendashboard_node_host_ocpu_count) - pulumi.set(__self__, "software_version", software_version) - pulumi.set(__self__, "subnet_compartment_id", subnet_compartment_id) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "vcn_compartment_id", vcn_compartment_id) - pulumi.set(__self__, "vcn_id", vcn_id) + ClusterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + data_node_count=data_node_count, + data_node_host_memory_gb=data_node_host_memory_gb, + data_node_host_ocpu_count=data_node_host_ocpu_count, + data_node_host_type=data_node_host_type, + data_node_storage_gb=data_node_storage_gb, + display_name=display_name, + master_node_count=master_node_count, + master_node_host_memory_gb=master_node_host_memory_gb, + master_node_host_ocpu_count=master_node_host_ocpu_count, + master_node_host_type=master_node_host_type, + opendashboard_node_count=opendashboard_node_count, + opendashboard_node_host_memory_gb=opendashboard_node_host_memory_gb, + opendashboard_node_host_ocpu_count=opendashboard_node_host_ocpu_count, + software_version=software_version, + subnet_compartment_id=subnet_compartment_id, + subnet_id=subnet_id, + vcn_compartment_id=vcn_compartment_id, + vcn_id=vcn_id, + data_node_host_bare_metal_shape=data_node_host_bare_metal_shape, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + master_node_host_bare_metal_shape=master_node_host_bare_metal_shape, + security_master_user_name=security_master_user_name, + security_master_user_password_hash=security_master_user_password_hash, + security_mode=security_mode, + system_tags=system_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + data_node_count: pulumi.Input[int], + data_node_host_memory_gb: pulumi.Input[int], + data_node_host_ocpu_count: pulumi.Input[int], + data_node_host_type: pulumi.Input[str], + data_node_storage_gb: pulumi.Input[int], + display_name: pulumi.Input[str], + master_node_count: pulumi.Input[int], + master_node_host_memory_gb: pulumi.Input[int], + master_node_host_ocpu_count: pulumi.Input[int], + master_node_host_type: pulumi.Input[str], + opendashboard_node_count: pulumi.Input[int], + opendashboard_node_host_memory_gb: pulumi.Input[int], + opendashboard_node_host_ocpu_count: pulumi.Input[int], + software_version: pulumi.Input[str], + subnet_compartment_id: pulumi.Input[str], + subnet_id: pulumi.Input[str], + vcn_compartment_id: pulumi.Input[str], + vcn_id: pulumi.Input[str], + data_node_host_bare_metal_shape: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + master_node_host_bare_metal_shape: Optional[pulumi.Input[str]] = None, + security_master_user_name: Optional[pulumi.Input[str]] = None, + security_master_user_password_hash: Optional[pulumi.Input[str]] = None, + security_mode: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("data_node_count", data_node_count) + _setter("data_node_host_memory_gb", data_node_host_memory_gb) + _setter("data_node_host_ocpu_count", data_node_host_ocpu_count) + _setter("data_node_host_type", data_node_host_type) + _setter("data_node_storage_gb", data_node_storage_gb) + _setter("display_name", display_name) + _setter("master_node_count", master_node_count) + _setter("master_node_host_memory_gb", master_node_host_memory_gb) + _setter("master_node_host_ocpu_count", master_node_host_ocpu_count) + _setter("master_node_host_type", master_node_host_type) + _setter("opendashboard_node_count", opendashboard_node_count) + _setter("opendashboard_node_host_memory_gb", opendashboard_node_host_memory_gb) + _setter("opendashboard_node_host_ocpu_count", opendashboard_node_host_ocpu_count) + _setter("software_version", software_version) + _setter("subnet_compartment_id", subnet_compartment_id) + _setter("subnet_id", subnet_id) + _setter("vcn_compartment_id", vcn_compartment_id) + _setter("vcn_id", vcn_id) if data_node_host_bare_metal_shape is not None: - pulumi.set(__self__, "data_node_host_bare_metal_shape", data_node_host_bare_metal_shape) + _setter("data_node_host_bare_metal_shape", data_node_host_bare_metal_shape) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if master_node_host_bare_metal_shape is not None: - pulumi.set(__self__, "master_node_host_bare_metal_shape", master_node_host_bare_metal_shape) + _setter("master_node_host_bare_metal_shape", master_node_host_bare_metal_shape) if security_master_user_name is not None: - pulumi.set(__self__, "security_master_user_name", security_master_user_name) + _setter("security_master_user_name", security_master_user_name) if security_master_user_password_hash is not None: - pulumi.set(__self__, "security_master_user_password_hash", security_master_user_password_hash) + _setter("security_master_user_password_hash", security_master_user_password_hash) if security_mode is not None: - pulumi.set(__self__, "security_mode", security_mode) + _setter("security_mode", security_mode) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) @property @pulumi.getter(name="compartmentId") @@ -528,84 +589,169 @@ def __init__(__self__, *, ** 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 """ + _ClusterState._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domains=availability_domains, + compartment_id=compartment_id, + data_node_count=data_node_count, + data_node_host_bare_metal_shape=data_node_host_bare_metal_shape, + data_node_host_memory_gb=data_node_host_memory_gb, + data_node_host_ocpu_count=data_node_host_ocpu_count, + data_node_host_type=data_node_host_type, + data_node_storage_gb=data_node_storage_gb, + defined_tags=defined_tags, + display_name=display_name, + fqdn=fqdn, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + master_node_count=master_node_count, + master_node_host_bare_metal_shape=master_node_host_bare_metal_shape, + master_node_host_memory_gb=master_node_host_memory_gb, + master_node_host_ocpu_count=master_node_host_ocpu_count, + master_node_host_type=master_node_host_type, + opendashboard_fqdn=opendashboard_fqdn, + opendashboard_node_count=opendashboard_node_count, + opendashboard_node_host_memory_gb=opendashboard_node_host_memory_gb, + opendashboard_node_host_ocpu_count=opendashboard_node_host_ocpu_count, + opendashboard_private_ip=opendashboard_private_ip, + opensearch_fqdn=opensearch_fqdn, + opensearch_private_ip=opensearch_private_ip, + security_master_user_name=security_master_user_name, + security_master_user_password_hash=security_master_user_password_hash, + security_mode=security_mode, + software_version=software_version, + state=state, + subnet_compartment_id=subnet_compartment_id, + subnet_id=subnet_id, + system_tags=system_tags, + time_created=time_created, + time_deleted=time_deleted, + time_updated=time_updated, + total_storage_gb=total_storage_gb, + vcn_compartment_id=vcn_compartment_id, + vcn_id=vcn_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domains: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + data_node_count: Optional[pulumi.Input[int]] = None, + data_node_host_bare_metal_shape: Optional[pulumi.Input[str]] = None, + data_node_host_memory_gb: Optional[pulumi.Input[int]] = None, + data_node_host_ocpu_count: Optional[pulumi.Input[int]] = None, + data_node_host_type: Optional[pulumi.Input[str]] = None, + data_node_storage_gb: Optional[pulumi.Input[int]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + fqdn: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + master_node_count: Optional[pulumi.Input[int]] = None, + master_node_host_bare_metal_shape: Optional[pulumi.Input[str]] = None, + master_node_host_memory_gb: Optional[pulumi.Input[int]] = None, + master_node_host_ocpu_count: Optional[pulumi.Input[int]] = None, + master_node_host_type: Optional[pulumi.Input[str]] = None, + opendashboard_fqdn: Optional[pulumi.Input[str]] = None, + opendashboard_node_count: Optional[pulumi.Input[int]] = None, + opendashboard_node_host_memory_gb: Optional[pulumi.Input[int]] = None, + opendashboard_node_host_ocpu_count: Optional[pulumi.Input[int]] = None, + opendashboard_private_ip: Optional[pulumi.Input[str]] = None, + opensearch_fqdn: Optional[pulumi.Input[str]] = None, + opensearch_private_ip: Optional[pulumi.Input[str]] = None, + security_master_user_name: Optional[pulumi.Input[str]] = None, + security_master_user_password_hash: Optional[pulumi.Input[str]] = None, + security_mode: Optional[pulumi.Input[str]] = None, + software_version: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + subnet_compartment_id: Optional[pulumi.Input[str]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_deleted: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + total_storage_gb: Optional[pulumi.Input[int]] = None, + vcn_compartment_id: Optional[pulumi.Input[str]] = None, + vcn_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if availability_domains is not None: - pulumi.set(__self__, "availability_domains", availability_domains) + _setter("availability_domains", availability_domains) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if data_node_count is not None: - pulumi.set(__self__, "data_node_count", data_node_count) + _setter("data_node_count", data_node_count) if data_node_host_bare_metal_shape is not None: - pulumi.set(__self__, "data_node_host_bare_metal_shape", data_node_host_bare_metal_shape) + _setter("data_node_host_bare_metal_shape", data_node_host_bare_metal_shape) if data_node_host_memory_gb is not None: - pulumi.set(__self__, "data_node_host_memory_gb", data_node_host_memory_gb) + _setter("data_node_host_memory_gb", data_node_host_memory_gb) if data_node_host_ocpu_count is not None: - pulumi.set(__self__, "data_node_host_ocpu_count", data_node_host_ocpu_count) + _setter("data_node_host_ocpu_count", data_node_host_ocpu_count) if data_node_host_type is not None: - pulumi.set(__self__, "data_node_host_type", data_node_host_type) + _setter("data_node_host_type", data_node_host_type) if data_node_storage_gb is not None: - pulumi.set(__self__, "data_node_storage_gb", data_node_storage_gb) + _setter("data_node_storage_gb", data_node_storage_gb) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if fqdn is not None: - pulumi.set(__self__, "fqdn", fqdn) + _setter("fqdn", fqdn) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if master_node_count is not None: - pulumi.set(__self__, "master_node_count", master_node_count) + _setter("master_node_count", master_node_count) if master_node_host_bare_metal_shape is not None: - pulumi.set(__self__, "master_node_host_bare_metal_shape", master_node_host_bare_metal_shape) + _setter("master_node_host_bare_metal_shape", master_node_host_bare_metal_shape) if master_node_host_memory_gb is not None: - pulumi.set(__self__, "master_node_host_memory_gb", master_node_host_memory_gb) + _setter("master_node_host_memory_gb", master_node_host_memory_gb) if master_node_host_ocpu_count is not None: - pulumi.set(__self__, "master_node_host_ocpu_count", master_node_host_ocpu_count) + _setter("master_node_host_ocpu_count", master_node_host_ocpu_count) if master_node_host_type is not None: - pulumi.set(__self__, "master_node_host_type", master_node_host_type) + _setter("master_node_host_type", master_node_host_type) if opendashboard_fqdn is not None: - pulumi.set(__self__, "opendashboard_fqdn", opendashboard_fqdn) + _setter("opendashboard_fqdn", opendashboard_fqdn) if opendashboard_node_count is not None: - pulumi.set(__self__, "opendashboard_node_count", opendashboard_node_count) + _setter("opendashboard_node_count", opendashboard_node_count) if opendashboard_node_host_memory_gb is not None: - pulumi.set(__self__, "opendashboard_node_host_memory_gb", opendashboard_node_host_memory_gb) + _setter("opendashboard_node_host_memory_gb", opendashboard_node_host_memory_gb) if opendashboard_node_host_ocpu_count is not None: - pulumi.set(__self__, "opendashboard_node_host_ocpu_count", opendashboard_node_host_ocpu_count) + _setter("opendashboard_node_host_ocpu_count", opendashboard_node_host_ocpu_count) if opendashboard_private_ip is not None: - pulumi.set(__self__, "opendashboard_private_ip", opendashboard_private_ip) + _setter("opendashboard_private_ip", opendashboard_private_ip) if opensearch_fqdn is not None: - pulumi.set(__self__, "opensearch_fqdn", opensearch_fqdn) + _setter("opensearch_fqdn", opensearch_fqdn) if opensearch_private_ip is not None: - pulumi.set(__self__, "opensearch_private_ip", opensearch_private_ip) + _setter("opensearch_private_ip", opensearch_private_ip) if security_master_user_name is not None: - pulumi.set(__self__, "security_master_user_name", security_master_user_name) + _setter("security_master_user_name", security_master_user_name) if security_master_user_password_hash is not None: - pulumi.set(__self__, "security_master_user_password_hash", security_master_user_password_hash) + _setter("security_master_user_password_hash", security_master_user_password_hash) if security_mode is not None: - pulumi.set(__self__, "security_mode", security_mode) + _setter("security_mode", security_mode) if software_version is not None: - pulumi.set(__self__, "software_version", software_version) + _setter("software_version", software_version) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if subnet_compartment_id is not None: - pulumi.set(__self__, "subnet_compartment_id", subnet_compartment_id) + _setter("subnet_compartment_id", subnet_compartment_id) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_deleted is not None: - pulumi.set(__self__, "time_deleted", time_deleted) + _setter("time_deleted", time_deleted) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if total_storage_gb is not None: - pulumi.set(__self__, "total_storage_gb", total_storage_gb) + _setter("total_storage_gb", total_storage_gb) if vcn_compartment_id is not None: - pulumi.set(__self__, "vcn_compartment_id", vcn_compartment_id) + _setter("vcn_compartment_id", vcn_compartment_id) if vcn_id is not None: - pulumi.set(__self__, "vcn_id", vcn_id) + _setter("vcn_id", vcn_id) @property @pulumi.getter(name="availabilityDomains") @@ -1293,6 +1439,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ClusterArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/opensearch/get_opensearch_cluster.py b/sdk/python/pulumi_oci/opensearch/get_opensearch_cluster.py index 9958807542..3bdb16124f 100644 --- a/sdk/python/pulumi_oci/opensearch/get_opensearch_cluster.py +++ b/sdk/python/pulumi_oci/opensearch/get_opensearch_cluster.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/opensearch/get_opensearch_clusters.py b/sdk/python/pulumi_oci/opensearch/get_opensearch_clusters.py index 60c8365ec9..9c1a771e70 100644 --- a/sdk/python/pulumi_oci/opensearch/get_opensearch_clusters.py +++ b/sdk/python/pulumi_oci/opensearch/get_opensearch_clusters.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/opensearch/get_opensearch_version.py b/sdk/python/pulumi_oci/opensearch/get_opensearch_version.py index 09a35697db..734682dbdb 100644 --- a/sdk/python/pulumi_oci/opensearch/get_opensearch_version.py +++ b/sdk/python/pulumi_oci/opensearch/get_opensearch_version.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/opensearch/get_opensearch_versions.py b/sdk/python/pulumi_oci/opensearch/get_opensearch_versions.py index 70829847b4..37bc6664f0 100644 --- a/sdk/python/pulumi_oci/opensearch/get_opensearch_versions.py +++ b/sdk/python/pulumi_oci/opensearch/get_opensearch_versions.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/opensearch/outputs.py b/sdk/python/pulumi_oci/opensearch/outputs.py index 45f65c69f3..0246bc7c8c 100644 --- a/sdk/python/pulumi_oci/opensearch/outputs.py +++ b/sdk/python/pulumi_oci/opensearch/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -26,10 +26,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetOpensearchClustersFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -51,7 +64,16 @@ def regex(self) -> Optional[bool]: class GetOpensearchClustersOpensearchClusterCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetOpensearchClustersOpensearchClusterCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetOpensearchClustersOpensearchClusterCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetOpensearchClustersOpensearchClusterCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -144,46 +166,133 @@ def __init__(__self__, *, :param str vcn_compartment_id: The OCID for the compartment where the cluster's VCN is located. :param str vcn_id: The OCID of the cluster's VCN. """ - pulumi.set(__self__, "availability_domains", availability_domains) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "data_node_count", data_node_count) - pulumi.set(__self__, "data_node_host_bare_metal_shape", data_node_host_bare_metal_shape) - pulumi.set(__self__, "data_node_host_memory_gb", data_node_host_memory_gb) - pulumi.set(__self__, "data_node_host_ocpu_count", data_node_host_ocpu_count) - pulumi.set(__self__, "data_node_host_type", data_node_host_type) - pulumi.set(__self__, "data_node_storage_gb", data_node_storage_gb) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "fqdn", fqdn) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "master_node_count", master_node_count) - pulumi.set(__self__, "master_node_host_bare_metal_shape", master_node_host_bare_metal_shape) - pulumi.set(__self__, "master_node_host_memory_gb", master_node_host_memory_gb) - pulumi.set(__self__, "master_node_host_ocpu_count", master_node_host_ocpu_count) - pulumi.set(__self__, "master_node_host_type", master_node_host_type) - pulumi.set(__self__, "opendashboard_fqdn", opendashboard_fqdn) - pulumi.set(__self__, "opendashboard_node_count", opendashboard_node_count) - pulumi.set(__self__, "opendashboard_node_host_memory_gb", opendashboard_node_host_memory_gb) - pulumi.set(__self__, "opendashboard_node_host_ocpu_count", opendashboard_node_host_ocpu_count) - pulumi.set(__self__, "opendashboard_private_ip", opendashboard_private_ip) - pulumi.set(__self__, "opensearch_fqdn", opensearch_fqdn) - pulumi.set(__self__, "opensearch_private_ip", opensearch_private_ip) - pulumi.set(__self__, "security_master_user_name", security_master_user_name) - pulumi.set(__self__, "security_master_user_password_hash", security_master_user_password_hash) - pulumi.set(__self__, "security_mode", security_mode) - pulumi.set(__self__, "software_version", software_version) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "subnet_compartment_id", subnet_compartment_id) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_deleted", time_deleted) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "total_storage_gb", total_storage_gb) - pulumi.set(__self__, "vcn_compartment_id", vcn_compartment_id) - pulumi.set(__self__, "vcn_id", vcn_id) + GetOpensearchClustersOpensearchClusterCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + availability_domains=availability_domains, + compartment_id=compartment_id, + data_node_count=data_node_count, + data_node_host_bare_metal_shape=data_node_host_bare_metal_shape, + data_node_host_memory_gb=data_node_host_memory_gb, + data_node_host_ocpu_count=data_node_host_ocpu_count, + data_node_host_type=data_node_host_type, + data_node_storage_gb=data_node_storage_gb, + defined_tags=defined_tags, + display_name=display_name, + fqdn=fqdn, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + master_node_count=master_node_count, + master_node_host_bare_metal_shape=master_node_host_bare_metal_shape, + master_node_host_memory_gb=master_node_host_memory_gb, + master_node_host_ocpu_count=master_node_host_ocpu_count, + master_node_host_type=master_node_host_type, + opendashboard_fqdn=opendashboard_fqdn, + opendashboard_node_count=opendashboard_node_count, + opendashboard_node_host_memory_gb=opendashboard_node_host_memory_gb, + opendashboard_node_host_ocpu_count=opendashboard_node_host_ocpu_count, + opendashboard_private_ip=opendashboard_private_ip, + opensearch_fqdn=opensearch_fqdn, + opensearch_private_ip=opensearch_private_ip, + security_master_user_name=security_master_user_name, + security_master_user_password_hash=security_master_user_password_hash, + security_mode=security_mode, + software_version=software_version, + state=state, + subnet_compartment_id=subnet_compartment_id, + subnet_id=subnet_id, + system_tags=system_tags, + time_created=time_created, + time_deleted=time_deleted, + time_updated=time_updated, + total_storage_gb=total_storage_gb, + vcn_compartment_id=vcn_compartment_id, + vcn_id=vcn_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + availability_domains: Sequence[str], + compartment_id: str, + data_node_count: int, + data_node_host_bare_metal_shape: str, + data_node_host_memory_gb: int, + data_node_host_ocpu_count: int, + data_node_host_type: str, + data_node_storage_gb: int, + defined_tags: Mapping[str, Any], + display_name: str, + fqdn: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + master_node_count: int, + master_node_host_bare_metal_shape: str, + master_node_host_memory_gb: int, + master_node_host_ocpu_count: int, + master_node_host_type: str, + opendashboard_fqdn: str, + opendashboard_node_count: int, + opendashboard_node_host_memory_gb: int, + opendashboard_node_host_ocpu_count: int, + opendashboard_private_ip: str, + opensearch_fqdn: str, + opensearch_private_ip: str, + security_master_user_name: str, + security_master_user_password_hash: str, + security_mode: str, + software_version: str, + state: str, + subnet_compartment_id: str, + subnet_id: str, + system_tags: Mapping[str, Any], + time_created: str, + time_deleted: str, + time_updated: str, + total_storage_gb: int, + vcn_compartment_id: str, + vcn_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("availability_domains", availability_domains) + _setter("compartment_id", compartment_id) + _setter("data_node_count", data_node_count) + _setter("data_node_host_bare_metal_shape", data_node_host_bare_metal_shape) + _setter("data_node_host_memory_gb", data_node_host_memory_gb) + _setter("data_node_host_ocpu_count", data_node_host_ocpu_count) + _setter("data_node_host_type", data_node_host_type) + _setter("data_node_storage_gb", data_node_storage_gb) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("fqdn", fqdn) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("master_node_count", master_node_count) + _setter("master_node_host_bare_metal_shape", master_node_host_bare_metal_shape) + _setter("master_node_host_memory_gb", master_node_host_memory_gb) + _setter("master_node_host_ocpu_count", master_node_host_ocpu_count) + _setter("master_node_host_type", master_node_host_type) + _setter("opendashboard_fqdn", opendashboard_fqdn) + _setter("opendashboard_node_count", opendashboard_node_count) + _setter("opendashboard_node_host_memory_gb", opendashboard_node_host_memory_gb) + _setter("opendashboard_node_host_ocpu_count", opendashboard_node_host_ocpu_count) + _setter("opendashboard_private_ip", opendashboard_private_ip) + _setter("opensearch_fqdn", opensearch_fqdn) + _setter("opensearch_private_ip", opensearch_private_ip) + _setter("security_master_user_name", security_master_user_name) + _setter("security_master_user_password_hash", security_master_user_password_hash) + _setter("security_mode", security_mode) + _setter("software_version", software_version) + _setter("state", state) + _setter("subnet_compartment_id", subnet_compartment_id) + _setter("subnet_id", subnet_id) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_deleted", time_deleted) + _setter("time_updated", time_updated) + _setter("total_storage_gb", total_storage_gb) + _setter("vcn_compartment_id", vcn_compartment_id) + _setter("vcn_id", vcn_id) @property @pulumi.getter(name="availabilityDomains") @@ -513,7 +622,16 @@ def __init__(__self__, *, """ :param str version: The version of OpenSearch. """ - pulumi.set(__self__, "version", version) + GetOpensearchVersionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("version", version) @property @pulumi.getter @@ -530,10 +648,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetOpensearchVersionsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -558,7 +689,16 @@ def __init__(__self__, *, """ :param Sequence['GetOpensearchVersionsOpensearchVersionsCollectionItemArgs'] items: A list of OpenSearch versions. """ - pulumi.set(__self__, "items", items) + GetOpensearchVersionsOpensearchVersionsCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetOpensearchVersionsOpensearchVersionsCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -576,7 +716,16 @@ def __init__(__self__, *, """ :param str version: The version of OpenSearch. """ - pulumi.set(__self__, "version", version) + GetOpensearchVersionsOpensearchVersionsCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("version", version) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/operatoraccesscontrol/_inputs.py b/sdk/python/pulumi_oci/operatoraccesscontrol/_inputs.py index e9ccdd4892..b30a6a4eff 100644 --- a/sdk/python/pulumi_oci/operatoraccesscontrol/_inputs.py +++ b/sdk/python/pulumi_oci/operatoraccesscontrol/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -22,10 +22,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAccessRequestsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -64,10 +77,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the entire display name given. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetActionsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -106,10 +132,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetControlAssignmentsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -145,10 +184,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetControlsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/operatoraccesscontrol/get_access_request.py b/sdk/python/pulumi_oci/operatoraccesscontrol/get_access_request.py index 7d4aa35997..30b9ccef92 100644 --- a/sdk/python/pulumi_oci/operatoraccesscontrol/get_access_request.py +++ b/sdk/python/pulumi_oci/operatoraccesscontrol/get_access_request.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/operatoraccesscontrol/get_access_request_history.py b/sdk/python/pulumi_oci/operatoraccesscontrol/get_access_request_history.py index da7e30bffb..11815301d2 100644 --- a/sdk/python/pulumi_oci/operatoraccesscontrol/get_access_request_history.py +++ b/sdk/python/pulumi_oci/operatoraccesscontrol/get_access_request_history.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/operatoraccesscontrol/get_access_requests.py b/sdk/python/pulumi_oci/operatoraccesscontrol/get_access_requests.py index fcb21b5222..681f0ead73 100644 --- a/sdk/python/pulumi_oci/operatoraccesscontrol/get_access_requests.py +++ b/sdk/python/pulumi_oci/operatoraccesscontrol/get_access_requests.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/operatoraccesscontrol/get_action.py b/sdk/python/pulumi_oci/operatoraccesscontrol/get_action.py index abd4037ae8..3515b41ba8 100644 --- a/sdk/python/pulumi_oci/operatoraccesscontrol/get_action.py +++ b/sdk/python/pulumi_oci/operatoraccesscontrol/get_action.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/operatoraccesscontrol/get_actions.py b/sdk/python/pulumi_oci/operatoraccesscontrol/get_actions.py index 8bdf99d3ca..5ab4d5d887 100644 --- a/sdk/python/pulumi_oci/operatoraccesscontrol/get_actions.py +++ b/sdk/python/pulumi_oci/operatoraccesscontrol/get_actions.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/operatoraccesscontrol/get_control.py b/sdk/python/pulumi_oci/operatoraccesscontrol/get_control.py index fe73f00a9e..d39d829818 100644 --- a/sdk/python/pulumi_oci/operatoraccesscontrol/get_control.py +++ b/sdk/python/pulumi_oci/operatoraccesscontrol/get_control.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/operatoraccesscontrol/get_control_assignment.py b/sdk/python/pulumi_oci/operatoraccesscontrol/get_control_assignment.py index 093e2190cb..c0bc3b8b12 100644 --- a/sdk/python/pulumi_oci/operatoraccesscontrol/get_control_assignment.py +++ b/sdk/python/pulumi_oci/operatoraccesscontrol/get_control_assignment.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/operatoraccesscontrol/get_control_assignments.py b/sdk/python/pulumi_oci/operatoraccesscontrol/get_control_assignments.py index 183aba376b..00f1c40965 100644 --- a/sdk/python/pulumi_oci/operatoraccesscontrol/get_control_assignments.py +++ b/sdk/python/pulumi_oci/operatoraccesscontrol/get_control_assignments.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/operatoraccesscontrol/get_controls.py b/sdk/python/pulumi_oci/operatoraccesscontrol/get_controls.py index 648c917784..7e86eb490e 100644 --- a/sdk/python/pulumi_oci/operatoraccesscontrol/get_controls.py +++ b/sdk/python/pulumi_oci/operatoraccesscontrol/get_controls.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/operatoraccesscontrol/operator_control.py b/sdk/python/pulumi_oci/operatoraccesscontrol/operator_control.py index c3245c0da7..9ed92d8a29 100644 --- a/sdk/python/pulumi_oci/operatoraccesscontrol/operator_control.py +++ b/sdk/python/pulumi_oci/operatoraccesscontrol/operator_control.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['OperatorControlArgs', 'OperatorControl'] @@ -45,25 +45,56 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "approver_groups_lists", approver_groups_lists) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "is_fully_pre_approved", is_fully_pre_approved) - pulumi.set(__self__, "operator_control_name", operator_control_name) - pulumi.set(__self__, "resource_type", resource_type) + OperatorControlArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + approver_groups_lists=approver_groups_lists, + compartment_id=compartment_id, + is_fully_pre_approved=is_fully_pre_approved, + operator_control_name=operator_control_name, + resource_type=resource_type, + approvers_lists=approvers_lists, + defined_tags=defined_tags, + description=description, + email_id_lists=email_id_lists, + freeform_tags=freeform_tags, + pre_approved_op_action_lists=pre_approved_op_action_lists, + system_message=system_message, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + approver_groups_lists: pulumi.Input[Sequence[pulumi.Input[str]]], + compartment_id: pulumi.Input[str], + is_fully_pre_approved: pulumi.Input[bool], + operator_control_name: pulumi.Input[str], + resource_type: pulumi.Input[str], + approvers_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + email_id_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + pre_approved_op_action_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + system_message: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("approver_groups_lists", approver_groups_lists) + _setter("compartment_id", compartment_id) + _setter("is_fully_pre_approved", is_fully_pre_approved) + _setter("operator_control_name", operator_control_name) + _setter("resource_type", resource_type) if approvers_lists is not None: - pulumi.set(__self__, "approvers_lists", approvers_lists) + _setter("approvers_lists", approvers_lists) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if email_id_lists is not None: - pulumi.set(__self__, "email_id_lists", email_id_lists) + _setter("email_id_lists", email_id_lists) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if pre_approved_op_action_lists is not None: - pulumi.set(__self__, "pre_approved_op_action_lists", pre_approved_op_action_lists) + _setter("pre_approved_op_action_lists", pre_approved_op_action_lists) if system_message is not None: - pulumi.set(__self__, "system_message", system_message) + _setter("system_message", system_message) @property @pulumi.getter(name="approverGroupsLists") @@ -262,44 +293,89 @@ def __init__(__self__, *, :param pulumi.Input[str] time_of_deletion: Time when deleted expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format. Example: '2020-05-22T21:10:29.600Z'. Note a deleted operator control still stays in the system, so that you can still audit operator actions associated with access requests raised on target resources governed by the deleted operator control. :param pulumi.Input[str] time_of_modification: Time when the operator control was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: '2020-05-22T21:10:29.600Z' """ + _OperatorControlState._configure( + lambda key, value: pulumi.set(__self__, key, value), + approval_required_op_action_lists=approval_required_op_action_lists, + approver_groups_lists=approver_groups_lists, + approvers_lists=approvers_lists, + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + email_id_lists=email_id_lists, + freeform_tags=freeform_tags, + is_default_operator_control=is_default_operator_control, + is_fully_pre_approved=is_fully_pre_approved, + last_modified_info=last_modified_info, + operator_control_name=operator_control_name, + pre_approved_op_action_lists=pre_approved_op_action_lists, + resource_type=resource_type, + state=state, + system_message=system_message, + time_of_creation=time_of_creation, + time_of_deletion=time_of_deletion, + time_of_modification=time_of_modification, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + approval_required_op_action_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + approver_groups_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + approvers_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + email_id_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_default_operator_control: Optional[pulumi.Input[bool]] = None, + is_fully_pre_approved: Optional[pulumi.Input[bool]] = None, + last_modified_info: Optional[pulumi.Input[str]] = None, + operator_control_name: Optional[pulumi.Input[str]] = None, + pre_approved_op_action_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + resource_type: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_message: Optional[pulumi.Input[str]] = None, + time_of_creation: Optional[pulumi.Input[str]] = None, + time_of_deletion: Optional[pulumi.Input[str]] = None, + time_of_modification: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if approval_required_op_action_lists is not None: - pulumi.set(__self__, "approval_required_op_action_lists", approval_required_op_action_lists) + _setter("approval_required_op_action_lists", approval_required_op_action_lists) if approver_groups_lists is not None: - pulumi.set(__self__, "approver_groups_lists", approver_groups_lists) + _setter("approver_groups_lists", approver_groups_lists) if approvers_lists is not None: - pulumi.set(__self__, "approvers_lists", approvers_lists) + _setter("approvers_lists", approvers_lists) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if email_id_lists is not None: - pulumi.set(__self__, "email_id_lists", email_id_lists) + _setter("email_id_lists", email_id_lists) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_default_operator_control is not None: - pulumi.set(__self__, "is_default_operator_control", is_default_operator_control) + _setter("is_default_operator_control", is_default_operator_control) if is_fully_pre_approved is not None: - pulumi.set(__self__, "is_fully_pre_approved", is_fully_pre_approved) + _setter("is_fully_pre_approved", is_fully_pre_approved) if last_modified_info is not None: - pulumi.set(__self__, "last_modified_info", last_modified_info) + _setter("last_modified_info", last_modified_info) if operator_control_name is not None: - pulumi.set(__self__, "operator_control_name", operator_control_name) + _setter("operator_control_name", operator_control_name) if pre_approved_op_action_lists is not None: - pulumi.set(__self__, "pre_approved_op_action_lists", pre_approved_op_action_lists) + _setter("pre_approved_op_action_lists", pre_approved_op_action_lists) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_message is not None: - pulumi.set(__self__, "system_message", system_message) + _setter("system_message", system_message) if time_of_creation is not None: - pulumi.set(__self__, "time_of_creation", time_of_creation) + _setter("time_of_creation", time_of_creation) if time_of_deletion is not None: - pulumi.set(__self__, "time_of_deletion", time_of_deletion) + _setter("time_of_deletion", time_of_deletion) if time_of_modification is not None: - pulumi.set(__self__, "time_of_modification", time_of_modification) + _setter("time_of_modification", time_of_modification) @property @pulumi.getter(name="approvalRequiredOpActionLists") @@ -613,6 +689,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + OperatorControlArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/operatoraccesscontrol/operator_control_assignment.py b/sdk/python/pulumi_oci/operatoraccesscontrol/operator_control_assignment.py index b9bda62f38..da0df5e998 100644 --- a/sdk/python/pulumi_oci/operatoraccesscontrol/operator_control_assignment.py +++ b/sdk/python/pulumi_oci/operatoraccesscontrol/operator_control_assignment.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['OperatorControlAssignmentArgs', 'OperatorControlAssignment'] @@ -55,33 +55,74 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "is_enforced_always", is_enforced_always) - pulumi.set(__self__, "operator_control_id", operator_control_id) - pulumi.set(__self__, "resource_compartment_id", resource_compartment_id) - pulumi.set(__self__, "resource_id", resource_id) - pulumi.set(__self__, "resource_name", resource_name) - pulumi.set(__self__, "resource_type", resource_type) + OperatorControlAssignmentArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + is_enforced_always=is_enforced_always, + operator_control_id=operator_control_id, + resource_compartment_id=resource_compartment_id, + resource_id=resource_id, + resource_name=resource_name, + resource_type=resource_type, + comment=comment, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + is_auto_approve_during_maintenance=is_auto_approve_during_maintenance, + is_log_forwarded=is_log_forwarded, + remote_syslog_server_address=remote_syslog_server_address, + remote_syslog_server_ca_cert=remote_syslog_server_ca_cert, + remote_syslog_server_port=remote_syslog_server_port, + time_assignment_from=time_assignment_from, + time_assignment_to=time_assignment_to, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + is_enforced_always: pulumi.Input[bool], + operator_control_id: pulumi.Input[str], + resource_compartment_id: pulumi.Input[str], + resource_id: pulumi.Input[str], + resource_name: pulumi.Input[str], + resource_type: pulumi.Input[str], + comment: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_auto_approve_during_maintenance: Optional[pulumi.Input[bool]] = None, + is_log_forwarded: Optional[pulumi.Input[bool]] = None, + remote_syslog_server_address: Optional[pulumi.Input[str]] = None, + remote_syslog_server_ca_cert: Optional[pulumi.Input[str]] = None, + remote_syslog_server_port: Optional[pulumi.Input[int]] = None, + time_assignment_from: Optional[pulumi.Input[str]] = None, + time_assignment_to: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("is_enforced_always", is_enforced_always) + _setter("operator_control_id", operator_control_id) + _setter("resource_compartment_id", resource_compartment_id) + _setter("resource_id", resource_id) + _setter("resource_name", resource_name) + _setter("resource_type", resource_type) if comment is not None: - pulumi.set(__self__, "comment", comment) + _setter("comment", comment) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_auto_approve_during_maintenance is not None: - pulumi.set(__self__, "is_auto_approve_during_maintenance", is_auto_approve_during_maintenance) + _setter("is_auto_approve_during_maintenance", is_auto_approve_during_maintenance) if is_log_forwarded is not None: - pulumi.set(__self__, "is_log_forwarded", is_log_forwarded) + _setter("is_log_forwarded", is_log_forwarded) if remote_syslog_server_address is not None: - pulumi.set(__self__, "remote_syslog_server_address", remote_syslog_server_address) + _setter("remote_syslog_server_address", remote_syslog_server_address) if remote_syslog_server_ca_cert is not None: - pulumi.set(__self__, "remote_syslog_server_ca_cert", remote_syslog_server_ca_cert) + _setter("remote_syslog_server_ca_cert", remote_syslog_server_ca_cert) if remote_syslog_server_port is not None: - pulumi.set(__self__, "remote_syslog_server_port", remote_syslog_server_port) + _setter("remote_syslog_server_port", remote_syslog_server_port) if time_assignment_from is not None: - pulumi.set(__self__, "time_assignment_from", time_assignment_from) + _setter("time_assignment_from", time_assignment_from) if time_assignment_to is not None: - pulumi.set(__self__, "time_assignment_to", time_assignment_to) + _setter("time_assignment_to", time_assignment_to) @property @pulumi.getter(name="compartmentId") @@ -356,60 +397,121 @@ def __init__(__self__, *, :param pulumi.Input[str] time_of_deletion: Time on which the operator control assignment was deleted in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format.Example: '2020-05-22T21:10:29.600Z' :param pulumi.Input[str] unassigner_id: User id who released the operatorControl. """ + _OperatorControlAssignmentState._configure( + lambda key, value: pulumi.set(__self__, key, value), + assigner_id=assigner_id, + comment=comment, + compartment_id=compartment_id, + defined_tags=defined_tags, + detachment_description=detachment_description, + error_code=error_code, + error_message=error_message, + freeform_tags=freeform_tags, + is_auto_approve_during_maintenance=is_auto_approve_during_maintenance, + is_default_assignment=is_default_assignment, + is_enforced_always=is_enforced_always, + is_log_forwarded=is_log_forwarded, + lifecycle_details=lifecycle_details, + operator_control_id=operator_control_id, + remote_syslog_server_address=remote_syslog_server_address, + remote_syslog_server_ca_cert=remote_syslog_server_ca_cert, + remote_syslog_server_port=remote_syslog_server_port, + resource_compartment_id=resource_compartment_id, + resource_id=resource_id, + resource_name=resource_name, + resource_type=resource_type, + state=state, + time_assignment_from=time_assignment_from, + time_assignment_to=time_assignment_to, + time_of_assignment=time_of_assignment, + time_of_deletion=time_of_deletion, + unassigner_id=unassigner_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + assigner_id: Optional[pulumi.Input[str]] = None, + comment: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + detachment_description: Optional[pulumi.Input[str]] = None, + error_code: Optional[pulumi.Input[int]] = None, + error_message: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_auto_approve_during_maintenance: Optional[pulumi.Input[bool]] = None, + is_default_assignment: Optional[pulumi.Input[bool]] = None, + is_enforced_always: Optional[pulumi.Input[bool]] = None, + is_log_forwarded: Optional[pulumi.Input[bool]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + operator_control_id: Optional[pulumi.Input[str]] = None, + remote_syslog_server_address: Optional[pulumi.Input[str]] = None, + remote_syslog_server_ca_cert: Optional[pulumi.Input[str]] = None, + remote_syslog_server_port: Optional[pulumi.Input[int]] = None, + resource_compartment_id: Optional[pulumi.Input[str]] = None, + resource_id: Optional[pulumi.Input[str]] = None, + resource_name: Optional[pulumi.Input[str]] = None, + resource_type: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_assignment_from: Optional[pulumi.Input[str]] = None, + time_assignment_to: Optional[pulumi.Input[str]] = None, + time_of_assignment: Optional[pulumi.Input[str]] = None, + time_of_deletion: Optional[pulumi.Input[str]] = None, + unassigner_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if assigner_id is not None: - pulumi.set(__self__, "assigner_id", assigner_id) + _setter("assigner_id", assigner_id) if comment is not None: - pulumi.set(__self__, "comment", comment) + _setter("comment", comment) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if detachment_description is not None: - pulumi.set(__self__, "detachment_description", detachment_description) + _setter("detachment_description", detachment_description) if error_code is not None: - pulumi.set(__self__, "error_code", error_code) + _setter("error_code", error_code) if error_message is not None: - pulumi.set(__self__, "error_message", error_message) + _setter("error_message", error_message) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_auto_approve_during_maintenance is not None: - pulumi.set(__self__, "is_auto_approve_during_maintenance", is_auto_approve_during_maintenance) + _setter("is_auto_approve_during_maintenance", is_auto_approve_during_maintenance) if is_default_assignment is not None: - pulumi.set(__self__, "is_default_assignment", is_default_assignment) + _setter("is_default_assignment", is_default_assignment) if is_enforced_always is not None: - pulumi.set(__self__, "is_enforced_always", is_enforced_always) + _setter("is_enforced_always", is_enforced_always) if is_log_forwarded is not None: - pulumi.set(__self__, "is_log_forwarded", is_log_forwarded) + _setter("is_log_forwarded", is_log_forwarded) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if operator_control_id is not None: - pulumi.set(__self__, "operator_control_id", operator_control_id) + _setter("operator_control_id", operator_control_id) if remote_syslog_server_address is not None: - pulumi.set(__self__, "remote_syslog_server_address", remote_syslog_server_address) + _setter("remote_syslog_server_address", remote_syslog_server_address) if remote_syslog_server_ca_cert is not None: - pulumi.set(__self__, "remote_syslog_server_ca_cert", remote_syslog_server_ca_cert) + _setter("remote_syslog_server_ca_cert", remote_syslog_server_ca_cert) if remote_syslog_server_port is not None: - pulumi.set(__self__, "remote_syslog_server_port", remote_syslog_server_port) + _setter("remote_syslog_server_port", remote_syslog_server_port) if resource_compartment_id is not None: - pulumi.set(__self__, "resource_compartment_id", resource_compartment_id) + _setter("resource_compartment_id", resource_compartment_id) if resource_id is not None: - pulumi.set(__self__, "resource_id", resource_id) + _setter("resource_id", resource_id) if resource_name is not None: - pulumi.set(__self__, "resource_name", resource_name) + _setter("resource_name", resource_name) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_assignment_from is not None: - pulumi.set(__self__, "time_assignment_from", time_assignment_from) + _setter("time_assignment_from", time_assignment_from) if time_assignment_to is not None: - pulumi.set(__self__, "time_assignment_to", time_assignment_to) + _setter("time_assignment_to", time_assignment_to) if time_of_assignment is not None: - pulumi.set(__self__, "time_of_assignment", time_of_assignment) + _setter("time_of_assignment", time_of_assignment) if time_of_deletion is not None: - pulumi.set(__self__, "time_of_deletion", time_of_deletion) + _setter("time_of_deletion", time_of_deletion) if unassigner_id is not None: - pulumi.set(__self__, "unassigner_id", unassigner_id) + _setter("unassigner_id", unassigner_id) @property @pulumi.getter(name="assignerId") @@ -881,6 +983,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + OperatorControlAssignmentArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/operatoraccesscontrol/outputs.py b/sdk/python/pulumi_oci/operatoraccesscontrol/outputs.py index eeb0b36ad4..442be068d6 100644 --- a/sdk/python/pulumi_oci/operatoraccesscontrol/outputs.py +++ b/sdk/python/pulumi_oci/operatoraccesscontrol/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -47,13 +47,34 @@ def __init__(__self__, *, :param str time_of_action: Time when the respective action happened in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format. Example: '2020-05-22T21:10:29.600Z' :param str user_id: Approver who modified the access request. """ - pulumi.set(__self__, "actions_lists", actions_lists) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "duration", duration) - pulumi.set(__self__, "is_auto_approved", is_auto_approved) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_of_action", time_of_action) - pulumi.set(__self__, "user_id", user_id) + GetAccessRequestHistoryItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + actions_lists=actions_lists, + description=description, + duration=duration, + is_auto_approved=is_auto_approved, + state=state, + time_of_action=time_of_action, + user_id=user_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + actions_lists: Sequence[str], + description: str, + duration: int, + is_auto_approved: bool, + state: str, + time_of_action: str, + user_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("actions_lists", actions_lists) + _setter("description", description) + _setter("duration", duration) + _setter("is_auto_approved", is_auto_approved) + _setter("state", state) + _setter("time_of_action", time_of_action) + _setter("user_id", user_id) @property @pulumi.getter(name="actionsLists") @@ -116,7 +137,16 @@ def user_id(self) -> str: class GetAccessRequestsAccessRequestCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetAccessRequestsAccessRequestCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetAccessRequestsAccessRequestCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetAccessRequestsAccessRequestCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -191,37 +221,106 @@ def __init__(__self__, *, :param str user_id: The OCID of the user that last modified the access request. :param Sequence[str] workflow_ids: The OCID of the workflow associated with the access request. This is needed if you want to contact Oracle Support for a stuck access request or for an access request that encounters an internal error. """ - pulumi.set(__self__, "access_reason_summary", access_reason_summary) - pulumi.set(__self__, "action_requests_lists", action_requests_lists) - pulumi.set(__self__, "approver_comment", approver_comment) - pulumi.set(__self__, "audit_types", audit_types) - pulumi.set(__self__, "closure_comment", closure_comment) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "duration", duration) - pulumi.set(__self__, "extend_duration", extend_duration) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_auto_approved", is_auto_approved) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "opctl_additional_message", opctl_additional_message) - pulumi.set(__self__, "opctl_id", opctl_id) - pulumi.set(__self__, "opctl_name", opctl_name) - pulumi.set(__self__, "operator_id", operator_id) - pulumi.set(__self__, "reason", reason) - pulumi.set(__self__, "request_id", request_id) - pulumi.set(__self__, "resource_id", resource_id) - pulumi.set(__self__, "resource_name", resource_name) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "severity", severity) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "sub_resource_lists", sub_resource_lists) - pulumi.set(__self__, "system_message", system_message) - pulumi.set(__self__, "time_of_creation", time_of_creation) - pulumi.set(__self__, "time_of_modification", time_of_modification) - pulumi.set(__self__, "time_of_user_creation", time_of_user_creation) - pulumi.set(__self__, "user_id", user_id) - pulumi.set(__self__, "workflow_ids", workflow_ids) + GetAccessRequestsAccessRequestCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + access_reason_summary=access_reason_summary, + action_requests_lists=action_requests_lists, + approver_comment=approver_comment, + audit_types=audit_types, + closure_comment=closure_comment, + compartment_id=compartment_id, + defined_tags=defined_tags, + duration=duration, + extend_duration=extend_duration, + freeform_tags=freeform_tags, + id=id, + is_auto_approved=is_auto_approved, + lifecycle_details=lifecycle_details, + opctl_additional_message=opctl_additional_message, + opctl_id=opctl_id, + opctl_name=opctl_name, + operator_id=operator_id, + reason=reason, + request_id=request_id, + resource_id=resource_id, + resource_name=resource_name, + resource_type=resource_type, + severity=severity, + state=state, + sub_resource_lists=sub_resource_lists, + system_message=system_message, + time_of_creation=time_of_creation, + time_of_modification=time_of_modification, + time_of_user_creation=time_of_user_creation, + user_id=user_id, + workflow_ids=workflow_ids, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access_reason_summary: str, + action_requests_lists: Sequence[str], + approver_comment: str, + audit_types: Sequence[str], + closure_comment: str, + compartment_id: str, + defined_tags: Mapping[str, Any], + duration: int, + extend_duration: int, + freeform_tags: Mapping[str, Any], + id: str, + is_auto_approved: bool, + lifecycle_details: str, + opctl_additional_message: str, + opctl_id: str, + opctl_name: str, + operator_id: str, + reason: str, + request_id: str, + resource_id: str, + resource_name: str, + resource_type: str, + severity: str, + state: str, + sub_resource_lists: Sequence[str], + system_message: str, + time_of_creation: str, + time_of_modification: str, + time_of_user_creation: str, + user_id: str, + workflow_ids: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("access_reason_summary", access_reason_summary) + _setter("action_requests_lists", action_requests_lists) + _setter("approver_comment", approver_comment) + _setter("audit_types", audit_types) + _setter("closure_comment", closure_comment) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("duration", duration) + _setter("extend_duration", extend_duration) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_auto_approved", is_auto_approved) + _setter("lifecycle_details", lifecycle_details) + _setter("opctl_additional_message", opctl_additional_message) + _setter("opctl_id", opctl_id) + _setter("opctl_name", opctl_name) + _setter("operator_id", operator_id) + _setter("reason", reason) + _setter("request_id", request_id) + _setter("resource_id", resource_id) + _setter("resource_name", resource_name) + _setter("resource_type", resource_type) + _setter("severity", severity) + _setter("state", state) + _setter("sub_resource_lists", sub_resource_lists) + _setter("system_message", system_message) + _setter("time_of_creation", time_of_creation) + _setter("time_of_modification", time_of_modification) + _setter("time_of_user_creation", time_of_user_creation) + _setter("user_id", user_id) + _setter("workflow_ids", workflow_ids) @property @pulumi.getter(name="accessReasonSummary") @@ -478,10 +577,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAccessRequestsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -508,8 +620,19 @@ def __init__(__self__, *, :param str name: Name of the property :param str value: value of the property """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + GetActionPropertyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("value", value) @property @pulumi.getter @@ -537,10 +660,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the entire display name given. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetActionsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -565,7 +701,16 @@ def regex(self) -> Optional[bool]: class GetActionsOperatorActionCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetActionsOperatorActionCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetActionsOperatorActionCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetActionsOperatorActionCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -596,17 +741,42 @@ def __init__(__self__, *, :param str compartment_id: The ID of the compartment in which to list resources. :param str state: A filter to return only resources whose lifecycleState matches the given OperatorAction lifecycleState. """ - pulumi.set(__self__, "component", component) - pulumi.set(__self__, "customer_display_name", customer_display_name) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "properties", properties) - pulumi.set(__self__, "resource_type", resource_type) + GetActionsOperatorActionCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + component=component, + customer_display_name=customer_display_name, + description=description, + id=id, + name=name, + properties=properties, + resource_type=resource_type, + compartment_id=compartment_id, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + component: str, + customer_display_name: str, + description: str, + id: str, + name: str, + properties: Sequence['outputs.GetActionsOperatorActionCollectionItemPropertyResult'], + resource_type: str, + compartment_id: Optional[str] = None, + state: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("component", component) + _setter("customer_display_name", customer_display_name) + _setter("description", description) + _setter("id", id) + _setter("name", name) + _setter("properties", properties) + _setter("resource_type", resource_type) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) @property @pulumi.getter @@ -690,8 +860,19 @@ def __init__(__self__, *, :param str name: A filter to return only resources that match the entire display name given. :param str value: value of the property """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + GetActionsOperatorActionCollectionItemPropertyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("value", value) @property @pulumi.getter @@ -716,10 +897,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetControlAssignmentsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -741,7 +935,16 @@ def regex(self) -> Optional[bool]: class GetControlAssignmentsOperatorControlAssignmentCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetControlAssignmentsOperatorControlAssignmentCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetControlAssignmentsOperatorControlAssignmentCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetControlAssignmentsOperatorControlAssignmentCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -810,34 +1013,97 @@ def __init__(__self__, *, :param str time_of_deletion: Time on which the operator control assignment was deleted in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format.Example: '2020-05-22T21:10:29.600Z' :param str unassigner_id: User id who released the operatorControl. """ - pulumi.set(__self__, "assigner_id", assigner_id) - pulumi.set(__self__, "comment", comment) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "detachment_description", detachment_description) - pulumi.set(__self__, "error_code", error_code) - pulumi.set(__self__, "error_message", error_message) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_auto_approve_during_maintenance", is_auto_approve_during_maintenance) - pulumi.set(__self__, "is_default_assignment", is_default_assignment) - pulumi.set(__self__, "is_enforced_always", is_enforced_always) - pulumi.set(__self__, "is_log_forwarded", is_log_forwarded) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "operator_control_id", operator_control_id) - pulumi.set(__self__, "remote_syslog_server_address", remote_syslog_server_address) - pulumi.set(__self__, "remote_syslog_server_ca_cert", remote_syslog_server_ca_cert) - pulumi.set(__self__, "remote_syslog_server_port", remote_syslog_server_port) - pulumi.set(__self__, "resource_compartment_id", resource_compartment_id) - pulumi.set(__self__, "resource_id", resource_id) - pulumi.set(__self__, "resource_name", resource_name) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_assignment_from", time_assignment_from) - pulumi.set(__self__, "time_assignment_to", time_assignment_to) - pulumi.set(__self__, "time_of_assignment", time_of_assignment) - pulumi.set(__self__, "time_of_deletion", time_of_deletion) - pulumi.set(__self__, "unassigner_id", unassigner_id) + GetControlAssignmentsOperatorControlAssignmentCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + assigner_id=assigner_id, + comment=comment, + compartment_id=compartment_id, + defined_tags=defined_tags, + detachment_description=detachment_description, + error_code=error_code, + error_message=error_message, + freeform_tags=freeform_tags, + id=id, + is_auto_approve_during_maintenance=is_auto_approve_during_maintenance, + is_default_assignment=is_default_assignment, + is_enforced_always=is_enforced_always, + is_log_forwarded=is_log_forwarded, + lifecycle_details=lifecycle_details, + operator_control_id=operator_control_id, + remote_syslog_server_address=remote_syslog_server_address, + remote_syslog_server_ca_cert=remote_syslog_server_ca_cert, + remote_syslog_server_port=remote_syslog_server_port, + resource_compartment_id=resource_compartment_id, + resource_id=resource_id, + resource_name=resource_name, + resource_type=resource_type, + state=state, + time_assignment_from=time_assignment_from, + time_assignment_to=time_assignment_to, + time_of_assignment=time_of_assignment, + time_of_deletion=time_of_deletion, + unassigner_id=unassigner_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + assigner_id: str, + comment: str, + compartment_id: str, + defined_tags: Mapping[str, Any], + detachment_description: str, + error_code: int, + error_message: str, + freeform_tags: Mapping[str, Any], + id: str, + is_auto_approve_during_maintenance: bool, + is_default_assignment: bool, + is_enforced_always: bool, + is_log_forwarded: bool, + lifecycle_details: str, + operator_control_id: str, + remote_syslog_server_address: str, + remote_syslog_server_ca_cert: str, + remote_syslog_server_port: int, + resource_compartment_id: str, + resource_id: str, + resource_name: str, + resource_type: str, + state: str, + time_assignment_from: str, + time_assignment_to: str, + time_of_assignment: str, + time_of_deletion: str, + unassigner_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("assigner_id", assigner_id) + _setter("comment", comment) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("detachment_description", detachment_description) + _setter("error_code", error_code) + _setter("error_message", error_message) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_auto_approve_during_maintenance", is_auto_approve_during_maintenance) + _setter("is_default_assignment", is_default_assignment) + _setter("is_enforced_always", is_enforced_always) + _setter("is_log_forwarded", is_log_forwarded) + _setter("lifecycle_details", lifecycle_details) + _setter("operator_control_id", operator_control_id) + _setter("remote_syslog_server_address", remote_syslog_server_address) + _setter("remote_syslog_server_ca_cert", remote_syslog_server_ca_cert) + _setter("remote_syslog_server_port", remote_syslog_server_port) + _setter("resource_compartment_id", resource_compartment_id) + _setter("resource_id", resource_id) + _setter("resource_name", resource_name) + _setter("resource_type", resource_type) + _setter("state", state) + _setter("time_assignment_from", time_assignment_from) + _setter("time_assignment_to", time_assignment_to) + _setter("time_of_assignment", time_of_assignment) + _setter("time_of_deletion", time_of_deletion) + _setter("unassigner_id", unassigner_id) @property @pulumi.getter(name="assignerId") @@ -1070,10 +1336,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetControlsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1095,7 +1374,16 @@ def regex(self) -> Optional[bool]: class GetControlsOperatorControlCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetControlsOperatorControlCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetControlsOperatorControlCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetControlsOperatorControlCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1148,26 +1436,73 @@ def __init__(__self__, *, :param str time_of_deletion: Time when deleted expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339)timestamp format. Example: '2020-05-22T21:10:29.600Z'. Note a deleted operator control still stays in the system, so that you can still audit operator actions associated with access requests raised on target resources governed by the deleted operator control. :param str time_of_modification: Time when the operator control was last modified expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: '2020-05-22T21:10:29.600Z' """ - pulumi.set(__self__, "approval_required_op_action_lists", approval_required_op_action_lists) - pulumi.set(__self__, "approver_groups_lists", approver_groups_lists) - pulumi.set(__self__, "approvers_lists", approvers_lists) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "email_id_lists", email_id_lists) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_default_operator_control", is_default_operator_control) - pulumi.set(__self__, "is_fully_pre_approved", is_fully_pre_approved) - pulumi.set(__self__, "last_modified_info", last_modified_info) - pulumi.set(__self__, "operator_control_name", operator_control_name) - pulumi.set(__self__, "pre_approved_op_action_lists", pre_approved_op_action_lists) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_message", system_message) - pulumi.set(__self__, "time_of_creation", time_of_creation) - pulumi.set(__self__, "time_of_deletion", time_of_deletion) - pulumi.set(__self__, "time_of_modification", time_of_modification) + GetControlsOperatorControlCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + approval_required_op_action_lists=approval_required_op_action_lists, + approver_groups_lists=approver_groups_lists, + approvers_lists=approvers_lists, + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + email_id_lists=email_id_lists, + freeform_tags=freeform_tags, + id=id, + is_default_operator_control=is_default_operator_control, + is_fully_pre_approved=is_fully_pre_approved, + last_modified_info=last_modified_info, + operator_control_name=operator_control_name, + pre_approved_op_action_lists=pre_approved_op_action_lists, + resource_type=resource_type, + state=state, + system_message=system_message, + time_of_creation=time_of_creation, + time_of_deletion=time_of_deletion, + time_of_modification=time_of_modification, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + approval_required_op_action_lists: Sequence[str], + approver_groups_lists: Sequence[str], + approvers_lists: Sequence[str], + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + email_id_lists: Sequence[str], + freeform_tags: Mapping[str, Any], + id: str, + is_default_operator_control: bool, + is_fully_pre_approved: bool, + last_modified_info: str, + operator_control_name: str, + pre_approved_op_action_lists: Sequence[str], + resource_type: str, + state: str, + system_message: str, + time_of_creation: str, + time_of_deletion: str, + time_of_modification: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("approval_required_op_action_lists", approval_required_op_action_lists) + _setter("approver_groups_lists", approver_groups_lists) + _setter("approvers_lists", approvers_lists) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("email_id_lists", email_id_lists) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_default_operator_control", is_default_operator_control) + _setter("is_fully_pre_approved", is_fully_pre_approved) + _setter("last_modified_info", last_modified_info) + _setter("operator_control_name", operator_control_name) + _setter("pre_approved_op_action_lists", pre_approved_op_action_lists) + _setter("resource_type", resource_type) + _setter("state", state) + _setter("system_message", system_message) + _setter("time_of_creation", time_of_creation) + _setter("time_of_deletion", time_of_deletion) + _setter("time_of_modification", time_of_modification) @property @pulumi.getter(name="approvalRequiredOpActionLists") diff --git a/sdk/python/pulumi_oci/opsi/_inputs.py b/sdk/python/pulumi_oci/opsi/_inputs.py index 368c50dfc8..4fced58fa0 100644 --- a/sdk/python/pulumi_oci/opsi/_inputs.py +++ b/sdk/python/pulumi_oci/opsi/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -54,18 +54,37 @@ def __init__(__self__, *, :param pulumi.Input[str] user_name: database user name. :param pulumi.Input[str] wallet_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database keystore contents are stored. """ + DatabaseInsightConnectionCredentialDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + credential_source_name=credential_source_name, + credential_type=credential_type, + password_secret_id=password_secret_id, + role=role, + user_name=user_name, + wallet_secret_id=wallet_secret_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + credential_source_name: Optional[pulumi.Input[str]] = None, + credential_type: Optional[pulumi.Input[str]] = None, + password_secret_id: Optional[pulumi.Input[str]] = None, + role: Optional[pulumi.Input[str]] = None, + user_name: Optional[pulumi.Input[str]] = None, + wallet_secret_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if credential_source_name is not None: - pulumi.set(__self__, "credential_source_name", credential_source_name) + _setter("credential_source_name", credential_source_name) if credential_type is not None: - pulumi.set(__self__, "credential_type", credential_type) + _setter("credential_type", credential_type) if password_secret_id is not None: - pulumi.set(__self__, "password_secret_id", password_secret_id) + _setter("password_secret_id", password_secret_id) if role is not None: - pulumi.set(__self__, "role", role) + _setter("role", role) if user_name is not None: - pulumi.set(__self__, "user_name", user_name) + _setter("user_name", user_name) if wallet_secret_id is not None: - pulumi.set(__self__, "wallet_secret_id", wallet_secret_id) + _setter("wallet_secret_id", wallet_secret_id) @property @pulumi.getter(name="credentialSourceName") @@ -155,16 +174,33 @@ def __init__(__self__, *, :param pulumi.Input[str] protocol: Protocol used for connection requests for private endpoint accssed database resource. :param pulumi.Input[str] service_name: Database service name used for connection requests. """ + DatabaseInsightConnectionDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + host_name=host_name, + hosts=hosts, + port=port, + protocol=protocol, + service_name=service_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host_name: Optional[pulumi.Input[str]] = None, + hosts: Optional[pulumi.Input[Sequence[pulumi.Input['DatabaseInsightConnectionDetailsHostArgs']]]] = None, + port: Optional[pulumi.Input[int]] = None, + protocol: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if host_name is not None: - pulumi.set(__self__, "host_name", host_name) + _setter("host_name", host_name) if hosts is not None: - pulumi.set(__self__, "hosts", hosts) + _setter("hosts", hosts) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if protocol is not None: - pulumi.set(__self__, "protocol", protocol) + _setter("protocol", protocol) if service_name is not None: - pulumi.set(__self__, "service_name", service_name) + _setter("service_name", service_name) @property @pulumi.getter(name="hostName") @@ -236,10 +272,21 @@ def __init__(__self__, *, :param pulumi.Input[str] host_ip: Host IP used for connection requests for Cloud DB resource. :param pulumi.Input[int] port: Listener port number used for connection requests for rivate endpoint accessed db resource. """ + DatabaseInsightConnectionDetailsHostArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + host_ip=host_ip, + port=port, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host_ip: Optional[pulumi.Input[str]] = None, + port: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if host_ip is not None: - pulumi.set(__self__, "host_ip", host_ip) + _setter("host_ip", host_ip) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) @property @pulumi.getter(name="hostIp") @@ -283,17 +330,36 @@ def __init__(__self__, *, :param pulumi.Input[str] user_name: database user name. :param pulumi.Input[str] wallet_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database keystore contents are stored. """ - pulumi.set(__self__, "credential_type", credential_type) + DatabaseInsightCredentialDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + credential_type=credential_type, + credential_source_name=credential_source_name, + password_secret_id=password_secret_id, + role=role, + user_name=user_name, + wallet_secret_id=wallet_secret_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + credential_type: pulumi.Input[str], + credential_source_name: Optional[pulumi.Input[str]] = None, + password_secret_id: Optional[pulumi.Input[str]] = None, + role: Optional[pulumi.Input[str]] = None, + user_name: Optional[pulumi.Input[str]] = None, + wallet_secret_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("credential_type", credential_type) if credential_source_name is not None: - pulumi.set(__self__, "credential_source_name", credential_source_name) + _setter("credential_source_name", credential_source_name) if password_secret_id is not None: - pulumi.set(__self__, "password_secret_id", password_secret_id) + _setter("password_secret_id", password_secret_id) if role is not None: - pulumi.set(__self__, "role", role) + _setter("role", role) if user_name is not None: - pulumi.set(__self__, "user_name", user_name) + _setter("user_name", user_name) if wallet_secret_id is not None: - pulumi.set(__self__, "wallet_secret_id", wallet_secret_id) + _setter("wallet_secret_id", wallet_secret_id) @property @pulumi.getter(name="credentialType") @@ -383,16 +449,33 @@ def __init__(__self__, *, :param pulumi.Input[str] opsi_private_endpoint_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the OPSI private endpoint :param pulumi.Input[str] vmcluster_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM Cluster. """ + ExadataInsightMemberVmClusterDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + dbm_private_endpoint_id=dbm_private_endpoint_id, + member_database_details=member_database_details, + opsi_private_endpoint_id=opsi_private_endpoint_id, + vmcluster_id=vmcluster_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + dbm_private_endpoint_id: Optional[pulumi.Input[str]] = None, + member_database_details: Optional[pulumi.Input[Sequence[pulumi.Input['ExadataInsightMemberVmClusterDetailMemberDatabaseDetailArgs']]]] = None, + opsi_private_endpoint_id: Optional[pulumi.Input[str]] = None, + vmcluster_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if dbm_private_endpoint_id is not None: - pulumi.set(__self__, "dbm_private_endpoint_id", dbm_private_endpoint_id) + _setter("dbm_private_endpoint_id", dbm_private_endpoint_id) if member_database_details is not None: - pulumi.set(__self__, "member_database_details", member_database_details) + _setter("member_database_details", member_database_details) if opsi_private_endpoint_id is not None: - pulumi.set(__self__, "opsi_private_endpoint_id", opsi_private_endpoint_id) + _setter("opsi_private_endpoint_id", opsi_private_endpoint_id) if vmcluster_id is not None: - pulumi.set(__self__, "vmcluster_id", vmcluster_id) + _setter("vmcluster_id", vmcluster_id) @property @pulumi.getter(name="compartmentId") @@ -486,32 +569,65 @@ def __init__(__self__, *, :param pulumi.Input[str] service_name: Database service name used for connection requests. :param pulumi.Input[Mapping[str, Any]] system_tags: System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` """ + ExadataInsightMemberVmClusterDetailMemberDatabaseDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + connection_details=connection_details, + credential_details=credential_details, + database_id=database_id, + database_resource_type=database_resource_type, + dbm_private_endpoint_id=dbm_private_endpoint_id, + defined_tags=defined_tags, + deployment_type=deployment_type, + entity_source=entity_source, + freeform_tags=freeform_tags, + opsi_private_endpoint_id=opsi_private_endpoint_id, + service_name=service_name, + system_tags=system_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + connection_details: Optional[pulumi.Input['ExadataInsightMemberVmClusterDetailMemberDatabaseDetailConnectionDetailsArgs']] = None, + credential_details: Optional[pulumi.Input['ExadataInsightMemberVmClusterDetailMemberDatabaseDetailCredentialDetailsArgs']] = None, + database_id: Optional[pulumi.Input[str]] = None, + database_resource_type: Optional[pulumi.Input[str]] = None, + dbm_private_endpoint_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + deployment_type: Optional[pulumi.Input[str]] = None, + entity_source: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opsi_private_endpoint_id: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if connection_details is not None: - pulumi.set(__self__, "connection_details", connection_details) + _setter("connection_details", connection_details) if credential_details is not None: - pulumi.set(__self__, "credential_details", credential_details) + _setter("credential_details", credential_details) if database_id is not None: - pulumi.set(__self__, "database_id", database_id) + _setter("database_id", database_id) if database_resource_type is not None: - pulumi.set(__self__, "database_resource_type", database_resource_type) + _setter("database_resource_type", database_resource_type) if dbm_private_endpoint_id is not None: - pulumi.set(__self__, "dbm_private_endpoint_id", dbm_private_endpoint_id) + _setter("dbm_private_endpoint_id", dbm_private_endpoint_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if deployment_type is not None: - pulumi.set(__self__, "deployment_type", deployment_type) + _setter("deployment_type", deployment_type) if entity_source is not None: - pulumi.set(__self__, "entity_source", entity_source) + _setter("entity_source", entity_source) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if opsi_private_endpoint_id is not None: - pulumi.set(__self__, "opsi_private_endpoint_id", opsi_private_endpoint_id) + _setter("opsi_private_endpoint_id", opsi_private_endpoint_id) if service_name is not None: - pulumi.set(__self__, "service_name", service_name) + _setter("service_name", service_name) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) @property @pulumi.getter(name="compartmentId") @@ -681,12 +797,25 @@ def __init__(__self__, *, :param pulumi.Input[str] protocol: Protocol used for connection requests for private endpoint accssed database resource. :param pulumi.Input[str] service_name: Database service name used for connection requests. """ + ExadataInsightMemberVmClusterDetailMemberDatabaseDetailConnectionDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + hosts=hosts, + protocol=protocol, + service_name=service_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hosts: Optional[pulumi.Input[Sequence[pulumi.Input['ExadataInsightMemberVmClusterDetailMemberDatabaseDetailConnectionDetailsHostArgs']]]] = None, + protocol: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if hosts is not None: - pulumi.set(__self__, "hosts", hosts) + _setter("hosts", hosts) if protocol is not None: - pulumi.set(__self__, "protocol", protocol) + _setter("protocol", protocol) if service_name is not None: - pulumi.set(__self__, "service_name", service_name) + _setter("service_name", service_name) @property @pulumi.getter @@ -734,10 +863,21 @@ def __init__(__self__, *, :param pulumi.Input[str] host_ip: Host IP used for connection requests for Cloud DB resource. :param pulumi.Input[int] port: Listener port number used for connection requests for rivate endpoint accessed db resource. """ + ExadataInsightMemberVmClusterDetailMemberDatabaseDetailConnectionDetailsHostArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + host_ip=host_ip, + port=port, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host_ip: Optional[pulumi.Input[str]] = None, + port: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if host_ip is not None: - pulumi.set(__self__, "host_ip", host_ip) + _setter("host_ip", host_ip) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) @property @pulumi.getter(name="hostIp") @@ -781,17 +921,36 @@ def __init__(__self__, *, :param pulumi.Input[str] user_name: database user name. :param pulumi.Input[str] wallet_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database keystore contents are stored. """ - pulumi.set(__self__, "credential_type", credential_type) + ExadataInsightMemberVmClusterDetailMemberDatabaseDetailCredentialDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + credential_type=credential_type, + credential_source_name=credential_source_name, + password_secret_id=password_secret_id, + role=role, + user_name=user_name, + wallet_secret_id=wallet_secret_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + credential_type: pulumi.Input[str], + credential_source_name: Optional[pulumi.Input[str]] = None, + password_secret_id: Optional[pulumi.Input[str]] = None, + role: Optional[pulumi.Input[str]] = None, + user_name: Optional[pulumi.Input[str]] = None, + wallet_secret_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("credential_type", credential_type) if credential_source_name is not None: - pulumi.set(__self__, "credential_source_name", credential_source_name) + _setter("credential_source_name", credential_source_name) if password_secret_id is not None: - pulumi.set(__self__, "password_secret_id", password_secret_id) + _setter("password_secret_id", password_secret_id) if role is not None: - pulumi.set(__self__, "role", role) + _setter("role", role) if user_name is not None: - pulumi.set(__self__, "user_name", user_name) + _setter("user_name", user_name) if wallet_secret_id is not None: - pulumi.set(__self__, "wallet_secret_id", wallet_secret_id) + _setter("wallet_secret_id", wallet_secret_id) @property @pulumi.getter(name="credentialType") @@ -873,7 +1032,16 @@ def __init__(__self__, *, """ :param pulumi.Input[Sequence[pulumi.Input[str]]] capacity_planning_resources: (Updatable) Supported resources for capacity planning content type. """ - pulumi.set(__self__, "capacity_planning_resources", capacity_planning_resources) + NewsReportContentTypesArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + capacity_planning_resources=capacity_planning_resources, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + capacity_planning_resources: pulumi.Input[Sequence[pulumi.Input[str]]], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("capacity_planning_resources", capacity_planning_resources) @property @pulumi.getter(name="capacityPlanningResources") @@ -905,17 +1073,36 @@ def __init__(__self__, *, :param pulumi.Input[str] name: (Updatable) Name of configuration item. :param pulumi.Input[str] value: (Updatable) Value of configuration item. """ - pulumi.set(__self__, "config_item_type", config_item_type) + OpsiConfigurationConfigItemArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + config_item_type=config_item_type, + applicable_contexts=applicable_contexts, + default_value=default_value, + metadatas=metadatas, + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + config_item_type: pulumi.Input[str], + applicable_contexts: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + default_value: Optional[pulumi.Input[str]] = None, + metadatas: Optional[pulumi.Input[Sequence[pulumi.Input['OpsiConfigurationConfigItemMetadataArgs']]]] = None, + name: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("config_item_type", config_item_type) if applicable_contexts is not None: - pulumi.set(__self__, "applicable_contexts", applicable_contexts) + _setter("applicable_contexts", applicable_contexts) if default_value is not None: - pulumi.set(__self__, "default_value", default_value) + _setter("default_value", default_value) if metadatas is not None: - pulumi.set(__self__, "metadatas", metadatas) + _setter("metadatas", metadatas) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter(name="configItemType") @@ -1007,18 +1194,37 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['OpsiConfigurationConfigItemMetadataUnitDetailArgs']]] unit_details: Unit details of configuration item. :param pulumi.Input[Sequence[pulumi.Input['OpsiConfigurationConfigItemMetadataValueInputDetailArgs']]] value_input_details: Allowed value details of configuration item, to validate what value can be assigned to a configuration item. """ + OpsiConfigurationConfigItemMetadataArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + config_item_type=config_item_type, + data_type=data_type, + description=description, + display_name=display_name, + unit_details=unit_details, + value_input_details=value_input_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + config_item_type: Optional[pulumi.Input[str]] = None, + data_type: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + unit_details: Optional[pulumi.Input[Sequence[pulumi.Input['OpsiConfigurationConfigItemMetadataUnitDetailArgs']]]] = None, + value_input_details: Optional[pulumi.Input[Sequence[pulumi.Input['OpsiConfigurationConfigItemMetadataValueInputDetailArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if config_item_type is not None: - pulumi.set(__self__, "config_item_type", config_item_type) + _setter("config_item_type", config_item_type) if data_type is not None: - pulumi.set(__self__, "data_type", data_type) + _setter("data_type", data_type) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if unit_details is not None: - pulumi.set(__self__, "unit_details", unit_details) + _setter("unit_details", unit_details) if value_input_details is not None: - pulumi.set(__self__, "value_input_details", value_input_details) + _setter("value_input_details", value_input_details) @property @pulumi.getter(name="configItemType") @@ -1102,10 +1308,21 @@ def __init__(__self__, *, :param pulumi.Input[str] display_name: (Updatable) User-friendly display name for the OPSI configuration. The name does not have to be unique. :param pulumi.Input[str] unit: Unit of configuration item. """ + OpsiConfigurationConfigItemMetadataUnitDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + unit=unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: Optional[pulumi.Input[str]] = None, + unit: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if unit is not None: - pulumi.set(__self__, "unit", unit) + _setter("unit", unit) @property @pulumi.getter(name="displayName") @@ -1145,14 +1362,29 @@ def __init__(__self__, *, :param pulumi.Input[str] min_value: Minimum value limit for the configuration item. :param pulumi.Input[Sequence[pulumi.Input[str]]] possible_values: Allowed values to pick for the configuration item. """ + OpsiConfigurationConfigItemMetadataValueInputDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_value_type=allowed_value_type, + max_value=max_value, + min_value=min_value, + possible_values=possible_values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_value_type: Optional[pulumi.Input[str]] = None, + max_value: Optional[pulumi.Input[str]] = None, + min_value: Optional[pulumi.Input[str]] = None, + possible_values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if allowed_value_type is not None: - pulumi.set(__self__, "allowed_value_type", allowed_value_type) + _setter("allowed_value_type", allowed_value_type) if max_value is not None: - pulumi.set(__self__, "max_value", max_value) + _setter("max_value", max_value) if min_value is not None: - pulumi.set(__self__, "min_value", min_value) + _setter("min_value", min_value) if possible_values is not None: - pulumi.set(__self__, "possible_values", possible_values) + _setter("possible_values", possible_values) @property @pulumi.getter(name="allowedValueType") @@ -1209,10 +1441,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAwrHubAwrSnapshotsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1248,10 +1493,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAwrHubsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1287,10 +1545,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDatabaseInsightsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1326,10 +1597,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetEnterpriseManagerBridgesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1365,10 +1649,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetExadataInsightsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1404,10 +1701,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetHostInsightsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1446,10 +1756,23 @@ def __init__(__self__, *, """ :param str name: The news report name. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetNewsReportsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1488,10 +1811,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetOperationsInsightsPrivateEndpointsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1530,10 +1866,23 @@ def __init__(__self__, *, """ :param str name: Username for schema which would have access to AWR Data, Enterprise Manager Data and Operations Insights OPSI Hub. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetOperationsInsightsWarehouseUsersFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1572,10 +1921,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetOperationsInsightsWarehousesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1614,10 +1976,23 @@ def __init__(__self__, *, """ :param str name: Name of configuration item. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetOpsiConfigurationsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/opsi/awr_hub.py b/sdk/python/pulumi_oci/opsi/awr_hub.py index f309c0f5be..1c5c8b5879 100644 --- a/sdk/python/pulumi_oci/opsi/awr_hub.py +++ b/sdk/python/pulumi_oci/opsi/awr_hub.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['AwrHubArgs', 'AwrHub'] @@ -33,14 +33,33 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "object_storage_bucket_name", object_storage_bucket_name) - pulumi.set(__self__, "operations_insights_warehouse_id", operations_insights_warehouse_id) + AwrHubArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + object_storage_bucket_name=object_storage_bucket_name, + operations_insights_warehouse_id=operations_insights_warehouse_id, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + object_storage_bucket_name: pulumi.Input[str], + operations_insights_warehouse_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) + _setter("object_storage_bucket_name", object_storage_bucket_name) + _setter("operations_insights_warehouse_id", operations_insights_warehouse_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="compartmentId") @@ -153,30 +172,61 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The time at which the resource was first created. An RFC3339 formatted datetime string :param pulumi.Input[str] time_updated: The time at which the resource was last updated. An RFC3339 formatted datetime string """ + _AwrHubState._configure( + lambda key, value: pulumi.set(__self__, key, value), + awr_mailbox_url=awr_mailbox_url, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + object_storage_bucket_name=object_storage_bucket_name, + operations_insights_warehouse_id=operations_insights_warehouse_id, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + awr_mailbox_url: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + object_storage_bucket_name: Optional[pulumi.Input[str]] = None, + operations_insights_warehouse_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if awr_mailbox_url is not None: - pulumi.set(__self__, "awr_mailbox_url", awr_mailbox_url) + _setter("awr_mailbox_url", awr_mailbox_url) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if object_storage_bucket_name is not None: - pulumi.set(__self__, "object_storage_bucket_name", object_storage_bucket_name) + _setter("object_storage_bucket_name", object_storage_bucket_name) if operations_insights_warehouse_id is not None: - pulumi.set(__self__, "operations_insights_warehouse_id", operations_insights_warehouse_id) + _setter("operations_insights_warehouse_id", operations_insights_warehouse_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="awrMailboxUrl") @@ -434,6 +484,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + AwrHubArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/opsi/database_insight.py b/sdk/python/pulumi_oci/opsi/database_insight.py index c154b4fddf..b551e00a5c 100644 --- a/sdk/python/pulumi_oci/opsi/database_insight.py +++ b/sdk/python/pulumi_oci/opsi/database_insight.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -60,42 +60,87 @@ def __init__(__self__, *, ** 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 resource destruction here is basically a soft delete. User cannot create resource using the same EM managed bridge OCID. If resource is in enabled state during destruction, the resource will be disabled automatically before performing delete operation. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "entity_source", entity_source) + DatabaseInsightArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + entity_source=entity_source, + connection_credential_details=connection_credential_details, + connection_details=connection_details, + credential_details=credential_details, + database_connection_status_details=database_connection_status_details, + database_id=database_id, + database_resource_type=database_resource_type, + dbm_private_endpoint_id=dbm_private_endpoint_id, + defined_tags=defined_tags, + deployment_type=deployment_type, + enterprise_manager_bridge_id=enterprise_manager_bridge_id, + enterprise_manager_entity_identifier=enterprise_manager_entity_identifier, + enterprise_manager_identifier=enterprise_manager_identifier, + exadata_insight_id=exadata_insight_id, + freeform_tags=freeform_tags, + opsi_private_endpoint_id=opsi_private_endpoint_id, + service_name=service_name, + status=status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + entity_source: pulumi.Input[str], + connection_credential_details: Optional[pulumi.Input['DatabaseInsightConnectionCredentialDetailsArgs']] = None, + connection_details: Optional[pulumi.Input['DatabaseInsightConnectionDetailsArgs']] = None, + credential_details: Optional[pulumi.Input['DatabaseInsightCredentialDetailsArgs']] = None, + database_connection_status_details: Optional[pulumi.Input[str]] = None, + database_id: Optional[pulumi.Input[str]] = None, + database_resource_type: Optional[pulumi.Input[str]] = None, + dbm_private_endpoint_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + deployment_type: Optional[pulumi.Input[str]] = None, + enterprise_manager_bridge_id: Optional[pulumi.Input[str]] = None, + enterprise_manager_entity_identifier: Optional[pulumi.Input[str]] = None, + enterprise_manager_identifier: Optional[pulumi.Input[str]] = None, + exadata_insight_id: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opsi_private_endpoint_id: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("entity_source", entity_source) if connection_credential_details is not None: - pulumi.set(__self__, "connection_credential_details", connection_credential_details) + _setter("connection_credential_details", connection_credential_details) if connection_details is not None: - pulumi.set(__self__, "connection_details", connection_details) + _setter("connection_details", connection_details) if credential_details is not None: - pulumi.set(__self__, "credential_details", credential_details) + _setter("credential_details", credential_details) if database_connection_status_details is not None: - pulumi.set(__self__, "database_connection_status_details", database_connection_status_details) + _setter("database_connection_status_details", database_connection_status_details) if database_id is not None: - pulumi.set(__self__, "database_id", database_id) + _setter("database_id", database_id) if database_resource_type is not None: - pulumi.set(__self__, "database_resource_type", database_resource_type) + _setter("database_resource_type", database_resource_type) if dbm_private_endpoint_id is not None: - pulumi.set(__self__, "dbm_private_endpoint_id", dbm_private_endpoint_id) + _setter("dbm_private_endpoint_id", dbm_private_endpoint_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if deployment_type is not None: - pulumi.set(__self__, "deployment_type", deployment_type) + _setter("deployment_type", deployment_type) if enterprise_manager_bridge_id is not None: - pulumi.set(__self__, "enterprise_manager_bridge_id", enterprise_manager_bridge_id) + _setter("enterprise_manager_bridge_id", enterprise_manager_bridge_id) if enterprise_manager_entity_identifier is not None: - pulumi.set(__self__, "enterprise_manager_entity_identifier", enterprise_manager_entity_identifier) + _setter("enterprise_manager_entity_identifier", enterprise_manager_entity_identifier) if enterprise_manager_identifier is not None: - pulumi.set(__self__, "enterprise_manager_identifier", enterprise_manager_identifier) + _setter("enterprise_manager_identifier", enterprise_manager_identifier) if exadata_insight_id is not None: - pulumi.set(__self__, "exadata_insight_id", exadata_insight_id) + _setter("exadata_insight_id", exadata_insight_id) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if opsi_private_endpoint_id is not None: - pulumi.set(__self__, "opsi_private_endpoint_id", opsi_private_endpoint_id) + _setter("opsi_private_endpoint_id", opsi_private_endpoint_id) if service_name is not None: - pulumi.set(__self__, "service_name", service_name) + _setter("service_name", service_name) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) @property @pulumi.getter(name="compartmentId") @@ -406,74 +451,149 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The time the the database insight was first enabled. An RFC3339 formatted datetime string :param pulumi.Input[str] time_updated: The time the database insight was updated. An RFC3339 formatted datetime string """ + _DatabaseInsightState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + connection_credential_details=connection_credential_details, + connection_details=connection_details, + credential_details=credential_details, + database_connection_status_details=database_connection_status_details, + database_display_name=database_display_name, + database_id=database_id, + database_name=database_name, + database_resource_type=database_resource_type, + database_type=database_type, + database_version=database_version, + dbm_private_endpoint_id=dbm_private_endpoint_id, + defined_tags=defined_tags, + deployment_type=deployment_type, + enterprise_manager_bridge_id=enterprise_manager_bridge_id, + enterprise_manager_entity_display_name=enterprise_manager_entity_display_name, + enterprise_manager_entity_identifier=enterprise_manager_entity_identifier, + enterprise_manager_entity_name=enterprise_manager_entity_name, + enterprise_manager_entity_type=enterprise_manager_entity_type, + enterprise_manager_identifier=enterprise_manager_identifier, + entity_source=entity_source, + exadata_insight_id=exadata_insight_id, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + opsi_private_endpoint_id=opsi_private_endpoint_id, + parent_id=parent_id, + processor_count=processor_count, + root_id=root_id, + service_name=service_name, + state=state, + status=status, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + connection_credential_details: Optional[pulumi.Input['DatabaseInsightConnectionCredentialDetailsArgs']] = None, + connection_details: Optional[pulumi.Input['DatabaseInsightConnectionDetailsArgs']] = None, + credential_details: Optional[pulumi.Input['DatabaseInsightCredentialDetailsArgs']] = None, + database_connection_status_details: Optional[pulumi.Input[str]] = None, + database_display_name: Optional[pulumi.Input[str]] = None, + database_id: Optional[pulumi.Input[str]] = None, + database_name: Optional[pulumi.Input[str]] = None, + database_resource_type: Optional[pulumi.Input[str]] = None, + database_type: Optional[pulumi.Input[str]] = None, + database_version: Optional[pulumi.Input[str]] = None, + dbm_private_endpoint_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + deployment_type: Optional[pulumi.Input[str]] = None, + enterprise_manager_bridge_id: Optional[pulumi.Input[str]] = None, + enterprise_manager_entity_display_name: Optional[pulumi.Input[str]] = None, + enterprise_manager_entity_identifier: Optional[pulumi.Input[str]] = None, + enterprise_manager_entity_name: Optional[pulumi.Input[str]] = None, + enterprise_manager_entity_type: Optional[pulumi.Input[str]] = None, + enterprise_manager_identifier: Optional[pulumi.Input[str]] = None, + entity_source: Optional[pulumi.Input[str]] = None, + exadata_insight_id: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + opsi_private_endpoint_id: Optional[pulumi.Input[str]] = None, + parent_id: Optional[pulumi.Input[str]] = None, + processor_count: Optional[pulumi.Input[int]] = None, + root_id: Optional[pulumi.Input[str]] = None, + service_name: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if connection_credential_details is not None: - pulumi.set(__self__, "connection_credential_details", connection_credential_details) + _setter("connection_credential_details", connection_credential_details) if connection_details is not None: - pulumi.set(__self__, "connection_details", connection_details) + _setter("connection_details", connection_details) if credential_details is not None: - pulumi.set(__self__, "credential_details", credential_details) + _setter("credential_details", credential_details) if database_connection_status_details is not None: - pulumi.set(__self__, "database_connection_status_details", database_connection_status_details) + _setter("database_connection_status_details", database_connection_status_details) if database_display_name is not None: - pulumi.set(__self__, "database_display_name", database_display_name) + _setter("database_display_name", database_display_name) if database_id is not None: - pulumi.set(__self__, "database_id", database_id) + _setter("database_id", database_id) if database_name is not None: - pulumi.set(__self__, "database_name", database_name) + _setter("database_name", database_name) if database_resource_type is not None: - pulumi.set(__self__, "database_resource_type", database_resource_type) + _setter("database_resource_type", database_resource_type) if database_type is not None: - pulumi.set(__self__, "database_type", database_type) + _setter("database_type", database_type) if database_version is not None: - pulumi.set(__self__, "database_version", database_version) + _setter("database_version", database_version) if dbm_private_endpoint_id is not None: - pulumi.set(__self__, "dbm_private_endpoint_id", dbm_private_endpoint_id) + _setter("dbm_private_endpoint_id", dbm_private_endpoint_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if deployment_type is not None: - pulumi.set(__self__, "deployment_type", deployment_type) + _setter("deployment_type", deployment_type) if enterprise_manager_bridge_id is not None: - pulumi.set(__self__, "enterprise_manager_bridge_id", enterprise_manager_bridge_id) + _setter("enterprise_manager_bridge_id", enterprise_manager_bridge_id) if enterprise_manager_entity_display_name is not None: - pulumi.set(__self__, "enterprise_manager_entity_display_name", enterprise_manager_entity_display_name) + _setter("enterprise_manager_entity_display_name", enterprise_manager_entity_display_name) if enterprise_manager_entity_identifier is not None: - pulumi.set(__self__, "enterprise_manager_entity_identifier", enterprise_manager_entity_identifier) + _setter("enterprise_manager_entity_identifier", enterprise_manager_entity_identifier) if enterprise_manager_entity_name is not None: - pulumi.set(__self__, "enterprise_manager_entity_name", enterprise_manager_entity_name) + _setter("enterprise_manager_entity_name", enterprise_manager_entity_name) if enterprise_manager_entity_type is not None: - pulumi.set(__self__, "enterprise_manager_entity_type", enterprise_manager_entity_type) + _setter("enterprise_manager_entity_type", enterprise_manager_entity_type) if enterprise_manager_identifier is not None: - pulumi.set(__self__, "enterprise_manager_identifier", enterprise_manager_identifier) + _setter("enterprise_manager_identifier", enterprise_manager_identifier) if entity_source is not None: - pulumi.set(__self__, "entity_source", entity_source) + _setter("entity_source", entity_source) if exadata_insight_id is not None: - pulumi.set(__self__, "exadata_insight_id", exadata_insight_id) + _setter("exadata_insight_id", exadata_insight_id) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if opsi_private_endpoint_id is not None: - pulumi.set(__self__, "opsi_private_endpoint_id", opsi_private_endpoint_id) + _setter("opsi_private_endpoint_id", opsi_private_endpoint_id) if parent_id is not None: - pulumi.set(__self__, "parent_id", parent_id) + _setter("parent_id", parent_id) if processor_count is not None: - pulumi.set(__self__, "processor_count", processor_count) + _setter("processor_count", processor_count) if root_id is not None: - pulumi.set(__self__, "root_id", root_id) + _setter("root_id", root_id) if service_name is not None: - pulumi.set(__self__, "service_name", service_name) + _setter("service_name", service_name) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -971,6 +1091,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DatabaseInsightArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -1007,8 +1131,23 @@ def _internal_init(__self__, if compartment_id is None and not opts.urn: raise TypeError("Missing required property 'compartment_id'") __props__.__dict__["compartment_id"] = compartment_id + if connection_credential_details is not None and not isinstance(connection_credential_details, DatabaseInsightConnectionCredentialDetailsArgs): + connection_credential_details = connection_credential_details or {} + def _setter(key, value): + connection_credential_details[key] = value + DatabaseInsightConnectionCredentialDetailsArgs._configure(_setter, **connection_credential_details) __props__.__dict__["connection_credential_details"] = connection_credential_details + if connection_details is not None and not isinstance(connection_details, DatabaseInsightConnectionDetailsArgs): + connection_details = connection_details or {} + def _setter(key, value): + connection_details[key] = value + DatabaseInsightConnectionDetailsArgs._configure(_setter, **connection_details) __props__.__dict__["connection_details"] = connection_details + if credential_details is not None and not isinstance(credential_details, DatabaseInsightCredentialDetailsArgs): + credential_details = credential_details or {} + def _setter(key, value): + credential_details[key] = value + DatabaseInsightCredentialDetailsArgs._configure(_setter, **credential_details) __props__.__dict__["credential_details"] = credential_details __props__.__dict__["database_connection_status_details"] = database_connection_status_details __props__.__dict__["database_id"] = database_id diff --git a/sdk/python/pulumi_oci/opsi/enterprise_manager_bridge.py b/sdk/python/pulumi_oci/opsi/enterprise_manager_bridge.py index 666302a324..b255f18478 100644 --- a/sdk/python/pulumi_oci/opsi/enterprise_manager_bridge.py +++ b/sdk/python/pulumi_oci/opsi/enterprise_manager_bridge.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['EnterpriseManagerBridgeArgs', 'EnterpriseManagerBridge'] @@ -33,15 +33,34 @@ def __init__(__self__, *, :param pulumi.Input[str] description: (Updatable) Description of Enterprise Manager Bridge :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "object_storage_bucket_name", object_storage_bucket_name) + EnterpriseManagerBridgeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + object_storage_bucket_name=object_storage_bucket_name, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + object_storage_bucket_name: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) + _setter("object_storage_bucket_name", object_storage_bucket_name) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="compartmentId") @@ -156,32 +175,65 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The time the the Enterprise Manager bridge was first created. An RFC3339 formatted datetime string :param pulumi.Input[str] time_updated: The time the Enterprise Manager bridge was updated. An RFC3339 formatted datetime string """ + _EnterpriseManagerBridgeState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + object_storage_bucket_name=object_storage_bucket_name, + object_storage_bucket_status_details=object_storage_bucket_status_details, + object_storage_namespace_name=object_storage_namespace_name, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + object_storage_bucket_name: Optional[pulumi.Input[str]] = None, + object_storage_bucket_status_details: Optional[pulumi.Input[str]] = None, + object_storage_namespace_name: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if object_storage_bucket_name is not None: - pulumi.set(__self__, "object_storage_bucket_name", object_storage_bucket_name) + _setter("object_storage_bucket_name", object_storage_bucket_name) if object_storage_bucket_status_details is not None: - pulumi.set(__self__, "object_storage_bucket_status_details", object_storage_bucket_status_details) + _setter("object_storage_bucket_status_details", object_storage_bucket_status_details) if object_storage_namespace_name is not None: - pulumi.set(__self__, "object_storage_namespace_name", object_storage_namespace_name) + _setter("object_storage_namespace_name", object_storage_namespace_name) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -449,6 +501,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + EnterpriseManagerBridgeArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/opsi/exadata_insight.py b/sdk/python/pulumi_oci/opsi/exadata_insight.py index 54d166debe..fc71fd64e3 100644 --- a/sdk/python/pulumi_oci/opsi/exadata_insight.py +++ b/sdk/python/pulumi_oci/opsi/exadata_insight.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -42,26 +42,55 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "entity_source", entity_source) + ExadataInsightArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + entity_source=entity_source, + defined_tags=defined_tags, + enterprise_manager_bridge_id=enterprise_manager_bridge_id, + enterprise_manager_entity_identifier=enterprise_manager_entity_identifier, + enterprise_manager_identifier=enterprise_manager_identifier, + exadata_infra_id=exadata_infra_id, + freeform_tags=freeform_tags, + is_auto_sync_enabled=is_auto_sync_enabled, + member_vm_cluster_details=member_vm_cluster_details, + status=status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + entity_source: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + enterprise_manager_bridge_id: Optional[pulumi.Input[str]] = None, + enterprise_manager_entity_identifier: Optional[pulumi.Input[str]] = None, + enterprise_manager_identifier: Optional[pulumi.Input[str]] = None, + exadata_infra_id: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_auto_sync_enabled: Optional[pulumi.Input[bool]] = None, + member_vm_cluster_details: Optional[pulumi.Input[Sequence[pulumi.Input['ExadataInsightMemberVmClusterDetailArgs']]]] = None, + status: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("entity_source", entity_source) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if enterprise_manager_bridge_id is not None: - pulumi.set(__self__, "enterprise_manager_bridge_id", enterprise_manager_bridge_id) + _setter("enterprise_manager_bridge_id", enterprise_manager_bridge_id) if enterprise_manager_entity_identifier is not None: - pulumi.set(__self__, "enterprise_manager_entity_identifier", enterprise_manager_entity_identifier) + _setter("enterprise_manager_entity_identifier", enterprise_manager_entity_identifier) if enterprise_manager_identifier is not None: - pulumi.set(__self__, "enterprise_manager_identifier", enterprise_manager_identifier) + _setter("enterprise_manager_identifier", enterprise_manager_identifier) if exadata_infra_id is not None: - pulumi.set(__self__, "exadata_infra_id", exadata_infra_id) + _setter("exadata_infra_id", exadata_infra_id) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_auto_sync_enabled is not None: - pulumi.set(__self__, "is_auto_sync_enabled", is_auto_sync_enabled) + _setter("is_auto_sync_enabled", is_auto_sync_enabled) if member_vm_cluster_details is not None: - pulumi.set(__self__, "member_vm_cluster_details", member_vm_cluster_details) + _setter("member_vm_cluster_details", member_vm_cluster_details) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) @property @pulumi.getter(name="compartmentId") @@ -250,58 +279,117 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The time the the Exadata insight was first enabled. An RFC3339 formatted datetime string :param pulumi.Input[str] time_updated: The time the Exadata insight was updated. An RFC3339 formatted datetime string """ + _ExadataInsightState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + enterprise_manager_bridge_id=enterprise_manager_bridge_id, + enterprise_manager_entity_display_name=enterprise_manager_entity_display_name, + enterprise_manager_entity_identifier=enterprise_manager_entity_identifier, + enterprise_manager_entity_name=enterprise_manager_entity_name, + enterprise_manager_entity_type=enterprise_manager_entity_type, + enterprise_manager_identifier=enterprise_manager_identifier, + entity_source=entity_source, + exadata_display_name=exadata_display_name, + exadata_infra_id=exadata_infra_id, + exadata_infra_resource_type=exadata_infra_resource_type, + exadata_name=exadata_name, + exadata_rack_type=exadata_rack_type, + exadata_shape=exadata_shape, + exadata_type=exadata_type, + freeform_tags=freeform_tags, + is_auto_sync_enabled=is_auto_sync_enabled, + is_virtualized_exadata=is_virtualized_exadata, + lifecycle_details=lifecycle_details, + member_vm_cluster_details=member_vm_cluster_details, + state=state, + status=status, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + enterprise_manager_bridge_id: Optional[pulumi.Input[str]] = None, + enterprise_manager_entity_display_name: Optional[pulumi.Input[str]] = None, + enterprise_manager_entity_identifier: Optional[pulumi.Input[str]] = None, + enterprise_manager_entity_name: Optional[pulumi.Input[str]] = None, + enterprise_manager_entity_type: Optional[pulumi.Input[str]] = None, + enterprise_manager_identifier: Optional[pulumi.Input[str]] = None, + entity_source: Optional[pulumi.Input[str]] = None, + exadata_display_name: Optional[pulumi.Input[str]] = None, + exadata_infra_id: Optional[pulumi.Input[str]] = None, + exadata_infra_resource_type: Optional[pulumi.Input[str]] = None, + exadata_name: Optional[pulumi.Input[str]] = None, + exadata_rack_type: Optional[pulumi.Input[str]] = None, + exadata_shape: Optional[pulumi.Input[str]] = None, + exadata_type: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_auto_sync_enabled: Optional[pulumi.Input[bool]] = None, + is_virtualized_exadata: Optional[pulumi.Input[bool]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + member_vm_cluster_details: Optional[pulumi.Input[Sequence[pulumi.Input['ExadataInsightMemberVmClusterDetailArgs']]]] = None, + state: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if enterprise_manager_bridge_id is not None: - pulumi.set(__self__, "enterprise_manager_bridge_id", enterprise_manager_bridge_id) + _setter("enterprise_manager_bridge_id", enterprise_manager_bridge_id) if enterprise_manager_entity_display_name is not None: - pulumi.set(__self__, "enterprise_manager_entity_display_name", enterprise_manager_entity_display_name) + _setter("enterprise_manager_entity_display_name", enterprise_manager_entity_display_name) if enterprise_manager_entity_identifier is not None: - pulumi.set(__self__, "enterprise_manager_entity_identifier", enterprise_manager_entity_identifier) + _setter("enterprise_manager_entity_identifier", enterprise_manager_entity_identifier) if enterprise_manager_entity_name is not None: - pulumi.set(__self__, "enterprise_manager_entity_name", enterprise_manager_entity_name) + _setter("enterprise_manager_entity_name", enterprise_manager_entity_name) if enterprise_manager_entity_type is not None: - pulumi.set(__self__, "enterprise_manager_entity_type", enterprise_manager_entity_type) + _setter("enterprise_manager_entity_type", enterprise_manager_entity_type) if enterprise_manager_identifier is not None: - pulumi.set(__self__, "enterprise_manager_identifier", enterprise_manager_identifier) + _setter("enterprise_manager_identifier", enterprise_manager_identifier) if entity_source is not None: - pulumi.set(__self__, "entity_source", entity_source) + _setter("entity_source", entity_source) if exadata_display_name is not None: - pulumi.set(__self__, "exadata_display_name", exadata_display_name) + _setter("exadata_display_name", exadata_display_name) if exadata_infra_id is not None: - pulumi.set(__self__, "exadata_infra_id", exadata_infra_id) + _setter("exadata_infra_id", exadata_infra_id) if exadata_infra_resource_type is not None: - pulumi.set(__self__, "exadata_infra_resource_type", exadata_infra_resource_type) + _setter("exadata_infra_resource_type", exadata_infra_resource_type) if exadata_name is not None: - pulumi.set(__self__, "exadata_name", exadata_name) + _setter("exadata_name", exadata_name) if exadata_rack_type is not None: - pulumi.set(__self__, "exadata_rack_type", exadata_rack_type) + _setter("exadata_rack_type", exadata_rack_type) if exadata_shape is not None: - pulumi.set(__self__, "exadata_shape", exadata_shape) + _setter("exadata_shape", exadata_shape) if exadata_type is not None: - pulumi.set(__self__, "exadata_type", exadata_type) + _setter("exadata_type", exadata_type) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_auto_sync_enabled is not None: - pulumi.set(__self__, "is_auto_sync_enabled", is_auto_sync_enabled) + _setter("is_auto_sync_enabled", is_auto_sync_enabled) if is_virtualized_exadata is not None: - pulumi.set(__self__, "is_virtualized_exadata", is_virtualized_exadata) + _setter("is_virtualized_exadata", is_virtualized_exadata) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if member_vm_cluster_details is not None: - pulumi.set(__self__, "member_vm_cluster_details", member_vm_cluster_details) + _setter("member_vm_cluster_details", member_vm_cluster_details) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -793,6 +881,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ExadataInsightArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/opsi/get_awr_hub.py b/sdk/python/pulumi_oci/opsi/get_awr_hub.py index 85df65c754..e3509f1471 100644 --- a/sdk/python/pulumi_oci/opsi/get_awr_hub.py +++ b/sdk/python/pulumi_oci/opsi/get_awr_hub.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/opsi/get_awr_hub_awr_snapshot.py b/sdk/python/pulumi_oci/opsi/get_awr_hub_awr_snapshot.py index 0273dd3e06..dadf8bcaa5 100644 --- a/sdk/python/pulumi_oci/opsi/get_awr_hub_awr_snapshot.py +++ b/sdk/python/pulumi_oci/opsi/get_awr_hub_awr_snapshot.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/opsi/get_awr_hub_awr_snapshots.py b/sdk/python/pulumi_oci/opsi/get_awr_hub_awr_snapshots.py index b46ebd0ae1..6c2fb0827b 100644 --- a/sdk/python/pulumi_oci/opsi/get_awr_hub_awr_snapshots.py +++ b/sdk/python/pulumi_oci/opsi/get_awr_hub_awr_snapshots.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/opsi/get_awr_hub_awr_sources_summary.py b/sdk/python/pulumi_oci/opsi/get_awr_hub_awr_sources_summary.py index 2b0d9928d7..281ca4ec6c 100644 --- a/sdk/python/pulumi_oci/opsi/get_awr_hub_awr_sources_summary.py +++ b/sdk/python/pulumi_oci/opsi/get_awr_hub_awr_sources_summary.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/opsi/get_awr_hubs.py b/sdk/python/pulumi_oci/opsi/get_awr_hubs.py index bc9114e437..8095a38da2 100644 --- a/sdk/python/pulumi_oci/opsi/get_awr_hubs.py +++ b/sdk/python/pulumi_oci/opsi/get_awr_hubs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/opsi/get_database_insight.py b/sdk/python/pulumi_oci/opsi/get_database_insight.py index 76ef4f2d23..33c4576ae4 100644 --- a/sdk/python/pulumi_oci/opsi/get_database_insight.py +++ b/sdk/python/pulumi_oci/opsi/get_database_insight.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/opsi/get_database_insights.py b/sdk/python/pulumi_oci/opsi/get_database_insights.py index 11a5156fd6..b80851baf0 100644 --- a/sdk/python/pulumi_oci/opsi/get_database_insights.py +++ b/sdk/python/pulumi_oci/opsi/get_database_insights.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/opsi/get_enterprise_manager_bridge.py b/sdk/python/pulumi_oci/opsi/get_enterprise_manager_bridge.py index 6e339b039b..270c6fc35c 100644 --- a/sdk/python/pulumi_oci/opsi/get_enterprise_manager_bridge.py +++ b/sdk/python/pulumi_oci/opsi/get_enterprise_manager_bridge.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/opsi/get_enterprise_manager_bridges.py b/sdk/python/pulumi_oci/opsi/get_enterprise_manager_bridges.py index 43b1dd9c91..d5e82748c3 100644 --- a/sdk/python/pulumi_oci/opsi/get_enterprise_manager_bridges.py +++ b/sdk/python/pulumi_oci/opsi/get_enterprise_manager_bridges.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/opsi/get_exadata_insight.py b/sdk/python/pulumi_oci/opsi/get_exadata_insight.py index cf9f96b8d1..4d221cd9aa 100644 --- a/sdk/python/pulumi_oci/opsi/get_exadata_insight.py +++ b/sdk/python/pulumi_oci/opsi/get_exadata_insight.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/opsi/get_exadata_insights.py b/sdk/python/pulumi_oci/opsi/get_exadata_insights.py index a5cfe64cb2..fecca36261 100644 --- a/sdk/python/pulumi_oci/opsi/get_exadata_insights.py +++ b/sdk/python/pulumi_oci/opsi/get_exadata_insights.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/opsi/get_host_insight.py b/sdk/python/pulumi_oci/opsi/get_host_insight.py index b85c7fde77..57bfa0a26a 100644 --- a/sdk/python/pulumi_oci/opsi/get_host_insight.py +++ b/sdk/python/pulumi_oci/opsi/get_host_insight.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/opsi/get_host_insights.py b/sdk/python/pulumi_oci/opsi/get_host_insights.py index 2e9b48c3fe..9ff27a651d 100644 --- a/sdk/python/pulumi_oci/opsi/get_host_insights.py +++ b/sdk/python/pulumi_oci/opsi/get_host_insights.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/opsi/get_importable_agent_entities.py b/sdk/python/pulumi_oci/opsi/get_importable_agent_entities.py index 40c8282483..b5ba2a9850 100644 --- a/sdk/python/pulumi_oci/opsi/get_importable_agent_entities.py +++ b/sdk/python/pulumi_oci/opsi/get_importable_agent_entities.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/opsi/get_importable_agent_entity.py b/sdk/python/pulumi_oci/opsi/get_importable_agent_entity.py index 142da24024..41dba8c7fe 100644 --- a/sdk/python/pulumi_oci/opsi/get_importable_agent_entity.py +++ b/sdk/python/pulumi_oci/opsi/get_importable_agent_entity.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/opsi/get_importable_compute_entities.py b/sdk/python/pulumi_oci/opsi/get_importable_compute_entities.py index 9d43b44154..8745394e8f 100644 --- a/sdk/python/pulumi_oci/opsi/get_importable_compute_entities.py +++ b/sdk/python/pulumi_oci/opsi/get_importable_compute_entities.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/opsi/get_importable_compute_entity.py b/sdk/python/pulumi_oci/opsi/get_importable_compute_entity.py index 0747173a5b..b4cf870ccb 100644 --- a/sdk/python/pulumi_oci/opsi/get_importable_compute_entity.py +++ b/sdk/python/pulumi_oci/opsi/get_importable_compute_entity.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/opsi/get_news_report.py b/sdk/python/pulumi_oci/opsi/get_news_report.py index 43da4d722c..52e0bfcaac 100644 --- a/sdk/python/pulumi_oci/opsi/get_news_report.py +++ b/sdk/python/pulumi_oci/opsi/get_news_report.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/opsi/get_news_reports.py b/sdk/python/pulumi_oci/opsi/get_news_reports.py index 0342ebcabd..f88900d948 100644 --- a/sdk/python/pulumi_oci/opsi/get_news_reports.py +++ b/sdk/python/pulumi_oci/opsi/get_news_reports.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/opsi/get_operations_insights_private_endpoint.py b/sdk/python/pulumi_oci/opsi/get_operations_insights_private_endpoint.py index d887e7c94d..ce95a4cddc 100644 --- a/sdk/python/pulumi_oci/opsi/get_operations_insights_private_endpoint.py +++ b/sdk/python/pulumi_oci/opsi/get_operations_insights_private_endpoint.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/opsi/get_operations_insights_private_endpoints.py b/sdk/python/pulumi_oci/opsi/get_operations_insights_private_endpoints.py index 1eb3c73d96..20f47c7b91 100644 --- a/sdk/python/pulumi_oci/opsi/get_operations_insights_private_endpoints.py +++ b/sdk/python/pulumi_oci/opsi/get_operations_insights_private_endpoints.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/opsi/get_operations_insights_warehouse.py b/sdk/python/pulumi_oci/opsi/get_operations_insights_warehouse.py index f03a8201f4..c5f971bb1f 100644 --- a/sdk/python/pulumi_oci/opsi/get_operations_insights_warehouse.py +++ b/sdk/python/pulumi_oci/opsi/get_operations_insights_warehouse.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/opsi/get_operations_insights_warehouse_resource_usage_summary.py b/sdk/python/pulumi_oci/opsi/get_operations_insights_warehouse_resource_usage_summary.py index c49aeda79d..9e7a648268 100644 --- a/sdk/python/pulumi_oci/opsi/get_operations_insights_warehouse_resource_usage_summary.py +++ b/sdk/python/pulumi_oci/opsi/get_operations_insights_warehouse_resource_usage_summary.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/opsi/get_operations_insights_warehouse_user.py b/sdk/python/pulumi_oci/opsi/get_operations_insights_warehouse_user.py index a2f7090f74..9e1ef2acf7 100644 --- a/sdk/python/pulumi_oci/opsi/get_operations_insights_warehouse_user.py +++ b/sdk/python/pulumi_oci/opsi/get_operations_insights_warehouse_user.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/opsi/get_operations_insights_warehouse_users.py b/sdk/python/pulumi_oci/opsi/get_operations_insights_warehouse_users.py index c38b255251..3264d908fe 100644 --- a/sdk/python/pulumi_oci/opsi/get_operations_insights_warehouse_users.py +++ b/sdk/python/pulumi_oci/opsi/get_operations_insights_warehouse_users.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/opsi/get_operations_insights_warehouses.py b/sdk/python/pulumi_oci/opsi/get_operations_insights_warehouses.py index c195cde5f8..86a5690056 100644 --- a/sdk/python/pulumi_oci/opsi/get_operations_insights_warehouses.py +++ b/sdk/python/pulumi_oci/opsi/get_operations_insights_warehouses.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/opsi/get_opsi_configuration.py b/sdk/python/pulumi_oci/opsi/get_opsi_configuration.py index 9bd37c437b..f4985d5bcf 100644 --- a/sdk/python/pulumi_oci/opsi/get_opsi_configuration.py +++ b/sdk/python/pulumi_oci/opsi/get_opsi_configuration.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/opsi/get_opsi_configuration_configuration_item.py b/sdk/python/pulumi_oci/opsi/get_opsi_configuration_configuration_item.py index 743d2631d2..9a1e23c84d 100644 --- a/sdk/python/pulumi_oci/opsi/get_opsi_configuration_configuration_item.py +++ b/sdk/python/pulumi_oci/opsi/get_opsi_configuration_configuration_item.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/opsi/get_opsi_configurations.py b/sdk/python/pulumi_oci/opsi/get_opsi_configurations.py index 5d7687145a..751749f6d0 100644 --- a/sdk/python/pulumi_oci/opsi/get_opsi_configurations.py +++ b/sdk/python/pulumi_oci/opsi/get_opsi_configurations.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/opsi/host_insight.py b/sdk/python/pulumi_oci/opsi/host_insight.py index a35c824897..17e987d8d8 100644 --- a/sdk/python/pulumi_oci/opsi/host_insight.py +++ b/sdk/python/pulumi_oci/opsi/host_insight.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['HostInsightArgs', 'HostInsight'] @@ -43,26 +43,55 @@ def __init__(__self__, *, 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 resource destruction here is basically a soft delete. User cannot create resource using the same Management agent OCID. If resource is in enabled state during destruction, the resource will be disabled automatically before performing delete operation. :param pulumi.Input[str] status: (Updatable) Status of the resource. Example: "ENABLED", "DISABLED". Resource can be either enabled or disabled by updating the value of status field to either "ENABLED" or "DISABLED" """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "entity_source", entity_source) + HostInsightArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + entity_source=entity_source, + compute_id=compute_id, + defined_tags=defined_tags, + enterprise_manager_bridge_id=enterprise_manager_bridge_id, + enterprise_manager_entity_identifier=enterprise_manager_entity_identifier, + enterprise_manager_identifier=enterprise_manager_identifier, + exadata_insight_id=exadata_insight_id, + freeform_tags=freeform_tags, + management_agent_id=management_agent_id, + status=status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + entity_source: pulumi.Input[str], + compute_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + enterprise_manager_bridge_id: Optional[pulumi.Input[str]] = None, + enterprise_manager_entity_identifier: Optional[pulumi.Input[str]] = None, + enterprise_manager_identifier: Optional[pulumi.Input[str]] = None, + exadata_insight_id: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + management_agent_id: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("entity_source", entity_source) if compute_id is not None: - pulumi.set(__self__, "compute_id", compute_id) + _setter("compute_id", compute_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if enterprise_manager_bridge_id is not None: - pulumi.set(__self__, "enterprise_manager_bridge_id", enterprise_manager_bridge_id) + _setter("enterprise_manager_bridge_id", enterprise_manager_bridge_id) if enterprise_manager_entity_identifier is not None: - pulumi.set(__self__, "enterprise_manager_entity_identifier", enterprise_manager_entity_identifier) + _setter("enterprise_manager_entity_identifier", enterprise_manager_entity_identifier) if enterprise_manager_identifier is not None: - pulumi.set(__self__, "enterprise_manager_identifier", enterprise_manager_identifier) + _setter("enterprise_manager_identifier", enterprise_manager_identifier) if exadata_insight_id is not None: - pulumi.set(__self__, "exadata_insight_id", exadata_insight_id) + _setter("exadata_insight_id", exadata_insight_id) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if management_agent_id is not None: - pulumi.set(__self__, "management_agent_id", management_agent_id) + _setter("management_agent_id", management_agent_id) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) @property @pulumi.getter(name="compartmentId") @@ -263,58 +292,117 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The time the the host insight was first enabled. An RFC3339 formatted datetime string :param pulumi.Input[str] time_updated: The time the host insight was updated. An RFC3339 formatted datetime string """ + _HostInsightState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + compute_id=compute_id, + defined_tags=defined_tags, + enterprise_manager_bridge_id=enterprise_manager_bridge_id, + enterprise_manager_entity_display_name=enterprise_manager_entity_display_name, + enterprise_manager_entity_identifier=enterprise_manager_entity_identifier, + enterprise_manager_entity_name=enterprise_manager_entity_name, + enterprise_manager_entity_type=enterprise_manager_entity_type, + enterprise_manager_identifier=enterprise_manager_identifier, + entity_source=entity_source, + exadata_insight_id=exadata_insight_id, + freeform_tags=freeform_tags, + host_display_name=host_display_name, + host_name=host_name, + host_type=host_type, + lifecycle_details=lifecycle_details, + management_agent_id=management_agent_id, + platform_name=platform_name, + platform_type=platform_type, + platform_version=platform_version, + processor_count=processor_count, + state=state, + status=status, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + compute_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + enterprise_manager_bridge_id: Optional[pulumi.Input[str]] = None, + enterprise_manager_entity_display_name: Optional[pulumi.Input[str]] = None, + enterprise_manager_entity_identifier: Optional[pulumi.Input[str]] = None, + enterprise_manager_entity_name: Optional[pulumi.Input[str]] = None, + enterprise_manager_entity_type: Optional[pulumi.Input[str]] = None, + enterprise_manager_identifier: Optional[pulumi.Input[str]] = None, + entity_source: Optional[pulumi.Input[str]] = None, + exadata_insight_id: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + host_display_name: Optional[pulumi.Input[str]] = None, + host_name: Optional[pulumi.Input[str]] = None, + host_type: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + management_agent_id: Optional[pulumi.Input[str]] = None, + platform_name: Optional[pulumi.Input[str]] = None, + platform_type: Optional[pulumi.Input[str]] = None, + platform_version: Optional[pulumi.Input[str]] = None, + processor_count: Optional[pulumi.Input[int]] = None, + state: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if compute_id is not None: - pulumi.set(__self__, "compute_id", compute_id) + _setter("compute_id", compute_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if enterprise_manager_bridge_id is not None: - pulumi.set(__self__, "enterprise_manager_bridge_id", enterprise_manager_bridge_id) + _setter("enterprise_manager_bridge_id", enterprise_manager_bridge_id) if enterprise_manager_entity_display_name is not None: - pulumi.set(__self__, "enterprise_manager_entity_display_name", enterprise_manager_entity_display_name) + _setter("enterprise_manager_entity_display_name", enterprise_manager_entity_display_name) if enterprise_manager_entity_identifier is not None: - pulumi.set(__self__, "enterprise_manager_entity_identifier", enterprise_manager_entity_identifier) + _setter("enterprise_manager_entity_identifier", enterprise_manager_entity_identifier) if enterprise_manager_entity_name is not None: - pulumi.set(__self__, "enterprise_manager_entity_name", enterprise_manager_entity_name) + _setter("enterprise_manager_entity_name", enterprise_manager_entity_name) if enterprise_manager_entity_type is not None: - pulumi.set(__self__, "enterprise_manager_entity_type", enterprise_manager_entity_type) + _setter("enterprise_manager_entity_type", enterprise_manager_entity_type) if enterprise_manager_identifier is not None: - pulumi.set(__self__, "enterprise_manager_identifier", enterprise_manager_identifier) + _setter("enterprise_manager_identifier", enterprise_manager_identifier) if entity_source is not None: - pulumi.set(__self__, "entity_source", entity_source) + _setter("entity_source", entity_source) if exadata_insight_id is not None: - pulumi.set(__self__, "exadata_insight_id", exadata_insight_id) + _setter("exadata_insight_id", exadata_insight_id) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if host_display_name is not None: - pulumi.set(__self__, "host_display_name", host_display_name) + _setter("host_display_name", host_display_name) if host_name is not None: - pulumi.set(__self__, "host_name", host_name) + _setter("host_name", host_name) if host_type is not None: - pulumi.set(__self__, "host_type", host_type) + _setter("host_type", host_type) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if management_agent_id is not None: - pulumi.set(__self__, "management_agent_id", management_agent_id) + _setter("management_agent_id", management_agent_id) if platform_name is not None: - pulumi.set(__self__, "platform_name", platform_name) + _setter("platform_name", platform_name) if platform_type is not None: - pulumi.set(__self__, "platform_type", platform_type) + _setter("platform_type", platform_type) if platform_version is not None: - pulumi.set(__self__, "platform_version", platform_version) + _setter("platform_version", platform_version) if processor_count is not None: - pulumi.set(__self__, "processor_count", processor_count) + _setter("processor_count", processor_count) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -758,6 +846,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + HostInsightArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/opsi/news_report.py b/sdk/python/pulumi_oci/opsi/news_report.py index acbd9e945b..033204295e 100644 --- a/sdk/python/pulumi_oci/opsi/news_report.py +++ b/sdk/python/pulumi_oci/opsi/news_report.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -43,20 +43,47 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "content_types", content_types) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "locale", locale) - pulumi.set(__self__, "news_frequency", news_frequency) - pulumi.set(__self__, "ons_topic_id", ons_topic_id) + NewsReportArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + content_types=content_types, + description=description, + locale=locale, + news_frequency=news_frequency, + ons_topic_id=ons_topic_id, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + name=name, + status=status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + content_types: pulumi.Input['NewsReportContentTypesArgs'], + description: pulumi.Input[str], + locale: pulumi.Input[str], + news_frequency: pulumi.Input[str], + ons_topic_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + name: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("content_types", content_types) + _setter("description", description) + _setter("locale", locale) + _setter("news_frequency", news_frequency) + _setter("ons_topic_id", ons_topic_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) @property @pulumi.getter(name="compartmentId") @@ -223,36 +250,73 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The time the the news report was first enabled. An RFC3339 formatted datetime string. :param pulumi.Input[str] time_updated: The time the news report was updated. An RFC3339 formatted datetime string. """ + _NewsReportState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + content_types=content_types, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + locale=locale, + name=name, + news_frequency=news_frequency, + ons_topic_id=ons_topic_id, + state=state, + status=status, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + content_types: Optional[pulumi.Input['NewsReportContentTypesArgs']] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + locale: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + news_frequency: Optional[pulumi.Input[str]] = None, + ons_topic_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if content_types is not None: - pulumi.set(__self__, "content_types", content_types) + _setter("content_types", content_types) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if locale is not None: - pulumi.set(__self__, "locale", locale) + _setter("locale", locale) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if news_frequency is not None: - pulumi.set(__self__, "news_frequency", news_frequency) + _setter("news_frequency", news_frequency) if ons_topic_id is not None: - pulumi.set(__self__, "ons_topic_id", ons_topic_id) + _setter("ons_topic_id", ons_topic_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -562,6 +626,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + NewsReportArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -589,6 +657,11 @@ def _internal_init(__self__, if compartment_id is None and not opts.urn: raise TypeError("Missing required property 'compartment_id'") __props__.__dict__["compartment_id"] = compartment_id + if content_types is not None and not isinstance(content_types, NewsReportContentTypesArgs): + content_types = content_types or {} + def _setter(key, value): + content_types[key] = value + NewsReportContentTypesArgs._configure(_setter, **content_types) if content_types is None and not opts.urn: raise TypeError("Missing required property 'content_types'") __props__.__dict__["content_types"] = content_types diff --git a/sdk/python/pulumi_oci/opsi/operations_insights_private_endpoint.py b/sdk/python/pulumi_oci/opsi/operations_insights_private_endpoint.py index ecc4582d9d..ba8cf563f1 100644 --- a/sdk/python/pulumi_oci/opsi/operations_insights_private_endpoint.py +++ b/sdk/python/pulumi_oci/opsi/operations_insights_private_endpoint.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['OperationsInsightsPrivateEndpointArgs', 'OperationsInsightsPrivateEndpoint'] @@ -41,21 +41,48 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] nsg_ids: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the network security groups that the private endpoint belongs to. :param pulumi.Input[str] private_endpoint_status_details: A message describing the status of the private endpoint connection of this resource. For example, it can be used to provide actionable information about the validity of the private endpoint connection. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "is_used_for_rac_dbs", is_used_for_rac_dbs) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "vcn_id", vcn_id) + OperationsInsightsPrivateEndpointArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + is_used_for_rac_dbs=is_used_for_rac_dbs, + subnet_id=subnet_id, + vcn_id=vcn_id, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + nsg_ids=nsg_ids, + private_endpoint_status_details=private_endpoint_status_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + is_used_for_rac_dbs: pulumi.Input[bool], + subnet_id: pulumi.Input[str], + vcn_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + private_endpoint_status_details: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) + _setter("is_used_for_rac_dbs", is_used_for_rac_dbs) + _setter("subnet_id", subnet_id) + _setter("vcn_id", vcn_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) if private_endpoint_status_details is not None: - pulumi.set(__self__, "private_endpoint_status_details", private_endpoint_status_details) + _setter("private_endpoint_status_details", private_endpoint_status_details) @property @pulumi.getter(name="compartmentId") @@ -222,36 +249,73 @@ def __init__(__self__, *, ** 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 """ + _OperationsInsightsPrivateEndpointState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + is_used_for_rac_dbs=is_used_for_rac_dbs, + lifecycle_details=lifecycle_details, + nsg_ids=nsg_ids, + private_endpoint_status_details=private_endpoint_status_details, + private_ip=private_ip, + state=state, + subnet_id=subnet_id, + system_tags=system_tags, + time_created=time_created, + vcn_id=vcn_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_used_for_rac_dbs: Optional[pulumi.Input[bool]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + private_endpoint_status_details: Optional[pulumi.Input[str]] = None, + private_ip: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + vcn_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_used_for_rac_dbs is not None: - pulumi.set(__self__, "is_used_for_rac_dbs", is_used_for_rac_dbs) + _setter("is_used_for_rac_dbs", is_used_for_rac_dbs) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) if private_endpoint_status_details is not None: - pulumi.set(__self__, "private_endpoint_status_details", private_endpoint_status_details) + _setter("private_endpoint_status_details", private_endpoint_status_details) if private_ip is not None: - pulumi.set(__self__, "private_ip", private_ip) + _setter("private_ip", private_ip) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if vcn_id is not None: - pulumi.set(__self__, "vcn_id", vcn_id) + _setter("vcn_id", vcn_id) @property @pulumi.getter(name="compartmentId") @@ -559,6 +623,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + OperationsInsightsPrivateEndpointArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/opsi/operations_insights_warehouse.py b/sdk/python/pulumi_oci/opsi/operations_insights_warehouse.py index 0399f641ce..10b24db7a3 100644 --- a/sdk/python/pulumi_oci/opsi/operations_insights_warehouse.py +++ b/sdk/python/pulumi_oci/opsi/operations_insights_warehouse.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['OperationsInsightsWarehouseArgs', 'OperationsInsightsWarehouse'] @@ -33,15 +33,34 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "cpu_allocated", cpu_allocated) - pulumi.set(__self__, "display_name", display_name) + OperationsInsightsWarehouseArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + cpu_allocated=cpu_allocated, + display_name=display_name, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + storage_allocated_in_gbs=storage_allocated_in_gbs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + cpu_allocated: pulumi.Input[float], + display_name: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + storage_allocated_in_gbs: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("cpu_allocated", cpu_allocated) + _setter("display_name", display_name) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if storage_allocated_in_gbs is not None: - pulumi.set(__self__, "storage_allocated_in_gbs", storage_allocated_in_gbs) + _setter("storage_allocated_in_gbs", storage_allocated_in_gbs) @property @pulumi.getter(name="compartmentId") @@ -162,38 +181,77 @@ def __init__(__self__, *, :param pulumi.Input[str] time_last_wallet_rotated: The time at which the ADW wallet was last rotated for the Operations Insights Warehouse. An RFC3339 formatted datetime string :param pulumi.Input[str] time_updated: The time at which the resource was last updated. An RFC3339 formatted datetime string """ + _OperationsInsightsWarehouseState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + cpu_allocated=cpu_allocated, + cpu_used=cpu_used, + defined_tags=defined_tags, + display_name=display_name, + dynamic_group_id=dynamic_group_id, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + operations_insights_tenancy_id=operations_insights_tenancy_id, + state=state, + storage_allocated_in_gbs=storage_allocated_in_gbs, + storage_used_in_gbs=storage_used_in_gbs, + system_tags=system_tags, + time_created=time_created, + time_last_wallet_rotated=time_last_wallet_rotated, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + cpu_allocated: Optional[pulumi.Input[float]] = None, + cpu_used: Optional[pulumi.Input[float]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + dynamic_group_id: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + operations_insights_tenancy_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + storage_allocated_in_gbs: Optional[pulumi.Input[float]] = None, + storage_used_in_gbs: Optional[pulumi.Input[float]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_last_wallet_rotated: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if cpu_allocated is not None: - pulumi.set(__self__, "cpu_allocated", cpu_allocated) + _setter("cpu_allocated", cpu_allocated) if cpu_used is not None: - pulumi.set(__self__, "cpu_used", cpu_used) + _setter("cpu_used", cpu_used) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if dynamic_group_id is not None: - pulumi.set(__self__, "dynamic_group_id", dynamic_group_id) + _setter("dynamic_group_id", dynamic_group_id) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if operations_insights_tenancy_id is not None: - pulumi.set(__self__, "operations_insights_tenancy_id", operations_insights_tenancy_id) + _setter("operations_insights_tenancy_id", operations_insights_tenancy_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if storage_allocated_in_gbs is not None: - pulumi.set(__self__, "storage_allocated_in_gbs", storage_allocated_in_gbs) + _setter("storage_allocated_in_gbs", storage_allocated_in_gbs) if storage_used_in_gbs is not None: - pulumi.set(__self__, "storage_used_in_gbs", storage_used_in_gbs) + _setter("storage_used_in_gbs", storage_used_in_gbs) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_last_wallet_rotated is not None: - pulumi.set(__self__, "time_last_wallet_rotated", time_last_wallet_rotated) + _setter("time_last_wallet_rotated", time_last_wallet_rotated) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -501,6 +559,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + OperationsInsightsWarehouseArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/opsi/operations_insights_warehouse_download_warehouse_wallet.py b/sdk/python/pulumi_oci/opsi/operations_insights_warehouse_download_warehouse_wallet.py index c3e61a4b42..bcf9fc0f95 100644 --- a/sdk/python/pulumi_oci/opsi/operations_insights_warehouse_download_warehouse_wallet.py +++ b/sdk/python/pulumi_oci/opsi/operations_insights_warehouse_download_warehouse_wallet.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['OperationsInsightsWarehouseDownloadWarehouseWalletArgs', 'OperationsInsightsWarehouseDownloadWarehouseWallet'] @@ -25,8 +25,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "operations_insights_warehouse_id", operations_insights_warehouse_id) - pulumi.set(__self__, "operations_insights_warehouse_wallet_password", operations_insights_warehouse_wallet_password) + OperationsInsightsWarehouseDownloadWarehouseWalletArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + operations_insights_warehouse_id=operations_insights_warehouse_id, + operations_insights_warehouse_wallet_password=operations_insights_warehouse_wallet_password, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + operations_insights_warehouse_id: pulumi.Input[str], + operations_insights_warehouse_wallet_password: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("operations_insights_warehouse_id", operations_insights_warehouse_id) + _setter("operations_insights_warehouse_wallet_password", operations_insights_warehouse_wallet_password) @property @pulumi.getter(name="operationsInsightsWarehouseId") @@ -71,10 +82,21 @@ def __init__(__self__, *, ** 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 """ + _OperationsInsightsWarehouseDownloadWarehouseWalletState._configure( + lambda key, value: pulumi.set(__self__, key, value), + operations_insights_warehouse_id=operations_insights_warehouse_id, + operations_insights_warehouse_wallet_password=operations_insights_warehouse_wallet_password, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + operations_insights_warehouse_id: Optional[pulumi.Input[str]] = None, + operations_insights_warehouse_wallet_password: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if operations_insights_warehouse_id is not None: - pulumi.set(__self__, "operations_insights_warehouse_id", operations_insights_warehouse_id) + _setter("operations_insights_warehouse_id", operations_insights_warehouse_id) if operations_insights_warehouse_wallet_password is not None: - pulumi.set(__self__, "operations_insights_warehouse_wallet_password", operations_insights_warehouse_wallet_password) + _setter("operations_insights_warehouse_wallet_password", operations_insights_warehouse_wallet_password) @property @pulumi.getter(name="operationsInsightsWarehouseId") @@ -186,6 +208,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + OperationsInsightsWarehouseDownloadWarehouseWalletArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/opsi/operations_insights_warehouse_rotate_warehouse_wallet.py b/sdk/python/pulumi_oci/opsi/operations_insights_warehouse_rotate_warehouse_wallet.py index 388d72b459..5ee2b89e94 100644 --- a/sdk/python/pulumi_oci/opsi/operations_insights_warehouse_rotate_warehouse_wallet.py +++ b/sdk/python/pulumi_oci/opsi/operations_insights_warehouse_rotate_warehouse_wallet.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['OperationsInsightsWarehouseRotateWarehouseWalletArgs', 'OperationsInsightsWarehouseRotateWarehouseWallet'] @@ -23,7 +23,16 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "operations_insights_warehouse_id", operations_insights_warehouse_id) + OperationsInsightsWarehouseRotateWarehouseWalletArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + operations_insights_warehouse_id=operations_insights_warehouse_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + operations_insights_warehouse_id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("operations_insights_warehouse_id", operations_insights_warehouse_id) @property @pulumi.getter(name="operationsInsightsWarehouseId") @@ -54,8 +63,17 @@ def __init__(__self__, *, ** 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 """ + _OperationsInsightsWarehouseRotateWarehouseWalletState._configure( + lambda key, value: pulumi.set(__self__, key, value), + operations_insights_warehouse_id=operations_insights_warehouse_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + operations_insights_warehouse_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if operations_insights_warehouse_id is not None: - pulumi.set(__self__, "operations_insights_warehouse_id", operations_insights_warehouse_id) + _setter("operations_insights_warehouse_id", operations_insights_warehouse_id) @property @pulumi.getter(name="operationsInsightsWarehouseId") @@ -149,6 +167,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + OperationsInsightsWarehouseRotateWarehouseWalletArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/opsi/operations_insights_warehouse_user.py b/sdk/python/pulumi_oci/opsi/operations_insights_warehouse_user.py index 320f12200c..57b2480c56 100644 --- a/sdk/python/pulumi_oci/opsi/operations_insights_warehouse_user.py +++ b/sdk/python/pulumi_oci/opsi/operations_insights_warehouse_user.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['OperationsInsightsWarehouseUserArgs', 'OperationsInsightsWarehouseUser'] @@ -39,20 +39,45 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_opsi_data_access: (Updatable) Indicate whether user has access to OPSI data. :param pulumi.Input[str] name: Username for schema which would have access to AWR Data, Enterprise Manager Data and Operations Insights OPSI Hub. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "connection_password", connection_password) - pulumi.set(__self__, "is_awr_data_access", is_awr_data_access) - pulumi.set(__self__, "operations_insights_warehouse_id", operations_insights_warehouse_id) + OperationsInsightsWarehouseUserArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + connection_password=connection_password, + is_awr_data_access=is_awr_data_access, + operations_insights_warehouse_id=operations_insights_warehouse_id, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + is_em_data_access=is_em_data_access, + is_opsi_data_access=is_opsi_data_access, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + connection_password: pulumi.Input[str], + is_awr_data_access: pulumi.Input[bool], + operations_insights_warehouse_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_em_data_access: Optional[pulumi.Input[bool]] = None, + is_opsi_data_access: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("connection_password", connection_password) + _setter("is_awr_data_access", is_awr_data_access) + _setter("operations_insights_warehouse_id", operations_insights_warehouse_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_em_data_access is not None: - pulumi.set(__self__, "is_em_data_access", is_em_data_access) + _setter("is_em_data_access", is_em_data_access) if is_opsi_data_access is not None: - pulumi.set(__self__, "is_opsi_data_access", is_opsi_data_access) + _setter("is_opsi_data_access", is_opsi_data_access) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter(name="compartmentId") @@ -205,34 +230,69 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The time at which the resource was first created. An RFC3339 formatted datetime string :param pulumi.Input[str] time_updated: The time at which the resource was last updated. An RFC3339 formatted datetime string """ + _OperationsInsightsWarehouseUserState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + connection_password=connection_password, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + is_awr_data_access=is_awr_data_access, + is_em_data_access=is_em_data_access, + is_opsi_data_access=is_opsi_data_access, + lifecycle_details=lifecycle_details, + name=name, + operations_insights_warehouse_id=operations_insights_warehouse_id, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + connection_password: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_awr_data_access: Optional[pulumi.Input[bool]] = None, + is_em_data_access: Optional[pulumi.Input[bool]] = None, + is_opsi_data_access: Optional[pulumi.Input[bool]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + operations_insights_warehouse_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if connection_password is not None: - pulumi.set(__self__, "connection_password", connection_password) + _setter("connection_password", connection_password) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_awr_data_access is not None: - pulumi.set(__self__, "is_awr_data_access", is_awr_data_access) + _setter("is_awr_data_access", is_awr_data_access) if is_em_data_access is not None: - pulumi.set(__self__, "is_em_data_access", is_em_data_access) + _setter("is_em_data_access", is_em_data_access) if is_opsi_data_access is not None: - pulumi.set(__self__, "is_opsi_data_access", is_opsi_data_access) + _setter("is_opsi_data_access", is_opsi_data_access) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if operations_insights_warehouse_id is not None: - pulumi.set(__self__, "operations_insights_warehouse_id", operations_insights_warehouse_id) + _setter("operations_insights_warehouse_id", operations_insights_warehouse_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -524,6 +584,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + OperationsInsightsWarehouseUserArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/opsi/opsi_configuration.py b/sdk/python/pulumi_oci/opsi/opsi_configuration.py index 9a79df5974..f2237d8083 100644 --- a/sdk/python/pulumi_oci/opsi/opsi_configuration.py +++ b/sdk/python/pulumi_oci/opsi/opsi_configuration.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -47,29 +47,60 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "opsi_config_type", opsi_config_type) + OpsiConfigurationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + opsi_config_type=opsi_config_type, + compartment_id=compartment_id, + config_item_custom_statuses=config_item_custom_statuses, + config_item_fields=config_item_fields, + config_items=config_items, + config_items_applicable_contexts=config_items_applicable_contexts, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + opsi_config_fields=opsi_config_fields, + system_tags=system_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + opsi_config_type: pulumi.Input[str], + compartment_id: Optional[pulumi.Input[str]] = None, + config_item_custom_statuses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + config_item_fields: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + config_items: Optional[pulumi.Input[Sequence[pulumi.Input['OpsiConfigurationConfigItemArgs']]]] = None, + config_items_applicable_contexts: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opsi_config_fields: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("opsi_config_type", opsi_config_type) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if config_item_custom_statuses is not None: - pulumi.set(__self__, "config_item_custom_statuses", config_item_custom_statuses) + _setter("config_item_custom_statuses", config_item_custom_statuses) if config_item_fields is not None: - pulumi.set(__self__, "config_item_fields", config_item_fields) + _setter("config_item_fields", config_item_fields) if config_items is not None: - pulumi.set(__self__, "config_items", config_items) + _setter("config_items", config_items) if config_items_applicable_contexts is not None: - pulumi.set(__self__, "config_items_applicable_contexts", config_items_applicable_contexts) + _setter("config_items_applicable_contexts", config_items_applicable_contexts) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if opsi_config_fields is not None: - pulumi.set(__self__, "opsi_config_fields", opsi_config_fields) + _setter("opsi_config_fields", opsi_config_fields) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) @property @pulumi.getter(name="opsiConfigType") @@ -262,38 +293,77 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The time at which the resource was first created. An RFC3339 formatted datetime string :param pulumi.Input[str] time_updated: The time at which the resource was last updated. An RFC3339 formatted datetime string """ + _OpsiConfigurationState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + config_item_custom_statuses=config_item_custom_statuses, + config_item_fields=config_item_fields, + config_items=config_items, + config_items_applicable_contexts=config_items_applicable_contexts, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + opsi_config_fields=opsi_config_fields, + opsi_config_type=opsi_config_type, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + config_item_custom_statuses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + config_item_fields: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + config_items: Optional[pulumi.Input[Sequence[pulumi.Input['OpsiConfigurationConfigItemArgs']]]] = None, + config_items_applicable_contexts: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + opsi_config_fields: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opsi_config_type: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if config_item_custom_statuses is not None: - pulumi.set(__self__, "config_item_custom_statuses", config_item_custom_statuses) + _setter("config_item_custom_statuses", config_item_custom_statuses) if config_item_fields is not None: - pulumi.set(__self__, "config_item_fields", config_item_fields) + _setter("config_item_fields", config_item_fields) if config_items is not None: - pulumi.set(__self__, "config_items", config_items) + _setter("config_items", config_items) if config_items_applicable_contexts is not None: - pulumi.set(__self__, "config_items_applicable_contexts", config_items_applicable_contexts) + _setter("config_items_applicable_contexts", config_items_applicable_contexts) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if opsi_config_fields is not None: - pulumi.set(__self__, "opsi_config_fields", opsi_config_fields) + _setter("opsi_config_fields", opsi_config_fields) if opsi_config_type is not None: - pulumi.set(__self__, "opsi_config_type", opsi_config_type) + _setter("opsi_config_type", opsi_config_type) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -629,6 +699,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + OpsiConfigurationArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/opsi/outputs.py b/sdk/python/pulumi_oci/opsi/outputs.py index 690fe511fa..842076a91c 100644 --- a/sdk/python/pulumi_oci/opsi/outputs.py +++ b/sdk/python/pulumi_oci/opsi/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -141,18 +141,37 @@ def __init__(__self__, *, :param str user_name: database user name. :param str wallet_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database keystore contents are stored. """ + DatabaseInsightConnectionCredentialDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + credential_source_name=credential_source_name, + credential_type=credential_type, + password_secret_id=password_secret_id, + role=role, + user_name=user_name, + wallet_secret_id=wallet_secret_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + credential_source_name: Optional[str] = None, + credential_type: Optional[str] = None, + password_secret_id: Optional[str] = None, + role: Optional[str] = None, + user_name: Optional[str] = None, + wallet_secret_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if credential_source_name is not None: - pulumi.set(__self__, "credential_source_name", credential_source_name) + _setter("credential_source_name", credential_source_name) if credential_type is not None: - pulumi.set(__self__, "credential_type", credential_type) + _setter("credential_type", credential_type) if password_secret_id is not None: - pulumi.set(__self__, "password_secret_id", password_secret_id) + _setter("password_secret_id", password_secret_id) if role is not None: - pulumi.set(__self__, "role", role) + _setter("role", role) if user_name is not None: - pulumi.set(__self__, "user_name", user_name) + _setter("user_name", user_name) if wallet_secret_id is not None: - pulumi.set(__self__, "wallet_secret_id", wallet_secret_id) + _setter("wallet_secret_id", wallet_secret_id) @property @pulumi.getter(name="credentialSourceName") @@ -237,16 +256,33 @@ def __init__(__self__, *, :param str protocol: Protocol used for connection requests for private endpoint accssed database resource. :param str service_name: Database service name used for connection requests. """ + DatabaseInsightConnectionDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + host_name=host_name, + hosts=hosts, + port=port, + protocol=protocol, + service_name=service_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host_name: Optional[str] = None, + hosts: Optional[Sequence['outputs.DatabaseInsightConnectionDetailsHost']] = None, + port: Optional[int] = None, + protocol: Optional[str] = None, + service_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if host_name is not None: - pulumi.set(__self__, "host_name", host_name) + _setter("host_name", host_name) if hosts is not None: - pulumi.set(__self__, "hosts", hosts) + _setter("hosts", hosts) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if protocol is not None: - pulumi.set(__self__, "protocol", protocol) + _setter("protocol", protocol) if service_name is not None: - pulumi.set(__self__, "service_name", service_name) + _setter("service_name", service_name) @property @pulumi.getter(name="hostName") @@ -315,10 +351,21 @@ def __init__(__self__, *, :param str host_ip: Host IP used for connection requests for Cloud DB resource. :param int port: Listener port number used for connection requests for rivate endpoint accessed db resource. """ + DatabaseInsightConnectionDetailsHost._configure( + lambda key, value: pulumi.set(__self__, key, value), + host_ip=host_ip, + port=port, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host_ip: Optional[str] = None, + port: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if host_ip is not None: - pulumi.set(__self__, "host_ip", host_ip) + _setter("host_ip", host_ip) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) @property @pulumi.getter(name="hostIp") @@ -379,17 +426,36 @@ def __init__(__self__, *, :param str user_name: database user name. :param str wallet_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database keystore contents are stored. """ - pulumi.set(__self__, "credential_type", credential_type) + DatabaseInsightCredentialDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + credential_type=credential_type, + credential_source_name=credential_source_name, + password_secret_id=password_secret_id, + role=role, + user_name=user_name, + wallet_secret_id=wallet_secret_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + credential_type: str, + credential_source_name: Optional[str] = None, + password_secret_id: Optional[str] = None, + role: Optional[str] = None, + user_name: Optional[str] = None, + wallet_secret_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("credential_type", credential_type) if credential_source_name is not None: - pulumi.set(__self__, "credential_source_name", credential_source_name) + _setter("credential_source_name", credential_source_name) if password_secret_id is not None: - pulumi.set(__self__, "password_secret_id", password_secret_id) + _setter("password_secret_id", password_secret_id) if role is not None: - pulumi.set(__self__, "role", role) + _setter("role", role) if user_name is not None: - pulumi.set(__self__, "user_name", user_name) + _setter("user_name", user_name) if wallet_secret_id is not None: - pulumi.set(__self__, "wallet_secret_id", wallet_secret_id) + _setter("wallet_secret_id", wallet_secret_id) @property @pulumi.getter(name="credentialType") @@ -480,16 +546,33 @@ def __init__(__self__, *, :param str opsi_private_endpoint_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the OPSI private endpoint :param str vmcluster_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VM Cluster. """ + ExadataInsightMemberVmClusterDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + dbm_private_endpoint_id=dbm_private_endpoint_id, + member_database_details=member_database_details, + opsi_private_endpoint_id=opsi_private_endpoint_id, + vmcluster_id=vmcluster_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[str] = None, + dbm_private_endpoint_id: Optional[str] = None, + member_database_details: Optional[Sequence['outputs.ExadataInsightMemberVmClusterDetailMemberDatabaseDetail']] = None, + opsi_private_endpoint_id: Optional[str] = None, + vmcluster_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if dbm_private_endpoint_id is not None: - pulumi.set(__self__, "dbm_private_endpoint_id", dbm_private_endpoint_id) + _setter("dbm_private_endpoint_id", dbm_private_endpoint_id) if member_database_details is not None: - pulumi.set(__self__, "member_database_details", member_database_details) + _setter("member_database_details", member_database_details) if opsi_private_endpoint_id is not None: - pulumi.set(__self__, "opsi_private_endpoint_id", opsi_private_endpoint_id) + _setter("opsi_private_endpoint_id", opsi_private_endpoint_id) if vmcluster_id is not None: - pulumi.set(__self__, "vmcluster_id", vmcluster_id) + _setter("vmcluster_id", vmcluster_id) @property @pulumi.getter(name="compartmentId") @@ -604,32 +687,65 @@ def __init__(__self__, *, :param str service_name: Database service name used for connection requests. :param Mapping[str, Any] system_tags: System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` """ + ExadataInsightMemberVmClusterDetailMemberDatabaseDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + connection_details=connection_details, + credential_details=credential_details, + database_id=database_id, + database_resource_type=database_resource_type, + dbm_private_endpoint_id=dbm_private_endpoint_id, + defined_tags=defined_tags, + deployment_type=deployment_type, + entity_source=entity_source, + freeform_tags=freeform_tags, + opsi_private_endpoint_id=opsi_private_endpoint_id, + service_name=service_name, + system_tags=system_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[str] = None, + connection_details: Optional['outputs.ExadataInsightMemberVmClusterDetailMemberDatabaseDetailConnectionDetails'] = None, + credential_details: Optional['outputs.ExadataInsightMemberVmClusterDetailMemberDatabaseDetailCredentialDetails'] = None, + database_id: Optional[str] = None, + database_resource_type: Optional[str] = None, + dbm_private_endpoint_id: Optional[str] = None, + defined_tags: Optional[Mapping[str, Any]] = None, + deployment_type: Optional[str] = None, + entity_source: Optional[str] = None, + freeform_tags: Optional[Mapping[str, Any]] = None, + opsi_private_endpoint_id: Optional[str] = None, + service_name: Optional[str] = None, + system_tags: Optional[Mapping[str, Any]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if connection_details is not None: - pulumi.set(__self__, "connection_details", connection_details) + _setter("connection_details", connection_details) if credential_details is not None: - pulumi.set(__self__, "credential_details", credential_details) + _setter("credential_details", credential_details) if database_id is not None: - pulumi.set(__self__, "database_id", database_id) + _setter("database_id", database_id) if database_resource_type is not None: - pulumi.set(__self__, "database_resource_type", database_resource_type) + _setter("database_resource_type", database_resource_type) if dbm_private_endpoint_id is not None: - pulumi.set(__self__, "dbm_private_endpoint_id", dbm_private_endpoint_id) + _setter("dbm_private_endpoint_id", dbm_private_endpoint_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if deployment_type is not None: - pulumi.set(__self__, "deployment_type", deployment_type) + _setter("deployment_type", deployment_type) if entity_source is not None: - pulumi.set(__self__, "entity_source", entity_source) + _setter("entity_source", entity_source) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if opsi_private_endpoint_id is not None: - pulumi.set(__self__, "opsi_private_endpoint_id", opsi_private_endpoint_id) + _setter("opsi_private_endpoint_id", opsi_private_endpoint_id) if service_name is not None: - pulumi.set(__self__, "service_name", service_name) + _setter("service_name", service_name) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) @property @pulumi.getter(name="compartmentId") @@ -764,12 +880,25 @@ def __init__(__self__, *, :param str protocol: Protocol used for connection requests for private endpoint accssed database resource. :param str service_name: Database service name used for connection requests. """ + ExadataInsightMemberVmClusterDetailMemberDatabaseDetailConnectionDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + hosts=hosts, + protocol=protocol, + service_name=service_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hosts: Optional[Sequence['outputs.ExadataInsightMemberVmClusterDetailMemberDatabaseDetailConnectionDetailsHost']] = None, + protocol: Optional[str] = None, + service_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if hosts is not None: - pulumi.set(__self__, "hosts", hosts) + _setter("hosts", hosts) if protocol is not None: - pulumi.set(__self__, "protocol", protocol) + _setter("protocol", protocol) if service_name is not None: - pulumi.set(__self__, "service_name", service_name) + _setter("service_name", service_name) @property @pulumi.getter @@ -822,10 +951,21 @@ def __init__(__self__, *, :param str host_ip: Host IP used for connection requests for Cloud DB resource. :param int port: Listener port number used for connection requests for rivate endpoint accessed db resource. """ + ExadataInsightMemberVmClusterDetailMemberDatabaseDetailConnectionDetailsHost._configure( + lambda key, value: pulumi.set(__self__, key, value), + host_ip=host_ip, + port=port, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host_ip: Optional[str] = None, + port: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if host_ip is not None: - pulumi.set(__self__, "host_ip", host_ip) + _setter("host_ip", host_ip) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) @property @pulumi.getter(name="hostIp") @@ -886,17 +1026,36 @@ def __init__(__self__, *, :param str user_name: database user name. :param str wallet_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database keystore contents are stored. """ - pulumi.set(__self__, "credential_type", credential_type) + ExadataInsightMemberVmClusterDetailMemberDatabaseDetailCredentialDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + credential_type=credential_type, + credential_source_name=credential_source_name, + password_secret_id=password_secret_id, + role=role, + user_name=user_name, + wallet_secret_id=wallet_secret_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + credential_type: str, + credential_source_name: Optional[str] = None, + password_secret_id: Optional[str] = None, + role: Optional[str] = None, + user_name: Optional[str] = None, + wallet_secret_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("credential_type", credential_type) if credential_source_name is not None: - pulumi.set(__self__, "credential_source_name", credential_source_name) + _setter("credential_source_name", credential_source_name) if password_secret_id is not None: - pulumi.set(__self__, "password_secret_id", password_secret_id) + _setter("password_secret_id", password_secret_id) if role is not None: - pulumi.set(__self__, "role", role) + _setter("role", role) if user_name is not None: - pulumi.set(__self__, "user_name", user_name) + _setter("user_name", user_name) if wallet_secret_id is not None: - pulumi.set(__self__, "wallet_secret_id", wallet_secret_id) + _setter("wallet_secret_id", wallet_secret_id) @property @pulumi.getter(name="credentialType") @@ -971,7 +1130,16 @@ def __init__(__self__, *, """ :param Sequence[str] capacity_planning_resources: (Updatable) Supported resources for capacity planning content type. """ - pulumi.set(__self__, "capacity_planning_resources", capacity_planning_resources) + NewsReportContentTypes._configure( + lambda key, value: pulumi.set(__self__, key, value), + capacity_planning_resources=capacity_planning_resources, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + capacity_planning_resources: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("capacity_planning_resources", capacity_planning_resources) @property @pulumi.getter(name="capacityPlanningResources") @@ -1020,17 +1188,36 @@ def __init__(__self__, *, :param str name: (Updatable) Name of configuration item. :param str value: (Updatable) Value of configuration item. """ - pulumi.set(__self__, "config_item_type", config_item_type) + OpsiConfigurationConfigItem._configure( + lambda key, value: pulumi.set(__self__, key, value), + config_item_type=config_item_type, + applicable_contexts=applicable_contexts, + default_value=default_value, + metadatas=metadatas, + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + config_item_type: str, + applicable_contexts: Optional[Sequence[str]] = None, + default_value: Optional[str] = None, + metadatas: Optional[Sequence['outputs.OpsiConfigurationConfigItemMetadata']] = None, + name: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("config_item_type", config_item_type) if applicable_contexts is not None: - pulumi.set(__self__, "applicable_contexts", applicable_contexts) + _setter("applicable_contexts", applicable_contexts) if default_value is not None: - pulumi.set(__self__, "default_value", default_value) + _setter("default_value", default_value) if metadatas is not None: - pulumi.set(__self__, "metadatas", metadatas) + _setter("metadatas", metadatas) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter(name="configItemType") @@ -1123,18 +1310,37 @@ def __init__(__self__, *, :param Sequence['OpsiConfigurationConfigItemMetadataUnitDetailArgs'] unit_details: Unit details of configuration item. :param Sequence['OpsiConfigurationConfigItemMetadataValueInputDetailArgs'] value_input_details: Allowed value details of configuration item, to validate what value can be assigned to a configuration item. """ + OpsiConfigurationConfigItemMetadata._configure( + lambda key, value: pulumi.set(__self__, key, value), + config_item_type=config_item_type, + data_type=data_type, + description=description, + display_name=display_name, + unit_details=unit_details, + value_input_details=value_input_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + config_item_type: Optional[str] = None, + data_type: Optional[str] = None, + description: Optional[str] = None, + display_name: Optional[str] = None, + unit_details: Optional[Sequence['outputs.OpsiConfigurationConfigItemMetadataUnitDetail']] = None, + value_input_details: Optional[Sequence['outputs.OpsiConfigurationConfigItemMetadataValueInputDetail']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if config_item_type is not None: - pulumi.set(__self__, "config_item_type", config_item_type) + _setter("config_item_type", config_item_type) if data_type is not None: - pulumi.set(__self__, "data_type", data_type) + _setter("data_type", data_type) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if unit_details is not None: - pulumi.set(__self__, "unit_details", unit_details) + _setter("unit_details", unit_details) if value_input_details is not None: - pulumi.set(__self__, "value_input_details", value_input_details) + _setter("value_input_details", value_input_details) @property @pulumi.getter(name="configItemType") @@ -1211,10 +1417,21 @@ def __init__(__self__, *, :param str display_name: (Updatable) User-friendly display name for the OPSI configuration. The name does not have to be unique. :param str unit: Unit of configuration item. """ + OpsiConfigurationConfigItemMetadataUnitDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + unit=unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: Optional[str] = None, + unit: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if unit is not None: - pulumi.set(__self__, "unit", unit) + _setter("unit", unit) @property @pulumi.getter(name="displayName") @@ -1269,14 +1486,29 @@ def __init__(__self__, *, :param str min_value: Minimum value limit for the configuration item. :param Sequence[str] possible_values: Allowed values to pick for the configuration item. """ + OpsiConfigurationConfigItemMetadataValueInputDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_value_type=allowed_value_type, + max_value=max_value, + min_value=min_value, + possible_values=possible_values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_value_type: Optional[str] = None, + max_value: Optional[str] = None, + min_value: Optional[str] = None, + possible_values: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if allowed_value_type is not None: - pulumi.set(__self__, "allowed_value_type", allowed_value_type) + _setter("allowed_value_type", allowed_value_type) if max_value is not None: - pulumi.set(__self__, "max_value", max_value) + _setter("max_value", max_value) if min_value is not None: - pulumi.set(__self__, "min_value", min_value) + _setter("min_value", min_value) if possible_values is not None: - pulumi.set(__self__, "possible_values", possible_values) + _setter("possible_values", possible_values) @property @pulumi.getter(name="allowedValueType") @@ -1330,13 +1562,34 @@ def __init__(__self__, *, :param str time_snapshot_begin: The start time of the snapshot. :param str time_snapshot_end: The end time of the snapshot. """ - pulumi.set(__self__, "awr_source_database_id", awr_source_database_id) - pulumi.set(__self__, "error_count", error_count) - pulumi.set(__self__, "instance_number", instance_number) - pulumi.set(__self__, "snapshot_identifier", snapshot_identifier) - pulumi.set(__self__, "time_db_startup", time_db_startup) - pulumi.set(__self__, "time_snapshot_begin", time_snapshot_begin) - pulumi.set(__self__, "time_snapshot_end", time_snapshot_end) + GetAwrHubAwrSnapshotItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + awr_source_database_id=awr_source_database_id, + error_count=error_count, + instance_number=instance_number, + snapshot_identifier=snapshot_identifier, + time_db_startup=time_db_startup, + time_snapshot_begin=time_snapshot_begin, + time_snapshot_end=time_snapshot_end, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + awr_source_database_id: str, + error_count: str, + instance_number: int, + snapshot_identifier: int, + time_db_startup: str, + time_snapshot_begin: str, + time_snapshot_end: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("awr_source_database_id", awr_source_database_id) + _setter("error_count", error_count) + _setter("instance_number", instance_number) + _setter("snapshot_identifier", snapshot_identifier) + _setter("time_db_startup", time_db_startup) + _setter("time_snapshot_begin", time_snapshot_begin) + _setter("time_snapshot_end", time_snapshot_end) @property @pulumi.getter(name="awrSourceDatabaseId") @@ -1402,7 +1655,16 @@ def __init__(__self__, *, """ :param Sequence['GetAwrHubAwrSnapshotsAwrSnapshotCollectionItemArgs'] items: A list of AWR snapshot summary data. """ - pulumi.set(__self__, "items", items) + GetAwrHubAwrSnapshotsAwrSnapshotCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetAwrHubAwrSnapshotsAwrSnapshotCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1420,7 +1682,16 @@ def __init__(__self__, *, """ :param Sequence['GetAwrHubAwrSnapshotsAwrSnapshotCollectionItemItemArgs'] items: A list of AWR snapshot summary data. """ - pulumi.set(__self__, "items", items) + GetAwrHubAwrSnapshotsAwrSnapshotCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetAwrHubAwrSnapshotsAwrSnapshotCollectionItemItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1450,13 +1721,34 @@ def __init__(__self__, *, :param str time_snapshot_begin: The start time of the snapshot. :param str time_snapshot_end: The end time of the snapshot. """ - pulumi.set(__self__, "awr_source_database_id", awr_source_database_id) - pulumi.set(__self__, "error_count", error_count) - pulumi.set(__self__, "instance_number", instance_number) - pulumi.set(__self__, "snapshot_identifier", snapshot_identifier) - pulumi.set(__self__, "time_db_startup", time_db_startup) - pulumi.set(__self__, "time_snapshot_begin", time_snapshot_begin) - pulumi.set(__self__, "time_snapshot_end", time_snapshot_end) + GetAwrHubAwrSnapshotsAwrSnapshotCollectionItemItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + awr_source_database_id=awr_source_database_id, + error_count=error_count, + instance_number=instance_number, + snapshot_identifier=snapshot_identifier, + time_db_startup=time_db_startup, + time_snapshot_begin=time_snapshot_begin, + time_snapshot_end=time_snapshot_end, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + awr_source_database_id: str, + error_count: str, + instance_number: int, + snapshot_identifier: int, + time_db_startup: str, + time_snapshot_begin: str, + time_snapshot_end: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("awr_source_database_id", awr_source_database_id) + _setter("error_count", error_count) + _setter("instance_number", instance_number) + _setter("snapshot_identifier", snapshot_identifier) + _setter("time_db_startup", time_db_startup) + _setter("time_snapshot_begin", time_snapshot_begin) + _setter("time_snapshot_end", time_snapshot_end) @property @pulumi.getter(name="awrSourceDatabaseId") @@ -1521,10 +1813,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAwrHubAwrSnapshotsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1565,15 +1870,40 @@ def __init__(__self__, *, :param str time_first_snapshot_generated: The time at which the earliest snapshot was generated in the source database for which data is uploaded to AWR Hub. An RFC3339 formatted datetime string :param str time_last_snapshot_generated: The time at which the latest snapshot was generated in the source database for which data is uploaded to AWR Hub. An RFC3339 formatted datetime string """ - pulumi.set(__self__, "awr_hub_id", awr_hub_id) - pulumi.set(__self__, "awr_source_database_id", awr_source_database_id) - pulumi.set(__self__, "hours_since_last_import", hours_since_last_import) - pulumi.set(__self__, "max_snapshot_identifier", max_snapshot_identifier) - pulumi.set(__self__, "min_snapshot_identifier", min_snapshot_identifier) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "snapshots_uploaded", snapshots_uploaded) - pulumi.set(__self__, "time_first_snapshot_generated", time_first_snapshot_generated) - pulumi.set(__self__, "time_last_snapshot_generated", time_last_snapshot_generated) + GetAwrHubAwrSourcesSummaryItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + awr_hub_id=awr_hub_id, + awr_source_database_id=awr_source_database_id, + hours_since_last_import=hours_since_last_import, + max_snapshot_identifier=max_snapshot_identifier, + min_snapshot_identifier=min_snapshot_identifier, + name=name, + snapshots_uploaded=snapshots_uploaded, + time_first_snapshot_generated=time_first_snapshot_generated, + time_last_snapshot_generated=time_last_snapshot_generated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + awr_hub_id: str, + awr_source_database_id: str, + hours_since_last_import: float, + max_snapshot_identifier: float, + min_snapshot_identifier: float, + name: str, + snapshots_uploaded: float, + time_first_snapshot_generated: str, + time_last_snapshot_generated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("awr_hub_id", awr_hub_id) + _setter("awr_source_database_id", awr_source_database_id) + _setter("hours_since_last_import", hours_since_last_import) + _setter("max_snapshot_identifier", max_snapshot_identifier) + _setter("min_snapshot_identifier", min_snapshot_identifier) + _setter("name", name) + _setter("snapshots_uploaded", snapshots_uploaded) + _setter("time_first_snapshot_generated", time_first_snapshot_generated) + _setter("time_last_snapshot_generated", time_last_snapshot_generated) @property @pulumi.getter(name="awrHubId") @@ -1652,7 +1982,16 @@ def time_last_snapshot_generated(self) -> str: class GetAwrHubsAwrHubSummaryCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetAwrHubsAwrHubSummaryCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetAwrHubsAwrHubSummaryCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetAwrHubsAwrHubSummaryCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1691,19 +2030,52 @@ def __init__(__self__, *, :param str time_created: The time at which the resource was first created. An RFC3339 formatted datetime string :param str time_updated: The time at which the resource was last updated. An RFC3339 formatted datetime string """ - pulumi.set(__self__, "awr_mailbox_url", awr_mailbox_url) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "object_storage_bucket_name", object_storage_bucket_name) - pulumi.set(__self__, "operations_insights_warehouse_id", operations_insights_warehouse_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetAwrHubsAwrHubSummaryCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + awr_mailbox_url=awr_mailbox_url, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + object_storage_bucket_name=object_storage_bucket_name, + operations_insights_warehouse_id=operations_insights_warehouse_id, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + awr_mailbox_url: str, + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + object_storage_bucket_name: str, + operations_insights_warehouse_id: str, + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("awr_mailbox_url", awr_mailbox_url) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("object_storage_bucket_name", object_storage_bucket_name) + _setter("operations_insights_warehouse_id", operations_insights_warehouse_id) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="awrMailboxUrl") @@ -1816,10 +2188,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAwrHubsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1854,12 +2239,31 @@ def __init__(__self__, *, :param str user_name: database user name. :param str wallet_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database keystore contents are stored. """ - pulumi.set(__self__, "credential_source_name", credential_source_name) - pulumi.set(__self__, "credential_type", credential_type) - pulumi.set(__self__, "password_secret_id", password_secret_id) - pulumi.set(__self__, "role", role) - pulumi.set(__self__, "user_name", user_name) - pulumi.set(__self__, "wallet_secret_id", wallet_secret_id) + GetDatabaseInsightConnectionCredentialDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + credential_source_name=credential_source_name, + credential_type=credential_type, + password_secret_id=password_secret_id, + role=role, + user_name=user_name, + wallet_secret_id=wallet_secret_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + credential_source_name: str, + credential_type: str, + password_secret_id: str, + role: str, + user_name: str, + wallet_secret_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("credential_source_name", credential_source_name) + _setter("credential_type", credential_type) + _setter("password_secret_id", password_secret_id) + _setter("role", role) + _setter("user_name", user_name) + _setter("wallet_secret_id", wallet_secret_id) @property @pulumi.getter(name="credentialSourceName") @@ -1925,11 +2329,28 @@ def __init__(__self__, *, :param str protocol: Protocol used for connection requests for private endpoint accssed database resource. :param str service_name: Database service name used for connection requests. """ - pulumi.set(__self__, "host_name", host_name) - pulumi.set(__self__, "hosts", hosts) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "service_name", service_name) + GetDatabaseInsightConnectionDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + host_name=host_name, + hosts=hosts, + port=port, + protocol=protocol, + service_name=service_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host_name: str, + hosts: Sequence['outputs.GetDatabaseInsightConnectionDetailHostResult'], + port: int, + protocol: str, + service_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("host_name", host_name) + _setter("hosts", hosts) + _setter("port", port) + _setter("protocol", protocol) + _setter("service_name", service_name) @property @pulumi.getter(name="hostName") @@ -1981,8 +2402,19 @@ def __init__(__self__, *, :param str host_ip: Host IP used for connection requests for Cloud DB resource. :param int port: Listener port number used for connection requests. """ - pulumi.set(__self__, "host_ip", host_ip) - pulumi.set(__self__, "port", port) + GetDatabaseInsightConnectionDetailHostResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + host_ip=host_ip, + port=port, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host_ip: str, + port: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("host_ip", host_ip) + _setter("port", port) @property @pulumi.getter(name="hostIp") @@ -2018,12 +2450,31 @@ def __init__(__self__, *, :param str user_name: database user name. :param str wallet_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database keystore contents are stored. """ - pulumi.set(__self__, "credential_source_name", credential_source_name) - pulumi.set(__self__, "credential_type", credential_type) - pulumi.set(__self__, "password_secret_id", password_secret_id) - pulumi.set(__self__, "role", role) - pulumi.set(__self__, "user_name", user_name) - pulumi.set(__self__, "wallet_secret_id", wallet_secret_id) + GetDatabaseInsightCredentialDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + credential_source_name=credential_source_name, + credential_type=credential_type, + password_secret_id=password_secret_id, + role=role, + user_name=user_name, + wallet_secret_id=wallet_secret_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + credential_source_name: str, + credential_type: str, + password_secret_id: str, + role: str, + user_name: str, + wallet_secret_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("credential_source_name", credential_source_name) + _setter("credential_type", credential_type) + _setter("password_secret_id", password_secret_id) + _setter("role", role) + _setter("user_name", user_name) + _setter("wallet_secret_id", wallet_secret_id) @property @pulumi.getter(name="credentialSourceName") @@ -2078,7 +2529,16 @@ def wallet_secret_id(self) -> str: class GetDatabaseInsightsDatabaseInsightsCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetDatabaseInsightsDatabaseInsightsCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetDatabaseInsightsDatabaseInsightsCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDatabaseInsightsDatabaseInsightsCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -2159,41 +2619,118 @@ def __init__(__self__, *, :param str time_created: The time the the database insight was first enabled. An RFC3339 formatted datetime string :param str time_updated: The time the database insight was updated. An RFC3339 formatted datetime string """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "connection_credential_details", connection_credential_details) - pulumi.set(__self__, "connection_details", connection_details) - pulumi.set(__self__, "credential_details", credential_details) - pulumi.set(__self__, "database_connection_status_details", database_connection_status_details) - pulumi.set(__self__, "database_display_name", database_display_name) - pulumi.set(__self__, "database_id", database_id) - pulumi.set(__self__, "database_name", database_name) - pulumi.set(__self__, "database_resource_type", database_resource_type) - pulumi.set(__self__, "database_type", database_type) - pulumi.set(__self__, "database_version", database_version) - pulumi.set(__self__, "dbm_private_endpoint_id", dbm_private_endpoint_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "deployment_type", deployment_type) - pulumi.set(__self__, "enterprise_manager_bridge_id", enterprise_manager_bridge_id) - pulumi.set(__self__, "enterprise_manager_entity_display_name", enterprise_manager_entity_display_name) - pulumi.set(__self__, "enterprise_manager_entity_identifier", enterprise_manager_entity_identifier) - pulumi.set(__self__, "enterprise_manager_entity_name", enterprise_manager_entity_name) - pulumi.set(__self__, "enterprise_manager_entity_type", enterprise_manager_entity_type) - pulumi.set(__self__, "enterprise_manager_identifier", enterprise_manager_identifier) - pulumi.set(__self__, "entity_source", entity_source) - pulumi.set(__self__, "exadata_insight_id", exadata_insight_id) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "opsi_private_endpoint_id", opsi_private_endpoint_id) - pulumi.set(__self__, "parent_id", parent_id) - pulumi.set(__self__, "processor_count", processor_count) - pulumi.set(__self__, "root_id", root_id) - pulumi.set(__self__, "service_name", service_name) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetDatabaseInsightsDatabaseInsightsCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + connection_credential_details=connection_credential_details, + connection_details=connection_details, + credential_details=credential_details, + database_connection_status_details=database_connection_status_details, + database_display_name=database_display_name, + database_id=database_id, + database_name=database_name, + database_resource_type=database_resource_type, + database_type=database_type, + database_version=database_version, + dbm_private_endpoint_id=dbm_private_endpoint_id, + defined_tags=defined_tags, + deployment_type=deployment_type, + enterprise_manager_bridge_id=enterprise_manager_bridge_id, + enterprise_manager_entity_display_name=enterprise_manager_entity_display_name, + enterprise_manager_entity_identifier=enterprise_manager_entity_identifier, + enterprise_manager_entity_name=enterprise_manager_entity_name, + enterprise_manager_entity_type=enterprise_manager_entity_type, + enterprise_manager_identifier=enterprise_manager_identifier, + entity_source=entity_source, + exadata_insight_id=exadata_insight_id, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + opsi_private_endpoint_id=opsi_private_endpoint_id, + parent_id=parent_id, + processor_count=processor_count, + root_id=root_id, + service_name=service_name, + state=state, + status=status, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + connection_credential_details: Sequence['outputs.GetDatabaseInsightsDatabaseInsightsCollectionItemConnectionCredentialDetailResult'], + connection_details: Sequence['outputs.GetDatabaseInsightsDatabaseInsightsCollectionItemConnectionDetailResult'], + credential_details: Sequence['outputs.GetDatabaseInsightsDatabaseInsightsCollectionItemCredentialDetailResult'], + database_connection_status_details: str, + database_display_name: str, + database_id: str, + database_name: str, + database_resource_type: str, + database_type: str, + database_version: str, + dbm_private_endpoint_id: str, + defined_tags: Mapping[str, Any], + deployment_type: str, + enterprise_manager_bridge_id: str, + enterprise_manager_entity_display_name: str, + enterprise_manager_entity_identifier: str, + enterprise_manager_entity_name: str, + enterprise_manager_entity_type: str, + enterprise_manager_identifier: str, + entity_source: str, + exadata_insight_id: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + opsi_private_endpoint_id: str, + parent_id: str, + processor_count: int, + root_id: str, + service_name: str, + state: str, + status: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("connection_credential_details", connection_credential_details) + _setter("connection_details", connection_details) + _setter("credential_details", credential_details) + _setter("database_connection_status_details", database_connection_status_details) + _setter("database_display_name", database_display_name) + _setter("database_id", database_id) + _setter("database_name", database_name) + _setter("database_resource_type", database_resource_type) + _setter("database_type", database_type) + _setter("database_version", database_version) + _setter("dbm_private_endpoint_id", dbm_private_endpoint_id) + _setter("defined_tags", defined_tags) + _setter("deployment_type", deployment_type) + _setter("enterprise_manager_bridge_id", enterprise_manager_bridge_id) + _setter("enterprise_manager_entity_display_name", enterprise_manager_entity_display_name) + _setter("enterprise_manager_entity_identifier", enterprise_manager_entity_identifier) + _setter("enterprise_manager_entity_name", enterprise_manager_entity_name) + _setter("enterprise_manager_entity_type", enterprise_manager_entity_type) + _setter("enterprise_manager_identifier", enterprise_manager_identifier) + _setter("entity_source", entity_source) + _setter("exadata_insight_id", exadata_insight_id) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("opsi_private_endpoint_id", opsi_private_endpoint_id) + _setter("parent_id", parent_id) + _setter("processor_count", processor_count) + _setter("root_id", root_id) + _setter("service_name", service_name) + _setter("state", state) + _setter("status", status) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -2487,12 +3024,31 @@ def __init__(__self__, *, :param str user_name: database user name. :param str wallet_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database keystore contents are stored. """ - pulumi.set(__self__, "credential_source_name", credential_source_name) - pulumi.set(__self__, "credential_type", credential_type) - pulumi.set(__self__, "password_secret_id", password_secret_id) - pulumi.set(__self__, "role", role) - pulumi.set(__self__, "user_name", user_name) - pulumi.set(__self__, "wallet_secret_id", wallet_secret_id) + GetDatabaseInsightsDatabaseInsightsCollectionItemConnectionCredentialDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + credential_source_name=credential_source_name, + credential_type=credential_type, + password_secret_id=password_secret_id, + role=role, + user_name=user_name, + wallet_secret_id=wallet_secret_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + credential_source_name: str, + credential_type: str, + password_secret_id: str, + role: str, + user_name: str, + wallet_secret_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("credential_source_name", credential_source_name) + _setter("credential_type", credential_type) + _setter("password_secret_id", password_secret_id) + _setter("role", role) + _setter("user_name", user_name) + _setter("wallet_secret_id", wallet_secret_id) @property @pulumi.getter(name="credentialSourceName") @@ -2558,11 +3114,28 @@ def __init__(__self__, *, :param str protocol: Protocol used for connection requests for private endpoint accssed database resource. :param str service_name: Database service name used for connection requests. """ - pulumi.set(__self__, "host_name", host_name) - pulumi.set(__self__, "hosts", hosts) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "service_name", service_name) + GetDatabaseInsightsDatabaseInsightsCollectionItemConnectionDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + host_name=host_name, + hosts=hosts, + port=port, + protocol=protocol, + service_name=service_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host_name: str, + hosts: Sequence['outputs.GetDatabaseInsightsDatabaseInsightsCollectionItemConnectionDetailHostResult'], + port: int, + protocol: str, + service_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("host_name", host_name) + _setter("hosts", hosts) + _setter("port", port) + _setter("protocol", protocol) + _setter("service_name", service_name) @property @pulumi.getter(name="hostName") @@ -2614,8 +3187,19 @@ def __init__(__self__, *, :param str host_ip: Host IP used for connection requests for Cloud DB resource. :param int port: Listener port number used for connection requests. """ - pulumi.set(__self__, "host_ip", host_ip) - pulumi.set(__self__, "port", port) + GetDatabaseInsightsDatabaseInsightsCollectionItemConnectionDetailHostResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + host_ip=host_ip, + port=port, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host_ip: str, + port: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("host_ip", host_ip) + _setter("port", port) @property @pulumi.getter(name="hostIp") @@ -2651,12 +3235,31 @@ def __init__(__self__, *, :param str user_name: database user name. :param str wallet_secret_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Secret where the database keystore contents are stored. """ - pulumi.set(__self__, "credential_source_name", credential_source_name) - pulumi.set(__self__, "credential_type", credential_type) - pulumi.set(__self__, "password_secret_id", password_secret_id) - pulumi.set(__self__, "role", role) - pulumi.set(__self__, "user_name", user_name) - pulumi.set(__self__, "wallet_secret_id", wallet_secret_id) + GetDatabaseInsightsDatabaseInsightsCollectionItemCredentialDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + credential_source_name=credential_source_name, + credential_type=credential_type, + password_secret_id=password_secret_id, + role=role, + user_name=user_name, + wallet_secret_id=wallet_secret_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + credential_source_name: str, + credential_type: str, + password_secret_id: str, + role: str, + user_name: str, + wallet_secret_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("credential_source_name", credential_source_name) + _setter("credential_type", credential_type) + _setter("password_secret_id", password_secret_id) + _setter("role", role) + _setter("user_name", user_name) + _setter("wallet_secret_id", wallet_secret_id) @property @pulumi.getter(name="credentialSourceName") @@ -2713,10 +3316,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDatabaseInsightsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2738,7 +3354,16 @@ def regex(self) -> Optional[bool]: class GetEnterpriseManagerBridgesEnterpriseManagerBridgeCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetEnterpriseManagerBridgesEnterpriseManagerBridgeCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetEnterpriseManagerBridgesEnterpriseManagerBridgeCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetEnterpriseManagerBridgesEnterpriseManagerBridgeCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -2779,20 +3404,55 @@ def __init__(__self__, *, :param str time_created: The time the the Enterprise Manager bridge was first created. An RFC3339 formatted datetime string :param str time_updated: The time the Enterprise Manager bridge was updated. An RFC3339 formatted datetime string """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "object_storage_bucket_name", object_storage_bucket_name) - pulumi.set(__self__, "object_storage_bucket_status_details", object_storage_bucket_status_details) - pulumi.set(__self__, "object_storage_namespace_name", object_storage_namespace_name) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetEnterpriseManagerBridgesEnterpriseManagerBridgeCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + object_storage_bucket_name=object_storage_bucket_name, + object_storage_bucket_status_details=object_storage_bucket_status_details, + object_storage_namespace_name=object_storage_namespace_name, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + object_storage_bucket_name: str, + object_storage_bucket_status_details: str, + object_storage_namespace_name: str, + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("object_storage_bucket_name", object_storage_bucket_name) + _setter("object_storage_bucket_status_details", object_storage_bucket_status_details) + _setter("object_storage_namespace_name", object_storage_namespace_name) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -2913,10 +3573,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetEnterpriseManagerBridgesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2945,11 +3618,28 @@ def __init__(__self__, *, """ :param str compartment_id: Compartment identifier of the Exadata insight resource """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "dbm_private_endpoint_id", dbm_private_endpoint_id) - pulumi.set(__self__, "member_database_details", member_database_details) - pulumi.set(__self__, "opsi_private_endpoint_id", opsi_private_endpoint_id) - pulumi.set(__self__, "vmcluster_id", vmcluster_id) + GetExadataInsightMemberVmClusterDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + dbm_private_endpoint_id=dbm_private_endpoint_id, + member_database_details=member_database_details, + opsi_private_endpoint_id=opsi_private_endpoint_id, + vmcluster_id=vmcluster_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + dbm_private_endpoint_id: str, + member_database_details: Sequence['outputs.GetExadataInsightMemberVmClusterDetailMemberDatabaseDetailResult'], + opsi_private_endpoint_id: str, + vmcluster_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("dbm_private_endpoint_id", dbm_private_endpoint_id) + _setter("member_database_details", member_database_details) + _setter("opsi_private_endpoint_id", opsi_private_endpoint_id) + _setter("vmcluster_id", vmcluster_id) @property @pulumi.getter(name="compartmentId") @@ -3003,19 +3693,52 @@ def __init__(__self__, *, :param Mapping[str, Any] freeform_tags: Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` :param Mapping[str, Any] system_tags: System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "connection_details", connection_details) - pulumi.set(__self__, "credential_details", credential_details) - pulumi.set(__self__, "database_id", database_id) - pulumi.set(__self__, "database_resource_type", database_resource_type) - pulumi.set(__self__, "dbm_private_endpoint_id", dbm_private_endpoint_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "deployment_type", deployment_type) - pulumi.set(__self__, "entity_source", entity_source) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "opsi_private_endpoint_id", opsi_private_endpoint_id) - pulumi.set(__self__, "service_name", service_name) - pulumi.set(__self__, "system_tags", system_tags) + GetExadataInsightMemberVmClusterDetailMemberDatabaseDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + connection_details=connection_details, + credential_details=credential_details, + database_id=database_id, + database_resource_type=database_resource_type, + dbm_private_endpoint_id=dbm_private_endpoint_id, + defined_tags=defined_tags, + deployment_type=deployment_type, + entity_source=entity_source, + freeform_tags=freeform_tags, + opsi_private_endpoint_id=opsi_private_endpoint_id, + service_name=service_name, + system_tags=system_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + connection_details: Sequence['outputs.GetExadataInsightMemberVmClusterDetailMemberDatabaseDetailConnectionDetailResult'], + credential_details: Sequence['outputs.GetExadataInsightMemberVmClusterDetailMemberDatabaseDetailCredentialDetailResult'], + database_id: str, + database_resource_type: str, + dbm_private_endpoint_id: str, + defined_tags: Mapping[str, Any], + deployment_type: str, + entity_source: str, + freeform_tags: Mapping[str, Any], + opsi_private_endpoint_id: str, + service_name: str, + system_tags: Mapping[str, Any], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("connection_details", connection_details) + _setter("credential_details", credential_details) + _setter("database_id", database_id) + _setter("database_resource_type", database_resource_type) + _setter("dbm_private_endpoint_id", dbm_private_endpoint_id) + _setter("defined_tags", defined_tags) + _setter("deployment_type", deployment_type) + _setter("entity_source", entity_source) + _setter("freeform_tags", freeform_tags) + _setter("opsi_private_endpoint_id", opsi_private_endpoint_id) + _setter("service_name", service_name) + _setter("system_tags", system_tags) @property @pulumi.getter(name="compartmentId") @@ -3104,9 +3827,22 @@ def __init__(__self__, *, hosts: Sequence['outputs.GetExadataInsightMemberVmClusterDetailMemberDatabaseDetailConnectionDetailHostResult'], protocol: str, service_name: str): - pulumi.set(__self__, "hosts", hosts) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "service_name", service_name) + GetExadataInsightMemberVmClusterDetailMemberDatabaseDetailConnectionDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + hosts=hosts, + protocol=protocol, + service_name=service_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hosts: Sequence['outputs.GetExadataInsightMemberVmClusterDetailMemberDatabaseDetailConnectionDetailHostResult'], + protocol: str, + service_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("hosts", hosts) + _setter("protocol", protocol) + _setter("service_name", service_name) @property @pulumi.getter @@ -3129,8 +3865,19 @@ class GetExadataInsightMemberVmClusterDetailMemberDatabaseDetailConnectionDetail def __init__(__self__, *, host_ip: str, port: int): - pulumi.set(__self__, "host_ip", host_ip) - pulumi.set(__self__, "port", port) + GetExadataInsightMemberVmClusterDetailMemberDatabaseDetailConnectionDetailHostResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + host_ip=host_ip, + port=port, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host_ip: str, + port: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("host_ip", host_ip) + _setter("port", port) @property @pulumi.getter(name="hostIp") @@ -3152,12 +3899,31 @@ def __init__(__self__, *, role: str, user_name: str, wallet_secret_id: str): - pulumi.set(__self__, "credential_source_name", credential_source_name) - pulumi.set(__self__, "credential_type", credential_type) - pulumi.set(__self__, "password_secret_id", password_secret_id) - pulumi.set(__self__, "role", role) - pulumi.set(__self__, "user_name", user_name) - pulumi.set(__self__, "wallet_secret_id", wallet_secret_id) + GetExadataInsightMemberVmClusterDetailMemberDatabaseDetailCredentialDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + credential_source_name=credential_source_name, + credential_type=credential_type, + password_secret_id=password_secret_id, + role=role, + user_name=user_name, + wallet_secret_id=wallet_secret_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + credential_source_name: str, + credential_type: str, + password_secret_id: str, + role: str, + user_name: str, + wallet_secret_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("credential_source_name", credential_source_name) + _setter("credential_type", credential_type) + _setter("password_secret_id", password_secret_id) + _setter("role", role) + _setter("user_name", user_name) + _setter("wallet_secret_id", wallet_secret_id) @property @pulumi.getter(name="credentialSourceName") @@ -3194,7 +3960,16 @@ def wallet_secret_id(self) -> str: class GetExadataInsightsExadataInsightSummaryCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetExadataInsightsExadataInsightSummaryCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetExadataInsightsExadataInsightSummaryCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetExadataInsightsExadataInsightSummaryCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -3259,33 +4034,94 @@ def __init__(__self__, *, :param str time_created: The time the the Exadata insight was first enabled. An RFC3339 formatted datetime string :param str time_updated: The time the Exadata insight was updated. An RFC3339 formatted datetime string """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "enterprise_manager_bridge_id", enterprise_manager_bridge_id) - pulumi.set(__self__, "enterprise_manager_entity_display_name", enterprise_manager_entity_display_name) - pulumi.set(__self__, "enterprise_manager_entity_identifier", enterprise_manager_entity_identifier) - pulumi.set(__self__, "enterprise_manager_entity_name", enterprise_manager_entity_name) - pulumi.set(__self__, "enterprise_manager_entity_type", enterprise_manager_entity_type) - pulumi.set(__self__, "enterprise_manager_identifier", enterprise_manager_identifier) - pulumi.set(__self__, "entity_source", entity_source) - pulumi.set(__self__, "exadata_display_name", exadata_display_name) - pulumi.set(__self__, "exadata_infra_id", exadata_infra_id) - pulumi.set(__self__, "exadata_infra_resource_type", exadata_infra_resource_type) - pulumi.set(__self__, "exadata_name", exadata_name) - pulumi.set(__self__, "exadata_rack_type", exadata_rack_type) - pulumi.set(__self__, "exadata_shape", exadata_shape) - pulumi.set(__self__, "exadata_type", exadata_type) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_auto_sync_enabled", is_auto_sync_enabled) - pulumi.set(__self__, "is_virtualized_exadata", is_virtualized_exadata) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "member_vm_cluster_details", member_vm_cluster_details) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetExadataInsightsExadataInsightSummaryCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + enterprise_manager_bridge_id=enterprise_manager_bridge_id, + enterprise_manager_entity_display_name=enterprise_manager_entity_display_name, + enterprise_manager_entity_identifier=enterprise_manager_entity_identifier, + enterprise_manager_entity_name=enterprise_manager_entity_name, + enterprise_manager_entity_type=enterprise_manager_entity_type, + enterprise_manager_identifier=enterprise_manager_identifier, + entity_source=entity_source, + exadata_display_name=exadata_display_name, + exadata_infra_id=exadata_infra_id, + exadata_infra_resource_type=exadata_infra_resource_type, + exadata_name=exadata_name, + exadata_rack_type=exadata_rack_type, + exadata_shape=exadata_shape, + exadata_type=exadata_type, + freeform_tags=freeform_tags, + id=id, + is_auto_sync_enabled=is_auto_sync_enabled, + is_virtualized_exadata=is_virtualized_exadata, + lifecycle_details=lifecycle_details, + member_vm_cluster_details=member_vm_cluster_details, + state=state, + status=status, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + enterprise_manager_bridge_id: str, + enterprise_manager_entity_display_name: str, + enterprise_manager_entity_identifier: str, + enterprise_manager_entity_name: str, + enterprise_manager_entity_type: str, + enterprise_manager_identifier: str, + entity_source: str, + exadata_display_name: str, + exadata_infra_id: str, + exadata_infra_resource_type: str, + exadata_name: str, + exadata_rack_type: str, + exadata_shape: str, + exadata_type: str, + freeform_tags: Mapping[str, Any], + id: str, + is_auto_sync_enabled: bool, + is_virtualized_exadata: bool, + lifecycle_details: str, + member_vm_cluster_details: Sequence['outputs.GetExadataInsightsExadataInsightSummaryCollectionItemMemberVmClusterDetailResult'], + state: str, + status: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("enterprise_manager_bridge_id", enterprise_manager_bridge_id) + _setter("enterprise_manager_entity_display_name", enterprise_manager_entity_display_name) + _setter("enterprise_manager_entity_identifier", enterprise_manager_entity_identifier) + _setter("enterprise_manager_entity_name", enterprise_manager_entity_name) + _setter("enterprise_manager_entity_type", enterprise_manager_entity_type) + _setter("enterprise_manager_identifier", enterprise_manager_identifier) + _setter("entity_source", entity_source) + _setter("exadata_display_name", exadata_display_name) + _setter("exadata_infra_id", exadata_infra_id) + _setter("exadata_infra_resource_type", exadata_infra_resource_type) + _setter("exadata_name", exadata_name) + _setter("exadata_rack_type", exadata_rack_type) + _setter("exadata_shape", exadata_shape) + _setter("exadata_type", exadata_type) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_auto_sync_enabled", is_auto_sync_enabled) + _setter("is_virtualized_exadata", is_virtualized_exadata) + _setter("lifecycle_details", lifecycle_details) + _setter("member_vm_cluster_details", member_vm_cluster_details) + _setter("state", state) + _setter("status", status) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -3509,11 +4345,28 @@ def __init__(__self__, *, """ :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "dbm_private_endpoint_id", dbm_private_endpoint_id) - pulumi.set(__self__, "member_database_details", member_database_details) - pulumi.set(__self__, "opsi_private_endpoint_id", opsi_private_endpoint_id) - pulumi.set(__self__, "vmcluster_id", vmcluster_id) + GetExadataInsightsExadataInsightSummaryCollectionItemMemberVmClusterDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + dbm_private_endpoint_id=dbm_private_endpoint_id, + member_database_details=member_database_details, + opsi_private_endpoint_id=opsi_private_endpoint_id, + vmcluster_id=vmcluster_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + dbm_private_endpoint_id: str, + member_database_details: Sequence['outputs.GetExadataInsightsExadataInsightSummaryCollectionItemMemberVmClusterDetailMemberDatabaseDetailResult'], + opsi_private_endpoint_id: str, + vmcluster_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("dbm_private_endpoint_id", dbm_private_endpoint_id) + _setter("member_database_details", member_database_details) + _setter("opsi_private_endpoint_id", opsi_private_endpoint_id) + _setter("vmcluster_id", vmcluster_id) @property @pulumi.getter(name="compartmentId") @@ -3567,19 +4420,52 @@ def __init__(__self__, *, :param Mapping[str, Any] freeform_tags: Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` :param Mapping[str, Any] system_tags: System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "connection_details", connection_details) - pulumi.set(__self__, "credential_details", credential_details) - pulumi.set(__self__, "database_id", database_id) - pulumi.set(__self__, "database_resource_type", database_resource_type) - pulumi.set(__self__, "dbm_private_endpoint_id", dbm_private_endpoint_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "deployment_type", deployment_type) - pulumi.set(__self__, "entity_source", entity_source) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "opsi_private_endpoint_id", opsi_private_endpoint_id) - pulumi.set(__self__, "service_name", service_name) - pulumi.set(__self__, "system_tags", system_tags) + GetExadataInsightsExadataInsightSummaryCollectionItemMemberVmClusterDetailMemberDatabaseDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + connection_details=connection_details, + credential_details=credential_details, + database_id=database_id, + database_resource_type=database_resource_type, + dbm_private_endpoint_id=dbm_private_endpoint_id, + defined_tags=defined_tags, + deployment_type=deployment_type, + entity_source=entity_source, + freeform_tags=freeform_tags, + opsi_private_endpoint_id=opsi_private_endpoint_id, + service_name=service_name, + system_tags=system_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + connection_details: Sequence['outputs.GetExadataInsightsExadataInsightSummaryCollectionItemMemberVmClusterDetailMemberDatabaseDetailConnectionDetailResult'], + credential_details: Sequence['outputs.GetExadataInsightsExadataInsightSummaryCollectionItemMemberVmClusterDetailMemberDatabaseDetailCredentialDetailResult'], + database_id: str, + database_resource_type: str, + dbm_private_endpoint_id: str, + defined_tags: Mapping[str, Any], + deployment_type: str, + entity_source: str, + freeform_tags: Mapping[str, Any], + opsi_private_endpoint_id: str, + service_name: str, + system_tags: Mapping[str, Any], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("connection_details", connection_details) + _setter("credential_details", credential_details) + _setter("database_id", database_id) + _setter("database_resource_type", database_resource_type) + _setter("dbm_private_endpoint_id", dbm_private_endpoint_id) + _setter("defined_tags", defined_tags) + _setter("deployment_type", deployment_type) + _setter("entity_source", entity_source) + _setter("freeform_tags", freeform_tags) + _setter("opsi_private_endpoint_id", opsi_private_endpoint_id) + _setter("service_name", service_name) + _setter("system_tags", system_tags) @property @pulumi.getter(name="compartmentId") @@ -3668,9 +4554,22 @@ def __init__(__self__, *, hosts: Sequence['outputs.GetExadataInsightsExadataInsightSummaryCollectionItemMemberVmClusterDetailMemberDatabaseDetailConnectionDetailHostResult'], protocol: str, service_name: str): - pulumi.set(__self__, "hosts", hosts) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "service_name", service_name) + GetExadataInsightsExadataInsightSummaryCollectionItemMemberVmClusterDetailMemberDatabaseDetailConnectionDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + hosts=hosts, + protocol=protocol, + service_name=service_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hosts: Sequence['outputs.GetExadataInsightsExadataInsightSummaryCollectionItemMemberVmClusterDetailMemberDatabaseDetailConnectionDetailHostResult'], + protocol: str, + service_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("hosts", hosts) + _setter("protocol", protocol) + _setter("service_name", service_name) @property @pulumi.getter @@ -3693,8 +4592,19 @@ class GetExadataInsightsExadataInsightSummaryCollectionItemMemberVmClusterDetail def __init__(__self__, *, host_ip: str, port: int): - pulumi.set(__self__, "host_ip", host_ip) - pulumi.set(__self__, "port", port) + GetExadataInsightsExadataInsightSummaryCollectionItemMemberVmClusterDetailMemberDatabaseDetailConnectionDetailHostResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + host_ip=host_ip, + port=port, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host_ip: str, + port: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("host_ip", host_ip) + _setter("port", port) @property @pulumi.getter(name="hostIp") @@ -3716,12 +4626,31 @@ def __init__(__self__, *, role: str, user_name: str, wallet_secret_id: str): - pulumi.set(__self__, "credential_source_name", credential_source_name) - pulumi.set(__self__, "credential_type", credential_type) - pulumi.set(__self__, "password_secret_id", password_secret_id) - pulumi.set(__self__, "role", role) - pulumi.set(__self__, "user_name", user_name) - pulumi.set(__self__, "wallet_secret_id", wallet_secret_id) + GetExadataInsightsExadataInsightSummaryCollectionItemMemberVmClusterDetailMemberDatabaseDetailCredentialDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + credential_source_name=credential_source_name, + credential_type=credential_type, + password_secret_id=password_secret_id, + role=role, + user_name=user_name, + wallet_secret_id=wallet_secret_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + credential_source_name: str, + credential_type: str, + password_secret_id: str, + role: str, + user_name: str, + wallet_secret_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("credential_source_name", credential_source_name) + _setter("credential_type", credential_type) + _setter("password_secret_id", password_secret_id) + _setter("role", role) + _setter("user_name", user_name) + _setter("wallet_secret_id", wallet_secret_id) @property @pulumi.getter(name="credentialSourceName") @@ -3760,10 +4689,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetExadataInsightsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3787,10 +4729,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetHostInsightsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3812,7 +4767,16 @@ def regex(self) -> Optional[bool]: class GetHostInsightsHostInsightSummaryCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetHostInsightsHostInsightSummaryCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetHostInsightsHostInsightSummaryCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetHostInsightsHostInsightSummaryCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -3879,33 +4843,94 @@ def __init__(__self__, *, :param str time_created: The time the the host insight was first enabled. An RFC3339 formatted datetime string :param str time_updated: The time the host insight was updated. An RFC3339 formatted datetime string """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "compute_id", compute_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "enterprise_manager_bridge_id", enterprise_manager_bridge_id) - pulumi.set(__self__, "enterprise_manager_entity_display_name", enterprise_manager_entity_display_name) - pulumi.set(__self__, "enterprise_manager_entity_identifier", enterprise_manager_entity_identifier) - pulumi.set(__self__, "enterprise_manager_entity_name", enterprise_manager_entity_name) - pulumi.set(__self__, "enterprise_manager_entity_type", enterprise_manager_entity_type) - pulumi.set(__self__, "enterprise_manager_identifier", enterprise_manager_identifier) - pulumi.set(__self__, "entity_source", entity_source) - pulumi.set(__self__, "exadata_insight_id", exadata_insight_id) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "host_display_name", host_display_name) - pulumi.set(__self__, "host_name", host_name) - pulumi.set(__self__, "host_type", host_type) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "management_agent_id", management_agent_id) - pulumi.set(__self__, "platform_name", platform_name) - pulumi.set(__self__, "platform_type", platform_type) - pulumi.set(__self__, "platform_version", platform_version) - pulumi.set(__self__, "processor_count", processor_count) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetHostInsightsHostInsightSummaryCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + compute_id=compute_id, + defined_tags=defined_tags, + enterprise_manager_bridge_id=enterprise_manager_bridge_id, + enterprise_manager_entity_display_name=enterprise_manager_entity_display_name, + enterprise_manager_entity_identifier=enterprise_manager_entity_identifier, + enterprise_manager_entity_name=enterprise_manager_entity_name, + enterprise_manager_entity_type=enterprise_manager_entity_type, + enterprise_manager_identifier=enterprise_manager_identifier, + entity_source=entity_source, + exadata_insight_id=exadata_insight_id, + freeform_tags=freeform_tags, + host_display_name=host_display_name, + host_name=host_name, + host_type=host_type, + id=id, + lifecycle_details=lifecycle_details, + management_agent_id=management_agent_id, + platform_name=platform_name, + platform_type=platform_type, + platform_version=platform_version, + processor_count=processor_count, + state=state, + status=status, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + compute_id: str, + defined_tags: Mapping[str, Any], + enterprise_manager_bridge_id: str, + enterprise_manager_entity_display_name: str, + enterprise_manager_entity_identifier: str, + enterprise_manager_entity_name: str, + enterprise_manager_entity_type: str, + enterprise_manager_identifier: str, + entity_source: str, + exadata_insight_id: str, + freeform_tags: Mapping[str, Any], + host_display_name: str, + host_name: str, + host_type: str, + id: str, + lifecycle_details: str, + management_agent_id: str, + platform_name: str, + platform_type: str, + platform_version: str, + processor_count: int, + state: str, + status: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("compute_id", compute_id) + _setter("defined_tags", defined_tags) + _setter("enterprise_manager_bridge_id", enterprise_manager_bridge_id) + _setter("enterprise_manager_entity_display_name", enterprise_manager_entity_display_name) + _setter("enterprise_manager_entity_identifier", enterprise_manager_entity_identifier) + _setter("enterprise_manager_entity_name", enterprise_manager_entity_name) + _setter("enterprise_manager_entity_type", enterprise_manager_entity_type) + _setter("enterprise_manager_identifier", enterprise_manager_identifier) + _setter("entity_source", entity_source) + _setter("exadata_insight_id", exadata_insight_id) + _setter("freeform_tags", freeform_tags) + _setter("host_display_name", host_display_name) + _setter("host_name", host_name) + _setter("host_type", host_type) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("management_agent_id", management_agent_id) + _setter("platform_name", platform_name) + _setter("platform_type", platform_type) + _setter("platform_version", platform_version) + _setter("processor_count", processor_count) + _setter("state", state) + _setter("status", status) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -4139,11 +5164,28 @@ def __init__(__self__, *, :param str management_agent_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Agent :param str platform_type: Platform type. Supported platformType(s) for MACS-managed external host insight: [LINUX]. Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX]. """ - pulumi.set(__self__, "entity_source", entity_source) - pulumi.set(__self__, "host_name", host_name) - pulumi.set(__self__, "management_agent_display_name", management_agent_display_name) - pulumi.set(__self__, "management_agent_id", management_agent_id) - pulumi.set(__self__, "platform_type", platform_type) + GetImportableAgentEntitiesItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + entity_source=entity_source, + host_name=host_name, + management_agent_display_name=management_agent_display_name, + management_agent_id=management_agent_id, + platform_type=platform_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + entity_source: str, + host_name: str, + management_agent_display_name: str, + management_agent_id: str, + platform_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("entity_source", entity_source) + _setter("host_name", host_name) + _setter("management_agent_display_name", management_agent_display_name) + _setter("management_agent_id", management_agent_id) + _setter("platform_type", platform_type) @property @pulumi.getter(name="entitySource") @@ -4201,11 +5243,28 @@ def __init__(__self__, *, :param str management_agent_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Management Agent :param str platform_type: Platform type. Supported platformType(s) for MACS-managed external host insight: [LINUX]. Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX]. """ - pulumi.set(__self__, "entity_source", entity_source) - pulumi.set(__self__, "host_name", host_name) - pulumi.set(__self__, "management_agent_display_name", management_agent_display_name) - pulumi.set(__self__, "management_agent_id", management_agent_id) - pulumi.set(__self__, "platform_type", platform_type) + GetImportableAgentEntityItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + entity_source=entity_source, + host_name=host_name, + management_agent_display_name=management_agent_display_name, + management_agent_id=management_agent_id, + platform_type=platform_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + entity_source: str, + host_name: str, + management_agent_display_name: str, + management_agent_id: str, + platform_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("entity_source", entity_source) + _setter("host_name", host_name) + _setter("management_agent_display_name", management_agent_display_name) + _setter("management_agent_id", management_agent_id) + _setter("platform_type", platform_type) @property @pulumi.getter(name="entitySource") @@ -4265,12 +5324,31 @@ def __init__(__self__, *, :param str host_name: The host name. The host name is unique amongst the hosts managed by the same management agent. :param str platform_type: Platform type. Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS]. Supported platformType(s) for MACS-managed cloud host insight: [LINUX]. Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS, AIX]. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "compute_display_name", compute_display_name) - pulumi.set(__self__, "compute_id", compute_id) - pulumi.set(__self__, "entity_source", entity_source) - pulumi.set(__self__, "host_name", host_name) - pulumi.set(__self__, "platform_type", platform_type) + GetImportableComputeEntitiesItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + compute_display_name=compute_display_name, + compute_id=compute_id, + entity_source=entity_source, + host_name=host_name, + platform_type=platform_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + compute_display_name: str, + compute_id: str, + entity_source: str, + host_name: str, + platform_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("compute_display_name", compute_display_name) + _setter("compute_id", compute_id) + _setter("entity_source", entity_source) + _setter("host_name", host_name) + _setter("platform_type", platform_type) @property @pulumi.getter(name="compartmentId") @@ -4338,12 +5416,31 @@ def __init__(__self__, *, :param str host_name: The host name. The host name is unique amongst the hosts managed by the same management agent. :param str platform_type: Platform type. Supported platformType(s) for MACS-managed external host insight: [LINUX, SOLARIS, WINDOWS]. Supported platformType(s) for MACS-managed cloud host insight: [LINUX]. Supported platformType(s) for EM-managed external host insight: [LINUX, SOLARIS, SUNOS, ZLINUX, WINDOWS]. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "compute_display_name", compute_display_name) - pulumi.set(__self__, "compute_id", compute_id) - pulumi.set(__self__, "entity_source", entity_source) - pulumi.set(__self__, "host_name", host_name) - pulumi.set(__self__, "platform_type", platform_type) + GetImportableComputeEntityItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + compute_display_name=compute_display_name, + compute_id=compute_id, + entity_source=entity_source, + host_name=host_name, + platform_type=platform_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + compute_display_name: str, + compute_id: str, + entity_source: str, + host_name: str, + platform_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("compute_display_name", compute_display_name) + _setter("compute_id", compute_id) + _setter("entity_source", entity_source) + _setter("host_name", host_name) + _setter("platform_type", platform_type) @property @pulumi.getter(name="compartmentId") @@ -4401,7 +5498,16 @@ def __init__(__self__, *, """ :param Sequence[str] capacity_planning_resources: Supported resources for capacity planning content type. """ - pulumi.set(__self__, "capacity_planning_resources", capacity_planning_resources) + GetNewsReportContentTypeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + capacity_planning_resources=capacity_planning_resources, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + capacity_planning_resources: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("capacity_planning_resources", capacity_planning_resources) @property @pulumi.getter(name="capacityPlanningResources") @@ -4421,10 +5527,23 @@ def __init__(__self__, *, """ :param str name: The news report name. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetNewsReportsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4449,7 +5568,16 @@ def regex(self) -> Optional[bool]: class GetNewsReportsNewsReportCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetNewsReportsNewsReportCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetNewsReportsNewsReportCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetNewsReportsNewsReportCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -4494,22 +5622,61 @@ def __init__(__self__, *, :param str time_created: The time the the news report was first enabled. An RFC3339 formatted datetime string. :param str time_updated: The time the news report was updated. An RFC3339 formatted datetime string. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "content_types", content_types) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "locale", locale) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "news_frequency", news_frequency) - pulumi.set(__self__, "ons_topic_id", ons_topic_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetNewsReportsNewsReportCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + content_types=content_types, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + locale=locale, + name=name, + news_frequency=news_frequency, + ons_topic_id=ons_topic_id, + state=state, + status=status, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + content_types: Sequence['outputs.GetNewsReportsNewsReportCollectionItemContentTypeResult'], + defined_tags: Mapping[str, Any], + description: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + locale: str, + name: str, + news_frequency: str, + ons_topic_id: str, + state: str, + status: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("content_types", content_types) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("locale", locale) + _setter("name", name) + _setter("news_frequency", news_frequency) + _setter("ons_topic_id", ons_topic_id) + _setter("state", state) + _setter("status", status) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -4647,7 +5814,16 @@ def __init__(__self__, *, """ :param Sequence[str] capacity_planning_resources: Supported resources for capacity planning content type. """ - pulumi.set(__self__, "capacity_planning_resources", capacity_planning_resources) + GetNewsReportsNewsReportCollectionItemContentTypeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + capacity_planning_resources=capacity_planning_resources, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + capacity_planning_resources: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("capacity_planning_resources", capacity_planning_resources) @property @pulumi.getter(name="capacityPlanningResources") @@ -4664,10 +5840,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetOperationsInsightsPrivateEndpointsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4689,7 +5878,16 @@ def regex(self) -> Optional[bool]: class GetOperationsInsightsPrivateEndpointsOperationsInsightsPrivateEndpointCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetOperationsInsightsPrivateEndpointsOperationsInsightsPrivateEndpointCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetOperationsInsightsPrivateEndpointsOperationsInsightsPrivateEndpointCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetOperationsInsightsPrivateEndpointsOperationsInsightsPrivateEndpointCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -4734,22 +5932,61 @@ def __init__(__self__, *, :param str time_created: The date and time the private endpoint was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). :param str vcn_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_used_for_rac_dbs", is_used_for_rac_dbs) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "nsg_ids", nsg_ids) - pulumi.set(__self__, "private_endpoint_status_details", private_endpoint_status_details) - pulumi.set(__self__, "private_ip", private_ip) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "vcn_id", vcn_id) + GetOperationsInsightsPrivateEndpointsOperationsInsightsPrivateEndpointCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + is_used_for_rac_dbs=is_used_for_rac_dbs, + lifecycle_details=lifecycle_details, + nsg_ids=nsg_ids, + private_endpoint_status_details=private_endpoint_status_details, + private_ip=private_ip, + state=state, + subnet_id=subnet_id, + system_tags=system_tags, + time_created=time_created, + vcn_id=vcn_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + is_used_for_rac_dbs: bool, + lifecycle_details: str, + nsg_ids: Sequence[str], + private_endpoint_status_details: str, + private_ip: str, + state: str, + subnet_id: str, + system_tags: Mapping[str, Any], + time_created: str, + vcn_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_used_for_rac_dbs", is_used_for_rac_dbs) + _setter("lifecycle_details", lifecycle_details) + _setter("nsg_ids", nsg_ids) + _setter("private_endpoint_status_details", private_endpoint_status_details) + _setter("private_ip", private_ip) + _setter("state", state) + _setter("subnet_id", subnet_id) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("vcn_id", vcn_id) @property @pulumi.getter(name="compartmentId") @@ -4889,10 +6126,23 @@ def __init__(__self__, *, """ :param str name: Username for schema which would have access to AWR Data, Enterprise Manager Data and Operations Insights OPSI Hub. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetOperationsInsightsWarehouseUsersFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4917,7 +6167,16 @@ def regex(self) -> Optional[bool]: class GetOperationsInsightsWarehouseUsersOperationsInsightsWarehouseUserSummaryCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetOperationsInsightsWarehouseUsersOperationsInsightsWarehouseUserSummaryCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetOperationsInsightsWarehouseUsersOperationsInsightsWarehouseUserSummaryCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetOperationsInsightsWarehouseUsersOperationsInsightsWarehouseUserSummaryCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -4960,21 +6219,58 @@ def __init__(__self__, *, :param str time_created: The time at which the resource was first created. An RFC3339 formatted datetime string :param str time_updated: The time at which the resource was last updated. An RFC3339 formatted datetime string """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "connection_password", connection_password) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_awr_data_access", is_awr_data_access) - pulumi.set(__self__, "is_em_data_access", is_em_data_access) - pulumi.set(__self__, "is_opsi_data_access", is_opsi_data_access) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "operations_insights_warehouse_id", operations_insights_warehouse_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetOperationsInsightsWarehouseUsersOperationsInsightsWarehouseUserSummaryCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + connection_password=connection_password, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + id=id, + is_awr_data_access=is_awr_data_access, + is_em_data_access=is_em_data_access, + is_opsi_data_access=is_opsi_data_access, + lifecycle_details=lifecycle_details, + name=name, + operations_insights_warehouse_id=operations_insights_warehouse_id, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + connection_password: str, + defined_tags: Mapping[str, Any], + freeform_tags: Mapping[str, Any], + id: str, + is_awr_data_access: bool, + is_em_data_access: bool, + is_opsi_data_access: bool, + lifecycle_details: str, + name: str, + operations_insights_warehouse_id: str, + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("connection_password", connection_password) + _setter("defined_tags", defined_tags) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_awr_data_access", is_awr_data_access) + _setter("is_em_data_access", is_em_data_access) + _setter("is_opsi_data_access", is_opsi_data_access) + _setter("lifecycle_details", lifecycle_details) + _setter("name", name) + _setter("operations_insights_warehouse_id", operations_insights_warehouse_id) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -5103,10 +6399,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetOperationsInsightsWarehousesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5128,7 +6437,16 @@ def regex(self) -> Optional[bool]: class GetOperationsInsightsWarehousesOperationsInsightsWarehouseSummaryCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetOperationsInsightsWarehousesOperationsInsightsWarehouseSummaryCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetOperationsInsightsWarehousesOperationsInsightsWarehouseSummaryCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetOperationsInsightsWarehousesOperationsInsightsWarehouseSummaryCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -5175,23 +6493,64 @@ def __init__(__self__, *, :param str time_last_wallet_rotated: The time at which the ADW wallet was last rotated for the Operations Insights Warehouse. An RFC3339 formatted datetime string :param str time_updated: The time at which the resource was last updated. An RFC3339 formatted datetime string """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "cpu_allocated", cpu_allocated) - pulumi.set(__self__, "cpu_used", cpu_used) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "dynamic_group_id", dynamic_group_id) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "operations_insights_tenancy_id", operations_insights_tenancy_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "storage_allocated_in_gbs", storage_allocated_in_gbs) - pulumi.set(__self__, "storage_used_in_gbs", storage_used_in_gbs) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_last_wallet_rotated", time_last_wallet_rotated) - pulumi.set(__self__, "time_updated", time_updated) + GetOperationsInsightsWarehousesOperationsInsightsWarehouseSummaryCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + cpu_allocated=cpu_allocated, + cpu_used=cpu_used, + defined_tags=defined_tags, + display_name=display_name, + dynamic_group_id=dynamic_group_id, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + operations_insights_tenancy_id=operations_insights_tenancy_id, + state=state, + storage_allocated_in_gbs=storage_allocated_in_gbs, + storage_used_in_gbs=storage_used_in_gbs, + system_tags=system_tags, + time_created=time_created, + time_last_wallet_rotated=time_last_wallet_rotated, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + cpu_allocated: float, + cpu_used: float, + defined_tags: Mapping[str, Any], + display_name: str, + dynamic_group_id: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + operations_insights_tenancy_id: str, + state: str, + storage_allocated_in_gbs: float, + storage_used_in_gbs: float, + system_tags: Mapping[str, Any], + time_created: str, + time_last_wallet_rotated: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("cpu_allocated", cpu_allocated) + _setter("cpu_used", cpu_used) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("dynamic_group_id", dynamic_group_id) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("operations_insights_tenancy_id", operations_insights_tenancy_id) + _setter("state", state) + _setter("storage_allocated_in_gbs", storage_allocated_in_gbs) + _setter("storage_used_in_gbs", storage_used_in_gbs) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_last_wallet_rotated", time_last_wallet_rotated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -5347,12 +6706,31 @@ def __init__(__self__, *, :param str name: Name of configuration item. :param str value: Value of configuration item. """ - pulumi.set(__self__, "applicable_contexts", applicable_contexts) - pulumi.set(__self__, "config_item_type", config_item_type) - pulumi.set(__self__, "default_value", default_value) - pulumi.set(__self__, "metadatas", metadatas) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + GetOpsiConfigurationConfigItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + applicable_contexts=applicable_contexts, + config_item_type=config_item_type, + default_value=default_value, + metadatas=metadatas, + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + applicable_contexts: Sequence[str], + config_item_type: str, + default_value: str, + metadatas: Sequence['outputs.GetOpsiConfigurationConfigItemMetadataResult'], + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("applicable_contexts", applicable_contexts) + _setter("config_item_type", config_item_type) + _setter("default_value", default_value) + _setter("metadatas", metadatas) + _setter("name", name) + _setter("value", value) @property @pulumi.getter(name="applicableContexts") @@ -5420,12 +6798,31 @@ def __init__(__self__, *, :param Sequence['GetOpsiConfigurationConfigItemMetadataUnitDetailArgs'] unit_details: Unit details of configuration item. :param Sequence['GetOpsiConfigurationConfigItemMetadataValueInputDetailArgs'] value_input_details: Allowed value details of configuration item, to validate what value can be assigned to a configuration item. """ - pulumi.set(__self__, "config_item_type", config_item_type) - pulumi.set(__self__, "data_type", data_type) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "unit_details", unit_details) - pulumi.set(__self__, "value_input_details", value_input_details) + GetOpsiConfigurationConfigItemMetadataResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + config_item_type=config_item_type, + data_type=data_type, + description=description, + display_name=display_name, + unit_details=unit_details, + value_input_details=value_input_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + config_item_type: str, + data_type: str, + description: str, + display_name: str, + unit_details: Sequence['outputs.GetOpsiConfigurationConfigItemMetadataUnitDetailResult'], + value_input_details: Sequence['outputs.GetOpsiConfigurationConfigItemMetadataValueInputDetailResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("config_item_type", config_item_type) + _setter("data_type", data_type) + _setter("description", description) + _setter("display_name", display_name) + _setter("unit_details", unit_details) + _setter("value_input_details", value_input_details) @property @pulumi.getter(name="configItemType") @@ -5485,8 +6882,19 @@ def __init__(__self__, *, :param str display_name: User-friendly display name for the OPSI configuration. The name does not have to be unique. :param str unit: Unit of configuration item. """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "unit", unit) + GetOpsiConfigurationConfigItemMetadataUnitDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + unit=unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + unit: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("unit", unit) @property @pulumi.getter(name="displayName") @@ -5518,10 +6926,25 @@ def __init__(__self__, *, :param str min_value: Minimum value limit for the configuration item. :param Sequence[str] possible_values: Allowed values to pick for the configuration item. """ - pulumi.set(__self__, "allowed_value_type", allowed_value_type) - pulumi.set(__self__, "max_value", max_value) - pulumi.set(__self__, "min_value", min_value) - pulumi.set(__self__, "possible_values", possible_values) + GetOpsiConfigurationConfigItemMetadataValueInputDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_value_type=allowed_value_type, + max_value=max_value, + min_value=min_value, + possible_values=possible_values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_value_type: str, + max_value: str, + min_value: str, + possible_values: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allowed_value_type", allowed_value_type) + _setter("max_value", max_value) + _setter("min_value", min_value) + _setter("possible_values", possible_values) @property @pulumi.getter(name="allowedValueType") @@ -5575,13 +6998,34 @@ def __init__(__self__, *, :param str value: Value of configuration item. :param str value_source_config: Source configuration from where the value is taken for a configuration item. """ - pulumi.set(__self__, "applicable_contexts", applicable_contexts) - pulumi.set(__self__, "config_item_type", config_item_type) - pulumi.set(__self__, "default_value", default_value) - pulumi.set(__self__, "metadatas", metadatas) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) - pulumi.set(__self__, "value_source_config", value_source_config) + GetOpsiConfigurationConfigurationItemConfigItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + applicable_contexts=applicable_contexts, + config_item_type=config_item_type, + default_value=default_value, + metadatas=metadatas, + name=name, + value=value, + value_source_config=value_source_config, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + applicable_contexts: Sequence[str], + config_item_type: str, + default_value: str, + metadatas: Sequence['outputs.GetOpsiConfigurationConfigurationItemConfigItemMetadataResult'], + name: str, + value: str, + value_source_config: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("applicable_contexts", applicable_contexts) + _setter("config_item_type", config_item_type) + _setter("default_value", default_value) + _setter("metadatas", metadatas) + _setter("name", name) + _setter("value", value) + _setter("value_source_config", value_source_config) @property @pulumi.getter(name="applicableContexts") @@ -5657,12 +7101,31 @@ def __init__(__self__, *, :param Sequence['GetOpsiConfigurationConfigurationItemConfigItemMetadataUnitDetailArgs'] unit_details: Unit details of configuration item. :param Sequence['GetOpsiConfigurationConfigurationItemConfigItemMetadataValueInputDetailArgs'] value_input_details: Allowed value details of configuration item, to validate what value can be assigned to a configuration item. """ - pulumi.set(__self__, "config_item_type", config_item_type) - pulumi.set(__self__, "data_type", data_type) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "unit_details", unit_details) - pulumi.set(__self__, "value_input_details", value_input_details) + GetOpsiConfigurationConfigurationItemConfigItemMetadataResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + config_item_type=config_item_type, + data_type=data_type, + description=description, + display_name=display_name, + unit_details=unit_details, + value_input_details=value_input_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + config_item_type: str, + data_type: str, + description: str, + display_name: str, + unit_details: Sequence['outputs.GetOpsiConfigurationConfigurationItemConfigItemMetadataUnitDetailResult'], + value_input_details: Sequence['outputs.GetOpsiConfigurationConfigurationItemConfigItemMetadataValueInputDetailResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("config_item_type", config_item_type) + _setter("data_type", data_type) + _setter("description", description) + _setter("display_name", display_name) + _setter("unit_details", unit_details) + _setter("value_input_details", value_input_details) @property @pulumi.getter(name="configItemType") @@ -5722,8 +7185,19 @@ def __init__(__self__, *, :param str display_name: User-friendly display name for the configuration item unit. :param str unit: Unit of configuration item. """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "unit", unit) + GetOpsiConfigurationConfigurationItemConfigItemMetadataUnitDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + unit=unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + unit: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("unit", unit) @property @pulumi.getter(name="displayName") @@ -5755,10 +7229,25 @@ def __init__(__self__, *, :param str min_value: Minimum value limit for the configuration item. :param Sequence[str] possible_values: Allowed values to pick for the configuration item. """ - pulumi.set(__self__, "allowed_value_type", allowed_value_type) - pulumi.set(__self__, "max_value", max_value) - pulumi.set(__self__, "min_value", min_value) - pulumi.set(__self__, "possible_values", possible_values) + GetOpsiConfigurationConfigurationItemConfigItemMetadataValueInputDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_value_type=allowed_value_type, + max_value=max_value, + min_value=min_value, + possible_values=possible_values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_value_type: str, + max_value: str, + min_value: str, + possible_values: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allowed_value_type", allowed_value_type) + _setter("max_value", max_value) + _setter("min_value", min_value) + _setter("possible_values", possible_values) @property @pulumi.getter(name="allowedValueType") @@ -5802,10 +7291,23 @@ def __init__(__self__, *, """ :param str name: Name of configuration item. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetOpsiConfigurationsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5830,7 +7332,16 @@ def regex(self) -> Optional[bool]: class GetOpsiConfigurationsOpsiConfigurationsCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetOpsiConfigurationsOpsiConfigurationsCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetOpsiConfigurationsOpsiConfigurationsCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetOpsiConfigurationsOpsiConfigurationsCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -5873,23 +7384,64 @@ def __init__(__self__, *, :param str time_created: The time at which the resource was first created. An RFC3339 formatted datetime string :param str time_updated: The time at which the resource was last updated. An RFC3339 formatted datetime string """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "config_item_custom_statuses", config_item_custom_statuses) - pulumi.set(__self__, "config_item_fields", config_item_fields) - pulumi.set(__self__, "config_items", config_items) - pulumi.set(__self__, "config_items_applicable_contexts", config_items_applicable_contexts) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "opsi_config_fields", opsi_config_fields) - pulumi.set(__self__, "opsi_config_type", opsi_config_type) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetOpsiConfigurationsOpsiConfigurationsCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + config_item_custom_statuses=config_item_custom_statuses, + config_item_fields=config_item_fields, + config_items=config_items, + config_items_applicable_contexts=config_items_applicable_contexts, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + opsi_config_fields=opsi_config_fields, + opsi_config_type=opsi_config_type, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + config_item_custom_statuses: Sequence[str], + config_item_fields: Sequence[str], + config_items: Sequence['outputs.GetOpsiConfigurationsOpsiConfigurationsCollectionItemConfigItemResult'], + config_items_applicable_contexts: Sequence[str], + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + opsi_config_fields: Sequence[str], + opsi_config_type: str, + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("config_item_custom_statuses", config_item_custom_statuses) + _setter("config_item_fields", config_item_fields) + _setter("config_items", config_items) + _setter("config_items_applicable_contexts", config_items_applicable_contexts) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("opsi_config_fields", opsi_config_fields) + _setter("opsi_config_type", opsi_config_type) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -6033,12 +7585,31 @@ def __init__(__self__, *, :param str name: Name of configuration item. :param str value: Value of configuration item. """ - pulumi.set(__self__, "applicable_contexts", applicable_contexts) - pulumi.set(__self__, "config_item_type", config_item_type) - pulumi.set(__self__, "default_value", default_value) - pulumi.set(__self__, "metadatas", metadatas) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + GetOpsiConfigurationsOpsiConfigurationsCollectionItemConfigItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + applicable_contexts=applicable_contexts, + config_item_type=config_item_type, + default_value=default_value, + metadatas=metadatas, + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + applicable_contexts: Sequence[str], + config_item_type: str, + default_value: str, + metadatas: Sequence['outputs.GetOpsiConfigurationsOpsiConfigurationsCollectionItemConfigItemMetadataResult'], + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("applicable_contexts", applicable_contexts) + _setter("config_item_type", config_item_type) + _setter("default_value", default_value) + _setter("metadatas", metadatas) + _setter("name", name) + _setter("value", value) @property @pulumi.getter(name="applicableContexts") @@ -6106,12 +7677,31 @@ def __init__(__self__, *, :param Sequence['GetOpsiConfigurationsOpsiConfigurationsCollectionItemConfigItemMetadataUnitDetailArgs'] unit_details: Unit details of configuration item. :param Sequence['GetOpsiConfigurationsOpsiConfigurationsCollectionItemConfigItemMetadataValueInputDetailArgs'] value_input_details: Allowed value details of configuration item, to validate what value can be assigned to a configuration item. """ - pulumi.set(__self__, "config_item_type", config_item_type) - pulumi.set(__self__, "data_type", data_type) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "unit_details", unit_details) - pulumi.set(__self__, "value_input_details", value_input_details) + GetOpsiConfigurationsOpsiConfigurationsCollectionItemConfigItemMetadataResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + config_item_type=config_item_type, + data_type=data_type, + description=description, + display_name=display_name, + unit_details=unit_details, + value_input_details=value_input_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + config_item_type: str, + data_type: str, + description: str, + display_name: str, + unit_details: Sequence['outputs.GetOpsiConfigurationsOpsiConfigurationsCollectionItemConfigItemMetadataUnitDetailResult'], + value_input_details: Sequence['outputs.GetOpsiConfigurationsOpsiConfigurationsCollectionItemConfigItemMetadataValueInputDetailResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("config_item_type", config_item_type) + _setter("data_type", data_type) + _setter("description", description) + _setter("display_name", display_name) + _setter("unit_details", unit_details) + _setter("value_input_details", value_input_details) @property @pulumi.getter(name="configItemType") @@ -6171,8 +7761,19 @@ def __init__(__self__, *, :param str display_name: Filter to return based on resources that match the entire display name. :param str unit: Unit of configuration item. """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "unit", unit) + GetOpsiConfigurationsOpsiConfigurationsCollectionItemConfigItemMetadataUnitDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + unit=unit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + unit: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("unit", unit) @property @pulumi.getter(name="displayName") @@ -6204,10 +7805,25 @@ def __init__(__self__, *, :param str min_value: Minimum value limit for the configuration item. :param Sequence[str] possible_values: Allowed values to pick for the configuration item. """ - pulumi.set(__self__, "allowed_value_type", allowed_value_type) - pulumi.set(__self__, "max_value", max_value) - pulumi.set(__self__, "min_value", min_value) - pulumi.set(__self__, "possible_values", possible_values) + GetOpsiConfigurationsOpsiConfigurationsCollectionItemConfigItemMetadataValueInputDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_value_type=allowed_value_type, + max_value=max_value, + min_value=min_value, + possible_values=possible_values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_value_type: str, + max_value: str, + min_value: str, + possible_values: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allowed_value_type", allowed_value_type) + _setter("max_value", max_value) + _setter("min_value", min_value) + _setter("possible_values", possible_values) @property @pulumi.getter(name="allowedValueType") diff --git a/sdk/python/pulumi_oci/optimizer/_inputs.py b/sdk/python/pulumi_oci/optimizer/_inputs.py index c80e1cb533..bfd581fbfb 100644 --- a/sdk/python/pulumi_oci/optimizer/_inputs.py +++ b/sdk/python/pulumi_oci/optimizer/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -36,8 +36,17 @@ def __init__(__self__, *, """ :param pulumi.Input[Sequence[pulumi.Input['ProfileLevelsConfigurationItemArgs']]] items: (Updatable) The list of tags specified in the current profile override. """ + ProfileLevelsConfigurationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Optional[pulumi.Input[Sequence[pulumi.Input['ProfileLevelsConfigurationItemArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) @property @pulumi.getter @@ -61,10 +70,21 @@ def __init__(__self__, *, :param pulumi.Input[str] level: (Updatable) The pre-defined profile level. :param pulumi.Input[str] recommendation_id: (Updatable) The unique OCID of the recommendation. """ + ProfileLevelsConfigurationItemArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + level=level, + recommendation_id=recommendation_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + level: Optional[pulumi.Input[str]] = None, + recommendation_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if level is not None: - pulumi.set(__self__, "level", level) + _setter("level", level) if recommendation_id is not None: - pulumi.set(__self__, "recommendation_id", recommendation_id) + _setter("recommendation_id", recommendation_id) @property @pulumi.getter @@ -98,7 +118,16 @@ def __init__(__self__, *, """ :param pulumi.Input[Sequence[pulumi.Input[str]]] items: (Updatable) The list of tags specified in the current profile override. """ - pulumi.set(__self__, "items", items) + ProfileTargetCompartmentsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: pulumi.Input[Sequence[pulumi.Input[str]]], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -120,7 +149,16 @@ def __init__(__self__, *, """ :param pulumi.Input[Sequence[pulumi.Input['ProfileTargetTagsItemArgs']]] items: (Updatable) The list of tags specified in the current profile override. """ - pulumi.set(__self__, "items", items) + ProfileTargetTagsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: pulumi.Input[Sequence[pulumi.Input['ProfileTargetTagsItemArgs']]], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -156,11 +194,26 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "tag_definition_name", tag_definition_name) - pulumi.set(__self__, "tag_namespace_name", tag_namespace_name) - pulumi.set(__self__, "tag_value_type", tag_value_type) + ProfileTargetTagsItemArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + tag_definition_name=tag_definition_name, + tag_namespace_name=tag_namespace_name, + tag_value_type=tag_value_type, + tag_values=tag_values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + tag_definition_name: pulumi.Input[str], + tag_namespace_name: pulumi.Input[str], + tag_value_type: pulumi.Input[str], + tag_values: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("tag_definition_name", tag_definition_name) + _setter("tag_namespace_name", tag_namespace_name) + _setter("tag_value_type", tag_value_type) if tag_values is not None: - pulumi.set(__self__, "tag_values", tag_values) + _setter("tag_values", tag_values) @property @pulumi.getter(name="tagDefinitionName") @@ -228,10 +281,21 @@ def __init__(__self__, *, :param pulumi.Input[int] count: The count of resources. :param pulumi.Input[str] status: (Updatable) The status of the recommendation. """ + RecommendationResourceCountArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + count=count, + status=status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + count: Optional[pulumi.Input[int]] = None, + status: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if count is not None: - pulumi.set(__self__, "count", count) + _setter("count", count) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) @property @pulumi.getter @@ -265,8 +329,17 @@ def __init__(__self__, *, """ :param pulumi.Input[Sequence[pulumi.Input['RecommendationSupportedLevelItemArgs']]] items: The list of supported levels. """ + RecommendationSupportedLevelArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Optional[pulumi.Input[Sequence[pulumi.Input['RecommendationSupportedLevelItemArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) @property @pulumi.getter @@ -288,8 +361,17 @@ def __init__(__self__, *, """ :param pulumi.Input[str] name: The name of the profile level. """ + RecommendationSupportedLevelItemArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -315,12 +397,25 @@ def __init__(__self__, *, :param pulumi.Input[str] type: The status of the resource action. :param pulumi.Input[str] url: The URL path to documentation that explains how to perform the action. """ + ResourceActionActionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + type=type, + url=url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + url: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if url is not None: - pulumi.set(__self__, "url", url) + _setter("url", url) @property @pulumi.getter @@ -368,10 +463,23 @@ def __init__(__self__, *, """ :param str name: Optional. A filter that returns results that match the name specified. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetCategoriesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -410,10 +518,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetEnrollmentStatusesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -452,10 +573,23 @@ def __init__(__self__, *, """ :param str name: Optional. A filter that returns results that match the name specified. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetHistoriesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -497,10 +631,23 @@ def __init__(__self__, *, """ :param str name: Optional. A filter that returns results that match the name specified. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetProfileLevelsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -542,10 +689,23 @@ def __init__(__self__, *, """ :param str name: Optional. A filter that returns results that match the name specified. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetProfilesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -587,10 +747,23 @@ def __init__(__self__, *, """ :param str name: Optional. A filter that returns results that match the name specified. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetRecommendationStrategiesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -632,10 +805,23 @@ def __init__(__self__, *, """ :param str name: Optional. A filter that returns results that match the name specified. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetRecommendationsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -677,10 +863,23 @@ def __init__(__self__, *, """ :param str name: Optional. A filter that returns results that match the name specified. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetResourceActionsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/optimizer/enrollment_status.py b/sdk/python/pulumi_oci/optimizer/enrollment_status.py index c06eb9fdf0..06a942584e 100644 --- a/sdk/python/pulumi_oci/optimizer/enrollment_status.py +++ b/sdk/python/pulumi_oci/optimizer/enrollment_status.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['EnrollmentStatusArgs', 'EnrollmentStatus'] @@ -25,8 +25,19 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "enrollment_status_id", enrollment_status_id) - pulumi.set(__self__, "status", status) + EnrollmentStatusArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + enrollment_status_id=enrollment_status_id, + status=status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + enrollment_status_id: pulumi.Input[str], + status: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("enrollment_status_id", enrollment_status_id) + _setter("status", status) @property @pulumi.getter(name="enrollmentStatusId") @@ -81,20 +92,41 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the enrollment status was created, in the format defined by RFC3339. :param pulumi.Input[str] time_updated: The date and time the enrollment status was last updated, in the format defined by RFC3339. """ + _EnrollmentStatusState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + enrollment_status_id=enrollment_status_id, + state=state, + status=status, + status_reason=status_reason, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + enrollment_status_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[str]] = None, + status_reason: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if enrollment_status_id is not None: - pulumi.set(__self__, "enrollment_status_id", enrollment_status_id) + _setter("enrollment_status_id", enrollment_status_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if status_reason is not None: - pulumi.set(__self__, "status_reason", status_reason) + _setter("status_reason", status_reason) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -244,6 +276,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + EnrollmentStatusArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/optimizer/get_categories.py b/sdk/python/pulumi_oci/optimizer/get_categories.py index 6853bab6b3..8b3d2602e9 100644 --- a/sdk/python/pulumi_oci/optimizer/get_categories.py +++ b/sdk/python/pulumi_oci/optimizer/get_categories.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/optimizer/get_category.py b/sdk/python/pulumi_oci/optimizer/get_category.py index 6cb91a8194..4c07a66c36 100644 --- a/sdk/python/pulumi_oci/optimizer/get_category.py +++ b/sdk/python/pulumi_oci/optimizer/get_category.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/optimizer/get_enrollment_status.py b/sdk/python/pulumi_oci/optimizer/get_enrollment_status.py index 7be87afc6b..803dfbef2c 100644 --- a/sdk/python/pulumi_oci/optimizer/get_enrollment_status.py +++ b/sdk/python/pulumi_oci/optimizer/get_enrollment_status.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/optimizer/get_enrollment_statuses.py b/sdk/python/pulumi_oci/optimizer/get_enrollment_statuses.py index 533cf3cc06..e2be33938d 100644 --- a/sdk/python/pulumi_oci/optimizer/get_enrollment_statuses.py +++ b/sdk/python/pulumi_oci/optimizer/get_enrollment_statuses.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/optimizer/get_histories.py b/sdk/python/pulumi_oci/optimizer/get_histories.py index de833114f2..c9687525fc 100644 --- a/sdk/python/pulumi_oci/optimizer/get_histories.py +++ b/sdk/python/pulumi_oci/optimizer/get_histories.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/optimizer/get_profile.py b/sdk/python/pulumi_oci/optimizer/get_profile.py index 295f700a61..1e163ccc2a 100644 --- a/sdk/python/pulumi_oci/optimizer/get_profile.py +++ b/sdk/python/pulumi_oci/optimizer/get_profile.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/optimizer/get_profile_level.py b/sdk/python/pulumi_oci/optimizer/get_profile_level.py index 9d5fecfd44..5a150fc1a8 100644 --- a/sdk/python/pulumi_oci/optimizer/get_profile_level.py +++ b/sdk/python/pulumi_oci/optimizer/get_profile_level.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/optimizer/get_profile_levels.py b/sdk/python/pulumi_oci/optimizer/get_profile_levels.py index 12ad5f41ce..bc182eacbd 100644 --- a/sdk/python/pulumi_oci/optimizer/get_profile_levels.py +++ b/sdk/python/pulumi_oci/optimizer/get_profile_levels.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/optimizer/get_profiles.py b/sdk/python/pulumi_oci/optimizer/get_profiles.py index cba3911a46..c3168647ed 100644 --- a/sdk/python/pulumi_oci/optimizer/get_profiles.py +++ b/sdk/python/pulumi_oci/optimizer/get_profiles.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/optimizer/get_recommendation.py b/sdk/python/pulumi_oci/optimizer/get_recommendation.py index c595d2f870..9c361f1e5b 100644 --- a/sdk/python/pulumi_oci/optimizer/get_recommendation.py +++ b/sdk/python/pulumi_oci/optimizer/get_recommendation.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/optimizer/get_recommendation_strategies.py b/sdk/python/pulumi_oci/optimizer/get_recommendation_strategies.py index 2bccb6d996..465f00ea6b 100644 --- a/sdk/python/pulumi_oci/optimizer/get_recommendation_strategies.py +++ b/sdk/python/pulumi_oci/optimizer/get_recommendation_strategies.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/optimizer/get_recommendation_strategy.py b/sdk/python/pulumi_oci/optimizer/get_recommendation_strategy.py index ed0e4d0530..07411221c5 100644 --- a/sdk/python/pulumi_oci/optimizer/get_recommendation_strategy.py +++ b/sdk/python/pulumi_oci/optimizer/get_recommendation_strategy.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/optimizer/get_recommendations.py b/sdk/python/pulumi_oci/optimizer/get_recommendations.py index deff04aef1..b74bcf8111 100644 --- a/sdk/python/pulumi_oci/optimizer/get_recommendations.py +++ b/sdk/python/pulumi_oci/optimizer/get_recommendations.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/optimizer/get_resource_action.py b/sdk/python/pulumi_oci/optimizer/get_resource_action.py index ad90fbbf5f..769eea8e54 100644 --- a/sdk/python/pulumi_oci/optimizer/get_resource_action.py +++ b/sdk/python/pulumi_oci/optimizer/get_resource_action.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/optimizer/get_resource_actions.py b/sdk/python/pulumi_oci/optimizer/get_resource_actions.py index 05873f8d31..964b870439 100644 --- a/sdk/python/pulumi_oci/optimizer/get_resource_actions.py +++ b/sdk/python/pulumi_oci/optimizer/get_resource_actions.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/optimizer/outputs.py b/sdk/python/pulumi_oci/optimizer/outputs.py index 49e8fbccee..521bd9b12f 100644 --- a/sdk/python/pulumi_oci/optimizer/outputs.py +++ b/sdk/python/pulumi_oci/optimizer/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -84,8 +84,17 @@ def __init__(__self__, *, """ :param Sequence['ProfileLevelsConfigurationItemArgs'] items: (Updatable) The list of tags specified in the current profile override. """ + ProfileLevelsConfiguration._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Optional[Sequence['outputs.ProfileLevelsConfigurationItem']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) @property @pulumi.getter @@ -122,10 +131,21 @@ def __init__(__self__, *, :param str level: (Updatable) The pre-defined profile level. :param str recommendation_id: (Updatable) The unique OCID of the recommendation. """ + ProfileLevelsConfigurationItem._configure( + lambda key, value: pulumi.set(__self__, key, value), + level=level, + recommendation_id=recommendation_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + level: Optional[str] = None, + recommendation_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if level is not None: - pulumi.set(__self__, "level", level) + _setter("level", level) if recommendation_id is not None: - pulumi.set(__self__, "recommendation_id", recommendation_id) + _setter("recommendation_id", recommendation_id) @property @pulumi.getter @@ -151,7 +171,16 @@ def __init__(__self__, *, """ :param Sequence[str] items: (Updatable) The list of tags specified in the current profile override. """ - pulumi.set(__self__, "items", items) + ProfileTargetCompartments._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -169,7 +198,16 @@ def __init__(__self__, *, """ :param Sequence['ProfileTargetTagsItemArgs'] items: (Updatable) The list of tags specified in the current profile override. """ - pulumi.set(__self__, "items", items) + ProfileTargetTags._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.ProfileTargetTagsItem'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -224,11 +262,26 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "tag_definition_name", tag_definition_name) - pulumi.set(__self__, "tag_namespace_name", tag_namespace_name) - pulumi.set(__self__, "tag_value_type", tag_value_type) + ProfileTargetTagsItem._configure( + lambda key, value: pulumi.set(__self__, key, value), + tag_definition_name=tag_definition_name, + tag_namespace_name=tag_namespace_name, + tag_value_type=tag_value_type, + tag_values=tag_values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + tag_definition_name: str, + tag_namespace_name: str, + tag_value_type: str, + tag_values: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("tag_definition_name", tag_definition_name) + _setter("tag_namespace_name", tag_namespace_name) + _setter("tag_value_type", tag_value_type) if tag_values is not None: - pulumi.set(__self__, "tag_values", tag_values) + _setter("tag_values", tag_values) @property @pulumi.getter(name="tagDefinitionName") @@ -280,10 +333,21 @@ def __init__(__self__, *, :param int count: The count of resources. :param str status: (Updatable) The status of the recommendation. """ + RecommendationResourceCount._configure( + lambda key, value: pulumi.set(__self__, key, value), + count=count, + status=status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + count: Optional[int] = None, + status: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if count is not None: - pulumi.set(__self__, "count", count) + _setter("count", count) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) @property @pulumi.getter @@ -309,8 +373,17 @@ def __init__(__self__, *, """ :param Sequence['RecommendationSupportedLevelItemArgs'] items: The list of supported levels. """ + RecommendationSupportedLevel._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Optional[Sequence['outputs.RecommendationSupportedLevelItem']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) @property @pulumi.getter @@ -328,8 +401,17 @@ def __init__(__self__, *, """ :param str name: The name of the profile level. """ + RecommendationSupportedLevelItem._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -351,12 +433,25 @@ def __init__(__self__, *, :param str type: The status of the resource action. :param str url: The URL path to documentation that explains how to perform the action. """ + ResourceActionAction._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + type=type, + url=url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: Optional[str] = None, + type: Optional[str] = None, + url: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if url is not None: - pulumi.set(__self__, "url", url) + _setter("url", url) @property @pulumi.getter @@ -387,7 +482,16 @@ def url(self) -> Optional[str]: class GetCategoriesCategoryCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetCategoriesCategoryCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetCategoriesCategoryCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetCategoriesCategoryCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -424,18 +528,49 @@ def __init__(__self__, *, :param str time_created: The date and time the category details were created, in the format defined by RFC3339. :param str time_updated: The date and time the category details were last updated, in the format defined by RFC3339. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "compartment_name", compartment_name) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "estimated_cost_saving", estimated_cost_saving) - pulumi.set(__self__, "extended_metadata", extended_metadata) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "recommendation_counts", recommendation_counts) - pulumi.set(__self__, "resource_counts", resource_counts) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetCategoriesCategoryCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + compartment_name=compartment_name, + description=description, + estimated_cost_saving=estimated_cost_saving, + extended_metadata=extended_metadata, + id=id, + name=name, + recommendation_counts=recommendation_counts, + resource_counts=resource_counts, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + compartment_name: str, + description: str, + estimated_cost_saving: float, + extended_metadata: Mapping[str, Any], + id: str, + name: str, + recommendation_counts: Sequence['outputs.GetCategoriesCategoryCollectionItemRecommendationCountResult'], + resource_counts: Sequence['outputs.GetCategoriesCategoryCollectionItemResourceCountResult'], + state: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("compartment_name", compartment_name) + _setter("description", description) + _setter("estimated_cost_saving", estimated_cost_saving) + _setter("extended_metadata", extended_metadata) + _setter("id", id) + _setter("name", name) + _setter("recommendation_counts", recommendation_counts) + _setter("resource_counts", resource_counts) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -543,8 +678,19 @@ def __init__(__self__, *, :param int count: The count of resources. :param str importance: The level of importance assigned to the recommendation. """ - pulumi.set(__self__, "count", count) - pulumi.set(__self__, "importance", importance) + GetCategoriesCategoryCollectionItemRecommendationCountResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + count=count, + importance=importance, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + count: int, + importance: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("count", count) + _setter("importance", importance) @property @pulumi.getter @@ -572,8 +718,19 @@ def __init__(__self__, *, :param int count: The count of resources. :param str status: The recommendation status of the resource. """ - pulumi.set(__self__, "count", count) - pulumi.set(__self__, "status", status) + GetCategoriesCategoryCollectionItemResourceCountResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + count=count, + status=status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + count: int, + status: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("count", count) + _setter("status", status) @property @pulumi.getter @@ -601,10 +758,23 @@ def __init__(__self__, *, """ :param str name: Optional. A filter that returns results that match the name specified. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetCategoriesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -634,8 +804,19 @@ def __init__(__self__, *, :param int count: The count of resources. :param str importance: The level of importance assigned to the recommendation. """ - pulumi.set(__self__, "count", count) - pulumi.set(__self__, "importance", importance) + GetCategoryRecommendationCountResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + count=count, + importance=importance, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + count: int, + importance: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("count", count) + _setter("importance", importance) @property @pulumi.getter @@ -663,8 +844,19 @@ def __init__(__self__, *, :param int count: The count of resources. :param str status: The recommendation status of the resource. """ - pulumi.set(__self__, "count", count) - pulumi.set(__self__, "status", status) + GetCategoryResourceCountResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + count=count, + status=status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + count: int, + status: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("count", count) + _setter("status", status) @property @pulumi.getter @@ -687,7 +879,16 @@ def status(self) -> str: class GetEnrollmentStatusesEnrollmentStatusCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetEnrollmentStatusesEnrollmentStatusCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetEnrollmentStatusesEnrollmentStatusCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetEnrollmentStatusesEnrollmentStatusCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -715,14 +916,37 @@ def __init__(__self__, *, :param str time_created: The date and time the enrollment status was created, in the format defined by RFC3339. :param str time_updated: The date and time the enrollment status was last updated, in the format defined by RFC3339. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "enrollment_status_id", enrollment_status_id) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "status_reason", status_reason) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetEnrollmentStatusesEnrollmentStatusCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + enrollment_status_id=enrollment_status_id, + id=id, + state=state, + status=status, + status_reason=status_reason, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + enrollment_status_id: str, + id: str, + state: str, + status: str, + status_reason: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("enrollment_status_id", enrollment_status_id) + _setter("id", id) + _setter("state", state) + _setter("status", status) + _setter("status_reason", status_reason) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -792,10 +1016,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetEnrollmentStatusesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -822,10 +1059,23 @@ def __init__(__self__, *, """ :param str name: Optional. A filter that returns results that match the name specified. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetHistoriesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -853,7 +1103,16 @@ def __init__(__self__, *, """ :param Sequence['GetHistoriesHistoryCollectionItemArgs'] items: A collection of history summaries. """ - pulumi.set(__self__, "items", items) + GetHistoriesHistoryCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetHistoriesHistoryCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -903,23 +1162,64 @@ def __init__(__self__, *, :param str status: A filter that returns recommendations that match the status specified. :param str time_created: The date and time the recommendation history was created, in the format defined by RFC3339. """ - pulumi.set(__self__, "actions", actions) - pulumi.set(__self__, "category_id", category_id) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "compartment_name", compartment_name) - pulumi.set(__self__, "estimated_cost_saving", estimated_cost_saving) - pulumi.set(__self__, "extended_metadata", extended_metadata) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "metadata", metadata) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "recommendation_id", recommendation_id) - pulumi.set(__self__, "recommendation_name", recommendation_name) - pulumi.set(__self__, "resource_action_id", resource_action_id) - pulumi.set(__self__, "resource_id", resource_id) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "time_created", time_created) + GetHistoriesHistoryCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + actions=actions, + category_id=category_id, + compartment_id=compartment_id, + compartment_name=compartment_name, + estimated_cost_saving=estimated_cost_saving, + extended_metadata=extended_metadata, + id=id, + metadata=metadata, + name=name, + recommendation_id=recommendation_id, + recommendation_name=recommendation_name, + resource_action_id=resource_action_id, + resource_id=resource_id, + resource_type=resource_type, + state=state, + status=status, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + actions: Sequence['outputs.GetHistoriesHistoryCollectionItemActionResult'], + category_id: str, + compartment_id: str, + compartment_name: str, + estimated_cost_saving: float, + extended_metadata: Mapping[str, Any], + id: str, + metadata: Mapping[str, Any], + name: str, + recommendation_id: str, + recommendation_name: str, + resource_action_id: str, + resource_id: str, + resource_type: str, + state: str, + status: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("actions", actions) + _setter("category_id", category_id) + _setter("compartment_id", compartment_id) + _setter("compartment_name", compartment_name) + _setter("estimated_cost_saving", estimated_cost_saving) + _setter("extended_metadata", extended_metadata) + _setter("id", id) + _setter("metadata", metadata) + _setter("name", name) + _setter("recommendation_id", recommendation_id) + _setter("recommendation_name", recommendation_name) + _setter("resource_action_id", resource_action_id) + _setter("resource_id", resource_id) + _setter("resource_type", resource_type) + _setter("state", state) + _setter("status", status) + _setter("time_created", time_created) @property @pulumi.getter @@ -1069,9 +1369,22 @@ def __init__(__self__, *, :param str type: The status of the resource action. :param str url: The URL path to documentation that explains how to perform the action. """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "url", url) + GetHistoriesHistoryCollectionItemActionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + type=type, + url=url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + type: str, + url: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("type", type) + _setter("url", url) @property @pulumi.getter @@ -1117,13 +1430,34 @@ def __init__(__self__, *, :param str time_updated: The date and time the category details were last updated, in the format defined by RFC3339. :param Sequence[int] valid_intervals: An array of aggregation intervals (in days) allowed for profiles using this profile level. """ - pulumi.set(__self__, "default_interval", default_interval) - pulumi.set(__self__, "metrics", metrics) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "recommendation_name", recommendation_name) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "valid_intervals", valid_intervals) + GetProfileLevelItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + default_interval=default_interval, + metrics=metrics, + name=name, + recommendation_name=recommendation_name, + time_created=time_created, + time_updated=time_updated, + valid_intervals=valid_intervals, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + default_interval: int, + metrics: Sequence['outputs.GetProfileLevelItemMetricResult'], + name: str, + recommendation_name: str, + time_created: str, + time_updated: str, + valid_intervals: Sequence[int], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("default_interval", default_interval) + _setter("metrics", metrics) + _setter("name", name) + _setter("recommendation_name", recommendation_name) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("valid_intervals", valid_intervals) @property @pulumi.getter(name="defaultInterval") @@ -1195,10 +1529,25 @@ def __init__(__self__, *, :param float target: Optional. The metric value that the recommendation will target. :param float threshold: The threshold that must be crossed for the recommendation to appear. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "statistic", statistic) - pulumi.set(__self__, "target", target) - pulumi.set(__self__, "threshold", threshold) + GetProfileLevelItemMetricResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + statistic=statistic, + target=target, + threshold=threshold, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + statistic: str, + target: float, + threshold: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("statistic", statistic) + _setter("target", target) + _setter("threshold", threshold) @property @pulumi.getter @@ -1240,7 +1589,16 @@ def __init__(__self__, *, """ :param Sequence['GetProfileLevelsConfigurationItemArgs'] items: The list of tags specified in the current profile override. """ - pulumi.set(__self__, "items", items) + GetProfileLevelsConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetProfileLevelsConfigurationItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1260,8 +1618,19 @@ def __init__(__self__, *, :param str level: The pre-defined profile level. :param str recommendation_id: The unique OCID of the recommendation. """ - pulumi.set(__self__, "level", level) - pulumi.set(__self__, "recommendation_id", recommendation_id) + GetProfileLevelsConfigurationItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + level=level, + recommendation_id=recommendation_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + level: str, + recommendation_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("level", level) + _setter("recommendation_id", recommendation_id) @property @pulumi.getter @@ -1289,10 +1658,23 @@ def __init__(__self__, *, """ :param str name: Optional. A filter that returns results that match the name specified. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetProfileLevelsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1320,7 +1702,16 @@ def __init__(__self__, *, """ :param Sequence['GetProfileLevelsProfileLevelCollectionItemArgs'] items: A collection of profile levels. """ - pulumi.set(__self__, "items", items) + GetProfileLevelsProfileLevelCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetProfileLevelsProfileLevelCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1350,13 +1741,34 @@ def __init__(__self__, *, :param str time_updated: The date and time the category details were last updated, in the format defined by RFC3339. :param Sequence[int] valid_intervals: An array of aggregation intervals (in days) allowed for profiles using this profile level. """ - pulumi.set(__self__, "default_interval", default_interval) - pulumi.set(__self__, "metrics", metrics) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "recommendation_name", recommendation_name) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "valid_intervals", valid_intervals) + GetProfileLevelsProfileLevelCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + default_interval=default_interval, + metrics=metrics, + name=name, + recommendation_name=recommendation_name, + time_created=time_created, + time_updated=time_updated, + valid_intervals=valid_intervals, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + default_interval: int, + metrics: Sequence['outputs.GetProfileLevelsProfileLevelCollectionItemMetricResult'], + name: str, + recommendation_name: str, + time_created: str, + time_updated: str, + valid_intervals: Sequence[int], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("default_interval", default_interval) + _setter("metrics", metrics) + _setter("name", name) + _setter("recommendation_name", recommendation_name) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("valid_intervals", valid_intervals) @property @pulumi.getter(name="defaultInterval") @@ -1428,10 +1840,25 @@ def __init__(__self__, *, :param float target: Optional. The metric value that the recommendation will target. :param float threshold: The threshold that must be crossed for the recommendation to appear. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "statistic", statistic) - pulumi.set(__self__, "target", target) - pulumi.set(__self__, "threshold", threshold) + GetProfileLevelsProfileLevelCollectionItemMetricResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + statistic=statistic, + target=target, + threshold=threshold, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + statistic: str, + target: float, + threshold: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("statistic", statistic) + _setter("target", target) + _setter("threshold", threshold) @property @pulumi.getter @@ -1473,7 +1900,16 @@ def __init__(__self__, *, """ :param Sequence[str] items: The list of tags specified in the current profile override. """ - pulumi.set(__self__, "items", items) + GetProfileTargetCompartmentResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1491,7 +1927,16 @@ def __init__(__self__, *, """ :param Sequence['GetProfileTargetTagItemArgs'] items: The list of tags specified in the current profile override. """ - pulumi.set(__self__, "items", items) + GetProfileTargetTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetProfileTargetTagItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1515,10 +1960,25 @@ def __init__(__self__, *, :param str tag_value_type: Specifies which tag value types in the `tagValues` field result in overrides of the recommendation criteria. :param Sequence[str] tag_values: The list of tag values. The tag value is the value that the user applying the tag adds to the tag key. """ - pulumi.set(__self__, "tag_definition_name", tag_definition_name) - pulumi.set(__self__, "tag_namespace_name", tag_namespace_name) - pulumi.set(__self__, "tag_value_type", tag_value_type) - pulumi.set(__self__, "tag_values", tag_values) + GetProfileTargetTagItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + tag_definition_name=tag_definition_name, + tag_namespace_name=tag_namespace_name, + tag_value_type=tag_value_type, + tag_values=tag_values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + tag_definition_name: str, + tag_namespace_name: str, + tag_value_type: str, + tag_values: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("tag_definition_name", tag_definition_name) + _setter("tag_namespace_name", tag_namespace_name) + _setter("tag_value_type", tag_value_type) + _setter("tag_values", tag_values) @property @pulumi.getter(name="tagDefinitionName") @@ -1562,10 +2022,23 @@ def __init__(__self__, *, """ :param str name: Optional. A filter that returns results that match the name specified. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetProfilesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1593,7 +2066,16 @@ def __init__(__self__, *, """ :param Sequence['GetProfilesProfileCollectionItemArgs'] items: The list of tags specified in the current profile override. """ - pulumi.set(__self__, "items", items) + GetProfilesProfileCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetProfilesProfileCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1635,19 +2117,52 @@ def __init__(__self__, *, :param str time_created: The date and time the profile was created, in the format defined by RFC3339. :param str time_updated: The date and time the profile was last updated, in the format defined by RFC3339. """ - pulumi.set(__self__, "aggregation_interval_in_days", aggregation_interval_in_days) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "levels_configurations", levels_configurations) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "target_compartments", target_compartments) - pulumi.set(__self__, "target_tags", target_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetProfilesProfileCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + aggregation_interval_in_days=aggregation_interval_in_days, + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + id=id, + levels_configurations=levels_configurations, + name=name, + state=state, + target_compartments=target_compartments, + target_tags=target_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aggregation_interval_in_days: int, + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + freeform_tags: Mapping[str, Any], + id: str, + levels_configurations: Sequence['outputs.GetProfilesProfileCollectionItemLevelsConfigurationResult'], + name: str, + state: str, + target_compartments: Sequence['outputs.GetProfilesProfileCollectionItemTargetCompartmentResult'], + target_tags: Sequence['outputs.GetProfilesProfileCollectionItemTargetTagResult'], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("aggregation_interval_in_days", aggregation_interval_in_days) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("levels_configurations", levels_configurations) + _setter("name", name) + _setter("state", state) + _setter("target_compartments", target_compartments) + _setter("target_tags", target_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="aggregationIntervalInDays") @@ -1761,7 +2276,16 @@ def __init__(__self__, *, """ :param Sequence['GetProfilesProfileCollectionItemLevelsConfigurationItemArgs'] items: The list of tags specified in the current profile override. """ - pulumi.set(__self__, "items", items) + GetProfilesProfileCollectionItemLevelsConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetProfilesProfileCollectionItemLevelsConfigurationItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1781,8 +2305,19 @@ def __init__(__self__, *, :param str level: The pre-defined profile level. :param str recommendation_id: The unique OCID of the recommendation. """ - pulumi.set(__self__, "level", level) - pulumi.set(__self__, "recommendation_id", recommendation_id) + GetProfilesProfileCollectionItemLevelsConfigurationItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + level=level, + recommendation_id=recommendation_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + level: str, + recommendation_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("level", level) + _setter("recommendation_id", recommendation_id) @property @pulumi.getter @@ -1808,7 +2343,16 @@ def __init__(__self__, *, """ :param Sequence[str] items: The list of tags specified in the current profile override. """ - pulumi.set(__self__, "items", items) + GetProfilesProfileCollectionItemTargetCompartmentResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1826,7 +2370,16 @@ def __init__(__self__, *, """ :param Sequence['GetProfilesProfileCollectionItemTargetTagItemArgs'] items: The list of tags specified in the current profile override. """ - pulumi.set(__self__, "items", items) + GetProfilesProfileCollectionItemTargetTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetProfilesProfileCollectionItemTargetTagItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1850,10 +2403,25 @@ def __init__(__self__, *, :param str tag_value_type: Specifies which tag value types in the `tagValues` field result in overrides of the recommendation criteria. :param Sequence[str] tag_values: The list of tag values. The tag value is the value that the user applying the tag adds to the tag key. """ - pulumi.set(__self__, "tag_definition_name", tag_definition_name) - pulumi.set(__self__, "tag_namespace_name", tag_namespace_name) - pulumi.set(__self__, "tag_value_type", tag_value_type) - pulumi.set(__self__, "tag_values", tag_values) + GetProfilesProfileCollectionItemTargetTagItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + tag_definition_name=tag_definition_name, + tag_namespace_name=tag_namespace_name, + tag_value_type=tag_value_type, + tag_values=tag_values, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + tag_definition_name: str, + tag_namespace_name: str, + tag_value_type: str, + tag_values: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("tag_definition_name", tag_definition_name) + _setter("tag_namespace_name", tag_namespace_name) + _setter("tag_value_type", tag_value_type) + _setter("tag_values", tag_values) @property @pulumi.getter(name="tagDefinitionName") @@ -1897,8 +2465,19 @@ def __init__(__self__, *, :param int count: The count of resources. :param str status: The current status of the recommendation. """ - pulumi.set(__self__, "count", count) - pulumi.set(__self__, "status", status) + GetRecommendationResourceCountResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + count=count, + status=status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + count: int, + status: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("count", count) + _setter("status", status) @property @pulumi.getter @@ -1926,10 +2505,23 @@ def __init__(__self__, *, """ :param str name: Optional. A filter that returns results that match the name specified. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetRecommendationStrategiesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1957,7 +2549,16 @@ def __init__(__self__, *, """ :param Sequence['GetRecommendationStrategiesRecommendationStrategyCollectionItemArgs'] items: A collection of recommendation strategy summaries. """ - pulumi.set(__self__, "items", items) + GetRecommendationStrategiesRecommendationStrategyCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetRecommendationStrategiesRecommendationStrategyCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1977,8 +2578,19 @@ def __init__(__self__, *, :param str name: Optional. A filter that returns results that match the name specified. :param Sequence['GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyArgs'] strategies: The list of strategies used. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "strategies", strategies) + GetRecommendationStrategiesRecommendationStrategyCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + strategies=strategies, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + strategies: Sequence['outputs.GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("strategies", strategies) @property @pulumi.getter @@ -2008,9 +2620,22 @@ def __init__(__self__, *, :param Sequence['GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyParametersDefinitionArgs'] parameters_definitions: The list of strategies for the parameters. :param str strategy_name: The name of the strategy. """ - pulumi.set(__self__, "is_default", is_default) - pulumi.set(__self__, "parameters_definitions", parameters_definitions) - pulumi.set(__self__, "strategy_name", strategy_name) + GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_default=is_default, + parameters_definitions=parameters_definitions, + strategy_name=strategy_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_default: bool, + parameters_definitions: Sequence['outputs.GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyParametersDefinitionResult'], + strategy_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_default", is_default) + _setter("parameters_definitions", parameters_definitions) + _setter("strategy_name", strategy_name) @property @pulumi.getter(name="isDefault") @@ -2054,12 +2679,31 @@ def __init__(__self__, *, :param Sequence[Any] possible_values: The list of possible values used for these strategy parameters. :param str type: The type of strategy parameter. """ - pulumi.set(__self__, "default_values", default_values) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "is_required", is_required) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "possible_values", possible_values) - pulumi.set(__self__, "type", type) + GetRecommendationStrategiesRecommendationStrategyCollectionItemStrategyParametersDefinitionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + default_values=default_values, + description=description, + is_required=is_required, + name=name, + possible_values=possible_values, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + default_values: Sequence[Any], + description: str, + is_required: bool, + name: str, + possible_values: Sequence[Any], + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("default_values", default_values) + _setter("description", description) + _setter("is_required", is_required) + _setter("name", name) + _setter("possible_values", possible_values) + _setter("type", type) @property @pulumi.getter(name="defaultValues") @@ -2119,8 +2763,19 @@ def __init__(__self__, *, :param str name: Optional. A filter that returns results that match the name specified. :param Sequence['GetRecommendationStrategyItemStrategyArgs'] strategies: The list of strategies used. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "strategies", strategies) + GetRecommendationStrategyItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + strategies=strategies, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + strategies: Sequence['outputs.GetRecommendationStrategyItemStrategyResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("strategies", strategies) @property @pulumi.getter @@ -2150,9 +2805,22 @@ def __init__(__self__, *, :param Sequence['GetRecommendationStrategyItemStrategyParametersDefinitionArgs'] parameters_definitions: The list of strategies for the parameters. :param str strategy_name: The name of the strategy. """ - pulumi.set(__self__, "is_default", is_default) - pulumi.set(__self__, "parameters_definitions", parameters_definitions) - pulumi.set(__self__, "strategy_name", strategy_name) + GetRecommendationStrategyItemStrategyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_default=is_default, + parameters_definitions=parameters_definitions, + strategy_name=strategy_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_default: bool, + parameters_definitions: Sequence['outputs.GetRecommendationStrategyItemStrategyParametersDefinitionResult'], + strategy_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_default", is_default) + _setter("parameters_definitions", parameters_definitions) + _setter("strategy_name", strategy_name) @property @pulumi.getter(name="isDefault") @@ -2196,12 +2864,31 @@ def __init__(__self__, *, :param Sequence[Any] possible_values: The list of possible values used for these strategy parameters. :param str type: The type of strategy parameter. """ - pulumi.set(__self__, "default_values", default_values) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "is_required", is_required) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "possible_values", possible_values) - pulumi.set(__self__, "type", type) + GetRecommendationStrategyItemStrategyParametersDefinitionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + default_values=default_values, + description=description, + is_required=is_required, + name=name, + possible_values=possible_values, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + default_values: Sequence[Any], + description: str, + is_required: bool, + name: str, + possible_values: Sequence[Any], + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("default_values", default_values) + _setter("description", description) + _setter("is_required", is_required) + _setter("name", name) + _setter("possible_values", possible_values) + _setter("type", type) @property @pulumi.getter(name="defaultValues") @@ -2259,7 +2946,16 @@ def __init__(__self__, *, """ :param Sequence['GetRecommendationSupportedLevelItemArgs'] items: The list of supported levels. """ - pulumi.set(__self__, "items", items) + GetRecommendationSupportedLevelResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetRecommendationSupportedLevelItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -2277,7 +2973,16 @@ def __init__(__self__, *, """ :param str name: The name of the profile level. """ - pulumi.set(__self__, "name", name) + GetRecommendationSupportedLevelItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -2297,10 +3002,23 @@ def __init__(__self__, *, """ :param str name: Optional. A filter that returns results that match the name specified. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetRecommendationsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2328,7 +3046,16 @@ def __init__(__self__, *, """ :param Sequence['GetRecommendationsRecommendationCollectionItemArgs'] items: The list of supported levels. """ - pulumi.set(__self__, "items", items) + GetRecommendationsRecommendationCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetRecommendationsRecommendationCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -2377,23 +3104,64 @@ def __init__(__self__, *, :param str time_status_end: The date and time the current status will change. The format is defined by RFC3339. :param str time_updated: The date and time the recommendation details were last updated, in the format defined by RFC3339. """ - pulumi.set(__self__, "category_id", category_id) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "estimated_cost_saving", estimated_cost_saving) - pulumi.set(__self__, "extended_metadata", extended_metadata) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "importance", importance) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "recommendation_id", recommendation_id) - pulumi.set(__self__, "resource_counts", resource_counts) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "supported_levels", supported_levels) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_status_begin", time_status_begin) - pulumi.set(__self__, "time_status_end", time_status_end) - pulumi.set(__self__, "time_updated", time_updated) + GetRecommendationsRecommendationCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + category_id=category_id, + compartment_id=compartment_id, + description=description, + estimated_cost_saving=estimated_cost_saving, + extended_metadata=extended_metadata, + id=id, + importance=importance, + name=name, + recommendation_id=recommendation_id, + resource_counts=resource_counts, + state=state, + status=status, + supported_levels=supported_levels, + time_created=time_created, + time_status_begin=time_status_begin, + time_status_end=time_status_end, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + category_id: str, + compartment_id: str, + description: str, + estimated_cost_saving: float, + extended_metadata: Mapping[str, Any], + id: str, + importance: str, + name: str, + recommendation_id: str, + resource_counts: Sequence['outputs.GetRecommendationsRecommendationCollectionItemResourceCountResult'], + state: str, + status: str, + supported_levels: Sequence['outputs.GetRecommendationsRecommendationCollectionItemSupportedLevelResult'], + time_created: str, + time_status_begin: str, + time_status_end: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("category_id", category_id) + _setter("compartment_id", compartment_id) + _setter("description", description) + _setter("estimated_cost_saving", estimated_cost_saving) + _setter("extended_metadata", extended_metadata) + _setter("id", id) + _setter("importance", importance) + _setter("name", name) + _setter("recommendation_id", recommendation_id) + _setter("resource_counts", resource_counts) + _setter("state", state) + _setter("status", status) + _setter("supported_levels", supported_levels) + _setter("time_created", time_created) + _setter("time_status_begin", time_status_begin) + _setter("time_status_end", time_status_end) + _setter("time_updated", time_updated) @property @pulumi.getter(name="categoryId") @@ -2538,8 +3306,19 @@ def __init__(__self__, *, :param int count: The count of resources. :param str status: A filter that returns recommendations that match the status specified. """ - pulumi.set(__self__, "count", count) - pulumi.set(__self__, "status", status) + GetRecommendationsRecommendationCollectionItemResourceCountResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + count=count, + status=status, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + count: int, + status: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("count", count) + _setter("status", status) @property @pulumi.getter @@ -2565,7 +3344,16 @@ def __init__(__self__, *, """ :param Sequence['GetRecommendationsRecommendationCollectionItemSupportedLevelItemArgs'] items: The list of supported levels. """ - pulumi.set(__self__, "items", items) + GetRecommendationsRecommendationCollectionItemSupportedLevelResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetRecommendationsRecommendationCollectionItemSupportedLevelItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -2583,7 +3371,16 @@ def __init__(__self__, *, """ :param str name: Optional. A filter that returns results that match the name specified. """ - pulumi.set(__self__, "name", name) + GetRecommendationsRecommendationCollectionItemSupportedLevelItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -2605,9 +3402,22 @@ def __init__(__self__, *, :param str type: The status of the resource action. :param str url: The URL path to documentation that explains how to perform the action. """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "url", url) + GetResourceActionActionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + type=type, + url=url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + type: str, + url: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("type", type) + _setter("url", url) @property @pulumi.getter @@ -2643,10 +3453,23 @@ def __init__(__self__, *, """ :param str name: Optional. A filter that returns results that match the name specified. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetResourceActionsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2671,7 +3494,16 @@ def regex(self) -> Optional[bool]: class GetResourceActionsResourceActionCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetResourceActionsResourceActionCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetResourceActionsResourceActionCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetResourceActionsResourceActionCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -2721,25 +3553,70 @@ def __init__(__self__, *, :param str time_status_end: The date and time the current status will change. The format is defined by RFC3339. :param str time_updated: The date and time the resource action details were last updated, in the format defined by RFC3339. """ - pulumi.set(__self__, "actions", actions) - pulumi.set(__self__, "category_id", category_id) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "compartment_name", compartment_name) - pulumi.set(__self__, "estimated_cost_saving", estimated_cost_saving) - pulumi.set(__self__, "extended_metadata", extended_metadata) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "metadata", metadata) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "recommendation_id", recommendation_id) - pulumi.set(__self__, "resource_action_id", resource_action_id) - pulumi.set(__self__, "resource_id", resource_id) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_status_begin", time_status_begin) - pulumi.set(__self__, "time_status_end", time_status_end) - pulumi.set(__self__, "time_updated", time_updated) + GetResourceActionsResourceActionCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + actions=actions, + category_id=category_id, + compartment_id=compartment_id, + compartment_name=compartment_name, + estimated_cost_saving=estimated_cost_saving, + extended_metadata=extended_metadata, + id=id, + metadata=metadata, + name=name, + recommendation_id=recommendation_id, + resource_action_id=resource_action_id, + resource_id=resource_id, + resource_type=resource_type, + state=state, + status=status, + time_created=time_created, + time_status_begin=time_status_begin, + time_status_end=time_status_end, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + actions: Sequence['outputs.GetResourceActionsResourceActionCollectionItemActionResult'], + category_id: str, + compartment_id: str, + compartment_name: str, + estimated_cost_saving: float, + extended_metadata: Mapping[str, Any], + id: str, + metadata: Mapping[str, Any], + name: str, + recommendation_id: str, + resource_action_id: str, + resource_id: str, + resource_type: str, + state: str, + status: str, + time_created: str, + time_status_begin: str, + time_status_end: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("actions", actions) + _setter("category_id", category_id) + _setter("compartment_id", compartment_id) + _setter("compartment_name", compartment_name) + _setter("estimated_cost_saving", estimated_cost_saving) + _setter("extended_metadata", extended_metadata) + _setter("id", id) + _setter("metadata", metadata) + _setter("name", name) + _setter("recommendation_id", recommendation_id) + _setter("resource_action_id", resource_action_id) + _setter("resource_id", resource_id) + _setter("resource_type", resource_type) + _setter("state", state) + _setter("status", status) + _setter("time_created", time_created) + _setter("time_status_begin", time_status_begin) + _setter("time_status_end", time_status_end) + _setter("time_updated", time_updated) @property @pulumi.getter @@ -2902,9 +3779,22 @@ def __init__(__self__, *, :param str type: The status of the resource action. :param str url: The URL path to documentation that explains how to perform the action. """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "url", url) + GetResourceActionsResourceActionCollectionItemActionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + type=type, + url=url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + type: str, + url: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("type", type) + _setter("url", url) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/optimizer/profile.py b/sdk/python/pulumi_oci/optimizer/profile.py index 43187301f4..841ea4123b 100644 --- a/sdk/python/pulumi_oci/optimizer/profile.py +++ b/sdk/python/pulumi_oci/optimizer/profile.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -37,21 +37,46 @@ def __init__(__self__, *, :param pulumi.Input['ProfileTargetCompartmentsArgs'] target_compartments: (Updatable) Optional. The compartments specified in the profile override for a recommendation. :param pulumi.Input['ProfileTargetTagsArgs'] target_tags: (Updatable) Optional. The tags specified in the profile override for a recommendation. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "levels_configuration", levels_configuration) + ProfileArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + description=description, + levels_configuration=levels_configuration, + aggregation_interval_in_days=aggregation_interval_in_days, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + name=name, + target_compartments=target_compartments, + target_tags=target_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + description: pulumi.Input[str], + levels_configuration: pulumi.Input['ProfileLevelsConfigurationArgs'], + aggregation_interval_in_days: Optional[pulumi.Input[int]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + name: Optional[pulumi.Input[str]] = None, + target_compartments: Optional[pulumi.Input['ProfileTargetCompartmentsArgs']] = None, + target_tags: Optional[pulumi.Input['ProfileTargetTagsArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("description", description) + _setter("levels_configuration", levels_configuration) if aggregation_interval_in_days is not None: - pulumi.set(__self__, "aggregation_interval_in_days", aggregation_interval_in_days) + _setter("aggregation_interval_in_days", aggregation_interval_in_days) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if target_compartments is not None: - pulumi.set(__self__, "target_compartments", target_compartments) + _setter("target_compartments", target_compartments) if target_tags is not None: - pulumi.set(__self__, "target_tags", target_tags) + _setter("target_tags", target_tags) @property @pulumi.getter(name="compartmentId") @@ -192,30 +217,61 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the profile was created, in the format defined by RFC3339. :param pulumi.Input[str] time_updated: The date and time the profile was last updated, in the format defined by RFC3339. """ + _ProfileState._configure( + lambda key, value: pulumi.set(__self__, key, value), + aggregation_interval_in_days=aggregation_interval_in_days, + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + levels_configuration=levels_configuration, + name=name, + state=state, + target_compartments=target_compartments, + target_tags=target_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aggregation_interval_in_days: Optional[pulumi.Input[int]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + levels_configuration: Optional[pulumi.Input['ProfileLevelsConfigurationArgs']] = None, + name: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + target_compartments: Optional[pulumi.Input['ProfileTargetCompartmentsArgs']] = None, + target_tags: Optional[pulumi.Input['ProfileTargetTagsArgs']] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if aggregation_interval_in_days is not None: - pulumi.set(__self__, "aggregation_interval_in_days", aggregation_interval_in_days) + _setter("aggregation_interval_in_days", aggregation_interval_in_days) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if levels_configuration is not None: - pulumi.set(__self__, "levels_configuration", levels_configuration) + _setter("levels_configuration", levels_configuration) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if target_compartments is not None: - pulumi.set(__self__, "target_compartments", target_compartments) + _setter("target_compartments", target_compartments) if target_tags is not None: - pulumi.set(__self__, "target_tags", target_tags) + _setter("target_tags", target_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="aggregationIntervalInDays") @@ -501,6 +557,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ProfileArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -533,11 +593,26 @@ def _internal_init(__self__, raise TypeError("Missing required property 'description'") __props__.__dict__["description"] = description __props__.__dict__["freeform_tags"] = freeform_tags + if levels_configuration is not None and not isinstance(levels_configuration, ProfileLevelsConfigurationArgs): + levels_configuration = levels_configuration or {} + def _setter(key, value): + levels_configuration[key] = value + ProfileLevelsConfigurationArgs._configure(_setter, **levels_configuration) if levels_configuration is None and not opts.urn: raise TypeError("Missing required property 'levels_configuration'") __props__.__dict__["levels_configuration"] = levels_configuration __props__.__dict__["name"] = name + if target_compartments is not None and not isinstance(target_compartments, ProfileTargetCompartmentsArgs): + target_compartments = target_compartments or {} + def _setter(key, value): + target_compartments[key] = value + ProfileTargetCompartmentsArgs._configure(_setter, **target_compartments) __props__.__dict__["target_compartments"] = target_compartments + if target_tags is not None and not isinstance(target_tags, ProfileTargetTagsArgs): + target_tags = target_tags or {} + def _setter(key, value): + target_tags[key] = value + ProfileTargetTagsArgs._configure(_setter, **target_tags) __props__.__dict__["target_tags"] = target_tags __props__.__dict__["state"] = None __props__.__dict__["time_created"] = None diff --git a/sdk/python/pulumi_oci/optimizer/recommendation.py b/sdk/python/pulumi_oci/optimizer/recommendation.py index bd55666ae7..fba8d48b8e 100644 --- a/sdk/python/pulumi_oci/optimizer/recommendation.py +++ b/sdk/python/pulumi_oci/optimizer/recommendation.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -31,10 +31,23 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "recommendation_id", recommendation_id) - pulumi.set(__self__, "status", status) + RecommendationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + recommendation_id=recommendation_id, + status=status, + time_status_end=time_status_end, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + recommendation_id: pulumi.Input[str], + status: pulumi.Input[str], + time_status_end: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("recommendation_id", recommendation_id) + _setter("status", status) if time_status_end is not None: - pulumi.set(__self__, "time_status_end", time_status_end) + _setter("time_status_end", time_status_end) @property @pulumi.getter(name="recommendationId") @@ -123,38 +136,77 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] time_updated: The date and time the recommendation details were last updated, in the format defined by RFC3339. """ + _RecommendationState._configure( + lambda key, value: pulumi.set(__self__, key, value), + category_id=category_id, + compartment_id=compartment_id, + description=description, + estimated_cost_saving=estimated_cost_saving, + extended_metadata=extended_metadata, + importance=importance, + name=name, + recommendation_id=recommendation_id, + resource_counts=resource_counts, + state=state, + status=status, + supported_levels=supported_levels, + time_created=time_created, + time_status_begin=time_status_begin, + time_status_end=time_status_end, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + category_id: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + estimated_cost_saving: Optional[pulumi.Input[float]] = None, + extended_metadata: Optional[pulumi.Input[Mapping[str, Any]]] = None, + importance: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + recommendation_id: Optional[pulumi.Input[str]] = None, + resource_counts: Optional[pulumi.Input[Sequence[pulumi.Input['RecommendationResourceCountArgs']]]] = None, + state: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[str]] = None, + supported_levels: Optional[pulumi.Input[Sequence[pulumi.Input['RecommendationSupportedLevelArgs']]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_status_begin: Optional[pulumi.Input[str]] = None, + time_status_end: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if category_id is not None: - pulumi.set(__self__, "category_id", category_id) + _setter("category_id", category_id) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if estimated_cost_saving is not None: - pulumi.set(__self__, "estimated_cost_saving", estimated_cost_saving) + _setter("estimated_cost_saving", estimated_cost_saving) if extended_metadata is not None: - pulumi.set(__self__, "extended_metadata", extended_metadata) + _setter("extended_metadata", extended_metadata) if importance is not None: - pulumi.set(__self__, "importance", importance) + _setter("importance", importance) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if recommendation_id is not None: - pulumi.set(__self__, "recommendation_id", recommendation_id) + _setter("recommendation_id", recommendation_id) if resource_counts is not None: - pulumi.set(__self__, "resource_counts", resource_counts) + _setter("resource_counts", resource_counts) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if supported_levels is not None: - pulumi.set(__self__, "supported_levels", supported_levels) + _setter("supported_levels", supported_levels) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_status_begin is not None: - pulumi.set(__self__, "time_status_begin", time_status_begin) + _setter("time_status_begin", time_status_begin) if time_status_end is not None: - pulumi.set(__self__, "time_status_end", time_status_end) + _setter("time_status_end", time_status_end) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="categoryId") @@ -428,6 +480,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + RecommendationArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/optimizer/resource_action.py b/sdk/python/pulumi_oci/optimizer/resource_action.py index 15e22cd4e6..6090a26437 100644 --- a/sdk/python/pulumi_oci/optimizer/resource_action.py +++ b/sdk/python/pulumi_oci/optimizer/resource_action.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -31,10 +31,23 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "resource_action_id", resource_action_id) - pulumi.set(__self__, "status", status) + ResourceActionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + resource_action_id=resource_action_id, + status=status, + time_status_end=time_status_end, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + resource_action_id: pulumi.Input[str], + status: pulumi.Input[str], + time_status_end: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("resource_action_id", resource_action_id) + _setter("status", status) if time_status_end is not None: - pulumi.set(__self__, "time_status_end", time_status_end) + _setter("time_status_end", time_status_end) @property @pulumi.getter(name="resourceActionId") @@ -127,42 +140,85 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] time_updated: The date and time the resource action details were last updated, in the format defined by RFC3339. """ + _ResourceActionState._configure( + lambda key, value: pulumi.set(__self__, key, value), + actions=actions, + category_id=category_id, + compartment_id=compartment_id, + compartment_name=compartment_name, + estimated_cost_saving=estimated_cost_saving, + extended_metadata=extended_metadata, + metadata=metadata, + name=name, + recommendation_id=recommendation_id, + resource_action_id=resource_action_id, + resource_id=resource_id, + resource_type=resource_type, + state=state, + status=status, + time_created=time_created, + time_status_begin=time_status_begin, + time_status_end=time_status_end, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + actions: Optional[pulumi.Input[Sequence[pulumi.Input['ResourceActionActionArgs']]]] = None, + category_id: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + compartment_name: Optional[pulumi.Input[str]] = None, + estimated_cost_saving: Optional[pulumi.Input[float]] = None, + extended_metadata: Optional[pulumi.Input[Mapping[str, Any]]] = None, + metadata: Optional[pulumi.Input[Mapping[str, Any]]] = None, + name: Optional[pulumi.Input[str]] = None, + recommendation_id: Optional[pulumi.Input[str]] = None, + resource_action_id: Optional[pulumi.Input[str]] = None, + resource_id: Optional[pulumi.Input[str]] = None, + resource_type: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_status_begin: Optional[pulumi.Input[str]] = None, + time_status_end: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if actions is not None: - pulumi.set(__self__, "actions", actions) + _setter("actions", actions) if category_id is not None: - pulumi.set(__self__, "category_id", category_id) + _setter("category_id", category_id) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if compartment_name is not None: - pulumi.set(__self__, "compartment_name", compartment_name) + _setter("compartment_name", compartment_name) if estimated_cost_saving is not None: - pulumi.set(__self__, "estimated_cost_saving", estimated_cost_saving) + _setter("estimated_cost_saving", estimated_cost_saving) if extended_metadata is not None: - pulumi.set(__self__, "extended_metadata", extended_metadata) + _setter("extended_metadata", extended_metadata) if metadata is not None: - pulumi.set(__self__, "metadata", metadata) + _setter("metadata", metadata) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if recommendation_id is not None: - pulumi.set(__self__, "recommendation_id", recommendation_id) + _setter("recommendation_id", recommendation_id) if resource_action_id is not None: - pulumi.set(__self__, "resource_action_id", resource_action_id) + _setter("resource_action_id", resource_action_id) if resource_id is not None: - pulumi.set(__self__, "resource_id", resource_id) + _setter("resource_id", resource_id) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_status_begin is not None: - pulumi.set(__self__, "time_status_begin", time_status_begin) + _setter("time_status_begin", time_status_begin) if time_status_end is not None: - pulumi.set(__self__, "time_status_end", time_status_end) + _setter("time_status_end", time_status_end) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter @@ -460,6 +516,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ResourceActionArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/osmanagement/_inputs.py b/sdk/python/pulumi_oci/osmanagement/_inputs.py index d81560089c..3fa5f6377e 100644 --- a/sdk/python/pulumi_oci/osmanagement/_inputs.py +++ b/sdk/python/pulumi_oci/osmanagement/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -34,8 +34,17 @@ def __init__(__self__, *, """ :param pulumi.Input[bool] is_auto_update_enabled: True if daily updates are enabled """ + ManagedInstanceAutonomouseArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_auto_update_enabled=is_auto_update_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_auto_update_enabled: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_auto_update_enabled is not None: - pulumi.set(__self__, "is_auto_update_enabled", is_auto_update_enabled) + _setter("is_auto_update_enabled", is_auto_update_enabled) @property @pulumi.getter(name="isAutoUpdateEnabled") @@ -59,10 +68,21 @@ def __init__(__self__, *, :param pulumi.Input[str] id: software source identifier :param pulumi.Input[str] name: software source name """ + ManagedInstanceChildSoftwareSourceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -98,10 +118,21 @@ def __init__(__self__, *, :param pulumi.Input[str] display_name: (Updatable) Managed Instance Group identifier :param pulumi.Input[str] id: unique identifier that is immutable on creation """ + ManagedInstanceGroupManagedInstanceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: Optional[pulumi.Input[str]] = None, + id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) @property @pulumi.getter(name="displayName") @@ -137,10 +168,21 @@ def __init__(__self__, *, :param pulumi.Input[str] display_name: User friendly name :param pulumi.Input[str] id: software source identifier """ + ManagedInstanceManagedInstanceGroupArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: Optional[pulumi.Input[str]] = None, + id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) @property @pulumi.getter(name="displayName") @@ -180,10 +222,21 @@ def __init__(__self__, *, ** 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 """ + ManagedInstanceManagementChildSoftwareSourceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -223,10 +276,21 @@ def __init__(__self__, *, :param pulumi.Input[str] display_name: User friendly name :param pulumi.Input[str] id: software source identifier """ + ManagedInstanceManagementManagedInstanceGroupArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: Optional[pulumi.Input[str]] = None, + id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) @property @pulumi.getter(name="displayName") @@ -266,10 +330,21 @@ def __init__(__self__, *, ** 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 """ + ManagedInstanceManagementParentSoftwareSourceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -309,10 +384,21 @@ def __init__(__self__, *, :param pulumi.Input[str] id: software source identifier :param pulumi.Input[str] name: software source name """ + ManagedInstanceParentSoftwareSourceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -348,10 +434,21 @@ def __init__(__self__, *, :param pulumi.Input[str] display_name: (Updatable) User friendly name for the software source :param pulumi.Input[str] id: OCID for the Software Source """ + SoftwareSourceAssociatedManagedInstanceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: Optional[pulumi.Input[str]] = None, + id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) @property @pulumi.getter(name="displayName") @@ -384,10 +481,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagedInstanceGroupsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -423,10 +533,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagedInstanceModuleStreamsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -462,10 +585,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagedInstanceStreamProfileFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -504,10 +640,23 @@ def __init__(__self__, *, """ :param str name: software source name """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagedInstancesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -546,10 +695,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSoftwareSourceStreamProfileFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -585,10 +747,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSoftwareSourcesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/osmanagement/get_managed_instance.py b/sdk/python/pulumi_oci/osmanagement/get_managed_instance.py index 8ed483d99a..c81e794069 100644 --- a/sdk/python/pulumi_oci/osmanagement/get_managed_instance.py +++ b/sdk/python/pulumi_oci/osmanagement/get_managed_instance.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/osmanagement/get_managed_instance_event_report.py b/sdk/python/pulumi_oci/osmanagement/get_managed_instance_event_report.py index 8072fc694a..5041ed1f89 100644 --- a/sdk/python/pulumi_oci/osmanagement/get_managed_instance_event_report.py +++ b/sdk/python/pulumi_oci/osmanagement/get_managed_instance_event_report.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/osmanagement/get_managed_instance_group.py b/sdk/python/pulumi_oci/osmanagement/get_managed_instance_group.py index 6698e0c62d..a2c73acafa 100644 --- a/sdk/python/pulumi_oci/osmanagement/get_managed_instance_group.py +++ b/sdk/python/pulumi_oci/osmanagement/get_managed_instance_group.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/osmanagement/get_managed_instance_groups.py b/sdk/python/pulumi_oci/osmanagement/get_managed_instance_groups.py index 228bf2bc70..07bc2fe1e4 100644 --- a/sdk/python/pulumi_oci/osmanagement/get_managed_instance_groups.py +++ b/sdk/python/pulumi_oci/osmanagement/get_managed_instance_groups.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/osmanagement/get_managed_instance_module_streams.py b/sdk/python/pulumi_oci/osmanagement/get_managed_instance_module_streams.py index 3b95088776..ced1ec8b12 100644 --- a/sdk/python/pulumi_oci/osmanagement/get_managed_instance_module_streams.py +++ b/sdk/python/pulumi_oci/osmanagement/get_managed_instance_module_streams.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/osmanagement/get_managed_instance_stream_profile.py b/sdk/python/pulumi_oci/osmanagement/get_managed_instance_stream_profile.py index 694570dfe6..9b0609a65b 100644 --- a/sdk/python/pulumi_oci/osmanagement/get_managed_instance_stream_profile.py +++ b/sdk/python/pulumi_oci/osmanagement/get_managed_instance_stream_profile.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/osmanagement/get_managed_instances.py b/sdk/python/pulumi_oci/osmanagement/get_managed_instances.py index b95b20b9b9..230ae10bc9 100644 --- a/sdk/python/pulumi_oci/osmanagement/get_managed_instances.py +++ b/sdk/python/pulumi_oci/osmanagement/get_managed_instances.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/osmanagement/get_software_source.py b/sdk/python/pulumi_oci/osmanagement/get_software_source.py index 195b1b7ca7..a35c289d4f 100644 --- a/sdk/python/pulumi_oci/osmanagement/get_software_source.py +++ b/sdk/python/pulumi_oci/osmanagement/get_software_source.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/osmanagement/get_software_source_module_stream.py b/sdk/python/pulumi_oci/osmanagement/get_software_source_module_stream.py index 4ccfa789a7..5bfeb533e6 100644 --- a/sdk/python/pulumi_oci/osmanagement/get_software_source_module_stream.py +++ b/sdk/python/pulumi_oci/osmanagement/get_software_source_module_stream.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/osmanagement/get_software_source_module_stream_profile.py b/sdk/python/pulumi_oci/osmanagement/get_software_source_module_stream_profile.py index 6464794433..b54dff95e0 100644 --- a/sdk/python/pulumi_oci/osmanagement/get_software_source_module_stream_profile.py +++ b/sdk/python/pulumi_oci/osmanagement/get_software_source_module_stream_profile.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/osmanagement/get_software_source_stream_profile.py b/sdk/python/pulumi_oci/osmanagement/get_software_source_stream_profile.py index f2fa71a967..465a2b68fa 100644 --- a/sdk/python/pulumi_oci/osmanagement/get_software_source_stream_profile.py +++ b/sdk/python/pulumi_oci/osmanagement/get_software_source_stream_profile.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/osmanagement/get_software_sources.py b/sdk/python/pulumi_oci/osmanagement/get_software_sources.py index a7270cc777..5222ff0510 100644 --- a/sdk/python/pulumi_oci/osmanagement/get_software_sources.py +++ b/sdk/python/pulumi_oci/osmanagement/get_software_sources.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/osmanagement/managed_instance.py b/sdk/python/pulumi_oci/osmanagement/managed_instance.py index 26b64b379f..36d739f018 100644 --- a/sdk/python/pulumi_oci/osmanagement/managed_instance.py +++ b/sdk/python/pulumi_oci/osmanagement/managed_instance.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -29,11 +29,24 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "managed_instance_id", managed_instance_id) + ManagedInstanceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + managed_instance_id=managed_instance_id, + is_data_collection_authorized=is_data_collection_authorized, + notification_topic_id=notification_topic_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + managed_instance_id: pulumi.Input[str], + is_data_collection_authorized: Optional[pulumi.Input[bool]] = None, + notification_topic_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("managed_instance_id", managed_instance_id) if is_data_collection_authorized is not None: - pulumi.set(__self__, "is_data_collection_authorized", is_data_collection_authorized) + _setter("is_data_collection_authorized", is_data_collection_authorized) if notification_topic_id is not None: - pulumi.set(__self__, "notification_topic_id", notification_topic_id) + _setter("notification_topic_id", notification_topic_id) @property @pulumi.getter(name="managedInstanceId") @@ -138,58 +151,117 @@ def __init__(__self__, *, :param pulumi.Input[int] updates_available: Number of updates available to be installed :param pulumi.Input[int] work_request_count: Number of work requests associated with this instance """ + _ManagedInstanceState._configure( + lambda key, value: pulumi.set(__self__, key, value), + autonomouses=autonomouses, + bug_updates_available=bug_updates_available, + child_software_sources=child_software_sources, + compartment_id=compartment_id, + description=description, + display_name=display_name, + enhancement_updates_available=enhancement_updates_available, + is_data_collection_authorized=is_data_collection_authorized, + is_reboot_required=is_reboot_required, + ksplice_effective_kernel_version=ksplice_effective_kernel_version, + last_boot=last_boot, + last_checkin=last_checkin, + managed_instance_groups=managed_instance_groups, + managed_instance_id=managed_instance_id, + notification_topic_id=notification_topic_id, + os_family=os_family, + os_kernel_version=os_kernel_version, + os_name=os_name, + os_version=os_version, + other_updates_available=other_updates_available, + parent_software_sources=parent_software_sources, + scheduled_job_count=scheduled_job_count, + security_updates_available=security_updates_available, + status=status, + updates_available=updates_available, + work_request_count=work_request_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + autonomouses: Optional[pulumi.Input[Sequence[pulumi.Input['ManagedInstanceAutonomouseArgs']]]] = None, + bug_updates_available: Optional[pulumi.Input[int]] = None, + child_software_sources: Optional[pulumi.Input[Sequence[pulumi.Input['ManagedInstanceChildSoftwareSourceArgs']]]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + enhancement_updates_available: Optional[pulumi.Input[int]] = None, + is_data_collection_authorized: Optional[pulumi.Input[bool]] = None, + is_reboot_required: Optional[pulumi.Input[bool]] = None, + ksplice_effective_kernel_version: Optional[pulumi.Input[str]] = None, + last_boot: Optional[pulumi.Input[str]] = None, + last_checkin: Optional[pulumi.Input[str]] = None, + managed_instance_groups: Optional[pulumi.Input[Sequence[pulumi.Input['ManagedInstanceManagedInstanceGroupArgs']]]] = None, + managed_instance_id: Optional[pulumi.Input[str]] = None, + notification_topic_id: Optional[pulumi.Input[str]] = None, + os_family: Optional[pulumi.Input[str]] = None, + os_kernel_version: Optional[pulumi.Input[str]] = None, + os_name: Optional[pulumi.Input[str]] = None, + os_version: Optional[pulumi.Input[str]] = None, + other_updates_available: Optional[pulumi.Input[int]] = None, + parent_software_sources: Optional[pulumi.Input[Sequence[pulumi.Input['ManagedInstanceParentSoftwareSourceArgs']]]] = None, + scheduled_job_count: Optional[pulumi.Input[int]] = None, + security_updates_available: Optional[pulumi.Input[int]] = None, + status: Optional[pulumi.Input[str]] = None, + updates_available: Optional[pulumi.Input[int]] = None, + work_request_count: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if autonomouses is not None: - pulumi.set(__self__, "autonomouses", autonomouses) + _setter("autonomouses", autonomouses) if bug_updates_available is not None: - pulumi.set(__self__, "bug_updates_available", bug_updates_available) + _setter("bug_updates_available", bug_updates_available) if child_software_sources is not None: - pulumi.set(__self__, "child_software_sources", child_software_sources) + _setter("child_software_sources", child_software_sources) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if enhancement_updates_available is not None: - pulumi.set(__self__, "enhancement_updates_available", enhancement_updates_available) + _setter("enhancement_updates_available", enhancement_updates_available) if is_data_collection_authorized is not None: - pulumi.set(__self__, "is_data_collection_authorized", is_data_collection_authorized) + _setter("is_data_collection_authorized", is_data_collection_authorized) if is_reboot_required is not None: - pulumi.set(__self__, "is_reboot_required", is_reboot_required) + _setter("is_reboot_required", is_reboot_required) if ksplice_effective_kernel_version is not None: - pulumi.set(__self__, "ksplice_effective_kernel_version", ksplice_effective_kernel_version) + _setter("ksplice_effective_kernel_version", ksplice_effective_kernel_version) if last_boot is not None: - pulumi.set(__self__, "last_boot", last_boot) + _setter("last_boot", last_boot) if last_checkin is not None: - pulumi.set(__self__, "last_checkin", last_checkin) + _setter("last_checkin", last_checkin) if managed_instance_groups is not None: - pulumi.set(__self__, "managed_instance_groups", managed_instance_groups) + _setter("managed_instance_groups", managed_instance_groups) if managed_instance_id is not None: - pulumi.set(__self__, "managed_instance_id", managed_instance_id) + _setter("managed_instance_id", managed_instance_id) if notification_topic_id is not None: - pulumi.set(__self__, "notification_topic_id", notification_topic_id) + _setter("notification_topic_id", notification_topic_id) if os_family is not None: - pulumi.set(__self__, "os_family", os_family) + _setter("os_family", os_family) if os_kernel_version is not None: - pulumi.set(__self__, "os_kernel_version", os_kernel_version) + _setter("os_kernel_version", os_kernel_version) if os_name is not None: - pulumi.set(__self__, "os_name", os_name) + _setter("os_name", os_name) if os_version is not None: - pulumi.set(__self__, "os_version", os_version) + _setter("os_version", os_version) if other_updates_available is not None: - pulumi.set(__self__, "other_updates_available", other_updates_available) + _setter("other_updates_available", other_updates_available) if parent_software_sources is not None: - pulumi.set(__self__, "parent_software_sources", parent_software_sources) + _setter("parent_software_sources", parent_software_sources) if scheduled_job_count is not None: - pulumi.set(__self__, "scheduled_job_count", scheduled_job_count) + _setter("scheduled_job_count", scheduled_job_count) if security_updates_available is not None: - pulumi.set(__self__, "security_updates_available", security_updates_available) + _setter("security_updates_available", security_updates_available) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if updates_available is not None: - pulumi.set(__self__, "updates_available", updates_available) + _setter("updates_available", updates_available) if work_request_count is not None: - pulumi.set(__self__, "work_request_count", work_request_count) + _setter("work_request_count", work_request_count) @property @pulumi.getter @@ -569,6 +641,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ManagedInstanceArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/osmanagement/managed_instance_group.py b/sdk/python/pulumi_oci/osmanagement/managed_instance_group.py index 4921e565b7..dc1b6de3b1 100644 --- a/sdk/python/pulumi_oci/osmanagement/managed_instance_group.py +++ b/sdk/python/pulumi_oci/osmanagement/managed_instance_group.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -35,16 +35,35 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) + ManagedInstanceGroupArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + os_family=os_family, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + os_family: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if os_family is not None: - pulumi.set(__self__, "os_family", os_family) + _setter("os_family", os_family) @property @pulumi.getter(name="compartmentId") @@ -150,24 +169,49 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] state: The current state of the Software Source. """ + _ManagedInstanceGroupState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + managed_instance_count=managed_instance_count, + managed_instances=managed_instances, + os_family=os_family, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + managed_instance_count: Optional[pulumi.Input[int]] = None, + managed_instances: Optional[pulumi.Input[Sequence[pulumi.Input['ManagedInstanceGroupManagedInstanceArgs']]]] = None, + os_family: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if managed_instance_count is not None: - pulumi.set(__self__, "managed_instance_count", managed_instance_count) + _setter("managed_instance_count", managed_instance_count) if managed_instances is not None: - pulumi.set(__self__, "managed_instances", managed_instances) + _setter("managed_instances", managed_instances) if os_family is not None: - pulumi.set(__self__, "os_family", os_family) + _setter("os_family", os_family) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) @property @pulumi.getter(name="compartmentId") @@ -388,6 +432,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ManagedInstanceGroupArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/osmanagement/managed_instance_management.py b/sdk/python/pulumi_oci/osmanagement/managed_instance_management.py index 34ff6a5b5a..7705078f1f 100644 --- a/sdk/python/pulumi_oci/osmanagement/managed_instance_management.py +++ b/sdk/python/pulumi_oci/osmanagement/managed_instance_management.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -27,13 +27,28 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['ManagedInstanceManagementManagedInstanceGroupArgs']]] managed_instance_groups: (Updatable) The ids of the managed instance groups of which this instance is a member. :param pulumi.Input['ManagedInstanceManagementParentSoftwareSourceArgs'] parent_software_source: (Updatable) the parent (base) Software Source attached to the Managed Instance """ - pulumi.set(__self__, "managed_instance_id", managed_instance_id) + ManagedInstanceManagementArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + managed_instance_id=managed_instance_id, + child_software_sources=child_software_sources, + managed_instance_groups=managed_instance_groups, + parent_software_source=parent_software_source, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + managed_instance_id: pulumi.Input[str], + child_software_sources: Optional[pulumi.Input[Sequence[pulumi.Input['ManagedInstanceManagementChildSoftwareSourceArgs']]]] = None, + managed_instance_groups: Optional[pulumi.Input[Sequence[pulumi.Input['ManagedInstanceManagementManagedInstanceGroupArgs']]]] = None, + parent_software_source: Optional[pulumi.Input['ManagedInstanceManagementParentSoftwareSourceArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("managed_instance_id", managed_instance_id) if child_software_sources is not None: - pulumi.set(__self__, "child_software_sources", child_software_sources) + _setter("child_software_sources", child_software_sources) if managed_instance_groups is not None: - pulumi.set(__self__, "managed_instance_groups", managed_instance_groups) + _setter("managed_instance_groups", managed_instance_groups) if parent_software_source is not None: - pulumi.set(__self__, "parent_software_source", parent_software_source) + _setter("parent_software_source", parent_software_source) @property @pulumi.getter(name="managedInstanceId") @@ -118,34 +133,69 @@ def __init__(__self__, *, :param pulumi.Input[str] status: status of the managed instance. :param pulumi.Input[int] updates_available: Number of updates available to be installed """ + _ManagedInstanceManagementState._configure( + lambda key, value: pulumi.set(__self__, key, value), + child_software_sources=child_software_sources, + compartment_id=compartment_id, + description=description, + display_name=display_name, + last_boot=last_boot, + last_checkin=last_checkin, + managed_instance_groups=managed_instance_groups, + managed_instance_id=managed_instance_id, + os_kernel_version=os_kernel_version, + os_name=os_name, + os_version=os_version, + parent_software_source=parent_software_source, + status=status, + updates_available=updates_available, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + child_software_sources: Optional[pulumi.Input[Sequence[pulumi.Input['ManagedInstanceManagementChildSoftwareSourceArgs']]]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + last_boot: Optional[pulumi.Input[str]] = None, + last_checkin: Optional[pulumi.Input[str]] = None, + managed_instance_groups: Optional[pulumi.Input[Sequence[pulumi.Input['ManagedInstanceManagementManagedInstanceGroupArgs']]]] = None, + managed_instance_id: Optional[pulumi.Input[str]] = None, + os_kernel_version: Optional[pulumi.Input[str]] = None, + os_name: Optional[pulumi.Input[str]] = None, + os_version: Optional[pulumi.Input[str]] = None, + parent_software_source: Optional[pulumi.Input['ManagedInstanceManagementParentSoftwareSourceArgs']] = None, + status: Optional[pulumi.Input[str]] = None, + updates_available: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if child_software_sources is not None: - pulumi.set(__self__, "child_software_sources", child_software_sources) + _setter("child_software_sources", child_software_sources) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if last_boot is not None: - pulumi.set(__self__, "last_boot", last_boot) + _setter("last_boot", last_boot) if last_checkin is not None: - pulumi.set(__self__, "last_checkin", last_checkin) + _setter("last_checkin", last_checkin) if managed_instance_groups is not None: - pulumi.set(__self__, "managed_instance_groups", managed_instance_groups) + _setter("managed_instance_groups", managed_instance_groups) if managed_instance_id is not None: - pulumi.set(__self__, "managed_instance_id", managed_instance_id) + _setter("managed_instance_id", managed_instance_id) if os_kernel_version is not None: - pulumi.set(__self__, "os_kernel_version", os_kernel_version) + _setter("os_kernel_version", os_kernel_version) if os_name is not None: - pulumi.set(__self__, "os_name", os_name) + _setter("os_name", os_name) if os_version is not None: - pulumi.set(__self__, "os_version", os_version) + _setter("os_version", os_version) if parent_software_source is not None: - pulumi.set(__self__, "parent_software_source", parent_software_source) + _setter("parent_software_source", parent_software_source) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if updates_available is not None: - pulumi.set(__self__, "updates_available", updates_available) + _setter("updates_available", updates_available) @property @pulumi.getter(name="childSoftwareSources") @@ -433,6 +483,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ManagedInstanceManagementArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -456,6 +510,11 @@ def _internal_init(__self__, if managed_instance_id is None and not opts.urn: raise TypeError("Missing required property 'managed_instance_id'") __props__.__dict__["managed_instance_id"] = managed_instance_id + if parent_software_source is not None and not isinstance(parent_software_source, ManagedInstanceManagementParentSoftwareSourceArgs): + parent_software_source = parent_software_source or {} + def _setter(key, value): + parent_software_source[key] = value + ManagedInstanceManagementParentSoftwareSourceArgs._configure(_setter, **parent_software_source) __props__.__dict__["parent_software_source"] = parent_software_source __props__.__dict__["compartment_id"] = None __props__.__dict__["description"] = None diff --git a/sdk/python/pulumi_oci/osmanagement/outputs.py b/sdk/python/pulumi_oci/osmanagement/outputs.py index 22ccc0d4bd..9c50cf7d20 100644 --- a/sdk/python/pulumi_oci/osmanagement/outputs.py +++ b/sdk/python/pulumi_oci/osmanagement/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -71,8 +71,17 @@ def __init__(__self__, *, """ :param bool is_auto_update_enabled: True if daily updates are enabled """ + ManagedInstanceAutonomouse._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_auto_update_enabled=is_auto_update_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_auto_update_enabled: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_auto_update_enabled is not None: - pulumi.set(__self__, "is_auto_update_enabled", is_auto_update_enabled) + _setter("is_auto_update_enabled", is_auto_update_enabled) @property @pulumi.getter(name="isAutoUpdateEnabled") @@ -92,10 +101,21 @@ def __init__(__self__, *, :param str id: software source identifier :param str name: software source name """ + ManagedInstanceChildSoftwareSource._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: Optional[str] = None, + name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -140,10 +160,21 @@ def __init__(__self__, *, :param str display_name: (Updatable) Managed Instance Group identifier :param str id: unique identifier that is immutable on creation """ + ManagedInstanceGroupManagedInstance._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: Optional[str] = None, + id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) @property @pulumi.getter(name="displayName") @@ -188,10 +219,21 @@ def __init__(__self__, *, :param str display_name: User friendly name :param str id: software source identifier """ + ManagedInstanceManagedInstanceGroup._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: Optional[str] = None, + id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) @property @pulumi.getter(name="displayName") @@ -223,10 +265,21 @@ def __init__(__self__, *, ** 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 """ + ManagedInstanceManagementChildSoftwareSource._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: Optional[str] = None, + name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -275,10 +328,21 @@ def __init__(__self__, *, :param str display_name: User friendly name :param str id: software source identifier """ + ManagedInstanceManagementManagedInstanceGroup._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: Optional[str] = None, + id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) @property @pulumi.getter(name="displayName") @@ -310,10 +374,21 @@ def __init__(__self__, *, ** 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 """ + ManagedInstanceManagementParentSoftwareSource._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: Optional[str] = None, + name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -345,10 +420,21 @@ def __init__(__self__, *, :param str id: software source identifier :param str name: software source name """ + ManagedInstanceParentSoftwareSource._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: Optional[str] = None, + name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -393,10 +479,21 @@ def __init__(__self__, *, :param str display_name: (Updatable) User friendly name for the software source :param str id: OCID for the Software Source """ + SoftwareSourceAssociatedManagedInstance._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: Optional[str] = None, + id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) @property @pulumi.getter(name="displayName") @@ -422,7 +519,16 @@ def __init__(__self__, *, """ :param bool is_auto_update_enabled: True if daily updates are enabled """ - pulumi.set(__self__, "is_auto_update_enabled", is_auto_update_enabled) + GetManagedInstanceAutonomouseResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_auto_update_enabled=is_auto_update_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_auto_update_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_auto_update_enabled", is_auto_update_enabled) @property @pulumi.getter(name="isAutoUpdateEnabled") @@ -442,8 +548,19 @@ def __init__(__self__, *, :param str id: software source identifier :param str name: software source name """ - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "name", name) + GetManagedInstanceChildSoftwareSourceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) + _setter("name", name) @property @pulumi.getter @@ -471,8 +588,19 @@ def __init__(__self__, *, :param str display_name: User friendly name :param str id: unique identifier that is immutable on creation """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "id", id) + GetManagedInstanceGroupManagedInstanceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("id", id) @property @pulumi.getter(name="displayName") @@ -497,10 +625,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagedInstanceGroupsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -542,16 +683,43 @@ def __init__(__self__, *, :param str os_family: The OS family for which to list resources. :param str state: The current lifecycle state for the object. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "managed_instance_count", managed_instance_count) - pulumi.set(__self__, "managed_instances", managed_instances) - pulumi.set(__self__, "os_family", os_family) - pulumi.set(__self__, "state", state) + GetManagedInstanceGroupsManagedInstanceGroupResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + managed_instance_count=managed_instance_count, + managed_instances=managed_instances, + os_family=os_family, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + managed_instance_count: int, + managed_instances: Sequence['outputs.GetManagedInstanceGroupsManagedInstanceGroupManagedInstanceResult'], + os_family: str, + state: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("managed_instance_count", managed_instance_count) + _setter("managed_instances", managed_instances) + _setter("os_family", os_family) + _setter("state", state) @property @pulumi.getter(name="compartmentId") @@ -640,8 +808,19 @@ def __init__(__self__, *, :param str display_name: A user-friendly name. Does not have to be unique, and it's changeable. Example: `My new resource` :param str id: unique identifier that is immutable on creation """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "id", id) + GetManagedInstanceGroupsManagedInstanceGroupManagedInstanceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("id", id) @property @pulumi.getter(name="displayName") @@ -669,8 +848,19 @@ def __init__(__self__, *, :param str display_name: User friendly name :param str id: software source identifier """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "id", id) + GetManagedInstanceManagedInstanceGroupResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("id", id) @property @pulumi.getter(name="displayName") @@ -695,10 +885,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagedInstanceModuleStreamsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -733,12 +936,31 @@ def __init__(__self__, *, :param str stream_name: The name of the stream of the containing module. This parameter is required if a profileName is specified. :param str time_modified: The date and time of the last status change for this profile, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. """ - pulumi.set(__self__, "module_name", module_name) - pulumi.set(__self__, "profiles", profiles) - pulumi.set(__self__, "software_source_id", software_source_id) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "stream_name", stream_name) - pulumi.set(__self__, "time_modified", time_modified) + GetManagedInstanceModuleStreamsModuleStreamOnManagedInstanceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + module_name=module_name, + profiles=profiles, + software_source_id=software_source_id, + status=status, + stream_name=stream_name, + time_modified=time_modified, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + module_name: str, + profiles: Sequence['outputs.GetManagedInstanceModuleStreamsModuleStreamOnManagedInstanceProfileResult'], + software_source_id: str, + status: str, + stream_name: str, + time_modified: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("module_name", module_name) + _setter("profiles", profiles) + _setter("software_source_id", software_source_id) + _setter("status", status) + _setter("stream_name", stream_name) + _setter("time_modified", time_modified) @property @pulumi.getter(name="moduleName") @@ -804,11 +1026,28 @@ def __init__(__self__, *, :param str stream_name: The name of the stream of the containing module. This parameter is required if a profileName is specified. :param str time_modified: The date and time of the last status change for this profile, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. """ - pulumi.set(__self__, "module_name", module_name) - pulumi.set(__self__, "profile_name", profile_name) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "stream_name", stream_name) - pulumi.set(__self__, "time_modified", time_modified) + GetManagedInstanceModuleStreamsModuleStreamOnManagedInstanceProfileResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + module_name=module_name, + profile_name=profile_name, + status=status, + stream_name=stream_name, + time_modified=time_modified, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + module_name: str, + profile_name: str, + status: str, + stream_name: str, + time_modified: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("module_name", module_name) + _setter("profile_name", profile_name) + _setter("status", status) + _setter("stream_name", stream_name) + _setter("time_modified", time_modified) @property @pulumi.getter(name="moduleName") @@ -860,8 +1099,19 @@ def __init__(__self__, *, :param str id: software source identifier :param str name: software source name """ - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "name", name) + GetManagedInstanceParentSoftwareSourceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) + _setter("name", name) @property @pulumi.getter @@ -886,10 +1136,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagedInstanceStreamProfileFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -922,11 +1185,28 @@ def __init__(__self__, *, :param str stream_name: The name of the stream of the containing module. This parameter is required if a profileName is specified. :param str time_modified: The date and time of the last status change for this profile, as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339), section 14.29. """ - pulumi.set(__self__, "module_name", module_name) - pulumi.set(__self__, "profile_name", profile_name) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "stream_name", stream_name) - pulumi.set(__self__, "time_modified", time_modified) + GetManagedInstanceStreamProfileModuleStreamProfileOnManagedInstanceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + module_name=module_name, + profile_name=profile_name, + status=status, + stream_name=stream_name, + time_modified=time_modified, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + module_name: str, + profile_name: str, + status: str, + stream_name: str, + time_modified: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("module_name", module_name) + _setter("profile_name", profile_name) + _setter("status", status) + _setter("stream_name", stream_name) + _setter("time_modified", time_modified) @property @pulumi.getter(name="moduleName") @@ -978,10 +1258,23 @@ def __init__(__self__, *, """ :param str name: software source name """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetManagedInstancesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1060,33 +1353,94 @@ def __init__(__self__, *, :param int updates_available: Number of updates available to be installed :param int work_request_count: Number of work requests associated with this instance """ - pulumi.set(__self__, "autonomouses", autonomouses) - pulumi.set(__self__, "bug_updates_available", bug_updates_available) - pulumi.set(__self__, "child_software_sources", child_software_sources) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "enhancement_updates_available", enhancement_updates_available) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_data_collection_authorized", is_data_collection_authorized) - pulumi.set(__self__, "is_reboot_required", is_reboot_required) - pulumi.set(__self__, "ksplice_effective_kernel_version", ksplice_effective_kernel_version) - pulumi.set(__self__, "last_boot", last_boot) - pulumi.set(__self__, "last_checkin", last_checkin) - pulumi.set(__self__, "managed_instance_groups", managed_instance_groups) - pulumi.set(__self__, "managed_instance_id", managed_instance_id) - pulumi.set(__self__, "notification_topic_id", notification_topic_id) - pulumi.set(__self__, "os_family", os_family) - pulumi.set(__self__, "os_kernel_version", os_kernel_version) - pulumi.set(__self__, "os_name", os_name) - pulumi.set(__self__, "os_version", os_version) - pulumi.set(__self__, "other_updates_available", other_updates_available) - pulumi.set(__self__, "parent_software_sources", parent_software_sources) - pulumi.set(__self__, "scheduled_job_count", scheduled_job_count) - pulumi.set(__self__, "security_updates_available", security_updates_available) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "updates_available", updates_available) - pulumi.set(__self__, "work_request_count", work_request_count) + GetManagedInstancesManagedInstanceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + autonomouses=autonomouses, + bug_updates_available=bug_updates_available, + child_software_sources=child_software_sources, + compartment_id=compartment_id, + description=description, + display_name=display_name, + enhancement_updates_available=enhancement_updates_available, + id=id, + is_data_collection_authorized=is_data_collection_authorized, + is_reboot_required=is_reboot_required, + ksplice_effective_kernel_version=ksplice_effective_kernel_version, + last_boot=last_boot, + last_checkin=last_checkin, + managed_instance_groups=managed_instance_groups, + managed_instance_id=managed_instance_id, + notification_topic_id=notification_topic_id, + os_family=os_family, + os_kernel_version=os_kernel_version, + os_name=os_name, + os_version=os_version, + other_updates_available=other_updates_available, + parent_software_sources=parent_software_sources, + scheduled_job_count=scheduled_job_count, + security_updates_available=security_updates_available, + status=status, + updates_available=updates_available, + work_request_count=work_request_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + autonomouses: Sequence['outputs.GetManagedInstancesManagedInstanceAutonomouseResult'], + bug_updates_available: int, + child_software_sources: Sequence['outputs.GetManagedInstancesManagedInstanceChildSoftwareSourceResult'], + compartment_id: str, + description: str, + display_name: str, + enhancement_updates_available: int, + id: str, + is_data_collection_authorized: bool, + is_reboot_required: bool, + ksplice_effective_kernel_version: str, + last_boot: str, + last_checkin: str, + managed_instance_groups: Sequence['outputs.GetManagedInstancesManagedInstanceManagedInstanceGroupResult'], + managed_instance_id: str, + notification_topic_id: str, + os_family: str, + os_kernel_version: str, + os_name: str, + os_version: str, + other_updates_available: int, + parent_software_sources: Sequence['outputs.GetManagedInstancesManagedInstanceParentSoftwareSourceResult'], + scheduled_job_count: int, + security_updates_available: int, + status: str, + updates_available: int, + work_request_count: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("autonomouses", autonomouses) + _setter("bug_updates_available", bug_updates_available) + _setter("child_software_sources", child_software_sources) + _setter("compartment_id", compartment_id) + _setter("description", description) + _setter("display_name", display_name) + _setter("enhancement_updates_available", enhancement_updates_available) + _setter("id", id) + _setter("is_data_collection_authorized", is_data_collection_authorized) + _setter("is_reboot_required", is_reboot_required) + _setter("ksplice_effective_kernel_version", ksplice_effective_kernel_version) + _setter("last_boot", last_boot) + _setter("last_checkin", last_checkin) + _setter("managed_instance_groups", managed_instance_groups) + _setter("managed_instance_id", managed_instance_id) + _setter("notification_topic_id", notification_topic_id) + _setter("os_family", os_family) + _setter("os_kernel_version", os_kernel_version) + _setter("os_name", os_name) + _setter("os_version", os_version) + _setter("other_updates_available", other_updates_available) + _setter("parent_software_sources", parent_software_sources) + _setter("scheduled_job_count", scheduled_job_count) + _setter("security_updates_available", security_updates_available) + _setter("status", status) + _setter("updates_available", updates_available) + _setter("work_request_count", work_request_count) @property @pulumi.getter @@ -1309,7 +1663,16 @@ def __init__(__self__, *, """ :param bool is_auto_update_enabled: True if daily updates are enabled """ - pulumi.set(__self__, "is_auto_update_enabled", is_auto_update_enabled) + GetManagedInstancesManagedInstanceAutonomouseResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_auto_update_enabled=is_auto_update_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_auto_update_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_auto_update_enabled", is_auto_update_enabled) @property @pulumi.getter(name="isAutoUpdateEnabled") @@ -1329,8 +1692,19 @@ def __init__(__self__, *, :param str id: software source identifier :param str name: software source name """ - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "name", name) + GetManagedInstancesManagedInstanceChildSoftwareSourceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) + _setter("name", name) @property @pulumi.getter @@ -1358,8 +1732,19 @@ def __init__(__self__, *, :param str display_name: A user-friendly name. Does not have to be unique, and it's changeable. Example: `My new resource` :param str id: software source identifier """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "id", id) + GetManagedInstancesManagedInstanceManagedInstanceGroupResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("id", id) @property @pulumi.getter(name="displayName") @@ -1387,8 +1772,19 @@ def __init__(__self__, *, :param str id: software source identifier :param str name: software source name """ - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "name", name) + GetManagedInstancesManagedInstanceParentSoftwareSourceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) + _setter("name", name) @property @pulumi.getter @@ -1416,8 +1812,19 @@ def __init__(__self__, *, :param str display_name: User friendly name for the software source :param str id: OCID for the Software Source """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "id", id) + GetSoftwareSourceAssociatedManagedInstanceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("id", id) @property @pulumi.getter(name="displayName") @@ -1442,10 +1849,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSoftwareSourceStreamProfileFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1474,9 +1894,22 @@ def __init__(__self__, *, :param str profile_name: The name of the profile of the containing module stream :param str stream_name: The name of the stream of the containing module. This parameter is required if a profileName is specified. """ - pulumi.set(__self__, "module_name", module_name) - pulumi.set(__self__, "profile_name", profile_name) - pulumi.set(__self__, "stream_name", stream_name) + GetSoftwareSourceStreamProfileModuleStreamProfileResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + module_name=module_name, + profile_name=profile_name, + stream_name=stream_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + module_name: str, + profile_name: str, + stream_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("module_name", module_name) + _setter("profile_name", profile_name) + _setter("stream_name", stream_name) @property @pulumi.getter(name="moduleName") @@ -1509,10 +1942,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSoftwareSourcesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1579,28 +2025,79 @@ def __init__(__self__, *, :param str status: status of the software source. :param str url: URL for the repostiory """ - pulumi.set(__self__, "arch_type", arch_type) - pulumi.set(__self__, "associated_managed_instances", associated_managed_instances) - pulumi.set(__self__, "checksum_type", checksum_type) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "gpg_key_fingerprint", gpg_key_fingerprint) - pulumi.set(__self__, "gpg_key_id", gpg_key_id) - pulumi.set(__self__, "gpg_key_url", gpg_key_url) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "maintainer_email", maintainer_email) - pulumi.set(__self__, "maintainer_name", maintainer_name) - pulumi.set(__self__, "maintainer_phone", maintainer_phone) - pulumi.set(__self__, "packages", packages) - pulumi.set(__self__, "parent_id", parent_id) - pulumi.set(__self__, "parent_name", parent_name) - pulumi.set(__self__, "repo_type", repo_type) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "url", url) + GetSoftwareSourcesSoftwareSourceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + arch_type=arch_type, + associated_managed_instances=associated_managed_instances, + checksum_type=checksum_type, + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + gpg_key_fingerprint=gpg_key_fingerprint, + gpg_key_id=gpg_key_id, + gpg_key_url=gpg_key_url, + id=id, + maintainer_email=maintainer_email, + maintainer_name=maintainer_name, + maintainer_phone=maintainer_phone, + packages=packages, + parent_id=parent_id, + parent_name=parent_name, + repo_type=repo_type, + state=state, + status=status, + url=url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + arch_type: str, + associated_managed_instances: Sequence['outputs.GetSoftwareSourcesSoftwareSourceAssociatedManagedInstanceResult'], + checksum_type: str, + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + gpg_key_fingerprint: str, + gpg_key_id: str, + gpg_key_url: str, + id: str, + maintainer_email: str, + maintainer_name: str, + maintainer_phone: str, + packages: int, + parent_id: str, + parent_name: str, + repo_type: str, + state: str, + status: str, + url: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("arch_type", arch_type) + _setter("associated_managed_instances", associated_managed_instances) + _setter("checksum_type", checksum_type) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("gpg_key_fingerprint", gpg_key_fingerprint) + _setter("gpg_key_id", gpg_key_id) + _setter("gpg_key_url", gpg_key_url) + _setter("id", id) + _setter("maintainer_email", maintainer_email) + _setter("maintainer_name", maintainer_name) + _setter("maintainer_phone", maintainer_phone) + _setter("packages", packages) + _setter("parent_id", parent_id) + _setter("parent_name", parent_name) + _setter("repo_type", repo_type) + _setter("state", state) + _setter("status", status) + _setter("url", url) @property @pulumi.getter(name="archType") @@ -1788,8 +2285,19 @@ def __init__(__self__, *, :param str display_name: A user-friendly name. Does not have to be unique, and it's changeable. Example: `My new resource` :param str id: OCID for the Software Source """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "id", id) + GetSoftwareSourcesSoftwareSourceAssociatedManagedInstanceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("id", id) @property @pulumi.getter(name="displayName") diff --git a/sdk/python/pulumi_oci/osmanagement/software_source.py b/sdk/python/pulumi_oci/osmanagement/software_source.py index 6d3fbd4476..3a76bb8023 100644 --- a/sdk/python/pulumi_oci/osmanagement/software_source.py +++ b/sdk/python/pulumi_oci/osmanagement/software_source.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -45,25 +45,54 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "arch_type", arch_type) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) + SoftwareSourceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + arch_type=arch_type, + compartment_id=compartment_id, + display_name=display_name, + checksum_type=checksum_type, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + maintainer_email=maintainer_email, + maintainer_name=maintainer_name, + maintainer_phone=maintainer_phone, + parent_id=parent_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + arch_type: pulumi.Input[str], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + checksum_type: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + maintainer_email: Optional[pulumi.Input[str]] = None, + maintainer_name: Optional[pulumi.Input[str]] = None, + maintainer_phone: Optional[pulumi.Input[str]] = None, + parent_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("arch_type", arch_type) + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) if checksum_type is not None: - pulumi.set(__self__, "checksum_type", checksum_type) + _setter("checksum_type", checksum_type) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if maintainer_email is not None: - pulumi.set(__self__, "maintainer_email", maintainer_email) + _setter("maintainer_email", maintainer_email) if maintainer_name is not None: - pulumi.set(__self__, "maintainer_name", maintainer_name) + _setter("maintainer_name", maintainer_name) if maintainer_phone is not None: - pulumi.set(__self__, "maintainer_phone", maintainer_phone) + _setter("maintainer_phone", maintainer_phone) if parent_id is not None: - pulumi.set(__self__, "parent_id", parent_id) + _setter("parent_id", parent_id) @property @pulumi.getter(name="archType") @@ -254,48 +283,97 @@ def __init__(__self__, *, :param pulumi.Input[str] status: status of the software source. :param pulumi.Input[str] url: URL for the repostiory """ + _SoftwareSourceState._configure( + lambda key, value: pulumi.set(__self__, key, value), + arch_type=arch_type, + associated_managed_instances=associated_managed_instances, + checksum_type=checksum_type, + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + gpg_key_fingerprint=gpg_key_fingerprint, + gpg_key_id=gpg_key_id, + gpg_key_url=gpg_key_url, + maintainer_email=maintainer_email, + maintainer_name=maintainer_name, + maintainer_phone=maintainer_phone, + packages=packages, + parent_id=parent_id, + parent_name=parent_name, + repo_type=repo_type, + state=state, + status=status, + url=url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + arch_type: Optional[pulumi.Input[str]] = None, + associated_managed_instances: Optional[pulumi.Input[Sequence[pulumi.Input['SoftwareSourceAssociatedManagedInstanceArgs']]]] = None, + checksum_type: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + gpg_key_fingerprint: Optional[pulumi.Input[str]] = None, + gpg_key_id: Optional[pulumi.Input[str]] = None, + gpg_key_url: Optional[pulumi.Input[str]] = None, + maintainer_email: Optional[pulumi.Input[str]] = None, + maintainer_name: Optional[pulumi.Input[str]] = None, + maintainer_phone: Optional[pulumi.Input[str]] = None, + packages: Optional[pulumi.Input[int]] = None, + parent_id: Optional[pulumi.Input[str]] = None, + parent_name: Optional[pulumi.Input[str]] = None, + repo_type: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[str]] = None, + url: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if arch_type is not None: - pulumi.set(__self__, "arch_type", arch_type) + _setter("arch_type", arch_type) if associated_managed_instances is not None: - pulumi.set(__self__, "associated_managed_instances", associated_managed_instances) + _setter("associated_managed_instances", associated_managed_instances) if checksum_type is not None: - pulumi.set(__self__, "checksum_type", checksum_type) + _setter("checksum_type", checksum_type) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if gpg_key_fingerprint is not None: - pulumi.set(__self__, "gpg_key_fingerprint", gpg_key_fingerprint) + _setter("gpg_key_fingerprint", gpg_key_fingerprint) if gpg_key_id is not None: - pulumi.set(__self__, "gpg_key_id", gpg_key_id) + _setter("gpg_key_id", gpg_key_id) if gpg_key_url is not None: - pulumi.set(__self__, "gpg_key_url", gpg_key_url) + _setter("gpg_key_url", gpg_key_url) if maintainer_email is not None: - pulumi.set(__self__, "maintainer_email", maintainer_email) + _setter("maintainer_email", maintainer_email) if maintainer_name is not None: - pulumi.set(__self__, "maintainer_name", maintainer_name) + _setter("maintainer_name", maintainer_name) if maintainer_phone is not None: - pulumi.set(__self__, "maintainer_phone", maintainer_phone) + _setter("maintainer_phone", maintainer_phone) if packages is not None: - pulumi.set(__self__, "packages", packages) + _setter("packages", packages) if parent_id is not None: - pulumi.set(__self__, "parent_id", parent_id) + _setter("parent_id", parent_id) if parent_name is not None: - pulumi.set(__self__, "parent_name", parent_name) + _setter("parent_name", parent_name) if repo_type is not None: - pulumi.set(__self__, "repo_type", repo_type) + _setter("repo_type", repo_type) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if url is not None: - pulumi.set(__self__, "url", url) + _setter("url", url) @property @pulumi.getter(name="archType") @@ -683,6 +761,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + SoftwareSourceArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/ospgateway/_inputs.py b/sdk/python/pulumi_oci/ospgateway/_inputs.py index f95e2c0483..48f40a91be 100644 --- a/sdk/python/pulumi_oci/ospgateway/_inputs.py +++ b/sdk/python/pulumi_oci/ospgateway/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -88,58 +88,117 @@ def __init__(__self__, *, ** 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 """ + AddressActionVerificationAddressArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + address_key=address_key, + city=city, + company_name=company_name, + contributor_class=contributor_class, + country=country, + county=county, + department_name=department_name, + email_address=email_address, + first_name=first_name, + internal_number=internal_number, + job_title=job_title, + last_name=last_name, + line1=line1, + line2=line2, + line3=line3, + line4=line4, + middle_name=middle_name, + municipal_inscription=municipal_inscription, + phone_country_code=phone_country_code, + phone_number=phone_number, + postal_code=postal_code, + province=province, + state=state, + state_inscription=state_inscription, + street_name=street_name, + street_number=street_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address_key: Optional[pulumi.Input[str]] = None, + city: Optional[pulumi.Input[str]] = None, + company_name: Optional[pulumi.Input[str]] = None, + contributor_class: Optional[pulumi.Input[str]] = None, + country: Optional[pulumi.Input[str]] = None, + county: Optional[pulumi.Input[str]] = None, + department_name: Optional[pulumi.Input[str]] = None, + email_address: Optional[pulumi.Input[str]] = None, + first_name: Optional[pulumi.Input[str]] = None, + internal_number: Optional[pulumi.Input[str]] = None, + job_title: Optional[pulumi.Input[str]] = None, + last_name: Optional[pulumi.Input[str]] = None, + line1: Optional[pulumi.Input[str]] = None, + line2: Optional[pulumi.Input[str]] = None, + line3: Optional[pulumi.Input[str]] = None, + line4: Optional[pulumi.Input[str]] = None, + middle_name: Optional[pulumi.Input[str]] = None, + municipal_inscription: Optional[pulumi.Input[str]] = None, + phone_country_code: Optional[pulumi.Input[str]] = None, + phone_number: Optional[pulumi.Input[str]] = None, + postal_code: Optional[pulumi.Input[str]] = None, + province: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + state_inscription: Optional[pulumi.Input[str]] = None, + street_name: Optional[pulumi.Input[str]] = None, + street_number: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if address_key is not None: - pulumi.set(__self__, "address_key", address_key) + _setter("address_key", address_key) if city is not None: - pulumi.set(__self__, "city", city) + _setter("city", city) if company_name is not None: - pulumi.set(__self__, "company_name", company_name) + _setter("company_name", company_name) if contributor_class is not None: - pulumi.set(__self__, "contributor_class", contributor_class) + _setter("contributor_class", contributor_class) if country is not None: - pulumi.set(__self__, "country", country) + _setter("country", country) if county is not None: - pulumi.set(__self__, "county", county) + _setter("county", county) if department_name is not None: - pulumi.set(__self__, "department_name", department_name) + _setter("department_name", department_name) if email_address is not None: - pulumi.set(__self__, "email_address", email_address) + _setter("email_address", email_address) if first_name is not None: - pulumi.set(__self__, "first_name", first_name) + _setter("first_name", first_name) if internal_number is not None: - pulumi.set(__self__, "internal_number", internal_number) + _setter("internal_number", internal_number) if job_title is not None: - pulumi.set(__self__, "job_title", job_title) + _setter("job_title", job_title) if last_name is not None: - pulumi.set(__self__, "last_name", last_name) + _setter("last_name", last_name) if line1 is not None: - pulumi.set(__self__, "line1", line1) + _setter("line1", line1) if line2 is not None: - pulumi.set(__self__, "line2", line2) + _setter("line2", line2) if line3 is not None: - pulumi.set(__self__, "line3", line3) + _setter("line3", line3) if line4 is not None: - pulumi.set(__self__, "line4", line4) + _setter("line4", line4) if middle_name is not None: - pulumi.set(__self__, "middle_name", middle_name) + _setter("middle_name", middle_name) if municipal_inscription is not None: - pulumi.set(__self__, "municipal_inscription", municipal_inscription) + _setter("municipal_inscription", municipal_inscription) if phone_country_code is not None: - pulumi.set(__self__, "phone_country_code", phone_country_code) + _setter("phone_country_code", phone_country_code) if phone_number is not None: - pulumi.set(__self__, "phone_number", phone_number) + _setter("phone_number", phone_number) if postal_code is not None: - pulumi.set(__self__, "postal_code", postal_code) + _setter("postal_code", postal_code) if province is not None: - pulumi.set(__self__, "province", province) + _setter("province", province) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if state_inscription is not None: - pulumi.set(__self__, "state_inscription", state_inscription) + _setter("state_inscription", state_inscription) if street_name is not None: - pulumi.set(__self__, "street_name", street_name) + _setter("street_name", street_name) if street_number is not None: - pulumi.set(__self__, "street_number", street_number) + _setter("street_number", street_number) @property @pulumi.getter(name="addressKey") @@ -515,58 +574,117 @@ def __init__(__self__, *, :param pulumi.Input[str] street_name: (Updatable) Street name of the address. :param pulumi.Input[str] street_number: (Updatable) Street number of the address. """ + SubscriptionBillingAddressArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + address_key=address_key, + city=city, + company_name=company_name, + contributor_class=contributor_class, + country=country, + county=county, + department_name=department_name, + email_address=email_address, + first_name=first_name, + internal_number=internal_number, + job_title=job_title, + last_name=last_name, + line1=line1, + line2=line2, + line3=line3, + line4=line4, + middle_name=middle_name, + municipal_inscription=municipal_inscription, + phone_country_code=phone_country_code, + phone_number=phone_number, + postal_code=postal_code, + province=province, + state=state, + state_inscription=state_inscription, + street_name=street_name, + street_number=street_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address_key: Optional[pulumi.Input[str]] = None, + city: Optional[pulumi.Input[str]] = None, + company_name: Optional[pulumi.Input[str]] = None, + contributor_class: Optional[pulumi.Input[str]] = None, + country: Optional[pulumi.Input[str]] = None, + county: Optional[pulumi.Input[str]] = None, + department_name: Optional[pulumi.Input[str]] = None, + email_address: Optional[pulumi.Input[str]] = None, + first_name: Optional[pulumi.Input[str]] = None, + internal_number: Optional[pulumi.Input[str]] = None, + job_title: Optional[pulumi.Input[str]] = None, + last_name: Optional[pulumi.Input[str]] = None, + line1: Optional[pulumi.Input[str]] = None, + line2: Optional[pulumi.Input[str]] = None, + line3: Optional[pulumi.Input[str]] = None, + line4: Optional[pulumi.Input[str]] = None, + middle_name: Optional[pulumi.Input[str]] = None, + municipal_inscription: Optional[pulumi.Input[str]] = None, + phone_country_code: Optional[pulumi.Input[str]] = None, + phone_number: Optional[pulumi.Input[str]] = None, + postal_code: Optional[pulumi.Input[str]] = None, + province: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + state_inscription: Optional[pulumi.Input[str]] = None, + street_name: Optional[pulumi.Input[str]] = None, + street_number: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if address_key is not None: - pulumi.set(__self__, "address_key", address_key) + _setter("address_key", address_key) if city is not None: - pulumi.set(__self__, "city", city) + _setter("city", city) if company_name is not None: - pulumi.set(__self__, "company_name", company_name) + _setter("company_name", company_name) if contributor_class is not None: - pulumi.set(__self__, "contributor_class", contributor_class) + _setter("contributor_class", contributor_class) if country is not None: - pulumi.set(__self__, "country", country) + _setter("country", country) if county is not None: - pulumi.set(__self__, "county", county) + _setter("county", county) if department_name is not None: - pulumi.set(__self__, "department_name", department_name) + _setter("department_name", department_name) if email_address is not None: - pulumi.set(__self__, "email_address", email_address) + _setter("email_address", email_address) if first_name is not None: - pulumi.set(__self__, "first_name", first_name) + _setter("first_name", first_name) if internal_number is not None: - pulumi.set(__self__, "internal_number", internal_number) + _setter("internal_number", internal_number) if job_title is not None: - pulumi.set(__self__, "job_title", job_title) + _setter("job_title", job_title) if last_name is not None: - pulumi.set(__self__, "last_name", last_name) + _setter("last_name", last_name) if line1 is not None: - pulumi.set(__self__, "line1", line1) + _setter("line1", line1) if line2 is not None: - pulumi.set(__self__, "line2", line2) + _setter("line2", line2) if line3 is not None: - pulumi.set(__self__, "line3", line3) + _setter("line3", line3) if line4 is not None: - pulumi.set(__self__, "line4", line4) + _setter("line4", line4) if middle_name is not None: - pulumi.set(__self__, "middle_name", middle_name) + _setter("middle_name", middle_name) if municipal_inscription is not None: - pulumi.set(__self__, "municipal_inscription", municipal_inscription) + _setter("municipal_inscription", municipal_inscription) if phone_country_code is not None: - pulumi.set(__self__, "phone_country_code", phone_country_code) + _setter("phone_country_code", phone_country_code) if phone_number is not None: - pulumi.set(__self__, "phone_number", phone_number) + _setter("phone_number", phone_number) if postal_code is not None: - pulumi.set(__self__, "postal_code", postal_code) + _setter("postal_code", postal_code) if province is not None: - pulumi.set(__self__, "province", province) + _setter("province", province) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if state_inscription is not None: - pulumi.set(__self__, "state_inscription", state_inscription) + _setter("state_inscription", state_inscription) if street_name is not None: - pulumi.set(__self__, "street_name", street_name) + _setter("street_name", street_name) if street_number is not None: - pulumi.set(__self__, "street_number", street_number) + _setter("street_number", street_number) @property @pulumi.getter(name="addressKey") @@ -888,8 +1006,17 @@ def __init__(__self__, *, """ :param pulumi.Input[Sequence[pulumi.Input['SubscriptionPaymentGatewayMerchantDefinedDataArgs']]] merchant_defined_datas: (Updatable) Merchant details. """ + SubscriptionPaymentGatewayArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + merchant_defined_datas=merchant_defined_datas, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + merchant_defined_datas: Optional[pulumi.Input[Sequence[pulumi.Input['SubscriptionPaymentGatewayMerchantDefinedDataArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if merchant_defined_datas is not None: - pulumi.set(__self__, "merchant_defined_datas", merchant_defined_datas) + _setter("merchant_defined_datas", merchant_defined_datas) @property @pulumi.getter(name="merchantDefinedDatas") @@ -913,10 +1040,21 @@ def __init__(__self__, *, :param pulumi.Input[str] cloud_account_name: (Updatable) Cloud account name. :param pulumi.Input[str] promo_type: (Updatable) Promotion type code. """ + SubscriptionPaymentGatewayMerchantDefinedDataArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + cloud_account_name=cloud_account_name, + promo_type=promo_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cloud_account_name: Optional[pulumi.Input[str]] = None, + promo_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if cloud_account_name is not None: - pulumi.set(__self__, "cloud_account_name", cloud_account_name) + _setter("cloud_account_name", cloud_account_name) if promo_type is not None: - pulumi.set(__self__, "promo_type", promo_type) + _setter("promo_type", promo_type) @property @pulumi.getter(name="cloudAccountName") @@ -970,28 +1108,57 @@ def __init__(__self__, *, :param pulumi.Input[str] wallet_instrument_id: (Updatable) Wallet instrument internal id. :param pulumi.Input[str] wallet_transaction_id: (Updatable) Wallet transaction id. """ + SubscriptionPaymentOptionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + credit_card_type=credit_card_type, + email_address=email_address, + ext_billing_agreement_id=ext_billing_agreement_id, + first_name=first_name, + last_digits=last_digits, + last_name=last_name, + name_on_card=name_on_card, + payment_method=payment_method, + time_expiration=time_expiration, + wallet_instrument_id=wallet_instrument_id, + wallet_transaction_id=wallet_transaction_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + credit_card_type: Optional[pulumi.Input[str]] = None, + email_address: Optional[pulumi.Input[str]] = None, + ext_billing_agreement_id: Optional[pulumi.Input[str]] = None, + first_name: Optional[pulumi.Input[str]] = None, + last_digits: Optional[pulumi.Input[str]] = None, + last_name: Optional[pulumi.Input[str]] = None, + name_on_card: Optional[pulumi.Input[str]] = None, + payment_method: Optional[pulumi.Input[str]] = None, + time_expiration: Optional[pulumi.Input[str]] = None, + wallet_instrument_id: Optional[pulumi.Input[str]] = None, + wallet_transaction_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if credit_card_type is not None: - pulumi.set(__self__, "credit_card_type", credit_card_type) + _setter("credit_card_type", credit_card_type) if email_address is not None: - pulumi.set(__self__, "email_address", email_address) + _setter("email_address", email_address) if ext_billing_agreement_id is not None: - pulumi.set(__self__, "ext_billing_agreement_id", ext_billing_agreement_id) + _setter("ext_billing_agreement_id", ext_billing_agreement_id) if first_name is not None: - pulumi.set(__self__, "first_name", first_name) + _setter("first_name", first_name) if last_digits is not None: - pulumi.set(__self__, "last_digits", last_digits) + _setter("last_digits", last_digits) if last_name is not None: - pulumi.set(__self__, "last_name", last_name) + _setter("last_name", last_name) if name_on_card is not None: - pulumi.set(__self__, "name_on_card", name_on_card) + _setter("name_on_card", name_on_card) if payment_method is not None: - pulumi.set(__self__, "payment_method", payment_method) + _setter("payment_method", payment_method) if time_expiration is not None: - pulumi.set(__self__, "time_expiration", time_expiration) + _setter("time_expiration", time_expiration) if wallet_instrument_id is not None: - pulumi.set(__self__, "wallet_instrument_id", wallet_instrument_id) + _setter("wallet_instrument_id", wallet_instrument_id) if wallet_transaction_id is not None: - pulumi.set(__self__, "wallet_transaction_id", wallet_transaction_id) + _setter("wallet_transaction_id", wallet_transaction_id) @property @pulumi.getter(name="creditCardType") @@ -1173,47 +1340,96 @@ def __init__(__self__, *, :param pulumi.Input[str] upgrade_state: (Updatable) Status of the upgrade. :param pulumi.Input[str] upgrade_state_details: (Updatable) This field is used to describe the Upgrade State in case of error (E.g. Upgrade failure caused by interfacing Tax details- TaxError) """ - pulumi.set(__self__, "subscription_plan_number", subscription_plan_number) + SubscriptionSubscriptionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + subscription_plan_number=subscription_plan_number, + account_type=account_type, + bill_to_cust_account_id=bill_to_cust_account_id, + billing_addresses=billing_addresses, + currency_code=currency_code, + gsi_org_code=gsi_org_code, + id=id, + is_intent_to_pay=is_intent_to_pay, + language_code=language_code, + organization_id=organization_id, + payment_gateway=payment_gateway, + payment_options=payment_options, + plan_type=plan_type, + ship_to_cust_acct_role_id=ship_to_cust_acct_role_id, + ship_to_cust_acct_site_id=ship_to_cust_acct_site_id, + tax_info=tax_info, + time_personal_to_corporate_conv=time_personal_to_corporate_conv, + time_plan_upgrade=time_plan_upgrade, + time_start=time_start, + upgrade_state=upgrade_state, + upgrade_state_details=upgrade_state_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + subscription_plan_number: pulumi.Input[str], + account_type: Optional[pulumi.Input[str]] = None, + bill_to_cust_account_id: Optional[pulumi.Input[str]] = None, + billing_addresses: Optional[pulumi.Input[Sequence[pulumi.Input['SubscriptionSubscriptionBillingAddressArgs']]]] = None, + currency_code: Optional[pulumi.Input[str]] = None, + gsi_org_code: Optional[pulumi.Input[str]] = None, + id: Optional[pulumi.Input[str]] = None, + is_intent_to_pay: Optional[pulumi.Input[bool]] = None, + language_code: Optional[pulumi.Input[str]] = None, + organization_id: Optional[pulumi.Input[str]] = None, + payment_gateway: Optional[pulumi.Input['SubscriptionSubscriptionPaymentGatewayArgs']] = None, + payment_options: Optional[pulumi.Input[Sequence[pulumi.Input['SubscriptionSubscriptionPaymentOptionArgs']]]] = None, + plan_type: Optional[pulumi.Input[str]] = None, + ship_to_cust_acct_role_id: Optional[pulumi.Input[str]] = None, + ship_to_cust_acct_site_id: Optional[pulumi.Input[str]] = None, + tax_info: Optional[pulumi.Input['SubscriptionSubscriptionTaxInfoArgs']] = None, + time_personal_to_corporate_conv: Optional[pulumi.Input[str]] = None, + time_plan_upgrade: Optional[pulumi.Input[str]] = None, + time_start: Optional[pulumi.Input[str]] = None, + upgrade_state: Optional[pulumi.Input[str]] = None, + upgrade_state_details: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("subscription_plan_number", subscription_plan_number) if account_type is not None: - pulumi.set(__self__, "account_type", account_type) + _setter("account_type", account_type) if bill_to_cust_account_id is not None: - pulumi.set(__self__, "bill_to_cust_account_id", bill_to_cust_account_id) + _setter("bill_to_cust_account_id", bill_to_cust_account_id) if billing_addresses is not None: - pulumi.set(__self__, "billing_addresses", billing_addresses) + _setter("billing_addresses", billing_addresses) if currency_code is not None: - pulumi.set(__self__, "currency_code", currency_code) + _setter("currency_code", currency_code) if gsi_org_code is not None: - pulumi.set(__self__, "gsi_org_code", gsi_org_code) + _setter("gsi_org_code", gsi_org_code) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if is_intent_to_pay is not None: - pulumi.set(__self__, "is_intent_to_pay", is_intent_to_pay) + _setter("is_intent_to_pay", is_intent_to_pay) if language_code is not None: - pulumi.set(__self__, "language_code", language_code) + _setter("language_code", language_code) if organization_id is not None: - pulumi.set(__self__, "organization_id", organization_id) + _setter("organization_id", organization_id) if payment_gateway is not None: - pulumi.set(__self__, "payment_gateway", payment_gateway) + _setter("payment_gateway", payment_gateway) if payment_options is not None: - pulumi.set(__self__, "payment_options", payment_options) + _setter("payment_options", payment_options) if plan_type is not None: - pulumi.set(__self__, "plan_type", plan_type) + _setter("plan_type", plan_type) if ship_to_cust_acct_role_id is not None: - pulumi.set(__self__, "ship_to_cust_acct_role_id", ship_to_cust_acct_role_id) + _setter("ship_to_cust_acct_role_id", ship_to_cust_acct_role_id) if ship_to_cust_acct_site_id is not None: - pulumi.set(__self__, "ship_to_cust_acct_site_id", ship_to_cust_acct_site_id) + _setter("ship_to_cust_acct_site_id", ship_to_cust_acct_site_id) if tax_info is not None: - pulumi.set(__self__, "tax_info", tax_info) + _setter("tax_info", tax_info) if time_personal_to_corporate_conv is not None: - pulumi.set(__self__, "time_personal_to_corporate_conv", time_personal_to_corporate_conv) + _setter("time_personal_to_corporate_conv", time_personal_to_corporate_conv) if time_plan_upgrade is not None: - pulumi.set(__self__, "time_plan_upgrade", time_plan_upgrade) + _setter("time_plan_upgrade", time_plan_upgrade) if time_start is not None: - pulumi.set(__self__, "time_start", time_start) + _setter("time_start", time_start) if upgrade_state is not None: - pulumi.set(__self__, "upgrade_state", upgrade_state) + _setter("upgrade_state", upgrade_state) if upgrade_state_details is not None: - pulumi.set(__self__, "upgrade_state_details", upgrade_state_details) + _setter("upgrade_state_details", upgrade_state_details) @property @pulumi.getter(name="subscriptionPlanNumber") @@ -1525,58 +1741,117 @@ def __init__(__self__, *, :param pulumi.Input[str] street_name: (Updatable) Street name of the address. :param pulumi.Input[str] street_number: (Updatable) Street number of the address. """ + SubscriptionSubscriptionBillingAddressArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + address_key=address_key, + city=city, + company_name=company_name, + contributor_class=contributor_class, + country=country, + county=county, + department_name=department_name, + email_address=email_address, + first_name=first_name, + internal_number=internal_number, + job_title=job_title, + last_name=last_name, + line1=line1, + line2=line2, + line3=line3, + line4=line4, + middle_name=middle_name, + municipal_inscription=municipal_inscription, + phone_country_code=phone_country_code, + phone_number=phone_number, + postal_code=postal_code, + province=province, + state=state, + state_inscription=state_inscription, + street_name=street_name, + street_number=street_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address_key: Optional[pulumi.Input[str]] = None, + city: Optional[pulumi.Input[str]] = None, + company_name: Optional[pulumi.Input[str]] = None, + contributor_class: Optional[pulumi.Input[str]] = None, + country: Optional[pulumi.Input[str]] = None, + county: Optional[pulumi.Input[str]] = None, + department_name: Optional[pulumi.Input[str]] = None, + email_address: Optional[pulumi.Input[str]] = None, + first_name: Optional[pulumi.Input[str]] = None, + internal_number: Optional[pulumi.Input[str]] = None, + job_title: Optional[pulumi.Input[str]] = None, + last_name: Optional[pulumi.Input[str]] = None, + line1: Optional[pulumi.Input[str]] = None, + line2: Optional[pulumi.Input[str]] = None, + line3: Optional[pulumi.Input[str]] = None, + line4: Optional[pulumi.Input[str]] = None, + middle_name: Optional[pulumi.Input[str]] = None, + municipal_inscription: Optional[pulumi.Input[str]] = None, + phone_country_code: Optional[pulumi.Input[str]] = None, + phone_number: Optional[pulumi.Input[str]] = None, + postal_code: Optional[pulumi.Input[str]] = None, + province: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + state_inscription: Optional[pulumi.Input[str]] = None, + street_name: Optional[pulumi.Input[str]] = None, + street_number: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if address_key is not None: - pulumi.set(__self__, "address_key", address_key) + _setter("address_key", address_key) if city is not None: - pulumi.set(__self__, "city", city) + _setter("city", city) if company_name is not None: - pulumi.set(__self__, "company_name", company_name) + _setter("company_name", company_name) if contributor_class is not None: - pulumi.set(__self__, "contributor_class", contributor_class) + _setter("contributor_class", contributor_class) if country is not None: - pulumi.set(__self__, "country", country) + _setter("country", country) if county is not None: - pulumi.set(__self__, "county", county) + _setter("county", county) if department_name is not None: - pulumi.set(__self__, "department_name", department_name) + _setter("department_name", department_name) if email_address is not None: - pulumi.set(__self__, "email_address", email_address) + _setter("email_address", email_address) if first_name is not None: - pulumi.set(__self__, "first_name", first_name) + _setter("first_name", first_name) if internal_number is not None: - pulumi.set(__self__, "internal_number", internal_number) + _setter("internal_number", internal_number) if job_title is not None: - pulumi.set(__self__, "job_title", job_title) + _setter("job_title", job_title) if last_name is not None: - pulumi.set(__self__, "last_name", last_name) + _setter("last_name", last_name) if line1 is not None: - pulumi.set(__self__, "line1", line1) + _setter("line1", line1) if line2 is not None: - pulumi.set(__self__, "line2", line2) + _setter("line2", line2) if line3 is not None: - pulumi.set(__self__, "line3", line3) + _setter("line3", line3) if line4 is not None: - pulumi.set(__self__, "line4", line4) + _setter("line4", line4) if middle_name is not None: - pulumi.set(__self__, "middle_name", middle_name) + _setter("middle_name", middle_name) if municipal_inscription is not None: - pulumi.set(__self__, "municipal_inscription", municipal_inscription) + _setter("municipal_inscription", municipal_inscription) if phone_country_code is not None: - pulumi.set(__self__, "phone_country_code", phone_country_code) + _setter("phone_country_code", phone_country_code) if phone_number is not None: - pulumi.set(__self__, "phone_number", phone_number) + _setter("phone_number", phone_number) if postal_code is not None: - pulumi.set(__self__, "postal_code", postal_code) + _setter("postal_code", postal_code) if province is not None: - pulumi.set(__self__, "province", province) + _setter("province", province) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if state_inscription is not None: - pulumi.set(__self__, "state_inscription", state_inscription) + _setter("state_inscription", state_inscription) if street_name is not None: - pulumi.set(__self__, "street_name", street_name) + _setter("street_name", street_name) if street_number is not None: - pulumi.set(__self__, "street_number", street_number) + _setter("street_number", street_number) @property @pulumi.getter(name="addressKey") @@ -1898,8 +2173,17 @@ def __init__(__self__, *, """ :param pulumi.Input['SubscriptionSubscriptionPaymentGatewayMerchantDefinedDataArgs'] merchant_defined_data: (Updatable) Merchant details. """ + SubscriptionSubscriptionPaymentGatewayArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + merchant_defined_data=merchant_defined_data, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + merchant_defined_data: Optional[pulumi.Input['SubscriptionSubscriptionPaymentGatewayMerchantDefinedDataArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if merchant_defined_data is not None: - pulumi.set(__self__, "merchant_defined_data", merchant_defined_data) + _setter("merchant_defined_data", merchant_defined_data) @property @pulumi.getter(name="merchantDefinedData") @@ -1923,10 +2207,21 @@ def __init__(__self__, *, :param pulumi.Input[str] cloud_account_name: (Updatable) Cloud account name. :param pulumi.Input[str] promo_type: (Updatable) Promotion type code. """ + SubscriptionSubscriptionPaymentGatewayMerchantDefinedDataArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + cloud_account_name=cloud_account_name, + promo_type=promo_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cloud_account_name: Optional[pulumi.Input[str]] = None, + promo_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if cloud_account_name is not None: - pulumi.set(__self__, "cloud_account_name", cloud_account_name) + _setter("cloud_account_name", cloud_account_name) if promo_type is not None: - pulumi.set(__self__, "promo_type", promo_type) + _setter("promo_type", promo_type) @property @pulumi.getter(name="cloudAccountName") @@ -1980,27 +2275,56 @@ def __init__(__self__, *, :param pulumi.Input[str] wallet_instrument_id: (Updatable) Wallet instrument internal id. :param pulumi.Input[str] wallet_transaction_id: (Updatable) Wallet transaction id. """ - pulumi.set(__self__, "payment_method", payment_method) + SubscriptionSubscriptionPaymentOptionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + payment_method=payment_method, + credit_card_type=credit_card_type, + email_address=email_address, + ext_billing_agreement_id=ext_billing_agreement_id, + first_name=first_name, + last_digits=last_digits, + last_name=last_name, + name_on_card=name_on_card, + time_expiration=time_expiration, + wallet_instrument_id=wallet_instrument_id, + wallet_transaction_id=wallet_transaction_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + payment_method: pulumi.Input[str], + credit_card_type: Optional[pulumi.Input[str]] = None, + email_address: Optional[pulumi.Input[str]] = None, + ext_billing_agreement_id: Optional[pulumi.Input[str]] = None, + first_name: Optional[pulumi.Input[str]] = None, + last_digits: Optional[pulumi.Input[str]] = None, + last_name: Optional[pulumi.Input[str]] = None, + name_on_card: Optional[pulumi.Input[str]] = None, + time_expiration: Optional[pulumi.Input[str]] = None, + wallet_instrument_id: Optional[pulumi.Input[str]] = None, + wallet_transaction_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("payment_method", payment_method) if credit_card_type is not None: - pulumi.set(__self__, "credit_card_type", credit_card_type) + _setter("credit_card_type", credit_card_type) if email_address is not None: - pulumi.set(__self__, "email_address", email_address) + _setter("email_address", email_address) if ext_billing_agreement_id is not None: - pulumi.set(__self__, "ext_billing_agreement_id", ext_billing_agreement_id) + _setter("ext_billing_agreement_id", ext_billing_agreement_id) if first_name is not None: - pulumi.set(__self__, "first_name", first_name) + _setter("first_name", first_name) if last_digits is not None: - pulumi.set(__self__, "last_digits", last_digits) + _setter("last_digits", last_digits) if last_name is not None: - pulumi.set(__self__, "last_name", last_name) + _setter("last_name", last_name) if name_on_card is not None: - pulumi.set(__self__, "name_on_card", name_on_card) + _setter("name_on_card", name_on_card) if time_expiration is not None: - pulumi.set(__self__, "time_expiration", time_expiration) + _setter("time_expiration", time_expiration) if wallet_instrument_id is not None: - pulumi.set(__self__, "wallet_instrument_id", wallet_instrument_id) + _setter("wallet_instrument_id", wallet_instrument_id) if wallet_transaction_id is not None: - pulumi.set(__self__, "wallet_transaction_id", wallet_transaction_id) + _setter("wallet_transaction_id", wallet_transaction_id) @property @pulumi.getter(name="paymentMethod") @@ -2150,16 +2474,33 @@ def __init__(__self__, *, :param pulumi.Input[str] tax_payer_id: (Updatable) Tay payer identifier. :param pulumi.Input[str] tax_reg_number: (Updatable) Tax registration number. """ + SubscriptionSubscriptionTaxInfoArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + no_tax_reason_code=no_tax_reason_code, + no_tax_reason_code_details=no_tax_reason_code_details, + tax_cnpj=tax_cnpj, + tax_payer_id=tax_payer_id, + tax_reg_number=tax_reg_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + no_tax_reason_code: Optional[pulumi.Input[str]] = None, + no_tax_reason_code_details: Optional[pulumi.Input[str]] = None, + tax_cnpj: Optional[pulumi.Input[str]] = None, + tax_payer_id: Optional[pulumi.Input[str]] = None, + tax_reg_number: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if no_tax_reason_code is not None: - pulumi.set(__self__, "no_tax_reason_code", no_tax_reason_code) + _setter("no_tax_reason_code", no_tax_reason_code) if no_tax_reason_code_details is not None: - pulumi.set(__self__, "no_tax_reason_code_details", no_tax_reason_code_details) + _setter("no_tax_reason_code_details", no_tax_reason_code_details) if tax_cnpj is not None: - pulumi.set(__self__, "tax_cnpj", tax_cnpj) + _setter("tax_cnpj", tax_cnpj) if tax_payer_id is not None: - pulumi.set(__self__, "tax_payer_id", tax_payer_id) + _setter("tax_payer_id", tax_payer_id) if tax_reg_number is not None: - pulumi.set(__self__, "tax_reg_number", tax_reg_number) + _setter("tax_reg_number", tax_reg_number) @property @pulumi.getter(name="noTaxReasonCode") @@ -2237,16 +2578,33 @@ def __init__(__self__, *, :param pulumi.Input[str] tax_payer_id: (Updatable) Tay payer identifier. :param pulumi.Input[str] tax_reg_number: (Updatable) Tax registration number. """ + SubscriptionTaxInfoArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + no_tax_reason_code=no_tax_reason_code, + no_tax_reason_code_details=no_tax_reason_code_details, + tax_cnpj=tax_cnpj, + tax_payer_id=tax_payer_id, + tax_reg_number=tax_reg_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + no_tax_reason_code: Optional[pulumi.Input[str]] = None, + no_tax_reason_code_details: Optional[pulumi.Input[str]] = None, + tax_cnpj: Optional[pulumi.Input[str]] = None, + tax_payer_id: Optional[pulumi.Input[str]] = None, + tax_reg_number: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if no_tax_reason_code is not None: - pulumi.set(__self__, "no_tax_reason_code", no_tax_reason_code) + _setter("no_tax_reason_code", no_tax_reason_code) if no_tax_reason_code_details is not None: - pulumi.set(__self__, "no_tax_reason_code_details", no_tax_reason_code_details) + _setter("no_tax_reason_code_details", no_tax_reason_code_details) if tax_cnpj is not None: - pulumi.set(__self__, "tax_cnpj", tax_cnpj) + _setter("tax_cnpj", tax_cnpj) if tax_payer_id is not None: - pulumi.set(__self__, "tax_payer_id", tax_payer_id) + _setter("tax_payer_id", tax_payer_id) if tax_reg_number is not None: - pulumi.set(__self__, "tax_reg_number", tax_reg_number) + _setter("tax_reg_number", tax_reg_number) @property @pulumi.getter(name="noTaxReasonCode") @@ -2318,10 +2676,23 @@ def __init__(__self__, *, """ :param str name: Name of the currency """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetInvoicesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2363,10 +2734,23 @@ def __init__(__self__, *, """ :param str name: Name of the currency """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetInvoicesInvoiceLinesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2405,10 +2789,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSubscriptionsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/ospgateway/address_action_verification.py b/sdk/python/pulumi_oci/ospgateway/address_action_verification.py index f4dc642717..7db7d3641a 100644 --- a/sdk/python/pulumi_oci/ospgateway/address_action_verification.py +++ b/sdk/python/pulumi_oci/ospgateway/address_action_verification.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -79,60 +79,123 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "osp_home_region", osp_home_region) + AddressActionVerificationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + osp_home_region=osp_home_region, + address_key=address_key, + city=city, + company_name=company_name, + contributor_class=contributor_class, + country=country, + county=county, + department_name=department_name, + email_address=email_address, + first_name=first_name, + internal_number=internal_number, + job_title=job_title, + last_name=last_name, + line1=line1, + line2=line2, + line3=line3, + line4=line4, + middle_name=middle_name, + municipal_inscription=municipal_inscription, + phone_country_code=phone_country_code, + phone_number=phone_number, + postal_code=postal_code, + province=province, + state=state, + state_inscription=state_inscription, + street_name=street_name, + street_number=street_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + osp_home_region: pulumi.Input[str], + address_key: Optional[pulumi.Input[str]] = None, + city: Optional[pulumi.Input[str]] = None, + company_name: Optional[pulumi.Input[str]] = None, + contributor_class: Optional[pulumi.Input[str]] = None, + country: Optional[pulumi.Input[str]] = None, + county: Optional[pulumi.Input[str]] = None, + department_name: Optional[pulumi.Input[str]] = None, + email_address: Optional[pulumi.Input[str]] = None, + first_name: Optional[pulumi.Input[str]] = None, + internal_number: Optional[pulumi.Input[str]] = None, + job_title: Optional[pulumi.Input[str]] = None, + last_name: Optional[pulumi.Input[str]] = None, + line1: Optional[pulumi.Input[str]] = None, + line2: Optional[pulumi.Input[str]] = None, + line3: Optional[pulumi.Input[str]] = None, + line4: Optional[pulumi.Input[str]] = None, + middle_name: Optional[pulumi.Input[str]] = None, + municipal_inscription: Optional[pulumi.Input[str]] = None, + phone_country_code: Optional[pulumi.Input[str]] = None, + phone_number: Optional[pulumi.Input[str]] = None, + postal_code: Optional[pulumi.Input[str]] = None, + province: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + state_inscription: Optional[pulumi.Input[str]] = None, + street_name: Optional[pulumi.Input[str]] = None, + street_number: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("osp_home_region", osp_home_region) if address_key is not None: - pulumi.set(__self__, "address_key", address_key) + _setter("address_key", address_key) if city is not None: - pulumi.set(__self__, "city", city) + _setter("city", city) if company_name is not None: - pulumi.set(__self__, "company_name", company_name) + _setter("company_name", company_name) if contributor_class is not None: - pulumi.set(__self__, "contributor_class", contributor_class) + _setter("contributor_class", contributor_class) if country is not None: - pulumi.set(__self__, "country", country) + _setter("country", country) if county is not None: - pulumi.set(__self__, "county", county) + _setter("county", county) if department_name is not None: - pulumi.set(__self__, "department_name", department_name) + _setter("department_name", department_name) if email_address is not None: - pulumi.set(__self__, "email_address", email_address) + _setter("email_address", email_address) if first_name is not None: - pulumi.set(__self__, "first_name", first_name) + _setter("first_name", first_name) if internal_number is not None: - pulumi.set(__self__, "internal_number", internal_number) + _setter("internal_number", internal_number) if job_title is not None: - pulumi.set(__self__, "job_title", job_title) + _setter("job_title", job_title) if last_name is not None: - pulumi.set(__self__, "last_name", last_name) + _setter("last_name", last_name) if line1 is not None: - pulumi.set(__self__, "line1", line1) + _setter("line1", line1) if line2 is not None: - pulumi.set(__self__, "line2", line2) + _setter("line2", line2) if line3 is not None: - pulumi.set(__self__, "line3", line3) + _setter("line3", line3) if line4 is not None: - pulumi.set(__self__, "line4", line4) + _setter("line4", line4) if middle_name is not None: - pulumi.set(__self__, "middle_name", middle_name) + _setter("middle_name", middle_name) if municipal_inscription is not None: - pulumi.set(__self__, "municipal_inscription", municipal_inscription) + _setter("municipal_inscription", municipal_inscription) if phone_country_code is not None: - pulumi.set(__self__, "phone_country_code", phone_country_code) + _setter("phone_country_code", phone_country_code) if phone_number is not None: - pulumi.set(__self__, "phone_number", phone_number) + _setter("phone_number", phone_number) if postal_code is not None: - pulumi.set(__self__, "postal_code", postal_code) + _setter("postal_code", postal_code) if province is not None: - pulumi.set(__self__, "province", province) + _setter("province", province) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if state_inscription is not None: - pulumi.set(__self__, "state_inscription", state_inscription) + _setter("state_inscription", state_inscription) if street_name is not None: - pulumi.set(__self__, "street_name", street_name) + _setter("street_name", street_name) if street_number is not None: - pulumi.set(__self__, "street_number", street_number) + _setter("street_number", street_number) @property @pulumi.getter(name="compartmentId") @@ -547,68 +610,137 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] verification_code: Address verification code. """ + _AddressActionVerificationState._configure( + lambda key, value: pulumi.set(__self__, key, value), + address_key=address_key, + addresses=addresses, + city=city, + company_name=company_name, + compartment_id=compartment_id, + contributor_class=contributor_class, + country=country, + county=county, + department_name=department_name, + email_address=email_address, + first_name=first_name, + internal_number=internal_number, + job_title=job_title, + last_name=last_name, + line1=line1, + line2=line2, + line3=line3, + line4=line4, + middle_name=middle_name, + municipal_inscription=municipal_inscription, + osp_home_region=osp_home_region, + phone_country_code=phone_country_code, + phone_number=phone_number, + postal_code=postal_code, + province=province, + quality=quality, + state=state, + state_inscription=state_inscription, + street_name=street_name, + street_number=street_number, + verification_code=verification_code, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address_key: Optional[pulumi.Input[str]] = None, + addresses: Optional[pulumi.Input[Sequence[pulumi.Input['AddressActionVerificationAddressArgs']]]] = None, + city: Optional[pulumi.Input[str]] = None, + company_name: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + contributor_class: Optional[pulumi.Input[str]] = None, + country: Optional[pulumi.Input[str]] = None, + county: Optional[pulumi.Input[str]] = None, + department_name: Optional[pulumi.Input[str]] = None, + email_address: Optional[pulumi.Input[str]] = None, + first_name: Optional[pulumi.Input[str]] = None, + internal_number: Optional[pulumi.Input[str]] = None, + job_title: Optional[pulumi.Input[str]] = None, + last_name: Optional[pulumi.Input[str]] = None, + line1: Optional[pulumi.Input[str]] = None, + line2: Optional[pulumi.Input[str]] = None, + line3: Optional[pulumi.Input[str]] = None, + line4: Optional[pulumi.Input[str]] = None, + middle_name: Optional[pulumi.Input[str]] = None, + municipal_inscription: Optional[pulumi.Input[str]] = None, + osp_home_region: Optional[pulumi.Input[str]] = None, + phone_country_code: Optional[pulumi.Input[str]] = None, + phone_number: Optional[pulumi.Input[str]] = None, + postal_code: Optional[pulumi.Input[str]] = None, + province: Optional[pulumi.Input[str]] = None, + quality: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + state_inscription: Optional[pulumi.Input[str]] = None, + street_name: Optional[pulumi.Input[str]] = None, + street_number: Optional[pulumi.Input[str]] = None, + verification_code: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if address_key is not None: - pulumi.set(__self__, "address_key", address_key) + _setter("address_key", address_key) if addresses is not None: - pulumi.set(__self__, "addresses", addresses) + _setter("addresses", addresses) if city is not None: - pulumi.set(__self__, "city", city) + _setter("city", city) if company_name is not None: - pulumi.set(__self__, "company_name", company_name) + _setter("company_name", company_name) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if contributor_class is not None: - pulumi.set(__self__, "contributor_class", contributor_class) + _setter("contributor_class", contributor_class) if country is not None: - pulumi.set(__self__, "country", country) + _setter("country", country) if county is not None: - pulumi.set(__self__, "county", county) + _setter("county", county) if department_name is not None: - pulumi.set(__self__, "department_name", department_name) + _setter("department_name", department_name) if email_address is not None: - pulumi.set(__self__, "email_address", email_address) + _setter("email_address", email_address) if first_name is not None: - pulumi.set(__self__, "first_name", first_name) + _setter("first_name", first_name) if internal_number is not None: - pulumi.set(__self__, "internal_number", internal_number) + _setter("internal_number", internal_number) if job_title is not None: - pulumi.set(__self__, "job_title", job_title) + _setter("job_title", job_title) if last_name is not None: - pulumi.set(__self__, "last_name", last_name) + _setter("last_name", last_name) if line1 is not None: - pulumi.set(__self__, "line1", line1) + _setter("line1", line1) if line2 is not None: - pulumi.set(__self__, "line2", line2) + _setter("line2", line2) if line3 is not None: - pulumi.set(__self__, "line3", line3) + _setter("line3", line3) if line4 is not None: - pulumi.set(__self__, "line4", line4) + _setter("line4", line4) if middle_name is not None: - pulumi.set(__self__, "middle_name", middle_name) + _setter("middle_name", middle_name) if municipal_inscription is not None: - pulumi.set(__self__, "municipal_inscription", municipal_inscription) + _setter("municipal_inscription", municipal_inscription) if osp_home_region is not None: - pulumi.set(__self__, "osp_home_region", osp_home_region) + _setter("osp_home_region", osp_home_region) if phone_country_code is not None: - pulumi.set(__self__, "phone_country_code", phone_country_code) + _setter("phone_country_code", phone_country_code) if phone_number is not None: - pulumi.set(__self__, "phone_number", phone_number) + _setter("phone_number", phone_number) if postal_code is not None: - pulumi.set(__self__, "postal_code", postal_code) + _setter("postal_code", postal_code) if province is not None: - pulumi.set(__self__, "province", province) + _setter("province", province) if quality is not None: - pulumi.set(__self__, "quality", quality) + _setter("quality", quality) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if state_inscription is not None: - pulumi.set(__self__, "state_inscription", state_inscription) + _setter("state_inscription", state_inscription) if street_name is not None: - pulumi.set(__self__, "street_name", street_name) + _setter("street_name", street_name) if street_number is not None: - pulumi.set(__self__, "street_number", street_number) + _setter("street_number", street_number) if verification_code is not None: - pulumi.set(__self__, "verification_code", verification_code) + _setter("verification_code", verification_code) @property @pulumi.getter(name="addressKey") @@ -1172,6 +1304,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + AddressActionVerificationArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/ospgateway/get_address.py b/sdk/python/pulumi_oci/ospgateway/get_address.py index b9726da5b8..50a44e6668 100644 --- a/sdk/python/pulumi_oci/ospgateway/get_address.py +++ b/sdk/python/pulumi_oci/ospgateway/get_address.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/ospgateway/get_address_rule.py b/sdk/python/pulumi_oci/ospgateway/get_address_rule.py index 637046c723..b4aa4617c9 100644 --- a/sdk/python/pulumi_oci/ospgateway/get_address_rule.py +++ b/sdk/python/pulumi_oci/ospgateway/get_address_rule.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/ospgateway/get_invoice.py b/sdk/python/pulumi_oci/ospgateway/get_invoice.py index 41aa942049..741d28057a 100644 --- a/sdk/python/pulumi_oci/ospgateway/get_invoice.py +++ b/sdk/python/pulumi_oci/ospgateway/get_invoice.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/ospgateway/get_invoices.py b/sdk/python/pulumi_oci/ospgateway/get_invoices.py index fedf8f89c0..dc0d3a4ce5 100644 --- a/sdk/python/pulumi_oci/ospgateway/get_invoices.py +++ b/sdk/python/pulumi_oci/ospgateway/get_invoices.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/ospgateway/get_invoices_invoice_line.py b/sdk/python/pulumi_oci/ospgateway/get_invoices_invoice_line.py index 31a2e78eae..aea37779c1 100644 --- a/sdk/python/pulumi_oci/ospgateway/get_invoices_invoice_line.py +++ b/sdk/python/pulumi_oci/ospgateway/get_invoices_invoice_line.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/ospgateway/get_invoices_invoice_lines.py b/sdk/python/pulumi_oci/ospgateway/get_invoices_invoice_lines.py index 68e7303188..ab791babd4 100644 --- a/sdk/python/pulumi_oci/ospgateway/get_invoices_invoice_lines.py +++ b/sdk/python/pulumi_oci/ospgateway/get_invoices_invoice_lines.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/ospgateway/get_subscription.py b/sdk/python/pulumi_oci/ospgateway/get_subscription.py index 6679076b81..cfc0669ee9 100644 --- a/sdk/python/pulumi_oci/ospgateway/get_subscription.py +++ b/sdk/python/pulumi_oci/ospgateway/get_subscription.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/ospgateway/get_subscriptions.py b/sdk/python/pulumi_oci/ospgateway/get_subscriptions.py index d9a4a399a8..cf4f326ef8 100644 --- a/sdk/python/pulumi_oci/ospgateway/get_subscriptions.py +++ b/sdk/python/pulumi_oci/ospgateway/get_subscriptions.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/ospgateway/outputs.py b/sdk/python/pulumi_oci/ospgateway/outputs.py index fe5645967f..7f6a25792f 100644 --- a/sdk/python/pulumi_oci/ospgateway/outputs.py +++ b/sdk/python/pulumi_oci/ospgateway/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -189,58 +189,117 @@ def __init__(__self__, *, ** 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 """ + AddressActionVerificationAddress._configure( + lambda key, value: pulumi.set(__self__, key, value), + address_key=address_key, + city=city, + company_name=company_name, + contributor_class=contributor_class, + country=country, + county=county, + department_name=department_name, + email_address=email_address, + first_name=first_name, + internal_number=internal_number, + job_title=job_title, + last_name=last_name, + line1=line1, + line2=line2, + line3=line3, + line4=line4, + middle_name=middle_name, + municipal_inscription=municipal_inscription, + phone_country_code=phone_country_code, + phone_number=phone_number, + postal_code=postal_code, + province=province, + state=state, + state_inscription=state_inscription, + street_name=street_name, + street_number=street_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address_key: Optional[str] = None, + city: Optional[str] = None, + company_name: Optional[str] = None, + contributor_class: Optional[str] = None, + country: Optional[str] = None, + county: Optional[str] = None, + department_name: Optional[str] = None, + email_address: Optional[str] = None, + first_name: Optional[str] = None, + internal_number: Optional[str] = None, + job_title: Optional[str] = None, + last_name: Optional[str] = None, + line1: Optional[str] = None, + line2: Optional[str] = None, + line3: Optional[str] = None, + line4: Optional[str] = None, + middle_name: Optional[str] = None, + municipal_inscription: Optional[str] = None, + phone_country_code: Optional[str] = None, + phone_number: Optional[str] = None, + postal_code: Optional[str] = None, + province: Optional[str] = None, + state: Optional[str] = None, + state_inscription: Optional[str] = None, + street_name: Optional[str] = None, + street_number: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if address_key is not None: - pulumi.set(__self__, "address_key", address_key) + _setter("address_key", address_key) if city is not None: - pulumi.set(__self__, "city", city) + _setter("city", city) if company_name is not None: - pulumi.set(__self__, "company_name", company_name) + _setter("company_name", company_name) if contributor_class is not None: - pulumi.set(__self__, "contributor_class", contributor_class) + _setter("contributor_class", contributor_class) if country is not None: - pulumi.set(__self__, "country", country) + _setter("country", country) if county is not None: - pulumi.set(__self__, "county", county) + _setter("county", county) if department_name is not None: - pulumi.set(__self__, "department_name", department_name) + _setter("department_name", department_name) if email_address is not None: - pulumi.set(__self__, "email_address", email_address) + _setter("email_address", email_address) if first_name is not None: - pulumi.set(__self__, "first_name", first_name) + _setter("first_name", first_name) if internal_number is not None: - pulumi.set(__self__, "internal_number", internal_number) + _setter("internal_number", internal_number) if job_title is not None: - pulumi.set(__self__, "job_title", job_title) + _setter("job_title", job_title) if last_name is not None: - pulumi.set(__self__, "last_name", last_name) + _setter("last_name", last_name) if line1 is not None: - pulumi.set(__self__, "line1", line1) + _setter("line1", line1) if line2 is not None: - pulumi.set(__self__, "line2", line2) + _setter("line2", line2) if line3 is not None: - pulumi.set(__self__, "line3", line3) + _setter("line3", line3) if line4 is not None: - pulumi.set(__self__, "line4", line4) + _setter("line4", line4) if middle_name is not None: - pulumi.set(__self__, "middle_name", middle_name) + _setter("middle_name", middle_name) if municipal_inscription is not None: - pulumi.set(__self__, "municipal_inscription", municipal_inscription) + _setter("municipal_inscription", municipal_inscription) if phone_country_code is not None: - pulumi.set(__self__, "phone_country_code", phone_country_code) + _setter("phone_country_code", phone_country_code) if phone_number is not None: - pulumi.set(__self__, "phone_number", phone_number) + _setter("phone_number", phone_number) if postal_code is not None: - pulumi.set(__self__, "postal_code", postal_code) + _setter("postal_code", postal_code) if province is not None: - pulumi.set(__self__, "province", province) + _setter("province", province) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if state_inscription is not None: - pulumi.set(__self__, "state_inscription", state_inscription) + _setter("state_inscription", state_inscription) if street_name is not None: - pulumi.set(__self__, "street_name", street_name) + _setter("street_name", street_name) if street_number is not None: - pulumi.set(__self__, "street_number", street_number) + _setter("street_number", street_number) @property @pulumi.getter(name="addressKey") @@ -561,58 +620,117 @@ def __init__(__self__, *, :param str street_name: (Updatable) Street name of the address. :param str street_number: (Updatable) Street number of the address. """ + SubscriptionBillingAddress._configure( + lambda key, value: pulumi.set(__self__, key, value), + address_key=address_key, + city=city, + company_name=company_name, + contributor_class=contributor_class, + country=country, + county=county, + department_name=department_name, + email_address=email_address, + first_name=first_name, + internal_number=internal_number, + job_title=job_title, + last_name=last_name, + line1=line1, + line2=line2, + line3=line3, + line4=line4, + middle_name=middle_name, + municipal_inscription=municipal_inscription, + phone_country_code=phone_country_code, + phone_number=phone_number, + postal_code=postal_code, + province=province, + state=state, + state_inscription=state_inscription, + street_name=street_name, + street_number=street_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address_key: Optional[str] = None, + city: Optional[str] = None, + company_name: Optional[str] = None, + contributor_class: Optional[str] = None, + country: Optional[str] = None, + county: Optional[str] = None, + department_name: Optional[str] = None, + email_address: Optional[str] = None, + first_name: Optional[str] = None, + internal_number: Optional[str] = None, + job_title: Optional[str] = None, + last_name: Optional[str] = None, + line1: Optional[str] = None, + line2: Optional[str] = None, + line3: Optional[str] = None, + line4: Optional[str] = None, + middle_name: Optional[str] = None, + municipal_inscription: Optional[str] = None, + phone_country_code: Optional[str] = None, + phone_number: Optional[str] = None, + postal_code: Optional[str] = None, + province: Optional[str] = None, + state: Optional[str] = None, + state_inscription: Optional[str] = None, + street_name: Optional[str] = None, + street_number: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if address_key is not None: - pulumi.set(__self__, "address_key", address_key) + _setter("address_key", address_key) if city is not None: - pulumi.set(__self__, "city", city) + _setter("city", city) if company_name is not None: - pulumi.set(__self__, "company_name", company_name) + _setter("company_name", company_name) if contributor_class is not None: - pulumi.set(__self__, "contributor_class", contributor_class) + _setter("contributor_class", contributor_class) if country is not None: - pulumi.set(__self__, "country", country) + _setter("country", country) if county is not None: - pulumi.set(__self__, "county", county) + _setter("county", county) if department_name is not None: - pulumi.set(__self__, "department_name", department_name) + _setter("department_name", department_name) if email_address is not None: - pulumi.set(__self__, "email_address", email_address) + _setter("email_address", email_address) if first_name is not None: - pulumi.set(__self__, "first_name", first_name) + _setter("first_name", first_name) if internal_number is not None: - pulumi.set(__self__, "internal_number", internal_number) + _setter("internal_number", internal_number) if job_title is not None: - pulumi.set(__self__, "job_title", job_title) + _setter("job_title", job_title) if last_name is not None: - pulumi.set(__self__, "last_name", last_name) + _setter("last_name", last_name) if line1 is not None: - pulumi.set(__self__, "line1", line1) + _setter("line1", line1) if line2 is not None: - pulumi.set(__self__, "line2", line2) + _setter("line2", line2) if line3 is not None: - pulumi.set(__self__, "line3", line3) + _setter("line3", line3) if line4 is not None: - pulumi.set(__self__, "line4", line4) + _setter("line4", line4) if middle_name is not None: - pulumi.set(__self__, "middle_name", middle_name) + _setter("middle_name", middle_name) if municipal_inscription is not None: - pulumi.set(__self__, "municipal_inscription", municipal_inscription) + _setter("municipal_inscription", municipal_inscription) if phone_country_code is not None: - pulumi.set(__self__, "phone_country_code", phone_country_code) + _setter("phone_country_code", phone_country_code) if phone_number is not None: - pulumi.set(__self__, "phone_number", phone_number) + _setter("phone_number", phone_number) if postal_code is not None: - pulumi.set(__self__, "postal_code", postal_code) + _setter("postal_code", postal_code) if province is not None: - pulumi.set(__self__, "province", province) + _setter("province", province) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if state_inscription is not None: - pulumi.set(__self__, "state_inscription", state_inscription) + _setter("state_inscription", state_inscription) if street_name is not None: - pulumi.set(__self__, "street_name", street_name) + _setter("street_name", street_name) if street_number is not None: - pulumi.set(__self__, "street_number", street_number) + _setter("street_number", street_number) @property @pulumi.getter(name="addressKey") @@ -847,8 +965,17 @@ def __init__(__self__, *, """ :param Sequence['SubscriptionPaymentGatewayMerchantDefinedDataArgs'] merchant_defined_datas: (Updatable) Merchant details. """ + SubscriptionPaymentGateway._configure( + lambda key, value: pulumi.set(__self__, key, value), + merchant_defined_datas=merchant_defined_datas, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + merchant_defined_datas: Optional[Sequence['outputs.SubscriptionPaymentGatewayMerchantDefinedData']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if merchant_defined_datas is not None: - pulumi.set(__self__, "merchant_defined_datas", merchant_defined_datas) + _setter("merchant_defined_datas", merchant_defined_datas) @property @pulumi.getter(name="merchantDefinedDatas") @@ -887,10 +1014,21 @@ def __init__(__self__, *, :param str cloud_account_name: (Updatable) Cloud account name. :param str promo_type: (Updatable) Promotion type code. """ + SubscriptionPaymentGatewayMerchantDefinedData._configure( + lambda key, value: pulumi.set(__self__, key, value), + cloud_account_name=cloud_account_name, + promo_type=promo_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cloud_account_name: Optional[str] = None, + promo_type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if cloud_account_name is not None: - pulumi.set(__self__, "cloud_account_name", cloud_account_name) + _setter("cloud_account_name", cloud_account_name) if promo_type is not None: - pulumi.set(__self__, "promo_type", promo_type) + _setter("promo_type", promo_type) @property @pulumi.getter(name="cloudAccountName") @@ -973,28 +1111,57 @@ def __init__(__self__, *, :param str wallet_instrument_id: (Updatable) Wallet instrument internal id. :param str wallet_transaction_id: (Updatable) Wallet transaction id. """ + SubscriptionPaymentOption._configure( + lambda key, value: pulumi.set(__self__, key, value), + credit_card_type=credit_card_type, + email_address=email_address, + ext_billing_agreement_id=ext_billing_agreement_id, + first_name=first_name, + last_digits=last_digits, + last_name=last_name, + name_on_card=name_on_card, + payment_method=payment_method, + time_expiration=time_expiration, + wallet_instrument_id=wallet_instrument_id, + wallet_transaction_id=wallet_transaction_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + credit_card_type: Optional[str] = None, + email_address: Optional[str] = None, + ext_billing_agreement_id: Optional[str] = None, + first_name: Optional[str] = None, + last_digits: Optional[str] = None, + last_name: Optional[str] = None, + name_on_card: Optional[str] = None, + payment_method: Optional[str] = None, + time_expiration: Optional[str] = None, + wallet_instrument_id: Optional[str] = None, + wallet_transaction_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if credit_card_type is not None: - pulumi.set(__self__, "credit_card_type", credit_card_type) + _setter("credit_card_type", credit_card_type) if email_address is not None: - pulumi.set(__self__, "email_address", email_address) + _setter("email_address", email_address) if ext_billing_agreement_id is not None: - pulumi.set(__self__, "ext_billing_agreement_id", ext_billing_agreement_id) + _setter("ext_billing_agreement_id", ext_billing_agreement_id) if first_name is not None: - pulumi.set(__self__, "first_name", first_name) + _setter("first_name", first_name) if last_digits is not None: - pulumi.set(__self__, "last_digits", last_digits) + _setter("last_digits", last_digits) if last_name is not None: - pulumi.set(__self__, "last_name", last_name) + _setter("last_name", last_name) if name_on_card is not None: - pulumi.set(__self__, "name_on_card", name_on_card) + _setter("name_on_card", name_on_card) if payment_method is not None: - pulumi.set(__self__, "payment_method", payment_method) + _setter("payment_method", payment_method) if time_expiration is not None: - pulumi.set(__self__, "time_expiration", time_expiration) + _setter("time_expiration", time_expiration) if wallet_instrument_id is not None: - pulumi.set(__self__, "wallet_instrument_id", wallet_instrument_id) + _setter("wallet_instrument_id", wallet_instrument_id) if wallet_transaction_id is not None: - pulumi.set(__self__, "wallet_transaction_id", wallet_transaction_id) + _setter("wallet_transaction_id", wallet_transaction_id) @property @pulumi.getter(name="creditCardType") @@ -1187,47 +1354,96 @@ def __init__(__self__, *, :param str upgrade_state: (Updatable) Status of the upgrade. :param str upgrade_state_details: (Updatable) This field is used to describe the Upgrade State in case of error (E.g. Upgrade failure caused by interfacing Tax details- TaxError) """ - pulumi.set(__self__, "subscription_plan_number", subscription_plan_number) + SubscriptionSubscription._configure( + lambda key, value: pulumi.set(__self__, key, value), + subscription_plan_number=subscription_plan_number, + account_type=account_type, + bill_to_cust_account_id=bill_to_cust_account_id, + billing_addresses=billing_addresses, + currency_code=currency_code, + gsi_org_code=gsi_org_code, + id=id, + is_intent_to_pay=is_intent_to_pay, + language_code=language_code, + organization_id=organization_id, + payment_gateway=payment_gateway, + payment_options=payment_options, + plan_type=plan_type, + ship_to_cust_acct_role_id=ship_to_cust_acct_role_id, + ship_to_cust_acct_site_id=ship_to_cust_acct_site_id, + tax_info=tax_info, + time_personal_to_corporate_conv=time_personal_to_corporate_conv, + time_plan_upgrade=time_plan_upgrade, + time_start=time_start, + upgrade_state=upgrade_state, + upgrade_state_details=upgrade_state_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + subscription_plan_number: str, + account_type: Optional[str] = None, + bill_to_cust_account_id: Optional[str] = None, + billing_addresses: Optional[Sequence['outputs.SubscriptionSubscriptionBillingAddress']] = None, + currency_code: Optional[str] = None, + gsi_org_code: Optional[str] = None, + id: Optional[str] = None, + is_intent_to_pay: Optional[bool] = None, + language_code: Optional[str] = None, + organization_id: Optional[str] = None, + payment_gateway: Optional['outputs.SubscriptionSubscriptionPaymentGateway'] = None, + payment_options: Optional[Sequence['outputs.SubscriptionSubscriptionPaymentOption']] = None, + plan_type: Optional[str] = None, + ship_to_cust_acct_role_id: Optional[str] = None, + ship_to_cust_acct_site_id: Optional[str] = None, + tax_info: Optional['outputs.SubscriptionSubscriptionTaxInfo'] = None, + time_personal_to_corporate_conv: Optional[str] = None, + time_plan_upgrade: Optional[str] = None, + time_start: Optional[str] = None, + upgrade_state: Optional[str] = None, + upgrade_state_details: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("subscription_plan_number", subscription_plan_number) if account_type is not None: - pulumi.set(__self__, "account_type", account_type) + _setter("account_type", account_type) if bill_to_cust_account_id is not None: - pulumi.set(__self__, "bill_to_cust_account_id", bill_to_cust_account_id) + _setter("bill_to_cust_account_id", bill_to_cust_account_id) if billing_addresses is not None: - pulumi.set(__self__, "billing_addresses", billing_addresses) + _setter("billing_addresses", billing_addresses) if currency_code is not None: - pulumi.set(__self__, "currency_code", currency_code) + _setter("currency_code", currency_code) if gsi_org_code is not None: - pulumi.set(__self__, "gsi_org_code", gsi_org_code) + _setter("gsi_org_code", gsi_org_code) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if is_intent_to_pay is not None: - pulumi.set(__self__, "is_intent_to_pay", is_intent_to_pay) + _setter("is_intent_to_pay", is_intent_to_pay) if language_code is not None: - pulumi.set(__self__, "language_code", language_code) + _setter("language_code", language_code) if organization_id is not None: - pulumi.set(__self__, "organization_id", organization_id) + _setter("organization_id", organization_id) if payment_gateway is not None: - pulumi.set(__self__, "payment_gateway", payment_gateway) + _setter("payment_gateway", payment_gateway) if payment_options is not None: - pulumi.set(__self__, "payment_options", payment_options) + _setter("payment_options", payment_options) if plan_type is not None: - pulumi.set(__self__, "plan_type", plan_type) + _setter("plan_type", plan_type) if ship_to_cust_acct_role_id is not None: - pulumi.set(__self__, "ship_to_cust_acct_role_id", ship_to_cust_acct_role_id) + _setter("ship_to_cust_acct_role_id", ship_to_cust_acct_role_id) if ship_to_cust_acct_site_id is not None: - pulumi.set(__self__, "ship_to_cust_acct_site_id", ship_to_cust_acct_site_id) + _setter("ship_to_cust_acct_site_id", ship_to_cust_acct_site_id) if tax_info is not None: - pulumi.set(__self__, "tax_info", tax_info) + _setter("tax_info", tax_info) if time_personal_to_corporate_conv is not None: - pulumi.set(__self__, "time_personal_to_corporate_conv", time_personal_to_corporate_conv) + _setter("time_personal_to_corporate_conv", time_personal_to_corporate_conv) if time_plan_upgrade is not None: - pulumi.set(__self__, "time_plan_upgrade", time_plan_upgrade) + _setter("time_plan_upgrade", time_plan_upgrade) if time_start is not None: - pulumi.set(__self__, "time_start", time_start) + _setter("time_start", time_start) if upgrade_state is not None: - pulumi.set(__self__, "upgrade_state", upgrade_state) + _setter("upgrade_state", upgrade_state) if upgrade_state_details is not None: - pulumi.set(__self__, "upgrade_state_details", upgrade_state_details) + _setter("upgrade_state_details", upgrade_state_details) @property @pulumi.getter(name="subscriptionPlanNumber") @@ -1504,58 +1720,117 @@ def __init__(__self__, *, :param str street_name: (Updatable) Street name of the address. :param str street_number: (Updatable) Street number of the address. """ + SubscriptionSubscriptionBillingAddress._configure( + lambda key, value: pulumi.set(__self__, key, value), + address_key=address_key, + city=city, + company_name=company_name, + contributor_class=contributor_class, + country=country, + county=county, + department_name=department_name, + email_address=email_address, + first_name=first_name, + internal_number=internal_number, + job_title=job_title, + last_name=last_name, + line1=line1, + line2=line2, + line3=line3, + line4=line4, + middle_name=middle_name, + municipal_inscription=municipal_inscription, + phone_country_code=phone_country_code, + phone_number=phone_number, + postal_code=postal_code, + province=province, + state=state, + state_inscription=state_inscription, + street_name=street_name, + street_number=street_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address_key: Optional[str] = None, + city: Optional[str] = None, + company_name: Optional[str] = None, + contributor_class: Optional[str] = None, + country: Optional[str] = None, + county: Optional[str] = None, + department_name: Optional[str] = None, + email_address: Optional[str] = None, + first_name: Optional[str] = None, + internal_number: Optional[str] = None, + job_title: Optional[str] = None, + last_name: Optional[str] = None, + line1: Optional[str] = None, + line2: Optional[str] = None, + line3: Optional[str] = None, + line4: Optional[str] = None, + middle_name: Optional[str] = None, + municipal_inscription: Optional[str] = None, + phone_country_code: Optional[str] = None, + phone_number: Optional[str] = None, + postal_code: Optional[str] = None, + province: Optional[str] = None, + state: Optional[str] = None, + state_inscription: Optional[str] = None, + street_name: Optional[str] = None, + street_number: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if address_key is not None: - pulumi.set(__self__, "address_key", address_key) + _setter("address_key", address_key) if city is not None: - pulumi.set(__self__, "city", city) + _setter("city", city) if company_name is not None: - pulumi.set(__self__, "company_name", company_name) + _setter("company_name", company_name) if contributor_class is not None: - pulumi.set(__self__, "contributor_class", contributor_class) + _setter("contributor_class", contributor_class) if country is not None: - pulumi.set(__self__, "country", country) + _setter("country", country) if county is not None: - pulumi.set(__self__, "county", county) + _setter("county", county) if department_name is not None: - pulumi.set(__self__, "department_name", department_name) + _setter("department_name", department_name) if email_address is not None: - pulumi.set(__self__, "email_address", email_address) + _setter("email_address", email_address) if first_name is not None: - pulumi.set(__self__, "first_name", first_name) + _setter("first_name", first_name) if internal_number is not None: - pulumi.set(__self__, "internal_number", internal_number) + _setter("internal_number", internal_number) if job_title is not None: - pulumi.set(__self__, "job_title", job_title) + _setter("job_title", job_title) if last_name is not None: - pulumi.set(__self__, "last_name", last_name) + _setter("last_name", last_name) if line1 is not None: - pulumi.set(__self__, "line1", line1) + _setter("line1", line1) if line2 is not None: - pulumi.set(__self__, "line2", line2) + _setter("line2", line2) if line3 is not None: - pulumi.set(__self__, "line3", line3) + _setter("line3", line3) if line4 is not None: - pulumi.set(__self__, "line4", line4) + _setter("line4", line4) if middle_name is not None: - pulumi.set(__self__, "middle_name", middle_name) + _setter("middle_name", middle_name) if municipal_inscription is not None: - pulumi.set(__self__, "municipal_inscription", municipal_inscription) + _setter("municipal_inscription", municipal_inscription) if phone_country_code is not None: - pulumi.set(__self__, "phone_country_code", phone_country_code) + _setter("phone_country_code", phone_country_code) if phone_number is not None: - pulumi.set(__self__, "phone_number", phone_number) + _setter("phone_number", phone_number) if postal_code is not None: - pulumi.set(__self__, "postal_code", postal_code) + _setter("postal_code", postal_code) if province is not None: - pulumi.set(__self__, "province", province) + _setter("province", province) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if state_inscription is not None: - pulumi.set(__self__, "state_inscription", state_inscription) + _setter("state_inscription", state_inscription) if street_name is not None: - pulumi.set(__self__, "street_name", street_name) + _setter("street_name", street_name) if street_number is not None: - pulumi.set(__self__, "street_number", street_number) + _setter("street_number", street_number) @property @pulumi.getter(name="addressKey") @@ -1790,8 +2065,17 @@ def __init__(__self__, *, """ :param 'SubscriptionSubscriptionPaymentGatewayMerchantDefinedDataArgs' merchant_defined_data: (Updatable) Merchant details. """ + SubscriptionSubscriptionPaymentGateway._configure( + lambda key, value: pulumi.set(__self__, key, value), + merchant_defined_data=merchant_defined_data, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + merchant_defined_data: Optional['outputs.SubscriptionSubscriptionPaymentGatewayMerchantDefinedData'] = None, + opts: Optional[pulumi.ResourceOptions]=None): if merchant_defined_data is not None: - pulumi.set(__self__, "merchant_defined_data", merchant_defined_data) + _setter("merchant_defined_data", merchant_defined_data) @property @pulumi.getter(name="merchantDefinedData") @@ -1830,10 +2114,21 @@ def __init__(__self__, *, :param str cloud_account_name: (Updatable) Cloud account name. :param str promo_type: (Updatable) Promotion type code. """ + SubscriptionSubscriptionPaymentGatewayMerchantDefinedData._configure( + lambda key, value: pulumi.set(__self__, key, value), + cloud_account_name=cloud_account_name, + promo_type=promo_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cloud_account_name: Optional[str] = None, + promo_type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if cloud_account_name is not None: - pulumi.set(__self__, "cloud_account_name", cloud_account_name) + _setter("cloud_account_name", cloud_account_name) if promo_type is not None: - pulumi.set(__self__, "promo_type", promo_type) + _setter("promo_type", promo_type) @property @pulumi.getter(name="cloudAccountName") @@ -1916,27 +2211,56 @@ def __init__(__self__, *, :param str wallet_instrument_id: (Updatable) Wallet instrument internal id. :param str wallet_transaction_id: (Updatable) Wallet transaction id. """ - pulumi.set(__self__, "payment_method", payment_method) + SubscriptionSubscriptionPaymentOption._configure( + lambda key, value: pulumi.set(__self__, key, value), + payment_method=payment_method, + credit_card_type=credit_card_type, + email_address=email_address, + ext_billing_agreement_id=ext_billing_agreement_id, + first_name=first_name, + last_digits=last_digits, + last_name=last_name, + name_on_card=name_on_card, + time_expiration=time_expiration, + wallet_instrument_id=wallet_instrument_id, + wallet_transaction_id=wallet_transaction_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + payment_method: str, + credit_card_type: Optional[str] = None, + email_address: Optional[str] = None, + ext_billing_agreement_id: Optional[str] = None, + first_name: Optional[str] = None, + last_digits: Optional[str] = None, + last_name: Optional[str] = None, + name_on_card: Optional[str] = None, + time_expiration: Optional[str] = None, + wallet_instrument_id: Optional[str] = None, + wallet_transaction_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("payment_method", payment_method) if credit_card_type is not None: - pulumi.set(__self__, "credit_card_type", credit_card_type) + _setter("credit_card_type", credit_card_type) if email_address is not None: - pulumi.set(__self__, "email_address", email_address) + _setter("email_address", email_address) if ext_billing_agreement_id is not None: - pulumi.set(__self__, "ext_billing_agreement_id", ext_billing_agreement_id) + _setter("ext_billing_agreement_id", ext_billing_agreement_id) if first_name is not None: - pulumi.set(__self__, "first_name", first_name) + _setter("first_name", first_name) if last_digits is not None: - pulumi.set(__self__, "last_digits", last_digits) + _setter("last_digits", last_digits) if last_name is not None: - pulumi.set(__self__, "last_name", last_name) + _setter("last_name", last_name) if name_on_card is not None: - pulumi.set(__self__, "name_on_card", name_on_card) + _setter("name_on_card", name_on_card) if time_expiration is not None: - pulumi.set(__self__, "time_expiration", time_expiration) + _setter("time_expiration", time_expiration) if wallet_instrument_id is not None: - pulumi.set(__self__, "wallet_instrument_id", wallet_instrument_id) + _setter("wallet_instrument_id", wallet_instrument_id) if wallet_transaction_id is not None: - pulumi.set(__self__, "wallet_transaction_id", wallet_transaction_id) + _setter("wallet_transaction_id", wallet_transaction_id) @property @pulumi.getter(name="paymentMethod") @@ -2067,16 +2391,33 @@ def __init__(__self__, *, :param str tax_payer_id: (Updatable) Tay payer identifier. :param str tax_reg_number: (Updatable) Tax registration number. """ + SubscriptionSubscriptionTaxInfo._configure( + lambda key, value: pulumi.set(__self__, key, value), + no_tax_reason_code=no_tax_reason_code, + no_tax_reason_code_details=no_tax_reason_code_details, + tax_cnpj=tax_cnpj, + tax_payer_id=tax_payer_id, + tax_reg_number=tax_reg_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + no_tax_reason_code: Optional[str] = None, + no_tax_reason_code_details: Optional[str] = None, + tax_cnpj: Optional[str] = None, + tax_payer_id: Optional[str] = None, + tax_reg_number: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if no_tax_reason_code is not None: - pulumi.set(__self__, "no_tax_reason_code", no_tax_reason_code) + _setter("no_tax_reason_code", no_tax_reason_code) if no_tax_reason_code_details is not None: - pulumi.set(__self__, "no_tax_reason_code_details", no_tax_reason_code_details) + _setter("no_tax_reason_code_details", no_tax_reason_code_details) if tax_cnpj is not None: - pulumi.set(__self__, "tax_cnpj", tax_cnpj) + _setter("tax_cnpj", tax_cnpj) if tax_payer_id is not None: - pulumi.set(__self__, "tax_payer_id", tax_payer_id) + _setter("tax_payer_id", tax_payer_id) if tax_reg_number is not None: - pulumi.set(__self__, "tax_reg_number", tax_reg_number) + _setter("tax_reg_number", tax_reg_number) @property @pulumi.getter(name="noTaxReasonCode") @@ -2159,16 +2500,33 @@ def __init__(__self__, *, :param str tax_payer_id: (Updatable) Tay payer identifier. :param str tax_reg_number: (Updatable) Tax registration number. """ + SubscriptionTaxInfo._configure( + lambda key, value: pulumi.set(__self__, key, value), + no_tax_reason_code=no_tax_reason_code, + no_tax_reason_code_details=no_tax_reason_code_details, + tax_cnpj=tax_cnpj, + tax_payer_id=tax_payer_id, + tax_reg_number=tax_reg_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + no_tax_reason_code: Optional[str] = None, + no_tax_reason_code_details: Optional[str] = None, + tax_cnpj: Optional[str] = None, + tax_payer_id: Optional[str] = None, + tax_reg_number: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if no_tax_reason_code is not None: - pulumi.set(__self__, "no_tax_reason_code", no_tax_reason_code) + _setter("no_tax_reason_code", no_tax_reason_code) if no_tax_reason_code_details is not None: - pulumi.set(__self__, "no_tax_reason_code_details", no_tax_reason_code_details) + _setter("no_tax_reason_code_details", no_tax_reason_code_details) if tax_cnpj is not None: - pulumi.set(__self__, "tax_cnpj", tax_cnpj) + _setter("tax_cnpj", tax_cnpj) if tax_payer_id is not None: - pulumi.set(__self__, "tax_payer_id", tax_payer_id) + _setter("tax_payer_id", tax_payer_id) if tax_reg_number is not None: - pulumi.set(__self__, "tax_reg_number", tax_reg_number) + _setter("tax_reg_number", tax_reg_number) @property @pulumi.getter(name="noTaxReasonCode") @@ -2220,8 +2578,19 @@ def __init__(__self__, *, :param Sequence['GetAddressRuleAddressFieldArgs'] fields: Tax type rule fields :param str third_party_validation: Third party validation. """ - pulumi.set(__self__, "fields", fields) - pulumi.set(__self__, "third_party_validation", third_party_validation) + GetAddressRuleAddressResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + fields=fields, + third_party_validation=third_party_validation, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + fields: Sequence['outputs.GetAddressRuleAddressFieldResult'], + third_party_validation: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("fields", fields) + _setter("third_party_validation", third_party_validation) @property @pulumi.getter @@ -2255,11 +2624,28 @@ def __init__(__self__, *, :param str language: Locale code (rfc4646 format) of a forced language (e.g.: jp addresses require jp always) :param str name: The field name """ - pulumi.set(__self__, "formats", formats) - pulumi.set(__self__, "is_required", is_required) - pulumi.set(__self__, "labels", labels) - pulumi.set(__self__, "language", language) - pulumi.set(__self__, "name", name) + GetAddressRuleAddressFieldResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + formats=formats, + is_required=is_required, + labels=labels, + language=language, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + formats: Sequence['outputs.GetAddressRuleAddressFieldFormatResult'], + is_required: bool, + labels: Sequence['outputs.GetAddressRuleAddressFieldLabelResult'], + language: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("formats", formats) + _setter("is_required", is_required) + _setter("labels", labels) + _setter("language", language) + _setter("name", name) @property @pulumi.getter @@ -2311,8 +2697,19 @@ def __init__(__self__, *, :param str example: English translation of the label (for reference only - translation is not provided) :param str value: Language token of the required label """ - pulumi.set(__self__, "example", example) - pulumi.set(__self__, "value", value) + GetAddressRuleAddressFieldFormatResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + example=example, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + example: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("example", example) + _setter("value", value) @property @pulumi.getter @@ -2340,8 +2737,19 @@ def __init__(__self__, *, :param str example: English translation of the label (for reference only - translation is not provided) :param str value: Language token of the required label """ - pulumi.set(__self__, "example", example) - pulumi.set(__self__, "value", value) + GetAddressRuleAddressFieldLabelResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + example=example, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + example: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("example", example) + _setter("value", value) @property @pulumi.getter @@ -2367,7 +2775,16 @@ def __init__(__self__, *, """ :param Sequence['GetAddressRuleContactFieldArgs'] fields: Tax type rule fields """ - pulumi.set(__self__, "fields", fields) + GetAddressRuleContactResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + fields=fields, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + fields: Sequence['outputs.GetAddressRuleContactFieldResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("fields", fields) @property @pulumi.getter @@ -2393,11 +2810,28 @@ def __init__(__self__, *, :param str language: Locale code (rfc4646 format) of a forced language (e.g.: jp addresses require jp always) :param str name: The field name """ - pulumi.set(__self__, "formats", formats) - pulumi.set(__self__, "is_required", is_required) - pulumi.set(__self__, "labels", labels) - pulumi.set(__self__, "language", language) - pulumi.set(__self__, "name", name) + GetAddressRuleContactFieldResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + formats=formats, + is_required=is_required, + labels=labels, + language=language, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + formats: Sequence['outputs.GetAddressRuleContactFieldFormatResult'], + is_required: bool, + labels: Sequence['outputs.GetAddressRuleContactFieldLabelResult'], + language: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("formats", formats) + _setter("is_required", is_required) + _setter("labels", labels) + _setter("language", language) + _setter("name", name) @property @pulumi.getter @@ -2449,8 +2883,19 @@ def __init__(__self__, *, :param str example: English translation of the label (for reference only - translation is not provided) :param str value: Language token of the required label """ - pulumi.set(__self__, "example", example) - pulumi.set(__self__, "value", value) + GetAddressRuleContactFieldFormatResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + example=example, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + example: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("example", example) + _setter("value", value) @property @pulumi.getter @@ -2478,8 +2923,19 @@ def __init__(__self__, *, :param str example: English translation of the label (for reference only - translation is not provided) :param str value: Language token of the required label """ - pulumi.set(__self__, "example", example) - pulumi.set(__self__, "value", value) + GetAddressRuleContactFieldLabelResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + example=example, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + example: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("example", example) + _setter("value", value) @property @pulumi.getter @@ -2505,7 +2961,16 @@ def __init__(__self__, *, """ :param Sequence['GetAddressRuleTaxFieldArgs'] fields: Tax type rule fields """ - pulumi.set(__self__, "fields", fields) + GetAddressRuleTaxResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + fields=fields, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + fields: Sequence['outputs.GetAddressRuleTaxFieldResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("fields", fields) @property @pulumi.getter @@ -2531,11 +2996,28 @@ def __init__(__self__, *, :param str language: Locale code (rfc4646 format) of a forced language (e.g.: jp addresses require jp always) :param str name: The field name """ - pulumi.set(__self__, "formats", formats) - pulumi.set(__self__, "is_required", is_required) - pulumi.set(__self__, "labels", labels) - pulumi.set(__self__, "language", language) - pulumi.set(__self__, "name", name) + GetAddressRuleTaxFieldResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + formats=formats, + is_required=is_required, + labels=labels, + language=language, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + formats: Sequence['outputs.GetAddressRuleTaxFieldFormatResult'], + is_required: bool, + labels: Sequence['outputs.GetAddressRuleTaxFieldLabelResult'], + language: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("formats", formats) + _setter("is_required", is_required) + _setter("labels", labels) + _setter("language", language) + _setter("name", name) @property @pulumi.getter @@ -2587,8 +3069,19 @@ def __init__(__self__, *, :param str example: English translation of the label (for reference only - translation is not provided) :param str value: Language token of the required label """ - pulumi.set(__self__, "example", example) - pulumi.set(__self__, "value", value) + GetAddressRuleTaxFieldFormatResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + example=example, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + example: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("example", example) + _setter("value", value) @property @pulumi.getter @@ -2616,8 +3109,19 @@ def __init__(__self__, *, :param str example: English translation of the label (for reference only - translation is not provided) :param str value: Language token of the required label """ - pulumi.set(__self__, "example", example) - pulumi.set(__self__, "value", value) + GetAddressRuleTaxFieldLabelResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + example=example, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + example: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("example", example) + _setter("value", value) @property @pulumi.getter @@ -2669,20 +3173,55 @@ def __init__(__self__, *, :param str street_name: Street name :param str street_number: House no """ - pulumi.set(__self__, "address_line1", address_line1) - pulumi.set(__self__, "address_line2", address_line2) - pulumi.set(__self__, "address_line3", address_line3) - pulumi.set(__self__, "address_line4", address_line4) - pulumi.set(__self__, "city", city) - pulumi.set(__self__, "company_name", company_name) - pulumi.set(__self__, "contact_name", contact_name) - pulumi.set(__self__, "countries", countries) - pulumi.set(__self__, "county", county) - pulumi.set(__self__, "postal_code", postal_code) - pulumi.set(__self__, "province", province) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "street_name", street_name) - pulumi.set(__self__, "street_number", street_number) + GetInvoiceBillToAddressResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + address_line1=address_line1, + address_line2=address_line2, + address_line3=address_line3, + address_line4=address_line4, + city=city, + company_name=company_name, + contact_name=contact_name, + countries=countries, + county=county, + postal_code=postal_code, + province=province, + state=state, + street_name=street_name, + street_number=street_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address_line1: str, + address_line2: str, + address_line3: str, + address_line4: str, + city: str, + company_name: str, + contact_name: str, + countries: Sequence['outputs.GetInvoiceBillToAddressCountryResult'], + county: str, + postal_code: str, + province: str, + state: str, + street_name: str, + street_number: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("address_line1", address_line1) + _setter("address_line2", address_line2) + _setter("address_line3", address_line3) + _setter("address_line4", address_line4) + _setter("city", city) + _setter("company_name", company_name) + _setter("contact_name", contact_name) + _setter("countries", countries) + _setter("county", county) + _setter("postal_code", postal_code) + _setter("province", province) + _setter("state", state) + _setter("street_name", street_name) + _setter("street_number", street_number) @property @pulumi.getter(name="addressLine1") @@ -2812,11 +3351,28 @@ def __init__(__self__, *, :param str country_name: Name of the country :param float language_id: Language identifier """ - pulumi.set(__self__, "ascii3country_code", ascii3country_code) - pulumi.set(__self__, "country_code", country_code) - pulumi.set(__self__, "country_id", country_id) - pulumi.set(__self__, "country_name", country_name) - pulumi.set(__self__, "language_id", language_id) + GetInvoiceBillToAddressCountryResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ascii3country_code=ascii3country_code, + country_code=country_code, + country_id=country_id, + country_name=country_name, + language_id=language_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ascii3country_code: str, + country_code: str, + country_id: float, + country_name: str, + language_id: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ascii3country_code", ascii3country_code) + _setter("country_code", country_code) + _setter("country_id", country_id) + _setter("country_name", country_name) + _setter("language_id", language_id) @property @pulumi.getter(name="ascii3countryCode") @@ -2874,11 +3430,28 @@ def __init__(__self__, *, :param float round_decimal_point: Round decimal point :param float usd_conversion: USD conversion rate of the currency """ - pulumi.set(__self__, "currency_code", currency_code) - pulumi.set(__self__, "currency_symbol", currency_symbol) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "round_decimal_point", round_decimal_point) - pulumi.set(__self__, "usd_conversion", usd_conversion) + GetInvoiceCurrencyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + currency_code=currency_code, + currency_symbol=currency_symbol, + name=name, + round_decimal_point=round_decimal_point, + usd_conversion=usd_conversion, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + currency_code: str, + currency_symbol: str, + name: str, + round_decimal_point: float, + usd_conversion: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("currency_code", currency_code) + _setter("currency_symbol", currency_symbol) + _setter("name", name) + _setter("round_decimal_point", round_decimal_point) + _setter("usd_conversion", usd_conversion) @property @pulumi.getter(name="currencyCode") @@ -2954,20 +3527,55 @@ def __init__(__self__, *, :param str time_expiration: Expired date of the credit card :param str time_paid_on: Paid the invoice on this day """ - pulumi.set(__self__, "account_number", account_number) - pulumi.set(__self__, "amount_paid", amount_paid) - pulumi.set(__self__, "card_type", card_type) - pulumi.set(__self__, "credit_card_type", credit_card_type) - pulumi.set(__self__, "echeck_routing", echeck_routing) - pulumi.set(__self__, "last_digits", last_digits) - pulumi.set(__self__, "name_on_card", name_on_card) - pulumi.set(__self__, "paid_by", paid_by) - pulumi.set(__self__, "payment_method", payment_method) - pulumi.set(__self__, "paypal_id", paypal_id) - pulumi.set(__self__, "paypal_reference", paypal_reference) - pulumi.set(__self__, "routing_number", routing_number) - pulumi.set(__self__, "time_expiration", time_expiration) - pulumi.set(__self__, "time_paid_on", time_paid_on) + GetInvoiceLastPaymentDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_number=account_number, + amount_paid=amount_paid, + card_type=card_type, + credit_card_type=credit_card_type, + echeck_routing=echeck_routing, + last_digits=last_digits, + name_on_card=name_on_card, + paid_by=paid_by, + payment_method=payment_method, + paypal_id=paypal_id, + paypal_reference=paypal_reference, + routing_number=routing_number, + time_expiration=time_expiration, + time_paid_on=time_paid_on, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_number: str, + amount_paid: float, + card_type: str, + credit_card_type: str, + echeck_routing: str, + last_digits: str, + name_on_card: str, + paid_by: str, + payment_method: str, + paypal_id: str, + paypal_reference: str, + routing_number: str, + time_expiration: str, + time_paid_on: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("account_number", account_number) + _setter("amount_paid", amount_paid) + _setter("card_type", card_type) + _setter("credit_card_type", credit_card_type) + _setter("echeck_routing", echeck_routing) + _setter("last_digits", last_digits) + _setter("name_on_card", name_on_card) + _setter("paid_by", paid_by) + _setter("payment_method", payment_method) + _setter("paypal_id", paypal_id) + _setter("paypal_reference", paypal_reference) + _setter("routing_number", routing_number) + _setter("time_expiration", time_expiration) + _setter("time_paid_on", time_paid_on) @property @pulumi.getter(name="accountNumber") @@ -3091,10 +3699,23 @@ def __init__(__self__, *, """ :param str name: Name of the currency """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetInvoicesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3119,7 +3740,16 @@ def regex(self) -> Optional[bool]: class GetInvoicesInvoiceCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetInvoicesInvoiceCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetInvoicesInvoiceCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetInvoicesInvoiceCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -3187,36 +3817,103 @@ def __init__(__self__, *, :param str time_invoice: Date of invoice :param str time_invoice_due: Due date of invoice """ - pulumi.set(__self__, "bill_to_addresses", bill_to_addresses) - pulumi.set(__self__, "currencies", currencies) - pulumi.set(__self__, "internal_invoice_id", internal_invoice_id) - pulumi.set(__self__, "invoice_amount", invoice_amount) - pulumi.set(__self__, "invoice_amount_adjusted", invoice_amount_adjusted) - pulumi.set(__self__, "invoice_amount_applied", invoice_amount_applied) - pulumi.set(__self__, "invoice_amount_credited", invoice_amount_credited) - pulumi.set(__self__, "invoice_amount_due", invoice_amount_due) - pulumi.set(__self__, "invoice_amount_in_dispute", invoice_amount_in_dispute) - pulumi.set(__self__, "invoice_id", invoice_id) - pulumi.set(__self__, "invoice_number", invoice_number) - pulumi.set(__self__, "invoice_po_number", invoice_po_number) - pulumi.set(__self__, "invoice_ref_number", invoice_ref_number) - pulumi.set(__self__, "invoice_status", invoice_status) - pulumi.set(__self__, "invoice_type", invoice_type) - pulumi.set(__self__, "is_credit_card_payable", is_credit_card_payable) - pulumi.set(__self__, "is_display_download_pdf", is_display_download_pdf) - pulumi.set(__self__, "is_display_view_pdf", is_display_view_pdf) - pulumi.set(__self__, "is_paid", is_paid) - pulumi.set(__self__, "is_payable", is_payable) - pulumi.set(__self__, "is_payment_failed", is_payment_failed) - pulumi.set(__self__, "is_pdf_email_available", is_pdf_email_available) - pulumi.set(__self__, "last_payment_details", last_payment_details) - pulumi.set(__self__, "party_name", party_name) - pulumi.set(__self__, "payment_terms", payment_terms) - pulumi.set(__self__, "preferred_email", preferred_email) - pulumi.set(__self__, "subscription_ids", subscription_ids) - pulumi.set(__self__, "tax", tax) - pulumi.set(__self__, "time_invoice", time_invoice) - pulumi.set(__self__, "time_invoice_due", time_invoice_due) + GetInvoicesInvoiceCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bill_to_addresses=bill_to_addresses, + currencies=currencies, + internal_invoice_id=internal_invoice_id, + invoice_amount=invoice_amount, + invoice_amount_adjusted=invoice_amount_adjusted, + invoice_amount_applied=invoice_amount_applied, + invoice_amount_credited=invoice_amount_credited, + invoice_amount_due=invoice_amount_due, + invoice_amount_in_dispute=invoice_amount_in_dispute, + invoice_id=invoice_id, + invoice_number=invoice_number, + invoice_po_number=invoice_po_number, + invoice_ref_number=invoice_ref_number, + invoice_status=invoice_status, + invoice_type=invoice_type, + is_credit_card_payable=is_credit_card_payable, + is_display_download_pdf=is_display_download_pdf, + is_display_view_pdf=is_display_view_pdf, + is_paid=is_paid, + is_payable=is_payable, + is_payment_failed=is_payment_failed, + is_pdf_email_available=is_pdf_email_available, + last_payment_details=last_payment_details, + party_name=party_name, + payment_terms=payment_terms, + preferred_email=preferred_email, + subscription_ids=subscription_ids, + tax=tax, + time_invoice=time_invoice, + time_invoice_due=time_invoice_due, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bill_to_addresses: Sequence['outputs.GetInvoicesInvoiceCollectionItemBillToAddressResult'], + currencies: Sequence['outputs.GetInvoicesInvoiceCollectionItemCurrencyResult'], + internal_invoice_id: str, + invoice_amount: float, + invoice_amount_adjusted: float, + invoice_amount_applied: float, + invoice_amount_credited: float, + invoice_amount_due: float, + invoice_amount_in_dispute: float, + invoice_id: str, + invoice_number: str, + invoice_po_number: str, + invoice_ref_number: str, + invoice_status: str, + invoice_type: str, + is_credit_card_payable: bool, + is_display_download_pdf: bool, + is_display_view_pdf: bool, + is_paid: bool, + is_payable: bool, + is_payment_failed: bool, + is_pdf_email_available: bool, + last_payment_details: Sequence['outputs.GetInvoicesInvoiceCollectionItemLastPaymentDetailResult'], + party_name: str, + payment_terms: str, + preferred_email: str, + subscription_ids: Sequence[str], + tax: float, + time_invoice: str, + time_invoice_due: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bill_to_addresses", bill_to_addresses) + _setter("currencies", currencies) + _setter("internal_invoice_id", internal_invoice_id) + _setter("invoice_amount", invoice_amount) + _setter("invoice_amount_adjusted", invoice_amount_adjusted) + _setter("invoice_amount_applied", invoice_amount_applied) + _setter("invoice_amount_credited", invoice_amount_credited) + _setter("invoice_amount_due", invoice_amount_due) + _setter("invoice_amount_in_dispute", invoice_amount_in_dispute) + _setter("invoice_id", invoice_id) + _setter("invoice_number", invoice_number) + _setter("invoice_po_number", invoice_po_number) + _setter("invoice_ref_number", invoice_ref_number) + _setter("invoice_status", invoice_status) + _setter("invoice_type", invoice_type) + _setter("is_credit_card_payable", is_credit_card_payable) + _setter("is_display_download_pdf", is_display_download_pdf) + _setter("is_display_view_pdf", is_display_view_pdf) + _setter("is_paid", is_paid) + _setter("is_payable", is_payable) + _setter("is_payment_failed", is_payment_failed) + _setter("is_pdf_email_available", is_pdf_email_available) + _setter("last_payment_details", last_payment_details) + _setter("party_name", party_name) + _setter("payment_terms", payment_terms) + _setter("preferred_email", preferred_email) + _setter("subscription_ids", subscription_ids) + _setter("tax", tax) + _setter("time_invoice", time_invoice) + _setter("time_invoice_due", time_invoice_due) @property @pulumi.getter(name="billToAddresses") @@ -3477,20 +4174,55 @@ def __init__(__self__, *, :param str street_name: Street name :param str street_number: House no """ - pulumi.set(__self__, "address_line1", address_line1) - pulumi.set(__self__, "address_line2", address_line2) - pulumi.set(__self__, "address_line3", address_line3) - pulumi.set(__self__, "address_line4", address_line4) - pulumi.set(__self__, "city", city) - pulumi.set(__self__, "company_name", company_name) - pulumi.set(__self__, "contact_name", contact_name) - pulumi.set(__self__, "countries", countries) - pulumi.set(__self__, "county", county) - pulumi.set(__self__, "postal_code", postal_code) - pulumi.set(__self__, "province", province) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "street_name", street_name) - pulumi.set(__self__, "street_number", street_number) + GetInvoicesInvoiceCollectionItemBillToAddressResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + address_line1=address_line1, + address_line2=address_line2, + address_line3=address_line3, + address_line4=address_line4, + city=city, + company_name=company_name, + contact_name=contact_name, + countries=countries, + county=county, + postal_code=postal_code, + province=province, + state=state, + street_name=street_name, + street_number=street_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address_line1: str, + address_line2: str, + address_line3: str, + address_line4: str, + city: str, + company_name: str, + contact_name: str, + countries: Sequence['outputs.GetInvoicesInvoiceCollectionItemBillToAddressCountryResult'], + county: str, + postal_code: str, + province: str, + state: str, + street_name: str, + street_number: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("address_line1", address_line1) + _setter("address_line2", address_line2) + _setter("address_line3", address_line3) + _setter("address_line4", address_line4) + _setter("city", city) + _setter("company_name", company_name) + _setter("contact_name", contact_name) + _setter("countries", countries) + _setter("county", county) + _setter("postal_code", postal_code) + _setter("province", province) + _setter("state", state) + _setter("street_name", street_name) + _setter("street_number", street_number) @property @pulumi.getter(name="addressLine1") @@ -3620,11 +4352,28 @@ def __init__(__self__, *, :param str country_name: Name of the country :param float language_id: Language identifier """ - pulumi.set(__self__, "ascii3country_code", ascii3country_code) - pulumi.set(__self__, "country_code", country_code) - pulumi.set(__self__, "country_id", country_id) - pulumi.set(__self__, "country_name", country_name) - pulumi.set(__self__, "language_id", language_id) + GetInvoicesInvoiceCollectionItemBillToAddressCountryResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ascii3country_code=ascii3country_code, + country_code=country_code, + country_id=country_id, + country_name=country_name, + language_id=language_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ascii3country_code: str, + country_code: str, + country_id: float, + country_name: str, + language_id: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ascii3country_code", ascii3country_code) + _setter("country_code", country_code) + _setter("country_id", country_id) + _setter("country_name", country_name) + _setter("language_id", language_id) @property @pulumi.getter(name="ascii3countryCode") @@ -3682,11 +4431,28 @@ def __init__(__self__, *, :param float round_decimal_point: Round decimal point :param float usd_conversion: USD conversion rate of the currency """ - pulumi.set(__self__, "currency_code", currency_code) - pulumi.set(__self__, "currency_symbol", currency_symbol) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "round_decimal_point", round_decimal_point) - pulumi.set(__self__, "usd_conversion", usd_conversion) + GetInvoicesInvoiceCollectionItemCurrencyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + currency_code=currency_code, + currency_symbol=currency_symbol, + name=name, + round_decimal_point=round_decimal_point, + usd_conversion=usd_conversion, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + currency_code: str, + currency_symbol: str, + name: str, + round_decimal_point: float, + usd_conversion: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("currency_code", currency_code) + _setter("currency_symbol", currency_symbol) + _setter("name", name) + _setter("round_decimal_point", round_decimal_point) + _setter("usd_conversion", usd_conversion) @property @pulumi.getter(name="currencyCode") @@ -3762,20 +4528,55 @@ def __init__(__self__, *, :param str time_expiration: Expired date of the credit card :param str time_paid_on: Paid the invoice on this day """ - pulumi.set(__self__, "account_number", account_number) - pulumi.set(__self__, "amount_paid", amount_paid) - pulumi.set(__self__, "card_type", card_type) - pulumi.set(__self__, "credit_card_type", credit_card_type) - pulumi.set(__self__, "echeck_routing", echeck_routing) - pulumi.set(__self__, "last_digits", last_digits) - pulumi.set(__self__, "name_on_card", name_on_card) - pulumi.set(__self__, "paid_by", paid_by) - pulumi.set(__self__, "payment_method", payment_method) - pulumi.set(__self__, "paypal_id", paypal_id) - pulumi.set(__self__, "paypal_reference", paypal_reference) - pulumi.set(__self__, "routing_number", routing_number) - pulumi.set(__self__, "time_expiration", time_expiration) - pulumi.set(__self__, "time_paid_on", time_paid_on) + GetInvoicesInvoiceCollectionItemLastPaymentDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_number=account_number, + amount_paid=amount_paid, + card_type=card_type, + credit_card_type=credit_card_type, + echeck_routing=echeck_routing, + last_digits=last_digits, + name_on_card=name_on_card, + paid_by=paid_by, + payment_method=payment_method, + paypal_id=paypal_id, + paypal_reference=paypal_reference, + routing_number=routing_number, + time_expiration=time_expiration, + time_paid_on=time_paid_on, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_number: str, + amount_paid: float, + card_type: str, + credit_card_type: str, + echeck_routing: str, + last_digits: str, + name_on_card: str, + paid_by: str, + payment_method: str, + paypal_id: str, + paypal_reference: str, + routing_number: str, + time_expiration: str, + time_paid_on: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("account_number", account_number) + _setter("amount_paid", amount_paid) + _setter("card_type", card_type) + _setter("credit_card_type", credit_card_type) + _setter("echeck_routing", echeck_routing) + _setter("last_digits", last_digits) + _setter("name_on_card", name_on_card) + _setter("paid_by", paid_by) + _setter("payment_method", payment_method) + _setter("paypal_id", paypal_id) + _setter("paypal_reference", paypal_reference) + _setter("routing_number", routing_number) + _setter("time_expiration", time_expiration) + _setter("time_paid_on", time_paid_on) @property @pulumi.getter(name="accountNumber") @@ -3913,15 +4714,40 @@ def __init__(__self__, *, :param str time_start: Start date :param float total_price: Total price of the ordered product (Net unit price x quantity) """ - pulumi.set(__self__, "currencies", currencies) - pulumi.set(__self__, "net_unit_price", net_unit_price) - pulumi.set(__self__, "order_no", order_no) - pulumi.set(__self__, "part_number", part_number) - pulumi.set(__self__, "product", product) - pulumi.set(__self__, "quantity", quantity) - pulumi.set(__self__, "time_end", time_end) - pulumi.set(__self__, "time_start", time_start) - pulumi.set(__self__, "total_price", total_price) + GetInvoicesInvoiceLineItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + currencies=currencies, + net_unit_price=net_unit_price, + order_no=order_no, + part_number=part_number, + product=product, + quantity=quantity, + time_end=time_end, + time_start=time_start, + total_price=total_price, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + currencies: Sequence['outputs.GetInvoicesInvoiceLineItemCurrencyResult'], + net_unit_price: float, + order_no: str, + part_number: str, + product: str, + quantity: float, + time_end: str, + time_start: str, + total_price: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("currencies", currencies) + _setter("net_unit_price", net_unit_price) + _setter("order_no", order_no) + _setter("part_number", part_number) + _setter("product", product) + _setter("quantity", quantity) + _setter("time_end", time_end) + _setter("time_start", time_start) + _setter("total_price", total_price) @property @pulumi.getter @@ -4011,11 +4837,28 @@ def __init__(__self__, *, :param float round_decimal_point: Round decimal point :param float usd_conversion: USD conversion rate of the currency """ - pulumi.set(__self__, "currency_code", currency_code) - pulumi.set(__self__, "currency_symbol", currency_symbol) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "round_decimal_point", round_decimal_point) - pulumi.set(__self__, "usd_conversion", usd_conversion) + GetInvoicesInvoiceLineItemCurrencyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + currency_code=currency_code, + currency_symbol=currency_symbol, + name=name, + round_decimal_point=round_decimal_point, + usd_conversion=usd_conversion, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + currency_code: str, + currency_symbol: str, + name: str, + round_decimal_point: float, + usd_conversion: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("currency_code", currency_code) + _setter("currency_symbol", currency_symbol) + _setter("name", name) + _setter("round_decimal_point", round_decimal_point) + _setter("usd_conversion", usd_conversion) @property @pulumi.getter(name="currencyCode") @@ -4067,10 +4910,23 @@ def __init__(__self__, *, """ :param str name: Name of the currency """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetInvoicesInvoiceLinesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4098,7 +4954,16 @@ def __init__(__self__, *, """ :param Sequence['GetInvoicesInvoiceLinesInvoiceLineCollectionItemArgs'] items: Invoice line list elements """ - pulumi.set(__self__, "items", items) + GetInvoicesInvoiceLinesInvoiceLineCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetInvoicesInvoiceLinesInvoiceLineCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -4132,15 +4997,40 @@ def __init__(__self__, *, :param str time_start: Start date :param float total_price: Total price of the ordered product (Net unit price x quantity) """ - pulumi.set(__self__, "currencies", currencies) - pulumi.set(__self__, "net_unit_price", net_unit_price) - pulumi.set(__self__, "order_no", order_no) - pulumi.set(__self__, "part_number", part_number) - pulumi.set(__self__, "product", product) - pulumi.set(__self__, "quantity", quantity) - pulumi.set(__self__, "time_end", time_end) - pulumi.set(__self__, "time_start", time_start) - pulumi.set(__self__, "total_price", total_price) + GetInvoicesInvoiceLinesInvoiceLineCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + currencies=currencies, + net_unit_price=net_unit_price, + order_no=order_no, + part_number=part_number, + product=product, + quantity=quantity, + time_end=time_end, + time_start=time_start, + total_price=total_price, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + currencies: Sequence['outputs.GetInvoicesInvoiceLinesInvoiceLineCollectionItemCurrencyResult'], + net_unit_price: float, + order_no: str, + part_number: str, + product: str, + quantity: float, + time_end: str, + time_start: str, + total_price: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("currencies", currencies) + _setter("net_unit_price", net_unit_price) + _setter("order_no", order_no) + _setter("part_number", part_number) + _setter("product", product) + _setter("quantity", quantity) + _setter("time_end", time_end) + _setter("time_start", time_start) + _setter("total_price", total_price) @property @pulumi.getter @@ -4230,11 +5120,28 @@ def __init__(__self__, *, :param float round_decimal_point: Round decimal point :param float usd_conversion: USD conversion rate of the currency """ - pulumi.set(__self__, "currency_code", currency_code) - pulumi.set(__self__, "currency_symbol", currency_symbol) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "round_decimal_point", round_decimal_point) - pulumi.set(__self__, "usd_conversion", usd_conversion) + GetInvoicesInvoiceLinesInvoiceLineCollectionItemCurrencyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + currency_code=currency_code, + currency_symbol=currency_symbol, + name=name, + round_decimal_point=round_decimal_point, + usd_conversion=usd_conversion, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + currency_code: str, + currency_symbol: str, + name: str, + round_decimal_point: float, + usd_conversion: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("currency_code", currency_code) + _setter("currency_symbol", currency_symbol) + _setter("name", name) + _setter("round_decimal_point", round_decimal_point) + _setter("usd_conversion", usd_conversion) @property @pulumi.getter(name="currencyCode") @@ -4334,32 +5241,91 @@ def __init__(__self__, *, :param str street_name: Street name of the address. :param str street_number: Street number of the address. """ - pulumi.set(__self__, "address_key", address_key) - pulumi.set(__self__, "city", city) - pulumi.set(__self__, "company_name", company_name) - pulumi.set(__self__, "contributor_class", contributor_class) - pulumi.set(__self__, "country", country) - pulumi.set(__self__, "county", county) - pulumi.set(__self__, "department_name", department_name) - pulumi.set(__self__, "email_address", email_address) - pulumi.set(__self__, "first_name", first_name) - pulumi.set(__self__, "internal_number", internal_number) - pulumi.set(__self__, "job_title", job_title) - pulumi.set(__self__, "last_name", last_name) - pulumi.set(__self__, "line1", line1) - pulumi.set(__self__, "line2", line2) - pulumi.set(__self__, "line3", line3) - pulumi.set(__self__, "line4", line4) - pulumi.set(__self__, "middle_name", middle_name) - pulumi.set(__self__, "municipal_inscription", municipal_inscription) - pulumi.set(__self__, "phone_country_code", phone_country_code) - pulumi.set(__self__, "phone_number", phone_number) - pulumi.set(__self__, "postal_code", postal_code) - pulumi.set(__self__, "province", province) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "state_inscription", state_inscription) - pulumi.set(__self__, "street_name", street_name) - pulumi.set(__self__, "street_number", street_number) + GetSubscriptionBillingAddressResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + address_key=address_key, + city=city, + company_name=company_name, + contributor_class=contributor_class, + country=country, + county=county, + department_name=department_name, + email_address=email_address, + first_name=first_name, + internal_number=internal_number, + job_title=job_title, + last_name=last_name, + line1=line1, + line2=line2, + line3=line3, + line4=line4, + middle_name=middle_name, + municipal_inscription=municipal_inscription, + phone_country_code=phone_country_code, + phone_number=phone_number, + postal_code=postal_code, + province=province, + state=state, + state_inscription=state_inscription, + street_name=street_name, + street_number=street_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address_key: str, + city: str, + company_name: str, + contributor_class: str, + country: str, + county: str, + department_name: str, + email_address: str, + first_name: str, + internal_number: str, + job_title: str, + last_name: str, + line1: str, + line2: str, + line3: str, + line4: str, + middle_name: str, + municipal_inscription: str, + phone_country_code: str, + phone_number: str, + postal_code: str, + province: str, + state: str, + state_inscription: str, + street_name: str, + street_number: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("address_key", address_key) + _setter("city", city) + _setter("company_name", company_name) + _setter("contributor_class", contributor_class) + _setter("country", country) + _setter("county", county) + _setter("department_name", department_name) + _setter("email_address", email_address) + _setter("first_name", first_name) + _setter("internal_number", internal_number) + _setter("job_title", job_title) + _setter("last_name", last_name) + _setter("line1", line1) + _setter("line2", line2) + _setter("line3", line3) + _setter("line4", line4) + _setter("middle_name", middle_name) + _setter("municipal_inscription", municipal_inscription) + _setter("phone_country_code", phone_country_code) + _setter("phone_number", phone_number) + _setter("postal_code", postal_code) + _setter("province", province) + _setter("state", state) + _setter("state_inscription", state_inscription) + _setter("street_name", street_name) + _setter("street_number", street_number) @property @pulumi.getter(name="addressKey") @@ -4577,7 +5543,16 @@ def __init__(__self__, *, """ :param Sequence['GetSubscriptionPaymentGatewayMerchantDefinedDataArgs'] merchant_defined_datas: Merchant details. """ - pulumi.set(__self__, "merchant_defined_datas", merchant_defined_datas) + GetSubscriptionPaymentGatewayResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + merchant_defined_datas=merchant_defined_datas, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + merchant_defined_datas: Sequence['outputs.GetSubscriptionPaymentGatewayMerchantDefinedDataResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("merchant_defined_datas", merchant_defined_datas) @property @pulumi.getter(name="merchantDefinedDatas") @@ -4597,8 +5572,19 @@ def __init__(__self__, *, :param str cloud_account_name: Cloud account name. :param str promo_type: Promotion type code. """ - pulumi.set(__self__, "cloud_account_name", cloud_account_name) - pulumi.set(__self__, "promo_type", promo_type) + GetSubscriptionPaymentGatewayMerchantDefinedDataResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cloud_account_name=cloud_account_name, + promo_type=promo_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cloud_account_name: str, + promo_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cloud_account_name", cloud_account_name) + _setter("promo_type", promo_type) @property @pulumi.getter(name="cloudAccountName") @@ -4644,17 +5630,46 @@ def __init__(__self__, *, :param str wallet_instrument_id: Wallet instrument internal id. :param str wallet_transaction_id: Wallet transaction id. """ - pulumi.set(__self__, "credit_card_type", credit_card_type) - pulumi.set(__self__, "email_address", email_address) - pulumi.set(__self__, "ext_billing_agreement_id", ext_billing_agreement_id) - pulumi.set(__self__, "first_name", first_name) - pulumi.set(__self__, "last_digits", last_digits) - pulumi.set(__self__, "last_name", last_name) - pulumi.set(__self__, "name_on_card", name_on_card) - pulumi.set(__self__, "payment_method", payment_method) - pulumi.set(__self__, "time_expiration", time_expiration) - pulumi.set(__self__, "wallet_instrument_id", wallet_instrument_id) - pulumi.set(__self__, "wallet_transaction_id", wallet_transaction_id) + GetSubscriptionPaymentOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + credit_card_type=credit_card_type, + email_address=email_address, + ext_billing_agreement_id=ext_billing_agreement_id, + first_name=first_name, + last_digits=last_digits, + last_name=last_name, + name_on_card=name_on_card, + payment_method=payment_method, + time_expiration=time_expiration, + wallet_instrument_id=wallet_instrument_id, + wallet_transaction_id=wallet_transaction_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + credit_card_type: str, + email_address: str, + ext_billing_agreement_id: str, + first_name: str, + last_digits: str, + last_name: str, + name_on_card: str, + payment_method: str, + time_expiration: str, + wallet_instrument_id: str, + wallet_transaction_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("credit_card_type", credit_card_type) + _setter("email_address", email_address) + _setter("ext_billing_agreement_id", ext_billing_agreement_id) + _setter("first_name", first_name) + _setter("last_digits", last_digits) + _setter("last_name", last_name) + _setter("name_on_card", name_on_card) + _setter("payment_method", payment_method) + _setter("time_expiration", time_expiration) + _setter("wallet_instrument_id", wallet_instrument_id) + _setter("wallet_transaction_id", wallet_transaction_id) @property @pulumi.getter(name="creditCardType") @@ -4792,27 +5807,76 @@ def __init__(__self__, *, :param str upgrade_state: Status of the upgrade. :param str upgrade_state_details: This field is used to describe the Upgrade State in case of error (E.g. Upgrade failure caused by interfacing Tax details- TaxError) """ - pulumi.set(__self__, "account_type", account_type) - pulumi.set(__self__, "bill_to_cust_account_id", bill_to_cust_account_id) - pulumi.set(__self__, "billing_addresses", billing_addresses) - pulumi.set(__self__, "currency_code", currency_code) - pulumi.set(__self__, "gsi_org_code", gsi_org_code) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_intent_to_pay", is_intent_to_pay) - pulumi.set(__self__, "language_code", language_code) - pulumi.set(__self__, "organization_id", organization_id) - pulumi.set(__self__, "payment_gateways", payment_gateways) - pulumi.set(__self__, "payment_options", payment_options) - pulumi.set(__self__, "plan_type", plan_type) - pulumi.set(__self__, "ship_to_cust_acct_role_id", ship_to_cust_acct_role_id) - pulumi.set(__self__, "ship_to_cust_acct_site_id", ship_to_cust_acct_site_id) - pulumi.set(__self__, "subscription_plan_number", subscription_plan_number) - pulumi.set(__self__, "tax_infos", tax_infos) - pulumi.set(__self__, "time_personal_to_corporate_conv", time_personal_to_corporate_conv) - pulumi.set(__self__, "time_plan_upgrade", time_plan_upgrade) - pulumi.set(__self__, "time_start", time_start) - pulumi.set(__self__, "upgrade_state", upgrade_state) - pulumi.set(__self__, "upgrade_state_details", upgrade_state_details) + GetSubscriptionSubscriptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_type=account_type, + bill_to_cust_account_id=bill_to_cust_account_id, + billing_addresses=billing_addresses, + currency_code=currency_code, + gsi_org_code=gsi_org_code, + id=id, + is_intent_to_pay=is_intent_to_pay, + language_code=language_code, + organization_id=organization_id, + payment_gateways=payment_gateways, + payment_options=payment_options, + plan_type=plan_type, + ship_to_cust_acct_role_id=ship_to_cust_acct_role_id, + ship_to_cust_acct_site_id=ship_to_cust_acct_site_id, + subscription_plan_number=subscription_plan_number, + tax_infos=tax_infos, + time_personal_to_corporate_conv=time_personal_to_corporate_conv, + time_plan_upgrade=time_plan_upgrade, + time_start=time_start, + upgrade_state=upgrade_state, + upgrade_state_details=upgrade_state_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_type: str, + bill_to_cust_account_id: str, + billing_addresses: Sequence['outputs.GetSubscriptionSubscriptionBillingAddressResult'], + currency_code: str, + gsi_org_code: str, + id: str, + is_intent_to_pay: bool, + language_code: str, + organization_id: str, + payment_gateways: Sequence['outputs.GetSubscriptionSubscriptionPaymentGatewayResult'], + payment_options: Sequence['outputs.GetSubscriptionSubscriptionPaymentOptionResult'], + plan_type: str, + ship_to_cust_acct_role_id: str, + ship_to_cust_acct_site_id: str, + subscription_plan_number: str, + tax_infos: Sequence['outputs.GetSubscriptionSubscriptionTaxInfoResult'], + time_personal_to_corporate_conv: str, + time_plan_upgrade: str, + time_start: str, + upgrade_state: str, + upgrade_state_details: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("account_type", account_type) + _setter("bill_to_cust_account_id", bill_to_cust_account_id) + _setter("billing_addresses", billing_addresses) + _setter("currency_code", currency_code) + _setter("gsi_org_code", gsi_org_code) + _setter("id", id) + _setter("is_intent_to_pay", is_intent_to_pay) + _setter("language_code", language_code) + _setter("organization_id", organization_id) + _setter("payment_gateways", payment_gateways) + _setter("payment_options", payment_options) + _setter("plan_type", plan_type) + _setter("ship_to_cust_acct_role_id", ship_to_cust_acct_role_id) + _setter("ship_to_cust_acct_site_id", ship_to_cust_acct_site_id) + _setter("subscription_plan_number", subscription_plan_number) + _setter("tax_infos", tax_infos) + _setter("time_personal_to_corporate_conv", time_personal_to_corporate_conv) + _setter("time_plan_upgrade", time_plan_upgrade) + _setter("time_start", time_start) + _setter("upgrade_state", upgrade_state) + _setter("upgrade_state_details", upgrade_state_details) @property @pulumi.getter(name="accountType") @@ -5040,32 +6104,91 @@ def __init__(__self__, *, :param str street_name: Street name of the address. :param str street_number: Street number of the address. """ - pulumi.set(__self__, "address_key", address_key) - pulumi.set(__self__, "city", city) - pulumi.set(__self__, "company_name", company_name) - pulumi.set(__self__, "contributor_class", contributor_class) - pulumi.set(__self__, "country", country) - pulumi.set(__self__, "county", county) - pulumi.set(__self__, "department_name", department_name) - pulumi.set(__self__, "email_address", email_address) - pulumi.set(__self__, "first_name", first_name) - pulumi.set(__self__, "internal_number", internal_number) - pulumi.set(__self__, "job_title", job_title) - pulumi.set(__self__, "last_name", last_name) - pulumi.set(__self__, "line1", line1) - pulumi.set(__self__, "line2", line2) - pulumi.set(__self__, "line3", line3) - pulumi.set(__self__, "line4", line4) - pulumi.set(__self__, "middle_name", middle_name) - pulumi.set(__self__, "municipal_inscription", municipal_inscription) - pulumi.set(__self__, "phone_country_code", phone_country_code) - pulumi.set(__self__, "phone_number", phone_number) - pulumi.set(__self__, "postal_code", postal_code) - pulumi.set(__self__, "province", province) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "state_inscription", state_inscription) - pulumi.set(__self__, "street_name", street_name) - pulumi.set(__self__, "street_number", street_number) + GetSubscriptionSubscriptionBillingAddressResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + address_key=address_key, + city=city, + company_name=company_name, + contributor_class=contributor_class, + country=country, + county=county, + department_name=department_name, + email_address=email_address, + first_name=first_name, + internal_number=internal_number, + job_title=job_title, + last_name=last_name, + line1=line1, + line2=line2, + line3=line3, + line4=line4, + middle_name=middle_name, + municipal_inscription=municipal_inscription, + phone_country_code=phone_country_code, + phone_number=phone_number, + postal_code=postal_code, + province=province, + state=state, + state_inscription=state_inscription, + street_name=street_name, + street_number=street_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address_key: str, + city: str, + company_name: str, + contributor_class: str, + country: str, + county: str, + department_name: str, + email_address: str, + first_name: str, + internal_number: str, + job_title: str, + last_name: str, + line1: str, + line2: str, + line3: str, + line4: str, + middle_name: str, + municipal_inscription: str, + phone_country_code: str, + phone_number: str, + postal_code: str, + province: str, + state: str, + state_inscription: str, + street_name: str, + street_number: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("address_key", address_key) + _setter("city", city) + _setter("company_name", company_name) + _setter("contributor_class", contributor_class) + _setter("country", country) + _setter("county", county) + _setter("department_name", department_name) + _setter("email_address", email_address) + _setter("first_name", first_name) + _setter("internal_number", internal_number) + _setter("job_title", job_title) + _setter("last_name", last_name) + _setter("line1", line1) + _setter("line2", line2) + _setter("line3", line3) + _setter("line4", line4) + _setter("middle_name", middle_name) + _setter("municipal_inscription", municipal_inscription) + _setter("phone_country_code", phone_country_code) + _setter("phone_number", phone_number) + _setter("postal_code", postal_code) + _setter("province", province) + _setter("state", state) + _setter("state_inscription", state_inscription) + _setter("street_name", street_name) + _setter("street_number", street_number) @property @pulumi.getter(name="addressKey") @@ -5283,7 +6406,16 @@ def __init__(__self__, *, """ :param Sequence['GetSubscriptionSubscriptionPaymentGatewayMerchantDefinedDataArgs'] merchant_defined_datas: Merchant details. """ - pulumi.set(__self__, "merchant_defined_datas", merchant_defined_datas) + GetSubscriptionSubscriptionPaymentGatewayResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + merchant_defined_datas=merchant_defined_datas, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + merchant_defined_datas: Sequence['outputs.GetSubscriptionSubscriptionPaymentGatewayMerchantDefinedDataResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("merchant_defined_datas", merchant_defined_datas) @property @pulumi.getter(name="merchantDefinedDatas") @@ -5303,8 +6435,19 @@ def __init__(__self__, *, :param str cloud_account_name: Cloud account name. :param str promo_type: Promotion type code. """ - pulumi.set(__self__, "cloud_account_name", cloud_account_name) - pulumi.set(__self__, "promo_type", promo_type) + GetSubscriptionSubscriptionPaymentGatewayMerchantDefinedDataResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cloud_account_name=cloud_account_name, + promo_type=promo_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cloud_account_name: str, + promo_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cloud_account_name", cloud_account_name) + _setter("promo_type", promo_type) @property @pulumi.getter(name="cloudAccountName") @@ -5350,17 +6493,46 @@ def __init__(__self__, *, :param str wallet_instrument_id: Wallet instrument internal id. :param str wallet_transaction_id: Wallet transaction id. """ - pulumi.set(__self__, "credit_card_type", credit_card_type) - pulumi.set(__self__, "email_address", email_address) - pulumi.set(__self__, "ext_billing_agreement_id", ext_billing_agreement_id) - pulumi.set(__self__, "first_name", first_name) - pulumi.set(__self__, "last_digits", last_digits) - pulumi.set(__self__, "last_name", last_name) - pulumi.set(__self__, "name_on_card", name_on_card) - pulumi.set(__self__, "payment_method", payment_method) - pulumi.set(__self__, "time_expiration", time_expiration) - pulumi.set(__self__, "wallet_instrument_id", wallet_instrument_id) - pulumi.set(__self__, "wallet_transaction_id", wallet_transaction_id) + GetSubscriptionSubscriptionPaymentOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + credit_card_type=credit_card_type, + email_address=email_address, + ext_billing_agreement_id=ext_billing_agreement_id, + first_name=first_name, + last_digits=last_digits, + last_name=last_name, + name_on_card=name_on_card, + payment_method=payment_method, + time_expiration=time_expiration, + wallet_instrument_id=wallet_instrument_id, + wallet_transaction_id=wallet_transaction_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + credit_card_type: str, + email_address: str, + ext_billing_agreement_id: str, + first_name: str, + last_digits: str, + last_name: str, + name_on_card: str, + payment_method: str, + time_expiration: str, + wallet_instrument_id: str, + wallet_transaction_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("credit_card_type", credit_card_type) + _setter("email_address", email_address) + _setter("ext_billing_agreement_id", ext_billing_agreement_id) + _setter("first_name", first_name) + _setter("last_digits", last_digits) + _setter("last_name", last_name) + _setter("name_on_card", name_on_card) + _setter("payment_method", payment_method) + _setter("time_expiration", time_expiration) + _setter("wallet_instrument_id", wallet_instrument_id) + _setter("wallet_transaction_id", wallet_transaction_id) @property @pulumi.getter(name="creditCardType") @@ -5466,11 +6638,28 @@ def __init__(__self__, *, :param str tax_payer_id: Tay payer identifier. :param str tax_reg_number: Tax registration number. """ - pulumi.set(__self__, "no_tax_reason_code", no_tax_reason_code) - pulumi.set(__self__, "no_tax_reason_code_details", no_tax_reason_code_details) - pulumi.set(__self__, "tax_cnpj", tax_cnpj) - pulumi.set(__self__, "tax_payer_id", tax_payer_id) - pulumi.set(__self__, "tax_reg_number", tax_reg_number) + GetSubscriptionSubscriptionTaxInfoResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + no_tax_reason_code=no_tax_reason_code, + no_tax_reason_code_details=no_tax_reason_code_details, + tax_cnpj=tax_cnpj, + tax_payer_id=tax_payer_id, + tax_reg_number=tax_reg_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + no_tax_reason_code: str, + no_tax_reason_code_details: str, + tax_cnpj: str, + tax_payer_id: str, + tax_reg_number: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("no_tax_reason_code", no_tax_reason_code) + _setter("no_tax_reason_code_details", no_tax_reason_code_details) + _setter("tax_cnpj", tax_cnpj) + _setter("tax_payer_id", tax_payer_id) + _setter("tax_reg_number", tax_reg_number) @property @pulumi.getter(name="noTaxReasonCode") @@ -5528,11 +6717,28 @@ def __init__(__self__, *, :param str tax_payer_id: Tay payer identifier. :param str tax_reg_number: Tax registration number. """ - pulumi.set(__self__, "no_tax_reason_code", no_tax_reason_code) - pulumi.set(__self__, "no_tax_reason_code_details", no_tax_reason_code_details) - pulumi.set(__self__, "tax_cnpj", tax_cnpj) - pulumi.set(__self__, "tax_payer_id", tax_payer_id) - pulumi.set(__self__, "tax_reg_number", tax_reg_number) + GetSubscriptionTaxInfoResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + no_tax_reason_code=no_tax_reason_code, + no_tax_reason_code_details=no_tax_reason_code_details, + tax_cnpj=tax_cnpj, + tax_payer_id=tax_payer_id, + tax_reg_number=tax_reg_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + no_tax_reason_code: str, + no_tax_reason_code_details: str, + tax_cnpj: str, + tax_payer_id: str, + tax_reg_number: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("no_tax_reason_code", no_tax_reason_code) + _setter("no_tax_reason_code_details", no_tax_reason_code_details) + _setter("tax_cnpj", tax_cnpj) + _setter("tax_payer_id", tax_payer_id) + _setter("tax_reg_number", tax_reg_number) @property @pulumi.getter(name="noTaxReasonCode") @@ -5581,10 +6787,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSubscriptionsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5606,7 +6825,16 @@ def regex(self) -> Optional[bool]: class GetSubscriptionsSubscriptionCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetSubscriptionsSubscriptionCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetSubscriptionsSubscriptionCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetSubscriptionsSubscriptionCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -5668,32 +6896,91 @@ def __init__(__self__, *, :param str upgrade_state: Status of the upgrade. :param str upgrade_state_details: This field is used to describe the Upgrade State in case of error (E.g. Upgrade failure caused by interfacing Tax details- TaxError) """ - pulumi.set(__self__, "account_type", account_type) - pulumi.set(__self__, "bill_to_cust_account_id", bill_to_cust_account_id) - pulumi.set(__self__, "billing_addresses", billing_addresses) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "currency_code", currency_code) - pulumi.set(__self__, "email", email) - pulumi.set(__self__, "gsi_org_code", gsi_org_code) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_intent_to_pay", is_intent_to_pay) - pulumi.set(__self__, "language_code", language_code) - pulumi.set(__self__, "organization_id", organization_id) - pulumi.set(__self__, "osp_home_region", osp_home_region) - pulumi.set(__self__, "payment_gateways", payment_gateways) - pulumi.set(__self__, "payment_options", payment_options) - pulumi.set(__self__, "plan_type", plan_type) - pulumi.set(__self__, "ship_to_cust_acct_role_id", ship_to_cust_acct_role_id) - pulumi.set(__self__, "ship_to_cust_acct_site_id", ship_to_cust_acct_site_id) - pulumi.set(__self__, "subscription_id", subscription_id) - pulumi.set(__self__, "subscription_plan_number", subscription_plan_number) - pulumi.set(__self__, "subscriptions", subscriptions) - pulumi.set(__self__, "tax_infos", tax_infos) - pulumi.set(__self__, "time_personal_to_corporate_conv", time_personal_to_corporate_conv) - pulumi.set(__self__, "time_plan_upgrade", time_plan_upgrade) - pulumi.set(__self__, "time_start", time_start) - pulumi.set(__self__, "upgrade_state", upgrade_state) - pulumi.set(__self__, "upgrade_state_details", upgrade_state_details) + GetSubscriptionsSubscriptionCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_type=account_type, + bill_to_cust_account_id=bill_to_cust_account_id, + billing_addresses=billing_addresses, + compartment_id=compartment_id, + currency_code=currency_code, + email=email, + gsi_org_code=gsi_org_code, + id=id, + is_intent_to_pay=is_intent_to_pay, + language_code=language_code, + organization_id=organization_id, + osp_home_region=osp_home_region, + payment_gateways=payment_gateways, + payment_options=payment_options, + plan_type=plan_type, + ship_to_cust_acct_role_id=ship_to_cust_acct_role_id, + ship_to_cust_acct_site_id=ship_to_cust_acct_site_id, + subscription_id=subscription_id, + subscription_plan_number=subscription_plan_number, + subscriptions=subscriptions, + tax_infos=tax_infos, + time_personal_to_corporate_conv=time_personal_to_corporate_conv, + time_plan_upgrade=time_plan_upgrade, + time_start=time_start, + upgrade_state=upgrade_state, + upgrade_state_details=upgrade_state_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_type: str, + bill_to_cust_account_id: str, + billing_addresses: Sequence['outputs.GetSubscriptionsSubscriptionCollectionItemBillingAddressResult'], + compartment_id: str, + currency_code: str, + email: str, + gsi_org_code: str, + id: str, + is_intent_to_pay: bool, + language_code: str, + organization_id: str, + osp_home_region: str, + payment_gateways: Sequence['outputs.GetSubscriptionsSubscriptionCollectionItemPaymentGatewayResult'], + payment_options: Sequence['outputs.GetSubscriptionsSubscriptionCollectionItemPaymentOptionResult'], + plan_type: str, + ship_to_cust_acct_role_id: str, + ship_to_cust_acct_site_id: str, + subscription_id: str, + subscription_plan_number: str, + subscriptions: Sequence['outputs.GetSubscriptionsSubscriptionCollectionItemSubscriptionResult'], + tax_infos: Sequence['outputs.GetSubscriptionsSubscriptionCollectionItemTaxInfoResult'], + time_personal_to_corporate_conv: str, + time_plan_upgrade: str, + time_start: str, + upgrade_state: str, + upgrade_state_details: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("account_type", account_type) + _setter("bill_to_cust_account_id", bill_to_cust_account_id) + _setter("billing_addresses", billing_addresses) + _setter("compartment_id", compartment_id) + _setter("currency_code", currency_code) + _setter("email", email) + _setter("gsi_org_code", gsi_org_code) + _setter("id", id) + _setter("is_intent_to_pay", is_intent_to_pay) + _setter("language_code", language_code) + _setter("organization_id", organization_id) + _setter("osp_home_region", osp_home_region) + _setter("payment_gateways", payment_gateways) + _setter("payment_options", payment_options) + _setter("plan_type", plan_type) + _setter("ship_to_cust_acct_role_id", ship_to_cust_acct_role_id) + _setter("ship_to_cust_acct_site_id", ship_to_cust_acct_site_id) + _setter("subscription_id", subscription_id) + _setter("subscription_plan_number", subscription_plan_number) + _setter("subscriptions", subscriptions) + _setter("tax_infos", tax_infos) + _setter("time_personal_to_corporate_conv", time_personal_to_corporate_conv) + _setter("time_plan_upgrade", time_plan_upgrade) + _setter("time_start", time_start) + _setter("upgrade_state", upgrade_state) + _setter("upgrade_state_details", upgrade_state_details) @property @pulumi.getter(name="accountType") @@ -5952,32 +7239,91 @@ def __init__(__self__, *, :param str street_name: Street name of the address. :param str street_number: Street number of the address. """ - pulumi.set(__self__, "address_key", address_key) - pulumi.set(__self__, "city", city) - pulumi.set(__self__, "company_name", company_name) - pulumi.set(__self__, "contributor_class", contributor_class) - pulumi.set(__self__, "country", country) - pulumi.set(__self__, "county", county) - pulumi.set(__self__, "department_name", department_name) - pulumi.set(__self__, "email_address", email_address) - pulumi.set(__self__, "first_name", first_name) - pulumi.set(__self__, "internal_number", internal_number) - pulumi.set(__self__, "job_title", job_title) - pulumi.set(__self__, "last_name", last_name) - pulumi.set(__self__, "line1", line1) - pulumi.set(__self__, "line2", line2) - pulumi.set(__self__, "line3", line3) - pulumi.set(__self__, "line4", line4) - pulumi.set(__self__, "middle_name", middle_name) - pulumi.set(__self__, "municipal_inscription", municipal_inscription) - pulumi.set(__self__, "phone_country_code", phone_country_code) - pulumi.set(__self__, "phone_number", phone_number) - pulumi.set(__self__, "postal_code", postal_code) - pulumi.set(__self__, "province", province) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "state_inscription", state_inscription) - pulumi.set(__self__, "street_name", street_name) - pulumi.set(__self__, "street_number", street_number) + GetSubscriptionsSubscriptionCollectionItemBillingAddressResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + address_key=address_key, + city=city, + company_name=company_name, + contributor_class=contributor_class, + country=country, + county=county, + department_name=department_name, + email_address=email_address, + first_name=first_name, + internal_number=internal_number, + job_title=job_title, + last_name=last_name, + line1=line1, + line2=line2, + line3=line3, + line4=line4, + middle_name=middle_name, + municipal_inscription=municipal_inscription, + phone_country_code=phone_country_code, + phone_number=phone_number, + postal_code=postal_code, + province=province, + state=state, + state_inscription=state_inscription, + street_name=street_name, + street_number=street_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address_key: str, + city: str, + company_name: str, + contributor_class: str, + country: str, + county: str, + department_name: str, + email_address: str, + first_name: str, + internal_number: str, + job_title: str, + last_name: str, + line1: str, + line2: str, + line3: str, + line4: str, + middle_name: str, + municipal_inscription: str, + phone_country_code: str, + phone_number: str, + postal_code: str, + province: str, + state: str, + state_inscription: str, + street_name: str, + street_number: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("address_key", address_key) + _setter("city", city) + _setter("company_name", company_name) + _setter("contributor_class", contributor_class) + _setter("country", country) + _setter("county", county) + _setter("department_name", department_name) + _setter("email_address", email_address) + _setter("first_name", first_name) + _setter("internal_number", internal_number) + _setter("job_title", job_title) + _setter("last_name", last_name) + _setter("line1", line1) + _setter("line2", line2) + _setter("line3", line3) + _setter("line4", line4) + _setter("middle_name", middle_name) + _setter("municipal_inscription", municipal_inscription) + _setter("phone_country_code", phone_country_code) + _setter("phone_number", phone_number) + _setter("postal_code", postal_code) + _setter("province", province) + _setter("state", state) + _setter("state_inscription", state_inscription) + _setter("street_name", street_name) + _setter("street_number", street_number) @property @pulumi.getter(name="addressKey") @@ -6195,7 +7541,16 @@ def __init__(__self__, *, """ :param Sequence['GetSubscriptionsSubscriptionCollectionItemPaymentGatewayMerchantDefinedDataArgs'] merchant_defined_datas: Merchant details. """ - pulumi.set(__self__, "merchant_defined_datas", merchant_defined_datas) + GetSubscriptionsSubscriptionCollectionItemPaymentGatewayResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + merchant_defined_datas=merchant_defined_datas, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + merchant_defined_datas: Sequence['outputs.GetSubscriptionsSubscriptionCollectionItemPaymentGatewayMerchantDefinedDataResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("merchant_defined_datas", merchant_defined_datas) @property @pulumi.getter(name="merchantDefinedDatas") @@ -6215,8 +7570,19 @@ def __init__(__self__, *, :param str cloud_account_name: Cloud account name. :param str promo_type: Promotion type code. """ - pulumi.set(__self__, "cloud_account_name", cloud_account_name) - pulumi.set(__self__, "promo_type", promo_type) + GetSubscriptionsSubscriptionCollectionItemPaymentGatewayMerchantDefinedDataResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cloud_account_name=cloud_account_name, + promo_type=promo_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cloud_account_name: str, + promo_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cloud_account_name", cloud_account_name) + _setter("promo_type", promo_type) @property @pulumi.getter(name="cloudAccountName") @@ -6262,17 +7628,46 @@ def __init__(__self__, *, :param str wallet_instrument_id: Wallet instrument internal id. :param str wallet_transaction_id: Wallet transaction id. """ - pulumi.set(__self__, "credit_card_type", credit_card_type) - pulumi.set(__self__, "email_address", email_address) - pulumi.set(__self__, "ext_billing_agreement_id", ext_billing_agreement_id) - pulumi.set(__self__, "first_name", first_name) - pulumi.set(__self__, "last_digits", last_digits) - pulumi.set(__self__, "last_name", last_name) - pulumi.set(__self__, "name_on_card", name_on_card) - pulumi.set(__self__, "payment_method", payment_method) - pulumi.set(__self__, "time_expiration", time_expiration) - pulumi.set(__self__, "wallet_instrument_id", wallet_instrument_id) - pulumi.set(__self__, "wallet_transaction_id", wallet_transaction_id) + GetSubscriptionsSubscriptionCollectionItemPaymentOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + credit_card_type=credit_card_type, + email_address=email_address, + ext_billing_agreement_id=ext_billing_agreement_id, + first_name=first_name, + last_digits=last_digits, + last_name=last_name, + name_on_card=name_on_card, + payment_method=payment_method, + time_expiration=time_expiration, + wallet_instrument_id=wallet_instrument_id, + wallet_transaction_id=wallet_transaction_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + credit_card_type: str, + email_address: str, + ext_billing_agreement_id: str, + first_name: str, + last_digits: str, + last_name: str, + name_on_card: str, + payment_method: str, + time_expiration: str, + wallet_instrument_id: str, + wallet_transaction_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("credit_card_type", credit_card_type) + _setter("email_address", email_address) + _setter("ext_billing_agreement_id", ext_billing_agreement_id) + _setter("first_name", first_name) + _setter("last_digits", last_digits) + _setter("last_name", last_name) + _setter("name_on_card", name_on_card) + _setter("payment_method", payment_method) + _setter("time_expiration", time_expiration) + _setter("wallet_instrument_id", wallet_instrument_id) + _setter("wallet_transaction_id", wallet_transaction_id) @property @pulumi.getter(name="creditCardType") @@ -6410,27 +7805,76 @@ def __init__(__self__, *, :param str upgrade_state: Status of the upgrade. :param str upgrade_state_details: This field is used to describe the Upgrade State in case of error (E.g. Upgrade failure caused by interfacing Tax details- TaxError) """ - pulumi.set(__self__, "account_type", account_type) - pulumi.set(__self__, "bill_to_cust_account_id", bill_to_cust_account_id) - pulumi.set(__self__, "billing_addresses", billing_addresses) - pulumi.set(__self__, "currency_code", currency_code) - pulumi.set(__self__, "gsi_org_code", gsi_org_code) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_intent_to_pay", is_intent_to_pay) - pulumi.set(__self__, "language_code", language_code) - pulumi.set(__self__, "organization_id", organization_id) - pulumi.set(__self__, "payment_gateways", payment_gateways) - pulumi.set(__self__, "payment_options", payment_options) - pulumi.set(__self__, "plan_type", plan_type) - pulumi.set(__self__, "ship_to_cust_acct_role_id", ship_to_cust_acct_role_id) - pulumi.set(__self__, "ship_to_cust_acct_site_id", ship_to_cust_acct_site_id) - pulumi.set(__self__, "subscription_plan_number", subscription_plan_number) - pulumi.set(__self__, "tax_infos", tax_infos) - pulumi.set(__self__, "time_personal_to_corporate_conv", time_personal_to_corporate_conv) - pulumi.set(__self__, "time_plan_upgrade", time_plan_upgrade) - pulumi.set(__self__, "time_start", time_start) - pulumi.set(__self__, "upgrade_state", upgrade_state) - pulumi.set(__self__, "upgrade_state_details", upgrade_state_details) + GetSubscriptionsSubscriptionCollectionItemSubscriptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_type=account_type, + bill_to_cust_account_id=bill_to_cust_account_id, + billing_addresses=billing_addresses, + currency_code=currency_code, + gsi_org_code=gsi_org_code, + id=id, + is_intent_to_pay=is_intent_to_pay, + language_code=language_code, + organization_id=organization_id, + payment_gateways=payment_gateways, + payment_options=payment_options, + plan_type=plan_type, + ship_to_cust_acct_role_id=ship_to_cust_acct_role_id, + ship_to_cust_acct_site_id=ship_to_cust_acct_site_id, + subscription_plan_number=subscription_plan_number, + tax_infos=tax_infos, + time_personal_to_corporate_conv=time_personal_to_corporate_conv, + time_plan_upgrade=time_plan_upgrade, + time_start=time_start, + upgrade_state=upgrade_state, + upgrade_state_details=upgrade_state_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_type: str, + bill_to_cust_account_id: str, + billing_addresses: Sequence['outputs.GetSubscriptionsSubscriptionCollectionItemSubscriptionBillingAddressResult'], + currency_code: str, + gsi_org_code: str, + id: str, + is_intent_to_pay: bool, + language_code: str, + organization_id: str, + payment_gateways: Sequence['outputs.GetSubscriptionsSubscriptionCollectionItemSubscriptionPaymentGatewayResult'], + payment_options: Sequence['outputs.GetSubscriptionsSubscriptionCollectionItemSubscriptionPaymentOptionResult'], + plan_type: str, + ship_to_cust_acct_role_id: str, + ship_to_cust_acct_site_id: str, + subscription_plan_number: str, + tax_infos: Sequence['outputs.GetSubscriptionsSubscriptionCollectionItemSubscriptionTaxInfoResult'], + time_personal_to_corporate_conv: str, + time_plan_upgrade: str, + time_start: str, + upgrade_state: str, + upgrade_state_details: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("account_type", account_type) + _setter("bill_to_cust_account_id", bill_to_cust_account_id) + _setter("billing_addresses", billing_addresses) + _setter("currency_code", currency_code) + _setter("gsi_org_code", gsi_org_code) + _setter("id", id) + _setter("is_intent_to_pay", is_intent_to_pay) + _setter("language_code", language_code) + _setter("organization_id", organization_id) + _setter("payment_gateways", payment_gateways) + _setter("payment_options", payment_options) + _setter("plan_type", plan_type) + _setter("ship_to_cust_acct_role_id", ship_to_cust_acct_role_id) + _setter("ship_to_cust_acct_site_id", ship_to_cust_acct_site_id) + _setter("subscription_plan_number", subscription_plan_number) + _setter("tax_infos", tax_infos) + _setter("time_personal_to_corporate_conv", time_personal_to_corporate_conv) + _setter("time_plan_upgrade", time_plan_upgrade) + _setter("time_start", time_start) + _setter("upgrade_state", upgrade_state) + _setter("upgrade_state_details", upgrade_state_details) @property @pulumi.getter(name="accountType") @@ -6658,32 +8102,91 @@ def __init__(__self__, *, :param str street_name: Street name of the address. :param str street_number: Street number of the address. """ - pulumi.set(__self__, "address_key", address_key) - pulumi.set(__self__, "city", city) - pulumi.set(__self__, "company_name", company_name) - pulumi.set(__self__, "contributor_class", contributor_class) - pulumi.set(__self__, "country", country) - pulumi.set(__self__, "county", county) - pulumi.set(__self__, "department_name", department_name) - pulumi.set(__self__, "email_address", email_address) - pulumi.set(__self__, "first_name", first_name) - pulumi.set(__self__, "internal_number", internal_number) - pulumi.set(__self__, "job_title", job_title) - pulumi.set(__self__, "last_name", last_name) - pulumi.set(__self__, "line1", line1) - pulumi.set(__self__, "line2", line2) - pulumi.set(__self__, "line3", line3) - pulumi.set(__self__, "line4", line4) - pulumi.set(__self__, "middle_name", middle_name) - pulumi.set(__self__, "municipal_inscription", municipal_inscription) - pulumi.set(__self__, "phone_country_code", phone_country_code) - pulumi.set(__self__, "phone_number", phone_number) - pulumi.set(__self__, "postal_code", postal_code) - pulumi.set(__self__, "province", province) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "state_inscription", state_inscription) - pulumi.set(__self__, "street_name", street_name) - pulumi.set(__self__, "street_number", street_number) + GetSubscriptionsSubscriptionCollectionItemSubscriptionBillingAddressResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + address_key=address_key, + city=city, + company_name=company_name, + contributor_class=contributor_class, + country=country, + county=county, + department_name=department_name, + email_address=email_address, + first_name=first_name, + internal_number=internal_number, + job_title=job_title, + last_name=last_name, + line1=line1, + line2=line2, + line3=line3, + line4=line4, + middle_name=middle_name, + municipal_inscription=municipal_inscription, + phone_country_code=phone_country_code, + phone_number=phone_number, + postal_code=postal_code, + province=province, + state=state, + state_inscription=state_inscription, + street_name=street_name, + street_number=street_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address_key: str, + city: str, + company_name: str, + contributor_class: str, + country: str, + county: str, + department_name: str, + email_address: str, + first_name: str, + internal_number: str, + job_title: str, + last_name: str, + line1: str, + line2: str, + line3: str, + line4: str, + middle_name: str, + municipal_inscription: str, + phone_country_code: str, + phone_number: str, + postal_code: str, + province: str, + state: str, + state_inscription: str, + street_name: str, + street_number: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("address_key", address_key) + _setter("city", city) + _setter("company_name", company_name) + _setter("contributor_class", contributor_class) + _setter("country", country) + _setter("county", county) + _setter("department_name", department_name) + _setter("email_address", email_address) + _setter("first_name", first_name) + _setter("internal_number", internal_number) + _setter("job_title", job_title) + _setter("last_name", last_name) + _setter("line1", line1) + _setter("line2", line2) + _setter("line3", line3) + _setter("line4", line4) + _setter("middle_name", middle_name) + _setter("municipal_inscription", municipal_inscription) + _setter("phone_country_code", phone_country_code) + _setter("phone_number", phone_number) + _setter("postal_code", postal_code) + _setter("province", province) + _setter("state", state) + _setter("state_inscription", state_inscription) + _setter("street_name", street_name) + _setter("street_number", street_number) @property @pulumi.getter(name="addressKey") @@ -6901,7 +8404,16 @@ def __init__(__self__, *, """ :param Sequence['GetSubscriptionsSubscriptionCollectionItemSubscriptionPaymentGatewayMerchantDefinedDataArgs'] merchant_defined_datas: Merchant details. """ - pulumi.set(__self__, "merchant_defined_datas", merchant_defined_datas) + GetSubscriptionsSubscriptionCollectionItemSubscriptionPaymentGatewayResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + merchant_defined_datas=merchant_defined_datas, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + merchant_defined_datas: Sequence['outputs.GetSubscriptionsSubscriptionCollectionItemSubscriptionPaymentGatewayMerchantDefinedDataResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("merchant_defined_datas", merchant_defined_datas) @property @pulumi.getter(name="merchantDefinedDatas") @@ -6921,8 +8433,19 @@ def __init__(__self__, *, :param str cloud_account_name: Cloud account name. :param str promo_type: Promotion type code. """ - pulumi.set(__self__, "cloud_account_name", cloud_account_name) - pulumi.set(__self__, "promo_type", promo_type) + GetSubscriptionsSubscriptionCollectionItemSubscriptionPaymentGatewayMerchantDefinedDataResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cloud_account_name=cloud_account_name, + promo_type=promo_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cloud_account_name: str, + promo_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cloud_account_name", cloud_account_name) + _setter("promo_type", promo_type) @property @pulumi.getter(name="cloudAccountName") @@ -6968,17 +8491,46 @@ def __init__(__self__, *, :param str wallet_instrument_id: Wallet instrument internal id. :param str wallet_transaction_id: Wallet transaction id. """ - pulumi.set(__self__, "credit_card_type", credit_card_type) - pulumi.set(__self__, "email_address", email_address) - pulumi.set(__self__, "ext_billing_agreement_id", ext_billing_agreement_id) - pulumi.set(__self__, "first_name", first_name) - pulumi.set(__self__, "last_digits", last_digits) - pulumi.set(__self__, "last_name", last_name) - pulumi.set(__self__, "name_on_card", name_on_card) - pulumi.set(__self__, "payment_method", payment_method) - pulumi.set(__self__, "time_expiration", time_expiration) - pulumi.set(__self__, "wallet_instrument_id", wallet_instrument_id) - pulumi.set(__self__, "wallet_transaction_id", wallet_transaction_id) + GetSubscriptionsSubscriptionCollectionItemSubscriptionPaymentOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + credit_card_type=credit_card_type, + email_address=email_address, + ext_billing_agreement_id=ext_billing_agreement_id, + first_name=first_name, + last_digits=last_digits, + last_name=last_name, + name_on_card=name_on_card, + payment_method=payment_method, + time_expiration=time_expiration, + wallet_instrument_id=wallet_instrument_id, + wallet_transaction_id=wallet_transaction_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + credit_card_type: str, + email_address: str, + ext_billing_agreement_id: str, + first_name: str, + last_digits: str, + last_name: str, + name_on_card: str, + payment_method: str, + time_expiration: str, + wallet_instrument_id: str, + wallet_transaction_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("credit_card_type", credit_card_type) + _setter("email_address", email_address) + _setter("ext_billing_agreement_id", ext_billing_agreement_id) + _setter("first_name", first_name) + _setter("last_digits", last_digits) + _setter("last_name", last_name) + _setter("name_on_card", name_on_card) + _setter("payment_method", payment_method) + _setter("time_expiration", time_expiration) + _setter("wallet_instrument_id", wallet_instrument_id) + _setter("wallet_transaction_id", wallet_transaction_id) @property @pulumi.getter(name="creditCardType") @@ -7084,11 +8636,28 @@ def __init__(__self__, *, :param str tax_payer_id: Tay payer identifier. :param str tax_reg_number: Tax registration number. """ - pulumi.set(__self__, "no_tax_reason_code", no_tax_reason_code) - pulumi.set(__self__, "no_tax_reason_code_details", no_tax_reason_code_details) - pulumi.set(__self__, "tax_cnpj", tax_cnpj) - pulumi.set(__self__, "tax_payer_id", tax_payer_id) - pulumi.set(__self__, "tax_reg_number", tax_reg_number) + GetSubscriptionsSubscriptionCollectionItemSubscriptionTaxInfoResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + no_tax_reason_code=no_tax_reason_code, + no_tax_reason_code_details=no_tax_reason_code_details, + tax_cnpj=tax_cnpj, + tax_payer_id=tax_payer_id, + tax_reg_number=tax_reg_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + no_tax_reason_code: str, + no_tax_reason_code_details: str, + tax_cnpj: str, + tax_payer_id: str, + tax_reg_number: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("no_tax_reason_code", no_tax_reason_code) + _setter("no_tax_reason_code_details", no_tax_reason_code_details) + _setter("tax_cnpj", tax_cnpj) + _setter("tax_payer_id", tax_payer_id) + _setter("tax_reg_number", tax_reg_number) @property @pulumi.getter(name="noTaxReasonCode") @@ -7146,11 +8715,28 @@ def __init__(__self__, *, :param str tax_payer_id: Tay payer identifier. :param str tax_reg_number: Tax registration number. """ - pulumi.set(__self__, "no_tax_reason_code", no_tax_reason_code) - pulumi.set(__self__, "no_tax_reason_code_details", no_tax_reason_code_details) - pulumi.set(__self__, "tax_cnpj", tax_cnpj) - pulumi.set(__self__, "tax_payer_id", tax_payer_id) - pulumi.set(__self__, "tax_reg_number", tax_reg_number) + GetSubscriptionsSubscriptionCollectionItemTaxInfoResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + no_tax_reason_code=no_tax_reason_code, + no_tax_reason_code_details=no_tax_reason_code_details, + tax_cnpj=tax_cnpj, + tax_payer_id=tax_payer_id, + tax_reg_number=tax_reg_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + no_tax_reason_code: str, + no_tax_reason_code_details: str, + tax_cnpj: str, + tax_payer_id: str, + tax_reg_number: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("no_tax_reason_code", no_tax_reason_code) + _setter("no_tax_reason_code_details", no_tax_reason_code_details) + _setter("tax_cnpj", tax_cnpj) + _setter("tax_payer_id", tax_payer_id) + _setter("tax_reg_number", tax_reg_number) @property @pulumi.getter(name="noTaxReasonCode") diff --git a/sdk/python/pulumi_oci/ospgateway/subscription.py b/sdk/python/pulumi_oci/ospgateway/subscription.py index 16e85cd169..bc283a1ee0 100644 --- a/sdk/python/pulumi_oci/ospgateway/subscription.py +++ b/sdk/python/pulumi_oci/ospgateway/subscription.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -33,11 +33,28 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "email", email) - pulumi.set(__self__, "osp_home_region", osp_home_region) - pulumi.set(__self__, "subscription", subscription) - pulumi.set(__self__, "subscription_id", subscription_id) + SubscriptionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + email=email, + osp_home_region=osp_home_region, + subscription=subscription, + subscription_id=subscription_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + email: pulumi.Input[str], + osp_home_region: pulumi.Input[str], + subscription: pulumi.Input['SubscriptionSubscriptionArgs'], + subscription_id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("email", email) + _setter("osp_home_region", osp_home_region) + _setter("subscription", subscription) + _setter("subscription_id", subscription_id) @property @pulumi.getter(name="compartmentId") @@ -164,56 +181,113 @@ def __init__(__self__, *, :param pulumi.Input[str] upgrade_state: (Updatable) Status of the upgrade. :param pulumi.Input[str] upgrade_state_details: (Updatable) This field is used to describe the Upgrade State in case of error (E.g. Upgrade failure caused by interfacing Tax details- TaxError) """ + _SubscriptionState._configure( + lambda key, value: pulumi.set(__self__, key, value), + account_type=account_type, + bill_to_cust_account_id=bill_to_cust_account_id, + billing_addresses=billing_addresses, + compartment_id=compartment_id, + currency_code=currency_code, + email=email, + gsi_org_code=gsi_org_code, + is_intent_to_pay=is_intent_to_pay, + language_code=language_code, + organization_id=organization_id, + osp_home_region=osp_home_region, + payment_gateways=payment_gateways, + payment_options=payment_options, + plan_type=plan_type, + ship_to_cust_acct_role_id=ship_to_cust_acct_role_id, + ship_to_cust_acct_site_id=ship_to_cust_acct_site_id, + subscription=subscription, + subscription_id=subscription_id, + subscription_plan_number=subscription_plan_number, + tax_infos=tax_infos, + time_personal_to_corporate_conv=time_personal_to_corporate_conv, + time_plan_upgrade=time_plan_upgrade, + time_start=time_start, + upgrade_state=upgrade_state, + upgrade_state_details=upgrade_state_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + account_type: Optional[pulumi.Input[str]] = None, + bill_to_cust_account_id: Optional[pulumi.Input[str]] = None, + billing_addresses: Optional[pulumi.Input[Sequence[pulumi.Input['SubscriptionBillingAddressArgs']]]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + currency_code: Optional[pulumi.Input[str]] = None, + email: Optional[pulumi.Input[str]] = None, + gsi_org_code: Optional[pulumi.Input[str]] = None, + is_intent_to_pay: Optional[pulumi.Input[bool]] = None, + language_code: Optional[pulumi.Input[str]] = None, + organization_id: Optional[pulumi.Input[str]] = None, + osp_home_region: Optional[pulumi.Input[str]] = None, + payment_gateways: Optional[pulumi.Input[Sequence[pulumi.Input['SubscriptionPaymentGatewayArgs']]]] = None, + payment_options: Optional[pulumi.Input[Sequence[pulumi.Input['SubscriptionPaymentOptionArgs']]]] = None, + plan_type: Optional[pulumi.Input[str]] = None, + ship_to_cust_acct_role_id: Optional[pulumi.Input[str]] = None, + ship_to_cust_acct_site_id: Optional[pulumi.Input[str]] = None, + subscription: Optional[pulumi.Input['SubscriptionSubscriptionArgs']] = None, + subscription_id: Optional[pulumi.Input[str]] = None, + subscription_plan_number: Optional[pulumi.Input[str]] = None, + tax_infos: Optional[pulumi.Input[Sequence[pulumi.Input['SubscriptionTaxInfoArgs']]]] = None, + time_personal_to_corporate_conv: Optional[pulumi.Input[str]] = None, + time_plan_upgrade: Optional[pulumi.Input[str]] = None, + time_start: Optional[pulumi.Input[str]] = None, + upgrade_state: Optional[pulumi.Input[str]] = None, + upgrade_state_details: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if account_type is not None: - pulumi.set(__self__, "account_type", account_type) + _setter("account_type", account_type) if bill_to_cust_account_id is not None: - pulumi.set(__self__, "bill_to_cust_account_id", bill_to_cust_account_id) + _setter("bill_to_cust_account_id", bill_to_cust_account_id) if billing_addresses is not None: - pulumi.set(__self__, "billing_addresses", billing_addresses) + _setter("billing_addresses", billing_addresses) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if currency_code is not None: - pulumi.set(__self__, "currency_code", currency_code) + _setter("currency_code", currency_code) if email is not None: - pulumi.set(__self__, "email", email) + _setter("email", email) if gsi_org_code is not None: - pulumi.set(__self__, "gsi_org_code", gsi_org_code) + _setter("gsi_org_code", gsi_org_code) if is_intent_to_pay is not None: - pulumi.set(__self__, "is_intent_to_pay", is_intent_to_pay) + _setter("is_intent_to_pay", is_intent_to_pay) if language_code is not None: - pulumi.set(__self__, "language_code", language_code) + _setter("language_code", language_code) if organization_id is not None: - pulumi.set(__self__, "organization_id", organization_id) + _setter("organization_id", organization_id) if osp_home_region is not None: - pulumi.set(__self__, "osp_home_region", osp_home_region) + _setter("osp_home_region", osp_home_region) if payment_gateways is not None: - pulumi.set(__self__, "payment_gateways", payment_gateways) + _setter("payment_gateways", payment_gateways) if payment_options is not None: - pulumi.set(__self__, "payment_options", payment_options) + _setter("payment_options", payment_options) if plan_type is not None: - pulumi.set(__self__, "plan_type", plan_type) + _setter("plan_type", plan_type) if ship_to_cust_acct_role_id is not None: - pulumi.set(__self__, "ship_to_cust_acct_role_id", ship_to_cust_acct_role_id) + _setter("ship_to_cust_acct_role_id", ship_to_cust_acct_role_id) if ship_to_cust_acct_site_id is not None: - pulumi.set(__self__, "ship_to_cust_acct_site_id", ship_to_cust_acct_site_id) + _setter("ship_to_cust_acct_site_id", ship_to_cust_acct_site_id) if subscription is not None: - pulumi.set(__self__, "subscription", subscription) + _setter("subscription", subscription) if subscription_id is not None: - pulumi.set(__self__, "subscription_id", subscription_id) + _setter("subscription_id", subscription_id) if subscription_plan_number is not None: - pulumi.set(__self__, "subscription_plan_number", subscription_plan_number) + _setter("subscription_plan_number", subscription_plan_number) if tax_infos is not None: - pulumi.set(__self__, "tax_infos", tax_infos) + _setter("tax_infos", tax_infos) if time_personal_to_corporate_conv is not None: - pulumi.set(__self__, "time_personal_to_corporate_conv", time_personal_to_corporate_conv) + _setter("time_personal_to_corporate_conv", time_personal_to_corporate_conv) if time_plan_upgrade is not None: - pulumi.set(__self__, "time_plan_upgrade", time_plan_upgrade) + _setter("time_plan_upgrade", time_plan_upgrade) if time_start is not None: - pulumi.set(__self__, "time_start", time_start) + _setter("time_start", time_start) if upgrade_state is not None: - pulumi.set(__self__, "upgrade_state", upgrade_state) + _setter("upgrade_state", upgrade_state) if upgrade_state_details is not None: - pulumi.set(__self__, "upgrade_state_details", upgrade_state_details) + _setter("upgrade_state_details", upgrade_state_details) @property @pulumi.getter(name="accountType") @@ -585,6 +659,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + SubscriptionArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -613,6 +691,11 @@ def _internal_init(__self__, if osp_home_region is None and not opts.urn: raise TypeError("Missing required property 'osp_home_region'") __props__.__dict__["osp_home_region"] = osp_home_region + if subscription is not None and not isinstance(subscription, SubscriptionSubscriptionArgs): + subscription = subscription or {} + def _setter(key, value): + subscription[key] = value + SubscriptionSubscriptionArgs._configure(_setter, **subscription) if subscription is None and not opts.urn: raise TypeError("Missing required property 'subscription'") __props__.__dict__["subscription"] = subscription diff --git a/sdk/python/pulumi_oci/osubbillingschedule/_inputs.py b/sdk/python/pulumi_oci/osubbillingschedule/_inputs.py index 585afe69dd..f9a73e5098 100644 --- a/sdk/python/pulumi_oci/osubbillingschedule/_inputs.py +++ b/sdk/python/pulumi_oci/osubbillingschedule/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -22,10 +22,23 @@ def __init__(__self__, *, """ :param str name: Product name """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetBillingScheduleFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/osubbillingschedule/get_billing_schedule.py b/sdk/python/pulumi_oci/osubbillingschedule/get_billing_schedule.py index 4e9ef14d11..8a79773ec2 100644 --- a/sdk/python/pulumi_oci/osubbillingschedule/get_billing_schedule.py +++ b/sdk/python/pulumi_oci/osubbillingschedule/get_billing_schedule.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/osubbillingschedule/outputs.py b/sdk/python/pulumi_oci/osubbillingschedule/outputs.py index 55d94239b1..0dac7f3703 100644 --- a/sdk/python/pulumi_oci/osubbillingschedule/outputs.py +++ b/sdk/python/pulumi_oci/osubbillingschedule/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -45,18 +45,49 @@ def __init__(__self__, *, :param str time_invoicing: Billing schedule invoicing date :param str time_start: Billing schedule start date """ - pulumi.set(__self__, "amount", amount) - pulumi.set(__self__, "ar_customer_transaction_id", ar_customer_transaction_id) - pulumi.set(__self__, "ar_invoice_number", ar_invoice_number) - pulumi.set(__self__, "billing_frequency", billing_frequency) - pulumi.set(__self__, "invoice_status", invoice_status) - pulumi.set(__self__, "net_unit_price", net_unit_price) - pulumi.set(__self__, "order_number", order_number) - pulumi.set(__self__, "products", products) - pulumi.set(__self__, "quantity", quantity) - pulumi.set(__self__, "time_end", time_end) - pulumi.set(__self__, "time_invoicing", time_invoicing) - pulumi.set(__self__, "time_start", time_start) + GetBillingScheduleBillingScheduleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + amount=amount, + ar_customer_transaction_id=ar_customer_transaction_id, + ar_invoice_number=ar_invoice_number, + billing_frequency=billing_frequency, + invoice_status=invoice_status, + net_unit_price=net_unit_price, + order_number=order_number, + products=products, + quantity=quantity, + time_end=time_end, + time_invoicing=time_invoicing, + time_start=time_start, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + amount: str, + ar_customer_transaction_id: str, + ar_invoice_number: str, + billing_frequency: str, + invoice_status: str, + net_unit_price: str, + order_number: str, + products: Sequence['outputs.GetBillingScheduleBillingScheduleProductResult'], + quantity: str, + time_end: str, + time_invoicing: str, + time_start: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("amount", amount) + _setter("ar_customer_transaction_id", ar_customer_transaction_id) + _setter("ar_invoice_number", ar_invoice_number) + _setter("billing_frequency", billing_frequency) + _setter("invoice_status", invoice_status) + _setter("net_unit_price", net_unit_price) + _setter("order_number", order_number) + _setter("products", products) + _setter("quantity", quantity) + _setter("time_end", time_end) + _setter("time_invoicing", time_invoicing) + _setter("time_start", time_start) @property @pulumi.getter @@ -164,8 +195,19 @@ def __init__(__self__, *, :param str name: Product name :param str part_number: Indicates the associated AR Invoice Number """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "part_number", part_number) + GetBillingScheduleBillingScheduleProductResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + part_number=part_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + part_number: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("part_number", part_number) @property @pulumi.getter @@ -193,10 +235,23 @@ def __init__(__self__, *, """ :param str name: Product name """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetBillingScheduleFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/osuborganizationsubscription/_inputs.py b/sdk/python/pulumi_oci/osuborganizationsubscription/_inputs.py index 863e5840b7..24d79da3c1 100644 --- a/sdk/python/pulumi_oci/osuborganizationsubscription/_inputs.py +++ b/sdk/python/pulumi_oci/osuborganizationsubscription/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -22,10 +22,23 @@ def __init__(__self__, *, """ :param str name: Currency name """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetOrganizationSubscriptionsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/osuborganizationsubscription/get_organization_subscriptions.py b/sdk/python/pulumi_oci/osuborganizationsubscription/get_organization_subscriptions.py index 7eff7b958f..5fbae8c4a1 100644 --- a/sdk/python/pulumi_oci/osuborganizationsubscription/get_organization_subscriptions.py +++ b/sdk/python/pulumi_oci/osuborganizationsubscription/get_organization_subscriptions.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/osuborganizationsubscription/outputs.py b/sdk/python/pulumi_oci/osuborganizationsubscription/outputs.py index 40b8595ed8..d7253a9f27 100644 --- a/sdk/python/pulumi_oci/osuborganizationsubscription/outputs.py +++ b/sdk/python/pulumi_oci/osuborganizationsubscription/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -25,10 +25,23 @@ def __init__(__self__, *, """ :param str name: Currency name """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetOrganizationSubscriptionsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -70,14 +83,37 @@ def __init__(__self__, *, :param str total_value: Total aggregate TCLV of all lines for the subscription including expired, active, and signed :param str type: Subscription Type i.e. IAAS,SAAS,PAAS """ - pulumi.set(__self__, "currencies", currencies) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "service_name", service_name) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "time_end", time_end) - pulumi.set(__self__, "time_start", time_start) - pulumi.set(__self__, "total_value", total_value) - pulumi.set(__self__, "type", type) + GetOrganizationSubscriptionsSubscriptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + currencies=currencies, + id=id, + service_name=service_name, + status=status, + time_end=time_end, + time_start=time_start, + total_value=total_value, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + currencies: Sequence['outputs.GetOrganizationSubscriptionsSubscriptionCurrencyResult'], + id: str, + service_name: str, + status: str, + time_end: str, + time_start: str, + total_value: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("currencies", currencies) + _setter("id", id) + _setter("service_name", service_name) + _setter("status", status) + _setter("time_end", time_end) + _setter("time_start", time_start) + _setter("total_value", total_value) + _setter("type", type) @property @pulumi.getter @@ -155,9 +191,22 @@ def __init__(__self__, *, :param str name: Currency name :param str std_precision: Standard Precision of the Currency """ - pulumi.set(__self__, "iso_code", iso_code) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "std_precision", std_precision) + GetOrganizationSubscriptionsSubscriptionCurrencyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + iso_code=iso_code, + name=name, + std_precision=std_precision, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + iso_code: str, + name: str, + std_precision: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("iso_code", iso_code) + _setter("name", name) + _setter("std_precision", std_precision) @property @pulumi.getter(name="isoCode") diff --git a/sdk/python/pulumi_oci/osubsubscription/_inputs.py b/sdk/python/pulumi_oci/osubsubscription/_inputs.py index 0df2633fa6..f8843d453e 100644 --- a/sdk/python/pulumi_oci/osubsubscription/_inputs.py +++ b/sdk/python/pulumi_oci/osubsubscription/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -21,10 +21,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetCommitmentsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -63,10 +76,23 @@ def __init__(__self__, *, """ :param str name: Product name """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetRatecardsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -108,10 +134,23 @@ def __init__(__self__, *, """ :param str name: Product name """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSubscriptionsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/osubsubscription/get_commitment.py b/sdk/python/pulumi_oci/osubsubscription/get_commitment.py index 8429df960c..0efa62027b 100644 --- a/sdk/python/pulumi_oci/osubsubscription/get_commitment.py +++ b/sdk/python/pulumi_oci/osubsubscription/get_commitment.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/osubsubscription/get_commitments.py b/sdk/python/pulumi_oci/osubsubscription/get_commitments.py index f74bf4f1c8..7dfadac2a3 100644 --- a/sdk/python/pulumi_oci/osubsubscription/get_commitments.py +++ b/sdk/python/pulumi_oci/osubsubscription/get_commitments.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/osubsubscription/get_ratecards.py b/sdk/python/pulumi_oci/osubsubscription/get_ratecards.py index 12159bab5a..e0546b5f19 100644 --- a/sdk/python/pulumi_oci/osubsubscription/get_ratecards.py +++ b/sdk/python/pulumi_oci/osubsubscription/get_ratecards.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/osubsubscription/get_subscriptions.py b/sdk/python/pulumi_oci/osubsubscription/get_subscriptions.py index 9e76e0b63a..ab250172f7 100644 --- a/sdk/python/pulumi_oci/osubsubscription/get_subscriptions.py +++ b/sdk/python/pulumi_oci/osubsubscription/get_subscriptions.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/osubsubscription/outputs.py b/sdk/python/pulumi_oci/osubsubscription/outputs.py index c51f96d637..12838b99f7 100644 --- a/sdk/python/pulumi_oci/osubsubscription/outputs.py +++ b/sdk/python/pulumi_oci/osubsubscription/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -45,13 +45,34 @@ def __init__(__self__, *, :param str time_start: Commitment start date :param str used_amount: Commitment used amount """ - pulumi.set(__self__, "available_amount", available_amount) - pulumi.set(__self__, "funded_allocation_value", funded_allocation_value) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "quantity", quantity) - pulumi.set(__self__, "time_end", time_end) - pulumi.set(__self__, "time_start", time_start) - pulumi.set(__self__, "used_amount", used_amount) + GetCommitmentsCommitmentResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + available_amount=available_amount, + funded_allocation_value=funded_allocation_value, + id=id, + quantity=quantity, + time_end=time_end, + time_start=time_start, + used_amount=used_amount, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + available_amount: str, + funded_allocation_value: str, + id: str, + quantity: str, + time_end: str, + time_start: str, + used_amount: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("available_amount", available_amount) + _setter("funded_allocation_value", funded_allocation_value) + _setter("id", id) + _setter("quantity", quantity) + _setter("time_end", time_end) + _setter("time_start", time_start) + _setter("used_amount", used_amount) @property @pulumi.getter(name="availableAmount") @@ -116,10 +137,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetCommitmentsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -146,10 +180,23 @@ def __init__(__self__, *, """ :param str name: Product name """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetRatecardsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -193,15 +240,40 @@ def __init__(__self__, *, :param str time_end: Rate card end date :param str time_start: Rate card start date """ - pulumi.set(__self__, "currencies", currencies) - pulumi.set(__self__, "discretionary_discount_percentage", discretionary_discount_percentage) - pulumi.set(__self__, "is_tier", is_tier) - pulumi.set(__self__, "net_unit_price", net_unit_price) - pulumi.set(__self__, "overage_price", overage_price) - pulumi.set(__self__, "products", products) - pulumi.set(__self__, "rate_card_tiers", rate_card_tiers) - pulumi.set(__self__, "time_end", time_end) - pulumi.set(__self__, "time_start", time_start) + GetRatecardsRateCardResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + currencies=currencies, + discretionary_discount_percentage=discretionary_discount_percentage, + is_tier=is_tier, + net_unit_price=net_unit_price, + overage_price=overage_price, + products=products, + rate_card_tiers=rate_card_tiers, + time_end=time_end, + time_start=time_start, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + currencies: Sequence['outputs.GetRatecardsRateCardCurrencyResult'], + discretionary_discount_percentage: str, + is_tier: bool, + net_unit_price: str, + overage_price: str, + products: Sequence['outputs.GetRatecardsRateCardProductResult'], + rate_card_tiers: Sequence['outputs.GetRatecardsRateCardRateCardTierResult'], + time_end: str, + time_start: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("currencies", currencies) + _setter("discretionary_discount_percentage", discretionary_discount_percentage) + _setter("is_tier", is_tier) + _setter("net_unit_price", net_unit_price) + _setter("overage_price", overage_price) + _setter("products", products) + _setter("rate_card_tiers", rate_card_tiers) + _setter("time_end", time_end) + _setter("time_start", time_start) @property @pulumi.getter @@ -287,9 +359,22 @@ def __init__(__self__, *, :param str name: Product name :param str std_precision: Standard Precision of the Currency """ - pulumi.set(__self__, "iso_code", iso_code) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "std_precision", std_precision) + GetRatecardsRateCardCurrencyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + iso_code=iso_code, + name=name, + std_precision=std_precision, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + iso_code: str, + name: str, + std_precision: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("iso_code", iso_code) + _setter("name", name) + _setter("std_precision", std_precision) @property @pulumi.getter(name="isoCode") @@ -333,12 +418,31 @@ def __init__(__self__, *, :param str ucm_rate_card_part_type: Rate card part type of Product :param str unit_of_measure: Unit of measure """ - pulumi.set(__self__, "billing_category", billing_category) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "part_number", part_number) - pulumi.set(__self__, "product_category", product_category) - pulumi.set(__self__, "ucm_rate_card_part_type", ucm_rate_card_part_type) - pulumi.set(__self__, "unit_of_measure", unit_of_measure) + GetRatecardsRateCardProductResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + billing_category=billing_category, + name=name, + part_number=part_number, + product_category=product_category, + ucm_rate_card_part_type=ucm_rate_card_part_type, + unit_of_measure=unit_of_measure, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + billing_category: str, + name: str, + part_number: str, + product_category: str, + ucm_rate_card_part_type: str, + unit_of_measure: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("billing_category", billing_category) + _setter("name", name) + _setter("part_number", part_number) + _setter("product_category", product_category) + _setter("ucm_rate_card_part_type", ucm_rate_card_part_type) + _setter("unit_of_measure", unit_of_measure) @property @pulumi.getter(name="billingCategory") @@ -400,9 +504,22 @@ def __init__(__self__, *, :param str overage_price: Rate card tier overage price :param str up_to_quantity: Rate card tier quantity range """ - pulumi.set(__self__, "net_unit_price", net_unit_price) - pulumi.set(__self__, "overage_price", overage_price) - pulumi.set(__self__, "up_to_quantity", up_to_quantity) + GetRatecardsRateCardRateCardTierResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + net_unit_price=net_unit_price, + overage_price=overage_price, + up_to_quantity=up_to_quantity, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + net_unit_price: str, + overage_price: str, + up_to_quantity: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("net_unit_price", net_unit_price) + _setter("overage_price", overage_price) + _setter("up_to_quantity", up_to_quantity) @property @pulumi.getter(name="netUnitPrice") @@ -438,10 +555,23 @@ def __init__(__self__, *, """ :param str name: Product name """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSubscriptionsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -479,12 +609,31 @@ def __init__(__self__, *, :param str time_end: Represents the date when the last service of the subscription ends :param str time_start: Represents the date when the first service of the subscription was activated """ - pulumi.set(__self__, "currencies", currencies) - pulumi.set(__self__, "service_name", service_name) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "subscribed_services", subscribed_services) - pulumi.set(__self__, "time_end", time_end) - pulumi.set(__self__, "time_start", time_start) + GetSubscriptionsSubscriptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + currencies=currencies, + service_name=service_name, + status=status, + subscribed_services=subscribed_services, + time_end=time_end, + time_start=time_start, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + currencies: Sequence['outputs.GetSubscriptionsSubscriptionCurrencyResult'], + service_name: str, + status: str, + subscribed_services: Sequence['outputs.GetSubscriptionsSubscriptionSubscribedServiceResult'], + time_end: str, + time_start: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("currencies", currencies) + _setter("service_name", service_name) + _setter("status", status) + _setter("subscribed_services", subscribed_services) + _setter("time_end", time_end) + _setter("time_start", time_start) @property @pulumi.getter @@ -546,9 +695,22 @@ def __init__(__self__, *, :param str name: Product name :param str std_precision: Standard Precision of the Currency """ - pulumi.set(__self__, "iso_code", iso_code) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "std_precision", std_precision) + GetSubscriptionsSubscriptionCurrencyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + iso_code=iso_code, + name=name, + std_precision=std_precision, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + iso_code: str, + name: str, + std_precision: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("iso_code", iso_code) + _setter("name", name) + _setter("std_precision", std_precision) @property @pulumi.getter(name="isoCode") @@ -624,28 +786,79 @@ def __init__(__self__, *, :param str time_start: Represents the date when the first service of the subscription was activated :param str total_value: Subscribed service total value """ - pulumi.set(__self__, "booking_opty_number", booking_opty_number) - pulumi.set(__self__, "commitment_services", commitment_services) - pulumi.set(__self__, "csi", csi) - pulumi.set(__self__, "data_center_region", data_center_region) - pulumi.set(__self__, "funded_allocation_value", funded_allocation_value) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_intent_to_pay", is_intent_to_pay) - pulumi.set(__self__, "net_unit_price", net_unit_price) - pulumi.set(__self__, "operation_type", operation_type) - pulumi.set(__self__, "order_number", order_number) - pulumi.set(__self__, "partner_transaction_type", partner_transaction_type) - pulumi.set(__self__, "pricing_model", pricing_model) - pulumi.set(__self__, "products", products) - pulumi.set(__self__, "program_type", program_type) - pulumi.set(__self__, "promo_type", promo_type) - pulumi.set(__self__, "quantity", quantity) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "term_value", term_value) - pulumi.set(__self__, "term_value_uom", term_value_uom) - pulumi.set(__self__, "time_end", time_end) - pulumi.set(__self__, "time_start", time_start) - pulumi.set(__self__, "total_value", total_value) + GetSubscriptionsSubscriptionSubscribedServiceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + booking_opty_number=booking_opty_number, + commitment_services=commitment_services, + csi=csi, + data_center_region=data_center_region, + funded_allocation_value=funded_allocation_value, + id=id, + is_intent_to_pay=is_intent_to_pay, + net_unit_price=net_unit_price, + operation_type=operation_type, + order_number=order_number, + partner_transaction_type=partner_transaction_type, + pricing_model=pricing_model, + products=products, + program_type=program_type, + promo_type=promo_type, + quantity=quantity, + status=status, + term_value=term_value, + term_value_uom=term_value_uom, + time_end=time_end, + time_start=time_start, + total_value=total_value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + booking_opty_number: str, + commitment_services: Sequence['outputs.GetSubscriptionsSubscriptionSubscribedServiceCommitmentServiceResult'], + csi: str, + data_center_region: str, + funded_allocation_value: str, + id: str, + is_intent_to_pay: bool, + net_unit_price: str, + operation_type: str, + order_number: str, + partner_transaction_type: str, + pricing_model: str, + products: Sequence['outputs.GetSubscriptionsSubscriptionSubscribedServiceProductResult'], + program_type: str, + promo_type: str, + quantity: str, + status: str, + term_value: str, + term_value_uom: str, + time_end: str, + time_start: str, + total_value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("booking_opty_number", booking_opty_number) + _setter("commitment_services", commitment_services) + _setter("csi", csi) + _setter("data_center_region", data_center_region) + _setter("funded_allocation_value", funded_allocation_value) + _setter("id", id) + _setter("is_intent_to_pay", is_intent_to_pay) + _setter("net_unit_price", net_unit_price) + _setter("operation_type", operation_type) + _setter("order_number", order_number) + _setter("partner_transaction_type", partner_transaction_type) + _setter("pricing_model", pricing_model) + _setter("products", products) + _setter("program_type", program_type) + _setter("promo_type", promo_type) + _setter("quantity", quantity) + _setter("status", status) + _setter("term_value", term_value) + _setter("term_value_uom", term_value_uom) + _setter("time_end", time_end) + _setter("time_start", time_start) + _setter("total_value", total_value) @property @pulumi.getter(name="bookingOptyNumber") @@ -841,12 +1054,31 @@ def __init__(__self__, *, :param str time_end: Represents the date when the last service of the subscription ends :param str time_start: Represents the date when the first service of the subscription was activated """ - pulumi.set(__self__, "available_amount", available_amount) - pulumi.set(__self__, "funded_allocation_value", funded_allocation_value) - pulumi.set(__self__, "line_net_amount", line_net_amount) - pulumi.set(__self__, "quantity", quantity) - pulumi.set(__self__, "time_end", time_end) - pulumi.set(__self__, "time_start", time_start) + GetSubscriptionsSubscriptionSubscribedServiceCommitmentServiceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + available_amount=available_amount, + funded_allocation_value=funded_allocation_value, + line_net_amount=line_net_amount, + quantity=quantity, + time_end=time_end, + time_start=time_start, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + available_amount: str, + funded_allocation_value: str, + line_net_amount: str, + quantity: str, + time_end: str, + time_start: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("available_amount", available_amount) + _setter("funded_allocation_value", funded_allocation_value) + _setter("line_net_amount", line_net_amount) + _setter("quantity", quantity) + _setter("time_end", time_end) + _setter("time_start", time_start) @property @pulumi.getter(name="availableAmount") @@ -910,10 +1142,25 @@ def __init__(__self__, *, :param str provisioning_group: Product provisioning group :param str unit_of_measure: Unit of measure """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "part_number", part_number) - pulumi.set(__self__, "provisioning_group", provisioning_group) - pulumi.set(__self__, "unit_of_measure", unit_of_measure) + GetSubscriptionsSubscriptionSubscribedServiceProductResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + part_number=part_number, + provisioning_group=provisioning_group, + unit_of_measure=unit_of_measure, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + part_number: str, + provisioning_group: str, + unit_of_measure: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("part_number", part_number) + _setter("provisioning_group", provisioning_group) + _setter("unit_of_measure", unit_of_measure) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/osubusage/_inputs.py b/sdk/python/pulumi_oci/osubusage/_inputs.py index 17403d9915..f3d632a05d 100644 --- a/sdk/python/pulumi_oci/osubusage/_inputs.py +++ b/sdk/python/pulumi_oci/osubusage/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -23,10 +23,23 @@ def __init__(__self__, *, """ :param str name: Product name """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetCommitmentAggregatedsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -68,10 +81,23 @@ def __init__(__self__, *, """ :param str name: Product name """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetComputedUsagesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/osubusage/get_commitment_aggregateds.py b/sdk/python/pulumi_oci/osubusage/get_commitment_aggregateds.py index 888a6e7d13..e9d4338ff1 100644 --- a/sdk/python/pulumi_oci/osubusage/get_commitment_aggregateds.py +++ b/sdk/python/pulumi_oci/osubusage/get_commitment_aggregateds.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/osubusage/get_computed_usage.py b/sdk/python/pulumi_oci/osubusage/get_computed_usage.py index b06702ed9b..26e2a7b55d 100644 --- a/sdk/python/pulumi_oci/osubusage/get_computed_usage.py +++ b/sdk/python/pulumi_oci/osubusage/get_computed_usage.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/osubusage/get_computed_usages.py b/sdk/python/pulumi_oci/osubusage/get_computed_usages.py index 301171817f..1211520caa 100644 --- a/sdk/python/pulumi_oci/osubusage/get_computed_usages.py +++ b/sdk/python/pulumi_oci/osubusage/get_computed_usages.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/osubusage/outputs.py b/sdk/python/pulumi_oci/osubusage/outputs.py index 285e521a37..0459841602 100644 --- a/sdk/python/pulumi_oci/osubusage/outputs.py +++ b/sdk/python/pulumi_oci/osubusage/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -49,16 +49,43 @@ def __init__(__self__, *, :param str time_end: Subscribed services contract line end date, expressed in RFC 3339 timestamp format. :param str time_start: Subscribed services contract line start date, expressed in RFC 3339 timestamp format. """ - pulumi.set(__self__, "aggregated_computed_usages", aggregated_computed_usages) - pulumi.set(__self__, "currency_code", currency_code) - pulumi.set(__self__, "parent_products", parent_products) - pulumi.set(__self__, "parent_subscribed_service_id", parent_subscribed_service_id) - pulumi.set(__self__, "plan_number", plan_number) - pulumi.set(__self__, "pricing_model", pricing_model) - pulumi.set(__self__, "rate_card_id", rate_card_id) - pulumi.set(__self__, "subscription_id", subscription_id) - pulumi.set(__self__, "time_end", time_end) - pulumi.set(__self__, "time_start", time_start) + GetCommitmentAggregatedsComputedUsageAggregatedResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + aggregated_computed_usages=aggregated_computed_usages, + currency_code=currency_code, + parent_products=parent_products, + parent_subscribed_service_id=parent_subscribed_service_id, + plan_number=plan_number, + pricing_model=pricing_model, + rate_card_id=rate_card_id, + subscription_id=subscription_id, + time_end=time_end, + time_start=time_start, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + aggregated_computed_usages: Sequence['outputs.GetCommitmentAggregatedsComputedUsageAggregatedAggregatedComputedUsageResult'], + currency_code: str, + parent_products: Sequence['outputs.GetCommitmentAggregatedsComputedUsageAggregatedParentProductResult'], + parent_subscribed_service_id: str, + plan_number: str, + pricing_model: str, + rate_card_id: str, + subscription_id: str, + time_end: str, + time_start: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("aggregated_computed_usages", aggregated_computed_usages) + _setter("currency_code", currency_code) + _setter("parent_products", parent_products) + _setter("parent_subscribed_service_id", parent_subscribed_service_id) + _setter("plan_number", plan_number) + _setter("pricing_model", pricing_model) + _setter("rate_card_id", rate_card_id) + _setter("subscription_id", subscription_id) + _setter("time_end", time_end) + _setter("time_start", time_start) @property @pulumi.getter(name="aggregatedComputedUsages") @@ -162,14 +189,37 @@ def __init__(__self__, *, :param str time_metered_on: Metered Service date , expressed in RFC 3339 timestamp format. :param str type: Usage compute type in SPM. """ - pulumi.set(__self__, "cost", cost) - pulumi.set(__self__, "cost_unrounded", cost_unrounded) - pulumi.set(__self__, "data_center", data_center) - pulumi.set(__self__, "net_unit_price", net_unit_price) - pulumi.set(__self__, "products", products) - pulumi.set(__self__, "quantity", quantity) - pulumi.set(__self__, "time_metered_on", time_metered_on) - pulumi.set(__self__, "type", type) + GetCommitmentAggregatedsComputedUsageAggregatedAggregatedComputedUsageResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cost=cost, + cost_unrounded=cost_unrounded, + data_center=data_center, + net_unit_price=net_unit_price, + products=products, + quantity=quantity, + time_metered_on=time_metered_on, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cost: str, + cost_unrounded: str, + data_center: str, + net_unit_price: str, + products: Sequence['outputs.GetCommitmentAggregatedsComputedUsageAggregatedAggregatedComputedUsageProductResult'], + quantity: str, + time_metered_on: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cost", cost) + _setter("cost_unrounded", cost_unrounded) + _setter("data_center", data_center) + _setter("net_unit_price", net_unit_price) + _setter("products", products) + _setter("quantity", quantity) + _setter("time_metered_on", time_metered_on) + _setter("type", type) @property @pulumi.getter @@ -255,13 +305,34 @@ def __init__(__self__, *, :param str ucm_rate_card_part_type: Rate card part type of Product :param str unit_of_measure: Unit of Measure """ - pulumi.set(__self__, "billing_category", billing_category) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "part_number", part_number) - pulumi.set(__self__, "product_category", product_category) - pulumi.set(__self__, "provisioning_group", provisioning_group) - pulumi.set(__self__, "ucm_rate_card_part_type", ucm_rate_card_part_type) - pulumi.set(__self__, "unit_of_measure", unit_of_measure) + GetCommitmentAggregatedsComputedUsageAggregatedAggregatedComputedUsageProductResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + billing_category=billing_category, + name=name, + part_number=part_number, + product_category=product_category, + provisioning_group=provisioning_group, + ucm_rate_card_part_type=ucm_rate_card_part_type, + unit_of_measure=unit_of_measure, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + billing_category: str, + name: str, + part_number: str, + product_category: str, + provisioning_group: str, + ucm_rate_card_part_type: str, + unit_of_measure: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("billing_category", billing_category) + _setter("name", name) + _setter("part_number", part_number) + _setter("product_category", product_category) + _setter("provisioning_group", provisioning_group) + _setter("ucm_rate_card_part_type", ucm_rate_card_part_type) + _setter("unit_of_measure", unit_of_measure) @property @pulumi.getter(name="billingCategory") @@ -339,13 +410,34 @@ def __init__(__self__, *, :param str ucm_rate_card_part_type: Rate card part type of Product :param str unit_of_measure: Unit of Measure """ - pulumi.set(__self__, "billing_category", billing_category) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "part_number", part_number) - pulumi.set(__self__, "product_category", product_category) - pulumi.set(__self__, "provisioning_group", provisioning_group) - pulumi.set(__self__, "ucm_rate_card_part_type", ucm_rate_card_part_type) - pulumi.set(__self__, "unit_of_measure", unit_of_measure) + GetCommitmentAggregatedsComputedUsageAggregatedParentProductResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + billing_category=billing_category, + name=name, + part_number=part_number, + product_category=product_category, + provisioning_group=provisioning_group, + ucm_rate_card_part_type=ucm_rate_card_part_type, + unit_of_measure=unit_of_measure, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + billing_category: str, + name: str, + part_number: str, + product_category: str, + provisioning_group: str, + ucm_rate_card_part_type: str, + unit_of_measure: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("billing_category", billing_category) + _setter("name", name) + _setter("part_number", part_number) + _setter("product_category", product_category) + _setter("provisioning_group", provisioning_group) + _setter("ucm_rate_card_part_type", ucm_rate_card_part_type) + _setter("unit_of_measure", unit_of_measure) @property @pulumi.getter(name="billingCategory") @@ -413,10 +505,23 @@ def __init__(__self__, *, """ :param str name: Product name """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetCommitmentAggregatedsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -456,13 +561,34 @@ def __init__(__self__, *, :param str ucm_rate_card_part_type: Rate card part type of Product :param str unit_of_measure: Unit of Messure """ - pulumi.set(__self__, "billing_category", billing_category) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "part_number", part_number) - pulumi.set(__self__, "product_category", product_category) - pulumi.set(__self__, "provisioning_group", provisioning_group) - pulumi.set(__self__, "ucm_rate_card_part_type", ucm_rate_card_part_type) - pulumi.set(__self__, "unit_of_measure", unit_of_measure) + GetComputedUsageParentProductResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + billing_category=billing_category, + name=name, + part_number=part_number, + product_category=product_category, + provisioning_group=provisioning_group, + ucm_rate_card_part_type=ucm_rate_card_part_type, + unit_of_measure=unit_of_measure, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + billing_category: str, + name: str, + part_number: str, + product_category: str, + provisioning_group: str, + ucm_rate_card_part_type: str, + unit_of_measure: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("billing_category", billing_category) + _setter("name", name) + _setter("part_number", part_number) + _setter("product_category", product_category) + _setter("provisioning_group", provisioning_group) + _setter("ucm_rate_card_part_type", ucm_rate_card_part_type) + _setter("unit_of_measure", unit_of_measure) @property @pulumi.getter(name="billingCategory") @@ -540,13 +666,34 @@ def __init__(__self__, *, :param str ucm_rate_card_part_type: Rate card part type of Product :param str unit_of_measure: Unit of Messure """ - pulumi.set(__self__, "billing_category", billing_category) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "part_number", part_number) - pulumi.set(__self__, "product_category", product_category) - pulumi.set(__self__, "provisioning_group", provisioning_group) - pulumi.set(__self__, "ucm_rate_card_part_type", ucm_rate_card_part_type) - pulumi.set(__self__, "unit_of_measure", unit_of_measure) + GetComputedUsageProductResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + billing_category=billing_category, + name=name, + part_number=part_number, + product_category=product_category, + provisioning_group=provisioning_group, + ucm_rate_card_part_type=ucm_rate_card_part_type, + unit_of_measure=unit_of_measure, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + billing_category: str, + name: str, + part_number: str, + product_category: str, + provisioning_group: str, + ucm_rate_card_part_type: str, + unit_of_measure: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("billing_category", billing_category) + _setter("name", name) + _setter("part_number", part_number) + _setter("product_category", product_category) + _setter("provisioning_group", provisioning_group) + _setter("ucm_rate_card_part_type", ucm_rate_card_part_type) + _setter("unit_of_measure", unit_of_measure) @property @pulumi.getter(name="billingCategory") @@ -661,32 +808,91 @@ def __init__(__self__, *, :param str unit_of_measure: Unit of Messure :param str usage_number: SPM Internal usage Line number identifier in SPM coming from Metered Services entity. """ - pulumi.set(__self__, "commitment_service_id", commitment_service_id) - pulumi.set(__self__, "compute_source", compute_source) - pulumi.set(__self__, "computed_usage_id", computed_usage_id) - pulumi.set(__self__, "cost", cost) - pulumi.set(__self__, "cost_rounded", cost_rounded) - pulumi.set(__self__, "currency_code", currency_code) - pulumi.set(__self__, "data_center", data_center) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_invoiced", is_invoiced) - pulumi.set(__self__, "mqs_message_id", mqs_message_id) - pulumi.set(__self__, "net_unit_price", net_unit_price) - pulumi.set(__self__, "original_usage_number", original_usage_number) - pulumi.set(__self__, "parent_products", parent_products) - pulumi.set(__self__, "parent_subscribed_service_id", parent_subscribed_service_id) - pulumi.set(__self__, "plan_number", plan_number) - pulumi.set(__self__, "products", products) - pulumi.set(__self__, "quantity", quantity) - pulumi.set(__self__, "rate_card_id", rate_card_id) - pulumi.set(__self__, "rate_card_tierd_id", rate_card_tierd_id) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_metered_on", time_metered_on) - pulumi.set(__self__, "time_of_arrival", time_of_arrival) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "unit_of_measure", unit_of_measure) - pulumi.set(__self__, "usage_number", usage_number) + GetComputedUsagesComputedUsageResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + commitment_service_id=commitment_service_id, + compute_source=compute_source, + computed_usage_id=computed_usage_id, + cost=cost, + cost_rounded=cost_rounded, + currency_code=currency_code, + data_center=data_center, + id=id, + is_invoiced=is_invoiced, + mqs_message_id=mqs_message_id, + net_unit_price=net_unit_price, + original_usage_number=original_usage_number, + parent_products=parent_products, + parent_subscribed_service_id=parent_subscribed_service_id, + plan_number=plan_number, + products=products, + quantity=quantity, + rate_card_id=rate_card_id, + rate_card_tierd_id=rate_card_tierd_id, + time_created=time_created, + time_metered_on=time_metered_on, + time_of_arrival=time_of_arrival, + time_updated=time_updated, + type=type, + unit_of_measure=unit_of_measure, + usage_number=usage_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + commitment_service_id: str, + compute_source: str, + computed_usage_id: str, + cost: str, + cost_rounded: str, + currency_code: str, + data_center: str, + id: str, + is_invoiced: bool, + mqs_message_id: str, + net_unit_price: str, + original_usage_number: str, + parent_products: Sequence['outputs.GetComputedUsagesComputedUsageParentProductResult'], + parent_subscribed_service_id: str, + plan_number: str, + products: Sequence['outputs.GetComputedUsagesComputedUsageProductResult'], + quantity: str, + rate_card_id: str, + rate_card_tierd_id: str, + time_created: str, + time_metered_on: str, + time_of_arrival: str, + time_updated: str, + type: str, + unit_of_measure: str, + usage_number: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("commitment_service_id", commitment_service_id) + _setter("compute_source", compute_source) + _setter("computed_usage_id", computed_usage_id) + _setter("cost", cost) + _setter("cost_rounded", cost_rounded) + _setter("currency_code", currency_code) + _setter("data_center", data_center) + _setter("id", id) + _setter("is_invoiced", is_invoiced) + _setter("mqs_message_id", mqs_message_id) + _setter("net_unit_price", net_unit_price) + _setter("original_usage_number", original_usage_number) + _setter("parent_products", parent_products) + _setter("parent_subscribed_service_id", parent_subscribed_service_id) + _setter("plan_number", plan_number) + _setter("products", products) + _setter("quantity", quantity) + _setter("rate_card_id", rate_card_id) + _setter("rate_card_tierd_id", rate_card_tierd_id) + _setter("time_created", time_created) + _setter("time_metered_on", time_metered_on) + _setter("time_of_arrival", time_of_arrival) + _setter("time_updated", time_updated) + _setter("type", type) + _setter("unit_of_measure", unit_of_measure) + _setter("usage_number", usage_number) @property @pulumi.getter(name="commitmentServiceId") @@ -913,13 +1119,34 @@ def __init__(__self__, *, :param str ucm_rate_card_part_type: Rate card part type of Product :param str unit_of_measure: Unit of Messure """ - pulumi.set(__self__, "billing_category", billing_category) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "part_number", part_number) - pulumi.set(__self__, "product_category", product_category) - pulumi.set(__self__, "provisioning_group", provisioning_group) - pulumi.set(__self__, "ucm_rate_card_part_type", ucm_rate_card_part_type) - pulumi.set(__self__, "unit_of_measure", unit_of_measure) + GetComputedUsagesComputedUsageParentProductResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + billing_category=billing_category, + name=name, + part_number=part_number, + product_category=product_category, + provisioning_group=provisioning_group, + ucm_rate_card_part_type=ucm_rate_card_part_type, + unit_of_measure=unit_of_measure, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + billing_category: str, + name: str, + part_number: str, + product_category: str, + provisioning_group: str, + ucm_rate_card_part_type: str, + unit_of_measure: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("billing_category", billing_category) + _setter("name", name) + _setter("part_number", part_number) + _setter("product_category", product_category) + _setter("provisioning_group", provisioning_group) + _setter("ucm_rate_card_part_type", ucm_rate_card_part_type) + _setter("unit_of_measure", unit_of_measure) @property @pulumi.getter(name="billingCategory") @@ -997,13 +1224,34 @@ def __init__(__self__, *, :param str ucm_rate_card_part_type: Rate card part type of Product :param str unit_of_measure: Unit of Messure """ - pulumi.set(__self__, "billing_category", billing_category) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "part_number", part_number) - pulumi.set(__self__, "product_category", product_category) - pulumi.set(__self__, "provisioning_group", provisioning_group) - pulumi.set(__self__, "ucm_rate_card_part_type", ucm_rate_card_part_type) - pulumi.set(__self__, "unit_of_measure", unit_of_measure) + GetComputedUsagesComputedUsageProductResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + billing_category=billing_category, + name=name, + part_number=part_number, + product_category=product_category, + provisioning_group=provisioning_group, + ucm_rate_card_part_type=ucm_rate_card_part_type, + unit_of_measure=unit_of_measure, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + billing_category: str, + name: str, + part_number: str, + product_category: str, + provisioning_group: str, + ucm_rate_card_part_type: str, + unit_of_measure: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("billing_category", billing_category) + _setter("name", name) + _setter("part_number", part_number) + _setter("product_category", product_category) + _setter("provisioning_group", provisioning_group) + _setter("ucm_rate_card_part_type", ucm_rate_card_part_type) + _setter("unit_of_measure", unit_of_measure) @property @pulumi.getter(name="billingCategory") @@ -1071,10 +1319,23 @@ def __init__(__self__, *, """ :param str name: Product name """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetComputedUsagesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/provider.py b/sdk/python/pulumi_oci/provider.py index a8bffde332..1962cebc1b 100644 --- a/sdk/python/pulumi_oci/provider.py +++ b/sdk/python/pulumi_oci/provider.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from . import _utilities __all__ = ['ProviderArgs', 'Provider'] @@ -53,32 +53,65 @@ def __init__(__self__, *, :param pulumi.Input[str] user_ocid: (Optional) The user OCID. This can be found in user settings in the Oracle Cloud Infrastructure console. Required if auth is set to 'ApiKey', ignored otherwise. """ + ProviderArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + auth=auth, + config_file_profile=config_file_profile, + disable_auto_retries=disable_auto_retries, + fingerprint=fingerprint, + ignore_defined_tags=ignore_defined_tags, + private_key=private_key, + private_key_password=private_key_password, + private_key_path=private_key_path, + realm_specific_service_endpoint_template_enabled=realm_specific_service_endpoint_template_enabled, + region=region, + retry_duration_seconds=retry_duration_seconds, + tenancy_ocid=tenancy_ocid, + user_ocid=user_ocid, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + auth: Optional[pulumi.Input[str]] = None, + config_file_profile: Optional[pulumi.Input[str]] = None, + disable_auto_retries: Optional[pulumi.Input[bool]] = None, + fingerprint: Optional[pulumi.Input[str]] = None, + ignore_defined_tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + private_key: Optional[pulumi.Input[str]] = None, + private_key_password: Optional[pulumi.Input[str]] = None, + private_key_path: Optional[pulumi.Input[str]] = None, + realm_specific_service_endpoint_template_enabled: Optional[pulumi.Input[bool]] = None, + region: Optional[pulumi.Input[str]] = None, + retry_duration_seconds: Optional[pulumi.Input[int]] = None, + tenancy_ocid: Optional[pulumi.Input[str]] = None, + user_ocid: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if auth is not None: - pulumi.set(__self__, "auth", auth) + _setter("auth", auth) if config_file_profile is not None: - pulumi.set(__self__, "config_file_profile", config_file_profile) + _setter("config_file_profile", config_file_profile) if disable_auto_retries is not None: - pulumi.set(__self__, "disable_auto_retries", disable_auto_retries) + _setter("disable_auto_retries", disable_auto_retries) if fingerprint is not None: - pulumi.set(__self__, "fingerprint", fingerprint) + _setter("fingerprint", fingerprint) if ignore_defined_tags is not None: - pulumi.set(__self__, "ignore_defined_tags", ignore_defined_tags) + _setter("ignore_defined_tags", ignore_defined_tags) if private_key is not None: - pulumi.set(__self__, "private_key", private_key) + _setter("private_key", private_key) if private_key_password is not None: - pulumi.set(__self__, "private_key_password", private_key_password) + _setter("private_key_password", private_key_password) if private_key_path is not None: - pulumi.set(__self__, "private_key_path", private_key_path) + _setter("private_key_path", private_key_path) if realm_specific_service_endpoint_template_enabled is not None: - pulumi.set(__self__, "realm_specific_service_endpoint_template_enabled", realm_specific_service_endpoint_template_enabled) + _setter("realm_specific_service_endpoint_template_enabled", realm_specific_service_endpoint_template_enabled) if region is not None: - pulumi.set(__self__, "region", region) + _setter("region", region) if retry_duration_seconds is not None: - pulumi.set(__self__, "retry_duration_seconds", retry_duration_seconds) + _setter("retry_duration_seconds", retry_duration_seconds) if tenancy_ocid is not None: - pulumi.set(__self__, "tenancy_ocid", tenancy_ocid) + _setter("tenancy_ocid", tenancy_ocid) if user_ocid is not None: - pulumi.set(__self__, "user_ocid", user_ocid) + _setter("user_ocid", user_ocid) @property @pulumi.getter @@ -320,6 +353,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ProviderArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/queue/_inputs.py b/sdk/python/pulumi_oci/queue/_inputs.py index 1164036df7..3388e04ccb 100644 --- a/sdk/python/pulumi_oci/queue/_inputs.py +++ b/sdk/python/pulumi_oci/queue/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -19,10 +19,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetQueuesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/queue/get_queue.py b/sdk/python/pulumi_oci/queue/get_queue.py index 41eb97ef97..661d798201 100644 --- a/sdk/python/pulumi_oci/queue/get_queue.py +++ b/sdk/python/pulumi_oci/queue/get_queue.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -21,7 +21,10 @@ class GetQueueResult: """ A collection of values returned by getQueue. """ - def __init__(__self__, compartment_id=None, custom_encryption_key_id=None, dead_letter_queue_delivery_count=None, defined_tags=None, display_name=None, freeform_tags=None, id=None, lifecycle_details=None, messages_endpoint=None, purge_queue=None, purge_type=None, queue_id=None, retention_in_seconds=None, state=None, system_tags=None, time_created=None, time_updated=None, timeout_in_seconds=None, visibility_in_seconds=None): + def __init__(__self__, channel_consumption_limit=None, compartment_id=None, custom_encryption_key_id=None, dead_letter_queue_delivery_count=None, defined_tags=None, display_name=None, freeform_tags=None, id=None, lifecycle_details=None, messages_endpoint=None, purge_queue=None, purge_type=None, queue_id=None, retention_in_seconds=None, state=None, system_tags=None, time_created=None, time_updated=None, timeout_in_seconds=None, visibility_in_seconds=None): + if channel_consumption_limit and not isinstance(channel_consumption_limit, int): + raise TypeError("Expected argument 'channel_consumption_limit' to be a int") + pulumi.set(__self__, "channel_consumption_limit", channel_consumption_limit) if compartment_id and not isinstance(compartment_id, str): raise TypeError("Expected argument 'compartment_id' to be a str") pulumi.set(__self__, "compartment_id", compartment_id) @@ -80,11 +83,19 @@ def __init__(__self__, compartment_id=None, custom_encryption_key_id=None, dead_ raise TypeError("Expected argument 'visibility_in_seconds' to be a int") pulumi.set(__self__, "visibility_in_seconds", visibility_in_seconds) + @property + @pulumi.getter(name="channelConsumptionLimit") + def channel_consumption_limit(self) -> int: + """ + The percentage of allocated queue resources that can be consumed by a single channel. For example, if a queue has a storage limit of 2Gb, and a single channel consumption limit is 0.1 (10%), that means data size of a single channel can't exceed 200Mb. Consumption limit of 100% (default) means that a single channel can consume up-to all allocated queue's resources. + """ + return pulumi.get(self, "channel_consumption_limit") + @property @pulumi.getter(name="compartmentId") def compartment_id(self) -> str: """ - Compartment Identifier + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the queue. """ return pulumi.get(self, "compartment_id") @@ -92,7 +103,7 @@ def compartment_id(self) -> str: @pulumi.getter(name="customEncryptionKeyId") def custom_encryption_key_id(self) -> str: """ - Id of the custom master encryption key which will be used to encrypt messages content + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the custom encryption key to be used to encrypt messages content. """ return pulumi.get(self, "custom_encryption_key_id") @@ -116,7 +127,7 @@ def defined_tags(self) -> Mapping[str, Any]: @pulumi.getter(name="displayName") def display_name(self) -> str: """ - Queue Identifier, can be renamed + A user-friendly name for the queue. Does not have to be unique, and it's changeable. Avoid entering confidential information. """ return pulumi.get(self, "display_name") @@ -132,7 +143,7 @@ def freeform_tags(self) -> Mapping[str, Any]: @pulumi.getter def id(self) -> str: """ - Unique identifier that is immutable on creation + A unique identifier for the queue that is immutable on creation. """ return pulumi.get(self, "id") @@ -140,7 +151,7 @@ def id(self) -> str: @pulumi.getter(name="lifecycleDetails") def lifecycle_details(self) -> str: """ - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. + Any additional details about the current state of the queue. """ return pulumi.get(self, "lifecycle_details") @@ -179,7 +190,7 @@ def retention_in_seconds(self) -> int: @pulumi.getter def state(self) -> str: """ - The current state of the Queue. + The current state of the queue. """ return pulumi.get(self, "state") @@ -195,7 +206,7 @@ def system_tags(self) -> Mapping[str, Any]: @pulumi.getter(name="timeCreated") def time_created(self) -> str: """ - The time the the Queue was created. An RFC3339 formatted datetime string + The time that the queue was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` """ return pulumi.get(self, "time_created") @@ -203,7 +214,7 @@ def time_created(self) -> str: @pulumi.getter(name="timeUpdated") def time_updated(self) -> str: """ - The time the Queue was updated. An RFC3339 formatted datetime string + The time that the queue was updated, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` """ return pulumi.get(self, "time_updated") @@ -219,7 +230,7 @@ def timeout_in_seconds(self) -> int: @pulumi.getter(name="visibilityInSeconds") def visibility_in_seconds(self) -> int: """ - The default visibility of the messages consumed from the queue. + The default visibility timeout of the messages consumed from the queue, in seconds. """ return pulumi.get(self, "visibility_in_seconds") @@ -230,6 +241,7 @@ def __await__(self): if False: yield self return GetQueueResult( + channel_consumption_limit=self.channel_consumption_limit, compartment_id=self.compartment_id, custom_encryption_key_id=self.custom_encryption_key_id, dead_letter_queue_delivery_count=self.dead_letter_queue_delivery_count, @@ -256,7 +268,7 @@ def get_queue(queue_id: Optional[str] = None, """ This data source provides details about a specific Queue resource in Oracle Cloud Infrastructure Queue service. - Gets a Queue by identifier + Gets a queue by identifier. ## Example Usage @@ -268,7 +280,7 @@ def get_queue(queue_id: Optional[str] = None, ``` - :param str queue_id: unique Queue identifier + :param str queue_id: The unique queue identifier. """ __args__ = dict() __args__['queueId'] = queue_id @@ -276,6 +288,7 @@ def get_queue(queue_id: Optional[str] = None, __ret__ = pulumi.runtime.invoke('oci:Queue/getQueue:getQueue', __args__, opts=opts, typ=GetQueueResult).value return AwaitableGetQueueResult( + channel_consumption_limit=pulumi.get(__ret__, 'channel_consumption_limit'), compartment_id=pulumi.get(__ret__, 'compartment_id'), custom_encryption_key_id=pulumi.get(__ret__, 'custom_encryption_key_id'), dead_letter_queue_delivery_count=pulumi.get(__ret__, 'dead_letter_queue_delivery_count'), @@ -303,7 +316,7 @@ def get_queue_output(queue_id: Optional[pulumi.Input[str]] = None, """ This data source provides details about a specific Queue resource in Oracle Cloud Infrastructure Queue service. - Gets a Queue by identifier + Gets a queue by identifier. ## Example Usage @@ -315,6 +328,6 @@ def get_queue_output(queue_id: Optional[pulumi.Input[str]] = None, ``` - :param str queue_id: unique Queue identifier + :param str queue_id: The unique queue identifier. """ ... diff --git a/sdk/python/pulumi_oci/queue/get_queues.py b/sdk/python/pulumi_oci/queue/get_queues.py index 4340ed6090..34d4c801fe 100644 --- a/sdk/python/pulumi_oci/queue/get_queues.py +++ b/sdk/python/pulumi_oci/queue/get_queues.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -47,7 +47,7 @@ def __init__(__self__, compartment_id=None, display_name=None, filters=None, id= @pulumi.getter(name="compartmentId") def compartment_id(self) -> Optional[str]: """ - Compartment Identifier + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the queue. """ return pulumi.get(self, "compartment_id") @@ -55,7 +55,7 @@ def compartment_id(self) -> Optional[str]: @pulumi.getter(name="displayName") def display_name(self) -> Optional[str]: """ - Queue Identifier, can be renamed + A user-friendly name for the queue. Does not have to be unique, and it's changeable. Avoid entering confidential information. """ return pulumi.get(self, "display_name") @@ -68,7 +68,7 @@ def filters(self) -> Optional[Sequence['outputs.GetQueuesFilterResult']]: @pulumi.getter def id(self) -> Optional[str]: """ - Unique identifier that is immutable on creation + A unique identifier for the queue that is immutable on creation. """ return pulumi.get(self, "id") @@ -84,7 +84,7 @@ def queue_collections(self) -> Sequence['outputs.GetQueuesQueueCollectionResult' @pulumi.getter def state(self) -> Optional[str]: """ - The current state of the Queue. + The current state of the queue. """ return pulumi.get(self, "state") @@ -112,7 +112,7 @@ def get_queues(compartment_id: Optional[str] = None, """ This data source provides the list of Queues in Oracle Cloud Infrastructure Queue service. - Returns a list of Queues. + Returns a list of queues. ## Example Usage @@ -127,9 +127,9 @@ def get_queues(compartment_id: Optional[str] = None, ``` - :param str compartment_id: The ID of the compartment in which to list resources. + :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. :param str display_name: A filter to return only resources that match the entire display name given. - :param str id: unique Queue identifier + :param str id: The unique queue identifier. :param str state: A filter to return only resources their lifecycleState matches the given lifecycleState. """ __args__ = dict() @@ -160,7 +160,7 @@ def get_queues_output(compartment_id: Optional[pulumi.Input[Optional[str]]] = No """ This data source provides the list of Queues in Oracle Cloud Infrastructure Queue service. - Returns a list of Queues. + Returns a list of queues. ## Example Usage @@ -175,9 +175,9 @@ def get_queues_output(compartment_id: Optional[pulumi.Input[Optional[str]]] = No ``` - :param str compartment_id: The ID of the compartment in which to list resources. + :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. :param str display_name: A filter to return only resources that match the entire display name given. - :param str id: unique Queue identifier + :param str id: The unique queue identifier. :param str state: A filter to return only resources their lifecycleState matches the given lifecycleState. """ ... diff --git a/sdk/python/pulumi_oci/queue/outputs.py b/sdk/python/pulumi_oci/queue/outputs.py index 299b29ed6d..bed225f37d 100644 --- a/sdk/python/pulumi_oci/queue/outputs.py +++ b/sdk/python/pulumi_oci/queue/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -22,10 +22,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetQueuesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -47,7 +60,16 @@ def regex(self) -> Optional[bool]: class GetQueuesQueueCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetQueuesQueueCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetQueuesQueueCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetQueuesQueueCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -58,6 +80,7 @@ def items(self) -> Sequence['outputs.GetQueuesQueueCollectionItemResult']: @pulumi.output_type class GetQueuesQueueCollectionItemResult(dict): def __init__(__self__, *, + channel_consumption_limit: int, compartment_id: str, custom_encryption_key_id: str, dead_letter_queue_delivery_count: int, @@ -77,47 +100,102 @@ def __init__(__self__, *, timeout_in_seconds: int, visibility_in_seconds: int): """ - :param str compartment_id: The ID of the compartment in which to list resources. - :param str custom_encryption_key_id: Id of the custom master encryption key which will be used to encrypt messages content + :param int channel_consumption_limit: The percentage of allocated queue resources that can be consumed by a single channel. For example, if a queue has a storage limit of 2Gb, and a single channel consumption limit is 0.1 (10%), that means data size of a single channel can't exceed 200Mb. Consumption limit of 100% (default) means that a single channel can consume up-to all allocated queue's resources. + :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. + :param str custom_encryption_key_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the custom encryption key to be used to encrypt messages content. :param int dead_letter_queue_delivery_count: The number of times a message can be delivered to a consumer before being moved to the dead letter queue. A value of 0 indicates that the DLQ is not used. :param Mapping[str, Any] defined_tags: Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` :param str display_name: A filter to return only resources that match the entire display name given. :param Mapping[str, Any] freeform_tags: Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` - :param str id: unique Queue identifier - :param str lifecycle_details: A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. + :param str id: The unique queue identifier. + :param str lifecycle_details: Any additional details about the current state of the queue. :param str messages_endpoint: The endpoint to use to consume or publish messages in the queue. :param int retention_in_seconds: The retention period of the messages in the queue, in seconds. :param str state: A filter to return only resources their lifecycleState matches the given lifecycleState. :param Mapping[str, Any] system_tags: Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` - :param str time_created: The time the the Queue was created. An RFC3339 formatted datetime string - :param str time_updated: The time the Queue was updated. An RFC3339 formatted datetime string + :param str time_created: The time that the queue was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` + :param str time_updated: The time that the queue was updated, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` :param int timeout_in_seconds: The default polling timeout of the messages in the queue, in seconds. - :param int visibility_in_seconds: The default visibility of the messages consumed from the queue. - """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "custom_encryption_key_id", custom_encryption_key_id) - pulumi.set(__self__, "dead_letter_queue_delivery_count", dead_letter_queue_delivery_count) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "messages_endpoint", messages_endpoint) - pulumi.set(__self__, "purge_queue", purge_queue) - pulumi.set(__self__, "purge_type", purge_type) - pulumi.set(__self__, "retention_in_seconds", retention_in_seconds) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "timeout_in_seconds", timeout_in_seconds) - pulumi.set(__self__, "visibility_in_seconds", visibility_in_seconds) + :param int visibility_in_seconds: The default visibility timeout of the messages consumed from the queue, in seconds. + """ + GetQueuesQueueCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + channel_consumption_limit=channel_consumption_limit, + compartment_id=compartment_id, + custom_encryption_key_id=custom_encryption_key_id, + dead_letter_queue_delivery_count=dead_letter_queue_delivery_count, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + messages_endpoint=messages_endpoint, + purge_queue=purge_queue, + purge_type=purge_type, + retention_in_seconds=retention_in_seconds, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + timeout_in_seconds=timeout_in_seconds, + visibility_in_seconds=visibility_in_seconds, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + channel_consumption_limit: int, + compartment_id: str, + custom_encryption_key_id: str, + dead_letter_queue_delivery_count: int, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + messages_endpoint: str, + purge_queue: bool, + purge_type: str, + retention_in_seconds: int, + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + timeout_in_seconds: int, + visibility_in_seconds: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("channel_consumption_limit", channel_consumption_limit) + _setter("compartment_id", compartment_id) + _setter("custom_encryption_key_id", custom_encryption_key_id) + _setter("dead_letter_queue_delivery_count", dead_letter_queue_delivery_count) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("messages_endpoint", messages_endpoint) + _setter("purge_queue", purge_queue) + _setter("purge_type", purge_type) + _setter("retention_in_seconds", retention_in_seconds) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("timeout_in_seconds", timeout_in_seconds) + _setter("visibility_in_seconds", visibility_in_seconds) + + @property + @pulumi.getter(name="channelConsumptionLimit") + def channel_consumption_limit(self) -> int: + """ + The percentage of allocated queue resources that can be consumed by a single channel. For example, if a queue has a storage limit of 2Gb, and a single channel consumption limit is 0.1 (10%), that means data size of a single channel can't exceed 200Mb. Consumption limit of 100% (default) means that a single channel can consume up-to all allocated queue's resources. + """ + return pulumi.get(self, "channel_consumption_limit") @property @pulumi.getter(name="compartmentId") def compartment_id(self) -> str: """ - The ID of the compartment in which to list resources. + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources. """ return pulumi.get(self, "compartment_id") @@ -125,7 +203,7 @@ def compartment_id(self) -> str: @pulumi.getter(name="customEncryptionKeyId") def custom_encryption_key_id(self) -> str: """ - Id of the custom master encryption key which will be used to encrypt messages content + The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the custom encryption key to be used to encrypt messages content. """ return pulumi.get(self, "custom_encryption_key_id") @@ -165,7 +243,7 @@ def freeform_tags(self) -> Mapping[str, Any]: @pulumi.getter def id(self) -> str: """ - unique Queue identifier + The unique queue identifier. """ return pulumi.get(self, "id") @@ -173,7 +251,7 @@ def id(self) -> str: @pulumi.getter(name="lifecycleDetails") def lifecycle_details(self) -> str: """ - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. + Any additional details about the current state of the queue. """ return pulumi.get(self, "lifecycle_details") @@ -223,7 +301,7 @@ def system_tags(self) -> Mapping[str, Any]: @pulumi.getter(name="timeCreated") def time_created(self) -> str: """ - The time the the Queue was created. An RFC3339 formatted datetime string + The time that the queue was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` """ return pulumi.get(self, "time_created") @@ -231,7 +309,7 @@ def time_created(self) -> str: @pulumi.getter(name="timeUpdated") def time_updated(self) -> str: """ - The time the Queue was updated. An RFC3339 formatted datetime string + The time that the queue was updated, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` """ return pulumi.get(self, "time_updated") @@ -247,7 +325,7 @@ def timeout_in_seconds(self) -> int: @pulumi.getter(name="visibilityInSeconds") def visibility_in_seconds(self) -> int: """ - The default visibility of the messages consumed from the queue. + The default visibility timeout of the messages consumed from the queue, in seconds. """ return pulumi.get(self, "visibility_in_seconds") diff --git a/sdk/python/pulumi_oci/queue/queue.py b/sdk/python/pulumi_oci/queue/queue.py index 87697dfcb8..78af02fe0e 100644 --- a/sdk/python/pulumi_oci/queue/queue.py +++ b/sdk/python/pulumi_oci/queue/queue.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['QueueArgs', 'Queue'] @@ -16,6 +16,7 @@ class QueueArgs: def __init__(__self__, *, compartment_id: pulumi.Input[str], display_name: pulumi.Input[str], + channel_consumption_limit: Optional[pulumi.Input[int]] = None, custom_encryption_key_id: Optional[pulumi.Input[str]] = None, dead_letter_queue_delivery_count: Optional[pulumi.Input[int]] = None, defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, @@ -27,42 +28,76 @@ def __init__(__self__, *, visibility_in_seconds: Optional[pulumi.Input[int]] = None): """ The set of arguments for constructing a Queue resource. - :param pulumi.Input[str] compartment_id: (Updatable) Compartment Identifier - :param pulumi.Input[str] display_name: (Updatable) Queue Identifier - :param pulumi.Input[str] custom_encryption_key_id: (Updatable) Id of the custom master encryption key which will be used to encrypt messages content + :param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the queue. + :param pulumi.Input[str] display_name: (Updatable) The user-friendly name of the queue. + :param pulumi.Input[int] channel_consumption_limit: (Updatable) The percentage of allocated queue resources that can be consumed by a single channel. For example, if a queue has a storage limit of 2Gb, and a single channel consumption limit is 0.1 (10%), that means data size of a single channel can't exceed 200Mb. Consumption limit of 100% (default) means that a single channel can consume up-to all allocated queue's resources. + :param pulumi.Input[str] custom_encryption_key_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the custom encryption key to be used to encrypt messages content. :param pulumi.Input[int] dead_letter_queue_delivery_count: (Updatable) The number of times a message can be delivered to a consumer before being moved to the dead letter queue. A value of 0 indicates that the DLQ is not used. :param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` - :param pulumi.Input[int] retention_in_seconds: The retention period of the messages in the queue, in seconds. + :param pulumi.Input[int] retention_in_seconds: The retention period of messages in the queue, in seconds. :param pulumi.Input[int] timeout_in_seconds: (Updatable) The default polling timeout of the messages in the queue, in seconds. - :param pulumi.Input[int] visibility_in_seconds: (Updatable) The default visibility of the messages consumed from the queue. - """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) + :param pulumi.Input[int] visibility_in_seconds: (Updatable) The default visibility timeout of the messages consumed from the queue, in seconds. + """ + QueueArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + channel_consumption_limit=channel_consumption_limit, + custom_encryption_key_id=custom_encryption_key_id, + dead_letter_queue_delivery_count=dead_letter_queue_delivery_count, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + purge_queue=purge_queue, + purge_type=purge_type, + retention_in_seconds=retention_in_seconds, + timeout_in_seconds=timeout_in_seconds, + visibility_in_seconds=visibility_in_seconds, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + channel_consumption_limit: Optional[pulumi.Input[int]] = None, + custom_encryption_key_id: Optional[pulumi.Input[str]] = None, + dead_letter_queue_delivery_count: Optional[pulumi.Input[int]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + purge_queue: Optional[pulumi.Input[bool]] = None, + purge_type: Optional[pulumi.Input[str]] = None, + retention_in_seconds: Optional[pulumi.Input[int]] = None, + timeout_in_seconds: Optional[pulumi.Input[int]] = None, + visibility_in_seconds: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) + if channel_consumption_limit is not None: + _setter("channel_consumption_limit", channel_consumption_limit) if custom_encryption_key_id is not None: - pulumi.set(__self__, "custom_encryption_key_id", custom_encryption_key_id) + _setter("custom_encryption_key_id", custom_encryption_key_id) if dead_letter_queue_delivery_count is not None: - pulumi.set(__self__, "dead_letter_queue_delivery_count", dead_letter_queue_delivery_count) + _setter("dead_letter_queue_delivery_count", dead_letter_queue_delivery_count) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if purge_queue is not None: - pulumi.set(__self__, "purge_queue", purge_queue) + _setter("purge_queue", purge_queue) if purge_type is not None: - pulumi.set(__self__, "purge_type", purge_type) + _setter("purge_type", purge_type) if retention_in_seconds is not None: - pulumi.set(__self__, "retention_in_seconds", retention_in_seconds) + _setter("retention_in_seconds", retention_in_seconds) if timeout_in_seconds is not None: - pulumi.set(__self__, "timeout_in_seconds", timeout_in_seconds) + _setter("timeout_in_seconds", timeout_in_seconds) if visibility_in_seconds is not None: - pulumi.set(__self__, "visibility_in_seconds", visibility_in_seconds) + _setter("visibility_in_seconds", visibility_in_seconds) @property @pulumi.getter(name="compartmentId") def compartment_id(self) -> pulumi.Input[str]: """ - (Updatable) Compartment Identifier + (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the queue. """ return pulumi.get(self, "compartment_id") @@ -74,7 +109,7 @@ def compartment_id(self, value: pulumi.Input[str]): @pulumi.getter(name="displayName") def display_name(self) -> pulumi.Input[str]: """ - (Updatable) Queue Identifier + (Updatable) The user-friendly name of the queue. """ return pulumi.get(self, "display_name") @@ -82,11 +117,23 @@ def display_name(self) -> pulumi.Input[str]: def display_name(self, value: pulumi.Input[str]): pulumi.set(self, "display_name", value) + @property + @pulumi.getter(name="channelConsumptionLimit") + def channel_consumption_limit(self) -> Optional[pulumi.Input[int]]: + """ + (Updatable) The percentage of allocated queue resources that can be consumed by a single channel. For example, if a queue has a storage limit of 2Gb, and a single channel consumption limit is 0.1 (10%), that means data size of a single channel can't exceed 200Mb. Consumption limit of 100% (default) means that a single channel can consume up-to all allocated queue's resources. + """ + return pulumi.get(self, "channel_consumption_limit") + + @channel_consumption_limit.setter + def channel_consumption_limit(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "channel_consumption_limit", value) + @property @pulumi.getter(name="customEncryptionKeyId") def custom_encryption_key_id(self) -> Optional[pulumi.Input[str]]: """ - (Updatable) Id of the custom master encryption key which will be used to encrypt messages content + (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the custom encryption key to be used to encrypt messages content. """ return pulumi.get(self, "custom_encryption_key_id") @@ -152,7 +199,7 @@ def purge_type(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="retentionInSeconds") def retention_in_seconds(self) -> Optional[pulumi.Input[int]]: """ - The retention period of the messages in the queue, in seconds. + The retention period of messages in the queue, in seconds. """ return pulumi.get(self, "retention_in_seconds") @@ -176,7 +223,7 @@ def timeout_in_seconds(self, value: Optional[pulumi.Input[int]]): @pulumi.getter(name="visibilityInSeconds") def visibility_in_seconds(self) -> Optional[pulumi.Input[int]]: """ - (Updatable) The default visibility of the messages consumed from the queue. + (Updatable) The default visibility timeout of the messages consumed from the queue, in seconds. """ return pulumi.get(self, "visibility_in_seconds") @@ -188,6 +235,7 @@ def visibility_in_seconds(self, value: Optional[pulumi.Input[int]]): @pulumi.input_type class _QueueState: def __init__(__self__, *, + channel_consumption_limit: Optional[pulumi.Input[int]] = None, compartment_id: Optional[pulumi.Input[str]] = None, custom_encryption_key_id: Optional[pulumi.Input[str]] = None, dead_letter_queue_delivery_count: Optional[pulumi.Input[int]] = None, @@ -207,62 +255,120 @@ def __init__(__self__, *, visibility_in_seconds: Optional[pulumi.Input[int]] = None): """ Input properties used for looking up and filtering Queue resources. - :param pulumi.Input[str] compartment_id: (Updatable) Compartment Identifier - :param pulumi.Input[str] custom_encryption_key_id: (Updatable) Id of the custom master encryption key which will be used to encrypt messages content + :param pulumi.Input[int] channel_consumption_limit: (Updatable) The percentage of allocated queue resources that can be consumed by a single channel. For example, if a queue has a storage limit of 2Gb, and a single channel consumption limit is 0.1 (10%), that means data size of a single channel can't exceed 200Mb. Consumption limit of 100% (default) means that a single channel can consume up-to all allocated queue's resources. + :param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the queue. + :param pulumi.Input[str] custom_encryption_key_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the custom encryption key to be used to encrypt messages content. :param pulumi.Input[int] dead_letter_queue_delivery_count: (Updatable) The number of times a message can be delivered to a consumer before being moved to the dead letter queue. A value of 0 indicates that the DLQ is not used. :param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` - :param pulumi.Input[str] display_name: (Updatable) Queue Identifier + :param pulumi.Input[str] display_name: (Updatable) The user-friendly name of the queue. :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` - :param pulumi.Input[str] lifecycle_details: A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. + :param pulumi.Input[str] lifecycle_details: Any additional details about the current state of the queue. :param pulumi.Input[str] messages_endpoint: The endpoint to use to consume or publish messages in the queue. - :param pulumi.Input[int] retention_in_seconds: The retention period of the messages in the queue, in seconds. - :param pulumi.Input[str] state: The current state of the Queue. + :param pulumi.Input[int] retention_in_seconds: The retention period of messages in the queue, in seconds. + :param pulumi.Input[str] state: The current state of the queue. :param pulumi.Input[Mapping[str, Any]] system_tags: Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` - :param pulumi.Input[str] time_created: The time the the Queue was created. An RFC3339 formatted datetime string - :param pulumi.Input[str] time_updated: The time the Queue was updated. An RFC3339 formatted datetime string + :param pulumi.Input[str] time_created: The time that the queue was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` + :param pulumi.Input[str] time_updated: The time that the queue was updated, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` :param pulumi.Input[int] timeout_in_seconds: (Updatable) The default polling timeout of the messages in the queue, in seconds. - :param pulumi.Input[int] visibility_in_seconds: (Updatable) The default visibility of the messages consumed from the queue. - """ + :param pulumi.Input[int] visibility_in_seconds: (Updatable) The default visibility timeout of the messages consumed from the queue, in seconds. + """ + _QueueState._configure( + lambda key, value: pulumi.set(__self__, key, value), + channel_consumption_limit=channel_consumption_limit, + compartment_id=compartment_id, + custom_encryption_key_id=custom_encryption_key_id, + dead_letter_queue_delivery_count=dead_letter_queue_delivery_count, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + messages_endpoint=messages_endpoint, + purge_queue=purge_queue, + purge_type=purge_type, + retention_in_seconds=retention_in_seconds, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + timeout_in_seconds=timeout_in_seconds, + visibility_in_seconds=visibility_in_seconds, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + channel_consumption_limit: Optional[pulumi.Input[int]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + custom_encryption_key_id: Optional[pulumi.Input[str]] = None, + dead_letter_queue_delivery_count: Optional[pulumi.Input[int]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + messages_endpoint: Optional[pulumi.Input[str]] = None, + purge_queue: Optional[pulumi.Input[bool]] = None, + purge_type: Optional[pulumi.Input[str]] = None, + retention_in_seconds: Optional[pulumi.Input[int]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + timeout_in_seconds: Optional[pulumi.Input[int]] = None, + visibility_in_seconds: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + if channel_consumption_limit is not None: + _setter("channel_consumption_limit", channel_consumption_limit) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if custom_encryption_key_id is not None: - pulumi.set(__self__, "custom_encryption_key_id", custom_encryption_key_id) + _setter("custom_encryption_key_id", custom_encryption_key_id) if dead_letter_queue_delivery_count is not None: - pulumi.set(__self__, "dead_letter_queue_delivery_count", dead_letter_queue_delivery_count) + _setter("dead_letter_queue_delivery_count", dead_letter_queue_delivery_count) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if messages_endpoint is not None: - pulumi.set(__self__, "messages_endpoint", messages_endpoint) + _setter("messages_endpoint", messages_endpoint) if purge_queue is not None: - pulumi.set(__self__, "purge_queue", purge_queue) + _setter("purge_queue", purge_queue) if purge_type is not None: - pulumi.set(__self__, "purge_type", purge_type) + _setter("purge_type", purge_type) if retention_in_seconds is not None: - pulumi.set(__self__, "retention_in_seconds", retention_in_seconds) + _setter("retention_in_seconds", retention_in_seconds) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if timeout_in_seconds is not None: - pulumi.set(__self__, "timeout_in_seconds", timeout_in_seconds) + _setter("timeout_in_seconds", timeout_in_seconds) if visibility_in_seconds is not None: - pulumi.set(__self__, "visibility_in_seconds", visibility_in_seconds) + _setter("visibility_in_seconds", visibility_in_seconds) + + @property + @pulumi.getter(name="channelConsumptionLimit") + def channel_consumption_limit(self) -> Optional[pulumi.Input[int]]: + """ + (Updatable) The percentage of allocated queue resources that can be consumed by a single channel. For example, if a queue has a storage limit of 2Gb, and a single channel consumption limit is 0.1 (10%), that means data size of a single channel can't exceed 200Mb. Consumption limit of 100% (default) means that a single channel can consume up-to all allocated queue's resources. + """ + return pulumi.get(self, "channel_consumption_limit") + + @channel_consumption_limit.setter + def channel_consumption_limit(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "channel_consumption_limit", value) @property @pulumi.getter(name="compartmentId") def compartment_id(self) -> Optional[pulumi.Input[str]]: """ - (Updatable) Compartment Identifier + (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the queue. """ return pulumi.get(self, "compartment_id") @@ -274,7 +380,7 @@ def compartment_id(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="customEncryptionKeyId") def custom_encryption_key_id(self) -> Optional[pulumi.Input[str]]: """ - (Updatable) Id of the custom master encryption key which will be used to encrypt messages content + (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the custom encryption key to be used to encrypt messages content. """ return pulumi.get(self, "custom_encryption_key_id") @@ -310,7 +416,7 @@ def defined_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): @pulumi.getter(name="displayName") def display_name(self) -> Optional[pulumi.Input[str]]: """ - (Updatable) Queue Identifier + (Updatable) The user-friendly name of the queue. """ return pulumi.get(self, "display_name") @@ -334,7 +440,7 @@ def freeform_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): @pulumi.getter(name="lifecycleDetails") def lifecycle_details(self) -> Optional[pulumi.Input[str]]: """ - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. + Any additional details about the current state of the queue. """ return pulumi.get(self, "lifecycle_details") @@ -376,7 +482,7 @@ def purge_type(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="retentionInSeconds") def retention_in_seconds(self) -> Optional[pulumi.Input[int]]: """ - The retention period of the messages in the queue, in seconds. + The retention period of messages in the queue, in seconds. """ return pulumi.get(self, "retention_in_seconds") @@ -388,7 +494,7 @@ def retention_in_seconds(self, value: Optional[pulumi.Input[int]]): @pulumi.getter def state(self) -> Optional[pulumi.Input[str]]: """ - The current state of the Queue. + The current state of the queue. """ return pulumi.get(self, "state") @@ -412,7 +518,7 @@ def system_tags(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): @pulumi.getter(name="timeCreated") def time_created(self) -> Optional[pulumi.Input[str]]: """ - The time the the Queue was created. An RFC3339 formatted datetime string + The time that the queue was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` """ return pulumi.get(self, "time_created") @@ -424,7 +530,7 @@ def time_created(self, value: Optional[pulumi.Input[str]]): @pulumi.getter(name="timeUpdated") def time_updated(self) -> Optional[pulumi.Input[str]]: """ - The time the Queue was updated. An RFC3339 formatted datetime string + The time that the queue was updated, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` """ return pulumi.get(self, "time_updated") @@ -448,7 +554,7 @@ def timeout_in_seconds(self, value: Optional[pulumi.Input[int]]): @pulumi.getter(name="visibilityInSeconds") def visibility_in_seconds(self) -> Optional[pulumi.Input[int]]: """ - (Updatable) The default visibility of the messages consumed from the queue. + (Updatable) The default visibility timeout of the messages consumed from the queue, in seconds. """ return pulumi.get(self, "visibility_in_seconds") @@ -462,6 +568,7 @@ class Queue(pulumi.CustomResource): def __init__(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, + channel_consumption_limit: Optional[pulumi.Input[int]] = None, compartment_id: Optional[pulumi.Input[str]] = None, custom_encryption_key_id: Optional[pulumi.Input[str]] = None, dead_letter_queue_delivery_count: Optional[pulumi.Input[int]] = None, @@ -477,7 +584,7 @@ def __init__(__self__, """ This resource provides the Queue resource in Oracle Cloud Infrastructure Queue service. - Creates a new Queue. + Creates a new queue. ## Example Usage @@ -488,6 +595,7 @@ def __init__(__self__, test_queue = oci.queue.Queue("testQueue", compartment_id=var["compartment_id"], display_name=var["queue_display_name"], + channel_consumption_limit=var["queue_channel_consumption_limit"], custom_encryption_key_id=oci_kms_key["test_key"]["id"], dead_letter_queue_delivery_count=var["queue_dead_letter_queue_delivery_count"], defined_tags={ @@ -511,15 +619,16 @@ def __init__(__self__, :param str resource_name: The name of the resource. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] compartment_id: (Updatable) Compartment Identifier - :param pulumi.Input[str] custom_encryption_key_id: (Updatable) Id of the custom master encryption key which will be used to encrypt messages content + :param pulumi.Input[int] channel_consumption_limit: (Updatable) The percentage of allocated queue resources that can be consumed by a single channel. For example, if a queue has a storage limit of 2Gb, and a single channel consumption limit is 0.1 (10%), that means data size of a single channel can't exceed 200Mb. Consumption limit of 100% (default) means that a single channel can consume up-to all allocated queue's resources. + :param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the queue. + :param pulumi.Input[str] custom_encryption_key_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the custom encryption key to be used to encrypt messages content. :param pulumi.Input[int] dead_letter_queue_delivery_count: (Updatable) The number of times a message can be delivered to a consumer before being moved to the dead letter queue. A value of 0 indicates that the DLQ is not used. :param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` - :param pulumi.Input[str] display_name: (Updatable) Queue Identifier + :param pulumi.Input[str] display_name: (Updatable) The user-friendly name of the queue. :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` - :param pulumi.Input[int] retention_in_seconds: The retention period of the messages in the queue, in seconds. + :param pulumi.Input[int] retention_in_seconds: The retention period of messages in the queue, in seconds. :param pulumi.Input[int] timeout_in_seconds: (Updatable) The default polling timeout of the messages in the queue, in seconds. - :param pulumi.Input[int] visibility_in_seconds: (Updatable) The default visibility of the messages consumed from the queue. + :param pulumi.Input[int] visibility_in_seconds: (Updatable) The default visibility timeout of the messages consumed from the queue, in seconds. """ ... @overload @@ -530,7 +639,7 @@ def __init__(__self__, """ This resource provides the Queue resource in Oracle Cloud Infrastructure Queue service. - Creates a new Queue. + Creates a new queue. ## Example Usage @@ -541,6 +650,7 @@ def __init__(__self__, test_queue = oci.queue.Queue("testQueue", compartment_id=var["compartment_id"], display_name=var["queue_display_name"], + channel_consumption_limit=var["queue_channel_consumption_limit"], custom_encryption_key_id=oci_kms_key["test_key"]["id"], dead_letter_queue_delivery_count=var["queue_dead_letter_queue_delivery_count"], defined_tags={ @@ -572,11 +682,16 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + QueueArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions] = None, + channel_consumption_limit: Optional[pulumi.Input[int]] = None, compartment_id: Optional[pulumi.Input[str]] = None, custom_encryption_key_id: Optional[pulumi.Input[str]] = None, dead_letter_queue_delivery_count: Optional[pulumi.Input[int]] = None, @@ -597,6 +712,7 @@ def _internal_init(__self__, raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = QueueArgs.__new__(QueueArgs) + __props__.__dict__["channel_consumption_limit"] = channel_consumption_limit if compartment_id is None and not opts.urn: raise TypeError("Missing required property 'compartment_id'") __props__.__dict__["compartment_id"] = compartment_id @@ -628,6 +744,7 @@ def _internal_init(__self__, def get(resource_name: str, id: pulumi.Input[str], opts: Optional[pulumi.ResourceOptions] = None, + channel_consumption_limit: Optional[pulumi.Input[int]] = None, compartment_id: Optional[pulumi.Input[str]] = None, custom_encryption_key_id: Optional[pulumi.Input[str]] = None, dead_letter_queue_delivery_count: Optional[pulumi.Input[int]] = None, @@ -652,26 +769,28 @@ def get(resource_name: str, :param str resource_name: The unique name of the resulting resource. :param pulumi.Input[str] id: The unique provider ID of the resource to lookup. :param pulumi.ResourceOptions opts: Options for the resource. - :param pulumi.Input[str] compartment_id: (Updatable) Compartment Identifier - :param pulumi.Input[str] custom_encryption_key_id: (Updatable) Id of the custom master encryption key which will be used to encrypt messages content + :param pulumi.Input[int] channel_consumption_limit: (Updatable) The percentage of allocated queue resources that can be consumed by a single channel. For example, if a queue has a storage limit of 2Gb, and a single channel consumption limit is 0.1 (10%), that means data size of a single channel can't exceed 200Mb. Consumption limit of 100% (default) means that a single channel can consume up-to all allocated queue's resources. + :param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the queue. + :param pulumi.Input[str] custom_encryption_key_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the custom encryption key to be used to encrypt messages content. :param pulumi.Input[int] dead_letter_queue_delivery_count: (Updatable) The number of times a message can be delivered to a consumer before being moved to the dead letter queue. A value of 0 indicates that the DLQ is not used. :param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` - :param pulumi.Input[str] display_name: (Updatable) Queue Identifier + :param pulumi.Input[str] display_name: (Updatable) The user-friendly name of the queue. :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` - :param pulumi.Input[str] lifecycle_details: A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. + :param pulumi.Input[str] lifecycle_details: Any additional details about the current state of the queue. :param pulumi.Input[str] messages_endpoint: The endpoint to use to consume or publish messages in the queue. - :param pulumi.Input[int] retention_in_seconds: The retention period of the messages in the queue, in seconds. - :param pulumi.Input[str] state: The current state of the Queue. + :param pulumi.Input[int] retention_in_seconds: The retention period of messages in the queue, in seconds. + :param pulumi.Input[str] state: The current state of the queue. :param pulumi.Input[Mapping[str, Any]] system_tags: Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` - :param pulumi.Input[str] time_created: The time the the Queue was created. An RFC3339 formatted datetime string - :param pulumi.Input[str] time_updated: The time the Queue was updated. An RFC3339 formatted datetime string + :param pulumi.Input[str] time_created: The time that the queue was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` + :param pulumi.Input[str] time_updated: The time that the queue was updated, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` :param pulumi.Input[int] timeout_in_seconds: (Updatable) The default polling timeout of the messages in the queue, in seconds. - :param pulumi.Input[int] visibility_in_seconds: (Updatable) The default visibility of the messages consumed from the queue. + :param pulumi.Input[int] visibility_in_seconds: (Updatable) The default visibility timeout of the messages consumed from the queue, in seconds. """ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id)) __props__ = _QueueState.__new__(_QueueState) + __props__.__dict__["channel_consumption_limit"] = channel_consumption_limit __props__.__dict__["compartment_id"] = compartment_id __props__.__dict__["custom_encryption_key_id"] = custom_encryption_key_id __props__.__dict__["dead_letter_queue_delivery_count"] = dead_letter_queue_delivery_count @@ -691,11 +810,19 @@ def get(resource_name: str, __props__.__dict__["visibility_in_seconds"] = visibility_in_seconds return Queue(resource_name, opts=opts, __props__=__props__) + @property + @pulumi.getter(name="channelConsumptionLimit") + def channel_consumption_limit(self) -> pulumi.Output[int]: + """ + (Updatable) The percentage of allocated queue resources that can be consumed by a single channel. For example, if a queue has a storage limit of 2Gb, and a single channel consumption limit is 0.1 (10%), that means data size of a single channel can't exceed 200Mb. Consumption limit of 100% (default) means that a single channel can consume up-to all allocated queue's resources. + """ + return pulumi.get(self, "channel_consumption_limit") + @property @pulumi.getter(name="compartmentId") def compartment_id(self) -> pulumi.Output[str]: """ - (Updatable) Compartment Identifier + (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the queue. """ return pulumi.get(self, "compartment_id") @@ -703,7 +830,7 @@ def compartment_id(self) -> pulumi.Output[str]: @pulumi.getter(name="customEncryptionKeyId") def custom_encryption_key_id(self) -> pulumi.Output[str]: """ - (Updatable) Id of the custom master encryption key which will be used to encrypt messages content + (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the custom encryption key to be used to encrypt messages content. """ return pulumi.get(self, "custom_encryption_key_id") @@ -727,7 +854,7 @@ def defined_tags(self) -> pulumi.Output[Mapping[str, Any]]: @pulumi.getter(name="displayName") def display_name(self) -> pulumi.Output[str]: """ - (Updatable) Queue Identifier + (Updatable) The user-friendly name of the queue. """ return pulumi.get(self, "display_name") @@ -743,7 +870,7 @@ def freeform_tags(self) -> pulumi.Output[Mapping[str, Any]]: @pulumi.getter(name="lifecycleDetails") def lifecycle_details(self) -> pulumi.Output[str]: """ - A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state. + Any additional details about the current state of the queue. """ return pulumi.get(self, "lifecycle_details") @@ -769,7 +896,7 @@ def purge_type(self) -> pulumi.Output[Optional[str]]: @pulumi.getter(name="retentionInSeconds") def retention_in_seconds(self) -> pulumi.Output[int]: """ - The retention period of the messages in the queue, in seconds. + The retention period of messages in the queue, in seconds. """ return pulumi.get(self, "retention_in_seconds") @@ -777,7 +904,7 @@ def retention_in_seconds(self) -> pulumi.Output[int]: @pulumi.getter def state(self) -> pulumi.Output[str]: """ - The current state of the Queue. + The current state of the queue. """ return pulumi.get(self, "state") @@ -793,7 +920,7 @@ def system_tags(self) -> pulumi.Output[Mapping[str, Any]]: @pulumi.getter(name="timeCreated") def time_created(self) -> pulumi.Output[str]: """ - The time the the Queue was created. An RFC3339 formatted datetime string + The time that the queue was created, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` """ return pulumi.get(self, "time_created") @@ -801,7 +928,7 @@ def time_created(self) -> pulumi.Output[str]: @pulumi.getter(name="timeUpdated") def time_updated(self) -> pulumi.Output[str]: """ - The time the Queue was updated. An RFC3339 formatted datetime string + The time that the queue was updated, expressed in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` """ return pulumi.get(self, "time_updated") @@ -817,7 +944,7 @@ def timeout_in_seconds(self) -> pulumi.Output[int]: @pulumi.getter(name="visibilityInSeconds") def visibility_in_seconds(self) -> pulumi.Output[int]: """ - (Updatable) The default visibility of the messages consumed from the queue. + (Updatable) The default visibility timeout of the messages consumed from the queue, in seconds. """ return pulumi.get(self, "visibility_in_seconds") diff --git a/sdk/python/pulumi_oci/recoverymod/_inputs.py b/sdk/python/pulumi_oci/recoverymod/_inputs.py index 37eb1cee6f..5991b877e9 100644 --- a/sdk/python/pulumi_oci/recoverymod/_inputs.py +++ b/sdk/python/pulumi_oci/recoverymod/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -36,20 +36,41 @@ def __init__(__self__, *, :param pulumi.Input[float] retention_period_in_days: The maximum number of days to retain backups for a protected database. :param pulumi.Input[float] unprotected_window_in_seconds: This is the time window when there is data loss exposure. The point after which recovery is impossible unless additional redo is available. This is the time we received the last backup or last redo-log shipped. """ + ProtectedDatabaseMetricArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + backup_space_estimate_in_gbs=backup_space_estimate_in_gbs, + backup_space_used_in_gbs=backup_space_used_in_gbs, + current_retention_period_in_seconds=current_retention_period_in_seconds, + db_size_in_gbs=db_size_in_gbs, + is_redo_logs_enabled=is_redo_logs_enabled, + retention_period_in_days=retention_period_in_days, + unprotected_window_in_seconds=unprotected_window_in_seconds, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backup_space_estimate_in_gbs: Optional[pulumi.Input[float]] = None, + backup_space_used_in_gbs: Optional[pulumi.Input[float]] = None, + current_retention_period_in_seconds: Optional[pulumi.Input[float]] = None, + db_size_in_gbs: Optional[pulumi.Input[float]] = None, + is_redo_logs_enabled: Optional[pulumi.Input[bool]] = None, + retention_period_in_days: Optional[pulumi.Input[float]] = None, + unprotected_window_in_seconds: Optional[pulumi.Input[float]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if backup_space_estimate_in_gbs is not None: - pulumi.set(__self__, "backup_space_estimate_in_gbs", backup_space_estimate_in_gbs) + _setter("backup_space_estimate_in_gbs", backup_space_estimate_in_gbs) if backup_space_used_in_gbs is not None: - pulumi.set(__self__, "backup_space_used_in_gbs", backup_space_used_in_gbs) + _setter("backup_space_used_in_gbs", backup_space_used_in_gbs) if current_retention_period_in_seconds is not None: - pulumi.set(__self__, "current_retention_period_in_seconds", current_retention_period_in_seconds) + _setter("current_retention_period_in_seconds", current_retention_period_in_seconds) if db_size_in_gbs is not None: - pulumi.set(__self__, "db_size_in_gbs", db_size_in_gbs) + _setter("db_size_in_gbs", db_size_in_gbs) if is_redo_logs_enabled is not None: - pulumi.set(__self__, "is_redo_logs_enabled", is_redo_logs_enabled) + _setter("is_redo_logs_enabled", is_redo_logs_enabled) if retention_period_in_days is not None: - pulumi.set(__self__, "retention_period_in_days", retention_period_in_days) + _setter("retention_period_in_days", retention_period_in_days) if unprotected_window_in_seconds is not None: - pulumi.set(__self__, "unprotected_window_in_seconds", unprotected_window_in_seconds) + _setter("unprotected_window_in_seconds", unprotected_window_in_seconds) @property @pulumi.getter(name="backupSpaceEstimateInGbs") @@ -149,9 +170,20 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] state: The current state of the Protected Database. """ - pulumi.set(__self__, "recovery_service_subnet_id", recovery_service_subnet_id) + ProtectedDatabaseRecoveryServiceSubnetArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + recovery_service_subnet_id=recovery_service_subnet_id, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + recovery_service_subnet_id: pulumi.Input[str], + state: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("recovery_service_subnet_id", recovery_service_subnet_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) @property @pulumi.getter(name="recoveryServiceSubnetId") @@ -188,10 +220,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetProtectedDatabasesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -227,10 +272,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetProtectionPoliciesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -266,10 +324,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetRecoveryServiceSubnetsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/recoverymod/get_protected_database.py b/sdk/python/pulumi_oci/recoverymod/get_protected_database.py index cd8b2de8cc..6532f6e46d 100644 --- a/sdk/python/pulumi_oci/recoverymod/get_protected_database.py +++ b/sdk/python/pulumi_oci/recoverymod/get_protected_database.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/recoverymod/get_protected_database_fetch_configuration.py b/sdk/python/pulumi_oci/recoverymod/get_protected_database_fetch_configuration.py index 091683a1ad..b743fd2e91 100644 --- a/sdk/python/pulumi_oci/recoverymod/get_protected_database_fetch_configuration.py +++ b/sdk/python/pulumi_oci/recoverymod/get_protected_database_fetch_configuration.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/recoverymod/get_protected_databases.py b/sdk/python/pulumi_oci/recoverymod/get_protected_databases.py index 8540288de6..06c838ae73 100644 --- a/sdk/python/pulumi_oci/recoverymod/get_protected_databases.py +++ b/sdk/python/pulumi_oci/recoverymod/get_protected_databases.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/recoverymod/get_protection_policies.py b/sdk/python/pulumi_oci/recoverymod/get_protection_policies.py index 62896bf6e9..21c8041773 100644 --- a/sdk/python/pulumi_oci/recoverymod/get_protection_policies.py +++ b/sdk/python/pulumi_oci/recoverymod/get_protection_policies.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/recoverymod/get_protection_policy.py b/sdk/python/pulumi_oci/recoverymod/get_protection_policy.py index 2d67491d9c..e272e9456e 100644 --- a/sdk/python/pulumi_oci/recoverymod/get_protection_policy.py +++ b/sdk/python/pulumi_oci/recoverymod/get_protection_policy.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/recoverymod/get_recovery_service_subnet.py b/sdk/python/pulumi_oci/recoverymod/get_recovery_service_subnet.py index 3dc49b299f..0e78801cc1 100644 --- a/sdk/python/pulumi_oci/recoverymod/get_recovery_service_subnet.py +++ b/sdk/python/pulumi_oci/recoverymod/get_recovery_service_subnet.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/recoverymod/get_recovery_service_subnets.py b/sdk/python/pulumi_oci/recoverymod/get_recovery_service_subnets.py index 2a1c1c10b5..c0dfaf14b5 100644 --- a/sdk/python/pulumi_oci/recoverymod/get_recovery_service_subnets.py +++ b/sdk/python/pulumi_oci/recoverymod/get_recovery_service_subnets.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/recoverymod/outputs.py b/sdk/python/pulumi_oci/recoverymod/outputs.py index c3c69006d0..af01121b8e 100644 --- a/sdk/python/pulumi_oci/recoverymod/outputs.py +++ b/sdk/python/pulumi_oci/recoverymod/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -76,20 +76,41 @@ def __init__(__self__, *, :param float retention_period_in_days: The maximum number of days to retain backups for a protected database. :param float unprotected_window_in_seconds: This is the time window when there is data loss exposure. The point after which recovery is impossible unless additional redo is available. This is the time we received the last backup or last redo-log shipped. """ + ProtectedDatabaseMetric._configure( + lambda key, value: pulumi.set(__self__, key, value), + backup_space_estimate_in_gbs=backup_space_estimate_in_gbs, + backup_space_used_in_gbs=backup_space_used_in_gbs, + current_retention_period_in_seconds=current_retention_period_in_seconds, + db_size_in_gbs=db_size_in_gbs, + is_redo_logs_enabled=is_redo_logs_enabled, + retention_period_in_days=retention_period_in_days, + unprotected_window_in_seconds=unprotected_window_in_seconds, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backup_space_estimate_in_gbs: Optional[float] = None, + backup_space_used_in_gbs: Optional[float] = None, + current_retention_period_in_seconds: Optional[float] = None, + db_size_in_gbs: Optional[float] = None, + is_redo_logs_enabled: Optional[bool] = None, + retention_period_in_days: Optional[float] = None, + unprotected_window_in_seconds: Optional[float] = None, + opts: Optional[pulumi.ResourceOptions]=None): if backup_space_estimate_in_gbs is not None: - pulumi.set(__self__, "backup_space_estimate_in_gbs", backup_space_estimate_in_gbs) + _setter("backup_space_estimate_in_gbs", backup_space_estimate_in_gbs) if backup_space_used_in_gbs is not None: - pulumi.set(__self__, "backup_space_used_in_gbs", backup_space_used_in_gbs) + _setter("backup_space_used_in_gbs", backup_space_used_in_gbs) if current_retention_period_in_seconds is not None: - pulumi.set(__self__, "current_retention_period_in_seconds", current_retention_period_in_seconds) + _setter("current_retention_period_in_seconds", current_retention_period_in_seconds) if db_size_in_gbs is not None: - pulumi.set(__self__, "db_size_in_gbs", db_size_in_gbs) + _setter("db_size_in_gbs", db_size_in_gbs) if is_redo_logs_enabled is not None: - pulumi.set(__self__, "is_redo_logs_enabled", is_redo_logs_enabled) + _setter("is_redo_logs_enabled", is_redo_logs_enabled) if retention_period_in_days is not None: - pulumi.set(__self__, "retention_period_in_days", retention_period_in_days) + _setter("retention_period_in_days", retention_period_in_days) if unprotected_window_in_seconds is not None: - pulumi.set(__self__, "unprotected_window_in_seconds", unprotected_window_in_seconds) + _setter("unprotected_window_in_seconds", unprotected_window_in_seconds) @property @pulumi.getter(name="backupSpaceEstimateInGbs") @@ -178,9 +199,20 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param str state: The current state of the Protected Database. """ - pulumi.set(__self__, "recovery_service_subnet_id", recovery_service_subnet_id) + ProtectedDatabaseRecoveryServiceSubnet._configure( + lambda key, value: pulumi.set(__self__, key, value), + recovery_service_subnet_id=recovery_service_subnet_id, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + recovery_service_subnet_id: str, + state: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("recovery_service_subnet_id", recovery_service_subnet_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) @property @pulumi.getter(name="recoveryServiceSubnetId") @@ -222,13 +254,34 @@ def __init__(__self__, *, :param float retention_period_in_days: The maximum number of days to retain backups for a protected database. :param float unprotected_window_in_seconds: This is the time window when there is data loss exposure. The point after which recovery is impossible unless additional redo is available. This is the time we received the last backup or last redo-log shipped. """ - pulumi.set(__self__, "backup_space_estimate_in_gbs", backup_space_estimate_in_gbs) - pulumi.set(__self__, "backup_space_used_in_gbs", backup_space_used_in_gbs) - pulumi.set(__self__, "current_retention_period_in_seconds", current_retention_period_in_seconds) - pulumi.set(__self__, "db_size_in_gbs", db_size_in_gbs) - pulumi.set(__self__, "is_redo_logs_enabled", is_redo_logs_enabled) - pulumi.set(__self__, "retention_period_in_days", retention_period_in_days) - pulumi.set(__self__, "unprotected_window_in_seconds", unprotected_window_in_seconds) + GetProtectedDatabaseMetricResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + backup_space_estimate_in_gbs=backup_space_estimate_in_gbs, + backup_space_used_in_gbs=backup_space_used_in_gbs, + current_retention_period_in_seconds=current_retention_period_in_seconds, + db_size_in_gbs=db_size_in_gbs, + is_redo_logs_enabled=is_redo_logs_enabled, + retention_period_in_days=retention_period_in_days, + unprotected_window_in_seconds=unprotected_window_in_seconds, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backup_space_estimate_in_gbs: float, + backup_space_used_in_gbs: float, + current_retention_period_in_seconds: float, + db_size_in_gbs: float, + is_redo_logs_enabled: bool, + retention_period_in_days: float, + unprotected_window_in_seconds: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("backup_space_estimate_in_gbs", backup_space_estimate_in_gbs) + _setter("backup_space_used_in_gbs", backup_space_used_in_gbs) + _setter("current_retention_period_in_seconds", current_retention_period_in_seconds) + _setter("db_size_in_gbs", db_size_in_gbs) + _setter("is_redo_logs_enabled", is_redo_logs_enabled) + _setter("retention_period_in_days", retention_period_in_days) + _setter("unprotected_window_in_seconds", unprotected_window_in_seconds) @property @pulumi.getter(name="backupSpaceEstimateInGbs") @@ -296,8 +349,19 @@ def __init__(__self__, *, :param str recovery_service_subnet_id: Recovery Service Subnet Identifier. :param str state: The current state of the Protected Database. """ - pulumi.set(__self__, "recovery_service_subnet_id", recovery_service_subnet_id) - pulumi.set(__self__, "state", state) + GetProtectedDatabaseRecoveryServiceSubnetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + recovery_service_subnet_id=recovery_service_subnet_id, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + recovery_service_subnet_id: str, + state: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("recovery_service_subnet_id", recovery_service_subnet_id) + _setter("state", state) @property @pulumi.getter(name="recoveryServiceSubnetId") @@ -322,10 +386,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetProtectedDatabasesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -347,7 +424,16 @@ def regex(self) -> Optional[bool]: class GetProtectedDatabasesProtectedDatabaseCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetProtectedDatabasesProtectedDatabaseCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetProtectedDatabasesProtectedDatabaseCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetProtectedDatabasesProtectedDatabaseCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -406,28 +492,79 @@ def __init__(__self__, *, :param str time_updated: An RFC3339 formatted datetime string that indicates the last updated time for a protected database. For example: '2020-05-22T21:10:29.600Z' :param str vpc_user_name: The virtual private catalog (VPC) user credentials that authenticates the protected database to access Recovery Service. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "database_id", database_id) - pulumi.set(__self__, "database_size", database_size) - pulumi.set(__self__, "db_unique_name", db_unique_name) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "health", health) - pulumi.set(__self__, "health_details", health_details) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_read_only_resource", is_read_only_resource) - pulumi.set(__self__, "is_redo_logs_shipped", is_redo_logs_shipped) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "metrics", metrics) - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "protection_policy_id", protection_policy_id) - pulumi.set(__self__, "recovery_service_subnets", recovery_service_subnets) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "vpc_user_name", vpc_user_name) + GetProtectedDatabasesProtectedDatabaseCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + database_id=database_id, + database_size=database_size, + db_unique_name=db_unique_name, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + health=health, + health_details=health_details, + id=id, + is_read_only_resource=is_read_only_resource, + is_redo_logs_shipped=is_redo_logs_shipped, + lifecycle_details=lifecycle_details, + metrics=metrics, + password=password, + protection_policy_id=protection_policy_id, + recovery_service_subnets=recovery_service_subnets, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + vpc_user_name=vpc_user_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + database_id: str, + database_size: str, + db_unique_name: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + health: str, + health_details: str, + id: str, + is_read_only_resource: bool, + is_redo_logs_shipped: bool, + lifecycle_details: str, + metrics: Sequence['outputs.GetProtectedDatabasesProtectedDatabaseCollectionItemMetricResult'], + password: str, + protection_policy_id: str, + recovery_service_subnets: Sequence['outputs.GetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetResult'], + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + vpc_user_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("database_id", database_id) + _setter("database_size", database_size) + _setter("db_unique_name", db_unique_name) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("health", health) + _setter("health_details", health_details) + _setter("id", id) + _setter("is_read_only_resource", is_read_only_resource) + _setter("is_redo_logs_shipped", is_redo_logs_shipped) + _setter("lifecycle_details", lifecycle_details) + _setter("metrics", metrics) + _setter("password", password) + _setter("protection_policy_id", protection_policy_id) + _setter("recovery_service_subnets", recovery_service_subnets) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("vpc_user_name", vpc_user_name) @property @pulumi.getter(name="compartmentId") @@ -625,13 +762,34 @@ def __init__(__self__, *, :param float retention_period_in_days: The maximum number of days to retain backups for a protected database. :param float unprotected_window_in_seconds: This is the time window when there is data loss exposure. The point after which recovery is impossible unless additional redo is available. This is the time we received the last backup or last redo-log shipped. """ - pulumi.set(__self__, "backup_space_estimate_in_gbs", backup_space_estimate_in_gbs) - pulumi.set(__self__, "backup_space_used_in_gbs", backup_space_used_in_gbs) - pulumi.set(__self__, "current_retention_period_in_seconds", current_retention_period_in_seconds) - pulumi.set(__self__, "db_size_in_gbs", db_size_in_gbs) - pulumi.set(__self__, "is_redo_logs_enabled", is_redo_logs_enabled) - pulumi.set(__self__, "retention_period_in_days", retention_period_in_days) - pulumi.set(__self__, "unprotected_window_in_seconds", unprotected_window_in_seconds) + GetProtectedDatabasesProtectedDatabaseCollectionItemMetricResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + backup_space_estimate_in_gbs=backup_space_estimate_in_gbs, + backup_space_used_in_gbs=backup_space_used_in_gbs, + current_retention_period_in_seconds=current_retention_period_in_seconds, + db_size_in_gbs=db_size_in_gbs, + is_redo_logs_enabled=is_redo_logs_enabled, + retention_period_in_days=retention_period_in_days, + unprotected_window_in_seconds=unprotected_window_in_seconds, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backup_space_estimate_in_gbs: float, + backup_space_used_in_gbs: float, + current_retention_period_in_seconds: float, + db_size_in_gbs: float, + is_redo_logs_enabled: bool, + retention_period_in_days: float, + unprotected_window_in_seconds: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("backup_space_estimate_in_gbs", backup_space_estimate_in_gbs) + _setter("backup_space_used_in_gbs", backup_space_used_in_gbs) + _setter("current_retention_period_in_seconds", current_retention_period_in_seconds) + _setter("db_size_in_gbs", db_size_in_gbs) + _setter("is_redo_logs_enabled", is_redo_logs_enabled) + _setter("retention_period_in_days", retention_period_in_days) + _setter("unprotected_window_in_seconds", unprotected_window_in_seconds) @property @pulumi.getter(name="backupSpaceEstimateInGbs") @@ -699,8 +857,19 @@ def __init__(__self__, *, :param str recovery_service_subnet_id: The recovery service subnet OCID. :param str state: A filter to return only the resources that match the specified lifecycle state. """ - pulumi.set(__self__, "recovery_service_subnet_id", recovery_service_subnet_id) - pulumi.set(__self__, "state", state) + GetProtectedDatabasesProtectedDatabaseCollectionItemRecoveryServiceSubnetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + recovery_service_subnet_id=recovery_service_subnet_id, + state=state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + recovery_service_subnet_id: str, + state: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("recovery_service_subnet_id", recovery_service_subnet_id) + _setter("state", state) @property @pulumi.getter(name="recoveryServiceSubnetId") @@ -725,10 +894,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetProtectionPoliciesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -750,7 +932,16 @@ def regex(self) -> Optional[bool]: class GetProtectionPoliciesProtectionPolicyCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetProtectionPoliciesProtectionPolicyCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetProtectionPoliciesProtectionPolicyCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetProtectionPoliciesProtectionPolicyCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -787,18 +978,49 @@ def __init__(__self__, *, :param str time_created: An RFC3339 formatted datetime string that indicates the created time for the protection policy. For example: '2020-05-22T21:10:29.600Z'. :param str time_updated: An RFC3339 formatted datetime string that indicates the updated time for the protection policy. For example: '2020-05-22T21:10:29.600Z'. """ - pulumi.set(__self__, "backup_retention_period_in_days", backup_retention_period_in_days) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_predefined_policy", is_predefined_policy) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetProtectionPoliciesProtectionPolicyCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + backup_retention_period_in_days=backup_retention_period_in_days, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + is_predefined_policy=is_predefined_policy, + lifecycle_details=lifecycle_details, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backup_retention_period_in_days: int, + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + is_predefined_policy: bool, + lifecycle_details: str, + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("backup_retention_period_in_days", backup_retention_period_in_days) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_predefined_policy", is_predefined_policy) + _setter("lifecycle_details", lifecycle_details) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="backupRetentionPeriodInDays") @@ -903,10 +1125,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetRecoveryServiceSubnetsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -928,7 +1163,16 @@ def regex(self) -> Optional[bool]: class GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -971,18 +1215,49 @@ def __init__(__self__, *, :param str time_updated: An RFC3339 formatted datetime string that indicates the last updated time for a recovery service subnet. For example: '2020-05-22T21:10:29.600Z'. :param str vcn_id: The OCID of the virtual cloud network (VCN) associated with the recovery service subnet. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "vcn_id", vcn_id) + GetRecoveryServiceSubnetsRecoveryServiceSubnetCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + state=state, + subnet_id=subnet_id, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + vcn_id=vcn_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + state: str, + subnet_id: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + vcn_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("state", state) + _setter("subnet_id", subnet_id) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("vcn_id", vcn_id) @property @pulumi.getter(name="compartmentId") diff --git a/sdk/python/pulumi_oci/recoverymod/protected_database.py b/sdk/python/pulumi_oci/recoverymod/protected_database.py index 5852b9c369..a082357374 100644 --- a/sdk/python/pulumi_oci/recoverymod/protected_database.py +++ b/sdk/python/pulumi_oci/recoverymod/protected_database.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -41,22 +41,51 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` :param pulumi.Input[bool] is_redo_logs_shipped: (Updatable) The value TRUE indicates that the protected database is configured to use Real-time data protection, and redo-data is sent from the protected database to Recovery Service. Real-time data protection substantially reduces the window of potential data loss that exists between successive archived redo log backups. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "db_unique_name", db_unique_name) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "password", password) - pulumi.set(__self__, "protection_policy_id", protection_policy_id) - pulumi.set(__self__, "recovery_service_subnets", recovery_service_subnets) + ProtectedDatabaseArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + db_unique_name=db_unique_name, + display_name=display_name, + password=password, + protection_policy_id=protection_policy_id, + recovery_service_subnets=recovery_service_subnets, + database_id=database_id, + database_size=database_size, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + is_redo_logs_shipped=is_redo_logs_shipped, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + db_unique_name: pulumi.Input[str], + display_name: pulumi.Input[str], + password: pulumi.Input[str], + protection_policy_id: pulumi.Input[str], + recovery_service_subnets: pulumi.Input[Sequence[pulumi.Input['ProtectedDatabaseRecoveryServiceSubnetArgs']]], + database_id: Optional[pulumi.Input[str]] = None, + database_size: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_redo_logs_shipped: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("db_unique_name", db_unique_name) + _setter("display_name", display_name) + _setter("password", password) + _setter("protection_policy_id", protection_policy_id) + _setter("recovery_service_subnets", recovery_service_subnets) if database_id is not None: - pulumi.set(__self__, "database_id", database_id) + _setter("database_id", database_id) if database_size is not None: - pulumi.set(__self__, "database_size", database_size) + _setter("database_size", database_size) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_redo_logs_shipped is not None: - pulumi.set(__self__, "is_redo_logs_shipped", is_redo_logs_shipped) + _setter("is_redo_logs_shipped", is_redo_logs_shipped) @property @pulumi.getter(name="compartmentId") @@ -242,48 +271,97 @@ def __init__(__self__, *, :param pulumi.Input[str] time_updated: An RFC3339 formatted datetime string that indicates the last updated time for a protected database. For example: '2020-05-22T21:10:29.600Z' :param pulumi.Input[str] vpc_user_name: The virtual private catalog (VPC) user credentials that authenticates the protected database to access Recovery Service. """ + _ProtectedDatabaseState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + database_id=database_id, + database_size=database_size, + db_unique_name=db_unique_name, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + health=health, + health_details=health_details, + is_read_only_resource=is_read_only_resource, + is_redo_logs_shipped=is_redo_logs_shipped, + lifecycle_details=lifecycle_details, + metrics=metrics, + password=password, + protection_policy_id=protection_policy_id, + recovery_service_subnets=recovery_service_subnets, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + vpc_user_name=vpc_user_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + database_id: Optional[pulumi.Input[str]] = None, + database_size: Optional[pulumi.Input[str]] = None, + db_unique_name: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + health: Optional[pulumi.Input[str]] = None, + health_details: Optional[pulumi.Input[str]] = None, + is_read_only_resource: Optional[pulumi.Input[bool]] = None, + is_redo_logs_shipped: Optional[pulumi.Input[bool]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + metrics: Optional[pulumi.Input[Sequence[pulumi.Input['ProtectedDatabaseMetricArgs']]]] = None, + password: Optional[pulumi.Input[str]] = None, + protection_policy_id: Optional[pulumi.Input[str]] = None, + recovery_service_subnets: Optional[pulumi.Input[Sequence[pulumi.Input['ProtectedDatabaseRecoveryServiceSubnetArgs']]]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + vpc_user_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if database_id is not None: - pulumi.set(__self__, "database_id", database_id) + _setter("database_id", database_id) if database_size is not None: - pulumi.set(__self__, "database_size", database_size) + _setter("database_size", database_size) if db_unique_name is not None: - pulumi.set(__self__, "db_unique_name", db_unique_name) + _setter("db_unique_name", db_unique_name) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if health is not None: - pulumi.set(__self__, "health", health) + _setter("health", health) if health_details is not None: - pulumi.set(__self__, "health_details", health_details) + _setter("health_details", health_details) if is_read_only_resource is not None: - pulumi.set(__self__, "is_read_only_resource", is_read_only_resource) + _setter("is_read_only_resource", is_read_only_resource) if is_redo_logs_shipped is not None: - pulumi.set(__self__, "is_redo_logs_shipped", is_redo_logs_shipped) + _setter("is_redo_logs_shipped", is_redo_logs_shipped) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if metrics is not None: - pulumi.set(__self__, "metrics", metrics) + _setter("metrics", metrics) if password is not None: - pulumi.set(__self__, "password", password) + _setter("password", password) if protection_policy_id is not None: - pulumi.set(__self__, "protection_policy_id", protection_policy_id) + _setter("protection_policy_id", protection_policy_id) if recovery_service_subnets is not None: - pulumi.set(__self__, "recovery_service_subnets", recovery_service_subnets) + _setter("recovery_service_subnets", recovery_service_subnets) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if vpc_user_name is not None: - pulumi.set(__self__, "vpc_user_name", vpc_user_name) + _setter("vpc_user_name", vpc_user_name) @property @pulumi.getter(name="compartmentId") @@ -666,6 +744,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ProtectedDatabaseArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/recoverymod/protection_policy.py b/sdk/python/pulumi_oci/recoverymod/protection_policy.py index fc9f41c549..dd13b3c780 100644 --- a/sdk/python/pulumi_oci/recoverymod/protection_policy.py +++ b/sdk/python/pulumi_oci/recoverymod/protection_policy.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['ProtectionPolicyArgs', 'ProtectionPolicy'] @@ -31,13 +31,30 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "backup_retention_period_in_days", backup_retention_period_in_days) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) + ProtectionPolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + backup_retention_period_in_days=backup_retention_period_in_days, + compartment_id=compartment_id, + display_name=display_name, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backup_retention_period_in_days: pulumi.Input[int], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("backup_retention_period_in_days", backup_retention_period_in_days) + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="backupRetentionPeriodInDays") @@ -142,28 +159,57 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: An RFC3339 formatted datetime string that indicates the created time for the protection policy. For example: '2020-05-22T21:10:29.600Z'. :param pulumi.Input[str] time_updated: An RFC3339 formatted datetime string that indicates the updated time for the protection policy. For example: '2020-05-22T21:10:29.600Z'. """ + _ProtectionPolicyState._configure( + lambda key, value: pulumi.set(__self__, key, value), + backup_retention_period_in_days=backup_retention_period_in_days, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + is_predefined_policy=is_predefined_policy, + lifecycle_details=lifecycle_details, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backup_retention_period_in_days: Optional[pulumi.Input[int]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_predefined_policy: Optional[pulumi.Input[bool]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if backup_retention_period_in_days is not None: - pulumi.set(__self__, "backup_retention_period_in_days", backup_retention_period_in_days) + _setter("backup_retention_period_in_days", backup_retention_period_in_days) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_predefined_policy is not None: - pulumi.set(__self__, "is_predefined_policy", is_predefined_policy) + _setter("is_predefined_policy", is_predefined_policy) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="backupRetentionPeriodInDays") @@ -409,6 +455,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ProtectionPolicyArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/recoverymod/recovery_service_subnet.py b/sdk/python/pulumi_oci/recoverymod/recovery_service_subnet.py index 6cf8d6dc36..bfaf565d60 100644 --- a/sdk/python/pulumi_oci/recoverymod/recovery_service_subnet.py +++ b/sdk/python/pulumi_oci/recoverymod/recovery_service_subnet.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['RecoveryServiceSubnetArgs', 'RecoveryServiceSubnet'] @@ -33,14 +33,33 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] defined_tags: (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}`. For more information, see [Resource Tags](https://docs.oracle.com/en-us/iaas/Content/General/Concepts/resourcetags.htm) :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "vcn_id", vcn_id) + RecoveryServiceSubnetArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + subnet_id=subnet_id, + vcn_id=vcn_id, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + subnet_id: pulumi.Input[str], + vcn_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) + _setter("subnet_id", subnet_id) + _setter("vcn_id", vcn_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="compartmentId") @@ -157,28 +176,57 @@ def __init__(__self__, *, ** 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 """ + _RecoveryServiceSubnetState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + state=state, + subnet_id=subnet_id, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + vcn_id=vcn_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + vcn_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if vcn_id is not None: - pulumi.set(__self__, "vcn_id", vcn_id) + _setter("vcn_id", vcn_id) @property @pulumi.getter(name="compartmentId") @@ -428,6 +476,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + RecoveryServiceSubnetArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/resourcemanager/_inputs.py b/sdk/python/pulumi_oci/resourcemanager/_inputs.py index b15b8e8f11..c59971e008 100644 --- a/sdk/python/pulumi_oci/resourcemanager/_inputs.py +++ b/sdk/python/pulumi_oci/resourcemanager/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -20,10 +20,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetPrivateEndpointsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -59,10 +72,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetStacksFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/resourcemanager/get_private_endpoint.py b/sdk/python/pulumi_oci/resourcemanager/get_private_endpoint.py index ebed054bb0..387c6d753c 100644 --- a/sdk/python/pulumi_oci/resourcemanager/get_private_endpoint.py +++ b/sdk/python/pulumi_oci/resourcemanager/get_private_endpoint.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/resourcemanager/get_private_endpoint_reachable_ip.py b/sdk/python/pulumi_oci/resourcemanager/get_private_endpoint_reachable_ip.py index a76b0766b7..428385490c 100644 --- a/sdk/python/pulumi_oci/resourcemanager/get_private_endpoint_reachable_ip.py +++ b/sdk/python/pulumi_oci/resourcemanager/get_private_endpoint_reachable_ip.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/resourcemanager/get_private_endpoints.py b/sdk/python/pulumi_oci/resourcemanager/get_private_endpoints.py index 1f0d9d4dc9..e8191beeee 100644 --- a/sdk/python/pulumi_oci/resourcemanager/get_private_endpoints.py +++ b/sdk/python/pulumi_oci/resourcemanager/get_private_endpoints.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/resourcemanager/get_stack.py b/sdk/python/pulumi_oci/resourcemanager/get_stack.py index 3029ce4a04..9a155c87fc 100644 --- a/sdk/python/pulumi_oci/resourcemanager/get_stack.py +++ b/sdk/python/pulumi_oci/resourcemanager/get_stack.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/resourcemanager/get_stack_tf_state.py b/sdk/python/pulumi_oci/resourcemanager/get_stack_tf_state.py index 44d54f1c77..c43fccf9ff 100644 --- a/sdk/python/pulumi_oci/resourcemanager/get_stack_tf_state.py +++ b/sdk/python/pulumi_oci/resourcemanager/get_stack_tf_state.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/resourcemanager/get_stacks.py b/sdk/python/pulumi_oci/resourcemanager/get_stacks.py index cb9f3256c9..66ac336d23 100644 --- a/sdk/python/pulumi_oci/resourcemanager/get_stacks.py +++ b/sdk/python/pulumi_oci/resourcemanager/get_stacks.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/resourcemanager/outputs.py b/sdk/python/pulumi_oci/resourcemanager/outputs.py index 29a04c1dc3..841aa3870f 100644 --- a/sdk/python/pulumi_oci/resourcemanager/outputs.py +++ b/sdk/python/pulumi_oci/resourcemanager/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -26,10 +26,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetPrivateEndpointsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -51,7 +64,16 @@ def regex(self) -> Optional[bool]: class GetPrivateEndpointsPrivateEndpointCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetPrivateEndpointsPrivateEndpointCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetPrivateEndpointsPrivateEndpointCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetPrivateEndpointsPrivateEndpointCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -92,20 +114,55 @@ def __init__(__self__, *, :param str time_created: The date and time at which the private endpoint was created. Format is defined by RFC3339. Example: `2020-11-25T21:10:29.600Z` :param str vcn_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "dns_zones", dns_zones) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_used_with_configuration_source_provider", is_used_with_configuration_source_provider) - pulumi.set(__self__, "nsg_id_lists", nsg_id_lists) - pulumi.set(__self__, "source_ips", source_ips) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "vcn_id", vcn_id) + GetPrivateEndpointsPrivateEndpointCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + dns_zones=dns_zones, + freeform_tags=freeform_tags, + id=id, + is_used_with_configuration_source_provider=is_used_with_configuration_source_provider, + nsg_id_lists=nsg_id_lists, + source_ips=source_ips, + state=state, + subnet_id=subnet_id, + time_created=time_created, + vcn_id=vcn_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + dns_zones: Sequence[str], + freeform_tags: Mapping[str, Any], + id: str, + is_used_with_configuration_source_provider: bool, + nsg_id_lists: Sequence[str], + source_ips: Sequence[str], + state: str, + subnet_id: str, + time_created: str, + vcn_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("dns_zones", dns_zones) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_used_with_configuration_source_provider", is_used_with_configuration_source_provider) + _setter("nsg_id_lists", nsg_id_lists) + _setter("source_ips", source_ips) + _setter("state", state) + _setter("subnet_id", subnet_id) + _setter("time_created", time_created) + _setter("vcn_id", vcn_id) @property @pulumi.getter(name="compartmentId") @@ -226,9 +283,22 @@ def __init__(__self__, *, config_source_type: str, working_directory: str, zip_file_base64encoded: str): - pulumi.set(__self__, "config_source_type", config_source_type) - pulumi.set(__self__, "working_directory", working_directory) - pulumi.set(__self__, "zip_file_base64encoded", zip_file_base64encoded) + GetStackConfigSourceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + config_source_type=config_source_type, + working_directory=working_directory, + zip_file_base64encoded=zip_file_base64encoded, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + config_source_type: str, + working_directory: str, + zip_file_base64encoded: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("config_source_type", config_source_type) + _setter("working_directory", working_directory) + _setter("zip_file_base64encoded", zip_file_base64encoded) @property @pulumi.getter(name="configSourceType") @@ -252,10 +322,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetStacksFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -302,16 +385,43 @@ def __init__(__self__, *, * DELETED :param str time_created: The date and time at which the stack was created. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "config_source", config_source) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "variables", variables) + GetStacksStackResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + config_source=config_source, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + state=state, + time_created=time_created, + variables=variables, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + config_source: 'outputs.GetStacksStackConfigSourceResult', + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + state: str, + time_created: str, + variables: Mapping[str, Any], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("config_source", config_source) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("state", state) + _setter("time_created", time_created) + _setter("variables", variables) @property @pulumi.getter(name="compartmentId") @@ -400,9 +510,22 @@ def __init__(__self__, *, config_source_type: str, working_directory: str, zip_file_base64encoded: str): - pulumi.set(__self__, "config_source_type", config_source_type) - pulumi.set(__self__, "working_directory", working_directory) - pulumi.set(__self__, "zip_file_base64encoded", zip_file_base64encoded) + GetStacksStackConfigSourceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + config_source_type=config_source_type, + working_directory=working_directory, + zip_file_base64encoded=zip_file_base64encoded, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + config_source_type: str, + working_directory: str, + zip_file_base64encoded: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("config_source_type", config_source_type) + _setter("working_directory", working_directory) + _setter("zip_file_base64encoded", zip_file_base64encoded) @property @pulumi.getter(name="configSourceType") diff --git a/sdk/python/pulumi_oci/resourcemanager/private_endpoint.py b/sdk/python/pulumi_oci/resourcemanager/private_endpoint.py index ef5cb292f3..a67e8643b1 100644 --- a/sdk/python/pulumi_oci/resourcemanager/private_endpoint.py +++ b/sdk/python/pulumi_oci/resourcemanager/private_endpoint.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['PrivateEndpointArgs', 'PrivateEndpoint'] @@ -41,22 +41,49 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_used_with_configuration_source_provider: (Updatable) When `true`, allows the private endpoint to be used with a configuration source provider. :param pulumi.Input[Sequence[pulumi.Input[str]]] nsg_id_lists: (Updatable) An array of network security group (NSG) [OCIDs](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the private endpoint. Order does not matter. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "vcn_id", vcn_id) + PrivateEndpointArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + subnet_id=subnet_id, + vcn_id=vcn_id, + defined_tags=defined_tags, + description=description, + dns_zones=dns_zones, + freeform_tags=freeform_tags, + is_used_with_configuration_source_provider=is_used_with_configuration_source_provider, + nsg_id_lists=nsg_id_lists, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + subnet_id: pulumi.Input[str], + vcn_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + dns_zones: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_used_with_configuration_source_provider: Optional[pulumi.Input[bool]] = None, + nsg_id_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) + _setter("subnet_id", subnet_id) + _setter("vcn_id", vcn_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if dns_zones is not None: - pulumi.set(__self__, "dns_zones", dns_zones) + _setter("dns_zones", dns_zones) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_used_with_configuration_source_provider is not None: - pulumi.set(__self__, "is_used_with_configuration_source_provider", is_used_with_configuration_source_provider) + _setter("is_used_with_configuration_source_provider", is_used_with_configuration_source_provider) if nsg_id_lists is not None: - pulumi.set(__self__, "nsg_id_lists", nsg_id_lists) + _setter("nsg_id_lists", nsg_id_lists) @property @pulumi.getter(name="compartmentId") @@ -219,32 +246,65 @@ def __init__(__self__, *, ** 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 """ + _PrivateEndpointState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + dns_zones=dns_zones, + freeform_tags=freeform_tags, + is_used_with_configuration_source_provider=is_used_with_configuration_source_provider, + nsg_id_lists=nsg_id_lists, + source_ips=source_ips, + state=state, + subnet_id=subnet_id, + time_created=time_created, + vcn_id=vcn_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + dns_zones: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_used_with_configuration_source_provider: Optional[pulumi.Input[bool]] = None, + nsg_id_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + source_ips: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + state: Optional[pulumi.Input[str]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + vcn_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if dns_zones is not None: - pulumi.set(__self__, "dns_zones", dns_zones) + _setter("dns_zones", dns_zones) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_used_with_configuration_source_provider is not None: - pulumi.set(__self__, "is_used_with_configuration_source_provider", is_used_with_configuration_source_provider) + _setter("is_used_with_configuration_source_provider", is_used_with_configuration_source_provider) if nsg_id_lists is not None: - pulumi.set(__self__, "nsg_id_lists", nsg_id_lists) + _setter("nsg_id_lists", nsg_id_lists) if source_ips is not None: - pulumi.set(__self__, "source_ips", source_ips) + _setter("source_ips", source_ips) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if vcn_id is not None: - pulumi.set(__self__, "vcn_id", vcn_id) + _setter("vcn_id", vcn_id) @property @pulumi.getter(name="compartmentId") @@ -528,6 +588,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + PrivateEndpointArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/sch/_inputs.py b/sdk/python/pulumi_oci/sch/_inputs.py index 0f2ef45879..14b50afc50 100644 --- a/sdk/python/pulumi_oci/sch/_inputs.py +++ b/sdk/python/pulumi_oci/sch/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -39,15 +39,32 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['ConnectorSourceMonitoringSourceArgs']]] monitoring_sources: (Updatable) The list of metric namespaces to retrieve data from. :param pulumi.Input[str] stream_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stream. """ - pulumi.set(__self__, "kind", kind) + ConnectorSourceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + kind=kind, + cursor=cursor, + log_sources=log_sources, + monitoring_sources=monitoring_sources, + stream_id=stream_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + kind: pulumi.Input[str], + cursor: Optional[pulumi.Input['ConnectorSourceCursorArgs']] = None, + log_sources: Optional[pulumi.Input[Sequence[pulumi.Input['ConnectorSourceLogSourceArgs']]]] = None, + monitoring_sources: Optional[pulumi.Input[Sequence[pulumi.Input['ConnectorSourceMonitoringSourceArgs']]]] = None, + stream_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("kind", kind) if cursor is not None: - pulumi.set(__self__, "cursor", cursor) + _setter("cursor", cursor) if log_sources is not None: - pulumi.set(__self__, "log_sources", log_sources) + _setter("log_sources", log_sources) if monitoring_sources is not None: - pulumi.set(__self__, "monitoring_sources", monitoring_sources) + _setter("monitoring_sources", monitoring_sources) if stream_id is not None: - pulumi.set(__self__, "stream_id", stream_id) + _setter("stream_id", stream_id) @property @pulumi.getter @@ -117,8 +134,17 @@ def __init__(__self__, *, """ :param pulumi.Input[str] kind: (Updatable) The type descriminator. """ + ConnectorSourceCursorArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + kind=kind, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + kind: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if kind is not None: - pulumi.set(__self__, "kind", kind) + _setter("kind", kind) @property @pulumi.getter @@ -144,12 +170,25 @@ def __init__(__self__, *, :param pulumi.Input[str] log_group_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Logging Analytics log group. :param pulumi.Input[str] log_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log. """ + ConnectorSourceLogSourceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + log_group_id=log_group_id, + log_id=log_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + log_group_id: Optional[pulumi.Input[str]] = None, + log_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if log_group_id is not None: - pulumi.set(__self__, "log_group_id", log_group_id) + _setter("log_group_id", log_group_id) if log_id is not None: - pulumi.set(__self__, "log_id", log_id) + _setter("log_id", log_id) @property @pulumi.getter(name="compartmentId") @@ -197,10 +236,21 @@ def __init__(__self__, *, :param pulumi.Input[str] compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the metric. :param pulumi.Input['ConnectorSourceMonitoringSourceNamespaceDetailsArgs'] namespace_details: (Updatable) Discriminator for namespaces in the compartment-specific list. """ + ConnectorSourceMonitoringSourceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + namespace_details=namespace_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + namespace_details: Optional[pulumi.Input['ConnectorSourceMonitoringSourceNamespaceDetailsArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if namespace_details is not None: - pulumi.set(__self__, "namespace_details", namespace_details) + _setter("namespace_details", namespace_details) @property @pulumi.getter(name="compartmentId") @@ -236,8 +286,19 @@ def __init__(__self__, *, :param pulumi.Input[str] kind: (Updatable) The type descriminator. :param pulumi.Input[Sequence[pulumi.Input['ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceArgs']]] namespaces: (Updatable) The namespaces for the compartment-specific list. """ - pulumi.set(__self__, "kind", kind) - pulumi.set(__self__, "namespaces", namespaces) + ConnectorSourceMonitoringSourceNamespaceDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + kind=kind, + namespaces=namespaces, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + kind: pulumi.Input[str], + namespaces: pulumi.Input[Sequence[pulumi.Input['ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceArgs']]], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("kind", kind) + _setter("namespaces", namespaces) @property @pulumi.getter @@ -273,8 +334,19 @@ def __init__(__self__, *, :param pulumi.Input['ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceMetricsArgs'] metrics: (Updatable) The metrics to query for the specified metric namespace. :param pulumi.Input[str] namespace: (Updatable) The namespace. """ - pulumi.set(__self__, "metrics", metrics) - pulumi.set(__self__, "namespace", namespace) + ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics=metrics, + namespace=namespace, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics: pulumi.Input['ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceMetricsArgs'], + namespace: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("metrics", metrics) + _setter("namespace", namespace) @property @pulumi.getter @@ -308,7 +380,16 @@ def __init__(__self__, *, """ :param pulumi.Input[str] kind: (Updatable) The type descriminator. """ - pulumi.set(__self__, "kind", kind) + ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceMetricsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + kind=kind, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + kind: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("kind", kind) @property @pulumi.getter @@ -360,37 +441,76 @@ def __init__(__self__, *, :param pulumi.Input[str] stream_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stream. :param pulumi.Input[str] topic_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the topic. """ - pulumi.set(__self__, "kind", kind) + ConnectorTargetArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + kind=kind, + batch_rollover_size_in_mbs=batch_rollover_size_in_mbs, + batch_rollover_time_in_ms=batch_rollover_time_in_ms, + bucket=bucket, + compartment_id=compartment_id, + dimensions=dimensions, + enable_formatted_messaging=enable_formatted_messaging, + function_id=function_id, + log_group_id=log_group_id, + log_source_identifier=log_source_identifier, + metric=metric, + metric_namespace=metric_namespace, + namespace=namespace, + object_name_prefix=object_name_prefix, + stream_id=stream_id, + topic_id=topic_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + kind: pulumi.Input[str], + batch_rollover_size_in_mbs: Optional[pulumi.Input[int]] = None, + batch_rollover_time_in_ms: Optional[pulumi.Input[int]] = None, + bucket: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + dimensions: Optional[pulumi.Input[Sequence[pulumi.Input['ConnectorTargetDimensionArgs']]]] = None, + enable_formatted_messaging: Optional[pulumi.Input[bool]] = None, + function_id: Optional[pulumi.Input[str]] = None, + log_group_id: Optional[pulumi.Input[str]] = None, + log_source_identifier: Optional[pulumi.Input[str]] = None, + metric: Optional[pulumi.Input[str]] = None, + metric_namespace: Optional[pulumi.Input[str]] = None, + namespace: Optional[pulumi.Input[str]] = None, + object_name_prefix: Optional[pulumi.Input[str]] = None, + stream_id: Optional[pulumi.Input[str]] = None, + topic_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("kind", kind) if batch_rollover_size_in_mbs is not None: - pulumi.set(__self__, "batch_rollover_size_in_mbs", batch_rollover_size_in_mbs) + _setter("batch_rollover_size_in_mbs", batch_rollover_size_in_mbs) if batch_rollover_time_in_ms is not None: - pulumi.set(__self__, "batch_rollover_time_in_ms", batch_rollover_time_in_ms) + _setter("batch_rollover_time_in_ms", batch_rollover_time_in_ms) if bucket is not None: - pulumi.set(__self__, "bucket", bucket) + _setter("bucket", bucket) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if dimensions is not None: - pulumi.set(__self__, "dimensions", dimensions) + _setter("dimensions", dimensions) if enable_formatted_messaging is not None: - pulumi.set(__self__, "enable_formatted_messaging", enable_formatted_messaging) + _setter("enable_formatted_messaging", enable_formatted_messaging) if function_id is not None: - pulumi.set(__self__, "function_id", function_id) + _setter("function_id", function_id) if log_group_id is not None: - pulumi.set(__self__, "log_group_id", log_group_id) + _setter("log_group_id", log_group_id) if log_source_identifier is not None: - pulumi.set(__self__, "log_source_identifier", log_source_identifier) + _setter("log_source_identifier", log_source_identifier) if metric is not None: - pulumi.set(__self__, "metric", metric) + _setter("metric", metric) if metric_namespace is not None: - pulumi.set(__self__, "metric_namespace", metric_namespace) + _setter("metric_namespace", metric_namespace) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if object_name_prefix is not None: - pulumi.set(__self__, "object_name_prefix", object_name_prefix) + _setter("object_name_prefix", object_name_prefix) if stream_id is not None: - pulumi.set(__self__, "stream_id", stream_id) + _setter("stream_id", stream_id) if topic_id is not None: - pulumi.set(__self__, "topic_id", topic_id) + _setter("topic_id", topic_id) @property @pulumi.getter @@ -594,10 +714,21 @@ def __init__(__self__, *, :param pulumi.Input['ConnectorTargetDimensionDimensionValueArgs'] dimension_value: (Updatable) Instructions for extracting the value corresponding to the specified dimension key: Either extract the value as-is (static) or derive the value from a path (evaluated). :param pulumi.Input[str] name: (Updatable) Dimension key. A valid dimension key includes only printable ASCII, excluding periods (.) and spaces. Custom dimension keys are acceptable. Avoid entering confidential information. Due to use by Service Connector Hub, the following dimension names are reserved: `connectorId`, `connectorName`, `connectorSourceType`. For information on valid dimension keys and values, see [MetricDataDetails Reference](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/datatypes/MetricDataDetails). Example: `type` """ + ConnectorTargetDimensionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + dimension_value=dimension_value, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + dimension_value: Optional[pulumi.Input['ConnectorTargetDimensionDimensionValueArgs']] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if dimension_value is not None: - pulumi.set(__self__, "dimension_value", dimension_value) + _setter("dimension_value", dimension_value) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter(name="dimensionValue") @@ -635,11 +766,24 @@ def __init__(__self__, *, :param pulumi.Input[str] path: (Updatable) The location to use for deriving the dimension value (evaluated). The path must start with `logContent` in an acceptable notation style with supported [JMESPath selectors](https://jmespath.org/specification.html): expression with dot and index operator (`.` and `[]`). Example with dot notation: `logContent.data` Example with index notation: `logContent.data[0].content` For information on valid dimension keys and values, see [MetricDataDetails Reference](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/datatypes/MetricDataDetails). The returned value depends on the results of evaluation. If the evaluated value is valid, then the evaluated value is returned without double quotes. (Any front or trailing double quotes are trimmed before returning the value. For example, the evaluated value `"compartmentId"` is returned as `compartmentId`.) If the evaluated value is invalid, then the returned value is `SCH_EVAL_INVALID_VALUE`. If the evaluated value is empty, then the returned value is `SCH_EVAL_VALUE_EMPTY`. :param pulumi.Input[str] value: (Updatable) The data extracted from the specified dimension value (passed as-is). Unicode characters only. For information on valid dimension keys and values, see [MetricDataDetails Reference](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/datatypes/MetricDataDetails). """ - pulumi.set(__self__, "kind", kind) + ConnectorTargetDimensionDimensionValueArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + kind=kind, + path=path, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + kind: pulumi.Input[str], + path: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("kind", kind) if path is not None: - pulumi.set(__self__, "path", path) + _setter("path", path) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -693,15 +837,32 @@ def __init__(__self__, *, :param pulumi.Input[str] condition: (Updatable) A filter or mask to limit the source used in the flow defined by the service connector. :param pulumi.Input[str] function_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the function to be used as a task. """ - pulumi.set(__self__, "kind", kind) + ConnectorTaskArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + kind=kind, + batch_size_in_kbs=batch_size_in_kbs, + batch_time_in_sec=batch_time_in_sec, + condition=condition, + function_id=function_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + kind: pulumi.Input[str], + batch_size_in_kbs: Optional[pulumi.Input[int]] = None, + batch_time_in_sec: Optional[pulumi.Input[int]] = None, + condition: Optional[pulumi.Input[str]] = None, + function_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("kind", kind) if batch_size_in_kbs is not None: - pulumi.set(__self__, "batch_size_in_kbs", batch_size_in_kbs) + _setter("batch_size_in_kbs", batch_size_in_kbs) if batch_time_in_sec is not None: - pulumi.set(__self__, "batch_time_in_sec", batch_time_in_sec) + _setter("batch_time_in_sec", batch_time_in_sec) if condition is not None: - pulumi.set(__self__, "condition", condition) + _setter("condition", condition) if function_id is not None: - pulumi.set(__self__, "function_id", function_id) + _setter("function_id", function_id) @property @pulumi.getter @@ -773,10 +934,23 @@ def __init__(__self__, *, """ :param str name: Dimension key. A valid dimension key includes only printable ASCII, excluding periods (.) and spaces. Custom dimension keys are acceptable. Avoid entering confidential information. Due to use by Service Connector Hub, the following dimension names are reserved: `connectorId`, `connectorName`, `connectorSourceType`. For information on valid dimension keys and values, see [MetricDataDetails Reference](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/datatypes/MetricDataDetails). Example: `type` """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetServiceConnectorsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/sch/connector.py b/sdk/python/pulumi_oci/sch/connector.py index 7d211370f0..f08c137ec9 100644 --- a/sdk/python/pulumi_oci/sch/connector.py +++ b/sdk/python/pulumi_oci/sch/connector.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -41,20 +41,45 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[Sequence[pulumi.Input['ConnectorTaskArgs']]] tasks: (Updatable) The list of tasks. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "source", source) - pulumi.set(__self__, "target", target) + ConnectorArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + source=source, + target=target, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + state=state, + tasks=tasks, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + source: pulumi.Input['ConnectorSourceArgs'], + target: pulumi.Input['ConnectorTargetArgs'], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + state: Optional[pulumi.Input[str]] = None, + tasks: Optional[pulumi.Input[Sequence[pulumi.Input['ConnectorTaskArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) + _setter("source", source) + _setter("target", target) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if tasks is not None: - pulumi.set(__self__, "tasks", tasks) + _setter("tasks", tasks) @property @pulumi.getter(name="compartmentId") @@ -205,32 +230,65 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time when the service connector was created. Format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2020-01-25T21:10:29.600Z` :param pulumi.Input[str] time_updated: The date and time when the service connector was updated. Format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2020-01-25T21:10:29.600Z` """ + _ConnectorState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + lifecyle_details=lifecyle_details, + source=source, + state=state, + system_tags=system_tags, + target=target, + tasks=tasks, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecyle_details: Optional[pulumi.Input[str]] = None, + source: Optional[pulumi.Input['ConnectorSourceArgs']] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + target: Optional[pulumi.Input['ConnectorTargetArgs']] = None, + tasks: Optional[pulumi.Input[Sequence[pulumi.Input['ConnectorTaskArgs']]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecyle_details is not None: - pulumi.set(__self__, "lifecyle_details", lifecyle_details) + _setter("lifecyle_details", lifecyle_details) if source is not None: - pulumi.set(__self__, "source", source) + _setter("source", source) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if target is not None: - pulumi.set(__self__, "target", target) + _setter("target", target) if tasks is not None: - pulumi.set(__self__, "tasks", tasks) + _setter("tasks", tasks) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -652,6 +710,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ConnectorArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -684,10 +746,20 @@ def _internal_init(__self__, raise TypeError("Missing required property 'display_name'") __props__.__dict__["display_name"] = display_name __props__.__dict__["freeform_tags"] = freeform_tags + if source is not None and not isinstance(source, ConnectorSourceArgs): + source = source or {} + def _setter(key, value): + source[key] = value + ConnectorSourceArgs._configure(_setter, **source) if source is None and not opts.urn: raise TypeError("Missing required property 'source'") __props__.__dict__["source"] = source __props__.__dict__["state"] = state + if target is not None and not isinstance(target, ConnectorTargetArgs): + target = target or {} + def _setter(key, value): + target[key] = value + ConnectorTargetArgs._configure(_setter, **target) if target is None and not opts.urn: raise TypeError("Missing required property 'target'") __props__.__dict__["target"] = target diff --git a/sdk/python/pulumi_oci/sch/get_service_connector.py b/sdk/python/pulumi_oci/sch/get_service_connector.py index d63afddb84..7df1833d52 100644 --- a/sdk/python/pulumi_oci/sch/get_service_connector.py +++ b/sdk/python/pulumi_oci/sch/get_service_connector.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/sch/get_service_connectors.py b/sdk/python/pulumi_oci/sch/get_service_connectors.py index 7dcaac3e4a..a0380064f5 100644 --- a/sdk/python/pulumi_oci/sch/get_service_connectors.py +++ b/sdk/python/pulumi_oci/sch/get_service_connectors.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/sch/outputs.py b/sdk/python/pulumi_oci/sch/outputs.py index c94da1dccf..5c5411bb77 100644 --- a/sdk/python/pulumi_oci/sch/outputs.py +++ b/sdk/python/pulumi_oci/sch/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -85,15 +85,32 @@ def __init__(__self__, *, :param Sequence['ConnectorSourceMonitoringSourceArgs'] monitoring_sources: (Updatable) The list of metric namespaces to retrieve data from. :param str stream_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stream. """ - pulumi.set(__self__, "kind", kind) + ConnectorSource._configure( + lambda key, value: pulumi.set(__self__, key, value), + kind=kind, + cursor=cursor, + log_sources=log_sources, + monitoring_sources=monitoring_sources, + stream_id=stream_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + kind: str, + cursor: Optional['outputs.ConnectorSourceCursor'] = None, + log_sources: Optional[Sequence['outputs.ConnectorSourceLogSource']] = None, + monitoring_sources: Optional[Sequence['outputs.ConnectorSourceMonitoringSource']] = None, + stream_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("kind", kind) if cursor is not None: - pulumi.set(__self__, "cursor", cursor) + _setter("cursor", cursor) if log_sources is not None: - pulumi.set(__self__, "log_sources", log_sources) + _setter("log_sources", log_sources) if monitoring_sources is not None: - pulumi.set(__self__, "monitoring_sources", monitoring_sources) + _setter("monitoring_sources", monitoring_sources) if stream_id is not None: - pulumi.set(__self__, "stream_id", stream_id) + _setter("stream_id", stream_id) @property @pulumi.getter @@ -143,8 +160,17 @@ def __init__(__self__, *, """ :param str kind: (Updatable) The type descriminator. """ + ConnectorSourceCursor._configure( + lambda key, value: pulumi.set(__self__, key, value), + kind=kind, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + kind: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if kind is not None: - pulumi.set(__self__, "kind", kind) + _setter("kind", kind) @property @pulumi.getter @@ -187,12 +213,25 @@ def __init__(__self__, *, :param str log_group_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Logging Analytics log group. :param str log_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log. """ + ConnectorSourceLogSource._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + log_group_id=log_group_id, + log_id=log_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[str] = None, + log_group_id: Optional[str] = None, + log_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if log_group_id is not None: - pulumi.set(__self__, "log_group_id", log_group_id) + _setter("log_group_id", log_group_id) if log_id is not None: - pulumi.set(__self__, "log_id", log_id) + _setter("log_id", log_id) @property @pulumi.getter(name="compartmentId") @@ -247,10 +286,21 @@ def __init__(__self__, *, :param str compartment_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the metric. :param 'ConnectorSourceMonitoringSourceNamespaceDetailsArgs' namespace_details: (Updatable) Discriminator for namespaces in the compartment-specific list. """ + ConnectorSourceMonitoringSource._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + namespace_details=namespace_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[str] = None, + namespace_details: Optional['outputs.ConnectorSourceMonitoringSourceNamespaceDetails'] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if namespace_details is not None: - pulumi.set(__self__, "namespace_details", namespace_details) + _setter("namespace_details", namespace_details) @property @pulumi.getter(name="compartmentId") @@ -278,8 +328,19 @@ def __init__(__self__, *, :param str kind: (Updatable) The type descriminator. :param Sequence['ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceArgs'] namespaces: (Updatable) The namespaces for the compartment-specific list. """ - pulumi.set(__self__, "kind", kind) - pulumi.set(__self__, "namespaces", namespaces) + ConnectorSourceMonitoringSourceNamespaceDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + kind=kind, + namespaces=namespaces, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + kind: str, + namespaces: Sequence['outputs.ConnectorSourceMonitoringSourceNamespaceDetailsNamespace'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("kind", kind) + _setter("namespaces", namespaces) @property @pulumi.getter @@ -307,8 +368,19 @@ def __init__(__self__, *, :param 'ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceMetricsArgs' metrics: (Updatable) The metrics to query for the specified metric namespace. :param str namespace: (Updatable) The namespace. """ - pulumi.set(__self__, "metrics", metrics) - pulumi.set(__self__, "namespace", namespace) + ConnectorSourceMonitoringSourceNamespaceDetailsNamespace._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics=metrics, + namespace=namespace, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics: 'outputs.ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceMetrics', + namespace: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("metrics", metrics) + _setter("namespace", namespace) @property @pulumi.getter @@ -334,7 +406,16 @@ def __init__(__self__, *, """ :param str kind: (Updatable) The type descriminator. """ - pulumi.set(__self__, "kind", kind) + ConnectorSourceMonitoringSourceNamespaceDetailsNamespaceMetrics._configure( + lambda key, value: pulumi.set(__self__, key, value), + kind=kind, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + kind: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("kind", kind) @property @pulumi.getter @@ -419,37 +500,76 @@ def __init__(__self__, *, :param str stream_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stream. :param str topic_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the topic. """ - pulumi.set(__self__, "kind", kind) + ConnectorTarget._configure( + lambda key, value: pulumi.set(__self__, key, value), + kind=kind, + batch_rollover_size_in_mbs=batch_rollover_size_in_mbs, + batch_rollover_time_in_ms=batch_rollover_time_in_ms, + bucket=bucket, + compartment_id=compartment_id, + dimensions=dimensions, + enable_formatted_messaging=enable_formatted_messaging, + function_id=function_id, + log_group_id=log_group_id, + log_source_identifier=log_source_identifier, + metric=metric, + metric_namespace=metric_namespace, + namespace=namespace, + object_name_prefix=object_name_prefix, + stream_id=stream_id, + topic_id=topic_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + kind: str, + batch_rollover_size_in_mbs: Optional[int] = None, + batch_rollover_time_in_ms: Optional[int] = None, + bucket: Optional[str] = None, + compartment_id: Optional[str] = None, + dimensions: Optional[Sequence['outputs.ConnectorTargetDimension']] = None, + enable_formatted_messaging: Optional[bool] = None, + function_id: Optional[str] = None, + log_group_id: Optional[str] = None, + log_source_identifier: Optional[str] = None, + metric: Optional[str] = None, + metric_namespace: Optional[str] = None, + namespace: Optional[str] = None, + object_name_prefix: Optional[str] = None, + stream_id: Optional[str] = None, + topic_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("kind", kind) if batch_rollover_size_in_mbs is not None: - pulumi.set(__self__, "batch_rollover_size_in_mbs", batch_rollover_size_in_mbs) + _setter("batch_rollover_size_in_mbs", batch_rollover_size_in_mbs) if batch_rollover_time_in_ms is not None: - pulumi.set(__self__, "batch_rollover_time_in_ms", batch_rollover_time_in_ms) + _setter("batch_rollover_time_in_ms", batch_rollover_time_in_ms) if bucket is not None: - pulumi.set(__self__, "bucket", bucket) + _setter("bucket", bucket) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if dimensions is not None: - pulumi.set(__self__, "dimensions", dimensions) + _setter("dimensions", dimensions) if enable_formatted_messaging is not None: - pulumi.set(__self__, "enable_formatted_messaging", enable_formatted_messaging) + _setter("enable_formatted_messaging", enable_formatted_messaging) if function_id is not None: - pulumi.set(__self__, "function_id", function_id) + _setter("function_id", function_id) if log_group_id is not None: - pulumi.set(__self__, "log_group_id", log_group_id) + _setter("log_group_id", log_group_id) if log_source_identifier is not None: - pulumi.set(__self__, "log_source_identifier", log_source_identifier) + _setter("log_source_identifier", log_source_identifier) if metric is not None: - pulumi.set(__self__, "metric", metric) + _setter("metric", metric) if metric_namespace is not None: - pulumi.set(__self__, "metric_namespace", metric_namespace) + _setter("metric_namespace", metric_namespace) if namespace is not None: - pulumi.set(__self__, "namespace", namespace) + _setter("namespace", namespace) if object_name_prefix is not None: - pulumi.set(__self__, "object_name_prefix", object_name_prefix) + _setter("object_name_prefix", object_name_prefix) if stream_id is not None: - pulumi.set(__self__, "stream_id", stream_id) + _setter("stream_id", stream_id) if topic_id is not None: - pulumi.set(__self__, "topic_id", topic_id) + _setter("topic_id", topic_id) @property @pulumi.getter @@ -606,10 +726,21 @@ def __init__(__self__, *, :param 'ConnectorTargetDimensionDimensionValueArgs' dimension_value: (Updatable) Instructions for extracting the value corresponding to the specified dimension key: Either extract the value as-is (static) or derive the value from a path (evaluated). :param str name: (Updatable) Dimension key. A valid dimension key includes only printable ASCII, excluding periods (.) and spaces. Custom dimension keys are acceptable. Avoid entering confidential information. Due to use by Service Connector Hub, the following dimension names are reserved: `connectorId`, `connectorName`, `connectorSourceType`. For information on valid dimension keys and values, see [MetricDataDetails Reference](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/datatypes/MetricDataDetails). Example: `type` """ + ConnectorTargetDimension._configure( + lambda key, value: pulumi.set(__self__, key, value), + dimension_value=dimension_value, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + dimension_value: Optional['outputs.ConnectorTargetDimensionDimensionValue'] = None, + name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if dimension_value is not None: - pulumi.set(__self__, "dimension_value", dimension_value) + _setter("dimension_value", dimension_value) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter(name="dimensionValue") @@ -639,11 +770,24 @@ def __init__(__self__, *, :param str path: (Updatable) The location to use for deriving the dimension value (evaluated). The path must start with `logContent` in an acceptable notation style with supported [JMESPath selectors](https://jmespath.org/specification.html): expression with dot and index operator (`.` and `[]`). Example with dot notation: `logContent.data` Example with index notation: `logContent.data[0].content` For information on valid dimension keys and values, see [MetricDataDetails Reference](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/datatypes/MetricDataDetails). The returned value depends on the results of evaluation. If the evaluated value is valid, then the evaluated value is returned without double quotes. (Any front or trailing double quotes are trimmed before returning the value. For example, the evaluated value `"compartmentId"` is returned as `compartmentId`.) If the evaluated value is invalid, then the returned value is `SCH_EVAL_INVALID_VALUE`. If the evaluated value is empty, then the returned value is `SCH_EVAL_VALUE_EMPTY`. :param str value: (Updatable) The data extracted from the specified dimension value (passed as-is). Unicode characters only. For information on valid dimension keys and values, see [MetricDataDetails Reference](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/datatypes/MetricDataDetails). """ - pulumi.set(__self__, "kind", kind) + ConnectorTargetDimensionDimensionValue._configure( + lambda key, value: pulumi.set(__self__, key, value), + kind=kind, + path=path, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + kind: str, + path: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("kind", kind) if path is not None: - pulumi.set(__self__, "path", path) + _setter("path", path) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -706,15 +850,32 @@ def __init__(__self__, *, :param str condition: (Updatable) A filter or mask to limit the source used in the flow defined by the service connector. :param str function_id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the function to be used as a task. """ - pulumi.set(__self__, "kind", kind) + ConnectorTask._configure( + lambda key, value: pulumi.set(__self__, key, value), + kind=kind, + batch_size_in_kbs=batch_size_in_kbs, + batch_time_in_sec=batch_time_in_sec, + condition=condition, + function_id=function_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + kind: str, + batch_size_in_kbs: Optional[int] = None, + batch_time_in_sec: Optional[int] = None, + condition: Optional[str] = None, + function_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("kind", kind) if batch_size_in_kbs is not None: - pulumi.set(__self__, "batch_size_in_kbs", batch_size_in_kbs) + _setter("batch_size_in_kbs", batch_size_in_kbs) if batch_time_in_sec is not None: - pulumi.set(__self__, "batch_time_in_sec", batch_time_in_sec) + _setter("batch_time_in_sec", batch_time_in_sec) if condition is not None: - pulumi.set(__self__, "condition", condition) + _setter("condition", condition) if function_id is not None: - pulumi.set(__self__, "function_id", function_id) + _setter("function_id", function_id) @property @pulumi.getter @@ -772,11 +933,28 @@ def __init__(__self__, *, :param Sequence['GetServiceConnectorSourceMonitoringSourceArgs'] monitoring_sources: The list of metric namespaces to retrieve data from. :param str stream_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stream. """ - pulumi.set(__self__, "cursors", cursors) - pulumi.set(__self__, "kind", kind) - pulumi.set(__self__, "log_sources", log_sources) - pulumi.set(__self__, "monitoring_sources", monitoring_sources) - pulumi.set(__self__, "stream_id", stream_id) + GetServiceConnectorSourceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cursors=cursors, + kind=kind, + log_sources=log_sources, + monitoring_sources=monitoring_sources, + stream_id=stream_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cursors: Sequence['outputs.GetServiceConnectorSourceCursorResult'], + kind: str, + log_sources: Sequence['outputs.GetServiceConnectorSourceLogSourceResult'], + monitoring_sources: Sequence['outputs.GetServiceConnectorSourceMonitoringSourceResult'], + stream_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cursors", cursors) + _setter("kind", kind) + _setter("log_sources", log_sources) + _setter("monitoring_sources", monitoring_sources) + _setter("stream_id", stream_id) @property @pulumi.getter @@ -826,7 +1004,16 @@ def __init__(__self__, *, """ :param str kind: The type descriminator. """ - pulumi.set(__self__, "kind", kind) + GetServiceConnectorSourceCursorResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + kind=kind, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + kind: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("kind", kind) @property @pulumi.getter @@ -848,9 +1035,22 @@ def __init__(__self__, *, :param str log_group_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Logging Analytics log group. :param str log_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "log_group_id", log_group_id) - pulumi.set(__self__, "log_id", log_id) + GetServiceConnectorSourceLogSourceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + log_group_id=log_group_id, + log_id=log_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + log_group_id: str, + log_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("log_group_id", log_group_id) + _setter("log_id", log_id) @property @pulumi.getter(name="compartmentId") @@ -886,8 +1086,19 @@ def __init__(__self__, *, :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the metric. :param Sequence['GetServiceConnectorSourceMonitoringSourceNamespaceDetailArgs'] namespace_details: Discriminator for namespaces in the compartment-specific list. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "namespace_details", namespace_details) + GetServiceConnectorSourceMonitoringSourceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + namespace_details=namespace_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + namespace_details: Sequence['outputs.GetServiceConnectorSourceMonitoringSourceNamespaceDetailResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("namespace_details", namespace_details) @property @pulumi.getter(name="compartmentId") @@ -915,8 +1126,19 @@ def __init__(__self__, *, :param str kind: The type descriminator. :param Sequence['GetServiceConnectorSourceMonitoringSourceNamespaceDetailNamespaceArgs'] namespaces: The namespaces for the compartment-specific list. """ - pulumi.set(__self__, "kind", kind) - pulumi.set(__self__, "namespaces", namespaces) + GetServiceConnectorSourceMonitoringSourceNamespaceDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + kind=kind, + namespaces=namespaces, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + kind: str, + namespaces: Sequence['outputs.GetServiceConnectorSourceMonitoringSourceNamespaceDetailNamespaceResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("kind", kind) + _setter("namespaces", namespaces) @property @pulumi.getter @@ -944,8 +1166,19 @@ def __init__(__self__, *, :param Sequence['GetServiceConnectorSourceMonitoringSourceNamespaceDetailNamespaceMetricArgs'] metrics: The metrics to query for the specified metric namespace. :param str namespace: The namespace. """ - pulumi.set(__self__, "metrics", metrics) - pulumi.set(__self__, "namespace", namespace) + GetServiceConnectorSourceMonitoringSourceNamespaceDetailNamespaceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics=metrics, + namespace=namespace, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics: Sequence['outputs.GetServiceConnectorSourceMonitoringSourceNamespaceDetailNamespaceMetricResult'], + namespace: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("metrics", metrics) + _setter("namespace", namespace) @property @pulumi.getter @@ -971,7 +1204,16 @@ def __init__(__self__, *, """ :param str kind: The type descriminator. """ - pulumi.set(__self__, "kind", kind) + GetServiceConnectorSourceMonitoringSourceNamespaceDetailNamespaceMetricResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + kind=kind, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + kind: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("kind", kind) @property @pulumi.getter @@ -1019,22 +1261,61 @@ def __init__(__self__, *, :param str stream_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stream. :param str topic_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the topic. """ - pulumi.set(__self__, "batch_rollover_size_in_mbs", batch_rollover_size_in_mbs) - pulumi.set(__self__, "batch_rollover_time_in_ms", batch_rollover_time_in_ms) - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "dimensions", dimensions) - pulumi.set(__self__, "enable_formatted_messaging", enable_formatted_messaging) - pulumi.set(__self__, "function_id", function_id) - pulumi.set(__self__, "kind", kind) - pulumi.set(__self__, "log_group_id", log_group_id) - pulumi.set(__self__, "log_source_identifier", log_source_identifier) - pulumi.set(__self__, "metric", metric) - pulumi.set(__self__, "metric_namespace", metric_namespace) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "object_name_prefix", object_name_prefix) - pulumi.set(__self__, "stream_id", stream_id) - pulumi.set(__self__, "topic_id", topic_id) + GetServiceConnectorTargetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + batch_rollover_size_in_mbs=batch_rollover_size_in_mbs, + batch_rollover_time_in_ms=batch_rollover_time_in_ms, + bucket=bucket, + compartment_id=compartment_id, + dimensions=dimensions, + enable_formatted_messaging=enable_formatted_messaging, + function_id=function_id, + kind=kind, + log_group_id=log_group_id, + log_source_identifier=log_source_identifier, + metric=metric, + metric_namespace=metric_namespace, + namespace=namespace, + object_name_prefix=object_name_prefix, + stream_id=stream_id, + topic_id=topic_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + batch_rollover_size_in_mbs: int, + batch_rollover_time_in_ms: int, + bucket: str, + compartment_id: str, + dimensions: Sequence['outputs.GetServiceConnectorTargetDimensionResult'], + enable_formatted_messaging: bool, + function_id: str, + kind: str, + log_group_id: str, + log_source_identifier: str, + metric: str, + metric_namespace: str, + namespace: str, + object_name_prefix: str, + stream_id: str, + topic_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("batch_rollover_size_in_mbs", batch_rollover_size_in_mbs) + _setter("batch_rollover_time_in_ms", batch_rollover_time_in_ms) + _setter("bucket", bucket) + _setter("compartment_id", compartment_id) + _setter("dimensions", dimensions) + _setter("enable_formatted_messaging", enable_formatted_messaging) + _setter("function_id", function_id) + _setter("kind", kind) + _setter("log_group_id", log_group_id) + _setter("log_source_identifier", log_source_identifier) + _setter("metric", metric) + _setter("metric_namespace", metric_namespace) + _setter("namespace", namespace) + _setter("object_name_prefix", object_name_prefix) + _setter("stream_id", stream_id) + _setter("topic_id", topic_id) @property @pulumi.getter(name="batchRolloverSizeInMbs") @@ -1174,8 +1455,19 @@ def __init__(__self__, *, :param Sequence['GetServiceConnectorTargetDimensionDimensionValueArgs'] dimension_values: Instructions for extracting the value corresponding to the specified dimension key: Either extract the value as-is (static) or derive the value from a path (evaluated). :param str name: Dimension key. A valid dimension key includes only printable ASCII, excluding periods (.) and spaces. Custom dimension keys are acceptable. Avoid entering confidential information. Due to use by Service Connector Hub, the following dimension names are reserved: `connectorId`, `connectorName`, `connectorSourceType`. For information on valid dimension keys and values, see [MetricDataDetails Reference](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/datatypes/MetricDataDetails). Example: `type` """ - pulumi.set(__self__, "dimension_values", dimension_values) - pulumi.set(__self__, "name", name) + GetServiceConnectorTargetDimensionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + dimension_values=dimension_values, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + dimension_values: Sequence['outputs.GetServiceConnectorTargetDimensionDimensionValueResult'], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("dimension_values", dimension_values) + _setter("name", name) @property @pulumi.getter(name="dimensionValues") @@ -1205,9 +1497,22 @@ def __init__(__self__, *, :param str path: The location to use for deriving the dimension value (evaluated). The path must start with `logContent` in an acceptable notation style with supported [JMESPath selectors](https://jmespath.org/specification.html): expression with dot and index operator (`.` and `[]`). Example with dot notation: `logContent.data` Example with index notation: `logContent.data[0].content` For information on valid dimension keys and values, see [MetricDataDetails Reference](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/datatypes/MetricDataDetails). The returned value depends on the results of evaluation. If the evaluated value is valid, then the evaluated value is returned without double quotes. (Any front or trailing double quotes are trimmed before returning the value. For example, the evaluated value `"compartmentId"` is returned as `compartmentId`.) If the evaluated value is invalid, then the returned value is `SCH_EVAL_INVALID_VALUE`. If the evaluated value is empty, then the returned value is `SCH_EVAL_VALUE_EMPTY`. :param str value: The data extracted from the specified dimension value (passed as-is). Unicode characters only. For information on valid dimension keys and values, see [MetricDataDetails Reference](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/datatypes/MetricDataDetails). """ - pulumi.set(__self__, "kind", kind) - pulumi.set(__self__, "path", path) - pulumi.set(__self__, "value", value) + GetServiceConnectorTargetDimensionDimensionValueResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + kind=kind, + path=path, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + kind: str, + path: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("kind", kind) + _setter("path", path) + _setter("value", value) @property @pulumi.getter @@ -1249,11 +1554,28 @@ def __init__(__self__, *, :param str function_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the function to be used as a task. :param str kind: The type descriminator. """ - pulumi.set(__self__, "batch_size_in_kbs", batch_size_in_kbs) - pulumi.set(__self__, "batch_time_in_sec", batch_time_in_sec) - pulumi.set(__self__, "condition", condition) - pulumi.set(__self__, "function_id", function_id) - pulumi.set(__self__, "kind", kind) + GetServiceConnectorTaskResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + batch_size_in_kbs=batch_size_in_kbs, + batch_time_in_sec=batch_time_in_sec, + condition=condition, + function_id=function_id, + kind=kind, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + batch_size_in_kbs: int, + batch_time_in_sec: int, + condition: str, + function_id: str, + kind: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("batch_size_in_kbs", batch_size_in_kbs) + _setter("batch_time_in_sec", batch_time_in_sec) + _setter("condition", condition) + _setter("function_id", function_id) + _setter("kind", kind) @property @pulumi.getter(name="batchSizeInKbs") @@ -1305,10 +1627,23 @@ def __init__(__self__, *, """ :param str name: Dimension key. A valid dimension key includes only printable ASCII, excluding periods (.) and spaces. Custom dimension keys are acceptable. Avoid entering confidential information. Due to use by Service Connector Hub, the following dimension names are reserved: `connectorId`, `connectorName`, `connectorSourceType`. For information on valid dimension keys and values, see [MetricDataDetails Reference](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/datatypes/MetricDataDetails). Example: `type` """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetServiceConnectorsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1333,7 +1668,16 @@ def regex(self) -> Optional[bool]: class GetServiceConnectorsServiceConnectorCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetServiceConnectorsServiceConnectorCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetServiceConnectorsServiceConnectorCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetServiceConnectorsServiceConnectorCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1374,20 +1718,55 @@ def __init__(__self__, *, :param str time_created: The date and time when the service connector was created. Format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2020-01-25T21:10:29.600Z` :param str time_updated: The date and time when the service connector was updated. Format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339). Example: `2020-01-25T21:10:29.600Z` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecyle_details", lifecyle_details) - pulumi.set(__self__, "sources", sources) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "targets", targets) - pulumi.set(__self__, "tasks", tasks) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetServiceConnectorsServiceConnectorCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + lifecyle_details=lifecyle_details, + sources=sources, + state=state, + system_tags=system_tags, + targets=targets, + tasks=tasks, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecyle_details: str, + sources: Sequence['outputs.GetServiceConnectorsServiceConnectorCollectionItemSourceResult'], + state: str, + system_tags: Mapping[str, Any], + targets: Sequence['outputs.GetServiceConnectorsServiceConnectorCollectionItemTargetResult'], + tasks: Sequence['outputs.GetServiceConnectorsServiceConnectorCollectionItemTaskResult'], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecyle_details", lifecyle_details) + _setter("sources", sources) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("targets", targets) + _setter("tasks", tasks) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -1517,11 +1896,28 @@ def __init__(__self__, *, :param Sequence['GetServiceConnectorsServiceConnectorCollectionItemSourceMonitoringSourceArgs'] monitoring_sources: The list of metric namespaces to retrieve data from. :param str stream_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stream. """ - pulumi.set(__self__, "cursors", cursors) - pulumi.set(__self__, "kind", kind) - pulumi.set(__self__, "log_sources", log_sources) - pulumi.set(__self__, "monitoring_sources", monitoring_sources) - pulumi.set(__self__, "stream_id", stream_id) + GetServiceConnectorsServiceConnectorCollectionItemSourceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cursors=cursors, + kind=kind, + log_sources=log_sources, + monitoring_sources=monitoring_sources, + stream_id=stream_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cursors: Sequence['outputs.GetServiceConnectorsServiceConnectorCollectionItemSourceCursorResult'], + kind: str, + log_sources: Sequence['outputs.GetServiceConnectorsServiceConnectorCollectionItemSourceLogSourceResult'], + monitoring_sources: Sequence['outputs.GetServiceConnectorsServiceConnectorCollectionItemSourceMonitoringSourceResult'], + stream_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cursors", cursors) + _setter("kind", kind) + _setter("log_sources", log_sources) + _setter("monitoring_sources", monitoring_sources) + _setter("stream_id", stream_id) @property @pulumi.getter @@ -1571,7 +1967,16 @@ def __init__(__self__, *, """ :param str kind: The type descriminator. """ - pulumi.set(__self__, "kind", kind) + GetServiceConnectorsServiceConnectorCollectionItemSourceCursorResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + kind=kind, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + kind: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("kind", kind) @property @pulumi.getter @@ -1593,9 +1998,22 @@ def __init__(__self__, *, :param str log_group_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Logging Analytics log group. :param str log_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the log. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "log_group_id", log_group_id) - pulumi.set(__self__, "log_id", log_id) + GetServiceConnectorsServiceConnectorCollectionItemSourceLogSourceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + log_group_id=log_group_id, + log_id=log_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + log_group_id: str, + log_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("log_group_id", log_group_id) + _setter("log_id", log_id) @property @pulumi.getter(name="compartmentId") @@ -1631,8 +2049,19 @@ def __init__(__self__, *, :param str compartment_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment for this request. :param Sequence['GetServiceConnectorsServiceConnectorCollectionItemSourceMonitoringSourceNamespaceDetailArgs'] namespace_details: Discriminator for namespaces in the compartment-specific list. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "namespace_details", namespace_details) + GetServiceConnectorsServiceConnectorCollectionItemSourceMonitoringSourceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + namespace_details=namespace_details, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + namespace_details: Sequence['outputs.GetServiceConnectorsServiceConnectorCollectionItemSourceMonitoringSourceNamespaceDetailResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("namespace_details", namespace_details) @property @pulumi.getter(name="compartmentId") @@ -1660,8 +2089,19 @@ def __init__(__self__, *, :param str kind: The type descriminator. :param Sequence['GetServiceConnectorsServiceConnectorCollectionItemSourceMonitoringSourceNamespaceDetailNamespaceArgs'] namespaces: The namespaces for the compartment-specific list. """ - pulumi.set(__self__, "kind", kind) - pulumi.set(__self__, "namespaces", namespaces) + GetServiceConnectorsServiceConnectorCollectionItemSourceMonitoringSourceNamespaceDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + kind=kind, + namespaces=namespaces, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + kind: str, + namespaces: Sequence['outputs.GetServiceConnectorsServiceConnectorCollectionItemSourceMonitoringSourceNamespaceDetailNamespaceResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("kind", kind) + _setter("namespaces", namespaces) @property @pulumi.getter @@ -1689,8 +2129,19 @@ def __init__(__self__, *, :param Sequence['GetServiceConnectorsServiceConnectorCollectionItemSourceMonitoringSourceNamespaceDetailNamespaceMetricArgs'] metrics: The metrics to query for the specified metric namespace. :param str namespace: The namespace. """ - pulumi.set(__self__, "metrics", metrics) - pulumi.set(__self__, "namespace", namespace) + GetServiceConnectorsServiceConnectorCollectionItemSourceMonitoringSourceNamespaceDetailNamespaceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + metrics=metrics, + namespace=namespace, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + metrics: Sequence['outputs.GetServiceConnectorsServiceConnectorCollectionItemSourceMonitoringSourceNamespaceDetailNamespaceMetricResult'], + namespace: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("metrics", metrics) + _setter("namespace", namespace) @property @pulumi.getter @@ -1716,7 +2167,16 @@ def __init__(__self__, *, """ :param str kind: The type descriminator. """ - pulumi.set(__self__, "kind", kind) + GetServiceConnectorsServiceConnectorCollectionItemSourceMonitoringSourceNamespaceDetailNamespaceMetricResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + kind=kind, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + kind: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("kind", kind) @property @pulumi.getter @@ -1764,22 +2224,61 @@ def __init__(__self__, *, :param str stream_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the stream. :param str topic_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the topic. """ - pulumi.set(__self__, "batch_rollover_size_in_mbs", batch_rollover_size_in_mbs) - pulumi.set(__self__, "batch_rollover_time_in_ms", batch_rollover_time_in_ms) - pulumi.set(__self__, "bucket", bucket) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "dimensions", dimensions) - pulumi.set(__self__, "enable_formatted_messaging", enable_formatted_messaging) - pulumi.set(__self__, "function_id", function_id) - pulumi.set(__self__, "kind", kind) - pulumi.set(__self__, "log_group_id", log_group_id) - pulumi.set(__self__, "log_source_identifier", log_source_identifier) - pulumi.set(__self__, "metric", metric) - pulumi.set(__self__, "metric_namespace", metric_namespace) - pulumi.set(__self__, "namespace", namespace) - pulumi.set(__self__, "object_name_prefix", object_name_prefix) - pulumi.set(__self__, "stream_id", stream_id) - pulumi.set(__self__, "topic_id", topic_id) + GetServiceConnectorsServiceConnectorCollectionItemTargetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + batch_rollover_size_in_mbs=batch_rollover_size_in_mbs, + batch_rollover_time_in_ms=batch_rollover_time_in_ms, + bucket=bucket, + compartment_id=compartment_id, + dimensions=dimensions, + enable_formatted_messaging=enable_formatted_messaging, + function_id=function_id, + kind=kind, + log_group_id=log_group_id, + log_source_identifier=log_source_identifier, + metric=metric, + metric_namespace=metric_namespace, + namespace=namespace, + object_name_prefix=object_name_prefix, + stream_id=stream_id, + topic_id=topic_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + batch_rollover_size_in_mbs: int, + batch_rollover_time_in_ms: int, + bucket: str, + compartment_id: str, + dimensions: Sequence['outputs.GetServiceConnectorsServiceConnectorCollectionItemTargetDimensionResult'], + enable_formatted_messaging: bool, + function_id: str, + kind: str, + log_group_id: str, + log_source_identifier: str, + metric: str, + metric_namespace: str, + namespace: str, + object_name_prefix: str, + stream_id: str, + topic_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("batch_rollover_size_in_mbs", batch_rollover_size_in_mbs) + _setter("batch_rollover_time_in_ms", batch_rollover_time_in_ms) + _setter("bucket", bucket) + _setter("compartment_id", compartment_id) + _setter("dimensions", dimensions) + _setter("enable_formatted_messaging", enable_formatted_messaging) + _setter("function_id", function_id) + _setter("kind", kind) + _setter("log_group_id", log_group_id) + _setter("log_source_identifier", log_source_identifier) + _setter("metric", metric) + _setter("metric_namespace", metric_namespace) + _setter("namespace", namespace) + _setter("object_name_prefix", object_name_prefix) + _setter("stream_id", stream_id) + _setter("topic_id", topic_id) @property @pulumi.getter(name="batchRolloverSizeInMbs") @@ -1919,8 +2418,19 @@ def __init__(__self__, *, :param Sequence['GetServiceConnectorsServiceConnectorCollectionItemTargetDimensionDimensionValueArgs'] dimension_values: Instructions for extracting the value corresponding to the specified dimension key: Either extract the value as-is (static) or derive the value from a path (evaluated). :param str name: Dimension key. A valid dimension key includes only printable ASCII, excluding periods (.) and spaces. Custom dimension keys are acceptable. Avoid entering confidential information. Due to use by Service Connector Hub, the following dimension names are reserved: `connectorId`, `connectorName`, `connectorSourceType`. For information on valid dimension keys and values, see [MetricDataDetails Reference](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/datatypes/MetricDataDetails). Example: `type` """ - pulumi.set(__self__, "dimension_values", dimension_values) - pulumi.set(__self__, "name", name) + GetServiceConnectorsServiceConnectorCollectionItemTargetDimensionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + dimension_values=dimension_values, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + dimension_values: Sequence['outputs.GetServiceConnectorsServiceConnectorCollectionItemTargetDimensionDimensionValueResult'], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("dimension_values", dimension_values) + _setter("name", name) @property @pulumi.getter(name="dimensionValues") @@ -1950,9 +2460,22 @@ def __init__(__self__, *, :param str path: The location to use for deriving the dimension value (evaluated). The path must start with `logContent` in an acceptable notation style with supported [JMESPath selectors](https://jmespath.org/specification.html): expression with dot and index operator (`.` and `[]`). Example with dot notation: `logContent.data` Example with index notation: `logContent.data[0].content` For information on valid dimension keys and values, see [MetricDataDetails Reference](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/datatypes/MetricDataDetails). The returned value depends on the results of evaluation. If the evaluated value is valid, then the evaluated value is returned without double quotes. (Any front or trailing double quotes are trimmed before returning the value. For example, the evaluated value `"compartmentId"` is returned as `compartmentId`.) If the evaluated value is invalid, then the returned value is `SCH_EVAL_INVALID_VALUE`. If the evaluated value is empty, then the returned value is `SCH_EVAL_VALUE_EMPTY`. :param str value: The data extracted from the specified dimension value (passed as-is). Unicode characters only. For information on valid dimension keys and values, see [MetricDataDetails Reference](https://docs.cloud.oracle.com/iaas/api/#/en/monitoring/latest/datatypes/MetricDataDetails). """ - pulumi.set(__self__, "kind", kind) - pulumi.set(__self__, "path", path) - pulumi.set(__self__, "value", value) + GetServiceConnectorsServiceConnectorCollectionItemTargetDimensionDimensionValueResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + kind=kind, + path=path, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + kind: str, + path: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("kind", kind) + _setter("path", path) + _setter("value", value) @property @pulumi.getter @@ -1994,11 +2517,28 @@ def __init__(__self__, *, :param str function_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the function to be used as a task. :param str kind: The type descriminator. """ - pulumi.set(__self__, "batch_size_in_kbs", batch_size_in_kbs) - pulumi.set(__self__, "batch_time_in_sec", batch_time_in_sec) - pulumi.set(__self__, "condition", condition) - pulumi.set(__self__, "function_id", function_id) - pulumi.set(__self__, "kind", kind) + GetServiceConnectorsServiceConnectorCollectionItemTaskResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + batch_size_in_kbs=batch_size_in_kbs, + batch_time_in_sec=batch_time_in_sec, + condition=condition, + function_id=function_id, + kind=kind, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + batch_size_in_kbs: int, + batch_time_in_sec: int, + condition: str, + function_id: str, + kind: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("batch_size_in_kbs", batch_size_in_kbs) + _setter("batch_time_in_sec", batch_time_in_sec) + _setter("condition", condition) + _setter("function_id", function_id) + _setter("kind", kind) @property @pulumi.getter(name="batchSizeInKbs") diff --git a/sdk/python/pulumi_oci/secrets/_inputs.py b/sdk/python/pulumi_oci/secrets/_inputs.py index 7e33d32496..2dbb67f329 100644 --- a/sdk/python/pulumi_oci/secrets/_inputs.py +++ b/sdk/python/pulumi_oci/secrets/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -19,10 +19,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSecretbundleVersionsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/secrets/get_secretbundle.py b/sdk/python/pulumi_oci/secrets/get_secretbundle.py index ba5850151e..75bd223f56 100644 --- a/sdk/python/pulumi_oci/secrets/get_secretbundle.py +++ b/sdk/python/pulumi_oci/secrets/get_secretbundle.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/secrets/get_secretbundle_versions.py b/sdk/python/pulumi_oci/secrets/get_secretbundle_versions.py index fc1ebe8d9f..43eb215a5c 100644 --- a/sdk/python/pulumi_oci/secrets/get_secretbundle_versions.py +++ b/sdk/python/pulumi_oci/secrets/get_secretbundle_versions.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/secrets/outputs.py b/sdk/python/pulumi_oci/secrets/outputs.py index 160171b334..f7a5ab60af 100644 --- a/sdk/python/pulumi_oci/secrets/outputs.py +++ b/sdk/python/pulumi_oci/secrets/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -24,8 +24,19 @@ def __init__(__self__, *, :param str content: The base64-encoded content of the secret. :param str content_type: The formatting type of the secret contents. """ - pulumi.set(__self__, "content", content) - pulumi.set(__self__, "content_type", content_type) + GetSecretbundleSecretBundleContentResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + content=content, + content_type=content_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + content: str, + content_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("content", content) + _setter("content_type", content_type) @property @pulumi.getter @@ -50,10 +61,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSecretbundleVersionsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -90,13 +114,34 @@ def __init__(__self__, *, :param str version_name: The version name of the secret bundle, as provided when the secret was created or last rotated. :param str version_number: The version number of the secret. """ - pulumi.set(__self__, "secret_id", secret_id) - pulumi.set(__self__, "stages", stages) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_of_deletion", time_of_deletion) - pulumi.set(__self__, "time_of_expiry", time_of_expiry) - pulumi.set(__self__, "version_name", version_name) - pulumi.set(__self__, "version_number", version_number) + GetSecretbundleVersionsSecretBundleVersionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + secret_id=secret_id, + stages=stages, + time_created=time_created, + time_of_deletion=time_of_deletion, + time_of_expiry=time_of_expiry, + version_name=version_name, + version_number=version_number, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + secret_id: str, + stages: Sequence[str], + time_created: str, + time_of_deletion: str, + time_of_expiry: str, + version_name: str, + version_number: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("secret_id", secret_id) + _setter("stages", stages) + _setter("time_created", time_created) + _setter("time_of_deletion", time_of_deletion) + _setter("time_of_expiry", time_of_expiry) + _setter("version_name", version_name) + _setter("version_number", version_number) @property @pulumi.getter(name="secretId") diff --git a/sdk/python/pulumi_oci/servicecatalog/_inputs.py b/sdk/python/pulumi_oci/servicecatalog/_inputs.py index 7962b8b883..f32f0925f5 100644 --- a/sdk/python/pulumi_oci/servicecatalog/_inputs.py +++ b/sdk/python/pulumi_oci/servicecatalog/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -29,12 +29,25 @@ def __init__(__self__, *, :param pulumi.Input[str] display_name: (Updatable) The name of the private application. :param pulumi.Input[str] mime_type: The MIME type of the uploaded data. """ + PrivateApplicationLogoArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + content_url=content_url, + display_name=display_name, + mime_type=mime_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + content_url: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + mime_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if content_url is not None: - pulumi.set(__self__, "content_url", content_url) + _setter("content_url", content_url) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if mime_type is not None: - pulumi.set(__self__, "mime_type", mime_type) + _setter("mime_type", mime_type) @property @pulumi.getter(name="contentUrl") @@ -83,10 +96,23 @@ def __init__(__self__, *, :param pulumi.Input[str] package_type: The package's type. :param pulumi.Input[str] version: The package version. """ - pulumi.set(__self__, "package_type", package_type) - pulumi.set(__self__, "version", version) + PrivateApplicationPackageDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + package_type=package_type, + version=version, + zip_file_base64encoded=zip_file_base64encoded, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + package_type: pulumi.Input[str], + version: pulumi.Input[str], + zip_file_base64encoded: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("package_type", package_type) + _setter("version", version) if zip_file_base64encoded is not None: - pulumi.set(__self__, "zip_file_base64encoded", zip_file_base64encoded) + _setter("zip_file_base64encoded", zip_file_base64encoded) @property @pulumi.getter(name="packageType") @@ -128,10 +154,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetPrivateApplicationPackagesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -167,10 +206,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetPrivateApplicationsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -206,10 +258,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetServiceCatalogAssociationsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -245,10 +310,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetServiceCatalogsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/servicecatalog/catalog.py b/sdk/python/pulumi_oci/servicecatalog/catalog.py index 2c98fe84f9..71d96feb7f 100644 --- a/sdk/python/pulumi_oci/servicecatalog/catalog.py +++ b/sdk/python/pulumi_oci/servicecatalog/catalog.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['CatalogArgs', 'Catalog'] @@ -29,12 +29,27 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) + CatalogArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="compartmentId") @@ -113,20 +128,41 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the service catalog was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2021-05-26T21:10:29.600Z` :param pulumi.Input[str] time_updated: The date and time the service catalog was last modified, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2021-12-10T05:10:29.721Z` """ + _CatalogState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -314,6 +350,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + CatalogArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/servicecatalog/catalog_association.py b/sdk/python/pulumi_oci/servicecatalog/catalog_association.py index 262ab1a242..0eb7701a12 100644 --- a/sdk/python/pulumi_oci/servicecatalog/catalog_association.py +++ b/sdk/python/pulumi_oci/servicecatalog/catalog_association.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['CatalogAssociationArgs', 'CatalogAssociation'] @@ -27,10 +27,23 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] entity_type: The type of the entity that is associated with the service catalog. """ - pulumi.set(__self__, "entity_id", entity_id) - pulumi.set(__self__, "service_catalog_id", service_catalog_id) + CatalogAssociationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + entity_id=entity_id, + service_catalog_id=service_catalog_id, + entity_type=entity_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + entity_id: pulumi.Input[str], + service_catalog_id: pulumi.Input[str], + entity_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("entity_id", entity_id) + _setter("service_catalog_id", service_catalog_id) if entity_type is not None: - pulumi.set(__self__, "entity_type", entity_type) + _setter("entity_type", entity_type) @property @pulumi.getter(name="entityId") @@ -91,14 +104,29 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] time_created: Timestamp of when the resource was associated with service catalog. """ + _CatalogAssociationState._configure( + lambda key, value: pulumi.set(__self__, key, value), + entity_id=entity_id, + entity_type=entity_type, + service_catalog_id=service_catalog_id, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + entity_id: Optional[pulumi.Input[str]] = None, + entity_type: Optional[pulumi.Input[str]] = None, + service_catalog_id: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if entity_id is not None: - pulumi.set(__self__, "entity_id", entity_id) + _setter("entity_id", entity_id) if entity_type is not None: - pulumi.set(__self__, "entity_type", entity_type) + _setter("entity_type", entity_type) if service_catalog_id is not None: - pulumi.set(__self__, "service_catalog_id", service_catalog_id) + _setter("service_catalog_id", service_catalog_id) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="entityId") @@ -238,6 +266,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + CatalogAssociationArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/servicecatalog/get_private_application.py b/sdk/python/pulumi_oci/servicecatalog/get_private_application.py index 2aa823d696..d413caec1a 100644 --- a/sdk/python/pulumi_oci/servicecatalog/get_private_application.py +++ b/sdk/python/pulumi_oci/servicecatalog/get_private_application.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/servicecatalog/get_private_application_package.py b/sdk/python/pulumi_oci/servicecatalog/get_private_application_package.py index df2eb5f387..f8f423552e 100644 --- a/sdk/python/pulumi_oci/servicecatalog/get_private_application_package.py +++ b/sdk/python/pulumi_oci/servicecatalog/get_private_application_package.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/servicecatalog/get_private_application_packages.py b/sdk/python/pulumi_oci/servicecatalog/get_private_application_packages.py index d57b2abd37..9813d3c71f 100644 --- a/sdk/python/pulumi_oci/servicecatalog/get_private_application_packages.py +++ b/sdk/python/pulumi_oci/servicecatalog/get_private_application_packages.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/servicecatalog/get_private_applications.py b/sdk/python/pulumi_oci/servicecatalog/get_private_applications.py index cc634d383a..6c5482f187 100644 --- a/sdk/python/pulumi_oci/servicecatalog/get_private_applications.py +++ b/sdk/python/pulumi_oci/servicecatalog/get_private_applications.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/servicecatalog/get_service_catalog.py b/sdk/python/pulumi_oci/servicecatalog/get_service_catalog.py index 2dbb4dcbdb..f612661469 100644 --- a/sdk/python/pulumi_oci/servicecatalog/get_service_catalog.py +++ b/sdk/python/pulumi_oci/servicecatalog/get_service_catalog.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/servicecatalog/get_service_catalog_association.py b/sdk/python/pulumi_oci/servicecatalog/get_service_catalog_association.py index 4cc6d86e1d..a34f176693 100644 --- a/sdk/python/pulumi_oci/servicecatalog/get_service_catalog_association.py +++ b/sdk/python/pulumi_oci/servicecatalog/get_service_catalog_association.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/servicecatalog/get_service_catalog_associations.py b/sdk/python/pulumi_oci/servicecatalog/get_service_catalog_associations.py index 0ea1110833..ef920f91f9 100644 --- a/sdk/python/pulumi_oci/servicecatalog/get_service_catalog_associations.py +++ b/sdk/python/pulumi_oci/servicecatalog/get_service_catalog_associations.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/servicecatalog/get_service_catalogs.py b/sdk/python/pulumi_oci/servicecatalog/get_service_catalogs.py index b653d1b158..951b6e9a68 100644 --- a/sdk/python/pulumi_oci/servicecatalog/get_service_catalogs.py +++ b/sdk/python/pulumi_oci/servicecatalog/get_service_catalogs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/servicecatalog/outputs.py b/sdk/python/pulumi_oci/servicecatalog/outputs.py index d00961cc1b..b9750a389a 100644 --- a/sdk/python/pulumi_oci/servicecatalog/outputs.py +++ b/sdk/python/pulumi_oci/servicecatalog/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -63,12 +63,25 @@ def __init__(__self__, *, :param str display_name: (Updatable) The name of the private application. :param str mime_type: The MIME type of the uploaded data. """ + PrivateApplicationLogo._configure( + lambda key, value: pulumi.set(__self__, key, value), + content_url=content_url, + display_name=display_name, + mime_type=mime_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + content_url: Optional[str] = None, + display_name: Optional[str] = None, + mime_type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if content_url is not None: - pulumi.set(__self__, "content_url", content_url) + _setter("content_url", content_url) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if mime_type is not None: - pulumi.set(__self__, "mime_type", mime_type) + _setter("mime_type", mime_type) @property @pulumi.getter(name="contentUrl") @@ -124,10 +137,23 @@ def __init__(__self__, *, :param str package_type: The package's type. :param str version: The package version. """ - pulumi.set(__self__, "package_type", package_type) - pulumi.set(__self__, "version", version) + PrivateApplicationPackageDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + package_type=package_type, + version=version, + zip_file_base64encoded=zip_file_base64encoded, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + package_type: str, + version: str, + zip_file_base64encoded: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("package_type", package_type) + _setter("version", version) if zip_file_base64encoded is not None: - pulumi.set(__self__, "zip_file_base64encoded", zip_file_base64encoded) + _setter("zip_file_base64encoded", zip_file_base64encoded) @property @pulumi.getter(name="packageType") @@ -162,9 +188,22 @@ def __init__(__self__, *, :param str display_name: The name used to refer to the uploaded data. :param str mime_type: The MIME type of the uploaded data. """ - pulumi.set(__self__, "content_url", content_url) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "mime_type", mime_type) + GetPrivateApplicationLogoResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + content_url=content_url, + display_name=display_name, + mime_type=mime_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + content_url: str, + display_name: str, + mime_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("content_url", content_url) + _setter("display_name", display_name) + _setter("mime_type", mime_type) @property @pulumi.getter(name="contentUrl") @@ -200,9 +239,22 @@ def __init__(__self__, *, """ :param str package_type: Type of packages within this private application. """ - pulumi.set(__self__, "package_type", package_type) - pulumi.set(__self__, "version", version) - pulumi.set(__self__, "zip_file_base64encoded", zip_file_base64encoded) + GetPrivateApplicationPackageDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + package_type=package_type, + version=version, + zip_file_base64encoded=zip_file_base64encoded, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + package_type: str, + version: str, + zip_file_base64encoded: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("package_type", package_type) + _setter("version", version) + _setter("zip_file_base64encoded", zip_file_base64encoded) @property @pulumi.getter(name="packageType") @@ -229,10 +281,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetPrivateApplicationPackagesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -254,7 +319,16 @@ def regex(self) -> Optional[bool]: class GetPrivateApplicationPackagesPrivateApplicationPackageCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetPrivateApplicationPackagesPrivateApplicationPackageCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetPrivateApplicationPackagesPrivateApplicationPackageCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetPrivateApplicationPackagesPrivateApplicationPackageCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -281,14 +355,37 @@ def __init__(__self__, *, :param str time_created: The date and time the private application package was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2021-05-27T21:10:29.600Z` :param str version: The package version. """ - pulumi.set(__self__, "content_url", content_url) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "mime_type", mime_type) - pulumi.set(__self__, "package_type", package_type) - pulumi.set(__self__, "private_application_id", private_application_id) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "version", version) + GetPrivateApplicationPackagesPrivateApplicationPackageCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + content_url=content_url, + display_name=display_name, + id=id, + mime_type=mime_type, + package_type=package_type, + private_application_id=private_application_id, + time_created=time_created, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + content_url: str, + display_name: str, + id: str, + mime_type: str, + package_type: str, + private_application_id: str, + time_created: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("content_url", content_url) + _setter("display_name", display_name) + _setter("id", id) + _setter("mime_type", mime_type) + _setter("package_type", package_type) + _setter("private_application_id", private_application_id) + _setter("time_created", time_created) + _setter("version", version) @property @pulumi.getter(name="contentUrl") @@ -355,10 +452,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetPrivateApplicationsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -380,7 +490,16 @@ def regex(self) -> Optional[bool]: class GetPrivateApplicationsPrivateApplicationCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetPrivateApplicationsPrivateApplicationCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetPrivateApplicationsPrivateApplicationCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetPrivateApplicationsPrivateApplicationCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -419,20 +538,55 @@ def __init__(__self__, *, :param str time_created: The date and time the private application was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2021-05-26T21:10:29.600Z` :param str time_updated: The date and time the private application was last modified, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2021-12-10T05:10:29.721Z` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "logo_file_base64encoded", logo_file_base64encoded) - pulumi.set(__self__, "logos", logos) - pulumi.set(__self__, "long_description", long_description) - pulumi.set(__self__, "package_details", package_details) - pulumi.set(__self__, "package_type", package_type) - pulumi.set(__self__, "short_description", short_description) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetPrivateApplicationsPrivateApplicationCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + logo_file_base64encoded=logo_file_base64encoded, + logos=logos, + long_description=long_description, + package_details=package_details, + package_type=package_type, + short_description=short_description, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + logo_file_base64encoded: str, + logos: Sequence['outputs.GetPrivateApplicationsPrivateApplicationCollectionItemLogoResult'], + long_description: str, + package_details: Sequence['outputs.GetPrivateApplicationsPrivateApplicationCollectionItemPackageDetailResult'], + package_type: str, + short_description: str, + state: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("logo_file_base64encoded", logo_file_base64encoded) + _setter("logos", logos) + _setter("long_description", long_description) + _setter("package_details", package_details) + _setter("package_type", package_type) + _setter("short_description", short_description) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -552,9 +706,22 @@ def __init__(__self__, *, :param str display_name: Exact match name filter. :param str mime_type: The MIME type of the uploaded data. """ - pulumi.set(__self__, "content_url", content_url) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "mime_type", mime_type) + GetPrivateApplicationsPrivateApplicationCollectionItemLogoResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + content_url=content_url, + display_name=display_name, + mime_type=mime_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + content_url: str, + display_name: str, + mime_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("content_url", content_url) + _setter("display_name", display_name) + _setter("mime_type", mime_type) @property @pulumi.getter(name="contentUrl") @@ -590,9 +757,22 @@ def __init__(__self__, *, """ :param str package_type: Type of packages within this private application. """ - pulumi.set(__self__, "package_type", package_type) - pulumi.set(__self__, "version", version) - pulumi.set(__self__, "zip_file_base64encoded", zip_file_base64encoded) + GetPrivateApplicationsPrivateApplicationCollectionItemPackageDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + package_type=package_type, + version=version, + zip_file_base64encoded=zip_file_base64encoded, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + package_type: str, + version: str, + zip_file_base64encoded: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("package_type", package_type) + _setter("version", version) + _setter("zip_file_base64encoded", zip_file_base64encoded) @property @pulumi.getter(name="packageType") @@ -619,10 +799,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetServiceCatalogAssociationsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -644,7 +837,16 @@ def regex(self) -> Optional[bool]: class GetServiceCatalogAssociationsServiceCatalogAssociationCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetServiceCatalogAssociationsServiceCatalogAssociationCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetServiceCatalogAssociationsServiceCatalogAssociationCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetServiceCatalogAssociationsServiceCatalogAssociationCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -667,11 +869,28 @@ def __init__(__self__, *, :param str service_catalog_id: The unique identifier for the service catalog. :param str time_created: Timestamp of when the resource was associated with service catalog. """ - pulumi.set(__self__, "entity_id", entity_id) - pulumi.set(__self__, "entity_type", entity_type) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "service_catalog_id", service_catalog_id) - pulumi.set(__self__, "time_created", time_created) + GetServiceCatalogAssociationsServiceCatalogAssociationCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + entity_id=entity_id, + entity_type=entity_type, + id=id, + service_catalog_id=service_catalog_id, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + entity_id: str, + entity_type: str, + id: str, + service_catalog_id: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("entity_id", entity_id) + _setter("entity_type", entity_type) + _setter("id", id) + _setter("service_catalog_id", service_catalog_id) + _setter("time_created", time_created) @property @pulumi.getter(name="entityId") @@ -720,10 +939,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetServiceCatalogsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -745,7 +977,16 @@ def regex(self) -> Optional[bool]: class GetServiceCatalogsServiceCatalogCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetServiceCatalogsServiceCatalogCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetServiceCatalogsServiceCatalogCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetServiceCatalogsServiceCatalogCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -774,14 +1015,37 @@ def __init__(__self__, *, :param str time_created: The date and time the service catalog was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2021-05-26T21:10:29.600Z` :param str time_updated: The date and time the service catalog was last modified, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2021-12-10T05:10:29.721Z` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetServiceCatalogsServiceCatalogCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + state: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") diff --git a/sdk/python/pulumi_oci/servicecatalog/private_application.py b/sdk/python/pulumi_oci/servicecatalog/private_application.py index c62e99990e..bdf4f15161 100644 --- a/sdk/python/pulumi_oci/servicecatalog/private_application.py +++ b/sdk/python/pulumi_oci/servicecatalog/private_application.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -39,18 +39,41 @@ def __init__(__self__, *, :param pulumi.Input[str] logo_file_base64encoded: (Updatable) Base64-encoded logo to use as the private application icon. Template icon file requirements: PNG format, 50 KB maximum, 130 x 130 pixels. :param pulumi.Input[str] long_description: (Updatable) A long description of the private application. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "package_details", package_details) - pulumi.set(__self__, "short_description", short_description) + PrivateApplicationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + package_details=package_details, + short_description=short_description, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + logo_file_base64encoded=logo_file_base64encoded, + long_description=long_description, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + package_details: pulumi.Input['PrivateApplicationPackageDetailsArgs'], + short_description: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + logo_file_base64encoded: Optional[pulumi.Input[str]] = None, + long_description: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) + _setter("package_details", package_details) + _setter("short_description", short_description) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if logo_file_base64encoded is not None: - pulumi.set(__self__, "logo_file_base64encoded", logo_file_base64encoded) + _setter("logo_file_base64encoded", logo_file_base64encoded) if long_description is not None: - pulumi.set(__self__, "long_description", long_description) + _setter("long_description", long_description) @property @pulumi.getter(name="compartmentId") @@ -189,32 +212,65 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the private application was created, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2021-05-26T21:10:29.600Z` :param pulumi.Input[str] time_updated: The date and time the private application was last modified, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2021-12-10T05:10:29.721Z` """ + _PrivateApplicationState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + logo_file_base64encoded=logo_file_base64encoded, + logos=logos, + long_description=long_description, + package_details=package_details, + package_type=package_type, + short_description=short_description, + state=state, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + logo_file_base64encoded: Optional[pulumi.Input[str]] = None, + logos: Optional[pulumi.Input[Sequence[pulumi.Input['PrivateApplicationLogoArgs']]]] = None, + long_description: Optional[pulumi.Input[str]] = None, + package_details: Optional[pulumi.Input['PrivateApplicationPackageDetailsArgs']] = None, + package_type: Optional[pulumi.Input[str]] = None, + short_description: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if logo_file_base64encoded is not None: - pulumi.set(__self__, "logo_file_base64encoded", logo_file_base64encoded) + _setter("logo_file_base64encoded", logo_file_base64encoded) if logos is not None: - pulumi.set(__self__, "logos", logos) + _setter("logos", logos) if long_description is not None: - pulumi.set(__self__, "long_description", long_description) + _setter("long_description", long_description) if package_details is not None: - pulumi.set(__self__, "package_details", package_details) + _setter("package_details", package_details) if package_type is not None: - pulumi.set(__self__, "package_type", package_type) + _setter("package_type", package_type) if short_description is not None: - pulumi.set(__self__, "short_description", short_description) + _setter("short_description", short_description) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -498,6 +554,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + PrivateApplicationArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -530,6 +590,11 @@ def _internal_init(__self__, __props__.__dict__["freeform_tags"] = freeform_tags __props__.__dict__["logo_file_base64encoded"] = logo_file_base64encoded __props__.__dict__["long_description"] = long_description + if package_details is not None and not isinstance(package_details, PrivateApplicationPackageDetailsArgs): + package_details = package_details or {} + def _setter(key, value): + package_details[key] = value + PrivateApplicationPackageDetailsArgs._configure(_setter, **package_details) if package_details is None and not opts.urn: raise TypeError("Missing required property 'package_details'") __props__.__dict__["package_details"] = package_details diff --git a/sdk/python/pulumi_oci/servicemanagerproxy/_inputs.py b/sdk/python/pulumi_oci/servicemanagerproxy/_inputs.py index 65ec2af5b3..2f06c8f670 100644 --- a/sdk/python/pulumi_oci/servicemanagerproxy/_inputs.py +++ b/sdk/python/pulumi_oci/servicemanagerproxy/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -19,10 +19,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetServiceEnvironmentsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/servicemanagerproxy/get_service_environment.py b/sdk/python/pulumi_oci/servicemanagerproxy/get_service_environment.py index 9fcc8523b2..e86c27eb93 100644 --- a/sdk/python/pulumi_oci/servicemanagerproxy/get_service_environment.py +++ b/sdk/python/pulumi_oci/servicemanagerproxy/get_service_environment.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/servicemanagerproxy/get_service_environments.py b/sdk/python/pulumi_oci/servicemanagerproxy/get_service_environments.py index ca84d29d8e..008e565505 100644 --- a/sdk/python/pulumi_oci/servicemanagerproxy/get_service_environments.py +++ b/sdk/python/pulumi_oci/servicemanagerproxy/get_service_environments.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/servicemanagerproxy/outputs.py b/sdk/python/pulumi_oci/servicemanagerproxy/outputs.py index f6988f67b1..c2d40df882 100644 --- a/sdk/python/pulumi_oci/servicemanagerproxy/outputs.py +++ b/sdk/python/pulumi_oci/servicemanagerproxy/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -31,9 +31,22 @@ def __init__(__self__, *, :param str short_display_name: Short display name of the service. For example, "Retail Order Management". :param str type: The service definition type. For example, a service definition type "RGBUOROMS" would be for the service "Oracle Retail Order Management Cloud Service". """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "short_display_name", short_display_name) - pulumi.set(__self__, "type", type) + GetServiceEnvironmentServiceDefinitionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + short_display_name=short_display_name, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + short_display_name: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("short_display_name", short_display_name) + _setter("type", type) @property @pulumi.getter(name="displayName") @@ -71,9 +84,22 @@ def __init__(__self__, *, :param str environment_type: Service environment endpoint type. :param str url: Service environment instance URL. """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "environment_type", environment_type) - pulumi.set(__self__, "url", url) + GetServiceEnvironmentServiceEnvironmentEndpointResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + environment_type=environment_type, + url=url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + environment_type: str, + url: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("environment_type", environment_type) + _setter("url", url) @property @pulumi.getter @@ -106,10 +132,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetServiceEnvironmentsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -131,7 +170,16 @@ def regex(self) -> Optional[bool]: class GetServiceEnvironmentsServiceEnvironmentCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetServiceEnvironmentsServiceEnvironmentCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetServiceEnvironmentsServiceEnvironmentCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetServiceEnvironmentsServiceEnvironmentCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -160,15 +208,40 @@ def __init__(__self__, *, :param str status: Status of the entitlement registration for the service. :param str subscription_id: The unique subscription ID associated with the service environment ID. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "console_url", console_url) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "service_definitions", service_definitions) - pulumi.set(__self__, "service_environment_endpoints", service_environment_endpoints) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "subscription_id", subscription_id) + GetServiceEnvironmentsServiceEnvironmentCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + console_url=console_url, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + id=id, + service_definitions=service_definitions, + service_environment_endpoints=service_environment_endpoints, + status=status, + subscription_id=subscription_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + console_url: str, + defined_tags: Mapping[str, Any], + freeform_tags: Mapping[str, Any], + id: str, + service_definitions: Sequence['outputs.GetServiceEnvironmentsServiceEnvironmentCollectionItemServiceDefinitionResult'], + service_environment_endpoints: Sequence['outputs.GetServiceEnvironmentsServiceEnvironmentCollectionItemServiceEnvironmentEndpointResult'], + status: str, + subscription_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("console_url", console_url) + _setter("defined_tags", defined_tags) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("service_definitions", service_definitions) + _setter("service_environment_endpoints", service_environment_endpoints) + _setter("status", status) + _setter("subscription_id", subscription_id) @property @pulumi.getter(name="compartmentId") @@ -248,9 +321,22 @@ def __init__(__self__, *, :param str short_display_name: Short display name of the service. For example, "Retail Order Management". :param str type: The service definition type. For example, a service definition type "RGBUOROMS" would be for the service "Oracle Retail Order Management Cloud Service". """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "short_display_name", short_display_name) - pulumi.set(__self__, "type", type) + GetServiceEnvironmentsServiceEnvironmentCollectionItemServiceDefinitionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + short_display_name=short_display_name, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + short_display_name: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("short_display_name", short_display_name) + _setter("type", type) @property @pulumi.getter(name="displayName") @@ -288,9 +374,22 @@ def __init__(__self__, *, :param str environment_type: Service environment endpoint type. :param str url: Service environment instance URL. """ - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "environment_type", environment_type) - pulumi.set(__self__, "url", url) + GetServiceEnvironmentsServiceEnvironmentCollectionItemServiceEnvironmentEndpointResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + description=description, + environment_type=environment_type, + url=url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + description: str, + environment_type: str, + url: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("description", description) + _setter("environment_type", environment_type) + _setter("url", url) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/servicemesh/_inputs.py b/sdk/python/pulumi_oci/servicemesh/_inputs.py index 494d1b44a6..41cb7b18a5 100644 --- a/sdk/python/pulumi_oci/servicemesh/_inputs.py +++ b/sdk/python/pulumi_oci/servicemesh/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -53,9 +53,22 @@ def __init__(__self__, *, :param pulumi.Input['AccessPolicyRuleDestinationArgs'] destination: (Updatable) Target of the access policy. This can either be the source or the destination of the traffic. :param pulumi.Input['AccessPolicyRuleSourceArgs'] source: (Updatable) Target of the access policy. This can either be the source or the destination of the traffic. """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "destination", destination) - pulumi.set(__self__, "source", source) + AccessPolicyRuleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + destination=destination, + source=source, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: pulumi.Input[str], + destination: pulumi.Input['AccessPolicyRuleDestinationArgs'], + source: pulumi.Input['AccessPolicyRuleSourceArgs'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("destination", destination) + _setter("source", source) @property @pulumi.getter @@ -117,19 +130,40 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "type", type) + AccessPolicyRuleDestinationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + hostnames=hostnames, + ingress_gateway_id=ingress_gateway_id, + ip_addresses=ip_addresses, + ports=ports, + protocol=protocol, + virtual_service_id=virtual_service_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + hostnames: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + ingress_gateway_id: Optional[pulumi.Input[str]] = None, + ip_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + ports: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None, + protocol: Optional[pulumi.Input[str]] = None, + virtual_service_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if hostnames is not None: - pulumi.set(__self__, "hostnames", hostnames) + _setter("hostnames", hostnames) if ingress_gateway_id is not None: - pulumi.set(__self__, "ingress_gateway_id", ingress_gateway_id) + _setter("ingress_gateway_id", ingress_gateway_id) if ip_addresses is not None: - pulumi.set(__self__, "ip_addresses", ip_addresses) + _setter("ip_addresses", ip_addresses) if ports is not None: - pulumi.set(__self__, "ports", ports) + _setter("ports", ports) if protocol is not None: - pulumi.set(__self__, "protocol", protocol) + _setter("protocol", protocol) if virtual_service_id is not None: - pulumi.set(__self__, "virtual_service_id", virtual_service_id) + _setter("virtual_service_id", virtual_service_id) @property @pulumi.getter @@ -243,19 +277,40 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "type", type) + AccessPolicyRuleSourceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + hostnames=hostnames, + ingress_gateway_id=ingress_gateway_id, + ip_addresses=ip_addresses, + ports=ports, + protocol=protocol, + virtual_service_id=virtual_service_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + hostnames: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + ingress_gateway_id: Optional[pulumi.Input[str]] = None, + ip_addresses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + ports: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None, + protocol: Optional[pulumi.Input[str]] = None, + virtual_service_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if hostnames is not None: - pulumi.set(__self__, "hostnames", hostnames) + _setter("hostnames", hostnames) if ingress_gateway_id is not None: - pulumi.set(__self__, "ingress_gateway_id", ingress_gateway_id) + _setter("ingress_gateway_id", ingress_gateway_id) if ip_addresses is not None: - pulumi.set(__self__, "ip_addresses", ip_addresses) + _setter("ip_addresses", ip_addresses) if ports is not None: - pulumi.set(__self__, "ports", ports) + _setter("ports", ports) if protocol is not None: - pulumi.set(__self__, "protocol", protocol) + _setter("protocol", protocol) if virtual_service_id is not None: - pulumi.set(__self__, "virtual_service_id", virtual_service_id) + _setter("virtual_service_id", virtual_service_id) @property @pulumi.getter @@ -353,8 +408,17 @@ def __init__(__self__, *, """ :param pulumi.Input[bool] is_enabled: (Updatable) Determines if the logging configuration is enabled. """ + IngressGatewayAccessLoggingArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) @property @pulumi.getter(name="isEnabled") @@ -384,10 +448,23 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[Sequence[pulumi.Input[str]]] hostnames: (Updatable) Hostnames of the host. Applicable only for HTTP and TLS_PASSTHROUGH listeners. Wildcard hostnames are supported in the prefix form. Examples of valid hostnames are "www.example.com", "*.example.com", "*.com". """ - pulumi.set(__self__, "listeners", listeners) - pulumi.set(__self__, "name", name) + IngressGatewayHostArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + listeners=listeners, + name=name, + hostnames=hostnames, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + listeners: pulumi.Input[Sequence[pulumi.Input['IngressGatewayHostListenerArgs']]], + name: pulumi.Input[str], + hostnames: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("listeners", listeners) + _setter("name", name) if hostnames is not None: - pulumi.set(__self__, "hostnames", hostnames) + _setter("hostnames", hostnames) @property @pulumi.getter @@ -441,10 +518,23 @@ def __init__(__self__, *, :param pulumi.Input[str] protocol: (Updatable) Type of protocol used. :param pulumi.Input['IngressGatewayHostListenerTlsArgs'] tls: (Updatable) TLS enforcement config for the ingress listener. """ - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "protocol", protocol) + IngressGatewayHostListenerArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + port=port, + protocol=protocol, + tls=tls, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + port: pulumi.Input[int], + protocol: pulumi.Input[str], + tls: Optional[pulumi.Input['IngressGatewayHostListenerTlsArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("port", port) + _setter("protocol", protocol) if tls is not None: - pulumi.set(__self__, "tls", tls) + _setter("tls", tls) @property @pulumi.getter @@ -494,11 +584,24 @@ def __init__(__self__, *, :param pulumi.Input['IngressGatewayHostListenerTlsClientValidationArgs'] client_validation: (Updatable) Resource representing the TLS configuration used for validating client certificates. :param pulumi.Input['IngressGatewayHostListenerTlsServerCertificateArgs'] server_certificate: (Updatable) Resource representing the location of the TLS certificate. """ - pulumi.set(__self__, "mode", mode) + IngressGatewayHostListenerTlsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + mode=mode, + client_validation=client_validation, + server_certificate=server_certificate, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + mode: pulumi.Input[str], + client_validation: Optional[pulumi.Input['IngressGatewayHostListenerTlsClientValidationArgs']] = None, + server_certificate: Optional[pulumi.Input['IngressGatewayHostListenerTlsServerCertificateArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("mode", mode) if client_validation is not None: - pulumi.set(__self__, "client_validation", client_validation) + _setter("client_validation", client_validation) if server_certificate is not None: - pulumi.set(__self__, "server_certificate", server_certificate) + _setter("server_certificate", server_certificate) @property @pulumi.getter @@ -546,10 +649,21 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] subject_alternate_names: (Updatable) A list of alternate names to verify the subject identity in the certificate presented by the client. :param pulumi.Input['IngressGatewayHostListenerTlsClientValidationTrustedCaBundleArgs'] trusted_ca_bundle: (Updatable) Resource representing the CA bundle. """ + IngressGatewayHostListenerTlsClientValidationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + subject_alternate_names=subject_alternate_names, + trusted_ca_bundle=trusted_ca_bundle, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + subject_alternate_names: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + trusted_ca_bundle: Optional[pulumi.Input['IngressGatewayHostListenerTlsClientValidationTrustedCaBundleArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if subject_alternate_names is not None: - pulumi.set(__self__, "subject_alternate_names", subject_alternate_names) + _setter("subject_alternate_names", subject_alternate_names) if trusted_ca_bundle is not None: - pulumi.set(__self__, "trusted_ca_bundle", trusted_ca_bundle) + _setter("trusted_ca_bundle", trusted_ca_bundle) @property @pulumi.getter(name="subjectAlternateNames") @@ -587,11 +701,24 @@ def __init__(__self__, *, :param pulumi.Input[str] ca_bundle_id: (Updatable) The OCID of the CA Bundle resource. :param pulumi.Input[str] secret_name: (Updatable) Name of the secret. For Kubernetes this is the name of the Kubernetes secret of type tls. For other platforms the secrets must be mounted at: /etc/oci/secrets/${secretName}/tls.{key,crt} """ - pulumi.set(__self__, "type", type) + IngressGatewayHostListenerTlsClientValidationTrustedCaBundleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + ca_bundle_id=ca_bundle_id, + secret_name=secret_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + ca_bundle_id: Optional[pulumi.Input[str]] = None, + secret_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if ca_bundle_id is not None: - pulumi.set(__self__, "ca_bundle_id", ca_bundle_id) + _setter("ca_bundle_id", ca_bundle_id) if secret_name is not None: - pulumi.set(__self__, "secret_name", secret_name) + _setter("secret_name", secret_name) @property @pulumi.getter @@ -641,11 +768,24 @@ def __init__(__self__, *, :param pulumi.Input[str] certificate_id: (Updatable) The OCID of the leaf certificate resource. :param pulumi.Input[str] secret_name: (Updatable) Name of the secret. For Kubernetes this is the name of the Kubernetes secret of type tls. For other platforms the secrets must be mounted at: /etc/oci/secrets/${secretName}/tls.{key,crt} """ - pulumi.set(__self__, "type", type) + IngressGatewayHostListenerTlsServerCertificateArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + certificate_id=certificate_id, + secret_name=secret_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + certificate_id: Optional[pulumi.Input[str]] = None, + secret_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if certificate_id is not None: - pulumi.set(__self__, "certificate_id", certificate_id) + _setter("certificate_id", certificate_id) if secret_name is not None: - pulumi.set(__self__, "secret_name", secret_name) + _setter("secret_name", secret_name) @property @pulumi.getter @@ -693,10 +833,21 @@ def __init__(__self__, *, :param pulumi.Input[str] certificate_id: (Updatable) The OCID of the leaf certificate resource. :param pulumi.Input[int] maximum_validity: (Updatable) The number of days the mTLS certificate is valid. This value should be less than the Maximum Validity Duration for Certificates (Days) setting on the Certificate Authority associated with this Mesh. The certificate will be automatically renewed after 2/3 of the validity period, so a certificate with a maximum validity of 45 days will be renewed every 30 days. """ + IngressGatewayMtlsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + certificate_id=certificate_id, + maximum_validity=maximum_validity, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + certificate_id: Optional[pulumi.Input[str]] = None, + maximum_validity: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if certificate_id is not None: - pulumi.set(__self__, "certificate_id", certificate_id) + _setter("certificate_id", certificate_id) if maximum_validity is not None: - pulumi.set(__self__, "maximum_validity", maximum_validity) + _setter("maximum_validity", maximum_validity) @property @pulumi.getter(name="certificateId") @@ -750,22 +901,47 @@ def __init__(__self__, *, :param pulumi.Input[str] path_type: (Updatable) Match type for the route :param pulumi.Input[str] request_timeout_in_ms: (Updatable) The maximum duration in milliseconds for the upstream service to respond to a request. If provided, the timeout value overrides the default timeout of 15 seconds for the HTTP based route rules, and disabled (no timeout) when 'isGrpc' is true. The value 0 (zero) indicates that the timeout is disabled. For streaming responses from the upstream service, consider either keeping the timeout disabled or set a sufficiently high value. """ - pulumi.set(__self__, "destinations", destinations) - pulumi.set(__self__, "type", type) + IngressGatewayRouteTableRouteRuleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + destinations=destinations, + type=type, + ingress_gateway_host=ingress_gateway_host, + is_grpc=is_grpc, + is_host_rewrite_enabled=is_host_rewrite_enabled, + is_path_rewrite_enabled=is_path_rewrite_enabled, + path=path, + path_type=path_type, + request_timeout_in_ms=request_timeout_in_ms, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + destinations: pulumi.Input[Sequence[pulumi.Input['IngressGatewayRouteTableRouteRuleDestinationArgs']]], + type: pulumi.Input[str], + ingress_gateway_host: Optional[pulumi.Input['IngressGatewayRouteTableRouteRuleIngressGatewayHostArgs']] = None, + is_grpc: Optional[pulumi.Input[bool]] = None, + is_host_rewrite_enabled: Optional[pulumi.Input[bool]] = None, + is_path_rewrite_enabled: Optional[pulumi.Input[bool]] = None, + path: Optional[pulumi.Input[str]] = None, + path_type: Optional[pulumi.Input[str]] = None, + request_timeout_in_ms: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("destinations", destinations) + _setter("type", type) if ingress_gateway_host is not None: - pulumi.set(__self__, "ingress_gateway_host", ingress_gateway_host) + _setter("ingress_gateway_host", ingress_gateway_host) if is_grpc is not None: - pulumi.set(__self__, "is_grpc", is_grpc) + _setter("is_grpc", is_grpc) if is_host_rewrite_enabled is not None: - pulumi.set(__self__, "is_host_rewrite_enabled", is_host_rewrite_enabled) + _setter("is_host_rewrite_enabled", is_host_rewrite_enabled) if is_path_rewrite_enabled is not None: - pulumi.set(__self__, "is_path_rewrite_enabled", is_path_rewrite_enabled) + _setter("is_path_rewrite_enabled", is_path_rewrite_enabled) if path is not None: - pulumi.set(__self__, "path", path) + _setter("path", path) if path_type is not None: - pulumi.set(__self__, "path_type", path_type) + _setter("path_type", path_type) if request_timeout_in_ms is not None: - pulumi.set(__self__, "request_timeout_in_ms", request_timeout_in_ms) + _setter("request_timeout_in_ms", request_timeout_in_ms) @property @pulumi.getter @@ -891,11 +1067,24 @@ def __init__(__self__, *, :param pulumi.Input[int] port: (Updatable) The port of the ingress gateway host listener. Leave empty to match all ports for the host. :param pulumi.Input[int] weight: (Updatable) Weight of traffic target. """ - pulumi.set(__self__, "virtual_service_id", virtual_service_id) + IngressGatewayRouteTableRouteRuleDestinationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + virtual_service_id=virtual_service_id, + port=port, + weight=weight, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + virtual_service_id: pulumi.Input[str], + port: Optional[pulumi.Input[int]] = None, + weight: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("virtual_service_id", virtual_service_id) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if weight is not None: - pulumi.set(__self__, "weight", weight) + _setter("weight", weight) @property @pulumi.getter(name="virtualServiceId") @@ -943,9 +1132,20 @@ def __init__(__self__, *, :param pulumi.Input[str] name: (Updatable) Name of the ingress gateway host that this route should apply to. :param pulumi.Input[int] port: (Updatable) The port of the ingress gateway host listener. Leave empty to match all ports for the host. """ - pulumi.set(__self__, "name", name) + IngressGatewayRouteTableRouteRuleIngressGatewayHostArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + port=port, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: pulumi.Input[str], + port: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) @property @pulumi.getter @@ -979,7 +1179,16 @@ def __init__(__self__, *, """ :param pulumi.Input[str] id: The OCID of the certificate authority resource. """ - pulumi.set(__self__, "id", id) + MeshCertificateAuthorityArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) @property @pulumi.getter @@ -1005,7 +1214,16 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "minimum", minimum) + MeshMtlsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + minimum=minimum, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + minimum: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("minimum", minimum) @property @pulumi.getter @@ -1031,8 +1249,17 @@ def __init__(__self__, *, """ :param pulumi.Input[bool] is_enabled: (Updatable) Determines if the logging configuration is enabled. """ + VirtualDeploymentAccessLoggingArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) @property @pulumi.getter(name="isEnabled") @@ -1060,12 +1287,27 @@ def __init__(__self__, *, :param pulumi.Input[str] idle_timeout_in_ms: (Updatable) The maximum duration in milliseconds for which the request's stream may be idle. The value 0 (zero) indicates that the timeout is disabled. :param pulumi.Input[str] request_timeout_in_ms: (Updatable) The maximum duration in milliseconds for the deployed service to respond to an incoming request through the listener. If provided, the timeout value overrides the default timeout of 15 seconds for the HTTP/HTTP2 listeners, and disabled (no timeout) for the GRPC listeners. The value 0 (zero) indicates that the timeout is disabled. The timeout cannot be configured for the TCP and TLS_PASSTHROUGH listeners. For streaming responses from the deployed service, consider either keeping the timeout disabled or set a sufficiently high value. """ - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "protocol", protocol) + VirtualDeploymentListenerArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + port=port, + protocol=protocol, + idle_timeout_in_ms=idle_timeout_in_ms, + request_timeout_in_ms=request_timeout_in_ms, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + port: pulumi.Input[int], + protocol: pulumi.Input[str], + idle_timeout_in_ms: Optional[pulumi.Input[str]] = None, + request_timeout_in_ms: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("port", port) + _setter("protocol", protocol) if idle_timeout_in_ms is not None: - pulumi.set(__self__, "idle_timeout_in_ms", idle_timeout_in_ms) + _setter("idle_timeout_in_ms", idle_timeout_in_ms) if request_timeout_in_ms is not None: - pulumi.set(__self__, "request_timeout_in_ms", request_timeout_in_ms) + _setter("request_timeout_in_ms", request_timeout_in_ms) @property @pulumi.getter @@ -1125,9 +1367,20 @@ def __init__(__self__, *, :param pulumi.Input[str] type: (Updatable) Type of service discovery. :param pulumi.Input[str] hostname: (Updatable) The hostname of the virtual deployments. """ - pulumi.set(__self__, "type", type) + VirtualDeploymentServiceDiscoveryArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + hostname=hostname, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + hostname: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if hostname is not None: - pulumi.set(__self__, "hostname", hostname) + _setter("hostname", hostname) @property @pulumi.getter @@ -1161,7 +1414,16 @@ def __init__(__self__, *, """ :param pulumi.Input[str] type: (Updatable) Type of the virtual service routing policy. """ - pulumi.set(__self__, "type", type) + VirtualServiceDefaultRoutingPolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) @property @pulumi.getter @@ -1187,11 +1449,24 @@ def __init__(__self__, *, :param pulumi.Input[str] certificate_id: The OCID of the certificate resource that will be used for mTLS authentication with other virtual services in the mesh. :param pulumi.Input[int] maximum_validity: (Updatable) The number of days the mTLS certificate is valid. This value should be less than the Maximum Validity Duration for Certificates (Days) setting on the Certificate Authority associated with this Mesh. The certificate will be automatically renewed after 2/3 of the validity period, so a certificate with a maximum validity of 45 days will be renewed every 30 days. """ - pulumi.set(__self__, "mode", mode) + VirtualServiceMtlsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + mode=mode, + certificate_id=certificate_id, + maximum_validity=maximum_validity, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + mode: pulumi.Input[str], + certificate_id: Optional[pulumi.Input[str]] = None, + maximum_validity: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("mode", mode) if certificate_id is not None: - pulumi.set(__self__, "certificate_id", certificate_id) + _setter("certificate_id", certificate_id) if maximum_validity is not None: - pulumi.set(__self__, "maximum_validity", maximum_validity) + _setter("maximum_validity", maximum_validity) @property @pulumi.getter @@ -1247,16 +1522,35 @@ def __init__(__self__, *, :param pulumi.Input[str] path_type: (Updatable) Match type for the route :param pulumi.Input[str] request_timeout_in_ms: (Updatable) The maximum duration in milliseconds for the target service to respond to a request. If provided, the timeout value overrides the default timeout of 15 seconds for the HTTP based route rules, and disabled (no timeout) when 'isGrpc' is true. The value 0 (zero) indicates that the timeout is disabled. For streaming responses from the target service, consider either keeping the timeout disabled or set a sufficiently high value. """ - pulumi.set(__self__, "destinations", destinations) - pulumi.set(__self__, "type", type) + VirtualServiceRouteTableRouteRuleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + destinations=destinations, + type=type, + is_grpc=is_grpc, + path=path, + path_type=path_type, + request_timeout_in_ms=request_timeout_in_ms, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + destinations: pulumi.Input[Sequence[pulumi.Input['VirtualServiceRouteTableRouteRuleDestinationArgs']]], + type: pulumi.Input[str], + is_grpc: Optional[pulumi.Input[bool]] = None, + path: Optional[pulumi.Input[str]] = None, + path_type: Optional[pulumi.Input[str]] = None, + request_timeout_in_ms: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("destinations", destinations) + _setter("type", type) if is_grpc is not None: - pulumi.set(__self__, "is_grpc", is_grpc) + _setter("is_grpc", is_grpc) if path is not None: - pulumi.set(__self__, "path", path) + _setter("path", path) if path_type is not None: - pulumi.set(__self__, "path_type", path_type) + _setter("path_type", path_type) if request_timeout_in_ms is not None: - pulumi.set(__self__, "request_timeout_in_ms", request_timeout_in_ms) + _setter("request_timeout_in_ms", request_timeout_in_ms) @property @pulumi.getter @@ -1342,10 +1636,23 @@ def __init__(__self__, *, :param pulumi.Input[int] weight: (Updatable) Weight of traffic target. :param pulumi.Input[int] port: (Updatable) Port on virtual deployment to target. If port is missing, the rule will target all ports on the virtual deployment. """ - pulumi.set(__self__, "virtual_deployment_id", virtual_deployment_id) - pulumi.set(__self__, "weight", weight) + VirtualServiceRouteTableRouteRuleDestinationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + virtual_deployment_id=virtual_deployment_id, + weight=weight, + port=port, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + virtual_deployment_id: pulumi.Input[str], + weight: pulumi.Input[int], + port: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("virtual_deployment_id", virtual_deployment_id) + _setter("weight", weight) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) @property @pulumi.getter(name="virtualDeploymentId") @@ -1393,10 +1700,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the entire name given. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAccessPoliciesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1438,10 +1758,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the entire name given. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetIngressGatewayRouteTablesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1483,10 +1816,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the entire name given. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetIngressGatewaysFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1525,10 +1871,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetMeshesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1567,10 +1926,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the entire name given. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVirtualDeploymentsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1612,10 +1984,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the entire name given. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVirtualServiceRouteTablesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1657,10 +2042,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the entire name given. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVirtualServicesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/servicemesh/access_policy.py b/sdk/python/pulumi_oci/servicemesh/access_policy.py index 78baea1a55..be35f84fb0 100644 --- a/sdk/python/pulumi_oci/servicemesh/access_policy.py +++ b/sdk/python/pulumi_oci/servicemesh/access_policy.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -33,17 +33,38 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` :param pulumi.Input[str] name: A user-friendly name. The name has to be unique within the same service mesh and cannot be changed after creation. Avoid entering confidential information. Example: `My unique resource name` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "mesh_id", mesh_id) - pulumi.set(__self__, "rules", rules) + AccessPolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + mesh_id=mesh_id, + rules=rules, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + mesh_id: pulumi.Input[str], + rules: pulumi.Input[Sequence[pulumi.Input['AccessPolicyRuleArgs']]], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("mesh_id", mesh_id) + _setter("rules", rules) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter(name="compartmentId") @@ -160,30 +181,61 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The time when this resource was created in an RFC3339 formatted datetime string. :param pulumi.Input[str] time_updated: The time when this resource was updated in an RFC3339 formatted datetime string. """ + _AccessPolicyState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + mesh_id=mesh_id, + name=name, + rules=rules, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + mesh_id: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + rules: Optional[pulumi.Input[Sequence[pulumi.Input['AccessPolicyRuleArgs']]]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if mesh_id is not None: - pulumi.set(__self__, "mesh_id", mesh_id) + _setter("mesh_id", mesh_id) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if rules is not None: - pulumi.set(__self__, "rules", rules) + _setter("rules", rules) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -473,6 +525,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + AccessPolicyArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/servicemesh/get_access_policies.py b/sdk/python/pulumi_oci/servicemesh/get_access_policies.py index 20bee584dc..b1353cfeb1 100644 --- a/sdk/python/pulumi_oci/servicemesh/get_access_policies.py +++ b/sdk/python/pulumi_oci/servicemesh/get_access_policies.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/servicemesh/get_access_policy.py b/sdk/python/pulumi_oci/servicemesh/get_access_policy.py index 6ebf731136..c371fa8b80 100644 --- a/sdk/python/pulumi_oci/servicemesh/get_access_policy.py +++ b/sdk/python/pulumi_oci/servicemesh/get_access_policy.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/servicemesh/get_ingress_gateway.py b/sdk/python/pulumi_oci/servicemesh/get_ingress_gateway.py index fb58179b45..64ab47b904 100644 --- a/sdk/python/pulumi_oci/servicemesh/get_ingress_gateway.py +++ b/sdk/python/pulumi_oci/servicemesh/get_ingress_gateway.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/servicemesh/get_ingress_gateway_route_table.py b/sdk/python/pulumi_oci/servicemesh/get_ingress_gateway_route_table.py index 534000aca9..3c1fd4d45d 100644 --- a/sdk/python/pulumi_oci/servicemesh/get_ingress_gateway_route_table.py +++ b/sdk/python/pulumi_oci/servicemesh/get_ingress_gateway_route_table.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/servicemesh/get_ingress_gateway_route_tables.py b/sdk/python/pulumi_oci/servicemesh/get_ingress_gateway_route_tables.py index 03fa4b34e6..e4a9f6baa0 100644 --- a/sdk/python/pulumi_oci/servicemesh/get_ingress_gateway_route_tables.py +++ b/sdk/python/pulumi_oci/servicemesh/get_ingress_gateway_route_tables.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/servicemesh/get_ingress_gateways.py b/sdk/python/pulumi_oci/servicemesh/get_ingress_gateways.py index fc5b88ad02..350ac1b52c 100644 --- a/sdk/python/pulumi_oci/servicemesh/get_ingress_gateways.py +++ b/sdk/python/pulumi_oci/servicemesh/get_ingress_gateways.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/servicemesh/get_mesh.py b/sdk/python/pulumi_oci/servicemesh/get_mesh.py index 20cddcaf89..722c4f262f 100644 --- a/sdk/python/pulumi_oci/servicemesh/get_mesh.py +++ b/sdk/python/pulumi_oci/servicemesh/get_mesh.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/servicemesh/get_meshes.py b/sdk/python/pulumi_oci/servicemesh/get_meshes.py index ca097fd430..4a194de397 100644 --- a/sdk/python/pulumi_oci/servicemesh/get_meshes.py +++ b/sdk/python/pulumi_oci/servicemesh/get_meshes.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/servicemesh/get_proxy_detail.py b/sdk/python/pulumi_oci/servicemesh/get_proxy_detail.py index 89147d7a07..75ee9e206c 100644 --- a/sdk/python/pulumi_oci/servicemesh/get_proxy_detail.py +++ b/sdk/python/pulumi_oci/servicemesh/get_proxy_detail.py @@ -6,13 +6,14 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ 'GetProxyDetailResult', 'AwaitableGetProxyDetailResult', 'get_proxy_detail', + 'get_proxy_detail_output', ] @pulumi.output_type @@ -77,3 +78,22 @@ def get_proxy_detail(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGe return AwaitableGetProxyDetailResult( id=pulumi.get(__ret__, 'id'), proxy_image=pulumi.get(__ret__, 'proxy_image')) + + +@_utilities.lift_output_func(get_proxy_detail) +def get_proxy_detail_output(opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetProxyDetailResult]: + """ + This data source provides details about a specific Proxy Detail resource in Oracle Cloud Infrastructure Service Mesh service. + + Returns the attributes of the Proxy such as proxy image version. + + ## Example Usage + + ```python + import pulumi + import pulumi_oci as oci + + test_proxy_detail = oci.ServiceMesh.get_proxy_detail() + ``` + """ + ... diff --git a/sdk/python/pulumi_oci/servicemesh/get_virtual_deployment.py b/sdk/python/pulumi_oci/servicemesh/get_virtual_deployment.py index c23b7c3931..e2f16ceb28 100644 --- a/sdk/python/pulumi_oci/servicemesh/get_virtual_deployment.py +++ b/sdk/python/pulumi_oci/servicemesh/get_virtual_deployment.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/servicemesh/get_virtual_deployments.py b/sdk/python/pulumi_oci/servicemesh/get_virtual_deployments.py index 603fbd95ac..f561c7bfa6 100644 --- a/sdk/python/pulumi_oci/servicemesh/get_virtual_deployments.py +++ b/sdk/python/pulumi_oci/servicemesh/get_virtual_deployments.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/servicemesh/get_virtual_service.py b/sdk/python/pulumi_oci/servicemesh/get_virtual_service.py index c02f8ea1a8..0e4b7be853 100644 --- a/sdk/python/pulumi_oci/servicemesh/get_virtual_service.py +++ b/sdk/python/pulumi_oci/servicemesh/get_virtual_service.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/servicemesh/get_virtual_service_route_table.py b/sdk/python/pulumi_oci/servicemesh/get_virtual_service_route_table.py index b41b1caa5e..01037cfadc 100644 --- a/sdk/python/pulumi_oci/servicemesh/get_virtual_service_route_table.py +++ b/sdk/python/pulumi_oci/servicemesh/get_virtual_service_route_table.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/servicemesh/get_virtual_service_route_tables.py b/sdk/python/pulumi_oci/servicemesh/get_virtual_service_route_tables.py index 0e5a865fa6..c9f1202084 100644 --- a/sdk/python/pulumi_oci/servicemesh/get_virtual_service_route_tables.py +++ b/sdk/python/pulumi_oci/servicemesh/get_virtual_service_route_tables.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/servicemesh/get_virtual_services.py b/sdk/python/pulumi_oci/servicemesh/get_virtual_services.py index 2c508f3fe0..220cf17149 100644 --- a/sdk/python/pulumi_oci/servicemesh/get_virtual_services.py +++ b/sdk/python/pulumi_oci/servicemesh/get_virtual_services.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/servicemesh/ingress_gateway.py b/sdk/python/pulumi_oci/servicemesh/ingress_gateway.py index cc45fb543d..4d2de832c7 100644 --- a/sdk/python/pulumi_oci/servicemesh/ingress_gateway.py +++ b/sdk/python/pulumi_oci/servicemesh/ingress_gateway.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -41,21 +41,46 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "hosts", hosts) - pulumi.set(__self__, "mesh_id", mesh_id) + IngressGatewayArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + hosts=hosts, + mesh_id=mesh_id, + access_logging=access_logging, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + mtls=mtls, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + hosts: pulumi.Input[Sequence[pulumi.Input['IngressGatewayHostArgs']]], + mesh_id: pulumi.Input[str], + access_logging: Optional[pulumi.Input['IngressGatewayAccessLoggingArgs']] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + mtls: Optional[pulumi.Input['IngressGatewayMtlsArgs']] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("hosts", hosts) + _setter("mesh_id", mesh_id) if access_logging is not None: - pulumi.set(__self__, "access_logging", access_logging) + _setter("access_logging", access_logging) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if mtls is not None: - pulumi.set(__self__, "mtls", mtls) + _setter("mtls", mtls) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter(name="compartmentId") @@ -208,34 +233,69 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The time when this resource was created in an RFC3339 formatted datetime string. :param pulumi.Input[str] time_updated: The time when this resource was updated in an RFC3339 formatted datetime string. """ + _IngressGatewayState._configure( + lambda key, value: pulumi.set(__self__, key, value), + access_logging=access_logging, + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + hosts=hosts, + lifecycle_details=lifecycle_details, + mesh_id=mesh_id, + mtls=mtls, + name=name, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access_logging: Optional[pulumi.Input['IngressGatewayAccessLoggingArgs']] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + hosts: Optional[pulumi.Input[Sequence[pulumi.Input['IngressGatewayHostArgs']]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + mesh_id: Optional[pulumi.Input[str]] = None, + mtls: Optional[pulumi.Input['IngressGatewayMtlsArgs']] = None, + name: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if access_logging is not None: - pulumi.set(__self__, "access_logging", access_logging) + _setter("access_logging", access_logging) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if hosts is not None: - pulumi.set(__self__, "hosts", hosts) + _setter("hosts", hosts) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if mesh_id is not None: - pulumi.set(__self__, "mesh_id", mesh_id) + _setter("mesh_id", mesh_id) if mtls is not None: - pulumi.set(__self__, "mtls", mtls) + _setter("mtls", mtls) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="accessLogging") @@ -579,6 +639,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + IngressGatewayArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -602,6 +666,11 @@ def _internal_init(__self__, raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = IngressGatewayArgs.__new__(IngressGatewayArgs) + if access_logging is not None and not isinstance(access_logging, IngressGatewayAccessLoggingArgs): + access_logging = access_logging or {} + def _setter(key, value): + access_logging[key] = value + IngressGatewayAccessLoggingArgs._configure(_setter, **access_logging) __props__.__dict__["access_logging"] = access_logging if compartment_id is None and not opts.urn: raise TypeError("Missing required property 'compartment_id'") @@ -615,6 +684,11 @@ def _internal_init(__self__, if mesh_id is None and not opts.urn: raise TypeError("Missing required property 'mesh_id'") __props__.__dict__["mesh_id"] = mesh_id + if mtls is not None and not isinstance(mtls, IngressGatewayMtlsArgs): + mtls = mtls or {} + def _setter(key, value): + mtls[key] = value + IngressGatewayMtlsArgs._configure(_setter, **mtls) __props__.__dict__["mtls"] = mtls __props__.__dict__["name"] = name __props__.__dict__["lifecycle_details"] = None diff --git a/sdk/python/pulumi_oci/servicemesh/ingress_gateway_route_table.py b/sdk/python/pulumi_oci/servicemesh/ingress_gateway_route_table.py index 43edd1238d..3dbb0cdd08 100644 --- a/sdk/python/pulumi_oci/servicemesh/ingress_gateway_route_table.py +++ b/sdk/python/pulumi_oci/servicemesh/ingress_gateway_route_table.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -35,19 +35,42 @@ def __init__(__self__, *, :param pulumi.Input[str] name: (Updatable) Name of the ingress gateway host that this route should apply to. :param pulumi.Input[int] priority: (Updatable) The priority of the route table. Lower value means higher priority. The routes are declared based on the priority. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "ingress_gateway_id", ingress_gateway_id) - pulumi.set(__self__, "route_rules", route_rules) + IngressGatewayRouteTableArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + ingress_gateway_id=ingress_gateway_id, + route_rules=route_rules, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + name=name, + priority=priority, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + ingress_gateway_id: pulumi.Input[str], + route_rules: pulumi.Input[Sequence[pulumi.Input['IngressGatewayRouteTableRouteRuleArgs']]], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + name: Optional[pulumi.Input[str]] = None, + priority: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("ingress_gateway_id", ingress_gateway_id) + _setter("route_rules", route_rules) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if priority is not None: - pulumi.set(__self__, "priority", priority) + _setter("priority", priority) @property @pulumi.getter(name="compartmentId") @@ -178,32 +201,65 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The time when this resource was created in an RFC3339 formatted datetime string. :param pulumi.Input[str] time_updated: The time when this resource was updated in an RFC3339 formatted datetime string. """ + _IngressGatewayRouteTableState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + ingress_gateway_id=ingress_gateway_id, + lifecycle_details=lifecycle_details, + name=name, + priority=priority, + route_rules=route_rules, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + ingress_gateway_id: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + priority: Optional[pulumi.Input[int]] = None, + route_rules: Optional[pulumi.Input[Sequence[pulumi.Input['IngressGatewayRouteTableRouteRuleArgs']]]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if ingress_gateway_id is not None: - pulumi.set(__self__, "ingress_gateway_id", ingress_gateway_id) + _setter("ingress_gateway_id", ingress_gateway_id) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if priority is not None: - pulumi.set(__self__, "priority", priority) + _setter("priority", priority) if route_rules is not None: - pulumi.set(__self__, "route_rules", route_rules) + _setter("route_rules", route_rules) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -503,6 +559,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + IngressGatewayRouteTableArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/servicemesh/mesh.py b/sdk/python/pulumi_oci/servicemesh/mesh.py index 0f74dfb0c2..01551e9a28 100644 --- a/sdk/python/pulumi_oci/servicemesh/mesh.py +++ b/sdk/python/pulumi_oci/servicemesh/mesh.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -33,17 +33,38 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` :param pulumi.Input['MeshMtlsArgs'] mtls: (Updatable) Sets a minimum level of mTLS authentication for all virtual services within the mesh. """ - pulumi.set(__self__, "certificate_authorities", certificate_authorities) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) + MeshArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + certificate_authorities=certificate_authorities, + compartment_id=compartment_id, + display_name=display_name, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + mtls=mtls, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + certificate_authorities: pulumi.Input[Sequence[pulumi.Input['MeshCertificateAuthorityArgs']]], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + mtls: Optional[pulumi.Input['MeshMtlsArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("certificate_authorities", certificate_authorities) + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if mtls is not None: - pulumi.set(__self__, "mtls", mtls) + _setter("mtls", mtls) @property @pulumi.getter(name="certificateAuthorities") @@ -160,30 +181,61 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The time when this resource was created in an RFC3339 formatted datetime string. :param pulumi.Input[str] time_updated: The time when this resource was updated in an RFC3339 formatted datetime string. """ + _MeshState._configure( + lambda key, value: pulumi.set(__self__, key, value), + certificate_authorities=certificate_authorities, + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + mtls=mtls, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + certificate_authorities: Optional[pulumi.Input[Sequence[pulumi.Input['MeshCertificateAuthorityArgs']]]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + mtls: Optional[pulumi.Input['MeshMtlsArgs']] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if certificate_authorities is not None: - pulumi.set(__self__, "certificate_authorities", certificate_authorities) + _setter("certificate_authorities", certificate_authorities) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if mtls is not None: - pulumi.set(__self__, "mtls", mtls) + _setter("mtls", mtls) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="certificateAuthorities") @@ -443,6 +495,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + MeshArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -476,6 +532,11 @@ def _internal_init(__self__, raise TypeError("Missing required property 'display_name'") __props__.__dict__["display_name"] = display_name __props__.__dict__["freeform_tags"] = freeform_tags + if mtls is not None and not isinstance(mtls, MeshMtlsArgs): + mtls = mtls or {} + def _setter(key, value): + mtls[key] = value + MeshMtlsArgs._configure(_setter, **mtls) __props__.__dict__["mtls"] = mtls __props__.__dict__["lifecycle_details"] = None __props__.__dict__["state"] = None diff --git a/sdk/python/pulumi_oci/servicemesh/outputs.py b/sdk/python/pulumi_oci/servicemesh/outputs.py index 7562f112a2..4e916d3183 100644 --- a/sdk/python/pulumi_oci/servicemesh/outputs.py +++ b/sdk/python/pulumi_oci/servicemesh/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -114,9 +114,22 @@ def __init__(__self__, *, :param 'AccessPolicyRuleDestinationArgs' destination: (Updatable) Target of the access policy. This can either be the source or the destination of the traffic. :param 'AccessPolicyRuleSourceArgs' source: (Updatable) Target of the access policy. This can either be the source or the destination of the traffic. """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "destination", destination) - pulumi.set(__self__, "source", source) + AccessPolicyRule._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + destination=destination, + source=source, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: str, + destination: 'outputs.AccessPolicyRuleDestination', + source: 'outputs.AccessPolicyRuleSource', + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("destination", destination) + _setter("source", source) @property @pulumi.getter @@ -187,19 +200,40 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "type", type) + AccessPolicyRuleDestination._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + hostnames=hostnames, + ingress_gateway_id=ingress_gateway_id, + ip_addresses=ip_addresses, + ports=ports, + protocol=protocol, + virtual_service_id=virtual_service_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + hostnames: Optional[Sequence[str]] = None, + ingress_gateway_id: Optional[str] = None, + ip_addresses: Optional[Sequence[str]] = None, + ports: Optional[Sequence[int]] = None, + protocol: Optional[str] = None, + virtual_service_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if hostnames is not None: - pulumi.set(__self__, "hostnames", hostnames) + _setter("hostnames", hostnames) if ingress_gateway_id is not None: - pulumi.set(__self__, "ingress_gateway_id", ingress_gateway_id) + _setter("ingress_gateway_id", ingress_gateway_id) if ip_addresses is not None: - pulumi.set(__self__, "ip_addresses", ip_addresses) + _setter("ip_addresses", ip_addresses) if ports is not None: - pulumi.set(__self__, "ports", ports) + _setter("ports", ports) if protocol is not None: - pulumi.set(__self__, "protocol", protocol) + _setter("protocol", protocol) if virtual_service_id is not None: - pulumi.set(__self__, "virtual_service_id", virtual_service_id) + _setter("virtual_service_id", virtual_service_id) @property @pulumi.getter @@ -306,19 +340,40 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "type", type) + AccessPolicyRuleSource._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + hostnames=hostnames, + ingress_gateway_id=ingress_gateway_id, + ip_addresses=ip_addresses, + ports=ports, + protocol=protocol, + virtual_service_id=virtual_service_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + hostnames: Optional[Sequence[str]] = None, + ingress_gateway_id: Optional[str] = None, + ip_addresses: Optional[Sequence[str]] = None, + ports: Optional[Sequence[int]] = None, + protocol: Optional[str] = None, + virtual_service_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if hostnames is not None: - pulumi.set(__self__, "hostnames", hostnames) + _setter("hostnames", hostnames) if ingress_gateway_id is not None: - pulumi.set(__self__, "ingress_gateway_id", ingress_gateway_id) + _setter("ingress_gateway_id", ingress_gateway_id) if ip_addresses is not None: - pulumi.set(__self__, "ip_addresses", ip_addresses) + _setter("ip_addresses", ip_addresses) if ports is not None: - pulumi.set(__self__, "ports", ports) + _setter("ports", ports) if protocol is not None: - pulumi.set(__self__, "protocol", protocol) + _setter("protocol", protocol) if virtual_service_id is not None: - pulumi.set(__self__, "virtual_service_id", virtual_service_id) + _setter("virtual_service_id", virtual_service_id) @property @pulumi.getter @@ -405,8 +460,17 @@ def __init__(__self__, *, """ :param bool is_enabled: (Updatable) Determines if the logging configuration is enabled. """ + IngressGatewayAccessLogging._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) @property @pulumi.getter(name="isEnabled") @@ -432,10 +496,23 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param Sequence[str] hostnames: (Updatable) Hostnames of the host. Applicable only for HTTP and TLS_PASSTHROUGH listeners. Wildcard hostnames are supported in the prefix form. Examples of valid hostnames are "www.example.com", "*.example.com", "*.com". """ - pulumi.set(__self__, "listeners", listeners) - pulumi.set(__self__, "name", name) + IngressGatewayHost._configure( + lambda key, value: pulumi.set(__self__, key, value), + listeners=listeners, + name=name, + hostnames=hostnames, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + listeners: Sequence['outputs.IngressGatewayHostListener'], + name: str, + hostnames: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("listeners", listeners) + _setter("name", name) if hostnames is not None: - pulumi.set(__self__, "hostnames", hostnames) + _setter("hostnames", hostnames) @property @pulumi.getter @@ -477,10 +554,23 @@ def __init__(__self__, *, :param str protocol: (Updatable) Type of protocol used. :param 'IngressGatewayHostListenerTlsArgs' tls: (Updatable) TLS enforcement config for the ingress listener. """ - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "protocol", protocol) + IngressGatewayHostListener._configure( + lambda key, value: pulumi.set(__self__, key, value), + port=port, + protocol=protocol, + tls=tls, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + port: int, + protocol: str, + tls: Optional['outputs.IngressGatewayHostListenerTls'] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("port", port) + _setter("protocol", protocol) if tls is not None: - pulumi.set(__self__, "tls", tls) + _setter("tls", tls) @property @pulumi.getter @@ -537,11 +627,24 @@ def __init__(__self__, *, :param 'IngressGatewayHostListenerTlsClientValidationArgs' client_validation: (Updatable) Resource representing the TLS configuration used for validating client certificates. :param 'IngressGatewayHostListenerTlsServerCertificateArgs' server_certificate: (Updatable) Resource representing the location of the TLS certificate. """ - pulumi.set(__self__, "mode", mode) + IngressGatewayHostListenerTls._configure( + lambda key, value: pulumi.set(__self__, key, value), + mode=mode, + client_validation=client_validation, + server_certificate=server_certificate, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + mode: str, + client_validation: Optional['outputs.IngressGatewayHostListenerTlsClientValidation'] = None, + server_certificate: Optional['outputs.IngressGatewayHostListenerTlsServerCertificate'] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("mode", mode) if client_validation is not None: - pulumi.set(__self__, "client_validation", client_validation) + _setter("client_validation", client_validation) if server_certificate is not None: - pulumi.set(__self__, "server_certificate", server_certificate) + _setter("server_certificate", server_certificate) @property @pulumi.getter @@ -596,10 +699,21 @@ def __init__(__self__, *, :param Sequence[str] subject_alternate_names: (Updatable) A list of alternate names to verify the subject identity in the certificate presented by the client. :param 'IngressGatewayHostListenerTlsClientValidationTrustedCaBundleArgs' trusted_ca_bundle: (Updatable) Resource representing the CA bundle. """ + IngressGatewayHostListenerTlsClientValidation._configure( + lambda key, value: pulumi.set(__self__, key, value), + subject_alternate_names=subject_alternate_names, + trusted_ca_bundle=trusted_ca_bundle, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + subject_alternate_names: Optional[Sequence[str]] = None, + trusted_ca_bundle: Optional['outputs.IngressGatewayHostListenerTlsClientValidationTrustedCaBundle'] = None, + opts: Optional[pulumi.ResourceOptions]=None): if subject_alternate_names is not None: - pulumi.set(__self__, "subject_alternate_names", subject_alternate_names) + _setter("subject_alternate_names", subject_alternate_names) if trusted_ca_bundle is not None: - pulumi.set(__self__, "trusted_ca_bundle", trusted_ca_bundle) + _setter("trusted_ca_bundle", trusted_ca_bundle) @property @pulumi.getter(name="subjectAlternateNames") @@ -648,11 +762,24 @@ def __init__(__self__, *, :param str ca_bundle_id: (Updatable) The OCID of the CA Bundle resource. :param str secret_name: (Updatable) Name of the secret. For Kubernetes this is the name of the Kubernetes secret of type tls. For other platforms the secrets must be mounted at: /etc/oci/secrets/${secretName}/tls.{key,crt} """ - pulumi.set(__self__, "type", type) + IngressGatewayHostListenerTlsClientValidationTrustedCaBundle._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + ca_bundle_id=ca_bundle_id, + secret_name=secret_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + ca_bundle_id: Optional[str] = None, + secret_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if ca_bundle_id is not None: - pulumi.set(__self__, "ca_bundle_id", ca_bundle_id) + _setter("ca_bundle_id", ca_bundle_id) if secret_name is not None: - pulumi.set(__self__, "secret_name", secret_name) + _setter("secret_name", secret_name) @property @pulumi.getter @@ -709,11 +836,24 @@ def __init__(__self__, *, :param str certificate_id: (Updatable) The OCID of the leaf certificate resource. :param str secret_name: (Updatable) Name of the secret. For Kubernetes this is the name of the Kubernetes secret of type tls. For other platforms the secrets must be mounted at: /etc/oci/secrets/${secretName}/tls.{key,crt} """ - pulumi.set(__self__, "type", type) + IngressGatewayHostListenerTlsServerCertificate._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + certificate_id=certificate_id, + secret_name=secret_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + certificate_id: Optional[str] = None, + secret_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if certificate_id is not None: - pulumi.set(__self__, "certificate_id", certificate_id) + _setter("certificate_id", certificate_id) if secret_name is not None: - pulumi.set(__self__, "secret_name", secret_name) + _setter("secret_name", secret_name) @property @pulumi.getter @@ -768,10 +908,21 @@ def __init__(__self__, *, :param str certificate_id: (Updatable) The OCID of the leaf certificate resource. :param int maximum_validity: (Updatable) The number of days the mTLS certificate is valid. This value should be less than the Maximum Validity Duration for Certificates (Days) setting on the Certificate Authority associated with this Mesh. The certificate will be automatically renewed after 2/3 of the validity period, so a certificate with a maximum validity of 45 days will be renewed every 30 days. """ + IngressGatewayMtls._configure( + lambda key, value: pulumi.set(__self__, key, value), + certificate_id=certificate_id, + maximum_validity=maximum_validity, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + certificate_id: Optional[str] = None, + maximum_validity: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if certificate_id is not None: - pulumi.set(__self__, "certificate_id", certificate_id) + _setter("certificate_id", certificate_id) if maximum_validity is not None: - pulumi.set(__self__, "maximum_validity", maximum_validity) + _setter("maximum_validity", maximum_validity) @property @pulumi.getter(name="certificateId") @@ -844,22 +995,47 @@ def __init__(__self__, *, :param str path_type: (Updatable) Match type for the route :param str request_timeout_in_ms: (Updatable) The maximum duration in milliseconds for the upstream service to respond to a request. If provided, the timeout value overrides the default timeout of 15 seconds for the HTTP based route rules, and disabled (no timeout) when 'isGrpc' is true. The value 0 (zero) indicates that the timeout is disabled. For streaming responses from the upstream service, consider either keeping the timeout disabled or set a sufficiently high value. """ - pulumi.set(__self__, "destinations", destinations) - pulumi.set(__self__, "type", type) + IngressGatewayRouteTableRouteRule._configure( + lambda key, value: pulumi.set(__self__, key, value), + destinations=destinations, + type=type, + ingress_gateway_host=ingress_gateway_host, + is_grpc=is_grpc, + is_host_rewrite_enabled=is_host_rewrite_enabled, + is_path_rewrite_enabled=is_path_rewrite_enabled, + path=path, + path_type=path_type, + request_timeout_in_ms=request_timeout_in_ms, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + destinations: Sequence['outputs.IngressGatewayRouteTableRouteRuleDestination'], + type: str, + ingress_gateway_host: Optional['outputs.IngressGatewayRouteTableRouteRuleIngressGatewayHost'] = None, + is_grpc: Optional[bool] = None, + is_host_rewrite_enabled: Optional[bool] = None, + is_path_rewrite_enabled: Optional[bool] = None, + path: Optional[str] = None, + path_type: Optional[str] = None, + request_timeout_in_ms: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("destinations", destinations) + _setter("type", type) if ingress_gateway_host is not None: - pulumi.set(__self__, "ingress_gateway_host", ingress_gateway_host) + _setter("ingress_gateway_host", ingress_gateway_host) if is_grpc is not None: - pulumi.set(__self__, "is_grpc", is_grpc) + _setter("is_grpc", is_grpc) if is_host_rewrite_enabled is not None: - pulumi.set(__self__, "is_host_rewrite_enabled", is_host_rewrite_enabled) + _setter("is_host_rewrite_enabled", is_host_rewrite_enabled) if is_path_rewrite_enabled is not None: - pulumi.set(__self__, "is_path_rewrite_enabled", is_path_rewrite_enabled) + _setter("is_path_rewrite_enabled", is_path_rewrite_enabled) if path is not None: - pulumi.set(__self__, "path", path) + _setter("path", path) if path_type is not None: - pulumi.set(__self__, "path_type", path_type) + _setter("path_type", path_type) if request_timeout_in_ms is not None: - pulumi.set(__self__, "request_timeout_in_ms", request_timeout_in_ms) + _setter("request_timeout_in_ms", request_timeout_in_ms) @property @pulumi.getter @@ -966,11 +1142,24 @@ def __init__(__self__, *, :param int port: (Updatable) The port of the ingress gateway host listener. Leave empty to match all ports for the host. :param int weight: (Updatable) Weight of traffic target. """ - pulumi.set(__self__, "virtual_service_id", virtual_service_id) + IngressGatewayRouteTableRouteRuleDestination._configure( + lambda key, value: pulumi.set(__self__, key, value), + virtual_service_id=virtual_service_id, + port=port, + weight=weight, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + virtual_service_id: str, + port: Optional[int] = None, + weight: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("virtual_service_id", virtual_service_id) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) if weight is not None: - pulumi.set(__self__, "weight", weight) + _setter("weight", weight) @property @pulumi.getter(name="virtualServiceId") @@ -1006,9 +1195,20 @@ def __init__(__self__, *, :param str name: (Updatable) Name of the ingress gateway host that this route should apply to. :param int port: (Updatable) The port of the ingress gateway host listener. Leave empty to match all ports for the host. """ - pulumi.set(__self__, "name", name) + IngressGatewayRouteTableRouteRuleIngressGatewayHost._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + port=port, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + port: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) @property @pulumi.getter @@ -1034,7 +1234,16 @@ def __init__(__self__, *, """ :param str id: The OCID of the certificate authority resource. """ - pulumi.set(__self__, "id", id) + MeshCertificateAuthority._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) @property @pulumi.getter @@ -1056,7 +1265,16 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "minimum", minimum) + MeshMtls._configure( + lambda key, value: pulumi.set(__self__, key, value), + minimum=minimum, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + minimum: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("minimum", minimum) @property @pulumi.getter @@ -1095,8 +1313,17 @@ def __init__(__self__, *, """ :param bool is_enabled: (Updatable) Determines if the logging configuration is enabled. """ + VirtualDeploymentAccessLogging._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) @property @pulumi.getter(name="isEnabled") @@ -1139,12 +1366,27 @@ def __init__(__self__, *, :param str idle_timeout_in_ms: (Updatable) The maximum duration in milliseconds for which the request's stream may be idle. The value 0 (zero) indicates that the timeout is disabled. :param str request_timeout_in_ms: (Updatable) The maximum duration in milliseconds for the deployed service to respond to an incoming request through the listener. If provided, the timeout value overrides the default timeout of 15 seconds for the HTTP/HTTP2 listeners, and disabled (no timeout) for the GRPC listeners. The value 0 (zero) indicates that the timeout is disabled. The timeout cannot be configured for the TCP and TLS_PASSTHROUGH listeners. For streaming responses from the deployed service, consider either keeping the timeout disabled or set a sufficiently high value. """ - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "protocol", protocol) + VirtualDeploymentListener._configure( + lambda key, value: pulumi.set(__self__, key, value), + port=port, + protocol=protocol, + idle_timeout_in_ms=idle_timeout_in_ms, + request_timeout_in_ms=request_timeout_in_ms, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + port: int, + protocol: str, + idle_timeout_in_ms: Optional[str] = None, + request_timeout_in_ms: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("port", port) + _setter("protocol", protocol) if idle_timeout_in_ms is not None: - pulumi.set(__self__, "idle_timeout_in_ms", idle_timeout_in_ms) + _setter("idle_timeout_in_ms", idle_timeout_in_ms) if request_timeout_in_ms is not None: - pulumi.set(__self__, "request_timeout_in_ms", request_timeout_in_ms) + _setter("request_timeout_in_ms", request_timeout_in_ms) @property @pulumi.getter @@ -1188,9 +1430,20 @@ def __init__(__self__, *, :param str type: (Updatable) Type of service discovery. :param str hostname: (Updatable) The hostname of the virtual deployments. """ - pulumi.set(__self__, "type", type) + VirtualDeploymentServiceDiscovery._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + hostname=hostname, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + hostname: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if hostname is not None: - pulumi.set(__self__, "hostname", hostname) + _setter("hostname", hostname) @property @pulumi.getter @@ -1216,7 +1469,16 @@ def __init__(__self__, *, """ :param str type: (Updatable) Type of the virtual service routing policy. """ - pulumi.set(__self__, "type", type) + VirtualServiceDefaultRoutingPolicy._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) @property @pulumi.getter @@ -1257,11 +1519,24 @@ def __init__(__self__, *, :param str certificate_id: The OCID of the certificate resource that will be used for mTLS authentication with other virtual services in the mesh. :param int maximum_validity: (Updatable) The number of days the mTLS certificate is valid. This value should be less than the Maximum Validity Duration for Certificates (Days) setting on the Certificate Authority associated with this Mesh. The certificate will be automatically renewed after 2/3 of the validity period, so a certificate with a maximum validity of 45 days will be renewed every 30 days. """ - pulumi.set(__self__, "mode", mode) + VirtualServiceMtls._configure( + lambda key, value: pulumi.set(__self__, key, value), + mode=mode, + certificate_id=certificate_id, + maximum_validity=maximum_validity, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + mode: str, + certificate_id: Optional[str] = None, + maximum_validity: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("mode", mode) if certificate_id is not None: - pulumi.set(__self__, "certificate_id", certificate_id) + _setter("certificate_id", certificate_id) if maximum_validity is not None: - pulumi.set(__self__, "maximum_validity", maximum_validity) + _setter("maximum_validity", maximum_validity) @property @pulumi.getter @@ -1326,16 +1601,35 @@ def __init__(__self__, *, :param str path_type: (Updatable) Match type for the route :param str request_timeout_in_ms: (Updatable) The maximum duration in milliseconds for the target service to respond to a request. If provided, the timeout value overrides the default timeout of 15 seconds for the HTTP based route rules, and disabled (no timeout) when 'isGrpc' is true. The value 0 (zero) indicates that the timeout is disabled. For streaming responses from the target service, consider either keeping the timeout disabled or set a sufficiently high value. """ - pulumi.set(__self__, "destinations", destinations) - pulumi.set(__self__, "type", type) + VirtualServiceRouteTableRouteRule._configure( + lambda key, value: pulumi.set(__self__, key, value), + destinations=destinations, + type=type, + is_grpc=is_grpc, + path=path, + path_type=path_type, + request_timeout_in_ms=request_timeout_in_ms, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + destinations: Sequence['outputs.VirtualServiceRouteTableRouteRuleDestination'], + type: str, + is_grpc: Optional[bool] = None, + path: Optional[str] = None, + path_type: Optional[str] = None, + request_timeout_in_ms: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("destinations", destinations) + _setter("type", type) if is_grpc is not None: - pulumi.set(__self__, "is_grpc", is_grpc) + _setter("is_grpc", is_grpc) if path is not None: - pulumi.set(__self__, "path", path) + _setter("path", path) if path_type is not None: - pulumi.set(__self__, "path_type", path_type) + _setter("path_type", path_type) if request_timeout_in_ms is not None: - pulumi.set(__self__, "request_timeout_in_ms", request_timeout_in_ms) + _setter("request_timeout_in_ms", request_timeout_in_ms) @property @pulumi.getter @@ -1414,10 +1708,23 @@ def __init__(__self__, *, :param int weight: (Updatable) Weight of traffic target. :param int port: (Updatable) Port on virtual deployment to target. If port is missing, the rule will target all ports on the virtual deployment. """ - pulumi.set(__self__, "virtual_deployment_id", virtual_deployment_id) - pulumi.set(__self__, "weight", weight) + VirtualServiceRouteTableRouteRuleDestination._configure( + lambda key, value: pulumi.set(__self__, key, value), + virtual_deployment_id=virtual_deployment_id, + weight=weight, + port=port, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + virtual_deployment_id: str, + weight: int, + port: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("virtual_deployment_id", virtual_deployment_id) + _setter("weight", weight) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) @property @pulumi.getter(name="virtualDeploymentId") @@ -1448,7 +1755,16 @@ def port(self) -> Optional[int]: class GetAccessPoliciesAccessPolicyCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetAccessPoliciesAccessPolicyCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetAccessPoliciesAccessPolicyCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetAccessPoliciesAccessPolicyCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1487,19 +1803,52 @@ def __init__(__self__, *, :param str time_created: The time when this resource was created in an RFC3339 formatted datetime string. :param str time_updated: The time when this resource was updated in an RFC3339 formatted datetime string. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "mesh_id", mesh_id) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "rules", rules) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetAccessPoliciesAccessPolicyCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + mesh_id=mesh_id, + name=name, + rules=rules, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + mesh_id: str, + name: str, + rules: Sequence['outputs.GetAccessPoliciesAccessPolicyCollectionItemRuleResult'], + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("mesh_id", mesh_id) + _setter("name", name) + _setter("rules", rules) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -1617,9 +1966,22 @@ def __init__(__self__, *, :param Sequence['GetAccessPoliciesAccessPolicyCollectionItemRuleDestinationArgs'] destinations: Target of the access policy. This can either be the source or the destination of the traffic. :param Sequence['GetAccessPoliciesAccessPolicyCollectionItemRuleSourceArgs'] sources: Target of the access policy. This can either be the source or the destination of the traffic. """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "destinations", destinations) - pulumi.set(__self__, "sources", sources) + GetAccessPoliciesAccessPolicyCollectionItemRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + destinations=destinations, + sources=sources, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: str, + destinations: Sequence['outputs.GetAccessPoliciesAccessPolicyCollectionItemRuleDestinationResult'], + sources: Sequence['outputs.GetAccessPoliciesAccessPolicyCollectionItemRuleSourceResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("destinations", destinations) + _setter("sources", sources) @property @pulumi.getter @@ -1665,13 +2027,34 @@ def __init__(__self__, *, :param str type: Traffic type of the target. :param str virtual_service_id: The OCID of the virtual service resource. """ - pulumi.set(__self__, "hostnames", hostnames) - pulumi.set(__self__, "ingress_gateway_id", ingress_gateway_id) - pulumi.set(__self__, "ip_addresses", ip_addresses) - pulumi.set(__self__, "ports", ports) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "virtual_service_id", virtual_service_id) + GetAccessPoliciesAccessPolicyCollectionItemRuleDestinationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + hostnames=hostnames, + ingress_gateway_id=ingress_gateway_id, + ip_addresses=ip_addresses, + ports=ports, + protocol=protocol, + type=type, + virtual_service_id=virtual_service_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hostnames: Sequence[str], + ingress_gateway_id: str, + ip_addresses: Sequence[str], + ports: Sequence[int], + protocol: str, + type: str, + virtual_service_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("hostnames", hostnames) + _setter("ingress_gateway_id", ingress_gateway_id) + _setter("ip_addresses", ip_addresses) + _setter("ports", ports) + _setter("protocol", protocol) + _setter("type", type) + _setter("virtual_service_id", virtual_service_id) @property @pulumi.getter @@ -1749,13 +2132,34 @@ def __init__(__self__, *, :param str type: Traffic type of the target. :param str virtual_service_id: The OCID of the virtual service resource. """ - pulumi.set(__self__, "hostnames", hostnames) - pulumi.set(__self__, "ingress_gateway_id", ingress_gateway_id) - pulumi.set(__self__, "ip_addresses", ip_addresses) - pulumi.set(__self__, "ports", ports) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "virtual_service_id", virtual_service_id) + GetAccessPoliciesAccessPolicyCollectionItemRuleSourceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + hostnames=hostnames, + ingress_gateway_id=ingress_gateway_id, + ip_addresses=ip_addresses, + ports=ports, + protocol=protocol, + type=type, + virtual_service_id=virtual_service_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hostnames: Sequence[str], + ingress_gateway_id: str, + ip_addresses: Sequence[str], + ports: Sequence[int], + protocol: str, + type: str, + virtual_service_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("hostnames", hostnames) + _setter("ingress_gateway_id", ingress_gateway_id) + _setter("ip_addresses", ip_addresses) + _setter("ports", ports) + _setter("protocol", protocol) + _setter("type", type) + _setter("virtual_service_id", virtual_service_id) @property @pulumi.getter @@ -1823,10 +2227,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the entire name given. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAccessPoliciesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1858,9 +2275,22 @@ def __init__(__self__, *, :param Sequence['GetAccessPolicyRuleDestinationArgs'] destinations: Target of the access policy. This can either be the source or the destination of the traffic. :param Sequence['GetAccessPolicyRuleSourceArgs'] sources: Target of the access policy. This can either be the source or the destination of the traffic. """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "destinations", destinations) - pulumi.set(__self__, "sources", sources) + GetAccessPolicyRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + destinations=destinations, + sources=sources, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: str, + destinations: Sequence['outputs.GetAccessPolicyRuleDestinationResult'], + sources: Sequence['outputs.GetAccessPolicyRuleSourceResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("destinations", destinations) + _setter("sources", sources) @property @pulumi.getter @@ -1906,13 +2336,34 @@ def __init__(__self__, *, :param str type: Traffic type of the target. :param str virtual_service_id: The OCID of the virtual service resource. """ - pulumi.set(__self__, "hostnames", hostnames) - pulumi.set(__self__, "ingress_gateway_id", ingress_gateway_id) - pulumi.set(__self__, "ip_addresses", ip_addresses) - pulumi.set(__self__, "ports", ports) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "virtual_service_id", virtual_service_id) + GetAccessPolicyRuleDestinationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + hostnames=hostnames, + ingress_gateway_id=ingress_gateway_id, + ip_addresses=ip_addresses, + ports=ports, + protocol=protocol, + type=type, + virtual_service_id=virtual_service_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hostnames: Sequence[str], + ingress_gateway_id: str, + ip_addresses: Sequence[str], + ports: Sequence[int], + protocol: str, + type: str, + virtual_service_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("hostnames", hostnames) + _setter("ingress_gateway_id", ingress_gateway_id) + _setter("ip_addresses", ip_addresses) + _setter("ports", ports) + _setter("protocol", protocol) + _setter("type", type) + _setter("virtual_service_id", virtual_service_id) @property @pulumi.getter @@ -1990,13 +2441,34 @@ def __init__(__self__, *, :param str type: Traffic type of the target. :param str virtual_service_id: The OCID of the virtual service resource. """ - pulumi.set(__self__, "hostnames", hostnames) - pulumi.set(__self__, "ingress_gateway_id", ingress_gateway_id) - pulumi.set(__self__, "ip_addresses", ip_addresses) - pulumi.set(__self__, "ports", ports) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "virtual_service_id", virtual_service_id) + GetAccessPolicyRuleSourceResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + hostnames=hostnames, + ingress_gateway_id=ingress_gateway_id, + ip_addresses=ip_addresses, + ports=ports, + protocol=protocol, + type=type, + virtual_service_id=virtual_service_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hostnames: Sequence[str], + ingress_gateway_id: str, + ip_addresses: Sequence[str], + ports: Sequence[int], + protocol: str, + type: str, + virtual_service_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("hostnames", hostnames) + _setter("ingress_gateway_id", ingress_gateway_id) + _setter("ip_addresses", ip_addresses) + _setter("ports", ports) + _setter("protocol", protocol) + _setter("type", type) + _setter("virtual_service_id", virtual_service_id) @property @pulumi.getter @@ -2062,7 +2534,16 @@ def __init__(__self__, *, """ :param bool is_enabled: Determines if the logging configuration is enabled. """ - pulumi.set(__self__, "is_enabled", is_enabled) + GetIngressGatewayAccessLoggingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_enabled", is_enabled) @property @pulumi.getter(name="isEnabled") @@ -2084,9 +2565,22 @@ def __init__(__self__, *, :param Sequence['GetIngressGatewayHostListenerArgs'] listeners: The listeners for the ingress gateway. :param str name: A user-friendly name. The name has to be unique within the same service mesh and cannot be changed after creation. Avoid entering confidential information. Example: `My unique resource name` """ - pulumi.set(__self__, "hostnames", hostnames) - pulumi.set(__self__, "listeners", listeners) - pulumi.set(__self__, "name", name) + GetIngressGatewayHostResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + hostnames=hostnames, + listeners=listeners, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hostnames: Sequence[str], + listeners: Sequence['outputs.GetIngressGatewayHostListenerResult'], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("hostnames", hostnames) + _setter("listeners", listeners) + _setter("name", name) @property @pulumi.getter @@ -2124,9 +2618,22 @@ def __init__(__self__, *, :param str protocol: Type of protocol used. :param Sequence['GetIngressGatewayHostListenerTlArgs'] tls: TLS enforcement config for the ingress listener. """ - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "tls", tls) + GetIngressGatewayHostListenerResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + port=port, + protocol=protocol, + tls=tls, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + port: int, + protocol: str, + tls: Sequence['outputs.GetIngressGatewayHostListenerTlResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("port", port) + _setter("protocol", protocol) + _setter("tls", tls) @property @pulumi.getter @@ -2164,9 +2671,22 @@ def __init__(__self__, *, :param str mode: DISABLED: Connection can only be plaintext. PERMISSIVE: Connection can be either plaintext or TLS/mTLS. If the clientValidation.trustedCaBundle property is configured for the listener, mTLS is performed and the client's certificates are validated by the gateway. TLS: Connection can only be TLS. MUTUAL_TLS: Connection can only be MTLS. :param Sequence['GetIngressGatewayHostListenerTlServerCertificateArgs'] server_certificates: Resource representing the location of the TLS certificate. """ - pulumi.set(__self__, "client_validations", client_validations) - pulumi.set(__self__, "mode", mode) - pulumi.set(__self__, "server_certificates", server_certificates) + GetIngressGatewayHostListenerTlResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + client_validations=client_validations, + mode=mode, + server_certificates=server_certificates, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + client_validations: Sequence['outputs.GetIngressGatewayHostListenerTlClientValidationResult'], + mode: str, + server_certificates: Sequence['outputs.GetIngressGatewayHostListenerTlServerCertificateResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("client_validations", client_validations) + _setter("mode", mode) + _setter("server_certificates", server_certificates) @property @pulumi.getter(name="clientValidations") @@ -2202,8 +2722,19 @@ def __init__(__self__, *, :param Sequence[str] subject_alternate_names: A list of alternate names to verify the subject identity in the certificate presented by the client. :param Sequence['GetIngressGatewayHostListenerTlClientValidationTrustedCaBundleArgs'] trusted_ca_bundles: Resource representing the CA bundle. """ - pulumi.set(__self__, "subject_alternate_names", subject_alternate_names) - pulumi.set(__self__, "trusted_ca_bundles", trusted_ca_bundles) + GetIngressGatewayHostListenerTlClientValidationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + subject_alternate_names=subject_alternate_names, + trusted_ca_bundles=trusted_ca_bundles, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + subject_alternate_names: Sequence[str], + trusted_ca_bundles: Sequence['outputs.GetIngressGatewayHostListenerTlClientValidationTrustedCaBundleResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("subject_alternate_names", subject_alternate_names) + _setter("trusted_ca_bundles", trusted_ca_bundles) @property @pulumi.getter(name="subjectAlternateNames") @@ -2233,9 +2764,22 @@ def __init__(__self__, *, :param str secret_name: Name of the secret. For Kubernetes this is the name of the Kubernetes secret of type tls. For other platforms the secrets must be mounted at: /etc/oci/secrets/${secretName}/tls.{key,crt} :param str type: Type of certificate. """ - pulumi.set(__self__, "ca_bundle_id", ca_bundle_id) - pulumi.set(__self__, "secret_name", secret_name) - pulumi.set(__self__, "type", type) + GetIngressGatewayHostListenerTlClientValidationTrustedCaBundleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ca_bundle_id=ca_bundle_id, + secret_name=secret_name, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ca_bundle_id: str, + secret_name: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ca_bundle_id", ca_bundle_id) + _setter("secret_name", secret_name) + _setter("type", type) @property @pulumi.getter(name="caBundleId") @@ -2273,9 +2817,22 @@ def __init__(__self__, *, :param str secret_name: Name of the secret. For Kubernetes this is the name of the Kubernetes secret of type tls. For other platforms the secrets must be mounted at: /etc/oci/secrets/${secretName}/tls.{key,crt} :param str type: Type of certificate. """ - pulumi.set(__self__, "certificate_id", certificate_id) - pulumi.set(__self__, "secret_name", secret_name) - pulumi.set(__self__, "type", type) + GetIngressGatewayHostListenerTlServerCertificateResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + certificate_id=certificate_id, + secret_name=secret_name, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + certificate_id: str, + secret_name: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("certificate_id", certificate_id) + _setter("secret_name", secret_name) + _setter("type", type) @property @pulumi.getter(name="certificateId") @@ -2311,8 +2868,19 @@ def __init__(__self__, *, :param str certificate_id: The OCID of the certificate resource that will be used for mTLS authentication with other virtual services in the mesh. :param int maximum_validity: The number of days the mTLS certificate is valid. This value should be less than the Maximum Validity Duration for Certificates (Days) setting on the Certificate Authority associated with this Mesh. The certificate will be automatically renewed after 2/3 of the validity period, so a certificate with a maximum validity of 45 days will be renewed every 30 days. """ - pulumi.set(__self__, "certificate_id", certificate_id) - pulumi.set(__self__, "maximum_validity", maximum_validity) + GetIngressGatewayMtlResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + certificate_id=certificate_id, + maximum_validity=maximum_validity, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + certificate_id: str, + maximum_validity: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("certificate_id", certificate_id) + _setter("maximum_validity", maximum_validity) @property @pulumi.getter(name="certificateId") @@ -2354,15 +2922,40 @@ def __init__(__self__, *, :param str request_timeout_in_ms: The maximum duration in milliseconds for the upstream service to respond to a request. If provided, the timeout value overrides the default timeout of 15 seconds for the HTTP based route rules, and disabled (no timeout) when 'isGrpc' is true. The value 0 (zero) indicates that the timeout is disabled. For streaming responses from the upstream service, consider either keeping the timeout disabled or set a sufficiently high value. :param str type: Type of protocol. """ - pulumi.set(__self__, "destinations", destinations) - pulumi.set(__self__, "ingress_gateway_hosts", ingress_gateway_hosts) - pulumi.set(__self__, "is_grpc", is_grpc) - pulumi.set(__self__, "is_host_rewrite_enabled", is_host_rewrite_enabled) - pulumi.set(__self__, "is_path_rewrite_enabled", is_path_rewrite_enabled) - pulumi.set(__self__, "path", path) - pulumi.set(__self__, "path_type", path_type) - pulumi.set(__self__, "request_timeout_in_ms", request_timeout_in_ms) - pulumi.set(__self__, "type", type) + GetIngressGatewayRouteTableRouteRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + destinations=destinations, + ingress_gateway_hosts=ingress_gateway_hosts, + is_grpc=is_grpc, + is_host_rewrite_enabled=is_host_rewrite_enabled, + is_path_rewrite_enabled=is_path_rewrite_enabled, + path=path, + path_type=path_type, + request_timeout_in_ms=request_timeout_in_ms, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + destinations: Sequence['outputs.GetIngressGatewayRouteTableRouteRuleDestinationResult'], + ingress_gateway_hosts: Sequence['outputs.GetIngressGatewayRouteTableRouteRuleIngressGatewayHostResult'], + is_grpc: bool, + is_host_rewrite_enabled: bool, + is_path_rewrite_enabled: bool, + path: str, + path_type: str, + request_timeout_in_ms: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("destinations", destinations) + _setter("ingress_gateway_hosts", ingress_gateway_hosts) + _setter("is_grpc", is_grpc) + _setter("is_host_rewrite_enabled", is_host_rewrite_enabled) + _setter("is_path_rewrite_enabled", is_path_rewrite_enabled) + _setter("path", path) + _setter("path_type", path_type) + _setter("request_timeout_in_ms", request_timeout_in_ms) + _setter("type", type) @property @pulumi.getter @@ -2448,9 +3041,22 @@ def __init__(__self__, *, :param str virtual_service_id: The OCID of the virtual service where the request will be routed. :param int weight: Weight of traffic target. """ - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "virtual_service_id", virtual_service_id) - pulumi.set(__self__, "weight", weight) + GetIngressGatewayRouteTableRouteRuleDestinationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + port=port, + virtual_service_id=virtual_service_id, + weight=weight, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + port: int, + virtual_service_id: str, + weight: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("port", port) + _setter("virtual_service_id", virtual_service_id) + _setter("weight", weight) @property @pulumi.getter @@ -2486,8 +3092,19 @@ def __init__(__self__, *, :param str name: Name of the ingress gateway host that this route should apply to. :param int port: The port of the ingress gateway host listener. Leave empty to match all ports for the host. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "port", port) + GetIngressGatewayRouteTableRouteRuleIngressGatewayHostResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + port=port, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + port: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("port", port) @property @pulumi.getter @@ -2515,10 +3132,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the entire name given. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetIngressGatewayRouteTablesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2543,7 +3173,16 @@ def regex(self) -> Optional[bool]: class GetIngressGatewayRouteTablesIngressGatewayRouteTableCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetIngressGatewayRouteTablesIngressGatewayRouteTableCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetIngressGatewayRouteTablesIngressGatewayRouteTableCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetIngressGatewayRouteTablesIngressGatewayRouteTableCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -2584,20 +3223,55 @@ def __init__(__self__, *, :param str time_created: The time when this resource was created in an RFC3339 formatted datetime string. :param str time_updated: The time when this resource was updated in an RFC3339 formatted datetime string. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "ingress_gateway_id", ingress_gateway_id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "priority", priority) - pulumi.set(__self__, "route_rules", route_rules) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetIngressGatewayRouteTablesIngressGatewayRouteTableCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + id=id, + ingress_gateway_id=ingress_gateway_id, + lifecycle_details=lifecycle_details, + name=name, + priority=priority, + route_rules=route_rules, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + freeform_tags: Mapping[str, Any], + id: str, + ingress_gateway_id: str, + lifecycle_details: str, + name: str, + priority: int, + route_rules: Sequence['outputs.GetIngressGatewayRouteTablesIngressGatewayRouteTableCollectionItemRouteRuleResult'], + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("ingress_gateway_id", ingress_gateway_id) + _setter("lifecycle_details", lifecycle_details) + _setter("name", name) + _setter("priority", priority) + _setter("route_rules", route_rules) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -2735,15 +3409,40 @@ def __init__(__self__, *, :param str request_timeout_in_ms: The maximum duration in milliseconds for the upstream service to respond to a request. If provided, the timeout value overrides the default timeout of 15 seconds for the HTTP based route rules, and disabled (no timeout) when 'isGrpc' is true. The value 0 (zero) indicates that the timeout is disabled. For streaming responses from the upstream service, consider either keeping the timeout disabled or set a sufficiently high value. :param str type: Type of protocol. """ - pulumi.set(__self__, "destinations", destinations) - pulumi.set(__self__, "ingress_gateway_hosts", ingress_gateway_hosts) - pulumi.set(__self__, "is_grpc", is_grpc) - pulumi.set(__self__, "is_host_rewrite_enabled", is_host_rewrite_enabled) - pulumi.set(__self__, "is_path_rewrite_enabled", is_path_rewrite_enabled) - pulumi.set(__self__, "path", path) - pulumi.set(__self__, "path_type", path_type) - pulumi.set(__self__, "request_timeout_in_ms", request_timeout_in_ms) - pulumi.set(__self__, "type", type) + GetIngressGatewayRouteTablesIngressGatewayRouteTableCollectionItemRouteRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + destinations=destinations, + ingress_gateway_hosts=ingress_gateway_hosts, + is_grpc=is_grpc, + is_host_rewrite_enabled=is_host_rewrite_enabled, + is_path_rewrite_enabled=is_path_rewrite_enabled, + path=path, + path_type=path_type, + request_timeout_in_ms=request_timeout_in_ms, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + destinations: Sequence['outputs.GetIngressGatewayRouteTablesIngressGatewayRouteTableCollectionItemRouteRuleDestinationResult'], + ingress_gateway_hosts: Sequence['outputs.GetIngressGatewayRouteTablesIngressGatewayRouteTableCollectionItemRouteRuleIngressGatewayHostResult'], + is_grpc: bool, + is_host_rewrite_enabled: bool, + is_path_rewrite_enabled: bool, + path: str, + path_type: str, + request_timeout_in_ms: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("destinations", destinations) + _setter("ingress_gateway_hosts", ingress_gateway_hosts) + _setter("is_grpc", is_grpc) + _setter("is_host_rewrite_enabled", is_host_rewrite_enabled) + _setter("is_path_rewrite_enabled", is_path_rewrite_enabled) + _setter("path", path) + _setter("path_type", path_type) + _setter("request_timeout_in_ms", request_timeout_in_ms) + _setter("type", type) @property @pulumi.getter @@ -2829,9 +3528,22 @@ def __init__(__self__, *, :param str virtual_service_id: The OCID of the virtual service where the request will be routed. :param int weight: Weight of traffic target. """ - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "virtual_service_id", virtual_service_id) - pulumi.set(__self__, "weight", weight) + GetIngressGatewayRouteTablesIngressGatewayRouteTableCollectionItemRouteRuleDestinationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + port=port, + virtual_service_id=virtual_service_id, + weight=weight, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + port: int, + virtual_service_id: str, + weight: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("port", port) + _setter("virtual_service_id", virtual_service_id) + _setter("weight", weight) @property @pulumi.getter @@ -2867,8 +3579,19 @@ def __init__(__self__, *, :param str name: A filter to return only resources that match the entire name given. :param int port: The port of the ingress gateway host listener. Leave empty to match all ports for the host. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "port", port) + GetIngressGatewayRouteTablesIngressGatewayRouteTableCollectionItemRouteRuleIngressGatewayHostResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + port=port, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + port: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("port", port) @property @pulumi.getter @@ -2896,10 +3619,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the entire name given. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetIngressGatewaysFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2924,7 +3660,16 @@ def regex(self) -> Optional[bool]: class GetIngressGatewaysIngressGatewayCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetIngressGatewaysIngressGatewayCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetIngressGatewaysIngressGatewayCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetIngressGatewaysIngressGatewayCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -2967,21 +3712,58 @@ def __init__(__self__, *, :param str time_created: The time when this resource was created in an RFC3339 formatted datetime string. :param str time_updated: The time when this resource was updated in an RFC3339 formatted datetime string. """ - pulumi.set(__self__, "access_loggings", access_loggings) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "hosts", hosts) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "mesh_id", mesh_id) - pulumi.set(__self__, "mtls", mtls) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetIngressGatewaysIngressGatewayCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + access_loggings=access_loggings, + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + hosts=hosts, + id=id, + lifecycle_details=lifecycle_details, + mesh_id=mesh_id, + mtls=mtls, + name=name, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access_loggings: Sequence['outputs.GetIngressGatewaysIngressGatewayCollectionItemAccessLoggingResult'], + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + freeform_tags: Mapping[str, Any], + hosts: Sequence['outputs.GetIngressGatewaysIngressGatewayCollectionItemHostResult'], + id: str, + lifecycle_details: str, + mesh_id: str, + mtls: Sequence['outputs.GetIngressGatewaysIngressGatewayCollectionItemMtlResult'], + name: str, + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("access_loggings", access_loggings) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("freeform_tags", freeform_tags) + _setter("hosts", hosts) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("mesh_id", mesh_id) + _setter("mtls", mtls) + _setter("name", name) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="accessLoggings") @@ -3111,7 +3893,16 @@ def __init__(__self__, *, """ :param bool is_enabled: Determines if the logging configuration is enabled. """ - pulumi.set(__self__, "is_enabled", is_enabled) + GetIngressGatewaysIngressGatewayCollectionItemAccessLoggingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_enabled", is_enabled) @property @pulumi.getter(name="isEnabled") @@ -3133,9 +3924,22 @@ def __init__(__self__, *, :param Sequence['GetIngressGatewaysIngressGatewayCollectionItemHostListenerArgs'] listeners: The listeners for the ingress gateway. :param str name: A filter to return only resources that match the entire name given. """ - pulumi.set(__self__, "hostnames", hostnames) - pulumi.set(__self__, "listeners", listeners) - pulumi.set(__self__, "name", name) + GetIngressGatewaysIngressGatewayCollectionItemHostResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + hostnames=hostnames, + listeners=listeners, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hostnames: Sequence[str], + listeners: Sequence['outputs.GetIngressGatewaysIngressGatewayCollectionItemHostListenerResult'], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("hostnames", hostnames) + _setter("listeners", listeners) + _setter("name", name) @property @pulumi.getter @@ -3173,9 +3977,22 @@ def __init__(__self__, *, :param str protocol: Type of protocol used. :param Sequence['GetIngressGatewaysIngressGatewayCollectionItemHostListenerTlArgs'] tls: TLS enforcement config for the ingress listener. """ - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "tls", tls) + GetIngressGatewaysIngressGatewayCollectionItemHostListenerResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + port=port, + protocol=protocol, + tls=tls, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + port: int, + protocol: str, + tls: Sequence['outputs.GetIngressGatewaysIngressGatewayCollectionItemHostListenerTlResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("port", port) + _setter("protocol", protocol) + _setter("tls", tls) @property @pulumi.getter @@ -3213,9 +4030,22 @@ def __init__(__self__, *, :param str mode: DISABLED: Connection can only be plaintext. PERMISSIVE: Connection can be either plaintext or TLS/mTLS. If the clientValidation.trustedCaBundle property is configured for the listener, mTLS is performed and the client's certificates are validated by the gateway. TLS: Connection can only be TLS. MUTUAL_TLS: Connection can only be MTLS. :param Sequence['GetIngressGatewaysIngressGatewayCollectionItemHostListenerTlServerCertificateArgs'] server_certificates: Resource representing the location of the TLS certificate. """ - pulumi.set(__self__, "client_validations", client_validations) - pulumi.set(__self__, "mode", mode) - pulumi.set(__self__, "server_certificates", server_certificates) + GetIngressGatewaysIngressGatewayCollectionItemHostListenerTlResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + client_validations=client_validations, + mode=mode, + server_certificates=server_certificates, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + client_validations: Sequence['outputs.GetIngressGatewaysIngressGatewayCollectionItemHostListenerTlClientValidationResult'], + mode: str, + server_certificates: Sequence['outputs.GetIngressGatewaysIngressGatewayCollectionItemHostListenerTlServerCertificateResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("client_validations", client_validations) + _setter("mode", mode) + _setter("server_certificates", server_certificates) @property @pulumi.getter(name="clientValidations") @@ -3251,8 +4081,19 @@ def __init__(__self__, *, :param Sequence[str] subject_alternate_names: A list of alternate names to verify the subject identity in the certificate presented by the client. :param Sequence['GetIngressGatewaysIngressGatewayCollectionItemHostListenerTlClientValidationTrustedCaBundleArgs'] trusted_ca_bundles: Resource representing the CA bundle. """ - pulumi.set(__self__, "subject_alternate_names", subject_alternate_names) - pulumi.set(__self__, "trusted_ca_bundles", trusted_ca_bundles) + GetIngressGatewaysIngressGatewayCollectionItemHostListenerTlClientValidationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + subject_alternate_names=subject_alternate_names, + trusted_ca_bundles=trusted_ca_bundles, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + subject_alternate_names: Sequence[str], + trusted_ca_bundles: Sequence['outputs.GetIngressGatewaysIngressGatewayCollectionItemHostListenerTlClientValidationTrustedCaBundleResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("subject_alternate_names", subject_alternate_names) + _setter("trusted_ca_bundles", trusted_ca_bundles) @property @pulumi.getter(name="subjectAlternateNames") @@ -3282,9 +4123,22 @@ def __init__(__self__, *, :param str secret_name: Name of the secret. For Kubernetes this is the name of the Kubernetes secret of type tls. For other platforms the secrets must be mounted at: /etc/oci/secrets/${secretName}/tls.{key,crt} :param str type: Type of certificate. """ - pulumi.set(__self__, "ca_bundle_id", ca_bundle_id) - pulumi.set(__self__, "secret_name", secret_name) - pulumi.set(__self__, "type", type) + GetIngressGatewaysIngressGatewayCollectionItemHostListenerTlClientValidationTrustedCaBundleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + ca_bundle_id=ca_bundle_id, + secret_name=secret_name, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + ca_bundle_id: str, + secret_name: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("ca_bundle_id", ca_bundle_id) + _setter("secret_name", secret_name) + _setter("type", type) @property @pulumi.getter(name="caBundleId") @@ -3322,9 +4176,22 @@ def __init__(__self__, *, :param str secret_name: Name of the secret. For Kubernetes this is the name of the Kubernetes secret of type tls. For other platforms the secrets must be mounted at: /etc/oci/secrets/${secretName}/tls.{key,crt} :param str type: Type of certificate. """ - pulumi.set(__self__, "certificate_id", certificate_id) - pulumi.set(__self__, "secret_name", secret_name) - pulumi.set(__self__, "type", type) + GetIngressGatewaysIngressGatewayCollectionItemHostListenerTlServerCertificateResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + certificate_id=certificate_id, + secret_name=secret_name, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + certificate_id: str, + secret_name: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("certificate_id", certificate_id) + _setter("secret_name", secret_name) + _setter("type", type) @property @pulumi.getter(name="certificateId") @@ -3360,8 +4227,19 @@ def __init__(__self__, *, :param str certificate_id: The OCID of the certificate resource that will be used for mTLS authentication with other virtual services in the mesh. :param int maximum_validity: The number of days the mTLS certificate is valid. This value should be less than the Maximum Validity Duration for Certificates (Days) setting on the Certificate Authority associated with this Mesh. The certificate will be automatically renewed after 2/3 of the validity period, so a certificate with a maximum validity of 45 days will be renewed every 30 days. """ - pulumi.set(__self__, "certificate_id", certificate_id) - pulumi.set(__self__, "maximum_validity", maximum_validity) + GetIngressGatewaysIngressGatewayCollectionItemMtlResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + certificate_id=certificate_id, + maximum_validity=maximum_validity, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + certificate_id: str, + maximum_validity: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("certificate_id", certificate_id) + _setter("maximum_validity", maximum_validity) @property @pulumi.getter(name="certificateId") @@ -3387,7 +4265,16 @@ def __init__(__self__, *, """ :param str id: Unique identifier that is immutable on creation. """ - pulumi.set(__self__, "id", id) + GetMeshCertificateAuthorityResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) @property @pulumi.getter @@ -3405,7 +4292,16 @@ def __init__(__self__, *, """ :param str minimum: DISABLED: No minimum virtual services within this mesh can use any mTLS authentication mode. PERMISSIVE: Virtual services within this mesh can use either PERMISSIVE or STRICT modes. STRICT: All virtual services within this mesh must use STRICT mode. """ - pulumi.set(__self__, "minimum", minimum) + GetMeshMtlResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + minimum=minimum, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + minimum: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("minimum", minimum) @property @pulumi.getter @@ -3422,10 +4318,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetMeshesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3447,7 +4356,16 @@ def regex(self) -> Optional[bool]: class GetMeshesMeshCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetMeshesMeshCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetMeshesMeshCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetMeshesMeshCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -3486,19 +4404,52 @@ def __init__(__self__, *, :param str time_created: The time when this resource was created in an RFC3339 formatted datetime string. :param str time_updated: The time when this resource was updated in an RFC3339 formatted datetime string. """ - pulumi.set(__self__, "certificate_authorities", certificate_authorities) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "mtls", mtls) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetMeshesMeshCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + certificate_authorities=certificate_authorities, + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + mtls=mtls, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + certificate_authorities: Sequence['outputs.GetMeshesMeshCollectionItemCertificateAuthorityResult'], + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + mtls: Sequence['outputs.GetMeshesMeshCollectionItemMtlResult'], + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("certificate_authorities", certificate_authorities) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("mtls", mtls) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="certificateAuthorities") @@ -3612,7 +4563,16 @@ def __init__(__self__, *, """ :param str id: Unique Mesh identifier. """ - pulumi.set(__self__, "id", id) + GetMeshesMeshCollectionItemCertificateAuthorityResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) @property @pulumi.getter @@ -3630,7 +4590,16 @@ def __init__(__self__, *, """ :param str minimum: DISABLED: No minimum virtual services within this mesh can use any mTLS authentication mode. PERMISSIVE: Virtual services within this mesh can use either PERMISSIVE or STRICT modes. STRICT: All virtual services within this mesh must use STRICT mode. """ - pulumi.set(__self__, "minimum", minimum) + GetMeshesMeshCollectionItemMtlResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + minimum=minimum, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + minimum: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("minimum", minimum) @property @pulumi.getter @@ -3648,7 +4617,16 @@ def __init__(__self__, *, """ :param bool is_enabled: Determines if the logging configuration is enabled. """ - pulumi.set(__self__, "is_enabled", is_enabled) + GetVirtualDeploymentAccessLoggingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_enabled", is_enabled) @property @pulumi.getter(name="isEnabled") @@ -3672,10 +4650,25 @@ def __init__(__self__, *, :param str protocol: Type of protocol used in virtual deployment. :param str request_timeout_in_ms: The maximum duration in milliseconds for the deployed service to respond to an incoming request through the listener. If provided, the timeout value overrides the default timeout of 15 seconds for the HTTP/HTTP2 listeners, and disabled (no timeout) for the GRPC listeners. The value 0 (zero) indicates that the timeout is disabled. The timeout cannot be configured for the TCP and TLS_PASSTHROUGH listeners. For streaming responses from the deployed service, consider either keeping the timeout disabled or set a sufficiently high value. """ - pulumi.set(__self__, "idle_timeout_in_ms", idle_timeout_in_ms) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "request_timeout_in_ms", request_timeout_in_ms) + GetVirtualDeploymentListenerResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + idle_timeout_in_ms=idle_timeout_in_ms, + port=port, + protocol=protocol, + request_timeout_in_ms=request_timeout_in_ms, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + idle_timeout_in_ms: str, + port: int, + protocol: str, + request_timeout_in_ms: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("idle_timeout_in_ms", idle_timeout_in_ms) + _setter("port", port) + _setter("protocol", protocol) + _setter("request_timeout_in_ms", request_timeout_in_ms) @property @pulumi.getter(name="idleTimeoutInMs") @@ -3719,8 +4712,19 @@ def __init__(__self__, *, :param str hostname: The hostname of the virtual deployments. :param str type: Type of service discovery. """ - pulumi.set(__self__, "hostname", hostname) - pulumi.set(__self__, "type", type) + GetVirtualDeploymentServiceDiscoveryResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + hostname=hostname, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hostname: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("hostname", hostname) + _setter("type", type) @property @pulumi.getter @@ -3748,10 +4752,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the entire name given. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVirtualDeploymentsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3776,7 +4793,16 @@ def regex(self) -> Optional[bool]: class GetVirtualDeploymentsVirtualDeploymentCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetVirtualDeploymentsVirtualDeploymentCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetVirtualDeploymentsVirtualDeploymentCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetVirtualDeploymentsVirtualDeploymentCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -3819,21 +4845,58 @@ def __init__(__self__, *, :param str time_updated: The time when this resource was updated in an RFC3339 formatted datetime string. :param str virtual_service_id: Unique VirtualService identifier. """ - pulumi.set(__self__, "access_loggings", access_loggings) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "listeners", listeners) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "service_discoveries", service_discoveries) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "virtual_service_id", virtual_service_id) + GetVirtualDeploymentsVirtualDeploymentCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + access_loggings=access_loggings, + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + listeners=listeners, + name=name, + service_discoveries=service_discoveries, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + virtual_service_id=virtual_service_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access_loggings: Sequence['outputs.GetVirtualDeploymentsVirtualDeploymentCollectionItemAccessLoggingResult'], + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + listeners: Sequence['outputs.GetVirtualDeploymentsVirtualDeploymentCollectionItemListenerResult'], + name: str, + service_discoveries: Sequence['outputs.GetVirtualDeploymentsVirtualDeploymentCollectionItemServiceDiscoveryResult'], + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + virtual_service_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("access_loggings", access_loggings) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("listeners", listeners) + _setter("name", name) + _setter("service_discoveries", service_discoveries) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("virtual_service_id", virtual_service_id) @property @pulumi.getter(name="accessLoggings") @@ -3963,7 +5026,16 @@ def __init__(__self__, *, """ :param bool is_enabled: Determines if the logging configuration is enabled. """ - pulumi.set(__self__, "is_enabled", is_enabled) + GetVirtualDeploymentsVirtualDeploymentCollectionItemAccessLoggingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_enabled", is_enabled) @property @pulumi.getter(name="isEnabled") @@ -3987,10 +5059,25 @@ def __init__(__self__, *, :param str protocol: Type of protocol used in virtual deployment. :param str request_timeout_in_ms: The maximum duration in milliseconds for the deployed service to respond to an incoming request through the listener. If provided, the timeout value overrides the default timeout of 15 seconds for the HTTP/HTTP2 listeners, and disabled (no timeout) for the GRPC listeners. The value 0 (zero) indicates that the timeout is disabled. The timeout cannot be configured for the TCP and TLS_PASSTHROUGH listeners. For streaming responses from the deployed service, consider either keeping the timeout disabled or set a sufficiently high value. """ - pulumi.set(__self__, "idle_timeout_in_ms", idle_timeout_in_ms) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "request_timeout_in_ms", request_timeout_in_ms) + GetVirtualDeploymentsVirtualDeploymentCollectionItemListenerResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + idle_timeout_in_ms=idle_timeout_in_ms, + port=port, + protocol=protocol, + request_timeout_in_ms=request_timeout_in_ms, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + idle_timeout_in_ms: str, + port: int, + protocol: str, + request_timeout_in_ms: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("idle_timeout_in_ms", idle_timeout_in_ms) + _setter("port", port) + _setter("protocol", protocol) + _setter("request_timeout_in_ms", request_timeout_in_ms) @property @pulumi.getter(name="idleTimeoutInMs") @@ -4034,8 +5121,19 @@ def __init__(__self__, *, :param str hostname: The hostname of the virtual deployments. :param str type: Type of service discovery. """ - pulumi.set(__self__, "hostname", hostname) - pulumi.set(__self__, "type", type) + GetVirtualDeploymentsVirtualDeploymentCollectionItemServiceDiscoveryResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + hostname=hostname, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hostname: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("hostname", hostname) + _setter("type", type) @property @pulumi.getter @@ -4061,7 +5159,16 @@ def __init__(__self__, *, """ :param str type: Type of the virtual service routing policy. """ - pulumi.set(__self__, "type", type) + GetVirtualServiceDefaultRoutingPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) @property @pulumi.getter @@ -4083,9 +5190,22 @@ def __init__(__self__, *, :param int maximum_validity: The number of days the mTLS certificate is valid. This value should be less than the Maximum Validity Duration for Certificates (Days) setting on the Certificate Authority associated with this Mesh. The certificate will be automatically renewed after 2/3 of the validity period, so a certificate with a maximum validity of 45 days will be renewed every 30 days. :param str mode: DISABLED: Connection is not tunneled. PERMISSIVE: Connection can be either plaintext or an mTLS tunnel. STRICT: Connection is an mTLS tunnel. Clients without a valid certificate will be rejected. """ - pulumi.set(__self__, "certificate_id", certificate_id) - pulumi.set(__self__, "maximum_validity", maximum_validity) - pulumi.set(__self__, "mode", mode) + GetVirtualServiceMtlResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + certificate_id=certificate_id, + maximum_validity=maximum_validity, + mode=mode, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + certificate_id: str, + maximum_validity: int, + mode: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("certificate_id", certificate_id) + _setter("maximum_validity", maximum_validity) + _setter("mode", mode) @property @pulumi.getter(name="certificateId") @@ -4129,12 +5249,31 @@ def __init__(__self__, *, :param str request_timeout_in_ms: The maximum duration in milliseconds for the target service to respond to a request. If provided, the timeout value overrides the default timeout of 15 seconds for the HTTP based route rules, and disabled (no timeout) when 'isGrpc' is true. The value 0 (zero) indicates that the timeout is disabled. For streaming responses from the target service, consider either keeping the timeout disabled or set a sufficiently high value. :param str type: Type of protocol. """ - pulumi.set(__self__, "destinations", destinations) - pulumi.set(__self__, "is_grpc", is_grpc) - pulumi.set(__self__, "path", path) - pulumi.set(__self__, "path_type", path_type) - pulumi.set(__self__, "request_timeout_in_ms", request_timeout_in_ms) - pulumi.set(__self__, "type", type) + GetVirtualServiceRouteTableRouteRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + destinations=destinations, + is_grpc=is_grpc, + path=path, + path_type=path_type, + request_timeout_in_ms=request_timeout_in_ms, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + destinations: Sequence['outputs.GetVirtualServiceRouteTableRouteRuleDestinationResult'], + is_grpc: bool, + path: str, + path_type: str, + request_timeout_in_ms: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("destinations", destinations) + _setter("is_grpc", is_grpc) + _setter("path", path) + _setter("path_type", path_type) + _setter("request_timeout_in_ms", request_timeout_in_ms) + _setter("type", type) @property @pulumi.getter @@ -4196,9 +5335,22 @@ def __init__(__self__, *, :param str virtual_deployment_id: The OCID of the virtual deployment where the request will be routed. :param int weight: Weight of traffic target. """ - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "virtual_deployment_id", virtual_deployment_id) - pulumi.set(__self__, "weight", weight) + GetVirtualServiceRouteTableRouteRuleDestinationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + port=port, + virtual_deployment_id=virtual_deployment_id, + weight=weight, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + port: int, + virtual_deployment_id: str, + weight: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("port", port) + _setter("virtual_deployment_id", virtual_deployment_id) + _setter("weight", weight) @property @pulumi.getter @@ -4234,10 +5386,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the entire name given. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVirtualServiceRouteTablesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4262,7 +5427,16 @@ def regex(self) -> Optional[bool]: class GetVirtualServiceRouteTablesVirtualServiceRouteTableCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetVirtualServiceRouteTablesVirtualServiceRouteTableCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetVirtualServiceRouteTablesVirtualServiceRouteTableCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetVirtualServiceRouteTablesVirtualServiceRouteTableCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -4303,20 +5477,55 @@ def __init__(__self__, *, :param str time_updated: The time when this resource was updated in an RFC3339 formatted datetime string. :param str virtual_service_id: Unique VirtualService identifier. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "priority", priority) - pulumi.set(__self__, "route_rules", route_rules) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "virtual_service_id", virtual_service_id) + GetVirtualServiceRouteTablesVirtualServiceRouteTableCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + name=name, + priority=priority, + route_rules=route_rules, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + virtual_service_id=virtual_service_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + name: str, + priority: int, + route_rules: Sequence['outputs.GetVirtualServiceRouteTablesVirtualServiceRouteTableCollectionItemRouteRuleResult'], + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + virtual_service_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("name", name) + _setter("priority", priority) + _setter("route_rules", route_rules) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("virtual_service_id", virtual_service_id) @property @pulumi.getter(name="compartmentId") @@ -4448,12 +5657,31 @@ def __init__(__self__, *, :param str request_timeout_in_ms: The maximum duration in milliseconds for the target service to respond to a request. If provided, the timeout value overrides the default timeout of 15 seconds for the HTTP based route rules, and disabled (no timeout) when 'isGrpc' is true. The value 0 (zero) indicates that the timeout is disabled. For streaming responses from the target service, consider either keeping the timeout disabled or set a sufficiently high value. :param str type: Type of protocol. """ - pulumi.set(__self__, "destinations", destinations) - pulumi.set(__self__, "is_grpc", is_grpc) - pulumi.set(__self__, "path", path) - pulumi.set(__self__, "path_type", path_type) - pulumi.set(__self__, "request_timeout_in_ms", request_timeout_in_ms) - pulumi.set(__self__, "type", type) + GetVirtualServiceRouteTablesVirtualServiceRouteTableCollectionItemRouteRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + destinations=destinations, + is_grpc=is_grpc, + path=path, + path_type=path_type, + request_timeout_in_ms=request_timeout_in_ms, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + destinations: Sequence['outputs.GetVirtualServiceRouteTablesVirtualServiceRouteTableCollectionItemRouteRuleDestinationResult'], + is_grpc: bool, + path: str, + path_type: str, + request_timeout_in_ms: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("destinations", destinations) + _setter("is_grpc", is_grpc) + _setter("path", path) + _setter("path_type", path_type) + _setter("request_timeout_in_ms", request_timeout_in_ms) + _setter("type", type) @property @pulumi.getter @@ -4515,9 +5743,22 @@ def __init__(__self__, *, :param str virtual_deployment_id: The OCID of the virtual deployment where the request will be routed. :param int weight: Weight of traffic target. """ - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "virtual_deployment_id", virtual_deployment_id) - pulumi.set(__self__, "weight", weight) + GetVirtualServiceRouteTablesVirtualServiceRouteTableCollectionItemRouteRuleDestinationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + port=port, + virtual_deployment_id=virtual_deployment_id, + weight=weight, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + port: int, + virtual_deployment_id: str, + weight: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("port", port) + _setter("virtual_deployment_id", virtual_deployment_id) + _setter("weight", weight) @property @pulumi.getter @@ -4553,10 +5794,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the entire name given. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVirtualServicesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4581,7 +5835,16 @@ def regex(self) -> Optional[bool]: class GetVirtualServicesVirtualServiceCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetVirtualServicesVirtualServiceCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetVirtualServicesVirtualServiceCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetVirtualServicesVirtualServiceCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -4624,21 +5887,58 @@ def __init__(__self__, *, :param str time_created: The time when this resource was created in an RFC3339 formatted datetime string. :param str time_updated: The time when this resource was updated in an RFC3339 formatted datetime string. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "default_routing_policies", default_routing_policies) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "hosts", hosts) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "mesh_id", mesh_id) - pulumi.set(__self__, "mtls", mtls) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetVirtualServicesVirtualServiceCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + default_routing_policies=default_routing_policies, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + hosts=hosts, + id=id, + lifecycle_details=lifecycle_details, + mesh_id=mesh_id, + mtls=mtls, + name=name, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + default_routing_policies: Sequence['outputs.GetVirtualServicesVirtualServiceCollectionItemDefaultRoutingPolicyResult'], + defined_tags: Mapping[str, Any], + description: str, + freeform_tags: Mapping[str, Any], + hosts: Sequence[str], + id: str, + lifecycle_details: str, + mesh_id: str, + mtls: Sequence['outputs.GetVirtualServicesVirtualServiceCollectionItemMtlResult'], + name: str, + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("default_routing_policies", default_routing_policies) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("freeform_tags", freeform_tags) + _setter("hosts", hosts) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("mesh_id", mesh_id) + _setter("mtls", mtls) + _setter("name", name) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -4768,7 +6068,16 @@ def __init__(__self__, *, """ :param str type: Type of the virtual service routing policy. """ - pulumi.set(__self__, "type", type) + GetVirtualServicesVirtualServiceCollectionItemDefaultRoutingPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) @property @pulumi.getter @@ -4790,9 +6099,22 @@ def __init__(__self__, *, :param int maximum_validity: The number of days the mTLS certificate is valid. This value should be less than the Maximum Validity Duration for Certificates (Days) setting on the Certificate Authority associated with this Mesh. The certificate will be automatically renewed after 2/3 of the validity period, so a certificate with a maximum validity of 45 days will be renewed every 30 days. :param str mode: DISABLED: Connection is not tunneled. PERMISSIVE: Connection can be either plaintext or an mTLS tunnel. STRICT: Connection is an mTLS tunnel. Clients without a valid certificate will be rejected. """ - pulumi.set(__self__, "certificate_id", certificate_id) - pulumi.set(__self__, "maximum_validity", maximum_validity) - pulumi.set(__self__, "mode", mode) + GetVirtualServicesVirtualServiceCollectionItemMtlResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + certificate_id=certificate_id, + maximum_validity=maximum_validity, + mode=mode, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + certificate_id: str, + maximum_validity: int, + mode: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("certificate_id", certificate_id) + _setter("maximum_validity", maximum_validity) + _setter("mode", mode) @property @pulumi.getter(name="certificateId") diff --git a/sdk/python/pulumi_oci/servicemesh/virtual_deployment.py b/sdk/python/pulumi_oci/servicemesh/virtual_deployment.py index de9bac26ad..bd5f9a392d 100644 --- a/sdk/python/pulumi_oci/servicemesh/virtual_deployment.py +++ b/sdk/python/pulumi_oci/servicemesh/virtual_deployment.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -41,22 +41,47 @@ def __init__(__self__, *, :param pulumi.Input[str] name: A user-friendly name. The name must be unique within the same virtual service and cannot be changed after creation. Avoid entering confidential information. Example: `My unique resource name` :param pulumi.Input['VirtualDeploymentServiceDiscoveryArgs'] service_discovery: (Updatable) Service Discovery configuration for virtual deployments. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "virtual_service_id", virtual_service_id) + VirtualDeploymentArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + virtual_service_id=virtual_service_id, + access_logging=access_logging, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + listeners=listeners, + name=name, + service_discovery=service_discovery, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + virtual_service_id: pulumi.Input[str], + access_logging: Optional[pulumi.Input['VirtualDeploymentAccessLoggingArgs']] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + listeners: Optional[pulumi.Input[Sequence[pulumi.Input['VirtualDeploymentListenerArgs']]]] = None, + name: Optional[pulumi.Input[str]] = None, + service_discovery: Optional[pulumi.Input['VirtualDeploymentServiceDiscoveryArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("virtual_service_id", virtual_service_id) if access_logging is not None: - pulumi.set(__self__, "access_logging", access_logging) + _setter("access_logging", access_logging) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if listeners is not None: - pulumi.set(__self__, "listeners", listeners) + _setter("listeners", listeners) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if service_discovery is not None: - pulumi.set(__self__, "service_discovery", service_discovery) + _setter("service_discovery", service_discovery) @property @pulumi.getter(name="compartmentId") @@ -209,34 +234,69 @@ def __init__(__self__, *, ** 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 """ + _VirtualDeploymentState._configure( + lambda key, value: pulumi.set(__self__, key, value), + access_logging=access_logging, + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + listeners=listeners, + name=name, + service_discovery=service_discovery, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + virtual_service_id=virtual_service_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access_logging: Optional[pulumi.Input['VirtualDeploymentAccessLoggingArgs']] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + listeners: Optional[pulumi.Input[Sequence[pulumi.Input['VirtualDeploymentListenerArgs']]]] = None, + name: Optional[pulumi.Input[str]] = None, + service_discovery: Optional[pulumi.Input['VirtualDeploymentServiceDiscoveryArgs']] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + virtual_service_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if access_logging is not None: - pulumi.set(__self__, "access_logging", access_logging) + _setter("access_logging", access_logging) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if listeners is not None: - pulumi.set(__self__, "listeners", listeners) + _setter("listeners", listeners) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if service_discovery is not None: - pulumi.set(__self__, "service_discovery", service_discovery) + _setter("service_discovery", service_discovery) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if virtual_service_id is not None: - pulumi.set(__self__, "virtual_service_id", virtual_service_id) + _setter("virtual_service_id", virtual_service_id) @property @pulumi.getter(name="accessLogging") @@ -546,6 +606,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + VirtualDeploymentArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -569,6 +633,11 @@ def _internal_init(__self__, raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = VirtualDeploymentArgs.__new__(VirtualDeploymentArgs) + if access_logging is not None and not isinstance(access_logging, VirtualDeploymentAccessLoggingArgs): + access_logging = access_logging or {} + def _setter(key, value): + access_logging[key] = value + VirtualDeploymentAccessLoggingArgs._configure(_setter, **access_logging) __props__.__dict__["access_logging"] = access_logging if compartment_id is None and not opts.urn: raise TypeError("Missing required property 'compartment_id'") @@ -578,6 +647,11 @@ def _internal_init(__self__, __props__.__dict__["freeform_tags"] = freeform_tags __props__.__dict__["listeners"] = listeners __props__.__dict__["name"] = name + if service_discovery is not None and not isinstance(service_discovery, VirtualDeploymentServiceDiscoveryArgs): + service_discovery = service_discovery or {} + def _setter(key, value): + service_discovery[key] = value + VirtualDeploymentServiceDiscoveryArgs._configure(_setter, **service_discovery) __props__.__dict__["service_discovery"] = service_discovery if virtual_service_id is None and not opts.urn: raise TypeError("Missing required property 'virtual_service_id'") diff --git a/sdk/python/pulumi_oci/servicemesh/virtual_service.py b/sdk/python/pulumi_oci/servicemesh/virtual_service.py index 72dba4a619..a9c4979846 100644 --- a/sdk/python/pulumi_oci/servicemesh/virtual_service.py +++ b/sdk/python/pulumi_oci/servicemesh/virtual_service.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -41,22 +41,47 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "mesh_id", mesh_id) + VirtualServiceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + mesh_id=mesh_id, + default_routing_policy=default_routing_policy, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + hosts=hosts, + mtls=mtls, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + mesh_id: pulumi.Input[str], + default_routing_policy: Optional[pulumi.Input['VirtualServiceDefaultRoutingPolicyArgs']] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + hosts: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + mtls: Optional[pulumi.Input['VirtualServiceMtlsArgs']] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("mesh_id", mesh_id) if default_routing_policy is not None: - pulumi.set(__self__, "default_routing_policy", default_routing_policy) + _setter("default_routing_policy", default_routing_policy) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if hosts is not None: - pulumi.set(__self__, "hosts", hosts) + _setter("hosts", hosts) if mtls is not None: - pulumi.set(__self__, "mtls", mtls) + _setter("mtls", mtls) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter(name="compartmentId") @@ -209,34 +234,69 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The time when this resource was created in an RFC3339 formatted datetime string. :param pulumi.Input[str] time_updated: The time when this resource was updated in an RFC3339 formatted datetime string. """ + _VirtualServiceState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + default_routing_policy=default_routing_policy, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + hosts=hosts, + lifecycle_details=lifecycle_details, + mesh_id=mesh_id, + mtls=mtls, + name=name, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + default_routing_policy: Optional[pulumi.Input['VirtualServiceDefaultRoutingPolicyArgs']] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + hosts: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + mesh_id: Optional[pulumi.Input[str]] = None, + mtls: Optional[pulumi.Input['VirtualServiceMtlsArgs']] = None, + name: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if default_routing_policy is not None: - pulumi.set(__self__, "default_routing_policy", default_routing_policy) + _setter("default_routing_policy", default_routing_policy) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if hosts is not None: - pulumi.set(__self__, "hosts", hosts) + _setter("hosts", hosts) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if mesh_id is not None: - pulumi.set(__self__, "mesh_id", mesh_id) + _setter("mesh_id", mesh_id) if mtls is not None: - pulumi.set(__self__, "mtls", mtls) + _setter("mtls", mtls) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -536,6 +596,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + VirtualServiceArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -562,6 +626,11 @@ def _internal_init(__self__, if compartment_id is None and not opts.urn: raise TypeError("Missing required property 'compartment_id'") __props__.__dict__["compartment_id"] = compartment_id + if default_routing_policy is not None and not isinstance(default_routing_policy, VirtualServiceDefaultRoutingPolicyArgs): + default_routing_policy = default_routing_policy or {} + def _setter(key, value): + default_routing_policy[key] = value + VirtualServiceDefaultRoutingPolicyArgs._configure(_setter, **default_routing_policy) __props__.__dict__["default_routing_policy"] = default_routing_policy __props__.__dict__["defined_tags"] = defined_tags __props__.__dict__["description"] = description @@ -570,6 +639,11 @@ def _internal_init(__self__, if mesh_id is None and not opts.urn: raise TypeError("Missing required property 'mesh_id'") __props__.__dict__["mesh_id"] = mesh_id + if mtls is not None and not isinstance(mtls, VirtualServiceMtlsArgs): + mtls = mtls or {} + def _setter(key, value): + mtls[key] = value + VirtualServiceMtlsArgs._configure(_setter, **mtls) __props__.__dict__["mtls"] = mtls __props__.__dict__["name"] = name __props__.__dict__["lifecycle_details"] = None diff --git a/sdk/python/pulumi_oci/servicemesh/virtual_service_route_table.py b/sdk/python/pulumi_oci/servicemesh/virtual_service_route_table.py index 3a57af9a0d..942fc4348e 100644 --- a/sdk/python/pulumi_oci/servicemesh/virtual_service_route_table.py +++ b/sdk/python/pulumi_oci/servicemesh/virtual_service_route_table.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -39,19 +39,42 @@ def __init__(__self__, *, :param pulumi.Input[str] name: A user-friendly name. The name must be unique within the same virtual service and cannot be changed after creation. Avoid entering confidential information. Example: `My unique resource name` :param pulumi.Input[int] priority: (Updatable) The priority of the route table. Lower value means higher priority. The routes are declared based on the priority. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "route_rules", route_rules) - pulumi.set(__self__, "virtual_service_id", virtual_service_id) + VirtualServiceRouteTableArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + route_rules=route_rules, + virtual_service_id=virtual_service_id, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + name=name, + priority=priority, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + route_rules: pulumi.Input[Sequence[pulumi.Input['VirtualServiceRouteTableRouteRuleArgs']]], + virtual_service_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + name: Optional[pulumi.Input[str]] = None, + priority: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("route_rules", route_rules) + _setter("virtual_service_id", virtual_service_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if priority is not None: - pulumi.set(__self__, "priority", priority) + _setter("priority", priority) @property @pulumi.getter(name="compartmentId") @@ -190,32 +213,65 @@ def __init__(__self__, *, ** 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 """ + _VirtualServiceRouteTableState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + name=name, + priority=priority, + route_rules=route_rules, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + virtual_service_id=virtual_service_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + priority: Optional[pulumi.Input[int]] = None, + route_rules: Optional[pulumi.Input[Sequence[pulumi.Input['VirtualServiceRouteTableRouteRuleArgs']]]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + virtual_service_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if priority is not None: - pulumi.set(__self__, "priority", priority) + _setter("priority", priority) if route_rules is not None: - pulumi.set(__self__, "route_rules", route_rules) + _setter("route_rules", route_rules) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if virtual_service_id is not None: - pulumi.set(__self__, "virtual_service_id", virtual_service_id) + _setter("virtual_service_id", virtual_service_id) @property @pulumi.getter(name="compartmentId") @@ -511,6 +567,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + VirtualServiceRouteTableArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/stackmonitoring/_inputs.py b/sdk/python/pulumi_oci/stackmonitoring/_inputs.py index 379665dc48..697757a58a 100644 --- a/sdk/python/pulumi_oci/stackmonitoring/_inputs.py +++ b/sdk/python/pulumi_oci/stackmonitoring/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -56,14 +56,33 @@ def __init__(__self__, *, :param pulumi.Input['DiscoveryJobDiscoveryDetailsCredentialsArgs'] credentials: List of DiscoveryJob Credential Details. :param pulumi.Input['DiscoveryJobDiscoveryDetailsTagsArgs'] tags: Property Details """ - pulumi.set(__self__, "agent_id", agent_id) - pulumi.set(__self__, "properties", properties) - pulumi.set(__self__, "resource_name", resource_name) - pulumi.set(__self__, "resource_type", resource_type) + DiscoveryJobDiscoveryDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + agent_id=agent_id, + properties=properties, + resource_name=resource_name, + resource_type=resource_type, + credentials=credentials, + tags=tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agent_id: pulumi.Input[str], + properties: pulumi.Input['DiscoveryJobDiscoveryDetailsPropertiesArgs'], + resource_name: pulumi.Input[str], + resource_type: pulumi.Input[str], + credentials: Optional[pulumi.Input['DiscoveryJobDiscoveryDetailsCredentialsArgs']] = None, + tags: Optional[pulumi.Input['DiscoveryJobDiscoveryDetailsTagsArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("agent_id", agent_id) + _setter("properties", properties) + _setter("resource_name", resource_name) + _setter("resource_type", resource_type) if credentials is not None: - pulumi.set(__self__, "credentials", credentials) + _setter("credentials", credentials) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) @property @pulumi.getter(name="agentId") @@ -145,7 +164,16 @@ def __init__(__self__, *, """ :param pulumi.Input[Sequence[pulumi.Input['DiscoveryJobDiscoveryDetailsCredentialsItemArgs']]] items: List of DiscoveryJob credentials. """ - pulumi.set(__self__, "items", items) + DiscoveryJobDiscoveryDetailsCredentialsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: pulumi.Input[Sequence[pulumi.Input['DiscoveryJobDiscoveryDetailsCredentialsItemArgs']]], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -171,9 +199,22 @@ def __init__(__self__, *, :param pulumi.Input[str] credential_type: Name of Credential Type :param pulumi.Input['DiscoveryJobDiscoveryDetailsCredentialsItemPropertiesArgs'] properties: Property Details """ - pulumi.set(__self__, "credential_name", credential_name) - pulumi.set(__self__, "credential_type", credential_type) - pulumi.set(__self__, "properties", properties) + DiscoveryJobDiscoveryDetailsCredentialsItemArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + credential_name=credential_name, + credential_type=credential_type, + properties=properties, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + credential_name: pulumi.Input[str], + credential_type: pulumi.Input[str], + properties: pulumi.Input['DiscoveryJobDiscoveryDetailsCredentialsItemPropertiesArgs'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("credential_name", credential_name) + _setter("credential_type", credential_type) + _setter("properties", properties) @property @pulumi.getter(name="credentialName") @@ -219,8 +260,17 @@ def __init__(__self__, *, """ :param pulumi.Input[Mapping[str, Any]] properties_map: Key/Value pair of Property """ + DiscoveryJobDiscoveryDetailsCredentialsItemPropertiesArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + properties_map=properties_map, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + properties_map: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if properties_map is not None: - pulumi.set(__self__, "properties_map", properties_map) + _setter("properties_map", properties_map) @property @pulumi.getter(name="propertiesMap") @@ -242,8 +292,17 @@ def __init__(__self__, *, """ :param pulumi.Input[Mapping[str, Any]] properties_map: Key/Value pair of Property """ + DiscoveryJobDiscoveryDetailsPropertiesArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + properties_map=properties_map, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + properties_map: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if properties_map is not None: - pulumi.set(__self__, "properties_map", properties_map) + _setter("properties_map", properties_map) @property @pulumi.getter(name="propertiesMap") @@ -265,8 +324,17 @@ def __init__(__self__, *, """ :param pulumi.Input[Mapping[str, Any]] properties_map: Key/Value pair of Property """ + DiscoveryJobDiscoveryDetailsTagsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + properties_map=properties_map, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + properties_map: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if properties_map is not None: - pulumi.set(__self__, "properties_map", properties_map) + _setter("properties_map", properties_map) @property @pulumi.getter(name="propertiesMap") @@ -292,9 +360,22 @@ def __init__(__self__, *, :param pulumi.Input[str] name: (Updatable) Property Name. :param pulumi.Input[str] source: (Updatable) The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. """ - pulumi.set(__self__, "credential", credential) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "source", source) + MonitoredResourceAdditionalAliasArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + credential=credential, + name=name, + source=source, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + credential: pulumi.Input['MonitoredResourceAdditionalAliasCredentialArgs'], + name: pulumi.Input[str], + source: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("credential", credential) + _setter("name", name) + _setter("source", source) @property @pulumi.getter @@ -344,9 +425,22 @@ def __init__(__self__, *, :param pulumi.Input[str] service: (Updatable) The name of the service owning the credential. Example: stack-monitoring or dbmgmt :param pulumi.Input[str] source: (Updatable) The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "service", service) - pulumi.set(__self__, "source", source) + MonitoredResourceAdditionalAliasCredentialArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + service=service, + source=source, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: pulumi.Input[str], + service: pulumi.Input[str], + source: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("service", service) + _setter("source", source) @property @pulumi.getter @@ -411,20 +505,41 @@ def __init__(__self__, *, ** 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 """ + MonitoredResourceAdditionalCredentialArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + credential_type=credential_type, + description=description, + key_id=key_id, + name=name, + properties=properties, + source=source, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + credential_type: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + key_id: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input[Sequence[pulumi.Input['MonitoredResourceAdditionalCredentialPropertyArgs']]]] = None, + source: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if credential_type is not None: - pulumi.set(__self__, "credential_type", credential_type) + _setter("credential_type", credential_type) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if key_id is not None: - pulumi.set(__self__, "key_id", key_id) + _setter("key_id", key_id) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if properties is not None: - pulumi.set(__self__, "properties", properties) + _setter("properties", properties) if source is not None: - pulumi.set(__self__, "source", source) + _setter("source", source) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter(name="credentialType") @@ -527,10 +642,21 @@ def __init__(__self__, *, :param pulumi.Input[str] name: (Updatable) Property Name. :param pulumi.Input[str] value: (Updatable) Property Value. """ + MonitoredResourceAdditionalCredentialPropertyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -568,9 +694,22 @@ def __init__(__self__, *, :param pulumi.Input[str] name: (Updatable) Property Name. :param pulumi.Input[str] source: (Updatable) The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. """ - pulumi.set(__self__, "credential", credential) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "source", source) + MonitoredResourceAliasesArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + credential=credential, + name=name, + source=source, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + credential: pulumi.Input['MonitoredResourceAliasesCredentialArgs'], + name: pulumi.Input[str], + source: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("credential", credential) + _setter("name", name) + _setter("source", source) @property @pulumi.getter @@ -620,9 +759,22 @@ def __init__(__self__, *, :param pulumi.Input[str] service: (Updatable) The name of the service owning the credential. Example: stack-monitoring or dbmgmt :param pulumi.Input[str] source: (Updatable) The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "service", service) - pulumi.set(__self__, "source", source) + MonitoredResourceAliasesCredentialArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + service=service, + source=source, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: pulumi.Input[str], + service: pulumi.Input[str], + source: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("service", service) + _setter("source", source) @property @pulumi.getter @@ -687,20 +839,41 @@ def __init__(__self__, *, ** 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 """ + MonitoredResourceCredentialsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + credential_type=credential_type, + description=description, + key_id=key_id, + name=name, + properties=properties, + source=source, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + credential_type: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + key_id: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input[Sequence[pulumi.Input['MonitoredResourceCredentialsPropertyArgs']]]] = None, + source: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if credential_type is not None: - pulumi.set(__self__, "credential_type", credential_type) + _setter("credential_type", credential_type) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if key_id is not None: - pulumi.set(__self__, "key_id", key_id) + _setter("key_id", key_id) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if properties is not None: - pulumi.set(__self__, "properties", properties) + _setter("properties", properties) if source is not None: - pulumi.set(__self__, "source", source) + _setter("source", source) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter(name="credentialType") @@ -803,10 +976,21 @@ def __init__(__self__, *, :param pulumi.Input[str] name: (Updatable) Property Name. :param pulumi.Input[str] value: (Updatable) Property Value. """ + MonitoredResourceCredentialsPropertyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -852,17 +1036,38 @@ def __init__(__self__, *, :param pulumi.Input[str] db_unique_name: (Updatable) UniqueName used for database connection requests. :param pulumi.Input[str] ssl_secret_id: (Updatable) SSL Secret Identifier for TCPS connector in Oracle Cloud Infrastructure Vault[OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). """ - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "service_name", service_name) + MonitoredResourceDatabaseConnectionDetailsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + port=port, + protocol=protocol, + service_name=service_name, + connector_id=connector_id, + db_id=db_id, + db_unique_name=db_unique_name, + ssl_secret_id=ssl_secret_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + port: pulumi.Input[int], + protocol: pulumi.Input[str], + service_name: pulumi.Input[str], + connector_id: Optional[pulumi.Input[str]] = None, + db_id: Optional[pulumi.Input[str]] = None, + db_unique_name: Optional[pulumi.Input[str]] = None, + ssl_secret_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("port", port) + _setter("protocol", protocol) + _setter("service_name", service_name) if connector_id is not None: - pulumi.set(__self__, "connector_id", connector_id) + _setter("connector_id", connector_id) if db_id is not None: - pulumi.set(__self__, "db_id", db_id) + _setter("db_id", db_id) if db_unique_name is not None: - pulumi.set(__self__, "db_unique_name", db_unique_name) + _setter("db_unique_name", db_unique_name) if ssl_secret_id is not None: - pulumi.set(__self__, "ssl_secret_id", ssl_secret_id) + _setter("ssl_secret_id", ssl_secret_id) @property @pulumi.getter @@ -958,10 +1163,21 @@ def __init__(__self__, *, :param pulumi.Input[str] name: (Updatable) Property Name. :param pulumi.Input[str] value: (Updatable) Property Value. """ + MonitoredResourcePropertyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -999,12 +1215,25 @@ def __init__(__self__, *, :param pulumi.Input[str] name: Monitored Resource Name. :param pulumi.Input[str] type: Monitored Resource Type. """ + MonitoredResourcesAssociateMonitoredResourceDestinationResourceDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + name=name, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter(name="compartmentId") @@ -1054,12 +1283,25 @@ def __init__(__self__, *, :param pulumi.Input[str] name: Monitored Resource Name. :param pulumi.Input[str] type: Monitored Resource Type. """ + MonitoredResourcesAssociateMonitoredResourceSourceResourceDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + name=name, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter(name="compartmentId") @@ -1127,30 +1369,61 @@ def __init__(__self__, *, :param pulumi.Input[str] state: The current state of the Resource. :param pulumi.Input[Mapping[str, Any]] system_tags: Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` """ + MonitoredResourcesListMemberItemArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + external_id=external_id, + freeform_tags=freeform_tags, + host_name=host_name, + parent_id=parent_id, + resource_display_name=resource_display_name, + resource_id=resource_id, + resource_name=resource_name, + resource_type=resource_type, + state=state, + system_tags=system_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + external_id: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + host_name: Optional[pulumi.Input[str]] = None, + parent_id: Optional[pulumi.Input[str]] = None, + resource_display_name: Optional[pulumi.Input[str]] = None, + resource_id: Optional[pulumi.Input[str]] = None, + resource_name: Optional[pulumi.Input[str]] = None, + resource_type: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if external_id is not None: - pulumi.set(__self__, "external_id", external_id) + _setter("external_id", external_id) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if host_name is not None: - pulumi.set(__self__, "host_name", host_name) + _setter("host_name", host_name) if parent_id is not None: - pulumi.set(__self__, "parent_id", parent_id) + _setter("parent_id", parent_id) if resource_display_name is not None: - pulumi.set(__self__, "resource_display_name", resource_display_name) + _setter("resource_display_name", resource_display_name) if resource_id is not None: - pulumi.set(__self__, "resource_id", resource_id) + _setter("resource_id", resource_id) if resource_name is not None: - pulumi.set(__self__, "resource_name", resource_name) + _setter("resource_name", resource_name) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) @property @pulumi.getter(name="compartmentId") @@ -1314,18 +1587,37 @@ def __init__(__self__, *, :param pulumi.Input[str] source_resource_id: Source Monitored Resource Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). :param pulumi.Input[str] time_created: The association creation time. An RFC3339 formatted datetime string. """ + MonitoredResourcesSearchAssociationItemArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + association_type=association_type, + destination_resource_details=destination_resource_details, + destination_resource_id=destination_resource_id, + source_resource_details=source_resource_details, + source_resource_id=source_resource_id, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + association_type: Optional[pulumi.Input[str]] = None, + destination_resource_details: Optional[pulumi.Input[Sequence[pulumi.Input['MonitoredResourcesSearchAssociationItemDestinationResourceDetailArgs']]]] = None, + destination_resource_id: Optional[pulumi.Input[str]] = None, + source_resource_details: Optional[pulumi.Input[Sequence[pulumi.Input['MonitoredResourcesSearchAssociationItemSourceResourceDetailArgs']]]] = None, + source_resource_id: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if association_type is not None: - pulumi.set(__self__, "association_type", association_type) + _setter("association_type", association_type) if destination_resource_details is not None: - pulumi.set(__self__, "destination_resource_details", destination_resource_details) + _setter("destination_resource_details", destination_resource_details) if destination_resource_id is not None: - pulumi.set(__self__, "destination_resource_id", destination_resource_id) + _setter("destination_resource_id", destination_resource_id) if source_resource_details is not None: - pulumi.set(__self__, "source_resource_details", source_resource_details) + _setter("source_resource_details", source_resource_details) if source_resource_id is not None: - pulumi.set(__self__, "source_resource_id", source_resource_id) + _setter("source_resource_id", source_resource_id) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="associationType") @@ -1411,12 +1703,25 @@ def __init__(__self__, *, :param pulumi.Input[str] name: Monitored Resource Name. :param pulumi.Input[str] type: Monitored Resource Type. """ + MonitoredResourcesSearchAssociationItemDestinationResourceDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + name=name, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter(name="compartmentId") @@ -1466,12 +1771,25 @@ def __init__(__self__, *, :param pulumi.Input[str] name: Monitored Resource Name. :param pulumi.Input[str] type: Monitored Resource Type. """ + MonitoredResourcesSearchAssociationItemSourceResourceDetailArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + name=name, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter(name="compartmentId") @@ -1547,34 +1865,69 @@ def __init__(__self__, *, ** 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 """ + MonitoredResourcesSearchItemArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + defined_tags=defined_tags, + display_name=display_name, + external_id=external_id, + freeform_tags=freeform_tags, + host_name=host_name, + id=id, + management_agent_id=management_agent_id, + name=name, + properties=properties, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + external_id: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + host_name: Optional[pulumi.Input[str]] = None, + id: Optional[pulumi.Input[str]] = None, + management_agent_id: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input[Sequence[pulumi.Input['MonitoredResourcesSearchItemPropertyArgs']]]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if external_id is not None: - pulumi.set(__self__, "external_id", external_id) + _setter("external_id", external_id) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if host_name is not None: - pulumi.set(__self__, "host_name", host_name) + _setter("host_name", host_name) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if management_agent_id is not None: - pulumi.set(__self__, "management_agent_id", management_agent_id) + _setter("management_agent_id", management_agent_id) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if properties is not None: - pulumi.set(__self__, "properties", properties) + _setter("properties", properties) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter(name="definedTags") @@ -1758,10 +2111,21 @@ def __init__(__self__, *, :param pulumi.Input[str] name: A filter to return resources that match exact resource name. :param pulumi.Input[str] value: Property Value. """ + MonitoredResourcesSearchItemPropertyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -1794,10 +2158,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetConfigsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1833,10 +2210,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDiscoveryJobLogsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1875,10 +2265,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only discovery jobs that match the entire resource name given. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDiscoveryJobsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/stackmonitoring/config.py b/sdk/python/pulumi_oci/stackmonitoring/config.py index 3802990993..efe586f327 100644 --- a/sdk/python/pulumi_oci/stackmonitoring/config.py +++ b/sdk/python/pulumi_oci/stackmonitoring/config.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['ConfigArgs', 'Config'] @@ -35,16 +35,37 @@ def __init__(__self__, *, :param pulumi.Input[str] display_name: (Updatable) The display name of the configuration. :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "config_type", config_type) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "resource_type", resource_type) + ConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + config_type=config_type, + is_enabled=is_enabled, + resource_type=resource_type, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + config_type: pulumi.Input[str], + is_enabled: pulumi.Input[bool], + resource_type: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("config_type", config_type) + _setter("is_enabled", is_enabled) + _setter("resource_type", resource_type) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="compartmentId") @@ -167,28 +188,57 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The time the configuration was created. An RFC3339 formatted datetime string. :param pulumi.Input[str] time_updated: The time the Config was updated. """ + _ConfigState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + config_type=config_type, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + is_enabled=is_enabled, + resource_type=resource_type, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + config_type: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_enabled: Optional[pulumi.Input[bool]] = None, + resource_type: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if config_type is not None: - pulumi.set(__self__, "config_type", config_type) + _setter("config_type", config_type) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -448,6 +498,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ConfigArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/stackmonitoring/discovery_job.py b/sdk/python/pulumi_oci/stackmonitoring/discovery_job.py index 9a907d78d9..20e77551ce 100644 --- a/sdk/python/pulumi_oci/stackmonitoring/discovery_job.py +++ b/sdk/python/pulumi_oci/stackmonitoring/discovery_job.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -37,18 +37,39 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "discovery_details", discovery_details) + DiscoveryJobArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + discovery_details=discovery_details, + defined_tags=defined_tags, + discovery_client=discovery_client, + discovery_type=discovery_type, + freeform_tags=freeform_tags, + should_propagate_tags_to_discovered_resources=should_propagate_tags_to_discovered_resources, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + discovery_details: pulumi.Input['DiscoveryJobDiscoveryDetailsArgs'], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + discovery_client: Optional[pulumi.Input[str]] = None, + discovery_type: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + should_propagate_tags_to_discovered_resources: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("discovery_details", discovery_details) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if discovery_client is not None: - pulumi.set(__self__, "discovery_client", discovery_client) + _setter("discovery_client", discovery_client) if discovery_type is not None: - pulumi.set(__self__, "discovery_type", discovery_type) + _setter("discovery_type", discovery_type) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if should_propagate_tags_to_discovered_resources is not None: - pulumi.set(__self__, "should_propagate_tags_to_discovered_resources", should_propagate_tags_to_discovered_resources) + _setter("should_propagate_tags_to_discovered_resources", should_propagate_tags_to_discovered_resources) @property @pulumi.getter(name="compartmentId") @@ -177,34 +198,69 @@ def __init__(__self__, *, :param pulumi.Input[str] time_updated: The time the discovery Job was updated. :param pulumi.Input[str] user_id: The OCID of user in which the job is submitted """ + _DiscoveryJobState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + discovery_client=discovery_client, + discovery_details=discovery_details, + discovery_type=discovery_type, + freeform_tags=freeform_tags, + should_propagate_tags_to_discovered_resources=should_propagate_tags_to_discovered_resources, + state=state, + status=status, + status_message=status_message, + system_tags=system_tags, + tenant_id=tenant_id, + time_updated=time_updated, + user_id=user_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + discovery_client: Optional[pulumi.Input[str]] = None, + discovery_details: Optional[pulumi.Input['DiscoveryJobDiscoveryDetailsArgs']] = None, + discovery_type: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + should_propagate_tags_to_discovered_resources: Optional[pulumi.Input[bool]] = None, + state: Optional[pulumi.Input[str]] = None, + status: Optional[pulumi.Input[str]] = None, + status_message: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + tenant_id: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + user_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if discovery_client is not None: - pulumi.set(__self__, "discovery_client", discovery_client) + _setter("discovery_client", discovery_client) if discovery_details is not None: - pulumi.set(__self__, "discovery_details", discovery_details) + _setter("discovery_details", discovery_details) if discovery_type is not None: - pulumi.set(__self__, "discovery_type", discovery_type) + _setter("discovery_type", discovery_type) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if should_propagate_tags_to_discovered_resources is not None: - pulumi.set(__self__, "should_propagate_tags_to_discovered_resources", should_propagate_tags_to_discovered_resources) + _setter("should_propagate_tags_to_discovered_resources", should_propagate_tags_to_discovered_resources) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if status is not None: - pulumi.set(__self__, "status", status) + _setter("status", status) if status_message is not None: - pulumi.set(__self__, "status_message", status_message) + _setter("status_message", status_message) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if tenant_id is not None: - pulumi.set(__self__, "tenant_id", tenant_id) + _setter("tenant_id", tenant_id) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if user_id is not None: - pulumi.set(__self__, "user_id", user_id) + _setter("user_id", user_id) @property @pulumi.getter(name="compartmentId") @@ -526,6 +582,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + DiscoveryJobArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -552,6 +612,11 @@ def _internal_init(__self__, __props__.__dict__["compartment_id"] = compartment_id __props__.__dict__["defined_tags"] = defined_tags __props__.__dict__["discovery_client"] = discovery_client + if discovery_details is not None and not isinstance(discovery_details, DiscoveryJobDiscoveryDetailsArgs): + discovery_details = discovery_details or {} + def _setter(key, value): + discovery_details[key] = value + DiscoveryJobDiscoveryDetailsArgs._configure(_setter, **discovery_details) if discovery_details is None and not opts.urn: raise TypeError("Missing required property 'discovery_details'") __props__.__dict__["discovery_details"] = discovery_details diff --git a/sdk/python/pulumi_oci/stackmonitoring/get_config.py b/sdk/python/pulumi_oci/stackmonitoring/get_config.py index 0b288e22e5..515ba7b807 100644 --- a/sdk/python/pulumi_oci/stackmonitoring/get_config.py +++ b/sdk/python/pulumi_oci/stackmonitoring/get_config.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/stackmonitoring/get_configs.py b/sdk/python/pulumi_oci/stackmonitoring/get_configs.py index b3669ca65c..2b7436eeee 100644 --- a/sdk/python/pulumi_oci/stackmonitoring/get_configs.py +++ b/sdk/python/pulumi_oci/stackmonitoring/get_configs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/stackmonitoring/get_discovery_job.py b/sdk/python/pulumi_oci/stackmonitoring/get_discovery_job.py index 2685fbd832..1a55f95e0e 100644 --- a/sdk/python/pulumi_oci/stackmonitoring/get_discovery_job.py +++ b/sdk/python/pulumi_oci/stackmonitoring/get_discovery_job.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/stackmonitoring/get_discovery_job_logs.py b/sdk/python/pulumi_oci/stackmonitoring/get_discovery_job_logs.py index 27c213df36..c204631d02 100644 --- a/sdk/python/pulumi_oci/stackmonitoring/get_discovery_job_logs.py +++ b/sdk/python/pulumi_oci/stackmonitoring/get_discovery_job_logs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/stackmonitoring/get_discovery_jobs.py b/sdk/python/pulumi_oci/stackmonitoring/get_discovery_jobs.py index 0fba0d939f..748e885503 100644 --- a/sdk/python/pulumi_oci/stackmonitoring/get_discovery_jobs.py +++ b/sdk/python/pulumi_oci/stackmonitoring/get_discovery_jobs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/stackmonitoring/get_monitored_resource.py b/sdk/python/pulumi_oci/stackmonitoring/get_monitored_resource.py index 8a3c58ac8d..ebaf60aa70 100644 --- a/sdk/python/pulumi_oci/stackmonitoring/get_monitored_resource.py +++ b/sdk/python/pulumi_oci/stackmonitoring/get_monitored_resource.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/stackmonitoring/monitored_resource.py b/sdk/python/pulumi_oci/stackmonitoring/monitored_resource.py index f21df8c9d4..5c79c66b03 100644 --- a/sdk/python/pulumi_oci/stackmonitoring/monitored_resource.py +++ b/sdk/python/pulumi_oci/stackmonitoring/monitored_resource.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -57,38 +57,79 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['MonitoredResourcePropertyArgs']]] properties: (Updatable) List of monitored resource properties. :param pulumi.Input[str] resource_time_zone: (Updatable) Time zone in the form of tz database canonical zone ID. Specifies the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "type", type) + MonitoredResourceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + type=type, + additional_aliases=additional_aliases, + additional_credentials=additional_credentials, + aliases=aliases, + credentials=credentials, + database_connection_details=database_connection_details, + defined_tags=defined_tags, + display_name=display_name, + external_id=external_id, + external_resource_id=external_resource_id, + freeform_tags=freeform_tags, + host_name=host_name, + management_agent_id=management_agent_id, + name=name, + properties=properties, + resource_time_zone=resource_time_zone, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + type: pulumi.Input[str], + additional_aliases: Optional[pulumi.Input[Sequence[pulumi.Input['MonitoredResourceAdditionalAliasArgs']]]] = None, + additional_credentials: Optional[pulumi.Input[Sequence[pulumi.Input['MonitoredResourceAdditionalCredentialArgs']]]] = None, + aliases: Optional[pulumi.Input['MonitoredResourceAliasesArgs']] = None, + credentials: Optional[pulumi.Input['MonitoredResourceCredentialsArgs']] = None, + database_connection_details: Optional[pulumi.Input['MonitoredResourceDatabaseConnectionDetailsArgs']] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + external_id: Optional[pulumi.Input[str]] = None, + external_resource_id: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + host_name: Optional[pulumi.Input[str]] = None, + management_agent_id: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input[Sequence[pulumi.Input['MonitoredResourcePropertyArgs']]]] = None, + resource_time_zone: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("type", type) if additional_aliases is not None: - pulumi.set(__self__, "additional_aliases", additional_aliases) + _setter("additional_aliases", additional_aliases) if additional_credentials is not None: - pulumi.set(__self__, "additional_credentials", additional_credentials) + _setter("additional_credentials", additional_credentials) if aliases is not None: - pulumi.set(__self__, "aliases", aliases) + _setter("aliases", aliases) if credentials is not None: - pulumi.set(__self__, "credentials", credentials) + _setter("credentials", credentials) if database_connection_details is not None: - pulumi.set(__self__, "database_connection_details", database_connection_details) + _setter("database_connection_details", database_connection_details) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if external_id is not None: - pulumi.set(__self__, "external_id", external_id) + _setter("external_id", external_id) if external_resource_id is not None: - pulumi.set(__self__, "external_resource_id", external_resource_id) + _setter("external_resource_id", external_resource_id) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if host_name is not None: - pulumi.set(__self__, "host_name", host_name) + _setter("host_name", host_name) if management_agent_id is not None: - pulumi.set(__self__, "management_agent_id", management_agent_id) + _setter("management_agent_id", management_agent_id) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if properties is not None: - pulumi.set(__self__, "properties", properties) + _setter("properties", properties) if resource_time_zone is not None: - pulumi.set(__self__, "resource_time_zone", resource_time_zone) + _setter("resource_time_zone", resource_time_zone) @property @pulumi.getter(name="compartmentId") @@ -353,50 +394,101 @@ def __init__(__self__, *, ** 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 """ + _MonitoredResourceState._configure( + lambda key, value: pulumi.set(__self__, key, value), + additional_aliases=additional_aliases, + additional_credentials=additional_credentials, + aliases=aliases, + compartment_id=compartment_id, + credentials=credentials, + database_connection_details=database_connection_details, + defined_tags=defined_tags, + display_name=display_name, + external_id=external_id, + external_resource_id=external_resource_id, + freeform_tags=freeform_tags, + host_name=host_name, + management_agent_id=management_agent_id, + name=name, + properties=properties, + resource_time_zone=resource_time_zone, + state=state, + system_tags=system_tags, + tenant_id=tenant_id, + time_created=time_created, + time_updated=time_updated, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + additional_aliases: Optional[pulumi.Input[Sequence[pulumi.Input['MonitoredResourceAdditionalAliasArgs']]]] = None, + additional_credentials: Optional[pulumi.Input[Sequence[pulumi.Input['MonitoredResourceAdditionalCredentialArgs']]]] = None, + aliases: Optional[pulumi.Input['MonitoredResourceAliasesArgs']] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + credentials: Optional[pulumi.Input['MonitoredResourceCredentialsArgs']] = None, + database_connection_details: Optional[pulumi.Input['MonitoredResourceDatabaseConnectionDetailsArgs']] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + external_id: Optional[pulumi.Input[str]] = None, + external_resource_id: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + host_name: Optional[pulumi.Input[str]] = None, + management_agent_id: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + properties: Optional[pulumi.Input[Sequence[pulumi.Input['MonitoredResourcePropertyArgs']]]] = None, + resource_time_zone: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + tenant_id: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if additional_aliases is not None: - pulumi.set(__self__, "additional_aliases", additional_aliases) + _setter("additional_aliases", additional_aliases) if additional_credentials is not None: - pulumi.set(__self__, "additional_credentials", additional_credentials) + _setter("additional_credentials", additional_credentials) if aliases is not None: - pulumi.set(__self__, "aliases", aliases) + _setter("aliases", aliases) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if credentials is not None: - pulumi.set(__self__, "credentials", credentials) + _setter("credentials", credentials) if database_connection_details is not None: - pulumi.set(__self__, "database_connection_details", database_connection_details) + _setter("database_connection_details", database_connection_details) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if external_id is not None: - pulumi.set(__self__, "external_id", external_id) + _setter("external_id", external_id) if external_resource_id is not None: - pulumi.set(__self__, "external_resource_id", external_resource_id) + _setter("external_resource_id", external_resource_id) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if host_name is not None: - pulumi.set(__self__, "host_name", host_name) + _setter("host_name", host_name) if management_agent_id is not None: - pulumi.set(__self__, "management_agent_id", management_agent_id) + _setter("management_agent_id", management_agent_id) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if properties is not None: - pulumi.set(__self__, "properties", properties) + _setter("properties", properties) if resource_time_zone is not None: - pulumi.set(__self__, "resource_time_zone", resource_time_zone) + _setter("resource_time_zone", resource_time_zone) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if tenant_id is not None: - pulumi.set(__self__, "tenant_id", tenant_id) + _setter("tenant_id", tenant_id) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter(name="additionalAliases") @@ -916,6 +1008,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + MonitoredResourceArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -949,11 +1045,26 @@ def _internal_init(__self__, __props__.__dict__["additional_aliases"] = additional_aliases __props__.__dict__["additional_credentials"] = additional_credentials + if aliases is not None and not isinstance(aliases, MonitoredResourceAliasesArgs): + aliases = aliases or {} + def _setter(key, value): + aliases[key] = value + MonitoredResourceAliasesArgs._configure(_setter, **aliases) __props__.__dict__["aliases"] = aliases if compartment_id is None and not opts.urn: raise TypeError("Missing required property 'compartment_id'") __props__.__dict__["compartment_id"] = compartment_id + if credentials is not None and not isinstance(credentials, MonitoredResourceCredentialsArgs): + credentials = credentials or {} + def _setter(key, value): + credentials[key] = value + MonitoredResourceCredentialsArgs._configure(_setter, **credentials) __props__.__dict__["credentials"] = credentials + if database_connection_details is not None and not isinstance(database_connection_details, MonitoredResourceDatabaseConnectionDetailsArgs): + database_connection_details = database_connection_details or {} + def _setter(key, value): + database_connection_details[key] = value + MonitoredResourceDatabaseConnectionDetailsArgs._configure(_setter, **database_connection_details) __props__.__dict__["database_connection_details"] = database_connection_details __props__.__dict__["defined_tags"] = defined_tags __props__.__dict__["display_name"] = display_name diff --git a/sdk/python/pulumi_oci/stackmonitoring/monitored_resources_associate_monitored_resource.py b/sdk/python/pulumi_oci/stackmonitoring/monitored_resources_associate_monitored_resource.py index 9badaac485..8ff3809ec8 100644 --- a/sdk/python/pulumi_oci/stackmonitoring/monitored_resources_associate_monitored_resource.py +++ b/sdk/python/pulumi_oci/stackmonitoring/monitored_resources_associate_monitored_resource.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -31,10 +31,25 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "association_type", association_type) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "destination_resource_id", destination_resource_id) - pulumi.set(__self__, "source_resource_id", source_resource_id) + MonitoredResourcesAssociateMonitoredResourceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + association_type=association_type, + compartment_id=compartment_id, + destination_resource_id=destination_resource_id, + source_resource_id=source_resource_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + association_type: pulumi.Input[str], + compartment_id: pulumi.Input[str], + destination_resource_id: pulumi.Input[str], + source_resource_id: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("association_type", association_type) + _setter("compartment_id", compartment_id) + _setter("destination_resource_id", destination_resource_id) + _setter("source_resource_id", source_resource_id) @property @pulumi.getter(name="associationType") @@ -120,24 +135,49 @@ def __init__(__self__, *, :param pulumi.Input[str] tenant_id: Tenancy Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). :param pulumi.Input[str] time_created: The time when the association was created. An RFC3339 formatted datetime string. """ + _MonitoredResourcesAssociateMonitoredResourceState._configure( + lambda key, value: pulumi.set(__self__, key, value), + association_type=association_type, + category=category, + compartment_id=compartment_id, + destination_resource_details=destination_resource_details, + destination_resource_id=destination_resource_id, + source_resource_details=source_resource_details, + source_resource_id=source_resource_id, + tenant_id=tenant_id, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + association_type: Optional[pulumi.Input[str]] = None, + category: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + destination_resource_details: Optional[pulumi.Input[Sequence[pulumi.Input['MonitoredResourcesAssociateMonitoredResourceDestinationResourceDetailArgs']]]] = None, + destination_resource_id: Optional[pulumi.Input[str]] = None, + source_resource_details: Optional[pulumi.Input[Sequence[pulumi.Input['MonitoredResourcesAssociateMonitoredResourceSourceResourceDetailArgs']]]] = None, + source_resource_id: Optional[pulumi.Input[str]] = None, + tenant_id: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if association_type is not None: - pulumi.set(__self__, "association_type", association_type) + _setter("association_type", association_type) if category is not None: - pulumi.set(__self__, "category", category) + _setter("category", category) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if destination_resource_details is not None: - pulumi.set(__self__, "destination_resource_details", destination_resource_details) + _setter("destination_resource_details", destination_resource_details) if destination_resource_id is not None: - pulumi.set(__self__, "destination_resource_id", destination_resource_id) + _setter("destination_resource_id", destination_resource_id) if source_resource_details is not None: - pulumi.set(__self__, "source_resource_details", source_resource_details) + _setter("source_resource_details", source_resource_details) if source_resource_id is not None: - pulumi.set(__self__, "source_resource_id", source_resource_id) + _setter("source_resource_id", source_resource_id) if tenant_id is not None: - pulumi.set(__self__, "tenant_id", tenant_id) + _setter("tenant_id", tenant_id) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="associationType") @@ -348,6 +388,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + MonitoredResourcesAssociateMonitoredResourceArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/stackmonitoring/monitored_resources_list_member.py b/sdk/python/pulumi_oci/stackmonitoring/monitored_resources_list_member.py index d57aa8f574..f2c05bc351 100644 --- a/sdk/python/pulumi_oci/stackmonitoring/monitored_resources_list_member.py +++ b/sdk/python/pulumi_oci/stackmonitoring/monitored_resources_list_member.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -29,11 +29,24 @@ def __init__(__self__, *, :param pulumi.Input[str] destination_resource_id: Destination Monitored Resource Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). :param pulumi.Input[int] limit_level: The field which determines the depth of hierarchy while searching for members. """ - pulumi.set(__self__, "monitored_resource_id", monitored_resource_id) + MonitoredResourcesListMemberArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + monitored_resource_id=monitored_resource_id, + destination_resource_id=destination_resource_id, + limit_level=limit_level, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + monitored_resource_id: pulumi.Input[str], + destination_resource_id: Optional[pulumi.Input[str]] = None, + limit_level: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("monitored_resource_id", monitored_resource_id) if destination_resource_id is not None: - pulumi.set(__self__, "destination_resource_id", destination_resource_id) + _setter("destination_resource_id", destination_resource_id) if limit_level is not None: - pulumi.set(__self__, "limit_level", limit_level) + _setter("limit_level", limit_level) @property @pulumi.getter(name="monitoredResourceId") @@ -94,14 +107,29 @@ def __init__(__self__, *, ** 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 """ + _MonitoredResourcesListMemberState._configure( + lambda key, value: pulumi.set(__self__, key, value), + destination_resource_id=destination_resource_id, + items=items, + limit_level=limit_level, + monitored_resource_id=monitored_resource_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + destination_resource_id: Optional[pulumi.Input[str]] = None, + items: Optional[pulumi.Input[Sequence[pulumi.Input['MonitoredResourcesListMemberItemArgs']]]] = None, + limit_level: Optional[pulumi.Input[int]] = None, + monitored_resource_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if destination_resource_id is not None: - pulumi.set(__self__, "destination_resource_id", destination_resource_id) + _setter("destination_resource_id", destination_resource_id) if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) if limit_level is not None: - pulumi.set(__self__, "limit_level", limit_level) + _setter("limit_level", limit_level) if monitored_resource_id is not None: - pulumi.set(__self__, "monitored_resource_id", monitored_resource_id) + _setter("monitored_resource_id", monitored_resource_id) @property @pulumi.getter(name="destinationResourceId") @@ -241,6 +269,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + MonitoredResourcesListMemberArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/stackmonitoring/monitored_resources_search.py b/sdk/python/pulumi_oci/stackmonitoring/monitored_resources_search.py index a135b85751..437e30a445 100644 --- a/sdk/python/pulumi_oci/stackmonitoring/monitored_resources_search.py +++ b/sdk/python/pulumi_oci/stackmonitoring/monitored_resources_search.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -65,39 +65,80 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) + MonitoredResourcesSearchArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + exclude_fields=exclude_fields, + external_id=external_id, + fields=fields, + host_name=host_name, + host_name_contains=host_name_contains, + management_agent_id=management_agent_id, + name=name, + name_contains=name_contains, + property_equals=property_equals, + resource_time_zone=resource_time_zone, + state=state, + time_created_greater_than_or_equal_to=time_created_greater_than_or_equal_to, + time_created_less_than=time_created_less_than, + time_updated_greater_than_or_equal_to=time_updated_greater_than_or_equal_to, + time_updated_less_than=time_updated_less_than, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + exclude_fields: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + external_id: Optional[pulumi.Input[str]] = None, + fields: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + host_name: Optional[pulumi.Input[str]] = None, + host_name_contains: Optional[pulumi.Input[str]] = None, + management_agent_id: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + name_contains: Optional[pulumi.Input[str]] = None, + property_equals: Optional[pulumi.Input[Mapping[str, Any]]] = None, + resource_time_zone: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created_greater_than_or_equal_to: Optional[pulumi.Input[str]] = None, + time_created_less_than: Optional[pulumi.Input[str]] = None, + time_updated_greater_than_or_equal_to: Optional[pulumi.Input[str]] = None, + time_updated_less_than: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) if exclude_fields is not None: - pulumi.set(__self__, "exclude_fields", exclude_fields) + _setter("exclude_fields", exclude_fields) if external_id is not None: - pulumi.set(__self__, "external_id", external_id) + _setter("external_id", external_id) if fields is not None: - pulumi.set(__self__, "fields", fields) + _setter("fields", fields) if host_name is not None: - pulumi.set(__self__, "host_name", host_name) + _setter("host_name", host_name) if host_name_contains is not None: - pulumi.set(__self__, "host_name_contains", host_name_contains) + _setter("host_name_contains", host_name_contains) if management_agent_id is not None: - pulumi.set(__self__, "management_agent_id", management_agent_id) + _setter("management_agent_id", management_agent_id) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if name_contains is not None: - pulumi.set(__self__, "name_contains", name_contains) + _setter("name_contains", name_contains) if property_equals is not None: - pulumi.set(__self__, "property_equals", property_equals) + _setter("property_equals", property_equals) if resource_time_zone is not None: - pulumi.set(__self__, "resource_time_zone", resource_time_zone) + _setter("resource_time_zone", resource_time_zone) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created_greater_than_or_equal_to is not None: - pulumi.set(__self__, "time_created_greater_than_or_equal_to", time_created_greater_than_or_equal_to) + _setter("time_created_greater_than_or_equal_to", time_created_greater_than_or_equal_to) if time_created_less_than is not None: - pulumi.set(__self__, "time_created_less_than", time_created_less_than) + _setter("time_created_less_than", time_created_less_than) if time_updated_greater_than_or_equal_to is not None: - pulumi.set(__self__, "time_updated_greater_than_or_equal_to", time_updated_greater_than_or_equal_to) + _setter("time_updated_greater_than_or_equal_to", time_updated_greater_than_or_equal_to) if time_updated_less_than is not None: - pulumi.set(__self__, "time_updated_less_than", time_updated_less_than) + _setter("time_updated_less_than", time_updated_less_than) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter(name="compartmentId") @@ -370,42 +411,85 @@ def __init__(__self__, *, ** 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 """ + _MonitoredResourcesSearchState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + exclude_fields=exclude_fields, + external_id=external_id, + fields=fields, + host_name=host_name, + host_name_contains=host_name_contains, + items=items, + management_agent_id=management_agent_id, + name=name, + name_contains=name_contains, + property_equals=property_equals, + resource_time_zone=resource_time_zone, + state=state, + time_created_greater_than_or_equal_to=time_created_greater_than_or_equal_to, + time_created_less_than=time_created_less_than, + time_updated_greater_than_or_equal_to=time_updated_greater_than_or_equal_to, + time_updated_less_than=time_updated_less_than, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + exclude_fields: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + external_id: Optional[pulumi.Input[str]] = None, + fields: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + host_name: Optional[pulumi.Input[str]] = None, + host_name_contains: Optional[pulumi.Input[str]] = None, + items: Optional[pulumi.Input[Sequence[pulumi.Input['MonitoredResourcesSearchItemArgs']]]] = None, + management_agent_id: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + name_contains: Optional[pulumi.Input[str]] = None, + property_equals: Optional[pulumi.Input[Mapping[str, Any]]] = None, + resource_time_zone: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created_greater_than_or_equal_to: Optional[pulumi.Input[str]] = None, + time_created_less_than: Optional[pulumi.Input[str]] = None, + time_updated_greater_than_or_equal_to: Optional[pulumi.Input[str]] = None, + time_updated_less_than: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if exclude_fields is not None: - pulumi.set(__self__, "exclude_fields", exclude_fields) + _setter("exclude_fields", exclude_fields) if external_id is not None: - pulumi.set(__self__, "external_id", external_id) + _setter("external_id", external_id) if fields is not None: - pulumi.set(__self__, "fields", fields) + _setter("fields", fields) if host_name is not None: - pulumi.set(__self__, "host_name", host_name) + _setter("host_name", host_name) if host_name_contains is not None: - pulumi.set(__self__, "host_name_contains", host_name_contains) + _setter("host_name_contains", host_name_contains) if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) if management_agent_id is not None: - pulumi.set(__self__, "management_agent_id", management_agent_id) + _setter("management_agent_id", management_agent_id) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if name_contains is not None: - pulumi.set(__self__, "name_contains", name_contains) + _setter("name_contains", name_contains) if property_equals is not None: - pulumi.set(__self__, "property_equals", property_equals) + _setter("property_equals", property_equals) if resource_time_zone is not None: - pulumi.set(__self__, "resource_time_zone", resource_time_zone) + _setter("resource_time_zone", resource_time_zone) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created_greater_than_or_equal_to is not None: - pulumi.set(__self__, "time_created_greater_than_or_equal_to", time_created_greater_than_or_equal_to) + _setter("time_created_greater_than_or_equal_to", time_created_greater_than_or_equal_to) if time_created_less_than is not None: - pulumi.set(__self__, "time_created_less_than", time_created_less_than) + _setter("time_created_less_than", time_created_less_than) if time_updated_greater_than_or_equal_to is not None: - pulumi.set(__self__, "time_updated_greater_than_or_equal_to", time_updated_greater_than_or_equal_to) + _setter("time_updated_greater_than_or_equal_to", time_updated_greater_than_or_equal_to) if time_updated_less_than is not None: - pulumi.set(__self__, "time_updated_less_than", time_updated_less_than) + _setter("time_updated_less_than", time_updated_less_than) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter(name="compartmentId") @@ -783,6 +867,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + MonitoredResourcesSearchArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/stackmonitoring/monitored_resources_search_association.py b/sdk/python/pulumi_oci/stackmonitoring/monitored_resources_search_association.py index 7d974d74b0..746acb9c96 100644 --- a/sdk/python/pulumi_oci/stackmonitoring/monitored_resources_search_association.py +++ b/sdk/python/pulumi_oci/stackmonitoring/monitored_resources_search_association.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -39,21 +39,44 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) + MonitoredResourcesSearchAssociationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + association_type=association_type, + destination_resource_id=destination_resource_id, + destination_resource_name=destination_resource_name, + destination_resource_type=destination_resource_type, + source_resource_id=source_resource_id, + source_resource_name=source_resource_name, + source_resource_type=source_resource_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + association_type: Optional[pulumi.Input[str]] = None, + destination_resource_id: Optional[pulumi.Input[str]] = None, + destination_resource_name: Optional[pulumi.Input[str]] = None, + destination_resource_type: Optional[pulumi.Input[str]] = None, + source_resource_id: Optional[pulumi.Input[str]] = None, + source_resource_name: Optional[pulumi.Input[str]] = None, + source_resource_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) if association_type is not None: - pulumi.set(__self__, "association_type", association_type) + _setter("association_type", association_type) if destination_resource_id is not None: - pulumi.set(__self__, "destination_resource_id", destination_resource_id) + _setter("destination_resource_id", destination_resource_id) if destination_resource_name is not None: - pulumi.set(__self__, "destination_resource_name", destination_resource_name) + _setter("destination_resource_name", destination_resource_name) if destination_resource_type is not None: - pulumi.set(__self__, "destination_resource_type", destination_resource_type) + _setter("destination_resource_type", destination_resource_type) if source_resource_id is not None: - pulumi.set(__self__, "source_resource_id", source_resource_id) + _setter("source_resource_id", source_resource_id) if source_resource_name is not None: - pulumi.set(__self__, "source_resource_name", source_resource_name) + _setter("source_resource_name", source_resource_name) if source_resource_type is not None: - pulumi.set(__self__, "source_resource_type", source_resource_type) + _setter("source_resource_type", source_resource_type) @property @pulumi.getter(name="compartmentId") @@ -184,24 +207,49 @@ def __init__(__self__, *, ** 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 """ + _MonitoredResourcesSearchAssociationState._configure( + lambda key, value: pulumi.set(__self__, key, value), + association_type=association_type, + compartment_id=compartment_id, + destination_resource_id=destination_resource_id, + destination_resource_name=destination_resource_name, + destination_resource_type=destination_resource_type, + items=items, + source_resource_id=source_resource_id, + source_resource_name=source_resource_name, + source_resource_type=source_resource_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + association_type: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + destination_resource_id: Optional[pulumi.Input[str]] = None, + destination_resource_name: Optional[pulumi.Input[str]] = None, + destination_resource_type: Optional[pulumi.Input[str]] = None, + items: Optional[pulumi.Input[Sequence[pulumi.Input['MonitoredResourcesSearchAssociationItemArgs']]]] = None, + source_resource_id: Optional[pulumi.Input[str]] = None, + source_resource_name: Optional[pulumi.Input[str]] = None, + source_resource_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if association_type is not None: - pulumi.set(__self__, "association_type", association_type) + _setter("association_type", association_type) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if destination_resource_id is not None: - pulumi.set(__self__, "destination_resource_id", destination_resource_id) + _setter("destination_resource_id", destination_resource_id) if destination_resource_name is not None: - pulumi.set(__self__, "destination_resource_name", destination_resource_name) + _setter("destination_resource_name", destination_resource_name) if destination_resource_type is not None: - pulumi.set(__self__, "destination_resource_type", destination_resource_type) + _setter("destination_resource_type", destination_resource_type) if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) if source_resource_id is not None: - pulumi.set(__self__, "source_resource_id", source_resource_id) + _setter("source_resource_id", source_resource_id) if source_resource_name is not None: - pulumi.set(__self__, "source_resource_name", source_resource_name) + _setter("source_resource_name", source_resource_name) if source_resource_type is not None: - pulumi.set(__self__, "source_resource_type", source_resource_type) + _setter("source_resource_type", source_resource_type) @property @pulumi.getter(name="associationType") @@ -421,6 +469,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + MonitoredResourcesSearchAssociationArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/stackmonitoring/outputs.py b/sdk/python/pulumi_oci/stackmonitoring/outputs.py index c53eb3e339..714ce2eff4 100644 --- a/sdk/python/pulumi_oci/stackmonitoring/outputs.py +++ b/sdk/python/pulumi_oci/stackmonitoring/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -100,14 +100,33 @@ def __init__(__self__, *, :param 'DiscoveryJobDiscoveryDetailsCredentialsArgs' credentials: List of DiscoveryJob Credential Details. :param 'DiscoveryJobDiscoveryDetailsTagsArgs' tags: Property Details """ - pulumi.set(__self__, "agent_id", agent_id) - pulumi.set(__self__, "properties", properties) - pulumi.set(__self__, "resource_name", resource_name) - pulumi.set(__self__, "resource_type", resource_type) + DiscoveryJobDiscoveryDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + agent_id=agent_id, + properties=properties, + resource_name=resource_name, + resource_type=resource_type, + credentials=credentials, + tags=tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agent_id: str, + properties: 'outputs.DiscoveryJobDiscoveryDetailsProperties', + resource_name: str, + resource_type: str, + credentials: Optional['outputs.DiscoveryJobDiscoveryDetailsCredentials'] = None, + tags: Optional['outputs.DiscoveryJobDiscoveryDetailsTags'] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("agent_id", agent_id) + _setter("properties", properties) + _setter("resource_name", resource_name) + _setter("resource_type", resource_type) if credentials is not None: - pulumi.set(__self__, "credentials", credentials) + _setter("credentials", credentials) if tags is not None: - pulumi.set(__self__, "tags", tags) + _setter("tags", tags) @property @pulumi.getter(name="agentId") @@ -165,7 +184,16 @@ def __init__(__self__, *, """ :param Sequence['DiscoveryJobDiscoveryDetailsCredentialsItemArgs'] items: List of DiscoveryJob credentials. """ - pulumi.set(__self__, "items", items) + DiscoveryJobDiscoveryDetailsCredentials._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.DiscoveryJobDiscoveryDetailsCredentialsItem'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -206,9 +234,22 @@ def __init__(__self__, *, :param str credential_type: Name of Credential Type :param 'DiscoveryJobDiscoveryDetailsCredentialsItemPropertiesArgs' properties: Property Details """ - pulumi.set(__self__, "credential_name", credential_name) - pulumi.set(__self__, "credential_type", credential_type) - pulumi.set(__self__, "properties", properties) + DiscoveryJobDiscoveryDetailsCredentialsItem._configure( + lambda key, value: pulumi.set(__self__, key, value), + credential_name=credential_name, + credential_type=credential_type, + properties=properties, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + credential_name: str, + credential_type: str, + properties: 'outputs.DiscoveryJobDiscoveryDetailsCredentialsItemProperties', + opts: Optional[pulumi.ResourceOptions]=None): + _setter("credential_name", credential_name) + _setter("credential_type", credential_type) + _setter("properties", properties) @property @pulumi.getter(name="credentialName") @@ -259,8 +300,17 @@ def __init__(__self__, *, """ :param Mapping[str, Any] properties_map: Key/Value pair of Property """ + DiscoveryJobDiscoveryDetailsCredentialsItemProperties._configure( + lambda key, value: pulumi.set(__self__, key, value), + properties_map=properties_map, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + properties_map: Optional[Mapping[str, Any]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if properties_map is not None: - pulumi.set(__self__, "properties_map", properties_map) + _setter("properties_map", properties_map) @property @pulumi.getter(name="propertiesMap") @@ -295,8 +345,17 @@ def __init__(__self__, *, """ :param Mapping[str, Any] properties_map: Key/Value pair of Property """ + DiscoveryJobDiscoveryDetailsProperties._configure( + lambda key, value: pulumi.set(__self__, key, value), + properties_map=properties_map, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + properties_map: Optional[Mapping[str, Any]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if properties_map is not None: - pulumi.set(__self__, "properties_map", properties_map) + _setter("properties_map", properties_map) @property @pulumi.getter(name="propertiesMap") @@ -331,8 +390,17 @@ def __init__(__self__, *, """ :param Mapping[str, Any] properties_map: Key/Value pair of Property """ + DiscoveryJobDiscoveryDetailsTags._configure( + lambda key, value: pulumi.set(__self__, key, value), + properties_map=properties_map, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + properties_map: Optional[Mapping[str, Any]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if properties_map is not None: - pulumi.set(__self__, "properties_map", properties_map) + _setter("properties_map", properties_map) @property @pulumi.getter(name="propertiesMap") @@ -354,9 +422,22 @@ def __init__(__self__, *, :param str name: (Updatable) Property Name. :param str source: (Updatable) The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. """ - pulumi.set(__self__, "credential", credential) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "source", source) + MonitoredResourceAdditionalAlias._configure( + lambda key, value: pulumi.set(__self__, key, value), + credential=credential, + name=name, + source=source, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + credential: 'outputs.MonitoredResourceAdditionalAliasCredential', + name: str, + source: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("credential", credential) + _setter("name", name) + _setter("source", source) @property @pulumi.getter @@ -394,9 +475,22 @@ def __init__(__self__, *, :param str service: (Updatable) The name of the service owning the credential. Example: stack-monitoring or dbmgmt :param str source: (Updatable) The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "service", service) - pulumi.set(__self__, "source", source) + MonitoredResourceAdditionalAliasCredential._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + service=service, + source=source, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + service: str, + source: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("service", service) + _setter("source", source) @property @pulumi.getter @@ -468,20 +562,41 @@ def __init__(__self__, *, ** 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 """ + MonitoredResourceAdditionalCredential._configure( + lambda key, value: pulumi.set(__self__, key, value), + credential_type=credential_type, + description=description, + key_id=key_id, + name=name, + properties=properties, + source=source, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + credential_type: Optional[str] = None, + description: Optional[str] = None, + key_id: Optional[str] = None, + name: Optional[str] = None, + properties: Optional[Sequence['outputs.MonitoredResourceAdditionalCredentialProperty']] = None, + source: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if credential_type is not None: - pulumi.set(__self__, "credential_type", credential_type) + _setter("credential_type", credential_type) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if key_id is not None: - pulumi.set(__self__, "key_id", key_id) + _setter("key_id", key_id) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if properties is not None: - pulumi.set(__self__, "properties", properties) + _setter("properties", properties) if source is not None: - pulumi.set(__self__, "source", source) + _setter("source", source) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter(name="credentialType") @@ -556,10 +671,21 @@ def __init__(__self__, *, :param str name: (Updatable) Property Name. :param str value: (Updatable) Property Value. """ + MonitoredResourceAdditionalCredentialProperty._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -589,9 +715,22 @@ def __init__(__self__, *, :param str name: (Updatable) Property Name. :param str source: (Updatable) The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. """ - pulumi.set(__self__, "credential", credential) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "source", source) + MonitoredResourceAliases._configure( + lambda key, value: pulumi.set(__self__, key, value), + credential=credential, + name=name, + source=source, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + credential: 'outputs.MonitoredResourceAliasesCredential', + name: str, + source: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("credential", credential) + _setter("name", name) + _setter("source", source) @property @pulumi.getter @@ -629,9 +768,22 @@ def __init__(__self__, *, :param str service: (Updatable) The name of the service owning the credential. Example: stack-monitoring or dbmgmt :param str source: (Updatable) The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "service", service) - pulumi.set(__self__, "source", source) + MonitoredResourceAliasesCredential._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + service=service, + source=source, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + service: str, + source: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("service", service) + _setter("source", source) @property @pulumi.getter @@ -703,20 +855,41 @@ def __init__(__self__, *, ** 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 """ + MonitoredResourceCredentials._configure( + lambda key, value: pulumi.set(__self__, key, value), + credential_type=credential_type, + description=description, + key_id=key_id, + name=name, + properties=properties, + source=source, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + credential_type: Optional[str] = None, + description: Optional[str] = None, + key_id: Optional[str] = None, + name: Optional[str] = None, + properties: Optional[Sequence['outputs.MonitoredResourceCredentialsProperty']] = None, + source: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if credential_type is not None: - pulumi.set(__self__, "credential_type", credential_type) + _setter("credential_type", credential_type) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if key_id is not None: - pulumi.set(__self__, "key_id", key_id) + _setter("key_id", key_id) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if properties is not None: - pulumi.set(__self__, "properties", properties) + _setter("properties", properties) if source is not None: - pulumi.set(__self__, "source", source) + _setter("source", source) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter(name="credentialType") @@ -791,10 +964,21 @@ def __init__(__self__, *, :param str name: (Updatable) Property Name. :param str value: (Updatable) Property Value. """ + MonitoredResourceCredentialsProperty._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -857,17 +1041,38 @@ def __init__(__self__, *, :param str db_unique_name: (Updatable) UniqueName used for database connection requests. :param str ssl_secret_id: (Updatable) SSL Secret Identifier for TCPS connector in Oracle Cloud Infrastructure Vault[OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). """ - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "service_name", service_name) + MonitoredResourceDatabaseConnectionDetails._configure( + lambda key, value: pulumi.set(__self__, key, value), + port=port, + protocol=protocol, + service_name=service_name, + connector_id=connector_id, + db_id=db_id, + db_unique_name=db_unique_name, + ssl_secret_id=ssl_secret_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + port: int, + protocol: str, + service_name: str, + connector_id: Optional[str] = None, + db_id: Optional[str] = None, + db_unique_name: Optional[str] = None, + ssl_secret_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("port", port) + _setter("protocol", protocol) + _setter("service_name", service_name) if connector_id is not None: - pulumi.set(__self__, "connector_id", connector_id) + _setter("connector_id", connector_id) if db_id is not None: - pulumi.set(__self__, "db_id", db_id) + _setter("db_id", db_id) if db_unique_name is not None: - pulumi.set(__self__, "db_unique_name", db_unique_name) + _setter("db_unique_name", db_unique_name) if ssl_secret_id is not None: - pulumi.set(__self__, "ssl_secret_id", ssl_secret_id) + _setter("ssl_secret_id", ssl_secret_id) @property @pulumi.getter @@ -935,10 +1140,21 @@ def __init__(__self__, *, :param str name: (Updatable) Property Name. :param str value: (Updatable) Property Value. """ + MonitoredResourceProperty._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -985,12 +1201,25 @@ def __init__(__self__, *, :param str name: Monitored Resource Name. :param str type: Monitored Resource Type. """ + MonitoredResourcesAssociateMonitoredResourceDestinationResourceDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + name=name, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[str] = None, + name: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter(name="compartmentId") @@ -1045,12 +1274,25 @@ def __init__(__self__, *, :param str name: Monitored Resource Name. :param str type: Monitored Resource Type. """ + MonitoredResourcesAssociateMonitoredResourceSourceResourceDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + name=name, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[str] = None, + name: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter(name="compartmentId") @@ -1143,30 +1385,61 @@ def __init__(__self__, *, :param str state: The current state of the Resource. :param Mapping[str, Any] system_tags: Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` """ + MonitoredResourcesListMemberItem._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + external_id=external_id, + freeform_tags=freeform_tags, + host_name=host_name, + parent_id=parent_id, + resource_display_name=resource_display_name, + resource_id=resource_id, + resource_name=resource_name, + resource_type=resource_type, + state=state, + system_tags=system_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[str] = None, + defined_tags: Optional[Mapping[str, Any]] = None, + external_id: Optional[str] = None, + freeform_tags: Optional[Mapping[str, Any]] = None, + host_name: Optional[str] = None, + parent_id: Optional[str] = None, + resource_display_name: Optional[str] = None, + resource_id: Optional[str] = None, + resource_name: Optional[str] = None, + resource_type: Optional[str] = None, + state: Optional[str] = None, + system_tags: Optional[Mapping[str, Any]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if external_id is not None: - pulumi.set(__self__, "external_id", external_id) + _setter("external_id", external_id) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if host_name is not None: - pulumi.set(__self__, "host_name", host_name) + _setter("host_name", host_name) if parent_id is not None: - pulumi.set(__self__, "parent_id", parent_id) + _setter("parent_id", parent_id) if resource_display_name is not None: - pulumi.set(__self__, "resource_display_name", resource_display_name) + _setter("resource_display_name", resource_display_name) if resource_id is not None: - pulumi.set(__self__, "resource_id", resource_id) + _setter("resource_id", resource_id) if resource_name is not None: - pulumi.set(__self__, "resource_name", resource_name) + _setter("resource_name", resource_name) if resource_type is not None: - pulumi.set(__self__, "resource_type", resource_type) + _setter("resource_type", resource_type) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) @property @pulumi.getter(name="compartmentId") @@ -1309,18 +1582,37 @@ def __init__(__self__, *, :param str source_resource_id: Source Monitored Resource Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). :param str time_created: The association creation time. An RFC3339 formatted datetime string. """ + MonitoredResourcesSearchAssociationItem._configure( + lambda key, value: pulumi.set(__self__, key, value), + association_type=association_type, + destination_resource_details=destination_resource_details, + destination_resource_id=destination_resource_id, + source_resource_details=source_resource_details, + source_resource_id=source_resource_id, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + association_type: Optional[str] = None, + destination_resource_details: Optional[Sequence['outputs.MonitoredResourcesSearchAssociationItemDestinationResourceDetail']] = None, + destination_resource_id: Optional[str] = None, + source_resource_details: Optional[Sequence['outputs.MonitoredResourcesSearchAssociationItemSourceResourceDetail']] = None, + source_resource_id: Optional[str] = None, + time_created: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if association_type is not None: - pulumi.set(__self__, "association_type", association_type) + _setter("association_type", association_type) if destination_resource_details is not None: - pulumi.set(__self__, "destination_resource_details", destination_resource_details) + _setter("destination_resource_details", destination_resource_details) if destination_resource_id is not None: - pulumi.set(__self__, "destination_resource_id", destination_resource_id) + _setter("destination_resource_id", destination_resource_id) if source_resource_details is not None: - pulumi.set(__self__, "source_resource_details", source_resource_details) + _setter("source_resource_details", source_resource_details) if source_resource_id is not None: - pulumi.set(__self__, "source_resource_id", source_resource_id) + _setter("source_resource_id", source_resource_id) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="associationType") @@ -1399,12 +1691,25 @@ def __init__(__self__, *, :param str name: Monitored Resource Name. :param str type: Monitored Resource Type. """ + MonitoredResourcesSearchAssociationItemDestinationResourceDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + name=name, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[str] = None, + name: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter(name="compartmentId") @@ -1459,12 +1764,25 @@ def __init__(__self__, *, :param str name: Monitored Resource Name. :param str type: Monitored Resource Type. """ + MonitoredResourcesSearchAssociationItemSourceResourceDetail._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + name=name, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[str] = None, + name: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter(name="compartmentId") @@ -1561,34 +1879,69 @@ def __init__(__self__, *, ** 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 """ + MonitoredResourcesSearchItem._configure( + lambda key, value: pulumi.set(__self__, key, value), + defined_tags=defined_tags, + display_name=display_name, + external_id=external_id, + freeform_tags=freeform_tags, + host_name=host_name, + id=id, + management_agent_id=management_agent_id, + name=name, + properties=properties, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + defined_tags: Optional[Mapping[str, Any]] = None, + display_name: Optional[str] = None, + external_id: Optional[str] = None, + freeform_tags: Optional[Mapping[str, Any]] = None, + host_name: Optional[str] = None, + id: Optional[str] = None, + management_agent_id: Optional[str] = None, + name: Optional[str] = None, + properties: Optional[Sequence['outputs.MonitoredResourcesSearchItemProperty']] = None, + state: Optional[str] = None, + system_tags: Optional[Mapping[str, Any]] = None, + time_created: Optional[str] = None, + time_updated: Optional[str] = None, + type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if external_id is not None: - pulumi.set(__self__, "external_id", external_id) + _setter("external_id", external_id) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if host_name is not None: - pulumi.set(__self__, "host_name", host_name) + _setter("host_name", host_name) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) if management_agent_id is not None: - pulumi.set(__self__, "management_agent_id", management_agent_id) + _setter("management_agent_id", management_agent_id) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if properties is not None: - pulumi.set(__self__, "properties", properties) + _setter("properties", properties) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter(name="definedTags") @@ -1716,10 +2069,21 @@ def __init__(__self__, *, :param str name: A filter to return resources that match exact resource name. :param str value: Property Value. """ + MonitoredResourcesSearchItemProperty._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -1742,7 +2106,16 @@ def value(self) -> Optional[str]: class GetConfigsConfigCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetConfigsConfigCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetConfigsConfigCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetConfigsConfigCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1779,18 +2152,49 @@ def __init__(__self__, *, :param str time_created: The time the configuration was created. An RFC3339 formatted datetime string. :param str time_updated: The time the Config was updated. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "config_type", config_type) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetConfigsConfigCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + config_type=config_type, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + is_enabled=is_enabled, + resource_type=resource_type, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + config_type: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + is_enabled: bool, + resource_type: str, + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("config_type", config_type) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_enabled", is_enabled) + _setter("resource_type", resource_type) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -1895,10 +2299,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetConfigsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1933,12 +2350,31 @@ def __init__(__self__, *, :param str resource_type: Resource Type. :param Sequence['GetDiscoveryJobDiscoveryDetailTagArgs'] tags: Property Details """ - pulumi.set(__self__, "agent_id", agent_id) - pulumi.set(__self__, "credentials", credentials) - pulumi.set(__self__, "properties", properties) - pulumi.set(__self__, "resource_name", resource_name) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "tags", tags) + GetDiscoveryJobDiscoveryDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + agent_id=agent_id, + credentials=credentials, + properties=properties, + resource_name=resource_name, + resource_type=resource_type, + tags=tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agent_id: str, + credentials: Sequence['outputs.GetDiscoveryJobDiscoveryDetailCredentialResult'], + properties: Sequence['outputs.GetDiscoveryJobDiscoveryDetailPropertyResult'], + resource_name: str, + resource_type: str, + tags: Sequence['outputs.GetDiscoveryJobDiscoveryDetailTagResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("agent_id", agent_id) + _setter("credentials", credentials) + _setter("properties", properties) + _setter("resource_name", resource_name) + _setter("resource_type", resource_type) + _setter("tags", tags) @property @pulumi.getter(name="agentId") @@ -1996,7 +2432,16 @@ def __init__(__self__, *, """ :param Sequence['GetDiscoveryJobDiscoveryDetailCredentialItemArgs'] items: List of DiscoveryJob credentials. """ - pulumi.set(__self__, "items", items) + GetDiscoveryJobDiscoveryDetailCredentialResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDiscoveryJobDiscoveryDetailCredentialItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -2018,9 +2463,22 @@ def __init__(__self__, *, :param str credential_type: Name of Credential Type :param Sequence['GetDiscoveryJobDiscoveryDetailCredentialItemPropertyArgs'] properties: Property Details """ - pulumi.set(__self__, "credential_name", credential_name) - pulumi.set(__self__, "credential_type", credential_type) - pulumi.set(__self__, "properties", properties) + GetDiscoveryJobDiscoveryDetailCredentialItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + credential_name=credential_name, + credential_type=credential_type, + properties=properties, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + credential_name: str, + credential_type: str, + properties: Sequence['outputs.GetDiscoveryJobDiscoveryDetailCredentialItemPropertyResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("credential_name", credential_name) + _setter("credential_type", credential_type) + _setter("properties", properties) @property @pulumi.getter(name="credentialName") @@ -2054,7 +2512,16 @@ def __init__(__self__, *, """ :param Mapping[str, Any] properties_map: Key/Value pair of Property """ - pulumi.set(__self__, "properties_map", properties_map) + GetDiscoveryJobDiscoveryDetailCredentialItemPropertyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + properties_map=properties_map, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + properties_map: Mapping[str, Any], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("properties_map", properties_map) @property @pulumi.getter(name="propertiesMap") @@ -2072,7 +2539,16 @@ def __init__(__self__, *, """ :param Mapping[str, Any] properties_map: Key/Value pair of Property """ - pulumi.set(__self__, "properties_map", properties_map) + GetDiscoveryJobDiscoveryDetailPropertyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + properties_map=properties_map, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + properties_map: Mapping[str, Any], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("properties_map", properties_map) @property @pulumi.getter(name="propertiesMap") @@ -2090,7 +2566,16 @@ def __init__(__self__, *, """ :param Mapping[str, Any] properties_map: Key/Value pair of Property """ - pulumi.set(__self__, "properties_map", properties_map) + GetDiscoveryJobDiscoveryDetailTagResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + properties_map=properties_map, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + properties_map: Mapping[str, Any], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("properties_map", properties_map) @property @pulumi.getter(name="propertiesMap") @@ -2108,7 +2593,16 @@ def __init__(__self__, *, """ :param Sequence['GetDiscoveryJobLogsDiscoveryJobLogCollectionItemArgs'] items: List of logs """ - pulumi.set(__self__, "items", items) + GetDiscoveryJobLogsDiscoveryJobLogCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDiscoveryJobLogsDiscoveryJobLogCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -2132,10 +2626,25 @@ def __init__(__self__, *, :param str log_type: The log type like INFO, WARNING, ERROR, SUCCESS :param str time_created: Time the Job log was created """ - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "log_message", log_message) - pulumi.set(__self__, "log_type", log_type) - pulumi.set(__self__, "time_created", time_created) + GetDiscoveryJobLogsDiscoveryJobLogCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + log_message=log_message, + log_type=log_type, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: str, + log_message: str, + log_type: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) + _setter("log_message", log_message) + _setter("log_type", log_type) + _setter("time_created", time_created) @property @pulumi.getter @@ -2176,10 +2685,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDiscoveryJobLogsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2204,7 +2726,16 @@ def __init__(__self__, *, """ :param Sequence['GetDiscoveryJobsDiscoveryJobCollectionItemArgs'] items: List of DiscoveryJob credentials. """ - pulumi.set(__self__, "items", items) + GetDiscoveryJobsDiscoveryJobCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetDiscoveryJobsDiscoveryJobCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -2248,20 +2779,55 @@ def __init__(__self__, *, :param str time_updated: The time the discovery Job was updated. :param str user_id: The OCID of user in which the job is submitted """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "discovery_type", discovery_type) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "resource_name", resource_name) - pulumi.set(__self__, "resource_type", resource_type) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "status", status) - pulumi.set(__self__, "status_message", status_message) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "tenant_id", tenant_id) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "user_id", user_id) + GetDiscoveryJobsDiscoveryJobCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + discovery_type=discovery_type, + freeform_tags=freeform_tags, + id=id, + resource_name=resource_name, + resource_type=resource_type, + state=state, + status=status, + status_message=status_message, + system_tags=system_tags, + tenant_id=tenant_id, + time_updated=time_updated, + user_id=user_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + discovery_type: str, + freeform_tags: Mapping[str, Any], + id: str, + resource_name: str, + resource_type: str, + state: str, + status: str, + status_message: str, + system_tags: Mapping[str, Any], + tenant_id: str, + time_updated: str, + user_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("discovery_type", discovery_type) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("resource_name", resource_name) + _setter("resource_type", resource_type) + _setter("state", state) + _setter("status", status) + _setter("status_message", status_message) + _setter("system_tags", system_tags) + _setter("tenant_id", tenant_id) + _setter("time_updated", time_updated) + _setter("user_id", user_id) @property @pulumi.getter(name="compartmentId") @@ -2385,10 +2951,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only discovery jobs that match the entire resource name given. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetDiscoveryJobsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2420,9 +2999,22 @@ def __init__(__self__, *, :param str name: Property Name. :param str source: The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. """ - pulumi.set(__self__, "credentials", credentials) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "source", source) + GetMonitoredResourceAdditionalAliasResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + credentials=credentials, + name=name, + source=source, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + credentials: Sequence['outputs.GetMonitoredResourceAdditionalAliasCredentialResult'], + name: str, + source: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("credentials", credentials) + _setter("name", name) + _setter("source", source) @property @pulumi.getter @@ -2460,9 +3052,22 @@ def __init__(__self__, *, :param str service: The name of the service owning the credential. Example: stack-monitoring or dbmgmt :param str source: The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "service", service) - pulumi.set(__self__, "source", source) + GetMonitoredResourceAdditionalAliasCredentialResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + service=service, + source=source, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + service: str, + source: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("service", service) + _setter("source", source) @property @pulumi.getter @@ -2511,13 +3116,34 @@ def __init__(__self__, *, :param str source: The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. :param str type: Monitored Resource Type. """ - pulumi.set(__self__, "credential_type", credential_type) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "key_id", key_id) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "properties", properties) - pulumi.set(__self__, "source", source) - pulumi.set(__self__, "type", type) + GetMonitoredResourceAdditionalCredentialResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + credential_type=credential_type, + description=description, + key_id=key_id, + name=name, + properties=properties, + source=source, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + credential_type: str, + description: str, + key_id: str, + name: str, + properties: Sequence['outputs.GetMonitoredResourceAdditionalCredentialPropertyResult'], + source: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("credential_type", credential_type) + _setter("description", description) + _setter("key_id", key_id) + _setter("name", name) + _setter("properties", properties) + _setter("source", source) + _setter("type", type) @property @pulumi.getter(name="credentialType") @@ -2588,8 +3214,19 @@ def __init__(__self__, *, :param str name: Property Name. :param str value: Property Value. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + GetMonitoredResourceAdditionalCredentialPropertyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("value", value) @property @pulumi.getter @@ -2619,9 +3256,22 @@ def __init__(__self__, *, :param str name: Property Name. :param str source: The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. """ - pulumi.set(__self__, "credentials", credentials) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "source", source) + GetMonitoredResourceAliasResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + credentials=credentials, + name=name, + source=source, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + credentials: Sequence['outputs.GetMonitoredResourceAliasCredentialResult'], + name: str, + source: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("credentials", credentials) + _setter("name", name) + _setter("source", source) @property @pulumi.getter @@ -2659,9 +3309,22 @@ def __init__(__self__, *, :param str service: The name of the service owning the credential. Example: stack-monitoring or dbmgmt :param str source: The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "service", service) - pulumi.set(__self__, "source", source) + GetMonitoredResourceAliasCredentialResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + service=service, + source=source, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + service: str, + source: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("service", service) + _setter("source", source) @property @pulumi.getter @@ -2710,13 +3373,34 @@ def __init__(__self__, *, :param str source: The source type and source name combination, delimited with (.) separator. {source type}.{source name} and source type max char limit is 63. :param str type: Monitored Resource Type. """ - pulumi.set(__self__, "credential_type", credential_type) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "key_id", key_id) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "properties", properties) - pulumi.set(__self__, "source", source) - pulumi.set(__self__, "type", type) + GetMonitoredResourceCredentialResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + credential_type=credential_type, + description=description, + key_id=key_id, + name=name, + properties=properties, + source=source, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + credential_type: str, + description: str, + key_id: str, + name: str, + properties: Sequence['outputs.GetMonitoredResourceCredentialPropertyResult'], + source: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("credential_type", credential_type) + _setter("description", description) + _setter("key_id", key_id) + _setter("name", name) + _setter("properties", properties) + _setter("source", source) + _setter("type", type) @property @pulumi.getter(name="credentialType") @@ -2787,8 +3471,19 @@ def __init__(__self__, *, :param str name: Property Name. :param str value: Property Value. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + GetMonitoredResourceCredentialPropertyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("value", value) @property @pulumi.getter @@ -2826,13 +3521,34 @@ def __init__(__self__, *, :param str service_name: Service name used for connection requests. :param str ssl_secret_id: SSL Secret Identifier for TCPS connector in Oracle Cloud Infrastructure Vault[OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm). """ - pulumi.set(__self__, "connector_id", connector_id) - pulumi.set(__self__, "db_id", db_id) - pulumi.set(__self__, "db_unique_name", db_unique_name) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "service_name", service_name) - pulumi.set(__self__, "ssl_secret_id", ssl_secret_id) + GetMonitoredResourceDatabaseConnectionDetailResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + connector_id=connector_id, + db_id=db_id, + db_unique_name=db_unique_name, + port=port, + protocol=protocol, + service_name=service_name, + ssl_secret_id=ssl_secret_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + connector_id: str, + db_id: str, + db_unique_name: str, + port: int, + protocol: str, + service_name: str, + ssl_secret_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("connector_id", connector_id) + _setter("db_id", db_id) + _setter("db_unique_name", db_unique_name) + _setter("port", port) + _setter("protocol", protocol) + _setter("service_name", service_name) + _setter("ssl_secret_id", ssl_secret_id) @property @pulumi.getter(name="connectorId") @@ -2900,8 +3616,19 @@ def __init__(__self__, *, :param str name: Property Name. :param str value: Property Value. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + GetMonitoredResourcePropertyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("value", value) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/streaming/_inputs.py b/sdk/python/pulumi_oci/streaming/_inputs.py index 23d1dc73be..e338524a32 100644 --- a/sdk/python/pulumi_oci/streaming/_inputs.py +++ b/sdk/python/pulumi_oci/streaming/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -27,9 +27,20 @@ def __init__(__self__, *, :param pulumi.Input[str] kms_key_id: (Updatable) Custom Encryption Key (Master Key) ocid. :param pulumi.Input[str] key_state: Life cycle State of the custom key """ - pulumi.set(__self__, "kms_key_id", kms_key_id) + StreamPoolCustomEncryptionKeyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + kms_key_id=kms_key_id, + key_state=key_state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + kms_key_id: pulumi.Input[str], + key_state: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("kms_key_id", kms_key_id) if key_state is not None: - pulumi.set(__self__, "key_state", key_state) + _setter("key_state", key_state) @property @pulumi.getter(name="kmsKeyId") @@ -69,14 +80,29 @@ def __init__(__self__, *, :param pulumi.Input[int] log_retention_hours: (Updatable) The number of hours to keep a log file before deleting it (in hours). :param pulumi.Input[int] num_partitions: (Updatable) The default number of log partitions per topic. """ + StreamPoolKafkaSettingsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + auto_create_topics_enable=auto_create_topics_enable, + bootstrap_servers=bootstrap_servers, + log_retention_hours=log_retention_hours, + num_partitions=num_partitions, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + auto_create_topics_enable: Optional[pulumi.Input[bool]] = None, + bootstrap_servers: Optional[pulumi.Input[str]] = None, + log_retention_hours: Optional[pulumi.Input[int]] = None, + num_partitions: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if auto_create_topics_enable is not None: - pulumi.set(__self__, "auto_create_topics_enable", auto_create_topics_enable) + _setter("auto_create_topics_enable", auto_create_topics_enable) if bootstrap_servers is not None: - pulumi.set(__self__, "bootstrap_servers", bootstrap_servers) + _setter("bootstrap_servers", bootstrap_servers) if log_retention_hours is not None: - pulumi.set(__self__, "log_retention_hours", log_retention_hours) + _setter("log_retention_hours", log_retention_hours) if num_partitions is not None: - pulumi.set(__self__, "num_partitions", num_partitions) + _setter("num_partitions", num_partitions) @property @pulumi.getter(name="autoCreateTopicsEnable") @@ -142,12 +168,25 @@ def __init__(__self__, *, ** 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 """ + StreamPoolPrivateEndpointSettingsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + nsg_ids=nsg_ids, + private_endpoint_ip=private_endpoint_ip, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + nsg_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + private_endpoint_ip: Optional[pulumi.Input[str]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) if private_endpoint_ip is not None: - pulumi.set(__self__, "private_endpoint_ip", private_endpoint_ip) + _setter("private_endpoint_ip", private_endpoint_ip) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="nsgIds") @@ -199,10 +238,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the given name exactly. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetConnectHarnessesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -244,10 +296,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the given name exactly. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetStreamPoolsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -289,10 +354,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the given name exactly. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetStreamsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/streaming/connect_harness.py b/sdk/python/pulumi_oci/streaming/connect_harness.py index f4b4f29c3b..d28b47df97 100644 --- a/sdk/python/pulumi_oci/streaming/connect_harness.py +++ b/sdk/python/pulumi_oci/streaming/connect_harness.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['ConnectHarnessArgs', 'ConnectHarness'] @@ -29,13 +29,28 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) + ConnectHarnessArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter(name="compartmentId") @@ -114,20 +129,41 @@ def __init__(__self__, *, :param pulumi.Input[str] state: The current state of the connect harness. :param pulumi.Input[str] time_created: The date and time the connect harness was created, expressed in in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` """ + _ConnectHarnessState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + lifecycle_state_details=lifecycle_state_details, + name=name, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_state_details: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_state_details is not None: - pulumi.set(__self__, "lifecycle_state_details", lifecycle_state_details) + _setter("lifecycle_state_details", lifecycle_state_details) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -313,6 +349,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ConnectHarnessArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/streaming/get_connect_harness.py b/sdk/python/pulumi_oci/streaming/get_connect_harness.py index 4409942d2e..1698153d53 100644 --- a/sdk/python/pulumi_oci/streaming/get_connect_harness.py +++ b/sdk/python/pulumi_oci/streaming/get_connect_harness.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/streaming/get_connect_harnesses.py b/sdk/python/pulumi_oci/streaming/get_connect_harnesses.py index 578b5fa92b..7dd34f8a8d 100644 --- a/sdk/python/pulumi_oci/streaming/get_connect_harnesses.py +++ b/sdk/python/pulumi_oci/streaming/get_connect_harnesses.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/streaming/get_stream.py b/sdk/python/pulumi_oci/streaming/get_stream.py index be005c91cb..b154676069 100644 --- a/sdk/python/pulumi_oci/streaming/get_stream.py +++ b/sdk/python/pulumi_oci/streaming/get_stream.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/streaming/get_stream_pool.py b/sdk/python/pulumi_oci/streaming/get_stream_pool.py index 309b9ced27..fbbf12f8bd 100644 --- a/sdk/python/pulumi_oci/streaming/get_stream_pool.py +++ b/sdk/python/pulumi_oci/streaming/get_stream_pool.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/streaming/get_stream_pools.py b/sdk/python/pulumi_oci/streaming/get_stream_pools.py index 8c71f6e186..c4daf2640a 100644 --- a/sdk/python/pulumi_oci/streaming/get_stream_pools.py +++ b/sdk/python/pulumi_oci/streaming/get_stream_pools.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/streaming/get_streams.py b/sdk/python/pulumi_oci/streaming/get_streams.py index a7ce169c1e..9749e0d2ed 100644 --- a/sdk/python/pulumi_oci/streaming/get_streams.py +++ b/sdk/python/pulumi_oci/streaming/get_streams.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/streaming/outputs.py b/sdk/python/pulumi_oci/streaming/outputs.py index a1dcec888a..e27dd963a1 100644 --- a/sdk/python/pulumi_oci/streaming/outputs.py +++ b/sdk/python/pulumi_oci/streaming/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -56,9 +56,20 @@ def __init__(__self__, *, :param str kms_key_id: (Updatable) Custom Encryption Key (Master Key) ocid. :param str key_state: Life cycle State of the custom key """ - pulumi.set(__self__, "kms_key_id", kms_key_id) + StreamPoolCustomEncryptionKey._configure( + lambda key, value: pulumi.set(__self__, key, value), + kms_key_id=kms_key_id, + key_state=key_state, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + kms_key_id: str, + key_state: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("kms_key_id", kms_key_id) if key_state is not None: - pulumi.set(__self__, "key_state", key_state) + _setter("key_state", key_state) @property @pulumi.getter(name="kmsKeyId") @@ -113,14 +124,29 @@ def __init__(__self__, *, :param int log_retention_hours: (Updatable) The number of hours to keep a log file before deleting it (in hours). :param int num_partitions: (Updatable) The default number of log partitions per topic. """ + StreamPoolKafkaSettings._configure( + lambda key, value: pulumi.set(__self__, key, value), + auto_create_topics_enable=auto_create_topics_enable, + bootstrap_servers=bootstrap_servers, + log_retention_hours=log_retention_hours, + num_partitions=num_partitions, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + auto_create_topics_enable: Optional[bool] = None, + bootstrap_servers: Optional[str] = None, + log_retention_hours: Optional[int] = None, + num_partitions: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if auto_create_topics_enable is not None: - pulumi.set(__self__, "auto_create_topics_enable", auto_create_topics_enable) + _setter("auto_create_topics_enable", auto_create_topics_enable) if bootstrap_servers is not None: - pulumi.set(__self__, "bootstrap_servers", bootstrap_servers) + _setter("bootstrap_servers", bootstrap_servers) if log_retention_hours is not None: - pulumi.set(__self__, "log_retention_hours", log_retention_hours) + _setter("log_retention_hours", log_retention_hours) if num_partitions is not None: - pulumi.set(__self__, "num_partitions", num_partitions) + _setter("num_partitions", num_partitions) @property @pulumi.getter(name="autoCreateTopicsEnable") @@ -191,12 +217,25 @@ def __init__(__self__, *, ** 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 """ + StreamPoolPrivateEndpointSettings._configure( + lambda key, value: pulumi.set(__self__, key, value), + nsg_ids=nsg_ids, + private_endpoint_ip=private_endpoint_ip, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + nsg_ids: Optional[Sequence[str]] = None, + private_endpoint_ip: Optional[str] = None, + subnet_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if nsg_ids is not None: - pulumi.set(__self__, "nsg_ids", nsg_ids) + _setter("nsg_ids", nsg_ids) if private_endpoint_ip is not None: - pulumi.set(__self__, "private_endpoint_ip", private_endpoint_ip) + _setter("private_endpoint_ip", private_endpoint_ip) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="nsgIds") @@ -248,14 +287,37 @@ def __init__(__self__, *, :param str state: A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. :param str time_created: The date and time the connect harness was created, expressed in in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_state_details", lifecycle_state_details) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) + GetConnectHarnessesConnectHarnessResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + id=id, + lifecycle_state_details=lifecycle_state_details, + name=name, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_state_details: str, + name: str, + state: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_state_details", lifecycle_state_details) + _setter("name", name) + _setter("state", state) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -331,10 +393,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the given name exactly. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetConnectHarnessesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -364,8 +439,19 @@ def __init__(__self__, *, :param str key_state: Life cycle State of the custom key :param str kms_key_id: Custom Encryption Key (Master Key) ocid. """ - pulumi.set(__self__, "key_state", key_state) - pulumi.set(__self__, "kms_key_id", kms_key_id) + GetStreamPoolCustomEncryptionKeyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key_state=key_state, + kms_key_id=kms_key_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key_state: str, + kms_key_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key_state", key_state) + _setter("kms_key_id", kms_key_id) @property @pulumi.getter(name="keyState") @@ -397,10 +483,25 @@ def __init__(__self__, *, :param int log_retention_hours: The number of hours to keep a log file before deleting it (in hours). :param int num_partitions: The default number of log partitions per topic. """ - pulumi.set(__self__, "auto_create_topics_enable", auto_create_topics_enable) - pulumi.set(__self__, "bootstrap_servers", bootstrap_servers) - pulumi.set(__self__, "log_retention_hours", log_retention_hours) - pulumi.set(__self__, "num_partitions", num_partitions) + GetStreamPoolKafkaSettingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + auto_create_topics_enable=auto_create_topics_enable, + bootstrap_servers=bootstrap_servers, + log_retention_hours=log_retention_hours, + num_partitions=num_partitions, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + auto_create_topics_enable: bool, + bootstrap_servers: str, + log_retention_hours: int, + num_partitions: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("auto_create_topics_enable", auto_create_topics_enable) + _setter("bootstrap_servers", bootstrap_servers) + _setter("log_retention_hours", log_retention_hours) + _setter("num_partitions", num_partitions) @property @pulumi.getter(name="autoCreateTopicsEnable") @@ -446,9 +547,22 @@ def __init__(__self__, *, :param str private_endpoint_ip: The private IP associated with the stream pool in the associated subnetId. The stream pool's FQDN resolves to that IP and should be used - instead of the private IP - in order to not trigger any TLS issues. :param str subnet_id: The subnet id from which the private stream pool can be accessed. Trying to access the streams from another network location will result in an error. """ - pulumi.set(__self__, "nsg_ids", nsg_ids) - pulumi.set(__self__, "private_endpoint_ip", private_endpoint_ip) - pulumi.set(__self__, "subnet_id", subnet_id) + GetStreamPoolPrivateEndpointSettingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + nsg_ids=nsg_ids, + private_endpoint_ip=private_endpoint_ip, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + nsg_ids: Sequence[str], + private_endpoint_ip: str, + subnet_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("nsg_ids", nsg_ids) + _setter("private_endpoint_ip", private_endpoint_ip) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="nsgIds") @@ -484,10 +598,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the given name exactly. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetStreamPoolsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -539,19 +666,52 @@ def __init__(__self__, *, :param str state: A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. :param str time_created: The date and time the stream pool was created, expressed in in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "custom_encryption_keys", custom_encryption_keys) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "endpoint_fqdn", endpoint_fqdn) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_private", is_private) - pulumi.set(__self__, "kafka_settings", kafka_settings) - pulumi.set(__self__, "lifecycle_state_details", lifecycle_state_details) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "private_endpoint_settings", private_endpoint_settings) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) + GetStreamPoolsStreamPoolResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + custom_encryption_keys=custom_encryption_keys, + defined_tags=defined_tags, + endpoint_fqdn=endpoint_fqdn, + freeform_tags=freeform_tags, + id=id, + is_private=is_private, + kafka_settings=kafka_settings, + lifecycle_state_details=lifecycle_state_details, + name=name, + private_endpoint_settings=private_endpoint_settings, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + custom_encryption_keys: Sequence['outputs.GetStreamPoolsStreamPoolCustomEncryptionKeyResult'], + defined_tags: Mapping[str, Any], + endpoint_fqdn: str, + freeform_tags: Mapping[str, Any], + id: str, + is_private: bool, + kafka_settings: Sequence['outputs.GetStreamPoolsStreamPoolKafkaSettingResult'], + lifecycle_state_details: str, + name: str, + private_endpoint_settings: Sequence['outputs.GetStreamPoolsStreamPoolPrivateEndpointSettingResult'], + state: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("custom_encryption_keys", custom_encryption_keys) + _setter("defined_tags", defined_tags) + _setter("endpoint_fqdn", endpoint_fqdn) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_private", is_private) + _setter("kafka_settings", kafka_settings) + _setter("lifecycle_state_details", lifecycle_state_details) + _setter("name", name) + _setter("private_endpoint_settings", private_endpoint_settings) + _setter("state", state) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -667,8 +827,19 @@ def __init__(__self__, *, :param str key_state: Life cycle State of the custom key :param str kms_key_id: Custom Encryption Key (Master Key) ocid. """ - pulumi.set(__self__, "key_state", key_state) - pulumi.set(__self__, "kms_key_id", kms_key_id) + GetStreamPoolsStreamPoolCustomEncryptionKeyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key_state=key_state, + kms_key_id=kms_key_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key_state: str, + kms_key_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key_state", key_state) + _setter("kms_key_id", kms_key_id) @property @pulumi.getter(name="keyState") @@ -700,10 +871,25 @@ def __init__(__self__, *, :param int log_retention_hours: The number of hours to keep a log file before deleting it (in hours). :param int num_partitions: The default number of log partitions per topic. """ - pulumi.set(__self__, "auto_create_topics_enable", auto_create_topics_enable) - pulumi.set(__self__, "bootstrap_servers", bootstrap_servers) - pulumi.set(__self__, "log_retention_hours", log_retention_hours) - pulumi.set(__self__, "num_partitions", num_partitions) + GetStreamPoolsStreamPoolKafkaSettingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + auto_create_topics_enable=auto_create_topics_enable, + bootstrap_servers=bootstrap_servers, + log_retention_hours=log_retention_hours, + num_partitions=num_partitions, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + auto_create_topics_enable: bool, + bootstrap_servers: str, + log_retention_hours: int, + num_partitions: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("auto_create_topics_enable", auto_create_topics_enable) + _setter("bootstrap_servers", bootstrap_servers) + _setter("log_retention_hours", log_retention_hours) + _setter("num_partitions", num_partitions) @property @pulumi.getter(name="autoCreateTopicsEnable") @@ -749,9 +935,22 @@ def __init__(__self__, *, :param str private_endpoint_ip: The private IP associated with the stream pool in the associated subnetId. The stream pool's FQDN resolves to that IP and should be used - instead of the private IP - in order to not trigger any TLS issues. :param str subnet_id: The subnet id from which the private stream pool can be accessed. Trying to access the streams from another network location will result in an error. """ - pulumi.set(__self__, "nsg_ids", nsg_ids) - pulumi.set(__self__, "private_endpoint_ip", private_endpoint_ip) - pulumi.set(__self__, "subnet_id", subnet_id) + GetStreamPoolsStreamPoolPrivateEndpointSettingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + nsg_ids=nsg_ids, + private_endpoint_ip=private_endpoint_ip, + subnet_id=subnet_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + nsg_ids: Sequence[str], + private_endpoint_ip: str, + subnet_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("nsg_ids", nsg_ids) + _setter("private_endpoint_ip", private_endpoint_ip) + _setter("subnet_id", subnet_id) @property @pulumi.getter(name="nsgIds") @@ -787,10 +986,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the given name exactly. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetStreamsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -840,18 +1052,49 @@ def __init__(__self__, *, :param str stream_pool_id: The OCID of the stream pool. Is exclusive with the `compartmentId` parameter. One of them is required. :param str time_created: The date and time the stream was created, expressed in in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_state_details", lifecycle_state_details) - pulumi.set(__self__, "messages_endpoint", messages_endpoint) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "partitions", partitions) - pulumi.set(__self__, "retention_in_hours", retention_in_hours) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "stream_pool_id", stream_pool_id) - pulumi.set(__self__, "time_created", time_created) + GetStreamsStreamResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + id=id, + lifecycle_state_details=lifecycle_state_details, + messages_endpoint=messages_endpoint, + name=name, + partitions=partitions, + retention_in_hours=retention_in_hours, + state=state, + stream_pool_id=stream_pool_id, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_state_details: str, + messages_endpoint: str, + name: str, + partitions: int, + retention_in_hours: int, + state: str, + stream_pool_id: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_state_details", lifecycle_state_details) + _setter("messages_endpoint", messages_endpoint) + _setter("name", name) + _setter("partitions", partitions) + _setter("retention_in_hours", retention_in_hours) + _setter("state", state) + _setter("stream_pool_id", stream_pool_id) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") diff --git a/sdk/python/pulumi_oci/streaming/stream.py b/sdk/python/pulumi_oci/streaming/stream.py index ddc88f1401..8243bef5f8 100644 --- a/sdk/python/pulumi_oci/streaming/stream.py +++ b/sdk/python/pulumi_oci/streaming/stream.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['StreamArgs', 'Stream'] @@ -35,19 +35,40 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "partitions", partitions) + StreamArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + partitions=partitions, + compartment_id=compartment_id, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + name=name, + retention_in_hours=retention_in_hours, + stream_pool_id=stream_pool_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + partitions: pulumi.Input[int], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + name: Optional[pulumi.Input[str]] = None, + retention_in_hours: Optional[pulumi.Input[int]] = None, + stream_pool_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("partitions", partitions) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if retention_in_hours is not None: - pulumi.set(__self__, "retention_in_hours", retention_in_hours) + _setter("retention_in_hours", retention_in_hours) if stream_pool_id is not None: - pulumi.set(__self__, "stream_pool_id", stream_pool_id) + _setter("stream_pool_id", stream_pool_id) @property @pulumi.getter @@ -170,28 +191,57 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] time_created: The date and time the stream was created, expressed in in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` """ + _StreamState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + lifecycle_state_details=lifecycle_state_details, + messages_endpoint=messages_endpoint, + name=name, + partitions=partitions, + retention_in_hours=retention_in_hours, + state=state, + stream_pool_id=stream_pool_id, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_state_details: Optional[pulumi.Input[str]] = None, + messages_endpoint: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + partitions: Optional[pulumi.Input[int]] = None, + retention_in_hours: Optional[pulumi.Input[int]] = None, + state: Optional[pulumi.Input[str]] = None, + stream_pool_id: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_state_details is not None: - pulumi.set(__self__, "lifecycle_state_details", lifecycle_state_details) + _setter("lifecycle_state_details", lifecycle_state_details) if messages_endpoint is not None: - pulumi.set(__self__, "messages_endpoint", messages_endpoint) + _setter("messages_endpoint", messages_endpoint) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if partitions is not None: - pulumi.set(__self__, "partitions", partitions) + _setter("partitions", partitions) if retention_in_hours is not None: - pulumi.set(__self__, "retention_in_hours", retention_in_hours) + _setter("retention_in_hours", retention_in_hours) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if stream_pool_id is not None: - pulumi.set(__self__, "stream_pool_id", stream_pool_id) + _setter("stream_pool_id", stream_pool_id) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -441,6 +491,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + StreamArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/streaming/stream_pool.py b/sdk/python/pulumi_oci/streaming/stream_pool.py index 5223a6246a..66629dac51 100644 --- a/sdk/python/pulumi_oci/streaming/stream_pool.py +++ b/sdk/python/pulumi_oci/streaming/stream_pool.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -33,19 +33,40 @@ def __init__(__self__, *, :param pulumi.Input[str] name: (Updatable) The name of the stream pool. Avoid entering confidential information. Example: `MyStreamPool` :param pulumi.Input['StreamPoolPrivateEndpointSettingsArgs'] private_endpoint_settings: Optional parameters if a private stream pool is requested. """ - pulumi.set(__self__, "compartment_id", compartment_id) + StreamPoolArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + custom_encryption_key=custom_encryption_key, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + kafka_settings=kafka_settings, + name=name, + private_endpoint_settings=private_endpoint_settings, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + custom_encryption_key: Optional[pulumi.Input['StreamPoolCustomEncryptionKeyArgs']] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + kafka_settings: Optional[pulumi.Input['StreamPoolKafkaSettingsArgs']] = None, + name: Optional[pulumi.Input[str]] = None, + private_endpoint_settings: Optional[pulumi.Input['StreamPoolPrivateEndpointSettingsArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) if custom_encryption_key is not None: - pulumi.set(__self__, "custom_encryption_key", custom_encryption_key) + _setter("custom_encryption_key", custom_encryption_key) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if kafka_settings is not None: - pulumi.set(__self__, "kafka_settings", kafka_settings) + _setter("kafka_settings", kafka_settings) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if private_endpoint_settings is not None: - pulumi.set(__self__, "private_endpoint_settings", private_endpoint_settings) + _setter("private_endpoint_settings", private_endpoint_settings) @property @pulumi.getter(name="compartmentId") @@ -162,30 +183,61 @@ def __init__(__self__, *, :param pulumi.Input[str] state: The current state of the stream pool. :param pulumi.Input[str] time_created: The date and time the stream pool was created, expressed in in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) timestamp format. Example: `2018-04-20T00:00:07.405Z` """ + _StreamPoolState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + custom_encryption_key=custom_encryption_key, + defined_tags=defined_tags, + endpoint_fqdn=endpoint_fqdn, + freeform_tags=freeform_tags, + is_private=is_private, + kafka_settings=kafka_settings, + lifecycle_state_details=lifecycle_state_details, + name=name, + private_endpoint_settings=private_endpoint_settings, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + custom_encryption_key: Optional[pulumi.Input['StreamPoolCustomEncryptionKeyArgs']] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + endpoint_fqdn: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_private: Optional[pulumi.Input[bool]] = None, + kafka_settings: Optional[pulumi.Input['StreamPoolKafkaSettingsArgs']] = None, + lifecycle_state_details: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + private_endpoint_settings: Optional[pulumi.Input['StreamPoolPrivateEndpointSettingsArgs']] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if custom_encryption_key is not None: - pulumi.set(__self__, "custom_encryption_key", custom_encryption_key) + _setter("custom_encryption_key", custom_encryption_key) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if endpoint_fqdn is not None: - pulumi.set(__self__, "endpoint_fqdn", endpoint_fqdn) + _setter("endpoint_fqdn", endpoint_fqdn) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_private is not None: - pulumi.set(__self__, "is_private", is_private) + _setter("is_private", is_private) if kafka_settings is not None: - pulumi.set(__self__, "kafka_settings", kafka_settings) + _setter("kafka_settings", kafka_settings) if lifecycle_state_details is not None: - pulumi.set(__self__, "lifecycle_state_details", lifecycle_state_details) + _setter("lifecycle_state_details", lifecycle_state_details) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if private_endpoint_settings is not None: - pulumi.set(__self__, "private_endpoint_settings", private_endpoint_settings) + _setter("private_endpoint_settings", private_endpoint_settings) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -457,6 +509,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + StreamPoolArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -481,11 +537,26 @@ def _internal_init(__self__, if compartment_id is None and not opts.urn: raise TypeError("Missing required property 'compartment_id'") __props__.__dict__["compartment_id"] = compartment_id + if custom_encryption_key is not None and not isinstance(custom_encryption_key, StreamPoolCustomEncryptionKeyArgs): + custom_encryption_key = custom_encryption_key or {} + def _setter(key, value): + custom_encryption_key[key] = value + StreamPoolCustomEncryptionKeyArgs._configure(_setter, **custom_encryption_key) __props__.__dict__["custom_encryption_key"] = custom_encryption_key __props__.__dict__["defined_tags"] = defined_tags __props__.__dict__["freeform_tags"] = freeform_tags + if kafka_settings is not None and not isinstance(kafka_settings, StreamPoolKafkaSettingsArgs): + kafka_settings = kafka_settings or {} + def _setter(key, value): + kafka_settings[key] = value + StreamPoolKafkaSettingsArgs._configure(_setter, **kafka_settings) __props__.__dict__["kafka_settings"] = kafka_settings __props__.__dict__["name"] = name + if private_endpoint_settings is not None and not isinstance(private_endpoint_settings, StreamPoolPrivateEndpointSettingsArgs): + private_endpoint_settings = private_endpoint_settings or {} + def _setter(key, value): + private_endpoint_settings[key] = value + StreamPoolPrivateEndpointSettingsArgs._configure(_setter, **private_endpoint_settings) __props__.__dict__["private_endpoint_settings"] = private_endpoint_settings __props__.__dict__["endpoint_fqdn"] = None __props__.__dict__["is_private"] = None diff --git a/sdk/python/pulumi_oci/usageproxy/_inputs.py b/sdk/python/pulumi_oci/usageproxy/_inputs.py index bf5377c6f0..d55d8be38c 100644 --- a/sdk/python/pulumi_oci/usageproxy/_inputs.py +++ b/sdk/python/pulumi_oci/usageproxy/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -31,11 +31,24 @@ def __init__(__self__, *, :param pulumi.Input[str] first_name: The first name of the user that can redeem rewards. :param pulumi.Input[str] last_name: The last name of the user that can redeem rewards. """ - pulumi.set(__self__, "email_id", email_id) + SubscriptionRedeemableUserItemArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + email_id=email_id, + first_name=first_name, + last_name=last_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + email_id: pulumi.Input[str], + first_name: Optional[pulumi.Input[str]] = None, + last_name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("email_id", email_id) if first_name is not None: - pulumi.set(__self__, "first_name", first_name) + _setter("first_name", first_name) if last_name is not None: - pulumi.set(__self__, "last_name", last_name) + _setter("last_name", last_name) @property @pulumi.getter(name="emailId") @@ -83,10 +96,23 @@ def __init__(__self__, *, """ :param str name: The resource name. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetResourceQuotasFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -128,10 +154,23 @@ def __init__(__self__, *, """ :param str name: Name of the resource. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetResourcesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -170,10 +209,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSubscriptionProductsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -209,10 +261,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSubscriptionRedeemableUsersFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -248,10 +313,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSubscriptionRedemptionsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -287,10 +365,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSubscriptionRewardsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -326,10 +417,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetUsagelimitsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/usageproxy/get_resource_quotas.py b/sdk/python/pulumi_oci/usageproxy/get_resource_quotas.py index 1891b23b14..87973ed4e0 100644 --- a/sdk/python/pulumi_oci/usageproxy/get_resource_quotas.py +++ b/sdk/python/pulumi_oci/usageproxy/get_resource_quotas.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/usageproxy/get_resources.py b/sdk/python/pulumi_oci/usageproxy/get_resources.py index 63898a3b0b..cddf74508f 100644 --- a/sdk/python/pulumi_oci/usageproxy/get_resources.py +++ b/sdk/python/pulumi_oci/usageproxy/get_resources.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/usageproxy/get_subscription_product.py b/sdk/python/pulumi_oci/usageproxy/get_subscription_product.py index c2c4ef8099..0233659864 100644 --- a/sdk/python/pulumi_oci/usageproxy/get_subscription_product.py +++ b/sdk/python/pulumi_oci/usageproxy/get_subscription_product.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/usageproxy/get_subscription_products.py b/sdk/python/pulumi_oci/usageproxy/get_subscription_products.py index 5503390559..e9af7e7584 100644 --- a/sdk/python/pulumi_oci/usageproxy/get_subscription_products.py +++ b/sdk/python/pulumi_oci/usageproxy/get_subscription_products.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/usageproxy/get_subscription_redeemable_user.py b/sdk/python/pulumi_oci/usageproxy/get_subscription_redeemable_user.py index dbc8116d98..f49ff833a2 100644 --- a/sdk/python/pulumi_oci/usageproxy/get_subscription_redeemable_user.py +++ b/sdk/python/pulumi_oci/usageproxy/get_subscription_redeemable_user.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/usageproxy/get_subscription_redeemable_users.py b/sdk/python/pulumi_oci/usageproxy/get_subscription_redeemable_users.py index ae1f14e814..72c0f23116 100644 --- a/sdk/python/pulumi_oci/usageproxy/get_subscription_redeemable_users.py +++ b/sdk/python/pulumi_oci/usageproxy/get_subscription_redeemable_users.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/usageproxy/get_subscription_redemption.py b/sdk/python/pulumi_oci/usageproxy/get_subscription_redemption.py index 6e981ec5f8..e112fb6ff4 100644 --- a/sdk/python/pulumi_oci/usageproxy/get_subscription_redemption.py +++ b/sdk/python/pulumi_oci/usageproxy/get_subscription_redemption.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/usageproxy/get_subscription_redemptions.py b/sdk/python/pulumi_oci/usageproxy/get_subscription_redemptions.py index 52e8b60218..6ae07761b5 100644 --- a/sdk/python/pulumi_oci/usageproxy/get_subscription_redemptions.py +++ b/sdk/python/pulumi_oci/usageproxy/get_subscription_redemptions.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/usageproxy/get_subscription_reward.py b/sdk/python/pulumi_oci/usageproxy/get_subscription_reward.py index 7c66339700..6e38a14f03 100644 --- a/sdk/python/pulumi_oci/usageproxy/get_subscription_reward.py +++ b/sdk/python/pulumi_oci/usageproxy/get_subscription_reward.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/usageproxy/get_subscription_rewards.py b/sdk/python/pulumi_oci/usageproxy/get_subscription_rewards.py index d68c698d20..86dca02d38 100644 --- a/sdk/python/pulumi_oci/usageproxy/get_subscription_rewards.py +++ b/sdk/python/pulumi_oci/usageproxy/get_subscription_rewards.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/usageproxy/get_usagelimits.py b/sdk/python/pulumi_oci/usageproxy/get_usagelimits.py index b1109f5d5c..6d82b498e4 100644 --- a/sdk/python/pulumi_oci/usageproxy/get_usagelimits.py +++ b/sdk/python/pulumi_oci/usageproxy/get_usagelimits.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/usageproxy/outputs.py b/sdk/python/pulumi_oci/usageproxy/outputs.py index f9cff9f596..ea08c4789a 100644 --- a/sdk/python/pulumi_oci/usageproxy/outputs.py +++ b/sdk/python/pulumi_oci/usageproxy/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -78,11 +78,24 @@ def __init__(__self__, *, :param str first_name: The first name of the user that can redeem rewards. :param str last_name: The last name of the user that can redeem rewards. """ - pulumi.set(__self__, "email_id", email_id) + SubscriptionRedeemableUserItem._configure( + lambda key, value: pulumi.set(__self__, key, value), + email_id=email_id, + first_name=first_name, + last_name=last_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + email_id: str, + first_name: Optional[str] = None, + last_name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("email_id", email_id) if first_name is not None: - pulumi.set(__self__, "first_name", first_name) + _setter("first_name", first_name) if last_name is not None: - pulumi.set(__self__, "last_name", last_name) + _setter("last_name", last_name) @property @pulumi.getter(name="emailId") @@ -118,10 +131,23 @@ def __init__(__self__, *, """ :param str name: The resource name. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetResourceQuotasFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -151,8 +177,19 @@ def __init__(__self__, *, :param bool is_allowed: Used to indicate if further quota consumption isAllowed. :param Sequence['GetResourceQuotasResourceQuotumCollectionItemArgs'] items: The list of resource quota details. """ - pulumi.set(__self__, "is_allowed", is_allowed) - pulumi.set(__self__, "items", items) + GetResourceQuotasResourceQuotumCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_allowed=is_allowed, + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_allowed: bool, + items: Sequence['outputs.GetResourceQuotasResourceQuotumCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_allowed", is_allowed) + _setter("items", items) @property @pulumi.getter(name="isAllowed") @@ -192,14 +229,37 @@ def __init__(__self__, *, :param float purchased_limit: The purchased quota limit. :param str service: The service name. """ - pulumi.set(__self__, "affected_resource", affected_resource) - pulumi.set(__self__, "balance", balance) - pulumi.set(__self__, "is_allowed", is_allowed) - pulumi.set(__self__, "is_dependency", is_dependency) - pulumi.set(__self__, "is_overage", is_overage) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "purchased_limit", purchased_limit) - pulumi.set(__self__, "service", service) + GetResourceQuotasResourceQuotumCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + affected_resource=affected_resource, + balance=balance, + is_allowed=is_allowed, + is_dependency=is_dependency, + is_overage=is_overage, + name=name, + purchased_limit=purchased_limit, + service=service, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + affected_resource: str, + balance: float, + is_allowed: bool, + is_dependency: bool, + is_overage: bool, + name: str, + purchased_limit: float, + service: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("affected_resource", affected_resource) + _setter("balance", balance) + _setter("is_allowed", is_allowed) + _setter("is_dependency", is_dependency) + _setter("is_overage", is_overage) + _setter("name", name) + _setter("purchased_limit", purchased_limit) + _setter("service", service) @property @pulumi.getter(name="affectedResource") @@ -275,10 +335,23 @@ def __init__(__self__, *, """ :param str name: Name of the resource. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetResourcesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -306,7 +379,16 @@ def __init__(__self__, *, """ :param Sequence['GetResourcesResourcesCollectionItemArgs'] items: The list of resource details for a service. """ - pulumi.set(__self__, "items", items) + GetResourcesResourcesCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetResourcesResourcesCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -344,17 +426,46 @@ def __init__(__self__, *, :param Sequence['GetResourcesResourcesCollectionItemSkusArgs'] skuses: The details of resource Skus. :param str usage_data_type: Usage data type of the resource. """ - pulumi.set(__self__, "child_resources", child_resources) - pulumi.set(__self__, "daily_unit_display_name", daily_unit_display_name) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "hourly_unit_display_name", hourly_unit_display_name) - pulumi.set(__self__, "instance_type", instance_type) - pulumi.set(__self__, "is_purchased", is_purchased) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "raw_unit_display_name", raw_unit_display_name) - pulumi.set(__self__, "servicename", servicename) - pulumi.set(__self__, "skuses", skuses) - pulumi.set(__self__, "usage_data_type", usage_data_type) + GetResourcesResourcesCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + child_resources=child_resources, + daily_unit_display_name=daily_unit_display_name, + description=description, + hourly_unit_display_name=hourly_unit_display_name, + instance_type=instance_type, + is_purchased=is_purchased, + name=name, + raw_unit_display_name=raw_unit_display_name, + servicename=servicename, + skuses=skuses, + usage_data_type=usage_data_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + child_resources: Sequence[str], + daily_unit_display_name: str, + description: str, + hourly_unit_display_name: str, + instance_type: str, + is_purchased: bool, + name: str, + raw_unit_display_name: str, + servicename: str, + skuses: Sequence['outputs.GetResourcesResourcesCollectionItemSkusResult'], + usage_data_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("child_resources", child_resources) + _setter("daily_unit_display_name", daily_unit_display_name) + _setter("description", description) + _setter("hourly_unit_display_name", hourly_unit_display_name) + _setter("instance_type", instance_type) + _setter("is_purchased", is_purchased) + _setter("name", name) + _setter("raw_unit_display_name", raw_unit_display_name) + _setter("servicename", servicename) + _setter("skuses", skuses) + _setter("usage_data_type", usage_data_type) @property @pulumi.getter(name="childResources") @@ -456,9 +567,22 @@ def __init__(__self__, *, :param str sku_id: The Sku Id for the resource. :param str sku_type: The Sku type for the resource. """ - pulumi.set(__self__, "cloud_credit_type", cloud_credit_type) - pulumi.set(__self__, "sku_id", sku_id) - pulumi.set(__self__, "sku_type", sku_type) + GetResourcesResourcesCollectionItemSkusResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cloud_credit_type=cloud_credit_type, + sku_id=sku_id, + sku_type=sku_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cloud_credit_type: str, + sku_id: str, + sku_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cloud_credit_type", cloud_credit_type) + _setter("sku_id", sku_id) + _setter("sku_type", sku_type) @property @pulumi.getter(name="cloudCreditType") @@ -500,11 +624,28 @@ def __init__(__self__, *, :param str product_number: The rate card product number. :param float usage_amount: The rate card product usage amount. """ - pulumi.set(__self__, "earned_rewards", earned_rewards) - pulumi.set(__self__, "is_eligible_to_earn_rewards", is_eligible_to_earn_rewards) - pulumi.set(__self__, "product_name", product_name) - pulumi.set(__self__, "product_number", product_number) - pulumi.set(__self__, "usage_amount", usage_amount) + GetSubscriptionProductItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + earned_rewards=earned_rewards, + is_eligible_to_earn_rewards=is_eligible_to_earn_rewards, + product_name=product_name, + product_number=product_number, + usage_amount=usage_amount, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + earned_rewards: float, + is_eligible_to_earn_rewards: bool, + product_name: str, + product_number: str, + usage_amount: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("earned_rewards", earned_rewards) + _setter("is_eligible_to_earn_rewards", is_eligible_to_earn_rewards) + _setter("product_name", product_name) + _setter("product_number", product_number) + _setter("usage_amount", usage_amount) @property @pulumi.getter(name="earnedRewards") @@ -553,10 +694,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSubscriptionProductsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -581,7 +735,16 @@ def __init__(__self__, *, """ :param Sequence['GetSubscriptionProductsProductCollectionItemArgs'] items: The list of product rewards summaries. """ - pulumi.set(__self__, "items", items) + GetSubscriptionProductsProductCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetSubscriptionProductsProductCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -599,7 +762,16 @@ def __init__(__self__, *, """ :param Sequence['GetSubscriptionProductsProductCollectionItemItemArgs'] items: The list of product rewards summaries. """ - pulumi.set(__self__, "items", items) + GetSubscriptionProductsProductCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetSubscriptionProductsProductCollectionItemItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -625,11 +797,28 @@ def __init__(__self__, *, :param str product_number: The rate card product number. :param float usage_amount: The rate card product usage amount. """ - pulumi.set(__self__, "earned_rewards", earned_rewards) - pulumi.set(__self__, "is_eligible_to_earn_rewards", is_eligible_to_earn_rewards) - pulumi.set(__self__, "product_name", product_name) - pulumi.set(__self__, "product_number", product_number) - pulumi.set(__self__, "usage_amount", usage_amount) + GetSubscriptionProductsProductCollectionItemItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + earned_rewards=earned_rewards, + is_eligible_to_earn_rewards=is_eligible_to_earn_rewards, + product_name=product_name, + product_number=product_number, + usage_amount=usage_amount, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + earned_rewards: float, + is_eligible_to_earn_rewards: bool, + product_name: str, + product_number: str, + usage_amount: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("earned_rewards", earned_rewards) + _setter("is_eligible_to_earn_rewards", is_eligible_to_earn_rewards) + _setter("product_name", product_name) + _setter("product_number", product_number) + _setter("usage_amount", usage_amount) @property @pulumi.getter(name="earnedRewards") @@ -683,9 +872,22 @@ def __init__(__self__, *, :param str first_name: The first name of the user that can redeem rewards. :param str last_name: The last name of the user that can redeem rewards. """ - pulumi.set(__self__, "email_id", email_id) - pulumi.set(__self__, "first_name", first_name) - pulumi.set(__self__, "last_name", last_name) + GetSubscriptionRedeemableUserItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + email_id=email_id, + first_name=first_name, + last_name=last_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + email_id: str, + first_name: str, + last_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("email_id", email_id) + _setter("first_name", first_name) + _setter("last_name", last_name) @property @pulumi.getter(name="emailId") @@ -718,10 +920,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSubscriptionRedeemableUsersFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -746,7 +961,16 @@ def __init__(__self__, *, """ :param Sequence['GetSubscriptionRedeemableUsersRedeemableUserCollectionItemArgs'] items: The list of user summary that can redeem rewards. """ - pulumi.set(__self__, "items", items) + GetSubscriptionRedeemableUsersRedeemableUserCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetSubscriptionRedeemableUsersRedeemableUserCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -769,10 +993,25 @@ def __init__(__self__, *, :param str subscription_id: The subscription ID for which rewards information is requested for. :param str tenancy_id: The OCID of the tenancy. """ - pulumi.set(__self__, "items", items) - pulumi.set(__self__, "subscription_id", subscription_id) - pulumi.set(__self__, "tenancy_id", tenancy_id) - pulumi.set(__self__, "user_id", user_id) + GetSubscriptionRedeemableUsersRedeemableUserCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + subscription_id=subscription_id, + tenancy_id=tenancy_id, + user_id=user_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetSubscriptionRedeemableUsersRedeemableUserCollectionItemItemResult'], + subscription_id: str, + tenancy_id: str, + user_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) + _setter("subscription_id", subscription_id) + _setter("tenancy_id", tenancy_id) + _setter("user_id", user_id) @property @pulumi.getter @@ -815,9 +1054,22 @@ def __init__(__self__, *, :param str first_name: The first name of the user that can redeem rewards. :param str last_name: The last name of the user that can redeem rewards. """ - pulumi.set(__self__, "email_id", email_id) - pulumi.set(__self__, "first_name", first_name) - pulumi.set(__self__, "last_name", last_name) + GetSubscriptionRedeemableUsersRedeemableUserCollectionItemItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + email_id=email_id, + first_name=first_name, + last_name=last_name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + email_id: str, + first_name: str, + last_name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("email_id", email_id) + _setter("first_name", first_name) + _setter("last_name", last_name) @property @pulumi.getter(name="emailId") @@ -869,16 +1121,43 @@ def __init__(__self__, *, :param str time_invoiced: It provides the invoice date. :param str time_redeemed: It provides redeem date. """ - pulumi.set(__self__, "base_rewards", base_rewards) - pulumi.set(__self__, "fx_rate", fx_rate) - pulumi.set(__self__, "invoice_currency", invoice_currency) - pulumi.set(__self__, "invoice_number", invoice_number) - pulumi.set(__self__, "invoice_total_amount", invoice_total_amount) - pulumi.set(__self__, "redeemed_rewards", redeemed_rewards) - pulumi.set(__self__, "redemption_code", redemption_code) - pulumi.set(__self__, "redemption_email", redemption_email) - pulumi.set(__self__, "time_invoiced", time_invoiced) - pulumi.set(__self__, "time_redeemed", time_redeemed) + GetSubscriptionRedemptionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + base_rewards=base_rewards, + fx_rate=fx_rate, + invoice_currency=invoice_currency, + invoice_number=invoice_number, + invoice_total_amount=invoice_total_amount, + redeemed_rewards=redeemed_rewards, + redemption_code=redemption_code, + redemption_email=redemption_email, + time_invoiced=time_invoiced, + time_redeemed=time_redeemed, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + base_rewards: float, + fx_rate: float, + invoice_currency: str, + invoice_number: str, + invoice_total_amount: float, + redeemed_rewards: float, + redemption_code: str, + redemption_email: str, + time_invoiced: str, + time_redeemed: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("base_rewards", base_rewards) + _setter("fx_rate", fx_rate) + _setter("invoice_currency", invoice_currency) + _setter("invoice_number", invoice_number) + _setter("invoice_total_amount", invoice_total_amount) + _setter("redeemed_rewards", redeemed_rewards) + _setter("redemption_code", redemption_code) + _setter("redemption_email", redemption_email) + _setter("time_invoiced", time_invoiced) + _setter("time_redeemed", time_redeemed) @property @pulumi.getter(name="baseRewards") @@ -967,10 +1246,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSubscriptionRedemptionsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -995,7 +1287,16 @@ def __init__(__self__, *, """ :param Sequence['GetSubscriptionRedemptionsRedemptionCollectionItemArgs'] items: The list of redemption summary. """ - pulumi.set(__self__, "items", items) + GetSubscriptionRedemptionsRedemptionCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetSubscriptionRedemptionsRedemptionCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1013,7 +1314,16 @@ def __init__(__self__, *, """ :param Sequence['GetSubscriptionRedemptionsRedemptionCollectionItemItemArgs'] items: The list of redemption summary. """ - pulumi.set(__self__, "items", items) + GetSubscriptionRedemptionsRedemptionCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetSubscriptionRedemptionsRedemptionCollectionItemItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1049,16 +1359,43 @@ def __init__(__self__, *, :param str time_invoiced: It provides the invoice date. :param str time_redeemed: It provides redeem date. """ - pulumi.set(__self__, "base_rewards", base_rewards) - pulumi.set(__self__, "fx_rate", fx_rate) - pulumi.set(__self__, "invoice_currency", invoice_currency) - pulumi.set(__self__, "invoice_number", invoice_number) - pulumi.set(__self__, "invoice_total_amount", invoice_total_amount) - pulumi.set(__self__, "redeemed_rewards", redeemed_rewards) - pulumi.set(__self__, "redemption_code", redemption_code) - pulumi.set(__self__, "redemption_email", redemption_email) - pulumi.set(__self__, "time_invoiced", time_invoiced) - pulumi.set(__self__, "time_redeemed", time_redeemed) + GetSubscriptionRedemptionsRedemptionCollectionItemItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + base_rewards=base_rewards, + fx_rate=fx_rate, + invoice_currency=invoice_currency, + invoice_number=invoice_number, + invoice_total_amount=invoice_total_amount, + redeemed_rewards=redeemed_rewards, + redemption_code=redemption_code, + redemption_email=redemption_email, + time_invoiced=time_invoiced, + time_redeemed=time_redeemed, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + base_rewards: float, + fx_rate: float, + invoice_currency: str, + invoice_number: str, + invoice_total_amount: float, + redeemed_rewards: float, + redemption_code: str, + redemption_email: str, + time_invoiced: str, + time_redeemed: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("base_rewards", base_rewards) + _setter("fx_rate", fx_rate) + _setter("invoice_currency", invoice_currency) + _setter("invoice_number", invoice_number) + _setter("invoice_total_amount", invoice_total_amount) + _setter("redeemed_rewards", redeemed_rewards) + _setter("redemption_code", redemption_code) + _setter("redemption_email", redemption_email) + _setter("time_invoiced", time_invoiced) + _setter("time_redeemed", time_redeemed) @property @pulumi.getter(name="baseRewards") @@ -1170,18 +1507,49 @@ def __init__(__self__, *, :param float usage_amount: The usage amount for the usage period. :param str usage_period_key: The usage period ID. """ - pulumi.set(__self__, "available_rewards", available_rewards) - pulumi.set(__self__, "earned_rewards", earned_rewards) - pulumi.set(__self__, "eligible_usage_amount", eligible_usage_amount) - pulumi.set(__self__, "ineligible_usage_amount", ineligible_usage_amount) - pulumi.set(__self__, "is_manual", is_manual) - pulumi.set(__self__, "redeemed_rewards", redeemed_rewards) - pulumi.set(__self__, "time_rewards_earned", time_rewards_earned) - pulumi.set(__self__, "time_rewards_expired", time_rewards_expired) - pulumi.set(__self__, "time_usage_ended", time_usage_ended) - pulumi.set(__self__, "time_usage_started", time_usage_started) - pulumi.set(__self__, "usage_amount", usage_amount) - pulumi.set(__self__, "usage_period_key", usage_period_key) + GetSubscriptionRewardItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + available_rewards=available_rewards, + earned_rewards=earned_rewards, + eligible_usage_amount=eligible_usage_amount, + ineligible_usage_amount=ineligible_usage_amount, + is_manual=is_manual, + redeemed_rewards=redeemed_rewards, + time_rewards_earned=time_rewards_earned, + time_rewards_expired=time_rewards_expired, + time_usage_ended=time_usage_ended, + time_usage_started=time_usage_started, + usage_amount=usage_amount, + usage_period_key=usage_period_key, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + available_rewards: float, + earned_rewards: float, + eligible_usage_amount: float, + ineligible_usage_amount: float, + is_manual: bool, + redeemed_rewards: float, + time_rewards_earned: str, + time_rewards_expired: str, + time_usage_ended: str, + time_usage_started: str, + usage_amount: float, + usage_period_key: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("available_rewards", available_rewards) + _setter("earned_rewards", earned_rewards) + _setter("eligible_usage_amount", eligible_usage_amount) + _setter("ineligible_usage_amount", ineligible_usage_amount) + _setter("is_manual", is_manual) + _setter("redeemed_rewards", redeemed_rewards) + _setter("time_rewards_earned", time_rewards_earned) + _setter("time_rewards_expired", time_rewards_expired) + _setter("time_usage_ended", time_usage_ended) + _setter("time_usage_started", time_usage_started) + _setter("usage_amount", usage_amount) + _setter("usage_period_key", usage_period_key) @property @pulumi.getter(name="availableRewards") @@ -1297,12 +1665,31 @@ def __init__(__self__, *, :param str tenancy_id: The OCID of the tenancy. :param float total_rewards_available: The total number of available rewards for a given subscription ID. """ - pulumi.set(__self__, "currency", currency) - pulumi.set(__self__, "redemption_code", redemption_code) - pulumi.set(__self__, "rewards_rate", rewards_rate) - pulumi.set(__self__, "subscription_id", subscription_id) - pulumi.set(__self__, "tenancy_id", tenancy_id) - pulumi.set(__self__, "total_rewards_available", total_rewards_available) + GetSubscriptionRewardSummaryResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + currency=currency, + redemption_code=redemption_code, + rewards_rate=rewards_rate, + subscription_id=subscription_id, + tenancy_id=tenancy_id, + total_rewards_available=total_rewards_available, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + currency: str, + redemption_code: str, + rewards_rate: float, + subscription_id: str, + tenancy_id: str, + total_rewards_available: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("currency", currency) + _setter("redemption_code", redemption_code) + _setter("rewards_rate", rewards_rate) + _setter("subscription_id", subscription_id) + _setter("tenancy_id", tenancy_id) + _setter("total_rewards_available", total_rewards_available) @property @pulumi.getter @@ -1359,10 +1746,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSubscriptionRewardsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1387,7 +1787,16 @@ def __init__(__self__, *, """ :param Sequence['GetSubscriptionRewardsRewardCollectionItemArgs'] items: The monthly summary of rewards. """ - pulumi.set(__self__, "items", items) + GetSubscriptionRewardsRewardCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetSubscriptionRewardsRewardCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1407,8 +1816,19 @@ def __init__(__self__, *, :param Sequence['GetSubscriptionRewardsRewardCollectionItemItemArgs'] items: The monthly summary of rewards. :param Sequence['GetSubscriptionRewardsRewardCollectionItemSummaryArgs'] summaries: The overall monthly reward summary. """ - pulumi.set(__self__, "items", items) - pulumi.set(__self__, "summaries", summaries) + GetSubscriptionRewardsRewardCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + summaries=summaries, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetSubscriptionRewardsRewardCollectionItemItemResult'], + summaries: Sequence['outputs.GetSubscriptionRewardsRewardCollectionItemSummaryResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) + _setter("summaries", summaries) @property @pulumi.getter @@ -1456,18 +1876,49 @@ def __init__(__self__, *, :param float usage_amount: The usage amount for the usage period. :param str usage_period_key: The usage period ID. """ - pulumi.set(__self__, "available_rewards", available_rewards) - pulumi.set(__self__, "earned_rewards", earned_rewards) - pulumi.set(__self__, "eligible_usage_amount", eligible_usage_amount) - pulumi.set(__self__, "ineligible_usage_amount", ineligible_usage_amount) - pulumi.set(__self__, "is_manual", is_manual) - pulumi.set(__self__, "redeemed_rewards", redeemed_rewards) - pulumi.set(__self__, "time_rewards_earned", time_rewards_earned) - pulumi.set(__self__, "time_rewards_expired", time_rewards_expired) - pulumi.set(__self__, "time_usage_ended", time_usage_ended) - pulumi.set(__self__, "time_usage_started", time_usage_started) - pulumi.set(__self__, "usage_amount", usage_amount) - pulumi.set(__self__, "usage_period_key", usage_period_key) + GetSubscriptionRewardsRewardCollectionItemItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + available_rewards=available_rewards, + earned_rewards=earned_rewards, + eligible_usage_amount=eligible_usage_amount, + ineligible_usage_amount=ineligible_usage_amount, + is_manual=is_manual, + redeemed_rewards=redeemed_rewards, + time_rewards_earned=time_rewards_earned, + time_rewards_expired=time_rewards_expired, + time_usage_ended=time_usage_ended, + time_usage_started=time_usage_started, + usage_amount=usage_amount, + usage_period_key=usage_period_key, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + available_rewards: float, + earned_rewards: float, + eligible_usage_amount: float, + ineligible_usage_amount: float, + is_manual: bool, + redeemed_rewards: float, + time_rewards_earned: str, + time_rewards_expired: str, + time_usage_ended: str, + time_usage_started: str, + usage_amount: float, + usage_period_key: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("available_rewards", available_rewards) + _setter("earned_rewards", earned_rewards) + _setter("eligible_usage_amount", eligible_usage_amount) + _setter("ineligible_usage_amount", ineligible_usage_amount) + _setter("is_manual", is_manual) + _setter("redeemed_rewards", redeemed_rewards) + _setter("time_rewards_earned", time_rewards_earned) + _setter("time_rewards_expired", time_rewards_expired) + _setter("time_usage_ended", time_usage_ended) + _setter("time_usage_started", time_usage_started) + _setter("usage_amount", usage_amount) + _setter("usage_period_key", usage_period_key) @property @pulumi.getter(name="availableRewards") @@ -1583,12 +2034,31 @@ def __init__(__self__, *, :param str tenancy_id: The OCID of the tenancy. :param float total_rewards_available: The total number of available rewards for a given subscription ID. """ - pulumi.set(__self__, "currency", currency) - pulumi.set(__self__, "redemption_code", redemption_code) - pulumi.set(__self__, "rewards_rate", rewards_rate) - pulumi.set(__self__, "subscription_id", subscription_id) - pulumi.set(__self__, "tenancy_id", tenancy_id) - pulumi.set(__self__, "total_rewards_available", total_rewards_available) + GetSubscriptionRewardsRewardCollectionItemSummaryResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + currency=currency, + redemption_code=redemption_code, + rewards_rate=rewards_rate, + subscription_id=subscription_id, + tenancy_id=tenancy_id, + total_rewards_available=total_rewards_available, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + currency: str, + redemption_code: str, + rewards_rate: float, + subscription_id: str, + tenancy_id: str, + total_rewards_available: float, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("currency", currency) + _setter("redemption_code", redemption_code) + _setter("rewards_rate", rewards_rate) + _setter("subscription_id", subscription_id) + _setter("tenancy_id", tenancy_id) + _setter("total_rewards_available", total_rewards_available) @property @pulumi.getter @@ -1645,10 +2115,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetUsagelimitsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1673,7 +2156,16 @@ def __init__(__self__, *, """ :param Sequence['GetUsagelimitsUsageLimitCollectionItemArgs'] items: The list of usage limits. """ - pulumi.set(__self__, "items", items) + GetUsagelimitsUsageLimitCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetUsagelimitsUsageLimitCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1720,22 +2212,61 @@ def __init__(__self__, *, :param str time_modified: Time when the usage limit was modified :param str value_type: The value type of the usage limit """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "alert_level", alert_level) - pulumi.set(__self__, "created_by", created_by) - pulumi.set(__self__, "entitlement_id", entitlement_id) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "limit", limit) - pulumi.set(__self__, "limit_type", limit_type) - pulumi.set(__self__, "max_hard_limit", max_hard_limit) - pulumi.set(__self__, "modified_by", modified_by) - pulumi.set(__self__, "resource_name", resource_name) - pulumi.set(__self__, "service_name", service_name) - pulumi.set(__self__, "sku_part_id", sku_part_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_modified", time_modified) - pulumi.set(__self__, "value_type", value_type) + GetUsagelimitsUsageLimitCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + alert_level=alert_level, + created_by=created_by, + entitlement_id=entitlement_id, + id=id, + limit=limit, + limit_type=limit_type, + max_hard_limit=max_hard_limit, + modified_by=modified_by, + resource_name=resource_name, + service_name=service_name, + sku_part_id=sku_part_id, + state=state, + time_created=time_created, + time_modified=time_modified, + value_type=value_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: str, + alert_level: float, + created_by: str, + entitlement_id: str, + id: str, + limit: str, + limit_type: str, + max_hard_limit: str, + modified_by: str, + resource_name: str, + service_name: str, + sku_part_id: str, + state: str, + time_created: str, + time_modified: str, + value_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("alert_level", alert_level) + _setter("created_by", created_by) + _setter("entitlement_id", entitlement_id) + _setter("id", id) + _setter("limit", limit) + _setter("limit_type", limit_type) + _setter("max_hard_limit", max_hard_limit) + _setter("modified_by", modified_by) + _setter("resource_name", resource_name) + _setter("service_name", service_name) + _setter("sku_part_id", sku_part_id) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_modified", time_modified) + _setter("value_type", value_type) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/usageproxy/subscription_redeemable_user.py b/sdk/python/pulumi_oci/usageproxy/subscription_redeemable_user.py index 3aeff91219..2f303d7b30 100644 --- a/sdk/python/pulumi_oci/usageproxy/subscription_redeemable_user.py +++ b/sdk/python/pulumi_oci/usageproxy/subscription_redeemable_user.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -31,11 +31,26 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "items", items) - pulumi.set(__self__, "subscription_id", subscription_id) - pulumi.set(__self__, "tenancy_id", tenancy_id) + SubscriptionRedeemableUserArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + subscription_id=subscription_id, + tenancy_id=tenancy_id, + user_id=user_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: pulumi.Input[Sequence[pulumi.Input['SubscriptionRedeemableUserItemArgs']]], + subscription_id: pulumi.Input[str], + tenancy_id: pulumi.Input[str], + user_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) + _setter("subscription_id", subscription_id) + _setter("tenancy_id", tenancy_id) if user_id is not None: - pulumi.set(__self__, "user_id", user_id) + _setter("user_id", user_id) @property @pulumi.getter @@ -108,14 +123,29 @@ def __init__(__self__, *, ** 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 """ + _SubscriptionRedeemableUserState._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + subscription_id=subscription_id, + tenancy_id=tenancy_id, + user_id=user_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Optional[pulumi.Input[Sequence[pulumi.Input['SubscriptionRedeemableUserItemArgs']]]] = None, + subscription_id: Optional[pulumi.Input[str]] = None, + tenancy_id: Optional[pulumi.Input[str]] = None, + user_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if items is not None: - pulumi.set(__self__, "items", items) + _setter("items", items) if subscription_id is not None: - pulumi.set(__self__, "subscription_id", subscription_id) + _setter("subscription_id", subscription_id) if tenancy_id is not None: - pulumi.set(__self__, "tenancy_id", tenancy_id) + _setter("tenancy_id", tenancy_id) if user_id is not None: - pulumi.set(__self__, "user_id", user_id) + _setter("user_id", user_id) @property @pulumi.getter @@ -267,6 +297,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + SubscriptionRedeemableUserArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/vault/_inputs.py b/sdk/python/pulumi_oci/vault/_inputs.py index b7be6f027e..f8df6ac16b 100644 --- a/sdk/python/pulumi_oci/vault/_inputs.py +++ b/sdk/python/pulumi_oci/vault/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -28,12 +28,27 @@ def __init__(__self__, *, :param pulumi.Input[str] name: (Updatable) Names should be unique within a secret. Valid characters are uppercase or lowercase letters, numbers, hyphens, underscores, and periods. :param pulumi.Input[str] stage: (Updatable) The rotation state of the secret content. The default is `CURRENT`, meaning that the secret is currently in use. A secret version that you mark as `PENDING` is staged and available for use, but you don't yet want to rotate it into current, active use. For example, you might create or update a secret and mark its rotation state as `PENDING` if you haven't yet updated the secret on the target system. When creating a secret, only the value `CURRENT` is applicable, although the value `LATEST` is also automatically applied. When updating a secret, you can specify a version's rotation state as either `CURRENT` or `PENDING`. """ - pulumi.set(__self__, "content", content) - pulumi.set(__self__, "content_type", content_type) + SecretSecretContentArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + content=content, + content_type=content_type, + name=name, + stage=stage, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + content: pulumi.Input[str], + content_type: pulumi.Input[str], + name: Optional[pulumi.Input[str]] = None, + stage: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("content", content) + _setter("content_type", content_type) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if stage is not None: - pulumi.set(__self__, "stage", stage) + _setter("stage", stage) @property @pulumi.getter @@ -99,15 +114,32 @@ def __init__(__self__, *, :param pulumi.Input[str] secret_version_expiry_interval: (Updatable) A property indicating how long the secret contents will be considered valid, expressed in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Time_intervals) format. The secret needs to be updated when the secret content expires. No enforcement mechanism exists at this time, but audit logs record the expiration on the appropriate date, according to the time interval specified in the rule. The timer resets after you update the secret contents. The minimum value is 1 day and the maximum value is 90 days for this property. Currently, only intervals expressed in days are supported. For example, pass `P3D` to have the secret version expire every 3 days. :param pulumi.Input[str] time_of_absolute_expiry: (Updatable) An optional property indicating the absolute time when this secret will expire, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. The minimum number of days from current time is 1 day and the maximum number of days from current time is 365 days. Example: `2019-04-03T21:10:29.600Z` """ - pulumi.set(__self__, "rule_type", rule_type) + SecretSecretRuleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + rule_type=rule_type, + is_enforced_on_deleted_secret_versions=is_enforced_on_deleted_secret_versions, + is_secret_content_retrieval_blocked_on_expiry=is_secret_content_retrieval_blocked_on_expiry, + secret_version_expiry_interval=secret_version_expiry_interval, + time_of_absolute_expiry=time_of_absolute_expiry, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + rule_type: pulumi.Input[str], + is_enforced_on_deleted_secret_versions: Optional[pulumi.Input[bool]] = None, + is_secret_content_retrieval_blocked_on_expiry: Optional[pulumi.Input[bool]] = None, + secret_version_expiry_interval: Optional[pulumi.Input[str]] = None, + time_of_absolute_expiry: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("rule_type", rule_type) if is_enforced_on_deleted_secret_versions is not None: - pulumi.set(__self__, "is_enforced_on_deleted_secret_versions", is_enforced_on_deleted_secret_versions) + _setter("is_enforced_on_deleted_secret_versions", is_enforced_on_deleted_secret_versions) if is_secret_content_retrieval_blocked_on_expiry is not None: - pulumi.set(__self__, "is_secret_content_retrieval_blocked_on_expiry", is_secret_content_retrieval_blocked_on_expiry) + _setter("is_secret_content_retrieval_blocked_on_expiry", is_secret_content_retrieval_blocked_on_expiry) if secret_version_expiry_interval is not None: - pulumi.set(__self__, "secret_version_expiry_interval", secret_version_expiry_interval) + _setter("secret_version_expiry_interval", secret_version_expiry_interval) if time_of_absolute_expiry is not None: - pulumi.set(__self__, "time_of_absolute_expiry", time_of_absolute_expiry) + _setter("time_of_absolute_expiry", time_of_absolute_expiry) @property @pulumi.getter(name="ruleType") @@ -179,10 +211,23 @@ def __init__(__self__, *, """ :param str name: The secret name. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSecretsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/vault/get_secret.py b/sdk/python/pulumi_oci/vault/get_secret.py index be7fd9526e..b6769ff40f 100644 --- a/sdk/python/pulumi_oci/vault/get_secret.py +++ b/sdk/python/pulumi_oci/vault/get_secret.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/vault/get_secret_version.py b/sdk/python/pulumi_oci/vault/get_secret_version.py index e622d52cfa..c6484fae34 100644 --- a/sdk/python/pulumi_oci/vault/get_secret_version.py +++ b/sdk/python/pulumi_oci/vault/get_secret_version.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/vault/get_secrets.py b/sdk/python/pulumi_oci/vault/get_secrets.py index 686aad9e49..e901d1de29 100644 --- a/sdk/python/pulumi_oci/vault/get_secrets.py +++ b/sdk/python/pulumi_oci/vault/get_secrets.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/vault/outputs.py b/sdk/python/pulumi_oci/vault/outputs.py index 2bc9370581..92688e061f 100644 --- a/sdk/python/pulumi_oci/vault/outputs.py +++ b/sdk/python/pulumi_oci/vault/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -51,12 +51,27 @@ def __init__(__self__, *, :param str name: (Updatable) Names should be unique within a secret. Valid characters are uppercase or lowercase letters, numbers, hyphens, underscores, and periods. :param str stage: (Updatable) The rotation state of the secret content. The default is `CURRENT`, meaning that the secret is currently in use. A secret version that you mark as `PENDING` is staged and available for use, but you don't yet want to rotate it into current, active use. For example, you might create or update a secret and mark its rotation state as `PENDING` if you haven't yet updated the secret on the target system. When creating a secret, only the value `CURRENT` is applicable, although the value `LATEST` is also automatically applied. When updating a secret, you can specify a version's rotation state as either `CURRENT` or `PENDING`. """ - pulumi.set(__self__, "content", content) - pulumi.set(__self__, "content_type", content_type) + SecretSecretContent._configure( + lambda key, value: pulumi.set(__self__, key, value), + content=content, + content_type=content_type, + name=name, + stage=stage, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + content: str, + content_type: str, + name: Optional[str] = None, + stage: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("content", content) + _setter("content_type", content_type) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if stage is not None: - pulumi.set(__self__, "stage", stage) + _setter("stage", stage) @property @pulumi.getter @@ -131,15 +146,32 @@ def __init__(__self__, *, :param str secret_version_expiry_interval: (Updatable) A property indicating how long the secret contents will be considered valid, expressed in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Time_intervals) format. The secret needs to be updated when the secret content expires. No enforcement mechanism exists at this time, but audit logs record the expiration on the appropriate date, according to the time interval specified in the rule. The timer resets after you update the secret contents. The minimum value is 1 day and the maximum value is 90 days for this property. Currently, only intervals expressed in days are supported. For example, pass `P3D` to have the secret version expire every 3 days. :param str time_of_absolute_expiry: (Updatable) An optional property indicating the absolute time when this secret will expire, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. The minimum number of days from current time is 1 day and the maximum number of days from current time is 365 days. Example: `2019-04-03T21:10:29.600Z` """ - pulumi.set(__self__, "rule_type", rule_type) + SecretSecretRule._configure( + lambda key, value: pulumi.set(__self__, key, value), + rule_type=rule_type, + is_enforced_on_deleted_secret_versions=is_enforced_on_deleted_secret_versions, + is_secret_content_retrieval_blocked_on_expiry=is_secret_content_retrieval_blocked_on_expiry, + secret_version_expiry_interval=secret_version_expiry_interval, + time_of_absolute_expiry=time_of_absolute_expiry, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + rule_type: str, + is_enforced_on_deleted_secret_versions: Optional[bool] = None, + is_secret_content_retrieval_blocked_on_expiry: Optional[bool] = None, + secret_version_expiry_interval: Optional[str] = None, + time_of_absolute_expiry: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("rule_type", rule_type) if is_enforced_on_deleted_secret_versions is not None: - pulumi.set(__self__, "is_enforced_on_deleted_secret_versions", is_enforced_on_deleted_secret_versions) + _setter("is_enforced_on_deleted_secret_versions", is_enforced_on_deleted_secret_versions) if is_secret_content_retrieval_blocked_on_expiry is not None: - pulumi.set(__self__, "is_secret_content_retrieval_blocked_on_expiry", is_secret_content_retrieval_blocked_on_expiry) + _setter("is_secret_content_retrieval_blocked_on_expiry", is_secret_content_retrieval_blocked_on_expiry) if secret_version_expiry_interval is not None: - pulumi.set(__self__, "secret_version_expiry_interval", secret_version_expiry_interval) + _setter("secret_version_expiry_interval", secret_version_expiry_interval) if time_of_absolute_expiry is not None: - pulumi.set(__self__, "time_of_absolute_expiry", time_of_absolute_expiry) + _setter("time_of_absolute_expiry", time_of_absolute_expiry) @property @pulumi.getter(name="ruleType") @@ -189,10 +221,25 @@ def __init__(__self__, *, content_type: str, name: str, stage: str): - pulumi.set(__self__, "content", content) - pulumi.set(__self__, "content_type", content_type) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "stage", stage) + GetSecretSecretContentResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + content=content, + content_type=content_type, + name=name, + stage=stage, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + content: str, + content_type: str, + name: str, + stage: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("content", content) + _setter("content_type", content_type) + _setter("name", name) + _setter("stage", stage) @property @pulumi.getter @@ -230,11 +277,28 @@ def __init__(__self__, *, :param str secret_version_expiry_interval: A property indicating how long the secret contents will be considered valid, expressed in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Time_intervals) format. The secret needs to be updated when the secret content expires. No enforcement mechanism exists at this time, but audit logs record the expiration on the appropriate date, according to the time interval specified in the rule. The timer resets after you update the secret contents. The minimum value is 1 day and the maximum value is 90 days for this property. Currently, only intervals expressed in days are supported. For example, pass `P3D` to have the secret version expire every 3 days. :param str time_of_absolute_expiry: An optional property indicating the absolute time when this secret will expire, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. The minimum number of days from current time is 1 day and the maximum number of days from current time is 365 days. Example: `2019-04-03T21:10:29.600Z` """ - pulumi.set(__self__, "is_enforced_on_deleted_secret_versions", is_enforced_on_deleted_secret_versions) - pulumi.set(__self__, "is_secret_content_retrieval_blocked_on_expiry", is_secret_content_retrieval_blocked_on_expiry) - pulumi.set(__self__, "rule_type", rule_type) - pulumi.set(__self__, "secret_version_expiry_interval", secret_version_expiry_interval) - pulumi.set(__self__, "time_of_absolute_expiry", time_of_absolute_expiry) + GetSecretSecretRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enforced_on_deleted_secret_versions=is_enforced_on_deleted_secret_versions, + is_secret_content_retrieval_blocked_on_expiry=is_secret_content_retrieval_blocked_on_expiry, + rule_type=rule_type, + secret_version_expiry_interval=secret_version_expiry_interval, + time_of_absolute_expiry=time_of_absolute_expiry, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enforced_on_deleted_secret_versions: bool, + is_secret_content_retrieval_blocked_on_expiry: bool, + rule_type: str, + secret_version_expiry_interval: str, + time_of_absolute_expiry: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_enforced_on_deleted_secret_versions", is_enforced_on_deleted_secret_versions) + _setter("is_secret_content_retrieval_blocked_on_expiry", is_secret_content_retrieval_blocked_on_expiry) + _setter("rule_type", rule_type) + _setter("secret_version_expiry_interval", secret_version_expiry_interval) + _setter("time_of_absolute_expiry", time_of_absolute_expiry) @property @pulumi.getter(name="isEnforcedOnDeletedSecretVersions") @@ -286,10 +350,23 @@ def __init__(__self__, *, """ :param str name: The secret name. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetSecretsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -348,23 +425,64 @@ def __init__(__self__, *, :param str time_of_deletion: An optional property indicating when to delete the secret, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. Example: `2019-04-03T21:10:29.600Z` :param str vault_id: The OCID of the vault. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "current_version_number", current_version_number) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "key_id", key_id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "metadata", metadata) - pulumi.set(__self__, "secret_contents", secret_contents) - pulumi.set(__self__, "secret_name", secret_name) - pulumi.set(__self__, "secret_rules", secret_rules) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_of_current_version_expiry", time_of_current_version_expiry) - pulumi.set(__self__, "time_of_deletion", time_of_deletion) - pulumi.set(__self__, "vault_id", vault_id) + GetSecretsSecretResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + current_version_number=current_version_number, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + id=id, + key_id=key_id, + lifecycle_details=lifecycle_details, + metadata=metadata, + secret_contents=secret_contents, + secret_name=secret_name, + secret_rules=secret_rules, + state=state, + time_created=time_created, + time_of_current_version_expiry=time_of_current_version_expiry, + time_of_deletion=time_of_deletion, + vault_id=vault_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + current_version_number: str, + defined_tags: Mapping[str, Any], + description: str, + freeform_tags: Mapping[str, Any], + id: str, + key_id: str, + lifecycle_details: str, + metadata: Mapping[str, Any], + secret_contents: Sequence['outputs.GetSecretsSecretSecretContentResult'], + secret_name: str, + secret_rules: Sequence['outputs.GetSecretsSecretSecretRuleResult'], + state: str, + time_created: str, + time_of_current_version_expiry: str, + time_of_deletion: str, + vault_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("current_version_number", current_version_number) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("key_id", key_id) + _setter("lifecycle_details", lifecycle_details) + _setter("metadata", metadata) + _setter("secret_contents", secret_contents) + _setter("secret_name", secret_name) + _setter("secret_rules", secret_rules) + _setter("state", state) + _setter("time_created", time_created) + _setter("time_of_current_version_expiry", time_of_current_version_expiry) + _setter("time_of_deletion", time_of_deletion) + _setter("vault_id", vault_id) @property @pulumi.getter(name="compartmentId") @@ -510,10 +628,25 @@ def __init__(__self__, *, """ :param str name: The secret name. """ - pulumi.set(__self__, "content", content) - pulumi.set(__self__, "content_type", content_type) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "stage", stage) + GetSecretsSecretSecretContentResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + content=content, + content_type=content_type, + name=name, + stage=stage, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + content: str, + content_type: str, + name: str, + stage: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("content", content) + _setter("content_type", content_type) + _setter("name", name) + _setter("stage", stage) @property @pulumi.getter @@ -554,11 +687,28 @@ def __init__(__self__, *, :param str secret_version_expiry_interval: A property indicating how long the secret contents will be considered valid, expressed in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Time_intervals) format. The secret needs to be updated when the secret content expires. No enforcement mechanism exists at this time, but audit logs record the expiration on the appropriate date, according to the time interval specified in the rule. The timer resets after you update the secret contents. The minimum value is 1 day and the maximum value is 90 days for this property. Currently, only intervals expressed in days are supported. For example, pass `P3D` to have the secret version expire every 3 days. :param str time_of_absolute_expiry: An optional property indicating the absolute time when this secret will expire, expressed in [RFC 3339](https://tools.ietf.org/html/rfc3339) timestamp format. The minimum number of days from current time is 1 day and the maximum number of days from current time is 365 days. Example: `2019-04-03T21:10:29.600Z` """ - pulumi.set(__self__, "is_enforced_on_deleted_secret_versions", is_enforced_on_deleted_secret_versions) - pulumi.set(__self__, "is_secret_content_retrieval_blocked_on_expiry", is_secret_content_retrieval_blocked_on_expiry) - pulumi.set(__self__, "rule_type", rule_type) - pulumi.set(__self__, "secret_version_expiry_interval", secret_version_expiry_interval) - pulumi.set(__self__, "time_of_absolute_expiry", time_of_absolute_expiry) + GetSecretsSecretSecretRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enforced_on_deleted_secret_versions=is_enforced_on_deleted_secret_versions, + is_secret_content_retrieval_blocked_on_expiry=is_secret_content_retrieval_blocked_on_expiry, + rule_type=rule_type, + secret_version_expiry_interval=secret_version_expiry_interval, + time_of_absolute_expiry=time_of_absolute_expiry, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enforced_on_deleted_secret_versions: bool, + is_secret_content_retrieval_blocked_on_expiry: bool, + rule_type: str, + secret_version_expiry_interval: str, + time_of_absolute_expiry: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_enforced_on_deleted_secret_versions", is_enforced_on_deleted_secret_versions) + _setter("is_secret_content_retrieval_blocked_on_expiry", is_secret_content_retrieval_blocked_on_expiry) + _setter("rule_type", rule_type) + _setter("secret_version_expiry_interval", secret_version_expiry_interval) + _setter("time_of_absolute_expiry", time_of_absolute_expiry) @property @pulumi.getter(name="isEnforcedOnDeletedSecretVersions") diff --git a/sdk/python/pulumi_oci/vault/secret.py b/sdk/python/pulumi_oci/vault/secret.py index bc16d35e2c..7fc87de041 100644 --- a/sdk/python/pulumi_oci/vault/secret.py +++ b/sdk/python/pulumi_oci/vault/secret.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -43,21 +43,48 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] metadata: (Updatable) Additional metadata that you can use to provide context about how to use the secret during rotation or other administrative tasks. For example, for a secret that you use to connect to a database, the additional metadata might specify the connection endpoint and the connection string. Provide additional metadata as key-value pairs. :param pulumi.Input[Sequence[pulumi.Input['SecretSecretRuleArgs']]] secret_rules: (Updatable) A list of rules to control how the secret is used and managed. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "key_id", key_id) - pulumi.set(__self__, "secret_content", secret_content) - pulumi.set(__self__, "secret_name", secret_name) - pulumi.set(__self__, "vault_id", vault_id) + SecretArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + key_id=key_id, + secret_content=secret_content, + secret_name=secret_name, + vault_id=vault_id, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + metadata=metadata, + secret_rules=secret_rules, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + key_id: pulumi.Input[str], + secret_content: pulumi.Input['SecretSecretContentArgs'], + secret_name: pulumi.Input[str], + vault_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + metadata: Optional[pulumi.Input[Mapping[str, Any]]] = None, + secret_rules: Optional[pulumi.Input[Sequence[pulumi.Input['SecretSecretRuleArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("key_id", key_id) + _setter("secret_content", secret_content) + _setter("secret_name", secret_name) + _setter("vault_id", vault_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if metadata is not None: - pulumi.set(__self__, "metadata", metadata) + _setter("metadata", metadata) if secret_rules is not None: - pulumi.set(__self__, "secret_rules", secret_rules) + _setter("secret_rules", secret_rules) @property @pulumi.getter(name="compartmentId") @@ -226,38 +253,77 @@ def __init__(__self__, *, ** 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 """ + _SecretState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + current_version_number=current_version_number, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + key_id=key_id, + lifecycle_details=lifecycle_details, + metadata=metadata, + secret_content=secret_content, + secret_name=secret_name, + secret_rules=secret_rules, + state=state, + time_created=time_created, + time_of_current_version_expiry=time_of_current_version_expiry, + time_of_deletion=time_of_deletion, + vault_id=vault_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + current_version_number: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + key_id: Optional[pulumi.Input[str]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + metadata: Optional[pulumi.Input[Mapping[str, Any]]] = None, + secret_content: Optional[pulumi.Input['SecretSecretContentArgs']] = None, + secret_name: Optional[pulumi.Input[str]] = None, + secret_rules: Optional[pulumi.Input[Sequence[pulumi.Input['SecretSecretRuleArgs']]]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_of_current_version_expiry: Optional[pulumi.Input[str]] = None, + time_of_deletion: Optional[pulumi.Input[str]] = None, + vault_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if current_version_number is not None: - pulumi.set(__self__, "current_version_number", current_version_number) + _setter("current_version_number", current_version_number) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if key_id is not None: - pulumi.set(__self__, "key_id", key_id) + _setter("key_id", key_id) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if metadata is not None: - pulumi.set(__self__, "metadata", metadata) + _setter("metadata", metadata) if secret_content is not None: - pulumi.set(__self__, "secret_content", secret_content) + _setter("secret_content", secret_content) if secret_name is not None: - pulumi.set(__self__, "secret_name", secret_name) + _setter("secret_name", secret_name) if secret_rules is not None: - pulumi.set(__self__, "secret_rules", secret_rules) + _setter("secret_rules", secret_rules) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_of_current_version_expiry is not None: - pulumi.set(__self__, "time_of_current_version_expiry", time_of_current_version_expiry) + _setter("time_of_current_version_expiry", time_of_current_version_expiry) if time_of_deletion is not None: - pulumi.set(__self__, "time_of_deletion", time_of_deletion) + _setter("time_of_deletion", time_of_deletion) if vault_id is not None: - pulumi.set(__self__, "vault_id", vault_id) + _setter("vault_id", vault_id) @property @pulumi.getter(name="compartmentId") @@ -531,6 +597,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + SecretArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -565,6 +635,11 @@ def _internal_init(__self__, raise TypeError("Missing required property 'key_id'") __props__.__dict__["key_id"] = key_id __props__.__dict__["metadata"] = metadata + if secret_content is not None and not isinstance(secret_content, SecretSecretContentArgs): + secret_content = secret_content or {} + def _setter(key, value): + secret_content[key] = value + SecretSecretContentArgs._configure(_setter, **secret_content) if secret_content is None and not opts.urn: raise TypeError("Missing required property 'secret_content'") __props__.__dict__["secret_content"] = secret_content diff --git a/sdk/python/pulumi_oci/vbs/_inputs.py b/sdk/python/pulumi_oci/vbs/_inputs.py index d69445df59..8ca82f0779 100644 --- a/sdk/python/pulumi_oci/vbs/_inputs.py +++ b/sdk/python/pulumi_oci/vbs/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -22,10 +22,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the entire name given. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetInstVbsInstancesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/vbs/get_inst_vbs_instance.py b/sdk/python/pulumi_oci/vbs/get_inst_vbs_instance.py index 91a57c255c..ac4a1611a8 100644 --- a/sdk/python/pulumi_oci/vbs/get_inst_vbs_instance.py +++ b/sdk/python/pulumi_oci/vbs/get_inst_vbs_instance.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/vbs/get_inst_vbs_instances.py b/sdk/python/pulumi_oci/vbs/get_inst_vbs_instances.py index 5166bab318..e8fe01def8 100644 --- a/sdk/python/pulumi_oci/vbs/get_inst_vbs_instances.py +++ b/sdk/python/pulumi_oci/vbs/get_inst_vbs_instances.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/vbs/inst_vbs_instance.py b/sdk/python/pulumi_oci/vbs/inst_vbs_instance.py index fb0f60798b..288b11326b 100644 --- a/sdk/python/pulumi_oci/vbs/inst_vbs_instance.py +++ b/sdk/python/pulumi_oci/vbs/inst_vbs_instance.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['InstVbsInstanceArgs', 'InstVbsInstance'] @@ -37,20 +37,43 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) + InstVbsInstanceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + idcs_access_token=idcs_access_token, + is_resource_usage_agreement_granted=is_resource_usage_agreement_granted, + name=name, + resource_compartment_id=resource_compartment_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + idcs_access_token: Optional[pulumi.Input[str]] = None, + is_resource_usage_agreement_granted: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + resource_compartment_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if idcs_access_token is not None: - pulumi.set(__self__, "idcs_access_token", idcs_access_token) + _setter("idcs_access_token", idcs_access_token) if is_resource_usage_agreement_granted is not None: - pulumi.set(__self__, "is_resource_usage_agreement_granted", is_resource_usage_agreement_granted) + _setter("is_resource_usage_agreement_granted", is_resource_usage_agreement_granted) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if resource_compartment_id is not None: - pulumi.set(__self__, "resource_compartment_id", resource_compartment_id) + _setter("resource_compartment_id", resource_compartment_id) @property @pulumi.getter(name="compartmentId") @@ -191,34 +214,69 @@ def __init__(__self__, *, :param pulumi.Input[str] time_updated: The time the VbsInstance was updated. An RFC3339 formatted datetime string :param pulumi.Input[str] vbs_access_url: Public web URL for accessing the VBS service instance """ + _InstVbsInstanceState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + idcs_access_token=idcs_access_token, + is_resource_usage_agreement_granted=is_resource_usage_agreement_granted, + lifecyle_details=lifecyle_details, + name=name, + resource_compartment_id=resource_compartment_id, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + vbs_access_url=vbs_access_url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + idcs_access_token: Optional[pulumi.Input[str]] = None, + is_resource_usage_agreement_granted: Optional[pulumi.Input[bool]] = None, + lifecyle_details: Optional[pulumi.Input[str]] = None, + name: Optional[pulumi.Input[str]] = None, + resource_compartment_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + vbs_access_url: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if idcs_access_token is not None: - pulumi.set(__self__, "idcs_access_token", idcs_access_token) + _setter("idcs_access_token", idcs_access_token) if is_resource_usage_agreement_granted is not None: - pulumi.set(__self__, "is_resource_usage_agreement_granted", is_resource_usage_agreement_granted) + _setter("is_resource_usage_agreement_granted", is_resource_usage_agreement_granted) if lifecyle_details is not None: - pulumi.set(__self__, "lifecyle_details", lifecyle_details) + _setter("lifecyle_details", lifecyle_details) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if resource_compartment_id is not None: - pulumi.set(__self__, "resource_compartment_id", resource_compartment_id) + _setter("resource_compartment_id", resource_compartment_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if vbs_access_url is not None: - pulumi.set(__self__, "vbs_access_url", vbs_access_url) + _setter("vbs_access_url", vbs_access_url) @property @pulumi.getter(name="compartmentId") @@ -504,6 +562,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + InstVbsInstanceArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/vbs/outputs.py b/sdk/python/pulumi_oci/vbs/outputs.py index 9d47a27eb3..62083625f7 100644 --- a/sdk/python/pulumi_oci/vbs/outputs.py +++ b/sdk/python/pulumi_oci/vbs/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -25,10 +25,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the entire name given. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetInstVbsInstancesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -53,7 +66,16 @@ def regex(self) -> Optional[bool]: class GetInstVbsInstancesVbsInstanceSummaryCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetInstVbsInstancesVbsInstanceSummaryCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetInstVbsInstancesVbsInstanceSummaryCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetInstVbsInstancesVbsInstanceSummaryCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -95,21 +117,58 @@ def __init__(__self__, *, :param str time_updated: The time the VbsInstance was updated. An RFC3339 formatted datetime string :param str vbs_access_url: Public web URL for accessing the VBS service instance """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "idcs_access_token", idcs_access_token) - pulumi.set(__self__, "is_resource_usage_agreement_granted", is_resource_usage_agreement_granted) - pulumi.set(__self__, "lifecyle_details", lifecyle_details) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "resource_compartment_id", resource_compartment_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "vbs_access_url", vbs_access_url) + GetInstVbsInstancesVbsInstanceSummaryCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + idcs_access_token=idcs_access_token, + is_resource_usage_agreement_granted=is_resource_usage_agreement_granted, + lifecyle_details=lifecyle_details, + name=name, + resource_compartment_id=resource_compartment_id, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + vbs_access_url=vbs_access_url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + idcs_access_token: str, + is_resource_usage_agreement_granted: bool, + lifecyle_details: str, + name: str, + resource_compartment_id: str, + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + vbs_access_url: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("idcs_access_token", idcs_access_token) + _setter("is_resource_usage_agreement_granted", is_resource_usage_agreement_granted) + _setter("lifecyle_details", lifecyle_details) + _setter("name", name) + _setter("resource_compartment_id", resource_compartment_id) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("vbs_access_url", vbs_access_url) @property @pulumi.getter(name="compartmentId") diff --git a/sdk/python/pulumi_oci/visualbuilder/_inputs.py b/sdk/python/pulumi_oci/visualbuilder/_inputs.py index 2e37b778a8..2fcd19bdb5 100644 --- a/sdk/python/pulumi_oci/visualbuilder/_inputs.py +++ b/sdk/python/pulumi_oci/visualbuilder/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -28,11 +28,24 @@ def __init__(__self__, *, :param pulumi.Input[str] certificate_secret_id: (Updatable) Optional OCID of a vault/secret containing a private SSL certificate bundle to be used for the custom hostname. All certificates should be stored in a single base64 encoded secret Note the update will fail if this is not a valid certificate. :param pulumi.Input[int] certificate_secret_version: The secret version used for the certificate-secret-id (if certificate-secret-id is specified). """ - pulumi.set(__self__, "hostname", hostname) + VbInstanceAlternateCustomEndpointArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + hostname=hostname, + certificate_secret_id=certificate_secret_id, + certificate_secret_version=certificate_secret_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hostname: pulumi.Input[str], + certificate_secret_id: Optional[pulumi.Input[str]] = None, + certificate_secret_version: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("hostname", hostname) if certificate_secret_id is not None: - pulumi.set(__self__, "certificate_secret_id", certificate_secret_id) + _setter("certificate_secret_id", certificate_secret_id) if certificate_secret_version is not None: - pulumi.set(__self__, "certificate_secret_version", certificate_secret_version) + _setter("certificate_secret_version", certificate_secret_version) @property @pulumi.getter @@ -87,16 +100,33 @@ def __init__(__self__, *, :param pulumi.Input[str] target_role: The role of the target attachment. :param pulumi.Input[str] target_service_type: The type of the target instance, such as "FUSION". """ + VbInstanceAttachmentArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_implicit=is_implicit, + target_id=target_id, + target_instance_url=target_instance_url, + target_role=target_role, + target_service_type=target_service_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_implicit: Optional[pulumi.Input[bool]] = None, + target_id: Optional[pulumi.Input[str]] = None, + target_instance_url: Optional[pulumi.Input[str]] = None, + target_role: Optional[pulumi.Input[str]] = None, + target_service_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_implicit is not None: - pulumi.set(__self__, "is_implicit", is_implicit) + _setter("is_implicit", is_implicit) if target_id is not None: - pulumi.set(__self__, "target_id", target_id) + _setter("target_id", target_id) if target_instance_url is not None: - pulumi.set(__self__, "target_instance_url", target_instance_url) + _setter("target_instance_url", target_instance_url) if target_role is not None: - pulumi.set(__self__, "target_role", target_role) + _setter("target_role", target_role) if target_service_type is not None: - pulumi.set(__self__, "target_service_type", target_service_type) + _setter("target_service_type", target_service_type) @property @pulumi.getter(name="isImplicit") @@ -171,11 +201,24 @@ def __init__(__self__, *, :param pulumi.Input[str] certificate_secret_id: (Updatable) Optional OCID of a vault/secret containing a private SSL certificate bundle to be used for the custom hostname. All certificates should be stored in a single base64 encoded secret Note the update will fail if this is not a valid certificate. :param pulumi.Input[int] certificate_secret_version: The secret version used for the certificate-secret-id (if certificate-secret-id is specified). """ - pulumi.set(__self__, "hostname", hostname) + VbInstanceCustomEndpointArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + hostname=hostname, + certificate_secret_id=certificate_secret_id, + certificate_secret_version=certificate_secret_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hostname: pulumi.Input[str], + certificate_secret_id: Optional[pulumi.Input[str]] = None, + certificate_secret_version: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("hostname", hostname) if certificate_secret_id is not None: - pulumi.set(__self__, "certificate_secret_id", certificate_secret_id) + _setter("certificate_secret_id", certificate_secret_id) if certificate_secret_version is not None: - pulumi.set(__self__, "certificate_secret_version", certificate_secret_version) + _setter("certificate_secret_version", certificate_secret_version) @property @pulumi.getter @@ -229,16 +272,33 @@ def __init__(__self__, *, :param pulumi.Input[str] idcs_app_name: The IDCS application name associated with the instance :param pulumi.Input[str] instance_primary_audience_url: The URL used as the primary audience for visual builder flows in this instance type: string """ + VbInstanceIdcsInfoArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + idcs_app_display_name=idcs_app_display_name, + idcs_app_id=idcs_app_id, + idcs_app_location_url=idcs_app_location_url, + idcs_app_name=idcs_app_name, + instance_primary_audience_url=instance_primary_audience_url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + idcs_app_display_name: Optional[pulumi.Input[str]] = None, + idcs_app_id: Optional[pulumi.Input[str]] = None, + idcs_app_location_url: Optional[pulumi.Input[str]] = None, + idcs_app_name: Optional[pulumi.Input[str]] = None, + instance_primary_audience_url: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if idcs_app_display_name is not None: - pulumi.set(__self__, "idcs_app_display_name", idcs_app_display_name) + _setter("idcs_app_display_name", idcs_app_display_name) if idcs_app_id is not None: - pulumi.set(__self__, "idcs_app_id", idcs_app_id) + _setter("idcs_app_id", idcs_app_id) if idcs_app_location_url is not None: - pulumi.set(__self__, "idcs_app_location_url", idcs_app_location_url) + _setter("idcs_app_location_url", idcs_app_location_url) if idcs_app_name is not None: - pulumi.set(__self__, "idcs_app_name", idcs_app_name) + _setter("idcs_app_name", idcs_app_name) if instance_primary_audience_url is not None: - pulumi.set(__self__, "instance_primary_audience_url", instance_primary_audience_url) + _setter("instance_primary_audience_url", instance_primary_audience_url) @property @pulumi.getter(name="idcsAppDisplayName") @@ -307,10 +367,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVbInstancesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/visualbuilder/get_vb_instance.py b/sdk/python/pulumi_oci/visualbuilder/get_vb_instance.py index daf48fce6d..b38edecad7 100644 --- a/sdk/python/pulumi_oci/visualbuilder/get_vb_instance.py +++ b/sdk/python/pulumi_oci/visualbuilder/get_vb_instance.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/visualbuilder/get_vb_instance_applications.py b/sdk/python/pulumi_oci/visualbuilder/get_vb_instance_applications.py index 677a690ece..055390c650 100644 --- a/sdk/python/pulumi_oci/visualbuilder/get_vb_instance_applications.py +++ b/sdk/python/pulumi_oci/visualbuilder/get_vb_instance_applications.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/visualbuilder/get_vb_instances.py b/sdk/python/pulumi_oci/visualbuilder/get_vb_instances.py index 99f4568669..572661748b 100644 --- a/sdk/python/pulumi_oci/visualbuilder/get_vb_instances.py +++ b/sdk/python/pulumi_oci/visualbuilder/get_vb_instances.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/visualbuilder/outputs.py b/sdk/python/pulumi_oci/visualbuilder/outputs.py index e4958ce048..e1f190694b 100644 --- a/sdk/python/pulumi_oci/visualbuilder/outputs.py +++ b/sdk/python/pulumi_oci/visualbuilder/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -60,11 +60,24 @@ def __init__(__self__, *, :param str certificate_secret_id: (Updatable) Optional OCID of a vault/secret containing a private SSL certificate bundle to be used for the custom hostname. All certificates should be stored in a single base64 encoded secret Note the update will fail if this is not a valid certificate. :param int certificate_secret_version: The secret version used for the certificate-secret-id (if certificate-secret-id is specified). """ - pulumi.set(__self__, "hostname", hostname) + VbInstanceAlternateCustomEndpoint._configure( + lambda key, value: pulumi.set(__self__, key, value), + hostname=hostname, + certificate_secret_id=certificate_secret_id, + certificate_secret_version=certificate_secret_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hostname: str, + certificate_secret_id: Optional[str] = None, + certificate_secret_version: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("hostname", hostname) if certificate_secret_id is not None: - pulumi.set(__self__, "certificate_secret_id", certificate_secret_id) + _setter("certificate_secret_id", certificate_secret_id) if certificate_secret_version is not None: - pulumi.set(__self__, "certificate_secret_version", certificate_secret_version) + _setter("certificate_secret_version", certificate_secret_version) @property @pulumi.getter @@ -132,16 +145,33 @@ def __init__(__self__, *, :param str target_role: The role of the target attachment. :param str target_service_type: The type of the target instance, such as "FUSION". """ + VbInstanceAttachment._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_implicit=is_implicit, + target_id=target_id, + target_instance_url=target_instance_url, + target_role=target_role, + target_service_type=target_service_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_implicit: Optional[bool] = None, + target_id: Optional[str] = None, + target_instance_url: Optional[str] = None, + target_role: Optional[str] = None, + target_service_type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_implicit is not None: - pulumi.set(__self__, "is_implicit", is_implicit) + _setter("is_implicit", is_implicit) if target_id is not None: - pulumi.set(__self__, "target_id", target_id) + _setter("target_id", target_id) if target_instance_url is not None: - pulumi.set(__self__, "target_instance_url", target_instance_url) + _setter("target_instance_url", target_instance_url) if target_role is not None: - pulumi.set(__self__, "target_role", target_role) + _setter("target_role", target_role) if target_service_type is not None: - pulumi.set(__self__, "target_service_type", target_service_type) + _setter("target_service_type", target_service_type) @property @pulumi.getter(name="isImplicit") @@ -215,11 +245,24 @@ def __init__(__self__, *, :param str certificate_secret_id: (Updatable) Optional OCID of a vault/secret containing a private SSL certificate bundle to be used for the custom hostname. All certificates should be stored in a single base64 encoded secret Note the update will fail if this is not a valid certificate. :param int certificate_secret_version: The secret version used for the certificate-secret-id (if certificate-secret-id is specified). """ - pulumi.set(__self__, "hostname", hostname) + VbInstanceCustomEndpoint._configure( + lambda key, value: pulumi.set(__self__, key, value), + hostname=hostname, + certificate_secret_id=certificate_secret_id, + certificate_secret_version=certificate_secret_version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + hostname: str, + certificate_secret_id: Optional[str] = None, + certificate_secret_version: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("hostname", hostname) if certificate_secret_id is not None: - pulumi.set(__self__, "certificate_secret_id", certificate_secret_id) + _setter("certificate_secret_id", certificate_secret_id) if certificate_secret_version is not None: - pulumi.set(__self__, "certificate_secret_version", certificate_secret_version) + _setter("certificate_secret_version", certificate_secret_version) @property @pulumi.getter @@ -286,16 +329,33 @@ def __init__(__self__, *, :param str idcs_app_name: The IDCS application name associated with the instance :param str instance_primary_audience_url: The URL used as the primary audience for visual builder flows in this instance type: string """ + VbInstanceIdcsInfo._configure( + lambda key, value: pulumi.set(__self__, key, value), + idcs_app_display_name=idcs_app_display_name, + idcs_app_id=idcs_app_id, + idcs_app_location_url=idcs_app_location_url, + idcs_app_name=idcs_app_name, + instance_primary_audience_url=instance_primary_audience_url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + idcs_app_display_name: Optional[str] = None, + idcs_app_id: Optional[str] = None, + idcs_app_location_url: Optional[str] = None, + idcs_app_name: Optional[str] = None, + instance_primary_audience_url: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if idcs_app_display_name is not None: - pulumi.set(__self__, "idcs_app_display_name", idcs_app_display_name) + _setter("idcs_app_display_name", idcs_app_display_name) if idcs_app_id is not None: - pulumi.set(__self__, "idcs_app_id", idcs_app_id) + _setter("idcs_app_id", idcs_app_id) if idcs_app_location_url is not None: - pulumi.set(__self__, "idcs_app_location_url", idcs_app_location_url) + _setter("idcs_app_location_url", idcs_app_location_url) if idcs_app_name is not None: - pulumi.set(__self__, "idcs_app_name", idcs_app_name) + _setter("idcs_app_name", idcs_app_name) if instance_primary_audience_url is not None: - pulumi.set(__self__, "instance_primary_audience_url", instance_primary_audience_url) + _setter("instance_primary_audience_url", instance_primary_audience_url) @property @pulumi.getter(name="idcsAppDisplayName") @@ -349,9 +409,22 @@ def __init__(__self__, *, :param int certificate_secret_version: The secret version used for the certificate-secret-id (if certificate-secret-id is specified). :param str hostname: A custom hostname to be used for the vb instance URL, in FQDN format. """ - pulumi.set(__self__, "certificate_secret_id", certificate_secret_id) - pulumi.set(__self__, "certificate_secret_version", certificate_secret_version) - pulumi.set(__self__, "hostname", hostname) + GetVbInstanceAlternateCustomEndpointResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + certificate_secret_id=certificate_secret_id, + certificate_secret_version=certificate_secret_version, + hostname=hostname, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + certificate_secret_id: str, + certificate_secret_version: int, + hostname: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("certificate_secret_id", certificate_secret_id) + _setter("certificate_secret_version", certificate_secret_version) + _setter("hostname", hostname) @property @pulumi.getter(name="certificateSecretId") @@ -382,7 +455,16 @@ def hostname(self) -> str: class GetVbInstanceApplicationsApplicationSummaryCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetVbInstanceApplicationsApplicationSummaryCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetVbInstanceApplicationsApplicationSummaryCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetVbInstanceApplicationsApplicationSummaryCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -403,10 +485,25 @@ def __init__(__self__, *, :param str state: The state of visual builder application. Either LIVE or STAGED :param str version: The Visual Builder application version """ - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "project_id", project_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "version", version) + GetVbInstanceApplicationsApplicationSummaryCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + id=id, + project_id=project_id, + state=state, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + id: str, + project_id: str, + state: str, + version: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("id", id) + _setter("project_id", project_id) + _setter("state", state) + _setter("version", version) @property @pulumi.getter @@ -457,11 +554,28 @@ def __init__(__self__, *, :param str target_role: The role of the target attachment. :param str target_service_type: The type of the target instance, such as "FUSION". """ - pulumi.set(__self__, "is_implicit", is_implicit) - pulumi.set(__self__, "target_id", target_id) - pulumi.set(__self__, "target_instance_url", target_instance_url) - pulumi.set(__self__, "target_role", target_role) - pulumi.set(__self__, "target_service_type", target_service_type) + GetVbInstanceAttachmentResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_implicit=is_implicit, + target_id=target_id, + target_instance_url=target_instance_url, + target_role=target_role, + target_service_type=target_service_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_implicit: bool, + target_id: str, + target_instance_url: str, + target_role: str, + target_service_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_implicit", is_implicit) + _setter("target_id", target_id) + _setter("target_instance_url", target_instance_url) + _setter("target_role", target_role) + _setter("target_service_type", target_service_type) @property @pulumi.getter(name="isImplicit") @@ -516,9 +630,22 @@ def __init__(__self__, *, :param int certificate_secret_version: The secret version used for the certificate-secret-id (if certificate-secret-id is specified). :param str hostname: A custom hostname to be used for the vb instance URL, in FQDN format. """ - pulumi.set(__self__, "certificate_secret_id", certificate_secret_id) - pulumi.set(__self__, "certificate_secret_version", certificate_secret_version) - pulumi.set(__self__, "hostname", hostname) + GetVbInstanceCustomEndpointResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + certificate_secret_id=certificate_secret_id, + certificate_secret_version=certificate_secret_version, + hostname=hostname, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + certificate_secret_id: str, + certificate_secret_version: int, + hostname: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("certificate_secret_id", certificate_secret_id) + _setter("certificate_secret_version", certificate_secret_version) + _setter("hostname", hostname) @property @pulumi.getter(name="certificateSecretId") @@ -560,11 +687,28 @@ def __init__(__self__, *, :param str idcs_app_name: The IDCS application name associated with the instance :param str instance_primary_audience_url: The URL used as the primary audience for visual builder flows in this instance type: string """ - pulumi.set(__self__, "idcs_app_display_name", idcs_app_display_name) - pulumi.set(__self__, "idcs_app_id", idcs_app_id) - pulumi.set(__self__, "idcs_app_location_url", idcs_app_location_url) - pulumi.set(__self__, "idcs_app_name", idcs_app_name) - pulumi.set(__self__, "instance_primary_audience_url", instance_primary_audience_url) + GetVbInstanceIdcsInfoResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + idcs_app_display_name=idcs_app_display_name, + idcs_app_id=idcs_app_id, + idcs_app_location_url=idcs_app_location_url, + idcs_app_name=idcs_app_name, + instance_primary_audience_url=instance_primary_audience_url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + idcs_app_display_name: str, + idcs_app_id: str, + idcs_app_location_url: str, + idcs_app_name: str, + instance_primary_audience_url: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("idcs_app_display_name", idcs_app_display_name) + _setter("idcs_app_id", idcs_app_id) + _setter("idcs_app_location_url", idcs_app_location_url) + _setter("idcs_app_name", idcs_app_name) + _setter("instance_primary_audience_url", instance_primary_audience_url) @property @pulumi.getter(name="idcsAppDisplayName") @@ -613,10 +757,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetVbInstancesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -638,7 +795,16 @@ def regex(self) -> Optional[bool]: class GetVbInstancesVbInstanceSummaryCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetVbInstancesVbInstanceSummaryCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetVbInstancesVbInstanceSummaryCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetVbInstancesVbInstanceSummaryCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -696,29 +862,82 @@ def __init__(__self__, *, :param str time_created: The time the the VbInstance was created. An RFC3339 formatted datetime string. :param str time_updated: The time the VbInstance was updated. An RFC3339 formatted datetime string. """ - pulumi.set(__self__, "alternate_custom_endpoints", alternate_custom_endpoints) - pulumi.set(__self__, "attachments", attachments) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "consumption_model", consumption_model) - pulumi.set(__self__, "custom_endpoints", custom_endpoints) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "idcs_infos", idcs_infos) - pulumi.set(__self__, "idcs_open_id", idcs_open_id) - pulumi.set(__self__, "instance_url", instance_url) - pulumi.set(__self__, "is_visual_builder_enabled", is_visual_builder_enabled) - pulumi.set(__self__, "management_nat_gateway_ip", management_nat_gateway_ip) - pulumi.set(__self__, "management_vcn_id", management_vcn_id) - pulumi.set(__self__, "node_count", node_count) - pulumi.set(__self__, "service_nat_gateway_ip", service_nat_gateway_ip) - pulumi.set(__self__, "service_vcn_id", service_vcn_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "state_message", state_message) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetVbInstancesVbInstanceSummaryCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + alternate_custom_endpoints=alternate_custom_endpoints, + attachments=attachments, + compartment_id=compartment_id, + consumption_model=consumption_model, + custom_endpoints=custom_endpoints, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + idcs_infos=idcs_infos, + idcs_open_id=idcs_open_id, + instance_url=instance_url, + is_visual_builder_enabled=is_visual_builder_enabled, + management_nat_gateway_ip=management_nat_gateway_ip, + management_vcn_id=management_vcn_id, + node_count=node_count, + service_nat_gateway_ip=service_nat_gateway_ip, + service_vcn_id=service_vcn_id, + state=state, + state_message=state_message, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + alternate_custom_endpoints: Sequence['outputs.GetVbInstancesVbInstanceSummaryCollectionItemAlternateCustomEndpointResult'], + attachments: Sequence['outputs.GetVbInstancesVbInstanceSummaryCollectionItemAttachmentResult'], + compartment_id: str, + consumption_model: str, + custom_endpoints: Sequence['outputs.GetVbInstancesVbInstanceSummaryCollectionItemCustomEndpointResult'], + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + idcs_infos: Sequence['outputs.GetVbInstancesVbInstanceSummaryCollectionItemIdcsInfoResult'], + idcs_open_id: str, + instance_url: str, + is_visual_builder_enabled: bool, + management_nat_gateway_ip: str, + management_vcn_id: str, + node_count: int, + service_nat_gateway_ip: str, + service_vcn_id: str, + state: str, + state_message: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("alternate_custom_endpoints", alternate_custom_endpoints) + _setter("attachments", attachments) + _setter("compartment_id", compartment_id) + _setter("consumption_model", consumption_model) + _setter("custom_endpoints", custom_endpoints) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("idcs_infos", idcs_infos) + _setter("idcs_open_id", idcs_open_id) + _setter("instance_url", instance_url) + _setter("is_visual_builder_enabled", is_visual_builder_enabled) + _setter("management_nat_gateway_ip", management_nat_gateway_ip) + _setter("management_vcn_id", management_vcn_id) + _setter("node_count", node_count) + _setter("service_nat_gateway_ip", service_nat_gateway_ip) + _setter("service_vcn_id", service_vcn_id) + _setter("state", state) + _setter("state_message", state_message) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="alternateCustomEndpoints") @@ -913,9 +1132,22 @@ def __init__(__self__, *, :param int certificate_secret_version: The secret version used for the certificate-secret-id (if certificate-secret-id is specified). :param str hostname: A custom hostname to be used for the vb instance URL, in FQDN format. """ - pulumi.set(__self__, "certificate_secret_id", certificate_secret_id) - pulumi.set(__self__, "certificate_secret_version", certificate_secret_version) - pulumi.set(__self__, "hostname", hostname) + GetVbInstancesVbInstanceSummaryCollectionItemAlternateCustomEndpointResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + certificate_secret_id=certificate_secret_id, + certificate_secret_version=certificate_secret_version, + hostname=hostname, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + certificate_secret_id: str, + certificate_secret_version: int, + hostname: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("certificate_secret_id", certificate_secret_id) + _setter("certificate_secret_version", certificate_secret_version) + _setter("hostname", hostname) @property @pulumi.getter(name="certificateSecretId") @@ -958,11 +1190,28 @@ def __init__(__self__, *, :param str target_role: The role of the target attachment. :param str target_service_type: The type of the target instance, such as "FUSION". """ - pulumi.set(__self__, "is_implicit", is_implicit) - pulumi.set(__self__, "target_id", target_id) - pulumi.set(__self__, "target_instance_url", target_instance_url) - pulumi.set(__self__, "target_role", target_role) - pulumi.set(__self__, "target_service_type", target_service_type) + GetVbInstancesVbInstanceSummaryCollectionItemAttachmentResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_implicit=is_implicit, + target_id=target_id, + target_instance_url=target_instance_url, + target_role=target_role, + target_service_type=target_service_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_implicit: bool, + target_id: str, + target_instance_url: str, + target_role: str, + target_service_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_implicit", is_implicit) + _setter("target_id", target_id) + _setter("target_instance_url", target_instance_url) + _setter("target_role", target_role) + _setter("target_service_type", target_service_type) @property @pulumi.getter(name="isImplicit") @@ -1017,9 +1266,22 @@ def __init__(__self__, *, :param int certificate_secret_version: The secret version used for the certificate-secret-id (if certificate-secret-id is specified). :param str hostname: A custom hostname to be used for the vb instance URL, in FQDN format. """ - pulumi.set(__self__, "certificate_secret_id", certificate_secret_id) - pulumi.set(__self__, "certificate_secret_version", certificate_secret_version) - pulumi.set(__self__, "hostname", hostname) + GetVbInstancesVbInstanceSummaryCollectionItemCustomEndpointResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + certificate_secret_id=certificate_secret_id, + certificate_secret_version=certificate_secret_version, + hostname=hostname, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + certificate_secret_id: str, + certificate_secret_version: int, + hostname: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("certificate_secret_id", certificate_secret_id) + _setter("certificate_secret_version", certificate_secret_version) + _setter("hostname", hostname) @property @pulumi.getter(name="certificateSecretId") @@ -1061,11 +1323,28 @@ def __init__(__self__, *, :param str idcs_app_name: The IDCS application name associated with the instance :param str instance_primary_audience_url: The URL used as the primary audience for visual builder flows in this instance type: string """ - pulumi.set(__self__, "idcs_app_display_name", idcs_app_display_name) - pulumi.set(__self__, "idcs_app_id", idcs_app_id) - pulumi.set(__self__, "idcs_app_location_url", idcs_app_location_url) - pulumi.set(__self__, "idcs_app_name", idcs_app_name) - pulumi.set(__self__, "instance_primary_audience_url", instance_primary_audience_url) + GetVbInstancesVbInstanceSummaryCollectionItemIdcsInfoResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + idcs_app_display_name=idcs_app_display_name, + idcs_app_id=idcs_app_id, + idcs_app_location_url=idcs_app_location_url, + idcs_app_name=idcs_app_name, + instance_primary_audience_url=instance_primary_audience_url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + idcs_app_display_name: str, + idcs_app_id: str, + idcs_app_location_url: str, + idcs_app_name: str, + instance_primary_audience_url: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("idcs_app_display_name", idcs_app_display_name) + _setter("idcs_app_id", idcs_app_id) + _setter("idcs_app_location_url", idcs_app_location_url) + _setter("idcs_app_name", idcs_app_name) + _setter("instance_primary_audience_url", instance_primary_audience_url) @property @pulumi.getter(name="idcsAppDisplayName") diff --git a/sdk/python/pulumi_oci/visualbuilder/vb_instance.py b/sdk/python/pulumi_oci/visualbuilder/vb_instance.py index 2aae3c52de..8adc770384 100644 --- a/sdk/python/pulumi_oci/visualbuilder/vb_instance.py +++ b/sdk/python/pulumi_oci/visualbuilder/vb_instance.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -43,23 +43,50 @@ def __init__(__self__, *, :param pulumi.Input[str] idcs_open_id: (Updatable) Encrypted IDCS Open ID token. This is required for pre-UCPIS cloud accounts, but not UCPIS, hence not a required parameter :param pulumi.Input[bool] is_visual_builder_enabled: (Updatable) Visual Builder is enabled or not. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "node_count", node_count) + VbInstanceArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + node_count=node_count, + alternate_custom_endpoints=alternate_custom_endpoints, + consumption_model=consumption_model, + custom_endpoint=custom_endpoint, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + idcs_open_id=idcs_open_id, + is_visual_builder_enabled=is_visual_builder_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + node_count: pulumi.Input[int], + alternate_custom_endpoints: Optional[pulumi.Input[Sequence[pulumi.Input['VbInstanceAlternateCustomEndpointArgs']]]] = None, + consumption_model: Optional[pulumi.Input[str]] = None, + custom_endpoint: Optional[pulumi.Input['VbInstanceCustomEndpointArgs']] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + idcs_open_id: Optional[pulumi.Input[str]] = None, + is_visual_builder_enabled: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) + _setter("node_count", node_count) if alternate_custom_endpoints is not None: - pulumi.set(__self__, "alternate_custom_endpoints", alternate_custom_endpoints) + _setter("alternate_custom_endpoints", alternate_custom_endpoints) if consumption_model is not None: - pulumi.set(__self__, "consumption_model", consumption_model) + _setter("consumption_model", consumption_model) if custom_endpoint is not None: - pulumi.set(__self__, "custom_endpoint", custom_endpoint) + _setter("custom_endpoint", custom_endpoint) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if idcs_open_id is not None: - pulumi.set(__self__, "idcs_open_id", idcs_open_id) + _setter("idcs_open_id", idcs_open_id) if is_visual_builder_enabled is not None: - pulumi.set(__self__, "is_visual_builder_enabled", is_visual_builder_enabled) + _setter("is_visual_builder_enabled", is_visual_builder_enabled) @property @pulumi.getter(name="compartmentId") @@ -240,50 +267,101 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The time the the VbInstance was created. An RFC3339 formatted datetime string. :param pulumi.Input[str] time_updated: The time the VbInstance was updated. An RFC3339 formatted datetime string. """ + _VbInstanceState._configure( + lambda key, value: pulumi.set(__self__, key, value), + alternate_custom_endpoints=alternate_custom_endpoints, + attachments=attachments, + compartment_id=compartment_id, + consumption_model=consumption_model, + custom_endpoint=custom_endpoint, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + idcs_infos=idcs_infos, + idcs_open_id=idcs_open_id, + instance_url=instance_url, + is_visual_builder_enabled=is_visual_builder_enabled, + management_nat_gateway_ip=management_nat_gateway_ip, + management_vcn_id=management_vcn_id, + node_count=node_count, + service_nat_gateway_ip=service_nat_gateway_ip, + service_vcn_id=service_vcn_id, + state=state, + state_message=state_message, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + alternate_custom_endpoints: Optional[pulumi.Input[Sequence[pulumi.Input['VbInstanceAlternateCustomEndpointArgs']]]] = None, + attachments: Optional[pulumi.Input[Sequence[pulumi.Input['VbInstanceAttachmentArgs']]]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + consumption_model: Optional[pulumi.Input[str]] = None, + custom_endpoint: Optional[pulumi.Input['VbInstanceCustomEndpointArgs']] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + idcs_infos: Optional[pulumi.Input[Sequence[pulumi.Input['VbInstanceIdcsInfoArgs']]]] = None, + idcs_open_id: Optional[pulumi.Input[str]] = None, + instance_url: Optional[pulumi.Input[str]] = None, + is_visual_builder_enabled: Optional[pulumi.Input[bool]] = None, + management_nat_gateway_ip: Optional[pulumi.Input[str]] = None, + management_vcn_id: Optional[pulumi.Input[str]] = None, + node_count: Optional[pulumi.Input[int]] = None, + service_nat_gateway_ip: Optional[pulumi.Input[str]] = None, + service_vcn_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + state_message: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if alternate_custom_endpoints is not None: - pulumi.set(__self__, "alternate_custom_endpoints", alternate_custom_endpoints) + _setter("alternate_custom_endpoints", alternate_custom_endpoints) if attachments is not None: - pulumi.set(__self__, "attachments", attachments) + _setter("attachments", attachments) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if consumption_model is not None: - pulumi.set(__self__, "consumption_model", consumption_model) + _setter("consumption_model", consumption_model) if custom_endpoint is not None: - pulumi.set(__self__, "custom_endpoint", custom_endpoint) + _setter("custom_endpoint", custom_endpoint) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if idcs_infos is not None: - pulumi.set(__self__, "idcs_infos", idcs_infos) + _setter("idcs_infos", idcs_infos) if idcs_open_id is not None: - pulumi.set(__self__, "idcs_open_id", idcs_open_id) + _setter("idcs_open_id", idcs_open_id) if instance_url is not None: - pulumi.set(__self__, "instance_url", instance_url) + _setter("instance_url", instance_url) if is_visual_builder_enabled is not None: - pulumi.set(__self__, "is_visual_builder_enabled", is_visual_builder_enabled) + _setter("is_visual_builder_enabled", is_visual_builder_enabled) if management_nat_gateway_ip is not None: - pulumi.set(__self__, "management_nat_gateway_ip", management_nat_gateway_ip) + _setter("management_nat_gateway_ip", management_nat_gateway_ip) if management_vcn_id is not None: - pulumi.set(__self__, "management_vcn_id", management_vcn_id) + _setter("management_vcn_id", management_vcn_id) if node_count is not None: - pulumi.set(__self__, "node_count", node_count) + _setter("node_count", node_count) if service_nat_gateway_ip is not None: - pulumi.set(__self__, "service_nat_gateway_ip", service_nat_gateway_ip) + _setter("service_nat_gateway_ip", service_nat_gateway_ip) if service_vcn_id is not None: - pulumi.set(__self__, "service_vcn_id", service_vcn_id) + _setter("service_vcn_id", service_vcn_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if state_message is not None: - pulumi.set(__self__, "state_message", state_message) + _setter("state_message", state_message) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="alternateCustomEndpoints") @@ -687,6 +765,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + VbInstanceArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -716,6 +798,11 @@ def _internal_init(__self__, raise TypeError("Missing required property 'compartment_id'") __props__.__dict__["compartment_id"] = compartment_id __props__.__dict__["consumption_model"] = consumption_model + if custom_endpoint is not None and not isinstance(custom_endpoint, VbInstanceCustomEndpointArgs): + custom_endpoint = custom_endpoint or {} + def _setter(key, value): + custom_endpoint[key] = value + VbInstanceCustomEndpointArgs._configure(_setter, **custom_endpoint) __props__.__dict__["custom_endpoint"] = custom_endpoint __props__.__dict__["defined_tags"] = defined_tags if display_name is None and not opts.urn: diff --git a/sdk/python/pulumi_oci/vnmonitoring/_inputs.py b/sdk/python/pulumi_oci/vnmonitoring/_inputs.py index 51054575d7..06ad69d53d 100644 --- a/sdk/python/pulumi_oci/vnmonitoring/_inputs.py +++ b/sdk/python/pulumi_oci/vnmonitoring/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -27,10 +27,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetPathAnalyzerTestsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -88,25 +101,52 @@ def __init__(__self__, *, :param pulumi.Input[str] vlan_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VLAN containing the IP address. This can be used to disambiguate which VLAN is queried, in case the endpoint IP address belongs to more than one VLAN (when there are VLANs with overlapping IP ranges). :param pulumi.Input[str] vnic_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC attached to the compute instance. """ - pulumi.set(__self__, "type", type) + PathAnalysiDestinationEndpointArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + address=address, + instance_id=instance_id, + listener_id=listener_id, + load_balancer_id=load_balancer_id, + network_load_balancer_id=network_load_balancer_id, + state=state, + subnet_id=subnet_id, + vlan_id=vlan_id, + vnic_id=vnic_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + address: Optional[pulumi.Input[str]] = None, + instance_id: Optional[pulumi.Input[str]] = None, + listener_id: Optional[pulumi.Input[str]] = None, + load_balancer_id: Optional[pulumi.Input[str]] = None, + network_load_balancer_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + vlan_id: Optional[pulumi.Input[str]] = None, + vnic_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if address is not None: - pulumi.set(__self__, "address", address) + _setter("address", address) if instance_id is not None: - pulumi.set(__self__, "instance_id", instance_id) + _setter("instance_id", instance_id) if listener_id is not None: - pulumi.set(__self__, "listener_id", listener_id) + _setter("listener_id", listener_id) if load_balancer_id is not None: - pulumi.set(__self__, "load_balancer_id", load_balancer_id) + _setter("load_balancer_id", load_balancer_id) if network_load_balancer_id is not None: - pulumi.set(__self__, "network_load_balancer_id", network_load_balancer_id) + _setter("network_load_balancer_id", network_load_balancer_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) if vlan_id is not None: - pulumi.set(__self__, "vlan_id", vlan_id) + _setter("vlan_id", vlan_id) if vnic_id is not None: - pulumi.set(__self__, "vnic_id", vnic_id) + _setter("vnic_id", vnic_id) @property @pulumi.getter @@ -249,15 +289,32 @@ def __init__(__self__, *, :param pulumi.Input[int] icmp_type: The [ICMP](https://www.iana.org/assignments/icmp-parameters/icmp-parameters.xhtml) type. :param pulumi.Input[int] source_port: The source port to use in a `PathAnalyzerTest` resource. """ - pulumi.set(__self__, "type", type) + PathAnalysiProtocolParametersArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + destination_port=destination_port, + icmp_code=icmp_code, + icmp_type=icmp_type, + source_port=source_port, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + destination_port: Optional[pulumi.Input[int]] = None, + icmp_code: Optional[pulumi.Input[int]] = None, + icmp_type: Optional[pulumi.Input[int]] = None, + source_port: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if destination_port is not None: - pulumi.set(__self__, "destination_port", destination_port) + _setter("destination_port", destination_port) if icmp_code is not None: - pulumi.set(__self__, "icmp_code", icmp_code) + _setter("icmp_code", icmp_code) if icmp_type is not None: - pulumi.set(__self__, "icmp_type", icmp_type) + _setter("icmp_type", icmp_type) if source_port is not None: - pulumi.set(__self__, "source_port", source_port) + _setter("source_port", source_port) @property @pulumi.getter @@ -331,8 +388,17 @@ def __init__(__self__, *, """ :param pulumi.Input[bool] is_bi_directional_analysis: If true, a path analysis is done for both the forward and reverse routes. """ + PathAnalysiQueryOptionsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_bi_directional_analysis=is_bi_directional_analysis, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_bi_directional_analysis: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_bi_directional_analysis is not None: - pulumi.set(__self__, "is_bi_directional_analysis", is_bi_directional_analysis) + _setter("is_bi_directional_analysis", is_bi_directional_analysis) @property @pulumi.getter(name="isBiDirectionalAnalysis") @@ -375,25 +441,52 @@ def __init__(__self__, *, :param pulumi.Input[str] vlan_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VLAN containing the IP address. This can be used to disambiguate which VLAN is queried, in case the endpoint IP address belongs to more than one VLAN (when there are VLANs with overlapping IP ranges). :param pulumi.Input[str] vnic_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC attached to the compute instance. """ - pulumi.set(__self__, "type", type) + PathAnalysiSourceEndpointArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + address=address, + instance_id=instance_id, + listener_id=listener_id, + load_balancer_id=load_balancer_id, + network_load_balancer_id=network_load_balancer_id, + state=state, + subnet_id=subnet_id, + vlan_id=vlan_id, + vnic_id=vnic_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + address: Optional[pulumi.Input[str]] = None, + instance_id: Optional[pulumi.Input[str]] = None, + listener_id: Optional[pulumi.Input[str]] = None, + load_balancer_id: Optional[pulumi.Input[str]] = None, + network_load_balancer_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + vlan_id: Optional[pulumi.Input[str]] = None, + vnic_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if address is not None: - pulumi.set(__self__, "address", address) + _setter("address", address) if instance_id is not None: - pulumi.set(__self__, "instance_id", instance_id) + _setter("instance_id", instance_id) if listener_id is not None: - pulumi.set(__self__, "listener_id", listener_id) + _setter("listener_id", listener_id) if load_balancer_id is not None: - pulumi.set(__self__, "load_balancer_id", load_balancer_id) + _setter("load_balancer_id", load_balancer_id) if network_load_balancer_id is not None: - pulumi.set(__self__, "network_load_balancer_id", network_load_balancer_id) + _setter("network_load_balancer_id", network_load_balancer_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) if vlan_id is not None: - pulumi.set(__self__, "vlan_id", vlan_id) + _setter("vlan_id", vlan_id) if vnic_id is not None: - pulumi.set(__self__, "vnic_id", vnic_id) + _setter("vnic_id", vnic_id) @property @pulumi.getter @@ -546,25 +639,52 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "type", type) + PathAnalyzerTestDestinationEndpointArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + address=address, + instance_id=instance_id, + listener_id=listener_id, + load_balancer_id=load_balancer_id, + network_load_balancer_id=network_load_balancer_id, + state=state, + subnet_id=subnet_id, + vlan_id=vlan_id, + vnic_id=vnic_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + address: Optional[pulumi.Input[str]] = None, + instance_id: Optional[pulumi.Input[str]] = None, + listener_id: Optional[pulumi.Input[str]] = None, + load_balancer_id: Optional[pulumi.Input[str]] = None, + network_load_balancer_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + vlan_id: Optional[pulumi.Input[str]] = None, + vnic_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if address is not None: - pulumi.set(__self__, "address", address) + _setter("address", address) if instance_id is not None: - pulumi.set(__self__, "instance_id", instance_id) + _setter("instance_id", instance_id) if listener_id is not None: - pulumi.set(__self__, "listener_id", listener_id) + _setter("listener_id", listener_id) if load_balancer_id is not None: - pulumi.set(__self__, "load_balancer_id", load_balancer_id) + _setter("load_balancer_id", load_balancer_id) if network_load_balancer_id is not None: - pulumi.set(__self__, "network_load_balancer_id", network_load_balancer_id) + _setter("network_load_balancer_id", network_load_balancer_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) if vlan_id is not None: - pulumi.set(__self__, "vlan_id", vlan_id) + _setter("vlan_id", vlan_id) if vnic_id is not None: - pulumi.set(__self__, "vnic_id", vnic_id) + _setter("vnic_id", vnic_id) @property @pulumi.getter @@ -706,15 +826,32 @@ def __init__(__self__, *, :param pulumi.Input[int] icmp_type: (Updatable) The [ICMP](https://www.iana.org/assignments/icmp-parameters/icmp-parameters.xhtml) type. :param pulumi.Input[int] source_port: (Updatable) The source port to use in a `PathAnalyzerTest` resource. """ - pulumi.set(__self__, "type", type) + PathAnalyzerTestProtocolParametersArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + destination_port=destination_port, + icmp_code=icmp_code, + icmp_type=icmp_type, + source_port=source_port, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + destination_port: Optional[pulumi.Input[int]] = None, + icmp_code: Optional[pulumi.Input[int]] = None, + icmp_type: Optional[pulumi.Input[int]] = None, + source_port: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if destination_port is not None: - pulumi.set(__self__, "destination_port", destination_port) + _setter("destination_port", destination_port) if icmp_code is not None: - pulumi.set(__self__, "icmp_code", icmp_code) + _setter("icmp_code", icmp_code) if icmp_type is not None: - pulumi.set(__self__, "icmp_type", icmp_type) + _setter("icmp_type", icmp_type) if source_port is not None: - pulumi.set(__self__, "source_port", source_port) + _setter("source_port", source_port) @property @pulumi.getter @@ -784,8 +921,17 @@ def __init__(__self__, *, """ :param pulumi.Input[bool] is_bi_directional_analysis: (Updatable) If true, a path analysis is done for both the forward and reverse routes. """ + PathAnalyzerTestQueryOptionsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_bi_directional_analysis=is_bi_directional_analysis, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_bi_directional_analysis: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_bi_directional_analysis is not None: - pulumi.set(__self__, "is_bi_directional_analysis", is_bi_directional_analysis) + _setter("is_bi_directional_analysis", is_bi_directional_analysis) @property @pulumi.getter(name="isBiDirectionalAnalysis") @@ -829,25 +975,52 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "type", type) + PathAnalyzerTestSourceEndpointArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + address=address, + instance_id=instance_id, + listener_id=listener_id, + load_balancer_id=load_balancer_id, + network_load_balancer_id=network_load_balancer_id, + state=state, + subnet_id=subnet_id, + vlan_id=vlan_id, + vnic_id=vnic_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + address: Optional[pulumi.Input[str]] = None, + instance_id: Optional[pulumi.Input[str]] = None, + listener_id: Optional[pulumi.Input[str]] = None, + load_balancer_id: Optional[pulumi.Input[str]] = None, + network_load_balancer_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + subnet_id: Optional[pulumi.Input[str]] = None, + vlan_id: Optional[pulumi.Input[str]] = None, + vnic_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if address is not None: - pulumi.set(__self__, "address", address) + _setter("address", address) if instance_id is not None: - pulumi.set(__self__, "instance_id", instance_id) + _setter("instance_id", instance_id) if listener_id is not None: - pulumi.set(__self__, "listener_id", listener_id) + _setter("listener_id", listener_id) if load_balancer_id is not None: - pulumi.set(__self__, "load_balancer_id", load_balancer_id) + _setter("load_balancer_id", load_balancer_id) if network_load_balancer_id is not None: - pulumi.set(__self__, "network_load_balancer_id", network_load_balancer_id) + _setter("network_load_balancer_id", network_load_balancer_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) if vlan_id is not None: - pulumi.set(__self__, "vlan_id", vlan_id) + _setter("vlan_id", vlan_id) if vnic_id is not None: - pulumi.set(__self__, "vnic_id", vnic_id) + _setter("vnic_id", vnic_id) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/vnmonitoring/get_path_analyzer_test.py b/sdk/python/pulumi_oci/vnmonitoring/get_path_analyzer_test.py index fd3d9209ab..76e8e2c9e6 100644 --- a/sdk/python/pulumi_oci/vnmonitoring/get_path_analyzer_test.py +++ b/sdk/python/pulumi_oci/vnmonitoring/get_path_analyzer_test.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/vnmonitoring/get_path_analyzer_tests.py b/sdk/python/pulumi_oci/vnmonitoring/get_path_analyzer_tests.py index 1f54e62801..96dc9fed8b 100644 --- a/sdk/python/pulumi_oci/vnmonitoring/get_path_analyzer_tests.py +++ b/sdk/python/pulumi_oci/vnmonitoring/get_path_analyzer_tests.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/vnmonitoring/outputs.py b/sdk/python/pulumi_oci/vnmonitoring/outputs.py index 345d09593a..acca93102e 100644 --- a/sdk/python/pulumi_oci/vnmonitoring/outputs.py +++ b/sdk/python/pulumi_oci/vnmonitoring/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -57,16 +57,43 @@ def __init__(__self__, *, :param str vlan_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VLAN containing the IP address. This can be used to disambiguate which VLAN is queried, in case the endpoint IP address belongs to more than one VLAN (when there are VLANs with overlapping IP ranges). :param str vnic_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC attached to the compute instance. """ - pulumi.set(__self__, "address", address) - pulumi.set(__self__, "instance_id", instance_id) - pulumi.set(__self__, "listener_id", listener_id) - pulumi.set(__self__, "load_balancer_id", load_balancer_id) - pulumi.set(__self__, "network_load_balancer_id", network_load_balancer_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "vlan_id", vlan_id) - pulumi.set(__self__, "vnic_id", vnic_id) + GetPathAnalyzerTestDestinationEndpointResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + address=address, + instance_id=instance_id, + listener_id=listener_id, + load_balancer_id=load_balancer_id, + network_load_balancer_id=network_load_balancer_id, + state=state, + subnet_id=subnet_id, + type=type, + vlan_id=vlan_id, + vnic_id=vnic_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address: str, + instance_id: str, + listener_id: str, + load_balancer_id: str, + network_load_balancer_id: str, + state: str, + subnet_id: str, + type: str, + vlan_id: str, + vnic_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("address", address) + _setter("instance_id", instance_id) + _setter("listener_id", listener_id) + _setter("load_balancer_id", load_balancer_id) + _setter("network_load_balancer_id", network_load_balancer_id) + _setter("state", state) + _setter("subnet_id", subnet_id) + _setter("type", type) + _setter("vlan_id", vlan_id) + _setter("vnic_id", vnic_id) @property @pulumi.getter @@ -164,11 +191,28 @@ def __init__(__self__, *, :param int source_port: The source port to use in a `PathAnalyzerTest` resource. :param str type: The type of the `Endpoint`. """ - pulumi.set(__self__, "destination_port", destination_port) - pulumi.set(__self__, "icmp_code", icmp_code) - pulumi.set(__self__, "icmp_type", icmp_type) - pulumi.set(__self__, "source_port", source_port) - pulumi.set(__self__, "type", type) + GetPathAnalyzerTestProtocolParameterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + destination_port=destination_port, + icmp_code=icmp_code, + icmp_type=icmp_type, + source_port=source_port, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + destination_port: int, + icmp_code: int, + icmp_type: int, + source_port: int, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("destination_port", destination_port) + _setter("icmp_code", icmp_code) + _setter("icmp_type", icmp_type) + _setter("source_port", source_port) + _setter("type", type) @property @pulumi.getter(name="destinationPort") @@ -218,7 +262,16 @@ def __init__(__self__, *, """ :param bool is_bi_directional_analysis: If true, a path analysis is done for both the forward and reverse routes. """ - pulumi.set(__self__, "is_bi_directional_analysis", is_bi_directional_analysis) + GetPathAnalyzerTestQueryOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_bi_directional_analysis=is_bi_directional_analysis, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_bi_directional_analysis: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_bi_directional_analysis", is_bi_directional_analysis) @property @pulumi.getter(name="isBiDirectionalAnalysis") @@ -254,16 +307,43 @@ def __init__(__self__, *, :param str vlan_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VLAN containing the IP address. This can be used to disambiguate which VLAN is queried, in case the endpoint IP address belongs to more than one VLAN (when there are VLANs with overlapping IP ranges). :param str vnic_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC attached to the compute instance. """ - pulumi.set(__self__, "address", address) - pulumi.set(__self__, "instance_id", instance_id) - pulumi.set(__self__, "listener_id", listener_id) - pulumi.set(__self__, "load_balancer_id", load_balancer_id) - pulumi.set(__self__, "network_load_balancer_id", network_load_balancer_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "vlan_id", vlan_id) - pulumi.set(__self__, "vnic_id", vnic_id) + GetPathAnalyzerTestSourceEndpointResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + address=address, + instance_id=instance_id, + listener_id=listener_id, + load_balancer_id=load_balancer_id, + network_load_balancer_id=network_load_balancer_id, + state=state, + subnet_id=subnet_id, + type=type, + vlan_id=vlan_id, + vnic_id=vnic_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address: str, + instance_id: str, + listener_id: str, + load_balancer_id: str, + network_load_balancer_id: str, + state: str, + subnet_id: str, + type: str, + vlan_id: str, + vnic_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("address", address) + _setter("instance_id", instance_id) + _setter("listener_id", listener_id) + _setter("load_balancer_id", load_balancer_id) + _setter("network_load_balancer_id", network_load_balancer_id) + _setter("state", state) + _setter("subnet_id", subnet_id) + _setter("type", type) + _setter("vlan_id", vlan_id) + _setter("vnic_id", vnic_id) @property @pulumi.getter @@ -352,10 +432,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetPathAnalyzerTestsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -377,7 +470,16 @@ def regex(self) -> Optional[bool]: class GetPathAnalyzerTestsPathAnalyzerTestCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetPathAnalyzerTestsPathAnalyzerTestCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetPathAnalyzerTestsPathAnalyzerTestCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetPathAnalyzerTestsPathAnalyzerTestCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -418,20 +520,55 @@ def __init__(__self__, *, :param str time_created: The date and time the `PathAnalyzerTest` resource was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). :param str time_updated: The date and time the `PathAnalyzerTest` resource was last updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "destination_endpoints", destination_endpoints) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "protocol_parameters", protocol_parameters) - pulumi.set(__self__, "query_options", query_options) - pulumi.set(__self__, "source_endpoints", source_endpoints) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetPathAnalyzerTestsPathAnalyzerTestCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + destination_endpoints=destination_endpoints, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + protocol=protocol, + protocol_parameters=protocol_parameters, + query_options=query_options, + source_endpoints=source_endpoints, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + destination_endpoints: Sequence['outputs.GetPathAnalyzerTestsPathAnalyzerTestCollectionItemDestinationEndpointResult'], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + protocol: int, + protocol_parameters: Sequence['outputs.GetPathAnalyzerTestsPathAnalyzerTestCollectionItemProtocolParameterResult'], + query_options: Sequence['outputs.GetPathAnalyzerTestsPathAnalyzerTestCollectionItemQueryOptionResult'], + source_endpoints: Sequence['outputs.GetPathAnalyzerTestsPathAnalyzerTestCollectionItemSourceEndpointResult'], + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("destination_endpoints", destination_endpoints) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("protocol", protocol) + _setter("protocol_parameters", protocol_parameters) + _setter("query_options", query_options) + _setter("source_endpoints", source_endpoints) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -571,16 +708,43 @@ def __init__(__self__, *, :param str vlan_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VLAN containing the IP address. This can be used to disambiguate which VLAN is queried, in case the endpoint IP address belongs to more than one VLAN (when there are VLANs with overlapping IP ranges). :param str vnic_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC attached to the compute instance. """ - pulumi.set(__self__, "address", address) - pulumi.set(__self__, "instance_id", instance_id) - pulumi.set(__self__, "listener_id", listener_id) - pulumi.set(__self__, "load_balancer_id", load_balancer_id) - pulumi.set(__self__, "network_load_balancer_id", network_load_balancer_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "vlan_id", vlan_id) - pulumi.set(__self__, "vnic_id", vnic_id) + GetPathAnalyzerTestsPathAnalyzerTestCollectionItemDestinationEndpointResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + address=address, + instance_id=instance_id, + listener_id=listener_id, + load_balancer_id=load_balancer_id, + network_load_balancer_id=network_load_balancer_id, + state=state, + subnet_id=subnet_id, + type=type, + vlan_id=vlan_id, + vnic_id=vnic_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address: str, + instance_id: str, + listener_id: str, + load_balancer_id: str, + network_load_balancer_id: str, + state: str, + subnet_id: str, + type: str, + vlan_id: str, + vnic_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("address", address) + _setter("instance_id", instance_id) + _setter("listener_id", listener_id) + _setter("load_balancer_id", load_balancer_id) + _setter("network_load_balancer_id", network_load_balancer_id) + _setter("state", state) + _setter("subnet_id", subnet_id) + _setter("type", type) + _setter("vlan_id", vlan_id) + _setter("vnic_id", vnic_id) @property @pulumi.getter @@ -678,11 +842,28 @@ def __init__(__self__, *, :param int source_port: The source port to use in a `PathAnalyzerTest` resource. :param str type: The type of the `Endpoint`. """ - pulumi.set(__self__, "destination_port", destination_port) - pulumi.set(__self__, "icmp_code", icmp_code) - pulumi.set(__self__, "icmp_type", icmp_type) - pulumi.set(__self__, "source_port", source_port) - pulumi.set(__self__, "type", type) + GetPathAnalyzerTestsPathAnalyzerTestCollectionItemProtocolParameterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + destination_port=destination_port, + icmp_code=icmp_code, + icmp_type=icmp_type, + source_port=source_port, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + destination_port: int, + icmp_code: int, + icmp_type: int, + source_port: int, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("destination_port", destination_port) + _setter("icmp_code", icmp_code) + _setter("icmp_type", icmp_type) + _setter("source_port", source_port) + _setter("type", type) @property @pulumi.getter(name="destinationPort") @@ -732,7 +913,16 @@ def __init__(__self__, *, """ :param bool is_bi_directional_analysis: If true, a path analysis is done for both the forward and reverse routes. """ - pulumi.set(__self__, "is_bi_directional_analysis", is_bi_directional_analysis) + GetPathAnalyzerTestsPathAnalyzerTestCollectionItemQueryOptionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_bi_directional_analysis=is_bi_directional_analysis, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_bi_directional_analysis: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_bi_directional_analysis", is_bi_directional_analysis) @property @pulumi.getter(name="isBiDirectionalAnalysis") @@ -768,16 +958,43 @@ def __init__(__self__, *, :param str vlan_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VLAN containing the IP address. This can be used to disambiguate which VLAN is queried, in case the endpoint IP address belongs to more than one VLAN (when there are VLANs with overlapping IP ranges). :param str vnic_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC attached to the compute instance. """ - pulumi.set(__self__, "address", address) - pulumi.set(__self__, "instance_id", instance_id) - pulumi.set(__self__, "listener_id", listener_id) - pulumi.set(__self__, "load_balancer_id", load_balancer_id) - pulumi.set(__self__, "network_load_balancer_id", network_load_balancer_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "subnet_id", subnet_id) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "vlan_id", vlan_id) - pulumi.set(__self__, "vnic_id", vnic_id) + GetPathAnalyzerTestsPathAnalyzerTestCollectionItemSourceEndpointResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + address=address, + instance_id=instance_id, + listener_id=listener_id, + load_balancer_id=load_balancer_id, + network_load_balancer_id=network_load_balancer_id, + state=state, + subnet_id=subnet_id, + type=type, + vlan_id=vlan_id, + vnic_id=vnic_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address: str, + instance_id: str, + listener_id: str, + load_balancer_id: str, + network_load_balancer_id: str, + state: str, + subnet_id: str, + type: str, + vlan_id: str, + vnic_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("address", address) + _setter("instance_id", instance_id) + _setter("listener_id", listener_id) + _setter("load_balancer_id", load_balancer_id) + _setter("network_load_balancer_id", network_load_balancer_id) + _setter("state", state) + _setter("subnet_id", subnet_id) + _setter("type", type) + _setter("vlan_id", vlan_id) + _setter("vnic_id", vnic_id) @property @pulumi.getter @@ -917,25 +1134,52 @@ def __init__(__self__, *, :param str vlan_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VLAN containing the IP address. This can be used to disambiguate which VLAN is queried, in case the endpoint IP address belongs to more than one VLAN (when there are VLANs with overlapping IP ranges). :param str vnic_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC attached to the compute instance. """ - pulumi.set(__self__, "type", type) + PathAnalysiDestinationEndpoint._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + address=address, + instance_id=instance_id, + listener_id=listener_id, + load_balancer_id=load_balancer_id, + network_load_balancer_id=network_load_balancer_id, + state=state, + subnet_id=subnet_id, + vlan_id=vlan_id, + vnic_id=vnic_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + address: Optional[str] = None, + instance_id: Optional[str] = None, + listener_id: Optional[str] = None, + load_balancer_id: Optional[str] = None, + network_load_balancer_id: Optional[str] = None, + state: Optional[str] = None, + subnet_id: Optional[str] = None, + vlan_id: Optional[str] = None, + vnic_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if address is not None: - pulumi.set(__self__, "address", address) + _setter("address", address) if instance_id is not None: - pulumi.set(__self__, "instance_id", instance_id) + _setter("instance_id", instance_id) if listener_id is not None: - pulumi.set(__self__, "listener_id", listener_id) + _setter("listener_id", listener_id) if load_balancer_id is not None: - pulumi.set(__self__, "load_balancer_id", load_balancer_id) + _setter("load_balancer_id", load_balancer_id) if network_load_balancer_id is not None: - pulumi.set(__self__, "network_load_balancer_id", network_load_balancer_id) + _setter("network_load_balancer_id", network_load_balancer_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) if vlan_id is not None: - pulumi.set(__self__, "vlan_id", vlan_id) + _setter("vlan_id", vlan_id) if vnic_id is not None: - pulumi.set(__self__, "vnic_id", vnic_id) + _setter("vnic_id", vnic_id) @property @pulumi.getter @@ -1061,15 +1305,32 @@ def __init__(__self__, *, :param int icmp_type: The [ICMP](https://www.iana.org/assignments/icmp-parameters/icmp-parameters.xhtml) type. :param int source_port: The source port to use in a `PathAnalyzerTest` resource. """ - pulumi.set(__self__, "type", type) + PathAnalysiProtocolParameters._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + destination_port=destination_port, + icmp_code=icmp_code, + icmp_type=icmp_type, + source_port=source_port, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + destination_port: Optional[int] = None, + icmp_code: Optional[int] = None, + icmp_type: Optional[int] = None, + source_port: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if destination_port is not None: - pulumi.set(__self__, "destination_port", destination_port) + _setter("destination_port", destination_port) if icmp_code is not None: - pulumi.set(__self__, "icmp_code", icmp_code) + _setter("icmp_code", icmp_code) if icmp_type is not None: - pulumi.set(__self__, "icmp_type", icmp_type) + _setter("icmp_type", icmp_type) if source_port is not None: - pulumi.set(__self__, "source_port", source_port) + _setter("source_port", source_port) @property @pulumi.getter @@ -1140,8 +1401,17 @@ def __init__(__self__, *, """ :param bool is_bi_directional_analysis: If true, a path analysis is done for both the forward and reverse routes. """ + PathAnalysiQueryOptions._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_bi_directional_analysis=is_bi_directional_analysis, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_bi_directional_analysis: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_bi_directional_analysis is not None: - pulumi.set(__self__, "is_bi_directional_analysis", is_bi_directional_analysis) + _setter("is_bi_directional_analysis", is_bi_directional_analysis) @property @pulumi.getter(name="isBiDirectionalAnalysis") @@ -1209,25 +1479,52 @@ def __init__(__self__, *, :param str vlan_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VLAN containing the IP address. This can be used to disambiguate which VLAN is queried, in case the endpoint IP address belongs to more than one VLAN (when there are VLANs with overlapping IP ranges). :param str vnic_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VNIC attached to the compute instance. """ - pulumi.set(__self__, "type", type) + PathAnalysiSourceEndpoint._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + address=address, + instance_id=instance_id, + listener_id=listener_id, + load_balancer_id=load_balancer_id, + network_load_balancer_id=network_load_balancer_id, + state=state, + subnet_id=subnet_id, + vlan_id=vlan_id, + vnic_id=vnic_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + address: Optional[str] = None, + instance_id: Optional[str] = None, + listener_id: Optional[str] = None, + load_balancer_id: Optional[str] = None, + network_load_balancer_id: Optional[str] = None, + state: Optional[str] = None, + subnet_id: Optional[str] = None, + vlan_id: Optional[str] = None, + vnic_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if address is not None: - pulumi.set(__self__, "address", address) + _setter("address", address) if instance_id is not None: - pulumi.set(__self__, "instance_id", instance_id) + _setter("instance_id", instance_id) if listener_id is not None: - pulumi.set(__self__, "listener_id", listener_id) + _setter("listener_id", listener_id) if load_balancer_id is not None: - pulumi.set(__self__, "load_balancer_id", load_balancer_id) + _setter("load_balancer_id", load_balancer_id) if network_load_balancer_id is not None: - pulumi.set(__self__, "network_load_balancer_id", network_load_balancer_id) + _setter("network_load_balancer_id", network_load_balancer_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) if vlan_id is not None: - pulumi.set(__self__, "vlan_id", vlan_id) + _setter("vlan_id", vlan_id) if vnic_id is not None: - pulumi.set(__self__, "vnic_id", vnic_id) + _setter("vnic_id", vnic_id) @property @pulumi.getter @@ -1369,25 +1666,52 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "type", type) + PathAnalyzerTestDestinationEndpoint._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + address=address, + instance_id=instance_id, + listener_id=listener_id, + load_balancer_id=load_balancer_id, + network_load_balancer_id=network_load_balancer_id, + state=state, + subnet_id=subnet_id, + vlan_id=vlan_id, + vnic_id=vnic_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + address: Optional[str] = None, + instance_id: Optional[str] = None, + listener_id: Optional[str] = None, + load_balancer_id: Optional[str] = None, + network_load_balancer_id: Optional[str] = None, + state: Optional[str] = None, + subnet_id: Optional[str] = None, + vlan_id: Optional[str] = None, + vnic_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if address is not None: - pulumi.set(__self__, "address", address) + _setter("address", address) if instance_id is not None: - pulumi.set(__self__, "instance_id", instance_id) + _setter("instance_id", instance_id) if listener_id is not None: - pulumi.set(__self__, "listener_id", listener_id) + _setter("listener_id", listener_id) if load_balancer_id is not None: - pulumi.set(__self__, "load_balancer_id", load_balancer_id) + _setter("load_balancer_id", load_balancer_id) if network_load_balancer_id is not None: - pulumi.set(__self__, "network_load_balancer_id", network_load_balancer_id) + _setter("network_load_balancer_id", network_load_balancer_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) if vlan_id is not None: - pulumi.set(__self__, "vlan_id", vlan_id) + _setter("vlan_id", vlan_id) if vnic_id is not None: - pulumi.set(__self__, "vnic_id", vnic_id) + _setter("vnic_id", vnic_id) @property @pulumi.getter @@ -1512,15 +1836,32 @@ def __init__(__self__, *, :param int icmp_type: (Updatable) The [ICMP](https://www.iana.org/assignments/icmp-parameters/icmp-parameters.xhtml) type. :param int source_port: (Updatable) The source port to use in a `PathAnalyzerTest` resource. """ - pulumi.set(__self__, "type", type) + PathAnalyzerTestProtocolParameters._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + destination_port=destination_port, + icmp_code=icmp_code, + icmp_type=icmp_type, + source_port=source_port, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + destination_port: Optional[int] = None, + icmp_code: Optional[int] = None, + icmp_type: Optional[int] = None, + source_port: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if destination_port is not None: - pulumi.set(__self__, "destination_port", destination_port) + _setter("destination_port", destination_port) if icmp_code is not None: - pulumi.set(__self__, "icmp_code", icmp_code) + _setter("icmp_code", icmp_code) if icmp_type is not None: - pulumi.set(__self__, "icmp_type", icmp_type) + _setter("icmp_type", icmp_type) if source_port is not None: - pulumi.set(__self__, "source_port", source_port) + _setter("source_port", source_port) @property @pulumi.getter @@ -1587,8 +1928,17 @@ def __init__(__self__, *, """ :param bool is_bi_directional_analysis: (Updatable) If true, a path analysis is done for both the forward and reverse routes. """ + PathAnalyzerTestQueryOptions._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_bi_directional_analysis=is_bi_directional_analysis, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_bi_directional_analysis: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_bi_directional_analysis is not None: - pulumi.set(__self__, "is_bi_directional_analysis", is_bi_directional_analysis) + _setter("is_bi_directional_analysis", is_bi_directional_analysis) @property @pulumi.getter(name="isBiDirectionalAnalysis") @@ -1657,25 +2007,52 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "type", type) + PathAnalyzerTestSourceEndpoint._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + address=address, + instance_id=instance_id, + listener_id=listener_id, + load_balancer_id=load_balancer_id, + network_load_balancer_id=network_load_balancer_id, + state=state, + subnet_id=subnet_id, + vlan_id=vlan_id, + vnic_id=vnic_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + address: Optional[str] = None, + instance_id: Optional[str] = None, + listener_id: Optional[str] = None, + load_balancer_id: Optional[str] = None, + network_load_balancer_id: Optional[str] = None, + state: Optional[str] = None, + subnet_id: Optional[str] = None, + vlan_id: Optional[str] = None, + vnic_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if address is not None: - pulumi.set(__self__, "address", address) + _setter("address", address) if instance_id is not None: - pulumi.set(__self__, "instance_id", instance_id) + _setter("instance_id", instance_id) if listener_id is not None: - pulumi.set(__self__, "listener_id", listener_id) + _setter("listener_id", listener_id) if load_balancer_id is not None: - pulumi.set(__self__, "load_balancer_id", load_balancer_id) + _setter("load_balancer_id", load_balancer_id) if network_load_balancer_id is not None: - pulumi.set(__self__, "network_load_balancer_id", network_load_balancer_id) + _setter("network_load_balancer_id", network_load_balancer_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if subnet_id is not None: - pulumi.set(__self__, "subnet_id", subnet_id) + _setter("subnet_id", subnet_id) if vlan_id is not None: - pulumi.set(__self__, "vlan_id", vlan_id) + _setter("vlan_id", vlan_id) if vnic_id is not None: - pulumi.set(__self__, "vnic_id", vnic_id) + _setter("vnic_id", vnic_id) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/vnmonitoring/path_analysi.py b/sdk/python/pulumi_oci/vnmonitoring/path_analysi.py index 3b95bc1fc3..b6843b5c39 100644 --- a/sdk/python/pulumi_oci/vnmonitoring/path_analysi.py +++ b/sdk/python/pulumi_oci/vnmonitoring/path_analysi.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -41,23 +41,48 @@ def __init__(__self__, *, :param pulumi.Input['PathAnalysiQueryOptionsArgs'] query_options: Defines the query options required for a `PathAnalyzerTest` resource. :param pulumi.Input['PathAnalysiSourceEndpointArgs'] source_endpoint: Information describing a source or destination in a `PathAnalyzerTest` resource. """ - pulumi.set(__self__, "type", type) + PathAnalysiArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + cache_control=cache_control, + compartment_id=compartment_id, + destination_endpoint=destination_endpoint, + path_analyzer_test_id=path_analyzer_test_id, + protocol=protocol, + protocol_parameters=protocol_parameters, + query_options=query_options, + source_endpoint=source_endpoint, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + cache_control: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + destination_endpoint: Optional[pulumi.Input['PathAnalysiDestinationEndpointArgs']] = None, + path_analyzer_test_id: Optional[pulumi.Input[str]] = None, + protocol: Optional[pulumi.Input[int]] = None, + protocol_parameters: Optional[pulumi.Input['PathAnalysiProtocolParametersArgs']] = None, + query_options: Optional[pulumi.Input['PathAnalysiQueryOptionsArgs']] = None, + source_endpoint: Optional[pulumi.Input['PathAnalysiSourceEndpointArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if cache_control is not None: - pulumi.set(__self__, "cache_control", cache_control) + _setter("cache_control", cache_control) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if destination_endpoint is not None: - pulumi.set(__self__, "destination_endpoint", destination_endpoint) + _setter("destination_endpoint", destination_endpoint) if path_analyzer_test_id is not None: - pulumi.set(__self__, "path_analyzer_test_id", path_analyzer_test_id) + _setter("path_analyzer_test_id", path_analyzer_test_id) if protocol is not None: - pulumi.set(__self__, "protocol", protocol) + _setter("protocol", protocol) if protocol_parameters is not None: - pulumi.set(__self__, "protocol_parameters", protocol_parameters) + _setter("protocol_parameters", protocol_parameters) if query_options is not None: - pulumi.set(__self__, "query_options", query_options) + _setter("query_options", query_options) if source_endpoint is not None: - pulumi.set(__self__, "source_endpoint", source_endpoint) + _setter("source_endpoint", source_endpoint) @property @pulumi.getter @@ -200,24 +225,49 @@ def __init__(__self__, *, ** 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 """ + _PathAnalysiState._configure( + lambda key, value: pulumi.set(__self__, key, value), + cache_control=cache_control, + compartment_id=compartment_id, + destination_endpoint=destination_endpoint, + path_analyzer_test_id=path_analyzer_test_id, + protocol=protocol, + protocol_parameters=protocol_parameters, + query_options=query_options, + source_endpoint=source_endpoint, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cache_control: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + destination_endpoint: Optional[pulumi.Input['PathAnalysiDestinationEndpointArgs']] = None, + path_analyzer_test_id: Optional[pulumi.Input[str]] = None, + protocol: Optional[pulumi.Input[int]] = None, + protocol_parameters: Optional[pulumi.Input['PathAnalysiProtocolParametersArgs']] = None, + query_options: Optional[pulumi.Input['PathAnalysiQueryOptionsArgs']] = None, + source_endpoint: Optional[pulumi.Input['PathAnalysiSourceEndpointArgs']] = None, + type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if cache_control is not None: - pulumi.set(__self__, "cache_control", cache_control) + _setter("cache_control", cache_control) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if destination_endpoint is not None: - pulumi.set(__self__, "destination_endpoint", destination_endpoint) + _setter("destination_endpoint", destination_endpoint) if path_analyzer_test_id is not None: - pulumi.set(__self__, "path_analyzer_test_id", path_analyzer_test_id) + _setter("path_analyzer_test_id", path_analyzer_test_id) if protocol is not None: - pulumi.set(__self__, "protocol", protocol) + _setter("protocol", protocol) if protocol_parameters is not None: - pulumi.set(__self__, "protocol_parameters", protocol_parameters) + _setter("protocol_parameters", protocol_parameters) if query_options is not None: - pulumi.set(__self__, "query_options", query_options) + _setter("query_options", query_options) if source_endpoint is not None: - pulumi.set(__self__, "source_endpoint", source_endpoint) + _setter("source_endpoint", source_endpoint) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) @property @pulumi.getter(name="cacheControl") @@ -511,6 +561,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + PathAnalysiArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -536,11 +590,31 @@ def _internal_init(__self__, __props__.__dict__["cache_control"] = cache_control __props__.__dict__["compartment_id"] = compartment_id + if destination_endpoint is not None and not isinstance(destination_endpoint, PathAnalysiDestinationEndpointArgs): + destination_endpoint = destination_endpoint or {} + def _setter(key, value): + destination_endpoint[key] = value + PathAnalysiDestinationEndpointArgs._configure(_setter, **destination_endpoint) __props__.__dict__["destination_endpoint"] = destination_endpoint __props__.__dict__["path_analyzer_test_id"] = path_analyzer_test_id __props__.__dict__["protocol"] = protocol + if protocol_parameters is not None and not isinstance(protocol_parameters, PathAnalysiProtocolParametersArgs): + protocol_parameters = protocol_parameters or {} + def _setter(key, value): + protocol_parameters[key] = value + PathAnalysiProtocolParametersArgs._configure(_setter, **protocol_parameters) __props__.__dict__["protocol_parameters"] = protocol_parameters + if query_options is not None and not isinstance(query_options, PathAnalysiQueryOptionsArgs): + query_options = query_options or {} + def _setter(key, value): + query_options[key] = value + PathAnalysiQueryOptionsArgs._configure(_setter, **query_options) __props__.__dict__["query_options"] = query_options + if source_endpoint is not None and not isinstance(source_endpoint, PathAnalysiSourceEndpointArgs): + source_endpoint = source_endpoint or {} + def _setter(key, value): + source_endpoint[key] = value + PathAnalysiSourceEndpointArgs._configure(_setter, **source_endpoint) __props__.__dict__["source_endpoint"] = source_endpoint if type is None and not opts.urn: raise TypeError("Missing required property 'type'") diff --git a/sdk/python/pulumi_oci/vnmonitoring/path_analyzer_test.py b/sdk/python/pulumi_oci/vnmonitoring/path_analyzer_test.py index 954be21479..3e9b8820f9 100644 --- a/sdk/python/pulumi_oci/vnmonitoring/path_analyzer_test.py +++ b/sdk/python/pulumi_oci/vnmonitoring/path_analyzer_test.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -37,20 +37,45 @@ def __init__(__self__, *, :param pulumi.Input['PathAnalyzerTestProtocolParametersArgs'] protocol_parameters: (Updatable) Defines the IP protocol parameters for a `PathAnalyzerTest` resource. :param pulumi.Input['PathAnalyzerTestQueryOptionsArgs'] query_options: (Updatable) Defines the query options required for a `PathAnalyzerTest` resource. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "destination_endpoint", destination_endpoint) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "source_endpoint", source_endpoint) + PathAnalyzerTestArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + destination_endpoint=destination_endpoint, + protocol=protocol, + source_endpoint=source_endpoint, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + protocol_parameters=protocol_parameters, + query_options=query_options, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + destination_endpoint: pulumi.Input['PathAnalyzerTestDestinationEndpointArgs'], + protocol: pulumi.Input[int], + source_endpoint: pulumi.Input['PathAnalyzerTestSourceEndpointArgs'], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + protocol_parameters: Optional[pulumi.Input['PathAnalyzerTestProtocolParametersArgs']] = None, + query_options: Optional[pulumi.Input['PathAnalyzerTestQueryOptionsArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("destination_endpoint", destination_endpoint) + _setter("protocol", protocol) + _setter("source_endpoint", source_endpoint) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if protocol_parameters is not None: - pulumi.set(__self__, "protocol_parameters", protocol_parameters) + _setter("protocol_parameters", protocol_parameters) if query_options is not None: - pulumi.set(__self__, "query_options", query_options) + _setter("query_options", query_options) @property @pulumi.getter(name="compartmentId") @@ -193,32 +218,65 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the `PathAnalyzerTest` resource was created, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). :param pulumi.Input[str] time_updated: The date and time the `PathAnalyzerTest` resource was last updated, in the format defined by [RFC3339](https://tools.ietf.org/html/rfc3339). """ + _PathAnalyzerTestState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + destination_endpoint=destination_endpoint, + display_name=display_name, + freeform_tags=freeform_tags, + protocol=protocol, + protocol_parameters=protocol_parameters, + query_options=query_options, + source_endpoint=source_endpoint, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + destination_endpoint: Optional[pulumi.Input['PathAnalyzerTestDestinationEndpointArgs']] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + protocol: Optional[pulumi.Input[int]] = None, + protocol_parameters: Optional[pulumi.Input['PathAnalyzerTestProtocolParametersArgs']] = None, + query_options: Optional[pulumi.Input['PathAnalyzerTestQueryOptionsArgs']] = None, + source_endpoint: Optional[pulumi.Input['PathAnalyzerTestSourceEndpointArgs']] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if destination_endpoint is not None: - pulumi.set(__self__, "destination_endpoint", destination_endpoint) + _setter("destination_endpoint", destination_endpoint) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if protocol is not None: - pulumi.set(__self__, "protocol", protocol) + _setter("protocol", protocol) if protocol_parameters is not None: - pulumi.set(__self__, "protocol_parameters", protocol_parameters) + _setter("protocol_parameters", protocol_parameters) if query_options is not None: - pulumi.set(__self__, "query_options", query_options) + _setter("query_options", query_options) if source_endpoint is not None: - pulumi.set(__self__, "source_endpoint", source_endpoint) + _setter("source_endpoint", source_endpoint) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -546,6 +604,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + PathAnalyzerTestArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -573,6 +635,11 @@ def _internal_init(__self__, raise TypeError("Missing required property 'compartment_id'") __props__.__dict__["compartment_id"] = compartment_id __props__.__dict__["defined_tags"] = defined_tags + if destination_endpoint is not None and not isinstance(destination_endpoint, PathAnalyzerTestDestinationEndpointArgs): + destination_endpoint = destination_endpoint or {} + def _setter(key, value): + destination_endpoint[key] = value + PathAnalyzerTestDestinationEndpointArgs._configure(_setter, **destination_endpoint) if destination_endpoint is None and not opts.urn: raise TypeError("Missing required property 'destination_endpoint'") __props__.__dict__["destination_endpoint"] = destination_endpoint @@ -581,8 +648,23 @@ def _internal_init(__self__, if protocol is None and not opts.urn: raise TypeError("Missing required property 'protocol'") __props__.__dict__["protocol"] = protocol + if protocol_parameters is not None and not isinstance(protocol_parameters, PathAnalyzerTestProtocolParametersArgs): + protocol_parameters = protocol_parameters or {} + def _setter(key, value): + protocol_parameters[key] = value + PathAnalyzerTestProtocolParametersArgs._configure(_setter, **protocol_parameters) __props__.__dict__["protocol_parameters"] = protocol_parameters + if query_options is not None and not isinstance(query_options, PathAnalyzerTestQueryOptionsArgs): + query_options = query_options or {} + def _setter(key, value): + query_options[key] = value + PathAnalyzerTestQueryOptionsArgs._configure(_setter, **query_options) __props__.__dict__["query_options"] = query_options + if source_endpoint is not None and not isinstance(source_endpoint, PathAnalyzerTestSourceEndpointArgs): + source_endpoint = source_endpoint or {} + def _setter(key, value): + source_endpoint[key] = value + PathAnalyzerTestSourceEndpointArgs._configure(_setter, **source_endpoint) if source_endpoint is None and not opts.urn: raise TypeError("Missing required property 'source_endpoint'") __props__.__dict__["source_endpoint"] = source_endpoint diff --git a/sdk/python/pulumi_oci/vulnerabilityscanning/_inputs.py b/sdk/python/pulumi_oci/vulnerabilityscanning/_inputs.py index 792f695c45..22d728dad1 100644 --- a/sdk/python/pulumi_oci/vulnerabilityscanning/_inputs.py +++ b/sdk/python/pulumi_oci/vulnerabilityscanning/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -38,7 +38,16 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "scan_level", scan_level) + ContainerScanRecipeScanSettingsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + scan_level=scan_level, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + scan_level: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("scan_level", scan_level) @property @pulumi.getter(name="scanLevel") @@ -74,12 +83,27 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "type", type) + ContainerScanTargetTargetRegistryArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + type=type, + repositories=repositories, + url=url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + type: pulumi.Input[str], + repositories: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + url: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("type", type) if repositories is not None: - pulumi.set(__self__, "repositories", repositories) + _setter("repositories", repositories) if url is not None: - pulumi.set(__self__, "url", url) + _setter("url", url) @property @pulumi.getter(name="compartmentId") @@ -143,9 +167,20 @@ def __init__(__self__, *, :param pulumi.Input[str] scan_level: (Updatable) The scan level :param pulumi.Input['HostScanRecipeAgentSettingsAgentConfigurationArgs'] agent_configuration: (Updatable) Agent configuration for host scan agent settings. This model is polymorphic, presenting different configuration options based on selected agent vendor. """ - pulumi.set(__self__, "scan_level", scan_level) + HostScanRecipeAgentSettingsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + scan_level=scan_level, + agent_configuration=agent_configuration, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + scan_level: pulumi.Input[str], + agent_configuration: Optional[pulumi.Input['HostScanRecipeAgentSettingsAgentConfigurationArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("scan_level", scan_level) if agent_configuration is not None: - pulumi.set(__self__, "agent_configuration", agent_configuration) + _setter("agent_configuration", agent_configuration) @property @pulumi.getter(name="scanLevel") @@ -189,17 +224,36 @@ def __init__(__self__, *, :param pulumi.Input[str] vault_secret_id: (Updatable) Vault secret OCID which stores license information. Content inside this secret in vault would be base64 string containing information about customer's Qualys susbcription license. :param pulumi.Input[str] vendor_type: (Updatable) Vendor to use for the host scan agent. """ - pulumi.set(__self__, "vendor", vendor) + HostScanRecipeAgentSettingsAgentConfigurationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + vendor=vendor, + cis_benchmark_settings=cis_benchmark_settings, + endpoint_protection_settings=endpoint_protection_settings, + should_un_install=should_un_install, + vault_secret_id=vault_secret_id, + vendor_type=vendor_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + vendor: pulumi.Input[str], + cis_benchmark_settings: Optional[pulumi.Input['HostScanRecipeAgentSettingsAgentConfigurationCisBenchmarkSettingsArgs']] = None, + endpoint_protection_settings: Optional[pulumi.Input['HostScanRecipeAgentSettingsAgentConfigurationEndpointProtectionSettingsArgs']] = None, + should_un_install: Optional[pulumi.Input[bool]] = None, + vault_secret_id: Optional[pulumi.Input[str]] = None, + vendor_type: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("vendor", vendor) if cis_benchmark_settings is not None: - pulumi.set(__self__, "cis_benchmark_settings", cis_benchmark_settings) + _setter("cis_benchmark_settings", cis_benchmark_settings) if endpoint_protection_settings is not None: - pulumi.set(__self__, "endpoint_protection_settings", endpoint_protection_settings) + _setter("endpoint_protection_settings", endpoint_protection_settings) if should_un_install is not None: - pulumi.set(__self__, "should_un_install", should_un_install) + _setter("should_un_install", should_un_install) if vault_secret_id is not None: - pulumi.set(__self__, "vault_secret_id", vault_secret_id) + _setter("vault_secret_id", vault_secret_id) if vendor_type is not None: - pulumi.set(__self__, "vendor_type", vendor_type) + _setter("vendor_type", vendor_type) @property @pulumi.getter @@ -281,8 +335,17 @@ def __init__(__self__, *, """ :param pulumi.Input[str] scan_level: (Updatable) The scan level """ + HostScanRecipeAgentSettingsAgentConfigurationCisBenchmarkSettingsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + scan_level=scan_level, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + scan_level: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if scan_level is not None: - pulumi.set(__self__, "scan_level", scan_level) + _setter("scan_level", scan_level) @property @pulumi.getter(name="scanLevel") @@ -304,8 +367,17 @@ def __init__(__self__, *, """ :param pulumi.Input[str] scan_level: (Updatable) The scan level """ + HostScanRecipeAgentSettingsAgentConfigurationEndpointProtectionSettingsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + scan_level=scan_level, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + scan_level: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if scan_level is not None: - pulumi.set(__self__, "scan_level", scan_level) + _setter("scan_level", scan_level) @property @pulumi.getter(name="scanLevel") @@ -331,9 +403,22 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['HostScanRecipeApplicationSettingsFoldersToScanArgs']]] folders_to_scans: (Updatable) List of folders selected for scanning :param pulumi.Input[bool] is_enabled: (Updatable) Enable or disable application scan """ - pulumi.set(__self__, "application_scan_recurrence", application_scan_recurrence) - pulumi.set(__self__, "folders_to_scans", folders_to_scans) - pulumi.set(__self__, "is_enabled", is_enabled) + HostScanRecipeApplicationSettingsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + application_scan_recurrence=application_scan_recurrence, + folders_to_scans=folders_to_scans, + is_enabled=is_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + application_scan_recurrence: pulumi.Input[str], + folders_to_scans: pulumi.Input[Sequence[pulumi.Input['HostScanRecipeApplicationSettingsFoldersToScanArgs']]], + is_enabled: pulumi.Input[bool], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("application_scan_recurrence", application_scan_recurrence) + _setter("folders_to_scans", folders_to_scans) + _setter("is_enabled", is_enabled) @property @pulumi.getter(name="applicationScanRecurrence") @@ -381,8 +466,19 @@ def __init__(__self__, *, :param pulumi.Input[str] folder: (Updatable) Folder to be scanned in the corresponding operating system :param pulumi.Input[str] operatingsystem: (Updatable) Operating system type """ - pulumi.set(__self__, "folder", folder) - pulumi.set(__self__, "operatingsystem", operatingsystem) + HostScanRecipeApplicationSettingsFoldersToScanArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + folder=folder, + operatingsystem=operatingsystem, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + folder: pulumi.Input[str], + operatingsystem: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("folder", folder) + _setter("operatingsystem", operatingsystem) @property @pulumi.getter @@ -416,7 +512,16 @@ def __init__(__self__, *, """ :param pulumi.Input[str] scan_level: (Updatable) The scan level """ - pulumi.set(__self__, "scan_level", scan_level) + HostScanRecipePortSettingsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + scan_level=scan_level, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + scan_level: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("scan_level", scan_level) @property @pulumi.getter(name="scanLevel") @@ -444,9 +549,20 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] day_of_week: (Updatable) Day of week the scheduled scan occurs (not applicable for DAILY type) """ - pulumi.set(__self__, "type", type) + HostScanRecipeScheduleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + day_of_week=day_of_week, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: pulumi.Input[str], + day_of_week: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if day_of_week is not None: - pulumi.set(__self__, "day_of_week", day_of_week) + _setter("day_of_week", day_of_week) @property @pulumi.getter @@ -483,10 +599,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetContainerScanRecipesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -522,10 +651,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetContainerScanTargetsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -561,10 +703,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetHostScanRecipesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -600,10 +755,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetHostScanTargetErrorsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -639,10 +807,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetHostScanTargetsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/vulnerabilityscanning/container_scan_recipe.py b/sdk/python/pulumi_oci/vulnerabilityscanning/container_scan_recipe.py index 0f6b0233f0..bd47fee9b1 100644 --- a/sdk/python/pulumi_oci/vulnerabilityscanning/container_scan_recipe.py +++ b/sdk/python/pulumi_oci/vulnerabilityscanning/container_scan_recipe.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -31,16 +31,35 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` :param pulumi.Input[int] image_count: (Updatable) This field is set equal to the number of images we want to scan in the first go when the recipe is created """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "scan_settings", scan_settings) + ContainerScanRecipeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + scan_settings=scan_settings, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + image_count=image_count, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + scan_settings: pulumi.Input['ContainerScanRecipeScanSettingsArgs'], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + image_count: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("scan_settings", scan_settings) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if image_count is not None: - pulumi.set(__self__, "image_count", image_count) + _setter("image_count", image_count) @property @pulumi.getter(name="compartmentId") @@ -141,26 +160,53 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: Date and time the recipe was created, format as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) :param pulumi.Input[str] time_updated: Date and time the recipe was last updated, format as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) """ + _ContainerScanRecipeState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + image_count=image_count, + scan_settings=scan_settings, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + image_count: Optional[pulumi.Input[int]] = None, + scan_settings: Optional[pulumi.Input['ContainerScanRecipeScanSettingsArgs']] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if image_count is not None: - pulumi.set(__self__, "image_count", image_count) + _setter("image_count", image_count) if scan_settings is not None: - pulumi.set(__self__, "scan_settings", scan_settings) + _setter("scan_settings", scan_settings) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -388,6 +434,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ContainerScanRecipeArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -415,6 +465,11 @@ def _internal_init(__self__, __props__.__dict__["display_name"] = display_name __props__.__dict__["freeform_tags"] = freeform_tags __props__.__dict__["image_count"] = image_count + if scan_settings is not None and not isinstance(scan_settings, ContainerScanRecipeScanSettingsArgs): + scan_settings = scan_settings or {} + def _setter(key, value): + scan_settings[key] = value + ContainerScanRecipeScanSettingsArgs._configure(_setter, **scan_settings) if scan_settings is None and not opts.urn: raise TypeError("Missing required property 'scan_settings'") __props__.__dict__["scan_settings"] = scan_settings diff --git a/sdk/python/pulumi_oci/vulnerabilityscanning/container_scan_target.py b/sdk/python/pulumi_oci/vulnerabilityscanning/container_scan_target.py index 1df6a14314..dda2aa1f68 100644 --- a/sdk/python/pulumi_oci/vulnerabilityscanning/container_scan_target.py +++ b/sdk/python/pulumi_oci/vulnerabilityscanning/container_scan_target.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -33,17 +33,38 @@ def __init__(__self__, *, :param pulumi.Input[str] display_name: (Updatable) User friendly name of container scan target. If not present, will be auto-generated. :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "container_scan_recipe_id", container_scan_recipe_id) - pulumi.set(__self__, "target_registry", target_registry) + ContainerScanTargetArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + container_scan_recipe_id=container_scan_recipe_id, + target_registry=target_registry, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + container_scan_recipe_id: pulumi.Input[str], + target_registry: pulumi.Input['ContainerScanTargetTargetRegistryArgs'], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("container_scan_recipe_id", container_scan_recipe_id) + _setter("target_registry", target_registry) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="compartmentId") @@ -158,28 +179,57 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: Date and time the target was created, format as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) :param pulumi.Input[str] time_updated: Date and time the target was last updated, format as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) """ + _ContainerScanTargetState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + container_scan_recipe_id=container_scan_recipe_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + state=state, + system_tags=system_tags, + target_registry=target_registry, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + container_scan_recipe_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + target_registry: Optional[pulumi.Input['ContainerScanTargetTargetRegistryArgs']] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if container_scan_recipe_id is not None: - pulumi.set(__self__, "container_scan_recipe_id", container_scan_recipe_id) + _setter("container_scan_recipe_id", container_scan_recipe_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if target_registry is not None: - pulumi.set(__self__, "target_registry", target_registry) + _setter("target_registry", target_registry) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -429,6 +479,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ContainerScanTargetArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -460,6 +514,11 @@ def _internal_init(__self__, __props__.__dict__["description"] = description __props__.__dict__["display_name"] = display_name __props__.__dict__["freeform_tags"] = freeform_tags + if target_registry is not None and not isinstance(target_registry, ContainerScanTargetTargetRegistryArgs): + target_registry = target_registry or {} + def _setter(key, value): + target_registry[key] = value + ContainerScanTargetTargetRegistryArgs._configure(_setter, **target_registry) if target_registry is None and not opts.urn: raise TypeError("Missing required property 'target_registry'") __props__.__dict__["target_registry"] = target_registry diff --git a/sdk/python/pulumi_oci/vulnerabilityscanning/get_container_scan_recipe.py b/sdk/python/pulumi_oci/vulnerabilityscanning/get_container_scan_recipe.py index e3a49ad7a9..b9ed40ccc6 100644 --- a/sdk/python/pulumi_oci/vulnerabilityscanning/get_container_scan_recipe.py +++ b/sdk/python/pulumi_oci/vulnerabilityscanning/get_container_scan_recipe.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/vulnerabilityscanning/get_container_scan_recipes.py b/sdk/python/pulumi_oci/vulnerabilityscanning/get_container_scan_recipes.py index bc264989dd..4ec70cfab1 100644 --- a/sdk/python/pulumi_oci/vulnerabilityscanning/get_container_scan_recipes.py +++ b/sdk/python/pulumi_oci/vulnerabilityscanning/get_container_scan_recipes.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/vulnerabilityscanning/get_container_scan_target.py b/sdk/python/pulumi_oci/vulnerabilityscanning/get_container_scan_target.py index ae09cdf977..6ae9fdc77f 100644 --- a/sdk/python/pulumi_oci/vulnerabilityscanning/get_container_scan_target.py +++ b/sdk/python/pulumi_oci/vulnerabilityscanning/get_container_scan_target.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/vulnerabilityscanning/get_container_scan_targets.py b/sdk/python/pulumi_oci/vulnerabilityscanning/get_container_scan_targets.py index af222ac61b..49d315dea8 100644 --- a/sdk/python/pulumi_oci/vulnerabilityscanning/get_container_scan_targets.py +++ b/sdk/python/pulumi_oci/vulnerabilityscanning/get_container_scan_targets.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/vulnerabilityscanning/get_host_scan_recipe.py b/sdk/python/pulumi_oci/vulnerabilityscanning/get_host_scan_recipe.py index 4fdb086b90..d7440e3b46 100644 --- a/sdk/python/pulumi_oci/vulnerabilityscanning/get_host_scan_recipe.py +++ b/sdk/python/pulumi_oci/vulnerabilityscanning/get_host_scan_recipe.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/vulnerabilityscanning/get_host_scan_recipes.py b/sdk/python/pulumi_oci/vulnerabilityscanning/get_host_scan_recipes.py index 63390498d0..92d0ce4d42 100644 --- a/sdk/python/pulumi_oci/vulnerabilityscanning/get_host_scan_recipes.py +++ b/sdk/python/pulumi_oci/vulnerabilityscanning/get_host_scan_recipes.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/vulnerabilityscanning/get_host_scan_target.py b/sdk/python/pulumi_oci/vulnerabilityscanning/get_host_scan_target.py index e35d10894d..ed62ee82d3 100644 --- a/sdk/python/pulumi_oci/vulnerabilityscanning/get_host_scan_target.py +++ b/sdk/python/pulumi_oci/vulnerabilityscanning/get_host_scan_target.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/vulnerabilityscanning/get_host_scan_target_errors.py b/sdk/python/pulumi_oci/vulnerabilityscanning/get_host_scan_target_errors.py index 1a006e469f..2fd2f451e4 100644 --- a/sdk/python/pulumi_oci/vulnerabilityscanning/get_host_scan_target_errors.py +++ b/sdk/python/pulumi_oci/vulnerabilityscanning/get_host_scan_target_errors.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/vulnerabilityscanning/get_host_scan_targets.py b/sdk/python/pulumi_oci/vulnerabilityscanning/get_host_scan_targets.py index c6b4413964..6726a0aed1 100644 --- a/sdk/python/pulumi_oci/vulnerabilityscanning/get_host_scan_targets.py +++ b/sdk/python/pulumi_oci/vulnerabilityscanning/get_host_scan_targets.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/vulnerabilityscanning/host_scan_recipe.py b/sdk/python/pulumi_oci/vulnerabilityscanning/host_scan_recipe.py index a68d50e20e..e44f05e723 100644 --- a/sdk/python/pulumi_oci/vulnerabilityscanning/host_scan_recipe.py +++ b/sdk/python/pulumi_oci/vulnerabilityscanning/host_scan_recipe.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -35,18 +35,41 @@ def __init__(__self__, *, :param pulumi.Input[str] display_name: (Updatable) Recipe identifier, which can be renamed. If not present, it will be auto-generated. Avoid entering confidential information. :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` """ - pulumi.set(__self__, "agent_settings", agent_settings) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "port_settings", port_settings) - pulumi.set(__self__, "schedule", schedule) + HostScanRecipeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + agent_settings=agent_settings, + compartment_id=compartment_id, + port_settings=port_settings, + schedule=schedule, + application_settings=application_settings, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agent_settings: pulumi.Input['HostScanRecipeAgentSettingsArgs'], + compartment_id: pulumi.Input[str], + port_settings: pulumi.Input['HostScanRecipePortSettingsArgs'], + schedule: pulumi.Input['HostScanRecipeScheduleArgs'], + application_settings: Optional[pulumi.Input['HostScanRecipeApplicationSettingsArgs']] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("agent_settings", agent_settings) + _setter("compartment_id", compartment_id) + _setter("port_settings", port_settings) + _setter("schedule", schedule) if application_settings is not None: - pulumi.set(__self__, "application_settings", application_settings) + _setter("application_settings", application_settings) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="agentSettings") @@ -175,30 +198,61 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: Date and time the recipe was created, format as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) :param pulumi.Input[str] time_updated: Date and time the recipe was last updated, format as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) """ + _HostScanRecipeState._configure( + lambda key, value: pulumi.set(__self__, key, value), + agent_settings=agent_settings, + application_settings=application_settings, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + port_settings=port_settings, + schedule=schedule, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agent_settings: Optional[pulumi.Input['HostScanRecipeAgentSettingsArgs']] = None, + application_settings: Optional[pulumi.Input['HostScanRecipeApplicationSettingsArgs']] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + port_settings: Optional[pulumi.Input['HostScanRecipePortSettingsArgs']] = None, + schedule: Optional[pulumi.Input['HostScanRecipeScheduleArgs']] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if agent_settings is not None: - pulumi.set(__self__, "agent_settings", agent_settings) + _setter("agent_settings", agent_settings) if application_settings is not None: - pulumi.set(__self__, "application_settings", application_settings) + _setter("application_settings", application_settings) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if port_settings is not None: - pulumi.set(__self__, "port_settings", port_settings) + _setter("port_settings", port_settings) if schedule is not None: - pulumi.set(__self__, "schedule", schedule) + _setter("schedule", schedule) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="agentSettings") @@ -506,6 +560,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + HostScanRecipeArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -528,9 +586,19 @@ def _internal_init(__self__, raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource') __props__ = HostScanRecipeArgs.__new__(HostScanRecipeArgs) + if agent_settings is not None and not isinstance(agent_settings, HostScanRecipeAgentSettingsArgs): + agent_settings = agent_settings or {} + def _setter(key, value): + agent_settings[key] = value + HostScanRecipeAgentSettingsArgs._configure(_setter, **agent_settings) if agent_settings is None and not opts.urn: raise TypeError("Missing required property 'agent_settings'") __props__.__dict__["agent_settings"] = agent_settings + if application_settings is not None and not isinstance(application_settings, HostScanRecipeApplicationSettingsArgs): + application_settings = application_settings or {} + def _setter(key, value): + application_settings[key] = value + HostScanRecipeApplicationSettingsArgs._configure(_setter, **application_settings) __props__.__dict__["application_settings"] = application_settings if compartment_id is None and not opts.urn: raise TypeError("Missing required property 'compartment_id'") @@ -538,9 +606,19 @@ def _internal_init(__self__, __props__.__dict__["defined_tags"] = defined_tags __props__.__dict__["display_name"] = display_name __props__.__dict__["freeform_tags"] = freeform_tags + if port_settings is not None and not isinstance(port_settings, HostScanRecipePortSettingsArgs): + port_settings = port_settings or {} + def _setter(key, value): + port_settings[key] = value + HostScanRecipePortSettingsArgs._configure(_setter, **port_settings) if port_settings is None and not opts.urn: raise TypeError("Missing required property 'port_settings'") __props__.__dict__["port_settings"] = port_settings + if schedule is not None and not isinstance(schedule, HostScanRecipeScheduleArgs): + schedule = schedule or {} + def _setter(key, value): + schedule[key] = value + HostScanRecipeScheduleArgs._configure(_setter, **schedule) if schedule is None and not opts.urn: raise TypeError("Missing required property 'schedule'") __props__.__dict__["schedule"] = schedule diff --git a/sdk/python/pulumi_oci/vulnerabilityscanning/host_scan_target.py b/sdk/python/pulumi_oci/vulnerabilityscanning/host_scan_target.py index dade6680a0..7184cc2b31 100644 --- a/sdk/python/pulumi_oci/vulnerabilityscanning/host_scan_target.py +++ b/sdk/python/pulumi_oci/vulnerabilityscanning/host_scan_target.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['HostScanTargetArgs', 'HostScanTarget'] @@ -37,19 +37,42 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` :param pulumi.Input[Sequence[pulumi.Input[str]]] instance_ids: (Updatable) List of compute instance IDs to target (optional). If empty, targets the entire targetCompartmentId. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "host_scan_recipe_id", host_scan_recipe_id) - pulumi.set(__self__, "target_compartment_id", target_compartment_id) + HostScanTargetArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + host_scan_recipe_id=host_scan_recipe_id, + target_compartment_id=target_compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + instance_ids=instance_ids, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + host_scan_recipe_id: pulumi.Input[str], + target_compartment_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + instance_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("host_scan_recipe_id", host_scan_recipe_id) + _setter("target_compartment_id", target_compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if instance_ids is not None: - pulumi.set(__self__, "instance_ids", instance_ids) + _setter("instance_ids", instance_ids) @property @pulumi.getter(name="compartmentId") @@ -186,30 +209,61 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: Date and time the target was created, format as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) :param pulumi.Input[str] time_updated: Date and time the target was last updated, format as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) """ + _HostScanTargetState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + host_scan_recipe_id=host_scan_recipe_id, + instance_ids=instance_ids, + state=state, + system_tags=system_tags, + target_compartment_id=target_compartment_id, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + host_scan_recipe_id: Optional[pulumi.Input[str]] = None, + instance_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + target_compartment_id: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if host_scan_recipe_id is not None: - pulumi.set(__self__, "host_scan_recipe_id", host_scan_recipe_id) + _setter("host_scan_recipe_id", host_scan_recipe_id) if instance_ids is not None: - pulumi.set(__self__, "instance_ids", instance_ids) + _setter("instance_ids", instance_ids) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if target_compartment_id is not None: - pulumi.set(__self__, "target_compartment_id", target_compartment_id) + _setter("target_compartment_id", target_compartment_id) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -473,6 +527,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + HostScanTargetArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/vulnerabilityscanning/outputs.py b/sdk/python/pulumi_oci/vulnerabilityscanning/outputs.py index 89612f87f3..a305caeca4 100644 --- a/sdk/python/pulumi_oci/vulnerabilityscanning/outputs.py +++ b/sdk/python/pulumi_oci/vulnerabilityscanning/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -87,7 +87,16 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "scan_level", scan_level) + ContainerScanRecipeScanSettings._configure( + lambda key, value: pulumi.set(__self__, key, value), + scan_level=scan_level, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + scan_level: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("scan_level", scan_level) @property @pulumi.getter(name="scanLevel") @@ -136,12 +145,27 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "type", type) + ContainerScanTargetTargetRegistry._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + type=type, + repositories=repositories, + url=url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + type: str, + repositories: Optional[Sequence[str]] = None, + url: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("type", type) if repositories is not None: - pulumi.set(__self__, "repositories", repositories) + _setter("repositories", repositories) if url is not None: - pulumi.set(__self__, "url", url) + _setter("url", url) @property @pulumi.getter(name="compartmentId") @@ -208,9 +232,20 @@ def __init__(__self__, *, :param str scan_level: (Updatable) The scan level :param 'HostScanRecipeAgentSettingsAgentConfigurationArgs' agent_configuration: (Updatable) Agent configuration for host scan agent settings. This model is polymorphic, presenting different configuration options based on selected agent vendor. """ - pulumi.set(__self__, "scan_level", scan_level) + HostScanRecipeAgentSettings._configure( + lambda key, value: pulumi.set(__self__, key, value), + scan_level=scan_level, + agent_configuration=agent_configuration, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + scan_level: str, + agent_configuration: Optional['outputs.HostScanRecipeAgentSettingsAgentConfiguration'] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("scan_level", scan_level) if agent_configuration is not None: - pulumi.set(__self__, "agent_configuration", agent_configuration) + _setter("agent_configuration", agent_configuration) @property @pulumi.getter(name="scanLevel") @@ -271,17 +306,36 @@ def __init__(__self__, *, :param str vault_secret_id: (Updatable) Vault secret OCID which stores license information. Content inside this secret in vault would be base64 string containing information about customer's Qualys susbcription license. :param str vendor_type: (Updatable) Vendor to use for the host scan agent. """ - pulumi.set(__self__, "vendor", vendor) + HostScanRecipeAgentSettingsAgentConfiguration._configure( + lambda key, value: pulumi.set(__self__, key, value), + vendor=vendor, + cis_benchmark_settings=cis_benchmark_settings, + endpoint_protection_settings=endpoint_protection_settings, + should_un_install=should_un_install, + vault_secret_id=vault_secret_id, + vendor_type=vendor_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + vendor: str, + cis_benchmark_settings: Optional['outputs.HostScanRecipeAgentSettingsAgentConfigurationCisBenchmarkSettings'] = None, + endpoint_protection_settings: Optional['outputs.HostScanRecipeAgentSettingsAgentConfigurationEndpointProtectionSettings'] = None, + should_un_install: Optional[bool] = None, + vault_secret_id: Optional[str] = None, + vendor_type: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("vendor", vendor) if cis_benchmark_settings is not None: - pulumi.set(__self__, "cis_benchmark_settings", cis_benchmark_settings) + _setter("cis_benchmark_settings", cis_benchmark_settings) if endpoint_protection_settings is not None: - pulumi.set(__self__, "endpoint_protection_settings", endpoint_protection_settings) + _setter("endpoint_protection_settings", endpoint_protection_settings) if should_un_install is not None: - pulumi.set(__self__, "should_un_install", should_un_install) + _setter("should_un_install", should_un_install) if vault_secret_id is not None: - pulumi.set(__self__, "vault_secret_id", vault_secret_id) + _setter("vault_secret_id", vault_secret_id) if vendor_type is not None: - pulumi.set(__self__, "vendor_type", vendor_type) + _setter("vendor_type", vendor_type) @property @pulumi.getter @@ -356,8 +410,17 @@ def __init__(__self__, *, """ :param str scan_level: (Updatable) The scan level """ + HostScanRecipeAgentSettingsAgentConfigurationCisBenchmarkSettings._configure( + lambda key, value: pulumi.set(__self__, key, value), + scan_level=scan_level, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + scan_level: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if scan_level is not None: - pulumi.set(__self__, "scan_level", scan_level) + _setter("scan_level", scan_level) @property @pulumi.getter(name="scanLevel") @@ -392,8 +455,17 @@ def __init__(__self__, *, """ :param str scan_level: (Updatable) The scan level """ + HostScanRecipeAgentSettingsAgentConfigurationEndpointProtectionSettings._configure( + lambda key, value: pulumi.set(__self__, key, value), + scan_level=scan_level, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + scan_level: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if scan_level is not None: - pulumi.set(__self__, "scan_level", scan_level) + _setter("scan_level", scan_level) @property @pulumi.getter(name="scanLevel") @@ -436,9 +508,22 @@ def __init__(__self__, *, :param Sequence['HostScanRecipeApplicationSettingsFoldersToScanArgs'] folders_to_scans: (Updatable) List of folders selected for scanning :param bool is_enabled: (Updatable) Enable or disable application scan """ - pulumi.set(__self__, "application_scan_recurrence", application_scan_recurrence) - pulumi.set(__self__, "folders_to_scans", folders_to_scans) - pulumi.set(__self__, "is_enabled", is_enabled) + HostScanRecipeApplicationSettings._configure( + lambda key, value: pulumi.set(__self__, key, value), + application_scan_recurrence=application_scan_recurrence, + folders_to_scans=folders_to_scans, + is_enabled=is_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + application_scan_recurrence: str, + folders_to_scans: Sequence['outputs.HostScanRecipeApplicationSettingsFoldersToScan'], + is_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("application_scan_recurrence", application_scan_recurrence) + _setter("folders_to_scans", folders_to_scans) + _setter("is_enabled", is_enabled) @property @pulumi.getter(name="applicationScanRecurrence") @@ -474,8 +559,19 @@ def __init__(__self__, *, :param str folder: (Updatable) Folder to be scanned in the corresponding operating system :param str operatingsystem: (Updatable) Operating system type """ - pulumi.set(__self__, "folder", folder) - pulumi.set(__self__, "operatingsystem", operatingsystem) + HostScanRecipeApplicationSettingsFoldersToScan._configure( + lambda key, value: pulumi.set(__self__, key, value), + folder=folder, + operatingsystem=operatingsystem, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + folder: str, + operatingsystem: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("folder", folder) + _setter("operatingsystem", operatingsystem) @property @pulumi.getter @@ -518,7 +614,16 @@ def __init__(__self__, *, """ :param str scan_level: (Updatable) The scan level """ - pulumi.set(__self__, "scan_level", scan_level) + HostScanRecipePortSettings._configure( + lambda key, value: pulumi.set(__self__, key, value), + scan_level=scan_level, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + scan_level: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("scan_level", scan_level) @property @pulumi.getter(name="scanLevel") @@ -559,9 +664,20 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param str day_of_week: (Updatable) Day of week the scheduled scan occurs (not applicable for DAILY type) """ - pulumi.set(__self__, "type", type) + HostScanRecipeSchedule._configure( + lambda key, value: pulumi.set(__self__, key, value), + type=type, + day_of_week=day_of_week, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + type: str, + day_of_week: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("type", type) if day_of_week is not None: - pulumi.set(__self__, "day_of_week", day_of_week) + _setter("day_of_week", day_of_week) @property @pulumi.getter @@ -591,7 +707,16 @@ def __init__(__self__, *, """ :param str scan_level: The scan level """ - pulumi.set(__self__, "scan_level", scan_level) + GetContainerScanRecipeScanSettingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + scan_level=scan_level, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + scan_level: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("scan_level", scan_level) @property @pulumi.getter(name="scanLevel") @@ -606,7 +731,16 @@ def scan_level(self) -> str: class GetContainerScanRecipesContainerScanRecipeSummaryCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetContainerScanRecipesContainerScanRecipeSummaryCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetContainerScanRecipesContainerScanRecipeSummaryCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetContainerScanRecipesContainerScanRecipeSummaryCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -641,17 +775,46 @@ def __init__(__self__, *, :param str time_created: Date and time the recipe was created, format as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) :param str time_updated: Date and time the recipe was last updated, format as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "image_count", image_count) - pulumi.set(__self__, "scan_settings", scan_settings) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetContainerScanRecipesContainerScanRecipeSummaryCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + image_count=image_count, + scan_settings=scan_settings, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + image_count: int, + scan_settings: Sequence['outputs.GetContainerScanRecipesContainerScanRecipeSummaryCollectionItemScanSettingResult'], + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("image_count", image_count) + _setter("scan_settings", scan_settings) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -749,7 +912,16 @@ def __init__(__self__, *, """ :param str scan_level: The scan level """ - pulumi.set(__self__, "scan_level", scan_level) + GetContainerScanRecipesContainerScanRecipeSummaryCollectionItemScanSettingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + scan_level=scan_level, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + scan_level: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("scan_level", scan_level) @property @pulumi.getter(name="scanLevel") @@ -766,10 +938,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetContainerScanRecipesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -800,10 +985,25 @@ def __init__(__self__, *, :param str type: The scan level :param str url: URL of the registry. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "repositories", repositories) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "url", url) + GetContainerScanTargetTargetRegistryResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + repositories=repositories, + type=type, + url=url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + repositories: Sequence[str], + type: str, + url: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("repositories", repositories) + _setter("type", type) + _setter("url", url) @property @pulumi.getter(name="compartmentId") @@ -842,7 +1042,16 @@ def url(self) -> str: class GetContainerScanTargetsContainerScanTargetSummaryCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetContainerScanTargetsContainerScanTargetSummaryCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetContainerScanTargetsContainerScanTargetSummaryCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetContainerScanTargetsContainerScanTargetSummaryCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -879,18 +1088,49 @@ def __init__(__self__, *, :param str time_created: Date and time the target was created, format as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) :param str time_updated: Date and time the target was last updated, format as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "container_scan_recipe_id", container_scan_recipe_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "target_registries", target_registries) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetContainerScanTargetsContainerScanTargetSummaryCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + container_scan_recipe_id=container_scan_recipe_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + state=state, + system_tags=system_tags, + target_registries=target_registries, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + container_scan_recipe_id: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + state: str, + system_tags: Mapping[str, Any], + target_registries: Sequence['outputs.GetContainerScanTargetsContainerScanTargetSummaryCollectionItemTargetRegistryResult'], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("container_scan_recipe_id", container_scan_recipe_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("target_registries", target_registries) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -1002,10 +1242,25 @@ def __init__(__self__, *, :param str type: The scan level :param str url: URL of the registry. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "repositories", repositories) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "url", url) + GetContainerScanTargetsContainerScanTargetSummaryCollectionItemTargetRegistryResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + repositories=repositories, + type=type, + url=url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + repositories: Sequence[str], + type: str, + url: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("repositories", repositories) + _setter("type", type) + _setter("url", url) @property @pulumi.getter(name="compartmentId") @@ -1046,10 +1301,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetContainerScanTargetsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1076,8 +1344,19 @@ def __init__(__self__, *, :param Sequence['GetHostScanRecipeAgentSettingAgentConfigurationArgs'] agent_configurations: Agent configuration for host scan agent settings. This model is polymorphic, presenting different configuration options based on selected agent vendor. :param str scan_level: The scan level """ - pulumi.set(__self__, "agent_configurations", agent_configurations) - pulumi.set(__self__, "scan_level", scan_level) + GetHostScanRecipeAgentSettingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + agent_configurations=agent_configurations, + scan_level=scan_level, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agent_configurations: Sequence['outputs.GetHostScanRecipeAgentSettingAgentConfigurationResult'], + scan_level: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("agent_configurations", agent_configurations) + _setter("scan_level", scan_level) @property @pulumi.getter(name="agentConfigurations") @@ -1113,12 +1392,31 @@ def __init__(__self__, *, :param str vendor: Vendor to use for the host scan agent. :param str vendor_type: Vendor to use for the host scan agent. """ - pulumi.set(__self__, "cis_benchmark_settings", cis_benchmark_settings) - pulumi.set(__self__, "endpoint_protection_settings", endpoint_protection_settings) - pulumi.set(__self__, "should_un_install", should_un_install) - pulumi.set(__self__, "vault_secret_id", vault_secret_id) - pulumi.set(__self__, "vendor", vendor) - pulumi.set(__self__, "vendor_type", vendor_type) + GetHostScanRecipeAgentSettingAgentConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cis_benchmark_settings=cis_benchmark_settings, + endpoint_protection_settings=endpoint_protection_settings, + should_un_install=should_un_install, + vault_secret_id=vault_secret_id, + vendor=vendor, + vendor_type=vendor_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cis_benchmark_settings: Sequence['outputs.GetHostScanRecipeAgentSettingAgentConfigurationCisBenchmarkSettingResult'], + endpoint_protection_settings: Sequence['outputs.GetHostScanRecipeAgentSettingAgentConfigurationEndpointProtectionSettingResult'], + should_un_install: bool, + vault_secret_id: str, + vendor: str, + vendor_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cis_benchmark_settings", cis_benchmark_settings) + _setter("endpoint_protection_settings", endpoint_protection_settings) + _setter("should_un_install", should_un_install) + _setter("vault_secret_id", vault_secret_id) + _setter("vendor", vendor) + _setter("vendor_type", vendor_type) @property @pulumi.getter(name="cisBenchmarkSettings") @@ -1176,7 +1474,16 @@ def __init__(__self__, *, """ :param str scan_level: The scan level """ - pulumi.set(__self__, "scan_level", scan_level) + GetHostScanRecipeAgentSettingAgentConfigurationCisBenchmarkSettingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + scan_level=scan_level, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + scan_level: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("scan_level", scan_level) @property @pulumi.getter(name="scanLevel") @@ -1194,7 +1501,16 @@ def __init__(__self__, *, """ :param str scan_level: The scan level """ - pulumi.set(__self__, "scan_level", scan_level) + GetHostScanRecipeAgentSettingAgentConfigurationEndpointProtectionSettingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + scan_level=scan_level, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + scan_level: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("scan_level", scan_level) @property @pulumi.getter(name="scanLevel") @@ -1216,9 +1532,22 @@ def __init__(__self__, *, :param Sequence['GetHostScanRecipeApplicationSettingFoldersToScanArgs'] folders_to_scans: List of folders selected for scanning :param bool is_enabled: Enable or disable application scan """ - pulumi.set(__self__, "application_scan_recurrence", application_scan_recurrence) - pulumi.set(__self__, "folders_to_scans", folders_to_scans) - pulumi.set(__self__, "is_enabled", is_enabled) + GetHostScanRecipeApplicationSettingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + application_scan_recurrence=application_scan_recurrence, + folders_to_scans=folders_to_scans, + is_enabled=is_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + application_scan_recurrence: str, + folders_to_scans: Sequence['outputs.GetHostScanRecipeApplicationSettingFoldersToScanResult'], + is_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("application_scan_recurrence", application_scan_recurrence) + _setter("folders_to_scans", folders_to_scans) + _setter("is_enabled", is_enabled) @property @pulumi.getter(name="applicationScanRecurrence") @@ -1254,8 +1583,19 @@ def __init__(__self__, *, :param str folder: Folder to be scanned in the corresponding operating system :param str operatingsystem: Operating system type """ - pulumi.set(__self__, "folder", folder) - pulumi.set(__self__, "operatingsystem", operatingsystem) + GetHostScanRecipeApplicationSettingFoldersToScanResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + folder=folder, + operatingsystem=operatingsystem, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + folder: str, + operatingsystem: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("folder", folder) + _setter("operatingsystem", operatingsystem) @property @pulumi.getter @@ -1281,7 +1621,16 @@ def __init__(__self__, *, """ :param str scan_level: The scan level """ - pulumi.set(__self__, "scan_level", scan_level) + GetHostScanRecipePortSettingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + scan_level=scan_level, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + scan_level: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("scan_level", scan_level) @property @pulumi.getter(name="scanLevel") @@ -1301,8 +1650,19 @@ def __init__(__self__, *, :param str day_of_week: Day of week the scheduled scan occurs (not applicable for DAILY type) :param str type: How often the scan occurs """ - pulumi.set(__self__, "day_of_week", day_of_week) - pulumi.set(__self__, "type", type) + GetHostScanRecipeScheduleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + day_of_week=day_of_week, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + day_of_week: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("day_of_week", day_of_week) + _setter("type", type) @property @pulumi.getter(name="dayOfWeek") @@ -1327,10 +1687,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetHostScanRecipesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1352,7 +1725,16 @@ def regex(self) -> Optional[bool]: class GetHostScanRecipesHostScanRecipeSummaryCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetHostScanRecipesHostScanRecipeSummaryCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetHostScanRecipesHostScanRecipeSummaryCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetHostScanRecipesHostScanRecipeSummaryCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1391,19 +1773,52 @@ def __init__(__self__, *, :param str time_created: Date and time the recipe was created, format as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) :param str time_updated: Date and time the recipe was last updated, format as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) """ - pulumi.set(__self__, "agent_settings", agent_settings) - pulumi.set(__self__, "application_settings", application_settings) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "port_settings", port_settings) - pulumi.set(__self__, "schedules", schedules) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetHostScanRecipesHostScanRecipeSummaryCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + agent_settings=agent_settings, + application_settings=application_settings, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + port_settings=port_settings, + schedules=schedules, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agent_settings: Sequence['outputs.GetHostScanRecipesHostScanRecipeSummaryCollectionItemAgentSettingResult'], + application_settings: Sequence['outputs.GetHostScanRecipesHostScanRecipeSummaryCollectionItemApplicationSettingResult'], + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + port_settings: Sequence['outputs.GetHostScanRecipesHostScanRecipeSummaryCollectionItemPortSettingResult'], + schedules: Sequence['outputs.GetHostScanRecipesHostScanRecipeSummaryCollectionItemScheduleResult'], + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("agent_settings", agent_settings) + _setter("application_settings", application_settings) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("port_settings", port_settings) + _setter("schedules", schedules) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="agentSettings") @@ -1519,8 +1934,19 @@ def __init__(__self__, *, :param Sequence['GetHostScanRecipesHostScanRecipeSummaryCollectionItemAgentSettingAgentConfigurationArgs'] agent_configurations: Agent configuration for host scan agent settings. This model is polymorphic, presenting different configuration options based on selected agent vendor. :param str scan_level: The scan level """ - pulumi.set(__self__, "agent_configurations", agent_configurations) - pulumi.set(__self__, "scan_level", scan_level) + GetHostScanRecipesHostScanRecipeSummaryCollectionItemAgentSettingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + agent_configurations=agent_configurations, + scan_level=scan_level, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + agent_configurations: Sequence['outputs.GetHostScanRecipesHostScanRecipeSummaryCollectionItemAgentSettingAgentConfigurationResult'], + scan_level: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("agent_configurations", agent_configurations) + _setter("scan_level", scan_level) @property @pulumi.getter(name="agentConfigurations") @@ -1556,12 +1982,31 @@ def __init__(__self__, *, :param str vendor: Vendor to use for the host scan agent. :param str vendor_type: Vendor to use for the host scan agent. """ - pulumi.set(__self__, "cis_benchmark_settings", cis_benchmark_settings) - pulumi.set(__self__, "endpoint_protection_settings", endpoint_protection_settings) - pulumi.set(__self__, "should_un_install", should_un_install) - pulumi.set(__self__, "vault_secret_id", vault_secret_id) - pulumi.set(__self__, "vendor", vendor) - pulumi.set(__self__, "vendor_type", vendor_type) + GetHostScanRecipesHostScanRecipeSummaryCollectionItemAgentSettingAgentConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cis_benchmark_settings=cis_benchmark_settings, + endpoint_protection_settings=endpoint_protection_settings, + should_un_install=should_un_install, + vault_secret_id=vault_secret_id, + vendor=vendor, + vendor_type=vendor_type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cis_benchmark_settings: Sequence['outputs.GetHostScanRecipesHostScanRecipeSummaryCollectionItemAgentSettingAgentConfigurationCisBenchmarkSettingResult'], + endpoint_protection_settings: Sequence['outputs.GetHostScanRecipesHostScanRecipeSummaryCollectionItemAgentSettingAgentConfigurationEndpointProtectionSettingResult'], + should_un_install: bool, + vault_secret_id: str, + vendor: str, + vendor_type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cis_benchmark_settings", cis_benchmark_settings) + _setter("endpoint_protection_settings", endpoint_protection_settings) + _setter("should_un_install", should_un_install) + _setter("vault_secret_id", vault_secret_id) + _setter("vendor", vendor) + _setter("vendor_type", vendor_type) @property @pulumi.getter(name="cisBenchmarkSettings") @@ -1619,7 +2064,16 @@ def __init__(__self__, *, """ :param str scan_level: The scan level """ - pulumi.set(__self__, "scan_level", scan_level) + GetHostScanRecipesHostScanRecipeSummaryCollectionItemAgentSettingAgentConfigurationCisBenchmarkSettingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + scan_level=scan_level, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + scan_level: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("scan_level", scan_level) @property @pulumi.getter(name="scanLevel") @@ -1637,7 +2091,16 @@ def __init__(__self__, *, """ :param str scan_level: The scan level """ - pulumi.set(__self__, "scan_level", scan_level) + GetHostScanRecipesHostScanRecipeSummaryCollectionItemAgentSettingAgentConfigurationEndpointProtectionSettingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + scan_level=scan_level, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + scan_level: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("scan_level", scan_level) @property @pulumi.getter(name="scanLevel") @@ -1659,9 +2122,22 @@ def __init__(__self__, *, :param Sequence['GetHostScanRecipesHostScanRecipeSummaryCollectionItemApplicationSettingFoldersToScanArgs'] folders_to_scans: List of folders selected for scanning :param bool is_enabled: Enable or disable application scan """ - pulumi.set(__self__, "application_scan_recurrence", application_scan_recurrence) - pulumi.set(__self__, "folders_to_scans", folders_to_scans) - pulumi.set(__self__, "is_enabled", is_enabled) + GetHostScanRecipesHostScanRecipeSummaryCollectionItemApplicationSettingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + application_scan_recurrence=application_scan_recurrence, + folders_to_scans=folders_to_scans, + is_enabled=is_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + application_scan_recurrence: str, + folders_to_scans: Sequence['outputs.GetHostScanRecipesHostScanRecipeSummaryCollectionItemApplicationSettingFoldersToScanResult'], + is_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("application_scan_recurrence", application_scan_recurrence) + _setter("folders_to_scans", folders_to_scans) + _setter("is_enabled", is_enabled) @property @pulumi.getter(name="applicationScanRecurrence") @@ -1697,8 +2173,19 @@ def __init__(__self__, *, :param str folder: Folder to be scanned in the corresponding operating system :param str operatingsystem: Operating system type """ - pulumi.set(__self__, "folder", folder) - pulumi.set(__self__, "operatingsystem", operatingsystem) + GetHostScanRecipesHostScanRecipeSummaryCollectionItemApplicationSettingFoldersToScanResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + folder=folder, + operatingsystem=operatingsystem, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + folder: str, + operatingsystem: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("folder", folder) + _setter("operatingsystem", operatingsystem) @property @pulumi.getter @@ -1724,7 +2211,16 @@ def __init__(__self__, *, """ :param str scan_level: The scan level """ - pulumi.set(__self__, "scan_level", scan_level) + GetHostScanRecipesHostScanRecipeSummaryCollectionItemPortSettingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + scan_level=scan_level, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + scan_level: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("scan_level", scan_level) @property @pulumi.getter(name="scanLevel") @@ -1744,8 +2240,19 @@ def __init__(__self__, *, :param str day_of_week: Day of week the scheduled scan occurs (not applicable for DAILY type) :param str type: How often the scan occurs """ - pulumi.set(__self__, "day_of_week", day_of_week) - pulumi.set(__self__, "type", type) + GetHostScanRecipesHostScanRecipeSummaryCollectionItemScheduleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + day_of_week=day_of_week, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + day_of_week: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("day_of_week", day_of_week) + _setter("type", type) @property @pulumi.getter(name="dayOfWeek") @@ -1770,10 +2277,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetHostScanTargetErrorsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1798,7 +2318,16 @@ def __init__(__self__, *, """ :param Sequence['GetHostScanTargetErrorsHostScanTargetErrorSummaryCollectionItemArgs'] items: The HostScanTargetError objects in the collection. """ - pulumi.set(__self__, "items", items) + GetHostScanTargetErrorsHostScanTargetErrorSummaryCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetHostScanTargetErrorsHostScanTargetErrorSummaryCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1816,7 +2345,16 @@ def __init__(__self__, *, """ :param Sequence['GetHostScanTargetErrorsHostScanTargetErrorSummaryCollectionItemItemArgs'] items: The HostScanTargetError objects in the collection. """ - pulumi.set(__self__, "items", items) + GetHostScanTargetErrorsHostScanTargetErrorSummaryCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetHostScanTargetErrorsHostScanTargetErrorSummaryCollectionItemItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1852,16 +2390,43 @@ def __init__(__self__, *, :param str time_updated: Date and time the error was updated, format as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339). :param str vendor: Vendor which was used for the host scan agent. """ - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "error_code", error_code) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "instance_id", instance_id) - pulumi.set(__self__, "message", message) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "task", task) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "vendor", vendor) + GetHostScanTargetErrorsHostScanTargetErrorSummaryCollectionItemItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + defined_tags=defined_tags, + error_code=error_code, + freeform_tags=freeform_tags, + instance_id=instance_id, + message=message, + state=state, + system_tags=system_tags, + task=task, + time_updated=time_updated, + vendor=vendor, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + defined_tags: Mapping[str, Any], + error_code: str, + freeform_tags: Mapping[str, Any], + instance_id: str, + message: str, + state: str, + system_tags: Mapping[str, Any], + task: str, + time_updated: str, + vendor: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("defined_tags", defined_tags) + _setter("error_code", error_code) + _setter("freeform_tags", freeform_tags) + _setter("instance_id", instance_id) + _setter("message", message) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("task", task) + _setter("time_updated", time_updated) + _setter("vendor", vendor) @property @pulumi.getter(name="definedTags") @@ -1950,10 +2515,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetHostScanTargetsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1975,7 +2553,16 @@ def regex(self) -> Optional[bool]: class GetHostScanTargetsHostScanTargetSummaryCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetHostScanTargetsHostScanTargetSummaryCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetHostScanTargetsHostScanTargetSummaryCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetHostScanTargetsHostScanTargetSummaryCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -2014,19 +2601,52 @@ def __init__(__self__, *, :param str time_created: Date and time the target was created, format as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) :param str time_updated: Date and time the target was last updated, format as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "host_scan_recipe_id", host_scan_recipe_id) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "instance_ids", instance_ids) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "target_compartment_id", target_compartment_id) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetHostScanTargetsHostScanTargetSummaryCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + host_scan_recipe_id=host_scan_recipe_id, + id=id, + instance_ids=instance_ids, + state=state, + system_tags=system_tags, + target_compartment_id=target_compartment_id, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + host_scan_recipe_id: str, + id: str, + instance_ids: Sequence[str], + state: str, + system_tags: Mapping[str, Any], + target_compartment_id: str, + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("host_scan_recipe_id", host_scan_recipe_id) + _setter("id", id) + _setter("instance_ids", instance_ids) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("target_compartment_id", target_compartment_id) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") diff --git a/sdk/python/pulumi_oci/waa/_inputs.py b/sdk/python/pulumi_oci/waa/_inputs.py index d35861d972..8e286174d1 100644 --- a/sdk/python/pulumi_oci/waa/_inputs.py +++ b/sdk/python/pulumi_oci/waa/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -34,8 +34,17 @@ def __init__(__self__, *, If the header includes the "Vary" field with the special value "*", such a response will not be cached. If the header includes the "Vary" field with another value, such a response will be cached taking into account the corresponding request header fields. """ + AppAccelerationPolicyResponseCachingPolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_response_header_based_caching_enabled=is_response_header_based_caching_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_response_header_based_caching_enabled: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_response_header_based_caching_enabled is not None: - pulumi.set(__self__, "is_response_header_based_caching_enabled", is_response_header_based_caching_enabled) + _setter("is_response_header_based_caching_enabled", is_response_header_based_caching_enabled) @property @pulumi.getter(name="isResponseHeaderBasedCachingEnabled") @@ -67,8 +76,17 @@ def __init__(__self__, *, """ :param pulumi.Input['AppAccelerationPolicyResponseCompressionPolicyGzipCompressionArgs'] gzip_compression: (Updatable) An object that specifies the gzip compression policy. """ + AppAccelerationPolicyResponseCompressionPolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + gzip_compression=gzip_compression, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + gzip_compression: Optional[pulumi.Input['AppAccelerationPolicyResponseCompressionPolicyGzipCompressionArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if gzip_compression is not None: - pulumi.set(__self__, "gzip_compression", gzip_compression) + _setter("gzip_compression", gzip_compression) @property @pulumi.getter(name="gzipCompression") @@ -92,8 +110,17 @@ def __init__(__self__, *, When false, support for gzip compression is disabled and HTTP responses will not be compressed with gzip even if the client indicates support for gzip. """ + AppAccelerationPolicyResponseCompressionPolicyGzipCompressionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) @property @pulumi.getter(name="isEnabled") @@ -116,10 +143,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAppAccelerationPoliciesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -155,10 +195,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAppAccelerationsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/waa/app_acceleration.py b/sdk/python/pulumi_oci/waa/app_acceleration.py index ef3f3ee5ed..a47f8ca127 100644 --- a/sdk/python/pulumi_oci/waa/app_acceleration.py +++ b/sdk/python/pulumi_oci/waa/app_acceleration.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['AppAccelerationArgs', 'AppAcceleration'] @@ -37,18 +37,41 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` :param pulumi.Input[Mapping[str, Any]] system_tags: (Updatable) Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` """ - pulumi.set(__self__, "backend_type", backend_type) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "load_balancer_id", load_balancer_id) - pulumi.set(__self__, "web_app_acceleration_policy_id", web_app_acceleration_policy_id) + AppAccelerationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + backend_type=backend_type, + compartment_id=compartment_id, + load_balancer_id=load_balancer_id, + web_app_acceleration_policy_id=web_app_acceleration_policy_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + system_tags=system_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backend_type: pulumi.Input[str], + compartment_id: pulumi.Input[str], + load_balancer_id: pulumi.Input[str], + web_app_acceleration_policy_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("backend_type", backend_type) + _setter("compartment_id", compartment_id) + _setter("load_balancer_id", load_balancer_id) + _setter("web_app_acceleration_policy_id", web_app_acceleration_policy_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) @property @pulumi.getter(name="backendType") @@ -185,30 +208,61 @@ def __init__(__self__, *, ** 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 """ + _AppAccelerationState._configure( + lambda key, value: pulumi.set(__self__, key, value), + backend_type=backend_type, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + load_balancer_id=load_balancer_id, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + web_app_acceleration_policy_id=web_app_acceleration_policy_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backend_type: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + load_balancer_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + web_app_acceleration_policy_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if backend_type is not None: - pulumi.set(__self__, "backend_type", backend_type) + _setter("backend_type", backend_type) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if load_balancer_id is not None: - pulumi.set(__self__, "load_balancer_id", load_balancer_id) + _setter("load_balancer_id", load_balancer_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if web_app_acceleration_policy_id is not None: - pulumi.set(__self__, "web_app_acceleration_policy_id", web_app_acceleration_policy_id) + _setter("web_app_acceleration_policy_id", web_app_acceleration_policy_id) @property @pulumi.getter(name="backendType") @@ -472,6 +526,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + AppAccelerationArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/waa/app_acceleration_policy.py b/sdk/python/pulumi_oci/waa/app_acceleration_policy.py index 68e7cf2826..941f63ba5e 100644 --- a/sdk/python/pulumi_oci/waa/app_acceleration_policy.py +++ b/sdk/python/pulumi_oci/waa/app_acceleration_policy.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -41,19 +41,40 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) + AppAccelerationPolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + response_caching_policy=response_caching_policy, + response_compression_policy=response_compression_policy, + system_tags=system_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + response_caching_policy: Optional[pulumi.Input['AppAccelerationPolicyResponseCachingPolicyArgs']] = None, + response_compression_policy: Optional[pulumi.Input['AppAccelerationPolicyResponseCompressionPolicyArgs']] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if response_caching_policy is not None: - pulumi.set(__self__, "response_caching_policy", response_caching_policy) + _setter("response_caching_policy", response_caching_policy) if response_compression_policy is not None: - pulumi.set(__self__, "response_compression_policy", response_compression_policy) + _setter("response_compression_policy", response_compression_policy) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) @property @pulumi.getter(name="compartmentId") @@ -184,28 +205,57 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The time the WebAppAccelerationPolicy was created. An RFC3339 formatted datetime string. :param pulumi.Input[str] time_updated: The time the WebAppAccelerationPolicy was updated. An RFC3339 formatted datetime string. """ + _AppAccelerationPolicyState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + response_caching_policy=response_caching_policy, + response_compression_policy=response_compression_policy, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + response_caching_policy: Optional[pulumi.Input['AppAccelerationPolicyResponseCachingPolicyArgs']] = None, + response_compression_policy: Optional[pulumi.Input['AppAccelerationPolicyResponseCompressionPolicyArgs']] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if response_caching_policy is not None: - pulumi.set(__self__, "response_caching_policy", response_caching_policy) + _setter("response_caching_policy", response_caching_policy) if response_compression_policy is not None: - pulumi.set(__self__, "response_compression_policy", response_compression_policy) + _setter("response_compression_policy", response_compression_policy) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -473,6 +523,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + AppAccelerationPolicyArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -500,7 +554,17 @@ def _internal_init(__self__, __props__.__dict__["defined_tags"] = defined_tags __props__.__dict__["display_name"] = display_name __props__.__dict__["freeform_tags"] = freeform_tags + if response_caching_policy is not None and not isinstance(response_caching_policy, AppAccelerationPolicyResponseCachingPolicyArgs): + response_caching_policy = response_caching_policy or {} + def _setter(key, value): + response_caching_policy[key] = value + AppAccelerationPolicyResponseCachingPolicyArgs._configure(_setter, **response_caching_policy) __props__.__dict__["response_caching_policy"] = response_caching_policy + if response_compression_policy is not None and not isinstance(response_compression_policy, AppAccelerationPolicyResponseCompressionPolicyArgs): + response_compression_policy = response_compression_policy or {} + def _setter(key, value): + response_compression_policy[key] = value + AppAccelerationPolicyResponseCompressionPolicyArgs._configure(_setter, **response_compression_policy) __props__.__dict__["response_compression_policy"] = response_compression_policy __props__.__dict__["system_tags"] = system_tags __props__.__dict__["lifecycle_details"] = None diff --git a/sdk/python/pulumi_oci/waa/get_app_acceleration.py b/sdk/python/pulumi_oci/waa/get_app_acceleration.py index 3a8b10ed9b..d17596c739 100644 --- a/sdk/python/pulumi_oci/waa/get_app_acceleration.py +++ b/sdk/python/pulumi_oci/waa/get_app_acceleration.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/waa/get_app_acceleration_policies.py b/sdk/python/pulumi_oci/waa/get_app_acceleration_policies.py index 1b243a7efb..e109d8d033 100644 --- a/sdk/python/pulumi_oci/waa/get_app_acceleration_policies.py +++ b/sdk/python/pulumi_oci/waa/get_app_acceleration_policies.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/waa/get_app_acceleration_policy.py b/sdk/python/pulumi_oci/waa/get_app_acceleration_policy.py index 40141c2f66..5f3abb8ea3 100644 --- a/sdk/python/pulumi_oci/waa/get_app_acceleration_policy.py +++ b/sdk/python/pulumi_oci/waa/get_app_acceleration_policy.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/waa/get_app_accelerations.py b/sdk/python/pulumi_oci/waa/get_app_accelerations.py index 412334bcb6..9bb2099210 100644 --- a/sdk/python/pulumi_oci/waa/get_app_accelerations.py +++ b/sdk/python/pulumi_oci/waa/get_app_accelerations.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/waa/outputs.py b/sdk/python/pulumi_oci/waa/outputs.py index bcd42a7d94..c3c8d432da 100644 --- a/sdk/python/pulumi_oci/waa/outputs.py +++ b/sdk/python/pulumi_oci/waa/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -62,8 +62,17 @@ def __init__(__self__, *, If the header includes the "Vary" field with the special value "*", such a response will not be cached. If the header includes the "Vary" field with another value, such a response will be cached taking into account the corresponding request header fields. """ + AppAccelerationPolicyResponseCachingPolicy._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_response_header_based_caching_enabled=is_response_header_based_caching_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_response_header_based_caching_enabled: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_response_header_based_caching_enabled is not None: - pulumi.set(__self__, "is_response_header_based_caching_enabled", is_response_header_based_caching_enabled) + _setter("is_response_header_based_caching_enabled", is_response_header_based_caching_enabled) @property @pulumi.getter(name="isResponseHeaderBasedCachingEnabled") @@ -108,8 +117,17 @@ def __init__(__self__, *, """ :param 'AppAccelerationPolicyResponseCompressionPolicyGzipCompressionArgs' gzip_compression: (Updatable) An object that specifies the gzip compression policy. """ + AppAccelerationPolicyResponseCompressionPolicy._configure( + lambda key, value: pulumi.set(__self__, key, value), + gzip_compression=gzip_compression, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + gzip_compression: Optional['outputs.AppAccelerationPolicyResponseCompressionPolicyGzipCompression'] = None, + opts: Optional[pulumi.ResourceOptions]=None): if gzip_compression is not None: - pulumi.set(__self__, "gzip_compression", gzip_compression) + _setter("gzip_compression", gzip_compression) @property @pulumi.getter(name="gzipCompression") @@ -146,8 +164,17 @@ def __init__(__self__, *, When false, support for gzip compression is disabled and HTTP responses will not be compressed with gzip even if the client indicates support for gzip. """ + AppAccelerationPolicyResponseCompressionPolicyGzipCompression._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) @property @pulumi.getter(name="isEnabled") @@ -166,10 +193,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAppAccelerationPoliciesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -191,7 +231,16 @@ def regex(self) -> Optional[bool]: class GetAppAccelerationPoliciesWebAppAccelerationPolicyCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetAppAccelerationPoliciesWebAppAccelerationPolicyCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetAppAccelerationPoliciesWebAppAccelerationPolicyCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetAppAccelerationPoliciesWebAppAccelerationPolicyCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -228,18 +277,49 @@ def __init__(__self__, *, :param str time_created: The time the WebAppAccelerationPolicy was created. An RFC3339 formatted datetime string. :param str time_updated: The time the WebAppAccelerationPolicy was updated. An RFC3339 formatted datetime string. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "response_caching_policies", response_caching_policies) - pulumi.set(__self__, "response_compression_policies", response_compression_policies) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetAppAccelerationPoliciesWebAppAccelerationPolicyCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + response_caching_policies=response_caching_policies, + response_compression_policies=response_compression_policies, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + response_caching_policies: Sequence['outputs.GetAppAccelerationPoliciesWebAppAccelerationPolicyCollectionItemResponseCachingPolicyResult'], + response_compression_policies: Sequence['outputs.GetAppAccelerationPoliciesWebAppAccelerationPolicyCollectionItemResponseCompressionPolicyResult'], + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("response_caching_policies", response_caching_policies) + _setter("response_compression_policies", response_compression_policies) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter(name="compartmentId") @@ -345,7 +425,16 @@ def __init__(__self__, *, """ :param bool is_response_header_based_caching_enabled: When false, responses will not be cached by the backend based on response headers. """ - pulumi.set(__self__, "is_response_header_based_caching_enabled", is_response_header_based_caching_enabled) + GetAppAccelerationPoliciesWebAppAccelerationPolicyCollectionItemResponseCachingPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_response_header_based_caching_enabled=is_response_header_based_caching_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_response_header_based_caching_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_response_header_based_caching_enabled", is_response_header_based_caching_enabled) @property @pulumi.getter(name="isResponseHeaderBasedCachingEnabled") @@ -363,7 +452,16 @@ def __init__(__self__, *, """ :param Sequence['GetAppAccelerationPoliciesWebAppAccelerationPolicyCollectionItemResponseCompressionPolicyGzipCompressionArgs'] gzip_compressions: An object that specifies the gzip compression policy. """ - pulumi.set(__self__, "gzip_compressions", gzip_compressions) + GetAppAccelerationPoliciesWebAppAccelerationPolicyCollectionItemResponseCompressionPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + gzip_compressions=gzip_compressions, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + gzip_compressions: Sequence['outputs.GetAppAccelerationPoliciesWebAppAccelerationPolicyCollectionItemResponseCompressionPolicyGzipCompressionResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("gzip_compressions", gzip_compressions) @property @pulumi.getter(name="gzipCompressions") @@ -381,7 +479,16 @@ def __init__(__self__, *, """ :param bool is_enabled: When true, support for gzip compression is enabled. HTTP responses will be compressed with gzip only if the client indicates support for gzip via the "Accept-Encoding: gzip" request header. """ - pulumi.set(__self__, "is_enabled", is_enabled) + GetAppAccelerationPoliciesWebAppAccelerationPolicyCollectionItemResponseCompressionPolicyGzipCompressionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_enabled", is_enabled) @property @pulumi.getter(name="isEnabled") @@ -399,7 +506,16 @@ def __init__(__self__, *, """ :param bool is_response_header_based_caching_enabled: When false, responses will not be cached by the backend based on response headers. """ - pulumi.set(__self__, "is_response_header_based_caching_enabled", is_response_header_based_caching_enabled) + GetAppAccelerationPolicyResponseCachingPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_response_header_based_caching_enabled=is_response_header_based_caching_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_response_header_based_caching_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_response_header_based_caching_enabled", is_response_header_based_caching_enabled) @property @pulumi.getter(name="isResponseHeaderBasedCachingEnabled") @@ -417,7 +533,16 @@ def __init__(__self__, *, """ :param Sequence['GetAppAccelerationPolicyResponseCompressionPolicyGzipCompressionArgs'] gzip_compressions: An object that specifies the gzip compression policy. """ - pulumi.set(__self__, "gzip_compressions", gzip_compressions) + GetAppAccelerationPolicyResponseCompressionPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + gzip_compressions=gzip_compressions, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + gzip_compressions: Sequence['outputs.GetAppAccelerationPolicyResponseCompressionPolicyGzipCompressionResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("gzip_compressions", gzip_compressions) @property @pulumi.getter(name="gzipCompressions") @@ -435,7 +560,16 @@ def __init__(__self__, *, """ :param bool is_enabled: When true, support for gzip compression is enabled. HTTP responses will be compressed with gzip only if the client indicates support for gzip via the "Accept-Encoding: gzip" request header. """ - pulumi.set(__self__, "is_enabled", is_enabled) + GetAppAccelerationPolicyResponseCompressionPolicyGzipCompressionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: bool, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_enabled", is_enabled) @property @pulumi.getter(name="isEnabled") @@ -452,10 +586,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAppAccelerationsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -477,7 +624,16 @@ def regex(self) -> Optional[bool]: class GetAppAccelerationsWebAppAccelerationCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetAppAccelerationsWebAppAccelerationCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetAppAccelerationsWebAppAccelerationCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetAppAccelerationsWebAppAccelerationCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -516,19 +672,52 @@ def __init__(__self__, *, :param str time_updated: The time the WebAppAcceleration was updated. An RFC3339 formatted datetime string. :param str web_app_acceleration_policy_id: A filter to return only the WebAppAcceleration with the given [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of related WebAppAccelerationPolicy. """ - pulumi.set(__self__, "backend_type", backend_type) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "load_balancer_id", load_balancer_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "web_app_acceleration_policy_id", web_app_acceleration_policy_id) + GetAppAccelerationsWebAppAccelerationCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + backend_type=backend_type, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + load_balancer_id=load_balancer_id, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + web_app_acceleration_policy_id=web_app_acceleration_policy_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backend_type: str, + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + load_balancer_id: str, + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + web_app_acceleration_policy_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("backend_type", backend_type) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("load_balancer_id", load_balancer_id) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("web_app_acceleration_policy_id", web_app_acceleration_policy_id) @property @pulumi.getter(name="backendType") diff --git a/sdk/python/pulumi_oci/waas/_inputs.py b/sdk/python/pulumi_oci/waas/_inputs.py index fd6910b551..99386bbf1f 100644 --- a/sdk/python/pulumi_oci/waas/_inputs.py +++ b/sdk/python/pulumi_oci/waas/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -64,12 +64,25 @@ def __init__(__self__, *, :param pulumi.Input[str] name: The certificate extension name. :param pulumi.Input[str] value: The certificate extension value. """ + CertificateExtensionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_critical=is_critical, + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_critical: Optional[pulumi.Input[bool]] = None, + name: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_critical is not None: - pulumi.set(__self__, "is_critical", is_critical) + _setter("is_critical", is_critical) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter(name="isCritical") @@ -127,20 +140,41 @@ def __init__(__self__, *, :param pulumi.Input[str] organizational_unit: The field to differentiate between divisions within an organization. :param pulumi.Input[str] state_province: The province where the organization is located. """ + CertificateIssuerNameArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + common_name=common_name, + country=country, + email_address=email_address, + locality=locality, + organization=organization, + organizational_unit=organizational_unit, + state_province=state_province, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + common_name: Optional[pulumi.Input[str]] = None, + country: Optional[pulumi.Input[str]] = None, + email_address: Optional[pulumi.Input[str]] = None, + locality: Optional[pulumi.Input[str]] = None, + organization: Optional[pulumi.Input[str]] = None, + organizational_unit: Optional[pulumi.Input[str]] = None, + state_province: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if common_name is not None: - pulumi.set(__self__, "common_name", common_name) + _setter("common_name", common_name) if country is not None: - pulumi.set(__self__, "country", country) + _setter("country", country) if email_address is not None: - pulumi.set(__self__, "email_address", email_address) + _setter("email_address", email_address) if locality is not None: - pulumi.set(__self__, "locality", locality) + _setter("locality", locality) if organization is not None: - pulumi.set(__self__, "organization", organization) + _setter("organization", organization) if organizational_unit is not None: - pulumi.set(__self__, "organizational_unit", organizational_unit) + _setter("organizational_unit", organizational_unit) if state_province is not None: - pulumi.set(__self__, "state_province", state_province) + _setter("state_province", state_province) @property @pulumi.getter(name="commonName") @@ -238,12 +272,25 @@ def __init__(__self__, *, :param pulumi.Input[int] exponent: The private key exponent. :param pulumi.Input[int] key_size: The number of bits in a key used by a cryptographic algorithm. """ + CertificatePublicKeyInfoArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + algorithm=algorithm, + exponent=exponent, + key_size=key_size, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + algorithm: Optional[pulumi.Input[str]] = None, + exponent: Optional[pulumi.Input[int]] = None, + key_size: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if algorithm is not None: - pulumi.set(__self__, "algorithm", algorithm) + _setter("algorithm", algorithm) if exponent is not None: - pulumi.set(__self__, "exponent", exponent) + _setter("exponent", exponent) if key_size is not None: - pulumi.set(__self__, "key_size", key_size) + _setter("key_size", key_size) @property @pulumi.getter @@ -301,20 +348,41 @@ def __init__(__self__, *, :param pulumi.Input[str] organizational_unit: The field to differentiate between divisions within an organization. :param pulumi.Input[str] state_province: The province where the organization is located. """ + CertificateSubjectNameArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + common_name=common_name, + country=country, + email_address=email_address, + locality=locality, + organization=organization, + organizational_unit=organizational_unit, + state_province=state_province, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + common_name: Optional[pulumi.Input[str]] = None, + country: Optional[pulumi.Input[str]] = None, + email_address: Optional[pulumi.Input[str]] = None, + locality: Optional[pulumi.Input[str]] = None, + organization: Optional[pulumi.Input[str]] = None, + organizational_unit: Optional[pulumi.Input[str]] = None, + state_province: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if common_name is not None: - pulumi.set(__self__, "common_name", common_name) + _setter("common_name", common_name) if country is not None: - pulumi.set(__self__, "country", country) + _setter("country", country) if email_address is not None: - pulumi.set(__self__, "email_address", email_address) + _setter("email_address", email_address) if locality is not None: - pulumi.set(__self__, "locality", locality) + _setter("locality", locality) if organization is not None: - pulumi.set(__self__, "organization", organization) + _setter("organization", organization) if organizational_unit is not None: - pulumi.set(__self__, "organizational_unit", organizational_unit) + _setter("organizational_unit", organizational_unit) if state_province is not None: - pulumi.set(__self__, "state_province", state_province) + _setter("state_province", state_province) @property @pulumi.getter(name="commonName") @@ -420,12 +488,29 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[int] port: (Updatable) Port number of the target destination of the redirect, default to match protocol """ - pulumi.set(__self__, "host", host) - pulumi.set(__self__, "path", path) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "query", query) + HttpRedirectTargetArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + host=host, + path=path, + protocol=protocol, + query=query, + port=port, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host: pulumi.Input[str], + path: pulumi.Input[str], + protocol: pulumi.Input[str], + query: pulumi.Input[str], + port: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("host", host) + _setter("path", path) + _setter("protocol", protocol) + _setter("query", query) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) @property @pulumi.getter @@ -506,14 +591,31 @@ def __init__(__self__, *, :param pulumi.Input[int] http_port: (Updatable) The HTTP port on the origin that the web application listens on. If unspecified, defaults to `80`. If `0` is specified - the origin is not used for HTTP traffic. :param pulumi.Input[int] https_port: (Updatable) The HTTPS port on the origin that the web application listens on. If unspecified, defaults to `443`. If `0` is specified - the origin is not used for HTTPS traffic. """ - pulumi.set(__self__, "label", label) - pulumi.set(__self__, "uri", uri) + PolicyOriginArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + label=label, + uri=uri, + custom_headers=custom_headers, + http_port=http_port, + https_port=https_port, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + label: pulumi.Input[str], + uri: pulumi.Input[str], + custom_headers: Optional[pulumi.Input[Sequence[pulumi.Input['PolicyOriginCustomHeaderArgs']]]] = None, + http_port: Optional[pulumi.Input[int]] = None, + https_port: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("label", label) + _setter("uri", uri) if custom_headers is not None: - pulumi.set(__self__, "custom_headers", custom_headers) + _setter("custom_headers", custom_headers) if http_port is not None: - pulumi.set(__self__, "http_port", http_port) + _setter("http_port", http_port) if https_port is not None: - pulumi.set(__self__, "https_port", https_port) + _setter("https_port", https_port) @property @pulumi.getter @@ -586,8 +688,19 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] value: (Updatable) The value of the header. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + PolicyOriginCustomHeaderArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: pulumi.Input[str], + value: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("value", value) @property @pulumi.getter @@ -623,8 +736,19 @@ class PolicyOriginGroupArgs: def __init__(__self__, *, label: pulumi.Input[str], origin_groups: pulumi.Input[Sequence[pulumi.Input['PolicyOriginGroupOriginGroupArgs']]]): - pulumi.set(__self__, "label", label) - pulumi.set(__self__, "origin_groups", origin_groups) + PolicyOriginGroupArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + label=label, + origin_groups=origin_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + label: pulumi.Input[str], + origin_groups: pulumi.Input[Sequence[pulumi.Input['PolicyOriginGroupOriginGroupArgs']]], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("label", label) + _setter("origin_groups", origin_groups) @property @pulumi.getter @@ -653,9 +777,20 @@ def __init__(__self__, *, """ :param pulumi.Input[str] origin: (Updatable) The key in the map of origins referencing the origin used for the Web Application Firewall. The origin must already be included in `Origins`. Required when creating the `WafConfig` resource, but is not required upon updating the configuration. """ - pulumi.set(__self__, "origin", origin) + PolicyOriginGroupOriginGroupArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + origin=origin, + weight=weight, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + origin: pulumi.Input[str], + weight: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("origin", origin) if weight is not None: - pulumi.set(__self__, "weight", weight) + _setter("weight", weight) @property @pulumi.getter @@ -730,34 +865,69 @@ def __init__(__self__, *, Enabled TLS protocols must go in a row. For example if `TLS_v1_1` and `TLS_V1_3` are enabled, `TLS_V1_2` must be enabled too. :param pulumi.Input[Sequence[pulumi.Input[str]]] websocket_path_prefixes: (Updatable) ModSecurity is not capable to inspect WebSockets. Therefore paths specified here have WAF disabled if Connection request header from the client has the value Upgrade (case insensitive matching) and Upgrade request header has the value websocket (case insensitive matching). Paths matches if the concatenation of request URL path and query starts with the contents of the one of `websocketPathPrefixes` array value. In All other cases challenges, like JSC, HIC and etc., remain active. """ + PolicyPolicyConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + certificate_id=certificate_id, + cipher_group=cipher_group, + client_address_header=client_address_header, + health_checks=health_checks, + is_behind_cdn=is_behind_cdn, + is_cache_control_respected=is_cache_control_respected, + is_https_enabled=is_https_enabled, + is_https_forced=is_https_forced, + is_origin_compression_enabled=is_origin_compression_enabled, + is_response_buffering_enabled=is_response_buffering_enabled, + is_sni_enabled=is_sni_enabled, + load_balancing_method=load_balancing_method, + tls_protocols=tls_protocols, + websocket_path_prefixes=websocket_path_prefixes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + certificate_id: Optional[pulumi.Input[str]] = None, + cipher_group: Optional[pulumi.Input[str]] = None, + client_address_header: Optional[pulumi.Input[str]] = None, + health_checks: Optional[pulumi.Input['PolicyPolicyConfigHealthChecksArgs']] = None, + is_behind_cdn: Optional[pulumi.Input[bool]] = None, + is_cache_control_respected: Optional[pulumi.Input[bool]] = None, + is_https_enabled: Optional[pulumi.Input[bool]] = None, + is_https_forced: Optional[pulumi.Input[bool]] = None, + is_origin_compression_enabled: Optional[pulumi.Input[bool]] = None, + is_response_buffering_enabled: Optional[pulumi.Input[bool]] = None, + is_sni_enabled: Optional[pulumi.Input[bool]] = None, + load_balancing_method: Optional[pulumi.Input['PolicyPolicyConfigLoadBalancingMethodArgs']] = None, + tls_protocols: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + websocket_path_prefixes: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if certificate_id is not None: - pulumi.set(__self__, "certificate_id", certificate_id) + _setter("certificate_id", certificate_id) if cipher_group is not None: - pulumi.set(__self__, "cipher_group", cipher_group) + _setter("cipher_group", cipher_group) if client_address_header is not None: - pulumi.set(__self__, "client_address_header", client_address_header) + _setter("client_address_header", client_address_header) if health_checks is not None: - pulumi.set(__self__, "health_checks", health_checks) + _setter("health_checks", health_checks) if is_behind_cdn is not None: - pulumi.set(__self__, "is_behind_cdn", is_behind_cdn) + _setter("is_behind_cdn", is_behind_cdn) if is_cache_control_respected is not None: - pulumi.set(__self__, "is_cache_control_respected", is_cache_control_respected) + _setter("is_cache_control_respected", is_cache_control_respected) if is_https_enabled is not None: - pulumi.set(__self__, "is_https_enabled", is_https_enabled) + _setter("is_https_enabled", is_https_enabled) if is_https_forced is not None: - pulumi.set(__self__, "is_https_forced", is_https_forced) + _setter("is_https_forced", is_https_forced) if is_origin_compression_enabled is not None: - pulumi.set(__self__, "is_origin_compression_enabled", is_origin_compression_enabled) + _setter("is_origin_compression_enabled", is_origin_compression_enabled) if is_response_buffering_enabled is not None: - pulumi.set(__self__, "is_response_buffering_enabled", is_response_buffering_enabled) + _setter("is_response_buffering_enabled", is_response_buffering_enabled) if is_sni_enabled is not None: - pulumi.set(__self__, "is_sni_enabled", is_sni_enabled) + _setter("is_sni_enabled", is_sni_enabled) if load_balancing_method is not None: - pulumi.set(__self__, "load_balancing_method", load_balancing_method) + _setter("load_balancing_method", load_balancing_method) if tls_protocols is not None: - pulumi.set(__self__, "tls_protocols", tls_protocols) + _setter("tls_protocols", tls_protocols) if websocket_path_prefixes is not None: - pulumi.set(__self__, "websocket_path_prefixes", websocket_path_prefixes) + _setter("websocket_path_prefixes", websocket_path_prefixes) @property @pulumi.getter(name="certificateId") @@ -982,28 +1152,57 @@ def __init__(__self__, *, :param pulumi.Input[int] timeout_in_seconds: (Updatable) Response timeout represents wait time until request is considered failed, in seconds. :param pulumi.Input[int] unhealthy_threshold: (Updatable) Number of failed health checks after which the server is marked down. """ + PolicyPolicyConfigHealthChecksArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + expected_response_code_groups=expected_response_code_groups, + expected_response_text=expected_response_text, + headers=headers, + healthy_threshold=healthy_threshold, + interval_in_seconds=interval_in_seconds, + is_enabled=is_enabled, + is_response_text_check_enabled=is_response_text_check_enabled, + method=method, + path=path, + timeout_in_seconds=timeout_in_seconds, + unhealthy_threshold=unhealthy_threshold, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + expected_response_code_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + expected_response_text: Optional[pulumi.Input[str]] = None, + headers: Optional[pulumi.Input[Mapping[str, Any]]] = None, + healthy_threshold: Optional[pulumi.Input[int]] = None, + interval_in_seconds: Optional[pulumi.Input[int]] = None, + is_enabled: Optional[pulumi.Input[bool]] = None, + is_response_text_check_enabled: Optional[pulumi.Input[bool]] = None, + method: Optional[pulumi.Input[str]] = None, + path: Optional[pulumi.Input[str]] = None, + timeout_in_seconds: Optional[pulumi.Input[int]] = None, + unhealthy_threshold: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if expected_response_code_groups is not None: - pulumi.set(__self__, "expected_response_code_groups", expected_response_code_groups) + _setter("expected_response_code_groups", expected_response_code_groups) if expected_response_text is not None: - pulumi.set(__self__, "expected_response_text", expected_response_text) + _setter("expected_response_text", expected_response_text) if headers is not None: - pulumi.set(__self__, "headers", headers) + _setter("headers", headers) if healthy_threshold is not None: - pulumi.set(__self__, "healthy_threshold", healthy_threshold) + _setter("healthy_threshold", healthy_threshold) if interval_in_seconds is not None: - pulumi.set(__self__, "interval_in_seconds", interval_in_seconds) + _setter("interval_in_seconds", interval_in_seconds) if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) if is_response_text_check_enabled is not None: - pulumi.set(__self__, "is_response_text_check_enabled", is_response_text_check_enabled) + _setter("is_response_text_check_enabled", is_response_text_check_enabled) if method is not None: - pulumi.set(__self__, "method", method) + _setter("method", method) if path is not None: - pulumi.set(__self__, "path", path) + _setter("path", path) if timeout_in_seconds is not None: - pulumi.set(__self__, "timeout_in_seconds", timeout_in_seconds) + _setter("timeout_in_seconds", timeout_in_seconds) if unhealthy_threshold is not None: - pulumi.set(__self__, "unhealthy_threshold", unhealthy_threshold) + _setter("unhealthy_threshold", unhealthy_threshold) @property @pulumi.getter(name="expectedResponseCodeGroups") @@ -1167,13 +1366,28 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "method", method) + PolicyPolicyConfigLoadBalancingMethodArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + method=method, + domain=domain, + expiration_time_in_seconds=expiration_time_in_seconds, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + method: pulumi.Input[str], + domain: Optional[pulumi.Input[str]] = None, + expiration_time_in_seconds: Optional[pulumi.Input[int]] = None, + name: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("method", method) if domain is not None: - pulumi.set(__self__, "domain", domain) + _setter("domain", domain) if expiration_time_in_seconds is not None: - pulumi.set(__self__, "expiration_time_in_seconds", expiration_time_in_seconds) + _setter("expiration_time_in_seconds", expiration_time_in_seconds) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -1260,30 +1474,61 @@ def __init__(__self__, *, :param pulumi.Input['PolicyWafConfigProtectionSettingsArgs'] protection_settings: (Updatable) The settings applied to protection rules. :param pulumi.Input[Sequence[pulumi.Input['PolicyWafConfigWhitelistArgs']]] whitelists: (Updatable) A list of IP addresses that bypass the Web Application Firewall. """ + PolicyWafConfigArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + access_rules=access_rules, + address_rate_limiting=address_rate_limiting, + caching_rules=caching_rules, + captchas=captchas, + custom_protection_rules=custom_protection_rules, + device_fingerprint_challenge=device_fingerprint_challenge, + human_interaction_challenge=human_interaction_challenge, + js_challenge=js_challenge, + origin=origin, + origin_groups=origin_groups, + protection_settings=protection_settings, + whitelists=whitelists, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access_rules: Optional[pulumi.Input[Sequence[pulumi.Input['PolicyWafConfigAccessRuleArgs']]]] = None, + address_rate_limiting: Optional[pulumi.Input['PolicyWafConfigAddressRateLimitingArgs']] = None, + caching_rules: Optional[pulumi.Input[Sequence[pulumi.Input['PolicyWafConfigCachingRuleArgs']]]] = None, + captchas: Optional[pulumi.Input[Sequence[pulumi.Input['PolicyWafConfigCaptchaArgs']]]] = None, + custom_protection_rules: Optional[pulumi.Input[Sequence[pulumi.Input['PolicyWafConfigCustomProtectionRuleArgs']]]] = None, + device_fingerprint_challenge: Optional[pulumi.Input['PolicyWafConfigDeviceFingerprintChallengeArgs']] = None, + human_interaction_challenge: Optional[pulumi.Input['PolicyWafConfigHumanInteractionChallengeArgs']] = None, + js_challenge: Optional[pulumi.Input['PolicyWafConfigJsChallengeArgs']] = None, + origin: Optional[pulumi.Input[str]] = None, + origin_groups: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + protection_settings: Optional[pulumi.Input['PolicyWafConfigProtectionSettingsArgs']] = None, + whitelists: Optional[pulumi.Input[Sequence[pulumi.Input['PolicyWafConfigWhitelistArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if access_rules is not None: - pulumi.set(__self__, "access_rules", access_rules) + _setter("access_rules", access_rules) if address_rate_limiting is not None: - pulumi.set(__self__, "address_rate_limiting", address_rate_limiting) + _setter("address_rate_limiting", address_rate_limiting) if caching_rules is not None: - pulumi.set(__self__, "caching_rules", caching_rules) + _setter("caching_rules", caching_rules) if captchas is not None: - pulumi.set(__self__, "captchas", captchas) + _setter("captchas", captchas) if custom_protection_rules is not None: - pulumi.set(__self__, "custom_protection_rules", custom_protection_rules) + _setter("custom_protection_rules", custom_protection_rules) if device_fingerprint_challenge is not None: - pulumi.set(__self__, "device_fingerprint_challenge", device_fingerprint_challenge) + _setter("device_fingerprint_challenge", device_fingerprint_challenge) if human_interaction_challenge is not None: - pulumi.set(__self__, "human_interaction_challenge", human_interaction_challenge) + _setter("human_interaction_challenge", human_interaction_challenge) if js_challenge is not None: - pulumi.set(__self__, "js_challenge", js_challenge) + _setter("js_challenge", js_challenge) if origin is not None: - pulumi.set(__self__, "origin", origin) + _setter("origin", origin) if origin_groups is not None: - pulumi.set(__self__, "origin_groups", origin_groups) + _setter("origin_groups", origin_groups) if protection_settings is not None: - pulumi.set(__self__, "protection_settings", protection_settings) + _setter("protection_settings", protection_settings) if whitelists is not None: - pulumi.set(__self__, "whitelists", whitelists) + _setter("whitelists", whitelists) @property @pulumi.getter(name="accessRules") @@ -1477,35 +1722,74 @@ def __init__(__self__, *, :param pulumi.Input[str] redirect_url: (Updatable) The target to which the request should be redirected, represented as a URI reference. Required when `action` is `REDIRECT`. :param pulumi.Input[Sequence[pulumi.Input['PolicyWafConfigAccessRuleResponseHeaderManipulationArgs']]] response_header_manipulations: (Updatable) An object that represents an action to apply to an HTTP response headers if all rule criteria will be matched regardless of `action` value. """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "criterias", criterias) - pulumi.set(__self__, "name", name) + PolicyWafConfigAccessRuleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + criterias=criterias, + name=name, + block_action=block_action, + block_error_page_code=block_error_page_code, + block_error_page_description=block_error_page_description, + block_error_page_message=block_error_page_message, + block_response_code=block_response_code, + bypass_challenges=bypass_challenges, + captcha_footer=captcha_footer, + captcha_header=captcha_header, + captcha_submit_label=captcha_submit_label, + captcha_title=captcha_title, + redirect_response_code=redirect_response_code, + redirect_url=redirect_url, + response_header_manipulations=response_header_manipulations, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: pulumi.Input[str], + criterias: pulumi.Input[Sequence[pulumi.Input['PolicyWafConfigAccessRuleCriteriaArgs']]], + name: pulumi.Input[str], + block_action: Optional[pulumi.Input[str]] = None, + block_error_page_code: Optional[pulumi.Input[str]] = None, + block_error_page_description: Optional[pulumi.Input[str]] = None, + block_error_page_message: Optional[pulumi.Input[str]] = None, + block_response_code: Optional[pulumi.Input[int]] = None, + bypass_challenges: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + captcha_footer: Optional[pulumi.Input[str]] = None, + captcha_header: Optional[pulumi.Input[str]] = None, + captcha_submit_label: Optional[pulumi.Input[str]] = None, + captcha_title: Optional[pulumi.Input[str]] = None, + redirect_response_code: Optional[pulumi.Input[str]] = None, + redirect_url: Optional[pulumi.Input[str]] = None, + response_header_manipulations: Optional[pulumi.Input[Sequence[pulumi.Input['PolicyWafConfigAccessRuleResponseHeaderManipulationArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("criterias", criterias) + _setter("name", name) if block_action is not None: - pulumi.set(__self__, "block_action", block_action) + _setter("block_action", block_action) if block_error_page_code is not None: - pulumi.set(__self__, "block_error_page_code", block_error_page_code) + _setter("block_error_page_code", block_error_page_code) if block_error_page_description is not None: - pulumi.set(__self__, "block_error_page_description", block_error_page_description) + _setter("block_error_page_description", block_error_page_description) if block_error_page_message is not None: - pulumi.set(__self__, "block_error_page_message", block_error_page_message) + _setter("block_error_page_message", block_error_page_message) if block_response_code is not None: - pulumi.set(__self__, "block_response_code", block_response_code) + _setter("block_response_code", block_response_code) if bypass_challenges is not None: - pulumi.set(__self__, "bypass_challenges", bypass_challenges) + _setter("bypass_challenges", bypass_challenges) if captcha_footer is not None: - pulumi.set(__self__, "captcha_footer", captcha_footer) + _setter("captcha_footer", captcha_footer) if captcha_header is not None: - pulumi.set(__self__, "captcha_header", captcha_header) + _setter("captcha_header", captcha_header) if captcha_submit_label is not None: - pulumi.set(__self__, "captcha_submit_label", captcha_submit_label) + _setter("captcha_submit_label", captcha_submit_label) if captcha_title is not None: - pulumi.set(__self__, "captcha_title", captcha_title) + _setter("captcha_title", captcha_title) if redirect_response_code is not None: - pulumi.set(__self__, "redirect_response_code", redirect_response_code) + _setter("redirect_response_code", redirect_response_code) if redirect_url is not None: - pulumi.set(__self__, "redirect_url", redirect_url) + _setter("redirect_url", redirect_url) if response_header_manipulations is not None: - pulumi.set(__self__, "response_header_manipulations", response_header_manipulations) + _setter("response_header_manipulations", response_header_manipulations) @property @pulumi.getter @@ -1746,10 +2030,23 @@ def __init__(__self__, *, :param pulumi.Input[str] value: (Updatable) The value of the header. :param pulumi.Input[bool] is_case_sensitive: (Updatable) When enabled, the condition will be matched with case-sensitive rules. """ - pulumi.set(__self__, "condition", condition) - pulumi.set(__self__, "value", value) + PolicyWafConfigAccessRuleCriteriaArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + condition=condition, + value=value, + is_case_sensitive=is_case_sensitive, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + condition: pulumi.Input[str], + value: pulumi.Input[str], + is_case_sensitive: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("condition", condition) + _setter("value", value) if is_case_sensitive is not None: - pulumi.set(__self__, "is_case_sensitive", is_case_sensitive) + _setter("is_case_sensitive", is_case_sensitive) @property @pulumi.getter @@ -1824,10 +2121,23 @@ def __init__(__self__, *, :param pulumi.Input[str] header: (Updatable) A header field name that conforms to RFC 7230. Example: `example_header_name` :param pulumi.Input[str] value: (Updatable) The value of the header. """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "header", header) + PolicyWafConfigAccessRuleResponseHeaderManipulationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + header=header, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: pulumi.Input[str], + header: pulumi.Input[str], + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("header", header) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -1879,13 +2189,28 @@ def __init__(__self__, *, :param pulumi.Input[int] block_response_code: (Updatable) The response code returned when `action` is set to `BLOCK`, `blockAction` is set to `SET_RESPONSE_CODE`, and the traffic is detected as malicious by a protection rule. If unspecified, defaults to `403`. The list of available response codes: `400`, `401`, `403`, `405`, `409`, `411`, `412`, `413`, `414`, `415`, `416`, `500`, `501`, `502`, `503`, `504`, `507`. :param pulumi.Input[int] max_delayed_count_per_address: (Updatable) The maximum number of requests allowed to be queued before subsequent requests are dropped. If unspecified, defaults to `10`. """ - pulumi.set(__self__, "is_enabled", is_enabled) + PolicyWafConfigAddressRateLimitingArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + allowed_rate_per_address=allowed_rate_per_address, + block_response_code=block_response_code, + max_delayed_count_per_address=max_delayed_count_per_address, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: pulumi.Input[bool], + allowed_rate_per_address: Optional[pulumi.Input[int]] = None, + block_response_code: Optional[pulumi.Input[int]] = None, + max_delayed_count_per_address: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_enabled", is_enabled) if allowed_rate_per_address is not None: - pulumi.set(__self__, "allowed_rate_per_address", allowed_rate_per_address) + _setter("allowed_rate_per_address", allowed_rate_per_address) if block_response_code is not None: - pulumi.set(__self__, "block_response_code", block_response_code) + _setter("block_response_code", block_response_code) if max_delayed_count_per_address is not None: - pulumi.set(__self__, "max_delayed_count_per_address", max_delayed_count_per_address) + _setter("max_delayed_count_per_address", max_delayed_count_per_address) @property @pulumi.getter(name="isEnabled") @@ -1959,17 +2284,38 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_client_caching_enabled: (Updatable) Enables or disables client caching. Browsers use the `Cache-Control` header value for caching content locally in the browser. This setting overrides the addition of a `Cache-Control` header in responses. :param pulumi.Input[str] key: (Updatable) The unique key for the caching rule. """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "criterias", criterias) - pulumi.set(__self__, "name", name) + PolicyWafConfigCachingRuleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + criterias=criterias, + name=name, + caching_duration=caching_duration, + client_caching_duration=client_caching_duration, + is_client_caching_enabled=is_client_caching_enabled, + key=key, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: pulumi.Input[str], + criterias: pulumi.Input[Sequence[pulumi.Input['PolicyWafConfigCachingRuleCriteriaArgs']]], + name: pulumi.Input[str], + caching_duration: Optional[pulumi.Input[str]] = None, + client_caching_duration: Optional[pulumi.Input[str]] = None, + is_client_caching_enabled: Optional[pulumi.Input[bool]] = None, + key: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("criterias", criterias) + _setter("name", name) if caching_duration is not None: - pulumi.set(__self__, "caching_duration", caching_duration) + _setter("caching_duration", caching_duration) if client_caching_duration is not None: - pulumi.set(__self__, "client_caching_duration", client_caching_duration) + _setter("client_caching_duration", client_caching_duration) if is_client_caching_enabled is not None: - pulumi.set(__self__, "is_client_caching_enabled", is_client_caching_enabled) + _setter("is_client_caching_enabled", is_client_caching_enabled) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) @property @pulumi.getter @@ -2094,8 +2440,19 @@ def __init__(__self__, *, * **USER_AGENT_IS_NOT:** Matches if the requesting user agent is not identical to the contents of the `value` field. *Example:* `Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0` :param pulumi.Input[str] value: (Updatable) The value of the header. """ - pulumi.set(__self__, "condition", condition) - pulumi.set(__self__, "value", value) + PolicyWafConfigCachingRuleCriteriaArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + condition=condition, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + condition: pulumi.Input[str], + value: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("condition", condition) + _setter("value", value) @property @pulumi.getter @@ -2166,15 +2523,36 @@ def __init__(__self__, *, :param pulumi.Input[str] footer_text: (Updatable) The text to show in the footer when showing a CAPTCHA challenge. If unspecified, defaults to 'Enter the letters and numbers as they are shown in the image above.' :param pulumi.Input[str] header_text: (Updatable) The text to show in the header when showing a CAPTCHA challenge. If unspecified, defaults to 'We have detected an increased number of attempts to access this website. To help us keep this site secure, please let us know that you are not a robot by entering the text from the image below.' """ - pulumi.set(__self__, "failure_message", failure_message) - pulumi.set(__self__, "session_expiration_in_seconds", session_expiration_in_seconds) - pulumi.set(__self__, "submit_label", submit_label) - pulumi.set(__self__, "title", title) - pulumi.set(__self__, "url", url) + PolicyWafConfigCaptchaArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + failure_message=failure_message, + session_expiration_in_seconds=session_expiration_in_seconds, + submit_label=submit_label, + title=title, + url=url, + footer_text=footer_text, + header_text=header_text, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + failure_message: pulumi.Input[str], + session_expiration_in_seconds: pulumi.Input[int], + submit_label: pulumi.Input[str], + title: pulumi.Input[str], + url: pulumi.Input[str], + footer_text: Optional[pulumi.Input[str]] = None, + header_text: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("failure_message", failure_message) + _setter("session_expiration_in_seconds", session_expiration_in_seconds) + _setter("submit_label", submit_label) + _setter("title", title) + _setter("url", url) if footer_text is not None: - pulumi.set(__self__, "footer_text", footer_text) + _setter("footer_text", footer_text) if header_text is not None: - pulumi.set(__self__, "header_text", header_text) + _setter("header_text", header_text) @property @pulumi.getter(name="failureMessage") @@ -2272,12 +2650,25 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['PolicyWafConfigCustomProtectionRuleExclusionArgs']]] exclusions: (Updatable) An array of The target property of a request that would allow it to bypass the protection rule. For example, when `target` is `REQUEST_COOKIE_NAMES`, the list may include names of cookies to exclude from the protection rule. When the target is `ARGS`, the list may include strings of URL query parameters and values from form-urlencoded XML, JSON, AMP, or POST payloads to exclude from the protection rule. `Exclusions` properties must not contain whitespace, comma or |. **Note:** If protection rules have been enabled that utilize the `maxArgumentCount` or `maxTotalNameLengthOfArguments` properties, and the `target` property has been set to `ARGS`, it is important that the `exclusions` properties be defined to honor those protection rule settings in a consistent manner. :param pulumi.Input[str] id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the custom protection rule. """ + PolicyWafConfigCustomProtectionRuleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + exclusions=exclusions, + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: Optional[pulumi.Input[str]] = None, + exclusions: Optional[pulumi.Input[Sequence[pulumi.Input['PolicyWafConfigCustomProtectionRuleExclusionArgs']]]] = None, + id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if action is not None: - pulumi.set(__self__, "action", action) + _setter("action", action) if exclusions is not None: - pulumi.set(__self__, "exclusions", exclusions) + _setter("exclusions", exclusions) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) @property @pulumi.getter @@ -2325,10 +2716,21 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] exclusions: (Updatable) An array of The target property of a request that would allow it to bypass the protection rule. For example, when `target` is `REQUEST_COOKIE_NAMES`, the list may include names of cookies to exclude from the protection rule. When the target is `ARGS`, the list may include strings of URL query parameters and values from form-urlencoded XML, JSON, AMP, or POST payloads to exclude from the protection rule. `Exclusions` properties must not contain whitespace, comma or |. **Note:** If protection rules have been enabled that utilize the `maxArgumentCount` or `maxTotalNameLengthOfArguments` properties, and the `target` property has been set to `ARGS`, it is important that the `exclusions` properties be defined to honor those protection rule settings in a consistent manner. :param pulumi.Input[str] target: (Updatable) The target of the exclusion. """ + PolicyWafConfigCustomProtectionRuleExclusionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + exclusions=exclusions, + target=target, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + exclusions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + target: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if exclusions is not None: - pulumi.set(__self__, "exclusions", exclusions) + _setter("exclusions", exclusions) if target is not None: - pulumi.set(__self__, "target", target) + _setter("target", target) @property @pulumi.getter @@ -2376,21 +2778,44 @@ def __init__(__self__, *, :param pulumi.Input[int] max_address_count: (Updatable) The maximum number of IP addresses permitted with the same device fingerprint. If unspecified, defaults to `20`. :param pulumi.Input[int] max_address_count_expiration_in_seconds: (Updatable) The number of seconds before the maximum addresses count resets. If unspecified, defaults to `60`. """ - pulumi.set(__self__, "is_enabled", is_enabled) + PolicyWafConfigDeviceFingerprintChallengeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + action=action, + action_expiration_in_seconds=action_expiration_in_seconds, + challenge_settings=challenge_settings, + failure_threshold=failure_threshold, + failure_threshold_expiration_in_seconds=failure_threshold_expiration_in_seconds, + max_address_count=max_address_count, + max_address_count_expiration_in_seconds=max_address_count_expiration_in_seconds, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: pulumi.Input[bool], + action: Optional[pulumi.Input[str]] = None, + action_expiration_in_seconds: Optional[pulumi.Input[int]] = None, + challenge_settings: Optional[pulumi.Input['PolicyWafConfigDeviceFingerprintChallengeChallengeSettingsArgs']] = None, + failure_threshold: Optional[pulumi.Input[int]] = None, + failure_threshold_expiration_in_seconds: Optional[pulumi.Input[int]] = None, + max_address_count: Optional[pulumi.Input[int]] = None, + max_address_count_expiration_in_seconds: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_enabled", is_enabled) if action is not None: - pulumi.set(__self__, "action", action) + _setter("action", action) if action_expiration_in_seconds is not None: - pulumi.set(__self__, "action_expiration_in_seconds", action_expiration_in_seconds) + _setter("action_expiration_in_seconds", action_expiration_in_seconds) if challenge_settings is not None: - pulumi.set(__self__, "challenge_settings", challenge_settings) + _setter("challenge_settings", challenge_settings) if failure_threshold is not None: - pulumi.set(__self__, "failure_threshold", failure_threshold) + _setter("failure_threshold", failure_threshold) if failure_threshold_expiration_in_seconds is not None: - pulumi.set(__self__, "failure_threshold_expiration_in_seconds", failure_threshold_expiration_in_seconds) + _setter("failure_threshold_expiration_in_seconds", failure_threshold_expiration_in_seconds) if max_address_count is not None: - pulumi.set(__self__, "max_address_count", max_address_count) + _setter("max_address_count", max_address_count) if max_address_count_expiration_in_seconds is not None: - pulumi.set(__self__, "max_address_count_expiration_in_seconds", max_address_count_expiration_in_seconds) + _setter("max_address_count_expiration_in_seconds", max_address_count_expiration_in_seconds) @property @pulumi.getter(name="isEnabled") @@ -2512,24 +2937,49 @@ def __init__(__self__, *, :param pulumi.Input[str] captcha_submit_label: (Updatable) The text to show on the label of the CAPTCHA challenge submit button when `action` is set to `BLOCK`, `blockAction` is set to `SHOW_CAPTCHA`, and the request is blocked. If unspecified, defaults to `Yes, I am human`. :param pulumi.Input[str] captcha_title: (Updatable) The title used when showing a CAPTCHA challenge when `action` is set to `BLOCK`, `blockAction` is set to `SHOW_CAPTCHA`, and the request is blocked. If unspecified, defaults to `Are you human?` """ + PolicyWafConfigDeviceFingerprintChallengeChallengeSettingsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + block_action=block_action, + block_error_page_code=block_error_page_code, + block_error_page_description=block_error_page_description, + block_error_page_message=block_error_page_message, + block_response_code=block_response_code, + captcha_footer=captcha_footer, + captcha_header=captcha_header, + captcha_submit_label=captcha_submit_label, + captcha_title=captcha_title, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + block_action: Optional[pulumi.Input[str]] = None, + block_error_page_code: Optional[pulumi.Input[str]] = None, + block_error_page_description: Optional[pulumi.Input[str]] = None, + block_error_page_message: Optional[pulumi.Input[str]] = None, + block_response_code: Optional[pulumi.Input[int]] = None, + captcha_footer: Optional[pulumi.Input[str]] = None, + captcha_header: Optional[pulumi.Input[str]] = None, + captcha_submit_label: Optional[pulumi.Input[str]] = None, + captcha_title: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if block_action is not None: - pulumi.set(__self__, "block_action", block_action) + _setter("block_action", block_action) if block_error_page_code is not None: - pulumi.set(__self__, "block_error_page_code", block_error_page_code) + _setter("block_error_page_code", block_error_page_code) if block_error_page_description is not None: - pulumi.set(__self__, "block_error_page_description", block_error_page_description) + _setter("block_error_page_description", block_error_page_description) if block_error_page_message is not None: - pulumi.set(__self__, "block_error_page_message", block_error_page_message) + _setter("block_error_page_message", block_error_page_message) if block_response_code is not None: - pulumi.set(__self__, "block_response_code", block_response_code) + _setter("block_response_code", block_response_code) if captcha_footer is not None: - pulumi.set(__self__, "captcha_footer", captcha_footer) + _setter("captcha_footer", captcha_footer) if captcha_header is not None: - pulumi.set(__self__, "captcha_header", captcha_header) + _setter("captcha_header", captcha_header) if captcha_submit_label is not None: - pulumi.set(__self__, "captcha_submit_label", captcha_submit_label) + _setter("captcha_submit_label", captcha_submit_label) if captcha_title is not None: - pulumi.set(__self__, "captcha_title", captcha_title) + _setter("captcha_title", captcha_title) @property @pulumi.getter(name="blockAction") @@ -2665,25 +3115,52 @@ def __init__(__self__, *, :param pulumi.Input[int] recording_period_in_seconds: (Updatable) The number of seconds to record the interactions from the user. If unspecified, defaults to `15`. :param pulumi.Input['PolicyWafConfigHumanInteractionChallengeSetHttpHeaderArgs'] set_http_header: (Updatable) Adds an additional HTTP header to requests that fail the challenge before being passed to the origin. Only applicable when the `action` is set to `DETECT`. """ - pulumi.set(__self__, "is_enabled", is_enabled) + PolicyWafConfigHumanInteractionChallengeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + action=action, + action_expiration_in_seconds=action_expiration_in_seconds, + challenge_settings=challenge_settings, + failure_threshold=failure_threshold, + failure_threshold_expiration_in_seconds=failure_threshold_expiration_in_seconds, + interaction_threshold=interaction_threshold, + is_nat_enabled=is_nat_enabled, + recording_period_in_seconds=recording_period_in_seconds, + set_http_header=set_http_header, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: pulumi.Input[bool], + action: Optional[pulumi.Input[str]] = None, + action_expiration_in_seconds: Optional[pulumi.Input[int]] = None, + challenge_settings: Optional[pulumi.Input['PolicyWafConfigHumanInteractionChallengeChallengeSettingsArgs']] = None, + failure_threshold: Optional[pulumi.Input[int]] = None, + failure_threshold_expiration_in_seconds: Optional[pulumi.Input[int]] = None, + interaction_threshold: Optional[pulumi.Input[int]] = None, + is_nat_enabled: Optional[pulumi.Input[bool]] = None, + recording_period_in_seconds: Optional[pulumi.Input[int]] = None, + set_http_header: Optional[pulumi.Input['PolicyWafConfigHumanInteractionChallengeSetHttpHeaderArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_enabled", is_enabled) if action is not None: - pulumi.set(__self__, "action", action) + _setter("action", action) if action_expiration_in_seconds is not None: - pulumi.set(__self__, "action_expiration_in_seconds", action_expiration_in_seconds) + _setter("action_expiration_in_seconds", action_expiration_in_seconds) if challenge_settings is not None: - pulumi.set(__self__, "challenge_settings", challenge_settings) + _setter("challenge_settings", challenge_settings) if failure_threshold is not None: - pulumi.set(__self__, "failure_threshold", failure_threshold) + _setter("failure_threshold", failure_threshold) if failure_threshold_expiration_in_seconds is not None: - pulumi.set(__self__, "failure_threshold_expiration_in_seconds", failure_threshold_expiration_in_seconds) + _setter("failure_threshold_expiration_in_seconds", failure_threshold_expiration_in_seconds) if interaction_threshold is not None: - pulumi.set(__self__, "interaction_threshold", interaction_threshold) + _setter("interaction_threshold", interaction_threshold) if is_nat_enabled is not None: - pulumi.set(__self__, "is_nat_enabled", is_nat_enabled) + _setter("is_nat_enabled", is_nat_enabled) if recording_period_in_seconds is not None: - pulumi.set(__self__, "recording_period_in_seconds", recording_period_in_seconds) + _setter("recording_period_in_seconds", recording_period_in_seconds) if set_http_header is not None: - pulumi.set(__self__, "set_http_header", set_http_header) + _setter("set_http_header", set_http_header) @property @pulumi.getter(name="isEnabled") @@ -2829,24 +3306,49 @@ def __init__(__self__, *, :param pulumi.Input[str] captcha_submit_label: (Updatable) The text to show on the label of the CAPTCHA challenge submit button when `action` is set to `BLOCK`, `blockAction` is set to `SHOW_CAPTCHA`, and the request is blocked. If unspecified, defaults to `Yes, I am human`. :param pulumi.Input[str] captcha_title: (Updatable) The title used when showing a CAPTCHA challenge when `action` is set to `BLOCK`, `blockAction` is set to `SHOW_CAPTCHA`, and the request is blocked. If unspecified, defaults to `Are you human?` """ + PolicyWafConfigHumanInteractionChallengeChallengeSettingsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + block_action=block_action, + block_error_page_code=block_error_page_code, + block_error_page_description=block_error_page_description, + block_error_page_message=block_error_page_message, + block_response_code=block_response_code, + captcha_footer=captcha_footer, + captcha_header=captcha_header, + captcha_submit_label=captcha_submit_label, + captcha_title=captcha_title, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + block_action: Optional[pulumi.Input[str]] = None, + block_error_page_code: Optional[pulumi.Input[str]] = None, + block_error_page_description: Optional[pulumi.Input[str]] = None, + block_error_page_message: Optional[pulumi.Input[str]] = None, + block_response_code: Optional[pulumi.Input[int]] = None, + captcha_footer: Optional[pulumi.Input[str]] = None, + captcha_header: Optional[pulumi.Input[str]] = None, + captcha_submit_label: Optional[pulumi.Input[str]] = None, + captcha_title: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if block_action is not None: - pulumi.set(__self__, "block_action", block_action) + _setter("block_action", block_action) if block_error_page_code is not None: - pulumi.set(__self__, "block_error_page_code", block_error_page_code) + _setter("block_error_page_code", block_error_page_code) if block_error_page_description is not None: - pulumi.set(__self__, "block_error_page_description", block_error_page_description) + _setter("block_error_page_description", block_error_page_description) if block_error_page_message is not None: - pulumi.set(__self__, "block_error_page_message", block_error_page_message) + _setter("block_error_page_message", block_error_page_message) if block_response_code is not None: - pulumi.set(__self__, "block_response_code", block_response_code) + _setter("block_response_code", block_response_code) if captcha_footer is not None: - pulumi.set(__self__, "captcha_footer", captcha_footer) + _setter("captcha_footer", captcha_footer) if captcha_header is not None: - pulumi.set(__self__, "captcha_header", captcha_header) + _setter("captcha_header", captcha_header) if captcha_submit_label is not None: - pulumi.set(__self__, "captcha_submit_label", captcha_submit_label) + _setter("captcha_submit_label", captcha_submit_label) if captcha_title is not None: - pulumi.set(__self__, "captcha_title", captcha_title) + _setter("captcha_title", captcha_title) @property @pulumi.getter(name="blockAction") @@ -2970,8 +3472,19 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] value: (Updatable) The value of the header. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + PolicyWafConfigHumanInteractionChallengeSetHttpHeaderArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: pulumi.Input[str], + value: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("value", value) @property @pulumi.getter @@ -3025,23 +3538,48 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_nat_enabled: (Updatable) When enabled, the user is identified not only by the IP address but also by an unique additional hash, which prevents blocking visitors with shared IP addresses. :param pulumi.Input['PolicyWafConfigJsChallengeSetHttpHeaderArgs'] set_http_header: (Updatable) Adds an additional HTTP header to requests that fail the challenge before being passed to the origin. Only applicable when the `action` is set to `DETECT`. """ - pulumi.set(__self__, "is_enabled", is_enabled) + PolicyWafConfigJsChallengeArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + action=action, + action_expiration_in_seconds=action_expiration_in_seconds, + are_redirects_challenged=are_redirects_challenged, + challenge_settings=challenge_settings, + criterias=criterias, + failure_threshold=failure_threshold, + is_nat_enabled=is_nat_enabled, + set_http_header=set_http_header, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: pulumi.Input[bool], + action: Optional[pulumi.Input[str]] = None, + action_expiration_in_seconds: Optional[pulumi.Input[int]] = None, + are_redirects_challenged: Optional[pulumi.Input[bool]] = None, + challenge_settings: Optional[pulumi.Input['PolicyWafConfigJsChallengeChallengeSettingsArgs']] = None, + criterias: Optional[pulumi.Input[Sequence[pulumi.Input['PolicyWafConfigJsChallengeCriteriaArgs']]]] = None, + failure_threshold: Optional[pulumi.Input[int]] = None, + is_nat_enabled: Optional[pulumi.Input[bool]] = None, + set_http_header: Optional[pulumi.Input['PolicyWafConfigJsChallengeSetHttpHeaderArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_enabled", is_enabled) if action is not None: - pulumi.set(__self__, "action", action) + _setter("action", action) if action_expiration_in_seconds is not None: - pulumi.set(__self__, "action_expiration_in_seconds", action_expiration_in_seconds) + _setter("action_expiration_in_seconds", action_expiration_in_seconds) if are_redirects_challenged is not None: - pulumi.set(__self__, "are_redirects_challenged", are_redirects_challenged) + _setter("are_redirects_challenged", are_redirects_challenged) if challenge_settings is not None: - pulumi.set(__self__, "challenge_settings", challenge_settings) + _setter("challenge_settings", challenge_settings) if criterias is not None: - pulumi.set(__self__, "criterias", criterias) + _setter("criterias", criterias) if failure_threshold is not None: - pulumi.set(__self__, "failure_threshold", failure_threshold) + _setter("failure_threshold", failure_threshold) if is_nat_enabled is not None: - pulumi.set(__self__, "is_nat_enabled", is_nat_enabled) + _setter("is_nat_enabled", is_nat_enabled) if set_http_header is not None: - pulumi.set(__self__, "set_http_header", set_http_header) + _setter("set_http_header", set_http_header) @property @pulumi.getter(name="isEnabled") @@ -3175,24 +3713,49 @@ def __init__(__self__, *, :param pulumi.Input[str] captcha_submit_label: (Updatable) The text to show on the label of the CAPTCHA challenge submit button when `action` is set to `BLOCK`, `blockAction` is set to `SHOW_CAPTCHA`, and the request is blocked. If unspecified, defaults to `Yes, I am human`. :param pulumi.Input[str] captcha_title: (Updatable) The title used when showing a CAPTCHA challenge when `action` is set to `BLOCK`, `blockAction` is set to `SHOW_CAPTCHA`, and the request is blocked. If unspecified, defaults to `Are you human?` """ + PolicyWafConfigJsChallengeChallengeSettingsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + block_action=block_action, + block_error_page_code=block_error_page_code, + block_error_page_description=block_error_page_description, + block_error_page_message=block_error_page_message, + block_response_code=block_response_code, + captcha_footer=captcha_footer, + captcha_header=captcha_header, + captcha_submit_label=captcha_submit_label, + captcha_title=captcha_title, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + block_action: Optional[pulumi.Input[str]] = None, + block_error_page_code: Optional[pulumi.Input[str]] = None, + block_error_page_description: Optional[pulumi.Input[str]] = None, + block_error_page_message: Optional[pulumi.Input[str]] = None, + block_response_code: Optional[pulumi.Input[int]] = None, + captcha_footer: Optional[pulumi.Input[str]] = None, + captcha_header: Optional[pulumi.Input[str]] = None, + captcha_submit_label: Optional[pulumi.Input[str]] = None, + captcha_title: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if block_action is not None: - pulumi.set(__self__, "block_action", block_action) + _setter("block_action", block_action) if block_error_page_code is not None: - pulumi.set(__self__, "block_error_page_code", block_error_page_code) + _setter("block_error_page_code", block_error_page_code) if block_error_page_description is not None: - pulumi.set(__self__, "block_error_page_description", block_error_page_description) + _setter("block_error_page_description", block_error_page_description) if block_error_page_message is not None: - pulumi.set(__self__, "block_error_page_message", block_error_page_message) + _setter("block_error_page_message", block_error_page_message) if block_response_code is not None: - pulumi.set(__self__, "block_response_code", block_response_code) + _setter("block_response_code", block_response_code) if captcha_footer is not None: - pulumi.set(__self__, "captcha_footer", captcha_footer) + _setter("captcha_footer", captcha_footer) if captcha_header is not None: - pulumi.set(__self__, "captcha_header", captcha_header) + _setter("captcha_header", captcha_header) if captcha_submit_label is not None: - pulumi.set(__self__, "captcha_submit_label", captcha_submit_label) + _setter("captcha_submit_label", captcha_submit_label) if captcha_title is not None: - pulumi.set(__self__, "captcha_title", captcha_title) + _setter("captcha_title", captcha_title) @property @pulumi.getter(name="blockAction") @@ -3339,10 +3902,23 @@ def __init__(__self__, *, :param pulumi.Input[str] value: (Updatable) The value of the header. :param pulumi.Input[bool] is_case_sensitive: (Updatable) When enabled, the condition will be matched with case-sensitive rules. """ - pulumi.set(__self__, "condition", condition) - pulumi.set(__self__, "value", value) + PolicyWafConfigJsChallengeCriteriaArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + condition=condition, + value=value, + is_case_sensitive=is_case_sensitive, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + condition: pulumi.Input[str], + value: pulumi.Input[str], + is_case_sensitive: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("condition", condition) + _setter("value", value) if is_case_sensitive is not None: - pulumi.set(__self__, "is_case_sensitive", is_case_sensitive) + _setter("is_case_sensitive", is_case_sensitive) @property @pulumi.getter @@ -3419,8 +3995,19 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] value: (Updatable) The value of the header. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + PolicyWafConfigJsChallengeSetHttpHeaderArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: pulumi.Input[str], + value: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("value", value) @property @pulumi.getter @@ -3506,32 +4093,65 @@ def __init__(__self__, *, Use `GET /waasPolicies/{waasPolicyId}/wafRecommendations` to view WAF recommendations. """ + PolicyWafConfigProtectionSettingsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_http_methods=allowed_http_methods, + block_action=block_action, + block_error_page_code=block_error_page_code, + block_error_page_description=block_error_page_description, + block_error_page_message=block_error_page_message, + block_response_code=block_response_code, + is_response_inspected=is_response_inspected, + max_argument_count=max_argument_count, + max_name_length_per_argument=max_name_length_per_argument, + max_response_size_in_ki_b=max_response_size_in_ki_b, + max_total_name_length_of_arguments=max_total_name_length_of_arguments, + media_types=media_types, + recommendations_period_in_days=recommendations_period_in_days, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_http_methods: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + block_action: Optional[pulumi.Input[str]] = None, + block_error_page_code: Optional[pulumi.Input[str]] = None, + block_error_page_description: Optional[pulumi.Input[str]] = None, + block_error_page_message: Optional[pulumi.Input[str]] = None, + block_response_code: Optional[pulumi.Input[int]] = None, + is_response_inspected: Optional[pulumi.Input[bool]] = None, + max_argument_count: Optional[pulumi.Input[int]] = None, + max_name_length_per_argument: Optional[pulumi.Input[int]] = None, + max_response_size_in_ki_b: Optional[pulumi.Input[int]] = None, + max_total_name_length_of_arguments: Optional[pulumi.Input[int]] = None, + media_types: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + recommendations_period_in_days: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if allowed_http_methods is not None: - pulumi.set(__self__, "allowed_http_methods", allowed_http_methods) + _setter("allowed_http_methods", allowed_http_methods) if block_action is not None: - pulumi.set(__self__, "block_action", block_action) + _setter("block_action", block_action) if block_error_page_code is not None: - pulumi.set(__self__, "block_error_page_code", block_error_page_code) + _setter("block_error_page_code", block_error_page_code) if block_error_page_description is not None: - pulumi.set(__self__, "block_error_page_description", block_error_page_description) + _setter("block_error_page_description", block_error_page_description) if block_error_page_message is not None: - pulumi.set(__self__, "block_error_page_message", block_error_page_message) + _setter("block_error_page_message", block_error_page_message) if block_response_code is not None: - pulumi.set(__self__, "block_response_code", block_response_code) + _setter("block_response_code", block_response_code) if is_response_inspected is not None: - pulumi.set(__self__, "is_response_inspected", is_response_inspected) + _setter("is_response_inspected", is_response_inspected) if max_argument_count is not None: - pulumi.set(__self__, "max_argument_count", max_argument_count) + _setter("max_argument_count", max_argument_count) if max_name_length_per_argument is not None: - pulumi.set(__self__, "max_name_length_per_argument", max_name_length_per_argument) + _setter("max_name_length_per_argument", max_name_length_per_argument) if max_response_size_in_ki_b is not None: - pulumi.set(__self__, "max_response_size_in_ki_b", max_response_size_in_ki_b) + _setter("max_response_size_in_ki_b", max_response_size_in_ki_b) if max_total_name_length_of_arguments is not None: - pulumi.set(__self__, "max_total_name_length_of_arguments", max_total_name_length_of_arguments) + _setter("max_total_name_length_of_arguments", max_total_name_length_of_arguments) if media_types is not None: - pulumi.set(__self__, "media_types", media_types) + _setter("media_types", media_types) if recommendations_period_in_days is not None: - pulumi.set(__self__, "recommendations_period_in_days", recommendations_period_in_days) + _setter("recommendations_period_in_days", recommendations_period_in_days) @property @pulumi.getter(name="allowedHttpMethods") @@ -3729,11 +4349,24 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] address_lists: (Updatable) A list of [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of IP address lists to include in the whitelist. :param pulumi.Input[Sequence[pulumi.Input[str]]] addresses: (Updatable) A set of IP addresses or CIDR notations to include in the whitelist. """ - pulumi.set(__self__, "name", name) + PolicyWafConfigWhitelistArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + address_lists=address_lists, + addresses=addresses, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: pulumi.Input[str], + address_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + addresses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) if address_lists is not None: - pulumi.set(__self__, "address_lists", address_lists) + _setter("address_lists", address_lists) if addresses is not None: - pulumi.set(__self__, "addresses", addresses) + _setter("addresses", addresses) @property @pulumi.getter @@ -3788,10 +4421,21 @@ def __init__(__self__, *, ** 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 """ + ProtectionRuleExclusionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + exclusions=exclusions, + target=target, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + exclusions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + target: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if exclusions is not None: - pulumi.set(__self__, "exclusions", exclusions) + _setter("exclusions", exclusions) if target is not None: - pulumi.set(__self__, "target", target) + _setter("target", target) @property @pulumi.getter @@ -3827,10 +4471,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAddressListsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3869,10 +4526,23 @@ def __init__(__self__, *, """ :param str name: The certificate extension name. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetCertificatesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3911,10 +4581,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetCustomProtectionRulesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3950,10 +4633,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetEdgeSubnetsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3989,10 +4685,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetHttpRedirectsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4031,10 +4740,23 @@ def __init__(__self__, *, """ :param str name: The name of the protection rule. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetProtectionRulesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4076,10 +4798,23 @@ def __init__(__self__, *, """ :param str name: The unique name of the whitelist. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetWaasPoliciesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/waas/address_list.py b/sdk/python/pulumi_oci/waas/address_list.py index 16870eea4e..418e408e5e 100644 --- a/sdk/python/pulumi_oci/waas/address_list.py +++ b/sdk/python/pulumi_oci/waas/address_list.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['AddressListArgs', 'AddressList'] @@ -31,13 +31,30 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "addresses", addresses) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) + AddressListArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + addresses=addresses, + compartment_id=compartment_id, + display_name=display_name, + defined_tags=defined_tags, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + addresses: pulumi.Input[Sequence[pulumi.Input[str]]], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("addresses", addresses) + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter @@ -130,22 +147,45 @@ def __init__(__self__, *, :param pulumi.Input[str] state: The current lifecycle state of the address list. :param pulumi.Input[str] time_created: The date and time the address list was created, expressed in RFC 3339 timestamp format. """ + _AddressListState._configure( + lambda key, value: pulumi.set(__self__, key, value), + address_count=address_count, + addresses=addresses, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address_count: Optional[pulumi.Input[float]] = None, + addresses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if address_count is not None: - pulumi.set(__self__, "address_count", address_count) + _setter("address_count", address_count) if addresses is not None: - pulumi.set(__self__, "addresses", addresses) + _setter("addresses", addresses) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="addressCount") @@ -349,6 +389,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + AddressListArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/waas/certificate.py b/sdk/python/pulumi_oci/waas/certificate.py index a2cd239fca..dc602af9f5 100644 --- a/sdk/python/pulumi_oci/waas/certificate.py +++ b/sdk/python/pulumi_oci/waas/certificate.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -41,17 +41,38 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] freeform_tags: (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` :param pulumi.Input[bool] is_trust_verification_disabled: Set to `true` if the SSL certificate is self-signed. """ - pulumi.set(__self__, "certificate_data", certificate_data) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "private_key_data", private_key_data) + CertificateArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + certificate_data=certificate_data, + compartment_id=compartment_id, + private_key_data=private_key_data, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + is_trust_verification_disabled=is_trust_verification_disabled, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + certificate_data: pulumi.Input[str], + compartment_id: pulumi.Input[str], + private_key_data: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_trust_verification_disabled: Optional[pulumi.Input[bool]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("certificate_data", certificate_data) + _setter("compartment_id", compartment_id) + _setter("private_key_data", private_key_data) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_trust_verification_disabled is not None: - pulumi.set(__self__, "is_trust_verification_disabled", is_trust_verification_disabled) + _setter("is_trust_verification_disabled", is_trust_verification_disabled) @property @pulumi.getter(name="certificateData") @@ -197,44 +218,89 @@ def __init__(__self__, *, :param pulumi.Input[str] time_not_valid_before: The date and time the certificate will become valid, expressed in RFC 3339 timestamp format. :param pulumi.Input[int] version: The version of the encoded certificate. """ + _CertificateState._configure( + lambda key, value: pulumi.set(__self__, key, value), + certificate_data=certificate_data, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + extensions=extensions, + freeform_tags=freeform_tags, + is_trust_verification_disabled=is_trust_verification_disabled, + issued_by=issued_by, + issuer_names=issuer_names, + private_key_data=private_key_data, + public_key_infos=public_key_infos, + serial_number=serial_number, + signature_algorithm=signature_algorithm, + state=state, + subject_names=subject_names, + time_created=time_created, + time_not_valid_after=time_not_valid_after, + time_not_valid_before=time_not_valid_before, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + certificate_data: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + extensions: Optional[pulumi.Input[Sequence[pulumi.Input['CertificateExtensionArgs']]]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + is_trust_verification_disabled: Optional[pulumi.Input[bool]] = None, + issued_by: Optional[pulumi.Input[str]] = None, + issuer_names: Optional[pulumi.Input[Sequence[pulumi.Input['CertificateIssuerNameArgs']]]] = None, + private_key_data: Optional[pulumi.Input[str]] = None, + public_key_infos: Optional[pulumi.Input[Sequence[pulumi.Input['CertificatePublicKeyInfoArgs']]]] = None, + serial_number: Optional[pulumi.Input[str]] = None, + signature_algorithm: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + subject_names: Optional[pulumi.Input[Sequence[pulumi.Input['CertificateSubjectNameArgs']]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_not_valid_after: Optional[pulumi.Input[str]] = None, + time_not_valid_before: Optional[pulumi.Input[str]] = None, + version: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if certificate_data is not None: - pulumi.set(__self__, "certificate_data", certificate_data) + _setter("certificate_data", certificate_data) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if extensions is not None: - pulumi.set(__self__, "extensions", extensions) + _setter("extensions", extensions) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if is_trust_verification_disabled is not None: - pulumi.set(__self__, "is_trust_verification_disabled", is_trust_verification_disabled) + _setter("is_trust_verification_disabled", is_trust_verification_disabled) if issued_by is not None: - pulumi.set(__self__, "issued_by", issued_by) + _setter("issued_by", issued_by) if issuer_names is not None: - pulumi.set(__self__, "issuer_names", issuer_names) + _setter("issuer_names", issuer_names) if private_key_data is not None: - pulumi.set(__self__, "private_key_data", private_key_data) + _setter("private_key_data", private_key_data) if public_key_infos is not None: - pulumi.set(__self__, "public_key_infos", public_key_infos) + _setter("public_key_infos", public_key_infos) if serial_number is not None: - pulumi.set(__self__, "serial_number", serial_number) + _setter("serial_number", serial_number) if signature_algorithm is not None: - pulumi.set(__self__, "signature_algorithm", signature_algorithm) + _setter("signature_algorithm", signature_algorithm) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if subject_names is not None: - pulumi.set(__self__, "subject_names", subject_names) + _setter("subject_names", subject_names) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_not_valid_after is not None: - pulumi.set(__self__, "time_not_valid_after", time_not_valid_after) + _setter("time_not_valid_after", time_not_valid_after) if time_not_valid_before is not None: - pulumi.set(__self__, "time_not_valid_before", time_not_valid_before) + _setter("time_not_valid_before", time_not_valid_before) if version is not None: - pulumi.set(__self__, "version", version) + _setter("version", version) @property @pulumi.getter(name="certificateData") @@ -579,6 +645,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + CertificateArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/waas/custom_protection_rule.py b/sdk/python/pulumi_oci/waas/custom_protection_rule.py index 6e08e76b1c..35e5ee87fd 100644 --- a/sdk/python/pulumi_oci/waas/custom_protection_rule.py +++ b/sdk/python/pulumi_oci/waas/custom_protection_rule.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['CustomProtectionRuleArgs', 'CustomProtectionRule'] @@ -49,15 +49,34 @@ def __init__(__self__, *, :param pulumi.Input[str] description: (Updatable) A description for the Custom Protection rule. :param pulumi.Input[Mapping[str, Any]] freeform_tags: (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "template", template) + CustomProtectionRuleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + display_name=display_name, + template=template, + defined_tags=defined_tags, + description=description, + freeform_tags=freeform_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + display_name: pulumi.Input[str], + template: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("display_name", display_name) + _setter("template", template) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) @property @pulumi.getter(name="compartmentId") @@ -196,24 +215,49 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[str] time_created: The date and time the protection rule was created, expressed in RFC 3339 timestamp format. """ + _CustomProtectionRuleState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + mod_security_rule_ids=mod_security_rule_ids, + state=state, + template=template, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + description: Optional[pulumi.Input[str]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + mod_security_rule_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + state: Optional[pulumi.Input[str]] = None, + template: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if mod_security_rule_ids is not None: - pulumi.set(__self__, "mod_security_rule_ids", mod_security_rule_ids) + _setter("mod_security_rule_ids", mod_security_rule_ids) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if template is not None: - pulumi.set(__self__, "template", template) + _setter("template", template) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -469,6 +513,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + CustomProtectionRuleArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/waas/get_address_list.py b/sdk/python/pulumi_oci/waas/get_address_list.py index 3593fadbce..9676c7828d 100644 --- a/sdk/python/pulumi_oci/waas/get_address_list.py +++ b/sdk/python/pulumi_oci/waas/get_address_list.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/waas/get_address_lists.py b/sdk/python/pulumi_oci/waas/get_address_lists.py index 3975bc0d39..e50c2d2dcb 100644 --- a/sdk/python/pulumi_oci/waas/get_address_lists.py +++ b/sdk/python/pulumi_oci/waas/get_address_lists.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/waas/get_certificate.py b/sdk/python/pulumi_oci/waas/get_certificate.py index e0b6412b34..773bfeca83 100644 --- a/sdk/python/pulumi_oci/waas/get_certificate.py +++ b/sdk/python/pulumi_oci/waas/get_certificate.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/waas/get_certificates.py b/sdk/python/pulumi_oci/waas/get_certificates.py index d6b6baa818..66a5464bf7 100644 --- a/sdk/python/pulumi_oci/waas/get_certificates.py +++ b/sdk/python/pulumi_oci/waas/get_certificates.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/waas/get_custom_protection_rule.py b/sdk/python/pulumi_oci/waas/get_custom_protection_rule.py index a57a323f58..0480c29977 100644 --- a/sdk/python/pulumi_oci/waas/get_custom_protection_rule.py +++ b/sdk/python/pulumi_oci/waas/get_custom_protection_rule.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/waas/get_custom_protection_rules.py b/sdk/python/pulumi_oci/waas/get_custom_protection_rules.py index f9f3d71e67..05628faf91 100644 --- a/sdk/python/pulumi_oci/waas/get_custom_protection_rules.py +++ b/sdk/python/pulumi_oci/waas/get_custom_protection_rules.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/waas/get_edge_subnets.py b/sdk/python/pulumi_oci/waas/get_edge_subnets.py index 6782a0b914..d773323dae 100644 --- a/sdk/python/pulumi_oci/waas/get_edge_subnets.py +++ b/sdk/python/pulumi_oci/waas/get_edge_subnets.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/waas/get_http_redirect.py b/sdk/python/pulumi_oci/waas/get_http_redirect.py index 00beb6d20f..03496f58ae 100644 --- a/sdk/python/pulumi_oci/waas/get_http_redirect.py +++ b/sdk/python/pulumi_oci/waas/get_http_redirect.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/waas/get_http_redirects.py b/sdk/python/pulumi_oci/waas/get_http_redirects.py index 7bc323aef8..264714fd85 100644 --- a/sdk/python/pulumi_oci/waas/get_http_redirects.py +++ b/sdk/python/pulumi_oci/waas/get_http_redirects.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/waas/get_protection_rule.py b/sdk/python/pulumi_oci/waas/get_protection_rule.py index 55d2700236..a5fe737089 100644 --- a/sdk/python/pulumi_oci/waas/get_protection_rule.py +++ b/sdk/python/pulumi_oci/waas/get_protection_rule.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/waas/get_protection_rules.py b/sdk/python/pulumi_oci/waas/get_protection_rules.py index 7c2b4e0e5a..ccf6407d3f 100644 --- a/sdk/python/pulumi_oci/waas/get_protection_rules.py +++ b/sdk/python/pulumi_oci/waas/get_protection_rules.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/waas/get_waas_policies.py b/sdk/python/pulumi_oci/waas/get_waas_policies.py index e154816e47..60c122d762 100644 --- a/sdk/python/pulumi_oci/waas/get_waas_policies.py +++ b/sdk/python/pulumi_oci/waas/get_waas_policies.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/waas/get_waas_policy.py b/sdk/python/pulumi_oci/waas/get_waas_policy.py index bf8de43438..b4bc069564 100644 --- a/sdk/python/pulumi_oci/waas/get_waas_policy.py +++ b/sdk/python/pulumi_oci/waas/get_waas_policy.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/waas/http_redirect.py b/sdk/python/pulumi_oci/waas/http_redirect.py index 95b8e59d10..0fb02e5051 100644 --- a/sdk/python/pulumi_oci/waas/http_redirect.py +++ b/sdk/python/pulumi_oci/waas/http_redirect.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -33,17 +33,38 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] freeform_tags: (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](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{"Department": "Finance"}` :param pulumi.Input[int] response_code: (Updatable) The response code returned for the redirect to the client. For more information, see [RFC 7231](https://tools.ietf.org/html/rfc7231#section-6.4). """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "domain", domain) - pulumi.set(__self__, "target", target) + HttpRedirectArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + domain=domain, + target=target, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + response_code=response_code, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + domain: pulumi.Input[str], + target: pulumi.Input['HttpRedirectTargetArgs'], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + response_code: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("domain", domain) + _setter("target", target) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if response_code is not None: - pulumi.set(__self__, "response_code", response_code) + _setter("response_code", response_code) @property @pulumi.getter(name="compartmentId") @@ -154,24 +175,49 @@ def __init__(__self__, *, :param pulumi.Input['HttpRedirectTargetArgs'] target: (Updatable) The redirect target object including all the redirect data. :param pulumi.Input[str] time_created: The date and time the policy was created, expressed in RFC 3339 timestamp format. """ + _HttpRedirectState._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + domain=domain, + freeform_tags=freeform_tags, + response_code=response_code, + state=state, + target=target, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + domain: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + response_code: Optional[pulumi.Input[int]] = None, + state: Optional[pulumi.Input[str]] = None, + target: Optional[pulumi.Input['HttpRedirectTargetArgs']] = None, + time_created: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if domain is not None: - pulumi.set(__self__, "domain", domain) + _setter("domain", domain) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if response_code is not None: - pulumi.set(__self__, "response_code", response_code) + _setter("response_code", response_code) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if target is not None: - pulumi.set(__self__, "target", target) + _setter("target", target) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -399,6 +445,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + HttpRedirectArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -430,6 +480,11 @@ def _internal_init(__self__, __props__.__dict__["domain"] = domain __props__.__dict__["freeform_tags"] = freeform_tags __props__.__dict__["response_code"] = response_code + if target is not None and not isinstance(target, HttpRedirectTargetArgs): + target = target or {} + def _setter(key, value): + target[key] = value + HttpRedirectTargetArgs._configure(_setter, **target) if target is None and not opts.urn: raise TypeError("Missing required property 'target'") __props__.__dict__["target"] = target diff --git a/sdk/python/pulumi_oci/waas/outputs.py b/sdk/python/pulumi_oci/waas/outputs.py index ea5c267b6b..40f3b479d1 100644 --- a/sdk/python/pulumi_oci/waas/outputs.py +++ b/sdk/python/pulumi_oci/waas/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -157,12 +157,25 @@ def __init__(__self__, *, :param str name: The certificate extension name. :param str value: The certificate extension value. """ + CertificateExtension._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_critical=is_critical, + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_critical: Optional[bool] = None, + name: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if is_critical is not None: - pulumi.set(__self__, "is_critical", is_critical) + _setter("is_critical", is_critical) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter(name="isCritical") @@ -231,20 +244,41 @@ def __init__(__self__, *, :param str organizational_unit: The field to differentiate between divisions within an organization. :param str state_province: The province where the organization is located. """ + CertificateIssuerName._configure( + lambda key, value: pulumi.set(__self__, key, value), + common_name=common_name, + country=country, + email_address=email_address, + locality=locality, + organization=organization, + organizational_unit=organizational_unit, + state_province=state_province, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + common_name: Optional[str] = None, + country: Optional[str] = None, + email_address: Optional[str] = None, + locality: Optional[str] = None, + organization: Optional[str] = None, + organizational_unit: Optional[str] = None, + state_province: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if common_name is not None: - pulumi.set(__self__, "common_name", common_name) + _setter("common_name", common_name) if country is not None: - pulumi.set(__self__, "country", country) + _setter("country", country) if email_address is not None: - pulumi.set(__self__, "email_address", email_address) + _setter("email_address", email_address) if locality is not None: - pulumi.set(__self__, "locality", locality) + _setter("locality", locality) if organization is not None: - pulumi.set(__self__, "organization", organization) + _setter("organization", organization) if organizational_unit is not None: - pulumi.set(__self__, "organizational_unit", organizational_unit) + _setter("organizational_unit", organizational_unit) if state_province is not None: - pulumi.set(__self__, "state_province", state_province) + _setter("state_province", state_province) @property @pulumi.getter(name="commonName") @@ -331,12 +365,25 @@ def __init__(__self__, *, :param int exponent: The private key exponent. :param int key_size: The number of bits in a key used by a cryptographic algorithm. """ + CertificatePublicKeyInfo._configure( + lambda key, value: pulumi.set(__self__, key, value), + algorithm=algorithm, + exponent=exponent, + key_size=key_size, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + algorithm: Optional[str] = None, + exponent: Optional[int] = None, + key_size: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if algorithm is not None: - pulumi.set(__self__, "algorithm", algorithm) + _setter("algorithm", algorithm) if exponent is not None: - pulumi.set(__self__, "exponent", exponent) + _setter("exponent", exponent) if key_size is not None: - pulumi.set(__self__, "key_size", key_size) + _setter("key_size", key_size) @property @pulumi.getter @@ -405,20 +452,41 @@ def __init__(__self__, *, :param str organizational_unit: The field to differentiate between divisions within an organization. :param str state_province: The province where the organization is located. """ + CertificateSubjectName._configure( + lambda key, value: pulumi.set(__self__, key, value), + common_name=common_name, + country=country, + email_address=email_address, + locality=locality, + organization=organization, + organizational_unit=organizational_unit, + state_province=state_province, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + common_name: Optional[str] = None, + country: Optional[str] = None, + email_address: Optional[str] = None, + locality: Optional[str] = None, + organization: Optional[str] = None, + organizational_unit: Optional[str] = None, + state_province: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if common_name is not None: - pulumi.set(__self__, "common_name", common_name) + _setter("common_name", common_name) if country is not None: - pulumi.set(__self__, "country", country) + _setter("country", country) if email_address is not None: - pulumi.set(__self__, "email_address", email_address) + _setter("email_address", email_address) if locality is not None: - pulumi.set(__self__, "locality", locality) + _setter("locality", locality) if organization is not None: - pulumi.set(__self__, "organization", organization) + _setter("organization", organization) if organizational_unit is not None: - pulumi.set(__self__, "organizational_unit", organizational_unit) + _setter("organizational_unit", organizational_unit) if state_province is not None: - pulumi.set(__self__, "state_province", state_province) + _setter("state_province", state_province) @property @pulumi.getter(name="commonName") @@ -496,12 +564,29 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param int port: (Updatable) Port number of the target destination of the redirect, default to match protocol """ - pulumi.set(__self__, "host", host) - pulumi.set(__self__, "path", path) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "query", query) + HttpRedirectTarget._configure( + lambda key, value: pulumi.set(__self__, key, value), + host=host, + path=path, + protocol=protocol, + query=query, + port=port, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host: str, + path: str, + protocol: str, + query: str, + port: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("host", host) + _setter("path", path) + _setter("protocol", protocol) + _setter("query", query) if port is not None: - pulumi.set(__self__, "port", port) + _setter("port", port) @property @pulumi.getter @@ -583,14 +668,31 @@ def __init__(__self__, *, :param int http_port: (Updatable) The HTTP port on the origin that the web application listens on. If unspecified, defaults to `80`. If `0` is specified - the origin is not used for HTTP traffic. :param int https_port: (Updatable) The HTTPS port on the origin that the web application listens on. If unspecified, defaults to `443`. If `0` is specified - the origin is not used for HTTPS traffic. """ - pulumi.set(__self__, "label", label) - pulumi.set(__self__, "uri", uri) + PolicyOrigin._configure( + lambda key, value: pulumi.set(__self__, key, value), + label=label, + uri=uri, + custom_headers=custom_headers, + http_port=http_port, + https_port=https_port, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + label: str, + uri: str, + custom_headers: Optional[Sequence['outputs.PolicyOriginCustomHeader']] = None, + http_port: Optional[int] = None, + https_port: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("label", label) + _setter("uri", uri) if custom_headers is not None: - pulumi.set(__self__, "custom_headers", custom_headers) + _setter("custom_headers", custom_headers) if http_port is not None: - pulumi.set(__self__, "http_port", http_port) + _setter("http_port", http_port) if https_port is not None: - pulumi.set(__self__, "https_port", https_port) + _setter("https_port", https_port) @property @pulumi.getter @@ -643,8 +745,19 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param str value: (Updatable) The value of the header. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + PolicyOriginCustomHeader._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("value", value) @property @pulumi.getter @@ -689,8 +802,19 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, label: str, origin_groups: Sequence['outputs.PolicyOriginGroupOriginGroup']): - pulumi.set(__self__, "label", label) - pulumi.set(__self__, "origin_groups", origin_groups) + PolicyOriginGroup._configure( + lambda key, value: pulumi.set(__self__, key, value), + label=label, + origin_groups=origin_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + label: str, + origin_groups: Sequence['outputs.PolicyOriginGroupOriginGroup'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("label", label) + _setter("origin_groups", origin_groups) @property @pulumi.getter @@ -711,9 +835,20 @@ def __init__(__self__, *, """ :param str origin: (Updatable) The key in the map of origins referencing the origin used for the Web Application Firewall. The origin must already be included in `Origins`. Required when creating the `WafConfig` resource, but is not required upon updating the configuration. """ - pulumi.set(__self__, "origin", origin) + PolicyOriginGroupOriginGroup._configure( + lambda key, value: pulumi.set(__self__, key, value), + origin=origin, + weight=weight, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + origin: str, + weight: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("origin", origin) if weight is not None: - pulumi.set(__self__, "weight", weight) + _setter("weight", weight) @property @pulumi.getter @@ -823,34 +958,69 @@ def __init__(__self__, *, Enabled TLS protocols must go in a row. For example if `TLS_v1_1` and `TLS_V1_3` are enabled, `TLS_V1_2` must be enabled too. :param Sequence[str] websocket_path_prefixes: (Updatable) ModSecurity is not capable to inspect WebSockets. Therefore paths specified here have WAF disabled if Connection request header from the client has the value Upgrade (case insensitive matching) and Upgrade request header has the value websocket (case insensitive matching). Paths matches if the concatenation of request URL path and query starts with the contents of the one of `websocketPathPrefixes` array value. In All other cases challenges, like JSC, HIC and etc., remain active. """ + PolicyPolicyConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + certificate_id=certificate_id, + cipher_group=cipher_group, + client_address_header=client_address_header, + health_checks=health_checks, + is_behind_cdn=is_behind_cdn, + is_cache_control_respected=is_cache_control_respected, + is_https_enabled=is_https_enabled, + is_https_forced=is_https_forced, + is_origin_compression_enabled=is_origin_compression_enabled, + is_response_buffering_enabled=is_response_buffering_enabled, + is_sni_enabled=is_sni_enabled, + load_balancing_method=load_balancing_method, + tls_protocols=tls_protocols, + websocket_path_prefixes=websocket_path_prefixes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + certificate_id: Optional[str] = None, + cipher_group: Optional[str] = None, + client_address_header: Optional[str] = None, + health_checks: Optional['outputs.PolicyPolicyConfigHealthChecks'] = None, + is_behind_cdn: Optional[bool] = None, + is_cache_control_respected: Optional[bool] = None, + is_https_enabled: Optional[bool] = None, + is_https_forced: Optional[bool] = None, + is_origin_compression_enabled: Optional[bool] = None, + is_response_buffering_enabled: Optional[bool] = None, + is_sni_enabled: Optional[bool] = None, + load_balancing_method: Optional['outputs.PolicyPolicyConfigLoadBalancingMethod'] = None, + tls_protocols: Optional[Sequence[str]] = None, + websocket_path_prefixes: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if certificate_id is not None: - pulumi.set(__self__, "certificate_id", certificate_id) + _setter("certificate_id", certificate_id) if cipher_group is not None: - pulumi.set(__self__, "cipher_group", cipher_group) + _setter("cipher_group", cipher_group) if client_address_header is not None: - pulumi.set(__self__, "client_address_header", client_address_header) + _setter("client_address_header", client_address_header) if health_checks is not None: - pulumi.set(__self__, "health_checks", health_checks) + _setter("health_checks", health_checks) if is_behind_cdn is not None: - pulumi.set(__self__, "is_behind_cdn", is_behind_cdn) + _setter("is_behind_cdn", is_behind_cdn) if is_cache_control_respected is not None: - pulumi.set(__self__, "is_cache_control_respected", is_cache_control_respected) + _setter("is_cache_control_respected", is_cache_control_respected) if is_https_enabled is not None: - pulumi.set(__self__, "is_https_enabled", is_https_enabled) + _setter("is_https_enabled", is_https_enabled) if is_https_forced is not None: - pulumi.set(__self__, "is_https_forced", is_https_forced) + _setter("is_https_forced", is_https_forced) if is_origin_compression_enabled is not None: - pulumi.set(__self__, "is_origin_compression_enabled", is_origin_compression_enabled) + _setter("is_origin_compression_enabled", is_origin_compression_enabled) if is_response_buffering_enabled is not None: - pulumi.set(__self__, "is_response_buffering_enabled", is_response_buffering_enabled) + _setter("is_response_buffering_enabled", is_response_buffering_enabled) if is_sni_enabled is not None: - pulumi.set(__self__, "is_sni_enabled", is_sni_enabled) + _setter("is_sni_enabled", is_sni_enabled) if load_balancing_method is not None: - pulumi.set(__self__, "load_balancing_method", load_balancing_method) + _setter("load_balancing_method", load_balancing_method) if tls_protocols is not None: - pulumi.set(__self__, "tls_protocols", tls_protocols) + _setter("tls_protocols", tls_protocols) if websocket_path_prefixes is not None: - pulumi.set(__self__, "websocket_path_prefixes", websocket_path_prefixes) + _setter("websocket_path_prefixes", websocket_path_prefixes) @property @pulumi.getter(name="certificateId") @@ -1050,28 +1220,57 @@ def __init__(__self__, *, :param int timeout_in_seconds: (Updatable) Response timeout represents wait time until request is considered failed, in seconds. :param int unhealthy_threshold: (Updatable) Number of failed health checks after which the server is marked down. """ + PolicyPolicyConfigHealthChecks._configure( + lambda key, value: pulumi.set(__self__, key, value), + expected_response_code_groups=expected_response_code_groups, + expected_response_text=expected_response_text, + headers=headers, + healthy_threshold=healthy_threshold, + interval_in_seconds=interval_in_seconds, + is_enabled=is_enabled, + is_response_text_check_enabled=is_response_text_check_enabled, + method=method, + path=path, + timeout_in_seconds=timeout_in_seconds, + unhealthy_threshold=unhealthy_threshold, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + expected_response_code_groups: Optional[Sequence[str]] = None, + expected_response_text: Optional[str] = None, + headers: Optional[Mapping[str, Any]] = None, + healthy_threshold: Optional[int] = None, + interval_in_seconds: Optional[int] = None, + is_enabled: Optional[bool] = None, + is_response_text_check_enabled: Optional[bool] = None, + method: Optional[str] = None, + path: Optional[str] = None, + timeout_in_seconds: Optional[int] = None, + unhealthy_threshold: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if expected_response_code_groups is not None: - pulumi.set(__self__, "expected_response_code_groups", expected_response_code_groups) + _setter("expected_response_code_groups", expected_response_code_groups) if expected_response_text is not None: - pulumi.set(__self__, "expected_response_text", expected_response_text) + _setter("expected_response_text", expected_response_text) if headers is not None: - pulumi.set(__self__, "headers", headers) + _setter("headers", headers) if healthy_threshold is not None: - pulumi.set(__self__, "healthy_threshold", healthy_threshold) + _setter("healthy_threshold", healthy_threshold) if interval_in_seconds is not None: - pulumi.set(__self__, "interval_in_seconds", interval_in_seconds) + _setter("interval_in_seconds", interval_in_seconds) if is_enabled is not None: - pulumi.set(__self__, "is_enabled", is_enabled) + _setter("is_enabled", is_enabled) if is_response_text_check_enabled is not None: - pulumi.set(__self__, "is_response_text_check_enabled", is_response_text_check_enabled) + _setter("is_response_text_check_enabled", is_response_text_check_enabled) if method is not None: - pulumi.set(__self__, "method", method) + _setter("method", method) if path is not None: - pulumi.set(__self__, "path", path) + _setter("path", path) if timeout_in_seconds is not None: - pulumi.set(__self__, "timeout_in_seconds", timeout_in_seconds) + _setter("timeout_in_seconds", timeout_in_seconds) if unhealthy_threshold is not None: - pulumi.set(__self__, "unhealthy_threshold", unhealthy_threshold) + _setter("unhealthy_threshold", unhealthy_threshold) @property @pulumi.getter(name="expectedResponseCodeGroups") @@ -1208,13 +1407,28 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "method", method) + PolicyPolicyConfigLoadBalancingMethod._configure( + lambda key, value: pulumi.set(__self__, key, value), + method=method, + domain=domain, + expiration_time_in_seconds=expiration_time_in_seconds, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + method: str, + domain: Optional[str] = None, + expiration_time_in_seconds: Optional[int] = None, + name: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("method", method) if domain is not None: - pulumi.set(__self__, "domain", domain) + _setter("domain", domain) if expiration_time_in_seconds is not None: - pulumi.set(__self__, "expiration_time_in_seconds", expiration_time_in_seconds) + _setter("expiration_time_in_seconds", expiration_time_in_seconds) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) @property @pulumi.getter @@ -1318,30 +1532,61 @@ def __init__(__self__, *, :param 'PolicyWafConfigProtectionSettingsArgs' protection_settings: (Updatable) The settings applied to protection rules. :param Sequence['PolicyWafConfigWhitelistArgs'] whitelists: (Updatable) A list of IP addresses that bypass the Web Application Firewall. """ + PolicyWafConfig._configure( + lambda key, value: pulumi.set(__self__, key, value), + access_rules=access_rules, + address_rate_limiting=address_rate_limiting, + caching_rules=caching_rules, + captchas=captchas, + custom_protection_rules=custom_protection_rules, + device_fingerprint_challenge=device_fingerprint_challenge, + human_interaction_challenge=human_interaction_challenge, + js_challenge=js_challenge, + origin=origin, + origin_groups=origin_groups, + protection_settings=protection_settings, + whitelists=whitelists, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access_rules: Optional[Sequence['outputs.PolicyWafConfigAccessRule']] = None, + address_rate_limiting: Optional['outputs.PolicyWafConfigAddressRateLimiting'] = None, + caching_rules: Optional[Sequence['outputs.PolicyWafConfigCachingRule']] = None, + captchas: Optional[Sequence['outputs.PolicyWafConfigCaptcha']] = None, + custom_protection_rules: Optional[Sequence['outputs.PolicyWafConfigCustomProtectionRule']] = None, + device_fingerprint_challenge: Optional['outputs.PolicyWafConfigDeviceFingerprintChallenge'] = None, + human_interaction_challenge: Optional['outputs.PolicyWafConfigHumanInteractionChallenge'] = None, + js_challenge: Optional['outputs.PolicyWafConfigJsChallenge'] = None, + origin: Optional[str] = None, + origin_groups: Optional[Sequence[str]] = None, + protection_settings: Optional['outputs.PolicyWafConfigProtectionSettings'] = None, + whitelists: Optional[Sequence['outputs.PolicyWafConfigWhitelist']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if access_rules is not None: - pulumi.set(__self__, "access_rules", access_rules) + _setter("access_rules", access_rules) if address_rate_limiting is not None: - pulumi.set(__self__, "address_rate_limiting", address_rate_limiting) + _setter("address_rate_limiting", address_rate_limiting) if caching_rules is not None: - pulumi.set(__self__, "caching_rules", caching_rules) + _setter("caching_rules", caching_rules) if captchas is not None: - pulumi.set(__self__, "captchas", captchas) + _setter("captchas", captchas) if custom_protection_rules is not None: - pulumi.set(__self__, "custom_protection_rules", custom_protection_rules) + _setter("custom_protection_rules", custom_protection_rules) if device_fingerprint_challenge is not None: - pulumi.set(__self__, "device_fingerprint_challenge", device_fingerprint_challenge) + _setter("device_fingerprint_challenge", device_fingerprint_challenge) if human_interaction_challenge is not None: - pulumi.set(__self__, "human_interaction_challenge", human_interaction_challenge) + _setter("human_interaction_challenge", human_interaction_challenge) if js_challenge is not None: - pulumi.set(__self__, "js_challenge", js_challenge) + _setter("js_challenge", js_challenge) if origin is not None: - pulumi.set(__self__, "origin", origin) + _setter("origin", origin) if origin_groups is not None: - pulumi.set(__self__, "origin_groups", origin_groups) + _setter("origin_groups", origin_groups) if protection_settings is not None: - pulumi.set(__self__, "protection_settings", protection_settings) + _setter("protection_settings", protection_settings) if whitelists is not None: - pulumi.set(__self__, "whitelists", whitelists) + _setter("whitelists", whitelists) @property @pulumi.getter(name="accessRules") @@ -1528,35 +1773,74 @@ def __init__(__self__, *, :param str redirect_url: (Updatable) The target to which the request should be redirected, represented as a URI reference. Required when `action` is `REDIRECT`. :param Sequence['PolicyWafConfigAccessRuleResponseHeaderManipulationArgs'] response_header_manipulations: (Updatable) An object that represents an action to apply to an HTTP response headers if all rule criteria will be matched regardless of `action` value. """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "criterias", criterias) - pulumi.set(__self__, "name", name) + PolicyWafConfigAccessRule._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + criterias=criterias, + name=name, + block_action=block_action, + block_error_page_code=block_error_page_code, + block_error_page_description=block_error_page_description, + block_error_page_message=block_error_page_message, + block_response_code=block_response_code, + bypass_challenges=bypass_challenges, + captcha_footer=captcha_footer, + captcha_header=captcha_header, + captcha_submit_label=captcha_submit_label, + captcha_title=captcha_title, + redirect_response_code=redirect_response_code, + redirect_url=redirect_url, + response_header_manipulations=response_header_manipulations, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: str, + criterias: Sequence['outputs.PolicyWafConfigAccessRuleCriteria'], + name: str, + block_action: Optional[str] = None, + block_error_page_code: Optional[str] = None, + block_error_page_description: Optional[str] = None, + block_error_page_message: Optional[str] = None, + block_response_code: Optional[int] = None, + bypass_challenges: Optional[Sequence[str]] = None, + captcha_footer: Optional[str] = None, + captcha_header: Optional[str] = None, + captcha_submit_label: Optional[str] = None, + captcha_title: Optional[str] = None, + redirect_response_code: Optional[str] = None, + redirect_url: Optional[str] = None, + response_header_manipulations: Optional[Sequence['outputs.PolicyWafConfigAccessRuleResponseHeaderManipulation']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("criterias", criterias) + _setter("name", name) if block_action is not None: - pulumi.set(__self__, "block_action", block_action) + _setter("block_action", block_action) if block_error_page_code is not None: - pulumi.set(__self__, "block_error_page_code", block_error_page_code) + _setter("block_error_page_code", block_error_page_code) if block_error_page_description is not None: - pulumi.set(__self__, "block_error_page_description", block_error_page_description) + _setter("block_error_page_description", block_error_page_description) if block_error_page_message is not None: - pulumi.set(__self__, "block_error_page_message", block_error_page_message) + _setter("block_error_page_message", block_error_page_message) if block_response_code is not None: - pulumi.set(__self__, "block_response_code", block_response_code) + _setter("block_response_code", block_response_code) if bypass_challenges is not None: - pulumi.set(__self__, "bypass_challenges", bypass_challenges) + _setter("bypass_challenges", bypass_challenges) if captcha_footer is not None: - pulumi.set(__self__, "captcha_footer", captcha_footer) + _setter("captcha_footer", captcha_footer) if captcha_header is not None: - pulumi.set(__self__, "captcha_header", captcha_header) + _setter("captcha_header", captcha_header) if captcha_submit_label is not None: - pulumi.set(__self__, "captcha_submit_label", captcha_submit_label) + _setter("captcha_submit_label", captcha_submit_label) if captcha_title is not None: - pulumi.set(__self__, "captcha_title", captcha_title) + _setter("captcha_title", captcha_title) if redirect_response_code is not None: - pulumi.set(__self__, "redirect_response_code", redirect_response_code) + _setter("redirect_response_code", redirect_response_code) if redirect_url is not None: - pulumi.set(__self__, "redirect_url", redirect_url) + _setter("redirect_url", redirect_url) if response_header_manipulations is not None: - pulumi.set(__self__, "response_header_manipulations", response_header_manipulations) + _setter("response_header_manipulations", response_header_manipulations) @property @pulumi.getter @@ -1750,10 +2034,23 @@ def __init__(__self__, *, :param str value: (Updatable) The value of the header. :param bool is_case_sensitive: (Updatable) When enabled, the condition will be matched with case-sensitive rules. """ - pulumi.set(__self__, "condition", condition) - pulumi.set(__self__, "value", value) + PolicyWafConfigAccessRuleCriteria._configure( + lambda key, value: pulumi.set(__self__, key, value), + condition=condition, + value=value, + is_case_sensitive=is_case_sensitive, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + condition: str, + value: str, + is_case_sensitive: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("condition", condition) + _setter("value", value) if is_case_sensitive is not None: - pulumi.set(__self__, "is_case_sensitive", is_case_sensitive) + _setter("is_case_sensitive", is_case_sensitive) @property @pulumi.getter @@ -1816,10 +2113,23 @@ def __init__(__self__, *, :param str header: (Updatable) A header field name that conforms to RFC 7230. Example: `example_header_name` :param str value: (Updatable) The value of the header. """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "header", header) + PolicyWafConfigAccessRuleResponseHeaderManipulation._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + header=header, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: str, + header: str, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("header", header) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -1882,13 +2192,28 @@ def __init__(__self__, *, :param int block_response_code: (Updatable) The response code returned when `action` is set to `BLOCK`, `blockAction` is set to `SET_RESPONSE_CODE`, and the traffic is detected as malicious by a protection rule. If unspecified, defaults to `403`. The list of available response codes: `400`, `401`, `403`, `405`, `409`, `411`, `412`, `413`, `414`, `415`, `416`, `500`, `501`, `502`, `503`, `504`, `507`. :param int max_delayed_count_per_address: (Updatable) The maximum number of requests allowed to be queued before subsequent requests are dropped. If unspecified, defaults to `10`. """ - pulumi.set(__self__, "is_enabled", is_enabled) + PolicyWafConfigAddressRateLimiting._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + allowed_rate_per_address=allowed_rate_per_address, + block_response_code=block_response_code, + max_delayed_count_per_address=max_delayed_count_per_address, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: bool, + allowed_rate_per_address: Optional[int] = None, + block_response_code: Optional[int] = None, + max_delayed_count_per_address: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_enabled", is_enabled) if allowed_rate_per_address is not None: - pulumi.set(__self__, "allowed_rate_per_address", allowed_rate_per_address) + _setter("allowed_rate_per_address", allowed_rate_per_address) if block_response_code is not None: - pulumi.set(__self__, "block_response_code", block_response_code) + _setter("block_response_code", block_response_code) if max_delayed_count_per_address is not None: - pulumi.set(__self__, "max_delayed_count_per_address", max_delayed_count_per_address) + _setter("max_delayed_count_per_address", max_delayed_count_per_address) @property @pulumi.getter(name="isEnabled") @@ -1967,17 +2292,38 @@ def __init__(__self__, *, :param bool is_client_caching_enabled: (Updatable) Enables or disables client caching. Browsers use the `Cache-Control` header value for caching content locally in the browser. This setting overrides the addition of a `Cache-Control` header in responses. :param str key: (Updatable) The unique key for the caching rule. """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "criterias", criterias) - pulumi.set(__self__, "name", name) + PolicyWafConfigCachingRule._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + criterias=criterias, + name=name, + caching_duration=caching_duration, + client_caching_duration=client_caching_duration, + is_client_caching_enabled=is_client_caching_enabled, + key=key, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: str, + criterias: Sequence['outputs.PolicyWafConfigCachingRuleCriteria'], + name: str, + caching_duration: Optional[str] = None, + client_caching_duration: Optional[str] = None, + is_client_caching_enabled: Optional[bool] = None, + key: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("criterias", criterias) + _setter("name", name) if caching_duration is not None: - pulumi.set(__self__, "caching_duration", caching_duration) + _setter("caching_duration", caching_duration) if client_caching_duration is not None: - pulumi.set(__self__, "client_caching_duration", client_caching_duration) + _setter("client_caching_duration", client_caching_duration) if is_client_caching_enabled is not None: - pulumi.set(__self__, "is_client_caching_enabled", is_client_caching_enabled) + _setter("is_client_caching_enabled", is_client_caching_enabled) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) @property @pulumi.getter @@ -2074,8 +2420,19 @@ def __init__(__self__, *, * **USER_AGENT_IS_NOT:** Matches if the requesting user agent is not identical to the contents of the `value` field. *Example:* `Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0` :param str value: (Updatable) The value of the header. """ - pulumi.set(__self__, "condition", condition) - pulumi.set(__self__, "value", value) + PolicyWafConfigCachingRuleCriteria._configure( + lambda key, value: pulumi.set(__self__, key, value), + condition=condition, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + condition: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("condition", condition) + _setter("value", value) @property @pulumi.getter @@ -2163,15 +2520,36 @@ def __init__(__self__, *, :param str footer_text: (Updatable) The text to show in the footer when showing a CAPTCHA challenge. If unspecified, defaults to 'Enter the letters and numbers as they are shown in the image above.' :param str header_text: (Updatable) The text to show in the header when showing a CAPTCHA challenge. If unspecified, defaults to 'We have detected an increased number of attempts to access this website. To help us keep this site secure, please let us know that you are not a robot by entering the text from the image below.' """ - pulumi.set(__self__, "failure_message", failure_message) - pulumi.set(__self__, "session_expiration_in_seconds", session_expiration_in_seconds) - pulumi.set(__self__, "submit_label", submit_label) - pulumi.set(__self__, "title", title) - pulumi.set(__self__, "url", url) + PolicyWafConfigCaptcha._configure( + lambda key, value: pulumi.set(__self__, key, value), + failure_message=failure_message, + session_expiration_in_seconds=session_expiration_in_seconds, + submit_label=submit_label, + title=title, + url=url, + footer_text=footer_text, + header_text=header_text, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + failure_message: str, + session_expiration_in_seconds: int, + submit_label: str, + title: str, + url: str, + footer_text: Optional[str] = None, + header_text: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("failure_message", failure_message) + _setter("session_expiration_in_seconds", session_expiration_in_seconds) + _setter("submit_label", submit_label) + _setter("title", title) + _setter("url", url) if footer_text is not None: - pulumi.set(__self__, "footer_text", footer_text) + _setter("footer_text", footer_text) if header_text is not None: - pulumi.set(__self__, "header_text", header_text) + _setter("header_text", header_text) @property @pulumi.getter(name="failureMessage") @@ -2241,12 +2619,25 @@ def __init__(__self__, *, :param Sequence['PolicyWafConfigCustomProtectionRuleExclusionArgs'] exclusions: (Updatable) An array of The target property of a request that would allow it to bypass the protection rule. For example, when `target` is `REQUEST_COOKIE_NAMES`, the list may include names of cookies to exclude from the protection rule. When the target is `ARGS`, the list may include strings of URL query parameters and values from form-urlencoded XML, JSON, AMP, or POST payloads to exclude from the protection rule. `Exclusions` properties must not contain whitespace, comma or |. **Note:** If protection rules have been enabled that utilize the `maxArgumentCount` or `maxTotalNameLengthOfArguments` properties, and the `target` property has been set to `ARGS`, it is important that the `exclusions` properties be defined to honor those protection rule settings in a consistent manner. :param str id: (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the custom protection rule. """ + PolicyWafConfigCustomProtectionRule._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + exclusions=exclusions, + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: Optional[str] = None, + exclusions: Optional[Sequence['outputs.PolicyWafConfigCustomProtectionRuleExclusion']] = None, + id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if action is not None: - pulumi.set(__self__, "action", action) + _setter("action", action) if exclusions is not None: - pulumi.set(__self__, "exclusions", exclusions) + _setter("exclusions", exclusions) if id is not None: - pulumi.set(__self__, "id", id) + _setter("id", id) @property @pulumi.getter @@ -2282,10 +2673,21 @@ def __init__(__self__, *, :param Sequence[str] exclusions: (Updatable) An array of The target property of a request that would allow it to bypass the protection rule. For example, when `target` is `REQUEST_COOKIE_NAMES`, the list may include names of cookies to exclude from the protection rule. When the target is `ARGS`, the list may include strings of URL query parameters and values from form-urlencoded XML, JSON, AMP, or POST payloads to exclude from the protection rule. `Exclusions` properties must not contain whitespace, comma or |. **Note:** If protection rules have been enabled that utilize the `maxArgumentCount` or `maxTotalNameLengthOfArguments` properties, and the `target` property has been set to `ARGS`, it is important that the `exclusions` properties be defined to honor those protection rule settings in a consistent manner. :param str target: (Updatable) The target of the exclusion. """ + PolicyWafConfigCustomProtectionRuleExclusion._configure( + lambda key, value: pulumi.set(__self__, key, value), + exclusions=exclusions, + target=target, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + exclusions: Optional[Sequence[str]] = None, + target: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if exclusions is not None: - pulumi.set(__self__, "exclusions", exclusions) + _setter("exclusions", exclusions) if target is not None: - pulumi.set(__self__, "target", target) + _setter("target", target) @property @pulumi.getter @@ -2354,21 +2756,44 @@ def __init__(__self__, *, :param int max_address_count: (Updatable) The maximum number of IP addresses permitted with the same device fingerprint. If unspecified, defaults to `20`. :param int max_address_count_expiration_in_seconds: (Updatable) The number of seconds before the maximum addresses count resets. If unspecified, defaults to `60`. """ - pulumi.set(__self__, "is_enabled", is_enabled) + PolicyWafConfigDeviceFingerprintChallenge._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + action=action, + action_expiration_in_seconds=action_expiration_in_seconds, + challenge_settings=challenge_settings, + failure_threshold=failure_threshold, + failure_threshold_expiration_in_seconds=failure_threshold_expiration_in_seconds, + max_address_count=max_address_count, + max_address_count_expiration_in_seconds=max_address_count_expiration_in_seconds, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: bool, + action: Optional[str] = None, + action_expiration_in_seconds: Optional[int] = None, + challenge_settings: Optional['outputs.PolicyWafConfigDeviceFingerprintChallengeChallengeSettings'] = None, + failure_threshold: Optional[int] = None, + failure_threshold_expiration_in_seconds: Optional[int] = None, + max_address_count: Optional[int] = None, + max_address_count_expiration_in_seconds: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_enabled", is_enabled) if action is not None: - pulumi.set(__self__, "action", action) + _setter("action", action) if action_expiration_in_seconds is not None: - pulumi.set(__self__, "action_expiration_in_seconds", action_expiration_in_seconds) + _setter("action_expiration_in_seconds", action_expiration_in_seconds) if challenge_settings is not None: - pulumi.set(__self__, "challenge_settings", challenge_settings) + _setter("challenge_settings", challenge_settings) if failure_threshold is not None: - pulumi.set(__self__, "failure_threshold", failure_threshold) + _setter("failure_threshold", failure_threshold) if failure_threshold_expiration_in_seconds is not None: - pulumi.set(__self__, "failure_threshold_expiration_in_seconds", failure_threshold_expiration_in_seconds) + _setter("failure_threshold_expiration_in_seconds", failure_threshold_expiration_in_seconds) if max_address_count is not None: - pulumi.set(__self__, "max_address_count", max_address_count) + _setter("max_address_count", max_address_count) if max_address_count_expiration_in_seconds is not None: - pulumi.set(__self__, "max_address_count_expiration_in_seconds", max_address_count_expiration_in_seconds) + _setter("max_address_count_expiration_in_seconds", max_address_count_expiration_in_seconds) @property @pulumi.getter(name="isEnabled") @@ -2491,24 +2916,49 @@ def __init__(__self__, *, :param str captcha_submit_label: (Updatable) The text to show on the label of the CAPTCHA challenge submit button when `action` is set to `BLOCK`, `blockAction` is set to `SHOW_CAPTCHA`, and the request is blocked. If unspecified, defaults to `Yes, I am human`. :param str captcha_title: (Updatable) The title used when showing a CAPTCHA challenge when `action` is set to `BLOCK`, `blockAction` is set to `SHOW_CAPTCHA`, and the request is blocked. If unspecified, defaults to `Are you human?` """ + PolicyWafConfigDeviceFingerprintChallengeChallengeSettings._configure( + lambda key, value: pulumi.set(__self__, key, value), + block_action=block_action, + block_error_page_code=block_error_page_code, + block_error_page_description=block_error_page_description, + block_error_page_message=block_error_page_message, + block_response_code=block_response_code, + captcha_footer=captcha_footer, + captcha_header=captcha_header, + captcha_submit_label=captcha_submit_label, + captcha_title=captcha_title, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + block_action: Optional[str] = None, + block_error_page_code: Optional[str] = None, + block_error_page_description: Optional[str] = None, + block_error_page_message: Optional[str] = None, + block_response_code: Optional[int] = None, + captcha_footer: Optional[str] = None, + captcha_header: Optional[str] = None, + captcha_submit_label: Optional[str] = None, + captcha_title: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if block_action is not None: - pulumi.set(__self__, "block_action", block_action) + _setter("block_action", block_action) if block_error_page_code is not None: - pulumi.set(__self__, "block_error_page_code", block_error_page_code) + _setter("block_error_page_code", block_error_page_code) if block_error_page_description is not None: - pulumi.set(__self__, "block_error_page_description", block_error_page_description) + _setter("block_error_page_description", block_error_page_description) if block_error_page_message is not None: - pulumi.set(__self__, "block_error_page_message", block_error_page_message) + _setter("block_error_page_message", block_error_page_message) if block_response_code is not None: - pulumi.set(__self__, "block_response_code", block_response_code) + _setter("block_response_code", block_response_code) if captcha_footer is not None: - pulumi.set(__self__, "captcha_footer", captcha_footer) + _setter("captcha_footer", captcha_footer) if captcha_header is not None: - pulumi.set(__self__, "captcha_header", captcha_header) + _setter("captcha_header", captcha_header) if captcha_submit_label is not None: - pulumi.set(__self__, "captcha_submit_label", captcha_submit_label) + _setter("captcha_submit_label", captcha_submit_label) if captcha_title is not None: - pulumi.set(__self__, "captcha_title", captcha_title) + _setter("captcha_title", captcha_title) @property @pulumi.getter(name="blockAction") @@ -2641,25 +3091,52 @@ def __init__(__self__, *, :param int recording_period_in_seconds: (Updatable) The number of seconds to record the interactions from the user. If unspecified, defaults to `15`. :param 'PolicyWafConfigHumanInteractionChallengeSetHttpHeaderArgs' set_http_header: (Updatable) Adds an additional HTTP header to requests that fail the challenge before being passed to the origin. Only applicable when the `action` is set to `DETECT`. """ - pulumi.set(__self__, "is_enabled", is_enabled) + PolicyWafConfigHumanInteractionChallenge._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + action=action, + action_expiration_in_seconds=action_expiration_in_seconds, + challenge_settings=challenge_settings, + failure_threshold=failure_threshold, + failure_threshold_expiration_in_seconds=failure_threshold_expiration_in_seconds, + interaction_threshold=interaction_threshold, + is_nat_enabled=is_nat_enabled, + recording_period_in_seconds=recording_period_in_seconds, + set_http_header=set_http_header, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: bool, + action: Optional[str] = None, + action_expiration_in_seconds: Optional[int] = None, + challenge_settings: Optional['outputs.PolicyWafConfigHumanInteractionChallengeChallengeSettings'] = None, + failure_threshold: Optional[int] = None, + failure_threshold_expiration_in_seconds: Optional[int] = None, + interaction_threshold: Optional[int] = None, + is_nat_enabled: Optional[bool] = None, + recording_period_in_seconds: Optional[int] = None, + set_http_header: Optional['outputs.PolicyWafConfigHumanInteractionChallengeSetHttpHeader'] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_enabled", is_enabled) if action is not None: - pulumi.set(__self__, "action", action) + _setter("action", action) if action_expiration_in_seconds is not None: - pulumi.set(__self__, "action_expiration_in_seconds", action_expiration_in_seconds) + _setter("action_expiration_in_seconds", action_expiration_in_seconds) if challenge_settings is not None: - pulumi.set(__self__, "challenge_settings", challenge_settings) + _setter("challenge_settings", challenge_settings) if failure_threshold is not None: - pulumi.set(__self__, "failure_threshold", failure_threshold) + _setter("failure_threshold", failure_threshold) if failure_threshold_expiration_in_seconds is not None: - pulumi.set(__self__, "failure_threshold_expiration_in_seconds", failure_threshold_expiration_in_seconds) + _setter("failure_threshold_expiration_in_seconds", failure_threshold_expiration_in_seconds) if interaction_threshold is not None: - pulumi.set(__self__, "interaction_threshold", interaction_threshold) + _setter("interaction_threshold", interaction_threshold) if is_nat_enabled is not None: - pulumi.set(__self__, "is_nat_enabled", is_nat_enabled) + _setter("is_nat_enabled", is_nat_enabled) if recording_period_in_seconds is not None: - pulumi.set(__self__, "recording_period_in_seconds", recording_period_in_seconds) + _setter("recording_period_in_seconds", recording_period_in_seconds) if set_http_header is not None: - pulumi.set(__self__, "set_http_header", set_http_header) + _setter("set_http_header", set_http_header) @property @pulumi.getter(name="isEnabled") @@ -2798,24 +3275,49 @@ def __init__(__self__, *, :param str captcha_submit_label: (Updatable) The text to show on the label of the CAPTCHA challenge submit button when `action` is set to `BLOCK`, `blockAction` is set to `SHOW_CAPTCHA`, and the request is blocked. If unspecified, defaults to `Yes, I am human`. :param str captcha_title: (Updatable) The title used when showing a CAPTCHA challenge when `action` is set to `BLOCK`, `blockAction` is set to `SHOW_CAPTCHA`, and the request is blocked. If unspecified, defaults to `Are you human?` """ + PolicyWafConfigHumanInteractionChallengeChallengeSettings._configure( + lambda key, value: pulumi.set(__self__, key, value), + block_action=block_action, + block_error_page_code=block_error_page_code, + block_error_page_description=block_error_page_description, + block_error_page_message=block_error_page_message, + block_response_code=block_response_code, + captcha_footer=captcha_footer, + captcha_header=captcha_header, + captcha_submit_label=captcha_submit_label, + captcha_title=captcha_title, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + block_action: Optional[str] = None, + block_error_page_code: Optional[str] = None, + block_error_page_description: Optional[str] = None, + block_error_page_message: Optional[str] = None, + block_response_code: Optional[int] = None, + captcha_footer: Optional[str] = None, + captcha_header: Optional[str] = None, + captcha_submit_label: Optional[str] = None, + captcha_title: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if block_action is not None: - pulumi.set(__self__, "block_action", block_action) + _setter("block_action", block_action) if block_error_page_code is not None: - pulumi.set(__self__, "block_error_page_code", block_error_page_code) + _setter("block_error_page_code", block_error_page_code) if block_error_page_description is not None: - pulumi.set(__self__, "block_error_page_description", block_error_page_description) + _setter("block_error_page_description", block_error_page_description) if block_error_page_message is not None: - pulumi.set(__self__, "block_error_page_message", block_error_page_message) + _setter("block_error_page_message", block_error_page_message) if block_response_code is not None: - pulumi.set(__self__, "block_response_code", block_response_code) + _setter("block_response_code", block_response_code) if captcha_footer is not None: - pulumi.set(__self__, "captcha_footer", captcha_footer) + _setter("captcha_footer", captcha_footer) if captcha_header is not None: - pulumi.set(__self__, "captcha_header", captcha_header) + _setter("captcha_header", captcha_header) if captcha_submit_label is not None: - pulumi.set(__self__, "captcha_submit_label", captcha_submit_label) + _setter("captcha_submit_label", captcha_submit_label) if captcha_title is not None: - pulumi.set(__self__, "captcha_title", captcha_title) + _setter("captcha_title", captcha_title) @property @pulumi.getter(name="blockAction") @@ -2903,8 +3405,19 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param str value: (Updatable) The value of the header. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + PolicyWafConfigHumanInteractionChallengeSetHttpHeader._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("value", value) @property @pulumi.getter @@ -2979,23 +3492,48 @@ def __init__(__self__, *, :param bool is_nat_enabled: (Updatable) When enabled, the user is identified not only by the IP address but also by an unique additional hash, which prevents blocking visitors with shared IP addresses. :param 'PolicyWafConfigJsChallengeSetHttpHeaderArgs' set_http_header: (Updatable) Adds an additional HTTP header to requests that fail the challenge before being passed to the origin. Only applicable when the `action` is set to `DETECT`. """ - pulumi.set(__self__, "is_enabled", is_enabled) + PolicyWafConfigJsChallenge._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_enabled=is_enabled, + action=action, + action_expiration_in_seconds=action_expiration_in_seconds, + are_redirects_challenged=are_redirects_challenged, + challenge_settings=challenge_settings, + criterias=criterias, + failure_threshold=failure_threshold, + is_nat_enabled=is_nat_enabled, + set_http_header=set_http_header, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_enabled: bool, + action: Optional[str] = None, + action_expiration_in_seconds: Optional[int] = None, + are_redirects_challenged: Optional[bool] = None, + challenge_settings: Optional['outputs.PolicyWafConfigJsChallengeChallengeSettings'] = None, + criterias: Optional[Sequence['outputs.PolicyWafConfigJsChallengeCriteria']] = None, + failure_threshold: Optional[int] = None, + is_nat_enabled: Optional[bool] = None, + set_http_header: Optional['outputs.PolicyWafConfigJsChallengeSetHttpHeader'] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_enabled", is_enabled) if action is not None: - pulumi.set(__self__, "action", action) + _setter("action", action) if action_expiration_in_seconds is not None: - pulumi.set(__self__, "action_expiration_in_seconds", action_expiration_in_seconds) + _setter("action_expiration_in_seconds", action_expiration_in_seconds) if are_redirects_challenged is not None: - pulumi.set(__self__, "are_redirects_challenged", are_redirects_challenged) + _setter("are_redirects_challenged", are_redirects_challenged) if challenge_settings is not None: - pulumi.set(__self__, "challenge_settings", challenge_settings) + _setter("challenge_settings", challenge_settings) if criterias is not None: - pulumi.set(__self__, "criterias", criterias) + _setter("criterias", criterias) if failure_threshold is not None: - pulumi.set(__self__, "failure_threshold", failure_threshold) + _setter("failure_threshold", failure_threshold) if is_nat_enabled is not None: - pulumi.set(__self__, "is_nat_enabled", is_nat_enabled) + _setter("is_nat_enabled", is_nat_enabled) if set_http_header is not None: - pulumi.set(__self__, "set_http_header", set_http_header) + _setter("set_http_header", set_http_header) @property @pulumi.getter(name="isEnabled") @@ -3126,24 +3664,49 @@ def __init__(__self__, *, :param str captcha_submit_label: (Updatable) The text to show on the label of the CAPTCHA challenge submit button when `action` is set to `BLOCK`, `blockAction` is set to `SHOW_CAPTCHA`, and the request is blocked. If unspecified, defaults to `Yes, I am human`. :param str captcha_title: (Updatable) The title used when showing a CAPTCHA challenge when `action` is set to `BLOCK`, `blockAction` is set to `SHOW_CAPTCHA`, and the request is blocked. If unspecified, defaults to `Are you human?` """ + PolicyWafConfigJsChallengeChallengeSettings._configure( + lambda key, value: pulumi.set(__self__, key, value), + block_action=block_action, + block_error_page_code=block_error_page_code, + block_error_page_description=block_error_page_description, + block_error_page_message=block_error_page_message, + block_response_code=block_response_code, + captcha_footer=captcha_footer, + captcha_header=captcha_header, + captcha_submit_label=captcha_submit_label, + captcha_title=captcha_title, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + block_action: Optional[str] = None, + block_error_page_code: Optional[str] = None, + block_error_page_description: Optional[str] = None, + block_error_page_message: Optional[str] = None, + block_response_code: Optional[int] = None, + captcha_footer: Optional[str] = None, + captcha_header: Optional[str] = None, + captcha_submit_label: Optional[str] = None, + captcha_title: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if block_action is not None: - pulumi.set(__self__, "block_action", block_action) + _setter("block_action", block_action) if block_error_page_code is not None: - pulumi.set(__self__, "block_error_page_code", block_error_page_code) + _setter("block_error_page_code", block_error_page_code) if block_error_page_description is not None: - pulumi.set(__self__, "block_error_page_description", block_error_page_description) + _setter("block_error_page_description", block_error_page_description) if block_error_page_message is not None: - pulumi.set(__self__, "block_error_page_message", block_error_page_message) + _setter("block_error_page_message", block_error_page_message) if block_response_code is not None: - pulumi.set(__self__, "block_response_code", block_response_code) + _setter("block_response_code", block_response_code) if captcha_footer is not None: - pulumi.set(__self__, "captcha_footer", captcha_footer) + _setter("captcha_footer", captcha_footer) if captcha_header is not None: - pulumi.set(__self__, "captcha_header", captcha_header) + _setter("captcha_header", captcha_header) if captcha_submit_label is not None: - pulumi.set(__self__, "captcha_submit_label", captcha_submit_label) + _setter("captcha_submit_label", captcha_submit_label) if captcha_title is not None: - pulumi.set(__self__, "captcha_title", captcha_title) + _setter("captcha_title", captcha_title) @property @pulumi.getter(name="blockAction") @@ -3271,10 +3834,23 @@ def __init__(__self__, *, :param str value: (Updatable) The value of the header. :param bool is_case_sensitive: (Updatable) When enabled, the condition will be matched with case-sensitive rules. """ - pulumi.set(__self__, "condition", condition) - pulumi.set(__self__, "value", value) + PolicyWafConfigJsChallengeCriteria._configure( + lambda key, value: pulumi.set(__self__, key, value), + condition=condition, + value=value, + is_case_sensitive=is_case_sensitive, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + condition: str, + value: str, + is_case_sensitive: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("condition", condition) + _setter("value", value) if is_case_sensitive is not None: - pulumi.set(__self__, "is_case_sensitive", is_case_sensitive) + _setter("is_case_sensitive", is_case_sensitive) @property @pulumi.getter @@ -3339,8 +3915,19 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param str value: (Updatable) The value of the header. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + PolicyWafConfigJsChallengeSetHttpHeader._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("value", value) @property @pulumi.getter @@ -3459,32 +4046,65 @@ def __init__(__self__, *, Use `GET /waasPolicies/{waasPolicyId}/wafRecommendations` to view WAF recommendations. """ + PolicyWafConfigProtectionSettings._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_http_methods=allowed_http_methods, + block_action=block_action, + block_error_page_code=block_error_page_code, + block_error_page_description=block_error_page_description, + block_error_page_message=block_error_page_message, + block_response_code=block_response_code, + is_response_inspected=is_response_inspected, + max_argument_count=max_argument_count, + max_name_length_per_argument=max_name_length_per_argument, + max_response_size_in_ki_b=max_response_size_in_ki_b, + max_total_name_length_of_arguments=max_total_name_length_of_arguments, + media_types=media_types, + recommendations_period_in_days=recommendations_period_in_days, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_http_methods: Optional[Sequence[str]] = None, + block_action: Optional[str] = None, + block_error_page_code: Optional[str] = None, + block_error_page_description: Optional[str] = None, + block_error_page_message: Optional[str] = None, + block_response_code: Optional[int] = None, + is_response_inspected: Optional[bool] = None, + max_argument_count: Optional[int] = None, + max_name_length_per_argument: Optional[int] = None, + max_response_size_in_ki_b: Optional[int] = None, + max_total_name_length_of_arguments: Optional[int] = None, + media_types: Optional[Sequence[str]] = None, + recommendations_period_in_days: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if allowed_http_methods is not None: - pulumi.set(__self__, "allowed_http_methods", allowed_http_methods) + _setter("allowed_http_methods", allowed_http_methods) if block_action is not None: - pulumi.set(__self__, "block_action", block_action) + _setter("block_action", block_action) if block_error_page_code is not None: - pulumi.set(__self__, "block_error_page_code", block_error_page_code) + _setter("block_error_page_code", block_error_page_code) if block_error_page_description is not None: - pulumi.set(__self__, "block_error_page_description", block_error_page_description) + _setter("block_error_page_description", block_error_page_description) if block_error_page_message is not None: - pulumi.set(__self__, "block_error_page_message", block_error_page_message) + _setter("block_error_page_message", block_error_page_message) if block_response_code is not None: - pulumi.set(__self__, "block_response_code", block_response_code) + _setter("block_response_code", block_response_code) if is_response_inspected is not None: - pulumi.set(__self__, "is_response_inspected", is_response_inspected) + _setter("is_response_inspected", is_response_inspected) if max_argument_count is not None: - pulumi.set(__self__, "max_argument_count", max_argument_count) + _setter("max_argument_count", max_argument_count) if max_name_length_per_argument is not None: - pulumi.set(__self__, "max_name_length_per_argument", max_name_length_per_argument) + _setter("max_name_length_per_argument", max_name_length_per_argument) if max_response_size_in_ki_b is not None: - pulumi.set(__self__, "max_response_size_in_ki_b", max_response_size_in_ki_b) + _setter("max_response_size_in_ki_b", max_response_size_in_ki_b) if max_total_name_length_of_arguments is not None: - pulumi.set(__self__, "max_total_name_length_of_arguments", max_total_name_length_of_arguments) + _setter("max_total_name_length_of_arguments", max_total_name_length_of_arguments) if media_types is not None: - pulumi.set(__self__, "media_types", media_types) + _setter("media_types", media_types) if recommendations_period_in_days is not None: - pulumi.set(__self__, "recommendations_period_in_days", recommendations_period_in_days) + _setter("recommendations_period_in_days", recommendations_period_in_days) @property @pulumi.getter(name="allowedHttpMethods") @@ -3647,11 +4267,24 @@ def __init__(__self__, *, :param Sequence[str] address_lists: (Updatable) A list of [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of IP address lists to include in the whitelist. :param Sequence[str] addresses: (Updatable) A set of IP addresses or CIDR notations to include in the whitelist. """ - pulumi.set(__self__, "name", name) + PolicyWafConfigWhitelist._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + address_lists=address_lists, + addresses=addresses, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + address_lists: Optional[Sequence[str]] = None, + addresses: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) if address_lists is not None: - pulumi.set(__self__, "address_lists", address_lists) + _setter("address_lists", address_lists) if addresses is not None: - pulumi.set(__self__, "addresses", addresses) + _setter("addresses", addresses) @property @pulumi.getter @@ -3694,10 +4327,21 @@ def __init__(__self__, *, ** 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 """ + ProtectionRuleExclusion._configure( + lambda key, value: pulumi.set(__self__, key, value), + exclusions=exclusions, + target=target, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + exclusions: Optional[Sequence[str]] = None, + target: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if exclusions is not None: - pulumi.set(__self__, "exclusions", exclusions) + _setter("exclusions", exclusions) if target is not None: - pulumi.set(__self__, "target", target) + _setter("target", target) @property @pulumi.getter @@ -3742,15 +4386,40 @@ def __init__(__self__, *, :param str state: The current lifecycle state of the address list. :param str time_created: The date and time the address list was created, expressed in RFC 3339 timestamp format. """ - pulumi.set(__self__, "address_count", address_count) - pulumi.set(__self__, "addresses", addresses) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) + GetAddressListsAddressListResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + address_count=address_count, + addresses=addresses, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + state=state, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address_count: float, + addresses: Sequence[str], + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + state: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("address_count", address_count) + _setter("addresses", addresses) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("state", state) + _setter("time_created", time_created) @property @pulumi.getter(name="addressCount") @@ -3831,10 +4500,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetAddressListsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -3863,9 +4545,22 @@ def __init__(__self__, *, :param str name: The certificate extension name. :param str value: The certificate extension value. """ - pulumi.set(__self__, "is_critical", is_critical) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + GetCertificateExtensionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_critical=is_critical, + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_critical: bool, + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_critical", is_critical) + _setter("name", name) + _setter("value", value) @property @pulumi.getter(name="isCritical") @@ -3911,13 +4606,34 @@ def __init__(__self__, *, :param str organizational_unit: The field to differentiate between divisions within an organization. :param str state_province: The province where the organization is located. """ - pulumi.set(__self__, "common_name", common_name) - pulumi.set(__self__, "country", country) - pulumi.set(__self__, "email_address", email_address) - pulumi.set(__self__, "locality", locality) - pulumi.set(__self__, "organization", organization) - pulumi.set(__self__, "organizational_unit", organizational_unit) - pulumi.set(__self__, "state_province", state_province) + GetCertificateIssuerNameResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + common_name=common_name, + country=country, + email_address=email_address, + locality=locality, + organization=organization, + organizational_unit=organizational_unit, + state_province=state_province, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + common_name: str, + country: str, + email_address: str, + locality: str, + organization: str, + organizational_unit: str, + state_province: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("common_name", common_name) + _setter("country", country) + _setter("email_address", email_address) + _setter("locality", locality) + _setter("organization", organization) + _setter("organizational_unit", organizational_unit) + _setter("state_province", state_province) @property @pulumi.getter(name="commonName") @@ -3987,9 +4703,22 @@ def __init__(__self__, *, :param int exponent: The private key exponent. :param int key_size: The number of bits in a key used by a cryptographic algorithm. """ - pulumi.set(__self__, "algorithm", algorithm) - pulumi.set(__self__, "exponent", exponent) - pulumi.set(__self__, "key_size", key_size) + GetCertificatePublicKeyInfoResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + algorithm=algorithm, + exponent=exponent, + key_size=key_size, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + algorithm: str, + exponent: int, + key_size: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("algorithm", algorithm) + _setter("exponent", exponent) + _setter("key_size", key_size) @property @pulumi.getter @@ -4035,13 +4764,34 @@ def __init__(__self__, *, :param str organizational_unit: The field to differentiate between divisions within an organization. :param str state_province: The province where the organization is located. """ - pulumi.set(__self__, "common_name", common_name) - pulumi.set(__self__, "country", country) - pulumi.set(__self__, "email_address", email_address) - pulumi.set(__self__, "locality", locality) - pulumi.set(__self__, "organization", organization) - pulumi.set(__self__, "organizational_unit", organizational_unit) - pulumi.set(__self__, "state_province", state_province) + GetCertificateSubjectNameResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + common_name=common_name, + country=country, + email_address=email_address, + locality=locality, + organization=organization, + organizational_unit=organizational_unit, + state_province=state_province, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + common_name: str, + country: str, + email_address: str, + locality: str, + organization: str, + organizational_unit: str, + state_province: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("common_name", common_name) + _setter("country", country) + _setter("email_address", email_address) + _setter("locality", locality) + _setter("organization", organization) + _setter("organizational_unit", organizational_unit) + _setter("state_province", state_province) @property @pulumi.getter(name="commonName") @@ -4143,26 +4893,73 @@ def __init__(__self__, *, :param str time_not_valid_before: The date and time the certificate will become valid, expressed in RFC 3339 timestamp format. :param int version: The version of the encoded certificate. """ - pulumi.set(__self__, "certificate_data", certificate_data) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "extensions", extensions) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "is_trust_verification_disabled", is_trust_verification_disabled) - pulumi.set(__self__, "issued_by", issued_by) - pulumi.set(__self__, "issuer_names", issuer_names) - pulumi.set(__self__, "private_key_data", private_key_data) - pulumi.set(__self__, "public_key_infos", public_key_infos) - pulumi.set(__self__, "serial_number", serial_number) - pulumi.set(__self__, "signature_algorithm", signature_algorithm) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "subject_names", subject_names) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_not_valid_after", time_not_valid_after) - pulumi.set(__self__, "time_not_valid_before", time_not_valid_before) - pulumi.set(__self__, "version", version) + GetCertificatesCertificateResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + certificate_data=certificate_data, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + extensions=extensions, + freeform_tags=freeform_tags, + id=id, + is_trust_verification_disabled=is_trust_verification_disabled, + issued_by=issued_by, + issuer_names=issuer_names, + private_key_data=private_key_data, + public_key_infos=public_key_infos, + serial_number=serial_number, + signature_algorithm=signature_algorithm, + state=state, + subject_names=subject_names, + time_created=time_created, + time_not_valid_after=time_not_valid_after, + time_not_valid_before=time_not_valid_before, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + certificate_data: str, + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + extensions: Sequence['outputs.GetCertificatesCertificateExtensionResult'], + freeform_tags: Mapping[str, Any], + id: str, + is_trust_verification_disabled: bool, + issued_by: str, + issuer_names: Sequence['outputs.GetCertificatesCertificateIssuerNameResult'], + private_key_data: str, + public_key_infos: Sequence['outputs.GetCertificatesCertificatePublicKeyInfoResult'], + serial_number: str, + signature_algorithm: str, + state: str, + subject_names: Sequence['outputs.GetCertificatesCertificateSubjectNameResult'], + time_created: str, + time_not_valid_after: str, + time_not_valid_before: str, + version: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("certificate_data", certificate_data) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("extensions", extensions) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("is_trust_verification_disabled", is_trust_verification_disabled) + _setter("issued_by", issued_by) + _setter("issuer_names", issuer_names) + _setter("private_key_data", private_key_data) + _setter("public_key_infos", public_key_infos) + _setter("serial_number", serial_number) + _setter("signature_algorithm", signature_algorithm) + _setter("state", state) + _setter("subject_names", subject_names) + _setter("time_created", time_created) + _setter("time_not_valid_after", time_not_valid_after) + _setter("time_not_valid_before", time_not_valid_before) + _setter("version", version) @property @pulumi.getter(name="certificateData") @@ -4330,9 +5127,22 @@ def __init__(__self__, *, :param str name: The certificate extension name. :param str value: The certificate extension value. """ - pulumi.set(__self__, "is_critical", is_critical) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + GetCertificatesCertificateExtensionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + is_critical=is_critical, + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + is_critical: bool, + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("is_critical", is_critical) + _setter("name", name) + _setter("value", value) @property @pulumi.getter(name="isCritical") @@ -4378,13 +5188,34 @@ def __init__(__self__, *, :param str organizational_unit: The field to differentiate between divisions within an organization. :param str state_province: The province where the organization is located. """ - pulumi.set(__self__, "common_name", common_name) - pulumi.set(__self__, "country", country) - pulumi.set(__self__, "email_address", email_address) - pulumi.set(__self__, "locality", locality) - pulumi.set(__self__, "organization", organization) - pulumi.set(__self__, "organizational_unit", organizational_unit) - pulumi.set(__self__, "state_province", state_province) + GetCertificatesCertificateIssuerNameResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + common_name=common_name, + country=country, + email_address=email_address, + locality=locality, + organization=organization, + organizational_unit=organizational_unit, + state_province=state_province, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + common_name: str, + country: str, + email_address: str, + locality: str, + organization: str, + organizational_unit: str, + state_province: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("common_name", common_name) + _setter("country", country) + _setter("email_address", email_address) + _setter("locality", locality) + _setter("organization", organization) + _setter("organizational_unit", organizational_unit) + _setter("state_province", state_province) @property @pulumi.getter(name="commonName") @@ -4454,9 +5285,22 @@ def __init__(__self__, *, :param int exponent: The private key exponent. :param int key_size: The number of bits in a key used by a cryptographic algorithm. """ - pulumi.set(__self__, "algorithm", algorithm) - pulumi.set(__self__, "exponent", exponent) - pulumi.set(__self__, "key_size", key_size) + GetCertificatesCertificatePublicKeyInfoResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + algorithm=algorithm, + exponent=exponent, + key_size=key_size, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + algorithm: str, + exponent: int, + key_size: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("algorithm", algorithm) + _setter("exponent", exponent) + _setter("key_size", key_size) @property @pulumi.getter @@ -4502,13 +5346,34 @@ def __init__(__self__, *, :param str organizational_unit: The field to differentiate between divisions within an organization. :param str state_province: The province where the organization is located. """ - pulumi.set(__self__, "common_name", common_name) - pulumi.set(__self__, "country", country) - pulumi.set(__self__, "email_address", email_address) - pulumi.set(__self__, "locality", locality) - pulumi.set(__self__, "organization", organization) - pulumi.set(__self__, "organizational_unit", organizational_unit) - pulumi.set(__self__, "state_province", state_province) + GetCertificatesCertificateSubjectNameResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + common_name=common_name, + country=country, + email_address=email_address, + locality=locality, + organization=organization, + organizational_unit=organizational_unit, + state_province=state_province, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + common_name: str, + country: str, + email_address: str, + locality: str, + organization: str, + organizational_unit: str, + state_province: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("common_name", common_name) + _setter("country", country) + _setter("email_address", email_address) + _setter("locality", locality) + _setter("organization", organization) + _setter("organizational_unit", organizational_unit) + _setter("state_province", state_province) @property @pulumi.getter(name="commonName") @@ -4576,10 +5441,23 @@ def __init__(__self__, *, """ :param str name: The certificate extension name. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetCertificatesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4625,16 +5503,43 @@ def __init__(__self__, *, :param str template: The template text of the custom protection rule. All custom protection rules are expressed in ModSecurity Rule Language. :param str time_created: The date and time the protection rule was created, expressed in RFC 3339 timestamp format. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "mod_security_rule_ids", mod_security_rule_ids) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "template", template) - pulumi.set(__self__, "time_created", time_created) + GetCustomProtectionRulesCustomProtectionRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + description=description, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + mod_security_rule_ids=mod_security_rule_ids, + state=state, + template=template, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + description: str, + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + mod_security_rule_ids: Sequence[str], + state: str, + template: str, + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("description", description) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("mod_security_rule_ids", mod_security_rule_ids) + _setter("state", state) + _setter("template", template) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -4723,10 +5628,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetCustomProtectionRulesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4755,9 +5673,22 @@ def __init__(__self__, *, :param str region: The name of the region containing the indicated subnet. :param str time_modified: The date and time the last change was made to the indicated edge node subnet, expressed in RFC 3339 timestamp format. """ - pulumi.set(__self__, "cidr", cidr) - pulumi.set(__self__, "region", region) - pulumi.set(__self__, "time_modified", time_modified) + GetEdgeSubnetsEdgeSubnetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + cidr=cidr, + region=region, + time_modified=time_modified, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + cidr: str, + region: str, + time_modified: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("cidr", cidr) + _setter("region", region) + _setter("time_modified", time_modified) @property @pulumi.getter @@ -4790,10 +5721,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetEdgeSubnetsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4826,11 +5770,28 @@ def __init__(__self__, *, :param str protocol: The protocol used for the target, http or https. :param str query: The query component of the target URL (e.g., "?redirected" in "https://target.example.com/path/to/resource?redirected"), which can be empty, static, or request-copying. Use of \\ is not permitted except to escape a following \\, {, or }. An empty value results in a redirection target URL with no query component. A static value must begin with a leading "?", optionally followed by other query characters. A request-copying value must exactly match "{query}", and will be replaced with the query component of the request URL (including a leading "?" if and only if the request URL includes a query component). """ - pulumi.set(__self__, "host", host) - pulumi.set(__self__, "path", path) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "query", query) + GetHttpRedirectTargetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + host=host, + path=path, + port=port, + protocol=protocol, + query=query, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host: str, + path: str, + port: int, + protocol: str, + query: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("host", host) + _setter("path", path) + _setter("port", port) + _setter("protocol", protocol) + _setter("query", query) @property @pulumi.getter @@ -4879,10 +5840,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetHttpRedirectsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -4925,16 +5899,43 @@ def __init__(__self__, *, :param Sequence['GetHttpRedirectsHttpRedirectTargetArgs'] targets: The redirect target object including all the redirect data. :param str time_created: The date and time the policy was created, expressed in RFC 3339 timestamp format. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "domain", domain) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "response_code", response_code) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "targets", targets) - pulumi.set(__self__, "time_created", time_created) + GetHttpRedirectsHttpRedirectResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + domain=domain, + freeform_tags=freeform_tags, + id=id, + response_code=response_code, + state=state, + targets=targets, + time_created=time_created, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + domain: str, + freeform_tags: Mapping[str, Any], + id: str, + response_code: int, + state: str, + targets: Sequence['outputs.GetHttpRedirectsHttpRedirectTargetResult'], + time_created: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("domain", domain) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("response_code", response_code) + _setter("state", state) + _setter("targets", targets) + _setter("time_created", time_created) @property @pulumi.getter(name="compartmentId") @@ -5032,11 +6033,28 @@ def __init__(__self__, *, :param str protocol: The protocol used for the target, http or https. :param str query: The query component of the target URL (e.g., "?redirected" in "https://target.example.com/path/to/resource?redirected"), which can be empty, static, or request-copying. Use of \\ is not permitted except to escape a following \\, {, or }. An empty value results in a redirection target URL with no query component. A static value must begin with a leading "?", optionally followed by other query characters. A request-copying value must exactly match "{query}", and will be replaced with the query component of the request URL (including a leading "?" if and only if the request URL includes a query component). """ - pulumi.set(__self__, "host", host) - pulumi.set(__self__, "path", path) - pulumi.set(__self__, "port", port) - pulumi.set(__self__, "protocol", protocol) - pulumi.set(__self__, "query", query) + GetHttpRedirectsHttpRedirectTargetResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + host=host, + path=path, + port=port, + protocol=protocol, + query=query, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + host: str, + path: str, + port: int, + protocol: str, + query: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("host", host) + _setter("path", path) + _setter("port", port) + _setter("protocol", protocol) + _setter("query", query) @property @pulumi.getter @@ -5088,8 +6106,19 @@ def __init__(__self__, *, :param Sequence[str] exclusions: An array of The target property of a request that would allow it to bypass the protection rule. For example, when `target` is `REQUEST_COOKIE_NAMES`, the list may include names of cookies to exclude from the protection rule. When the target is `ARGS`, the list may include strings of URL query parameters and values from form-urlencoded XML, JSON, AMP, or POST payloads to exclude from the protection rule. `Exclusions` properties must not contain whitespace, comma or |. **Note:** If protection rules have been enabled that utilize the `maxArgumentCount` or `maxTotalNameLengthOfArguments` properties, and the `target` property has been set to `ARGS`, it is important that the `exclusions` properties be defined to honor those protection rule settings in a consistent manner. :param str target: The target of the exclusion. """ - pulumi.set(__self__, "exclusions", exclusions) - pulumi.set(__self__, "target", target) + GetProtectionRuleExclusionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + exclusions=exclusions, + target=target, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + exclusions: Sequence[str], + target: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("exclusions", exclusions) + _setter("target", target) @property @pulumi.getter @@ -5117,10 +6146,23 @@ def __init__(__self__, *, """ :param str name: The name of the protection rule. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetProtectionRulesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5162,14 +6204,37 @@ def __init__(__self__, *, :param str name: The name of the protection rule. :param str waas_policy_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the WAAS policy. """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "exclusions", exclusions) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "labels", labels) - pulumi.set(__self__, "mod_security_rule_ids", mod_security_rule_ids) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "waas_policy_id", waas_policy_id) + GetProtectionRulesProtectionRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + description=description, + exclusions=exclusions, + key=key, + labels=labels, + mod_security_rule_ids=mod_security_rule_ids, + name=name, + waas_policy_id=waas_policy_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: str, + description: str, + exclusions: Sequence['outputs.GetProtectionRulesProtectionRuleExclusionResult'], + key: str, + labels: Sequence[str], + mod_security_rule_ids: Sequence[str], + name: str, + waas_policy_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("description", description) + _setter("exclusions", exclusions) + _setter("key", key) + _setter("labels", labels) + _setter("mod_security_rule_ids", mod_security_rule_ids) + _setter("name", name) + _setter("waas_policy_id", waas_policy_id) @property @pulumi.getter @@ -5245,8 +6310,19 @@ def __init__(__self__, *, :param Sequence[str] exclusions: An array of The target property of a request that would allow it to bypass the protection rule. For example, when `target` is `REQUEST_COOKIE_NAMES`, the list may include names of cookies to exclude from the protection rule. When the target is `ARGS`, the list may include strings of URL query parameters and values from form-urlencoded XML, JSON, AMP, or POST payloads to exclude from the protection rule. `Exclusions` properties must not contain whitespace, comma or |. **Note:** If protection rules have been enabled that utilize the `maxArgumentCount` or `maxTotalNameLengthOfArguments` properties, and the `target` property has been set to `ARGS`, it is important that the `exclusions` properties be defined to honor those protection rule settings in a consistent manner. :param str target: The target of the exclusion. """ - pulumi.set(__self__, "exclusions", exclusions) - pulumi.set(__self__, "target", target) + GetProtectionRulesProtectionRuleExclusionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + exclusions=exclusions, + target=target, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + exclusions: Sequence[str], + target: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("exclusions", exclusions) + _setter("target", target) @property @pulumi.getter @@ -5274,10 +6350,23 @@ def __init__(__self__, *, """ :param str name: The unique name of the whitelist. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetWaasPoliciesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -5331,20 +6420,55 @@ def __init__(__self__, *, :param str time_created: The date and time the policy was created, expressed in RFC 3339 timestamp format. :param Sequence['GetWaasPoliciesWaasPolicyWafConfigArgs'] waf_configs: The Web Application Firewall configuration for the WAAS policy. """ - pulumi.set(__self__, "additional_domains", additional_domains) - pulumi.set(__self__, "cname", cname) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "domain", domain) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "origin_groups", origin_groups) - pulumi.set(__self__, "origins", origins) - pulumi.set(__self__, "policy_configs", policy_configs) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "waf_configs", waf_configs) + GetWaasPoliciesWaasPolicyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + additional_domains=additional_domains, + cname=cname, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + domain=domain, + freeform_tags=freeform_tags, + id=id, + origin_groups=origin_groups, + origins=origins, + policy_configs=policy_configs, + state=state, + time_created=time_created, + waf_configs=waf_configs, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + additional_domains: Sequence[str], + cname: str, + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + domain: str, + freeform_tags: Mapping[str, Any], + id: str, + origin_groups: Sequence['outputs.GetWaasPoliciesWaasPolicyOriginGroupResult'], + origins: Sequence['outputs.GetWaasPoliciesWaasPolicyOriginResult'], + policy_configs: Sequence['outputs.GetWaasPoliciesWaasPolicyPolicyConfigResult'], + state: str, + time_created: str, + waf_configs: Sequence['outputs.GetWaasPoliciesWaasPolicyWafConfigResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("additional_domains", additional_domains) + _setter("cname", cname) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("domain", domain) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("origin_groups", origin_groups) + _setter("origins", origins) + _setter("policy_configs", policy_configs) + _setter("state", state) + _setter("time_created", time_created) + _setter("waf_configs", waf_configs) @property @pulumi.getter(name="additionalDomains") @@ -5473,11 +6597,28 @@ def __init__(__self__, *, :param int https_port: The HTTPS port on the origin that the web application listens on. If unspecified, defaults to `443`. If `0` is specified - the origin is not used for HTTPS traffic. :param str uri: The URI of the origin. Does not support paths. Port numbers should be specified in the `httpPort` and `httpsPort` fields. """ - pulumi.set(__self__, "custom_headers", custom_headers) - pulumi.set(__self__, "http_port", http_port) - pulumi.set(__self__, "https_port", https_port) - pulumi.set(__self__, "label", label) - pulumi.set(__self__, "uri", uri) + GetWaasPoliciesWaasPolicyOriginResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_headers=custom_headers, + http_port=http_port, + https_port=https_port, + label=label, + uri=uri, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_headers: Sequence['outputs.GetWaasPoliciesWaasPolicyOriginCustomHeaderResult'], + http_port: int, + https_port: int, + label: str, + uri: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("custom_headers", custom_headers) + _setter("http_port", http_port) + _setter("https_port", https_port) + _setter("label", label) + _setter("uri", uri) @property @pulumi.getter(name="customHeaders") @@ -5526,8 +6667,19 @@ def __init__(__self__, *, :param str name: The unique name of the whitelist. :param str value: The value of the header. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + GetWaasPoliciesWaasPolicyOriginCustomHeaderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("value", value) @property @pulumi.getter @@ -5551,8 +6703,19 @@ class GetWaasPoliciesWaasPolicyOriginGroupResult(dict): def __init__(__self__, *, label: str, origin_groups: Sequence['outputs.GetWaasPoliciesWaasPolicyOriginGroupOriginGroupResult']): - pulumi.set(__self__, "label", label) - pulumi.set(__self__, "origin_groups", origin_groups) + GetWaasPoliciesWaasPolicyOriginGroupResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + label=label, + origin_groups=origin_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + label: str, + origin_groups: Sequence['outputs.GetWaasPoliciesWaasPolicyOriginGroupOriginGroupResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("label", label) + _setter("origin_groups", origin_groups) @property @pulumi.getter @@ -5573,8 +6736,19 @@ def __init__(__self__, *, """ :param str origin: The key in the map of origins referencing the origin used for the Web Application Firewall. The origin must already be included in `Origins`. Required when creating the `WafConfig` resource, but not on update. """ - pulumi.set(__self__, "origin", origin) - pulumi.set(__self__, "weight", weight) + GetWaasPoliciesWaasPolicyOriginGroupOriginGroupResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + origin=origin, + weight=weight, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + origin: str, + weight: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("origin", origin) + _setter("weight", weight) @property @pulumi.getter @@ -5628,20 +6802,55 @@ def __init__(__self__, *, * **TLS_V1_3:** corresponds to TLS 1.3 specification. :param Sequence[str] websocket_path_prefixes: ModSecurity is not capable to inspect WebSockets. Therefore paths specified here have WAF disabled if Connection request header from the client has the value Upgrade (case insensitive matching) and Upgrade request header has the value websocket (case insensitive matching). Paths matches if the concatenation of request URL path and query starts with the contents of the one of `websocketPathPrefixes` array value. In All other cases challenges, like JSC, HIC and etc., remain active. """ - pulumi.set(__self__, "certificate_id", certificate_id) - pulumi.set(__self__, "cipher_group", cipher_group) - pulumi.set(__self__, "client_address_header", client_address_header) - pulumi.set(__self__, "health_checks", health_checks) - pulumi.set(__self__, "is_behind_cdn", is_behind_cdn) - pulumi.set(__self__, "is_cache_control_respected", is_cache_control_respected) - pulumi.set(__self__, "is_https_enabled", is_https_enabled) - pulumi.set(__self__, "is_https_forced", is_https_forced) - pulumi.set(__self__, "is_origin_compression_enabled", is_origin_compression_enabled) - pulumi.set(__self__, "is_response_buffering_enabled", is_response_buffering_enabled) - pulumi.set(__self__, "is_sni_enabled", is_sni_enabled) - pulumi.set(__self__, "load_balancing_methods", load_balancing_methods) - pulumi.set(__self__, "tls_protocols", tls_protocols) - pulumi.set(__self__, "websocket_path_prefixes", websocket_path_prefixes) + GetWaasPoliciesWaasPolicyPolicyConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + certificate_id=certificate_id, + cipher_group=cipher_group, + client_address_header=client_address_header, + health_checks=health_checks, + is_behind_cdn=is_behind_cdn, + is_cache_control_respected=is_cache_control_respected, + is_https_enabled=is_https_enabled, + is_https_forced=is_https_forced, + is_origin_compression_enabled=is_origin_compression_enabled, + is_response_buffering_enabled=is_response_buffering_enabled, + is_sni_enabled=is_sni_enabled, + load_balancing_methods=load_balancing_methods, + tls_protocols=tls_protocols, + websocket_path_prefixes=websocket_path_prefixes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + certificate_id: str, + cipher_group: str, + client_address_header: str, + health_checks: Sequence['outputs.GetWaasPoliciesWaasPolicyPolicyConfigHealthCheckResult'], + is_behind_cdn: bool, + is_cache_control_respected: bool, + is_https_enabled: bool, + is_https_forced: bool, + is_origin_compression_enabled: bool, + is_response_buffering_enabled: bool, + is_sni_enabled: bool, + load_balancing_methods: Sequence['outputs.GetWaasPoliciesWaasPolicyPolicyConfigLoadBalancingMethodResult'], + tls_protocols: Sequence[str], + websocket_path_prefixes: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("certificate_id", certificate_id) + _setter("cipher_group", cipher_group) + _setter("client_address_header", client_address_header) + _setter("health_checks", health_checks) + _setter("is_behind_cdn", is_behind_cdn) + _setter("is_cache_control_respected", is_cache_control_respected) + _setter("is_https_enabled", is_https_enabled) + _setter("is_https_forced", is_https_forced) + _setter("is_origin_compression_enabled", is_origin_compression_enabled) + _setter("is_response_buffering_enabled", is_response_buffering_enabled) + _setter("is_sni_enabled", is_sni_enabled) + _setter("load_balancing_methods", load_balancing_methods) + _setter("tls_protocols", tls_protocols) + _setter("websocket_path_prefixes", websocket_path_prefixes) @property @pulumi.getter(name="certificateId") @@ -5795,17 +7004,46 @@ def __init__(__self__, *, :param int timeout_in_seconds: Response timeout represents wait time until request is considered failed, in seconds. :param int unhealthy_threshold: Number of failed health checks after which the server is marked down. """ - pulumi.set(__self__, "expected_response_code_groups", expected_response_code_groups) - pulumi.set(__self__, "expected_response_text", expected_response_text) - pulumi.set(__self__, "headers", headers) - pulumi.set(__self__, "healthy_threshold", healthy_threshold) - pulumi.set(__self__, "interval_in_seconds", interval_in_seconds) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "is_response_text_check_enabled", is_response_text_check_enabled) - pulumi.set(__self__, "method", method) - pulumi.set(__self__, "path", path) - pulumi.set(__self__, "timeout_in_seconds", timeout_in_seconds) - pulumi.set(__self__, "unhealthy_threshold", unhealthy_threshold) + GetWaasPoliciesWaasPolicyPolicyConfigHealthCheckResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + expected_response_code_groups=expected_response_code_groups, + expected_response_text=expected_response_text, + headers=headers, + healthy_threshold=healthy_threshold, + interval_in_seconds=interval_in_seconds, + is_enabled=is_enabled, + is_response_text_check_enabled=is_response_text_check_enabled, + method=method, + path=path, + timeout_in_seconds=timeout_in_seconds, + unhealthy_threshold=unhealthy_threshold, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + expected_response_code_groups: Sequence[str], + expected_response_text: str, + headers: Mapping[str, Any], + healthy_threshold: int, + interval_in_seconds: int, + is_enabled: bool, + is_response_text_check_enabled: bool, + method: str, + path: str, + timeout_in_seconds: int, + unhealthy_threshold: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("expected_response_code_groups", expected_response_code_groups) + _setter("expected_response_text", expected_response_text) + _setter("headers", headers) + _setter("healthy_threshold", healthy_threshold) + _setter("interval_in_seconds", interval_in_seconds) + _setter("is_enabled", is_enabled) + _setter("is_response_text_check_enabled", is_response_text_check_enabled) + _setter("method", method) + _setter("path", path) + _setter("timeout_in_seconds", timeout_in_seconds) + _setter("unhealthy_threshold", unhealthy_threshold) @property @pulumi.getter(name="expectedResponseCodeGroups") @@ -5919,10 +7157,25 @@ def __init__(__self__, *, * **[STICKY_COOKIE](https://www.terraform.io/iaas/api/#/en/waas/latest/datatypes/StickyCookieLoadBalancingMethod):** Adds a session cookie to the first response from the origin server and identifies the server that sent the response. The client's next request contains the cookie value, and nginx routes the request to the origin server that responded to the first request. STICKY_COOKIE load balancing method falls back to Round Robin for the first request. :param str name: The unique name of the whitelist. """ - pulumi.set(__self__, "domain", domain) - pulumi.set(__self__, "expiration_time_in_seconds", expiration_time_in_seconds) - pulumi.set(__self__, "method", method) - pulumi.set(__self__, "name", name) + GetWaasPoliciesWaasPolicyPolicyConfigLoadBalancingMethodResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + domain=domain, + expiration_time_in_seconds=expiration_time_in_seconds, + method=method, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + domain: str, + expiration_time_in_seconds: int, + method: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("domain", domain) + _setter("expiration_time_in_seconds", expiration_time_in_seconds) + _setter("method", method) + _setter("name", name) @property @pulumi.getter @@ -5989,18 +7242,49 @@ def __init__(__self__, *, :param Sequence['GetWaasPoliciesWaasPolicyWafConfigProtectionSettingArgs'] protection_settings: The settings to apply to protection rules. :param Sequence['GetWaasPoliciesWaasPolicyWafConfigWhitelistArgs'] whitelists: A list of IP addresses that bypass the Web Application Firewall. """ - pulumi.set(__self__, "access_rules", access_rules) - pulumi.set(__self__, "address_rate_limitings", address_rate_limitings) - pulumi.set(__self__, "caching_rules", caching_rules) - pulumi.set(__self__, "captchas", captchas) - pulumi.set(__self__, "custom_protection_rules", custom_protection_rules) - pulumi.set(__self__, "device_fingerprint_challenges", device_fingerprint_challenges) - pulumi.set(__self__, "human_interaction_challenges", human_interaction_challenges) - pulumi.set(__self__, "js_challenges", js_challenges) - pulumi.set(__self__, "origin", origin) - pulumi.set(__self__, "origin_groups", origin_groups) - pulumi.set(__self__, "protection_settings", protection_settings) - pulumi.set(__self__, "whitelists", whitelists) + GetWaasPoliciesWaasPolicyWafConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + access_rules=access_rules, + address_rate_limitings=address_rate_limitings, + caching_rules=caching_rules, + captchas=captchas, + custom_protection_rules=custom_protection_rules, + device_fingerprint_challenges=device_fingerprint_challenges, + human_interaction_challenges=human_interaction_challenges, + js_challenges=js_challenges, + origin=origin, + origin_groups=origin_groups, + protection_settings=protection_settings, + whitelists=whitelists, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access_rules: Sequence['outputs.GetWaasPoliciesWaasPolicyWafConfigAccessRuleResult'], + address_rate_limitings: Sequence['outputs.GetWaasPoliciesWaasPolicyWafConfigAddressRateLimitingResult'], + caching_rules: Sequence['outputs.GetWaasPoliciesWaasPolicyWafConfigCachingRuleResult'], + captchas: Sequence['outputs.GetWaasPoliciesWaasPolicyWafConfigCaptchaResult'], + custom_protection_rules: Sequence['outputs.GetWaasPoliciesWaasPolicyWafConfigCustomProtectionRuleResult'], + device_fingerprint_challenges: Sequence['outputs.GetWaasPoliciesWaasPolicyWafConfigDeviceFingerprintChallengeResult'], + human_interaction_challenges: Sequence['outputs.GetWaasPoliciesWaasPolicyWafConfigHumanInteractionChallengeResult'], + js_challenges: Sequence['outputs.GetWaasPoliciesWaasPolicyWafConfigJsChallengeResult'], + origin: str, + origin_groups: Sequence[str], + protection_settings: Sequence['outputs.GetWaasPoliciesWaasPolicyWafConfigProtectionSettingResult'], + whitelists: Sequence['outputs.GetWaasPoliciesWaasPolicyWafConfigWhitelistResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("access_rules", access_rules) + _setter("address_rate_limitings", address_rate_limitings) + _setter("caching_rules", caching_rules) + _setter("captchas", captchas) + _setter("custom_protection_rules", custom_protection_rules) + _setter("device_fingerprint_challenges", device_fingerprint_challenges) + _setter("human_interaction_challenges", human_interaction_challenges) + _setter("js_challenges", js_challenges) + _setter("origin", origin) + _setter("origin_groups", origin_groups) + _setter("protection_settings", protection_settings) + _setter("whitelists", whitelists) @property @pulumi.getter(name="accessRules") @@ -6142,22 +7426,61 @@ def __init__(__self__, *, :param str redirect_url: The target to which the request should be redirected, represented as a URI reference. Required when `action` is `REDIRECT`. :param Sequence['GetWaasPoliciesWaasPolicyWafConfigAccessRuleResponseHeaderManipulationArgs'] response_header_manipulations: An object that represents an action to apply to an HTTP response headers if all rule criteria will be matched regardless of `action` value. """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "block_action", block_action) - pulumi.set(__self__, "block_error_page_code", block_error_page_code) - pulumi.set(__self__, "block_error_page_description", block_error_page_description) - pulumi.set(__self__, "block_error_page_message", block_error_page_message) - pulumi.set(__self__, "block_response_code", block_response_code) - pulumi.set(__self__, "bypass_challenges", bypass_challenges) - pulumi.set(__self__, "captcha_footer", captcha_footer) - pulumi.set(__self__, "captcha_header", captcha_header) - pulumi.set(__self__, "captcha_submit_label", captcha_submit_label) - pulumi.set(__self__, "captcha_title", captcha_title) - pulumi.set(__self__, "criterias", criterias) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "redirect_response_code", redirect_response_code) - pulumi.set(__self__, "redirect_url", redirect_url) - pulumi.set(__self__, "response_header_manipulations", response_header_manipulations) + GetWaasPoliciesWaasPolicyWafConfigAccessRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + block_action=block_action, + block_error_page_code=block_error_page_code, + block_error_page_description=block_error_page_description, + block_error_page_message=block_error_page_message, + block_response_code=block_response_code, + bypass_challenges=bypass_challenges, + captcha_footer=captcha_footer, + captcha_header=captcha_header, + captcha_submit_label=captcha_submit_label, + captcha_title=captcha_title, + criterias=criterias, + name=name, + redirect_response_code=redirect_response_code, + redirect_url=redirect_url, + response_header_manipulations=response_header_manipulations, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: str, + block_action: str, + block_error_page_code: str, + block_error_page_description: str, + block_error_page_message: str, + block_response_code: int, + bypass_challenges: Sequence[str], + captcha_footer: str, + captcha_header: str, + captcha_submit_label: str, + captcha_title: str, + criterias: Sequence['outputs.GetWaasPoliciesWaasPolicyWafConfigAccessRuleCriteriaResult'], + name: str, + redirect_response_code: str, + redirect_url: str, + response_header_manipulations: Sequence['outputs.GetWaasPoliciesWaasPolicyWafConfigAccessRuleResponseHeaderManipulationResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("block_action", block_action) + _setter("block_error_page_code", block_error_page_code) + _setter("block_error_page_description", block_error_page_description) + _setter("block_error_page_message", block_error_page_message) + _setter("block_response_code", block_response_code) + _setter("bypass_challenges", bypass_challenges) + _setter("captcha_footer", captcha_footer) + _setter("captcha_header", captcha_header) + _setter("captcha_submit_label", captcha_submit_label) + _setter("captcha_title", captcha_title) + _setter("criterias", criterias) + _setter("name", name) + _setter("redirect_response_code", redirect_response_code) + _setter("redirect_url", redirect_url) + _setter("response_header_manipulations", response_header_manipulations) @property @pulumi.getter @@ -6321,9 +7644,22 @@ def __init__(__self__, *, :param bool is_case_sensitive: When enabled, the condition will be matched with case-sensitive rules. :param str value: The value of the header. """ - pulumi.set(__self__, "condition", condition) - pulumi.set(__self__, "is_case_sensitive", is_case_sensitive) - pulumi.set(__self__, "value", value) + GetWaasPoliciesWaasPolicyWafConfigAccessRuleCriteriaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + condition=condition, + is_case_sensitive=is_case_sensitive, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + condition: str, + is_case_sensitive: bool, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("condition", condition) + _setter("is_case_sensitive", is_case_sensitive) + _setter("value", value) @property @pulumi.getter @@ -6377,9 +7713,22 @@ def __init__(__self__, *, :param str header: A header field name that conforms to RFC 7230. Example: `example_header_name` :param str value: The value of the header. """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "header", header) - pulumi.set(__self__, "value", value) + GetWaasPoliciesWaasPolicyWafConfigAccessRuleResponseHeaderManipulationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + header=header, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: str, + header: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("header", header) + _setter("value", value) @property @pulumi.getter @@ -6419,10 +7768,25 @@ def __init__(__self__, *, :param bool is_enabled: Enables or disables the JavaScript challenge Web Application Firewall feature. :param int max_delayed_count_per_address: The maximum number of requests allowed to be queued before subsequent requests are dropped. If unspecified, defaults to `10`. """ - pulumi.set(__self__, "allowed_rate_per_address", allowed_rate_per_address) - pulumi.set(__self__, "block_response_code", block_response_code) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "max_delayed_count_per_address", max_delayed_count_per_address) + GetWaasPoliciesWaasPolicyWafConfigAddressRateLimitingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_rate_per_address=allowed_rate_per_address, + block_response_code=block_response_code, + is_enabled=is_enabled, + max_delayed_count_per_address=max_delayed_count_per_address, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_rate_per_address: int, + block_response_code: int, + is_enabled: bool, + max_delayed_count_per_address: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allowed_rate_per_address", allowed_rate_per_address) + _setter("block_response_code", block_response_code) + _setter("is_enabled", is_enabled) + _setter("max_delayed_count_per_address", max_delayed_count_per_address) @property @pulumi.getter(name="allowedRatePerAddress") @@ -6476,13 +7840,34 @@ def __init__(__self__, *, :param str key: The unique key for the caching rule. :param str name: The unique name of the whitelist. """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "caching_duration", caching_duration) - pulumi.set(__self__, "client_caching_duration", client_caching_duration) - pulumi.set(__self__, "criterias", criterias) - pulumi.set(__self__, "is_client_caching_enabled", is_client_caching_enabled) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "name", name) + GetWaasPoliciesWaasPolicyWafConfigCachingRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + caching_duration=caching_duration, + client_caching_duration=client_caching_duration, + criterias=criterias, + is_client_caching_enabled=is_client_caching_enabled, + key=key, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: str, + caching_duration: str, + client_caching_duration: str, + criterias: Sequence['outputs.GetWaasPoliciesWaasPolicyWafConfigCachingRuleCriteriaResult'], + is_client_caching_enabled: bool, + key: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("caching_duration", caching_duration) + _setter("client_caching_duration", client_caching_duration) + _setter("criterias", criterias) + _setter("is_client_caching_enabled", is_client_caching_enabled) + _setter("key", key) + _setter("name", name) @property @pulumi.getter @@ -6566,8 +7951,19 @@ def __init__(__self__, *, * **HTTP_METHOD_IS:** Matches if the request method is identical to one of the values listed in field. The `value` in this case is string with one or multiple HTTP methods separated by new line symbol \\n The list of available methods: `GET`, `HEAD`, `POST`, `PUT`, `DELETE`, `CONNECT`, `OPTIONS`, `TRACE`, `PATCH` :param str value: The value of the header. """ - pulumi.set(__self__, "condition", condition) - pulumi.set(__self__, "value", value) + GetWaasPoliciesWaasPolicyWafConfigCachingRuleCriteriaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + condition=condition, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + condition: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("condition", condition) + _setter("value", value) @property @pulumi.getter @@ -6621,13 +8017,34 @@ def __init__(__self__, *, :param str title: The title used when displaying a CAPTCHA challenge. If unspecified, defaults to `Are you human?` :param str url: The unique URL path at which to show the CAPTCHA challenge. """ - pulumi.set(__self__, "failure_message", failure_message) - pulumi.set(__self__, "footer_text", footer_text) - pulumi.set(__self__, "header_text", header_text) - pulumi.set(__self__, "session_expiration_in_seconds", session_expiration_in_seconds) - pulumi.set(__self__, "submit_label", submit_label) - pulumi.set(__self__, "title", title) - pulumi.set(__self__, "url", url) + GetWaasPoliciesWaasPolicyWafConfigCaptchaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + failure_message=failure_message, + footer_text=footer_text, + header_text=header_text, + session_expiration_in_seconds=session_expiration_in_seconds, + submit_label=submit_label, + title=title, + url=url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + failure_message: str, + footer_text: str, + header_text: str, + session_expiration_in_seconds: int, + submit_label: str, + title: str, + url: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("failure_message", failure_message) + _setter("footer_text", footer_text) + _setter("header_text", header_text) + _setter("session_expiration_in_seconds", session_expiration_in_seconds) + _setter("submit_label", submit_label) + _setter("title", title) + _setter("url", url) @property @pulumi.getter(name="failureMessage") @@ -6697,9 +8114,22 @@ def __init__(__self__, *, :param Sequence['GetWaasPoliciesWaasPolicyWafConfigCustomProtectionRuleExclusionArgs'] exclusions: An array of The target property of a request that would allow it to bypass the protection rule. For example, when `target` is `REQUEST_COOKIE_NAMES`, the list may include names of cookies to exclude from the protection rule. When the target is `ARGS`, the list may include strings of URL query parameters and values from form-urlencoded XML, JSON, AMP, or POST payloads to exclude from the protection rule. `Exclusions` properties must not contain whitespace, comma or |. **Note:** If protection rules have been enabled that utilize the `maxArgumentCount` or `maxTotalNameLengthOfArguments` properties, and the `target` property has been set to `ARGS`, it is important that the `exclusions` properties be defined to honor those protection rule settings in a consistent manner. :param str id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the custom protection rule. """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "exclusions", exclusions) - pulumi.set(__self__, "id", id) + GetWaasPoliciesWaasPolicyWafConfigCustomProtectionRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + exclusions=exclusions, + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: str, + exclusions: Sequence['outputs.GetWaasPoliciesWaasPolicyWafConfigCustomProtectionRuleExclusionResult'], + id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("exclusions", exclusions) + _setter("id", id) @property @pulumi.getter @@ -6735,8 +8165,19 @@ def __init__(__self__, *, :param Sequence[str] exclusions: An array of The target property of a request that would allow it to bypass the protection rule. For example, when `target` is `REQUEST_COOKIE_NAMES`, the list may include names of cookies to exclude from the protection rule. When the target is `ARGS`, the list may include strings of URL query parameters and values from form-urlencoded XML, JSON, AMP, or POST payloads to exclude from the protection rule. `Exclusions` properties must not contain whitespace, comma or |. **Note:** If protection rules have been enabled that utilize the `maxArgumentCount` or `maxTotalNameLengthOfArguments` properties, and the `target` property has been set to `ARGS`, it is important that the `exclusions` properties be defined to honor those protection rule settings in a consistent manner. :param str target: The target of the exclusion. """ - pulumi.set(__self__, "exclusions", exclusions) - pulumi.set(__self__, "target", target) + GetWaasPoliciesWaasPolicyWafConfigCustomProtectionRuleExclusionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + exclusions=exclusions, + target=target, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + exclusions: Sequence[str], + target: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("exclusions", exclusions) + _setter("target", target) @property @pulumi.getter @@ -6776,14 +8217,37 @@ def __init__(__self__, *, :param int max_address_count: The maximum number of IP addresses permitted with the same device fingerprint. If unspecified, defaults to `20`. :param int max_address_count_expiration_in_seconds: The number of seconds before the maximum addresses count resets. If unspecified, defaults to `60`. """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "action_expiration_in_seconds", action_expiration_in_seconds) - pulumi.set(__self__, "challenge_settings", challenge_settings) - pulumi.set(__self__, "failure_threshold", failure_threshold) - pulumi.set(__self__, "failure_threshold_expiration_in_seconds", failure_threshold_expiration_in_seconds) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "max_address_count", max_address_count) - pulumi.set(__self__, "max_address_count_expiration_in_seconds", max_address_count_expiration_in_seconds) + GetWaasPoliciesWaasPolicyWafConfigDeviceFingerprintChallengeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + action_expiration_in_seconds=action_expiration_in_seconds, + challenge_settings=challenge_settings, + failure_threshold=failure_threshold, + failure_threshold_expiration_in_seconds=failure_threshold_expiration_in_seconds, + is_enabled=is_enabled, + max_address_count=max_address_count, + max_address_count_expiration_in_seconds=max_address_count_expiration_in_seconds, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: str, + action_expiration_in_seconds: int, + challenge_settings: Sequence['outputs.GetWaasPoliciesWaasPolicyWafConfigDeviceFingerprintChallengeChallengeSettingResult'], + failure_threshold: int, + failure_threshold_expiration_in_seconds: int, + is_enabled: bool, + max_address_count: int, + max_address_count_expiration_in_seconds: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("action_expiration_in_seconds", action_expiration_in_seconds) + _setter("challenge_settings", challenge_settings) + _setter("failure_threshold", failure_threshold) + _setter("failure_threshold_expiration_in_seconds", failure_threshold_expiration_in_seconds) + _setter("is_enabled", is_enabled) + _setter("max_address_count", max_address_count) + _setter("max_address_count_expiration_in_seconds", max_address_count_expiration_in_seconds) @property @pulumi.getter @@ -6873,15 +8337,40 @@ def __init__(__self__, *, :param str captcha_submit_label: The text to show on the label of the CAPTCHA challenge submit button when `action` is set to `BLOCK`, `blockAction` is set to `SHOW_CAPTCHA`, and the request is blocked. If unspecified, defaults to `Yes, I am human`. :param str captcha_title: The title used when showing a CAPTCHA challenge when `action` is set to `BLOCK`, `blockAction` is set to `SHOW_CAPTCHA`, and the request is blocked. If unspecified, defaults to `Are you human?` """ - pulumi.set(__self__, "block_action", block_action) - pulumi.set(__self__, "block_error_page_code", block_error_page_code) - pulumi.set(__self__, "block_error_page_description", block_error_page_description) - pulumi.set(__self__, "block_error_page_message", block_error_page_message) - pulumi.set(__self__, "block_response_code", block_response_code) - pulumi.set(__self__, "captcha_footer", captcha_footer) - pulumi.set(__self__, "captcha_header", captcha_header) - pulumi.set(__self__, "captcha_submit_label", captcha_submit_label) - pulumi.set(__self__, "captcha_title", captcha_title) + GetWaasPoliciesWaasPolicyWafConfigDeviceFingerprintChallengeChallengeSettingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + block_action=block_action, + block_error_page_code=block_error_page_code, + block_error_page_description=block_error_page_description, + block_error_page_message=block_error_page_message, + block_response_code=block_response_code, + captcha_footer=captcha_footer, + captcha_header=captcha_header, + captcha_submit_label=captcha_submit_label, + captcha_title=captcha_title, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + block_action: str, + block_error_page_code: str, + block_error_page_description: str, + block_error_page_message: str, + block_response_code: int, + captcha_footer: str, + captcha_header: str, + captcha_submit_label: str, + captcha_title: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("block_action", block_action) + _setter("block_error_page_code", block_error_page_code) + _setter("block_error_page_description", block_error_page_description) + _setter("block_error_page_message", block_error_page_message) + _setter("block_response_code", block_response_code) + _setter("captcha_footer", captcha_footer) + _setter("captcha_header", captcha_header) + _setter("captcha_submit_label", captcha_submit_label) + _setter("captcha_title", captcha_title) @property @pulumi.getter(name="blockAction") @@ -6981,16 +8470,43 @@ def __init__(__self__, *, :param int recording_period_in_seconds: The number of seconds to record the interactions from the user. If unspecified, defaults to `15`. :param Sequence['GetWaasPoliciesWaasPolicyWafConfigHumanInteractionChallengeSetHttpHeaderArgs'] set_http_headers: Adds an additional HTTP header to requests that fail the challenge before being passed to the origin. Only applicable when the `action` is set to `DETECT`. """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "action_expiration_in_seconds", action_expiration_in_seconds) - pulumi.set(__self__, "challenge_settings", challenge_settings) - pulumi.set(__self__, "failure_threshold", failure_threshold) - pulumi.set(__self__, "failure_threshold_expiration_in_seconds", failure_threshold_expiration_in_seconds) - pulumi.set(__self__, "interaction_threshold", interaction_threshold) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "is_nat_enabled", is_nat_enabled) - pulumi.set(__self__, "recording_period_in_seconds", recording_period_in_seconds) - pulumi.set(__self__, "set_http_headers", set_http_headers) + GetWaasPoliciesWaasPolicyWafConfigHumanInteractionChallengeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + action_expiration_in_seconds=action_expiration_in_seconds, + challenge_settings=challenge_settings, + failure_threshold=failure_threshold, + failure_threshold_expiration_in_seconds=failure_threshold_expiration_in_seconds, + interaction_threshold=interaction_threshold, + is_enabled=is_enabled, + is_nat_enabled=is_nat_enabled, + recording_period_in_seconds=recording_period_in_seconds, + set_http_headers=set_http_headers, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: str, + action_expiration_in_seconds: int, + challenge_settings: Sequence['outputs.GetWaasPoliciesWaasPolicyWafConfigHumanInteractionChallengeChallengeSettingResult'], + failure_threshold: int, + failure_threshold_expiration_in_seconds: int, + interaction_threshold: int, + is_enabled: bool, + is_nat_enabled: bool, + recording_period_in_seconds: int, + set_http_headers: Sequence['outputs.GetWaasPoliciesWaasPolicyWafConfigHumanInteractionChallengeSetHttpHeaderResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("action_expiration_in_seconds", action_expiration_in_seconds) + _setter("challenge_settings", challenge_settings) + _setter("failure_threshold", failure_threshold) + _setter("failure_threshold_expiration_in_seconds", failure_threshold_expiration_in_seconds) + _setter("interaction_threshold", interaction_threshold) + _setter("is_enabled", is_enabled) + _setter("is_nat_enabled", is_nat_enabled) + _setter("recording_period_in_seconds", recording_period_in_seconds) + _setter("set_http_headers", set_http_headers) @property @pulumi.getter @@ -7096,15 +8612,40 @@ def __init__(__self__, *, :param str captcha_submit_label: The text to show on the label of the CAPTCHA challenge submit button when `action` is set to `BLOCK`, `blockAction` is set to `SHOW_CAPTCHA`, and the request is blocked. If unspecified, defaults to `Yes, I am human`. :param str captcha_title: The title used when showing a CAPTCHA challenge when `action` is set to `BLOCK`, `blockAction` is set to `SHOW_CAPTCHA`, and the request is blocked. If unspecified, defaults to `Are you human?` """ - pulumi.set(__self__, "block_action", block_action) - pulumi.set(__self__, "block_error_page_code", block_error_page_code) - pulumi.set(__self__, "block_error_page_description", block_error_page_description) - pulumi.set(__self__, "block_error_page_message", block_error_page_message) - pulumi.set(__self__, "block_response_code", block_response_code) - pulumi.set(__self__, "captcha_footer", captcha_footer) - pulumi.set(__self__, "captcha_header", captcha_header) - pulumi.set(__self__, "captcha_submit_label", captcha_submit_label) - pulumi.set(__self__, "captcha_title", captcha_title) + GetWaasPoliciesWaasPolicyWafConfigHumanInteractionChallengeChallengeSettingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + block_action=block_action, + block_error_page_code=block_error_page_code, + block_error_page_description=block_error_page_description, + block_error_page_message=block_error_page_message, + block_response_code=block_response_code, + captcha_footer=captcha_footer, + captcha_header=captcha_header, + captcha_submit_label=captcha_submit_label, + captcha_title=captcha_title, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + block_action: str, + block_error_page_code: str, + block_error_page_description: str, + block_error_page_message: str, + block_response_code: int, + captcha_footer: str, + captcha_header: str, + captcha_submit_label: str, + captcha_title: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("block_action", block_action) + _setter("block_error_page_code", block_error_page_code) + _setter("block_error_page_description", block_error_page_description) + _setter("block_error_page_message", block_error_page_message) + _setter("block_response_code", block_response_code) + _setter("captcha_footer", captcha_footer) + _setter("captcha_header", captcha_header) + _setter("captcha_submit_label", captcha_submit_label) + _setter("captcha_title", captcha_title) @property @pulumi.getter(name="blockAction") @@ -7188,8 +8729,19 @@ def __init__(__self__, *, :param str name: The unique name of the whitelist. :param str value: The value of the header. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + GetWaasPoliciesWaasPolicyWafConfigHumanInteractionChallengeSetHttpHeaderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("value", value) @property @pulumi.getter @@ -7231,15 +8783,40 @@ def __init__(__self__, *, :param bool is_nat_enabled: When enabled, the user is identified not only by the IP address but also by an unique additional hash, which prevents blocking visitors with shared IP addresses. :param Sequence['GetWaasPoliciesWaasPolicyWafConfigJsChallengeSetHttpHeaderArgs'] set_http_headers: Adds an additional HTTP header to requests that fail the challenge before being passed to the origin. Only applicable when the `action` is set to `DETECT`. """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "action_expiration_in_seconds", action_expiration_in_seconds) - pulumi.set(__self__, "are_redirects_challenged", are_redirects_challenged) - pulumi.set(__self__, "challenge_settings", challenge_settings) - pulumi.set(__self__, "criterias", criterias) - pulumi.set(__self__, "failure_threshold", failure_threshold) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "is_nat_enabled", is_nat_enabled) - pulumi.set(__self__, "set_http_headers", set_http_headers) + GetWaasPoliciesWaasPolicyWafConfigJsChallengeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + action_expiration_in_seconds=action_expiration_in_seconds, + are_redirects_challenged=are_redirects_challenged, + challenge_settings=challenge_settings, + criterias=criterias, + failure_threshold=failure_threshold, + is_enabled=is_enabled, + is_nat_enabled=is_nat_enabled, + set_http_headers=set_http_headers, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: str, + action_expiration_in_seconds: int, + are_redirects_challenged: bool, + challenge_settings: Sequence['outputs.GetWaasPoliciesWaasPolicyWafConfigJsChallengeChallengeSettingResult'], + criterias: Sequence['outputs.GetWaasPoliciesWaasPolicyWafConfigJsChallengeCriteriaResult'], + failure_threshold: int, + is_enabled: bool, + is_nat_enabled: bool, + set_http_headers: Sequence['outputs.GetWaasPoliciesWaasPolicyWafConfigJsChallengeSetHttpHeaderResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("action_expiration_in_seconds", action_expiration_in_seconds) + _setter("are_redirects_challenged", are_redirects_challenged) + _setter("challenge_settings", challenge_settings) + _setter("criterias", criterias) + _setter("failure_threshold", failure_threshold) + _setter("is_enabled", is_enabled) + _setter("is_nat_enabled", is_nat_enabled) + _setter("set_http_headers", set_http_headers) @property @pulumi.getter @@ -7337,15 +8914,40 @@ def __init__(__self__, *, :param str captcha_submit_label: The text to show on the label of the CAPTCHA challenge submit button when `action` is set to `BLOCK`, `blockAction` is set to `SHOW_CAPTCHA`, and the request is blocked. If unspecified, defaults to `Yes, I am human`. :param str captcha_title: The title used when showing a CAPTCHA challenge when `action` is set to `BLOCK`, `blockAction` is set to `SHOW_CAPTCHA`, and the request is blocked. If unspecified, defaults to `Are you human?` """ - pulumi.set(__self__, "block_action", block_action) - pulumi.set(__self__, "block_error_page_code", block_error_page_code) - pulumi.set(__self__, "block_error_page_description", block_error_page_description) - pulumi.set(__self__, "block_error_page_message", block_error_page_message) - pulumi.set(__self__, "block_response_code", block_response_code) - pulumi.set(__self__, "captcha_footer", captcha_footer) - pulumi.set(__self__, "captcha_header", captcha_header) - pulumi.set(__self__, "captcha_submit_label", captcha_submit_label) - pulumi.set(__self__, "captcha_title", captcha_title) + GetWaasPoliciesWaasPolicyWafConfigJsChallengeChallengeSettingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + block_action=block_action, + block_error_page_code=block_error_page_code, + block_error_page_description=block_error_page_description, + block_error_page_message=block_error_page_message, + block_response_code=block_response_code, + captcha_footer=captcha_footer, + captcha_header=captcha_header, + captcha_submit_label=captcha_submit_label, + captcha_title=captcha_title, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + block_action: str, + block_error_page_code: str, + block_error_page_description: str, + block_error_page_message: str, + block_response_code: int, + captcha_footer: str, + captcha_header: str, + captcha_submit_label: str, + captcha_title: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("block_action", block_action) + _setter("block_error_page_code", block_error_page_code) + _setter("block_error_page_description", block_error_page_description) + _setter("block_error_page_message", block_error_page_message) + _setter("block_response_code", block_response_code) + _setter("captcha_footer", captcha_footer) + _setter("captcha_header", captcha_header) + _setter("captcha_submit_label", captcha_submit_label) + _setter("captcha_title", captcha_title) @property @pulumi.getter(name="blockAction") @@ -7447,9 +9049,22 @@ def __init__(__self__, *, :param bool is_case_sensitive: When enabled, the condition will be matched with case-sensitive rules. :param str value: The value of the header. """ - pulumi.set(__self__, "condition", condition) - pulumi.set(__self__, "is_case_sensitive", is_case_sensitive) - pulumi.set(__self__, "value", value) + GetWaasPoliciesWaasPolicyWafConfigJsChallengeCriteriaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + condition=condition, + is_case_sensitive=is_case_sensitive, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + condition: str, + is_case_sensitive: bool, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("condition", condition) + _setter("is_case_sensitive", is_case_sensitive) + _setter("value", value) @property @pulumi.getter @@ -7501,8 +9116,19 @@ def __init__(__self__, *, :param str name: The unique name of the whitelist. :param str value: The value of the header. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + GetWaasPoliciesWaasPolicyWafConfigJsChallengeSetHttpHeaderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("value", value) @property @pulumi.getter @@ -7552,19 +9178,52 @@ def __init__(__self__, *, :param Sequence[str] media_types: The list of media types to allow for inspection, if `isResponseInspected` is enabled. Only responses with MIME types in this list will be inspected. If unspecified, defaults to `["text/html", "text/plain", "text/xml"]`. :param int recommendations_period_in_days: The length of time to analyze traffic traffic, in days. After the analysis period, `WafRecommendations` will be populated. If unspecified, defaults to `10`. """ - pulumi.set(__self__, "allowed_http_methods", allowed_http_methods) - pulumi.set(__self__, "block_action", block_action) - pulumi.set(__self__, "block_error_page_code", block_error_page_code) - pulumi.set(__self__, "block_error_page_description", block_error_page_description) - pulumi.set(__self__, "block_error_page_message", block_error_page_message) - pulumi.set(__self__, "block_response_code", block_response_code) - pulumi.set(__self__, "is_response_inspected", is_response_inspected) - pulumi.set(__self__, "max_argument_count", max_argument_count) - pulumi.set(__self__, "max_name_length_per_argument", max_name_length_per_argument) - pulumi.set(__self__, "max_response_size_in_ki_b", max_response_size_in_ki_b) - pulumi.set(__self__, "max_total_name_length_of_arguments", max_total_name_length_of_arguments) - pulumi.set(__self__, "media_types", media_types) - pulumi.set(__self__, "recommendations_period_in_days", recommendations_period_in_days) + GetWaasPoliciesWaasPolicyWafConfigProtectionSettingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_http_methods=allowed_http_methods, + block_action=block_action, + block_error_page_code=block_error_page_code, + block_error_page_description=block_error_page_description, + block_error_page_message=block_error_page_message, + block_response_code=block_response_code, + is_response_inspected=is_response_inspected, + max_argument_count=max_argument_count, + max_name_length_per_argument=max_name_length_per_argument, + max_response_size_in_ki_b=max_response_size_in_ki_b, + max_total_name_length_of_arguments=max_total_name_length_of_arguments, + media_types=media_types, + recommendations_period_in_days=recommendations_period_in_days, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_http_methods: Sequence[str], + block_action: str, + block_error_page_code: str, + block_error_page_description: str, + block_error_page_message: str, + block_response_code: int, + is_response_inspected: bool, + max_argument_count: int, + max_name_length_per_argument: int, + max_response_size_in_ki_b: int, + max_total_name_length_of_arguments: int, + media_types: Sequence[str], + recommendations_period_in_days: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allowed_http_methods", allowed_http_methods) + _setter("block_action", block_action) + _setter("block_error_page_code", block_error_page_code) + _setter("block_error_page_description", block_error_page_description) + _setter("block_error_page_message", block_error_page_message) + _setter("block_response_code", block_response_code) + _setter("is_response_inspected", is_response_inspected) + _setter("max_argument_count", max_argument_count) + _setter("max_name_length_per_argument", max_name_length_per_argument) + _setter("max_response_size_in_ki_b", max_response_size_in_ki_b) + _setter("max_total_name_length_of_arguments", max_total_name_length_of_arguments) + _setter("media_types", media_types) + _setter("recommendations_period_in_days", recommendations_period_in_days) @property @pulumi.getter(name="allowedHttpMethods") @@ -7682,9 +9341,22 @@ def __init__(__self__, *, :param Sequence[str] addresses: A set of IP addresses or CIDR notations to include in the whitelist. :param str name: The unique name of the whitelist. """ - pulumi.set(__self__, "address_lists", address_lists) - pulumi.set(__self__, "addresses", addresses) - pulumi.set(__self__, "name", name) + GetWaasPoliciesWaasPolicyWafConfigWhitelistResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + address_lists=address_lists, + addresses=addresses, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address_lists: Sequence[str], + addresses: Sequence[str], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("address_lists", address_lists) + _setter("addresses", addresses) + _setter("name", name) @property @pulumi.getter(name="addressLists") @@ -7725,13 +9397,30 @@ def __init__(__self__, *, :param int http_port: The HTTP port on the origin that the web application listens on. If unspecified, defaults to `80`. If `0` is specified - the origin is not used for HTTP traffic. :param int https_port: The HTTPS port on the origin that the web application listens on. If unspecified, defaults to `443`. If `0` is specified - the origin is not used for HTTPS traffic. """ - pulumi.set(__self__, "custom_headers", custom_headers) - pulumi.set(__self__, "label", label) - pulumi.set(__self__, "uri", uri) + GetWaasPolicyOriginResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + custom_headers=custom_headers, + label=label, + uri=uri, + http_port=http_port, + https_port=https_port, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + custom_headers: Sequence['outputs.GetWaasPolicyOriginCustomHeaderResult'], + label: str, + uri: str, + http_port: Optional[int] = None, + https_port: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("custom_headers", custom_headers) + _setter("label", label) + _setter("uri", uri) if http_port is not None: - pulumi.set(__self__, "http_port", http_port) + _setter("http_port", http_port) if https_port is not None: - pulumi.set(__self__, "https_port", https_port) + _setter("https_port", https_port) @property @pulumi.getter(name="customHeaders") @@ -7780,8 +9469,19 @@ def __init__(__self__, *, :param str name: The unique name of the whitelist. :param str value: The value of the header. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + GetWaasPolicyOriginCustomHeaderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("value", value) @property @pulumi.getter @@ -7805,8 +9505,19 @@ class GetWaasPolicyOriginGroupResult(dict): def __init__(__self__, *, label: str, origin_groups: Sequence['outputs.GetWaasPolicyOriginGroupOriginGroupResult']): - pulumi.set(__self__, "label", label) - pulumi.set(__self__, "origin_groups", origin_groups) + GetWaasPolicyOriginGroupResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + label=label, + origin_groups=origin_groups, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + label: str, + origin_groups: Sequence['outputs.GetWaasPolicyOriginGroupOriginGroupResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("label", label) + _setter("origin_groups", origin_groups) @property @pulumi.getter @@ -7827,8 +9538,19 @@ def __init__(__self__, *, """ :param str origin: The key in the map of origins referencing the origin used for the Web Application Firewall. The origin must already be included in `Origins`. Required when creating the `WafConfig` resource, but not on update. """ - pulumi.set(__self__, "origin", origin) - pulumi.set(__self__, "weight", weight) + GetWaasPolicyOriginGroupOriginGroupResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + origin=origin, + weight=weight, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + origin: str, + weight: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("origin", origin) + _setter("weight", weight) @property @pulumi.getter @@ -7882,20 +9604,55 @@ def __init__(__self__, *, * **TLS_V1_3:** corresponds to TLS 1.3 specification. :param Sequence[str] websocket_path_prefixes: ModSecurity is not capable to inspect WebSockets. Therefore paths specified here have WAF disabled if Connection request header from the client has the value Upgrade (case insensitive matching) and Upgrade request header has the value websocket (case insensitive matching). Paths matches if the concatenation of request URL path and query starts with the contents of the one of `websocketPathPrefixes` array value. In All other cases challenges, like JSC, HIC and etc., remain active. """ - pulumi.set(__self__, "certificate_id", certificate_id) - pulumi.set(__self__, "cipher_group", cipher_group) - pulumi.set(__self__, "client_address_header", client_address_header) - pulumi.set(__self__, "health_checks", health_checks) - pulumi.set(__self__, "is_behind_cdn", is_behind_cdn) - pulumi.set(__self__, "is_cache_control_respected", is_cache_control_respected) - pulumi.set(__self__, "is_https_enabled", is_https_enabled) - pulumi.set(__self__, "is_https_forced", is_https_forced) - pulumi.set(__self__, "is_origin_compression_enabled", is_origin_compression_enabled) - pulumi.set(__self__, "is_response_buffering_enabled", is_response_buffering_enabled) - pulumi.set(__self__, "is_sni_enabled", is_sni_enabled) - pulumi.set(__self__, "load_balancing_method", load_balancing_method) - pulumi.set(__self__, "tls_protocols", tls_protocols) - pulumi.set(__self__, "websocket_path_prefixes", websocket_path_prefixes) + GetWaasPolicyPolicyConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + certificate_id=certificate_id, + cipher_group=cipher_group, + client_address_header=client_address_header, + health_checks=health_checks, + is_behind_cdn=is_behind_cdn, + is_cache_control_respected=is_cache_control_respected, + is_https_enabled=is_https_enabled, + is_https_forced=is_https_forced, + is_origin_compression_enabled=is_origin_compression_enabled, + is_response_buffering_enabled=is_response_buffering_enabled, + is_sni_enabled=is_sni_enabled, + load_balancing_method=load_balancing_method, + tls_protocols=tls_protocols, + websocket_path_prefixes=websocket_path_prefixes, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + certificate_id: str, + cipher_group: str, + client_address_header: str, + health_checks: 'outputs.GetWaasPolicyPolicyConfigHealthChecksResult', + is_behind_cdn: bool, + is_cache_control_respected: bool, + is_https_enabled: bool, + is_https_forced: bool, + is_origin_compression_enabled: bool, + is_response_buffering_enabled: bool, + is_sni_enabled: bool, + load_balancing_method: 'outputs.GetWaasPolicyPolicyConfigLoadBalancingMethodResult', + tls_protocols: Sequence[str], + websocket_path_prefixes: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("certificate_id", certificate_id) + _setter("cipher_group", cipher_group) + _setter("client_address_header", client_address_header) + _setter("health_checks", health_checks) + _setter("is_behind_cdn", is_behind_cdn) + _setter("is_cache_control_respected", is_cache_control_respected) + _setter("is_https_enabled", is_https_enabled) + _setter("is_https_forced", is_https_forced) + _setter("is_origin_compression_enabled", is_origin_compression_enabled) + _setter("is_response_buffering_enabled", is_response_buffering_enabled) + _setter("is_sni_enabled", is_sni_enabled) + _setter("load_balancing_method", load_balancing_method) + _setter("tls_protocols", tls_protocols) + _setter("websocket_path_prefixes", websocket_path_prefixes) @property @pulumi.getter(name="certificateId") @@ -8049,17 +9806,46 @@ def __init__(__self__, *, :param int timeout_in_seconds: Response timeout represents wait time until request is considered failed, in seconds. :param int unhealthy_threshold: Number of failed health checks after which the server is marked down. """ - pulumi.set(__self__, "expected_response_code_groups", expected_response_code_groups) - pulumi.set(__self__, "expected_response_text", expected_response_text) - pulumi.set(__self__, "headers", headers) - pulumi.set(__self__, "healthy_threshold", healthy_threshold) - pulumi.set(__self__, "interval_in_seconds", interval_in_seconds) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "is_response_text_check_enabled", is_response_text_check_enabled) - pulumi.set(__self__, "method", method) - pulumi.set(__self__, "path", path) - pulumi.set(__self__, "timeout_in_seconds", timeout_in_seconds) - pulumi.set(__self__, "unhealthy_threshold", unhealthy_threshold) + GetWaasPolicyPolicyConfigHealthChecksResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + expected_response_code_groups=expected_response_code_groups, + expected_response_text=expected_response_text, + headers=headers, + healthy_threshold=healthy_threshold, + interval_in_seconds=interval_in_seconds, + is_enabled=is_enabled, + is_response_text_check_enabled=is_response_text_check_enabled, + method=method, + path=path, + timeout_in_seconds=timeout_in_seconds, + unhealthy_threshold=unhealthy_threshold, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + expected_response_code_groups: Sequence[str], + expected_response_text: str, + headers: Mapping[str, Any], + healthy_threshold: int, + interval_in_seconds: int, + is_enabled: bool, + is_response_text_check_enabled: bool, + method: str, + path: str, + timeout_in_seconds: int, + unhealthy_threshold: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("expected_response_code_groups", expected_response_code_groups) + _setter("expected_response_text", expected_response_text) + _setter("headers", headers) + _setter("healthy_threshold", healthy_threshold) + _setter("interval_in_seconds", interval_in_seconds) + _setter("is_enabled", is_enabled) + _setter("is_response_text_check_enabled", is_response_text_check_enabled) + _setter("method", method) + _setter("path", path) + _setter("timeout_in_seconds", timeout_in_seconds) + _setter("unhealthy_threshold", unhealthy_threshold) @property @pulumi.getter(name="expectedResponseCodeGroups") @@ -8173,10 +9959,25 @@ def __init__(__self__, *, * **[STICKY_COOKIE](https://www.terraform.io/iaas/api/#/en/waas/latest/datatypes/StickyCookieLoadBalancingMethod):** Adds a session cookie to the first response from the origin server and identifies the server that sent the response. The client's next request contains the cookie value, and nginx routes the request to the origin server that responded to the first request. STICKY_COOKIE load balancing method falls back to Round Robin for the first request. :param str name: The unique name of the whitelist. """ - pulumi.set(__self__, "domain", domain) - pulumi.set(__self__, "expiration_time_in_seconds", expiration_time_in_seconds) - pulumi.set(__self__, "method", method) - pulumi.set(__self__, "name", name) + GetWaasPolicyPolicyConfigLoadBalancingMethodResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + domain=domain, + expiration_time_in_seconds=expiration_time_in_seconds, + method=method, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + domain: str, + expiration_time_in_seconds: int, + method: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("domain", domain) + _setter("expiration_time_in_seconds", expiration_time_in_seconds) + _setter("method", method) + _setter("name", name) @property @pulumi.getter @@ -8243,18 +10044,49 @@ def __init__(__self__, *, :param 'GetWaasPolicyWafConfigProtectionSettingsArgs' protection_settings: The settings to apply to protection rules. :param Sequence['GetWaasPolicyWafConfigWhitelistArgs'] whitelists: A list of IP addresses that bypass the Web Application Firewall. """ - pulumi.set(__self__, "access_rules", access_rules) - pulumi.set(__self__, "address_rate_limiting", address_rate_limiting) - pulumi.set(__self__, "caching_rules", caching_rules) - pulumi.set(__self__, "captchas", captchas) - pulumi.set(__self__, "custom_protection_rules", custom_protection_rules) - pulumi.set(__self__, "device_fingerprint_challenge", device_fingerprint_challenge) - pulumi.set(__self__, "human_interaction_challenge", human_interaction_challenge) - pulumi.set(__self__, "js_challenge", js_challenge) - pulumi.set(__self__, "origin", origin) - pulumi.set(__self__, "origin_groups", origin_groups) - pulumi.set(__self__, "protection_settings", protection_settings) - pulumi.set(__self__, "whitelists", whitelists) + GetWaasPolicyWafConfigResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + access_rules=access_rules, + address_rate_limiting=address_rate_limiting, + caching_rules=caching_rules, + captchas=captchas, + custom_protection_rules=custom_protection_rules, + device_fingerprint_challenge=device_fingerprint_challenge, + human_interaction_challenge=human_interaction_challenge, + js_challenge=js_challenge, + origin=origin, + origin_groups=origin_groups, + protection_settings=protection_settings, + whitelists=whitelists, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + access_rules: Sequence['outputs.GetWaasPolicyWafConfigAccessRuleResult'], + address_rate_limiting: 'outputs.GetWaasPolicyWafConfigAddressRateLimitingResult', + caching_rules: Sequence['outputs.GetWaasPolicyWafConfigCachingRuleResult'], + captchas: Sequence['outputs.GetWaasPolicyWafConfigCaptchaResult'], + custom_protection_rules: Sequence['outputs.GetWaasPolicyWafConfigCustomProtectionRuleResult'], + device_fingerprint_challenge: 'outputs.GetWaasPolicyWafConfigDeviceFingerprintChallengeResult', + human_interaction_challenge: 'outputs.GetWaasPolicyWafConfigHumanInteractionChallengeResult', + js_challenge: 'outputs.GetWaasPolicyWafConfigJsChallengeResult', + origin: str, + origin_groups: Sequence[str], + protection_settings: 'outputs.GetWaasPolicyWafConfigProtectionSettingsResult', + whitelists: Sequence['outputs.GetWaasPolicyWafConfigWhitelistResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("access_rules", access_rules) + _setter("address_rate_limiting", address_rate_limiting) + _setter("caching_rules", caching_rules) + _setter("captchas", captchas) + _setter("custom_protection_rules", custom_protection_rules) + _setter("device_fingerprint_challenge", device_fingerprint_challenge) + _setter("human_interaction_challenge", human_interaction_challenge) + _setter("js_challenge", js_challenge) + _setter("origin", origin) + _setter("origin_groups", origin_groups) + _setter("protection_settings", protection_settings) + _setter("whitelists", whitelists) @property @pulumi.getter(name="accessRules") @@ -8396,22 +10228,61 @@ def __init__(__self__, *, :param str redirect_url: The target to which the request should be redirected, represented as a URI reference. Required when `action` is `REDIRECT`. :param Sequence['GetWaasPolicyWafConfigAccessRuleResponseHeaderManipulationArgs'] response_header_manipulations: An object that represents an action to apply to an HTTP response headers if all rule criteria will be matched regardless of `action` value. """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "block_action", block_action) - pulumi.set(__self__, "block_error_page_code", block_error_page_code) - pulumi.set(__self__, "block_error_page_description", block_error_page_description) - pulumi.set(__self__, "block_error_page_message", block_error_page_message) - pulumi.set(__self__, "block_response_code", block_response_code) - pulumi.set(__self__, "bypass_challenges", bypass_challenges) - pulumi.set(__self__, "captcha_footer", captcha_footer) - pulumi.set(__self__, "captcha_header", captcha_header) - pulumi.set(__self__, "captcha_submit_label", captcha_submit_label) - pulumi.set(__self__, "captcha_title", captcha_title) - pulumi.set(__self__, "criterias", criterias) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "redirect_response_code", redirect_response_code) - pulumi.set(__self__, "redirect_url", redirect_url) - pulumi.set(__self__, "response_header_manipulations", response_header_manipulations) + GetWaasPolicyWafConfigAccessRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + block_action=block_action, + block_error_page_code=block_error_page_code, + block_error_page_description=block_error_page_description, + block_error_page_message=block_error_page_message, + block_response_code=block_response_code, + bypass_challenges=bypass_challenges, + captcha_footer=captcha_footer, + captcha_header=captcha_header, + captcha_submit_label=captcha_submit_label, + captcha_title=captcha_title, + criterias=criterias, + name=name, + redirect_response_code=redirect_response_code, + redirect_url=redirect_url, + response_header_manipulations=response_header_manipulations, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: str, + block_action: str, + block_error_page_code: str, + block_error_page_description: str, + block_error_page_message: str, + block_response_code: int, + bypass_challenges: Sequence[str], + captcha_footer: str, + captcha_header: str, + captcha_submit_label: str, + captcha_title: str, + criterias: Sequence['outputs.GetWaasPolicyWafConfigAccessRuleCriteriaResult'], + name: str, + redirect_response_code: str, + redirect_url: str, + response_header_manipulations: Sequence['outputs.GetWaasPolicyWafConfigAccessRuleResponseHeaderManipulationResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("block_action", block_action) + _setter("block_error_page_code", block_error_page_code) + _setter("block_error_page_description", block_error_page_description) + _setter("block_error_page_message", block_error_page_message) + _setter("block_response_code", block_response_code) + _setter("bypass_challenges", bypass_challenges) + _setter("captcha_footer", captcha_footer) + _setter("captcha_header", captcha_header) + _setter("captcha_submit_label", captcha_submit_label) + _setter("captcha_title", captcha_title) + _setter("criterias", criterias) + _setter("name", name) + _setter("redirect_response_code", redirect_response_code) + _setter("redirect_url", redirect_url) + _setter("response_header_manipulations", response_header_manipulations) @property @pulumi.getter @@ -8575,9 +10446,22 @@ def __init__(__self__, *, :param bool is_case_sensitive: When enabled, the condition will be matched with case-sensitive rules. :param str value: The value of the header. """ - pulumi.set(__self__, "condition", condition) - pulumi.set(__self__, "is_case_sensitive", is_case_sensitive) - pulumi.set(__self__, "value", value) + GetWaasPolicyWafConfigAccessRuleCriteriaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + condition=condition, + is_case_sensitive=is_case_sensitive, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + condition: str, + is_case_sensitive: bool, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("condition", condition) + _setter("is_case_sensitive", is_case_sensitive) + _setter("value", value) @property @pulumi.getter @@ -8631,9 +10515,22 @@ def __init__(__self__, *, :param str header: A header field name that conforms to RFC 7230. Example: `example_header_name` :param str value: The value of the header. """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "header", header) - pulumi.set(__self__, "value", value) + GetWaasPolicyWafConfigAccessRuleResponseHeaderManipulationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + header=header, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: str, + header: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("header", header) + _setter("value", value) @property @pulumi.getter @@ -8673,10 +10570,25 @@ def __init__(__self__, *, :param bool is_enabled: Enables or disables the JavaScript challenge Web Application Firewall feature. :param int max_delayed_count_per_address: The maximum number of requests allowed to be queued before subsequent requests are dropped. If unspecified, defaults to `10`. """ - pulumi.set(__self__, "allowed_rate_per_address", allowed_rate_per_address) - pulumi.set(__self__, "block_response_code", block_response_code) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "max_delayed_count_per_address", max_delayed_count_per_address) + GetWaasPolicyWafConfigAddressRateLimitingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_rate_per_address=allowed_rate_per_address, + block_response_code=block_response_code, + is_enabled=is_enabled, + max_delayed_count_per_address=max_delayed_count_per_address, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_rate_per_address: int, + block_response_code: int, + is_enabled: bool, + max_delayed_count_per_address: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allowed_rate_per_address", allowed_rate_per_address) + _setter("block_response_code", block_response_code) + _setter("is_enabled", is_enabled) + _setter("max_delayed_count_per_address", max_delayed_count_per_address) @property @pulumi.getter(name="allowedRatePerAddress") @@ -8730,13 +10642,34 @@ def __init__(__self__, *, :param str key: The unique key for the caching rule. :param str name: The unique name of the whitelist. """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "caching_duration", caching_duration) - pulumi.set(__self__, "client_caching_duration", client_caching_duration) - pulumi.set(__self__, "criterias", criterias) - pulumi.set(__self__, "is_client_caching_enabled", is_client_caching_enabled) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "name", name) + GetWaasPolicyWafConfigCachingRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + caching_duration=caching_duration, + client_caching_duration=client_caching_duration, + criterias=criterias, + is_client_caching_enabled=is_client_caching_enabled, + key=key, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: str, + caching_duration: str, + client_caching_duration: str, + criterias: Sequence['outputs.GetWaasPolicyWafConfigCachingRuleCriteriaResult'], + is_client_caching_enabled: bool, + key: str, + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("caching_duration", caching_duration) + _setter("client_caching_duration", client_caching_duration) + _setter("criterias", criterias) + _setter("is_client_caching_enabled", is_client_caching_enabled) + _setter("key", key) + _setter("name", name) @property @pulumi.getter @@ -8820,8 +10753,19 @@ def __init__(__self__, *, * **HTTP_METHOD_IS:** Matches if the request method is identical to one of the values listed in field. The `value` in this case is string with one or multiple HTTP methods separated by new line symbol \\n The list of available methods: `GET`, `HEAD`, `POST`, `PUT`, `DELETE`, `CONNECT`, `OPTIONS`, `TRACE`, `PATCH` :param str value: The value of the header. """ - pulumi.set(__self__, "condition", condition) - pulumi.set(__self__, "value", value) + GetWaasPolicyWafConfigCachingRuleCriteriaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + condition=condition, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + condition: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("condition", condition) + _setter("value", value) @property @pulumi.getter @@ -8875,13 +10819,34 @@ def __init__(__self__, *, :param str title: The title used when displaying a CAPTCHA challenge. If unspecified, defaults to `Are you human?` :param str url: The unique URL path at which to show the CAPTCHA challenge. """ - pulumi.set(__self__, "failure_message", failure_message) - pulumi.set(__self__, "footer_text", footer_text) - pulumi.set(__self__, "header_text", header_text) - pulumi.set(__self__, "session_expiration_in_seconds", session_expiration_in_seconds) - pulumi.set(__self__, "submit_label", submit_label) - pulumi.set(__self__, "title", title) - pulumi.set(__self__, "url", url) + GetWaasPolicyWafConfigCaptchaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + failure_message=failure_message, + footer_text=footer_text, + header_text=header_text, + session_expiration_in_seconds=session_expiration_in_seconds, + submit_label=submit_label, + title=title, + url=url, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + failure_message: str, + footer_text: str, + header_text: str, + session_expiration_in_seconds: int, + submit_label: str, + title: str, + url: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("failure_message", failure_message) + _setter("footer_text", footer_text) + _setter("header_text", header_text) + _setter("session_expiration_in_seconds", session_expiration_in_seconds) + _setter("submit_label", submit_label) + _setter("title", title) + _setter("url", url) @property @pulumi.getter(name="failureMessage") @@ -8951,9 +10916,22 @@ def __init__(__self__, *, :param Sequence['GetWaasPolicyWafConfigCustomProtectionRuleExclusionArgs'] exclusions: An array of The target property of a request that would allow it to bypass the protection rule. For example, when `target` is `REQUEST_COOKIE_NAMES`, the list may include names of cookies to exclude from the protection rule. When the target is `ARGS`, the list may include strings of URL query parameters and values from form-urlencoded XML, JSON, AMP, or POST payloads to exclude from the protection rule. `Exclusions` properties must not contain whitespace, comma or |. **Note:** If protection rules have been enabled that utilize the `maxArgumentCount` or `maxTotalNameLengthOfArguments` properties, and the `target` property has been set to `ARGS`, it is important that the `exclusions` properties be defined to honor those protection rule settings in a consistent manner. :param str id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the custom protection rule. """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "exclusions", exclusions) - pulumi.set(__self__, "id", id) + GetWaasPolicyWafConfigCustomProtectionRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + exclusions=exclusions, + id=id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: str, + exclusions: Sequence['outputs.GetWaasPolicyWafConfigCustomProtectionRuleExclusionResult'], + id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("exclusions", exclusions) + _setter("id", id) @property @pulumi.getter @@ -8989,8 +10967,19 @@ def __init__(__self__, *, :param Sequence[str] exclusions: An array of The target property of a request that would allow it to bypass the protection rule. For example, when `target` is `REQUEST_COOKIE_NAMES`, the list may include names of cookies to exclude from the protection rule. When the target is `ARGS`, the list may include strings of URL query parameters and values from form-urlencoded XML, JSON, AMP, or POST payloads to exclude from the protection rule. `Exclusions` properties must not contain whitespace, comma or |. **Note:** If protection rules have been enabled that utilize the `maxArgumentCount` or `maxTotalNameLengthOfArguments` properties, and the `target` property has been set to `ARGS`, it is important that the `exclusions` properties be defined to honor those protection rule settings in a consistent manner. :param str target: The target of the exclusion. """ - pulumi.set(__self__, "exclusions", exclusions) - pulumi.set(__self__, "target", target) + GetWaasPolicyWafConfigCustomProtectionRuleExclusionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + exclusions=exclusions, + target=target, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + exclusions: Sequence[str], + target: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("exclusions", exclusions) + _setter("target", target) @property @pulumi.getter @@ -9030,14 +11019,37 @@ def __init__(__self__, *, :param int max_address_count: The maximum number of IP addresses permitted with the same device fingerprint. If unspecified, defaults to `20`. :param int max_address_count_expiration_in_seconds: The number of seconds before the maximum addresses count resets. If unspecified, defaults to `60`. """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "action_expiration_in_seconds", action_expiration_in_seconds) - pulumi.set(__self__, "challenge_settings", challenge_settings) - pulumi.set(__self__, "failure_threshold", failure_threshold) - pulumi.set(__self__, "failure_threshold_expiration_in_seconds", failure_threshold_expiration_in_seconds) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "max_address_count", max_address_count) - pulumi.set(__self__, "max_address_count_expiration_in_seconds", max_address_count_expiration_in_seconds) + GetWaasPolicyWafConfigDeviceFingerprintChallengeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + action_expiration_in_seconds=action_expiration_in_seconds, + challenge_settings=challenge_settings, + failure_threshold=failure_threshold, + failure_threshold_expiration_in_seconds=failure_threshold_expiration_in_seconds, + is_enabled=is_enabled, + max_address_count=max_address_count, + max_address_count_expiration_in_seconds=max_address_count_expiration_in_seconds, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: str, + action_expiration_in_seconds: int, + challenge_settings: 'outputs.GetWaasPolicyWafConfigDeviceFingerprintChallengeChallengeSettingsResult', + failure_threshold: int, + failure_threshold_expiration_in_seconds: int, + is_enabled: bool, + max_address_count: int, + max_address_count_expiration_in_seconds: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("action_expiration_in_seconds", action_expiration_in_seconds) + _setter("challenge_settings", challenge_settings) + _setter("failure_threshold", failure_threshold) + _setter("failure_threshold_expiration_in_seconds", failure_threshold_expiration_in_seconds) + _setter("is_enabled", is_enabled) + _setter("max_address_count", max_address_count) + _setter("max_address_count_expiration_in_seconds", max_address_count_expiration_in_seconds) @property @pulumi.getter @@ -9127,15 +11139,40 @@ def __init__(__self__, *, :param str captcha_submit_label: The text to show on the label of the CAPTCHA challenge submit button when `action` is set to `BLOCK`, `blockAction` is set to `SHOW_CAPTCHA`, and the request is blocked. If unspecified, defaults to `Yes, I am human`. :param str captcha_title: The title used when showing a CAPTCHA challenge when `action` is set to `BLOCK`, `blockAction` is set to `SHOW_CAPTCHA`, and the request is blocked. If unspecified, defaults to `Are you human?` """ - pulumi.set(__self__, "block_action", block_action) - pulumi.set(__self__, "block_error_page_code", block_error_page_code) - pulumi.set(__self__, "block_error_page_description", block_error_page_description) - pulumi.set(__self__, "block_error_page_message", block_error_page_message) - pulumi.set(__self__, "block_response_code", block_response_code) - pulumi.set(__self__, "captcha_footer", captcha_footer) - pulumi.set(__self__, "captcha_header", captcha_header) - pulumi.set(__self__, "captcha_submit_label", captcha_submit_label) - pulumi.set(__self__, "captcha_title", captcha_title) + GetWaasPolicyWafConfigDeviceFingerprintChallengeChallengeSettingsResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + block_action=block_action, + block_error_page_code=block_error_page_code, + block_error_page_description=block_error_page_description, + block_error_page_message=block_error_page_message, + block_response_code=block_response_code, + captcha_footer=captcha_footer, + captcha_header=captcha_header, + captcha_submit_label=captcha_submit_label, + captcha_title=captcha_title, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + block_action: str, + block_error_page_code: str, + block_error_page_description: str, + block_error_page_message: str, + block_response_code: int, + captcha_footer: str, + captcha_header: str, + captcha_submit_label: str, + captcha_title: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("block_action", block_action) + _setter("block_error_page_code", block_error_page_code) + _setter("block_error_page_description", block_error_page_description) + _setter("block_error_page_message", block_error_page_message) + _setter("block_response_code", block_response_code) + _setter("captcha_footer", captcha_footer) + _setter("captcha_header", captcha_header) + _setter("captcha_submit_label", captcha_submit_label) + _setter("captcha_title", captcha_title) @property @pulumi.getter(name="blockAction") @@ -9235,16 +11272,43 @@ def __init__(__self__, *, :param int recording_period_in_seconds: The number of seconds to record the interactions from the user. If unspecified, defaults to `15`. :param 'GetWaasPolicyWafConfigHumanInteractionChallengeSetHttpHeaderArgs' set_http_header: Adds an additional HTTP header to requests that fail the challenge before being passed to the origin. Only applicable when the `action` is set to `DETECT`. """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "action_expiration_in_seconds", action_expiration_in_seconds) - pulumi.set(__self__, "challenge_settings", challenge_settings) - pulumi.set(__self__, "failure_threshold", failure_threshold) - pulumi.set(__self__, "failure_threshold_expiration_in_seconds", failure_threshold_expiration_in_seconds) - pulumi.set(__self__, "interaction_threshold", interaction_threshold) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "is_nat_enabled", is_nat_enabled) - pulumi.set(__self__, "recording_period_in_seconds", recording_period_in_seconds) - pulumi.set(__self__, "set_http_header", set_http_header) + GetWaasPolicyWafConfigHumanInteractionChallengeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + action_expiration_in_seconds=action_expiration_in_seconds, + challenge_settings=challenge_settings, + failure_threshold=failure_threshold, + failure_threshold_expiration_in_seconds=failure_threshold_expiration_in_seconds, + interaction_threshold=interaction_threshold, + is_enabled=is_enabled, + is_nat_enabled=is_nat_enabled, + recording_period_in_seconds=recording_period_in_seconds, + set_http_header=set_http_header, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: str, + action_expiration_in_seconds: int, + challenge_settings: 'outputs.GetWaasPolicyWafConfigHumanInteractionChallengeChallengeSettingsResult', + failure_threshold: int, + failure_threshold_expiration_in_seconds: int, + interaction_threshold: int, + is_enabled: bool, + is_nat_enabled: bool, + recording_period_in_seconds: int, + set_http_header: 'outputs.GetWaasPolicyWafConfigHumanInteractionChallengeSetHttpHeaderResult', + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("action_expiration_in_seconds", action_expiration_in_seconds) + _setter("challenge_settings", challenge_settings) + _setter("failure_threshold", failure_threshold) + _setter("failure_threshold_expiration_in_seconds", failure_threshold_expiration_in_seconds) + _setter("interaction_threshold", interaction_threshold) + _setter("is_enabled", is_enabled) + _setter("is_nat_enabled", is_nat_enabled) + _setter("recording_period_in_seconds", recording_period_in_seconds) + _setter("set_http_header", set_http_header) @property @pulumi.getter @@ -9350,15 +11414,40 @@ def __init__(__self__, *, :param str captcha_submit_label: The text to show on the label of the CAPTCHA challenge submit button when `action` is set to `BLOCK`, `blockAction` is set to `SHOW_CAPTCHA`, and the request is blocked. If unspecified, defaults to `Yes, I am human`. :param str captcha_title: The title used when showing a CAPTCHA challenge when `action` is set to `BLOCK`, `blockAction` is set to `SHOW_CAPTCHA`, and the request is blocked. If unspecified, defaults to `Are you human?` """ - pulumi.set(__self__, "block_action", block_action) - pulumi.set(__self__, "block_error_page_code", block_error_page_code) - pulumi.set(__self__, "block_error_page_description", block_error_page_description) - pulumi.set(__self__, "block_error_page_message", block_error_page_message) - pulumi.set(__self__, "block_response_code", block_response_code) - pulumi.set(__self__, "captcha_footer", captcha_footer) - pulumi.set(__self__, "captcha_header", captcha_header) - pulumi.set(__self__, "captcha_submit_label", captcha_submit_label) - pulumi.set(__self__, "captcha_title", captcha_title) + GetWaasPolicyWafConfigHumanInteractionChallengeChallengeSettingsResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + block_action=block_action, + block_error_page_code=block_error_page_code, + block_error_page_description=block_error_page_description, + block_error_page_message=block_error_page_message, + block_response_code=block_response_code, + captcha_footer=captcha_footer, + captcha_header=captcha_header, + captcha_submit_label=captcha_submit_label, + captcha_title=captcha_title, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + block_action: str, + block_error_page_code: str, + block_error_page_description: str, + block_error_page_message: str, + block_response_code: int, + captcha_footer: str, + captcha_header: str, + captcha_submit_label: str, + captcha_title: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("block_action", block_action) + _setter("block_error_page_code", block_error_page_code) + _setter("block_error_page_description", block_error_page_description) + _setter("block_error_page_message", block_error_page_message) + _setter("block_response_code", block_response_code) + _setter("captcha_footer", captcha_footer) + _setter("captcha_header", captcha_header) + _setter("captcha_submit_label", captcha_submit_label) + _setter("captcha_title", captcha_title) @property @pulumi.getter(name="blockAction") @@ -9442,8 +11531,19 @@ def __init__(__self__, *, :param str name: The unique name of the whitelist. :param str value: The value of the header. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + GetWaasPolicyWafConfigHumanInteractionChallengeSetHttpHeaderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("value", value) @property @pulumi.getter @@ -9485,15 +11585,40 @@ def __init__(__self__, *, :param bool is_nat_enabled: When enabled, the user is identified not only by the IP address but also by an unique additional hash, which prevents blocking visitors with shared IP addresses. :param 'GetWaasPolicyWafConfigJsChallengeSetHttpHeaderArgs' set_http_header: Adds an additional HTTP header to requests that fail the challenge before being passed to the origin. Only applicable when the `action` is set to `DETECT`. """ - pulumi.set(__self__, "action", action) - pulumi.set(__self__, "action_expiration_in_seconds", action_expiration_in_seconds) - pulumi.set(__self__, "are_redirects_challenged", are_redirects_challenged) - pulumi.set(__self__, "challenge_settings", challenge_settings) - pulumi.set(__self__, "criterias", criterias) - pulumi.set(__self__, "failure_threshold", failure_threshold) - pulumi.set(__self__, "is_enabled", is_enabled) - pulumi.set(__self__, "is_nat_enabled", is_nat_enabled) - pulumi.set(__self__, "set_http_header", set_http_header) + GetWaasPolicyWafConfigJsChallengeResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + action_expiration_in_seconds=action_expiration_in_seconds, + are_redirects_challenged=are_redirects_challenged, + challenge_settings=challenge_settings, + criterias=criterias, + failure_threshold=failure_threshold, + is_enabled=is_enabled, + is_nat_enabled=is_nat_enabled, + set_http_header=set_http_header, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: str, + action_expiration_in_seconds: int, + are_redirects_challenged: bool, + challenge_settings: 'outputs.GetWaasPolicyWafConfigJsChallengeChallengeSettingsResult', + criterias: Sequence['outputs.GetWaasPolicyWafConfigJsChallengeCriteriaResult'], + failure_threshold: int, + is_enabled: bool, + is_nat_enabled: bool, + set_http_header: 'outputs.GetWaasPolicyWafConfigJsChallengeSetHttpHeaderResult', + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action", action) + _setter("action_expiration_in_seconds", action_expiration_in_seconds) + _setter("are_redirects_challenged", are_redirects_challenged) + _setter("challenge_settings", challenge_settings) + _setter("criterias", criterias) + _setter("failure_threshold", failure_threshold) + _setter("is_enabled", is_enabled) + _setter("is_nat_enabled", is_nat_enabled) + _setter("set_http_header", set_http_header) @property @pulumi.getter @@ -9591,15 +11716,40 @@ def __init__(__self__, *, :param str captcha_submit_label: The text to show on the label of the CAPTCHA challenge submit button when `action` is set to `BLOCK`, `blockAction` is set to `SHOW_CAPTCHA`, and the request is blocked. If unspecified, defaults to `Yes, I am human`. :param str captcha_title: The title used when showing a CAPTCHA challenge when `action` is set to `BLOCK`, `blockAction` is set to `SHOW_CAPTCHA`, and the request is blocked. If unspecified, defaults to `Are you human?` """ - pulumi.set(__self__, "block_action", block_action) - pulumi.set(__self__, "block_error_page_code", block_error_page_code) - pulumi.set(__self__, "block_error_page_description", block_error_page_description) - pulumi.set(__self__, "block_error_page_message", block_error_page_message) - pulumi.set(__self__, "block_response_code", block_response_code) - pulumi.set(__self__, "captcha_footer", captcha_footer) - pulumi.set(__self__, "captcha_header", captcha_header) - pulumi.set(__self__, "captcha_submit_label", captcha_submit_label) - pulumi.set(__self__, "captcha_title", captcha_title) + GetWaasPolicyWafConfigJsChallengeChallengeSettingsResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + block_action=block_action, + block_error_page_code=block_error_page_code, + block_error_page_description=block_error_page_description, + block_error_page_message=block_error_page_message, + block_response_code=block_response_code, + captcha_footer=captcha_footer, + captcha_header=captcha_header, + captcha_submit_label=captcha_submit_label, + captcha_title=captcha_title, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + block_action: str, + block_error_page_code: str, + block_error_page_description: str, + block_error_page_message: str, + block_response_code: int, + captcha_footer: str, + captcha_header: str, + captcha_submit_label: str, + captcha_title: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("block_action", block_action) + _setter("block_error_page_code", block_error_page_code) + _setter("block_error_page_description", block_error_page_description) + _setter("block_error_page_message", block_error_page_message) + _setter("block_response_code", block_response_code) + _setter("captcha_footer", captcha_footer) + _setter("captcha_header", captcha_header) + _setter("captcha_submit_label", captcha_submit_label) + _setter("captcha_title", captcha_title) @property @pulumi.getter(name="blockAction") @@ -9701,9 +11851,22 @@ def __init__(__self__, *, :param bool is_case_sensitive: When enabled, the condition will be matched with case-sensitive rules. :param str value: The value of the header. """ - pulumi.set(__self__, "condition", condition) - pulumi.set(__self__, "is_case_sensitive", is_case_sensitive) - pulumi.set(__self__, "value", value) + GetWaasPolicyWafConfigJsChallengeCriteriaResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + condition=condition, + is_case_sensitive=is_case_sensitive, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + condition: str, + is_case_sensitive: bool, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("condition", condition) + _setter("is_case_sensitive", is_case_sensitive) + _setter("value", value) @property @pulumi.getter @@ -9755,8 +11918,19 @@ def __init__(__self__, *, :param str name: The unique name of the whitelist. :param str value: The value of the header. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + GetWaasPolicyWafConfigJsChallengeSetHttpHeaderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("value", value) @property @pulumi.getter @@ -9806,19 +11980,52 @@ def __init__(__self__, *, :param Sequence[str] media_types: The list of media types to allow for inspection, if `isResponseInspected` is enabled. Only responses with MIME types in this list will be inspected. If unspecified, defaults to `["text/html", "text/plain", "text/xml"]`. :param int recommendations_period_in_days: The length of time to analyze traffic traffic, in days. After the analysis period, `WafRecommendations` will be populated. If unspecified, defaults to `10`. """ - pulumi.set(__self__, "allowed_http_methods", allowed_http_methods) - pulumi.set(__self__, "block_action", block_action) - pulumi.set(__self__, "block_error_page_code", block_error_page_code) - pulumi.set(__self__, "block_error_page_description", block_error_page_description) - pulumi.set(__self__, "block_error_page_message", block_error_page_message) - pulumi.set(__self__, "block_response_code", block_response_code) - pulumi.set(__self__, "is_response_inspected", is_response_inspected) - pulumi.set(__self__, "max_argument_count", max_argument_count) - pulumi.set(__self__, "max_name_length_per_argument", max_name_length_per_argument) - pulumi.set(__self__, "max_response_size_in_ki_b", max_response_size_in_ki_b) - pulumi.set(__self__, "max_total_name_length_of_arguments", max_total_name_length_of_arguments) - pulumi.set(__self__, "media_types", media_types) - pulumi.set(__self__, "recommendations_period_in_days", recommendations_period_in_days) + GetWaasPolicyWafConfigProtectionSettingsResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_http_methods=allowed_http_methods, + block_action=block_action, + block_error_page_code=block_error_page_code, + block_error_page_description=block_error_page_description, + block_error_page_message=block_error_page_message, + block_response_code=block_response_code, + is_response_inspected=is_response_inspected, + max_argument_count=max_argument_count, + max_name_length_per_argument=max_name_length_per_argument, + max_response_size_in_ki_b=max_response_size_in_ki_b, + max_total_name_length_of_arguments=max_total_name_length_of_arguments, + media_types=media_types, + recommendations_period_in_days=recommendations_period_in_days, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_http_methods: Sequence[str], + block_action: str, + block_error_page_code: str, + block_error_page_description: str, + block_error_page_message: str, + block_response_code: int, + is_response_inspected: bool, + max_argument_count: int, + max_name_length_per_argument: int, + max_response_size_in_ki_b: int, + max_total_name_length_of_arguments: int, + media_types: Sequence[str], + recommendations_period_in_days: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allowed_http_methods", allowed_http_methods) + _setter("block_action", block_action) + _setter("block_error_page_code", block_error_page_code) + _setter("block_error_page_description", block_error_page_description) + _setter("block_error_page_message", block_error_page_message) + _setter("block_response_code", block_response_code) + _setter("is_response_inspected", is_response_inspected) + _setter("max_argument_count", max_argument_count) + _setter("max_name_length_per_argument", max_name_length_per_argument) + _setter("max_response_size_in_ki_b", max_response_size_in_ki_b) + _setter("max_total_name_length_of_arguments", max_total_name_length_of_arguments) + _setter("media_types", media_types) + _setter("recommendations_period_in_days", recommendations_period_in_days) @property @pulumi.getter(name="allowedHttpMethods") @@ -9936,9 +12143,22 @@ def __init__(__self__, *, :param Sequence[str] addresses: A set of IP addresses or CIDR notations to include in the whitelist. :param str name: The unique name of the whitelist. """ - pulumi.set(__self__, "address_lists", address_lists) - pulumi.set(__self__, "addresses", addresses) - pulumi.set(__self__, "name", name) + GetWaasPolicyWafConfigWhitelistResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + address_lists=address_lists, + addresses=addresses, + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + address_lists: Sequence[str], + addresses: Sequence[str], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("address_lists", address_lists) + _setter("addresses", addresses) + _setter("name", name) @property @pulumi.getter(name="addressLists") diff --git a/sdk/python/pulumi_oci/waas/policy.py b/sdk/python/pulumi_oci/waas/policy.py index 4e21306d15..de580d22a6 100644 --- a/sdk/python/pulumi_oci/waas/policy.py +++ b/sdk/python/pulumi_oci/waas/policy.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -39,24 +39,51 @@ def __init__(__self__, *, :param pulumi.Input['PolicyPolicyConfigArgs'] policy_config: (Updatable) The configuration details for the WAAS policy. :param pulumi.Input['PolicyWafConfigArgs'] waf_config: (Updatable) The Web Application Firewall configuration for the WAAS policy creation. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "domain", domain) + PolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + domain=domain, + additional_domains=additional_domains, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + origin_groups=origin_groups, + origins=origins, + policy_config=policy_config, + waf_config=waf_config, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + domain: pulumi.Input[str], + additional_domains: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + origin_groups: Optional[pulumi.Input[Sequence[pulumi.Input['PolicyOriginGroupArgs']]]] = None, + origins: Optional[pulumi.Input[Sequence[pulumi.Input['PolicyOriginArgs']]]] = None, + policy_config: Optional[pulumi.Input['PolicyPolicyConfigArgs']] = None, + waf_config: Optional[pulumi.Input['PolicyWafConfigArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("domain", domain) if additional_domains is not None: - pulumi.set(__self__, "additional_domains", additional_domains) + _setter("additional_domains", additional_domains) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if origin_groups is not None: - pulumi.set(__self__, "origin_groups", origin_groups) + _setter("origin_groups", origin_groups) if origins is not None: - pulumi.set(__self__, "origins", origins) + _setter("origins", origins) if policy_config is not None: - pulumi.set(__self__, "policy_config", policy_config) + _setter("policy_config", policy_config) if waf_config is not None: - pulumi.set(__self__, "waf_config", waf_config) + _setter("waf_config", waf_config) @property @pulumi.getter(name="compartmentId") @@ -211,32 +238,65 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The date and time the policy was created, expressed in RFC 3339 timestamp format. :param pulumi.Input['PolicyWafConfigArgs'] waf_config: (Updatable) The Web Application Firewall configuration for the WAAS policy creation. """ + _PolicyState._configure( + lambda key, value: pulumi.set(__self__, key, value), + additional_domains=additional_domains, + cname=cname, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + domain=domain, + freeform_tags=freeform_tags, + origin_groups=origin_groups, + origins=origins, + policy_config=policy_config, + state=state, + time_created=time_created, + waf_config=waf_config, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + additional_domains: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + cname: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + domain: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + origin_groups: Optional[pulumi.Input[Sequence[pulumi.Input['PolicyOriginGroupArgs']]]] = None, + origins: Optional[pulumi.Input[Sequence[pulumi.Input['PolicyOriginArgs']]]] = None, + policy_config: Optional[pulumi.Input['PolicyPolicyConfigArgs']] = None, + state: Optional[pulumi.Input[str]] = None, + time_created: Optional[pulumi.Input[str]] = None, + waf_config: Optional[pulumi.Input['PolicyWafConfigArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if additional_domains is not None: - pulumi.set(__self__, "additional_domains", additional_domains) + _setter("additional_domains", additional_domains) if cname is not None: - pulumi.set(__self__, "cname", cname) + _setter("cname", cname) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if domain is not None: - pulumi.set(__self__, "domain", domain) + _setter("domain", domain) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if origin_groups is not None: - pulumi.set(__self__, "origin_groups", origin_groups) + _setter("origin_groups", origin_groups) if origins is not None: - pulumi.set(__self__, "origins", origins) + _setter("origins", origins) if policy_config is not None: - pulumi.set(__self__, "policy_config", policy_config) + _setter("policy_config", policy_config) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if waf_config is not None: - pulumi.set(__self__, "waf_config", waf_config) + _setter("waf_config", waf_config) @property @pulumi.getter(name="additionalDomains") @@ -490,6 +550,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + PolicyArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -526,7 +590,17 @@ def _internal_init(__self__, __props__.__dict__["freeform_tags"] = freeform_tags __props__.__dict__["origin_groups"] = origin_groups __props__.__dict__["origins"] = origins + if policy_config is not None and not isinstance(policy_config, PolicyPolicyConfigArgs): + policy_config = policy_config or {} + def _setter(key, value): + policy_config[key] = value + PolicyPolicyConfigArgs._configure(_setter, **policy_config) __props__.__dict__["policy_config"] = policy_config + if waf_config is not None and not isinstance(waf_config, PolicyWafConfigArgs): + waf_config = waf_config or {} + def _setter(key, value): + waf_config[key] = value + PolicyWafConfigArgs._configure(_setter, **waf_config) __props__.__dict__["waf_config"] = waf_config __props__.__dict__["cname"] = None __props__.__dict__["state"] = None diff --git a/sdk/python/pulumi_oci/waas/protection_rule.py b/sdk/python/pulumi_oci/waas/protection_rule.py index c12d0cb599..c5dd0f3a00 100644 --- a/sdk/python/pulumi_oci/waas/protection_rule.py +++ b/sdk/python/pulumi_oci/waas/protection_rule.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -27,12 +27,27 @@ def __init__(__self__, *, :param pulumi.Input[str] action: (Updatable) The action to take when the traffic is detected as malicious. If unspecified, defaults to `OFF`. :param pulumi.Input[Sequence[pulumi.Input['ProtectionRuleExclusionArgs']]] exclusions: An array of The target property of a request that would allow it to bypass the protection rule. For example, when `target` is `REQUEST_COOKIE_NAMES`, the list may include names of cookies to exclude from the protection rule. When the target is `ARGS`, the list may include strings of URL query parameters and values from form-urlencoded XML, JSON, AMP, or POST payloads to exclude from the protection rule. `Exclusions` properties must not contain whitespace, comma or |. **Note:** If protection rules have been enabled that utilize the `maxArgumentCount` or `maxTotalNameLengthOfArguments` properties, and the `target` property has been set to `ARGS`, it is important that the `exclusions` properties be defined to honor those protection rule settings in a consistent manner. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "waas_policy_id", waas_policy_id) + ProtectionRuleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + waas_policy_id=waas_policy_id, + action=action, + exclusions=exclusions, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: pulumi.Input[str], + waas_policy_id: pulumi.Input[str], + action: Optional[pulumi.Input[str]] = None, + exclusions: Optional[pulumi.Input[Sequence[pulumi.Input['ProtectionRuleExclusionArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("waas_policy_id", waas_policy_id) if action is not None: - pulumi.set(__self__, "action", action) + _setter("action", action) if exclusions is not None: - pulumi.set(__self__, "exclusions", exclusions) + _setter("exclusions", exclusions) @property @pulumi.getter @@ -105,22 +120,45 @@ def __init__(__self__, *, :param pulumi.Input[str] name: The name of the protection rule. :param pulumi.Input[str] waas_policy_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the WAAS policy. """ + _ProtectionRuleState._configure( + lambda key, value: pulumi.set(__self__, key, value), + action=action, + description=description, + exclusions=exclusions, + key=key, + labels=labels, + mod_security_rule_ids=mod_security_rule_ids, + name=name, + waas_policy_id=waas_policy_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action: Optional[pulumi.Input[str]] = None, + description: Optional[pulumi.Input[str]] = None, + exclusions: Optional[pulumi.Input[Sequence[pulumi.Input['ProtectionRuleExclusionArgs']]]] = None, + key: Optional[pulumi.Input[str]] = None, + labels: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + mod_security_rule_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + name: Optional[pulumi.Input[str]] = None, + waas_policy_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if action is not None: - pulumi.set(__self__, "action", action) + _setter("action", action) if description is not None: - pulumi.set(__self__, "description", description) + _setter("description", description) if exclusions is not None: - pulumi.set(__self__, "exclusions", exclusions) + _setter("exclusions", exclusions) if key is not None: - pulumi.set(__self__, "key", key) + _setter("key", key) if labels is not None: - pulumi.set(__self__, "labels", labels) + _setter("labels", labels) if mod_security_rule_ids is not None: - pulumi.set(__self__, "mod_security_rule_ids", mod_security_rule_ids) + _setter("mod_security_rule_ids", mod_security_rule_ids) if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if waas_policy_id is not None: - pulumi.set(__self__, "waas_policy_id", waas_policy_id) + _setter("waas_policy_id", waas_policy_id) @property @pulumi.getter @@ -282,6 +320,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + ProtectionRuleArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/waas/purge_cache.py b/sdk/python/pulumi_oci/waas/purge_cache.py index 9a55c7ab10..7e02e0214c 100644 --- a/sdk/python/pulumi_oci/waas/purge_cache.py +++ b/sdk/python/pulumi_oci/waas/purge_cache.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['PurgeCacheArgs', 'PurgeCache'] @@ -25,9 +25,20 @@ def __init__(__self__, *, Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values :param pulumi.Input[Sequence[pulumi.Input[str]]] resources: A resource to purge, specified by either a hostless absolute path starting with a single slash (Example: `/path/to/resource`) or by a relative path in which the first component will be interpreted as a domain protected by the WAAS policy (Example: `example.com/path/to/resource`). """ - pulumi.set(__self__, "waas_policy_id", waas_policy_id) + PurgeCacheArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + waas_policy_id=waas_policy_id, + resources=resources, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + waas_policy_id: pulumi.Input[str], + resources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("waas_policy_id", waas_policy_id) if resources is not None: - pulumi.set(__self__, "resources", resources) + _setter("resources", resources) @property @pulumi.getter(name="waasPolicyId") @@ -72,10 +83,21 @@ def __init__(__self__, *, ** 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 """ + _PurgeCacheState._configure( + lambda key, value: pulumi.set(__self__, key, value), + resources=resources, + waas_policy_id=waas_policy_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + resources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + waas_policy_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if resources is not None: - pulumi.set(__self__, "resources", resources) + _setter("resources", resources) if waas_policy_id is not None: - pulumi.set(__self__, "waas_policy_id", waas_policy_id) + _setter("waas_policy_id", waas_policy_id) @property @pulumi.getter @@ -181,6 +203,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + PurgeCacheArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/waf/_inputs.py b/sdk/python/pulumi_oci/waf/_inputs.py index 4f005e3779..aff80e71dd 100644 --- a/sdk/python/pulumi_oci/waf/_inputs.py +++ b/sdk/python/pulumi_oci/waf/_inputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ @@ -81,14 +81,31 @@ def __init__(__self__, *, * Transfer-Encoding * Upgrade """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "type", type) + AppFirewallPolicyActionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + type=type, + body=body, + code=code, + headers=headers, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: pulumi.Input[str], + type: pulumi.Input[str], + body: Optional[pulumi.Input['AppFirewallPolicyActionBodyArgs']] = None, + code: Optional[pulumi.Input[int]] = None, + headers: Optional[pulumi.Input[Sequence[pulumi.Input['AppFirewallPolicyActionHeaderArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("type", type) if body is not None: - pulumi.set(__self__, "body", body) + _setter("body", body) if code is not None: - pulumi.set(__self__, "code", code) + _setter("code", code) if headers is not None: - pulumi.set(__self__, "headers", headers) + _setter("headers", headers) @property @pulumi.getter @@ -186,8 +203,19 @@ def __init__(__self__, *, :param pulumi.Input[str] text: (Updatable) Static response body text. :param pulumi.Input[str] type: (Updatable) Type of WebAppFirewallPolicyRule. """ - pulumi.set(__self__, "text", text) - pulumi.set(__self__, "type", type) + AppFirewallPolicyActionBodyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + text=text, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + text: pulumi.Input[str], + type: pulumi.Input[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("text", text) + _setter("type", type) @property @pulumi.getter @@ -223,10 +251,21 @@ def __init__(__self__, *, :param pulumi.Input[str] name: (Updatable) Rule name. Must be unique within the module. :param pulumi.Input[str] value: (Updatable) The value of the header field. """ + AppFirewallPolicyActionHeaderArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[pulumi.Input[str]] = None, + value: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -264,9 +303,20 @@ def __init__(__self__, *, * **RETURN_HTTP_RESPONSE** terminates further execution of modules and rules and returns defined HTTP response. :param pulumi.Input[Sequence[pulumi.Input['AppFirewallPolicyRequestAccessControlRuleArgs']]] rules: (Updatable) Ordered list of ProtectionRules. Rules are executed in order of appearance in this array. ProtectionRules in this array can only use protection capabilities of RESPONSE_PROTECTION_CAPABILITY type. """ - pulumi.set(__self__, "default_action_name", default_action_name) + AppFirewallPolicyRequestAccessControlArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + default_action_name=default_action_name, + rules=rules, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + default_action_name: pulumi.Input[str], + rules: Optional[pulumi.Input[Sequence[pulumi.Input['AppFirewallPolicyRequestAccessControlRuleArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("default_action_name", default_action_name) if rules is not None: - pulumi.set(__self__, "rules", rules) + _setter("rules", rules) @property @pulumi.getter(name="defaultActionName") @@ -311,13 +361,30 @@ def __init__(__self__, *, :param pulumi.Input[str] condition_language: (Updatable) The language used to parse condition from field `condition`. Available languages: * **JMESPATH** an extended JMESPath language syntax. """ - pulumi.set(__self__, "action_name", action_name) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "type", type) + AppFirewallPolicyRequestAccessControlRuleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + action_name=action_name, + name=name, + type=type, + condition=condition, + condition_language=condition_language, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action_name: pulumi.Input[str], + name: pulumi.Input[str], + type: pulumi.Input[str], + condition: Optional[pulumi.Input[str]] = None, + condition_language: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action_name", action_name) + _setter("name", name) + _setter("type", type) if condition is not None: - pulumi.set(__self__, "condition", condition) + _setter("condition", condition) if condition_language is not None: - pulumi.set(__self__, "condition_language", condition_language) + _setter("condition_language", condition_language) @property @pulumi.getter(name="actionName") @@ -401,12 +468,25 @@ def __init__(__self__, *, For steps to request a limit increase, see [Requesting a Service Limit Increase](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). :param pulumi.Input[Sequence[pulumi.Input['AppFirewallPolicyRequestProtectionRuleArgs']]] rules: (Updatable) Ordered list of ProtectionRules. Rules are executed in order of appearance in this array. ProtectionRules in this array can only use protection capabilities of RESPONSE_PROTECTION_CAPABILITY type. """ + AppFirewallPolicyRequestProtectionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + body_inspection_size_limit_exceeded_action_name=body_inspection_size_limit_exceeded_action_name, + body_inspection_size_limit_in_bytes=body_inspection_size_limit_in_bytes, + rules=rules, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + body_inspection_size_limit_exceeded_action_name: Optional[pulumi.Input[str]] = None, + body_inspection_size_limit_in_bytes: Optional[pulumi.Input[int]] = None, + rules: Optional[pulumi.Input[Sequence[pulumi.Input['AppFirewallPolicyRequestProtectionRuleArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if body_inspection_size_limit_exceeded_action_name is not None: - pulumi.set(__self__, "body_inspection_size_limit_exceeded_action_name", body_inspection_size_limit_exceeded_action_name) + _setter("body_inspection_size_limit_exceeded_action_name", body_inspection_size_limit_exceeded_action_name) if body_inspection_size_limit_in_bytes is not None: - pulumi.set(__self__, "body_inspection_size_limit_in_bytes", body_inspection_size_limit_in_bytes) + _setter("body_inspection_size_limit_in_bytes", body_inspection_size_limit_in_bytes) if rules is not None: - pulumi.set(__self__, "rules", rules) + _setter("rules", rules) @property @pulumi.getter(name="bodyInspectionSizeLimitExceededActionName") @@ -476,18 +556,41 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_body_inspection_enabled: (Updatable) Enables/disables body inspection for this protection rule. Only Protection Rules in RequestProtection can have this option enabled. Response body inspection will be available at a later date. :param pulumi.Input['AppFirewallPolicyRequestProtectionRuleProtectionCapabilitySettingsArgs'] protection_capability_settings: (Updatable) Settings for protection capabilities """ - pulumi.set(__self__, "action_name", action_name) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "protection_capabilities", protection_capabilities) - pulumi.set(__self__, "type", type) + AppFirewallPolicyRequestProtectionRuleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + action_name=action_name, + name=name, + protection_capabilities=protection_capabilities, + type=type, + condition=condition, + condition_language=condition_language, + is_body_inspection_enabled=is_body_inspection_enabled, + protection_capability_settings=protection_capability_settings, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action_name: pulumi.Input[str], + name: pulumi.Input[str], + protection_capabilities: pulumi.Input[Sequence[pulumi.Input['AppFirewallPolicyRequestProtectionRuleProtectionCapabilityArgs']]], + type: pulumi.Input[str], + condition: Optional[pulumi.Input[str]] = None, + condition_language: Optional[pulumi.Input[str]] = None, + is_body_inspection_enabled: Optional[pulumi.Input[bool]] = None, + protection_capability_settings: Optional[pulumi.Input['AppFirewallPolicyRequestProtectionRuleProtectionCapabilitySettingsArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action_name", action_name) + _setter("name", name) + _setter("protection_capabilities", protection_capabilities) + _setter("type", type) if condition is not None: - pulumi.set(__self__, "condition", condition) + _setter("condition", condition) if condition_language is not None: - pulumi.set(__self__, "condition_language", condition_language) + _setter("condition_language", condition_language) if is_body_inspection_enabled is not None: - pulumi.set(__self__, "is_body_inspection_enabled", is_body_inspection_enabled) + _setter("is_body_inspection_enabled", is_body_inspection_enabled) if protection_capability_settings is not None: - pulumi.set(__self__, "protection_capability_settings", protection_capability_settings) + _setter("protection_capability_settings", protection_capability_settings) @property @pulumi.getter(name="actionName") @@ -604,16 +707,35 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['AppFirewallPolicyRequestProtectionRuleProtectionCapabilityCollaborativeWeightArgs']]] collaborative_weights: (Updatable) Explicit weight values to use for associated collaborative protection capabilities. :param pulumi.Input['AppFirewallPolicyRequestProtectionRuleProtectionCapabilityExclusionsArgs'] exclusions: (Updatable) Identifies specific HTTP message parameters to exclude from inspection by a protection capability. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "version", version) + AppFirewallPolicyRequestProtectionRuleProtectionCapabilityArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + version=version, + action_name=action_name, + collaborative_action_threshold=collaborative_action_threshold, + collaborative_weights=collaborative_weights, + exclusions=exclusions, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: pulumi.Input[str], + version: pulumi.Input[int], + action_name: Optional[pulumi.Input[str]] = None, + collaborative_action_threshold: Optional[pulumi.Input[int]] = None, + collaborative_weights: Optional[pulumi.Input[Sequence[pulumi.Input['AppFirewallPolicyRequestProtectionRuleProtectionCapabilityCollaborativeWeightArgs']]]] = None, + exclusions: Optional[pulumi.Input['AppFirewallPolicyRequestProtectionRuleProtectionCapabilityExclusionsArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("version", version) if action_name is not None: - pulumi.set(__self__, "action_name", action_name) + _setter("action_name", action_name) if collaborative_action_threshold is not None: - pulumi.set(__self__, "collaborative_action_threshold", collaborative_action_threshold) + _setter("collaborative_action_threshold", collaborative_action_threshold) if collaborative_weights is not None: - pulumi.set(__self__, "collaborative_weights", collaborative_weights) + _setter("collaborative_weights", collaborative_weights) if exclusions is not None: - pulumi.set(__self__, "exclusions", exclusions) + _setter("exclusions", exclusions) @property @pulumi.getter @@ -697,8 +819,19 @@ def __init__(__self__, *, :param pulumi.Input[str] key: (Updatable) Unique key of referenced protection capability. :param pulumi.Input[int] weight: (Updatable) The value of weight to set. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "weight", weight) + AppFirewallPolicyRequestProtectionRuleProtectionCapabilityCollaborativeWeightArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + weight=weight, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: pulumi.Input[str], + weight: pulumi.Input[int], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("weight", weight) @property @pulumi.getter @@ -734,10 +867,21 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] args: (Updatable) List of URL query parameter values from form-urlencoded XML, JSON, AMP, or POST payloads to exclude from inspecting. Example: If we have query parameter 'argumentName=argumentValue' and args=['argumentName'], both 'argumentName' and 'argumentValue' will not be inspected. :param pulumi.Input[Sequence[pulumi.Input[str]]] request_cookies: (Updatable) List of HTTP request cookie values (by cookie name) to exclude from inspecting. Example: If we have cookie 'cookieName=cookieValue' and requestCookies=['cookieName'], both 'cookieName' and 'cookieValue' will not be inspected. """ + AppFirewallPolicyRequestProtectionRuleProtectionCapabilityExclusionsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + args=args, + request_cookies=request_cookies, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + args: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + request_cookies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if args is not None: - pulumi.set(__self__, "args", args) + _setter("args", args) if request_cookies is not None: - pulumi.set(__self__, "request_cookies", request_cookies) + _setter("request_cookies", request_cookies) @property @pulumi.getter @@ -781,18 +925,37 @@ def __init__(__self__, *, :param pulumi.Input[int] max_single_argument_length: (Updatable) Maximum allowed length of a single argument. Used in protection capability 920370: Limit argument value length. :param pulumi.Input[int] max_total_argument_length: (Updatable) Maximum allowed total length of all arguments. Used in protection capability 920390: Limit arguments total length. """ + AppFirewallPolicyRequestProtectionRuleProtectionCapabilitySettingsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_http_methods=allowed_http_methods, + max_http_request_header_length=max_http_request_header_length, + max_http_request_headers=max_http_request_headers, + max_number_of_arguments=max_number_of_arguments, + max_single_argument_length=max_single_argument_length, + max_total_argument_length=max_total_argument_length, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_http_methods: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + max_http_request_header_length: Optional[pulumi.Input[int]] = None, + max_http_request_headers: Optional[pulumi.Input[int]] = None, + max_number_of_arguments: Optional[pulumi.Input[int]] = None, + max_single_argument_length: Optional[pulumi.Input[int]] = None, + max_total_argument_length: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if allowed_http_methods is not None: - pulumi.set(__self__, "allowed_http_methods", allowed_http_methods) + _setter("allowed_http_methods", allowed_http_methods) if max_http_request_header_length is not None: - pulumi.set(__self__, "max_http_request_header_length", max_http_request_header_length) + _setter("max_http_request_header_length", max_http_request_header_length) if max_http_request_headers is not None: - pulumi.set(__self__, "max_http_request_headers", max_http_request_headers) + _setter("max_http_request_headers", max_http_request_headers) if max_number_of_arguments is not None: - pulumi.set(__self__, "max_number_of_arguments", max_number_of_arguments) + _setter("max_number_of_arguments", max_number_of_arguments) if max_single_argument_length is not None: - pulumi.set(__self__, "max_single_argument_length", max_single_argument_length) + _setter("max_single_argument_length", max_single_argument_length) if max_total_argument_length is not None: - pulumi.set(__self__, "max_total_argument_length", max_total_argument_length) + _setter("max_total_argument_length", max_total_argument_length) @property @pulumi.getter(name="allowedHttpMethods") @@ -874,8 +1037,17 @@ def __init__(__self__, *, """ :param pulumi.Input[Sequence[pulumi.Input['AppFirewallPolicyRequestRateLimitingRuleArgs']]] rules: (Updatable) Ordered list of ProtectionRules. Rules are executed in order of appearance in this array. ProtectionRules in this array can only use protection capabilities of RESPONSE_PROTECTION_CAPABILITY type. """ + AppFirewallPolicyRequestRateLimitingArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + rules=rules, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + rules: Optional[pulumi.Input[Sequence[pulumi.Input['AppFirewallPolicyRequestRateLimitingRuleArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if rules is not None: - pulumi.set(__self__, "rules", rules) + _setter("rules", rules) @property @pulumi.getter @@ -908,14 +1080,33 @@ def __init__(__self__, *, :param pulumi.Input[str] condition_language: (Updatable) The language used to parse condition from field `condition`. Available languages: * **JMESPATH** an extended JMESPath language syntax. """ - pulumi.set(__self__, "action_name", action_name) - pulumi.set(__self__, "configurations", configurations) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "type", type) + AppFirewallPolicyRequestRateLimitingRuleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + action_name=action_name, + configurations=configurations, + name=name, + type=type, + condition=condition, + condition_language=condition_language, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action_name: pulumi.Input[str], + configurations: pulumi.Input[Sequence[pulumi.Input['AppFirewallPolicyRequestRateLimitingRuleConfigurationArgs']]], + name: pulumi.Input[str], + type: pulumi.Input[str], + condition: Optional[pulumi.Input[str]] = None, + condition_language: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action_name", action_name) + _setter("configurations", configurations) + _setter("name", name) + _setter("type", type) if condition is not None: - pulumi.set(__self__, "condition", condition) + _setter("condition", condition) if condition_language is not None: - pulumi.set(__self__, "condition_language", condition_language) + _setter("condition_language", condition_language) @property @pulumi.getter(name="actionName") @@ -1002,10 +1193,23 @@ def __init__(__self__, *, :param pulumi.Input[int] requests_limit: (Updatable) Requests allowed per evaluation period. :param pulumi.Input[int] action_duration_in_seconds: (Updatable) Duration of block action application in seconds when `requestsLimit` is reached. Optional and can be 0 (no block duration). """ - pulumi.set(__self__, "period_in_seconds", period_in_seconds) - pulumi.set(__self__, "requests_limit", requests_limit) + AppFirewallPolicyRequestRateLimitingRuleConfigurationArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + period_in_seconds=period_in_seconds, + requests_limit=requests_limit, + action_duration_in_seconds=action_duration_in_seconds, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + period_in_seconds: pulumi.Input[int], + requests_limit: pulumi.Input[int], + action_duration_in_seconds: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("period_in_seconds", period_in_seconds) + _setter("requests_limit", requests_limit) if action_duration_in_seconds is not None: - pulumi.set(__self__, "action_duration_in_seconds", action_duration_in_seconds) + _setter("action_duration_in_seconds", action_duration_in_seconds) @property @pulumi.getter(name="periodInSeconds") @@ -1051,8 +1255,17 @@ def __init__(__self__, *, """ :param pulumi.Input[Sequence[pulumi.Input['AppFirewallPolicyResponseAccessControlRuleArgs']]] rules: (Updatable) Ordered list of ProtectionRules. Rules are executed in order of appearance in this array. ProtectionRules in this array can only use protection capabilities of RESPONSE_PROTECTION_CAPABILITY type. """ + AppFirewallPolicyResponseAccessControlArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + rules=rules, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + rules: Optional[pulumi.Input[Sequence[pulumi.Input['AppFirewallPolicyResponseAccessControlRuleArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if rules is not None: - pulumi.set(__self__, "rules", rules) + _setter("rules", rules) @property @pulumi.getter @@ -1083,13 +1296,30 @@ def __init__(__self__, *, :param pulumi.Input[str] condition_language: (Updatable) The language used to parse condition from field `condition`. Available languages: * **JMESPATH** an extended JMESPath language syntax. """ - pulumi.set(__self__, "action_name", action_name) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "type", type) + AppFirewallPolicyResponseAccessControlRuleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + action_name=action_name, + name=name, + type=type, + condition=condition, + condition_language=condition_language, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action_name: pulumi.Input[str], + name: pulumi.Input[str], + type: pulumi.Input[str], + condition: Optional[pulumi.Input[str]] = None, + condition_language: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action_name", action_name) + _setter("name", name) + _setter("type", type) if condition is not None: - pulumi.set(__self__, "condition", condition) + _setter("condition", condition) if condition_language is not None: - pulumi.set(__self__, "condition_language", condition_language) + _setter("condition_language", condition_language) @property @pulumi.getter(name="actionName") @@ -1160,8 +1390,17 @@ def __init__(__self__, *, """ :param pulumi.Input[Sequence[pulumi.Input['AppFirewallPolicyResponseProtectionRuleArgs']]] rules: (Updatable) Ordered list of ProtectionRules. Rules are executed in order of appearance in this array. ProtectionRules in this array can only use protection capabilities of RESPONSE_PROTECTION_CAPABILITY type. """ + AppFirewallPolicyResponseProtectionArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + rules=rules, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + rules: Optional[pulumi.Input[Sequence[pulumi.Input['AppFirewallPolicyResponseProtectionRuleArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if rules is not None: - pulumi.set(__self__, "rules", rules) + _setter("rules", rules) @property @pulumi.getter @@ -1198,18 +1437,41 @@ def __init__(__self__, *, :param pulumi.Input[bool] is_body_inspection_enabled: (Updatable) Enables/disables body inspection for this protection rule. Only Protection Rules in RequestProtection can have this option enabled. Response body inspection will be available at a later date. :param pulumi.Input['AppFirewallPolicyResponseProtectionRuleProtectionCapabilitySettingsArgs'] protection_capability_settings: (Updatable) Settings for protection capabilities """ - pulumi.set(__self__, "action_name", action_name) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "protection_capabilities", protection_capabilities) - pulumi.set(__self__, "type", type) + AppFirewallPolicyResponseProtectionRuleArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + action_name=action_name, + name=name, + protection_capabilities=protection_capabilities, + type=type, + condition=condition, + condition_language=condition_language, + is_body_inspection_enabled=is_body_inspection_enabled, + protection_capability_settings=protection_capability_settings, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action_name: pulumi.Input[str], + name: pulumi.Input[str], + protection_capabilities: pulumi.Input[Sequence[pulumi.Input['AppFirewallPolicyResponseProtectionRuleProtectionCapabilityArgs']]], + type: pulumi.Input[str], + condition: Optional[pulumi.Input[str]] = None, + condition_language: Optional[pulumi.Input[str]] = None, + is_body_inspection_enabled: Optional[pulumi.Input[bool]] = None, + protection_capability_settings: Optional[pulumi.Input['AppFirewallPolicyResponseProtectionRuleProtectionCapabilitySettingsArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action_name", action_name) + _setter("name", name) + _setter("protection_capabilities", protection_capabilities) + _setter("type", type) if condition is not None: - pulumi.set(__self__, "condition", condition) + _setter("condition", condition) if condition_language is not None: - pulumi.set(__self__, "condition_language", condition_language) + _setter("condition_language", condition_language) if is_body_inspection_enabled is not None: - pulumi.set(__self__, "is_body_inspection_enabled", is_body_inspection_enabled) + _setter("is_body_inspection_enabled", is_body_inspection_enabled) if protection_capability_settings is not None: - pulumi.set(__self__, "protection_capability_settings", protection_capability_settings) + _setter("protection_capability_settings", protection_capability_settings) @property @pulumi.getter(name="actionName") @@ -1326,16 +1588,35 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input['AppFirewallPolicyResponseProtectionRuleProtectionCapabilityCollaborativeWeightArgs']]] collaborative_weights: (Updatable) Explicit weight values to use for associated collaborative protection capabilities. :param pulumi.Input['AppFirewallPolicyResponseProtectionRuleProtectionCapabilityExclusionsArgs'] exclusions: (Updatable) Identifies specific HTTP message parameters to exclude from inspection by a protection capability. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "version", version) + AppFirewallPolicyResponseProtectionRuleProtectionCapabilityArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + version=version, + action_name=action_name, + collaborative_action_threshold=collaborative_action_threshold, + collaborative_weights=collaborative_weights, + exclusions=exclusions, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: pulumi.Input[str], + version: pulumi.Input[int], + action_name: Optional[pulumi.Input[str]] = None, + collaborative_action_threshold: Optional[pulumi.Input[int]] = None, + collaborative_weights: Optional[pulumi.Input[Sequence[pulumi.Input['AppFirewallPolicyResponseProtectionRuleProtectionCapabilityCollaborativeWeightArgs']]]] = None, + exclusions: Optional[pulumi.Input['AppFirewallPolicyResponseProtectionRuleProtectionCapabilityExclusionsArgs']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("version", version) if action_name is not None: - pulumi.set(__self__, "action_name", action_name) + _setter("action_name", action_name) if collaborative_action_threshold is not None: - pulumi.set(__self__, "collaborative_action_threshold", collaborative_action_threshold) + _setter("collaborative_action_threshold", collaborative_action_threshold) if collaborative_weights is not None: - pulumi.set(__self__, "collaborative_weights", collaborative_weights) + _setter("collaborative_weights", collaborative_weights) if exclusions is not None: - pulumi.set(__self__, "exclusions", exclusions) + _setter("exclusions", exclusions) @property @pulumi.getter @@ -1419,8 +1700,19 @@ def __init__(__self__, *, :param pulumi.Input[str] key: (Updatable) Unique key of referenced protection capability. :param pulumi.Input[int] weight: (Updatable) The value of weight to set. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "weight", weight) + AppFirewallPolicyResponseProtectionRuleProtectionCapabilityCollaborativeWeightArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + weight=weight, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: pulumi.Input[str], + weight: pulumi.Input[int], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("weight", weight) @property @pulumi.getter @@ -1456,10 +1748,21 @@ def __init__(__self__, *, :param pulumi.Input[Sequence[pulumi.Input[str]]] args: (Updatable) List of URL query parameter values from form-urlencoded XML, JSON, AMP, or POST payloads to exclude from inspecting. Example: If we have query parameter 'argumentName=argumentValue' and args=['argumentName'], both 'argumentName' and 'argumentValue' will not be inspected. :param pulumi.Input[Sequence[pulumi.Input[str]]] request_cookies: (Updatable) List of HTTP request cookie values (by cookie name) to exclude from inspecting. Example: If we have cookie 'cookieName=cookieValue' and requestCookies=['cookieName'], both 'cookieName' and 'cookieValue' will not be inspected. """ + AppFirewallPolicyResponseProtectionRuleProtectionCapabilityExclusionsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + args=args, + request_cookies=request_cookies, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + args: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + request_cookies: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if args is not None: - pulumi.set(__self__, "args", args) + _setter("args", args) if request_cookies is not None: - pulumi.set(__self__, "request_cookies", request_cookies) + _setter("request_cookies", request_cookies) @property @pulumi.getter @@ -1503,18 +1806,37 @@ def __init__(__self__, *, :param pulumi.Input[int] max_single_argument_length: (Updatable) Maximum allowed length of a single argument. Used in protection capability 920370: Limit argument value length. :param pulumi.Input[int] max_total_argument_length: (Updatable) Maximum allowed total length of all arguments. Used in protection capability 920390: Limit arguments total length. """ + AppFirewallPolicyResponseProtectionRuleProtectionCapabilitySettingsArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_http_methods=allowed_http_methods, + max_http_request_header_length=max_http_request_header_length, + max_http_request_headers=max_http_request_headers, + max_number_of_arguments=max_number_of_arguments, + max_single_argument_length=max_single_argument_length, + max_total_argument_length=max_total_argument_length, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_http_methods: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + max_http_request_header_length: Optional[pulumi.Input[int]] = None, + max_http_request_headers: Optional[pulumi.Input[int]] = None, + max_number_of_arguments: Optional[pulumi.Input[int]] = None, + max_single_argument_length: Optional[pulumi.Input[int]] = None, + max_total_argument_length: Optional[pulumi.Input[int]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if allowed_http_methods is not None: - pulumi.set(__self__, "allowed_http_methods", allowed_http_methods) + _setter("allowed_http_methods", allowed_http_methods) if max_http_request_header_length is not None: - pulumi.set(__self__, "max_http_request_header_length", max_http_request_header_length) + _setter("max_http_request_header_length", max_http_request_header_length) if max_http_request_headers is not None: - pulumi.set(__self__, "max_http_request_headers", max_http_request_headers) + _setter("max_http_request_headers", max_http_request_headers) if max_number_of_arguments is not None: - pulumi.set(__self__, "max_number_of_arguments", max_number_of_arguments) + _setter("max_number_of_arguments", max_number_of_arguments) if max_single_argument_length is not None: - pulumi.set(__self__, "max_single_argument_length", max_single_argument_length) + _setter("max_single_argument_length", max_single_argument_length) if max_total_argument_length is not None: - pulumi.set(__self__, "max_total_argument_length", max_total_argument_length) + _setter("max_total_argument_length", max_total_argument_length) @property @pulumi.getter(name="allowedHttpMethods") @@ -1602,10 +1924,21 @@ def __init__(__self__, *, ** 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 """ + NetworkAddressListVcnAddressArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + addresses=addresses, + vcn_id=vcn_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + addresses: Optional[pulumi.Input[str]] = None, + vcn_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if addresses is not None: - pulumi.set(__self__, "addresses", addresses) + _setter("addresses", addresses) if vcn_id is not None: - pulumi.set(__self__, "vcn_id", vcn_id) + _setter("vcn_id", vcn_id) @property @pulumi.getter @@ -1642,10 +1975,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetFirewallsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1681,10 +2027,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetNetworkAddressListsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1720,10 +2079,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetProtectionCapabilitiesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1762,10 +2134,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the entire name given. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetProtectionCapabilityGroupTagsFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1807,10 +2192,23 @@ def __init__(__self__, *, """ :param str name: Rule name. Must be unique within the module. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetWebAppFirewallPoliciesFilterArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter diff --git a/sdk/python/pulumi_oci/waf/app_firewall.py b/sdk/python/pulumi_oci/waf/app_firewall.py index 5e5f37390d..e691eb6784 100644 --- a/sdk/python/pulumi_oci/waf/app_firewall.py +++ b/sdk/python/pulumi_oci/waf/app_firewall.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = ['AppFirewallArgs', 'AppFirewall'] @@ -37,18 +37,41 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] freeform_tags: (Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` :param pulumi.Input[Mapping[str, Any]] system_tags: (Updatable) Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` """ - pulumi.set(__self__, "backend_type", backend_type) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "load_balancer_id", load_balancer_id) - pulumi.set(__self__, "web_app_firewall_policy_id", web_app_firewall_policy_id) + AppFirewallArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + backend_type=backend_type, + compartment_id=compartment_id, + load_balancer_id=load_balancer_id, + web_app_firewall_policy_id=web_app_firewall_policy_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + system_tags=system_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backend_type: pulumi.Input[str], + compartment_id: pulumi.Input[str], + load_balancer_id: pulumi.Input[str], + web_app_firewall_policy_id: pulumi.Input[str], + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("backend_type", backend_type) + _setter("compartment_id", compartment_id) + _setter("load_balancer_id", load_balancer_id) + _setter("web_app_firewall_policy_id", web_app_firewall_policy_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) @property @pulumi.getter(name="backendType") @@ -185,30 +208,61 @@ def __init__(__self__, *, ** 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 """ + _AppFirewallState._configure( + lambda key, value: pulumi.set(__self__, key, value), + backend_type=backend_type, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + load_balancer_id=load_balancer_id, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + web_app_firewall_policy_id=web_app_firewall_policy_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backend_type: Optional[pulumi.Input[str]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + load_balancer_id: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + web_app_firewall_policy_id: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if backend_type is not None: - pulumi.set(__self__, "backend_type", backend_type) + _setter("backend_type", backend_type) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if load_balancer_id is not None: - pulumi.set(__self__, "load_balancer_id", load_balancer_id) + _setter("load_balancer_id", load_balancer_id) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if web_app_firewall_policy_id is not None: - pulumi.set(__self__, "web_app_firewall_policy_id", web_app_firewall_policy_id) + _setter("web_app_firewall_policy_id", web_app_firewall_policy_id) @property @pulumi.getter(name="backendType") @@ -472,6 +526,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + AppFirewallArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/waf/app_firewall_policy.py b/sdk/python/pulumi_oci/waf/app_firewall_policy.py index ccf54c020f..1a7e00dc39 100644 --- a/sdk/python/pulumi_oci/waf/app_firewall_policy.py +++ b/sdk/python/pulumi_oci/waf/app_firewall_policy.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -45,27 +45,56 @@ def __init__(__self__, *, ** 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 """ - pulumi.set(__self__, "compartment_id", compartment_id) + AppFirewallPolicyArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + actions=actions, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + request_access_control=request_access_control, + request_protection=request_protection, + request_rate_limiting=request_rate_limiting, + response_access_control=response_access_control, + response_protection=response_protection, + system_tags=system_tags, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + actions: Optional[pulumi.Input[Sequence[pulumi.Input['AppFirewallPolicyActionArgs']]]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + request_access_control: Optional[pulumi.Input['AppFirewallPolicyRequestAccessControlArgs']] = None, + request_protection: Optional[pulumi.Input['AppFirewallPolicyRequestProtectionArgs']] = None, + request_rate_limiting: Optional[pulumi.Input['AppFirewallPolicyRequestRateLimitingArgs']] = None, + response_access_control: Optional[pulumi.Input['AppFirewallPolicyResponseAccessControlArgs']] = None, + response_protection: Optional[pulumi.Input['AppFirewallPolicyResponseProtectionArgs']] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) if actions is not None: - pulumi.set(__self__, "actions", actions) + _setter("actions", actions) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if request_access_control is not None: - pulumi.set(__self__, "request_access_control", request_access_control) + _setter("request_access_control", request_access_control) if request_protection is not None: - pulumi.set(__self__, "request_protection", request_protection) + _setter("request_protection", request_protection) if request_rate_limiting is not None: - pulumi.set(__self__, "request_rate_limiting", request_rate_limiting) + _setter("request_rate_limiting", request_rate_limiting) if response_access_control is not None: - pulumi.set(__self__, "response_access_control", response_access_control) + _setter("response_access_control", response_access_control) if response_protection is not None: - pulumi.set(__self__, "response_protection", response_protection) + _setter("response_protection", response_protection) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) @property @pulumi.getter(name="compartmentId") @@ -244,36 +273,73 @@ def __init__(__self__, *, :param pulumi.Input[str] time_created: The time the WebAppFirewallPolicy was created. An RFC3339 formatted datetime string. :param pulumi.Input[str] time_updated: The time the WebAppFirewallPolicy was updated. An RFC3339 formatted datetime string. """ + _AppFirewallPolicyState._configure( + lambda key, value: pulumi.set(__self__, key, value), + actions=actions, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + request_access_control=request_access_control, + request_protection=request_protection, + request_rate_limiting=request_rate_limiting, + response_access_control=response_access_control, + response_protection=response_protection, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + actions: Optional[pulumi.Input[Sequence[pulumi.Input['AppFirewallPolicyActionArgs']]]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + request_access_control: Optional[pulumi.Input['AppFirewallPolicyRequestAccessControlArgs']] = None, + request_protection: Optional[pulumi.Input['AppFirewallPolicyRequestProtectionArgs']] = None, + request_rate_limiting: Optional[pulumi.Input['AppFirewallPolicyRequestRateLimitingArgs']] = None, + response_access_control: Optional[pulumi.Input['AppFirewallPolicyResponseAccessControlArgs']] = None, + response_protection: Optional[pulumi.Input['AppFirewallPolicyResponseProtectionArgs']] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if actions is not None: - pulumi.set(__self__, "actions", actions) + _setter("actions", actions) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if request_access_control is not None: - pulumi.set(__self__, "request_access_control", request_access_control) + _setter("request_access_control", request_access_control) if request_protection is not None: - pulumi.set(__self__, "request_protection", request_protection) + _setter("request_protection", request_protection) if request_rate_limiting is not None: - pulumi.set(__self__, "request_rate_limiting", request_rate_limiting) + _setter("request_rate_limiting", request_rate_limiting) if response_access_control is not None: - pulumi.set(__self__, "response_access_control", response_access_control) + _setter("response_access_control", response_access_control) if response_protection is not None: - pulumi.set(__self__, "response_protection", response_protection) + _setter("response_protection", response_protection) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) @property @pulumi.getter @@ -797,6 +863,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + AppFirewallPolicyArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, @@ -829,10 +899,35 @@ def _internal_init(__self__, __props__.__dict__["defined_tags"] = defined_tags __props__.__dict__["display_name"] = display_name __props__.__dict__["freeform_tags"] = freeform_tags + if request_access_control is not None and not isinstance(request_access_control, AppFirewallPolicyRequestAccessControlArgs): + request_access_control = request_access_control or {} + def _setter(key, value): + request_access_control[key] = value + AppFirewallPolicyRequestAccessControlArgs._configure(_setter, **request_access_control) __props__.__dict__["request_access_control"] = request_access_control + if request_protection is not None and not isinstance(request_protection, AppFirewallPolicyRequestProtectionArgs): + request_protection = request_protection or {} + def _setter(key, value): + request_protection[key] = value + AppFirewallPolicyRequestProtectionArgs._configure(_setter, **request_protection) __props__.__dict__["request_protection"] = request_protection + if request_rate_limiting is not None and not isinstance(request_rate_limiting, AppFirewallPolicyRequestRateLimitingArgs): + request_rate_limiting = request_rate_limiting or {} + def _setter(key, value): + request_rate_limiting[key] = value + AppFirewallPolicyRequestRateLimitingArgs._configure(_setter, **request_rate_limiting) __props__.__dict__["request_rate_limiting"] = request_rate_limiting + if response_access_control is not None and not isinstance(response_access_control, AppFirewallPolicyResponseAccessControlArgs): + response_access_control = response_access_control or {} + def _setter(key, value): + response_access_control[key] = value + AppFirewallPolicyResponseAccessControlArgs._configure(_setter, **response_access_control) __props__.__dict__["response_access_control"] = response_access_control + if response_protection is not None and not isinstance(response_protection, AppFirewallPolicyResponseProtectionArgs): + response_protection = response_protection or {} + def _setter(key, value): + response_protection[key] = value + AppFirewallPolicyResponseProtectionArgs._configure(_setter, **response_protection) __props__.__dict__["response_protection"] = response_protection __props__.__dict__["system_tags"] = system_tags __props__.__dict__["lifecycle_details"] = None diff --git a/sdk/python/pulumi_oci/waf/get_firewalls.py b/sdk/python/pulumi_oci/waf/get_firewalls.py index deb87e7097..0546666949 100644 --- a/sdk/python/pulumi_oci/waf/get_firewalls.py +++ b/sdk/python/pulumi_oci/waf/get_firewalls.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/waf/get_network_address_list.py b/sdk/python/pulumi_oci/waf/get_network_address_list.py index 5acc7f4a80..af79b249c4 100644 --- a/sdk/python/pulumi_oci/waf/get_network_address_list.py +++ b/sdk/python/pulumi_oci/waf/get_network_address_list.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/waf/get_network_address_lists.py b/sdk/python/pulumi_oci/waf/get_network_address_lists.py index db57f1ded8..f6622a7c9a 100644 --- a/sdk/python/pulumi_oci/waf/get_network_address_lists.py +++ b/sdk/python/pulumi_oci/waf/get_network_address_lists.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/waf/get_protection_capabilities.py b/sdk/python/pulumi_oci/waf/get_protection_capabilities.py index 2f8022afef..b208ccb16b 100644 --- a/sdk/python/pulumi_oci/waf/get_protection_capabilities.py +++ b/sdk/python/pulumi_oci/waf/get_protection_capabilities.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/waf/get_protection_capability_group_tags.py b/sdk/python/pulumi_oci/waf/get_protection_capability_group_tags.py index 480ebefc26..a700dabd66 100644 --- a/sdk/python/pulumi_oci/waf/get_protection_capability_group_tags.py +++ b/sdk/python/pulumi_oci/waf/get_protection_capability_group_tags.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/waf/get_web_app_firewall.py b/sdk/python/pulumi_oci/waf/get_web_app_firewall.py index 0714861024..0a552193c8 100644 --- a/sdk/python/pulumi_oci/waf/get_web_app_firewall.py +++ b/sdk/python/pulumi_oci/waf/get_web_app_firewall.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities __all__ = [ diff --git a/sdk/python/pulumi_oci/waf/get_web_app_firewall_policies.py b/sdk/python/pulumi_oci/waf/get_web_app_firewall_policies.py index 5af805a9ad..36cc0d4f55 100644 --- a/sdk/python/pulumi_oci/waf/get_web_app_firewall_policies.py +++ b/sdk/python/pulumi_oci/waf/get_web_app_firewall_policies.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * diff --git a/sdk/python/pulumi_oci/waf/get_web_app_firewall_policy.py b/sdk/python/pulumi_oci/waf/get_web_app_firewall_policy.py index 70ecf0f22e..a759676bd5 100644 --- a/sdk/python/pulumi_oci/waf/get_web_app_firewall_policy.py +++ b/sdk/python/pulumi_oci/waf/get_web_app_firewall_policy.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs diff --git a/sdk/python/pulumi_oci/waf/network_address_list.py b/sdk/python/pulumi_oci/waf/network_address_list.py index 0ee636c768..3c87131b1d 100644 --- a/sdk/python/pulumi_oci/waf/network_address_list.py +++ b/sdk/python/pulumi_oci/waf/network_address_list.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs from ._inputs import * @@ -35,20 +35,43 @@ def __init__(__self__, *, :param pulumi.Input[Mapping[str, Any]] system_tags: (Updatable) Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` :param pulumi.Input[Sequence[pulumi.Input['NetworkAddressListVcnAddressArgs']]] vcn_addresses: (Updatable) A list of private address prefixes, each associated with a particular VCN. To specify all addresses in a VCN, use "0.0.0.0/0" for IPv4 and "::/0" for IPv6. """ - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "type", type) + NetworkAddressListArgs._configure( + lambda key, value: pulumi.set(__self__, key, value), + compartment_id=compartment_id, + type=type, + addresses=addresses, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + system_tags=system_tags, + vcn_addresses=vcn_addresses, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + compartment_id: pulumi.Input[str], + type: pulumi.Input[str], + addresses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + vcn_addresses: Optional[pulumi.Input[Sequence[pulumi.Input['NetworkAddressListVcnAddressArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("compartment_id", compartment_id) + _setter("type", type) if addresses is not None: - pulumi.set(__self__, "addresses", addresses) + _setter("addresses", addresses) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if vcn_addresses is not None: - pulumi.set(__self__, "vcn_addresses", vcn_addresses) + _setter("vcn_addresses", vcn_addresses) @property @pulumi.getter(name="compartmentId") @@ -177,30 +200,61 @@ def __init__(__self__, *, :param pulumi.Input[str] type: (Updatable) Type of NetworkAddressList. :param pulumi.Input[Sequence[pulumi.Input['NetworkAddressListVcnAddressArgs']]] vcn_addresses: (Updatable) A list of private address prefixes, each associated with a particular VCN. To specify all addresses in a VCN, use "0.0.0.0/0" for IPv4 and "::/0" for IPv6. """ + _NetworkAddressListState._configure( + lambda key, value: pulumi.set(__self__, key, value), + addresses=addresses, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + lifecycle_details=lifecycle_details, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + type=type, + vcn_addresses=vcn_addresses, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + addresses: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, + compartment_id: Optional[pulumi.Input[str]] = None, + defined_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + display_name: Optional[pulumi.Input[str]] = None, + freeform_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + lifecycle_details: Optional[pulumi.Input[str]] = None, + state: Optional[pulumi.Input[str]] = None, + system_tags: Optional[pulumi.Input[Mapping[str, Any]]] = None, + time_created: Optional[pulumi.Input[str]] = None, + time_updated: Optional[pulumi.Input[str]] = None, + type: Optional[pulumi.Input[str]] = None, + vcn_addresses: Optional[pulumi.Input[Sequence[pulumi.Input['NetworkAddressListVcnAddressArgs']]]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if addresses is not None: - pulumi.set(__self__, "addresses", addresses) + _setter("addresses", addresses) if compartment_id is not None: - pulumi.set(__self__, "compartment_id", compartment_id) + _setter("compartment_id", compartment_id) if defined_tags is not None: - pulumi.set(__self__, "defined_tags", defined_tags) + _setter("defined_tags", defined_tags) if display_name is not None: - pulumi.set(__self__, "display_name", display_name) + _setter("display_name", display_name) if freeform_tags is not None: - pulumi.set(__self__, "freeform_tags", freeform_tags) + _setter("freeform_tags", freeform_tags) if lifecycle_details is not None: - pulumi.set(__self__, "lifecycle_details", lifecycle_details) + _setter("lifecycle_details", lifecycle_details) if state is not None: - pulumi.set(__self__, "state", state) + _setter("state", state) if system_tags is not None: - pulumi.set(__self__, "system_tags", system_tags) + _setter("system_tags", system_tags) if time_created is not None: - pulumi.set(__self__, "time_created", time_created) + _setter("time_created", time_created) if time_updated is not None: - pulumi.set(__self__, "time_updated", time_updated) + _setter("time_updated", time_updated) if type is not None: - pulumi.set(__self__, "type", type) + _setter("type", type) if vcn_addresses is not None: - pulumi.set(__self__, "vcn_addresses", vcn_addresses) + _setter("vcn_addresses", vcn_addresses) @property @pulumi.getter @@ -462,6 +516,10 @@ def __init__(__self__, resource_name: str, *args, **kwargs): if resource_args is not None: __self__._internal_init(resource_name, opts, **resource_args.__dict__) else: + kwargs = kwargs or {} + def _setter(key, value): + kwargs[key] = value + NetworkAddressListArgs._configure(_setter, **kwargs) __self__._internal_init(resource_name, *args, **kwargs) def _internal_init(__self__, diff --git a/sdk/python/pulumi_oci/waf/outputs.py b/sdk/python/pulumi_oci/waf/outputs.py index a1f0dd2313..2b2026e6f7 100644 --- a/sdk/python/pulumi_oci/waf/outputs.py +++ b/sdk/python/pulumi_oci/waf/outputs.py @@ -6,7 +6,7 @@ import warnings import pulumi import pulumi.runtime -from typing import Any, Mapping, Optional, Sequence, Union, overload +from typing import Any, Callable, Mapping, Optional, Sequence, Union, overload from .. import _utilities from . import outputs @@ -139,14 +139,31 @@ def __init__(__self__, *, * Transfer-Encoding * Upgrade """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "type", type) + AppFirewallPolicyAction._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + type=type, + body=body, + code=code, + headers=headers, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + type: str, + body: Optional['outputs.AppFirewallPolicyActionBody'] = None, + code: Optional[int] = None, + headers: Optional[Sequence['outputs.AppFirewallPolicyActionHeader']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("type", type) if body is not None: - pulumi.set(__self__, "body", body) + _setter("body", body) if code is not None: - pulumi.set(__self__, "code", code) + _setter("code", code) if headers is not None: - pulumi.set(__self__, "headers", headers) + _setter("headers", headers) @property @pulumi.getter @@ -224,8 +241,19 @@ def __init__(__self__, *, :param str text: (Updatable) Static response body text. :param str type: (Updatable) Type of WebAppFirewallPolicyRule. """ - pulumi.set(__self__, "text", text) - pulumi.set(__self__, "type", type) + AppFirewallPolicyActionBody._configure( + lambda key, value: pulumi.set(__self__, key, value), + text=text, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + text: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("text", text) + _setter("type", type) @property @pulumi.getter @@ -253,10 +281,21 @@ def __init__(__self__, *, :param str name: (Updatable) Rule name. Must be unique within the module. :param str value: (Updatable) The value of the header field. """ + AppFirewallPolicyActionHeader._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: Optional[str] = None, + value: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if name is not None: - pulumi.set(__self__, "name", name) + _setter("name", name) if value is not None: - pulumi.set(__self__, "value", value) + _setter("value", value) @property @pulumi.getter @@ -303,9 +342,20 @@ def __init__(__self__, *, * **RETURN_HTTP_RESPONSE** terminates further execution of modules and rules and returns defined HTTP response. :param Sequence['AppFirewallPolicyRequestAccessControlRuleArgs'] rules: (Updatable) Ordered list of ProtectionRules. Rules are executed in order of appearance in this array. ProtectionRules in this array can only use protection capabilities of RESPONSE_PROTECTION_CAPABILITY type. """ - pulumi.set(__self__, "default_action_name", default_action_name) + AppFirewallPolicyRequestAccessControl._configure( + lambda key, value: pulumi.set(__self__, key, value), + default_action_name=default_action_name, + rules=rules, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + default_action_name: str, + rules: Optional[Sequence['outputs.AppFirewallPolicyRequestAccessControlRule']] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("default_action_name", default_action_name) if rules is not None: - pulumi.set(__self__, "rules", rules) + _setter("rules", rules) @property @pulumi.getter(name="defaultActionName") @@ -361,13 +411,30 @@ def __init__(__self__, *, :param str condition_language: (Updatable) The language used to parse condition from field `condition`. Available languages: * **JMESPATH** an extended JMESPath language syntax. """ - pulumi.set(__self__, "action_name", action_name) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "type", type) + AppFirewallPolicyRequestAccessControlRule._configure( + lambda key, value: pulumi.set(__self__, key, value), + action_name=action_name, + name=name, + type=type, + condition=condition, + condition_language=condition_language, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action_name: str, + name: str, + type: str, + condition: Optional[str] = None, + condition_language: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action_name", action_name) + _setter("name", name) + _setter("type", type) if condition is not None: - pulumi.set(__self__, "condition", condition) + _setter("condition", condition) if condition_language is not None: - pulumi.set(__self__, "condition_language", condition_language) + _setter("condition_language", condition_language) @property @pulumi.getter(name="actionName") @@ -450,12 +517,25 @@ def __init__(__self__, *, For steps to request a limit increase, see [Requesting a Service Limit Increase](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/servicelimits.htm). :param Sequence['AppFirewallPolicyRequestProtectionRuleArgs'] rules: (Updatable) Ordered list of ProtectionRules. Rules are executed in order of appearance in this array. ProtectionRules in this array can only use protection capabilities of RESPONSE_PROTECTION_CAPABILITY type. """ + AppFirewallPolicyRequestProtection._configure( + lambda key, value: pulumi.set(__self__, key, value), + body_inspection_size_limit_exceeded_action_name=body_inspection_size_limit_exceeded_action_name, + body_inspection_size_limit_in_bytes=body_inspection_size_limit_in_bytes, + rules=rules, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + body_inspection_size_limit_exceeded_action_name: Optional[str] = None, + body_inspection_size_limit_in_bytes: Optional[int] = None, + rules: Optional[Sequence['outputs.AppFirewallPolicyRequestProtectionRule']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if body_inspection_size_limit_exceeded_action_name is not None: - pulumi.set(__self__, "body_inspection_size_limit_exceeded_action_name", body_inspection_size_limit_exceeded_action_name) + _setter("body_inspection_size_limit_exceeded_action_name", body_inspection_size_limit_exceeded_action_name) if body_inspection_size_limit_in_bytes is not None: - pulumi.set(__self__, "body_inspection_size_limit_in_bytes", body_inspection_size_limit_in_bytes) + _setter("body_inspection_size_limit_in_bytes", body_inspection_size_limit_in_bytes) if rules is not None: - pulumi.set(__self__, "rules", rules) + _setter("rules", rules) @property @pulumi.getter(name="bodyInspectionSizeLimitExceededActionName") @@ -538,18 +618,41 @@ def __init__(__self__, *, :param bool is_body_inspection_enabled: (Updatable) Enables/disables body inspection for this protection rule. Only Protection Rules in RequestProtection can have this option enabled. Response body inspection will be available at a later date. :param 'AppFirewallPolicyRequestProtectionRuleProtectionCapabilitySettingsArgs' protection_capability_settings: (Updatable) Settings for protection capabilities """ - pulumi.set(__self__, "action_name", action_name) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "protection_capabilities", protection_capabilities) - pulumi.set(__self__, "type", type) + AppFirewallPolicyRequestProtectionRule._configure( + lambda key, value: pulumi.set(__self__, key, value), + action_name=action_name, + name=name, + protection_capabilities=protection_capabilities, + type=type, + condition=condition, + condition_language=condition_language, + is_body_inspection_enabled=is_body_inspection_enabled, + protection_capability_settings=protection_capability_settings, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action_name: str, + name: str, + protection_capabilities: Sequence['outputs.AppFirewallPolicyRequestProtectionRuleProtectionCapability'], + type: str, + condition: Optional[str] = None, + condition_language: Optional[str] = None, + is_body_inspection_enabled: Optional[bool] = None, + protection_capability_settings: Optional['outputs.AppFirewallPolicyRequestProtectionRuleProtectionCapabilitySettings'] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action_name", action_name) + _setter("name", name) + _setter("protection_capabilities", protection_capabilities) + _setter("type", type) if condition is not None: - pulumi.set(__self__, "condition", condition) + _setter("condition", condition) if condition_language is not None: - pulumi.set(__self__, "condition_language", condition_language) + _setter("condition_language", condition_language) if is_body_inspection_enabled is not None: - pulumi.set(__self__, "is_body_inspection_enabled", is_body_inspection_enabled) + _setter("is_body_inspection_enabled", is_body_inspection_enabled) if protection_capability_settings is not None: - pulumi.set(__self__, "protection_capability_settings", protection_capability_settings) + _setter("protection_capability_settings", protection_capability_settings) @property @pulumi.getter(name="actionName") @@ -655,16 +758,35 @@ def __init__(__self__, *, :param Sequence['AppFirewallPolicyRequestProtectionRuleProtectionCapabilityCollaborativeWeightArgs'] collaborative_weights: (Updatable) Explicit weight values to use for associated collaborative protection capabilities. :param 'AppFirewallPolicyRequestProtectionRuleProtectionCapabilityExclusionsArgs' exclusions: (Updatable) Identifies specific HTTP message parameters to exclude from inspection by a protection capability. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "version", version) + AppFirewallPolicyRequestProtectionRuleProtectionCapability._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + version=version, + action_name=action_name, + collaborative_action_threshold=collaborative_action_threshold, + collaborative_weights=collaborative_weights, + exclusions=exclusions, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + version: int, + action_name: Optional[str] = None, + collaborative_action_threshold: Optional[int] = None, + collaborative_weights: Optional[Sequence['outputs.AppFirewallPolicyRequestProtectionRuleProtectionCapabilityCollaborativeWeight']] = None, + exclusions: Optional['outputs.AppFirewallPolicyRequestProtectionRuleProtectionCapabilityExclusions'] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("version", version) if action_name is not None: - pulumi.set(__self__, "action_name", action_name) + _setter("action_name", action_name) if collaborative_action_threshold is not None: - pulumi.set(__self__, "collaborative_action_threshold", collaborative_action_threshold) + _setter("collaborative_action_threshold", collaborative_action_threshold) if collaborative_weights is not None: - pulumi.set(__self__, "collaborative_weights", collaborative_weights) + _setter("collaborative_weights", collaborative_weights) if exclusions is not None: - pulumi.set(__self__, "exclusions", exclusions) + _setter("exclusions", exclusions) @property @pulumi.getter @@ -724,8 +846,19 @@ def __init__(__self__, *, :param str key: (Updatable) Unique key of referenced protection capability. :param int weight: (Updatable) The value of weight to set. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "weight", weight) + AppFirewallPolicyRequestProtectionRuleProtectionCapabilityCollaborativeWeight._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + weight=weight, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + weight: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("weight", weight) @property @pulumi.getter @@ -770,10 +903,21 @@ def __init__(__self__, *, :param Sequence[str] args: (Updatable) List of URL query parameter values from form-urlencoded XML, JSON, AMP, or POST payloads to exclude from inspecting. Example: If we have query parameter 'argumentName=argumentValue' and args=['argumentName'], both 'argumentName' and 'argumentValue' will not be inspected. :param Sequence[str] request_cookies: (Updatable) List of HTTP request cookie values (by cookie name) to exclude from inspecting. Example: If we have cookie 'cookieName=cookieValue' and requestCookies=['cookieName'], both 'cookieName' and 'cookieValue' will not be inspected. """ + AppFirewallPolicyRequestProtectionRuleProtectionCapabilityExclusions._configure( + lambda key, value: pulumi.set(__self__, key, value), + args=args, + request_cookies=request_cookies, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + args: Optional[Sequence[str]] = None, + request_cookies: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if args is not None: - pulumi.set(__self__, "args", args) + _setter("args", args) if request_cookies is not None: - pulumi.set(__self__, "request_cookies", request_cookies) + _setter("request_cookies", request_cookies) @property @pulumi.getter @@ -836,18 +980,37 @@ def __init__(__self__, *, :param int max_single_argument_length: (Updatable) Maximum allowed length of a single argument. Used in protection capability 920370: Limit argument value length. :param int max_total_argument_length: (Updatable) Maximum allowed total length of all arguments. Used in protection capability 920390: Limit arguments total length. """ + AppFirewallPolicyRequestProtectionRuleProtectionCapabilitySettings._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_http_methods=allowed_http_methods, + max_http_request_header_length=max_http_request_header_length, + max_http_request_headers=max_http_request_headers, + max_number_of_arguments=max_number_of_arguments, + max_single_argument_length=max_single_argument_length, + max_total_argument_length=max_total_argument_length, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_http_methods: Optional[Sequence[str]] = None, + max_http_request_header_length: Optional[int] = None, + max_http_request_headers: Optional[int] = None, + max_number_of_arguments: Optional[int] = None, + max_single_argument_length: Optional[int] = None, + max_total_argument_length: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if allowed_http_methods is not None: - pulumi.set(__self__, "allowed_http_methods", allowed_http_methods) + _setter("allowed_http_methods", allowed_http_methods) if max_http_request_header_length is not None: - pulumi.set(__self__, "max_http_request_header_length", max_http_request_header_length) + _setter("max_http_request_header_length", max_http_request_header_length) if max_http_request_headers is not None: - pulumi.set(__self__, "max_http_request_headers", max_http_request_headers) + _setter("max_http_request_headers", max_http_request_headers) if max_number_of_arguments is not None: - pulumi.set(__self__, "max_number_of_arguments", max_number_of_arguments) + _setter("max_number_of_arguments", max_number_of_arguments) if max_single_argument_length is not None: - pulumi.set(__self__, "max_single_argument_length", max_single_argument_length) + _setter("max_single_argument_length", max_single_argument_length) if max_total_argument_length is not None: - pulumi.set(__self__, "max_total_argument_length", max_total_argument_length) + _setter("max_total_argument_length", max_total_argument_length) @property @pulumi.getter(name="allowedHttpMethods") @@ -905,8 +1068,17 @@ def __init__(__self__, *, """ :param Sequence['AppFirewallPolicyRequestRateLimitingRuleArgs'] rules: (Updatable) Ordered list of ProtectionRules. Rules are executed in order of appearance in this array. ProtectionRules in this array can only use protection capabilities of RESPONSE_PROTECTION_CAPABILITY type. """ + AppFirewallPolicyRequestRateLimiting._configure( + lambda key, value: pulumi.set(__self__, key, value), + rules=rules, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + rules: Optional[Sequence['outputs.AppFirewallPolicyRequestRateLimitingRule']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if rules is not None: - pulumi.set(__self__, "rules", rules) + _setter("rules", rules) @property @pulumi.getter @@ -954,14 +1126,33 @@ def __init__(__self__, *, :param str condition_language: (Updatable) The language used to parse condition from field `condition`. Available languages: * **JMESPATH** an extended JMESPath language syntax. """ - pulumi.set(__self__, "action_name", action_name) - pulumi.set(__self__, "configurations", configurations) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "type", type) + AppFirewallPolicyRequestRateLimitingRule._configure( + lambda key, value: pulumi.set(__self__, key, value), + action_name=action_name, + configurations=configurations, + name=name, + type=type, + condition=condition, + condition_language=condition_language, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action_name: str, + configurations: Sequence['outputs.AppFirewallPolicyRequestRateLimitingRuleConfiguration'], + name: str, + type: str, + condition: Optional[str] = None, + condition_language: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action_name", action_name) + _setter("configurations", configurations) + _setter("name", name) + _setter("type", type) if condition is not None: - pulumi.set(__self__, "condition", condition) + _setter("condition", condition) if condition_language is not None: - pulumi.set(__self__, "condition_language", condition_language) + _setter("condition_language", condition_language) @property @pulumi.getter(name="actionName") @@ -1045,10 +1236,23 @@ def __init__(__self__, *, :param int requests_limit: (Updatable) Requests allowed per evaluation period. :param int action_duration_in_seconds: (Updatable) Duration of block action application in seconds when `requestsLimit` is reached. Optional and can be 0 (no block duration). """ - pulumi.set(__self__, "period_in_seconds", period_in_seconds) - pulumi.set(__self__, "requests_limit", requests_limit) + AppFirewallPolicyRequestRateLimitingRuleConfiguration._configure( + lambda key, value: pulumi.set(__self__, key, value), + period_in_seconds=period_in_seconds, + requests_limit=requests_limit, + action_duration_in_seconds=action_duration_in_seconds, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + period_in_seconds: int, + requests_limit: int, + action_duration_in_seconds: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("period_in_seconds", period_in_seconds) + _setter("requests_limit", requests_limit) if action_duration_in_seconds is not None: - pulumi.set(__self__, "action_duration_in_seconds", action_duration_in_seconds) + _setter("action_duration_in_seconds", action_duration_in_seconds) @property @pulumi.getter(name="periodInSeconds") @@ -1082,8 +1286,17 @@ def __init__(__self__, *, """ :param Sequence['AppFirewallPolicyResponseAccessControlRuleArgs'] rules: (Updatable) Ordered list of ProtectionRules. Rules are executed in order of appearance in this array. ProtectionRules in this array can only use protection capabilities of RESPONSE_PROTECTION_CAPABILITY type. """ + AppFirewallPolicyResponseAccessControl._configure( + lambda key, value: pulumi.set(__self__, key, value), + rules=rules, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + rules: Optional[Sequence['outputs.AppFirewallPolicyResponseAccessControlRule']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if rules is not None: - pulumi.set(__self__, "rules", rules) + _setter("rules", rules) @property @pulumi.getter @@ -1129,13 +1342,30 @@ def __init__(__self__, *, :param str condition_language: (Updatable) The language used to parse condition from field `condition`. Available languages: * **JMESPATH** an extended JMESPath language syntax. """ - pulumi.set(__self__, "action_name", action_name) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "type", type) + AppFirewallPolicyResponseAccessControlRule._configure( + lambda key, value: pulumi.set(__self__, key, value), + action_name=action_name, + name=name, + type=type, + condition=condition, + condition_language=condition_language, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action_name: str, + name: str, + type: str, + condition: Optional[str] = None, + condition_language: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action_name", action_name) + _setter("name", name) + _setter("type", type) if condition is not None: - pulumi.set(__self__, "condition", condition) + _setter("condition", condition) if condition_language is not None: - pulumi.set(__self__, "condition_language", condition_language) + _setter("condition_language", condition_language) @property @pulumi.getter(name="actionName") @@ -1186,8 +1416,17 @@ def __init__(__self__, *, """ :param Sequence['AppFirewallPolicyResponseProtectionRuleArgs'] rules: (Updatable) Ordered list of ProtectionRules. Rules are executed in order of appearance in this array. ProtectionRules in this array can only use protection capabilities of RESPONSE_PROTECTION_CAPABILITY type. """ + AppFirewallPolicyResponseProtection._configure( + lambda key, value: pulumi.set(__self__, key, value), + rules=rules, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + rules: Optional[Sequence['outputs.AppFirewallPolicyResponseProtectionRule']] = None, + opts: Optional[pulumi.ResourceOptions]=None): if rules is not None: - pulumi.set(__self__, "rules", rules) + _setter("rules", rules) @property @pulumi.getter @@ -1245,18 +1484,41 @@ def __init__(__self__, *, :param bool is_body_inspection_enabled: (Updatable) Enables/disables body inspection for this protection rule. Only Protection Rules in RequestProtection can have this option enabled. Response body inspection will be available at a later date. :param 'AppFirewallPolicyResponseProtectionRuleProtectionCapabilitySettingsArgs' protection_capability_settings: (Updatable) Settings for protection capabilities """ - pulumi.set(__self__, "action_name", action_name) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "protection_capabilities", protection_capabilities) - pulumi.set(__self__, "type", type) + AppFirewallPolicyResponseProtectionRule._configure( + lambda key, value: pulumi.set(__self__, key, value), + action_name=action_name, + name=name, + protection_capabilities=protection_capabilities, + type=type, + condition=condition, + condition_language=condition_language, + is_body_inspection_enabled=is_body_inspection_enabled, + protection_capability_settings=protection_capability_settings, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action_name: str, + name: str, + protection_capabilities: Sequence['outputs.AppFirewallPolicyResponseProtectionRuleProtectionCapability'], + type: str, + condition: Optional[str] = None, + condition_language: Optional[str] = None, + is_body_inspection_enabled: Optional[bool] = None, + protection_capability_settings: Optional['outputs.AppFirewallPolicyResponseProtectionRuleProtectionCapabilitySettings'] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action_name", action_name) + _setter("name", name) + _setter("protection_capabilities", protection_capabilities) + _setter("type", type) if condition is not None: - pulumi.set(__self__, "condition", condition) + _setter("condition", condition) if condition_language is not None: - pulumi.set(__self__, "condition_language", condition_language) + _setter("condition_language", condition_language) if is_body_inspection_enabled is not None: - pulumi.set(__self__, "is_body_inspection_enabled", is_body_inspection_enabled) + _setter("is_body_inspection_enabled", is_body_inspection_enabled) if protection_capability_settings is not None: - pulumi.set(__self__, "protection_capability_settings", protection_capability_settings) + _setter("protection_capability_settings", protection_capability_settings) @property @pulumi.getter(name="actionName") @@ -1362,16 +1624,35 @@ def __init__(__self__, *, :param Sequence['AppFirewallPolicyResponseProtectionRuleProtectionCapabilityCollaborativeWeightArgs'] collaborative_weights: (Updatable) Explicit weight values to use for associated collaborative protection capabilities. :param 'AppFirewallPolicyResponseProtectionRuleProtectionCapabilityExclusionsArgs' exclusions: (Updatable) Identifies specific HTTP message parameters to exclude from inspection by a protection capability. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "version", version) + AppFirewallPolicyResponseProtectionRuleProtectionCapability._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + version=version, + action_name=action_name, + collaborative_action_threshold=collaborative_action_threshold, + collaborative_weights=collaborative_weights, + exclusions=exclusions, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + version: int, + action_name: Optional[str] = None, + collaborative_action_threshold: Optional[int] = None, + collaborative_weights: Optional[Sequence['outputs.AppFirewallPolicyResponseProtectionRuleProtectionCapabilityCollaborativeWeight']] = None, + exclusions: Optional['outputs.AppFirewallPolicyResponseProtectionRuleProtectionCapabilityExclusions'] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("version", version) if action_name is not None: - pulumi.set(__self__, "action_name", action_name) + _setter("action_name", action_name) if collaborative_action_threshold is not None: - pulumi.set(__self__, "collaborative_action_threshold", collaborative_action_threshold) + _setter("collaborative_action_threshold", collaborative_action_threshold) if collaborative_weights is not None: - pulumi.set(__self__, "collaborative_weights", collaborative_weights) + _setter("collaborative_weights", collaborative_weights) if exclusions is not None: - pulumi.set(__self__, "exclusions", exclusions) + _setter("exclusions", exclusions) @property @pulumi.getter @@ -1431,8 +1712,19 @@ def __init__(__self__, *, :param str key: (Updatable) Unique key of referenced protection capability. :param int weight: (Updatable) The value of weight to set. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "weight", weight) + AppFirewallPolicyResponseProtectionRuleProtectionCapabilityCollaborativeWeight._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + weight=weight, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + weight: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("weight", weight) @property @pulumi.getter @@ -1477,10 +1769,21 @@ def __init__(__self__, *, :param Sequence[str] args: (Updatable) List of URL query parameter values from form-urlencoded XML, JSON, AMP, or POST payloads to exclude from inspecting. Example: If we have query parameter 'argumentName=argumentValue' and args=['argumentName'], both 'argumentName' and 'argumentValue' will not be inspected. :param Sequence[str] request_cookies: (Updatable) List of HTTP request cookie values (by cookie name) to exclude from inspecting. Example: If we have cookie 'cookieName=cookieValue' and requestCookies=['cookieName'], both 'cookieName' and 'cookieValue' will not be inspected. """ + AppFirewallPolicyResponseProtectionRuleProtectionCapabilityExclusions._configure( + lambda key, value: pulumi.set(__self__, key, value), + args=args, + request_cookies=request_cookies, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + args: Optional[Sequence[str]] = None, + request_cookies: Optional[Sequence[str]] = None, + opts: Optional[pulumi.ResourceOptions]=None): if args is not None: - pulumi.set(__self__, "args", args) + _setter("args", args) if request_cookies is not None: - pulumi.set(__self__, "request_cookies", request_cookies) + _setter("request_cookies", request_cookies) @property @pulumi.getter @@ -1543,18 +1846,37 @@ def __init__(__self__, *, :param int max_single_argument_length: (Updatable) Maximum allowed length of a single argument. Used in protection capability 920370: Limit argument value length. :param int max_total_argument_length: (Updatable) Maximum allowed total length of all arguments. Used in protection capability 920390: Limit arguments total length. """ + AppFirewallPolicyResponseProtectionRuleProtectionCapabilitySettings._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_http_methods=allowed_http_methods, + max_http_request_header_length=max_http_request_header_length, + max_http_request_headers=max_http_request_headers, + max_number_of_arguments=max_number_of_arguments, + max_single_argument_length=max_single_argument_length, + max_total_argument_length=max_total_argument_length, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_http_methods: Optional[Sequence[str]] = None, + max_http_request_header_length: Optional[int] = None, + max_http_request_headers: Optional[int] = None, + max_number_of_arguments: Optional[int] = None, + max_single_argument_length: Optional[int] = None, + max_total_argument_length: Optional[int] = None, + opts: Optional[pulumi.ResourceOptions]=None): if allowed_http_methods is not None: - pulumi.set(__self__, "allowed_http_methods", allowed_http_methods) + _setter("allowed_http_methods", allowed_http_methods) if max_http_request_header_length is not None: - pulumi.set(__self__, "max_http_request_header_length", max_http_request_header_length) + _setter("max_http_request_header_length", max_http_request_header_length) if max_http_request_headers is not None: - pulumi.set(__self__, "max_http_request_headers", max_http_request_headers) + _setter("max_http_request_headers", max_http_request_headers) if max_number_of_arguments is not None: - pulumi.set(__self__, "max_number_of_arguments", max_number_of_arguments) + _setter("max_number_of_arguments", max_number_of_arguments) if max_single_argument_length is not None: - pulumi.set(__self__, "max_single_argument_length", max_single_argument_length) + _setter("max_single_argument_length", max_single_argument_length) if max_total_argument_length is not None: - pulumi.set(__self__, "max_total_argument_length", max_total_argument_length) + _setter("max_total_argument_length", max_total_argument_length) @property @pulumi.getter(name="allowedHttpMethods") @@ -1635,10 +1957,21 @@ def __init__(__self__, *, ** 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 """ + NetworkAddressListVcnAddress._configure( + lambda key, value: pulumi.set(__self__, key, value), + addresses=addresses, + vcn_id=vcn_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + addresses: Optional[str] = None, + vcn_id: Optional[str] = None, + opts: Optional[pulumi.ResourceOptions]=None): if addresses is not None: - pulumi.set(__self__, "addresses", addresses) + _setter("addresses", addresses) if vcn_id is not None: - pulumi.set(__self__, "vcn_id", vcn_id) + _setter("vcn_id", vcn_id) @property @pulumi.getter @@ -1667,10 +2000,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetFirewallsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1692,7 +2038,16 @@ def regex(self) -> Optional[bool]: class GetFirewallsWebAppFirewallCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetFirewallsWebAppFirewallCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetFirewallsWebAppFirewallCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetFirewallsWebAppFirewallCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1731,19 +2086,52 @@ def __init__(__self__, *, :param str time_updated: The time the WebAppFirewall was updated. An RFC3339 formatted datetime string. :param str web_app_firewall_policy_id: A filter to return only the WebAppFirewall with the given [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of related WebAppFirewallPolicy. """ - pulumi.set(__self__, "backend_type", backend_type) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "load_balancer_id", load_balancer_id) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "web_app_firewall_policy_id", web_app_firewall_policy_id) + GetFirewallsWebAppFirewallCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + backend_type=backend_type, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + load_balancer_id=load_balancer_id, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + web_app_firewall_policy_id=web_app_firewall_policy_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + backend_type: str, + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + load_balancer_id: str, + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + web_app_firewall_policy_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("backend_type", backend_type) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("load_balancer_id", load_balancer_id) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("web_app_firewall_policy_id", web_app_firewall_policy_id) @property @pulumi.getter(name="backendType") @@ -1859,8 +2247,19 @@ def __init__(__self__, *, :param str addresses: A private IP address or CIDR IP address range. :param str vcn_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. """ - pulumi.set(__self__, "addresses", addresses) - pulumi.set(__self__, "vcn_id", vcn_id) + GetNetworkAddressListVcnAddressResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + addresses=addresses, + vcn_id=vcn_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + addresses: str, + vcn_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("addresses", addresses) + _setter("vcn_id", vcn_id) @property @pulumi.getter @@ -1885,10 +2284,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetNetworkAddressListsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -1910,7 +2322,16 @@ def regex(self) -> Optional[bool]: class GetNetworkAddressListsNetworkAddressListCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetNetworkAddressListsNetworkAddressListCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetNetworkAddressListsNetworkAddressListCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetNetworkAddressListsNetworkAddressListCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -1949,19 +2370,52 @@ def __init__(__self__, *, :param str type: Type of NetworkAddressList. :param Sequence['GetNetworkAddressListsNetworkAddressListCollectionItemVcnAddressArgs'] vcn_addresses: A list of private address prefixes, each associated with a particular VCN. To specify all addresses in a VCN, use "0.0.0.0/0" for IPv4 and "::/0" for IPv6. """ - pulumi.set(__self__, "addresses", addresses) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "vcn_addresses", vcn_addresses) + GetNetworkAddressListsNetworkAddressListCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + addresses=addresses, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + type=type, + vcn_addresses=vcn_addresses, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + addresses: Sequence[str], + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + type: str, + vcn_addresses: Sequence['outputs.GetNetworkAddressListsNetworkAddressListCollectionItemVcnAddressResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("addresses", addresses) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) + _setter("type", type) + _setter("vcn_addresses", vcn_addresses) @property @pulumi.getter @@ -2077,8 +2531,19 @@ def __init__(__self__, *, :param str addresses: A private IP address or CIDR IP address range. :param str vcn_id: The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. """ - pulumi.set(__self__, "addresses", addresses) - pulumi.set(__self__, "vcn_id", vcn_id) + GetNetworkAddressListsNetworkAddressListCollectionItemVcnAddressResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + addresses=addresses, + vcn_id=vcn_id, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + addresses: str, + vcn_id: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("addresses", addresses) + _setter("vcn_id", vcn_id) @property @pulumi.getter @@ -2103,10 +2568,23 @@ def __init__(__self__, *, name: str, values: Sequence[str], regex: Optional[bool] = None): - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetProtectionCapabilitiesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2131,7 +2609,16 @@ def __init__(__self__, *, """ :param Sequence['GetProtectionCapabilitiesProtectionCapabilityCollectionItemArgs'] items: List of protection capabilities. """ - pulumi.set(__self__, "items", items) + GetProtectionCapabilitiesProtectionCapabilityCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetProtectionCapabilitiesProtectionCapabilityCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -2165,15 +2652,40 @@ def __init__(__self__, *, :param str type: A filter to return only resources that matches given type. :param int version: The version of protection capability. """ - pulumi.set(__self__, "collaborative_action_threshold", collaborative_action_threshold) - pulumi.set(__self__, "collaborative_weights", collaborative_weights) - pulumi.set(__self__, "description", description) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "group_tags", group_tags) - pulumi.set(__self__, "is_latest_version", is_latest_version) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "type", type) - pulumi.set(__self__, "version", version) + GetProtectionCapabilitiesProtectionCapabilityCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + collaborative_action_threshold=collaborative_action_threshold, + collaborative_weights=collaborative_weights, + description=description, + display_name=display_name, + group_tags=group_tags, + is_latest_version=is_latest_version, + key=key, + type=type, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + collaborative_action_threshold: int, + collaborative_weights: Sequence['outputs.GetProtectionCapabilitiesProtectionCapabilityCollectionItemCollaborativeWeightResult'], + description: str, + display_name: str, + group_tags: Sequence[str], + is_latest_version: bool, + key: str, + type: str, + version: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("collaborative_action_threshold", collaborative_action_threshold) + _setter("collaborative_weights", collaborative_weights) + _setter("description", description) + _setter("display_name", display_name) + _setter("group_tags", group_tags) + _setter("is_latest_version", is_latest_version) + _setter("key", key) + _setter("type", type) + _setter("version", version) @property @pulumi.getter(name="collaborativeActionThreshold") @@ -2259,9 +2771,22 @@ def __init__(__self__, *, :param str key: The unique key of protection capability to filter by. :param int weight: The weight of contributing protection capability. """ - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "weight", weight) + GetProtectionCapabilitiesProtectionCapabilityCollectionItemCollaborativeWeightResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + display_name=display_name, + key=key, + weight=weight, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + display_name: str, + key: str, + weight: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("display_name", display_name) + _setter("key", key) + _setter("weight", weight) @property @pulumi.getter(name="displayName") @@ -2297,10 +2822,23 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the entire name given. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetProtectionCapabilityGroupTagsFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2328,7 +2866,16 @@ def __init__(__self__, *, """ :param Sequence['GetProtectionCapabilityGroupTagsProtectionCapabilityGroupTagCollectionItemArgs'] items: List of protection capabilities group tags. """ - pulumi.set(__self__, "items", items) + GetProtectionCapabilityGroupTagsProtectionCapabilityGroupTagCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetProtectionCapabilityGroupTagsProtectionCapabilityGroupTagCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -2346,7 +2893,16 @@ def __init__(__self__, *, """ :param str name: A filter to return only resources that match the entire name given. """ - pulumi.set(__self__, "name", name) + GetProtectionCapabilityGroupTagsProtectionCapabilityGroupTagCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) @property @pulumi.getter @@ -2366,10 +2922,23 @@ def __init__(__self__, *, """ :param str name: Rule name. Must be unique within the module. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "values", values) + GetWebAppFirewallPoliciesFilterResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + values=values, + regex=regex, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + values: Sequence[str], + regex: Optional[bool] = None, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("values", values) if regex is not None: - pulumi.set(__self__, "regex", regex) + _setter("regex", regex) @property @pulumi.getter @@ -2394,7 +2963,16 @@ def regex(self) -> Optional[bool]: class GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionResult(dict): def __init__(__self__, *, items: Sequence['outputs.GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemResult']): - pulumi.set(__self__, "items", items) + GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + items=items, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + items: Sequence['outputs.GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("items", items) @property @pulumi.getter @@ -2439,22 +3017,61 @@ def __init__(__self__, *, :param str time_created: The time the WebAppFirewallPolicy was created. An RFC3339 formatted datetime string. :param str time_updated: The time the WebAppFirewallPolicy was updated. An RFC3339 formatted datetime string. """ - pulumi.set(__self__, "actions", actions) - pulumi.set(__self__, "compartment_id", compartment_id) - pulumi.set(__self__, "defined_tags", defined_tags) - pulumi.set(__self__, "display_name", display_name) - pulumi.set(__self__, "freeform_tags", freeform_tags) - pulumi.set(__self__, "id", id) - pulumi.set(__self__, "lifecycle_details", lifecycle_details) - pulumi.set(__self__, "request_access_controls", request_access_controls) - pulumi.set(__self__, "request_protections", request_protections) - pulumi.set(__self__, "request_rate_limitings", request_rate_limitings) - pulumi.set(__self__, "response_access_controls", response_access_controls) - pulumi.set(__self__, "response_protections", response_protections) - pulumi.set(__self__, "state", state) - pulumi.set(__self__, "system_tags", system_tags) - pulumi.set(__self__, "time_created", time_created) - pulumi.set(__self__, "time_updated", time_updated) + GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + actions=actions, + compartment_id=compartment_id, + defined_tags=defined_tags, + display_name=display_name, + freeform_tags=freeform_tags, + id=id, + lifecycle_details=lifecycle_details, + request_access_controls=request_access_controls, + request_protections=request_protections, + request_rate_limitings=request_rate_limitings, + response_access_controls=response_access_controls, + response_protections=response_protections, + state=state, + system_tags=system_tags, + time_created=time_created, + time_updated=time_updated, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + actions: Sequence['outputs.GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemActionResult'], + compartment_id: str, + defined_tags: Mapping[str, Any], + display_name: str, + freeform_tags: Mapping[str, Any], + id: str, + lifecycle_details: str, + request_access_controls: Sequence['outputs.GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemRequestAccessControlResult'], + request_protections: Sequence['outputs.GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemRequestProtectionResult'], + request_rate_limitings: Sequence['outputs.GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemRequestRateLimitingResult'], + response_access_controls: Sequence['outputs.GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemResponseAccessControlResult'], + response_protections: Sequence['outputs.GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemResponseProtectionResult'], + state: str, + system_tags: Mapping[str, Any], + time_created: str, + time_updated: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("actions", actions) + _setter("compartment_id", compartment_id) + _setter("defined_tags", defined_tags) + _setter("display_name", display_name) + _setter("freeform_tags", freeform_tags) + _setter("id", id) + _setter("lifecycle_details", lifecycle_details) + _setter("request_access_controls", request_access_controls) + _setter("request_protections", request_protections) + _setter("request_rate_limitings", request_rate_limitings) + _setter("response_access_controls", response_access_controls) + _setter("response_protections", response_protections) + _setter("state", state) + _setter("system_tags", system_tags) + _setter("time_created", time_created) + _setter("time_updated", time_updated) @property @pulumi.getter @@ -2600,11 +3217,28 @@ def __init__(__self__, *, :param str name: Rule name. Must be unique within the module. :param str type: Type of WebAppFirewallPolicyRule. """ - pulumi.set(__self__, "bodies", bodies) - pulumi.set(__self__, "code", code) - pulumi.set(__self__, "headers", headers) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "type", type) + GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemActionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bodies=bodies, + code=code, + headers=headers, + name=name, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bodies: Sequence['outputs.GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemActionBodyResult'], + code: int, + headers: Sequence['outputs.GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemActionHeaderResult'], + name: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bodies", bodies) + _setter("code", code) + _setter("headers", headers) + _setter("name", name) + _setter("type", type) @property @pulumi.getter @@ -2656,8 +3290,19 @@ def __init__(__self__, *, :param str text: Static response body text. :param str type: Type of WebAppFirewallPolicyRule. """ - pulumi.set(__self__, "text", text) - pulumi.set(__self__, "type", type) + GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemActionBodyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + text=text, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + text: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("text", text) + _setter("type", type) @property @pulumi.getter @@ -2685,8 +3330,19 @@ def __init__(__self__, *, :param str name: Rule name. Must be unique within the module. :param str value: The value of the header field. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemActionHeaderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("value", value) @property @pulumi.getter @@ -2716,8 +3372,19 @@ def __init__(__self__, *, * **RETURN_HTTP_RESPONSE** terminates further execution of modules and rules and returns defined HTTP response. :param Sequence['GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemRequestAccessControlRuleArgs'] rules: Ordered list of ProtectionRules. Rules are executed in order of appearance in this array. ProtectionRules in this array can only use protection capabilities of RESPONSE_PROTECTION_CAPABILITY type. """ - pulumi.set(__self__, "default_action_name", default_action_name) - pulumi.set(__self__, "rules", rules) + GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemRequestAccessControlResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + default_action_name=default_action_name, + rules=rules, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + default_action_name: str, + rules: Sequence['outputs.GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemRequestAccessControlRuleResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("default_action_name", default_action_name) + _setter("rules", rules) @property @pulumi.getter(name="defaultActionName") @@ -2754,11 +3421,28 @@ def __init__(__self__, *, :param str name: Rule name. Must be unique within the module. :param str type: Type of WebAppFirewallPolicyRule. """ - pulumi.set(__self__, "action_name", action_name) - pulumi.set(__self__, "condition", condition) - pulumi.set(__self__, "condition_language", condition_language) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "type", type) + GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemRequestAccessControlRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action_name=action_name, + condition=condition, + condition_language=condition_language, + name=name, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action_name: str, + condition: str, + condition_language: str, + name: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action_name", action_name) + _setter("condition", condition) + _setter("condition_language", condition_language) + _setter("name", name) + _setter("type", type) @property @pulumi.getter(name="actionName") @@ -2813,9 +3497,22 @@ def __init__(__self__, *, :param int body_inspection_size_limit_in_bytes: Maximum size of inspected HTTP message body in bytes. Actions to take if this limit is exceeded are defined in `bodyInspectionSizeLimitExceededActionName`. :param Sequence['GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemRequestProtectionRuleArgs'] rules: Ordered list of ProtectionRules. Rules are executed in order of appearance in this array. ProtectionRules in this array can only use protection capabilities of RESPONSE_PROTECTION_CAPABILITY type. """ - pulumi.set(__self__, "body_inspection_size_limit_exceeded_action_name", body_inspection_size_limit_exceeded_action_name) - pulumi.set(__self__, "body_inspection_size_limit_in_bytes", body_inspection_size_limit_in_bytes) - pulumi.set(__self__, "rules", rules) + GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemRequestProtectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + body_inspection_size_limit_exceeded_action_name=body_inspection_size_limit_exceeded_action_name, + body_inspection_size_limit_in_bytes=body_inspection_size_limit_in_bytes, + rules=rules, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + body_inspection_size_limit_exceeded_action_name: str, + body_inspection_size_limit_in_bytes: int, + rules: Sequence['outputs.GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemRequestProtectionRuleResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("body_inspection_size_limit_exceeded_action_name", body_inspection_size_limit_exceeded_action_name) + _setter("body_inspection_size_limit_in_bytes", body_inspection_size_limit_in_bytes) + _setter("rules", rules) @property @pulumi.getter(name="bodyInspectionSizeLimitExceededActionName") @@ -2864,14 +3561,37 @@ def __init__(__self__, *, :param Sequence['GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemRequestProtectionRuleProtectionCapabilitySettingArgs'] protection_capability_settings: Settings for protection capabilities :param str type: Type of WebAppFirewallPolicyRule. """ - pulumi.set(__self__, "action_name", action_name) - pulumi.set(__self__, "condition", condition) - pulumi.set(__self__, "condition_language", condition_language) - pulumi.set(__self__, "is_body_inspection_enabled", is_body_inspection_enabled) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "protection_capabilities", protection_capabilities) - pulumi.set(__self__, "protection_capability_settings", protection_capability_settings) - pulumi.set(__self__, "type", type) + GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemRequestProtectionRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action_name=action_name, + condition=condition, + condition_language=condition_language, + is_body_inspection_enabled=is_body_inspection_enabled, + name=name, + protection_capabilities=protection_capabilities, + protection_capability_settings=protection_capability_settings, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action_name: str, + condition: str, + condition_language: str, + is_body_inspection_enabled: bool, + name: str, + protection_capabilities: Sequence['outputs.GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemRequestProtectionRuleProtectionCapabilityResult'], + protection_capability_settings: Sequence['outputs.GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemRequestProtectionRuleProtectionCapabilitySettingResult'], + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action_name", action_name) + _setter("condition", condition) + _setter("condition_language", condition_language) + _setter("is_body_inspection_enabled", is_body_inspection_enabled) + _setter("name", name) + _setter("protection_capabilities", protection_capabilities) + _setter("protection_capability_settings", protection_capability_settings) + _setter("type", type) @property @pulumi.getter(name="actionName") @@ -2956,12 +3676,31 @@ def __init__(__self__, *, :param str key: Unique key of referenced protection capability. :param int version: Version of referenced protection capability. """ - pulumi.set(__self__, "action_name", action_name) - pulumi.set(__self__, "collaborative_action_threshold", collaborative_action_threshold) - pulumi.set(__self__, "collaborative_weights", collaborative_weights) - pulumi.set(__self__, "exclusions", exclusions) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "version", version) + GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemRequestProtectionRuleProtectionCapabilityResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action_name=action_name, + collaborative_action_threshold=collaborative_action_threshold, + collaborative_weights=collaborative_weights, + exclusions=exclusions, + key=key, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action_name: str, + collaborative_action_threshold: int, + collaborative_weights: Sequence['outputs.GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemRequestProtectionRuleProtectionCapabilityCollaborativeWeightResult'], + exclusions: Sequence['outputs.GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemRequestProtectionRuleProtectionCapabilityExclusionResult'], + key: str, + version: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action_name", action_name) + _setter("collaborative_action_threshold", collaborative_action_threshold) + _setter("collaborative_weights", collaborative_weights) + _setter("exclusions", exclusions) + _setter("key", key) + _setter("version", version) @property @pulumi.getter(name="actionName") @@ -3021,8 +3760,19 @@ def __init__(__self__, *, :param str key: Unique key of referenced protection capability. :param int weight: The value of weight to set. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "weight", weight) + GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemRequestProtectionRuleProtectionCapabilityCollaborativeWeightResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + weight=weight, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + weight: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("weight", weight) @property @pulumi.getter @@ -3050,8 +3800,19 @@ def __init__(__self__, *, :param Sequence[str] args: List of URL query parameter values from form-urlencoded XML, JSON, AMP, or POST payloads to exclude from inspecting. Example: If we have query parameter 'argumentName=argumentValue' and args=['argumentName'], both 'argumentName' and 'argumentValue' will not be inspected. :param Sequence[str] request_cookies: List of HTTP request cookie values (by cookie name) to exclude from inspecting. Example: If we have cookie 'cookieName=cookieValue' and requestCookies=['cookieName'], both 'cookieName' and 'cookieValue' will not be inspected. """ - pulumi.set(__self__, "args", args) - pulumi.set(__self__, "request_cookies", request_cookies) + GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemRequestProtectionRuleProtectionCapabilityExclusionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + args=args, + request_cookies=request_cookies, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + args: Sequence[str], + request_cookies: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("args", args) + _setter("request_cookies", request_cookies) @property @pulumi.getter @@ -3087,12 +3848,31 @@ def __init__(__self__, *, :param int max_single_argument_length: Maximum allowed length of a single argument. Used in protection capability 920370: Limit argument value length. :param int max_total_argument_length: Maximum allowed total length of all arguments. Used in protection capability 920390: Limit arguments total length. """ - pulumi.set(__self__, "allowed_http_methods", allowed_http_methods) - pulumi.set(__self__, "max_http_request_header_length", max_http_request_header_length) - pulumi.set(__self__, "max_http_request_headers", max_http_request_headers) - pulumi.set(__self__, "max_number_of_arguments", max_number_of_arguments) - pulumi.set(__self__, "max_single_argument_length", max_single_argument_length) - pulumi.set(__self__, "max_total_argument_length", max_total_argument_length) + GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemRequestProtectionRuleProtectionCapabilitySettingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_http_methods=allowed_http_methods, + max_http_request_header_length=max_http_request_header_length, + max_http_request_headers=max_http_request_headers, + max_number_of_arguments=max_number_of_arguments, + max_single_argument_length=max_single_argument_length, + max_total_argument_length=max_total_argument_length, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_http_methods: Sequence[str], + max_http_request_header_length: int, + max_http_request_headers: int, + max_number_of_arguments: int, + max_single_argument_length: int, + max_total_argument_length: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allowed_http_methods", allowed_http_methods) + _setter("max_http_request_header_length", max_http_request_header_length) + _setter("max_http_request_headers", max_http_request_headers) + _setter("max_number_of_arguments", max_number_of_arguments) + _setter("max_single_argument_length", max_single_argument_length) + _setter("max_total_argument_length", max_total_argument_length) @property @pulumi.getter(name="allowedHttpMethods") @@ -3150,7 +3930,16 @@ def __init__(__self__, *, """ :param Sequence['GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemRequestRateLimitingRuleArgs'] rules: Ordered list of ProtectionRules. Rules are executed in order of appearance in this array. ProtectionRules in this array can only use protection capabilities of RESPONSE_PROTECTION_CAPABILITY type. """ - pulumi.set(__self__, "rules", rules) + GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemRequestRateLimitingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + rules=rules, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + rules: Sequence['outputs.GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemRequestRateLimitingRuleResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("rules", rules) @property @pulumi.getter @@ -3179,12 +3968,31 @@ def __init__(__self__, *, :param str name: Rule name. Must be unique within the module. :param str type: Type of WebAppFirewallPolicyRule. """ - pulumi.set(__self__, "action_name", action_name) - pulumi.set(__self__, "condition", condition) - pulumi.set(__self__, "condition_language", condition_language) - pulumi.set(__self__, "configurations", configurations) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "type", type) + GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemRequestRateLimitingRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action_name=action_name, + condition=condition, + condition_language=condition_language, + configurations=configurations, + name=name, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action_name: str, + condition: str, + condition_language: str, + configurations: Sequence['outputs.GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemRequestRateLimitingRuleConfigurationResult'], + name: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action_name", action_name) + _setter("condition", condition) + _setter("condition_language", condition_language) + _setter("configurations", configurations) + _setter("name", name) + _setter("type", type) @property @pulumi.getter(name="actionName") @@ -3247,9 +4055,22 @@ def __init__(__self__, *, :param int period_in_seconds: Evaluation period in seconds. :param int requests_limit: Requests allowed per evaluation period. """ - pulumi.set(__self__, "action_duration_in_seconds", action_duration_in_seconds) - pulumi.set(__self__, "period_in_seconds", period_in_seconds) - pulumi.set(__self__, "requests_limit", requests_limit) + GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemRequestRateLimitingRuleConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action_duration_in_seconds=action_duration_in_seconds, + period_in_seconds=period_in_seconds, + requests_limit=requests_limit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action_duration_in_seconds: int, + period_in_seconds: int, + requests_limit: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action_duration_in_seconds", action_duration_in_seconds) + _setter("period_in_seconds", period_in_seconds) + _setter("requests_limit", requests_limit) @property @pulumi.getter(name="actionDurationInSeconds") @@ -3283,7 +4104,16 @@ def __init__(__self__, *, """ :param Sequence['GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemResponseAccessControlRuleArgs'] rules: Ordered list of ProtectionRules. Rules are executed in order of appearance in this array. ProtectionRules in this array can only use protection capabilities of RESPONSE_PROTECTION_CAPABILITY type. """ - pulumi.set(__self__, "rules", rules) + GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemResponseAccessControlResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + rules=rules, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + rules: Sequence['outputs.GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemResponseAccessControlRuleResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("rules", rules) @property @pulumi.getter @@ -3310,11 +4140,28 @@ def __init__(__self__, *, :param str name: Rule name. Must be unique within the module. :param str type: Type of WebAppFirewallPolicyRule. """ - pulumi.set(__self__, "action_name", action_name) - pulumi.set(__self__, "condition", condition) - pulumi.set(__self__, "condition_language", condition_language) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "type", type) + GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemResponseAccessControlRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action_name=action_name, + condition=condition, + condition_language=condition_language, + name=name, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action_name: str, + condition: str, + condition_language: str, + name: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action_name", action_name) + _setter("condition", condition) + _setter("condition_language", condition_language) + _setter("name", name) + _setter("type", type) @property @pulumi.getter(name="actionName") @@ -3365,7 +4212,16 @@ def __init__(__self__, *, """ :param Sequence['GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemResponseProtectionRuleArgs'] rules: Ordered list of ProtectionRules. Rules are executed in order of appearance in this array. ProtectionRules in this array can only use protection capabilities of RESPONSE_PROTECTION_CAPABILITY type. """ - pulumi.set(__self__, "rules", rules) + GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemResponseProtectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + rules=rules, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + rules: Sequence['outputs.GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemResponseProtectionRuleResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("rules", rules) @property @pulumi.getter @@ -3398,14 +4254,37 @@ def __init__(__self__, *, :param Sequence['GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemResponseProtectionRuleProtectionCapabilitySettingArgs'] protection_capability_settings: Settings for protection capabilities :param str type: Type of WebAppFirewallPolicyRule. """ - pulumi.set(__self__, "action_name", action_name) - pulumi.set(__self__, "condition", condition) - pulumi.set(__self__, "condition_language", condition_language) - pulumi.set(__self__, "is_body_inspection_enabled", is_body_inspection_enabled) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "protection_capabilities", protection_capabilities) - pulumi.set(__self__, "protection_capability_settings", protection_capability_settings) - pulumi.set(__self__, "type", type) + GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemResponseProtectionRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action_name=action_name, + condition=condition, + condition_language=condition_language, + is_body_inspection_enabled=is_body_inspection_enabled, + name=name, + protection_capabilities=protection_capabilities, + protection_capability_settings=protection_capability_settings, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action_name: str, + condition: str, + condition_language: str, + is_body_inspection_enabled: bool, + name: str, + protection_capabilities: Sequence['outputs.GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemResponseProtectionRuleProtectionCapabilityResult'], + protection_capability_settings: Sequence['outputs.GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemResponseProtectionRuleProtectionCapabilitySettingResult'], + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action_name", action_name) + _setter("condition", condition) + _setter("condition_language", condition_language) + _setter("is_body_inspection_enabled", is_body_inspection_enabled) + _setter("name", name) + _setter("protection_capabilities", protection_capabilities) + _setter("protection_capability_settings", protection_capability_settings) + _setter("type", type) @property @pulumi.getter(name="actionName") @@ -3490,12 +4369,31 @@ def __init__(__self__, *, :param str key: Unique key of referenced protection capability. :param int version: Version of referenced protection capability. """ - pulumi.set(__self__, "action_name", action_name) - pulumi.set(__self__, "collaborative_action_threshold", collaborative_action_threshold) - pulumi.set(__self__, "collaborative_weights", collaborative_weights) - pulumi.set(__self__, "exclusions", exclusions) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "version", version) + GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemResponseProtectionRuleProtectionCapabilityResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action_name=action_name, + collaborative_action_threshold=collaborative_action_threshold, + collaborative_weights=collaborative_weights, + exclusions=exclusions, + key=key, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action_name: str, + collaborative_action_threshold: int, + collaborative_weights: Sequence['outputs.GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemResponseProtectionRuleProtectionCapabilityCollaborativeWeightResult'], + exclusions: Sequence['outputs.GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemResponseProtectionRuleProtectionCapabilityExclusionResult'], + key: str, + version: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action_name", action_name) + _setter("collaborative_action_threshold", collaborative_action_threshold) + _setter("collaborative_weights", collaborative_weights) + _setter("exclusions", exclusions) + _setter("key", key) + _setter("version", version) @property @pulumi.getter(name="actionName") @@ -3555,8 +4453,19 @@ def __init__(__self__, *, :param str key: Unique key of referenced protection capability. :param int weight: The value of weight to set. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "weight", weight) + GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemResponseProtectionRuleProtectionCapabilityCollaborativeWeightResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + weight=weight, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + weight: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("weight", weight) @property @pulumi.getter @@ -3584,8 +4493,19 @@ def __init__(__self__, *, :param Sequence[str] args: List of URL query parameter values from form-urlencoded XML, JSON, AMP, or POST payloads to exclude from inspecting. Example: If we have query parameter 'argumentName=argumentValue' and args=['argumentName'], both 'argumentName' and 'argumentValue' will not be inspected. :param Sequence[str] request_cookies: List of HTTP request cookie values (by cookie name) to exclude from inspecting. Example: If we have cookie 'cookieName=cookieValue' and requestCookies=['cookieName'], both 'cookieName' and 'cookieValue' will not be inspected. """ - pulumi.set(__self__, "args", args) - pulumi.set(__self__, "request_cookies", request_cookies) + GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemResponseProtectionRuleProtectionCapabilityExclusionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + args=args, + request_cookies=request_cookies, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + args: Sequence[str], + request_cookies: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("args", args) + _setter("request_cookies", request_cookies) @property @pulumi.getter @@ -3621,12 +4541,31 @@ def __init__(__self__, *, :param int max_single_argument_length: Maximum allowed length of a single argument. Used in protection capability 920370: Limit argument value length. :param int max_total_argument_length: Maximum allowed total length of all arguments. Used in protection capability 920390: Limit arguments total length. """ - pulumi.set(__self__, "allowed_http_methods", allowed_http_methods) - pulumi.set(__self__, "max_http_request_header_length", max_http_request_header_length) - pulumi.set(__self__, "max_http_request_headers", max_http_request_headers) - pulumi.set(__self__, "max_number_of_arguments", max_number_of_arguments) - pulumi.set(__self__, "max_single_argument_length", max_single_argument_length) - pulumi.set(__self__, "max_total_argument_length", max_total_argument_length) + GetWebAppFirewallPoliciesWebAppFirewallPolicyCollectionItemResponseProtectionRuleProtectionCapabilitySettingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_http_methods=allowed_http_methods, + max_http_request_header_length=max_http_request_header_length, + max_http_request_headers=max_http_request_headers, + max_number_of_arguments=max_number_of_arguments, + max_single_argument_length=max_single_argument_length, + max_total_argument_length=max_total_argument_length, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_http_methods: Sequence[str], + max_http_request_header_length: int, + max_http_request_headers: int, + max_number_of_arguments: int, + max_single_argument_length: int, + max_total_argument_length: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allowed_http_methods", allowed_http_methods) + _setter("max_http_request_header_length", max_http_request_header_length) + _setter("max_http_request_headers", max_http_request_headers) + _setter("max_number_of_arguments", max_number_of_arguments) + _setter("max_single_argument_length", max_single_argument_length) + _setter("max_total_argument_length", max_total_argument_length) @property @pulumi.getter(name="allowedHttpMethods") @@ -3692,11 +4631,28 @@ def __init__(__self__, *, :param str name: Rule name. Must be unique within the module. :param str type: Type of WebAppFirewallPolicyRule. """ - pulumi.set(__self__, "bodies", bodies) - pulumi.set(__self__, "code", code) - pulumi.set(__self__, "headers", headers) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "type", type) + GetWebAppFirewallPolicyActionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + bodies=bodies, + code=code, + headers=headers, + name=name, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + bodies: Sequence['outputs.GetWebAppFirewallPolicyActionBodyResult'], + code: int, + headers: Sequence['outputs.GetWebAppFirewallPolicyActionHeaderResult'], + name: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("bodies", bodies) + _setter("code", code) + _setter("headers", headers) + _setter("name", name) + _setter("type", type) @property @pulumi.getter @@ -3748,8 +4704,19 @@ def __init__(__self__, *, :param str text: Static response body text. :param str type: Type of WebAppFirewallPolicyRule. """ - pulumi.set(__self__, "text", text) - pulumi.set(__self__, "type", type) + GetWebAppFirewallPolicyActionBodyResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + text=text, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + text: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("text", text) + _setter("type", type) @property @pulumi.getter @@ -3777,8 +4744,19 @@ def __init__(__self__, *, :param str name: Rule name. Must be unique within the module. :param str value: The value of the header field. """ - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "value", value) + GetWebAppFirewallPolicyActionHeaderResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + name=name, + value=value, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + name: str, + value: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("name", name) + _setter("value", value) @property @pulumi.getter @@ -3808,8 +4786,19 @@ def __init__(__self__, *, * **RETURN_HTTP_RESPONSE** terminates further execution of modules and rules and returns defined HTTP response. :param Sequence['GetWebAppFirewallPolicyRequestAccessControlRuleArgs'] rules: Ordered list of ProtectionRules. Rules are executed in order of appearance in this array. ProtectionRules in this array can only use protection capabilities of RESPONSE_PROTECTION_CAPABILITY type. """ - pulumi.set(__self__, "default_action_name", default_action_name) - pulumi.set(__self__, "rules", rules) + GetWebAppFirewallPolicyRequestAccessControlResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + default_action_name=default_action_name, + rules=rules, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + default_action_name: str, + rules: Sequence['outputs.GetWebAppFirewallPolicyRequestAccessControlRuleResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("default_action_name", default_action_name) + _setter("rules", rules) @property @pulumi.getter(name="defaultActionName") @@ -3846,11 +4835,28 @@ def __init__(__self__, *, :param str name: Rule name. Must be unique within the module. :param str type: Type of WebAppFirewallPolicyRule. """ - pulumi.set(__self__, "action_name", action_name) - pulumi.set(__self__, "condition", condition) - pulumi.set(__self__, "condition_language", condition_language) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "type", type) + GetWebAppFirewallPolicyRequestAccessControlRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action_name=action_name, + condition=condition, + condition_language=condition_language, + name=name, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action_name: str, + condition: str, + condition_language: str, + name: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action_name", action_name) + _setter("condition", condition) + _setter("condition_language", condition_language) + _setter("name", name) + _setter("type", type) @property @pulumi.getter(name="actionName") @@ -3905,9 +4911,22 @@ def __init__(__self__, *, :param int body_inspection_size_limit_in_bytes: Maximum size of inspected HTTP message body in bytes. Actions to take if this limit is exceeded are defined in `bodyInspectionSizeLimitExceededActionName`. :param Sequence['GetWebAppFirewallPolicyRequestProtectionRuleArgs'] rules: Ordered list of ProtectionRules. Rules are executed in order of appearance in this array. ProtectionRules in this array can only use protection capabilities of RESPONSE_PROTECTION_CAPABILITY type. """ - pulumi.set(__self__, "body_inspection_size_limit_exceeded_action_name", body_inspection_size_limit_exceeded_action_name) - pulumi.set(__self__, "body_inspection_size_limit_in_bytes", body_inspection_size_limit_in_bytes) - pulumi.set(__self__, "rules", rules) + GetWebAppFirewallPolicyRequestProtectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + body_inspection_size_limit_exceeded_action_name=body_inspection_size_limit_exceeded_action_name, + body_inspection_size_limit_in_bytes=body_inspection_size_limit_in_bytes, + rules=rules, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + body_inspection_size_limit_exceeded_action_name: str, + body_inspection_size_limit_in_bytes: int, + rules: Sequence['outputs.GetWebAppFirewallPolicyRequestProtectionRuleResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("body_inspection_size_limit_exceeded_action_name", body_inspection_size_limit_exceeded_action_name) + _setter("body_inspection_size_limit_in_bytes", body_inspection_size_limit_in_bytes) + _setter("rules", rules) @property @pulumi.getter(name="bodyInspectionSizeLimitExceededActionName") @@ -3956,14 +4975,37 @@ def __init__(__self__, *, :param Sequence['GetWebAppFirewallPolicyRequestProtectionRuleProtectionCapabilitySettingArgs'] protection_capability_settings: Settings for protection capabilities :param str type: Type of WebAppFirewallPolicyRule. """ - pulumi.set(__self__, "action_name", action_name) - pulumi.set(__self__, "condition", condition) - pulumi.set(__self__, "condition_language", condition_language) - pulumi.set(__self__, "is_body_inspection_enabled", is_body_inspection_enabled) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "protection_capabilities", protection_capabilities) - pulumi.set(__self__, "protection_capability_settings", protection_capability_settings) - pulumi.set(__self__, "type", type) + GetWebAppFirewallPolicyRequestProtectionRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action_name=action_name, + condition=condition, + condition_language=condition_language, + is_body_inspection_enabled=is_body_inspection_enabled, + name=name, + protection_capabilities=protection_capabilities, + protection_capability_settings=protection_capability_settings, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action_name: str, + condition: str, + condition_language: str, + is_body_inspection_enabled: bool, + name: str, + protection_capabilities: Sequence['outputs.GetWebAppFirewallPolicyRequestProtectionRuleProtectionCapabilityResult'], + protection_capability_settings: Sequence['outputs.GetWebAppFirewallPolicyRequestProtectionRuleProtectionCapabilitySettingResult'], + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action_name", action_name) + _setter("condition", condition) + _setter("condition_language", condition_language) + _setter("is_body_inspection_enabled", is_body_inspection_enabled) + _setter("name", name) + _setter("protection_capabilities", protection_capabilities) + _setter("protection_capability_settings", protection_capability_settings) + _setter("type", type) @property @pulumi.getter(name="actionName") @@ -4048,12 +5090,31 @@ def __init__(__self__, *, :param str key: Unique key of referenced protection capability. :param int version: Version of referenced protection capability. """ - pulumi.set(__self__, "action_name", action_name) - pulumi.set(__self__, "collaborative_action_threshold", collaborative_action_threshold) - pulumi.set(__self__, "collaborative_weights", collaborative_weights) - pulumi.set(__self__, "exclusions", exclusions) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "version", version) + GetWebAppFirewallPolicyRequestProtectionRuleProtectionCapabilityResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action_name=action_name, + collaborative_action_threshold=collaborative_action_threshold, + collaborative_weights=collaborative_weights, + exclusions=exclusions, + key=key, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action_name: str, + collaborative_action_threshold: int, + collaborative_weights: Sequence['outputs.GetWebAppFirewallPolicyRequestProtectionRuleProtectionCapabilityCollaborativeWeightResult'], + exclusions: Sequence['outputs.GetWebAppFirewallPolicyRequestProtectionRuleProtectionCapabilityExclusionResult'], + key: str, + version: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action_name", action_name) + _setter("collaborative_action_threshold", collaborative_action_threshold) + _setter("collaborative_weights", collaborative_weights) + _setter("exclusions", exclusions) + _setter("key", key) + _setter("version", version) @property @pulumi.getter(name="actionName") @@ -4113,8 +5174,19 @@ def __init__(__self__, *, :param str key: Unique key of referenced protection capability. :param int weight: The value of weight to set. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "weight", weight) + GetWebAppFirewallPolicyRequestProtectionRuleProtectionCapabilityCollaborativeWeightResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + weight=weight, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + weight: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("weight", weight) @property @pulumi.getter @@ -4142,8 +5214,19 @@ def __init__(__self__, *, :param Sequence[str] args: List of URL query parameter values from form-urlencoded XML, JSON, AMP, or POST payloads to exclude from inspecting. Example: If we have query parameter 'argumentName=argumentValue' and args=['argumentName'], both 'argumentName' and 'argumentValue' will not be inspected. :param Sequence[str] request_cookies: List of HTTP request cookie values (by cookie name) to exclude from inspecting. Example: If we have cookie 'cookieName=cookieValue' and requestCookies=['cookieName'], both 'cookieName' and 'cookieValue' will not be inspected. """ - pulumi.set(__self__, "args", args) - pulumi.set(__self__, "request_cookies", request_cookies) + GetWebAppFirewallPolicyRequestProtectionRuleProtectionCapabilityExclusionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + args=args, + request_cookies=request_cookies, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + args: Sequence[str], + request_cookies: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("args", args) + _setter("request_cookies", request_cookies) @property @pulumi.getter @@ -4179,12 +5262,31 @@ def __init__(__self__, *, :param int max_single_argument_length: Maximum allowed length of a single argument. Used in protection capability 920370: Limit argument value length. :param int max_total_argument_length: Maximum allowed total length of all arguments. Used in protection capability 920390: Limit arguments total length. """ - pulumi.set(__self__, "allowed_http_methods", allowed_http_methods) - pulumi.set(__self__, "max_http_request_header_length", max_http_request_header_length) - pulumi.set(__self__, "max_http_request_headers", max_http_request_headers) - pulumi.set(__self__, "max_number_of_arguments", max_number_of_arguments) - pulumi.set(__self__, "max_single_argument_length", max_single_argument_length) - pulumi.set(__self__, "max_total_argument_length", max_total_argument_length) + GetWebAppFirewallPolicyRequestProtectionRuleProtectionCapabilitySettingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_http_methods=allowed_http_methods, + max_http_request_header_length=max_http_request_header_length, + max_http_request_headers=max_http_request_headers, + max_number_of_arguments=max_number_of_arguments, + max_single_argument_length=max_single_argument_length, + max_total_argument_length=max_total_argument_length, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_http_methods: Sequence[str], + max_http_request_header_length: int, + max_http_request_headers: int, + max_number_of_arguments: int, + max_single_argument_length: int, + max_total_argument_length: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allowed_http_methods", allowed_http_methods) + _setter("max_http_request_header_length", max_http_request_header_length) + _setter("max_http_request_headers", max_http_request_headers) + _setter("max_number_of_arguments", max_number_of_arguments) + _setter("max_single_argument_length", max_single_argument_length) + _setter("max_total_argument_length", max_total_argument_length) @property @pulumi.getter(name="allowedHttpMethods") @@ -4242,7 +5344,16 @@ def __init__(__self__, *, """ :param Sequence['GetWebAppFirewallPolicyRequestRateLimitingRuleArgs'] rules: Ordered list of ProtectionRules. Rules are executed in order of appearance in this array. ProtectionRules in this array can only use protection capabilities of RESPONSE_PROTECTION_CAPABILITY type. """ - pulumi.set(__self__, "rules", rules) + GetWebAppFirewallPolicyRequestRateLimitingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + rules=rules, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + rules: Sequence['outputs.GetWebAppFirewallPolicyRequestRateLimitingRuleResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("rules", rules) @property @pulumi.getter @@ -4271,12 +5382,31 @@ def __init__(__self__, *, :param str name: Rule name. Must be unique within the module. :param str type: Type of WebAppFirewallPolicyRule. """ - pulumi.set(__self__, "action_name", action_name) - pulumi.set(__self__, "condition", condition) - pulumi.set(__self__, "condition_language", condition_language) - pulumi.set(__self__, "configurations", configurations) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "type", type) + GetWebAppFirewallPolicyRequestRateLimitingRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action_name=action_name, + condition=condition, + condition_language=condition_language, + configurations=configurations, + name=name, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action_name: str, + condition: str, + condition_language: str, + configurations: Sequence['outputs.GetWebAppFirewallPolicyRequestRateLimitingRuleConfigurationResult'], + name: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action_name", action_name) + _setter("condition", condition) + _setter("condition_language", condition_language) + _setter("configurations", configurations) + _setter("name", name) + _setter("type", type) @property @pulumi.getter(name="actionName") @@ -4339,9 +5469,22 @@ def __init__(__self__, *, :param int period_in_seconds: Evaluation period in seconds. :param int requests_limit: Requests allowed per evaluation period. """ - pulumi.set(__self__, "action_duration_in_seconds", action_duration_in_seconds) - pulumi.set(__self__, "period_in_seconds", period_in_seconds) - pulumi.set(__self__, "requests_limit", requests_limit) + GetWebAppFirewallPolicyRequestRateLimitingRuleConfigurationResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action_duration_in_seconds=action_duration_in_seconds, + period_in_seconds=period_in_seconds, + requests_limit=requests_limit, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action_duration_in_seconds: int, + period_in_seconds: int, + requests_limit: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action_duration_in_seconds", action_duration_in_seconds) + _setter("period_in_seconds", period_in_seconds) + _setter("requests_limit", requests_limit) @property @pulumi.getter(name="actionDurationInSeconds") @@ -4375,7 +5518,16 @@ def __init__(__self__, *, """ :param Sequence['GetWebAppFirewallPolicyResponseAccessControlRuleArgs'] rules: Ordered list of ProtectionRules. Rules are executed in order of appearance in this array. ProtectionRules in this array can only use protection capabilities of RESPONSE_PROTECTION_CAPABILITY type. """ - pulumi.set(__self__, "rules", rules) + GetWebAppFirewallPolicyResponseAccessControlResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + rules=rules, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + rules: Sequence['outputs.GetWebAppFirewallPolicyResponseAccessControlRuleResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("rules", rules) @property @pulumi.getter @@ -4402,11 +5554,28 @@ def __init__(__self__, *, :param str name: Rule name. Must be unique within the module. :param str type: Type of WebAppFirewallPolicyRule. """ - pulumi.set(__self__, "action_name", action_name) - pulumi.set(__self__, "condition", condition) - pulumi.set(__self__, "condition_language", condition_language) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "type", type) + GetWebAppFirewallPolicyResponseAccessControlRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action_name=action_name, + condition=condition, + condition_language=condition_language, + name=name, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action_name: str, + condition: str, + condition_language: str, + name: str, + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action_name", action_name) + _setter("condition", condition) + _setter("condition_language", condition_language) + _setter("name", name) + _setter("type", type) @property @pulumi.getter(name="actionName") @@ -4457,7 +5626,16 @@ def __init__(__self__, *, """ :param Sequence['GetWebAppFirewallPolicyResponseProtectionRuleArgs'] rules: Ordered list of ProtectionRules. Rules are executed in order of appearance in this array. ProtectionRules in this array can only use protection capabilities of RESPONSE_PROTECTION_CAPABILITY type. """ - pulumi.set(__self__, "rules", rules) + GetWebAppFirewallPolicyResponseProtectionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + rules=rules, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + rules: Sequence['outputs.GetWebAppFirewallPolicyResponseProtectionRuleResult'], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("rules", rules) @property @pulumi.getter @@ -4490,14 +5668,37 @@ def __init__(__self__, *, :param Sequence['GetWebAppFirewallPolicyResponseProtectionRuleProtectionCapabilitySettingArgs'] protection_capability_settings: Settings for protection capabilities :param str type: Type of WebAppFirewallPolicyRule. """ - pulumi.set(__self__, "action_name", action_name) - pulumi.set(__self__, "condition", condition) - pulumi.set(__self__, "condition_language", condition_language) - pulumi.set(__self__, "is_body_inspection_enabled", is_body_inspection_enabled) - pulumi.set(__self__, "name", name) - pulumi.set(__self__, "protection_capabilities", protection_capabilities) - pulumi.set(__self__, "protection_capability_settings", protection_capability_settings) - pulumi.set(__self__, "type", type) + GetWebAppFirewallPolicyResponseProtectionRuleResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action_name=action_name, + condition=condition, + condition_language=condition_language, + is_body_inspection_enabled=is_body_inspection_enabled, + name=name, + protection_capabilities=protection_capabilities, + protection_capability_settings=protection_capability_settings, + type=type, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action_name: str, + condition: str, + condition_language: str, + is_body_inspection_enabled: bool, + name: str, + protection_capabilities: Sequence['outputs.GetWebAppFirewallPolicyResponseProtectionRuleProtectionCapabilityResult'], + protection_capability_settings: Sequence['outputs.GetWebAppFirewallPolicyResponseProtectionRuleProtectionCapabilitySettingResult'], + type: str, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action_name", action_name) + _setter("condition", condition) + _setter("condition_language", condition_language) + _setter("is_body_inspection_enabled", is_body_inspection_enabled) + _setter("name", name) + _setter("protection_capabilities", protection_capabilities) + _setter("protection_capability_settings", protection_capability_settings) + _setter("type", type) @property @pulumi.getter(name="actionName") @@ -4582,12 +5783,31 @@ def __init__(__self__, *, :param str key: Unique key of referenced protection capability. :param int version: Version of referenced protection capability. """ - pulumi.set(__self__, "action_name", action_name) - pulumi.set(__self__, "collaborative_action_threshold", collaborative_action_threshold) - pulumi.set(__self__, "collaborative_weights", collaborative_weights) - pulumi.set(__self__, "exclusions", exclusions) - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "version", version) + GetWebAppFirewallPolicyResponseProtectionRuleProtectionCapabilityResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + action_name=action_name, + collaborative_action_threshold=collaborative_action_threshold, + collaborative_weights=collaborative_weights, + exclusions=exclusions, + key=key, + version=version, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + action_name: str, + collaborative_action_threshold: int, + collaborative_weights: Sequence['outputs.GetWebAppFirewallPolicyResponseProtectionRuleProtectionCapabilityCollaborativeWeightResult'], + exclusions: Sequence['outputs.GetWebAppFirewallPolicyResponseProtectionRuleProtectionCapabilityExclusionResult'], + key: str, + version: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("action_name", action_name) + _setter("collaborative_action_threshold", collaborative_action_threshold) + _setter("collaborative_weights", collaborative_weights) + _setter("exclusions", exclusions) + _setter("key", key) + _setter("version", version) @property @pulumi.getter(name="actionName") @@ -4647,8 +5867,19 @@ def __init__(__self__, *, :param str key: Unique key of referenced protection capability. :param int weight: The value of weight to set. """ - pulumi.set(__self__, "key", key) - pulumi.set(__self__, "weight", weight) + GetWebAppFirewallPolicyResponseProtectionRuleProtectionCapabilityCollaborativeWeightResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + key=key, + weight=weight, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + key: str, + weight: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("key", key) + _setter("weight", weight) @property @pulumi.getter @@ -4676,8 +5907,19 @@ def __init__(__self__, *, :param Sequence[str] args: List of URL query parameter values from form-urlencoded XML, JSON, AMP, or POST payloads to exclude from inspecting. Example: If we have query parameter 'argumentName=argumentValue' and args=['argumentName'], both 'argumentName' and 'argumentValue' will not be inspected. :param Sequence[str] request_cookies: List of HTTP request cookie values (by cookie name) to exclude from inspecting. Example: If we have cookie 'cookieName=cookieValue' and requestCookies=['cookieName'], both 'cookieName' and 'cookieValue' will not be inspected. """ - pulumi.set(__self__, "args", args) - pulumi.set(__self__, "request_cookies", request_cookies) + GetWebAppFirewallPolicyResponseProtectionRuleProtectionCapabilityExclusionResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + args=args, + request_cookies=request_cookies, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + args: Sequence[str], + request_cookies: Sequence[str], + opts: Optional[pulumi.ResourceOptions]=None): + _setter("args", args) + _setter("request_cookies", request_cookies) @property @pulumi.getter @@ -4713,12 +5955,31 @@ def __init__(__self__, *, :param int max_single_argument_length: Maximum allowed length of a single argument. Used in protection capability 920370: Limit argument value length. :param int max_total_argument_length: Maximum allowed total length of all arguments. Used in protection capability 920390: Limit arguments total length. """ - pulumi.set(__self__, "allowed_http_methods", allowed_http_methods) - pulumi.set(__self__, "max_http_request_header_length", max_http_request_header_length) - pulumi.set(__self__, "max_http_request_headers", max_http_request_headers) - pulumi.set(__self__, "max_number_of_arguments", max_number_of_arguments) - pulumi.set(__self__, "max_single_argument_length", max_single_argument_length) - pulumi.set(__self__, "max_total_argument_length", max_total_argument_length) + GetWebAppFirewallPolicyResponseProtectionRuleProtectionCapabilitySettingResult._configure( + lambda key, value: pulumi.set(__self__, key, value), + allowed_http_methods=allowed_http_methods, + max_http_request_header_length=max_http_request_header_length, + max_http_request_headers=max_http_request_headers, + max_number_of_arguments=max_number_of_arguments, + max_single_argument_length=max_single_argument_length, + max_total_argument_length=max_total_argument_length, + ) + @staticmethod + def _configure( + _setter: Callable[[Any, Any], None], + allowed_http_methods: Sequence[str], + max_http_request_header_length: int, + max_http_request_headers: int, + max_number_of_arguments: int, + max_single_argument_length: int, + max_total_argument_length: int, + opts: Optional[pulumi.ResourceOptions]=None): + _setter("allowed_http_methods", allowed_http_methods) + _setter("max_http_request_header_length", max_http_request_header_length) + _setter("max_http_request_headers", max_http_request_headers) + _setter("max_number_of_arguments", max_number_of_arguments) + _setter("max_single_argument_length", max_single_argument_length) + _setter("max_total_argument_length", max_total_argument_length) @property @pulumi.getter(name="allowedHttpMethods")